@ckeditor/ckeditor5-operations-compressor
Version:
CKEditor 5 operations compressor for real-time collaboration.
24 lines • 86.5 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 _0x3961a3}from'@ckeditor/ckeditor5-utils/dist/index.js';import _0x50202c from'protobufjs/minimal.js';import{cloneDeep as _0xa8b31,isEqual as _0x3a38d0,isObject as _0x3889a5}from'es-toolkit/compat';const u=/* #__PURE__ -- @preserve */
((()=>{var _0x2997ac=_0x50202c['Reader'],_0x516811=_0x50202c['Writer'],_0x2dfcd8=_0x50202c['util'],_0x29bdea=_0x50202c['roots']['default']||(_0x50202c['roots']['default']={});return _0x29bdea['AttributeOperation']=(function(){function _0x329dab(_0x3d2f32){if(_0x3d2f32){for(var _0x45b474=Object['keys'](_0x3d2f32),_0x118c6e=0x0;_0x118c6e<_0x45b474['length'];++_0x118c6e)null!=_0x3d2f32[_0x45b474[_0x118c6e]]&&(this[_0x45b474[_0x118c6e]]=_0x3d2f32[_0x45b474[_0x118c6e]]);}}return _0x329dab['prototype']['range']=null,_0x329dab['prototype']['key']='',_0x329dab['prototype']['oldValueBoolean']=!0x1,_0x329dab['prototype']['oldValueJson']='',_0x329dab['prototype']['newValueBoolean']=!0x1,_0x329dab['prototype']['newValueJson']='',_0x329dab['prototype']['wasUndone']=!0x1,_0x329dab['create']=function(_0x52dce7){return new _0x329dab(_0x52dce7);},_0x329dab['encode']=function(_0x19f6af,_0x4bd147){return _0x4bd147||(_0x4bd147=_0x516811['create']()),null!=_0x19f6af['range']&&Object['hasOwnProperty']['call'](_0x19f6af,'range')&&_0x29bdea['Range']['encode'](_0x19f6af['range'],_0x4bd147['uint32'](0xa)['fork']())['ldelim'](),null!=_0x19f6af['key']&&Object['hasOwnProperty']['call'](_0x19f6af,'key')&&_0x4bd147['uint32'](0x12)['string'](_0x19f6af['key']),null!=_0x19f6af['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x19f6af,'oldValueBoolean')&&_0x4bd147['uint32'](0x18)['bool'](_0x19f6af['oldValueBoolean']),null!=_0x19f6af['oldValueJson']&&Object['hasOwnProperty']['call'](_0x19f6af,'oldValueJson')&&_0x4bd147['uint32'](0x22)['string'](_0x19f6af['oldValueJson']),null!=_0x19f6af['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x19f6af,'newValueBoolean')&&_0x4bd147['uint32'](0x28)['bool'](_0x19f6af['newValueBoolean']),null!=_0x19f6af['newValueJson']&&Object['hasOwnProperty']['call'](_0x19f6af,'newValueJson')&&_0x4bd147['uint32'](0x32)['string'](_0x19f6af['newValueJson']),null!=_0x19f6af['wasUndone']&&Object['hasOwnProperty']['call'](_0x19f6af,'wasUndone')&&_0x4bd147['uint32'](0x38)['bool'](_0x19f6af['wasUndone']),_0x4bd147;},_0x329dab['encodeDelimited']=function(_0x58fbdc,_0x4603ce){return this['encode'](_0x58fbdc,_0x4603ce)['ldelim']();},_0x329dab['decode']=function(_0x44fb5d,_0x3c519e){_0x44fb5d instanceof _0x2997ac||(_0x44fb5d=_0x2997ac['create'](_0x44fb5d));for(var _0x201a80=void 0x0===_0x3c519e?_0x44fb5d['len']:_0x44fb5d['pos']+_0x3c519e,_0x21046b=new _0x29bdea['AttributeOperation']();_0x44fb5d['pos']<_0x201a80;){var _0x56d21f=_0x44fb5d['uint32']();switch(_0x56d21f>>>0x3){case 0x1:_0x21046b['range']=_0x29bdea['Range']['decode'](_0x44fb5d,_0x44fb5d['uint32']());break;case 0x2:_0x21046b['key']=_0x44fb5d['string']();break;case 0x3:_0x21046b['oldValueBoolean']=_0x44fb5d['bool']();break;case 0x4:_0x21046b['oldValueJson']=_0x44fb5d['string']();break;case 0x5:_0x21046b['newValueBoolean']=_0x44fb5d['bool']();break;case 0x6:_0x21046b['newValueJson']=_0x44fb5d['string']();break;case 0x7:_0x21046b['wasUndone']=_0x44fb5d['bool']();break;default:_0x44fb5d['skipType'](0x7&_0x56d21f);}}return _0x21046b;},_0x329dab['decodeDelimited']=function(_0x554d76){return _0x554d76 instanceof _0x2997ac||(_0x554d76=new _0x2997ac(_0x554d76)),this['decode'](_0x554d76,_0x554d76['uint32']());},_0x329dab['verify']=function(_0x1fdb41){if('object'!=typeof _0x1fdb41||null===_0x1fdb41)return'object\x20expected';if(null!=_0x1fdb41['range']&&_0x1fdb41['hasOwnProperty']('range')){var _0x260d4b=_0x29bdea['Range']['verify'](_0x1fdb41['range']);if(_0x260d4b)return'range.'+_0x260d4b;}return null!=_0x1fdb41['key']&&_0x1fdb41['hasOwnProperty']('key')&&!_0x2dfcd8['isString'](_0x1fdb41['key'])?'key:\x20string\x20expected':null!=_0x1fdb41['oldValueBoolean']&&_0x1fdb41['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x1fdb41['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x1fdb41['oldValueJson']&&_0x1fdb41['hasOwnProperty']('oldValueJson')&&!_0x2dfcd8['isString'](_0x1fdb41['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x1fdb41['newValueBoolean']&&_0x1fdb41['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x1fdb41['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x1fdb41['newValueJson']&&_0x1fdb41['hasOwnProperty']('newValueJson')&&!_0x2dfcd8['isString'](_0x1fdb41['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x1fdb41['wasUndone']&&_0x1fdb41['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1fdb41['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x329dab['fromObject']=function(_0x4c6daf){if(_0x4c6daf instanceof _0x29bdea['AttributeOperation'])return _0x4c6daf;var _0x1aeecc=new _0x29bdea['AttributeOperation']();if(null!=_0x4c6daf['range']){if('object'!=typeof _0x4c6daf['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x1aeecc['range']=_0x29bdea['Range']['fromObject'](_0x4c6daf['range']);}return null!=_0x4c6daf['key']&&(_0x1aeecc['key']=String(_0x4c6daf['key'])),null!=_0x4c6daf['oldValueBoolean']&&(_0x1aeecc['oldValueBoolean']=Boolean(_0x4c6daf['oldValueBoolean'])),null!=_0x4c6daf['oldValueJson']&&(_0x1aeecc['oldValueJson']=String(_0x4c6daf['oldValueJson'])),null!=_0x4c6daf['newValueBoolean']&&(_0x1aeecc['newValueBoolean']=Boolean(_0x4c6daf['newValueBoolean'])),null!=_0x4c6daf['newValueJson']&&(_0x1aeecc['newValueJson']=String(_0x4c6daf['newValueJson'])),null!=_0x4c6daf['wasUndone']&&(_0x1aeecc['wasUndone']=Boolean(_0x4c6daf['wasUndone'])),_0x1aeecc;},_0x329dab['toObject']=function(_0x47561c,_0x3c7a37){_0x3c7a37||(_0x3c7a37={});var _0x475329={};return _0x3c7a37['defaults']&&(_0x475329['range']=null,_0x475329['key']='',_0x475329['oldValueBoolean']=!0x1,_0x475329['oldValueJson']='',_0x475329['newValueBoolean']=!0x1,_0x475329['newValueJson']='',_0x475329['wasUndone']=!0x1),null!=_0x47561c['range']&&_0x47561c['hasOwnProperty']('range')&&(_0x475329['range']=_0x29bdea['Range']['toObject'](_0x47561c['range'],_0x3c7a37)),null!=_0x47561c['key']&&_0x47561c['hasOwnProperty']('key')&&(_0x475329['key']=_0x47561c['key']),null!=_0x47561c['oldValueBoolean']&&_0x47561c['hasOwnProperty']('oldValueBoolean')&&(_0x475329['oldValueBoolean']=_0x47561c['oldValueBoolean']),null!=_0x47561c['oldValueJson']&&_0x47561c['hasOwnProperty']('oldValueJson')&&(_0x475329['oldValueJson']=_0x47561c['oldValueJson']),null!=_0x47561c['newValueBoolean']&&_0x47561c['hasOwnProperty']('newValueBoolean')&&(_0x475329['newValueBoolean']=_0x47561c['newValueBoolean']),null!=_0x47561c['newValueJson']&&_0x47561c['hasOwnProperty']('newValueJson')&&(_0x475329['newValueJson']=_0x47561c['newValueJson']),null!=_0x47561c['wasUndone']&&_0x47561c['hasOwnProperty']('wasUndone')&&(_0x475329['wasUndone']=_0x47561c['wasUndone']),_0x475329;},_0x329dab['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x50202c['util']['toJSONOptions']);},_0x329dab['getTypeUrl']=function(_0x315a7c){return void 0x0===_0x315a7c&&(_0x315a7c='type.googleapis.com'),_0x315a7c+'/AttributeOperation';},_0x329dab;}()),_0x29bdea['InsertOperation']=(function(){function _0x30b2a5(_0x2a7ef6){if(this['nodes']=[],_0x2a7ef6){for(var _0x2e1f55=Object['keys'](_0x2a7ef6),_0x45afc1=0x0;_0x45afc1<_0x2e1f55['length'];++_0x45afc1)null!=_0x2a7ef6[_0x2e1f55[_0x45afc1]]&&(this[_0x2e1f55[_0x45afc1]]=_0x2a7ef6[_0x2e1f55[_0x45afc1]]);}}return _0x30b2a5['prototype']['position']=null,_0x30b2a5['prototype']['nodes']=_0x2dfcd8['emptyArray'],_0x30b2a5['prototype']['shouldReceiveAttributes']=!0x1,_0x30b2a5['prototype']['wasUndone']=!0x1,_0x30b2a5['create']=function(_0x2f48a5){return new _0x30b2a5(_0x2f48a5);},_0x30b2a5['encode']=function(_0x234df9,_0x520240){if(_0x520240||(_0x520240=_0x516811['create']()),null!=_0x234df9['position']&&Object['hasOwnProperty']['call'](_0x234df9,'position')&&_0x29bdea['Position']['encode'](_0x234df9['position'],_0x520240['uint32'](0xa)['fork']())['ldelim'](),null!=_0x234df9['nodes']&&_0x234df9['nodes']['length']){for(var _0x4da478=0x0;_0x4da478<_0x234df9['nodes']['length'];++_0x4da478)_0x29bdea['Element']['encode'](_0x234df9['nodes'][_0x4da478],_0x520240['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x234df9['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x234df9,'shouldReceiveAttributes')&&_0x520240['uint32'](0x18)['bool'](_0x234df9['shouldReceiveAttributes']),null!=_0x234df9['wasUndone']&&Object['hasOwnProperty']['call'](_0x234df9,'wasUndone')&&_0x520240['uint32'](0x20)['bool'](_0x234df9['wasUndone']),_0x520240;},_0x30b2a5['encodeDelimited']=function(_0x2d8fa9,_0x2bbfce){return this['encode'](_0x2d8fa9,_0x2bbfce)['ldelim']();},_0x30b2a5['decode']=function(_0x43f98e,_0x5d5015){_0x43f98e instanceof _0x2997ac||(_0x43f98e=_0x2997ac['create'](_0x43f98e));for(var _0x5bfb1b=void 0x0===_0x5d5015?_0x43f98e['len']:_0x43f98e['pos']+_0x5d5015,_0x3a9e73=new _0x29bdea['InsertOperation']();_0x43f98e['pos']<_0x5bfb1b;){var _0x3676e9=_0x43f98e['uint32']();switch(_0x3676e9>>>0x3){case 0x1:_0x3a9e73['position']=_0x29bdea['Position']['decode'](_0x43f98e,_0x43f98e['uint32']());break;case 0x2:_0x3a9e73['nodes']&&_0x3a9e73['nodes']['length']||(_0x3a9e73['nodes']=[]),_0x3a9e73['nodes']['push'](_0x29bdea['Element']['decode'](_0x43f98e,_0x43f98e['uint32']()));break;case 0x3:_0x3a9e73['shouldReceiveAttributes']=_0x43f98e['bool']();break;case 0x4:_0x3a9e73['wasUndone']=_0x43f98e['bool']();break;default:_0x43f98e['skipType'](0x7&_0x3676e9);}}return _0x3a9e73;},_0x30b2a5['decodeDelimited']=function(_0x5af7d0){return _0x5af7d0 instanceof _0x2997ac||(_0x5af7d0=new _0x2997ac(_0x5af7d0)),this['decode'](_0x5af7d0,_0x5af7d0['uint32']());},_0x30b2a5['verify']=function(_0x490843){if('object'!=typeof _0x490843||null===_0x490843)return'object\x20expected';if(null!=_0x490843['position']&&_0x490843['hasOwnProperty']('position')&&(_0xc41c3e=_0x29bdea['Position']['verify'](_0x490843['position'])))return'position.'+_0xc41c3e;if(null!=_0x490843['nodes']&&_0x490843['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x490843['nodes']))return'nodes:\x20array\x20expected';for(var _0xbcf9c2=0x0;_0xbcf9c2<_0x490843['nodes']['length'];++_0xbcf9c2){var _0xc41c3e;if(_0xc41c3e=_0x29bdea['Element']['verify'](_0x490843['nodes'][_0xbcf9c2]))return'nodes.'+_0xc41c3e;}}return null!=_0x490843['shouldReceiveAttributes']&&_0x490843['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x490843['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x490843['wasUndone']&&_0x490843['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x490843['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x30b2a5['fromObject']=function(_0x47600c){if(_0x47600c instanceof _0x29bdea['InsertOperation'])return _0x47600c;var _0x47864b=new _0x29bdea['InsertOperation']();if(null!=_0x47600c['position']){if('object'!=typeof _0x47600c['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x47864b['position']=_0x29bdea['Position']['fromObject'](_0x47600c['position']);}if(_0x47600c['nodes']){if(!Array['isArray'](_0x47600c['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x47864b['nodes']=[];for(var _0xe65759=0x0;_0xe65759<_0x47600c['nodes']['length'];++_0xe65759){if('object'!=typeof _0x47600c['nodes'][_0xe65759])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x47864b['nodes'][_0xe65759]=_0x29bdea['Element']['fromObject'](_0x47600c['nodes'][_0xe65759]);}}return null!=_0x47600c['shouldReceiveAttributes']&&(_0x47864b['shouldReceiveAttributes']=Boolean(_0x47600c['shouldReceiveAttributes'])),null!=_0x47600c['wasUndone']&&(_0x47864b['wasUndone']=Boolean(_0x47600c['wasUndone'])),_0x47864b;},_0x30b2a5['toObject']=function(_0xe91706,_0xa9dfad){_0xa9dfad||(_0xa9dfad={});var _0x4d5b76={};if((_0xa9dfad['arrays']||_0xa9dfad['defaults'])&&(_0x4d5b76['nodes']=[]),_0xa9dfad['defaults']&&(_0x4d5b76['position']=null,_0x4d5b76['shouldReceiveAttributes']=!0x1,_0x4d5b76['wasUndone']=!0x1),null!=_0xe91706['position']&&_0xe91706['hasOwnProperty']('position')&&(_0x4d5b76['position']=_0x29bdea['Position']['toObject'](_0xe91706['position'],_0xa9dfad)),_0xe91706['nodes']&&_0xe91706['nodes']['length']){_0x4d5b76['nodes']=[];for(var _0x5ca164=0x0;_0x5ca164<_0xe91706['nodes']['length'];++_0x5ca164)_0x4d5b76['nodes'][_0x5ca164]=_0x29bdea['Element']['toObject'](_0xe91706['nodes'][_0x5ca164],_0xa9dfad);}return null!=_0xe91706['shouldReceiveAttributes']&&_0xe91706['hasOwnProperty']('shouldReceiveAttributes')&&(_0x4d5b76['shouldReceiveAttributes']=_0xe91706['shouldReceiveAttributes']),null!=_0xe91706['wasUndone']&&_0xe91706['hasOwnProperty']('wasUndone')&&(_0x4d5b76['wasUndone']=_0xe91706['wasUndone']),_0x4d5b76;},_0x30b2a5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x50202c['util']['toJSONOptions']);},_0x30b2a5['getTypeUrl']=function(_0x3d8923){return void 0x0===_0x3d8923&&(_0x3d8923='type.googleapis.com'),_0x3d8923+'/InsertOperation';},_0x30b2a5;}()),_0x29bdea['MarkerOperation']=(function(){function _0x572535(_0x2f5b16){if(_0x2f5b16){for(var _0x98ec10=Object['keys'](_0x2f5b16),_0x4067ce=0x0;_0x4067ce<_0x98ec10['length'];++_0x4067ce)null!=_0x2f5b16[_0x98ec10[_0x4067ce]]&&(this[_0x98ec10[_0x4067ce]]=_0x2f5b16[_0x98ec10[_0x4067ce]]);}}return _0x572535['prototype']['name']='',_0x572535['prototype']['oldRange']=null,_0x572535['prototype']['newRange']=null,_0x572535['prototype']['affectsData']=!0x1,_0x572535['prototype']['wasUndone']=!0x1,_0x572535['create']=function(_0x43fe7e){return new _0x572535(_0x43fe7e);},_0x572535['encode']=function(_0x3593c1,_0x5d3ff8){return _0x5d3ff8||(_0x5d3ff8=_0x516811['create']()),null!=_0x3593c1['name']&&Object['hasOwnProperty']['call'](_0x3593c1,'name')&&_0x5d3ff8['uint32'](0xa)['string'](_0x3593c1['name']),null!=_0x3593c1['oldRange']&&Object['hasOwnProperty']['call'](_0x3593c1,'oldRange')&&_0x29bdea['Range']['encode'](_0x3593c1['oldRange'],_0x5d3ff8['uint32'](0x12)['fork']())['ldelim'](),null!=_0x3593c1['newRange']&&Object['hasOwnProperty']['call'](_0x3593c1,'newRange')&&_0x29bdea['Range']['encode'](_0x3593c1['newRange'],_0x5d3ff8['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x3593c1['affectsData']&&Object['hasOwnProperty']['call'](_0x3593c1,'affectsData')&&_0x5d3ff8['uint32'](0x20)['bool'](_0x3593c1['affectsData']),null!=_0x3593c1['wasUndone']&&Object['hasOwnProperty']['call'](_0x3593c1,'wasUndone')&&_0x5d3ff8['uint32'](0x28)['bool'](_0x3593c1['wasUndone']),_0x5d3ff8;},_0x572535['encodeDelimited']=function(_0x32c3ad,_0x31c565){return this['encode'](_0x32c3ad,_0x31c565)['ldelim']();},_0x572535['decode']=function(_0x37f4fe,_0x44b3ae){_0x37f4fe instanceof _0x2997ac||(_0x37f4fe=_0x2997ac['create'](_0x37f4fe));for(var _0x330eeb=void 0x0===_0x44b3ae?_0x37f4fe['len']:_0x37f4fe['pos']+_0x44b3ae,_0x51dee4=new _0x29bdea['MarkerOperation']();_0x37f4fe['pos']<_0x330eeb;){var _0x429e17=_0x37f4fe['uint32']();switch(_0x429e17>>>0x3){case 0x1:_0x51dee4['name']=_0x37f4fe['string']();break;case 0x2:_0x51dee4['oldRange']=_0x29bdea['Range']['decode'](_0x37f4fe,_0x37f4fe['uint32']());break;case 0x3:_0x51dee4['newRange']=_0x29bdea['Range']['decode'](_0x37f4fe,_0x37f4fe['uint32']());break;case 0x4:_0x51dee4['affectsData']=_0x37f4fe['bool']();break;case 0x5:_0x51dee4['wasUndone']=_0x37f4fe['bool']();break;default:_0x37f4fe['skipType'](0x7&_0x429e17);}}return _0x51dee4;},_0x572535['decodeDelimited']=function(_0x54a87a){return _0x54a87a instanceof _0x2997ac||(_0x54a87a=new _0x2997ac(_0x54a87a)),this['decode'](_0x54a87a,_0x54a87a['uint32']());},_0x572535['verify']=function(_0x54f174){if('object'!=typeof _0x54f174||null===_0x54f174)return'object\x20expected';if(null!=_0x54f174['name']&&_0x54f174['hasOwnProperty']('name')&&!_0x2dfcd8['isString'](_0x54f174['name']))return'name:\x20string\x20expected';var _0x4629fe;if(null!=_0x54f174['oldRange']&&_0x54f174['hasOwnProperty']('oldRange')&&(_0x4629fe=_0x29bdea['Range']['verify'](_0x54f174['oldRange'])))return'oldRange.'+_0x4629fe;if(null!=_0x54f174['newRange']&&_0x54f174['hasOwnProperty']('newRange')&&(_0x4629fe=_0x29bdea['Range']['verify'](_0x54f174['newRange'])))return'newRange.'+_0x4629fe;return null!=_0x54f174['affectsData']&&_0x54f174['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x54f174['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x54f174['wasUndone']&&_0x54f174['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x54f174['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x572535['fromObject']=function(_0x5dc35a){if(_0x5dc35a instanceof _0x29bdea['MarkerOperation'])return _0x5dc35a;var _0x48d7a2=new _0x29bdea['MarkerOperation']();if(null!=_0x5dc35a['name']&&(_0x48d7a2['name']=String(_0x5dc35a['name'])),null!=_0x5dc35a['oldRange']){if('object'!=typeof _0x5dc35a['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x48d7a2['oldRange']=_0x29bdea['Range']['fromObject'](_0x5dc35a['oldRange']);}if(null!=_0x5dc35a['newRange']){if('object'!=typeof _0x5dc35a['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x48d7a2['newRange']=_0x29bdea['Range']['fromObject'](_0x5dc35a['newRange']);}return null!=_0x5dc35a['affectsData']&&(_0x48d7a2['affectsData']=Boolean(_0x5dc35a['affectsData'])),null!=_0x5dc35a['wasUndone']&&(_0x48d7a2['wasUndone']=Boolean(_0x5dc35a['wasUndone'])),_0x48d7a2;},_0x572535['toObject']=function(_0x1f5465,_0x75bf3f){_0x75bf3f||(_0x75bf3f={});var _0x250a21={};return _0x75bf3f['defaults']&&(_0x250a21['name']='',_0x250a21['oldRange']=null,_0x250a21['newRange']=null,_0x250a21['affectsData']=!0x1,_0x250a21['wasUndone']=!0x1),null!=_0x1f5465['name']&&_0x1f5465['hasOwnProperty']('name')&&(_0x250a21['name']=_0x1f5465['name']),null!=_0x1f5465['oldRange']&&_0x1f5465['hasOwnProperty']('oldRange')&&(_0x250a21['oldRange']=_0x29bdea['Range']['toObject'](_0x1f5465['oldRange'],_0x75bf3f)),null!=_0x1f5465['newRange']&&_0x1f5465['hasOwnProperty']('newRange')&&(_0x250a21['newRange']=_0x29bdea['Range']['toObject'](_0x1f5465['newRange'],_0x75bf3f)),null!=_0x1f5465['affectsData']&&_0x1f5465['hasOwnProperty']('affectsData')&&(_0x250a21['affectsData']=_0x1f5465['affectsData']),null!=_0x1f5465['wasUndone']&&_0x1f5465['hasOwnProperty']('wasUndone')&&(_0x250a21['wasUndone']=_0x1f5465['wasUndone']),_0x250a21;},_0x572535['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x50202c['util']['toJSONOptions']);},_0x572535['getTypeUrl']=function(_0x506666){return void 0x0===_0x506666&&(_0x506666='type.googleapis.com'),_0x506666+'/MarkerOperation';},_0x572535;}()),_0x29bdea['MergeOperation']=(function(){function _0xf1f7c3(_0x467663){if(_0x467663){for(var _0x236ed4=Object['keys'](_0x467663),_0x2add07=0x0;_0x2add07<_0x236ed4['length'];++_0x2add07)null!=_0x467663[_0x236ed4[_0x2add07]]&&(this[_0x236ed4[_0x2add07]]=_0x467663[_0x236ed4[_0x2add07]]);}}return _0xf1f7c3['prototype']['sourcePosition']=null,_0xf1f7c3['prototype']['targetPosition']=null,_0xf1f7c3['prototype']['graveyardPosition']=null,_0xf1f7c3['prototype']['howMany']=0x0,_0xf1f7c3['prototype']['wasUndone']=!0x1,_0xf1f7c3['create']=function(_0x2f594d){return new _0xf1f7c3(_0x2f594d);},_0xf1f7c3['encode']=function(_0x31647d,_0x1c2b64){return _0x1c2b64||(_0x1c2b64=_0x516811['create']()),null!=_0x31647d['sourcePosition']&&Object['hasOwnProperty']['call'](_0x31647d,'sourcePosition')&&_0x29bdea['Position']['encode'](_0x31647d['sourcePosition'],_0x1c2b64['uint32'](0xa)['fork']())['ldelim'](),null!=_0x31647d['targetPosition']&&Object['hasOwnProperty']['call'](_0x31647d,'targetPosition')&&_0x29bdea['Position']['encode'](_0x31647d['targetPosition'],_0x1c2b64['uint32'](0x12)['fork']())['ldelim'](),null!=_0x31647d['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x31647d,'graveyardPosition')&&_0x29bdea['Position']['encode'](_0x31647d['graveyardPosition'],_0x1c2b64['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x31647d['howMany']&&Object['hasOwnProperty']['call'](_0x31647d,'howMany')&&_0x1c2b64['uint32'](0x20)['uint32'](_0x31647d['howMany']),null!=_0x31647d['wasUndone']&&Object['hasOwnProperty']['call'](_0x31647d,'wasUndone')&&_0x1c2b64['uint32'](0x28)['bool'](_0x31647d['wasUndone']),_0x1c2b64;},_0xf1f7c3['encodeDelimited']=function(_0xd3df56,_0x5d0ea9){return this['encode'](_0xd3df56,_0x5d0ea9)['ldelim']();},_0xf1f7c3['decode']=function(_0x1a0f30,_0x3df3b7){_0x1a0f30 instanceof _0x2997ac||(_0x1a0f30=_0x2997ac['create'](_0x1a0f30));for(var _0x1f55c5=void 0x0===_0x3df3b7?_0x1a0f30['len']:_0x1a0f30['pos']+_0x3df3b7,_0x2d6518=new _0x29bdea['MergeOperation']();_0x1a0f30['pos']<_0x1f55c5;){var _0x11597a=_0x1a0f30['uint32']();switch(_0x11597a>>>0x3){case 0x1:_0x2d6518['sourcePosition']=_0x29bdea['Position']['decode'](_0x1a0f30,_0x1a0f30['uint32']());break;case 0x2:_0x2d6518['targetPosition']=_0x29bdea['Position']['decode'](_0x1a0f30,_0x1a0f30['uint32']());break;case 0x3:_0x2d6518['graveyardPosition']=_0x29bdea['Position']['decode'](_0x1a0f30,_0x1a0f30['uint32']());break;case 0x4:_0x2d6518['howMany']=_0x1a0f30['uint32']();break;case 0x5:_0x2d6518['wasUndone']=_0x1a0f30['bool']();break;default:_0x1a0f30['skipType'](0x7&_0x11597a);}}return _0x2d6518;},_0xf1f7c3['decodeDelimited']=function(_0x24dc00){return _0x24dc00 instanceof _0x2997ac||(_0x24dc00=new _0x2997ac(_0x24dc00)),this['decode'](_0x24dc00,_0x24dc00['uint32']());},_0xf1f7c3['verify']=function(_0x343742){if('object'!=typeof _0x343742||null===_0x343742)return'object\x20expected';var _0x30a737;if(null!=_0x343742['sourcePosition']&&_0x343742['hasOwnProperty']('sourcePosition')&&(_0x30a737=_0x29bdea['Position']['verify'](_0x343742['sourcePosition'])))return'sourcePosition.'+_0x30a737;if(null!=_0x343742['targetPosition']&&_0x343742['hasOwnProperty']('targetPosition')&&(_0x30a737=_0x29bdea['Position']['verify'](_0x343742['targetPosition'])))return'targetPosition.'+_0x30a737;if(null!=_0x343742['graveyardPosition']&&_0x343742['hasOwnProperty']('graveyardPosition')&&(_0x30a737=_0x29bdea['Position']['verify'](_0x343742['graveyardPosition'])))return'graveyardPosition.'+_0x30a737;return null!=_0x343742['howMany']&&_0x343742['hasOwnProperty']('howMany')&&!_0x2dfcd8['isInteger'](_0x343742['howMany'])?'howMany:\x20integer\x20expected':null!=_0x343742['wasUndone']&&_0x343742['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x343742['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0xf1f7c3['fromObject']=function(_0x1dfc26){if(_0x1dfc26 instanceof _0x29bdea['MergeOperation'])return _0x1dfc26;var _0x32685d=new _0x29bdea['MergeOperation']();if(null!=_0x1dfc26['sourcePosition']){if('object'!=typeof _0x1dfc26['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x32685d['sourcePosition']=_0x29bdea['Position']['fromObject'](_0x1dfc26['sourcePosition']);}if(null!=_0x1dfc26['targetPosition']){if('object'!=typeof _0x1dfc26['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x32685d['targetPosition']=_0x29bdea['Position']['fromObject'](_0x1dfc26['targetPosition']);}if(null!=_0x1dfc26['graveyardPosition']){if('object'!=typeof _0x1dfc26['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x32685d['graveyardPosition']=_0x29bdea['Position']['fromObject'](_0x1dfc26['graveyardPosition']);}return null!=_0x1dfc26['howMany']&&(_0x32685d['howMany']=_0x1dfc26['howMany']>>>0x0),null!=_0x1dfc26['wasUndone']&&(_0x32685d['wasUndone']=Boolean(_0x1dfc26['wasUndone'])),_0x32685d;},_0xf1f7c3['toObject']=function(_0x13481e,_0x5d56c2){_0x5d56c2||(_0x5d56c2={});var _0x3b87ff={};return _0x5d56c2['defaults']&&(_0x3b87ff['sourcePosition']=null,_0x3b87ff['targetPosition']=null,_0x3b87ff['graveyardPosition']=null,_0x3b87ff['howMany']=0x0,_0x3b87ff['wasUndone']=!0x1),null!=_0x13481e['sourcePosition']&&_0x13481e['hasOwnProperty']('sourcePosition')&&(_0x3b87ff['sourcePosition']=_0x29bdea['Position']['toObject'](_0x13481e['sourcePosition'],_0x5d56c2)),null!=_0x13481e['targetPosition']&&_0x13481e['hasOwnProperty']('targetPosition')&&(_0x3b87ff['targetPosition']=_0x29bdea['Position']['toObject'](_0x13481e['targetPosition'],_0x5d56c2)),null!=_0x13481e['graveyardPosition']&&_0x13481e['hasOwnProperty']('graveyardPosition')&&(_0x3b87ff['graveyardPosition']=_0x29bdea['Position']['toObject'](_0x13481e['graveyardPosition'],_0x5d56c2)),null!=_0x13481e['howMany']&&_0x13481e['hasOwnProperty']('howMany')&&(_0x3b87ff['howMany']=_0x13481e['howMany']),null!=_0x13481e['wasUndone']&&_0x13481e['hasOwnProperty']('wasUndone')&&(_0x3b87ff['wasUndone']=_0x13481e['wasUndone']),_0x3b87ff;},_0xf1f7c3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x50202c['util']['toJSONOptions']);},_0xf1f7c3['getTypeUrl']=function(_0x4ddf14){return void 0x0===_0x4ddf14&&(_0x4ddf14='type.googleapis.com'),_0x4ddf14+'/MergeOperation';},_0xf1f7c3;}()),_0x29bdea['MoveOperation']=(function(){function _0x5e5787(_0x1bd8e0){if(_0x1bd8e0){for(var _0x1c54d4=Object['keys'](_0x1bd8e0),_0x57bbaf=0x0;_0x57bbaf<_0x1c54d4['length'];++_0x57bbaf)null!=_0x1bd8e0[_0x1c54d4[_0x57bbaf]]&&(this[_0x1c54d4[_0x57bbaf]]=_0x1bd8e0[_0x1c54d4[_0x57bbaf]]);}}return _0x5e5787['prototype']['sourcePosition']=null,_0x5e5787['prototype']['howMany']=0x0,_0x5e5787['prototype']['targetPosition']=null,_0x5e5787['prototype']['wasUndone']=!0x1,_0x5e5787['create']=function(_0x59a141){return new _0x5e5787(_0x59a141);},_0x5e5787['encode']=function(_0x52b07d,_0x402431){return _0x402431||(_0x402431=_0x516811['create']()),null!=_0x52b07d['sourcePosition']&&Object['hasOwnProperty']['call'](_0x52b07d,'sourcePosition')&&_0x29bdea['Position']['encode'](_0x52b07d['sourcePosition'],_0x402431['uint32'](0xa)['fork']())['ldelim'](),null!=_0x52b07d['howMany']&&Object['hasOwnProperty']['call'](_0x52b07d,'howMany')&&_0x402431['uint32'](0x10)['uint32'](_0x52b07d['howMany']),null!=_0x52b07d['targetPosition']&&Object['hasOwnProperty']['call'](_0x52b07d,'targetPosition')&&_0x29bdea['Position']['encode'](_0x52b07d['targetPosition'],_0x402431['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x52b07d['wasUndone']&&Object['hasOwnProperty']['call'](_0x52b07d,'wasUndone')&&_0x402431['uint32'](0x20)['bool'](_0x52b07d['wasUndone']),_0x402431;},_0x5e5787['encodeDelimited']=function(_0x3915c3,_0x2d2120){return this['encode'](_0x3915c3,_0x2d2120)['ldelim']();},_0x5e5787['decode']=function(_0x470933,_0x18787c){_0x470933 instanceof _0x2997ac||(_0x470933=_0x2997ac['create'](_0x470933));for(var _0x193649=void 0x0===_0x18787c?_0x470933['len']:_0x470933['pos']+_0x18787c,_0x39df61=new _0x29bdea['MoveOperation']();_0x470933['pos']<_0x193649;){var _0xab9128=_0x470933['uint32']();switch(_0xab9128>>>0x3){case 0x1:_0x39df61['sourcePosition']=_0x29bdea['Position']['decode'](_0x470933,_0x470933['uint32']());break;case 0x2:_0x39df61['howMany']=_0x470933['uint32']();break;case 0x3:_0x39df61['targetPosition']=_0x29bdea['Position']['decode'](_0x470933,_0x470933['uint32']());break;case 0x4:_0x39df61['wasUndone']=_0x470933['bool']();break;default:_0x470933['skipType'](0x7&_0xab9128);}}return _0x39df61;},_0x5e5787['decodeDelimited']=function(_0x1c9f14){return _0x1c9f14 instanceof _0x2997ac||(_0x1c9f14=new _0x2997ac(_0x1c9f14)),this['decode'](_0x1c9f14,_0x1c9f14['uint32']());},_0x5e5787['verify']=function(_0x212c78){if('object'!=typeof _0x212c78||null===_0x212c78)return'object\x20expected';var _0xd81589;if(null!=_0x212c78['sourcePosition']&&_0x212c78['hasOwnProperty']('sourcePosition')&&(_0xd81589=_0x29bdea['Position']['verify'](_0x212c78['sourcePosition'])))return'sourcePosition.'+_0xd81589;if(null!=_0x212c78['howMany']&&_0x212c78['hasOwnProperty']('howMany')&&!_0x2dfcd8['isInteger'](_0x212c78['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x212c78['targetPosition']&&_0x212c78['hasOwnProperty']('targetPosition')&&(_0xd81589=_0x29bdea['Position']['verify'](_0x212c78['targetPosition'])))return'targetPosition.'+_0xd81589;return null!=_0x212c78['wasUndone']&&_0x212c78['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x212c78['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x5e5787['fromObject']=function(_0x20bfe4){if(_0x20bfe4 instanceof _0x29bdea['MoveOperation'])return _0x20bfe4;var _0xfa02aa=new _0x29bdea['MoveOperation']();if(null!=_0x20bfe4['sourcePosition']){if('object'!=typeof _0x20bfe4['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0xfa02aa['sourcePosition']=_0x29bdea['Position']['fromObject'](_0x20bfe4['sourcePosition']);}if(null!=_0x20bfe4['howMany']&&(_0xfa02aa['howMany']=_0x20bfe4['howMany']>>>0x0),null!=_0x20bfe4['targetPosition']){if('object'!=typeof _0x20bfe4['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0xfa02aa['targetPosition']=_0x29bdea['Position']['fromObject'](_0x20bfe4['targetPosition']);}return null!=_0x20bfe4['wasUndone']&&(_0xfa02aa['wasUndone']=Boolean(_0x20bfe4['wasUndone'])),_0xfa02aa;},_0x5e5787['toObject']=function(_0x3ab59b,_0x3aa57a){_0x3aa57a||(_0x3aa57a={});var _0x5e5522={};return _0x3aa57a['defaults']&&(_0x5e5522['sourcePosition']=null,_0x5e5522['howMany']=0x0,_0x5e5522['targetPosition']=null,_0x5e5522['wasUndone']=!0x1),null!=_0x3ab59b['sourcePosition']&&_0x3ab59b['hasOwnProperty']('sourcePosition')&&(_0x5e5522['sourcePosition']=_0x29bdea['Position']['toObject'](_0x3ab59b['sourcePosition'],_0x3aa57a)),null!=_0x3ab59b['howMany']&&_0x3ab59b['hasOwnProperty']('howMany')&&(_0x5e5522['howMany']=_0x3ab59b['howMany']),null!=_0x3ab59b['targetPosition']&&_0x3ab59b['hasOwnProperty']('targetPosition')&&(_0x5e5522['targetPosition']=_0x29bdea['Position']['toObject'](_0x3ab59b['targetPosition'],_0x3aa57a)),null!=_0x3ab59b['wasUndone']&&_0x3ab59b['hasOwnProperty']('wasUndone')&&(_0x5e5522['wasUndone']=_0x3ab59b['wasUndone']),_0x5e5522;},_0x5e5787['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x50202c['util']['toJSONOptions']);},_0x5e5787['getTypeUrl']=function(_0x2ddc90){return void 0x0===_0x2ddc90&&(_0x2ddc90='type.googleapis.com'),_0x2ddc90+'/MoveOperation';},_0x5e5787;}()),_0x29bdea['RenameOperation']=(function(){function _0x20524f(_0x2ea5cf){if(_0x2ea5cf){for(var _0x55256e=Object['keys'](_0x2ea5cf),_0x101c5b=0x0;_0x101c5b<_0x55256e['length'];++_0x101c5b)null!=_0x2ea5cf[_0x55256e[_0x101c5b]]&&(this[_0x55256e[_0x101c5b]]=_0x2ea5cf[_0x55256e[_0x101c5b]]);}}return _0x20524f['prototype']['position']=null,_0x20524f['prototype']['oldName']='',_0x20524f['prototype']['newName']='',_0x20524f['prototype']['wasUndone']=!0x1,_0x20524f['create']=function(_0x5b8cf9){return new _0x20524f(_0x5b8cf9);},_0x20524f['encode']=function(_0x1c2946,_0x3231ca){return _0x3231ca||(_0x3231ca=_0x516811['create']()),null!=_0x1c2946['position']&&Object['hasOwnProperty']['call'](_0x1c2946,'position')&&_0x29bdea['Position']['encode'](_0x1c2946['position'],_0x3231ca['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1c2946['oldName']&&Object['hasOwnProperty']['call'](_0x1c2946,'oldName')&&_0x3231ca['uint32'](0x12)['string'](_0x1c2946['oldName']),null!=_0x1c2946['newName']&&Object['hasOwnProperty']['call'](_0x1c2946,'newName')&&_0x3231ca['uint32'](0x1a)['string'](_0x1c2946['newName']),null!=_0x1c2946['wasUndone']&&Object['hasOwnProperty']['call'](_0x1c2946,'wasUndone')&&_0x3231ca['uint32'](0x20)['bool'](_0x1c2946['wasUndone']),_0x3231ca;},_0x20524f['encodeDelimited']=function(_0x355429,_0x240e54){return this['encode'](_0x355429,_0x240e54)['ldelim']();},_0x20524f['decode']=function(_0x5527dd,_0x49b635){_0x5527dd instanceof _0x2997ac||(_0x5527dd=_0x2997ac['create'](_0x5527dd));for(var _0x14afbb=void 0x0===_0x49b635?_0x5527dd['len']:_0x5527dd['pos']+_0x49b635,_0x2f754c=new _0x29bdea['RenameOperation']();_0x5527dd['pos']<_0x14afbb;){var _0x301685=_0x5527dd['uint32']();switch(_0x301685>>>0x3){case 0x1:_0x2f754c['position']=_0x29bdea['Position']['decode'](_0x5527dd,_0x5527dd['uint32']());break;case 0x2:_0x2f754c['oldName']=_0x5527dd['string']();break;case 0x3:_0x2f754c['newName']=_0x5527dd['string']();break;case 0x4:_0x2f754c['wasUndone']=_0x5527dd['bool']();break;default:_0x5527dd['skipType'](0x7&_0x301685);}}return _0x2f754c;},_0x20524f['decodeDelimited']=function(_0x25abee){return _0x25abee instanceof _0x2997ac||(_0x25abee=new _0x2997ac(_0x25abee)),this['decode'](_0x25abee,_0x25abee['uint32']());},_0x20524f['verify']=function(_0x1423d8){if('object'!=typeof _0x1423d8||null===_0x1423d8)return'object\x20expected';if(null!=_0x1423d8['position']&&_0x1423d8['hasOwnProperty']('position')){var _0x20db60=_0x29bdea['Position']['verify'](_0x1423d8['position']);if(_0x20db60)return'position.'+_0x20db60;}return null!=_0x1423d8['oldName']&&_0x1423d8['hasOwnProperty']('oldName')&&!_0x2dfcd8['isString'](_0x1423d8['oldName'])?'oldName:\x20string\x20expected':null!=_0x1423d8['newName']&&_0x1423d8['hasOwnProperty']('newName')&&!_0x2dfcd8['isString'](_0x1423d8['newName'])?'newName:\x20string\x20expected':null!=_0x1423d8['wasUndone']&&_0x1423d8['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1423d8['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x20524f['fromObject']=function(_0x18be6c){if(_0x18be6c instanceof _0x29bdea['RenameOperation'])return _0x18be6c;var _0x46be9e=new _0x29bdea['RenameOperation']();if(null!=_0x18be6c['position']){if('object'!=typeof _0x18be6c['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x46be9e['position']=_0x29bdea['Position']['fromObject'](_0x18be6c['position']);}return null!=_0x18be6c['oldName']&&(_0x46be9e['oldName']=String(_0x18be6c['oldName'])),null!=_0x18be6c['newName']&&(_0x46be9e['newName']=String(_0x18be6c['newName'])),null!=_0x18be6c['wasUndone']&&(_0x46be9e['wasUndone']=Boolean(_0x18be6c['wasUndone'])),_0x46be9e;},_0x20524f['toObject']=function(_0x12cad0,_0x36a31b){_0x36a31b||(_0x36a31b={});var _0x15cf84={};return _0x36a31b['defaults']&&(_0x15cf84['position']=null,_0x15cf84['oldName']='',_0x15cf84['newName']='',_0x15cf84['wasUndone']=!0x1),null!=_0x12cad0['position']&&_0x12cad0['hasOwnProperty']('position')&&(_0x15cf84['position']=_0x29bdea['Position']['toObject'](_0x12cad0['position'],_0x36a31b)),null!=_0x12cad0['oldName']&&_0x12cad0['hasOwnProperty']('oldName')&&(_0x15cf84['oldName']=_0x12cad0['oldName']),null!=_0x12cad0['newName']&&_0x12cad0['hasOwnProperty']('newName')&&(_0x15cf84['newName']=_0x12cad0['newName']),null!=_0x12cad0['wasUndone']&&_0x12cad0['hasOwnProperty']('wasUndone')&&(_0x15cf84['wasUndone']=_0x12cad0['wasUndone']),_0x15cf84;},_0x20524f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x50202c['util']['toJSONOptions']);},_0x20524f['getTypeUrl']=function(_0x25f79e){return void 0x0===_0x25f79e&&(_0x25f79e='type.googleapis.com'),_0x25f79e+'/RenameOperation';},_0x20524f;}()),_0x29bdea['RootAttributeOperation']=(function(){function _0x556607(_0x128a0d){if(_0x128a0d){for(var _0x410b33=Object['keys'](_0x128a0d),_0x29a954=0x0;_0x29a954<_0x410b33['length'];++_0x29a954)null!=_0x128a0d[_0x410b33[_0x29a954]]&&(this[_0x410b33[_0x29a954]]=_0x128a0d[_0x410b33[_0x29a954]]);}}return _0x556607['prototype']['root']='',_0x556607['prototype']['key']='',_0x556607['prototype']['oldValueBoolean']=!0x1,_0x556607['prototype']['oldValueJson']='',_0x556607['prototype']['newValueBoolean']=!0x1,_0x556607['prototype']['newValueJson']='',_0x556607['prototype']['wasUndone']=!0x1,_0x556607['create']=function(_0x1fecd4){return new _0x556607(_0x1fecd4);},_0x556607['encode']=function(_0xfba4df,_0x3f3900){return _0x3f3900||(_0x3f3900=_0x516811['create']()),null!=_0xfba4df['root']&&Object['hasOwnProperty']['call'](_0xfba4df,'root')&&_0x3f3900['uint32'](0xa)['string'](_0xfba4df['root']),null!=_0xfba4df['key']&&Object['hasOwnProperty']['call'](_0xfba4df,'key')&&_0x3f3900['uint32'](0x12)['string'](_0xfba4df['key']),null!=_0xfba4df['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0xfba4df,'oldValueBoolean')&&_0x3f3900['uint32'](0x18)['bool'](_0xfba4df['oldValueBoolean']),null!=_0xfba4df['oldValueJson']&&Object['hasOwnProperty']['call'](_0xfba4df,'oldValueJson')&&_0x3f3900['uint32'](0x22)['string'](_0xfba4df['oldValueJson']),null!=_0xfba4df['newValueBoolean']&&Object['hasOwnProperty']['call'](_0xfba4df,'newValueBoolean')&&_0x3f3900['uint32'](0x28)['bool'](_0xfba4df['newValueBoolean']),null!=_0xfba4df['newValueJson']&&Object['hasOwnProperty']['call'](_0xfba4df,'newValueJson')&&_0x3f3900['uint32'](0x32)['string'](_0xfba4df['newValueJson']),null!=_0xfba4df['wasUndone']&&Object['hasOwnProperty']['call'](_0xfba4df,'wasUndone')&&_0x3f3900['uint32'](0x38)['bool'](_0xfba4df['wasUndone']),_0x3f3900;},_0x556607['encodeDelimited']=function(_0x478926,_0x1023fc){return this['encode'](_0x478926,_0x1023fc)['ldelim']();},_0x556607['decode']=function(_0x65ae55,_0x151dbf){_0x65ae55 instanceof _0x2997ac||(_0x65ae55=_0x2997ac['create'](_0x65ae55));for(var _0x2883cc=void 0x0===_0x151dbf?_0x65ae55['len']:_0x65ae55['pos']+_0x151dbf,_0x1ab4c4=new _0x29bdea['RootAttributeOperation']();_0x65ae55['pos']<_0x2883cc;){var _0x2f57ed=_0x65ae55['uint32']();switch(_0x2f57ed>>>0x3){case 0x1:_0x1ab4c4['root']=_0x65ae55['string']();break;case 0x2:_0x1ab4c4['key']=_0x65ae55['string']();break;case 0x3:_0x1ab4c4['oldValueBoolean']=_0x65ae55['bool']();break;case 0x4:_0x1ab4c4['oldValueJson']=_0x65ae55['string']();break;case 0x5:_0x1ab4c4['newValueBoolean']=_0x65ae55['bool']();break;case 0x6:_0x1ab4c4['newValueJson']=_0x65ae55['string']();break;case 0x7:_0x1ab4c4['wasUndone']=_0x65ae55['bool']();break;default:_0x65ae55['skipType'](0x7&_0x2f57ed);}}return _0x1ab4c4;},_0x556607['decodeDelimited']=function(_0xfbefe0){return _0xfbefe0 instanceof _0x2997ac||(_0xfbefe0=new _0x2997ac(_0xfbefe0)),this['decode'](_0xfbefe0,_0xfbefe0['uint32']());},_0x556607['verify']=function(_0x46a2e3){return'object'!=typeof _0x46a2e3||null===_0x46a2e3?'object\x20expected':null!=_0x46a2e3['root']&&_0x46a2e3['hasOwnProperty']('root')&&!_0x2dfcd8['isString'](_0x46a2e3['root'])?'root:\x20string\x20expected':null!=_0x46a2e3['key']&&_0x46a2e3['hasOwnProperty']('key')&&!_0x2dfcd8['isString'](_0x46a2e3['key'])?'key:\x20string\x20expected':null!=_0x46a2e3['oldValueBoolean']&&_0x46a2e3['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x46a2e3['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x46a2e3['oldValueJson']&&_0x46a2e3['hasOwnProperty']('oldValueJson')&&!_0x2dfcd8['isString'](_0x46a2e3['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x46a2e3['newValueBoolean']&&_0x46a2e3['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x46a2e3['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x46a2e3['newValueJson']&&_0x46a2e3['hasOwnProperty']('newValueJson')&&!_0x2dfcd8['isString'](_0x46a2e3['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x46a2e3['wasUndone']&&_0x46a2e3['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x46a2e3['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x556607['fromObject']=function(_0x5cc9b2){if(_0x5cc9b2 instanceof _0x29bdea['RootAttributeOperation'])return _0x5cc9b2;var _0x12eae7=new _0x29bdea['RootAttributeOperation']();return null!=_0x5cc9b2['root']&&(_0x12eae7['root']=String(_0x5cc9b2['root'])),null!=_0x5cc9b2['key']&&(_0x12eae7['key']=String(_0x5cc9b2['key'])),null!=_0x5cc9b2['oldValueBoolean']&&(_0x12eae7['oldValueBoolean']=Boolean(_0x5cc9b2['oldValueBoolean'])),null!=_0x5cc9b2['oldValueJson']&&(_0x12eae7['oldValueJson']=String(_0x5cc9b2['oldValueJson'])),null!=_0x5cc9b2['newValueBoolean']&&(_0x12eae7['newValueBoolean']=Boolean(_0x5cc9b2['newValueBoolean'])),null!=_0x5cc9b2['newValueJson']&&(_0x12eae7['newValueJson']=String(_0x5cc9b2['newValueJson'])),null!=_0x5cc9b2['wasUndone']&&(_0x12eae7['wasUndone']=Boolean(_0x5cc9b2['wasUndone'])),_0x12eae7;},_0x556607['toObject']=function(_0x14d68f,_0x27779c){_0x27779c||(_0x27779c={});var _0x193178={};return _0x27779c['defaults']&&(_0x193178['root']='',_0x193178['key']='',_0x193178['oldValueBoolean']=!0x1,_0x193178['oldValueJson']='',_0x193178['newValueBoolean']=!0x1,_0x193178['newValueJson']='',_0x193178['wasUndone']=!0x1),null!=_0x14d68f['root']&&_0x14d68f['hasOwnProperty']('root')&&(_0x193178['root']=_0x14d68f['root']),null!=_0x14d68f['key']&&_0x14d68f['hasOwnProperty']('key')&&(_0x193178['key']=_0x14d68f['key']),null!=_0x14d68f['oldValueBoolean']&&_0x14d68f['hasOwnProperty']('oldValueBoolean')&&(_0x193178['oldValueBoolean']=_0x14d68f['oldValueBoolean']),null!=_0x14d68f['oldValueJson']&&_0x14d68f['hasOwnProperty']('oldValueJson')&&(_0x193178['oldValueJson']=_0x14d68f['oldValueJson']),null!=_0x14d68f['newValueBoolean']&&_0x14d68f['hasOwnProperty']('newValueBoolean')&&(_0x193178['newValueBoolean']=_0x14d68f['newValueBoolean']),null!=_0x14d68f['newValueJson']&&_0x14d68f['hasOwnProperty']('newValueJson')&&(_0x193178['newValueJson']=_0x14d68f['newValueJson']),null!=_0x14d68f['wasUndone']&&_0x14d68f['hasOwnProperty']('wasUndone')&&(_0x193178['wasUndone']=_0x14d68f['wasUndone']),_0x193178;},_0x556607['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x50202c['util']['toJSONOptions']);},_0x556607['getTypeUrl']=function(_0x553c26){return void 0x0===_0x553c26&&(_0x553c26='type.googleapis.com'),_0x553c26+'/RootAttributeOperation';},_0x556607;}()),_0x29bdea['RootOperation']=(function(){function _0x2cda7d(_0x30706e){if(_0x30706e){for(var _0x445e41=Object['keys'](_0x30706e),_0x2d1a91=0x0;_0x2d1a91<_0x445e41['length'];++_0x2d1a91)null!=_0x30706e[_0x445e41[_0x2d1a91]]&&(this[_0x445e41[_0x2d1a91]]=_0x30706e[_0x445e41[_0x2d1a91]]);}}return _0x2cda7d['prototype']['rootName']='',_0x2cda7d['prototype']['elementName']='',_0x2cda7d['prototype']['isAdd']=!0x1,_0x2cda7d['prototype']['wasUndone']=!0x1,_0x2cda7d['create']=function(_0x587af5){return new _0x2cda7d(_0x587af5);},_0x2cda7d['encode']=function(_0x1e049f,_0x2dd2b6){return _0x2dd2b6||(_0x2dd2b6=_0x516811['create']()),null!=_0x1e049f['rootName']&&Object['hasOwnProperty']['call'](_0x1e049f,'rootName')&&_0x2dd2b6['uint32'](0xa)['string'](_0x1e049f['rootName']),null!=_0x1e049f['elementName']&&Object['hasOwnProperty']['call'](_0x1e049f,'elementName')&&_0x2dd2b6['uint32'](0x12)['string'](_0x1e049f['elementName']),null!=_0x1e049f['isAdd']&&Object['hasOwnProperty']['call'](_0x1e049f,'isAdd')&&_0x2dd2b6['uint32'](0x18)['bool'](_0x1e049f['isAdd']),null!=_0x1e049f['wasUndone']&&Object['hasOwnProperty']['call'](_0x1e049f,'wasUndone')&&_0x2dd2b6['uint32'](0x20)['bool'](_0x1e049f['wasUndone']),_0x2dd2b6;},_0x2cda7d['encodeDelimited']=function(_0x26003b,_0x4712a2){return this['encode'](_0x26003b,_0x4712a2)['ldelim']();},_0x2cda7d['decode']=function(_0x55ed69,_0xe6ae0){_0x55ed69 instanceof _0x2997ac||(_0x55ed69=_0x2997ac['create'](_0x55ed69));for(var _0x34fe33=void 0x0===_0xe6ae0?_0x55ed69['len']:_0x55ed69['pos']+_0xe6ae0,_0x4a20f7=new _0x29bdea['RootOperation']();_0x55ed69['pos']<_0x34fe33;){var _0x2042a8=_0x55ed69['uint32']();switch(_0x2042a8>>>0x3){case 0x1:_0x4a20f7['rootName']=_0x55ed69['string']();break;case 0x2:_0x4a20f7['elementName']=_0x55ed69['string']();break;case 0x3:_0x4a20f7['isAdd']=_0x55ed69['bool']();break;case 0x4:_0x4a20f7['wasUndone']=_0x55ed69['bool']();break;default:_0x55ed69['skipType'](0x7&_0x2042a8);}}return _0x4a20f7;},_0x2cda7d['decodeDelimited']=function(_0x46e307){return _0x46e307 instanceof _0x2997ac||(_0x46e307=new _0x2997ac(_0x46e307)),this['decode'](_0x46e307,_0x46e307['uint32']());},_0x2cda7d['verify']=function(_0x1a1c40){return'object'!=typeof _0x1a1c40||null===_0x1a1c40?'object\x20expected':null!=_0x1a1c40['rootName']&&_0x1a1c40['hasOwnProperty']('rootName')&&!_0x2dfcd8['isString'](_0x1a1c40['rootName'])?'rootName:\x20string\x20expected':null!=_0x1a1c40['elementName']&&_0x1a1c40['hasOwnProperty']('elementName')&&!_0x2dfcd8['isString'](_0x1a1c40['elementName'])?'elementName:\x20string\x20expected':null!=_0x1a1c40['isAdd']&&_0x1a1c40['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x1a1c40['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x1a1c40['wasUndone']&&_0x1a1c40['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1a1c40['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2cda7d['fromObject']=function(_0x18f258){if(_0x18f258 instanceof _0x29bdea['RootOperation'])return _0x18f258;var _0x145572=new _0x29bdea['RootOperation']();return null!=_0x18f258['rootName']&&(_0x145572['rootName']=String(_0x18f258['rootName'])),null!=_0x18f258['elementName']&&(_0x145572['elementName']=String(_0x18f258['elementName'])),null!=_0x18f258['isAdd']&&(_0x145572['isAdd']=Boolean(_0x18f258['isAdd'])),null!=_0x18f258['wasUndone']&&(_0x145572['wasUndone']=Boolean(_0x18f258['wasUndone'])),_0x145572;},_0x2cda7d['toObject']=function(_0x162486,_0x249d04){_0x249d04||(_0x249d04={});var _0x1c1005={};return _0x249d04['defaults']&&(_0x1c1005['rootName']='',_0x1c1005['elementName']='',_0x1c1005['isAdd']=!0x1,_0x1c1005['wasUndone']=!0x1),null!=_0x162486['rootName']&&_0x162486['hasOwnProperty']('rootName')&&(_0x1c1005['rootName']=_0x162486['rootName']),null!=_0x162486['elementName']&&_0x162486['hasOwnProperty']('elementName')&&(_0x1c1005['elementName']=_0x162486['elementName']),null!=_0x162486['isAdd']&&_0x162486['hasOwnProperty']('isAdd')&&(_0x1c1005['isAdd']=_0x162486['isAdd']),null!=_0x162486['wasUndone']&&_0x162486['hasOwnProperty']('wasUndone')&&(_0x1c1005['wasUndone']=_0x162486['wasUndone']),_0x1c1005;},_0x2cda7d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x50202c['util']['toJSONOptions']);},_0x2cda7d['getTypeUrl']=function(_0x1edc70){return void 0x0===_0x1edc70&&(_0x1edc70='type.googleapis.com'),_0x1edc70+'/RootOperation';},_0x2cda7d;}()),_0x29bdea['SplitOperation']=(function(){function _0x2273b9(_0x39899e){if(_0x39899e){for(var _0x12f72b=Object['keys'](_0x39899e),_0x159c1f=0x0;_0x159c1f<_0x12f72b['length'];++_0x159c1f)null!=_0x39899e[_0x12f72b[_0x159c1f]]&&(this[_0x12f72b[_0x159c1f]]=_0x39899e[_0x12f72b[_0x159c1f]]);}}return _0x2273b9['prototype']['splitPosition']=null,_0x2273b9['prototype']['graveyardPosition']=null,_0x2273b9['prototype']['howMany']=0x0,_0x2273b9['prototype']['insertionPosition']=null,_0x2273b9['prototype']['wasUndone']=!0x1,_0x2273b9['create']=function(_0x27d889){return new _0x2273b9(_0x27d889);},_0x2273b9['encode']=function(_0x5bcaa9,_0x48d75b){return _0x48d75b||(_0x48d75b=_0x516811['create']()),null!=_0x5bcaa9['splitPosition']&&Object['hasOwnProperty']['call'](_0x5bcaa9,'splitPosition')&&_0x29bdea['Position']['encode'](_0x5bcaa9['splitPosition'],_0x48d75b['uint32'](0xa)['fork']())['ldelim'](),null!=_0x5bcaa9['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x5bcaa9,'graveyardPosition')&&_0x29bdea['Position']['encode'](_0x5bcaa9['graveyardPosition'],_0x48d75b['uint32'](0x12)['fork']())['ldelim'](),null!=_0x5bcaa9['howMany']&&Object['hasOwnProperty']['call'](_0x5bcaa9,'howMany')&&_0x48d75b['uint32'](0x18)['uint32'](_0x5bcaa9['howMany']),null!=_0x5bcaa9['insertionPosition']&&Object['hasOwnProperty']['call'](_0x5bcaa9,'insertionPosition')&&_0x29bdea['Position']['encode'](_0x5bcaa9['insertionPosition'],_0x48d75b['uint32'](0x22)['fork']())['ldelim'](),null!=_0x5bcaa9['wasUndone']&&Object['hasOwnProperty']['call'](_0x5bcaa9,'wasUndone')&&_0x48d75b['uint32'](0x28)['bool'](_0x5bcaa9['wasUndone']),_0x48d75b;},_0x2273b9['encodeDelimited']=function(_0x38c62b,_0x2bc89c){return this['encode'](_0x38c62b,_0x2bc89c)['ldelim']();},_0x2273b9['decode']=function(_0x48c11b,_0x33928e){_0x48c11b instanceof _0x2997ac||(_0x48c11b=_0x2997ac['create'](_0x48c11b));for(var _0x476841=void 0x0===_0x33928e?_0x48c11b['len']:_0x48c11b['pos']+_0x33928e,_0x21421d=new _0x29bdea['SplitOperation']();_0x48c11b['pos']<_0x476841;){var _0x27af85=_0x48c11b['uint32']();switch(_0x27af85>>>0x3){case 0x1:_0x21421d['splitPosition']=_0x29bdea['Position']['decode'](_0x48c11b,_0x48c11b['uint32']());break;case 0x2:_0x21421d['graveyardPosition']=_0x29bdea['Position']['decode'](_0x48c11b,_0x48c11b['uint32']());break;case 0x3:_0x21421d['howMany']=_0x48c11b['uint32']();break;case 0x4:_0x21421d['insertionPosition']=_0x29bdea['Position']['decode'](_0x48c11b,_0x48c11b['uint32']());break;case 0x5:_0x21421d['wasUndone']=_0x48c11b['bool']();break;default:_0x48c11b['skipType'](0x7&_0x27af85);}}return _0x21421d;},_0x2273b9['decodeDelimited']=function(_0x359868){return _0x359868 instanceof _0x2997ac||(_0x359868=new _0x2997ac(_0x359868)),this['decode'](_0x359868,_0x359868['uint32']());},_0x2273b9['verify']=function(_0x3756c6){if('object'!=typeof _0x3756c6||null===_0x3756c6)return'object\x20expected';var _0x30c66f;if(null!=_0x3756c6['splitPosition']&&_0x3756c6['hasOwnProperty']('splitPosition')&&(_0x30c66f=_0x29bdea['Position']['verify'](_0x3756c6['splitPosition'])))return'splitPosition.'+_0x30c66f;if(null!=_0x3756c6['graveyardPosition']&&_0x3756c6['hasOwnProperty']('graveyardPosition')&&(_0x30c66f=_0x29bdea['Position']['verif