@ckeditor/ckeditor5-operations-compressor
Version:
CKEditor 5 operations compressor for real-time collaboration.
24 lines • 86.5 kB
JavaScript
/*
* Copyright (c) 2003-2025, 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 _0x52dca1}from'@ckeditor/ckeditor5-utils/dist/index.js';import _0x1626bb from'protobufjs/minimal.js';import{cloneDeep as _0x3dbad7,isEqual as _0x1e5878,isObject as _0x58f0c6}from'es-toolkit/compat';const u=/* #__PURE__ -- @preserve */
((()=>{var _0x39f0e1=_0x1626bb['Reader'],_0x40cfa6=_0x1626bb['Writer'],_0x405a6f=_0x1626bb['util'],_0x19f897=_0x1626bb['roots']['default']||(_0x1626bb['roots']['default']={});return _0x19f897['AttributeOperation']=(function(){function _0x3d2991(_0x547ac3){if(_0x547ac3){for(var _0x307b86=Object['keys'](_0x547ac3),_0x2198c3=0x0;_0x2198c3<_0x307b86['length'];++_0x2198c3)null!=_0x547ac3[_0x307b86[_0x2198c3]]&&(this[_0x307b86[_0x2198c3]]=_0x547ac3[_0x307b86[_0x2198c3]]);}}return _0x3d2991['prototype']['range']=null,_0x3d2991['prototype']['key']='',_0x3d2991['prototype']['oldValueBoolean']=!0x1,_0x3d2991['prototype']['oldValueJson']='',_0x3d2991['prototype']['newValueBoolean']=!0x1,_0x3d2991['prototype']['newValueJson']='',_0x3d2991['prototype']['wasUndone']=!0x1,_0x3d2991['create']=function(_0x101aae){return new _0x3d2991(_0x101aae);},_0x3d2991['encode']=function(_0x3f76b2,_0x3d61b5){return _0x3d61b5||(_0x3d61b5=_0x40cfa6['create']()),null!=_0x3f76b2['range']&&Object['hasOwnProperty']['call'](_0x3f76b2,'range')&&_0x19f897['Range']['encode'](_0x3f76b2['range'],_0x3d61b5['uint32'](0xa)['fork']())['ldelim'](),null!=_0x3f76b2['key']&&Object['hasOwnProperty']['call'](_0x3f76b2,'key')&&_0x3d61b5['uint32'](0x12)['string'](_0x3f76b2['key']),null!=_0x3f76b2['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x3f76b2,'oldValueBoolean')&&_0x3d61b5['uint32'](0x18)['bool'](_0x3f76b2['oldValueBoolean']),null!=_0x3f76b2['oldValueJson']&&Object['hasOwnProperty']['call'](_0x3f76b2,'oldValueJson')&&_0x3d61b5['uint32'](0x22)['string'](_0x3f76b2['oldValueJson']),null!=_0x3f76b2['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x3f76b2,'newValueBoolean')&&_0x3d61b5['uint32'](0x28)['bool'](_0x3f76b2['newValueBoolean']),null!=_0x3f76b2['newValueJson']&&Object['hasOwnProperty']['call'](_0x3f76b2,'newValueJson')&&_0x3d61b5['uint32'](0x32)['string'](_0x3f76b2['newValueJson']),null!=_0x3f76b2['wasUndone']&&Object['hasOwnProperty']['call'](_0x3f76b2,'wasUndone')&&_0x3d61b5['uint32'](0x38)['bool'](_0x3f76b2['wasUndone']),_0x3d61b5;},_0x3d2991['encodeDelimited']=function(_0x2c72c9,_0x110a9e){return this['encode'](_0x2c72c9,_0x110a9e)['ldelim']();},_0x3d2991['decode']=function(_0x33998d,_0x17b682){_0x33998d instanceof _0x39f0e1||(_0x33998d=_0x39f0e1['create'](_0x33998d));for(var _0x4ee8c8=void 0x0===_0x17b682?_0x33998d['len']:_0x33998d['pos']+_0x17b682,_0x3f041e=new _0x19f897['AttributeOperation']();_0x33998d['pos']<_0x4ee8c8;){var _0x367436=_0x33998d['uint32']();switch(_0x367436>>>0x3){case 0x1:_0x3f041e['range']=_0x19f897['Range']['decode'](_0x33998d,_0x33998d['uint32']());break;case 0x2:_0x3f041e['key']=_0x33998d['string']();break;case 0x3:_0x3f041e['oldValueBoolean']=_0x33998d['bool']();break;case 0x4:_0x3f041e['oldValueJson']=_0x33998d['string']();break;case 0x5:_0x3f041e['newValueBoolean']=_0x33998d['bool']();break;case 0x6:_0x3f041e['newValueJson']=_0x33998d['string']();break;case 0x7:_0x3f041e['wasUndone']=_0x33998d['bool']();break;default:_0x33998d['skipType'](0x7&_0x367436);}}return _0x3f041e;},_0x3d2991['decodeDelimited']=function(_0x49aee1){return _0x49aee1 instanceof _0x39f0e1||(_0x49aee1=new _0x39f0e1(_0x49aee1)),this['decode'](_0x49aee1,_0x49aee1['uint32']());},_0x3d2991['verify']=function(_0x14a26c){if('object'!=typeof _0x14a26c||null===_0x14a26c)return'object\x20expected';if(null!=_0x14a26c['range']&&_0x14a26c['hasOwnProperty']('range')){var _0x12e51f=_0x19f897['Range']['verify'](_0x14a26c['range']);if(_0x12e51f)return'range.'+_0x12e51f;}return null!=_0x14a26c['key']&&_0x14a26c['hasOwnProperty']('key')&&!_0x405a6f['isString'](_0x14a26c['key'])?'key:\x20string\x20expected':null!=_0x14a26c['oldValueBoolean']&&_0x14a26c['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x14a26c['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x14a26c['oldValueJson']&&_0x14a26c['hasOwnProperty']('oldValueJson')&&!_0x405a6f['isString'](_0x14a26c['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x14a26c['newValueBoolean']&&_0x14a26c['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x14a26c['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x14a26c['newValueJson']&&_0x14a26c['hasOwnProperty']('newValueJson')&&!_0x405a6f['isString'](_0x14a26c['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x14a26c['wasUndone']&&_0x14a26c['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x14a26c['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x3d2991['fromObject']=function(_0x4453a6){if(_0x4453a6 instanceof _0x19f897['AttributeOperation'])return _0x4453a6;var _0x373680=new _0x19f897['AttributeOperation']();if(null!=_0x4453a6['range']){if('object'!=typeof _0x4453a6['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x373680['range']=_0x19f897['Range']['fromObject'](_0x4453a6['range']);}return null!=_0x4453a6['key']&&(_0x373680['key']=String(_0x4453a6['key'])),null!=_0x4453a6['oldValueBoolean']&&(_0x373680['oldValueBoolean']=Boolean(_0x4453a6['oldValueBoolean'])),null!=_0x4453a6['oldValueJson']&&(_0x373680['oldValueJson']=String(_0x4453a6['oldValueJson'])),null!=_0x4453a6['newValueBoolean']&&(_0x373680['newValueBoolean']=Boolean(_0x4453a6['newValueBoolean'])),null!=_0x4453a6['newValueJson']&&(_0x373680['newValueJson']=String(_0x4453a6['newValueJson'])),null!=_0x4453a6['wasUndone']&&(_0x373680['wasUndone']=Boolean(_0x4453a6['wasUndone'])),_0x373680;},_0x3d2991['toObject']=function(_0x5a26b4,_0x441c44){_0x441c44||(_0x441c44={});var _0x1acd8d={};return _0x441c44['defaults']&&(_0x1acd8d['range']=null,_0x1acd8d['key']='',_0x1acd8d['oldValueBoolean']=!0x1,_0x1acd8d['oldValueJson']='',_0x1acd8d['newValueBoolean']=!0x1,_0x1acd8d['newValueJson']='',_0x1acd8d['wasUndone']=!0x1),null!=_0x5a26b4['range']&&_0x5a26b4['hasOwnProperty']('range')&&(_0x1acd8d['range']=_0x19f897['Range']['toObject'](_0x5a26b4['range'],_0x441c44)),null!=_0x5a26b4['key']&&_0x5a26b4['hasOwnProperty']('key')&&(_0x1acd8d['key']=_0x5a26b4['key']),null!=_0x5a26b4['oldValueBoolean']&&_0x5a26b4['hasOwnProperty']('oldValueBoolean')&&(_0x1acd8d['oldValueBoolean']=_0x5a26b4['oldValueBoolean']),null!=_0x5a26b4['oldValueJson']&&_0x5a26b4['hasOwnProperty']('oldValueJson')&&(_0x1acd8d['oldValueJson']=_0x5a26b4['oldValueJson']),null!=_0x5a26b4['newValueBoolean']&&_0x5a26b4['hasOwnProperty']('newValueBoolean')&&(_0x1acd8d['newValueBoolean']=_0x5a26b4['newValueBoolean']),null!=_0x5a26b4['newValueJson']&&_0x5a26b4['hasOwnProperty']('newValueJson')&&(_0x1acd8d['newValueJson']=_0x5a26b4['newValueJson']),null!=_0x5a26b4['wasUndone']&&_0x5a26b4['hasOwnProperty']('wasUndone')&&(_0x1acd8d['wasUndone']=_0x5a26b4['wasUndone']),_0x1acd8d;},_0x3d2991['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x1626bb['util']['toJSONOptions']);},_0x3d2991['getTypeUrl']=function(_0x342a44){return void 0x0===_0x342a44&&(_0x342a44='type.googleapis.com'),_0x342a44+'/AttributeOperation';},_0x3d2991;}()),_0x19f897['InsertOperation']=(function(){function _0x28d230(_0x779299){if(this['nodes']=[],_0x779299){for(var _0x3e47d6=Object['keys'](_0x779299),_0x23cc17=0x0;_0x23cc17<_0x3e47d6['length'];++_0x23cc17)null!=_0x779299[_0x3e47d6[_0x23cc17]]&&(this[_0x3e47d6[_0x23cc17]]=_0x779299[_0x3e47d6[_0x23cc17]]);}}return _0x28d230['prototype']['position']=null,_0x28d230['prototype']['nodes']=_0x405a6f['emptyArray'],_0x28d230['prototype']['shouldReceiveAttributes']=!0x1,_0x28d230['prototype']['wasUndone']=!0x1,_0x28d230['create']=function(_0x49e19b){return new _0x28d230(_0x49e19b);},_0x28d230['encode']=function(_0x2467e7,_0x2d1ace){if(_0x2d1ace||(_0x2d1ace=_0x40cfa6['create']()),null!=_0x2467e7['position']&&Object['hasOwnProperty']['call'](_0x2467e7,'position')&&_0x19f897['Position']['encode'](_0x2467e7['position'],_0x2d1ace['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2467e7['nodes']&&_0x2467e7['nodes']['length']){for(var _0x55c9ac=0x0;_0x55c9ac<_0x2467e7['nodes']['length'];++_0x55c9ac)_0x19f897['Element']['encode'](_0x2467e7['nodes'][_0x55c9ac],_0x2d1ace['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x2467e7['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x2467e7,'shouldReceiveAttributes')&&_0x2d1ace['uint32'](0x18)['bool'](_0x2467e7['shouldReceiveAttributes']),null!=_0x2467e7['wasUndone']&&Object['hasOwnProperty']['call'](_0x2467e7,'wasUndone')&&_0x2d1ace['uint32'](0x20)['bool'](_0x2467e7['wasUndone']),_0x2d1ace;},_0x28d230['encodeDelimited']=function(_0x1b2646,_0x137c99){return this['encode'](_0x1b2646,_0x137c99)['ldelim']();},_0x28d230['decode']=function(_0x200fca,_0x5edf37){_0x200fca instanceof _0x39f0e1||(_0x200fca=_0x39f0e1['create'](_0x200fca));for(var _0x9aea7c=void 0x0===_0x5edf37?_0x200fca['len']:_0x200fca['pos']+_0x5edf37,_0x598527=new _0x19f897['InsertOperation']();_0x200fca['pos']<_0x9aea7c;){var _0x4c88e2=_0x200fca['uint32']();switch(_0x4c88e2>>>0x3){case 0x1:_0x598527['position']=_0x19f897['Position']['decode'](_0x200fca,_0x200fca['uint32']());break;case 0x2:_0x598527['nodes']&&_0x598527['nodes']['length']||(_0x598527['nodes']=[]),_0x598527['nodes']['push'](_0x19f897['Element']['decode'](_0x200fca,_0x200fca['uint32']()));break;case 0x3:_0x598527['shouldReceiveAttributes']=_0x200fca['bool']();break;case 0x4:_0x598527['wasUndone']=_0x200fca['bool']();break;default:_0x200fca['skipType'](0x7&_0x4c88e2);}}return _0x598527;},_0x28d230['decodeDelimited']=function(_0x42bac0){return _0x42bac0 instanceof _0x39f0e1||(_0x42bac0=new _0x39f0e1(_0x42bac0)),this['decode'](_0x42bac0,_0x42bac0['uint32']());},_0x28d230['verify']=function(_0x6cda50){if('object'!=typeof _0x6cda50||null===_0x6cda50)return'object\x20expected';if(null!=_0x6cda50['position']&&_0x6cda50['hasOwnProperty']('position')&&(_0x5c15de=_0x19f897['Position']['verify'](_0x6cda50['position'])))return'position.'+_0x5c15de;if(null!=_0x6cda50['nodes']&&_0x6cda50['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x6cda50['nodes']))return'nodes:\x20array\x20expected';for(var _0xfa97a0=0x0;_0xfa97a0<_0x6cda50['nodes']['length'];++_0xfa97a0){var _0x5c15de;if(_0x5c15de=_0x19f897['Element']['verify'](_0x6cda50['nodes'][_0xfa97a0]))return'nodes.'+_0x5c15de;}}return null!=_0x6cda50['shouldReceiveAttributes']&&_0x6cda50['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x6cda50['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x6cda50['wasUndone']&&_0x6cda50['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x6cda50['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x28d230['fromObject']=function(_0x1cbbb4){if(_0x1cbbb4 instanceof _0x19f897['InsertOperation'])return _0x1cbbb4;var _0x539a10=new _0x19f897['InsertOperation']();if(null!=_0x1cbbb4['position']){if('object'!=typeof _0x1cbbb4['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x539a10['position']=_0x19f897['Position']['fromObject'](_0x1cbbb4['position']);}if(_0x1cbbb4['nodes']){if(!Array['isArray'](_0x1cbbb4['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x539a10['nodes']=[];for(var _0x31a6d6=0x0;_0x31a6d6<_0x1cbbb4['nodes']['length'];++_0x31a6d6){if('object'!=typeof _0x1cbbb4['nodes'][_0x31a6d6])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x539a10['nodes'][_0x31a6d6]=_0x19f897['Element']['fromObject'](_0x1cbbb4['nodes'][_0x31a6d6]);}}return null!=_0x1cbbb4['shouldReceiveAttributes']&&(_0x539a10['shouldReceiveAttributes']=Boolean(_0x1cbbb4['shouldReceiveAttributes'])),null!=_0x1cbbb4['wasUndone']&&(_0x539a10['wasUndone']=Boolean(_0x1cbbb4['wasUndone'])),_0x539a10;},_0x28d230['toObject']=function(_0x1a73c8,_0x1c3674){_0x1c3674||(_0x1c3674={});var _0x130ca7={};if((_0x1c3674['arrays']||_0x1c3674['defaults'])&&(_0x130ca7['nodes']=[]),_0x1c3674['defaults']&&(_0x130ca7['position']=null,_0x130ca7['shouldReceiveAttributes']=!0x1,_0x130ca7['wasUndone']=!0x1),null!=_0x1a73c8['position']&&_0x1a73c8['hasOwnProperty']('position')&&(_0x130ca7['position']=_0x19f897['Position']['toObject'](_0x1a73c8['position'],_0x1c3674)),_0x1a73c8['nodes']&&_0x1a73c8['nodes']['length']){_0x130ca7['nodes']=[];for(var _0x22b269=0x0;_0x22b269<_0x1a73c8['nodes']['length'];++_0x22b269)_0x130ca7['nodes'][_0x22b269]=_0x19f897['Element']['toObject'](_0x1a73c8['nodes'][_0x22b269],_0x1c3674);}return null!=_0x1a73c8['shouldReceiveAttributes']&&_0x1a73c8['hasOwnProperty']('shouldReceiveAttributes')&&(_0x130ca7['shouldReceiveAttributes']=_0x1a73c8['shouldReceiveAttributes']),null!=_0x1a73c8['wasUndone']&&_0x1a73c8['hasOwnProperty']('wasUndone')&&(_0x130ca7['wasUndone']=_0x1a73c8['wasUndone']),_0x130ca7;},_0x28d230['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x1626bb['util']['toJSONOptions']);},_0x28d230['getTypeUrl']=function(_0xd2e6f7){return void 0x0===_0xd2e6f7&&(_0xd2e6f7='type.googleapis.com'),_0xd2e6f7+'/InsertOperation';},_0x28d230;}()),_0x19f897['MarkerOperation']=(function(){function _0x1f40ad(_0xa8255a){if(_0xa8255a){for(var _0x200e5a=Object['keys'](_0xa8255a),_0x1e9b75=0x0;_0x1e9b75<_0x200e5a['length'];++_0x1e9b75)null!=_0xa8255a[_0x200e5a[_0x1e9b75]]&&(this[_0x200e5a[_0x1e9b75]]=_0xa8255a[_0x200e5a[_0x1e9b75]]);}}return _0x1f40ad['prototype']['name']='',_0x1f40ad['prototype']['oldRange']=null,_0x1f40ad['prototype']['newRange']=null,_0x1f40ad['prototype']['affectsData']=!0x1,_0x1f40ad['prototype']['wasUndone']=!0x1,_0x1f40ad['create']=function(_0x228d96){return new _0x1f40ad(_0x228d96);},_0x1f40ad['encode']=function(_0x35dbfa,_0x1e7b4e){return _0x1e7b4e||(_0x1e7b4e=_0x40cfa6['create']()),null!=_0x35dbfa['name']&&Object['hasOwnProperty']['call'](_0x35dbfa,'name')&&_0x1e7b4e['uint32'](0xa)['string'](_0x35dbfa['name']),null!=_0x35dbfa['oldRange']&&Object['hasOwnProperty']['call'](_0x35dbfa,'oldRange')&&_0x19f897['Range']['encode'](_0x35dbfa['oldRange'],_0x1e7b4e['uint32'](0x12)['fork']())['ldelim'](),null!=_0x35dbfa['newRange']&&Object['hasOwnProperty']['call'](_0x35dbfa,'newRange')&&_0x19f897['Range']['encode'](_0x35dbfa['newRange'],_0x1e7b4e['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x35dbfa['affectsData']&&Object['hasOwnProperty']['call'](_0x35dbfa,'affectsData')&&_0x1e7b4e['uint32'](0x20)['bool'](_0x35dbfa['affectsData']),null!=_0x35dbfa['wasUndone']&&Object['hasOwnProperty']['call'](_0x35dbfa,'wasUndone')&&_0x1e7b4e['uint32'](0x28)['bool'](_0x35dbfa['wasUndone']),_0x1e7b4e;},_0x1f40ad['encodeDelimited']=function(_0x5452f4,_0x1696af){return this['encode'](_0x5452f4,_0x1696af)['ldelim']();},_0x1f40ad['decode']=function(_0x505a3c,_0x3cd1e6){_0x505a3c instanceof _0x39f0e1||(_0x505a3c=_0x39f0e1['create'](_0x505a3c));for(var _0x261c27=void 0x0===_0x3cd1e6?_0x505a3c['len']:_0x505a3c['pos']+_0x3cd1e6,_0x302d94=new _0x19f897['MarkerOperation']();_0x505a3c['pos']<_0x261c27;){var _0x567569=_0x505a3c['uint32']();switch(_0x567569>>>0x3){case 0x1:_0x302d94['name']=_0x505a3c['string']();break;case 0x2:_0x302d94['oldRange']=_0x19f897['Range']['decode'](_0x505a3c,_0x505a3c['uint32']());break;case 0x3:_0x302d94['newRange']=_0x19f897['Range']['decode'](_0x505a3c,_0x505a3c['uint32']());break;case 0x4:_0x302d94['affectsData']=_0x505a3c['bool']();break;case 0x5:_0x302d94['wasUndone']=_0x505a3c['bool']();break;default:_0x505a3c['skipType'](0x7&_0x567569);}}return _0x302d94;},_0x1f40ad['decodeDelimited']=function(_0x9f447){return _0x9f447 instanceof _0x39f0e1||(_0x9f447=new _0x39f0e1(_0x9f447)),this['decode'](_0x9f447,_0x9f447['uint32']());},_0x1f40ad['verify']=function(_0x592122){if('object'!=typeof _0x592122||null===_0x592122)return'object\x20expected';if(null!=_0x592122['name']&&_0x592122['hasOwnProperty']('name')&&!_0x405a6f['isString'](_0x592122['name']))return'name:\x20string\x20expected';var _0x358a31;if(null!=_0x592122['oldRange']&&_0x592122['hasOwnProperty']('oldRange')&&(_0x358a31=_0x19f897['Range']['verify'](_0x592122['oldRange'])))return'oldRange.'+_0x358a31;if(null!=_0x592122['newRange']&&_0x592122['hasOwnProperty']('newRange')&&(_0x358a31=_0x19f897['Range']['verify'](_0x592122['newRange'])))return'newRange.'+_0x358a31;return null!=_0x592122['affectsData']&&_0x592122['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x592122['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x592122['wasUndone']&&_0x592122['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x592122['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1f40ad['fromObject']=function(_0x2ffec3){if(_0x2ffec3 instanceof _0x19f897['MarkerOperation'])return _0x2ffec3;var _0xbd6193=new _0x19f897['MarkerOperation']();if(null!=_0x2ffec3['name']&&(_0xbd6193['name']=String(_0x2ffec3['name'])),null!=_0x2ffec3['oldRange']){if('object'!=typeof _0x2ffec3['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0xbd6193['oldRange']=_0x19f897['Range']['fromObject'](_0x2ffec3['oldRange']);}if(null!=_0x2ffec3['newRange']){if('object'!=typeof _0x2ffec3['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0xbd6193['newRange']=_0x19f897['Range']['fromObject'](_0x2ffec3['newRange']);}return null!=_0x2ffec3['affectsData']&&(_0xbd6193['affectsData']=Boolean(_0x2ffec3['affectsData'])),null!=_0x2ffec3['wasUndone']&&(_0xbd6193['wasUndone']=Boolean(_0x2ffec3['wasUndone'])),_0xbd6193;},_0x1f40ad['toObject']=function(_0x535df8,_0x12c06a){_0x12c06a||(_0x12c06a={});var _0x1e9a9b={};return _0x12c06a['defaults']&&(_0x1e9a9b['name']='',_0x1e9a9b['oldRange']=null,_0x1e9a9b['newRange']=null,_0x1e9a9b['affectsData']=!0x1,_0x1e9a9b['wasUndone']=!0x1),null!=_0x535df8['name']&&_0x535df8['hasOwnProperty']('name')&&(_0x1e9a9b['name']=_0x535df8['name']),null!=_0x535df8['oldRange']&&_0x535df8['hasOwnProperty']('oldRange')&&(_0x1e9a9b['oldRange']=_0x19f897['Range']['toObject'](_0x535df8['oldRange'],_0x12c06a)),null!=_0x535df8['newRange']&&_0x535df8['hasOwnProperty']('newRange')&&(_0x1e9a9b['newRange']=_0x19f897['Range']['toObject'](_0x535df8['newRange'],_0x12c06a)),null!=_0x535df8['affectsData']&&_0x535df8['hasOwnProperty']('affectsData')&&(_0x1e9a9b['affectsData']=_0x535df8['affectsData']),null!=_0x535df8['wasUndone']&&_0x535df8['hasOwnProperty']('wasUndone')&&(_0x1e9a9b['wasUndone']=_0x535df8['wasUndone']),_0x1e9a9b;},_0x1f40ad['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x1626bb['util']['toJSONOptions']);},_0x1f40ad['getTypeUrl']=function(_0x9da868){return void 0x0===_0x9da868&&(_0x9da868='type.googleapis.com'),_0x9da868+'/MarkerOperation';},_0x1f40ad;}()),_0x19f897['MergeOperation']=(function(){function _0x1169ea(_0x6fe5fb){if(_0x6fe5fb){for(var _0x423a34=Object['keys'](_0x6fe5fb),_0x5af3ba=0x0;_0x5af3ba<_0x423a34['length'];++_0x5af3ba)null!=_0x6fe5fb[_0x423a34[_0x5af3ba]]&&(this[_0x423a34[_0x5af3ba]]=_0x6fe5fb[_0x423a34[_0x5af3ba]]);}}return _0x1169ea['prototype']['sourcePosition']=null,_0x1169ea['prototype']['targetPosition']=null,_0x1169ea['prototype']['graveyardPosition']=null,_0x1169ea['prototype']['howMany']=0x0,_0x1169ea['prototype']['wasUndone']=!0x1,_0x1169ea['create']=function(_0x5a5f38){return new _0x1169ea(_0x5a5f38);},_0x1169ea['encode']=function(_0x492f83,_0x412704){return _0x412704||(_0x412704=_0x40cfa6['create']()),null!=_0x492f83['sourcePosition']&&Object['hasOwnProperty']['call'](_0x492f83,'sourcePosition')&&_0x19f897['Position']['encode'](_0x492f83['sourcePosition'],_0x412704['uint32'](0xa)['fork']())['ldelim'](),null!=_0x492f83['targetPosition']&&Object['hasOwnProperty']['call'](_0x492f83,'targetPosition')&&_0x19f897['Position']['encode'](_0x492f83['targetPosition'],_0x412704['uint32'](0x12)['fork']())['ldelim'](),null!=_0x492f83['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x492f83,'graveyardPosition')&&_0x19f897['Position']['encode'](_0x492f83['graveyardPosition'],_0x412704['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x492f83['howMany']&&Object['hasOwnProperty']['call'](_0x492f83,'howMany')&&_0x412704['uint32'](0x20)['uint32'](_0x492f83['howMany']),null!=_0x492f83['wasUndone']&&Object['hasOwnProperty']['call'](_0x492f83,'wasUndone')&&_0x412704['uint32'](0x28)['bool'](_0x492f83['wasUndone']),_0x412704;},_0x1169ea['encodeDelimited']=function(_0x12ba43,_0x2f4fbf){return this['encode'](_0x12ba43,_0x2f4fbf)['ldelim']();},_0x1169ea['decode']=function(_0x127dc6,_0x188929){_0x127dc6 instanceof _0x39f0e1||(_0x127dc6=_0x39f0e1['create'](_0x127dc6));for(var _0x1248e0=void 0x0===_0x188929?_0x127dc6['len']:_0x127dc6['pos']+_0x188929,_0x325f01=new _0x19f897['MergeOperation']();_0x127dc6['pos']<_0x1248e0;){var _0x5b4376=_0x127dc6['uint32']();switch(_0x5b4376>>>0x3){case 0x1:_0x325f01['sourcePosition']=_0x19f897['Position']['decode'](_0x127dc6,_0x127dc6['uint32']());break;case 0x2:_0x325f01['targetPosition']=_0x19f897['Position']['decode'](_0x127dc6,_0x127dc6['uint32']());break;case 0x3:_0x325f01['graveyardPosition']=_0x19f897['Position']['decode'](_0x127dc6,_0x127dc6['uint32']());break;case 0x4:_0x325f01['howMany']=_0x127dc6['uint32']();break;case 0x5:_0x325f01['wasUndone']=_0x127dc6['bool']();break;default:_0x127dc6['skipType'](0x7&_0x5b4376);}}return _0x325f01;},_0x1169ea['decodeDelimited']=function(_0x1698e4){return _0x1698e4 instanceof _0x39f0e1||(_0x1698e4=new _0x39f0e1(_0x1698e4)),this['decode'](_0x1698e4,_0x1698e4['uint32']());},_0x1169ea['verify']=function(_0x4085b6){if('object'!=typeof _0x4085b6||null===_0x4085b6)return'object\x20expected';var _0x2e5bbd;if(null!=_0x4085b6['sourcePosition']&&_0x4085b6['hasOwnProperty']('sourcePosition')&&(_0x2e5bbd=_0x19f897['Position']['verify'](_0x4085b6['sourcePosition'])))return'sourcePosition.'+_0x2e5bbd;if(null!=_0x4085b6['targetPosition']&&_0x4085b6['hasOwnProperty']('targetPosition')&&(_0x2e5bbd=_0x19f897['Position']['verify'](_0x4085b6['targetPosition'])))return'targetPosition.'+_0x2e5bbd;if(null!=_0x4085b6['graveyardPosition']&&_0x4085b6['hasOwnProperty']('graveyardPosition')&&(_0x2e5bbd=_0x19f897['Position']['verify'](_0x4085b6['graveyardPosition'])))return'graveyardPosition.'+_0x2e5bbd;return null!=_0x4085b6['howMany']&&_0x4085b6['hasOwnProperty']('howMany')&&!_0x405a6f['isInteger'](_0x4085b6['howMany'])?'howMany:\x20integer\x20expected':null!=_0x4085b6['wasUndone']&&_0x4085b6['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x4085b6['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1169ea['fromObject']=function(_0x2b53f8){if(_0x2b53f8 instanceof _0x19f897['MergeOperation'])return _0x2b53f8;var _0x405d76=new _0x19f897['MergeOperation']();if(null!=_0x2b53f8['sourcePosition']){if('object'!=typeof _0x2b53f8['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x405d76['sourcePosition']=_0x19f897['Position']['fromObject'](_0x2b53f8['sourcePosition']);}if(null!=_0x2b53f8['targetPosition']){if('object'!=typeof _0x2b53f8['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x405d76['targetPosition']=_0x19f897['Position']['fromObject'](_0x2b53f8['targetPosition']);}if(null!=_0x2b53f8['graveyardPosition']){if('object'!=typeof _0x2b53f8['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x405d76['graveyardPosition']=_0x19f897['Position']['fromObject'](_0x2b53f8['graveyardPosition']);}return null!=_0x2b53f8['howMany']&&(_0x405d76['howMany']=_0x2b53f8['howMany']>>>0x0),null!=_0x2b53f8['wasUndone']&&(_0x405d76['wasUndone']=Boolean(_0x2b53f8['wasUndone'])),_0x405d76;},_0x1169ea['toObject']=function(_0x550f7f,_0x5490c0){_0x5490c0||(_0x5490c0={});var _0x4fc6dd={};return _0x5490c0['defaults']&&(_0x4fc6dd['sourcePosition']=null,_0x4fc6dd['targetPosition']=null,_0x4fc6dd['graveyardPosition']=null,_0x4fc6dd['howMany']=0x0,_0x4fc6dd['wasUndone']=!0x1),null!=_0x550f7f['sourcePosition']&&_0x550f7f['hasOwnProperty']('sourcePosition')&&(_0x4fc6dd['sourcePosition']=_0x19f897['Position']['toObject'](_0x550f7f['sourcePosition'],_0x5490c0)),null!=_0x550f7f['targetPosition']&&_0x550f7f['hasOwnProperty']('targetPosition')&&(_0x4fc6dd['targetPosition']=_0x19f897['Position']['toObject'](_0x550f7f['targetPosition'],_0x5490c0)),null!=_0x550f7f['graveyardPosition']&&_0x550f7f['hasOwnProperty']('graveyardPosition')&&(_0x4fc6dd['graveyardPosition']=_0x19f897['Position']['toObject'](_0x550f7f['graveyardPosition'],_0x5490c0)),null!=_0x550f7f['howMany']&&_0x550f7f['hasOwnProperty']('howMany')&&(_0x4fc6dd['howMany']=_0x550f7f['howMany']),null!=_0x550f7f['wasUndone']&&_0x550f7f['hasOwnProperty']('wasUndone')&&(_0x4fc6dd['wasUndone']=_0x550f7f['wasUndone']),_0x4fc6dd;},_0x1169ea['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x1626bb['util']['toJSONOptions']);},_0x1169ea['getTypeUrl']=function(_0x505550){return void 0x0===_0x505550&&(_0x505550='type.googleapis.com'),_0x505550+'/MergeOperation';},_0x1169ea;}()),_0x19f897['MoveOperation']=(function(){function _0x1731a6(_0x3ed894){if(_0x3ed894){for(var _0x198078=Object['keys'](_0x3ed894),_0x22867d=0x0;_0x22867d<_0x198078['length'];++_0x22867d)null!=_0x3ed894[_0x198078[_0x22867d]]&&(this[_0x198078[_0x22867d]]=_0x3ed894[_0x198078[_0x22867d]]);}}return _0x1731a6['prototype']['sourcePosition']=null,_0x1731a6['prototype']['howMany']=0x0,_0x1731a6['prototype']['targetPosition']=null,_0x1731a6['prototype']['wasUndone']=!0x1,_0x1731a6['create']=function(_0x2c5762){return new _0x1731a6(_0x2c5762);},_0x1731a6['encode']=function(_0x375e7c,_0x53e314){return _0x53e314||(_0x53e314=_0x40cfa6['create']()),null!=_0x375e7c['sourcePosition']&&Object['hasOwnProperty']['call'](_0x375e7c,'sourcePosition')&&_0x19f897['Position']['encode'](_0x375e7c['sourcePosition'],_0x53e314['uint32'](0xa)['fork']())['ldelim'](),null!=_0x375e7c['howMany']&&Object['hasOwnProperty']['call'](_0x375e7c,'howMany')&&_0x53e314['uint32'](0x10)['uint32'](_0x375e7c['howMany']),null!=_0x375e7c['targetPosition']&&Object['hasOwnProperty']['call'](_0x375e7c,'targetPosition')&&_0x19f897['Position']['encode'](_0x375e7c['targetPosition'],_0x53e314['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x375e7c['wasUndone']&&Object['hasOwnProperty']['call'](_0x375e7c,'wasUndone')&&_0x53e314['uint32'](0x20)['bool'](_0x375e7c['wasUndone']),_0x53e314;},_0x1731a6['encodeDelimited']=function(_0x59feb2,_0x4a0f69){return this['encode'](_0x59feb2,_0x4a0f69)['ldelim']();},_0x1731a6['decode']=function(_0x343460,_0x50fe36){_0x343460 instanceof _0x39f0e1||(_0x343460=_0x39f0e1['create'](_0x343460));for(var _0x5ccde5=void 0x0===_0x50fe36?_0x343460['len']:_0x343460['pos']+_0x50fe36,_0x4de2cf=new _0x19f897['MoveOperation']();_0x343460['pos']<_0x5ccde5;){var _0x1f801d=_0x343460['uint32']();switch(_0x1f801d>>>0x3){case 0x1:_0x4de2cf['sourcePosition']=_0x19f897['Position']['decode'](_0x343460,_0x343460['uint32']());break;case 0x2:_0x4de2cf['howMany']=_0x343460['uint32']();break;case 0x3:_0x4de2cf['targetPosition']=_0x19f897['Position']['decode'](_0x343460,_0x343460['uint32']());break;case 0x4:_0x4de2cf['wasUndone']=_0x343460['bool']();break;default:_0x343460['skipType'](0x7&_0x1f801d);}}return _0x4de2cf;},_0x1731a6['decodeDelimited']=function(_0x3b8a69){return _0x3b8a69 instanceof _0x39f0e1||(_0x3b8a69=new _0x39f0e1(_0x3b8a69)),this['decode'](_0x3b8a69,_0x3b8a69['uint32']());},_0x1731a6['verify']=function(_0x581a33){if('object'!=typeof _0x581a33||null===_0x581a33)return'object\x20expected';var _0x151b94;if(null!=_0x581a33['sourcePosition']&&_0x581a33['hasOwnProperty']('sourcePosition')&&(_0x151b94=_0x19f897['Position']['verify'](_0x581a33['sourcePosition'])))return'sourcePosition.'+_0x151b94;if(null!=_0x581a33['howMany']&&_0x581a33['hasOwnProperty']('howMany')&&!_0x405a6f['isInteger'](_0x581a33['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x581a33['targetPosition']&&_0x581a33['hasOwnProperty']('targetPosition')&&(_0x151b94=_0x19f897['Position']['verify'](_0x581a33['targetPosition'])))return'targetPosition.'+_0x151b94;return null!=_0x581a33['wasUndone']&&_0x581a33['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x581a33['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1731a6['fromObject']=function(_0x1a2b4d){if(_0x1a2b4d instanceof _0x19f897['MoveOperation'])return _0x1a2b4d;var _0x2584f6=new _0x19f897['MoveOperation']();if(null!=_0x1a2b4d['sourcePosition']){if('object'!=typeof _0x1a2b4d['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x2584f6['sourcePosition']=_0x19f897['Position']['fromObject'](_0x1a2b4d['sourcePosition']);}if(null!=_0x1a2b4d['howMany']&&(_0x2584f6['howMany']=_0x1a2b4d['howMany']>>>0x0),null!=_0x1a2b4d['targetPosition']){if('object'!=typeof _0x1a2b4d['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x2584f6['targetPosition']=_0x19f897['Position']['fromObject'](_0x1a2b4d['targetPosition']);}return null!=_0x1a2b4d['wasUndone']&&(_0x2584f6['wasUndone']=Boolean(_0x1a2b4d['wasUndone'])),_0x2584f6;},_0x1731a6['toObject']=function(_0x349682,_0x59899c){_0x59899c||(_0x59899c={});var _0x33686d={};return _0x59899c['defaults']&&(_0x33686d['sourcePosition']=null,_0x33686d['howMany']=0x0,_0x33686d['targetPosition']=null,_0x33686d['wasUndone']=!0x1),null!=_0x349682['sourcePosition']&&_0x349682['hasOwnProperty']('sourcePosition')&&(_0x33686d['sourcePosition']=_0x19f897['Position']['toObject'](_0x349682['sourcePosition'],_0x59899c)),null!=_0x349682['howMany']&&_0x349682['hasOwnProperty']('howMany')&&(_0x33686d['howMany']=_0x349682['howMany']),null!=_0x349682['targetPosition']&&_0x349682['hasOwnProperty']('targetPosition')&&(_0x33686d['targetPosition']=_0x19f897['Position']['toObject'](_0x349682['targetPosition'],_0x59899c)),null!=_0x349682['wasUndone']&&_0x349682['hasOwnProperty']('wasUndone')&&(_0x33686d['wasUndone']=_0x349682['wasUndone']),_0x33686d;},_0x1731a6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x1626bb['util']['toJSONOptions']);},_0x1731a6['getTypeUrl']=function(_0x2a4e3b){return void 0x0===_0x2a4e3b&&(_0x2a4e3b='type.googleapis.com'),_0x2a4e3b+'/MoveOperation';},_0x1731a6;}()),_0x19f897['RenameOperation']=(function(){function _0x12e152(_0x24488f){if(_0x24488f){for(var _0x235d74=Object['keys'](_0x24488f),_0x336c45=0x0;_0x336c45<_0x235d74['length'];++_0x336c45)null!=_0x24488f[_0x235d74[_0x336c45]]&&(this[_0x235d74[_0x336c45]]=_0x24488f[_0x235d74[_0x336c45]]);}}return _0x12e152['prototype']['position']=null,_0x12e152['prototype']['oldName']='',_0x12e152['prototype']['newName']='',_0x12e152['prototype']['wasUndone']=!0x1,_0x12e152['create']=function(_0x586358){return new _0x12e152(_0x586358);},_0x12e152['encode']=function(_0x4478b6,_0x1495fe){return _0x1495fe||(_0x1495fe=_0x40cfa6['create']()),null!=_0x4478b6['position']&&Object['hasOwnProperty']['call'](_0x4478b6,'position')&&_0x19f897['Position']['encode'](_0x4478b6['position'],_0x1495fe['uint32'](0xa)['fork']())['ldelim'](),null!=_0x4478b6['oldName']&&Object['hasOwnProperty']['call'](_0x4478b6,'oldName')&&_0x1495fe['uint32'](0x12)['string'](_0x4478b6['oldName']),null!=_0x4478b6['newName']&&Object['hasOwnProperty']['call'](_0x4478b6,'newName')&&_0x1495fe['uint32'](0x1a)['string'](_0x4478b6['newName']),null!=_0x4478b6['wasUndone']&&Object['hasOwnProperty']['call'](_0x4478b6,'wasUndone')&&_0x1495fe['uint32'](0x20)['bool'](_0x4478b6['wasUndone']),_0x1495fe;},_0x12e152['encodeDelimited']=function(_0x1fdef1,_0x4aa8aa){return this['encode'](_0x1fdef1,_0x4aa8aa)['ldelim']();},_0x12e152['decode']=function(_0x2821fe,_0x2d0236){_0x2821fe instanceof _0x39f0e1||(_0x2821fe=_0x39f0e1['create'](_0x2821fe));for(var _0x22e2d6=void 0x0===_0x2d0236?_0x2821fe['len']:_0x2821fe['pos']+_0x2d0236,_0x11edc1=new _0x19f897['RenameOperation']();_0x2821fe['pos']<_0x22e2d6;){var _0x258392=_0x2821fe['uint32']();switch(_0x258392>>>0x3){case 0x1:_0x11edc1['position']=_0x19f897['Position']['decode'](_0x2821fe,_0x2821fe['uint32']());break;case 0x2:_0x11edc1['oldName']=_0x2821fe['string']();break;case 0x3:_0x11edc1['newName']=_0x2821fe['string']();break;case 0x4:_0x11edc1['wasUndone']=_0x2821fe['bool']();break;default:_0x2821fe['skipType'](0x7&_0x258392);}}return _0x11edc1;},_0x12e152['decodeDelimited']=function(_0x2616ff){return _0x2616ff instanceof _0x39f0e1||(_0x2616ff=new _0x39f0e1(_0x2616ff)),this['decode'](_0x2616ff,_0x2616ff['uint32']());},_0x12e152['verify']=function(_0x288975){if('object'!=typeof _0x288975||null===_0x288975)return'object\x20expected';if(null!=_0x288975['position']&&_0x288975['hasOwnProperty']('position')){var _0x194f9b=_0x19f897['Position']['verify'](_0x288975['position']);if(_0x194f9b)return'position.'+_0x194f9b;}return null!=_0x288975['oldName']&&_0x288975['hasOwnProperty']('oldName')&&!_0x405a6f['isString'](_0x288975['oldName'])?'oldName:\x20string\x20expected':null!=_0x288975['newName']&&_0x288975['hasOwnProperty']('newName')&&!_0x405a6f['isString'](_0x288975['newName'])?'newName:\x20string\x20expected':null!=_0x288975['wasUndone']&&_0x288975['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x288975['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x12e152['fromObject']=function(_0x1014e6){if(_0x1014e6 instanceof _0x19f897['RenameOperation'])return _0x1014e6;var _0x48a299=new _0x19f897['RenameOperation']();if(null!=_0x1014e6['position']){if('object'!=typeof _0x1014e6['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x48a299['position']=_0x19f897['Position']['fromObject'](_0x1014e6['position']);}return null!=_0x1014e6['oldName']&&(_0x48a299['oldName']=String(_0x1014e6['oldName'])),null!=_0x1014e6['newName']&&(_0x48a299['newName']=String(_0x1014e6['newName'])),null!=_0x1014e6['wasUndone']&&(_0x48a299['wasUndone']=Boolean(_0x1014e6['wasUndone'])),_0x48a299;},_0x12e152['toObject']=function(_0x5e8562,_0x477340){_0x477340||(_0x477340={});var _0x330ca9={};return _0x477340['defaults']&&(_0x330ca9['position']=null,_0x330ca9['oldName']='',_0x330ca9['newName']='',_0x330ca9['wasUndone']=!0x1),null!=_0x5e8562['position']&&_0x5e8562['hasOwnProperty']('position')&&(_0x330ca9['position']=_0x19f897['Position']['toObject'](_0x5e8562['position'],_0x477340)),null!=_0x5e8562['oldName']&&_0x5e8562['hasOwnProperty']('oldName')&&(_0x330ca9['oldName']=_0x5e8562['oldName']),null!=_0x5e8562['newName']&&_0x5e8562['hasOwnProperty']('newName')&&(_0x330ca9['newName']=_0x5e8562['newName']),null!=_0x5e8562['wasUndone']&&_0x5e8562['hasOwnProperty']('wasUndone')&&(_0x330ca9['wasUndone']=_0x5e8562['wasUndone']),_0x330ca9;},_0x12e152['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x1626bb['util']['toJSONOptions']);},_0x12e152['getTypeUrl']=function(_0x32c427){return void 0x0===_0x32c427&&(_0x32c427='type.googleapis.com'),_0x32c427+'/RenameOperation';},_0x12e152;}()),_0x19f897['RootAttributeOperation']=(function(){function _0x56f6b6(_0x434fb1){if(_0x434fb1){for(var _0x5996c2=Object['keys'](_0x434fb1),_0x1b2a97=0x0;_0x1b2a97<_0x5996c2['length'];++_0x1b2a97)null!=_0x434fb1[_0x5996c2[_0x1b2a97]]&&(this[_0x5996c2[_0x1b2a97]]=_0x434fb1[_0x5996c2[_0x1b2a97]]);}}return _0x56f6b6['prototype']['root']='',_0x56f6b6['prototype']['key']='',_0x56f6b6['prototype']['oldValueBoolean']=!0x1,_0x56f6b6['prototype']['oldValueJson']='',_0x56f6b6['prototype']['newValueBoolean']=!0x1,_0x56f6b6['prototype']['newValueJson']='',_0x56f6b6['prototype']['wasUndone']=!0x1,_0x56f6b6['create']=function(_0x358c6e){return new _0x56f6b6(_0x358c6e);},_0x56f6b6['encode']=function(_0x3fcf57,_0x1b585c){return _0x1b585c||(_0x1b585c=_0x40cfa6['create']()),null!=_0x3fcf57['root']&&Object['hasOwnProperty']['call'](_0x3fcf57,'root')&&_0x1b585c['uint32'](0xa)['string'](_0x3fcf57['root']),null!=_0x3fcf57['key']&&Object['hasOwnProperty']['call'](_0x3fcf57,'key')&&_0x1b585c['uint32'](0x12)['string'](_0x3fcf57['key']),null!=_0x3fcf57['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x3fcf57,'oldValueBoolean')&&_0x1b585c['uint32'](0x18)['bool'](_0x3fcf57['oldValueBoolean']),null!=_0x3fcf57['oldValueJson']&&Object['hasOwnProperty']['call'](_0x3fcf57,'oldValueJson')&&_0x1b585c['uint32'](0x22)['string'](_0x3fcf57['oldValueJson']),null!=_0x3fcf57['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x3fcf57,'newValueBoolean')&&_0x1b585c['uint32'](0x28)['bool'](_0x3fcf57['newValueBoolean']),null!=_0x3fcf57['newValueJson']&&Object['hasOwnProperty']['call'](_0x3fcf57,'newValueJson')&&_0x1b585c['uint32'](0x32)['string'](_0x3fcf57['newValueJson']),null!=_0x3fcf57['wasUndone']&&Object['hasOwnProperty']['call'](_0x3fcf57,'wasUndone')&&_0x1b585c['uint32'](0x38)['bool'](_0x3fcf57['wasUndone']),_0x1b585c;},_0x56f6b6['encodeDelimited']=function(_0x35a05f,_0xcaf4e1){return this['encode'](_0x35a05f,_0xcaf4e1)['ldelim']();},_0x56f6b6['decode']=function(_0xf92d55,_0x21403d){_0xf92d55 instanceof _0x39f0e1||(_0xf92d55=_0x39f0e1['create'](_0xf92d55));for(var _0xea34e8=void 0x0===_0x21403d?_0xf92d55['len']:_0xf92d55['pos']+_0x21403d,_0xac54a1=new _0x19f897['RootAttributeOperation']();_0xf92d55['pos']<_0xea34e8;){var _0x2f91e2=_0xf92d55['uint32']();switch(_0x2f91e2>>>0x3){case 0x1:_0xac54a1['root']=_0xf92d55['string']();break;case 0x2:_0xac54a1['key']=_0xf92d55['string']();break;case 0x3:_0xac54a1['oldValueBoolean']=_0xf92d55['bool']();break;case 0x4:_0xac54a1['oldValueJson']=_0xf92d55['string']();break;case 0x5:_0xac54a1['newValueBoolean']=_0xf92d55['bool']();break;case 0x6:_0xac54a1['newValueJson']=_0xf92d55['string']();break;case 0x7:_0xac54a1['wasUndone']=_0xf92d55['bool']();break;default:_0xf92d55['skipType'](0x7&_0x2f91e2);}}return _0xac54a1;},_0x56f6b6['decodeDelimited']=function(_0x163754){return _0x163754 instanceof _0x39f0e1||(_0x163754=new _0x39f0e1(_0x163754)),this['decode'](_0x163754,_0x163754['uint32']());},_0x56f6b6['verify']=function(_0x572f22){return'object'!=typeof _0x572f22||null===_0x572f22?'object\x20expected':null!=_0x572f22['root']&&_0x572f22['hasOwnProperty']('root')&&!_0x405a6f['isString'](_0x572f22['root'])?'root:\x20string\x20expected':null!=_0x572f22['key']&&_0x572f22['hasOwnProperty']('key')&&!_0x405a6f['isString'](_0x572f22['key'])?'key:\x20string\x20expected':null!=_0x572f22['oldValueBoolean']&&_0x572f22['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x572f22['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x572f22['oldValueJson']&&_0x572f22['hasOwnProperty']('oldValueJson')&&!_0x405a6f['isString'](_0x572f22['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x572f22['newValueBoolean']&&_0x572f22['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x572f22['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x572f22['newValueJson']&&_0x572f22['hasOwnProperty']('newValueJson')&&!_0x405a6f['isString'](_0x572f22['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x572f22['wasUndone']&&_0x572f22['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x572f22['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x56f6b6['fromObject']=function(_0x4d524){if(_0x4d524 instanceof _0x19f897['RootAttributeOperation'])return _0x4d524;var _0x38cce2=new _0x19f897['RootAttributeOperation']();return null!=_0x4d524['root']&&(_0x38cce2['root']=String(_0x4d524['root'])),null!=_0x4d524['key']&&(_0x38cce2['key']=String(_0x4d524['key'])),null!=_0x4d524['oldValueBoolean']&&(_0x38cce2['oldValueBoolean']=Boolean(_0x4d524['oldValueBoolean'])),null!=_0x4d524['oldValueJson']&&(_0x38cce2['oldValueJson']=String(_0x4d524['oldValueJson'])),null!=_0x4d524['newValueBoolean']&&(_0x38cce2['newValueBoolean']=Boolean(_0x4d524['newValueBoolean'])),null!=_0x4d524['newValueJson']&&(_0x38cce2['newValueJson']=String(_0x4d524['newValueJson'])),null!=_0x4d524['wasUndone']&&(_0x38cce2['wasUndone']=Boolean(_0x4d524['wasUndone'])),_0x38cce2;},_0x56f6b6['toObject']=function(_0x53ee73,_0x1f1f34){_0x1f1f34||(_0x1f1f34={});var _0x529c88={};return _0x1f1f34['defaults']&&(_0x529c88['root']='',_0x529c88['key']='',_0x529c88['oldValueBoolean']=!0x1,_0x529c88['oldValueJson']='',_0x529c88['newValueBoolean']=!0x1,_0x529c88['newValueJson']='',_0x529c88['wasUndone']=!0x1),null!=_0x53ee73['root']&&_0x53ee73['hasOwnProperty']('root')&&(_0x529c88['root']=_0x53ee73['root']),null!=_0x53ee73['key']&&_0x53ee73['hasOwnProperty']('key')&&(_0x529c88['key']=_0x53ee73['key']),null!=_0x53ee73['oldValueBoolean']&&_0x53ee73['hasOwnProperty']('oldValueBoolean')&&(_0x529c88['oldValueBoolean']=_0x53ee73['oldValueBoolean']),null!=_0x53ee73['oldValueJson']&&_0x53ee73['hasOwnProperty']('oldValueJson')&&(_0x529c88['oldValueJson']=_0x53ee73['oldValueJson']),null!=_0x53ee73['newValueBoolean']&&_0x53ee73['hasOwnProperty']('newValueBoolean')&&(_0x529c88['newValueBoolean']=_0x53ee73['newValueBoolean']),null!=_0x53ee73['newValueJson']&&_0x53ee73['hasOwnProperty']('newValueJson')&&(_0x529c88['newValueJson']=_0x53ee73['newValueJson']),null!=_0x53ee73['wasUndone']&&_0x53ee73['hasOwnProperty']('wasUndone')&&(_0x529c88['wasUndone']=_0x53ee73['wasUndone']),_0x529c88;},_0x56f6b6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x1626bb['util']['toJSONOptions']);},_0x56f6b6['getTypeUrl']=function(_0x2b7483){return void 0x0===_0x2b7483&&(_0x2b7483='type.googleapis.com'),_0x2b7483+'/RootAttributeOperation';},_0x56f6b6;}()),_0x19f897['RootOperation']=(function(){function _0x593e28(_0x3487a6){if(_0x3487a6){for(var _0x2700ce=Object['keys'](_0x3487a6),_0x377d57=0x0;_0x377d57<_0x2700ce['length'];++_0x377d57)null!=_0x3487a6[_0x2700ce[_0x377d57]]&&(this[_0x2700ce[_0x377d57]]=_0x3487a6[_0x2700ce[_0x377d57]]);}}return _0x593e28['prototype']['rootName']='',_0x593e28['prototype']['elementName']='',_0x593e28['prototype']['isAdd']=!0x1,_0x593e28['prototype']['wasUndone']=!0x1,_0x593e28['create']=function(_0x4e6521){return new _0x593e28(_0x4e6521);},_0x593e28['encode']=function(_0x4fba06,_0x5392ee){return _0x5392ee||(_0x5392ee=_0x40cfa6['create']()),null!=_0x4fba06['rootName']&&Object['hasOwnProperty']['call'](_0x4fba06,'rootName')&&_0x5392ee['uint32'](0xa)['string'](_0x4fba06['rootName']),null!=_0x4fba06['elementName']&&Object['hasOwnProperty']['call'](_0x4fba06,'elementName')&&_0x5392ee['uint32'](0x12)['string'](_0x4fba06['elementName']),null!=_0x4fba06['isAdd']&&Object['hasOwnProperty']['call'](_0x4fba06,'isAdd')&&_0x5392ee['uint32'](0x18)['bool'](_0x4fba06['isAdd']),null!=_0x4fba06['wasUndone']&&Object['hasOwnProperty']['call'](_0x4fba06,'wasUndone')&&_0x5392ee['uint32'](0x20)['bool'](_0x4fba06['wasUndone']),_0x5392ee;},_0x593e28['encodeDelimited']=function(_0x3a07bf,_0x1866f5){return this['encode'](_0x3a07bf,_0x1866f5)['ldelim']();},_0x593e28['decode']=function(_0x142edd,_0x1583b6){_0x142edd instanceof _0x39f0e1||(_0x142edd=_0x39f0e1['create'](_0x142edd));for(var _0x57caf6=void 0x0===_0x1583b6?_0x142edd['len']:_0x142edd['pos']+_0x1583b6,_0xb1fd60=new _0x19f897['RootOperation']();_0x142edd['pos']<_0x57caf6;){var _0x5a4525=_0x142edd['uint32']();switch(_0x5a4525>>>0x3){case 0x1:_0xb1fd60['rootName']=_0x142edd['string']();break;case 0x2:_0xb1fd60['elementName']=_0x142edd['string']();break;case 0x3:_0xb1fd60['isAdd']=_0x142edd['bool']();break;case 0x4:_0xb1fd60['wasUndone']=_0x142edd['bool']();break;default:_0x142edd['skipType'](0x7&_0x5a4525);}}return _0xb1fd60;},_0x593e28['decodeDelimited']=function(_0x22cefb){return _0x22cefb instanceof _0x39f0e1||(_0x22cefb=new _0x39f0e1(_0x22cefb)),this['decode'](_0x22cefb,_0x22cefb['uint32']());},_0x593e28['verify']=function(_0x35546f){return'object'!=typeof _0x35546f||null===_0x35546f?'object\x20expected':null!=_0x35546f['rootName']&&_0x35546f['hasOwnProperty']('rootName')&&!_0x405a6f['isString'](_0x35546f['rootName'])?'rootName:\x20string\x20expected':null!=_0x35546f['elementName']&&_0x35546f['hasOwnProperty']('elementName')&&!_0x405a6f['isString'](_0x35546f['elementName'])?'elementName:\x20string\x20expected':null!=_0x35546f['isAdd']&&_0x35546f['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x35546f['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x35546f['wasUndone']&&_0x35546f['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x35546f['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x593e28['fromObject']=function(_0x4becc0){if(_0x4becc0 instanceof _0x19f897['RootOperation'])return _0x4becc0;var _0x3d38d1=new _0x19f897['RootOperation']();return null!=_0x4becc0['rootName']&&(_0x3d38d1['rootName']=String(_0x4becc0['rootName'])),null!=_0x4becc0['elementName']&&(_0x3d38d1['elementName']=String(_0x4becc0['elementName'])),null!=_0x4becc0['isAdd']&&(_0x3d38d1['isAdd']=Boolean(_0x4becc0['isAdd'])),null!=_0x4becc0['wasUndone']&&(_0x3d38d1['wasUndone']=Boolean(_0x4becc0['wasUndone'])),_0x3d38d1;},_0x593e28['toObject']=function(_0x33c630,_0x214587){_0x214587||(_0x214587={});var _0x111226={};return _0x214587['defaults']&&(_0x111226['rootName']='',_0x111226['elementName']='',_0x111226['isAdd']=!0x1,_0x111226['wasUndone']=!0x1),null!=_0x33c630['rootName']&&_0x33c630['hasOwnProperty']('rootName')&&(_0x111226['rootName']=_0x33c630['rootName']),null!=_0x33c630['elementName']&&_0x33c630['hasOwnProperty']('elementName')&&(_0x111226['elementName']=_0x33c630['elementName']),null!=_0x33c630['isAdd']&&_0x33c630['hasOwnProperty']('isAdd')&&(_0x111226['isAdd']=_0x33c630['isAdd']),null!=_0x33c630['wasUndone']&&_0x33c630['hasOwnProperty']('wasUndone')&&(_0x111226['wasUndone']=_0x33c630['wasUndone']),_0x111226;},_0x593e28['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x1626bb['util']['toJSONOptions']);},_0x593e28['getTypeUrl']=function(_0x3ba7e1){return void 0x0===_0x3ba7e1&&(_0x3ba7e1='type.googleapis.com'),_0x3ba7e1+'/RootOperation';},_0x593e28;}()),_0x19f897['SplitOperation']=(function(){function _0x49da71(_0x470cef){if(_0x470cef){for(var _0x5e01aa=Object['keys'](_0x470cef),_0x3bc8be=0x0;_0x3bc8be<_0x5e01aa['length'];++_0x3bc8be)null!=_0x470cef[_0x5e01aa[_0x3bc8be]]&&(this[_0x5e01aa[_0x3bc8be]]=_0x470cef[_0x5e01aa[_0x3bc8be]]);}}return _0x49da71['prototype']['splitPosition']=null,_0x49da71['prototype']['graveyardPosition']=null,_0x49da71['prototype']['howMany']=0x0,_0x49da71['prototype']['insertionPosition']=null,_0x49da71['prototype']['wasUndone']=!0x1,_0x49da71['create']=function(_0x48fd13){return new _0x49da71(_0x48fd13);},_0x49da71['encode']=function(_0x5f48e1,_0x54211d){return _0x54211d||(_0x54211d=_0x40cfa6['create']()),null!=_0x5f48e1['splitPosition']&&Object['hasOwnProperty']['call'](_0x5f48e1,'splitPosition')&&_0x19f897['Position']['encode'](_0x5f48e1['splitPosition'],_0x54211d['uint32'](0xa)['fork']())['ldelim'](),null!=_0x5f48e1['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x5f48e1,'graveyardPosition')&&_0x19f897['Position']['encode'](_0x5f48e1['graveyardPosition'],_0x54211d['uint32'](0x12)['fork']())['ldelim'](),null!=_0x5f48e1['howMany']&&Object['hasOwnProperty']['call'](_0x5f48e1,'howMany')&&_0x54211d['uint32'](0x18)['uint32'](_0x5f48e1['howMany']),null!=_0x5f48e1['insertionPosition']&&Object['hasOwnProperty']['call'](_0x5f48e1,'insertionPosition')&&_0x19f897['Position']['encode'](_0x5f48e1['insertionPosition'],_0x54211d['uint32'](0x22)['fork']())['ldelim'](),null!=_0x5f48e1['wasUndone']&&Object['hasOwnProperty']['call'](_0x5f48e1,'wasUndone')&&_0x54211d['uint32'](0x28)['bool'](_0x5f48e1['wasUndone']),_0x54211d;},_0x49da71['encodeDelimited']=function(_0x2af7e1,_0x550bd5){return this['encode'](_0x2af7e1,_0x550bd5)['ldelim']();},_0x49da71['decode']=function(_0x16ba8f,_0x320820){_0x16ba8f instanceof _0x39f0e1||(_0x16ba8f=_0x39f0e1['create'](_0x16ba8f));for(var _0x57273e=void 0x0===_0x320820?_0x16ba8f['len']:_0x16ba8f['pos']+_0x320820,_0x4c9d18=new _0x19f897['SplitOperation']();_0x16ba8f['pos']<_0x57273e;){var _0x5c4347=_0x16ba8f['uint32']();switch(_0x5c4347>>>0x3){case 0x1:_0x4c9d18['splitPosition']=_0x19f897['Position']['decode'](_0x16ba8f,_0x16ba8f['uint32']());break;case 0x2:_0x4c9d18['graveyardPosition']=_0x19f897['Position']['decode'](_0x16ba8f,_0x16ba8f['uint32']());break;case 0x3:_0x4c9d18['howMany']=_0x16ba8f['uint32']();break;case 0x4:_0x4c9d18['insertionPosition']=_0x19f897['Position']['decode'](_0x16ba8f,_0x16ba8f['uint32']());break;case 0x5:_0x4c9d18['wasUndone']=_0x16ba8f['bool']();break;default:_0x16ba8f['skipType'](0x7&_0x5c4347);}}return _0x4c9d18;},_0x49da71['decodeDelimited']=function(_0x235fb1){return _0x235fb1 instanceof _0x39f0e1||(_0x235fb1=new _0x39f0e1(_0x235fb1)),this['decode'](_0x235fb1,_0x235fb1['uint32']());},_0x49da71['verify']=function(_0x537a39){if('object'!=typeof _0x537a39||null===_0x537a39)return'object\x20expected';var _0x54c020;if(null!=_0x537a39['splitPosition']&&_0x537a39['hasOwnProperty']('splitPosition')&&(_0x54c020=_0x19f897['Position']['verify'](_0x537a39['splitPosition'])))return'splitPosition.'+_0x54c020;if(null!=_0x537a39['graveyardPosition']&&_0x537a39['hasOwnProperty']('graveyardPosition')&&(_0x54c020=_0x19f897['Position']['verify'](_0x537a39['grav