@ckeditor/ckeditor-cloud-services-collaboration 54.2.7 → 54.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/services.js +19 -19
- package/dist/version.d.ts +1 -1
- package/package.json +3 -2
package/dist/services.js
CHANGED
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import $protobuf from'protobufjs/minimal.js';import{io}from'socket.io-client';import
|
|
24
|
-
((()=>{var _0x5a128a=$protobuf['Reader'],$Writer=$protobuf['Writer'],$util=$protobuf['util'],$root=$protobuf['roots']['default']||($protobuf['roots']['default']={});return $root['StringStringPacketDataMessage']=(function(){function StringStringPacketDataMessage(properties){if(properties){for(var _0x164790=Object['keys'](properties),_0x2e9aad=0x0;_0x2e9aad<_0x164790['length'];++_0x2e9aad)null!=properties[_0x164790[_0x2e9aad]]&&'__proto__'!==_0x164790[_0x2e9aad]&&(this[_0x164790[_0x2e9aad]]=properties[_0x164790[_0x2e9aad]]);}}return StringStringPacketDataMessage['prototype']['data']='',StringStringPacketDataMessage['prototype']['data1']='',StringStringPacketDataMessage['create']=function(properties){return new StringStringPacketDataMessage(properties);},StringStringPacketDataMessage['encode']=function(_0x4f6bc5,writer,_0x1b30ab){if(writer||(writer=$Writer['create']()),void 0x0===_0x1b30ab&&(_0x1b30ab=0x0),_0x1b30ab>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4f6bc5['data']&&Object['hasOwnProperty']['call'](_0x4f6bc5,'data')&&writer['uint32'](0xa)['string'](_0x4f6bc5['data']),null!=_0x4f6bc5['data1']&&Object['hasOwnProperty']['call'](_0x4f6bc5,'data1')&&writer['uint32'](0x12)['string'](_0x4f6bc5['data1']),writer;},StringStringPacketDataMessage['encodeDelimited']=function(_0x193ea9,writer){return this['encode'](_0x193ea9,writer)['ldelim']();},StringStringPacketDataMessage['decode']=function(_0x2b4267,length,_0x21a614,_0x4fcf63){if(_0x2b4267 instanceof _0x5a128a||(_0x2b4267=_0x5a128a['create'](_0x2b4267)),void 0x0===_0x4fcf63&&(_0x4fcf63=0x0),_0x4fcf63>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x294472=void 0x0===length?_0x2b4267['len']:_0x2b4267['pos']+length,_0x5c9c95=new $root['StringStringPacketDataMessage']();_0x2b4267['pos']<_0x294472;){var tag=_0x2b4267['uint32']();if(tag===_0x21a614)break;switch(tag>>>0x3){case 0x1:_0x5c9c95['data']=_0x2b4267['string']();break;case 0x2:_0x5c9c95['data1']=_0x2b4267['string']();break;default:_0x2b4267['skipType'](0x7&tag,_0x4fcf63);}}return _0x5c9c95;},StringStringPacketDataMessage['decodeDelimited']=function(_0x90e4ee){return _0x90e4ee instanceof _0x5a128a||(_0x90e4ee=new _0x5a128a(_0x90e4ee)),this['decode'](_0x90e4ee,_0x90e4ee['uint32']());},StringStringPacketDataMessage['verify']=function(_0x1fbfc1,_0x582c36){return'object'!=typeof _0x1fbfc1||null===_0x1fbfc1?'object\x20expected':(void 0x0===_0x582c36&&(_0x582c36=0x0),_0x582c36>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1fbfc1['data']&&Object['hasOwnProperty']['call'](_0x1fbfc1,'data')&&!$util['isString'](_0x1fbfc1['data'])?'data:\x20string\x20expected':null!=_0x1fbfc1['data1']&&Object['hasOwnProperty']['call'](_0x1fbfc1,'data1')&&!$util['isString'](_0x1fbfc1['data1'])?'data1:\x20string\x20expected':null);},StringStringPacketDataMessage['fromObject']=function(object,_0x599516){if(object instanceof $root['StringStringPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.StringStringPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x599516&&(_0x599516=0x0),_0x599516>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2490cc=new $root['StringStringPacketDataMessage']();return null!=object['data']&&(_0x2490cc['data']=String(object['data'])),null!=object['data1']&&(_0x2490cc['data1']=String(object['data1'])),_0x2490cc;},StringStringPacketDataMessage['toObject']=function(_0x22f817,options,_0x3b632f){if(options||(options={}),void 0x0===_0x3b632f&&(_0x3b632f=0x0),_0x3b632f>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']='',object['data1']=''),null!=_0x22f817['data']&&Object['hasOwnProperty']['call'](_0x22f817,'data')&&(object['data']=_0x22f817['data']),null!=_0x22f817['data1']&&Object['hasOwnProperty']['call'](_0x22f817,'data1')&&(object['data1']=_0x22f817['data1']),object;},StringStringPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},StringStringPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/StringStringPacketDataMessage';},StringStringPacketDataMessage;}()),$root['StringObjectPacketDataMessage']=(function(){function StringObjectPacketDataMessage(properties){if(properties){for(var _0x522917=Object['keys'](properties),_0x3ea2e4=0x0;_0x3ea2e4<_0x522917['length'];++_0x3ea2e4)null!=properties[_0x522917[_0x3ea2e4]]&&'__proto__'!==_0x522917[_0x3ea2e4]&&(this[_0x522917[_0x3ea2e4]]=properties[_0x522917[_0x3ea2e4]]);}}return StringObjectPacketDataMessage['prototype']['data']='',StringObjectPacketDataMessage['prototype']['data1']='',StringObjectPacketDataMessage['create']=function(properties){return new StringObjectPacketDataMessage(properties);},StringObjectPacketDataMessage['encode']=function(_0x5eef69,writer,_0x1e8328){if(writer||(writer=$Writer['create']()),void 0x0===_0x1e8328&&(_0x1e8328=0x0),_0x1e8328>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5eef69['data']&&Object['hasOwnProperty']['call'](_0x5eef69,'data')&&writer['uint32'](0xa)['string'](_0x5eef69['data']),null!=_0x5eef69['data1']&&Object['hasOwnProperty']['call'](_0x5eef69,'data1')&&writer['uint32'](0x12)['string'](_0x5eef69['data1']),writer;},StringObjectPacketDataMessage['encodeDelimited']=function(_0x5e0bcf,writer){return this['encode'](_0x5e0bcf,writer)['ldelim']();},StringObjectPacketDataMessage['decode']=function(_0x5a7479,length,_0x2d158c,_0x590817){if(_0x5a7479 instanceof _0x5a128a||(_0x5a7479=_0x5a128a['create'](_0x5a7479)),void 0x0===_0x590817&&(_0x590817=0x0),_0x590817>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2a5c4c=void 0x0===length?_0x5a7479['len']:_0x5a7479['pos']+length,_0x1eb6e8=new $root['StringObjectPacketDataMessage']();_0x5a7479['pos']<_0x2a5c4c;){var tag=_0x5a7479['uint32']();if(tag===_0x2d158c)break;switch(tag>>>0x3){case 0x1:_0x1eb6e8['data']=_0x5a7479['string']();break;case 0x2:_0x1eb6e8['data1']=_0x5a7479['string']();break;default:_0x5a7479['skipType'](0x7&tag,_0x590817);}}return _0x1eb6e8;},StringObjectPacketDataMessage['decodeDelimited']=function(_0x82102f){return _0x82102f instanceof _0x5a128a||(_0x82102f=new _0x5a128a(_0x82102f)),this['decode'](_0x82102f,_0x82102f['uint32']());},StringObjectPacketDataMessage['verify']=function(_0x5e5b68,_0x5bf26b){return'object'!=typeof _0x5e5b68||null===_0x5e5b68?'object\x20expected':(void 0x0===_0x5bf26b&&(_0x5bf26b=0x0),_0x5bf26b>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5e5b68['data']&&Object['hasOwnProperty']['call'](_0x5e5b68,'data')&&!$util['isString'](_0x5e5b68['data'])?'data:\x20string\x20expected':null!=_0x5e5b68['data1']&&Object['hasOwnProperty']['call'](_0x5e5b68,'data1')&&!$util['isString'](_0x5e5b68['data1'])?'data1:\x20string\x20expected':null);},StringObjectPacketDataMessage['fromObject']=function(object,_0x233017){if(object instanceof $root['StringObjectPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.StringObjectPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x233017&&(_0x233017=0x0),_0x233017>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4b64da=new $root['StringObjectPacketDataMessage']();return null!=object['data']&&(_0x4b64da['data']=String(object['data'])),null!=object['data1']&&(_0x4b64da['data1']=String(object['data1'])),_0x4b64da;},StringObjectPacketDataMessage['toObject']=function(_0x5c1b03,options,_0x954c86){if(options||(options={}),void 0x0===_0x954c86&&(_0x954c86=0x0),_0x954c86>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']='',object['data1']=''),null!=_0x5c1b03['data']&&Object['hasOwnProperty']['call'](_0x5c1b03,'data')&&(object['data']=_0x5c1b03['data']),null!=_0x5c1b03['data1']&&Object['hasOwnProperty']['call'](_0x5c1b03,'data1')&&(object['data1']=_0x5c1b03['data1']),object;},StringObjectPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},StringObjectPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/StringObjectPacketDataMessage';},StringObjectPacketDataMessage;}()),$root['StringNumberPacketDataMessage']=(function(){function StringNumberPacketDataMessage(properties){if(properties){for(var _0x3cb6f6=Object['keys'](properties),_0x44cedc=0x0;_0x44cedc<_0x3cb6f6['length'];++_0x44cedc)null!=properties[_0x3cb6f6[_0x44cedc]]&&'__proto__'!==_0x3cb6f6[_0x44cedc]&&(this[_0x3cb6f6[_0x44cedc]]=properties[_0x3cb6f6[_0x44cedc]]);}}return StringNumberPacketDataMessage['prototype']['data']='',StringNumberPacketDataMessage['prototype']['data1']=0x0,StringNumberPacketDataMessage['create']=function(properties){return new StringNumberPacketDataMessage(properties);},StringNumberPacketDataMessage['encode']=function(_0x43be72,writer,_0x18c9f5){if(writer||(writer=$Writer['create']()),void 0x0===_0x18c9f5&&(_0x18c9f5=0x0),_0x18c9f5>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x43be72['data']&&Object['hasOwnProperty']['call'](_0x43be72,'data')&&writer['uint32'](0xa)['string'](_0x43be72['data']),null!=_0x43be72['data1']&&Object['hasOwnProperty']['call'](_0x43be72,'data1')&&writer['uint32'](0x10)['uint32'](_0x43be72['data1']),writer;},StringNumberPacketDataMessage['encodeDelimited']=function(_0x4ac449,writer){return this['encode'](_0x4ac449,writer)['ldelim']();},StringNumberPacketDataMessage['decode']=function(_0x3e3ff5,length,_0x3b7173,_0x5c352c){if(_0x3e3ff5 instanceof _0x5a128a||(_0x3e3ff5=_0x5a128a['create'](_0x3e3ff5)),void 0x0===_0x5c352c&&(_0x5c352c=0x0),_0x5c352c>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x43bd83=void 0x0===length?_0x3e3ff5['len']:_0x3e3ff5['pos']+length,_0x57d41c=new $root['StringNumberPacketDataMessage']();_0x3e3ff5['pos']<_0x43bd83;){var tag=_0x3e3ff5['uint32']();if(tag===_0x3b7173)break;switch(tag>>>0x3){case 0x1:_0x57d41c['data']=_0x3e3ff5['string']();break;case 0x2:_0x57d41c['data1']=_0x3e3ff5['uint32']();break;default:_0x3e3ff5['skipType'](0x7&tag,_0x5c352c);}}return _0x57d41c;},StringNumberPacketDataMessage['decodeDelimited']=function(_0x33f694){return _0x33f694 instanceof _0x5a128a||(_0x33f694=new _0x5a128a(_0x33f694)),this['decode'](_0x33f694,_0x33f694['uint32']());},StringNumberPacketDataMessage['verify']=function(_0x120b76,_0x420dc8){return'object'!=typeof _0x120b76||null===_0x120b76?'object\x20expected':(void 0x0===_0x420dc8&&(_0x420dc8=0x0),_0x420dc8>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x120b76['data']&&Object['hasOwnProperty']['call'](_0x120b76,'data')&&!$util['isString'](_0x120b76['data'])?'data:\x20string\x20expected':null!=_0x120b76['data1']&&Object['hasOwnProperty']['call'](_0x120b76,'data1')&&!$util['isInteger'](_0x120b76['data1'])?'data1:\x20integer\x20expected':null);},StringNumberPacketDataMessage['fromObject']=function(object,_0x465543){if(object instanceof $root['StringNumberPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.StringNumberPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x465543&&(_0x465543=0x0),_0x465543>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x35e37f=new $root['StringNumberPacketDataMessage']();return null!=object['data']&&(_0x35e37f['data']=String(object['data'])),null!=object['data1']&&(_0x35e37f['data1']=object['data1']>>>0x0),_0x35e37f;},StringNumberPacketDataMessage['toObject']=function(_0x1b8eba,options,_0x35d402){if(options||(options={}),void 0x0===_0x35d402&&(_0x35d402=0x0),_0x35d402>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']='',object['data1']=0x0),null!=_0x1b8eba['data']&&Object['hasOwnProperty']['call'](_0x1b8eba,'data')&&(object['data']=_0x1b8eba['data']),null!=_0x1b8eba['data1']&&Object['hasOwnProperty']['call'](_0x1b8eba,'data1')&&(object['data1']=_0x1b8eba['data1']),object;},StringNumberPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},StringNumberPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/StringNumberPacketDataMessage';},StringNumberPacketDataMessage;}()),$root['StringBytesPacketDataMessage']=(function(){function StringBytesPacketDataMessage(properties){if(properties){for(var _0x16f208=Object['keys'](properties),_0x11e496=0x0;_0x11e496<_0x16f208['length'];++_0x11e496)null!=properties[_0x16f208[_0x11e496]]&&'__proto__'!==_0x16f208[_0x11e496]&&(this[_0x16f208[_0x11e496]]=properties[_0x16f208[_0x11e496]]);}}return StringBytesPacketDataMessage['prototype']['data']='',StringBytesPacketDataMessage['prototype']['data1']=$util['newBuffer']([]),StringBytesPacketDataMessage['create']=function(properties){return new StringBytesPacketDataMessage(properties);},StringBytesPacketDataMessage['encode']=function(_0x10ab00,writer,_0x5410cd){if(writer||(writer=$Writer['create']()),void 0x0===_0x5410cd&&(_0x5410cd=0x0),_0x5410cd>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x10ab00['data']&&Object['hasOwnProperty']['call'](_0x10ab00,'data')&&writer['uint32'](0xa)['string'](_0x10ab00['data']),null!=_0x10ab00['data1']&&Object['hasOwnProperty']['call'](_0x10ab00,'data1')&&writer['uint32'](0x12)['bytes'](_0x10ab00['data1']),writer;},StringBytesPacketDataMessage['encodeDelimited']=function(_0x2b660e,writer){return this['encode'](_0x2b660e,writer)['ldelim']();},StringBytesPacketDataMessage['decode']=function(_0xafb35,length,_0x3e961b,_0x20b9d8){if(_0xafb35 instanceof _0x5a128a||(_0xafb35=_0x5a128a['create'](_0xafb35)),void 0x0===_0x20b9d8&&(_0x20b9d8=0x0),_0x20b9d8>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4d0a6f=void 0x0===length?_0xafb35['len']:_0xafb35['pos']+length,_0x5a12e6=new $root['StringBytesPacketDataMessage']();_0xafb35['pos']<_0x4d0a6f;){var tag=_0xafb35['uint32']();if(tag===_0x3e961b)break;switch(tag>>>0x3){case 0x1:_0x5a12e6['data']=_0xafb35['string']();break;case 0x2:_0x5a12e6['data1']=_0xafb35['bytes']();break;default:_0xafb35['skipType'](0x7&tag,_0x20b9d8);}}return _0x5a12e6;},StringBytesPacketDataMessage['decodeDelimited']=function(_0x6a7de3){return _0x6a7de3 instanceof _0x5a128a||(_0x6a7de3=new _0x5a128a(_0x6a7de3)),this['decode'](_0x6a7de3,_0x6a7de3['uint32']());},StringBytesPacketDataMessage['verify']=function(_0x2b5dd6,_0x4888c7){return'object'!=typeof _0x2b5dd6||null===_0x2b5dd6?'object\x20expected':(void 0x0===_0x4888c7&&(_0x4888c7=0x0),_0x4888c7>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2b5dd6['data']&&Object['hasOwnProperty']['call'](_0x2b5dd6,'data')&&!$util['isString'](_0x2b5dd6['data'])?'data:\x20string\x20expected':null!=_0x2b5dd6['data1']&&Object['hasOwnProperty']['call'](_0x2b5dd6,'data1')&&!(_0x2b5dd6['data1']&&'number'==typeof _0x2b5dd6['data1']['length']||$util['isString'](_0x2b5dd6['data1']))?'data1:\x20buffer\x20expected':null);},StringBytesPacketDataMessage['fromObject']=function(object,_0x591b0f){if(object instanceof $root['StringBytesPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.StringBytesPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x591b0f&&(_0x591b0f=0x0),_0x591b0f>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x30d95c=new $root['StringBytesPacketDataMessage']();return null!=object['data']&&(_0x30d95c['data']=String(object['data'])),null!=object['data1']&&('string'==typeof object['data1']?$util['base64']['decode'](object['data1'],_0x30d95c['data1']=$util['newBuffer']($util['base64']['length'](object['data1'])),0x0):object['data1']['length']>=0x0&&(_0x30d95c['data1']=object['data1'])),_0x30d95c;},StringBytesPacketDataMessage['toObject']=function(_0x595bfb,options,_0x5ac995){if(options||(options={}),void 0x0===_0x5ac995&&(_0x5ac995=0x0),_0x5ac995>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']='',options['bytes']===String?object['data1']='':(object['data1']=[],options['bytes']!==Array&&(object['data1']=$util['newBuffer'](object['data1'])))),null!=_0x595bfb['data']&&Object['hasOwnProperty']['call'](_0x595bfb,'data')&&(object['data']=_0x595bfb['data']),null!=_0x595bfb['data1']&&Object['hasOwnProperty']['call'](_0x595bfb,'data1')&&(object['data1']=options['bytes']===String?$util['base64']['encode'](_0x595bfb['data1'],0x0,_0x595bfb['data1']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x595bfb['data1']):_0x595bfb['data1']),object;},StringBytesPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},StringBytesPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/StringBytesPacketDataMessage';},StringBytesPacketDataMessage;}()),$root['PacketOptionsMessage']=(function(){function PacketOptionsMessage(properties){if(this['rooms']=[],this['except']=[],properties){for(var _0x11a800=Object['keys'](properties),_0x1321a2=0x0;_0x1321a2<_0x11a800['length'];++_0x1321a2)null!=properties[_0x11a800[_0x1321a2]]&&'__proto__'!==_0x11a800[_0x1321a2]&&(this[_0x11a800[_0x1321a2]]=properties[_0x11a800[_0x1321a2]]);}}return PacketOptionsMessage['prototype']['flags']='',PacketOptionsMessage['prototype']['rooms']=$util['emptyArray'],PacketOptionsMessage['prototype']['except']=$util['emptyArray'],PacketOptionsMessage['create']=function(properties){return new PacketOptionsMessage(properties);},PacketOptionsMessage['encode']=function(_0x2c065e,writer,_0x1e431a){if(writer||(writer=$Writer['create']()),void 0x0===_0x1e431a&&(_0x1e431a=0x0),_0x1e431a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x2c065e['flags']&&Object['hasOwnProperty']['call'](_0x2c065e,'flags')&&writer['uint32'](0xa)['string'](_0x2c065e['flags']),null!=_0x2c065e['rooms']&&_0x2c065e['rooms']['length']){for(var _0x1095f0=0x0;_0x1095f0<_0x2c065e['rooms']['length'];++_0x1095f0)writer['uint32'](0x12)['string'](_0x2c065e['rooms'][_0x1095f0]);}if(null!=_0x2c065e['except']&&_0x2c065e['except']['length']){for(_0x1095f0=0x0;_0x1095f0<_0x2c065e['except']['length'];++_0x1095f0)writer['uint32'](0x1a)['string'](_0x2c065e['except'][_0x1095f0]);}return writer;},PacketOptionsMessage['encodeDelimited']=function(_0x459796,writer){return this['encode'](_0x459796,writer)['ldelim']();},PacketOptionsMessage['decode']=function(_0x230ec5,length,_0x5d28ec,_0x2005fd){if(_0x230ec5 instanceof _0x5a128a||(_0x230ec5=_0x5a128a['create'](_0x230ec5)),void 0x0===_0x2005fd&&(_0x2005fd=0x0),_0x2005fd>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x37cd8f=void 0x0===length?_0x230ec5['len']:_0x230ec5['pos']+length,_0x3163ef=new $root['PacketOptionsMessage']();_0x230ec5['pos']<_0x37cd8f;){var tag=_0x230ec5['uint32']();if(tag===_0x5d28ec)break;switch(tag>>>0x3){case 0x1:_0x3163ef['flags']=_0x230ec5['string']();break;case 0x2:_0x3163ef['rooms']&&_0x3163ef['rooms']['length']||(_0x3163ef['rooms']=[]),_0x3163ef['rooms']['push'](_0x230ec5['string']());break;case 0x3:_0x3163ef['except']&&_0x3163ef['except']['length']||(_0x3163ef['except']=[]),_0x3163ef['except']['push'](_0x230ec5['string']());break;default:_0x230ec5['skipType'](0x7&tag,_0x2005fd);}}return _0x3163ef;},PacketOptionsMessage['decodeDelimited']=function(_0x12b38b){return _0x12b38b instanceof _0x5a128a||(_0x12b38b=new _0x5a128a(_0x12b38b)),this['decode'](_0x12b38b,_0x12b38b['uint32']());},PacketOptionsMessage['verify']=function(_0x1d217d,_0x3c47d9){if('object'!=typeof _0x1d217d||null===_0x1d217d)return'object\x20expected';if(void 0x0===_0x3c47d9&&(_0x3c47d9=0x0),_0x3c47d9>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1d217d['flags']&&Object['hasOwnProperty']['call'](_0x1d217d,'flags')&&!$util['isString'](_0x1d217d['flags']))return'flags:\x20string\x20expected';if(null!=_0x1d217d['rooms']&&Object['hasOwnProperty']['call'](_0x1d217d,'rooms')){if(!Array['isArray'](_0x1d217d['rooms']))return'rooms:\x20array\x20expected';for(var _0x502282=0x0;_0x502282<_0x1d217d['rooms']['length'];++_0x502282)if(!$util['isString'](_0x1d217d['rooms'][_0x502282]))return'rooms:\x20string[]\x20expected';}if(null!=_0x1d217d['except']&&Object['hasOwnProperty']['call'](_0x1d217d,'except')){if(!Array['isArray'](_0x1d217d['except']))return'except:\x20array\x20expected';for(_0x502282=0x0;_0x502282<_0x1d217d['except']['length'];++_0x502282)if(!$util['isString'](_0x1d217d['except'][_0x502282]))return'except:\x20string[]\x20expected';}return null;},PacketOptionsMessage['fromObject']=function(object,_0x4c892d){if(object instanceof $root['PacketOptionsMessage'])return object;if(!$util['isObject'](object))throw TypeError('.PacketOptionsMessage:\x20object\x20expected');if(void 0x0===_0x4c892d&&(_0x4c892d=0x0),_0x4c892d>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3f788d=new $root['PacketOptionsMessage']();if(null!=object['flags']&&(_0x3f788d['flags']=String(object['flags'])),object['rooms']){if(!Array['isArray'](object['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x3f788d['rooms']=[];for(var _0x526906=0x0;_0x526906<object['rooms']['length'];++_0x526906)_0x3f788d['rooms'][_0x526906]=String(object['rooms'][_0x526906]);}if(object['except']){if(!Array['isArray'](object['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');_0x3f788d['except']=[];for(_0x526906=0x0;_0x526906<object['except']['length'];++_0x526906)_0x3f788d['except'][_0x526906]=String(object['except'][_0x526906]);}return _0x3f788d;},PacketOptionsMessage['toObject']=function(_0xa35140,options,_0xf56b0d){if(options||(options={}),void 0x0===_0xf56b0d&&(_0xf56b0d=0x0),_0xf56b0d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['rooms']=[],object['except']=[]),options['defaults']&&(object['flags']=''),null!=_0xa35140['flags']&&Object['hasOwnProperty']['call'](_0xa35140,'flags')&&(object['flags']=_0xa35140['flags']),_0xa35140['rooms']&&_0xa35140['rooms']['length']){object['rooms']=[];for(var _0x5e9e39=0x0;_0x5e9e39<_0xa35140['rooms']['length'];++_0x5e9e39)object['rooms'][_0x5e9e39]=_0xa35140['rooms'][_0x5e9e39];}if(_0xa35140['except']&&_0xa35140['except']['length']){object['except']=[];for(_0x5e9e39=0x0;_0x5e9e39<_0xa35140['except']['length'];++_0x5e9e39)object['except'][_0x5e9e39]=_0xa35140['except'][_0x5e9e39];}return object;},PacketOptionsMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},PacketOptionsMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/PacketOptionsMessage';},PacketOptionsMessage;}()),$root['PacketMessage']=(function(){function PacketMessage(properties){if(properties){for(var _0x19fc10=Object['keys'](properties),_0x1fae84=0x0;_0x1fae84<_0x19fc10['length'];++_0x1fae84)null!=properties[_0x19fc10[_0x1fae84]]&&'__proto__'!==_0x19fc10[_0x1fae84]&&(this[_0x19fc10[_0x1fae84]]=properties[_0x19fc10[_0x1fae84]]);}}return PacketMessage['prototype']['type']=0x0,PacketMessage['prototype']['id']=0x0,PacketMessage['prototype']['nsp']='',PacketMessage['prototype']['data']=$util['newBuffer']([]),PacketMessage['prototype']['options']=$util['newBuffer']([]),PacketMessage['create']=function(properties){return new PacketMessage(properties);},PacketMessage['encode']=function(_0x2c5c6f,writer,_0x5559e1){if(writer||(writer=$Writer['create']()),void 0x0===_0x5559e1&&(_0x5559e1=0x0),_0x5559e1>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2c5c6f['type']&&Object['hasOwnProperty']['call'](_0x2c5c6f,'type')&&writer['uint32'](0x8)['uint32'](_0x2c5c6f['type']),null!=_0x2c5c6f['id']&&Object['hasOwnProperty']['call'](_0x2c5c6f,'id')&&writer['uint32'](0x10)['uint32'](_0x2c5c6f['id']),null!=_0x2c5c6f['nsp']&&Object['hasOwnProperty']['call'](_0x2c5c6f,'nsp')&&writer['uint32'](0x1a)['string'](_0x2c5c6f['nsp']),null!=_0x2c5c6f['data']&&Object['hasOwnProperty']['call'](_0x2c5c6f,'data')&&writer['uint32'](0x22)['bytes'](_0x2c5c6f['data']),null!=_0x2c5c6f['options']&&Object['hasOwnProperty']['call'](_0x2c5c6f,'options')&&writer['uint32'](0x2a)['bytes'](_0x2c5c6f['options']),writer;},PacketMessage['encodeDelimited']=function(_0x554a80,writer){return this['encode'](_0x554a80,writer)['ldelim']();},PacketMessage['decode']=function(_0x211d79,length,_0x2effdf,_0x2b0072){if(_0x211d79 instanceof _0x5a128a||(_0x211d79=_0x5a128a['create'](_0x211d79)),void 0x0===_0x2b0072&&(_0x2b0072=0x0),_0x2b0072>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x39871c=void 0x0===length?_0x211d79['len']:_0x211d79['pos']+length,_0x1bb45b=new $root['PacketMessage']();_0x211d79['pos']<_0x39871c;){var tag=_0x211d79['uint32']();if(tag===_0x2effdf)break;switch(tag>>>0x3){case 0x1:_0x1bb45b['type']=_0x211d79['uint32']();break;case 0x2:_0x1bb45b['id']=_0x211d79['uint32']();break;case 0x3:_0x1bb45b['nsp']=_0x211d79['string']();break;case 0x4:_0x1bb45b['data']=_0x211d79['bytes']();break;case 0x5:_0x1bb45b['options']=_0x211d79['bytes']();break;default:_0x211d79['skipType'](0x7&tag,_0x2b0072);}}return _0x1bb45b;},PacketMessage['decodeDelimited']=function(_0x5b102f){return _0x5b102f instanceof _0x5a128a||(_0x5b102f=new _0x5a128a(_0x5b102f)),this['decode'](_0x5b102f,_0x5b102f['uint32']());},PacketMessage['verify']=function(_0x238245,_0x371886){return'object'!=typeof _0x238245||null===_0x238245?'object\x20expected':(void 0x0===_0x371886&&(_0x371886=0x0),_0x371886>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x238245['type']&&Object['hasOwnProperty']['call'](_0x238245,'type')&&!$util['isInteger'](_0x238245['type'])?'type:\x20integer\x20expected':null!=_0x238245['id']&&Object['hasOwnProperty']['call'](_0x238245,'id')&&!$util['isInteger'](_0x238245['id'])?'id:\x20integer\x20expected':null!=_0x238245['nsp']&&Object['hasOwnProperty']['call'](_0x238245,'nsp')&&!$util['isString'](_0x238245['nsp'])?'nsp:\x20string\x20expected':null!=_0x238245['data']&&Object['hasOwnProperty']['call'](_0x238245,'data')&&!(_0x238245['data']&&'number'==typeof _0x238245['data']['length']||$util['isString'](_0x238245['data']))?'data:\x20buffer\x20expected':null!=_0x238245['options']&&Object['hasOwnProperty']['call'](_0x238245,'options')&&!(_0x238245['options']&&'number'==typeof _0x238245['options']['length']||$util['isString'](_0x238245['options']))?'options:\x20buffer\x20expected':null);},PacketMessage['fromObject']=function(object,_0x248cb2){if(object instanceof $root['PacketMessage'])return object;if(!$util['isObject'](object))throw TypeError('.PacketMessage:\x20object\x20expected');if(void 0x0===_0x248cb2&&(_0x248cb2=0x0),_0x248cb2>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1d7e16=new $root['PacketMessage']();return null!=object['type']&&(_0x1d7e16['type']=object['type']>>>0x0),null!=object['id']&&(_0x1d7e16['id']=object['id']>>>0x0),null!=object['nsp']&&(_0x1d7e16['nsp']=String(object['nsp'])),null!=object['data']&&('string'==typeof object['data']?$util['base64']['decode'](object['data'],_0x1d7e16['data']=$util['newBuffer']($util['base64']['length'](object['data'])),0x0):object['data']['length']>=0x0&&(_0x1d7e16['data']=object['data'])),null!=object['options']&&('string'==typeof object['options']?$util['base64']['decode'](object['options'],_0x1d7e16['options']=$util['newBuffer']($util['base64']['length'](object['options'])),0x0):object['options']['length']>=0x0&&(_0x1d7e16['options']=object['options'])),_0x1d7e16;},PacketMessage['toObject']=function(_0x54e195,options,_0x1bb9b5){if(options||(options={}),void 0x0===_0x1bb9b5&&(_0x1bb9b5=0x0),_0x1bb9b5>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['type']=0x0,object['id']=0x0,object['nsp']='',options['bytes']===String?object['data']='':(object['data']=[],options['bytes']!==Array&&(object['data']=$util['newBuffer'](object['data']))),options['bytes']===String?object['options']='':(object['options']=[],options['bytes']!==Array&&(object['options']=$util['newBuffer'](object['options'])))),null!=_0x54e195['type']&&Object['hasOwnProperty']['call'](_0x54e195,'type')&&(object['type']=_0x54e195['type']),null!=_0x54e195['id']&&Object['hasOwnProperty']['call'](_0x54e195,'id')&&(object['id']=_0x54e195['id']),null!=_0x54e195['nsp']&&Object['hasOwnProperty']['call'](_0x54e195,'nsp')&&(object['nsp']=_0x54e195['nsp']),null!=_0x54e195['data']&&Object['hasOwnProperty']['call'](_0x54e195,'data')&&(object['data']=options['bytes']===String?$util['base64']['encode'](_0x54e195['data'],0x0,_0x54e195['data']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x54e195['data']):_0x54e195['data']),null!=_0x54e195['options']&&Object['hasOwnProperty']['call'](_0x54e195,'options')&&(object['options']=options['bytes']===String?$util['base64']['encode'](_0x54e195['options'],0x0,_0x54e195['options']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x54e195['options']):_0x54e195['options']),object;},PacketMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},PacketMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/PacketMessage';},PacketMessage;}()),$root['ObjectObjectPacketDataMessage']=(function(){function ObjectObjectPacketDataMessage(properties){if(properties){for(var _0x4ecf0a=Object['keys'](properties),_0x9fb0a9=0x0;_0x9fb0a9<_0x4ecf0a['length'];++_0x9fb0a9)null!=properties[_0x4ecf0a[_0x9fb0a9]]&&'__proto__'!==_0x4ecf0a[_0x9fb0a9]&&(this[_0x4ecf0a[_0x9fb0a9]]=properties[_0x4ecf0a[_0x9fb0a9]]);}}return ObjectObjectPacketDataMessage['prototype']['data']='',ObjectObjectPacketDataMessage['prototype']['data1']='',ObjectObjectPacketDataMessage['create']=function(properties){return new ObjectObjectPacketDataMessage(properties);},ObjectObjectPacketDataMessage['encode']=function(_0x1bd015,writer,_0x507a76){if(writer||(writer=$Writer['create']()),void 0x0===_0x507a76&&(_0x507a76=0x0),_0x507a76>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1bd015['data']&&Object['hasOwnProperty']['call'](_0x1bd015,'data')&&writer['uint32'](0xa)['string'](_0x1bd015['data']),null!=_0x1bd015['data1']&&Object['hasOwnProperty']['call'](_0x1bd015,'data1')&&writer['uint32'](0x12)['string'](_0x1bd015['data1']),writer;},ObjectObjectPacketDataMessage['encodeDelimited']=function(_0x43bce4,writer){return this['encode'](_0x43bce4,writer)['ldelim']();},ObjectObjectPacketDataMessage['decode']=function(_0x73c628,length,_0xd7937a,_0x69eb24){if(_0x73c628 instanceof _0x5a128a||(_0x73c628=_0x5a128a['create'](_0x73c628)),void 0x0===_0x69eb24&&(_0x69eb24=0x0),_0x69eb24>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x19b927=void 0x0===length?_0x73c628['len']:_0x73c628['pos']+length,_0x302ef5=new $root['ObjectObjectPacketDataMessage']();_0x73c628['pos']<_0x19b927;){var tag=_0x73c628['uint32']();if(tag===_0xd7937a)break;switch(tag>>>0x3){case 0x1:_0x302ef5['data']=_0x73c628['string']();break;case 0x2:_0x302ef5['data1']=_0x73c628['string']();break;default:_0x73c628['skipType'](0x7&tag,_0x69eb24);}}return _0x302ef5;},ObjectObjectPacketDataMessage['decodeDelimited']=function(_0x5d135a){return _0x5d135a instanceof _0x5a128a||(_0x5d135a=new _0x5a128a(_0x5d135a)),this['decode'](_0x5d135a,_0x5d135a['uint32']());},ObjectObjectPacketDataMessage['verify']=function(_0x35a9bf,_0x20552c){return'object'!=typeof _0x35a9bf||null===_0x35a9bf?'object\x20expected':(void 0x0===_0x20552c&&(_0x20552c=0x0),_0x20552c>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x35a9bf['data']&&Object['hasOwnProperty']['call'](_0x35a9bf,'data')&&!$util['isString'](_0x35a9bf['data'])?'data:\x20string\x20expected':null!=_0x35a9bf['data1']&&Object['hasOwnProperty']['call'](_0x35a9bf,'data1')&&!$util['isString'](_0x35a9bf['data1'])?'data1:\x20string\x20expected':null);},ObjectObjectPacketDataMessage['fromObject']=function(object,_0x54c0fa){if(object instanceof $root['ObjectObjectPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.ObjectObjectPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x54c0fa&&(_0x54c0fa=0x0),_0x54c0fa>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x115f14=new $root['ObjectObjectPacketDataMessage']();return null!=object['data']&&(_0x115f14['data']=String(object['data'])),null!=object['data1']&&(_0x115f14['data1']=String(object['data1'])),_0x115f14;},ObjectObjectPacketDataMessage['toObject']=function(_0x3c42c8,options,_0x575956){if(options||(options={}),void 0x0===_0x575956&&(_0x575956=0x0),_0x575956>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']='',object['data1']=''),null!=_0x3c42c8['data']&&Object['hasOwnProperty']['call'](_0x3c42c8,'data')&&(object['data']=_0x3c42c8['data']),null!=_0x3c42c8['data1']&&Object['hasOwnProperty']['call'](_0x3c42c8,'data1')&&(object['data1']=_0x3c42c8['data1']),object;},ObjectObjectPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},ObjectObjectPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/ObjectObjectPacketDataMessage';},ObjectObjectPacketDataMessage;}()),$root['ObjectBufferPacketDataMessage']=(function(){function ObjectBufferPacketDataMessage(properties){if(properties){for(var _0x4105fb=Object['keys'](properties),_0x55697d=0x0;_0x55697d<_0x4105fb['length'];++_0x55697d)null!=properties[_0x4105fb[_0x55697d]]&&'__proto__'!==_0x4105fb[_0x55697d]&&(this[_0x4105fb[_0x55697d]]=properties[_0x4105fb[_0x55697d]]);}}return ObjectBufferPacketDataMessage['prototype']['data']='',ObjectBufferPacketDataMessage['prototype']['data1']=$util['newBuffer']([]),ObjectBufferPacketDataMessage['create']=function(properties){return new ObjectBufferPacketDataMessage(properties);},ObjectBufferPacketDataMessage['encode']=function(_0x210326,writer,_0x1ec623){if(writer||(writer=$Writer['create']()),void 0x0===_0x1ec623&&(_0x1ec623=0x0),_0x1ec623>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x210326['data']&&Object['hasOwnProperty']['call'](_0x210326,'data')&&writer['uint32'](0xa)['string'](_0x210326['data']),null!=_0x210326['data1']&&Object['hasOwnProperty']['call'](_0x210326,'data1')&&writer['uint32'](0x12)['bytes'](_0x210326['data1']),writer;},ObjectBufferPacketDataMessage['encodeDelimited']=function(_0x3745f7,writer){return this['encode'](_0x3745f7,writer)['ldelim']();},ObjectBufferPacketDataMessage['decode']=function(_0xe776b8,length,_0x1d6598,_0x165b99){if(_0xe776b8 instanceof _0x5a128a||(_0xe776b8=_0x5a128a['create'](_0xe776b8)),void 0x0===_0x165b99&&(_0x165b99=0x0),_0x165b99>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1f7f58=void 0x0===length?_0xe776b8['len']:_0xe776b8['pos']+length,_0x485c45=new $root['ObjectBufferPacketDataMessage']();_0xe776b8['pos']<_0x1f7f58;){var tag=_0xe776b8['uint32']();if(tag===_0x1d6598)break;switch(tag>>>0x3){case 0x1:_0x485c45['data']=_0xe776b8['string']();break;case 0x2:_0x485c45['data1']=_0xe776b8['bytes']();break;default:_0xe776b8['skipType'](0x7&tag,_0x165b99);}}return _0x485c45;},ObjectBufferPacketDataMessage['decodeDelimited']=function(_0x48a87f){return _0x48a87f instanceof _0x5a128a||(_0x48a87f=new _0x5a128a(_0x48a87f)),this['decode'](_0x48a87f,_0x48a87f['uint32']());},ObjectBufferPacketDataMessage['verify']=function(_0x1f2302,_0x2c9a57){return'object'!=typeof _0x1f2302||null===_0x1f2302?'object\x20expected':(void 0x0===_0x2c9a57&&(_0x2c9a57=0x0),_0x2c9a57>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1f2302['data']&&Object['hasOwnProperty']['call'](_0x1f2302,'data')&&!$util['isString'](_0x1f2302['data'])?'data:\x20string\x20expected':null!=_0x1f2302['data1']&&Object['hasOwnProperty']['call'](_0x1f2302,'data1')&&!(_0x1f2302['data1']&&'number'==typeof _0x1f2302['data1']['length']||$util['isString'](_0x1f2302['data1']))?'data1:\x20buffer\x20expected':null);},ObjectBufferPacketDataMessage['fromObject']=function(object,_0x16fe24){if(object instanceof $root['ObjectBufferPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.ObjectBufferPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x16fe24&&(_0x16fe24=0x0),_0x16fe24>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x113a1d=new $root['ObjectBufferPacketDataMessage']();return null!=object['data']&&(_0x113a1d['data']=String(object['data'])),null!=object['data1']&&('string'==typeof object['data1']?$util['base64']['decode'](object['data1'],_0x113a1d['data1']=$util['newBuffer']($util['base64']['length'](object['data1'])),0x0):object['data1']['length']>=0x0&&(_0x113a1d['data1']=object['data1'])),_0x113a1d;},ObjectBufferPacketDataMessage['toObject']=function(_0x5f36f5,options,_0x5179fb){if(options||(options={}),void 0x0===_0x5179fb&&(_0x5179fb=0x0),_0x5179fb>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']='',options['bytes']===String?object['data1']='':(object['data1']=[],options['bytes']!==Array&&(object['data1']=$util['newBuffer'](object['data1'])))),null!=_0x5f36f5['data']&&Object['hasOwnProperty']['call'](_0x5f36f5,'data')&&(object['data']=_0x5f36f5['data']),null!=_0x5f36f5['data1']&&Object['hasOwnProperty']['call'](_0x5f36f5,'data1')&&(object['data1']=options['bytes']===String?$util['base64']['encode'](_0x5f36f5['data1'],0x0,_0x5f36f5['data1']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x5f36f5['data1']):_0x5f36f5['data1']),object;},ObjectBufferPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},ObjectBufferPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/ObjectBufferPacketDataMessage';},ObjectBufferPacketDataMessage;}()),$root['NumberStringPacketDataMessage']=(function(){function NumberStringPacketDataMessage(properties){if(properties){for(var _0x13957f=Object['keys'](properties),_0xad65cb=0x0;_0xad65cb<_0x13957f['length'];++_0xad65cb)null!=properties[_0x13957f[_0xad65cb]]&&'__proto__'!==_0x13957f[_0xad65cb]&&(this[_0x13957f[_0xad65cb]]=properties[_0x13957f[_0xad65cb]]);}}return NumberStringPacketDataMessage['prototype']['data']=0x0,NumberStringPacketDataMessage['prototype']['data1']='',NumberStringPacketDataMessage['create']=function(properties){return new NumberStringPacketDataMessage(properties);},NumberStringPacketDataMessage['encode']=function(_0x1893a4,writer,_0x83aa09){if(writer||(writer=$Writer['create']()),void 0x0===_0x83aa09&&(_0x83aa09=0x0),_0x83aa09>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1893a4['data']&&Object['hasOwnProperty']['call'](_0x1893a4,'data')&&writer['uint32'](0x8)['uint32'](_0x1893a4['data']),null!=_0x1893a4['data1']&&Object['hasOwnProperty']['call'](_0x1893a4,'data1')&&writer['uint32'](0x12)['string'](_0x1893a4['data1']),writer;},NumberStringPacketDataMessage['encodeDelimited']=function(_0x4c1c17,writer){return this['encode'](_0x4c1c17,writer)['ldelim']();},NumberStringPacketDataMessage['decode']=function(_0x1b6b11,length,_0x2755a9,_0x51e7ef){if(_0x1b6b11 instanceof _0x5a128a||(_0x1b6b11=_0x5a128a['create'](_0x1b6b11)),void 0x0===_0x51e7ef&&(_0x51e7ef=0x0),_0x51e7ef>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2c244e=void 0x0===length?_0x1b6b11['len']:_0x1b6b11['pos']+length,_0x416da4=new $root['NumberStringPacketDataMessage']();_0x1b6b11['pos']<_0x2c244e;){var tag=_0x1b6b11['uint32']();if(tag===_0x2755a9)break;switch(tag>>>0x3){case 0x1:_0x416da4['data']=_0x1b6b11['uint32']();break;case 0x2:_0x416da4['data1']=_0x1b6b11['string']();break;default:_0x1b6b11['skipType'](0x7&tag,_0x51e7ef);}}return _0x416da4;},NumberStringPacketDataMessage['decodeDelimited']=function(_0x4ad258){return _0x4ad258 instanceof _0x5a128a||(_0x4ad258=new _0x5a128a(_0x4ad258)),this['decode'](_0x4ad258,_0x4ad258['uint32']());},NumberStringPacketDataMessage['verify']=function(_0x1387ae,_0x10fa49){return'object'!=typeof _0x1387ae||null===_0x1387ae?'object\x20expected':(void 0x0===_0x10fa49&&(_0x10fa49=0x0),_0x10fa49>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1387ae['data']&&Object['hasOwnProperty']['call'](_0x1387ae,'data')&&!$util['isInteger'](_0x1387ae['data'])?'data:\x20integer\x20expected':null!=_0x1387ae['data1']&&Object['hasOwnProperty']['call'](_0x1387ae,'data1')&&!$util['isString'](_0x1387ae['data1'])?'data1:\x20string\x20expected':null);},NumberStringPacketDataMessage['fromObject']=function(object,_0x3aa024){if(object instanceof $root['NumberStringPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.NumberStringPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x3aa024&&(_0x3aa024=0x0),_0x3aa024>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x164894=new $root['NumberStringPacketDataMessage']();return null!=object['data']&&(_0x164894['data']=object['data']>>>0x0),null!=object['data1']&&(_0x164894['data1']=String(object['data1'])),_0x164894;},NumberStringPacketDataMessage['toObject']=function(_0x240405,options,_0x2ede8b){if(options||(options={}),void 0x0===_0x2ede8b&&(_0x2ede8b=0x0),_0x2ede8b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']=0x0,object['data1']=''),null!=_0x240405['data']&&Object['hasOwnProperty']['call'](_0x240405,'data')&&(object['data']=_0x240405['data']),null!=_0x240405['data1']&&Object['hasOwnProperty']['call'](_0x240405,'data1')&&(object['data1']=_0x240405['data1']),object;},NumberStringPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},NumberStringPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/NumberStringPacketDataMessage';},NumberStringPacketDataMessage;}()),$root['NumberObjectPacketDataMessage']=(function(){function NumberObjectPacketDataMessage(properties){if(properties){for(var _0x37f6e8=Object['keys'](properties),_0x2ec6e7=0x0;_0x2ec6e7<_0x37f6e8['length'];++_0x2ec6e7)null!=properties[_0x37f6e8[_0x2ec6e7]]&&'__proto__'!==_0x37f6e8[_0x2ec6e7]&&(this[_0x37f6e8[_0x2ec6e7]]=properties[_0x37f6e8[_0x2ec6e7]]);}}return NumberObjectPacketDataMessage['prototype']['data']=0x0,NumberObjectPacketDataMessage['prototype']['data1']='',NumberObjectPacketDataMessage['create']=function(properties){return new NumberObjectPacketDataMessage(properties);},NumberObjectPacketDataMessage['encode']=function(_0x5565f8,writer,_0x511966){if(writer||(writer=$Writer['create']()),void 0x0===_0x511966&&(_0x511966=0x0),_0x511966>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5565f8['data']&&Object['hasOwnProperty']['call'](_0x5565f8,'data')&&writer['uint32'](0x8)['uint32'](_0x5565f8['data']),null!=_0x5565f8['data1']&&Object['hasOwnProperty']['call'](_0x5565f8,'data1')&&writer['uint32'](0x12)['string'](_0x5565f8['data1']),writer;},NumberObjectPacketDataMessage['encodeDelimited']=function(_0x4acdbe,writer){return this['encode'](_0x4acdbe,writer)['ldelim']();},NumberObjectPacketDataMessage['decode']=function(_0x37156f,length,_0x3807c6,_0x2f38a4){if(_0x37156f instanceof _0x5a128a||(_0x37156f=_0x5a128a['create'](_0x37156f)),void 0x0===_0x2f38a4&&(_0x2f38a4=0x0),_0x2f38a4>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3f9821=void 0x0===length?_0x37156f['len']:_0x37156f['pos']+length,_0x170cbf=new $root['NumberObjectPacketDataMessage']();_0x37156f['pos']<_0x3f9821;){var tag=_0x37156f['uint32']();if(tag===_0x3807c6)break;switch(tag>>>0x3){case 0x1:_0x170cbf['data']=_0x37156f['uint32']();break;case 0x2:_0x170cbf['data1']=_0x37156f['string']();break;default:_0x37156f['skipType'](0x7&tag,_0x2f38a4);}}return _0x170cbf;},NumberObjectPacketDataMessage['decodeDelimited']=function(_0x1925c9){return _0x1925c9 instanceof _0x5a128a||(_0x1925c9=new _0x5a128a(_0x1925c9)),this['decode'](_0x1925c9,_0x1925c9['uint32']());},NumberObjectPacketDataMessage['verify']=function(_0x5343ff,_0x74a3bf){return'object'!=typeof _0x5343ff||null===_0x5343ff?'object\x20expected':(void 0x0===_0x74a3bf&&(_0x74a3bf=0x0),_0x74a3bf>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5343ff['data']&&Object['hasOwnProperty']['call'](_0x5343ff,'data')&&!$util['isInteger'](_0x5343ff['data'])?'data:\x20integer\x20expected':null!=_0x5343ff['data1']&&Object['hasOwnProperty']['call'](_0x5343ff,'data1')&&!$util['isString'](_0x5343ff['data1'])?'data1:\x20string\x20expected':null);},NumberObjectPacketDataMessage['fromObject']=function(object,_0x26c5b0){if(object instanceof $root['NumberObjectPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.NumberObjectPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x26c5b0&&(_0x26c5b0=0x0),_0x26c5b0>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x47dc3c=new $root['NumberObjectPacketDataMessage']();return null!=object['data']&&(_0x47dc3c['data']=object['data']>>>0x0),null!=object['data1']&&(_0x47dc3c['data1']=String(object['data1'])),_0x47dc3c;},NumberObjectPacketDataMessage['toObject']=function(_0x300c8b,options,_0x269d89){if(options||(options={}),void 0x0===_0x269d89&&(_0x269d89=0x0),_0x269d89>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']=0x0,object['data1']=''),null!=_0x300c8b['data']&&Object['hasOwnProperty']['call'](_0x300c8b,'data')&&(object['data']=_0x300c8b['data']),null!=_0x300c8b['data1']&&Object['hasOwnProperty']['call'](_0x300c8b,'data1')&&(object['data1']=_0x300c8b['data1']),object;},NumberObjectPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},NumberObjectPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/NumberObjectPacketDataMessage';},NumberObjectPacketDataMessage;}()),$root['NumberNumberPacketDataMessage']=(function(){function NumberNumberPacketDataMessage(properties){if(properties){for(var _0x4a8334=Object['keys'](properties),_0x2e2a21=0x0;_0x2e2a21<_0x4a8334['length'];++_0x2e2a21)null!=properties[_0x4a8334[_0x2e2a21]]&&'__proto__'!==_0x4a8334[_0x2e2a21]&&(this[_0x4a8334[_0x2e2a21]]=properties[_0x4a8334[_0x2e2a21]]);}}return NumberNumberPacketDataMessage['prototype']['data']=0x0,NumberNumberPacketDataMessage['prototype']['data1']=0x0,NumberNumberPacketDataMessage['create']=function(properties){return new NumberNumberPacketDataMessage(properties);},NumberNumberPacketDataMessage['encode']=function(_0x1f7609,writer,_0xcf19ad){if(writer||(writer=$Writer['create']()),void 0x0===_0xcf19ad&&(_0xcf19ad=0x0),_0xcf19ad>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1f7609['data']&&Object['hasOwnProperty']['call'](_0x1f7609,'data')&&writer['uint32'](0x8)['uint32'](_0x1f7609['data']),null!=_0x1f7609['data1']&&Object['hasOwnProperty']['call'](_0x1f7609,'data1')&&writer['uint32'](0x10)['uint32'](_0x1f7609['data1']),writer;},NumberNumberPacketDataMessage['encodeDelimited']=function(_0x406143,writer){return this['encode'](_0x406143,writer)['ldelim']();},NumberNumberPacketDataMessage['decode']=function(_0x9ed311,length,_0x2d9899,_0x3b3936){if(_0x9ed311 instanceof _0x5a128a||(_0x9ed311=_0x5a128a['create'](_0x9ed311)),void 0x0===_0x3b3936&&(_0x3b3936=0x0),_0x3b3936>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4c36b2=void 0x0===length?_0x9ed311['len']:_0x9ed311['pos']+length,_0x3ae283=new $root['NumberNumberPacketDataMessage']();_0x9ed311['pos']<_0x4c36b2;){var tag=_0x9ed311['uint32']();if(tag===_0x2d9899)break;switch(tag>>>0x3){case 0x1:_0x3ae283['data']=_0x9ed311['uint32']();break;case 0x2:_0x3ae283['data1']=_0x9ed311['uint32']();break;default:_0x9ed311['skipType'](0x7&tag,_0x3b3936);}}return _0x3ae283;},NumberNumberPacketDataMessage['decodeDelimited']=function(_0xaaa999){return _0xaaa999 instanceof _0x5a128a||(_0xaaa999=new _0x5a128a(_0xaaa999)),this['decode'](_0xaaa999,_0xaaa999['uint32']());},NumberNumberPacketDataMessage['verify']=function(_0x148be3,_0x231e32){return'object'!=typeof _0x148be3||null===_0x148be3?'object\x20expected':(void 0x0===_0x231e32&&(_0x231e32=0x0),_0x231e32>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x148be3['data']&&Object['hasOwnProperty']['call'](_0x148be3,'data')&&!$util['isInteger'](_0x148be3['data'])?'data:\x20integer\x20expected':null!=_0x148be3['data1']&&Object['hasOwnProperty']['call'](_0x148be3,'data1')&&!$util['isInteger'](_0x148be3['data1'])?'data1:\x20integer\x20expected':null);},NumberNumberPacketDataMessage['fromObject']=function(object,_0x42e0ec){if(object instanceof $root['NumberNumberPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.NumberNumberPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x42e0ec&&(_0x42e0ec=0x0),_0x42e0ec>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x439840=new $root['NumberNumberPacketDataMessage']();return null!=object['data']&&(_0x439840['data']=object['data']>>>0x0),null!=object['data1']&&(_0x439840['data1']=object['data1']>>>0x0),_0x439840;},NumberNumberPacketDataMessage['toObject']=function(_0x299685,options,_0x3e17db){if(options||(options={}),void 0x0===_0x3e17db&&(_0x3e17db=0x0),_0x3e17db>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']=0x0,object['data1']=0x0),null!=_0x299685['data']&&Object['hasOwnProperty']['call'](_0x299685,'data')&&(object['data']=_0x299685['data']),null!=_0x299685['data1']&&Object['hasOwnProperty']['call'](_0x299685,'data1')&&(object['data1']=_0x299685['data1']),object;},NumberNumberPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},NumberNumberPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/NumberNumberPacketDataMessage';},NumberNumberPacketDataMessage;}()),$root['NumberBytesPacketDataMessage']=(function(){function NumberBytesPacketDataMessage(properties){if(properties){for(var _0x2799f9=Object['keys'](properties),_0x2a548e=0x0;_0x2a548e<_0x2799f9['length'];++_0x2a548e)null!=properties[_0x2799f9[_0x2a548e]]&&'__proto__'!==_0x2799f9[_0x2a548e]&&(this[_0x2799f9[_0x2a548e]]=properties[_0x2799f9[_0x2a548e]]);}}return NumberBytesPacketDataMessage['prototype']['data']=0x0,NumberBytesPacketDataMessage['prototype']['data1']=$util['newBuffer']([]),NumberBytesPacketDataMessage['create']=function(properties){return new NumberBytesPacketDataMessage(properties);},NumberBytesPacketDataMessage['encode']=function(_0x163ef5,writer,_0x1e0c0d){if(writer||(writer=$Writer['create']()),void 0x0===_0x1e0c0d&&(_0x1e0c0d=0x0),_0x1e0c0d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x163ef5['data']&&Object['hasOwnProperty']['call'](_0x163ef5,'data')&&writer['uint32'](0x8)['uint32'](_0x163ef5['data']),null!=_0x163ef5['data1']&&Object['hasOwnProperty']['call'](_0x163ef5,'data1')&&writer['uint32'](0x12)['bytes'](_0x163ef5['data1']),writer;},NumberBytesPacketDataMessage['encodeDelimited']=function(_0x58a0ae,writer){return this['encode'](_0x58a0ae,writer)['ldelim']();},NumberBytesPacketDataMessage['decode']=function(_0xee2751,length,_0x4cc7bf,_0x4905ae){if(_0xee2751 instanceof _0x5a128a||(_0xee2751=_0x5a128a['create'](_0xee2751)),void 0x0===_0x4905ae&&(_0x4905ae=0x0),_0x4905ae>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x554352=void 0x0===length?_0xee2751['len']:_0xee2751['pos']+length,_0x31738d=new $root['NumberBytesPacketDataMessage']();_0xee2751['pos']<_0x554352;){var tag=_0xee2751['uint32']();if(tag===_0x4cc7bf)break;switch(tag>>>0x3){case 0x1:_0x31738d['data']=_0xee2751['uint32']();break;case 0x2:_0x31738d['data1']=_0xee2751['bytes']();break;default:_0xee2751['skipType'](0x7&tag,_0x4905ae);}}return _0x31738d;},NumberBytesPacketDataMessage['decodeDelimited']=function(_0x4716b2){return _0x4716b2 instanceof _0x5a128a||(_0x4716b2=new _0x5a128a(_0x4716b2)),this['decode'](_0x4716b2,_0x4716b2['uint32']());},NumberBytesPacketDataMessage['verify']=function(_0x55b87a,_0x1589c8){return'object'!=typeof _0x55b87a||null===_0x55b87a?'object\x20expected':(void 0x0===_0x1589c8&&(_0x1589c8=0x0),_0x1589c8>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x55b87a['data']&&Object['hasOwnProperty']['call'](_0x55b87a,'data')&&!$util['isInteger'](_0x55b87a['data'])?'data:\x20integer\x20expected':null!=_0x55b87a['data1']&&Object['hasOwnProperty']['call'](_0x55b87a,'data1')&&!(_0x55b87a['data1']&&'number'==typeof _0x55b87a['data1']['length']||$util['isString'](_0x55b87a['data1']))?'data1:\x20buffer\x20expected':null);},NumberBytesPacketDataMessage['fromObject']=function(object,_0x109e2a){if(object instanceof $root['NumberBytesPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.NumberBytesPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x109e2a&&(_0x109e2a=0x0),_0x109e2a>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4db26a=new $root['NumberBytesPacketDataMessage']();return null!=object['data']&&(_0x4db26a['data']=object['data']>>>0x0),null!=object['data1']&&('string'==typeof object['data1']?$util['base64']['decode'](object['data1'],_0x4db26a['data1']=$util['newBuffer']($util['base64']['length'](object['data1'])),0x0):object['data1']['length']>=0x0&&(_0x4db26a['data1']=object['data1'])),_0x4db26a;},NumberBytesPacketDataMessage['toObject']=function(_0x3b7aba,options,_0x22abd2){if(options||(options={}),void 0x0===_0x22abd2&&(_0x22abd2=0x0),_0x22abd2>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']=0x0,options['bytes']===String?object['data1']='':(object['data1']=[],options['bytes']!==Array&&(object['data1']=$util['newBuffer'](object['data1'])))),null!=_0x3b7aba['data']&&Object['hasOwnProperty']['call'](_0x3b7aba,'data')&&(object['data']=_0x3b7aba['data']),null!=_0x3b7aba['data1']&&Object['hasOwnProperty']['call'](_0x3b7aba,'data1')&&(object['data1']=options['bytes']===String?$util['base64']['encode'](_0x3b7aba['data1'],0x0,_0x3b7aba['data1']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x3b7aba['data1']):_0x3b7aba['data1']),object;},NumberBytesPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},NumberBytesPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/NumberBytesPacketDataMessage';},NumberBytesPacketDataMessage;}()),$root['BytesBytesPacketDataMessage']=(function(){function BytesBytesPacketDataMessage(properties){if(properties){for(var _0x2ab5e1=Object['keys'](properties),_0x24a7aa=0x0;_0x24a7aa<_0x2ab5e1['length'];++_0x24a7aa)null!=properties[_0x2ab5e1[_0x24a7aa]]&&'__proto__'!==_0x2ab5e1[_0x24a7aa]&&(this[_0x2ab5e1[_0x24a7aa]]=properties[_0x2ab5e1[_0x24a7aa]]);}}return BytesBytesPacketDataMessage['prototype']['data']=$util['newBuffer']([]),BytesBytesPacketDataMessage['prototype']['data1']=$util['newBuffer']([]),BytesBytesPacketDataMessage['create']=function(properties){return new BytesBytesPacketDataMessage(properties);},BytesBytesPacketDataMessage['encode']=function(_0x23142b,writer,_0x2071ef){if(writer||(writer=$Writer['create']()),void 0x0===_0x2071ef&&(_0x2071ef=0x0),_0x2071ef>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x23142b['data']&&Object['hasOwnProperty']['call'](_0x23142b,'data')&&writer['uint32'](0xa)['bytes'](_0x23142b['data']),null!=_0x23142b['data1']&&Object['hasOwnProperty']['call'](_0x23142b,'data1')&&writer['uint32'](0x12)['bytes'](_0x23142b['data1']),writer;},BytesBytesPacketDataMessage['encodeDelimited']=function(_0x12b218,writer){return this['encode'](_0x12b218,writer)['ldelim']();},BytesBytesPacketDataMessage['decode']=function(_0x4b3ebd,length,_0x5d67d1,_0x40a6dc){if(_0x4b3ebd instanceof _0x5a128a||(_0x4b3ebd=_0x5a128a['create'](_0x4b3ebd)),void 0x0===_0x40a6dc&&(_0x40a6dc=0x0),_0x40a6dc>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4787e0=void 0x0===length?_0x4b3ebd['len']:_0x4b3ebd['pos']+length,_0x50018f=new $root['BytesBytesPacketDataMessage']();_0x4b3ebd['pos']<_0x4787e0;){var tag=_0x4b3ebd['uint32']();if(tag===_0x5d67d1)break;switch(tag>>>0x3){case 0x1:_0x50018f['data']=_0x4b3ebd['bytes']();break;case 0x2:_0x50018f['data1']=_0x4b3ebd['bytes']();break;default:_0x4b3ebd['skipType'](0x7&tag,_0x40a6dc);}}return _0x50018f;},BytesBytesPacketDataMessage['decodeDelimited']=function(_0x26c25e){return _0x26c25e instanceof _0x5a128a||(_0x26c25e=new _0x5a128a(_0x26c25e)),this['decode'](_0x26c25e,_0x26c25e['uint32']());},BytesBytesPacketDataMessage['verify']=function(_0x1825ee,_0x41cff5){return'object'!=typeof _0x1825ee||null===_0x1825ee?'object\x20expected':(void 0x0===_0x41cff5&&(_0x41cff5=0x0),_0x41cff5>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1825ee['data']&&Object['hasOwnProperty']['call'](_0x1825ee,'data')&&!(_0x1825ee['data']&&'number'==typeof _0x1825ee['data']['length']||$util['isString'](_0x1825ee['data']))?'data:\x20buffer\x20expected':null!=_0x1825ee['data1']&&Object['hasOwnProperty']['call'](_0x1825ee,'data1')&&!(_0x1825ee['data1']&&'number'==typeof _0x1825ee['data1']['length']||$util['isString'](_0x1825ee['data1']))?'data1:\x20buffer\x20expected':null);},BytesBytesPacketDataMessage['fromObject']=function(object,_0x11e603){if(object instanceof $root['BytesBytesPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.BytesBytesPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x11e603&&(_0x11e603=0x0),_0x11e603>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x19a49a=new $root['BytesBytesPacketDataMessage']();return null!=object['data']&&('string'==typeof object['data']?$util['base64']['decode'](object['data'],_0x19a49a['data']=$util['newBuffer']($util['base64']['length'](object['data'])),0x0):object['data']['length']>=0x0&&(_0x19a49a['data']=object['data'])),null!=object['data1']&&('string'==typeof object['data1']?$util['base64']['decode'](object['data1'],_0x19a49a['data1']=$util['newBuffer']($util['base64']['length'](object['data1'])),0x0):object['data1']['length']>=0x0&&(_0x19a49a['data1']=object['data1'])),_0x19a49a;},BytesBytesPacketDataMessage['toObject']=function(_0x31a917,options,_0x3bc0b8){if(options||(options={}),void 0x0===_0x3bc0b8&&(_0x3bc0b8=0x0),_0x3bc0b8>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(options['bytes']===String?object['data']='':(object['data']=[],options['bytes']!==Array&&(object['data']=$util['newBuffer'](object['data']))),options['bytes']===String?object['data1']='':(object['data1']=[],options['bytes']!==Array&&(object['data1']=$util['newBuffer'](object['data1'])))),null!=_0x31a917['data']&&Object['hasOwnProperty']['call'](_0x31a917,'data')&&(object['data']=options['bytes']===String?$util['base64']['encode'](_0x31a917['data'],0x0,_0x31a917['data']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x31a917['data']):_0x31a917['data']),null!=_0x31a917['data1']&&Object['hasOwnProperty']['call'](_0x31a917,'data1')&&(object['data1']=options['bytes']===String?$util['base64']['encode'](_0x31a917['data1'],0x0,_0x31a917['data1']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x31a917['data1']):_0x31a917['data1']),object;},BytesBytesPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},BytesBytesPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/BytesBytesPacketDataMessage';},BytesBytesPacketDataMessage;}()),$root['ChannelMessage']=(function(){function _0x175f2c(properties){if(properties){for(var _0x3b6d70=Object['keys'](properties),_0x2fc23a=0x0;_0x2fc23a<_0x3b6d70['length'];++_0x2fc23a)null!=properties[_0x3b6d70[_0x2fc23a]]&&'__proto__'!==_0x3b6d70[_0x2fc23a]&&(this[_0x3b6d70[_0x2fc23a]]=properties[_0x3b6d70[_0x2fc23a]]);}}return _0x175f2c['prototype']['type']=0x0,_0x175f2c['prototype']['socketId']='',_0x175f2c['prototype']['data']=$util['newBuffer']([]),_0x175f2c['create']=function(properties){return new _0x175f2c(properties);},_0x175f2c['encode']=function(_0x43e571,writer,_0x29d83a){if(writer||(writer=$Writer['create']()),void 0x0===_0x29d83a&&(_0x29d83a=0x0),_0x29d83a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x43e571['type']&&Object['hasOwnProperty']['call'](_0x43e571,'type')&&writer['uint32'](0x8)['uint32'](_0x43e571['type']),null!=_0x43e571['socketId']&&Object['hasOwnProperty']['call'](_0x43e571,'socketId')&&writer['uint32'](0x12)['string'](_0x43e571['socketId']),null!=_0x43e571['data']&&Object['hasOwnProperty']['call'](_0x43e571,'data')&&writer['uint32'](0x1a)['bytes'](_0x43e571['data']),writer;},_0x175f2c['encodeDelimited']=function(_0x49b45a,writer){return this['encode'](_0x49b45a,writer)['ldelim']();},_0x175f2c['decode']=function(_0x4a5ddf,length,_0x51dd0d,_0x3cce74){if(_0x4a5ddf instanceof _0x5a128a||(_0x4a5ddf=_0x5a128a['create'](_0x4a5ddf)),void 0x0===_0x3cce74&&(_0x3cce74=0x0),_0x3cce74>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5f1d1d=void 0x0===length?_0x4a5ddf['len']:_0x4a5ddf['pos']+length,_0x5b671b=new $root['ChannelMessage']();_0x4a5ddf['pos']<_0x5f1d1d;){var tag=_0x4a5ddf['uint32']();if(tag===_0x51dd0d)break;switch(tag>>>0x3){case 0x1:_0x5b671b['type']=_0x4a5ddf['uint32']();break;case 0x2:_0x5b671b['socketId']=_0x4a5ddf['string']();break;case 0x3:_0x5b671b['data']=_0x4a5ddf['bytes']();break;default:_0x4a5ddf['skipType'](0x7&tag,_0x3cce74);}}return _0x5b671b;},_0x175f2c['decodeDelimited']=function(_0x3d1ea1){return _0x3d1ea1 instanceof _0x5a128a||(_0x3d1ea1=new _0x5a128a(_0x3d1ea1)),this['decode'](_0x3d1ea1,_0x3d1ea1['uint32']());},_0x175f2c['verify']=function(_0x47c67b,_0x2230be){return'object'!=typeof _0x47c67b||null===_0x47c67b?'object\x20expected':(void 0x0===_0x2230be&&(_0x2230be=0x0),_0x2230be>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x47c67b['type']&&Object['hasOwnProperty']['call'](_0x47c67b,'type')&&!$util['isInteger'](_0x47c67b['type'])?'type:\x20integer\x20expected':null!=_0x47c67b['socketId']&&Object['hasOwnProperty']['call'](_0x47c67b,'socketId')&&!$util['isString'](_0x47c67b['socketId'])?'socketId:\x20string\x20expected':null!=_0x47c67b['data']&&Object['hasOwnProperty']['call'](_0x47c67b,'data')&&!(_0x47c67b['data']&&'number'==typeof _0x47c67b['data']['length']||$util['isString'](_0x47c67b['data']))?'data:\x20buffer\x20expected':null);},_0x175f2c['fromObject']=function(object,_0x27e900){if(object instanceof $root['ChannelMessage'])return object;if(!$util['isObject'](object))throw TypeError('.ChannelMessage:\x20object\x20expected');if(void 0x0===_0x27e900&&(_0x27e900=0x0),_0x27e900>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x9bf968=new $root['ChannelMessage']();return null!=object['type']&&(_0x9bf968['type']=object['type']>>>0x0),null!=object['socketId']&&(_0x9bf968['socketId']=String(object['socketId'])),null!=object['data']&&('string'==typeof object['data']?$util['base64']['decode'](object['data'],_0x9bf968['data']=$util['newBuffer']($util['base64']['length'](object['data'])),0x0):object['data']['length']>=0x0&&(_0x9bf968['data']=object['data'])),_0x9bf968;},_0x175f2c['toObject']=function(_0x5b3121,options,_0x5292c0){if(options||(options={}),void 0x0===_0x5292c0&&(_0x5292c0=0x0),_0x5292c0>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['type']=0x0,object['socketId']='',options['bytes']===String?object['data']='':(object['data']=[],options['bytes']!==Array&&(object['data']=$util['newBuffer'](object['data'])))),null!=_0x5b3121['type']&&Object['hasOwnProperty']['call'](_0x5b3121,'type')&&(object['type']=_0x5b3121['type']),null!=_0x5b3121['socketId']&&Object['hasOwnProperty']['call'](_0x5b3121,'socketId')&&(object['socketId']=_0x5b3121['socketId']),null!=_0x5b3121['data']&&Object['hasOwnProperty']['call'](_0x5b3121,'data')&&(object['data']=options['bytes']===String?$util['base64']['encode'](_0x5b3121['data'],0x0,_0x5b3121['data']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x5b3121['data']):_0x5b3121['data']),object;},_0x175f2c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},_0x175f2c['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/ChannelMessage';},_0x175f2c;}()),$root['ChannelDisconnectedMessage']=(function(){function ChannelDisconnectedMessage(properties){if(properties){for(var _0x4d61ac=Object['keys'](properties),_0x500fc6=0x0;_0x500fc6<_0x4d61ac['length'];++_0x500fc6)null!=properties[_0x4d61ac[_0x500fc6]]&&'__proto__'!==_0x4d61ac[_0x500fc6]&&(this[_0x4d61ac[_0x500fc6]]=properties[_0x4d61ac[_0x500fc6]]);}}return ChannelDisconnectedMessage['create']=function(properties){return new ChannelDisconnectedMessage(properties);},ChannelDisconnectedMessage['encode']=function(_0x4f191c,writer,_0x2f8e44){if(writer||(writer=$Writer['create']()),void 0x0===_0x2f8e44&&(_0x2f8e44=0x0),_0x2f8e44>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return writer;},ChannelDisconnectedMessage['encodeDelimited']=function(_0x3f0ff7,writer){return this['encode'](_0x3f0ff7,writer)['ldelim']();},ChannelDisconnectedMessage['decode']=function(_0x2b634f,length,_0x36c688,_0x4f4d21){if(_0x2b634f instanceof _0x5a128a||(_0x2b634f=_0x5a128a['create'](_0x2b634f)),void 0x0===_0x4f4d21&&(_0x4f4d21=0x0),_0x4f4d21>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x265f89=void 0x0===length?_0x2b634f['len']:_0x2b634f['pos']+length,_0x55a12e=new $root['ChannelDisconnectedMessage']();_0x2b634f['pos']<_0x265f89;){var tag=_0x2b634f['uint32']();if(tag===_0x36c688)break;_0x2b634f['skipType'](0x7&tag,_0x4f4d21);}return _0x55a12e;},ChannelDisconnectedMessage['decodeDelimited']=function(_0x3cd00c){return _0x3cd00c instanceof _0x5a128a||(_0x3cd00c=new _0x5a128a(_0x3cd00c)),this['decode'](_0x3cd00c,_0x3cd00c['uint32']());},ChannelDisconnectedMessage['verify']=function(_0x33ba1b,_0x31c465){return'object'!=typeof _0x33ba1b||null===_0x33ba1b?'object\x20expected':(void 0x0===_0x31c465&&(_0x31c465=0x0),_0x31c465>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null);},ChannelDisconnectedMessage['fromObject']=function(object,_0x2a2472){return object instanceof $root['ChannelDisconnectedMessage']?object:new $root['ChannelDisconnectedMessage']();},ChannelDisconnectedMessage['toObject']=function(){return{};},ChannelDisconnectedMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},ChannelDisconnectedMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/ChannelDisconnectedMessage';},ChannelDisconnectedMessage;}()),$root['GetUserResponse']=(function(){function GetUserResponse(properties){if(this['attributes']=[],properties){for(var _0xf999f8=Object['keys'](properties),_0x1b9b65=0x0;_0x1b9b65<_0xf999f8['length'];++_0x1b9b65)null!=properties[_0xf999f8[_0x1b9b65]]&&'__proto__'!==_0xf999f8[_0x1b9b65]&&(this[_0xf999f8[_0x1b9b65]]=properties[_0xf999f8[_0x1b9b65]]);}}return GetUserResponse['prototype']['attributes']=$util['emptyArray'],GetUserResponse['create']=function(properties){return new GetUserResponse(properties);},GetUserResponse['encode']=function(_0x19f450,writer,_0x4e31f4){if(writer||(writer=$Writer['create']()),void 0x0===_0x4e31f4&&(_0x4e31f4=0x0),_0x4e31f4>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x19f450['attributes']&&_0x19f450['attributes']['length']){for(var _0x29959a=0x0;_0x29959a<_0x19f450['attributes']['length'];++_0x29959a)$root['KeyValueDescriptor']['encode'](_0x19f450['attributes'][_0x29959a],writer['uint32'](0xa)['fork'](),_0x4e31f4+0x1)['ldelim']();}return writer;},GetUserResponse['encodeDelimited']=function(_0x4f25d9,writer){return this['encode'](_0x4f25d9,writer)['ldelim']();},GetUserResponse['decode']=function(_0xad6b58,length,_0x408bd2,_0x25e9a6){if(_0xad6b58 instanceof _0x5a128a||(_0xad6b58=_0x5a128a['create'](_0xad6b58)),void 0x0===_0x25e9a6&&(_0x25e9a6=0x0),_0x25e9a6>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5a70c8=void 0x0===length?_0xad6b58['len']:_0xad6b58['pos']+length,_0x475d06=new $root['GetUserResponse']();_0xad6b58['pos']<_0x5a70c8;){var tag=_0xad6b58['uint32']();if(tag===_0x408bd2)break;if(tag>>>0x3==0x1)_0x475d06['attributes']&&_0x475d06['attributes']['length']||(_0x475d06['attributes']=[]),_0x475d06['attributes']['push']($root['KeyValueDescriptor']['decode'](_0xad6b58,_0xad6b58['uint32'](),void 0x0,_0x25e9a6+0x1));else _0xad6b58['skipType'](0x7&tag,_0x25e9a6);}return _0x475d06;},GetUserResponse['decodeDelimited']=function(_0x485457){return _0x485457 instanceof _0x5a128a||(_0x485457=new _0x5a128a(_0x485457)),this['decode'](_0x485457,_0x485457['uint32']());},GetUserResponse['verify']=function(_0x203982,_0x599fff){if('object'!=typeof _0x203982||null===_0x203982)return'object\x20expected';if(void 0x0===_0x599fff&&(_0x599fff=0x0),_0x599fff>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x203982['attributes']&&Object['hasOwnProperty']['call'](_0x203982,'attributes')){if(!Array['isArray'](_0x203982['attributes']))return'attributes:\x20array\x20expected';for(var _0xf156c8=0x0;_0xf156c8<_0x203982['attributes']['length'];++_0xf156c8){var _0x1ee6e2=$root['KeyValueDescriptor']['verify'](_0x203982['attributes'][_0xf156c8],_0x599fff+0x1);if(_0x1ee6e2)return'attributes.'+_0x1ee6e2;}}return null;},GetUserResponse['fromObject']=function(object,_0x5fc997){if(object instanceof $root['GetUserResponse'])return object;if(!$util['isObject'](object))throw TypeError('.GetUserResponse:\x20object\x20expected');if(void 0x0===_0x5fc997&&(_0x5fc997=0x0),_0x5fc997>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5caf40=new $root['GetUserResponse']();if(object['attributes']){if(!Array['isArray'](object['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x5caf40['attributes']=[];for(var _0x825cbc=0x0;_0x825cbc<object['attributes']['length'];++_0x825cbc){if(!$util['isObject'](object['attributes'][_0x825cbc]))throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x5caf40['attributes'][_0x825cbc]=$root['KeyValueDescriptor']['fromObject'](object['attributes'][_0x825cbc],_0x5fc997+0x1);}}return _0x5caf40;},GetUserResponse['toObject']=function(_0x20bac8,options,_0x3d934a){if(options||(options={}),void 0x0===_0x3d934a&&(_0x3d934a=0x0),_0x3d934a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['attributes']=[]),_0x20bac8['attributes']&&_0x20bac8['attributes']['length']){object['attributes']=[];for(var _0x3037c1=0x0;_0x3037c1<_0x20bac8['attributes']['length'];++_0x3037c1)object['attributes'][_0x3037c1]=$root['KeyValueDescriptor']['toObject'](_0x20bac8['attributes'][_0x3037c1],options,_0x3d934a+0x1);}return object;},GetUserResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetUserResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetUserResponse';},GetUserResponse;}()),$root['GetManyUsersResponse']=(function(){function GetManyUsersResponse(properties){if(this['users']=[],properties){for(var _0x3f45ee=Object['keys'](properties),_0x16e85f=0x0;_0x16e85f<_0x3f45ee['length'];++_0x16e85f)null!=properties[_0x3f45ee[_0x16e85f]]&&'__proto__'!==_0x3f45ee[_0x16e85f]&&(this[_0x3f45ee[_0x16e85f]]=properties[_0x3f45ee[_0x16e85f]]);}}return GetManyUsersResponse['prototype']['users']=$util['emptyArray'],GetManyUsersResponse['create']=function(properties){return new GetManyUsersResponse(properties);},GetManyUsersResponse['encode']=function(_0x3b3ec9,writer,_0x4810da){if(writer||(writer=$Writer['create']()),void 0x0===_0x4810da&&(_0x4810da=0x0),_0x4810da>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x3b3ec9['users']&&_0x3b3ec9['users']['length']){for(var _0x490672=0x0;_0x490672<_0x3b3ec9['users']['length'];++_0x490672)$root['UserDescriptor']['encode'](_0x3b3ec9['users'][_0x490672],writer['uint32'](0xa)['fork'](),_0x4810da+0x1)['ldelim']();}return writer;},GetManyUsersResponse['encodeDelimited']=function(_0x4838e2,writer){return this['encode'](_0x4838e2,writer)['ldelim']();},GetManyUsersResponse['decode']=function(_0x41a3e3,length,_0x4f82a6,_0x4cd4bd){if(_0x41a3e3 instanceof _0x5a128a||(_0x41a3e3=_0x5a128a['create'](_0x41a3e3)),void 0x0===_0x4cd4bd&&(_0x4cd4bd=0x0),_0x4cd4bd>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x508f0e=void 0x0===length?_0x41a3e3['len']:_0x41a3e3['pos']+length,_0xdb47e2=new $root['GetManyUsersResponse']();_0x41a3e3['pos']<_0x508f0e;){var tag=_0x41a3e3['uint32']();if(tag===_0x4f82a6)break;if(tag>>>0x3==0x1)_0xdb47e2['users']&&_0xdb47e2['users']['length']||(_0xdb47e2['users']=[]),_0xdb47e2['users']['push']($root['UserDescriptor']['decode'](_0x41a3e3,_0x41a3e3['uint32'](),void 0x0,_0x4cd4bd+0x1));else _0x41a3e3['skipType'](0x7&tag,_0x4cd4bd);}return _0xdb47e2;},GetManyUsersResponse['decodeDelimited']=function(_0x29b693){return _0x29b693 instanceof _0x5a128a||(_0x29b693=new _0x5a128a(_0x29b693)),this['decode'](_0x29b693,_0x29b693['uint32']());},GetManyUsersResponse['verify']=function(_0x36dede,_0x5e094d){if('object'!=typeof _0x36dede||null===_0x36dede)return'object\x20expected';if(void 0x0===_0x5e094d&&(_0x5e094d=0x0),_0x5e094d>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x36dede['users']&&Object['hasOwnProperty']['call'](_0x36dede,'users')){if(!Array['isArray'](_0x36dede['users']))return'users:\x20array\x20expected';for(var _0x303f40=0x0;_0x303f40<_0x36dede['users']['length'];++_0x303f40){var _0x2dc38e=$root['UserDescriptor']['verify'](_0x36dede['users'][_0x303f40],_0x5e094d+0x1);if(_0x2dc38e)return'users.'+_0x2dc38e;}}return null;},GetManyUsersResponse['fromObject']=function(object,_0x5230e4){if(object instanceof $root['GetManyUsersResponse'])return object;if(!$util['isObject'](object))throw TypeError('.GetManyUsersResponse:\x20object\x20expected');if(void 0x0===_0x5230e4&&(_0x5230e4=0x0),_0x5230e4>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4001c4=new $root['GetManyUsersResponse']();if(object['users']){if(!Array['isArray'](object['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x4001c4['users']=[];for(var _0x570341=0x0;_0x570341<object['users']['length'];++_0x570341){if(!$util['isObject'](object['users'][_0x570341]))throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x4001c4['users'][_0x570341]=$root['UserDescriptor']['fromObject'](object['users'][_0x570341],_0x5230e4+0x1);}}return _0x4001c4;},GetManyUsersResponse['toObject']=function(_0x1b7058,options,_0x1b0916){if(options||(options={}),void 0x0===_0x1b0916&&(_0x1b0916=0x0),_0x1b0916>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['users']=[]),_0x1b7058['users']&&_0x1b7058['users']['length']){object['users']=[];for(var _0x4752e8=0x0;_0x4752e8<_0x1b7058['users']['length'];++_0x4752e8)object['users'][_0x4752e8]=$root['UserDescriptor']['toObject'](_0x1b7058['users'][_0x4752e8],options,_0x1b0916+0x1);}return object;},GetManyUsersResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetManyUsersResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetManyUsersResponse';},GetManyUsersResponse;}()),$root['GetUserMessage']=(function(){function GetUserMessage(properties){if(properties){for(var _0x5ea970=Object['keys'](properties),_0x54d304=0x0;_0x54d304<_0x5ea970['length'];++_0x54d304)null!=properties[_0x5ea970[_0x54d304]]&&'__proto__'!==_0x5ea970[_0x54d304]&&(this[_0x5ea970[_0x54d304]]=properties[_0x5ea970[_0x54d304]]);}}return GetUserMessage['prototype']['id']='',GetUserMessage['create']=function(properties){return new GetUserMessage(properties);},GetUserMessage['encode']=function(_0x48f14f,writer,_0x40a89c){if(writer||(writer=$Writer['create']()),void 0x0===_0x40a89c&&(_0x40a89c=0x0),_0x40a89c>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x48f14f['id']&&Object['hasOwnProperty']['call'](_0x48f14f,'id')&&writer['uint32'](0xa)['string'](_0x48f14f['id']),writer;},GetUserMessage['encodeDelimited']=function(_0x4cd015,writer){return this['encode'](_0x4cd015,writer)['ldelim']();},GetUserMessage['decode']=function(_0x491428,length,_0x38b939,_0x4c8006){if(_0x491428 instanceof _0x5a128a||(_0x491428=_0x5a128a['create'](_0x491428)),void 0x0===_0x4c8006&&(_0x4c8006=0x0),_0x4c8006>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x682a73=void 0x0===length?_0x491428['len']:_0x491428['pos']+length,_0x48234e=new $root['GetUserMessage']();_0x491428['pos']<_0x682a73;){var tag=_0x491428['uint32']();if(tag===_0x38b939)break;if(tag>>>0x3==0x1)_0x48234e['id']=_0x491428['string']();else _0x491428['skipType'](0x7&tag,_0x4c8006);}return _0x48234e;},GetUserMessage['decodeDelimited']=function(_0x279dde){return _0x279dde instanceof _0x5a128a||(_0x279dde=new _0x5a128a(_0x279dde)),this['decode'](_0x279dde,_0x279dde['uint32']());},GetUserMessage['verify']=function(_0x4c37f1,_0x51f3f2){return'object'!=typeof _0x4c37f1||null===_0x4c37f1?'object\x20expected':(void 0x0===_0x51f3f2&&(_0x51f3f2=0x0),_0x51f3f2>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4c37f1['id']&&Object['hasOwnProperty']['call'](_0x4c37f1,'id')&&!$util['isString'](_0x4c37f1['id'])?'id:\x20string\x20expected':null);},GetUserMessage['fromObject']=function(object,_0xdba592){if(object instanceof $root['GetUserMessage'])return object;if(!$util['isObject'](object))throw TypeError('.GetUserMessage:\x20object\x20expected');if(void 0x0===_0xdba592&&(_0xdba592=0x0),_0xdba592>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1bc34a=new $root['GetUserMessage']();return null!=object['id']&&(_0x1bc34a['id']=String(object['id'])),_0x1bc34a;},GetUserMessage['toObject']=function(_0x20a588,options,_0x9f295b){if(options||(options={}),void 0x0===_0x9f295b&&(_0x9f295b=0x0),_0x9f295b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']=''),null!=_0x20a588['id']&&Object['hasOwnProperty']['call'](_0x20a588,'id')&&(object['id']=_0x20a588['id']),object;},GetUserMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetUserMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetUserMessage';},GetUserMessage;}()),$root['GetManyUsersMessage']=(function(){function GetManyUsersMessage(properties){if(this['ids']=[],properties){for(var _0x18c048=Object['keys'](properties),_0x51349e=0x0;_0x51349e<_0x18c048['length'];++_0x51349e)null!=properties[_0x18c048[_0x51349e]]&&'__proto__'!==_0x18c048[_0x51349e]&&(this[_0x18c048[_0x51349e]]=properties[_0x18c048[_0x51349e]]);}}return GetManyUsersMessage['prototype']['ids']=$util['emptyArray'],GetManyUsersMessage['create']=function(properties){return new GetManyUsersMessage(properties);},GetManyUsersMessage['encode']=function(_0x2ad3be,writer,_0x35a603){if(writer||(writer=$Writer['create']()),void 0x0===_0x35a603&&(_0x35a603=0x0),_0x35a603>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x2ad3be['ids']&&_0x2ad3be['ids']['length']){for(var _0x58cfbb=0x0;_0x58cfbb<_0x2ad3be['ids']['length'];++_0x58cfbb)writer['uint32'](0xa)['string'](_0x2ad3be['ids'][_0x58cfbb]);}return writer;},GetManyUsersMessage['encodeDelimited']=function(_0x1fbcbe,writer){return this['encode'](_0x1fbcbe,writer)['ldelim']();},GetManyUsersMessage['decode']=function(_0x17385d,length,_0x4bea11,_0x308a6d){if(_0x17385d instanceof _0x5a128a||(_0x17385d=_0x5a128a['create'](_0x17385d)),void 0x0===_0x308a6d&&(_0x308a6d=0x0),_0x308a6d>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xb6eee6=void 0x0===length?_0x17385d['len']:_0x17385d['pos']+length,_0x105fef=new $root['GetManyUsersMessage']();_0x17385d['pos']<_0xb6eee6;){var tag=_0x17385d['uint32']();if(tag===_0x4bea11)break;if(tag>>>0x3==0x1)_0x105fef['ids']&&_0x105fef['ids']['length']||(_0x105fef['ids']=[]),_0x105fef['ids']['push'](_0x17385d['string']());else _0x17385d['skipType'](0x7&tag,_0x308a6d);}return _0x105fef;},GetManyUsersMessage['decodeDelimited']=function(_0x17910d){return _0x17910d instanceof _0x5a128a||(_0x17910d=new _0x5a128a(_0x17910d)),this['decode'](_0x17910d,_0x17910d['uint32']());},GetManyUsersMessage['verify']=function(_0x291cb7,_0x1a76fd){if('object'!=typeof _0x291cb7||null===_0x291cb7)return'object\x20expected';if(void 0x0===_0x1a76fd&&(_0x1a76fd=0x0),_0x1a76fd>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x291cb7['ids']&&Object['hasOwnProperty']['call'](_0x291cb7,'ids')){if(!Array['isArray'](_0x291cb7['ids']))return'ids:\x20array\x20expected';for(var _0xf73c2a=0x0;_0xf73c2a<_0x291cb7['ids']['length'];++_0xf73c2a)if(!$util['isString'](_0x291cb7['ids'][_0xf73c2a]))return'ids:\x20string[]\x20expected';}return null;},GetManyUsersMessage['fromObject']=function(object,_0x55339e){if(object instanceof $root['GetManyUsersMessage'])return object;if(!$util['isObject'](object))throw TypeError('.GetManyUsersMessage:\x20object\x20expected');if(void 0x0===_0x55339e&&(_0x55339e=0x0),_0x55339e>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5a1318=new $root['GetManyUsersMessage']();if(object['ids']){if(!Array['isArray'](object['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x5a1318['ids']=[];for(var _0x5cf84a=0x0;_0x5cf84a<object['ids']['length'];++_0x5cf84a)_0x5a1318['ids'][_0x5cf84a]=String(object['ids'][_0x5cf84a]);}return _0x5a1318;},GetManyUsersMessage['toObject']=function(_0x109573,options,_0xd915de){if(options||(options={}),void 0x0===_0xd915de&&(_0xd915de=0x0),_0xd915de>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['ids']=[]),_0x109573['ids']&&_0x109573['ids']['length']){object['ids']=[];for(var _0x4f2995=0x0;_0x4f2995<_0x109573['ids']['length'];++_0x4f2995)object['ids'][_0x4f2995]=_0x109573['ids'][_0x4f2995];}return object;},GetManyUsersMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetManyUsersMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetManyUsersMessage';},GetManyUsersMessage;}()),$root['UserDescriptor']=(function(){function UserDescriptor(properties){if(this['attributes']=[],properties){for(var _0x449b04=Object['keys'](properties),_0x1df448=0x0;_0x1df448<_0x449b04['length'];++_0x1df448)null!=properties[_0x449b04[_0x1df448]]&&'__proto__'!==_0x449b04[_0x1df448]&&(this[_0x449b04[_0x1df448]]=properties[_0x449b04[_0x1df448]]);}}return UserDescriptor['prototype']['attributes']=$util['emptyArray'],UserDescriptor['create']=function(properties){return new UserDescriptor(properties);},UserDescriptor['encode']=function(_0x45f811,writer,_0x53c600){if(writer||(writer=$Writer['create']()),void 0x0===_0x53c600&&(_0x53c600=0x0),_0x53c600>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x45f811['attributes']&&_0x45f811['attributes']['length']){for(var _0x542245=0x0;_0x542245<_0x45f811['attributes']['length'];++_0x542245)$root['KeyValueDescriptor']['encode'](_0x45f811['attributes'][_0x542245],writer['uint32'](0xa)['fork'](),_0x53c600+0x1)['ldelim']();}return writer;},UserDescriptor['encodeDelimited']=function(_0x266c65,writer){return this['encode'](_0x266c65,writer)['ldelim']();},UserDescriptor['decode']=function(_0x1f8cdf,length,_0x4ca8e5,_0x500490){if(_0x1f8cdf instanceof _0x5a128a||(_0x1f8cdf=_0x5a128a['create'](_0x1f8cdf)),void 0x0===_0x500490&&(_0x500490=0x0),_0x500490>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x486820=void 0x0===length?_0x1f8cdf['len']:_0x1f8cdf['pos']+length,_0x36ec0c=new $root['UserDescriptor']();_0x1f8cdf['pos']<_0x486820;){var tag=_0x1f8cdf['uint32']();if(tag===_0x4ca8e5)break;if(tag>>>0x3==0x1)_0x36ec0c['attributes']&&_0x36ec0c['attributes']['length']||(_0x36ec0c['attributes']=[]),_0x36ec0c['attributes']['push']($root['KeyValueDescriptor']['decode'](_0x1f8cdf,_0x1f8cdf['uint32'](),void 0x0,_0x500490+0x1));else _0x1f8cdf['skipType'](0x7&tag,_0x500490);}return _0x36ec0c;},UserDescriptor['decodeDelimited']=function(_0x2a2bf1){return _0x2a2bf1 instanceof _0x5a128a||(_0x2a2bf1=new _0x5a128a(_0x2a2bf1)),this['decode'](_0x2a2bf1,_0x2a2bf1['uint32']());},UserDescriptor['verify']=function(_0x43c225,_0x3c385d){if('object'!=typeof _0x43c225||null===_0x43c225)return'object\x20expected';if(void 0x0===_0x3c385d&&(_0x3c385d=0x0),_0x3c385d>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x43c225['attributes']&&Object['hasOwnProperty']['call'](_0x43c225,'attributes')){if(!Array['isArray'](_0x43c225['attributes']))return'attributes:\x20array\x20expected';for(var _0x1282c7=0x0;_0x1282c7<_0x43c225['attributes']['length'];++_0x1282c7){var _0x4ff2db=$root['KeyValueDescriptor']['verify'](_0x43c225['attributes'][_0x1282c7],_0x3c385d+0x1);if(_0x4ff2db)return'attributes.'+_0x4ff2db;}}return null;},UserDescriptor['fromObject']=function(object,_0x3092ab){if(object instanceof $root['UserDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.UserDescriptor:\x20object\x20expected');if(void 0x0===_0x3092ab&&(_0x3092ab=0x0),_0x3092ab>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x12f3a3=new $root['UserDescriptor']();if(object['attributes']){if(!Array['isArray'](object['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x12f3a3['attributes']=[];for(var _0x32986b=0x0;_0x32986b<object['attributes']['length'];++_0x32986b){if(!$util['isObject'](object['attributes'][_0x32986b]))throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x12f3a3['attributes'][_0x32986b]=$root['KeyValueDescriptor']['fromObject'](object['attributes'][_0x32986b],_0x3092ab+0x1);}}return _0x12f3a3;},UserDescriptor['toObject']=function(_0xfe087,options,_0x52f549){if(options||(options={}),void 0x0===_0x52f549&&(_0x52f549=0x0),_0x52f549>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['attributes']=[]),_0xfe087['attributes']&&_0xfe087['attributes']['length']){object['attributes']=[];for(var _0x5ab464=0x0;_0x5ab464<_0xfe087['attributes']['length'];++_0x5ab464)object['attributes'][_0x5ab464]=$root['KeyValueDescriptor']['toObject'](_0xfe087['attributes'][_0x5ab464],options,_0x52f549+0x1);}return object;},UserDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},UserDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/UserDescriptor';},UserDescriptor;}()),$root['TrackChangesGetSuggestionResponse']=(function(){function TrackChangesGetSuggestionResponse(properties){if(properties){for(var _0x11b6e2=Object['keys'](properties),_0x53960a=0x0;_0x53960a<_0x11b6e2['length'];++_0x53960a)null!=properties[_0x11b6e2[_0x53960a]]&&'__proto__'!==_0x11b6e2[_0x53960a]&&(this[_0x11b6e2[_0x53960a]]=properties[_0x11b6e2[_0x53960a]]);}}return TrackChangesGetSuggestionResponse['prototype']['id']='',TrackChangesGetSuggestionResponse['prototype']['authorId']='',TrackChangesGetSuggestionResponse['prototype']['type']='',TrackChangesGetSuggestionResponse['prototype']['createdAt']='',TrackChangesGetSuggestionResponse['prototype']['data']='',TrackChangesGetSuggestionResponse['prototype']['hasComments']=!0x1,TrackChangesGetSuggestionResponse['prototype']['state']='',TrackChangesGetSuggestionResponse['prototype']['attributes']='',TrackChangesGetSuggestionResponse['create']=function(properties){return new TrackChangesGetSuggestionResponse(properties);},TrackChangesGetSuggestionResponse['encode']=function(_0x4d538c,writer,_0x57aa1d){if(writer||(writer=$Writer['create']()),void 0x0===_0x57aa1d&&(_0x57aa1d=0x0),_0x57aa1d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4d538c['id']&&Object['hasOwnProperty']['call'](_0x4d538c,'id')&&writer['uint32'](0xa)['string'](_0x4d538c['id']),null!=_0x4d538c['authorId']&&Object['hasOwnProperty']['call'](_0x4d538c,'authorId')&&writer['uint32'](0x12)['string'](_0x4d538c['authorId']),null!=_0x4d538c['type']&&Object['hasOwnProperty']['call'](_0x4d538c,'type')&&writer['uint32'](0x1a)['string'](_0x4d538c['type']),null!=_0x4d538c['createdAt']&&Object['hasOwnProperty']['call'](_0x4d538c,'createdAt')&&writer['uint32'](0x22)['string'](_0x4d538c['createdAt']),null!=_0x4d538c['data']&&Object['hasOwnProperty']['call'](_0x4d538c,'data')&&writer['uint32'](0x2a)['string'](_0x4d538c['data']),null!=_0x4d538c['hasComments']&&Object['hasOwnProperty']['call'](_0x4d538c,'hasComments')&&writer['uint32'](0x30)['bool'](_0x4d538c['hasComments']),null!=_0x4d538c['state']&&Object['hasOwnProperty']['call'](_0x4d538c,'state')&&writer['uint32'](0x3a)['string'](_0x4d538c['state']),null!=_0x4d538c['attributes']&&Object['hasOwnProperty']['call'](_0x4d538c,'attributes')&&writer['uint32'](0x42)['string'](_0x4d538c['attributes']),writer;},TrackChangesGetSuggestionResponse['encodeDelimited']=function(_0xd4da29,writer){return this['encode'](_0xd4da29,writer)['ldelim']();},TrackChangesGetSuggestionResponse['decode']=function(_0x530d21,length,_0x4cb767,_0x44eb4e){if(_0x530d21 instanceof _0x5a128a||(_0x530d21=_0x5a128a['create'](_0x530d21)),void 0x0===_0x44eb4e&&(_0x44eb4e=0x0),_0x44eb4e>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x231c92=void 0x0===length?_0x530d21['len']:_0x530d21['pos']+length,_0x15a054=new $root['TrackChangesGetSuggestionResponse']();_0x530d21['pos']<_0x231c92;){var tag=_0x530d21['uint32']();if(tag===_0x4cb767)break;switch(tag>>>0x3){case 0x1:_0x15a054['id']=_0x530d21['string']();break;case 0x2:_0x15a054['authorId']=_0x530d21['string']();break;case 0x3:_0x15a054['type']=_0x530d21['string']();break;case 0x4:_0x15a054['createdAt']=_0x530d21['string']();break;case 0x5:_0x15a054['data']=_0x530d21['string']();break;case 0x6:_0x15a054['hasComments']=_0x530d21['bool']();break;case 0x7:_0x15a054['state']=_0x530d21['string']();break;case 0x8:_0x15a054['attributes']=_0x530d21['string']();break;default:_0x530d21['skipType'](0x7&tag,_0x44eb4e);}}return _0x15a054;},TrackChangesGetSuggestionResponse['decodeDelimited']=function(_0x2bdc4b){return _0x2bdc4b instanceof _0x5a128a||(_0x2bdc4b=new _0x5a128a(_0x2bdc4b)),this['decode'](_0x2bdc4b,_0x2bdc4b['uint32']());},TrackChangesGetSuggestionResponse['verify']=function(_0x163f4a,_0x4bbac2){return'object'!=typeof _0x163f4a||null===_0x163f4a?'object\x20expected':(void 0x0===_0x4bbac2&&(_0x4bbac2=0x0),_0x4bbac2>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x163f4a['id']&&Object['hasOwnProperty']['call'](_0x163f4a,'id')&&!$util['isString'](_0x163f4a['id'])?'id:\x20string\x20expected':null!=_0x163f4a['authorId']&&Object['hasOwnProperty']['call'](_0x163f4a,'authorId')&&!$util['isString'](_0x163f4a['authorId'])?'authorId:\x20string\x20expected':null!=_0x163f4a['type']&&Object['hasOwnProperty']['call'](_0x163f4a,'type')&&!$util['isString'](_0x163f4a['type'])?'type:\x20string\x20expected':null!=_0x163f4a['createdAt']&&Object['hasOwnProperty']['call'](_0x163f4a,'createdAt')&&!$util['isString'](_0x163f4a['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x163f4a['data']&&Object['hasOwnProperty']['call'](_0x163f4a,'data')&&!$util['isString'](_0x163f4a['data'])?'data:\x20string\x20expected':null!=_0x163f4a['hasComments']&&Object['hasOwnProperty']['call'](_0x163f4a,'hasComments')&&'boolean'!=typeof _0x163f4a['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x163f4a['state']&&Object['hasOwnProperty']['call'](_0x163f4a,'state')&&!$util['isString'](_0x163f4a['state'])?'state:\x20string\x20expected':null!=_0x163f4a['attributes']&&Object['hasOwnProperty']['call'](_0x163f4a,'attributes')&&!$util['isString'](_0x163f4a['attributes'])?'attributes:\x20string\x20expected':null);},TrackChangesGetSuggestionResponse['fromObject']=function(object,_0x53be00){if(object instanceof $root['TrackChangesGetSuggestionResponse'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesGetSuggestionResponse:\x20object\x20expected');if(void 0x0===_0x53be00&&(_0x53be00=0x0),_0x53be00>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xbfa159=new $root['TrackChangesGetSuggestionResponse']();return null!=object['id']&&(_0xbfa159['id']=String(object['id'])),null!=object['authorId']&&(_0xbfa159['authorId']=String(object['authorId'])),null!=object['type']&&(_0xbfa159['type']=String(object['type'])),null!=object['createdAt']&&(_0xbfa159['createdAt']=String(object['createdAt'])),null!=object['data']&&(_0xbfa159['data']=String(object['data'])),null!=object['hasComments']&&(_0xbfa159['hasComments']=Boolean(object['hasComments'])),null!=object['state']&&(_0xbfa159['state']=String(object['state'])),null!=object['attributes']&&(_0xbfa159['attributes']=String(object['attributes'])),_0xbfa159;},TrackChangesGetSuggestionResponse['toObject']=function(_0x57ca45,options,_0x5c16d6){if(options||(options={}),void 0x0===_0x5c16d6&&(_0x5c16d6=0x0),_0x5c16d6>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['authorId']='',object['type']='',object['createdAt']='',object['data']='',object['hasComments']=!0x1,object['state']='',object['attributes']=''),null!=_0x57ca45['id']&&Object['hasOwnProperty']['call'](_0x57ca45,'id')&&(object['id']=_0x57ca45['id']),null!=_0x57ca45['authorId']&&Object['hasOwnProperty']['call'](_0x57ca45,'authorId')&&(object['authorId']=_0x57ca45['authorId']),null!=_0x57ca45['type']&&Object['hasOwnProperty']['call'](_0x57ca45,'type')&&(object['type']=_0x57ca45['type']),null!=_0x57ca45['createdAt']&&Object['hasOwnProperty']['call'](_0x57ca45,'createdAt')&&(object['createdAt']=_0x57ca45['createdAt']),null!=_0x57ca45['data']&&Object['hasOwnProperty']['call'](_0x57ca45,'data')&&(object['data']=_0x57ca45['data']),null!=_0x57ca45['hasComments']&&Object['hasOwnProperty']['call'](_0x57ca45,'hasComments')&&(object['hasComments']=_0x57ca45['hasComments']),null!=_0x57ca45['state']&&Object['hasOwnProperty']['call'](_0x57ca45,'state')&&(object['state']=_0x57ca45['state']),null!=_0x57ca45['attributes']&&Object['hasOwnProperty']['call'](_0x57ca45,'attributes')&&(object['attributes']=_0x57ca45['attributes']),object;},TrackChangesGetSuggestionResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesGetSuggestionResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesGetSuggestionResponse';},TrackChangesGetSuggestionResponse;}()),$root['TrackChangesGetAllSuggestionsResponse']=(function(){function TrackChangesGetAllSuggestionsResponse(properties){if(this['suggestions']=[],this['suggestionsV2']=[],properties){for(var _0x35c97e=Object['keys'](properties),_0x3f0e2b=0x0;_0x3f0e2b<_0x35c97e['length'];++_0x3f0e2b)null!=properties[_0x35c97e[_0x3f0e2b]]&&'__proto__'!==_0x35c97e[_0x3f0e2b]&&(this[_0x35c97e[_0x3f0e2b]]=properties[_0x35c97e[_0x3f0e2b]]);}}return TrackChangesGetAllSuggestionsResponse['prototype']['suggestions']=$util['emptyArray'],TrackChangesGetAllSuggestionsResponse['prototype']['suggestionsV2']=$util['emptyArray'],TrackChangesGetAllSuggestionsResponse['create']=function(properties){return new TrackChangesGetAllSuggestionsResponse(properties);},TrackChangesGetAllSuggestionsResponse['encode']=function(_0x122fcc,writer,_0x2c1a76){if(writer||(writer=$Writer['create']()),void 0x0===_0x2c1a76&&(_0x2c1a76=0x0),_0x2c1a76>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x122fcc['suggestions']&&_0x122fcc['suggestions']['length']){for(var _0x45a873=0x0;_0x45a873<_0x122fcc['suggestions']['length'];++_0x45a873)writer['uint32'](0xa)['string'](_0x122fcc['suggestions'][_0x45a873]);}if(null!=_0x122fcc['suggestionsV2']&&_0x122fcc['suggestionsV2']['length']){for(_0x45a873=0x0;_0x45a873<_0x122fcc['suggestionsV2']['length'];++_0x45a873)$root['SuggestionDescriptor']['encode'](_0x122fcc['suggestionsV2'][_0x45a873],writer['uint32'](0x12)['fork'](),_0x2c1a76+0x1)['ldelim']();}return writer;},TrackChangesGetAllSuggestionsResponse['encodeDelimited']=function(_0x4eb9dd,writer){return this['encode'](_0x4eb9dd,writer)['ldelim']();},TrackChangesGetAllSuggestionsResponse['decode']=function(_0x552a21,length,_0x36974c,_0x564938){if(_0x552a21 instanceof _0x5a128a||(_0x552a21=_0x5a128a['create'](_0x552a21)),void 0x0===_0x564938&&(_0x564938=0x0),_0x564938>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x23ec9c=void 0x0===length?_0x552a21['len']:_0x552a21['pos']+length,_0x28ad2e=new $root['TrackChangesGetAllSuggestionsResponse']();_0x552a21['pos']<_0x23ec9c;){var tag=_0x552a21['uint32']();if(tag===_0x36974c)break;switch(tag>>>0x3){case 0x1:_0x28ad2e['suggestions']&&_0x28ad2e['suggestions']['length']||(_0x28ad2e['suggestions']=[]),_0x28ad2e['suggestions']['push'](_0x552a21['string']());break;case 0x2:_0x28ad2e['suggestionsV2']&&_0x28ad2e['suggestionsV2']['length']||(_0x28ad2e['suggestionsV2']=[]),_0x28ad2e['suggestionsV2']['push']($root['SuggestionDescriptor']['decode'](_0x552a21,_0x552a21['uint32'](),void 0x0,_0x564938+0x1));break;default:_0x552a21['skipType'](0x7&tag,_0x564938);}}return _0x28ad2e;},TrackChangesGetAllSuggestionsResponse['decodeDelimited']=function(_0x2d1eda){return _0x2d1eda instanceof _0x5a128a||(_0x2d1eda=new _0x5a128a(_0x2d1eda)),this['decode'](_0x2d1eda,_0x2d1eda['uint32']());},TrackChangesGetAllSuggestionsResponse['verify']=function(_0x37259a,_0x245a20){if('object'!=typeof _0x37259a||null===_0x37259a)return'object\x20expected';if(void 0x0===_0x245a20&&(_0x245a20=0x0),_0x245a20>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x37259a['suggestions']&&Object['hasOwnProperty']['call'](_0x37259a,'suggestions')){if(!Array['isArray'](_0x37259a['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x5abd36=0x0;_0x5abd36<_0x37259a['suggestions']['length'];++_0x5abd36)if(!$util['isString'](_0x37259a['suggestions'][_0x5abd36]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x37259a['suggestionsV2']&&Object['hasOwnProperty']['call'](_0x37259a,'suggestionsV2')){if(!Array['isArray'](_0x37259a['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x5abd36=0x0;_0x5abd36<_0x37259a['suggestionsV2']['length'];++_0x5abd36){var _0x156a93=$root['SuggestionDescriptor']['verify'](_0x37259a['suggestionsV2'][_0x5abd36],_0x245a20+0x1);if(_0x156a93)return'suggestionsV2.'+_0x156a93;}}return null;},TrackChangesGetAllSuggestionsResponse['fromObject']=function(object,_0x9d2e96){if(object instanceof $root['TrackChangesGetAllSuggestionsResponse'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesGetAllSuggestionsResponse:\x20object\x20expected');if(void 0x0===_0x9d2e96&&(_0x9d2e96=0x0),_0x9d2e96>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x228ed5=new $root['TrackChangesGetAllSuggestionsResponse']();if(object['suggestions']){if(!Array['isArray'](object['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x228ed5['suggestions']=[];for(var _0x4a0bee=0x0;_0x4a0bee<object['suggestions']['length'];++_0x4a0bee)_0x228ed5['suggestions'][_0x4a0bee]=String(object['suggestions'][_0x4a0bee]);}if(object['suggestionsV2']){if(!Array['isArray'](object['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');_0x228ed5['suggestionsV2']=[];for(_0x4a0bee=0x0;_0x4a0bee<object['suggestionsV2']['length'];++_0x4a0bee){if(!$util['isObject'](object['suggestionsV2'][_0x4a0bee]))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x228ed5['suggestionsV2'][_0x4a0bee]=$root['SuggestionDescriptor']['fromObject'](object['suggestionsV2'][_0x4a0bee],_0x9d2e96+0x1);}}return _0x228ed5;},TrackChangesGetAllSuggestionsResponse['toObject']=function(_0x2934b1,options,_0x5de641){if(options||(options={}),void 0x0===_0x5de641&&(_0x5de641=0x0),_0x5de641>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['suggestions']=[],object['suggestionsV2']=[]),_0x2934b1['suggestions']&&_0x2934b1['suggestions']['length']){object['suggestions']=[];for(var _0x8ec50e=0x0;_0x8ec50e<_0x2934b1['suggestions']['length'];++_0x8ec50e)object['suggestions'][_0x8ec50e]=_0x2934b1['suggestions'][_0x8ec50e];}if(_0x2934b1['suggestionsV2']&&_0x2934b1['suggestionsV2']['length']){object['suggestionsV2']=[];for(_0x8ec50e=0x0;_0x8ec50e<_0x2934b1['suggestionsV2']['length'];++_0x8ec50e)object['suggestionsV2'][_0x8ec50e]=$root['SuggestionDescriptor']['toObject'](_0x2934b1['suggestionsV2'][_0x8ec50e],options,_0x5de641+0x1);}return object;},TrackChangesGetAllSuggestionsResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesGetAllSuggestionsResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesGetAllSuggestionsResponse';},TrackChangesGetAllSuggestionsResponse;}()),$root['TrackChangesConnectResponse']=(function(){function TrackChangesConnectResponse(properties){if(this['suggestions']=[],this['suggestionsV2']=[],properties){for(var _0x5549f5=Object['keys'](properties),_0x5c9bcf=0x0;_0x5c9bcf<_0x5549f5['length'];++_0x5c9bcf)null!=properties[_0x5549f5[_0x5c9bcf]]&&'__proto__'!==_0x5549f5[_0x5c9bcf]&&(this[_0x5549f5[_0x5c9bcf]]=properties[_0x5549f5[_0x5c9bcf]]);}}return TrackChangesConnectResponse['prototype']['channel']='',TrackChangesConnectResponse['prototype']['suggestions']=$util['emptyArray'],TrackChangesConnectResponse['prototype']['suggestionsV2']=$util['emptyArray'],TrackChangesConnectResponse['create']=function(properties){return new TrackChangesConnectResponse(properties);},TrackChangesConnectResponse['encode']=function(_0x1189a6,writer,_0x3ae281){if(writer||(writer=$Writer['create']()),void 0x0===_0x3ae281&&(_0x3ae281=0x0),_0x3ae281>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x1189a6['channel']&&Object['hasOwnProperty']['call'](_0x1189a6,'channel')&&writer['uint32'](0xa)['string'](_0x1189a6['channel']),null!=_0x1189a6['suggestions']&&_0x1189a6['suggestions']['length']){for(var _0x3eccd5=0x0;_0x3eccd5<_0x1189a6['suggestions']['length'];++_0x3eccd5)writer['uint32'](0x12)['string'](_0x1189a6['suggestions'][_0x3eccd5]);}if(null!=_0x1189a6['suggestionsV2']&&_0x1189a6['suggestionsV2']['length']){for(_0x3eccd5=0x0;_0x3eccd5<_0x1189a6['suggestionsV2']['length'];++_0x3eccd5)$root['SuggestionDescriptor']['encode'](_0x1189a6['suggestionsV2'][_0x3eccd5],writer['uint32'](0x1a)['fork'](),_0x3ae281+0x1)['ldelim']();}return writer;},TrackChangesConnectResponse['encodeDelimited']=function(_0x48e30b,writer){return this['encode'](_0x48e30b,writer)['ldelim']();},TrackChangesConnectResponse['decode']=function(_0x432caf,length,_0x424700,_0x5cfa81){if(_0x432caf instanceof _0x5a128a||(_0x432caf=_0x5a128a['create'](_0x432caf)),void 0x0===_0x5cfa81&&(_0x5cfa81=0x0),_0x5cfa81>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x408a48=void 0x0===length?_0x432caf['len']:_0x432caf['pos']+length,_0x454e2f=new $root['TrackChangesConnectResponse']();_0x432caf['pos']<_0x408a48;){var tag=_0x432caf['uint32']();if(tag===_0x424700)break;switch(tag>>>0x3){case 0x1:_0x454e2f['channel']=_0x432caf['string']();break;case 0x2:_0x454e2f['suggestions']&&_0x454e2f['suggestions']['length']||(_0x454e2f['suggestions']=[]),_0x454e2f['suggestions']['push'](_0x432caf['string']());break;case 0x3:_0x454e2f['suggestionsV2']&&_0x454e2f['suggestionsV2']['length']||(_0x454e2f['suggestionsV2']=[]),_0x454e2f['suggestionsV2']['push']($root['SuggestionDescriptor']['decode'](_0x432caf,_0x432caf['uint32'](),void 0x0,_0x5cfa81+0x1));break;default:_0x432caf['skipType'](0x7&tag,_0x5cfa81);}}return _0x454e2f;},TrackChangesConnectResponse['decodeDelimited']=function(_0x40c06e){return _0x40c06e instanceof _0x5a128a||(_0x40c06e=new _0x5a128a(_0x40c06e)),this['decode'](_0x40c06e,_0x40c06e['uint32']());},TrackChangesConnectResponse['verify']=function(_0x110965,_0x16d2c1){if('object'!=typeof _0x110965||null===_0x110965)return'object\x20expected';if(void 0x0===_0x16d2c1&&(_0x16d2c1=0x0),_0x16d2c1>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x110965['channel']&&Object['hasOwnProperty']['call'](_0x110965,'channel')&&!$util['isString'](_0x110965['channel']))return'channel:\x20string\x20expected';if(null!=_0x110965['suggestions']&&Object['hasOwnProperty']['call'](_0x110965,'suggestions')){if(!Array['isArray'](_0x110965['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x4b7073=0x0;_0x4b7073<_0x110965['suggestions']['length'];++_0x4b7073)if(!$util['isString'](_0x110965['suggestions'][_0x4b7073]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x110965['suggestionsV2']&&Object['hasOwnProperty']['call'](_0x110965,'suggestionsV2')){if(!Array['isArray'](_0x110965['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x4b7073=0x0;_0x4b7073<_0x110965['suggestionsV2']['length'];++_0x4b7073){var _0x49710a=$root['SuggestionDescriptor']['verify'](_0x110965['suggestionsV2'][_0x4b7073],_0x16d2c1+0x1);if(_0x49710a)return'suggestionsV2.'+_0x49710a;}}return null;},TrackChangesConnectResponse['fromObject']=function(object,_0x320dfa){if(object instanceof $root['TrackChangesConnectResponse'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesConnectResponse:\x20object\x20expected');if(void 0x0===_0x320dfa&&(_0x320dfa=0x0),_0x320dfa>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2d6b11=new $root['TrackChangesConnectResponse']();if(null!=object['channel']&&(_0x2d6b11['channel']=String(object['channel'])),object['suggestions']){if(!Array['isArray'](object['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x2d6b11['suggestions']=[];for(var _0x545644=0x0;_0x545644<object['suggestions']['length'];++_0x545644)_0x2d6b11['suggestions'][_0x545644]=String(object['suggestions'][_0x545644]);}if(object['suggestionsV2']){if(!Array['isArray'](object['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');_0x2d6b11['suggestionsV2']=[];for(_0x545644=0x0;_0x545644<object['suggestionsV2']['length'];++_0x545644){if(!$util['isObject'](object['suggestionsV2'][_0x545644]))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x2d6b11['suggestionsV2'][_0x545644]=$root['SuggestionDescriptor']['fromObject'](object['suggestionsV2'][_0x545644],_0x320dfa+0x1);}}return _0x2d6b11;},TrackChangesConnectResponse['toObject']=function(_0x454842,options,_0x17ef4a){if(options||(options={}),void 0x0===_0x17ef4a&&(_0x17ef4a=0x0),_0x17ef4a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['suggestions']=[],object['suggestionsV2']=[]),options['defaults']&&(object['channel']=''),null!=_0x454842['channel']&&Object['hasOwnProperty']['call'](_0x454842,'channel')&&(object['channel']=_0x454842['channel']),_0x454842['suggestions']&&_0x454842['suggestions']['length']){object['suggestions']=[];for(var _0x33c589=0x0;_0x33c589<_0x454842['suggestions']['length'];++_0x33c589)object['suggestions'][_0x33c589]=_0x454842['suggestions'][_0x33c589];}if(_0x454842['suggestionsV2']&&_0x454842['suggestionsV2']['length']){object['suggestionsV2']=[];for(_0x33c589=0x0;_0x33c589<_0x454842['suggestionsV2']['length'];++_0x33c589)object['suggestionsV2'][_0x33c589]=$root['SuggestionDescriptor']['toObject'](_0x454842['suggestionsV2'][_0x33c589],options,_0x17ef4a+0x1);}return object;},TrackChangesConnectResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesConnectResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesConnectResponse';},TrackChangesConnectResponse;}()),$root['TrackChangesAddSuggestionResponse']=(function(){function TrackChangesAddSuggestionResponse(properties){if(properties){for(var _0x465e08=Object['keys'](properties),_0x39d33c=0x0;_0x39d33c<_0x465e08['length'];++_0x39d33c)null!=properties[_0x465e08[_0x39d33c]]&&'__proto__'!==_0x465e08[_0x39d33c]&&(this[_0x465e08[_0x39d33c]]=properties[_0x465e08[_0x39d33c]]);}}return TrackChangesAddSuggestionResponse['prototype']['id']='',TrackChangesAddSuggestionResponse['prototype']['authorId']='',TrackChangesAddSuggestionResponse['prototype']['type']='',TrackChangesAddSuggestionResponse['prototype']['createdAt']='',TrackChangesAddSuggestionResponse['prototype']['data']='',TrackChangesAddSuggestionResponse['prototype']['hasComments']=!0x1,TrackChangesAddSuggestionResponse['prototype']['state']='',TrackChangesAddSuggestionResponse['prototype']['attributes']='',TrackChangesAddSuggestionResponse['create']=function(properties){return new TrackChangesAddSuggestionResponse(properties);},TrackChangesAddSuggestionResponse['encode']=function(_0x174a7a,writer,_0x454187){if(writer||(writer=$Writer['create']()),void 0x0===_0x454187&&(_0x454187=0x0),_0x454187>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x174a7a['id']&&Object['hasOwnProperty']['call'](_0x174a7a,'id')&&writer['uint32'](0xa)['string'](_0x174a7a['id']),null!=_0x174a7a['authorId']&&Object['hasOwnProperty']['call'](_0x174a7a,'authorId')&&writer['uint32'](0x12)['string'](_0x174a7a['authorId']),null!=_0x174a7a['type']&&Object['hasOwnProperty']['call'](_0x174a7a,'type')&&writer['uint32'](0x1a)['string'](_0x174a7a['type']),null!=_0x174a7a['createdAt']&&Object['hasOwnProperty']['call'](_0x174a7a,'createdAt')&&writer['uint32'](0x22)['string'](_0x174a7a['createdAt']),null!=_0x174a7a['data']&&Object['hasOwnProperty']['call'](_0x174a7a,'data')&&writer['uint32'](0x2a)['string'](_0x174a7a['data']),null!=_0x174a7a['hasComments']&&Object['hasOwnProperty']['call'](_0x174a7a,'hasComments')&&writer['uint32'](0x30)['bool'](_0x174a7a['hasComments']),null!=_0x174a7a['state']&&Object['hasOwnProperty']['call'](_0x174a7a,'state')&&writer['uint32'](0x3a)['string'](_0x174a7a['state']),null!=_0x174a7a['attributes']&&Object['hasOwnProperty']['call'](_0x174a7a,'attributes')&&writer['uint32'](0x42)['string'](_0x174a7a['attributes']),writer;},TrackChangesAddSuggestionResponse['encodeDelimited']=function(_0x532548,writer){return this['encode'](_0x532548,writer)['ldelim']();},TrackChangesAddSuggestionResponse['decode']=function(_0x4ac07d,length,_0x32069c,_0x2f615d){if(_0x4ac07d instanceof _0x5a128a||(_0x4ac07d=_0x5a128a['create'](_0x4ac07d)),void 0x0===_0x2f615d&&(_0x2f615d=0x0),_0x2f615d>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x158196=void 0x0===length?_0x4ac07d['len']:_0x4ac07d['pos']+length,_0x15de8f=new $root['TrackChangesAddSuggestionResponse']();_0x4ac07d['pos']<_0x158196;){var tag=_0x4ac07d['uint32']();if(tag===_0x32069c)break;switch(tag>>>0x3){case 0x1:_0x15de8f['id']=_0x4ac07d['string']();break;case 0x2:_0x15de8f['authorId']=_0x4ac07d['string']();break;case 0x3:_0x15de8f['type']=_0x4ac07d['string']();break;case 0x4:_0x15de8f['createdAt']=_0x4ac07d['string']();break;case 0x5:_0x15de8f['data']=_0x4ac07d['string']();break;case 0x6:_0x15de8f['hasComments']=_0x4ac07d['bool']();break;case 0x7:_0x15de8f['state']=_0x4ac07d['string']();break;case 0x8:_0x15de8f['attributes']=_0x4ac07d['string']();break;default:_0x4ac07d['skipType'](0x7&tag,_0x2f615d);}}return _0x15de8f;},TrackChangesAddSuggestionResponse['decodeDelimited']=function(_0x2b13f1){return _0x2b13f1 instanceof _0x5a128a||(_0x2b13f1=new _0x5a128a(_0x2b13f1)),this['decode'](_0x2b13f1,_0x2b13f1['uint32']());},TrackChangesAddSuggestionResponse['verify']=function(_0x57b571,_0x14dc0b){return'object'!=typeof _0x57b571||null===_0x57b571?'object\x20expected':(void 0x0===_0x14dc0b&&(_0x14dc0b=0x0),_0x14dc0b>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x57b571['id']&&Object['hasOwnProperty']['call'](_0x57b571,'id')&&!$util['isString'](_0x57b571['id'])?'id:\x20string\x20expected':null!=_0x57b571['authorId']&&Object['hasOwnProperty']['call'](_0x57b571,'authorId')&&!$util['isString'](_0x57b571['authorId'])?'authorId:\x20string\x20expected':null!=_0x57b571['type']&&Object['hasOwnProperty']['call'](_0x57b571,'type')&&!$util['isString'](_0x57b571['type'])?'type:\x20string\x20expected':null!=_0x57b571['createdAt']&&Object['hasOwnProperty']['call'](_0x57b571,'createdAt')&&!$util['isString'](_0x57b571['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x57b571['data']&&Object['hasOwnProperty']['call'](_0x57b571,'data')&&!$util['isString'](_0x57b571['data'])?'data:\x20string\x20expected':null!=_0x57b571['hasComments']&&Object['hasOwnProperty']['call'](_0x57b571,'hasComments')&&'boolean'!=typeof _0x57b571['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x57b571['state']&&Object['hasOwnProperty']['call'](_0x57b571,'state')&&!$util['isString'](_0x57b571['state'])?'state:\x20string\x20expected':null!=_0x57b571['attributes']&&Object['hasOwnProperty']['call'](_0x57b571,'attributes')&&!$util['isString'](_0x57b571['attributes'])?'attributes:\x20string\x20expected':null);},TrackChangesAddSuggestionResponse['fromObject']=function(object,_0x537a7c){if(object instanceof $root['TrackChangesAddSuggestionResponse'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesAddSuggestionResponse:\x20object\x20expected');if(void 0x0===_0x537a7c&&(_0x537a7c=0x0),_0x537a7c>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xd71199=new $root['TrackChangesAddSuggestionResponse']();return null!=object['id']&&(_0xd71199['id']=String(object['id'])),null!=object['authorId']&&(_0xd71199['authorId']=String(object['authorId'])),null!=object['type']&&(_0xd71199['type']=String(object['type'])),null!=object['createdAt']&&(_0xd71199['createdAt']=String(object['createdAt'])),null!=object['data']&&(_0xd71199['data']=String(object['data'])),null!=object['hasComments']&&(_0xd71199['hasComments']=Boolean(object['hasComments'])),null!=object['state']&&(_0xd71199['state']=String(object['state'])),null!=object['attributes']&&(_0xd71199['attributes']=String(object['attributes'])),_0xd71199;},TrackChangesAddSuggestionResponse['toObject']=function(_0x840b94,options,_0x317aa0){if(options||(options={}),void 0x0===_0x317aa0&&(_0x317aa0=0x0),_0x317aa0>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['authorId']='',object['type']='',object['createdAt']='',object['data']='',object['hasComments']=!0x1,object['state']='',object['attributes']=''),null!=_0x840b94['id']&&Object['hasOwnProperty']['call'](_0x840b94,'id')&&(object['id']=_0x840b94['id']),null!=_0x840b94['authorId']&&Object['hasOwnProperty']['call'](_0x840b94,'authorId')&&(object['authorId']=_0x840b94['authorId']),null!=_0x840b94['type']&&Object['hasOwnProperty']['call'](_0x840b94,'type')&&(object['type']=_0x840b94['type']),null!=_0x840b94['createdAt']&&Object['hasOwnProperty']['call'](_0x840b94,'createdAt')&&(object['createdAt']=_0x840b94['createdAt']),null!=_0x840b94['data']&&Object['hasOwnProperty']['call'](_0x840b94,'data')&&(object['data']=_0x840b94['data']),null!=_0x840b94['hasComments']&&Object['hasOwnProperty']['call'](_0x840b94,'hasComments')&&(object['hasComments']=_0x840b94['hasComments']),null!=_0x840b94['state']&&Object['hasOwnProperty']['call'](_0x840b94,'state')&&(object['state']=_0x840b94['state']),null!=_0x840b94['attributes']&&Object['hasOwnProperty']['call'](_0x840b94,'attributes')&&(object['attributes']=_0x840b94['attributes']),object;},TrackChangesAddSuggestionResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesAddSuggestionResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesAddSuggestionResponse';},TrackChangesAddSuggestionResponse;}()),$root['TrackChangesUpdateSuggestionMessage']=(function(){function TrackChangesUpdateSuggestionMessage(properties){if(properties){for(var _0x5d622b=Object['keys'](properties),_0x3157c5=0x0;_0x3157c5<_0x5d622b['length'];++_0x3157c5)null!=properties[_0x5d622b[_0x3157c5]]&&'__proto__'!==_0x5d622b[_0x3157c5]&&(this[_0x5d622b[_0x3157c5]]=properties[_0x5d622b[_0x3157c5]]);}}return TrackChangesUpdateSuggestionMessage['prototype']['id']='',TrackChangesUpdateSuggestionMessage['prototype']['documentId']='',TrackChangesUpdateSuggestionMessage['prototype']['hasComments']=!0x1,TrackChangesUpdateSuggestionMessage['prototype']['isHasCommentsModified']=!0x1,TrackChangesUpdateSuggestionMessage['prototype']['state']='',TrackChangesUpdateSuggestionMessage['prototype']['attributes']='',TrackChangesUpdateSuggestionMessage['create']=function(properties){return new TrackChangesUpdateSuggestionMessage(properties);},TrackChangesUpdateSuggestionMessage['encode']=function(_0x33eda0,writer,_0xe0741b){if(writer||(writer=$Writer['create']()),void 0x0===_0xe0741b&&(_0xe0741b=0x0),_0xe0741b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x33eda0['id']&&Object['hasOwnProperty']['call'](_0x33eda0,'id')&&writer['uint32'](0xa)['string'](_0x33eda0['id']),null!=_0x33eda0['documentId']&&Object['hasOwnProperty']['call'](_0x33eda0,'documentId')&&writer['uint32'](0x12)['string'](_0x33eda0['documentId']),null!=_0x33eda0['hasComments']&&Object['hasOwnProperty']['call'](_0x33eda0,'hasComments')&&writer['uint32'](0x18)['bool'](_0x33eda0['hasComments']),null!=_0x33eda0['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x33eda0,'isHasCommentsModified')&&writer['uint32'](0x20)['bool'](_0x33eda0['isHasCommentsModified']),null!=_0x33eda0['state']&&Object['hasOwnProperty']['call'](_0x33eda0,'state')&&writer['uint32'](0x2a)['string'](_0x33eda0['state']),null!=_0x33eda0['attributes']&&Object['hasOwnProperty']['call'](_0x33eda0,'attributes')&&writer['uint32'](0x32)['string'](_0x33eda0['attributes']),writer;},TrackChangesUpdateSuggestionMessage['encodeDelimited']=function(_0xb31a58,writer){return this['encode'](_0xb31a58,writer)['ldelim']();},TrackChangesUpdateSuggestionMessage['decode']=function(_0x3e3e4b,length,_0x3aa606,_0x221024){if(_0x3e3e4b instanceof _0x5a128a||(_0x3e3e4b=_0x5a128a['create'](_0x3e3e4b)),void 0x0===_0x221024&&(_0x221024=0x0),_0x221024>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x8bbd74=void 0x0===length?_0x3e3e4b['len']:_0x3e3e4b['pos']+length,_0x2a247d=new $root['TrackChangesUpdateSuggestionMessage']();_0x3e3e4b['pos']<_0x8bbd74;){var tag=_0x3e3e4b['uint32']();if(tag===_0x3aa606)break;switch(tag>>>0x3){case 0x1:_0x2a247d['id']=_0x3e3e4b['string']();break;case 0x2:_0x2a247d['documentId']=_0x3e3e4b['string']();break;case 0x3:_0x2a247d['hasComments']=_0x3e3e4b['bool']();break;case 0x4:_0x2a247d['isHasCommentsModified']=_0x3e3e4b['bool']();break;case 0x5:_0x2a247d['state']=_0x3e3e4b['string']();break;case 0x6:_0x2a247d['attributes']=_0x3e3e4b['string']();break;default:_0x3e3e4b['skipType'](0x7&tag,_0x221024);}}return _0x2a247d;},TrackChangesUpdateSuggestionMessage['decodeDelimited']=function(_0x1492bb){return _0x1492bb instanceof _0x5a128a||(_0x1492bb=new _0x5a128a(_0x1492bb)),this['decode'](_0x1492bb,_0x1492bb['uint32']());},TrackChangesUpdateSuggestionMessage['verify']=function(_0x4ce5bb,_0x330c98){return'object'!=typeof _0x4ce5bb||null===_0x4ce5bb?'object\x20expected':(void 0x0===_0x330c98&&(_0x330c98=0x0),_0x330c98>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4ce5bb['id']&&Object['hasOwnProperty']['call'](_0x4ce5bb,'id')&&!$util['isString'](_0x4ce5bb['id'])?'id:\x20string\x20expected':null!=_0x4ce5bb['documentId']&&Object['hasOwnProperty']['call'](_0x4ce5bb,'documentId')&&!$util['isString'](_0x4ce5bb['documentId'])?'documentId:\x20string\x20expected':null!=_0x4ce5bb['hasComments']&&Object['hasOwnProperty']['call'](_0x4ce5bb,'hasComments')&&'boolean'!=typeof _0x4ce5bb['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x4ce5bb['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x4ce5bb,'isHasCommentsModified')&&'boolean'!=typeof _0x4ce5bb['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x4ce5bb['state']&&Object['hasOwnProperty']['call'](_0x4ce5bb,'state')&&!$util['isString'](_0x4ce5bb['state'])?'state:\x20string\x20expected':null!=_0x4ce5bb['attributes']&&Object['hasOwnProperty']['call'](_0x4ce5bb,'attributes')&&!$util['isString'](_0x4ce5bb['attributes'])?'attributes:\x20string\x20expected':null);},TrackChangesUpdateSuggestionMessage['fromObject']=function(object,_0x19cfa8){if(object instanceof $root['TrackChangesUpdateSuggestionMessage'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesUpdateSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x19cfa8&&(_0x19cfa8=0x0),_0x19cfa8>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3f50dd=new $root['TrackChangesUpdateSuggestionMessage']();return null!=object['id']&&(_0x3f50dd['id']=String(object['id'])),null!=object['documentId']&&(_0x3f50dd['documentId']=String(object['documentId'])),null!=object['hasComments']&&(_0x3f50dd['hasComments']=Boolean(object['hasComments'])),null!=object['isHasCommentsModified']&&(_0x3f50dd['isHasCommentsModified']=Boolean(object['isHasCommentsModified'])),null!=object['state']&&(_0x3f50dd['state']=String(object['state'])),null!=object['attributes']&&(_0x3f50dd['attributes']=String(object['attributes'])),_0x3f50dd;},TrackChangesUpdateSuggestionMessage['toObject']=function(_0x2b4859,options,_0x1c9ee0){if(options||(options={}),void 0x0===_0x1c9ee0&&(_0x1c9ee0=0x0),_0x1c9ee0>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['documentId']='',object['hasComments']=!0x1,object['isHasCommentsModified']=!0x1,object['state']='',object['attributes']=''),null!=_0x2b4859['id']&&Object['hasOwnProperty']['call'](_0x2b4859,'id')&&(object['id']=_0x2b4859['id']),null!=_0x2b4859['documentId']&&Object['hasOwnProperty']['call'](_0x2b4859,'documentId')&&(object['documentId']=_0x2b4859['documentId']),null!=_0x2b4859['hasComments']&&Object['hasOwnProperty']['call'](_0x2b4859,'hasComments')&&(object['hasComments']=_0x2b4859['hasComments']),null!=_0x2b4859['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x2b4859,'isHasCommentsModified')&&(object['isHasCommentsModified']=_0x2b4859['isHasCommentsModified']),null!=_0x2b4859['state']&&Object['hasOwnProperty']['call'](_0x2b4859,'state')&&(object['state']=_0x2b4859['state']),null!=_0x2b4859['attributes']&&Object['hasOwnProperty']['call'](_0x2b4859,'attributes')&&(object['attributes']=_0x2b4859['attributes']),object;},TrackChangesUpdateSuggestionMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesUpdateSuggestionMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesUpdateSuggestionMessage';},TrackChangesUpdateSuggestionMessage;}()),$root['TrackChangesGetSuggestionMessage']=(function(){function TrackChangesGetSuggestionMessage(properties){if(properties){for(var _0x15f8f7=Object['keys'](properties),_0x11717d=0x0;_0x11717d<_0x15f8f7['length'];++_0x11717d)null!=properties[_0x15f8f7[_0x11717d]]&&'__proto__'!==_0x15f8f7[_0x11717d]&&(this[_0x15f8f7[_0x11717d]]=properties[_0x15f8f7[_0x11717d]]);}}return TrackChangesGetSuggestionMessage['prototype']['id']='',TrackChangesGetSuggestionMessage['prototype']['documentId']='',TrackChangesGetSuggestionMessage['create']=function(properties){return new TrackChangesGetSuggestionMessage(properties);},TrackChangesGetSuggestionMessage['encode']=function(_0xf96357,writer,_0x5089a6){if(writer||(writer=$Writer['create']()),void 0x0===_0x5089a6&&(_0x5089a6=0x0),_0x5089a6>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0xf96357['id']&&Object['hasOwnProperty']['call'](_0xf96357,'id')&&writer['uint32'](0xa)['string'](_0xf96357['id']),null!=_0xf96357['documentId']&&Object['hasOwnProperty']['call'](_0xf96357,'documentId')&&writer['uint32'](0x12)['string'](_0xf96357['documentId']),writer;},TrackChangesGetSuggestionMessage['encodeDelimited']=function(_0x220953,writer){return this['encode'](_0x220953,writer)['ldelim']();},TrackChangesGetSuggestionMessage['decode']=function(_0x33b915,length,_0x997002,_0x12ca00){if(_0x33b915 instanceof _0x5a128a||(_0x33b915=_0x5a128a['create'](_0x33b915)),void 0x0===_0x12ca00&&(_0x12ca00=0x0),_0x12ca00>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x51f476=void 0x0===length?_0x33b915['len']:_0x33b915['pos']+length,_0x4ae588=new $root['TrackChangesGetSuggestionMessage']();_0x33b915['pos']<_0x51f476;){var tag=_0x33b915['uint32']();if(tag===_0x997002)break;switch(tag>>>0x3){case 0x1:_0x4ae588['id']=_0x33b915['string']();break;case 0x2:_0x4ae588['documentId']=_0x33b915['string']();break;default:_0x33b915['skipType'](0x7&tag,_0x12ca00);}}return _0x4ae588;},TrackChangesGetSuggestionMessage['decodeDelimited']=function(_0x3f629a){return _0x3f629a instanceof _0x5a128a||(_0x3f629a=new _0x5a128a(_0x3f629a)),this['decode'](_0x3f629a,_0x3f629a['uint32']());},TrackChangesGetSuggestionMessage['verify']=function(_0x23a555,_0x48bb98){return'object'!=typeof _0x23a555||null===_0x23a555?'object\x20expected':(void 0x0===_0x48bb98&&(_0x48bb98=0x0),_0x48bb98>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x23a555['id']&&Object['hasOwnProperty']['call'](_0x23a555,'id')&&!$util['isString'](_0x23a555['id'])?'id:\x20string\x20expected':null!=_0x23a555['documentId']&&Object['hasOwnProperty']['call'](_0x23a555,'documentId')&&!$util['isString'](_0x23a555['documentId'])?'documentId:\x20string\x20expected':null);},TrackChangesGetSuggestionMessage['fromObject']=function(object,_0x8d8633){if(object instanceof $root['TrackChangesGetSuggestionMessage'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesGetSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x8d8633&&(_0x8d8633=0x0),_0x8d8633>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5da57b=new $root['TrackChangesGetSuggestionMessage']();return null!=object['id']&&(_0x5da57b['id']=String(object['id'])),null!=object['documentId']&&(_0x5da57b['documentId']=String(object['documentId'])),_0x5da57b;},TrackChangesGetSuggestionMessage['toObject']=function(_0x331302,options,_0x45a9ad){if(options||(options={}),void 0x0===_0x45a9ad&&(_0x45a9ad=0x0),_0x45a9ad>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['documentId']=''),null!=_0x331302['id']&&Object['hasOwnProperty']['call'](_0x331302,'id')&&(object['id']=_0x331302['id']),null!=_0x331302['documentId']&&Object['hasOwnProperty']['call'](_0x331302,'documentId')&&(object['documentId']=_0x331302['documentId']),object;},TrackChangesGetSuggestionMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesGetSuggestionMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesGetSuggestionMessage';},TrackChangesGetSuggestionMessage;}()),$root['TrackChangesGetAllSuggestionMessage']=(function(){function TrackChangesGetAllSuggestionMessage(properties){if(properties){for(var _0x495cf2=Object['keys'](properties),_0x4a2a3f=0x0;_0x4a2a3f<_0x495cf2['length'];++_0x4a2a3f)null!=properties[_0x495cf2[_0x4a2a3f]]&&'__proto__'!==_0x495cf2[_0x4a2a3f]&&(this[_0x495cf2[_0x4a2a3f]]=properties[_0x495cf2[_0x4a2a3f]]);}}return TrackChangesGetAllSuggestionMessage['prototype']['documentId']='',TrackChangesGetAllSuggestionMessage['create']=function(properties){return new TrackChangesGetAllSuggestionMessage(properties);},TrackChangesGetAllSuggestionMessage['encode']=function(_0x27c8c8,writer,_0x487363){if(writer||(writer=$Writer['create']()),void 0x0===_0x487363&&(_0x487363=0x0),_0x487363>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x27c8c8['documentId']&&Object['hasOwnProperty']['call'](_0x27c8c8,'documentId')&&writer['uint32'](0xa)['string'](_0x27c8c8['documentId']),writer;},TrackChangesGetAllSuggestionMessage['encodeDelimited']=function(_0x402f8d,writer){return this['encode'](_0x402f8d,writer)['ldelim']();},TrackChangesGetAllSuggestionMessage['decode']=function(_0x57e9b8,length,_0x22ab51,_0x22bc3a){if(_0x57e9b8 instanceof _0x5a128a||(_0x57e9b8=_0x5a128a['create'](_0x57e9b8)),void 0x0===_0x22bc3a&&(_0x22bc3a=0x0),_0x22bc3a>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3e12c2=void 0x0===length?_0x57e9b8['len']:_0x57e9b8['pos']+length,_0x582667=new $root['TrackChangesGetAllSuggestionMessage']();_0x57e9b8['pos']<_0x3e12c2;){var tag=_0x57e9b8['uint32']();if(tag===_0x22ab51)break;if(tag>>>0x3==0x1)_0x582667['documentId']=_0x57e9b8['string']();else _0x57e9b8['skipType'](0x7&tag,_0x22bc3a);}return _0x582667;},TrackChangesGetAllSuggestionMessage['decodeDelimited']=function(_0x448262){return _0x448262 instanceof _0x5a128a||(_0x448262=new _0x5a128a(_0x448262)),this['decode'](_0x448262,_0x448262['uint32']());},TrackChangesGetAllSuggestionMessage['verify']=function(_0x4ee7e2,_0x12998a){return'object'!=typeof _0x4ee7e2||null===_0x4ee7e2?'object\x20expected':(void 0x0===_0x12998a&&(_0x12998a=0x0),_0x12998a>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4ee7e2['documentId']&&Object['hasOwnProperty']['call'](_0x4ee7e2,'documentId')&&!$util['isString'](_0x4ee7e2['documentId'])?'documentId:\x20string\x20expected':null);},TrackChangesGetAllSuggestionMessage['fromObject']=function(object,_0x46e120){if(object instanceof $root['TrackChangesGetAllSuggestionMessage'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesGetAllSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x46e120&&(_0x46e120=0x0),_0x46e120>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xc412e=new $root['TrackChangesGetAllSuggestionMessage']();return null!=object['documentId']&&(_0xc412e['documentId']=String(object['documentId'])),_0xc412e;},TrackChangesGetAllSuggestionMessage['toObject']=function(_0x5f0d09,options,_0x58e950){if(options||(options={}),void 0x0===_0x58e950&&(_0x58e950=0x0),_0x58e950>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']=''),null!=_0x5f0d09['documentId']&&Object['hasOwnProperty']['call'](_0x5f0d09,'documentId')&&(object['documentId']=_0x5f0d09['documentId']),object;},TrackChangesGetAllSuggestionMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesGetAllSuggestionMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesGetAllSuggestionMessage';},TrackChangesGetAllSuggestionMessage;}()),$root['TrackChangesConnectMessage']=(function(){function TrackChangesConnectMessage(properties){if(properties){for(var _0x273a2c=Object['keys'](properties),_0x18f0e7=0x0;_0x18f0e7<_0x273a2c['length'];++_0x18f0e7)null!=properties[_0x273a2c[_0x18f0e7]]&&'__proto__'!==_0x273a2c[_0x18f0e7]&&(this[_0x273a2c[_0x18f0e7]]=properties[_0x273a2c[_0x18f0e7]]);}}return TrackChangesConnectMessage['prototype']['documentId']='',TrackChangesConnectMessage['create']=function(properties){return new TrackChangesConnectMessage(properties);},TrackChangesConnectMessage['encode']=function(_0x263035,writer,_0x463be0){if(writer||(writer=$Writer['create']()),void 0x0===_0x463be0&&(_0x463be0=0x0),_0x463be0>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x263035['documentId']&&Object['hasOwnProperty']['call'](_0x263035,'documentId')&&writer['uint32'](0xa)['string'](_0x263035['documentId']),writer;},TrackChangesConnectMessage['encodeDelimited']=function(_0x498b0d,writer){return this['encode'](_0x498b0d,writer)['ldelim']();},TrackChangesConnectMessage['decode']=function(_0x425d14,length,_0x198bf8,_0x1a1ff6){if(_0x425d14 instanceof _0x5a128a||(_0x425d14=_0x5a128a['create'](_0x425d14)),void 0x0===_0x1a1ff6&&(_0x1a1ff6=0x0),_0x1a1ff6>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x191071=void 0x0===length?_0x425d14['len']:_0x425d14['pos']+length,_0x487144=new $root['TrackChangesConnectMessage']();_0x425d14['pos']<_0x191071;){var tag=_0x425d14['uint32']();if(tag===_0x198bf8)break;if(tag>>>0x3==0x1)_0x487144['documentId']=_0x425d14['string']();else _0x425d14['skipType'](0x7&tag,_0x1a1ff6);}return _0x487144;},TrackChangesConnectMessage['decodeDelimited']=function(_0x1d05f7){return _0x1d05f7 instanceof _0x5a128a||(_0x1d05f7=new _0x5a128a(_0x1d05f7)),this['decode'](_0x1d05f7,_0x1d05f7['uint32']());},TrackChangesConnectMessage['verify']=function(_0x39bf37,_0x3d748b){return'object'!=typeof _0x39bf37||null===_0x39bf37?'object\x20expected':(void 0x0===_0x3d748b&&(_0x3d748b=0x0),_0x3d748b>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x39bf37['documentId']&&Object['hasOwnProperty']['call'](_0x39bf37,'documentId')&&!$util['isString'](_0x39bf37['documentId'])?'documentId:\x20string\x20expected':null);},TrackChangesConnectMessage['fromObject']=function(object,_0x302020){if(object instanceof $root['TrackChangesConnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesConnectMessage:\x20object\x20expected');if(void 0x0===_0x302020&&(_0x302020=0x0),_0x302020>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x52d0fa=new $root['TrackChangesConnectMessage']();return null!=object['documentId']&&(_0x52d0fa['documentId']=String(object['documentId'])),_0x52d0fa;},TrackChangesConnectMessage['toObject']=function(_0x542499,options,_0x2d9b7a){if(options||(options={}),void 0x0===_0x2d9b7a&&(_0x2d9b7a=0x0),_0x2d9b7a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']=''),null!=_0x542499['documentId']&&Object['hasOwnProperty']['call'](_0x542499,'documentId')&&(object['documentId']=_0x542499['documentId']),object;},TrackChangesConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesConnectMessage';},TrackChangesConnectMessage;}()),$root['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function TrackChangesBatchUpdateSuggestionsStateMessage(properties){if(this['ids']=[],properties){for(var _0x1c0af4=Object['keys'](properties),_0xda521c=0x0;_0xda521c<_0x1c0af4['length'];++_0xda521c)null!=properties[_0x1c0af4[_0xda521c]]&&'__proto__'!==_0x1c0af4[_0xda521c]&&(this[_0x1c0af4[_0xda521c]]=properties[_0x1c0af4[_0xda521c]]);}}return TrackChangesBatchUpdateSuggestionsStateMessage['prototype']['ids']=$util['emptyArray'],TrackChangesBatchUpdateSuggestionsStateMessage['prototype']['documentId']='',TrackChangesBatchUpdateSuggestionsStateMessage['prototype']['state']='',TrackChangesBatchUpdateSuggestionsStateMessage['create']=function(properties){return new TrackChangesBatchUpdateSuggestionsStateMessage(properties);},TrackChangesBatchUpdateSuggestionsStateMessage['encode']=function(_0x299156,writer,_0x55f9ec){if(writer||(writer=$Writer['create']()),void 0x0===_0x55f9ec&&(_0x55f9ec=0x0),_0x55f9ec>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x299156['ids']&&_0x299156['ids']['length']){for(var _0x446ad3=0x0;_0x446ad3<_0x299156['ids']['length'];++_0x446ad3)writer['uint32'](0xa)['string'](_0x299156['ids'][_0x446ad3]);}return null!=_0x299156['documentId']&&Object['hasOwnProperty']['call'](_0x299156,'documentId')&&writer['uint32'](0x12)['string'](_0x299156['documentId']),null!=_0x299156['state']&&Object['hasOwnProperty']['call'](_0x299156,'state')&&writer['uint32'](0x1a)['string'](_0x299156['state']),writer;},TrackChangesBatchUpdateSuggestionsStateMessage['encodeDelimited']=function(_0x3a9083,writer){return this['encode'](_0x3a9083,writer)['ldelim']();},TrackChangesBatchUpdateSuggestionsStateMessage['decode']=function(_0x380cb6,length,_0x5bbccd,_0x21d70f){if(_0x380cb6 instanceof _0x5a128a||(_0x380cb6=_0x5a128a['create'](_0x380cb6)),void 0x0===_0x21d70f&&(_0x21d70f=0x0),_0x21d70f>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x73677a=void 0x0===length?_0x380cb6['len']:_0x380cb6['pos']+length,_0x312a22=new $root['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x380cb6['pos']<_0x73677a;){var tag=_0x380cb6['uint32']();if(tag===_0x5bbccd)break;switch(tag>>>0x3){case 0x1:_0x312a22['ids']&&_0x312a22['ids']['length']||(_0x312a22['ids']=[]),_0x312a22['ids']['push'](_0x380cb6['string']());break;case 0x2:_0x312a22['documentId']=_0x380cb6['string']();break;case 0x3:_0x312a22['state']=_0x380cb6['string']();break;default:_0x380cb6['skipType'](0x7&tag,_0x21d70f);}}return _0x312a22;},TrackChangesBatchUpdateSuggestionsStateMessage['decodeDelimited']=function(_0x4ce82a){return _0x4ce82a instanceof _0x5a128a||(_0x4ce82a=new _0x5a128a(_0x4ce82a)),this['decode'](_0x4ce82a,_0x4ce82a['uint32']());},TrackChangesBatchUpdateSuggestionsStateMessage['verify']=function(_0x3edc90,_0xa89537){if('object'!=typeof _0x3edc90||null===_0x3edc90)return'object\x20expected';if(void 0x0===_0xa89537&&(_0xa89537=0x0),_0xa89537>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3edc90['ids']&&Object['hasOwnProperty']['call'](_0x3edc90,'ids')){if(!Array['isArray'](_0x3edc90['ids']))return'ids:\x20array\x20expected';for(var _0x530bea=0x0;_0x530bea<_0x3edc90['ids']['length'];++_0x530bea)if(!$util['isString'](_0x3edc90['ids'][_0x530bea]))return'ids:\x20string[]\x20expected';}return null!=_0x3edc90['documentId']&&Object['hasOwnProperty']['call'](_0x3edc90,'documentId')&&!$util['isString'](_0x3edc90['documentId'])?'documentId:\x20string\x20expected':null!=_0x3edc90['state']&&Object['hasOwnProperty']['call'](_0x3edc90,'state')&&!$util['isString'](_0x3edc90['state'])?'state:\x20string\x20expected':null;},TrackChangesBatchUpdateSuggestionsStateMessage['fromObject']=function(object,_0x467293){if(object instanceof $root['TrackChangesBatchUpdateSuggestionsStateMessage'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage:\x20object\x20expected');if(void 0x0===_0x467293&&(_0x467293=0x0),_0x467293>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xfb7dfd=new $root['TrackChangesBatchUpdateSuggestionsStateMessage']();if(object['ids']){if(!Array['isArray'](object['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0xfb7dfd['ids']=[];for(var _0xbc773b=0x0;_0xbc773b<object['ids']['length'];++_0xbc773b)_0xfb7dfd['ids'][_0xbc773b]=String(object['ids'][_0xbc773b]);}return null!=object['documentId']&&(_0xfb7dfd['documentId']=String(object['documentId'])),null!=object['state']&&(_0xfb7dfd['state']=String(object['state'])),_0xfb7dfd;},TrackChangesBatchUpdateSuggestionsStateMessage['toObject']=function(_0x4d3072,options,_0x4ea03b){if(options||(options={}),void 0x0===_0x4ea03b&&(_0x4ea03b=0x0),_0x4ea03b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['ids']=[]),options['defaults']&&(object['documentId']='',object['state']=''),_0x4d3072['ids']&&_0x4d3072['ids']['length']){object['ids']=[];for(var _0x2f4189=0x0;_0x2f4189<_0x4d3072['ids']['length'];++_0x2f4189)object['ids'][_0x2f4189]=_0x4d3072['ids'][_0x2f4189];}return null!=_0x4d3072['documentId']&&Object['hasOwnProperty']['call'](_0x4d3072,'documentId')&&(object['documentId']=_0x4d3072['documentId']),null!=_0x4d3072['state']&&Object['hasOwnProperty']['call'](_0x4d3072,'state')&&(object['state']=_0x4d3072['state']),object;},TrackChangesBatchUpdateSuggestionsStateMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesBatchUpdateSuggestionsStateMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesBatchUpdateSuggestionsStateMessage';},TrackChangesBatchUpdateSuggestionsStateMessage;}()),$root['TrackChangesAddSuggestionMessage']=(function(){function TrackChangesAddSuggestionMessage(properties){if(properties){for(var _0x1a35bd=Object['keys'](properties),_0x4b1317=0x0;_0x4b1317<_0x1a35bd['length'];++_0x4b1317)null!=properties[_0x1a35bd[_0x4b1317]]&&'__proto__'!==_0x1a35bd[_0x4b1317]&&(this[_0x1a35bd[_0x4b1317]]=properties[_0x1a35bd[_0x4b1317]]);}}return TrackChangesAddSuggestionMessage['prototype']['id']='',TrackChangesAddSuggestionMessage['prototype']['documentId']='',TrackChangesAddSuggestionMessage['prototype']['type']='',TrackChangesAddSuggestionMessage['prototype']['data']='',TrackChangesAddSuggestionMessage['prototype']['originalSuggestionId']='',TrackChangesAddSuggestionMessage['prototype']['attributes']='',TrackChangesAddSuggestionMessage['create']=function(properties){return new TrackChangesAddSuggestionMessage(properties);},TrackChangesAddSuggestionMessage['encode']=function(_0x2ded4e,writer,_0xef5b2b){if(writer||(writer=$Writer['create']()),void 0x0===_0xef5b2b&&(_0xef5b2b=0x0),_0xef5b2b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2ded4e['id']&&Object['hasOwnProperty']['call'](_0x2ded4e,'id')&&writer['uint32'](0xa)['string'](_0x2ded4e['id']),null!=_0x2ded4e['documentId']&&Object['hasOwnProperty']['call'](_0x2ded4e,'documentId')&&writer['uint32'](0x12)['string'](_0x2ded4e['documentId']),null!=_0x2ded4e['type']&&Object['hasOwnProperty']['call'](_0x2ded4e,'type')&&writer['uint32'](0x1a)['string'](_0x2ded4e['type']),null!=_0x2ded4e['data']&&Object['hasOwnProperty']['call'](_0x2ded4e,'data')&&writer['uint32'](0x22)['string'](_0x2ded4e['data']),null!=_0x2ded4e['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x2ded4e,'originalSuggestionId')&&writer['uint32'](0x2a)['string'](_0x2ded4e['originalSuggestionId']),null!=_0x2ded4e['attributes']&&Object['hasOwnProperty']['call'](_0x2ded4e,'attributes')&&writer['uint32'](0x32)['string'](_0x2ded4e['attributes']),writer;},TrackChangesAddSuggestionMessage['encodeDelimited']=function(_0xd5c375,writer){return this['encode'](_0xd5c375,writer)['ldelim']();},TrackChangesAddSuggestionMessage['decode']=function(_0x5b7f60,length,_0x4fdb53,_0x5cbd66){if(_0x5b7f60 instanceof _0x5a128a||(_0x5b7f60=_0x5a128a['create'](_0x5b7f60)),void 0x0===_0x5cbd66&&(_0x5cbd66=0x0),_0x5cbd66>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x15bbed=void 0x0===length?_0x5b7f60['len']:_0x5b7f60['pos']+length,_0x29ddb6=new $root['TrackChangesAddSuggestionMessage']();_0x5b7f60['pos']<_0x15bbed;){var tag=_0x5b7f60['uint32']();if(tag===_0x4fdb53)break;switch(tag>>>0x3){case 0x1:_0x29ddb6['id']=_0x5b7f60['string']();break;case 0x2:_0x29ddb6['documentId']=_0x5b7f60['string']();break;case 0x3:_0x29ddb6['type']=_0x5b7f60['string']();break;case 0x4:_0x29ddb6['data']=_0x5b7f60['string']();break;case 0x5:_0x29ddb6['originalSuggestionId']=_0x5b7f60['string']();break;case 0x6:_0x29ddb6['attributes']=_0x5b7f60['string']();break;default:_0x5b7f60['skipType'](0x7&tag,_0x5cbd66);}}return _0x29ddb6;},TrackChangesAddSuggestionMessage['decodeDelimited']=function(_0xa37775){return _0xa37775 instanceof _0x5a128a||(_0xa37775=new _0x5a128a(_0xa37775)),this['decode'](_0xa37775,_0xa37775['uint32']());},TrackChangesAddSuggestionMessage['verify']=function(_0x57b62b,_0x309158){return'object'!=typeof _0x57b62b||null===_0x57b62b?'object\x20expected':(void 0x0===_0x309158&&(_0x309158=0x0),_0x309158>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x57b62b['id']&&Object['hasOwnProperty']['call'](_0x57b62b,'id')&&!$util['isString'](_0x57b62b['id'])?'id:\x20string\x20expected':null!=_0x57b62b['documentId']&&Object['hasOwnProperty']['call'](_0x57b62b,'documentId')&&!$util['isString'](_0x57b62b['documentId'])?'documentId:\x20string\x20expected':null!=_0x57b62b['type']&&Object['hasOwnProperty']['call'](_0x57b62b,'type')&&!$util['isString'](_0x57b62b['type'])?'type:\x20string\x20expected':null!=_0x57b62b['data']&&Object['hasOwnProperty']['call'](_0x57b62b,'data')&&!$util['isString'](_0x57b62b['data'])?'data:\x20string\x20expected':null!=_0x57b62b['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x57b62b,'originalSuggestionId')&&!$util['isString'](_0x57b62b['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x57b62b['attributes']&&Object['hasOwnProperty']['call'](_0x57b62b,'attributes')&&!$util['isString'](_0x57b62b['attributes'])?'attributes:\x20string\x20expected':null);},TrackChangesAddSuggestionMessage['fromObject']=function(object,_0x4786e9){if(object instanceof $root['TrackChangesAddSuggestionMessage'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesAddSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x4786e9&&(_0x4786e9=0x0),_0x4786e9>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x50b35a=new $root['TrackChangesAddSuggestionMessage']();return null!=object['id']&&(_0x50b35a['id']=String(object['id'])),null!=object['documentId']&&(_0x50b35a['documentId']=String(object['documentId'])),null!=object['type']&&(_0x50b35a['type']=String(object['type'])),null!=object['data']&&(_0x50b35a['data']=String(object['data'])),null!=object['originalSuggestionId']&&(_0x50b35a['originalSuggestionId']=String(object['originalSuggestionId'])),null!=object['attributes']&&(_0x50b35a['attributes']=String(object['attributes'])),_0x50b35a;},TrackChangesAddSuggestionMessage['toObject']=function(_0x35fc6e,options,_0x5aad41){if(options||(options={}),void 0x0===_0x5aad41&&(_0x5aad41=0x0),_0x5aad41>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['documentId']='',object['type']='',object['data']='',object['originalSuggestionId']='',object['attributes']=''),null!=_0x35fc6e['id']&&Object['hasOwnProperty']['call'](_0x35fc6e,'id')&&(object['id']=_0x35fc6e['id']),null!=_0x35fc6e['documentId']&&Object['hasOwnProperty']['call'](_0x35fc6e,'documentId')&&(object['documentId']=_0x35fc6e['documentId']),null!=_0x35fc6e['type']&&Object['hasOwnProperty']['call'](_0x35fc6e,'type')&&(object['type']=_0x35fc6e['type']),null!=_0x35fc6e['data']&&Object['hasOwnProperty']['call'](_0x35fc6e,'data')&&(object['data']=_0x35fc6e['data']),null!=_0x35fc6e['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x35fc6e,'originalSuggestionId')&&(object['originalSuggestionId']=_0x35fc6e['originalSuggestionId']),null!=_0x35fc6e['attributes']&&Object['hasOwnProperty']['call'](_0x35fc6e,'attributes')&&(object['attributes']=_0x35fc6e['attributes']),object;},TrackChangesAddSuggestionMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesAddSuggestionMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesAddSuggestionMessage';},TrackChangesAddSuggestionMessage;}()),$root['SuggestionDescriptor']=(function(){function SuggestionDescriptor(properties){if(properties){for(var _0x11f324=Object['keys'](properties),_0x2956ed=0x0;_0x2956ed<_0x11f324['length'];++_0x2956ed)null!=properties[_0x11f324[_0x2956ed]]&&'__proto__'!==_0x11f324[_0x2956ed]&&(this[_0x11f324[_0x2956ed]]=properties[_0x11f324[_0x2956ed]]);}}return SuggestionDescriptor['prototype']['id']='',SuggestionDescriptor['prototype']['authorId']='',SuggestionDescriptor['prototype']['type']='',SuggestionDescriptor['prototype']['createdAt']='',SuggestionDescriptor['prototype']['data']='',SuggestionDescriptor['prototype']['hasComments']=!0x1,SuggestionDescriptor['prototype']['state']='',SuggestionDescriptor['prototype']['attributes']='',SuggestionDescriptor['create']=function(properties){return new SuggestionDescriptor(properties);},SuggestionDescriptor['encode']=function(_0x314ec9,writer,_0x4c3e50){if(writer||(writer=$Writer['create']()),void 0x0===_0x4c3e50&&(_0x4c3e50=0x0),_0x4c3e50>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x314ec9['id']&&Object['hasOwnProperty']['call'](_0x314ec9,'id')&&writer['uint32'](0xa)['string'](_0x314ec9['id']),null!=_0x314ec9['authorId']&&Object['hasOwnProperty']['call'](_0x314ec9,'authorId')&&writer['uint32'](0x12)['string'](_0x314ec9['authorId']),null!=_0x314ec9['type']&&Object['hasOwnProperty']['call'](_0x314ec9,'type')&&writer['uint32'](0x1a)['string'](_0x314ec9['type']),null!=_0x314ec9['createdAt']&&Object['hasOwnProperty']['call'](_0x314ec9,'createdAt')&&writer['uint32'](0x22)['string'](_0x314ec9['createdAt']),null!=_0x314ec9['data']&&Object['hasOwnProperty']['call'](_0x314ec9,'data')&&writer['uint32'](0x2a)['string'](_0x314ec9['data']),null!=_0x314ec9['hasComments']&&Object['hasOwnProperty']['call'](_0x314ec9,'hasComments')&&writer['uint32'](0x30)['bool'](_0x314ec9['hasComments']),null!=_0x314ec9['state']&&Object['hasOwnProperty']['call'](_0x314ec9,'state')&&writer['uint32'](0x3a)['string'](_0x314ec9['state']),null!=_0x314ec9['attributes']&&Object['hasOwnProperty']['call'](_0x314ec9,'attributes')&&writer['uint32'](0x42)['string'](_0x314ec9['attributes']),writer;},SuggestionDescriptor['encodeDelimited']=function(_0xe603d6,writer){return this['encode'](_0xe603d6,writer)['ldelim']();},SuggestionDescriptor['decode']=function(_0x51fca9,length,_0x24d92e,_0x336014){if(_0x51fca9 instanceof _0x5a128a||(_0x51fca9=_0x5a128a['create'](_0x51fca9)),void 0x0===_0x336014&&(_0x336014=0x0),_0x336014>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x227274=void 0x0===length?_0x51fca9['len']:_0x51fca9['pos']+length,_0x5f2709=new $root['SuggestionDescriptor']();_0x51fca9['pos']<_0x227274;){var tag=_0x51fca9['uint32']();if(tag===_0x24d92e)break;switch(tag>>>0x3){case 0x1:_0x5f2709['id']=_0x51fca9['string']();break;case 0x2:_0x5f2709['authorId']=_0x51fca9['string']();break;case 0x3:_0x5f2709['type']=_0x51fca9['string']();break;case 0x4:_0x5f2709['createdAt']=_0x51fca9['string']();break;case 0x5:_0x5f2709['data']=_0x51fca9['string']();break;case 0x6:_0x5f2709['hasComments']=_0x51fca9['bool']();break;case 0x7:_0x5f2709['state']=_0x51fca9['string']();break;case 0x8:_0x5f2709['attributes']=_0x51fca9['string']();break;default:_0x51fca9['skipType'](0x7&tag,_0x336014);}}return _0x5f2709;},SuggestionDescriptor['decodeDelimited']=function(_0x361c92){return _0x361c92 instanceof _0x5a128a||(_0x361c92=new _0x5a128a(_0x361c92)),this['decode'](_0x361c92,_0x361c92['uint32']());},SuggestionDescriptor['verify']=function(_0x21e735,_0x5945c4){return'object'!=typeof _0x21e735||null===_0x21e735?'object\x20expected':(void 0x0===_0x5945c4&&(_0x5945c4=0x0),_0x5945c4>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x21e735['id']&&Object['hasOwnProperty']['call'](_0x21e735,'id')&&!$util['isString'](_0x21e735['id'])?'id:\x20string\x20expected':null!=_0x21e735['authorId']&&Object['hasOwnProperty']['call'](_0x21e735,'authorId')&&!$util['isString'](_0x21e735['authorId'])?'authorId:\x20string\x20expected':null!=_0x21e735['type']&&Object['hasOwnProperty']['call'](_0x21e735,'type')&&!$util['isString'](_0x21e735['type'])?'type:\x20string\x20expected':null!=_0x21e735['createdAt']&&Object['hasOwnProperty']['call'](_0x21e735,'createdAt')&&!$util['isString'](_0x21e735['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x21e735['data']&&Object['hasOwnProperty']['call'](_0x21e735,'data')&&!$util['isString'](_0x21e735['data'])?'data:\x20string\x20expected':null!=_0x21e735['hasComments']&&Object['hasOwnProperty']['call'](_0x21e735,'hasComments')&&'boolean'!=typeof _0x21e735['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x21e735['state']&&Object['hasOwnProperty']['call'](_0x21e735,'state')&&!$util['isString'](_0x21e735['state'])?'state:\x20string\x20expected':null!=_0x21e735['attributes']&&Object['hasOwnProperty']['call'](_0x21e735,'attributes')&&!$util['isString'](_0x21e735['attributes'])?'attributes:\x20string\x20expected':null);},SuggestionDescriptor['fromObject']=function(object,_0x1a83eb){if(object instanceof $root['SuggestionDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.SuggestionDescriptor:\x20object\x20expected');if(void 0x0===_0x1a83eb&&(_0x1a83eb=0x0),_0x1a83eb>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5aa0e0=new $root['SuggestionDescriptor']();return null!=object['id']&&(_0x5aa0e0['id']=String(object['id'])),null!=object['authorId']&&(_0x5aa0e0['authorId']=String(object['authorId'])),null!=object['type']&&(_0x5aa0e0['type']=String(object['type'])),null!=object['createdAt']&&(_0x5aa0e0['createdAt']=String(object['createdAt'])),null!=object['data']&&(_0x5aa0e0['data']=String(object['data'])),null!=object['hasComments']&&(_0x5aa0e0['hasComments']=Boolean(object['hasComments'])),null!=object['state']&&(_0x5aa0e0['state']=String(object['state'])),null!=object['attributes']&&(_0x5aa0e0['attributes']=String(object['attributes'])),_0x5aa0e0;},SuggestionDescriptor['toObject']=function(_0x3a1123,options,_0x463bac){if(options||(options={}),void 0x0===_0x463bac&&(_0x463bac=0x0),_0x463bac>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['authorId']='',object['type']='',object['createdAt']='',object['data']='',object['hasComments']=!0x1,object['state']='',object['attributes']=''),null!=_0x3a1123['id']&&Object['hasOwnProperty']['call'](_0x3a1123,'id')&&(object['id']=_0x3a1123['id']),null!=_0x3a1123['authorId']&&Object['hasOwnProperty']['call'](_0x3a1123,'authorId')&&(object['authorId']=_0x3a1123['authorId']),null!=_0x3a1123['type']&&Object['hasOwnProperty']['call'](_0x3a1123,'type')&&(object['type']=_0x3a1123['type']),null!=_0x3a1123['createdAt']&&Object['hasOwnProperty']['call'](_0x3a1123,'createdAt')&&(object['createdAt']=_0x3a1123['createdAt']),null!=_0x3a1123['data']&&Object['hasOwnProperty']['call'](_0x3a1123,'data')&&(object['data']=_0x3a1123['data']),null!=_0x3a1123['hasComments']&&Object['hasOwnProperty']['call'](_0x3a1123,'hasComments')&&(object['hasComments']=_0x3a1123['hasComments']),null!=_0x3a1123['state']&&Object['hasOwnProperty']['call'](_0x3a1123,'state')&&(object['state']=_0x3a1123['state']),null!=_0x3a1123['attributes']&&Object['hasOwnProperty']['call'](_0x3a1123,'attributes')&&(object['attributes']=_0x3a1123['attributes']),object;},SuggestionDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SuggestionDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SuggestionDescriptor';},SuggestionDescriptor;}()),$root['SessionsConnectResponse']=(function(){function SessionsConnectResponse(properties){if(this['sockets']=[],properties){for(var _0x3c2352=Object['keys'](properties),_0x10b71e=0x0;_0x10b71e<_0x3c2352['length'];++_0x10b71e)null!=properties[_0x3c2352[_0x10b71e]]&&'__proto__'!==_0x3c2352[_0x10b71e]&&(this[_0x3c2352[_0x10b71e]]=properties[_0x3c2352[_0x10b71e]]);}}return SessionsConnectResponse['prototype']['channel']='',SessionsConnectResponse['prototype']['sockets']=$util['emptyArray'],SessionsConnectResponse['create']=function(properties){return new SessionsConnectResponse(properties);},SessionsConnectResponse['encode']=function(_0x3e3ba4,writer,_0x5a246b){if(writer||(writer=$Writer['create']()),void 0x0===_0x5a246b&&(_0x5a246b=0x0),_0x5a246b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x3e3ba4['channel']&&Object['hasOwnProperty']['call'](_0x3e3ba4,'channel')&&writer['uint32'](0xa)['string'](_0x3e3ba4['channel']),null!=_0x3e3ba4['sockets']&&_0x3e3ba4['sockets']['length']){for(var _0x29e6bd=0x0;_0x29e6bd<_0x3e3ba4['sockets']['length'];++_0x29e6bd)$root['SessionsSocketDescriptor']['encode'](_0x3e3ba4['sockets'][_0x29e6bd],writer['uint32'](0x12)['fork'](),_0x5a246b+0x1)['ldelim']();}return writer;},SessionsConnectResponse['encodeDelimited']=function(_0xfac122,writer){return this['encode'](_0xfac122,writer)['ldelim']();},SessionsConnectResponse['decode']=function(_0x145aa6,length,_0xc297f3,_0x1b2b27){if(_0x145aa6 instanceof _0x5a128a||(_0x145aa6=_0x5a128a['create'](_0x145aa6)),void 0x0===_0x1b2b27&&(_0x1b2b27=0x0),_0x1b2b27>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3f963d=void 0x0===length?_0x145aa6['len']:_0x145aa6['pos']+length,_0x277021=new $root['SessionsConnectResponse']();_0x145aa6['pos']<_0x3f963d;){var tag=_0x145aa6['uint32']();if(tag===_0xc297f3)break;switch(tag>>>0x3){case 0x1:_0x277021['channel']=_0x145aa6['string']();break;case 0x2:_0x277021['sockets']&&_0x277021['sockets']['length']||(_0x277021['sockets']=[]),_0x277021['sockets']['push']($root['SessionsSocketDescriptor']['decode'](_0x145aa6,_0x145aa6['uint32'](),void 0x0,_0x1b2b27+0x1));break;default:_0x145aa6['skipType'](0x7&tag,_0x1b2b27);}}return _0x277021;},SessionsConnectResponse['decodeDelimited']=function(_0x2a076d){return _0x2a076d instanceof _0x5a128a||(_0x2a076d=new _0x5a128a(_0x2a076d)),this['decode'](_0x2a076d,_0x2a076d['uint32']());},SessionsConnectResponse['verify']=function(_0xd6b087,_0xfcd043){if('object'!=typeof _0xd6b087||null===_0xd6b087)return'object\x20expected';if(void 0x0===_0xfcd043&&(_0xfcd043=0x0),_0xfcd043>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xd6b087['channel']&&Object['hasOwnProperty']['call'](_0xd6b087,'channel')&&!$util['isString'](_0xd6b087['channel']))return'channel:\x20string\x20expected';if(null!=_0xd6b087['sockets']&&Object['hasOwnProperty']['call'](_0xd6b087,'sockets')){if(!Array['isArray'](_0xd6b087['sockets']))return'sockets:\x20array\x20expected';for(var _0x5edae5=0x0;_0x5edae5<_0xd6b087['sockets']['length'];++_0x5edae5){var _0x40471e=$root['SessionsSocketDescriptor']['verify'](_0xd6b087['sockets'][_0x5edae5],_0xfcd043+0x1);if(_0x40471e)return'sockets.'+_0x40471e;}}return null;},SessionsConnectResponse['fromObject']=function(object,_0x58f9c9){if(object instanceof $root['SessionsConnectResponse'])return object;if(!$util['isObject'](object))throw TypeError('.SessionsConnectResponse:\x20object\x20expected');if(void 0x0===_0x58f9c9&&(_0x58f9c9=0x0),_0x58f9c9>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2b9ffa=new $root['SessionsConnectResponse']();if(null!=object['channel']&&(_0x2b9ffa['channel']=String(object['channel'])),object['sockets']){if(!Array['isArray'](object['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x2b9ffa['sockets']=[];for(var _0x5c52f8=0x0;_0x5c52f8<object['sockets']['length'];++_0x5c52f8){if(!$util['isObject'](object['sockets'][_0x5c52f8]))throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x2b9ffa['sockets'][_0x5c52f8]=$root['SessionsSocketDescriptor']['fromObject'](object['sockets'][_0x5c52f8],_0x58f9c9+0x1);}}return _0x2b9ffa;},SessionsConnectResponse['toObject']=function(_0x4ef1b4,options,_0x273479){if(options||(options={}),void 0x0===_0x273479&&(_0x273479=0x0),_0x273479>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['sockets']=[]),options['defaults']&&(object['channel']=''),null!=_0x4ef1b4['channel']&&Object['hasOwnProperty']['call'](_0x4ef1b4,'channel')&&(object['channel']=_0x4ef1b4['channel']),_0x4ef1b4['sockets']&&_0x4ef1b4['sockets']['length']){object['sockets']=[];for(var _0x2e2846=0x0;_0x2e2846<_0x4ef1b4['sockets']['length'];++_0x2e2846)object['sockets'][_0x2e2846]=$root['SessionsSocketDescriptor']['toObject'](_0x4ef1b4['sockets'][_0x2e2846],options,_0x273479+0x1);}return object;},SessionsConnectResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SessionsConnectResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SessionsConnectResponse';},SessionsConnectResponse;}()),$root['SocketDisconnectMessage']=(function(){function SocketDisconnectMessage(properties){if(properties){for(var _0x196775=Object['keys'](properties),_0x45d175=0x0;_0x45d175<_0x196775['length'];++_0x45d175)null!=properties[_0x196775[_0x45d175]]&&'__proto__'!==_0x196775[_0x45d175]&&(this[_0x196775[_0x45d175]]=properties[_0x196775[_0x45d175]]);}}return SocketDisconnectMessage['prototype']['id']='',SocketDisconnectMessage['create']=function(properties){return new SocketDisconnectMessage(properties);},SocketDisconnectMessage['encode']=function(_0x242161,writer,_0x12c7bd){if(writer||(writer=$Writer['create']()),void 0x0===_0x12c7bd&&(_0x12c7bd=0x0),_0x12c7bd>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x242161['id']&&Object['hasOwnProperty']['call'](_0x242161,'id')&&writer['uint32'](0xa)['string'](_0x242161['id']),writer;},SocketDisconnectMessage['encodeDelimited']=function(_0x10d26c,writer){return this['encode'](_0x10d26c,writer)['ldelim']();},SocketDisconnectMessage['decode']=function(_0x4e0f39,length,_0x351519,_0x575a18){if(_0x4e0f39 instanceof _0x5a128a||(_0x4e0f39=_0x5a128a['create'](_0x4e0f39)),void 0x0===_0x575a18&&(_0x575a18=0x0),_0x575a18>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x32d538=void 0x0===length?_0x4e0f39['len']:_0x4e0f39['pos']+length,_0x45e7d8=new $root['SocketDisconnectMessage']();_0x4e0f39['pos']<_0x32d538;){var tag=_0x4e0f39['uint32']();if(tag===_0x351519)break;if(tag>>>0x3==0x1)_0x45e7d8['id']=_0x4e0f39['string']();else _0x4e0f39['skipType'](0x7&tag,_0x575a18);}return _0x45e7d8;},SocketDisconnectMessage['decodeDelimited']=function(_0x1df605){return _0x1df605 instanceof _0x5a128a||(_0x1df605=new _0x5a128a(_0x1df605)),this['decode'](_0x1df605,_0x1df605['uint32']());},SocketDisconnectMessage['verify']=function(_0x2b3b01,_0x40166f){return'object'!=typeof _0x2b3b01||null===_0x2b3b01?'object\x20expected':(void 0x0===_0x40166f&&(_0x40166f=0x0),_0x40166f>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2b3b01['id']&&Object['hasOwnProperty']['call'](_0x2b3b01,'id')&&!$util['isString'](_0x2b3b01['id'])?'id:\x20string\x20expected':null);},SocketDisconnectMessage['fromObject']=function(object,_0x29568d){if(object instanceof $root['SocketDisconnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.SocketDisconnectMessage:\x20object\x20expected');if(void 0x0===_0x29568d&&(_0x29568d=0x0),_0x29568d>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x26f8b3=new $root['SocketDisconnectMessage']();return null!=object['id']&&(_0x26f8b3['id']=String(object['id'])),_0x26f8b3;},SocketDisconnectMessage['toObject']=function(_0x8d1b09,options,_0x28bbe7){if(options||(options={}),void 0x0===_0x28bbe7&&(_0x28bbe7=0x0),_0x28bbe7>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']=''),null!=_0x8d1b09['id']&&Object['hasOwnProperty']['call'](_0x8d1b09,'id')&&(object['id']=_0x8d1b09['id']),object;},SocketDisconnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SocketDisconnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SocketDisconnectMessage';},SocketDisconnectMessage;}()),$root['SocketConnectMessage']=(function(){function SocketConnectMessage(properties){if(this['permissions']=[],properties){for(var _0x306d68=Object['keys'](properties),_0x4422dd=0x0;_0x4422dd<_0x306d68['length'];++_0x4422dd)null!=properties[_0x306d68[_0x4422dd]]&&'__proto__'!==_0x306d68[_0x4422dd]&&(this[_0x306d68[_0x4422dd]]=properties[_0x306d68[_0x4422dd]]);}}return SocketConnectMessage['prototype']['id']='',SocketConnectMessage['prototype']['userId']='',SocketConnectMessage['prototype']['role']='',SocketConnectMessage['prototype']['permissions']=$util['emptyArray'],SocketConnectMessage['create']=function(properties){return new SocketConnectMessage(properties);},SocketConnectMessage['encode']=function(_0x3be198,writer,_0x196be5){if(writer||(writer=$Writer['create']()),void 0x0===_0x196be5&&(_0x196be5=0x0),_0x196be5>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x3be198['id']&&Object['hasOwnProperty']['call'](_0x3be198,'id')&&writer['uint32'](0xa)['string'](_0x3be198['id']),null!=_0x3be198['userId']&&Object['hasOwnProperty']['call'](_0x3be198,'userId')&&writer['uint32'](0x12)['string'](_0x3be198['userId']),null!=_0x3be198['role']&&Object['hasOwnProperty']['call'](_0x3be198,'role')&&writer['uint32'](0x1a)['string'](_0x3be198['role']),null!=_0x3be198['permissions']&&_0x3be198['permissions']['length']){for(var _0x508a9f=0x0;_0x508a9f<_0x3be198['permissions']['length'];++_0x508a9f)writer['uint32'](0x22)['string'](_0x3be198['permissions'][_0x508a9f]);}return writer;},SocketConnectMessage['encodeDelimited']=function(_0x2c01ba,writer){return this['encode'](_0x2c01ba,writer)['ldelim']();},SocketConnectMessage['decode']=function(_0x303436,length,_0x113888,_0x3597f6){if(_0x303436 instanceof _0x5a128a||(_0x303436=_0x5a128a['create'](_0x303436)),void 0x0===_0x3597f6&&(_0x3597f6=0x0),_0x3597f6>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3bec9e=void 0x0===length?_0x303436['len']:_0x303436['pos']+length,_0x5131fd=new $root['SocketConnectMessage']();_0x303436['pos']<_0x3bec9e;){var tag=_0x303436['uint32']();if(tag===_0x113888)break;switch(tag>>>0x3){case 0x1:_0x5131fd['id']=_0x303436['string']();break;case 0x2:_0x5131fd['userId']=_0x303436['string']();break;case 0x3:_0x5131fd['role']=_0x303436['string']();break;case 0x4:_0x5131fd['permissions']&&_0x5131fd['permissions']['length']||(_0x5131fd['permissions']=[]),_0x5131fd['permissions']['push'](_0x303436['string']());break;default:_0x303436['skipType'](0x7&tag,_0x3597f6);}}return _0x5131fd;},SocketConnectMessage['decodeDelimited']=function(_0x37f7e6){return _0x37f7e6 instanceof _0x5a128a||(_0x37f7e6=new _0x5a128a(_0x37f7e6)),this['decode'](_0x37f7e6,_0x37f7e6['uint32']());},SocketConnectMessage['verify']=function(_0x25e256,_0x15590f){if('object'!=typeof _0x25e256||null===_0x25e256)return'object\x20expected';if(void 0x0===_0x15590f&&(_0x15590f=0x0),_0x15590f>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x25e256['id']&&Object['hasOwnProperty']['call'](_0x25e256,'id')&&!$util['isString'](_0x25e256['id']))return'id:\x20string\x20expected';if(null!=_0x25e256['userId']&&Object['hasOwnProperty']['call'](_0x25e256,'userId')&&!$util['isString'](_0x25e256['userId']))return'userId:\x20string\x20expected';if(null!=_0x25e256['role']&&Object['hasOwnProperty']['call'](_0x25e256,'role')&&!$util['isString'](_0x25e256['role']))return'role:\x20string\x20expected';if(null!=_0x25e256['permissions']&&Object['hasOwnProperty']['call'](_0x25e256,'permissions')){if(!Array['isArray'](_0x25e256['permissions']))return'permissions:\x20array\x20expected';for(var _0xd06b8=0x0;_0xd06b8<_0x25e256['permissions']['length'];++_0xd06b8)if(!$util['isString'](_0x25e256['permissions'][_0xd06b8]))return'permissions:\x20string[]\x20expected';}return null;},SocketConnectMessage['fromObject']=function(object,_0x18093c){if(object instanceof $root['SocketConnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.SocketConnectMessage:\x20object\x20expected');if(void 0x0===_0x18093c&&(_0x18093c=0x0),_0x18093c>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2804e2=new $root['SocketConnectMessage']();if(null!=object['id']&&(_0x2804e2['id']=String(object['id'])),null!=object['userId']&&(_0x2804e2['userId']=String(object['userId'])),null!=object['role']&&(_0x2804e2['role']=String(object['role'])),object['permissions']){if(!Array['isArray'](object['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x2804e2['permissions']=[];for(var _0x2c35a1=0x0;_0x2c35a1<object['permissions']['length'];++_0x2c35a1)_0x2804e2['permissions'][_0x2c35a1]=String(object['permissions'][_0x2c35a1]);}return _0x2804e2;},SocketConnectMessage['toObject']=function(_0x36985b,options,_0x229e61){if(options||(options={}),void 0x0===_0x229e61&&(_0x229e61=0x0),_0x229e61>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['permissions']=[]),options['defaults']&&(object['id']='',object['userId']='',object['role']=''),null!=_0x36985b['id']&&Object['hasOwnProperty']['call'](_0x36985b,'id')&&(object['id']=_0x36985b['id']),null!=_0x36985b['userId']&&Object['hasOwnProperty']['call'](_0x36985b,'userId')&&(object['userId']=_0x36985b['userId']),null!=_0x36985b['role']&&Object['hasOwnProperty']['call'](_0x36985b,'role')&&(object['role']=_0x36985b['role']),_0x36985b['permissions']&&_0x36985b['permissions']['length']){object['permissions']=[];for(var _0xa2efa=0x0;_0xa2efa<_0x36985b['permissions']['length'];++_0xa2efa)object['permissions'][_0xa2efa]=_0x36985b['permissions'][_0xa2efa];}return object;},SocketConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SocketConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SocketConnectMessage';},SocketConnectMessage;}()),$root['SessionsConnectMessage']=(function(){function SessionsConnectMessage(properties){if(properties){for(var _0x466c25=Object['keys'](properties),_0x1e77c8=0x0;_0x1e77c8<_0x466c25['length'];++_0x1e77c8)null!=properties[_0x466c25[_0x1e77c8]]&&'__proto__'!==_0x466c25[_0x1e77c8]&&(this[_0x466c25[_0x1e77c8]]=properties[_0x466c25[_0x1e77c8]]);}}return SessionsConnectMessage['prototype']['id']='',SessionsConnectMessage['prototype']['sessionType']=0x0,SessionsConnectMessage['create']=function(properties){return new SessionsConnectMessage(properties);},SessionsConnectMessage['encode']=function(_0x144038,writer,_0x2f71de){if(writer||(writer=$Writer['create']()),void 0x0===_0x2f71de&&(_0x2f71de=0x0),_0x2f71de>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x144038['id']&&Object['hasOwnProperty']['call'](_0x144038,'id')&&writer['uint32'](0xa)['string'](_0x144038['id']),null!=_0x144038['sessionType']&&Object['hasOwnProperty']['call'](_0x144038,'sessionType')&&writer['uint32'](0x10)['uint32'](_0x144038['sessionType']),writer;},SessionsConnectMessage['encodeDelimited']=function(_0xe36e3f,writer){return this['encode'](_0xe36e3f,writer)['ldelim']();},SessionsConnectMessage['decode']=function(_0x1bbea2,length,_0x5d2d1c,_0x39bca2){if(_0x1bbea2 instanceof _0x5a128a||(_0x1bbea2=_0x5a128a['create'](_0x1bbea2)),void 0x0===_0x39bca2&&(_0x39bca2=0x0),_0x39bca2>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x159b0e=void 0x0===length?_0x1bbea2['len']:_0x1bbea2['pos']+length,_0x48f5e0=new $root['SessionsConnectMessage']();_0x1bbea2['pos']<_0x159b0e;){var tag=_0x1bbea2['uint32']();if(tag===_0x5d2d1c)break;switch(tag>>>0x3){case 0x1:_0x48f5e0['id']=_0x1bbea2['string']();break;case 0x2:_0x48f5e0['sessionType']=_0x1bbea2['uint32']();break;default:_0x1bbea2['skipType'](0x7&tag,_0x39bca2);}}return _0x48f5e0;},SessionsConnectMessage['decodeDelimited']=function(_0x4e62f6){return _0x4e62f6 instanceof _0x5a128a||(_0x4e62f6=new _0x5a128a(_0x4e62f6)),this['decode'](_0x4e62f6,_0x4e62f6['uint32']());},SessionsConnectMessage['verify']=function(_0x4198b2,_0x591415){return'object'!=typeof _0x4198b2||null===_0x4198b2?'object\x20expected':(void 0x0===_0x591415&&(_0x591415=0x0),_0x591415>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4198b2['id']&&Object['hasOwnProperty']['call'](_0x4198b2,'id')&&!$util['isString'](_0x4198b2['id'])?'id:\x20string\x20expected':null!=_0x4198b2['sessionType']&&Object['hasOwnProperty']['call'](_0x4198b2,'sessionType')&&!$util['isInteger'](_0x4198b2['sessionType'])?'sessionType:\x20integer\x20expected':null);},SessionsConnectMessage['fromObject']=function(object,_0x5d5da7){if(object instanceof $root['SessionsConnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.SessionsConnectMessage:\x20object\x20expected');if(void 0x0===_0x5d5da7&&(_0x5d5da7=0x0),_0x5d5da7>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x338f04=new $root['SessionsConnectMessage']();return null!=object['id']&&(_0x338f04['id']=String(object['id'])),null!=object['sessionType']&&(_0x338f04['sessionType']=object['sessionType']>>>0x0),_0x338f04;},SessionsConnectMessage['toObject']=function(_0x244463,options,_0x1b1257){if(options||(options={}),void 0x0===_0x1b1257&&(_0x1b1257=0x0),_0x1b1257>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['sessionType']=0x0),null!=_0x244463['id']&&Object['hasOwnProperty']['call'](_0x244463,'id')&&(object['id']=_0x244463['id']),null!=_0x244463['sessionType']&&Object['hasOwnProperty']['call'](_0x244463,'sessionType')&&(object['sessionType']=_0x244463['sessionType']),object;},SessionsConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SessionsConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SessionsConnectMessage';},SessionsConnectMessage;}()),$root['SessionsSocketDescriptor']=(function(){function SessionsSocketDescriptor(properties){if(this['permissions']=[],properties){for(var _0x414c8b=Object['keys'](properties),_0x116ba1=0x0;_0x116ba1<_0x414c8b['length'];++_0x116ba1)null!=properties[_0x414c8b[_0x116ba1]]&&'__proto__'!==_0x414c8b[_0x116ba1]&&(this[_0x414c8b[_0x116ba1]]=properties[_0x414c8b[_0x116ba1]]);}}return SessionsSocketDescriptor['prototype']['session']='',SessionsSocketDescriptor['prototype']['user']='',SessionsSocketDescriptor['prototype']['role']='',SessionsSocketDescriptor['prototype']['permissions']=$util['emptyArray'],SessionsSocketDescriptor['create']=function(properties){return new SessionsSocketDescriptor(properties);},SessionsSocketDescriptor['encode']=function(_0x1cb58e,writer,_0x43795c){if(writer||(writer=$Writer['create']()),void 0x0===_0x43795c&&(_0x43795c=0x0),_0x43795c>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x1cb58e['session']&&Object['hasOwnProperty']['call'](_0x1cb58e,'session')&&writer['uint32'](0xa)['string'](_0x1cb58e['session']),null!=_0x1cb58e['user']&&Object['hasOwnProperty']['call'](_0x1cb58e,'user')&&writer['uint32'](0x12)['string'](_0x1cb58e['user']),null!=_0x1cb58e['role']&&Object['hasOwnProperty']['call'](_0x1cb58e,'role')&&writer['uint32'](0x1a)['string'](_0x1cb58e['role']),null!=_0x1cb58e['permissions']&&_0x1cb58e['permissions']['length']){for(var _0xc7ee15=0x0;_0xc7ee15<_0x1cb58e['permissions']['length'];++_0xc7ee15)writer['uint32'](0x22)['string'](_0x1cb58e['permissions'][_0xc7ee15]);}return writer;},SessionsSocketDescriptor['encodeDelimited']=function(_0x179a1d,writer){return this['encode'](_0x179a1d,writer)['ldelim']();},SessionsSocketDescriptor['decode']=function(_0x51d51a,length,_0x432491,_0x11519c){if(_0x51d51a instanceof _0x5a128a||(_0x51d51a=_0x5a128a['create'](_0x51d51a)),void 0x0===_0x11519c&&(_0x11519c=0x0),_0x11519c>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xd0a2ee=void 0x0===length?_0x51d51a['len']:_0x51d51a['pos']+length,_0x6c1dde=new $root['SessionsSocketDescriptor']();_0x51d51a['pos']<_0xd0a2ee;){var tag=_0x51d51a['uint32']();if(tag===_0x432491)break;switch(tag>>>0x3){case 0x1:_0x6c1dde['session']=_0x51d51a['string']();break;case 0x2:_0x6c1dde['user']=_0x51d51a['string']();break;case 0x3:_0x6c1dde['role']=_0x51d51a['string']();break;case 0x4:_0x6c1dde['permissions']&&_0x6c1dde['permissions']['length']||(_0x6c1dde['permissions']=[]),_0x6c1dde['permissions']['push'](_0x51d51a['string']());break;default:_0x51d51a['skipType'](0x7&tag,_0x11519c);}}return _0x6c1dde;},SessionsSocketDescriptor['decodeDelimited']=function(_0x2c1678){return _0x2c1678 instanceof _0x5a128a||(_0x2c1678=new _0x5a128a(_0x2c1678)),this['decode'](_0x2c1678,_0x2c1678['uint32']());},SessionsSocketDescriptor['verify']=function(_0x5408d3,_0x4fa06e){if('object'!=typeof _0x5408d3||null===_0x5408d3)return'object\x20expected';if(void 0x0===_0x4fa06e&&(_0x4fa06e=0x0),_0x4fa06e>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5408d3['session']&&Object['hasOwnProperty']['call'](_0x5408d3,'session')&&!$util['isString'](_0x5408d3['session']))return'session:\x20string\x20expected';if(null!=_0x5408d3['user']&&Object['hasOwnProperty']['call'](_0x5408d3,'user')&&!$util['isString'](_0x5408d3['user']))return'user:\x20string\x20expected';if(null!=_0x5408d3['role']&&Object['hasOwnProperty']['call'](_0x5408d3,'role')&&!$util['isString'](_0x5408d3['role']))return'role:\x20string\x20expected';if(null!=_0x5408d3['permissions']&&Object['hasOwnProperty']['call'](_0x5408d3,'permissions')){if(!Array['isArray'](_0x5408d3['permissions']))return'permissions:\x20array\x20expected';for(var _0x5b2e9b=0x0;_0x5b2e9b<_0x5408d3['permissions']['length'];++_0x5b2e9b)if(!$util['isString'](_0x5408d3['permissions'][_0x5b2e9b]))return'permissions:\x20string[]\x20expected';}return null;},SessionsSocketDescriptor['fromObject']=function(object,_0x3bbb80){if(object instanceof $root['SessionsSocketDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.SessionsSocketDescriptor:\x20object\x20expected');if(void 0x0===_0x3bbb80&&(_0x3bbb80=0x0),_0x3bbb80>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3dfe61=new $root['SessionsSocketDescriptor']();if(null!=object['session']&&(_0x3dfe61['session']=String(object['session'])),null!=object['user']&&(_0x3dfe61['user']=String(object['user'])),null!=object['role']&&(_0x3dfe61['role']=String(object['role'])),object['permissions']){if(!Array['isArray'](object['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x3dfe61['permissions']=[];for(var _0x2b1528=0x0;_0x2b1528<object['permissions']['length'];++_0x2b1528)_0x3dfe61['permissions'][_0x2b1528]=String(object['permissions'][_0x2b1528]);}return _0x3dfe61;},SessionsSocketDescriptor['toObject']=function(_0x179c69,options,_0x310f72){if(options||(options={}),void 0x0===_0x310f72&&(_0x310f72=0x0),_0x310f72>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['permissions']=[]),options['defaults']&&(object['session']='',object['user']='',object['role']=''),null!=_0x179c69['session']&&Object['hasOwnProperty']['call'](_0x179c69,'session')&&(object['session']=_0x179c69['session']),null!=_0x179c69['user']&&Object['hasOwnProperty']['call'](_0x179c69,'user')&&(object['user']=_0x179c69['user']),null!=_0x179c69['role']&&Object['hasOwnProperty']['call'](_0x179c69,'role')&&(object['role']=_0x179c69['role']),_0x179c69['permissions']&&_0x179c69['permissions']['length']){object['permissions']=[];for(var _0x55c71e=0x0;_0x55c71e<_0x179c69['permissions']['length'];++_0x55c71e)object['permissions'][_0x55c71e]=_0x179c69['permissions'][_0x55c71e];}return object;},SessionsSocketDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SessionsSocketDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SessionsSocketDescriptor';},SessionsSocketDescriptor;}()),$root['RevisionHistoryUpdateRevisionsResponse']=(function(){function RevisionHistoryUpdateRevisionsResponse(properties){if(properties){for(var _0x448db2=Object['keys'](properties),_0x15e08c=0x0;_0x15e08c<_0x448db2['length'];++_0x15e08c)null!=properties[_0x448db2[_0x15e08c]]&&'__proto__'!==_0x448db2[_0x15e08c]&&(this[_0x448db2[_0x15e08c]]=properties[_0x448db2[_0x15e08c]]);}}return RevisionHistoryUpdateRevisionsResponse['prototype']['requestId']=0x0,RevisionHistoryUpdateRevisionsResponse['create']=function(properties){return new RevisionHistoryUpdateRevisionsResponse(properties);},RevisionHistoryUpdateRevisionsResponse['encode']=function(_0x39b5b5,writer,_0x568fb7){if(writer||(writer=$Writer['create']()),void 0x0===_0x568fb7&&(_0x568fb7=0x0),_0x568fb7>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x39b5b5['requestId']&&Object['hasOwnProperty']['call'](_0x39b5b5,'requestId')&&writer['uint32'](0x8)['uint32'](_0x39b5b5['requestId']),writer;},RevisionHistoryUpdateRevisionsResponse['encodeDelimited']=function(_0x4532e7,writer){return this['encode'](_0x4532e7,writer)['ldelim']();},RevisionHistoryUpdateRevisionsResponse['decode']=function(_0x345aa3,length,_0xd8aec7,_0x47e32a){if(_0x345aa3 instanceof _0x5a128a||(_0x345aa3=_0x5a128a['create'](_0x345aa3)),void 0x0===_0x47e32a&&(_0x47e32a=0x0),_0x47e32a>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x175a41=void 0x0===length?_0x345aa3['len']:_0x345aa3['pos']+length,_0x297cd7=new $root['RevisionHistoryUpdateRevisionsResponse']();_0x345aa3['pos']<_0x175a41;){var tag=_0x345aa3['uint32']();if(tag===_0xd8aec7)break;if(tag>>>0x3==0x1)_0x297cd7['requestId']=_0x345aa3['uint32']();else _0x345aa3['skipType'](0x7&tag,_0x47e32a);}return _0x297cd7;},RevisionHistoryUpdateRevisionsResponse['decodeDelimited']=function(_0x1bb729){return _0x1bb729 instanceof _0x5a128a||(_0x1bb729=new _0x5a128a(_0x1bb729)),this['decode'](_0x1bb729,_0x1bb729['uint32']());},RevisionHistoryUpdateRevisionsResponse['verify']=function(_0x1612ba,_0x39f44f){return'object'!=typeof _0x1612ba||null===_0x1612ba?'object\x20expected':(void 0x0===_0x39f44f&&(_0x39f44f=0x0),_0x39f44f>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1612ba['requestId']&&Object['hasOwnProperty']['call'](_0x1612ba,'requestId')&&!$util['isInteger'](_0x1612ba['requestId'])?'requestId:\x20integer\x20expected':null);},RevisionHistoryUpdateRevisionsResponse['fromObject']=function(object,_0x5807d9){if(object instanceof $root['RevisionHistoryUpdateRevisionsResponse'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryUpdateRevisionsResponse:\x20object\x20expected');if(void 0x0===_0x5807d9&&(_0x5807d9=0x0),_0x5807d9>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x30aa86=new $root['RevisionHistoryUpdateRevisionsResponse']();return null!=object['requestId']&&(_0x30aa86['requestId']=object['requestId']>>>0x0),_0x30aa86;},RevisionHistoryUpdateRevisionsResponse['toObject']=function(_0xa4bbd6,options,_0xa59c7a){if(options||(options={}),void 0x0===_0xa59c7a&&(_0xa59c7a=0x0),_0xa59c7a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['requestId']=0x0),null!=_0xa4bbd6['requestId']&&Object['hasOwnProperty']['call'](_0xa4bbd6,'requestId')&&(object['requestId']=_0xa4bbd6['requestId']),object;},RevisionHistoryUpdateRevisionsResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryUpdateRevisionsResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryUpdateRevisionsResponse';},RevisionHistoryUpdateRevisionsResponse;}()),$root['RevisionHistoryGetRevisionResponse']=(function(){function RevisionHistoryGetRevisionResponse(properties){if(properties){for(var _0x3e8c46=Object['keys'](properties),_0x51c7c3=0x0;_0x51c7c3<_0x3e8c46['length'];++_0x51c7c3)null!=properties[_0x3e8c46[_0x51c7c3]]&&'__proto__'!==_0x3e8c46[_0x51c7c3]&&(this[_0x3e8c46[_0x51c7c3]]=properties[_0x3e8c46[_0x51c7c3]]);}}return RevisionHistoryGetRevisionResponse['prototype']['revisionId']='',RevisionHistoryGetRevisionResponse['prototype']['name']='',RevisionHistoryGetRevisionResponse['prototype']['creatorId']='',RevisionHistoryGetRevisionResponse['prototype']['authorsIds']='',RevisionHistoryGetRevisionResponse['prototype']['diffData']='',RevisionHistoryGetRevisionResponse['prototype']['createdAt']='',RevisionHistoryGetRevisionResponse['prototype']['attributes']='',RevisionHistoryGetRevisionResponse['prototype']['toVersion']=0x0,RevisionHistoryGetRevisionResponse['prototype']['fromVersion']=0x0,RevisionHistoryGetRevisionResponse['prototype']['isEmptyCurrent']=!0x1,RevisionHistoryGetRevisionResponse['create']=function(properties){return new RevisionHistoryGetRevisionResponse(properties);},RevisionHistoryGetRevisionResponse['encode']=function(_0x18e718,writer,_0x23bf4b){if(writer||(writer=$Writer['create']()),void 0x0===_0x23bf4b&&(_0x23bf4b=0x0),_0x23bf4b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x18e718['revisionId']&&Object['hasOwnProperty']['call'](_0x18e718,'revisionId')&&writer['uint32'](0xa)['string'](_0x18e718['revisionId']),null!=_0x18e718['name']&&Object['hasOwnProperty']['call'](_0x18e718,'name')&&writer['uint32'](0x12)['string'](_0x18e718['name']),null!=_0x18e718['creatorId']&&Object['hasOwnProperty']['call'](_0x18e718,'creatorId')&&writer['uint32'](0x1a)['string'](_0x18e718['creatorId']),null!=_0x18e718['authorsIds']&&Object['hasOwnProperty']['call'](_0x18e718,'authorsIds')&&writer['uint32'](0x22)['string'](_0x18e718['authorsIds']),null!=_0x18e718['diffData']&&Object['hasOwnProperty']['call'](_0x18e718,'diffData')&&writer['uint32'](0x2a)['string'](_0x18e718['diffData']),null!=_0x18e718['createdAt']&&Object['hasOwnProperty']['call'](_0x18e718,'createdAt')&&writer['uint32'](0x32)['string'](_0x18e718['createdAt']),null!=_0x18e718['attributes']&&Object['hasOwnProperty']['call'](_0x18e718,'attributes')&&writer['uint32'](0x3a)['string'](_0x18e718['attributes']),null!=_0x18e718['toVersion']&&Object['hasOwnProperty']['call'](_0x18e718,'toVersion')&&writer['uint32'](0x40)['uint32'](_0x18e718['toVersion']),null!=_0x18e718['fromVersion']&&Object['hasOwnProperty']['call'](_0x18e718,'fromVersion')&&writer['uint32'](0x48)['uint32'](_0x18e718['fromVersion']),null!=_0x18e718['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x18e718,'isEmptyCurrent')&&writer['uint32'](0x50)['bool'](_0x18e718['isEmptyCurrent']),writer;},RevisionHistoryGetRevisionResponse['encodeDelimited']=function(_0x4b6b89,writer){return this['encode'](_0x4b6b89,writer)['ldelim']();},RevisionHistoryGetRevisionResponse['decode']=function(_0x31d993,length,_0x244b3e,_0x26ef35){if(_0x31d993 instanceof _0x5a128a||(_0x31d993=_0x5a128a['create'](_0x31d993)),void 0x0===_0x26ef35&&(_0x26ef35=0x0),_0x26ef35>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4dd0d2=void 0x0===length?_0x31d993['len']:_0x31d993['pos']+length,_0x2e23dd=new $root['RevisionHistoryGetRevisionResponse']();_0x31d993['pos']<_0x4dd0d2;){var tag=_0x31d993['uint32']();if(tag===_0x244b3e)break;switch(tag>>>0x3){case 0x1:_0x2e23dd['revisionId']=_0x31d993['string']();break;case 0x2:_0x2e23dd['name']=_0x31d993['string']();break;case 0x3:_0x2e23dd['creatorId']=_0x31d993['string']();break;case 0x4:_0x2e23dd['authorsIds']=_0x31d993['string']();break;case 0x5:_0x2e23dd['diffData']=_0x31d993['string']();break;case 0x6:_0x2e23dd['createdAt']=_0x31d993['string']();break;case 0x7:_0x2e23dd['attributes']=_0x31d993['string']();break;case 0x8:_0x2e23dd['toVersion']=_0x31d993['uint32']();break;case 0x9:_0x2e23dd['fromVersion']=_0x31d993['uint32']();break;case 0xa:_0x2e23dd['isEmptyCurrent']=_0x31d993['bool']();break;default:_0x31d993['skipType'](0x7&tag,_0x26ef35);}}return _0x2e23dd;},RevisionHistoryGetRevisionResponse['decodeDelimited']=function(_0x35ef1f){return _0x35ef1f instanceof _0x5a128a||(_0x35ef1f=new _0x5a128a(_0x35ef1f)),this['decode'](_0x35ef1f,_0x35ef1f['uint32']());},RevisionHistoryGetRevisionResponse['verify']=function(_0x2fe687,_0x35cf85){return'object'!=typeof _0x2fe687||null===_0x2fe687?'object\x20expected':(void 0x0===_0x35cf85&&(_0x35cf85=0x0),_0x35cf85>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2fe687['revisionId']&&Object['hasOwnProperty']['call'](_0x2fe687,'revisionId')&&!$util['isString'](_0x2fe687['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x2fe687['name']&&Object['hasOwnProperty']['call'](_0x2fe687,'name')&&!$util['isString'](_0x2fe687['name'])?'name:\x20string\x20expected':null!=_0x2fe687['creatorId']&&Object['hasOwnProperty']['call'](_0x2fe687,'creatorId')&&!$util['isString'](_0x2fe687['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x2fe687['authorsIds']&&Object['hasOwnProperty']['call'](_0x2fe687,'authorsIds')&&!$util['isString'](_0x2fe687['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x2fe687['diffData']&&Object['hasOwnProperty']['call'](_0x2fe687,'diffData')&&!$util['isString'](_0x2fe687['diffData'])?'diffData:\x20string\x20expected':null!=_0x2fe687['createdAt']&&Object['hasOwnProperty']['call'](_0x2fe687,'createdAt')&&!$util['isString'](_0x2fe687['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x2fe687['attributes']&&Object['hasOwnProperty']['call'](_0x2fe687,'attributes')&&!$util['isString'](_0x2fe687['attributes'])?'attributes:\x20string\x20expected':null!=_0x2fe687['toVersion']&&Object['hasOwnProperty']['call'](_0x2fe687,'toVersion')&&!$util['isInteger'](_0x2fe687['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x2fe687['fromVersion']&&Object['hasOwnProperty']['call'](_0x2fe687,'fromVersion')&&!$util['isInteger'](_0x2fe687['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x2fe687['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x2fe687,'isEmptyCurrent')&&'boolean'!=typeof _0x2fe687['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},RevisionHistoryGetRevisionResponse['fromObject']=function(object,_0x53ad7f){if(object instanceof $root['RevisionHistoryGetRevisionResponse'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryGetRevisionResponse:\x20object\x20expected');if(void 0x0===_0x53ad7f&&(_0x53ad7f=0x0),_0x53ad7f>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1ca7a0=new $root['RevisionHistoryGetRevisionResponse']();return null!=object['revisionId']&&(_0x1ca7a0['revisionId']=String(object['revisionId'])),null!=object['name']&&(_0x1ca7a0['name']=String(object['name'])),null!=object['creatorId']&&(_0x1ca7a0['creatorId']=String(object['creatorId'])),null!=object['authorsIds']&&(_0x1ca7a0['authorsIds']=String(object['authorsIds'])),null!=object['diffData']&&(_0x1ca7a0['diffData']=String(object['diffData'])),null!=object['createdAt']&&(_0x1ca7a0['createdAt']=String(object['createdAt'])),null!=object['attributes']&&(_0x1ca7a0['attributes']=String(object['attributes'])),null!=object['toVersion']&&(_0x1ca7a0['toVersion']=object['toVersion']>>>0x0),null!=object['fromVersion']&&(_0x1ca7a0['fromVersion']=object['fromVersion']>>>0x0),null!=object['isEmptyCurrent']&&(_0x1ca7a0['isEmptyCurrent']=Boolean(object['isEmptyCurrent'])),_0x1ca7a0;},RevisionHistoryGetRevisionResponse['toObject']=function(_0x3b8b3a,options,_0x10f86a){if(options||(options={}),void 0x0===_0x10f86a&&(_0x10f86a=0x0),_0x10f86a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['revisionId']='',object['name']='',object['creatorId']='',object['authorsIds']='',object['diffData']='',object['createdAt']='',object['attributes']='',object['toVersion']=0x0,object['fromVersion']=0x0,object['isEmptyCurrent']=!0x1),null!=_0x3b8b3a['revisionId']&&Object['hasOwnProperty']['call'](_0x3b8b3a,'revisionId')&&(object['revisionId']=_0x3b8b3a['revisionId']),null!=_0x3b8b3a['name']&&Object['hasOwnProperty']['call'](_0x3b8b3a,'name')&&(object['name']=_0x3b8b3a['name']),null!=_0x3b8b3a['creatorId']&&Object['hasOwnProperty']['call'](_0x3b8b3a,'creatorId')&&(object['creatorId']=_0x3b8b3a['creatorId']),null!=_0x3b8b3a['authorsIds']&&Object['hasOwnProperty']['call'](_0x3b8b3a,'authorsIds')&&(object['authorsIds']=_0x3b8b3a['authorsIds']),null!=_0x3b8b3a['diffData']&&Object['hasOwnProperty']['call'](_0x3b8b3a,'diffData')&&(object['diffData']=_0x3b8b3a['diffData']),null!=_0x3b8b3a['createdAt']&&Object['hasOwnProperty']['call'](_0x3b8b3a,'createdAt')&&(object['createdAt']=_0x3b8b3a['createdAt']),null!=_0x3b8b3a['attributes']&&Object['hasOwnProperty']['call'](_0x3b8b3a,'attributes')&&(object['attributes']=_0x3b8b3a['attributes']),null!=_0x3b8b3a['toVersion']&&Object['hasOwnProperty']['call'](_0x3b8b3a,'toVersion')&&(object['toVersion']=_0x3b8b3a['toVersion']),null!=_0x3b8b3a['fromVersion']&&Object['hasOwnProperty']['call'](_0x3b8b3a,'fromVersion')&&(object['fromVersion']=_0x3b8b3a['fromVersion']),null!=_0x3b8b3a['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x3b8b3a,'isEmptyCurrent')&&(object['isEmptyCurrent']=_0x3b8b3a['isEmptyCurrent']),object;},RevisionHistoryGetRevisionResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryGetRevisionResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryGetRevisionResponse';},RevisionHistoryGetRevisionResponse;}()),$root['RevisionHistoryConnectResponse']=(function(){function RevisionHistoryConnectResponse(properties){if(this['revisions']=[],properties){for(var _0x1d1b86=Object['keys'](properties),_0x806c53=0x0;_0x806c53<_0x1d1b86['length'];++_0x806c53)null!=properties[_0x1d1b86[_0x806c53]]&&'__proto__'!==_0x1d1b86[_0x806c53]&&(this[_0x1d1b86[_0x806c53]]=properties[_0x1d1b86[_0x806c53]]);}}return RevisionHistoryConnectResponse['prototype']['channel']='',RevisionHistoryConnectResponse['prototype']['requestId']=0x0,RevisionHistoryConnectResponse['prototype']['revisions']=$util['emptyArray'],RevisionHistoryConnectResponse['create']=function(properties){return new RevisionHistoryConnectResponse(properties);},RevisionHistoryConnectResponse['encode']=function(_0x5e4ca4,writer,_0x1a7c58){if(writer||(writer=$Writer['create']()),void 0x0===_0x1a7c58&&(_0x1a7c58=0x0),_0x1a7c58>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x5e4ca4['channel']&&Object['hasOwnProperty']['call'](_0x5e4ca4,'channel')&&writer['uint32'](0xa)['string'](_0x5e4ca4['channel']),null!=_0x5e4ca4['requestId']&&Object['hasOwnProperty']['call'](_0x5e4ca4,'requestId')&&writer['uint32'](0x10)['uint32'](_0x5e4ca4['requestId']),null!=_0x5e4ca4['revisions']&&_0x5e4ca4['revisions']['length']){for(var _0xc0fda3=0x0;_0xc0fda3<_0x5e4ca4['revisions']['length'];++_0xc0fda3)$root['RevisionDescriptor']['encode'](_0x5e4ca4['revisions'][_0xc0fda3],writer['uint32'](0x1a)['fork'](),_0x1a7c58+0x1)['ldelim']();}return writer;},RevisionHistoryConnectResponse['encodeDelimited']=function(_0x595d84,writer){return this['encode'](_0x595d84,writer)['ldelim']();},RevisionHistoryConnectResponse['decode']=function(_0xc61d1d,length,_0x2b3e49,_0x4c869f){if(_0xc61d1d instanceof _0x5a128a||(_0xc61d1d=_0x5a128a['create'](_0xc61d1d)),void 0x0===_0x4c869f&&(_0x4c869f=0x0),_0x4c869f>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x147d44=void 0x0===length?_0xc61d1d['len']:_0xc61d1d['pos']+length,_0x541d56=new $root['RevisionHistoryConnectResponse']();_0xc61d1d['pos']<_0x147d44;){var tag=_0xc61d1d['uint32']();if(tag===_0x2b3e49)break;switch(tag>>>0x3){case 0x1:_0x541d56['channel']=_0xc61d1d['string']();break;case 0x2:_0x541d56['requestId']=_0xc61d1d['uint32']();break;case 0x3:_0x541d56['revisions']&&_0x541d56['revisions']['length']||(_0x541d56['revisions']=[]),_0x541d56['revisions']['push']($root['RevisionDescriptor']['decode'](_0xc61d1d,_0xc61d1d['uint32'](),void 0x0,_0x4c869f+0x1));break;default:_0xc61d1d['skipType'](0x7&tag,_0x4c869f);}}return _0x541d56;},RevisionHistoryConnectResponse['decodeDelimited']=function(_0x3a0936){return _0x3a0936 instanceof _0x5a128a||(_0x3a0936=new _0x5a128a(_0x3a0936)),this['decode'](_0x3a0936,_0x3a0936['uint32']());},RevisionHistoryConnectResponse['verify']=function(_0x1c01a6,_0x526cb2){if('object'!=typeof _0x1c01a6||null===_0x1c01a6)return'object\x20expected';if(void 0x0===_0x526cb2&&(_0x526cb2=0x0),_0x526cb2>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1c01a6['channel']&&Object['hasOwnProperty']['call'](_0x1c01a6,'channel')&&!$util['isString'](_0x1c01a6['channel']))return'channel:\x20string\x20expected';if(null!=_0x1c01a6['requestId']&&Object['hasOwnProperty']['call'](_0x1c01a6,'requestId')&&!$util['isInteger'](_0x1c01a6['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x1c01a6['revisions']&&Object['hasOwnProperty']['call'](_0x1c01a6,'revisions')){if(!Array['isArray'](_0x1c01a6['revisions']))return'revisions:\x20array\x20expected';for(var _0x488e03=0x0;_0x488e03<_0x1c01a6['revisions']['length'];++_0x488e03){var _0x5ee16e=$root['RevisionDescriptor']['verify'](_0x1c01a6['revisions'][_0x488e03],_0x526cb2+0x1);if(_0x5ee16e)return'revisions.'+_0x5ee16e;}}return null;},RevisionHistoryConnectResponse['fromObject']=function(object,_0x443e95){if(object instanceof $root['RevisionHistoryConnectResponse'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryConnectResponse:\x20object\x20expected');if(void 0x0===_0x443e95&&(_0x443e95=0x0),_0x443e95>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x17dff2=new $root['RevisionHistoryConnectResponse']();if(null!=object['channel']&&(_0x17dff2['channel']=String(object['channel'])),null!=object['requestId']&&(_0x17dff2['requestId']=object['requestId']>>>0x0),object['revisions']){if(!Array['isArray'](object['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x17dff2['revisions']=[];for(var _0x125099=0x0;_0x125099<object['revisions']['length'];++_0x125099){if(!$util['isObject'](object['revisions'][_0x125099]))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x17dff2['revisions'][_0x125099]=$root['RevisionDescriptor']['fromObject'](object['revisions'][_0x125099],_0x443e95+0x1);}}return _0x17dff2;},RevisionHistoryConnectResponse['toObject']=function(_0x358f6c,options,_0x36f9b2){if(options||(options={}),void 0x0===_0x36f9b2&&(_0x36f9b2=0x0),_0x36f9b2>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['revisions']=[]),options['defaults']&&(object['channel']='',object['requestId']=0x0),null!=_0x358f6c['channel']&&Object['hasOwnProperty']['call'](_0x358f6c,'channel')&&(object['channel']=_0x358f6c['channel']),null!=_0x358f6c['requestId']&&Object['hasOwnProperty']['call'](_0x358f6c,'requestId')&&(object['requestId']=_0x358f6c['requestId']),_0x358f6c['revisions']&&_0x358f6c['revisions']['length']){object['revisions']=[];for(var _0x56d48e=0x0;_0x56d48e<_0x358f6c['revisions']['length'];++_0x56d48e)object['revisions'][_0x56d48e]=$root['RevisionDescriptor']['toObject'](_0x358f6c['revisions'][_0x56d48e],options,_0x36f9b2+0x1);}return object;},RevisionHistoryConnectResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryConnectResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryConnectResponse';},RevisionHistoryConnectResponse;}()),$root['RevisionHistoryUpdateRevisionsMessage']=(function(){function RevisionHistoryUpdateRevisionsMessage(properties){if(this['revisions']=[],properties){for(var _0x5101d4=Object['keys'](properties),_0x3d2b9b=0x0;_0x3d2b9b<_0x5101d4['length'];++_0x3d2b9b)null!=properties[_0x5101d4[_0x3d2b9b]]&&'__proto__'!==_0x5101d4[_0x3d2b9b]&&(this[_0x5101d4[_0x3d2b9b]]=properties[_0x5101d4[_0x3d2b9b]]);}}return RevisionHistoryUpdateRevisionsMessage['prototype']['documentId']='',RevisionHistoryUpdateRevisionsMessage['prototype']['requestId']=0x0,RevisionHistoryUpdateRevisionsMessage['prototype']['revisions']=$util['emptyArray'],RevisionHistoryUpdateRevisionsMessage['create']=function(properties){return new RevisionHistoryUpdateRevisionsMessage(properties);},RevisionHistoryUpdateRevisionsMessage['encode']=function(_0x43aa9d,writer,_0x18f86d){if(writer||(writer=$Writer['create']()),void 0x0===_0x18f86d&&(_0x18f86d=0x0),_0x18f86d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x43aa9d['documentId']&&Object['hasOwnProperty']['call'](_0x43aa9d,'documentId')&&writer['uint32'](0xa)['string'](_0x43aa9d['documentId']),null!=_0x43aa9d['requestId']&&Object['hasOwnProperty']['call'](_0x43aa9d,'requestId')&&writer['uint32'](0x10)['uint32'](_0x43aa9d['requestId']),null!=_0x43aa9d['revisions']&&_0x43aa9d['revisions']['length']){for(var _0x40963b=0x0;_0x40963b<_0x43aa9d['revisions']['length'];++_0x40963b)$root['RevisionDescriptor']['encode'](_0x43aa9d['revisions'][_0x40963b],writer['uint32'](0x1a)['fork'](),_0x18f86d+0x1)['ldelim']();}return writer;},RevisionHistoryUpdateRevisionsMessage['encodeDelimited']=function(_0x378f96,writer){return this['encode'](_0x378f96,writer)['ldelim']();},RevisionHistoryUpdateRevisionsMessage['decode']=function(_0x4629d6,length,_0x4364d5,_0xcdfc02){if(_0x4629d6 instanceof _0x5a128a||(_0x4629d6=_0x5a128a['create'](_0x4629d6)),void 0x0===_0xcdfc02&&(_0xcdfc02=0x0),_0xcdfc02>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2039ca=void 0x0===length?_0x4629d6['len']:_0x4629d6['pos']+length,_0x1562c3=new $root['RevisionHistoryUpdateRevisionsMessage']();_0x4629d6['pos']<_0x2039ca;){var tag=_0x4629d6['uint32']();if(tag===_0x4364d5)break;switch(tag>>>0x3){case 0x1:_0x1562c3['documentId']=_0x4629d6['string']();break;case 0x2:_0x1562c3['requestId']=_0x4629d6['uint32']();break;case 0x3:_0x1562c3['revisions']&&_0x1562c3['revisions']['length']||(_0x1562c3['revisions']=[]),_0x1562c3['revisions']['push']($root['RevisionDescriptor']['decode'](_0x4629d6,_0x4629d6['uint32'](),void 0x0,_0xcdfc02+0x1));break;default:_0x4629d6['skipType'](0x7&tag,_0xcdfc02);}}return _0x1562c3;},RevisionHistoryUpdateRevisionsMessage['decodeDelimited']=function(_0x599013){return _0x599013 instanceof _0x5a128a||(_0x599013=new _0x5a128a(_0x599013)),this['decode'](_0x599013,_0x599013['uint32']());},RevisionHistoryUpdateRevisionsMessage['verify']=function(_0x33ef9c,_0x121525){if('object'!=typeof _0x33ef9c||null===_0x33ef9c)return'object\x20expected';if(void 0x0===_0x121525&&(_0x121525=0x0),_0x121525>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x33ef9c['documentId']&&Object['hasOwnProperty']['call'](_0x33ef9c,'documentId')&&!$util['isString'](_0x33ef9c['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x33ef9c['requestId']&&Object['hasOwnProperty']['call'](_0x33ef9c,'requestId')&&!$util['isInteger'](_0x33ef9c['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x33ef9c['revisions']&&Object['hasOwnProperty']['call'](_0x33ef9c,'revisions')){if(!Array['isArray'](_0x33ef9c['revisions']))return'revisions:\x20array\x20expected';for(var _0x2f49b9=0x0;_0x2f49b9<_0x33ef9c['revisions']['length'];++_0x2f49b9){var _0x262f32=$root['RevisionDescriptor']['verify'](_0x33ef9c['revisions'][_0x2f49b9],_0x121525+0x1);if(_0x262f32)return'revisions.'+_0x262f32;}}return null;},RevisionHistoryUpdateRevisionsMessage['fromObject']=function(object,_0x410b18){if(object instanceof $root['RevisionHistoryUpdateRevisionsMessage'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryUpdateRevisionsMessage:\x20object\x20expected');if(void 0x0===_0x410b18&&(_0x410b18=0x0),_0x410b18>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x186912=new $root['RevisionHistoryUpdateRevisionsMessage']();if(null!=object['documentId']&&(_0x186912['documentId']=String(object['documentId'])),null!=object['requestId']&&(_0x186912['requestId']=object['requestId']>>>0x0),object['revisions']){if(!Array['isArray'](object['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x186912['revisions']=[];for(var _0x47fce8=0x0;_0x47fce8<object['revisions']['length'];++_0x47fce8){if(!$util['isObject'](object['revisions'][_0x47fce8]))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x186912['revisions'][_0x47fce8]=$root['RevisionDescriptor']['fromObject'](object['revisions'][_0x47fce8],_0x410b18+0x1);}}return _0x186912;},RevisionHistoryUpdateRevisionsMessage['toObject']=function(_0x5779ed,options,_0x4b8b17){if(options||(options={}),void 0x0===_0x4b8b17&&(_0x4b8b17=0x0),_0x4b8b17>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['revisions']=[]),options['defaults']&&(object['documentId']='',object['requestId']=0x0),null!=_0x5779ed['documentId']&&Object['hasOwnProperty']['call'](_0x5779ed,'documentId')&&(object['documentId']=_0x5779ed['documentId']),null!=_0x5779ed['requestId']&&Object['hasOwnProperty']['call'](_0x5779ed,'requestId')&&(object['requestId']=_0x5779ed['requestId']),_0x5779ed['revisions']&&_0x5779ed['revisions']['length']){object['revisions']=[];for(var _0x3fb38a=0x0;_0x3fb38a<_0x5779ed['revisions']['length'];++_0x3fb38a)object['revisions'][_0x3fb38a]=$root['RevisionDescriptor']['toObject'](_0x5779ed['revisions'][_0x3fb38a],options,_0x4b8b17+0x1);}return object;},RevisionHistoryUpdateRevisionsMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryUpdateRevisionsMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryUpdateRevisionsMessage';},RevisionHistoryUpdateRevisionsMessage;}()),$root['RevisionHistoryReconnectMessage']=(function(){function RevisionHistoryReconnectMessage(properties){if(properties){for(var _0x1f94c4=Object['keys'](properties),_0x3e52f2=0x0;_0x3e52f2<_0x1f94c4['length'];++_0x3e52f2)null!=properties[_0x1f94c4[_0x3e52f2]]&&'__proto__'!==_0x1f94c4[_0x3e52f2]&&(this[_0x1f94c4[_0x3e52f2]]=properties[_0x1f94c4[_0x3e52f2]]);}}return RevisionHistoryReconnectMessage['prototype']['documentId']='',RevisionHistoryReconnectMessage['prototype']['requestId']=0x0,RevisionHistoryReconnectMessage['create']=function(properties){return new RevisionHistoryReconnectMessage(properties);},RevisionHistoryReconnectMessage['encode']=function(_0xd81e09,writer,_0x9ca901){if(writer||(writer=$Writer['create']()),void 0x0===_0x9ca901&&(_0x9ca901=0x0),_0x9ca901>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0xd81e09['documentId']&&Object['hasOwnProperty']['call'](_0xd81e09,'documentId')&&writer['uint32'](0xa)['string'](_0xd81e09['documentId']),null!=_0xd81e09['requestId']&&Object['hasOwnProperty']['call'](_0xd81e09,'requestId')&&writer['uint32'](0x10)['uint32'](_0xd81e09['requestId']),writer;},RevisionHistoryReconnectMessage['encodeDelimited']=function(_0x5b3a56,writer){return this['encode'](_0x5b3a56,writer)['ldelim']();},RevisionHistoryReconnectMessage['decode']=function(_0x52a325,length,_0x50cfeb,_0x5d1eaf){if(_0x52a325 instanceof _0x5a128a||(_0x52a325=_0x5a128a['create'](_0x52a325)),void 0x0===_0x5d1eaf&&(_0x5d1eaf=0x0),_0x5d1eaf>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x41c2a3=void 0x0===length?_0x52a325['len']:_0x52a325['pos']+length,_0x40356c=new $root['RevisionHistoryReconnectMessage']();_0x52a325['pos']<_0x41c2a3;){var tag=_0x52a325['uint32']();if(tag===_0x50cfeb)break;switch(tag>>>0x3){case 0x1:_0x40356c['documentId']=_0x52a325['string']();break;case 0x2:_0x40356c['requestId']=_0x52a325['uint32']();break;default:_0x52a325['skipType'](0x7&tag,_0x5d1eaf);}}return _0x40356c;},RevisionHistoryReconnectMessage['decodeDelimited']=function(_0x1411d3){return _0x1411d3 instanceof _0x5a128a||(_0x1411d3=new _0x5a128a(_0x1411d3)),this['decode'](_0x1411d3,_0x1411d3['uint32']());},RevisionHistoryReconnectMessage['verify']=function(_0x479634,_0x55843e){return'object'!=typeof _0x479634||null===_0x479634?'object\x20expected':(void 0x0===_0x55843e&&(_0x55843e=0x0),_0x55843e>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x479634['documentId']&&Object['hasOwnProperty']['call'](_0x479634,'documentId')&&!$util['isString'](_0x479634['documentId'])?'documentId:\x20string\x20expected':null!=_0x479634['requestId']&&Object['hasOwnProperty']['call'](_0x479634,'requestId')&&!$util['isInteger'](_0x479634['requestId'])?'requestId:\x20integer\x20expected':null);},RevisionHistoryReconnectMessage['fromObject']=function(object,_0x4df4d7){if(object instanceof $root['RevisionHistoryReconnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryReconnectMessage:\x20object\x20expected');if(void 0x0===_0x4df4d7&&(_0x4df4d7=0x0),_0x4df4d7>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4ce237=new $root['RevisionHistoryReconnectMessage']();return null!=object['documentId']&&(_0x4ce237['documentId']=String(object['documentId'])),null!=object['requestId']&&(_0x4ce237['requestId']=object['requestId']>>>0x0),_0x4ce237;},RevisionHistoryReconnectMessage['toObject']=function(_0x9040e1,options,_0x1c606e){if(options||(options={}),void 0x0===_0x1c606e&&(_0x1c606e=0x0),_0x1c606e>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']='',object['requestId']=0x0),null!=_0x9040e1['documentId']&&Object['hasOwnProperty']['call'](_0x9040e1,'documentId')&&(object['documentId']=_0x9040e1['documentId']),null!=_0x9040e1['requestId']&&Object['hasOwnProperty']['call'](_0x9040e1,'requestId')&&(object['requestId']=_0x9040e1['requestId']),object;},RevisionHistoryReconnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryReconnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryReconnectMessage';},RevisionHistoryReconnectMessage;}()),$root['RevisionHistoryGetRevisionMessage']=(function(){function RevisionHistoryGetRevisionMessage(properties){if(properties){for(var _0x1505d3=Object['keys'](properties),_0x35d1af=0x0;_0x35d1af<_0x1505d3['length'];++_0x35d1af)null!=properties[_0x1505d3[_0x35d1af]]&&'__proto__'!==_0x1505d3[_0x35d1af]&&(this[_0x1505d3[_0x35d1af]]=properties[_0x1505d3[_0x35d1af]]);}}return RevisionHistoryGetRevisionMessage['prototype']['documentId']='',RevisionHistoryGetRevisionMessage['prototype']['revisionId']='',RevisionHistoryGetRevisionMessage['create']=function(properties){return new RevisionHistoryGetRevisionMessage(properties);},RevisionHistoryGetRevisionMessage['encode']=function(_0x1fab7f,writer,_0x1c6754){if(writer||(writer=$Writer['create']()),void 0x0===_0x1c6754&&(_0x1c6754=0x0),_0x1c6754>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1fab7f['documentId']&&Object['hasOwnProperty']['call'](_0x1fab7f,'documentId')&&writer['uint32'](0xa)['string'](_0x1fab7f['documentId']),null!=_0x1fab7f['revisionId']&&Object['hasOwnProperty']['call'](_0x1fab7f,'revisionId')&&writer['uint32'](0x12)['string'](_0x1fab7f['revisionId']),writer;},RevisionHistoryGetRevisionMessage['encodeDelimited']=function(_0x268fa9,writer){return this['encode'](_0x268fa9,writer)['ldelim']();},RevisionHistoryGetRevisionMessage['decode']=function(_0x3e2092,length,_0x19e9fb,_0x15194d){if(_0x3e2092 instanceof _0x5a128a||(_0x3e2092=_0x5a128a['create'](_0x3e2092)),void 0x0===_0x15194d&&(_0x15194d=0x0),_0x15194d>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2bbe71=void 0x0===length?_0x3e2092['len']:_0x3e2092['pos']+length,_0x3d0fcf=new $root['RevisionHistoryGetRevisionMessage']();_0x3e2092['pos']<_0x2bbe71;){var tag=_0x3e2092['uint32']();if(tag===_0x19e9fb)break;switch(tag>>>0x3){case 0x1:_0x3d0fcf['documentId']=_0x3e2092['string']();break;case 0x2:_0x3d0fcf['revisionId']=_0x3e2092['string']();break;default:_0x3e2092['skipType'](0x7&tag,_0x15194d);}}return _0x3d0fcf;},RevisionHistoryGetRevisionMessage['decodeDelimited']=function(_0x2bb30b){return _0x2bb30b instanceof _0x5a128a||(_0x2bb30b=new _0x5a128a(_0x2bb30b)),this['decode'](_0x2bb30b,_0x2bb30b['uint32']());},RevisionHistoryGetRevisionMessage['verify']=function(_0x503982,_0x53640e){return'object'!=typeof _0x503982||null===_0x503982?'object\x20expected':(void 0x0===_0x53640e&&(_0x53640e=0x0),_0x53640e>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x503982['documentId']&&Object['hasOwnProperty']['call'](_0x503982,'documentId')&&!$util['isString'](_0x503982['documentId'])?'documentId:\x20string\x20expected':null!=_0x503982['revisionId']&&Object['hasOwnProperty']['call'](_0x503982,'revisionId')&&!$util['isString'](_0x503982['revisionId'])?'revisionId:\x20string\x20expected':null);},RevisionHistoryGetRevisionMessage['fromObject']=function(object,_0x8a838b){if(object instanceof $root['RevisionHistoryGetRevisionMessage'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryGetRevisionMessage:\x20object\x20expected');if(void 0x0===_0x8a838b&&(_0x8a838b=0x0),_0x8a838b>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1d3f27=new $root['RevisionHistoryGetRevisionMessage']();return null!=object['documentId']&&(_0x1d3f27['documentId']=String(object['documentId'])),null!=object['revisionId']&&(_0x1d3f27['revisionId']=String(object['revisionId'])),_0x1d3f27;},RevisionHistoryGetRevisionMessage['toObject']=function(_0x5353a9,options,_0x4c2c65){if(options||(options={}),void 0x0===_0x4c2c65&&(_0x4c2c65=0x0),_0x4c2c65>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']='',object['revisionId']=''),null!=_0x5353a9['documentId']&&Object['hasOwnProperty']['call'](_0x5353a9,'documentId')&&(object['documentId']=_0x5353a9['documentId']),null!=_0x5353a9['revisionId']&&Object['hasOwnProperty']['call'](_0x5353a9,'revisionId')&&(object['revisionId']=_0x5353a9['revisionId']),object;},RevisionHistoryGetRevisionMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryGetRevisionMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryGetRevisionMessage';},RevisionHistoryGetRevisionMessage;}()),$root['RevisionHistoryConnectMessage']=(function(){function RevisionHistoryConnectMessage(properties){if(properties){for(var _0x2749f4=Object['keys'](properties),_0x29b0b2=0x0;_0x29b0b2<_0x2749f4['length'];++_0x29b0b2)null!=properties[_0x2749f4[_0x29b0b2]]&&'__proto__'!==_0x2749f4[_0x29b0b2]&&(this[_0x2749f4[_0x29b0b2]]=properties[_0x2749f4[_0x29b0b2]]);}}return RevisionHistoryConnectMessage['prototype']['documentId']='',RevisionHistoryConnectMessage['create']=function(properties){return new RevisionHistoryConnectMessage(properties);},RevisionHistoryConnectMessage['encode']=function(_0x50f467,writer,_0x5d0585){if(writer||(writer=$Writer['create']()),void 0x0===_0x5d0585&&(_0x5d0585=0x0),_0x5d0585>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x50f467['documentId']&&Object['hasOwnProperty']['call'](_0x50f467,'documentId')&&writer['uint32'](0xa)['string'](_0x50f467['documentId']),writer;},RevisionHistoryConnectMessage['encodeDelimited']=function(_0x434c22,writer){return this['encode'](_0x434c22,writer)['ldelim']();},RevisionHistoryConnectMessage['decode']=function(_0x378e90,length,_0x2409e3,_0xd6edc0){if(_0x378e90 instanceof _0x5a128a||(_0x378e90=_0x5a128a['create'](_0x378e90)),void 0x0===_0xd6edc0&&(_0xd6edc0=0x0),_0xd6edc0>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3517ca=void 0x0===length?_0x378e90['len']:_0x378e90['pos']+length,_0x47b389=new $root['RevisionHistoryConnectMessage']();_0x378e90['pos']<_0x3517ca;){var tag=_0x378e90['uint32']();if(tag===_0x2409e3)break;if(tag>>>0x3==0x1)_0x47b389['documentId']=_0x378e90['string']();else _0x378e90['skipType'](0x7&tag,_0xd6edc0);}return _0x47b389;},RevisionHistoryConnectMessage['decodeDelimited']=function(_0x34bc3b){return _0x34bc3b instanceof _0x5a128a||(_0x34bc3b=new _0x5a128a(_0x34bc3b)),this['decode'](_0x34bc3b,_0x34bc3b['uint32']());},RevisionHistoryConnectMessage['verify']=function(_0x4cfa6d,_0x7e719c){return'object'!=typeof _0x4cfa6d||null===_0x4cfa6d?'object\x20expected':(void 0x0===_0x7e719c&&(_0x7e719c=0x0),_0x7e719c>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4cfa6d['documentId']&&Object['hasOwnProperty']['call'](_0x4cfa6d,'documentId')&&!$util['isString'](_0x4cfa6d['documentId'])?'documentId:\x20string\x20expected':null);},RevisionHistoryConnectMessage['fromObject']=function(object,_0x5a7636){if(object instanceof $root['RevisionHistoryConnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryConnectMessage:\x20object\x20expected');if(void 0x0===_0x5a7636&&(_0x5a7636=0x0),_0x5a7636>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x206c63=new $root['RevisionHistoryConnectMessage']();return null!=object['documentId']&&(_0x206c63['documentId']=String(object['documentId'])),_0x206c63;},RevisionHistoryConnectMessage['toObject']=function(_0x4abf8c,options,_0x5d3fe8){if(options||(options={}),void 0x0===_0x5d3fe8&&(_0x5d3fe8=0x0),_0x5d3fe8>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']=''),null!=_0x4abf8c['documentId']&&Object['hasOwnProperty']['call'](_0x4abf8c,'documentId')&&(object['documentId']=_0x4abf8c['documentId']),object;},RevisionHistoryConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryConnectMessage';},RevisionHistoryConnectMessage;}()),$root['RevisionDescriptor']=(function(){function RevisionDescriptor(properties){if(properties){for(var _0x42383c=Object['keys'](properties),_0x5d431a=0x0;_0x5d431a<_0x42383c['length'];++_0x5d431a)null!=properties[_0x42383c[_0x5d431a]]&&'__proto__'!==_0x42383c[_0x5d431a]&&(this[_0x42383c[_0x5d431a]]=properties[_0x42383c[_0x5d431a]]);}}return RevisionDescriptor['prototype']['revisionId']='',RevisionDescriptor['prototype']['name']='',RevisionDescriptor['prototype']['creatorId']='',RevisionDescriptor['prototype']['authorsIds']='',RevisionDescriptor['prototype']['diffData']='',RevisionDescriptor['prototype']['createdAt']='',RevisionDescriptor['prototype']['attributes']='',RevisionDescriptor['prototype']['toVersion']=0x0,RevisionDescriptor['prototype']['fromVersion']=0x0,RevisionDescriptor['prototype']['isEmptyCurrent']=!0x1,RevisionDescriptor['create']=function(properties){return new RevisionDescriptor(properties);},RevisionDescriptor['encode']=function(_0x44d627,writer,_0x32cbd6){if(writer||(writer=$Writer['create']()),void 0x0===_0x32cbd6&&(_0x32cbd6=0x0),_0x32cbd6>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x44d627['revisionId']&&Object['hasOwnProperty']['call'](_0x44d627,'revisionId')&&writer['uint32'](0xa)['string'](_0x44d627['revisionId']),null!=_0x44d627['name']&&Object['hasOwnProperty']['call'](_0x44d627,'name')&&writer['uint32'](0x12)['string'](_0x44d627['name']),null!=_0x44d627['creatorId']&&Object['hasOwnProperty']['call'](_0x44d627,'creatorId')&&writer['uint32'](0x1a)['string'](_0x44d627['creatorId']),null!=_0x44d627['authorsIds']&&Object['hasOwnProperty']['call'](_0x44d627,'authorsIds')&&writer['uint32'](0x22)['string'](_0x44d627['authorsIds']),null!=_0x44d627['diffData']&&Object['hasOwnProperty']['call'](_0x44d627,'diffData')&&writer['uint32'](0x2a)['string'](_0x44d627['diffData']),null!=_0x44d627['createdAt']&&Object['hasOwnProperty']['call'](_0x44d627,'createdAt')&&writer['uint32'](0x32)['string'](_0x44d627['createdAt']),null!=_0x44d627['attributes']&&Object['hasOwnProperty']['call'](_0x44d627,'attributes')&&writer['uint32'](0x3a)['string'](_0x44d627['attributes']),null!=_0x44d627['toVersion']&&Object['hasOwnProperty']['call'](_0x44d627,'toVersion')&&writer['uint32'](0x40)['uint32'](_0x44d627['toVersion']),null!=_0x44d627['fromVersion']&&Object['hasOwnProperty']['call'](_0x44d627,'fromVersion')&&writer['uint32'](0x48)['uint32'](_0x44d627['fromVersion']),null!=_0x44d627['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x44d627,'isEmptyCurrent')&&writer['uint32'](0x50)['bool'](_0x44d627['isEmptyCurrent']),writer;},RevisionDescriptor['encodeDelimited']=function(_0x20d43c,writer){return this['encode'](_0x20d43c,writer)['ldelim']();},RevisionDescriptor['decode']=function(_0x3ee272,length,_0x1fe8a3,_0x48d04d){if(_0x3ee272 instanceof _0x5a128a||(_0x3ee272=_0x5a128a['create'](_0x3ee272)),void 0x0===_0x48d04d&&(_0x48d04d=0x0),_0x48d04d>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x304a17=void 0x0===length?_0x3ee272['len']:_0x3ee272['pos']+length,_0x2ef6e4=new $root['RevisionDescriptor']();_0x3ee272['pos']<_0x304a17;){var tag=_0x3ee272['uint32']();if(tag===_0x1fe8a3)break;switch(tag>>>0x3){case 0x1:_0x2ef6e4['revisionId']=_0x3ee272['string']();break;case 0x2:_0x2ef6e4['name']=_0x3ee272['string']();break;case 0x3:_0x2ef6e4['creatorId']=_0x3ee272['string']();break;case 0x4:_0x2ef6e4['authorsIds']=_0x3ee272['string']();break;case 0x5:_0x2ef6e4['diffData']=_0x3ee272['string']();break;case 0x6:_0x2ef6e4['createdAt']=_0x3ee272['string']();break;case 0x7:_0x2ef6e4['attributes']=_0x3ee272['string']();break;case 0x8:_0x2ef6e4['toVersion']=_0x3ee272['uint32']();break;case 0x9:_0x2ef6e4['fromVersion']=_0x3ee272['uint32']();break;case 0xa:_0x2ef6e4['isEmptyCurrent']=_0x3ee272['bool']();break;default:_0x3ee272['skipType'](0x7&tag,_0x48d04d);}}return _0x2ef6e4;},RevisionDescriptor['decodeDelimited']=function(_0x5b41a3){return _0x5b41a3 instanceof _0x5a128a||(_0x5b41a3=new _0x5a128a(_0x5b41a3)),this['decode'](_0x5b41a3,_0x5b41a3['uint32']());},RevisionDescriptor['verify']=function(_0x2d7f00,_0x353a79){return'object'!=typeof _0x2d7f00||null===_0x2d7f00?'object\x20expected':(void 0x0===_0x353a79&&(_0x353a79=0x0),_0x353a79>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2d7f00['revisionId']&&Object['hasOwnProperty']['call'](_0x2d7f00,'revisionId')&&!$util['isString'](_0x2d7f00['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x2d7f00['name']&&Object['hasOwnProperty']['call'](_0x2d7f00,'name')&&!$util['isString'](_0x2d7f00['name'])?'name:\x20string\x20expected':null!=_0x2d7f00['creatorId']&&Object['hasOwnProperty']['call'](_0x2d7f00,'creatorId')&&!$util['isString'](_0x2d7f00['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x2d7f00['authorsIds']&&Object['hasOwnProperty']['call'](_0x2d7f00,'authorsIds')&&!$util['isString'](_0x2d7f00['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x2d7f00['diffData']&&Object['hasOwnProperty']['call'](_0x2d7f00,'diffData')&&!$util['isString'](_0x2d7f00['diffData'])?'diffData:\x20string\x20expected':null!=_0x2d7f00['createdAt']&&Object['hasOwnProperty']['call'](_0x2d7f00,'createdAt')&&!$util['isString'](_0x2d7f00['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x2d7f00['attributes']&&Object['hasOwnProperty']['call'](_0x2d7f00,'attributes')&&!$util['isString'](_0x2d7f00['attributes'])?'attributes:\x20string\x20expected':null!=_0x2d7f00['toVersion']&&Object['hasOwnProperty']['call'](_0x2d7f00,'toVersion')&&!$util['isInteger'](_0x2d7f00['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x2d7f00['fromVersion']&&Object['hasOwnProperty']['call'](_0x2d7f00,'fromVersion')&&!$util['isInteger'](_0x2d7f00['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x2d7f00['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x2d7f00,'isEmptyCurrent')&&'boolean'!=typeof _0x2d7f00['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},RevisionDescriptor['fromObject']=function(object,_0x2eeb35){if(object instanceof $root['RevisionDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionDescriptor:\x20object\x20expected');if(void 0x0===_0x2eeb35&&(_0x2eeb35=0x0),_0x2eeb35>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x211343=new $root['RevisionDescriptor']();return null!=object['revisionId']&&(_0x211343['revisionId']=String(object['revisionId'])),null!=object['name']&&(_0x211343['name']=String(object['name'])),null!=object['creatorId']&&(_0x211343['creatorId']=String(object['creatorId'])),null!=object['authorsIds']&&(_0x211343['authorsIds']=String(object['authorsIds'])),null!=object['diffData']&&(_0x211343['diffData']=String(object['diffData'])),null!=object['createdAt']&&(_0x211343['createdAt']=String(object['createdAt'])),null!=object['attributes']&&(_0x211343['attributes']=String(object['attributes'])),null!=object['toVersion']&&(_0x211343['toVersion']=object['toVersion']>>>0x0),null!=object['fromVersion']&&(_0x211343['fromVersion']=object['fromVersion']>>>0x0),null!=object['isEmptyCurrent']&&(_0x211343['isEmptyCurrent']=Boolean(object['isEmptyCurrent'])),_0x211343;},RevisionDescriptor['toObject']=function(_0x2a34ad,options,_0xf43629){if(options||(options={}),void 0x0===_0xf43629&&(_0xf43629=0x0),_0xf43629>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['revisionId']='',object['name']='',object['creatorId']='',object['authorsIds']='',object['diffData']='',object['createdAt']='',object['attributes']='',object['toVersion']=0x0,object['fromVersion']=0x0,object['isEmptyCurrent']=!0x1),null!=_0x2a34ad['revisionId']&&Object['hasOwnProperty']['call'](_0x2a34ad,'revisionId')&&(object['revisionId']=_0x2a34ad['revisionId']),null!=_0x2a34ad['name']&&Object['hasOwnProperty']['call'](_0x2a34ad,'name')&&(object['name']=_0x2a34ad['name']),null!=_0x2a34ad['creatorId']&&Object['hasOwnProperty']['call'](_0x2a34ad,'creatorId')&&(object['creatorId']=_0x2a34ad['creatorId']),null!=_0x2a34ad['authorsIds']&&Object['hasOwnProperty']['call'](_0x2a34ad,'authorsIds')&&(object['authorsIds']=_0x2a34ad['authorsIds']),null!=_0x2a34ad['diffData']&&Object['hasOwnProperty']['call'](_0x2a34ad,'diffData')&&(object['diffData']=_0x2a34ad['diffData']),null!=_0x2a34ad['createdAt']&&Object['hasOwnProperty']['call'](_0x2a34ad,'createdAt')&&(object['createdAt']=_0x2a34ad['createdAt']),null!=_0x2a34ad['attributes']&&Object['hasOwnProperty']['call'](_0x2a34ad,'attributes')&&(object['attributes']=_0x2a34ad['attributes']),null!=_0x2a34ad['toVersion']&&Object['hasOwnProperty']['call'](_0x2a34ad,'toVersion')&&(object['toVersion']=_0x2a34ad['toVersion']),null!=_0x2a34ad['fromVersion']&&Object['hasOwnProperty']['call'](_0x2a34ad,'fromVersion')&&(object['fromVersion']=_0x2a34ad['fromVersion']),null!=_0x2a34ad['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x2a34ad,'isEmptyCurrent')&&(object['isEmptyCurrent']=_0x2a34ad['isEmptyCurrent']),object;},RevisionDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionDescriptor';},RevisionDescriptor;}()),$root['IsEditorBundleUploadedResponse']=(function(){function IsEditorBundleUploadedResponse(properties){if(properties){for(var _0x2f6030=Object['keys'](properties),_0xed7ea0=0x0;_0xed7ea0<_0x2f6030['length'];++_0xed7ea0)null!=properties[_0x2f6030[_0xed7ea0]]&&'__proto__'!==_0x2f6030[_0xed7ea0]&&(this[_0x2f6030[_0xed7ea0]]=properties[_0x2f6030[_0xed7ea0]]);}}return IsEditorBundleUploadedResponse['prototype']['isUploaded']=!0x1,IsEditorBundleUploadedResponse['create']=function(properties){return new IsEditorBundleUploadedResponse(properties);},IsEditorBundleUploadedResponse['encode']=function(_0x2cb243,writer,_0x17a923){if(writer||(writer=$Writer['create']()),void 0x0===_0x17a923&&(_0x17a923=0x0),_0x17a923>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2cb243['isUploaded']&&Object['hasOwnProperty']['call'](_0x2cb243,'isUploaded')&&writer['uint32'](0x8)['bool'](_0x2cb243['isUploaded']),writer;},IsEditorBundleUploadedResponse['encodeDelimited']=function(_0x538c3d,writer){return this['encode'](_0x538c3d,writer)['ldelim']();},IsEditorBundleUploadedResponse['decode']=function(_0x3bbfff,length,_0x1996d7,_0x435796){if(_0x3bbfff instanceof _0x5a128a||(_0x3bbfff=_0x5a128a['create'](_0x3bbfff)),void 0x0===_0x435796&&(_0x435796=0x0),_0x435796>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x297706=void 0x0===length?_0x3bbfff['len']:_0x3bbfff['pos']+length,_0x1c2ffc=new $root['IsEditorBundleUploadedResponse']();_0x3bbfff['pos']<_0x297706;){var tag=_0x3bbfff['uint32']();if(tag===_0x1996d7)break;if(tag>>>0x3==0x1)_0x1c2ffc['isUploaded']=_0x3bbfff['bool']();else _0x3bbfff['skipType'](0x7&tag,_0x435796);}return _0x1c2ffc;},IsEditorBundleUploadedResponse['decodeDelimited']=function(_0x3366c2){return _0x3366c2 instanceof _0x5a128a||(_0x3366c2=new _0x5a128a(_0x3366c2)),this['decode'](_0x3366c2,_0x3366c2['uint32']());},IsEditorBundleUploadedResponse['verify']=function(_0x32f3f8,_0x10bb2e){return'object'!=typeof _0x32f3f8||null===_0x32f3f8?'object\x20expected':(void 0x0===_0x10bb2e&&(_0x10bb2e=0x0),_0x10bb2e>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x32f3f8['isUploaded']&&Object['hasOwnProperty']['call'](_0x32f3f8,'isUploaded')&&'boolean'!=typeof _0x32f3f8['isUploaded']?'isUploaded:\x20boolean\x20expected':null);},IsEditorBundleUploadedResponse['fromObject']=function(object,_0x237eda){if(object instanceof $root['IsEditorBundleUploadedResponse'])return object;if(!$util['isObject'](object))throw TypeError('.IsEditorBundleUploadedResponse:\x20object\x20expected');if(void 0x0===_0x237eda&&(_0x237eda=0x0),_0x237eda>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x164fd1=new $root['IsEditorBundleUploadedResponse']();return null!=object['isUploaded']&&(_0x164fd1['isUploaded']=Boolean(object['isUploaded'])),_0x164fd1;},IsEditorBundleUploadedResponse['toObject']=function(_0x2f6943,options,_0xe7f3c8){if(options||(options={}),void 0x0===_0xe7f3c8&&(_0xe7f3c8=0x0),_0xe7f3c8>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['isUploaded']=!0x1),null!=_0x2f6943['isUploaded']&&Object['hasOwnProperty']['call'](_0x2f6943,'isUploaded')&&(object['isUploaded']=_0x2f6943['isUploaded']),object;},IsEditorBundleUploadedResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},IsEditorBundleUploadedResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/IsEditorBundleUploadedResponse';},IsEditorBundleUploadedResponse;}()),$root['IsEditorBundleUploadedMessage']=(function(){function IsEditorBundleUploadedMessage(properties){if(properties){for(var _0x92e518=Object['keys'](properties),_0x17f8f6=0x0;_0x17f8f6<_0x92e518['length'];++_0x17f8f6)null!=properties[_0x92e518[_0x17f8f6]]&&'__proto__'!==_0x92e518[_0x17f8f6]&&(this[_0x92e518[_0x17f8f6]]=properties[_0x92e518[_0x17f8f6]]);}}return IsEditorBundleUploadedMessage['prototype']['bundleVersion']='',IsEditorBundleUploadedMessage['create']=function(properties){return new IsEditorBundleUploadedMessage(properties);},IsEditorBundleUploadedMessage['encode']=function(_0x25075f,writer,_0x1086c5){if(writer||(writer=$Writer['create']()),void 0x0===_0x1086c5&&(_0x1086c5=0x0),_0x1086c5>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x25075f['bundleVersion']&&Object['hasOwnProperty']['call'](_0x25075f,'bundleVersion')&&writer['uint32'](0xa)['string'](_0x25075f['bundleVersion']),writer;},IsEditorBundleUploadedMessage['encodeDelimited']=function(_0x3ecdd0,writer){return this['encode'](_0x3ecdd0,writer)['ldelim']();},IsEditorBundleUploadedMessage['decode']=function(_0x140ad2,length,_0x15cf4b,_0xe0e49e){if(_0x140ad2 instanceof _0x5a128a||(_0x140ad2=_0x5a128a['create'](_0x140ad2)),void 0x0===_0xe0e49e&&(_0xe0e49e=0x0),_0xe0e49e>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x32d594=void 0x0===length?_0x140ad2['len']:_0x140ad2['pos']+length,_0xebf9c2=new $root['IsEditorBundleUploadedMessage']();_0x140ad2['pos']<_0x32d594;){var tag=_0x140ad2['uint32']();if(tag===_0x15cf4b)break;if(tag>>>0x3==0x1)_0xebf9c2['bundleVersion']=_0x140ad2['string']();else _0x140ad2['skipType'](0x7&tag,_0xe0e49e);}return _0xebf9c2;},IsEditorBundleUploadedMessage['decodeDelimited']=function(_0x3dae54){return _0x3dae54 instanceof _0x5a128a||(_0x3dae54=new _0x5a128a(_0x3dae54)),this['decode'](_0x3dae54,_0x3dae54['uint32']());},IsEditorBundleUploadedMessage['verify']=function(_0x5200b5,_0x4b4911){return'object'!=typeof _0x5200b5||null===_0x5200b5?'object\x20expected':(void 0x0===_0x4b4911&&(_0x4b4911=0x0),_0x4b4911>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5200b5['bundleVersion']&&Object['hasOwnProperty']['call'](_0x5200b5,'bundleVersion')&&!$util['isString'](_0x5200b5['bundleVersion'])?'bundleVersion:\x20string\x20expected':null);},IsEditorBundleUploadedMessage['fromObject']=function(object,_0x55dbfb){if(object instanceof $root['IsEditorBundleUploadedMessage'])return object;if(!$util['isObject'](object))throw TypeError('.IsEditorBundleUploadedMessage:\x20object\x20expected');if(void 0x0===_0x55dbfb&&(_0x55dbfb=0x0),_0x55dbfb>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x261900=new $root['IsEditorBundleUploadedMessage']();return null!=object['bundleVersion']&&(_0x261900['bundleVersion']=String(object['bundleVersion'])),_0x261900;},IsEditorBundleUploadedMessage['toObject']=function(_0x3a85ef,options,_0x1939df){if(options||(options={}),void 0x0===_0x1939df&&(_0x1939df=0x0),_0x1939df>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['bundleVersion']=''),null!=_0x3a85ef['bundleVersion']&&Object['hasOwnProperty']['call'](_0x3a85ef,'bundleVersion')&&(object['bundleVersion']=_0x3a85ef['bundleVersion']),object;},IsEditorBundleUploadedMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},IsEditorBundleUploadedMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/IsEditorBundleUploadedMessage';},IsEditorBundleUploadedMessage;}()),$root['KeyValueDescriptor']=(function(){function KeyValueDescriptor(properties){if(properties){for(var _0xa720a=Object['keys'](properties),_0x56ac61=0x0;_0x56ac61<_0xa720a['length'];++_0x56ac61)null!=properties[_0xa720a[_0x56ac61]]&&'__proto__'!==_0xa720a[_0x56ac61]&&(this[_0xa720a[_0x56ac61]]=properties[_0xa720a[_0x56ac61]]);}}return KeyValueDescriptor['prototype']['key']='',KeyValueDescriptor['prototype']['value']='',KeyValueDescriptor['create']=function(properties){return new KeyValueDescriptor(properties);},KeyValueDescriptor['encode']=function(_0x16f05b,writer,_0x5e392c){if(writer||(writer=$Writer['create']()),void 0x0===_0x5e392c&&(_0x5e392c=0x0),_0x5e392c>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x16f05b['key']&&Object['hasOwnProperty']['call'](_0x16f05b,'key')&&writer['uint32'](0xa)['string'](_0x16f05b['key']),null!=_0x16f05b['value']&&Object['hasOwnProperty']['call'](_0x16f05b,'value')&&writer['uint32'](0x12)['string'](_0x16f05b['value']),writer;},KeyValueDescriptor['encodeDelimited']=function(_0x4515a2,writer){return this['encode'](_0x4515a2,writer)['ldelim']();},KeyValueDescriptor['decode']=function(_0x3ae822,length,_0xf14fd9,_0x5e2cfb){if(_0x3ae822 instanceof _0x5a128a||(_0x3ae822=_0x5a128a['create'](_0x3ae822)),void 0x0===_0x5e2cfb&&(_0x5e2cfb=0x0),_0x5e2cfb>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x284cbe=void 0x0===length?_0x3ae822['len']:_0x3ae822['pos']+length,_0x1b5cfe=new $root['KeyValueDescriptor']();_0x3ae822['pos']<_0x284cbe;){var tag=_0x3ae822['uint32']();if(tag===_0xf14fd9)break;switch(tag>>>0x3){case 0x1:_0x1b5cfe['key']=_0x3ae822['string']();break;case 0x2:_0x1b5cfe['value']=_0x3ae822['string']();break;default:_0x3ae822['skipType'](0x7&tag,_0x5e2cfb);}}return _0x1b5cfe;},KeyValueDescriptor['decodeDelimited']=function(_0x45657a){return _0x45657a instanceof _0x5a128a||(_0x45657a=new _0x5a128a(_0x45657a)),this['decode'](_0x45657a,_0x45657a['uint32']());},KeyValueDescriptor['verify']=function(_0x315912,_0x3183dc){return'object'!=typeof _0x315912||null===_0x315912?'object\x20expected':(void 0x0===_0x3183dc&&(_0x3183dc=0x0),_0x3183dc>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x315912['key']&&Object['hasOwnProperty']['call'](_0x315912,'key')&&!$util['isString'](_0x315912['key'])?'key:\x20string\x20expected':null!=_0x315912['value']&&Object['hasOwnProperty']['call'](_0x315912,'value')&&!$util['isString'](_0x315912['value'])?'value:\x20string\x20expected':null);},KeyValueDescriptor['fromObject']=function(object,_0x446e9e){if(object instanceof $root['KeyValueDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.KeyValueDescriptor:\x20object\x20expected');if(void 0x0===_0x446e9e&&(_0x446e9e=0x0),_0x446e9e>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4aee2a=new $root['KeyValueDescriptor']();return null!=object['key']&&(_0x4aee2a['key']=String(object['key'])),null!=object['value']&&(_0x4aee2a['value']=String(object['value'])),_0x4aee2a;},KeyValueDescriptor['toObject']=function(_0x4e428c,options,_0x38878d){if(options||(options={}),void 0x0===_0x38878d&&(_0x38878d=0x0),_0x38878d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['key']='',object['value']=''),null!=_0x4e428c['key']&&Object['hasOwnProperty']['call'](_0x4e428c,'key')&&(object['key']=_0x4e428c['key']),null!=_0x4e428c['value']&&Object['hasOwnProperty']['call'](_0x4e428c,'value')&&(object['value']=_0x4e428c['value']),object;},KeyValueDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},KeyValueDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/KeyValueDescriptor';},KeyValueDescriptor;}()),$root['CommentsV2GetDocumentThreadsResponse']=(function(){function CommentsV2GetDocumentThreadsResponse(properties){if(this['threads']=[],this['threadsV2']=[],properties){for(var _0x338cbd=Object['keys'](properties),_0x521ed3=0x0;_0x521ed3<_0x338cbd['length'];++_0x521ed3)null!=properties[_0x338cbd[_0x521ed3]]&&'__proto__'!==_0x338cbd[_0x521ed3]&&(this[_0x338cbd[_0x521ed3]]=properties[_0x338cbd[_0x521ed3]]);}}return CommentsV2GetDocumentThreadsResponse['prototype']['threads']=$util['emptyArray'],CommentsV2GetDocumentThreadsResponse['prototype']['threadsV2']=$util['emptyArray'],CommentsV2GetDocumentThreadsResponse['create']=function(properties){return new CommentsV2GetDocumentThreadsResponse(properties);},CommentsV2GetDocumentThreadsResponse['encode']=function(_0x92ea8,writer,_0x40361e){if(writer||(writer=$Writer['create']()),void 0x0===_0x40361e&&(_0x40361e=0x0),_0x40361e>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x92ea8['threads']&&_0x92ea8['threads']['length']){for(var _0x58cc42=0x0;_0x58cc42<_0x92ea8['threads']['length'];++_0x58cc42)writer['uint32'](0xa)['string'](_0x92ea8['threads'][_0x58cc42]);}if(null!=_0x92ea8['threadsV2']&&_0x92ea8['threadsV2']['length']){for(_0x58cc42=0x0;_0x58cc42<_0x92ea8['threadsV2']['length'];++_0x58cc42)$root['CommentsThreadDescriptor']['encode'](_0x92ea8['threadsV2'][_0x58cc42],writer['uint32'](0x12)['fork'](),_0x40361e+0x1)['ldelim']();}return writer;},CommentsV2GetDocumentThreadsResponse['encodeDelimited']=function(_0x359ae7,writer){return this['encode'](_0x359ae7,writer)['ldelim']();},CommentsV2GetDocumentThreadsResponse['decode']=function(_0x41132a,length,_0x2c7501,_0x14b7e1){if(_0x41132a instanceof _0x5a128a||(_0x41132a=_0x5a128a['create'](_0x41132a)),void 0x0===_0x14b7e1&&(_0x14b7e1=0x0),_0x14b7e1>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3fb696=void 0x0===length?_0x41132a['len']:_0x41132a['pos']+length,_0x79a8fc=new $root['CommentsV2GetDocumentThreadsResponse']();_0x41132a['pos']<_0x3fb696;){var tag=_0x41132a['uint32']();if(tag===_0x2c7501)break;switch(tag>>>0x3){case 0x1:_0x79a8fc['threads']&&_0x79a8fc['threads']['length']||(_0x79a8fc['threads']=[]),_0x79a8fc['threads']['push'](_0x41132a['string']());break;case 0x2:_0x79a8fc['threadsV2']&&_0x79a8fc['threadsV2']['length']||(_0x79a8fc['threadsV2']=[]),_0x79a8fc['threadsV2']['push']($root['CommentsThreadDescriptor']['decode'](_0x41132a,_0x41132a['uint32'](),void 0x0,_0x14b7e1+0x1));break;default:_0x41132a['skipType'](0x7&tag,_0x14b7e1);}}return _0x79a8fc;},CommentsV2GetDocumentThreadsResponse['decodeDelimited']=function(_0xe2d50a){return _0xe2d50a instanceof _0x5a128a||(_0xe2d50a=new _0x5a128a(_0xe2d50a)),this['decode'](_0xe2d50a,_0xe2d50a['uint32']());},CommentsV2GetDocumentThreadsResponse['verify']=function(_0x33d63e,_0xb10452){if('object'!=typeof _0x33d63e||null===_0x33d63e)return'object\x20expected';if(void 0x0===_0xb10452&&(_0xb10452=0x0),_0xb10452>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x33d63e['threads']&&Object['hasOwnProperty']['call'](_0x33d63e,'threads')){if(!Array['isArray'](_0x33d63e['threads']))return'threads:\x20array\x20expected';for(var _0x48b7e8=0x0;_0x48b7e8<_0x33d63e['threads']['length'];++_0x48b7e8)if(!$util['isString'](_0x33d63e['threads'][_0x48b7e8]))return'threads:\x20string[]\x20expected';}if(null!=_0x33d63e['threadsV2']&&Object['hasOwnProperty']['call'](_0x33d63e,'threadsV2')){if(!Array['isArray'](_0x33d63e['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x48b7e8=0x0;_0x48b7e8<_0x33d63e['threadsV2']['length'];++_0x48b7e8){var _0x4403e7=$root['CommentsThreadDescriptor']['verify'](_0x33d63e['threadsV2'][_0x48b7e8],_0xb10452+0x1);if(_0x4403e7)return'threadsV2.'+_0x4403e7;}}return null;},CommentsV2GetDocumentThreadsResponse['fromObject']=function(object,_0x1c5a87){if(object instanceof $root['CommentsV2GetDocumentThreadsResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2GetDocumentThreadsResponse:\x20object\x20expected');if(void 0x0===_0x1c5a87&&(_0x1c5a87=0x0),_0x1c5a87>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xfaf874=new $root['CommentsV2GetDocumentThreadsResponse']();if(object['threads']){if(!Array['isArray'](object['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0xfaf874['threads']=[];for(var _0x28f25a=0x0;_0x28f25a<object['threads']['length'];++_0x28f25a)_0xfaf874['threads'][_0x28f25a]=String(object['threads'][_0x28f25a]);}if(object['threadsV2']){if(!Array['isArray'](object['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');_0xfaf874['threadsV2']=[];for(_0x28f25a=0x0;_0x28f25a<object['threadsV2']['length'];++_0x28f25a){if(!$util['isObject'](object['threadsV2'][_0x28f25a]))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0xfaf874['threadsV2'][_0x28f25a]=$root['CommentsThreadDescriptor']['fromObject'](object['threadsV2'][_0x28f25a],_0x1c5a87+0x1);}}return _0xfaf874;},CommentsV2GetDocumentThreadsResponse['toObject']=function(_0x3915af,options,_0x2c92a1){if(options||(options={}),void 0x0===_0x2c92a1&&(_0x2c92a1=0x0),_0x2c92a1>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['threads']=[],object['threadsV2']=[]),_0x3915af['threads']&&_0x3915af['threads']['length']){object['threads']=[];for(var _0x2ee5e4=0x0;_0x2ee5e4<_0x3915af['threads']['length'];++_0x2ee5e4)object['threads'][_0x2ee5e4]=_0x3915af['threads'][_0x2ee5e4];}if(_0x3915af['threadsV2']&&_0x3915af['threadsV2']['length']){object['threadsV2']=[];for(_0x2ee5e4=0x0;_0x2ee5e4<_0x3915af['threadsV2']['length'];++_0x2ee5e4)object['threadsV2'][_0x2ee5e4]=$root['CommentsThreadDescriptor']['toObject'](_0x3915af['threadsV2'][_0x2ee5e4],options,_0x2c92a1+0x1);}return object;},CommentsV2GetDocumentThreadsResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2GetDocumentThreadsResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2GetDocumentThreadsResponse';},CommentsV2GetDocumentThreadsResponse;}()),$root['CommentsV2GetCommentThreadResponse']=(function(){function CommentsV2GetCommentThreadResponse(properties){if(this['comments']=[],this['commentsV2']=[],properties){for(var _0x20c20a=Object['keys'](properties),_0x3a1a69=0x0;_0x3a1a69<_0x20c20a['length'];++_0x3a1a69)null!=properties[_0x20c20a[_0x3a1a69]]&&'__proto__'!==_0x20c20a[_0x3a1a69]&&(this[_0x20c20a[_0x3a1a69]]=properties[_0x20c20a[_0x3a1a69]]);}}return CommentsV2GetCommentThreadResponse['prototype']['commentThreadId']='',CommentsV2GetCommentThreadResponse['prototype']['comments']=$util['emptyArray'],CommentsV2GetCommentThreadResponse['prototype']['commentsV2']=$util['emptyArray'],CommentsV2GetCommentThreadResponse['prototype']['resolvedAt']='',CommentsV2GetCommentThreadResponse['prototype']['resolvedBy']='',CommentsV2GetCommentThreadResponse['prototype']['context']='',CommentsV2GetCommentThreadResponse['prototype']['createdAt']='',CommentsV2GetCommentThreadResponse['prototype']['deletedAt']='',CommentsV2GetCommentThreadResponse['prototype']['attributes']='',CommentsV2GetCommentThreadResponse['prototype']['unlinkedAt']='',CommentsV2GetCommentThreadResponse['create']=function(properties){return new CommentsV2GetCommentThreadResponse(properties);},CommentsV2GetCommentThreadResponse['encode']=function(_0x4d12c6,writer,_0x28e2d3){if(writer||(writer=$Writer['create']()),void 0x0===_0x28e2d3&&(_0x28e2d3=0x0),_0x28e2d3>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x4d12c6['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4d12c6,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x4d12c6['commentThreadId']),null!=_0x4d12c6['comments']&&_0x4d12c6['comments']['length']){for(var _0x37a512=0x0;_0x37a512<_0x4d12c6['comments']['length'];++_0x37a512)writer['uint32'](0x12)['string'](_0x4d12c6['comments'][_0x37a512]);}if(null!=_0x4d12c6['commentsV2']&&_0x4d12c6['commentsV2']['length']){for(_0x37a512=0x0;_0x37a512<_0x4d12c6['commentsV2']['length'];++_0x37a512)$root['CommentDescriptor']['encode'](_0x4d12c6['commentsV2'][_0x37a512],writer['uint32'](0x1a)['fork'](),_0x28e2d3+0x1)['ldelim']();}return null!=_0x4d12c6['resolvedAt']&&Object['hasOwnProperty']['call'](_0x4d12c6,'resolvedAt')&&writer['uint32'](0x22)['string'](_0x4d12c6['resolvedAt']),null!=_0x4d12c6['resolvedBy']&&Object['hasOwnProperty']['call'](_0x4d12c6,'resolvedBy')&&writer['uint32'](0x2a)['string'](_0x4d12c6['resolvedBy']),null!=_0x4d12c6['context']&&Object['hasOwnProperty']['call'](_0x4d12c6,'context')&&writer['uint32'](0x32)['string'](_0x4d12c6['context']),null!=_0x4d12c6['createdAt']&&Object['hasOwnProperty']['call'](_0x4d12c6,'createdAt')&&writer['uint32'](0x3a)['string'](_0x4d12c6['createdAt']),null!=_0x4d12c6['deletedAt']&&Object['hasOwnProperty']['call'](_0x4d12c6,'deletedAt')&&writer['uint32'](0x42)['string'](_0x4d12c6['deletedAt']),null!=_0x4d12c6['attributes']&&Object['hasOwnProperty']['call'](_0x4d12c6,'attributes')&&writer['uint32'](0x4a)['string'](_0x4d12c6['attributes']),null!=_0x4d12c6['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x4d12c6,'unlinkedAt')&&writer['uint32'](0x52)['string'](_0x4d12c6['unlinkedAt']),writer;},CommentsV2GetCommentThreadResponse['encodeDelimited']=function(_0x266c91,writer){return this['encode'](_0x266c91,writer)['ldelim']();},CommentsV2GetCommentThreadResponse['decode']=function(_0x578b8e,length,_0x65b461,_0xc7d9d){if(_0x578b8e instanceof _0x5a128a||(_0x578b8e=_0x5a128a['create'](_0x578b8e)),void 0x0===_0xc7d9d&&(_0xc7d9d=0x0),_0xc7d9d>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2a87d1=void 0x0===length?_0x578b8e['len']:_0x578b8e['pos']+length,_0x53fce0=new $root['CommentsV2GetCommentThreadResponse']();_0x578b8e['pos']<_0x2a87d1;){var tag=_0x578b8e['uint32']();if(tag===_0x65b461)break;switch(tag>>>0x3){case 0x1:_0x53fce0['commentThreadId']=_0x578b8e['string']();break;case 0x2:_0x53fce0['comments']&&_0x53fce0['comments']['length']||(_0x53fce0['comments']=[]),_0x53fce0['comments']['push'](_0x578b8e['string']());break;case 0x3:_0x53fce0['commentsV2']&&_0x53fce0['commentsV2']['length']||(_0x53fce0['commentsV2']=[]),_0x53fce0['commentsV2']['push']($root['CommentDescriptor']['decode'](_0x578b8e,_0x578b8e['uint32'](),void 0x0,_0xc7d9d+0x1));break;case 0x4:_0x53fce0['resolvedAt']=_0x578b8e['string']();break;case 0x5:_0x53fce0['resolvedBy']=_0x578b8e['string']();break;case 0x6:_0x53fce0['context']=_0x578b8e['string']();break;case 0x7:_0x53fce0['createdAt']=_0x578b8e['string']();break;case 0x8:_0x53fce0['deletedAt']=_0x578b8e['string']();break;case 0x9:_0x53fce0['attributes']=_0x578b8e['string']();break;case 0xa:_0x53fce0['unlinkedAt']=_0x578b8e['string']();break;default:_0x578b8e['skipType'](0x7&tag,_0xc7d9d);}}return _0x53fce0;},CommentsV2GetCommentThreadResponse['decodeDelimited']=function(_0x3e320b){return _0x3e320b instanceof _0x5a128a||(_0x3e320b=new _0x5a128a(_0x3e320b)),this['decode'](_0x3e320b,_0x3e320b['uint32']());},CommentsV2GetCommentThreadResponse['verify']=function(_0x162ad7,_0x4e71a9){if('object'!=typeof _0x162ad7||null===_0x162ad7)return'object\x20expected';if(void 0x0===_0x4e71a9&&(_0x4e71a9=0x0),_0x4e71a9>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x162ad7['commentThreadId']&&Object['hasOwnProperty']['call'](_0x162ad7,'commentThreadId')&&!$util['isString'](_0x162ad7['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x162ad7['comments']&&Object['hasOwnProperty']['call'](_0x162ad7,'comments')){if(!Array['isArray'](_0x162ad7['comments']))return'comments:\x20array\x20expected';for(var _0x471217=0x0;_0x471217<_0x162ad7['comments']['length'];++_0x471217)if(!$util['isString'](_0x162ad7['comments'][_0x471217]))return'comments:\x20string[]\x20expected';}if(null!=_0x162ad7['commentsV2']&&Object['hasOwnProperty']['call'](_0x162ad7,'commentsV2')){if(!Array['isArray'](_0x162ad7['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x471217=0x0;_0x471217<_0x162ad7['commentsV2']['length'];++_0x471217){var _0xb7a83e=$root['CommentDescriptor']['verify'](_0x162ad7['commentsV2'][_0x471217],_0x4e71a9+0x1);if(_0xb7a83e)return'commentsV2.'+_0xb7a83e;}}return null!=_0x162ad7['resolvedAt']&&Object['hasOwnProperty']['call'](_0x162ad7,'resolvedAt')&&!$util['isString'](_0x162ad7['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x162ad7['resolvedBy']&&Object['hasOwnProperty']['call'](_0x162ad7,'resolvedBy')&&!$util['isString'](_0x162ad7['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x162ad7['context']&&Object['hasOwnProperty']['call'](_0x162ad7,'context')&&!$util['isString'](_0x162ad7['context'])?'context:\x20string\x20expected':null!=_0x162ad7['createdAt']&&Object['hasOwnProperty']['call'](_0x162ad7,'createdAt')&&!$util['isString'](_0x162ad7['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x162ad7['deletedAt']&&Object['hasOwnProperty']['call'](_0x162ad7,'deletedAt')&&!$util['isString'](_0x162ad7['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x162ad7['attributes']&&Object['hasOwnProperty']['call'](_0x162ad7,'attributes')&&!$util['isString'](_0x162ad7['attributes'])?'attributes:\x20string\x20expected':null!=_0x162ad7['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x162ad7,'unlinkedAt')&&!$util['isString'](_0x162ad7['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},CommentsV2GetCommentThreadResponse['fromObject']=function(object,_0x1e56d4){if(object instanceof $root['CommentsV2GetCommentThreadResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2GetCommentThreadResponse:\x20object\x20expected');if(void 0x0===_0x1e56d4&&(_0x1e56d4=0x0),_0x1e56d4>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x47d49b=new $root['CommentsV2GetCommentThreadResponse']();if(null!=object['commentThreadId']&&(_0x47d49b['commentThreadId']=String(object['commentThreadId'])),object['comments']){if(!Array['isArray'](object['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x47d49b['comments']=[];for(var _0x3cb60a=0x0;_0x3cb60a<object['comments']['length'];++_0x3cb60a)_0x47d49b['comments'][_0x3cb60a]=String(object['comments'][_0x3cb60a]);}if(object['commentsV2']){if(!Array['isArray'](object['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');_0x47d49b['commentsV2']=[];for(_0x3cb60a=0x0;_0x3cb60a<object['commentsV2']['length'];++_0x3cb60a){if(!$util['isObject'](object['commentsV2'][_0x3cb60a]))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x47d49b['commentsV2'][_0x3cb60a]=$root['CommentDescriptor']['fromObject'](object['commentsV2'][_0x3cb60a],_0x1e56d4+0x1);}}return null!=object['resolvedAt']&&(_0x47d49b['resolvedAt']=String(object['resolvedAt'])),null!=object['resolvedBy']&&(_0x47d49b['resolvedBy']=String(object['resolvedBy'])),null!=object['context']&&(_0x47d49b['context']=String(object['context'])),null!=object['createdAt']&&(_0x47d49b['createdAt']=String(object['createdAt'])),null!=object['deletedAt']&&(_0x47d49b['deletedAt']=String(object['deletedAt'])),null!=object['attributes']&&(_0x47d49b['attributes']=String(object['attributes'])),null!=object['unlinkedAt']&&(_0x47d49b['unlinkedAt']=String(object['unlinkedAt'])),_0x47d49b;},CommentsV2GetCommentThreadResponse['toObject']=function(_0x265fd7,options,_0x29d334){if(options||(options={}),void 0x0===_0x29d334&&(_0x29d334=0x0),_0x29d334>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['comments']=[],object['commentsV2']=[]),options['defaults']&&(object['commentThreadId']='',object['resolvedAt']='',object['resolvedBy']='',object['context']='',object['createdAt']='',object['deletedAt']='',object['attributes']='',object['unlinkedAt']=''),null!=_0x265fd7['commentThreadId']&&Object['hasOwnProperty']['call'](_0x265fd7,'commentThreadId')&&(object['commentThreadId']=_0x265fd7['commentThreadId']),_0x265fd7['comments']&&_0x265fd7['comments']['length']){object['comments']=[];for(var _0x40d6af=0x0;_0x40d6af<_0x265fd7['comments']['length'];++_0x40d6af)object['comments'][_0x40d6af]=_0x265fd7['comments'][_0x40d6af];}if(_0x265fd7['commentsV2']&&_0x265fd7['commentsV2']['length']){object['commentsV2']=[];for(_0x40d6af=0x0;_0x40d6af<_0x265fd7['commentsV2']['length'];++_0x40d6af)object['commentsV2'][_0x40d6af]=$root['CommentDescriptor']['toObject'](_0x265fd7['commentsV2'][_0x40d6af],options,_0x29d334+0x1);}return null!=_0x265fd7['resolvedAt']&&Object['hasOwnProperty']['call'](_0x265fd7,'resolvedAt')&&(object['resolvedAt']=_0x265fd7['resolvedAt']),null!=_0x265fd7['resolvedBy']&&Object['hasOwnProperty']['call'](_0x265fd7,'resolvedBy')&&(object['resolvedBy']=_0x265fd7['resolvedBy']),null!=_0x265fd7['context']&&Object['hasOwnProperty']['call'](_0x265fd7,'context')&&(object['context']=_0x265fd7['context']),null!=_0x265fd7['createdAt']&&Object['hasOwnProperty']['call'](_0x265fd7,'createdAt')&&(object['createdAt']=_0x265fd7['createdAt']),null!=_0x265fd7['deletedAt']&&Object['hasOwnProperty']['call'](_0x265fd7,'deletedAt')&&(object['deletedAt']=_0x265fd7['deletedAt']),null!=_0x265fd7['attributes']&&Object['hasOwnProperty']['call'](_0x265fd7,'attributes')&&(object['attributes']=_0x265fd7['attributes']),null!=_0x265fd7['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x265fd7,'unlinkedAt')&&(object['unlinkedAt']=_0x265fd7['unlinkedAt']),object;},CommentsV2GetCommentThreadResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2GetCommentThreadResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2GetCommentThreadResponse';},CommentsV2GetCommentThreadResponse;}()),$root['CommentsV2ConnectResponse']=(function(){function CommentsV2ConnectResponse(properties){if(this['threads']=[],this['threadsV2']=[],properties){for(var _0x5cc5d6=Object['keys'](properties),_0x27e38a=0x0;_0x27e38a<_0x5cc5d6['length'];++_0x27e38a)null!=properties[_0x5cc5d6[_0x27e38a]]&&'__proto__'!==_0x5cc5d6[_0x27e38a]&&(this[_0x5cc5d6[_0x27e38a]]=properties[_0x5cc5d6[_0x27e38a]]);}}return CommentsV2ConnectResponse['prototype']['channel']='',CommentsV2ConnectResponse['prototype']['threads']=$util['emptyArray'],CommentsV2ConnectResponse['prototype']['threadsV2']=$util['emptyArray'],CommentsV2ConnectResponse['create']=function(properties){return new CommentsV2ConnectResponse(properties);},CommentsV2ConnectResponse['encode']=function(_0x133090,writer,_0x39e29f){if(writer||(writer=$Writer['create']()),void 0x0===_0x39e29f&&(_0x39e29f=0x0),_0x39e29f>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x133090['channel']&&Object['hasOwnProperty']['call'](_0x133090,'channel')&&writer['uint32'](0xa)['string'](_0x133090['channel']),null!=_0x133090['threads']&&_0x133090['threads']['length']){for(var _0x16af13=0x0;_0x16af13<_0x133090['threads']['length'];++_0x16af13)writer['uint32'](0x12)['string'](_0x133090['threads'][_0x16af13]);}if(null!=_0x133090['threadsV2']&&_0x133090['threadsV2']['length']){for(_0x16af13=0x0;_0x16af13<_0x133090['threadsV2']['length'];++_0x16af13)$root['CommentsThreadDescriptor']['encode'](_0x133090['threadsV2'][_0x16af13],writer['uint32'](0x1a)['fork'](),_0x39e29f+0x1)['ldelim']();}return writer;},CommentsV2ConnectResponse['encodeDelimited']=function(_0x24f923,writer){return this['encode'](_0x24f923,writer)['ldelim']();},CommentsV2ConnectResponse['decode']=function(_0xb9bdb7,length,_0x15371c,_0x12e22c){if(_0xb9bdb7 instanceof _0x5a128a||(_0xb9bdb7=_0x5a128a['create'](_0xb9bdb7)),void 0x0===_0x12e22c&&(_0x12e22c=0x0),_0x12e22c>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x29508b=void 0x0===length?_0xb9bdb7['len']:_0xb9bdb7['pos']+length,_0x137b88=new $root['CommentsV2ConnectResponse']();_0xb9bdb7['pos']<_0x29508b;){var tag=_0xb9bdb7['uint32']();if(tag===_0x15371c)break;switch(tag>>>0x3){case 0x1:_0x137b88['channel']=_0xb9bdb7['string']();break;case 0x2:_0x137b88['threads']&&_0x137b88['threads']['length']||(_0x137b88['threads']=[]),_0x137b88['threads']['push'](_0xb9bdb7['string']());break;case 0x3:_0x137b88['threadsV2']&&_0x137b88['threadsV2']['length']||(_0x137b88['threadsV2']=[]),_0x137b88['threadsV2']['push']($root['CommentsThreadDescriptor']['decode'](_0xb9bdb7,_0xb9bdb7['uint32'](),void 0x0,_0x12e22c+0x1));break;default:_0xb9bdb7['skipType'](0x7&tag,_0x12e22c);}}return _0x137b88;},CommentsV2ConnectResponse['decodeDelimited']=function(_0x32f7f9){return _0x32f7f9 instanceof _0x5a128a||(_0x32f7f9=new _0x5a128a(_0x32f7f9)),this['decode'](_0x32f7f9,_0x32f7f9['uint32']());},CommentsV2ConnectResponse['verify']=function(_0xf9aa2e,_0x31d6e2){if('object'!=typeof _0xf9aa2e||null===_0xf9aa2e)return'object\x20expected';if(void 0x0===_0x31d6e2&&(_0x31d6e2=0x0),_0x31d6e2>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xf9aa2e['channel']&&Object['hasOwnProperty']['call'](_0xf9aa2e,'channel')&&!$util['isString'](_0xf9aa2e['channel']))return'channel:\x20string\x20expected';if(null!=_0xf9aa2e['threads']&&Object['hasOwnProperty']['call'](_0xf9aa2e,'threads')){if(!Array['isArray'](_0xf9aa2e['threads']))return'threads:\x20array\x20expected';for(var _0x28db69=0x0;_0x28db69<_0xf9aa2e['threads']['length'];++_0x28db69)if(!$util['isString'](_0xf9aa2e['threads'][_0x28db69]))return'threads:\x20string[]\x20expected';}if(null!=_0xf9aa2e['threadsV2']&&Object['hasOwnProperty']['call'](_0xf9aa2e,'threadsV2')){if(!Array['isArray'](_0xf9aa2e['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x28db69=0x0;_0x28db69<_0xf9aa2e['threadsV2']['length'];++_0x28db69){var _0x31aaf2=$root['CommentsThreadDescriptor']['verify'](_0xf9aa2e['threadsV2'][_0x28db69],_0x31d6e2+0x1);if(_0x31aaf2)return'threadsV2.'+_0x31aaf2;}}return null;},CommentsV2ConnectResponse['fromObject']=function(object,_0x42145b){if(object instanceof $root['CommentsV2ConnectResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2ConnectResponse:\x20object\x20expected');if(void 0x0===_0x42145b&&(_0x42145b=0x0),_0x42145b>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x49fe0a=new $root['CommentsV2ConnectResponse']();if(null!=object['channel']&&(_0x49fe0a['channel']=String(object['channel'])),object['threads']){if(!Array['isArray'](object['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x49fe0a['threads']=[];for(var _0x2ca97d=0x0;_0x2ca97d<object['threads']['length'];++_0x2ca97d)_0x49fe0a['threads'][_0x2ca97d]=String(object['threads'][_0x2ca97d]);}if(object['threadsV2']){if(!Array['isArray'](object['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');_0x49fe0a['threadsV2']=[];for(_0x2ca97d=0x0;_0x2ca97d<object['threadsV2']['length'];++_0x2ca97d){if(!$util['isObject'](object['threadsV2'][_0x2ca97d]))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x49fe0a['threadsV2'][_0x2ca97d]=$root['CommentsThreadDescriptor']['fromObject'](object['threadsV2'][_0x2ca97d],_0x42145b+0x1);}}return _0x49fe0a;},CommentsV2ConnectResponse['toObject']=function(_0x53b1ea,options,_0x478f68){if(options||(options={}),void 0x0===_0x478f68&&(_0x478f68=0x0),_0x478f68>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['threads']=[],object['threadsV2']=[]),options['defaults']&&(object['channel']=''),null!=_0x53b1ea['channel']&&Object['hasOwnProperty']['call'](_0x53b1ea,'channel')&&(object['channel']=_0x53b1ea['channel']),_0x53b1ea['threads']&&_0x53b1ea['threads']['length']){object['threads']=[];for(var _0x5c9096=0x0;_0x5c9096<_0x53b1ea['threads']['length'];++_0x5c9096)object['threads'][_0x5c9096]=_0x53b1ea['threads'][_0x5c9096];}if(_0x53b1ea['threadsV2']&&_0x53b1ea['threadsV2']['length']){object['threadsV2']=[];for(_0x5c9096=0x0;_0x5c9096<_0x53b1ea['threadsV2']['length'];++_0x5c9096)object['threadsV2'][_0x5c9096]=$root['CommentsThreadDescriptor']['toObject'](_0x53b1ea['threadsV2'][_0x5c9096],options,_0x478f68+0x1);}return object;},CommentsV2ConnectResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2ConnectResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2ConnectResponse';},CommentsV2ConnectResponse;}()),$root['CommentsV2AddCommentResponse']=(function(){function CommentsV2AddCommentResponse(properties){if(properties){for(var _0x2f6e42=Object['keys'](properties),_0x9959cc=0x0;_0x9959cc<_0x2f6e42['length'];++_0x9959cc)null!=properties[_0x2f6e42[_0x9959cc]]&&'__proto__'!==_0x2f6e42[_0x9959cc]&&(this[_0x2f6e42[_0x9959cc]]=properties[_0x2f6e42[_0x9959cc]]);}}return CommentsV2AddCommentResponse['prototype']['commentThreadId']='',CommentsV2AddCommentResponse['prototype']['commentId']='',CommentsV2AddCommentResponse['prototype']['createdAt']='',CommentsV2AddCommentResponse['create']=function(properties){return new CommentsV2AddCommentResponse(properties);},CommentsV2AddCommentResponse['encode']=function(_0x1ae726,writer,_0x539bd1){if(writer||(writer=$Writer['create']()),void 0x0===_0x539bd1&&(_0x539bd1=0x0),_0x539bd1>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1ae726['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1ae726,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x1ae726['commentThreadId']),null!=_0x1ae726['commentId']&&Object['hasOwnProperty']['call'](_0x1ae726,'commentId')&&writer['uint32'](0x12)['string'](_0x1ae726['commentId']),null!=_0x1ae726['createdAt']&&Object['hasOwnProperty']['call'](_0x1ae726,'createdAt')&&writer['uint32'](0x1a)['string'](_0x1ae726['createdAt']),writer;},CommentsV2AddCommentResponse['encodeDelimited']=function(_0x50ee99,writer){return this['encode'](_0x50ee99,writer)['ldelim']();},CommentsV2AddCommentResponse['decode']=function(_0x581a15,length,_0x98e59,_0x2b6398){if(_0x581a15 instanceof _0x5a128a||(_0x581a15=_0x5a128a['create'](_0x581a15)),void 0x0===_0x2b6398&&(_0x2b6398=0x0),_0x2b6398>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xcad3aa=void 0x0===length?_0x581a15['len']:_0x581a15['pos']+length,_0x26007b=new $root['CommentsV2AddCommentResponse']();_0x581a15['pos']<_0xcad3aa;){var tag=_0x581a15['uint32']();if(tag===_0x98e59)break;switch(tag>>>0x3){case 0x1:_0x26007b['commentThreadId']=_0x581a15['string']();break;case 0x2:_0x26007b['commentId']=_0x581a15['string']();break;case 0x3:_0x26007b['createdAt']=_0x581a15['string']();break;default:_0x581a15['skipType'](0x7&tag,_0x2b6398);}}return _0x26007b;},CommentsV2AddCommentResponse['decodeDelimited']=function(_0x224235){return _0x224235 instanceof _0x5a128a||(_0x224235=new _0x5a128a(_0x224235)),this['decode'](_0x224235,_0x224235['uint32']());},CommentsV2AddCommentResponse['verify']=function(_0xfa7aab,_0x485c9c){return'object'!=typeof _0xfa7aab||null===_0xfa7aab?'object\x20expected':(void 0x0===_0x485c9c&&(_0x485c9c=0x0),_0x485c9c>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xfa7aab['commentThreadId']&&Object['hasOwnProperty']['call'](_0xfa7aab,'commentThreadId')&&!$util['isString'](_0xfa7aab['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0xfa7aab['commentId']&&Object['hasOwnProperty']['call'](_0xfa7aab,'commentId')&&!$util['isString'](_0xfa7aab['commentId'])?'commentId:\x20string\x20expected':null!=_0xfa7aab['createdAt']&&Object['hasOwnProperty']['call'](_0xfa7aab,'createdAt')&&!$util['isString'](_0xfa7aab['createdAt'])?'createdAt:\x20string\x20expected':null);},CommentsV2AddCommentResponse['fromObject']=function(object,_0x1faa8f){if(object instanceof $root['CommentsV2AddCommentResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2AddCommentResponse:\x20object\x20expected');if(void 0x0===_0x1faa8f&&(_0x1faa8f=0x0),_0x1faa8f>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5c07bb=new $root['CommentsV2AddCommentResponse']();return null!=object['commentThreadId']&&(_0x5c07bb['commentThreadId']=String(object['commentThreadId'])),null!=object['commentId']&&(_0x5c07bb['commentId']=String(object['commentId'])),null!=object['createdAt']&&(_0x5c07bb['createdAt']=String(object['createdAt'])),_0x5c07bb;},CommentsV2AddCommentResponse['toObject']=function(_0x5ce971,options,_0x5941d4){if(options||(options={}),void 0x0===_0x5941d4&&(_0x5941d4=0x0),_0x5941d4>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['commentId']='',object['createdAt']=''),null!=_0x5ce971['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5ce971,'commentThreadId')&&(object['commentThreadId']=_0x5ce971['commentThreadId']),null!=_0x5ce971['commentId']&&Object['hasOwnProperty']['call'](_0x5ce971,'commentId')&&(object['commentId']=_0x5ce971['commentId']),null!=_0x5ce971['createdAt']&&Object['hasOwnProperty']['call'](_0x5ce971,'createdAt')&&(object['createdAt']=_0x5ce971['createdAt']),object;},CommentsV2AddCommentResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2AddCommentResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2AddCommentResponse';},CommentsV2AddCommentResponse;}()),$root['CommentsV2ResolveCommentThreadResponse']=(function(){function CommentsV2ResolveCommentThreadResponse(properties){if(properties){for(var _0x1d7a45=Object['keys'](properties),_0x3b39c3=0x0;_0x3b39c3<_0x1d7a45['length'];++_0x3b39c3)null!=properties[_0x1d7a45[_0x3b39c3]]&&'__proto__'!==_0x1d7a45[_0x3b39c3]&&(this[_0x1d7a45[_0x3b39c3]]=properties[_0x1d7a45[_0x3b39c3]]);}}return CommentsV2ResolveCommentThreadResponse['prototype']['commentThreadId']='',CommentsV2ResolveCommentThreadResponse['prototype']['documentId']='',CommentsV2ResolveCommentThreadResponse['prototype']['resolvedAt']='',CommentsV2ResolveCommentThreadResponse['prototype']['resolvedBy']='',CommentsV2ResolveCommentThreadResponse['create']=function(properties){return new CommentsV2ResolveCommentThreadResponse(properties);},CommentsV2ResolveCommentThreadResponse['encode']=function(_0x217170,writer,_0xde9556){if(writer||(writer=$Writer['create']()),void 0x0===_0xde9556&&(_0xde9556=0x0),_0xde9556>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x217170['commentThreadId']&&Object['hasOwnProperty']['call'](_0x217170,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x217170['commentThreadId']),null!=_0x217170['documentId']&&Object['hasOwnProperty']['call'](_0x217170,'documentId')&&writer['uint32'](0x12)['string'](_0x217170['documentId']),null!=_0x217170['resolvedAt']&&Object['hasOwnProperty']['call'](_0x217170,'resolvedAt')&&writer['uint32'](0x1a)['string'](_0x217170['resolvedAt']),null!=_0x217170['resolvedBy']&&Object['hasOwnProperty']['call'](_0x217170,'resolvedBy')&&writer['uint32'](0x22)['string'](_0x217170['resolvedBy']),writer;},CommentsV2ResolveCommentThreadResponse['encodeDelimited']=function(_0x3ccb27,writer){return this['encode'](_0x3ccb27,writer)['ldelim']();},CommentsV2ResolveCommentThreadResponse['decode']=function(_0x49a02d,length,_0x19f52f,_0x4abe03){if(_0x49a02d instanceof _0x5a128a||(_0x49a02d=_0x5a128a['create'](_0x49a02d)),void 0x0===_0x4abe03&&(_0x4abe03=0x0),_0x4abe03>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5519ca=void 0x0===length?_0x49a02d['len']:_0x49a02d['pos']+length,_0x2211ee=new $root['CommentsV2ResolveCommentThreadResponse']();_0x49a02d['pos']<_0x5519ca;){var tag=_0x49a02d['uint32']();if(tag===_0x19f52f)break;switch(tag>>>0x3){case 0x1:_0x2211ee['commentThreadId']=_0x49a02d['string']();break;case 0x2:_0x2211ee['documentId']=_0x49a02d['string']();break;case 0x3:_0x2211ee['resolvedAt']=_0x49a02d['string']();break;case 0x4:_0x2211ee['resolvedBy']=_0x49a02d['string']();break;default:_0x49a02d['skipType'](0x7&tag,_0x4abe03);}}return _0x2211ee;},CommentsV2ResolveCommentThreadResponse['decodeDelimited']=function(_0x3b1341){return _0x3b1341 instanceof _0x5a128a||(_0x3b1341=new _0x5a128a(_0x3b1341)),this['decode'](_0x3b1341,_0x3b1341['uint32']());},CommentsV2ResolveCommentThreadResponse['verify']=function(_0x21b50a,_0x1c9624){return'object'!=typeof _0x21b50a||null===_0x21b50a?'object\x20expected':(void 0x0===_0x1c9624&&(_0x1c9624=0x0),_0x1c9624>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x21b50a['commentThreadId']&&Object['hasOwnProperty']['call'](_0x21b50a,'commentThreadId')&&!$util['isString'](_0x21b50a['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x21b50a['documentId']&&Object['hasOwnProperty']['call'](_0x21b50a,'documentId')&&!$util['isString'](_0x21b50a['documentId'])?'documentId:\x20string\x20expected':null!=_0x21b50a['resolvedAt']&&Object['hasOwnProperty']['call'](_0x21b50a,'resolvedAt')&&!$util['isString'](_0x21b50a['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x21b50a['resolvedBy']&&Object['hasOwnProperty']['call'](_0x21b50a,'resolvedBy')&&!$util['isString'](_0x21b50a['resolvedBy'])?'resolvedBy:\x20string\x20expected':null);},CommentsV2ResolveCommentThreadResponse['fromObject']=function(object,_0x1b2eec){if(object instanceof $root['CommentsV2ResolveCommentThreadResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2ResolveCommentThreadResponse:\x20object\x20expected');if(void 0x0===_0x1b2eec&&(_0x1b2eec=0x0),_0x1b2eec>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x511099=new $root['CommentsV2ResolveCommentThreadResponse']();return null!=object['commentThreadId']&&(_0x511099['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x511099['documentId']=String(object['documentId'])),null!=object['resolvedAt']&&(_0x511099['resolvedAt']=String(object['resolvedAt'])),null!=object['resolvedBy']&&(_0x511099['resolvedBy']=String(object['resolvedBy'])),_0x511099;},CommentsV2ResolveCommentThreadResponse['toObject']=function(_0x5a9e12,options,_0x48aa5e){if(options||(options={}),void 0x0===_0x48aa5e&&(_0x48aa5e=0x0),_0x48aa5e>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']='',object['resolvedAt']='',object['resolvedBy']=''),null!=_0x5a9e12['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5a9e12,'commentThreadId')&&(object['commentThreadId']=_0x5a9e12['commentThreadId']),null!=_0x5a9e12['documentId']&&Object['hasOwnProperty']['call'](_0x5a9e12,'documentId')&&(object['documentId']=_0x5a9e12['documentId']),null!=_0x5a9e12['resolvedAt']&&Object['hasOwnProperty']['call'](_0x5a9e12,'resolvedAt')&&(object['resolvedAt']=_0x5a9e12['resolvedAt']),null!=_0x5a9e12['resolvedBy']&&Object['hasOwnProperty']['call'](_0x5a9e12,'resolvedBy')&&(object['resolvedBy']=_0x5a9e12['resolvedBy']),object;},CommentsV2ResolveCommentThreadResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2ResolveCommentThreadResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2ResolveCommentThreadResponse';},CommentsV2ResolveCommentThreadResponse;}()),$root['CommentsV2AddCommentThreadResponse']=(function(){function CommentsV2AddCommentThreadResponse(properties){if(this['comments']=[],properties){for(var _0x4713f2=Object['keys'](properties),_0x13eacc=0x0;_0x13eacc<_0x4713f2['length'];++_0x13eacc)null!=properties[_0x4713f2[_0x13eacc]]&&'__proto__'!==_0x4713f2[_0x13eacc]&&(this[_0x4713f2[_0x13eacc]]=properties[_0x4713f2[_0x13eacc]]);}}return CommentsV2AddCommentThreadResponse['prototype']['commentThreadId']='',CommentsV2AddCommentThreadResponse['prototype']['createdAt']='',CommentsV2AddCommentThreadResponse['prototype']['comments']=$util['emptyArray'],CommentsV2AddCommentThreadResponse['create']=function(properties){return new CommentsV2AddCommentThreadResponse(properties);},CommentsV2AddCommentThreadResponse['encode']=function(_0x146609,writer,_0x2617e3){if(writer||(writer=$Writer['create']()),void 0x0===_0x2617e3&&(_0x2617e3=0x0),_0x2617e3>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x146609['commentThreadId']&&Object['hasOwnProperty']['call'](_0x146609,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x146609['commentThreadId']),null!=_0x146609['createdAt']&&Object['hasOwnProperty']['call'](_0x146609,'createdAt')&&writer['uint32'](0x12)['string'](_0x146609['createdAt']),null!=_0x146609['comments']&&_0x146609['comments']['length']){for(var _0x247a5b=0x0;_0x247a5b<_0x146609['comments']['length'];++_0x247a5b)$root['CommentThreadAddedCommentDescriptor']['encode'](_0x146609['comments'][_0x247a5b],writer['uint32'](0x1a)['fork'](),_0x2617e3+0x1)['ldelim']();}return writer;},CommentsV2AddCommentThreadResponse['encodeDelimited']=function(_0x52d1ae,writer){return this['encode'](_0x52d1ae,writer)['ldelim']();},CommentsV2AddCommentThreadResponse['decode']=function(_0x500a20,length,_0x5d79ba,_0x522ed7){if(_0x500a20 instanceof _0x5a128a||(_0x500a20=_0x5a128a['create'](_0x500a20)),void 0x0===_0x522ed7&&(_0x522ed7=0x0),_0x522ed7>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x27dec9=void 0x0===length?_0x500a20['len']:_0x500a20['pos']+length,_0x529d69=new $root['CommentsV2AddCommentThreadResponse']();_0x500a20['pos']<_0x27dec9;){var tag=_0x500a20['uint32']();if(tag===_0x5d79ba)break;switch(tag>>>0x3){case 0x1:_0x529d69['commentThreadId']=_0x500a20['string']();break;case 0x2:_0x529d69['createdAt']=_0x500a20['string']();break;case 0x3:_0x529d69['comments']&&_0x529d69['comments']['length']||(_0x529d69['comments']=[]),_0x529d69['comments']['push']($root['CommentThreadAddedCommentDescriptor']['decode'](_0x500a20,_0x500a20['uint32'](),void 0x0,_0x522ed7+0x1));break;default:_0x500a20['skipType'](0x7&tag,_0x522ed7);}}return _0x529d69;},CommentsV2AddCommentThreadResponse['decodeDelimited']=function(_0x48d4ca){return _0x48d4ca instanceof _0x5a128a||(_0x48d4ca=new _0x5a128a(_0x48d4ca)),this['decode'](_0x48d4ca,_0x48d4ca['uint32']());},CommentsV2AddCommentThreadResponse['verify']=function(_0x180da3,_0x5c473a){if('object'!=typeof _0x180da3||null===_0x180da3)return'object\x20expected';if(void 0x0===_0x5c473a&&(_0x5c473a=0x0),_0x5c473a>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x180da3['commentThreadId']&&Object['hasOwnProperty']['call'](_0x180da3,'commentThreadId')&&!$util['isString'](_0x180da3['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x180da3['createdAt']&&Object['hasOwnProperty']['call'](_0x180da3,'createdAt')&&!$util['isString'](_0x180da3['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x180da3['comments']&&Object['hasOwnProperty']['call'](_0x180da3,'comments')){if(!Array['isArray'](_0x180da3['comments']))return'comments:\x20array\x20expected';for(var _0x44f937=0x0;_0x44f937<_0x180da3['comments']['length'];++_0x44f937){var _0x5b0b8d=$root['CommentThreadAddedCommentDescriptor']['verify'](_0x180da3['comments'][_0x44f937],_0x5c473a+0x1);if(_0x5b0b8d)return'comments.'+_0x5b0b8d;}}return null;},CommentsV2AddCommentThreadResponse['fromObject']=function(object,_0x3f1d33){if(object instanceof $root['CommentsV2AddCommentThreadResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2AddCommentThreadResponse:\x20object\x20expected');if(void 0x0===_0x3f1d33&&(_0x3f1d33=0x0),_0x3f1d33>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x50b5d6=new $root['CommentsV2AddCommentThreadResponse']();if(null!=object['commentThreadId']&&(_0x50b5d6['commentThreadId']=String(object['commentThreadId'])),null!=object['createdAt']&&(_0x50b5d6['createdAt']=String(object['createdAt'])),object['comments']){if(!Array['isArray'](object['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x50b5d6['comments']=[];for(var _0x2d1bce=0x0;_0x2d1bce<object['comments']['length'];++_0x2d1bce){if(!$util['isObject'](object['comments'][_0x2d1bce]))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x50b5d6['comments'][_0x2d1bce]=$root['CommentThreadAddedCommentDescriptor']['fromObject'](object['comments'][_0x2d1bce],_0x3f1d33+0x1);}}return _0x50b5d6;},CommentsV2AddCommentThreadResponse['toObject']=function(_0x3c488f,options,_0x4e16a5){if(options||(options={}),void 0x0===_0x4e16a5&&(_0x4e16a5=0x0),_0x4e16a5>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['comments']=[]),options['defaults']&&(object['commentThreadId']='',object['createdAt']=''),null!=_0x3c488f['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3c488f,'commentThreadId')&&(object['commentThreadId']=_0x3c488f['commentThreadId']),null!=_0x3c488f['createdAt']&&Object['hasOwnProperty']['call'](_0x3c488f,'createdAt')&&(object['createdAt']=_0x3c488f['createdAt']),_0x3c488f['comments']&&_0x3c488f['comments']['length']){object['comments']=[];for(var _0x25c8fe=0x0;_0x25c8fe<_0x3c488f['comments']['length'];++_0x25c8fe)object['comments'][_0x25c8fe]=$root['CommentThreadAddedCommentDescriptor']['toObject'](_0x3c488f['comments'][_0x25c8fe],options,_0x4e16a5+0x1);}return object;},CommentsV2AddCommentThreadResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2AddCommentThreadResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2AddCommentThreadResponse';},CommentsV2AddCommentThreadResponse;}()),$root['CommentsV2UpdateCommentMessage']=(function(){function CommentsV2UpdateCommentMessage(properties){if(properties){for(var _0x2a304c=Object['keys'](properties),_0x3d026a=0x0;_0x3d026a<_0x2a304c['length'];++_0x3d026a)null!=properties[_0x2a304c[_0x3d026a]]&&'__proto__'!==_0x2a304c[_0x3d026a]&&(this[_0x2a304c[_0x3d026a]]=properties[_0x2a304c[_0x3d026a]]);}}return CommentsV2UpdateCommentMessage['prototype']['commentThreadId']='',CommentsV2UpdateCommentMessage['prototype']['commentId']='',CommentsV2UpdateCommentMessage['prototype']['content']='',CommentsV2UpdateCommentMessage['prototype']['documentId']='',CommentsV2UpdateCommentMessage['prototype']['attributes']='',CommentsV2UpdateCommentMessage['prototype']['isAttributesUpdated']=!0x1,CommentsV2UpdateCommentMessage['prototype']['commentThread']=null,CommentsV2UpdateCommentMessage['create']=function(properties){return new CommentsV2UpdateCommentMessage(properties);},CommentsV2UpdateCommentMessage['encode']=function(_0x4a7408,writer,_0x2999d4){if(writer||(writer=$Writer['create']()),void 0x0===_0x2999d4&&(_0x2999d4=0x0),_0x2999d4>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4a7408['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4a7408,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x4a7408['commentThreadId']),null!=_0x4a7408['commentId']&&Object['hasOwnProperty']['call'](_0x4a7408,'commentId')&&writer['uint32'](0x12)['string'](_0x4a7408['commentId']),null!=_0x4a7408['content']&&Object['hasOwnProperty']['call'](_0x4a7408,'content')&&writer['uint32'](0x1a)['string'](_0x4a7408['content']),null!=_0x4a7408['documentId']&&Object['hasOwnProperty']['call'](_0x4a7408,'documentId')&&writer['uint32'](0x22)['string'](_0x4a7408['documentId']),null!=_0x4a7408['attributes']&&Object['hasOwnProperty']['call'](_0x4a7408,'attributes')&&writer['uint32'](0x2a)['string'](_0x4a7408['attributes']),null!=_0x4a7408['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x4a7408,'isAttributesUpdated')&&writer['uint32'](0x30)['bool'](_0x4a7408['isAttributesUpdated']),null!=_0x4a7408['commentThread']&&Object['hasOwnProperty']['call'](_0x4a7408,'commentThread')&&$root['CommentsThreadDescriptor']['encode'](_0x4a7408['commentThread'],writer['uint32'](0x3a)['fork'](),_0x2999d4+0x1)['ldelim'](),writer;},CommentsV2UpdateCommentMessage['encodeDelimited']=function(_0x4fa790,writer){return this['encode'](_0x4fa790,writer)['ldelim']();},CommentsV2UpdateCommentMessage['decode']=function(_0x5f29f3,length,_0x42ecdc,_0x401833){if(_0x5f29f3 instanceof _0x5a128a||(_0x5f29f3=_0x5a128a['create'](_0x5f29f3)),void 0x0===_0x401833&&(_0x401833=0x0),_0x401833>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2fb856=void 0x0===length?_0x5f29f3['len']:_0x5f29f3['pos']+length,_0x46e965=new $root['CommentsV2UpdateCommentMessage']();_0x5f29f3['pos']<_0x2fb856;){var tag=_0x5f29f3['uint32']();if(tag===_0x42ecdc)break;switch(tag>>>0x3){case 0x1:_0x46e965['commentThreadId']=_0x5f29f3['string']();break;case 0x2:_0x46e965['commentId']=_0x5f29f3['string']();break;case 0x3:_0x46e965['content']=_0x5f29f3['string']();break;case 0x4:_0x46e965['documentId']=_0x5f29f3['string']();break;case 0x5:_0x46e965['attributes']=_0x5f29f3['string']();break;case 0x6:_0x46e965['isAttributesUpdated']=_0x5f29f3['bool']();break;case 0x7:_0x46e965['commentThread']=$root['CommentsThreadDescriptor']['decode'](_0x5f29f3,_0x5f29f3['uint32'](),void 0x0,_0x401833+0x1);break;default:_0x5f29f3['skipType'](0x7&tag,_0x401833);}}return _0x46e965;},CommentsV2UpdateCommentMessage['decodeDelimited']=function(_0x12100e){return _0x12100e instanceof _0x5a128a||(_0x12100e=new _0x5a128a(_0x12100e)),this['decode'](_0x12100e,_0x12100e['uint32']());},CommentsV2UpdateCommentMessage['verify']=function(_0x3e4df6,_0x1f1a9e){if('object'!=typeof _0x3e4df6||null===_0x3e4df6)return'object\x20expected';if(void 0x0===_0x1f1a9e&&(_0x1f1a9e=0x0),_0x1f1a9e>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3e4df6['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3e4df6,'commentThreadId')&&!$util['isString'](_0x3e4df6['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3e4df6['commentId']&&Object['hasOwnProperty']['call'](_0x3e4df6,'commentId')&&!$util['isString'](_0x3e4df6['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x3e4df6['content']&&Object['hasOwnProperty']['call'](_0x3e4df6,'content')&&!$util['isString'](_0x3e4df6['content']))return'content:\x20string\x20expected';if(null!=_0x3e4df6['documentId']&&Object['hasOwnProperty']['call'](_0x3e4df6,'documentId')&&!$util['isString'](_0x3e4df6['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x3e4df6['attributes']&&Object['hasOwnProperty']['call'](_0x3e4df6,'attributes')&&!$util['isString'](_0x3e4df6['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x3e4df6['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x3e4df6,'isAttributesUpdated')&&'boolean'!=typeof _0x3e4df6['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x3e4df6['commentThread']&&Object['hasOwnProperty']['call'](_0x3e4df6,'commentThread')){var _0x437a99=$root['CommentsThreadDescriptor']['verify'](_0x3e4df6['commentThread'],_0x1f1a9e+0x1);if(_0x437a99)return'commentThread.'+_0x437a99;}return null;},CommentsV2UpdateCommentMessage['fromObject']=function(object,_0x379b14){if(object instanceof $root['CommentsV2UpdateCommentMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2UpdateCommentMessage:\x20object\x20expected');if(void 0x0===_0x379b14&&(_0x379b14=0x0),_0x379b14>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xfc43fd=new $root['CommentsV2UpdateCommentMessage']();if(null!=object['commentThreadId']&&(_0xfc43fd['commentThreadId']=String(object['commentThreadId'])),null!=object['commentId']&&(_0xfc43fd['commentId']=String(object['commentId'])),null!=object['content']&&(_0xfc43fd['content']=String(object['content'])),null!=object['documentId']&&(_0xfc43fd['documentId']=String(object['documentId'])),null!=object['attributes']&&(_0xfc43fd['attributes']=String(object['attributes'])),null!=object['isAttributesUpdated']&&(_0xfc43fd['isAttributesUpdated']=Boolean(object['isAttributesUpdated'])),null!=object['commentThread']){if(!$util['isObject'](object['commentThread']))throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0xfc43fd['commentThread']=$root['CommentsThreadDescriptor']['fromObject'](object['commentThread'],_0x379b14+0x1);}return _0xfc43fd;},CommentsV2UpdateCommentMessage['toObject']=function(_0x574047,options,_0x2952ef){if(options||(options={}),void 0x0===_0x2952ef&&(_0x2952ef=0x0),_0x2952ef>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['commentId']='',object['content']='',object['documentId']='',object['attributes']='',object['isAttributesUpdated']=!0x1,object['commentThread']=null),null!=_0x574047['commentThreadId']&&Object['hasOwnProperty']['call'](_0x574047,'commentThreadId')&&(object['commentThreadId']=_0x574047['commentThreadId']),null!=_0x574047['commentId']&&Object['hasOwnProperty']['call'](_0x574047,'commentId')&&(object['commentId']=_0x574047['commentId']),null!=_0x574047['content']&&Object['hasOwnProperty']['call'](_0x574047,'content')&&(object['content']=_0x574047['content']),null!=_0x574047['documentId']&&Object['hasOwnProperty']['call'](_0x574047,'documentId')&&(object['documentId']=_0x574047['documentId']),null!=_0x574047['attributes']&&Object['hasOwnProperty']['call'](_0x574047,'attributes')&&(object['attributes']=_0x574047['attributes']),null!=_0x574047['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x574047,'isAttributesUpdated')&&(object['isAttributesUpdated']=_0x574047['isAttributesUpdated']),null!=_0x574047['commentThread']&&Object['hasOwnProperty']['call'](_0x574047,'commentThread')&&(object['commentThread']=$root['CommentsThreadDescriptor']['toObject'](_0x574047['commentThread'],options,_0x2952ef+0x1)),object;},CommentsV2UpdateCommentMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2UpdateCommentMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2UpdateCommentMessage';},CommentsV2UpdateCommentMessage;}()),$root['CommentsV2RemoveCommentThreadMessage']=(function(){function CommentsV2RemoveCommentThreadMessage(properties){if(properties){for(var _0x1ad2c3=Object['keys'](properties),_0xf54a38=0x0;_0xf54a38<_0x1ad2c3['length'];++_0xf54a38)null!=properties[_0x1ad2c3[_0xf54a38]]&&'__proto__'!==_0x1ad2c3[_0xf54a38]&&(this[_0x1ad2c3[_0xf54a38]]=properties[_0x1ad2c3[_0xf54a38]]);}}return CommentsV2RemoveCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2RemoveCommentThreadMessage['prototype']['documentId']='',CommentsV2RemoveCommentThreadMessage['create']=function(properties){return new CommentsV2RemoveCommentThreadMessage(properties);},CommentsV2RemoveCommentThreadMessage['encode']=function(_0x4eee4a,writer,_0x2023a4){if(writer||(writer=$Writer['create']()),void 0x0===_0x2023a4&&(_0x2023a4=0x0),_0x2023a4>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4eee4a['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4eee4a,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x4eee4a['commentThreadId']),null!=_0x4eee4a['documentId']&&Object['hasOwnProperty']['call'](_0x4eee4a,'documentId')&&writer['uint32'](0x12)['string'](_0x4eee4a['documentId']),writer;},CommentsV2RemoveCommentThreadMessage['encodeDelimited']=function(_0x224a40,writer){return this['encode'](_0x224a40,writer)['ldelim']();},CommentsV2RemoveCommentThreadMessage['decode']=function(_0x1ba53c,length,_0x5c89cd,_0x10223a){if(_0x1ba53c instanceof _0x5a128a||(_0x1ba53c=_0x5a128a['create'](_0x1ba53c)),void 0x0===_0x10223a&&(_0x10223a=0x0),_0x10223a>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x289cea=void 0x0===length?_0x1ba53c['len']:_0x1ba53c['pos']+length,_0x3dbbd5=new $root['CommentsV2RemoveCommentThreadMessage']();_0x1ba53c['pos']<_0x289cea;){var tag=_0x1ba53c['uint32']();if(tag===_0x5c89cd)break;switch(tag>>>0x3){case 0x1:_0x3dbbd5['commentThreadId']=_0x1ba53c['string']();break;case 0x2:_0x3dbbd5['documentId']=_0x1ba53c['string']();break;default:_0x1ba53c['skipType'](0x7&tag,_0x10223a);}}return _0x3dbbd5;},CommentsV2RemoveCommentThreadMessage['decodeDelimited']=function(_0x5d7630){return _0x5d7630 instanceof _0x5a128a||(_0x5d7630=new _0x5a128a(_0x5d7630)),this['decode'](_0x5d7630,_0x5d7630['uint32']());},CommentsV2RemoveCommentThreadMessage['verify']=function(_0x22d214,_0x28cec1){return'object'!=typeof _0x22d214||null===_0x22d214?'object\x20expected':(void 0x0===_0x28cec1&&(_0x28cec1=0x0),_0x28cec1>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x22d214['commentThreadId']&&Object['hasOwnProperty']['call'](_0x22d214,'commentThreadId')&&!$util['isString'](_0x22d214['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x22d214['documentId']&&Object['hasOwnProperty']['call'](_0x22d214,'documentId')&&!$util['isString'](_0x22d214['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2RemoveCommentThreadMessage['fromObject']=function(object,_0x4677e3){if(object instanceof $root['CommentsV2RemoveCommentThreadMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2RemoveCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x4677e3&&(_0x4677e3=0x0),_0x4677e3>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5105b3=new $root['CommentsV2RemoveCommentThreadMessage']();return null!=object['commentThreadId']&&(_0x5105b3['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x5105b3['documentId']=String(object['documentId'])),_0x5105b3;},CommentsV2RemoveCommentThreadMessage['toObject']=function(_0x274616,options,_0x4bcc12){if(options||(options={}),void 0x0===_0x4bcc12&&(_0x4bcc12=0x0),_0x4bcc12>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']=''),null!=_0x274616['commentThreadId']&&Object['hasOwnProperty']['call'](_0x274616,'commentThreadId')&&(object['commentThreadId']=_0x274616['commentThreadId']),null!=_0x274616['documentId']&&Object['hasOwnProperty']['call'](_0x274616,'documentId')&&(object['documentId']=_0x274616['documentId']),object;},CommentsV2RemoveCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2RemoveCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2RemoveCommentThreadMessage';},CommentsV2RemoveCommentThreadMessage;}()),$root['CommentsV2RemoveCommentMessage']=(function(){function CommentsV2RemoveCommentMessage(properties){if(properties){for(var _0x227c24=Object['keys'](properties),_0x4b9d00=0x0;_0x4b9d00<_0x227c24['length'];++_0x4b9d00)null!=properties[_0x227c24[_0x4b9d00]]&&'__proto__'!==_0x227c24[_0x4b9d00]&&(this[_0x227c24[_0x4b9d00]]=properties[_0x227c24[_0x4b9d00]]);}}return CommentsV2RemoveCommentMessage['prototype']['commentThreadId']='',CommentsV2RemoveCommentMessage['prototype']['commentId']='',CommentsV2RemoveCommentMessage['prototype']['documentId']='',CommentsV2RemoveCommentMessage['create']=function(properties){return new CommentsV2RemoveCommentMessage(properties);},CommentsV2RemoveCommentMessage['encode']=function(_0x20c8e0,writer,_0x3fa339){if(writer||(writer=$Writer['create']()),void 0x0===_0x3fa339&&(_0x3fa339=0x0),_0x3fa339>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x20c8e0['commentThreadId']&&Object['hasOwnProperty']['call'](_0x20c8e0,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x20c8e0['commentThreadId']),null!=_0x20c8e0['commentId']&&Object['hasOwnProperty']['call'](_0x20c8e0,'commentId')&&writer['uint32'](0x12)['string'](_0x20c8e0['commentId']),null!=_0x20c8e0['documentId']&&Object['hasOwnProperty']['call'](_0x20c8e0,'documentId')&&writer['uint32'](0x1a)['string'](_0x20c8e0['documentId']),writer;},CommentsV2RemoveCommentMessage['encodeDelimited']=function(_0x1ee79a,writer){return this['encode'](_0x1ee79a,writer)['ldelim']();},CommentsV2RemoveCommentMessage['decode']=function(_0x465eec,length,_0x37c09b,_0x26350d){if(_0x465eec instanceof _0x5a128a||(_0x465eec=_0x5a128a['create'](_0x465eec)),void 0x0===_0x26350d&&(_0x26350d=0x0),_0x26350d>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x34a258=void 0x0===length?_0x465eec['len']:_0x465eec['pos']+length,_0x107c6c=new $root['CommentsV2RemoveCommentMessage']();_0x465eec['pos']<_0x34a258;){var tag=_0x465eec['uint32']();if(tag===_0x37c09b)break;switch(tag>>>0x3){case 0x1:_0x107c6c['commentThreadId']=_0x465eec['string']();break;case 0x2:_0x107c6c['commentId']=_0x465eec['string']();break;case 0x3:_0x107c6c['documentId']=_0x465eec['string']();break;default:_0x465eec['skipType'](0x7&tag,_0x26350d);}}return _0x107c6c;},CommentsV2RemoveCommentMessage['decodeDelimited']=function(_0x2d0adf){return _0x2d0adf instanceof _0x5a128a||(_0x2d0adf=new _0x5a128a(_0x2d0adf)),this['decode'](_0x2d0adf,_0x2d0adf['uint32']());},CommentsV2RemoveCommentMessage['verify']=function(_0x270a73,_0x3ff12b){return'object'!=typeof _0x270a73||null===_0x270a73?'object\x20expected':(void 0x0===_0x3ff12b&&(_0x3ff12b=0x0),_0x3ff12b>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x270a73['commentThreadId']&&Object['hasOwnProperty']['call'](_0x270a73,'commentThreadId')&&!$util['isString'](_0x270a73['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x270a73['commentId']&&Object['hasOwnProperty']['call'](_0x270a73,'commentId')&&!$util['isString'](_0x270a73['commentId'])?'commentId:\x20string\x20expected':null!=_0x270a73['documentId']&&Object['hasOwnProperty']['call'](_0x270a73,'documentId')&&!$util['isString'](_0x270a73['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2RemoveCommentMessage['fromObject']=function(object,_0x1ba816){if(object instanceof $root['CommentsV2RemoveCommentMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2RemoveCommentMessage:\x20object\x20expected');if(void 0x0===_0x1ba816&&(_0x1ba816=0x0),_0x1ba816>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x203a1d=new $root['CommentsV2RemoveCommentMessage']();return null!=object['commentThreadId']&&(_0x203a1d['commentThreadId']=String(object['commentThreadId'])),null!=object['commentId']&&(_0x203a1d['commentId']=String(object['commentId'])),null!=object['documentId']&&(_0x203a1d['documentId']=String(object['documentId'])),_0x203a1d;},CommentsV2RemoveCommentMessage['toObject']=function(_0x43df4e,options,_0x517315){if(options||(options={}),void 0x0===_0x517315&&(_0x517315=0x0),_0x517315>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['commentId']='',object['documentId']=''),null!=_0x43df4e['commentThreadId']&&Object['hasOwnProperty']['call'](_0x43df4e,'commentThreadId')&&(object['commentThreadId']=_0x43df4e['commentThreadId']),null!=_0x43df4e['commentId']&&Object['hasOwnProperty']['call'](_0x43df4e,'commentId')&&(object['commentId']=_0x43df4e['commentId']),null!=_0x43df4e['documentId']&&Object['hasOwnProperty']['call'](_0x43df4e,'documentId')&&(object['documentId']=_0x43df4e['documentId']),object;},CommentsV2RemoveCommentMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2RemoveCommentMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2RemoveCommentMessage';},CommentsV2RemoveCommentMessage;}()),$root['CommentsV2GetDocumentThreadsMessage']=(function(){function CommentsV2GetDocumentThreadsMessage(properties){if(properties){for(var _0x184135=Object['keys'](properties),_0x30f5c9=0x0;_0x30f5c9<_0x184135['length'];++_0x30f5c9)null!=properties[_0x184135[_0x30f5c9]]&&'__proto__'!==_0x184135[_0x30f5c9]&&(this[_0x184135[_0x30f5c9]]=properties[_0x184135[_0x30f5c9]]);}}return CommentsV2GetDocumentThreadsMessage['prototype']['documentId']='',CommentsV2GetDocumentThreadsMessage['create']=function(properties){return new CommentsV2GetDocumentThreadsMessage(properties);},CommentsV2GetDocumentThreadsMessage['encode']=function(_0x1adc49,writer,_0x1b9e3e){if(writer||(writer=$Writer['create']()),void 0x0===_0x1b9e3e&&(_0x1b9e3e=0x0),_0x1b9e3e>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1adc49['documentId']&&Object['hasOwnProperty']['call'](_0x1adc49,'documentId')&&writer['uint32'](0xa)['string'](_0x1adc49['documentId']),writer;},CommentsV2GetDocumentThreadsMessage['encodeDelimited']=function(_0x8e5347,writer){return this['encode'](_0x8e5347,writer)['ldelim']();},CommentsV2GetDocumentThreadsMessage['decode']=function(_0x388299,length,_0x4eea69,_0x15e46c){if(_0x388299 instanceof _0x5a128a||(_0x388299=_0x5a128a['create'](_0x388299)),void 0x0===_0x15e46c&&(_0x15e46c=0x0),_0x15e46c>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x420f96=void 0x0===length?_0x388299['len']:_0x388299['pos']+length,_0x10c8e1=new $root['CommentsV2GetDocumentThreadsMessage']();_0x388299['pos']<_0x420f96;){var tag=_0x388299['uint32']();if(tag===_0x4eea69)break;if(tag>>>0x3==0x1)_0x10c8e1['documentId']=_0x388299['string']();else _0x388299['skipType'](0x7&tag,_0x15e46c);}return _0x10c8e1;},CommentsV2GetDocumentThreadsMessage['decodeDelimited']=function(_0x1a5201){return _0x1a5201 instanceof _0x5a128a||(_0x1a5201=new _0x5a128a(_0x1a5201)),this['decode'](_0x1a5201,_0x1a5201['uint32']());},CommentsV2GetDocumentThreadsMessage['verify']=function(_0x3ca730,_0xc80b09){return'object'!=typeof _0x3ca730||null===_0x3ca730?'object\x20expected':(void 0x0===_0xc80b09&&(_0xc80b09=0x0),_0xc80b09>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3ca730['documentId']&&Object['hasOwnProperty']['call'](_0x3ca730,'documentId')&&!$util['isString'](_0x3ca730['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2GetDocumentThreadsMessage['fromObject']=function(object,_0x1f8059){if(object instanceof $root['CommentsV2GetDocumentThreadsMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2GetDocumentThreadsMessage:\x20object\x20expected');if(void 0x0===_0x1f8059&&(_0x1f8059=0x0),_0x1f8059>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x14a3c9=new $root['CommentsV2GetDocumentThreadsMessage']();return null!=object['documentId']&&(_0x14a3c9['documentId']=String(object['documentId'])),_0x14a3c9;},CommentsV2GetDocumentThreadsMessage['toObject']=function(_0x335755,options,_0x8e2ec8){if(options||(options={}),void 0x0===_0x8e2ec8&&(_0x8e2ec8=0x0),_0x8e2ec8>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']=''),null!=_0x335755['documentId']&&Object['hasOwnProperty']['call'](_0x335755,'documentId')&&(object['documentId']=_0x335755['documentId']),object;},CommentsV2GetDocumentThreadsMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2GetDocumentThreadsMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2GetDocumentThreadsMessage';},CommentsV2GetDocumentThreadsMessage;}()),$root['CommentsV2GetCommentThreadMessage']=(function(){function CommentsV2GetCommentThreadMessage(properties){if(properties){for(var _0x4df970=Object['keys'](properties),_0x61dfe3=0x0;_0x61dfe3<_0x4df970['length'];++_0x61dfe3)null!=properties[_0x4df970[_0x61dfe3]]&&'__proto__'!==_0x4df970[_0x61dfe3]&&(this[_0x4df970[_0x61dfe3]]=properties[_0x4df970[_0x61dfe3]]);}}return CommentsV2GetCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2GetCommentThreadMessage['prototype']['documentId']='',CommentsV2GetCommentThreadMessage['create']=function(properties){return new CommentsV2GetCommentThreadMessage(properties);},CommentsV2GetCommentThreadMessage['encode']=function(_0x4691f7,writer,_0x3e187b){if(writer||(writer=$Writer['create']()),void 0x0===_0x3e187b&&(_0x3e187b=0x0),_0x3e187b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4691f7['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4691f7,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x4691f7['commentThreadId']),null!=_0x4691f7['documentId']&&Object['hasOwnProperty']['call'](_0x4691f7,'documentId')&&writer['uint32'](0x12)['string'](_0x4691f7['documentId']),writer;},CommentsV2GetCommentThreadMessage['encodeDelimited']=function(_0xd3867e,writer){return this['encode'](_0xd3867e,writer)['ldelim']();},CommentsV2GetCommentThreadMessage['decode']=function(_0x197035,length,_0x181cd5,_0x1020c7){if(_0x197035 instanceof _0x5a128a||(_0x197035=_0x5a128a['create'](_0x197035)),void 0x0===_0x1020c7&&(_0x1020c7=0x0),_0x1020c7>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4d4c8e=void 0x0===length?_0x197035['len']:_0x197035['pos']+length,_0x46ebd1=new $root['CommentsV2GetCommentThreadMessage']();_0x197035['pos']<_0x4d4c8e;){var tag=_0x197035['uint32']();if(tag===_0x181cd5)break;switch(tag>>>0x3){case 0x1:_0x46ebd1['commentThreadId']=_0x197035['string']();break;case 0x2:_0x46ebd1['documentId']=_0x197035['string']();break;default:_0x197035['skipType'](0x7&tag,_0x1020c7);}}return _0x46ebd1;},CommentsV2GetCommentThreadMessage['decodeDelimited']=function(_0x48bfa2){return _0x48bfa2 instanceof _0x5a128a||(_0x48bfa2=new _0x5a128a(_0x48bfa2)),this['decode'](_0x48bfa2,_0x48bfa2['uint32']());},CommentsV2GetCommentThreadMessage['verify']=function(_0x2ede18,_0x5bd9c3){return'object'!=typeof _0x2ede18||null===_0x2ede18?'object\x20expected':(void 0x0===_0x5bd9c3&&(_0x5bd9c3=0x0),_0x5bd9c3>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2ede18['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2ede18,'commentThreadId')&&!$util['isString'](_0x2ede18['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x2ede18['documentId']&&Object['hasOwnProperty']['call'](_0x2ede18,'documentId')&&!$util['isString'](_0x2ede18['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2GetCommentThreadMessage['fromObject']=function(object,_0x14d7c5){if(object instanceof $root['CommentsV2GetCommentThreadMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2GetCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x14d7c5&&(_0x14d7c5=0x0),_0x14d7c5>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x17fa2b=new $root['CommentsV2GetCommentThreadMessage']();return null!=object['commentThreadId']&&(_0x17fa2b['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x17fa2b['documentId']=String(object['documentId'])),_0x17fa2b;},CommentsV2GetCommentThreadMessage['toObject']=function(_0x5d1f34,options,_0x16e628){if(options||(options={}),void 0x0===_0x16e628&&(_0x16e628=0x0),_0x16e628>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']=''),null!=_0x5d1f34['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5d1f34,'commentThreadId')&&(object['commentThreadId']=_0x5d1f34['commentThreadId']),null!=_0x5d1f34['documentId']&&Object['hasOwnProperty']['call'](_0x5d1f34,'documentId')&&(object['documentId']=_0x5d1f34['documentId']),object;},CommentsV2GetCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2GetCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2GetCommentThreadMessage';},CommentsV2GetCommentThreadMessage;}()),$root['CommentsV2ConnectMessage']=(function(){function CommentsV2ConnectMessage(properties){if(properties){for(var _0x3ec874=Object['keys'](properties),_0x4694ca=0x0;_0x4694ca<_0x3ec874['length'];++_0x4694ca)null!=properties[_0x3ec874[_0x4694ca]]&&'__proto__'!==_0x3ec874[_0x4694ca]&&(this[_0x3ec874[_0x4694ca]]=properties[_0x3ec874[_0x4694ca]]);}}return CommentsV2ConnectMessage['prototype']['documentId']='',CommentsV2ConnectMessage['create']=function(properties){return new CommentsV2ConnectMessage(properties);},CommentsV2ConnectMessage['encode']=function(_0x52f48c,writer,_0x508f7e){if(writer||(writer=$Writer['create']()),void 0x0===_0x508f7e&&(_0x508f7e=0x0),_0x508f7e>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x52f48c['documentId']&&Object['hasOwnProperty']['call'](_0x52f48c,'documentId')&&writer['uint32'](0xa)['string'](_0x52f48c['documentId']),writer;},CommentsV2ConnectMessage['encodeDelimited']=function(_0x4c9497,writer){return this['encode'](_0x4c9497,writer)['ldelim']();},CommentsV2ConnectMessage['decode']=function(_0x4487f8,length,_0x27b0a5,_0x4e2558){if(_0x4487f8 instanceof _0x5a128a||(_0x4487f8=_0x5a128a['create'](_0x4487f8)),void 0x0===_0x4e2558&&(_0x4e2558=0x0),_0x4e2558>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x225610=void 0x0===length?_0x4487f8['len']:_0x4487f8['pos']+length,_0x1a51cb=new $root['CommentsV2ConnectMessage']();_0x4487f8['pos']<_0x225610;){var tag=_0x4487f8['uint32']();if(tag===_0x27b0a5)break;if(tag>>>0x3==0x1)_0x1a51cb['documentId']=_0x4487f8['string']();else _0x4487f8['skipType'](0x7&tag,_0x4e2558);}return _0x1a51cb;},CommentsV2ConnectMessage['decodeDelimited']=function(_0x49d7c7){return _0x49d7c7 instanceof _0x5a128a||(_0x49d7c7=new _0x5a128a(_0x49d7c7)),this['decode'](_0x49d7c7,_0x49d7c7['uint32']());},CommentsV2ConnectMessage['verify']=function(_0x4bd9dc,_0x46f741){return'object'!=typeof _0x4bd9dc||null===_0x4bd9dc?'object\x20expected':(void 0x0===_0x46f741&&(_0x46f741=0x0),_0x46f741>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4bd9dc['documentId']&&Object['hasOwnProperty']['call'](_0x4bd9dc,'documentId')&&!$util['isString'](_0x4bd9dc['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2ConnectMessage['fromObject']=function(object,_0x2f0d9a){if(object instanceof $root['CommentsV2ConnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2ConnectMessage:\x20object\x20expected');if(void 0x0===_0x2f0d9a&&(_0x2f0d9a=0x0),_0x2f0d9a>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4ffbb2=new $root['CommentsV2ConnectMessage']();return null!=object['documentId']&&(_0x4ffbb2['documentId']=String(object['documentId'])),_0x4ffbb2;},CommentsV2ConnectMessage['toObject']=function(_0x37c91d,options,_0x28955a){if(options||(options={}),void 0x0===_0x28955a&&(_0x28955a=0x0),_0x28955a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']=''),null!=_0x37c91d['documentId']&&Object['hasOwnProperty']['call'](_0x37c91d,'documentId')&&(object['documentId']=_0x37c91d['documentId']),object;},CommentsV2ConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2ConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2ConnectMessage';},CommentsV2ConnectMessage;}()),$root['CommentsV2AddCommentMessage']=(function(){function CommentsV2AddCommentMessage(properties){if(properties){for(var _0x1b42d4=Object['keys'](properties),_0x34b666=0x0;_0x34b666<_0x1b42d4['length'];++_0x34b666)null!=properties[_0x1b42d4[_0x34b666]]&&'__proto__'!==_0x1b42d4[_0x34b666]&&(this[_0x1b42d4[_0x34b666]]=properties[_0x1b42d4[_0x34b666]]);}}return CommentsV2AddCommentMessage['prototype']['commentThreadId']='',CommentsV2AddCommentMessage['prototype']['content']='',CommentsV2AddCommentMessage['prototype']['documentId']='',CommentsV2AddCommentMessage['prototype']['commentId']='',CommentsV2AddCommentMessage['prototype']['createdAt']='',CommentsV2AddCommentMessage['prototype']['userId']='',CommentsV2AddCommentMessage['prototype']['attributes']='',CommentsV2AddCommentMessage['prototype']['commentThread']=null,CommentsV2AddCommentMessage['create']=function(properties){return new CommentsV2AddCommentMessage(properties);},CommentsV2AddCommentMessage['encode']=function(_0x164a1d,writer,_0x228a67){if(writer||(writer=$Writer['create']()),void 0x0===_0x228a67&&(_0x228a67=0x0),_0x228a67>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x164a1d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x164a1d,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x164a1d['commentThreadId']),null!=_0x164a1d['content']&&Object['hasOwnProperty']['call'](_0x164a1d,'content')&&writer['uint32'](0x12)['string'](_0x164a1d['content']),null!=_0x164a1d['documentId']&&Object['hasOwnProperty']['call'](_0x164a1d,'documentId')&&writer['uint32'](0x1a)['string'](_0x164a1d['documentId']),null!=_0x164a1d['commentId']&&Object['hasOwnProperty']['call'](_0x164a1d,'commentId')&&writer['uint32'](0x22)['string'](_0x164a1d['commentId']),null!=_0x164a1d['createdAt']&&Object['hasOwnProperty']['call'](_0x164a1d,'createdAt')&&writer['uint32'](0x2a)['string'](_0x164a1d['createdAt']),null!=_0x164a1d['userId']&&Object['hasOwnProperty']['call'](_0x164a1d,'userId')&&writer['uint32'](0x32)['string'](_0x164a1d['userId']),null!=_0x164a1d['attributes']&&Object['hasOwnProperty']['call'](_0x164a1d,'attributes')&&writer['uint32'](0x3a)['string'](_0x164a1d['attributes']),null!=_0x164a1d['commentThread']&&Object['hasOwnProperty']['call'](_0x164a1d,'commentThread')&&$root['CommentsThreadDescriptor']['encode'](_0x164a1d['commentThread'],writer['uint32'](0x42)['fork'](),_0x228a67+0x1)['ldelim'](),writer;},CommentsV2AddCommentMessage['encodeDelimited']=function(_0x25ab7c,writer){return this['encode'](_0x25ab7c,writer)['ldelim']();},CommentsV2AddCommentMessage['decode']=function(_0x1db96f,length,_0x367479,_0xdadbff){if(_0x1db96f instanceof _0x5a128a||(_0x1db96f=_0x5a128a['create'](_0x1db96f)),void 0x0===_0xdadbff&&(_0xdadbff=0x0),_0xdadbff>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2c61e4=void 0x0===length?_0x1db96f['len']:_0x1db96f['pos']+length,_0x457bda=new $root['CommentsV2AddCommentMessage']();_0x1db96f['pos']<_0x2c61e4;){var tag=_0x1db96f['uint32']();if(tag===_0x367479)break;switch(tag>>>0x3){case 0x1:_0x457bda['commentThreadId']=_0x1db96f['string']();break;case 0x2:_0x457bda['content']=_0x1db96f['string']();break;case 0x3:_0x457bda['documentId']=_0x1db96f['string']();break;case 0x4:_0x457bda['commentId']=_0x1db96f['string']();break;case 0x5:_0x457bda['createdAt']=_0x1db96f['string']();break;case 0x6:_0x457bda['userId']=_0x1db96f['string']();break;case 0x7:_0x457bda['attributes']=_0x1db96f['string']();break;case 0x8:_0x457bda['commentThread']=$root['CommentsThreadDescriptor']['decode'](_0x1db96f,_0x1db96f['uint32'](),void 0x0,_0xdadbff+0x1);break;default:_0x1db96f['skipType'](0x7&tag,_0xdadbff);}}return _0x457bda;},CommentsV2AddCommentMessage['decodeDelimited']=function(_0x2de4b4){return _0x2de4b4 instanceof _0x5a128a||(_0x2de4b4=new _0x5a128a(_0x2de4b4)),this['decode'](_0x2de4b4,_0x2de4b4['uint32']());},CommentsV2AddCommentMessage['verify']=function(_0x306b84,_0x3ac6f7){if('object'!=typeof _0x306b84||null===_0x306b84)return'object\x20expected';if(void 0x0===_0x3ac6f7&&(_0x3ac6f7=0x0),_0x3ac6f7>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x306b84['commentThreadId']&&Object['hasOwnProperty']['call'](_0x306b84,'commentThreadId')&&!$util['isString'](_0x306b84['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x306b84['content']&&Object['hasOwnProperty']['call'](_0x306b84,'content')&&!$util['isString'](_0x306b84['content']))return'content:\x20string\x20expected';if(null!=_0x306b84['documentId']&&Object['hasOwnProperty']['call'](_0x306b84,'documentId')&&!$util['isString'](_0x306b84['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x306b84['commentId']&&Object['hasOwnProperty']['call'](_0x306b84,'commentId')&&!$util['isString'](_0x306b84['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x306b84['createdAt']&&Object['hasOwnProperty']['call'](_0x306b84,'createdAt')&&!$util['isString'](_0x306b84['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x306b84['userId']&&Object['hasOwnProperty']['call'](_0x306b84,'userId')&&!$util['isString'](_0x306b84['userId']))return'userId:\x20string\x20expected';if(null!=_0x306b84['attributes']&&Object['hasOwnProperty']['call'](_0x306b84,'attributes')&&!$util['isString'](_0x306b84['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x306b84['commentThread']&&Object['hasOwnProperty']['call'](_0x306b84,'commentThread')){var _0x53dd40=$root['CommentsThreadDescriptor']['verify'](_0x306b84['commentThread'],_0x3ac6f7+0x1);if(_0x53dd40)return'commentThread.'+_0x53dd40;}return null;},CommentsV2AddCommentMessage['fromObject']=function(object,_0x1da22f){if(object instanceof $root['CommentsV2AddCommentMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2AddCommentMessage:\x20object\x20expected');if(void 0x0===_0x1da22f&&(_0x1da22f=0x0),_0x1da22f>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x575300=new $root['CommentsV2AddCommentMessage']();if(null!=object['commentThreadId']&&(_0x575300['commentThreadId']=String(object['commentThreadId'])),null!=object['content']&&(_0x575300['content']=String(object['content'])),null!=object['documentId']&&(_0x575300['documentId']=String(object['documentId'])),null!=object['commentId']&&(_0x575300['commentId']=String(object['commentId'])),null!=object['createdAt']&&(_0x575300['createdAt']=String(object['createdAt'])),null!=object['userId']&&(_0x575300['userId']=String(object['userId'])),null!=object['attributes']&&(_0x575300['attributes']=String(object['attributes'])),null!=object['commentThread']){if(!$util['isObject'](object['commentThread']))throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0x575300['commentThread']=$root['CommentsThreadDescriptor']['fromObject'](object['commentThread'],_0x1da22f+0x1);}return _0x575300;},CommentsV2AddCommentMessage['toObject']=function(_0x4febe2,options,_0x391fea){if(options||(options={}),void 0x0===_0x391fea&&(_0x391fea=0x0),_0x391fea>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['content']='',object['documentId']='',object['commentId']='',object['createdAt']='',object['userId']='',object['attributes']='',object['commentThread']=null),null!=_0x4febe2['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4febe2,'commentThreadId')&&(object['commentThreadId']=_0x4febe2['commentThreadId']),null!=_0x4febe2['content']&&Object['hasOwnProperty']['call'](_0x4febe2,'content')&&(object['content']=_0x4febe2['content']),null!=_0x4febe2['documentId']&&Object['hasOwnProperty']['call'](_0x4febe2,'documentId')&&(object['documentId']=_0x4febe2['documentId']),null!=_0x4febe2['commentId']&&Object['hasOwnProperty']['call'](_0x4febe2,'commentId')&&(object['commentId']=_0x4febe2['commentId']),null!=_0x4febe2['createdAt']&&Object['hasOwnProperty']['call'](_0x4febe2,'createdAt')&&(object['createdAt']=_0x4febe2['createdAt']),null!=_0x4febe2['userId']&&Object['hasOwnProperty']['call'](_0x4febe2,'userId')&&(object['userId']=_0x4febe2['userId']),null!=_0x4febe2['attributes']&&Object['hasOwnProperty']['call'](_0x4febe2,'attributes')&&(object['attributes']=_0x4febe2['attributes']),null!=_0x4febe2['commentThread']&&Object['hasOwnProperty']['call'](_0x4febe2,'commentThread')&&(object['commentThread']=$root['CommentsThreadDescriptor']['toObject'](_0x4febe2['commentThread'],options,_0x391fea+0x1)),object;},CommentsV2AddCommentMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2AddCommentMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2AddCommentMessage';},CommentsV2AddCommentMessage;}()),$root['CommentsV2UpdateCommentThreadMessage']=(function(){function CommentsV2UpdateCommentThreadMessage(properties){if(properties){for(var _0xc28be9=Object['keys'](properties),_0x1de0c1=0x0;_0x1de0c1<_0xc28be9['length'];++_0x1de0c1)null!=properties[_0xc28be9[_0x1de0c1]]&&'__proto__'!==_0xc28be9[_0x1de0c1]&&(this[_0xc28be9[_0x1de0c1]]=properties[_0xc28be9[_0x1de0c1]]);}}return CommentsV2UpdateCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2UpdateCommentThreadMessage['prototype']['documentId']='',CommentsV2UpdateCommentThreadMessage['prototype']['context']='',CommentsV2UpdateCommentThreadMessage['prototype']['attributes']='',CommentsV2UpdateCommentThreadMessage['prototype']['unlinkedAt']='',CommentsV2UpdateCommentThreadMessage['create']=function(properties){return new CommentsV2UpdateCommentThreadMessage(properties);},CommentsV2UpdateCommentThreadMessage['encode']=function(_0x38fb8b,writer,_0x5c3bd9){if(writer||(writer=$Writer['create']()),void 0x0===_0x5c3bd9&&(_0x5c3bd9=0x0),_0x5c3bd9>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x38fb8b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x38fb8b,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x38fb8b['commentThreadId']),null!=_0x38fb8b['documentId']&&Object['hasOwnProperty']['call'](_0x38fb8b,'documentId')&&writer['uint32'](0x12)['string'](_0x38fb8b['documentId']),null!=_0x38fb8b['context']&&Object['hasOwnProperty']['call'](_0x38fb8b,'context')&&writer['uint32'](0x1a)['string'](_0x38fb8b['context']),null!=_0x38fb8b['attributes']&&Object['hasOwnProperty']['call'](_0x38fb8b,'attributes')&&writer['uint32'](0x22)['string'](_0x38fb8b['attributes']),null!=_0x38fb8b['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x38fb8b,'unlinkedAt')&&writer['uint32'](0x2a)['string'](_0x38fb8b['unlinkedAt']),writer;},CommentsV2UpdateCommentThreadMessage['encodeDelimited']=function(_0x44f2fc,writer){return this['encode'](_0x44f2fc,writer)['ldelim']();},CommentsV2UpdateCommentThreadMessage['decode']=function(_0x2dbbd8,length,_0x220e88,_0x2602f0){if(_0x2dbbd8 instanceof _0x5a128a||(_0x2dbbd8=_0x5a128a['create'](_0x2dbbd8)),void 0x0===_0x2602f0&&(_0x2602f0=0x0),_0x2602f0>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x513c11=void 0x0===length?_0x2dbbd8['len']:_0x2dbbd8['pos']+length,_0x4881db=new $root['CommentsV2UpdateCommentThreadMessage']();_0x2dbbd8['pos']<_0x513c11;){var tag=_0x2dbbd8['uint32']();if(tag===_0x220e88)break;switch(tag>>>0x3){case 0x1:_0x4881db['commentThreadId']=_0x2dbbd8['string']();break;case 0x2:_0x4881db['documentId']=_0x2dbbd8['string']();break;case 0x3:_0x4881db['context']=_0x2dbbd8['string']();break;case 0x4:_0x4881db['attributes']=_0x2dbbd8['string']();break;case 0x5:_0x4881db['unlinkedAt']=_0x2dbbd8['string']();break;default:_0x2dbbd8['skipType'](0x7&tag,_0x2602f0);}}return _0x4881db;},CommentsV2UpdateCommentThreadMessage['decodeDelimited']=function(_0x324569){return _0x324569 instanceof _0x5a128a||(_0x324569=new _0x5a128a(_0x324569)),this['decode'](_0x324569,_0x324569['uint32']());},CommentsV2UpdateCommentThreadMessage['verify']=function(_0x1ee167,_0x3ac550){return'object'!=typeof _0x1ee167||null===_0x1ee167?'object\x20expected':(void 0x0===_0x3ac550&&(_0x3ac550=0x0),_0x3ac550>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1ee167['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1ee167,'commentThreadId')&&!$util['isString'](_0x1ee167['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1ee167['documentId']&&Object['hasOwnProperty']['call'](_0x1ee167,'documentId')&&!$util['isString'](_0x1ee167['documentId'])?'documentId:\x20string\x20expected':null!=_0x1ee167['context']&&Object['hasOwnProperty']['call'](_0x1ee167,'context')&&!$util['isString'](_0x1ee167['context'])?'context:\x20string\x20expected':null!=_0x1ee167['attributes']&&Object['hasOwnProperty']['call'](_0x1ee167,'attributes')&&!$util['isString'](_0x1ee167['attributes'])?'attributes:\x20string\x20expected':null!=_0x1ee167['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x1ee167,'unlinkedAt')&&!$util['isString'](_0x1ee167['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null);},CommentsV2UpdateCommentThreadMessage['fromObject']=function(object,_0x35137e){if(object instanceof $root['CommentsV2UpdateCommentThreadMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2UpdateCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x35137e&&(_0x35137e=0x0),_0x35137e>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x498af5=new $root['CommentsV2UpdateCommentThreadMessage']();return null!=object['commentThreadId']&&(_0x498af5['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x498af5['documentId']=String(object['documentId'])),null!=object['context']&&(_0x498af5['context']=String(object['context'])),null!=object['attributes']&&(_0x498af5['attributes']=String(object['attributes'])),null!=object['unlinkedAt']&&(_0x498af5['unlinkedAt']=String(object['unlinkedAt'])),_0x498af5;},CommentsV2UpdateCommentThreadMessage['toObject']=function(_0x122bed,options,_0x5d597f){if(options||(options={}),void 0x0===_0x5d597f&&(_0x5d597f=0x0),_0x5d597f>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']='',object['context']='',object['attributes']='',object['unlinkedAt']=''),null!=_0x122bed['commentThreadId']&&Object['hasOwnProperty']['call'](_0x122bed,'commentThreadId')&&(object['commentThreadId']=_0x122bed['commentThreadId']),null!=_0x122bed['documentId']&&Object['hasOwnProperty']['call'](_0x122bed,'documentId')&&(object['documentId']=_0x122bed['documentId']),null!=_0x122bed['context']&&Object['hasOwnProperty']['call'](_0x122bed,'context')&&(object['context']=_0x122bed['context']),null!=_0x122bed['attributes']&&Object['hasOwnProperty']['call'](_0x122bed,'attributes')&&(object['attributes']=_0x122bed['attributes']),null!=_0x122bed['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x122bed,'unlinkedAt')&&(object['unlinkedAt']=_0x122bed['unlinkedAt']),object;},CommentsV2UpdateCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2UpdateCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2UpdateCommentThreadMessage';},CommentsV2UpdateCommentThreadMessage;}()),$root['CommentsV2ResolveCommentThreadMessage']=(function(){function CommentsV2ResolveCommentThreadMessage(properties){if(properties){for(var _0x12e651=Object['keys'](properties),_0x55f6bc=0x0;_0x55f6bc<_0x12e651['length'];++_0x55f6bc)null!=properties[_0x12e651[_0x55f6bc]]&&'__proto__'!==_0x12e651[_0x55f6bc]&&(this[_0x12e651[_0x55f6bc]]=properties[_0x12e651[_0x55f6bc]]);}}return CommentsV2ResolveCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2ResolveCommentThreadMessage['prototype']['documentId']='',CommentsV2ResolveCommentThreadMessage['prototype']['resolvedBy']='',CommentsV2ResolveCommentThreadMessage['prototype']['resolvedAt']='',CommentsV2ResolveCommentThreadMessage['create']=function(properties){return new CommentsV2ResolveCommentThreadMessage(properties);},CommentsV2ResolveCommentThreadMessage['encode']=function(_0x42ac19,writer,_0xaab341){if(writer||(writer=$Writer['create']()),void 0x0===_0xaab341&&(_0xaab341=0x0),_0xaab341>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x42ac19['commentThreadId']&&Object['hasOwnProperty']['call'](_0x42ac19,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x42ac19['commentThreadId']),null!=_0x42ac19['documentId']&&Object['hasOwnProperty']['call'](_0x42ac19,'documentId')&&writer['uint32'](0x12)['string'](_0x42ac19['documentId']),null!=_0x42ac19['resolvedBy']&&Object['hasOwnProperty']['call'](_0x42ac19,'resolvedBy')&&writer['uint32'](0x1a)['string'](_0x42ac19['resolvedBy']),null!=_0x42ac19['resolvedAt']&&Object['hasOwnProperty']['call'](_0x42ac19,'resolvedAt')&&writer['uint32'](0x22)['string'](_0x42ac19['resolvedAt']),writer;},CommentsV2ResolveCommentThreadMessage['encodeDelimited']=function(_0x1244f8,writer){return this['encode'](_0x1244f8,writer)['ldelim']();},CommentsV2ResolveCommentThreadMessage['decode']=function(_0x12bebe,length,_0x533df8,_0x4109de){if(_0x12bebe instanceof _0x5a128a||(_0x12bebe=_0x5a128a['create'](_0x12bebe)),void 0x0===_0x4109de&&(_0x4109de=0x0),_0x4109de>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x236895=void 0x0===length?_0x12bebe['len']:_0x12bebe['pos']+length,_0x5c7da3=new $root['CommentsV2ResolveCommentThreadMessage']();_0x12bebe['pos']<_0x236895;){var tag=_0x12bebe['uint32']();if(tag===_0x533df8)break;switch(tag>>>0x3){case 0x1:_0x5c7da3['commentThreadId']=_0x12bebe['string']();break;case 0x2:_0x5c7da3['documentId']=_0x12bebe['string']();break;case 0x3:_0x5c7da3['resolvedBy']=_0x12bebe['string']();break;case 0x4:_0x5c7da3['resolvedAt']=_0x12bebe['string']();break;default:_0x12bebe['skipType'](0x7&tag,_0x4109de);}}return _0x5c7da3;},CommentsV2ResolveCommentThreadMessage['decodeDelimited']=function(_0x1187df){return _0x1187df instanceof _0x5a128a||(_0x1187df=new _0x5a128a(_0x1187df)),this['decode'](_0x1187df,_0x1187df['uint32']());},CommentsV2ResolveCommentThreadMessage['verify']=function(_0x432df7,_0x51701c){return'object'!=typeof _0x432df7||null===_0x432df7?'object\x20expected':(void 0x0===_0x51701c&&(_0x51701c=0x0),_0x51701c>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x432df7['commentThreadId']&&Object['hasOwnProperty']['call'](_0x432df7,'commentThreadId')&&!$util['isString'](_0x432df7['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x432df7['documentId']&&Object['hasOwnProperty']['call'](_0x432df7,'documentId')&&!$util['isString'](_0x432df7['documentId'])?'documentId:\x20string\x20expected':null!=_0x432df7['resolvedBy']&&Object['hasOwnProperty']['call'](_0x432df7,'resolvedBy')&&!$util['isString'](_0x432df7['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x432df7['resolvedAt']&&Object['hasOwnProperty']['call'](_0x432df7,'resolvedAt')&&!$util['isString'](_0x432df7['resolvedAt'])?'resolvedAt:\x20string\x20expected':null);},CommentsV2ResolveCommentThreadMessage['fromObject']=function(object,_0x3232ef){if(object instanceof $root['CommentsV2ResolveCommentThreadMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2ResolveCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x3232ef&&(_0x3232ef=0x0),_0x3232ef>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x240f57=new $root['CommentsV2ResolveCommentThreadMessage']();return null!=object['commentThreadId']&&(_0x240f57['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x240f57['documentId']=String(object['documentId'])),null!=object['resolvedBy']&&(_0x240f57['resolvedBy']=String(object['resolvedBy'])),null!=object['resolvedAt']&&(_0x240f57['resolvedAt']=String(object['resolvedAt'])),_0x240f57;},CommentsV2ResolveCommentThreadMessage['toObject']=function(_0x592db4,options,_0x6a5a67){if(options||(options={}),void 0x0===_0x6a5a67&&(_0x6a5a67=0x0),_0x6a5a67>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']='',object['resolvedBy']='',object['resolvedAt']=''),null!=_0x592db4['commentThreadId']&&Object['hasOwnProperty']['call'](_0x592db4,'commentThreadId')&&(object['commentThreadId']=_0x592db4['commentThreadId']),null!=_0x592db4['documentId']&&Object['hasOwnProperty']['call'](_0x592db4,'documentId')&&(object['documentId']=_0x592db4['documentId']),null!=_0x592db4['resolvedBy']&&Object['hasOwnProperty']['call'](_0x592db4,'resolvedBy')&&(object['resolvedBy']=_0x592db4['resolvedBy']),null!=_0x592db4['resolvedAt']&&Object['hasOwnProperty']['call'](_0x592db4,'resolvedAt')&&(object['resolvedAt']=_0x592db4['resolvedAt']),object;},CommentsV2ResolveCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2ResolveCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2ResolveCommentThreadMessage';},CommentsV2ResolveCommentThreadMessage;}()),$root['CommentsV2ReopenCommentThreadMessage']=(function(){function CommentsV2ReopenCommentThreadMessage(properties){if(properties){for(var _0x267034=Object['keys'](properties),_0x342642=0x0;_0x342642<_0x267034['length'];++_0x342642)null!=properties[_0x267034[_0x342642]]&&'__proto__'!==_0x267034[_0x342642]&&(this[_0x267034[_0x342642]]=properties[_0x267034[_0x342642]]);}}return CommentsV2ReopenCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2ReopenCommentThreadMessage['prototype']['documentId']='',CommentsV2ReopenCommentThreadMessage['create']=function(properties){return new CommentsV2ReopenCommentThreadMessage(properties);},CommentsV2ReopenCommentThreadMessage['encode']=function(_0x2d7c78,writer,_0x1e3f54){if(writer||(writer=$Writer['create']()),void 0x0===_0x1e3f54&&(_0x1e3f54=0x0),_0x1e3f54>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2d7c78['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2d7c78,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x2d7c78['commentThreadId']),null!=_0x2d7c78['documentId']&&Object['hasOwnProperty']['call'](_0x2d7c78,'documentId')&&writer['uint32'](0x12)['string'](_0x2d7c78['documentId']),writer;},CommentsV2ReopenCommentThreadMessage['encodeDelimited']=function(_0x14c3d0,writer){return this['encode'](_0x14c3d0,writer)['ldelim']();},CommentsV2ReopenCommentThreadMessage['decode']=function(_0x30ee97,length,_0x3568a8,_0x18d8d4){if(_0x30ee97 instanceof _0x5a128a||(_0x30ee97=_0x5a128a['create'](_0x30ee97)),void 0x0===_0x18d8d4&&(_0x18d8d4=0x0),_0x18d8d4>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x494b43=void 0x0===length?_0x30ee97['len']:_0x30ee97['pos']+length,_0x2bacd7=new $root['CommentsV2ReopenCommentThreadMessage']();_0x30ee97['pos']<_0x494b43;){var tag=_0x30ee97['uint32']();if(tag===_0x3568a8)break;switch(tag>>>0x3){case 0x1:_0x2bacd7['commentThreadId']=_0x30ee97['string']();break;case 0x2:_0x2bacd7['documentId']=_0x30ee97['string']();break;default:_0x30ee97['skipType'](0x7&tag,_0x18d8d4);}}return _0x2bacd7;},CommentsV2ReopenCommentThreadMessage['decodeDelimited']=function(_0x14374c){return _0x14374c instanceof _0x5a128a||(_0x14374c=new _0x5a128a(_0x14374c)),this['decode'](_0x14374c,_0x14374c['uint32']());},CommentsV2ReopenCommentThreadMessage['verify']=function(_0x423ae7,_0x4464e3){return'object'!=typeof _0x423ae7||null===_0x423ae7?'object\x20expected':(void 0x0===_0x4464e3&&(_0x4464e3=0x0),_0x4464e3>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x423ae7['commentThreadId']&&Object['hasOwnProperty']['call'](_0x423ae7,'commentThreadId')&&!$util['isString'](_0x423ae7['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x423ae7['documentId']&&Object['hasOwnProperty']['call'](_0x423ae7,'documentId')&&!$util['isString'](_0x423ae7['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2ReopenCommentThreadMessage['fromObject']=function(object,_0x130d9a){if(object instanceof $root['CommentsV2ReopenCommentThreadMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2ReopenCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x130d9a&&(_0x130d9a=0x0),_0x130d9a>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x50ff6c=new $root['CommentsV2ReopenCommentThreadMessage']();return null!=object['commentThreadId']&&(_0x50ff6c['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x50ff6c['documentId']=String(object['documentId'])),_0x50ff6c;},CommentsV2ReopenCommentThreadMessage['toObject']=function(_0x4e70fe,options,_0x37c4d7){if(options||(options={}),void 0x0===_0x37c4d7&&(_0x37c4d7=0x0),_0x37c4d7>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']=''),null!=_0x4e70fe['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4e70fe,'commentThreadId')&&(object['commentThreadId']=_0x4e70fe['commentThreadId']),null!=_0x4e70fe['documentId']&&Object['hasOwnProperty']['call'](_0x4e70fe,'documentId')&&(object['documentId']=_0x4e70fe['documentId']),object;},CommentsV2ReopenCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2ReopenCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2ReopenCommentThreadMessage';},CommentsV2ReopenCommentThreadMessage;}()),$root['CommentsV2AddCommentThreadMessage']=(function(){function CommentsV2AddCommentThreadMessage(properties){if(this['comments']=[],properties){for(var _0x8afb67=Object['keys'](properties),_0x4938ad=0x0;_0x4938ad<_0x8afb67['length'];++_0x4938ad)null!=properties[_0x8afb67[_0x4938ad]]&&'__proto__'!==_0x8afb67[_0x4938ad]&&(this[_0x8afb67[_0x4938ad]]=properties[_0x8afb67[_0x4938ad]]);}}return CommentsV2AddCommentThreadMessage['prototype']['documentId']='',CommentsV2AddCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2AddCommentThreadMessage['prototype']['context']='',CommentsV2AddCommentThreadMessage['prototype']['createdAt']='',CommentsV2AddCommentThreadMessage['prototype']['resolvedAt']='',CommentsV2AddCommentThreadMessage['prototype']['resolvedBy']='',CommentsV2AddCommentThreadMessage['prototype']['attributes']='',CommentsV2AddCommentThreadMessage['prototype']['deletedAt']='',CommentsV2AddCommentThreadMessage['prototype']['comments']=$util['emptyArray'],CommentsV2AddCommentThreadMessage['create']=function(properties){return new CommentsV2AddCommentThreadMessage(properties);},CommentsV2AddCommentThreadMessage['encode']=function(_0x764e81,writer,_0x2c95cb){if(writer||(writer=$Writer['create']()),void 0x0===_0x2c95cb&&(_0x2c95cb=0x0),_0x2c95cb>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x764e81['documentId']&&Object['hasOwnProperty']['call'](_0x764e81,'documentId')&&writer['uint32'](0xa)['string'](_0x764e81['documentId']),null!=_0x764e81['commentThreadId']&&Object['hasOwnProperty']['call'](_0x764e81,'commentThreadId')&&writer['uint32'](0x12)['string'](_0x764e81['commentThreadId']),null!=_0x764e81['context']&&Object['hasOwnProperty']['call'](_0x764e81,'context')&&writer['uint32'](0x1a)['string'](_0x764e81['context']),null!=_0x764e81['createdAt']&&Object['hasOwnProperty']['call'](_0x764e81,'createdAt')&&writer['uint32'](0x22)['string'](_0x764e81['createdAt']),null!=_0x764e81['resolvedAt']&&Object['hasOwnProperty']['call'](_0x764e81,'resolvedAt')&&writer['uint32'](0x2a)['string'](_0x764e81['resolvedAt']),null!=_0x764e81['resolvedBy']&&Object['hasOwnProperty']['call'](_0x764e81,'resolvedBy')&&writer['uint32'](0x32)['string'](_0x764e81['resolvedBy']),null!=_0x764e81['attributes']&&Object['hasOwnProperty']['call'](_0x764e81,'attributes')&&writer['uint32'](0x3a)['string'](_0x764e81['attributes']),null!=_0x764e81['deletedAt']&&Object['hasOwnProperty']['call'](_0x764e81,'deletedAt')&&writer['uint32'](0x42)['string'](_0x764e81['deletedAt']),null!=_0x764e81['comments']&&_0x764e81['comments']['length']){for(var _0x20132d=0x0;_0x20132d<_0x764e81['comments']['length'];++_0x20132d)$root['CommentDescriptor']['encode'](_0x764e81['comments'][_0x20132d],writer['uint32'](0x4a)['fork'](),_0x2c95cb+0x1)['ldelim']();}return writer;},CommentsV2AddCommentThreadMessage['encodeDelimited']=function(_0x54d5bc,writer){return this['encode'](_0x54d5bc,writer)['ldelim']();},CommentsV2AddCommentThreadMessage['decode']=function(_0x1f716c,length,_0x3651f5,_0x15846a){if(_0x1f716c instanceof _0x5a128a||(_0x1f716c=_0x5a128a['create'](_0x1f716c)),void 0x0===_0x15846a&&(_0x15846a=0x0),_0x15846a>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xc4f595=void 0x0===length?_0x1f716c['len']:_0x1f716c['pos']+length,_0x31e5c2=new $root['CommentsV2AddCommentThreadMessage']();_0x1f716c['pos']<_0xc4f595;){var tag=_0x1f716c['uint32']();if(tag===_0x3651f5)break;switch(tag>>>0x3){case 0x1:_0x31e5c2['documentId']=_0x1f716c['string']();break;case 0x2:_0x31e5c2['commentThreadId']=_0x1f716c['string']();break;case 0x3:_0x31e5c2['context']=_0x1f716c['string']();break;case 0x4:_0x31e5c2['createdAt']=_0x1f716c['string']();break;case 0x5:_0x31e5c2['resolvedAt']=_0x1f716c['string']();break;case 0x6:_0x31e5c2['resolvedBy']=_0x1f716c['string']();break;case 0x7:_0x31e5c2['attributes']=_0x1f716c['string']();break;case 0x8:_0x31e5c2['deletedAt']=_0x1f716c['string']();break;case 0x9:_0x31e5c2['comments']&&_0x31e5c2['comments']['length']||(_0x31e5c2['comments']=[]),_0x31e5c2['comments']['push']($root['CommentDescriptor']['decode'](_0x1f716c,_0x1f716c['uint32'](),void 0x0,_0x15846a+0x1));break;default:_0x1f716c['skipType'](0x7&tag,_0x15846a);}}return _0x31e5c2;},CommentsV2AddCommentThreadMessage['decodeDelimited']=function(_0x487700){return _0x487700 instanceof _0x5a128a||(_0x487700=new _0x5a128a(_0x487700)),this['decode'](_0x487700,_0x487700['uint32']());},CommentsV2AddCommentThreadMessage['verify']=function(_0x5c151d,_0x4ddd8f){if('object'!=typeof _0x5c151d||null===_0x5c151d)return'object\x20expected';if(void 0x0===_0x4ddd8f&&(_0x4ddd8f=0x0),_0x4ddd8f>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5c151d['documentId']&&Object['hasOwnProperty']['call'](_0x5c151d,'documentId')&&!$util['isString'](_0x5c151d['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x5c151d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5c151d,'commentThreadId')&&!$util['isString'](_0x5c151d['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x5c151d['context']&&Object['hasOwnProperty']['call'](_0x5c151d,'context')&&!$util['isString'](_0x5c151d['context']))return'context:\x20string\x20expected';if(null!=_0x5c151d['createdAt']&&Object['hasOwnProperty']['call'](_0x5c151d,'createdAt')&&!$util['isString'](_0x5c151d['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x5c151d['resolvedAt']&&Object['hasOwnProperty']['call'](_0x5c151d,'resolvedAt')&&!$util['isString'](_0x5c151d['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x5c151d['resolvedBy']&&Object['hasOwnProperty']['call'](_0x5c151d,'resolvedBy')&&!$util['isString'](_0x5c151d['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x5c151d['attributes']&&Object['hasOwnProperty']['call'](_0x5c151d,'attributes')&&!$util['isString'](_0x5c151d['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x5c151d['deletedAt']&&Object['hasOwnProperty']['call'](_0x5c151d,'deletedAt')&&!$util['isString'](_0x5c151d['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x5c151d['comments']&&Object['hasOwnProperty']['call'](_0x5c151d,'comments')){if(!Array['isArray'](_0x5c151d['comments']))return'comments:\x20array\x20expected';for(var _0x3e948e=0x0;_0x3e948e<_0x5c151d['comments']['length'];++_0x3e948e){var _0x4c8492=$root['CommentDescriptor']['verify'](_0x5c151d['comments'][_0x3e948e],_0x4ddd8f+0x1);if(_0x4c8492)return'comments.'+_0x4c8492;}}return null;},CommentsV2AddCommentThreadMessage['fromObject']=function(object,_0x5137c6){if(object instanceof $root['CommentsV2AddCommentThreadMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2AddCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x5137c6&&(_0x5137c6=0x0),_0x5137c6>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x25c618=new $root['CommentsV2AddCommentThreadMessage']();if(null!=object['documentId']&&(_0x25c618['documentId']=String(object['documentId'])),null!=object['commentThreadId']&&(_0x25c618['commentThreadId']=String(object['commentThreadId'])),null!=object['context']&&(_0x25c618['context']=String(object['context'])),null!=object['createdAt']&&(_0x25c618['createdAt']=String(object['createdAt'])),null!=object['resolvedAt']&&(_0x25c618['resolvedAt']=String(object['resolvedAt'])),null!=object['resolvedBy']&&(_0x25c618['resolvedBy']=String(object['resolvedBy'])),null!=object['attributes']&&(_0x25c618['attributes']=String(object['attributes'])),null!=object['deletedAt']&&(_0x25c618['deletedAt']=String(object['deletedAt'])),object['comments']){if(!Array['isArray'](object['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0x25c618['comments']=[];for(var _0x2c7ecf=0x0;_0x2c7ecf<object['comments']['length'];++_0x2c7ecf){if(!$util['isObject'](object['comments'][_0x2c7ecf]))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0x25c618['comments'][_0x2c7ecf]=$root['CommentDescriptor']['fromObject'](object['comments'][_0x2c7ecf],_0x5137c6+0x1);}}return _0x25c618;},CommentsV2AddCommentThreadMessage['toObject']=function(_0x23c6c0,options,_0x3f41fd){if(options||(options={}),void 0x0===_0x3f41fd&&(_0x3f41fd=0x0),_0x3f41fd>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['comments']=[]),options['defaults']&&(object['documentId']='',object['commentThreadId']='',object['context']='',object['createdAt']='',object['resolvedAt']='',object['resolvedBy']='',object['attributes']='',object['deletedAt']=''),null!=_0x23c6c0['documentId']&&Object['hasOwnProperty']['call'](_0x23c6c0,'documentId')&&(object['documentId']=_0x23c6c0['documentId']),null!=_0x23c6c0['commentThreadId']&&Object['hasOwnProperty']['call'](_0x23c6c0,'commentThreadId')&&(object['commentThreadId']=_0x23c6c0['commentThreadId']),null!=_0x23c6c0['context']&&Object['hasOwnProperty']['call'](_0x23c6c0,'context')&&(object['context']=_0x23c6c0['context']),null!=_0x23c6c0['createdAt']&&Object['hasOwnProperty']['call'](_0x23c6c0,'createdAt')&&(object['createdAt']=_0x23c6c0['createdAt']),null!=_0x23c6c0['resolvedAt']&&Object['hasOwnProperty']['call'](_0x23c6c0,'resolvedAt')&&(object['resolvedAt']=_0x23c6c0['resolvedAt']),null!=_0x23c6c0['resolvedBy']&&Object['hasOwnProperty']['call'](_0x23c6c0,'resolvedBy')&&(object['resolvedBy']=_0x23c6c0['resolvedBy']),null!=_0x23c6c0['attributes']&&Object['hasOwnProperty']['call'](_0x23c6c0,'attributes')&&(object['attributes']=_0x23c6c0['attributes']),null!=_0x23c6c0['deletedAt']&&Object['hasOwnProperty']['call'](_0x23c6c0,'deletedAt')&&(object['deletedAt']=_0x23c6c0['deletedAt']),_0x23c6c0['comments']&&_0x23c6c0['comments']['length']){object['comments']=[];for(var _0x1397dc=0x0;_0x1397dc<_0x23c6c0['comments']['length'];++_0x1397dc)object['comments'][_0x1397dc]=$root['CommentDescriptor']['toObject'](_0x23c6c0['comments'][_0x1397dc],options,_0x3f41fd+0x1);}return object;},CommentsV2AddCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2AddCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2AddCommentThreadMessage';},CommentsV2AddCommentThreadMessage;}()),$root['CommentThreadAddedCommentDescriptor']=(function(){function CommentThreadAddedCommentDescriptor(properties){if(properties){for(var _0x2c0b18=Object['keys'](properties),_0x17787d=0x0;_0x17787d<_0x2c0b18['length'];++_0x17787d)null!=properties[_0x2c0b18[_0x17787d]]&&'__proto__'!==_0x2c0b18[_0x17787d]&&(this[_0x2c0b18[_0x17787d]]=properties[_0x2c0b18[_0x17787d]]);}}return CommentThreadAddedCommentDescriptor['prototype']['commentId']='',CommentThreadAddedCommentDescriptor['prototype']['createdAt']='',CommentThreadAddedCommentDescriptor['create']=function(properties){return new CommentThreadAddedCommentDescriptor(properties);},CommentThreadAddedCommentDescriptor['encode']=function(_0x3b121d,writer,_0x21b185){if(writer||(writer=$Writer['create']()),void 0x0===_0x21b185&&(_0x21b185=0x0),_0x21b185>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3b121d['commentId']&&Object['hasOwnProperty']['call'](_0x3b121d,'commentId')&&writer['uint32'](0xa)['string'](_0x3b121d['commentId']),null!=_0x3b121d['createdAt']&&Object['hasOwnProperty']['call'](_0x3b121d,'createdAt')&&writer['uint32'](0x12)['string'](_0x3b121d['createdAt']),writer;},CommentThreadAddedCommentDescriptor['encodeDelimited']=function(_0x20d6ea,writer){return this['encode'](_0x20d6ea,writer)['ldelim']();},CommentThreadAddedCommentDescriptor['decode']=function(_0x4b578a,length,_0xa62c7c,_0x207494){if(_0x4b578a instanceof _0x5a128a||(_0x4b578a=_0x5a128a['create'](_0x4b578a)),void 0x0===_0x207494&&(_0x207494=0x0),_0x207494>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x44b8c3=void 0x0===length?_0x4b578a['len']:_0x4b578a['pos']+length,_0x111008=new $root['CommentThreadAddedCommentDescriptor']();_0x4b578a['pos']<_0x44b8c3;){var tag=_0x4b578a['uint32']();if(tag===_0xa62c7c)break;switch(tag>>>0x3){case 0x1:_0x111008['commentId']=_0x4b578a['string']();break;case 0x2:_0x111008['createdAt']=_0x4b578a['string']();break;default:_0x4b578a['skipType'](0x7&tag,_0x207494);}}return _0x111008;},CommentThreadAddedCommentDescriptor['decodeDelimited']=function(_0x515803){return _0x515803 instanceof _0x5a128a||(_0x515803=new _0x5a128a(_0x515803)),this['decode'](_0x515803,_0x515803['uint32']());},CommentThreadAddedCommentDescriptor['verify']=function(_0x1f1ccc,_0x5e6672){return'object'!=typeof _0x1f1ccc||null===_0x1f1ccc?'object\x20expected':(void 0x0===_0x5e6672&&(_0x5e6672=0x0),_0x5e6672>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1f1ccc['commentId']&&Object['hasOwnProperty']['call'](_0x1f1ccc,'commentId')&&!$util['isString'](_0x1f1ccc['commentId'])?'commentId:\x20string\x20expected':null!=_0x1f1ccc['createdAt']&&Object['hasOwnProperty']['call'](_0x1f1ccc,'createdAt')&&!$util['isString'](_0x1f1ccc['createdAt'])?'createdAt:\x20string\x20expected':null);},CommentThreadAddedCommentDescriptor['fromObject']=function(object,_0x333e0c){if(object instanceof $root['CommentThreadAddedCommentDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.CommentThreadAddedCommentDescriptor:\x20object\x20expected');if(void 0x0===_0x333e0c&&(_0x333e0c=0x0),_0x333e0c>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x26ba71=new $root['CommentThreadAddedCommentDescriptor']();return null!=object['commentId']&&(_0x26ba71['commentId']=String(object['commentId'])),null!=object['createdAt']&&(_0x26ba71['createdAt']=String(object['createdAt'])),_0x26ba71;},CommentThreadAddedCommentDescriptor['toObject']=function(_0x102a63,options,_0x5d3847){if(options||(options={}),void 0x0===_0x5d3847&&(_0x5d3847=0x0),_0x5d3847>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentId']='',object['createdAt']=''),null!=_0x102a63['commentId']&&Object['hasOwnProperty']['call'](_0x102a63,'commentId')&&(object['commentId']=_0x102a63['commentId']),null!=_0x102a63['createdAt']&&Object['hasOwnProperty']['call'](_0x102a63,'createdAt')&&(object['createdAt']=_0x102a63['createdAt']),object;},CommentThreadAddedCommentDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentThreadAddedCommentDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentThreadAddedCommentDescriptor';},CommentThreadAddedCommentDescriptor;}()),$root['CommentsThreadDescriptor']=(function(){function CommentsThreadDescriptor(properties){if(this['comments']=[],properties){for(var _0x4867cb=Object['keys'](properties),_0x5e3d20=0x0;_0x5e3d20<_0x4867cb['length'];++_0x5e3d20)null!=properties[_0x4867cb[_0x5e3d20]]&&'__proto__'!==_0x4867cb[_0x5e3d20]&&(this[_0x4867cb[_0x5e3d20]]=properties[_0x4867cb[_0x5e3d20]]);}}return CommentsThreadDescriptor['prototype']['commentThreadId']='',CommentsThreadDescriptor['prototype']['comments']=$util['emptyArray'],CommentsThreadDescriptor['prototype']['resolvedAt']='',CommentsThreadDescriptor['prototype']['resolvedBy']='',CommentsThreadDescriptor['prototype']['context']='',CommentsThreadDescriptor['prototype']['createdAt']='',CommentsThreadDescriptor['prototype']['deletedAt']='',CommentsThreadDescriptor['prototype']['attributes']='',CommentsThreadDescriptor['prototype']['unlinkedAt']='',CommentsThreadDescriptor['create']=function(properties){return new CommentsThreadDescriptor(properties);},CommentsThreadDescriptor['encode']=function(_0x1ff117,writer,_0xf110b2){if(writer||(writer=$Writer['create']()),void 0x0===_0xf110b2&&(_0xf110b2=0x0),_0xf110b2>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x1ff117['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1ff117,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x1ff117['commentThreadId']),null!=_0x1ff117['comments']&&_0x1ff117['comments']['length']){for(var _0x208e2d=0x0;_0x208e2d<_0x1ff117['comments']['length'];++_0x208e2d)$root['CommentDescriptor']['encode'](_0x1ff117['comments'][_0x208e2d],writer['uint32'](0x12)['fork'](),_0xf110b2+0x1)['ldelim']();}return null!=_0x1ff117['resolvedAt']&&Object['hasOwnProperty']['call'](_0x1ff117,'resolvedAt')&&writer['uint32'](0x1a)['string'](_0x1ff117['resolvedAt']),null!=_0x1ff117['resolvedBy']&&Object['hasOwnProperty']['call'](_0x1ff117,'resolvedBy')&&writer['uint32'](0x22)['string'](_0x1ff117['resolvedBy']),null!=_0x1ff117['context']&&Object['hasOwnProperty']['call'](_0x1ff117,'context')&&writer['uint32'](0x2a)['string'](_0x1ff117['context']),null!=_0x1ff117['createdAt']&&Object['hasOwnProperty']['call'](_0x1ff117,'createdAt')&&writer['uint32'](0x32)['string'](_0x1ff117['createdAt']),null!=_0x1ff117['deletedAt']&&Object['hasOwnProperty']['call'](_0x1ff117,'deletedAt')&&writer['uint32'](0x3a)['string'](_0x1ff117['deletedAt']),null!=_0x1ff117['attributes']&&Object['hasOwnProperty']['call'](_0x1ff117,'attributes')&&writer['uint32'](0x42)['string'](_0x1ff117['attributes']),null!=_0x1ff117['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x1ff117,'unlinkedAt')&&writer['uint32'](0x4a)['string'](_0x1ff117['unlinkedAt']),writer;},CommentsThreadDescriptor['encodeDelimited']=function(_0x24ce2a,writer){return this['encode'](_0x24ce2a,writer)['ldelim']();},CommentsThreadDescriptor['decode']=function(_0x5282c8,length,_0x5f2e8d,_0x3f1fd2){if(_0x5282c8 instanceof _0x5a128a||(_0x5282c8=_0x5a128a['create'](_0x5282c8)),void 0x0===_0x3f1fd2&&(_0x3f1fd2=0x0),_0x3f1fd2>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x19fa89=void 0x0===length?_0x5282c8['len']:_0x5282c8['pos']+length,_0x247a5d=new $root['CommentsThreadDescriptor']();_0x5282c8['pos']<_0x19fa89;){var tag=_0x5282c8['uint32']();if(tag===_0x5f2e8d)break;switch(tag>>>0x3){case 0x1:_0x247a5d['commentThreadId']=_0x5282c8['string']();break;case 0x2:_0x247a5d['comments']&&_0x247a5d['comments']['length']||(_0x247a5d['comments']=[]),_0x247a5d['comments']['push']($root['CommentDescriptor']['decode'](_0x5282c8,_0x5282c8['uint32'](),void 0x0,_0x3f1fd2+0x1));break;case 0x3:_0x247a5d['resolvedAt']=_0x5282c8['string']();break;case 0x4:_0x247a5d['resolvedBy']=_0x5282c8['string']();break;case 0x5:_0x247a5d['context']=_0x5282c8['string']();break;case 0x6:_0x247a5d['createdAt']=_0x5282c8['string']();break;case 0x7:_0x247a5d['deletedAt']=_0x5282c8['string']();break;case 0x8:_0x247a5d['attributes']=_0x5282c8['string']();break;case 0x9:_0x247a5d['unlinkedAt']=_0x5282c8['string']();break;default:_0x5282c8['skipType'](0x7&tag,_0x3f1fd2);}}return _0x247a5d;},CommentsThreadDescriptor['decodeDelimited']=function(_0x440ee7){return _0x440ee7 instanceof _0x5a128a||(_0x440ee7=new _0x5a128a(_0x440ee7)),this['decode'](_0x440ee7,_0x440ee7['uint32']());},CommentsThreadDescriptor['verify']=function(_0x43eda1,_0x165869){if('object'!=typeof _0x43eda1||null===_0x43eda1)return'object\x20expected';if(void 0x0===_0x165869&&(_0x165869=0x0),_0x165869>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x43eda1['commentThreadId']&&Object['hasOwnProperty']['call'](_0x43eda1,'commentThreadId')&&!$util['isString'](_0x43eda1['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x43eda1['comments']&&Object['hasOwnProperty']['call'](_0x43eda1,'comments')){if(!Array['isArray'](_0x43eda1['comments']))return'comments:\x20array\x20expected';for(var _0x344c9e=0x0;_0x344c9e<_0x43eda1['comments']['length'];++_0x344c9e){var _0x3d859b=$root['CommentDescriptor']['verify'](_0x43eda1['comments'][_0x344c9e],_0x165869+0x1);if(_0x3d859b)return'comments.'+_0x3d859b;}}return null!=_0x43eda1['resolvedAt']&&Object['hasOwnProperty']['call'](_0x43eda1,'resolvedAt')&&!$util['isString'](_0x43eda1['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x43eda1['resolvedBy']&&Object['hasOwnProperty']['call'](_0x43eda1,'resolvedBy')&&!$util['isString'](_0x43eda1['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x43eda1['context']&&Object['hasOwnProperty']['call'](_0x43eda1,'context')&&!$util['isString'](_0x43eda1['context'])?'context:\x20string\x20expected':null!=_0x43eda1['createdAt']&&Object['hasOwnProperty']['call'](_0x43eda1,'createdAt')&&!$util['isString'](_0x43eda1['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x43eda1['deletedAt']&&Object['hasOwnProperty']['call'](_0x43eda1,'deletedAt')&&!$util['isString'](_0x43eda1['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x43eda1['attributes']&&Object['hasOwnProperty']['call'](_0x43eda1,'attributes')&&!$util['isString'](_0x43eda1['attributes'])?'attributes:\x20string\x20expected':null!=_0x43eda1['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x43eda1,'unlinkedAt')&&!$util['isString'](_0x43eda1['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},CommentsThreadDescriptor['fromObject']=function(object,_0x2ba9c7){if(object instanceof $root['CommentsThreadDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsThreadDescriptor:\x20object\x20expected');if(void 0x0===_0x2ba9c7&&(_0x2ba9c7=0x0),_0x2ba9c7>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4f99e9=new $root['CommentsThreadDescriptor']();if(null!=object['commentThreadId']&&(_0x4f99e9['commentThreadId']=String(object['commentThreadId'])),object['comments']){if(!Array['isArray'](object['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x4f99e9['comments']=[];for(var _0x3fa476=0x0;_0x3fa476<object['comments']['length'];++_0x3fa476){if(!$util['isObject'](object['comments'][_0x3fa476]))throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x4f99e9['comments'][_0x3fa476]=$root['CommentDescriptor']['fromObject'](object['comments'][_0x3fa476],_0x2ba9c7+0x1);}}return null!=object['resolvedAt']&&(_0x4f99e9['resolvedAt']=String(object['resolvedAt'])),null!=object['resolvedBy']&&(_0x4f99e9['resolvedBy']=String(object['resolvedBy'])),null!=object['context']&&(_0x4f99e9['context']=String(object['context'])),null!=object['createdAt']&&(_0x4f99e9['createdAt']=String(object['createdAt'])),null!=object['deletedAt']&&(_0x4f99e9['deletedAt']=String(object['deletedAt'])),null!=object['attributes']&&(_0x4f99e9['attributes']=String(object['attributes'])),null!=object['unlinkedAt']&&(_0x4f99e9['unlinkedAt']=String(object['unlinkedAt'])),_0x4f99e9;},CommentsThreadDescriptor['toObject']=function(_0x9773b4,options,_0x12688c){if(options||(options={}),void 0x0===_0x12688c&&(_0x12688c=0x0),_0x12688c>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['comments']=[]),options['defaults']&&(object['commentThreadId']='',object['resolvedAt']='',object['resolvedBy']='',object['context']='',object['createdAt']='',object['deletedAt']='',object['attributes']='',object['unlinkedAt']=''),null!=_0x9773b4['commentThreadId']&&Object['hasOwnProperty']['call'](_0x9773b4,'commentThreadId')&&(object['commentThreadId']=_0x9773b4['commentThreadId']),_0x9773b4['comments']&&_0x9773b4['comments']['length']){object['comments']=[];for(var _0x484cfb=0x0;_0x484cfb<_0x9773b4['comments']['length'];++_0x484cfb)object['comments'][_0x484cfb]=$root['CommentDescriptor']['toObject'](_0x9773b4['comments'][_0x484cfb],options,_0x12688c+0x1);}return null!=_0x9773b4['resolvedAt']&&Object['hasOwnProperty']['call'](_0x9773b4,'resolvedAt')&&(object['resolvedAt']=_0x9773b4['resolvedAt']),null!=_0x9773b4['resolvedBy']&&Object['hasOwnProperty']['call'](_0x9773b4,'resolvedBy')&&(object['resolvedBy']=_0x9773b4['resolvedBy']),null!=_0x9773b4['context']&&Object['hasOwnProperty']['call'](_0x9773b4,'context')&&(object['context']=_0x9773b4['context']),null!=_0x9773b4['createdAt']&&Object['hasOwnProperty']['call'](_0x9773b4,'createdAt')&&(object['createdAt']=_0x9773b4['createdAt']),null!=_0x9773b4['deletedAt']&&Object['hasOwnProperty']['call'](_0x9773b4,'deletedAt')&&(object['deletedAt']=_0x9773b4['deletedAt']),null!=_0x9773b4['attributes']&&Object['hasOwnProperty']['call'](_0x9773b4,'attributes')&&(object['attributes']=_0x9773b4['attributes']),null!=_0x9773b4['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x9773b4,'unlinkedAt')&&(object['unlinkedAt']=_0x9773b4['unlinkedAt']),object;},CommentsThreadDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsThreadDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsThreadDescriptor';},CommentsThreadDescriptor;}()),$root['CommentDescriptor']=(function(){function CommentDescriptor(properties){if(properties){for(var _0x2ec3c8=Object['keys'](properties),_0x5da4d3=0x0;_0x5da4d3<_0x2ec3c8['length'];++_0x5da4d3)null!=properties[_0x2ec3c8[_0x5da4d3]]&&'__proto__'!==_0x2ec3c8[_0x5da4d3]&&(this[_0x2ec3c8[_0x5da4d3]]=properties[_0x2ec3c8[_0x5da4d3]]);}}return CommentDescriptor['prototype']['commentId']='',CommentDescriptor['prototype']['commentThreadId']='',CommentDescriptor['prototype']['userId']='',CommentDescriptor['prototype']['content']='',CommentDescriptor['prototype']['documentId']='',CommentDescriptor['prototype']['createdAt']='',CommentDescriptor['prototype']['attributes']='',CommentDescriptor['create']=function(properties){return new CommentDescriptor(properties);},CommentDescriptor['encode']=function(_0x884f12,writer,_0xc178ae){if(writer||(writer=$Writer['create']()),void 0x0===_0xc178ae&&(_0xc178ae=0x0),_0xc178ae>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x884f12['commentId']&&Object['hasOwnProperty']['call'](_0x884f12,'commentId')&&writer['uint32'](0xa)['string'](_0x884f12['commentId']),null!=_0x884f12['commentThreadId']&&Object['hasOwnProperty']['call'](_0x884f12,'commentThreadId')&&writer['uint32'](0x12)['string'](_0x884f12['commentThreadId']),null!=_0x884f12['userId']&&Object['hasOwnProperty']['call'](_0x884f12,'userId')&&writer['uint32'](0x1a)['string'](_0x884f12['userId']),null!=_0x884f12['content']&&Object['hasOwnProperty']['call'](_0x884f12,'content')&&writer['uint32'](0x22)['string'](_0x884f12['content']),null!=_0x884f12['documentId']&&Object['hasOwnProperty']['call'](_0x884f12,'documentId')&&writer['uint32'](0x2a)['string'](_0x884f12['documentId']),null!=_0x884f12['createdAt']&&Object['hasOwnProperty']['call'](_0x884f12,'createdAt')&&writer['uint32'](0x32)['string'](_0x884f12['createdAt']),null!=_0x884f12['attributes']&&Object['hasOwnProperty']['call'](_0x884f12,'attributes')&&writer['uint32'](0x3a)['string'](_0x884f12['attributes']),writer;},CommentDescriptor['encodeDelimited']=function(_0x4b44db,writer){return this['encode'](_0x4b44db,writer)['ldelim']();},CommentDescriptor['decode']=function(_0x52e23d,length,_0x3f6ccf,_0x2c1054){if(_0x52e23d instanceof _0x5a128a||(_0x52e23d=_0x5a128a['create'](_0x52e23d)),void 0x0===_0x2c1054&&(_0x2c1054=0x0),_0x2c1054>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x54964b=void 0x0===length?_0x52e23d['len']:_0x52e23d['pos']+length,_0xd1c92f=new $root['CommentDescriptor']();_0x52e23d['pos']<_0x54964b;){var tag=_0x52e23d['uint32']();if(tag===_0x3f6ccf)break;switch(tag>>>0x3){case 0x1:_0xd1c92f['commentId']=_0x52e23d['string']();break;case 0x2:_0xd1c92f['commentThreadId']=_0x52e23d['string']();break;case 0x3:_0xd1c92f['userId']=_0x52e23d['string']();break;case 0x4:_0xd1c92f['content']=_0x52e23d['string']();break;case 0x5:_0xd1c92f['documentId']=_0x52e23d['string']();break;case 0x6:_0xd1c92f['createdAt']=_0x52e23d['string']();break;case 0x7:_0xd1c92f['attributes']=_0x52e23d['string']();break;default:_0x52e23d['skipType'](0x7&tag,_0x2c1054);}}return _0xd1c92f;},CommentDescriptor['decodeDelimited']=function(_0x2f7071){return _0x2f7071 instanceof _0x5a128a||(_0x2f7071=new _0x5a128a(_0x2f7071)),this['decode'](_0x2f7071,_0x2f7071['uint32']());},CommentDescriptor['verify']=function(_0x44cb51,_0x16f3c9){return'object'!=typeof _0x44cb51||null===_0x44cb51?'object\x20expected':(void 0x0===_0x16f3c9&&(_0x16f3c9=0x0),_0x16f3c9>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x44cb51['commentId']&&Object['hasOwnProperty']['call'](_0x44cb51,'commentId')&&!$util['isString'](_0x44cb51['commentId'])?'commentId:\x20string\x20expected':null!=_0x44cb51['commentThreadId']&&Object['hasOwnProperty']['call'](_0x44cb51,'commentThreadId')&&!$util['isString'](_0x44cb51['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x44cb51['userId']&&Object['hasOwnProperty']['call'](_0x44cb51,'userId')&&!$util['isString'](_0x44cb51['userId'])?'userId:\x20string\x20expected':null!=_0x44cb51['content']&&Object['hasOwnProperty']['call'](_0x44cb51,'content')&&!$util['isString'](_0x44cb51['content'])?'content:\x20string\x20expected':null!=_0x44cb51['documentId']&&Object['hasOwnProperty']['call'](_0x44cb51,'documentId')&&!$util['isString'](_0x44cb51['documentId'])?'documentId:\x20string\x20expected':null!=_0x44cb51['createdAt']&&Object['hasOwnProperty']['call'](_0x44cb51,'createdAt')&&!$util['isString'](_0x44cb51['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x44cb51['attributes']&&Object['hasOwnProperty']['call'](_0x44cb51,'attributes')&&!$util['isString'](_0x44cb51['attributes'])?'attributes:\x20string\x20expected':null);},CommentDescriptor['fromObject']=function(object,_0x53eef2){if(object instanceof $root['CommentDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.CommentDescriptor:\x20object\x20expected');if(void 0x0===_0x53eef2&&(_0x53eef2=0x0),_0x53eef2>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x21f209=new $root['CommentDescriptor']();return null!=object['commentId']&&(_0x21f209['commentId']=String(object['commentId'])),null!=object['commentThreadId']&&(_0x21f209['commentThreadId']=String(object['commentThreadId'])),null!=object['userId']&&(_0x21f209['userId']=String(object['userId'])),null!=object['content']&&(_0x21f209['content']=String(object['content'])),null!=object['documentId']&&(_0x21f209['documentId']=String(object['documentId'])),null!=object['createdAt']&&(_0x21f209['createdAt']=String(object['createdAt'])),null!=object['attributes']&&(_0x21f209['attributes']=String(object['attributes'])),_0x21f209;},CommentDescriptor['toObject']=function(_0x51bfcb,options,_0x58921e){if(options||(options={}),void 0x0===_0x58921e&&(_0x58921e=0x0),_0x58921e>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentId']='',object['commentThreadId']='',object['userId']='',object['content']='',object['documentId']='',object['createdAt']='',object['attributes']=''),null!=_0x51bfcb['commentId']&&Object['hasOwnProperty']['call'](_0x51bfcb,'commentId')&&(object['commentId']=_0x51bfcb['commentId']),null!=_0x51bfcb['commentThreadId']&&Object['hasOwnProperty']['call'](_0x51bfcb,'commentThreadId')&&(object['commentThreadId']=_0x51bfcb['commentThreadId']),null!=_0x51bfcb['userId']&&Object['hasOwnProperty']['call'](_0x51bfcb,'userId')&&(object['userId']=_0x51bfcb['userId']),null!=_0x51bfcb['content']&&Object['hasOwnProperty']['call'](_0x51bfcb,'content')&&(object['content']=_0x51bfcb['content']),null!=_0x51bfcb['documentId']&&Object['hasOwnProperty']['call'](_0x51bfcb,'documentId')&&(object['documentId']=_0x51bfcb['documentId']),null!=_0x51bfcb['createdAt']&&Object['hasOwnProperty']['call'](_0x51bfcb,'createdAt')&&(object['createdAt']=_0x51bfcb['createdAt']),null!=_0x51bfcb['attributes']&&Object['hasOwnProperty']['call'](_0x51bfcb,'attributes')&&(object['attributes']=_0x51bfcb['attributes']),object;},CommentDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentDescriptor';},CommentDescriptor;}()),$root['GetDocumentDetailsResponse']=(function(){function GetDocumentDetailsResponse(properties){if(properties){for(var _0x11b9ff=Object['keys'](properties),_0x27c4c8=0x0;_0x27c4c8<_0x11b9ff['length'];++_0x27c4c8)null!=properties[_0x11b9ff[_0x27c4c8]]&&'__proto__'!==_0x11b9ff[_0x27c4c8]&&(this[_0x11b9ff[_0x27c4c8]]=properties[_0x11b9ff[_0x27c4c8]]);}}return GetDocumentDetailsResponse['prototype']['lastDocumentSessionId']='',GetDocumentDetailsResponse['prototype']['lastDocumentSessionOperationId']='',GetDocumentDetailsResponse['prototype']['currentDocumentSessionId']='',GetDocumentDetailsResponse['prototype']['currentDocumentSessionVersion']=0x0,GetDocumentDetailsResponse['prototype']['currentDocumentSessionOperationId']='',GetDocumentDetailsResponse['create']=function(properties){return new GetDocumentDetailsResponse(properties);},GetDocumentDetailsResponse['encode']=function(_0x145051,writer,_0x54ab9a){if(writer||(writer=$Writer['create']()),void 0x0===_0x54ab9a&&(_0x54ab9a=0x0),_0x54ab9a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x145051['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x145051,'lastDocumentSessionId')&&writer['uint32'](0xa)['string'](_0x145051['lastDocumentSessionId']),null!=_0x145051['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x145051,'lastDocumentSessionOperationId')&&writer['uint32'](0x12)['string'](_0x145051['lastDocumentSessionOperationId']),null!=_0x145051['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x145051,'currentDocumentSessionId')&&writer['uint32'](0x1a)['string'](_0x145051['currentDocumentSessionId']),null!=_0x145051['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x145051,'currentDocumentSessionVersion')&&writer['uint32'](0x20)['uint32'](_0x145051['currentDocumentSessionVersion']),null!=_0x145051['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x145051,'currentDocumentSessionOperationId')&&writer['uint32'](0x2a)['string'](_0x145051['currentDocumentSessionOperationId']),writer;},GetDocumentDetailsResponse['encodeDelimited']=function(_0x3a3b8e,writer){return this['encode'](_0x3a3b8e,writer)['ldelim']();},GetDocumentDetailsResponse['decode']=function(_0x4efcb9,length,_0x1232fd,_0x186ee2){if(_0x4efcb9 instanceof _0x5a128a||(_0x4efcb9=_0x5a128a['create'](_0x4efcb9)),void 0x0===_0x186ee2&&(_0x186ee2=0x0),_0x186ee2>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4abdcc=void 0x0===length?_0x4efcb9['len']:_0x4efcb9['pos']+length,_0x55cbd0=new $root['GetDocumentDetailsResponse']();_0x4efcb9['pos']<_0x4abdcc;){var tag=_0x4efcb9['uint32']();if(tag===_0x1232fd)break;switch(tag>>>0x3){case 0x1:_0x55cbd0['lastDocumentSessionId']=_0x4efcb9['string']();break;case 0x2:_0x55cbd0['lastDocumentSessionOperationId']=_0x4efcb9['string']();break;case 0x3:_0x55cbd0['currentDocumentSessionId']=_0x4efcb9['string']();break;case 0x4:_0x55cbd0['currentDocumentSessionVersion']=_0x4efcb9['uint32']();break;case 0x5:_0x55cbd0['currentDocumentSessionOperationId']=_0x4efcb9['string']();break;default:_0x4efcb9['skipType'](0x7&tag,_0x186ee2);}}return _0x55cbd0;},GetDocumentDetailsResponse['decodeDelimited']=function(_0x27d5a6){return _0x27d5a6 instanceof _0x5a128a||(_0x27d5a6=new _0x5a128a(_0x27d5a6)),this['decode'](_0x27d5a6,_0x27d5a6['uint32']());},GetDocumentDetailsResponse['verify']=function(_0x52f9ea,_0x815e59){return'object'!=typeof _0x52f9ea||null===_0x52f9ea?'object\x20expected':(void 0x0===_0x815e59&&(_0x815e59=0x0),_0x815e59>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x52f9ea['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x52f9ea,'lastDocumentSessionId')&&!$util['isString'](_0x52f9ea['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0x52f9ea['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x52f9ea,'lastDocumentSessionOperationId')&&!$util['isString'](_0x52f9ea['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0x52f9ea['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x52f9ea,'currentDocumentSessionId')&&!$util['isString'](_0x52f9ea['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0x52f9ea['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x52f9ea,'currentDocumentSessionVersion')&&!$util['isInteger'](_0x52f9ea['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0x52f9ea['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x52f9ea,'currentDocumentSessionOperationId')&&!$util['isString'](_0x52f9ea['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null);},GetDocumentDetailsResponse['fromObject']=function(object,_0x59ddf0){if(object instanceof $root['GetDocumentDetailsResponse'])return object;if(!$util['isObject'](object))throw TypeError('.GetDocumentDetailsResponse:\x20object\x20expected');if(void 0x0===_0x59ddf0&&(_0x59ddf0=0x0),_0x59ddf0>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5e8a64=new $root['GetDocumentDetailsResponse']();return null!=object['lastDocumentSessionId']&&(_0x5e8a64['lastDocumentSessionId']=String(object['lastDocumentSessionId'])),null!=object['lastDocumentSessionOperationId']&&(_0x5e8a64['lastDocumentSessionOperationId']=String(object['lastDocumentSessionOperationId'])),null!=object['currentDocumentSessionId']&&(_0x5e8a64['currentDocumentSessionId']=String(object['currentDocumentSessionId'])),null!=object['currentDocumentSessionVersion']&&(_0x5e8a64['currentDocumentSessionVersion']=object['currentDocumentSessionVersion']>>>0x0),null!=object['currentDocumentSessionOperationId']&&(_0x5e8a64['currentDocumentSessionOperationId']=String(object['currentDocumentSessionOperationId'])),_0x5e8a64;},GetDocumentDetailsResponse['toObject']=function(_0x1b43d5,options,_0x5509b9){if(options||(options={}),void 0x0===_0x5509b9&&(_0x5509b9=0x0),_0x5509b9>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['lastDocumentSessionId']='',object['lastDocumentSessionOperationId']='',object['currentDocumentSessionId']='',object['currentDocumentSessionVersion']=0x0,object['currentDocumentSessionOperationId']=''),null!=_0x1b43d5['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x1b43d5,'lastDocumentSessionId')&&(object['lastDocumentSessionId']=_0x1b43d5['lastDocumentSessionId']),null!=_0x1b43d5['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x1b43d5,'lastDocumentSessionOperationId')&&(object['lastDocumentSessionOperationId']=_0x1b43d5['lastDocumentSessionOperationId']),null!=_0x1b43d5['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x1b43d5,'currentDocumentSessionId')&&(object['currentDocumentSessionId']=_0x1b43d5['currentDocumentSessionId']),null!=_0x1b43d5['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x1b43d5,'currentDocumentSessionVersion')&&(object['currentDocumentSessionVersion']=_0x1b43d5['currentDocumentSessionVersion']),null!=_0x1b43d5['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x1b43d5,'currentDocumentSessionOperationId')&&(object['currentDocumentSessionOperationId']=_0x1b43d5['currentDocumentSessionOperationId']),object;},GetDocumentDetailsResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetDocumentDetailsResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetDocumentDetailsResponse';},GetDocumentDetailsResponse;}()),$root['CollaborativeEditingResponse']=(function(){function CollaborativeEditingResponse(properties){if(this['buffers']=[],this['types']=[],this['metadata']=[],properties){for(var _0x543a79=Object['keys'](properties),_0x381a3e=0x0;_0x381a3e<_0x543a79['length'];++_0x381a3e)null!=properties[_0x543a79[_0x381a3e]]&&'__proto__'!==_0x543a79[_0x381a3e]&&(this[_0x543a79[_0x381a3e]]=properties[_0x543a79[_0x381a3e]]);}}return CollaborativeEditingResponse['prototype']['version']=0x0,CollaborativeEditingResponse['prototype']['buffers']=$util['emptyArray'],CollaborativeEditingResponse['prototype']['types']=$util['emptyArray'],CollaborativeEditingResponse['prototype']['metadata']=$util['emptyArray'],CollaborativeEditingResponse['prototype']['lastOperationId']='',CollaborativeEditingResponse['prototype']['lastOperationAcceptedAt']='',CollaborativeEditingResponse['create']=function(properties){return new CollaborativeEditingResponse(properties);},CollaborativeEditingResponse['encode']=function(_0x20f0ed,writer,_0x25ea7d){if(writer||(writer=$Writer['create']()),void 0x0===_0x25ea7d&&(_0x25ea7d=0x0),_0x25ea7d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x20f0ed['version']&&Object['hasOwnProperty']['call'](_0x20f0ed,'version')&&writer['uint32'](0x8)['uint32'](_0x20f0ed['version']),null!=_0x20f0ed['buffers']&&_0x20f0ed['buffers']['length']){for(var _0x5d4e63=0x0;_0x5d4e63<_0x20f0ed['buffers']['length'];++_0x5d4e63)writer['uint32'](0x12)['bytes'](_0x20f0ed['buffers'][_0x5d4e63]);}if(null!=_0x20f0ed['types']&&_0x20f0ed['types']['length']){writer['uint32'](0x1a)['fork']();for(_0x5d4e63=0x0;_0x5d4e63<_0x20f0ed['types']['length'];++_0x5d4e63)writer['uint32'](_0x20f0ed['types'][_0x5d4e63]);writer['ldelim']();}if(null!=_0x20f0ed['metadata']&&_0x20f0ed['metadata']['length']){for(_0x5d4e63=0x0;_0x5d4e63<_0x20f0ed['metadata']['length'];++_0x5d4e63)$root['OperationMetadataDescriptor']['encode'](_0x20f0ed['metadata'][_0x5d4e63],writer['uint32'](0x2a)['fork'](),_0x25ea7d+0x1)['ldelim']();}return null!=_0x20f0ed['lastOperationId']&&Object['hasOwnProperty']['call'](_0x20f0ed,'lastOperationId')&&writer['uint32'](0x32)['string'](_0x20f0ed['lastOperationId']),null!=_0x20f0ed['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x20f0ed,'lastOperationAcceptedAt')&&writer['uint32'](0x3a)['string'](_0x20f0ed['lastOperationAcceptedAt']),writer;},CollaborativeEditingResponse['encodeDelimited']=function(_0x55744d,writer){return this['encode'](_0x55744d,writer)['ldelim']();},CollaborativeEditingResponse['decode']=function(_0x198312,length,_0x533cdf,_0x264a9a){if(_0x198312 instanceof _0x5a128a||(_0x198312=_0x5a128a['create'](_0x198312)),void 0x0===_0x264a9a&&(_0x264a9a=0x0),_0x264a9a>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x34724b=void 0x0===length?_0x198312['len']:_0x198312['pos']+length,_0x53ace6=new $root['CollaborativeEditingResponse']();_0x198312['pos']<_0x34724b;){var tag=_0x198312['uint32']();if(tag===_0x533cdf)break;switch(tag>>>0x3){case 0x1:_0x53ace6['version']=_0x198312['uint32']();break;case 0x2:_0x53ace6['buffers']&&_0x53ace6['buffers']['length']||(_0x53ace6['buffers']=[]),_0x53ace6['buffers']['push'](_0x198312['bytes']());break;case 0x3:if(_0x53ace6['types']&&_0x53ace6['types']['length']||(_0x53ace6['types']=[]),0x2==(0x7&tag)){for(var _0x506c65=_0x198312['uint32']()+_0x198312['pos'];_0x198312['pos']<_0x506c65;)_0x53ace6['types']['push'](_0x198312['uint32']());}else _0x53ace6['types']['push'](_0x198312['uint32']());break;case 0x5:_0x53ace6['metadata']&&_0x53ace6['metadata']['length']||(_0x53ace6['metadata']=[]),_0x53ace6['metadata']['push']($root['OperationMetadataDescriptor']['decode'](_0x198312,_0x198312['uint32'](),void 0x0,_0x264a9a+0x1));break;case 0x6:_0x53ace6['lastOperationId']=_0x198312['string']();break;case 0x7:_0x53ace6['lastOperationAcceptedAt']=_0x198312['string']();break;default:_0x198312['skipType'](0x7&tag,_0x264a9a);}}return _0x53ace6;},CollaborativeEditingResponse['decodeDelimited']=function(_0x203946){return _0x203946 instanceof _0x5a128a||(_0x203946=new _0x5a128a(_0x203946)),this['decode'](_0x203946,_0x203946['uint32']());},CollaborativeEditingResponse['verify']=function(_0x2e6e72,_0x560de4){if('object'!=typeof _0x2e6e72||null===_0x2e6e72)return'object\x20expected';if(void 0x0===_0x560de4&&(_0x560de4=0x0),_0x560de4>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2e6e72['version']&&Object['hasOwnProperty']['call'](_0x2e6e72,'version')&&!$util['isInteger'](_0x2e6e72['version']))return'version:\x20integer\x20expected';if(null!=_0x2e6e72['buffers']&&Object['hasOwnProperty']['call'](_0x2e6e72,'buffers')){if(!Array['isArray'](_0x2e6e72['buffers']))return'buffers:\x20array\x20expected';for(var _0x1c01d9=0x0;_0x1c01d9<_0x2e6e72['buffers']['length'];++_0x1c01d9)if(!(_0x2e6e72['buffers'][_0x1c01d9]&&'number'==typeof _0x2e6e72['buffers'][_0x1c01d9]['length']||$util['isString'](_0x2e6e72['buffers'][_0x1c01d9])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x2e6e72['types']&&Object['hasOwnProperty']['call'](_0x2e6e72,'types')){if(!Array['isArray'](_0x2e6e72['types']))return'types:\x20array\x20expected';for(_0x1c01d9=0x0;_0x1c01d9<_0x2e6e72['types']['length'];++_0x1c01d9)if(!$util['isInteger'](_0x2e6e72['types'][_0x1c01d9]))return'types:\x20integer[]\x20expected';}if(null!=_0x2e6e72['metadata']&&Object['hasOwnProperty']['call'](_0x2e6e72,'metadata')){if(!Array['isArray'](_0x2e6e72['metadata']))return'metadata:\x20array\x20expected';for(_0x1c01d9=0x0;_0x1c01d9<_0x2e6e72['metadata']['length'];++_0x1c01d9){var _0x251028=$root['OperationMetadataDescriptor']['verify'](_0x2e6e72['metadata'][_0x1c01d9],_0x560de4+0x1);if(_0x251028)return'metadata.'+_0x251028;}}return null!=_0x2e6e72['lastOperationId']&&Object['hasOwnProperty']['call'](_0x2e6e72,'lastOperationId')&&!$util['isString'](_0x2e6e72['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x2e6e72['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x2e6e72,'lastOperationAcceptedAt')&&!$util['isString'](_0x2e6e72['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},CollaborativeEditingResponse['fromObject']=function(object,_0x5ad110){if(object instanceof $root['CollaborativeEditingResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CollaborativeEditingResponse:\x20object\x20expected');if(void 0x0===_0x5ad110&&(_0x5ad110=0x0),_0x5ad110>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x23be5b=new $root['CollaborativeEditingResponse']();if(null!=object['version']&&(_0x23be5b['version']=object['version']>>>0x0),object['buffers']){if(!Array['isArray'](object['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x23be5b['buffers']=[];for(var _0x56bab3=0x0;_0x56bab3<object['buffers']['length'];++_0x56bab3)'string'==typeof object['buffers'][_0x56bab3]?$util['base64']['decode'](object['buffers'][_0x56bab3],_0x23be5b['buffers'][_0x56bab3]=$util['newBuffer']($util['base64']['length'](object['buffers'][_0x56bab3])),0x0):object['buffers'][_0x56bab3]['length']>=0x0&&(_0x23be5b['buffers'][_0x56bab3]=object['buffers'][_0x56bab3]);}if(object['types']){if(!Array['isArray'](object['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');_0x23be5b['types']=[];for(_0x56bab3=0x0;_0x56bab3<object['types']['length'];++_0x56bab3)_0x23be5b['types'][_0x56bab3]=object['types'][_0x56bab3]>>>0x0;}if(object['metadata']){if(!Array['isArray'](object['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');_0x23be5b['metadata']=[];for(_0x56bab3=0x0;_0x56bab3<object['metadata']['length'];++_0x56bab3){if(!$util['isObject'](object['metadata'][_0x56bab3]))throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x23be5b['metadata'][_0x56bab3]=$root['OperationMetadataDescriptor']['fromObject'](object['metadata'][_0x56bab3],_0x5ad110+0x1);}}return null!=object['lastOperationId']&&(_0x23be5b['lastOperationId']=String(object['lastOperationId'])),null!=object['lastOperationAcceptedAt']&&(_0x23be5b['lastOperationAcceptedAt']=String(object['lastOperationAcceptedAt'])),_0x23be5b;},CollaborativeEditingResponse['toObject']=function(_0x4147e3,options,_0x1c893c){if(options||(options={}),void 0x0===_0x1c893c&&(_0x1c893c=0x0),_0x1c893c>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['buffers']=[],object['types']=[],object['metadata']=[]),options['defaults']&&(object['version']=0x0,object['lastOperationId']='',object['lastOperationAcceptedAt']=''),null!=_0x4147e3['version']&&Object['hasOwnProperty']['call'](_0x4147e3,'version')&&(object['version']=_0x4147e3['version']),_0x4147e3['buffers']&&_0x4147e3['buffers']['length']){object['buffers']=[];for(var _0x4d7f3=0x0;_0x4d7f3<_0x4147e3['buffers']['length'];++_0x4d7f3)object['buffers'][_0x4d7f3]=options['bytes']===String?$util['base64']['encode'](_0x4147e3['buffers'][_0x4d7f3],0x0,_0x4147e3['buffers'][_0x4d7f3]['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x4147e3['buffers'][_0x4d7f3]):_0x4147e3['buffers'][_0x4d7f3];}if(_0x4147e3['types']&&_0x4147e3['types']['length']){object['types']=[];for(_0x4d7f3=0x0;_0x4d7f3<_0x4147e3['types']['length'];++_0x4d7f3)object['types'][_0x4d7f3]=_0x4147e3['types'][_0x4d7f3];}if(_0x4147e3['metadata']&&_0x4147e3['metadata']['length']){object['metadata']=[];for(_0x4d7f3=0x0;_0x4d7f3<_0x4147e3['metadata']['length'];++_0x4d7f3)object['metadata'][_0x4d7f3]=$root['OperationMetadataDescriptor']['toObject'](_0x4147e3['metadata'][_0x4d7f3],options,_0x1c893c+0x1);}return null!=_0x4147e3['lastOperationId']&&Object['hasOwnProperty']['call'](_0x4147e3,'lastOperationId')&&(object['lastOperationId']=_0x4147e3['lastOperationId']),null!=_0x4147e3['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x4147e3,'lastOperationAcceptedAt')&&(object['lastOperationAcceptedAt']=_0x4147e3['lastOperationAcceptedAt']),object;},CollaborativeEditingResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CollaborativeEditingResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CollaborativeEditingResponse';},CollaborativeEditingResponse;}()),$root['CollaborativeEditingConnectResponse']=(function(){function CollaborativeEditingConnectResponse(properties){if(this['buffers']=[],this['types']=[],this['metadata']=[],properties){for(var _0x1ad12c=Object['keys'](properties),_0x490224=0x0;_0x490224<_0x1ad12c['length'];++_0x490224)null!=properties[_0x1ad12c[_0x490224]]&&'__proto__'!==_0x1ad12c[_0x490224]&&(this[_0x1ad12c[_0x490224]]=properties[_0x1ad12c[_0x490224]]);}}return CollaborativeEditingConnectResponse['prototype']['channel']='',CollaborativeEditingConnectResponse['prototype']['offset']=0x0,CollaborativeEditingConnectResponse['prototype']['version']=0x0,CollaborativeEditingConnectResponse['prototype']['buffers']=$util['emptyArray'],CollaborativeEditingConnectResponse['prototype']['types']=$util['emptyArray'],CollaborativeEditingConnectResponse['prototype']['metadata']=$util['emptyArray'],CollaborativeEditingConnectResponse['prototype']['initData']='',CollaborativeEditingConnectResponse['prototype']['isInitialized']=!0x1,CollaborativeEditingConnectResponse['prototype']['sessionId']='',CollaborativeEditingConnectResponse['prototype']['lastOperationId']='',CollaborativeEditingConnectResponse['prototype']['sessionCreatedAt']='',CollaborativeEditingConnectResponse['create']=function(properties){return new CollaborativeEditingConnectResponse(properties);},CollaborativeEditingConnectResponse['encode']=function(_0x4518aa,writer,_0x315eed){if(writer||(writer=$Writer['create']()),void 0x0===_0x315eed&&(_0x315eed=0x0),_0x315eed>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x4518aa['channel']&&Object['hasOwnProperty']['call'](_0x4518aa,'channel')&&writer['uint32'](0xa)['string'](_0x4518aa['channel']),null!=_0x4518aa['offset']&&Object['hasOwnProperty']['call'](_0x4518aa,'offset')&&writer['uint32'](0x10)['uint32'](_0x4518aa['offset']),null!=_0x4518aa['version']&&Object['hasOwnProperty']['call'](_0x4518aa,'version')&&writer['uint32'](0x18)['uint32'](_0x4518aa['version']),null!=_0x4518aa['buffers']&&_0x4518aa['buffers']['length']){for(var _0x3ce34a=0x0;_0x3ce34a<_0x4518aa['buffers']['length'];++_0x3ce34a)writer['uint32'](0x22)['bytes'](_0x4518aa['buffers'][_0x3ce34a]);}if(null!=_0x4518aa['types']&&_0x4518aa['types']['length']){writer['uint32'](0x2a)['fork']();for(_0x3ce34a=0x0;_0x3ce34a<_0x4518aa['types']['length'];++_0x3ce34a)writer['uint32'](_0x4518aa['types'][_0x3ce34a]);writer['ldelim']();}if(null!=_0x4518aa['metadata']&&_0x4518aa['metadata']['length']){for(_0x3ce34a=0x0;_0x3ce34a<_0x4518aa['metadata']['length'];++_0x3ce34a)$root['OperationMetadataDescriptor']['encode'](_0x4518aa['metadata'][_0x3ce34a],writer['uint32'](0x3a)['fork'](),_0x315eed+0x1)['ldelim']();}return null!=_0x4518aa['initData']&&Object['hasOwnProperty']['call'](_0x4518aa,'initData')&&writer['uint32'](0x42)['string'](_0x4518aa['initData']),null!=_0x4518aa['isInitialized']&&Object['hasOwnProperty']['call'](_0x4518aa,'isInitialized')&&writer['uint32'](0x48)['bool'](_0x4518aa['isInitialized']),null!=_0x4518aa['sessionId']&&Object['hasOwnProperty']['call'](_0x4518aa,'sessionId')&&writer['uint32'](0x52)['string'](_0x4518aa['sessionId']),null!=_0x4518aa['lastOperationId']&&Object['hasOwnProperty']['call'](_0x4518aa,'lastOperationId')&&writer['uint32'](0x5a)['string'](_0x4518aa['lastOperationId']),null!=_0x4518aa['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x4518aa,'sessionCreatedAt')&&writer['uint32'](0x62)['string'](_0x4518aa['sessionCreatedAt']),writer;},CollaborativeEditingConnectResponse['encodeDelimited']=function(_0x54aecb,writer){return this['encode'](_0x54aecb,writer)['ldelim']();},CollaborativeEditingConnectResponse['decode']=function(_0x3667b6,length,_0x56e150,_0x35d8e6){if(_0x3667b6 instanceof _0x5a128a||(_0x3667b6=_0x5a128a['create'](_0x3667b6)),void 0x0===_0x35d8e6&&(_0x35d8e6=0x0),_0x35d8e6>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x10b55d=void 0x0===length?_0x3667b6['len']:_0x3667b6['pos']+length,_0x280afa=new $root['CollaborativeEditingConnectResponse']();_0x3667b6['pos']<_0x10b55d;){var tag=_0x3667b6['uint32']();if(tag===_0x56e150)break;switch(tag>>>0x3){case 0x1:_0x280afa['channel']=_0x3667b6['string']();break;case 0x2:_0x280afa['offset']=_0x3667b6['uint32']();break;case 0x3:_0x280afa['version']=_0x3667b6['uint32']();break;case 0x4:_0x280afa['buffers']&&_0x280afa['buffers']['length']||(_0x280afa['buffers']=[]),_0x280afa['buffers']['push'](_0x3667b6['bytes']());break;case 0x5:if(_0x280afa['types']&&_0x280afa['types']['length']||(_0x280afa['types']=[]),0x2==(0x7&tag)){for(var _0x33d5cd=_0x3667b6['uint32']()+_0x3667b6['pos'];_0x3667b6['pos']<_0x33d5cd;)_0x280afa['types']['push'](_0x3667b6['uint32']());}else _0x280afa['types']['push'](_0x3667b6['uint32']());break;case 0x7:_0x280afa['metadata']&&_0x280afa['metadata']['length']||(_0x280afa['metadata']=[]),_0x280afa['metadata']['push']($root['OperationMetadataDescriptor']['decode'](_0x3667b6,_0x3667b6['uint32'](),void 0x0,_0x35d8e6+0x1));break;case 0x8:_0x280afa['initData']=_0x3667b6['string']();break;case 0x9:_0x280afa['isInitialized']=_0x3667b6['bool']();break;case 0xa:_0x280afa['sessionId']=_0x3667b6['string']();break;case 0xb:_0x280afa['lastOperationId']=_0x3667b6['string']();break;case 0xc:_0x280afa['sessionCreatedAt']=_0x3667b6['string']();break;default:_0x3667b6['skipType'](0x7&tag,_0x35d8e6);}}return _0x280afa;},CollaborativeEditingConnectResponse['decodeDelimited']=function(_0x5bf4a2){return _0x5bf4a2 instanceof _0x5a128a||(_0x5bf4a2=new _0x5a128a(_0x5bf4a2)),this['decode'](_0x5bf4a2,_0x5bf4a2['uint32']());},CollaborativeEditingConnectResponse['verify']=function(_0x3c066b,_0x2571a3){if('object'!=typeof _0x3c066b||null===_0x3c066b)return'object\x20expected';if(void 0x0===_0x2571a3&&(_0x2571a3=0x0),_0x2571a3>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3c066b['channel']&&Object['hasOwnProperty']['call'](_0x3c066b,'channel')&&!$util['isString'](_0x3c066b['channel']))return'channel:\x20string\x20expected';if(null!=_0x3c066b['offset']&&Object['hasOwnProperty']['call'](_0x3c066b,'offset')&&!$util['isInteger'](_0x3c066b['offset']))return'offset:\x20integer\x20expected';if(null!=_0x3c066b['version']&&Object['hasOwnProperty']['call'](_0x3c066b,'version')&&!$util['isInteger'](_0x3c066b['version']))return'version:\x20integer\x20expected';if(null!=_0x3c066b['buffers']&&Object['hasOwnProperty']['call'](_0x3c066b,'buffers')){if(!Array['isArray'](_0x3c066b['buffers']))return'buffers:\x20array\x20expected';for(var _0x42a34b=0x0;_0x42a34b<_0x3c066b['buffers']['length'];++_0x42a34b)if(!(_0x3c066b['buffers'][_0x42a34b]&&'number'==typeof _0x3c066b['buffers'][_0x42a34b]['length']||$util['isString'](_0x3c066b['buffers'][_0x42a34b])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x3c066b['types']&&Object['hasOwnProperty']['call'](_0x3c066b,'types')){if(!Array['isArray'](_0x3c066b['types']))return'types:\x20array\x20expected';for(_0x42a34b=0x0;_0x42a34b<_0x3c066b['types']['length'];++_0x42a34b)if(!$util['isInteger'](_0x3c066b['types'][_0x42a34b]))return'types:\x20integer[]\x20expected';}if(null!=_0x3c066b['metadata']&&Object['hasOwnProperty']['call'](_0x3c066b,'metadata')){if(!Array['isArray'](_0x3c066b['metadata']))return'metadata:\x20array\x20expected';for(_0x42a34b=0x0;_0x42a34b<_0x3c066b['metadata']['length'];++_0x42a34b){var _0x7a1bc0=$root['OperationMetadataDescriptor']['verify'](_0x3c066b['metadata'][_0x42a34b],_0x2571a3+0x1);if(_0x7a1bc0)return'metadata.'+_0x7a1bc0;}}return null!=_0x3c066b['initData']&&Object['hasOwnProperty']['call'](_0x3c066b,'initData')&&!$util['isString'](_0x3c066b['initData'])?'initData:\x20string\x20expected':null!=_0x3c066b['isInitialized']&&Object['hasOwnProperty']['call'](_0x3c066b,'isInitialized')&&'boolean'!=typeof _0x3c066b['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x3c066b['sessionId']&&Object['hasOwnProperty']['call'](_0x3c066b,'sessionId')&&!$util['isString'](_0x3c066b['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x3c066b['lastOperationId']&&Object['hasOwnProperty']['call'](_0x3c066b,'lastOperationId')&&!$util['isString'](_0x3c066b['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x3c066b['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x3c066b,'sessionCreatedAt')&&!$util['isString'](_0x3c066b['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},CollaborativeEditingConnectResponse['fromObject']=function(object,_0x4b9639){if(object instanceof $root['CollaborativeEditingConnectResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CollaborativeEditingConnectResponse:\x20object\x20expected');if(void 0x0===_0x4b9639&&(_0x4b9639=0x0),_0x4b9639>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2c7afa=new $root['CollaborativeEditingConnectResponse']();if(null!=object['channel']&&(_0x2c7afa['channel']=String(object['channel'])),null!=object['offset']&&(_0x2c7afa['offset']=object['offset']>>>0x0),null!=object['version']&&(_0x2c7afa['version']=object['version']>>>0x0),object['buffers']){if(!Array['isArray'](object['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x2c7afa['buffers']=[];for(var _0x2982a5=0x0;_0x2982a5<object['buffers']['length'];++_0x2982a5)'string'==typeof object['buffers'][_0x2982a5]?$util['base64']['decode'](object['buffers'][_0x2982a5],_0x2c7afa['buffers'][_0x2982a5]=$util['newBuffer']($util['base64']['length'](object['buffers'][_0x2982a5])),0x0):object['buffers'][_0x2982a5]['length']>=0x0&&(_0x2c7afa['buffers'][_0x2982a5]=object['buffers'][_0x2982a5]);}if(object['types']){if(!Array['isArray'](object['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');_0x2c7afa['types']=[];for(_0x2982a5=0x0;_0x2982a5<object['types']['length'];++_0x2982a5)_0x2c7afa['types'][_0x2982a5]=object['types'][_0x2982a5]>>>0x0;}if(object['metadata']){if(!Array['isArray'](object['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');_0x2c7afa['metadata']=[];for(_0x2982a5=0x0;_0x2982a5<object['metadata']['length'];++_0x2982a5){if(!$util['isObject'](object['metadata'][_0x2982a5]))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x2c7afa['metadata'][_0x2982a5]=$root['OperationMetadataDescriptor']['fromObject'](object['metadata'][_0x2982a5],_0x4b9639+0x1);}}return null!=object['initData']&&(_0x2c7afa['initData']=String(object['initData'])),null!=object['isInitialized']&&(_0x2c7afa['isInitialized']=Boolean(object['isInitialized'])),null!=object['sessionId']&&(_0x2c7afa['sessionId']=String(object['sessionId'])),null!=object['lastOperationId']&&(_0x2c7afa['lastOperationId']=String(object['lastOperationId'])),null!=object['sessionCreatedAt']&&(_0x2c7afa['sessionCreatedAt']=String(object['sessionCreatedAt'])),_0x2c7afa;},CollaborativeEditingConnectResponse['toObject']=function(_0x1d5c44,options,_0x25e9a){if(options||(options={}),void 0x0===_0x25e9a&&(_0x25e9a=0x0),_0x25e9a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['buffers']=[],object['types']=[],object['metadata']=[]),options['defaults']&&(object['channel']='',object['offset']=0x0,object['version']=0x0,object['initData']='',object['isInitialized']=!0x1,object['sessionId']='',object['lastOperationId']='',object['sessionCreatedAt']=''),null!=_0x1d5c44['channel']&&Object['hasOwnProperty']['call'](_0x1d5c44,'channel')&&(object['channel']=_0x1d5c44['channel']),null!=_0x1d5c44['offset']&&Object['hasOwnProperty']['call'](_0x1d5c44,'offset')&&(object['offset']=_0x1d5c44['offset']),null!=_0x1d5c44['version']&&Object['hasOwnProperty']['call'](_0x1d5c44,'version')&&(object['version']=_0x1d5c44['version']),_0x1d5c44['buffers']&&_0x1d5c44['buffers']['length']){object['buffers']=[];for(var _0x32611b=0x0;_0x32611b<_0x1d5c44['buffers']['length'];++_0x32611b)object['buffers'][_0x32611b]=options['bytes']===String?$util['base64']['encode'](_0x1d5c44['buffers'][_0x32611b],0x0,_0x1d5c44['buffers'][_0x32611b]['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x1d5c44['buffers'][_0x32611b]):_0x1d5c44['buffers'][_0x32611b];}if(_0x1d5c44['types']&&_0x1d5c44['types']['length']){object['types']=[];for(_0x32611b=0x0;_0x32611b<_0x1d5c44['types']['length'];++_0x32611b)object['types'][_0x32611b]=_0x1d5c44['types'][_0x32611b];}if(_0x1d5c44['metadata']&&_0x1d5c44['metadata']['length']){object['metadata']=[];for(_0x32611b=0x0;_0x32611b<_0x1d5c44['metadata']['length'];++_0x32611b)object['metadata'][_0x32611b]=$root['OperationMetadataDescriptor']['toObject'](_0x1d5c44['metadata'][_0x32611b],options,_0x25e9a+0x1);}return null!=_0x1d5c44['initData']&&Object['hasOwnProperty']['call'](_0x1d5c44,'initData')&&(object['initData']=_0x1d5c44['initData']),null!=_0x1d5c44['isInitialized']&&Object['hasOwnProperty']['call'](_0x1d5c44,'isInitialized')&&(object['isInitialized']=_0x1d5c44['isInitialized']),null!=_0x1d5c44['sessionId']&&Object['hasOwnProperty']['call'](_0x1d5c44,'sessionId')&&(object['sessionId']=_0x1d5c44['sessionId']),null!=_0x1d5c44['lastOperationId']&&Object['hasOwnProperty']['call'](_0x1d5c44,'lastOperationId')&&(object['lastOperationId']=_0x1d5c44['lastOperationId']),null!=_0x1d5c44['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x1d5c44,'sessionCreatedAt')&&(object['sessionCreatedAt']=_0x1d5c44['sessionCreatedAt']),object;},CollaborativeEditingConnectResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CollaborativeEditingConnectResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CollaborativeEditingConnectResponse';},CollaborativeEditingConnectResponse;}()),$root['GetDocumentDetailsMessage']=(function(){function GetDocumentDetailsMessage(properties){if(properties){for(var _0x1a9b5e=Object['keys'](properties),_0x1a5f5e=0x0;_0x1a5f5e<_0x1a9b5e['length'];++_0x1a5f5e)null!=properties[_0x1a9b5e[_0x1a5f5e]]&&'__proto__'!==_0x1a9b5e[_0x1a5f5e]&&(this[_0x1a9b5e[_0x1a5f5e]]=properties[_0x1a9b5e[_0x1a5f5e]]);}}return GetDocumentDetailsMessage['prototype']['documentId']='',GetDocumentDetailsMessage['prototype']['environmentId']='',GetDocumentDetailsMessage['create']=function(properties){return new GetDocumentDetailsMessage(properties);},GetDocumentDetailsMessage['encode']=function(_0x511813,writer,_0x50d0a6){if(writer||(writer=$Writer['create']()),void 0x0===_0x50d0a6&&(_0x50d0a6=0x0),_0x50d0a6>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x511813['documentId']&&Object['hasOwnProperty']['call'](_0x511813,'documentId')&&writer['uint32'](0xa)['string'](_0x511813['documentId']),null!=_0x511813['environmentId']&&Object['hasOwnProperty']['call'](_0x511813,'environmentId')&&writer['uint32'](0x12)['string'](_0x511813['environmentId']),writer;},GetDocumentDetailsMessage['encodeDelimited']=function(_0x432f49,writer){return this['encode'](_0x432f49,writer)['ldelim']();},GetDocumentDetailsMessage['decode']=function(_0x24bf26,length,_0x95631f,_0x1f3b6e){if(_0x24bf26 instanceof _0x5a128a||(_0x24bf26=_0x5a128a['create'](_0x24bf26)),void 0x0===_0x1f3b6e&&(_0x1f3b6e=0x0),_0x1f3b6e>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3c9017=void 0x0===length?_0x24bf26['len']:_0x24bf26['pos']+length,_0x4f2cd0=new $root['GetDocumentDetailsMessage']();_0x24bf26['pos']<_0x3c9017;){var tag=_0x24bf26['uint32']();if(tag===_0x95631f)break;switch(tag>>>0x3){case 0x1:_0x4f2cd0['documentId']=_0x24bf26['string']();break;case 0x2:_0x4f2cd0['environmentId']=_0x24bf26['string']();break;default:_0x24bf26['skipType'](0x7&tag,_0x1f3b6e);}}return _0x4f2cd0;},GetDocumentDetailsMessage['decodeDelimited']=function(_0x3d46ec){return _0x3d46ec instanceof _0x5a128a||(_0x3d46ec=new _0x5a128a(_0x3d46ec)),this['decode'](_0x3d46ec,_0x3d46ec['uint32']());},GetDocumentDetailsMessage['verify']=function(_0x46f329,_0x7b84a3){return'object'!=typeof _0x46f329||null===_0x46f329?'object\x20expected':(void 0x0===_0x7b84a3&&(_0x7b84a3=0x0),_0x7b84a3>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x46f329['documentId']&&Object['hasOwnProperty']['call'](_0x46f329,'documentId')&&!$util['isString'](_0x46f329['documentId'])?'documentId:\x20string\x20expected':null!=_0x46f329['environmentId']&&Object['hasOwnProperty']['call'](_0x46f329,'environmentId')&&!$util['isString'](_0x46f329['environmentId'])?'environmentId:\x20string\x20expected':null);},GetDocumentDetailsMessage['fromObject']=function(object,_0x1d3969){if(object instanceof $root['GetDocumentDetailsMessage'])return object;if(!$util['isObject'](object))throw TypeError('.GetDocumentDetailsMessage:\x20object\x20expected');if(void 0x0===_0x1d3969&&(_0x1d3969=0x0),_0x1d3969>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x52b55b=new $root['GetDocumentDetailsMessage']();return null!=object['documentId']&&(_0x52b55b['documentId']=String(object['documentId'])),null!=object['environmentId']&&(_0x52b55b['environmentId']=String(object['environmentId'])),_0x52b55b;},GetDocumentDetailsMessage['toObject']=function(_0x528730,options,_0x218fa6){if(options||(options={}),void 0x0===_0x218fa6&&(_0x218fa6=0x0),_0x218fa6>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']='',object['environmentId']=''),null!=_0x528730['documentId']&&Object['hasOwnProperty']['call'](_0x528730,'documentId')&&(object['documentId']=_0x528730['documentId']),null!=_0x528730['environmentId']&&Object['hasOwnProperty']['call'](_0x528730,'environmentId')&&(object['environmentId']=_0x528730['environmentId']),object;},GetDocumentDetailsMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetDocumentDetailsMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetDocumentDetailsMessage';},GetDocumentDetailsMessage;}()),$root['CollaborativeEditingUpdateMessage']=(function(){function CollaborativeEditingUpdateMessage(properties){if(this['buffers']=[],this['types']=[],this['metadata']=[],properties){for(var _0x5dce9c=Object['keys'](properties),_0x5490ed=0x0;_0x5490ed<_0x5dce9c['length'];++_0x5490ed)null!=properties[_0x5dce9c[_0x5490ed]]&&'__proto__'!==_0x5dce9c[_0x5490ed]&&(this[_0x5dce9c[_0x5490ed]]=properties[_0x5dce9c[_0x5490ed]]);}}return CollaborativeEditingUpdateMessage['prototype']['id']='',CollaborativeEditingUpdateMessage['prototype']['baseVersion']=0x0,CollaborativeEditingUpdateMessage['prototype']['buffers']=$util['emptyArray'],CollaborativeEditingUpdateMessage['prototype']['types']=$util['emptyArray'],CollaborativeEditingUpdateMessage['prototype']['metadata']=$util['emptyArray'],CollaborativeEditingUpdateMessage['prototype']['lastOperationId']='',CollaborativeEditingUpdateMessage['create']=function(properties){return new CollaborativeEditingUpdateMessage(properties);},CollaborativeEditingUpdateMessage['encode']=function(_0x3b3999,writer,_0x58759d){if(writer||(writer=$Writer['create']()),void 0x0===_0x58759d&&(_0x58759d=0x0),_0x58759d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x3b3999['id']&&Object['hasOwnProperty']['call'](_0x3b3999,'id')&&writer['uint32'](0xa)['string'](_0x3b3999['id']),null!=_0x3b3999['baseVersion']&&Object['hasOwnProperty']['call'](_0x3b3999,'baseVersion')&&writer['uint32'](0x10)['uint32'](_0x3b3999['baseVersion']),null!=_0x3b3999['buffers']&&_0x3b3999['buffers']['length']){for(var _0x2058e8=0x0;_0x2058e8<_0x3b3999['buffers']['length'];++_0x2058e8)writer['uint32'](0x1a)['bytes'](_0x3b3999['buffers'][_0x2058e8]);}if(null!=_0x3b3999['types']&&_0x3b3999['types']['length']){writer['uint32'](0x22)['fork']();for(_0x2058e8=0x0;_0x2058e8<_0x3b3999['types']['length'];++_0x2058e8)writer['uint32'](_0x3b3999['types'][_0x2058e8]);writer['ldelim']();}if(null!=_0x3b3999['metadata']&&_0x3b3999['metadata']['length']){for(_0x2058e8=0x0;_0x2058e8<_0x3b3999['metadata']['length'];++_0x2058e8)$root['OperationMetadataDescriptor']['encode'](_0x3b3999['metadata'][_0x2058e8],writer['uint32'](0x32)['fork'](),_0x58759d+0x1)['ldelim']();}return null!=_0x3b3999['lastOperationId']&&Object['hasOwnProperty']['call'](_0x3b3999,'lastOperationId')&&writer['uint32'](0x3a)['string'](_0x3b3999['lastOperationId']),writer;},CollaborativeEditingUpdateMessage['encodeDelimited']=function(_0x932ed1,writer){return this['encode'](_0x932ed1,writer)['ldelim']();},CollaborativeEditingUpdateMessage['decode']=function(_0x20dbad,length,_0x360a4f,_0x69c50c){if(_0x20dbad instanceof _0x5a128a||(_0x20dbad=_0x5a128a['create'](_0x20dbad)),void 0x0===_0x69c50c&&(_0x69c50c=0x0),_0x69c50c>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x313626=void 0x0===length?_0x20dbad['len']:_0x20dbad['pos']+length,_0x469e45=new $root['CollaborativeEditingUpdateMessage']();_0x20dbad['pos']<_0x313626;){var tag=_0x20dbad['uint32']();if(tag===_0x360a4f)break;switch(tag>>>0x3){case 0x1:_0x469e45['id']=_0x20dbad['string']();break;case 0x2:_0x469e45['baseVersion']=_0x20dbad['uint32']();break;case 0x3:_0x469e45['buffers']&&_0x469e45['buffers']['length']||(_0x469e45['buffers']=[]),_0x469e45['buffers']['push'](_0x20dbad['bytes']());break;case 0x4:if(_0x469e45['types']&&_0x469e45['types']['length']||(_0x469e45['types']=[]),0x2==(0x7&tag)){for(var _0x52ab21=_0x20dbad['uint32']()+_0x20dbad['pos'];_0x20dbad['pos']<_0x52ab21;)_0x469e45['types']['push'](_0x20dbad['uint32']());}else _0x469e45['types']['push'](_0x20dbad['uint32']());break;case 0x6:_0x469e45['metadata']&&_0x469e45['metadata']['length']||(_0x469e45['metadata']=[]),_0x469e45['metadata']['push']($root['OperationMetadataDescriptor']['decode'](_0x20dbad,_0x20dbad['uint32'](),void 0x0,_0x69c50c+0x1));break;case 0x7:_0x469e45['lastOperationId']=_0x20dbad['string']();break;default:_0x20dbad['skipType'](0x7&tag,_0x69c50c);}}return _0x469e45;},CollaborativeEditingUpdateMessage['decodeDelimited']=function(_0x3c409c){return _0x3c409c instanceof _0x5a128a||(_0x3c409c=new _0x5a128a(_0x3c409c)),this['decode'](_0x3c409c,_0x3c409c['uint32']());},CollaborativeEditingUpdateMessage['verify']=function(_0x5898ce,_0x3f4f32){if('object'!=typeof _0x5898ce||null===_0x5898ce)return'object\x20expected';if(void 0x0===_0x3f4f32&&(_0x3f4f32=0x0),_0x3f4f32>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5898ce['id']&&Object['hasOwnProperty']['call'](_0x5898ce,'id')&&!$util['isString'](_0x5898ce['id']))return'id:\x20string\x20expected';if(null!=_0x5898ce['baseVersion']&&Object['hasOwnProperty']['call'](_0x5898ce,'baseVersion')&&!$util['isInteger'](_0x5898ce['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x5898ce['buffers']&&Object['hasOwnProperty']['call'](_0x5898ce,'buffers')){if(!Array['isArray'](_0x5898ce['buffers']))return'buffers:\x20array\x20expected';for(var _0x3254ca=0x0;_0x3254ca<_0x5898ce['buffers']['length'];++_0x3254ca)if(!(_0x5898ce['buffers'][_0x3254ca]&&'number'==typeof _0x5898ce['buffers'][_0x3254ca]['length']||$util['isString'](_0x5898ce['buffers'][_0x3254ca])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x5898ce['types']&&Object['hasOwnProperty']['call'](_0x5898ce,'types')){if(!Array['isArray'](_0x5898ce['types']))return'types:\x20array\x20expected';for(_0x3254ca=0x0;_0x3254ca<_0x5898ce['types']['length'];++_0x3254ca)if(!$util['isInteger'](_0x5898ce['types'][_0x3254ca]))return'types:\x20integer[]\x20expected';}if(null!=_0x5898ce['metadata']&&Object['hasOwnProperty']['call'](_0x5898ce,'metadata')){if(!Array['isArray'](_0x5898ce['metadata']))return'metadata:\x20array\x20expected';for(_0x3254ca=0x0;_0x3254ca<_0x5898ce['metadata']['length'];++_0x3254ca){var _0x1cd46c=$root['OperationMetadataDescriptor']['verify'](_0x5898ce['metadata'][_0x3254ca],_0x3f4f32+0x1);if(_0x1cd46c)return'metadata.'+_0x1cd46c;}}return null!=_0x5898ce['lastOperationId']&&Object['hasOwnProperty']['call'](_0x5898ce,'lastOperationId')&&!$util['isString'](_0x5898ce['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},CollaborativeEditingUpdateMessage['fromObject']=function(object,_0x4ffe64){if(object instanceof $root['CollaborativeEditingUpdateMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CollaborativeEditingUpdateMessage:\x20object\x20expected');if(void 0x0===_0x4ffe64&&(_0x4ffe64=0x0),_0x4ffe64>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x243ba2=new $root['CollaborativeEditingUpdateMessage']();if(null!=object['id']&&(_0x243ba2['id']=String(object['id'])),null!=object['baseVersion']&&(_0x243ba2['baseVersion']=object['baseVersion']>>>0x0),object['buffers']){if(!Array['isArray'](object['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x243ba2['buffers']=[];for(var _0x2912c3=0x0;_0x2912c3<object['buffers']['length'];++_0x2912c3)'string'==typeof object['buffers'][_0x2912c3]?$util['base64']['decode'](object['buffers'][_0x2912c3],_0x243ba2['buffers'][_0x2912c3]=$util['newBuffer']($util['base64']['length'](object['buffers'][_0x2912c3])),0x0):object['buffers'][_0x2912c3]['length']>=0x0&&(_0x243ba2['buffers'][_0x2912c3]=object['buffers'][_0x2912c3]);}if(object['types']){if(!Array['isArray'](object['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');_0x243ba2['types']=[];for(_0x2912c3=0x0;_0x2912c3<object['types']['length'];++_0x2912c3)_0x243ba2['types'][_0x2912c3]=object['types'][_0x2912c3]>>>0x0;}if(object['metadata']){if(!Array['isArray'](object['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');_0x243ba2['metadata']=[];for(_0x2912c3=0x0;_0x2912c3<object['metadata']['length'];++_0x2912c3){if(!$util['isObject'](object['metadata'][_0x2912c3]))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x243ba2['metadata'][_0x2912c3]=$root['OperationMetadataDescriptor']['fromObject'](object['metadata'][_0x2912c3],_0x4ffe64+0x1);}}return null!=object['lastOperationId']&&(_0x243ba2['lastOperationId']=String(object['lastOperationId'])),_0x243ba2;},CollaborativeEditingUpdateMessage['toObject']=function(_0x49fab9,options,_0x4e8ff9){if(options||(options={}),void 0x0===_0x4e8ff9&&(_0x4e8ff9=0x0),_0x4e8ff9>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['buffers']=[],object['types']=[],object['metadata']=[]),options['defaults']&&(object['id']='',object['baseVersion']=0x0,object['lastOperationId']=''),null!=_0x49fab9['id']&&Object['hasOwnProperty']['call'](_0x49fab9,'id')&&(object['id']=_0x49fab9['id']),null!=_0x49fab9['baseVersion']&&Object['hasOwnProperty']['call'](_0x49fab9,'baseVersion')&&(object['baseVersion']=_0x49fab9['baseVersion']),_0x49fab9['buffers']&&_0x49fab9['buffers']['length']){object['buffers']=[];for(var _0xb086b0=0x0;_0xb086b0<_0x49fab9['buffers']['length'];++_0xb086b0)object['buffers'][_0xb086b0]=options['bytes']===String?$util['base64']['encode'](_0x49fab9['buffers'][_0xb086b0],0x0,_0x49fab9['buffers'][_0xb086b0]['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x49fab9['buffers'][_0xb086b0]):_0x49fab9['buffers'][_0xb086b0];}if(_0x49fab9['types']&&_0x49fab9['types']['length']){object['types']=[];for(_0xb086b0=0x0;_0xb086b0<_0x49fab9['types']['length'];++_0xb086b0)object['types'][_0xb086b0]=_0x49fab9['types'][_0xb086b0];}if(_0x49fab9['metadata']&&_0x49fab9['metadata']['length']){object['metadata']=[];for(_0xb086b0=0x0;_0xb086b0<_0x49fab9['metadata']['length'];++_0xb086b0)object['metadata'][_0xb086b0]=$root['OperationMetadataDescriptor']['toObject'](_0x49fab9['metadata'][_0xb086b0],options,_0x4e8ff9+0x1);}return null!=_0x49fab9['lastOperationId']&&Object['hasOwnProperty']['call'](_0x49fab9,'lastOperationId')&&(object['lastOperationId']=_0x49fab9['lastOperationId']),object;},CollaborativeEditingUpdateMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CollaborativeEditingUpdateMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CollaborativeEditingUpdateMessage';},CollaborativeEditingUpdateMessage;}()),$root['CollaborativeEditingReconnectMessage']=(function(){function CollaborativeEditingReconnectMessage(properties){if(properties){for(var _0x2d8408=Object['keys'](properties),_0x5abf13=0x0;_0x5abf13<_0x2d8408['length'];++_0x5abf13)null!=properties[_0x2d8408[_0x5abf13]]&&'__proto__'!==_0x2d8408[_0x5abf13]&&(this[_0x2d8408[_0x5abf13]]=properties[_0x2d8408[_0x5abf13]]);}}return CollaborativeEditingReconnectMessage['prototype']['id']='',CollaborativeEditingReconnectMessage['prototype']['bundleVersion']='',CollaborativeEditingReconnectMessage['prototype']['lastKnowVersion']=0x0,CollaborativeEditingReconnectMessage['create']=function(properties){return new CollaborativeEditingReconnectMessage(properties);},CollaborativeEditingReconnectMessage['encode']=function(_0x256d6e,writer,_0x3406b2){if(writer||(writer=$Writer['create']()),void 0x0===_0x3406b2&&(_0x3406b2=0x0),_0x3406b2>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x256d6e['id']&&Object['hasOwnProperty']['call'](_0x256d6e,'id')&&writer['uint32'](0xa)['string'](_0x256d6e['id']),null!=_0x256d6e['bundleVersion']&&Object['hasOwnProperty']['call'](_0x256d6e,'bundleVersion')&&writer['uint32'](0x12)['string'](_0x256d6e['bundleVersion']),null!=_0x256d6e['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x256d6e,'lastKnowVersion')&&writer['uint32'](0x18)['uint32'](_0x256d6e['lastKnowVersion']),writer;},CollaborativeEditingReconnectMessage['encodeDelimited']=function(_0x52ab2f,writer){return this['encode'](_0x52ab2f,writer)['ldelim']();},CollaborativeEditingReconnectMessage['decode']=function(_0x19fe31,length,_0x3fcd42,_0x260dce){if(_0x19fe31 instanceof _0x5a128a||(_0x19fe31=_0x5a128a['create'](_0x19fe31)),void 0x0===_0x260dce&&(_0x260dce=0x0),_0x260dce>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5957d0=void 0x0===length?_0x19fe31['len']:_0x19fe31['pos']+length,_0x3ecf66=new $root['CollaborativeEditingReconnectMessage']();_0x19fe31['pos']<_0x5957d0;){var tag=_0x19fe31['uint32']();if(tag===_0x3fcd42)break;switch(tag>>>0x3){case 0x1:_0x3ecf66['id']=_0x19fe31['string']();break;case 0x2:_0x3ecf66['bundleVersion']=_0x19fe31['string']();break;case 0x3:_0x3ecf66['lastKnowVersion']=_0x19fe31['uint32']();break;default:_0x19fe31['skipType'](0x7&tag,_0x260dce);}}return _0x3ecf66;},CollaborativeEditingReconnectMessage['decodeDelimited']=function(_0x1770b0){return _0x1770b0 instanceof _0x5a128a||(_0x1770b0=new _0x5a128a(_0x1770b0)),this['decode'](_0x1770b0,_0x1770b0['uint32']());},CollaborativeEditingReconnectMessage['verify']=function(_0x276b6b,_0xa379e6){return'object'!=typeof _0x276b6b||null===_0x276b6b?'object\x20expected':(void 0x0===_0xa379e6&&(_0xa379e6=0x0),_0xa379e6>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x276b6b['id']&&Object['hasOwnProperty']['call'](_0x276b6b,'id')&&!$util['isString'](_0x276b6b['id'])?'id:\x20string\x20expected':null!=_0x276b6b['bundleVersion']&&Object['hasOwnProperty']['call'](_0x276b6b,'bundleVersion')&&!$util['isString'](_0x276b6b['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x276b6b['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x276b6b,'lastKnowVersion')&&!$util['isInteger'](_0x276b6b['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null);},CollaborativeEditingReconnectMessage['fromObject']=function(object,_0x5f54fa){if(object instanceof $root['CollaborativeEditingReconnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CollaborativeEditingReconnectMessage:\x20object\x20expected');if(void 0x0===_0x5f54fa&&(_0x5f54fa=0x0),_0x5f54fa>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2d0b72=new $root['CollaborativeEditingReconnectMessage']();return null!=object['id']&&(_0x2d0b72['id']=String(object['id'])),null!=object['bundleVersion']&&(_0x2d0b72['bundleVersion']=String(object['bundleVersion'])),null!=object['lastKnowVersion']&&(_0x2d0b72['lastKnowVersion']=object['lastKnowVersion']>>>0x0),_0x2d0b72;},CollaborativeEditingReconnectMessage['toObject']=function(_0x3fa947,options,_0x3bf45c){if(options||(options={}),void 0x0===_0x3bf45c&&(_0x3bf45c=0x0),_0x3bf45c>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['bundleVersion']='',object['lastKnowVersion']=0x0),null!=_0x3fa947['id']&&Object['hasOwnProperty']['call'](_0x3fa947,'id')&&(object['id']=_0x3fa947['id']),null!=_0x3fa947['bundleVersion']&&Object['hasOwnProperty']['call'](_0x3fa947,'bundleVersion')&&(object['bundleVersion']=_0x3fa947['bundleVersion']),null!=_0x3fa947['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x3fa947,'lastKnowVersion')&&(object['lastKnowVersion']=_0x3fa947['lastKnowVersion']),object;},CollaborativeEditingReconnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CollaborativeEditingReconnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CollaborativeEditingReconnectMessage';},CollaborativeEditingReconnectMessage;}()),$root['CollaborativeEditingConnectMessage']=(function(){function CollaborativeEditingConnectMessage(properties){if(this['buffers']=[],this['types']=[],properties){for(var _0x55a59b=Object['keys'](properties),_0x4317f3=0x0;_0x4317f3<_0x55a59b['length'];++_0x4317f3)null!=properties[_0x55a59b[_0x4317f3]]&&'__proto__'!==_0x55a59b[_0x4317f3]&&(this[_0x55a59b[_0x4317f3]]=properties[_0x55a59b[_0x4317f3]]);}}return CollaborativeEditingConnectMessage['prototype']['id']='',CollaborativeEditingConnectMessage['prototype']['bundleVersion']='',CollaborativeEditingConnectMessage['prototype']['buffers']=$util['emptyArray'],CollaborativeEditingConnectMessage['prototype']['types']=$util['emptyArray'],CollaborativeEditingConnectMessage['prototype']['lastOperationId']='',CollaborativeEditingConnectMessage['create']=function(properties){return new CollaborativeEditingConnectMessage(properties);},CollaborativeEditingConnectMessage['encode']=function(_0x3fd01a,writer,_0x138712){if(writer||(writer=$Writer['create']()),void 0x0===_0x138712&&(_0x138712=0x0),_0x138712>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x3fd01a['id']&&Object['hasOwnProperty']['call'](_0x3fd01a,'id')&&writer['uint32'](0xa)['string'](_0x3fd01a['id']),null!=_0x3fd01a['bundleVersion']&&Object['hasOwnProperty']['call'](_0x3fd01a,'bundleVersion')&&writer['uint32'](0x12)['string'](_0x3fd01a['bundleVersion']),null!=_0x3fd01a['buffers']&&_0x3fd01a['buffers']['length']){for(var _0x2fc906=0x0;_0x2fc906<_0x3fd01a['buffers']['length'];++_0x2fc906)writer['uint32'](0x1a)['bytes'](_0x3fd01a['buffers'][_0x2fc906]);}if(null!=_0x3fd01a['types']&&_0x3fd01a['types']['length']){writer['uint32'](0x22)['fork']();for(_0x2fc906=0x0;_0x2fc906<_0x3fd01a['types']['length'];++_0x2fc906)writer['uint32'](_0x3fd01a['types'][_0x2fc906]);writer['ldelim']();}return null!=_0x3fd01a['lastOperationId']&&Object['hasOwnProperty']['call'](_0x3fd01a,'lastOperationId')&&writer['uint32'](0x2a)['string'](_0x3fd01a['lastOperationId']),writer;},CollaborativeEditingConnectMessage['encodeDelimited']=function(_0x539ad3,writer){return this['encode'](_0x539ad3,writer)['ldelim']();},CollaborativeEditingConnectMessage['decode']=function(_0x215001,length,_0x94f589,_0x19329){if(_0x215001 instanceof _0x5a128a||(_0x215001=_0x5a128a['create'](_0x215001)),void 0x0===_0x19329&&(_0x19329=0x0),_0x19329>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x343647=void 0x0===length?_0x215001['len']:_0x215001['pos']+length,_0x254eb8=new $root['CollaborativeEditingConnectMessage']();_0x215001['pos']<_0x343647;){var tag=_0x215001['uint32']();if(tag===_0x94f589)break;switch(tag>>>0x3){case 0x1:_0x254eb8['id']=_0x215001['string']();break;case 0x2:_0x254eb8['bundleVersion']=_0x215001['string']();break;case 0x3:_0x254eb8['buffers']&&_0x254eb8['buffers']['length']||(_0x254eb8['buffers']=[]),_0x254eb8['buffers']['push'](_0x215001['bytes']());break;case 0x4:if(_0x254eb8['types']&&_0x254eb8['types']['length']||(_0x254eb8['types']=[]),0x2==(0x7&tag)){for(var _0x3d6c60=_0x215001['uint32']()+_0x215001['pos'];_0x215001['pos']<_0x3d6c60;)_0x254eb8['types']['push'](_0x215001['uint32']());}else _0x254eb8['types']['push'](_0x215001['uint32']());break;case 0x5:_0x254eb8['lastOperationId']=_0x215001['string']();break;default:_0x215001['skipType'](0x7&tag,_0x19329);}}return _0x254eb8;},CollaborativeEditingConnectMessage['decodeDelimited']=function(_0x419ad0){return _0x419ad0 instanceof _0x5a128a||(_0x419ad0=new _0x5a128a(_0x419ad0)),this['decode'](_0x419ad0,_0x419ad0['uint32']());},CollaborativeEditingConnectMessage['verify']=function(_0x2a4a84,_0x1e8f6b){if('object'!=typeof _0x2a4a84||null===_0x2a4a84)return'object\x20expected';if(void 0x0===_0x1e8f6b&&(_0x1e8f6b=0x0),_0x1e8f6b>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2a4a84['id']&&Object['hasOwnProperty']['call'](_0x2a4a84,'id')&&!$util['isString'](_0x2a4a84['id']))return'id:\x20string\x20expected';if(null!=_0x2a4a84['bundleVersion']&&Object['hasOwnProperty']['call'](_0x2a4a84,'bundleVersion')&&!$util['isString'](_0x2a4a84['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0x2a4a84['buffers']&&Object['hasOwnProperty']['call'](_0x2a4a84,'buffers')){if(!Array['isArray'](_0x2a4a84['buffers']))return'buffers:\x20array\x20expected';for(var _0x1572d4=0x0;_0x1572d4<_0x2a4a84['buffers']['length'];++_0x1572d4)if(!(_0x2a4a84['buffers'][_0x1572d4]&&'number'==typeof _0x2a4a84['buffers'][_0x1572d4]['length']||$util['isString'](_0x2a4a84['buffers'][_0x1572d4])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x2a4a84['types']&&Object['hasOwnProperty']['call'](_0x2a4a84,'types')){if(!Array['isArray'](_0x2a4a84['types']))return'types:\x20array\x20expected';for(_0x1572d4=0x0;_0x1572d4<_0x2a4a84['types']['length'];++_0x1572d4)if(!$util['isInteger'](_0x2a4a84['types'][_0x1572d4]))return'types:\x20integer[]\x20expected';}return null!=_0x2a4a84['lastOperationId']&&Object['hasOwnProperty']['call'](_0x2a4a84,'lastOperationId')&&!$util['isString'](_0x2a4a84['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},CollaborativeEditingConnectMessage['fromObject']=function(object,_0x4a149a){if(object instanceof $root['CollaborativeEditingConnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CollaborativeEditingConnectMessage:\x20object\x20expected');if(void 0x0===_0x4a149a&&(_0x4a149a=0x0),_0x4a149a>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5f1278=new $root['CollaborativeEditingConnectMessage']();if(null!=object['id']&&(_0x5f1278['id']=String(object['id'])),null!=object['bundleVersion']&&(_0x5f1278['bundleVersion']=String(object['bundleVersion'])),object['buffers']){if(!Array['isArray'](object['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x5f1278['buffers']=[];for(var _0x2aff98=0x0;_0x2aff98<object['buffers']['length'];++_0x2aff98)'string'==typeof object['buffers'][_0x2aff98]?$util['base64']['decode'](object['buffers'][_0x2aff98],_0x5f1278['buffers'][_0x2aff98]=$util['newBuffer']($util['base64']['length'](object['buffers'][_0x2aff98])),0x0):object['buffers'][_0x2aff98]['length']>=0x0&&(_0x5f1278['buffers'][_0x2aff98]=object['buffers'][_0x2aff98]);}if(object['types']){if(!Array['isArray'](object['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');_0x5f1278['types']=[];for(_0x2aff98=0x0;_0x2aff98<object['types']['length'];++_0x2aff98)_0x5f1278['types'][_0x2aff98]=object['types'][_0x2aff98]>>>0x0;}return null!=object['lastOperationId']&&(_0x5f1278['lastOperationId']=String(object['lastOperationId'])),_0x5f1278;},CollaborativeEditingConnectMessage['toObject']=function(_0x27bc01,options,_0xe53600){if(options||(options={}),void 0x0===_0xe53600&&(_0xe53600=0x0),_0xe53600>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['buffers']=[],object['types']=[]),options['defaults']&&(object['id']='',object['bundleVersion']='',object['lastOperationId']=''),null!=_0x27bc01['id']&&Object['hasOwnProperty']['call'](_0x27bc01,'id')&&(object['id']=_0x27bc01['id']),null!=_0x27bc01['bundleVersion']&&Object['hasOwnProperty']['call'](_0x27bc01,'bundleVersion')&&(object['bundleVersion']=_0x27bc01['bundleVersion']),_0x27bc01['buffers']&&_0x27bc01['buffers']['length']){object['buffers']=[];for(var _0x256f71=0x0;_0x256f71<_0x27bc01['buffers']['length'];++_0x256f71)object['buffers'][_0x256f71]=options['bytes']===String?$util['base64']['encode'](_0x27bc01['buffers'][_0x256f71],0x0,_0x27bc01['buffers'][_0x256f71]['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x27bc01['buffers'][_0x256f71]):_0x27bc01['buffers'][_0x256f71];}if(_0x27bc01['types']&&_0x27bc01['types']['length']){object['types']=[];for(_0x256f71=0x0;_0x256f71<_0x27bc01['types']['length'];++_0x256f71)object['types'][_0x256f71]=_0x27bc01['types'][_0x256f71];}return null!=_0x27bc01['lastOperationId']&&Object['hasOwnProperty']['call'](_0x27bc01,'lastOperationId')&&(object['lastOperationId']=_0x27bc01['lastOperationId']),object;},CollaborativeEditingConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CollaborativeEditingConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CollaborativeEditingConnectMessage';},CollaborativeEditingConnectMessage;}()),$root['OperationMetadataDescriptor']=(function(){function OperationMetadataDescriptor(properties){if(properties){for(var _0x20192c=Object['keys'](properties),_0x90df59=0x0;_0x90df59<_0x20192c['length'];++_0x90df59)null!=properties[_0x20192c[_0x90df59]]&&'__proto__'!==_0x20192c[_0x90df59]&&(this[_0x20192c[_0x90df59]]=properties[_0x20192c[_0x90df59]]);}}return OperationMetadataDescriptor['prototype']['userId']='',OperationMetadataDescriptor['prototype']['type']='',OperationMetadataDescriptor['prototype']['createdAt']='',OperationMetadataDescriptor['create']=function(properties){return new OperationMetadataDescriptor(properties);},OperationMetadataDescriptor['encode']=function(_0x1e3daa,writer,_0x5eddab){if(writer||(writer=$Writer['create']()),void 0x0===_0x5eddab&&(_0x5eddab=0x0),_0x5eddab>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1e3daa['userId']&&Object['hasOwnProperty']['call'](_0x1e3daa,'userId')&&writer['uint32'](0xa)['string'](_0x1e3daa['userId']),null!=_0x1e3daa['type']&&Object['hasOwnProperty']['call'](_0x1e3daa,'type')&&writer['uint32'](0x12)['string'](_0x1e3daa['type']),null!=_0x1e3daa['createdAt']&&Object['hasOwnProperty']['call'](_0x1e3daa,'createdAt')&&writer['uint32'](0x1a)['string'](_0x1e3daa['createdAt']),writer;},OperationMetadataDescriptor['encodeDelimited']=function(_0x13fc01,writer){return this['encode'](_0x13fc01,writer)['ldelim']();},OperationMetadataDescriptor['decode']=function(_0x20c43a,length,_0x3e606a,_0xeb01eb){if(_0x20c43a instanceof _0x5a128a||(_0x20c43a=_0x5a128a['create'](_0x20c43a)),void 0x0===_0xeb01eb&&(_0xeb01eb=0x0),_0xeb01eb>_0x5a128a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4229d1=void 0x0===length?_0x20c43a['len']:_0x20c43a['pos']+length,_0xf228c0=new $root['OperationMetadataDescriptor']();_0x20c43a['pos']<_0x4229d1;){var tag=_0x20c43a['uint32']();if(tag===_0x3e606a)break;switch(tag>>>0x3){case 0x1:_0xf228c0['userId']=_0x20c43a['string']();break;case 0x2:_0xf228c0['type']=_0x20c43a['string']();break;case 0x3:_0xf228c0['createdAt']=_0x20c43a['string']();break;default:_0x20c43a['skipType'](0x7&tag,_0xeb01eb);}}return _0xf228c0;},OperationMetadataDescriptor['decodeDelimited']=function(_0x4d1086){return _0x4d1086 instanceof _0x5a128a||(_0x4d1086=new _0x5a128a(_0x4d1086)),this['decode'](_0x4d1086,_0x4d1086['uint32']());},OperationMetadataDescriptor['verify']=function(_0x5d53ed,_0x122de0){return'object'!=typeof _0x5d53ed||null===_0x5d53ed?'object\x20expected':(void 0x0===_0x122de0&&(_0x122de0=0x0),_0x122de0>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5d53ed['userId']&&Object['hasOwnProperty']['call'](_0x5d53ed,'userId')&&!$util['isString'](_0x5d53ed['userId'])?'userId:\x20string\x20expected':null!=_0x5d53ed['type']&&Object['hasOwnProperty']['call'](_0x5d53ed,'type')&&!$util['isString'](_0x5d53ed['type'])?'type:\x20string\x20expected':null!=_0x5d53ed['createdAt']&&Object['hasOwnProperty']['call'](_0x5d53ed,'createdAt')&&!$util['isString'](_0x5d53ed['createdAt'])?'createdAt:\x20string\x20expected':null);},OperationMetadataDescriptor['fromObject']=function(object,_0x396fe4){if(object instanceof $root['OperationMetadataDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.OperationMetadataDescriptor:\x20object\x20expected');if(void 0x0===_0x396fe4&&(_0x396fe4=0x0),_0x396fe4>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x31b531=new $root['OperationMetadataDescriptor']();return null!=object['userId']&&(_0x31b531['userId']=String(object['userId'])),null!=object['type']&&(_0x31b531['type']=String(object['type'])),null!=object['createdAt']&&(_0x31b531['createdAt']=String(object['createdAt'])),_0x31b531;},OperationMetadataDescriptor['toObject']=function(_0x334450,options,_0x3dfbf1){if(options||(options={}),void 0x0===_0x3dfbf1&&(_0x3dfbf1=0x0),_0x3dfbf1>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['userId']='',object['type']='',object['createdAt']=''),null!=_0x334450['userId']&&Object['hasOwnProperty']['call'](_0x334450,'userId')&&(object['userId']=_0x334450['userId']),null!=_0x334450['type']&&Object['hasOwnProperty']['call'](_0x334450,'type')&&(object['type']=_0x334450['type']),null!=_0x334450['createdAt']&&Object['hasOwnProperty']['call'](_0x334450,'createdAt')&&(object['createdAt']=_0x334450['createdAt']),object;},OperationMetadataDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},OperationMetadataDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/OperationMetadataDescriptor';},OperationMetadataDescriptor;}()),$root;})());class MessagesCompressor{static['decode'](_0x59f2c5,_0x285529){const data=_getType(_0x285529)['decode']('undefined'==typeof window?_0x59f2c5:new Uint8Array(_0x59f2c5));return _0x285529['fromJSON']({...data});}static['encode'](_0x3061f3){const protobufMessage=_getType(_0x3061f3['constructor']),data=_0x3061f3['toJSON'](),_0x4e3044=protobufMessage['verify'](data);if(_0x4e3044)throw Error(_0x4e3044);return protobufMessage['encode'](protobufMessage['create'](data))['finish']();}}function _getType(_0x345824){return messages[_0x345824['DESCRIPTOR_NAME']];}class GetManyUsersMessage extends Message{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x3565d6){super(),this['ids']=_0x3565d6;}toJSON(){return{'ids':this['ids']};}static['fromJSON'](data){return new GetManyUsersMessage(data['ids']);}}class GetManyUsersResponse extends Message{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0xb02ec3){super(),this['users']=_0xb02ec3;}toJSON(){return{'users':this['users']['map'](_userToJson)};}static['fromJSON'](data){return new GetManyUsersResponse(data['users']['map'](_userFromJson));}}function _userToJson(_0x2db0f3){return{'attributes':Object['keys'](_0x2db0f3)['map'](_0x534fd6=>({'key':_0x534fd6,'value':JSON['stringify'](_0x2db0f3[_0x534fd6])}))};}function _userFromJson(data){return data['attributes']['reduce']((result,_0x244978)=>(result[_0x244978['key']]=_0x244978['value']?JSON['parse'](_0x244978['value']):null,result),{});}class User{static ['_SERVICE']=0x2;constructor(attributes={}){this['_attributes']=new Map();for(const _0x3d7e7d of Object['keys'](attributes))'id'!==_0x3d7e7d?(this['_attributes']['set'](_0x3d7e7d,attributes[_0x3d7e7d]),Object['defineProperty'](this,_0x3d7e7d,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x3d7e7d)})):this['id']=attributes['id'];}static fromData(data){return new User(data);}static async get(wsGateway,_0x9c80ff){const _0x4cee36=new GetUserMessage(_0x9c80ff);try{const _0x335ada=await wsGateway['_sendRequest'](User['_SERVICE'],GetUserMessage['TYPE'],MessagesCompressor['encode'](_0x4cee36)),getUserResponse=MessagesCompressor['decode'](_0x335ada,GetUserResponse);return new User(getUserResponse['attributes']);}catch{return new User({'id':_0x9c80ff});}}static async getMany(wsGateway,_0xae3759){const _0x2c2bea=new GetManyUsersMessage(_0xae3759);try{const _0x5cfe47=await wsGateway['_sendRequest'](User['_SERVICE'],GetManyUsersMessage['TYPE'],MessagesCompressor['encode'](_0x2c2bea));return MessagesCompressor['decode'](_0x5cfe47,GetManyUsersResponse)['users']['map'](_0x493da2=>new User(_0x493da2));}catch{return _0xae3759['map'](_0x11a56b=>new User({'id':_0x11a56b}));}}}class ChannelMessage extends Message{type;socketId;data;static ['DESCRIPTOR_NAME']='ChannelMessage';static ['DESCRIPTOR']={'fields':{'type':{'type':'uint32','id':0x1},'socketId':{'type':'string','id':0x2},'data':{'type':'bytes','id':0x3}}};constructor(type,socketId,data){super(),this['type']=type,this['socketId']=socketId,this['data']=data;}toJSON(){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](data){return new ChannelMessage(data['type'],data['socketId'],data['data']);}}class Channel extends/* #__PURE__ -- @preserve */
|
|
25
|
-
EmitterMixin(){['_channelName'];_wsGateway;_socket;constructor(
|
|
26
|
-
((()=>({'fields':{'flags':{'type':'string','id':0x1},'rooms':{'type':'string','id':0x2,'rule':'repeated'},'except':{'type':'string','id':0x3,'rule':'repeated'}}}))());constructor(
|
|
27
|
-
((()=>!('undefined'==typeof process||!process['versions']?.['node']))()),MessageDataTypes_BUFFER=0x1,MessageDataTypes_STRING=0x2,MessageDataTypes_NUMBER=0x3,MessageDataTypes_OBJECT=0x4;class ParserUtils{static getPacketType(...types){let
|
|
23
|
+
import $protobuf from'protobufjs/minimal.js';import{io}from'socket.io-client';import _0x57adea from'url-parse';import{EmitterMixin,ObservableMixin,priorities,global,Collection}from'@ckeditor/ckeditor5-utils';import{Decoder as _0x20e21b,Encoder as _0x168e4f,PacketType}from'socket.io-parser';import{v4}from'uuid';class Descriptor{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x37050a){}}class Message extends Descriptor{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x585f53){super();}static['fromJSON'](object){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class GetUserMessage extends Message{['id'];static ['TYPE']='21';static ['READABLE_TYPE_NAME']='getUser';static ['DESCRIPTOR_NAME']='GetUserMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x3bec3c){super(),this['id']=_0x3bec3c;}toJSON(){return{'id':this['id']};}static['fromJSON'](data){return new GetUserMessage(data['id']);}}class GetUserResponse extends Message{attributes;static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(attributes){super(),this['attributes']=attributes;}toJSON(){return{'attributes':Object['keys'](this['attributes'])['map'](_0x1387af=>({'key':_0x1387af,'value':JSON['stringify'](this['attributes'][_0x1387af])}))};}static['fromJSON'](data){const attributes=data['attributes']['reduce']((result,_0x1ae933)=>(result[_0x1ae933['key']]=_0x1ae933['value']?JSON['parse'](_0x1ae933['value']):null,result),{});return new GetUserResponse(attributes);}}const messages=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>{var _0x3e39b8=$protobuf['Reader'],$Writer=$protobuf['Writer'],$util=$protobuf['util'],$root=$protobuf['roots']['default']||($protobuf['roots']['default']={});return $root['StringStringPacketDataMessage']=(function(){function StringStringPacketDataMessage(properties){if(properties){for(var _0x458994=Object['keys'](properties),_0x488724=0x0;_0x488724<_0x458994['length'];++_0x488724)null!=properties[_0x458994[_0x488724]]&&'__proto__'!==_0x458994[_0x488724]&&(this[_0x458994[_0x488724]]=properties[_0x458994[_0x488724]]);}}return StringStringPacketDataMessage['prototype']['data']='',StringStringPacketDataMessage['prototype']['data1']='',StringStringPacketDataMessage['create']=function(properties){return new StringStringPacketDataMessage(properties);},StringStringPacketDataMessage['encode']=function(_0x25bdad,writer,_0x387f27){if(writer||(writer=$Writer['create']()),void 0x0===_0x387f27&&(_0x387f27=0x0),_0x387f27>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x25bdad['data']&&Object['hasOwnProperty']['call'](_0x25bdad,'data')&&writer['uint32'](0xa)['string'](_0x25bdad['data']),null!=_0x25bdad['data1']&&Object['hasOwnProperty']['call'](_0x25bdad,'data1')&&writer['uint32'](0x12)['string'](_0x25bdad['data1']),writer;},StringStringPacketDataMessage['encodeDelimited']=function(_0x5df34d,writer){return this['encode'](_0x5df34d,writer)['ldelim']();},StringStringPacketDataMessage['decode']=function(_0x59256a,length,_0x2d27d9,_0x246870){if(_0x59256a instanceof _0x3e39b8||(_0x59256a=_0x3e39b8['create'](_0x59256a)),void 0x0===_0x246870&&(_0x246870=0x0),_0x246870>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2d106c=void 0x0===length?_0x59256a['len']:_0x59256a['pos']+length,_0x4c2603=new $root['StringStringPacketDataMessage']();_0x59256a['pos']<_0x2d106c;){var tag=_0x59256a['uint32']();if(tag===_0x2d27d9)break;switch(tag>>>0x3){case 0x1:_0x4c2603['data']=_0x59256a['string']();break;case 0x2:_0x4c2603['data1']=_0x59256a['string']();break;default:_0x59256a['skipType'](0x7&tag,_0x246870);}}return _0x4c2603;},StringStringPacketDataMessage['decodeDelimited']=function(_0x390b38){return _0x390b38 instanceof _0x3e39b8||(_0x390b38=new _0x3e39b8(_0x390b38)),this['decode'](_0x390b38,_0x390b38['uint32']());},StringStringPacketDataMessage['verify']=function(_0x4ef9b1,_0x3c75ce){return'object'!=typeof _0x4ef9b1||null===_0x4ef9b1?'object\x20expected':(void 0x0===_0x3c75ce&&(_0x3c75ce=0x0),_0x3c75ce>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4ef9b1['data']&&Object['hasOwnProperty']['call'](_0x4ef9b1,'data')&&!$util['isString'](_0x4ef9b1['data'])?'data:\x20string\x20expected':null!=_0x4ef9b1['data1']&&Object['hasOwnProperty']['call'](_0x4ef9b1,'data1')&&!$util['isString'](_0x4ef9b1['data1'])?'data1:\x20string\x20expected':null);},StringStringPacketDataMessage['fromObject']=function(object,_0x2715de){if(object instanceof $root['StringStringPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.StringStringPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x2715de&&(_0x2715de=0x0),_0x2715de>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xbbd6d8=new $root['StringStringPacketDataMessage']();return null!=object['data']&&(_0xbbd6d8['data']=String(object['data'])),null!=object['data1']&&(_0xbbd6d8['data1']=String(object['data1'])),_0xbbd6d8;},StringStringPacketDataMessage['toObject']=function(_0x1424bc,options,_0x47781d){if(options||(options={}),void 0x0===_0x47781d&&(_0x47781d=0x0),_0x47781d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']='',object['data1']=''),null!=_0x1424bc['data']&&Object['hasOwnProperty']['call'](_0x1424bc,'data')&&(object['data']=_0x1424bc['data']),null!=_0x1424bc['data1']&&Object['hasOwnProperty']['call'](_0x1424bc,'data1')&&(object['data1']=_0x1424bc['data1']),object;},StringStringPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},StringStringPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/StringStringPacketDataMessage';},StringStringPacketDataMessage;}()),$root['StringObjectPacketDataMessage']=(function(){function StringObjectPacketDataMessage(properties){if(properties){for(var _0x517b4c=Object['keys'](properties),_0x266021=0x0;_0x266021<_0x517b4c['length'];++_0x266021)null!=properties[_0x517b4c[_0x266021]]&&'__proto__'!==_0x517b4c[_0x266021]&&(this[_0x517b4c[_0x266021]]=properties[_0x517b4c[_0x266021]]);}}return StringObjectPacketDataMessage['prototype']['data']='',StringObjectPacketDataMessage['prototype']['data1']='',StringObjectPacketDataMessage['create']=function(properties){return new StringObjectPacketDataMessage(properties);},StringObjectPacketDataMessage['encode']=function(_0x2e1e58,writer,_0x152c78){if(writer||(writer=$Writer['create']()),void 0x0===_0x152c78&&(_0x152c78=0x0),_0x152c78>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2e1e58['data']&&Object['hasOwnProperty']['call'](_0x2e1e58,'data')&&writer['uint32'](0xa)['string'](_0x2e1e58['data']),null!=_0x2e1e58['data1']&&Object['hasOwnProperty']['call'](_0x2e1e58,'data1')&&writer['uint32'](0x12)['string'](_0x2e1e58['data1']),writer;},StringObjectPacketDataMessage['encodeDelimited']=function(_0x49752a,writer){return this['encode'](_0x49752a,writer)['ldelim']();},StringObjectPacketDataMessage['decode']=function(_0x3b13a9,length,_0x7c7833,_0x5a4d72){if(_0x3b13a9 instanceof _0x3e39b8||(_0x3b13a9=_0x3e39b8['create'](_0x3b13a9)),void 0x0===_0x5a4d72&&(_0x5a4d72=0x0),_0x5a4d72>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1e6c5d=void 0x0===length?_0x3b13a9['len']:_0x3b13a9['pos']+length,_0x4bdb71=new $root['StringObjectPacketDataMessage']();_0x3b13a9['pos']<_0x1e6c5d;){var tag=_0x3b13a9['uint32']();if(tag===_0x7c7833)break;switch(tag>>>0x3){case 0x1:_0x4bdb71['data']=_0x3b13a9['string']();break;case 0x2:_0x4bdb71['data1']=_0x3b13a9['string']();break;default:_0x3b13a9['skipType'](0x7&tag,_0x5a4d72);}}return _0x4bdb71;},StringObjectPacketDataMessage['decodeDelimited']=function(_0xa52a28){return _0xa52a28 instanceof _0x3e39b8||(_0xa52a28=new _0x3e39b8(_0xa52a28)),this['decode'](_0xa52a28,_0xa52a28['uint32']());},StringObjectPacketDataMessage['verify']=function(_0x4c4a8f,_0x6744b2){return'object'!=typeof _0x4c4a8f||null===_0x4c4a8f?'object\x20expected':(void 0x0===_0x6744b2&&(_0x6744b2=0x0),_0x6744b2>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4c4a8f['data']&&Object['hasOwnProperty']['call'](_0x4c4a8f,'data')&&!$util['isString'](_0x4c4a8f['data'])?'data:\x20string\x20expected':null!=_0x4c4a8f['data1']&&Object['hasOwnProperty']['call'](_0x4c4a8f,'data1')&&!$util['isString'](_0x4c4a8f['data1'])?'data1:\x20string\x20expected':null);},StringObjectPacketDataMessage['fromObject']=function(object,_0x18aa39){if(object instanceof $root['StringObjectPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.StringObjectPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x18aa39&&(_0x18aa39=0x0),_0x18aa39>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3b2794=new $root['StringObjectPacketDataMessage']();return null!=object['data']&&(_0x3b2794['data']=String(object['data'])),null!=object['data1']&&(_0x3b2794['data1']=String(object['data1'])),_0x3b2794;},StringObjectPacketDataMessage['toObject']=function(_0x9bb307,options,_0x2b4916){if(options||(options={}),void 0x0===_0x2b4916&&(_0x2b4916=0x0),_0x2b4916>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']='',object['data1']=''),null!=_0x9bb307['data']&&Object['hasOwnProperty']['call'](_0x9bb307,'data')&&(object['data']=_0x9bb307['data']),null!=_0x9bb307['data1']&&Object['hasOwnProperty']['call'](_0x9bb307,'data1')&&(object['data1']=_0x9bb307['data1']),object;},StringObjectPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},StringObjectPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/StringObjectPacketDataMessage';},StringObjectPacketDataMessage;}()),$root['StringNumberPacketDataMessage']=(function(){function StringNumberPacketDataMessage(properties){if(properties){for(var _0x1e1f5e=Object['keys'](properties),_0x3de41a=0x0;_0x3de41a<_0x1e1f5e['length'];++_0x3de41a)null!=properties[_0x1e1f5e[_0x3de41a]]&&'__proto__'!==_0x1e1f5e[_0x3de41a]&&(this[_0x1e1f5e[_0x3de41a]]=properties[_0x1e1f5e[_0x3de41a]]);}}return StringNumberPacketDataMessage['prototype']['data']='',StringNumberPacketDataMessage['prototype']['data1']=0x0,StringNumberPacketDataMessage['create']=function(properties){return new StringNumberPacketDataMessage(properties);},StringNumberPacketDataMessage['encode']=function(_0x870927,writer,_0x1d530a){if(writer||(writer=$Writer['create']()),void 0x0===_0x1d530a&&(_0x1d530a=0x0),_0x1d530a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x870927['data']&&Object['hasOwnProperty']['call'](_0x870927,'data')&&writer['uint32'](0xa)['string'](_0x870927['data']),null!=_0x870927['data1']&&Object['hasOwnProperty']['call'](_0x870927,'data1')&&writer['uint32'](0x10)['uint32'](_0x870927['data1']),writer;},StringNumberPacketDataMessage['encodeDelimited']=function(_0x3d7fc2,writer){return this['encode'](_0x3d7fc2,writer)['ldelim']();},StringNumberPacketDataMessage['decode']=function(_0x126108,length,_0x3a4b18,_0x159f92){if(_0x126108 instanceof _0x3e39b8||(_0x126108=_0x3e39b8['create'](_0x126108)),void 0x0===_0x159f92&&(_0x159f92=0x0),_0x159f92>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3c4513=void 0x0===length?_0x126108['len']:_0x126108['pos']+length,_0x151588=new $root['StringNumberPacketDataMessage']();_0x126108['pos']<_0x3c4513;){var tag=_0x126108['uint32']();if(tag===_0x3a4b18)break;switch(tag>>>0x3){case 0x1:_0x151588['data']=_0x126108['string']();break;case 0x2:_0x151588['data1']=_0x126108['uint32']();break;default:_0x126108['skipType'](0x7&tag,_0x159f92);}}return _0x151588;},StringNumberPacketDataMessage['decodeDelimited']=function(_0x180c4a){return _0x180c4a instanceof _0x3e39b8||(_0x180c4a=new _0x3e39b8(_0x180c4a)),this['decode'](_0x180c4a,_0x180c4a['uint32']());},StringNumberPacketDataMessage['verify']=function(_0xeab828,_0x5a6c94){return'object'!=typeof _0xeab828||null===_0xeab828?'object\x20expected':(void 0x0===_0x5a6c94&&(_0x5a6c94=0x0),_0x5a6c94>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xeab828['data']&&Object['hasOwnProperty']['call'](_0xeab828,'data')&&!$util['isString'](_0xeab828['data'])?'data:\x20string\x20expected':null!=_0xeab828['data1']&&Object['hasOwnProperty']['call'](_0xeab828,'data1')&&!$util['isInteger'](_0xeab828['data1'])?'data1:\x20integer\x20expected':null);},StringNumberPacketDataMessage['fromObject']=function(object,_0x2389f8){if(object instanceof $root['StringNumberPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.StringNumberPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x2389f8&&(_0x2389f8=0x0),_0x2389f8>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x36bcbf=new $root['StringNumberPacketDataMessage']();return null!=object['data']&&(_0x36bcbf['data']=String(object['data'])),null!=object['data1']&&(_0x36bcbf['data1']=object['data1']>>>0x0),_0x36bcbf;},StringNumberPacketDataMessage['toObject']=function(_0x421d09,options,_0x5e0678){if(options||(options={}),void 0x0===_0x5e0678&&(_0x5e0678=0x0),_0x5e0678>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']='',object['data1']=0x0),null!=_0x421d09['data']&&Object['hasOwnProperty']['call'](_0x421d09,'data')&&(object['data']=_0x421d09['data']),null!=_0x421d09['data1']&&Object['hasOwnProperty']['call'](_0x421d09,'data1')&&(object['data1']=_0x421d09['data1']),object;},StringNumberPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},StringNumberPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/StringNumberPacketDataMessage';},StringNumberPacketDataMessage;}()),$root['StringBytesPacketDataMessage']=(function(){function StringBytesPacketDataMessage(properties){if(properties){for(var _0x494e9f=Object['keys'](properties),_0x2c2433=0x0;_0x2c2433<_0x494e9f['length'];++_0x2c2433)null!=properties[_0x494e9f[_0x2c2433]]&&'__proto__'!==_0x494e9f[_0x2c2433]&&(this[_0x494e9f[_0x2c2433]]=properties[_0x494e9f[_0x2c2433]]);}}return StringBytesPacketDataMessage['prototype']['data']='',StringBytesPacketDataMessage['prototype']['data1']=$util['newBuffer']([]),StringBytesPacketDataMessage['create']=function(properties){return new StringBytesPacketDataMessage(properties);},StringBytesPacketDataMessage['encode']=function(_0x300331,writer,_0x5b29fb){if(writer||(writer=$Writer['create']()),void 0x0===_0x5b29fb&&(_0x5b29fb=0x0),_0x5b29fb>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x300331['data']&&Object['hasOwnProperty']['call'](_0x300331,'data')&&writer['uint32'](0xa)['string'](_0x300331['data']),null!=_0x300331['data1']&&Object['hasOwnProperty']['call'](_0x300331,'data1')&&writer['uint32'](0x12)['bytes'](_0x300331['data1']),writer;},StringBytesPacketDataMessage['encodeDelimited']=function(_0x48c2ff,writer){return this['encode'](_0x48c2ff,writer)['ldelim']();},StringBytesPacketDataMessage['decode']=function(_0x17eb52,length,_0x44c260,_0x34a32d){if(_0x17eb52 instanceof _0x3e39b8||(_0x17eb52=_0x3e39b8['create'](_0x17eb52)),void 0x0===_0x34a32d&&(_0x34a32d=0x0),_0x34a32d>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x39d4a1=void 0x0===length?_0x17eb52['len']:_0x17eb52['pos']+length,_0x1c8ea9=new $root['StringBytesPacketDataMessage']();_0x17eb52['pos']<_0x39d4a1;){var tag=_0x17eb52['uint32']();if(tag===_0x44c260)break;switch(tag>>>0x3){case 0x1:_0x1c8ea9['data']=_0x17eb52['string']();break;case 0x2:_0x1c8ea9['data1']=_0x17eb52['bytes']();break;default:_0x17eb52['skipType'](0x7&tag,_0x34a32d);}}return _0x1c8ea9;},StringBytesPacketDataMessage['decodeDelimited']=function(_0x1aea95){return _0x1aea95 instanceof _0x3e39b8||(_0x1aea95=new _0x3e39b8(_0x1aea95)),this['decode'](_0x1aea95,_0x1aea95['uint32']());},StringBytesPacketDataMessage['verify']=function(_0x14726d,_0x1a5fbf){return'object'!=typeof _0x14726d||null===_0x14726d?'object\x20expected':(void 0x0===_0x1a5fbf&&(_0x1a5fbf=0x0),_0x1a5fbf>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x14726d['data']&&Object['hasOwnProperty']['call'](_0x14726d,'data')&&!$util['isString'](_0x14726d['data'])?'data:\x20string\x20expected':null!=_0x14726d['data1']&&Object['hasOwnProperty']['call'](_0x14726d,'data1')&&!(_0x14726d['data1']&&'number'==typeof _0x14726d['data1']['length']||$util['isString'](_0x14726d['data1']))?'data1:\x20buffer\x20expected':null);},StringBytesPacketDataMessage['fromObject']=function(object,_0x5bdd4f){if(object instanceof $root['StringBytesPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.StringBytesPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x5bdd4f&&(_0x5bdd4f=0x0),_0x5bdd4f>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2cd84c=new $root['StringBytesPacketDataMessage']();return null!=object['data']&&(_0x2cd84c['data']=String(object['data'])),null!=object['data1']&&('string'==typeof object['data1']?$util['base64']['decode'](object['data1'],_0x2cd84c['data1']=$util['newBuffer']($util['base64']['length'](object['data1'])),0x0):object['data1']['length']>=0x0&&(_0x2cd84c['data1']=object['data1'])),_0x2cd84c;},StringBytesPacketDataMessage['toObject']=function(_0x2b54e7,options,_0x10070d){if(options||(options={}),void 0x0===_0x10070d&&(_0x10070d=0x0),_0x10070d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']='',options['bytes']===String?object['data1']='':(object['data1']=[],options['bytes']!==Array&&(object['data1']=$util['newBuffer'](object['data1'])))),null!=_0x2b54e7['data']&&Object['hasOwnProperty']['call'](_0x2b54e7,'data')&&(object['data']=_0x2b54e7['data']),null!=_0x2b54e7['data1']&&Object['hasOwnProperty']['call'](_0x2b54e7,'data1')&&(object['data1']=options['bytes']===String?$util['base64']['encode'](_0x2b54e7['data1'],0x0,_0x2b54e7['data1']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x2b54e7['data1']):_0x2b54e7['data1']),object;},StringBytesPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},StringBytesPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/StringBytesPacketDataMessage';},StringBytesPacketDataMessage;}()),$root['PacketOptionsMessage']=(function(){function PacketOptionsMessage(properties){if(this['rooms']=[],this['except']=[],properties){for(var _0x2a8117=Object['keys'](properties),_0x3cd5e2=0x0;_0x3cd5e2<_0x2a8117['length'];++_0x3cd5e2)null!=properties[_0x2a8117[_0x3cd5e2]]&&'__proto__'!==_0x2a8117[_0x3cd5e2]&&(this[_0x2a8117[_0x3cd5e2]]=properties[_0x2a8117[_0x3cd5e2]]);}}return PacketOptionsMessage['prototype']['flags']='',PacketOptionsMessage['prototype']['rooms']=$util['emptyArray'],PacketOptionsMessage['prototype']['except']=$util['emptyArray'],PacketOptionsMessage['create']=function(properties){return new PacketOptionsMessage(properties);},PacketOptionsMessage['encode']=function(_0x3427d5,writer,_0x1dd0f0){if(writer||(writer=$Writer['create']()),void 0x0===_0x1dd0f0&&(_0x1dd0f0=0x0),_0x1dd0f0>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x3427d5['flags']&&Object['hasOwnProperty']['call'](_0x3427d5,'flags')&&writer['uint32'](0xa)['string'](_0x3427d5['flags']),null!=_0x3427d5['rooms']&&_0x3427d5['rooms']['length']){for(var _0x2daf82=0x0;_0x2daf82<_0x3427d5['rooms']['length'];++_0x2daf82)writer['uint32'](0x12)['string'](_0x3427d5['rooms'][_0x2daf82]);}if(null!=_0x3427d5['except']&&_0x3427d5['except']['length']){for(_0x2daf82=0x0;_0x2daf82<_0x3427d5['except']['length'];++_0x2daf82)writer['uint32'](0x1a)['string'](_0x3427d5['except'][_0x2daf82]);}return writer;},PacketOptionsMessage['encodeDelimited']=function(_0x26a5d3,writer){return this['encode'](_0x26a5d3,writer)['ldelim']();},PacketOptionsMessage['decode']=function(_0x4c71ad,length,_0x1671a0,_0x4a1a75){if(_0x4c71ad instanceof _0x3e39b8||(_0x4c71ad=_0x3e39b8['create'](_0x4c71ad)),void 0x0===_0x4a1a75&&(_0x4a1a75=0x0),_0x4a1a75>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xf5458e=void 0x0===length?_0x4c71ad['len']:_0x4c71ad['pos']+length,_0x32bebf=new $root['PacketOptionsMessage']();_0x4c71ad['pos']<_0xf5458e;){var tag=_0x4c71ad['uint32']();if(tag===_0x1671a0)break;switch(tag>>>0x3){case 0x1:_0x32bebf['flags']=_0x4c71ad['string']();break;case 0x2:_0x32bebf['rooms']&&_0x32bebf['rooms']['length']||(_0x32bebf['rooms']=[]),_0x32bebf['rooms']['push'](_0x4c71ad['string']());break;case 0x3:_0x32bebf['except']&&_0x32bebf['except']['length']||(_0x32bebf['except']=[]),_0x32bebf['except']['push'](_0x4c71ad['string']());break;default:_0x4c71ad['skipType'](0x7&tag,_0x4a1a75);}}return _0x32bebf;},PacketOptionsMessage['decodeDelimited']=function(_0x2b713b){return _0x2b713b instanceof _0x3e39b8||(_0x2b713b=new _0x3e39b8(_0x2b713b)),this['decode'](_0x2b713b,_0x2b713b['uint32']());},PacketOptionsMessage['verify']=function(_0x2edfd1,_0x32b338){if('object'!=typeof _0x2edfd1||null===_0x2edfd1)return'object\x20expected';if(void 0x0===_0x32b338&&(_0x32b338=0x0),_0x32b338>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2edfd1['flags']&&Object['hasOwnProperty']['call'](_0x2edfd1,'flags')&&!$util['isString'](_0x2edfd1['flags']))return'flags:\x20string\x20expected';if(null!=_0x2edfd1['rooms']&&Object['hasOwnProperty']['call'](_0x2edfd1,'rooms')){if(!Array['isArray'](_0x2edfd1['rooms']))return'rooms:\x20array\x20expected';for(var _0x1e9cfa=0x0;_0x1e9cfa<_0x2edfd1['rooms']['length'];++_0x1e9cfa)if(!$util['isString'](_0x2edfd1['rooms'][_0x1e9cfa]))return'rooms:\x20string[]\x20expected';}if(null!=_0x2edfd1['except']&&Object['hasOwnProperty']['call'](_0x2edfd1,'except')){if(!Array['isArray'](_0x2edfd1['except']))return'except:\x20array\x20expected';for(_0x1e9cfa=0x0;_0x1e9cfa<_0x2edfd1['except']['length'];++_0x1e9cfa)if(!$util['isString'](_0x2edfd1['except'][_0x1e9cfa]))return'except:\x20string[]\x20expected';}return null;},PacketOptionsMessage['fromObject']=function(object,_0x3982a4){if(object instanceof $root['PacketOptionsMessage'])return object;if(!$util['isObject'](object))throw TypeError('.PacketOptionsMessage:\x20object\x20expected');if(void 0x0===_0x3982a4&&(_0x3982a4=0x0),_0x3982a4>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1b9d4b=new $root['PacketOptionsMessage']();if(null!=object['flags']&&(_0x1b9d4b['flags']=String(object['flags'])),object['rooms']){if(!Array['isArray'](object['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x1b9d4b['rooms']=[];for(var _0x4a0265=0x0;_0x4a0265<object['rooms']['length'];++_0x4a0265)_0x1b9d4b['rooms'][_0x4a0265]=String(object['rooms'][_0x4a0265]);}if(object['except']){if(!Array['isArray'](object['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');_0x1b9d4b['except']=[];for(_0x4a0265=0x0;_0x4a0265<object['except']['length'];++_0x4a0265)_0x1b9d4b['except'][_0x4a0265]=String(object['except'][_0x4a0265]);}return _0x1b9d4b;},PacketOptionsMessage['toObject']=function(_0x2b2285,options,_0x32a09e){if(options||(options={}),void 0x0===_0x32a09e&&(_0x32a09e=0x0),_0x32a09e>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['rooms']=[],object['except']=[]),options['defaults']&&(object['flags']=''),null!=_0x2b2285['flags']&&Object['hasOwnProperty']['call'](_0x2b2285,'flags')&&(object['flags']=_0x2b2285['flags']),_0x2b2285['rooms']&&_0x2b2285['rooms']['length']){object['rooms']=[];for(var _0x2d92c1=0x0;_0x2d92c1<_0x2b2285['rooms']['length'];++_0x2d92c1)object['rooms'][_0x2d92c1]=_0x2b2285['rooms'][_0x2d92c1];}if(_0x2b2285['except']&&_0x2b2285['except']['length']){object['except']=[];for(_0x2d92c1=0x0;_0x2d92c1<_0x2b2285['except']['length'];++_0x2d92c1)object['except'][_0x2d92c1]=_0x2b2285['except'][_0x2d92c1];}return object;},PacketOptionsMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},PacketOptionsMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/PacketOptionsMessage';},PacketOptionsMessage;}()),$root['PacketMessage']=(function(){function PacketMessage(properties){if(properties){for(var _0x1a71c5=Object['keys'](properties),_0x1305db=0x0;_0x1305db<_0x1a71c5['length'];++_0x1305db)null!=properties[_0x1a71c5[_0x1305db]]&&'__proto__'!==_0x1a71c5[_0x1305db]&&(this[_0x1a71c5[_0x1305db]]=properties[_0x1a71c5[_0x1305db]]);}}return PacketMessage['prototype']['type']=0x0,PacketMessage['prototype']['id']=0x0,PacketMessage['prototype']['nsp']='',PacketMessage['prototype']['data']=$util['newBuffer']([]),PacketMessage['prototype']['options']=$util['newBuffer']([]),PacketMessage['create']=function(properties){return new PacketMessage(properties);},PacketMessage['encode']=function(_0x4bd136,writer,_0x5a2be6){if(writer||(writer=$Writer['create']()),void 0x0===_0x5a2be6&&(_0x5a2be6=0x0),_0x5a2be6>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4bd136['type']&&Object['hasOwnProperty']['call'](_0x4bd136,'type')&&writer['uint32'](0x8)['uint32'](_0x4bd136['type']),null!=_0x4bd136['id']&&Object['hasOwnProperty']['call'](_0x4bd136,'id')&&writer['uint32'](0x10)['uint32'](_0x4bd136['id']),null!=_0x4bd136['nsp']&&Object['hasOwnProperty']['call'](_0x4bd136,'nsp')&&writer['uint32'](0x1a)['string'](_0x4bd136['nsp']),null!=_0x4bd136['data']&&Object['hasOwnProperty']['call'](_0x4bd136,'data')&&writer['uint32'](0x22)['bytes'](_0x4bd136['data']),null!=_0x4bd136['options']&&Object['hasOwnProperty']['call'](_0x4bd136,'options')&&writer['uint32'](0x2a)['bytes'](_0x4bd136['options']),writer;},PacketMessage['encodeDelimited']=function(_0x419e44,writer){return this['encode'](_0x419e44,writer)['ldelim']();},PacketMessage['decode']=function(_0xce07c,length,_0x30e52e,_0x3fbad7){if(_0xce07c instanceof _0x3e39b8||(_0xce07c=_0x3e39b8['create'](_0xce07c)),void 0x0===_0x3fbad7&&(_0x3fbad7=0x0),_0x3fbad7>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x563d49=void 0x0===length?_0xce07c['len']:_0xce07c['pos']+length,_0x4bc100=new $root['PacketMessage']();_0xce07c['pos']<_0x563d49;){var tag=_0xce07c['uint32']();if(tag===_0x30e52e)break;switch(tag>>>0x3){case 0x1:_0x4bc100['type']=_0xce07c['uint32']();break;case 0x2:_0x4bc100['id']=_0xce07c['uint32']();break;case 0x3:_0x4bc100['nsp']=_0xce07c['string']();break;case 0x4:_0x4bc100['data']=_0xce07c['bytes']();break;case 0x5:_0x4bc100['options']=_0xce07c['bytes']();break;default:_0xce07c['skipType'](0x7&tag,_0x3fbad7);}}return _0x4bc100;},PacketMessage['decodeDelimited']=function(_0x13f2bd){return _0x13f2bd instanceof _0x3e39b8||(_0x13f2bd=new _0x3e39b8(_0x13f2bd)),this['decode'](_0x13f2bd,_0x13f2bd['uint32']());},PacketMessage['verify']=function(_0x50f418,_0x22a5b9){return'object'!=typeof _0x50f418||null===_0x50f418?'object\x20expected':(void 0x0===_0x22a5b9&&(_0x22a5b9=0x0),_0x22a5b9>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x50f418['type']&&Object['hasOwnProperty']['call'](_0x50f418,'type')&&!$util['isInteger'](_0x50f418['type'])?'type:\x20integer\x20expected':null!=_0x50f418['id']&&Object['hasOwnProperty']['call'](_0x50f418,'id')&&!$util['isInteger'](_0x50f418['id'])?'id:\x20integer\x20expected':null!=_0x50f418['nsp']&&Object['hasOwnProperty']['call'](_0x50f418,'nsp')&&!$util['isString'](_0x50f418['nsp'])?'nsp:\x20string\x20expected':null!=_0x50f418['data']&&Object['hasOwnProperty']['call'](_0x50f418,'data')&&!(_0x50f418['data']&&'number'==typeof _0x50f418['data']['length']||$util['isString'](_0x50f418['data']))?'data:\x20buffer\x20expected':null!=_0x50f418['options']&&Object['hasOwnProperty']['call'](_0x50f418,'options')&&!(_0x50f418['options']&&'number'==typeof _0x50f418['options']['length']||$util['isString'](_0x50f418['options']))?'options:\x20buffer\x20expected':null);},PacketMessage['fromObject']=function(object,_0x5eee15){if(object instanceof $root['PacketMessage'])return object;if(!$util['isObject'](object))throw TypeError('.PacketMessage:\x20object\x20expected');if(void 0x0===_0x5eee15&&(_0x5eee15=0x0),_0x5eee15>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x389320=new $root['PacketMessage']();return null!=object['type']&&(_0x389320['type']=object['type']>>>0x0),null!=object['id']&&(_0x389320['id']=object['id']>>>0x0),null!=object['nsp']&&(_0x389320['nsp']=String(object['nsp'])),null!=object['data']&&('string'==typeof object['data']?$util['base64']['decode'](object['data'],_0x389320['data']=$util['newBuffer']($util['base64']['length'](object['data'])),0x0):object['data']['length']>=0x0&&(_0x389320['data']=object['data'])),null!=object['options']&&('string'==typeof object['options']?$util['base64']['decode'](object['options'],_0x389320['options']=$util['newBuffer']($util['base64']['length'](object['options'])),0x0):object['options']['length']>=0x0&&(_0x389320['options']=object['options'])),_0x389320;},PacketMessage['toObject']=function(_0x9c06b3,options,_0x4fc70d){if(options||(options={}),void 0x0===_0x4fc70d&&(_0x4fc70d=0x0),_0x4fc70d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['type']=0x0,object['id']=0x0,object['nsp']='',options['bytes']===String?object['data']='':(object['data']=[],options['bytes']!==Array&&(object['data']=$util['newBuffer'](object['data']))),options['bytes']===String?object['options']='':(object['options']=[],options['bytes']!==Array&&(object['options']=$util['newBuffer'](object['options'])))),null!=_0x9c06b3['type']&&Object['hasOwnProperty']['call'](_0x9c06b3,'type')&&(object['type']=_0x9c06b3['type']),null!=_0x9c06b3['id']&&Object['hasOwnProperty']['call'](_0x9c06b3,'id')&&(object['id']=_0x9c06b3['id']),null!=_0x9c06b3['nsp']&&Object['hasOwnProperty']['call'](_0x9c06b3,'nsp')&&(object['nsp']=_0x9c06b3['nsp']),null!=_0x9c06b3['data']&&Object['hasOwnProperty']['call'](_0x9c06b3,'data')&&(object['data']=options['bytes']===String?$util['base64']['encode'](_0x9c06b3['data'],0x0,_0x9c06b3['data']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x9c06b3['data']):_0x9c06b3['data']),null!=_0x9c06b3['options']&&Object['hasOwnProperty']['call'](_0x9c06b3,'options')&&(object['options']=options['bytes']===String?$util['base64']['encode'](_0x9c06b3['options'],0x0,_0x9c06b3['options']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x9c06b3['options']):_0x9c06b3['options']),object;},PacketMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},PacketMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/PacketMessage';},PacketMessage;}()),$root['ObjectObjectPacketDataMessage']=(function(){function ObjectObjectPacketDataMessage(properties){if(properties){for(var _0x206935=Object['keys'](properties),_0x2c4275=0x0;_0x2c4275<_0x206935['length'];++_0x2c4275)null!=properties[_0x206935[_0x2c4275]]&&'__proto__'!==_0x206935[_0x2c4275]&&(this[_0x206935[_0x2c4275]]=properties[_0x206935[_0x2c4275]]);}}return ObjectObjectPacketDataMessage['prototype']['data']='',ObjectObjectPacketDataMessage['prototype']['data1']='',ObjectObjectPacketDataMessage['create']=function(properties){return new ObjectObjectPacketDataMessage(properties);},ObjectObjectPacketDataMessage['encode']=function(_0x393aad,writer,_0x1b201b){if(writer||(writer=$Writer['create']()),void 0x0===_0x1b201b&&(_0x1b201b=0x0),_0x1b201b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x393aad['data']&&Object['hasOwnProperty']['call'](_0x393aad,'data')&&writer['uint32'](0xa)['string'](_0x393aad['data']),null!=_0x393aad['data1']&&Object['hasOwnProperty']['call'](_0x393aad,'data1')&&writer['uint32'](0x12)['string'](_0x393aad['data1']),writer;},ObjectObjectPacketDataMessage['encodeDelimited']=function(_0x14e1b1,writer){return this['encode'](_0x14e1b1,writer)['ldelim']();},ObjectObjectPacketDataMessage['decode']=function(_0x3331b8,length,_0x38fd95,_0x52f33d){if(_0x3331b8 instanceof _0x3e39b8||(_0x3331b8=_0x3e39b8['create'](_0x3331b8)),void 0x0===_0x52f33d&&(_0x52f33d=0x0),_0x52f33d>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x16ffeb=void 0x0===length?_0x3331b8['len']:_0x3331b8['pos']+length,_0x2aba78=new $root['ObjectObjectPacketDataMessage']();_0x3331b8['pos']<_0x16ffeb;){var tag=_0x3331b8['uint32']();if(tag===_0x38fd95)break;switch(tag>>>0x3){case 0x1:_0x2aba78['data']=_0x3331b8['string']();break;case 0x2:_0x2aba78['data1']=_0x3331b8['string']();break;default:_0x3331b8['skipType'](0x7&tag,_0x52f33d);}}return _0x2aba78;},ObjectObjectPacketDataMessage['decodeDelimited']=function(_0x3a694c){return _0x3a694c instanceof _0x3e39b8||(_0x3a694c=new _0x3e39b8(_0x3a694c)),this['decode'](_0x3a694c,_0x3a694c['uint32']());},ObjectObjectPacketDataMessage['verify']=function(_0xc417ac,_0x3ee4ab){return'object'!=typeof _0xc417ac||null===_0xc417ac?'object\x20expected':(void 0x0===_0x3ee4ab&&(_0x3ee4ab=0x0),_0x3ee4ab>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xc417ac['data']&&Object['hasOwnProperty']['call'](_0xc417ac,'data')&&!$util['isString'](_0xc417ac['data'])?'data:\x20string\x20expected':null!=_0xc417ac['data1']&&Object['hasOwnProperty']['call'](_0xc417ac,'data1')&&!$util['isString'](_0xc417ac['data1'])?'data1:\x20string\x20expected':null);},ObjectObjectPacketDataMessage['fromObject']=function(object,_0x38e9ae){if(object instanceof $root['ObjectObjectPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.ObjectObjectPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x38e9ae&&(_0x38e9ae=0x0),_0x38e9ae>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x327b0a=new $root['ObjectObjectPacketDataMessage']();return null!=object['data']&&(_0x327b0a['data']=String(object['data'])),null!=object['data1']&&(_0x327b0a['data1']=String(object['data1'])),_0x327b0a;},ObjectObjectPacketDataMessage['toObject']=function(_0x1d334e,options,_0xbd3eb7){if(options||(options={}),void 0x0===_0xbd3eb7&&(_0xbd3eb7=0x0),_0xbd3eb7>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']='',object['data1']=''),null!=_0x1d334e['data']&&Object['hasOwnProperty']['call'](_0x1d334e,'data')&&(object['data']=_0x1d334e['data']),null!=_0x1d334e['data1']&&Object['hasOwnProperty']['call'](_0x1d334e,'data1')&&(object['data1']=_0x1d334e['data1']),object;},ObjectObjectPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},ObjectObjectPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/ObjectObjectPacketDataMessage';},ObjectObjectPacketDataMessage;}()),$root['ObjectBufferPacketDataMessage']=(function(){function ObjectBufferPacketDataMessage(properties){if(properties){for(var _0x3e4463=Object['keys'](properties),_0x4c8409=0x0;_0x4c8409<_0x3e4463['length'];++_0x4c8409)null!=properties[_0x3e4463[_0x4c8409]]&&'__proto__'!==_0x3e4463[_0x4c8409]&&(this[_0x3e4463[_0x4c8409]]=properties[_0x3e4463[_0x4c8409]]);}}return ObjectBufferPacketDataMessage['prototype']['data']='',ObjectBufferPacketDataMessage['prototype']['data1']=$util['newBuffer']([]),ObjectBufferPacketDataMessage['create']=function(properties){return new ObjectBufferPacketDataMessage(properties);},ObjectBufferPacketDataMessage['encode']=function(_0x84a5d7,writer,_0x51f55b){if(writer||(writer=$Writer['create']()),void 0x0===_0x51f55b&&(_0x51f55b=0x0),_0x51f55b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x84a5d7['data']&&Object['hasOwnProperty']['call'](_0x84a5d7,'data')&&writer['uint32'](0xa)['string'](_0x84a5d7['data']),null!=_0x84a5d7['data1']&&Object['hasOwnProperty']['call'](_0x84a5d7,'data1')&&writer['uint32'](0x12)['bytes'](_0x84a5d7['data1']),writer;},ObjectBufferPacketDataMessage['encodeDelimited']=function(_0x406ddb,writer){return this['encode'](_0x406ddb,writer)['ldelim']();},ObjectBufferPacketDataMessage['decode']=function(_0x18e846,length,_0x339a42,_0x22a554){if(_0x18e846 instanceof _0x3e39b8||(_0x18e846=_0x3e39b8['create'](_0x18e846)),void 0x0===_0x22a554&&(_0x22a554=0x0),_0x22a554>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x55e4a8=void 0x0===length?_0x18e846['len']:_0x18e846['pos']+length,_0x97945f=new $root['ObjectBufferPacketDataMessage']();_0x18e846['pos']<_0x55e4a8;){var tag=_0x18e846['uint32']();if(tag===_0x339a42)break;switch(tag>>>0x3){case 0x1:_0x97945f['data']=_0x18e846['string']();break;case 0x2:_0x97945f['data1']=_0x18e846['bytes']();break;default:_0x18e846['skipType'](0x7&tag,_0x22a554);}}return _0x97945f;},ObjectBufferPacketDataMessage['decodeDelimited']=function(_0x11bb44){return _0x11bb44 instanceof _0x3e39b8||(_0x11bb44=new _0x3e39b8(_0x11bb44)),this['decode'](_0x11bb44,_0x11bb44['uint32']());},ObjectBufferPacketDataMessage['verify']=function(_0x2cc708,_0x3b7f69){return'object'!=typeof _0x2cc708||null===_0x2cc708?'object\x20expected':(void 0x0===_0x3b7f69&&(_0x3b7f69=0x0),_0x3b7f69>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2cc708['data']&&Object['hasOwnProperty']['call'](_0x2cc708,'data')&&!$util['isString'](_0x2cc708['data'])?'data:\x20string\x20expected':null!=_0x2cc708['data1']&&Object['hasOwnProperty']['call'](_0x2cc708,'data1')&&!(_0x2cc708['data1']&&'number'==typeof _0x2cc708['data1']['length']||$util['isString'](_0x2cc708['data1']))?'data1:\x20buffer\x20expected':null);},ObjectBufferPacketDataMessage['fromObject']=function(object,_0xff63af){if(object instanceof $root['ObjectBufferPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.ObjectBufferPacketDataMessage:\x20object\x20expected');if(void 0x0===_0xff63af&&(_0xff63af=0x0),_0xff63af>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x41a064=new $root['ObjectBufferPacketDataMessage']();return null!=object['data']&&(_0x41a064['data']=String(object['data'])),null!=object['data1']&&('string'==typeof object['data1']?$util['base64']['decode'](object['data1'],_0x41a064['data1']=$util['newBuffer']($util['base64']['length'](object['data1'])),0x0):object['data1']['length']>=0x0&&(_0x41a064['data1']=object['data1'])),_0x41a064;},ObjectBufferPacketDataMessage['toObject']=function(_0x36204a,options,_0x14cab3){if(options||(options={}),void 0x0===_0x14cab3&&(_0x14cab3=0x0),_0x14cab3>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']='',options['bytes']===String?object['data1']='':(object['data1']=[],options['bytes']!==Array&&(object['data1']=$util['newBuffer'](object['data1'])))),null!=_0x36204a['data']&&Object['hasOwnProperty']['call'](_0x36204a,'data')&&(object['data']=_0x36204a['data']),null!=_0x36204a['data1']&&Object['hasOwnProperty']['call'](_0x36204a,'data1')&&(object['data1']=options['bytes']===String?$util['base64']['encode'](_0x36204a['data1'],0x0,_0x36204a['data1']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x36204a['data1']):_0x36204a['data1']),object;},ObjectBufferPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},ObjectBufferPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/ObjectBufferPacketDataMessage';},ObjectBufferPacketDataMessage;}()),$root['NumberStringPacketDataMessage']=(function(){function NumberStringPacketDataMessage(properties){if(properties){for(var _0x1b1005=Object['keys'](properties),_0x4cd496=0x0;_0x4cd496<_0x1b1005['length'];++_0x4cd496)null!=properties[_0x1b1005[_0x4cd496]]&&'__proto__'!==_0x1b1005[_0x4cd496]&&(this[_0x1b1005[_0x4cd496]]=properties[_0x1b1005[_0x4cd496]]);}}return NumberStringPacketDataMessage['prototype']['data']=0x0,NumberStringPacketDataMessage['prototype']['data1']='',NumberStringPacketDataMessage['create']=function(properties){return new NumberStringPacketDataMessage(properties);},NumberStringPacketDataMessage['encode']=function(_0x193f9e,writer,_0x28dfca){if(writer||(writer=$Writer['create']()),void 0x0===_0x28dfca&&(_0x28dfca=0x0),_0x28dfca>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x193f9e['data']&&Object['hasOwnProperty']['call'](_0x193f9e,'data')&&writer['uint32'](0x8)['uint32'](_0x193f9e['data']),null!=_0x193f9e['data1']&&Object['hasOwnProperty']['call'](_0x193f9e,'data1')&&writer['uint32'](0x12)['string'](_0x193f9e['data1']),writer;},NumberStringPacketDataMessage['encodeDelimited']=function(_0x346280,writer){return this['encode'](_0x346280,writer)['ldelim']();},NumberStringPacketDataMessage['decode']=function(_0x236cc6,length,_0x289b6e,_0x2a0d8b){if(_0x236cc6 instanceof _0x3e39b8||(_0x236cc6=_0x3e39b8['create'](_0x236cc6)),void 0x0===_0x2a0d8b&&(_0x2a0d8b=0x0),_0x2a0d8b>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2f5a52=void 0x0===length?_0x236cc6['len']:_0x236cc6['pos']+length,_0x37a7a0=new $root['NumberStringPacketDataMessage']();_0x236cc6['pos']<_0x2f5a52;){var tag=_0x236cc6['uint32']();if(tag===_0x289b6e)break;switch(tag>>>0x3){case 0x1:_0x37a7a0['data']=_0x236cc6['uint32']();break;case 0x2:_0x37a7a0['data1']=_0x236cc6['string']();break;default:_0x236cc6['skipType'](0x7&tag,_0x2a0d8b);}}return _0x37a7a0;},NumberStringPacketDataMessage['decodeDelimited']=function(_0x239f55){return _0x239f55 instanceof _0x3e39b8||(_0x239f55=new _0x3e39b8(_0x239f55)),this['decode'](_0x239f55,_0x239f55['uint32']());},NumberStringPacketDataMessage['verify']=function(_0x283a35,_0x39eb16){return'object'!=typeof _0x283a35||null===_0x283a35?'object\x20expected':(void 0x0===_0x39eb16&&(_0x39eb16=0x0),_0x39eb16>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x283a35['data']&&Object['hasOwnProperty']['call'](_0x283a35,'data')&&!$util['isInteger'](_0x283a35['data'])?'data:\x20integer\x20expected':null!=_0x283a35['data1']&&Object['hasOwnProperty']['call'](_0x283a35,'data1')&&!$util['isString'](_0x283a35['data1'])?'data1:\x20string\x20expected':null);},NumberStringPacketDataMessage['fromObject']=function(object,_0x130795){if(object instanceof $root['NumberStringPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.NumberStringPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x130795&&(_0x130795=0x0),_0x130795>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x39aedb=new $root['NumberStringPacketDataMessage']();return null!=object['data']&&(_0x39aedb['data']=object['data']>>>0x0),null!=object['data1']&&(_0x39aedb['data1']=String(object['data1'])),_0x39aedb;},NumberStringPacketDataMessage['toObject']=function(_0x4db58a,options,_0x137c13){if(options||(options={}),void 0x0===_0x137c13&&(_0x137c13=0x0),_0x137c13>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']=0x0,object['data1']=''),null!=_0x4db58a['data']&&Object['hasOwnProperty']['call'](_0x4db58a,'data')&&(object['data']=_0x4db58a['data']),null!=_0x4db58a['data1']&&Object['hasOwnProperty']['call'](_0x4db58a,'data1')&&(object['data1']=_0x4db58a['data1']),object;},NumberStringPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},NumberStringPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/NumberStringPacketDataMessage';},NumberStringPacketDataMessage;}()),$root['NumberObjectPacketDataMessage']=(function(){function NumberObjectPacketDataMessage(properties){if(properties){for(var _0x2d9332=Object['keys'](properties),_0x9d6d97=0x0;_0x9d6d97<_0x2d9332['length'];++_0x9d6d97)null!=properties[_0x2d9332[_0x9d6d97]]&&'__proto__'!==_0x2d9332[_0x9d6d97]&&(this[_0x2d9332[_0x9d6d97]]=properties[_0x2d9332[_0x9d6d97]]);}}return NumberObjectPacketDataMessage['prototype']['data']=0x0,NumberObjectPacketDataMessage['prototype']['data1']='',NumberObjectPacketDataMessage['create']=function(properties){return new NumberObjectPacketDataMessage(properties);},NumberObjectPacketDataMessage['encode']=function(_0x3bcf54,writer,_0xec2b05){if(writer||(writer=$Writer['create']()),void 0x0===_0xec2b05&&(_0xec2b05=0x0),_0xec2b05>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3bcf54['data']&&Object['hasOwnProperty']['call'](_0x3bcf54,'data')&&writer['uint32'](0x8)['uint32'](_0x3bcf54['data']),null!=_0x3bcf54['data1']&&Object['hasOwnProperty']['call'](_0x3bcf54,'data1')&&writer['uint32'](0x12)['string'](_0x3bcf54['data1']),writer;},NumberObjectPacketDataMessage['encodeDelimited']=function(_0x1e1a7c,writer){return this['encode'](_0x1e1a7c,writer)['ldelim']();},NumberObjectPacketDataMessage['decode']=function(_0x4f5197,length,_0x3a014a,_0x1c8d9d){if(_0x4f5197 instanceof _0x3e39b8||(_0x4f5197=_0x3e39b8['create'](_0x4f5197)),void 0x0===_0x1c8d9d&&(_0x1c8d9d=0x0),_0x1c8d9d>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x53862f=void 0x0===length?_0x4f5197['len']:_0x4f5197['pos']+length,_0x4fd06b=new $root['NumberObjectPacketDataMessage']();_0x4f5197['pos']<_0x53862f;){var tag=_0x4f5197['uint32']();if(tag===_0x3a014a)break;switch(tag>>>0x3){case 0x1:_0x4fd06b['data']=_0x4f5197['uint32']();break;case 0x2:_0x4fd06b['data1']=_0x4f5197['string']();break;default:_0x4f5197['skipType'](0x7&tag,_0x1c8d9d);}}return _0x4fd06b;},NumberObjectPacketDataMessage['decodeDelimited']=function(_0x16ddfb){return _0x16ddfb instanceof _0x3e39b8||(_0x16ddfb=new _0x3e39b8(_0x16ddfb)),this['decode'](_0x16ddfb,_0x16ddfb['uint32']());},NumberObjectPacketDataMessage['verify']=function(_0x8b82e5,_0x4df753){return'object'!=typeof _0x8b82e5||null===_0x8b82e5?'object\x20expected':(void 0x0===_0x4df753&&(_0x4df753=0x0),_0x4df753>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x8b82e5['data']&&Object['hasOwnProperty']['call'](_0x8b82e5,'data')&&!$util['isInteger'](_0x8b82e5['data'])?'data:\x20integer\x20expected':null!=_0x8b82e5['data1']&&Object['hasOwnProperty']['call'](_0x8b82e5,'data1')&&!$util['isString'](_0x8b82e5['data1'])?'data1:\x20string\x20expected':null);},NumberObjectPacketDataMessage['fromObject']=function(object,_0x261ccf){if(object instanceof $root['NumberObjectPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.NumberObjectPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x261ccf&&(_0x261ccf=0x0),_0x261ccf>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2659f1=new $root['NumberObjectPacketDataMessage']();return null!=object['data']&&(_0x2659f1['data']=object['data']>>>0x0),null!=object['data1']&&(_0x2659f1['data1']=String(object['data1'])),_0x2659f1;},NumberObjectPacketDataMessage['toObject']=function(_0x1aeb2e,options,_0x1ade1d){if(options||(options={}),void 0x0===_0x1ade1d&&(_0x1ade1d=0x0),_0x1ade1d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']=0x0,object['data1']=''),null!=_0x1aeb2e['data']&&Object['hasOwnProperty']['call'](_0x1aeb2e,'data')&&(object['data']=_0x1aeb2e['data']),null!=_0x1aeb2e['data1']&&Object['hasOwnProperty']['call'](_0x1aeb2e,'data1')&&(object['data1']=_0x1aeb2e['data1']),object;},NumberObjectPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},NumberObjectPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/NumberObjectPacketDataMessage';},NumberObjectPacketDataMessage;}()),$root['NumberNumberPacketDataMessage']=(function(){function NumberNumberPacketDataMessage(properties){if(properties){for(var _0x240050=Object['keys'](properties),_0x3986c0=0x0;_0x3986c0<_0x240050['length'];++_0x3986c0)null!=properties[_0x240050[_0x3986c0]]&&'__proto__'!==_0x240050[_0x3986c0]&&(this[_0x240050[_0x3986c0]]=properties[_0x240050[_0x3986c0]]);}}return NumberNumberPacketDataMessage['prototype']['data']=0x0,NumberNumberPacketDataMessage['prototype']['data1']=0x0,NumberNumberPacketDataMessage['create']=function(properties){return new NumberNumberPacketDataMessage(properties);},NumberNumberPacketDataMessage['encode']=function(_0xd89a86,writer,_0x5f4948){if(writer||(writer=$Writer['create']()),void 0x0===_0x5f4948&&(_0x5f4948=0x0),_0x5f4948>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0xd89a86['data']&&Object['hasOwnProperty']['call'](_0xd89a86,'data')&&writer['uint32'](0x8)['uint32'](_0xd89a86['data']),null!=_0xd89a86['data1']&&Object['hasOwnProperty']['call'](_0xd89a86,'data1')&&writer['uint32'](0x10)['uint32'](_0xd89a86['data1']),writer;},NumberNumberPacketDataMessage['encodeDelimited']=function(_0x36ef41,writer){return this['encode'](_0x36ef41,writer)['ldelim']();},NumberNumberPacketDataMessage['decode']=function(_0x586020,length,_0x1f2aa6,_0x3fc82b){if(_0x586020 instanceof _0x3e39b8||(_0x586020=_0x3e39b8['create'](_0x586020)),void 0x0===_0x3fc82b&&(_0x3fc82b=0x0),_0x3fc82b>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3bc51d=void 0x0===length?_0x586020['len']:_0x586020['pos']+length,_0x30e164=new $root['NumberNumberPacketDataMessage']();_0x586020['pos']<_0x3bc51d;){var tag=_0x586020['uint32']();if(tag===_0x1f2aa6)break;switch(tag>>>0x3){case 0x1:_0x30e164['data']=_0x586020['uint32']();break;case 0x2:_0x30e164['data1']=_0x586020['uint32']();break;default:_0x586020['skipType'](0x7&tag,_0x3fc82b);}}return _0x30e164;},NumberNumberPacketDataMessage['decodeDelimited']=function(_0xdb6d34){return _0xdb6d34 instanceof _0x3e39b8||(_0xdb6d34=new _0x3e39b8(_0xdb6d34)),this['decode'](_0xdb6d34,_0xdb6d34['uint32']());},NumberNumberPacketDataMessage['verify']=function(_0x25b62b,_0xc12695){return'object'!=typeof _0x25b62b||null===_0x25b62b?'object\x20expected':(void 0x0===_0xc12695&&(_0xc12695=0x0),_0xc12695>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x25b62b['data']&&Object['hasOwnProperty']['call'](_0x25b62b,'data')&&!$util['isInteger'](_0x25b62b['data'])?'data:\x20integer\x20expected':null!=_0x25b62b['data1']&&Object['hasOwnProperty']['call'](_0x25b62b,'data1')&&!$util['isInteger'](_0x25b62b['data1'])?'data1:\x20integer\x20expected':null);},NumberNumberPacketDataMessage['fromObject']=function(object,_0x44cdcc){if(object instanceof $root['NumberNumberPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.NumberNumberPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x44cdcc&&(_0x44cdcc=0x0),_0x44cdcc>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x8534f9=new $root['NumberNumberPacketDataMessage']();return null!=object['data']&&(_0x8534f9['data']=object['data']>>>0x0),null!=object['data1']&&(_0x8534f9['data1']=object['data1']>>>0x0),_0x8534f9;},NumberNumberPacketDataMessage['toObject']=function(_0x42f6c2,options,_0x5f12d5){if(options||(options={}),void 0x0===_0x5f12d5&&(_0x5f12d5=0x0),_0x5f12d5>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']=0x0,object['data1']=0x0),null!=_0x42f6c2['data']&&Object['hasOwnProperty']['call'](_0x42f6c2,'data')&&(object['data']=_0x42f6c2['data']),null!=_0x42f6c2['data1']&&Object['hasOwnProperty']['call'](_0x42f6c2,'data1')&&(object['data1']=_0x42f6c2['data1']),object;},NumberNumberPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},NumberNumberPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/NumberNumberPacketDataMessage';},NumberNumberPacketDataMessage;}()),$root['NumberBytesPacketDataMessage']=(function(){function NumberBytesPacketDataMessage(properties){if(properties){for(var _0x32da5a=Object['keys'](properties),_0xd1835=0x0;_0xd1835<_0x32da5a['length'];++_0xd1835)null!=properties[_0x32da5a[_0xd1835]]&&'__proto__'!==_0x32da5a[_0xd1835]&&(this[_0x32da5a[_0xd1835]]=properties[_0x32da5a[_0xd1835]]);}}return NumberBytesPacketDataMessage['prototype']['data']=0x0,NumberBytesPacketDataMessage['prototype']['data1']=$util['newBuffer']([]),NumberBytesPacketDataMessage['create']=function(properties){return new NumberBytesPacketDataMessage(properties);},NumberBytesPacketDataMessage['encode']=function(_0x14674a,writer,_0x28bc19){if(writer||(writer=$Writer['create']()),void 0x0===_0x28bc19&&(_0x28bc19=0x0),_0x28bc19>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x14674a['data']&&Object['hasOwnProperty']['call'](_0x14674a,'data')&&writer['uint32'](0x8)['uint32'](_0x14674a['data']),null!=_0x14674a['data1']&&Object['hasOwnProperty']['call'](_0x14674a,'data1')&&writer['uint32'](0x12)['bytes'](_0x14674a['data1']),writer;},NumberBytesPacketDataMessage['encodeDelimited']=function(_0x139e64,writer){return this['encode'](_0x139e64,writer)['ldelim']();},NumberBytesPacketDataMessage['decode']=function(_0x15df3d,length,_0x478b9a,_0x252f39){if(_0x15df3d instanceof _0x3e39b8||(_0x15df3d=_0x3e39b8['create'](_0x15df3d)),void 0x0===_0x252f39&&(_0x252f39=0x0),_0x252f39>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x25b576=void 0x0===length?_0x15df3d['len']:_0x15df3d['pos']+length,_0x4f7c08=new $root['NumberBytesPacketDataMessage']();_0x15df3d['pos']<_0x25b576;){var tag=_0x15df3d['uint32']();if(tag===_0x478b9a)break;switch(tag>>>0x3){case 0x1:_0x4f7c08['data']=_0x15df3d['uint32']();break;case 0x2:_0x4f7c08['data1']=_0x15df3d['bytes']();break;default:_0x15df3d['skipType'](0x7&tag,_0x252f39);}}return _0x4f7c08;},NumberBytesPacketDataMessage['decodeDelimited']=function(_0x1b68dd){return _0x1b68dd instanceof _0x3e39b8||(_0x1b68dd=new _0x3e39b8(_0x1b68dd)),this['decode'](_0x1b68dd,_0x1b68dd['uint32']());},NumberBytesPacketDataMessage['verify']=function(_0x348d0a,_0x5b35e1){return'object'!=typeof _0x348d0a||null===_0x348d0a?'object\x20expected':(void 0x0===_0x5b35e1&&(_0x5b35e1=0x0),_0x5b35e1>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x348d0a['data']&&Object['hasOwnProperty']['call'](_0x348d0a,'data')&&!$util['isInteger'](_0x348d0a['data'])?'data:\x20integer\x20expected':null!=_0x348d0a['data1']&&Object['hasOwnProperty']['call'](_0x348d0a,'data1')&&!(_0x348d0a['data1']&&'number'==typeof _0x348d0a['data1']['length']||$util['isString'](_0x348d0a['data1']))?'data1:\x20buffer\x20expected':null);},NumberBytesPacketDataMessage['fromObject']=function(object,_0x11578c){if(object instanceof $root['NumberBytesPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.NumberBytesPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x11578c&&(_0x11578c=0x0),_0x11578c>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3d5e85=new $root['NumberBytesPacketDataMessage']();return null!=object['data']&&(_0x3d5e85['data']=object['data']>>>0x0),null!=object['data1']&&('string'==typeof object['data1']?$util['base64']['decode'](object['data1'],_0x3d5e85['data1']=$util['newBuffer']($util['base64']['length'](object['data1'])),0x0):object['data1']['length']>=0x0&&(_0x3d5e85['data1']=object['data1'])),_0x3d5e85;},NumberBytesPacketDataMessage['toObject']=function(_0x5d0a12,options,_0x329b9c){if(options||(options={}),void 0x0===_0x329b9c&&(_0x329b9c=0x0),_0x329b9c>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']=0x0,options['bytes']===String?object['data1']='':(object['data1']=[],options['bytes']!==Array&&(object['data1']=$util['newBuffer'](object['data1'])))),null!=_0x5d0a12['data']&&Object['hasOwnProperty']['call'](_0x5d0a12,'data')&&(object['data']=_0x5d0a12['data']),null!=_0x5d0a12['data1']&&Object['hasOwnProperty']['call'](_0x5d0a12,'data1')&&(object['data1']=options['bytes']===String?$util['base64']['encode'](_0x5d0a12['data1'],0x0,_0x5d0a12['data1']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x5d0a12['data1']):_0x5d0a12['data1']),object;},NumberBytesPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},NumberBytesPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/NumberBytesPacketDataMessage';},NumberBytesPacketDataMessage;}()),$root['BytesBytesPacketDataMessage']=(function(){function BytesBytesPacketDataMessage(properties){if(properties){for(var _0x5e73de=Object['keys'](properties),_0x19c3ad=0x0;_0x19c3ad<_0x5e73de['length'];++_0x19c3ad)null!=properties[_0x5e73de[_0x19c3ad]]&&'__proto__'!==_0x5e73de[_0x19c3ad]&&(this[_0x5e73de[_0x19c3ad]]=properties[_0x5e73de[_0x19c3ad]]);}}return BytesBytesPacketDataMessage['prototype']['data']=$util['newBuffer']([]),BytesBytesPacketDataMessage['prototype']['data1']=$util['newBuffer']([]),BytesBytesPacketDataMessage['create']=function(properties){return new BytesBytesPacketDataMessage(properties);},BytesBytesPacketDataMessage['encode']=function(_0x1772a7,writer,_0x59f6e3){if(writer||(writer=$Writer['create']()),void 0x0===_0x59f6e3&&(_0x59f6e3=0x0),_0x59f6e3>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1772a7['data']&&Object['hasOwnProperty']['call'](_0x1772a7,'data')&&writer['uint32'](0xa)['bytes'](_0x1772a7['data']),null!=_0x1772a7['data1']&&Object['hasOwnProperty']['call'](_0x1772a7,'data1')&&writer['uint32'](0x12)['bytes'](_0x1772a7['data1']),writer;},BytesBytesPacketDataMessage['encodeDelimited']=function(_0x1b5d55,writer){return this['encode'](_0x1b5d55,writer)['ldelim']();},BytesBytesPacketDataMessage['decode']=function(_0x48205d,length,_0x5616fc,_0x500eba){if(_0x48205d instanceof _0x3e39b8||(_0x48205d=_0x3e39b8['create'](_0x48205d)),void 0x0===_0x500eba&&(_0x500eba=0x0),_0x500eba>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3f6e18=void 0x0===length?_0x48205d['len']:_0x48205d['pos']+length,_0x39b36f=new $root['BytesBytesPacketDataMessage']();_0x48205d['pos']<_0x3f6e18;){var tag=_0x48205d['uint32']();if(tag===_0x5616fc)break;switch(tag>>>0x3){case 0x1:_0x39b36f['data']=_0x48205d['bytes']();break;case 0x2:_0x39b36f['data1']=_0x48205d['bytes']();break;default:_0x48205d['skipType'](0x7&tag,_0x500eba);}}return _0x39b36f;},BytesBytesPacketDataMessage['decodeDelimited']=function(_0x271658){return _0x271658 instanceof _0x3e39b8||(_0x271658=new _0x3e39b8(_0x271658)),this['decode'](_0x271658,_0x271658['uint32']());},BytesBytesPacketDataMessage['verify']=function(_0x3b7959,_0x116de1){return'object'!=typeof _0x3b7959||null===_0x3b7959?'object\x20expected':(void 0x0===_0x116de1&&(_0x116de1=0x0),_0x116de1>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3b7959['data']&&Object['hasOwnProperty']['call'](_0x3b7959,'data')&&!(_0x3b7959['data']&&'number'==typeof _0x3b7959['data']['length']||$util['isString'](_0x3b7959['data']))?'data:\x20buffer\x20expected':null!=_0x3b7959['data1']&&Object['hasOwnProperty']['call'](_0x3b7959,'data1')&&!(_0x3b7959['data1']&&'number'==typeof _0x3b7959['data1']['length']||$util['isString'](_0x3b7959['data1']))?'data1:\x20buffer\x20expected':null);},BytesBytesPacketDataMessage['fromObject']=function(object,_0x898a2f){if(object instanceof $root['BytesBytesPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.BytesBytesPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x898a2f&&(_0x898a2f=0x0),_0x898a2f>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2772cf=new $root['BytesBytesPacketDataMessage']();return null!=object['data']&&('string'==typeof object['data']?$util['base64']['decode'](object['data'],_0x2772cf['data']=$util['newBuffer']($util['base64']['length'](object['data'])),0x0):object['data']['length']>=0x0&&(_0x2772cf['data']=object['data'])),null!=object['data1']&&('string'==typeof object['data1']?$util['base64']['decode'](object['data1'],_0x2772cf['data1']=$util['newBuffer']($util['base64']['length'](object['data1'])),0x0):object['data1']['length']>=0x0&&(_0x2772cf['data1']=object['data1'])),_0x2772cf;},BytesBytesPacketDataMessage['toObject']=function(_0x25e031,options,_0x3bd873){if(options||(options={}),void 0x0===_0x3bd873&&(_0x3bd873=0x0),_0x3bd873>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(options['bytes']===String?object['data']='':(object['data']=[],options['bytes']!==Array&&(object['data']=$util['newBuffer'](object['data']))),options['bytes']===String?object['data1']='':(object['data1']=[],options['bytes']!==Array&&(object['data1']=$util['newBuffer'](object['data1'])))),null!=_0x25e031['data']&&Object['hasOwnProperty']['call'](_0x25e031,'data')&&(object['data']=options['bytes']===String?$util['base64']['encode'](_0x25e031['data'],0x0,_0x25e031['data']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x25e031['data']):_0x25e031['data']),null!=_0x25e031['data1']&&Object['hasOwnProperty']['call'](_0x25e031,'data1')&&(object['data1']=options['bytes']===String?$util['base64']['encode'](_0x25e031['data1'],0x0,_0x25e031['data1']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x25e031['data1']):_0x25e031['data1']),object;},BytesBytesPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},BytesBytesPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/BytesBytesPacketDataMessage';},BytesBytesPacketDataMessage;}()),$root['ChannelMessage']=(function(){function _0x47a635(properties){if(properties){for(var _0x2dd1e9=Object['keys'](properties),_0xa89e3a=0x0;_0xa89e3a<_0x2dd1e9['length'];++_0xa89e3a)null!=properties[_0x2dd1e9[_0xa89e3a]]&&'__proto__'!==_0x2dd1e9[_0xa89e3a]&&(this[_0x2dd1e9[_0xa89e3a]]=properties[_0x2dd1e9[_0xa89e3a]]);}}return _0x47a635['prototype']['type']=0x0,_0x47a635['prototype']['socketId']='',_0x47a635['prototype']['data']=$util['newBuffer']([]),_0x47a635['create']=function(properties){return new _0x47a635(properties);},_0x47a635['encode']=function(_0x67a713,writer,_0x48da69){if(writer||(writer=$Writer['create']()),void 0x0===_0x48da69&&(_0x48da69=0x0),_0x48da69>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x67a713['type']&&Object['hasOwnProperty']['call'](_0x67a713,'type')&&writer['uint32'](0x8)['uint32'](_0x67a713['type']),null!=_0x67a713['socketId']&&Object['hasOwnProperty']['call'](_0x67a713,'socketId')&&writer['uint32'](0x12)['string'](_0x67a713['socketId']),null!=_0x67a713['data']&&Object['hasOwnProperty']['call'](_0x67a713,'data')&&writer['uint32'](0x1a)['bytes'](_0x67a713['data']),writer;},_0x47a635['encodeDelimited']=function(_0x1b1eb0,writer){return this['encode'](_0x1b1eb0,writer)['ldelim']();},_0x47a635['decode']=function(_0x2a8189,length,_0x584a0c,_0x5796c6){if(_0x2a8189 instanceof _0x3e39b8||(_0x2a8189=_0x3e39b8['create'](_0x2a8189)),void 0x0===_0x5796c6&&(_0x5796c6=0x0),_0x5796c6>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x54a210=void 0x0===length?_0x2a8189['len']:_0x2a8189['pos']+length,_0x2bb464=new $root['ChannelMessage']();_0x2a8189['pos']<_0x54a210;){var tag=_0x2a8189['uint32']();if(tag===_0x584a0c)break;switch(tag>>>0x3){case 0x1:_0x2bb464['type']=_0x2a8189['uint32']();break;case 0x2:_0x2bb464['socketId']=_0x2a8189['string']();break;case 0x3:_0x2bb464['data']=_0x2a8189['bytes']();break;default:_0x2a8189['skipType'](0x7&tag,_0x5796c6);}}return _0x2bb464;},_0x47a635['decodeDelimited']=function(_0x56edf3){return _0x56edf3 instanceof _0x3e39b8||(_0x56edf3=new _0x3e39b8(_0x56edf3)),this['decode'](_0x56edf3,_0x56edf3['uint32']());},_0x47a635['verify']=function(_0x2c92e7,_0x59cf26){return'object'!=typeof _0x2c92e7||null===_0x2c92e7?'object\x20expected':(void 0x0===_0x59cf26&&(_0x59cf26=0x0),_0x59cf26>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2c92e7['type']&&Object['hasOwnProperty']['call'](_0x2c92e7,'type')&&!$util['isInteger'](_0x2c92e7['type'])?'type:\x20integer\x20expected':null!=_0x2c92e7['socketId']&&Object['hasOwnProperty']['call'](_0x2c92e7,'socketId')&&!$util['isString'](_0x2c92e7['socketId'])?'socketId:\x20string\x20expected':null!=_0x2c92e7['data']&&Object['hasOwnProperty']['call'](_0x2c92e7,'data')&&!(_0x2c92e7['data']&&'number'==typeof _0x2c92e7['data']['length']||$util['isString'](_0x2c92e7['data']))?'data:\x20buffer\x20expected':null);},_0x47a635['fromObject']=function(object,_0x25970d){if(object instanceof $root['ChannelMessage'])return object;if(!$util['isObject'](object))throw TypeError('.ChannelMessage:\x20object\x20expected');if(void 0x0===_0x25970d&&(_0x25970d=0x0),_0x25970d>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1dbbc7=new $root['ChannelMessage']();return null!=object['type']&&(_0x1dbbc7['type']=object['type']>>>0x0),null!=object['socketId']&&(_0x1dbbc7['socketId']=String(object['socketId'])),null!=object['data']&&('string'==typeof object['data']?$util['base64']['decode'](object['data'],_0x1dbbc7['data']=$util['newBuffer']($util['base64']['length'](object['data'])),0x0):object['data']['length']>=0x0&&(_0x1dbbc7['data']=object['data'])),_0x1dbbc7;},_0x47a635['toObject']=function(_0x3af91c,options,_0x43bab6){if(options||(options={}),void 0x0===_0x43bab6&&(_0x43bab6=0x0),_0x43bab6>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['type']=0x0,object['socketId']='',options['bytes']===String?object['data']='':(object['data']=[],options['bytes']!==Array&&(object['data']=$util['newBuffer'](object['data'])))),null!=_0x3af91c['type']&&Object['hasOwnProperty']['call'](_0x3af91c,'type')&&(object['type']=_0x3af91c['type']),null!=_0x3af91c['socketId']&&Object['hasOwnProperty']['call'](_0x3af91c,'socketId')&&(object['socketId']=_0x3af91c['socketId']),null!=_0x3af91c['data']&&Object['hasOwnProperty']['call'](_0x3af91c,'data')&&(object['data']=options['bytes']===String?$util['base64']['encode'](_0x3af91c['data'],0x0,_0x3af91c['data']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x3af91c['data']):_0x3af91c['data']),object;},_0x47a635['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},_0x47a635['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/ChannelMessage';},_0x47a635;}()),$root['ChannelDisconnectedMessage']=(function(){function ChannelDisconnectedMessage(properties){if(properties){for(var _0x419052=Object['keys'](properties),_0x47102a=0x0;_0x47102a<_0x419052['length'];++_0x47102a)null!=properties[_0x419052[_0x47102a]]&&'__proto__'!==_0x419052[_0x47102a]&&(this[_0x419052[_0x47102a]]=properties[_0x419052[_0x47102a]]);}}return ChannelDisconnectedMessage['create']=function(properties){return new ChannelDisconnectedMessage(properties);},ChannelDisconnectedMessage['encode']=function(_0x3186a6,writer,_0x41e1dc){if(writer||(writer=$Writer['create']()),void 0x0===_0x41e1dc&&(_0x41e1dc=0x0),_0x41e1dc>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return writer;},ChannelDisconnectedMessage['encodeDelimited']=function(_0x11d5c5,writer){return this['encode'](_0x11d5c5,writer)['ldelim']();},ChannelDisconnectedMessage['decode']=function(_0x5cf189,length,_0x7731c3,_0x201084){if(_0x5cf189 instanceof _0x3e39b8||(_0x5cf189=_0x3e39b8['create'](_0x5cf189)),void 0x0===_0x201084&&(_0x201084=0x0),_0x201084>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x37684f=void 0x0===length?_0x5cf189['len']:_0x5cf189['pos']+length,_0x2e321c=new $root['ChannelDisconnectedMessage']();_0x5cf189['pos']<_0x37684f;){var tag=_0x5cf189['uint32']();if(tag===_0x7731c3)break;_0x5cf189['skipType'](0x7&tag,_0x201084);}return _0x2e321c;},ChannelDisconnectedMessage['decodeDelimited']=function(_0x3056fa){return _0x3056fa instanceof _0x3e39b8||(_0x3056fa=new _0x3e39b8(_0x3056fa)),this['decode'](_0x3056fa,_0x3056fa['uint32']());},ChannelDisconnectedMessage['verify']=function(_0x3b3132,_0x35bc56){return'object'!=typeof _0x3b3132||null===_0x3b3132?'object\x20expected':(void 0x0===_0x35bc56&&(_0x35bc56=0x0),_0x35bc56>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null);},ChannelDisconnectedMessage['fromObject']=function(object,_0x54ad97){return object instanceof $root['ChannelDisconnectedMessage']?object:new $root['ChannelDisconnectedMessage']();},ChannelDisconnectedMessage['toObject']=function(){return{};},ChannelDisconnectedMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},ChannelDisconnectedMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/ChannelDisconnectedMessage';},ChannelDisconnectedMessage;}()),$root['GetUserResponse']=(function(){function GetUserResponse(properties){if(this['attributes']=[],properties){for(var _0xc45b95=Object['keys'](properties),_0x3e459b=0x0;_0x3e459b<_0xc45b95['length'];++_0x3e459b)null!=properties[_0xc45b95[_0x3e459b]]&&'__proto__'!==_0xc45b95[_0x3e459b]&&(this[_0xc45b95[_0x3e459b]]=properties[_0xc45b95[_0x3e459b]]);}}return GetUserResponse['prototype']['attributes']=$util['emptyArray'],GetUserResponse['create']=function(properties){return new GetUserResponse(properties);},GetUserResponse['encode']=function(_0x4fac3d,writer,_0x2ed080){if(writer||(writer=$Writer['create']()),void 0x0===_0x2ed080&&(_0x2ed080=0x0),_0x2ed080>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x4fac3d['attributes']&&_0x4fac3d['attributes']['length']){for(var _0x26634e=0x0;_0x26634e<_0x4fac3d['attributes']['length'];++_0x26634e)$root['KeyValueDescriptor']['encode'](_0x4fac3d['attributes'][_0x26634e],writer['uint32'](0xa)['fork'](),_0x2ed080+0x1)['ldelim']();}return writer;},GetUserResponse['encodeDelimited']=function(_0x2cd3df,writer){return this['encode'](_0x2cd3df,writer)['ldelim']();},GetUserResponse['decode']=function(_0x170a79,length,_0x11fc42,_0x1d41be){if(_0x170a79 instanceof _0x3e39b8||(_0x170a79=_0x3e39b8['create'](_0x170a79)),void 0x0===_0x1d41be&&(_0x1d41be=0x0),_0x1d41be>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x16e7fc=void 0x0===length?_0x170a79['len']:_0x170a79['pos']+length,_0x5d29f=new $root['GetUserResponse']();_0x170a79['pos']<_0x16e7fc;){var tag=_0x170a79['uint32']();if(tag===_0x11fc42)break;if(tag>>>0x3==0x1)_0x5d29f['attributes']&&_0x5d29f['attributes']['length']||(_0x5d29f['attributes']=[]),_0x5d29f['attributes']['push']($root['KeyValueDescriptor']['decode'](_0x170a79,_0x170a79['uint32'](),void 0x0,_0x1d41be+0x1));else _0x170a79['skipType'](0x7&tag,_0x1d41be);}return _0x5d29f;},GetUserResponse['decodeDelimited']=function(_0x3e76a0){return _0x3e76a0 instanceof _0x3e39b8||(_0x3e76a0=new _0x3e39b8(_0x3e76a0)),this['decode'](_0x3e76a0,_0x3e76a0['uint32']());},GetUserResponse['verify']=function(_0x4f3f8d,_0x25a129){if('object'!=typeof _0x4f3f8d||null===_0x4f3f8d)return'object\x20expected';if(void 0x0===_0x25a129&&(_0x25a129=0x0),_0x25a129>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x4f3f8d['attributes']&&Object['hasOwnProperty']['call'](_0x4f3f8d,'attributes')){if(!Array['isArray'](_0x4f3f8d['attributes']))return'attributes:\x20array\x20expected';for(var _0x1fa91c=0x0;_0x1fa91c<_0x4f3f8d['attributes']['length'];++_0x1fa91c){var _0x453902=$root['KeyValueDescriptor']['verify'](_0x4f3f8d['attributes'][_0x1fa91c],_0x25a129+0x1);if(_0x453902)return'attributes.'+_0x453902;}}return null;},GetUserResponse['fromObject']=function(object,_0x2770eb){if(object instanceof $root['GetUserResponse'])return object;if(!$util['isObject'](object))throw TypeError('.GetUserResponse:\x20object\x20expected');if(void 0x0===_0x2770eb&&(_0x2770eb=0x0),_0x2770eb>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2ea45d=new $root['GetUserResponse']();if(object['attributes']){if(!Array['isArray'](object['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x2ea45d['attributes']=[];for(var _0xea1535=0x0;_0xea1535<object['attributes']['length'];++_0xea1535){if(!$util['isObject'](object['attributes'][_0xea1535]))throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x2ea45d['attributes'][_0xea1535]=$root['KeyValueDescriptor']['fromObject'](object['attributes'][_0xea1535],_0x2770eb+0x1);}}return _0x2ea45d;},GetUserResponse['toObject']=function(_0x4720ca,options,_0x3ef13c){if(options||(options={}),void 0x0===_0x3ef13c&&(_0x3ef13c=0x0),_0x3ef13c>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['attributes']=[]),_0x4720ca['attributes']&&_0x4720ca['attributes']['length']){object['attributes']=[];for(var _0x10af4f=0x0;_0x10af4f<_0x4720ca['attributes']['length'];++_0x10af4f)object['attributes'][_0x10af4f]=$root['KeyValueDescriptor']['toObject'](_0x4720ca['attributes'][_0x10af4f],options,_0x3ef13c+0x1);}return object;},GetUserResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetUserResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetUserResponse';},GetUserResponse;}()),$root['GetManyUsersResponse']=(function(){function GetManyUsersResponse(properties){if(this['users']=[],properties){for(var _0x1fd4e5=Object['keys'](properties),_0x511e57=0x0;_0x511e57<_0x1fd4e5['length'];++_0x511e57)null!=properties[_0x1fd4e5[_0x511e57]]&&'__proto__'!==_0x1fd4e5[_0x511e57]&&(this[_0x1fd4e5[_0x511e57]]=properties[_0x1fd4e5[_0x511e57]]);}}return GetManyUsersResponse['prototype']['users']=$util['emptyArray'],GetManyUsersResponse['create']=function(properties){return new GetManyUsersResponse(properties);},GetManyUsersResponse['encode']=function(_0x2ecbec,writer,_0x4b8217){if(writer||(writer=$Writer['create']()),void 0x0===_0x4b8217&&(_0x4b8217=0x0),_0x4b8217>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x2ecbec['users']&&_0x2ecbec['users']['length']){for(var _0x486927=0x0;_0x486927<_0x2ecbec['users']['length'];++_0x486927)$root['UserDescriptor']['encode'](_0x2ecbec['users'][_0x486927],writer['uint32'](0xa)['fork'](),_0x4b8217+0x1)['ldelim']();}return writer;},GetManyUsersResponse['encodeDelimited']=function(_0x4eb3df,writer){return this['encode'](_0x4eb3df,writer)['ldelim']();},GetManyUsersResponse['decode']=function(_0x15b3b0,length,_0x53a026,_0x453b6d){if(_0x15b3b0 instanceof _0x3e39b8||(_0x15b3b0=_0x3e39b8['create'](_0x15b3b0)),void 0x0===_0x453b6d&&(_0x453b6d=0x0),_0x453b6d>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x233006=void 0x0===length?_0x15b3b0['len']:_0x15b3b0['pos']+length,_0x447db3=new $root['GetManyUsersResponse']();_0x15b3b0['pos']<_0x233006;){var tag=_0x15b3b0['uint32']();if(tag===_0x53a026)break;if(tag>>>0x3==0x1)_0x447db3['users']&&_0x447db3['users']['length']||(_0x447db3['users']=[]),_0x447db3['users']['push']($root['UserDescriptor']['decode'](_0x15b3b0,_0x15b3b0['uint32'](),void 0x0,_0x453b6d+0x1));else _0x15b3b0['skipType'](0x7&tag,_0x453b6d);}return _0x447db3;},GetManyUsersResponse['decodeDelimited']=function(_0x3a3916){return _0x3a3916 instanceof _0x3e39b8||(_0x3a3916=new _0x3e39b8(_0x3a3916)),this['decode'](_0x3a3916,_0x3a3916['uint32']());},GetManyUsersResponse['verify']=function(_0x303afa,_0x101f41){if('object'!=typeof _0x303afa||null===_0x303afa)return'object\x20expected';if(void 0x0===_0x101f41&&(_0x101f41=0x0),_0x101f41>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x303afa['users']&&Object['hasOwnProperty']['call'](_0x303afa,'users')){if(!Array['isArray'](_0x303afa['users']))return'users:\x20array\x20expected';for(var _0x49e364=0x0;_0x49e364<_0x303afa['users']['length'];++_0x49e364){var _0x5e5b89=$root['UserDescriptor']['verify'](_0x303afa['users'][_0x49e364],_0x101f41+0x1);if(_0x5e5b89)return'users.'+_0x5e5b89;}}return null;},GetManyUsersResponse['fromObject']=function(object,_0x287daa){if(object instanceof $root['GetManyUsersResponse'])return object;if(!$util['isObject'](object))throw TypeError('.GetManyUsersResponse:\x20object\x20expected');if(void 0x0===_0x287daa&&(_0x287daa=0x0),_0x287daa>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3caad9=new $root['GetManyUsersResponse']();if(object['users']){if(!Array['isArray'](object['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x3caad9['users']=[];for(var _0x546766=0x0;_0x546766<object['users']['length'];++_0x546766){if(!$util['isObject'](object['users'][_0x546766]))throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x3caad9['users'][_0x546766]=$root['UserDescriptor']['fromObject'](object['users'][_0x546766],_0x287daa+0x1);}}return _0x3caad9;},GetManyUsersResponse['toObject']=function(_0x18b840,options,_0x58d703){if(options||(options={}),void 0x0===_0x58d703&&(_0x58d703=0x0),_0x58d703>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['users']=[]),_0x18b840['users']&&_0x18b840['users']['length']){object['users']=[];for(var _0x2623bc=0x0;_0x2623bc<_0x18b840['users']['length'];++_0x2623bc)object['users'][_0x2623bc]=$root['UserDescriptor']['toObject'](_0x18b840['users'][_0x2623bc],options,_0x58d703+0x1);}return object;},GetManyUsersResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetManyUsersResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetManyUsersResponse';},GetManyUsersResponse;}()),$root['GetUserMessage']=(function(){function GetUserMessage(properties){if(properties){for(var _0x4d3c04=Object['keys'](properties),_0x537797=0x0;_0x537797<_0x4d3c04['length'];++_0x537797)null!=properties[_0x4d3c04[_0x537797]]&&'__proto__'!==_0x4d3c04[_0x537797]&&(this[_0x4d3c04[_0x537797]]=properties[_0x4d3c04[_0x537797]]);}}return GetUserMessage['prototype']['id']='',GetUserMessage['create']=function(properties){return new GetUserMessage(properties);},GetUserMessage['encode']=function(_0x4632c8,writer,_0xbe86b3){if(writer||(writer=$Writer['create']()),void 0x0===_0xbe86b3&&(_0xbe86b3=0x0),_0xbe86b3>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4632c8['id']&&Object['hasOwnProperty']['call'](_0x4632c8,'id')&&writer['uint32'](0xa)['string'](_0x4632c8['id']),writer;},GetUserMessage['encodeDelimited']=function(_0x108016,writer){return this['encode'](_0x108016,writer)['ldelim']();},GetUserMessage['decode']=function(_0x1d10fb,length,_0x32f103,_0x3e8fc9){if(_0x1d10fb instanceof _0x3e39b8||(_0x1d10fb=_0x3e39b8['create'](_0x1d10fb)),void 0x0===_0x3e8fc9&&(_0x3e8fc9=0x0),_0x3e8fc9>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3ef819=void 0x0===length?_0x1d10fb['len']:_0x1d10fb['pos']+length,_0x14c15a=new $root['GetUserMessage']();_0x1d10fb['pos']<_0x3ef819;){var tag=_0x1d10fb['uint32']();if(tag===_0x32f103)break;if(tag>>>0x3==0x1)_0x14c15a['id']=_0x1d10fb['string']();else _0x1d10fb['skipType'](0x7&tag,_0x3e8fc9);}return _0x14c15a;},GetUserMessage['decodeDelimited']=function(_0x34bd98){return _0x34bd98 instanceof _0x3e39b8||(_0x34bd98=new _0x3e39b8(_0x34bd98)),this['decode'](_0x34bd98,_0x34bd98['uint32']());},GetUserMessage['verify']=function(_0x1879c7,_0x3aadac){return'object'!=typeof _0x1879c7||null===_0x1879c7?'object\x20expected':(void 0x0===_0x3aadac&&(_0x3aadac=0x0),_0x3aadac>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1879c7['id']&&Object['hasOwnProperty']['call'](_0x1879c7,'id')&&!$util['isString'](_0x1879c7['id'])?'id:\x20string\x20expected':null);},GetUserMessage['fromObject']=function(object,_0x568f00){if(object instanceof $root['GetUserMessage'])return object;if(!$util['isObject'](object))throw TypeError('.GetUserMessage:\x20object\x20expected');if(void 0x0===_0x568f00&&(_0x568f00=0x0),_0x568f00>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2374cb=new $root['GetUserMessage']();return null!=object['id']&&(_0x2374cb['id']=String(object['id'])),_0x2374cb;},GetUserMessage['toObject']=function(_0x36375b,options,_0x4d2397){if(options||(options={}),void 0x0===_0x4d2397&&(_0x4d2397=0x0),_0x4d2397>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']=''),null!=_0x36375b['id']&&Object['hasOwnProperty']['call'](_0x36375b,'id')&&(object['id']=_0x36375b['id']),object;},GetUserMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetUserMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetUserMessage';},GetUserMessage;}()),$root['GetManyUsersMessage']=(function(){function GetManyUsersMessage(properties){if(this['ids']=[],properties){for(var _0xf2c069=Object['keys'](properties),_0x1d36f9=0x0;_0x1d36f9<_0xf2c069['length'];++_0x1d36f9)null!=properties[_0xf2c069[_0x1d36f9]]&&'__proto__'!==_0xf2c069[_0x1d36f9]&&(this[_0xf2c069[_0x1d36f9]]=properties[_0xf2c069[_0x1d36f9]]);}}return GetManyUsersMessage['prototype']['ids']=$util['emptyArray'],GetManyUsersMessage['create']=function(properties){return new GetManyUsersMessage(properties);},GetManyUsersMessage['encode']=function(_0x2ef710,writer,_0x9afe66){if(writer||(writer=$Writer['create']()),void 0x0===_0x9afe66&&(_0x9afe66=0x0),_0x9afe66>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x2ef710['ids']&&_0x2ef710['ids']['length']){for(var _0x3dc5ea=0x0;_0x3dc5ea<_0x2ef710['ids']['length'];++_0x3dc5ea)writer['uint32'](0xa)['string'](_0x2ef710['ids'][_0x3dc5ea]);}return writer;},GetManyUsersMessage['encodeDelimited']=function(_0xdda09d,writer){return this['encode'](_0xdda09d,writer)['ldelim']();},GetManyUsersMessage['decode']=function(_0x5c23c3,length,_0x3140fc,_0x28d17a){if(_0x5c23c3 instanceof _0x3e39b8||(_0x5c23c3=_0x3e39b8['create'](_0x5c23c3)),void 0x0===_0x28d17a&&(_0x28d17a=0x0),_0x28d17a>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x18365d=void 0x0===length?_0x5c23c3['len']:_0x5c23c3['pos']+length,_0x547a27=new $root['GetManyUsersMessage']();_0x5c23c3['pos']<_0x18365d;){var tag=_0x5c23c3['uint32']();if(tag===_0x3140fc)break;if(tag>>>0x3==0x1)_0x547a27['ids']&&_0x547a27['ids']['length']||(_0x547a27['ids']=[]),_0x547a27['ids']['push'](_0x5c23c3['string']());else _0x5c23c3['skipType'](0x7&tag,_0x28d17a);}return _0x547a27;},GetManyUsersMessage['decodeDelimited']=function(_0x35a9b5){return _0x35a9b5 instanceof _0x3e39b8||(_0x35a9b5=new _0x3e39b8(_0x35a9b5)),this['decode'](_0x35a9b5,_0x35a9b5['uint32']());},GetManyUsersMessage['verify']=function(_0x40535d,_0x528be7){if('object'!=typeof _0x40535d||null===_0x40535d)return'object\x20expected';if(void 0x0===_0x528be7&&(_0x528be7=0x0),_0x528be7>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x40535d['ids']&&Object['hasOwnProperty']['call'](_0x40535d,'ids')){if(!Array['isArray'](_0x40535d['ids']))return'ids:\x20array\x20expected';for(var _0x21bc0b=0x0;_0x21bc0b<_0x40535d['ids']['length'];++_0x21bc0b)if(!$util['isString'](_0x40535d['ids'][_0x21bc0b]))return'ids:\x20string[]\x20expected';}return null;},GetManyUsersMessage['fromObject']=function(object,_0x4dd326){if(object instanceof $root['GetManyUsersMessage'])return object;if(!$util['isObject'](object))throw TypeError('.GetManyUsersMessage:\x20object\x20expected');if(void 0x0===_0x4dd326&&(_0x4dd326=0x0),_0x4dd326>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x590225=new $root['GetManyUsersMessage']();if(object['ids']){if(!Array['isArray'](object['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x590225['ids']=[];for(var _0xc853f4=0x0;_0xc853f4<object['ids']['length'];++_0xc853f4)_0x590225['ids'][_0xc853f4]=String(object['ids'][_0xc853f4]);}return _0x590225;},GetManyUsersMessage['toObject']=function(_0x2b96db,options,_0x22bbf3){if(options||(options={}),void 0x0===_0x22bbf3&&(_0x22bbf3=0x0),_0x22bbf3>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['ids']=[]),_0x2b96db['ids']&&_0x2b96db['ids']['length']){object['ids']=[];for(var _0x40ff16=0x0;_0x40ff16<_0x2b96db['ids']['length'];++_0x40ff16)object['ids'][_0x40ff16]=_0x2b96db['ids'][_0x40ff16];}return object;},GetManyUsersMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetManyUsersMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetManyUsersMessage';},GetManyUsersMessage;}()),$root['UserDescriptor']=(function(){function UserDescriptor(properties){if(this['attributes']=[],properties){for(var _0xd1f4ba=Object['keys'](properties),_0x11064d=0x0;_0x11064d<_0xd1f4ba['length'];++_0x11064d)null!=properties[_0xd1f4ba[_0x11064d]]&&'__proto__'!==_0xd1f4ba[_0x11064d]&&(this[_0xd1f4ba[_0x11064d]]=properties[_0xd1f4ba[_0x11064d]]);}}return UserDescriptor['prototype']['attributes']=$util['emptyArray'],UserDescriptor['create']=function(properties){return new UserDescriptor(properties);},UserDescriptor['encode']=function(_0xdd9aa3,writer,_0x70f174){if(writer||(writer=$Writer['create']()),void 0x0===_0x70f174&&(_0x70f174=0x0),_0x70f174>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0xdd9aa3['attributes']&&_0xdd9aa3['attributes']['length']){for(var _0x42c9aa=0x0;_0x42c9aa<_0xdd9aa3['attributes']['length'];++_0x42c9aa)$root['KeyValueDescriptor']['encode'](_0xdd9aa3['attributes'][_0x42c9aa],writer['uint32'](0xa)['fork'](),_0x70f174+0x1)['ldelim']();}return writer;},UserDescriptor['encodeDelimited']=function(_0xcea34,writer){return this['encode'](_0xcea34,writer)['ldelim']();},UserDescriptor['decode']=function(_0x516e3c,length,_0x161bea,_0x8f48e7){if(_0x516e3c instanceof _0x3e39b8||(_0x516e3c=_0x3e39b8['create'](_0x516e3c)),void 0x0===_0x8f48e7&&(_0x8f48e7=0x0),_0x8f48e7>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4d2869=void 0x0===length?_0x516e3c['len']:_0x516e3c['pos']+length,_0x27b1e3=new $root['UserDescriptor']();_0x516e3c['pos']<_0x4d2869;){var tag=_0x516e3c['uint32']();if(tag===_0x161bea)break;if(tag>>>0x3==0x1)_0x27b1e3['attributes']&&_0x27b1e3['attributes']['length']||(_0x27b1e3['attributes']=[]),_0x27b1e3['attributes']['push']($root['KeyValueDescriptor']['decode'](_0x516e3c,_0x516e3c['uint32'](),void 0x0,_0x8f48e7+0x1));else _0x516e3c['skipType'](0x7&tag,_0x8f48e7);}return _0x27b1e3;},UserDescriptor['decodeDelimited']=function(_0x24329d){return _0x24329d instanceof _0x3e39b8||(_0x24329d=new _0x3e39b8(_0x24329d)),this['decode'](_0x24329d,_0x24329d['uint32']());},UserDescriptor['verify']=function(_0x2bccad,_0xa2ce0e){if('object'!=typeof _0x2bccad||null===_0x2bccad)return'object\x20expected';if(void 0x0===_0xa2ce0e&&(_0xa2ce0e=0x0),_0xa2ce0e>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2bccad['attributes']&&Object['hasOwnProperty']['call'](_0x2bccad,'attributes')){if(!Array['isArray'](_0x2bccad['attributes']))return'attributes:\x20array\x20expected';for(var _0x8dc27d=0x0;_0x8dc27d<_0x2bccad['attributes']['length'];++_0x8dc27d){var _0xe3204c=$root['KeyValueDescriptor']['verify'](_0x2bccad['attributes'][_0x8dc27d],_0xa2ce0e+0x1);if(_0xe3204c)return'attributes.'+_0xe3204c;}}return null;},UserDescriptor['fromObject']=function(object,_0x50b0a7){if(object instanceof $root['UserDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.UserDescriptor:\x20object\x20expected');if(void 0x0===_0x50b0a7&&(_0x50b0a7=0x0),_0x50b0a7>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1df04f=new $root['UserDescriptor']();if(object['attributes']){if(!Array['isArray'](object['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x1df04f['attributes']=[];for(var _0x4ff987=0x0;_0x4ff987<object['attributes']['length'];++_0x4ff987){if(!$util['isObject'](object['attributes'][_0x4ff987]))throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x1df04f['attributes'][_0x4ff987]=$root['KeyValueDescriptor']['fromObject'](object['attributes'][_0x4ff987],_0x50b0a7+0x1);}}return _0x1df04f;},UserDescriptor['toObject']=function(_0xceaf87,options,_0x1585a4){if(options||(options={}),void 0x0===_0x1585a4&&(_0x1585a4=0x0),_0x1585a4>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['attributes']=[]),_0xceaf87['attributes']&&_0xceaf87['attributes']['length']){object['attributes']=[];for(var _0x1f09af=0x0;_0x1f09af<_0xceaf87['attributes']['length'];++_0x1f09af)object['attributes'][_0x1f09af]=$root['KeyValueDescriptor']['toObject'](_0xceaf87['attributes'][_0x1f09af],options,_0x1585a4+0x1);}return object;},UserDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},UserDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/UserDescriptor';},UserDescriptor;}()),$root['TrackChangesGetSuggestionResponse']=(function(){function TrackChangesGetSuggestionResponse(properties){if(properties){for(var _0x45961f=Object['keys'](properties),_0x716cfb=0x0;_0x716cfb<_0x45961f['length'];++_0x716cfb)null!=properties[_0x45961f[_0x716cfb]]&&'__proto__'!==_0x45961f[_0x716cfb]&&(this[_0x45961f[_0x716cfb]]=properties[_0x45961f[_0x716cfb]]);}}return TrackChangesGetSuggestionResponse['prototype']['id']='',TrackChangesGetSuggestionResponse['prototype']['authorId']='',TrackChangesGetSuggestionResponse['prototype']['type']='',TrackChangesGetSuggestionResponse['prototype']['createdAt']='',TrackChangesGetSuggestionResponse['prototype']['data']='',TrackChangesGetSuggestionResponse['prototype']['hasComments']=!0x1,TrackChangesGetSuggestionResponse['prototype']['state']='',TrackChangesGetSuggestionResponse['prototype']['attributes']='',TrackChangesGetSuggestionResponse['create']=function(properties){return new TrackChangesGetSuggestionResponse(properties);},TrackChangesGetSuggestionResponse['encode']=function(_0x539029,writer,_0x4779e0){if(writer||(writer=$Writer['create']()),void 0x0===_0x4779e0&&(_0x4779e0=0x0),_0x4779e0>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x539029['id']&&Object['hasOwnProperty']['call'](_0x539029,'id')&&writer['uint32'](0xa)['string'](_0x539029['id']),null!=_0x539029['authorId']&&Object['hasOwnProperty']['call'](_0x539029,'authorId')&&writer['uint32'](0x12)['string'](_0x539029['authorId']),null!=_0x539029['type']&&Object['hasOwnProperty']['call'](_0x539029,'type')&&writer['uint32'](0x1a)['string'](_0x539029['type']),null!=_0x539029['createdAt']&&Object['hasOwnProperty']['call'](_0x539029,'createdAt')&&writer['uint32'](0x22)['string'](_0x539029['createdAt']),null!=_0x539029['data']&&Object['hasOwnProperty']['call'](_0x539029,'data')&&writer['uint32'](0x2a)['string'](_0x539029['data']),null!=_0x539029['hasComments']&&Object['hasOwnProperty']['call'](_0x539029,'hasComments')&&writer['uint32'](0x30)['bool'](_0x539029['hasComments']),null!=_0x539029['state']&&Object['hasOwnProperty']['call'](_0x539029,'state')&&writer['uint32'](0x3a)['string'](_0x539029['state']),null!=_0x539029['attributes']&&Object['hasOwnProperty']['call'](_0x539029,'attributes')&&writer['uint32'](0x42)['string'](_0x539029['attributes']),writer;},TrackChangesGetSuggestionResponse['encodeDelimited']=function(_0x23aaf7,writer){return this['encode'](_0x23aaf7,writer)['ldelim']();},TrackChangesGetSuggestionResponse['decode']=function(_0x42f0a1,length,_0x6a2a46,_0x2096d7){if(_0x42f0a1 instanceof _0x3e39b8||(_0x42f0a1=_0x3e39b8['create'](_0x42f0a1)),void 0x0===_0x2096d7&&(_0x2096d7=0x0),_0x2096d7>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xeb1984=void 0x0===length?_0x42f0a1['len']:_0x42f0a1['pos']+length,_0x2cec79=new $root['TrackChangesGetSuggestionResponse']();_0x42f0a1['pos']<_0xeb1984;){var tag=_0x42f0a1['uint32']();if(tag===_0x6a2a46)break;switch(tag>>>0x3){case 0x1:_0x2cec79['id']=_0x42f0a1['string']();break;case 0x2:_0x2cec79['authorId']=_0x42f0a1['string']();break;case 0x3:_0x2cec79['type']=_0x42f0a1['string']();break;case 0x4:_0x2cec79['createdAt']=_0x42f0a1['string']();break;case 0x5:_0x2cec79['data']=_0x42f0a1['string']();break;case 0x6:_0x2cec79['hasComments']=_0x42f0a1['bool']();break;case 0x7:_0x2cec79['state']=_0x42f0a1['string']();break;case 0x8:_0x2cec79['attributes']=_0x42f0a1['string']();break;default:_0x42f0a1['skipType'](0x7&tag,_0x2096d7);}}return _0x2cec79;},TrackChangesGetSuggestionResponse['decodeDelimited']=function(_0x247481){return _0x247481 instanceof _0x3e39b8||(_0x247481=new _0x3e39b8(_0x247481)),this['decode'](_0x247481,_0x247481['uint32']());},TrackChangesGetSuggestionResponse['verify']=function(_0x1e571d,_0x33bb8b){return'object'!=typeof _0x1e571d||null===_0x1e571d?'object\x20expected':(void 0x0===_0x33bb8b&&(_0x33bb8b=0x0),_0x33bb8b>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1e571d['id']&&Object['hasOwnProperty']['call'](_0x1e571d,'id')&&!$util['isString'](_0x1e571d['id'])?'id:\x20string\x20expected':null!=_0x1e571d['authorId']&&Object['hasOwnProperty']['call'](_0x1e571d,'authorId')&&!$util['isString'](_0x1e571d['authorId'])?'authorId:\x20string\x20expected':null!=_0x1e571d['type']&&Object['hasOwnProperty']['call'](_0x1e571d,'type')&&!$util['isString'](_0x1e571d['type'])?'type:\x20string\x20expected':null!=_0x1e571d['createdAt']&&Object['hasOwnProperty']['call'](_0x1e571d,'createdAt')&&!$util['isString'](_0x1e571d['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x1e571d['data']&&Object['hasOwnProperty']['call'](_0x1e571d,'data')&&!$util['isString'](_0x1e571d['data'])?'data:\x20string\x20expected':null!=_0x1e571d['hasComments']&&Object['hasOwnProperty']['call'](_0x1e571d,'hasComments')&&'boolean'!=typeof _0x1e571d['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x1e571d['state']&&Object['hasOwnProperty']['call'](_0x1e571d,'state')&&!$util['isString'](_0x1e571d['state'])?'state:\x20string\x20expected':null!=_0x1e571d['attributes']&&Object['hasOwnProperty']['call'](_0x1e571d,'attributes')&&!$util['isString'](_0x1e571d['attributes'])?'attributes:\x20string\x20expected':null);},TrackChangesGetSuggestionResponse['fromObject']=function(object,_0x4d2bd8){if(object instanceof $root['TrackChangesGetSuggestionResponse'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesGetSuggestionResponse:\x20object\x20expected');if(void 0x0===_0x4d2bd8&&(_0x4d2bd8=0x0),_0x4d2bd8>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x367785=new $root['TrackChangesGetSuggestionResponse']();return null!=object['id']&&(_0x367785['id']=String(object['id'])),null!=object['authorId']&&(_0x367785['authorId']=String(object['authorId'])),null!=object['type']&&(_0x367785['type']=String(object['type'])),null!=object['createdAt']&&(_0x367785['createdAt']=String(object['createdAt'])),null!=object['data']&&(_0x367785['data']=String(object['data'])),null!=object['hasComments']&&(_0x367785['hasComments']=Boolean(object['hasComments'])),null!=object['state']&&(_0x367785['state']=String(object['state'])),null!=object['attributes']&&(_0x367785['attributes']=String(object['attributes'])),_0x367785;},TrackChangesGetSuggestionResponse['toObject']=function(_0x39b7d6,options,_0x4f5d5a){if(options||(options={}),void 0x0===_0x4f5d5a&&(_0x4f5d5a=0x0),_0x4f5d5a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['authorId']='',object['type']='',object['createdAt']='',object['data']='',object['hasComments']=!0x1,object['state']='',object['attributes']=''),null!=_0x39b7d6['id']&&Object['hasOwnProperty']['call'](_0x39b7d6,'id')&&(object['id']=_0x39b7d6['id']),null!=_0x39b7d6['authorId']&&Object['hasOwnProperty']['call'](_0x39b7d6,'authorId')&&(object['authorId']=_0x39b7d6['authorId']),null!=_0x39b7d6['type']&&Object['hasOwnProperty']['call'](_0x39b7d6,'type')&&(object['type']=_0x39b7d6['type']),null!=_0x39b7d6['createdAt']&&Object['hasOwnProperty']['call'](_0x39b7d6,'createdAt')&&(object['createdAt']=_0x39b7d6['createdAt']),null!=_0x39b7d6['data']&&Object['hasOwnProperty']['call'](_0x39b7d6,'data')&&(object['data']=_0x39b7d6['data']),null!=_0x39b7d6['hasComments']&&Object['hasOwnProperty']['call'](_0x39b7d6,'hasComments')&&(object['hasComments']=_0x39b7d6['hasComments']),null!=_0x39b7d6['state']&&Object['hasOwnProperty']['call'](_0x39b7d6,'state')&&(object['state']=_0x39b7d6['state']),null!=_0x39b7d6['attributes']&&Object['hasOwnProperty']['call'](_0x39b7d6,'attributes')&&(object['attributes']=_0x39b7d6['attributes']),object;},TrackChangesGetSuggestionResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesGetSuggestionResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesGetSuggestionResponse';},TrackChangesGetSuggestionResponse;}()),$root['TrackChangesGetAllSuggestionsResponse']=(function(){function TrackChangesGetAllSuggestionsResponse(properties){if(this['suggestions']=[],this['suggestionsV2']=[],properties){for(var _0x5e66f6=Object['keys'](properties),_0x4514af=0x0;_0x4514af<_0x5e66f6['length'];++_0x4514af)null!=properties[_0x5e66f6[_0x4514af]]&&'__proto__'!==_0x5e66f6[_0x4514af]&&(this[_0x5e66f6[_0x4514af]]=properties[_0x5e66f6[_0x4514af]]);}}return TrackChangesGetAllSuggestionsResponse['prototype']['suggestions']=$util['emptyArray'],TrackChangesGetAllSuggestionsResponse['prototype']['suggestionsV2']=$util['emptyArray'],TrackChangesGetAllSuggestionsResponse['create']=function(properties){return new TrackChangesGetAllSuggestionsResponse(properties);},TrackChangesGetAllSuggestionsResponse['encode']=function(_0xba8330,writer,_0x263084){if(writer||(writer=$Writer['create']()),void 0x0===_0x263084&&(_0x263084=0x0),_0x263084>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0xba8330['suggestions']&&_0xba8330['suggestions']['length']){for(var _0x3a8b13=0x0;_0x3a8b13<_0xba8330['suggestions']['length'];++_0x3a8b13)writer['uint32'](0xa)['string'](_0xba8330['suggestions'][_0x3a8b13]);}if(null!=_0xba8330['suggestionsV2']&&_0xba8330['suggestionsV2']['length']){for(_0x3a8b13=0x0;_0x3a8b13<_0xba8330['suggestionsV2']['length'];++_0x3a8b13)$root['SuggestionDescriptor']['encode'](_0xba8330['suggestionsV2'][_0x3a8b13],writer['uint32'](0x12)['fork'](),_0x263084+0x1)['ldelim']();}return writer;},TrackChangesGetAllSuggestionsResponse['encodeDelimited']=function(_0x4f3b04,writer){return this['encode'](_0x4f3b04,writer)['ldelim']();},TrackChangesGetAllSuggestionsResponse['decode']=function(_0x82a583,length,_0x4e2d83,_0x1d7b86){if(_0x82a583 instanceof _0x3e39b8||(_0x82a583=_0x3e39b8['create'](_0x82a583)),void 0x0===_0x1d7b86&&(_0x1d7b86=0x0),_0x1d7b86>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2b4252=void 0x0===length?_0x82a583['len']:_0x82a583['pos']+length,_0x4d311e=new $root['TrackChangesGetAllSuggestionsResponse']();_0x82a583['pos']<_0x2b4252;){var tag=_0x82a583['uint32']();if(tag===_0x4e2d83)break;switch(tag>>>0x3){case 0x1:_0x4d311e['suggestions']&&_0x4d311e['suggestions']['length']||(_0x4d311e['suggestions']=[]),_0x4d311e['suggestions']['push'](_0x82a583['string']());break;case 0x2:_0x4d311e['suggestionsV2']&&_0x4d311e['suggestionsV2']['length']||(_0x4d311e['suggestionsV2']=[]),_0x4d311e['suggestionsV2']['push']($root['SuggestionDescriptor']['decode'](_0x82a583,_0x82a583['uint32'](),void 0x0,_0x1d7b86+0x1));break;default:_0x82a583['skipType'](0x7&tag,_0x1d7b86);}}return _0x4d311e;},TrackChangesGetAllSuggestionsResponse['decodeDelimited']=function(_0x9f615e){return _0x9f615e instanceof _0x3e39b8||(_0x9f615e=new _0x3e39b8(_0x9f615e)),this['decode'](_0x9f615e,_0x9f615e['uint32']());},TrackChangesGetAllSuggestionsResponse['verify']=function(_0x5af0d7,_0x2df84b){if('object'!=typeof _0x5af0d7||null===_0x5af0d7)return'object\x20expected';if(void 0x0===_0x2df84b&&(_0x2df84b=0x0),_0x2df84b>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5af0d7['suggestions']&&Object['hasOwnProperty']['call'](_0x5af0d7,'suggestions')){if(!Array['isArray'](_0x5af0d7['suggestions']))return'suggestions:\x20array\x20expected';for(var _0xc49d29=0x0;_0xc49d29<_0x5af0d7['suggestions']['length'];++_0xc49d29)if(!$util['isString'](_0x5af0d7['suggestions'][_0xc49d29]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x5af0d7['suggestionsV2']&&Object['hasOwnProperty']['call'](_0x5af0d7,'suggestionsV2')){if(!Array['isArray'](_0x5af0d7['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0xc49d29=0x0;_0xc49d29<_0x5af0d7['suggestionsV2']['length'];++_0xc49d29){var _0x4e37bb=$root['SuggestionDescriptor']['verify'](_0x5af0d7['suggestionsV2'][_0xc49d29],_0x2df84b+0x1);if(_0x4e37bb)return'suggestionsV2.'+_0x4e37bb;}}return null;},TrackChangesGetAllSuggestionsResponse['fromObject']=function(object,_0x168dea){if(object instanceof $root['TrackChangesGetAllSuggestionsResponse'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesGetAllSuggestionsResponse:\x20object\x20expected');if(void 0x0===_0x168dea&&(_0x168dea=0x0),_0x168dea>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3d350f=new $root['TrackChangesGetAllSuggestionsResponse']();if(object['suggestions']){if(!Array['isArray'](object['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x3d350f['suggestions']=[];for(var _0x46077c=0x0;_0x46077c<object['suggestions']['length'];++_0x46077c)_0x3d350f['suggestions'][_0x46077c]=String(object['suggestions'][_0x46077c]);}if(object['suggestionsV2']){if(!Array['isArray'](object['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');_0x3d350f['suggestionsV2']=[];for(_0x46077c=0x0;_0x46077c<object['suggestionsV2']['length'];++_0x46077c){if(!$util['isObject'](object['suggestionsV2'][_0x46077c]))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x3d350f['suggestionsV2'][_0x46077c]=$root['SuggestionDescriptor']['fromObject'](object['suggestionsV2'][_0x46077c],_0x168dea+0x1);}}return _0x3d350f;},TrackChangesGetAllSuggestionsResponse['toObject']=function(_0x340339,options,_0x5736ad){if(options||(options={}),void 0x0===_0x5736ad&&(_0x5736ad=0x0),_0x5736ad>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['suggestions']=[],object['suggestionsV2']=[]),_0x340339['suggestions']&&_0x340339['suggestions']['length']){object['suggestions']=[];for(var _0x25ecc9=0x0;_0x25ecc9<_0x340339['suggestions']['length'];++_0x25ecc9)object['suggestions'][_0x25ecc9]=_0x340339['suggestions'][_0x25ecc9];}if(_0x340339['suggestionsV2']&&_0x340339['suggestionsV2']['length']){object['suggestionsV2']=[];for(_0x25ecc9=0x0;_0x25ecc9<_0x340339['suggestionsV2']['length'];++_0x25ecc9)object['suggestionsV2'][_0x25ecc9]=$root['SuggestionDescriptor']['toObject'](_0x340339['suggestionsV2'][_0x25ecc9],options,_0x5736ad+0x1);}return object;},TrackChangesGetAllSuggestionsResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesGetAllSuggestionsResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesGetAllSuggestionsResponse';},TrackChangesGetAllSuggestionsResponse;}()),$root['TrackChangesConnectResponse']=(function(){function TrackChangesConnectResponse(properties){if(this['suggestions']=[],this['suggestionsV2']=[],properties){for(var _0x3abb06=Object['keys'](properties),_0x87b0e1=0x0;_0x87b0e1<_0x3abb06['length'];++_0x87b0e1)null!=properties[_0x3abb06[_0x87b0e1]]&&'__proto__'!==_0x3abb06[_0x87b0e1]&&(this[_0x3abb06[_0x87b0e1]]=properties[_0x3abb06[_0x87b0e1]]);}}return TrackChangesConnectResponse['prototype']['channel']='',TrackChangesConnectResponse['prototype']['suggestions']=$util['emptyArray'],TrackChangesConnectResponse['prototype']['suggestionsV2']=$util['emptyArray'],TrackChangesConnectResponse['create']=function(properties){return new TrackChangesConnectResponse(properties);},TrackChangesConnectResponse['encode']=function(_0x4e9470,writer,_0x4e6c3f){if(writer||(writer=$Writer['create']()),void 0x0===_0x4e6c3f&&(_0x4e6c3f=0x0),_0x4e6c3f>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x4e9470['channel']&&Object['hasOwnProperty']['call'](_0x4e9470,'channel')&&writer['uint32'](0xa)['string'](_0x4e9470['channel']),null!=_0x4e9470['suggestions']&&_0x4e9470['suggestions']['length']){for(var _0x4ede68=0x0;_0x4ede68<_0x4e9470['suggestions']['length'];++_0x4ede68)writer['uint32'](0x12)['string'](_0x4e9470['suggestions'][_0x4ede68]);}if(null!=_0x4e9470['suggestionsV2']&&_0x4e9470['suggestionsV2']['length']){for(_0x4ede68=0x0;_0x4ede68<_0x4e9470['suggestionsV2']['length'];++_0x4ede68)$root['SuggestionDescriptor']['encode'](_0x4e9470['suggestionsV2'][_0x4ede68],writer['uint32'](0x1a)['fork'](),_0x4e6c3f+0x1)['ldelim']();}return writer;},TrackChangesConnectResponse['encodeDelimited']=function(_0x5bc3c5,writer){return this['encode'](_0x5bc3c5,writer)['ldelim']();},TrackChangesConnectResponse['decode']=function(_0x52d0e5,length,_0x32e972,_0x49689a){if(_0x52d0e5 instanceof _0x3e39b8||(_0x52d0e5=_0x3e39b8['create'](_0x52d0e5)),void 0x0===_0x49689a&&(_0x49689a=0x0),_0x49689a>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x977497=void 0x0===length?_0x52d0e5['len']:_0x52d0e5['pos']+length,_0x42fdce=new $root['TrackChangesConnectResponse']();_0x52d0e5['pos']<_0x977497;){var tag=_0x52d0e5['uint32']();if(tag===_0x32e972)break;switch(tag>>>0x3){case 0x1:_0x42fdce['channel']=_0x52d0e5['string']();break;case 0x2:_0x42fdce['suggestions']&&_0x42fdce['suggestions']['length']||(_0x42fdce['suggestions']=[]),_0x42fdce['suggestions']['push'](_0x52d0e5['string']());break;case 0x3:_0x42fdce['suggestionsV2']&&_0x42fdce['suggestionsV2']['length']||(_0x42fdce['suggestionsV2']=[]),_0x42fdce['suggestionsV2']['push']($root['SuggestionDescriptor']['decode'](_0x52d0e5,_0x52d0e5['uint32'](),void 0x0,_0x49689a+0x1));break;default:_0x52d0e5['skipType'](0x7&tag,_0x49689a);}}return _0x42fdce;},TrackChangesConnectResponse['decodeDelimited']=function(_0x5396e3){return _0x5396e3 instanceof _0x3e39b8||(_0x5396e3=new _0x3e39b8(_0x5396e3)),this['decode'](_0x5396e3,_0x5396e3['uint32']());},TrackChangesConnectResponse['verify']=function(_0x51cef7,_0x41284c){if('object'!=typeof _0x51cef7||null===_0x51cef7)return'object\x20expected';if(void 0x0===_0x41284c&&(_0x41284c=0x0),_0x41284c>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x51cef7['channel']&&Object['hasOwnProperty']['call'](_0x51cef7,'channel')&&!$util['isString'](_0x51cef7['channel']))return'channel:\x20string\x20expected';if(null!=_0x51cef7['suggestions']&&Object['hasOwnProperty']['call'](_0x51cef7,'suggestions')){if(!Array['isArray'](_0x51cef7['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x5b18e7=0x0;_0x5b18e7<_0x51cef7['suggestions']['length'];++_0x5b18e7)if(!$util['isString'](_0x51cef7['suggestions'][_0x5b18e7]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x51cef7['suggestionsV2']&&Object['hasOwnProperty']['call'](_0x51cef7,'suggestionsV2')){if(!Array['isArray'](_0x51cef7['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x5b18e7=0x0;_0x5b18e7<_0x51cef7['suggestionsV2']['length'];++_0x5b18e7){var _0x341837=$root['SuggestionDescriptor']['verify'](_0x51cef7['suggestionsV2'][_0x5b18e7],_0x41284c+0x1);if(_0x341837)return'suggestionsV2.'+_0x341837;}}return null;},TrackChangesConnectResponse['fromObject']=function(object,_0x5524aa){if(object instanceof $root['TrackChangesConnectResponse'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesConnectResponse:\x20object\x20expected');if(void 0x0===_0x5524aa&&(_0x5524aa=0x0),_0x5524aa>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x51a7c5=new $root['TrackChangesConnectResponse']();if(null!=object['channel']&&(_0x51a7c5['channel']=String(object['channel'])),object['suggestions']){if(!Array['isArray'](object['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x51a7c5['suggestions']=[];for(var _0x2d44b5=0x0;_0x2d44b5<object['suggestions']['length'];++_0x2d44b5)_0x51a7c5['suggestions'][_0x2d44b5]=String(object['suggestions'][_0x2d44b5]);}if(object['suggestionsV2']){if(!Array['isArray'](object['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');_0x51a7c5['suggestionsV2']=[];for(_0x2d44b5=0x0;_0x2d44b5<object['suggestionsV2']['length'];++_0x2d44b5){if(!$util['isObject'](object['suggestionsV2'][_0x2d44b5]))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x51a7c5['suggestionsV2'][_0x2d44b5]=$root['SuggestionDescriptor']['fromObject'](object['suggestionsV2'][_0x2d44b5],_0x5524aa+0x1);}}return _0x51a7c5;},TrackChangesConnectResponse['toObject']=function(_0x5a213b,options,_0x12bc26){if(options||(options={}),void 0x0===_0x12bc26&&(_0x12bc26=0x0),_0x12bc26>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['suggestions']=[],object['suggestionsV2']=[]),options['defaults']&&(object['channel']=''),null!=_0x5a213b['channel']&&Object['hasOwnProperty']['call'](_0x5a213b,'channel')&&(object['channel']=_0x5a213b['channel']),_0x5a213b['suggestions']&&_0x5a213b['suggestions']['length']){object['suggestions']=[];for(var _0x570cb0=0x0;_0x570cb0<_0x5a213b['suggestions']['length'];++_0x570cb0)object['suggestions'][_0x570cb0]=_0x5a213b['suggestions'][_0x570cb0];}if(_0x5a213b['suggestionsV2']&&_0x5a213b['suggestionsV2']['length']){object['suggestionsV2']=[];for(_0x570cb0=0x0;_0x570cb0<_0x5a213b['suggestionsV2']['length'];++_0x570cb0)object['suggestionsV2'][_0x570cb0]=$root['SuggestionDescriptor']['toObject'](_0x5a213b['suggestionsV2'][_0x570cb0],options,_0x12bc26+0x1);}return object;},TrackChangesConnectResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesConnectResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesConnectResponse';},TrackChangesConnectResponse;}()),$root['TrackChangesAddSuggestionResponse']=(function(){function TrackChangesAddSuggestionResponse(properties){if(properties){for(var _0x5e050b=Object['keys'](properties),_0x106c2e=0x0;_0x106c2e<_0x5e050b['length'];++_0x106c2e)null!=properties[_0x5e050b[_0x106c2e]]&&'__proto__'!==_0x5e050b[_0x106c2e]&&(this[_0x5e050b[_0x106c2e]]=properties[_0x5e050b[_0x106c2e]]);}}return TrackChangesAddSuggestionResponse['prototype']['id']='',TrackChangesAddSuggestionResponse['prototype']['authorId']='',TrackChangesAddSuggestionResponse['prototype']['type']='',TrackChangesAddSuggestionResponse['prototype']['createdAt']='',TrackChangesAddSuggestionResponse['prototype']['data']='',TrackChangesAddSuggestionResponse['prototype']['hasComments']=!0x1,TrackChangesAddSuggestionResponse['prototype']['state']='',TrackChangesAddSuggestionResponse['prototype']['attributes']='',TrackChangesAddSuggestionResponse['create']=function(properties){return new TrackChangesAddSuggestionResponse(properties);},TrackChangesAddSuggestionResponse['encode']=function(_0x2f0570,writer,_0x1e711b){if(writer||(writer=$Writer['create']()),void 0x0===_0x1e711b&&(_0x1e711b=0x0),_0x1e711b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2f0570['id']&&Object['hasOwnProperty']['call'](_0x2f0570,'id')&&writer['uint32'](0xa)['string'](_0x2f0570['id']),null!=_0x2f0570['authorId']&&Object['hasOwnProperty']['call'](_0x2f0570,'authorId')&&writer['uint32'](0x12)['string'](_0x2f0570['authorId']),null!=_0x2f0570['type']&&Object['hasOwnProperty']['call'](_0x2f0570,'type')&&writer['uint32'](0x1a)['string'](_0x2f0570['type']),null!=_0x2f0570['createdAt']&&Object['hasOwnProperty']['call'](_0x2f0570,'createdAt')&&writer['uint32'](0x22)['string'](_0x2f0570['createdAt']),null!=_0x2f0570['data']&&Object['hasOwnProperty']['call'](_0x2f0570,'data')&&writer['uint32'](0x2a)['string'](_0x2f0570['data']),null!=_0x2f0570['hasComments']&&Object['hasOwnProperty']['call'](_0x2f0570,'hasComments')&&writer['uint32'](0x30)['bool'](_0x2f0570['hasComments']),null!=_0x2f0570['state']&&Object['hasOwnProperty']['call'](_0x2f0570,'state')&&writer['uint32'](0x3a)['string'](_0x2f0570['state']),null!=_0x2f0570['attributes']&&Object['hasOwnProperty']['call'](_0x2f0570,'attributes')&&writer['uint32'](0x42)['string'](_0x2f0570['attributes']),writer;},TrackChangesAddSuggestionResponse['encodeDelimited']=function(_0x286129,writer){return this['encode'](_0x286129,writer)['ldelim']();},TrackChangesAddSuggestionResponse['decode']=function(_0xc4b82b,length,_0x4102ff,_0x1ae66e){if(_0xc4b82b instanceof _0x3e39b8||(_0xc4b82b=_0x3e39b8['create'](_0xc4b82b)),void 0x0===_0x1ae66e&&(_0x1ae66e=0x0),_0x1ae66e>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x51d446=void 0x0===length?_0xc4b82b['len']:_0xc4b82b['pos']+length,_0x3dded2=new $root['TrackChangesAddSuggestionResponse']();_0xc4b82b['pos']<_0x51d446;){var tag=_0xc4b82b['uint32']();if(tag===_0x4102ff)break;switch(tag>>>0x3){case 0x1:_0x3dded2['id']=_0xc4b82b['string']();break;case 0x2:_0x3dded2['authorId']=_0xc4b82b['string']();break;case 0x3:_0x3dded2['type']=_0xc4b82b['string']();break;case 0x4:_0x3dded2['createdAt']=_0xc4b82b['string']();break;case 0x5:_0x3dded2['data']=_0xc4b82b['string']();break;case 0x6:_0x3dded2['hasComments']=_0xc4b82b['bool']();break;case 0x7:_0x3dded2['state']=_0xc4b82b['string']();break;case 0x8:_0x3dded2['attributes']=_0xc4b82b['string']();break;default:_0xc4b82b['skipType'](0x7&tag,_0x1ae66e);}}return _0x3dded2;},TrackChangesAddSuggestionResponse['decodeDelimited']=function(_0x1777a9){return _0x1777a9 instanceof _0x3e39b8||(_0x1777a9=new _0x3e39b8(_0x1777a9)),this['decode'](_0x1777a9,_0x1777a9['uint32']());},TrackChangesAddSuggestionResponse['verify']=function(_0x5a664b,_0xcda156){return'object'!=typeof _0x5a664b||null===_0x5a664b?'object\x20expected':(void 0x0===_0xcda156&&(_0xcda156=0x0),_0xcda156>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5a664b['id']&&Object['hasOwnProperty']['call'](_0x5a664b,'id')&&!$util['isString'](_0x5a664b['id'])?'id:\x20string\x20expected':null!=_0x5a664b['authorId']&&Object['hasOwnProperty']['call'](_0x5a664b,'authorId')&&!$util['isString'](_0x5a664b['authorId'])?'authorId:\x20string\x20expected':null!=_0x5a664b['type']&&Object['hasOwnProperty']['call'](_0x5a664b,'type')&&!$util['isString'](_0x5a664b['type'])?'type:\x20string\x20expected':null!=_0x5a664b['createdAt']&&Object['hasOwnProperty']['call'](_0x5a664b,'createdAt')&&!$util['isString'](_0x5a664b['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x5a664b['data']&&Object['hasOwnProperty']['call'](_0x5a664b,'data')&&!$util['isString'](_0x5a664b['data'])?'data:\x20string\x20expected':null!=_0x5a664b['hasComments']&&Object['hasOwnProperty']['call'](_0x5a664b,'hasComments')&&'boolean'!=typeof _0x5a664b['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x5a664b['state']&&Object['hasOwnProperty']['call'](_0x5a664b,'state')&&!$util['isString'](_0x5a664b['state'])?'state:\x20string\x20expected':null!=_0x5a664b['attributes']&&Object['hasOwnProperty']['call'](_0x5a664b,'attributes')&&!$util['isString'](_0x5a664b['attributes'])?'attributes:\x20string\x20expected':null);},TrackChangesAddSuggestionResponse['fromObject']=function(object,_0x6ba1ff){if(object instanceof $root['TrackChangesAddSuggestionResponse'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesAddSuggestionResponse:\x20object\x20expected');if(void 0x0===_0x6ba1ff&&(_0x6ba1ff=0x0),_0x6ba1ff>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4188f4=new $root['TrackChangesAddSuggestionResponse']();return null!=object['id']&&(_0x4188f4['id']=String(object['id'])),null!=object['authorId']&&(_0x4188f4['authorId']=String(object['authorId'])),null!=object['type']&&(_0x4188f4['type']=String(object['type'])),null!=object['createdAt']&&(_0x4188f4['createdAt']=String(object['createdAt'])),null!=object['data']&&(_0x4188f4['data']=String(object['data'])),null!=object['hasComments']&&(_0x4188f4['hasComments']=Boolean(object['hasComments'])),null!=object['state']&&(_0x4188f4['state']=String(object['state'])),null!=object['attributes']&&(_0x4188f4['attributes']=String(object['attributes'])),_0x4188f4;},TrackChangesAddSuggestionResponse['toObject']=function(_0x197541,options,_0x279851){if(options||(options={}),void 0x0===_0x279851&&(_0x279851=0x0),_0x279851>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['authorId']='',object['type']='',object['createdAt']='',object['data']='',object['hasComments']=!0x1,object['state']='',object['attributes']=''),null!=_0x197541['id']&&Object['hasOwnProperty']['call'](_0x197541,'id')&&(object['id']=_0x197541['id']),null!=_0x197541['authorId']&&Object['hasOwnProperty']['call'](_0x197541,'authorId')&&(object['authorId']=_0x197541['authorId']),null!=_0x197541['type']&&Object['hasOwnProperty']['call'](_0x197541,'type')&&(object['type']=_0x197541['type']),null!=_0x197541['createdAt']&&Object['hasOwnProperty']['call'](_0x197541,'createdAt')&&(object['createdAt']=_0x197541['createdAt']),null!=_0x197541['data']&&Object['hasOwnProperty']['call'](_0x197541,'data')&&(object['data']=_0x197541['data']),null!=_0x197541['hasComments']&&Object['hasOwnProperty']['call'](_0x197541,'hasComments')&&(object['hasComments']=_0x197541['hasComments']),null!=_0x197541['state']&&Object['hasOwnProperty']['call'](_0x197541,'state')&&(object['state']=_0x197541['state']),null!=_0x197541['attributes']&&Object['hasOwnProperty']['call'](_0x197541,'attributes')&&(object['attributes']=_0x197541['attributes']),object;},TrackChangesAddSuggestionResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesAddSuggestionResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesAddSuggestionResponse';},TrackChangesAddSuggestionResponse;}()),$root['TrackChangesUpdateSuggestionMessage']=(function(){function TrackChangesUpdateSuggestionMessage(properties){if(properties){for(var _0x16505e=Object['keys'](properties),_0xec010a=0x0;_0xec010a<_0x16505e['length'];++_0xec010a)null!=properties[_0x16505e[_0xec010a]]&&'__proto__'!==_0x16505e[_0xec010a]&&(this[_0x16505e[_0xec010a]]=properties[_0x16505e[_0xec010a]]);}}return TrackChangesUpdateSuggestionMessage['prototype']['id']='',TrackChangesUpdateSuggestionMessage['prototype']['documentId']='',TrackChangesUpdateSuggestionMessage['prototype']['hasComments']=!0x1,TrackChangesUpdateSuggestionMessage['prototype']['isHasCommentsModified']=!0x1,TrackChangesUpdateSuggestionMessage['prototype']['state']='',TrackChangesUpdateSuggestionMessage['prototype']['attributes']='',TrackChangesUpdateSuggestionMessage['create']=function(properties){return new TrackChangesUpdateSuggestionMessage(properties);},TrackChangesUpdateSuggestionMessage['encode']=function(_0x5b34b0,writer,_0x3a679d){if(writer||(writer=$Writer['create']()),void 0x0===_0x3a679d&&(_0x3a679d=0x0),_0x3a679d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5b34b0['id']&&Object['hasOwnProperty']['call'](_0x5b34b0,'id')&&writer['uint32'](0xa)['string'](_0x5b34b0['id']),null!=_0x5b34b0['documentId']&&Object['hasOwnProperty']['call'](_0x5b34b0,'documentId')&&writer['uint32'](0x12)['string'](_0x5b34b0['documentId']),null!=_0x5b34b0['hasComments']&&Object['hasOwnProperty']['call'](_0x5b34b0,'hasComments')&&writer['uint32'](0x18)['bool'](_0x5b34b0['hasComments']),null!=_0x5b34b0['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x5b34b0,'isHasCommentsModified')&&writer['uint32'](0x20)['bool'](_0x5b34b0['isHasCommentsModified']),null!=_0x5b34b0['state']&&Object['hasOwnProperty']['call'](_0x5b34b0,'state')&&writer['uint32'](0x2a)['string'](_0x5b34b0['state']),null!=_0x5b34b0['attributes']&&Object['hasOwnProperty']['call'](_0x5b34b0,'attributes')&&writer['uint32'](0x32)['string'](_0x5b34b0['attributes']),writer;},TrackChangesUpdateSuggestionMessage['encodeDelimited']=function(_0x1b2463,writer){return this['encode'](_0x1b2463,writer)['ldelim']();},TrackChangesUpdateSuggestionMessage['decode']=function(_0x1bf025,length,_0x31aa60,_0x12cdfd){if(_0x1bf025 instanceof _0x3e39b8||(_0x1bf025=_0x3e39b8['create'](_0x1bf025)),void 0x0===_0x12cdfd&&(_0x12cdfd=0x0),_0x12cdfd>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2ae78d=void 0x0===length?_0x1bf025['len']:_0x1bf025['pos']+length,_0x2187ab=new $root['TrackChangesUpdateSuggestionMessage']();_0x1bf025['pos']<_0x2ae78d;){var tag=_0x1bf025['uint32']();if(tag===_0x31aa60)break;switch(tag>>>0x3){case 0x1:_0x2187ab['id']=_0x1bf025['string']();break;case 0x2:_0x2187ab['documentId']=_0x1bf025['string']();break;case 0x3:_0x2187ab['hasComments']=_0x1bf025['bool']();break;case 0x4:_0x2187ab['isHasCommentsModified']=_0x1bf025['bool']();break;case 0x5:_0x2187ab['state']=_0x1bf025['string']();break;case 0x6:_0x2187ab['attributes']=_0x1bf025['string']();break;default:_0x1bf025['skipType'](0x7&tag,_0x12cdfd);}}return _0x2187ab;},TrackChangesUpdateSuggestionMessage['decodeDelimited']=function(_0x471f3d){return _0x471f3d instanceof _0x3e39b8||(_0x471f3d=new _0x3e39b8(_0x471f3d)),this['decode'](_0x471f3d,_0x471f3d['uint32']());},TrackChangesUpdateSuggestionMessage['verify']=function(_0x46b35d,_0x348064){return'object'!=typeof _0x46b35d||null===_0x46b35d?'object\x20expected':(void 0x0===_0x348064&&(_0x348064=0x0),_0x348064>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x46b35d['id']&&Object['hasOwnProperty']['call'](_0x46b35d,'id')&&!$util['isString'](_0x46b35d['id'])?'id:\x20string\x20expected':null!=_0x46b35d['documentId']&&Object['hasOwnProperty']['call'](_0x46b35d,'documentId')&&!$util['isString'](_0x46b35d['documentId'])?'documentId:\x20string\x20expected':null!=_0x46b35d['hasComments']&&Object['hasOwnProperty']['call'](_0x46b35d,'hasComments')&&'boolean'!=typeof _0x46b35d['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x46b35d['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x46b35d,'isHasCommentsModified')&&'boolean'!=typeof _0x46b35d['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x46b35d['state']&&Object['hasOwnProperty']['call'](_0x46b35d,'state')&&!$util['isString'](_0x46b35d['state'])?'state:\x20string\x20expected':null!=_0x46b35d['attributes']&&Object['hasOwnProperty']['call'](_0x46b35d,'attributes')&&!$util['isString'](_0x46b35d['attributes'])?'attributes:\x20string\x20expected':null);},TrackChangesUpdateSuggestionMessage['fromObject']=function(object,_0x5cea36){if(object instanceof $root['TrackChangesUpdateSuggestionMessage'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesUpdateSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x5cea36&&(_0x5cea36=0x0),_0x5cea36>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5cfd52=new $root['TrackChangesUpdateSuggestionMessage']();return null!=object['id']&&(_0x5cfd52['id']=String(object['id'])),null!=object['documentId']&&(_0x5cfd52['documentId']=String(object['documentId'])),null!=object['hasComments']&&(_0x5cfd52['hasComments']=Boolean(object['hasComments'])),null!=object['isHasCommentsModified']&&(_0x5cfd52['isHasCommentsModified']=Boolean(object['isHasCommentsModified'])),null!=object['state']&&(_0x5cfd52['state']=String(object['state'])),null!=object['attributes']&&(_0x5cfd52['attributes']=String(object['attributes'])),_0x5cfd52;},TrackChangesUpdateSuggestionMessage['toObject']=function(_0xb93a1c,options,_0x5f2686){if(options||(options={}),void 0x0===_0x5f2686&&(_0x5f2686=0x0),_0x5f2686>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['documentId']='',object['hasComments']=!0x1,object['isHasCommentsModified']=!0x1,object['state']='',object['attributes']=''),null!=_0xb93a1c['id']&&Object['hasOwnProperty']['call'](_0xb93a1c,'id')&&(object['id']=_0xb93a1c['id']),null!=_0xb93a1c['documentId']&&Object['hasOwnProperty']['call'](_0xb93a1c,'documentId')&&(object['documentId']=_0xb93a1c['documentId']),null!=_0xb93a1c['hasComments']&&Object['hasOwnProperty']['call'](_0xb93a1c,'hasComments')&&(object['hasComments']=_0xb93a1c['hasComments']),null!=_0xb93a1c['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0xb93a1c,'isHasCommentsModified')&&(object['isHasCommentsModified']=_0xb93a1c['isHasCommentsModified']),null!=_0xb93a1c['state']&&Object['hasOwnProperty']['call'](_0xb93a1c,'state')&&(object['state']=_0xb93a1c['state']),null!=_0xb93a1c['attributes']&&Object['hasOwnProperty']['call'](_0xb93a1c,'attributes')&&(object['attributes']=_0xb93a1c['attributes']),object;},TrackChangesUpdateSuggestionMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesUpdateSuggestionMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesUpdateSuggestionMessage';},TrackChangesUpdateSuggestionMessage;}()),$root['TrackChangesGetSuggestionMessage']=(function(){function TrackChangesGetSuggestionMessage(properties){if(properties){for(var _0x209b84=Object['keys'](properties),_0x39daf4=0x0;_0x39daf4<_0x209b84['length'];++_0x39daf4)null!=properties[_0x209b84[_0x39daf4]]&&'__proto__'!==_0x209b84[_0x39daf4]&&(this[_0x209b84[_0x39daf4]]=properties[_0x209b84[_0x39daf4]]);}}return TrackChangesGetSuggestionMessage['prototype']['id']='',TrackChangesGetSuggestionMessage['prototype']['documentId']='',TrackChangesGetSuggestionMessage['create']=function(properties){return new TrackChangesGetSuggestionMessage(properties);},TrackChangesGetSuggestionMessage['encode']=function(_0x55e8af,writer,_0x345c44){if(writer||(writer=$Writer['create']()),void 0x0===_0x345c44&&(_0x345c44=0x0),_0x345c44>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x55e8af['id']&&Object['hasOwnProperty']['call'](_0x55e8af,'id')&&writer['uint32'](0xa)['string'](_0x55e8af['id']),null!=_0x55e8af['documentId']&&Object['hasOwnProperty']['call'](_0x55e8af,'documentId')&&writer['uint32'](0x12)['string'](_0x55e8af['documentId']),writer;},TrackChangesGetSuggestionMessage['encodeDelimited']=function(_0x2ef7fe,writer){return this['encode'](_0x2ef7fe,writer)['ldelim']();},TrackChangesGetSuggestionMessage['decode']=function(_0x1d8486,length,_0x46bdcc,_0x49e7a9){if(_0x1d8486 instanceof _0x3e39b8||(_0x1d8486=_0x3e39b8['create'](_0x1d8486)),void 0x0===_0x49e7a9&&(_0x49e7a9=0x0),_0x49e7a9>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2bc893=void 0x0===length?_0x1d8486['len']:_0x1d8486['pos']+length,_0x3a2971=new $root['TrackChangesGetSuggestionMessage']();_0x1d8486['pos']<_0x2bc893;){var tag=_0x1d8486['uint32']();if(tag===_0x46bdcc)break;switch(tag>>>0x3){case 0x1:_0x3a2971['id']=_0x1d8486['string']();break;case 0x2:_0x3a2971['documentId']=_0x1d8486['string']();break;default:_0x1d8486['skipType'](0x7&tag,_0x49e7a9);}}return _0x3a2971;},TrackChangesGetSuggestionMessage['decodeDelimited']=function(_0x1a1e3b){return _0x1a1e3b instanceof _0x3e39b8||(_0x1a1e3b=new _0x3e39b8(_0x1a1e3b)),this['decode'](_0x1a1e3b,_0x1a1e3b['uint32']());},TrackChangesGetSuggestionMessage['verify']=function(_0x56e16,_0x25f218){return'object'!=typeof _0x56e16||null===_0x56e16?'object\x20expected':(void 0x0===_0x25f218&&(_0x25f218=0x0),_0x25f218>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x56e16['id']&&Object['hasOwnProperty']['call'](_0x56e16,'id')&&!$util['isString'](_0x56e16['id'])?'id:\x20string\x20expected':null!=_0x56e16['documentId']&&Object['hasOwnProperty']['call'](_0x56e16,'documentId')&&!$util['isString'](_0x56e16['documentId'])?'documentId:\x20string\x20expected':null);},TrackChangesGetSuggestionMessage['fromObject']=function(object,_0x500061){if(object instanceof $root['TrackChangesGetSuggestionMessage'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesGetSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x500061&&(_0x500061=0x0),_0x500061>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x121e6e=new $root['TrackChangesGetSuggestionMessage']();return null!=object['id']&&(_0x121e6e['id']=String(object['id'])),null!=object['documentId']&&(_0x121e6e['documentId']=String(object['documentId'])),_0x121e6e;},TrackChangesGetSuggestionMessage['toObject']=function(_0x43bbb7,options,_0x7bf00){if(options||(options={}),void 0x0===_0x7bf00&&(_0x7bf00=0x0),_0x7bf00>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['documentId']=''),null!=_0x43bbb7['id']&&Object['hasOwnProperty']['call'](_0x43bbb7,'id')&&(object['id']=_0x43bbb7['id']),null!=_0x43bbb7['documentId']&&Object['hasOwnProperty']['call'](_0x43bbb7,'documentId')&&(object['documentId']=_0x43bbb7['documentId']),object;},TrackChangesGetSuggestionMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesGetSuggestionMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesGetSuggestionMessage';},TrackChangesGetSuggestionMessage;}()),$root['TrackChangesGetAllSuggestionMessage']=(function(){function TrackChangesGetAllSuggestionMessage(properties){if(properties){for(var _0x31d3ff=Object['keys'](properties),_0x1cc69c=0x0;_0x1cc69c<_0x31d3ff['length'];++_0x1cc69c)null!=properties[_0x31d3ff[_0x1cc69c]]&&'__proto__'!==_0x31d3ff[_0x1cc69c]&&(this[_0x31d3ff[_0x1cc69c]]=properties[_0x31d3ff[_0x1cc69c]]);}}return TrackChangesGetAllSuggestionMessage['prototype']['documentId']='',TrackChangesGetAllSuggestionMessage['create']=function(properties){return new TrackChangesGetAllSuggestionMessage(properties);},TrackChangesGetAllSuggestionMessage['encode']=function(_0x492b2e,writer,_0x26ecaf){if(writer||(writer=$Writer['create']()),void 0x0===_0x26ecaf&&(_0x26ecaf=0x0),_0x26ecaf>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x492b2e['documentId']&&Object['hasOwnProperty']['call'](_0x492b2e,'documentId')&&writer['uint32'](0xa)['string'](_0x492b2e['documentId']),writer;},TrackChangesGetAllSuggestionMessage['encodeDelimited']=function(_0x14083d,writer){return this['encode'](_0x14083d,writer)['ldelim']();},TrackChangesGetAllSuggestionMessage['decode']=function(_0x2b8146,length,_0x2b235c,_0x264ff0){if(_0x2b8146 instanceof _0x3e39b8||(_0x2b8146=_0x3e39b8['create'](_0x2b8146)),void 0x0===_0x264ff0&&(_0x264ff0=0x0),_0x264ff0>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5a9de1=void 0x0===length?_0x2b8146['len']:_0x2b8146['pos']+length,_0x346276=new $root['TrackChangesGetAllSuggestionMessage']();_0x2b8146['pos']<_0x5a9de1;){var tag=_0x2b8146['uint32']();if(tag===_0x2b235c)break;if(tag>>>0x3==0x1)_0x346276['documentId']=_0x2b8146['string']();else _0x2b8146['skipType'](0x7&tag,_0x264ff0);}return _0x346276;},TrackChangesGetAllSuggestionMessage['decodeDelimited']=function(_0x147a1f){return _0x147a1f instanceof _0x3e39b8||(_0x147a1f=new _0x3e39b8(_0x147a1f)),this['decode'](_0x147a1f,_0x147a1f['uint32']());},TrackChangesGetAllSuggestionMessage['verify']=function(_0x42b201,_0x3f170c){return'object'!=typeof _0x42b201||null===_0x42b201?'object\x20expected':(void 0x0===_0x3f170c&&(_0x3f170c=0x0),_0x3f170c>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x42b201['documentId']&&Object['hasOwnProperty']['call'](_0x42b201,'documentId')&&!$util['isString'](_0x42b201['documentId'])?'documentId:\x20string\x20expected':null);},TrackChangesGetAllSuggestionMessage['fromObject']=function(object,_0x2535a1){if(object instanceof $root['TrackChangesGetAllSuggestionMessage'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesGetAllSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x2535a1&&(_0x2535a1=0x0),_0x2535a1>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x47babf=new $root['TrackChangesGetAllSuggestionMessage']();return null!=object['documentId']&&(_0x47babf['documentId']=String(object['documentId'])),_0x47babf;},TrackChangesGetAllSuggestionMessage['toObject']=function(_0x18ed88,options,_0x4aff76){if(options||(options={}),void 0x0===_0x4aff76&&(_0x4aff76=0x0),_0x4aff76>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']=''),null!=_0x18ed88['documentId']&&Object['hasOwnProperty']['call'](_0x18ed88,'documentId')&&(object['documentId']=_0x18ed88['documentId']),object;},TrackChangesGetAllSuggestionMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesGetAllSuggestionMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesGetAllSuggestionMessage';},TrackChangesGetAllSuggestionMessage;}()),$root['TrackChangesConnectMessage']=(function(){function TrackChangesConnectMessage(properties){if(properties){for(var _0x9e063a=Object['keys'](properties),_0x48a5b0=0x0;_0x48a5b0<_0x9e063a['length'];++_0x48a5b0)null!=properties[_0x9e063a[_0x48a5b0]]&&'__proto__'!==_0x9e063a[_0x48a5b0]&&(this[_0x9e063a[_0x48a5b0]]=properties[_0x9e063a[_0x48a5b0]]);}}return TrackChangesConnectMessage['prototype']['documentId']='',TrackChangesConnectMessage['create']=function(properties){return new TrackChangesConnectMessage(properties);},TrackChangesConnectMessage['encode']=function(_0x1a558e,writer,_0x2c9ee9){if(writer||(writer=$Writer['create']()),void 0x0===_0x2c9ee9&&(_0x2c9ee9=0x0),_0x2c9ee9>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1a558e['documentId']&&Object['hasOwnProperty']['call'](_0x1a558e,'documentId')&&writer['uint32'](0xa)['string'](_0x1a558e['documentId']),writer;},TrackChangesConnectMessage['encodeDelimited']=function(_0x1c8fcd,writer){return this['encode'](_0x1c8fcd,writer)['ldelim']();},TrackChangesConnectMessage['decode']=function(_0x205156,length,_0x217dcd,_0xcee40f){if(_0x205156 instanceof _0x3e39b8||(_0x205156=_0x3e39b8['create'](_0x205156)),void 0x0===_0xcee40f&&(_0xcee40f=0x0),_0xcee40f>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x381980=void 0x0===length?_0x205156['len']:_0x205156['pos']+length,_0xac3121=new $root['TrackChangesConnectMessage']();_0x205156['pos']<_0x381980;){var tag=_0x205156['uint32']();if(tag===_0x217dcd)break;if(tag>>>0x3==0x1)_0xac3121['documentId']=_0x205156['string']();else _0x205156['skipType'](0x7&tag,_0xcee40f);}return _0xac3121;},TrackChangesConnectMessage['decodeDelimited']=function(_0x4e251c){return _0x4e251c instanceof _0x3e39b8||(_0x4e251c=new _0x3e39b8(_0x4e251c)),this['decode'](_0x4e251c,_0x4e251c['uint32']());},TrackChangesConnectMessage['verify']=function(_0x2171e2,_0x336858){return'object'!=typeof _0x2171e2||null===_0x2171e2?'object\x20expected':(void 0x0===_0x336858&&(_0x336858=0x0),_0x336858>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2171e2['documentId']&&Object['hasOwnProperty']['call'](_0x2171e2,'documentId')&&!$util['isString'](_0x2171e2['documentId'])?'documentId:\x20string\x20expected':null);},TrackChangesConnectMessage['fromObject']=function(object,_0x3aed58){if(object instanceof $root['TrackChangesConnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesConnectMessage:\x20object\x20expected');if(void 0x0===_0x3aed58&&(_0x3aed58=0x0),_0x3aed58>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x552fbf=new $root['TrackChangesConnectMessage']();return null!=object['documentId']&&(_0x552fbf['documentId']=String(object['documentId'])),_0x552fbf;},TrackChangesConnectMessage['toObject']=function(_0x24d50b,options,_0x381a22){if(options||(options={}),void 0x0===_0x381a22&&(_0x381a22=0x0),_0x381a22>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']=''),null!=_0x24d50b['documentId']&&Object['hasOwnProperty']['call'](_0x24d50b,'documentId')&&(object['documentId']=_0x24d50b['documentId']),object;},TrackChangesConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesConnectMessage';},TrackChangesConnectMessage;}()),$root['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function TrackChangesBatchUpdateSuggestionsStateMessage(properties){if(this['ids']=[],properties){for(var _0x4768b1=Object['keys'](properties),_0xa06968=0x0;_0xa06968<_0x4768b1['length'];++_0xa06968)null!=properties[_0x4768b1[_0xa06968]]&&'__proto__'!==_0x4768b1[_0xa06968]&&(this[_0x4768b1[_0xa06968]]=properties[_0x4768b1[_0xa06968]]);}}return TrackChangesBatchUpdateSuggestionsStateMessage['prototype']['ids']=$util['emptyArray'],TrackChangesBatchUpdateSuggestionsStateMessage['prototype']['documentId']='',TrackChangesBatchUpdateSuggestionsStateMessage['prototype']['state']='',TrackChangesBatchUpdateSuggestionsStateMessage['create']=function(properties){return new TrackChangesBatchUpdateSuggestionsStateMessage(properties);},TrackChangesBatchUpdateSuggestionsStateMessage['encode']=function(_0x1136f0,writer,_0x35ee2a){if(writer||(writer=$Writer['create']()),void 0x0===_0x35ee2a&&(_0x35ee2a=0x0),_0x35ee2a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x1136f0['ids']&&_0x1136f0['ids']['length']){for(var _0x3efc39=0x0;_0x3efc39<_0x1136f0['ids']['length'];++_0x3efc39)writer['uint32'](0xa)['string'](_0x1136f0['ids'][_0x3efc39]);}return null!=_0x1136f0['documentId']&&Object['hasOwnProperty']['call'](_0x1136f0,'documentId')&&writer['uint32'](0x12)['string'](_0x1136f0['documentId']),null!=_0x1136f0['state']&&Object['hasOwnProperty']['call'](_0x1136f0,'state')&&writer['uint32'](0x1a)['string'](_0x1136f0['state']),writer;},TrackChangesBatchUpdateSuggestionsStateMessage['encodeDelimited']=function(_0xd58c79,writer){return this['encode'](_0xd58c79,writer)['ldelim']();},TrackChangesBatchUpdateSuggestionsStateMessage['decode']=function(_0x310e45,length,_0x69618a,_0x51e492){if(_0x310e45 instanceof _0x3e39b8||(_0x310e45=_0x3e39b8['create'](_0x310e45)),void 0x0===_0x51e492&&(_0x51e492=0x0),_0x51e492>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x470b03=void 0x0===length?_0x310e45['len']:_0x310e45['pos']+length,_0x17dc08=new $root['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x310e45['pos']<_0x470b03;){var tag=_0x310e45['uint32']();if(tag===_0x69618a)break;switch(tag>>>0x3){case 0x1:_0x17dc08['ids']&&_0x17dc08['ids']['length']||(_0x17dc08['ids']=[]),_0x17dc08['ids']['push'](_0x310e45['string']());break;case 0x2:_0x17dc08['documentId']=_0x310e45['string']();break;case 0x3:_0x17dc08['state']=_0x310e45['string']();break;default:_0x310e45['skipType'](0x7&tag,_0x51e492);}}return _0x17dc08;},TrackChangesBatchUpdateSuggestionsStateMessage['decodeDelimited']=function(_0x55c910){return _0x55c910 instanceof _0x3e39b8||(_0x55c910=new _0x3e39b8(_0x55c910)),this['decode'](_0x55c910,_0x55c910['uint32']());},TrackChangesBatchUpdateSuggestionsStateMessage['verify']=function(_0x3b13f9,_0x512448){if('object'!=typeof _0x3b13f9||null===_0x3b13f9)return'object\x20expected';if(void 0x0===_0x512448&&(_0x512448=0x0),_0x512448>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3b13f9['ids']&&Object['hasOwnProperty']['call'](_0x3b13f9,'ids')){if(!Array['isArray'](_0x3b13f9['ids']))return'ids:\x20array\x20expected';for(var _0x18cbf3=0x0;_0x18cbf3<_0x3b13f9['ids']['length'];++_0x18cbf3)if(!$util['isString'](_0x3b13f9['ids'][_0x18cbf3]))return'ids:\x20string[]\x20expected';}return null!=_0x3b13f9['documentId']&&Object['hasOwnProperty']['call'](_0x3b13f9,'documentId')&&!$util['isString'](_0x3b13f9['documentId'])?'documentId:\x20string\x20expected':null!=_0x3b13f9['state']&&Object['hasOwnProperty']['call'](_0x3b13f9,'state')&&!$util['isString'](_0x3b13f9['state'])?'state:\x20string\x20expected':null;},TrackChangesBatchUpdateSuggestionsStateMessage['fromObject']=function(object,_0x4aa004){if(object instanceof $root['TrackChangesBatchUpdateSuggestionsStateMessage'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage:\x20object\x20expected');if(void 0x0===_0x4aa004&&(_0x4aa004=0x0),_0x4aa004>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x34e214=new $root['TrackChangesBatchUpdateSuggestionsStateMessage']();if(object['ids']){if(!Array['isArray'](object['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x34e214['ids']=[];for(var _0x4c15a6=0x0;_0x4c15a6<object['ids']['length'];++_0x4c15a6)_0x34e214['ids'][_0x4c15a6]=String(object['ids'][_0x4c15a6]);}return null!=object['documentId']&&(_0x34e214['documentId']=String(object['documentId'])),null!=object['state']&&(_0x34e214['state']=String(object['state'])),_0x34e214;},TrackChangesBatchUpdateSuggestionsStateMessage['toObject']=function(_0x55d6ca,options,_0x56f113){if(options||(options={}),void 0x0===_0x56f113&&(_0x56f113=0x0),_0x56f113>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['ids']=[]),options['defaults']&&(object['documentId']='',object['state']=''),_0x55d6ca['ids']&&_0x55d6ca['ids']['length']){object['ids']=[];for(var _0x3a16be=0x0;_0x3a16be<_0x55d6ca['ids']['length'];++_0x3a16be)object['ids'][_0x3a16be]=_0x55d6ca['ids'][_0x3a16be];}return null!=_0x55d6ca['documentId']&&Object['hasOwnProperty']['call'](_0x55d6ca,'documentId')&&(object['documentId']=_0x55d6ca['documentId']),null!=_0x55d6ca['state']&&Object['hasOwnProperty']['call'](_0x55d6ca,'state')&&(object['state']=_0x55d6ca['state']),object;},TrackChangesBatchUpdateSuggestionsStateMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesBatchUpdateSuggestionsStateMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesBatchUpdateSuggestionsStateMessage';},TrackChangesBatchUpdateSuggestionsStateMessage;}()),$root['TrackChangesAddSuggestionMessage']=(function(){function TrackChangesAddSuggestionMessage(properties){if(properties){for(var _0x1a8e7b=Object['keys'](properties),_0x3f6a40=0x0;_0x3f6a40<_0x1a8e7b['length'];++_0x3f6a40)null!=properties[_0x1a8e7b[_0x3f6a40]]&&'__proto__'!==_0x1a8e7b[_0x3f6a40]&&(this[_0x1a8e7b[_0x3f6a40]]=properties[_0x1a8e7b[_0x3f6a40]]);}}return TrackChangesAddSuggestionMessage['prototype']['id']='',TrackChangesAddSuggestionMessage['prototype']['documentId']='',TrackChangesAddSuggestionMessage['prototype']['type']='',TrackChangesAddSuggestionMessage['prototype']['data']='',TrackChangesAddSuggestionMessage['prototype']['originalSuggestionId']='',TrackChangesAddSuggestionMessage['prototype']['attributes']='',TrackChangesAddSuggestionMessage['create']=function(properties){return new TrackChangesAddSuggestionMessage(properties);},TrackChangesAddSuggestionMessage['encode']=function(_0x39c418,writer,_0x5f162b){if(writer||(writer=$Writer['create']()),void 0x0===_0x5f162b&&(_0x5f162b=0x0),_0x5f162b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x39c418['id']&&Object['hasOwnProperty']['call'](_0x39c418,'id')&&writer['uint32'](0xa)['string'](_0x39c418['id']),null!=_0x39c418['documentId']&&Object['hasOwnProperty']['call'](_0x39c418,'documentId')&&writer['uint32'](0x12)['string'](_0x39c418['documentId']),null!=_0x39c418['type']&&Object['hasOwnProperty']['call'](_0x39c418,'type')&&writer['uint32'](0x1a)['string'](_0x39c418['type']),null!=_0x39c418['data']&&Object['hasOwnProperty']['call'](_0x39c418,'data')&&writer['uint32'](0x22)['string'](_0x39c418['data']),null!=_0x39c418['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x39c418,'originalSuggestionId')&&writer['uint32'](0x2a)['string'](_0x39c418['originalSuggestionId']),null!=_0x39c418['attributes']&&Object['hasOwnProperty']['call'](_0x39c418,'attributes')&&writer['uint32'](0x32)['string'](_0x39c418['attributes']),writer;},TrackChangesAddSuggestionMessage['encodeDelimited']=function(_0x4f1d0c,writer){return this['encode'](_0x4f1d0c,writer)['ldelim']();},TrackChangesAddSuggestionMessage['decode']=function(_0x3a2383,length,_0x54058c,_0x55a6ba){if(_0x3a2383 instanceof _0x3e39b8||(_0x3a2383=_0x3e39b8['create'](_0x3a2383)),void 0x0===_0x55a6ba&&(_0x55a6ba=0x0),_0x55a6ba>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x29c062=void 0x0===length?_0x3a2383['len']:_0x3a2383['pos']+length,_0x5c1b9c=new $root['TrackChangesAddSuggestionMessage']();_0x3a2383['pos']<_0x29c062;){var tag=_0x3a2383['uint32']();if(tag===_0x54058c)break;switch(tag>>>0x3){case 0x1:_0x5c1b9c['id']=_0x3a2383['string']();break;case 0x2:_0x5c1b9c['documentId']=_0x3a2383['string']();break;case 0x3:_0x5c1b9c['type']=_0x3a2383['string']();break;case 0x4:_0x5c1b9c['data']=_0x3a2383['string']();break;case 0x5:_0x5c1b9c['originalSuggestionId']=_0x3a2383['string']();break;case 0x6:_0x5c1b9c['attributes']=_0x3a2383['string']();break;default:_0x3a2383['skipType'](0x7&tag,_0x55a6ba);}}return _0x5c1b9c;},TrackChangesAddSuggestionMessage['decodeDelimited']=function(_0x548f7a){return _0x548f7a instanceof _0x3e39b8||(_0x548f7a=new _0x3e39b8(_0x548f7a)),this['decode'](_0x548f7a,_0x548f7a['uint32']());},TrackChangesAddSuggestionMessage['verify']=function(_0x5e317f,_0x57795e){return'object'!=typeof _0x5e317f||null===_0x5e317f?'object\x20expected':(void 0x0===_0x57795e&&(_0x57795e=0x0),_0x57795e>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5e317f['id']&&Object['hasOwnProperty']['call'](_0x5e317f,'id')&&!$util['isString'](_0x5e317f['id'])?'id:\x20string\x20expected':null!=_0x5e317f['documentId']&&Object['hasOwnProperty']['call'](_0x5e317f,'documentId')&&!$util['isString'](_0x5e317f['documentId'])?'documentId:\x20string\x20expected':null!=_0x5e317f['type']&&Object['hasOwnProperty']['call'](_0x5e317f,'type')&&!$util['isString'](_0x5e317f['type'])?'type:\x20string\x20expected':null!=_0x5e317f['data']&&Object['hasOwnProperty']['call'](_0x5e317f,'data')&&!$util['isString'](_0x5e317f['data'])?'data:\x20string\x20expected':null!=_0x5e317f['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x5e317f,'originalSuggestionId')&&!$util['isString'](_0x5e317f['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x5e317f['attributes']&&Object['hasOwnProperty']['call'](_0x5e317f,'attributes')&&!$util['isString'](_0x5e317f['attributes'])?'attributes:\x20string\x20expected':null);},TrackChangesAddSuggestionMessage['fromObject']=function(object,_0x22a830){if(object instanceof $root['TrackChangesAddSuggestionMessage'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesAddSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x22a830&&(_0x22a830=0x0),_0x22a830>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5067c1=new $root['TrackChangesAddSuggestionMessage']();return null!=object['id']&&(_0x5067c1['id']=String(object['id'])),null!=object['documentId']&&(_0x5067c1['documentId']=String(object['documentId'])),null!=object['type']&&(_0x5067c1['type']=String(object['type'])),null!=object['data']&&(_0x5067c1['data']=String(object['data'])),null!=object['originalSuggestionId']&&(_0x5067c1['originalSuggestionId']=String(object['originalSuggestionId'])),null!=object['attributes']&&(_0x5067c1['attributes']=String(object['attributes'])),_0x5067c1;},TrackChangesAddSuggestionMessage['toObject']=function(_0x5b3dcd,options,_0xdab0dc){if(options||(options={}),void 0x0===_0xdab0dc&&(_0xdab0dc=0x0),_0xdab0dc>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['documentId']='',object['type']='',object['data']='',object['originalSuggestionId']='',object['attributes']=''),null!=_0x5b3dcd['id']&&Object['hasOwnProperty']['call'](_0x5b3dcd,'id')&&(object['id']=_0x5b3dcd['id']),null!=_0x5b3dcd['documentId']&&Object['hasOwnProperty']['call'](_0x5b3dcd,'documentId')&&(object['documentId']=_0x5b3dcd['documentId']),null!=_0x5b3dcd['type']&&Object['hasOwnProperty']['call'](_0x5b3dcd,'type')&&(object['type']=_0x5b3dcd['type']),null!=_0x5b3dcd['data']&&Object['hasOwnProperty']['call'](_0x5b3dcd,'data')&&(object['data']=_0x5b3dcd['data']),null!=_0x5b3dcd['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x5b3dcd,'originalSuggestionId')&&(object['originalSuggestionId']=_0x5b3dcd['originalSuggestionId']),null!=_0x5b3dcd['attributes']&&Object['hasOwnProperty']['call'](_0x5b3dcd,'attributes')&&(object['attributes']=_0x5b3dcd['attributes']),object;},TrackChangesAddSuggestionMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesAddSuggestionMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesAddSuggestionMessage';},TrackChangesAddSuggestionMessage;}()),$root['SuggestionDescriptor']=(function(){function SuggestionDescriptor(properties){if(properties){for(var _0x484f94=Object['keys'](properties),_0x2a82f3=0x0;_0x2a82f3<_0x484f94['length'];++_0x2a82f3)null!=properties[_0x484f94[_0x2a82f3]]&&'__proto__'!==_0x484f94[_0x2a82f3]&&(this[_0x484f94[_0x2a82f3]]=properties[_0x484f94[_0x2a82f3]]);}}return SuggestionDescriptor['prototype']['id']='',SuggestionDescriptor['prototype']['authorId']='',SuggestionDescriptor['prototype']['type']='',SuggestionDescriptor['prototype']['createdAt']='',SuggestionDescriptor['prototype']['data']='',SuggestionDescriptor['prototype']['hasComments']=!0x1,SuggestionDescriptor['prototype']['state']='',SuggestionDescriptor['prototype']['attributes']='',SuggestionDescriptor['create']=function(properties){return new SuggestionDescriptor(properties);},SuggestionDescriptor['encode']=function(_0x4e460b,writer,_0x1a9d8d){if(writer||(writer=$Writer['create']()),void 0x0===_0x1a9d8d&&(_0x1a9d8d=0x0),_0x1a9d8d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4e460b['id']&&Object['hasOwnProperty']['call'](_0x4e460b,'id')&&writer['uint32'](0xa)['string'](_0x4e460b['id']),null!=_0x4e460b['authorId']&&Object['hasOwnProperty']['call'](_0x4e460b,'authorId')&&writer['uint32'](0x12)['string'](_0x4e460b['authorId']),null!=_0x4e460b['type']&&Object['hasOwnProperty']['call'](_0x4e460b,'type')&&writer['uint32'](0x1a)['string'](_0x4e460b['type']),null!=_0x4e460b['createdAt']&&Object['hasOwnProperty']['call'](_0x4e460b,'createdAt')&&writer['uint32'](0x22)['string'](_0x4e460b['createdAt']),null!=_0x4e460b['data']&&Object['hasOwnProperty']['call'](_0x4e460b,'data')&&writer['uint32'](0x2a)['string'](_0x4e460b['data']),null!=_0x4e460b['hasComments']&&Object['hasOwnProperty']['call'](_0x4e460b,'hasComments')&&writer['uint32'](0x30)['bool'](_0x4e460b['hasComments']),null!=_0x4e460b['state']&&Object['hasOwnProperty']['call'](_0x4e460b,'state')&&writer['uint32'](0x3a)['string'](_0x4e460b['state']),null!=_0x4e460b['attributes']&&Object['hasOwnProperty']['call'](_0x4e460b,'attributes')&&writer['uint32'](0x42)['string'](_0x4e460b['attributes']),writer;},SuggestionDescriptor['encodeDelimited']=function(_0x11f1e0,writer){return this['encode'](_0x11f1e0,writer)['ldelim']();},SuggestionDescriptor['decode']=function(_0x126bcb,length,_0x23f605,_0x2e42d1){if(_0x126bcb instanceof _0x3e39b8||(_0x126bcb=_0x3e39b8['create'](_0x126bcb)),void 0x0===_0x2e42d1&&(_0x2e42d1=0x0),_0x2e42d1>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2b29fc=void 0x0===length?_0x126bcb['len']:_0x126bcb['pos']+length,_0x40a641=new $root['SuggestionDescriptor']();_0x126bcb['pos']<_0x2b29fc;){var tag=_0x126bcb['uint32']();if(tag===_0x23f605)break;switch(tag>>>0x3){case 0x1:_0x40a641['id']=_0x126bcb['string']();break;case 0x2:_0x40a641['authorId']=_0x126bcb['string']();break;case 0x3:_0x40a641['type']=_0x126bcb['string']();break;case 0x4:_0x40a641['createdAt']=_0x126bcb['string']();break;case 0x5:_0x40a641['data']=_0x126bcb['string']();break;case 0x6:_0x40a641['hasComments']=_0x126bcb['bool']();break;case 0x7:_0x40a641['state']=_0x126bcb['string']();break;case 0x8:_0x40a641['attributes']=_0x126bcb['string']();break;default:_0x126bcb['skipType'](0x7&tag,_0x2e42d1);}}return _0x40a641;},SuggestionDescriptor['decodeDelimited']=function(_0x3bd1af){return _0x3bd1af instanceof _0x3e39b8||(_0x3bd1af=new _0x3e39b8(_0x3bd1af)),this['decode'](_0x3bd1af,_0x3bd1af['uint32']());},SuggestionDescriptor['verify']=function(_0xcd038d,_0xfb2350){return'object'!=typeof _0xcd038d||null===_0xcd038d?'object\x20expected':(void 0x0===_0xfb2350&&(_0xfb2350=0x0),_0xfb2350>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xcd038d['id']&&Object['hasOwnProperty']['call'](_0xcd038d,'id')&&!$util['isString'](_0xcd038d['id'])?'id:\x20string\x20expected':null!=_0xcd038d['authorId']&&Object['hasOwnProperty']['call'](_0xcd038d,'authorId')&&!$util['isString'](_0xcd038d['authorId'])?'authorId:\x20string\x20expected':null!=_0xcd038d['type']&&Object['hasOwnProperty']['call'](_0xcd038d,'type')&&!$util['isString'](_0xcd038d['type'])?'type:\x20string\x20expected':null!=_0xcd038d['createdAt']&&Object['hasOwnProperty']['call'](_0xcd038d,'createdAt')&&!$util['isString'](_0xcd038d['createdAt'])?'createdAt:\x20string\x20expected':null!=_0xcd038d['data']&&Object['hasOwnProperty']['call'](_0xcd038d,'data')&&!$util['isString'](_0xcd038d['data'])?'data:\x20string\x20expected':null!=_0xcd038d['hasComments']&&Object['hasOwnProperty']['call'](_0xcd038d,'hasComments')&&'boolean'!=typeof _0xcd038d['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0xcd038d['state']&&Object['hasOwnProperty']['call'](_0xcd038d,'state')&&!$util['isString'](_0xcd038d['state'])?'state:\x20string\x20expected':null!=_0xcd038d['attributes']&&Object['hasOwnProperty']['call'](_0xcd038d,'attributes')&&!$util['isString'](_0xcd038d['attributes'])?'attributes:\x20string\x20expected':null);},SuggestionDescriptor['fromObject']=function(object,_0x192b57){if(object instanceof $root['SuggestionDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.SuggestionDescriptor:\x20object\x20expected');if(void 0x0===_0x192b57&&(_0x192b57=0x0),_0x192b57>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5cb7a9=new $root['SuggestionDescriptor']();return null!=object['id']&&(_0x5cb7a9['id']=String(object['id'])),null!=object['authorId']&&(_0x5cb7a9['authorId']=String(object['authorId'])),null!=object['type']&&(_0x5cb7a9['type']=String(object['type'])),null!=object['createdAt']&&(_0x5cb7a9['createdAt']=String(object['createdAt'])),null!=object['data']&&(_0x5cb7a9['data']=String(object['data'])),null!=object['hasComments']&&(_0x5cb7a9['hasComments']=Boolean(object['hasComments'])),null!=object['state']&&(_0x5cb7a9['state']=String(object['state'])),null!=object['attributes']&&(_0x5cb7a9['attributes']=String(object['attributes'])),_0x5cb7a9;},SuggestionDescriptor['toObject']=function(_0x10afc9,options,_0x4e0031){if(options||(options={}),void 0x0===_0x4e0031&&(_0x4e0031=0x0),_0x4e0031>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['authorId']='',object['type']='',object['createdAt']='',object['data']='',object['hasComments']=!0x1,object['state']='',object['attributes']=''),null!=_0x10afc9['id']&&Object['hasOwnProperty']['call'](_0x10afc9,'id')&&(object['id']=_0x10afc9['id']),null!=_0x10afc9['authorId']&&Object['hasOwnProperty']['call'](_0x10afc9,'authorId')&&(object['authorId']=_0x10afc9['authorId']),null!=_0x10afc9['type']&&Object['hasOwnProperty']['call'](_0x10afc9,'type')&&(object['type']=_0x10afc9['type']),null!=_0x10afc9['createdAt']&&Object['hasOwnProperty']['call'](_0x10afc9,'createdAt')&&(object['createdAt']=_0x10afc9['createdAt']),null!=_0x10afc9['data']&&Object['hasOwnProperty']['call'](_0x10afc9,'data')&&(object['data']=_0x10afc9['data']),null!=_0x10afc9['hasComments']&&Object['hasOwnProperty']['call'](_0x10afc9,'hasComments')&&(object['hasComments']=_0x10afc9['hasComments']),null!=_0x10afc9['state']&&Object['hasOwnProperty']['call'](_0x10afc9,'state')&&(object['state']=_0x10afc9['state']),null!=_0x10afc9['attributes']&&Object['hasOwnProperty']['call'](_0x10afc9,'attributes')&&(object['attributes']=_0x10afc9['attributes']),object;},SuggestionDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SuggestionDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SuggestionDescriptor';},SuggestionDescriptor;}()),$root['SessionsConnectResponse']=(function(){function SessionsConnectResponse(properties){if(this['sockets']=[],properties){for(var _0x5c9298=Object['keys'](properties),_0x5b3831=0x0;_0x5b3831<_0x5c9298['length'];++_0x5b3831)null!=properties[_0x5c9298[_0x5b3831]]&&'__proto__'!==_0x5c9298[_0x5b3831]&&(this[_0x5c9298[_0x5b3831]]=properties[_0x5c9298[_0x5b3831]]);}}return SessionsConnectResponse['prototype']['channel']='',SessionsConnectResponse['prototype']['sockets']=$util['emptyArray'],SessionsConnectResponse['create']=function(properties){return new SessionsConnectResponse(properties);},SessionsConnectResponse['encode']=function(_0x57dedd,writer,_0x5ac1ed){if(writer||(writer=$Writer['create']()),void 0x0===_0x5ac1ed&&(_0x5ac1ed=0x0),_0x5ac1ed>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x57dedd['channel']&&Object['hasOwnProperty']['call'](_0x57dedd,'channel')&&writer['uint32'](0xa)['string'](_0x57dedd['channel']),null!=_0x57dedd['sockets']&&_0x57dedd['sockets']['length']){for(var _0x53caf3=0x0;_0x53caf3<_0x57dedd['sockets']['length'];++_0x53caf3)$root['SessionsSocketDescriptor']['encode'](_0x57dedd['sockets'][_0x53caf3],writer['uint32'](0x12)['fork'](),_0x5ac1ed+0x1)['ldelim']();}return writer;},SessionsConnectResponse['encodeDelimited']=function(_0x3be883,writer){return this['encode'](_0x3be883,writer)['ldelim']();},SessionsConnectResponse['decode']=function(_0x517de4,length,_0x244776,_0x391362){if(_0x517de4 instanceof _0x3e39b8||(_0x517de4=_0x3e39b8['create'](_0x517de4)),void 0x0===_0x391362&&(_0x391362=0x0),_0x391362>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x32476d=void 0x0===length?_0x517de4['len']:_0x517de4['pos']+length,_0x1abf86=new $root['SessionsConnectResponse']();_0x517de4['pos']<_0x32476d;){var tag=_0x517de4['uint32']();if(tag===_0x244776)break;switch(tag>>>0x3){case 0x1:_0x1abf86['channel']=_0x517de4['string']();break;case 0x2:_0x1abf86['sockets']&&_0x1abf86['sockets']['length']||(_0x1abf86['sockets']=[]),_0x1abf86['sockets']['push']($root['SessionsSocketDescriptor']['decode'](_0x517de4,_0x517de4['uint32'](),void 0x0,_0x391362+0x1));break;default:_0x517de4['skipType'](0x7&tag,_0x391362);}}return _0x1abf86;},SessionsConnectResponse['decodeDelimited']=function(_0x561bfd){return _0x561bfd instanceof _0x3e39b8||(_0x561bfd=new _0x3e39b8(_0x561bfd)),this['decode'](_0x561bfd,_0x561bfd['uint32']());},SessionsConnectResponse['verify']=function(_0x18916c,_0x5befd1){if('object'!=typeof _0x18916c||null===_0x18916c)return'object\x20expected';if(void 0x0===_0x5befd1&&(_0x5befd1=0x0),_0x5befd1>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x18916c['channel']&&Object['hasOwnProperty']['call'](_0x18916c,'channel')&&!$util['isString'](_0x18916c['channel']))return'channel:\x20string\x20expected';if(null!=_0x18916c['sockets']&&Object['hasOwnProperty']['call'](_0x18916c,'sockets')){if(!Array['isArray'](_0x18916c['sockets']))return'sockets:\x20array\x20expected';for(var _0x3598b6=0x0;_0x3598b6<_0x18916c['sockets']['length'];++_0x3598b6){var _0x578b23=$root['SessionsSocketDescriptor']['verify'](_0x18916c['sockets'][_0x3598b6],_0x5befd1+0x1);if(_0x578b23)return'sockets.'+_0x578b23;}}return null;},SessionsConnectResponse['fromObject']=function(object,_0x50ecb8){if(object instanceof $root['SessionsConnectResponse'])return object;if(!$util['isObject'](object))throw TypeError('.SessionsConnectResponse:\x20object\x20expected');if(void 0x0===_0x50ecb8&&(_0x50ecb8=0x0),_0x50ecb8>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x779204=new $root['SessionsConnectResponse']();if(null!=object['channel']&&(_0x779204['channel']=String(object['channel'])),object['sockets']){if(!Array['isArray'](object['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x779204['sockets']=[];for(var _0x34e2df=0x0;_0x34e2df<object['sockets']['length'];++_0x34e2df){if(!$util['isObject'](object['sockets'][_0x34e2df]))throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x779204['sockets'][_0x34e2df]=$root['SessionsSocketDescriptor']['fromObject'](object['sockets'][_0x34e2df],_0x50ecb8+0x1);}}return _0x779204;},SessionsConnectResponse['toObject']=function(_0x592ae5,options,_0x1d2593){if(options||(options={}),void 0x0===_0x1d2593&&(_0x1d2593=0x0),_0x1d2593>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['sockets']=[]),options['defaults']&&(object['channel']=''),null!=_0x592ae5['channel']&&Object['hasOwnProperty']['call'](_0x592ae5,'channel')&&(object['channel']=_0x592ae5['channel']),_0x592ae5['sockets']&&_0x592ae5['sockets']['length']){object['sockets']=[];for(var _0x4d131d=0x0;_0x4d131d<_0x592ae5['sockets']['length'];++_0x4d131d)object['sockets'][_0x4d131d]=$root['SessionsSocketDescriptor']['toObject'](_0x592ae5['sockets'][_0x4d131d],options,_0x1d2593+0x1);}return object;},SessionsConnectResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SessionsConnectResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SessionsConnectResponse';},SessionsConnectResponse;}()),$root['SocketDisconnectMessage']=(function(){function SocketDisconnectMessage(properties){if(properties){for(var _0x32a27a=Object['keys'](properties),_0x475d06=0x0;_0x475d06<_0x32a27a['length'];++_0x475d06)null!=properties[_0x32a27a[_0x475d06]]&&'__proto__'!==_0x32a27a[_0x475d06]&&(this[_0x32a27a[_0x475d06]]=properties[_0x32a27a[_0x475d06]]);}}return SocketDisconnectMessage['prototype']['id']='',SocketDisconnectMessage['create']=function(properties){return new SocketDisconnectMessage(properties);},SocketDisconnectMessage['encode']=function(_0x477f56,writer,_0x1a597a){if(writer||(writer=$Writer['create']()),void 0x0===_0x1a597a&&(_0x1a597a=0x0),_0x1a597a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x477f56['id']&&Object['hasOwnProperty']['call'](_0x477f56,'id')&&writer['uint32'](0xa)['string'](_0x477f56['id']),writer;},SocketDisconnectMessage['encodeDelimited']=function(_0x2c4203,writer){return this['encode'](_0x2c4203,writer)['ldelim']();},SocketDisconnectMessage['decode']=function(_0x280d50,length,_0x13154a,_0x2615d7){if(_0x280d50 instanceof _0x3e39b8||(_0x280d50=_0x3e39b8['create'](_0x280d50)),void 0x0===_0x2615d7&&(_0x2615d7=0x0),_0x2615d7>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1dc3e0=void 0x0===length?_0x280d50['len']:_0x280d50['pos']+length,_0x5887ea=new $root['SocketDisconnectMessage']();_0x280d50['pos']<_0x1dc3e0;){var tag=_0x280d50['uint32']();if(tag===_0x13154a)break;if(tag>>>0x3==0x1)_0x5887ea['id']=_0x280d50['string']();else _0x280d50['skipType'](0x7&tag,_0x2615d7);}return _0x5887ea;},SocketDisconnectMessage['decodeDelimited']=function(_0x472221){return _0x472221 instanceof _0x3e39b8||(_0x472221=new _0x3e39b8(_0x472221)),this['decode'](_0x472221,_0x472221['uint32']());},SocketDisconnectMessage['verify']=function(_0x490249,_0x59cf4e){return'object'!=typeof _0x490249||null===_0x490249?'object\x20expected':(void 0x0===_0x59cf4e&&(_0x59cf4e=0x0),_0x59cf4e>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x490249['id']&&Object['hasOwnProperty']['call'](_0x490249,'id')&&!$util['isString'](_0x490249['id'])?'id:\x20string\x20expected':null);},SocketDisconnectMessage['fromObject']=function(object,_0x442e16){if(object instanceof $root['SocketDisconnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.SocketDisconnectMessage:\x20object\x20expected');if(void 0x0===_0x442e16&&(_0x442e16=0x0),_0x442e16>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5977e0=new $root['SocketDisconnectMessage']();return null!=object['id']&&(_0x5977e0['id']=String(object['id'])),_0x5977e0;},SocketDisconnectMessage['toObject']=function(_0x43d4e6,options,_0x2759cb){if(options||(options={}),void 0x0===_0x2759cb&&(_0x2759cb=0x0),_0x2759cb>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']=''),null!=_0x43d4e6['id']&&Object['hasOwnProperty']['call'](_0x43d4e6,'id')&&(object['id']=_0x43d4e6['id']),object;},SocketDisconnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SocketDisconnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SocketDisconnectMessage';},SocketDisconnectMessage;}()),$root['SocketConnectMessage']=(function(){function SocketConnectMessage(properties){if(this['permissions']=[],properties){for(var _0x1afaf9=Object['keys'](properties),_0xc002ce=0x0;_0xc002ce<_0x1afaf9['length'];++_0xc002ce)null!=properties[_0x1afaf9[_0xc002ce]]&&'__proto__'!==_0x1afaf9[_0xc002ce]&&(this[_0x1afaf9[_0xc002ce]]=properties[_0x1afaf9[_0xc002ce]]);}}return SocketConnectMessage['prototype']['id']='',SocketConnectMessage['prototype']['userId']='',SocketConnectMessage['prototype']['role']='',SocketConnectMessage['prototype']['permissions']=$util['emptyArray'],SocketConnectMessage['create']=function(properties){return new SocketConnectMessage(properties);},SocketConnectMessage['encode']=function(_0x5ccc52,writer,_0x37ac2f){if(writer||(writer=$Writer['create']()),void 0x0===_0x37ac2f&&(_0x37ac2f=0x0),_0x37ac2f>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x5ccc52['id']&&Object['hasOwnProperty']['call'](_0x5ccc52,'id')&&writer['uint32'](0xa)['string'](_0x5ccc52['id']),null!=_0x5ccc52['userId']&&Object['hasOwnProperty']['call'](_0x5ccc52,'userId')&&writer['uint32'](0x12)['string'](_0x5ccc52['userId']),null!=_0x5ccc52['role']&&Object['hasOwnProperty']['call'](_0x5ccc52,'role')&&writer['uint32'](0x1a)['string'](_0x5ccc52['role']),null!=_0x5ccc52['permissions']&&_0x5ccc52['permissions']['length']){for(var _0x1c8481=0x0;_0x1c8481<_0x5ccc52['permissions']['length'];++_0x1c8481)writer['uint32'](0x22)['string'](_0x5ccc52['permissions'][_0x1c8481]);}return writer;},SocketConnectMessage['encodeDelimited']=function(_0x3d09eb,writer){return this['encode'](_0x3d09eb,writer)['ldelim']();},SocketConnectMessage['decode']=function(_0x43f41d,length,_0x435869,_0x368a6d){if(_0x43f41d instanceof _0x3e39b8||(_0x43f41d=_0x3e39b8['create'](_0x43f41d)),void 0x0===_0x368a6d&&(_0x368a6d=0x0),_0x368a6d>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4e45ff=void 0x0===length?_0x43f41d['len']:_0x43f41d['pos']+length,_0x1fadd1=new $root['SocketConnectMessage']();_0x43f41d['pos']<_0x4e45ff;){var tag=_0x43f41d['uint32']();if(tag===_0x435869)break;switch(tag>>>0x3){case 0x1:_0x1fadd1['id']=_0x43f41d['string']();break;case 0x2:_0x1fadd1['userId']=_0x43f41d['string']();break;case 0x3:_0x1fadd1['role']=_0x43f41d['string']();break;case 0x4:_0x1fadd1['permissions']&&_0x1fadd1['permissions']['length']||(_0x1fadd1['permissions']=[]),_0x1fadd1['permissions']['push'](_0x43f41d['string']());break;default:_0x43f41d['skipType'](0x7&tag,_0x368a6d);}}return _0x1fadd1;},SocketConnectMessage['decodeDelimited']=function(_0x237dc6){return _0x237dc6 instanceof _0x3e39b8||(_0x237dc6=new _0x3e39b8(_0x237dc6)),this['decode'](_0x237dc6,_0x237dc6['uint32']());},SocketConnectMessage['verify']=function(_0x332009,_0x3efad3){if('object'!=typeof _0x332009||null===_0x332009)return'object\x20expected';if(void 0x0===_0x3efad3&&(_0x3efad3=0x0),_0x3efad3>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x332009['id']&&Object['hasOwnProperty']['call'](_0x332009,'id')&&!$util['isString'](_0x332009['id']))return'id:\x20string\x20expected';if(null!=_0x332009['userId']&&Object['hasOwnProperty']['call'](_0x332009,'userId')&&!$util['isString'](_0x332009['userId']))return'userId:\x20string\x20expected';if(null!=_0x332009['role']&&Object['hasOwnProperty']['call'](_0x332009,'role')&&!$util['isString'](_0x332009['role']))return'role:\x20string\x20expected';if(null!=_0x332009['permissions']&&Object['hasOwnProperty']['call'](_0x332009,'permissions')){if(!Array['isArray'](_0x332009['permissions']))return'permissions:\x20array\x20expected';for(var _0x101aec=0x0;_0x101aec<_0x332009['permissions']['length'];++_0x101aec)if(!$util['isString'](_0x332009['permissions'][_0x101aec]))return'permissions:\x20string[]\x20expected';}return null;},SocketConnectMessage['fromObject']=function(object,_0x2797ea){if(object instanceof $root['SocketConnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.SocketConnectMessage:\x20object\x20expected');if(void 0x0===_0x2797ea&&(_0x2797ea=0x0),_0x2797ea>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x48a8e8=new $root['SocketConnectMessage']();if(null!=object['id']&&(_0x48a8e8['id']=String(object['id'])),null!=object['userId']&&(_0x48a8e8['userId']=String(object['userId'])),null!=object['role']&&(_0x48a8e8['role']=String(object['role'])),object['permissions']){if(!Array['isArray'](object['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x48a8e8['permissions']=[];for(var _0x21e488=0x0;_0x21e488<object['permissions']['length'];++_0x21e488)_0x48a8e8['permissions'][_0x21e488]=String(object['permissions'][_0x21e488]);}return _0x48a8e8;},SocketConnectMessage['toObject']=function(_0x3f8ba9,options,_0x47fed6){if(options||(options={}),void 0x0===_0x47fed6&&(_0x47fed6=0x0),_0x47fed6>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['permissions']=[]),options['defaults']&&(object['id']='',object['userId']='',object['role']=''),null!=_0x3f8ba9['id']&&Object['hasOwnProperty']['call'](_0x3f8ba9,'id')&&(object['id']=_0x3f8ba9['id']),null!=_0x3f8ba9['userId']&&Object['hasOwnProperty']['call'](_0x3f8ba9,'userId')&&(object['userId']=_0x3f8ba9['userId']),null!=_0x3f8ba9['role']&&Object['hasOwnProperty']['call'](_0x3f8ba9,'role')&&(object['role']=_0x3f8ba9['role']),_0x3f8ba9['permissions']&&_0x3f8ba9['permissions']['length']){object['permissions']=[];for(var _0xb2c4a5=0x0;_0xb2c4a5<_0x3f8ba9['permissions']['length'];++_0xb2c4a5)object['permissions'][_0xb2c4a5]=_0x3f8ba9['permissions'][_0xb2c4a5];}return object;},SocketConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SocketConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SocketConnectMessage';},SocketConnectMessage;}()),$root['SessionsConnectMessage']=(function(){function SessionsConnectMessage(properties){if(properties){for(var _0xde4985=Object['keys'](properties),_0x39c913=0x0;_0x39c913<_0xde4985['length'];++_0x39c913)null!=properties[_0xde4985[_0x39c913]]&&'__proto__'!==_0xde4985[_0x39c913]&&(this[_0xde4985[_0x39c913]]=properties[_0xde4985[_0x39c913]]);}}return SessionsConnectMessage['prototype']['id']='',SessionsConnectMessage['prototype']['sessionType']=0x0,SessionsConnectMessage['create']=function(properties){return new SessionsConnectMessage(properties);},SessionsConnectMessage['encode']=function(_0x3eb9b9,writer,_0x12ddb4){if(writer||(writer=$Writer['create']()),void 0x0===_0x12ddb4&&(_0x12ddb4=0x0),_0x12ddb4>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3eb9b9['id']&&Object['hasOwnProperty']['call'](_0x3eb9b9,'id')&&writer['uint32'](0xa)['string'](_0x3eb9b9['id']),null!=_0x3eb9b9['sessionType']&&Object['hasOwnProperty']['call'](_0x3eb9b9,'sessionType')&&writer['uint32'](0x10)['uint32'](_0x3eb9b9['sessionType']),writer;},SessionsConnectMessage['encodeDelimited']=function(_0x1304ac,writer){return this['encode'](_0x1304ac,writer)['ldelim']();},SessionsConnectMessage['decode']=function(_0x202401,length,_0x42c745,_0x5a7b7d){if(_0x202401 instanceof _0x3e39b8||(_0x202401=_0x3e39b8['create'](_0x202401)),void 0x0===_0x5a7b7d&&(_0x5a7b7d=0x0),_0x5a7b7d>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x395305=void 0x0===length?_0x202401['len']:_0x202401['pos']+length,_0x29ad29=new $root['SessionsConnectMessage']();_0x202401['pos']<_0x395305;){var tag=_0x202401['uint32']();if(tag===_0x42c745)break;switch(tag>>>0x3){case 0x1:_0x29ad29['id']=_0x202401['string']();break;case 0x2:_0x29ad29['sessionType']=_0x202401['uint32']();break;default:_0x202401['skipType'](0x7&tag,_0x5a7b7d);}}return _0x29ad29;},SessionsConnectMessage['decodeDelimited']=function(_0x5d043b){return _0x5d043b instanceof _0x3e39b8||(_0x5d043b=new _0x3e39b8(_0x5d043b)),this['decode'](_0x5d043b,_0x5d043b['uint32']());},SessionsConnectMessage['verify']=function(_0xc9a254,_0x4918ef){return'object'!=typeof _0xc9a254||null===_0xc9a254?'object\x20expected':(void 0x0===_0x4918ef&&(_0x4918ef=0x0),_0x4918ef>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xc9a254['id']&&Object['hasOwnProperty']['call'](_0xc9a254,'id')&&!$util['isString'](_0xc9a254['id'])?'id:\x20string\x20expected':null!=_0xc9a254['sessionType']&&Object['hasOwnProperty']['call'](_0xc9a254,'sessionType')&&!$util['isInteger'](_0xc9a254['sessionType'])?'sessionType:\x20integer\x20expected':null);},SessionsConnectMessage['fromObject']=function(object,_0x1b11f9){if(object instanceof $root['SessionsConnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.SessionsConnectMessage:\x20object\x20expected');if(void 0x0===_0x1b11f9&&(_0x1b11f9=0x0),_0x1b11f9>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x911bb9=new $root['SessionsConnectMessage']();return null!=object['id']&&(_0x911bb9['id']=String(object['id'])),null!=object['sessionType']&&(_0x911bb9['sessionType']=object['sessionType']>>>0x0),_0x911bb9;},SessionsConnectMessage['toObject']=function(_0x385c89,options,_0x1f41c8){if(options||(options={}),void 0x0===_0x1f41c8&&(_0x1f41c8=0x0),_0x1f41c8>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['sessionType']=0x0),null!=_0x385c89['id']&&Object['hasOwnProperty']['call'](_0x385c89,'id')&&(object['id']=_0x385c89['id']),null!=_0x385c89['sessionType']&&Object['hasOwnProperty']['call'](_0x385c89,'sessionType')&&(object['sessionType']=_0x385c89['sessionType']),object;},SessionsConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SessionsConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SessionsConnectMessage';},SessionsConnectMessage;}()),$root['SessionsSocketDescriptor']=(function(){function SessionsSocketDescriptor(properties){if(this['permissions']=[],properties){for(var _0x52bfe3=Object['keys'](properties),_0xb594c2=0x0;_0xb594c2<_0x52bfe3['length'];++_0xb594c2)null!=properties[_0x52bfe3[_0xb594c2]]&&'__proto__'!==_0x52bfe3[_0xb594c2]&&(this[_0x52bfe3[_0xb594c2]]=properties[_0x52bfe3[_0xb594c2]]);}}return SessionsSocketDescriptor['prototype']['session']='',SessionsSocketDescriptor['prototype']['user']='',SessionsSocketDescriptor['prototype']['role']='',SessionsSocketDescriptor['prototype']['permissions']=$util['emptyArray'],SessionsSocketDescriptor['create']=function(properties){return new SessionsSocketDescriptor(properties);},SessionsSocketDescriptor['encode']=function(_0x262799,writer,_0xe52e22){if(writer||(writer=$Writer['create']()),void 0x0===_0xe52e22&&(_0xe52e22=0x0),_0xe52e22>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x262799['session']&&Object['hasOwnProperty']['call'](_0x262799,'session')&&writer['uint32'](0xa)['string'](_0x262799['session']),null!=_0x262799['user']&&Object['hasOwnProperty']['call'](_0x262799,'user')&&writer['uint32'](0x12)['string'](_0x262799['user']),null!=_0x262799['role']&&Object['hasOwnProperty']['call'](_0x262799,'role')&&writer['uint32'](0x1a)['string'](_0x262799['role']),null!=_0x262799['permissions']&&_0x262799['permissions']['length']){for(var _0x52dbc4=0x0;_0x52dbc4<_0x262799['permissions']['length'];++_0x52dbc4)writer['uint32'](0x22)['string'](_0x262799['permissions'][_0x52dbc4]);}return writer;},SessionsSocketDescriptor['encodeDelimited']=function(_0x248ce2,writer){return this['encode'](_0x248ce2,writer)['ldelim']();},SessionsSocketDescriptor['decode']=function(_0x4478ab,length,_0x27131e,_0x5a2453){if(_0x4478ab instanceof _0x3e39b8||(_0x4478ab=_0x3e39b8['create'](_0x4478ab)),void 0x0===_0x5a2453&&(_0x5a2453=0x0),_0x5a2453>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x19a16c=void 0x0===length?_0x4478ab['len']:_0x4478ab['pos']+length,_0x33f5b2=new $root['SessionsSocketDescriptor']();_0x4478ab['pos']<_0x19a16c;){var tag=_0x4478ab['uint32']();if(tag===_0x27131e)break;switch(tag>>>0x3){case 0x1:_0x33f5b2['session']=_0x4478ab['string']();break;case 0x2:_0x33f5b2['user']=_0x4478ab['string']();break;case 0x3:_0x33f5b2['role']=_0x4478ab['string']();break;case 0x4:_0x33f5b2['permissions']&&_0x33f5b2['permissions']['length']||(_0x33f5b2['permissions']=[]),_0x33f5b2['permissions']['push'](_0x4478ab['string']());break;default:_0x4478ab['skipType'](0x7&tag,_0x5a2453);}}return _0x33f5b2;},SessionsSocketDescriptor['decodeDelimited']=function(_0x33a170){return _0x33a170 instanceof _0x3e39b8||(_0x33a170=new _0x3e39b8(_0x33a170)),this['decode'](_0x33a170,_0x33a170['uint32']());},SessionsSocketDescriptor['verify']=function(_0x40a863,_0x107032){if('object'!=typeof _0x40a863||null===_0x40a863)return'object\x20expected';if(void 0x0===_0x107032&&(_0x107032=0x0),_0x107032>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x40a863['session']&&Object['hasOwnProperty']['call'](_0x40a863,'session')&&!$util['isString'](_0x40a863['session']))return'session:\x20string\x20expected';if(null!=_0x40a863['user']&&Object['hasOwnProperty']['call'](_0x40a863,'user')&&!$util['isString'](_0x40a863['user']))return'user:\x20string\x20expected';if(null!=_0x40a863['role']&&Object['hasOwnProperty']['call'](_0x40a863,'role')&&!$util['isString'](_0x40a863['role']))return'role:\x20string\x20expected';if(null!=_0x40a863['permissions']&&Object['hasOwnProperty']['call'](_0x40a863,'permissions')){if(!Array['isArray'](_0x40a863['permissions']))return'permissions:\x20array\x20expected';for(var _0x36ba73=0x0;_0x36ba73<_0x40a863['permissions']['length'];++_0x36ba73)if(!$util['isString'](_0x40a863['permissions'][_0x36ba73]))return'permissions:\x20string[]\x20expected';}return null;},SessionsSocketDescriptor['fromObject']=function(object,_0x4ab876){if(object instanceof $root['SessionsSocketDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.SessionsSocketDescriptor:\x20object\x20expected');if(void 0x0===_0x4ab876&&(_0x4ab876=0x0),_0x4ab876>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x376c2d=new $root['SessionsSocketDescriptor']();if(null!=object['session']&&(_0x376c2d['session']=String(object['session'])),null!=object['user']&&(_0x376c2d['user']=String(object['user'])),null!=object['role']&&(_0x376c2d['role']=String(object['role'])),object['permissions']){if(!Array['isArray'](object['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x376c2d['permissions']=[];for(var _0x3a3465=0x0;_0x3a3465<object['permissions']['length'];++_0x3a3465)_0x376c2d['permissions'][_0x3a3465]=String(object['permissions'][_0x3a3465]);}return _0x376c2d;},SessionsSocketDescriptor['toObject']=function(_0x35aef6,options,_0x11329a){if(options||(options={}),void 0x0===_0x11329a&&(_0x11329a=0x0),_0x11329a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['permissions']=[]),options['defaults']&&(object['session']='',object['user']='',object['role']=''),null!=_0x35aef6['session']&&Object['hasOwnProperty']['call'](_0x35aef6,'session')&&(object['session']=_0x35aef6['session']),null!=_0x35aef6['user']&&Object['hasOwnProperty']['call'](_0x35aef6,'user')&&(object['user']=_0x35aef6['user']),null!=_0x35aef6['role']&&Object['hasOwnProperty']['call'](_0x35aef6,'role')&&(object['role']=_0x35aef6['role']),_0x35aef6['permissions']&&_0x35aef6['permissions']['length']){object['permissions']=[];for(var _0x155e1a=0x0;_0x155e1a<_0x35aef6['permissions']['length'];++_0x155e1a)object['permissions'][_0x155e1a]=_0x35aef6['permissions'][_0x155e1a];}return object;},SessionsSocketDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SessionsSocketDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SessionsSocketDescriptor';},SessionsSocketDescriptor;}()),$root['RevisionHistoryUpdateRevisionsResponse']=(function(){function RevisionHistoryUpdateRevisionsResponse(properties){if(properties){for(var _0x453bfc=Object['keys'](properties),_0x4250d7=0x0;_0x4250d7<_0x453bfc['length'];++_0x4250d7)null!=properties[_0x453bfc[_0x4250d7]]&&'__proto__'!==_0x453bfc[_0x4250d7]&&(this[_0x453bfc[_0x4250d7]]=properties[_0x453bfc[_0x4250d7]]);}}return RevisionHistoryUpdateRevisionsResponse['prototype']['requestId']=0x0,RevisionHistoryUpdateRevisionsResponse['create']=function(properties){return new RevisionHistoryUpdateRevisionsResponse(properties);},RevisionHistoryUpdateRevisionsResponse['encode']=function(_0x4e0a30,writer,_0x3720fc){if(writer||(writer=$Writer['create']()),void 0x0===_0x3720fc&&(_0x3720fc=0x0),_0x3720fc>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4e0a30['requestId']&&Object['hasOwnProperty']['call'](_0x4e0a30,'requestId')&&writer['uint32'](0x8)['uint32'](_0x4e0a30['requestId']),writer;},RevisionHistoryUpdateRevisionsResponse['encodeDelimited']=function(_0x4b2bd4,writer){return this['encode'](_0x4b2bd4,writer)['ldelim']();},RevisionHistoryUpdateRevisionsResponse['decode']=function(_0x31cc6d,length,_0x5a84b6,_0x16d697){if(_0x31cc6d instanceof _0x3e39b8||(_0x31cc6d=_0x3e39b8['create'](_0x31cc6d)),void 0x0===_0x16d697&&(_0x16d697=0x0),_0x16d697>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x35e044=void 0x0===length?_0x31cc6d['len']:_0x31cc6d['pos']+length,_0xa91f00=new $root['RevisionHistoryUpdateRevisionsResponse']();_0x31cc6d['pos']<_0x35e044;){var tag=_0x31cc6d['uint32']();if(tag===_0x5a84b6)break;if(tag>>>0x3==0x1)_0xa91f00['requestId']=_0x31cc6d['uint32']();else _0x31cc6d['skipType'](0x7&tag,_0x16d697);}return _0xa91f00;},RevisionHistoryUpdateRevisionsResponse['decodeDelimited']=function(_0x1ac67d){return _0x1ac67d instanceof _0x3e39b8||(_0x1ac67d=new _0x3e39b8(_0x1ac67d)),this['decode'](_0x1ac67d,_0x1ac67d['uint32']());},RevisionHistoryUpdateRevisionsResponse['verify']=function(_0x1ae496,_0x3f3e82){return'object'!=typeof _0x1ae496||null===_0x1ae496?'object\x20expected':(void 0x0===_0x3f3e82&&(_0x3f3e82=0x0),_0x3f3e82>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1ae496['requestId']&&Object['hasOwnProperty']['call'](_0x1ae496,'requestId')&&!$util['isInteger'](_0x1ae496['requestId'])?'requestId:\x20integer\x20expected':null);},RevisionHistoryUpdateRevisionsResponse['fromObject']=function(object,_0x36b018){if(object instanceof $root['RevisionHistoryUpdateRevisionsResponse'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryUpdateRevisionsResponse:\x20object\x20expected');if(void 0x0===_0x36b018&&(_0x36b018=0x0),_0x36b018>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2aa2b8=new $root['RevisionHistoryUpdateRevisionsResponse']();return null!=object['requestId']&&(_0x2aa2b8['requestId']=object['requestId']>>>0x0),_0x2aa2b8;},RevisionHistoryUpdateRevisionsResponse['toObject']=function(_0x2efb00,options,_0x40df1a){if(options||(options={}),void 0x0===_0x40df1a&&(_0x40df1a=0x0),_0x40df1a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['requestId']=0x0),null!=_0x2efb00['requestId']&&Object['hasOwnProperty']['call'](_0x2efb00,'requestId')&&(object['requestId']=_0x2efb00['requestId']),object;},RevisionHistoryUpdateRevisionsResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryUpdateRevisionsResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryUpdateRevisionsResponse';},RevisionHistoryUpdateRevisionsResponse;}()),$root['RevisionHistoryGetRevisionResponse']=(function(){function RevisionHistoryGetRevisionResponse(properties){if(properties){for(var _0x53768e=Object['keys'](properties),_0x3ae6ef=0x0;_0x3ae6ef<_0x53768e['length'];++_0x3ae6ef)null!=properties[_0x53768e[_0x3ae6ef]]&&'__proto__'!==_0x53768e[_0x3ae6ef]&&(this[_0x53768e[_0x3ae6ef]]=properties[_0x53768e[_0x3ae6ef]]);}}return RevisionHistoryGetRevisionResponse['prototype']['revisionId']='',RevisionHistoryGetRevisionResponse['prototype']['name']='',RevisionHistoryGetRevisionResponse['prototype']['creatorId']='',RevisionHistoryGetRevisionResponse['prototype']['authorsIds']='',RevisionHistoryGetRevisionResponse['prototype']['diffData']='',RevisionHistoryGetRevisionResponse['prototype']['createdAt']='',RevisionHistoryGetRevisionResponse['prototype']['attributes']='',RevisionHistoryGetRevisionResponse['prototype']['toVersion']=0x0,RevisionHistoryGetRevisionResponse['prototype']['fromVersion']=0x0,RevisionHistoryGetRevisionResponse['prototype']['isEmptyCurrent']=!0x1,RevisionHistoryGetRevisionResponse['create']=function(properties){return new RevisionHistoryGetRevisionResponse(properties);},RevisionHistoryGetRevisionResponse['encode']=function(_0x49752e,writer,_0x2f7a38){if(writer||(writer=$Writer['create']()),void 0x0===_0x2f7a38&&(_0x2f7a38=0x0),_0x2f7a38>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x49752e['revisionId']&&Object['hasOwnProperty']['call'](_0x49752e,'revisionId')&&writer['uint32'](0xa)['string'](_0x49752e['revisionId']),null!=_0x49752e['name']&&Object['hasOwnProperty']['call'](_0x49752e,'name')&&writer['uint32'](0x12)['string'](_0x49752e['name']),null!=_0x49752e['creatorId']&&Object['hasOwnProperty']['call'](_0x49752e,'creatorId')&&writer['uint32'](0x1a)['string'](_0x49752e['creatorId']),null!=_0x49752e['authorsIds']&&Object['hasOwnProperty']['call'](_0x49752e,'authorsIds')&&writer['uint32'](0x22)['string'](_0x49752e['authorsIds']),null!=_0x49752e['diffData']&&Object['hasOwnProperty']['call'](_0x49752e,'diffData')&&writer['uint32'](0x2a)['string'](_0x49752e['diffData']),null!=_0x49752e['createdAt']&&Object['hasOwnProperty']['call'](_0x49752e,'createdAt')&&writer['uint32'](0x32)['string'](_0x49752e['createdAt']),null!=_0x49752e['attributes']&&Object['hasOwnProperty']['call'](_0x49752e,'attributes')&&writer['uint32'](0x3a)['string'](_0x49752e['attributes']),null!=_0x49752e['toVersion']&&Object['hasOwnProperty']['call'](_0x49752e,'toVersion')&&writer['uint32'](0x40)['uint32'](_0x49752e['toVersion']),null!=_0x49752e['fromVersion']&&Object['hasOwnProperty']['call'](_0x49752e,'fromVersion')&&writer['uint32'](0x48)['uint32'](_0x49752e['fromVersion']),null!=_0x49752e['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x49752e,'isEmptyCurrent')&&writer['uint32'](0x50)['bool'](_0x49752e['isEmptyCurrent']),writer;},RevisionHistoryGetRevisionResponse['encodeDelimited']=function(_0x19d7e6,writer){return this['encode'](_0x19d7e6,writer)['ldelim']();},RevisionHistoryGetRevisionResponse['decode']=function(_0x28144d,length,_0x381d31,_0x251e03){if(_0x28144d instanceof _0x3e39b8||(_0x28144d=_0x3e39b8['create'](_0x28144d)),void 0x0===_0x251e03&&(_0x251e03=0x0),_0x251e03>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x48ea2c=void 0x0===length?_0x28144d['len']:_0x28144d['pos']+length,_0x1c29a6=new $root['RevisionHistoryGetRevisionResponse']();_0x28144d['pos']<_0x48ea2c;){var tag=_0x28144d['uint32']();if(tag===_0x381d31)break;switch(tag>>>0x3){case 0x1:_0x1c29a6['revisionId']=_0x28144d['string']();break;case 0x2:_0x1c29a6['name']=_0x28144d['string']();break;case 0x3:_0x1c29a6['creatorId']=_0x28144d['string']();break;case 0x4:_0x1c29a6['authorsIds']=_0x28144d['string']();break;case 0x5:_0x1c29a6['diffData']=_0x28144d['string']();break;case 0x6:_0x1c29a6['createdAt']=_0x28144d['string']();break;case 0x7:_0x1c29a6['attributes']=_0x28144d['string']();break;case 0x8:_0x1c29a6['toVersion']=_0x28144d['uint32']();break;case 0x9:_0x1c29a6['fromVersion']=_0x28144d['uint32']();break;case 0xa:_0x1c29a6['isEmptyCurrent']=_0x28144d['bool']();break;default:_0x28144d['skipType'](0x7&tag,_0x251e03);}}return _0x1c29a6;},RevisionHistoryGetRevisionResponse['decodeDelimited']=function(_0x46b013){return _0x46b013 instanceof _0x3e39b8||(_0x46b013=new _0x3e39b8(_0x46b013)),this['decode'](_0x46b013,_0x46b013['uint32']());},RevisionHistoryGetRevisionResponse['verify']=function(_0x374396,_0x16d4c8){return'object'!=typeof _0x374396||null===_0x374396?'object\x20expected':(void 0x0===_0x16d4c8&&(_0x16d4c8=0x0),_0x16d4c8>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x374396['revisionId']&&Object['hasOwnProperty']['call'](_0x374396,'revisionId')&&!$util['isString'](_0x374396['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x374396['name']&&Object['hasOwnProperty']['call'](_0x374396,'name')&&!$util['isString'](_0x374396['name'])?'name:\x20string\x20expected':null!=_0x374396['creatorId']&&Object['hasOwnProperty']['call'](_0x374396,'creatorId')&&!$util['isString'](_0x374396['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x374396['authorsIds']&&Object['hasOwnProperty']['call'](_0x374396,'authorsIds')&&!$util['isString'](_0x374396['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x374396['diffData']&&Object['hasOwnProperty']['call'](_0x374396,'diffData')&&!$util['isString'](_0x374396['diffData'])?'diffData:\x20string\x20expected':null!=_0x374396['createdAt']&&Object['hasOwnProperty']['call'](_0x374396,'createdAt')&&!$util['isString'](_0x374396['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x374396['attributes']&&Object['hasOwnProperty']['call'](_0x374396,'attributes')&&!$util['isString'](_0x374396['attributes'])?'attributes:\x20string\x20expected':null!=_0x374396['toVersion']&&Object['hasOwnProperty']['call'](_0x374396,'toVersion')&&!$util['isInteger'](_0x374396['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x374396['fromVersion']&&Object['hasOwnProperty']['call'](_0x374396,'fromVersion')&&!$util['isInteger'](_0x374396['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x374396['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x374396,'isEmptyCurrent')&&'boolean'!=typeof _0x374396['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},RevisionHistoryGetRevisionResponse['fromObject']=function(object,_0x32284b){if(object instanceof $root['RevisionHistoryGetRevisionResponse'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryGetRevisionResponse:\x20object\x20expected');if(void 0x0===_0x32284b&&(_0x32284b=0x0),_0x32284b>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x34b43d=new $root['RevisionHistoryGetRevisionResponse']();return null!=object['revisionId']&&(_0x34b43d['revisionId']=String(object['revisionId'])),null!=object['name']&&(_0x34b43d['name']=String(object['name'])),null!=object['creatorId']&&(_0x34b43d['creatorId']=String(object['creatorId'])),null!=object['authorsIds']&&(_0x34b43d['authorsIds']=String(object['authorsIds'])),null!=object['diffData']&&(_0x34b43d['diffData']=String(object['diffData'])),null!=object['createdAt']&&(_0x34b43d['createdAt']=String(object['createdAt'])),null!=object['attributes']&&(_0x34b43d['attributes']=String(object['attributes'])),null!=object['toVersion']&&(_0x34b43d['toVersion']=object['toVersion']>>>0x0),null!=object['fromVersion']&&(_0x34b43d['fromVersion']=object['fromVersion']>>>0x0),null!=object['isEmptyCurrent']&&(_0x34b43d['isEmptyCurrent']=Boolean(object['isEmptyCurrent'])),_0x34b43d;},RevisionHistoryGetRevisionResponse['toObject']=function(_0x15f0d9,options,_0xe913be){if(options||(options={}),void 0x0===_0xe913be&&(_0xe913be=0x0),_0xe913be>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['revisionId']='',object['name']='',object['creatorId']='',object['authorsIds']='',object['diffData']='',object['createdAt']='',object['attributes']='',object['toVersion']=0x0,object['fromVersion']=0x0,object['isEmptyCurrent']=!0x1),null!=_0x15f0d9['revisionId']&&Object['hasOwnProperty']['call'](_0x15f0d9,'revisionId')&&(object['revisionId']=_0x15f0d9['revisionId']),null!=_0x15f0d9['name']&&Object['hasOwnProperty']['call'](_0x15f0d9,'name')&&(object['name']=_0x15f0d9['name']),null!=_0x15f0d9['creatorId']&&Object['hasOwnProperty']['call'](_0x15f0d9,'creatorId')&&(object['creatorId']=_0x15f0d9['creatorId']),null!=_0x15f0d9['authorsIds']&&Object['hasOwnProperty']['call'](_0x15f0d9,'authorsIds')&&(object['authorsIds']=_0x15f0d9['authorsIds']),null!=_0x15f0d9['diffData']&&Object['hasOwnProperty']['call'](_0x15f0d9,'diffData')&&(object['diffData']=_0x15f0d9['diffData']),null!=_0x15f0d9['createdAt']&&Object['hasOwnProperty']['call'](_0x15f0d9,'createdAt')&&(object['createdAt']=_0x15f0d9['createdAt']),null!=_0x15f0d9['attributes']&&Object['hasOwnProperty']['call'](_0x15f0d9,'attributes')&&(object['attributes']=_0x15f0d9['attributes']),null!=_0x15f0d9['toVersion']&&Object['hasOwnProperty']['call'](_0x15f0d9,'toVersion')&&(object['toVersion']=_0x15f0d9['toVersion']),null!=_0x15f0d9['fromVersion']&&Object['hasOwnProperty']['call'](_0x15f0d9,'fromVersion')&&(object['fromVersion']=_0x15f0d9['fromVersion']),null!=_0x15f0d9['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x15f0d9,'isEmptyCurrent')&&(object['isEmptyCurrent']=_0x15f0d9['isEmptyCurrent']),object;},RevisionHistoryGetRevisionResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryGetRevisionResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryGetRevisionResponse';},RevisionHistoryGetRevisionResponse;}()),$root['RevisionHistoryConnectResponse']=(function(){function RevisionHistoryConnectResponse(properties){if(this['revisions']=[],properties){for(var _0x9f9c86=Object['keys'](properties),_0xc29a47=0x0;_0xc29a47<_0x9f9c86['length'];++_0xc29a47)null!=properties[_0x9f9c86[_0xc29a47]]&&'__proto__'!==_0x9f9c86[_0xc29a47]&&(this[_0x9f9c86[_0xc29a47]]=properties[_0x9f9c86[_0xc29a47]]);}}return RevisionHistoryConnectResponse['prototype']['channel']='',RevisionHistoryConnectResponse['prototype']['requestId']=0x0,RevisionHistoryConnectResponse['prototype']['revisions']=$util['emptyArray'],RevisionHistoryConnectResponse['create']=function(properties){return new RevisionHistoryConnectResponse(properties);},RevisionHistoryConnectResponse['encode']=function(_0x357413,writer,_0x94b33b){if(writer||(writer=$Writer['create']()),void 0x0===_0x94b33b&&(_0x94b33b=0x0),_0x94b33b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x357413['channel']&&Object['hasOwnProperty']['call'](_0x357413,'channel')&&writer['uint32'](0xa)['string'](_0x357413['channel']),null!=_0x357413['requestId']&&Object['hasOwnProperty']['call'](_0x357413,'requestId')&&writer['uint32'](0x10)['uint32'](_0x357413['requestId']),null!=_0x357413['revisions']&&_0x357413['revisions']['length']){for(var _0x4f6323=0x0;_0x4f6323<_0x357413['revisions']['length'];++_0x4f6323)$root['RevisionDescriptor']['encode'](_0x357413['revisions'][_0x4f6323],writer['uint32'](0x1a)['fork'](),_0x94b33b+0x1)['ldelim']();}return writer;},RevisionHistoryConnectResponse['encodeDelimited']=function(_0x209e6d,writer){return this['encode'](_0x209e6d,writer)['ldelim']();},RevisionHistoryConnectResponse['decode']=function(_0x3a46f0,length,_0x56e635,_0x318d75){if(_0x3a46f0 instanceof _0x3e39b8||(_0x3a46f0=_0x3e39b8['create'](_0x3a46f0)),void 0x0===_0x318d75&&(_0x318d75=0x0),_0x318d75>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x435752=void 0x0===length?_0x3a46f0['len']:_0x3a46f0['pos']+length,_0x36774e=new $root['RevisionHistoryConnectResponse']();_0x3a46f0['pos']<_0x435752;){var tag=_0x3a46f0['uint32']();if(tag===_0x56e635)break;switch(tag>>>0x3){case 0x1:_0x36774e['channel']=_0x3a46f0['string']();break;case 0x2:_0x36774e['requestId']=_0x3a46f0['uint32']();break;case 0x3:_0x36774e['revisions']&&_0x36774e['revisions']['length']||(_0x36774e['revisions']=[]),_0x36774e['revisions']['push']($root['RevisionDescriptor']['decode'](_0x3a46f0,_0x3a46f0['uint32'](),void 0x0,_0x318d75+0x1));break;default:_0x3a46f0['skipType'](0x7&tag,_0x318d75);}}return _0x36774e;},RevisionHistoryConnectResponse['decodeDelimited']=function(_0x281a0f){return _0x281a0f instanceof _0x3e39b8||(_0x281a0f=new _0x3e39b8(_0x281a0f)),this['decode'](_0x281a0f,_0x281a0f['uint32']());},RevisionHistoryConnectResponse['verify']=function(_0x436322,_0x5653b0){if('object'!=typeof _0x436322||null===_0x436322)return'object\x20expected';if(void 0x0===_0x5653b0&&(_0x5653b0=0x0),_0x5653b0>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x436322['channel']&&Object['hasOwnProperty']['call'](_0x436322,'channel')&&!$util['isString'](_0x436322['channel']))return'channel:\x20string\x20expected';if(null!=_0x436322['requestId']&&Object['hasOwnProperty']['call'](_0x436322,'requestId')&&!$util['isInteger'](_0x436322['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x436322['revisions']&&Object['hasOwnProperty']['call'](_0x436322,'revisions')){if(!Array['isArray'](_0x436322['revisions']))return'revisions:\x20array\x20expected';for(var _0x5c9bdb=0x0;_0x5c9bdb<_0x436322['revisions']['length'];++_0x5c9bdb){var _0x57005c=$root['RevisionDescriptor']['verify'](_0x436322['revisions'][_0x5c9bdb],_0x5653b0+0x1);if(_0x57005c)return'revisions.'+_0x57005c;}}return null;},RevisionHistoryConnectResponse['fromObject']=function(object,_0x50174b){if(object instanceof $root['RevisionHistoryConnectResponse'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryConnectResponse:\x20object\x20expected');if(void 0x0===_0x50174b&&(_0x50174b=0x0),_0x50174b>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x433f9d=new $root['RevisionHistoryConnectResponse']();if(null!=object['channel']&&(_0x433f9d['channel']=String(object['channel'])),null!=object['requestId']&&(_0x433f9d['requestId']=object['requestId']>>>0x0),object['revisions']){if(!Array['isArray'](object['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x433f9d['revisions']=[];for(var _0x41724a=0x0;_0x41724a<object['revisions']['length'];++_0x41724a){if(!$util['isObject'](object['revisions'][_0x41724a]))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x433f9d['revisions'][_0x41724a]=$root['RevisionDescriptor']['fromObject'](object['revisions'][_0x41724a],_0x50174b+0x1);}}return _0x433f9d;},RevisionHistoryConnectResponse['toObject']=function(_0x91ebd9,options,_0x16d74a){if(options||(options={}),void 0x0===_0x16d74a&&(_0x16d74a=0x0),_0x16d74a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['revisions']=[]),options['defaults']&&(object['channel']='',object['requestId']=0x0),null!=_0x91ebd9['channel']&&Object['hasOwnProperty']['call'](_0x91ebd9,'channel')&&(object['channel']=_0x91ebd9['channel']),null!=_0x91ebd9['requestId']&&Object['hasOwnProperty']['call'](_0x91ebd9,'requestId')&&(object['requestId']=_0x91ebd9['requestId']),_0x91ebd9['revisions']&&_0x91ebd9['revisions']['length']){object['revisions']=[];for(var _0x517c2a=0x0;_0x517c2a<_0x91ebd9['revisions']['length'];++_0x517c2a)object['revisions'][_0x517c2a]=$root['RevisionDescriptor']['toObject'](_0x91ebd9['revisions'][_0x517c2a],options,_0x16d74a+0x1);}return object;},RevisionHistoryConnectResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryConnectResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryConnectResponse';},RevisionHistoryConnectResponse;}()),$root['RevisionHistoryUpdateRevisionsMessage']=(function(){function RevisionHistoryUpdateRevisionsMessage(properties){if(this['revisions']=[],properties){for(var _0x10a28d=Object['keys'](properties),_0x361bfa=0x0;_0x361bfa<_0x10a28d['length'];++_0x361bfa)null!=properties[_0x10a28d[_0x361bfa]]&&'__proto__'!==_0x10a28d[_0x361bfa]&&(this[_0x10a28d[_0x361bfa]]=properties[_0x10a28d[_0x361bfa]]);}}return RevisionHistoryUpdateRevisionsMessage['prototype']['documentId']='',RevisionHistoryUpdateRevisionsMessage['prototype']['requestId']=0x0,RevisionHistoryUpdateRevisionsMessage['prototype']['revisions']=$util['emptyArray'],RevisionHistoryUpdateRevisionsMessage['create']=function(properties){return new RevisionHistoryUpdateRevisionsMessage(properties);},RevisionHistoryUpdateRevisionsMessage['encode']=function(_0x42deeb,writer,_0x1f5788){if(writer||(writer=$Writer['create']()),void 0x0===_0x1f5788&&(_0x1f5788=0x0),_0x1f5788>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x42deeb['documentId']&&Object['hasOwnProperty']['call'](_0x42deeb,'documentId')&&writer['uint32'](0xa)['string'](_0x42deeb['documentId']),null!=_0x42deeb['requestId']&&Object['hasOwnProperty']['call'](_0x42deeb,'requestId')&&writer['uint32'](0x10)['uint32'](_0x42deeb['requestId']),null!=_0x42deeb['revisions']&&_0x42deeb['revisions']['length']){for(var _0x24091b=0x0;_0x24091b<_0x42deeb['revisions']['length'];++_0x24091b)$root['RevisionDescriptor']['encode'](_0x42deeb['revisions'][_0x24091b],writer['uint32'](0x1a)['fork'](),_0x1f5788+0x1)['ldelim']();}return writer;},RevisionHistoryUpdateRevisionsMessage['encodeDelimited']=function(_0x1c0b1a,writer){return this['encode'](_0x1c0b1a,writer)['ldelim']();},RevisionHistoryUpdateRevisionsMessage['decode']=function(_0x459cde,length,_0x5c1ba4,_0x351f06){if(_0x459cde instanceof _0x3e39b8||(_0x459cde=_0x3e39b8['create'](_0x459cde)),void 0x0===_0x351f06&&(_0x351f06=0x0),_0x351f06>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x28ae08=void 0x0===length?_0x459cde['len']:_0x459cde['pos']+length,_0x407ce6=new $root['RevisionHistoryUpdateRevisionsMessage']();_0x459cde['pos']<_0x28ae08;){var tag=_0x459cde['uint32']();if(tag===_0x5c1ba4)break;switch(tag>>>0x3){case 0x1:_0x407ce6['documentId']=_0x459cde['string']();break;case 0x2:_0x407ce6['requestId']=_0x459cde['uint32']();break;case 0x3:_0x407ce6['revisions']&&_0x407ce6['revisions']['length']||(_0x407ce6['revisions']=[]),_0x407ce6['revisions']['push']($root['RevisionDescriptor']['decode'](_0x459cde,_0x459cde['uint32'](),void 0x0,_0x351f06+0x1));break;default:_0x459cde['skipType'](0x7&tag,_0x351f06);}}return _0x407ce6;},RevisionHistoryUpdateRevisionsMessage['decodeDelimited']=function(_0x39908c){return _0x39908c instanceof _0x3e39b8||(_0x39908c=new _0x3e39b8(_0x39908c)),this['decode'](_0x39908c,_0x39908c['uint32']());},RevisionHistoryUpdateRevisionsMessage['verify']=function(_0x54607f,_0x2f4a9f){if('object'!=typeof _0x54607f||null===_0x54607f)return'object\x20expected';if(void 0x0===_0x2f4a9f&&(_0x2f4a9f=0x0),_0x2f4a9f>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x54607f['documentId']&&Object['hasOwnProperty']['call'](_0x54607f,'documentId')&&!$util['isString'](_0x54607f['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x54607f['requestId']&&Object['hasOwnProperty']['call'](_0x54607f,'requestId')&&!$util['isInteger'](_0x54607f['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x54607f['revisions']&&Object['hasOwnProperty']['call'](_0x54607f,'revisions')){if(!Array['isArray'](_0x54607f['revisions']))return'revisions:\x20array\x20expected';for(var _0x59580b=0x0;_0x59580b<_0x54607f['revisions']['length'];++_0x59580b){var _0x22647c=$root['RevisionDescriptor']['verify'](_0x54607f['revisions'][_0x59580b],_0x2f4a9f+0x1);if(_0x22647c)return'revisions.'+_0x22647c;}}return null;},RevisionHistoryUpdateRevisionsMessage['fromObject']=function(object,_0x4ba8ba){if(object instanceof $root['RevisionHistoryUpdateRevisionsMessage'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryUpdateRevisionsMessage:\x20object\x20expected');if(void 0x0===_0x4ba8ba&&(_0x4ba8ba=0x0),_0x4ba8ba>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x521522=new $root['RevisionHistoryUpdateRevisionsMessage']();if(null!=object['documentId']&&(_0x521522['documentId']=String(object['documentId'])),null!=object['requestId']&&(_0x521522['requestId']=object['requestId']>>>0x0),object['revisions']){if(!Array['isArray'](object['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x521522['revisions']=[];for(var _0x473c13=0x0;_0x473c13<object['revisions']['length'];++_0x473c13){if(!$util['isObject'](object['revisions'][_0x473c13]))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x521522['revisions'][_0x473c13]=$root['RevisionDescriptor']['fromObject'](object['revisions'][_0x473c13],_0x4ba8ba+0x1);}}return _0x521522;},RevisionHistoryUpdateRevisionsMessage['toObject']=function(_0x417ebe,options,_0x44bddd){if(options||(options={}),void 0x0===_0x44bddd&&(_0x44bddd=0x0),_0x44bddd>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['revisions']=[]),options['defaults']&&(object['documentId']='',object['requestId']=0x0),null!=_0x417ebe['documentId']&&Object['hasOwnProperty']['call'](_0x417ebe,'documentId')&&(object['documentId']=_0x417ebe['documentId']),null!=_0x417ebe['requestId']&&Object['hasOwnProperty']['call'](_0x417ebe,'requestId')&&(object['requestId']=_0x417ebe['requestId']),_0x417ebe['revisions']&&_0x417ebe['revisions']['length']){object['revisions']=[];for(var _0x52cd93=0x0;_0x52cd93<_0x417ebe['revisions']['length'];++_0x52cd93)object['revisions'][_0x52cd93]=$root['RevisionDescriptor']['toObject'](_0x417ebe['revisions'][_0x52cd93],options,_0x44bddd+0x1);}return object;},RevisionHistoryUpdateRevisionsMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryUpdateRevisionsMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryUpdateRevisionsMessage';},RevisionHistoryUpdateRevisionsMessage;}()),$root['RevisionHistoryReconnectMessage']=(function(){function RevisionHistoryReconnectMessage(properties){if(properties){for(var _0x1b287e=Object['keys'](properties),_0x39d326=0x0;_0x39d326<_0x1b287e['length'];++_0x39d326)null!=properties[_0x1b287e[_0x39d326]]&&'__proto__'!==_0x1b287e[_0x39d326]&&(this[_0x1b287e[_0x39d326]]=properties[_0x1b287e[_0x39d326]]);}}return RevisionHistoryReconnectMessage['prototype']['documentId']='',RevisionHistoryReconnectMessage['prototype']['requestId']=0x0,RevisionHistoryReconnectMessage['create']=function(properties){return new RevisionHistoryReconnectMessage(properties);},RevisionHistoryReconnectMessage['encode']=function(_0x3bea81,writer,_0x40077e){if(writer||(writer=$Writer['create']()),void 0x0===_0x40077e&&(_0x40077e=0x0),_0x40077e>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3bea81['documentId']&&Object['hasOwnProperty']['call'](_0x3bea81,'documentId')&&writer['uint32'](0xa)['string'](_0x3bea81['documentId']),null!=_0x3bea81['requestId']&&Object['hasOwnProperty']['call'](_0x3bea81,'requestId')&&writer['uint32'](0x10)['uint32'](_0x3bea81['requestId']),writer;},RevisionHistoryReconnectMessage['encodeDelimited']=function(_0x387847,writer){return this['encode'](_0x387847,writer)['ldelim']();},RevisionHistoryReconnectMessage['decode']=function(_0x1c77b3,length,_0x51458f,_0x3a22af){if(_0x1c77b3 instanceof _0x3e39b8||(_0x1c77b3=_0x3e39b8['create'](_0x1c77b3)),void 0x0===_0x3a22af&&(_0x3a22af=0x0),_0x3a22af>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x202ade=void 0x0===length?_0x1c77b3['len']:_0x1c77b3['pos']+length,_0x4ba676=new $root['RevisionHistoryReconnectMessage']();_0x1c77b3['pos']<_0x202ade;){var tag=_0x1c77b3['uint32']();if(tag===_0x51458f)break;switch(tag>>>0x3){case 0x1:_0x4ba676['documentId']=_0x1c77b3['string']();break;case 0x2:_0x4ba676['requestId']=_0x1c77b3['uint32']();break;default:_0x1c77b3['skipType'](0x7&tag,_0x3a22af);}}return _0x4ba676;},RevisionHistoryReconnectMessage['decodeDelimited']=function(_0x2aed4d){return _0x2aed4d instanceof _0x3e39b8||(_0x2aed4d=new _0x3e39b8(_0x2aed4d)),this['decode'](_0x2aed4d,_0x2aed4d['uint32']());},RevisionHistoryReconnectMessage['verify']=function(_0x22b0c3,_0x28c830){return'object'!=typeof _0x22b0c3||null===_0x22b0c3?'object\x20expected':(void 0x0===_0x28c830&&(_0x28c830=0x0),_0x28c830>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x22b0c3['documentId']&&Object['hasOwnProperty']['call'](_0x22b0c3,'documentId')&&!$util['isString'](_0x22b0c3['documentId'])?'documentId:\x20string\x20expected':null!=_0x22b0c3['requestId']&&Object['hasOwnProperty']['call'](_0x22b0c3,'requestId')&&!$util['isInteger'](_0x22b0c3['requestId'])?'requestId:\x20integer\x20expected':null);},RevisionHistoryReconnectMessage['fromObject']=function(object,_0xace795){if(object instanceof $root['RevisionHistoryReconnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryReconnectMessage:\x20object\x20expected');if(void 0x0===_0xace795&&(_0xace795=0x0),_0xace795>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x555136=new $root['RevisionHistoryReconnectMessage']();return null!=object['documentId']&&(_0x555136['documentId']=String(object['documentId'])),null!=object['requestId']&&(_0x555136['requestId']=object['requestId']>>>0x0),_0x555136;},RevisionHistoryReconnectMessage['toObject']=function(_0x233de6,options,_0x53e679){if(options||(options={}),void 0x0===_0x53e679&&(_0x53e679=0x0),_0x53e679>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']='',object['requestId']=0x0),null!=_0x233de6['documentId']&&Object['hasOwnProperty']['call'](_0x233de6,'documentId')&&(object['documentId']=_0x233de6['documentId']),null!=_0x233de6['requestId']&&Object['hasOwnProperty']['call'](_0x233de6,'requestId')&&(object['requestId']=_0x233de6['requestId']),object;},RevisionHistoryReconnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryReconnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryReconnectMessage';},RevisionHistoryReconnectMessage;}()),$root['RevisionHistoryGetRevisionMessage']=(function(){function RevisionHistoryGetRevisionMessage(properties){if(properties){for(var _0x5abc51=Object['keys'](properties),_0x206874=0x0;_0x206874<_0x5abc51['length'];++_0x206874)null!=properties[_0x5abc51[_0x206874]]&&'__proto__'!==_0x5abc51[_0x206874]&&(this[_0x5abc51[_0x206874]]=properties[_0x5abc51[_0x206874]]);}}return RevisionHistoryGetRevisionMessage['prototype']['documentId']='',RevisionHistoryGetRevisionMessage['prototype']['revisionId']='',RevisionHistoryGetRevisionMessage['create']=function(properties){return new RevisionHistoryGetRevisionMessage(properties);},RevisionHistoryGetRevisionMessage['encode']=function(_0x370fab,writer,_0x1aa07a){if(writer||(writer=$Writer['create']()),void 0x0===_0x1aa07a&&(_0x1aa07a=0x0),_0x1aa07a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x370fab['documentId']&&Object['hasOwnProperty']['call'](_0x370fab,'documentId')&&writer['uint32'](0xa)['string'](_0x370fab['documentId']),null!=_0x370fab['revisionId']&&Object['hasOwnProperty']['call'](_0x370fab,'revisionId')&&writer['uint32'](0x12)['string'](_0x370fab['revisionId']),writer;},RevisionHistoryGetRevisionMessage['encodeDelimited']=function(_0x195d8f,writer){return this['encode'](_0x195d8f,writer)['ldelim']();},RevisionHistoryGetRevisionMessage['decode']=function(_0x57fb5,length,_0x26544f,_0x3ce95c){if(_0x57fb5 instanceof _0x3e39b8||(_0x57fb5=_0x3e39b8['create'](_0x57fb5)),void 0x0===_0x3ce95c&&(_0x3ce95c=0x0),_0x3ce95c>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x8c0575=void 0x0===length?_0x57fb5['len']:_0x57fb5['pos']+length,_0x5cd1a8=new $root['RevisionHistoryGetRevisionMessage']();_0x57fb5['pos']<_0x8c0575;){var tag=_0x57fb5['uint32']();if(tag===_0x26544f)break;switch(tag>>>0x3){case 0x1:_0x5cd1a8['documentId']=_0x57fb5['string']();break;case 0x2:_0x5cd1a8['revisionId']=_0x57fb5['string']();break;default:_0x57fb5['skipType'](0x7&tag,_0x3ce95c);}}return _0x5cd1a8;},RevisionHistoryGetRevisionMessage['decodeDelimited']=function(_0x4ec193){return _0x4ec193 instanceof _0x3e39b8||(_0x4ec193=new _0x3e39b8(_0x4ec193)),this['decode'](_0x4ec193,_0x4ec193['uint32']());},RevisionHistoryGetRevisionMessage['verify']=function(_0xbd8f2f,_0x59a707){return'object'!=typeof _0xbd8f2f||null===_0xbd8f2f?'object\x20expected':(void 0x0===_0x59a707&&(_0x59a707=0x0),_0x59a707>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xbd8f2f['documentId']&&Object['hasOwnProperty']['call'](_0xbd8f2f,'documentId')&&!$util['isString'](_0xbd8f2f['documentId'])?'documentId:\x20string\x20expected':null!=_0xbd8f2f['revisionId']&&Object['hasOwnProperty']['call'](_0xbd8f2f,'revisionId')&&!$util['isString'](_0xbd8f2f['revisionId'])?'revisionId:\x20string\x20expected':null);},RevisionHistoryGetRevisionMessage['fromObject']=function(object,_0x40f0f0){if(object instanceof $root['RevisionHistoryGetRevisionMessage'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryGetRevisionMessage:\x20object\x20expected');if(void 0x0===_0x40f0f0&&(_0x40f0f0=0x0),_0x40f0f0>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2cc811=new $root['RevisionHistoryGetRevisionMessage']();return null!=object['documentId']&&(_0x2cc811['documentId']=String(object['documentId'])),null!=object['revisionId']&&(_0x2cc811['revisionId']=String(object['revisionId'])),_0x2cc811;},RevisionHistoryGetRevisionMessage['toObject']=function(_0x1a5f12,options,_0x3e83c8){if(options||(options={}),void 0x0===_0x3e83c8&&(_0x3e83c8=0x0),_0x3e83c8>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']='',object['revisionId']=''),null!=_0x1a5f12['documentId']&&Object['hasOwnProperty']['call'](_0x1a5f12,'documentId')&&(object['documentId']=_0x1a5f12['documentId']),null!=_0x1a5f12['revisionId']&&Object['hasOwnProperty']['call'](_0x1a5f12,'revisionId')&&(object['revisionId']=_0x1a5f12['revisionId']),object;},RevisionHistoryGetRevisionMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryGetRevisionMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryGetRevisionMessage';},RevisionHistoryGetRevisionMessage;}()),$root['RevisionHistoryConnectMessage']=(function(){function RevisionHistoryConnectMessage(properties){if(properties){for(var _0x2ed9e3=Object['keys'](properties),_0xb443a6=0x0;_0xb443a6<_0x2ed9e3['length'];++_0xb443a6)null!=properties[_0x2ed9e3[_0xb443a6]]&&'__proto__'!==_0x2ed9e3[_0xb443a6]&&(this[_0x2ed9e3[_0xb443a6]]=properties[_0x2ed9e3[_0xb443a6]]);}}return RevisionHistoryConnectMessage['prototype']['documentId']='',RevisionHistoryConnectMessage['create']=function(properties){return new RevisionHistoryConnectMessage(properties);},RevisionHistoryConnectMessage['encode']=function(_0x3193b0,writer,_0x36a3f6){if(writer||(writer=$Writer['create']()),void 0x0===_0x36a3f6&&(_0x36a3f6=0x0),_0x36a3f6>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3193b0['documentId']&&Object['hasOwnProperty']['call'](_0x3193b0,'documentId')&&writer['uint32'](0xa)['string'](_0x3193b0['documentId']),writer;},RevisionHistoryConnectMessage['encodeDelimited']=function(_0x12ad68,writer){return this['encode'](_0x12ad68,writer)['ldelim']();},RevisionHistoryConnectMessage['decode']=function(_0x4d7456,length,_0x2d1fdf,_0x11ddbb){if(_0x4d7456 instanceof _0x3e39b8||(_0x4d7456=_0x3e39b8['create'](_0x4d7456)),void 0x0===_0x11ddbb&&(_0x11ddbb=0x0),_0x11ddbb>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x55bde9=void 0x0===length?_0x4d7456['len']:_0x4d7456['pos']+length,_0x5c5f08=new $root['RevisionHistoryConnectMessage']();_0x4d7456['pos']<_0x55bde9;){var tag=_0x4d7456['uint32']();if(tag===_0x2d1fdf)break;if(tag>>>0x3==0x1)_0x5c5f08['documentId']=_0x4d7456['string']();else _0x4d7456['skipType'](0x7&tag,_0x11ddbb);}return _0x5c5f08;},RevisionHistoryConnectMessage['decodeDelimited']=function(_0xd959e3){return _0xd959e3 instanceof _0x3e39b8||(_0xd959e3=new _0x3e39b8(_0xd959e3)),this['decode'](_0xd959e3,_0xd959e3['uint32']());},RevisionHistoryConnectMessage['verify']=function(_0x308892,_0x13b09d){return'object'!=typeof _0x308892||null===_0x308892?'object\x20expected':(void 0x0===_0x13b09d&&(_0x13b09d=0x0),_0x13b09d>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x308892['documentId']&&Object['hasOwnProperty']['call'](_0x308892,'documentId')&&!$util['isString'](_0x308892['documentId'])?'documentId:\x20string\x20expected':null);},RevisionHistoryConnectMessage['fromObject']=function(object,_0x51b22d){if(object instanceof $root['RevisionHistoryConnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryConnectMessage:\x20object\x20expected');if(void 0x0===_0x51b22d&&(_0x51b22d=0x0),_0x51b22d>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x598646=new $root['RevisionHistoryConnectMessage']();return null!=object['documentId']&&(_0x598646['documentId']=String(object['documentId'])),_0x598646;},RevisionHistoryConnectMessage['toObject']=function(_0x3511f0,options,_0x1a3744){if(options||(options={}),void 0x0===_0x1a3744&&(_0x1a3744=0x0),_0x1a3744>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']=''),null!=_0x3511f0['documentId']&&Object['hasOwnProperty']['call'](_0x3511f0,'documentId')&&(object['documentId']=_0x3511f0['documentId']),object;},RevisionHistoryConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryConnectMessage';},RevisionHistoryConnectMessage;}()),$root['RevisionDescriptor']=(function(){function RevisionDescriptor(properties){if(properties){for(var _0x25c59f=Object['keys'](properties),_0x3f7313=0x0;_0x3f7313<_0x25c59f['length'];++_0x3f7313)null!=properties[_0x25c59f[_0x3f7313]]&&'__proto__'!==_0x25c59f[_0x3f7313]&&(this[_0x25c59f[_0x3f7313]]=properties[_0x25c59f[_0x3f7313]]);}}return RevisionDescriptor['prototype']['revisionId']='',RevisionDescriptor['prototype']['name']='',RevisionDescriptor['prototype']['creatorId']='',RevisionDescriptor['prototype']['authorsIds']='',RevisionDescriptor['prototype']['diffData']='',RevisionDescriptor['prototype']['createdAt']='',RevisionDescriptor['prototype']['attributes']='',RevisionDescriptor['prototype']['toVersion']=0x0,RevisionDescriptor['prototype']['fromVersion']=0x0,RevisionDescriptor['prototype']['isEmptyCurrent']=!0x1,RevisionDescriptor['create']=function(properties){return new RevisionDescriptor(properties);},RevisionDescriptor['encode']=function(_0x52b25a,writer,_0x586808){if(writer||(writer=$Writer['create']()),void 0x0===_0x586808&&(_0x586808=0x0),_0x586808>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x52b25a['revisionId']&&Object['hasOwnProperty']['call'](_0x52b25a,'revisionId')&&writer['uint32'](0xa)['string'](_0x52b25a['revisionId']),null!=_0x52b25a['name']&&Object['hasOwnProperty']['call'](_0x52b25a,'name')&&writer['uint32'](0x12)['string'](_0x52b25a['name']),null!=_0x52b25a['creatorId']&&Object['hasOwnProperty']['call'](_0x52b25a,'creatorId')&&writer['uint32'](0x1a)['string'](_0x52b25a['creatorId']),null!=_0x52b25a['authorsIds']&&Object['hasOwnProperty']['call'](_0x52b25a,'authorsIds')&&writer['uint32'](0x22)['string'](_0x52b25a['authorsIds']),null!=_0x52b25a['diffData']&&Object['hasOwnProperty']['call'](_0x52b25a,'diffData')&&writer['uint32'](0x2a)['string'](_0x52b25a['diffData']),null!=_0x52b25a['createdAt']&&Object['hasOwnProperty']['call'](_0x52b25a,'createdAt')&&writer['uint32'](0x32)['string'](_0x52b25a['createdAt']),null!=_0x52b25a['attributes']&&Object['hasOwnProperty']['call'](_0x52b25a,'attributes')&&writer['uint32'](0x3a)['string'](_0x52b25a['attributes']),null!=_0x52b25a['toVersion']&&Object['hasOwnProperty']['call'](_0x52b25a,'toVersion')&&writer['uint32'](0x40)['uint32'](_0x52b25a['toVersion']),null!=_0x52b25a['fromVersion']&&Object['hasOwnProperty']['call'](_0x52b25a,'fromVersion')&&writer['uint32'](0x48)['uint32'](_0x52b25a['fromVersion']),null!=_0x52b25a['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x52b25a,'isEmptyCurrent')&&writer['uint32'](0x50)['bool'](_0x52b25a['isEmptyCurrent']),writer;},RevisionDescriptor['encodeDelimited']=function(_0x9e283c,writer){return this['encode'](_0x9e283c,writer)['ldelim']();},RevisionDescriptor['decode']=function(_0x24b35b,length,_0x2d9f90,_0x3e962e){if(_0x24b35b instanceof _0x3e39b8||(_0x24b35b=_0x3e39b8['create'](_0x24b35b)),void 0x0===_0x3e962e&&(_0x3e962e=0x0),_0x3e962e>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xe4a05c=void 0x0===length?_0x24b35b['len']:_0x24b35b['pos']+length,_0x44179c=new $root['RevisionDescriptor']();_0x24b35b['pos']<_0xe4a05c;){var tag=_0x24b35b['uint32']();if(tag===_0x2d9f90)break;switch(tag>>>0x3){case 0x1:_0x44179c['revisionId']=_0x24b35b['string']();break;case 0x2:_0x44179c['name']=_0x24b35b['string']();break;case 0x3:_0x44179c['creatorId']=_0x24b35b['string']();break;case 0x4:_0x44179c['authorsIds']=_0x24b35b['string']();break;case 0x5:_0x44179c['diffData']=_0x24b35b['string']();break;case 0x6:_0x44179c['createdAt']=_0x24b35b['string']();break;case 0x7:_0x44179c['attributes']=_0x24b35b['string']();break;case 0x8:_0x44179c['toVersion']=_0x24b35b['uint32']();break;case 0x9:_0x44179c['fromVersion']=_0x24b35b['uint32']();break;case 0xa:_0x44179c['isEmptyCurrent']=_0x24b35b['bool']();break;default:_0x24b35b['skipType'](0x7&tag,_0x3e962e);}}return _0x44179c;},RevisionDescriptor['decodeDelimited']=function(_0x31b62a){return _0x31b62a instanceof _0x3e39b8||(_0x31b62a=new _0x3e39b8(_0x31b62a)),this['decode'](_0x31b62a,_0x31b62a['uint32']());},RevisionDescriptor['verify']=function(_0x452984,_0x44546c){return'object'!=typeof _0x452984||null===_0x452984?'object\x20expected':(void 0x0===_0x44546c&&(_0x44546c=0x0),_0x44546c>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x452984['revisionId']&&Object['hasOwnProperty']['call'](_0x452984,'revisionId')&&!$util['isString'](_0x452984['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x452984['name']&&Object['hasOwnProperty']['call'](_0x452984,'name')&&!$util['isString'](_0x452984['name'])?'name:\x20string\x20expected':null!=_0x452984['creatorId']&&Object['hasOwnProperty']['call'](_0x452984,'creatorId')&&!$util['isString'](_0x452984['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x452984['authorsIds']&&Object['hasOwnProperty']['call'](_0x452984,'authorsIds')&&!$util['isString'](_0x452984['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x452984['diffData']&&Object['hasOwnProperty']['call'](_0x452984,'diffData')&&!$util['isString'](_0x452984['diffData'])?'diffData:\x20string\x20expected':null!=_0x452984['createdAt']&&Object['hasOwnProperty']['call'](_0x452984,'createdAt')&&!$util['isString'](_0x452984['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x452984['attributes']&&Object['hasOwnProperty']['call'](_0x452984,'attributes')&&!$util['isString'](_0x452984['attributes'])?'attributes:\x20string\x20expected':null!=_0x452984['toVersion']&&Object['hasOwnProperty']['call'](_0x452984,'toVersion')&&!$util['isInteger'](_0x452984['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x452984['fromVersion']&&Object['hasOwnProperty']['call'](_0x452984,'fromVersion')&&!$util['isInteger'](_0x452984['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x452984['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x452984,'isEmptyCurrent')&&'boolean'!=typeof _0x452984['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},RevisionDescriptor['fromObject']=function(object,_0x495b21){if(object instanceof $root['RevisionDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionDescriptor:\x20object\x20expected');if(void 0x0===_0x495b21&&(_0x495b21=0x0),_0x495b21>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x54164c=new $root['RevisionDescriptor']();return null!=object['revisionId']&&(_0x54164c['revisionId']=String(object['revisionId'])),null!=object['name']&&(_0x54164c['name']=String(object['name'])),null!=object['creatorId']&&(_0x54164c['creatorId']=String(object['creatorId'])),null!=object['authorsIds']&&(_0x54164c['authorsIds']=String(object['authorsIds'])),null!=object['diffData']&&(_0x54164c['diffData']=String(object['diffData'])),null!=object['createdAt']&&(_0x54164c['createdAt']=String(object['createdAt'])),null!=object['attributes']&&(_0x54164c['attributes']=String(object['attributes'])),null!=object['toVersion']&&(_0x54164c['toVersion']=object['toVersion']>>>0x0),null!=object['fromVersion']&&(_0x54164c['fromVersion']=object['fromVersion']>>>0x0),null!=object['isEmptyCurrent']&&(_0x54164c['isEmptyCurrent']=Boolean(object['isEmptyCurrent'])),_0x54164c;},RevisionDescriptor['toObject']=function(_0x159cf4,options,_0x4a67d4){if(options||(options={}),void 0x0===_0x4a67d4&&(_0x4a67d4=0x0),_0x4a67d4>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['revisionId']='',object['name']='',object['creatorId']='',object['authorsIds']='',object['diffData']='',object['createdAt']='',object['attributes']='',object['toVersion']=0x0,object['fromVersion']=0x0,object['isEmptyCurrent']=!0x1),null!=_0x159cf4['revisionId']&&Object['hasOwnProperty']['call'](_0x159cf4,'revisionId')&&(object['revisionId']=_0x159cf4['revisionId']),null!=_0x159cf4['name']&&Object['hasOwnProperty']['call'](_0x159cf4,'name')&&(object['name']=_0x159cf4['name']),null!=_0x159cf4['creatorId']&&Object['hasOwnProperty']['call'](_0x159cf4,'creatorId')&&(object['creatorId']=_0x159cf4['creatorId']),null!=_0x159cf4['authorsIds']&&Object['hasOwnProperty']['call'](_0x159cf4,'authorsIds')&&(object['authorsIds']=_0x159cf4['authorsIds']),null!=_0x159cf4['diffData']&&Object['hasOwnProperty']['call'](_0x159cf4,'diffData')&&(object['diffData']=_0x159cf4['diffData']),null!=_0x159cf4['createdAt']&&Object['hasOwnProperty']['call'](_0x159cf4,'createdAt')&&(object['createdAt']=_0x159cf4['createdAt']),null!=_0x159cf4['attributes']&&Object['hasOwnProperty']['call'](_0x159cf4,'attributes')&&(object['attributes']=_0x159cf4['attributes']),null!=_0x159cf4['toVersion']&&Object['hasOwnProperty']['call'](_0x159cf4,'toVersion')&&(object['toVersion']=_0x159cf4['toVersion']),null!=_0x159cf4['fromVersion']&&Object['hasOwnProperty']['call'](_0x159cf4,'fromVersion')&&(object['fromVersion']=_0x159cf4['fromVersion']),null!=_0x159cf4['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x159cf4,'isEmptyCurrent')&&(object['isEmptyCurrent']=_0x159cf4['isEmptyCurrent']),object;},RevisionDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionDescriptor';},RevisionDescriptor;}()),$root['IsEditorBundleUploadedResponse']=(function(){function IsEditorBundleUploadedResponse(properties){if(properties){for(var _0x32bda6=Object['keys'](properties),_0x545bdc=0x0;_0x545bdc<_0x32bda6['length'];++_0x545bdc)null!=properties[_0x32bda6[_0x545bdc]]&&'__proto__'!==_0x32bda6[_0x545bdc]&&(this[_0x32bda6[_0x545bdc]]=properties[_0x32bda6[_0x545bdc]]);}}return IsEditorBundleUploadedResponse['prototype']['isUploaded']=!0x1,IsEditorBundleUploadedResponse['create']=function(properties){return new IsEditorBundleUploadedResponse(properties);},IsEditorBundleUploadedResponse['encode']=function(_0x379fe7,writer,_0x406691){if(writer||(writer=$Writer['create']()),void 0x0===_0x406691&&(_0x406691=0x0),_0x406691>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x379fe7['isUploaded']&&Object['hasOwnProperty']['call'](_0x379fe7,'isUploaded')&&writer['uint32'](0x8)['bool'](_0x379fe7['isUploaded']),writer;},IsEditorBundleUploadedResponse['encodeDelimited']=function(_0x46f99e,writer){return this['encode'](_0x46f99e,writer)['ldelim']();},IsEditorBundleUploadedResponse['decode']=function(_0x57b5ba,length,_0x2c0583,_0x340ca5){if(_0x57b5ba instanceof _0x3e39b8||(_0x57b5ba=_0x3e39b8['create'](_0x57b5ba)),void 0x0===_0x340ca5&&(_0x340ca5=0x0),_0x340ca5>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1558dd=void 0x0===length?_0x57b5ba['len']:_0x57b5ba['pos']+length,_0x4dca92=new $root['IsEditorBundleUploadedResponse']();_0x57b5ba['pos']<_0x1558dd;){var tag=_0x57b5ba['uint32']();if(tag===_0x2c0583)break;if(tag>>>0x3==0x1)_0x4dca92['isUploaded']=_0x57b5ba['bool']();else _0x57b5ba['skipType'](0x7&tag,_0x340ca5);}return _0x4dca92;},IsEditorBundleUploadedResponse['decodeDelimited']=function(_0x3a91ae){return _0x3a91ae instanceof _0x3e39b8||(_0x3a91ae=new _0x3e39b8(_0x3a91ae)),this['decode'](_0x3a91ae,_0x3a91ae['uint32']());},IsEditorBundleUploadedResponse['verify']=function(_0x429ae0,_0x3480af){return'object'!=typeof _0x429ae0||null===_0x429ae0?'object\x20expected':(void 0x0===_0x3480af&&(_0x3480af=0x0),_0x3480af>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x429ae0['isUploaded']&&Object['hasOwnProperty']['call'](_0x429ae0,'isUploaded')&&'boolean'!=typeof _0x429ae0['isUploaded']?'isUploaded:\x20boolean\x20expected':null);},IsEditorBundleUploadedResponse['fromObject']=function(object,_0x3a0995){if(object instanceof $root['IsEditorBundleUploadedResponse'])return object;if(!$util['isObject'](object))throw TypeError('.IsEditorBundleUploadedResponse:\x20object\x20expected');if(void 0x0===_0x3a0995&&(_0x3a0995=0x0),_0x3a0995>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x45ab25=new $root['IsEditorBundleUploadedResponse']();return null!=object['isUploaded']&&(_0x45ab25['isUploaded']=Boolean(object['isUploaded'])),_0x45ab25;},IsEditorBundleUploadedResponse['toObject']=function(_0x155e36,options,_0x1ba3bd){if(options||(options={}),void 0x0===_0x1ba3bd&&(_0x1ba3bd=0x0),_0x1ba3bd>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['isUploaded']=!0x1),null!=_0x155e36['isUploaded']&&Object['hasOwnProperty']['call'](_0x155e36,'isUploaded')&&(object['isUploaded']=_0x155e36['isUploaded']),object;},IsEditorBundleUploadedResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},IsEditorBundleUploadedResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/IsEditorBundleUploadedResponse';},IsEditorBundleUploadedResponse;}()),$root['IsEditorBundleUploadedMessage']=(function(){function IsEditorBundleUploadedMessage(properties){if(properties){for(var _0x392f6b=Object['keys'](properties),_0x5ea129=0x0;_0x5ea129<_0x392f6b['length'];++_0x5ea129)null!=properties[_0x392f6b[_0x5ea129]]&&'__proto__'!==_0x392f6b[_0x5ea129]&&(this[_0x392f6b[_0x5ea129]]=properties[_0x392f6b[_0x5ea129]]);}}return IsEditorBundleUploadedMessage['prototype']['bundleVersion']='',IsEditorBundleUploadedMessage['create']=function(properties){return new IsEditorBundleUploadedMessage(properties);},IsEditorBundleUploadedMessage['encode']=function(_0x3c8d9c,writer,_0x53fbfb){if(writer||(writer=$Writer['create']()),void 0x0===_0x53fbfb&&(_0x53fbfb=0x0),_0x53fbfb>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3c8d9c['bundleVersion']&&Object['hasOwnProperty']['call'](_0x3c8d9c,'bundleVersion')&&writer['uint32'](0xa)['string'](_0x3c8d9c['bundleVersion']),writer;},IsEditorBundleUploadedMessage['encodeDelimited']=function(_0x44130e,writer){return this['encode'](_0x44130e,writer)['ldelim']();},IsEditorBundleUploadedMessage['decode']=function(_0x59bb2e,length,_0x4d9448,_0x2de50e){if(_0x59bb2e instanceof _0x3e39b8||(_0x59bb2e=_0x3e39b8['create'](_0x59bb2e)),void 0x0===_0x2de50e&&(_0x2de50e=0x0),_0x2de50e>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x717dbf=void 0x0===length?_0x59bb2e['len']:_0x59bb2e['pos']+length,_0x13bcbc=new $root['IsEditorBundleUploadedMessage']();_0x59bb2e['pos']<_0x717dbf;){var tag=_0x59bb2e['uint32']();if(tag===_0x4d9448)break;if(tag>>>0x3==0x1)_0x13bcbc['bundleVersion']=_0x59bb2e['string']();else _0x59bb2e['skipType'](0x7&tag,_0x2de50e);}return _0x13bcbc;},IsEditorBundleUploadedMessage['decodeDelimited']=function(_0x4c48a3){return _0x4c48a3 instanceof _0x3e39b8||(_0x4c48a3=new _0x3e39b8(_0x4c48a3)),this['decode'](_0x4c48a3,_0x4c48a3['uint32']());},IsEditorBundleUploadedMessage['verify']=function(_0x50eba7,_0x42d119){return'object'!=typeof _0x50eba7||null===_0x50eba7?'object\x20expected':(void 0x0===_0x42d119&&(_0x42d119=0x0),_0x42d119>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x50eba7['bundleVersion']&&Object['hasOwnProperty']['call'](_0x50eba7,'bundleVersion')&&!$util['isString'](_0x50eba7['bundleVersion'])?'bundleVersion:\x20string\x20expected':null);},IsEditorBundleUploadedMessage['fromObject']=function(object,_0x1a25c7){if(object instanceof $root['IsEditorBundleUploadedMessage'])return object;if(!$util['isObject'](object))throw TypeError('.IsEditorBundleUploadedMessage:\x20object\x20expected');if(void 0x0===_0x1a25c7&&(_0x1a25c7=0x0),_0x1a25c7>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2e4a52=new $root['IsEditorBundleUploadedMessage']();return null!=object['bundleVersion']&&(_0x2e4a52['bundleVersion']=String(object['bundleVersion'])),_0x2e4a52;},IsEditorBundleUploadedMessage['toObject']=function(_0x37b4da,options,_0x506547){if(options||(options={}),void 0x0===_0x506547&&(_0x506547=0x0),_0x506547>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['bundleVersion']=''),null!=_0x37b4da['bundleVersion']&&Object['hasOwnProperty']['call'](_0x37b4da,'bundleVersion')&&(object['bundleVersion']=_0x37b4da['bundleVersion']),object;},IsEditorBundleUploadedMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},IsEditorBundleUploadedMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/IsEditorBundleUploadedMessage';},IsEditorBundleUploadedMessage;}()),$root['KeyValueDescriptor']=(function(){function KeyValueDescriptor(properties){if(properties){for(var _0x35916f=Object['keys'](properties),_0x1e1ec1=0x0;_0x1e1ec1<_0x35916f['length'];++_0x1e1ec1)null!=properties[_0x35916f[_0x1e1ec1]]&&'__proto__'!==_0x35916f[_0x1e1ec1]&&(this[_0x35916f[_0x1e1ec1]]=properties[_0x35916f[_0x1e1ec1]]);}}return KeyValueDescriptor['prototype']['key']='',KeyValueDescriptor['prototype']['value']='',KeyValueDescriptor['create']=function(properties){return new KeyValueDescriptor(properties);},KeyValueDescriptor['encode']=function(_0x2f7039,writer,_0x373344){if(writer||(writer=$Writer['create']()),void 0x0===_0x373344&&(_0x373344=0x0),_0x373344>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2f7039['key']&&Object['hasOwnProperty']['call'](_0x2f7039,'key')&&writer['uint32'](0xa)['string'](_0x2f7039['key']),null!=_0x2f7039['value']&&Object['hasOwnProperty']['call'](_0x2f7039,'value')&&writer['uint32'](0x12)['string'](_0x2f7039['value']),writer;},KeyValueDescriptor['encodeDelimited']=function(_0x427a7a,writer){return this['encode'](_0x427a7a,writer)['ldelim']();},KeyValueDescriptor['decode']=function(_0x2208f9,length,_0x282fb2,_0x2291ce){if(_0x2208f9 instanceof _0x3e39b8||(_0x2208f9=_0x3e39b8['create'](_0x2208f9)),void 0x0===_0x2291ce&&(_0x2291ce=0x0),_0x2291ce>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x327d08=void 0x0===length?_0x2208f9['len']:_0x2208f9['pos']+length,_0x5c8910=new $root['KeyValueDescriptor']();_0x2208f9['pos']<_0x327d08;){var tag=_0x2208f9['uint32']();if(tag===_0x282fb2)break;switch(tag>>>0x3){case 0x1:_0x5c8910['key']=_0x2208f9['string']();break;case 0x2:_0x5c8910['value']=_0x2208f9['string']();break;default:_0x2208f9['skipType'](0x7&tag,_0x2291ce);}}return _0x5c8910;},KeyValueDescriptor['decodeDelimited']=function(_0x4f94e4){return _0x4f94e4 instanceof _0x3e39b8||(_0x4f94e4=new _0x3e39b8(_0x4f94e4)),this['decode'](_0x4f94e4,_0x4f94e4['uint32']());},KeyValueDescriptor['verify']=function(_0x27d916,_0x27f1df){return'object'!=typeof _0x27d916||null===_0x27d916?'object\x20expected':(void 0x0===_0x27f1df&&(_0x27f1df=0x0),_0x27f1df>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x27d916['key']&&Object['hasOwnProperty']['call'](_0x27d916,'key')&&!$util['isString'](_0x27d916['key'])?'key:\x20string\x20expected':null!=_0x27d916['value']&&Object['hasOwnProperty']['call'](_0x27d916,'value')&&!$util['isString'](_0x27d916['value'])?'value:\x20string\x20expected':null);},KeyValueDescriptor['fromObject']=function(object,_0x15e72f){if(object instanceof $root['KeyValueDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.KeyValueDescriptor:\x20object\x20expected');if(void 0x0===_0x15e72f&&(_0x15e72f=0x0),_0x15e72f>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xf3d8a1=new $root['KeyValueDescriptor']();return null!=object['key']&&(_0xf3d8a1['key']=String(object['key'])),null!=object['value']&&(_0xf3d8a1['value']=String(object['value'])),_0xf3d8a1;},KeyValueDescriptor['toObject']=function(_0x39c183,options,_0x38b332){if(options||(options={}),void 0x0===_0x38b332&&(_0x38b332=0x0),_0x38b332>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['key']='',object['value']=''),null!=_0x39c183['key']&&Object['hasOwnProperty']['call'](_0x39c183,'key')&&(object['key']=_0x39c183['key']),null!=_0x39c183['value']&&Object['hasOwnProperty']['call'](_0x39c183,'value')&&(object['value']=_0x39c183['value']),object;},KeyValueDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},KeyValueDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/KeyValueDescriptor';},KeyValueDescriptor;}()),$root['CommentsV2GetDocumentThreadsResponse']=(function(){function CommentsV2GetDocumentThreadsResponse(properties){if(this['threads']=[],this['threadsV2']=[],properties){for(var _0x328950=Object['keys'](properties),_0x598e53=0x0;_0x598e53<_0x328950['length'];++_0x598e53)null!=properties[_0x328950[_0x598e53]]&&'__proto__'!==_0x328950[_0x598e53]&&(this[_0x328950[_0x598e53]]=properties[_0x328950[_0x598e53]]);}}return CommentsV2GetDocumentThreadsResponse['prototype']['threads']=$util['emptyArray'],CommentsV2GetDocumentThreadsResponse['prototype']['threadsV2']=$util['emptyArray'],CommentsV2GetDocumentThreadsResponse['create']=function(properties){return new CommentsV2GetDocumentThreadsResponse(properties);},CommentsV2GetDocumentThreadsResponse['encode']=function(_0x4e460f,writer,_0x43f477){if(writer||(writer=$Writer['create']()),void 0x0===_0x43f477&&(_0x43f477=0x0),_0x43f477>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x4e460f['threads']&&_0x4e460f['threads']['length']){for(var _0x6f38fe=0x0;_0x6f38fe<_0x4e460f['threads']['length'];++_0x6f38fe)writer['uint32'](0xa)['string'](_0x4e460f['threads'][_0x6f38fe]);}if(null!=_0x4e460f['threadsV2']&&_0x4e460f['threadsV2']['length']){for(_0x6f38fe=0x0;_0x6f38fe<_0x4e460f['threadsV2']['length'];++_0x6f38fe)$root['CommentsThreadDescriptor']['encode'](_0x4e460f['threadsV2'][_0x6f38fe],writer['uint32'](0x12)['fork'](),_0x43f477+0x1)['ldelim']();}return writer;},CommentsV2GetDocumentThreadsResponse['encodeDelimited']=function(_0x502118,writer){return this['encode'](_0x502118,writer)['ldelim']();},CommentsV2GetDocumentThreadsResponse['decode']=function(_0x3e2cf5,length,_0x27f467,_0x435c25){if(_0x3e2cf5 instanceof _0x3e39b8||(_0x3e2cf5=_0x3e39b8['create'](_0x3e2cf5)),void 0x0===_0x435c25&&(_0x435c25=0x0),_0x435c25>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4032a7=void 0x0===length?_0x3e2cf5['len']:_0x3e2cf5['pos']+length,_0x56e811=new $root['CommentsV2GetDocumentThreadsResponse']();_0x3e2cf5['pos']<_0x4032a7;){var tag=_0x3e2cf5['uint32']();if(tag===_0x27f467)break;switch(tag>>>0x3){case 0x1:_0x56e811['threads']&&_0x56e811['threads']['length']||(_0x56e811['threads']=[]),_0x56e811['threads']['push'](_0x3e2cf5['string']());break;case 0x2:_0x56e811['threadsV2']&&_0x56e811['threadsV2']['length']||(_0x56e811['threadsV2']=[]),_0x56e811['threadsV2']['push']($root['CommentsThreadDescriptor']['decode'](_0x3e2cf5,_0x3e2cf5['uint32'](),void 0x0,_0x435c25+0x1));break;default:_0x3e2cf5['skipType'](0x7&tag,_0x435c25);}}return _0x56e811;},CommentsV2GetDocumentThreadsResponse['decodeDelimited']=function(_0x1de359){return _0x1de359 instanceof _0x3e39b8||(_0x1de359=new _0x3e39b8(_0x1de359)),this['decode'](_0x1de359,_0x1de359['uint32']());},CommentsV2GetDocumentThreadsResponse['verify']=function(_0x49f6b6,_0x391fa9){if('object'!=typeof _0x49f6b6||null===_0x49f6b6)return'object\x20expected';if(void 0x0===_0x391fa9&&(_0x391fa9=0x0),_0x391fa9>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x49f6b6['threads']&&Object['hasOwnProperty']['call'](_0x49f6b6,'threads')){if(!Array['isArray'](_0x49f6b6['threads']))return'threads:\x20array\x20expected';for(var _0x9ce228=0x0;_0x9ce228<_0x49f6b6['threads']['length'];++_0x9ce228)if(!$util['isString'](_0x49f6b6['threads'][_0x9ce228]))return'threads:\x20string[]\x20expected';}if(null!=_0x49f6b6['threadsV2']&&Object['hasOwnProperty']['call'](_0x49f6b6,'threadsV2')){if(!Array['isArray'](_0x49f6b6['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x9ce228=0x0;_0x9ce228<_0x49f6b6['threadsV2']['length'];++_0x9ce228){var _0x1af5f8=$root['CommentsThreadDescriptor']['verify'](_0x49f6b6['threadsV2'][_0x9ce228],_0x391fa9+0x1);if(_0x1af5f8)return'threadsV2.'+_0x1af5f8;}}return null;},CommentsV2GetDocumentThreadsResponse['fromObject']=function(object,_0x2ac04c){if(object instanceof $root['CommentsV2GetDocumentThreadsResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2GetDocumentThreadsResponse:\x20object\x20expected');if(void 0x0===_0x2ac04c&&(_0x2ac04c=0x0),_0x2ac04c>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2dd3e8=new $root['CommentsV2GetDocumentThreadsResponse']();if(object['threads']){if(!Array['isArray'](object['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0x2dd3e8['threads']=[];for(var _0x47709a=0x0;_0x47709a<object['threads']['length'];++_0x47709a)_0x2dd3e8['threads'][_0x47709a]=String(object['threads'][_0x47709a]);}if(object['threadsV2']){if(!Array['isArray'](object['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');_0x2dd3e8['threadsV2']=[];for(_0x47709a=0x0;_0x47709a<object['threadsV2']['length'];++_0x47709a){if(!$util['isObject'](object['threadsV2'][_0x47709a]))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0x2dd3e8['threadsV2'][_0x47709a]=$root['CommentsThreadDescriptor']['fromObject'](object['threadsV2'][_0x47709a],_0x2ac04c+0x1);}}return _0x2dd3e8;},CommentsV2GetDocumentThreadsResponse['toObject']=function(_0x426d46,options,_0x42bed2){if(options||(options={}),void 0x0===_0x42bed2&&(_0x42bed2=0x0),_0x42bed2>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['threads']=[],object['threadsV2']=[]),_0x426d46['threads']&&_0x426d46['threads']['length']){object['threads']=[];for(var _0x45a8fb=0x0;_0x45a8fb<_0x426d46['threads']['length'];++_0x45a8fb)object['threads'][_0x45a8fb]=_0x426d46['threads'][_0x45a8fb];}if(_0x426d46['threadsV2']&&_0x426d46['threadsV2']['length']){object['threadsV2']=[];for(_0x45a8fb=0x0;_0x45a8fb<_0x426d46['threadsV2']['length'];++_0x45a8fb)object['threadsV2'][_0x45a8fb]=$root['CommentsThreadDescriptor']['toObject'](_0x426d46['threadsV2'][_0x45a8fb],options,_0x42bed2+0x1);}return object;},CommentsV2GetDocumentThreadsResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2GetDocumentThreadsResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2GetDocumentThreadsResponse';},CommentsV2GetDocumentThreadsResponse;}()),$root['CommentsV2GetCommentThreadResponse']=(function(){function CommentsV2GetCommentThreadResponse(properties){if(this['comments']=[],this['commentsV2']=[],properties){for(var _0x15a01f=Object['keys'](properties),_0x1ba937=0x0;_0x1ba937<_0x15a01f['length'];++_0x1ba937)null!=properties[_0x15a01f[_0x1ba937]]&&'__proto__'!==_0x15a01f[_0x1ba937]&&(this[_0x15a01f[_0x1ba937]]=properties[_0x15a01f[_0x1ba937]]);}}return CommentsV2GetCommentThreadResponse['prototype']['commentThreadId']='',CommentsV2GetCommentThreadResponse['prototype']['comments']=$util['emptyArray'],CommentsV2GetCommentThreadResponse['prototype']['commentsV2']=$util['emptyArray'],CommentsV2GetCommentThreadResponse['prototype']['resolvedAt']='',CommentsV2GetCommentThreadResponse['prototype']['resolvedBy']='',CommentsV2GetCommentThreadResponse['prototype']['context']='',CommentsV2GetCommentThreadResponse['prototype']['createdAt']='',CommentsV2GetCommentThreadResponse['prototype']['deletedAt']='',CommentsV2GetCommentThreadResponse['prototype']['attributes']='',CommentsV2GetCommentThreadResponse['prototype']['unlinkedAt']='',CommentsV2GetCommentThreadResponse['create']=function(properties){return new CommentsV2GetCommentThreadResponse(properties);},CommentsV2GetCommentThreadResponse['encode']=function(_0x52d549,writer,_0x809973){if(writer||(writer=$Writer['create']()),void 0x0===_0x809973&&(_0x809973=0x0),_0x809973>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x52d549['commentThreadId']&&Object['hasOwnProperty']['call'](_0x52d549,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x52d549['commentThreadId']),null!=_0x52d549['comments']&&_0x52d549['comments']['length']){for(var _0x3a0f17=0x0;_0x3a0f17<_0x52d549['comments']['length'];++_0x3a0f17)writer['uint32'](0x12)['string'](_0x52d549['comments'][_0x3a0f17]);}if(null!=_0x52d549['commentsV2']&&_0x52d549['commentsV2']['length']){for(_0x3a0f17=0x0;_0x3a0f17<_0x52d549['commentsV2']['length'];++_0x3a0f17)$root['CommentDescriptor']['encode'](_0x52d549['commentsV2'][_0x3a0f17],writer['uint32'](0x1a)['fork'](),_0x809973+0x1)['ldelim']();}return null!=_0x52d549['resolvedAt']&&Object['hasOwnProperty']['call'](_0x52d549,'resolvedAt')&&writer['uint32'](0x22)['string'](_0x52d549['resolvedAt']),null!=_0x52d549['resolvedBy']&&Object['hasOwnProperty']['call'](_0x52d549,'resolvedBy')&&writer['uint32'](0x2a)['string'](_0x52d549['resolvedBy']),null!=_0x52d549['context']&&Object['hasOwnProperty']['call'](_0x52d549,'context')&&writer['uint32'](0x32)['string'](_0x52d549['context']),null!=_0x52d549['createdAt']&&Object['hasOwnProperty']['call'](_0x52d549,'createdAt')&&writer['uint32'](0x3a)['string'](_0x52d549['createdAt']),null!=_0x52d549['deletedAt']&&Object['hasOwnProperty']['call'](_0x52d549,'deletedAt')&&writer['uint32'](0x42)['string'](_0x52d549['deletedAt']),null!=_0x52d549['attributes']&&Object['hasOwnProperty']['call'](_0x52d549,'attributes')&&writer['uint32'](0x4a)['string'](_0x52d549['attributes']),null!=_0x52d549['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x52d549,'unlinkedAt')&&writer['uint32'](0x52)['string'](_0x52d549['unlinkedAt']),writer;},CommentsV2GetCommentThreadResponse['encodeDelimited']=function(_0x51d430,writer){return this['encode'](_0x51d430,writer)['ldelim']();},CommentsV2GetCommentThreadResponse['decode']=function(_0x362077,length,_0x5364bb,_0x47ccf2){if(_0x362077 instanceof _0x3e39b8||(_0x362077=_0x3e39b8['create'](_0x362077)),void 0x0===_0x47ccf2&&(_0x47ccf2=0x0),_0x47ccf2>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x183146=void 0x0===length?_0x362077['len']:_0x362077['pos']+length,_0x4fe606=new $root['CommentsV2GetCommentThreadResponse']();_0x362077['pos']<_0x183146;){var tag=_0x362077['uint32']();if(tag===_0x5364bb)break;switch(tag>>>0x3){case 0x1:_0x4fe606['commentThreadId']=_0x362077['string']();break;case 0x2:_0x4fe606['comments']&&_0x4fe606['comments']['length']||(_0x4fe606['comments']=[]),_0x4fe606['comments']['push'](_0x362077['string']());break;case 0x3:_0x4fe606['commentsV2']&&_0x4fe606['commentsV2']['length']||(_0x4fe606['commentsV2']=[]),_0x4fe606['commentsV2']['push']($root['CommentDescriptor']['decode'](_0x362077,_0x362077['uint32'](),void 0x0,_0x47ccf2+0x1));break;case 0x4:_0x4fe606['resolvedAt']=_0x362077['string']();break;case 0x5:_0x4fe606['resolvedBy']=_0x362077['string']();break;case 0x6:_0x4fe606['context']=_0x362077['string']();break;case 0x7:_0x4fe606['createdAt']=_0x362077['string']();break;case 0x8:_0x4fe606['deletedAt']=_0x362077['string']();break;case 0x9:_0x4fe606['attributes']=_0x362077['string']();break;case 0xa:_0x4fe606['unlinkedAt']=_0x362077['string']();break;default:_0x362077['skipType'](0x7&tag,_0x47ccf2);}}return _0x4fe606;},CommentsV2GetCommentThreadResponse['decodeDelimited']=function(_0x157e6e){return _0x157e6e instanceof _0x3e39b8||(_0x157e6e=new _0x3e39b8(_0x157e6e)),this['decode'](_0x157e6e,_0x157e6e['uint32']());},CommentsV2GetCommentThreadResponse['verify']=function(_0x878194,_0x468ed9){if('object'!=typeof _0x878194||null===_0x878194)return'object\x20expected';if(void 0x0===_0x468ed9&&(_0x468ed9=0x0),_0x468ed9>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x878194['commentThreadId']&&Object['hasOwnProperty']['call'](_0x878194,'commentThreadId')&&!$util['isString'](_0x878194['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x878194['comments']&&Object['hasOwnProperty']['call'](_0x878194,'comments')){if(!Array['isArray'](_0x878194['comments']))return'comments:\x20array\x20expected';for(var _0x34d0c4=0x0;_0x34d0c4<_0x878194['comments']['length'];++_0x34d0c4)if(!$util['isString'](_0x878194['comments'][_0x34d0c4]))return'comments:\x20string[]\x20expected';}if(null!=_0x878194['commentsV2']&&Object['hasOwnProperty']['call'](_0x878194,'commentsV2')){if(!Array['isArray'](_0x878194['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x34d0c4=0x0;_0x34d0c4<_0x878194['commentsV2']['length'];++_0x34d0c4){var _0x6230b7=$root['CommentDescriptor']['verify'](_0x878194['commentsV2'][_0x34d0c4],_0x468ed9+0x1);if(_0x6230b7)return'commentsV2.'+_0x6230b7;}}return null!=_0x878194['resolvedAt']&&Object['hasOwnProperty']['call'](_0x878194,'resolvedAt')&&!$util['isString'](_0x878194['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x878194['resolvedBy']&&Object['hasOwnProperty']['call'](_0x878194,'resolvedBy')&&!$util['isString'](_0x878194['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x878194['context']&&Object['hasOwnProperty']['call'](_0x878194,'context')&&!$util['isString'](_0x878194['context'])?'context:\x20string\x20expected':null!=_0x878194['createdAt']&&Object['hasOwnProperty']['call'](_0x878194,'createdAt')&&!$util['isString'](_0x878194['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x878194['deletedAt']&&Object['hasOwnProperty']['call'](_0x878194,'deletedAt')&&!$util['isString'](_0x878194['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x878194['attributes']&&Object['hasOwnProperty']['call'](_0x878194,'attributes')&&!$util['isString'](_0x878194['attributes'])?'attributes:\x20string\x20expected':null!=_0x878194['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x878194,'unlinkedAt')&&!$util['isString'](_0x878194['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},CommentsV2GetCommentThreadResponse['fromObject']=function(object,_0x23afcd){if(object instanceof $root['CommentsV2GetCommentThreadResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2GetCommentThreadResponse:\x20object\x20expected');if(void 0x0===_0x23afcd&&(_0x23afcd=0x0),_0x23afcd>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3691e8=new $root['CommentsV2GetCommentThreadResponse']();if(null!=object['commentThreadId']&&(_0x3691e8['commentThreadId']=String(object['commentThreadId'])),object['comments']){if(!Array['isArray'](object['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x3691e8['comments']=[];for(var _0x4646cc=0x0;_0x4646cc<object['comments']['length'];++_0x4646cc)_0x3691e8['comments'][_0x4646cc]=String(object['comments'][_0x4646cc]);}if(object['commentsV2']){if(!Array['isArray'](object['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');_0x3691e8['commentsV2']=[];for(_0x4646cc=0x0;_0x4646cc<object['commentsV2']['length'];++_0x4646cc){if(!$util['isObject'](object['commentsV2'][_0x4646cc]))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x3691e8['commentsV2'][_0x4646cc]=$root['CommentDescriptor']['fromObject'](object['commentsV2'][_0x4646cc],_0x23afcd+0x1);}}return null!=object['resolvedAt']&&(_0x3691e8['resolvedAt']=String(object['resolvedAt'])),null!=object['resolvedBy']&&(_0x3691e8['resolvedBy']=String(object['resolvedBy'])),null!=object['context']&&(_0x3691e8['context']=String(object['context'])),null!=object['createdAt']&&(_0x3691e8['createdAt']=String(object['createdAt'])),null!=object['deletedAt']&&(_0x3691e8['deletedAt']=String(object['deletedAt'])),null!=object['attributes']&&(_0x3691e8['attributes']=String(object['attributes'])),null!=object['unlinkedAt']&&(_0x3691e8['unlinkedAt']=String(object['unlinkedAt'])),_0x3691e8;},CommentsV2GetCommentThreadResponse['toObject']=function(_0x425afc,options,_0x3be205){if(options||(options={}),void 0x0===_0x3be205&&(_0x3be205=0x0),_0x3be205>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['comments']=[],object['commentsV2']=[]),options['defaults']&&(object['commentThreadId']='',object['resolvedAt']='',object['resolvedBy']='',object['context']='',object['createdAt']='',object['deletedAt']='',object['attributes']='',object['unlinkedAt']=''),null!=_0x425afc['commentThreadId']&&Object['hasOwnProperty']['call'](_0x425afc,'commentThreadId')&&(object['commentThreadId']=_0x425afc['commentThreadId']),_0x425afc['comments']&&_0x425afc['comments']['length']){object['comments']=[];for(var _0x12e451=0x0;_0x12e451<_0x425afc['comments']['length'];++_0x12e451)object['comments'][_0x12e451]=_0x425afc['comments'][_0x12e451];}if(_0x425afc['commentsV2']&&_0x425afc['commentsV2']['length']){object['commentsV2']=[];for(_0x12e451=0x0;_0x12e451<_0x425afc['commentsV2']['length'];++_0x12e451)object['commentsV2'][_0x12e451]=$root['CommentDescriptor']['toObject'](_0x425afc['commentsV2'][_0x12e451],options,_0x3be205+0x1);}return null!=_0x425afc['resolvedAt']&&Object['hasOwnProperty']['call'](_0x425afc,'resolvedAt')&&(object['resolvedAt']=_0x425afc['resolvedAt']),null!=_0x425afc['resolvedBy']&&Object['hasOwnProperty']['call'](_0x425afc,'resolvedBy')&&(object['resolvedBy']=_0x425afc['resolvedBy']),null!=_0x425afc['context']&&Object['hasOwnProperty']['call'](_0x425afc,'context')&&(object['context']=_0x425afc['context']),null!=_0x425afc['createdAt']&&Object['hasOwnProperty']['call'](_0x425afc,'createdAt')&&(object['createdAt']=_0x425afc['createdAt']),null!=_0x425afc['deletedAt']&&Object['hasOwnProperty']['call'](_0x425afc,'deletedAt')&&(object['deletedAt']=_0x425afc['deletedAt']),null!=_0x425afc['attributes']&&Object['hasOwnProperty']['call'](_0x425afc,'attributes')&&(object['attributes']=_0x425afc['attributes']),null!=_0x425afc['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x425afc,'unlinkedAt')&&(object['unlinkedAt']=_0x425afc['unlinkedAt']),object;},CommentsV2GetCommentThreadResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2GetCommentThreadResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2GetCommentThreadResponse';},CommentsV2GetCommentThreadResponse;}()),$root['CommentsV2ConnectResponse']=(function(){function CommentsV2ConnectResponse(properties){if(this['threads']=[],this['threadsV2']=[],properties){for(var _0x26f2c7=Object['keys'](properties),_0x1b1e47=0x0;_0x1b1e47<_0x26f2c7['length'];++_0x1b1e47)null!=properties[_0x26f2c7[_0x1b1e47]]&&'__proto__'!==_0x26f2c7[_0x1b1e47]&&(this[_0x26f2c7[_0x1b1e47]]=properties[_0x26f2c7[_0x1b1e47]]);}}return CommentsV2ConnectResponse['prototype']['channel']='',CommentsV2ConnectResponse['prototype']['threads']=$util['emptyArray'],CommentsV2ConnectResponse['prototype']['threadsV2']=$util['emptyArray'],CommentsV2ConnectResponse['create']=function(properties){return new CommentsV2ConnectResponse(properties);},CommentsV2ConnectResponse['encode']=function(_0xfb51c2,writer,_0x4abd18){if(writer||(writer=$Writer['create']()),void 0x0===_0x4abd18&&(_0x4abd18=0x0),_0x4abd18>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0xfb51c2['channel']&&Object['hasOwnProperty']['call'](_0xfb51c2,'channel')&&writer['uint32'](0xa)['string'](_0xfb51c2['channel']),null!=_0xfb51c2['threads']&&_0xfb51c2['threads']['length']){for(var _0x41840c=0x0;_0x41840c<_0xfb51c2['threads']['length'];++_0x41840c)writer['uint32'](0x12)['string'](_0xfb51c2['threads'][_0x41840c]);}if(null!=_0xfb51c2['threadsV2']&&_0xfb51c2['threadsV2']['length']){for(_0x41840c=0x0;_0x41840c<_0xfb51c2['threadsV2']['length'];++_0x41840c)$root['CommentsThreadDescriptor']['encode'](_0xfb51c2['threadsV2'][_0x41840c],writer['uint32'](0x1a)['fork'](),_0x4abd18+0x1)['ldelim']();}return writer;},CommentsV2ConnectResponse['encodeDelimited']=function(_0x49290f,writer){return this['encode'](_0x49290f,writer)['ldelim']();},CommentsV2ConnectResponse['decode']=function(_0x24d8f0,length,_0x3befaa,_0x229a6b){if(_0x24d8f0 instanceof _0x3e39b8||(_0x24d8f0=_0x3e39b8['create'](_0x24d8f0)),void 0x0===_0x229a6b&&(_0x229a6b=0x0),_0x229a6b>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x30d7f0=void 0x0===length?_0x24d8f0['len']:_0x24d8f0['pos']+length,_0x2d6104=new $root['CommentsV2ConnectResponse']();_0x24d8f0['pos']<_0x30d7f0;){var tag=_0x24d8f0['uint32']();if(tag===_0x3befaa)break;switch(tag>>>0x3){case 0x1:_0x2d6104['channel']=_0x24d8f0['string']();break;case 0x2:_0x2d6104['threads']&&_0x2d6104['threads']['length']||(_0x2d6104['threads']=[]),_0x2d6104['threads']['push'](_0x24d8f0['string']());break;case 0x3:_0x2d6104['threadsV2']&&_0x2d6104['threadsV2']['length']||(_0x2d6104['threadsV2']=[]),_0x2d6104['threadsV2']['push']($root['CommentsThreadDescriptor']['decode'](_0x24d8f0,_0x24d8f0['uint32'](),void 0x0,_0x229a6b+0x1));break;default:_0x24d8f0['skipType'](0x7&tag,_0x229a6b);}}return _0x2d6104;},CommentsV2ConnectResponse['decodeDelimited']=function(_0x67c268){return _0x67c268 instanceof _0x3e39b8||(_0x67c268=new _0x3e39b8(_0x67c268)),this['decode'](_0x67c268,_0x67c268['uint32']());},CommentsV2ConnectResponse['verify']=function(_0xc08bcc,_0x26d6f3){if('object'!=typeof _0xc08bcc||null===_0xc08bcc)return'object\x20expected';if(void 0x0===_0x26d6f3&&(_0x26d6f3=0x0),_0x26d6f3>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xc08bcc['channel']&&Object['hasOwnProperty']['call'](_0xc08bcc,'channel')&&!$util['isString'](_0xc08bcc['channel']))return'channel:\x20string\x20expected';if(null!=_0xc08bcc['threads']&&Object['hasOwnProperty']['call'](_0xc08bcc,'threads')){if(!Array['isArray'](_0xc08bcc['threads']))return'threads:\x20array\x20expected';for(var _0x3a90aa=0x0;_0x3a90aa<_0xc08bcc['threads']['length'];++_0x3a90aa)if(!$util['isString'](_0xc08bcc['threads'][_0x3a90aa]))return'threads:\x20string[]\x20expected';}if(null!=_0xc08bcc['threadsV2']&&Object['hasOwnProperty']['call'](_0xc08bcc,'threadsV2')){if(!Array['isArray'](_0xc08bcc['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x3a90aa=0x0;_0x3a90aa<_0xc08bcc['threadsV2']['length'];++_0x3a90aa){var _0x32a908=$root['CommentsThreadDescriptor']['verify'](_0xc08bcc['threadsV2'][_0x3a90aa],_0x26d6f3+0x1);if(_0x32a908)return'threadsV2.'+_0x32a908;}}return null;},CommentsV2ConnectResponse['fromObject']=function(object,_0x28a629){if(object instanceof $root['CommentsV2ConnectResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2ConnectResponse:\x20object\x20expected');if(void 0x0===_0x28a629&&(_0x28a629=0x0),_0x28a629>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1c2d4e=new $root['CommentsV2ConnectResponse']();if(null!=object['channel']&&(_0x1c2d4e['channel']=String(object['channel'])),object['threads']){if(!Array['isArray'](object['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x1c2d4e['threads']=[];for(var _0x4916a2=0x0;_0x4916a2<object['threads']['length'];++_0x4916a2)_0x1c2d4e['threads'][_0x4916a2]=String(object['threads'][_0x4916a2]);}if(object['threadsV2']){if(!Array['isArray'](object['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');_0x1c2d4e['threadsV2']=[];for(_0x4916a2=0x0;_0x4916a2<object['threadsV2']['length'];++_0x4916a2){if(!$util['isObject'](object['threadsV2'][_0x4916a2]))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x1c2d4e['threadsV2'][_0x4916a2]=$root['CommentsThreadDescriptor']['fromObject'](object['threadsV2'][_0x4916a2],_0x28a629+0x1);}}return _0x1c2d4e;},CommentsV2ConnectResponse['toObject']=function(_0x1d3da1,options,_0xa25f9a){if(options||(options={}),void 0x0===_0xa25f9a&&(_0xa25f9a=0x0),_0xa25f9a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['threads']=[],object['threadsV2']=[]),options['defaults']&&(object['channel']=''),null!=_0x1d3da1['channel']&&Object['hasOwnProperty']['call'](_0x1d3da1,'channel')&&(object['channel']=_0x1d3da1['channel']),_0x1d3da1['threads']&&_0x1d3da1['threads']['length']){object['threads']=[];for(var _0x1057a4=0x0;_0x1057a4<_0x1d3da1['threads']['length'];++_0x1057a4)object['threads'][_0x1057a4]=_0x1d3da1['threads'][_0x1057a4];}if(_0x1d3da1['threadsV2']&&_0x1d3da1['threadsV2']['length']){object['threadsV2']=[];for(_0x1057a4=0x0;_0x1057a4<_0x1d3da1['threadsV2']['length'];++_0x1057a4)object['threadsV2'][_0x1057a4]=$root['CommentsThreadDescriptor']['toObject'](_0x1d3da1['threadsV2'][_0x1057a4],options,_0xa25f9a+0x1);}return object;},CommentsV2ConnectResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2ConnectResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2ConnectResponse';},CommentsV2ConnectResponse;}()),$root['CommentsV2AddCommentResponse']=(function(){function CommentsV2AddCommentResponse(properties){if(properties){for(var _0xdfdc93=Object['keys'](properties),_0xc51e95=0x0;_0xc51e95<_0xdfdc93['length'];++_0xc51e95)null!=properties[_0xdfdc93[_0xc51e95]]&&'__proto__'!==_0xdfdc93[_0xc51e95]&&(this[_0xdfdc93[_0xc51e95]]=properties[_0xdfdc93[_0xc51e95]]);}}return CommentsV2AddCommentResponse['prototype']['commentThreadId']='',CommentsV2AddCommentResponse['prototype']['commentId']='',CommentsV2AddCommentResponse['prototype']['createdAt']='',CommentsV2AddCommentResponse['create']=function(properties){return new CommentsV2AddCommentResponse(properties);},CommentsV2AddCommentResponse['encode']=function(_0x11d2a5,writer,_0x100079){if(writer||(writer=$Writer['create']()),void 0x0===_0x100079&&(_0x100079=0x0),_0x100079>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x11d2a5['commentThreadId']&&Object['hasOwnProperty']['call'](_0x11d2a5,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x11d2a5['commentThreadId']),null!=_0x11d2a5['commentId']&&Object['hasOwnProperty']['call'](_0x11d2a5,'commentId')&&writer['uint32'](0x12)['string'](_0x11d2a5['commentId']),null!=_0x11d2a5['createdAt']&&Object['hasOwnProperty']['call'](_0x11d2a5,'createdAt')&&writer['uint32'](0x1a)['string'](_0x11d2a5['createdAt']),writer;},CommentsV2AddCommentResponse['encodeDelimited']=function(_0x12c695,writer){return this['encode'](_0x12c695,writer)['ldelim']();},CommentsV2AddCommentResponse['decode']=function(_0x325426,length,_0x10450f,_0x5e0b90){if(_0x325426 instanceof _0x3e39b8||(_0x325426=_0x3e39b8['create'](_0x325426)),void 0x0===_0x5e0b90&&(_0x5e0b90=0x0),_0x5e0b90>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3824df=void 0x0===length?_0x325426['len']:_0x325426['pos']+length,_0x400de9=new $root['CommentsV2AddCommentResponse']();_0x325426['pos']<_0x3824df;){var tag=_0x325426['uint32']();if(tag===_0x10450f)break;switch(tag>>>0x3){case 0x1:_0x400de9['commentThreadId']=_0x325426['string']();break;case 0x2:_0x400de9['commentId']=_0x325426['string']();break;case 0x3:_0x400de9['createdAt']=_0x325426['string']();break;default:_0x325426['skipType'](0x7&tag,_0x5e0b90);}}return _0x400de9;},CommentsV2AddCommentResponse['decodeDelimited']=function(_0x56fd05){return _0x56fd05 instanceof _0x3e39b8||(_0x56fd05=new _0x3e39b8(_0x56fd05)),this['decode'](_0x56fd05,_0x56fd05['uint32']());},CommentsV2AddCommentResponse['verify']=function(_0x1fcda0,_0xcdefc3){return'object'!=typeof _0x1fcda0||null===_0x1fcda0?'object\x20expected':(void 0x0===_0xcdefc3&&(_0xcdefc3=0x0),_0xcdefc3>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1fcda0['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1fcda0,'commentThreadId')&&!$util['isString'](_0x1fcda0['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1fcda0['commentId']&&Object['hasOwnProperty']['call'](_0x1fcda0,'commentId')&&!$util['isString'](_0x1fcda0['commentId'])?'commentId:\x20string\x20expected':null!=_0x1fcda0['createdAt']&&Object['hasOwnProperty']['call'](_0x1fcda0,'createdAt')&&!$util['isString'](_0x1fcda0['createdAt'])?'createdAt:\x20string\x20expected':null);},CommentsV2AddCommentResponse['fromObject']=function(object,_0x13e5b5){if(object instanceof $root['CommentsV2AddCommentResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2AddCommentResponse:\x20object\x20expected');if(void 0x0===_0x13e5b5&&(_0x13e5b5=0x0),_0x13e5b5>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5981bc=new $root['CommentsV2AddCommentResponse']();return null!=object['commentThreadId']&&(_0x5981bc['commentThreadId']=String(object['commentThreadId'])),null!=object['commentId']&&(_0x5981bc['commentId']=String(object['commentId'])),null!=object['createdAt']&&(_0x5981bc['createdAt']=String(object['createdAt'])),_0x5981bc;},CommentsV2AddCommentResponse['toObject']=function(_0x1da8b2,options,_0x3ade51){if(options||(options={}),void 0x0===_0x3ade51&&(_0x3ade51=0x0),_0x3ade51>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['commentId']='',object['createdAt']=''),null!=_0x1da8b2['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1da8b2,'commentThreadId')&&(object['commentThreadId']=_0x1da8b2['commentThreadId']),null!=_0x1da8b2['commentId']&&Object['hasOwnProperty']['call'](_0x1da8b2,'commentId')&&(object['commentId']=_0x1da8b2['commentId']),null!=_0x1da8b2['createdAt']&&Object['hasOwnProperty']['call'](_0x1da8b2,'createdAt')&&(object['createdAt']=_0x1da8b2['createdAt']),object;},CommentsV2AddCommentResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2AddCommentResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2AddCommentResponse';},CommentsV2AddCommentResponse;}()),$root['CommentsV2ResolveCommentThreadResponse']=(function(){function CommentsV2ResolveCommentThreadResponse(properties){if(properties){for(var _0x4ac4c3=Object['keys'](properties),_0x4c705d=0x0;_0x4c705d<_0x4ac4c3['length'];++_0x4c705d)null!=properties[_0x4ac4c3[_0x4c705d]]&&'__proto__'!==_0x4ac4c3[_0x4c705d]&&(this[_0x4ac4c3[_0x4c705d]]=properties[_0x4ac4c3[_0x4c705d]]);}}return CommentsV2ResolveCommentThreadResponse['prototype']['commentThreadId']='',CommentsV2ResolveCommentThreadResponse['prototype']['documentId']='',CommentsV2ResolveCommentThreadResponse['prototype']['resolvedAt']='',CommentsV2ResolveCommentThreadResponse['prototype']['resolvedBy']='',CommentsV2ResolveCommentThreadResponse['create']=function(properties){return new CommentsV2ResolveCommentThreadResponse(properties);},CommentsV2ResolveCommentThreadResponse['encode']=function(_0x366789,writer,_0x360839){if(writer||(writer=$Writer['create']()),void 0x0===_0x360839&&(_0x360839=0x0),_0x360839>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x366789['commentThreadId']&&Object['hasOwnProperty']['call'](_0x366789,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x366789['commentThreadId']),null!=_0x366789['documentId']&&Object['hasOwnProperty']['call'](_0x366789,'documentId')&&writer['uint32'](0x12)['string'](_0x366789['documentId']),null!=_0x366789['resolvedAt']&&Object['hasOwnProperty']['call'](_0x366789,'resolvedAt')&&writer['uint32'](0x1a)['string'](_0x366789['resolvedAt']),null!=_0x366789['resolvedBy']&&Object['hasOwnProperty']['call'](_0x366789,'resolvedBy')&&writer['uint32'](0x22)['string'](_0x366789['resolvedBy']),writer;},CommentsV2ResolveCommentThreadResponse['encodeDelimited']=function(_0x527c85,writer){return this['encode'](_0x527c85,writer)['ldelim']();},CommentsV2ResolveCommentThreadResponse['decode']=function(_0x2fc741,length,_0x4543be,_0x30454e){if(_0x2fc741 instanceof _0x3e39b8||(_0x2fc741=_0x3e39b8['create'](_0x2fc741)),void 0x0===_0x30454e&&(_0x30454e=0x0),_0x30454e>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x70fa16=void 0x0===length?_0x2fc741['len']:_0x2fc741['pos']+length,_0x5c5011=new $root['CommentsV2ResolveCommentThreadResponse']();_0x2fc741['pos']<_0x70fa16;){var tag=_0x2fc741['uint32']();if(tag===_0x4543be)break;switch(tag>>>0x3){case 0x1:_0x5c5011['commentThreadId']=_0x2fc741['string']();break;case 0x2:_0x5c5011['documentId']=_0x2fc741['string']();break;case 0x3:_0x5c5011['resolvedAt']=_0x2fc741['string']();break;case 0x4:_0x5c5011['resolvedBy']=_0x2fc741['string']();break;default:_0x2fc741['skipType'](0x7&tag,_0x30454e);}}return _0x5c5011;},CommentsV2ResolveCommentThreadResponse['decodeDelimited']=function(_0x39437b){return _0x39437b instanceof _0x3e39b8||(_0x39437b=new _0x3e39b8(_0x39437b)),this['decode'](_0x39437b,_0x39437b['uint32']());},CommentsV2ResolveCommentThreadResponse['verify']=function(_0xb08b2d,_0x3cbee0){return'object'!=typeof _0xb08b2d||null===_0xb08b2d?'object\x20expected':(void 0x0===_0x3cbee0&&(_0x3cbee0=0x0),_0x3cbee0>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xb08b2d['commentThreadId']&&Object['hasOwnProperty']['call'](_0xb08b2d,'commentThreadId')&&!$util['isString'](_0xb08b2d['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0xb08b2d['documentId']&&Object['hasOwnProperty']['call'](_0xb08b2d,'documentId')&&!$util['isString'](_0xb08b2d['documentId'])?'documentId:\x20string\x20expected':null!=_0xb08b2d['resolvedAt']&&Object['hasOwnProperty']['call'](_0xb08b2d,'resolvedAt')&&!$util['isString'](_0xb08b2d['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0xb08b2d['resolvedBy']&&Object['hasOwnProperty']['call'](_0xb08b2d,'resolvedBy')&&!$util['isString'](_0xb08b2d['resolvedBy'])?'resolvedBy:\x20string\x20expected':null);},CommentsV2ResolveCommentThreadResponse['fromObject']=function(object,_0x30d3b3){if(object instanceof $root['CommentsV2ResolveCommentThreadResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2ResolveCommentThreadResponse:\x20object\x20expected');if(void 0x0===_0x30d3b3&&(_0x30d3b3=0x0),_0x30d3b3>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1a5b2a=new $root['CommentsV2ResolveCommentThreadResponse']();return null!=object['commentThreadId']&&(_0x1a5b2a['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x1a5b2a['documentId']=String(object['documentId'])),null!=object['resolvedAt']&&(_0x1a5b2a['resolvedAt']=String(object['resolvedAt'])),null!=object['resolvedBy']&&(_0x1a5b2a['resolvedBy']=String(object['resolvedBy'])),_0x1a5b2a;},CommentsV2ResolveCommentThreadResponse['toObject']=function(_0x466597,options,_0x49f16b){if(options||(options={}),void 0x0===_0x49f16b&&(_0x49f16b=0x0),_0x49f16b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']='',object['resolvedAt']='',object['resolvedBy']=''),null!=_0x466597['commentThreadId']&&Object['hasOwnProperty']['call'](_0x466597,'commentThreadId')&&(object['commentThreadId']=_0x466597['commentThreadId']),null!=_0x466597['documentId']&&Object['hasOwnProperty']['call'](_0x466597,'documentId')&&(object['documentId']=_0x466597['documentId']),null!=_0x466597['resolvedAt']&&Object['hasOwnProperty']['call'](_0x466597,'resolvedAt')&&(object['resolvedAt']=_0x466597['resolvedAt']),null!=_0x466597['resolvedBy']&&Object['hasOwnProperty']['call'](_0x466597,'resolvedBy')&&(object['resolvedBy']=_0x466597['resolvedBy']),object;},CommentsV2ResolveCommentThreadResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2ResolveCommentThreadResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2ResolveCommentThreadResponse';},CommentsV2ResolveCommentThreadResponse;}()),$root['CommentsV2AddCommentThreadResponse']=(function(){function CommentsV2AddCommentThreadResponse(properties){if(this['comments']=[],properties){for(var _0x5aa92e=Object['keys'](properties),_0x49af14=0x0;_0x49af14<_0x5aa92e['length'];++_0x49af14)null!=properties[_0x5aa92e[_0x49af14]]&&'__proto__'!==_0x5aa92e[_0x49af14]&&(this[_0x5aa92e[_0x49af14]]=properties[_0x5aa92e[_0x49af14]]);}}return CommentsV2AddCommentThreadResponse['prototype']['commentThreadId']='',CommentsV2AddCommentThreadResponse['prototype']['createdAt']='',CommentsV2AddCommentThreadResponse['prototype']['comments']=$util['emptyArray'],CommentsV2AddCommentThreadResponse['create']=function(properties){return new CommentsV2AddCommentThreadResponse(properties);},CommentsV2AddCommentThreadResponse['encode']=function(_0x4a6855,writer,_0x47419b){if(writer||(writer=$Writer['create']()),void 0x0===_0x47419b&&(_0x47419b=0x0),_0x47419b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x4a6855['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4a6855,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x4a6855['commentThreadId']),null!=_0x4a6855['createdAt']&&Object['hasOwnProperty']['call'](_0x4a6855,'createdAt')&&writer['uint32'](0x12)['string'](_0x4a6855['createdAt']),null!=_0x4a6855['comments']&&_0x4a6855['comments']['length']){for(var _0x261a74=0x0;_0x261a74<_0x4a6855['comments']['length'];++_0x261a74)$root['CommentThreadAddedCommentDescriptor']['encode'](_0x4a6855['comments'][_0x261a74],writer['uint32'](0x1a)['fork'](),_0x47419b+0x1)['ldelim']();}return writer;},CommentsV2AddCommentThreadResponse['encodeDelimited']=function(_0x40da6c,writer){return this['encode'](_0x40da6c,writer)['ldelim']();},CommentsV2AddCommentThreadResponse['decode']=function(_0x44b651,length,_0x1dd948,_0x20d96b){if(_0x44b651 instanceof _0x3e39b8||(_0x44b651=_0x3e39b8['create'](_0x44b651)),void 0x0===_0x20d96b&&(_0x20d96b=0x0),_0x20d96b>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xf0e635=void 0x0===length?_0x44b651['len']:_0x44b651['pos']+length,_0x33155c=new $root['CommentsV2AddCommentThreadResponse']();_0x44b651['pos']<_0xf0e635;){var tag=_0x44b651['uint32']();if(tag===_0x1dd948)break;switch(tag>>>0x3){case 0x1:_0x33155c['commentThreadId']=_0x44b651['string']();break;case 0x2:_0x33155c['createdAt']=_0x44b651['string']();break;case 0x3:_0x33155c['comments']&&_0x33155c['comments']['length']||(_0x33155c['comments']=[]),_0x33155c['comments']['push']($root['CommentThreadAddedCommentDescriptor']['decode'](_0x44b651,_0x44b651['uint32'](),void 0x0,_0x20d96b+0x1));break;default:_0x44b651['skipType'](0x7&tag,_0x20d96b);}}return _0x33155c;},CommentsV2AddCommentThreadResponse['decodeDelimited']=function(_0x19f738){return _0x19f738 instanceof _0x3e39b8||(_0x19f738=new _0x3e39b8(_0x19f738)),this['decode'](_0x19f738,_0x19f738['uint32']());},CommentsV2AddCommentThreadResponse['verify']=function(_0x19572f,_0x8b7170){if('object'!=typeof _0x19572f||null===_0x19572f)return'object\x20expected';if(void 0x0===_0x8b7170&&(_0x8b7170=0x0),_0x8b7170>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x19572f['commentThreadId']&&Object['hasOwnProperty']['call'](_0x19572f,'commentThreadId')&&!$util['isString'](_0x19572f['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x19572f['createdAt']&&Object['hasOwnProperty']['call'](_0x19572f,'createdAt')&&!$util['isString'](_0x19572f['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x19572f['comments']&&Object['hasOwnProperty']['call'](_0x19572f,'comments')){if(!Array['isArray'](_0x19572f['comments']))return'comments:\x20array\x20expected';for(var _0x538a4d=0x0;_0x538a4d<_0x19572f['comments']['length'];++_0x538a4d){var _0x43254f=$root['CommentThreadAddedCommentDescriptor']['verify'](_0x19572f['comments'][_0x538a4d],_0x8b7170+0x1);if(_0x43254f)return'comments.'+_0x43254f;}}return null;},CommentsV2AddCommentThreadResponse['fromObject']=function(object,_0x29832a){if(object instanceof $root['CommentsV2AddCommentThreadResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2AddCommentThreadResponse:\x20object\x20expected');if(void 0x0===_0x29832a&&(_0x29832a=0x0),_0x29832a>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5b6f0f=new $root['CommentsV2AddCommentThreadResponse']();if(null!=object['commentThreadId']&&(_0x5b6f0f['commentThreadId']=String(object['commentThreadId'])),null!=object['createdAt']&&(_0x5b6f0f['createdAt']=String(object['createdAt'])),object['comments']){if(!Array['isArray'](object['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x5b6f0f['comments']=[];for(var _0x1b05c7=0x0;_0x1b05c7<object['comments']['length'];++_0x1b05c7){if(!$util['isObject'](object['comments'][_0x1b05c7]))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x5b6f0f['comments'][_0x1b05c7]=$root['CommentThreadAddedCommentDescriptor']['fromObject'](object['comments'][_0x1b05c7],_0x29832a+0x1);}}return _0x5b6f0f;},CommentsV2AddCommentThreadResponse['toObject']=function(_0x4e6fca,options,_0x20cc61){if(options||(options={}),void 0x0===_0x20cc61&&(_0x20cc61=0x0),_0x20cc61>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['comments']=[]),options['defaults']&&(object['commentThreadId']='',object['createdAt']=''),null!=_0x4e6fca['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4e6fca,'commentThreadId')&&(object['commentThreadId']=_0x4e6fca['commentThreadId']),null!=_0x4e6fca['createdAt']&&Object['hasOwnProperty']['call'](_0x4e6fca,'createdAt')&&(object['createdAt']=_0x4e6fca['createdAt']),_0x4e6fca['comments']&&_0x4e6fca['comments']['length']){object['comments']=[];for(var _0x84d39f=0x0;_0x84d39f<_0x4e6fca['comments']['length'];++_0x84d39f)object['comments'][_0x84d39f]=$root['CommentThreadAddedCommentDescriptor']['toObject'](_0x4e6fca['comments'][_0x84d39f],options,_0x20cc61+0x1);}return object;},CommentsV2AddCommentThreadResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2AddCommentThreadResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2AddCommentThreadResponse';},CommentsV2AddCommentThreadResponse;}()),$root['CommentsV2UpdateCommentMessage']=(function(){function CommentsV2UpdateCommentMessage(properties){if(properties){for(var _0x52e5cc=Object['keys'](properties),_0x5bcf4e=0x0;_0x5bcf4e<_0x52e5cc['length'];++_0x5bcf4e)null!=properties[_0x52e5cc[_0x5bcf4e]]&&'__proto__'!==_0x52e5cc[_0x5bcf4e]&&(this[_0x52e5cc[_0x5bcf4e]]=properties[_0x52e5cc[_0x5bcf4e]]);}}return CommentsV2UpdateCommentMessage['prototype']['commentThreadId']='',CommentsV2UpdateCommentMessage['prototype']['commentId']='',CommentsV2UpdateCommentMessage['prototype']['content']='',CommentsV2UpdateCommentMessage['prototype']['documentId']='',CommentsV2UpdateCommentMessage['prototype']['attributes']='',CommentsV2UpdateCommentMessage['prototype']['isAttributesUpdated']=!0x1,CommentsV2UpdateCommentMessage['prototype']['commentThread']=null,CommentsV2UpdateCommentMessage['create']=function(properties){return new CommentsV2UpdateCommentMessage(properties);},CommentsV2UpdateCommentMessage['encode']=function(_0x17e210,writer,_0x3cbe32){if(writer||(writer=$Writer['create']()),void 0x0===_0x3cbe32&&(_0x3cbe32=0x0),_0x3cbe32>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x17e210['commentThreadId']&&Object['hasOwnProperty']['call'](_0x17e210,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x17e210['commentThreadId']),null!=_0x17e210['commentId']&&Object['hasOwnProperty']['call'](_0x17e210,'commentId')&&writer['uint32'](0x12)['string'](_0x17e210['commentId']),null!=_0x17e210['content']&&Object['hasOwnProperty']['call'](_0x17e210,'content')&&writer['uint32'](0x1a)['string'](_0x17e210['content']),null!=_0x17e210['documentId']&&Object['hasOwnProperty']['call'](_0x17e210,'documentId')&&writer['uint32'](0x22)['string'](_0x17e210['documentId']),null!=_0x17e210['attributes']&&Object['hasOwnProperty']['call'](_0x17e210,'attributes')&&writer['uint32'](0x2a)['string'](_0x17e210['attributes']),null!=_0x17e210['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x17e210,'isAttributesUpdated')&&writer['uint32'](0x30)['bool'](_0x17e210['isAttributesUpdated']),null!=_0x17e210['commentThread']&&Object['hasOwnProperty']['call'](_0x17e210,'commentThread')&&$root['CommentsThreadDescriptor']['encode'](_0x17e210['commentThread'],writer['uint32'](0x3a)['fork'](),_0x3cbe32+0x1)['ldelim'](),writer;},CommentsV2UpdateCommentMessage['encodeDelimited']=function(_0xb139b9,writer){return this['encode'](_0xb139b9,writer)['ldelim']();},CommentsV2UpdateCommentMessage['decode']=function(_0x2ecddf,length,_0x542190,_0x1c3e32){if(_0x2ecddf instanceof _0x3e39b8||(_0x2ecddf=_0x3e39b8['create'](_0x2ecddf)),void 0x0===_0x1c3e32&&(_0x1c3e32=0x0),_0x1c3e32>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2202b8=void 0x0===length?_0x2ecddf['len']:_0x2ecddf['pos']+length,_0x5bc8be=new $root['CommentsV2UpdateCommentMessage']();_0x2ecddf['pos']<_0x2202b8;){var tag=_0x2ecddf['uint32']();if(tag===_0x542190)break;switch(tag>>>0x3){case 0x1:_0x5bc8be['commentThreadId']=_0x2ecddf['string']();break;case 0x2:_0x5bc8be['commentId']=_0x2ecddf['string']();break;case 0x3:_0x5bc8be['content']=_0x2ecddf['string']();break;case 0x4:_0x5bc8be['documentId']=_0x2ecddf['string']();break;case 0x5:_0x5bc8be['attributes']=_0x2ecddf['string']();break;case 0x6:_0x5bc8be['isAttributesUpdated']=_0x2ecddf['bool']();break;case 0x7:_0x5bc8be['commentThread']=$root['CommentsThreadDescriptor']['decode'](_0x2ecddf,_0x2ecddf['uint32'](),void 0x0,_0x1c3e32+0x1);break;default:_0x2ecddf['skipType'](0x7&tag,_0x1c3e32);}}return _0x5bc8be;},CommentsV2UpdateCommentMessage['decodeDelimited']=function(_0x2400f3){return _0x2400f3 instanceof _0x3e39b8||(_0x2400f3=new _0x3e39b8(_0x2400f3)),this['decode'](_0x2400f3,_0x2400f3['uint32']());},CommentsV2UpdateCommentMessage['verify']=function(_0x4ff386,_0x33c6bb){if('object'!=typeof _0x4ff386||null===_0x4ff386)return'object\x20expected';if(void 0x0===_0x33c6bb&&(_0x33c6bb=0x0),_0x33c6bb>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x4ff386['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4ff386,'commentThreadId')&&!$util['isString'](_0x4ff386['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x4ff386['commentId']&&Object['hasOwnProperty']['call'](_0x4ff386,'commentId')&&!$util['isString'](_0x4ff386['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x4ff386['content']&&Object['hasOwnProperty']['call'](_0x4ff386,'content')&&!$util['isString'](_0x4ff386['content']))return'content:\x20string\x20expected';if(null!=_0x4ff386['documentId']&&Object['hasOwnProperty']['call'](_0x4ff386,'documentId')&&!$util['isString'](_0x4ff386['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x4ff386['attributes']&&Object['hasOwnProperty']['call'](_0x4ff386,'attributes')&&!$util['isString'](_0x4ff386['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x4ff386['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x4ff386,'isAttributesUpdated')&&'boolean'!=typeof _0x4ff386['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x4ff386['commentThread']&&Object['hasOwnProperty']['call'](_0x4ff386,'commentThread')){var _0x290ed5=$root['CommentsThreadDescriptor']['verify'](_0x4ff386['commentThread'],_0x33c6bb+0x1);if(_0x290ed5)return'commentThread.'+_0x290ed5;}return null;},CommentsV2UpdateCommentMessage['fromObject']=function(object,_0x4cd983){if(object instanceof $root['CommentsV2UpdateCommentMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2UpdateCommentMessage:\x20object\x20expected');if(void 0x0===_0x4cd983&&(_0x4cd983=0x0),_0x4cd983>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x527656=new $root['CommentsV2UpdateCommentMessage']();if(null!=object['commentThreadId']&&(_0x527656['commentThreadId']=String(object['commentThreadId'])),null!=object['commentId']&&(_0x527656['commentId']=String(object['commentId'])),null!=object['content']&&(_0x527656['content']=String(object['content'])),null!=object['documentId']&&(_0x527656['documentId']=String(object['documentId'])),null!=object['attributes']&&(_0x527656['attributes']=String(object['attributes'])),null!=object['isAttributesUpdated']&&(_0x527656['isAttributesUpdated']=Boolean(object['isAttributesUpdated'])),null!=object['commentThread']){if(!$util['isObject'](object['commentThread']))throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x527656['commentThread']=$root['CommentsThreadDescriptor']['fromObject'](object['commentThread'],_0x4cd983+0x1);}return _0x527656;},CommentsV2UpdateCommentMessage['toObject']=function(_0xb94898,options,_0x55a4fa){if(options||(options={}),void 0x0===_0x55a4fa&&(_0x55a4fa=0x0),_0x55a4fa>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['commentId']='',object['content']='',object['documentId']='',object['attributes']='',object['isAttributesUpdated']=!0x1,object['commentThread']=null),null!=_0xb94898['commentThreadId']&&Object['hasOwnProperty']['call'](_0xb94898,'commentThreadId')&&(object['commentThreadId']=_0xb94898['commentThreadId']),null!=_0xb94898['commentId']&&Object['hasOwnProperty']['call'](_0xb94898,'commentId')&&(object['commentId']=_0xb94898['commentId']),null!=_0xb94898['content']&&Object['hasOwnProperty']['call'](_0xb94898,'content')&&(object['content']=_0xb94898['content']),null!=_0xb94898['documentId']&&Object['hasOwnProperty']['call'](_0xb94898,'documentId')&&(object['documentId']=_0xb94898['documentId']),null!=_0xb94898['attributes']&&Object['hasOwnProperty']['call'](_0xb94898,'attributes')&&(object['attributes']=_0xb94898['attributes']),null!=_0xb94898['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0xb94898,'isAttributesUpdated')&&(object['isAttributesUpdated']=_0xb94898['isAttributesUpdated']),null!=_0xb94898['commentThread']&&Object['hasOwnProperty']['call'](_0xb94898,'commentThread')&&(object['commentThread']=$root['CommentsThreadDescriptor']['toObject'](_0xb94898['commentThread'],options,_0x55a4fa+0x1)),object;},CommentsV2UpdateCommentMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2UpdateCommentMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2UpdateCommentMessage';},CommentsV2UpdateCommentMessage;}()),$root['CommentsV2RemoveCommentThreadMessage']=(function(){function CommentsV2RemoveCommentThreadMessage(properties){if(properties){for(var _0x36ada4=Object['keys'](properties),_0x49b3a0=0x0;_0x49b3a0<_0x36ada4['length'];++_0x49b3a0)null!=properties[_0x36ada4[_0x49b3a0]]&&'__proto__'!==_0x36ada4[_0x49b3a0]&&(this[_0x36ada4[_0x49b3a0]]=properties[_0x36ada4[_0x49b3a0]]);}}return CommentsV2RemoveCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2RemoveCommentThreadMessage['prototype']['documentId']='',CommentsV2RemoveCommentThreadMessage['create']=function(properties){return new CommentsV2RemoveCommentThreadMessage(properties);},CommentsV2RemoveCommentThreadMessage['encode']=function(_0x3df4cc,writer,_0x212d47){if(writer||(writer=$Writer['create']()),void 0x0===_0x212d47&&(_0x212d47=0x0),_0x212d47>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3df4cc['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3df4cc,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x3df4cc['commentThreadId']),null!=_0x3df4cc['documentId']&&Object['hasOwnProperty']['call'](_0x3df4cc,'documentId')&&writer['uint32'](0x12)['string'](_0x3df4cc['documentId']),writer;},CommentsV2RemoveCommentThreadMessage['encodeDelimited']=function(_0xf3c7f,writer){return this['encode'](_0xf3c7f,writer)['ldelim']();},CommentsV2RemoveCommentThreadMessage['decode']=function(_0x1dc041,length,_0x2390aa,_0x5e2372){if(_0x1dc041 instanceof _0x3e39b8||(_0x1dc041=_0x3e39b8['create'](_0x1dc041)),void 0x0===_0x5e2372&&(_0x5e2372=0x0),_0x5e2372>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x27e49f=void 0x0===length?_0x1dc041['len']:_0x1dc041['pos']+length,_0x563664=new $root['CommentsV2RemoveCommentThreadMessage']();_0x1dc041['pos']<_0x27e49f;){var tag=_0x1dc041['uint32']();if(tag===_0x2390aa)break;switch(tag>>>0x3){case 0x1:_0x563664['commentThreadId']=_0x1dc041['string']();break;case 0x2:_0x563664['documentId']=_0x1dc041['string']();break;default:_0x1dc041['skipType'](0x7&tag,_0x5e2372);}}return _0x563664;},CommentsV2RemoveCommentThreadMessage['decodeDelimited']=function(_0x10c29b){return _0x10c29b instanceof _0x3e39b8||(_0x10c29b=new _0x3e39b8(_0x10c29b)),this['decode'](_0x10c29b,_0x10c29b['uint32']());},CommentsV2RemoveCommentThreadMessage['verify']=function(_0xb8b864,_0x40cff3){return'object'!=typeof _0xb8b864||null===_0xb8b864?'object\x20expected':(void 0x0===_0x40cff3&&(_0x40cff3=0x0),_0x40cff3>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xb8b864['commentThreadId']&&Object['hasOwnProperty']['call'](_0xb8b864,'commentThreadId')&&!$util['isString'](_0xb8b864['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0xb8b864['documentId']&&Object['hasOwnProperty']['call'](_0xb8b864,'documentId')&&!$util['isString'](_0xb8b864['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2RemoveCommentThreadMessage['fromObject']=function(object,_0x466eac){if(object instanceof $root['CommentsV2RemoveCommentThreadMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2RemoveCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x466eac&&(_0x466eac=0x0),_0x466eac>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1cd223=new $root['CommentsV2RemoveCommentThreadMessage']();return null!=object['commentThreadId']&&(_0x1cd223['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x1cd223['documentId']=String(object['documentId'])),_0x1cd223;},CommentsV2RemoveCommentThreadMessage['toObject']=function(_0x5cdaf3,options,_0x322568){if(options||(options={}),void 0x0===_0x322568&&(_0x322568=0x0),_0x322568>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']=''),null!=_0x5cdaf3['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5cdaf3,'commentThreadId')&&(object['commentThreadId']=_0x5cdaf3['commentThreadId']),null!=_0x5cdaf3['documentId']&&Object['hasOwnProperty']['call'](_0x5cdaf3,'documentId')&&(object['documentId']=_0x5cdaf3['documentId']),object;},CommentsV2RemoveCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2RemoveCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2RemoveCommentThreadMessage';},CommentsV2RemoveCommentThreadMessage;}()),$root['CommentsV2RemoveCommentMessage']=(function(){function CommentsV2RemoveCommentMessage(properties){if(properties){for(var _0x4863e9=Object['keys'](properties),_0x5b76dc=0x0;_0x5b76dc<_0x4863e9['length'];++_0x5b76dc)null!=properties[_0x4863e9[_0x5b76dc]]&&'__proto__'!==_0x4863e9[_0x5b76dc]&&(this[_0x4863e9[_0x5b76dc]]=properties[_0x4863e9[_0x5b76dc]]);}}return CommentsV2RemoveCommentMessage['prototype']['commentThreadId']='',CommentsV2RemoveCommentMessage['prototype']['commentId']='',CommentsV2RemoveCommentMessage['prototype']['documentId']='',CommentsV2RemoveCommentMessage['create']=function(properties){return new CommentsV2RemoveCommentMessage(properties);},CommentsV2RemoveCommentMessage['encode']=function(_0x30a992,writer,_0x27761e){if(writer||(writer=$Writer['create']()),void 0x0===_0x27761e&&(_0x27761e=0x0),_0x27761e>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x30a992['commentThreadId']&&Object['hasOwnProperty']['call'](_0x30a992,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x30a992['commentThreadId']),null!=_0x30a992['commentId']&&Object['hasOwnProperty']['call'](_0x30a992,'commentId')&&writer['uint32'](0x12)['string'](_0x30a992['commentId']),null!=_0x30a992['documentId']&&Object['hasOwnProperty']['call'](_0x30a992,'documentId')&&writer['uint32'](0x1a)['string'](_0x30a992['documentId']),writer;},CommentsV2RemoveCommentMessage['encodeDelimited']=function(_0x39575f,writer){return this['encode'](_0x39575f,writer)['ldelim']();},CommentsV2RemoveCommentMessage['decode']=function(_0x286001,length,_0x476fcb,_0x237389){if(_0x286001 instanceof _0x3e39b8||(_0x286001=_0x3e39b8['create'](_0x286001)),void 0x0===_0x237389&&(_0x237389=0x0),_0x237389>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2cc18d=void 0x0===length?_0x286001['len']:_0x286001['pos']+length,_0x3b80ad=new $root['CommentsV2RemoveCommentMessage']();_0x286001['pos']<_0x2cc18d;){var tag=_0x286001['uint32']();if(tag===_0x476fcb)break;switch(tag>>>0x3){case 0x1:_0x3b80ad['commentThreadId']=_0x286001['string']();break;case 0x2:_0x3b80ad['commentId']=_0x286001['string']();break;case 0x3:_0x3b80ad['documentId']=_0x286001['string']();break;default:_0x286001['skipType'](0x7&tag,_0x237389);}}return _0x3b80ad;},CommentsV2RemoveCommentMessage['decodeDelimited']=function(_0x3910c3){return _0x3910c3 instanceof _0x3e39b8||(_0x3910c3=new _0x3e39b8(_0x3910c3)),this['decode'](_0x3910c3,_0x3910c3['uint32']());},CommentsV2RemoveCommentMessage['verify']=function(_0x4c9c54,_0x4167bb){return'object'!=typeof _0x4c9c54||null===_0x4c9c54?'object\x20expected':(void 0x0===_0x4167bb&&(_0x4167bb=0x0),_0x4167bb>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4c9c54['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4c9c54,'commentThreadId')&&!$util['isString'](_0x4c9c54['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x4c9c54['commentId']&&Object['hasOwnProperty']['call'](_0x4c9c54,'commentId')&&!$util['isString'](_0x4c9c54['commentId'])?'commentId:\x20string\x20expected':null!=_0x4c9c54['documentId']&&Object['hasOwnProperty']['call'](_0x4c9c54,'documentId')&&!$util['isString'](_0x4c9c54['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2RemoveCommentMessage['fromObject']=function(object,_0x9296af){if(object instanceof $root['CommentsV2RemoveCommentMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2RemoveCommentMessage:\x20object\x20expected');if(void 0x0===_0x9296af&&(_0x9296af=0x0),_0x9296af>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x475074=new $root['CommentsV2RemoveCommentMessage']();return null!=object['commentThreadId']&&(_0x475074['commentThreadId']=String(object['commentThreadId'])),null!=object['commentId']&&(_0x475074['commentId']=String(object['commentId'])),null!=object['documentId']&&(_0x475074['documentId']=String(object['documentId'])),_0x475074;},CommentsV2RemoveCommentMessage['toObject']=function(_0x23b4b9,options,_0x44059c){if(options||(options={}),void 0x0===_0x44059c&&(_0x44059c=0x0),_0x44059c>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['commentId']='',object['documentId']=''),null!=_0x23b4b9['commentThreadId']&&Object['hasOwnProperty']['call'](_0x23b4b9,'commentThreadId')&&(object['commentThreadId']=_0x23b4b9['commentThreadId']),null!=_0x23b4b9['commentId']&&Object['hasOwnProperty']['call'](_0x23b4b9,'commentId')&&(object['commentId']=_0x23b4b9['commentId']),null!=_0x23b4b9['documentId']&&Object['hasOwnProperty']['call'](_0x23b4b9,'documentId')&&(object['documentId']=_0x23b4b9['documentId']),object;},CommentsV2RemoveCommentMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2RemoveCommentMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2RemoveCommentMessage';},CommentsV2RemoveCommentMessage;}()),$root['CommentsV2GetDocumentThreadsMessage']=(function(){function CommentsV2GetDocumentThreadsMessage(properties){if(properties){for(var _0x5bfef2=Object['keys'](properties),_0x5a33a2=0x0;_0x5a33a2<_0x5bfef2['length'];++_0x5a33a2)null!=properties[_0x5bfef2[_0x5a33a2]]&&'__proto__'!==_0x5bfef2[_0x5a33a2]&&(this[_0x5bfef2[_0x5a33a2]]=properties[_0x5bfef2[_0x5a33a2]]);}}return CommentsV2GetDocumentThreadsMessage['prototype']['documentId']='',CommentsV2GetDocumentThreadsMessage['create']=function(properties){return new CommentsV2GetDocumentThreadsMessage(properties);},CommentsV2GetDocumentThreadsMessage['encode']=function(_0x139714,writer,_0x27b956){if(writer||(writer=$Writer['create']()),void 0x0===_0x27b956&&(_0x27b956=0x0),_0x27b956>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x139714['documentId']&&Object['hasOwnProperty']['call'](_0x139714,'documentId')&&writer['uint32'](0xa)['string'](_0x139714['documentId']),writer;},CommentsV2GetDocumentThreadsMessage['encodeDelimited']=function(_0x369956,writer){return this['encode'](_0x369956,writer)['ldelim']();},CommentsV2GetDocumentThreadsMessage['decode']=function(_0x2ab0e5,length,_0xef11ff,_0x1bb3b3){if(_0x2ab0e5 instanceof _0x3e39b8||(_0x2ab0e5=_0x3e39b8['create'](_0x2ab0e5)),void 0x0===_0x1bb3b3&&(_0x1bb3b3=0x0),_0x1bb3b3>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2c4341=void 0x0===length?_0x2ab0e5['len']:_0x2ab0e5['pos']+length,_0x4a1a2a=new $root['CommentsV2GetDocumentThreadsMessage']();_0x2ab0e5['pos']<_0x2c4341;){var tag=_0x2ab0e5['uint32']();if(tag===_0xef11ff)break;if(tag>>>0x3==0x1)_0x4a1a2a['documentId']=_0x2ab0e5['string']();else _0x2ab0e5['skipType'](0x7&tag,_0x1bb3b3);}return _0x4a1a2a;},CommentsV2GetDocumentThreadsMessage['decodeDelimited']=function(_0x308e26){return _0x308e26 instanceof _0x3e39b8||(_0x308e26=new _0x3e39b8(_0x308e26)),this['decode'](_0x308e26,_0x308e26['uint32']());},CommentsV2GetDocumentThreadsMessage['verify']=function(_0x4f3c60,_0x369f2a){return'object'!=typeof _0x4f3c60||null===_0x4f3c60?'object\x20expected':(void 0x0===_0x369f2a&&(_0x369f2a=0x0),_0x369f2a>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4f3c60['documentId']&&Object['hasOwnProperty']['call'](_0x4f3c60,'documentId')&&!$util['isString'](_0x4f3c60['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2GetDocumentThreadsMessage['fromObject']=function(object,_0x59efd4){if(object instanceof $root['CommentsV2GetDocumentThreadsMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2GetDocumentThreadsMessage:\x20object\x20expected');if(void 0x0===_0x59efd4&&(_0x59efd4=0x0),_0x59efd4>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x45ebb3=new $root['CommentsV2GetDocumentThreadsMessage']();return null!=object['documentId']&&(_0x45ebb3['documentId']=String(object['documentId'])),_0x45ebb3;},CommentsV2GetDocumentThreadsMessage['toObject']=function(_0x2f71dd,options,_0x54045d){if(options||(options={}),void 0x0===_0x54045d&&(_0x54045d=0x0),_0x54045d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']=''),null!=_0x2f71dd['documentId']&&Object['hasOwnProperty']['call'](_0x2f71dd,'documentId')&&(object['documentId']=_0x2f71dd['documentId']),object;},CommentsV2GetDocumentThreadsMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2GetDocumentThreadsMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2GetDocumentThreadsMessage';},CommentsV2GetDocumentThreadsMessage;}()),$root['CommentsV2GetCommentThreadMessage']=(function(){function CommentsV2GetCommentThreadMessage(properties){if(properties){for(var _0x58f5d9=Object['keys'](properties),_0x84abb2=0x0;_0x84abb2<_0x58f5d9['length'];++_0x84abb2)null!=properties[_0x58f5d9[_0x84abb2]]&&'__proto__'!==_0x58f5d9[_0x84abb2]&&(this[_0x58f5d9[_0x84abb2]]=properties[_0x58f5d9[_0x84abb2]]);}}return CommentsV2GetCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2GetCommentThreadMessage['prototype']['documentId']='',CommentsV2GetCommentThreadMessage['create']=function(properties){return new CommentsV2GetCommentThreadMessage(properties);},CommentsV2GetCommentThreadMessage['encode']=function(_0x1f10df,writer,_0x5edbf6){if(writer||(writer=$Writer['create']()),void 0x0===_0x5edbf6&&(_0x5edbf6=0x0),_0x5edbf6>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1f10df['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1f10df,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x1f10df['commentThreadId']),null!=_0x1f10df['documentId']&&Object['hasOwnProperty']['call'](_0x1f10df,'documentId')&&writer['uint32'](0x12)['string'](_0x1f10df['documentId']),writer;},CommentsV2GetCommentThreadMessage['encodeDelimited']=function(_0xb36e64,writer){return this['encode'](_0xb36e64,writer)['ldelim']();},CommentsV2GetCommentThreadMessage['decode']=function(_0x22237a,length,_0x2ea1bb,_0x366084){if(_0x22237a instanceof _0x3e39b8||(_0x22237a=_0x3e39b8['create'](_0x22237a)),void 0x0===_0x366084&&(_0x366084=0x0),_0x366084>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5c5ba1=void 0x0===length?_0x22237a['len']:_0x22237a['pos']+length,_0x3e1aef=new $root['CommentsV2GetCommentThreadMessage']();_0x22237a['pos']<_0x5c5ba1;){var tag=_0x22237a['uint32']();if(tag===_0x2ea1bb)break;switch(tag>>>0x3){case 0x1:_0x3e1aef['commentThreadId']=_0x22237a['string']();break;case 0x2:_0x3e1aef['documentId']=_0x22237a['string']();break;default:_0x22237a['skipType'](0x7&tag,_0x366084);}}return _0x3e1aef;},CommentsV2GetCommentThreadMessage['decodeDelimited']=function(_0x2a423a){return _0x2a423a instanceof _0x3e39b8||(_0x2a423a=new _0x3e39b8(_0x2a423a)),this['decode'](_0x2a423a,_0x2a423a['uint32']());},CommentsV2GetCommentThreadMessage['verify']=function(_0x1324e7,_0x159653){return'object'!=typeof _0x1324e7||null===_0x1324e7?'object\x20expected':(void 0x0===_0x159653&&(_0x159653=0x0),_0x159653>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1324e7['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1324e7,'commentThreadId')&&!$util['isString'](_0x1324e7['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1324e7['documentId']&&Object['hasOwnProperty']['call'](_0x1324e7,'documentId')&&!$util['isString'](_0x1324e7['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2GetCommentThreadMessage['fromObject']=function(object,_0x129463){if(object instanceof $root['CommentsV2GetCommentThreadMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2GetCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x129463&&(_0x129463=0x0),_0x129463>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2cd2dd=new $root['CommentsV2GetCommentThreadMessage']();return null!=object['commentThreadId']&&(_0x2cd2dd['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x2cd2dd['documentId']=String(object['documentId'])),_0x2cd2dd;},CommentsV2GetCommentThreadMessage['toObject']=function(_0x5b3179,options,_0x14cb5d){if(options||(options={}),void 0x0===_0x14cb5d&&(_0x14cb5d=0x0),_0x14cb5d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']=''),null!=_0x5b3179['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5b3179,'commentThreadId')&&(object['commentThreadId']=_0x5b3179['commentThreadId']),null!=_0x5b3179['documentId']&&Object['hasOwnProperty']['call'](_0x5b3179,'documentId')&&(object['documentId']=_0x5b3179['documentId']),object;},CommentsV2GetCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2GetCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2GetCommentThreadMessage';},CommentsV2GetCommentThreadMessage;}()),$root['CommentsV2ConnectMessage']=(function(){function CommentsV2ConnectMessage(properties){if(properties){for(var _0x2d5cbf=Object['keys'](properties),_0x5ce9a6=0x0;_0x5ce9a6<_0x2d5cbf['length'];++_0x5ce9a6)null!=properties[_0x2d5cbf[_0x5ce9a6]]&&'__proto__'!==_0x2d5cbf[_0x5ce9a6]&&(this[_0x2d5cbf[_0x5ce9a6]]=properties[_0x2d5cbf[_0x5ce9a6]]);}}return CommentsV2ConnectMessage['prototype']['documentId']='',CommentsV2ConnectMessage['create']=function(properties){return new CommentsV2ConnectMessage(properties);},CommentsV2ConnectMessage['encode']=function(_0x4ad1cb,writer,_0x3c638b){if(writer||(writer=$Writer['create']()),void 0x0===_0x3c638b&&(_0x3c638b=0x0),_0x3c638b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4ad1cb['documentId']&&Object['hasOwnProperty']['call'](_0x4ad1cb,'documentId')&&writer['uint32'](0xa)['string'](_0x4ad1cb['documentId']),writer;},CommentsV2ConnectMessage['encodeDelimited']=function(_0x40179f,writer){return this['encode'](_0x40179f,writer)['ldelim']();},CommentsV2ConnectMessage['decode']=function(_0xa999e7,length,_0x36d9ec,_0x2a4ebd){if(_0xa999e7 instanceof _0x3e39b8||(_0xa999e7=_0x3e39b8['create'](_0xa999e7)),void 0x0===_0x2a4ebd&&(_0x2a4ebd=0x0),_0x2a4ebd>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xd20eb0=void 0x0===length?_0xa999e7['len']:_0xa999e7['pos']+length,_0x2ce373=new $root['CommentsV2ConnectMessage']();_0xa999e7['pos']<_0xd20eb0;){var tag=_0xa999e7['uint32']();if(tag===_0x36d9ec)break;if(tag>>>0x3==0x1)_0x2ce373['documentId']=_0xa999e7['string']();else _0xa999e7['skipType'](0x7&tag,_0x2a4ebd);}return _0x2ce373;},CommentsV2ConnectMessage['decodeDelimited']=function(_0x40f83e){return _0x40f83e instanceof _0x3e39b8||(_0x40f83e=new _0x3e39b8(_0x40f83e)),this['decode'](_0x40f83e,_0x40f83e['uint32']());},CommentsV2ConnectMessage['verify']=function(_0x8d33be,_0x4ecb40){return'object'!=typeof _0x8d33be||null===_0x8d33be?'object\x20expected':(void 0x0===_0x4ecb40&&(_0x4ecb40=0x0),_0x4ecb40>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x8d33be['documentId']&&Object['hasOwnProperty']['call'](_0x8d33be,'documentId')&&!$util['isString'](_0x8d33be['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2ConnectMessage['fromObject']=function(object,_0x276c5b){if(object instanceof $root['CommentsV2ConnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2ConnectMessage:\x20object\x20expected');if(void 0x0===_0x276c5b&&(_0x276c5b=0x0),_0x276c5b>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x15261a=new $root['CommentsV2ConnectMessage']();return null!=object['documentId']&&(_0x15261a['documentId']=String(object['documentId'])),_0x15261a;},CommentsV2ConnectMessage['toObject']=function(_0x211e9e,options,_0x1d605f){if(options||(options={}),void 0x0===_0x1d605f&&(_0x1d605f=0x0),_0x1d605f>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']=''),null!=_0x211e9e['documentId']&&Object['hasOwnProperty']['call'](_0x211e9e,'documentId')&&(object['documentId']=_0x211e9e['documentId']),object;},CommentsV2ConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2ConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2ConnectMessage';},CommentsV2ConnectMessage;}()),$root['CommentsV2AddCommentMessage']=(function(){function CommentsV2AddCommentMessage(properties){if(properties){for(var _0x548818=Object['keys'](properties),_0x53f456=0x0;_0x53f456<_0x548818['length'];++_0x53f456)null!=properties[_0x548818[_0x53f456]]&&'__proto__'!==_0x548818[_0x53f456]&&(this[_0x548818[_0x53f456]]=properties[_0x548818[_0x53f456]]);}}return CommentsV2AddCommentMessage['prototype']['commentThreadId']='',CommentsV2AddCommentMessage['prototype']['content']='',CommentsV2AddCommentMessage['prototype']['documentId']='',CommentsV2AddCommentMessage['prototype']['commentId']='',CommentsV2AddCommentMessage['prototype']['createdAt']='',CommentsV2AddCommentMessage['prototype']['userId']='',CommentsV2AddCommentMessage['prototype']['attributes']='',CommentsV2AddCommentMessage['prototype']['commentThread']=null,CommentsV2AddCommentMessage['create']=function(properties){return new CommentsV2AddCommentMessage(properties);},CommentsV2AddCommentMessage['encode']=function(_0x4be549,writer,_0x79f57c){if(writer||(writer=$Writer['create']()),void 0x0===_0x79f57c&&(_0x79f57c=0x0),_0x79f57c>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4be549['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4be549,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x4be549['commentThreadId']),null!=_0x4be549['content']&&Object['hasOwnProperty']['call'](_0x4be549,'content')&&writer['uint32'](0x12)['string'](_0x4be549['content']),null!=_0x4be549['documentId']&&Object['hasOwnProperty']['call'](_0x4be549,'documentId')&&writer['uint32'](0x1a)['string'](_0x4be549['documentId']),null!=_0x4be549['commentId']&&Object['hasOwnProperty']['call'](_0x4be549,'commentId')&&writer['uint32'](0x22)['string'](_0x4be549['commentId']),null!=_0x4be549['createdAt']&&Object['hasOwnProperty']['call'](_0x4be549,'createdAt')&&writer['uint32'](0x2a)['string'](_0x4be549['createdAt']),null!=_0x4be549['userId']&&Object['hasOwnProperty']['call'](_0x4be549,'userId')&&writer['uint32'](0x32)['string'](_0x4be549['userId']),null!=_0x4be549['attributes']&&Object['hasOwnProperty']['call'](_0x4be549,'attributes')&&writer['uint32'](0x3a)['string'](_0x4be549['attributes']),null!=_0x4be549['commentThread']&&Object['hasOwnProperty']['call'](_0x4be549,'commentThread')&&$root['CommentsThreadDescriptor']['encode'](_0x4be549['commentThread'],writer['uint32'](0x42)['fork'](),_0x79f57c+0x1)['ldelim'](),writer;},CommentsV2AddCommentMessage['encodeDelimited']=function(_0x56ae13,writer){return this['encode'](_0x56ae13,writer)['ldelim']();},CommentsV2AddCommentMessage['decode']=function(_0x338375,length,_0x25af49,_0x37d847){if(_0x338375 instanceof _0x3e39b8||(_0x338375=_0x3e39b8['create'](_0x338375)),void 0x0===_0x37d847&&(_0x37d847=0x0),_0x37d847>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x80761=void 0x0===length?_0x338375['len']:_0x338375['pos']+length,_0x499121=new $root['CommentsV2AddCommentMessage']();_0x338375['pos']<_0x80761;){var tag=_0x338375['uint32']();if(tag===_0x25af49)break;switch(tag>>>0x3){case 0x1:_0x499121['commentThreadId']=_0x338375['string']();break;case 0x2:_0x499121['content']=_0x338375['string']();break;case 0x3:_0x499121['documentId']=_0x338375['string']();break;case 0x4:_0x499121['commentId']=_0x338375['string']();break;case 0x5:_0x499121['createdAt']=_0x338375['string']();break;case 0x6:_0x499121['userId']=_0x338375['string']();break;case 0x7:_0x499121['attributes']=_0x338375['string']();break;case 0x8:_0x499121['commentThread']=$root['CommentsThreadDescriptor']['decode'](_0x338375,_0x338375['uint32'](),void 0x0,_0x37d847+0x1);break;default:_0x338375['skipType'](0x7&tag,_0x37d847);}}return _0x499121;},CommentsV2AddCommentMessage['decodeDelimited']=function(_0x317a7e){return _0x317a7e instanceof _0x3e39b8||(_0x317a7e=new _0x3e39b8(_0x317a7e)),this['decode'](_0x317a7e,_0x317a7e['uint32']());},CommentsV2AddCommentMessage['verify']=function(_0x3823d7,_0x4a21b8){if('object'!=typeof _0x3823d7||null===_0x3823d7)return'object\x20expected';if(void 0x0===_0x4a21b8&&(_0x4a21b8=0x0),_0x4a21b8>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3823d7['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3823d7,'commentThreadId')&&!$util['isString'](_0x3823d7['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3823d7['content']&&Object['hasOwnProperty']['call'](_0x3823d7,'content')&&!$util['isString'](_0x3823d7['content']))return'content:\x20string\x20expected';if(null!=_0x3823d7['documentId']&&Object['hasOwnProperty']['call'](_0x3823d7,'documentId')&&!$util['isString'](_0x3823d7['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x3823d7['commentId']&&Object['hasOwnProperty']['call'](_0x3823d7,'commentId')&&!$util['isString'](_0x3823d7['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x3823d7['createdAt']&&Object['hasOwnProperty']['call'](_0x3823d7,'createdAt')&&!$util['isString'](_0x3823d7['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x3823d7['userId']&&Object['hasOwnProperty']['call'](_0x3823d7,'userId')&&!$util['isString'](_0x3823d7['userId']))return'userId:\x20string\x20expected';if(null!=_0x3823d7['attributes']&&Object['hasOwnProperty']['call'](_0x3823d7,'attributes')&&!$util['isString'](_0x3823d7['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x3823d7['commentThread']&&Object['hasOwnProperty']['call'](_0x3823d7,'commentThread')){var _0x324983=$root['CommentsThreadDescriptor']['verify'](_0x3823d7['commentThread'],_0x4a21b8+0x1);if(_0x324983)return'commentThread.'+_0x324983;}return null;},CommentsV2AddCommentMessage['fromObject']=function(object,_0x21d86f){if(object instanceof $root['CommentsV2AddCommentMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2AddCommentMessage:\x20object\x20expected');if(void 0x0===_0x21d86f&&(_0x21d86f=0x0),_0x21d86f>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x264990=new $root['CommentsV2AddCommentMessage']();if(null!=object['commentThreadId']&&(_0x264990['commentThreadId']=String(object['commentThreadId'])),null!=object['content']&&(_0x264990['content']=String(object['content'])),null!=object['documentId']&&(_0x264990['documentId']=String(object['documentId'])),null!=object['commentId']&&(_0x264990['commentId']=String(object['commentId'])),null!=object['createdAt']&&(_0x264990['createdAt']=String(object['createdAt'])),null!=object['userId']&&(_0x264990['userId']=String(object['userId'])),null!=object['attributes']&&(_0x264990['attributes']=String(object['attributes'])),null!=object['commentThread']){if(!$util['isObject'](object['commentThread']))throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0x264990['commentThread']=$root['CommentsThreadDescriptor']['fromObject'](object['commentThread'],_0x21d86f+0x1);}return _0x264990;},CommentsV2AddCommentMessage['toObject']=function(_0x30a9a7,options,_0x1651fe){if(options||(options={}),void 0x0===_0x1651fe&&(_0x1651fe=0x0),_0x1651fe>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['content']='',object['documentId']='',object['commentId']='',object['createdAt']='',object['userId']='',object['attributes']='',object['commentThread']=null),null!=_0x30a9a7['commentThreadId']&&Object['hasOwnProperty']['call'](_0x30a9a7,'commentThreadId')&&(object['commentThreadId']=_0x30a9a7['commentThreadId']),null!=_0x30a9a7['content']&&Object['hasOwnProperty']['call'](_0x30a9a7,'content')&&(object['content']=_0x30a9a7['content']),null!=_0x30a9a7['documentId']&&Object['hasOwnProperty']['call'](_0x30a9a7,'documentId')&&(object['documentId']=_0x30a9a7['documentId']),null!=_0x30a9a7['commentId']&&Object['hasOwnProperty']['call'](_0x30a9a7,'commentId')&&(object['commentId']=_0x30a9a7['commentId']),null!=_0x30a9a7['createdAt']&&Object['hasOwnProperty']['call'](_0x30a9a7,'createdAt')&&(object['createdAt']=_0x30a9a7['createdAt']),null!=_0x30a9a7['userId']&&Object['hasOwnProperty']['call'](_0x30a9a7,'userId')&&(object['userId']=_0x30a9a7['userId']),null!=_0x30a9a7['attributes']&&Object['hasOwnProperty']['call'](_0x30a9a7,'attributes')&&(object['attributes']=_0x30a9a7['attributes']),null!=_0x30a9a7['commentThread']&&Object['hasOwnProperty']['call'](_0x30a9a7,'commentThread')&&(object['commentThread']=$root['CommentsThreadDescriptor']['toObject'](_0x30a9a7['commentThread'],options,_0x1651fe+0x1)),object;},CommentsV2AddCommentMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2AddCommentMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2AddCommentMessage';},CommentsV2AddCommentMessage;}()),$root['CommentsV2UpdateCommentThreadMessage']=(function(){function CommentsV2UpdateCommentThreadMessage(properties){if(properties){for(var _0xe14715=Object['keys'](properties),_0x276370=0x0;_0x276370<_0xe14715['length'];++_0x276370)null!=properties[_0xe14715[_0x276370]]&&'__proto__'!==_0xe14715[_0x276370]&&(this[_0xe14715[_0x276370]]=properties[_0xe14715[_0x276370]]);}}return CommentsV2UpdateCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2UpdateCommentThreadMessage['prototype']['documentId']='',CommentsV2UpdateCommentThreadMessage['prototype']['context']='',CommentsV2UpdateCommentThreadMessage['prototype']['attributes']='',CommentsV2UpdateCommentThreadMessage['prototype']['unlinkedAt']='',CommentsV2UpdateCommentThreadMessage['create']=function(properties){return new CommentsV2UpdateCommentThreadMessage(properties);},CommentsV2UpdateCommentThreadMessage['encode']=function(_0x171327,writer,_0x35e3d4){if(writer||(writer=$Writer['create']()),void 0x0===_0x35e3d4&&(_0x35e3d4=0x0),_0x35e3d4>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x171327['commentThreadId']&&Object['hasOwnProperty']['call'](_0x171327,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x171327['commentThreadId']),null!=_0x171327['documentId']&&Object['hasOwnProperty']['call'](_0x171327,'documentId')&&writer['uint32'](0x12)['string'](_0x171327['documentId']),null!=_0x171327['context']&&Object['hasOwnProperty']['call'](_0x171327,'context')&&writer['uint32'](0x1a)['string'](_0x171327['context']),null!=_0x171327['attributes']&&Object['hasOwnProperty']['call'](_0x171327,'attributes')&&writer['uint32'](0x22)['string'](_0x171327['attributes']),null!=_0x171327['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x171327,'unlinkedAt')&&writer['uint32'](0x2a)['string'](_0x171327['unlinkedAt']),writer;},CommentsV2UpdateCommentThreadMessage['encodeDelimited']=function(_0x308624,writer){return this['encode'](_0x308624,writer)['ldelim']();},CommentsV2UpdateCommentThreadMessage['decode']=function(_0x5c838c,length,_0x5325ff,_0x12bb43){if(_0x5c838c instanceof _0x3e39b8||(_0x5c838c=_0x3e39b8['create'](_0x5c838c)),void 0x0===_0x12bb43&&(_0x12bb43=0x0),_0x12bb43>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x53a8fa=void 0x0===length?_0x5c838c['len']:_0x5c838c['pos']+length,_0x3a049d=new $root['CommentsV2UpdateCommentThreadMessage']();_0x5c838c['pos']<_0x53a8fa;){var tag=_0x5c838c['uint32']();if(tag===_0x5325ff)break;switch(tag>>>0x3){case 0x1:_0x3a049d['commentThreadId']=_0x5c838c['string']();break;case 0x2:_0x3a049d['documentId']=_0x5c838c['string']();break;case 0x3:_0x3a049d['context']=_0x5c838c['string']();break;case 0x4:_0x3a049d['attributes']=_0x5c838c['string']();break;case 0x5:_0x3a049d['unlinkedAt']=_0x5c838c['string']();break;default:_0x5c838c['skipType'](0x7&tag,_0x12bb43);}}return _0x3a049d;},CommentsV2UpdateCommentThreadMessage['decodeDelimited']=function(_0x2ee57e){return _0x2ee57e instanceof _0x3e39b8||(_0x2ee57e=new _0x3e39b8(_0x2ee57e)),this['decode'](_0x2ee57e,_0x2ee57e['uint32']());},CommentsV2UpdateCommentThreadMessage['verify']=function(_0x3eb537,_0x1a9202){return'object'!=typeof _0x3eb537||null===_0x3eb537?'object\x20expected':(void 0x0===_0x1a9202&&(_0x1a9202=0x0),_0x1a9202>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3eb537['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3eb537,'commentThreadId')&&!$util['isString'](_0x3eb537['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x3eb537['documentId']&&Object['hasOwnProperty']['call'](_0x3eb537,'documentId')&&!$util['isString'](_0x3eb537['documentId'])?'documentId:\x20string\x20expected':null!=_0x3eb537['context']&&Object['hasOwnProperty']['call'](_0x3eb537,'context')&&!$util['isString'](_0x3eb537['context'])?'context:\x20string\x20expected':null!=_0x3eb537['attributes']&&Object['hasOwnProperty']['call'](_0x3eb537,'attributes')&&!$util['isString'](_0x3eb537['attributes'])?'attributes:\x20string\x20expected':null!=_0x3eb537['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x3eb537,'unlinkedAt')&&!$util['isString'](_0x3eb537['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null);},CommentsV2UpdateCommentThreadMessage['fromObject']=function(object,_0xdc4e18){if(object instanceof $root['CommentsV2UpdateCommentThreadMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2UpdateCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0xdc4e18&&(_0xdc4e18=0x0),_0xdc4e18>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x40460d=new $root['CommentsV2UpdateCommentThreadMessage']();return null!=object['commentThreadId']&&(_0x40460d['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x40460d['documentId']=String(object['documentId'])),null!=object['context']&&(_0x40460d['context']=String(object['context'])),null!=object['attributes']&&(_0x40460d['attributes']=String(object['attributes'])),null!=object['unlinkedAt']&&(_0x40460d['unlinkedAt']=String(object['unlinkedAt'])),_0x40460d;},CommentsV2UpdateCommentThreadMessage['toObject']=function(_0x13654d,options,_0x1ad4b0){if(options||(options={}),void 0x0===_0x1ad4b0&&(_0x1ad4b0=0x0),_0x1ad4b0>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']='',object['context']='',object['attributes']='',object['unlinkedAt']=''),null!=_0x13654d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x13654d,'commentThreadId')&&(object['commentThreadId']=_0x13654d['commentThreadId']),null!=_0x13654d['documentId']&&Object['hasOwnProperty']['call'](_0x13654d,'documentId')&&(object['documentId']=_0x13654d['documentId']),null!=_0x13654d['context']&&Object['hasOwnProperty']['call'](_0x13654d,'context')&&(object['context']=_0x13654d['context']),null!=_0x13654d['attributes']&&Object['hasOwnProperty']['call'](_0x13654d,'attributes')&&(object['attributes']=_0x13654d['attributes']),null!=_0x13654d['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x13654d,'unlinkedAt')&&(object['unlinkedAt']=_0x13654d['unlinkedAt']),object;},CommentsV2UpdateCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2UpdateCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2UpdateCommentThreadMessage';},CommentsV2UpdateCommentThreadMessage;}()),$root['CommentsV2ResolveCommentThreadMessage']=(function(){function CommentsV2ResolveCommentThreadMessage(properties){if(properties){for(var _0x4297fa=Object['keys'](properties),_0x384a0d=0x0;_0x384a0d<_0x4297fa['length'];++_0x384a0d)null!=properties[_0x4297fa[_0x384a0d]]&&'__proto__'!==_0x4297fa[_0x384a0d]&&(this[_0x4297fa[_0x384a0d]]=properties[_0x4297fa[_0x384a0d]]);}}return CommentsV2ResolveCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2ResolveCommentThreadMessage['prototype']['documentId']='',CommentsV2ResolveCommentThreadMessage['prototype']['resolvedBy']='',CommentsV2ResolveCommentThreadMessage['prototype']['resolvedAt']='',CommentsV2ResolveCommentThreadMessage['create']=function(properties){return new CommentsV2ResolveCommentThreadMessage(properties);},CommentsV2ResolveCommentThreadMessage['encode']=function(_0x5a84a8,writer,_0x1ec64d){if(writer||(writer=$Writer['create']()),void 0x0===_0x1ec64d&&(_0x1ec64d=0x0),_0x1ec64d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5a84a8['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5a84a8,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x5a84a8['commentThreadId']),null!=_0x5a84a8['documentId']&&Object['hasOwnProperty']['call'](_0x5a84a8,'documentId')&&writer['uint32'](0x12)['string'](_0x5a84a8['documentId']),null!=_0x5a84a8['resolvedBy']&&Object['hasOwnProperty']['call'](_0x5a84a8,'resolvedBy')&&writer['uint32'](0x1a)['string'](_0x5a84a8['resolvedBy']),null!=_0x5a84a8['resolvedAt']&&Object['hasOwnProperty']['call'](_0x5a84a8,'resolvedAt')&&writer['uint32'](0x22)['string'](_0x5a84a8['resolvedAt']),writer;},CommentsV2ResolveCommentThreadMessage['encodeDelimited']=function(_0x1d7ce8,writer){return this['encode'](_0x1d7ce8,writer)['ldelim']();},CommentsV2ResolveCommentThreadMessage['decode']=function(_0x5eaf43,length,_0x525bfb,_0x17bb75){if(_0x5eaf43 instanceof _0x3e39b8||(_0x5eaf43=_0x3e39b8['create'](_0x5eaf43)),void 0x0===_0x17bb75&&(_0x17bb75=0x0),_0x17bb75>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x13b0cc=void 0x0===length?_0x5eaf43['len']:_0x5eaf43['pos']+length,_0x28ccb7=new $root['CommentsV2ResolveCommentThreadMessage']();_0x5eaf43['pos']<_0x13b0cc;){var tag=_0x5eaf43['uint32']();if(tag===_0x525bfb)break;switch(tag>>>0x3){case 0x1:_0x28ccb7['commentThreadId']=_0x5eaf43['string']();break;case 0x2:_0x28ccb7['documentId']=_0x5eaf43['string']();break;case 0x3:_0x28ccb7['resolvedBy']=_0x5eaf43['string']();break;case 0x4:_0x28ccb7['resolvedAt']=_0x5eaf43['string']();break;default:_0x5eaf43['skipType'](0x7&tag,_0x17bb75);}}return _0x28ccb7;},CommentsV2ResolveCommentThreadMessage['decodeDelimited']=function(_0x39a074){return _0x39a074 instanceof _0x3e39b8||(_0x39a074=new _0x3e39b8(_0x39a074)),this['decode'](_0x39a074,_0x39a074['uint32']());},CommentsV2ResolveCommentThreadMessage['verify']=function(_0x28c3a7,_0xdf43c5){return'object'!=typeof _0x28c3a7||null===_0x28c3a7?'object\x20expected':(void 0x0===_0xdf43c5&&(_0xdf43c5=0x0),_0xdf43c5>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x28c3a7['commentThreadId']&&Object['hasOwnProperty']['call'](_0x28c3a7,'commentThreadId')&&!$util['isString'](_0x28c3a7['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x28c3a7['documentId']&&Object['hasOwnProperty']['call'](_0x28c3a7,'documentId')&&!$util['isString'](_0x28c3a7['documentId'])?'documentId:\x20string\x20expected':null!=_0x28c3a7['resolvedBy']&&Object['hasOwnProperty']['call'](_0x28c3a7,'resolvedBy')&&!$util['isString'](_0x28c3a7['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x28c3a7['resolvedAt']&&Object['hasOwnProperty']['call'](_0x28c3a7,'resolvedAt')&&!$util['isString'](_0x28c3a7['resolvedAt'])?'resolvedAt:\x20string\x20expected':null);},CommentsV2ResolveCommentThreadMessage['fromObject']=function(object,_0x3cf19e){if(object instanceof $root['CommentsV2ResolveCommentThreadMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2ResolveCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x3cf19e&&(_0x3cf19e=0x0),_0x3cf19e>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3aeba6=new $root['CommentsV2ResolveCommentThreadMessage']();return null!=object['commentThreadId']&&(_0x3aeba6['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x3aeba6['documentId']=String(object['documentId'])),null!=object['resolvedBy']&&(_0x3aeba6['resolvedBy']=String(object['resolvedBy'])),null!=object['resolvedAt']&&(_0x3aeba6['resolvedAt']=String(object['resolvedAt'])),_0x3aeba6;},CommentsV2ResolveCommentThreadMessage['toObject']=function(_0x372a05,options,_0x50f5a9){if(options||(options={}),void 0x0===_0x50f5a9&&(_0x50f5a9=0x0),_0x50f5a9>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']='',object['resolvedBy']='',object['resolvedAt']=''),null!=_0x372a05['commentThreadId']&&Object['hasOwnProperty']['call'](_0x372a05,'commentThreadId')&&(object['commentThreadId']=_0x372a05['commentThreadId']),null!=_0x372a05['documentId']&&Object['hasOwnProperty']['call'](_0x372a05,'documentId')&&(object['documentId']=_0x372a05['documentId']),null!=_0x372a05['resolvedBy']&&Object['hasOwnProperty']['call'](_0x372a05,'resolvedBy')&&(object['resolvedBy']=_0x372a05['resolvedBy']),null!=_0x372a05['resolvedAt']&&Object['hasOwnProperty']['call'](_0x372a05,'resolvedAt')&&(object['resolvedAt']=_0x372a05['resolvedAt']),object;},CommentsV2ResolveCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2ResolveCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2ResolveCommentThreadMessage';},CommentsV2ResolveCommentThreadMessage;}()),$root['CommentsV2ReopenCommentThreadMessage']=(function(){function CommentsV2ReopenCommentThreadMessage(properties){if(properties){for(var _0x13fbd6=Object['keys'](properties),_0x5ba8e4=0x0;_0x5ba8e4<_0x13fbd6['length'];++_0x5ba8e4)null!=properties[_0x13fbd6[_0x5ba8e4]]&&'__proto__'!==_0x13fbd6[_0x5ba8e4]&&(this[_0x13fbd6[_0x5ba8e4]]=properties[_0x13fbd6[_0x5ba8e4]]);}}return CommentsV2ReopenCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2ReopenCommentThreadMessage['prototype']['documentId']='',CommentsV2ReopenCommentThreadMessage['create']=function(properties){return new CommentsV2ReopenCommentThreadMessage(properties);},CommentsV2ReopenCommentThreadMessage['encode']=function(_0x13a31a,writer,_0x330ef6){if(writer||(writer=$Writer['create']()),void 0x0===_0x330ef6&&(_0x330ef6=0x0),_0x330ef6>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x13a31a['commentThreadId']&&Object['hasOwnProperty']['call'](_0x13a31a,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x13a31a['commentThreadId']),null!=_0x13a31a['documentId']&&Object['hasOwnProperty']['call'](_0x13a31a,'documentId')&&writer['uint32'](0x12)['string'](_0x13a31a['documentId']),writer;},CommentsV2ReopenCommentThreadMessage['encodeDelimited']=function(_0x33a054,writer){return this['encode'](_0x33a054,writer)['ldelim']();},CommentsV2ReopenCommentThreadMessage['decode']=function(_0x81a40a,length,_0x837bf6,_0x41791a){if(_0x81a40a instanceof _0x3e39b8||(_0x81a40a=_0x3e39b8['create'](_0x81a40a)),void 0x0===_0x41791a&&(_0x41791a=0x0),_0x41791a>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2917d1=void 0x0===length?_0x81a40a['len']:_0x81a40a['pos']+length,_0x1f37e4=new $root['CommentsV2ReopenCommentThreadMessage']();_0x81a40a['pos']<_0x2917d1;){var tag=_0x81a40a['uint32']();if(tag===_0x837bf6)break;switch(tag>>>0x3){case 0x1:_0x1f37e4['commentThreadId']=_0x81a40a['string']();break;case 0x2:_0x1f37e4['documentId']=_0x81a40a['string']();break;default:_0x81a40a['skipType'](0x7&tag,_0x41791a);}}return _0x1f37e4;},CommentsV2ReopenCommentThreadMessage['decodeDelimited']=function(_0x1e5d6a){return _0x1e5d6a instanceof _0x3e39b8||(_0x1e5d6a=new _0x3e39b8(_0x1e5d6a)),this['decode'](_0x1e5d6a,_0x1e5d6a['uint32']());},CommentsV2ReopenCommentThreadMessage['verify']=function(_0x5bdbff,_0x7372bf){return'object'!=typeof _0x5bdbff||null===_0x5bdbff?'object\x20expected':(void 0x0===_0x7372bf&&(_0x7372bf=0x0),_0x7372bf>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5bdbff['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5bdbff,'commentThreadId')&&!$util['isString'](_0x5bdbff['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x5bdbff['documentId']&&Object['hasOwnProperty']['call'](_0x5bdbff,'documentId')&&!$util['isString'](_0x5bdbff['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2ReopenCommentThreadMessage['fromObject']=function(object,_0x11bcac){if(object instanceof $root['CommentsV2ReopenCommentThreadMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2ReopenCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x11bcac&&(_0x11bcac=0x0),_0x11bcac>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x555d8e=new $root['CommentsV2ReopenCommentThreadMessage']();return null!=object['commentThreadId']&&(_0x555d8e['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x555d8e['documentId']=String(object['documentId'])),_0x555d8e;},CommentsV2ReopenCommentThreadMessage['toObject']=function(_0x4eab77,options,_0x21ece9){if(options||(options={}),void 0x0===_0x21ece9&&(_0x21ece9=0x0),_0x21ece9>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']=''),null!=_0x4eab77['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4eab77,'commentThreadId')&&(object['commentThreadId']=_0x4eab77['commentThreadId']),null!=_0x4eab77['documentId']&&Object['hasOwnProperty']['call'](_0x4eab77,'documentId')&&(object['documentId']=_0x4eab77['documentId']),object;},CommentsV2ReopenCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2ReopenCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2ReopenCommentThreadMessage';},CommentsV2ReopenCommentThreadMessage;}()),$root['CommentsV2AddCommentThreadMessage']=(function(){function CommentsV2AddCommentThreadMessage(properties){if(this['comments']=[],properties){for(var _0x245027=Object['keys'](properties),_0x564623=0x0;_0x564623<_0x245027['length'];++_0x564623)null!=properties[_0x245027[_0x564623]]&&'__proto__'!==_0x245027[_0x564623]&&(this[_0x245027[_0x564623]]=properties[_0x245027[_0x564623]]);}}return CommentsV2AddCommentThreadMessage['prototype']['documentId']='',CommentsV2AddCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2AddCommentThreadMessage['prototype']['context']='',CommentsV2AddCommentThreadMessage['prototype']['createdAt']='',CommentsV2AddCommentThreadMessage['prototype']['resolvedAt']='',CommentsV2AddCommentThreadMessage['prototype']['resolvedBy']='',CommentsV2AddCommentThreadMessage['prototype']['attributes']='',CommentsV2AddCommentThreadMessage['prototype']['deletedAt']='',CommentsV2AddCommentThreadMessage['prototype']['comments']=$util['emptyArray'],CommentsV2AddCommentThreadMessage['create']=function(properties){return new CommentsV2AddCommentThreadMessage(properties);},CommentsV2AddCommentThreadMessage['encode']=function(_0x3510bb,writer,_0x403be2){if(writer||(writer=$Writer['create']()),void 0x0===_0x403be2&&(_0x403be2=0x0),_0x403be2>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x3510bb['documentId']&&Object['hasOwnProperty']['call'](_0x3510bb,'documentId')&&writer['uint32'](0xa)['string'](_0x3510bb['documentId']),null!=_0x3510bb['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3510bb,'commentThreadId')&&writer['uint32'](0x12)['string'](_0x3510bb['commentThreadId']),null!=_0x3510bb['context']&&Object['hasOwnProperty']['call'](_0x3510bb,'context')&&writer['uint32'](0x1a)['string'](_0x3510bb['context']),null!=_0x3510bb['createdAt']&&Object['hasOwnProperty']['call'](_0x3510bb,'createdAt')&&writer['uint32'](0x22)['string'](_0x3510bb['createdAt']),null!=_0x3510bb['resolvedAt']&&Object['hasOwnProperty']['call'](_0x3510bb,'resolvedAt')&&writer['uint32'](0x2a)['string'](_0x3510bb['resolvedAt']),null!=_0x3510bb['resolvedBy']&&Object['hasOwnProperty']['call'](_0x3510bb,'resolvedBy')&&writer['uint32'](0x32)['string'](_0x3510bb['resolvedBy']),null!=_0x3510bb['attributes']&&Object['hasOwnProperty']['call'](_0x3510bb,'attributes')&&writer['uint32'](0x3a)['string'](_0x3510bb['attributes']),null!=_0x3510bb['deletedAt']&&Object['hasOwnProperty']['call'](_0x3510bb,'deletedAt')&&writer['uint32'](0x42)['string'](_0x3510bb['deletedAt']),null!=_0x3510bb['comments']&&_0x3510bb['comments']['length']){for(var _0x476ec3=0x0;_0x476ec3<_0x3510bb['comments']['length'];++_0x476ec3)$root['CommentDescriptor']['encode'](_0x3510bb['comments'][_0x476ec3],writer['uint32'](0x4a)['fork'](),_0x403be2+0x1)['ldelim']();}return writer;},CommentsV2AddCommentThreadMessage['encodeDelimited']=function(_0x3ad6f7,writer){return this['encode'](_0x3ad6f7,writer)['ldelim']();},CommentsV2AddCommentThreadMessage['decode']=function(_0x211640,length,_0x383f01,_0x487b13){if(_0x211640 instanceof _0x3e39b8||(_0x211640=_0x3e39b8['create'](_0x211640)),void 0x0===_0x487b13&&(_0x487b13=0x0),_0x487b13>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x54f8b5=void 0x0===length?_0x211640['len']:_0x211640['pos']+length,_0x2f2170=new $root['CommentsV2AddCommentThreadMessage']();_0x211640['pos']<_0x54f8b5;){var tag=_0x211640['uint32']();if(tag===_0x383f01)break;switch(tag>>>0x3){case 0x1:_0x2f2170['documentId']=_0x211640['string']();break;case 0x2:_0x2f2170['commentThreadId']=_0x211640['string']();break;case 0x3:_0x2f2170['context']=_0x211640['string']();break;case 0x4:_0x2f2170['createdAt']=_0x211640['string']();break;case 0x5:_0x2f2170['resolvedAt']=_0x211640['string']();break;case 0x6:_0x2f2170['resolvedBy']=_0x211640['string']();break;case 0x7:_0x2f2170['attributes']=_0x211640['string']();break;case 0x8:_0x2f2170['deletedAt']=_0x211640['string']();break;case 0x9:_0x2f2170['comments']&&_0x2f2170['comments']['length']||(_0x2f2170['comments']=[]),_0x2f2170['comments']['push']($root['CommentDescriptor']['decode'](_0x211640,_0x211640['uint32'](),void 0x0,_0x487b13+0x1));break;default:_0x211640['skipType'](0x7&tag,_0x487b13);}}return _0x2f2170;},CommentsV2AddCommentThreadMessage['decodeDelimited']=function(_0x227925){return _0x227925 instanceof _0x3e39b8||(_0x227925=new _0x3e39b8(_0x227925)),this['decode'](_0x227925,_0x227925['uint32']());},CommentsV2AddCommentThreadMessage['verify']=function(_0x194ff7,_0x48575e){if('object'!=typeof _0x194ff7||null===_0x194ff7)return'object\x20expected';if(void 0x0===_0x48575e&&(_0x48575e=0x0),_0x48575e>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x194ff7['documentId']&&Object['hasOwnProperty']['call'](_0x194ff7,'documentId')&&!$util['isString'](_0x194ff7['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x194ff7['commentThreadId']&&Object['hasOwnProperty']['call'](_0x194ff7,'commentThreadId')&&!$util['isString'](_0x194ff7['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x194ff7['context']&&Object['hasOwnProperty']['call'](_0x194ff7,'context')&&!$util['isString'](_0x194ff7['context']))return'context:\x20string\x20expected';if(null!=_0x194ff7['createdAt']&&Object['hasOwnProperty']['call'](_0x194ff7,'createdAt')&&!$util['isString'](_0x194ff7['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x194ff7['resolvedAt']&&Object['hasOwnProperty']['call'](_0x194ff7,'resolvedAt')&&!$util['isString'](_0x194ff7['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x194ff7['resolvedBy']&&Object['hasOwnProperty']['call'](_0x194ff7,'resolvedBy')&&!$util['isString'](_0x194ff7['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x194ff7['attributes']&&Object['hasOwnProperty']['call'](_0x194ff7,'attributes')&&!$util['isString'](_0x194ff7['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x194ff7['deletedAt']&&Object['hasOwnProperty']['call'](_0x194ff7,'deletedAt')&&!$util['isString'](_0x194ff7['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x194ff7['comments']&&Object['hasOwnProperty']['call'](_0x194ff7,'comments')){if(!Array['isArray'](_0x194ff7['comments']))return'comments:\x20array\x20expected';for(var _0x81cbab=0x0;_0x81cbab<_0x194ff7['comments']['length'];++_0x81cbab){var _0x8f40e4=$root['CommentDescriptor']['verify'](_0x194ff7['comments'][_0x81cbab],_0x48575e+0x1);if(_0x8f40e4)return'comments.'+_0x8f40e4;}}return null;},CommentsV2AddCommentThreadMessage['fromObject']=function(object,_0x2da181){if(object instanceof $root['CommentsV2AddCommentThreadMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2AddCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x2da181&&(_0x2da181=0x0),_0x2da181>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4c447a=new $root['CommentsV2AddCommentThreadMessage']();if(null!=object['documentId']&&(_0x4c447a['documentId']=String(object['documentId'])),null!=object['commentThreadId']&&(_0x4c447a['commentThreadId']=String(object['commentThreadId'])),null!=object['context']&&(_0x4c447a['context']=String(object['context'])),null!=object['createdAt']&&(_0x4c447a['createdAt']=String(object['createdAt'])),null!=object['resolvedAt']&&(_0x4c447a['resolvedAt']=String(object['resolvedAt'])),null!=object['resolvedBy']&&(_0x4c447a['resolvedBy']=String(object['resolvedBy'])),null!=object['attributes']&&(_0x4c447a['attributes']=String(object['attributes'])),null!=object['deletedAt']&&(_0x4c447a['deletedAt']=String(object['deletedAt'])),object['comments']){if(!Array['isArray'](object['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0x4c447a['comments']=[];for(var _0x49daec=0x0;_0x49daec<object['comments']['length'];++_0x49daec){if(!$util['isObject'](object['comments'][_0x49daec]))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0x4c447a['comments'][_0x49daec]=$root['CommentDescriptor']['fromObject'](object['comments'][_0x49daec],_0x2da181+0x1);}}return _0x4c447a;},CommentsV2AddCommentThreadMessage['toObject']=function(_0x251d20,options,_0x2b29c5){if(options||(options={}),void 0x0===_0x2b29c5&&(_0x2b29c5=0x0),_0x2b29c5>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['comments']=[]),options['defaults']&&(object['documentId']='',object['commentThreadId']='',object['context']='',object['createdAt']='',object['resolvedAt']='',object['resolvedBy']='',object['attributes']='',object['deletedAt']=''),null!=_0x251d20['documentId']&&Object['hasOwnProperty']['call'](_0x251d20,'documentId')&&(object['documentId']=_0x251d20['documentId']),null!=_0x251d20['commentThreadId']&&Object['hasOwnProperty']['call'](_0x251d20,'commentThreadId')&&(object['commentThreadId']=_0x251d20['commentThreadId']),null!=_0x251d20['context']&&Object['hasOwnProperty']['call'](_0x251d20,'context')&&(object['context']=_0x251d20['context']),null!=_0x251d20['createdAt']&&Object['hasOwnProperty']['call'](_0x251d20,'createdAt')&&(object['createdAt']=_0x251d20['createdAt']),null!=_0x251d20['resolvedAt']&&Object['hasOwnProperty']['call'](_0x251d20,'resolvedAt')&&(object['resolvedAt']=_0x251d20['resolvedAt']),null!=_0x251d20['resolvedBy']&&Object['hasOwnProperty']['call'](_0x251d20,'resolvedBy')&&(object['resolvedBy']=_0x251d20['resolvedBy']),null!=_0x251d20['attributes']&&Object['hasOwnProperty']['call'](_0x251d20,'attributes')&&(object['attributes']=_0x251d20['attributes']),null!=_0x251d20['deletedAt']&&Object['hasOwnProperty']['call'](_0x251d20,'deletedAt')&&(object['deletedAt']=_0x251d20['deletedAt']),_0x251d20['comments']&&_0x251d20['comments']['length']){object['comments']=[];for(var _0x85a701=0x0;_0x85a701<_0x251d20['comments']['length'];++_0x85a701)object['comments'][_0x85a701]=$root['CommentDescriptor']['toObject'](_0x251d20['comments'][_0x85a701],options,_0x2b29c5+0x1);}return object;},CommentsV2AddCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2AddCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2AddCommentThreadMessage';},CommentsV2AddCommentThreadMessage;}()),$root['CommentThreadAddedCommentDescriptor']=(function(){function CommentThreadAddedCommentDescriptor(properties){if(properties){for(var _0x2ea4a4=Object['keys'](properties),_0x57ca84=0x0;_0x57ca84<_0x2ea4a4['length'];++_0x57ca84)null!=properties[_0x2ea4a4[_0x57ca84]]&&'__proto__'!==_0x2ea4a4[_0x57ca84]&&(this[_0x2ea4a4[_0x57ca84]]=properties[_0x2ea4a4[_0x57ca84]]);}}return CommentThreadAddedCommentDescriptor['prototype']['commentId']='',CommentThreadAddedCommentDescriptor['prototype']['createdAt']='',CommentThreadAddedCommentDescriptor['create']=function(properties){return new CommentThreadAddedCommentDescriptor(properties);},CommentThreadAddedCommentDescriptor['encode']=function(_0x292a66,writer,_0x2b236a){if(writer||(writer=$Writer['create']()),void 0x0===_0x2b236a&&(_0x2b236a=0x0),_0x2b236a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x292a66['commentId']&&Object['hasOwnProperty']['call'](_0x292a66,'commentId')&&writer['uint32'](0xa)['string'](_0x292a66['commentId']),null!=_0x292a66['createdAt']&&Object['hasOwnProperty']['call'](_0x292a66,'createdAt')&&writer['uint32'](0x12)['string'](_0x292a66['createdAt']),writer;},CommentThreadAddedCommentDescriptor['encodeDelimited']=function(_0x20f9bd,writer){return this['encode'](_0x20f9bd,writer)['ldelim']();},CommentThreadAddedCommentDescriptor['decode']=function(_0x135551,length,_0x40e4f3,_0x1da123){if(_0x135551 instanceof _0x3e39b8||(_0x135551=_0x3e39b8['create'](_0x135551)),void 0x0===_0x1da123&&(_0x1da123=0x0),_0x1da123>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5c7b7e=void 0x0===length?_0x135551['len']:_0x135551['pos']+length,_0x3bc790=new $root['CommentThreadAddedCommentDescriptor']();_0x135551['pos']<_0x5c7b7e;){var tag=_0x135551['uint32']();if(tag===_0x40e4f3)break;switch(tag>>>0x3){case 0x1:_0x3bc790['commentId']=_0x135551['string']();break;case 0x2:_0x3bc790['createdAt']=_0x135551['string']();break;default:_0x135551['skipType'](0x7&tag,_0x1da123);}}return _0x3bc790;},CommentThreadAddedCommentDescriptor['decodeDelimited']=function(_0x4e5d22){return _0x4e5d22 instanceof _0x3e39b8||(_0x4e5d22=new _0x3e39b8(_0x4e5d22)),this['decode'](_0x4e5d22,_0x4e5d22['uint32']());},CommentThreadAddedCommentDescriptor['verify']=function(_0xcfa94c,_0x3cee93){return'object'!=typeof _0xcfa94c||null===_0xcfa94c?'object\x20expected':(void 0x0===_0x3cee93&&(_0x3cee93=0x0),_0x3cee93>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xcfa94c['commentId']&&Object['hasOwnProperty']['call'](_0xcfa94c,'commentId')&&!$util['isString'](_0xcfa94c['commentId'])?'commentId:\x20string\x20expected':null!=_0xcfa94c['createdAt']&&Object['hasOwnProperty']['call'](_0xcfa94c,'createdAt')&&!$util['isString'](_0xcfa94c['createdAt'])?'createdAt:\x20string\x20expected':null);},CommentThreadAddedCommentDescriptor['fromObject']=function(object,_0x580c7c){if(object instanceof $root['CommentThreadAddedCommentDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.CommentThreadAddedCommentDescriptor:\x20object\x20expected');if(void 0x0===_0x580c7c&&(_0x580c7c=0x0),_0x580c7c>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4d9c09=new $root['CommentThreadAddedCommentDescriptor']();return null!=object['commentId']&&(_0x4d9c09['commentId']=String(object['commentId'])),null!=object['createdAt']&&(_0x4d9c09['createdAt']=String(object['createdAt'])),_0x4d9c09;},CommentThreadAddedCommentDescriptor['toObject']=function(_0xac9822,options,_0x5e00c6){if(options||(options={}),void 0x0===_0x5e00c6&&(_0x5e00c6=0x0),_0x5e00c6>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentId']='',object['createdAt']=''),null!=_0xac9822['commentId']&&Object['hasOwnProperty']['call'](_0xac9822,'commentId')&&(object['commentId']=_0xac9822['commentId']),null!=_0xac9822['createdAt']&&Object['hasOwnProperty']['call'](_0xac9822,'createdAt')&&(object['createdAt']=_0xac9822['createdAt']),object;},CommentThreadAddedCommentDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentThreadAddedCommentDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentThreadAddedCommentDescriptor';},CommentThreadAddedCommentDescriptor;}()),$root['CommentsThreadDescriptor']=(function(){function CommentsThreadDescriptor(properties){if(this['comments']=[],properties){for(var _0x5f71e=Object['keys'](properties),_0x2bcd8b=0x0;_0x2bcd8b<_0x5f71e['length'];++_0x2bcd8b)null!=properties[_0x5f71e[_0x2bcd8b]]&&'__proto__'!==_0x5f71e[_0x2bcd8b]&&(this[_0x5f71e[_0x2bcd8b]]=properties[_0x5f71e[_0x2bcd8b]]);}}return CommentsThreadDescriptor['prototype']['commentThreadId']='',CommentsThreadDescriptor['prototype']['comments']=$util['emptyArray'],CommentsThreadDescriptor['prototype']['resolvedAt']='',CommentsThreadDescriptor['prototype']['resolvedBy']='',CommentsThreadDescriptor['prototype']['context']='',CommentsThreadDescriptor['prototype']['createdAt']='',CommentsThreadDescriptor['prototype']['deletedAt']='',CommentsThreadDescriptor['prototype']['attributes']='',CommentsThreadDescriptor['prototype']['unlinkedAt']='',CommentsThreadDescriptor['create']=function(properties){return new CommentsThreadDescriptor(properties);},CommentsThreadDescriptor['encode']=function(_0x5514e3,writer,_0x768fc2){if(writer||(writer=$Writer['create']()),void 0x0===_0x768fc2&&(_0x768fc2=0x0),_0x768fc2>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x5514e3['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5514e3,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x5514e3['commentThreadId']),null!=_0x5514e3['comments']&&_0x5514e3['comments']['length']){for(var _0x5b60db=0x0;_0x5b60db<_0x5514e3['comments']['length'];++_0x5b60db)$root['CommentDescriptor']['encode'](_0x5514e3['comments'][_0x5b60db],writer['uint32'](0x12)['fork'](),_0x768fc2+0x1)['ldelim']();}return null!=_0x5514e3['resolvedAt']&&Object['hasOwnProperty']['call'](_0x5514e3,'resolvedAt')&&writer['uint32'](0x1a)['string'](_0x5514e3['resolvedAt']),null!=_0x5514e3['resolvedBy']&&Object['hasOwnProperty']['call'](_0x5514e3,'resolvedBy')&&writer['uint32'](0x22)['string'](_0x5514e3['resolvedBy']),null!=_0x5514e3['context']&&Object['hasOwnProperty']['call'](_0x5514e3,'context')&&writer['uint32'](0x2a)['string'](_0x5514e3['context']),null!=_0x5514e3['createdAt']&&Object['hasOwnProperty']['call'](_0x5514e3,'createdAt')&&writer['uint32'](0x32)['string'](_0x5514e3['createdAt']),null!=_0x5514e3['deletedAt']&&Object['hasOwnProperty']['call'](_0x5514e3,'deletedAt')&&writer['uint32'](0x3a)['string'](_0x5514e3['deletedAt']),null!=_0x5514e3['attributes']&&Object['hasOwnProperty']['call'](_0x5514e3,'attributes')&&writer['uint32'](0x42)['string'](_0x5514e3['attributes']),null!=_0x5514e3['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x5514e3,'unlinkedAt')&&writer['uint32'](0x4a)['string'](_0x5514e3['unlinkedAt']),writer;},CommentsThreadDescriptor['encodeDelimited']=function(_0x5a5581,writer){return this['encode'](_0x5a5581,writer)['ldelim']();},CommentsThreadDescriptor['decode']=function(_0x4b3407,length,_0x2a7b7f,_0xb8569b){if(_0x4b3407 instanceof _0x3e39b8||(_0x4b3407=_0x3e39b8['create'](_0x4b3407)),void 0x0===_0xb8569b&&(_0xb8569b=0x0),_0xb8569b>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x358d6f=void 0x0===length?_0x4b3407['len']:_0x4b3407['pos']+length,_0x3946a4=new $root['CommentsThreadDescriptor']();_0x4b3407['pos']<_0x358d6f;){var tag=_0x4b3407['uint32']();if(tag===_0x2a7b7f)break;switch(tag>>>0x3){case 0x1:_0x3946a4['commentThreadId']=_0x4b3407['string']();break;case 0x2:_0x3946a4['comments']&&_0x3946a4['comments']['length']||(_0x3946a4['comments']=[]),_0x3946a4['comments']['push']($root['CommentDescriptor']['decode'](_0x4b3407,_0x4b3407['uint32'](),void 0x0,_0xb8569b+0x1));break;case 0x3:_0x3946a4['resolvedAt']=_0x4b3407['string']();break;case 0x4:_0x3946a4['resolvedBy']=_0x4b3407['string']();break;case 0x5:_0x3946a4['context']=_0x4b3407['string']();break;case 0x6:_0x3946a4['createdAt']=_0x4b3407['string']();break;case 0x7:_0x3946a4['deletedAt']=_0x4b3407['string']();break;case 0x8:_0x3946a4['attributes']=_0x4b3407['string']();break;case 0x9:_0x3946a4['unlinkedAt']=_0x4b3407['string']();break;default:_0x4b3407['skipType'](0x7&tag,_0xb8569b);}}return _0x3946a4;},CommentsThreadDescriptor['decodeDelimited']=function(_0x2e6211){return _0x2e6211 instanceof _0x3e39b8||(_0x2e6211=new _0x3e39b8(_0x2e6211)),this['decode'](_0x2e6211,_0x2e6211['uint32']());},CommentsThreadDescriptor['verify']=function(_0x45d501,_0x1f4d47){if('object'!=typeof _0x45d501||null===_0x45d501)return'object\x20expected';if(void 0x0===_0x1f4d47&&(_0x1f4d47=0x0),_0x1f4d47>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x45d501['commentThreadId']&&Object['hasOwnProperty']['call'](_0x45d501,'commentThreadId')&&!$util['isString'](_0x45d501['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x45d501['comments']&&Object['hasOwnProperty']['call'](_0x45d501,'comments')){if(!Array['isArray'](_0x45d501['comments']))return'comments:\x20array\x20expected';for(var _0x1a70b5=0x0;_0x1a70b5<_0x45d501['comments']['length'];++_0x1a70b5){var _0xad25ec=$root['CommentDescriptor']['verify'](_0x45d501['comments'][_0x1a70b5],_0x1f4d47+0x1);if(_0xad25ec)return'comments.'+_0xad25ec;}}return null!=_0x45d501['resolvedAt']&&Object['hasOwnProperty']['call'](_0x45d501,'resolvedAt')&&!$util['isString'](_0x45d501['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x45d501['resolvedBy']&&Object['hasOwnProperty']['call'](_0x45d501,'resolvedBy')&&!$util['isString'](_0x45d501['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x45d501['context']&&Object['hasOwnProperty']['call'](_0x45d501,'context')&&!$util['isString'](_0x45d501['context'])?'context:\x20string\x20expected':null!=_0x45d501['createdAt']&&Object['hasOwnProperty']['call'](_0x45d501,'createdAt')&&!$util['isString'](_0x45d501['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x45d501['deletedAt']&&Object['hasOwnProperty']['call'](_0x45d501,'deletedAt')&&!$util['isString'](_0x45d501['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x45d501['attributes']&&Object['hasOwnProperty']['call'](_0x45d501,'attributes')&&!$util['isString'](_0x45d501['attributes'])?'attributes:\x20string\x20expected':null!=_0x45d501['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x45d501,'unlinkedAt')&&!$util['isString'](_0x45d501['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},CommentsThreadDescriptor['fromObject']=function(object,_0x28f62b){if(object instanceof $root['CommentsThreadDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsThreadDescriptor:\x20object\x20expected');if(void 0x0===_0x28f62b&&(_0x28f62b=0x0),_0x28f62b>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1cc891=new $root['CommentsThreadDescriptor']();if(null!=object['commentThreadId']&&(_0x1cc891['commentThreadId']=String(object['commentThreadId'])),object['comments']){if(!Array['isArray'](object['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x1cc891['comments']=[];for(var _0x54e17e=0x0;_0x54e17e<object['comments']['length'];++_0x54e17e){if(!$util['isObject'](object['comments'][_0x54e17e]))throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x1cc891['comments'][_0x54e17e]=$root['CommentDescriptor']['fromObject'](object['comments'][_0x54e17e],_0x28f62b+0x1);}}return null!=object['resolvedAt']&&(_0x1cc891['resolvedAt']=String(object['resolvedAt'])),null!=object['resolvedBy']&&(_0x1cc891['resolvedBy']=String(object['resolvedBy'])),null!=object['context']&&(_0x1cc891['context']=String(object['context'])),null!=object['createdAt']&&(_0x1cc891['createdAt']=String(object['createdAt'])),null!=object['deletedAt']&&(_0x1cc891['deletedAt']=String(object['deletedAt'])),null!=object['attributes']&&(_0x1cc891['attributes']=String(object['attributes'])),null!=object['unlinkedAt']&&(_0x1cc891['unlinkedAt']=String(object['unlinkedAt'])),_0x1cc891;},CommentsThreadDescriptor['toObject']=function(_0x274bdf,options,_0x46be18){if(options||(options={}),void 0x0===_0x46be18&&(_0x46be18=0x0),_0x46be18>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['comments']=[]),options['defaults']&&(object['commentThreadId']='',object['resolvedAt']='',object['resolvedBy']='',object['context']='',object['createdAt']='',object['deletedAt']='',object['attributes']='',object['unlinkedAt']=''),null!=_0x274bdf['commentThreadId']&&Object['hasOwnProperty']['call'](_0x274bdf,'commentThreadId')&&(object['commentThreadId']=_0x274bdf['commentThreadId']),_0x274bdf['comments']&&_0x274bdf['comments']['length']){object['comments']=[];for(var _0x58404e=0x0;_0x58404e<_0x274bdf['comments']['length'];++_0x58404e)object['comments'][_0x58404e]=$root['CommentDescriptor']['toObject'](_0x274bdf['comments'][_0x58404e],options,_0x46be18+0x1);}return null!=_0x274bdf['resolvedAt']&&Object['hasOwnProperty']['call'](_0x274bdf,'resolvedAt')&&(object['resolvedAt']=_0x274bdf['resolvedAt']),null!=_0x274bdf['resolvedBy']&&Object['hasOwnProperty']['call'](_0x274bdf,'resolvedBy')&&(object['resolvedBy']=_0x274bdf['resolvedBy']),null!=_0x274bdf['context']&&Object['hasOwnProperty']['call'](_0x274bdf,'context')&&(object['context']=_0x274bdf['context']),null!=_0x274bdf['createdAt']&&Object['hasOwnProperty']['call'](_0x274bdf,'createdAt')&&(object['createdAt']=_0x274bdf['createdAt']),null!=_0x274bdf['deletedAt']&&Object['hasOwnProperty']['call'](_0x274bdf,'deletedAt')&&(object['deletedAt']=_0x274bdf['deletedAt']),null!=_0x274bdf['attributes']&&Object['hasOwnProperty']['call'](_0x274bdf,'attributes')&&(object['attributes']=_0x274bdf['attributes']),null!=_0x274bdf['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x274bdf,'unlinkedAt')&&(object['unlinkedAt']=_0x274bdf['unlinkedAt']),object;},CommentsThreadDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsThreadDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsThreadDescriptor';},CommentsThreadDescriptor;}()),$root['CommentDescriptor']=(function(){function CommentDescriptor(properties){if(properties){for(var _0x12a8e4=Object['keys'](properties),_0x24efe=0x0;_0x24efe<_0x12a8e4['length'];++_0x24efe)null!=properties[_0x12a8e4[_0x24efe]]&&'__proto__'!==_0x12a8e4[_0x24efe]&&(this[_0x12a8e4[_0x24efe]]=properties[_0x12a8e4[_0x24efe]]);}}return CommentDescriptor['prototype']['commentId']='',CommentDescriptor['prototype']['commentThreadId']='',CommentDescriptor['prototype']['userId']='',CommentDescriptor['prototype']['content']='',CommentDescriptor['prototype']['documentId']='',CommentDescriptor['prototype']['createdAt']='',CommentDescriptor['prototype']['attributes']='',CommentDescriptor['create']=function(properties){return new CommentDescriptor(properties);},CommentDescriptor['encode']=function(_0x1a5c23,writer,_0x1228df){if(writer||(writer=$Writer['create']()),void 0x0===_0x1228df&&(_0x1228df=0x0),_0x1228df>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1a5c23['commentId']&&Object['hasOwnProperty']['call'](_0x1a5c23,'commentId')&&writer['uint32'](0xa)['string'](_0x1a5c23['commentId']),null!=_0x1a5c23['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1a5c23,'commentThreadId')&&writer['uint32'](0x12)['string'](_0x1a5c23['commentThreadId']),null!=_0x1a5c23['userId']&&Object['hasOwnProperty']['call'](_0x1a5c23,'userId')&&writer['uint32'](0x1a)['string'](_0x1a5c23['userId']),null!=_0x1a5c23['content']&&Object['hasOwnProperty']['call'](_0x1a5c23,'content')&&writer['uint32'](0x22)['string'](_0x1a5c23['content']),null!=_0x1a5c23['documentId']&&Object['hasOwnProperty']['call'](_0x1a5c23,'documentId')&&writer['uint32'](0x2a)['string'](_0x1a5c23['documentId']),null!=_0x1a5c23['createdAt']&&Object['hasOwnProperty']['call'](_0x1a5c23,'createdAt')&&writer['uint32'](0x32)['string'](_0x1a5c23['createdAt']),null!=_0x1a5c23['attributes']&&Object['hasOwnProperty']['call'](_0x1a5c23,'attributes')&&writer['uint32'](0x3a)['string'](_0x1a5c23['attributes']),writer;},CommentDescriptor['encodeDelimited']=function(_0xd90dde,writer){return this['encode'](_0xd90dde,writer)['ldelim']();},CommentDescriptor['decode']=function(_0x2ea159,length,_0x8b0ac0,_0x7511b1){if(_0x2ea159 instanceof _0x3e39b8||(_0x2ea159=_0x3e39b8['create'](_0x2ea159)),void 0x0===_0x7511b1&&(_0x7511b1=0x0),_0x7511b1>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x32fbbb=void 0x0===length?_0x2ea159['len']:_0x2ea159['pos']+length,_0x4f3af9=new $root['CommentDescriptor']();_0x2ea159['pos']<_0x32fbbb;){var tag=_0x2ea159['uint32']();if(tag===_0x8b0ac0)break;switch(tag>>>0x3){case 0x1:_0x4f3af9['commentId']=_0x2ea159['string']();break;case 0x2:_0x4f3af9['commentThreadId']=_0x2ea159['string']();break;case 0x3:_0x4f3af9['userId']=_0x2ea159['string']();break;case 0x4:_0x4f3af9['content']=_0x2ea159['string']();break;case 0x5:_0x4f3af9['documentId']=_0x2ea159['string']();break;case 0x6:_0x4f3af9['createdAt']=_0x2ea159['string']();break;case 0x7:_0x4f3af9['attributes']=_0x2ea159['string']();break;default:_0x2ea159['skipType'](0x7&tag,_0x7511b1);}}return _0x4f3af9;},CommentDescriptor['decodeDelimited']=function(_0x6a29d){return _0x6a29d instanceof _0x3e39b8||(_0x6a29d=new _0x3e39b8(_0x6a29d)),this['decode'](_0x6a29d,_0x6a29d['uint32']());},CommentDescriptor['verify']=function(_0x34e384,_0x33a9c4){return'object'!=typeof _0x34e384||null===_0x34e384?'object\x20expected':(void 0x0===_0x33a9c4&&(_0x33a9c4=0x0),_0x33a9c4>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x34e384['commentId']&&Object['hasOwnProperty']['call'](_0x34e384,'commentId')&&!$util['isString'](_0x34e384['commentId'])?'commentId:\x20string\x20expected':null!=_0x34e384['commentThreadId']&&Object['hasOwnProperty']['call'](_0x34e384,'commentThreadId')&&!$util['isString'](_0x34e384['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x34e384['userId']&&Object['hasOwnProperty']['call'](_0x34e384,'userId')&&!$util['isString'](_0x34e384['userId'])?'userId:\x20string\x20expected':null!=_0x34e384['content']&&Object['hasOwnProperty']['call'](_0x34e384,'content')&&!$util['isString'](_0x34e384['content'])?'content:\x20string\x20expected':null!=_0x34e384['documentId']&&Object['hasOwnProperty']['call'](_0x34e384,'documentId')&&!$util['isString'](_0x34e384['documentId'])?'documentId:\x20string\x20expected':null!=_0x34e384['createdAt']&&Object['hasOwnProperty']['call'](_0x34e384,'createdAt')&&!$util['isString'](_0x34e384['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x34e384['attributes']&&Object['hasOwnProperty']['call'](_0x34e384,'attributes')&&!$util['isString'](_0x34e384['attributes'])?'attributes:\x20string\x20expected':null);},CommentDescriptor['fromObject']=function(object,_0x3fbf52){if(object instanceof $root['CommentDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.CommentDescriptor:\x20object\x20expected');if(void 0x0===_0x3fbf52&&(_0x3fbf52=0x0),_0x3fbf52>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2fe7cf=new $root['CommentDescriptor']();return null!=object['commentId']&&(_0x2fe7cf['commentId']=String(object['commentId'])),null!=object['commentThreadId']&&(_0x2fe7cf['commentThreadId']=String(object['commentThreadId'])),null!=object['userId']&&(_0x2fe7cf['userId']=String(object['userId'])),null!=object['content']&&(_0x2fe7cf['content']=String(object['content'])),null!=object['documentId']&&(_0x2fe7cf['documentId']=String(object['documentId'])),null!=object['createdAt']&&(_0x2fe7cf['createdAt']=String(object['createdAt'])),null!=object['attributes']&&(_0x2fe7cf['attributes']=String(object['attributes'])),_0x2fe7cf;},CommentDescriptor['toObject']=function(_0x3b3163,options,_0x11ad61){if(options||(options={}),void 0x0===_0x11ad61&&(_0x11ad61=0x0),_0x11ad61>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentId']='',object['commentThreadId']='',object['userId']='',object['content']='',object['documentId']='',object['createdAt']='',object['attributes']=''),null!=_0x3b3163['commentId']&&Object['hasOwnProperty']['call'](_0x3b3163,'commentId')&&(object['commentId']=_0x3b3163['commentId']),null!=_0x3b3163['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3b3163,'commentThreadId')&&(object['commentThreadId']=_0x3b3163['commentThreadId']),null!=_0x3b3163['userId']&&Object['hasOwnProperty']['call'](_0x3b3163,'userId')&&(object['userId']=_0x3b3163['userId']),null!=_0x3b3163['content']&&Object['hasOwnProperty']['call'](_0x3b3163,'content')&&(object['content']=_0x3b3163['content']),null!=_0x3b3163['documentId']&&Object['hasOwnProperty']['call'](_0x3b3163,'documentId')&&(object['documentId']=_0x3b3163['documentId']),null!=_0x3b3163['createdAt']&&Object['hasOwnProperty']['call'](_0x3b3163,'createdAt')&&(object['createdAt']=_0x3b3163['createdAt']),null!=_0x3b3163['attributes']&&Object['hasOwnProperty']['call'](_0x3b3163,'attributes')&&(object['attributes']=_0x3b3163['attributes']),object;},CommentDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentDescriptor';},CommentDescriptor;}()),$root['GetDocumentDetailsResponse']=(function(){function GetDocumentDetailsResponse(properties){if(properties){for(var _0x43bf5e=Object['keys'](properties),_0x2c636f=0x0;_0x2c636f<_0x43bf5e['length'];++_0x2c636f)null!=properties[_0x43bf5e[_0x2c636f]]&&'__proto__'!==_0x43bf5e[_0x2c636f]&&(this[_0x43bf5e[_0x2c636f]]=properties[_0x43bf5e[_0x2c636f]]);}}return GetDocumentDetailsResponse['prototype']['lastDocumentSessionId']='',GetDocumentDetailsResponse['prototype']['lastDocumentSessionOperationId']='',GetDocumentDetailsResponse['prototype']['currentDocumentSessionId']='',GetDocumentDetailsResponse['prototype']['currentDocumentSessionVersion']=0x0,GetDocumentDetailsResponse['prototype']['currentDocumentSessionOperationId']='',GetDocumentDetailsResponse['create']=function(properties){return new GetDocumentDetailsResponse(properties);},GetDocumentDetailsResponse['encode']=function(_0x25d2b9,writer,_0x48113f){if(writer||(writer=$Writer['create']()),void 0x0===_0x48113f&&(_0x48113f=0x0),_0x48113f>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x25d2b9['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x25d2b9,'lastDocumentSessionId')&&writer['uint32'](0xa)['string'](_0x25d2b9['lastDocumentSessionId']),null!=_0x25d2b9['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x25d2b9,'lastDocumentSessionOperationId')&&writer['uint32'](0x12)['string'](_0x25d2b9['lastDocumentSessionOperationId']),null!=_0x25d2b9['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x25d2b9,'currentDocumentSessionId')&&writer['uint32'](0x1a)['string'](_0x25d2b9['currentDocumentSessionId']),null!=_0x25d2b9['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x25d2b9,'currentDocumentSessionVersion')&&writer['uint32'](0x20)['uint32'](_0x25d2b9['currentDocumentSessionVersion']),null!=_0x25d2b9['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x25d2b9,'currentDocumentSessionOperationId')&&writer['uint32'](0x2a)['string'](_0x25d2b9['currentDocumentSessionOperationId']),writer;},GetDocumentDetailsResponse['encodeDelimited']=function(_0x4afacd,writer){return this['encode'](_0x4afacd,writer)['ldelim']();},GetDocumentDetailsResponse['decode']=function(_0x4aa662,length,_0x52bdf9,_0x1664fb){if(_0x4aa662 instanceof _0x3e39b8||(_0x4aa662=_0x3e39b8['create'](_0x4aa662)),void 0x0===_0x1664fb&&(_0x1664fb=0x0),_0x1664fb>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x487f94=void 0x0===length?_0x4aa662['len']:_0x4aa662['pos']+length,_0x9e4d87=new $root['GetDocumentDetailsResponse']();_0x4aa662['pos']<_0x487f94;){var tag=_0x4aa662['uint32']();if(tag===_0x52bdf9)break;switch(tag>>>0x3){case 0x1:_0x9e4d87['lastDocumentSessionId']=_0x4aa662['string']();break;case 0x2:_0x9e4d87['lastDocumentSessionOperationId']=_0x4aa662['string']();break;case 0x3:_0x9e4d87['currentDocumentSessionId']=_0x4aa662['string']();break;case 0x4:_0x9e4d87['currentDocumentSessionVersion']=_0x4aa662['uint32']();break;case 0x5:_0x9e4d87['currentDocumentSessionOperationId']=_0x4aa662['string']();break;default:_0x4aa662['skipType'](0x7&tag,_0x1664fb);}}return _0x9e4d87;},GetDocumentDetailsResponse['decodeDelimited']=function(_0x18a8d4){return _0x18a8d4 instanceof _0x3e39b8||(_0x18a8d4=new _0x3e39b8(_0x18a8d4)),this['decode'](_0x18a8d4,_0x18a8d4['uint32']());},GetDocumentDetailsResponse['verify']=function(_0xfab22f,_0x45c0c5){return'object'!=typeof _0xfab22f||null===_0xfab22f?'object\x20expected':(void 0x0===_0x45c0c5&&(_0x45c0c5=0x0),_0x45c0c5>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xfab22f['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0xfab22f,'lastDocumentSessionId')&&!$util['isString'](_0xfab22f['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0xfab22f['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0xfab22f,'lastDocumentSessionOperationId')&&!$util['isString'](_0xfab22f['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0xfab22f['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0xfab22f,'currentDocumentSessionId')&&!$util['isString'](_0xfab22f['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0xfab22f['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0xfab22f,'currentDocumentSessionVersion')&&!$util['isInteger'](_0xfab22f['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0xfab22f['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0xfab22f,'currentDocumentSessionOperationId')&&!$util['isString'](_0xfab22f['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null);},GetDocumentDetailsResponse['fromObject']=function(object,_0x57427a){if(object instanceof $root['GetDocumentDetailsResponse'])return object;if(!$util['isObject'](object))throw TypeError('.GetDocumentDetailsResponse:\x20object\x20expected');if(void 0x0===_0x57427a&&(_0x57427a=0x0),_0x57427a>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2eaf8b=new $root['GetDocumentDetailsResponse']();return null!=object['lastDocumentSessionId']&&(_0x2eaf8b['lastDocumentSessionId']=String(object['lastDocumentSessionId'])),null!=object['lastDocumentSessionOperationId']&&(_0x2eaf8b['lastDocumentSessionOperationId']=String(object['lastDocumentSessionOperationId'])),null!=object['currentDocumentSessionId']&&(_0x2eaf8b['currentDocumentSessionId']=String(object['currentDocumentSessionId'])),null!=object['currentDocumentSessionVersion']&&(_0x2eaf8b['currentDocumentSessionVersion']=object['currentDocumentSessionVersion']>>>0x0),null!=object['currentDocumentSessionOperationId']&&(_0x2eaf8b['currentDocumentSessionOperationId']=String(object['currentDocumentSessionOperationId'])),_0x2eaf8b;},GetDocumentDetailsResponse['toObject']=function(_0x427087,options,_0x531003){if(options||(options={}),void 0x0===_0x531003&&(_0x531003=0x0),_0x531003>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['lastDocumentSessionId']='',object['lastDocumentSessionOperationId']='',object['currentDocumentSessionId']='',object['currentDocumentSessionVersion']=0x0,object['currentDocumentSessionOperationId']=''),null!=_0x427087['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x427087,'lastDocumentSessionId')&&(object['lastDocumentSessionId']=_0x427087['lastDocumentSessionId']),null!=_0x427087['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x427087,'lastDocumentSessionOperationId')&&(object['lastDocumentSessionOperationId']=_0x427087['lastDocumentSessionOperationId']),null!=_0x427087['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x427087,'currentDocumentSessionId')&&(object['currentDocumentSessionId']=_0x427087['currentDocumentSessionId']),null!=_0x427087['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x427087,'currentDocumentSessionVersion')&&(object['currentDocumentSessionVersion']=_0x427087['currentDocumentSessionVersion']),null!=_0x427087['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x427087,'currentDocumentSessionOperationId')&&(object['currentDocumentSessionOperationId']=_0x427087['currentDocumentSessionOperationId']),object;},GetDocumentDetailsResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetDocumentDetailsResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetDocumentDetailsResponse';},GetDocumentDetailsResponse;}()),$root['CollaborativeEditingResponse']=(function(){function CollaborativeEditingResponse(properties){if(this['buffers']=[],this['types']=[],this['metadata']=[],properties){for(var _0x2b2d0f=Object['keys'](properties),_0x3d6c82=0x0;_0x3d6c82<_0x2b2d0f['length'];++_0x3d6c82)null!=properties[_0x2b2d0f[_0x3d6c82]]&&'__proto__'!==_0x2b2d0f[_0x3d6c82]&&(this[_0x2b2d0f[_0x3d6c82]]=properties[_0x2b2d0f[_0x3d6c82]]);}}return CollaborativeEditingResponse['prototype']['version']=0x0,CollaborativeEditingResponse['prototype']['buffers']=$util['emptyArray'],CollaborativeEditingResponse['prototype']['types']=$util['emptyArray'],CollaborativeEditingResponse['prototype']['metadata']=$util['emptyArray'],CollaborativeEditingResponse['prototype']['lastOperationId']='',CollaborativeEditingResponse['prototype']['lastOperationAcceptedAt']='',CollaborativeEditingResponse['create']=function(properties){return new CollaborativeEditingResponse(properties);},CollaborativeEditingResponse['encode']=function(_0xb30a75,writer,_0xfa2724){if(writer||(writer=$Writer['create']()),void 0x0===_0xfa2724&&(_0xfa2724=0x0),_0xfa2724>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0xb30a75['version']&&Object['hasOwnProperty']['call'](_0xb30a75,'version')&&writer['uint32'](0x8)['uint32'](_0xb30a75['version']),null!=_0xb30a75['buffers']&&_0xb30a75['buffers']['length']){for(var _0x2eb000=0x0;_0x2eb000<_0xb30a75['buffers']['length'];++_0x2eb000)writer['uint32'](0x12)['bytes'](_0xb30a75['buffers'][_0x2eb000]);}if(null!=_0xb30a75['types']&&_0xb30a75['types']['length']){writer['uint32'](0x1a)['fork']();for(_0x2eb000=0x0;_0x2eb000<_0xb30a75['types']['length'];++_0x2eb000)writer['uint32'](_0xb30a75['types'][_0x2eb000]);writer['ldelim']();}if(null!=_0xb30a75['metadata']&&_0xb30a75['metadata']['length']){for(_0x2eb000=0x0;_0x2eb000<_0xb30a75['metadata']['length'];++_0x2eb000)$root['OperationMetadataDescriptor']['encode'](_0xb30a75['metadata'][_0x2eb000],writer['uint32'](0x2a)['fork'](),_0xfa2724+0x1)['ldelim']();}return null!=_0xb30a75['lastOperationId']&&Object['hasOwnProperty']['call'](_0xb30a75,'lastOperationId')&&writer['uint32'](0x32)['string'](_0xb30a75['lastOperationId']),null!=_0xb30a75['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0xb30a75,'lastOperationAcceptedAt')&&writer['uint32'](0x3a)['string'](_0xb30a75['lastOperationAcceptedAt']),writer;},CollaborativeEditingResponse['encodeDelimited']=function(_0x263237,writer){return this['encode'](_0x263237,writer)['ldelim']();},CollaborativeEditingResponse['decode']=function(_0x5b4e9b,length,_0x5169a2,_0x3e5270){if(_0x5b4e9b instanceof _0x3e39b8||(_0x5b4e9b=_0x3e39b8['create'](_0x5b4e9b)),void 0x0===_0x3e5270&&(_0x3e5270=0x0),_0x3e5270>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4795f1=void 0x0===length?_0x5b4e9b['len']:_0x5b4e9b['pos']+length,_0x537e45=new $root['CollaborativeEditingResponse']();_0x5b4e9b['pos']<_0x4795f1;){var tag=_0x5b4e9b['uint32']();if(tag===_0x5169a2)break;switch(tag>>>0x3){case 0x1:_0x537e45['version']=_0x5b4e9b['uint32']();break;case 0x2:_0x537e45['buffers']&&_0x537e45['buffers']['length']||(_0x537e45['buffers']=[]),_0x537e45['buffers']['push'](_0x5b4e9b['bytes']());break;case 0x3:if(_0x537e45['types']&&_0x537e45['types']['length']||(_0x537e45['types']=[]),0x2==(0x7&tag)){for(var _0x5defac=_0x5b4e9b['uint32']()+_0x5b4e9b['pos'];_0x5b4e9b['pos']<_0x5defac;)_0x537e45['types']['push'](_0x5b4e9b['uint32']());}else _0x537e45['types']['push'](_0x5b4e9b['uint32']());break;case 0x5:_0x537e45['metadata']&&_0x537e45['metadata']['length']||(_0x537e45['metadata']=[]),_0x537e45['metadata']['push']($root['OperationMetadataDescriptor']['decode'](_0x5b4e9b,_0x5b4e9b['uint32'](),void 0x0,_0x3e5270+0x1));break;case 0x6:_0x537e45['lastOperationId']=_0x5b4e9b['string']();break;case 0x7:_0x537e45['lastOperationAcceptedAt']=_0x5b4e9b['string']();break;default:_0x5b4e9b['skipType'](0x7&tag,_0x3e5270);}}return _0x537e45;},CollaborativeEditingResponse['decodeDelimited']=function(_0x35ace3){return _0x35ace3 instanceof _0x3e39b8||(_0x35ace3=new _0x3e39b8(_0x35ace3)),this['decode'](_0x35ace3,_0x35ace3['uint32']());},CollaborativeEditingResponse['verify']=function(_0x164e15,_0x495904){if('object'!=typeof _0x164e15||null===_0x164e15)return'object\x20expected';if(void 0x0===_0x495904&&(_0x495904=0x0),_0x495904>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x164e15['version']&&Object['hasOwnProperty']['call'](_0x164e15,'version')&&!$util['isInteger'](_0x164e15['version']))return'version:\x20integer\x20expected';if(null!=_0x164e15['buffers']&&Object['hasOwnProperty']['call'](_0x164e15,'buffers')){if(!Array['isArray'](_0x164e15['buffers']))return'buffers:\x20array\x20expected';for(var _0x64bea1=0x0;_0x64bea1<_0x164e15['buffers']['length'];++_0x64bea1)if(!(_0x164e15['buffers'][_0x64bea1]&&'number'==typeof _0x164e15['buffers'][_0x64bea1]['length']||$util['isString'](_0x164e15['buffers'][_0x64bea1])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x164e15['types']&&Object['hasOwnProperty']['call'](_0x164e15,'types')){if(!Array['isArray'](_0x164e15['types']))return'types:\x20array\x20expected';for(_0x64bea1=0x0;_0x64bea1<_0x164e15['types']['length'];++_0x64bea1)if(!$util['isInteger'](_0x164e15['types'][_0x64bea1]))return'types:\x20integer[]\x20expected';}if(null!=_0x164e15['metadata']&&Object['hasOwnProperty']['call'](_0x164e15,'metadata')){if(!Array['isArray'](_0x164e15['metadata']))return'metadata:\x20array\x20expected';for(_0x64bea1=0x0;_0x64bea1<_0x164e15['metadata']['length'];++_0x64bea1){var _0x279eb3=$root['OperationMetadataDescriptor']['verify'](_0x164e15['metadata'][_0x64bea1],_0x495904+0x1);if(_0x279eb3)return'metadata.'+_0x279eb3;}}return null!=_0x164e15['lastOperationId']&&Object['hasOwnProperty']['call'](_0x164e15,'lastOperationId')&&!$util['isString'](_0x164e15['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x164e15['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x164e15,'lastOperationAcceptedAt')&&!$util['isString'](_0x164e15['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},CollaborativeEditingResponse['fromObject']=function(object,_0x46f605){if(object instanceof $root['CollaborativeEditingResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CollaborativeEditingResponse:\x20object\x20expected');if(void 0x0===_0x46f605&&(_0x46f605=0x0),_0x46f605>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x11c85c=new $root['CollaborativeEditingResponse']();if(null!=object['version']&&(_0x11c85c['version']=object['version']>>>0x0),object['buffers']){if(!Array['isArray'](object['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x11c85c['buffers']=[];for(var _0x10ba4b=0x0;_0x10ba4b<object['buffers']['length'];++_0x10ba4b)'string'==typeof object['buffers'][_0x10ba4b]?$util['base64']['decode'](object['buffers'][_0x10ba4b],_0x11c85c['buffers'][_0x10ba4b]=$util['newBuffer']($util['base64']['length'](object['buffers'][_0x10ba4b])),0x0):object['buffers'][_0x10ba4b]['length']>=0x0&&(_0x11c85c['buffers'][_0x10ba4b]=object['buffers'][_0x10ba4b]);}if(object['types']){if(!Array['isArray'](object['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');_0x11c85c['types']=[];for(_0x10ba4b=0x0;_0x10ba4b<object['types']['length'];++_0x10ba4b)_0x11c85c['types'][_0x10ba4b]=object['types'][_0x10ba4b]>>>0x0;}if(object['metadata']){if(!Array['isArray'](object['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');_0x11c85c['metadata']=[];for(_0x10ba4b=0x0;_0x10ba4b<object['metadata']['length'];++_0x10ba4b){if(!$util['isObject'](object['metadata'][_0x10ba4b]))throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x11c85c['metadata'][_0x10ba4b]=$root['OperationMetadataDescriptor']['fromObject'](object['metadata'][_0x10ba4b],_0x46f605+0x1);}}return null!=object['lastOperationId']&&(_0x11c85c['lastOperationId']=String(object['lastOperationId'])),null!=object['lastOperationAcceptedAt']&&(_0x11c85c['lastOperationAcceptedAt']=String(object['lastOperationAcceptedAt'])),_0x11c85c;},CollaborativeEditingResponse['toObject']=function(_0xcd9102,options,_0x40b85f){if(options||(options={}),void 0x0===_0x40b85f&&(_0x40b85f=0x0),_0x40b85f>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['buffers']=[],object['types']=[],object['metadata']=[]),options['defaults']&&(object['version']=0x0,object['lastOperationId']='',object['lastOperationAcceptedAt']=''),null!=_0xcd9102['version']&&Object['hasOwnProperty']['call'](_0xcd9102,'version')&&(object['version']=_0xcd9102['version']),_0xcd9102['buffers']&&_0xcd9102['buffers']['length']){object['buffers']=[];for(var _0x58c669=0x0;_0x58c669<_0xcd9102['buffers']['length'];++_0x58c669)object['buffers'][_0x58c669]=options['bytes']===String?$util['base64']['encode'](_0xcd9102['buffers'][_0x58c669],0x0,_0xcd9102['buffers'][_0x58c669]['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0xcd9102['buffers'][_0x58c669]):_0xcd9102['buffers'][_0x58c669];}if(_0xcd9102['types']&&_0xcd9102['types']['length']){object['types']=[];for(_0x58c669=0x0;_0x58c669<_0xcd9102['types']['length'];++_0x58c669)object['types'][_0x58c669]=_0xcd9102['types'][_0x58c669];}if(_0xcd9102['metadata']&&_0xcd9102['metadata']['length']){object['metadata']=[];for(_0x58c669=0x0;_0x58c669<_0xcd9102['metadata']['length'];++_0x58c669)object['metadata'][_0x58c669]=$root['OperationMetadataDescriptor']['toObject'](_0xcd9102['metadata'][_0x58c669],options,_0x40b85f+0x1);}return null!=_0xcd9102['lastOperationId']&&Object['hasOwnProperty']['call'](_0xcd9102,'lastOperationId')&&(object['lastOperationId']=_0xcd9102['lastOperationId']),null!=_0xcd9102['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0xcd9102,'lastOperationAcceptedAt')&&(object['lastOperationAcceptedAt']=_0xcd9102['lastOperationAcceptedAt']),object;},CollaborativeEditingResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CollaborativeEditingResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CollaborativeEditingResponse';},CollaborativeEditingResponse;}()),$root['CollaborativeEditingConnectResponse']=(function(){function CollaborativeEditingConnectResponse(properties){if(this['buffers']=[],this['types']=[],this['metadata']=[],properties){for(var _0x1e1ff1=Object['keys'](properties),_0x55da2d=0x0;_0x55da2d<_0x1e1ff1['length'];++_0x55da2d)null!=properties[_0x1e1ff1[_0x55da2d]]&&'__proto__'!==_0x1e1ff1[_0x55da2d]&&(this[_0x1e1ff1[_0x55da2d]]=properties[_0x1e1ff1[_0x55da2d]]);}}return CollaborativeEditingConnectResponse['prototype']['channel']='',CollaborativeEditingConnectResponse['prototype']['offset']=0x0,CollaborativeEditingConnectResponse['prototype']['version']=0x0,CollaborativeEditingConnectResponse['prototype']['buffers']=$util['emptyArray'],CollaborativeEditingConnectResponse['prototype']['types']=$util['emptyArray'],CollaborativeEditingConnectResponse['prototype']['metadata']=$util['emptyArray'],CollaborativeEditingConnectResponse['prototype']['initData']='',CollaborativeEditingConnectResponse['prototype']['isInitialized']=!0x1,CollaborativeEditingConnectResponse['prototype']['sessionId']='',CollaborativeEditingConnectResponse['prototype']['lastOperationId']='',CollaborativeEditingConnectResponse['prototype']['sessionCreatedAt']='',CollaborativeEditingConnectResponse['create']=function(properties){return new CollaborativeEditingConnectResponse(properties);},CollaborativeEditingConnectResponse['encode']=function(_0x2fd510,writer,_0xf29eb0){if(writer||(writer=$Writer['create']()),void 0x0===_0xf29eb0&&(_0xf29eb0=0x0),_0xf29eb0>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x2fd510['channel']&&Object['hasOwnProperty']['call'](_0x2fd510,'channel')&&writer['uint32'](0xa)['string'](_0x2fd510['channel']),null!=_0x2fd510['offset']&&Object['hasOwnProperty']['call'](_0x2fd510,'offset')&&writer['uint32'](0x10)['uint32'](_0x2fd510['offset']),null!=_0x2fd510['version']&&Object['hasOwnProperty']['call'](_0x2fd510,'version')&&writer['uint32'](0x18)['uint32'](_0x2fd510['version']),null!=_0x2fd510['buffers']&&_0x2fd510['buffers']['length']){for(var _0x29abea=0x0;_0x29abea<_0x2fd510['buffers']['length'];++_0x29abea)writer['uint32'](0x22)['bytes'](_0x2fd510['buffers'][_0x29abea]);}if(null!=_0x2fd510['types']&&_0x2fd510['types']['length']){writer['uint32'](0x2a)['fork']();for(_0x29abea=0x0;_0x29abea<_0x2fd510['types']['length'];++_0x29abea)writer['uint32'](_0x2fd510['types'][_0x29abea]);writer['ldelim']();}if(null!=_0x2fd510['metadata']&&_0x2fd510['metadata']['length']){for(_0x29abea=0x0;_0x29abea<_0x2fd510['metadata']['length'];++_0x29abea)$root['OperationMetadataDescriptor']['encode'](_0x2fd510['metadata'][_0x29abea],writer['uint32'](0x3a)['fork'](),_0xf29eb0+0x1)['ldelim']();}return null!=_0x2fd510['initData']&&Object['hasOwnProperty']['call'](_0x2fd510,'initData')&&writer['uint32'](0x42)['string'](_0x2fd510['initData']),null!=_0x2fd510['isInitialized']&&Object['hasOwnProperty']['call'](_0x2fd510,'isInitialized')&&writer['uint32'](0x48)['bool'](_0x2fd510['isInitialized']),null!=_0x2fd510['sessionId']&&Object['hasOwnProperty']['call'](_0x2fd510,'sessionId')&&writer['uint32'](0x52)['string'](_0x2fd510['sessionId']),null!=_0x2fd510['lastOperationId']&&Object['hasOwnProperty']['call'](_0x2fd510,'lastOperationId')&&writer['uint32'](0x5a)['string'](_0x2fd510['lastOperationId']),null!=_0x2fd510['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x2fd510,'sessionCreatedAt')&&writer['uint32'](0x62)['string'](_0x2fd510['sessionCreatedAt']),writer;},CollaborativeEditingConnectResponse['encodeDelimited']=function(_0x1f4b65,writer){return this['encode'](_0x1f4b65,writer)['ldelim']();},CollaborativeEditingConnectResponse['decode']=function(_0x2d9536,length,_0x177b07,_0x1b7623){if(_0x2d9536 instanceof _0x3e39b8||(_0x2d9536=_0x3e39b8['create'](_0x2d9536)),void 0x0===_0x1b7623&&(_0x1b7623=0x0),_0x1b7623>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x13c66f=void 0x0===length?_0x2d9536['len']:_0x2d9536['pos']+length,_0x2a987d=new $root['CollaborativeEditingConnectResponse']();_0x2d9536['pos']<_0x13c66f;){var tag=_0x2d9536['uint32']();if(tag===_0x177b07)break;switch(tag>>>0x3){case 0x1:_0x2a987d['channel']=_0x2d9536['string']();break;case 0x2:_0x2a987d['offset']=_0x2d9536['uint32']();break;case 0x3:_0x2a987d['version']=_0x2d9536['uint32']();break;case 0x4:_0x2a987d['buffers']&&_0x2a987d['buffers']['length']||(_0x2a987d['buffers']=[]),_0x2a987d['buffers']['push'](_0x2d9536['bytes']());break;case 0x5:if(_0x2a987d['types']&&_0x2a987d['types']['length']||(_0x2a987d['types']=[]),0x2==(0x7&tag)){for(var _0x5c933e=_0x2d9536['uint32']()+_0x2d9536['pos'];_0x2d9536['pos']<_0x5c933e;)_0x2a987d['types']['push'](_0x2d9536['uint32']());}else _0x2a987d['types']['push'](_0x2d9536['uint32']());break;case 0x7:_0x2a987d['metadata']&&_0x2a987d['metadata']['length']||(_0x2a987d['metadata']=[]),_0x2a987d['metadata']['push']($root['OperationMetadataDescriptor']['decode'](_0x2d9536,_0x2d9536['uint32'](),void 0x0,_0x1b7623+0x1));break;case 0x8:_0x2a987d['initData']=_0x2d9536['string']();break;case 0x9:_0x2a987d['isInitialized']=_0x2d9536['bool']();break;case 0xa:_0x2a987d['sessionId']=_0x2d9536['string']();break;case 0xb:_0x2a987d['lastOperationId']=_0x2d9536['string']();break;case 0xc:_0x2a987d['sessionCreatedAt']=_0x2d9536['string']();break;default:_0x2d9536['skipType'](0x7&tag,_0x1b7623);}}return _0x2a987d;},CollaborativeEditingConnectResponse['decodeDelimited']=function(_0x54c062){return _0x54c062 instanceof _0x3e39b8||(_0x54c062=new _0x3e39b8(_0x54c062)),this['decode'](_0x54c062,_0x54c062['uint32']());},CollaborativeEditingConnectResponse['verify']=function(_0x5d2209,_0x488006){if('object'!=typeof _0x5d2209||null===_0x5d2209)return'object\x20expected';if(void 0x0===_0x488006&&(_0x488006=0x0),_0x488006>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5d2209['channel']&&Object['hasOwnProperty']['call'](_0x5d2209,'channel')&&!$util['isString'](_0x5d2209['channel']))return'channel:\x20string\x20expected';if(null!=_0x5d2209['offset']&&Object['hasOwnProperty']['call'](_0x5d2209,'offset')&&!$util['isInteger'](_0x5d2209['offset']))return'offset:\x20integer\x20expected';if(null!=_0x5d2209['version']&&Object['hasOwnProperty']['call'](_0x5d2209,'version')&&!$util['isInteger'](_0x5d2209['version']))return'version:\x20integer\x20expected';if(null!=_0x5d2209['buffers']&&Object['hasOwnProperty']['call'](_0x5d2209,'buffers')){if(!Array['isArray'](_0x5d2209['buffers']))return'buffers:\x20array\x20expected';for(var _0x53a480=0x0;_0x53a480<_0x5d2209['buffers']['length'];++_0x53a480)if(!(_0x5d2209['buffers'][_0x53a480]&&'number'==typeof _0x5d2209['buffers'][_0x53a480]['length']||$util['isString'](_0x5d2209['buffers'][_0x53a480])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x5d2209['types']&&Object['hasOwnProperty']['call'](_0x5d2209,'types')){if(!Array['isArray'](_0x5d2209['types']))return'types:\x20array\x20expected';for(_0x53a480=0x0;_0x53a480<_0x5d2209['types']['length'];++_0x53a480)if(!$util['isInteger'](_0x5d2209['types'][_0x53a480]))return'types:\x20integer[]\x20expected';}if(null!=_0x5d2209['metadata']&&Object['hasOwnProperty']['call'](_0x5d2209,'metadata')){if(!Array['isArray'](_0x5d2209['metadata']))return'metadata:\x20array\x20expected';for(_0x53a480=0x0;_0x53a480<_0x5d2209['metadata']['length'];++_0x53a480){var _0x5cc387=$root['OperationMetadataDescriptor']['verify'](_0x5d2209['metadata'][_0x53a480],_0x488006+0x1);if(_0x5cc387)return'metadata.'+_0x5cc387;}}return null!=_0x5d2209['initData']&&Object['hasOwnProperty']['call'](_0x5d2209,'initData')&&!$util['isString'](_0x5d2209['initData'])?'initData:\x20string\x20expected':null!=_0x5d2209['isInitialized']&&Object['hasOwnProperty']['call'](_0x5d2209,'isInitialized')&&'boolean'!=typeof _0x5d2209['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x5d2209['sessionId']&&Object['hasOwnProperty']['call'](_0x5d2209,'sessionId')&&!$util['isString'](_0x5d2209['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x5d2209['lastOperationId']&&Object['hasOwnProperty']['call'](_0x5d2209,'lastOperationId')&&!$util['isString'](_0x5d2209['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x5d2209['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x5d2209,'sessionCreatedAt')&&!$util['isString'](_0x5d2209['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},CollaborativeEditingConnectResponse['fromObject']=function(object,_0x47d638){if(object instanceof $root['CollaborativeEditingConnectResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CollaborativeEditingConnectResponse:\x20object\x20expected');if(void 0x0===_0x47d638&&(_0x47d638=0x0),_0x47d638>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3a9ce5=new $root['CollaborativeEditingConnectResponse']();if(null!=object['channel']&&(_0x3a9ce5['channel']=String(object['channel'])),null!=object['offset']&&(_0x3a9ce5['offset']=object['offset']>>>0x0),null!=object['version']&&(_0x3a9ce5['version']=object['version']>>>0x0),object['buffers']){if(!Array['isArray'](object['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x3a9ce5['buffers']=[];for(var _0x60c271=0x0;_0x60c271<object['buffers']['length'];++_0x60c271)'string'==typeof object['buffers'][_0x60c271]?$util['base64']['decode'](object['buffers'][_0x60c271],_0x3a9ce5['buffers'][_0x60c271]=$util['newBuffer']($util['base64']['length'](object['buffers'][_0x60c271])),0x0):object['buffers'][_0x60c271]['length']>=0x0&&(_0x3a9ce5['buffers'][_0x60c271]=object['buffers'][_0x60c271]);}if(object['types']){if(!Array['isArray'](object['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');_0x3a9ce5['types']=[];for(_0x60c271=0x0;_0x60c271<object['types']['length'];++_0x60c271)_0x3a9ce5['types'][_0x60c271]=object['types'][_0x60c271]>>>0x0;}if(object['metadata']){if(!Array['isArray'](object['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');_0x3a9ce5['metadata']=[];for(_0x60c271=0x0;_0x60c271<object['metadata']['length'];++_0x60c271){if(!$util['isObject'](object['metadata'][_0x60c271]))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x3a9ce5['metadata'][_0x60c271]=$root['OperationMetadataDescriptor']['fromObject'](object['metadata'][_0x60c271],_0x47d638+0x1);}}return null!=object['initData']&&(_0x3a9ce5['initData']=String(object['initData'])),null!=object['isInitialized']&&(_0x3a9ce5['isInitialized']=Boolean(object['isInitialized'])),null!=object['sessionId']&&(_0x3a9ce5['sessionId']=String(object['sessionId'])),null!=object['lastOperationId']&&(_0x3a9ce5['lastOperationId']=String(object['lastOperationId'])),null!=object['sessionCreatedAt']&&(_0x3a9ce5['sessionCreatedAt']=String(object['sessionCreatedAt'])),_0x3a9ce5;},CollaborativeEditingConnectResponse['toObject']=function(_0x48bf50,options,_0x2046df){if(options||(options={}),void 0x0===_0x2046df&&(_0x2046df=0x0),_0x2046df>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['buffers']=[],object['types']=[],object['metadata']=[]),options['defaults']&&(object['channel']='',object['offset']=0x0,object['version']=0x0,object['initData']='',object['isInitialized']=!0x1,object['sessionId']='',object['lastOperationId']='',object['sessionCreatedAt']=''),null!=_0x48bf50['channel']&&Object['hasOwnProperty']['call'](_0x48bf50,'channel')&&(object['channel']=_0x48bf50['channel']),null!=_0x48bf50['offset']&&Object['hasOwnProperty']['call'](_0x48bf50,'offset')&&(object['offset']=_0x48bf50['offset']),null!=_0x48bf50['version']&&Object['hasOwnProperty']['call'](_0x48bf50,'version')&&(object['version']=_0x48bf50['version']),_0x48bf50['buffers']&&_0x48bf50['buffers']['length']){object['buffers']=[];for(var _0x2e10d3=0x0;_0x2e10d3<_0x48bf50['buffers']['length'];++_0x2e10d3)object['buffers'][_0x2e10d3]=options['bytes']===String?$util['base64']['encode'](_0x48bf50['buffers'][_0x2e10d3],0x0,_0x48bf50['buffers'][_0x2e10d3]['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x48bf50['buffers'][_0x2e10d3]):_0x48bf50['buffers'][_0x2e10d3];}if(_0x48bf50['types']&&_0x48bf50['types']['length']){object['types']=[];for(_0x2e10d3=0x0;_0x2e10d3<_0x48bf50['types']['length'];++_0x2e10d3)object['types'][_0x2e10d3]=_0x48bf50['types'][_0x2e10d3];}if(_0x48bf50['metadata']&&_0x48bf50['metadata']['length']){object['metadata']=[];for(_0x2e10d3=0x0;_0x2e10d3<_0x48bf50['metadata']['length'];++_0x2e10d3)object['metadata'][_0x2e10d3]=$root['OperationMetadataDescriptor']['toObject'](_0x48bf50['metadata'][_0x2e10d3],options,_0x2046df+0x1);}return null!=_0x48bf50['initData']&&Object['hasOwnProperty']['call'](_0x48bf50,'initData')&&(object['initData']=_0x48bf50['initData']),null!=_0x48bf50['isInitialized']&&Object['hasOwnProperty']['call'](_0x48bf50,'isInitialized')&&(object['isInitialized']=_0x48bf50['isInitialized']),null!=_0x48bf50['sessionId']&&Object['hasOwnProperty']['call'](_0x48bf50,'sessionId')&&(object['sessionId']=_0x48bf50['sessionId']),null!=_0x48bf50['lastOperationId']&&Object['hasOwnProperty']['call'](_0x48bf50,'lastOperationId')&&(object['lastOperationId']=_0x48bf50['lastOperationId']),null!=_0x48bf50['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x48bf50,'sessionCreatedAt')&&(object['sessionCreatedAt']=_0x48bf50['sessionCreatedAt']),object;},CollaborativeEditingConnectResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CollaborativeEditingConnectResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CollaborativeEditingConnectResponse';},CollaborativeEditingConnectResponse;}()),$root['GetDocumentDetailsMessage']=(function(){function GetDocumentDetailsMessage(properties){if(properties){for(var _0x1f3f0c=Object['keys'](properties),_0x59d5e8=0x0;_0x59d5e8<_0x1f3f0c['length'];++_0x59d5e8)null!=properties[_0x1f3f0c[_0x59d5e8]]&&'__proto__'!==_0x1f3f0c[_0x59d5e8]&&(this[_0x1f3f0c[_0x59d5e8]]=properties[_0x1f3f0c[_0x59d5e8]]);}}return GetDocumentDetailsMessage['prototype']['documentId']='',GetDocumentDetailsMessage['prototype']['environmentId']='',GetDocumentDetailsMessage['create']=function(properties){return new GetDocumentDetailsMessage(properties);},GetDocumentDetailsMessage['encode']=function(_0x576a21,writer,_0x37e501){if(writer||(writer=$Writer['create']()),void 0x0===_0x37e501&&(_0x37e501=0x0),_0x37e501>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x576a21['documentId']&&Object['hasOwnProperty']['call'](_0x576a21,'documentId')&&writer['uint32'](0xa)['string'](_0x576a21['documentId']),null!=_0x576a21['environmentId']&&Object['hasOwnProperty']['call'](_0x576a21,'environmentId')&&writer['uint32'](0x12)['string'](_0x576a21['environmentId']),writer;},GetDocumentDetailsMessage['encodeDelimited']=function(_0x482979,writer){return this['encode'](_0x482979,writer)['ldelim']();},GetDocumentDetailsMessage['decode']=function(_0x3cea5c,length,_0x1a0bbf,_0x413050){if(_0x3cea5c instanceof _0x3e39b8||(_0x3cea5c=_0x3e39b8['create'](_0x3cea5c)),void 0x0===_0x413050&&(_0x413050=0x0),_0x413050>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4382fb=void 0x0===length?_0x3cea5c['len']:_0x3cea5c['pos']+length,_0x44bfb3=new $root['GetDocumentDetailsMessage']();_0x3cea5c['pos']<_0x4382fb;){var tag=_0x3cea5c['uint32']();if(tag===_0x1a0bbf)break;switch(tag>>>0x3){case 0x1:_0x44bfb3['documentId']=_0x3cea5c['string']();break;case 0x2:_0x44bfb3['environmentId']=_0x3cea5c['string']();break;default:_0x3cea5c['skipType'](0x7&tag,_0x413050);}}return _0x44bfb3;},GetDocumentDetailsMessage['decodeDelimited']=function(_0x29ebbe){return _0x29ebbe instanceof _0x3e39b8||(_0x29ebbe=new _0x3e39b8(_0x29ebbe)),this['decode'](_0x29ebbe,_0x29ebbe['uint32']());},GetDocumentDetailsMessage['verify']=function(_0x5ab90a,_0x485a69){return'object'!=typeof _0x5ab90a||null===_0x5ab90a?'object\x20expected':(void 0x0===_0x485a69&&(_0x485a69=0x0),_0x485a69>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5ab90a['documentId']&&Object['hasOwnProperty']['call'](_0x5ab90a,'documentId')&&!$util['isString'](_0x5ab90a['documentId'])?'documentId:\x20string\x20expected':null!=_0x5ab90a['environmentId']&&Object['hasOwnProperty']['call'](_0x5ab90a,'environmentId')&&!$util['isString'](_0x5ab90a['environmentId'])?'environmentId:\x20string\x20expected':null);},GetDocumentDetailsMessage['fromObject']=function(object,_0x4af357){if(object instanceof $root['GetDocumentDetailsMessage'])return object;if(!$util['isObject'](object))throw TypeError('.GetDocumentDetailsMessage:\x20object\x20expected');if(void 0x0===_0x4af357&&(_0x4af357=0x0),_0x4af357>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3430d7=new $root['GetDocumentDetailsMessage']();return null!=object['documentId']&&(_0x3430d7['documentId']=String(object['documentId'])),null!=object['environmentId']&&(_0x3430d7['environmentId']=String(object['environmentId'])),_0x3430d7;},GetDocumentDetailsMessage['toObject']=function(_0x516a6c,options,_0x5bf127){if(options||(options={}),void 0x0===_0x5bf127&&(_0x5bf127=0x0),_0x5bf127>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']='',object['environmentId']=''),null!=_0x516a6c['documentId']&&Object['hasOwnProperty']['call'](_0x516a6c,'documentId')&&(object['documentId']=_0x516a6c['documentId']),null!=_0x516a6c['environmentId']&&Object['hasOwnProperty']['call'](_0x516a6c,'environmentId')&&(object['environmentId']=_0x516a6c['environmentId']),object;},GetDocumentDetailsMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetDocumentDetailsMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetDocumentDetailsMessage';},GetDocumentDetailsMessage;}()),$root['CollaborativeEditingUpdateMessage']=(function(){function CollaborativeEditingUpdateMessage(properties){if(this['buffers']=[],this['types']=[],this['metadata']=[],properties){for(var _0x39cdb2=Object['keys'](properties),_0x561723=0x0;_0x561723<_0x39cdb2['length'];++_0x561723)null!=properties[_0x39cdb2[_0x561723]]&&'__proto__'!==_0x39cdb2[_0x561723]&&(this[_0x39cdb2[_0x561723]]=properties[_0x39cdb2[_0x561723]]);}}return CollaborativeEditingUpdateMessage['prototype']['id']='',CollaborativeEditingUpdateMessage['prototype']['baseVersion']=0x0,CollaborativeEditingUpdateMessage['prototype']['buffers']=$util['emptyArray'],CollaborativeEditingUpdateMessage['prototype']['types']=$util['emptyArray'],CollaborativeEditingUpdateMessage['prototype']['metadata']=$util['emptyArray'],CollaborativeEditingUpdateMessage['prototype']['lastOperationId']='',CollaborativeEditingUpdateMessage['create']=function(properties){return new CollaborativeEditingUpdateMessage(properties);},CollaborativeEditingUpdateMessage['encode']=function(_0xc49306,writer,_0x2672ed){if(writer||(writer=$Writer['create']()),void 0x0===_0x2672ed&&(_0x2672ed=0x0),_0x2672ed>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0xc49306['id']&&Object['hasOwnProperty']['call'](_0xc49306,'id')&&writer['uint32'](0xa)['string'](_0xc49306['id']),null!=_0xc49306['baseVersion']&&Object['hasOwnProperty']['call'](_0xc49306,'baseVersion')&&writer['uint32'](0x10)['uint32'](_0xc49306['baseVersion']),null!=_0xc49306['buffers']&&_0xc49306['buffers']['length']){for(var _0x39979a=0x0;_0x39979a<_0xc49306['buffers']['length'];++_0x39979a)writer['uint32'](0x1a)['bytes'](_0xc49306['buffers'][_0x39979a]);}if(null!=_0xc49306['types']&&_0xc49306['types']['length']){writer['uint32'](0x22)['fork']();for(_0x39979a=0x0;_0x39979a<_0xc49306['types']['length'];++_0x39979a)writer['uint32'](_0xc49306['types'][_0x39979a]);writer['ldelim']();}if(null!=_0xc49306['metadata']&&_0xc49306['metadata']['length']){for(_0x39979a=0x0;_0x39979a<_0xc49306['metadata']['length'];++_0x39979a)$root['OperationMetadataDescriptor']['encode'](_0xc49306['metadata'][_0x39979a],writer['uint32'](0x32)['fork'](),_0x2672ed+0x1)['ldelim']();}return null!=_0xc49306['lastOperationId']&&Object['hasOwnProperty']['call'](_0xc49306,'lastOperationId')&&writer['uint32'](0x3a)['string'](_0xc49306['lastOperationId']),writer;},CollaborativeEditingUpdateMessage['encodeDelimited']=function(_0x40d85e,writer){return this['encode'](_0x40d85e,writer)['ldelim']();},CollaborativeEditingUpdateMessage['decode']=function(_0x879019,length,_0x4acb4d,_0x2792b2){if(_0x879019 instanceof _0x3e39b8||(_0x879019=_0x3e39b8['create'](_0x879019)),void 0x0===_0x2792b2&&(_0x2792b2=0x0),_0x2792b2>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x27b1a2=void 0x0===length?_0x879019['len']:_0x879019['pos']+length,_0x3e5848=new $root['CollaborativeEditingUpdateMessage']();_0x879019['pos']<_0x27b1a2;){var tag=_0x879019['uint32']();if(tag===_0x4acb4d)break;switch(tag>>>0x3){case 0x1:_0x3e5848['id']=_0x879019['string']();break;case 0x2:_0x3e5848['baseVersion']=_0x879019['uint32']();break;case 0x3:_0x3e5848['buffers']&&_0x3e5848['buffers']['length']||(_0x3e5848['buffers']=[]),_0x3e5848['buffers']['push'](_0x879019['bytes']());break;case 0x4:if(_0x3e5848['types']&&_0x3e5848['types']['length']||(_0x3e5848['types']=[]),0x2==(0x7&tag)){for(var _0x3f1410=_0x879019['uint32']()+_0x879019['pos'];_0x879019['pos']<_0x3f1410;)_0x3e5848['types']['push'](_0x879019['uint32']());}else _0x3e5848['types']['push'](_0x879019['uint32']());break;case 0x6:_0x3e5848['metadata']&&_0x3e5848['metadata']['length']||(_0x3e5848['metadata']=[]),_0x3e5848['metadata']['push']($root['OperationMetadataDescriptor']['decode'](_0x879019,_0x879019['uint32'](),void 0x0,_0x2792b2+0x1));break;case 0x7:_0x3e5848['lastOperationId']=_0x879019['string']();break;default:_0x879019['skipType'](0x7&tag,_0x2792b2);}}return _0x3e5848;},CollaborativeEditingUpdateMessage['decodeDelimited']=function(_0x57ceb9){return _0x57ceb9 instanceof _0x3e39b8||(_0x57ceb9=new _0x3e39b8(_0x57ceb9)),this['decode'](_0x57ceb9,_0x57ceb9['uint32']());},CollaborativeEditingUpdateMessage['verify']=function(_0x5c54d9,_0x53c752){if('object'!=typeof _0x5c54d9||null===_0x5c54d9)return'object\x20expected';if(void 0x0===_0x53c752&&(_0x53c752=0x0),_0x53c752>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5c54d9['id']&&Object['hasOwnProperty']['call'](_0x5c54d9,'id')&&!$util['isString'](_0x5c54d9['id']))return'id:\x20string\x20expected';if(null!=_0x5c54d9['baseVersion']&&Object['hasOwnProperty']['call'](_0x5c54d9,'baseVersion')&&!$util['isInteger'](_0x5c54d9['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x5c54d9['buffers']&&Object['hasOwnProperty']['call'](_0x5c54d9,'buffers')){if(!Array['isArray'](_0x5c54d9['buffers']))return'buffers:\x20array\x20expected';for(var _0x49ecf5=0x0;_0x49ecf5<_0x5c54d9['buffers']['length'];++_0x49ecf5)if(!(_0x5c54d9['buffers'][_0x49ecf5]&&'number'==typeof _0x5c54d9['buffers'][_0x49ecf5]['length']||$util['isString'](_0x5c54d9['buffers'][_0x49ecf5])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x5c54d9['types']&&Object['hasOwnProperty']['call'](_0x5c54d9,'types')){if(!Array['isArray'](_0x5c54d9['types']))return'types:\x20array\x20expected';for(_0x49ecf5=0x0;_0x49ecf5<_0x5c54d9['types']['length'];++_0x49ecf5)if(!$util['isInteger'](_0x5c54d9['types'][_0x49ecf5]))return'types:\x20integer[]\x20expected';}if(null!=_0x5c54d9['metadata']&&Object['hasOwnProperty']['call'](_0x5c54d9,'metadata')){if(!Array['isArray'](_0x5c54d9['metadata']))return'metadata:\x20array\x20expected';for(_0x49ecf5=0x0;_0x49ecf5<_0x5c54d9['metadata']['length'];++_0x49ecf5){var _0x13e860=$root['OperationMetadataDescriptor']['verify'](_0x5c54d9['metadata'][_0x49ecf5],_0x53c752+0x1);if(_0x13e860)return'metadata.'+_0x13e860;}}return null!=_0x5c54d9['lastOperationId']&&Object['hasOwnProperty']['call'](_0x5c54d9,'lastOperationId')&&!$util['isString'](_0x5c54d9['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},CollaborativeEditingUpdateMessage['fromObject']=function(object,_0x510a15){if(object instanceof $root['CollaborativeEditingUpdateMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CollaborativeEditingUpdateMessage:\x20object\x20expected');if(void 0x0===_0x510a15&&(_0x510a15=0x0),_0x510a15>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2d0ec4=new $root['CollaborativeEditingUpdateMessage']();if(null!=object['id']&&(_0x2d0ec4['id']=String(object['id'])),null!=object['baseVersion']&&(_0x2d0ec4['baseVersion']=object['baseVersion']>>>0x0),object['buffers']){if(!Array['isArray'](object['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x2d0ec4['buffers']=[];for(var _0x57e1d3=0x0;_0x57e1d3<object['buffers']['length'];++_0x57e1d3)'string'==typeof object['buffers'][_0x57e1d3]?$util['base64']['decode'](object['buffers'][_0x57e1d3],_0x2d0ec4['buffers'][_0x57e1d3]=$util['newBuffer']($util['base64']['length'](object['buffers'][_0x57e1d3])),0x0):object['buffers'][_0x57e1d3]['length']>=0x0&&(_0x2d0ec4['buffers'][_0x57e1d3]=object['buffers'][_0x57e1d3]);}if(object['types']){if(!Array['isArray'](object['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');_0x2d0ec4['types']=[];for(_0x57e1d3=0x0;_0x57e1d3<object['types']['length'];++_0x57e1d3)_0x2d0ec4['types'][_0x57e1d3]=object['types'][_0x57e1d3]>>>0x0;}if(object['metadata']){if(!Array['isArray'](object['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');_0x2d0ec4['metadata']=[];for(_0x57e1d3=0x0;_0x57e1d3<object['metadata']['length'];++_0x57e1d3){if(!$util['isObject'](object['metadata'][_0x57e1d3]))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x2d0ec4['metadata'][_0x57e1d3]=$root['OperationMetadataDescriptor']['fromObject'](object['metadata'][_0x57e1d3],_0x510a15+0x1);}}return null!=object['lastOperationId']&&(_0x2d0ec4['lastOperationId']=String(object['lastOperationId'])),_0x2d0ec4;},CollaborativeEditingUpdateMessage['toObject']=function(_0x226200,options,_0xedf2be){if(options||(options={}),void 0x0===_0xedf2be&&(_0xedf2be=0x0),_0xedf2be>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['buffers']=[],object['types']=[],object['metadata']=[]),options['defaults']&&(object['id']='',object['baseVersion']=0x0,object['lastOperationId']=''),null!=_0x226200['id']&&Object['hasOwnProperty']['call'](_0x226200,'id')&&(object['id']=_0x226200['id']),null!=_0x226200['baseVersion']&&Object['hasOwnProperty']['call'](_0x226200,'baseVersion')&&(object['baseVersion']=_0x226200['baseVersion']),_0x226200['buffers']&&_0x226200['buffers']['length']){object['buffers']=[];for(var _0x52a2ab=0x0;_0x52a2ab<_0x226200['buffers']['length'];++_0x52a2ab)object['buffers'][_0x52a2ab]=options['bytes']===String?$util['base64']['encode'](_0x226200['buffers'][_0x52a2ab],0x0,_0x226200['buffers'][_0x52a2ab]['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x226200['buffers'][_0x52a2ab]):_0x226200['buffers'][_0x52a2ab];}if(_0x226200['types']&&_0x226200['types']['length']){object['types']=[];for(_0x52a2ab=0x0;_0x52a2ab<_0x226200['types']['length'];++_0x52a2ab)object['types'][_0x52a2ab]=_0x226200['types'][_0x52a2ab];}if(_0x226200['metadata']&&_0x226200['metadata']['length']){object['metadata']=[];for(_0x52a2ab=0x0;_0x52a2ab<_0x226200['metadata']['length'];++_0x52a2ab)object['metadata'][_0x52a2ab]=$root['OperationMetadataDescriptor']['toObject'](_0x226200['metadata'][_0x52a2ab],options,_0xedf2be+0x1);}return null!=_0x226200['lastOperationId']&&Object['hasOwnProperty']['call'](_0x226200,'lastOperationId')&&(object['lastOperationId']=_0x226200['lastOperationId']),object;},CollaborativeEditingUpdateMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CollaborativeEditingUpdateMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CollaborativeEditingUpdateMessage';},CollaborativeEditingUpdateMessage;}()),$root['CollaborativeEditingReconnectMessage']=(function(){function CollaborativeEditingReconnectMessage(properties){if(properties){for(var _0x853f71=Object['keys'](properties),_0x3f352d=0x0;_0x3f352d<_0x853f71['length'];++_0x3f352d)null!=properties[_0x853f71[_0x3f352d]]&&'__proto__'!==_0x853f71[_0x3f352d]&&(this[_0x853f71[_0x3f352d]]=properties[_0x853f71[_0x3f352d]]);}}return CollaborativeEditingReconnectMessage['prototype']['id']='',CollaborativeEditingReconnectMessage['prototype']['bundleVersion']='',CollaborativeEditingReconnectMessage['prototype']['lastKnowVersion']=0x0,CollaborativeEditingReconnectMessage['create']=function(properties){return new CollaborativeEditingReconnectMessage(properties);},CollaborativeEditingReconnectMessage['encode']=function(_0x5e40d1,writer,_0x4f7f92){if(writer||(writer=$Writer['create']()),void 0x0===_0x4f7f92&&(_0x4f7f92=0x0),_0x4f7f92>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5e40d1['id']&&Object['hasOwnProperty']['call'](_0x5e40d1,'id')&&writer['uint32'](0xa)['string'](_0x5e40d1['id']),null!=_0x5e40d1['bundleVersion']&&Object['hasOwnProperty']['call'](_0x5e40d1,'bundleVersion')&&writer['uint32'](0x12)['string'](_0x5e40d1['bundleVersion']),null!=_0x5e40d1['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x5e40d1,'lastKnowVersion')&&writer['uint32'](0x18)['uint32'](_0x5e40d1['lastKnowVersion']),writer;},CollaborativeEditingReconnectMessage['encodeDelimited']=function(_0x4f356c,writer){return this['encode'](_0x4f356c,writer)['ldelim']();},CollaborativeEditingReconnectMessage['decode']=function(_0x29ac13,length,_0x22a0bd,_0x3cf139){if(_0x29ac13 instanceof _0x3e39b8||(_0x29ac13=_0x3e39b8['create'](_0x29ac13)),void 0x0===_0x3cf139&&(_0x3cf139=0x0),_0x3cf139>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x148114=void 0x0===length?_0x29ac13['len']:_0x29ac13['pos']+length,_0x4f56e5=new $root['CollaborativeEditingReconnectMessage']();_0x29ac13['pos']<_0x148114;){var tag=_0x29ac13['uint32']();if(tag===_0x22a0bd)break;switch(tag>>>0x3){case 0x1:_0x4f56e5['id']=_0x29ac13['string']();break;case 0x2:_0x4f56e5['bundleVersion']=_0x29ac13['string']();break;case 0x3:_0x4f56e5['lastKnowVersion']=_0x29ac13['uint32']();break;default:_0x29ac13['skipType'](0x7&tag,_0x3cf139);}}return _0x4f56e5;},CollaborativeEditingReconnectMessage['decodeDelimited']=function(_0x16c9f6){return _0x16c9f6 instanceof _0x3e39b8||(_0x16c9f6=new _0x3e39b8(_0x16c9f6)),this['decode'](_0x16c9f6,_0x16c9f6['uint32']());},CollaborativeEditingReconnectMessage['verify']=function(_0x55fe14,_0x4391be){return'object'!=typeof _0x55fe14||null===_0x55fe14?'object\x20expected':(void 0x0===_0x4391be&&(_0x4391be=0x0),_0x4391be>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x55fe14['id']&&Object['hasOwnProperty']['call'](_0x55fe14,'id')&&!$util['isString'](_0x55fe14['id'])?'id:\x20string\x20expected':null!=_0x55fe14['bundleVersion']&&Object['hasOwnProperty']['call'](_0x55fe14,'bundleVersion')&&!$util['isString'](_0x55fe14['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x55fe14['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x55fe14,'lastKnowVersion')&&!$util['isInteger'](_0x55fe14['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null);},CollaborativeEditingReconnectMessage['fromObject']=function(object,_0x4e3cd5){if(object instanceof $root['CollaborativeEditingReconnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CollaborativeEditingReconnectMessage:\x20object\x20expected');if(void 0x0===_0x4e3cd5&&(_0x4e3cd5=0x0),_0x4e3cd5>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x23afce=new $root['CollaborativeEditingReconnectMessage']();return null!=object['id']&&(_0x23afce['id']=String(object['id'])),null!=object['bundleVersion']&&(_0x23afce['bundleVersion']=String(object['bundleVersion'])),null!=object['lastKnowVersion']&&(_0x23afce['lastKnowVersion']=object['lastKnowVersion']>>>0x0),_0x23afce;},CollaborativeEditingReconnectMessage['toObject']=function(_0x23ff5c,options,_0x1fb920){if(options||(options={}),void 0x0===_0x1fb920&&(_0x1fb920=0x0),_0x1fb920>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['bundleVersion']='',object['lastKnowVersion']=0x0),null!=_0x23ff5c['id']&&Object['hasOwnProperty']['call'](_0x23ff5c,'id')&&(object['id']=_0x23ff5c['id']),null!=_0x23ff5c['bundleVersion']&&Object['hasOwnProperty']['call'](_0x23ff5c,'bundleVersion')&&(object['bundleVersion']=_0x23ff5c['bundleVersion']),null!=_0x23ff5c['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x23ff5c,'lastKnowVersion')&&(object['lastKnowVersion']=_0x23ff5c['lastKnowVersion']),object;},CollaborativeEditingReconnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CollaborativeEditingReconnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CollaborativeEditingReconnectMessage';},CollaborativeEditingReconnectMessage;}()),$root['CollaborativeEditingConnectMessage']=(function(){function CollaborativeEditingConnectMessage(properties){if(this['buffers']=[],this['types']=[],properties){for(var _0x1ae1e4=Object['keys'](properties),_0x49575d=0x0;_0x49575d<_0x1ae1e4['length'];++_0x49575d)null!=properties[_0x1ae1e4[_0x49575d]]&&'__proto__'!==_0x1ae1e4[_0x49575d]&&(this[_0x1ae1e4[_0x49575d]]=properties[_0x1ae1e4[_0x49575d]]);}}return CollaborativeEditingConnectMessage['prototype']['id']='',CollaborativeEditingConnectMessage['prototype']['bundleVersion']='',CollaborativeEditingConnectMessage['prototype']['buffers']=$util['emptyArray'],CollaborativeEditingConnectMessage['prototype']['types']=$util['emptyArray'],CollaborativeEditingConnectMessage['prototype']['lastOperationId']='',CollaborativeEditingConnectMessage['create']=function(properties){return new CollaborativeEditingConnectMessage(properties);},CollaborativeEditingConnectMessage['encode']=function(_0x369abc,writer,_0x35d4ba){if(writer||(writer=$Writer['create']()),void 0x0===_0x35d4ba&&(_0x35d4ba=0x0),_0x35d4ba>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x369abc['id']&&Object['hasOwnProperty']['call'](_0x369abc,'id')&&writer['uint32'](0xa)['string'](_0x369abc['id']),null!=_0x369abc['bundleVersion']&&Object['hasOwnProperty']['call'](_0x369abc,'bundleVersion')&&writer['uint32'](0x12)['string'](_0x369abc['bundleVersion']),null!=_0x369abc['buffers']&&_0x369abc['buffers']['length']){for(var _0x4756a9=0x0;_0x4756a9<_0x369abc['buffers']['length'];++_0x4756a9)writer['uint32'](0x1a)['bytes'](_0x369abc['buffers'][_0x4756a9]);}if(null!=_0x369abc['types']&&_0x369abc['types']['length']){writer['uint32'](0x22)['fork']();for(_0x4756a9=0x0;_0x4756a9<_0x369abc['types']['length'];++_0x4756a9)writer['uint32'](_0x369abc['types'][_0x4756a9]);writer['ldelim']();}return null!=_0x369abc['lastOperationId']&&Object['hasOwnProperty']['call'](_0x369abc,'lastOperationId')&&writer['uint32'](0x2a)['string'](_0x369abc['lastOperationId']),writer;},CollaborativeEditingConnectMessage['encodeDelimited']=function(_0x14eca4,writer){return this['encode'](_0x14eca4,writer)['ldelim']();},CollaborativeEditingConnectMessage['decode']=function(_0x4272c7,length,_0x1b6bc7,_0xb2671b){if(_0x4272c7 instanceof _0x3e39b8||(_0x4272c7=_0x3e39b8['create'](_0x4272c7)),void 0x0===_0xb2671b&&(_0xb2671b=0x0),_0xb2671b>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5e17bb=void 0x0===length?_0x4272c7['len']:_0x4272c7['pos']+length,_0x4f2aa6=new $root['CollaborativeEditingConnectMessage']();_0x4272c7['pos']<_0x5e17bb;){var tag=_0x4272c7['uint32']();if(tag===_0x1b6bc7)break;switch(tag>>>0x3){case 0x1:_0x4f2aa6['id']=_0x4272c7['string']();break;case 0x2:_0x4f2aa6['bundleVersion']=_0x4272c7['string']();break;case 0x3:_0x4f2aa6['buffers']&&_0x4f2aa6['buffers']['length']||(_0x4f2aa6['buffers']=[]),_0x4f2aa6['buffers']['push'](_0x4272c7['bytes']());break;case 0x4:if(_0x4f2aa6['types']&&_0x4f2aa6['types']['length']||(_0x4f2aa6['types']=[]),0x2==(0x7&tag)){for(var _0x565fa7=_0x4272c7['uint32']()+_0x4272c7['pos'];_0x4272c7['pos']<_0x565fa7;)_0x4f2aa6['types']['push'](_0x4272c7['uint32']());}else _0x4f2aa6['types']['push'](_0x4272c7['uint32']());break;case 0x5:_0x4f2aa6['lastOperationId']=_0x4272c7['string']();break;default:_0x4272c7['skipType'](0x7&tag,_0xb2671b);}}return _0x4f2aa6;},CollaborativeEditingConnectMessage['decodeDelimited']=function(_0x1565a3){return _0x1565a3 instanceof _0x3e39b8||(_0x1565a3=new _0x3e39b8(_0x1565a3)),this['decode'](_0x1565a3,_0x1565a3['uint32']());},CollaborativeEditingConnectMessage['verify']=function(_0x47a11c,_0x54ed8c){if('object'!=typeof _0x47a11c||null===_0x47a11c)return'object\x20expected';if(void 0x0===_0x54ed8c&&(_0x54ed8c=0x0),_0x54ed8c>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x47a11c['id']&&Object['hasOwnProperty']['call'](_0x47a11c,'id')&&!$util['isString'](_0x47a11c['id']))return'id:\x20string\x20expected';if(null!=_0x47a11c['bundleVersion']&&Object['hasOwnProperty']['call'](_0x47a11c,'bundleVersion')&&!$util['isString'](_0x47a11c['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0x47a11c['buffers']&&Object['hasOwnProperty']['call'](_0x47a11c,'buffers')){if(!Array['isArray'](_0x47a11c['buffers']))return'buffers:\x20array\x20expected';for(var _0x483bb0=0x0;_0x483bb0<_0x47a11c['buffers']['length'];++_0x483bb0)if(!(_0x47a11c['buffers'][_0x483bb0]&&'number'==typeof _0x47a11c['buffers'][_0x483bb0]['length']||$util['isString'](_0x47a11c['buffers'][_0x483bb0])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x47a11c['types']&&Object['hasOwnProperty']['call'](_0x47a11c,'types')){if(!Array['isArray'](_0x47a11c['types']))return'types:\x20array\x20expected';for(_0x483bb0=0x0;_0x483bb0<_0x47a11c['types']['length'];++_0x483bb0)if(!$util['isInteger'](_0x47a11c['types'][_0x483bb0]))return'types:\x20integer[]\x20expected';}return null!=_0x47a11c['lastOperationId']&&Object['hasOwnProperty']['call'](_0x47a11c,'lastOperationId')&&!$util['isString'](_0x47a11c['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},CollaborativeEditingConnectMessage['fromObject']=function(object,_0x4684ad){if(object instanceof $root['CollaborativeEditingConnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CollaborativeEditingConnectMessage:\x20object\x20expected');if(void 0x0===_0x4684ad&&(_0x4684ad=0x0),_0x4684ad>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x121566=new $root['CollaborativeEditingConnectMessage']();if(null!=object['id']&&(_0x121566['id']=String(object['id'])),null!=object['bundleVersion']&&(_0x121566['bundleVersion']=String(object['bundleVersion'])),object['buffers']){if(!Array['isArray'](object['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x121566['buffers']=[];for(var _0x13f0cb=0x0;_0x13f0cb<object['buffers']['length'];++_0x13f0cb)'string'==typeof object['buffers'][_0x13f0cb]?$util['base64']['decode'](object['buffers'][_0x13f0cb],_0x121566['buffers'][_0x13f0cb]=$util['newBuffer']($util['base64']['length'](object['buffers'][_0x13f0cb])),0x0):object['buffers'][_0x13f0cb]['length']>=0x0&&(_0x121566['buffers'][_0x13f0cb]=object['buffers'][_0x13f0cb]);}if(object['types']){if(!Array['isArray'](object['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');_0x121566['types']=[];for(_0x13f0cb=0x0;_0x13f0cb<object['types']['length'];++_0x13f0cb)_0x121566['types'][_0x13f0cb]=object['types'][_0x13f0cb]>>>0x0;}return null!=object['lastOperationId']&&(_0x121566['lastOperationId']=String(object['lastOperationId'])),_0x121566;},CollaborativeEditingConnectMessage['toObject']=function(_0x4ed6cf,options,_0x1e4044){if(options||(options={}),void 0x0===_0x1e4044&&(_0x1e4044=0x0),_0x1e4044>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['buffers']=[],object['types']=[]),options['defaults']&&(object['id']='',object['bundleVersion']='',object['lastOperationId']=''),null!=_0x4ed6cf['id']&&Object['hasOwnProperty']['call'](_0x4ed6cf,'id')&&(object['id']=_0x4ed6cf['id']),null!=_0x4ed6cf['bundleVersion']&&Object['hasOwnProperty']['call'](_0x4ed6cf,'bundleVersion')&&(object['bundleVersion']=_0x4ed6cf['bundleVersion']),_0x4ed6cf['buffers']&&_0x4ed6cf['buffers']['length']){object['buffers']=[];for(var _0x447330=0x0;_0x447330<_0x4ed6cf['buffers']['length'];++_0x447330)object['buffers'][_0x447330]=options['bytes']===String?$util['base64']['encode'](_0x4ed6cf['buffers'][_0x447330],0x0,_0x4ed6cf['buffers'][_0x447330]['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x4ed6cf['buffers'][_0x447330]):_0x4ed6cf['buffers'][_0x447330];}if(_0x4ed6cf['types']&&_0x4ed6cf['types']['length']){object['types']=[];for(_0x447330=0x0;_0x447330<_0x4ed6cf['types']['length'];++_0x447330)object['types'][_0x447330]=_0x4ed6cf['types'][_0x447330];}return null!=_0x4ed6cf['lastOperationId']&&Object['hasOwnProperty']['call'](_0x4ed6cf,'lastOperationId')&&(object['lastOperationId']=_0x4ed6cf['lastOperationId']),object;},CollaborativeEditingConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CollaborativeEditingConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CollaborativeEditingConnectMessage';},CollaborativeEditingConnectMessage;}()),$root['OperationMetadataDescriptor']=(function(){function OperationMetadataDescriptor(properties){if(properties){for(var _0x4c0b3c=Object['keys'](properties),_0x425ffe=0x0;_0x425ffe<_0x4c0b3c['length'];++_0x425ffe)null!=properties[_0x4c0b3c[_0x425ffe]]&&'__proto__'!==_0x4c0b3c[_0x425ffe]&&(this[_0x4c0b3c[_0x425ffe]]=properties[_0x4c0b3c[_0x425ffe]]);}}return OperationMetadataDescriptor['prototype']['userId']='',OperationMetadataDescriptor['prototype']['type']='',OperationMetadataDescriptor['prototype']['createdAt']='',OperationMetadataDescriptor['create']=function(properties){return new OperationMetadataDescriptor(properties);},OperationMetadataDescriptor['encode']=function(_0x249e74,writer,_0x3e38ad){if(writer||(writer=$Writer['create']()),void 0x0===_0x3e38ad&&(_0x3e38ad=0x0),_0x3e38ad>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x249e74['userId']&&Object['hasOwnProperty']['call'](_0x249e74,'userId')&&writer['uint32'](0xa)['string'](_0x249e74['userId']),null!=_0x249e74['type']&&Object['hasOwnProperty']['call'](_0x249e74,'type')&&writer['uint32'](0x12)['string'](_0x249e74['type']),null!=_0x249e74['createdAt']&&Object['hasOwnProperty']['call'](_0x249e74,'createdAt')&&writer['uint32'](0x1a)['string'](_0x249e74['createdAt']),writer;},OperationMetadataDescriptor['encodeDelimited']=function(_0xff7f2e,writer){return this['encode'](_0xff7f2e,writer)['ldelim']();},OperationMetadataDescriptor['decode']=function(_0x4e629e,length,_0x48e753,_0x33699a){if(_0x4e629e instanceof _0x3e39b8||(_0x4e629e=_0x3e39b8['create'](_0x4e629e)),void 0x0===_0x33699a&&(_0x33699a=0x0),_0x33699a>_0x3e39b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4f3d5a=void 0x0===length?_0x4e629e['len']:_0x4e629e['pos']+length,_0x4726b4=new $root['OperationMetadataDescriptor']();_0x4e629e['pos']<_0x4f3d5a;){var tag=_0x4e629e['uint32']();if(tag===_0x48e753)break;switch(tag>>>0x3){case 0x1:_0x4726b4['userId']=_0x4e629e['string']();break;case 0x2:_0x4726b4['type']=_0x4e629e['string']();break;case 0x3:_0x4726b4['createdAt']=_0x4e629e['string']();break;default:_0x4e629e['skipType'](0x7&tag,_0x33699a);}}return _0x4726b4;},OperationMetadataDescriptor['decodeDelimited']=function(_0x16e97a){return _0x16e97a instanceof _0x3e39b8||(_0x16e97a=new _0x3e39b8(_0x16e97a)),this['decode'](_0x16e97a,_0x16e97a['uint32']());},OperationMetadataDescriptor['verify']=function(_0x58c343,_0x50bf53){return'object'!=typeof _0x58c343||null===_0x58c343?'object\x20expected':(void 0x0===_0x50bf53&&(_0x50bf53=0x0),_0x50bf53>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x58c343['userId']&&Object['hasOwnProperty']['call'](_0x58c343,'userId')&&!$util['isString'](_0x58c343['userId'])?'userId:\x20string\x20expected':null!=_0x58c343['type']&&Object['hasOwnProperty']['call'](_0x58c343,'type')&&!$util['isString'](_0x58c343['type'])?'type:\x20string\x20expected':null!=_0x58c343['createdAt']&&Object['hasOwnProperty']['call'](_0x58c343,'createdAt')&&!$util['isString'](_0x58c343['createdAt'])?'createdAt:\x20string\x20expected':null);},OperationMetadataDescriptor['fromObject']=function(object,_0x14474d){if(object instanceof $root['OperationMetadataDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.OperationMetadataDescriptor:\x20object\x20expected');if(void 0x0===_0x14474d&&(_0x14474d=0x0),_0x14474d>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x22afbd=new $root['OperationMetadataDescriptor']();return null!=object['userId']&&(_0x22afbd['userId']=String(object['userId'])),null!=object['type']&&(_0x22afbd['type']=String(object['type'])),null!=object['createdAt']&&(_0x22afbd['createdAt']=String(object['createdAt'])),_0x22afbd;},OperationMetadataDescriptor['toObject']=function(_0x527110,options,_0x3ebf25){if(options||(options={}),void 0x0===_0x3ebf25&&(_0x3ebf25=0x0),_0x3ebf25>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['userId']='',object['type']='',object['createdAt']=''),null!=_0x527110['userId']&&Object['hasOwnProperty']['call'](_0x527110,'userId')&&(object['userId']=_0x527110['userId']),null!=_0x527110['type']&&Object['hasOwnProperty']['call'](_0x527110,'type')&&(object['type']=_0x527110['type']),null!=_0x527110['createdAt']&&Object['hasOwnProperty']['call'](_0x527110,'createdAt')&&(object['createdAt']=_0x527110['createdAt']),object;},OperationMetadataDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},OperationMetadataDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/OperationMetadataDescriptor';},OperationMetadataDescriptor;}()),$root;})());class MessagesCompressor{static['decode'](_0x429639,_0x1503ec){const data=_getType(_0x1503ec)['decode']('undefined'==typeof window?_0x429639:new Uint8Array(_0x429639));return _0x1503ec['fromJSON']({...data});}static['encode'](_0xdabfaf){const protobufMessage=_getType(_0xdabfaf['constructor']),data=_0xdabfaf['toJSON'](),_0x1938f8=protobufMessage['verify'](data);if(_0x1938f8)throw Error(_0x1938f8);return protobufMessage['encode'](protobufMessage['create'](data))['finish']();}}function _getType(_0x176235){return messages[_0x176235['DESCRIPTOR_NAME']];}class GetManyUsersMessage extends Message{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x4bff71){super(),this['ids']=_0x4bff71;}toJSON(){return{'ids':this['ids']};}static['fromJSON'](data){return new GetManyUsersMessage(data['ids']);}}class GetManyUsersResponse extends Message{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0x5a02d0){super(),this['users']=_0x5a02d0;}toJSON(){return{'users':this['users']['map'](_userToJson)};}static['fromJSON'](data){return new GetManyUsersResponse(data['users']['map'](_userFromJson));}}function _userToJson(_0x1defa2){return{'attributes':Object['keys'](_0x1defa2)['map'](_0x3bb7c9=>({'key':_0x3bb7c9,'value':JSON['stringify'](_0x1defa2[_0x3bb7c9])}))};}function _userFromJson(data){return data['attributes']['reduce']((result,_0x325623)=>(result[_0x325623['key']]=_0x325623['value']?JSON['parse'](_0x325623['value']):null,result),{});}class User{static ['_SERVICE']=0x2;constructor(attributes={}){this['_attributes']=new Map();for(const _0x32ec0b of Object['keys'](attributes))'id'!==_0x32ec0b?(this['_attributes']['set'](_0x32ec0b,attributes[_0x32ec0b]),Object['defineProperty'](this,_0x32ec0b,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x32ec0b)})):this['id']=attributes['id'];}static fromData(data){return new User(data);}static async get(wsGateway,_0x30d1eb){const _0x1bba50=new GetUserMessage(_0x30d1eb);try{const _0x2d0108=await wsGateway['_sendRequest'](User['_SERVICE'],GetUserMessage['TYPE'],MessagesCompressor['encode'](_0x1bba50)),getUserResponse=MessagesCompressor['decode'](_0x2d0108,GetUserResponse);return new User(getUserResponse['attributes']);}catch{return new User({'id':_0x30d1eb});}}static async getMany(wsGateway,_0x344e76){const _0x765661=new GetManyUsersMessage(_0x344e76);try{const _0x5375fe=await wsGateway['_sendRequest'](User['_SERVICE'],GetManyUsersMessage['TYPE'],MessagesCompressor['encode'](_0x765661));return MessagesCompressor['decode'](_0x5375fe,GetManyUsersResponse)['users']['map'](_0x1fc627=>new User(_0x1fc627));}catch{return _0x344e76['map'](_0x188008=>new User({'id':_0x188008}));}}}class ChannelMessage extends Message{type;socketId;data;static ['DESCRIPTOR_NAME']='ChannelMessage';static ['DESCRIPTOR']={'fields':{'type':{'type':'uint32','id':0x1},'socketId':{'type':'string','id':0x2},'data':{'type':'bytes','id':0x3}}};constructor(type,socketId,data){super(),this['type']=type,this['socketId']=socketId,this['data']=data;}toJSON(){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](data){return new ChannelMessage(data['type'],data['socketId'],data['data']);}}class Channel extends/* #__PURE__ -- @preserve */
|
|
25
|
+
EmitterMixin(){['_channelName'];_wsGateway;_socket;constructor(_0x1b22ec,_wsGateway,_socket){super(),this['_channelName']=_0x1b22ec,this['_wsGateway']=_wsGateway,this['_socket']=_socket,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}getEventName(eventName,_0x4458db=!0x1){let fullEventName='';return _0x4458db&&(fullEventName+='all:'),fullEventName+='event',eventName&&(fullEventName+=':'+eventName),fullEventName;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0x41956f=>{const _0x3deece=MessagesCompressor['decode'](_0x41956f,ChannelMessage);this['fire'](this['getEventName'](_0x3deece['type'],!0x0),_0x3deece['data'],_0x3deece['socketId']),_0x3deece['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0x3deece['type']),_0x3deece['data'],_0x3deece['socketId']);});}}class CKEditorCloudServicesError extends Error{context;['code'];data;constructor(_0x3f2383,context,_0x1ddd2f=null,data={}){super('cloud-services-internal-error:\x20'+_0x3f2383),this['context']=context,this['code']=_0x1ddd2f,this['data']=data,this['name']='CKEditorError';}static['fromPublicError'](_0x3fd3b0){return new CKEditorCloudServicesError(function(_0xd20fc1){let _0x31cac4='cloud-services-error:\x20'+_0xd20fc1['message'];return _0xd20fc1['data']&&(_0x31cac4+='\x0aError\x20data:\x20'+JSON['stringify'](_0xd20fc1['data'])),_0xd20fc1['explanation']&&(_0x31cac4+='\x0aExplanation:\x20'+_0xd20fc1['explanation']),_0xd20fc1['action']&&(_0x31cac4+='\x0aAction:\x20'+_0xd20fc1['action']),_0xd20fc1['traceId']&&(_0x31cac4+='\x0aTraceId:\x20'+_0xd20fc1['traceId']),_0xd20fc1['code']&&(_0x31cac4+='\x0aCode:\x20'+_0xd20fc1['code']),_0x31cac4;}(_0x3fd3b0),_0x3fd3b0);}}class CKEditorCloudServicesServerError extends Error{['code'];traceId;data;constructor(_0x2ca391,_0x1a0a45){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0x2ca391,this['code']=_0x1a0a45['code'],this['traceId']=_0x1a0a45['traceId'],this['data']=_0x1a0a45['data'];}static['fromPublicError'](_0x1f18d5){return new CKEditorCloudServicesServerError(function(_0x4dd098){let _0x525058='cloud-services-server-error:\x20'+_0x4dd098['message'];return _0x4dd098['explanation']&&(_0x525058+='\x0aExplanation:\x20'+_0x4dd098['explanation']),_0x4dd098['action']&&(_0x525058+='\x0aAction:\x20'+_0x4dd098['action']),_0x4dd098['traceId']&&(_0x525058+='\x0aTraceId:\x20'+_0x4dd098['traceId']),_0x4dd098['code']&&(_0x525058+='\x0aCode:\x20'+_0x4dd098['code']),_0x525058;}(_0x1f18d5),_0x1f18d5);}}class PacketOptionsMessage extends Message{['flags'];['rooms'];except;static ['TYPE']=0xb;static ['DESCRIPTOR_NAME']='PacketOptionsMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
|
|
26
|
+
((()=>({'fields':{'flags':{'type':'string','id':0x1},'rooms':{'type':'string','id':0x2,'rule':'repeated'},'except':{'type':'string','id':0x3,'rule':'repeated'}}}))());constructor(_0x34346f,_0x10f9c6=[],except=[]){super(),this['flags']=_0x34346f,this['rooms']=_0x10f9c6,this['except']=except;}toJSON(){return{'flags':this['flags']?JSON['stringify'](this['flags']):void 0x0,'rooms':this['rooms']?.['length']?this['rooms']:void 0x0,'except':this['except']?.['length']?this['except']:void 0x0};}static['fromJSON'](data){return new PacketOptionsMessage(data['flags']&&JSON['parse'](data['flags']),data['rooms'],data['except']);}}const IS_NODE=/* #__PURE__ -- @preserve */
|
|
27
|
+
((()=>!('undefined'==typeof process||!process['versions']?.['node']))()),MessageDataTypes_BUFFER=0x1,MessageDataTypes_STRING=0x2,MessageDataTypes_NUMBER=0x3,MessageDataTypes_OBJECT=0x4;class ParserUtils{static getPacketType(...types){let _0x3ba756=0x0;for(let _0x2c2ecf=0x0;_0x2c2ecf<types['length'];_0x2c2ecf++){_0x3ba756+=types[_0x2c2ecf]*Math['pow'](0xa,types['length']-_0x2c2ecf-0x1);}return _0x3ba756;}static getType(_0x10c55f){if(ParserUtils['isBuffer'](_0x10c55f))return MessageDataTypes_BUFFER;const type=typeof _0x10c55f;return'string'===type?MessageDataTypes_STRING:'number'===type?MessageDataTypes_NUMBER:MessageDataTypes_OBJECT;}static['isBuffer'](_0x56ab81){return IS_NODE&&Buffer['isBuffer'](_0x56ab81)||_0x56ab81 instanceof ArrayBuffer||_0x56ab81 instanceof Uint8Array||this['_isBufferView'](_0x56ab81);}static['_isBufferView'](_0x40a148){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x40a148):_0x40a148['buffer']instanceof ArrayBuffer;}}class PackageDataMessage extends Message{data;data1;static create(data,data1){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class NumberBytesPacketDataMessage extends PackageDataMessage{data;data1;static ['TYPE']=/* #__PURE__ -- @preserve */
|
|
28
28
|
((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='NumberBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
|
|
29
29
|
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}toJSON(){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](data){return new NumberBytesPacketDataMessage(data['data'],data['data1']);}static create(data,data1){return new NumberBytesPacketDataMessage(data,data1);}}class StringBytesPacketDataMessage extends PackageDataMessage{data;data1;static ['TYPE']=/* #__PURE__ -- @preserve */
|
|
30
30
|
((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='StringBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
|
|
@@ -47,21 +47,21 @@ EmitterMixin(){['_channelName'];_wsGateway;_socket;constructor(_0x815fd6,_wsGate
|
|
|
47
47
|
((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_STRING))());static ['DESCRIPTOR_NAME']='NumberStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
|
|
48
48
|
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}toJSON(){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](data){return new NumberStringPacketDataMessage(data['data'],data['data1']);}static create(data,data1){return new NumberStringPacketDataMessage(data,data1);}}const PACKET_DATA_MESSAGES=/* #__PURE__ -- @preserve */
|
|
49
49
|
((()=>[NumberBytesPacketDataMessage,StringBytesPacketDataMessage,BytesBytesPacketDataMessage,StringObjectPacketDataMessage,NumberObjectPacketDataMessage,ObjectObjectPacketDataMessage,ObjectBufferPacketDataMessage,StringStringPacketDataMessage,StringNumberPacketDataMessage,NumberNumberPacketDataMessage,NumberStringPacketDataMessage]['reduce']((result,PacketDataMessageConstructor)=>(result[PacketDataMessageConstructor['TYPE']]=PacketDataMessageConstructor,result),{}))());class PacketMessage extends Message{type;data;['id'];['nsp'];options;static ['TYPE']=0xa;static ['DESCRIPTOR_NAME']='PacketMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
|
|
50
|
-
((()=>({'fields':{'type':{'type':'uint32','id':0x1},'id':{'type':'uint32','id':0x2},'nsp':{'type':'string','id':0x3},'data':{'type':'bytes','id':0x4},'options':{'type':'bytes','id':0x5}}}))());constructor(type,data,
|
|
51
|
-
((()=>[PacketType['EVENT'],PacketType['ACK'],PacketType['BINARY_ACK'],PacketType['BINARY_EVENT']])());class Encoder extends
|
|
52
|
-
_deferPromise();timeout;constructor(_context,timeoutMs){this['_context']=_context,this['timeout']=setTimeout(()=>this['error'](new CKEditorCloudServicesError('Request\x20timeout.',this['_context'])),timeoutMs);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](
|
|
50
|
+
((()=>({'fields':{'type':{'type':'uint32','id':0x1},'id':{'type':'uint32','id':0x2},'nsp':{'type':'string','id':0x3},'data':{'type':'bytes','id':0x4},'options':{'type':'bytes','id':0x5}}}))());constructor(type,data,_0x23f3d3,_0x548f48='/',options){super(),this['type']=type,this['data']=data,this['id']=_0x23f3d3,this['nsp']=_0x548f48,this['options']=options??new PacketOptionsMessage();}get packetData(){return void 0x0===this['data']['data']&&void 0x0===this['data']['data1']?[]:this['data']['data']&&void 0x0===this['data']['data1']?[this['data']['data']]:[this['data']['data'],this['data']['data1']];}toJSON(){const options=MessagesCompressor['encode'](this['options']),data=MessagesCompressor['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':data,'options':options};}static['fromJSON'](data){const frameDataType=Math['floor'](data['type']/0xa);return new PacketMessage(data['type']-0xa*frameDataType,MessagesCompressor['decode'](data['data'],PACKET_DATA_MESSAGES[frameDataType]),data['id'],data['nsp'],data['options']?MessagesCompressor['decode'](data['options'],PacketOptionsMessage):new PacketOptionsMessage());}static create(packet,options={}){const frameDataType=ParserUtils['getPacketType'](ParserUtils['getType'](packet['data'][0x0]),ParserUtils['getType'](packet['data'][0x1]??packet['data'][0x0]));return new PacketMessage(packet['type'],PACKET_DATA_MESSAGES[frameDataType]['create'](packet['data'][0x0],packet['data'][0x1]),packet['id'],packet['nsp'],new PacketOptionsMessage(options['flags'],options['rooms'],options['except']));}}class PacketParser{['encode'](type,data,_0x1aaf75,_0x228c7c='/',options={}){if(data['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const packet={'type':type,'data':data,'id':_0x1aaf75,'nsp':_0x228c7c};return MessagesCompressor['encode'](PacketMessage['create'](packet,options));}['decode'](_0x267559){const packetMessage=MessagesCompressor['decode'](_0x267559,PacketMessage);return{'packet':{'id':packetMessage['id'],'type':packetMessage['type'],'data':packetMessage['packetData'],'nsp':packetMessage['nsp']},'options':{'flags':packetMessage['options']['flags'],'rooms':packetMessage['options']['rooms'],'except':packetMessage['options']['except']}};}}const ENCODED_TYPES=/* #__PURE__ -- @preserve */
|
|
51
|
+
((()=>[PacketType['EVENT'],PacketType['ACK'],PacketType['BINARY_ACK'],PacketType['BINARY_EVENT']])());class Encoder extends _0x168e4f{_packetParser;constructor(packetParser){super(),this['_packetParser']=packetParser??new PacketParser();}['encode'](packet){if(ENCODED_TYPES['includes'](packet['type']))try{return[this['_packetParser']['encode'](packet['type'],packet['data'],packet['id'],packet['nsp'])];}catch(_0x5b8404){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0x5b8404['message']}});}return super['encode'](packet);}}class Decoder extends _0x20e21b{_packetParser;constructor(packetParser){super(),this['_packetParser']=packetParser??new PacketParser();}['add'](_0x243b03){if(!ParserUtils['isBuffer'](_0x243b03))return super['add'](_0x243b03);let packet;try{packet=this['_packetParser']['decode'](_0x243b03)['packet'];}catch{return super['add'](_0x243b03);}super['emitReserved']('decoded',packet);}}class WebSocketRequest{_context;['_deferredPromise']=/* #__PURE__ -- @preserve */
|
|
52
|
+
_deferPromise();timeout;constructor(_context,timeoutMs){this['_context']=_context,this['timeout']=setTimeout(()=>this['error'](new CKEditorCloudServicesError('Request\x20timeout.',this['_context'])),timeoutMs);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x1542e8){this['_deferredPromise']['resolve'](_0x1542e8);}['error'](_0x853f2){this['_deferredPromise']['reject'](_0x853f2);}}class WebSocketGatewayRequestsManager{_context;_requests=new Set();constructor(_context){this['_context']=_context;}async['send'](sendFunction,timeoutMs=0xafc8){const _0x1578fe=this['_createRequest'](timeoutMs);try{return sendFunction(_0x1578fe),await _0x1578fe['promise'];}finally{this['_finishRequest'](_0x1578fe);}}['errorAll'](_0x27529a){for(const _0x1c6fa3 of this['_requests'])_0x1c6fa3['error'](_0x27529a);}waitForAllRequests(time=0xafc8){return this['_waitForRequests'](time);}_createRequest(timeoutMs){const _0x502915=new WebSocketRequest(this['_context'],timeoutMs);return this['_requests']['add'](_0x502915),_0x502915;}_finishRequest(_0xcbdc84){this['_requests']['delete'](_0xcbdc84),clearTimeout(_0xcbdc84['timeout']);}async _waitForRequests(time=0x1388,attempt=0x0){return!this['_requests']['size']||attempt>=time/0x1f4?Promise['resolve']():(await new Promise(_0x2614a9=>{setTimeout(_0x2614a9,0x1f4);}),this['_waitForRequests'](time,attempt++));}}function _deferPromise(){let _0x4d17a3,reject;const _0x3d3451=new Promise((_0xe844dd,promiseReject)=>{_0x4d17a3=_0xe844dd,reject=promiseReject;});return{'resolve':_0x4d17a3,'reject':reject,'promise':_0x3d3451};}const WEB_SOCKET_GATEWAY_STATES={'DISCONNECTED':'disconnected','CONNECTING':'connecting','CONNECTED':'connected'};class WebSocketGateway extends/* #__PURE__ -- @preserve */
|
|
53
53
|
ObservableMixin(){_requestsManager;['_url'];_socket;_socketAuth;['_channels'];_connectionAttempt=0x0;_token;_options;_connectionProvider;_userFactory;static ['STATE_DISCONNECTED']=/* #__PURE__ -- @preserve */
|
|
54
54
|
((()=>WEB_SOCKET_GATEWAY_STATES['DISCONNECTED'])());static ['STATE_CONNECTING']=/* #__PURE__ -- @preserve */
|
|
55
55
|
((()=>WEB_SOCKET_GATEWAY_STATES['CONNECTING'])());static ['STATE_CONNECTED']=/* #__PURE__ -- @preserve */
|
|
56
56
|
((()=>WEB_SOCKET_GATEWAY_STATES['CONNECTED'])());static ['_CHANGE_STATE_EVENT_PRIORITY']=/* #__PURE__ -- @preserve */
|
|
57
|
-
((()=>priorities['get']('highest')+0xf423f)());constructor(
|
|
58
|
-
EmitterMixin(){static ['_SERVICE']=0xd;static async['isBundleUploaded'](wsGateway,
|
|
59
|
-
((()=>({'fields':{'revisionId':{'type':'string','id':0x1},'name':{'type':'string','id':0x2},'creatorId':{'type':'string','id':0x3},'authorsIds':{'type':'string','id':0x4},'diffData':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'toVersion':{'type':'uint32','id':0x8},'fromVersion':{'type':'uint32','id':0x9},'isEmptyCurrent':{'type':'bool','id':0xa}}}))());static create(object){return{'revisionId':object['id'],'name':object['name'],'creatorId':object['creatorId'],'createdAt':object['createdAt'],'fromVersion':object['fromVersion'],'toVersion':object['toVersion'],'isEmptyCurrent':object['isEmptyCurrent'],'diffData':object['diffData']?JSON['stringify'](object['diffData']):void 0x0,'attributes':object['attributes'],'authorsIds':object['authorsIds']};}static toJSON(
|
|
60
|
-
((()=>RevisionDescriptor['DESCRIPTOR'])());constructor(
|
|
61
|
-
((()=>({'fields':{'channel':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2},'revisions':{'type':'RevisionDescriptor','id':0x3,'rule':'repeated'}}}))());constructor(
|
|
62
|
-
EmitterMixin(){_documentId;_isConnected=!0x1;_wsGateway;['_channel'];static ['_SERVICE']=0xc;constructor(_documentId){super(),this['_documentId']=_documentId;}get isConnected(){return this['_isConnected'];}connect(wsGateway){return this['_isConnected']?Promise['resolve']():this['_connect'](wsGateway,new RevisionHistoryConnectMessage(this['_documentId']));}disconnect(){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['fire']('disconnected'),this['stopListening']());}reconnect(wsGateway,lastRequestId){if(this['isConnected'])throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',wsGateway);return this['_connect'](wsGateway,new RevisionHistoryReconnectMessage(this['_documentId'],lastRequestId));}async updateRevisions(_0x1805b8,lastRequestId){const _0x34ae57=RevisionHistoryUpdateRevisionsMessage['create']({'documentId':this['_documentId'],'requestId':lastRequestId,'revisions':_0x1805b8}),_0x204ed1=await this['_sendRequest'](RevisionHistoryUpdateRevisionsMessage['TYPE'],_0x34ae57),{requestId:requestId}=MessagesCompressor['decode'](_0x204ed1,RevisionHistoryUpdateRevisionsResponse);return requestId;}async getRevision(_0x323250){const _0x2ee021=new RevisionHistoryGetRevisionMessage(this['_documentId'],_0x323250),_0x3ba49c=await this['_sendRequest'](RevisionHistoryGetRevisionMessage['TYPE'],_0x2ee021);return MessagesCompressor['decode'](_0x3ba49c,RevisionHistoryGetRevisionResponse)['toObject']();}async _connect(wsGateway,_0x1541a3){if(wsGateway['state']!==WEB_SOCKET_GATEWAY_STATES['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',wsGateway);this['_wsGateway']=wsGateway,this['stopListening'](wsGateway,'change:state');const _0x37f4d5=await wsGateway['_sendRequest'](0xc,_0x1541a3['constructor']['TYPE'],MessagesCompressor['encode'](_0x1541a3)),{channel:_0x3b0541,requestId:requestId,revisions:_0xcc1b02}=MessagesCompressor['decode'](_0x37f4d5,RevisionHistoryConnectResponse)['toObject']();return this['listenTo'](wsGateway,'change:state',(_0xee2e65,_0x5cc4b9,state)=>this['_onWsGatewayStateChange'](state),{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](wsGateway,_0x3b0541),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0xcc1b02,'requestId':requestId};}_connectToChannel(wsGateway,_0x38709e){this['_channel']=wsGateway['_getChannel'](RevisionHistoryService['_SERVICE'],_0x38709e),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](RevisionHistoryUpdateRevisionsMessage['TYPE']),(event,data)=>{const {documentId:documentId,requestId:requestId,revisions:_0x123cae}=MessagesCompressor['decode'](data,RevisionHistoryUpdateRevisionsMessage)['toObject']();this['fire']('revisionsUpdated',{'documentId':documentId,'requestId':requestId,'revisionsData':_0x123cae});}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ChannelDisconnectedMessage['TYPE']),()=>{this['disconnect']();}));}_onWsGatewayStateChange(_0x1dd0bc){_0x1dd0bc===WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']&&this['disconnect']();}_sendRequest(method,_0x54f9ec){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,method,MessagesCompressor['encode'](_0x54f9ec));}}class AddSuggestionMessage extends Message{['id'];documentId;type;data;originalSuggestionId;attributes;static ['TYPE']='101';static ['READABLE_TYPE_NAME']='addSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesAddSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'data':{'type':'string','id':0x4},'originalSuggestionId':{'type':'string','id':0x5},'attributes':{'type':'string','id':0x6}}};constructor(_0x29f5ed,documentId,type,data={},originalSuggestionId=null,attributes=null){super(),this['id']=_0x29f5ed,this['documentId']=documentId,this['type']=type,this['data']=data,this['originalSuggestionId']=originalSuggestionId,this['attributes']=attributes;}toJSON(){return{'id':this['id'],'documentId':this['documentId'],'type':this['type'],'data':JSON['stringify'](this['data']),'originalSuggestionId':this['originalSuggestionId'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](object){return new AddSuggestionMessage(object['id'],object['documentId'],object['type'],JSON['parse'](object['data']),object['originalSuggestionId']??null,object['attributes']?JSON['parse'](object['attributes']):null);}}class AddSuggestionResponse extends Message{['id'];authorId;type;hasComments;state;data;attributes;createdAt;static ['DESCRIPTOR_NAME']='TrackChangesAddSuggestionResponse';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'authorId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'data':{'type':'string','id':0x5},'hasComments':{'type':'bool','id':0x6},'state':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8}}};constructor(_0x15577e,authorId,type,createdAt,hasComments,state,data={},attributes=null){super(),this['id']=_0x15577e,this['authorId']=authorId,this['type']=type,this['hasComments']=hasComments,this['state']=state,this['data']=data,this['attributes']=attributes,this['createdAt']=createdAt?new Date(createdAt):void 0x0;}toJSON(){return{'id':this['id'],'authorId':this['authorId'],'type':this['type'],'createdAt':this['createdAt']?.['toISOString'](),'data':JSON['stringify'](this['data']),'hasComments':this['hasComments'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](data){return new AddSuggestionResponse(data['id'],data['authorId'],data['type'],data['createdAt'],data['hasComments'],data['state'],JSON['parse'](data['data']),data['attributes']?JSON['parse'](data['attributes']):null);}}class GetSuggestionMessage extends Message{['id'];documentId;static ['TYPE']='103';static ['READABLE_TYPE_NAME']='getSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesGetSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(_0xb7769f,documentId){super(),this['id']=_0xb7769f,this['documentId']=documentId;}toJSON(){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](object){return new GetSuggestionMessage(object['id'],object['documentId']);}}class GetSuggestionResponse extends Message{['id'];authorId;type;hasComments;state;data;attributes;createdAt;static ['DESCRIPTOR_NAME']='TrackChangesGetSuggestionResponse';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'authorId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'data':{'type':'string','id':0x5},'hasComments':{'type':'bool','id':0x6},'state':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8}}};constructor(_0x5e88ed,authorId,type,createdAt,hasComments,state,data={},attributes=null){super(),this['id']=_0x5e88ed,this['authorId']=authorId,this['type']=type,this['hasComments']=hasComments,this['state']=state,this['data']=data,this['attributes']=attributes,this['createdAt']=new Date(createdAt);}toJSON(){return{'id':this['id'],'authorId':this['authorId'],'type':this['type'],'createdAt':this['createdAt']['toISOString'](),'data':JSON['stringify'](this['data']),'hasComments':this['hasComments'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](data){return new GetSuggestionResponse(data['id'],data['authorId'],data['type'],data['createdAt'],data['hasComments'],data['state'],JSON['parse'](data['data']),data['attributes']?JSON['parse'](data['attributes']):null);}}class GetAllSuggestionsMessage extends Message{documentId;static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(documentId){super(),this['documentId']=documentId;}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](object){return new GetAllSuggestionsMessage(object['documentId']);}}class SuggestionDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='SuggestionDescriptor';static ['DESCRIPTOR']={'fields':{'id':{'id':0x1,'type':'string'},'authorId':{'id':0x2,'type':'string'},'type':{'id':0x3,'type':'string'},'createdAt':{'id':0x4,'type':'string'},'data':{'id':0x5,'type':'string'},'hasComments':{'id':0x6,'type':'bool'},'state':{'id':0x7,'type':'string'},'attributes':{'id':0x8,'type':'string'}}};static toJSON(suggestion){return{...suggestion,'data':suggestion['data']?JSON['stringify'](suggestion['data']):suggestion['data'],'attributes':suggestion['attributes']?JSON['stringify'](suggestion['attributes']):suggestion['attributes'],'createdAt':suggestion['createdAt']?.['toISOString']()};}static['fromJSON'](suggestion){return{...suggestion,'data':suggestion['data']?JSON['parse'](suggestion['data']):suggestion['data'],'attributes':suggestion['attributes']?JSON['parse'](suggestion['attributes']):suggestion['attributes'],'createdAt':suggestion['createdAt']?new Date(suggestion['createdAt']):void 0x0};}}class GetAllSuggestionResponse extends Message{_suggestions;_suggestionsV2;suggestions;static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionsResponse';static ['DESCRIPTOR']={'fields':{'suggestions':{'type':'string','rule':'repeated','id':0x1},'suggestionsV2':{'type':'SuggestionDescriptor','rule':'repeated','id':0x2}}};constructor(_suggestions,_suggestionsV2){super(),this['_suggestions']=_suggestions,this['_suggestionsV2']=_suggestionsV2,this['suggestions']=_suggestionsV2?.['length']?_suggestionsV2:_suggestions;}toJSON(){return{'suggestions':this['_suggestions']?.['map'](suggestion=>JSON['stringify'](suggestion)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](data){return new GetAllSuggestionResponse(data['suggestions']?.['map'](_suggestionFromString),data['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}}function _suggestionFromString(suggestion){const parsedSuggestion=JSON['parse'](suggestion);return parsedSuggestion['createdAt']=parsedSuggestion['createdAt']?new Date(parsedSuggestion['createdAt']):void 0x0,parsedSuggestion;}class UpdateSuggestionMessage extends Message{['id'];documentId;hasComments;isHasCommentsModified;state;attributes;static ['TYPE']='104';static ['READABLE_TYPE_NAME']='updateSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesUpdateSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'hasComments':{'type':'bool','id':0x3},'isHasCommentsModified':{'type':'bool','id':0x4},'state':{'type':'string','id':0x5},'attributes':{'type':'string','id':0x6}}};constructor(_0x5a4677,documentId,hasComments,isHasCommentsModified,state,attributes=null){super(),this['id']=_0x5a4677,this['documentId']=documentId,this['hasComments']=hasComments,this['isHasCommentsModified']=isHasCommentsModified,this['state']=state,this['attributes']=attributes;}toJSON(){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](object){return new UpdateSuggestionMessage(object['id'],object['documentId'],object['hasComments'],object['isHasCommentsModified'],object['state'],object['attributes']?JSON['parse'](object['attributes']):null);}}let ConnectMessage$1=class ConnectMessage extends Message{documentId;static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(documentId){super(),this['documentId']=documentId;}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](object){return new ConnectMessage(object['documentId']);}},ConnectResponse$1=class ConnectResponse extends Message{['channel'];_suggestions;_suggestionsV2;suggestions;static ['DESCRIPTOR_NAME']='TrackChangesConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'suggestions':{'type':'string','rule':'repeated','id':0x2},'suggestionsV2':{'type':'SuggestionDescriptor','rule':'repeated','id':0x3}}};constructor(_0x1bd6d6,_suggestions,_suggestionsV2){super(),this['channel']=_0x1bd6d6,this['_suggestions']=_suggestions,this['_suggestionsV2']=_suggestionsV2,this['suggestions']=_suggestionsV2?.['length']?_suggestionsV2:_suggestions;}toJSON(){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](suggestion=>JSON['stringify'](suggestion)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](object){return new ConnectResponse(object['channel'],object['suggestions']?.['map'](suggestion=>JSON['parse'](suggestion)),object['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}};class BatchUpdateSuggestionsStateMessage extends Message{['ids'];documentId;state;static ['TYPE']='106';static ['READABLE_TYPE_NAME']='batchUpdateSuggestionsState';static ['DESCRIPTOR_NAME']='TrackChangesBatchUpdateSuggestionsStateMessage';static ['DESCRIPTOR']={'fields':{'ids':{'type':'string','rule':'repeated','id':0x1},'documentId':{'type':'string','id':0x2},'state':{'type':'string','id':0x3}}};constructor(_0x5cc631,documentId,state){super(),this['ids']=_0x5cc631,this['documentId']=documentId,this['state']=state;}toJSON(){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](object){return new BatchUpdateSuggestionsStateMessage(object['ids'],object['documentId'],object['state']);}}class TrackChangesService extends/* #__PURE__ -- @preserve */
|
|
63
|
-
EmitterMixin(){_documentId;_isConnected=!0x1;_wsGateway;['_channel'];static ['_SERVICE']=0xa;constructor(_documentId){super(),this['_documentId']=_documentId;}get isConnected(){return this['_isConnected'];}async connect(wsGateway){if(this['_isConnected'])return;if(wsGateway['state']!==WEB_SOCKET_GATEWAY_STATES['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',wsGateway);const connectMessage=new ConnectMessage$1(this['_documentId']);this['_wsGateway']=wsGateway,this['stopListening'](wsGateway,'change:state');const _0x4e0670=await wsGateway['_sendRequest'](0xa,ConnectMessage$1['TYPE'],MessagesCompressor['encode'](connectMessage)),connectResponse=MessagesCompressor['decode'](_0x4e0670,ConnectResponse$1);return this['listenTo'](wsGateway,'change:state',(_0x1e13b1,_0x1a37b7,_0x4163fb)=>this['_onWsGatewayStateChange'](_0x4163fb),{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](wsGateway,connectResponse['channel']),this['_isConnected']=!0x0,this['fire']('connected'),connectResponse['suggestions'];}disconnect(){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async['add'](_0x20d28b,type,data,originalSuggestionId=null,attributes){const _0x10bf90=new AddSuggestionMessage(_0x20d28b,this['_documentId'],type,data,originalSuggestionId,attributes),_0x168867=await this['_sendRequest'](AddSuggestionMessage['TYPE'],_0x10bf90);return MessagesCompressor['decode'](_0x168867,AddSuggestionResponse);}async get(_0xe69372,attempt=0x1){const _0xd15c02=new GetSuggestionMessage(_0xe69372,this['_documentId']);try{const _0x25635d=await this['_sendRequest'](GetSuggestionMessage['TYPE'],_0xd15c02);return MessagesCompressor['decode'](_0x25635d,GetSuggestionResponse);}catch(_0x53ecc9){if('CKEditorCloudServicesServerError'===_0x53ecc9['name']&&'404'===_0x53ecc9['code']&&attempt<0x5)return await(time=0x64*attempt,new Promise(_0x5de75b=>{setTimeout(_0x5de75b,time);})),this['get'](_0xe69372,attempt+0x1);if('CKEditorCloudServicesServerError'===_0x53ecc9['name'])throw _0x53ecc9;throw CKEditorCloudServicesServerError['fromPublicError'](_0x53ecc9);}var time;}async getAll(){const _0x5c5ea4=new GetAllSuggestionsMessage(this['_documentId']),_0x25d176=await this['_sendRequest'](GetAllSuggestionsMessage['TYPE'],_0x5c5ea4),{suggestions:suggestions}=MessagesCompressor['decode'](_0x25d176,GetAllSuggestionResponse);return suggestions;}async update(_0x8eee75,_0x1dd420={}){const {hasComments:hasComments,state:state,attributes:attributes}=_0x1dd420,isHasCommentsUpdated=void 0x0!==hasComments,_0x336984=new UpdateSuggestionMessage(_0x8eee75,this['_documentId'],hasComments,isHasCommentsUpdated,state,attributes);await this['_sendRequest'](UpdateSuggestionMessage['TYPE'],_0x336984);}async batchUpdateState(_0x160b0d){const _0x100b5d=new BatchUpdateSuggestionsStateMessage(_0x160b0d['ids'],this['_documentId'],_0x160b0d['state']);await this['_sendRequest'](BatchUpdateSuggestionsStateMessage['TYPE'],_0x100b5d);}_connectToChannel(wsGateway,_0x1167f8){this['_channel']=wsGateway['_getChannel'](TrackChangesService['_SERVICE'],_0x1167f8),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateSuggestionMessage['TYPE']),(event,data)=>{const updateSuggestionMessage=MessagesCompressor['decode'](data,UpdateSuggestionMessage);this['fire']('suggestionUpdated',updateSuggestionMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ChannelDisconnectedMessage['TYPE']),()=>{this['disconnect']();}));}_onWsGatewayStateChange(_0xc8f2fc){_0xc8f2fc===WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']&&this['disconnect']();}_sendRequest(method,_0x460b07){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,method,MessagesCompressor['encode'](_0x460b07));}}class SessionsConnectResponse extends Message{['channel'];sockets;static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0x437f02,sockets=[]){super(),this['channel']=_0x437f02,this['sockets']=sockets;}toJSON(){return{'channel':this['channel'],'sockets':this['sockets']['map'](socket=>({'user':socket['userId'],'session':socket['id'],'role':socket['role'],'permissions':socket['permissions']}))};}static['fromJSON'](data){return new SessionsConnectResponse(data['channel'],data['sockets']['map'](socket=>({'id':socket['session'],'userId':socket['user'],'role':socket['role'],'permissions':socket['permissions']})));}}class SessionsConnectMessage extends Message{['id'];['sessionType'];static ['TYPE']='31';static ['READABLE_TYPE_NAME']='getConnectedSockets';static ['DESCRIPTOR_NAME']='SessionsConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'sessionType':{'type':'uint32','id':0x2}}};constructor(_0x2bde5b,_0x2fee43){super(),this['id']=_0x2bde5b,this['sessionType']=_0x2fee43;}toJSON(){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](data){return new SessionsConnectMessage(data['id'],data['sessionType']);}}class SocketConnectMessage extends Message{['id'];['userId'];['role'];['permissions'];static ['TYPE']='32';static ['READABLE_TYPE_NAME']='connectSocket';static ['DESCRIPTOR_NAME']='SocketConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'userId':{'type':'string','id':0x2},'role':{'type':'string','id':0x3},'permissions':{'rule':'repeated','type':'string','id':0x4}}};constructor(_0x11a207,_0x22f499,_0x265111,_0x4c1d9a){super(),this['id']=_0x11a207,this['userId']=_0x22f499,this['role']=_0x265111,this['permissions']=_0x4c1d9a;}toJSON(){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](data){return new SocketConnectMessage(data['id'],data['userId'],data['role'],data['permissions']);}}class SocketDisconnectMessage extends Message{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x5143ff){super(),this['id']=_0x5143ff;}toJSON(){return{'id':this['id']};}static['fromJSON'](data){return new SocketDisconnectMessage(data['id']);}}class SessionCollection extends Collection{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];_wsGateway;_connected;_eventsQueue=[];['_isRunning']=!0x1;constructor(_0xda2a13,_0x48a1a0){super({'idProperty':'id'}),this['_id']=_0xda2a13,this['_sessionType']=_0x48a1a0;}async connect(wsGateway){this['_wsGateway']=wsGateway,this['stopListening'](wsGateway,'change:state');const _0x20ed02=new SessionsConnectMessage(this['_id'],this['_sessionType']);let sessionsConnectResponse;try{const _0x5e5581=await this['_wsGateway']['_sendRequest'](0x3,SessionsConnectMessage['TYPE'],MessagesCompressor['encode'](_0x20ed02));sessionsConnectResponse=MessagesCompressor['decode'](_0x5e5581,SessionsConnectResponse);}catch{sessionsConnectResponse=new SessionsConnectResponse(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],sessionsConnectResponse['channel'],this['_sessionType']);const _0x1f6de1=await async function(wsGateway,_0x1afb96){const _0x1b3e9a=_0x1afb96['map'](socket=>socket['userId']),_0x574c44=_0x1b3e9a['length']?await User['getMany'](wsGateway,_0x1b3e9a):[];return _0x1afb96['map'](socket=>{const item={'id':socket['id'],'role':socket['role'],'permissions':socket['permissions']};return item['user']=socket['userId']&&_0x574c44['find'](_0x58717c=>_0x58717c['id']===socket['userId'])||new User(),item;});}(this['_wsGateway'],sessionsConnectResponse['sockets']);for(const _0x1de8be of _0x1f6de1)super['add'](_0x1de8be);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0x24effa,_0x2654fd,_0x2b2c19)=>this['_onWsGatewayStateChange'](_0x2b2c19),{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}disconnect(_0x3fcb8b=!0x0){if(this['_connected']){for(this['_connected']=!0x1,this['_eventsQueue']=[];this['length'];)super['remove'](0x0);this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_wsGateway']&&_0x3fcb8b&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x3fcb8b&&this['stopListening']();}}['add'](_0xad3578,_0x4a0b3f){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x2fbca1){throw new TypeError('The\x20collection\x20is\x20read-only.');}_connectToChannel(wsGateway,_0x4e59c7,_0x14fc8f){this['_channel']=wsGateway['_getChannel'](_0x14fc8f,_0x4e59c7),this['_channel']&&(this['_addHandler'](this['_channel'],SocketConnectMessage['TYPE'],async data=>{const socketConnectMessage=MessagesCompressor['decode'](data,SocketConnectMessage);if(-0x1===this['getIndex'](socketConnectMessage['id'])){const socket={'id':socketConnectMessage['id'],'role':socketConnectMessage['role'],'permissions':socketConnectMessage['permissions']};socketConnectMessage['userId']&&(socket['user']=await User['get'](wsGateway,socketConnectMessage['userId'])),super['add'](socket);}}),this['_addHandler'](this['_channel'],SocketDisconnectMessage['TYPE'],data=>{const socketDisconnectMessage=MessagesCompressor['decode'](data,SocketDisconnectMessage);-0x1!==this['getIndex'](socketDisconnectMessage['id'])&&super['remove'](socketDisconnectMessage['id']);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ChannelDisconnectedMessage['TYPE']),()=>{this['disconnect']();}));}async _onWsGatewayStateChange(state){state===WebSocketGateway['STATE_DISCONNECTED']&&this['disconnect'](!0x1),state===WebSocketGateway['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let event;for(this['_isRunning']=!0x0;event=this['_eventsQueue']['shift']();){const _0x387c2f=this['_handlers']['get'](event['eventName']);_0x387c2f&&await _0x387c2f(event['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x124251,eventType,_0xf6f11e){const eventName=_0x124251['getEventName'](eventType,!0x0);this['listenTo'](_0x124251,eventName,async(event,data)=>{const _0x2564cb=event['name'];this['_eventsQueue']['push']({'eventName':_0x2564cb,'data':data}),await this['_runQueue']();}),this['_handlers']['set'](eventName,_0xf6f11e);}}class Sessions{static async getConnectedSessions(wsGateway,_0xb69a12,_0x348c7a){const sessionCollection=new SessionCollection(_0xb69a12,_0x348c7a);return await sessionCollection['connect'](wsGateway),sessionCollection;}}class CollaborativeEditingConnectMessage extends Message{['id'];['buffers'];types;['bundleVersion'];lastOperationId;static ['TYPE']='11';static ['READABLE_TYPE_NAME']='connectToDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'bundleVersion':{'type':'string','id':0x2},'buffers':{'rule':'repeated','type':'bytes','id':0x3},'types':{'rule':'repeated','type':'uint32','id':0x4},'lastOperationId':{'type':'string','id':0x5}}};constructor(_0x3d60f9,_0x345d5a,types,_0x14e927,lastOperationId=''){super(),this['id']=_0x3d60f9,this['buffers']=_0x345d5a,this['types']=types,this['bundleVersion']=_0x14e927,this['lastOperationId']=lastOperationId;}toJSON(){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](data){return new CollaborativeEditingConnectMessage(data['id'],data['buffers'],data['types'],data['bundleVersion'],data['lastOperationId']);}}class OperationMetadataHelpers{static prepareMetadataForOperations(types,metadata){if(!types?.['length']||!metadata?.['length'])return[];const result=[];let _0x4848b9=0x0;for(const type of types)if(0x0!==type){if(!metadata[_0x4848b9])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');result['push'](metadata[_0x4848b9]),_0x4848b9++;}else result['push'](result[result['length']-0x1]);return result;}static removeUnnecessaryMetadata(types,metadata){if(!types?.['length']||!metadata?.['length'])return[];const result=[];for(let _0x3f6582=0x0;_0x3f6582<types['length'];_0x3f6582++)if(0x0!==types[_0x3f6582]){if(!metadata[_0x3f6582])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');result['push'](metadata[_0x3f6582]);}return result;}}class OperationMetadataDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='OperationMetadataDescriptor';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
|
|
64
|
-
((()=>({'fields':{'userId':{'type':'string','id':0x1},'type':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}}))());static toJSON({createdAt:createdAt,...metadata}){const parsedMetadata={...metadata};return createdAt?.['toISOString']&&(parsedMetadata['createdAt']=createdAt['toISOString']()),parsedMetadata;}static['fromJSON']({createdAt:createdAt,...metadata}){const parsedMetadata={...metadata};return createdAt&&(parsedMetadata['createdAt']=new Date(createdAt)),parsedMetadata;}}class CollaborativeEditingUpdateMessage extends Message{['id'];['buffers'];types;['baseVersion'];metadata;lastOperationId;static ['TYPE']='13';static ['READABLE_TYPE_NAME']='updateDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingUpdateMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'baseVersion':{'type':'uint32','id':0x2},'buffers':{'rule':'repeated','type':'bytes','id':0x3},'types':{'rule':'repeated','type':'uint32','id':0x4},'metadata':{'rule':'repeated','type':'OperationMetadataDescriptor','id':0x6},'lastOperationId':{'type':'string','id':0x7}}};constructor(
|
|
65
|
-
((()=>({'fields':{'channel':{'type':'string','id':0x1},'offset':{'type':'uint32','id':0x2},'version':{'type':'uint32','id':0x3},'buffers':{'rule':'repeated','type':'bytes','id':0x4},'types':{'rule':'repeated','type':'uint32','id':0x5},'metadata':{'rule':'repeated','type':OperationMetadataDescriptor['DESCRIPTOR_NAME'],'id':0x7},'initData':{'type':'string','id':0x8},'isInitialized':{'type':'bool','id':0x9},'sessionId':{'type':'string','id':0xa},'lastOperationId':{'type':'string','id':0xb},'sessionCreatedAt':{'type':'string','id':0xc}}}))());constructor(
|
|
66
|
-
EmitterMixin(){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];_isConnected;_wsGateway;['_channel'];_connectedSessions;constructor(_0x5b6a4a,_0x16f325){if(super(),!_0x5b6a4a)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x16f325??v4(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x5b6a4a;}getId(){return this['_id'];}isConnected(){return this['_isConnected'];}connect(wsGateway,data={'buffers':[],'types':[]},lastOperationId){const _0x1c9f51=new CollaborativeEditingConnectMessage(this['getId'](),data['buffers'],data['types'],this['_bundleVersion'],lastOperationId);return this['_connect'](wsGateway,_0x1c9f51);}reconnect(wsGateway,lastKnowVersion){if(this['isConnected']())throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',wsGateway);return this['_connect'](wsGateway,new CollaborativeEditingReconnectMessage(this['getId'](),lastKnowVersion,this['_bundleVersion']));}disconnect(){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_connectedSessions']&&(this['_connectedSessions']['disconnect'](),this['_connectedSessions']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async getDocumentDetails(){const _0x3143a8=new GetDocumentDetailsMessage(this['getId']());if(!this['_wsGateway'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x2df0e7=await this['_wsGateway']['_sendRequest'](0x1,GetDocumentDetailsMessage['TYPE'],MessagesCompressor['encode'](_0x3143a8));return MessagesCompressor['decode'](_0x2df0e7,GetDocumentDetailsResponse);}async sendOperations(data,_0x43fff7,lastOperationId){if(!data?.['types']?.['length'])throw new CKEditorCloudServicesError('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0xd6088f='number'==typeof _0x43fff7?_0x43fff7:parseInt(_0x43fff7);if(!Number['isInteger'](_0xd6088f)||_0xd6088f<0x0)throw new CKEditorCloudServicesError('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x5e6b8d=new CollaborativeEditingUpdateMessage(this['getId'](),data['buffers'],data['types'],_0xd6088f,[],lastOperationId);if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x591a74=await this['_wsGateway']['_sendRequest'](0x1,CollaborativeEditingUpdateMessage['TYPE'],MessagesCompressor['encode'](_0x5e6b8d));return MessagesCompressor['decode'](_0x591a74,CollaborativeEditingResponse);}async getConnectedSessions(){if(!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);return this['_connectedSessions']??=await Sessions['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1),this['_connectedSessions'];}static getConnectedSessions(wsGateway,_0x4532fc){return Sessions['getConnectedSessions'](wsGateway,_0x4532fc,0x1);}async _connect(wsGateway,_0x4e5bda){if(this['isConnected']())return;if(wsGateway['state']!==WebSocketGateway['STATE_CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',wsGateway);this['_wsGateway']=wsGateway,this['stopListening'](wsGateway,'change:state');const _0x2928fb=await wsGateway['_sendRequest'](0x1,_0x4e5bda['constructor']['TYPE'],MessagesCompressor['encode'](_0x4e5bda)),collaborativeEditingConnectResponse=MessagesCompressor['decode'](_0x2928fb,CollaborativeEditingConnectResponse);return this['listenTo'](wsGateway,'change:state',(_0x50b705,_0x3d444c,_0x2b8b97)=>this['_onWsGatewayStateChange'](_0x2b8b97),{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](wsGateway,collaborativeEditingConnectResponse['channel']),this['_isConnected']=!0x0,this['fire']('connected'),collaborativeEditingConnectResponse;}_connectToChannel(wsGateway,_0x3f9150){this['_channel']=wsGateway['_getChannel'](0x1,_0x3f9150),this['listenTo'](this['_channel'],this['_channel']['getEventName'](CollaborativeEditingUpdateMessage['TYPE']),(event,data)=>{const updateMessage=MessagesCompressor['decode'](data,CollaborativeEditingUpdateMessage);this['fire']('operationsReceived',updateMessage['baseVersion'],updateMessage['data'],updateMessage['metadata']);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ChannelDisconnectedMessage['TYPE']),()=>{this['disconnect']();});}_onWsGatewayStateChange(_0xfa4ead){_0xfa4ead===WebSocketGateway['STATE_DISCONNECTED']&&this['disconnect']();}}class CommentDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'commentThreadId':{'id':0x2,'type':'string'},'userId':{'id':0x3,'type':'string'},'content':{'id':0x4,'type':'string'},'documentId':{'id':0x5,'type':'string'},'createdAt':{'id':0x6,'type':'string'},'attributes':{'id':0x7,'type':'string'}}};static toJSON(comment){return{...comment,'createdAt':comment['createdAt']?.['toISOString'](),'attributes':comment['attributes']?JSON['stringify'](comment['attributes']):null};}static['fromJSON'](comment){return{...comment,'createdAt':new Date(comment['createdAt']),'attributes':comment['attributes']?JSON['parse'](comment['attributes']):null};}}class CommentsThreadDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentsThreadDescriptor';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'comments':{'type':'CommentDescriptor','rule':'repeated','id':0x2},'resolvedAt':{'type':'string','id':0x3},'resolvedBy':{'type':'string','id':0x4},'context':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'deletedAt':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8},'unlinkedAt':{'type':'string','id':0x9}}};static toJSON(thread){return{...thread,'createdAt':thread['createdAt']?.['toISOString'](),'deletedAt':thread['deletedAt']?.['toISOString'](),'resolvedAt':thread['resolvedAt']?.['toISOString'](),'attributes':thread['attributes']?JSON['stringify'](thread['attributes']):null,'context':thread['context']?JSON['stringify'](thread['context']):thread['context'],'comments':thread['comments']?.['map'](CommentDescriptor['toJSON']),'unlinkedAt':thread['unlinkedAt']?.['toISOString']()};}static['fromJSON'](thread){return{...thread,'createdAt':thread['createdAt']?new Date(thread['createdAt']):void 0x0,'deletedAt':thread['deletedAt']?new Date(thread['deletedAt']):void 0x0,'resolvedAt':thread['resolvedAt']?new Date(thread['resolvedAt']):void 0x0,'attributes':thread['attributes']?JSON['parse'](thread['attributes']):null,'context':thread['context']?JSON['parse'](thread['context']):void 0x0,'comments':thread['comments']?.['map'](CommentDescriptor['fromJSON']),'unlinkedAt':thread['unlinkedAt']?new Date(thread['unlinkedAt']):void 0x0};}}class AddCommentMessage extends Message{documentId;commentThreadId;content;commentId;['userId'];attributes;commentThread;createdAt;static ['TYPE']='91';static ['READABLE_TYPE_NAME']='addComment';static ['DESCRIPTOR_NAME']='CommentsV2AddCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'content':{'type':'string','id':0x2},'documentId':{'type':'string','id':0x3},'commentId':{'type':'string','id':0x4},'createdAt':{'type':'string','id':0x5},'userId':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'commentThread':{'type':'CommentsThreadDescriptor','id':0x8}}};constructor(documentId,commentThreadId,content,commentId='',createdAt,_0x5c83dd='',attributes=null,commentThread){super(),this['documentId']=documentId,this['commentThreadId']=commentThreadId,this['content']=content,this['commentId']=commentId,this['userId']=_0x5c83dd,this['attributes']=attributes,this['commentThread']=commentThread,this['createdAt']=createdAt?new Date(createdAt):'';}toJSON(){return{'commentThreadId':this['commentThreadId'],'content':this['content'],'documentId':this['documentId'],'commentId':this['commentId'],'createdAt':this['createdAt']instanceof Date?this['createdAt']['toISOString']():this['createdAt'],'userId':this['userId'],'attributes':JSON['stringify'](this['attributes']),'commentThread':this['commentThread']?CommentsThreadDescriptor['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](object){return new AddCommentMessage(object['documentId'],object['commentThreadId'],object['content'],object['commentId']?object['commentId']:void 0x0,object['createdAt']?new Date(object['createdAt']):void 0x0,object['userId']?object['userId']:void 0x0,object['attributes']?JSON['parse'](object['attributes']):{},object['commentThread']?CommentsThreadDescriptor['fromJSON'](object['commentThread']):void 0x0);}}class AddCommentResponse extends Message{commentThreadId;commentId;createdAt;static ['DESCRIPTOR_NAME']='CommentsV2AddCommentResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}};constructor(commentThreadId,commentId,createdAt){super(),this['commentThreadId']=commentThreadId,this['commentId']=commentId,this['createdAt']=new Date(createdAt);}toJSON(){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](data){return new AddCommentResponse(data['commentThreadId'],data['commentId'],data['createdAt']);}}class ConnectMessage extends Message{documentId;static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(documentId){super(),this['documentId']=documentId;}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](object){return new ConnectMessage(object['documentId']);}}class ConnectResponse extends Message{['channel'];_threads;_threadsV2;threads;static ['DESCRIPTOR_NAME']='CommentsV2ConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'threads':{'type':'string','rule':'repeated','id':0x2},'threadsV2':{'type':'CommentsThreadDescriptor','rule':'repeated','id':0x3}}};constructor(_0x4c6b69,_threads,_threadsV2){super(),this['channel']=_0x4c6b69,this['_threads']=_threads,this['_threadsV2']=_threadsV2,this['threads']=_threadsV2?.['length']?_threadsV2:_threads;}toJSON(){return{'channel':this['channel'],'threads':this['_threads']?.['map'](thread=>JSON['stringify'](thread)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](object){return new ConnectResponse(object['channel'],object['threads']?.['map'](thread=>JSON['parse'](thread)),object['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class RemoveCommentMessage extends Message{documentId;commentThreadId;commentId;static ['TYPE']='95';static ['READABLE_TYPE_NAME']='removeComment';static ['DESCRIPTOR_NAME']='CommentsV2RemoveCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'documentId':{'type':'string','id':0x3}}};constructor(documentId,commentThreadId,commentId){super(),this['documentId']=documentId,this['commentThreadId']=commentThreadId,this['commentId']=commentId;}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](object){return new RemoveCommentMessage(object['documentId'],object['commentThreadId'],object['commentId']);}}class RemoveCommentThreadMessage extends Message{documentId;commentThreadId;static ['TYPE']='97';static ['READABLE_TYPE_NAME']='removeCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2RemoveCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(documentId,commentThreadId){super(),this['documentId']=documentId,this['commentThreadId']=commentThreadId;}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](object){return new RemoveCommentThreadMessage(object['documentId'],object['commentThreadId']);}}class UpdateCommentMessage extends Message{documentId;commentThreadId;commentId;content;attributes;isAttributesUpdated;commentThread;static ['TYPE']='96';static ['READABLE_TYPE_NAME']='updateComment';static ['DESCRIPTOR_NAME']='CommentsV2UpdateCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'content':{'type':'string','id':0x3},'documentId':{'type':'string','id':0x4},'attributes':{'type':'string','id':0x5},'isAttributesUpdated':{'type':'bool','id':0x6},'commentThread':{'type':'CommentsThreadDescriptor','id':0x7}}};constructor(documentId,commentThreadId,commentId,content,attributes=null,isAttributesUpdated=!0x1,commentThread){super(),this['documentId']=documentId,this['commentThreadId']=commentThreadId,this['commentId']=commentId,this['content']=content,this['attributes']=attributes,this['isAttributesUpdated']=isAttributesUpdated,this['commentThread']=commentThread;}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'content':this['content'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):null,'isAttributesUpdated':this['isAttributesUpdated'],'commentThread':this['commentThread']?CommentsThreadDescriptor['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](object){return new UpdateCommentMessage(object['documentId'],object['commentThreadId'],object['commentId'],object['content'],object['attributes']?JSON['parse'](object['attributes']):null,object['isAttributesUpdated'],object['commentThread']?CommentsThreadDescriptor['fromJSON'](object['commentThread']):void 0x0);}}class GetCommentThreadMessage extends Message{commentThreadId;documentId;static ['TYPE']='93';static ['READABLE_TYPE_NAME']='getComment';static ['DESCRIPTOR_NAME']='CommentsV2GetCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(commentThreadId,documentId){super(),this['commentThreadId']=commentThreadId,this['documentId']=documentId;}toJSON(){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](object){return new GetCommentThreadMessage(object['commentThreadId'],object['documentId']);}}class GetCommentThreadResponse extends Message{commentThreadId;_comments;_commentsV2;['resolvedBy'];comments;createdAt;deletedAt;resolvedAt;attributes;context;unlinkedAt;static ['DESCRIPTOR_NAME']='CommentsV2GetCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'comments':{'type':'string','rule':'repeated','id':0x2},'commentsV2':{'type':'CommentDescriptor','rule':'repeated','id':0x3},'resolvedAt':{'type':'string','id':0x4},'resolvedBy':{'type':'string','id':0x5},'context':{'type':'string','id':0x6},'createdAt':{'type':'string','id':0x7},'deletedAt':{'type':'string','id':0x8},'attributes':{'type':'string','id':0x9},'unlinkedAt':{'type':'string','id':0xa}}};constructor(commentThreadId,_comments,_commentsV2,attributes,_0x748400,context,createdAt,deletedAt,resolvedAt,unlinkedAt){super(),this['commentThreadId']=commentThreadId,this['_comments']=_comments,this['_commentsV2']=_commentsV2,this['resolvedBy']=_0x748400,this['comments']=_commentsV2?.['length']?_commentsV2:_comments,this['createdAt']=createdAt?new Date(createdAt):void 0x0,this['deletedAt']='string'==typeof deletedAt?new Date(deletedAt):deletedAt,this['resolvedAt']='string'==typeof resolvedAt?new Date(resolvedAt):resolvedAt,this['unlinkedAt']='string'==typeof unlinkedAt?new Date(unlinkedAt):unlinkedAt,this['attributes']='string'==typeof attributes?JSON['parse'](attributes):attributes,this['context']='string'==typeof context?JSON['parse'](context):context;}toJSON(){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](comment=>JSON['stringify'](comment)),'commentsV2':this['_commentsV2']?.['map'](CommentDescriptor['toJSON']),'attributes':this['attributes']?JSON['stringify'](this['attributes']):this['attributes'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'resolvedBy':this['resolvedBy'],'createdAt':this['createdAt']?.['toISOString'](),'deletedAt':this['deletedAt']?.['toISOString'](),'resolvedAt':this['resolvedAt']?.['toISOString'](),'unlinkedAt':this['unlinkedAt']?.['toISOString']()};}static['fromJSON'](object){return new GetCommentThreadResponse(object['commentThreadId'],object['comments']?.['map'](comment=>function(commentString){const comment=JSON['parse'](commentString);return{...comment,'createdAt':new Date(comment['createdAt'])};}(comment)),object['commentsV2']?.['map'](CommentDescriptor['fromJSON']),object['attributes']?JSON['parse'](object['attributes']):object['attributes'],object['resolvedBy'],object['context']?JSON['parse'](object['context']):object['context'],object['createdAt'],object['deletedAt'],object['resolvedAt'],object['unlinkedAt']);}}class GetDocumentThreadsMessage extends Message{documentId;static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(documentId){super(),this['documentId']=documentId;}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](object){return new GetDocumentThreadsMessage(object['documentId']);}}class GetDocumentThreadsResponse extends Message{_threads;_threadsV2;threads;static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsResponse';static ['DESCRIPTOR']={'fields':{'threads':{'type':'string','rule':'repeated','id':0x1},'threadsV2':{'type':'CommentsThreadDescriptor','rule':'repeated','id':0x2}}};constructor(_threads,_threadsV2){super(),this['_threads']=_threads,this['_threadsV2']=_threadsV2,this['threads']=_threadsV2?.['length']?_threadsV2:_threads;}toJSON(){return{'threads':this['_threads']?.['map'](thread=>JSON['stringify'](thread)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](object){return new GetDocumentThreadsResponse(object['threads']?.['map'](thread=>function(threadString){const threadRaw=JSON['parse'](threadString),thread={...threadRaw};return threadRaw['comments']&&(thread['comments']=threadRaw['comments']?.['map'](comment=>({...comment,'createdAt':new Date(comment['createdAt'])}))),thread;}(thread)),object['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class CommentThreadAddedCommentDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentThreadAddedCommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'createdAt':{'id':0x2,'type':'string'}}};static toJSON(comment){return{'commentId':comment['commentId'],'createdAt':comment['createdAt']?.['toISOString']()};}static['fromJSON'](comment){return{'commentId':comment['commentId'],'createdAt':new Date(comment['createdAt'])};}}class AddCommentThreadResponse extends Message{commentThreadId;comments;createdAt;static ['DESCRIPTOR_NAME']='CommentsV2AddCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'createdAt':{'type':'string','id':0x2},'comments':{'type':'CommentThreadAddedCommentDescriptor','rule':'repeated','id':0x3}}};constructor(commentThreadId,createdAt,comments=[]){super(),this['commentThreadId']=commentThreadId,this['comments']=comments,this['createdAt']=new Date(createdAt);}toJSON(){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](comment=>CommentThreadAddedCommentDescriptor['toJSON'](comment))};}static['fromJSON'](data){return new AddCommentThreadResponse(data['commentThreadId'],data['createdAt'],data['comments']['map'](comment=>CommentThreadAddedCommentDescriptor['fromJSON'](comment)));}}class AddCommentThreadMessage extends Message{documentId;commentThreadId;comments;context;['resolvedBy'];attributes;createdAt;resolvedAt;deletedAt;static ['TYPE']='140';static ['READABLE_TYPE_NAME']='addCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2AddCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'commentThreadId':{'type':'string','id':0x2},'context':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'resolvedAt':{'type':'string','id':0x5},'resolvedBy':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'deletedAt':{'type':'string','id':0x8},'comments':{'type':'CommentDescriptor','rule':'repeated','id':0x9}}};constructor(documentId,commentThreadId,comments=[],context,_0x174c33=null,createdAt=null,resolvedAt=null,deletedAt=null,attributes=null){super(),this['documentId']=documentId,this['commentThreadId']=commentThreadId,this['comments']=comments,this['context']=context,this['resolvedBy']=_0x174c33,this['attributes']=attributes,this['createdAt']=createdAt?new Date(createdAt):'',this['resolvedAt']=resolvedAt?new Date(resolvedAt):'',this['deletedAt']=deletedAt?new Date(deletedAt):'';}toJSON(){return{'commentThreadId':this['commentThreadId'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']instanceof Date?this['resolvedAt']['toISOString']():this['resolvedAt'],'deletedAt':this['deletedAt']instanceof Date?this['deletedAt']['toISOString']():this['deletedAt'],'createdAt':this['createdAt']instanceof Date?this['createdAt']['toISOString']():this['createdAt'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):this['attributes'],'comments':this['comments']?.['map'](_0xaaca75=>CommentDescriptor['toJSON'](_0xaaca75))};}static['fromJSON'](object){return new AddCommentThreadMessage(object['documentId'],object['commentThreadId'],object['comments']?.['map'](_0x3e952e=>CommentDescriptor['fromJSON']({..._0x3e952e,'documentId':object['documentId'],'commentThreadId':object['commentThreadId']})),object['context']?JSON['parse'](object['context']):object['context'],object['resolvedBy'],object['createdAt']?new Date(object['createdAt']):void 0x0,object['resolvedAt']?new Date(object['resolvedAt']):void 0x0,object['deletedAt']?new Date(object['deletedAt']):void 0x0,object['attributes']?JSON['parse'](object['attributes']):object['attributes']);}}class ResolveCommentThreadMessage extends Message{commentThreadId;documentId;['resolvedBy'];resolvedAt;static ['TYPE']='142';static ['READABLE_TYPE_NAME']='resolveCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2ResolveCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'resolvedBy':{'type':'string','id':0x3},'resolvedAt':{'type':'string','id':0x4}}};constructor(commentThreadId,documentId,_0x49ccc3,resolvedAt){super(),this['commentThreadId']=commentThreadId,this['documentId']=documentId,this['resolvedBy']=_0x49ccc3,this['resolvedAt']=resolvedAt?new Date(resolvedAt):void 0x0;}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](object){return new ResolveCommentThreadMessage(object['commentThreadId'],object['documentId'],object['resolvedBy'],object['resolvedAt']);}}class ReopenCommentThreadMessage extends Message{commentThreadId;documentId;static ['TYPE']='141';static ['READABLE_TYPE_NAME']='reopenCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2ReopenCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(commentThreadId,documentId){super(),this['commentThreadId']=commentThreadId,this['documentId']=documentId;}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](object){return new ReopenCommentThreadMessage(object['commentThreadId'],object['documentId']);}}class UpdateCommentThreadMessage extends Message{commentThreadId;documentId;context;attributes;unlinkedAt;static ['TYPE']='143';static ['READABLE_TYPE_NAME']='updateCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2UpdateCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'context':{'type':'string','id':0x3},'attributes':{'type':'string','id':0x4},'unlinkedAt':{'type':'string','id':0x5}}};constructor(commentThreadId,documentId,context,attributes=null,unlinkedAt=null){super(),this['commentThreadId']=commentThreadId,this['documentId']=documentId,this['context']=context,this['attributes']=attributes,this['unlinkedAt']=unlinkedAt?new Date(unlinkedAt):'';}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):null,'unlinkedAt':this['unlinkedAt']instanceof Date?this['unlinkedAt']['toISOString']():this['unlinkedAt']};}static['fromJSON'](object){return new UpdateCommentThreadMessage(object['commentThreadId'],object['documentId'],object['context']?JSON['parse'](object['context']):object['context'],object['attributes']?JSON['parse'](object['attributes']):null,object['unlinkedAt']?new Date(object['unlinkedAt']):null);}}class ResolveCommentThreadResponse extends Message{commentThreadId;documentId;['resolvedBy'];resolvedAt;static ['DESCRIPTOR_NAME']='CommentsV2ResolveCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'resolvedAt':{'type':'string','id':0x3},'resolvedBy':{'type':'string','id':0x4}}};constructor(commentThreadId,documentId,_0x2939f,resolvedAt){super(),this['commentThreadId']=commentThreadId,this['documentId']=documentId,this['resolvedBy']=_0x2939f,this['resolvedAt']=new Date(resolvedAt);}toJSON(){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](data){return new ResolveCommentThreadResponse(data['commentThreadId'],data['documentId'],data['resolvedBy'],data['resolvedAt']);}}class CommentsService extends/* #__PURE__ -- @preserve */
|
|
67
|
-
EmitterMixin(){_documentId;_isConnected=!0x1;_wsGateway;['_channel'];_connectedSessions;static ['_SERVICE']=0x9;constructor(_documentId){super(),this['_documentId']=_documentId;}get isConnected(){return this['_isConnected'];}async connect(wsGateway){if(this['_isConnected'])return;if(wsGateway['state']!==WEB_SOCKET_GATEWAY_STATES['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',wsGateway);const connectMessage=new ConnectMessage(this['_documentId']);this['_wsGateway']=wsGateway,this['stopListening'](wsGateway,'change:state');const
|
|
57
|
+
((()=>priorities['get']('highest')+0xf423f)());constructor(_0x3d6fa3,token,options,connectionProvider,userFactory){if(super(),this['_token']=token,this['_options']=options??{},this['_connectionProvider']=connectionProvider??io,this['_userFactory']=userFactory??User['get'],this['_requestsManager']=new WebSocketGatewayRequestsManager(this),this['_channels']=new Map(),!_0x3d6fa3)throw new TypeError('Api\x20address\x20must\x20be\x20provided.');if(!this['_token'])throw new TypeError('Token\x20must\x20be\x20provided.');this['_options']['requestTimeout']??=0x4e20,this['_url']=_0x57adea(_0x3d6fa3['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(event,_0x20ef7c,_0x27f3ae)=>{if(this['_debugEvent']('ws-gw:change:state',_0x27f3ae),_0x27f3ae!==WebSocketGateway['STATE_CONNECTED']){if(_0x27f3ae===WebSocketGateway['STATE_DISCONNECTED'])return this['_requestsManager']['errorAll'](new CKEditorCloudServicesError('Not\x20connected.',this));}else try{this['me']=await this['_userFactory']['call'](User,this,this['_socketAuth']?.['userId']);}catch{}},{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(event,_0x226b73)=>{this['_options']['onError']?this['_options']['onError'](_0x226b73):console['error'](_0x226b73);});}get['sessionId'](){return this['socketId'];}waitForAllRequests(time){return this['_requestsManager']['waitForAllRequests'](time);}disconnect(){this['state']!==WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']);}async reconnect(){this['_socket']||this['state']!==WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']||(await this['_token']['refreshToken'](),await this['_connect']());}static async connect(token,_0x780af='local.cs.dev:443/ws-v2',options={},_0x417bdb=io,userFactory=User['get']){const webSocketGateway=new this(_0x780af,token,options,_0x417bdb,userFactory);return await webSocketGateway['_connect'](),webSocketGateway;}_sendRequest(_0x1dc143,method,_0xe81cf2){if(!_0x1dc143)throw new CKEditorCloudServicesError('`serviceName`\x20must\x20be\x20provided.',this);if(this['state']!==WebSocketGateway['STATE_CONNECTED'])throw new CKEditorCloudServicesError('Not\x20connected.',this);if(!this['_socketAuth']?.['isAuthenticated'])throw new CKEditorCloudServicesError('Not\x20authenticated.',this);const _0x261619=new ArrayBuffer(_0xe81cf2['length']+0x2),_0x2b851e=new Uint8Array(_0x261619);return _0x2b851e[0x0]=_0x1dc143,_0x2b851e[0x1]=parseInt(method),_0x2b851e['set'](_0xe81cf2,0x2),this['_emit'](0x1,_0x2b851e);}_getChannel(_0x45aff5,_0x8db8bc){const _0xe8a9d0=''+_0x45aff5+_0x8db8bc;return!this['_channels']['has'](_0xe8a9d0)&&this['_socket']&&this['_channels']['set'](_0xe8a9d0,new Channel(_0xe8a9d0,this,this['_socket'])),this['_channels']['get'](_0xe8a9d0);}_connect(){return new Promise((_0x144e6d,reject)=>{const socket=this['_setupSocket']();!this['socketId']&&socket['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](reject);}),socket['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x144e6d();}catch(_0x14ba57){reject(_0x14ba57);}}),socket['connect']();});}_getPortByProtocol(protocol){return['http:','ws:']['includes'](protocol)?0x50:0x1bb;}_setupSocket(){if(this['_socket'])return this['_socket'];const port=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x526947=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+port,pathPrefix=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',socket=this['_connectionProvider'](_0x526947,{'parser':{'Encoder':Encoder,'Decoder':Decoder},'path':pathPrefix+'/ws-v2/ws','transports':['websocket'],'timeout':void 0x0!==this['_options']['timeout']?this['_options']['timeout']:0x1388,'reconnection':void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect'],'reconnectionDelay':0x3e8,'reconnectionDelayMax':0x1388,'rejectUnauthorized':void 0x0===this['_options']['rejectUnauthorized']||this['_options']['rejectUnauthorized'],'query':{'version':'54.2.12'},'agent':this['_options']['agent']??!0x1,'closeOnBeforeunload':!0x1});return this['state']=WEB_SOCKET_GATEWAY_STATES['CONNECTING'],socket['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=socket['id'];}),socket['on']('connect_error',_0x628965=>{this['_debugEvent']('connect_error',_0x628965);}),socket['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),socket['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),socket['io']['on']('reconnect_attempt',attempt=>{this['_debugEvent']('reconnect_attempt',attempt),this['state']=WEB_SOCKET_GATEWAY_STATES['CONNECTING'],this['_connectionAttempt']=attempt;}),socket['on']('unauthorized',data=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](data);}),socket['on']('authenticationRequest',async data=>{this['_debugEvent']('authenticationRequest',data['attempt']),await this['_onReconnect']();}),this['_socket']=socket,socket;}_emit(eventName,_0x48e330){const socket=this['_socket'];return this['_requestsManager']['send'](_0x131f4=>{socket['emit'](eventName,_0x48e330,(_0x4b6448,_0xf7458b)=>{if(_0x4b6448)return _0x131f4['error'](CKEditorCloudServicesServerError['fromPublicError'](_0x4b6448));_0x131f4['response'](_0xf7458b);});},this['_options']['requestTimeout']);}_addAuthData(environmentId,_0x1231be){this['_socketAuth']={'environmentId':environmentId,'userId':_0x1231be,'isAuthenticated':!0x0};}_removeAuthData(){this['_socketAuth']=void 0x0;}async _onConnect(){await this['_authenticate'](this['_token']['value']),this['state']=WEB_SOCKET_GATEWAY_STATES['CONNECTED'];const _0xf4ec86=async(event,_0x166014,_0x319158)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x319158);}catch{}};this['_token']['on']('change:value',_0xf4ec86),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0xf4ec86);});}async _onReconnect(){await this['_token']['refreshToken'](),await this['_onConnect']();}_onDisconnect(){this['state']=WEB_SOCKET_GATEWAY_STATES['DISCONNECTED'],this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0x206a0f of this['_channels']['values']())_0x206a0f['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}_debugEvent(eventName,eventData){if(!this['_isDebugModeEnabled']())return;const eventDataString=void 0x0!==eventData?',\x20data:\x20'+eventData:'';console['info'](new Date()['toLocaleString']()+'\x20'+eventName+eventDataString);}_reconnectionAttemptError(_0x471aa6){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0x471aa6(CKEditorCloudServicesError['fromPublicError']({'message':'The\x20number\x20of\x20initial\x20connection\x20attempts\x20exceeded.','explanation':'Three\x20initial\x20connection\x20attempts\x20failed.\x20It\x20can\x20be\x20caused\x20by\x20a\x20slow,\x20unstable,\x20missing\x20or\x20blocked\x20Internet\x20connection.','action':'Please\x20verify\x20the\x20stability\x20of\x20your\x20Internet\x20connection\x20and\x20ensure\x20that\x20no\x20antivirus\x20or\x20firewall\x20software\x20blocks\x20the\x20Web\x20Socket\x20protocol\x20connections.'})));}_onUnauthorized({error:_0x3518d}){this['_removeAuthData'](),this['fire']('error',CKEditorCloudServicesServerError['fromPublicError'](_0x3518d));}async _authenticate(token){try{this['_debugEvent']('authenticate:start');const _0x3f4dce=await this['_emit'](0x2,{'token':token});this['_debugEvent']('authenticate:success','envId:\x20'+_0x3f4dce['environmentId']+',\x20userId:\x20'+_0x3f4dce['userId']),this['_addAuthData'](_0x3f4dce['environmentId'],_0x3f4dce['userId']);}catch(_0x1dfc6c){throw this['_debugEvent']('authenticate:error',_0x1dfc6c['message']),this['_removeAuthData'](),_0x1dfc6c;}}['_isDebugModeEnabled'](){if(!global['window']['localStorage'])return!0x1;return'true'===(global['window']['localStorage']['getItem']('csClientDebugMode')??'false')['toLowerCase']();}}class IsEditorBundleUploadedMessage extends Message{['bundleVersion'];static ['TYPE']='131';static ['READABLE_TYPE_NAME']='isEditorBundleUploaded';static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedMessage';static ['DESCRIPTOR']={'fields':{'bundleVersion':{'type':'string','id':0x1}}};constructor(_0x3f2805){super(),this['bundleVersion']=_0x3f2805;}toJSON(){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](object){return new IsEditorBundleUploadedMessage(object['bundleVersion']);}}class IsEditorBundleUploadedResponse extends Message{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x4457f3){super(),this['isUploaded']=_0x4457f3;}toJSON(){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0x14d410){return new IsEditorBundleUploadedResponse(_0x14d410['isUploaded']);}}class EditorService extends/* #__PURE__ -- @preserve */
|
|
58
|
+
EmitterMixin(){static ['_SERVICE']=0xd;static async['isBundleUploaded'](wsGateway,_0x23c92f){const _0x32e9dc=new IsEditorBundleUploadedMessage(_0x23c92f);if(wsGateway['state']!==WEB_SOCKET_GATEWAY_STATES['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',wsGateway);const _0x36a845=await wsGateway['_sendRequest'](EditorService['_SERVICE'],IsEditorBundleUploadedMessage['TYPE'],MessagesCompressor['encode'](_0x32e9dc));return MessagesCompressor['decode'](_0x36a845,IsEditorBundleUploadedResponse)['isUploaded'];}}class RevisionHistoryGetRevisionMessage extends Message{documentId;['revisionId'];static ['TYPE']='123';static ['READABLE_TYPE_NAME']='getRevision';static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'revisionId':{'type':'string','id':0x2}}};constructor(documentId,_0x5ac43f){super(),this['documentId']=documentId,this['revisionId']=_0x5ac43f;}toJSON(){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](object){return new RevisionHistoryGetRevisionMessage(object['documentId'],object['revisionId']);}}class RevisionDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='RevisionDescriptor';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
|
|
59
|
+
((()=>({'fields':{'revisionId':{'type':'string','id':0x1},'name':{'type':'string','id':0x2},'creatorId':{'type':'string','id':0x3},'authorsIds':{'type':'string','id':0x4},'diffData':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'toVersion':{'type':'uint32','id':0x8},'fromVersion':{'type':'uint32','id':0x9},'isEmptyCurrent':{'type':'bool','id':0xa}}}))());static create(object){return{'revisionId':object['id'],'name':object['name'],'creatorId':object['creatorId'],'createdAt':object['createdAt'],'fromVersion':object['fromVersion'],'toVersion':object['toVersion'],'isEmptyCurrent':object['isEmptyCurrent'],'diffData':object['diffData']?JSON['stringify'](object['diffData']):void 0x0,'attributes':object['attributes'],'authorsIds':object['authorsIds']};}static toJSON(_0x3fbec7){return{'revisionId':_0x3fbec7['revisionId'],'name':_0x3fbec7['name'],'creatorId':_0x3fbec7['creatorId'],'authorsIds':_0x3fbec7['authorsIds']?JSON['stringify'](_0x3fbec7['authorsIds']):void 0x0,'diffData':_0x3fbec7['diffData'],'createdAt':_0x3fbec7['createdAt']?.['toISOString'](),'attributes':_0x3fbec7['attributes']?JSON['stringify'](_0x3fbec7['attributes']):void 0x0,'toVersion':_0x3fbec7['toVersion'],'fromVersion':_0x3fbec7['fromVersion'],'isEmptyCurrent':_0x3fbec7['isEmptyCurrent']};}static['fromJSON'](_0x48cbef){return{'revisionId':(_0x48cbef={..._0x48cbef})['revisionId'],'name':_0x48cbef['name'],'creatorId':_0x48cbef['creatorId'],'authorsIds':_0x48cbef['authorsIds']?JSON['parse'](_0x48cbef['authorsIds']):void 0x0,'diffData':_0x48cbef['diffData'],'createdAt':_0x48cbef['createdAt']?new Date(_0x48cbef['createdAt']):void 0x0,'attributes':_0x48cbef['attributes']?JSON['parse'](_0x48cbef['attributes']):void 0x0,'toVersion':_0x48cbef['toVersion'],'fromVersion':_0x48cbef['fromVersion'],'isEmptyCurrent':_0x48cbef['isEmptyCurrent']};}static toObject(_0x31a988){return function(revisionObject){for(const [_0x139885,_0x45dccd]of Object['entries'](revisionObject))void 0x0===_0x45dccd&&delete revisionObject[_0x139885];return revisionObject;}({'id':_0x31a988['revisionId'],'name':_0x31a988['name'],'creatorId':_0x31a988['creatorId'],'createdAt':_0x31a988['createdAt'],'fromVersion':_0x31a988['fromVersion'],'toVersion':_0x31a988['toVersion'],'isEmptyCurrent':_0x31a988['isEmptyCurrent'],'diffData':_0x31a988['diffData']?JSON['parse'](_0x31a988['diffData']):void 0x0,'attributes':_0x31a988['attributes'],'authorsIds':_0x31a988['authorsIds']});}}class RevisionHistoryGetRevisionResponse extends Message{['revisionId'];['name'];creatorId;authorsIds;createdAt;diffData;attributes;['fromVersion'];toVersion;isEmptyCurrent;static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
|
|
60
|
+
((()=>RevisionDescriptor['DESCRIPTOR'])());constructor(_0x474c63,_0x18c6b4,creatorId,authorsIds,createdAt,diffData,attributes,_0x2b0db5,toVersion,isEmptyCurrent){super(),this['revisionId']=_0x474c63,this['name']=_0x18c6b4,this['creatorId']=creatorId,this['authorsIds']=authorsIds,this['createdAt']=createdAt,this['diffData']=diffData,this['attributes']=attributes,this['fromVersion']=_0x2b0db5,this['toVersion']=toVersion,this['isEmptyCurrent']=isEmptyCurrent;}toJSON(){return RevisionDescriptor['toJSON'](this);}toObject(){return RevisionDescriptor['toObject'](this);}static create(_0x4920de){return new RevisionHistoryGetRevisionResponse(_0x4920de['revisionId'],_0x4920de['name'],_0x4920de['creatorId'],_0x4920de['authorsIds'],_0x4920de['createdAt'],_0x4920de['diffData'],_0x4920de['attributes'],_0x4920de['fromVersion'],_0x4920de['toVersion'],_0x4920de['isEmptyCurrent']);}static['fromJSON'](_0x5a97ef){return new RevisionHistoryGetRevisionResponse(_0x5a97ef['revisionId'],_0x5a97ef['name'],_0x5a97ef['creatorId'],_0x5a97ef['authorsIds']?JSON['parse'](_0x5a97ef['authorsIds']):void 0x0,_0x5a97ef['createdAt']?new Date(_0x5a97ef['createdAt']):void 0x0,_0x5a97ef['diffData'],_0x5a97ef['attributes']?JSON['parse'](_0x5a97ef['attributes']):void 0x0,_0x5a97ef['fromVersion'],_0x5a97ef['toVersion'],_0x5a97ef['isEmptyCurrent']);}}class RevisionHistoryUpdateRevisionsMessage extends Message{documentId;requestId;['revisions'];static ['TYPE']='124';static ['READABLE_TYPE_NAME']='updateRevisions';static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2},'revisions':{'type':'RevisionDescriptor','id':0x3,'rule':'repeated'}}};constructor(documentId,requestId,_0x4815ab){super(),this['documentId']=documentId,this['requestId']=requestId,this['revisions']=_0x4815ab;}toJSON(){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toJSON'])};}toObject(){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toObject'])};}static create(_0x4da0df){return new RevisionHistoryUpdateRevisionsMessage(_0x4da0df['documentId'],_0x4da0df['requestId'],_0x4da0df['revisions']['map'](RevisionDescriptor['create']));}static['fromJSON'](_0x49c0c4){return new RevisionHistoryUpdateRevisionsMessage(_0x49c0c4['documentId'],_0x49c0c4['requestId'],_0x49c0c4['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryUpdateRevisionsResponse extends Message{requestId;static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(requestId){super(),this['requestId']=requestId;}toJSON(){return{'requestId':this['requestId']};}static['fromJSON'](_0xa43457){return new RevisionHistoryUpdateRevisionsResponse(_0xa43457['requestId']);}}class RevisionHistoryConnectMessage extends Message{documentId;static ['TYPE']='121';static ['READABLE_TYPE_NAME']='connectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(documentId){super(),this['documentId']=documentId;}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](object){return new RevisionHistoryConnectMessage(object['documentId']);}}class RevisionHistoryConnectResponse extends Message{['channel'];requestId;['revisions'];static ['DESCRIPTOR_NAME']='RevisionHistoryConnectResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
|
|
61
|
+
((()=>({'fields':{'channel':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2},'revisions':{'type':'RevisionDescriptor','id':0x3,'rule':'repeated'}}}))());constructor(_0x44ca47,requestId,_0x18e824){super(),this['channel']=_0x44ca47,this['requestId']=requestId,this['revisions']=_0x18e824;}toJSON(){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toJSON'])};}toObject(){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toObject'])};}static['fromJSON'](_0xd3346){return new RevisionHistoryConnectResponse(_0xd3346['channel'],_0xd3346['requestId'],_0xd3346['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryReconnectMessage extends Message{documentId;requestId;static ['TYPE']='122';static ['READABLE_TYPE_NAME']='reconnectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryReconnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2}}};constructor(documentId,requestId){super(),this['documentId']=documentId,this['requestId']=requestId;}toJSON(){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](object){return new RevisionHistoryReconnectMessage(object['documentId'],object['requestId']);}}class ChannelDisconnectedMessage extends Message{static ['TYPE']='15';static ['READABLE_TYPE_NAME']='channelDisconnected';static ['DESCRIPTOR_NAME']='ChannelDisconnectedMessage';static ['DESCRIPTOR']={'fields':{}};toJSON(){return{};}static['fromJSON'](){return new ChannelDisconnectedMessage();}}class ServiceNotConnectedError extends CKEditorCloudServicesError{constructor(_0x2a2847,context){super(_0x2a2847+'\x20Service\x20is\x20not\x20connected.',context);}}class RevisionHistoryService extends/* #__PURE__ -- @preserve */
|
|
62
|
+
EmitterMixin(){_documentId;_isConnected=!0x1;_wsGateway;['_channel'];static ['_SERVICE']=0xc;constructor(_documentId){super(),this['_documentId']=_documentId;}get isConnected(){return this['_isConnected'];}connect(wsGateway){return this['_isConnected']?Promise['resolve']():this['_connect'](wsGateway,new RevisionHistoryConnectMessage(this['_documentId']));}disconnect(){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['fire']('disconnected'),this['stopListening']());}reconnect(wsGateway,lastRequestId){if(this['isConnected'])throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',wsGateway);return this['_connect'](wsGateway,new RevisionHistoryReconnectMessage(this['_documentId'],lastRequestId));}async updateRevisions(_0x56f2d9,lastRequestId){const _0x4f174b=RevisionHistoryUpdateRevisionsMessage['create']({'documentId':this['_documentId'],'requestId':lastRequestId,'revisions':_0x56f2d9}),_0x6df56f=await this['_sendRequest'](RevisionHistoryUpdateRevisionsMessage['TYPE'],_0x4f174b),{requestId:requestId}=MessagesCompressor['decode'](_0x6df56f,RevisionHistoryUpdateRevisionsResponse);return requestId;}async getRevision(_0x5e6061){const _0x2471de=new RevisionHistoryGetRevisionMessage(this['_documentId'],_0x5e6061),_0x309b4d=await this['_sendRequest'](RevisionHistoryGetRevisionMessage['TYPE'],_0x2471de);return MessagesCompressor['decode'](_0x309b4d,RevisionHistoryGetRevisionResponse)['toObject']();}async _connect(wsGateway,_0x23446f){if(wsGateway['state']!==WEB_SOCKET_GATEWAY_STATES['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',wsGateway);this['_wsGateway']=wsGateway,this['stopListening'](wsGateway,'change:state');const _0x3d37d0=await wsGateway['_sendRequest'](0xc,_0x23446f['constructor']['TYPE'],MessagesCompressor['encode'](_0x23446f)),{channel:_0x9f15c,requestId:requestId,revisions:_0xf34ca8}=MessagesCompressor['decode'](_0x3d37d0,RevisionHistoryConnectResponse)['toObject']();return this['listenTo'](wsGateway,'change:state',(_0x30028a,_0x274774,state)=>this['_onWsGatewayStateChange'](state),{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](wsGateway,_0x9f15c),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0xf34ca8,'requestId':requestId};}_connectToChannel(wsGateway,_0x2e5bad){this['_channel']=wsGateway['_getChannel'](RevisionHistoryService['_SERVICE'],_0x2e5bad),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](RevisionHistoryUpdateRevisionsMessage['TYPE']),(event,data)=>{const {documentId:documentId,requestId:requestId,revisions:_0x89769b}=MessagesCompressor['decode'](data,RevisionHistoryUpdateRevisionsMessage)['toObject']();this['fire']('revisionsUpdated',{'documentId':documentId,'requestId':requestId,'revisionsData':_0x89769b});}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ChannelDisconnectedMessage['TYPE']),()=>{this['disconnect']();}));}_onWsGatewayStateChange(_0x6d90f1){_0x6d90f1===WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']&&this['disconnect']();}_sendRequest(method,_0x88bf7a){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,method,MessagesCompressor['encode'](_0x88bf7a));}}class AddSuggestionMessage extends Message{['id'];documentId;type;data;originalSuggestionId;attributes;static ['TYPE']='101';static ['READABLE_TYPE_NAME']='addSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesAddSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'data':{'type':'string','id':0x4},'originalSuggestionId':{'type':'string','id':0x5},'attributes':{'type':'string','id':0x6}}};constructor(_0x50a755,documentId,type,data={},originalSuggestionId=null,attributes=null){super(),this['id']=_0x50a755,this['documentId']=documentId,this['type']=type,this['data']=data,this['originalSuggestionId']=originalSuggestionId,this['attributes']=attributes;}toJSON(){return{'id':this['id'],'documentId':this['documentId'],'type':this['type'],'data':JSON['stringify'](this['data']),'originalSuggestionId':this['originalSuggestionId'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](object){return new AddSuggestionMessage(object['id'],object['documentId'],object['type'],JSON['parse'](object['data']),object['originalSuggestionId']??null,object['attributes']?JSON['parse'](object['attributes']):null);}}class AddSuggestionResponse extends Message{['id'];authorId;type;hasComments;state;data;attributes;createdAt;static ['DESCRIPTOR_NAME']='TrackChangesAddSuggestionResponse';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'authorId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'data':{'type':'string','id':0x5},'hasComments':{'type':'bool','id':0x6},'state':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8}}};constructor(_0x59bb7d,authorId,type,createdAt,hasComments,state,data={},attributes=null){super(),this['id']=_0x59bb7d,this['authorId']=authorId,this['type']=type,this['hasComments']=hasComments,this['state']=state,this['data']=data,this['attributes']=attributes,this['createdAt']=createdAt?new Date(createdAt):void 0x0;}toJSON(){return{'id':this['id'],'authorId':this['authorId'],'type':this['type'],'createdAt':this['createdAt']?.['toISOString'](),'data':JSON['stringify'](this['data']),'hasComments':this['hasComments'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](data){return new AddSuggestionResponse(data['id'],data['authorId'],data['type'],data['createdAt'],data['hasComments'],data['state'],JSON['parse'](data['data']),data['attributes']?JSON['parse'](data['attributes']):null);}}class GetSuggestionMessage extends Message{['id'];documentId;static ['TYPE']='103';static ['READABLE_TYPE_NAME']='getSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesGetSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(_0x1e0d72,documentId){super(),this['id']=_0x1e0d72,this['documentId']=documentId;}toJSON(){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](object){return new GetSuggestionMessage(object['id'],object['documentId']);}}class GetSuggestionResponse extends Message{['id'];authorId;type;hasComments;state;data;attributes;createdAt;static ['DESCRIPTOR_NAME']='TrackChangesGetSuggestionResponse';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'authorId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'data':{'type':'string','id':0x5},'hasComments':{'type':'bool','id':0x6},'state':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8}}};constructor(_0x15b060,authorId,type,createdAt,hasComments,state,data={},attributes=null){super(),this['id']=_0x15b060,this['authorId']=authorId,this['type']=type,this['hasComments']=hasComments,this['state']=state,this['data']=data,this['attributes']=attributes,this['createdAt']=new Date(createdAt);}toJSON(){return{'id':this['id'],'authorId':this['authorId'],'type':this['type'],'createdAt':this['createdAt']['toISOString'](),'data':JSON['stringify'](this['data']),'hasComments':this['hasComments'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](data){return new GetSuggestionResponse(data['id'],data['authorId'],data['type'],data['createdAt'],data['hasComments'],data['state'],JSON['parse'](data['data']),data['attributes']?JSON['parse'](data['attributes']):null);}}class GetAllSuggestionsMessage extends Message{documentId;static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(documentId){super(),this['documentId']=documentId;}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](object){return new GetAllSuggestionsMessage(object['documentId']);}}class SuggestionDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='SuggestionDescriptor';static ['DESCRIPTOR']={'fields':{'id':{'id':0x1,'type':'string'},'authorId':{'id':0x2,'type':'string'},'type':{'id':0x3,'type':'string'},'createdAt':{'id':0x4,'type':'string'},'data':{'id':0x5,'type':'string'},'hasComments':{'id':0x6,'type':'bool'},'state':{'id':0x7,'type':'string'},'attributes':{'id':0x8,'type':'string'}}};static toJSON(suggestion){return{...suggestion,'data':suggestion['data']?JSON['stringify'](suggestion['data']):suggestion['data'],'attributes':suggestion['attributes']?JSON['stringify'](suggestion['attributes']):suggestion['attributes'],'createdAt':suggestion['createdAt']?.['toISOString']()};}static['fromJSON'](suggestion){return{...suggestion,'data':suggestion['data']?JSON['parse'](suggestion['data']):suggestion['data'],'attributes':suggestion['attributes']?JSON['parse'](suggestion['attributes']):suggestion['attributes'],'createdAt':suggestion['createdAt']?new Date(suggestion['createdAt']):void 0x0};}}class GetAllSuggestionResponse extends Message{_suggestions;_suggestionsV2;suggestions;static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionsResponse';static ['DESCRIPTOR']={'fields':{'suggestions':{'type':'string','rule':'repeated','id':0x1},'suggestionsV2':{'type':'SuggestionDescriptor','rule':'repeated','id':0x2}}};constructor(_suggestions,_suggestionsV2){super(),this['_suggestions']=_suggestions,this['_suggestionsV2']=_suggestionsV2,this['suggestions']=_suggestionsV2?.['length']?_suggestionsV2:_suggestions;}toJSON(){return{'suggestions':this['_suggestions']?.['map'](suggestion=>JSON['stringify'](suggestion)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](data){return new GetAllSuggestionResponse(data['suggestions']?.['map'](_suggestionFromString),data['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}}function _suggestionFromString(suggestion){const parsedSuggestion=JSON['parse'](suggestion);return parsedSuggestion['createdAt']=parsedSuggestion['createdAt']?new Date(parsedSuggestion['createdAt']):void 0x0,parsedSuggestion;}class UpdateSuggestionMessage extends Message{['id'];documentId;hasComments;isHasCommentsModified;state;attributes;static ['TYPE']='104';static ['READABLE_TYPE_NAME']='updateSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesUpdateSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'hasComments':{'type':'bool','id':0x3},'isHasCommentsModified':{'type':'bool','id':0x4},'state':{'type':'string','id':0x5},'attributes':{'type':'string','id':0x6}}};constructor(_0x32bc50,documentId,hasComments,isHasCommentsModified,state,attributes=null){super(),this['id']=_0x32bc50,this['documentId']=documentId,this['hasComments']=hasComments,this['isHasCommentsModified']=isHasCommentsModified,this['state']=state,this['attributes']=attributes;}toJSON(){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](object){return new UpdateSuggestionMessage(object['id'],object['documentId'],object['hasComments'],object['isHasCommentsModified'],object['state'],object['attributes']?JSON['parse'](object['attributes']):null);}}let ConnectMessage$1=class ConnectMessage extends Message{documentId;static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(documentId){super(),this['documentId']=documentId;}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](object){return new ConnectMessage(object['documentId']);}},ConnectResponse$1=class ConnectResponse extends Message{['channel'];_suggestions;_suggestionsV2;suggestions;static ['DESCRIPTOR_NAME']='TrackChangesConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'suggestions':{'type':'string','rule':'repeated','id':0x2},'suggestionsV2':{'type':'SuggestionDescriptor','rule':'repeated','id':0x3}}};constructor(_0x3af2ed,_suggestions,_suggestionsV2){super(),this['channel']=_0x3af2ed,this['_suggestions']=_suggestions,this['_suggestionsV2']=_suggestionsV2,this['suggestions']=_suggestionsV2?.['length']?_suggestionsV2:_suggestions;}toJSON(){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](suggestion=>JSON['stringify'](suggestion)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](object){return new ConnectResponse(object['channel'],object['suggestions']?.['map'](suggestion=>JSON['parse'](suggestion)),object['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}};class BatchUpdateSuggestionsStateMessage extends Message{['ids'];documentId;state;static ['TYPE']='106';static ['READABLE_TYPE_NAME']='batchUpdateSuggestionsState';static ['DESCRIPTOR_NAME']='TrackChangesBatchUpdateSuggestionsStateMessage';static ['DESCRIPTOR']={'fields':{'ids':{'type':'string','rule':'repeated','id':0x1},'documentId':{'type':'string','id':0x2},'state':{'type':'string','id':0x3}}};constructor(_0x2e8db7,documentId,state){super(),this['ids']=_0x2e8db7,this['documentId']=documentId,this['state']=state;}toJSON(){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](object){return new BatchUpdateSuggestionsStateMessage(object['ids'],object['documentId'],object['state']);}}class TrackChangesService extends/* #__PURE__ -- @preserve */
|
|
63
|
+
EmitterMixin(){_documentId;_isConnected=!0x1;_wsGateway;['_channel'];static ['_SERVICE']=0xa;constructor(_documentId){super(),this['_documentId']=_documentId;}get isConnected(){return this['_isConnected'];}async connect(wsGateway){if(this['_isConnected'])return;if(wsGateway['state']!==WEB_SOCKET_GATEWAY_STATES['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',wsGateway);const connectMessage=new ConnectMessage$1(this['_documentId']);this['_wsGateway']=wsGateway,this['stopListening'](wsGateway,'change:state');const _0x1fb9cf=await wsGateway['_sendRequest'](0xa,ConnectMessage$1['TYPE'],MessagesCompressor['encode'](connectMessage)),connectResponse=MessagesCompressor['decode'](_0x1fb9cf,ConnectResponse$1);return this['listenTo'](wsGateway,'change:state',(_0x87b935,_0x5410eb,_0xb5ea54)=>this['_onWsGatewayStateChange'](_0xb5ea54),{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](wsGateway,connectResponse['channel']),this['_isConnected']=!0x0,this['fire']('connected'),connectResponse['suggestions'];}disconnect(){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async['add'](_0x186a8e,type,data,originalSuggestionId=null,attributes){const _0x9e274a=new AddSuggestionMessage(_0x186a8e,this['_documentId'],type,data,originalSuggestionId,attributes),_0x2425d8=await this['_sendRequest'](AddSuggestionMessage['TYPE'],_0x9e274a);return MessagesCompressor['decode'](_0x2425d8,AddSuggestionResponse);}async get(_0x32d03b,attempt=0x1){const _0x5e9158=new GetSuggestionMessage(_0x32d03b,this['_documentId']);try{const _0x4a97b5=await this['_sendRequest'](GetSuggestionMessage['TYPE'],_0x5e9158);return MessagesCompressor['decode'](_0x4a97b5,GetSuggestionResponse);}catch(_0x5570f6){if('CKEditorCloudServicesServerError'===_0x5570f6['name']&&'404'===_0x5570f6['code']&&attempt<0x5)return await(time=0x64*attempt,new Promise(_0x4e952f=>{setTimeout(_0x4e952f,time);})),this['get'](_0x32d03b,attempt+0x1);if('CKEditorCloudServicesServerError'===_0x5570f6['name'])throw _0x5570f6;throw CKEditorCloudServicesServerError['fromPublicError'](_0x5570f6);}var time;}async getAll(){const _0x12f9a6=new GetAllSuggestionsMessage(this['_documentId']),_0x48dcdd=await this['_sendRequest'](GetAllSuggestionsMessage['TYPE'],_0x12f9a6),{suggestions:suggestions}=MessagesCompressor['decode'](_0x48dcdd,GetAllSuggestionResponse);return suggestions;}async update(_0xbf6d7b,_0x138eca={}){const {hasComments:hasComments,state:state,attributes:attributes}=_0x138eca,isHasCommentsUpdated=void 0x0!==hasComments,_0x4a0dd5=new UpdateSuggestionMessage(_0xbf6d7b,this['_documentId'],hasComments,isHasCommentsUpdated,state,attributes);await this['_sendRequest'](UpdateSuggestionMessage['TYPE'],_0x4a0dd5);}async batchUpdateState(_0x26d514){const _0x28de1c=new BatchUpdateSuggestionsStateMessage(_0x26d514['ids'],this['_documentId'],_0x26d514['state']);await this['_sendRequest'](BatchUpdateSuggestionsStateMessage['TYPE'],_0x28de1c);}_connectToChannel(wsGateway,_0x144a3a){this['_channel']=wsGateway['_getChannel'](TrackChangesService['_SERVICE'],_0x144a3a),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateSuggestionMessage['TYPE']),(event,data)=>{const updateSuggestionMessage=MessagesCompressor['decode'](data,UpdateSuggestionMessage);this['fire']('suggestionUpdated',updateSuggestionMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ChannelDisconnectedMessage['TYPE']),()=>{this['disconnect']();}));}_onWsGatewayStateChange(_0x4d5a3c){_0x4d5a3c===WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']&&this['disconnect']();}_sendRequest(method,_0x51326f){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,method,MessagesCompressor['encode'](_0x51326f));}}class SessionsConnectResponse extends Message{['channel'];sockets;static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0x11f1ba,sockets=[]){super(),this['channel']=_0x11f1ba,this['sockets']=sockets;}toJSON(){return{'channel':this['channel'],'sockets':this['sockets']['map'](socket=>({'user':socket['userId'],'session':socket['id'],'role':socket['role'],'permissions':socket['permissions']}))};}static['fromJSON'](data){return new SessionsConnectResponse(data['channel'],data['sockets']['map'](socket=>({'id':socket['session'],'userId':socket['user'],'role':socket['role'],'permissions':socket['permissions']})));}}class SessionsConnectMessage extends Message{['id'];['sessionType'];static ['TYPE']='31';static ['READABLE_TYPE_NAME']='getConnectedSockets';static ['DESCRIPTOR_NAME']='SessionsConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'sessionType':{'type':'uint32','id':0x2}}};constructor(_0x45884b,_0x35508c){super(),this['id']=_0x45884b,this['sessionType']=_0x35508c;}toJSON(){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](data){return new SessionsConnectMessage(data['id'],data['sessionType']);}}class SocketConnectMessage extends Message{['id'];['userId'];['role'];['permissions'];static ['TYPE']='32';static ['READABLE_TYPE_NAME']='connectSocket';static ['DESCRIPTOR_NAME']='SocketConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'userId':{'type':'string','id':0x2},'role':{'type':'string','id':0x3},'permissions':{'rule':'repeated','type':'string','id':0x4}}};constructor(_0x3192c7,_0x3f992d,_0x3c1ceb,_0x31a3a3){super(),this['id']=_0x3192c7,this['userId']=_0x3f992d,this['role']=_0x3c1ceb,this['permissions']=_0x31a3a3;}toJSON(){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](data){return new SocketConnectMessage(data['id'],data['userId'],data['role'],data['permissions']);}}class SocketDisconnectMessage extends Message{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x3b1aab){super(),this['id']=_0x3b1aab;}toJSON(){return{'id':this['id']};}static['fromJSON'](data){return new SocketDisconnectMessage(data['id']);}}class SessionCollection extends Collection{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];_wsGateway;_connected;_eventsQueue=[];['_isRunning']=!0x1;constructor(_0x3eb836,_0x3f7135){super({'idProperty':'id'}),this['_id']=_0x3eb836,this['_sessionType']=_0x3f7135;}async connect(wsGateway){this['_wsGateway']=wsGateway,this['stopListening'](wsGateway,'change:state');const _0x3e2fcf=new SessionsConnectMessage(this['_id'],this['_sessionType']);let sessionsConnectResponse;try{const _0x41a5ed=await this['_wsGateway']['_sendRequest'](0x3,SessionsConnectMessage['TYPE'],MessagesCompressor['encode'](_0x3e2fcf));sessionsConnectResponse=MessagesCompressor['decode'](_0x41a5ed,SessionsConnectResponse);}catch{sessionsConnectResponse=new SessionsConnectResponse(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],sessionsConnectResponse['channel'],this['_sessionType']);const _0x2ef0f6=await async function(wsGateway,_0xbfaeeb){const _0x498e2a=_0xbfaeeb['map'](socket=>socket['userId']),_0x4f0922=_0x498e2a['length']?await User['getMany'](wsGateway,_0x498e2a):[];return _0xbfaeeb['map'](socket=>{const item={'id':socket['id'],'role':socket['role'],'permissions':socket['permissions']};return item['user']=socket['userId']&&_0x4f0922['find'](_0x5287bf=>_0x5287bf['id']===socket['userId'])||new User(),item;});}(this['_wsGateway'],sessionsConnectResponse['sockets']);for(const _0x220777 of _0x2ef0f6)super['add'](_0x220777);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0x456302,_0x53bfac,_0x35102b)=>this['_onWsGatewayStateChange'](_0x35102b),{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}disconnect(_0x4dab49=!0x0){if(this['_connected']){for(this['_connected']=!0x1,this['_eventsQueue']=[];this['length'];)super['remove'](0x0);this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_wsGateway']&&_0x4dab49&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x4dab49&&this['stopListening']();}}['add'](_0x153901,_0x3f0a5e){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x43da8b){throw new TypeError('The\x20collection\x20is\x20read-only.');}_connectToChannel(wsGateway,_0x47ac4e,_0x4280f5){this['_channel']=wsGateway['_getChannel'](_0x4280f5,_0x47ac4e),this['_channel']&&(this['_addHandler'](this['_channel'],SocketConnectMessage['TYPE'],async data=>{const socketConnectMessage=MessagesCompressor['decode'](data,SocketConnectMessage);if(-0x1===this['getIndex'](socketConnectMessage['id'])){const socket={'id':socketConnectMessage['id'],'role':socketConnectMessage['role'],'permissions':socketConnectMessage['permissions']};socketConnectMessage['userId']&&(socket['user']=await User['get'](wsGateway,socketConnectMessage['userId'])),super['add'](socket);}}),this['_addHandler'](this['_channel'],SocketDisconnectMessage['TYPE'],data=>{const socketDisconnectMessage=MessagesCompressor['decode'](data,SocketDisconnectMessage);-0x1!==this['getIndex'](socketDisconnectMessage['id'])&&super['remove'](socketDisconnectMessage['id']);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ChannelDisconnectedMessage['TYPE']),()=>{this['disconnect']();}));}async _onWsGatewayStateChange(state){state===WebSocketGateway['STATE_DISCONNECTED']&&this['disconnect'](!0x1),state===WebSocketGateway['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let event;for(this['_isRunning']=!0x0;event=this['_eventsQueue']['shift']();){const _0x54d4e8=this['_handlers']['get'](event['eventName']);_0x54d4e8&&await _0x54d4e8(event['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x46c6e8,eventType,_0x1c6201){const eventName=_0x46c6e8['getEventName'](eventType,!0x0);this['listenTo'](_0x46c6e8,eventName,async(event,data)=>{const _0x49bb87=event['name'];this['_eventsQueue']['push']({'eventName':_0x49bb87,'data':data}),await this['_runQueue']();}),this['_handlers']['set'](eventName,_0x1c6201);}}class Sessions{static async getConnectedSessions(wsGateway,_0x21db70,_0x3d53cf){const sessionCollection=new SessionCollection(_0x21db70,_0x3d53cf);return await sessionCollection['connect'](wsGateway),sessionCollection;}}class CollaborativeEditingConnectMessage extends Message{['id'];['buffers'];types;['bundleVersion'];lastOperationId;static ['TYPE']='11';static ['READABLE_TYPE_NAME']='connectToDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'bundleVersion':{'type':'string','id':0x2},'buffers':{'rule':'repeated','type':'bytes','id':0x3},'types':{'rule':'repeated','type':'uint32','id':0x4},'lastOperationId':{'type':'string','id':0x5}}};constructor(_0x444ce4,_0x4786d2,types,_0x1bf8bd,lastOperationId=''){super(),this['id']=_0x444ce4,this['buffers']=_0x4786d2,this['types']=types,this['bundleVersion']=_0x1bf8bd,this['lastOperationId']=lastOperationId;}toJSON(){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](data){return new CollaborativeEditingConnectMessage(data['id'],data['buffers'],data['types'],data['bundleVersion'],data['lastOperationId']);}}class OperationMetadataHelpers{static prepareMetadataForOperations(types,metadata){if(!types?.['length']||!metadata?.['length'])return[];const result=[];let _0x2d137a=0x0;for(const type of types)if(0x0!==type){if(!metadata[_0x2d137a])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');result['push'](metadata[_0x2d137a]),_0x2d137a++;}else result['push'](result[result['length']-0x1]);return result;}static removeUnnecessaryMetadata(types,metadata){if(!types?.['length']||!metadata?.['length'])return[];const result=[];for(let _0x21fb90=0x0;_0x21fb90<types['length'];_0x21fb90++)if(0x0!==types[_0x21fb90]){if(!metadata[_0x21fb90])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');result['push'](metadata[_0x21fb90]);}return result;}}class OperationMetadataDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='OperationMetadataDescriptor';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
|
|
64
|
+
((()=>({'fields':{'userId':{'type':'string','id':0x1},'type':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}}))());static toJSON({createdAt:createdAt,...metadata}){const parsedMetadata={...metadata};return createdAt?.['toISOString']&&(parsedMetadata['createdAt']=createdAt['toISOString']()),parsedMetadata;}static['fromJSON']({createdAt:createdAt,...metadata}){const parsedMetadata={...metadata};return createdAt&&(parsedMetadata['createdAt']=new Date(createdAt)),parsedMetadata;}}class CollaborativeEditingUpdateMessage extends Message{['id'];['buffers'];types;['baseVersion'];metadata;lastOperationId;static ['TYPE']='13';static ['READABLE_TYPE_NAME']='updateDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingUpdateMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'baseVersion':{'type':'uint32','id':0x2},'buffers':{'rule':'repeated','type':'bytes','id':0x3},'types':{'rule':'repeated','type':'uint32','id':0x4},'metadata':{'rule':'repeated','type':'OperationMetadataDescriptor','id':0x6},'lastOperationId':{'type':'string','id':0x7}}};constructor(_0x36a463,_0x189a0e,types,_0x2109d1,metadata=[],lastOperationId=''){super(),this['id']=_0x36a463,this['buffers']=_0x189a0e,this['types']=types,this['baseVersion']=_0x2109d1,this['metadata']=metadata,this['lastOperationId']=lastOperationId;}get data(){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['baseVersion'],'lastOperationId':this['lastOperationId']};}toJSON(){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'baseVersion':this['baseVersion'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'lastOperationId':this['lastOperationId']};}static['fromJSON'](data){return new CollaborativeEditingUpdateMessage(data['id'],data['buffers'],data['types'],data['baseVersion'],OperationMetadataHelpers['prepareMetadataForOperations'](data['types'],data['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),data['lastOperationId']);}}class CollaborativeEditingReconnectMessage extends Message{['id'];lastKnowVersion;['bundleVersion'];static ['TYPE']='12';static ['READABLE_TYPE_NAME']='reconnectToDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingReconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'bundleVersion':{'type':'string','id':0x2},'lastKnowVersion':{'type':'uint32','id':0x3}}};constructor(_0x3d6c64,lastKnowVersion,_0x5a8535){super(),this['id']=_0x3d6c64,this['lastKnowVersion']=lastKnowVersion,this['bundleVersion']=_0x5a8535;}toJSON(){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](data){return new CollaborativeEditingReconnectMessage(data['id'],data['lastKnowVersion'],data['bundleVersion']);}}class CollaborativeEditingResponse extends Message{['version'];['buffers'];types;metadata;lastOperationId;lastOperationAcceptedAt;static ['DESCRIPTOR_NAME']='CollaborativeEditingResponse';static ['DESCRIPTOR']={'fields':{'version':{'type':'uint32','id':0x1},'buffers':{'rule':'repeated','type':'bytes','id':0x2},'types':{'rule':'repeated','type':'uint32','id':0x3},'metadata':{'rule':'repeated','type':'OperationMetadataDescriptor','id':0x5},'lastOperationId':{'type':'string','id':0x6},'lastOperationAcceptedAt':{'type':'string','id':0x7}}};constructor(_0x41d589,_0x1d1f79=[],types=[],metadata=[],lastOperationId='',lastOperationAcceptedAt=null){super(),this['version']=_0x41d589,this['buffers']=_0x1d1f79,this['types']=types,this['metadata']=metadata,this['lastOperationId']=lastOperationId,this['lastOperationAcceptedAt']=lastOperationAcceptedAt;}get data(){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['version']-this['types']['length'],'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']};}get['wereChangesApplied'](){return!this['types']?.['length'];}toJSON(){return{'version':this['version'],'buffers':this['buffers'],'types':this['types'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']instanceof Date?this['lastOperationAcceptedAt']['toISOString']():this['lastOperationAcceptedAt']};}static['fromJSON'](data){return new CollaborativeEditingResponse(data['version'],data['buffers'],data['types'],OperationMetadataHelpers['prepareMetadataForOperations'](data['types'],data['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),data['lastOperationId'],data['lastOperationAcceptedAt']?new Date(data['lastOperationAcceptedAt']):null);}static create(data){return new CollaborativeEditingResponse(data['version'],data['buffers'],data['types'],data['metadata'],data['lastOperationId'],data['lastOperationAcceptedAt']?new Date(data['lastOperationAcceptedAt']):null);}}class CollaborativeEditingConnectResponse extends Message{['channel'];['version'];['buffers'];types;offset;metadata;initData;['sessionId'];lastOperationId;sessionCreatedAt;static ['DESCRIPTOR_NAME']='CollaborativeEditingConnectResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
|
|
65
|
+
((()=>({'fields':{'channel':{'type':'string','id':0x1},'offset':{'type':'uint32','id':0x2},'version':{'type':'uint32','id':0x3},'buffers':{'rule':'repeated','type':'bytes','id':0x4},'types':{'rule':'repeated','type':'uint32','id':0x5},'metadata':{'rule':'repeated','type':OperationMetadataDescriptor['DESCRIPTOR_NAME'],'id':0x7},'initData':{'type':'string','id':0x8},'isInitialized':{'type':'bool','id':0x9},'sessionId':{'type':'string','id':0xa},'lastOperationId':{'type':'string','id':0xb},'sessionCreatedAt':{'type':'string','id':0xc}}}))());constructor(_0xad3eeb,_0x520e55,_0x23c7e4=[],types=[],offset=0x0,metadata=[],initData=null,_0x33201f='',lastOperationId='',sessionCreatedAt=null){super(),this['channel']=_0xad3eeb,this['version']=_0x520e55,this['buffers']=_0x23c7e4,this['types']=types,this['offset']=offset,this['metadata']=metadata,this['initData']=initData,this['sessionId']=_0x33201f,this['lastOperationId']=lastOperationId,this['sessionCreatedAt']=sessionCreatedAt;}get data(){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['version']-this['types']['length'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']};}get['wereChangesApplied'](){return!this['types']?.['length']&&null===this['initData'];}toJSON(){return{'channel':this['channel'],'version':this['version'],'sessionId':this['sessionId'],'buffers':this['buffers'],'types':this['types'],'offset':this['offset'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'initData':this['initData']??'','isInitialized':'string'==typeof this['initData'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']?this['sessionCreatedAt']['toISOString']():null};}static create(_0x26ae79){return new CollaborativeEditingConnectResponse(_0x26ae79['channel'],_0x26ae79['version'],_0x26ae79['buffers'],_0x26ae79['types'],_0x26ae79['offset'],_0x26ae79['metadata'],_0x26ae79['initData'],_0x26ae79['sessionId'],_0x26ae79['lastOperationId'],_0x26ae79['sessionCreatedAt']);}static['fromJSON'](data){let initData=null;return!0x0===data['isInitialized']?initData=data['initData']??'':'boolean'!=typeof data['isInitialized']&&data['initData']&&(initData=data['initData']),CollaborativeEditingConnectResponse['create']({'channel':data['channel'],'version':data['version'],'buffers':data['buffers'],'types':data['types'],'offset':data['offset'],'metadata':OperationMetadataHelpers['prepareMetadataForOperations'](data['types'],data['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),'initData':initData,'sessionId':data['sessionId'],'lastOperationId':data['lastOperationId'],'sessionCreatedAt':data['sessionCreatedAt']?new Date(data['sessionCreatedAt']):null});}}class GetDocumentDetailsResponse extends Message{lastDocumentSession;currentDocumentSession;static ['DESCRIPTOR_NAME']='GetDocumentDetailsResponse';static ['DESCRIPTOR']={'fields':{'lastDocumentSessionId':{'type':'string','id':0x1},'lastDocumentSessionOperationId':{'type':'string','id':0x2},'currentDocumentSessionId':{'type':'string','id':0x3},'currentDocumentSessionVersion':{'type':'uint32','id':0x4},'currentDocumentSessionOperationId':{'type':'string','id':0x5}}};constructor(lastDocumentSession,currentDocumentSession){super(),this['lastDocumentSession']=lastDocumentSession,this['currentDocumentSession']=currentDocumentSession;}get data(){return{'lastDocumentSessionId':this['lastDocumentSession']?.['id'],'lastDocumentSessionOperationId':this['lastDocumentSession']?.['lastOperationId'],'currentDocumentSessionId':this['currentDocumentSession']?.['id'],'currentDocumentSessionVersion':this['currentDocumentSession']?.['version'],'currentDocumentSessionOperationId':this['currentDocumentSession']?.['lastOperationId']};}toJSON(){return{'lastDocumentSessionId':this['lastDocumentSession']?.['id'],'lastDocumentSessionOperationId':this['lastDocumentSession']?.['lastOperationId'],'currentDocumentSessionId':this['currentDocumentSession']?.['id'],'currentDocumentSessionVersion':this['currentDocumentSession']?.['version'],'currentDocumentSessionOperationId':this['currentDocumentSession']?.['lastOperationId']};}static['fromJSON'](data){const lastDocumentSession=data['lastDocumentSessionId']?{'id':data['lastDocumentSessionId'],'lastOperationId':data['lastDocumentSessionOperationId']}:void 0x0,currentDocumentSession=data['currentDocumentSessionId']?{'lastOperationId':data['currentDocumentSessionOperationId'],'version':data['currentDocumentSessionVersion'],'id':data['currentDocumentSessionId']}:void 0x0;return new GetDocumentDetailsResponse(lastDocumentSession,currentDocumentSession);}}class GetDocumentDetailsMessage extends Message{documentId;static ['TYPE']='14';static ['READABLE_TYPE_NAME']='getDocumentDetails';static ['DESCRIPTOR_NAME']='GetDocumentDetailsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'environmentId':{'type':'string','id':0x2}}};constructor(documentId){super(),this['documentId']=documentId;}get data(){return{'documentId':this['documentId']};}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](data){return new GetDocumentDetailsMessage(data['documentId']);}}class CollaborativeEditingService extends/* #__PURE__ -- @preserve */
|
|
66
|
+
EmitterMixin(){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];_isConnected;_wsGateway;['_channel'];_connectedSessions;constructor(_0x3cbd4b,_0x273b32){if(super(),!_0x3cbd4b)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x273b32??v4(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x3cbd4b;}getId(){return this['_id'];}isConnected(){return this['_isConnected'];}connect(wsGateway,data={'buffers':[],'types':[]},lastOperationId){const _0x49ce48=new CollaborativeEditingConnectMessage(this['getId'](),data['buffers'],data['types'],this['_bundleVersion'],lastOperationId);return this['_connect'](wsGateway,_0x49ce48);}reconnect(wsGateway,lastKnowVersion){if(this['isConnected']())throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',wsGateway);return this['_connect'](wsGateway,new CollaborativeEditingReconnectMessage(this['getId'](),lastKnowVersion,this['_bundleVersion']));}disconnect(){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_connectedSessions']&&(this['_connectedSessions']['disconnect'](),this['_connectedSessions']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async getDocumentDetails(){const _0x4daaf2=new GetDocumentDetailsMessage(this['getId']());if(!this['_wsGateway'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x5ed579=await this['_wsGateway']['_sendRequest'](0x1,GetDocumentDetailsMessage['TYPE'],MessagesCompressor['encode'](_0x4daaf2));return MessagesCompressor['decode'](_0x5ed579,GetDocumentDetailsResponse);}async sendOperations(data,_0x4817ad,lastOperationId){if(!data?.['types']?.['length'])throw new CKEditorCloudServicesError('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x3a41ca='number'==typeof _0x4817ad?_0x4817ad:parseInt(_0x4817ad);if(!Number['isInteger'](_0x3a41ca)||_0x3a41ca<0x0)throw new CKEditorCloudServicesError('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x374c1d=new CollaborativeEditingUpdateMessage(this['getId'](),data['buffers'],data['types'],_0x3a41ca,[],lastOperationId);if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x2ba7b1=await this['_wsGateway']['_sendRequest'](0x1,CollaborativeEditingUpdateMessage['TYPE'],MessagesCompressor['encode'](_0x374c1d));return MessagesCompressor['decode'](_0x2ba7b1,CollaborativeEditingResponse);}async getConnectedSessions(){if(!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);return this['_connectedSessions']??=await Sessions['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1),this['_connectedSessions'];}static getConnectedSessions(wsGateway,_0x54dc3a){return Sessions['getConnectedSessions'](wsGateway,_0x54dc3a,0x1);}async _connect(wsGateway,_0x104326){if(this['isConnected']())return;if(wsGateway['state']!==WebSocketGateway['STATE_CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',wsGateway);this['_wsGateway']=wsGateway,this['stopListening'](wsGateway,'change:state');const _0x2d9d97=await wsGateway['_sendRequest'](0x1,_0x104326['constructor']['TYPE'],MessagesCompressor['encode'](_0x104326)),collaborativeEditingConnectResponse=MessagesCompressor['decode'](_0x2d9d97,CollaborativeEditingConnectResponse);return this['listenTo'](wsGateway,'change:state',(_0x11576e,_0x44c898,_0x34c1d9)=>this['_onWsGatewayStateChange'](_0x34c1d9),{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](wsGateway,collaborativeEditingConnectResponse['channel']),this['_isConnected']=!0x0,this['fire']('connected'),collaborativeEditingConnectResponse;}_connectToChannel(wsGateway,_0x387790){this['_channel']=wsGateway['_getChannel'](0x1,_0x387790),this['listenTo'](this['_channel'],this['_channel']['getEventName'](CollaborativeEditingUpdateMessage['TYPE']),(event,data)=>{const updateMessage=MessagesCompressor['decode'](data,CollaborativeEditingUpdateMessage);this['fire']('operationsReceived',updateMessage['baseVersion'],updateMessage['data'],updateMessage['metadata']);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ChannelDisconnectedMessage['TYPE']),()=>{this['disconnect']();});}_onWsGatewayStateChange(_0x3a2969){_0x3a2969===WebSocketGateway['STATE_DISCONNECTED']&&this['disconnect']();}}class CommentDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'commentThreadId':{'id':0x2,'type':'string'},'userId':{'id':0x3,'type':'string'},'content':{'id':0x4,'type':'string'},'documentId':{'id':0x5,'type':'string'},'createdAt':{'id':0x6,'type':'string'},'attributes':{'id':0x7,'type':'string'}}};static toJSON(comment){return{...comment,'createdAt':comment['createdAt']?.['toISOString'](),'attributes':comment['attributes']?JSON['stringify'](comment['attributes']):null};}static['fromJSON'](comment){return{...comment,'createdAt':new Date(comment['createdAt']),'attributes':comment['attributes']?JSON['parse'](comment['attributes']):null};}}class CommentsThreadDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentsThreadDescriptor';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'comments':{'type':'CommentDescriptor','rule':'repeated','id':0x2},'resolvedAt':{'type':'string','id':0x3},'resolvedBy':{'type':'string','id':0x4},'context':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'deletedAt':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8},'unlinkedAt':{'type':'string','id':0x9}}};static toJSON(thread){return{...thread,'createdAt':thread['createdAt']?.['toISOString'](),'deletedAt':thread['deletedAt']?.['toISOString'](),'resolvedAt':thread['resolvedAt']?.['toISOString'](),'attributes':thread['attributes']?JSON['stringify'](thread['attributes']):null,'context':thread['context']?JSON['stringify'](thread['context']):thread['context'],'comments':thread['comments']?.['map'](CommentDescriptor['toJSON']),'unlinkedAt':thread['unlinkedAt']?.['toISOString']()};}static['fromJSON'](thread){return{...thread,'createdAt':thread['createdAt']?new Date(thread['createdAt']):void 0x0,'deletedAt':thread['deletedAt']?new Date(thread['deletedAt']):void 0x0,'resolvedAt':thread['resolvedAt']?new Date(thread['resolvedAt']):void 0x0,'attributes':thread['attributes']?JSON['parse'](thread['attributes']):null,'context':thread['context']?JSON['parse'](thread['context']):void 0x0,'comments':thread['comments']?.['map'](CommentDescriptor['fromJSON']),'unlinkedAt':thread['unlinkedAt']?new Date(thread['unlinkedAt']):void 0x0};}}class AddCommentMessage extends Message{documentId;commentThreadId;content;commentId;['userId'];attributes;commentThread;createdAt;static ['TYPE']='91';static ['READABLE_TYPE_NAME']='addComment';static ['DESCRIPTOR_NAME']='CommentsV2AddCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'content':{'type':'string','id':0x2},'documentId':{'type':'string','id':0x3},'commentId':{'type':'string','id':0x4},'createdAt':{'type':'string','id':0x5},'userId':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'commentThread':{'type':'CommentsThreadDescriptor','id':0x8}}};constructor(documentId,commentThreadId,content,commentId='',createdAt,_0x50f68e='',attributes=null,commentThread){super(),this['documentId']=documentId,this['commentThreadId']=commentThreadId,this['content']=content,this['commentId']=commentId,this['userId']=_0x50f68e,this['attributes']=attributes,this['commentThread']=commentThread,this['createdAt']=createdAt?new Date(createdAt):'';}toJSON(){return{'commentThreadId':this['commentThreadId'],'content':this['content'],'documentId':this['documentId'],'commentId':this['commentId'],'createdAt':this['createdAt']instanceof Date?this['createdAt']['toISOString']():this['createdAt'],'userId':this['userId'],'attributes':JSON['stringify'](this['attributes']),'commentThread':this['commentThread']?CommentsThreadDescriptor['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](object){return new AddCommentMessage(object['documentId'],object['commentThreadId'],object['content'],object['commentId']?object['commentId']:void 0x0,object['createdAt']?new Date(object['createdAt']):void 0x0,object['userId']?object['userId']:void 0x0,object['attributes']?JSON['parse'](object['attributes']):{},object['commentThread']?CommentsThreadDescriptor['fromJSON'](object['commentThread']):void 0x0);}}class AddCommentResponse extends Message{commentThreadId;commentId;createdAt;static ['DESCRIPTOR_NAME']='CommentsV2AddCommentResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}};constructor(commentThreadId,commentId,createdAt){super(),this['commentThreadId']=commentThreadId,this['commentId']=commentId,this['createdAt']=new Date(createdAt);}toJSON(){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](data){return new AddCommentResponse(data['commentThreadId'],data['commentId'],data['createdAt']);}}class ConnectMessage extends Message{documentId;static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(documentId){super(),this['documentId']=documentId;}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](object){return new ConnectMessage(object['documentId']);}}class ConnectResponse extends Message{['channel'];_threads;_threadsV2;threads;static ['DESCRIPTOR_NAME']='CommentsV2ConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'threads':{'type':'string','rule':'repeated','id':0x2},'threadsV2':{'type':'CommentsThreadDescriptor','rule':'repeated','id':0x3}}};constructor(_0x25ab07,_threads,_threadsV2){super(),this['channel']=_0x25ab07,this['_threads']=_threads,this['_threadsV2']=_threadsV2,this['threads']=_threadsV2?.['length']?_threadsV2:_threads;}toJSON(){return{'channel':this['channel'],'threads':this['_threads']?.['map'](thread=>JSON['stringify'](thread)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](object){return new ConnectResponse(object['channel'],object['threads']?.['map'](thread=>JSON['parse'](thread)),object['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class RemoveCommentMessage extends Message{documentId;commentThreadId;commentId;static ['TYPE']='95';static ['READABLE_TYPE_NAME']='removeComment';static ['DESCRIPTOR_NAME']='CommentsV2RemoveCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'documentId':{'type':'string','id':0x3}}};constructor(documentId,commentThreadId,commentId){super(),this['documentId']=documentId,this['commentThreadId']=commentThreadId,this['commentId']=commentId;}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](object){return new RemoveCommentMessage(object['documentId'],object['commentThreadId'],object['commentId']);}}class RemoveCommentThreadMessage extends Message{documentId;commentThreadId;static ['TYPE']='97';static ['READABLE_TYPE_NAME']='removeCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2RemoveCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(documentId,commentThreadId){super(),this['documentId']=documentId,this['commentThreadId']=commentThreadId;}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](object){return new RemoveCommentThreadMessage(object['documentId'],object['commentThreadId']);}}class UpdateCommentMessage extends Message{documentId;commentThreadId;commentId;content;attributes;isAttributesUpdated;commentThread;static ['TYPE']='96';static ['READABLE_TYPE_NAME']='updateComment';static ['DESCRIPTOR_NAME']='CommentsV2UpdateCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'content':{'type':'string','id':0x3},'documentId':{'type':'string','id':0x4},'attributes':{'type':'string','id':0x5},'isAttributesUpdated':{'type':'bool','id':0x6},'commentThread':{'type':'CommentsThreadDescriptor','id':0x7}}};constructor(documentId,commentThreadId,commentId,content,attributes=null,isAttributesUpdated=!0x1,commentThread){super(),this['documentId']=documentId,this['commentThreadId']=commentThreadId,this['commentId']=commentId,this['content']=content,this['attributes']=attributes,this['isAttributesUpdated']=isAttributesUpdated,this['commentThread']=commentThread;}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'content':this['content'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):null,'isAttributesUpdated':this['isAttributesUpdated'],'commentThread':this['commentThread']?CommentsThreadDescriptor['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](object){return new UpdateCommentMessage(object['documentId'],object['commentThreadId'],object['commentId'],object['content'],object['attributes']?JSON['parse'](object['attributes']):null,object['isAttributesUpdated'],object['commentThread']?CommentsThreadDescriptor['fromJSON'](object['commentThread']):void 0x0);}}class GetCommentThreadMessage extends Message{commentThreadId;documentId;static ['TYPE']='93';static ['READABLE_TYPE_NAME']='getComment';static ['DESCRIPTOR_NAME']='CommentsV2GetCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(commentThreadId,documentId){super(),this['commentThreadId']=commentThreadId,this['documentId']=documentId;}toJSON(){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](object){return new GetCommentThreadMessage(object['commentThreadId'],object['documentId']);}}class GetCommentThreadResponse extends Message{commentThreadId;_comments;_commentsV2;['resolvedBy'];comments;createdAt;deletedAt;resolvedAt;attributes;context;unlinkedAt;static ['DESCRIPTOR_NAME']='CommentsV2GetCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'comments':{'type':'string','rule':'repeated','id':0x2},'commentsV2':{'type':'CommentDescriptor','rule':'repeated','id':0x3},'resolvedAt':{'type':'string','id':0x4},'resolvedBy':{'type':'string','id':0x5},'context':{'type':'string','id':0x6},'createdAt':{'type':'string','id':0x7},'deletedAt':{'type':'string','id':0x8},'attributes':{'type':'string','id':0x9},'unlinkedAt':{'type':'string','id':0xa}}};constructor(commentThreadId,_comments,_commentsV2,attributes,_0xbad5a0,context,createdAt,deletedAt,resolvedAt,unlinkedAt){super(),this['commentThreadId']=commentThreadId,this['_comments']=_comments,this['_commentsV2']=_commentsV2,this['resolvedBy']=_0xbad5a0,this['comments']=_commentsV2?.['length']?_commentsV2:_comments,this['createdAt']=createdAt?new Date(createdAt):void 0x0,this['deletedAt']='string'==typeof deletedAt?new Date(deletedAt):deletedAt,this['resolvedAt']='string'==typeof resolvedAt?new Date(resolvedAt):resolvedAt,this['unlinkedAt']='string'==typeof unlinkedAt?new Date(unlinkedAt):unlinkedAt,this['attributes']='string'==typeof attributes?JSON['parse'](attributes):attributes,this['context']='string'==typeof context?JSON['parse'](context):context;}toJSON(){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](comment=>JSON['stringify'](comment)),'commentsV2':this['_commentsV2']?.['map'](CommentDescriptor['toJSON']),'attributes':this['attributes']?JSON['stringify'](this['attributes']):this['attributes'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'resolvedBy':this['resolvedBy'],'createdAt':this['createdAt']?.['toISOString'](),'deletedAt':this['deletedAt']?.['toISOString'](),'resolvedAt':this['resolvedAt']?.['toISOString'](),'unlinkedAt':this['unlinkedAt']?.['toISOString']()};}static['fromJSON'](object){return new GetCommentThreadResponse(object['commentThreadId'],object['comments']?.['map'](comment=>function(commentString){const comment=JSON['parse'](commentString);return{...comment,'createdAt':new Date(comment['createdAt'])};}(comment)),object['commentsV2']?.['map'](CommentDescriptor['fromJSON']),object['attributes']?JSON['parse'](object['attributes']):object['attributes'],object['resolvedBy'],object['context']?JSON['parse'](object['context']):object['context'],object['createdAt'],object['deletedAt'],object['resolvedAt'],object['unlinkedAt']);}}class GetDocumentThreadsMessage extends Message{documentId;static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(documentId){super(),this['documentId']=documentId;}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](object){return new GetDocumentThreadsMessage(object['documentId']);}}class GetDocumentThreadsResponse extends Message{_threads;_threadsV2;threads;static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsResponse';static ['DESCRIPTOR']={'fields':{'threads':{'type':'string','rule':'repeated','id':0x1},'threadsV2':{'type':'CommentsThreadDescriptor','rule':'repeated','id':0x2}}};constructor(_threads,_threadsV2){super(),this['_threads']=_threads,this['_threadsV2']=_threadsV2,this['threads']=_threadsV2?.['length']?_threadsV2:_threads;}toJSON(){return{'threads':this['_threads']?.['map'](thread=>JSON['stringify'](thread)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](object){return new GetDocumentThreadsResponse(object['threads']?.['map'](thread=>function(threadString){const threadRaw=JSON['parse'](threadString),thread={...threadRaw};return threadRaw['comments']&&(thread['comments']=threadRaw['comments']?.['map'](comment=>({...comment,'createdAt':new Date(comment['createdAt'])}))),thread;}(thread)),object['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class CommentThreadAddedCommentDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentThreadAddedCommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'createdAt':{'id':0x2,'type':'string'}}};static toJSON(comment){return{'commentId':comment['commentId'],'createdAt':comment['createdAt']?.['toISOString']()};}static['fromJSON'](comment){return{'commentId':comment['commentId'],'createdAt':new Date(comment['createdAt'])};}}class AddCommentThreadResponse extends Message{commentThreadId;comments;createdAt;static ['DESCRIPTOR_NAME']='CommentsV2AddCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'createdAt':{'type':'string','id':0x2},'comments':{'type':'CommentThreadAddedCommentDescriptor','rule':'repeated','id':0x3}}};constructor(commentThreadId,createdAt,comments=[]){super(),this['commentThreadId']=commentThreadId,this['comments']=comments,this['createdAt']=new Date(createdAt);}toJSON(){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](comment=>CommentThreadAddedCommentDescriptor['toJSON'](comment))};}static['fromJSON'](data){return new AddCommentThreadResponse(data['commentThreadId'],data['createdAt'],data['comments']['map'](comment=>CommentThreadAddedCommentDescriptor['fromJSON'](comment)));}}class AddCommentThreadMessage extends Message{documentId;commentThreadId;comments;context;['resolvedBy'];attributes;createdAt;resolvedAt;deletedAt;static ['TYPE']='140';static ['READABLE_TYPE_NAME']='addCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2AddCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'commentThreadId':{'type':'string','id':0x2},'context':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'resolvedAt':{'type':'string','id':0x5},'resolvedBy':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'deletedAt':{'type':'string','id':0x8},'comments':{'type':'CommentDescriptor','rule':'repeated','id':0x9}}};constructor(documentId,commentThreadId,comments=[],context,_0x52965f=null,createdAt=null,resolvedAt=null,deletedAt=null,attributes=null){super(),this['documentId']=documentId,this['commentThreadId']=commentThreadId,this['comments']=comments,this['context']=context,this['resolvedBy']=_0x52965f,this['attributes']=attributes,this['createdAt']=createdAt?new Date(createdAt):'',this['resolvedAt']=resolvedAt?new Date(resolvedAt):'',this['deletedAt']=deletedAt?new Date(deletedAt):'';}toJSON(){return{'commentThreadId':this['commentThreadId'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']instanceof Date?this['resolvedAt']['toISOString']():this['resolvedAt'],'deletedAt':this['deletedAt']instanceof Date?this['deletedAt']['toISOString']():this['deletedAt'],'createdAt':this['createdAt']instanceof Date?this['createdAt']['toISOString']():this['createdAt'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):this['attributes'],'comments':this['comments']?.['map'](_0x3dfe9c=>CommentDescriptor['toJSON'](_0x3dfe9c))};}static['fromJSON'](object){return new AddCommentThreadMessage(object['documentId'],object['commentThreadId'],object['comments']?.['map'](_0x5e4699=>CommentDescriptor['fromJSON']({..._0x5e4699,'documentId':object['documentId'],'commentThreadId':object['commentThreadId']})),object['context']?JSON['parse'](object['context']):object['context'],object['resolvedBy'],object['createdAt']?new Date(object['createdAt']):void 0x0,object['resolvedAt']?new Date(object['resolvedAt']):void 0x0,object['deletedAt']?new Date(object['deletedAt']):void 0x0,object['attributes']?JSON['parse'](object['attributes']):object['attributes']);}}class ResolveCommentThreadMessage extends Message{commentThreadId;documentId;['resolvedBy'];resolvedAt;static ['TYPE']='142';static ['READABLE_TYPE_NAME']='resolveCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2ResolveCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'resolvedBy':{'type':'string','id':0x3},'resolvedAt':{'type':'string','id':0x4}}};constructor(commentThreadId,documentId,_0x31bfd2,resolvedAt){super(),this['commentThreadId']=commentThreadId,this['documentId']=documentId,this['resolvedBy']=_0x31bfd2,this['resolvedAt']=resolvedAt?new Date(resolvedAt):void 0x0;}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](object){return new ResolveCommentThreadMessage(object['commentThreadId'],object['documentId'],object['resolvedBy'],object['resolvedAt']);}}class ReopenCommentThreadMessage extends Message{commentThreadId;documentId;static ['TYPE']='141';static ['READABLE_TYPE_NAME']='reopenCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2ReopenCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(commentThreadId,documentId){super(),this['commentThreadId']=commentThreadId,this['documentId']=documentId;}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](object){return new ReopenCommentThreadMessage(object['commentThreadId'],object['documentId']);}}class UpdateCommentThreadMessage extends Message{commentThreadId;documentId;context;attributes;unlinkedAt;static ['TYPE']='143';static ['READABLE_TYPE_NAME']='updateCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2UpdateCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'context':{'type':'string','id':0x3},'attributes':{'type':'string','id':0x4},'unlinkedAt':{'type':'string','id':0x5}}};constructor(commentThreadId,documentId,context,attributes=null,unlinkedAt=null){super(),this['commentThreadId']=commentThreadId,this['documentId']=documentId,this['context']=context,this['attributes']=attributes,this['unlinkedAt']=unlinkedAt?new Date(unlinkedAt):'';}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):null,'unlinkedAt':this['unlinkedAt']instanceof Date?this['unlinkedAt']['toISOString']():this['unlinkedAt']};}static['fromJSON'](object){return new UpdateCommentThreadMessage(object['commentThreadId'],object['documentId'],object['context']?JSON['parse'](object['context']):object['context'],object['attributes']?JSON['parse'](object['attributes']):null,object['unlinkedAt']?new Date(object['unlinkedAt']):null);}}class ResolveCommentThreadResponse extends Message{commentThreadId;documentId;['resolvedBy'];resolvedAt;static ['DESCRIPTOR_NAME']='CommentsV2ResolveCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'resolvedAt':{'type':'string','id':0x3},'resolvedBy':{'type':'string','id':0x4}}};constructor(commentThreadId,documentId,_0x493398,resolvedAt){super(),this['commentThreadId']=commentThreadId,this['documentId']=documentId,this['resolvedBy']=_0x493398,this['resolvedAt']=new Date(resolvedAt);}toJSON(){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](data){return new ResolveCommentThreadResponse(data['commentThreadId'],data['documentId'],data['resolvedBy'],data['resolvedAt']);}}class CommentsService extends/* #__PURE__ -- @preserve */
|
|
67
|
+
EmitterMixin(){_documentId;_isConnected=!0x1;_wsGateway;['_channel'];_connectedSessions;static ['_SERVICE']=0x9;constructor(_documentId){super(),this['_documentId']=_documentId;}get isConnected(){return this['_isConnected'];}async connect(wsGateway){if(this['_isConnected'])return;if(wsGateway['state']!==WEB_SOCKET_GATEWAY_STATES['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',wsGateway);const connectMessage=new ConnectMessage(this['_documentId']);this['_wsGateway']=wsGateway,this['stopListening'](wsGateway,'change:state');const _0x4ff4fd=await wsGateway['_sendRequest'](0x9,ConnectMessage['TYPE'],MessagesCompressor['encode'](connectMessage)),{channel:_0x40fef5,threads:threads}=MessagesCompressor['decode'](_0x4ff4fd,ConnectResponse);return this['listenTo'](wsGateway,'change:state',(_0x4038a5,_0x5b3b38,_0x5d1a6e)=>this['_onWsGatewayStateChange'](_0x5d1a6e),{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](wsGateway,_0x40fef5),this['_isConnected']=!0x0,this['fire']('connected'),threads;}disconnect(){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_connectedSessions']&&(this['_connectedSessions']['disconnect'](),this['_connectedSessions']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async addComment(commentThreadId,commentId,content,attributes){const _0x238726=new AddCommentMessage(this['_documentId'],commentThreadId,content,commentId,void 0x0,void 0x0,attributes),_0x4e1322=await this['_sendRequest'](AddCommentMessage['TYPE'],_0x238726);return MessagesCompressor['decode'](_0x4e1322,AddCommentResponse);}async updateComment(commentThreadId,commentId,content,attributes){const isAttributesUpdated=void 0x0!==attributes,_0x166409=new UpdateCommentMessage(this['_documentId'],commentThreadId,commentId,content,attributes,isAttributesUpdated);await this['_sendRequest'](UpdateCommentMessage['TYPE'],_0x166409);}async removeComment(commentThreadId,commentId){const _0x1b8625=new RemoveCommentMessage(this['_documentId'],commentThreadId,commentId);await this['_sendRequest'](RemoveCommentMessage['TYPE'],_0x1b8625);}async removeCommentThread(commentThreadId){const _0x5081dd=new RemoveCommentThreadMessage(this['_documentId'],commentThreadId);await this['_sendRequest'](RemoveCommentThreadMessage['TYPE'],_0x5081dd);}async addCommentThread(addCommentThreadParams){const _0x3b7a0b=new AddCommentThreadMessage(this['_documentId'],addCommentThreadParams['commentThreadId'],addCommentThreadParams['comments']?.['map'](comment=>({...comment,'documentId':this['_documentId'],'commentThreadId':addCommentThreadParams['commentThreadId']})),addCommentThreadParams['context'],addCommentThreadParams['resolvedBy'],addCommentThreadParams['createdAt'],addCommentThreadParams['resolvedAt'],addCommentThreadParams['deletedAt'],addCommentThreadParams['attributes']),_0x23906e=await this['_sendRequest'](AddCommentThreadMessage['TYPE'],_0x3b7a0b);return MessagesCompressor['decode'](_0x23906e,AddCommentThreadResponse);}async resolveCommentThread(commentThreadId){const _0xbf9e36=new ResolveCommentThreadMessage(commentThreadId,this['_documentId']),_0xd15b1a=await this['_sendRequest'](ResolveCommentThreadMessage['TYPE'],_0xbf9e36);return MessagesCompressor['decode'](_0xd15b1a,ResolveCommentThreadResponse);}async reopenCommentThread(commentThreadId){const _0x20b0b3=new ReopenCommentThreadMessage(commentThreadId,this['_documentId']);await this['_sendRequest'](ReopenCommentThreadMessage['TYPE'],_0x20b0b3);}async updateCommentThread(_0x58266a){const _0x1e9cfc=new UpdateCommentThreadMessage(_0x58266a['commentThreadId'],this['_documentId'],_0x58266a['context'],_0x58266a['attributes'],_0x58266a['unlinkedAt']);await this['_sendRequest'](UpdateCommentThreadMessage['TYPE'],_0x1e9cfc);}async getCommentThread(commentThreadId,attempt=0x1){const _0x4e115d=new GetCommentThreadMessage(commentThreadId,this['_documentId']);try{const _0x115ca4=await this['_sendRequest'](GetCommentThreadMessage['TYPE'],_0x4e115d),commentThreadResponse=MessagesCompressor['decode'](_0x115ca4,GetCommentThreadResponse);return{'commentThreadId':commentThreadResponse['commentThreadId'],'comments':commentThreadResponse['comments'],'attributes':commentThreadResponse['attributes'],'context':commentThreadResponse['context'],'resolvedAt':commentThreadResponse['resolvedAt'],'resolvedBy':commentThreadResponse['resolvedBy'],'deletedAt':commentThreadResponse['deletedAt'],'unlinkedAt':commentThreadResponse['unlinkedAt']};}catch(_0x300e5d){if('CKEditorCloudServicesServerError'===_0x300e5d['name']&&'404'===_0x300e5d['code']&&attempt<0x5)return await(time=0x64*attempt,new Promise(_0x58e22d=>{setTimeout(_0x58e22d,time);})),this['getCommentThread'](commentThreadId,attempt+0x1);if('CKEditorCloudServicesServerError'===_0x300e5d['name'])throw _0x300e5d;throw CKEditorCloudServicesServerError['fromPublicError'](_0x300e5d);}var time;}async getDocumentThreads(){const _0x28e1eb=new GetDocumentThreadsMessage(this['_documentId']),_0x498d4a=await this['_sendRequest'](GetDocumentThreadsMessage['TYPE'],_0x28e1eb),{threads:threads}=MessagesCompressor['decode'](_0x498d4a,GetDocumentThreadsResponse);return{'threads':threads};}async getConnectedSessions(){if(!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_connectedSessions']??=await Sessions['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9),this['_connectedSessions'];}_connectToChannel(wsGateway,_0x176206){this['_channel']=wsGateway['_getChannel'](CommentsService['_SERVICE'],_0x176206),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentMessage['TYPE']),(event,data)=>{const addCommentMessage=MessagesCompressor['decode'](data,AddCommentMessage);this['fire']('commentAdded',addCommentMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentMessage['TYPE']),(event,data)=>{const removeCommentMessage=MessagesCompressor['decode'](data,RemoveCommentMessage);this['fire']('commentRemoved',removeCommentMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentMessage['TYPE']),(event,data)=>{const updateCommentMessage=MessagesCompressor['decode'](data,UpdateCommentMessage);this['fire']('commentUpdated',updateCommentMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentThreadMessage['TYPE']),(event,data)=>{const removeCommentThreadMessage=MessagesCompressor['decode'](data,RemoveCommentThreadMessage);this['fire']('commentThreadRemoved',removeCommentThreadMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentThreadMessage['TYPE']),(event,data)=>{const addCommentThreadMessage=MessagesCompressor['decode'](data,AddCommentThreadMessage);this['fire']('commentThreadAdded',addCommentThreadMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentThreadMessage['TYPE']),(event,data)=>{const updateCommentThreadMessage=MessagesCompressor['decode'](data,UpdateCommentThreadMessage);this['fire']('commentThreadUpdated',updateCommentThreadMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ResolveCommentThreadMessage['TYPE']),(event,data)=>{const resolveCommentThreadMessage=MessagesCompressor['decode'](data,ResolveCommentThreadMessage);this['fire']('commentThreadResolved',resolveCommentThreadMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ReopenCommentThreadMessage['TYPE']),(event,data)=>{const reopenCommentThreadMessage=MessagesCompressor['decode'](data,ReopenCommentThreadMessage);this['fire']('commentThreadReopened',reopenCommentThreadMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ChannelDisconnectedMessage['TYPE']),()=>{this['disconnect']();}));}_onWsGatewayStateChange(_0x21b81f){_0x21b81f===WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']&&this['disconnect']();}_sendRequest(method,_0x37d73d){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,method,MessagesCompressor['encode'](_0x37d73d));}}export{CKEditorCloudServicesError,CollaborativeEditingService,CommentsService,EditorService,RevisionHistoryService,TrackChangesService,User,WEB_SOCKET_GATEWAY_STATES,WebSocketGateway};
|