UNPKG

@ckeditor/ckeditor5-operations-compressor

Version:

CKEditor 5 operations compressor for real-time collaboration.

24 lines • 95.7 kB
/* * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * * * * * +---------------------------------------------------------------------------------+ * | | * | Hello stranger! | * | | * | | * | What you're currently looking at is the source code of a legally protected, | * | proprietary software. Any attempts to deobfuscate / disassemble this code | * | are forbidden and will result in legal consequences. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ import{CKEditorError as _0x18d327}from'@ckeditor/ckeditor5-utils/dist/index.js';import _0x53199a from'protobufjs/minimal.js';import{cloneDeep as _0x464dc8,isEqual as _0x3b4181,isObject as _0x4953eb}from'es-toolkit/compat';const u=/* #__PURE__ -- @preserve */ ((()=>{var _0x5cc2b8=_0x53199a['Reader'],_0x40e476=_0x53199a['Writer'],_0x1f210e=_0x53199a['util'],_0x13cd17=_0x53199a['roots']['default']||(_0x53199a['roots']['default']={});return _0x13cd17['AttributeOperation']=(function(){function _0x2f4975(_0x36b915){if(_0x36b915){for(var _0x5e7cd5=Object['keys'](_0x36b915),_0xad295=0x0;_0xad295<_0x5e7cd5['length'];++_0xad295)null!=_0x36b915[_0x5e7cd5[_0xad295]]&&'__proto__'!==_0x5e7cd5[_0xad295]&&(this[_0x5e7cd5[_0xad295]]=_0x36b915[_0x5e7cd5[_0xad295]]);}}return _0x2f4975['prototype']['range']=null,_0x2f4975['prototype']['key']='',_0x2f4975['prototype']['oldValueBoolean']=!0x1,_0x2f4975['prototype']['oldValueJson']='',_0x2f4975['prototype']['newValueBoolean']=!0x1,_0x2f4975['prototype']['newValueJson']='',_0x2f4975['prototype']['wasUndone']=!0x1,_0x2f4975['create']=function(_0x1cd292){return new _0x2f4975(_0x1cd292);},_0x2f4975['encode']=function(_0x477aa5,_0x1214dd){return _0x1214dd||(_0x1214dd=_0x40e476['create']()),null!=_0x477aa5['range']&&Object['hasOwnProperty']['call'](_0x477aa5,'range')&&_0x13cd17['Range']['encode'](_0x477aa5['range'],_0x1214dd['uint32'](0xa)['fork']())['ldelim'](),null!=_0x477aa5['key']&&Object['hasOwnProperty']['call'](_0x477aa5,'key')&&_0x1214dd['uint32'](0x12)['string'](_0x477aa5['key']),null!=_0x477aa5['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x477aa5,'oldValueBoolean')&&_0x1214dd['uint32'](0x18)['bool'](_0x477aa5['oldValueBoolean']),null!=_0x477aa5['oldValueJson']&&Object['hasOwnProperty']['call'](_0x477aa5,'oldValueJson')&&_0x1214dd['uint32'](0x22)['string'](_0x477aa5['oldValueJson']),null!=_0x477aa5['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x477aa5,'newValueBoolean')&&_0x1214dd['uint32'](0x28)['bool'](_0x477aa5['newValueBoolean']),null!=_0x477aa5['newValueJson']&&Object['hasOwnProperty']['call'](_0x477aa5,'newValueJson')&&_0x1214dd['uint32'](0x32)['string'](_0x477aa5['newValueJson']),null!=_0x477aa5['wasUndone']&&Object['hasOwnProperty']['call'](_0x477aa5,'wasUndone')&&_0x1214dd['uint32'](0x38)['bool'](_0x477aa5['wasUndone']),_0x1214dd;},_0x2f4975['encodeDelimited']=function(_0x254550,_0x30dd0e){return this['encode'](_0x254550,_0x30dd0e)['ldelim']();},_0x2f4975['decode']=function(_0x334346,_0x1b2ec5,_0x557e95,_0x46622d){if(_0x334346 instanceof _0x5cc2b8||(_0x334346=_0x5cc2b8['create'](_0x334346)),void 0x0===_0x46622d&&(_0x46622d=0x0),_0x46622d>_0x5cc2b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x27a9ce=void 0x0===_0x1b2ec5?_0x334346['len']:_0x334346['pos']+_0x1b2ec5,_0x1db3d3=new _0x13cd17['AttributeOperation']();_0x334346['pos']<_0x27a9ce;){var _0x4d25bc=_0x334346['uint32']();if(_0x4d25bc===_0x557e95)break;switch(_0x4d25bc>>>0x3){case 0x1:_0x1db3d3['range']=_0x13cd17['Range']['decode'](_0x334346,_0x334346['uint32'](),void 0x0,_0x46622d+0x1);break;case 0x2:_0x1db3d3['key']=_0x334346['string']();break;case 0x3:_0x1db3d3['oldValueBoolean']=_0x334346['bool']();break;case 0x4:_0x1db3d3['oldValueJson']=_0x334346['string']();break;case 0x5:_0x1db3d3['newValueBoolean']=_0x334346['bool']();break;case 0x6:_0x1db3d3['newValueJson']=_0x334346['string']();break;case 0x7:_0x1db3d3['wasUndone']=_0x334346['bool']();break;default:_0x334346['skipType'](0x7&_0x4d25bc,_0x46622d);}}return _0x1db3d3;},_0x2f4975['decodeDelimited']=function(_0x2d71f2){return _0x2d71f2 instanceof _0x5cc2b8||(_0x2d71f2=new _0x5cc2b8(_0x2d71f2)),this['decode'](_0x2d71f2,_0x2d71f2['uint32']());},_0x2f4975['verify']=function(_0x102176,_0x90d7ef){if('object'!=typeof _0x102176||null===_0x102176)return'object\x20expected';if(void 0x0===_0x90d7ef&&(_0x90d7ef=0x0),_0x90d7ef>_0x1f210e['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x102176['range']&&_0x102176['hasOwnProperty']('range')){var _0x545c73=_0x13cd17['Range']['verify'](_0x102176['range'],_0x90d7ef+0x1);if(_0x545c73)return'range.'+_0x545c73;}return null!=_0x102176['key']&&_0x102176['hasOwnProperty']('key')&&!_0x1f210e['isString'](_0x102176['key'])?'key:\x20string\x20expected':null!=_0x102176['oldValueBoolean']&&_0x102176['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x102176['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x102176['oldValueJson']&&_0x102176['hasOwnProperty']('oldValueJson')&&!_0x1f210e['isString'](_0x102176['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x102176['newValueBoolean']&&_0x102176['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x102176['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x102176['newValueJson']&&_0x102176['hasOwnProperty']('newValueJson')&&!_0x1f210e['isString'](_0x102176['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x102176['wasUndone']&&_0x102176['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x102176['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2f4975['fromObject']=function(_0x579745,_0x3476ea){if(_0x579745 instanceof _0x13cd17['AttributeOperation'])return _0x579745;if(void 0x0===_0x3476ea&&(_0x3476ea=0x0),_0x3476ea>_0x1f210e['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x10ad77=new _0x13cd17['AttributeOperation']();if(null!=_0x579745['range']){if('object'!=typeof _0x579745['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x10ad77['range']=_0x13cd17['Range']['fromObject'](_0x579745['range'],_0x3476ea+0x1);}return null!=_0x579745['key']&&(_0x10ad77['key']=String(_0x579745['key'])),null!=_0x579745['oldValueBoolean']&&(_0x10ad77['oldValueBoolean']=Boolean(_0x579745['oldValueBoolean'])),null!=_0x579745['oldValueJson']&&(_0x10ad77['oldValueJson']=String(_0x579745['oldValueJson'])),null!=_0x579745['newValueBoolean']&&(_0x10ad77['newValueBoolean']=Boolean(_0x579745['newValueBoolean'])),null!=_0x579745['newValueJson']&&(_0x10ad77['newValueJson']=String(_0x579745['newValueJson'])),null!=_0x579745['wasUndone']&&(_0x10ad77['wasUndone']=Boolean(_0x579745['wasUndone'])),_0x10ad77;},_0x2f4975['toObject']=function(_0x13f8af,_0x2eef33){_0x2eef33||(_0x2eef33={});var _0x527be7={};return _0x2eef33['defaults']&&(_0x527be7['range']=null,_0x527be7['key']='',_0x527be7['oldValueBoolean']=!0x1,_0x527be7['oldValueJson']='',_0x527be7['newValueBoolean']=!0x1,_0x527be7['newValueJson']='',_0x527be7['wasUndone']=!0x1),null!=_0x13f8af['range']&&_0x13f8af['hasOwnProperty']('range')&&(_0x527be7['range']=_0x13cd17['Range']['toObject'](_0x13f8af['range'],_0x2eef33)),null!=_0x13f8af['key']&&_0x13f8af['hasOwnProperty']('key')&&(_0x527be7['key']=_0x13f8af['key']),null!=_0x13f8af['oldValueBoolean']&&_0x13f8af['hasOwnProperty']('oldValueBoolean')&&(_0x527be7['oldValueBoolean']=_0x13f8af['oldValueBoolean']),null!=_0x13f8af['oldValueJson']&&_0x13f8af['hasOwnProperty']('oldValueJson')&&(_0x527be7['oldValueJson']=_0x13f8af['oldValueJson']),null!=_0x13f8af['newValueBoolean']&&_0x13f8af['hasOwnProperty']('newValueBoolean')&&(_0x527be7['newValueBoolean']=_0x13f8af['newValueBoolean']),null!=_0x13f8af['newValueJson']&&_0x13f8af['hasOwnProperty']('newValueJson')&&(_0x527be7['newValueJson']=_0x13f8af['newValueJson']),null!=_0x13f8af['wasUndone']&&_0x13f8af['hasOwnProperty']('wasUndone')&&(_0x527be7['wasUndone']=_0x13f8af['wasUndone']),_0x527be7;},_0x2f4975['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x53199a['util']['toJSONOptions']);},_0x2f4975['getTypeUrl']=function(_0xca5e0f){return void 0x0===_0xca5e0f&&(_0xca5e0f='type.googleapis.com'),_0xca5e0f+'/AttributeOperation';},_0x2f4975;}()),_0x13cd17['InsertOperation']=(function(){function _0x5553d6(_0x50f610){if(this['nodes']=[],_0x50f610){for(var _0x18322f=Object['keys'](_0x50f610),_0x2daa96=0x0;_0x2daa96<_0x18322f['length'];++_0x2daa96)null!=_0x50f610[_0x18322f[_0x2daa96]]&&'__proto__'!==_0x18322f[_0x2daa96]&&(this[_0x18322f[_0x2daa96]]=_0x50f610[_0x18322f[_0x2daa96]]);}}return _0x5553d6['prototype']['position']=null,_0x5553d6['prototype']['nodes']=_0x1f210e['emptyArray'],_0x5553d6['prototype']['shouldReceiveAttributes']=!0x1,_0x5553d6['prototype']['wasUndone']=!0x1,_0x5553d6['create']=function(_0x393301){return new _0x5553d6(_0x393301);},_0x5553d6['encode']=function(_0x238e62,_0x43a24e){if(_0x43a24e||(_0x43a24e=_0x40e476['create']()),null!=_0x238e62['position']&&Object['hasOwnProperty']['call'](_0x238e62,'position')&&_0x13cd17['Position']['encode'](_0x238e62['position'],_0x43a24e['uint32'](0xa)['fork']())['ldelim'](),null!=_0x238e62['nodes']&&_0x238e62['nodes']['length']){for(var _0xb548ab=0x0;_0xb548ab<_0x238e62['nodes']['length'];++_0xb548ab)_0x13cd17['Element']['encode'](_0x238e62['nodes'][_0xb548ab],_0x43a24e['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x238e62['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x238e62,'shouldReceiveAttributes')&&_0x43a24e['uint32'](0x18)['bool'](_0x238e62['shouldReceiveAttributes']),null!=_0x238e62['wasUndone']&&Object['hasOwnProperty']['call'](_0x238e62,'wasUndone')&&_0x43a24e['uint32'](0x20)['bool'](_0x238e62['wasUndone']),_0x43a24e;},_0x5553d6['encodeDelimited']=function(_0x177a71,_0x5e5bbb){return this['encode'](_0x177a71,_0x5e5bbb)['ldelim']();},_0x5553d6['decode']=function(_0x2439e4,_0x26216c,_0x5f3a40,_0xedae3c){if(_0x2439e4 instanceof _0x5cc2b8||(_0x2439e4=_0x5cc2b8['create'](_0x2439e4)),void 0x0===_0xedae3c&&(_0xedae3c=0x0),_0xedae3c>_0x5cc2b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x292b96=void 0x0===_0x26216c?_0x2439e4['len']:_0x2439e4['pos']+_0x26216c,_0x27aef7=new _0x13cd17['InsertOperation']();_0x2439e4['pos']<_0x292b96;){var _0x265e2e=_0x2439e4['uint32']();if(_0x265e2e===_0x5f3a40)break;switch(_0x265e2e>>>0x3){case 0x1:_0x27aef7['position']=_0x13cd17['Position']['decode'](_0x2439e4,_0x2439e4['uint32'](),void 0x0,_0xedae3c+0x1);break;case 0x2:_0x27aef7['nodes']&&_0x27aef7['nodes']['length']||(_0x27aef7['nodes']=[]),_0x27aef7['nodes']['push'](_0x13cd17['Element']['decode'](_0x2439e4,_0x2439e4['uint32'](),void 0x0,_0xedae3c+0x1));break;case 0x3:_0x27aef7['shouldReceiveAttributes']=_0x2439e4['bool']();break;case 0x4:_0x27aef7['wasUndone']=_0x2439e4['bool']();break;default:_0x2439e4['skipType'](0x7&_0x265e2e,_0xedae3c);}}return _0x27aef7;},_0x5553d6['decodeDelimited']=function(_0x131eb4){return _0x131eb4 instanceof _0x5cc2b8||(_0x131eb4=new _0x5cc2b8(_0x131eb4)),this['decode'](_0x131eb4,_0x131eb4['uint32']());},_0x5553d6['verify']=function(_0x5d4a0e,_0x2e691e){if('object'!=typeof _0x5d4a0e||null===_0x5d4a0e)return'object\x20expected';if(void 0x0===_0x2e691e&&(_0x2e691e=0x0),_0x2e691e>_0x1f210e['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5d4a0e['position']&&_0x5d4a0e['hasOwnProperty']('position')&&(_0x13b1fd=_0x13cd17['Position']['verify'](_0x5d4a0e['position'],_0x2e691e+0x1)))return'position.'+_0x13b1fd;if(null!=_0x5d4a0e['nodes']&&_0x5d4a0e['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x5d4a0e['nodes']))return'nodes:\x20array\x20expected';for(var _0x190a13=0x0;_0x190a13<_0x5d4a0e['nodes']['length'];++_0x190a13){var _0x13b1fd;if(_0x13b1fd=_0x13cd17['Element']['verify'](_0x5d4a0e['nodes'][_0x190a13],_0x2e691e+0x1))return'nodes.'+_0x13b1fd;}}return null!=_0x5d4a0e['shouldReceiveAttributes']&&_0x5d4a0e['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x5d4a0e['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x5d4a0e['wasUndone']&&_0x5d4a0e['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5d4a0e['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x5553d6['fromObject']=function(_0x43fff6,_0x3a20fe){if(_0x43fff6 instanceof _0x13cd17['InsertOperation'])return _0x43fff6;if(void 0x0===_0x3a20fe&&(_0x3a20fe=0x0),_0x3a20fe>_0x1f210e['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2ba99d=new _0x13cd17['InsertOperation']();if(null!=_0x43fff6['position']){if('object'!=typeof _0x43fff6['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x2ba99d['position']=_0x13cd17['Position']['fromObject'](_0x43fff6['position'],_0x3a20fe+0x1);}if(_0x43fff6['nodes']){if(!Array['isArray'](_0x43fff6['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x2ba99d['nodes']=[];for(var _0x5b65d7=0x0;_0x5b65d7<_0x43fff6['nodes']['length'];++_0x5b65d7){if('object'!=typeof _0x43fff6['nodes'][_0x5b65d7])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x2ba99d['nodes'][_0x5b65d7]=_0x13cd17['Element']['fromObject'](_0x43fff6['nodes'][_0x5b65d7],_0x3a20fe+0x1);}}return null!=_0x43fff6['shouldReceiveAttributes']&&(_0x2ba99d['shouldReceiveAttributes']=Boolean(_0x43fff6['shouldReceiveAttributes'])),null!=_0x43fff6['wasUndone']&&(_0x2ba99d['wasUndone']=Boolean(_0x43fff6['wasUndone'])),_0x2ba99d;},_0x5553d6['toObject']=function(_0x17c9d4,_0xace780){_0xace780||(_0xace780={});var _0x19e872={};if((_0xace780['arrays']||_0xace780['defaults'])&&(_0x19e872['nodes']=[]),_0xace780['defaults']&&(_0x19e872['position']=null,_0x19e872['shouldReceiveAttributes']=!0x1,_0x19e872['wasUndone']=!0x1),null!=_0x17c9d4['position']&&_0x17c9d4['hasOwnProperty']('position')&&(_0x19e872['position']=_0x13cd17['Position']['toObject'](_0x17c9d4['position'],_0xace780)),_0x17c9d4['nodes']&&_0x17c9d4['nodes']['length']){_0x19e872['nodes']=[];for(var _0xdb4d82=0x0;_0xdb4d82<_0x17c9d4['nodes']['length'];++_0xdb4d82)_0x19e872['nodes'][_0xdb4d82]=_0x13cd17['Element']['toObject'](_0x17c9d4['nodes'][_0xdb4d82],_0xace780);}return null!=_0x17c9d4['shouldReceiveAttributes']&&_0x17c9d4['hasOwnProperty']('shouldReceiveAttributes')&&(_0x19e872['shouldReceiveAttributes']=_0x17c9d4['shouldReceiveAttributes']),null!=_0x17c9d4['wasUndone']&&_0x17c9d4['hasOwnProperty']('wasUndone')&&(_0x19e872['wasUndone']=_0x17c9d4['wasUndone']),_0x19e872;},_0x5553d6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x53199a['util']['toJSONOptions']);},_0x5553d6['getTypeUrl']=function(_0x38e5f7){return void 0x0===_0x38e5f7&&(_0x38e5f7='type.googleapis.com'),_0x38e5f7+'/InsertOperation';},_0x5553d6;}()),_0x13cd17['MarkerOperation']=(function(){function _0xf3baab(_0x29be7b){if(_0x29be7b){for(var _0x13d132=Object['keys'](_0x29be7b),_0x9821a=0x0;_0x9821a<_0x13d132['length'];++_0x9821a)null!=_0x29be7b[_0x13d132[_0x9821a]]&&'__proto__'!==_0x13d132[_0x9821a]&&(this[_0x13d132[_0x9821a]]=_0x29be7b[_0x13d132[_0x9821a]]);}}return _0xf3baab['prototype']['name']='',_0xf3baab['prototype']['oldRange']=null,_0xf3baab['prototype']['newRange']=null,_0xf3baab['prototype']['affectsData']=!0x1,_0xf3baab['prototype']['wasUndone']=!0x1,_0xf3baab['create']=function(_0x1059b1){return new _0xf3baab(_0x1059b1);},_0xf3baab['encode']=function(_0x631306,_0x4bac85){return _0x4bac85||(_0x4bac85=_0x40e476['create']()),null!=_0x631306['name']&&Object['hasOwnProperty']['call'](_0x631306,'name')&&_0x4bac85['uint32'](0xa)['string'](_0x631306['name']),null!=_0x631306['oldRange']&&Object['hasOwnProperty']['call'](_0x631306,'oldRange')&&_0x13cd17['Range']['encode'](_0x631306['oldRange'],_0x4bac85['uint32'](0x12)['fork']())['ldelim'](),null!=_0x631306['newRange']&&Object['hasOwnProperty']['call'](_0x631306,'newRange')&&_0x13cd17['Range']['encode'](_0x631306['newRange'],_0x4bac85['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x631306['affectsData']&&Object['hasOwnProperty']['call'](_0x631306,'affectsData')&&_0x4bac85['uint32'](0x20)['bool'](_0x631306['affectsData']),null!=_0x631306['wasUndone']&&Object['hasOwnProperty']['call'](_0x631306,'wasUndone')&&_0x4bac85['uint32'](0x28)['bool'](_0x631306['wasUndone']),_0x4bac85;},_0xf3baab['encodeDelimited']=function(_0x45adbc,_0x5353ff){return this['encode'](_0x45adbc,_0x5353ff)['ldelim']();},_0xf3baab['decode']=function(_0x53a755,_0x2608a9,_0x48703e,_0x581df7){if(_0x53a755 instanceof _0x5cc2b8||(_0x53a755=_0x5cc2b8['create'](_0x53a755)),void 0x0===_0x581df7&&(_0x581df7=0x0),_0x581df7>_0x5cc2b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4b6a7c=void 0x0===_0x2608a9?_0x53a755['len']:_0x53a755['pos']+_0x2608a9,_0x37657f=new _0x13cd17['MarkerOperation']();_0x53a755['pos']<_0x4b6a7c;){var _0x41220a=_0x53a755['uint32']();if(_0x41220a===_0x48703e)break;switch(_0x41220a>>>0x3){case 0x1:_0x37657f['name']=_0x53a755['string']();break;case 0x2:_0x37657f['oldRange']=_0x13cd17['Range']['decode'](_0x53a755,_0x53a755['uint32'](),void 0x0,_0x581df7+0x1);break;case 0x3:_0x37657f['newRange']=_0x13cd17['Range']['decode'](_0x53a755,_0x53a755['uint32'](),void 0x0,_0x581df7+0x1);break;case 0x4:_0x37657f['affectsData']=_0x53a755['bool']();break;case 0x5:_0x37657f['wasUndone']=_0x53a755['bool']();break;default:_0x53a755['skipType'](0x7&_0x41220a,_0x581df7);}}return _0x37657f;},_0xf3baab['decodeDelimited']=function(_0x3ed513){return _0x3ed513 instanceof _0x5cc2b8||(_0x3ed513=new _0x5cc2b8(_0x3ed513)),this['decode'](_0x3ed513,_0x3ed513['uint32']());},_0xf3baab['verify']=function(_0x46c486,_0x44db55){if('object'!=typeof _0x46c486||null===_0x46c486)return'object\x20expected';if(void 0x0===_0x44db55&&(_0x44db55=0x0),_0x44db55>_0x1f210e['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x46c486['name']&&_0x46c486['hasOwnProperty']('name')&&!_0x1f210e['isString'](_0x46c486['name']))return'name:\x20string\x20expected';var _0x23d93e;if(null!=_0x46c486['oldRange']&&_0x46c486['hasOwnProperty']('oldRange')&&(_0x23d93e=_0x13cd17['Range']['verify'](_0x46c486['oldRange'],_0x44db55+0x1)))return'oldRange.'+_0x23d93e;if(null!=_0x46c486['newRange']&&_0x46c486['hasOwnProperty']('newRange')&&(_0x23d93e=_0x13cd17['Range']['verify'](_0x46c486['newRange'],_0x44db55+0x1)))return'newRange.'+_0x23d93e;return null!=_0x46c486['affectsData']&&_0x46c486['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x46c486['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x46c486['wasUndone']&&_0x46c486['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x46c486['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0xf3baab['fromObject']=function(_0x34f967,_0xc552ef){if(_0x34f967 instanceof _0x13cd17['MarkerOperation'])return _0x34f967;if(void 0x0===_0xc552ef&&(_0xc552ef=0x0),_0xc552ef>_0x1f210e['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2b11c5=new _0x13cd17['MarkerOperation']();if(null!=_0x34f967['name']&&(_0x2b11c5['name']=String(_0x34f967['name'])),null!=_0x34f967['oldRange']){if('object'!=typeof _0x34f967['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x2b11c5['oldRange']=_0x13cd17['Range']['fromObject'](_0x34f967['oldRange'],_0xc552ef+0x1);}if(null!=_0x34f967['newRange']){if('object'!=typeof _0x34f967['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x2b11c5['newRange']=_0x13cd17['Range']['fromObject'](_0x34f967['newRange'],_0xc552ef+0x1);}return null!=_0x34f967['affectsData']&&(_0x2b11c5['affectsData']=Boolean(_0x34f967['affectsData'])),null!=_0x34f967['wasUndone']&&(_0x2b11c5['wasUndone']=Boolean(_0x34f967['wasUndone'])),_0x2b11c5;},_0xf3baab['toObject']=function(_0x2fad58,_0x2365ad){_0x2365ad||(_0x2365ad={});var _0x44508={};return _0x2365ad['defaults']&&(_0x44508['name']='',_0x44508['oldRange']=null,_0x44508['newRange']=null,_0x44508['affectsData']=!0x1,_0x44508['wasUndone']=!0x1),null!=_0x2fad58['name']&&_0x2fad58['hasOwnProperty']('name')&&(_0x44508['name']=_0x2fad58['name']),null!=_0x2fad58['oldRange']&&_0x2fad58['hasOwnProperty']('oldRange')&&(_0x44508['oldRange']=_0x13cd17['Range']['toObject'](_0x2fad58['oldRange'],_0x2365ad)),null!=_0x2fad58['newRange']&&_0x2fad58['hasOwnProperty']('newRange')&&(_0x44508['newRange']=_0x13cd17['Range']['toObject'](_0x2fad58['newRange'],_0x2365ad)),null!=_0x2fad58['affectsData']&&_0x2fad58['hasOwnProperty']('affectsData')&&(_0x44508['affectsData']=_0x2fad58['affectsData']),null!=_0x2fad58['wasUndone']&&_0x2fad58['hasOwnProperty']('wasUndone')&&(_0x44508['wasUndone']=_0x2fad58['wasUndone']),_0x44508;},_0xf3baab['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x53199a['util']['toJSONOptions']);},_0xf3baab['getTypeUrl']=function(_0x224f10){return void 0x0===_0x224f10&&(_0x224f10='type.googleapis.com'),_0x224f10+'/MarkerOperation';},_0xf3baab;}()),_0x13cd17['MergeOperation']=(function(){function _0x5df21a(_0x594e8c){if(_0x594e8c){for(var _0x4df96a=Object['keys'](_0x594e8c),_0x2a98ba=0x0;_0x2a98ba<_0x4df96a['length'];++_0x2a98ba)null!=_0x594e8c[_0x4df96a[_0x2a98ba]]&&'__proto__'!==_0x4df96a[_0x2a98ba]&&(this[_0x4df96a[_0x2a98ba]]=_0x594e8c[_0x4df96a[_0x2a98ba]]);}}return _0x5df21a['prototype']['sourcePosition']=null,_0x5df21a['prototype']['targetPosition']=null,_0x5df21a['prototype']['graveyardPosition']=null,_0x5df21a['prototype']['howMany']=0x0,_0x5df21a['prototype']['wasUndone']=!0x1,_0x5df21a['create']=function(_0xc6f44b){return new _0x5df21a(_0xc6f44b);},_0x5df21a['encode']=function(_0x3d9d62,_0x4abb06){return _0x4abb06||(_0x4abb06=_0x40e476['create']()),null!=_0x3d9d62['sourcePosition']&&Object['hasOwnProperty']['call'](_0x3d9d62,'sourcePosition')&&_0x13cd17['Position']['encode'](_0x3d9d62['sourcePosition'],_0x4abb06['uint32'](0xa)['fork']())['ldelim'](),null!=_0x3d9d62['targetPosition']&&Object['hasOwnProperty']['call'](_0x3d9d62,'targetPosition')&&_0x13cd17['Position']['encode'](_0x3d9d62['targetPosition'],_0x4abb06['uint32'](0x12)['fork']())['ldelim'](),null!=_0x3d9d62['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x3d9d62,'graveyardPosition')&&_0x13cd17['Position']['encode'](_0x3d9d62['graveyardPosition'],_0x4abb06['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x3d9d62['howMany']&&Object['hasOwnProperty']['call'](_0x3d9d62,'howMany')&&_0x4abb06['uint32'](0x20)['uint32'](_0x3d9d62['howMany']),null!=_0x3d9d62['wasUndone']&&Object['hasOwnProperty']['call'](_0x3d9d62,'wasUndone')&&_0x4abb06['uint32'](0x28)['bool'](_0x3d9d62['wasUndone']),_0x4abb06;},_0x5df21a['encodeDelimited']=function(_0x2ea032,_0x3702fe){return this['encode'](_0x2ea032,_0x3702fe)['ldelim']();},_0x5df21a['decode']=function(_0x4f7c2f,_0x3e2cb2,_0x579a23,_0x2e1662){if(_0x4f7c2f instanceof _0x5cc2b8||(_0x4f7c2f=_0x5cc2b8['create'](_0x4f7c2f)),void 0x0===_0x2e1662&&(_0x2e1662=0x0),_0x2e1662>_0x5cc2b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1192a6=void 0x0===_0x3e2cb2?_0x4f7c2f['len']:_0x4f7c2f['pos']+_0x3e2cb2,_0x551370=new _0x13cd17['MergeOperation']();_0x4f7c2f['pos']<_0x1192a6;){var _0x12da18=_0x4f7c2f['uint32']();if(_0x12da18===_0x579a23)break;switch(_0x12da18>>>0x3){case 0x1:_0x551370['sourcePosition']=_0x13cd17['Position']['decode'](_0x4f7c2f,_0x4f7c2f['uint32'](),void 0x0,_0x2e1662+0x1);break;case 0x2:_0x551370['targetPosition']=_0x13cd17['Position']['decode'](_0x4f7c2f,_0x4f7c2f['uint32'](),void 0x0,_0x2e1662+0x1);break;case 0x3:_0x551370['graveyardPosition']=_0x13cd17['Position']['decode'](_0x4f7c2f,_0x4f7c2f['uint32'](),void 0x0,_0x2e1662+0x1);break;case 0x4:_0x551370['howMany']=_0x4f7c2f['uint32']();break;case 0x5:_0x551370['wasUndone']=_0x4f7c2f['bool']();break;default:_0x4f7c2f['skipType'](0x7&_0x12da18,_0x2e1662);}}return _0x551370;},_0x5df21a['decodeDelimited']=function(_0x15a05d){return _0x15a05d instanceof _0x5cc2b8||(_0x15a05d=new _0x5cc2b8(_0x15a05d)),this['decode'](_0x15a05d,_0x15a05d['uint32']());},_0x5df21a['verify']=function(_0x176f8e,_0x4d28be){if('object'!=typeof _0x176f8e||null===_0x176f8e)return'object\x20expected';if(void 0x0===_0x4d28be&&(_0x4d28be=0x0),_0x4d28be>_0x1f210e['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x50a22c;if(null!=_0x176f8e['sourcePosition']&&_0x176f8e['hasOwnProperty']('sourcePosition')&&(_0x50a22c=_0x13cd17['Position']['verify'](_0x176f8e['sourcePosition'],_0x4d28be+0x1)))return'sourcePosition.'+_0x50a22c;if(null!=_0x176f8e['targetPosition']&&_0x176f8e['hasOwnProperty']('targetPosition')&&(_0x50a22c=_0x13cd17['Position']['verify'](_0x176f8e['targetPosition'],_0x4d28be+0x1)))return'targetPosition.'+_0x50a22c;if(null!=_0x176f8e['graveyardPosition']&&_0x176f8e['hasOwnProperty']('graveyardPosition')&&(_0x50a22c=_0x13cd17['Position']['verify'](_0x176f8e['graveyardPosition'],_0x4d28be+0x1)))return'graveyardPosition.'+_0x50a22c;return null!=_0x176f8e['howMany']&&_0x176f8e['hasOwnProperty']('howMany')&&!_0x1f210e['isInteger'](_0x176f8e['howMany'])?'howMany:\x20integer\x20expected':null!=_0x176f8e['wasUndone']&&_0x176f8e['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x176f8e['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x5df21a['fromObject']=function(_0x263b4a,_0x44f830){if(_0x263b4a instanceof _0x13cd17['MergeOperation'])return _0x263b4a;if(void 0x0===_0x44f830&&(_0x44f830=0x0),_0x44f830>_0x1f210e['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x482995=new _0x13cd17['MergeOperation']();if(null!=_0x263b4a['sourcePosition']){if('object'!=typeof _0x263b4a['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x482995['sourcePosition']=_0x13cd17['Position']['fromObject'](_0x263b4a['sourcePosition'],_0x44f830+0x1);}if(null!=_0x263b4a['targetPosition']){if('object'!=typeof _0x263b4a['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x482995['targetPosition']=_0x13cd17['Position']['fromObject'](_0x263b4a['targetPosition'],_0x44f830+0x1);}if(null!=_0x263b4a['graveyardPosition']){if('object'!=typeof _0x263b4a['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x482995['graveyardPosition']=_0x13cd17['Position']['fromObject'](_0x263b4a['graveyardPosition'],_0x44f830+0x1);}return null!=_0x263b4a['howMany']&&(_0x482995['howMany']=_0x263b4a['howMany']>>>0x0),null!=_0x263b4a['wasUndone']&&(_0x482995['wasUndone']=Boolean(_0x263b4a['wasUndone'])),_0x482995;},_0x5df21a['toObject']=function(_0x1e457d,_0x300578){_0x300578||(_0x300578={});var _0x427beb={};return _0x300578['defaults']&&(_0x427beb['sourcePosition']=null,_0x427beb['targetPosition']=null,_0x427beb['graveyardPosition']=null,_0x427beb['howMany']=0x0,_0x427beb['wasUndone']=!0x1),null!=_0x1e457d['sourcePosition']&&_0x1e457d['hasOwnProperty']('sourcePosition')&&(_0x427beb['sourcePosition']=_0x13cd17['Position']['toObject'](_0x1e457d['sourcePosition'],_0x300578)),null!=_0x1e457d['targetPosition']&&_0x1e457d['hasOwnProperty']('targetPosition')&&(_0x427beb['targetPosition']=_0x13cd17['Position']['toObject'](_0x1e457d['targetPosition'],_0x300578)),null!=_0x1e457d['graveyardPosition']&&_0x1e457d['hasOwnProperty']('graveyardPosition')&&(_0x427beb['graveyardPosition']=_0x13cd17['Position']['toObject'](_0x1e457d['graveyardPosition'],_0x300578)),null!=_0x1e457d['howMany']&&_0x1e457d['hasOwnProperty']('howMany')&&(_0x427beb['howMany']=_0x1e457d['howMany']),null!=_0x1e457d['wasUndone']&&_0x1e457d['hasOwnProperty']('wasUndone')&&(_0x427beb['wasUndone']=_0x1e457d['wasUndone']),_0x427beb;},_0x5df21a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x53199a['util']['toJSONOptions']);},_0x5df21a['getTypeUrl']=function(_0xcb5082){return void 0x0===_0xcb5082&&(_0xcb5082='type.googleapis.com'),_0xcb5082+'/MergeOperation';},_0x5df21a;}()),_0x13cd17['MoveOperation']=(function(){function _0xd8689c(_0x4f8e12){if(_0x4f8e12){for(var _0xe41740=Object['keys'](_0x4f8e12),_0x5d09ee=0x0;_0x5d09ee<_0xe41740['length'];++_0x5d09ee)null!=_0x4f8e12[_0xe41740[_0x5d09ee]]&&'__proto__'!==_0xe41740[_0x5d09ee]&&(this[_0xe41740[_0x5d09ee]]=_0x4f8e12[_0xe41740[_0x5d09ee]]);}}return _0xd8689c['prototype']['sourcePosition']=null,_0xd8689c['prototype']['howMany']=0x0,_0xd8689c['prototype']['targetPosition']=null,_0xd8689c['prototype']['wasUndone']=!0x1,_0xd8689c['create']=function(_0x42cb6f){return new _0xd8689c(_0x42cb6f);},_0xd8689c['encode']=function(_0x1f47c9,_0x24c98c){return _0x24c98c||(_0x24c98c=_0x40e476['create']()),null!=_0x1f47c9['sourcePosition']&&Object['hasOwnProperty']['call'](_0x1f47c9,'sourcePosition')&&_0x13cd17['Position']['encode'](_0x1f47c9['sourcePosition'],_0x24c98c['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1f47c9['howMany']&&Object['hasOwnProperty']['call'](_0x1f47c9,'howMany')&&_0x24c98c['uint32'](0x10)['uint32'](_0x1f47c9['howMany']),null!=_0x1f47c9['targetPosition']&&Object['hasOwnProperty']['call'](_0x1f47c9,'targetPosition')&&_0x13cd17['Position']['encode'](_0x1f47c9['targetPosition'],_0x24c98c['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x1f47c9['wasUndone']&&Object['hasOwnProperty']['call'](_0x1f47c9,'wasUndone')&&_0x24c98c['uint32'](0x20)['bool'](_0x1f47c9['wasUndone']),_0x24c98c;},_0xd8689c['encodeDelimited']=function(_0x3db635,_0x2ed6f5){return this['encode'](_0x3db635,_0x2ed6f5)['ldelim']();},_0xd8689c['decode']=function(_0x3bf628,_0x4eeb94,_0x4ea870,_0x16809e){if(_0x3bf628 instanceof _0x5cc2b8||(_0x3bf628=_0x5cc2b8['create'](_0x3bf628)),void 0x0===_0x16809e&&(_0x16809e=0x0),_0x16809e>_0x5cc2b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2883d6=void 0x0===_0x4eeb94?_0x3bf628['len']:_0x3bf628['pos']+_0x4eeb94,_0x1d47a0=new _0x13cd17['MoveOperation']();_0x3bf628['pos']<_0x2883d6;){var _0x5f2aaf=_0x3bf628['uint32']();if(_0x5f2aaf===_0x4ea870)break;switch(_0x5f2aaf>>>0x3){case 0x1:_0x1d47a0['sourcePosition']=_0x13cd17['Position']['decode'](_0x3bf628,_0x3bf628['uint32'](),void 0x0,_0x16809e+0x1);break;case 0x2:_0x1d47a0['howMany']=_0x3bf628['uint32']();break;case 0x3:_0x1d47a0['targetPosition']=_0x13cd17['Position']['decode'](_0x3bf628,_0x3bf628['uint32'](),void 0x0,_0x16809e+0x1);break;case 0x4:_0x1d47a0['wasUndone']=_0x3bf628['bool']();break;default:_0x3bf628['skipType'](0x7&_0x5f2aaf,_0x16809e);}}return _0x1d47a0;},_0xd8689c['decodeDelimited']=function(_0x54f0fe){return _0x54f0fe instanceof _0x5cc2b8||(_0x54f0fe=new _0x5cc2b8(_0x54f0fe)),this['decode'](_0x54f0fe,_0x54f0fe['uint32']());},_0xd8689c['verify']=function(_0x349cc3,_0x561607){if('object'!=typeof _0x349cc3||null===_0x349cc3)return'object\x20expected';if(void 0x0===_0x561607&&(_0x561607=0x0),_0x561607>_0x1f210e['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x1e549f;if(null!=_0x349cc3['sourcePosition']&&_0x349cc3['hasOwnProperty']('sourcePosition')&&(_0x1e549f=_0x13cd17['Position']['verify'](_0x349cc3['sourcePosition'],_0x561607+0x1)))return'sourcePosition.'+_0x1e549f;if(null!=_0x349cc3['howMany']&&_0x349cc3['hasOwnProperty']('howMany')&&!_0x1f210e['isInteger'](_0x349cc3['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x349cc3['targetPosition']&&_0x349cc3['hasOwnProperty']('targetPosition')&&(_0x1e549f=_0x13cd17['Position']['verify'](_0x349cc3['targetPosition'],_0x561607+0x1)))return'targetPosition.'+_0x1e549f;return null!=_0x349cc3['wasUndone']&&_0x349cc3['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x349cc3['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0xd8689c['fromObject']=function(_0x4d8027,_0x3f13f4){if(_0x4d8027 instanceof _0x13cd17['MoveOperation'])return _0x4d8027;if(void 0x0===_0x3f13f4&&(_0x3f13f4=0x0),_0x3f13f4>_0x1f210e['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x457d4d=new _0x13cd17['MoveOperation']();if(null!=_0x4d8027['sourcePosition']){if('object'!=typeof _0x4d8027['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x457d4d['sourcePosition']=_0x13cd17['Position']['fromObject'](_0x4d8027['sourcePosition'],_0x3f13f4+0x1);}if(null!=_0x4d8027['howMany']&&(_0x457d4d['howMany']=_0x4d8027['howMany']>>>0x0),null!=_0x4d8027['targetPosition']){if('object'!=typeof _0x4d8027['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x457d4d['targetPosition']=_0x13cd17['Position']['fromObject'](_0x4d8027['targetPosition'],_0x3f13f4+0x1);}return null!=_0x4d8027['wasUndone']&&(_0x457d4d['wasUndone']=Boolean(_0x4d8027['wasUndone'])),_0x457d4d;},_0xd8689c['toObject']=function(_0x3ed42e,_0x731a2a){_0x731a2a||(_0x731a2a={});var _0x347d14={};return _0x731a2a['defaults']&&(_0x347d14['sourcePosition']=null,_0x347d14['howMany']=0x0,_0x347d14['targetPosition']=null,_0x347d14['wasUndone']=!0x1),null!=_0x3ed42e['sourcePosition']&&_0x3ed42e['hasOwnProperty']('sourcePosition')&&(_0x347d14['sourcePosition']=_0x13cd17['Position']['toObject'](_0x3ed42e['sourcePosition'],_0x731a2a)),null!=_0x3ed42e['howMany']&&_0x3ed42e['hasOwnProperty']('howMany')&&(_0x347d14['howMany']=_0x3ed42e['howMany']),null!=_0x3ed42e['targetPosition']&&_0x3ed42e['hasOwnProperty']('targetPosition')&&(_0x347d14['targetPosition']=_0x13cd17['Position']['toObject'](_0x3ed42e['targetPosition'],_0x731a2a)),null!=_0x3ed42e['wasUndone']&&_0x3ed42e['hasOwnProperty']('wasUndone')&&(_0x347d14['wasUndone']=_0x3ed42e['wasUndone']),_0x347d14;},_0xd8689c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x53199a['util']['toJSONOptions']);},_0xd8689c['getTypeUrl']=function(_0x493256){return void 0x0===_0x493256&&(_0x493256='type.googleapis.com'),_0x493256+'/MoveOperation';},_0xd8689c;}()),_0x13cd17['RenameOperation']=(function(){function _0x56da70(_0x3bb1ee){if(_0x3bb1ee){for(var _0x58a9e8=Object['keys'](_0x3bb1ee),_0x4966ce=0x0;_0x4966ce<_0x58a9e8['length'];++_0x4966ce)null!=_0x3bb1ee[_0x58a9e8[_0x4966ce]]&&'__proto__'!==_0x58a9e8[_0x4966ce]&&(this[_0x58a9e8[_0x4966ce]]=_0x3bb1ee[_0x58a9e8[_0x4966ce]]);}}return _0x56da70['prototype']['position']=null,_0x56da70['prototype']['oldName']='',_0x56da70['prototype']['newName']='',_0x56da70['prototype']['wasUndone']=!0x1,_0x56da70['create']=function(_0x1a84b4){return new _0x56da70(_0x1a84b4);},_0x56da70['encode']=function(_0x497071,_0x58c751){return _0x58c751||(_0x58c751=_0x40e476['create']()),null!=_0x497071['position']&&Object['hasOwnProperty']['call'](_0x497071,'position')&&_0x13cd17['Position']['encode'](_0x497071['position'],_0x58c751['uint32'](0xa)['fork']())['ldelim'](),null!=_0x497071['oldName']&&Object['hasOwnProperty']['call'](_0x497071,'oldName')&&_0x58c751['uint32'](0x12)['string'](_0x497071['oldName']),null!=_0x497071['newName']&&Object['hasOwnProperty']['call'](_0x497071,'newName')&&_0x58c751['uint32'](0x1a)['string'](_0x497071['newName']),null!=_0x497071['wasUndone']&&Object['hasOwnProperty']['call'](_0x497071,'wasUndone')&&_0x58c751['uint32'](0x20)['bool'](_0x497071['wasUndone']),_0x58c751;},_0x56da70['encodeDelimited']=function(_0x3a7971,_0x3db8d8){return this['encode'](_0x3a7971,_0x3db8d8)['ldelim']();},_0x56da70['decode']=function(_0x48b9b4,_0x547492,_0x22baa5,_0x543744){if(_0x48b9b4 instanceof _0x5cc2b8||(_0x48b9b4=_0x5cc2b8['create'](_0x48b9b4)),void 0x0===_0x543744&&(_0x543744=0x0),_0x543744>_0x5cc2b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x24e153=void 0x0===_0x547492?_0x48b9b4['len']:_0x48b9b4['pos']+_0x547492,_0xcee3fb=new _0x13cd17['RenameOperation']();_0x48b9b4['pos']<_0x24e153;){var _0x313498=_0x48b9b4['uint32']();if(_0x313498===_0x22baa5)break;switch(_0x313498>>>0x3){case 0x1:_0xcee3fb['position']=_0x13cd17['Position']['decode'](_0x48b9b4,_0x48b9b4['uint32'](),void 0x0,_0x543744+0x1);break;case 0x2:_0xcee3fb['oldName']=_0x48b9b4['string']();break;case 0x3:_0xcee3fb['newName']=_0x48b9b4['string']();break;case 0x4:_0xcee3fb['wasUndone']=_0x48b9b4['bool']();break;default:_0x48b9b4['skipType'](0x7&_0x313498,_0x543744);}}return _0xcee3fb;},_0x56da70['decodeDelimited']=function(_0x1d50db){return _0x1d50db instanceof _0x5cc2b8||(_0x1d50db=new _0x5cc2b8(_0x1d50db)),this['decode'](_0x1d50db,_0x1d50db['uint32']());},_0x56da70['verify']=function(_0x5306c0,_0x7476a7){if('object'!=typeof _0x5306c0||null===_0x5306c0)return'object\x20expected';if(void 0x0===_0x7476a7&&(_0x7476a7=0x0),_0x7476a7>_0x1f210e['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5306c0['position']&&_0x5306c0['hasOwnProperty']('position')){var _0x2104a5=_0x13cd17['Position']['verify'](_0x5306c0['position'],_0x7476a7+0x1);if(_0x2104a5)return'position.'+_0x2104a5;}return null!=_0x5306c0['oldName']&&_0x5306c0['hasOwnProperty']('oldName')&&!_0x1f210e['isString'](_0x5306c0['oldName'])?'oldName:\x20string\x20expected':null!=_0x5306c0['newName']&&_0x5306c0['hasOwnProperty']('newName')&&!_0x1f210e['isString'](_0x5306c0['newName'])?'newName:\x20string\x20expected':null!=_0x5306c0['wasUndone']&&_0x5306c0['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5306c0['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x56da70['fromObject']=function(_0x3332ca,_0x477d5f){if(_0x3332ca instanceof _0x13cd17['RenameOperation'])return _0x3332ca;if(void 0x0===_0x477d5f&&(_0x477d5f=0x0),_0x477d5f>_0x1f210e['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5f2286=new _0x13cd17['RenameOperation']();if(null!=_0x3332ca['position']){if('object'!=typeof _0x3332ca['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x5f2286['position']=_0x13cd17['Position']['fromObject'](_0x3332ca['position'],_0x477d5f+0x1);}return null!=_0x3332ca['oldName']&&(_0x5f2286['oldName']=String(_0x3332ca['oldName'])),null!=_0x3332ca['newName']&&(_0x5f2286['newName']=String(_0x3332ca['newName'])),null!=_0x3332ca['wasUndone']&&(_0x5f2286['wasUndone']=Boolean(_0x3332ca['wasUndone'])),_0x5f2286;},_0x56da70['toObject']=function(_0x5da98d,_0x2434be){_0x2434be||(_0x2434be={});var _0x373a8f={};return _0x2434be['defaults']&&(_0x373a8f['position']=null,_0x373a8f['oldName']='',_0x373a8f['newName']='',_0x373a8f['wasUndone']=!0x1),null!=_0x5da98d['position']&&_0x5da98d['hasOwnProperty']('position')&&(_0x373a8f['position']=_0x13cd17['Position']['toObject'](_0x5da98d['position'],_0x2434be)),null!=_0x5da98d['oldName']&&_0x5da98d['hasOwnProperty']('oldName')&&(_0x373a8f['oldName']=_0x5da98d['oldName']),null!=_0x5da98d['newName']&&_0x5da98d['hasOwnProperty']('newName')&&(_0x373a8f['newName']=_0x5da98d['newName']),null!=_0x5da98d['wasUndone']&&_0x5da98d['hasOwnProperty']('wasUndone')&&(_0x373a8f['wasUndone']=_0x5da98d['wasUndone']),_0x373a8f;},_0x56da70['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x53199a['util']['toJSONOptions']);},_0x56da70['getTypeUrl']=function(_0x6a21f8){return void 0x0===_0x6a21f8&&(_0x6a21f8='type.googleapis.com'),_0x6a21f8+'/RenameOperation';},_0x56da70;}()),_0x13cd17['RootAttributeOperation']=(function(){function _0x3e3acb(_0x4d63a7){if(_0x4d63a7){for(var _0x3cd084=Object['keys'](_0x4d63a7),_0x4f2a2f=0x0;_0x4f2a2f<_0x3cd084['length'];++_0x4f2a2f)null!=_0x4d63a7[_0x3cd084[_0x4f2a2f]]&&'__proto__'!==_0x3cd084[_0x4f2a2f]&&(this[_0x3cd084[_0x4f2a2f]]=_0x4d63a7[_0x3cd084[_0x4f2a2f]]);}}return _0x3e3acb['prototype']['root']='',_0x3e3acb['prototype']['key']='',_0x3e3acb['prototype']['oldValueBoolean']=!0x1,_0x3e3acb['prototype']['oldValueJson']='',_0x3e3acb['prototype']['newValueBoolean']=!0x1,_0x3e3acb['prototype']['newValueJson']='',_0x3e3acb['prototype']['wasUndone']=!0x1,_0x3e3acb['create']=function(_0x3a09da){return new _0x3e3acb(_0x3a09da);},_0x3e3acb['encode']=function(_0x55e3cb,_0x2f8a07){return _0x2f8a07||(_0x2f8a07=_0x40e476['create']()),null!=_0x55e3cb['root']&&Object['hasOwnProperty']['call'](_0x55e3cb,'root')&&_0x2f8a07['uint32'](0xa)['string'](_0x55e3cb['root']),null!=_0x55e3cb['key']&&Object['hasOwnProperty']['call'](_0x55e3cb,'key')&&_0x2f8a07['uint32'](0x12)['string'](_0x55e3cb['key']),null!=_0x55e3cb['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x55e3cb,'oldValueBoolean')&&_0x2f8a07['uint32'](0x18)['bool'](_0x55e3cb['oldValueBoolean']),null!=_0x55e3cb['oldValueJson']&&Object['hasOwnProperty']['call'](_0x55e3cb,'oldValueJson')&&_0x2f8a07['uint32'](0x22)['string'](_0x55e3cb['oldValueJson']),null!=_0x55e3cb['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x55e3cb,'newValueBoolean')&&_0x2f8a07['uint32'](0x28)['bool'](_0x55e3cb['newValueBoolean']),null!=_0x55e3cb['newValueJson']&&Object['hasOwnProperty']['call'](_0x55e3cb,'newValueJson')&&_0x2f8a07['uint32'](0x32)['string'](_0x55e3cb['newValueJson']),null!=_0x55e3cb['wasUndone']&&Object['hasOwnProperty']['call'](_0x55e3cb,'wasUndone')&&_0x2f8a07['uint32'](0x38)['bool'](_0x55e3cb['wasUndone']),_0x2f8a07;},_0x3e3acb['encodeDelimited']=function(_0x462de0,_0xc86409){return this['encode'](_0x462de0,_0xc86409)['ldelim']();},_0x3e3acb['decode']=function(_0x5fe0ec,_0x507aa,_0x1533e3,_0x445830){if(_0x5fe0ec instanceof _0x5cc2b8||(_0x5fe0ec=_0x5cc2b8['create'](_0x5fe0ec)),void 0x0===_0x445830&&(_0x445830=0x0),_0x445830>_0x5cc2b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x533d6c=void 0x0===_0x507aa?_0x5fe0ec['len']:_0x5fe0ec['pos']+_0x507aa,_0x5f37a0=new _0x13cd17['RootAttributeOperation']();_0x5fe0ec['pos']<_0x533d6c;){var _0xb06220=_0x5fe0ec['uint32']();if(_0xb06220===_0x1533e3)break;switch(_0xb06220>>>0x3){case 0x1:_0x5f37a0['root']=_0x5fe0ec['string']();break;case 0x2:_0x5f37a0['key']=_0x5fe0ec['string']();break;case 0x3:_0x5f37a0['oldValueBoolean']=_0x5fe0ec['bool']();break;case 0x4:_0x5f37a0['oldValueJson']=_0x5fe0ec['string']();break;case 0x5:_0x5f37a0['newValueBoolean']=_0x5fe0ec['bool']();break;case 0x6:_0x5f37a0['newValueJson']=_0x5fe0ec['string']();break;case 0x7:_0x5f37a0['wasUndone']=_0x5fe0ec['bool']();break;default:_0x5fe0ec['skipType'](0x7&_0xb06220,_0x445830);}}return _0x5f37a0;},_0x3e3acb['decodeDelimited']=function(_0x22f7e5){return _0x22f7e5 instanceof _0x5cc2b8||(_0x22f7e5=new _0x5cc2b8(_0x22f7e5)),this['decode'](_0x22f7e5,_0x22f7e5['uint32']());},_0x3e3acb['verify']=function(_0x479101,_0x27f0ff){return'object'!=typeof _0x479101||null===_0x479101?'object\x20expected':(void 0x0===_0x27f0ff&&(_0x27f0ff=0x0),_0x27f0ff>_0x1f210e['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x479101['root']&&_0x479101['hasOwnProperty']('root')&&!_0x1f210e['isString'](_0x479101['root'])?'root:\x20string\x20expected':null!=_0x479101['key']&&_0x479101['hasOwnProperty']('key')&&!_0x1f210e['isString'](_0x479101['key'])?'key:\x20string\x20expected':null!=_0x479101['oldValueBoolean']&&_0x479101['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x479101['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x479101['oldValueJson']&&_0x479101['hasOwnProperty']('oldValueJson')&&!_0x1f210e['isString'](_0x479101['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x479101['newValueBoolean']&&_0x479101['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x479101['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x479101['newValueJson']&&_0x479101['hasOwnProperty']('newValueJson')&&!_0x1f210e['isString'](_0x479101['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x479101['wasUndone']&&_0x479101['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x479101['wasUndone']?'wasUndone:\x20boolean\x20expected':null);},_0x3e3acb['fromObject']=function(_0x8e5b55,_0x1fbf9e){if(_0x8e5b55 instanceof _0x13cd17['RootAttributeOperation'])return _0x8e5b55;if(void 0x0===_0x1fbf9e&&(_0x1fbf9e=0x0),_0x1fbf9e>_0x1f210e['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1e494b=new _0x13cd17['RootAttributeOperation']();return null!=_0x8e5b55['root']&&(_0x1e494b['root']=String(_0x8e5b55['root'])),null!=_0x8e5b55['key']&&(_0x1e494b['key']=String(_0x8e5b55['key'])),null!=_0x8e5b55['oldValueBoolean']&&(_0x1e494b['oldValueBoolean']=Boolean(_0x8e5b55['oldValueBoolean'])),null!=_0x8e5b55['oldValueJson']&&(_0x1e494b['oldValueJson']=String(_0x8e5b55['oldValueJson'])),null!=_0x8e5b55['newValueBoolean']&&(_0x1e494b['newValueBoolean']=Boolean(_0x8e5b55['newValueBoolean'])),null!=_0x8e5b55['newValueJson']&&(_0x1e494b['newValueJson']=String(_0x8e5b55['newValueJson'])),null!=_0x8e5b55['wasUndone']&&(_0x1e494b['wasUndone']=Boolean(_0x8e5b55['wasUndone'])),_0x1e494b;},_0x3e3acb['toObject']=function(_0x227677,_0x43b701){_0x43b701||(_0x43b701={});var _0x3f6d78={};return _0x43b701['defaults']&&(_0x3f6d78['root']='',_0x3f6d78['key']='',_0x3f6d78['oldValueBoolean']=!0x1,_0x3f6d78['oldValueJson']='',_0x3f6d78['newValueBoolean']=!0x1,_0x3f6d78['newValueJson']='',_0x3f6d78['wasUndone']=!0x1),null!=_0x227677['root']&&_0x227677['hasOwnProperty']('root')&&(_0x3f6d78['root']=_0x227677['root']),null!=_0x227677['key']&&_0x227677['hasOwnProperty']('key')&&(_0x3f6d78['key']=_0x227677['key']),null!=_0x227677['oldValueBoolean']&&_0x227677['hasOwnProperty']('oldValueBoolean')&&(_0x3f6d78['oldValueBoolean']=_0x227677['oldValueBoolean']),null!=_0x227677['oldValueJson']&&_0x227677['hasOwnProperty']('oldValueJson')&&(_0x3f6d78['oldValueJson']=_0x227677['oldValueJson']),null!=_0x227677['newValueBoolean']&&_0x227677['hasOwnProperty']('newValueBoolean')&&(_0x3f6d78['newValueBoolean']=_0x227677['newValueBoolean']),null!=_0x227677['newValueJson']&&_0x227677['hasOwnProperty']('newValueJson')&&(_0x3f6d78['newValueJson']=_0x227677['newValueJson']),null!=_0x227677['wasUndone']&&_0x227677['hasOwnProperty']('wasUndone')&&(_0x3f6d78['wasUndone']=_0x227677['wasUndone']),_0x3f6d78;},_0x3e3acb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x53199a['util']['toJSONOptions']);},_0x3e3acb['getTypeUrl']=function(_0x491ccf){return void 0x0===_0x491ccf&&(_0x491ccf='type.googleapis.com'),_0x491ccf+'/RootAttributeOperation';},_0x3e3acb;}()),_0x13cd17['RootOperation']=(function(){function _0x4ac304(_0x4d2239){if(_0x4d2239){for(var _0x7ab8e8=Object['keys'](_0x4d2239),_0x4e0391=0x0;_0x4e0391<_0x7ab8e8['length'];++_0x4e0391)null!=_0x4d2239[_0x7ab8e8[_0x4e0391]]&&'__proto__'!==_0x7ab8e8[_0x4e0391]&&(this[_0x7ab8e8[_0x4e0391]]=_0x4d2239[_0x7ab8e8[_0x4e0391]]);}}return _0x4ac304['prototype']['rootName']='',_0x4ac304['prototype']['elementName']='',_0x4ac304['prototype']['isAdd']=!0x1,_0x4ac304['prototype']['wasUndone']=!0x1,_0x4ac304['create']=function(_0x2b13a3){return new _0x4ac304(_0x2b13a3);},_0x4ac304['encode']=function(_0x18ed2e,_0x37292c){return _0x37292c||(_0x37292c=_0x40e476['create']()),null!=_0x18ed2e['rootName']&&Object['hasOwnProperty']['call'](_0x18ed2e,'rootName')&&_0x37292c['uint32'](0xa)['string'](_0x18ed2e['rootName']),null!=_0x18ed2e['elementName']&&Object['hasOwnProperty']['call'](_0x18ed2e,'elementName')&&_0x37292c['uint32'](0x12)['string'](_0x18ed2e['elementName']),null!=_0x18ed2e['isAdd']&&Object['hasOwnProperty']['call'](_0x18ed2e,'isAdd')&&_0x37292c['uint32'](0x18)['bool'](_0x18ed2e['isAdd']),null!=_0x18ed2e['wasUndone']&&Object['hasOwnProperty']['call'](_0x18ed2e,'wasUndone')&&_0x37292c['uint32'](0x20)['bool'](_0x18ed2e['wasUndone']),_0x37292c;},_0x4ac304['encodeDelimited']=function(_0x96a541,_0x1dc0e){return this['encode'](_0x96a541,_0x1dc0e)['ldelim']();},_0x4ac304['decode']=function(_0x453135,_0x4a5fd7,_0xb3ca2a,_0x52dc63){if(_0x453135 instanceof _0x5cc2b8||(_0x453135=_0x5cc2b8['create'](_0x453135)),void 0x0===_0x52dc63&&(_0x52dc63=0x0),_0x52dc63>_0x5cc2b8['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x582b32=void 0x0===_0x4a5fd7?_0x453135['len']:_0x453135['pos']+_0x4a5fd7,_0x213820=new _0x13cd17['RootOperation']();_0x453135['pos']<_0x582b32;){var _0x4eec94=_0x453135['uint32']();if(_0x4eec94===_0xb3ca2a)break;switch(_0x4eec94>>>0x3){case 0x1:_0x213820['rootName']=_0x453135['string']();break;case 0x2:_0x213820['elementName']=_0x453135['string']();break;case 0x3:_0x213820['isAdd']=_0x453135['bool']();break;case 0x4:_0x213820['wasUndone']=_0x453135['bool']();break;default:_0x453135['skipType'](0x7&_0x4eec94,_0x52dc63);}}return _0x213820;},_0x4ac304['decodeDelimited']=function(_0x38381c){return _0x38381c instanceof _0x5cc2b8||(_0x38381c=new _0x5cc2b8(_0x38381c)),this['decode'](_0x38381c,_0x38381c['uint32']());},_0x4ac304['verify']=function(_0x413b40,_0x514d29){return'object'!=typeof _0x413b40||null===_0x413b40?'object\x20expected':(void 0x0===_0x514d29&&(_0x514d29=0x0),_0x514d29>_0x1f210e['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x413b40['rootName']&&_0x413b40['hasOwnProperty']('rootName')&&!_0x1f210e['isString'](_0x413b40['rootName'])?'rootName:\x20string\x20expected':null!=_0x413b40['elementName']&&_0x413b40['hasOwnProperty']('elementName')&&!_0x1f210e['isString'](_0x413b40['elementName'])?'elementName:\x20string\x20expected':null!=_0x413b40['isAdd']&&_0x413b40['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x413b40['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x413b40['wasUndone']&&_0x413b40['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x413b40['wasUndone']?'wasUndone:\x20boolean\x20expected':null);},_0x4ac304['fromObject']=function(_0x194b37,_0x5b5dfe){if(_0x194b37 instanceof _0x13cd17['RootOperation'])return _0x194b37;if(void 0x0===_0x5b5dfe&&(_0x5b5dfe=0x0),_0x5b5dfe>_0x1f210e['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x