@ckeditor/ckeditor5-operations-compressor
Version:
CKEditor 5 operations compressor for real-time collaboration.
24 lines • 86.5 kB
JavaScript
/*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
*
*
*
*
* +---------------------------------------------------------------------------------+
* | |
* | Hello stranger! |
* | |
* | |
* | What you're currently looking at is the source code of a legally protected, |
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
* | are forbidden and will result in legal consequences. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
import{CKEditorError as _0x28794f}from'@ckeditor/ckeditor5-utils/dist/index.js';import _0x438866 from'protobufjs/minimal.js';import{cloneDeep as _0x5c51e6,isEqual as _0x1e807a,isObject as _0x631ac1}from'es-toolkit/compat';const u=/* #__PURE__ -- @preserve */
((()=>{var _0x3dce5d=_0x438866['Reader'],_0x54e57a=_0x438866['Writer'],_0x226a06=_0x438866['util'],_0x696d51=_0x438866['roots']['default']||(_0x438866['roots']['default']={});return _0x696d51['AttributeOperation']=(function(){function _0x407a32(_0x1b75de){if(_0x1b75de){for(var _0x566e94=Object['keys'](_0x1b75de),_0x5dd12e=0x0;_0x5dd12e<_0x566e94['length'];++_0x5dd12e)null!=_0x1b75de[_0x566e94[_0x5dd12e]]&&(this[_0x566e94[_0x5dd12e]]=_0x1b75de[_0x566e94[_0x5dd12e]]);}}return _0x407a32['prototype']['range']=null,_0x407a32['prototype']['key']='',_0x407a32['prototype']['oldValueBoolean']=!0x1,_0x407a32['prototype']['oldValueJson']='',_0x407a32['prototype']['newValueBoolean']=!0x1,_0x407a32['prototype']['newValueJson']='',_0x407a32['prototype']['wasUndone']=!0x1,_0x407a32['create']=function(_0x5de2c2){return new _0x407a32(_0x5de2c2);},_0x407a32['encode']=function(_0x30687d,_0x126072){return _0x126072||(_0x126072=_0x54e57a['create']()),null!=_0x30687d['range']&&Object['hasOwnProperty']['call'](_0x30687d,'range')&&_0x696d51['Range']['encode'](_0x30687d['range'],_0x126072['uint32'](0xa)['fork']())['ldelim'](),null!=_0x30687d['key']&&Object['hasOwnProperty']['call'](_0x30687d,'key')&&_0x126072['uint32'](0x12)['string'](_0x30687d['key']),null!=_0x30687d['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x30687d,'oldValueBoolean')&&_0x126072['uint32'](0x18)['bool'](_0x30687d['oldValueBoolean']),null!=_0x30687d['oldValueJson']&&Object['hasOwnProperty']['call'](_0x30687d,'oldValueJson')&&_0x126072['uint32'](0x22)['string'](_0x30687d['oldValueJson']),null!=_0x30687d['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x30687d,'newValueBoolean')&&_0x126072['uint32'](0x28)['bool'](_0x30687d['newValueBoolean']),null!=_0x30687d['newValueJson']&&Object['hasOwnProperty']['call'](_0x30687d,'newValueJson')&&_0x126072['uint32'](0x32)['string'](_0x30687d['newValueJson']),null!=_0x30687d['wasUndone']&&Object['hasOwnProperty']['call'](_0x30687d,'wasUndone')&&_0x126072['uint32'](0x38)['bool'](_0x30687d['wasUndone']),_0x126072;},_0x407a32['encodeDelimited']=function(_0x5ae234,_0x15f52e){return this['encode'](_0x5ae234,_0x15f52e)['ldelim']();},_0x407a32['decode']=function(_0x54b146,_0x4c68aa){_0x54b146 instanceof _0x3dce5d||(_0x54b146=_0x3dce5d['create'](_0x54b146));for(var _0x4d8431=void 0x0===_0x4c68aa?_0x54b146['len']:_0x54b146['pos']+_0x4c68aa,_0x5579c0=new _0x696d51['AttributeOperation']();_0x54b146['pos']<_0x4d8431;){var _0x9dd1bc=_0x54b146['uint32']();switch(_0x9dd1bc>>>0x3){case 0x1:_0x5579c0['range']=_0x696d51['Range']['decode'](_0x54b146,_0x54b146['uint32']());break;case 0x2:_0x5579c0['key']=_0x54b146['string']();break;case 0x3:_0x5579c0['oldValueBoolean']=_0x54b146['bool']();break;case 0x4:_0x5579c0['oldValueJson']=_0x54b146['string']();break;case 0x5:_0x5579c0['newValueBoolean']=_0x54b146['bool']();break;case 0x6:_0x5579c0['newValueJson']=_0x54b146['string']();break;case 0x7:_0x5579c0['wasUndone']=_0x54b146['bool']();break;default:_0x54b146['skipType'](0x7&_0x9dd1bc);}}return _0x5579c0;},_0x407a32['decodeDelimited']=function(_0x185fca){return _0x185fca instanceof _0x3dce5d||(_0x185fca=new _0x3dce5d(_0x185fca)),this['decode'](_0x185fca,_0x185fca['uint32']());},_0x407a32['verify']=function(_0x1409f4){if('object'!=typeof _0x1409f4||null===_0x1409f4)return'object\x20expected';if(null!=_0x1409f4['range']&&_0x1409f4['hasOwnProperty']('range')){var _0x3913c2=_0x696d51['Range']['verify'](_0x1409f4['range']);if(_0x3913c2)return'range.'+_0x3913c2;}return null!=_0x1409f4['key']&&_0x1409f4['hasOwnProperty']('key')&&!_0x226a06['isString'](_0x1409f4['key'])?'key:\x20string\x20expected':null!=_0x1409f4['oldValueBoolean']&&_0x1409f4['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x1409f4['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x1409f4['oldValueJson']&&_0x1409f4['hasOwnProperty']('oldValueJson')&&!_0x226a06['isString'](_0x1409f4['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x1409f4['newValueBoolean']&&_0x1409f4['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x1409f4['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x1409f4['newValueJson']&&_0x1409f4['hasOwnProperty']('newValueJson')&&!_0x226a06['isString'](_0x1409f4['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x1409f4['wasUndone']&&_0x1409f4['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1409f4['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x407a32['fromObject']=function(_0x1e55f9){if(_0x1e55f9 instanceof _0x696d51['AttributeOperation'])return _0x1e55f9;var _0x2a49bc=new _0x696d51['AttributeOperation']();if(null!=_0x1e55f9['range']){if('object'!=typeof _0x1e55f9['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x2a49bc['range']=_0x696d51['Range']['fromObject'](_0x1e55f9['range']);}return null!=_0x1e55f9['key']&&(_0x2a49bc['key']=String(_0x1e55f9['key'])),null!=_0x1e55f9['oldValueBoolean']&&(_0x2a49bc['oldValueBoolean']=Boolean(_0x1e55f9['oldValueBoolean'])),null!=_0x1e55f9['oldValueJson']&&(_0x2a49bc['oldValueJson']=String(_0x1e55f9['oldValueJson'])),null!=_0x1e55f9['newValueBoolean']&&(_0x2a49bc['newValueBoolean']=Boolean(_0x1e55f9['newValueBoolean'])),null!=_0x1e55f9['newValueJson']&&(_0x2a49bc['newValueJson']=String(_0x1e55f9['newValueJson'])),null!=_0x1e55f9['wasUndone']&&(_0x2a49bc['wasUndone']=Boolean(_0x1e55f9['wasUndone'])),_0x2a49bc;},_0x407a32['toObject']=function(_0x341c62,_0x29fa6e){_0x29fa6e||(_0x29fa6e={});var _0x244afe={};return _0x29fa6e['defaults']&&(_0x244afe['range']=null,_0x244afe['key']='',_0x244afe['oldValueBoolean']=!0x1,_0x244afe['oldValueJson']='',_0x244afe['newValueBoolean']=!0x1,_0x244afe['newValueJson']='',_0x244afe['wasUndone']=!0x1),null!=_0x341c62['range']&&_0x341c62['hasOwnProperty']('range')&&(_0x244afe['range']=_0x696d51['Range']['toObject'](_0x341c62['range'],_0x29fa6e)),null!=_0x341c62['key']&&_0x341c62['hasOwnProperty']('key')&&(_0x244afe['key']=_0x341c62['key']),null!=_0x341c62['oldValueBoolean']&&_0x341c62['hasOwnProperty']('oldValueBoolean')&&(_0x244afe['oldValueBoolean']=_0x341c62['oldValueBoolean']),null!=_0x341c62['oldValueJson']&&_0x341c62['hasOwnProperty']('oldValueJson')&&(_0x244afe['oldValueJson']=_0x341c62['oldValueJson']),null!=_0x341c62['newValueBoolean']&&_0x341c62['hasOwnProperty']('newValueBoolean')&&(_0x244afe['newValueBoolean']=_0x341c62['newValueBoolean']),null!=_0x341c62['newValueJson']&&_0x341c62['hasOwnProperty']('newValueJson')&&(_0x244afe['newValueJson']=_0x341c62['newValueJson']),null!=_0x341c62['wasUndone']&&_0x341c62['hasOwnProperty']('wasUndone')&&(_0x244afe['wasUndone']=_0x341c62['wasUndone']),_0x244afe;},_0x407a32['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x438866['util']['toJSONOptions']);},_0x407a32['getTypeUrl']=function(_0x54bfd7){return void 0x0===_0x54bfd7&&(_0x54bfd7='type.googleapis.com'),_0x54bfd7+'/AttributeOperation';},_0x407a32;}()),_0x696d51['InsertOperation']=(function(){function _0x5f401e(_0x307f4e){if(this['nodes']=[],_0x307f4e){for(var _0xb432e6=Object['keys'](_0x307f4e),_0x1f14a6=0x0;_0x1f14a6<_0xb432e6['length'];++_0x1f14a6)null!=_0x307f4e[_0xb432e6[_0x1f14a6]]&&(this[_0xb432e6[_0x1f14a6]]=_0x307f4e[_0xb432e6[_0x1f14a6]]);}}return _0x5f401e['prototype']['position']=null,_0x5f401e['prototype']['nodes']=_0x226a06['emptyArray'],_0x5f401e['prototype']['shouldReceiveAttributes']=!0x1,_0x5f401e['prototype']['wasUndone']=!0x1,_0x5f401e['create']=function(_0x596ec9){return new _0x5f401e(_0x596ec9);},_0x5f401e['encode']=function(_0x1bae17,_0x3ccfc3){if(_0x3ccfc3||(_0x3ccfc3=_0x54e57a['create']()),null!=_0x1bae17['position']&&Object['hasOwnProperty']['call'](_0x1bae17,'position')&&_0x696d51['Position']['encode'](_0x1bae17['position'],_0x3ccfc3['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1bae17['nodes']&&_0x1bae17['nodes']['length']){for(var _0x2afefa=0x0;_0x2afefa<_0x1bae17['nodes']['length'];++_0x2afefa)_0x696d51['Element']['encode'](_0x1bae17['nodes'][_0x2afefa],_0x3ccfc3['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x1bae17['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x1bae17,'shouldReceiveAttributes')&&_0x3ccfc3['uint32'](0x18)['bool'](_0x1bae17['shouldReceiveAttributes']),null!=_0x1bae17['wasUndone']&&Object['hasOwnProperty']['call'](_0x1bae17,'wasUndone')&&_0x3ccfc3['uint32'](0x20)['bool'](_0x1bae17['wasUndone']),_0x3ccfc3;},_0x5f401e['encodeDelimited']=function(_0xbb1405,_0x3d2914){return this['encode'](_0xbb1405,_0x3d2914)['ldelim']();},_0x5f401e['decode']=function(_0x45335e,_0x4dea08){_0x45335e instanceof _0x3dce5d||(_0x45335e=_0x3dce5d['create'](_0x45335e));for(var _0x45e0e2=void 0x0===_0x4dea08?_0x45335e['len']:_0x45335e['pos']+_0x4dea08,_0x30c9f4=new _0x696d51['InsertOperation']();_0x45335e['pos']<_0x45e0e2;){var _0x22f2e7=_0x45335e['uint32']();switch(_0x22f2e7>>>0x3){case 0x1:_0x30c9f4['position']=_0x696d51['Position']['decode'](_0x45335e,_0x45335e['uint32']());break;case 0x2:_0x30c9f4['nodes']&&_0x30c9f4['nodes']['length']||(_0x30c9f4['nodes']=[]),_0x30c9f4['nodes']['push'](_0x696d51['Element']['decode'](_0x45335e,_0x45335e['uint32']()));break;case 0x3:_0x30c9f4['shouldReceiveAttributes']=_0x45335e['bool']();break;case 0x4:_0x30c9f4['wasUndone']=_0x45335e['bool']();break;default:_0x45335e['skipType'](0x7&_0x22f2e7);}}return _0x30c9f4;},_0x5f401e['decodeDelimited']=function(_0x3d122d){return _0x3d122d instanceof _0x3dce5d||(_0x3d122d=new _0x3dce5d(_0x3d122d)),this['decode'](_0x3d122d,_0x3d122d['uint32']());},_0x5f401e['verify']=function(_0x5f05bf){if('object'!=typeof _0x5f05bf||null===_0x5f05bf)return'object\x20expected';if(null!=_0x5f05bf['position']&&_0x5f05bf['hasOwnProperty']('position')&&(_0x325de3=_0x696d51['Position']['verify'](_0x5f05bf['position'])))return'position.'+_0x325de3;if(null!=_0x5f05bf['nodes']&&_0x5f05bf['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x5f05bf['nodes']))return'nodes:\x20array\x20expected';for(var _0x560453=0x0;_0x560453<_0x5f05bf['nodes']['length'];++_0x560453){var _0x325de3;if(_0x325de3=_0x696d51['Element']['verify'](_0x5f05bf['nodes'][_0x560453]))return'nodes.'+_0x325de3;}}return null!=_0x5f05bf['shouldReceiveAttributes']&&_0x5f05bf['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x5f05bf['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x5f05bf['wasUndone']&&_0x5f05bf['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5f05bf['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x5f401e['fromObject']=function(_0x50cd7c){if(_0x50cd7c instanceof _0x696d51['InsertOperation'])return _0x50cd7c;var _0x19df51=new _0x696d51['InsertOperation']();if(null!=_0x50cd7c['position']){if('object'!=typeof _0x50cd7c['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x19df51['position']=_0x696d51['Position']['fromObject'](_0x50cd7c['position']);}if(_0x50cd7c['nodes']){if(!Array['isArray'](_0x50cd7c['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x19df51['nodes']=[];for(var _0x5a8e73=0x0;_0x5a8e73<_0x50cd7c['nodes']['length'];++_0x5a8e73){if('object'!=typeof _0x50cd7c['nodes'][_0x5a8e73])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x19df51['nodes'][_0x5a8e73]=_0x696d51['Element']['fromObject'](_0x50cd7c['nodes'][_0x5a8e73]);}}return null!=_0x50cd7c['shouldReceiveAttributes']&&(_0x19df51['shouldReceiveAttributes']=Boolean(_0x50cd7c['shouldReceiveAttributes'])),null!=_0x50cd7c['wasUndone']&&(_0x19df51['wasUndone']=Boolean(_0x50cd7c['wasUndone'])),_0x19df51;},_0x5f401e['toObject']=function(_0x3fa851,_0x559ee8){_0x559ee8||(_0x559ee8={});var _0x4e15e6={};if((_0x559ee8['arrays']||_0x559ee8['defaults'])&&(_0x4e15e6['nodes']=[]),_0x559ee8['defaults']&&(_0x4e15e6['position']=null,_0x4e15e6['shouldReceiveAttributes']=!0x1,_0x4e15e6['wasUndone']=!0x1),null!=_0x3fa851['position']&&_0x3fa851['hasOwnProperty']('position')&&(_0x4e15e6['position']=_0x696d51['Position']['toObject'](_0x3fa851['position'],_0x559ee8)),_0x3fa851['nodes']&&_0x3fa851['nodes']['length']){_0x4e15e6['nodes']=[];for(var _0x27ac65=0x0;_0x27ac65<_0x3fa851['nodes']['length'];++_0x27ac65)_0x4e15e6['nodes'][_0x27ac65]=_0x696d51['Element']['toObject'](_0x3fa851['nodes'][_0x27ac65],_0x559ee8);}return null!=_0x3fa851['shouldReceiveAttributes']&&_0x3fa851['hasOwnProperty']('shouldReceiveAttributes')&&(_0x4e15e6['shouldReceiveAttributes']=_0x3fa851['shouldReceiveAttributes']),null!=_0x3fa851['wasUndone']&&_0x3fa851['hasOwnProperty']('wasUndone')&&(_0x4e15e6['wasUndone']=_0x3fa851['wasUndone']),_0x4e15e6;},_0x5f401e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x438866['util']['toJSONOptions']);},_0x5f401e['getTypeUrl']=function(_0x366b19){return void 0x0===_0x366b19&&(_0x366b19='type.googleapis.com'),_0x366b19+'/InsertOperation';},_0x5f401e;}()),_0x696d51['MarkerOperation']=(function(){function _0x46db51(_0x22e4a3){if(_0x22e4a3){for(var _0x233314=Object['keys'](_0x22e4a3),_0x519250=0x0;_0x519250<_0x233314['length'];++_0x519250)null!=_0x22e4a3[_0x233314[_0x519250]]&&(this[_0x233314[_0x519250]]=_0x22e4a3[_0x233314[_0x519250]]);}}return _0x46db51['prototype']['name']='',_0x46db51['prototype']['oldRange']=null,_0x46db51['prototype']['newRange']=null,_0x46db51['prototype']['affectsData']=!0x1,_0x46db51['prototype']['wasUndone']=!0x1,_0x46db51['create']=function(_0x243b27){return new _0x46db51(_0x243b27);},_0x46db51['encode']=function(_0x24c5a1,_0x4976fe){return _0x4976fe||(_0x4976fe=_0x54e57a['create']()),null!=_0x24c5a1['name']&&Object['hasOwnProperty']['call'](_0x24c5a1,'name')&&_0x4976fe['uint32'](0xa)['string'](_0x24c5a1['name']),null!=_0x24c5a1['oldRange']&&Object['hasOwnProperty']['call'](_0x24c5a1,'oldRange')&&_0x696d51['Range']['encode'](_0x24c5a1['oldRange'],_0x4976fe['uint32'](0x12)['fork']())['ldelim'](),null!=_0x24c5a1['newRange']&&Object['hasOwnProperty']['call'](_0x24c5a1,'newRange')&&_0x696d51['Range']['encode'](_0x24c5a1['newRange'],_0x4976fe['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x24c5a1['affectsData']&&Object['hasOwnProperty']['call'](_0x24c5a1,'affectsData')&&_0x4976fe['uint32'](0x20)['bool'](_0x24c5a1['affectsData']),null!=_0x24c5a1['wasUndone']&&Object['hasOwnProperty']['call'](_0x24c5a1,'wasUndone')&&_0x4976fe['uint32'](0x28)['bool'](_0x24c5a1['wasUndone']),_0x4976fe;},_0x46db51['encodeDelimited']=function(_0x3f9f16,_0x3b1bf5){return this['encode'](_0x3f9f16,_0x3b1bf5)['ldelim']();},_0x46db51['decode']=function(_0x5dfda4,_0x398ca0){_0x5dfda4 instanceof _0x3dce5d||(_0x5dfda4=_0x3dce5d['create'](_0x5dfda4));for(var _0x24a766=void 0x0===_0x398ca0?_0x5dfda4['len']:_0x5dfda4['pos']+_0x398ca0,_0x219955=new _0x696d51['MarkerOperation']();_0x5dfda4['pos']<_0x24a766;){var _0x5a2419=_0x5dfda4['uint32']();switch(_0x5a2419>>>0x3){case 0x1:_0x219955['name']=_0x5dfda4['string']();break;case 0x2:_0x219955['oldRange']=_0x696d51['Range']['decode'](_0x5dfda4,_0x5dfda4['uint32']());break;case 0x3:_0x219955['newRange']=_0x696d51['Range']['decode'](_0x5dfda4,_0x5dfda4['uint32']());break;case 0x4:_0x219955['affectsData']=_0x5dfda4['bool']();break;case 0x5:_0x219955['wasUndone']=_0x5dfda4['bool']();break;default:_0x5dfda4['skipType'](0x7&_0x5a2419);}}return _0x219955;},_0x46db51['decodeDelimited']=function(_0x446984){return _0x446984 instanceof _0x3dce5d||(_0x446984=new _0x3dce5d(_0x446984)),this['decode'](_0x446984,_0x446984['uint32']());},_0x46db51['verify']=function(_0x5aa685){if('object'!=typeof _0x5aa685||null===_0x5aa685)return'object\x20expected';if(null!=_0x5aa685['name']&&_0x5aa685['hasOwnProperty']('name')&&!_0x226a06['isString'](_0x5aa685['name']))return'name:\x20string\x20expected';var _0x174ee1;if(null!=_0x5aa685['oldRange']&&_0x5aa685['hasOwnProperty']('oldRange')&&(_0x174ee1=_0x696d51['Range']['verify'](_0x5aa685['oldRange'])))return'oldRange.'+_0x174ee1;if(null!=_0x5aa685['newRange']&&_0x5aa685['hasOwnProperty']('newRange')&&(_0x174ee1=_0x696d51['Range']['verify'](_0x5aa685['newRange'])))return'newRange.'+_0x174ee1;return null!=_0x5aa685['affectsData']&&_0x5aa685['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x5aa685['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x5aa685['wasUndone']&&_0x5aa685['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5aa685['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x46db51['fromObject']=function(_0x39ffda){if(_0x39ffda instanceof _0x696d51['MarkerOperation'])return _0x39ffda;var _0x282f80=new _0x696d51['MarkerOperation']();if(null!=_0x39ffda['name']&&(_0x282f80['name']=String(_0x39ffda['name'])),null!=_0x39ffda['oldRange']){if('object'!=typeof _0x39ffda['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x282f80['oldRange']=_0x696d51['Range']['fromObject'](_0x39ffda['oldRange']);}if(null!=_0x39ffda['newRange']){if('object'!=typeof _0x39ffda['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x282f80['newRange']=_0x696d51['Range']['fromObject'](_0x39ffda['newRange']);}return null!=_0x39ffda['affectsData']&&(_0x282f80['affectsData']=Boolean(_0x39ffda['affectsData'])),null!=_0x39ffda['wasUndone']&&(_0x282f80['wasUndone']=Boolean(_0x39ffda['wasUndone'])),_0x282f80;},_0x46db51['toObject']=function(_0x1bf3bd,_0x582d9b){_0x582d9b||(_0x582d9b={});var _0x448355={};return _0x582d9b['defaults']&&(_0x448355['name']='',_0x448355['oldRange']=null,_0x448355['newRange']=null,_0x448355['affectsData']=!0x1,_0x448355['wasUndone']=!0x1),null!=_0x1bf3bd['name']&&_0x1bf3bd['hasOwnProperty']('name')&&(_0x448355['name']=_0x1bf3bd['name']),null!=_0x1bf3bd['oldRange']&&_0x1bf3bd['hasOwnProperty']('oldRange')&&(_0x448355['oldRange']=_0x696d51['Range']['toObject'](_0x1bf3bd['oldRange'],_0x582d9b)),null!=_0x1bf3bd['newRange']&&_0x1bf3bd['hasOwnProperty']('newRange')&&(_0x448355['newRange']=_0x696d51['Range']['toObject'](_0x1bf3bd['newRange'],_0x582d9b)),null!=_0x1bf3bd['affectsData']&&_0x1bf3bd['hasOwnProperty']('affectsData')&&(_0x448355['affectsData']=_0x1bf3bd['affectsData']),null!=_0x1bf3bd['wasUndone']&&_0x1bf3bd['hasOwnProperty']('wasUndone')&&(_0x448355['wasUndone']=_0x1bf3bd['wasUndone']),_0x448355;},_0x46db51['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x438866['util']['toJSONOptions']);},_0x46db51['getTypeUrl']=function(_0x10f63a){return void 0x0===_0x10f63a&&(_0x10f63a='type.googleapis.com'),_0x10f63a+'/MarkerOperation';},_0x46db51;}()),_0x696d51['MergeOperation']=(function(){function _0x25e5a9(_0x350b55){if(_0x350b55){for(var _0x4d7b7a=Object['keys'](_0x350b55),_0x4df86e=0x0;_0x4df86e<_0x4d7b7a['length'];++_0x4df86e)null!=_0x350b55[_0x4d7b7a[_0x4df86e]]&&(this[_0x4d7b7a[_0x4df86e]]=_0x350b55[_0x4d7b7a[_0x4df86e]]);}}return _0x25e5a9['prototype']['sourcePosition']=null,_0x25e5a9['prototype']['targetPosition']=null,_0x25e5a9['prototype']['graveyardPosition']=null,_0x25e5a9['prototype']['howMany']=0x0,_0x25e5a9['prototype']['wasUndone']=!0x1,_0x25e5a9['create']=function(_0x4f57b4){return new _0x25e5a9(_0x4f57b4);},_0x25e5a9['encode']=function(_0x1efce0,_0x327e21){return _0x327e21||(_0x327e21=_0x54e57a['create']()),null!=_0x1efce0['sourcePosition']&&Object['hasOwnProperty']['call'](_0x1efce0,'sourcePosition')&&_0x696d51['Position']['encode'](_0x1efce0['sourcePosition'],_0x327e21['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1efce0['targetPosition']&&Object['hasOwnProperty']['call'](_0x1efce0,'targetPosition')&&_0x696d51['Position']['encode'](_0x1efce0['targetPosition'],_0x327e21['uint32'](0x12)['fork']())['ldelim'](),null!=_0x1efce0['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x1efce0,'graveyardPosition')&&_0x696d51['Position']['encode'](_0x1efce0['graveyardPosition'],_0x327e21['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x1efce0['howMany']&&Object['hasOwnProperty']['call'](_0x1efce0,'howMany')&&_0x327e21['uint32'](0x20)['uint32'](_0x1efce0['howMany']),null!=_0x1efce0['wasUndone']&&Object['hasOwnProperty']['call'](_0x1efce0,'wasUndone')&&_0x327e21['uint32'](0x28)['bool'](_0x1efce0['wasUndone']),_0x327e21;},_0x25e5a9['encodeDelimited']=function(_0x3404ab,_0x5eb48e){return this['encode'](_0x3404ab,_0x5eb48e)['ldelim']();},_0x25e5a9['decode']=function(_0x3f07c5,_0x9181c3){_0x3f07c5 instanceof _0x3dce5d||(_0x3f07c5=_0x3dce5d['create'](_0x3f07c5));for(var _0x44101b=void 0x0===_0x9181c3?_0x3f07c5['len']:_0x3f07c5['pos']+_0x9181c3,_0x1149b5=new _0x696d51['MergeOperation']();_0x3f07c5['pos']<_0x44101b;){var _0x2c9f22=_0x3f07c5['uint32']();switch(_0x2c9f22>>>0x3){case 0x1:_0x1149b5['sourcePosition']=_0x696d51['Position']['decode'](_0x3f07c5,_0x3f07c5['uint32']());break;case 0x2:_0x1149b5['targetPosition']=_0x696d51['Position']['decode'](_0x3f07c5,_0x3f07c5['uint32']());break;case 0x3:_0x1149b5['graveyardPosition']=_0x696d51['Position']['decode'](_0x3f07c5,_0x3f07c5['uint32']());break;case 0x4:_0x1149b5['howMany']=_0x3f07c5['uint32']();break;case 0x5:_0x1149b5['wasUndone']=_0x3f07c5['bool']();break;default:_0x3f07c5['skipType'](0x7&_0x2c9f22);}}return _0x1149b5;},_0x25e5a9['decodeDelimited']=function(_0x56eaa5){return _0x56eaa5 instanceof _0x3dce5d||(_0x56eaa5=new _0x3dce5d(_0x56eaa5)),this['decode'](_0x56eaa5,_0x56eaa5['uint32']());},_0x25e5a9['verify']=function(_0x388b39){if('object'!=typeof _0x388b39||null===_0x388b39)return'object\x20expected';var _0x465b4c;if(null!=_0x388b39['sourcePosition']&&_0x388b39['hasOwnProperty']('sourcePosition')&&(_0x465b4c=_0x696d51['Position']['verify'](_0x388b39['sourcePosition'])))return'sourcePosition.'+_0x465b4c;if(null!=_0x388b39['targetPosition']&&_0x388b39['hasOwnProperty']('targetPosition')&&(_0x465b4c=_0x696d51['Position']['verify'](_0x388b39['targetPosition'])))return'targetPosition.'+_0x465b4c;if(null!=_0x388b39['graveyardPosition']&&_0x388b39['hasOwnProperty']('graveyardPosition')&&(_0x465b4c=_0x696d51['Position']['verify'](_0x388b39['graveyardPosition'])))return'graveyardPosition.'+_0x465b4c;return null!=_0x388b39['howMany']&&_0x388b39['hasOwnProperty']('howMany')&&!_0x226a06['isInteger'](_0x388b39['howMany'])?'howMany:\x20integer\x20expected':null!=_0x388b39['wasUndone']&&_0x388b39['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x388b39['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x25e5a9['fromObject']=function(_0x452fe6){if(_0x452fe6 instanceof _0x696d51['MergeOperation'])return _0x452fe6;var _0x1a935f=new _0x696d51['MergeOperation']();if(null!=_0x452fe6['sourcePosition']){if('object'!=typeof _0x452fe6['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x1a935f['sourcePosition']=_0x696d51['Position']['fromObject'](_0x452fe6['sourcePosition']);}if(null!=_0x452fe6['targetPosition']){if('object'!=typeof _0x452fe6['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x1a935f['targetPosition']=_0x696d51['Position']['fromObject'](_0x452fe6['targetPosition']);}if(null!=_0x452fe6['graveyardPosition']){if('object'!=typeof _0x452fe6['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x1a935f['graveyardPosition']=_0x696d51['Position']['fromObject'](_0x452fe6['graveyardPosition']);}return null!=_0x452fe6['howMany']&&(_0x1a935f['howMany']=_0x452fe6['howMany']>>>0x0),null!=_0x452fe6['wasUndone']&&(_0x1a935f['wasUndone']=Boolean(_0x452fe6['wasUndone'])),_0x1a935f;},_0x25e5a9['toObject']=function(_0x121270,_0x748ec0){_0x748ec0||(_0x748ec0={});var _0x291462={};return _0x748ec0['defaults']&&(_0x291462['sourcePosition']=null,_0x291462['targetPosition']=null,_0x291462['graveyardPosition']=null,_0x291462['howMany']=0x0,_0x291462['wasUndone']=!0x1),null!=_0x121270['sourcePosition']&&_0x121270['hasOwnProperty']('sourcePosition')&&(_0x291462['sourcePosition']=_0x696d51['Position']['toObject'](_0x121270['sourcePosition'],_0x748ec0)),null!=_0x121270['targetPosition']&&_0x121270['hasOwnProperty']('targetPosition')&&(_0x291462['targetPosition']=_0x696d51['Position']['toObject'](_0x121270['targetPosition'],_0x748ec0)),null!=_0x121270['graveyardPosition']&&_0x121270['hasOwnProperty']('graveyardPosition')&&(_0x291462['graveyardPosition']=_0x696d51['Position']['toObject'](_0x121270['graveyardPosition'],_0x748ec0)),null!=_0x121270['howMany']&&_0x121270['hasOwnProperty']('howMany')&&(_0x291462['howMany']=_0x121270['howMany']),null!=_0x121270['wasUndone']&&_0x121270['hasOwnProperty']('wasUndone')&&(_0x291462['wasUndone']=_0x121270['wasUndone']),_0x291462;},_0x25e5a9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x438866['util']['toJSONOptions']);},_0x25e5a9['getTypeUrl']=function(_0x55a80f){return void 0x0===_0x55a80f&&(_0x55a80f='type.googleapis.com'),_0x55a80f+'/MergeOperation';},_0x25e5a9;}()),_0x696d51['MoveOperation']=(function(){function _0x3848ef(_0x58cedf){if(_0x58cedf){for(var _0x1d0f6e=Object['keys'](_0x58cedf),_0xe283de=0x0;_0xe283de<_0x1d0f6e['length'];++_0xe283de)null!=_0x58cedf[_0x1d0f6e[_0xe283de]]&&(this[_0x1d0f6e[_0xe283de]]=_0x58cedf[_0x1d0f6e[_0xe283de]]);}}return _0x3848ef['prototype']['sourcePosition']=null,_0x3848ef['prototype']['howMany']=0x0,_0x3848ef['prototype']['targetPosition']=null,_0x3848ef['prototype']['wasUndone']=!0x1,_0x3848ef['create']=function(_0x3bd75b){return new _0x3848ef(_0x3bd75b);},_0x3848ef['encode']=function(_0x2848d0,_0x378afb){return _0x378afb||(_0x378afb=_0x54e57a['create']()),null!=_0x2848d0['sourcePosition']&&Object['hasOwnProperty']['call'](_0x2848d0,'sourcePosition')&&_0x696d51['Position']['encode'](_0x2848d0['sourcePosition'],_0x378afb['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2848d0['howMany']&&Object['hasOwnProperty']['call'](_0x2848d0,'howMany')&&_0x378afb['uint32'](0x10)['uint32'](_0x2848d0['howMany']),null!=_0x2848d0['targetPosition']&&Object['hasOwnProperty']['call'](_0x2848d0,'targetPosition')&&_0x696d51['Position']['encode'](_0x2848d0['targetPosition'],_0x378afb['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x2848d0['wasUndone']&&Object['hasOwnProperty']['call'](_0x2848d0,'wasUndone')&&_0x378afb['uint32'](0x20)['bool'](_0x2848d0['wasUndone']),_0x378afb;},_0x3848ef['encodeDelimited']=function(_0x28647b,_0xb50efa){return this['encode'](_0x28647b,_0xb50efa)['ldelim']();},_0x3848ef['decode']=function(_0x1dfae9,_0x534b74){_0x1dfae9 instanceof _0x3dce5d||(_0x1dfae9=_0x3dce5d['create'](_0x1dfae9));for(var _0x2f92a4=void 0x0===_0x534b74?_0x1dfae9['len']:_0x1dfae9['pos']+_0x534b74,_0x1c544c=new _0x696d51['MoveOperation']();_0x1dfae9['pos']<_0x2f92a4;){var _0xcbca0d=_0x1dfae9['uint32']();switch(_0xcbca0d>>>0x3){case 0x1:_0x1c544c['sourcePosition']=_0x696d51['Position']['decode'](_0x1dfae9,_0x1dfae9['uint32']());break;case 0x2:_0x1c544c['howMany']=_0x1dfae9['uint32']();break;case 0x3:_0x1c544c['targetPosition']=_0x696d51['Position']['decode'](_0x1dfae9,_0x1dfae9['uint32']());break;case 0x4:_0x1c544c['wasUndone']=_0x1dfae9['bool']();break;default:_0x1dfae9['skipType'](0x7&_0xcbca0d);}}return _0x1c544c;},_0x3848ef['decodeDelimited']=function(_0x12acaa){return _0x12acaa instanceof _0x3dce5d||(_0x12acaa=new _0x3dce5d(_0x12acaa)),this['decode'](_0x12acaa,_0x12acaa['uint32']());},_0x3848ef['verify']=function(_0x4109b9){if('object'!=typeof _0x4109b9||null===_0x4109b9)return'object\x20expected';var _0x35fa71;if(null!=_0x4109b9['sourcePosition']&&_0x4109b9['hasOwnProperty']('sourcePosition')&&(_0x35fa71=_0x696d51['Position']['verify'](_0x4109b9['sourcePosition'])))return'sourcePosition.'+_0x35fa71;if(null!=_0x4109b9['howMany']&&_0x4109b9['hasOwnProperty']('howMany')&&!_0x226a06['isInteger'](_0x4109b9['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x4109b9['targetPosition']&&_0x4109b9['hasOwnProperty']('targetPosition')&&(_0x35fa71=_0x696d51['Position']['verify'](_0x4109b9['targetPosition'])))return'targetPosition.'+_0x35fa71;return null!=_0x4109b9['wasUndone']&&_0x4109b9['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x4109b9['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x3848ef['fromObject']=function(_0x5cb3c9){if(_0x5cb3c9 instanceof _0x696d51['MoveOperation'])return _0x5cb3c9;var _0x3c9e53=new _0x696d51['MoveOperation']();if(null!=_0x5cb3c9['sourcePosition']){if('object'!=typeof _0x5cb3c9['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x3c9e53['sourcePosition']=_0x696d51['Position']['fromObject'](_0x5cb3c9['sourcePosition']);}if(null!=_0x5cb3c9['howMany']&&(_0x3c9e53['howMany']=_0x5cb3c9['howMany']>>>0x0),null!=_0x5cb3c9['targetPosition']){if('object'!=typeof _0x5cb3c9['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x3c9e53['targetPosition']=_0x696d51['Position']['fromObject'](_0x5cb3c9['targetPosition']);}return null!=_0x5cb3c9['wasUndone']&&(_0x3c9e53['wasUndone']=Boolean(_0x5cb3c9['wasUndone'])),_0x3c9e53;},_0x3848ef['toObject']=function(_0xbbe12a,_0x578a19){_0x578a19||(_0x578a19={});var _0x4e688c={};return _0x578a19['defaults']&&(_0x4e688c['sourcePosition']=null,_0x4e688c['howMany']=0x0,_0x4e688c['targetPosition']=null,_0x4e688c['wasUndone']=!0x1),null!=_0xbbe12a['sourcePosition']&&_0xbbe12a['hasOwnProperty']('sourcePosition')&&(_0x4e688c['sourcePosition']=_0x696d51['Position']['toObject'](_0xbbe12a['sourcePosition'],_0x578a19)),null!=_0xbbe12a['howMany']&&_0xbbe12a['hasOwnProperty']('howMany')&&(_0x4e688c['howMany']=_0xbbe12a['howMany']),null!=_0xbbe12a['targetPosition']&&_0xbbe12a['hasOwnProperty']('targetPosition')&&(_0x4e688c['targetPosition']=_0x696d51['Position']['toObject'](_0xbbe12a['targetPosition'],_0x578a19)),null!=_0xbbe12a['wasUndone']&&_0xbbe12a['hasOwnProperty']('wasUndone')&&(_0x4e688c['wasUndone']=_0xbbe12a['wasUndone']),_0x4e688c;},_0x3848ef['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x438866['util']['toJSONOptions']);},_0x3848ef['getTypeUrl']=function(_0x45b4ab){return void 0x0===_0x45b4ab&&(_0x45b4ab='type.googleapis.com'),_0x45b4ab+'/MoveOperation';},_0x3848ef;}()),_0x696d51['RenameOperation']=(function(){function _0x280f86(_0x3e991f){if(_0x3e991f){for(var _0x5e7719=Object['keys'](_0x3e991f),_0x167ffc=0x0;_0x167ffc<_0x5e7719['length'];++_0x167ffc)null!=_0x3e991f[_0x5e7719[_0x167ffc]]&&(this[_0x5e7719[_0x167ffc]]=_0x3e991f[_0x5e7719[_0x167ffc]]);}}return _0x280f86['prototype']['position']=null,_0x280f86['prototype']['oldName']='',_0x280f86['prototype']['newName']='',_0x280f86['prototype']['wasUndone']=!0x1,_0x280f86['create']=function(_0x2dc79c){return new _0x280f86(_0x2dc79c);},_0x280f86['encode']=function(_0x49eb19,_0xfb8718){return _0xfb8718||(_0xfb8718=_0x54e57a['create']()),null!=_0x49eb19['position']&&Object['hasOwnProperty']['call'](_0x49eb19,'position')&&_0x696d51['Position']['encode'](_0x49eb19['position'],_0xfb8718['uint32'](0xa)['fork']())['ldelim'](),null!=_0x49eb19['oldName']&&Object['hasOwnProperty']['call'](_0x49eb19,'oldName')&&_0xfb8718['uint32'](0x12)['string'](_0x49eb19['oldName']),null!=_0x49eb19['newName']&&Object['hasOwnProperty']['call'](_0x49eb19,'newName')&&_0xfb8718['uint32'](0x1a)['string'](_0x49eb19['newName']),null!=_0x49eb19['wasUndone']&&Object['hasOwnProperty']['call'](_0x49eb19,'wasUndone')&&_0xfb8718['uint32'](0x20)['bool'](_0x49eb19['wasUndone']),_0xfb8718;},_0x280f86['encodeDelimited']=function(_0x4ea59d,_0x117516){return this['encode'](_0x4ea59d,_0x117516)['ldelim']();},_0x280f86['decode']=function(_0x255c98,_0x354d13){_0x255c98 instanceof _0x3dce5d||(_0x255c98=_0x3dce5d['create'](_0x255c98));for(var _0x2cd775=void 0x0===_0x354d13?_0x255c98['len']:_0x255c98['pos']+_0x354d13,_0x5c1d9f=new _0x696d51['RenameOperation']();_0x255c98['pos']<_0x2cd775;){var _0x14a0ee=_0x255c98['uint32']();switch(_0x14a0ee>>>0x3){case 0x1:_0x5c1d9f['position']=_0x696d51['Position']['decode'](_0x255c98,_0x255c98['uint32']());break;case 0x2:_0x5c1d9f['oldName']=_0x255c98['string']();break;case 0x3:_0x5c1d9f['newName']=_0x255c98['string']();break;case 0x4:_0x5c1d9f['wasUndone']=_0x255c98['bool']();break;default:_0x255c98['skipType'](0x7&_0x14a0ee);}}return _0x5c1d9f;},_0x280f86['decodeDelimited']=function(_0x1abd15){return _0x1abd15 instanceof _0x3dce5d||(_0x1abd15=new _0x3dce5d(_0x1abd15)),this['decode'](_0x1abd15,_0x1abd15['uint32']());},_0x280f86['verify']=function(_0x448c05){if('object'!=typeof _0x448c05||null===_0x448c05)return'object\x20expected';if(null!=_0x448c05['position']&&_0x448c05['hasOwnProperty']('position')){var _0x4ad0fd=_0x696d51['Position']['verify'](_0x448c05['position']);if(_0x4ad0fd)return'position.'+_0x4ad0fd;}return null!=_0x448c05['oldName']&&_0x448c05['hasOwnProperty']('oldName')&&!_0x226a06['isString'](_0x448c05['oldName'])?'oldName:\x20string\x20expected':null!=_0x448c05['newName']&&_0x448c05['hasOwnProperty']('newName')&&!_0x226a06['isString'](_0x448c05['newName'])?'newName:\x20string\x20expected':null!=_0x448c05['wasUndone']&&_0x448c05['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x448c05['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x280f86['fromObject']=function(_0x40fe8f){if(_0x40fe8f instanceof _0x696d51['RenameOperation'])return _0x40fe8f;var _0x505d38=new _0x696d51['RenameOperation']();if(null!=_0x40fe8f['position']){if('object'!=typeof _0x40fe8f['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x505d38['position']=_0x696d51['Position']['fromObject'](_0x40fe8f['position']);}return null!=_0x40fe8f['oldName']&&(_0x505d38['oldName']=String(_0x40fe8f['oldName'])),null!=_0x40fe8f['newName']&&(_0x505d38['newName']=String(_0x40fe8f['newName'])),null!=_0x40fe8f['wasUndone']&&(_0x505d38['wasUndone']=Boolean(_0x40fe8f['wasUndone'])),_0x505d38;},_0x280f86['toObject']=function(_0x43322c,_0x4e482a){_0x4e482a||(_0x4e482a={});var _0x44661f={};return _0x4e482a['defaults']&&(_0x44661f['position']=null,_0x44661f['oldName']='',_0x44661f['newName']='',_0x44661f['wasUndone']=!0x1),null!=_0x43322c['position']&&_0x43322c['hasOwnProperty']('position')&&(_0x44661f['position']=_0x696d51['Position']['toObject'](_0x43322c['position'],_0x4e482a)),null!=_0x43322c['oldName']&&_0x43322c['hasOwnProperty']('oldName')&&(_0x44661f['oldName']=_0x43322c['oldName']),null!=_0x43322c['newName']&&_0x43322c['hasOwnProperty']('newName')&&(_0x44661f['newName']=_0x43322c['newName']),null!=_0x43322c['wasUndone']&&_0x43322c['hasOwnProperty']('wasUndone')&&(_0x44661f['wasUndone']=_0x43322c['wasUndone']),_0x44661f;},_0x280f86['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x438866['util']['toJSONOptions']);},_0x280f86['getTypeUrl']=function(_0x5a732f){return void 0x0===_0x5a732f&&(_0x5a732f='type.googleapis.com'),_0x5a732f+'/RenameOperation';},_0x280f86;}()),_0x696d51['RootAttributeOperation']=(function(){function _0x471f70(_0x5b7038){if(_0x5b7038){for(var _0x2dc537=Object['keys'](_0x5b7038),_0x7efcad=0x0;_0x7efcad<_0x2dc537['length'];++_0x7efcad)null!=_0x5b7038[_0x2dc537[_0x7efcad]]&&(this[_0x2dc537[_0x7efcad]]=_0x5b7038[_0x2dc537[_0x7efcad]]);}}return _0x471f70['prototype']['root']='',_0x471f70['prototype']['key']='',_0x471f70['prototype']['oldValueBoolean']=!0x1,_0x471f70['prototype']['oldValueJson']='',_0x471f70['prototype']['newValueBoolean']=!0x1,_0x471f70['prototype']['newValueJson']='',_0x471f70['prototype']['wasUndone']=!0x1,_0x471f70['create']=function(_0x2fbdb6){return new _0x471f70(_0x2fbdb6);},_0x471f70['encode']=function(_0x1d21e7,_0x49a097){return _0x49a097||(_0x49a097=_0x54e57a['create']()),null!=_0x1d21e7['root']&&Object['hasOwnProperty']['call'](_0x1d21e7,'root')&&_0x49a097['uint32'](0xa)['string'](_0x1d21e7['root']),null!=_0x1d21e7['key']&&Object['hasOwnProperty']['call'](_0x1d21e7,'key')&&_0x49a097['uint32'](0x12)['string'](_0x1d21e7['key']),null!=_0x1d21e7['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x1d21e7,'oldValueBoolean')&&_0x49a097['uint32'](0x18)['bool'](_0x1d21e7['oldValueBoolean']),null!=_0x1d21e7['oldValueJson']&&Object['hasOwnProperty']['call'](_0x1d21e7,'oldValueJson')&&_0x49a097['uint32'](0x22)['string'](_0x1d21e7['oldValueJson']),null!=_0x1d21e7['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x1d21e7,'newValueBoolean')&&_0x49a097['uint32'](0x28)['bool'](_0x1d21e7['newValueBoolean']),null!=_0x1d21e7['newValueJson']&&Object['hasOwnProperty']['call'](_0x1d21e7,'newValueJson')&&_0x49a097['uint32'](0x32)['string'](_0x1d21e7['newValueJson']),null!=_0x1d21e7['wasUndone']&&Object['hasOwnProperty']['call'](_0x1d21e7,'wasUndone')&&_0x49a097['uint32'](0x38)['bool'](_0x1d21e7['wasUndone']),_0x49a097;},_0x471f70['encodeDelimited']=function(_0x25fed0,_0x10e06e){return this['encode'](_0x25fed0,_0x10e06e)['ldelim']();},_0x471f70['decode']=function(_0xc6d6ef,_0x124cc0){_0xc6d6ef instanceof _0x3dce5d||(_0xc6d6ef=_0x3dce5d['create'](_0xc6d6ef));for(var _0x48a7d4=void 0x0===_0x124cc0?_0xc6d6ef['len']:_0xc6d6ef['pos']+_0x124cc0,_0xb9b63=new _0x696d51['RootAttributeOperation']();_0xc6d6ef['pos']<_0x48a7d4;){var _0x5cf92f=_0xc6d6ef['uint32']();switch(_0x5cf92f>>>0x3){case 0x1:_0xb9b63['root']=_0xc6d6ef['string']();break;case 0x2:_0xb9b63['key']=_0xc6d6ef['string']();break;case 0x3:_0xb9b63['oldValueBoolean']=_0xc6d6ef['bool']();break;case 0x4:_0xb9b63['oldValueJson']=_0xc6d6ef['string']();break;case 0x5:_0xb9b63['newValueBoolean']=_0xc6d6ef['bool']();break;case 0x6:_0xb9b63['newValueJson']=_0xc6d6ef['string']();break;case 0x7:_0xb9b63['wasUndone']=_0xc6d6ef['bool']();break;default:_0xc6d6ef['skipType'](0x7&_0x5cf92f);}}return _0xb9b63;},_0x471f70['decodeDelimited']=function(_0x2074cd){return _0x2074cd instanceof _0x3dce5d||(_0x2074cd=new _0x3dce5d(_0x2074cd)),this['decode'](_0x2074cd,_0x2074cd['uint32']());},_0x471f70['verify']=function(_0x35845e){return'object'!=typeof _0x35845e||null===_0x35845e?'object\x20expected':null!=_0x35845e['root']&&_0x35845e['hasOwnProperty']('root')&&!_0x226a06['isString'](_0x35845e['root'])?'root:\x20string\x20expected':null!=_0x35845e['key']&&_0x35845e['hasOwnProperty']('key')&&!_0x226a06['isString'](_0x35845e['key'])?'key:\x20string\x20expected':null!=_0x35845e['oldValueBoolean']&&_0x35845e['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x35845e['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x35845e['oldValueJson']&&_0x35845e['hasOwnProperty']('oldValueJson')&&!_0x226a06['isString'](_0x35845e['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x35845e['newValueBoolean']&&_0x35845e['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x35845e['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x35845e['newValueJson']&&_0x35845e['hasOwnProperty']('newValueJson')&&!_0x226a06['isString'](_0x35845e['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x35845e['wasUndone']&&_0x35845e['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x35845e['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x471f70['fromObject']=function(_0x25e2ca){if(_0x25e2ca instanceof _0x696d51['RootAttributeOperation'])return _0x25e2ca;var _0x314fbc=new _0x696d51['RootAttributeOperation']();return null!=_0x25e2ca['root']&&(_0x314fbc['root']=String(_0x25e2ca['root'])),null!=_0x25e2ca['key']&&(_0x314fbc['key']=String(_0x25e2ca['key'])),null!=_0x25e2ca['oldValueBoolean']&&(_0x314fbc['oldValueBoolean']=Boolean(_0x25e2ca['oldValueBoolean'])),null!=_0x25e2ca['oldValueJson']&&(_0x314fbc['oldValueJson']=String(_0x25e2ca['oldValueJson'])),null!=_0x25e2ca['newValueBoolean']&&(_0x314fbc['newValueBoolean']=Boolean(_0x25e2ca['newValueBoolean'])),null!=_0x25e2ca['newValueJson']&&(_0x314fbc['newValueJson']=String(_0x25e2ca['newValueJson'])),null!=_0x25e2ca['wasUndone']&&(_0x314fbc['wasUndone']=Boolean(_0x25e2ca['wasUndone'])),_0x314fbc;},_0x471f70['toObject']=function(_0x37a4e7,_0x4d1a62){_0x4d1a62||(_0x4d1a62={});var _0x2d32ab={};return _0x4d1a62['defaults']&&(_0x2d32ab['root']='',_0x2d32ab['key']='',_0x2d32ab['oldValueBoolean']=!0x1,_0x2d32ab['oldValueJson']='',_0x2d32ab['newValueBoolean']=!0x1,_0x2d32ab['newValueJson']='',_0x2d32ab['wasUndone']=!0x1),null!=_0x37a4e7['root']&&_0x37a4e7['hasOwnProperty']('root')&&(_0x2d32ab['root']=_0x37a4e7['root']),null!=_0x37a4e7['key']&&_0x37a4e7['hasOwnProperty']('key')&&(_0x2d32ab['key']=_0x37a4e7['key']),null!=_0x37a4e7['oldValueBoolean']&&_0x37a4e7['hasOwnProperty']('oldValueBoolean')&&(_0x2d32ab['oldValueBoolean']=_0x37a4e7['oldValueBoolean']),null!=_0x37a4e7['oldValueJson']&&_0x37a4e7['hasOwnProperty']('oldValueJson')&&(_0x2d32ab['oldValueJson']=_0x37a4e7['oldValueJson']),null!=_0x37a4e7['newValueBoolean']&&_0x37a4e7['hasOwnProperty']('newValueBoolean')&&(_0x2d32ab['newValueBoolean']=_0x37a4e7['newValueBoolean']),null!=_0x37a4e7['newValueJson']&&_0x37a4e7['hasOwnProperty']('newValueJson')&&(_0x2d32ab['newValueJson']=_0x37a4e7['newValueJson']),null!=_0x37a4e7['wasUndone']&&_0x37a4e7['hasOwnProperty']('wasUndone')&&(_0x2d32ab['wasUndone']=_0x37a4e7['wasUndone']),_0x2d32ab;},_0x471f70['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x438866['util']['toJSONOptions']);},_0x471f70['getTypeUrl']=function(_0x4cc22c){return void 0x0===_0x4cc22c&&(_0x4cc22c='type.googleapis.com'),_0x4cc22c+'/RootAttributeOperation';},_0x471f70;}()),_0x696d51['RootOperation']=(function(){function _0x3d831c(_0x2f3fb3){if(_0x2f3fb3){for(var _0x413876=Object['keys'](_0x2f3fb3),_0x44713b=0x0;_0x44713b<_0x413876['length'];++_0x44713b)null!=_0x2f3fb3[_0x413876[_0x44713b]]&&(this[_0x413876[_0x44713b]]=_0x2f3fb3[_0x413876[_0x44713b]]);}}return _0x3d831c['prototype']['rootName']='',_0x3d831c['prototype']['elementName']='',_0x3d831c['prototype']['isAdd']=!0x1,_0x3d831c['prototype']['wasUndone']=!0x1,_0x3d831c['create']=function(_0x18d5fd){return new _0x3d831c(_0x18d5fd);},_0x3d831c['encode']=function(_0x4d1419,_0x51f196){return _0x51f196||(_0x51f196=_0x54e57a['create']()),null!=_0x4d1419['rootName']&&Object['hasOwnProperty']['call'](_0x4d1419,'rootName')&&_0x51f196['uint32'](0xa)['string'](_0x4d1419['rootName']),null!=_0x4d1419['elementName']&&Object['hasOwnProperty']['call'](_0x4d1419,'elementName')&&_0x51f196['uint32'](0x12)['string'](_0x4d1419['elementName']),null!=_0x4d1419['isAdd']&&Object['hasOwnProperty']['call'](_0x4d1419,'isAdd')&&_0x51f196['uint32'](0x18)['bool'](_0x4d1419['isAdd']),null!=_0x4d1419['wasUndone']&&Object['hasOwnProperty']['call'](_0x4d1419,'wasUndone')&&_0x51f196['uint32'](0x20)['bool'](_0x4d1419['wasUndone']),_0x51f196;},_0x3d831c['encodeDelimited']=function(_0x344f2a,_0x2c7708){return this['encode'](_0x344f2a,_0x2c7708)['ldelim']();},_0x3d831c['decode']=function(_0x490d54,_0x1baa46){_0x490d54 instanceof _0x3dce5d||(_0x490d54=_0x3dce5d['create'](_0x490d54));for(var _0x3be1e8=void 0x0===_0x1baa46?_0x490d54['len']:_0x490d54['pos']+_0x1baa46,_0x3b97f4=new _0x696d51['RootOperation']();_0x490d54['pos']<_0x3be1e8;){var _0x727d41=_0x490d54['uint32']();switch(_0x727d41>>>0x3){case 0x1:_0x3b97f4['rootName']=_0x490d54['string']();break;case 0x2:_0x3b97f4['elementName']=_0x490d54['string']();break;case 0x3:_0x3b97f4['isAdd']=_0x490d54['bool']();break;case 0x4:_0x3b97f4['wasUndone']=_0x490d54['bool']();break;default:_0x490d54['skipType'](0x7&_0x727d41);}}return _0x3b97f4;},_0x3d831c['decodeDelimited']=function(_0x5dfde3){return _0x5dfde3 instanceof _0x3dce5d||(_0x5dfde3=new _0x3dce5d(_0x5dfde3)),this['decode'](_0x5dfde3,_0x5dfde3['uint32']());},_0x3d831c['verify']=function(_0x27b08a){return'object'!=typeof _0x27b08a||null===_0x27b08a?'object\x20expected':null!=_0x27b08a['rootName']&&_0x27b08a['hasOwnProperty']('rootName')&&!_0x226a06['isString'](_0x27b08a['rootName'])?'rootName:\x20string\x20expected':null!=_0x27b08a['elementName']&&_0x27b08a['hasOwnProperty']('elementName')&&!_0x226a06['isString'](_0x27b08a['elementName'])?'elementName:\x20string\x20expected':null!=_0x27b08a['isAdd']&&_0x27b08a['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x27b08a['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x27b08a['wasUndone']&&_0x27b08a['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x27b08a['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x3d831c['fromObject']=function(_0x57258a){if(_0x57258a instanceof _0x696d51['RootOperation'])return _0x57258a;var _0x3de362=new _0x696d51['RootOperation']();return null!=_0x57258a['rootName']&&(_0x3de362['rootName']=String(_0x57258a['rootName'])),null!=_0x57258a['elementName']&&(_0x3de362['elementName']=String(_0x57258a['elementName'])),null!=_0x57258a['isAdd']&&(_0x3de362['isAdd']=Boolean(_0x57258a['isAdd'])),null!=_0x57258a['wasUndone']&&(_0x3de362['wasUndone']=Boolean(_0x57258a['wasUndone'])),_0x3de362;},_0x3d831c['toObject']=function(_0x31a3a7,_0x4787df){_0x4787df||(_0x4787df={});var _0x55447b={};return _0x4787df['defaults']&&(_0x55447b['rootName']='',_0x55447b['elementName']='',_0x55447b['isAdd']=!0x1,_0x55447b['wasUndone']=!0x1),null!=_0x31a3a7['rootName']&&_0x31a3a7['hasOwnProperty']('rootName')&&(_0x55447b['rootName']=_0x31a3a7['rootName']),null!=_0x31a3a7['elementName']&&_0x31a3a7['hasOwnProperty']('elementName')&&(_0x55447b['elementName']=_0x31a3a7['elementName']),null!=_0x31a3a7['isAdd']&&_0x31a3a7['hasOwnProperty']('isAdd')&&(_0x55447b['isAdd']=_0x31a3a7['isAdd']),null!=_0x31a3a7['wasUndone']&&_0x31a3a7['hasOwnProperty']('wasUndone')&&(_0x55447b['wasUndone']=_0x31a3a7['wasUndone']),_0x55447b;},_0x3d831c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x438866['util']['toJSONOptions']);},_0x3d831c['getTypeUrl']=function(_0x1091e5){return void 0x0===_0x1091e5&&(_0x1091e5='type.googleapis.com'),_0x1091e5+'/RootOperation';},_0x3d831c;}()),_0x696d51['SplitOperation']=(function(){function _0x5625c5(_0x55d690){if(_0x55d690){for(var _0x5a2204=Object['keys'](_0x55d690),_0xeb34f3=0x0;_0xeb34f3<_0x5a2204['length'];++_0xeb34f3)null!=_0x55d690[_0x5a2204[_0xeb34f3]]&&(this[_0x5a2204[_0xeb34f3]]=_0x55d690[_0x5a2204[_0xeb34f3]]);}}return _0x5625c5['prototype']['splitPosition']=null,_0x5625c5['prototype']['graveyardPosition']=null,_0x5625c5['prototype']['howMany']=0x0,_0x5625c5['prototype']['insertionPosition']=null,_0x5625c5['prototype']['wasUndone']=!0x1,_0x5625c5['create']=function(_0x53552c){return new _0x5625c5(_0x53552c);},_0x5625c5['encode']=function(_0x2d0c75,_0x444921){return _0x444921||(_0x444921=_0x54e57a['create']()),null!=_0x2d0c75['splitPosition']&&Object['hasOwnProperty']['call'](_0x2d0c75,'splitPosition')&&_0x696d51['Position']['encode'](_0x2d0c75['splitPosition'],_0x444921['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2d0c75['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x2d0c75,'graveyardPosition')&&_0x696d51['Position']['encode'](_0x2d0c75['graveyardPosition'],_0x444921['uint32'](0x12)['fork']())['ldelim'](),null!=_0x2d0c75['howMany']&&Object['hasOwnProperty']['call'](_0x2d0c75,'howMany')&&_0x444921['uint32'](0x18)['uint32'](_0x2d0c75['howMany']),null!=_0x2d0c75['insertionPosition']&&Object['hasOwnProperty']['call'](_0x2d0c75,'insertionPosition')&&_0x696d51['Position']['encode'](_0x2d0c75['insertionPosition'],_0x444921['uint32'](0x22)['fork']())['ldelim'](),null!=_0x2d0c75['wasUndone']&&Object['hasOwnProperty']['call'](_0x2d0c75,'wasUndone')&&_0x444921['uint32'](0x28)['bool'](_0x2d0c75['wasUndone']),_0x444921;},_0x5625c5['encodeDelimited']=function(_0x581c6d,_0x3107bf){return this['encode'](_0x581c6d,_0x3107bf)['ldelim']();},_0x5625c5['decode']=function(_0x3365ad,_0x4e8808){_0x3365ad instanceof _0x3dce5d||(_0x3365ad=_0x3dce5d['create'](_0x3365ad));for(var _0x34d12d=void 0x0===_0x4e8808?_0x3365ad['len']:_0x3365ad['pos']+_0x4e8808,_0x18983b=new _0x696d51['SplitOperation']();_0x3365ad['pos']<_0x34d12d;){var _0x17473e=_0x3365ad['uint32']();switch(_0x17473e>>>0x3){case 0x1:_0x18983b['splitPosition']=_0x696d51['Position']['decode'](_0x3365ad,_0x3365ad['uint32']());break;case 0x2:_0x18983b['graveyardPosition']=_0x696d51['Position']['decode'](_0x3365ad,_0x3365ad['uint32']());break;case 0x3:_0x18983b['howMany']=_0x3365ad['uint32']();break;case 0x4:_0x18983b['insertionPosition']=_0x696d51['Position']['decode'](_0x3365ad,_0x3365ad['uint32']());break;case 0x5:_0x18983b['wasUndone']=_0x3365ad['bool']();break;default:_0x3365ad['skipType'](0x7&_0x17473e);}}return _0x18983b;},_0x5625c5['decodeDelimited']=function(_0x3980ab){return _0x3980ab instanceof _0x3dce5d||(_0x3980ab=new _0x3dce5d(_0x3980ab)),this['decode'](_0x3980ab,_0x3980ab['uint32']());},_0x5625c5['verify']=function(_0x19b829){if('object'!=typeof _0x19b829||null===_0x19b829)return'object\x20expected';var _0x33bb14;if(null!=_0x19b829['splitPosition']&&_0x19b829['hasOwnProperty']('splitPosition')&&(_0x33bb14=_0x696d51['Position']['verify'](_0x19b829['splitPosition'])))return'splitPosition.'+_0x33bb14;if(null!=_0x19b829['graveyardPosition']&&_0x19b829['hasOwnProperty']('graveyardPosition')&&(_0x33bb14=_0x696d51['Position']['verify'](_