@ckeditor/ckeditor5-operations-compressor
Version:
CKEditor 5 operations compressor for real-time collaboration.
24 lines • 95.7 kB
JavaScript
/*
* 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 _0x38ddde}from'@ckeditor/ckeditor5-utils/dist/index.js';import _0x486fbf from'protobufjs/minimal.js';import{cloneDeep as _0x29a72b,isEqual as _0x3c91b1,isObject as _0x3116cf}from'es-toolkit/compat';const u=/* #__PURE__ -- @preserve */
((()=>{var _0x58c107=_0x486fbf['Reader'],_0x3ae615=_0x486fbf['Writer'],_0xf7048c=_0x486fbf['util'],_0x5b9524=_0x486fbf['roots']['default']||(_0x486fbf['roots']['default']={});return _0x5b9524['AttributeOperation']=(function(){function _0x3fa29d(_0x31c2f3){if(_0x31c2f3){for(var _0x2360a9=Object['keys'](_0x31c2f3),_0x20ba24=0x0;_0x20ba24<_0x2360a9['length'];++_0x20ba24)null!=_0x31c2f3[_0x2360a9[_0x20ba24]]&&'__proto__'!==_0x2360a9[_0x20ba24]&&(this[_0x2360a9[_0x20ba24]]=_0x31c2f3[_0x2360a9[_0x20ba24]]);}}return _0x3fa29d['prototype']['range']=null,_0x3fa29d['prototype']['key']='',_0x3fa29d['prototype']['oldValueBoolean']=!0x1,_0x3fa29d['prototype']['oldValueJson']='',_0x3fa29d['prototype']['newValueBoolean']=!0x1,_0x3fa29d['prototype']['newValueJson']='',_0x3fa29d['prototype']['wasUndone']=!0x1,_0x3fa29d['create']=function(_0xabbc11){return new _0x3fa29d(_0xabbc11);},_0x3fa29d['encode']=function(_0x1b3f31,_0x406cbd){return _0x406cbd||(_0x406cbd=_0x3ae615['create']()),null!=_0x1b3f31['range']&&Object['hasOwnProperty']['call'](_0x1b3f31,'range')&&_0x5b9524['Range']['encode'](_0x1b3f31['range'],_0x406cbd['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1b3f31['key']&&Object['hasOwnProperty']['call'](_0x1b3f31,'key')&&_0x406cbd['uint32'](0x12)['string'](_0x1b3f31['key']),null!=_0x1b3f31['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x1b3f31,'oldValueBoolean')&&_0x406cbd['uint32'](0x18)['bool'](_0x1b3f31['oldValueBoolean']),null!=_0x1b3f31['oldValueJson']&&Object['hasOwnProperty']['call'](_0x1b3f31,'oldValueJson')&&_0x406cbd['uint32'](0x22)['string'](_0x1b3f31['oldValueJson']),null!=_0x1b3f31['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x1b3f31,'newValueBoolean')&&_0x406cbd['uint32'](0x28)['bool'](_0x1b3f31['newValueBoolean']),null!=_0x1b3f31['newValueJson']&&Object['hasOwnProperty']['call'](_0x1b3f31,'newValueJson')&&_0x406cbd['uint32'](0x32)['string'](_0x1b3f31['newValueJson']),null!=_0x1b3f31['wasUndone']&&Object['hasOwnProperty']['call'](_0x1b3f31,'wasUndone')&&_0x406cbd['uint32'](0x38)['bool'](_0x1b3f31['wasUndone']),_0x406cbd;},_0x3fa29d['encodeDelimited']=function(_0x41a7b5,_0x4accc0){return this['encode'](_0x41a7b5,_0x4accc0)['ldelim']();},_0x3fa29d['decode']=function(_0x2cef5b,_0x173a76,_0x3c27f5,_0x24afab){if(_0x2cef5b instanceof _0x58c107||(_0x2cef5b=_0x58c107['create'](_0x2cef5b)),void 0x0===_0x24afab&&(_0x24afab=0x0),_0x24afab>_0x58c107['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x43fc7e=void 0x0===_0x173a76?_0x2cef5b['len']:_0x2cef5b['pos']+_0x173a76,_0x3eedf8=new _0x5b9524['AttributeOperation']();_0x2cef5b['pos']<_0x43fc7e;){var _0x30b18b=_0x2cef5b['uint32']();if(_0x30b18b===_0x3c27f5)break;switch(_0x30b18b>>>0x3){case 0x1:_0x3eedf8['range']=_0x5b9524['Range']['decode'](_0x2cef5b,_0x2cef5b['uint32'](),void 0x0,_0x24afab+0x1);break;case 0x2:_0x3eedf8['key']=_0x2cef5b['string']();break;case 0x3:_0x3eedf8['oldValueBoolean']=_0x2cef5b['bool']();break;case 0x4:_0x3eedf8['oldValueJson']=_0x2cef5b['string']();break;case 0x5:_0x3eedf8['newValueBoolean']=_0x2cef5b['bool']();break;case 0x6:_0x3eedf8['newValueJson']=_0x2cef5b['string']();break;case 0x7:_0x3eedf8['wasUndone']=_0x2cef5b['bool']();break;default:_0x2cef5b['skipType'](0x7&_0x30b18b,_0x24afab);}}return _0x3eedf8;},_0x3fa29d['decodeDelimited']=function(_0x4396ae){return _0x4396ae instanceof _0x58c107||(_0x4396ae=new _0x58c107(_0x4396ae)),this['decode'](_0x4396ae,_0x4396ae['uint32']());},_0x3fa29d['verify']=function(_0x55749a,_0x19cac9){if('object'!=typeof _0x55749a||null===_0x55749a)return'object\x20expected';if(void 0x0===_0x19cac9&&(_0x19cac9=0x0),_0x19cac9>_0xf7048c['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x55749a['range']&&_0x55749a['hasOwnProperty']('range')){var _0x472502=_0x5b9524['Range']['verify'](_0x55749a['range'],_0x19cac9+0x1);if(_0x472502)return'range.'+_0x472502;}return null!=_0x55749a['key']&&_0x55749a['hasOwnProperty']('key')&&!_0xf7048c['isString'](_0x55749a['key'])?'key:\x20string\x20expected':null!=_0x55749a['oldValueBoolean']&&_0x55749a['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x55749a['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x55749a['oldValueJson']&&_0x55749a['hasOwnProperty']('oldValueJson')&&!_0xf7048c['isString'](_0x55749a['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x55749a['newValueBoolean']&&_0x55749a['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x55749a['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x55749a['newValueJson']&&_0x55749a['hasOwnProperty']('newValueJson')&&!_0xf7048c['isString'](_0x55749a['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x55749a['wasUndone']&&_0x55749a['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x55749a['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x3fa29d['fromObject']=function(_0x3e6d7a,_0x2d7658){if(_0x3e6d7a instanceof _0x5b9524['AttributeOperation'])return _0x3e6d7a;if(void 0x0===_0x2d7658&&(_0x2d7658=0x0),_0x2d7658>_0xf7048c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3e4734=new _0x5b9524['AttributeOperation']();if(null!=_0x3e6d7a['range']){if('object'!=typeof _0x3e6d7a['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x3e4734['range']=_0x5b9524['Range']['fromObject'](_0x3e6d7a['range'],_0x2d7658+0x1);}return null!=_0x3e6d7a['key']&&(_0x3e4734['key']=String(_0x3e6d7a['key'])),null!=_0x3e6d7a['oldValueBoolean']&&(_0x3e4734['oldValueBoolean']=Boolean(_0x3e6d7a['oldValueBoolean'])),null!=_0x3e6d7a['oldValueJson']&&(_0x3e4734['oldValueJson']=String(_0x3e6d7a['oldValueJson'])),null!=_0x3e6d7a['newValueBoolean']&&(_0x3e4734['newValueBoolean']=Boolean(_0x3e6d7a['newValueBoolean'])),null!=_0x3e6d7a['newValueJson']&&(_0x3e4734['newValueJson']=String(_0x3e6d7a['newValueJson'])),null!=_0x3e6d7a['wasUndone']&&(_0x3e4734['wasUndone']=Boolean(_0x3e6d7a['wasUndone'])),_0x3e4734;},_0x3fa29d['toObject']=function(_0x2485b7,_0x17f2d2){_0x17f2d2||(_0x17f2d2={});var _0x379169={};return _0x17f2d2['defaults']&&(_0x379169['range']=null,_0x379169['key']='',_0x379169['oldValueBoolean']=!0x1,_0x379169['oldValueJson']='',_0x379169['newValueBoolean']=!0x1,_0x379169['newValueJson']='',_0x379169['wasUndone']=!0x1),null!=_0x2485b7['range']&&_0x2485b7['hasOwnProperty']('range')&&(_0x379169['range']=_0x5b9524['Range']['toObject'](_0x2485b7['range'],_0x17f2d2)),null!=_0x2485b7['key']&&_0x2485b7['hasOwnProperty']('key')&&(_0x379169['key']=_0x2485b7['key']),null!=_0x2485b7['oldValueBoolean']&&_0x2485b7['hasOwnProperty']('oldValueBoolean')&&(_0x379169['oldValueBoolean']=_0x2485b7['oldValueBoolean']),null!=_0x2485b7['oldValueJson']&&_0x2485b7['hasOwnProperty']('oldValueJson')&&(_0x379169['oldValueJson']=_0x2485b7['oldValueJson']),null!=_0x2485b7['newValueBoolean']&&_0x2485b7['hasOwnProperty']('newValueBoolean')&&(_0x379169['newValueBoolean']=_0x2485b7['newValueBoolean']),null!=_0x2485b7['newValueJson']&&_0x2485b7['hasOwnProperty']('newValueJson')&&(_0x379169['newValueJson']=_0x2485b7['newValueJson']),null!=_0x2485b7['wasUndone']&&_0x2485b7['hasOwnProperty']('wasUndone')&&(_0x379169['wasUndone']=_0x2485b7['wasUndone']),_0x379169;},_0x3fa29d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x486fbf['util']['toJSONOptions']);},_0x3fa29d['getTypeUrl']=function(_0x110233){return void 0x0===_0x110233&&(_0x110233='type.googleapis.com'),_0x110233+'/AttributeOperation';},_0x3fa29d;}()),_0x5b9524['InsertOperation']=(function(){function _0x584aa9(_0x45e926){if(this['nodes']=[],_0x45e926){for(var _0x226d01=Object['keys'](_0x45e926),_0xc2e95a=0x0;_0xc2e95a<_0x226d01['length'];++_0xc2e95a)null!=_0x45e926[_0x226d01[_0xc2e95a]]&&'__proto__'!==_0x226d01[_0xc2e95a]&&(this[_0x226d01[_0xc2e95a]]=_0x45e926[_0x226d01[_0xc2e95a]]);}}return _0x584aa9['prototype']['position']=null,_0x584aa9['prototype']['nodes']=_0xf7048c['emptyArray'],_0x584aa9['prototype']['shouldReceiveAttributes']=!0x1,_0x584aa9['prototype']['wasUndone']=!0x1,_0x584aa9['create']=function(_0x2c39fd){return new _0x584aa9(_0x2c39fd);},_0x584aa9['encode']=function(_0x29e392,_0x10b03){if(_0x10b03||(_0x10b03=_0x3ae615['create']()),null!=_0x29e392['position']&&Object['hasOwnProperty']['call'](_0x29e392,'position')&&_0x5b9524['Position']['encode'](_0x29e392['position'],_0x10b03['uint32'](0xa)['fork']())['ldelim'](),null!=_0x29e392['nodes']&&_0x29e392['nodes']['length']){for(var _0x10c8e2=0x0;_0x10c8e2<_0x29e392['nodes']['length'];++_0x10c8e2)_0x5b9524['Element']['encode'](_0x29e392['nodes'][_0x10c8e2],_0x10b03['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x29e392['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x29e392,'shouldReceiveAttributes')&&_0x10b03['uint32'](0x18)['bool'](_0x29e392['shouldReceiveAttributes']),null!=_0x29e392['wasUndone']&&Object['hasOwnProperty']['call'](_0x29e392,'wasUndone')&&_0x10b03['uint32'](0x20)['bool'](_0x29e392['wasUndone']),_0x10b03;},_0x584aa9['encodeDelimited']=function(_0xaee5dc,_0x5d3732){return this['encode'](_0xaee5dc,_0x5d3732)['ldelim']();},_0x584aa9['decode']=function(_0x2990cf,_0x3681fe,_0x285fda,_0x34b009){if(_0x2990cf instanceof _0x58c107||(_0x2990cf=_0x58c107['create'](_0x2990cf)),void 0x0===_0x34b009&&(_0x34b009=0x0),_0x34b009>_0x58c107['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3ac71b=void 0x0===_0x3681fe?_0x2990cf['len']:_0x2990cf['pos']+_0x3681fe,_0x4bab05=new _0x5b9524['InsertOperation']();_0x2990cf['pos']<_0x3ac71b;){var _0x4f26a4=_0x2990cf['uint32']();if(_0x4f26a4===_0x285fda)break;switch(_0x4f26a4>>>0x3){case 0x1:_0x4bab05['position']=_0x5b9524['Position']['decode'](_0x2990cf,_0x2990cf['uint32'](),void 0x0,_0x34b009+0x1);break;case 0x2:_0x4bab05['nodes']&&_0x4bab05['nodes']['length']||(_0x4bab05['nodes']=[]),_0x4bab05['nodes']['push'](_0x5b9524['Element']['decode'](_0x2990cf,_0x2990cf['uint32'](),void 0x0,_0x34b009+0x1));break;case 0x3:_0x4bab05['shouldReceiveAttributes']=_0x2990cf['bool']();break;case 0x4:_0x4bab05['wasUndone']=_0x2990cf['bool']();break;default:_0x2990cf['skipType'](0x7&_0x4f26a4,_0x34b009);}}return _0x4bab05;},_0x584aa9['decodeDelimited']=function(_0x199330){return _0x199330 instanceof _0x58c107||(_0x199330=new _0x58c107(_0x199330)),this['decode'](_0x199330,_0x199330['uint32']());},_0x584aa9['verify']=function(_0x488262,_0x18df08){if('object'!=typeof _0x488262||null===_0x488262)return'object\x20expected';if(void 0x0===_0x18df08&&(_0x18df08=0x0),_0x18df08>_0xf7048c['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x488262['position']&&_0x488262['hasOwnProperty']('position')&&(_0x1b13b6=_0x5b9524['Position']['verify'](_0x488262['position'],_0x18df08+0x1)))return'position.'+_0x1b13b6;if(null!=_0x488262['nodes']&&_0x488262['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x488262['nodes']))return'nodes:\x20array\x20expected';for(var _0x518384=0x0;_0x518384<_0x488262['nodes']['length'];++_0x518384){var _0x1b13b6;if(_0x1b13b6=_0x5b9524['Element']['verify'](_0x488262['nodes'][_0x518384],_0x18df08+0x1))return'nodes.'+_0x1b13b6;}}return null!=_0x488262['shouldReceiveAttributes']&&_0x488262['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x488262['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x488262['wasUndone']&&_0x488262['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x488262['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x584aa9['fromObject']=function(_0x55e1a0,_0x4e5cab){if(_0x55e1a0 instanceof _0x5b9524['InsertOperation'])return _0x55e1a0;if(void 0x0===_0x4e5cab&&(_0x4e5cab=0x0),_0x4e5cab>_0xf7048c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x325c77=new _0x5b9524['InsertOperation']();if(null!=_0x55e1a0['position']){if('object'!=typeof _0x55e1a0['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x325c77['position']=_0x5b9524['Position']['fromObject'](_0x55e1a0['position'],_0x4e5cab+0x1);}if(_0x55e1a0['nodes']){if(!Array['isArray'](_0x55e1a0['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x325c77['nodes']=[];for(var _0x28bea1=0x0;_0x28bea1<_0x55e1a0['nodes']['length'];++_0x28bea1){if('object'!=typeof _0x55e1a0['nodes'][_0x28bea1])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x325c77['nodes'][_0x28bea1]=_0x5b9524['Element']['fromObject'](_0x55e1a0['nodes'][_0x28bea1],_0x4e5cab+0x1);}}return null!=_0x55e1a0['shouldReceiveAttributes']&&(_0x325c77['shouldReceiveAttributes']=Boolean(_0x55e1a0['shouldReceiveAttributes'])),null!=_0x55e1a0['wasUndone']&&(_0x325c77['wasUndone']=Boolean(_0x55e1a0['wasUndone'])),_0x325c77;},_0x584aa9['toObject']=function(_0x112c43,_0x3a98b2){_0x3a98b2||(_0x3a98b2={});var _0x1f2553={};if((_0x3a98b2['arrays']||_0x3a98b2['defaults'])&&(_0x1f2553['nodes']=[]),_0x3a98b2['defaults']&&(_0x1f2553['position']=null,_0x1f2553['shouldReceiveAttributes']=!0x1,_0x1f2553['wasUndone']=!0x1),null!=_0x112c43['position']&&_0x112c43['hasOwnProperty']('position')&&(_0x1f2553['position']=_0x5b9524['Position']['toObject'](_0x112c43['position'],_0x3a98b2)),_0x112c43['nodes']&&_0x112c43['nodes']['length']){_0x1f2553['nodes']=[];for(var _0x1d5a90=0x0;_0x1d5a90<_0x112c43['nodes']['length'];++_0x1d5a90)_0x1f2553['nodes'][_0x1d5a90]=_0x5b9524['Element']['toObject'](_0x112c43['nodes'][_0x1d5a90],_0x3a98b2);}return null!=_0x112c43['shouldReceiveAttributes']&&_0x112c43['hasOwnProperty']('shouldReceiveAttributes')&&(_0x1f2553['shouldReceiveAttributes']=_0x112c43['shouldReceiveAttributes']),null!=_0x112c43['wasUndone']&&_0x112c43['hasOwnProperty']('wasUndone')&&(_0x1f2553['wasUndone']=_0x112c43['wasUndone']),_0x1f2553;},_0x584aa9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x486fbf['util']['toJSONOptions']);},_0x584aa9['getTypeUrl']=function(_0x5393a8){return void 0x0===_0x5393a8&&(_0x5393a8='type.googleapis.com'),_0x5393a8+'/InsertOperation';},_0x584aa9;}()),_0x5b9524['MarkerOperation']=(function(){function _0xafc2b6(_0x60558d){if(_0x60558d){for(var _0x18a9ee=Object['keys'](_0x60558d),_0x1081e1=0x0;_0x1081e1<_0x18a9ee['length'];++_0x1081e1)null!=_0x60558d[_0x18a9ee[_0x1081e1]]&&'__proto__'!==_0x18a9ee[_0x1081e1]&&(this[_0x18a9ee[_0x1081e1]]=_0x60558d[_0x18a9ee[_0x1081e1]]);}}return _0xafc2b6['prototype']['name']='',_0xafc2b6['prototype']['oldRange']=null,_0xafc2b6['prototype']['newRange']=null,_0xafc2b6['prototype']['affectsData']=!0x1,_0xafc2b6['prototype']['wasUndone']=!0x1,_0xafc2b6['create']=function(_0x275a61){return new _0xafc2b6(_0x275a61);},_0xafc2b6['encode']=function(_0x4a0687,_0x5eafa1){return _0x5eafa1||(_0x5eafa1=_0x3ae615['create']()),null!=_0x4a0687['name']&&Object['hasOwnProperty']['call'](_0x4a0687,'name')&&_0x5eafa1['uint32'](0xa)['string'](_0x4a0687['name']),null!=_0x4a0687['oldRange']&&Object['hasOwnProperty']['call'](_0x4a0687,'oldRange')&&_0x5b9524['Range']['encode'](_0x4a0687['oldRange'],_0x5eafa1['uint32'](0x12)['fork']())['ldelim'](),null!=_0x4a0687['newRange']&&Object['hasOwnProperty']['call'](_0x4a0687,'newRange')&&_0x5b9524['Range']['encode'](_0x4a0687['newRange'],_0x5eafa1['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x4a0687['affectsData']&&Object['hasOwnProperty']['call'](_0x4a0687,'affectsData')&&_0x5eafa1['uint32'](0x20)['bool'](_0x4a0687['affectsData']),null!=_0x4a0687['wasUndone']&&Object['hasOwnProperty']['call'](_0x4a0687,'wasUndone')&&_0x5eafa1['uint32'](0x28)['bool'](_0x4a0687['wasUndone']),_0x5eafa1;},_0xafc2b6['encodeDelimited']=function(_0x3f5580,_0x20c6db){return this['encode'](_0x3f5580,_0x20c6db)['ldelim']();},_0xafc2b6['decode']=function(_0x8537da,_0x5d21d7,_0x39e50a,_0x139784){if(_0x8537da instanceof _0x58c107||(_0x8537da=_0x58c107['create'](_0x8537da)),void 0x0===_0x139784&&(_0x139784=0x0),_0x139784>_0x58c107['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x429d20=void 0x0===_0x5d21d7?_0x8537da['len']:_0x8537da['pos']+_0x5d21d7,_0x1140ab=new _0x5b9524['MarkerOperation']();_0x8537da['pos']<_0x429d20;){var _0x131af6=_0x8537da['uint32']();if(_0x131af6===_0x39e50a)break;switch(_0x131af6>>>0x3){case 0x1:_0x1140ab['name']=_0x8537da['string']();break;case 0x2:_0x1140ab['oldRange']=_0x5b9524['Range']['decode'](_0x8537da,_0x8537da['uint32'](),void 0x0,_0x139784+0x1);break;case 0x3:_0x1140ab['newRange']=_0x5b9524['Range']['decode'](_0x8537da,_0x8537da['uint32'](),void 0x0,_0x139784+0x1);break;case 0x4:_0x1140ab['affectsData']=_0x8537da['bool']();break;case 0x5:_0x1140ab['wasUndone']=_0x8537da['bool']();break;default:_0x8537da['skipType'](0x7&_0x131af6,_0x139784);}}return _0x1140ab;},_0xafc2b6['decodeDelimited']=function(_0x5a6901){return _0x5a6901 instanceof _0x58c107||(_0x5a6901=new _0x58c107(_0x5a6901)),this['decode'](_0x5a6901,_0x5a6901['uint32']());},_0xafc2b6['verify']=function(_0x1ef509,_0x514208){if('object'!=typeof _0x1ef509||null===_0x1ef509)return'object\x20expected';if(void 0x0===_0x514208&&(_0x514208=0x0),_0x514208>_0xf7048c['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1ef509['name']&&_0x1ef509['hasOwnProperty']('name')&&!_0xf7048c['isString'](_0x1ef509['name']))return'name:\x20string\x20expected';var _0x2865cf;if(null!=_0x1ef509['oldRange']&&_0x1ef509['hasOwnProperty']('oldRange')&&(_0x2865cf=_0x5b9524['Range']['verify'](_0x1ef509['oldRange'],_0x514208+0x1)))return'oldRange.'+_0x2865cf;if(null!=_0x1ef509['newRange']&&_0x1ef509['hasOwnProperty']('newRange')&&(_0x2865cf=_0x5b9524['Range']['verify'](_0x1ef509['newRange'],_0x514208+0x1)))return'newRange.'+_0x2865cf;return null!=_0x1ef509['affectsData']&&_0x1ef509['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x1ef509['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x1ef509['wasUndone']&&_0x1ef509['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1ef509['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0xafc2b6['fromObject']=function(_0x5083d2,_0x2f3e4c){if(_0x5083d2 instanceof _0x5b9524['MarkerOperation'])return _0x5083d2;if(void 0x0===_0x2f3e4c&&(_0x2f3e4c=0x0),_0x2f3e4c>_0xf7048c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x33a199=new _0x5b9524['MarkerOperation']();if(null!=_0x5083d2['name']&&(_0x33a199['name']=String(_0x5083d2['name'])),null!=_0x5083d2['oldRange']){if('object'!=typeof _0x5083d2['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x33a199['oldRange']=_0x5b9524['Range']['fromObject'](_0x5083d2['oldRange'],_0x2f3e4c+0x1);}if(null!=_0x5083d2['newRange']){if('object'!=typeof _0x5083d2['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x33a199['newRange']=_0x5b9524['Range']['fromObject'](_0x5083d2['newRange'],_0x2f3e4c+0x1);}return null!=_0x5083d2['affectsData']&&(_0x33a199['affectsData']=Boolean(_0x5083d2['affectsData'])),null!=_0x5083d2['wasUndone']&&(_0x33a199['wasUndone']=Boolean(_0x5083d2['wasUndone'])),_0x33a199;},_0xafc2b6['toObject']=function(_0x33a450,_0x39fe99){_0x39fe99||(_0x39fe99={});var _0x5c8d1b={};return _0x39fe99['defaults']&&(_0x5c8d1b['name']='',_0x5c8d1b['oldRange']=null,_0x5c8d1b['newRange']=null,_0x5c8d1b['affectsData']=!0x1,_0x5c8d1b['wasUndone']=!0x1),null!=_0x33a450['name']&&_0x33a450['hasOwnProperty']('name')&&(_0x5c8d1b['name']=_0x33a450['name']),null!=_0x33a450['oldRange']&&_0x33a450['hasOwnProperty']('oldRange')&&(_0x5c8d1b['oldRange']=_0x5b9524['Range']['toObject'](_0x33a450['oldRange'],_0x39fe99)),null!=_0x33a450['newRange']&&_0x33a450['hasOwnProperty']('newRange')&&(_0x5c8d1b['newRange']=_0x5b9524['Range']['toObject'](_0x33a450['newRange'],_0x39fe99)),null!=_0x33a450['affectsData']&&_0x33a450['hasOwnProperty']('affectsData')&&(_0x5c8d1b['affectsData']=_0x33a450['affectsData']),null!=_0x33a450['wasUndone']&&_0x33a450['hasOwnProperty']('wasUndone')&&(_0x5c8d1b['wasUndone']=_0x33a450['wasUndone']),_0x5c8d1b;},_0xafc2b6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x486fbf['util']['toJSONOptions']);},_0xafc2b6['getTypeUrl']=function(_0x4bf6ba){return void 0x0===_0x4bf6ba&&(_0x4bf6ba='type.googleapis.com'),_0x4bf6ba+'/MarkerOperation';},_0xafc2b6;}()),_0x5b9524['MergeOperation']=(function(){function _0xc681fa(_0x5a34c9){if(_0x5a34c9){for(var _0xb0079e=Object['keys'](_0x5a34c9),_0x208112=0x0;_0x208112<_0xb0079e['length'];++_0x208112)null!=_0x5a34c9[_0xb0079e[_0x208112]]&&'__proto__'!==_0xb0079e[_0x208112]&&(this[_0xb0079e[_0x208112]]=_0x5a34c9[_0xb0079e[_0x208112]]);}}return _0xc681fa['prototype']['sourcePosition']=null,_0xc681fa['prototype']['targetPosition']=null,_0xc681fa['prototype']['graveyardPosition']=null,_0xc681fa['prototype']['howMany']=0x0,_0xc681fa['prototype']['wasUndone']=!0x1,_0xc681fa['create']=function(_0x2c80de){return new _0xc681fa(_0x2c80de);},_0xc681fa['encode']=function(_0x480362,_0x2f8dbb){return _0x2f8dbb||(_0x2f8dbb=_0x3ae615['create']()),null!=_0x480362['sourcePosition']&&Object['hasOwnProperty']['call'](_0x480362,'sourcePosition')&&_0x5b9524['Position']['encode'](_0x480362['sourcePosition'],_0x2f8dbb['uint32'](0xa)['fork']())['ldelim'](),null!=_0x480362['targetPosition']&&Object['hasOwnProperty']['call'](_0x480362,'targetPosition')&&_0x5b9524['Position']['encode'](_0x480362['targetPosition'],_0x2f8dbb['uint32'](0x12)['fork']())['ldelim'](),null!=_0x480362['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x480362,'graveyardPosition')&&_0x5b9524['Position']['encode'](_0x480362['graveyardPosition'],_0x2f8dbb['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x480362['howMany']&&Object['hasOwnProperty']['call'](_0x480362,'howMany')&&_0x2f8dbb['uint32'](0x20)['uint32'](_0x480362['howMany']),null!=_0x480362['wasUndone']&&Object['hasOwnProperty']['call'](_0x480362,'wasUndone')&&_0x2f8dbb['uint32'](0x28)['bool'](_0x480362['wasUndone']),_0x2f8dbb;},_0xc681fa['encodeDelimited']=function(_0x30b23d,_0x493124){return this['encode'](_0x30b23d,_0x493124)['ldelim']();},_0xc681fa['decode']=function(_0x224c26,_0x5ef942,_0x1c1058,_0x4b750b){if(_0x224c26 instanceof _0x58c107||(_0x224c26=_0x58c107['create'](_0x224c26)),void 0x0===_0x4b750b&&(_0x4b750b=0x0),_0x4b750b>_0x58c107['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1202c1=void 0x0===_0x5ef942?_0x224c26['len']:_0x224c26['pos']+_0x5ef942,_0x5d7f55=new _0x5b9524['MergeOperation']();_0x224c26['pos']<_0x1202c1;){var _0x4a0ac7=_0x224c26['uint32']();if(_0x4a0ac7===_0x1c1058)break;switch(_0x4a0ac7>>>0x3){case 0x1:_0x5d7f55['sourcePosition']=_0x5b9524['Position']['decode'](_0x224c26,_0x224c26['uint32'](),void 0x0,_0x4b750b+0x1);break;case 0x2:_0x5d7f55['targetPosition']=_0x5b9524['Position']['decode'](_0x224c26,_0x224c26['uint32'](),void 0x0,_0x4b750b+0x1);break;case 0x3:_0x5d7f55['graveyardPosition']=_0x5b9524['Position']['decode'](_0x224c26,_0x224c26['uint32'](),void 0x0,_0x4b750b+0x1);break;case 0x4:_0x5d7f55['howMany']=_0x224c26['uint32']();break;case 0x5:_0x5d7f55['wasUndone']=_0x224c26['bool']();break;default:_0x224c26['skipType'](0x7&_0x4a0ac7,_0x4b750b);}}return _0x5d7f55;},_0xc681fa['decodeDelimited']=function(_0x3b8df2){return _0x3b8df2 instanceof _0x58c107||(_0x3b8df2=new _0x58c107(_0x3b8df2)),this['decode'](_0x3b8df2,_0x3b8df2['uint32']());},_0xc681fa['verify']=function(_0x251962,_0x341de5){if('object'!=typeof _0x251962||null===_0x251962)return'object\x20expected';if(void 0x0===_0x341de5&&(_0x341de5=0x0),_0x341de5>_0xf7048c['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x229261;if(null!=_0x251962['sourcePosition']&&_0x251962['hasOwnProperty']('sourcePosition')&&(_0x229261=_0x5b9524['Position']['verify'](_0x251962['sourcePosition'],_0x341de5+0x1)))return'sourcePosition.'+_0x229261;if(null!=_0x251962['targetPosition']&&_0x251962['hasOwnProperty']('targetPosition')&&(_0x229261=_0x5b9524['Position']['verify'](_0x251962['targetPosition'],_0x341de5+0x1)))return'targetPosition.'+_0x229261;if(null!=_0x251962['graveyardPosition']&&_0x251962['hasOwnProperty']('graveyardPosition')&&(_0x229261=_0x5b9524['Position']['verify'](_0x251962['graveyardPosition'],_0x341de5+0x1)))return'graveyardPosition.'+_0x229261;return null!=_0x251962['howMany']&&_0x251962['hasOwnProperty']('howMany')&&!_0xf7048c['isInteger'](_0x251962['howMany'])?'howMany:\x20integer\x20expected':null!=_0x251962['wasUndone']&&_0x251962['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x251962['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0xc681fa['fromObject']=function(_0x3b304b,_0x208fc1){if(_0x3b304b instanceof _0x5b9524['MergeOperation'])return _0x3b304b;if(void 0x0===_0x208fc1&&(_0x208fc1=0x0),_0x208fc1>_0xf7048c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x124136=new _0x5b9524['MergeOperation']();if(null!=_0x3b304b['sourcePosition']){if('object'!=typeof _0x3b304b['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x124136['sourcePosition']=_0x5b9524['Position']['fromObject'](_0x3b304b['sourcePosition'],_0x208fc1+0x1);}if(null!=_0x3b304b['targetPosition']){if('object'!=typeof _0x3b304b['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x124136['targetPosition']=_0x5b9524['Position']['fromObject'](_0x3b304b['targetPosition'],_0x208fc1+0x1);}if(null!=_0x3b304b['graveyardPosition']){if('object'!=typeof _0x3b304b['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x124136['graveyardPosition']=_0x5b9524['Position']['fromObject'](_0x3b304b['graveyardPosition'],_0x208fc1+0x1);}return null!=_0x3b304b['howMany']&&(_0x124136['howMany']=_0x3b304b['howMany']>>>0x0),null!=_0x3b304b['wasUndone']&&(_0x124136['wasUndone']=Boolean(_0x3b304b['wasUndone'])),_0x124136;},_0xc681fa['toObject']=function(_0x5aa181,_0x421ccb){_0x421ccb||(_0x421ccb={});var _0x1aee2f={};return _0x421ccb['defaults']&&(_0x1aee2f['sourcePosition']=null,_0x1aee2f['targetPosition']=null,_0x1aee2f['graveyardPosition']=null,_0x1aee2f['howMany']=0x0,_0x1aee2f['wasUndone']=!0x1),null!=_0x5aa181['sourcePosition']&&_0x5aa181['hasOwnProperty']('sourcePosition')&&(_0x1aee2f['sourcePosition']=_0x5b9524['Position']['toObject'](_0x5aa181['sourcePosition'],_0x421ccb)),null!=_0x5aa181['targetPosition']&&_0x5aa181['hasOwnProperty']('targetPosition')&&(_0x1aee2f['targetPosition']=_0x5b9524['Position']['toObject'](_0x5aa181['targetPosition'],_0x421ccb)),null!=_0x5aa181['graveyardPosition']&&_0x5aa181['hasOwnProperty']('graveyardPosition')&&(_0x1aee2f['graveyardPosition']=_0x5b9524['Position']['toObject'](_0x5aa181['graveyardPosition'],_0x421ccb)),null!=_0x5aa181['howMany']&&_0x5aa181['hasOwnProperty']('howMany')&&(_0x1aee2f['howMany']=_0x5aa181['howMany']),null!=_0x5aa181['wasUndone']&&_0x5aa181['hasOwnProperty']('wasUndone')&&(_0x1aee2f['wasUndone']=_0x5aa181['wasUndone']),_0x1aee2f;},_0xc681fa['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x486fbf['util']['toJSONOptions']);},_0xc681fa['getTypeUrl']=function(_0xb097c9){return void 0x0===_0xb097c9&&(_0xb097c9='type.googleapis.com'),_0xb097c9+'/MergeOperation';},_0xc681fa;}()),_0x5b9524['MoveOperation']=(function(){function _0x1833f8(_0x51d0f1){if(_0x51d0f1){for(var _0x26d418=Object['keys'](_0x51d0f1),_0xb74249=0x0;_0xb74249<_0x26d418['length'];++_0xb74249)null!=_0x51d0f1[_0x26d418[_0xb74249]]&&'__proto__'!==_0x26d418[_0xb74249]&&(this[_0x26d418[_0xb74249]]=_0x51d0f1[_0x26d418[_0xb74249]]);}}return _0x1833f8['prototype']['sourcePosition']=null,_0x1833f8['prototype']['howMany']=0x0,_0x1833f8['prototype']['targetPosition']=null,_0x1833f8['prototype']['wasUndone']=!0x1,_0x1833f8['create']=function(_0x1afbfc){return new _0x1833f8(_0x1afbfc);},_0x1833f8['encode']=function(_0x2d04cd,_0x482ec1){return _0x482ec1||(_0x482ec1=_0x3ae615['create']()),null!=_0x2d04cd['sourcePosition']&&Object['hasOwnProperty']['call'](_0x2d04cd,'sourcePosition')&&_0x5b9524['Position']['encode'](_0x2d04cd['sourcePosition'],_0x482ec1['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2d04cd['howMany']&&Object['hasOwnProperty']['call'](_0x2d04cd,'howMany')&&_0x482ec1['uint32'](0x10)['uint32'](_0x2d04cd['howMany']),null!=_0x2d04cd['targetPosition']&&Object['hasOwnProperty']['call'](_0x2d04cd,'targetPosition')&&_0x5b9524['Position']['encode'](_0x2d04cd['targetPosition'],_0x482ec1['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x2d04cd['wasUndone']&&Object['hasOwnProperty']['call'](_0x2d04cd,'wasUndone')&&_0x482ec1['uint32'](0x20)['bool'](_0x2d04cd['wasUndone']),_0x482ec1;},_0x1833f8['encodeDelimited']=function(_0x5bc15c,_0x43e28d){return this['encode'](_0x5bc15c,_0x43e28d)['ldelim']();},_0x1833f8['decode']=function(_0x1e3bad,_0x13d1cc,_0x4c0ea3,_0x146332){if(_0x1e3bad instanceof _0x58c107||(_0x1e3bad=_0x58c107['create'](_0x1e3bad)),void 0x0===_0x146332&&(_0x146332=0x0),_0x146332>_0x58c107['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x116ef8=void 0x0===_0x13d1cc?_0x1e3bad['len']:_0x1e3bad['pos']+_0x13d1cc,_0x353936=new _0x5b9524['MoveOperation']();_0x1e3bad['pos']<_0x116ef8;){var _0x27067e=_0x1e3bad['uint32']();if(_0x27067e===_0x4c0ea3)break;switch(_0x27067e>>>0x3){case 0x1:_0x353936['sourcePosition']=_0x5b9524['Position']['decode'](_0x1e3bad,_0x1e3bad['uint32'](),void 0x0,_0x146332+0x1);break;case 0x2:_0x353936['howMany']=_0x1e3bad['uint32']();break;case 0x3:_0x353936['targetPosition']=_0x5b9524['Position']['decode'](_0x1e3bad,_0x1e3bad['uint32'](),void 0x0,_0x146332+0x1);break;case 0x4:_0x353936['wasUndone']=_0x1e3bad['bool']();break;default:_0x1e3bad['skipType'](0x7&_0x27067e,_0x146332);}}return _0x353936;},_0x1833f8['decodeDelimited']=function(_0x30529c){return _0x30529c instanceof _0x58c107||(_0x30529c=new _0x58c107(_0x30529c)),this['decode'](_0x30529c,_0x30529c['uint32']());},_0x1833f8['verify']=function(_0x5837e4,_0x9b2bcd){if('object'!=typeof _0x5837e4||null===_0x5837e4)return'object\x20expected';if(void 0x0===_0x9b2bcd&&(_0x9b2bcd=0x0),_0x9b2bcd>_0xf7048c['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0xda712f;if(null!=_0x5837e4['sourcePosition']&&_0x5837e4['hasOwnProperty']('sourcePosition')&&(_0xda712f=_0x5b9524['Position']['verify'](_0x5837e4['sourcePosition'],_0x9b2bcd+0x1)))return'sourcePosition.'+_0xda712f;if(null!=_0x5837e4['howMany']&&_0x5837e4['hasOwnProperty']('howMany')&&!_0xf7048c['isInteger'](_0x5837e4['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x5837e4['targetPosition']&&_0x5837e4['hasOwnProperty']('targetPosition')&&(_0xda712f=_0x5b9524['Position']['verify'](_0x5837e4['targetPosition'],_0x9b2bcd+0x1)))return'targetPosition.'+_0xda712f;return null!=_0x5837e4['wasUndone']&&_0x5837e4['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5837e4['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1833f8['fromObject']=function(_0x17b073,_0x40a85f){if(_0x17b073 instanceof _0x5b9524['MoveOperation'])return _0x17b073;if(void 0x0===_0x40a85f&&(_0x40a85f=0x0),_0x40a85f>_0xf7048c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2f386e=new _0x5b9524['MoveOperation']();if(null!=_0x17b073['sourcePosition']){if('object'!=typeof _0x17b073['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x2f386e['sourcePosition']=_0x5b9524['Position']['fromObject'](_0x17b073['sourcePosition'],_0x40a85f+0x1);}if(null!=_0x17b073['howMany']&&(_0x2f386e['howMany']=_0x17b073['howMany']>>>0x0),null!=_0x17b073['targetPosition']){if('object'!=typeof _0x17b073['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x2f386e['targetPosition']=_0x5b9524['Position']['fromObject'](_0x17b073['targetPosition'],_0x40a85f+0x1);}return null!=_0x17b073['wasUndone']&&(_0x2f386e['wasUndone']=Boolean(_0x17b073['wasUndone'])),_0x2f386e;},_0x1833f8['toObject']=function(_0x3d2d5f,_0x4a7678){_0x4a7678||(_0x4a7678={});var _0x42ce10={};return _0x4a7678['defaults']&&(_0x42ce10['sourcePosition']=null,_0x42ce10['howMany']=0x0,_0x42ce10['targetPosition']=null,_0x42ce10['wasUndone']=!0x1),null!=_0x3d2d5f['sourcePosition']&&_0x3d2d5f['hasOwnProperty']('sourcePosition')&&(_0x42ce10['sourcePosition']=_0x5b9524['Position']['toObject'](_0x3d2d5f['sourcePosition'],_0x4a7678)),null!=_0x3d2d5f['howMany']&&_0x3d2d5f['hasOwnProperty']('howMany')&&(_0x42ce10['howMany']=_0x3d2d5f['howMany']),null!=_0x3d2d5f['targetPosition']&&_0x3d2d5f['hasOwnProperty']('targetPosition')&&(_0x42ce10['targetPosition']=_0x5b9524['Position']['toObject'](_0x3d2d5f['targetPosition'],_0x4a7678)),null!=_0x3d2d5f['wasUndone']&&_0x3d2d5f['hasOwnProperty']('wasUndone')&&(_0x42ce10['wasUndone']=_0x3d2d5f['wasUndone']),_0x42ce10;},_0x1833f8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x486fbf['util']['toJSONOptions']);},_0x1833f8['getTypeUrl']=function(_0x424259){return void 0x0===_0x424259&&(_0x424259='type.googleapis.com'),_0x424259+'/MoveOperation';},_0x1833f8;}()),_0x5b9524['RenameOperation']=(function(){function _0x57be3e(_0xf3b4b){if(_0xf3b4b){for(var _0x5430de=Object['keys'](_0xf3b4b),_0x4ffbc5=0x0;_0x4ffbc5<_0x5430de['length'];++_0x4ffbc5)null!=_0xf3b4b[_0x5430de[_0x4ffbc5]]&&'__proto__'!==_0x5430de[_0x4ffbc5]&&(this[_0x5430de[_0x4ffbc5]]=_0xf3b4b[_0x5430de[_0x4ffbc5]]);}}return _0x57be3e['prototype']['position']=null,_0x57be3e['prototype']['oldName']='',_0x57be3e['prototype']['newName']='',_0x57be3e['prototype']['wasUndone']=!0x1,_0x57be3e['create']=function(_0xc580e8){return new _0x57be3e(_0xc580e8);},_0x57be3e['encode']=function(_0x517554,_0x3949ee){return _0x3949ee||(_0x3949ee=_0x3ae615['create']()),null!=_0x517554['position']&&Object['hasOwnProperty']['call'](_0x517554,'position')&&_0x5b9524['Position']['encode'](_0x517554['position'],_0x3949ee['uint32'](0xa)['fork']())['ldelim'](),null!=_0x517554['oldName']&&Object['hasOwnProperty']['call'](_0x517554,'oldName')&&_0x3949ee['uint32'](0x12)['string'](_0x517554['oldName']),null!=_0x517554['newName']&&Object['hasOwnProperty']['call'](_0x517554,'newName')&&_0x3949ee['uint32'](0x1a)['string'](_0x517554['newName']),null!=_0x517554['wasUndone']&&Object['hasOwnProperty']['call'](_0x517554,'wasUndone')&&_0x3949ee['uint32'](0x20)['bool'](_0x517554['wasUndone']),_0x3949ee;},_0x57be3e['encodeDelimited']=function(_0x5b24a4,_0x54b8a2){return this['encode'](_0x5b24a4,_0x54b8a2)['ldelim']();},_0x57be3e['decode']=function(_0x159293,_0x2de7af,_0x3ee58e,_0x48a6ed){if(_0x159293 instanceof _0x58c107||(_0x159293=_0x58c107['create'](_0x159293)),void 0x0===_0x48a6ed&&(_0x48a6ed=0x0),_0x48a6ed>_0x58c107['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x19735c=void 0x0===_0x2de7af?_0x159293['len']:_0x159293['pos']+_0x2de7af,_0x25641a=new _0x5b9524['RenameOperation']();_0x159293['pos']<_0x19735c;){var _0x357c28=_0x159293['uint32']();if(_0x357c28===_0x3ee58e)break;switch(_0x357c28>>>0x3){case 0x1:_0x25641a['position']=_0x5b9524['Position']['decode'](_0x159293,_0x159293['uint32'](),void 0x0,_0x48a6ed+0x1);break;case 0x2:_0x25641a['oldName']=_0x159293['string']();break;case 0x3:_0x25641a['newName']=_0x159293['string']();break;case 0x4:_0x25641a['wasUndone']=_0x159293['bool']();break;default:_0x159293['skipType'](0x7&_0x357c28,_0x48a6ed);}}return _0x25641a;},_0x57be3e['decodeDelimited']=function(_0x82ffe){return _0x82ffe instanceof _0x58c107||(_0x82ffe=new _0x58c107(_0x82ffe)),this['decode'](_0x82ffe,_0x82ffe['uint32']());},_0x57be3e['verify']=function(_0x3c9d2d,_0xdfa3df){if('object'!=typeof _0x3c9d2d||null===_0x3c9d2d)return'object\x20expected';if(void 0x0===_0xdfa3df&&(_0xdfa3df=0x0),_0xdfa3df>_0xf7048c['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3c9d2d['position']&&_0x3c9d2d['hasOwnProperty']('position')){var _0x8fa169=_0x5b9524['Position']['verify'](_0x3c9d2d['position'],_0xdfa3df+0x1);if(_0x8fa169)return'position.'+_0x8fa169;}return null!=_0x3c9d2d['oldName']&&_0x3c9d2d['hasOwnProperty']('oldName')&&!_0xf7048c['isString'](_0x3c9d2d['oldName'])?'oldName:\x20string\x20expected':null!=_0x3c9d2d['newName']&&_0x3c9d2d['hasOwnProperty']('newName')&&!_0xf7048c['isString'](_0x3c9d2d['newName'])?'newName:\x20string\x20expected':null!=_0x3c9d2d['wasUndone']&&_0x3c9d2d['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3c9d2d['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x57be3e['fromObject']=function(_0x41e6ca,_0x7a34f6){if(_0x41e6ca instanceof _0x5b9524['RenameOperation'])return _0x41e6ca;if(void 0x0===_0x7a34f6&&(_0x7a34f6=0x0),_0x7a34f6>_0xf7048c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4c2d94=new _0x5b9524['RenameOperation']();if(null!=_0x41e6ca['position']){if('object'!=typeof _0x41e6ca['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x4c2d94['position']=_0x5b9524['Position']['fromObject'](_0x41e6ca['position'],_0x7a34f6+0x1);}return null!=_0x41e6ca['oldName']&&(_0x4c2d94['oldName']=String(_0x41e6ca['oldName'])),null!=_0x41e6ca['newName']&&(_0x4c2d94['newName']=String(_0x41e6ca['newName'])),null!=_0x41e6ca['wasUndone']&&(_0x4c2d94['wasUndone']=Boolean(_0x41e6ca['wasUndone'])),_0x4c2d94;},_0x57be3e['toObject']=function(_0x4fbf27,_0x18c607){_0x18c607||(_0x18c607={});var _0x4cafe6={};return _0x18c607['defaults']&&(_0x4cafe6['position']=null,_0x4cafe6['oldName']='',_0x4cafe6['newName']='',_0x4cafe6['wasUndone']=!0x1),null!=_0x4fbf27['position']&&_0x4fbf27['hasOwnProperty']('position')&&(_0x4cafe6['position']=_0x5b9524['Position']['toObject'](_0x4fbf27['position'],_0x18c607)),null!=_0x4fbf27['oldName']&&_0x4fbf27['hasOwnProperty']('oldName')&&(_0x4cafe6['oldName']=_0x4fbf27['oldName']),null!=_0x4fbf27['newName']&&_0x4fbf27['hasOwnProperty']('newName')&&(_0x4cafe6['newName']=_0x4fbf27['newName']),null!=_0x4fbf27['wasUndone']&&_0x4fbf27['hasOwnProperty']('wasUndone')&&(_0x4cafe6['wasUndone']=_0x4fbf27['wasUndone']),_0x4cafe6;},_0x57be3e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x486fbf['util']['toJSONOptions']);},_0x57be3e['getTypeUrl']=function(_0x2c7be2){return void 0x0===_0x2c7be2&&(_0x2c7be2='type.googleapis.com'),_0x2c7be2+'/RenameOperation';},_0x57be3e;}()),_0x5b9524['RootAttributeOperation']=(function(){function _0x2e38c4(_0x2410ae){if(_0x2410ae){for(var _0x4f0831=Object['keys'](_0x2410ae),_0x28cac9=0x0;_0x28cac9<_0x4f0831['length'];++_0x28cac9)null!=_0x2410ae[_0x4f0831[_0x28cac9]]&&'__proto__'!==_0x4f0831[_0x28cac9]&&(this[_0x4f0831[_0x28cac9]]=_0x2410ae[_0x4f0831[_0x28cac9]]);}}return _0x2e38c4['prototype']['root']='',_0x2e38c4['prototype']['key']='',_0x2e38c4['prototype']['oldValueBoolean']=!0x1,_0x2e38c4['prototype']['oldValueJson']='',_0x2e38c4['prototype']['newValueBoolean']=!0x1,_0x2e38c4['prototype']['newValueJson']='',_0x2e38c4['prototype']['wasUndone']=!0x1,_0x2e38c4['create']=function(_0x39c18f){return new _0x2e38c4(_0x39c18f);},_0x2e38c4['encode']=function(_0x45233d,_0x697997){return _0x697997||(_0x697997=_0x3ae615['create']()),null!=_0x45233d['root']&&Object['hasOwnProperty']['call'](_0x45233d,'root')&&_0x697997['uint32'](0xa)['string'](_0x45233d['root']),null!=_0x45233d['key']&&Object['hasOwnProperty']['call'](_0x45233d,'key')&&_0x697997['uint32'](0x12)['string'](_0x45233d['key']),null!=_0x45233d['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x45233d,'oldValueBoolean')&&_0x697997['uint32'](0x18)['bool'](_0x45233d['oldValueBoolean']),null!=_0x45233d['oldValueJson']&&Object['hasOwnProperty']['call'](_0x45233d,'oldValueJson')&&_0x697997['uint32'](0x22)['string'](_0x45233d['oldValueJson']),null!=_0x45233d['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x45233d,'newValueBoolean')&&_0x697997['uint32'](0x28)['bool'](_0x45233d['newValueBoolean']),null!=_0x45233d['newValueJson']&&Object['hasOwnProperty']['call'](_0x45233d,'newValueJson')&&_0x697997['uint32'](0x32)['string'](_0x45233d['newValueJson']),null!=_0x45233d['wasUndone']&&Object['hasOwnProperty']['call'](_0x45233d,'wasUndone')&&_0x697997['uint32'](0x38)['bool'](_0x45233d['wasUndone']),_0x697997;},_0x2e38c4['encodeDelimited']=function(_0x505ce9,_0xf15993){return this['encode'](_0x505ce9,_0xf15993)['ldelim']();},_0x2e38c4['decode']=function(_0x2146a5,_0x403381,_0xca8000,_0x388293){if(_0x2146a5 instanceof _0x58c107||(_0x2146a5=_0x58c107['create'](_0x2146a5)),void 0x0===_0x388293&&(_0x388293=0x0),_0x388293>_0x58c107['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3866df=void 0x0===_0x403381?_0x2146a5['len']:_0x2146a5['pos']+_0x403381,_0x4699ef=new _0x5b9524['RootAttributeOperation']();_0x2146a5['pos']<_0x3866df;){var _0x49fe32=_0x2146a5['uint32']();if(_0x49fe32===_0xca8000)break;switch(_0x49fe32>>>0x3){case 0x1:_0x4699ef['root']=_0x2146a5['string']();break;case 0x2:_0x4699ef['key']=_0x2146a5['string']();break;case 0x3:_0x4699ef['oldValueBoolean']=_0x2146a5['bool']();break;case 0x4:_0x4699ef['oldValueJson']=_0x2146a5['string']();break;case 0x5:_0x4699ef['newValueBoolean']=_0x2146a5['bool']();break;case 0x6:_0x4699ef['newValueJson']=_0x2146a5['string']();break;case 0x7:_0x4699ef['wasUndone']=_0x2146a5['bool']();break;default:_0x2146a5['skipType'](0x7&_0x49fe32,_0x388293);}}return _0x4699ef;},_0x2e38c4['decodeDelimited']=function(_0x40efc4){return _0x40efc4 instanceof _0x58c107||(_0x40efc4=new _0x58c107(_0x40efc4)),this['decode'](_0x40efc4,_0x40efc4['uint32']());},_0x2e38c4['verify']=function(_0x3aaf06,_0x498fc5){return'object'!=typeof _0x3aaf06||null===_0x3aaf06?'object\x20expected':(void 0x0===_0x498fc5&&(_0x498fc5=0x0),_0x498fc5>_0xf7048c['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3aaf06['root']&&_0x3aaf06['hasOwnProperty']('root')&&!_0xf7048c['isString'](_0x3aaf06['root'])?'root:\x20string\x20expected':null!=_0x3aaf06['key']&&_0x3aaf06['hasOwnProperty']('key')&&!_0xf7048c['isString'](_0x3aaf06['key'])?'key:\x20string\x20expected':null!=_0x3aaf06['oldValueBoolean']&&_0x3aaf06['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x3aaf06['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x3aaf06['oldValueJson']&&_0x3aaf06['hasOwnProperty']('oldValueJson')&&!_0xf7048c['isString'](_0x3aaf06['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x3aaf06['newValueBoolean']&&_0x3aaf06['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x3aaf06['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x3aaf06['newValueJson']&&_0x3aaf06['hasOwnProperty']('newValueJson')&&!_0xf7048c['isString'](_0x3aaf06['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x3aaf06['wasUndone']&&_0x3aaf06['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3aaf06['wasUndone']?'wasUndone:\x20boolean\x20expected':null);},_0x2e38c4['fromObject']=function(_0x1ec886,_0x1c61f1){if(_0x1ec886 instanceof _0x5b9524['RootAttributeOperation'])return _0x1ec886;if(void 0x0===_0x1c61f1&&(_0x1c61f1=0x0),_0x1c61f1>_0xf7048c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x445ae7=new _0x5b9524['RootAttributeOperation']();return null!=_0x1ec886['root']&&(_0x445ae7['root']=String(_0x1ec886['root'])),null!=_0x1ec886['key']&&(_0x445ae7['key']=String(_0x1ec886['key'])),null!=_0x1ec886['oldValueBoolean']&&(_0x445ae7['oldValueBoolean']=Boolean(_0x1ec886['oldValueBoolean'])),null!=_0x1ec886['oldValueJson']&&(_0x445ae7['oldValueJson']=String(_0x1ec886['oldValueJson'])),null!=_0x1ec886['newValueBoolean']&&(_0x445ae7['newValueBoolean']=Boolean(_0x1ec886['newValueBoolean'])),null!=_0x1ec886['newValueJson']&&(_0x445ae7['newValueJson']=String(_0x1ec886['newValueJson'])),null!=_0x1ec886['wasUndone']&&(_0x445ae7['wasUndone']=Boolean(_0x1ec886['wasUndone'])),_0x445ae7;},_0x2e38c4['toObject']=function(_0x815e61,_0x215c1d){_0x215c1d||(_0x215c1d={});var _0x555efc={};return _0x215c1d['defaults']&&(_0x555efc['root']='',_0x555efc['key']='',_0x555efc['oldValueBoolean']=!0x1,_0x555efc['oldValueJson']='',_0x555efc['newValueBoolean']=!0x1,_0x555efc['newValueJson']='',_0x555efc['wasUndone']=!0x1),null!=_0x815e61['root']&&_0x815e61['hasOwnProperty']('root')&&(_0x555efc['root']=_0x815e61['root']),null!=_0x815e61['key']&&_0x815e61['hasOwnProperty']('key')&&(_0x555efc['key']=_0x815e61['key']),null!=_0x815e61['oldValueBoolean']&&_0x815e61['hasOwnProperty']('oldValueBoolean')&&(_0x555efc['oldValueBoolean']=_0x815e61['oldValueBoolean']),null!=_0x815e61['oldValueJson']&&_0x815e61['hasOwnProperty']('oldValueJson')&&(_0x555efc['oldValueJson']=_0x815e61['oldValueJson']),null!=_0x815e61['newValueBoolean']&&_0x815e61['hasOwnProperty']('newValueBoolean')&&(_0x555efc['newValueBoolean']=_0x815e61['newValueBoolean']),null!=_0x815e61['newValueJson']&&_0x815e61['hasOwnProperty']('newValueJson')&&(_0x555efc['newValueJson']=_0x815e61['newValueJson']),null!=_0x815e61['wasUndone']&&_0x815e61['hasOwnProperty']('wasUndone')&&(_0x555efc['wasUndone']=_0x815e61['wasUndone']),_0x555efc;},_0x2e38c4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x486fbf['util']['toJSONOptions']);},_0x2e38c4['getTypeUrl']=function(_0x3b8206){return void 0x0===_0x3b8206&&(_0x3b8206='type.googleapis.com'),_0x3b8206+'/RootAttributeOperation';},_0x2e38c4;}()),_0x5b9524['RootOperation']=(function(){function _0x4bcd8b(_0x41a10a){if(_0x41a10a){for(var _0x19575d=Object['keys'](_0x41a10a),_0x4f76e6=0x0;_0x4f76e6<_0x19575d['length'];++_0x4f76e6)null!=_0x41a10a[_0x19575d[_0x4f76e6]]&&'__proto__'!==_0x19575d[_0x4f76e6]&&(this[_0x19575d[_0x4f76e6]]=_0x41a10a[_0x19575d[_0x4f76e6]]);}}return _0x4bcd8b['prototype']['rootName']='',_0x4bcd8b['prototype']['elementName']='',_0x4bcd8b['prototype']['isAdd']=!0x1,_0x4bcd8b['prototype']['wasUndone']=!0x1,_0x4bcd8b['create']=function(_0xd026ba){return new _0x4bcd8b(_0xd026ba);},_0x4bcd8b['encode']=function(_0x538618,_0x4b80f7){return _0x4b80f7||(_0x4b80f7=_0x3ae615['create']()),null!=_0x538618['rootName']&&Object['hasOwnProperty']['call'](_0x538618,'rootName')&&_0x4b80f7['uint32'](0xa)['string'](_0x538618['rootName']),null!=_0x538618['elementName']&&Object['hasOwnProperty']['call'](_0x538618,'elementName')&&_0x4b80f7['uint32'](0x12)['string'](_0x538618['elementName']),null!=_0x538618['isAdd']&&Object['hasOwnProperty']['call'](_0x538618,'isAdd')&&_0x4b80f7['uint32'](0x18)['bool'](_0x538618['isAdd']),null!=_0x538618['wasUndone']&&Object['hasOwnProperty']['call'](_0x538618,'wasUndone')&&_0x4b80f7['uint32'](0x20)['bool'](_0x538618['wasUndone']),_0x4b80f7;},_0x4bcd8b['encodeDelimited']=function(_0x12317e,_0x540689){return this['encode'](_0x12317e,_0x540689)['ldelim']();},_0x4bcd8b['decode']=function(_0x3cb838,_0x565ecb,_0x2b2fbd,_0x3a597f){if(_0x3cb838 instanceof _0x58c107||(_0x3cb838=_0x58c107['create'](_0x3cb838)),void 0x0===_0x3a597f&&(_0x3a597f=0x0),_0x3a597f>_0x58c107['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xecc601=void 0x0===_0x565ecb?_0x3cb838['len']:_0x3cb838['pos']+_0x565ecb,_0x3f14ff=new _0x5b9524['RootOperation']();_0x3cb838['pos']<_0xecc601;){var _0x533f0d=_0x3cb838['uint32']();if(_0x533f0d===_0x2b2fbd)break;switch(_0x533f0d>>>0x3){case 0x1:_0x3f14ff['rootName']=_0x3cb838['string']();break;case 0x2:_0x3f14ff['elementName']=_0x3cb838['string']();break;case 0x3:_0x3f14ff['isAdd']=_0x3cb838['bool']();break;case 0x4:_0x3f14ff['wasUndone']=_0x3cb838['bool']();break;default:_0x3cb838['skipType'](0x7&_0x533f0d,_0x3a597f);}}return _0x3f14ff;},_0x4bcd8b['decodeDelimited']=function(_0x487b23){return _0x487b23 instanceof _0x58c107||(_0x487b23=new _0x58c107(_0x487b23)),this['decode'](_0x487b23,_0x487b23['uint32']());},_0x4bcd8b['verify']=function(_0x4a7d8c,_0x4cc5ec){return'object'!=typeof _0x4a7d8c||null===_0x4a7d8c?'object\x20expected':(void 0x0===_0x4cc5ec&&(_0x4cc5ec=0x0),_0x4cc5ec>_0xf7048c['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4a7d8c['rootName']&&_0x4a7d8c['hasOwnProperty']('rootName')&&!_0xf7048c['isString'](_0x4a7d8c['rootName'])?'rootName:\x20string\x20expected':null!=_0x4a7d8c['elementName']&&_0x4a7d8c['hasOwnProperty']('elementName')&&!_0xf7048c['isString'](_0x4a7d8c['elementName'])?'elementName:\x20string\x20expected':null!=_0x4a7d8c['isAdd']&&_0x4a7d8c['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x4a7d8c['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x4a7d8c['wasUndone']&&_0x4a7d8c['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x4a7d8c['wasUndone']?'wasUndone:\x20boolean\x20expected':null);},_0x4bcd8b['fromObject']=function(_0x5de86d,_0x2355a5){if(_0x5de86d instanceof _0x5b9524['RootOperation'])return _0x5de86d;if(void 0x0===_0x2355a5&&(_0x2355a5=0x0),_0x2355a5>_0xf7048c['recursionLimit'])throw Error('maximum\x20nestin