@ckeditor/ckeditor5-operations-compressor 47.6.0-alpha.7 → 47.6.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +3 -3
- package/src/actioncompressor/actioncompressor.js +1 -1
- package/src/actioncompressor/deletingactioncompressor.js +1 -1
- package/src/actioncompressor/forwarddeletingactioncompressor.js +1 -1
- package/src/actioncompressor/typingactioncompressor.js +1 -1
- package/src/actioncompressor/userselectionactioncompressor.js +1 -1
- package/src/compressor.js +1 -1
- package/src/errors.js +1 -1
- package/src/index.js +1 -1
- package/src/lib/compiledmessages.js +2 -2
- package/src/lib/protobufdescriptions.js +1 -1
- package/src/operationcompressor/annotationmarkeroperationcompressor.js +1 -1
- package/src/operationcompressor/attributeoperationcompressor.js +1 -1
- package/src/operationcompressor/insertoperationcompressor.js +1 -1
- package/src/operationcompressor/markeroperationcompressor.js +1 -1
- package/src/operationcompressor/nooperationcompressor.js +1 -1
- package/src/operationcompressor/operationcompressor.js +1 -1
- package/src/protobuffactory.js +1 -1
- package/src/utils.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{CKEditorError as
|
|
24
|
-
((()=>{var _0xa2a576=_0xe5521d['Reader'],_0x1892ef=_0xe5521d['Writer'],_0xb388fc=_0xe5521d['util'],_0x14376a=_0xe5521d['roots']['default']||(_0xe5521d['roots']['default']={});return _0x14376a['AttributeOperation']=(function(){function _0x1f334d(_0x4a5e96){if(_0x4a5e96){for(var _0x1d90b3=Object['keys'](_0x4a5e96),_0x714975=0x0;_0x714975<_0x1d90b3['length'];++_0x714975)null!=_0x4a5e96[_0x1d90b3[_0x714975]]&&(this[_0x1d90b3[_0x714975]]=_0x4a5e96[_0x1d90b3[_0x714975]]);}}return _0x1f334d['prototype']['range']=null,_0x1f334d['prototype']['key']='',_0x1f334d['prototype']['oldValueBoolean']=!0x1,_0x1f334d['prototype']['oldValueJson']='',_0x1f334d['prototype']['newValueBoolean']=!0x1,_0x1f334d['prototype']['newValueJson']='',_0x1f334d['prototype']['wasUndone']=!0x1,_0x1f334d['create']=function(_0x197282){return new _0x1f334d(_0x197282);},_0x1f334d['encode']=function(_0x52ca97,_0x3eaeb1){return _0x3eaeb1||(_0x3eaeb1=_0x1892ef['create']()),null!=_0x52ca97['range']&&Object['hasOwnProperty']['call'](_0x52ca97,'range')&&_0x14376a['Range']['encode'](_0x52ca97['range'],_0x3eaeb1['uint32'](0xa)['fork']())['ldelim'](),null!=_0x52ca97['key']&&Object['hasOwnProperty']['call'](_0x52ca97,'key')&&_0x3eaeb1['uint32'](0x12)['string'](_0x52ca97['key']),null!=_0x52ca97['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x52ca97,'oldValueBoolean')&&_0x3eaeb1['uint32'](0x18)['bool'](_0x52ca97['oldValueBoolean']),null!=_0x52ca97['oldValueJson']&&Object['hasOwnProperty']['call'](_0x52ca97,'oldValueJson')&&_0x3eaeb1['uint32'](0x22)['string'](_0x52ca97['oldValueJson']),null!=_0x52ca97['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x52ca97,'newValueBoolean')&&_0x3eaeb1['uint32'](0x28)['bool'](_0x52ca97['newValueBoolean']),null!=_0x52ca97['newValueJson']&&Object['hasOwnProperty']['call'](_0x52ca97,'newValueJson')&&_0x3eaeb1['uint32'](0x32)['string'](_0x52ca97['newValueJson']),null!=_0x52ca97['wasUndone']&&Object['hasOwnProperty']['call'](_0x52ca97,'wasUndone')&&_0x3eaeb1['uint32'](0x38)['bool'](_0x52ca97['wasUndone']),_0x3eaeb1;},_0x1f334d['encodeDelimited']=function(_0x23757f,_0x65aca7){return this['encode'](_0x23757f,_0x65aca7)['ldelim']();},_0x1f334d['decode']=function(_0x47f3c5,_0x5c7552){_0x47f3c5 instanceof _0xa2a576||(_0x47f3c5=_0xa2a576['create'](_0x47f3c5));for(var _0x1e0acf=void 0x0===_0x5c7552?_0x47f3c5['len']:_0x47f3c5['pos']+_0x5c7552,_0x2bb5de=new _0x14376a['AttributeOperation']();_0x47f3c5['pos']<_0x1e0acf;){var _0x10acf6=_0x47f3c5['uint32']();switch(_0x10acf6>>>0x3){case 0x1:_0x2bb5de['range']=_0x14376a['Range']['decode'](_0x47f3c5,_0x47f3c5['uint32']());break;case 0x2:_0x2bb5de['key']=_0x47f3c5['string']();break;case 0x3:_0x2bb5de['oldValueBoolean']=_0x47f3c5['bool']();break;case 0x4:_0x2bb5de['oldValueJson']=_0x47f3c5['string']();break;case 0x5:_0x2bb5de['newValueBoolean']=_0x47f3c5['bool']();break;case 0x6:_0x2bb5de['newValueJson']=_0x47f3c5['string']();break;case 0x7:_0x2bb5de['wasUndone']=_0x47f3c5['bool']();break;default:_0x47f3c5['skipType'](0x7&_0x10acf6);}}return _0x2bb5de;},_0x1f334d['decodeDelimited']=function(_0x1343d4){return _0x1343d4 instanceof _0xa2a576||(_0x1343d4=new _0xa2a576(_0x1343d4)),this['decode'](_0x1343d4,_0x1343d4['uint32']());},_0x1f334d['verify']=function(_0xeafb41){if('object'!=typeof _0xeafb41||null===_0xeafb41)return'object\x20expected';if(null!=_0xeafb41['range']&&_0xeafb41['hasOwnProperty']('range')){var _0x40d050=_0x14376a['Range']['verify'](_0xeafb41['range']);if(_0x40d050)return'range.'+_0x40d050;}return null!=_0xeafb41['key']&&_0xeafb41['hasOwnProperty']('key')&&!_0xb388fc['isString'](_0xeafb41['key'])?'key:\x20string\x20expected':null!=_0xeafb41['oldValueBoolean']&&_0xeafb41['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0xeafb41['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0xeafb41['oldValueJson']&&_0xeafb41['hasOwnProperty']('oldValueJson')&&!_0xb388fc['isString'](_0xeafb41['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0xeafb41['newValueBoolean']&&_0xeafb41['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0xeafb41['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0xeafb41['newValueJson']&&_0xeafb41['hasOwnProperty']('newValueJson')&&!_0xb388fc['isString'](_0xeafb41['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0xeafb41['wasUndone']&&_0xeafb41['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xeafb41['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1f334d['fromObject']=function(_0x3b315c){if(_0x3b315c instanceof _0x14376a['AttributeOperation'])return _0x3b315c;var _0x149e93=new _0x14376a['AttributeOperation']();if(null!=_0x3b315c['range']){if('object'!=typeof _0x3b315c['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x149e93['range']=_0x14376a['Range']['fromObject'](_0x3b315c['range']);}return null!=_0x3b315c['key']&&(_0x149e93['key']=String(_0x3b315c['key'])),null!=_0x3b315c['oldValueBoolean']&&(_0x149e93['oldValueBoolean']=Boolean(_0x3b315c['oldValueBoolean'])),null!=_0x3b315c['oldValueJson']&&(_0x149e93['oldValueJson']=String(_0x3b315c['oldValueJson'])),null!=_0x3b315c['newValueBoolean']&&(_0x149e93['newValueBoolean']=Boolean(_0x3b315c['newValueBoolean'])),null!=_0x3b315c['newValueJson']&&(_0x149e93['newValueJson']=String(_0x3b315c['newValueJson'])),null!=_0x3b315c['wasUndone']&&(_0x149e93['wasUndone']=Boolean(_0x3b315c['wasUndone'])),_0x149e93;},_0x1f334d['toObject']=function(_0x385631,_0x3ecbf4){_0x3ecbf4||(_0x3ecbf4={});var _0x137c62={};return _0x3ecbf4['defaults']&&(_0x137c62['range']=null,_0x137c62['key']='',_0x137c62['oldValueBoolean']=!0x1,_0x137c62['oldValueJson']='',_0x137c62['newValueBoolean']=!0x1,_0x137c62['newValueJson']='',_0x137c62['wasUndone']=!0x1),null!=_0x385631['range']&&_0x385631['hasOwnProperty']('range')&&(_0x137c62['range']=_0x14376a['Range']['toObject'](_0x385631['range'],_0x3ecbf4)),null!=_0x385631['key']&&_0x385631['hasOwnProperty']('key')&&(_0x137c62['key']=_0x385631['key']),null!=_0x385631['oldValueBoolean']&&_0x385631['hasOwnProperty']('oldValueBoolean')&&(_0x137c62['oldValueBoolean']=_0x385631['oldValueBoolean']),null!=_0x385631['oldValueJson']&&_0x385631['hasOwnProperty']('oldValueJson')&&(_0x137c62['oldValueJson']=_0x385631['oldValueJson']),null!=_0x385631['newValueBoolean']&&_0x385631['hasOwnProperty']('newValueBoolean')&&(_0x137c62['newValueBoolean']=_0x385631['newValueBoolean']),null!=_0x385631['newValueJson']&&_0x385631['hasOwnProperty']('newValueJson')&&(_0x137c62['newValueJson']=_0x385631['newValueJson']),null!=_0x385631['wasUndone']&&_0x385631['hasOwnProperty']('wasUndone')&&(_0x137c62['wasUndone']=_0x385631['wasUndone']),_0x137c62;},_0x1f334d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe5521d['util']['toJSONOptions']);},_0x1f334d['getTypeUrl']=function(_0x48caf2){return void 0x0===_0x48caf2&&(_0x48caf2='type.googleapis.com'),_0x48caf2+'/AttributeOperation';},_0x1f334d;}()),_0x14376a['InsertOperation']=(function(){function _0x55fe8e(_0x5375a8){if(this['nodes']=[],_0x5375a8){for(var _0x5f284c=Object['keys'](_0x5375a8),_0x119f46=0x0;_0x119f46<_0x5f284c['length'];++_0x119f46)null!=_0x5375a8[_0x5f284c[_0x119f46]]&&(this[_0x5f284c[_0x119f46]]=_0x5375a8[_0x5f284c[_0x119f46]]);}}return _0x55fe8e['prototype']['position']=null,_0x55fe8e['prototype']['nodes']=_0xb388fc['emptyArray'],_0x55fe8e['prototype']['shouldReceiveAttributes']=!0x1,_0x55fe8e['prototype']['wasUndone']=!0x1,_0x55fe8e['create']=function(_0xadf9a4){return new _0x55fe8e(_0xadf9a4);},_0x55fe8e['encode']=function(_0x11ec0e,_0x3c7504){if(_0x3c7504||(_0x3c7504=_0x1892ef['create']()),null!=_0x11ec0e['position']&&Object['hasOwnProperty']['call'](_0x11ec0e,'position')&&_0x14376a['Position']['encode'](_0x11ec0e['position'],_0x3c7504['uint32'](0xa)['fork']())['ldelim'](),null!=_0x11ec0e['nodes']&&_0x11ec0e['nodes']['length']){for(var _0x537870=0x0;_0x537870<_0x11ec0e['nodes']['length'];++_0x537870)_0x14376a['Element']['encode'](_0x11ec0e['nodes'][_0x537870],_0x3c7504['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x11ec0e['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x11ec0e,'shouldReceiveAttributes')&&_0x3c7504['uint32'](0x18)['bool'](_0x11ec0e['shouldReceiveAttributes']),null!=_0x11ec0e['wasUndone']&&Object['hasOwnProperty']['call'](_0x11ec0e,'wasUndone')&&_0x3c7504['uint32'](0x20)['bool'](_0x11ec0e['wasUndone']),_0x3c7504;},_0x55fe8e['encodeDelimited']=function(_0xcf46c2,_0x4d713b){return this['encode'](_0xcf46c2,_0x4d713b)['ldelim']();},_0x55fe8e['decode']=function(_0x5f2250,_0x2192e1){_0x5f2250 instanceof _0xa2a576||(_0x5f2250=_0xa2a576['create'](_0x5f2250));for(var _0x38fdda=void 0x0===_0x2192e1?_0x5f2250['len']:_0x5f2250['pos']+_0x2192e1,_0x3cbe91=new _0x14376a['InsertOperation']();_0x5f2250['pos']<_0x38fdda;){var _0x541b41=_0x5f2250['uint32']();switch(_0x541b41>>>0x3){case 0x1:_0x3cbe91['position']=_0x14376a['Position']['decode'](_0x5f2250,_0x5f2250['uint32']());break;case 0x2:_0x3cbe91['nodes']&&_0x3cbe91['nodes']['length']||(_0x3cbe91['nodes']=[]),_0x3cbe91['nodes']['push'](_0x14376a['Element']['decode'](_0x5f2250,_0x5f2250['uint32']()));break;case 0x3:_0x3cbe91['shouldReceiveAttributes']=_0x5f2250['bool']();break;case 0x4:_0x3cbe91['wasUndone']=_0x5f2250['bool']();break;default:_0x5f2250['skipType'](0x7&_0x541b41);}}return _0x3cbe91;},_0x55fe8e['decodeDelimited']=function(_0x4c9428){return _0x4c9428 instanceof _0xa2a576||(_0x4c9428=new _0xa2a576(_0x4c9428)),this['decode'](_0x4c9428,_0x4c9428['uint32']());},_0x55fe8e['verify']=function(_0x5160fd){if('object'!=typeof _0x5160fd||null===_0x5160fd)return'object\x20expected';if(null!=_0x5160fd['position']&&_0x5160fd['hasOwnProperty']('position')&&(_0xea4737=_0x14376a['Position']['verify'](_0x5160fd['position'])))return'position.'+_0xea4737;if(null!=_0x5160fd['nodes']&&_0x5160fd['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x5160fd['nodes']))return'nodes:\x20array\x20expected';for(var _0x1736e1=0x0;_0x1736e1<_0x5160fd['nodes']['length'];++_0x1736e1){var _0xea4737;if(_0xea4737=_0x14376a['Element']['verify'](_0x5160fd['nodes'][_0x1736e1]))return'nodes.'+_0xea4737;}}return null!=_0x5160fd['shouldReceiveAttributes']&&_0x5160fd['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x5160fd['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x5160fd['wasUndone']&&_0x5160fd['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5160fd['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x55fe8e['fromObject']=function(_0xad0f7c){if(_0xad0f7c instanceof _0x14376a['InsertOperation'])return _0xad0f7c;var _0x158ef7=new _0x14376a['InsertOperation']();if(null!=_0xad0f7c['position']){if('object'!=typeof _0xad0f7c['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x158ef7['position']=_0x14376a['Position']['fromObject'](_0xad0f7c['position']);}if(_0xad0f7c['nodes']){if(!Array['isArray'](_0xad0f7c['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x158ef7['nodes']=[];for(var _0x534aaf=0x0;_0x534aaf<_0xad0f7c['nodes']['length'];++_0x534aaf){if('object'!=typeof _0xad0f7c['nodes'][_0x534aaf])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x158ef7['nodes'][_0x534aaf]=_0x14376a['Element']['fromObject'](_0xad0f7c['nodes'][_0x534aaf]);}}return null!=_0xad0f7c['shouldReceiveAttributes']&&(_0x158ef7['shouldReceiveAttributes']=Boolean(_0xad0f7c['shouldReceiveAttributes'])),null!=_0xad0f7c['wasUndone']&&(_0x158ef7['wasUndone']=Boolean(_0xad0f7c['wasUndone'])),_0x158ef7;},_0x55fe8e['toObject']=function(_0x22c44a,_0x2dde21){_0x2dde21||(_0x2dde21={});var _0x5d5f43={};if((_0x2dde21['arrays']||_0x2dde21['defaults'])&&(_0x5d5f43['nodes']=[]),_0x2dde21['defaults']&&(_0x5d5f43['position']=null,_0x5d5f43['shouldReceiveAttributes']=!0x1,_0x5d5f43['wasUndone']=!0x1),null!=_0x22c44a['position']&&_0x22c44a['hasOwnProperty']('position')&&(_0x5d5f43['position']=_0x14376a['Position']['toObject'](_0x22c44a['position'],_0x2dde21)),_0x22c44a['nodes']&&_0x22c44a['nodes']['length']){_0x5d5f43['nodes']=[];for(var _0x5f4632=0x0;_0x5f4632<_0x22c44a['nodes']['length'];++_0x5f4632)_0x5d5f43['nodes'][_0x5f4632]=_0x14376a['Element']['toObject'](_0x22c44a['nodes'][_0x5f4632],_0x2dde21);}return null!=_0x22c44a['shouldReceiveAttributes']&&_0x22c44a['hasOwnProperty']('shouldReceiveAttributes')&&(_0x5d5f43['shouldReceiveAttributes']=_0x22c44a['shouldReceiveAttributes']),null!=_0x22c44a['wasUndone']&&_0x22c44a['hasOwnProperty']('wasUndone')&&(_0x5d5f43['wasUndone']=_0x22c44a['wasUndone']),_0x5d5f43;},_0x55fe8e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe5521d['util']['toJSONOptions']);},_0x55fe8e['getTypeUrl']=function(_0x4102bf){return void 0x0===_0x4102bf&&(_0x4102bf='type.googleapis.com'),_0x4102bf+'/InsertOperation';},_0x55fe8e;}()),_0x14376a['MarkerOperation']=(function(){function _0x125ddb(_0x444715){if(_0x444715){for(var _0x5cf68c=Object['keys'](_0x444715),_0x57f512=0x0;_0x57f512<_0x5cf68c['length'];++_0x57f512)null!=_0x444715[_0x5cf68c[_0x57f512]]&&(this[_0x5cf68c[_0x57f512]]=_0x444715[_0x5cf68c[_0x57f512]]);}}return _0x125ddb['prototype']['name']='',_0x125ddb['prototype']['oldRange']=null,_0x125ddb['prototype']['newRange']=null,_0x125ddb['prototype']['affectsData']=!0x1,_0x125ddb['prototype']['wasUndone']=!0x1,_0x125ddb['create']=function(_0x329ca1){return new _0x125ddb(_0x329ca1);},_0x125ddb['encode']=function(_0x3393a8,_0x2d7232){return _0x2d7232||(_0x2d7232=_0x1892ef['create']()),null!=_0x3393a8['name']&&Object['hasOwnProperty']['call'](_0x3393a8,'name')&&_0x2d7232['uint32'](0xa)['string'](_0x3393a8['name']),null!=_0x3393a8['oldRange']&&Object['hasOwnProperty']['call'](_0x3393a8,'oldRange')&&_0x14376a['Range']['encode'](_0x3393a8['oldRange'],_0x2d7232['uint32'](0x12)['fork']())['ldelim'](),null!=_0x3393a8['newRange']&&Object['hasOwnProperty']['call'](_0x3393a8,'newRange')&&_0x14376a['Range']['encode'](_0x3393a8['newRange'],_0x2d7232['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x3393a8['affectsData']&&Object['hasOwnProperty']['call'](_0x3393a8,'affectsData')&&_0x2d7232['uint32'](0x20)['bool'](_0x3393a8['affectsData']),null!=_0x3393a8['wasUndone']&&Object['hasOwnProperty']['call'](_0x3393a8,'wasUndone')&&_0x2d7232['uint32'](0x28)['bool'](_0x3393a8['wasUndone']),_0x2d7232;},_0x125ddb['encodeDelimited']=function(_0x28eabd,_0xcff2c9){return this['encode'](_0x28eabd,_0xcff2c9)['ldelim']();},_0x125ddb['decode']=function(_0x2d16d8,_0x5eab69){_0x2d16d8 instanceof _0xa2a576||(_0x2d16d8=_0xa2a576['create'](_0x2d16d8));for(var _0x493043=void 0x0===_0x5eab69?_0x2d16d8['len']:_0x2d16d8['pos']+_0x5eab69,_0x4ad7db=new _0x14376a['MarkerOperation']();_0x2d16d8['pos']<_0x493043;){var _0x8868ad=_0x2d16d8['uint32']();switch(_0x8868ad>>>0x3){case 0x1:_0x4ad7db['name']=_0x2d16d8['string']();break;case 0x2:_0x4ad7db['oldRange']=_0x14376a['Range']['decode'](_0x2d16d8,_0x2d16d8['uint32']());break;case 0x3:_0x4ad7db['newRange']=_0x14376a['Range']['decode'](_0x2d16d8,_0x2d16d8['uint32']());break;case 0x4:_0x4ad7db['affectsData']=_0x2d16d8['bool']();break;case 0x5:_0x4ad7db['wasUndone']=_0x2d16d8['bool']();break;default:_0x2d16d8['skipType'](0x7&_0x8868ad);}}return _0x4ad7db;},_0x125ddb['decodeDelimited']=function(_0x301f80){return _0x301f80 instanceof _0xa2a576||(_0x301f80=new _0xa2a576(_0x301f80)),this['decode'](_0x301f80,_0x301f80['uint32']());},_0x125ddb['verify']=function(_0x2ca047){if('object'!=typeof _0x2ca047||null===_0x2ca047)return'object\x20expected';if(null!=_0x2ca047['name']&&_0x2ca047['hasOwnProperty']('name')&&!_0xb388fc['isString'](_0x2ca047['name']))return'name:\x20string\x20expected';var _0x361af9;if(null!=_0x2ca047['oldRange']&&_0x2ca047['hasOwnProperty']('oldRange')&&(_0x361af9=_0x14376a['Range']['verify'](_0x2ca047['oldRange'])))return'oldRange.'+_0x361af9;if(null!=_0x2ca047['newRange']&&_0x2ca047['hasOwnProperty']('newRange')&&(_0x361af9=_0x14376a['Range']['verify'](_0x2ca047['newRange'])))return'newRange.'+_0x361af9;return null!=_0x2ca047['affectsData']&&_0x2ca047['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x2ca047['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x2ca047['wasUndone']&&_0x2ca047['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x2ca047['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x125ddb['fromObject']=function(_0x3b301b){if(_0x3b301b instanceof _0x14376a['MarkerOperation'])return _0x3b301b;var _0x3d01d9=new _0x14376a['MarkerOperation']();if(null!=_0x3b301b['name']&&(_0x3d01d9['name']=String(_0x3b301b['name'])),null!=_0x3b301b['oldRange']){if('object'!=typeof _0x3b301b['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x3d01d9['oldRange']=_0x14376a['Range']['fromObject'](_0x3b301b['oldRange']);}if(null!=_0x3b301b['newRange']){if('object'!=typeof _0x3b301b['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x3d01d9['newRange']=_0x14376a['Range']['fromObject'](_0x3b301b['newRange']);}return null!=_0x3b301b['affectsData']&&(_0x3d01d9['affectsData']=Boolean(_0x3b301b['affectsData'])),null!=_0x3b301b['wasUndone']&&(_0x3d01d9['wasUndone']=Boolean(_0x3b301b['wasUndone'])),_0x3d01d9;},_0x125ddb['toObject']=function(_0x4fb89e,_0x172111){_0x172111||(_0x172111={});var _0x40876b={};return _0x172111['defaults']&&(_0x40876b['name']='',_0x40876b['oldRange']=null,_0x40876b['newRange']=null,_0x40876b['affectsData']=!0x1,_0x40876b['wasUndone']=!0x1),null!=_0x4fb89e['name']&&_0x4fb89e['hasOwnProperty']('name')&&(_0x40876b['name']=_0x4fb89e['name']),null!=_0x4fb89e['oldRange']&&_0x4fb89e['hasOwnProperty']('oldRange')&&(_0x40876b['oldRange']=_0x14376a['Range']['toObject'](_0x4fb89e['oldRange'],_0x172111)),null!=_0x4fb89e['newRange']&&_0x4fb89e['hasOwnProperty']('newRange')&&(_0x40876b['newRange']=_0x14376a['Range']['toObject'](_0x4fb89e['newRange'],_0x172111)),null!=_0x4fb89e['affectsData']&&_0x4fb89e['hasOwnProperty']('affectsData')&&(_0x40876b['affectsData']=_0x4fb89e['affectsData']),null!=_0x4fb89e['wasUndone']&&_0x4fb89e['hasOwnProperty']('wasUndone')&&(_0x40876b['wasUndone']=_0x4fb89e['wasUndone']),_0x40876b;},_0x125ddb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe5521d['util']['toJSONOptions']);},_0x125ddb['getTypeUrl']=function(_0x552a0e){return void 0x0===_0x552a0e&&(_0x552a0e='type.googleapis.com'),_0x552a0e+'/MarkerOperation';},_0x125ddb;}()),_0x14376a['MergeOperation']=(function(){function _0x91707f(_0x119f19){if(_0x119f19){for(var _0x4b2956=Object['keys'](_0x119f19),_0x3cced6=0x0;_0x3cced6<_0x4b2956['length'];++_0x3cced6)null!=_0x119f19[_0x4b2956[_0x3cced6]]&&(this[_0x4b2956[_0x3cced6]]=_0x119f19[_0x4b2956[_0x3cced6]]);}}return _0x91707f['prototype']['sourcePosition']=null,_0x91707f['prototype']['targetPosition']=null,_0x91707f['prototype']['graveyardPosition']=null,_0x91707f['prototype']['howMany']=0x0,_0x91707f['prototype']['wasUndone']=!0x1,_0x91707f['create']=function(_0x1c14f5){return new _0x91707f(_0x1c14f5);},_0x91707f['encode']=function(_0x21d126,_0x306b43){return _0x306b43||(_0x306b43=_0x1892ef['create']()),null!=_0x21d126['sourcePosition']&&Object['hasOwnProperty']['call'](_0x21d126,'sourcePosition')&&_0x14376a['Position']['encode'](_0x21d126['sourcePosition'],_0x306b43['uint32'](0xa)['fork']())['ldelim'](),null!=_0x21d126['targetPosition']&&Object['hasOwnProperty']['call'](_0x21d126,'targetPosition')&&_0x14376a['Position']['encode'](_0x21d126['targetPosition'],_0x306b43['uint32'](0x12)['fork']())['ldelim'](),null!=_0x21d126['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x21d126,'graveyardPosition')&&_0x14376a['Position']['encode'](_0x21d126['graveyardPosition'],_0x306b43['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x21d126['howMany']&&Object['hasOwnProperty']['call'](_0x21d126,'howMany')&&_0x306b43['uint32'](0x20)['uint32'](_0x21d126['howMany']),null!=_0x21d126['wasUndone']&&Object['hasOwnProperty']['call'](_0x21d126,'wasUndone')&&_0x306b43['uint32'](0x28)['bool'](_0x21d126['wasUndone']),_0x306b43;},_0x91707f['encodeDelimited']=function(_0x1f13fb,_0x1f6b98){return this['encode'](_0x1f13fb,_0x1f6b98)['ldelim']();},_0x91707f['decode']=function(_0x206381,_0x4d86d9){_0x206381 instanceof _0xa2a576||(_0x206381=_0xa2a576['create'](_0x206381));for(var _0x5cad5a=void 0x0===_0x4d86d9?_0x206381['len']:_0x206381['pos']+_0x4d86d9,_0x176c6e=new _0x14376a['MergeOperation']();_0x206381['pos']<_0x5cad5a;){var _0x20e22a=_0x206381['uint32']();switch(_0x20e22a>>>0x3){case 0x1:_0x176c6e['sourcePosition']=_0x14376a['Position']['decode'](_0x206381,_0x206381['uint32']());break;case 0x2:_0x176c6e['targetPosition']=_0x14376a['Position']['decode'](_0x206381,_0x206381['uint32']());break;case 0x3:_0x176c6e['graveyardPosition']=_0x14376a['Position']['decode'](_0x206381,_0x206381['uint32']());break;case 0x4:_0x176c6e['howMany']=_0x206381['uint32']();break;case 0x5:_0x176c6e['wasUndone']=_0x206381['bool']();break;default:_0x206381['skipType'](0x7&_0x20e22a);}}return _0x176c6e;},_0x91707f['decodeDelimited']=function(_0x11caef){return _0x11caef instanceof _0xa2a576||(_0x11caef=new _0xa2a576(_0x11caef)),this['decode'](_0x11caef,_0x11caef['uint32']());},_0x91707f['verify']=function(_0x100a90){if('object'!=typeof _0x100a90||null===_0x100a90)return'object\x20expected';var _0x3beed7;if(null!=_0x100a90['sourcePosition']&&_0x100a90['hasOwnProperty']('sourcePosition')&&(_0x3beed7=_0x14376a['Position']['verify'](_0x100a90['sourcePosition'])))return'sourcePosition.'+_0x3beed7;if(null!=_0x100a90['targetPosition']&&_0x100a90['hasOwnProperty']('targetPosition')&&(_0x3beed7=_0x14376a['Position']['verify'](_0x100a90['targetPosition'])))return'targetPosition.'+_0x3beed7;if(null!=_0x100a90['graveyardPosition']&&_0x100a90['hasOwnProperty']('graveyardPosition')&&(_0x3beed7=_0x14376a['Position']['verify'](_0x100a90['graveyardPosition'])))return'graveyardPosition.'+_0x3beed7;return null!=_0x100a90['howMany']&&_0x100a90['hasOwnProperty']('howMany')&&!_0xb388fc['isInteger'](_0x100a90['howMany'])?'howMany:\x20integer\x20expected':null!=_0x100a90['wasUndone']&&_0x100a90['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x100a90['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x91707f['fromObject']=function(_0x113385){if(_0x113385 instanceof _0x14376a['MergeOperation'])return _0x113385;var _0x10b0dd=new _0x14376a['MergeOperation']();if(null!=_0x113385['sourcePosition']){if('object'!=typeof _0x113385['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x10b0dd['sourcePosition']=_0x14376a['Position']['fromObject'](_0x113385['sourcePosition']);}if(null!=_0x113385['targetPosition']){if('object'!=typeof _0x113385['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x10b0dd['targetPosition']=_0x14376a['Position']['fromObject'](_0x113385['targetPosition']);}if(null!=_0x113385['graveyardPosition']){if('object'!=typeof _0x113385['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x10b0dd['graveyardPosition']=_0x14376a['Position']['fromObject'](_0x113385['graveyardPosition']);}return null!=_0x113385['howMany']&&(_0x10b0dd['howMany']=_0x113385['howMany']>>>0x0),null!=_0x113385['wasUndone']&&(_0x10b0dd['wasUndone']=Boolean(_0x113385['wasUndone'])),_0x10b0dd;},_0x91707f['toObject']=function(_0x323546,_0x174b4c){_0x174b4c||(_0x174b4c={});var _0x72e61d={};return _0x174b4c['defaults']&&(_0x72e61d['sourcePosition']=null,_0x72e61d['targetPosition']=null,_0x72e61d['graveyardPosition']=null,_0x72e61d['howMany']=0x0,_0x72e61d['wasUndone']=!0x1),null!=_0x323546['sourcePosition']&&_0x323546['hasOwnProperty']('sourcePosition')&&(_0x72e61d['sourcePosition']=_0x14376a['Position']['toObject'](_0x323546['sourcePosition'],_0x174b4c)),null!=_0x323546['targetPosition']&&_0x323546['hasOwnProperty']('targetPosition')&&(_0x72e61d['targetPosition']=_0x14376a['Position']['toObject'](_0x323546['targetPosition'],_0x174b4c)),null!=_0x323546['graveyardPosition']&&_0x323546['hasOwnProperty']('graveyardPosition')&&(_0x72e61d['graveyardPosition']=_0x14376a['Position']['toObject'](_0x323546['graveyardPosition'],_0x174b4c)),null!=_0x323546['howMany']&&_0x323546['hasOwnProperty']('howMany')&&(_0x72e61d['howMany']=_0x323546['howMany']),null!=_0x323546['wasUndone']&&_0x323546['hasOwnProperty']('wasUndone')&&(_0x72e61d['wasUndone']=_0x323546['wasUndone']),_0x72e61d;},_0x91707f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe5521d['util']['toJSONOptions']);},_0x91707f['getTypeUrl']=function(_0x4c4d7e){return void 0x0===_0x4c4d7e&&(_0x4c4d7e='type.googleapis.com'),_0x4c4d7e+'/MergeOperation';},_0x91707f;}()),_0x14376a['MoveOperation']=(function(){function _0x10051b(_0x38fa11){if(_0x38fa11){for(var _0x50dfb0=Object['keys'](_0x38fa11),_0x3870d4=0x0;_0x3870d4<_0x50dfb0['length'];++_0x3870d4)null!=_0x38fa11[_0x50dfb0[_0x3870d4]]&&(this[_0x50dfb0[_0x3870d4]]=_0x38fa11[_0x50dfb0[_0x3870d4]]);}}return _0x10051b['prototype']['sourcePosition']=null,_0x10051b['prototype']['howMany']=0x0,_0x10051b['prototype']['targetPosition']=null,_0x10051b['prototype']['wasUndone']=!0x1,_0x10051b['create']=function(_0x55ebc2){return new _0x10051b(_0x55ebc2);},_0x10051b['encode']=function(_0x59b154,_0x44e1d6){return _0x44e1d6||(_0x44e1d6=_0x1892ef['create']()),null!=_0x59b154['sourcePosition']&&Object['hasOwnProperty']['call'](_0x59b154,'sourcePosition')&&_0x14376a['Position']['encode'](_0x59b154['sourcePosition'],_0x44e1d6['uint32'](0xa)['fork']())['ldelim'](),null!=_0x59b154['howMany']&&Object['hasOwnProperty']['call'](_0x59b154,'howMany')&&_0x44e1d6['uint32'](0x10)['uint32'](_0x59b154['howMany']),null!=_0x59b154['targetPosition']&&Object['hasOwnProperty']['call'](_0x59b154,'targetPosition')&&_0x14376a['Position']['encode'](_0x59b154['targetPosition'],_0x44e1d6['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x59b154['wasUndone']&&Object['hasOwnProperty']['call'](_0x59b154,'wasUndone')&&_0x44e1d6['uint32'](0x20)['bool'](_0x59b154['wasUndone']),_0x44e1d6;},_0x10051b['encodeDelimited']=function(_0x3eb3f3,_0x41457c){return this['encode'](_0x3eb3f3,_0x41457c)['ldelim']();},_0x10051b['decode']=function(_0x14d23f,_0x2613d5){_0x14d23f instanceof _0xa2a576||(_0x14d23f=_0xa2a576['create'](_0x14d23f));for(var _0x1a4497=void 0x0===_0x2613d5?_0x14d23f['len']:_0x14d23f['pos']+_0x2613d5,_0x5b6b29=new _0x14376a['MoveOperation']();_0x14d23f['pos']<_0x1a4497;){var _0x4fce34=_0x14d23f['uint32']();switch(_0x4fce34>>>0x3){case 0x1:_0x5b6b29['sourcePosition']=_0x14376a['Position']['decode'](_0x14d23f,_0x14d23f['uint32']());break;case 0x2:_0x5b6b29['howMany']=_0x14d23f['uint32']();break;case 0x3:_0x5b6b29['targetPosition']=_0x14376a['Position']['decode'](_0x14d23f,_0x14d23f['uint32']());break;case 0x4:_0x5b6b29['wasUndone']=_0x14d23f['bool']();break;default:_0x14d23f['skipType'](0x7&_0x4fce34);}}return _0x5b6b29;},_0x10051b['decodeDelimited']=function(_0xe66bb5){return _0xe66bb5 instanceof _0xa2a576||(_0xe66bb5=new _0xa2a576(_0xe66bb5)),this['decode'](_0xe66bb5,_0xe66bb5['uint32']());},_0x10051b['verify']=function(_0x1b950f){if('object'!=typeof _0x1b950f||null===_0x1b950f)return'object\x20expected';var _0x206550;if(null!=_0x1b950f['sourcePosition']&&_0x1b950f['hasOwnProperty']('sourcePosition')&&(_0x206550=_0x14376a['Position']['verify'](_0x1b950f['sourcePosition'])))return'sourcePosition.'+_0x206550;if(null!=_0x1b950f['howMany']&&_0x1b950f['hasOwnProperty']('howMany')&&!_0xb388fc['isInteger'](_0x1b950f['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x1b950f['targetPosition']&&_0x1b950f['hasOwnProperty']('targetPosition')&&(_0x206550=_0x14376a['Position']['verify'](_0x1b950f['targetPosition'])))return'targetPosition.'+_0x206550;return null!=_0x1b950f['wasUndone']&&_0x1b950f['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1b950f['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x10051b['fromObject']=function(_0x196703){if(_0x196703 instanceof _0x14376a['MoveOperation'])return _0x196703;var _0x2a47cc=new _0x14376a['MoveOperation']();if(null!=_0x196703['sourcePosition']){if('object'!=typeof _0x196703['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x2a47cc['sourcePosition']=_0x14376a['Position']['fromObject'](_0x196703['sourcePosition']);}if(null!=_0x196703['howMany']&&(_0x2a47cc['howMany']=_0x196703['howMany']>>>0x0),null!=_0x196703['targetPosition']){if('object'!=typeof _0x196703['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x2a47cc['targetPosition']=_0x14376a['Position']['fromObject'](_0x196703['targetPosition']);}return null!=_0x196703['wasUndone']&&(_0x2a47cc['wasUndone']=Boolean(_0x196703['wasUndone'])),_0x2a47cc;},_0x10051b['toObject']=function(_0x3cb2a2,_0x1cc6b8){_0x1cc6b8||(_0x1cc6b8={});var _0x480947={};return _0x1cc6b8['defaults']&&(_0x480947['sourcePosition']=null,_0x480947['howMany']=0x0,_0x480947['targetPosition']=null,_0x480947['wasUndone']=!0x1),null!=_0x3cb2a2['sourcePosition']&&_0x3cb2a2['hasOwnProperty']('sourcePosition')&&(_0x480947['sourcePosition']=_0x14376a['Position']['toObject'](_0x3cb2a2['sourcePosition'],_0x1cc6b8)),null!=_0x3cb2a2['howMany']&&_0x3cb2a2['hasOwnProperty']('howMany')&&(_0x480947['howMany']=_0x3cb2a2['howMany']),null!=_0x3cb2a2['targetPosition']&&_0x3cb2a2['hasOwnProperty']('targetPosition')&&(_0x480947['targetPosition']=_0x14376a['Position']['toObject'](_0x3cb2a2['targetPosition'],_0x1cc6b8)),null!=_0x3cb2a2['wasUndone']&&_0x3cb2a2['hasOwnProperty']('wasUndone')&&(_0x480947['wasUndone']=_0x3cb2a2['wasUndone']),_0x480947;},_0x10051b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe5521d['util']['toJSONOptions']);},_0x10051b['getTypeUrl']=function(_0x17b49e){return void 0x0===_0x17b49e&&(_0x17b49e='type.googleapis.com'),_0x17b49e+'/MoveOperation';},_0x10051b;}()),_0x14376a['RenameOperation']=(function(){function _0x447cd0(_0x51e6b7){if(_0x51e6b7){for(var _0x354432=Object['keys'](_0x51e6b7),_0xbec15f=0x0;_0xbec15f<_0x354432['length'];++_0xbec15f)null!=_0x51e6b7[_0x354432[_0xbec15f]]&&(this[_0x354432[_0xbec15f]]=_0x51e6b7[_0x354432[_0xbec15f]]);}}return _0x447cd0['prototype']['position']=null,_0x447cd0['prototype']['oldName']='',_0x447cd0['prototype']['newName']='',_0x447cd0['prototype']['wasUndone']=!0x1,_0x447cd0['create']=function(_0x1a5f99){return new _0x447cd0(_0x1a5f99);},_0x447cd0['encode']=function(_0x582e05,_0x1edc25){return _0x1edc25||(_0x1edc25=_0x1892ef['create']()),null!=_0x582e05['position']&&Object['hasOwnProperty']['call'](_0x582e05,'position')&&_0x14376a['Position']['encode'](_0x582e05['position'],_0x1edc25['uint32'](0xa)['fork']())['ldelim'](),null!=_0x582e05['oldName']&&Object['hasOwnProperty']['call'](_0x582e05,'oldName')&&_0x1edc25['uint32'](0x12)['string'](_0x582e05['oldName']),null!=_0x582e05['newName']&&Object['hasOwnProperty']['call'](_0x582e05,'newName')&&_0x1edc25['uint32'](0x1a)['string'](_0x582e05['newName']),null!=_0x582e05['wasUndone']&&Object['hasOwnProperty']['call'](_0x582e05,'wasUndone')&&_0x1edc25['uint32'](0x20)['bool'](_0x582e05['wasUndone']),_0x1edc25;},_0x447cd0['encodeDelimited']=function(_0x53720f,_0xd7ee5b){return this['encode'](_0x53720f,_0xd7ee5b)['ldelim']();},_0x447cd0['decode']=function(_0x3ee237,_0x23fed5){_0x3ee237 instanceof _0xa2a576||(_0x3ee237=_0xa2a576['create'](_0x3ee237));for(var _0x831348=void 0x0===_0x23fed5?_0x3ee237['len']:_0x3ee237['pos']+_0x23fed5,_0x414043=new _0x14376a['RenameOperation']();_0x3ee237['pos']<_0x831348;){var _0x25abe6=_0x3ee237['uint32']();switch(_0x25abe6>>>0x3){case 0x1:_0x414043['position']=_0x14376a['Position']['decode'](_0x3ee237,_0x3ee237['uint32']());break;case 0x2:_0x414043['oldName']=_0x3ee237['string']();break;case 0x3:_0x414043['newName']=_0x3ee237['string']();break;case 0x4:_0x414043['wasUndone']=_0x3ee237['bool']();break;default:_0x3ee237['skipType'](0x7&_0x25abe6);}}return _0x414043;},_0x447cd0['decodeDelimited']=function(_0x5e03f3){return _0x5e03f3 instanceof _0xa2a576||(_0x5e03f3=new _0xa2a576(_0x5e03f3)),this['decode'](_0x5e03f3,_0x5e03f3['uint32']());},_0x447cd0['verify']=function(_0xa150c7){if('object'!=typeof _0xa150c7||null===_0xa150c7)return'object\x20expected';if(null!=_0xa150c7['position']&&_0xa150c7['hasOwnProperty']('position')){var _0x3494d6=_0x14376a['Position']['verify'](_0xa150c7['position']);if(_0x3494d6)return'position.'+_0x3494d6;}return null!=_0xa150c7['oldName']&&_0xa150c7['hasOwnProperty']('oldName')&&!_0xb388fc['isString'](_0xa150c7['oldName'])?'oldName:\x20string\x20expected':null!=_0xa150c7['newName']&&_0xa150c7['hasOwnProperty']('newName')&&!_0xb388fc['isString'](_0xa150c7['newName'])?'newName:\x20string\x20expected':null!=_0xa150c7['wasUndone']&&_0xa150c7['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xa150c7['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x447cd0['fromObject']=function(_0x4d22b5){if(_0x4d22b5 instanceof _0x14376a['RenameOperation'])return _0x4d22b5;var _0x470c1a=new _0x14376a['RenameOperation']();if(null!=_0x4d22b5['position']){if('object'!=typeof _0x4d22b5['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x470c1a['position']=_0x14376a['Position']['fromObject'](_0x4d22b5['position']);}return null!=_0x4d22b5['oldName']&&(_0x470c1a['oldName']=String(_0x4d22b5['oldName'])),null!=_0x4d22b5['newName']&&(_0x470c1a['newName']=String(_0x4d22b5['newName'])),null!=_0x4d22b5['wasUndone']&&(_0x470c1a['wasUndone']=Boolean(_0x4d22b5['wasUndone'])),_0x470c1a;},_0x447cd0['toObject']=function(_0x1ee22f,_0x13c5ce){_0x13c5ce||(_0x13c5ce={});var _0x3c53aa={};return _0x13c5ce['defaults']&&(_0x3c53aa['position']=null,_0x3c53aa['oldName']='',_0x3c53aa['newName']='',_0x3c53aa['wasUndone']=!0x1),null!=_0x1ee22f['position']&&_0x1ee22f['hasOwnProperty']('position')&&(_0x3c53aa['position']=_0x14376a['Position']['toObject'](_0x1ee22f['position'],_0x13c5ce)),null!=_0x1ee22f['oldName']&&_0x1ee22f['hasOwnProperty']('oldName')&&(_0x3c53aa['oldName']=_0x1ee22f['oldName']),null!=_0x1ee22f['newName']&&_0x1ee22f['hasOwnProperty']('newName')&&(_0x3c53aa['newName']=_0x1ee22f['newName']),null!=_0x1ee22f['wasUndone']&&_0x1ee22f['hasOwnProperty']('wasUndone')&&(_0x3c53aa['wasUndone']=_0x1ee22f['wasUndone']),_0x3c53aa;},_0x447cd0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe5521d['util']['toJSONOptions']);},_0x447cd0['getTypeUrl']=function(_0x247235){return void 0x0===_0x247235&&(_0x247235='type.googleapis.com'),_0x247235+'/RenameOperation';},_0x447cd0;}()),_0x14376a['RootAttributeOperation']=(function(){function _0xf28e31(_0x1bccdd){if(_0x1bccdd){for(var _0x4bc41e=Object['keys'](_0x1bccdd),_0x54d8bd=0x0;_0x54d8bd<_0x4bc41e['length'];++_0x54d8bd)null!=_0x1bccdd[_0x4bc41e[_0x54d8bd]]&&(this[_0x4bc41e[_0x54d8bd]]=_0x1bccdd[_0x4bc41e[_0x54d8bd]]);}}return _0xf28e31['prototype']['root']='',_0xf28e31['prototype']['key']='',_0xf28e31['prototype']['oldValueBoolean']=!0x1,_0xf28e31['prototype']['oldValueJson']='',_0xf28e31['prototype']['newValueBoolean']=!0x1,_0xf28e31['prototype']['newValueJson']='',_0xf28e31['prototype']['wasUndone']=!0x1,_0xf28e31['create']=function(_0x280d2c){return new _0xf28e31(_0x280d2c);},_0xf28e31['encode']=function(_0x115f5b,_0x1991cc){return _0x1991cc||(_0x1991cc=_0x1892ef['create']()),null!=_0x115f5b['root']&&Object['hasOwnProperty']['call'](_0x115f5b,'root')&&_0x1991cc['uint32'](0xa)['string'](_0x115f5b['root']),null!=_0x115f5b['key']&&Object['hasOwnProperty']['call'](_0x115f5b,'key')&&_0x1991cc['uint32'](0x12)['string'](_0x115f5b['key']),null!=_0x115f5b['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x115f5b,'oldValueBoolean')&&_0x1991cc['uint32'](0x18)['bool'](_0x115f5b['oldValueBoolean']),null!=_0x115f5b['oldValueJson']&&Object['hasOwnProperty']['call'](_0x115f5b,'oldValueJson')&&_0x1991cc['uint32'](0x22)['string'](_0x115f5b['oldValueJson']),null!=_0x115f5b['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x115f5b,'newValueBoolean')&&_0x1991cc['uint32'](0x28)['bool'](_0x115f5b['newValueBoolean']),null!=_0x115f5b['newValueJson']&&Object['hasOwnProperty']['call'](_0x115f5b,'newValueJson')&&_0x1991cc['uint32'](0x32)['string'](_0x115f5b['newValueJson']),null!=_0x115f5b['wasUndone']&&Object['hasOwnProperty']['call'](_0x115f5b,'wasUndone')&&_0x1991cc['uint32'](0x38)['bool'](_0x115f5b['wasUndone']),_0x1991cc;},_0xf28e31['encodeDelimited']=function(_0x346988,_0x20f7ba){return this['encode'](_0x346988,_0x20f7ba)['ldelim']();},_0xf28e31['decode']=function(_0x421e04,_0x26f527){_0x421e04 instanceof _0xa2a576||(_0x421e04=_0xa2a576['create'](_0x421e04));for(var _0x195012=void 0x0===_0x26f527?_0x421e04['len']:_0x421e04['pos']+_0x26f527,_0x1de2dd=new _0x14376a['RootAttributeOperation']();_0x421e04['pos']<_0x195012;){var _0x5095df=_0x421e04['uint32']();switch(_0x5095df>>>0x3){case 0x1:_0x1de2dd['root']=_0x421e04['string']();break;case 0x2:_0x1de2dd['key']=_0x421e04['string']();break;case 0x3:_0x1de2dd['oldValueBoolean']=_0x421e04['bool']();break;case 0x4:_0x1de2dd['oldValueJson']=_0x421e04['string']();break;case 0x5:_0x1de2dd['newValueBoolean']=_0x421e04['bool']();break;case 0x6:_0x1de2dd['newValueJson']=_0x421e04['string']();break;case 0x7:_0x1de2dd['wasUndone']=_0x421e04['bool']();break;default:_0x421e04['skipType'](0x7&_0x5095df);}}return _0x1de2dd;},_0xf28e31['decodeDelimited']=function(_0x10ce83){return _0x10ce83 instanceof _0xa2a576||(_0x10ce83=new _0xa2a576(_0x10ce83)),this['decode'](_0x10ce83,_0x10ce83['uint32']());},_0xf28e31['verify']=function(_0x4ad473){return'object'!=typeof _0x4ad473||null===_0x4ad473?'object\x20expected':null!=_0x4ad473['root']&&_0x4ad473['hasOwnProperty']('root')&&!_0xb388fc['isString'](_0x4ad473['root'])?'root:\x20string\x20expected':null!=_0x4ad473['key']&&_0x4ad473['hasOwnProperty']('key')&&!_0xb388fc['isString'](_0x4ad473['key'])?'key:\x20string\x20expected':null!=_0x4ad473['oldValueBoolean']&&_0x4ad473['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x4ad473['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x4ad473['oldValueJson']&&_0x4ad473['hasOwnProperty']('oldValueJson')&&!_0xb388fc['isString'](_0x4ad473['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x4ad473['newValueBoolean']&&_0x4ad473['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x4ad473['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x4ad473['newValueJson']&&_0x4ad473['hasOwnProperty']('newValueJson')&&!_0xb388fc['isString'](_0x4ad473['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x4ad473['wasUndone']&&_0x4ad473['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x4ad473['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0xf28e31['fromObject']=function(_0x493914){if(_0x493914 instanceof _0x14376a['RootAttributeOperation'])return _0x493914;var _0x4448c8=new _0x14376a['RootAttributeOperation']();return null!=_0x493914['root']&&(_0x4448c8['root']=String(_0x493914['root'])),null!=_0x493914['key']&&(_0x4448c8['key']=String(_0x493914['key'])),null!=_0x493914['oldValueBoolean']&&(_0x4448c8['oldValueBoolean']=Boolean(_0x493914['oldValueBoolean'])),null!=_0x493914['oldValueJson']&&(_0x4448c8['oldValueJson']=String(_0x493914['oldValueJson'])),null!=_0x493914['newValueBoolean']&&(_0x4448c8['newValueBoolean']=Boolean(_0x493914['newValueBoolean'])),null!=_0x493914['newValueJson']&&(_0x4448c8['newValueJson']=String(_0x493914['newValueJson'])),null!=_0x493914['wasUndone']&&(_0x4448c8['wasUndone']=Boolean(_0x493914['wasUndone'])),_0x4448c8;},_0xf28e31['toObject']=function(_0x240120,_0x1233c7){_0x1233c7||(_0x1233c7={});var _0x2d2eca={};return _0x1233c7['defaults']&&(_0x2d2eca['root']='',_0x2d2eca['key']='',_0x2d2eca['oldValueBoolean']=!0x1,_0x2d2eca['oldValueJson']='',_0x2d2eca['newValueBoolean']=!0x1,_0x2d2eca['newValueJson']='',_0x2d2eca['wasUndone']=!0x1),null!=_0x240120['root']&&_0x240120['hasOwnProperty']('root')&&(_0x2d2eca['root']=_0x240120['root']),null!=_0x240120['key']&&_0x240120['hasOwnProperty']('key')&&(_0x2d2eca['key']=_0x240120['key']),null!=_0x240120['oldValueBoolean']&&_0x240120['hasOwnProperty']('oldValueBoolean')&&(_0x2d2eca['oldValueBoolean']=_0x240120['oldValueBoolean']),null!=_0x240120['oldValueJson']&&_0x240120['hasOwnProperty']('oldValueJson')&&(_0x2d2eca['oldValueJson']=_0x240120['oldValueJson']),null!=_0x240120['newValueBoolean']&&_0x240120['hasOwnProperty']('newValueBoolean')&&(_0x2d2eca['newValueBoolean']=_0x240120['newValueBoolean']),null!=_0x240120['newValueJson']&&_0x240120['hasOwnProperty']('newValueJson')&&(_0x2d2eca['newValueJson']=_0x240120['newValueJson']),null!=_0x240120['wasUndone']&&_0x240120['hasOwnProperty']('wasUndone')&&(_0x2d2eca['wasUndone']=_0x240120['wasUndone']),_0x2d2eca;},_0xf28e31['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe5521d['util']['toJSONOptions']);},_0xf28e31['getTypeUrl']=function(_0x1eb642){return void 0x0===_0x1eb642&&(_0x1eb642='type.googleapis.com'),_0x1eb642+'/RootAttributeOperation';},_0xf28e31;}()),_0x14376a['RootOperation']=(function(){function _0x2fb1a5(_0x2c1e5d){if(_0x2c1e5d){for(var _0x3d4a5c=Object['keys'](_0x2c1e5d),_0x4f98a6=0x0;_0x4f98a6<_0x3d4a5c['length'];++_0x4f98a6)null!=_0x2c1e5d[_0x3d4a5c[_0x4f98a6]]&&(this[_0x3d4a5c[_0x4f98a6]]=_0x2c1e5d[_0x3d4a5c[_0x4f98a6]]);}}return _0x2fb1a5['prototype']['rootName']='',_0x2fb1a5['prototype']['elementName']='',_0x2fb1a5['prototype']['isAdd']=!0x1,_0x2fb1a5['prototype']['wasUndone']=!0x1,_0x2fb1a5['create']=function(_0x382431){return new _0x2fb1a5(_0x382431);},_0x2fb1a5['encode']=function(_0x4fa213,_0xd52d4){return _0xd52d4||(_0xd52d4=_0x1892ef['create']()),null!=_0x4fa213['rootName']&&Object['hasOwnProperty']['call'](_0x4fa213,'rootName')&&_0xd52d4['uint32'](0xa)['string'](_0x4fa213['rootName']),null!=_0x4fa213['elementName']&&Object['hasOwnProperty']['call'](_0x4fa213,'elementName')&&_0xd52d4['uint32'](0x12)['string'](_0x4fa213['elementName']),null!=_0x4fa213['isAdd']&&Object['hasOwnProperty']['call'](_0x4fa213,'isAdd')&&_0xd52d4['uint32'](0x18)['bool'](_0x4fa213['isAdd']),null!=_0x4fa213['wasUndone']&&Object['hasOwnProperty']['call'](_0x4fa213,'wasUndone')&&_0xd52d4['uint32'](0x20)['bool'](_0x4fa213['wasUndone']),_0xd52d4;},_0x2fb1a5['encodeDelimited']=function(_0x49bee6,_0x39674e){return this['encode'](_0x49bee6,_0x39674e)['ldelim']();},_0x2fb1a5['decode']=function(_0x2d01fa,_0x396260){_0x2d01fa instanceof _0xa2a576||(_0x2d01fa=_0xa2a576['create'](_0x2d01fa));for(var _0x535ebf=void 0x0===_0x396260?_0x2d01fa['len']:_0x2d01fa['pos']+_0x396260,_0x486c07=new _0x14376a['RootOperation']();_0x2d01fa['pos']<_0x535ebf;){var _0x33f916=_0x2d01fa['uint32']();switch(_0x33f916>>>0x3){case 0x1:_0x486c07['rootName']=_0x2d01fa['string']();break;case 0x2:_0x486c07['elementName']=_0x2d01fa['string']();break;case 0x3:_0x486c07['isAdd']=_0x2d01fa['bool']();break;case 0x4:_0x486c07['wasUndone']=_0x2d01fa['bool']();break;default:_0x2d01fa['skipType'](0x7&_0x33f916);}}return _0x486c07;},_0x2fb1a5['decodeDelimited']=function(_0x169bea){return _0x169bea instanceof _0xa2a576||(_0x169bea=new _0xa2a576(_0x169bea)),this['decode'](_0x169bea,_0x169bea['uint32']());},_0x2fb1a5['verify']=function(_0x5aeb53){return'object'!=typeof _0x5aeb53||null===_0x5aeb53?'object\x20expected':null!=_0x5aeb53['rootName']&&_0x5aeb53['hasOwnProperty']('rootName')&&!_0xb388fc['isString'](_0x5aeb53['rootName'])?'rootName:\x20string\x20expected':null!=_0x5aeb53['elementName']&&_0x5aeb53['hasOwnProperty']('elementName')&&!_0xb388fc['isString'](_0x5aeb53['elementName'])?'elementName:\x20string\x20expected':null!=_0x5aeb53['isAdd']&&_0x5aeb53['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x5aeb53['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x5aeb53['wasUndone']&&_0x5aeb53['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5aeb53['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2fb1a5['fromObject']=function(_0x366499){if(_0x366499 instanceof _0x14376a['RootOperation'])return _0x366499;var _0x353df1=new _0x14376a['RootOperation']();return null!=_0x366499['rootName']&&(_0x353df1['rootName']=String(_0x366499['rootName'])),null!=_0x366499['elementName']&&(_0x353df1['elementName']=String(_0x366499['elementName'])),null!=_0x366499['isAdd']&&(_0x353df1['isAdd']=Boolean(_0x366499['isAdd'])),null!=_0x366499['wasUndone']&&(_0x353df1['wasUndone']=Boolean(_0x366499['wasUndone'])),_0x353df1;},_0x2fb1a5['toObject']=function(_0x4f5a1e,_0x8620f7){_0x8620f7||(_0x8620f7={});var _0x4908e9={};return _0x8620f7['defaults']&&(_0x4908e9['rootName']='',_0x4908e9['elementName']='',_0x4908e9['isAdd']=!0x1,_0x4908e9['wasUndone']=!0x1),null!=_0x4f5a1e['rootName']&&_0x4f5a1e['hasOwnProperty']('rootName')&&(_0x4908e9['rootName']=_0x4f5a1e['rootName']),null!=_0x4f5a1e['elementName']&&_0x4f5a1e['hasOwnProperty']('elementName')&&(_0x4908e9['elementName']=_0x4f5a1e['elementName']),null!=_0x4f5a1e['isAdd']&&_0x4f5a1e['hasOwnProperty']('isAdd')&&(_0x4908e9['isAdd']=_0x4f5a1e['isAdd']),null!=_0x4f5a1e['wasUndone']&&_0x4f5a1e['hasOwnProperty']('wasUndone')&&(_0x4908e9['wasUndone']=_0x4f5a1e['wasUndone']),_0x4908e9;},_0x2fb1a5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe5521d['util']['toJSONOptions']);},_0x2fb1a5['getTypeUrl']=function(_0x184943){return void 0x0===_0x184943&&(_0x184943='type.googleapis.com'),_0x184943+'/RootOperation';},_0x2fb1a5;}()),_0x14376a['SplitOperation']=(function(){function _0x2ea261(_0x171ef0){if(_0x171ef0){for(var _0x43397f=Object['keys'](_0x171ef0),_0x30aa3b=0x0;_0x30aa3b<_0x43397f['length'];++_0x30aa3b)null!=_0x171ef0[_0x43397f[_0x30aa3b]]&&(this[_0x43397f[_0x30aa3b]]=_0x171ef0[_0x43397f[_0x30aa3b]]);}}return _0x2ea261['prototype']['splitPosition']=null,_0x2ea261['prototype']['graveyardPosition']=null,_0x2ea261['prototype']['howMany']=0x0,_0x2ea261['prototype']['insertionPosition']=null,_0x2ea261['prototype']['wasUndone']=!0x1,_0x2ea261['create']=function(_0x5aca52){return new _0x2ea261(_0x5aca52);},_0x2ea261['encode']=function(_0xa8d286,_0x112b81){return _0x112b81||(_0x112b81=_0x1892ef['create']()),null!=_0xa8d286['splitPosition']&&Object['hasOwnProperty']['call'](_0xa8d286,'splitPosition')&&_0x14376a['Position']['encode'](_0xa8d286['splitPosition'],_0x112b81['uint32'](0xa)['fork']())['ldelim'](),null!=_0xa8d286['graveyardPosition']&&Object['hasOwnProperty']['call'](_0xa8d286,'graveyardPosition')&&_0x14376a['Position']['encode'](_0xa8d286['graveyardPosition'],_0x112b81['uint32'](0x12)['fork']())['ldelim'](),null!=_0xa8d286['howMany']&&Object['hasOwnProperty']['call'](_0xa8d286,'howMany')&&_0x112b81['uint32'](0x18)['uint32'](_0xa8d286['howMany']),null!=_0xa8d286['insertionPosition']&&Object['hasOwnProperty']['call'](_0xa8d286,'insertionPosition')&&_0x14376a['Position']['encode'](_0xa8d286['insertionPosition'],_0x112b81['uint32'](0x22)['fork']())['ldelim'](),null!=_0xa8d286['wasUndone']&&Object['hasOwnProperty']['call'](_0xa8d286,'wasUndone')&&_0x112b81['uint32'](0x28)['bool'](_0xa8d286['wasUndone']),_0x112b81;},_0x2ea261['encodeDelimited']=function(_0x536c44,_0xe0310f){return this['encode'](_0x536c44,_0xe0310f)['ldelim']();},_0x2ea261['decode']=function(_0x456483,_0x1fcaf9){_0x456483 instanceof _0xa2a576||(_0x456483=_0xa2a576['create'](_0x456483));for(var _0x11f840=void 0x0===_0x1fcaf9?_0x456483['len']:_0x456483['pos']+_0x1fcaf9,_0x498a40=new _0x14376a['SplitOperation']();_0x456483['pos']<_0x11f840;){var _0x5dd2d8=_0x456483['uint32']();switch(_0x5dd2d8>>>0x3){case 0x1:_0x498a40['splitPosition']=_0x14376a['Position']['decode'](_0x456483,_0x456483['uint32']());break;case 0x2:_0x498a40['graveyardPosition']=_0x14376a['Position']['decode'](_0x456483,_0x456483['uint32']());break;case 0x3:_0x498a40['howMany']=_0x456483['uint32']();break;case 0x4:_0x498a40['insertionPosition']=_0x14376a['Position']['decode'](_0x456483,_0x456483['uint32']());break;case 0x5:_0x498a40['wasUndone']=_0x456483['bool']();break;default:_0x456483['skipType'](0x7&_0x5dd2d8);}}return _0x498a40;},_0x2ea261['decodeDelimited']=function(_0x44ce5a){return _0x44ce5a instanceof _0xa2a576||(_0x44ce5a=new _0xa2a576(_0x44ce5a)),this['decode'](_0x44ce5a,_0x44ce5a['uint32']());},_0x2ea261['verify']=function(_0x3fa3ed){if('object'!=typeof _0x3fa3ed||null===_0x3fa3ed)return'object\x20expected';var _0x4c9999;if(null!=_0x3fa3ed['splitPosition']&&_0x3fa3ed['hasOwnProperty']('splitPosition')&&(_0x4c9999=_0x14376a['Position']['verify'](_0x3fa3ed['splitPosition'])))return'splitPosition.'+_0x4c9999;if(null!=_0x3fa3ed['graveyardPosition']&&_0x3fa3ed['hasOwnProperty']('graveyardPosition')&&(_0x4c9999=_0x14376a['Position']['verify'](_0x3fa3ed['graveyardPosition'])))return'graveyardPosition.'+_0x4c9999;if(null!=_0x3fa3ed['howMany']&&_0x3fa3ed['hasOwnProperty']('howMany')&&!_0xb388fc['isInteger'](_0x3fa3ed['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x3fa3ed['insertionPosition']&&_0x3fa3ed['hasOwnProperty']('insertionPosition')&&(_0x4c9999=_0x14376a['Position']['verify'](_0x3fa3ed['insertionPosition'])))return'insertionPosition.'+_0x4c9999;return null!=_0x3fa3ed['wasUndone']&&_0x3fa3ed['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3fa3ed['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2ea261['fromObject']=function(_0x1cbbb6){if(_0x1cbbb6 instanceof _0x14376a['SplitOperation'])return _0x1cbbb6;var _0x7963c7=new _0x14376a['SplitOperation']();if(null!=_0x1cbbb6['splitPosition']){if('object'!=typeof _0x1cbbb6['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x7963c7['splitPosition']=_0x14376a['Position']['fromObject'](_0x1cbbb6['splitPosition']);}if(null!=_0x1cbbb6['graveyardPosition']){if('object'!=typeof _0x1cbbb6['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x7963c7['graveyardPosition']=_0x14376a['Position']['fromObject'](_0x1cbbb6['graveyardPosition']);}if(null!=_0x1cbbb6['howMany']&&(_0x7963c7['howMany']=_0x1cbbb6['howMany']>>>0x0),null!=_0x1cbbb6['insertionPosition']){if('object'!=typeof _0x1cbbb6['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x7963c7['insertionPosition']=_0x14376a['Position']['fromObject'](_0x1cbbb6['insertionPosition']);}return null!=_0x1cbbb6['wasUndone']&&(_0x7963c7['wasUndone']=Boolean(_0x1cbbb6['wasUndone'])),_0x7963c7;},_0x2ea261['toObject']=function(_0x5c165c,_0x54b53a){_0x54b53a||(_0x54b53a={});var _0x1b65a1={};return _0x54b53a['defaults']&&(_0x1b65a1['splitPosition']=null,_0x1b65a1['graveyardPosition']=null,_0x1b65a1['howMany']=0x0,_0x1b65a1['insertionPosition']=null,_0x1b65a1['wasUndone']=!0x1),null!=_0x5c165c['splitPosition']&&_0x5c165c['hasOwnProperty']('splitPosition')&&(_0x1b65a1['splitPosition']=_0x14376a['Position']['toObject'](_0x5c165c['splitPosition'],_0x54b53a)),null!=_0x5c165c['graveyardPosition']&&_0x5c165c['hasOwnProperty']('graveyardPosition')&&(_0x1b65a1['graveyardPosition']=_0x14376a['Position']['toObject'](_0x5c165c['graveyardPosition'],_0x54b53a)),null!=_0x5c165c['howMany']&&_0x5c165c['hasOwnProperty']('howMany')&&(_0x1b65a1['howMany']=_0x5c165c['howMany']),null!=_0x5c165c['insertionPosition']&&_0x5c165c['hasOwnProperty']('insertionPosition')&&(_0x1b65a1['insertionPosition']=_0x14376a['Position']['toObject'](_0x5c165c['insertionPosition'],_0x54b53a)),null!=_0x5c165c['wasUndone']&&_0x5c165c['hasOwnProperty']('wasUndone')&&(_0x1b65a1['wasUndone']=_0x5c165c['wasUndone']),_0x1b65a1;},_0x2ea261['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe5521d['util']['toJSONOptions']);},_0x2ea261['getTypeUrl']=function(_0x3aca34){return void 0x0===_0x3aca34&&(_0x3aca34='type.googleapis.com'),_0x3aca34+'/SplitOperation';},_0x2ea261;}()),_0x14376a['Position']=(function(){function _0x4bb269(_0x1da7c2){if(this['path']=[],_0x1da7c2){for(var _0x3944e7=Object['keys'](_0x1da7c2),_0x33731b=0x0;_0x33731b<_0x3944e7['length'];++_0x33731b)null!=_0x1da7c2[_0x3944e7[_0x33731b]]&&(this[_0x3944e7[_0x33731b]]=_0x1da7c2[_0x3944e7[_0x33731b]]);}}return _0x4bb269['prototype']['root']='',_0x4bb269['prototype']['rootMain']=!0x1,_0x4bb269['prototype']['rootGraveyard']=!0x1,_0x4bb269['prototype']['path']=_0xb388fc['emptyArray'],_0x4bb269['prototype']['stickiness']='',_0x4bb269['create']=function(_0x327bb5){return new _0x4bb269(_0x327bb5);},_0x4bb269['encode']=function(_0x4e5b95,_0x31e10b){if(_0x31e10b||(_0x31e10b=_0x1892ef['create']()),null!=_0x4e5b95['root']&&Object['hasOwnProperty']['call'](_0x4e5b95,'root')&&_0x31e10b['uint32'](0xa)['string'](_0x4e5b95['root']),null!=_0x4e5b95['rootMain']&&Object['hasOwnProperty']['call'](_0x4e5b95,'rootMain')&&_0x31e10b['uint32'](0x10)['bool'](_0x4e5b95['rootMain']),null!=_0x4e5b95['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x4e5b95,'rootGraveyard')&&_0x31e10b['uint32'](0x18)['bool'](_0x4e5b95['rootGraveyard']),null!=_0x4e5b95['path']&&_0x4e5b95['path']['length']){_0x31e10b['uint32'](0x22)['fork']();for(var _0x261a21=0x0;_0x261a21<_0x4e5b95['path']['length'];++_0x261a21)_0x31e10b['uint32'](_0x4e5b95['path'][_0x261a21]);_0x31e10b['ldelim']();}return null!=_0x4e5b95['stickiness']&&Object['hasOwnProperty']['call'](_0x4e5b95,'stickiness')&&_0x31e10b['uint32'](0x2a)['string'](_0x4e5b95['stickiness']),_0x31e10b;},_0x4bb269['encodeDelimited']=function(_0x32f417,_0x47e109){return this['encode'](_0x32f417,_0x47e109)['ldelim']();},_0x4bb269['decode']=function(_0x378e49,_0x10204f){_0x378e49 instanceof _0xa2a576||(_0x378e49=_0xa2a576['create'](_0x378e49));for(var _0x4f90a4=void 0x0===_0x10204f?_0x378e49['len']:_0x378e49['pos']+_0x10204f,_0x3432b8=new _0x14376a['Position']();_0x378e49['pos']<_0x4f90a4;){var _0x43db65=_0x378e49['uint32']();switch(_0x43db65>>>0x3){case 0x1:_0x3432b8['root']=_0x378e49['string']();break;case 0x2:_0x3432b8['rootMain']=_0x378e49['bool']();break;case 0x3:_0x3432b8['rootGraveyard']=_0x378e49['bool']();break;case 0x4:if(_0x3432b8['path']&&_0x3432b8['path']['length']||(_0x3432b8['path']=[]),0x2==(0x7&_0x43db65)){for(var _0x254d46=_0x378e49['uint32']()+_0x378e49['pos'];_0x378e49['pos']<_0x254d46;)_0x3432b8['path']['push'](_0x378e49['uint32']());}else _0x3432b8['path']['push'](_0x378e49['uint32']());break;case 0x5:_0x3432b8['stickiness']=_0x378e49['string']();break;default:_0x378e49['skipType'](0x7&_0x43db65);}}return _0x3432b8;},_0x4bb269['decodeDelimited']=function(_0x28a7d4){return _0x28a7d4 instanceof _0xa2a576||(_0x28a7d4=new _0xa2a576(_0x28a7d4)),this['decode'](_0x28a7d4,_0x28a7d4['uint32']());},_0x4bb269['verify']=function(_0x278bee){if('object'!=typeof _0x278bee||null===_0x278bee)return'object\x20expected';if(null!=_0x278bee['root']&&_0x278bee['hasOwnProperty']('root')&&!_0xb388fc['isString'](_0x278bee['root']))return'root:\x20string\x20expected';if(null!=_0x278bee['rootMain']&&_0x278bee['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x278bee['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x278bee['rootGraveyard']&&_0x278bee['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x278bee['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x278bee['path']&&_0x278bee['hasOwnProperty']('path')){if(!Array['isArray'](_0x278bee['path']))return'path:\x20array\x20expected';for(var _0x4d5993=0x0;_0x4d5993<_0x278bee['path']['length'];++_0x4d5993)if(!_0xb388fc['isInteger'](_0x278bee['path'][_0x4d5993]))return'path:\x20integer[]\x20expected';}return null!=_0x278bee['stickiness']&&_0x278bee['hasOwnProperty']('stickiness')&&!_0xb388fc['isString'](_0x278bee['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x4bb269['fromObject']=function(_0x837f27){if(_0x837f27 instanceof _0x14376a['Position'])return _0x837f27;var _0x5c6abb=new _0x14376a['Position']();if(null!=_0x837f27['root']&&(_0x5c6abb['root']=String(_0x837f27['root'])),null!=_0x837f27['rootMain']&&(_0x5c6abb['rootMain']=Boolean(_0x837f27['rootMain'])),null!=_0x837f27['rootGraveyard']&&(_0x5c6abb['rootGraveyard']=Boolean(_0x837f27['rootGraveyard'])),_0x837f27['path']){if(!Array['isArray'](_0x837f27['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x5c6abb['path']=[];for(var _0x192725=0x0;_0x192725<_0x837f27['path']['length'];++_0x192725)_0x5c6abb['path'][_0x192725]=_0x837f27['path'][_0x192725]>>>0x0;}return null!=_0x837f27['stickiness']&&(_0x5c6abb['stickiness']=String(_0x837f27['stickiness'])),_0x5c6abb;},_0x4bb269['toObject']=function(_0x5cdeb3,_0x2ab7fb){_0x2ab7fb||(_0x2ab7fb={});var _0x344421={};if((_0x2ab7fb['arrays']||_0x2ab7fb['defaults'])&&(_0x344421['path']=[]),_0x2ab7fb['defaults']&&(_0x344421['root']='',_0x344421['rootMain']=!0x1,_0x344421['rootGraveyard']=!0x1,_0x344421['stickiness']=''),null!=_0x5cdeb3['root']&&_0x5cdeb3['hasOwnProperty']('root')&&(_0x344421['root']=_0x5cdeb3['root']),null!=_0x5cdeb3['rootMain']&&_0x5cdeb3['hasOwnProperty']('rootMain')&&(_0x344421['rootMain']=_0x5cdeb3['rootMain']),null!=_0x5cdeb3['rootGraveyard']&&_0x5cdeb3['hasOwnProperty']('rootGraveyard')&&(_0x344421['rootGraveyard']=_0x5cdeb3['rootGraveyard']),_0x5cdeb3['path']&&_0x5cdeb3['path']['length']){_0x344421['path']=[];for(var _0xf3bab8=0x0;_0xf3bab8<_0x5cdeb3['path']['length'];++_0xf3bab8)_0x344421['path'][_0xf3bab8]=_0x5cdeb3['path'][_0xf3bab8];}return null!=_0x5cdeb3['stickiness']&&_0x5cdeb3['hasOwnProperty']('stickiness')&&(_0x344421['stickiness']=_0x5cdeb3['stickiness']),_0x344421;},_0x4bb269['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe5521d['util']['toJSONOptions']);},_0x4bb269['getTypeUrl']=function(_0x60250d){return void 0x0===_0x60250d&&(_0x60250d='type.googleapis.com'),_0x60250d+'/Position';},_0x4bb269;}()),_0x14376a['Range']=(function(){function _0x1c919c(_0x5b4936){if(_0x5b4936){for(var _0x125e4e=Object['keys'](_0x5b4936),_0x3886fa=0x0;_0x3886fa<_0x125e4e['length'];++_0x3886fa)null!=_0x5b4936[_0x125e4e[_0x3886fa]]&&(this[_0x125e4e[_0x3886fa]]=_0x5b4936[_0x125e4e[_0x3886fa]]);}}return _0x1c919c['prototype']['start']=null,_0x1c919c['prototype']['end']=null,_0x1c919c['create']=function(_0x5209ed){return new _0x1c919c(_0x5209ed);},_0x1c919c['encode']=function(_0x19f120,_0x3780bd){return _0x3780bd||(_0x3780bd=_0x1892ef['create']()),null!=_0x19f120['start']&&Object['hasOwnProperty']['call'](_0x19f120,'start')&&_0x14376a['Position']['encode'](_0x19f120['start'],_0x3780bd['uint32'](0xa)['fork']())['ldelim'](),null!=_0x19f120['end']&&Object['hasOwnProperty']['call'](_0x19f120,'end')&&_0x14376a['Position']['encode'](_0x19f120['end'],_0x3780bd['uint32'](0x12)['fork']())['ldelim'](),_0x3780bd;},_0x1c919c['encodeDelimited']=function(_0x1b8022,_0x7cb4a4){return this['encode'](_0x1b8022,_0x7cb4a4)['ldelim']();},_0x1c919c['decode']=function(_0x56a54a,_0x580ba4){_0x56a54a instanceof _0xa2a576||(_0x56a54a=_0xa2a576['create'](_0x56a54a));for(var _0x499c62=void 0x0===_0x580ba4?_0x56a54a['len']:_0x56a54a['pos']+_0x580ba4,_0x44bd74=new _0x14376a['Range']();_0x56a54a['pos']<_0x499c62;){var _0x17da33=_0x56a54a['uint32']();switch(_0x17da33>>>0x3){case 0x1:_0x44bd74['start']=_0x14376a['Position']['decode'](_0x56a54a,_0x56a54a['uint32']());break;case 0x2:_0x44bd74['end']=_0x14376a['Position']['decode'](_0x56a54a,_0x56a54a['uint32']());break;default:_0x56a54a['skipType'](0x7&_0x17da33);}}return _0x44bd74;},_0x1c919c['decodeDelimited']=function(_0x1cd3ba){return _0x1cd3ba instanceof _0xa2a576||(_0x1cd3ba=new _0xa2a576(_0x1cd3ba)),this['decode'](_0x1cd3ba,_0x1cd3ba['uint32']());},_0x1c919c['verify']=function(_0x186c18){if('object'!=typeof _0x186c18||null===_0x186c18)return'object\x20expected';var _0x1ffbfe;if(null!=_0x186c18['start']&&_0x186c18['hasOwnProperty']('start')&&(_0x1ffbfe=_0x14376a['Position']['verify'](_0x186c18['start'])))return'start.'+_0x1ffbfe;if(null!=_0x186c18['end']&&_0x186c18['hasOwnProperty']('end')&&(_0x1ffbfe=_0x14376a['Position']['verify'](_0x186c18['end'])))return'end.'+_0x1ffbfe;return null;},_0x1c919c['fromObject']=function(_0x35d436){if(_0x35d436 instanceof _0x14376a['Range'])return _0x35d436;var _0x2a6beb=new _0x14376a['Range']();if(null!=_0x35d436['start']){if('object'!=typeof _0x35d436['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x2a6beb['start']=_0x14376a['Position']['fromObject'](_0x35d436['start']);}if(null!=_0x35d436['end']){if('object'!=typeof _0x35d436['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x2a6beb['end']=_0x14376a['Position']['fromObject'](_0x35d436['end']);}return _0x2a6beb;},_0x1c919c['toObject']=function(_0x1e517b,_0x418f32){_0x418f32||(_0x418f32={});var _0x3b756d={};return _0x418f32['defaults']&&(_0x3b756d['start']=null,_0x3b756d['end']=null),null!=_0x1e517b['start']&&_0x1e517b['hasOwnProperty']('start')&&(_0x3b756d['start']=_0x14376a['Position']['toObject'](_0x1e517b['start'],_0x418f32)),null!=_0x1e517b['end']&&_0x1e517b['hasOwnProperty']('end')&&(_0x3b756d['end']=_0x14376a['Position']['toObject'](_0x1e517b['end'],_0x418f32)),_0x3b756d;},_0x1c919c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe5521d['util']['toJSONOptions']);},_0x1c919c['getTypeUrl']=function(_0x1a1996){return void 0x0===_0x1a1996&&(_0x1a1996='type.googleapis.com'),_0x1a1996+'/Range';},_0x1c919c;}()),_0x14376a['Element']=(function(){function _0xa13721(_0x51d3cb){if(this['children']=[],this['attributesBoolean']={},_0x51d3cb){for(var _0x45ad55=Object['keys'](_0x51d3cb),_0x4d5408=0x0;_0x4d5408<_0x45ad55['length'];++_0x4d5408)null!=_0x51d3cb[_0x45ad55[_0x4d5408]]&&(this[_0x45ad55[_0x4d5408]]=_0x51d3cb[_0x45ad55[_0x4d5408]]);}}return _0xa13721['prototype']['name']='',_0xa13721['prototype']['children']=_0xb388fc['emptyArray'],_0xa13721['prototype']['data']='',_0xa13721['prototype']['attributesBoolean']=_0xb388fc['emptyObject'],_0xa13721['prototype']['attributesJson']='',_0xa13721['create']=function(_0x251526){return new _0xa13721(_0x251526);},_0xa13721['encode']=function(_0x371579,_0xa2944f){if(_0xa2944f||(_0xa2944f=_0x1892ef['create']()),null!=_0x371579['name']&&Object['hasOwnProperty']['call'](_0x371579,'name')&&_0xa2944f['uint32'](0xa)['string'](_0x371579['name']),null!=_0x371579['children']&&_0x371579['children']['length']){for(var _0x10215c=0x0;_0x10215c<_0x371579['children']['length'];++_0x10215c)_0x14376a['Element']['encode'](_0x371579['children'][_0x10215c],_0xa2944f['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x371579['data']&&Object['hasOwnProperty']['call'](_0x371579,'data')&&_0xa2944f['uint32'](0x1a)['string'](_0x371579['data']),null!=_0x371579['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x371579,'attributesBoolean')){var _0x4bca28=Object['keys'](_0x371579['attributesBoolean']);for(_0x10215c=0x0;_0x10215c<_0x4bca28['length'];++_0x10215c)_0xa2944f['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x4bca28[_0x10215c])['uint32'](0x10)['bool'](_0x371579['attributesBoolean'][_0x4bca28[_0x10215c]])['ldelim']();}return null!=_0x371579['attributesJson']&&Object['hasOwnProperty']['call'](_0x371579,'attributesJson')&&_0xa2944f['uint32'](0x2a)['string'](_0x371579['attributesJson']),_0xa2944f;},_0xa13721['encodeDelimited']=function(_0x2634ed,_0x5d265e){return this['encode'](_0x2634ed,_0x5d265e)['ldelim']();},_0xa13721['decode']=function(_0x152f35,_0x2d1214){_0x152f35 instanceof _0xa2a576||(_0x152f35=_0xa2a576['create'](_0x152f35));for(var _0x17eb28,_0x2d271c,_0x8deef0=void 0x0===_0x2d1214?_0x152f35['len']:_0x152f35['pos']+_0x2d1214,_0x385322=new _0x14376a['Element']();_0x152f35['pos']<_0x8deef0;){var _0x270769=_0x152f35['uint32']();switch(_0x270769>>>0x3){case 0x1:_0x385322['name']=_0x152f35['string']();break;case 0x2:_0x385322['children']&&_0x385322['children']['length']||(_0x385322['children']=[]),_0x385322['children']['push'](_0x14376a['Element']['decode'](_0x152f35,_0x152f35['uint32']()));break;case 0x3:_0x385322['data']=_0x152f35['string']();break;case 0x4:_0x385322['attributesBoolean']===_0xb388fc['emptyObject']&&(_0x385322['attributesBoolean']={});var _0x33eea1=_0x152f35['uint32']()+_0x152f35['pos'];for(_0x17eb28='',_0x2d271c=!0x1;_0x152f35['pos']<_0x33eea1;){var _0x501aca=_0x152f35['uint32']();switch(_0x501aca>>>0x3){case 0x1:_0x17eb28=_0x152f35['string']();break;case 0x2:_0x2d271c=_0x152f35['bool']();break;default:_0x152f35['skipType'](0x7&_0x501aca);}}_0x385322['attributesBoolean'][_0x17eb28]=_0x2d271c;break;case 0x5:_0x385322['attributesJson']=_0x152f35['string']();break;default:_0x152f35['skipType'](0x7&_0x270769);}}return _0x385322;},_0xa13721['decodeDelimited']=function(_0x2a5aed){return _0x2a5aed instanceof _0xa2a576||(_0x2a5aed=new _0xa2a576(_0x2a5aed)),this['decode'](_0x2a5aed,_0x2a5aed['uint32']());},_0xa13721['verify']=function(_0x2237ee){if('object'!=typeof _0x2237ee||null===_0x2237ee)return'object\x20expected';if(null!=_0x2237ee['name']&&_0x2237ee['hasOwnProperty']('name')&&!_0xb388fc['isString'](_0x2237ee['name']))return'name:\x20string\x20expected';if(null!=_0x2237ee['children']&&_0x2237ee['hasOwnProperty']('children')){if(!Array['isArray'](_0x2237ee['children']))return'children:\x20array\x20expected';for(var _0x23f784=0x0;_0x23f784<_0x2237ee['children']['length'];++_0x23f784){var _0x2bbfee=_0x14376a['Element']['verify'](_0x2237ee['children'][_0x23f784]);if(_0x2bbfee)return'children.'+_0x2bbfee;}}if(null!=_0x2237ee['data']&&_0x2237ee['hasOwnProperty']('data')&&!_0xb388fc['isString'](_0x2237ee['data']))return'data:\x20string\x20expected';if(null!=_0x2237ee['attributesBoolean']&&_0x2237ee['hasOwnProperty']('attributesBoolean')){if(!_0xb388fc['isObject'](_0x2237ee['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x272ec5=Object['keys'](_0x2237ee['attributesBoolean']);for(_0x23f784=0x0;_0x23f784<_0x272ec5['length'];++_0x23f784)if('boolean'!=typeof _0x2237ee['attributesBoolean'][_0x272ec5[_0x23f784]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x2237ee['attributesJson']&&_0x2237ee['hasOwnProperty']('attributesJson')&&!_0xb388fc['isString'](_0x2237ee['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0xa13721['fromObject']=function(_0x379f99){if(_0x379f99 instanceof _0x14376a['Element'])return _0x379f99;var _0x305dbe=new _0x14376a['Element']();if(null!=_0x379f99['name']&&(_0x305dbe['name']=String(_0x379f99['name'])),_0x379f99['children']){if(!Array['isArray'](_0x379f99['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x305dbe['children']=[];for(var _0x57a269=0x0;_0x57a269<_0x379f99['children']['length'];++_0x57a269){if('object'!=typeof _0x379f99['children'][_0x57a269])throw TypeError('.Element.children:\x20object\x20expected');_0x305dbe['children'][_0x57a269]=_0x14376a['Element']['fromObject'](_0x379f99['children'][_0x57a269]);}}if(null!=_0x379f99['data']&&(_0x305dbe['data']=String(_0x379f99['data'])),_0x379f99['attributesBoolean']){if('object'!=typeof _0x379f99['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x305dbe['attributesBoolean']={};var _0xd3e23b=Object['keys'](_0x379f99['attributesBoolean']);for(_0x57a269=0x0;_0x57a269<_0xd3e23b['length'];++_0x57a269)_0x305dbe['attributesBoolean'][_0xd3e23b[_0x57a269]]=Boolean(_0x379f99['attributesBoolean'][_0xd3e23b[_0x57a269]]);}return null!=_0x379f99['attributesJson']&&(_0x305dbe['attributesJson']=String(_0x379f99['attributesJson'])),_0x305dbe;},_0xa13721['toObject']=function(_0x477bd2,_0x4b500d){_0x4b500d||(_0x4b500d={});var _0x3d055d,_0x35f83a={};if((_0x4b500d['arrays']||_0x4b500d['defaults'])&&(_0x35f83a['children']=[]),(_0x4b500d['objects']||_0x4b500d['defaults'])&&(_0x35f83a['attributesBoolean']={}),_0x4b500d['defaults']&&(_0x35f83a['name']='',_0x35f83a['data']='',_0x35f83a['attributesJson']=''),null!=_0x477bd2['name']&&_0x477bd2['hasOwnProperty']('name')&&(_0x35f83a['name']=_0x477bd2['name']),_0x477bd2['children']&&_0x477bd2['children']['length']){_0x35f83a['children']=[];for(var _0x5beb72=0x0;_0x5beb72<_0x477bd2['children']['length'];++_0x5beb72)_0x35f83a['children'][_0x5beb72]=_0x14376a['Element']['toObject'](_0x477bd2['children'][_0x5beb72],_0x4b500d);}if(null!=_0x477bd2['data']&&_0x477bd2['hasOwnProperty']('data')&&(_0x35f83a['data']=_0x477bd2['data']),_0x477bd2['attributesBoolean']&&(_0x3d055d=Object['keys'](_0x477bd2['attributesBoolean']))['length']){_0x35f83a['attributesBoolean']={};for(_0x5beb72=0x0;_0x5beb72<_0x3d055d['length'];++_0x5beb72)_0x35f83a['attributesBoolean'][_0x3d055d[_0x5beb72]]=_0x477bd2['attributesBoolean'][_0x3d055d[_0x5beb72]];}return null!=_0x477bd2['attributesJson']&&_0x477bd2['hasOwnProperty']('attributesJson')&&(_0x35f83a['attributesJson']=_0x477bd2['attributesJson']),_0x35f83a;},_0xa13721['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe5521d['util']['toJSONOptions']);},_0xa13721['getTypeUrl']=function(_0x5196ca){return void 0x0===_0x5196ca&&(_0x5196ca='type.googleapis.com'),_0x5196ca+'/Element';},_0xa13721;}()),_0x14376a;})());class r{['_protobufRoot'];constructor(){this['_protobufRoot']=u;}['getDescriptor'](_0x3bf132){return new w(this['_protobufRoot'][_0x3bf132]);}}class w{['_protobuf'];constructor(_0x103fc3){this['_protobuf']=_0x103fc3;}['compress'](_0x50c526){const _0x482246=this['_protobuf']['verify'](_0x50c526);if(_0x482246)throw Error(_0x482246);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x50c526))['finish']();}['decompress'](_0x265718){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x265718),{'oneofs':!0x0});}}function g(_0x3e55ce,_0x3cbbdd){const _0x46aec7=_0x529dbc(_0x3e55ce);return _0x46aec7['path'][_0x46aec7['path']['length']-0x1]+=_0x3cbbdd,_0x46aec7;}function _(_0x30f123,_0x4ae7d3){return _0x30f123['root']===_0x4ae7d3['root']&&_0x268f30(_0x30f123['path'],_0x4ae7d3['path']);}function $(_0x527219){P(_0x527219,_0xc97e1f=>('main'==_0xc97e1f['root']?(_0xc97e1f['rootMain']=!0x0,delete _0xc97e1f['root']):'$graveyard'==_0xc97e1f['root']&&(_0xc97e1f['rootGraveyard']=!0x0,delete _0xc97e1f['root']),_0xc97e1f));}function J(_0x126595){P(_0x126595,_0x46abbb=>(_0x46abbb['rootMain']?(_0x46abbb['root']='main',delete _0x46abbb['rootMain']):_0x46abbb['rootGraveyard']&&(_0x46abbb['root']='$graveyard',delete _0x46abbb['rootGraveyard']),_0x46abbb));}function P(_0x1f7d50,_0x32295c){for(const _0x9e93e4 in _0x1f7d50){const _0x2b417e=_0x1f7d50[_0x9e93e4];'nodes'!==_0x9e93e4&&_0xac2dd2(_0x2b417e)&&(_0x2b417e['path']&&(_0x2b417e['root']||_0x2b417e['rootMain']||_0x2b417e['rootGraveyard'])?_0x1f7d50[_0x9e93e4]=_0x32295c(_0x2b417e):P(_0x2b417e,_0x32295c));}return _0x1f7d50;}class e{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x5cab22,_0x428deb,_0x62a407){this['_id']=_0x5cab22,this['_operationName']=_0x428deb,this['_protobufDescriptor']=_0x62a407;}['compress'](_0x1a628b,_0x1ad935){const _0x3aea05=_0x1ad935['operations'][_0x1ad935['index']++];return $(_0x3aea05),_0x1a628b['buffers']['push'](this['_protobufDescriptor']['compress'](_0x3aea05)),_0x1a628b['types']['push'](this['_id']),!0x0;}['decompress'](_0x4ba149,_0x2789f7){_0x2789f7['typeIndex']++;const _0x3c8c7d=_0x2789f7['buffers'][_0x2789f7['bufferIndex']++],_0x2c272f=this['_protobufDescriptor']['decompress'](_0x3c8c7d);J(_0x2c272f),_0x2c272f['__className']=this['_operationName'],_0x4ba149['push'](_0x2c272f);}}class s extends e{['compress'](_0x2bdeb8,_0x3cf3b0){const _0x4bdbd5=_0x3cf3b0['operations'][_0x3cf3b0['index']++];return this['_serializeOneOf']('oldValue',_0x4bdbd5),this['_serializeOneOf']('newValue',_0x4bdbd5),$(_0x4bdbd5),_0x2bdeb8['buffers']['push'](this['_protobufDescriptor']['compress'](_0x4bdbd5)),_0x2bdeb8['types']['push'](this['_id']),!0x0;}['decompress'](_0x2711c7,_0x484faa){_0x484faa['typeIndex']++;const _0xbb606e=_0x484faa['buffers'][_0x484faa['bufferIndex']++],_0x3e0775=this['_protobufDescriptor']['decompress'](_0xbb606e);this['_deserializeOneOf']('oldValue',_0x3e0775),this['_deserializeOneOf']('newValue',_0x3e0775),J(_0x3e0775),_0x3e0775['__className']=this['_operationName'],_0x2711c7['push'](_0x3e0775);}['_serializeOneOf'](_0x45afb7,_0x44f19e){const _0x2c6bf8=_0x44f19e[_0x45afb7];'boolean'==typeof _0x2c6bf8?_0x44f19e[_0x45afb7+'Boolean']=_0x2c6bf8:_0x44f19e[_0x45afb7+'Json']=JSON['stringify'](_0x2c6bf8);}['_deserializeOneOf'](_0x355870,_0xf96df2){const _0x2c41e5=_0x355870+'Json';_0xf96df2[_0x2c41e5]?(_0xf96df2[_0x355870]=JSON['parse'](_0xf96df2[_0x2c41e5]),delete _0xf96df2[_0x2c41e5]):(_0xf96df2[_0x355870]=_0xf96df2[_0x355870+'Boolean'],delete _0xf96df2[_0x355870+'Boolean']);}}class i extends e{['compress'](_0x7fd5,_0x366a04){const _0x2550d5=_0x366a04['operations'][_0x366a04['index']++];return this['_serializeNodesAttributes'](_0x2550d5['nodes']),$(_0x2550d5),_0x7fd5['buffers']['push'](this['_protobufDescriptor']['compress'](_0x2550d5)),_0x7fd5['types']['push'](this['_id']),!0x0;}['decompress'](_0x53c5a5,_0x3811f7){_0x3811f7['typeIndex']++;const _0x42aaf4=_0x3811f7['buffers'][_0x3811f7['bufferIndex']++],_0x371a3a=this['_protobufDescriptor']['decompress'](_0x42aaf4);_0x371a3a['nodes']||(_0x371a3a['nodes']=[]),this['_deserializeNodesAttributes'](_0x371a3a['nodes']),J(_0x371a3a),_0x371a3a['__className']=this['_operationName'],_0x53c5a5['push'](_0x371a3a);}['_serializeNodesAttributes'](_0x27d111){for(const _0x674f0b of _0x27d111){if(_0x674f0b['attributes']){const _0x57c1c2=_0x674f0b['attributes'];this['_areValuesBoolean'](_0x57c1c2)?_0x674f0b['attributesBoolean']=_0x57c1c2:_0x674f0b['attributesJson']=JSON['stringify'](_0x57c1c2);}_0x674f0b['children']&&this['_serializeNodesAttributes'](_0x674f0b['children']);}}['_deserializeNodesAttributes'](_0x3ec40b){for(const _0x1a83b0 of _0x3ec40b)(_0x1a83b0['attributesBoolean']||_0x1a83b0['attributesJson'])&&(_0x1a83b0['attributesBoolean']?(_0x1a83b0['attributes']=_0x1a83b0['attributesBoolean'],delete _0x1a83b0['attributesBoolean']):(_0x1a83b0['attributes']=JSON['parse'](_0x1a83b0['attributesJson']),delete _0x1a83b0['attributesJson'])),_0x1a83b0['children']&&this['_deserializeNodesAttributes'](_0x1a83b0['children']);}['_areValuesBoolean'](_0x2924f6){return Object['keys'](_0x2924f6)['every'](_0x32c8a3=>'boolean'==typeof _0x2924f6[_0x32c8a3]);}}class n extends e{['decompress'](_0x21a3db,_0x4ee73b){super['decompress'](_0x21a3db,_0x4ee73b);const _0x2a66fd=_0x21a3db[_0x21a3db['length']-0x1];_0x2a66fd['oldRange']||(_0x2a66fd['oldRange']=null),_0x2a66fd['newRange']||(_0x2a66fd['newRange']=null);}}class p extends e{['compress'](_0x40c344,_0x236f83){return _0x236f83['index']++,_0x40c344['types']['push'](this['_id']),!0x0;}['decompress'](_0x2df45f,_0x3fb099){_0x3fb099['typeIndex']++,_0x2df45f['push']({'__className':this['_operationName']});}}class a extends n{['_omittedNamespace'];constructor(_0xcd2b68,_0xd93268,_0x4d508e,_0x272af2){super(_0xcd2b68,_0xd93268,_0x4d508e),this['_omittedNamespace']=_0x272af2+':';}['compress'](_0x49b1f1,_0x13e573){const _0x43a203=_0x13e573['operations'][_0x13e573['index']];return!('MarkerOperation'!=_0x43a203['__className']||!_0x43a203['name']['startsWith'](this['_omittedNamespace']))&&(_0x43a203['name']=_0x43a203['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x49b1f1,_0x13e573),!0x0);}['decompress'](_0xd34560,_0x159abe){super['decompress'](_0xd34560,_0x159abe);const _0x2a7f29=_0xd34560[_0xd34560['length']-0x1];_0x2a7f29['name']=this['_omittedNamespace']+_0x2a7f29['name'];}}class O{['_id'];['_context'];constructor(_0xa3394c,_0x1bd42b){this['_id']=_0xa3394c,this['_context']=_0x1bd42b;}['compress'](_0x566d97,_0xfd303b){let _0x4c47a8,_0x4b8a63=_0xfd303b['operations'][_0xfd303b['index']],_0x1451f9=_0xfd303b['operations'][_0xfd303b['index']+0x1];for(;_0x1451f9&&this['_compareOperations'](_0x4b8a63,_0x1451f9);)_0x4c47a8?(_0x4c47a8=this['_combineNext'](_0x4b8a63,_0x4c47a8),_0x566d97['types']['push'](0x0)):(_0x4c47a8=_0x529dbc(_0x4b8a63),_0x566d97['types']['push'](this['_id'])),_0xfd303b['index']++,_0x4b8a63=_0xfd303b['operations'][_0xfd303b['index']],_0x1451f9=_0xfd303b['operations'][_0xfd303b['index']+0x1];return!!_0x4c47a8&&(_0x4c47a8=this['_combineNext'](_0xfd303b['operations'][_0xfd303b['index']++],_0x4c47a8),_0x566d97['types']['push'](0x0),_0x566d97['buffers']['push'](this['_compressSingleOperation'](_0x4c47a8)),!0x0);}['decompress'](_0x15a034,_0xcc3b76){const _0x4e8dba=this['_decompressSingleOperation'](_0xcc3b76);for(;0x0==_0xcc3b76['types'][_0xcc3b76['typeIndex']];)_0xcc3b76['typeIndex']++,_0x15a034['push'](this['_splitCurrent'](_0x4e8dba));_0x15a034['push'](_0x4e8dba);}}class c extends O{['_combineNext'](_0x3a9dca,_0x301e59){return _0x301e59['nodes'][0x0]['data']+=_0x3a9dca['nodes'][0x0]['data'],_0x301e59;}['_splitCurrent'](_0xd6a6cc){const _0x22c425=_0x529dbc(_0xd6a6cc),_0x4e4368=_0x22c425['nodes'][0x0],_0x3c8c61=_0xd6a6cc['nodes'][0x0],_0xa81037=_0x3c8c61['data'][Symbol['iterator']]()['next']()['value'],_0x5538fd=_0xa81037['length'];return _0x4e4368['data']=_0xa81037,_0x3c8c61['data']=_0x3c8c61['data']['substr'](_0x5538fd),_0xd6a6cc['position']=g(_0xd6a6cc['position'],_0x5538fd),_0x22c425;}['_compareOperations'](_0x15417f,_0x4bb123){if(this['_checkOperation'](_0x15417f)&&this['_checkOperation'](_0x4bb123)){const _0x1d16f1=_0x15417f['nodes'][0x0]['data']['length'],_0x5cc71d=_(g(_0x15417f['position'],_0x1d16f1),_0x4bb123['position']),_0x43813c=_0x15417f['nodes'][0x0],_0x2ba4c4=_0x4bb123['nodes'][0x0];return _0x5cc71d&&this['_compareAttributes'](_0x43813c,_0x2ba4c4);}return!0x1;}['_compressSingleOperation'](_0x2a8c87){const _0x47ea6e={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x47ea6e,{'operations':[_0x2a8c87],'index':0x0}),_0x47ea6e['buffers'][0x0];}['_decompressSingleOperation'](_0x2c8e36){const _0x506faf=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x506faf,_0x2c8e36),_0x506faf[0x0];}['_checkOperation'](_0x51a5f2){return'InsertOperation'==_0x51a5f2['__className']&&0x1==_0x51a5f2['nodes']['length']&&_0x51a5f2['nodes'][0x0]['data']&&!_0x51a5f2['wasUndone']&&0x1==Array['from'](_0x51a5f2['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x5a06d7,_0x429c05){const _0xc0bf9=Object['keys'](_0x5a06d7['attributes']||{}),_0x23c0cf=Object['keys'](_0x429c05['attributes']||{});return _0xc0bf9['length']===_0x23c0cf['length']&&_0xc0bf9['every'](_0x232867=>_0x429c05['attributes'][_0x232867]&&_0x429c05['attributes'][_0x232867]===_0x5a06d7['attributes'][_0x232867]);}}class m extends O{['_combineNext'](_0x545efa,_0x423e0b){return _0x423e0b['howMany']++,_0x423e0b['sourcePosition']=_0x529dbc(_0x545efa['sourcePosition']),_0x423e0b;}['_splitCurrent'](_0x4c0e9d){const _0x28f5d6=_0x529dbc(_0x4c0e9d);return _0x4c0e9d['howMany']--,_0x28f5d6['howMany']=0x1,_0x28f5d6['sourcePosition']=g(_0x28f5d6['sourcePosition'],_0x4c0e9d['howMany']),_0x28f5d6;}['_compareOperations'](_0x27f250,_0x416ba8){return!(!this['_checkOperation'](_0x27f250)||!this['_checkOperation'](_0x416ba8))&&(_(g(_0x27f250['sourcePosition'],-0x1),_0x416ba8['sourcePosition'])&&_(_0x27f250['targetPosition'],_0x416ba8['targetPosition']));}['_compressSingleOperation'](_0x523272){const _0x2a3d64={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x2a3d64,{'operations':[_0x523272],'index':0x0}),_0x2a3d64['buffers'][0x0];}['_decompressSingleOperation'](_0x3f6094){const _0x428c31=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x428c31,_0x3f6094),_0x428c31[0x0];}['_checkOperation'](_0x961ec9){return'MoveOperation'==_0x961ec9['__className']&&'$graveyard'==_0x961ec9['targetPosition']['root']&&0x1==_0x961ec9['howMany']&&!_0x961ec9['wasUndone'];}}class h extends O{['_combineNext'](_0x2087fe,_0x4b3463){return _0x4b3463['howMany']++,_0x4b3463;}['_splitCurrent'](_0x301ff2){const _0x5beea0=_0x529dbc(_0x301ff2);return _0x5beea0['howMany']=0x1,_0x301ff2['howMany']--,_0x5beea0;}['_compareOperations'](_0x31719e,_0x10bfb0){return!(!this['_checkOperation'](_0x31719e)||!this['_checkOperation'](_0x10bfb0))&&(_(_0x31719e['sourcePosition'],_0x10bfb0['sourcePosition'])&&_(_0x31719e['targetPosition'],_0x10bfb0['targetPosition']));}['_compressSingleOperation'](_0x5ab5a4){const _0x1260c7={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x1260c7,{'operations':[_0x5ab5a4],'index':0x0}),_0x1260c7['buffers'][0x0];}['_decompressSingleOperation'](_0x819fd1){const _0x2e0e2f=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x2e0e2f,_0x819fd1),_0x2e0e2f[0x0];}['_checkOperation'](_0x5a2139){return'MoveOperation'==_0x5a2139['__className']&&'$graveyard'==_0x5a2139['targetPosition']['root']&&0x1==_0x5a2139['howMany']&&!_0x5a2139['wasUndone'];}}class f extends O{['compress'](_0x1fe060,_0x1d6f2c){if(!this['_compareOperations'](_0x1d6f2c['operations'][_0x1d6f2c['index']],_0x1d6f2c['operations'][_0x1d6f2c['index']+0x1]))return!0x1;const _0x5ac174=_0x1d6f2c['operations'][_0x1d6f2c['index']++];return _0x5ac174['oldRange']=null,_0x5ac174['newRange']&&_(_0x5ac174['newRange']['start'],_0x5ac174['newRange']['end'])&&(_0x5ac174['newRange']['end']=null),_0x1d6f2c['index']++,_0x1fe060['types']['push'](this['_id']),_0x1fe060['types']['push'](0x0),_0x1fe060['buffers']['push'](this['_compressSingleOperation'](_0x5ac174)),!0x0;}['decompress'](_0x39c4cf,_0x33655f){const _0x5636ca=this['_decompressSingleOperation'](_0x33655f);_0x5636ca['newRange']&&!_0x5636ca['newRange']['end']&&(_0x5636ca['newRange']['end']=_0x529dbc(_0x5636ca['newRange']['start']));const _0x197455=_0x529dbc(_0x5636ca);_0x197455['newRange']&&(_0x197455['newRange']['start']['stickiness']='toNone',_0x197455['newRange']['end']=_0x529dbc(_0x197455['newRange']['start'])),_0x197455['name']='user:position:'+_0x197455['name']['split'](':')[0x2],_0x33655f['typeIndex']++,_0x39c4cf['push'](_0x5636ca),_0x39c4cf['push'](_0x197455);}['_compressSingleOperation'](_0x50b912){const _0x1cddfc={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x1cddfc,{'operations':[_0x50b912],'index':0x0}),_0x1cddfc['buffers'][0x0];}['_decompressSingleOperation'](_0x310a20){const _0x33bad2=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x33bad2,_0x310a20),_0x33bad2[0x0];}['_compareOperations'](_0x345062,_0x24007f){return!(!_0x345062||!_0x24007f)&&('MarkerOperation'==_0x345062['__className']&&'MarkerOperation'==_0x24007f['__className']&&!(!_0x345062['name']['startsWith']('user:')||!_0x24007f['name']['startsWith']('user:')||_0x345062['name']==_0x24007f['name']));}}class y{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new r();const _0x2f3118=this['_protobufFactory']['getDescriptor']('MarkerOperation');this['_registerCompressor'](0x1,'NoOperation',new p(0x1,'NoOperation',void 0x0)),this['_registerOperationCompressor'](0xa,'AttributeOperation',s),this['_registerOperationCompressor'](0xb,'InsertOperation',i),this['_registerOperationCompressor'](0xc,'MarkerOperation',n),this['_registerOperationCompressor'](0xd,'MergeOperation',e),this['_registerOperationCompressor'](0xe,'MoveOperation',e),this['_registerOperationCompressor'](0xf,'RenameOperation',e),this['_registerOperationCompressor'](0x10,'RootAttributeOperation',s),this['_registerOperationCompressor'](0x11,'SplitOperation',e),this['_registerCompressor'](0x12,'CommentMarkerOperation',new a(0x12,'MarkerOperation',_0x2f3118,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new a(0x13,'MarkerOperation',_0x2f3118,'suggestion')),this['_registerOperationCompressor'](0x14,'RootOperation',e),this['_registerActionCompressor'](0x64,'TypingAction',c),this['_registerActionCompressor'](0x65,'DeletingAction',m),this['_registerActionCompressor'](0x66,'ForwardDeletingAction',h),this['_registerActionCompressor'](0x67,'UserSelectionAction',f);}['compress'](_0x5f1e28){if(!_0x5f1e28||!_0x5f1e28[0x0])throw new _0x3e9ef9('no-operations-provided',this);const _0x10e39c={'operations':_0x5f1e28,'index':0x0},_0x320bc9={'types':[],'buffers':[],'baseVersion':_0x5f1e28[0x0]['baseVersion']};for(;_0x10e39c['index']<_0x10e39c['operations']['length'];){if(this['_getCompressorByName']('UserSelectionAction')['compress'](_0x320bc9,_0x10e39c))continue;if(this['_getCompressorByName']('TypingAction')['compress'](_0x320bc9,_0x10e39c))continue;if(this['_getCompressorByName']('DeletingAction')['compress'](_0x320bc9,_0x10e39c))continue;if(this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x320bc9,_0x10e39c))continue;if(this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x320bc9,_0x10e39c))continue;if(this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x320bc9,_0x10e39c))continue;const _0x1a9fe8=_0x10e39c['operations'][_0x10e39c['index']]['__className'];this['_getCompressorByName'](_0x1a9fe8)['compress'](_0x320bc9,_0x10e39c);}return _0x320bc9;}['decompress'](_0x5d2c19){const _0x1678a3=[],_0x563114={'types':_0x5d2c19['types'],'buffers':_0x5d2c19['buffers'],'baseVersion':_0x5d2c19['baseVersion'],'typeIndex':0x0,'bufferIndex':0x0};for(;_0x563114['typeIndex']<_0x563114['types']['length'];){const _0x659419=_0x563114['types'][_0x563114['typeIndex']],_0x45925b=this['_compressorById']['get'](_0x659419);if(!_0x45925b)throw new _0x3e9ef9('decompress-compressor-not-found',this,{'type':_0x659419});_0x45925b['decompress'](_0x1678a3,_0x563114);}return _0x1678a3['forEach']((_0x377a2e,_0x3e76ee)=>_0x377a2e['baseVersion']=_0x5d2c19['baseVersion']+_0x3e76ee),_0x1678a3;}['_getCompressorByName'](_0x2fe137){return this['_compressorByName']['get'](_0x2fe137);}['_registerOperationCompressor'](_0x4e6966,_0x2c89fe,_0x20383b){const _0x54213e=new _0x20383b(_0x4e6966,_0x2c89fe,this['_protobufFactory']['getDescriptor'](_0x2c89fe));this['_registerCompressor'](_0x4e6966,_0x2c89fe,_0x54213e);}['_registerActionCompressor'](_0x587b47,_0x5a058c,_0x54e6bb){const _0x35dfd3=new _0x54e6bb(_0x587b47,this);this['_registerCompressor'](_0x587b47,_0x5a058c,_0x35dfd3);}['_registerCompressor'](_0x46ffd2,_0x4fb1b2,_0x2b685f){this['_compressorById']['set'](_0x46ffd2,_0x2b685f),this['_compressorByName']['set'](_0x4fb1b2,_0x2b685f);}}export{y as Compressor};
|
|
23
|
+
import{CKEditorError as _0xe8284f}from'@ckeditor/ckeditor5-utils/dist/index.js';import _0x24532a from'protobufjs/minimal.js';import{cloneDeep as _0x2c72b4,isEqual as _0x2b94f8,isObject as _0x665a28}from'es-toolkit/compat';const u=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>{var _0x57c96d=_0x24532a['Reader'],_0x1c76e5=_0x24532a['Writer'],_0x368f67=_0x24532a['util'],_0x12d128=_0x24532a['roots']['default']||(_0x24532a['roots']['default']={});return _0x12d128['AttributeOperation']=(function(){function _0x43cce4(_0x59d13a){if(_0x59d13a){for(var _0x37932a=Object['keys'](_0x59d13a),_0x20befe=0x0;_0x20befe<_0x37932a['length'];++_0x20befe)null!=_0x59d13a[_0x37932a[_0x20befe]]&&(this[_0x37932a[_0x20befe]]=_0x59d13a[_0x37932a[_0x20befe]]);}}return _0x43cce4['prototype']['range']=null,_0x43cce4['prototype']['key']='',_0x43cce4['prototype']['oldValueBoolean']=!0x1,_0x43cce4['prototype']['oldValueJson']='',_0x43cce4['prototype']['newValueBoolean']=!0x1,_0x43cce4['prototype']['newValueJson']='',_0x43cce4['prototype']['wasUndone']=!0x1,_0x43cce4['create']=function(_0x37cbbb){return new _0x43cce4(_0x37cbbb);},_0x43cce4['encode']=function(_0x181307,_0x1f9313){return _0x1f9313||(_0x1f9313=_0x1c76e5['create']()),null!=_0x181307['range']&&Object['hasOwnProperty']['call'](_0x181307,'range')&&_0x12d128['Range']['encode'](_0x181307['range'],_0x1f9313['uint32'](0xa)['fork']())['ldelim'](),null!=_0x181307['key']&&Object['hasOwnProperty']['call'](_0x181307,'key')&&_0x1f9313['uint32'](0x12)['string'](_0x181307['key']),null!=_0x181307['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x181307,'oldValueBoolean')&&_0x1f9313['uint32'](0x18)['bool'](_0x181307['oldValueBoolean']),null!=_0x181307['oldValueJson']&&Object['hasOwnProperty']['call'](_0x181307,'oldValueJson')&&_0x1f9313['uint32'](0x22)['string'](_0x181307['oldValueJson']),null!=_0x181307['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x181307,'newValueBoolean')&&_0x1f9313['uint32'](0x28)['bool'](_0x181307['newValueBoolean']),null!=_0x181307['newValueJson']&&Object['hasOwnProperty']['call'](_0x181307,'newValueJson')&&_0x1f9313['uint32'](0x32)['string'](_0x181307['newValueJson']),null!=_0x181307['wasUndone']&&Object['hasOwnProperty']['call'](_0x181307,'wasUndone')&&_0x1f9313['uint32'](0x38)['bool'](_0x181307['wasUndone']),_0x1f9313;},_0x43cce4['encodeDelimited']=function(_0x2f52f0,_0x2b50b4){return this['encode'](_0x2f52f0,_0x2b50b4)['ldelim']();},_0x43cce4['decode']=function(_0x51d523,_0x1e6b69){_0x51d523 instanceof _0x57c96d||(_0x51d523=_0x57c96d['create'](_0x51d523));for(var _0x350f5f=void 0x0===_0x1e6b69?_0x51d523['len']:_0x51d523['pos']+_0x1e6b69,_0x39464e=new _0x12d128['AttributeOperation']();_0x51d523['pos']<_0x350f5f;){var _0x6f6fe0=_0x51d523['uint32']();switch(_0x6f6fe0>>>0x3){case 0x1:_0x39464e['range']=_0x12d128['Range']['decode'](_0x51d523,_0x51d523['uint32']());break;case 0x2:_0x39464e['key']=_0x51d523['string']();break;case 0x3:_0x39464e['oldValueBoolean']=_0x51d523['bool']();break;case 0x4:_0x39464e['oldValueJson']=_0x51d523['string']();break;case 0x5:_0x39464e['newValueBoolean']=_0x51d523['bool']();break;case 0x6:_0x39464e['newValueJson']=_0x51d523['string']();break;case 0x7:_0x39464e['wasUndone']=_0x51d523['bool']();break;default:_0x51d523['skipType'](0x7&_0x6f6fe0);}}return _0x39464e;},_0x43cce4['decodeDelimited']=function(_0x265c20){return _0x265c20 instanceof _0x57c96d||(_0x265c20=new _0x57c96d(_0x265c20)),this['decode'](_0x265c20,_0x265c20['uint32']());},_0x43cce4['verify']=function(_0x22d489){if('object'!=typeof _0x22d489||null===_0x22d489)return'object\x20expected';if(null!=_0x22d489['range']&&_0x22d489['hasOwnProperty']('range')){var _0x2663c9=_0x12d128['Range']['verify'](_0x22d489['range']);if(_0x2663c9)return'range.'+_0x2663c9;}return null!=_0x22d489['key']&&_0x22d489['hasOwnProperty']('key')&&!_0x368f67['isString'](_0x22d489['key'])?'key:\x20string\x20expected':null!=_0x22d489['oldValueBoolean']&&_0x22d489['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x22d489['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x22d489['oldValueJson']&&_0x22d489['hasOwnProperty']('oldValueJson')&&!_0x368f67['isString'](_0x22d489['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x22d489['newValueBoolean']&&_0x22d489['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x22d489['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x22d489['newValueJson']&&_0x22d489['hasOwnProperty']('newValueJson')&&!_0x368f67['isString'](_0x22d489['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x22d489['wasUndone']&&_0x22d489['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x22d489['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x43cce4['fromObject']=function(_0x195983){if(_0x195983 instanceof _0x12d128['AttributeOperation'])return _0x195983;var _0x13d94f=new _0x12d128['AttributeOperation']();if(null!=_0x195983['range']){if('object'!=typeof _0x195983['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x13d94f['range']=_0x12d128['Range']['fromObject'](_0x195983['range']);}return null!=_0x195983['key']&&(_0x13d94f['key']=String(_0x195983['key'])),null!=_0x195983['oldValueBoolean']&&(_0x13d94f['oldValueBoolean']=Boolean(_0x195983['oldValueBoolean'])),null!=_0x195983['oldValueJson']&&(_0x13d94f['oldValueJson']=String(_0x195983['oldValueJson'])),null!=_0x195983['newValueBoolean']&&(_0x13d94f['newValueBoolean']=Boolean(_0x195983['newValueBoolean'])),null!=_0x195983['newValueJson']&&(_0x13d94f['newValueJson']=String(_0x195983['newValueJson'])),null!=_0x195983['wasUndone']&&(_0x13d94f['wasUndone']=Boolean(_0x195983['wasUndone'])),_0x13d94f;},_0x43cce4['toObject']=function(_0x1e411e,_0x1fcd27){_0x1fcd27||(_0x1fcd27={});var _0x5209bd={};return _0x1fcd27['defaults']&&(_0x5209bd['range']=null,_0x5209bd['key']='',_0x5209bd['oldValueBoolean']=!0x1,_0x5209bd['oldValueJson']='',_0x5209bd['newValueBoolean']=!0x1,_0x5209bd['newValueJson']='',_0x5209bd['wasUndone']=!0x1),null!=_0x1e411e['range']&&_0x1e411e['hasOwnProperty']('range')&&(_0x5209bd['range']=_0x12d128['Range']['toObject'](_0x1e411e['range'],_0x1fcd27)),null!=_0x1e411e['key']&&_0x1e411e['hasOwnProperty']('key')&&(_0x5209bd['key']=_0x1e411e['key']),null!=_0x1e411e['oldValueBoolean']&&_0x1e411e['hasOwnProperty']('oldValueBoolean')&&(_0x5209bd['oldValueBoolean']=_0x1e411e['oldValueBoolean']),null!=_0x1e411e['oldValueJson']&&_0x1e411e['hasOwnProperty']('oldValueJson')&&(_0x5209bd['oldValueJson']=_0x1e411e['oldValueJson']),null!=_0x1e411e['newValueBoolean']&&_0x1e411e['hasOwnProperty']('newValueBoolean')&&(_0x5209bd['newValueBoolean']=_0x1e411e['newValueBoolean']),null!=_0x1e411e['newValueJson']&&_0x1e411e['hasOwnProperty']('newValueJson')&&(_0x5209bd['newValueJson']=_0x1e411e['newValueJson']),null!=_0x1e411e['wasUndone']&&_0x1e411e['hasOwnProperty']('wasUndone')&&(_0x5209bd['wasUndone']=_0x1e411e['wasUndone']),_0x5209bd;},_0x43cce4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x24532a['util']['toJSONOptions']);},_0x43cce4['getTypeUrl']=function(_0x3d1e98){return void 0x0===_0x3d1e98&&(_0x3d1e98='type.googleapis.com'),_0x3d1e98+'/AttributeOperation';},_0x43cce4;}()),_0x12d128['InsertOperation']=(function(){function _0x43af35(_0x540f8d){if(this['nodes']=[],_0x540f8d){for(var _0x40ec26=Object['keys'](_0x540f8d),_0x35a141=0x0;_0x35a141<_0x40ec26['length'];++_0x35a141)null!=_0x540f8d[_0x40ec26[_0x35a141]]&&(this[_0x40ec26[_0x35a141]]=_0x540f8d[_0x40ec26[_0x35a141]]);}}return _0x43af35['prototype']['position']=null,_0x43af35['prototype']['nodes']=_0x368f67['emptyArray'],_0x43af35['prototype']['shouldReceiveAttributes']=!0x1,_0x43af35['prototype']['wasUndone']=!0x1,_0x43af35['create']=function(_0x537e7c){return new _0x43af35(_0x537e7c);},_0x43af35['encode']=function(_0x5ac732,_0x36c61a){if(_0x36c61a||(_0x36c61a=_0x1c76e5['create']()),null!=_0x5ac732['position']&&Object['hasOwnProperty']['call'](_0x5ac732,'position')&&_0x12d128['Position']['encode'](_0x5ac732['position'],_0x36c61a['uint32'](0xa)['fork']())['ldelim'](),null!=_0x5ac732['nodes']&&_0x5ac732['nodes']['length']){for(var _0x5ed1f4=0x0;_0x5ed1f4<_0x5ac732['nodes']['length'];++_0x5ed1f4)_0x12d128['Element']['encode'](_0x5ac732['nodes'][_0x5ed1f4],_0x36c61a['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x5ac732['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x5ac732,'shouldReceiveAttributes')&&_0x36c61a['uint32'](0x18)['bool'](_0x5ac732['shouldReceiveAttributes']),null!=_0x5ac732['wasUndone']&&Object['hasOwnProperty']['call'](_0x5ac732,'wasUndone')&&_0x36c61a['uint32'](0x20)['bool'](_0x5ac732['wasUndone']),_0x36c61a;},_0x43af35['encodeDelimited']=function(_0x24e2e8,_0x18b4c7){return this['encode'](_0x24e2e8,_0x18b4c7)['ldelim']();},_0x43af35['decode']=function(_0x419837,_0x436cc9){_0x419837 instanceof _0x57c96d||(_0x419837=_0x57c96d['create'](_0x419837));for(var _0xb2317d=void 0x0===_0x436cc9?_0x419837['len']:_0x419837['pos']+_0x436cc9,_0x2e1f60=new _0x12d128['InsertOperation']();_0x419837['pos']<_0xb2317d;){var _0x1fedbc=_0x419837['uint32']();switch(_0x1fedbc>>>0x3){case 0x1:_0x2e1f60['position']=_0x12d128['Position']['decode'](_0x419837,_0x419837['uint32']());break;case 0x2:_0x2e1f60['nodes']&&_0x2e1f60['nodes']['length']||(_0x2e1f60['nodes']=[]),_0x2e1f60['nodes']['push'](_0x12d128['Element']['decode'](_0x419837,_0x419837['uint32']()));break;case 0x3:_0x2e1f60['shouldReceiveAttributes']=_0x419837['bool']();break;case 0x4:_0x2e1f60['wasUndone']=_0x419837['bool']();break;default:_0x419837['skipType'](0x7&_0x1fedbc);}}return _0x2e1f60;},_0x43af35['decodeDelimited']=function(_0x168af8){return _0x168af8 instanceof _0x57c96d||(_0x168af8=new _0x57c96d(_0x168af8)),this['decode'](_0x168af8,_0x168af8['uint32']());},_0x43af35['verify']=function(_0x429564){if('object'!=typeof _0x429564||null===_0x429564)return'object\x20expected';if(null!=_0x429564['position']&&_0x429564['hasOwnProperty']('position')&&(_0x3eb02b=_0x12d128['Position']['verify'](_0x429564['position'])))return'position.'+_0x3eb02b;if(null!=_0x429564['nodes']&&_0x429564['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x429564['nodes']))return'nodes:\x20array\x20expected';for(var _0x57c81c=0x0;_0x57c81c<_0x429564['nodes']['length'];++_0x57c81c){var _0x3eb02b;if(_0x3eb02b=_0x12d128['Element']['verify'](_0x429564['nodes'][_0x57c81c]))return'nodes.'+_0x3eb02b;}}return null!=_0x429564['shouldReceiveAttributes']&&_0x429564['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x429564['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x429564['wasUndone']&&_0x429564['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x429564['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x43af35['fromObject']=function(_0x4105d0){if(_0x4105d0 instanceof _0x12d128['InsertOperation'])return _0x4105d0;var _0x228d33=new _0x12d128['InsertOperation']();if(null!=_0x4105d0['position']){if('object'!=typeof _0x4105d0['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x228d33['position']=_0x12d128['Position']['fromObject'](_0x4105d0['position']);}if(_0x4105d0['nodes']){if(!Array['isArray'](_0x4105d0['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x228d33['nodes']=[];for(var _0x2b3890=0x0;_0x2b3890<_0x4105d0['nodes']['length'];++_0x2b3890){if('object'!=typeof _0x4105d0['nodes'][_0x2b3890])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x228d33['nodes'][_0x2b3890]=_0x12d128['Element']['fromObject'](_0x4105d0['nodes'][_0x2b3890]);}}return null!=_0x4105d0['shouldReceiveAttributes']&&(_0x228d33['shouldReceiveAttributes']=Boolean(_0x4105d0['shouldReceiveAttributes'])),null!=_0x4105d0['wasUndone']&&(_0x228d33['wasUndone']=Boolean(_0x4105d0['wasUndone'])),_0x228d33;},_0x43af35['toObject']=function(_0x133b9a,_0x4b454c){_0x4b454c||(_0x4b454c={});var _0x46afcf={};if((_0x4b454c['arrays']||_0x4b454c['defaults'])&&(_0x46afcf['nodes']=[]),_0x4b454c['defaults']&&(_0x46afcf['position']=null,_0x46afcf['shouldReceiveAttributes']=!0x1,_0x46afcf['wasUndone']=!0x1),null!=_0x133b9a['position']&&_0x133b9a['hasOwnProperty']('position')&&(_0x46afcf['position']=_0x12d128['Position']['toObject'](_0x133b9a['position'],_0x4b454c)),_0x133b9a['nodes']&&_0x133b9a['nodes']['length']){_0x46afcf['nodes']=[];for(var _0x2bde38=0x0;_0x2bde38<_0x133b9a['nodes']['length'];++_0x2bde38)_0x46afcf['nodes'][_0x2bde38]=_0x12d128['Element']['toObject'](_0x133b9a['nodes'][_0x2bde38],_0x4b454c);}return null!=_0x133b9a['shouldReceiveAttributes']&&_0x133b9a['hasOwnProperty']('shouldReceiveAttributes')&&(_0x46afcf['shouldReceiveAttributes']=_0x133b9a['shouldReceiveAttributes']),null!=_0x133b9a['wasUndone']&&_0x133b9a['hasOwnProperty']('wasUndone')&&(_0x46afcf['wasUndone']=_0x133b9a['wasUndone']),_0x46afcf;},_0x43af35['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x24532a['util']['toJSONOptions']);},_0x43af35['getTypeUrl']=function(_0x2260dc){return void 0x0===_0x2260dc&&(_0x2260dc='type.googleapis.com'),_0x2260dc+'/InsertOperation';},_0x43af35;}()),_0x12d128['MarkerOperation']=(function(){function _0x452018(_0x298f5c){if(_0x298f5c){for(var _0x2791d8=Object['keys'](_0x298f5c),_0x8af5c2=0x0;_0x8af5c2<_0x2791d8['length'];++_0x8af5c2)null!=_0x298f5c[_0x2791d8[_0x8af5c2]]&&(this[_0x2791d8[_0x8af5c2]]=_0x298f5c[_0x2791d8[_0x8af5c2]]);}}return _0x452018['prototype']['name']='',_0x452018['prototype']['oldRange']=null,_0x452018['prototype']['newRange']=null,_0x452018['prototype']['affectsData']=!0x1,_0x452018['prototype']['wasUndone']=!0x1,_0x452018['create']=function(_0x20e813){return new _0x452018(_0x20e813);},_0x452018['encode']=function(_0x337e58,_0x1f98e2){return _0x1f98e2||(_0x1f98e2=_0x1c76e5['create']()),null!=_0x337e58['name']&&Object['hasOwnProperty']['call'](_0x337e58,'name')&&_0x1f98e2['uint32'](0xa)['string'](_0x337e58['name']),null!=_0x337e58['oldRange']&&Object['hasOwnProperty']['call'](_0x337e58,'oldRange')&&_0x12d128['Range']['encode'](_0x337e58['oldRange'],_0x1f98e2['uint32'](0x12)['fork']())['ldelim'](),null!=_0x337e58['newRange']&&Object['hasOwnProperty']['call'](_0x337e58,'newRange')&&_0x12d128['Range']['encode'](_0x337e58['newRange'],_0x1f98e2['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x337e58['affectsData']&&Object['hasOwnProperty']['call'](_0x337e58,'affectsData')&&_0x1f98e2['uint32'](0x20)['bool'](_0x337e58['affectsData']),null!=_0x337e58['wasUndone']&&Object['hasOwnProperty']['call'](_0x337e58,'wasUndone')&&_0x1f98e2['uint32'](0x28)['bool'](_0x337e58['wasUndone']),_0x1f98e2;},_0x452018['encodeDelimited']=function(_0x1d1acb,_0xa9b5d5){return this['encode'](_0x1d1acb,_0xa9b5d5)['ldelim']();},_0x452018['decode']=function(_0x2e97d9,_0x770cb6){_0x2e97d9 instanceof _0x57c96d||(_0x2e97d9=_0x57c96d['create'](_0x2e97d9));for(var _0x23be07=void 0x0===_0x770cb6?_0x2e97d9['len']:_0x2e97d9['pos']+_0x770cb6,_0x165bf1=new _0x12d128['MarkerOperation']();_0x2e97d9['pos']<_0x23be07;){var _0x3daea1=_0x2e97d9['uint32']();switch(_0x3daea1>>>0x3){case 0x1:_0x165bf1['name']=_0x2e97d9['string']();break;case 0x2:_0x165bf1['oldRange']=_0x12d128['Range']['decode'](_0x2e97d9,_0x2e97d9['uint32']());break;case 0x3:_0x165bf1['newRange']=_0x12d128['Range']['decode'](_0x2e97d9,_0x2e97d9['uint32']());break;case 0x4:_0x165bf1['affectsData']=_0x2e97d9['bool']();break;case 0x5:_0x165bf1['wasUndone']=_0x2e97d9['bool']();break;default:_0x2e97d9['skipType'](0x7&_0x3daea1);}}return _0x165bf1;},_0x452018['decodeDelimited']=function(_0x5a1e42){return _0x5a1e42 instanceof _0x57c96d||(_0x5a1e42=new _0x57c96d(_0x5a1e42)),this['decode'](_0x5a1e42,_0x5a1e42['uint32']());},_0x452018['verify']=function(_0x6a79ee){if('object'!=typeof _0x6a79ee||null===_0x6a79ee)return'object\x20expected';if(null!=_0x6a79ee['name']&&_0x6a79ee['hasOwnProperty']('name')&&!_0x368f67['isString'](_0x6a79ee['name']))return'name:\x20string\x20expected';var _0x563d0e;if(null!=_0x6a79ee['oldRange']&&_0x6a79ee['hasOwnProperty']('oldRange')&&(_0x563d0e=_0x12d128['Range']['verify'](_0x6a79ee['oldRange'])))return'oldRange.'+_0x563d0e;if(null!=_0x6a79ee['newRange']&&_0x6a79ee['hasOwnProperty']('newRange')&&(_0x563d0e=_0x12d128['Range']['verify'](_0x6a79ee['newRange'])))return'newRange.'+_0x563d0e;return null!=_0x6a79ee['affectsData']&&_0x6a79ee['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x6a79ee['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x6a79ee['wasUndone']&&_0x6a79ee['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x6a79ee['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x452018['fromObject']=function(_0x4a3fdb){if(_0x4a3fdb instanceof _0x12d128['MarkerOperation'])return _0x4a3fdb;var _0x44b184=new _0x12d128['MarkerOperation']();if(null!=_0x4a3fdb['name']&&(_0x44b184['name']=String(_0x4a3fdb['name'])),null!=_0x4a3fdb['oldRange']){if('object'!=typeof _0x4a3fdb['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x44b184['oldRange']=_0x12d128['Range']['fromObject'](_0x4a3fdb['oldRange']);}if(null!=_0x4a3fdb['newRange']){if('object'!=typeof _0x4a3fdb['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x44b184['newRange']=_0x12d128['Range']['fromObject'](_0x4a3fdb['newRange']);}return null!=_0x4a3fdb['affectsData']&&(_0x44b184['affectsData']=Boolean(_0x4a3fdb['affectsData'])),null!=_0x4a3fdb['wasUndone']&&(_0x44b184['wasUndone']=Boolean(_0x4a3fdb['wasUndone'])),_0x44b184;},_0x452018['toObject']=function(_0x1e563b,_0x4becaf){_0x4becaf||(_0x4becaf={});var _0x390d5a={};return _0x4becaf['defaults']&&(_0x390d5a['name']='',_0x390d5a['oldRange']=null,_0x390d5a['newRange']=null,_0x390d5a['affectsData']=!0x1,_0x390d5a['wasUndone']=!0x1),null!=_0x1e563b['name']&&_0x1e563b['hasOwnProperty']('name')&&(_0x390d5a['name']=_0x1e563b['name']),null!=_0x1e563b['oldRange']&&_0x1e563b['hasOwnProperty']('oldRange')&&(_0x390d5a['oldRange']=_0x12d128['Range']['toObject'](_0x1e563b['oldRange'],_0x4becaf)),null!=_0x1e563b['newRange']&&_0x1e563b['hasOwnProperty']('newRange')&&(_0x390d5a['newRange']=_0x12d128['Range']['toObject'](_0x1e563b['newRange'],_0x4becaf)),null!=_0x1e563b['affectsData']&&_0x1e563b['hasOwnProperty']('affectsData')&&(_0x390d5a['affectsData']=_0x1e563b['affectsData']),null!=_0x1e563b['wasUndone']&&_0x1e563b['hasOwnProperty']('wasUndone')&&(_0x390d5a['wasUndone']=_0x1e563b['wasUndone']),_0x390d5a;},_0x452018['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x24532a['util']['toJSONOptions']);},_0x452018['getTypeUrl']=function(_0x488763){return void 0x0===_0x488763&&(_0x488763='type.googleapis.com'),_0x488763+'/MarkerOperation';},_0x452018;}()),_0x12d128['MergeOperation']=(function(){function _0x1540e3(_0x52b42d){if(_0x52b42d){for(var _0x36c294=Object['keys'](_0x52b42d),_0x457b98=0x0;_0x457b98<_0x36c294['length'];++_0x457b98)null!=_0x52b42d[_0x36c294[_0x457b98]]&&(this[_0x36c294[_0x457b98]]=_0x52b42d[_0x36c294[_0x457b98]]);}}return _0x1540e3['prototype']['sourcePosition']=null,_0x1540e3['prototype']['targetPosition']=null,_0x1540e3['prototype']['graveyardPosition']=null,_0x1540e3['prototype']['howMany']=0x0,_0x1540e3['prototype']['wasUndone']=!0x1,_0x1540e3['create']=function(_0x227e3c){return new _0x1540e3(_0x227e3c);},_0x1540e3['encode']=function(_0xbdf4ca,_0x441240){return _0x441240||(_0x441240=_0x1c76e5['create']()),null!=_0xbdf4ca['sourcePosition']&&Object['hasOwnProperty']['call'](_0xbdf4ca,'sourcePosition')&&_0x12d128['Position']['encode'](_0xbdf4ca['sourcePosition'],_0x441240['uint32'](0xa)['fork']())['ldelim'](),null!=_0xbdf4ca['targetPosition']&&Object['hasOwnProperty']['call'](_0xbdf4ca,'targetPosition')&&_0x12d128['Position']['encode'](_0xbdf4ca['targetPosition'],_0x441240['uint32'](0x12)['fork']())['ldelim'](),null!=_0xbdf4ca['graveyardPosition']&&Object['hasOwnProperty']['call'](_0xbdf4ca,'graveyardPosition')&&_0x12d128['Position']['encode'](_0xbdf4ca['graveyardPosition'],_0x441240['uint32'](0x1a)['fork']())['ldelim'](),null!=_0xbdf4ca['howMany']&&Object['hasOwnProperty']['call'](_0xbdf4ca,'howMany')&&_0x441240['uint32'](0x20)['uint32'](_0xbdf4ca['howMany']),null!=_0xbdf4ca['wasUndone']&&Object['hasOwnProperty']['call'](_0xbdf4ca,'wasUndone')&&_0x441240['uint32'](0x28)['bool'](_0xbdf4ca['wasUndone']),_0x441240;},_0x1540e3['encodeDelimited']=function(_0x2e25fd,_0x31ea51){return this['encode'](_0x2e25fd,_0x31ea51)['ldelim']();},_0x1540e3['decode']=function(_0x46847b,_0x4d1341){_0x46847b instanceof _0x57c96d||(_0x46847b=_0x57c96d['create'](_0x46847b));for(var _0xff0ff6=void 0x0===_0x4d1341?_0x46847b['len']:_0x46847b['pos']+_0x4d1341,_0x33e0c1=new _0x12d128['MergeOperation']();_0x46847b['pos']<_0xff0ff6;){var _0x161656=_0x46847b['uint32']();switch(_0x161656>>>0x3){case 0x1:_0x33e0c1['sourcePosition']=_0x12d128['Position']['decode'](_0x46847b,_0x46847b['uint32']());break;case 0x2:_0x33e0c1['targetPosition']=_0x12d128['Position']['decode'](_0x46847b,_0x46847b['uint32']());break;case 0x3:_0x33e0c1['graveyardPosition']=_0x12d128['Position']['decode'](_0x46847b,_0x46847b['uint32']());break;case 0x4:_0x33e0c1['howMany']=_0x46847b['uint32']();break;case 0x5:_0x33e0c1['wasUndone']=_0x46847b['bool']();break;default:_0x46847b['skipType'](0x7&_0x161656);}}return _0x33e0c1;},_0x1540e3['decodeDelimited']=function(_0xd3ed60){return _0xd3ed60 instanceof _0x57c96d||(_0xd3ed60=new _0x57c96d(_0xd3ed60)),this['decode'](_0xd3ed60,_0xd3ed60['uint32']());},_0x1540e3['verify']=function(_0x5e2fed){if('object'!=typeof _0x5e2fed||null===_0x5e2fed)return'object\x20expected';var _0xf1c981;if(null!=_0x5e2fed['sourcePosition']&&_0x5e2fed['hasOwnProperty']('sourcePosition')&&(_0xf1c981=_0x12d128['Position']['verify'](_0x5e2fed['sourcePosition'])))return'sourcePosition.'+_0xf1c981;if(null!=_0x5e2fed['targetPosition']&&_0x5e2fed['hasOwnProperty']('targetPosition')&&(_0xf1c981=_0x12d128['Position']['verify'](_0x5e2fed['targetPosition'])))return'targetPosition.'+_0xf1c981;if(null!=_0x5e2fed['graveyardPosition']&&_0x5e2fed['hasOwnProperty']('graveyardPosition')&&(_0xf1c981=_0x12d128['Position']['verify'](_0x5e2fed['graveyardPosition'])))return'graveyardPosition.'+_0xf1c981;return null!=_0x5e2fed['howMany']&&_0x5e2fed['hasOwnProperty']('howMany')&&!_0x368f67['isInteger'](_0x5e2fed['howMany'])?'howMany:\x20integer\x20expected':null!=_0x5e2fed['wasUndone']&&_0x5e2fed['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5e2fed['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1540e3['fromObject']=function(_0x3a8f2f){if(_0x3a8f2f instanceof _0x12d128['MergeOperation'])return _0x3a8f2f;var _0x50f466=new _0x12d128['MergeOperation']();if(null!=_0x3a8f2f['sourcePosition']){if('object'!=typeof _0x3a8f2f['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x50f466['sourcePosition']=_0x12d128['Position']['fromObject'](_0x3a8f2f['sourcePosition']);}if(null!=_0x3a8f2f['targetPosition']){if('object'!=typeof _0x3a8f2f['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x50f466['targetPosition']=_0x12d128['Position']['fromObject'](_0x3a8f2f['targetPosition']);}if(null!=_0x3a8f2f['graveyardPosition']){if('object'!=typeof _0x3a8f2f['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x50f466['graveyardPosition']=_0x12d128['Position']['fromObject'](_0x3a8f2f['graveyardPosition']);}return null!=_0x3a8f2f['howMany']&&(_0x50f466['howMany']=_0x3a8f2f['howMany']>>>0x0),null!=_0x3a8f2f['wasUndone']&&(_0x50f466['wasUndone']=Boolean(_0x3a8f2f['wasUndone'])),_0x50f466;},_0x1540e3['toObject']=function(_0xd7efd6,_0xdf9554){_0xdf9554||(_0xdf9554={});var _0x499efe={};return _0xdf9554['defaults']&&(_0x499efe['sourcePosition']=null,_0x499efe['targetPosition']=null,_0x499efe['graveyardPosition']=null,_0x499efe['howMany']=0x0,_0x499efe['wasUndone']=!0x1),null!=_0xd7efd6['sourcePosition']&&_0xd7efd6['hasOwnProperty']('sourcePosition')&&(_0x499efe['sourcePosition']=_0x12d128['Position']['toObject'](_0xd7efd6['sourcePosition'],_0xdf9554)),null!=_0xd7efd6['targetPosition']&&_0xd7efd6['hasOwnProperty']('targetPosition')&&(_0x499efe['targetPosition']=_0x12d128['Position']['toObject'](_0xd7efd6['targetPosition'],_0xdf9554)),null!=_0xd7efd6['graveyardPosition']&&_0xd7efd6['hasOwnProperty']('graveyardPosition')&&(_0x499efe['graveyardPosition']=_0x12d128['Position']['toObject'](_0xd7efd6['graveyardPosition'],_0xdf9554)),null!=_0xd7efd6['howMany']&&_0xd7efd6['hasOwnProperty']('howMany')&&(_0x499efe['howMany']=_0xd7efd6['howMany']),null!=_0xd7efd6['wasUndone']&&_0xd7efd6['hasOwnProperty']('wasUndone')&&(_0x499efe['wasUndone']=_0xd7efd6['wasUndone']),_0x499efe;},_0x1540e3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x24532a['util']['toJSONOptions']);},_0x1540e3['getTypeUrl']=function(_0x1437ca){return void 0x0===_0x1437ca&&(_0x1437ca='type.googleapis.com'),_0x1437ca+'/MergeOperation';},_0x1540e3;}()),_0x12d128['MoveOperation']=(function(){function _0xc03911(_0x3de523){if(_0x3de523){for(var _0x3ebe91=Object['keys'](_0x3de523),_0x36dc9a=0x0;_0x36dc9a<_0x3ebe91['length'];++_0x36dc9a)null!=_0x3de523[_0x3ebe91[_0x36dc9a]]&&(this[_0x3ebe91[_0x36dc9a]]=_0x3de523[_0x3ebe91[_0x36dc9a]]);}}return _0xc03911['prototype']['sourcePosition']=null,_0xc03911['prototype']['howMany']=0x0,_0xc03911['prototype']['targetPosition']=null,_0xc03911['prototype']['wasUndone']=!0x1,_0xc03911['create']=function(_0x3c0833){return new _0xc03911(_0x3c0833);},_0xc03911['encode']=function(_0x3ce515,_0x43dc56){return _0x43dc56||(_0x43dc56=_0x1c76e5['create']()),null!=_0x3ce515['sourcePosition']&&Object['hasOwnProperty']['call'](_0x3ce515,'sourcePosition')&&_0x12d128['Position']['encode'](_0x3ce515['sourcePosition'],_0x43dc56['uint32'](0xa)['fork']())['ldelim'](),null!=_0x3ce515['howMany']&&Object['hasOwnProperty']['call'](_0x3ce515,'howMany')&&_0x43dc56['uint32'](0x10)['uint32'](_0x3ce515['howMany']),null!=_0x3ce515['targetPosition']&&Object['hasOwnProperty']['call'](_0x3ce515,'targetPosition')&&_0x12d128['Position']['encode'](_0x3ce515['targetPosition'],_0x43dc56['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x3ce515['wasUndone']&&Object['hasOwnProperty']['call'](_0x3ce515,'wasUndone')&&_0x43dc56['uint32'](0x20)['bool'](_0x3ce515['wasUndone']),_0x43dc56;},_0xc03911['encodeDelimited']=function(_0x1e4c3b,_0x2f60d7){return this['encode'](_0x1e4c3b,_0x2f60d7)['ldelim']();},_0xc03911['decode']=function(_0x4563cd,_0x3c8230){_0x4563cd instanceof _0x57c96d||(_0x4563cd=_0x57c96d['create'](_0x4563cd));for(var _0x34c84f=void 0x0===_0x3c8230?_0x4563cd['len']:_0x4563cd['pos']+_0x3c8230,_0x7ed9ce=new _0x12d128['MoveOperation']();_0x4563cd['pos']<_0x34c84f;){var _0x5a0ce1=_0x4563cd['uint32']();switch(_0x5a0ce1>>>0x3){case 0x1:_0x7ed9ce['sourcePosition']=_0x12d128['Position']['decode'](_0x4563cd,_0x4563cd['uint32']());break;case 0x2:_0x7ed9ce['howMany']=_0x4563cd['uint32']();break;case 0x3:_0x7ed9ce['targetPosition']=_0x12d128['Position']['decode'](_0x4563cd,_0x4563cd['uint32']());break;case 0x4:_0x7ed9ce['wasUndone']=_0x4563cd['bool']();break;default:_0x4563cd['skipType'](0x7&_0x5a0ce1);}}return _0x7ed9ce;},_0xc03911['decodeDelimited']=function(_0x4c7a77){return _0x4c7a77 instanceof _0x57c96d||(_0x4c7a77=new _0x57c96d(_0x4c7a77)),this['decode'](_0x4c7a77,_0x4c7a77['uint32']());},_0xc03911['verify']=function(_0x2e4e30){if('object'!=typeof _0x2e4e30||null===_0x2e4e30)return'object\x20expected';var _0x4a8f3c;if(null!=_0x2e4e30['sourcePosition']&&_0x2e4e30['hasOwnProperty']('sourcePosition')&&(_0x4a8f3c=_0x12d128['Position']['verify'](_0x2e4e30['sourcePosition'])))return'sourcePosition.'+_0x4a8f3c;if(null!=_0x2e4e30['howMany']&&_0x2e4e30['hasOwnProperty']('howMany')&&!_0x368f67['isInteger'](_0x2e4e30['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x2e4e30['targetPosition']&&_0x2e4e30['hasOwnProperty']('targetPosition')&&(_0x4a8f3c=_0x12d128['Position']['verify'](_0x2e4e30['targetPosition'])))return'targetPosition.'+_0x4a8f3c;return null!=_0x2e4e30['wasUndone']&&_0x2e4e30['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x2e4e30['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0xc03911['fromObject']=function(_0x301595){if(_0x301595 instanceof _0x12d128['MoveOperation'])return _0x301595;var _0x49d573=new _0x12d128['MoveOperation']();if(null!=_0x301595['sourcePosition']){if('object'!=typeof _0x301595['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x49d573['sourcePosition']=_0x12d128['Position']['fromObject'](_0x301595['sourcePosition']);}if(null!=_0x301595['howMany']&&(_0x49d573['howMany']=_0x301595['howMany']>>>0x0),null!=_0x301595['targetPosition']){if('object'!=typeof _0x301595['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x49d573['targetPosition']=_0x12d128['Position']['fromObject'](_0x301595['targetPosition']);}return null!=_0x301595['wasUndone']&&(_0x49d573['wasUndone']=Boolean(_0x301595['wasUndone'])),_0x49d573;},_0xc03911['toObject']=function(_0x2858e2,_0x31378b){_0x31378b||(_0x31378b={});var _0x21d3e0={};return _0x31378b['defaults']&&(_0x21d3e0['sourcePosition']=null,_0x21d3e0['howMany']=0x0,_0x21d3e0['targetPosition']=null,_0x21d3e0['wasUndone']=!0x1),null!=_0x2858e2['sourcePosition']&&_0x2858e2['hasOwnProperty']('sourcePosition')&&(_0x21d3e0['sourcePosition']=_0x12d128['Position']['toObject'](_0x2858e2['sourcePosition'],_0x31378b)),null!=_0x2858e2['howMany']&&_0x2858e2['hasOwnProperty']('howMany')&&(_0x21d3e0['howMany']=_0x2858e2['howMany']),null!=_0x2858e2['targetPosition']&&_0x2858e2['hasOwnProperty']('targetPosition')&&(_0x21d3e0['targetPosition']=_0x12d128['Position']['toObject'](_0x2858e2['targetPosition'],_0x31378b)),null!=_0x2858e2['wasUndone']&&_0x2858e2['hasOwnProperty']('wasUndone')&&(_0x21d3e0['wasUndone']=_0x2858e2['wasUndone']),_0x21d3e0;},_0xc03911['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x24532a['util']['toJSONOptions']);},_0xc03911['getTypeUrl']=function(_0x33d0ca){return void 0x0===_0x33d0ca&&(_0x33d0ca='type.googleapis.com'),_0x33d0ca+'/MoveOperation';},_0xc03911;}()),_0x12d128['RenameOperation']=(function(){function _0x48b163(_0x36fe73){if(_0x36fe73){for(var _0x53eda0=Object['keys'](_0x36fe73),_0x5c2ab1=0x0;_0x5c2ab1<_0x53eda0['length'];++_0x5c2ab1)null!=_0x36fe73[_0x53eda0[_0x5c2ab1]]&&(this[_0x53eda0[_0x5c2ab1]]=_0x36fe73[_0x53eda0[_0x5c2ab1]]);}}return _0x48b163['prototype']['position']=null,_0x48b163['prototype']['oldName']='',_0x48b163['prototype']['newName']='',_0x48b163['prototype']['wasUndone']=!0x1,_0x48b163['create']=function(_0x89e29){return new _0x48b163(_0x89e29);},_0x48b163['encode']=function(_0x4506b4,_0x32114a){return _0x32114a||(_0x32114a=_0x1c76e5['create']()),null!=_0x4506b4['position']&&Object['hasOwnProperty']['call'](_0x4506b4,'position')&&_0x12d128['Position']['encode'](_0x4506b4['position'],_0x32114a['uint32'](0xa)['fork']())['ldelim'](),null!=_0x4506b4['oldName']&&Object['hasOwnProperty']['call'](_0x4506b4,'oldName')&&_0x32114a['uint32'](0x12)['string'](_0x4506b4['oldName']),null!=_0x4506b4['newName']&&Object['hasOwnProperty']['call'](_0x4506b4,'newName')&&_0x32114a['uint32'](0x1a)['string'](_0x4506b4['newName']),null!=_0x4506b4['wasUndone']&&Object['hasOwnProperty']['call'](_0x4506b4,'wasUndone')&&_0x32114a['uint32'](0x20)['bool'](_0x4506b4['wasUndone']),_0x32114a;},_0x48b163['encodeDelimited']=function(_0x22b473,_0x13e2ac){return this['encode'](_0x22b473,_0x13e2ac)['ldelim']();},_0x48b163['decode']=function(_0x4620de,_0x9512d9){_0x4620de instanceof _0x57c96d||(_0x4620de=_0x57c96d['create'](_0x4620de));for(var _0x5efd21=void 0x0===_0x9512d9?_0x4620de['len']:_0x4620de['pos']+_0x9512d9,_0xa437dd=new _0x12d128['RenameOperation']();_0x4620de['pos']<_0x5efd21;){var _0xef030=_0x4620de['uint32']();switch(_0xef030>>>0x3){case 0x1:_0xa437dd['position']=_0x12d128['Position']['decode'](_0x4620de,_0x4620de['uint32']());break;case 0x2:_0xa437dd['oldName']=_0x4620de['string']();break;case 0x3:_0xa437dd['newName']=_0x4620de['string']();break;case 0x4:_0xa437dd['wasUndone']=_0x4620de['bool']();break;default:_0x4620de['skipType'](0x7&_0xef030);}}return _0xa437dd;},_0x48b163['decodeDelimited']=function(_0x5534b5){return _0x5534b5 instanceof _0x57c96d||(_0x5534b5=new _0x57c96d(_0x5534b5)),this['decode'](_0x5534b5,_0x5534b5['uint32']());},_0x48b163['verify']=function(_0x1e5768){if('object'!=typeof _0x1e5768||null===_0x1e5768)return'object\x20expected';if(null!=_0x1e5768['position']&&_0x1e5768['hasOwnProperty']('position')){var _0x3ee66d=_0x12d128['Position']['verify'](_0x1e5768['position']);if(_0x3ee66d)return'position.'+_0x3ee66d;}return null!=_0x1e5768['oldName']&&_0x1e5768['hasOwnProperty']('oldName')&&!_0x368f67['isString'](_0x1e5768['oldName'])?'oldName:\x20string\x20expected':null!=_0x1e5768['newName']&&_0x1e5768['hasOwnProperty']('newName')&&!_0x368f67['isString'](_0x1e5768['newName'])?'newName:\x20string\x20expected':null!=_0x1e5768['wasUndone']&&_0x1e5768['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1e5768['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x48b163['fromObject']=function(_0x4735e5){if(_0x4735e5 instanceof _0x12d128['RenameOperation'])return _0x4735e5;var _0x529a94=new _0x12d128['RenameOperation']();if(null!=_0x4735e5['position']){if('object'!=typeof _0x4735e5['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x529a94['position']=_0x12d128['Position']['fromObject'](_0x4735e5['position']);}return null!=_0x4735e5['oldName']&&(_0x529a94['oldName']=String(_0x4735e5['oldName'])),null!=_0x4735e5['newName']&&(_0x529a94['newName']=String(_0x4735e5['newName'])),null!=_0x4735e5['wasUndone']&&(_0x529a94['wasUndone']=Boolean(_0x4735e5['wasUndone'])),_0x529a94;},_0x48b163['toObject']=function(_0x38aede,_0x5cc603){_0x5cc603||(_0x5cc603={});var _0x2d8ff2={};return _0x5cc603['defaults']&&(_0x2d8ff2['position']=null,_0x2d8ff2['oldName']='',_0x2d8ff2['newName']='',_0x2d8ff2['wasUndone']=!0x1),null!=_0x38aede['position']&&_0x38aede['hasOwnProperty']('position')&&(_0x2d8ff2['position']=_0x12d128['Position']['toObject'](_0x38aede['position'],_0x5cc603)),null!=_0x38aede['oldName']&&_0x38aede['hasOwnProperty']('oldName')&&(_0x2d8ff2['oldName']=_0x38aede['oldName']),null!=_0x38aede['newName']&&_0x38aede['hasOwnProperty']('newName')&&(_0x2d8ff2['newName']=_0x38aede['newName']),null!=_0x38aede['wasUndone']&&_0x38aede['hasOwnProperty']('wasUndone')&&(_0x2d8ff2['wasUndone']=_0x38aede['wasUndone']),_0x2d8ff2;},_0x48b163['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x24532a['util']['toJSONOptions']);},_0x48b163['getTypeUrl']=function(_0x349155){return void 0x0===_0x349155&&(_0x349155='type.googleapis.com'),_0x349155+'/RenameOperation';},_0x48b163;}()),_0x12d128['RootAttributeOperation']=(function(){function _0x454433(_0x13c33b){if(_0x13c33b){for(var _0x55a8c2=Object['keys'](_0x13c33b),_0x27cb80=0x0;_0x27cb80<_0x55a8c2['length'];++_0x27cb80)null!=_0x13c33b[_0x55a8c2[_0x27cb80]]&&(this[_0x55a8c2[_0x27cb80]]=_0x13c33b[_0x55a8c2[_0x27cb80]]);}}return _0x454433['prototype']['root']='',_0x454433['prototype']['key']='',_0x454433['prototype']['oldValueBoolean']=!0x1,_0x454433['prototype']['oldValueJson']='',_0x454433['prototype']['newValueBoolean']=!0x1,_0x454433['prototype']['newValueJson']='',_0x454433['prototype']['wasUndone']=!0x1,_0x454433['create']=function(_0x266794){return new _0x454433(_0x266794);},_0x454433['encode']=function(_0x208ec0,_0x44392a){return _0x44392a||(_0x44392a=_0x1c76e5['create']()),null!=_0x208ec0['root']&&Object['hasOwnProperty']['call'](_0x208ec0,'root')&&_0x44392a['uint32'](0xa)['string'](_0x208ec0['root']),null!=_0x208ec0['key']&&Object['hasOwnProperty']['call'](_0x208ec0,'key')&&_0x44392a['uint32'](0x12)['string'](_0x208ec0['key']),null!=_0x208ec0['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x208ec0,'oldValueBoolean')&&_0x44392a['uint32'](0x18)['bool'](_0x208ec0['oldValueBoolean']),null!=_0x208ec0['oldValueJson']&&Object['hasOwnProperty']['call'](_0x208ec0,'oldValueJson')&&_0x44392a['uint32'](0x22)['string'](_0x208ec0['oldValueJson']),null!=_0x208ec0['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x208ec0,'newValueBoolean')&&_0x44392a['uint32'](0x28)['bool'](_0x208ec0['newValueBoolean']),null!=_0x208ec0['newValueJson']&&Object['hasOwnProperty']['call'](_0x208ec0,'newValueJson')&&_0x44392a['uint32'](0x32)['string'](_0x208ec0['newValueJson']),null!=_0x208ec0['wasUndone']&&Object['hasOwnProperty']['call'](_0x208ec0,'wasUndone')&&_0x44392a['uint32'](0x38)['bool'](_0x208ec0['wasUndone']),_0x44392a;},_0x454433['encodeDelimited']=function(_0xd29211,_0xcf8333){return this['encode'](_0xd29211,_0xcf8333)['ldelim']();},_0x454433['decode']=function(_0x4a6b5e,_0x254a6c){_0x4a6b5e instanceof _0x57c96d||(_0x4a6b5e=_0x57c96d['create'](_0x4a6b5e));for(var _0x3b3656=void 0x0===_0x254a6c?_0x4a6b5e['len']:_0x4a6b5e['pos']+_0x254a6c,_0x2cba67=new _0x12d128['RootAttributeOperation']();_0x4a6b5e['pos']<_0x3b3656;){var _0x206aa9=_0x4a6b5e['uint32']();switch(_0x206aa9>>>0x3){case 0x1:_0x2cba67['root']=_0x4a6b5e['string']();break;case 0x2:_0x2cba67['key']=_0x4a6b5e['string']();break;case 0x3:_0x2cba67['oldValueBoolean']=_0x4a6b5e['bool']();break;case 0x4:_0x2cba67['oldValueJson']=_0x4a6b5e['string']();break;case 0x5:_0x2cba67['newValueBoolean']=_0x4a6b5e['bool']();break;case 0x6:_0x2cba67['newValueJson']=_0x4a6b5e['string']();break;case 0x7:_0x2cba67['wasUndone']=_0x4a6b5e['bool']();break;default:_0x4a6b5e['skipType'](0x7&_0x206aa9);}}return _0x2cba67;},_0x454433['decodeDelimited']=function(_0x3bb06d){return _0x3bb06d instanceof _0x57c96d||(_0x3bb06d=new _0x57c96d(_0x3bb06d)),this['decode'](_0x3bb06d,_0x3bb06d['uint32']());},_0x454433['verify']=function(_0xd1d08d){return'object'!=typeof _0xd1d08d||null===_0xd1d08d?'object\x20expected':null!=_0xd1d08d['root']&&_0xd1d08d['hasOwnProperty']('root')&&!_0x368f67['isString'](_0xd1d08d['root'])?'root:\x20string\x20expected':null!=_0xd1d08d['key']&&_0xd1d08d['hasOwnProperty']('key')&&!_0x368f67['isString'](_0xd1d08d['key'])?'key:\x20string\x20expected':null!=_0xd1d08d['oldValueBoolean']&&_0xd1d08d['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0xd1d08d['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0xd1d08d['oldValueJson']&&_0xd1d08d['hasOwnProperty']('oldValueJson')&&!_0x368f67['isString'](_0xd1d08d['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0xd1d08d['newValueBoolean']&&_0xd1d08d['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0xd1d08d['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0xd1d08d['newValueJson']&&_0xd1d08d['hasOwnProperty']('newValueJson')&&!_0x368f67['isString'](_0xd1d08d['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0xd1d08d['wasUndone']&&_0xd1d08d['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xd1d08d['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x454433['fromObject']=function(_0x393e06){if(_0x393e06 instanceof _0x12d128['RootAttributeOperation'])return _0x393e06;var _0x4694a3=new _0x12d128['RootAttributeOperation']();return null!=_0x393e06['root']&&(_0x4694a3['root']=String(_0x393e06['root'])),null!=_0x393e06['key']&&(_0x4694a3['key']=String(_0x393e06['key'])),null!=_0x393e06['oldValueBoolean']&&(_0x4694a3['oldValueBoolean']=Boolean(_0x393e06['oldValueBoolean'])),null!=_0x393e06['oldValueJson']&&(_0x4694a3['oldValueJson']=String(_0x393e06['oldValueJson'])),null!=_0x393e06['newValueBoolean']&&(_0x4694a3['newValueBoolean']=Boolean(_0x393e06['newValueBoolean'])),null!=_0x393e06['newValueJson']&&(_0x4694a3['newValueJson']=String(_0x393e06['newValueJson'])),null!=_0x393e06['wasUndone']&&(_0x4694a3['wasUndone']=Boolean(_0x393e06['wasUndone'])),_0x4694a3;},_0x454433['toObject']=function(_0x232b7b,_0x571833){_0x571833||(_0x571833={});var _0x57f7ae={};return _0x571833['defaults']&&(_0x57f7ae['root']='',_0x57f7ae['key']='',_0x57f7ae['oldValueBoolean']=!0x1,_0x57f7ae['oldValueJson']='',_0x57f7ae['newValueBoolean']=!0x1,_0x57f7ae['newValueJson']='',_0x57f7ae['wasUndone']=!0x1),null!=_0x232b7b['root']&&_0x232b7b['hasOwnProperty']('root')&&(_0x57f7ae['root']=_0x232b7b['root']),null!=_0x232b7b['key']&&_0x232b7b['hasOwnProperty']('key')&&(_0x57f7ae['key']=_0x232b7b['key']),null!=_0x232b7b['oldValueBoolean']&&_0x232b7b['hasOwnProperty']('oldValueBoolean')&&(_0x57f7ae['oldValueBoolean']=_0x232b7b['oldValueBoolean']),null!=_0x232b7b['oldValueJson']&&_0x232b7b['hasOwnProperty']('oldValueJson')&&(_0x57f7ae['oldValueJson']=_0x232b7b['oldValueJson']),null!=_0x232b7b['newValueBoolean']&&_0x232b7b['hasOwnProperty']('newValueBoolean')&&(_0x57f7ae['newValueBoolean']=_0x232b7b['newValueBoolean']),null!=_0x232b7b['newValueJson']&&_0x232b7b['hasOwnProperty']('newValueJson')&&(_0x57f7ae['newValueJson']=_0x232b7b['newValueJson']),null!=_0x232b7b['wasUndone']&&_0x232b7b['hasOwnProperty']('wasUndone')&&(_0x57f7ae['wasUndone']=_0x232b7b['wasUndone']),_0x57f7ae;},_0x454433['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x24532a['util']['toJSONOptions']);},_0x454433['getTypeUrl']=function(_0x1e8ff2){return void 0x0===_0x1e8ff2&&(_0x1e8ff2='type.googleapis.com'),_0x1e8ff2+'/RootAttributeOperation';},_0x454433;}()),_0x12d128['RootOperation']=(function(){function _0x28a80c(_0xaf783c){if(_0xaf783c){for(var _0x589c89=Object['keys'](_0xaf783c),_0xc6b374=0x0;_0xc6b374<_0x589c89['length'];++_0xc6b374)null!=_0xaf783c[_0x589c89[_0xc6b374]]&&(this[_0x589c89[_0xc6b374]]=_0xaf783c[_0x589c89[_0xc6b374]]);}}return _0x28a80c['prototype']['rootName']='',_0x28a80c['prototype']['elementName']='',_0x28a80c['prototype']['isAdd']=!0x1,_0x28a80c['prototype']['wasUndone']=!0x1,_0x28a80c['create']=function(_0x17028a){return new _0x28a80c(_0x17028a);},_0x28a80c['encode']=function(_0x153980,_0x403c1c){return _0x403c1c||(_0x403c1c=_0x1c76e5['create']()),null!=_0x153980['rootName']&&Object['hasOwnProperty']['call'](_0x153980,'rootName')&&_0x403c1c['uint32'](0xa)['string'](_0x153980['rootName']),null!=_0x153980['elementName']&&Object['hasOwnProperty']['call'](_0x153980,'elementName')&&_0x403c1c['uint32'](0x12)['string'](_0x153980['elementName']),null!=_0x153980['isAdd']&&Object['hasOwnProperty']['call'](_0x153980,'isAdd')&&_0x403c1c['uint32'](0x18)['bool'](_0x153980['isAdd']),null!=_0x153980['wasUndone']&&Object['hasOwnProperty']['call'](_0x153980,'wasUndone')&&_0x403c1c['uint32'](0x20)['bool'](_0x153980['wasUndone']),_0x403c1c;},_0x28a80c['encodeDelimited']=function(_0x5d4c14,_0x96b4f1){return this['encode'](_0x5d4c14,_0x96b4f1)['ldelim']();},_0x28a80c['decode']=function(_0x289c38,_0x2e449c){_0x289c38 instanceof _0x57c96d||(_0x289c38=_0x57c96d['create'](_0x289c38));for(var _0x3bb72f=void 0x0===_0x2e449c?_0x289c38['len']:_0x289c38['pos']+_0x2e449c,_0x4688d1=new _0x12d128['RootOperation']();_0x289c38['pos']<_0x3bb72f;){var _0x382cb5=_0x289c38['uint32']();switch(_0x382cb5>>>0x3){case 0x1:_0x4688d1['rootName']=_0x289c38['string']();break;case 0x2:_0x4688d1['elementName']=_0x289c38['string']();break;case 0x3:_0x4688d1['isAdd']=_0x289c38['bool']();break;case 0x4:_0x4688d1['wasUndone']=_0x289c38['bool']();break;default:_0x289c38['skipType'](0x7&_0x382cb5);}}return _0x4688d1;},_0x28a80c['decodeDelimited']=function(_0x475669){return _0x475669 instanceof _0x57c96d||(_0x475669=new _0x57c96d(_0x475669)),this['decode'](_0x475669,_0x475669['uint32']());},_0x28a80c['verify']=function(_0x5b7f91){return'object'!=typeof _0x5b7f91||null===_0x5b7f91?'object\x20expected':null!=_0x5b7f91['rootName']&&_0x5b7f91['hasOwnProperty']('rootName')&&!_0x368f67['isString'](_0x5b7f91['rootName'])?'rootName:\x20string\x20expected':null!=_0x5b7f91['elementName']&&_0x5b7f91['hasOwnProperty']('elementName')&&!_0x368f67['isString'](_0x5b7f91['elementName'])?'elementName:\x20string\x20expected':null!=_0x5b7f91['isAdd']&&_0x5b7f91['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x5b7f91['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x5b7f91['wasUndone']&&_0x5b7f91['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5b7f91['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x28a80c['fromObject']=function(_0x426a58){if(_0x426a58 instanceof _0x12d128['RootOperation'])return _0x426a58;var _0x8077ef=new _0x12d128['RootOperation']();return null!=_0x426a58['rootName']&&(_0x8077ef['rootName']=String(_0x426a58['rootName'])),null!=_0x426a58['elementName']&&(_0x8077ef['elementName']=String(_0x426a58['elementName'])),null!=_0x426a58['isAdd']&&(_0x8077ef['isAdd']=Boolean(_0x426a58['isAdd'])),null!=_0x426a58['wasUndone']&&(_0x8077ef['wasUndone']=Boolean(_0x426a58['wasUndone'])),_0x8077ef;},_0x28a80c['toObject']=function(_0x5a3417,_0x2e4f68){_0x2e4f68||(_0x2e4f68={});var _0x4d04fb={};return _0x2e4f68['defaults']&&(_0x4d04fb['rootName']='',_0x4d04fb['elementName']='',_0x4d04fb['isAdd']=!0x1,_0x4d04fb['wasUndone']=!0x1),null!=_0x5a3417['rootName']&&_0x5a3417['hasOwnProperty']('rootName')&&(_0x4d04fb['rootName']=_0x5a3417['rootName']),null!=_0x5a3417['elementName']&&_0x5a3417['hasOwnProperty']('elementName')&&(_0x4d04fb['elementName']=_0x5a3417['elementName']),null!=_0x5a3417['isAdd']&&_0x5a3417['hasOwnProperty']('isAdd')&&(_0x4d04fb['isAdd']=_0x5a3417['isAdd']),null!=_0x5a3417['wasUndone']&&_0x5a3417['hasOwnProperty']('wasUndone')&&(_0x4d04fb['wasUndone']=_0x5a3417['wasUndone']),_0x4d04fb;},_0x28a80c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x24532a['util']['toJSONOptions']);},_0x28a80c['getTypeUrl']=function(_0xa11485){return void 0x0===_0xa11485&&(_0xa11485='type.googleapis.com'),_0xa11485+'/RootOperation';},_0x28a80c;}()),_0x12d128['SplitOperation']=(function(){function _0xe9210(_0x54ce07){if(_0x54ce07){for(var _0x329b76=Object['keys'](_0x54ce07),_0x3d6135=0x0;_0x3d6135<_0x329b76['length'];++_0x3d6135)null!=_0x54ce07[_0x329b76[_0x3d6135]]&&(this[_0x329b76[_0x3d6135]]=_0x54ce07[_0x329b76[_0x3d6135]]);}}return _0xe9210['prototype']['splitPosition']=null,_0xe9210['prototype']['graveyardPosition']=null,_0xe9210['prototype']['howMany']=0x0,_0xe9210['prototype']['insertionPosition']=null,_0xe9210['prototype']['wasUndone']=!0x1,_0xe9210['create']=function(_0x5c689f){return new _0xe9210(_0x5c689f);},_0xe9210['encode']=function(_0xe8daa1,_0x4d592d){return _0x4d592d||(_0x4d592d=_0x1c76e5['create']()),null!=_0xe8daa1['splitPosition']&&Object['hasOwnProperty']['call'](_0xe8daa1,'splitPosition')&&_0x12d128['Position']['encode'](_0xe8daa1['splitPosition'],_0x4d592d['uint32'](0xa)['fork']())['ldelim'](),null!=_0xe8daa1['graveyardPosition']&&Object['hasOwnProperty']['call'](_0xe8daa1,'graveyardPosition')&&_0x12d128['Position']['encode'](_0xe8daa1['graveyardPosition'],_0x4d592d['uint32'](0x12)['fork']())['ldelim'](),null!=_0xe8daa1['howMany']&&Object['hasOwnProperty']['call'](_0xe8daa1,'howMany')&&_0x4d592d['uint32'](0x18)['uint32'](_0xe8daa1['howMany']),null!=_0xe8daa1['insertionPosition']&&Object['hasOwnProperty']['call'](_0xe8daa1,'insertionPosition')&&_0x12d128['Position']['encode'](_0xe8daa1['insertionPosition'],_0x4d592d['uint32'](0x22)['fork']())['ldelim'](),null!=_0xe8daa1['wasUndone']&&Object['hasOwnProperty']['call'](_0xe8daa1,'wasUndone')&&_0x4d592d['uint32'](0x28)['bool'](_0xe8daa1['wasUndone']),_0x4d592d;},_0xe9210['encodeDelimited']=function(_0x2e1be3,_0x1c7294){return this['encode'](_0x2e1be3,_0x1c7294)['ldelim']();},_0xe9210['decode']=function(_0x434cc3,_0x83e08b){_0x434cc3 instanceof _0x57c96d||(_0x434cc3=_0x57c96d['create'](_0x434cc3));for(var _0x42c725=void 0x0===_0x83e08b?_0x434cc3['len']:_0x434cc3['pos']+_0x83e08b,_0x18c961=new _0x12d128['SplitOperation']();_0x434cc3['pos']<_0x42c725;){var _0x24dc47=_0x434cc3['uint32']();switch(_0x24dc47>>>0x3){case 0x1:_0x18c961['splitPosition']=_0x12d128['Position']['decode'](_0x434cc3,_0x434cc3['uint32']());break;case 0x2:_0x18c961['graveyardPosition']=_0x12d128['Position']['decode'](_0x434cc3,_0x434cc3['uint32']());break;case 0x3:_0x18c961['howMany']=_0x434cc3['uint32']();break;case 0x4:_0x18c961['insertionPosition']=_0x12d128['Position']['decode'](_0x434cc3,_0x434cc3['uint32']());break;case 0x5:_0x18c961['wasUndone']=_0x434cc3['bool']();break;default:_0x434cc3['skipType'](0x7&_0x24dc47);}}return _0x18c961;},_0xe9210['decodeDelimited']=function(_0x14bf02){return _0x14bf02 instanceof _0x57c96d||(_0x14bf02=new _0x57c96d(_0x14bf02)),this['decode'](_0x14bf02,_0x14bf02['uint32']());},_0xe9210['verify']=function(_0x190da2){if('object'!=typeof _0x190da2||null===_0x190da2)return'object\x20expected';var _0x3aad57;if(null!=_0x190da2['splitPosition']&&_0x190da2['hasOwnProperty']('splitPosition')&&(_0x3aad57=_0x12d128['Position']['verify'](_0x190da2['splitPosition'])))return'splitPosition.'+_0x3aad57;if(null!=_0x190da2['graveyardPosition']&&_0x190da2['hasOwnProperty']('graveyardPosition')&&(_0x3aad57=_0x12d128['Position']['verify'](_0x190da2['graveyardPosition'])))return'graveyardPosition.'+_0x3aad57;if(null!=_0x190da2['howMany']&&_0x190da2['hasOwnProperty']('howMany')&&!_0x368f67['isInteger'](_0x190da2['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x190da2['insertionPosition']&&_0x190da2['hasOwnProperty']('insertionPosition')&&(_0x3aad57=_0x12d128['Position']['verify'](_0x190da2['insertionPosition'])))return'insertionPosition.'+_0x3aad57;return null!=_0x190da2['wasUndone']&&_0x190da2['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x190da2['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0xe9210['fromObject']=function(_0xc4db92){if(_0xc4db92 instanceof _0x12d128['SplitOperation'])return _0xc4db92;var _0x12145c=new _0x12d128['SplitOperation']();if(null!=_0xc4db92['splitPosition']){if('object'!=typeof _0xc4db92['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x12145c['splitPosition']=_0x12d128['Position']['fromObject'](_0xc4db92['splitPosition']);}if(null!=_0xc4db92['graveyardPosition']){if('object'!=typeof _0xc4db92['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x12145c['graveyardPosition']=_0x12d128['Position']['fromObject'](_0xc4db92['graveyardPosition']);}if(null!=_0xc4db92['howMany']&&(_0x12145c['howMany']=_0xc4db92['howMany']>>>0x0),null!=_0xc4db92['insertionPosition']){if('object'!=typeof _0xc4db92['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x12145c['insertionPosition']=_0x12d128['Position']['fromObject'](_0xc4db92['insertionPosition']);}return null!=_0xc4db92['wasUndone']&&(_0x12145c['wasUndone']=Boolean(_0xc4db92['wasUndone'])),_0x12145c;},_0xe9210['toObject']=function(_0x56989c,_0x424d81){_0x424d81||(_0x424d81={});var _0x5b1b91={};return _0x424d81['defaults']&&(_0x5b1b91['splitPosition']=null,_0x5b1b91['graveyardPosition']=null,_0x5b1b91['howMany']=0x0,_0x5b1b91['insertionPosition']=null,_0x5b1b91['wasUndone']=!0x1),null!=_0x56989c['splitPosition']&&_0x56989c['hasOwnProperty']('splitPosition')&&(_0x5b1b91['splitPosition']=_0x12d128['Position']['toObject'](_0x56989c['splitPosition'],_0x424d81)),null!=_0x56989c['graveyardPosition']&&_0x56989c['hasOwnProperty']('graveyardPosition')&&(_0x5b1b91['graveyardPosition']=_0x12d128['Position']['toObject'](_0x56989c['graveyardPosition'],_0x424d81)),null!=_0x56989c['howMany']&&_0x56989c['hasOwnProperty']('howMany')&&(_0x5b1b91['howMany']=_0x56989c['howMany']),null!=_0x56989c['insertionPosition']&&_0x56989c['hasOwnProperty']('insertionPosition')&&(_0x5b1b91['insertionPosition']=_0x12d128['Position']['toObject'](_0x56989c['insertionPosition'],_0x424d81)),null!=_0x56989c['wasUndone']&&_0x56989c['hasOwnProperty']('wasUndone')&&(_0x5b1b91['wasUndone']=_0x56989c['wasUndone']),_0x5b1b91;},_0xe9210['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x24532a['util']['toJSONOptions']);},_0xe9210['getTypeUrl']=function(_0x57cab3){return void 0x0===_0x57cab3&&(_0x57cab3='type.googleapis.com'),_0x57cab3+'/SplitOperation';},_0xe9210;}()),_0x12d128['Position']=(function(){function _0x575b64(_0x119f21){if(this['path']=[],_0x119f21){for(var _0x12de04=Object['keys'](_0x119f21),_0x1708b1=0x0;_0x1708b1<_0x12de04['length'];++_0x1708b1)null!=_0x119f21[_0x12de04[_0x1708b1]]&&(this[_0x12de04[_0x1708b1]]=_0x119f21[_0x12de04[_0x1708b1]]);}}return _0x575b64['prototype']['root']='',_0x575b64['prototype']['rootMain']=!0x1,_0x575b64['prototype']['rootGraveyard']=!0x1,_0x575b64['prototype']['path']=_0x368f67['emptyArray'],_0x575b64['prototype']['stickiness']='',_0x575b64['create']=function(_0x577e1a){return new _0x575b64(_0x577e1a);},_0x575b64['encode']=function(_0x3efd6d,_0x4bc53c){if(_0x4bc53c||(_0x4bc53c=_0x1c76e5['create']()),null!=_0x3efd6d['root']&&Object['hasOwnProperty']['call'](_0x3efd6d,'root')&&_0x4bc53c['uint32'](0xa)['string'](_0x3efd6d['root']),null!=_0x3efd6d['rootMain']&&Object['hasOwnProperty']['call'](_0x3efd6d,'rootMain')&&_0x4bc53c['uint32'](0x10)['bool'](_0x3efd6d['rootMain']),null!=_0x3efd6d['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x3efd6d,'rootGraveyard')&&_0x4bc53c['uint32'](0x18)['bool'](_0x3efd6d['rootGraveyard']),null!=_0x3efd6d['path']&&_0x3efd6d['path']['length']){_0x4bc53c['uint32'](0x22)['fork']();for(var _0x37d92d=0x0;_0x37d92d<_0x3efd6d['path']['length'];++_0x37d92d)_0x4bc53c['uint32'](_0x3efd6d['path'][_0x37d92d]);_0x4bc53c['ldelim']();}return null!=_0x3efd6d['stickiness']&&Object['hasOwnProperty']['call'](_0x3efd6d,'stickiness')&&_0x4bc53c['uint32'](0x2a)['string'](_0x3efd6d['stickiness']),_0x4bc53c;},_0x575b64['encodeDelimited']=function(_0x5af1c4,_0xdae9bd){return this['encode'](_0x5af1c4,_0xdae9bd)['ldelim']();},_0x575b64['decode']=function(_0x41ff25,_0x439589){_0x41ff25 instanceof _0x57c96d||(_0x41ff25=_0x57c96d['create'](_0x41ff25));for(var _0x309017=void 0x0===_0x439589?_0x41ff25['len']:_0x41ff25['pos']+_0x439589,_0x3bf4d9=new _0x12d128['Position']();_0x41ff25['pos']<_0x309017;){var _0xb9755c=_0x41ff25['uint32']();switch(_0xb9755c>>>0x3){case 0x1:_0x3bf4d9['root']=_0x41ff25['string']();break;case 0x2:_0x3bf4d9['rootMain']=_0x41ff25['bool']();break;case 0x3:_0x3bf4d9['rootGraveyard']=_0x41ff25['bool']();break;case 0x4:if(_0x3bf4d9['path']&&_0x3bf4d9['path']['length']||(_0x3bf4d9['path']=[]),0x2==(0x7&_0xb9755c)){for(var _0x15e3f0=_0x41ff25['uint32']()+_0x41ff25['pos'];_0x41ff25['pos']<_0x15e3f0;)_0x3bf4d9['path']['push'](_0x41ff25['uint32']());}else _0x3bf4d9['path']['push'](_0x41ff25['uint32']());break;case 0x5:_0x3bf4d9['stickiness']=_0x41ff25['string']();break;default:_0x41ff25['skipType'](0x7&_0xb9755c);}}return _0x3bf4d9;},_0x575b64['decodeDelimited']=function(_0x2d813b){return _0x2d813b instanceof _0x57c96d||(_0x2d813b=new _0x57c96d(_0x2d813b)),this['decode'](_0x2d813b,_0x2d813b['uint32']());},_0x575b64['verify']=function(_0x3730e1){if('object'!=typeof _0x3730e1||null===_0x3730e1)return'object\x20expected';if(null!=_0x3730e1['root']&&_0x3730e1['hasOwnProperty']('root')&&!_0x368f67['isString'](_0x3730e1['root']))return'root:\x20string\x20expected';if(null!=_0x3730e1['rootMain']&&_0x3730e1['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x3730e1['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x3730e1['rootGraveyard']&&_0x3730e1['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x3730e1['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x3730e1['path']&&_0x3730e1['hasOwnProperty']('path')){if(!Array['isArray'](_0x3730e1['path']))return'path:\x20array\x20expected';for(var _0x3532b7=0x0;_0x3532b7<_0x3730e1['path']['length'];++_0x3532b7)if(!_0x368f67['isInteger'](_0x3730e1['path'][_0x3532b7]))return'path:\x20integer[]\x20expected';}return null!=_0x3730e1['stickiness']&&_0x3730e1['hasOwnProperty']('stickiness')&&!_0x368f67['isString'](_0x3730e1['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x575b64['fromObject']=function(_0x2536d2){if(_0x2536d2 instanceof _0x12d128['Position'])return _0x2536d2;var _0x1c83ff=new _0x12d128['Position']();if(null!=_0x2536d2['root']&&(_0x1c83ff['root']=String(_0x2536d2['root'])),null!=_0x2536d2['rootMain']&&(_0x1c83ff['rootMain']=Boolean(_0x2536d2['rootMain'])),null!=_0x2536d2['rootGraveyard']&&(_0x1c83ff['rootGraveyard']=Boolean(_0x2536d2['rootGraveyard'])),_0x2536d2['path']){if(!Array['isArray'](_0x2536d2['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x1c83ff['path']=[];for(var _0x2be7f9=0x0;_0x2be7f9<_0x2536d2['path']['length'];++_0x2be7f9)_0x1c83ff['path'][_0x2be7f9]=_0x2536d2['path'][_0x2be7f9]>>>0x0;}return null!=_0x2536d2['stickiness']&&(_0x1c83ff['stickiness']=String(_0x2536d2['stickiness'])),_0x1c83ff;},_0x575b64['toObject']=function(_0x345162,_0x25b8d3){_0x25b8d3||(_0x25b8d3={});var _0x2e1518={};if((_0x25b8d3['arrays']||_0x25b8d3['defaults'])&&(_0x2e1518['path']=[]),_0x25b8d3['defaults']&&(_0x2e1518['root']='',_0x2e1518['rootMain']=!0x1,_0x2e1518['rootGraveyard']=!0x1,_0x2e1518['stickiness']=''),null!=_0x345162['root']&&_0x345162['hasOwnProperty']('root')&&(_0x2e1518['root']=_0x345162['root']),null!=_0x345162['rootMain']&&_0x345162['hasOwnProperty']('rootMain')&&(_0x2e1518['rootMain']=_0x345162['rootMain']),null!=_0x345162['rootGraveyard']&&_0x345162['hasOwnProperty']('rootGraveyard')&&(_0x2e1518['rootGraveyard']=_0x345162['rootGraveyard']),_0x345162['path']&&_0x345162['path']['length']){_0x2e1518['path']=[];for(var _0x1c630f=0x0;_0x1c630f<_0x345162['path']['length'];++_0x1c630f)_0x2e1518['path'][_0x1c630f]=_0x345162['path'][_0x1c630f];}return null!=_0x345162['stickiness']&&_0x345162['hasOwnProperty']('stickiness')&&(_0x2e1518['stickiness']=_0x345162['stickiness']),_0x2e1518;},_0x575b64['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x24532a['util']['toJSONOptions']);},_0x575b64['getTypeUrl']=function(_0x2f11ee){return void 0x0===_0x2f11ee&&(_0x2f11ee='type.googleapis.com'),_0x2f11ee+'/Position';},_0x575b64;}()),_0x12d128['Range']=(function(){function _0x4b08a2(_0x3b5549){if(_0x3b5549){for(var _0x136976=Object['keys'](_0x3b5549),_0x2366ec=0x0;_0x2366ec<_0x136976['length'];++_0x2366ec)null!=_0x3b5549[_0x136976[_0x2366ec]]&&(this[_0x136976[_0x2366ec]]=_0x3b5549[_0x136976[_0x2366ec]]);}}return _0x4b08a2['prototype']['start']=null,_0x4b08a2['prototype']['end']=null,_0x4b08a2['create']=function(_0x35bca3){return new _0x4b08a2(_0x35bca3);},_0x4b08a2['encode']=function(_0x5c8cf1,_0x413b4b){return _0x413b4b||(_0x413b4b=_0x1c76e5['create']()),null!=_0x5c8cf1['start']&&Object['hasOwnProperty']['call'](_0x5c8cf1,'start')&&_0x12d128['Position']['encode'](_0x5c8cf1['start'],_0x413b4b['uint32'](0xa)['fork']())['ldelim'](),null!=_0x5c8cf1['end']&&Object['hasOwnProperty']['call'](_0x5c8cf1,'end')&&_0x12d128['Position']['encode'](_0x5c8cf1['end'],_0x413b4b['uint32'](0x12)['fork']())['ldelim'](),_0x413b4b;},_0x4b08a2['encodeDelimited']=function(_0x5a862f,_0x3b14e9){return this['encode'](_0x5a862f,_0x3b14e9)['ldelim']();},_0x4b08a2['decode']=function(_0x10b846,_0x3afa57){_0x10b846 instanceof _0x57c96d||(_0x10b846=_0x57c96d['create'](_0x10b846));for(var _0x306372=void 0x0===_0x3afa57?_0x10b846['len']:_0x10b846['pos']+_0x3afa57,_0x2796f3=new _0x12d128['Range']();_0x10b846['pos']<_0x306372;){var _0x14bc05=_0x10b846['uint32']();switch(_0x14bc05>>>0x3){case 0x1:_0x2796f3['start']=_0x12d128['Position']['decode'](_0x10b846,_0x10b846['uint32']());break;case 0x2:_0x2796f3['end']=_0x12d128['Position']['decode'](_0x10b846,_0x10b846['uint32']());break;default:_0x10b846['skipType'](0x7&_0x14bc05);}}return _0x2796f3;},_0x4b08a2['decodeDelimited']=function(_0x44dd86){return _0x44dd86 instanceof _0x57c96d||(_0x44dd86=new _0x57c96d(_0x44dd86)),this['decode'](_0x44dd86,_0x44dd86['uint32']());},_0x4b08a2['verify']=function(_0x1129d7){if('object'!=typeof _0x1129d7||null===_0x1129d7)return'object\x20expected';var _0x2397b;if(null!=_0x1129d7['start']&&_0x1129d7['hasOwnProperty']('start')&&(_0x2397b=_0x12d128['Position']['verify'](_0x1129d7['start'])))return'start.'+_0x2397b;if(null!=_0x1129d7['end']&&_0x1129d7['hasOwnProperty']('end')&&(_0x2397b=_0x12d128['Position']['verify'](_0x1129d7['end'])))return'end.'+_0x2397b;return null;},_0x4b08a2['fromObject']=function(_0x448124){if(_0x448124 instanceof _0x12d128['Range'])return _0x448124;var _0x3f8443=new _0x12d128['Range']();if(null!=_0x448124['start']){if('object'!=typeof _0x448124['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x3f8443['start']=_0x12d128['Position']['fromObject'](_0x448124['start']);}if(null!=_0x448124['end']){if('object'!=typeof _0x448124['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x3f8443['end']=_0x12d128['Position']['fromObject'](_0x448124['end']);}return _0x3f8443;},_0x4b08a2['toObject']=function(_0x3df23f,_0x39de03){_0x39de03||(_0x39de03={});var _0x3ef318={};return _0x39de03['defaults']&&(_0x3ef318['start']=null,_0x3ef318['end']=null),null!=_0x3df23f['start']&&_0x3df23f['hasOwnProperty']('start')&&(_0x3ef318['start']=_0x12d128['Position']['toObject'](_0x3df23f['start'],_0x39de03)),null!=_0x3df23f['end']&&_0x3df23f['hasOwnProperty']('end')&&(_0x3ef318['end']=_0x12d128['Position']['toObject'](_0x3df23f['end'],_0x39de03)),_0x3ef318;},_0x4b08a2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x24532a['util']['toJSONOptions']);},_0x4b08a2['getTypeUrl']=function(_0x333c88){return void 0x0===_0x333c88&&(_0x333c88='type.googleapis.com'),_0x333c88+'/Range';},_0x4b08a2;}()),_0x12d128['Element']=(function(){function _0x5111fa(_0x2b23ff){if(this['children']=[],this['attributesBoolean']={},_0x2b23ff){for(var _0x4de790=Object['keys'](_0x2b23ff),_0xd1ead9=0x0;_0xd1ead9<_0x4de790['length'];++_0xd1ead9)null!=_0x2b23ff[_0x4de790[_0xd1ead9]]&&(this[_0x4de790[_0xd1ead9]]=_0x2b23ff[_0x4de790[_0xd1ead9]]);}}return _0x5111fa['prototype']['name']='',_0x5111fa['prototype']['children']=_0x368f67['emptyArray'],_0x5111fa['prototype']['data']='',_0x5111fa['prototype']['attributesBoolean']=_0x368f67['emptyObject'],_0x5111fa['prototype']['attributesJson']='',_0x5111fa['create']=function(_0x531ecb){return new _0x5111fa(_0x531ecb);},_0x5111fa['encode']=function(_0x44c4bb,_0x46ea04){if(_0x46ea04||(_0x46ea04=_0x1c76e5['create']()),null!=_0x44c4bb['name']&&Object['hasOwnProperty']['call'](_0x44c4bb,'name')&&_0x46ea04['uint32'](0xa)['string'](_0x44c4bb['name']),null!=_0x44c4bb['children']&&_0x44c4bb['children']['length']){for(var _0x231974=0x0;_0x231974<_0x44c4bb['children']['length'];++_0x231974)_0x12d128['Element']['encode'](_0x44c4bb['children'][_0x231974],_0x46ea04['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x44c4bb['data']&&Object['hasOwnProperty']['call'](_0x44c4bb,'data')&&_0x46ea04['uint32'](0x1a)['string'](_0x44c4bb['data']),null!=_0x44c4bb['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x44c4bb,'attributesBoolean')){var _0x15690e=Object['keys'](_0x44c4bb['attributesBoolean']);for(_0x231974=0x0;_0x231974<_0x15690e['length'];++_0x231974)_0x46ea04['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x15690e[_0x231974])['uint32'](0x10)['bool'](_0x44c4bb['attributesBoolean'][_0x15690e[_0x231974]])['ldelim']();}return null!=_0x44c4bb['attributesJson']&&Object['hasOwnProperty']['call'](_0x44c4bb,'attributesJson')&&_0x46ea04['uint32'](0x2a)['string'](_0x44c4bb['attributesJson']),_0x46ea04;},_0x5111fa['encodeDelimited']=function(_0x1ee584,_0x18e42f){return this['encode'](_0x1ee584,_0x18e42f)['ldelim']();},_0x5111fa['decode']=function(_0x206589,_0x157918){_0x206589 instanceof _0x57c96d||(_0x206589=_0x57c96d['create'](_0x206589));for(var _0x45fc5f,_0x273f1d,_0x460f54=void 0x0===_0x157918?_0x206589['len']:_0x206589['pos']+_0x157918,_0x294f6e=new _0x12d128['Element']();_0x206589['pos']<_0x460f54;){var _0x4f59bf=_0x206589['uint32']();switch(_0x4f59bf>>>0x3){case 0x1:_0x294f6e['name']=_0x206589['string']();break;case 0x2:_0x294f6e['children']&&_0x294f6e['children']['length']||(_0x294f6e['children']=[]),_0x294f6e['children']['push'](_0x12d128['Element']['decode'](_0x206589,_0x206589['uint32']()));break;case 0x3:_0x294f6e['data']=_0x206589['string']();break;case 0x4:_0x294f6e['attributesBoolean']===_0x368f67['emptyObject']&&(_0x294f6e['attributesBoolean']={});var _0x1d5e6e=_0x206589['uint32']()+_0x206589['pos'];for(_0x45fc5f='',_0x273f1d=!0x1;_0x206589['pos']<_0x1d5e6e;){var _0x2e938d=_0x206589['uint32']();switch(_0x2e938d>>>0x3){case 0x1:_0x45fc5f=_0x206589['string']();break;case 0x2:_0x273f1d=_0x206589['bool']();break;default:_0x206589['skipType'](0x7&_0x2e938d);}}_0x294f6e['attributesBoolean'][_0x45fc5f]=_0x273f1d;break;case 0x5:_0x294f6e['attributesJson']=_0x206589['string']();break;default:_0x206589['skipType'](0x7&_0x4f59bf);}}return _0x294f6e;},_0x5111fa['decodeDelimited']=function(_0x49a312){return _0x49a312 instanceof _0x57c96d||(_0x49a312=new _0x57c96d(_0x49a312)),this['decode'](_0x49a312,_0x49a312['uint32']());},_0x5111fa['verify']=function(_0x2172be){if('object'!=typeof _0x2172be||null===_0x2172be)return'object\x20expected';if(null!=_0x2172be['name']&&_0x2172be['hasOwnProperty']('name')&&!_0x368f67['isString'](_0x2172be['name']))return'name:\x20string\x20expected';if(null!=_0x2172be['children']&&_0x2172be['hasOwnProperty']('children')){if(!Array['isArray'](_0x2172be['children']))return'children:\x20array\x20expected';for(var _0x203e11=0x0;_0x203e11<_0x2172be['children']['length'];++_0x203e11){var _0x4a46a2=_0x12d128['Element']['verify'](_0x2172be['children'][_0x203e11]);if(_0x4a46a2)return'children.'+_0x4a46a2;}}if(null!=_0x2172be['data']&&_0x2172be['hasOwnProperty']('data')&&!_0x368f67['isString'](_0x2172be['data']))return'data:\x20string\x20expected';if(null!=_0x2172be['attributesBoolean']&&_0x2172be['hasOwnProperty']('attributesBoolean')){if(!_0x368f67['isObject'](_0x2172be['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x11247c=Object['keys'](_0x2172be['attributesBoolean']);for(_0x203e11=0x0;_0x203e11<_0x11247c['length'];++_0x203e11)if('boolean'!=typeof _0x2172be['attributesBoolean'][_0x11247c[_0x203e11]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x2172be['attributesJson']&&_0x2172be['hasOwnProperty']('attributesJson')&&!_0x368f67['isString'](_0x2172be['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x5111fa['fromObject']=function(_0x27ae71){if(_0x27ae71 instanceof _0x12d128['Element'])return _0x27ae71;var _0x6f0cff=new _0x12d128['Element']();if(null!=_0x27ae71['name']&&(_0x6f0cff['name']=String(_0x27ae71['name'])),_0x27ae71['children']){if(!Array['isArray'](_0x27ae71['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x6f0cff['children']=[];for(var _0x251e08=0x0;_0x251e08<_0x27ae71['children']['length'];++_0x251e08){if('object'!=typeof _0x27ae71['children'][_0x251e08])throw TypeError('.Element.children:\x20object\x20expected');_0x6f0cff['children'][_0x251e08]=_0x12d128['Element']['fromObject'](_0x27ae71['children'][_0x251e08]);}}if(null!=_0x27ae71['data']&&(_0x6f0cff['data']=String(_0x27ae71['data'])),_0x27ae71['attributesBoolean']){if('object'!=typeof _0x27ae71['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x6f0cff['attributesBoolean']={};var _0xabde9=Object['keys'](_0x27ae71['attributesBoolean']);for(_0x251e08=0x0;_0x251e08<_0xabde9['length'];++_0x251e08)_0x6f0cff['attributesBoolean'][_0xabde9[_0x251e08]]=Boolean(_0x27ae71['attributesBoolean'][_0xabde9[_0x251e08]]);}return null!=_0x27ae71['attributesJson']&&(_0x6f0cff['attributesJson']=String(_0x27ae71['attributesJson'])),_0x6f0cff;},_0x5111fa['toObject']=function(_0x1efc59,_0x19487c){_0x19487c||(_0x19487c={});var _0x1f931e,_0x12838b={};if((_0x19487c['arrays']||_0x19487c['defaults'])&&(_0x12838b['children']=[]),(_0x19487c['objects']||_0x19487c['defaults'])&&(_0x12838b['attributesBoolean']={}),_0x19487c['defaults']&&(_0x12838b['name']='',_0x12838b['data']='',_0x12838b['attributesJson']=''),null!=_0x1efc59['name']&&_0x1efc59['hasOwnProperty']('name')&&(_0x12838b['name']=_0x1efc59['name']),_0x1efc59['children']&&_0x1efc59['children']['length']){_0x12838b['children']=[];for(var _0x5bc3de=0x0;_0x5bc3de<_0x1efc59['children']['length'];++_0x5bc3de)_0x12838b['children'][_0x5bc3de]=_0x12d128['Element']['toObject'](_0x1efc59['children'][_0x5bc3de],_0x19487c);}if(null!=_0x1efc59['data']&&_0x1efc59['hasOwnProperty']('data')&&(_0x12838b['data']=_0x1efc59['data']),_0x1efc59['attributesBoolean']&&(_0x1f931e=Object['keys'](_0x1efc59['attributesBoolean']))['length']){_0x12838b['attributesBoolean']={};for(_0x5bc3de=0x0;_0x5bc3de<_0x1f931e['length'];++_0x5bc3de)_0x12838b['attributesBoolean'][_0x1f931e[_0x5bc3de]]=_0x1efc59['attributesBoolean'][_0x1f931e[_0x5bc3de]];}return null!=_0x1efc59['attributesJson']&&_0x1efc59['hasOwnProperty']('attributesJson')&&(_0x12838b['attributesJson']=_0x1efc59['attributesJson']),_0x12838b;},_0x5111fa['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x24532a['util']['toJSONOptions']);},_0x5111fa['getTypeUrl']=function(_0x11a702){return void 0x0===_0x11a702&&(_0x11a702='type.googleapis.com'),_0x11a702+'/Element';},_0x5111fa;}()),_0x12d128;})());class r{['_protobufRoot'];constructor(){this['_protobufRoot']=u;}['getDescriptor'](_0x4dbe16){return new w(this['_protobufRoot'][_0x4dbe16]);}}class w{['_protobuf'];constructor(_0x55c670){this['_protobuf']=_0x55c670;}['compress'](_0x52f85e){const _0x540897=this['_protobuf']['verify'](_0x52f85e);if(_0x540897)throw Error(_0x540897);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x52f85e))['finish']();}['decompress'](_0x14520d){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x14520d),{'oneofs':!0x0});}}function g(_0x737c15,_0xea3983){const _0x3f6e6a=_0x2c72b4(_0x737c15);return _0x3f6e6a['path'][_0x3f6e6a['path']['length']-0x1]+=_0xea3983,_0x3f6e6a;}function _(_0x5ef3dc,_0x2aa93d){return _0x5ef3dc['root']===_0x2aa93d['root']&&_0x2b94f8(_0x5ef3dc['path'],_0x2aa93d['path']);}function $(_0x5686f5){P(_0x5686f5,_0x5f0448=>('main'==_0x5f0448['root']?(_0x5f0448['rootMain']=!0x0,delete _0x5f0448['root']):'$graveyard'==_0x5f0448['root']&&(_0x5f0448['rootGraveyard']=!0x0,delete _0x5f0448['root']),_0x5f0448));}function J(_0xcbc2d4){P(_0xcbc2d4,_0x28a6d0=>(_0x28a6d0['rootMain']?(_0x28a6d0['root']='main',delete _0x28a6d0['rootMain']):_0x28a6d0['rootGraveyard']&&(_0x28a6d0['root']='$graveyard',delete _0x28a6d0['rootGraveyard']),_0x28a6d0));}function P(_0x386ca4,_0x4457de){for(const _0x433a11 in _0x386ca4){const _0x295c80=_0x386ca4[_0x433a11];'nodes'!==_0x433a11&&_0x665a28(_0x295c80)&&(_0x295c80['path']&&(_0x295c80['root']||_0x295c80['rootMain']||_0x295c80['rootGraveyard'])?_0x386ca4[_0x433a11]=_0x4457de(_0x295c80):P(_0x295c80,_0x4457de));}return _0x386ca4;}class e{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x5bfb89,_0x293cfe,_0x57eb2c){this['_id']=_0x5bfb89,this['_operationName']=_0x293cfe,this['_protobufDescriptor']=_0x57eb2c;}['compress'](_0x5196bf,_0xbef224){const _0x3d132b=_0xbef224['operations'][_0xbef224['index']++];return $(_0x3d132b),_0x5196bf['buffers']['push'](this['_protobufDescriptor']['compress'](_0x3d132b)),_0x5196bf['types']['push'](this['_id']),!0x0;}['decompress'](_0x3f859e,_0x31d841){_0x31d841['typeIndex']++;const _0xcbcbed=_0x31d841['buffers'][_0x31d841['bufferIndex']++],_0x8f536c=this['_protobufDescriptor']['decompress'](_0xcbcbed);J(_0x8f536c),_0x8f536c['__className']=this['_operationName'],_0x3f859e['push'](_0x8f536c);}}class s extends e{['compress'](_0x207641,_0x2b38a9){const _0x2ca0cd=_0x2b38a9['operations'][_0x2b38a9['index']++];return this['_serializeOneOf']('oldValue',_0x2ca0cd),this['_serializeOneOf']('newValue',_0x2ca0cd),$(_0x2ca0cd),_0x207641['buffers']['push'](this['_protobufDescriptor']['compress'](_0x2ca0cd)),_0x207641['types']['push'](this['_id']),!0x0;}['decompress'](_0x44a308,_0xe9aaee){_0xe9aaee['typeIndex']++;const _0xc5030e=_0xe9aaee['buffers'][_0xe9aaee['bufferIndex']++],_0xb0011e=this['_protobufDescriptor']['decompress'](_0xc5030e);this['_deserializeOneOf']('oldValue',_0xb0011e),this['_deserializeOneOf']('newValue',_0xb0011e),J(_0xb0011e),_0xb0011e['__className']=this['_operationName'],_0x44a308['push'](_0xb0011e);}['_serializeOneOf'](_0x5e8817,_0x580c7a){const _0x2f887b=_0x580c7a[_0x5e8817];'boolean'==typeof _0x2f887b?_0x580c7a[_0x5e8817+'Boolean']=_0x2f887b:_0x580c7a[_0x5e8817+'Json']=JSON['stringify'](_0x2f887b);}['_deserializeOneOf'](_0x666121,_0xcce99){const _0x2afcd2=_0x666121+'Json';_0xcce99[_0x2afcd2]?(_0xcce99[_0x666121]=JSON['parse'](_0xcce99[_0x2afcd2]),delete _0xcce99[_0x2afcd2]):(_0xcce99[_0x666121]=_0xcce99[_0x666121+'Boolean'],delete _0xcce99[_0x666121+'Boolean']);}}class i extends e{['compress'](_0x108cb4,_0x1952b4){const _0x9d154f=_0x1952b4['operations'][_0x1952b4['index']++];return this['_serializeNodesAttributes'](_0x9d154f['nodes']),$(_0x9d154f),_0x108cb4['buffers']['push'](this['_protobufDescriptor']['compress'](_0x9d154f)),_0x108cb4['types']['push'](this['_id']),!0x0;}['decompress'](_0x63c4df,_0x52f167){_0x52f167['typeIndex']++;const _0x4315f3=_0x52f167['buffers'][_0x52f167['bufferIndex']++],_0x121aad=this['_protobufDescriptor']['decompress'](_0x4315f3);_0x121aad['nodes']||(_0x121aad['nodes']=[]),this['_deserializeNodesAttributes'](_0x121aad['nodes']),J(_0x121aad),_0x121aad['__className']=this['_operationName'],_0x63c4df['push'](_0x121aad);}['_serializeNodesAttributes'](_0x321f6a){for(const _0x3605ce of _0x321f6a){if(_0x3605ce['attributes']){const _0x4f7e29=_0x3605ce['attributes'];this['_areValuesBoolean'](_0x4f7e29)?_0x3605ce['attributesBoolean']=_0x4f7e29:_0x3605ce['attributesJson']=JSON['stringify'](_0x4f7e29);}_0x3605ce['children']&&this['_serializeNodesAttributes'](_0x3605ce['children']);}}['_deserializeNodesAttributes'](_0x13eb5f){for(const _0x74bad2 of _0x13eb5f)(_0x74bad2['attributesBoolean']||_0x74bad2['attributesJson'])&&(_0x74bad2['attributesBoolean']?(_0x74bad2['attributes']=_0x74bad2['attributesBoolean'],delete _0x74bad2['attributesBoolean']):(_0x74bad2['attributes']=JSON['parse'](_0x74bad2['attributesJson']),delete _0x74bad2['attributesJson'])),_0x74bad2['children']&&this['_deserializeNodesAttributes'](_0x74bad2['children']);}['_areValuesBoolean'](_0x12ea2b){return Object['keys'](_0x12ea2b)['every'](_0x1268b2=>'boolean'==typeof _0x12ea2b[_0x1268b2]);}}class n extends e{['decompress'](_0x524e2c,_0x3a6e4f){super['decompress'](_0x524e2c,_0x3a6e4f);const _0x5bbfcc=_0x524e2c[_0x524e2c['length']-0x1];_0x5bbfcc['oldRange']||(_0x5bbfcc['oldRange']=null),_0x5bbfcc['newRange']||(_0x5bbfcc['newRange']=null);}}class p extends e{['compress'](_0x3e573a,_0x27ed28){return _0x27ed28['index']++,_0x3e573a['types']['push'](this['_id']),!0x0;}['decompress'](_0x2979d4,_0x57c938){_0x57c938['typeIndex']++,_0x2979d4['push']({'__className':this['_operationName']});}}class a extends n{['_omittedNamespace'];constructor(_0x31a831,_0x4fe488,_0x3f5d89,_0xa0f74c){super(_0x31a831,_0x4fe488,_0x3f5d89),this['_omittedNamespace']=_0xa0f74c+':';}['compress'](_0x5eae10,_0x371041){const _0x1e9174=_0x371041['operations'][_0x371041['index']];return!('MarkerOperation'!=_0x1e9174['__className']||!_0x1e9174['name']['startsWith'](this['_omittedNamespace']))&&(_0x1e9174['name']=_0x1e9174['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x5eae10,_0x371041),!0x0);}['decompress'](_0x15c68f,_0x4d1a2c){super['decompress'](_0x15c68f,_0x4d1a2c);const _0x43dda4=_0x15c68f[_0x15c68f['length']-0x1];_0x43dda4['name']=this['_omittedNamespace']+_0x43dda4['name'];}}class O{['_id'];['_context'];constructor(_0x1feddb,_0x2a4747){this['_id']=_0x1feddb,this['_context']=_0x2a4747;}['compress'](_0x58c21c,_0x7f32e3){let _0x4e296a,_0x33d6da=_0x7f32e3['operations'][_0x7f32e3['index']],_0x36b80b=_0x7f32e3['operations'][_0x7f32e3['index']+0x1];for(;_0x36b80b&&this['_compareOperations'](_0x33d6da,_0x36b80b);)_0x4e296a?(_0x4e296a=this['_combineNext'](_0x33d6da,_0x4e296a),_0x58c21c['types']['push'](0x0)):(_0x4e296a=_0x2c72b4(_0x33d6da),_0x58c21c['types']['push'](this['_id'])),_0x7f32e3['index']++,_0x33d6da=_0x7f32e3['operations'][_0x7f32e3['index']],_0x36b80b=_0x7f32e3['operations'][_0x7f32e3['index']+0x1];return!!_0x4e296a&&(_0x4e296a=this['_combineNext'](_0x7f32e3['operations'][_0x7f32e3['index']++],_0x4e296a),_0x58c21c['types']['push'](0x0),_0x58c21c['buffers']['push'](this['_compressSingleOperation'](_0x4e296a)),!0x0);}['decompress'](_0x51ded8,_0x1c03f5){const _0x29765b=this['_decompressSingleOperation'](_0x1c03f5);for(;0x0==_0x1c03f5['types'][_0x1c03f5['typeIndex']];)_0x1c03f5['typeIndex']++,_0x51ded8['push'](this['_splitCurrent'](_0x29765b));_0x51ded8['push'](_0x29765b);}}class c extends O{['_combineNext'](_0x4a7856,_0x46d7ee){return _0x46d7ee['nodes'][0x0]['data']+=_0x4a7856['nodes'][0x0]['data'],_0x46d7ee;}['_splitCurrent'](_0x596e87){const _0x10109b=_0x2c72b4(_0x596e87),_0x1ae334=_0x10109b['nodes'][0x0],_0x1827c9=_0x596e87['nodes'][0x0],_0x25aaf1=_0x1827c9['data'][Symbol['iterator']]()['next']()['value'],_0x30c399=_0x25aaf1['length'];return _0x1ae334['data']=_0x25aaf1,_0x1827c9['data']=_0x1827c9['data']['substr'](_0x30c399),_0x596e87['position']=g(_0x596e87['position'],_0x30c399),_0x10109b;}['_compareOperations'](_0x1d522e,_0x2b5a0c){if(this['_checkOperation'](_0x1d522e)&&this['_checkOperation'](_0x2b5a0c)){const _0x181f7d=_0x1d522e['nodes'][0x0]['data']['length'],_0x4d36a0=_(g(_0x1d522e['position'],_0x181f7d),_0x2b5a0c['position']),_0x19d340=_0x1d522e['nodes'][0x0],_0x30e8cb=_0x2b5a0c['nodes'][0x0];return _0x4d36a0&&this['_compareAttributes'](_0x19d340,_0x30e8cb);}return!0x1;}['_compressSingleOperation'](_0x4092e4){const _0xe5ace3={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0xe5ace3,{'operations':[_0x4092e4],'index':0x0}),_0xe5ace3['buffers'][0x0];}['_decompressSingleOperation'](_0x3737f3){const _0x292977=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x292977,_0x3737f3),_0x292977[0x0];}['_checkOperation'](_0x393162){return'InsertOperation'==_0x393162['__className']&&0x1==_0x393162['nodes']['length']&&_0x393162['nodes'][0x0]['data']&&!_0x393162['wasUndone']&&0x1==Array['from'](_0x393162['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x93d9fe,_0x55802c){const _0x5db6fb=Object['keys'](_0x93d9fe['attributes']||{}),_0xec00b4=Object['keys'](_0x55802c['attributes']||{});return _0x5db6fb['length']===_0xec00b4['length']&&_0x5db6fb['every'](_0x2c7763=>_0x55802c['attributes'][_0x2c7763]&&_0x55802c['attributes'][_0x2c7763]===_0x93d9fe['attributes'][_0x2c7763]);}}class m extends O{['_combineNext'](_0x44c52f,_0x1f2db5){return _0x1f2db5['howMany']++,_0x1f2db5['sourcePosition']=_0x2c72b4(_0x44c52f['sourcePosition']),_0x1f2db5;}['_splitCurrent'](_0x3673a8){const _0x9cc14c=_0x2c72b4(_0x3673a8);return _0x3673a8['howMany']--,_0x9cc14c['howMany']=0x1,_0x9cc14c['sourcePosition']=g(_0x9cc14c['sourcePosition'],_0x3673a8['howMany']),_0x9cc14c;}['_compareOperations'](_0x3acd21,_0x4ccdeb){return!(!this['_checkOperation'](_0x3acd21)||!this['_checkOperation'](_0x4ccdeb))&&(_(g(_0x3acd21['sourcePosition'],-0x1),_0x4ccdeb['sourcePosition'])&&_(_0x3acd21['targetPosition'],_0x4ccdeb['targetPosition']));}['_compressSingleOperation'](_0x56ebf9){const _0x46e942={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x46e942,{'operations':[_0x56ebf9],'index':0x0}),_0x46e942['buffers'][0x0];}['_decompressSingleOperation'](_0xc717d2){const _0x304de7=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x304de7,_0xc717d2),_0x304de7[0x0];}['_checkOperation'](_0x558e21){return'MoveOperation'==_0x558e21['__className']&&'$graveyard'==_0x558e21['targetPosition']['root']&&0x1==_0x558e21['howMany']&&!_0x558e21['wasUndone'];}}class h extends O{['_combineNext'](_0x339587,_0xd12c89){return _0xd12c89['howMany']++,_0xd12c89;}['_splitCurrent'](_0x29ca0b){const _0x51805d=_0x2c72b4(_0x29ca0b);return _0x51805d['howMany']=0x1,_0x29ca0b['howMany']--,_0x51805d;}['_compareOperations'](_0x3d060a,_0x2f3f53){return!(!this['_checkOperation'](_0x3d060a)||!this['_checkOperation'](_0x2f3f53))&&(_(_0x3d060a['sourcePosition'],_0x2f3f53['sourcePosition'])&&_(_0x3d060a['targetPosition'],_0x2f3f53['targetPosition']));}['_compressSingleOperation'](_0x54a5ff){const _0x5d2d85={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x5d2d85,{'operations':[_0x54a5ff],'index':0x0}),_0x5d2d85['buffers'][0x0];}['_decompressSingleOperation'](_0x5612f8){const _0x2c2827=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x2c2827,_0x5612f8),_0x2c2827[0x0];}['_checkOperation'](_0x6cdfa8){return'MoveOperation'==_0x6cdfa8['__className']&&'$graveyard'==_0x6cdfa8['targetPosition']['root']&&0x1==_0x6cdfa8['howMany']&&!_0x6cdfa8['wasUndone'];}}class f extends O{['compress'](_0x5860c7,_0x606eb){if(!this['_compareOperations'](_0x606eb['operations'][_0x606eb['index']],_0x606eb['operations'][_0x606eb['index']+0x1]))return!0x1;const _0x107734=_0x606eb['operations'][_0x606eb['index']++];return _0x107734['oldRange']=null,_0x107734['newRange']&&_(_0x107734['newRange']['start'],_0x107734['newRange']['end'])&&(_0x107734['newRange']['end']=null),_0x606eb['index']++,_0x5860c7['types']['push'](this['_id']),_0x5860c7['types']['push'](0x0),_0x5860c7['buffers']['push'](this['_compressSingleOperation'](_0x107734)),!0x0;}['decompress'](_0x53ec6b,_0x2ade36){const _0x2a6e1a=this['_decompressSingleOperation'](_0x2ade36);_0x2a6e1a['newRange']&&!_0x2a6e1a['newRange']['end']&&(_0x2a6e1a['newRange']['end']=_0x2c72b4(_0x2a6e1a['newRange']['start']));const _0x18b680=_0x2c72b4(_0x2a6e1a);_0x18b680['newRange']&&(_0x18b680['newRange']['start']['stickiness']='toNone',_0x18b680['newRange']['end']=_0x2c72b4(_0x18b680['newRange']['start'])),_0x18b680['name']='user:position:'+_0x18b680['name']['split'](':')[0x2],_0x2ade36['typeIndex']++,_0x53ec6b['push'](_0x2a6e1a),_0x53ec6b['push'](_0x18b680);}['_compressSingleOperation'](_0x508b9d){const _0x4ac4ad={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x4ac4ad,{'operations':[_0x508b9d],'index':0x0}),_0x4ac4ad['buffers'][0x0];}['_decompressSingleOperation'](_0x512922){const _0x20f41f=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x20f41f,_0x512922),_0x20f41f[0x0];}['_compareOperations'](_0x566c57,_0x335486){return!(!_0x566c57||!_0x335486)&&('MarkerOperation'==_0x566c57['__className']&&'MarkerOperation'==_0x335486['__className']&&!(!_0x566c57['name']['startsWith']('user:')||!_0x335486['name']['startsWith']('user:')||_0x566c57['name']==_0x335486['name']));}}class y{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new r();const _0x14cae5=this['_protobufFactory']['getDescriptor']('MarkerOperation');this['_registerCompressor'](0x1,'NoOperation',new p(0x1,'NoOperation',void 0x0)),this['_registerOperationCompressor'](0xa,'AttributeOperation',s),this['_registerOperationCompressor'](0xb,'InsertOperation',i),this['_registerOperationCompressor'](0xc,'MarkerOperation',n),this['_registerOperationCompressor'](0xd,'MergeOperation',e),this['_registerOperationCompressor'](0xe,'MoveOperation',e),this['_registerOperationCompressor'](0xf,'RenameOperation',e),this['_registerOperationCompressor'](0x10,'RootAttributeOperation',s),this['_registerOperationCompressor'](0x11,'SplitOperation',e),this['_registerCompressor'](0x12,'CommentMarkerOperation',new a(0x12,'MarkerOperation',_0x14cae5,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new a(0x13,'MarkerOperation',_0x14cae5,'suggestion')),this['_registerOperationCompressor'](0x14,'RootOperation',e),this['_registerActionCompressor'](0x64,'TypingAction',c),this['_registerActionCompressor'](0x65,'DeletingAction',m),this['_registerActionCompressor'](0x66,'ForwardDeletingAction',h),this['_registerActionCompressor'](0x67,'UserSelectionAction',f);}['compress'](_0x4dc6a4){if(!_0x4dc6a4||!_0x4dc6a4[0x0])throw new _0xe8284f('no-operations-provided',this);const _0x25d2f9={'operations':_0x4dc6a4,'index':0x0},_0x5ff4d8={'types':[],'buffers':[],'baseVersion':_0x4dc6a4[0x0]['baseVersion']};for(;_0x25d2f9['index']<_0x25d2f9['operations']['length'];){if(this['_getCompressorByName']('UserSelectionAction')['compress'](_0x5ff4d8,_0x25d2f9))continue;if(this['_getCompressorByName']('TypingAction')['compress'](_0x5ff4d8,_0x25d2f9))continue;if(this['_getCompressorByName']('DeletingAction')['compress'](_0x5ff4d8,_0x25d2f9))continue;if(this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x5ff4d8,_0x25d2f9))continue;if(this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x5ff4d8,_0x25d2f9))continue;if(this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x5ff4d8,_0x25d2f9))continue;const _0x11d05c=_0x25d2f9['operations'][_0x25d2f9['index']]['__className'];this['_getCompressorByName'](_0x11d05c)['compress'](_0x5ff4d8,_0x25d2f9);}return _0x5ff4d8;}['decompress'](_0x5ebeed){const _0x3757a5=[],_0x5cace4={'types':_0x5ebeed['types'],'buffers':_0x5ebeed['buffers'],'baseVersion':_0x5ebeed['baseVersion'],'typeIndex':0x0,'bufferIndex':0x0};for(;_0x5cace4['typeIndex']<_0x5cace4['types']['length'];){const _0x94b7d7=_0x5cace4['types'][_0x5cace4['typeIndex']],_0x33ffb0=this['_compressorById']['get'](_0x94b7d7);if(!_0x33ffb0)throw new _0xe8284f('decompress-compressor-not-found',this,{'type':_0x94b7d7});_0x33ffb0['decompress'](_0x3757a5,_0x5cace4);}return _0x3757a5['forEach']((_0x5d6842,_0x4e75d4)=>_0x5d6842['baseVersion']=_0x5ebeed['baseVersion']+_0x4e75d4),_0x3757a5;}['_getCompressorByName'](_0x5a5547){return this['_compressorByName']['get'](_0x5a5547);}['_registerOperationCompressor'](_0x4750bd,_0xde4f08,_0x7bf204){const _0x185502=new _0x7bf204(_0x4750bd,_0xde4f08,this['_protobufFactory']['getDescriptor'](_0xde4f08));this['_registerCompressor'](_0x4750bd,_0xde4f08,_0x185502);}['_registerActionCompressor'](_0x38ec81,_0x1a5565,_0x183c27){const _0xcc87fe=new _0x183c27(_0x38ec81,this);this['_registerCompressor'](_0x38ec81,_0x1a5565,_0xcc87fe);}['_registerCompressor'](_0x449052,_0x225a3f,_0x2e5944){this['_compressorById']['set'](_0x449052,_0x2e5944),this['_compressorByName']['set'](_0x225a3f,_0x2e5944);}}export{y as Compressor};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-operations-compressor",
|
|
3
|
-
"version": "47.6.0-alpha.
|
|
3
|
+
"version": "47.6.0-alpha.8",
|
|
4
4
|
"description": "CKEditor 5 operations compressor for real-time collaboration.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"homepage": "https://ckeditor.com/collaboration/real-time/",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"main": "src/index.js",
|
|
34
34
|
"types": "src/index.d.ts",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@ckeditor/ckeditor5-utils": "47.6.0-alpha.
|
|
37
|
-
"ckeditor5": "47.6.0-alpha.
|
|
36
|
+
"@ckeditor/ckeditor5-utils": "47.6.0-alpha.8",
|
|
37
|
+
"ckeditor5": "47.6.0-alpha.8",
|
|
38
38
|
"es-toolkit": "1.39.5",
|
|
39
39
|
"protobufjs": "7.5.4"
|
|
40
40
|
},
|