@ckeditor/ckeditor5-operations-compressor 41.4.2 → 42.0.0-alpha.0
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/README.md +6 -0
- package/dist/index.js +2 -1
- package/package.json +2 -2
- 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/index.js +1 -1
- package/src/lib/compiledmessages.d.ts +1 -1435
- package/src/lib/compiledmessages.js +2 -1
- package/src/lib/protobufdescriptions.js +23 -0
- 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/types/protobufdescriptions.d.ts +0 -8
- package/src/protobufdescriptions.d.ts +0 -4
- package/src/protobufdescriptions.js +0 -23
package/README.md
CHANGED
|
@@ -10,6 +10,12 @@ For more information about real-time collaboration see the [CKEditor 5 real
|
|
|
10
10
|
|
|
11
11
|
Also, make sure you visit the [CKEditor 5 changelog](https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md) whenever a new version of the package is released.
|
|
12
12
|
|
|
13
|
+
## Installation
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install ckeditor5-premium-features
|
|
17
|
+
```
|
|
18
|
+
|
|
13
19
|
## Getting support
|
|
14
20
|
|
|
15
21
|
CKEditor 5 operations compressor comes with outstanding support from a dedicated team of customer care specialists, QA engineers and CKEditor 5 developers. The team will gladly assist you in all aspects from setting up your account to integrating CKEditor 5 Collaboration features with your application.
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{CKEditorError as _0x256cac}from'@ckeditor/ckeditor5-utils/dist/index.js';import*as _0x7955e9 from'protobufjs/minimal.js';import{cloneDeep as _0x2a0a8e,isEqual as _0x480117,isObject as _0x52b92a}from'lodash-es';const j=_0x7955e9['Reader'],y=_0x7955e9['Writer'],k=_0x7955e9['util'],v=_0x7955e9['roots']['default']||(_0x7955e9['roots']['default']={}),M=v['AttributeOperation']=((()=>{function _0x2f139c(_0x2d523e){if(_0x2d523e){for(let _0x4f9411=Object['keys'](_0x2d523e),_0x1758e2=0x0;_0x1758e2<_0x4f9411['length'];++_0x1758e2)null!=_0x2d523e[_0x4f9411[_0x1758e2]]&&(this[_0x4f9411[_0x1758e2]]=_0x2d523e[_0x4f9411[_0x1758e2]]);}}return _0x2f139c['prototype']['range']=null,_0x2f139c['prototype']['key']='',_0x2f139c['prototype']['oldValueBoolean']=!0x1,_0x2f139c['prototype']['oldValueJson']='',_0x2f139c['prototype']['newValueBoolean']=!0x1,_0x2f139c['prototype']['newValueJson']='',_0x2f139c['prototype']['wasUndone']=!0x1,_0x2f139c['create']=function(_0x8e13bc){return new _0x2f139c(_0x8e13bc);},_0x2f139c['encode']=function(_0xe1ce7e,_0x3baecf){return _0x3baecf||(_0x3baecf=y['create']()),null!=_0xe1ce7e['range']&&Object['hasOwnProperty']['call'](_0xe1ce7e,'range')&&v['Range']['encode'](_0xe1ce7e['range'],_0x3baecf['uint32'](0xa)['fork']())['ldelim'](),null!=_0xe1ce7e['key']&&Object['hasOwnProperty']['call'](_0xe1ce7e,'key')&&_0x3baecf['uint32'](0x12)['string'](_0xe1ce7e['key']),null!=_0xe1ce7e['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0xe1ce7e,'oldValueBoolean')&&_0x3baecf['uint32'](0x18)['bool'](_0xe1ce7e['oldValueBoolean']),null!=_0xe1ce7e['oldValueJson']&&Object['hasOwnProperty']['call'](_0xe1ce7e,'oldValueJson')&&_0x3baecf['uint32'](0x22)['string'](_0xe1ce7e['oldValueJson']),null!=_0xe1ce7e['newValueBoolean']&&Object['hasOwnProperty']['call'](_0xe1ce7e,'newValueBoolean')&&_0x3baecf['uint32'](0x28)['bool'](_0xe1ce7e['newValueBoolean']),null!=_0xe1ce7e['newValueJson']&&Object['hasOwnProperty']['call'](_0xe1ce7e,'newValueJson')&&_0x3baecf['uint32'](0x32)['string'](_0xe1ce7e['newValueJson']),null!=_0xe1ce7e['wasUndone']&&Object['hasOwnProperty']['call'](_0xe1ce7e,'wasUndone')&&_0x3baecf['uint32'](0x38)['bool'](_0xe1ce7e['wasUndone']),_0x3baecf;},_0x2f139c['encodeDelimited']=function(_0xcf250b,_0xe43b5c){return this['encode'](_0xcf250b,_0xe43b5c)['ldelim']();},_0x2f139c['decode']=function(_0x1be26b,_0x2f0ed1){_0x1be26b instanceof j||(_0x1be26b=j['create'](_0x1be26b));let _0x3854f4=void 0x0===_0x2f0ed1?_0x1be26b['len']:_0x1be26b['pos']+_0x2f0ed1,_0x1b9b62=new v['AttributeOperation']();for(;_0x1be26b['pos']<_0x3854f4;){let _0x20189f=_0x1be26b['uint32']();switch(_0x20189f>>>0x3){case 0x1:_0x1b9b62['range']=v['Range']['decode'](_0x1be26b,_0x1be26b['uint32']());break;case 0x2:_0x1b9b62['key']=_0x1be26b['string']();break;case 0x3:_0x1b9b62['oldValueBoolean']=_0x1be26b['bool']();break;case 0x4:_0x1b9b62['oldValueJson']=_0x1be26b['string']();break;case 0x5:_0x1b9b62['newValueBoolean']=_0x1be26b['bool']();break;case 0x6:_0x1b9b62['newValueJson']=_0x1be26b['string']();break;case 0x7:_0x1b9b62['wasUndone']=_0x1be26b['bool']();break;default:_0x1be26b['skipType'](0x7&_0x20189f);}}return _0x1b9b62;},_0x2f139c['decodeDelimited']=function(_0x979f94){return _0x979f94 instanceof j||(_0x979f94=new j(_0x979f94)),this['decode'](_0x979f94,_0x979f94['uint32']());},_0x2f139c['verify']=function(_0x280649){if('object'!=typeof _0x280649||null===_0x280649)return'object\x20expected';if(null!=_0x280649['range']&&_0x280649['hasOwnProperty']('range')){let _0x1c3555=v['Range']['verify'](_0x280649['range']);if(_0x1c3555)return'range.'+_0x1c3555;}return null!=_0x280649['key']&&_0x280649['hasOwnProperty']('key')&&!k['isString'](_0x280649['key'])?'key:\x20string\x20expected':null!=_0x280649['oldValueBoolean']&&_0x280649['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x280649['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x280649['oldValueJson']&&_0x280649['hasOwnProperty']('oldValueJson')&&!k['isString'](_0x280649['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x280649['newValueBoolean']&&_0x280649['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x280649['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x280649['newValueJson']&&_0x280649['hasOwnProperty']('newValueJson')&&!k['isString'](_0x280649['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x280649['wasUndone']&&_0x280649['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x280649['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2f139c['fromObject']=function(_0x5a356a){if(_0x5a356a instanceof v['AttributeOperation'])return _0x5a356a;let _0x1be8f6=new v['AttributeOperation']();if(null!=_0x5a356a['range']){if('object'!=typeof _0x5a356a['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x1be8f6['range']=v['Range']['fromObject'](_0x5a356a['range']);}return null!=_0x5a356a['key']&&(_0x1be8f6['key']=String(_0x5a356a['key'])),null!=_0x5a356a['oldValueBoolean']&&(_0x1be8f6['oldValueBoolean']=Boolean(_0x5a356a['oldValueBoolean'])),null!=_0x5a356a['oldValueJson']&&(_0x1be8f6['oldValueJson']=String(_0x5a356a['oldValueJson'])),null!=_0x5a356a['newValueBoolean']&&(_0x1be8f6['newValueBoolean']=Boolean(_0x5a356a['newValueBoolean'])),null!=_0x5a356a['newValueJson']&&(_0x1be8f6['newValueJson']=String(_0x5a356a['newValueJson'])),null!=_0x5a356a['wasUndone']&&(_0x1be8f6['wasUndone']=Boolean(_0x5a356a['wasUndone'])),_0x1be8f6;},_0x2f139c['toObject']=function(_0x19abfd,_0x498309){_0x498309||(_0x498309={});let _0x40278e={};return _0x498309['defaults']&&(_0x40278e['range']=null,_0x40278e['key']='',_0x40278e['oldValueBoolean']=!0x1,_0x40278e['oldValueJson']='',_0x40278e['newValueBoolean']=!0x1,_0x40278e['newValueJson']='',_0x40278e['wasUndone']=!0x1),null!=_0x19abfd['range']&&_0x19abfd['hasOwnProperty']('range')&&(_0x40278e['range']=v['Range']['toObject'](_0x19abfd['range'],_0x498309)),null!=_0x19abfd['key']&&_0x19abfd['hasOwnProperty']('key')&&(_0x40278e['key']=_0x19abfd['key']),null!=_0x19abfd['oldValueBoolean']&&_0x19abfd['hasOwnProperty']('oldValueBoolean')&&(_0x40278e['oldValueBoolean']=_0x19abfd['oldValueBoolean']),null!=_0x19abfd['oldValueJson']&&_0x19abfd['hasOwnProperty']('oldValueJson')&&(_0x40278e['oldValueJson']=_0x19abfd['oldValueJson']),null!=_0x19abfd['newValueBoolean']&&_0x19abfd['hasOwnProperty']('newValueBoolean')&&(_0x40278e['newValueBoolean']=_0x19abfd['newValueBoolean']),null!=_0x19abfd['newValueJson']&&_0x19abfd['hasOwnProperty']('newValueJson')&&(_0x40278e['newValueJson']=_0x19abfd['newValueJson']),null!=_0x19abfd['wasUndone']&&_0x19abfd['hasOwnProperty']('wasUndone')&&(_0x40278e['wasUndone']=_0x19abfd['wasUndone']),_0x40278e;},_0x2f139c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x7955e9['util']['toJSONOptions']);},_0x2f139c['getTypeUrl']=function(_0x5020b2){return void 0x0===_0x5020b2&&(_0x5020b2='type.googleapis.com'),_0x5020b2+'/AttributeOperation';},_0x2f139c;})()),B=v['InsertOperation']=((()=>{function _0x51d8c6(_0xe4d84d){if(this['nodes']=[],_0xe4d84d){for(let _0x4df7ed=Object['keys'](_0xe4d84d),_0x1c0b87=0x0;_0x1c0b87<_0x4df7ed['length'];++_0x1c0b87)null!=_0xe4d84d[_0x4df7ed[_0x1c0b87]]&&(this[_0x4df7ed[_0x1c0b87]]=_0xe4d84d[_0x4df7ed[_0x1c0b87]]);}}return _0x51d8c6['prototype']['position']=null,_0x51d8c6['prototype']['nodes']=k['emptyArray'],_0x51d8c6['prototype']['shouldReceiveAttributes']=!0x1,_0x51d8c6['prototype']['wasUndone']=!0x1,_0x51d8c6['create']=function(_0xaee48b){return new _0x51d8c6(_0xaee48b);},_0x51d8c6['encode']=function(_0x2df058,_0x235650){if(_0x235650||(_0x235650=y['create']()),null!=_0x2df058['position']&&Object['hasOwnProperty']['call'](_0x2df058,'position')&&v['Position']['encode'](_0x2df058['position'],_0x235650['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2df058['nodes']&&_0x2df058['nodes']['length']){for(let _0x219f0c=0x0;_0x219f0c<_0x2df058['nodes']['length'];++_0x219f0c)v['Element']['encode'](_0x2df058['nodes'][_0x219f0c],_0x235650['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x2df058['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x2df058,'shouldReceiveAttributes')&&_0x235650['uint32'](0x18)['bool'](_0x2df058['shouldReceiveAttributes']),null!=_0x2df058['wasUndone']&&Object['hasOwnProperty']['call'](_0x2df058,'wasUndone')&&_0x235650['uint32'](0x20)['bool'](_0x2df058['wasUndone']),_0x235650;},_0x51d8c6['encodeDelimited']=function(_0x40ec07,_0x35cd51){return this['encode'](_0x40ec07,_0x35cd51)['ldelim']();},_0x51d8c6['decode']=function(_0x559309,_0x1fab0b){_0x559309 instanceof j||(_0x559309=j['create'](_0x559309));let _0x59491b=void 0x0===_0x1fab0b?_0x559309['len']:_0x559309['pos']+_0x1fab0b,_0x515831=new v['InsertOperation']();for(;_0x559309['pos']<_0x59491b;){let _0xa034cc=_0x559309['uint32']();switch(_0xa034cc>>>0x3){case 0x1:_0x515831['position']=v['Position']['decode'](_0x559309,_0x559309['uint32']());break;case 0x2:_0x515831['nodes']&&_0x515831['nodes']['length']||(_0x515831['nodes']=[]),_0x515831['nodes']['push'](v['Element']['decode'](_0x559309,_0x559309['uint32']()));break;case 0x3:_0x515831['shouldReceiveAttributes']=_0x559309['bool']();break;case 0x4:_0x515831['wasUndone']=_0x559309['bool']();break;default:_0x559309['skipType'](0x7&_0xa034cc);}}return _0x515831;},_0x51d8c6['decodeDelimited']=function(_0x19cf58){return _0x19cf58 instanceof j||(_0x19cf58=new j(_0x19cf58)),this['decode'](_0x19cf58,_0x19cf58['uint32']());},_0x51d8c6['verify']=function(_0x68045f){if('object'!=typeof _0x68045f||null===_0x68045f)return'object\x20expected';if(null!=_0x68045f['position']&&_0x68045f['hasOwnProperty']('position')){let _0xabc419=v['Position']['verify'](_0x68045f['position']);if(_0xabc419)return'position.'+_0xabc419;}if(null!=_0x68045f['nodes']&&_0x68045f['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x68045f['nodes']))return'nodes:\x20array\x20expected';for(let _0x54bdb9=0x0;_0x54bdb9<_0x68045f['nodes']['length'];++_0x54bdb9){let _0x399c2e=v['Element']['verify'](_0x68045f['nodes'][_0x54bdb9]);if(_0x399c2e)return'nodes.'+_0x399c2e;}}return null!=_0x68045f['shouldReceiveAttributes']&&_0x68045f['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x68045f['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x68045f['wasUndone']&&_0x68045f['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x68045f['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x51d8c6['fromObject']=function(_0x14c875){if(_0x14c875 instanceof v['InsertOperation'])return _0x14c875;let _0x4e01a9=new v['InsertOperation']();if(null!=_0x14c875['position']){if('object'!=typeof _0x14c875['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x4e01a9['position']=v['Position']['fromObject'](_0x14c875['position']);}if(_0x14c875['nodes']){if(!Array['isArray'](_0x14c875['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x4e01a9['nodes']=[];for(let _0x4e679e=0x0;_0x4e679e<_0x14c875['nodes']['length'];++_0x4e679e){if('object'!=typeof _0x14c875['nodes'][_0x4e679e])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x4e01a9['nodes'][_0x4e679e]=v['Element']['fromObject'](_0x14c875['nodes'][_0x4e679e]);}}return null!=_0x14c875['shouldReceiveAttributes']&&(_0x4e01a9['shouldReceiveAttributes']=Boolean(_0x14c875['shouldReceiveAttributes'])),null!=_0x14c875['wasUndone']&&(_0x4e01a9['wasUndone']=Boolean(_0x14c875['wasUndone'])),_0x4e01a9;},_0x51d8c6['toObject']=function(_0x2936a7,_0x19d8fa){_0x19d8fa||(_0x19d8fa={});let _0x1a7ea4={};if((_0x19d8fa['arrays']||_0x19d8fa['defaults'])&&(_0x1a7ea4['nodes']=[]),_0x19d8fa['defaults']&&(_0x1a7ea4['position']=null,_0x1a7ea4['shouldReceiveAttributes']=!0x1,_0x1a7ea4['wasUndone']=!0x1),null!=_0x2936a7['position']&&_0x2936a7['hasOwnProperty']('position')&&(_0x1a7ea4['position']=v['Position']['toObject'](_0x2936a7['position'],_0x19d8fa)),_0x2936a7['nodes']&&_0x2936a7['nodes']['length']){_0x1a7ea4['nodes']=[];for(let _0x263599=0x0;_0x263599<_0x2936a7['nodes']['length'];++_0x263599)_0x1a7ea4['nodes'][_0x263599]=v['Element']['toObject'](_0x2936a7['nodes'][_0x263599],_0x19d8fa);}return null!=_0x2936a7['shouldReceiveAttributes']&&_0x2936a7['hasOwnProperty']('shouldReceiveAttributes')&&(_0x1a7ea4['shouldReceiveAttributes']=_0x2936a7['shouldReceiveAttributes']),null!=_0x2936a7['wasUndone']&&_0x2936a7['hasOwnProperty']('wasUndone')&&(_0x1a7ea4['wasUndone']=_0x2936a7['wasUndone']),_0x1a7ea4;},_0x51d8c6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x7955e9['util']['toJSONOptions']);},_0x51d8c6['getTypeUrl']=function(_0x49b5f8){return void 0x0===_0x49b5f8&&(_0x49b5f8='type.googleapis.com'),_0x49b5f8+'/InsertOperation';},_0x51d8c6;})()),V=v['MarkerOperation']=((()=>{function _0x4de72d(_0x51007b){if(_0x51007b){for(let _0x53965d=Object['keys'](_0x51007b),_0x30cbdd=0x0;_0x30cbdd<_0x53965d['length'];++_0x30cbdd)null!=_0x51007b[_0x53965d[_0x30cbdd]]&&(this[_0x53965d[_0x30cbdd]]=_0x51007b[_0x53965d[_0x30cbdd]]);}}return _0x4de72d['prototype']['name']='',_0x4de72d['prototype']['oldRange']=null,_0x4de72d['prototype']['newRange']=null,_0x4de72d['prototype']['affectsData']=!0x1,_0x4de72d['prototype']['wasUndone']=!0x1,_0x4de72d['create']=function(_0x3c8df4){return new _0x4de72d(_0x3c8df4);},_0x4de72d['encode']=function(_0x3542f3,_0x1dc93a){return _0x1dc93a||(_0x1dc93a=y['create']()),null!=_0x3542f3['name']&&Object['hasOwnProperty']['call'](_0x3542f3,'name')&&_0x1dc93a['uint32'](0xa)['string'](_0x3542f3['name']),null!=_0x3542f3['oldRange']&&Object['hasOwnProperty']['call'](_0x3542f3,'oldRange')&&v['Range']['encode'](_0x3542f3['oldRange'],_0x1dc93a['uint32'](0x12)['fork']())['ldelim'](),null!=_0x3542f3['newRange']&&Object['hasOwnProperty']['call'](_0x3542f3,'newRange')&&v['Range']['encode'](_0x3542f3['newRange'],_0x1dc93a['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x3542f3['affectsData']&&Object['hasOwnProperty']['call'](_0x3542f3,'affectsData')&&_0x1dc93a['uint32'](0x20)['bool'](_0x3542f3['affectsData']),null!=_0x3542f3['wasUndone']&&Object['hasOwnProperty']['call'](_0x3542f3,'wasUndone')&&_0x1dc93a['uint32'](0x28)['bool'](_0x3542f3['wasUndone']),_0x1dc93a;},_0x4de72d['encodeDelimited']=function(_0x1845e3,_0x234762){return this['encode'](_0x1845e3,_0x234762)['ldelim']();},_0x4de72d['decode']=function(_0x2cc374,_0x245420){_0x2cc374 instanceof j||(_0x2cc374=j['create'](_0x2cc374));let _0x5ef24a=void 0x0===_0x245420?_0x2cc374['len']:_0x2cc374['pos']+_0x245420,_0x1e5c1f=new v['MarkerOperation']();for(;_0x2cc374['pos']<_0x5ef24a;){let _0x54b9bd=_0x2cc374['uint32']();switch(_0x54b9bd>>>0x3){case 0x1:_0x1e5c1f['name']=_0x2cc374['string']();break;case 0x2:_0x1e5c1f['oldRange']=v['Range']['decode'](_0x2cc374,_0x2cc374['uint32']());break;case 0x3:_0x1e5c1f['newRange']=v['Range']['decode'](_0x2cc374,_0x2cc374['uint32']());break;case 0x4:_0x1e5c1f['affectsData']=_0x2cc374['bool']();break;case 0x5:_0x1e5c1f['wasUndone']=_0x2cc374['bool']();break;default:_0x2cc374['skipType'](0x7&_0x54b9bd);}}return _0x1e5c1f;},_0x4de72d['decodeDelimited']=function(_0x5213b5){return _0x5213b5 instanceof j||(_0x5213b5=new j(_0x5213b5)),this['decode'](_0x5213b5,_0x5213b5['uint32']());},_0x4de72d['verify']=function(_0x23adba){if('object'!=typeof _0x23adba||null===_0x23adba)return'object\x20expected';if(null!=_0x23adba['name']&&_0x23adba['hasOwnProperty']('name')&&!k['isString'](_0x23adba['name']))return'name:\x20string\x20expected';if(null!=_0x23adba['oldRange']&&_0x23adba['hasOwnProperty']('oldRange')){let _0x1273fe=v['Range']['verify'](_0x23adba['oldRange']);if(_0x1273fe)return'oldRange.'+_0x1273fe;}if(null!=_0x23adba['newRange']&&_0x23adba['hasOwnProperty']('newRange')){let _0xcefa77=v['Range']['verify'](_0x23adba['newRange']);if(_0xcefa77)return'newRange.'+_0xcefa77;}return null!=_0x23adba['affectsData']&&_0x23adba['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x23adba['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x23adba['wasUndone']&&_0x23adba['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x23adba['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x4de72d['fromObject']=function(_0xc36f85){if(_0xc36f85 instanceof v['MarkerOperation'])return _0xc36f85;let _0x4dfe8a=new v['MarkerOperation']();if(null!=_0xc36f85['name']&&(_0x4dfe8a['name']=String(_0xc36f85['name'])),null!=_0xc36f85['oldRange']){if('object'!=typeof _0xc36f85['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x4dfe8a['oldRange']=v['Range']['fromObject'](_0xc36f85['oldRange']);}if(null!=_0xc36f85['newRange']){if('object'!=typeof _0xc36f85['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x4dfe8a['newRange']=v['Range']['fromObject'](_0xc36f85['newRange']);}return null!=_0xc36f85['affectsData']&&(_0x4dfe8a['affectsData']=Boolean(_0xc36f85['affectsData'])),null!=_0xc36f85['wasUndone']&&(_0x4dfe8a['wasUndone']=Boolean(_0xc36f85['wasUndone'])),_0x4dfe8a;},_0x4de72d['toObject']=function(_0x7195c,_0x31bda1){_0x31bda1||(_0x31bda1={});let _0x37edcc={};return _0x31bda1['defaults']&&(_0x37edcc['name']='',_0x37edcc['oldRange']=null,_0x37edcc['newRange']=null,_0x37edcc['affectsData']=!0x1,_0x37edcc['wasUndone']=!0x1),null!=_0x7195c['name']&&_0x7195c['hasOwnProperty']('name')&&(_0x37edcc['name']=_0x7195c['name']),null!=_0x7195c['oldRange']&&_0x7195c['hasOwnProperty']('oldRange')&&(_0x37edcc['oldRange']=v['Range']['toObject'](_0x7195c['oldRange'],_0x31bda1)),null!=_0x7195c['newRange']&&_0x7195c['hasOwnProperty']('newRange')&&(_0x37edcc['newRange']=v['Range']['toObject'](_0x7195c['newRange'],_0x31bda1)),null!=_0x7195c['affectsData']&&_0x7195c['hasOwnProperty']('affectsData')&&(_0x37edcc['affectsData']=_0x7195c['affectsData']),null!=_0x7195c['wasUndone']&&_0x7195c['hasOwnProperty']('wasUndone')&&(_0x37edcc['wasUndone']=_0x7195c['wasUndone']),_0x37edcc;},_0x4de72d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x7955e9['util']['toJSONOptions']);},_0x4de72d['getTypeUrl']=function(_0x4a518e){return void 0x0===_0x4a518e&&(_0x4a518e='type.googleapis.com'),_0x4a518e+'/MarkerOperation';},_0x4de72d;})()),S=v['MergeOperation']=((()=>{function _0x481a99(_0x2b33e6){if(_0x2b33e6){for(let _0x5e4d4e=Object['keys'](_0x2b33e6),_0x70cc33=0x0;_0x70cc33<_0x5e4d4e['length'];++_0x70cc33)null!=_0x2b33e6[_0x5e4d4e[_0x70cc33]]&&(this[_0x5e4d4e[_0x70cc33]]=_0x2b33e6[_0x5e4d4e[_0x70cc33]]);}}return _0x481a99['prototype']['sourcePosition']=null,_0x481a99['prototype']['targetPosition']=null,_0x481a99['prototype']['graveyardPosition']=null,_0x481a99['prototype']['howMany']=0x0,_0x481a99['prototype']['wasUndone']=!0x1,_0x481a99['create']=function(_0x2eec7a){return new _0x481a99(_0x2eec7a);},_0x481a99['encode']=function(_0x28bb87,_0x413520){return _0x413520||(_0x413520=y['create']()),null!=_0x28bb87['sourcePosition']&&Object['hasOwnProperty']['call'](_0x28bb87,'sourcePosition')&&v['Position']['encode'](_0x28bb87['sourcePosition'],_0x413520['uint32'](0xa)['fork']())['ldelim'](),null!=_0x28bb87['targetPosition']&&Object['hasOwnProperty']['call'](_0x28bb87,'targetPosition')&&v['Position']['encode'](_0x28bb87['targetPosition'],_0x413520['uint32'](0x12)['fork']())['ldelim'](),null!=_0x28bb87['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x28bb87,'graveyardPosition')&&v['Position']['encode'](_0x28bb87['graveyardPosition'],_0x413520['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x28bb87['howMany']&&Object['hasOwnProperty']['call'](_0x28bb87,'howMany')&&_0x413520['uint32'](0x20)['uint32'](_0x28bb87['howMany']),null!=_0x28bb87['wasUndone']&&Object['hasOwnProperty']['call'](_0x28bb87,'wasUndone')&&_0x413520['uint32'](0x28)['bool'](_0x28bb87['wasUndone']),_0x413520;},_0x481a99['encodeDelimited']=function(_0x141b58,_0x188b3f){return this['encode'](_0x141b58,_0x188b3f)['ldelim']();},_0x481a99['decode']=function(_0x324661,_0x1be3c5){_0x324661 instanceof j||(_0x324661=j['create'](_0x324661));let _0x11ca56=void 0x0===_0x1be3c5?_0x324661['len']:_0x324661['pos']+_0x1be3c5,_0x3c358b=new v['MergeOperation']();for(;_0x324661['pos']<_0x11ca56;){let _0x2cfb15=_0x324661['uint32']();switch(_0x2cfb15>>>0x3){case 0x1:_0x3c358b['sourcePosition']=v['Position']['decode'](_0x324661,_0x324661['uint32']());break;case 0x2:_0x3c358b['targetPosition']=v['Position']['decode'](_0x324661,_0x324661['uint32']());break;case 0x3:_0x3c358b['graveyardPosition']=v['Position']['decode'](_0x324661,_0x324661['uint32']());break;case 0x4:_0x3c358b['howMany']=_0x324661['uint32']();break;case 0x5:_0x3c358b['wasUndone']=_0x324661['bool']();break;default:_0x324661['skipType'](0x7&_0x2cfb15);}}return _0x3c358b;},_0x481a99['decodeDelimited']=function(_0x374e96){return _0x374e96 instanceof j||(_0x374e96=new j(_0x374e96)),this['decode'](_0x374e96,_0x374e96['uint32']());},_0x481a99['verify']=function(_0x4acb91){if('object'!=typeof _0x4acb91||null===_0x4acb91)return'object\x20expected';if(null!=_0x4acb91['sourcePosition']&&_0x4acb91['hasOwnProperty']('sourcePosition')){let _0x3bb183=v['Position']['verify'](_0x4acb91['sourcePosition']);if(_0x3bb183)return'sourcePosition.'+_0x3bb183;}if(null!=_0x4acb91['targetPosition']&&_0x4acb91['hasOwnProperty']('targetPosition')){let _0x2b0f82=v['Position']['verify'](_0x4acb91['targetPosition']);if(_0x2b0f82)return'targetPosition.'+_0x2b0f82;}if(null!=_0x4acb91['graveyardPosition']&&_0x4acb91['hasOwnProperty']('graveyardPosition')){let _0x209737=v['Position']['verify'](_0x4acb91['graveyardPosition']);if(_0x209737)return'graveyardPosition.'+_0x209737;}return null!=_0x4acb91['howMany']&&_0x4acb91['hasOwnProperty']('howMany')&&!k['isInteger'](_0x4acb91['howMany'])?'howMany:\x20integer\x20expected':null!=_0x4acb91['wasUndone']&&_0x4acb91['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x4acb91['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x481a99['fromObject']=function(_0x1e66c1){if(_0x1e66c1 instanceof v['MergeOperation'])return _0x1e66c1;let _0x492efe=new v['MergeOperation']();if(null!=_0x1e66c1['sourcePosition']){if('object'!=typeof _0x1e66c1['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x492efe['sourcePosition']=v['Position']['fromObject'](_0x1e66c1['sourcePosition']);}if(null!=_0x1e66c1['targetPosition']){if('object'!=typeof _0x1e66c1['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x492efe['targetPosition']=v['Position']['fromObject'](_0x1e66c1['targetPosition']);}if(null!=_0x1e66c1['graveyardPosition']){if('object'!=typeof _0x1e66c1['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x492efe['graveyardPosition']=v['Position']['fromObject'](_0x1e66c1['graveyardPosition']);}return null!=_0x1e66c1['howMany']&&(_0x492efe['howMany']=_0x1e66c1['howMany']>>>0x0),null!=_0x1e66c1['wasUndone']&&(_0x492efe['wasUndone']=Boolean(_0x1e66c1['wasUndone'])),_0x492efe;},_0x481a99['toObject']=function(_0x2ce7e9,_0x2eb7ac){_0x2eb7ac||(_0x2eb7ac={});let _0x4900c7={};return _0x2eb7ac['defaults']&&(_0x4900c7['sourcePosition']=null,_0x4900c7['targetPosition']=null,_0x4900c7['graveyardPosition']=null,_0x4900c7['howMany']=0x0,_0x4900c7['wasUndone']=!0x1),null!=_0x2ce7e9['sourcePosition']&&_0x2ce7e9['hasOwnProperty']('sourcePosition')&&(_0x4900c7['sourcePosition']=v['Position']['toObject'](_0x2ce7e9['sourcePosition'],_0x2eb7ac)),null!=_0x2ce7e9['targetPosition']&&_0x2ce7e9['hasOwnProperty']('targetPosition')&&(_0x4900c7['targetPosition']=v['Position']['toObject'](_0x2ce7e9['targetPosition'],_0x2eb7ac)),null!=_0x2ce7e9['graveyardPosition']&&_0x2ce7e9['hasOwnProperty']('graveyardPosition')&&(_0x4900c7['graveyardPosition']=v['Position']['toObject'](_0x2ce7e9['graveyardPosition'],_0x2eb7ac)),null!=_0x2ce7e9['howMany']&&_0x2ce7e9['hasOwnProperty']('howMany')&&(_0x4900c7['howMany']=_0x2ce7e9['howMany']),null!=_0x2ce7e9['wasUndone']&&_0x2ce7e9['hasOwnProperty']('wasUndone')&&(_0x4900c7['wasUndone']=_0x2ce7e9['wasUndone']),_0x4900c7;},_0x481a99['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x7955e9['util']['toJSONOptions']);},_0x481a99['getTypeUrl']=function(_0x5bd3a6){return void 0x0===_0x5bd3a6&&(_0x5bd3a6='type.googleapis.com'),_0x5bd3a6+'/MergeOperation';},_0x481a99;})()),U=v['MoveOperation']=((()=>{function _0xd44006(_0x113f46){if(_0x113f46){for(let _0x3ea386=Object['keys'](_0x113f46),_0x4afc60=0x0;_0x4afc60<_0x3ea386['length'];++_0x4afc60)null!=_0x113f46[_0x3ea386[_0x4afc60]]&&(this[_0x3ea386[_0x4afc60]]=_0x113f46[_0x3ea386[_0x4afc60]]);}}return _0xd44006['prototype']['sourcePosition']=null,_0xd44006['prototype']['howMany']=0x0,_0xd44006['prototype']['targetPosition']=null,_0xd44006['prototype']['wasUndone']=!0x1,_0xd44006['create']=function(_0x9de7f4){return new _0xd44006(_0x9de7f4);},_0xd44006['encode']=function(_0x43cba1,_0x255cda){return _0x255cda||(_0x255cda=y['create']()),null!=_0x43cba1['sourcePosition']&&Object['hasOwnProperty']['call'](_0x43cba1,'sourcePosition')&&v['Position']['encode'](_0x43cba1['sourcePosition'],_0x255cda['uint32'](0xa)['fork']())['ldelim'](),null!=_0x43cba1['howMany']&&Object['hasOwnProperty']['call'](_0x43cba1,'howMany')&&_0x255cda['uint32'](0x10)['uint32'](_0x43cba1['howMany']),null!=_0x43cba1['targetPosition']&&Object['hasOwnProperty']['call'](_0x43cba1,'targetPosition')&&v['Position']['encode'](_0x43cba1['targetPosition'],_0x255cda['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x43cba1['wasUndone']&&Object['hasOwnProperty']['call'](_0x43cba1,'wasUndone')&&_0x255cda['uint32'](0x20)['bool'](_0x43cba1['wasUndone']),_0x255cda;},_0xd44006['encodeDelimited']=function(_0x333c99,_0x4d2655){return this['encode'](_0x333c99,_0x4d2655)['ldelim']();},_0xd44006['decode']=function(_0x32653f,_0x2bb156){_0x32653f instanceof j||(_0x32653f=j['create'](_0x32653f));let _0x4441bd=void 0x0===_0x2bb156?_0x32653f['len']:_0x32653f['pos']+_0x2bb156,_0x13a7ec=new v['MoveOperation']();for(;_0x32653f['pos']<_0x4441bd;){let _0xc233a0=_0x32653f['uint32']();switch(_0xc233a0>>>0x3){case 0x1:_0x13a7ec['sourcePosition']=v['Position']['decode'](_0x32653f,_0x32653f['uint32']());break;case 0x2:_0x13a7ec['howMany']=_0x32653f['uint32']();break;case 0x3:_0x13a7ec['targetPosition']=v['Position']['decode'](_0x32653f,_0x32653f['uint32']());break;case 0x4:_0x13a7ec['wasUndone']=_0x32653f['bool']();break;default:_0x32653f['skipType'](0x7&_0xc233a0);}}return _0x13a7ec;},_0xd44006['decodeDelimited']=function(_0xb2fb93){return _0xb2fb93 instanceof j||(_0xb2fb93=new j(_0xb2fb93)),this['decode'](_0xb2fb93,_0xb2fb93['uint32']());},_0xd44006['verify']=function(_0x1df35a){if('object'!=typeof _0x1df35a||null===_0x1df35a)return'object\x20expected';if(null!=_0x1df35a['sourcePosition']&&_0x1df35a['hasOwnProperty']('sourcePosition')){let _0x58ee83=v['Position']['verify'](_0x1df35a['sourcePosition']);if(_0x58ee83)return'sourcePosition.'+_0x58ee83;}if(null!=_0x1df35a['howMany']&&_0x1df35a['hasOwnProperty']('howMany')&&!k['isInteger'](_0x1df35a['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x1df35a['targetPosition']&&_0x1df35a['hasOwnProperty']('targetPosition')){let _0x87d1c=v['Position']['verify'](_0x1df35a['targetPosition']);if(_0x87d1c)return'targetPosition.'+_0x87d1c;}return null!=_0x1df35a['wasUndone']&&_0x1df35a['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1df35a['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0xd44006['fromObject']=function(_0x454a92){if(_0x454a92 instanceof v['MoveOperation'])return _0x454a92;let _0x59ee71=new v['MoveOperation']();if(null!=_0x454a92['sourcePosition']){if('object'!=typeof _0x454a92['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x59ee71['sourcePosition']=v['Position']['fromObject'](_0x454a92['sourcePosition']);}if(null!=_0x454a92['howMany']&&(_0x59ee71['howMany']=_0x454a92['howMany']>>>0x0),null!=_0x454a92['targetPosition']){if('object'!=typeof _0x454a92['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x59ee71['targetPosition']=v['Position']['fromObject'](_0x454a92['targetPosition']);}return null!=_0x454a92['wasUndone']&&(_0x59ee71['wasUndone']=Boolean(_0x454a92['wasUndone'])),_0x59ee71;},_0xd44006['toObject']=function(_0x4d4f8d,_0x9fab54){_0x9fab54||(_0x9fab54={});let _0x2c1a79={};return _0x9fab54['defaults']&&(_0x2c1a79['sourcePosition']=null,_0x2c1a79['howMany']=0x0,_0x2c1a79['targetPosition']=null,_0x2c1a79['wasUndone']=!0x1),null!=_0x4d4f8d['sourcePosition']&&_0x4d4f8d['hasOwnProperty']('sourcePosition')&&(_0x2c1a79['sourcePosition']=v['Position']['toObject'](_0x4d4f8d['sourcePosition'],_0x9fab54)),null!=_0x4d4f8d['howMany']&&_0x4d4f8d['hasOwnProperty']('howMany')&&(_0x2c1a79['howMany']=_0x4d4f8d['howMany']),null!=_0x4d4f8d['targetPosition']&&_0x4d4f8d['hasOwnProperty']('targetPosition')&&(_0x2c1a79['targetPosition']=v['Position']['toObject'](_0x4d4f8d['targetPosition'],_0x9fab54)),null!=_0x4d4f8d['wasUndone']&&_0x4d4f8d['hasOwnProperty']('wasUndone')&&(_0x2c1a79['wasUndone']=_0x4d4f8d['wasUndone']),_0x2c1a79;},_0xd44006['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x7955e9['util']['toJSONOptions']);},_0xd44006['getTypeUrl']=function(_0x3b0432){return void 0x0===_0x3b0432&&(_0x3b0432='type.googleapis.com'),_0x3b0432+'/MoveOperation';},_0xd44006;})()),A=v['RenameOperation']=((()=>{function _0x26507d(_0x37f67a){if(_0x37f67a){for(let _0x4af587=Object['keys'](_0x37f67a),_0x545cae=0x0;_0x545cae<_0x4af587['length'];++_0x545cae)null!=_0x37f67a[_0x4af587[_0x545cae]]&&(this[_0x4af587[_0x545cae]]=_0x37f67a[_0x4af587[_0x545cae]]);}}return _0x26507d['prototype']['position']=null,_0x26507d['prototype']['oldName']='',_0x26507d['prototype']['newName']='',_0x26507d['prototype']['wasUndone']=!0x1,_0x26507d['create']=function(_0x205c36){return new _0x26507d(_0x205c36);},_0x26507d['encode']=function(_0x3879ef,_0x50122e){return _0x50122e||(_0x50122e=y['create']()),null!=_0x3879ef['position']&&Object['hasOwnProperty']['call'](_0x3879ef,'position')&&v['Position']['encode'](_0x3879ef['position'],_0x50122e['uint32'](0xa)['fork']())['ldelim'](),null!=_0x3879ef['oldName']&&Object['hasOwnProperty']['call'](_0x3879ef,'oldName')&&_0x50122e['uint32'](0x12)['string'](_0x3879ef['oldName']),null!=_0x3879ef['newName']&&Object['hasOwnProperty']['call'](_0x3879ef,'newName')&&_0x50122e['uint32'](0x1a)['string'](_0x3879ef['newName']),null!=_0x3879ef['wasUndone']&&Object['hasOwnProperty']['call'](_0x3879ef,'wasUndone')&&_0x50122e['uint32'](0x20)['bool'](_0x3879ef['wasUndone']),_0x50122e;},_0x26507d['encodeDelimited']=function(_0x4aada4,_0x3a781d){return this['encode'](_0x4aada4,_0x3a781d)['ldelim']();},_0x26507d['decode']=function(_0x402a3a,_0x2add4b){_0x402a3a instanceof j||(_0x402a3a=j['create'](_0x402a3a));let _0x1c7b32=void 0x0===_0x2add4b?_0x402a3a['len']:_0x402a3a['pos']+_0x2add4b,_0x25bfaf=new v['RenameOperation']();for(;_0x402a3a['pos']<_0x1c7b32;){let _0x561a37=_0x402a3a['uint32']();switch(_0x561a37>>>0x3){case 0x1:_0x25bfaf['position']=v['Position']['decode'](_0x402a3a,_0x402a3a['uint32']());break;case 0x2:_0x25bfaf['oldName']=_0x402a3a['string']();break;case 0x3:_0x25bfaf['newName']=_0x402a3a['string']();break;case 0x4:_0x25bfaf['wasUndone']=_0x402a3a['bool']();break;default:_0x402a3a['skipType'](0x7&_0x561a37);}}return _0x25bfaf;},_0x26507d['decodeDelimited']=function(_0x3fcc06){return _0x3fcc06 instanceof j||(_0x3fcc06=new j(_0x3fcc06)),this['decode'](_0x3fcc06,_0x3fcc06['uint32']());},_0x26507d['verify']=function(_0x1e4812){if('object'!=typeof _0x1e4812||null===_0x1e4812)return'object\x20expected';if(null!=_0x1e4812['position']&&_0x1e4812['hasOwnProperty']('position')){let _0x222777=v['Position']['verify'](_0x1e4812['position']);if(_0x222777)return'position.'+_0x222777;}return null!=_0x1e4812['oldName']&&_0x1e4812['hasOwnProperty']('oldName')&&!k['isString'](_0x1e4812['oldName'])?'oldName:\x20string\x20expected':null!=_0x1e4812['newName']&&_0x1e4812['hasOwnProperty']('newName')&&!k['isString'](_0x1e4812['newName'])?'newName:\x20string\x20expected':null!=_0x1e4812['wasUndone']&&_0x1e4812['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1e4812['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x26507d['fromObject']=function(_0x290428){if(_0x290428 instanceof v['RenameOperation'])return _0x290428;let _0x27b795=new v['RenameOperation']();if(null!=_0x290428['position']){if('object'!=typeof _0x290428['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x27b795['position']=v['Position']['fromObject'](_0x290428['position']);}return null!=_0x290428['oldName']&&(_0x27b795['oldName']=String(_0x290428['oldName'])),null!=_0x290428['newName']&&(_0x27b795['newName']=String(_0x290428['newName'])),null!=_0x290428['wasUndone']&&(_0x27b795['wasUndone']=Boolean(_0x290428['wasUndone'])),_0x27b795;},_0x26507d['toObject']=function(_0x4b56b7,_0x29415b){_0x29415b||(_0x29415b={});let _0x25b8d2={};return _0x29415b['defaults']&&(_0x25b8d2['position']=null,_0x25b8d2['oldName']='',_0x25b8d2['newName']='',_0x25b8d2['wasUndone']=!0x1),null!=_0x4b56b7['position']&&_0x4b56b7['hasOwnProperty']('position')&&(_0x25b8d2['position']=v['Position']['toObject'](_0x4b56b7['position'],_0x29415b)),null!=_0x4b56b7['oldName']&&_0x4b56b7['hasOwnProperty']('oldName')&&(_0x25b8d2['oldName']=_0x4b56b7['oldName']),null!=_0x4b56b7['newName']&&_0x4b56b7['hasOwnProperty']('newName')&&(_0x25b8d2['newName']=_0x4b56b7['newName']),null!=_0x4b56b7['wasUndone']&&_0x4b56b7['hasOwnProperty']('wasUndone')&&(_0x25b8d2['wasUndone']=_0x4b56b7['wasUndone']),_0x25b8d2;},_0x26507d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x7955e9['util']['toJSONOptions']);},_0x26507d['getTypeUrl']=function(_0x4c701d){return void 0x0===_0x4c701d&&(_0x4c701d='type.googleapis.com'),_0x4c701d+'/RenameOperation';},_0x26507d;})()),N=v['RootAttributeOperation']=((()=>{function _0x201b4c(_0x356200){if(_0x356200){for(let _0x4bd87f=Object['keys'](_0x356200),_0x4d94c2=0x0;_0x4d94c2<_0x4bd87f['length'];++_0x4d94c2)null!=_0x356200[_0x4bd87f[_0x4d94c2]]&&(this[_0x4bd87f[_0x4d94c2]]=_0x356200[_0x4bd87f[_0x4d94c2]]);}}return _0x201b4c['prototype']['root']='',_0x201b4c['prototype']['key']='',_0x201b4c['prototype']['oldValueBoolean']=!0x1,_0x201b4c['prototype']['oldValueJson']='',_0x201b4c['prototype']['newValueBoolean']=!0x1,_0x201b4c['prototype']['newValueJson']='',_0x201b4c['prototype']['wasUndone']=!0x1,_0x201b4c['create']=function(_0x2a8a90){return new _0x201b4c(_0x2a8a90);},_0x201b4c['encode']=function(_0x4d568c,_0x37da99){return _0x37da99||(_0x37da99=y['create']()),null!=_0x4d568c['root']&&Object['hasOwnProperty']['call'](_0x4d568c,'root')&&_0x37da99['uint32'](0xa)['string'](_0x4d568c['root']),null!=_0x4d568c['key']&&Object['hasOwnProperty']['call'](_0x4d568c,'key')&&_0x37da99['uint32'](0x12)['string'](_0x4d568c['key']),null!=_0x4d568c['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x4d568c,'oldValueBoolean')&&_0x37da99['uint32'](0x18)['bool'](_0x4d568c['oldValueBoolean']),null!=_0x4d568c['oldValueJson']&&Object['hasOwnProperty']['call'](_0x4d568c,'oldValueJson')&&_0x37da99['uint32'](0x22)['string'](_0x4d568c['oldValueJson']),null!=_0x4d568c['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x4d568c,'newValueBoolean')&&_0x37da99['uint32'](0x28)['bool'](_0x4d568c['newValueBoolean']),null!=_0x4d568c['newValueJson']&&Object['hasOwnProperty']['call'](_0x4d568c,'newValueJson')&&_0x37da99['uint32'](0x32)['string'](_0x4d568c['newValueJson']),null!=_0x4d568c['wasUndone']&&Object['hasOwnProperty']['call'](_0x4d568c,'wasUndone')&&_0x37da99['uint32'](0x38)['bool'](_0x4d568c['wasUndone']),_0x37da99;},_0x201b4c['encodeDelimited']=function(_0x1a6d97,_0x4940e8){return this['encode'](_0x1a6d97,_0x4940e8)['ldelim']();},_0x201b4c['decode']=function(_0x26e245,_0x1946e5){_0x26e245 instanceof j||(_0x26e245=j['create'](_0x26e245));let _0x5473c0=void 0x0===_0x1946e5?_0x26e245['len']:_0x26e245['pos']+_0x1946e5,_0x1c4ff6=new v['RootAttributeOperation']();for(;_0x26e245['pos']<_0x5473c0;){let _0x1e8c85=_0x26e245['uint32']();switch(_0x1e8c85>>>0x3){case 0x1:_0x1c4ff6['root']=_0x26e245['string']();break;case 0x2:_0x1c4ff6['key']=_0x26e245['string']();break;case 0x3:_0x1c4ff6['oldValueBoolean']=_0x26e245['bool']();break;case 0x4:_0x1c4ff6['oldValueJson']=_0x26e245['string']();break;case 0x5:_0x1c4ff6['newValueBoolean']=_0x26e245['bool']();break;case 0x6:_0x1c4ff6['newValueJson']=_0x26e245['string']();break;case 0x7:_0x1c4ff6['wasUndone']=_0x26e245['bool']();break;default:_0x26e245['skipType'](0x7&_0x1e8c85);}}return _0x1c4ff6;},_0x201b4c['decodeDelimited']=function(_0x5c8997){return _0x5c8997 instanceof j||(_0x5c8997=new j(_0x5c8997)),this['decode'](_0x5c8997,_0x5c8997['uint32']());},_0x201b4c['verify']=function(_0x2a5004){return'object'!=typeof _0x2a5004||null===_0x2a5004?'object\x20expected':null!=_0x2a5004['root']&&_0x2a5004['hasOwnProperty']('root')&&!k['isString'](_0x2a5004['root'])?'root:\x20string\x20expected':null!=_0x2a5004['key']&&_0x2a5004['hasOwnProperty']('key')&&!k['isString'](_0x2a5004['key'])?'key:\x20string\x20expected':null!=_0x2a5004['oldValueBoolean']&&_0x2a5004['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x2a5004['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x2a5004['oldValueJson']&&_0x2a5004['hasOwnProperty']('oldValueJson')&&!k['isString'](_0x2a5004['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x2a5004['newValueBoolean']&&_0x2a5004['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x2a5004['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x2a5004['newValueJson']&&_0x2a5004['hasOwnProperty']('newValueJson')&&!k['isString'](_0x2a5004['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x2a5004['wasUndone']&&_0x2a5004['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x2a5004['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x201b4c['fromObject']=function(_0x1e5070){if(_0x1e5070 instanceof v['RootAttributeOperation'])return _0x1e5070;let _0x45719e=new v['RootAttributeOperation']();return null!=_0x1e5070['root']&&(_0x45719e['root']=String(_0x1e5070['root'])),null!=_0x1e5070['key']&&(_0x45719e['key']=String(_0x1e5070['key'])),null!=_0x1e5070['oldValueBoolean']&&(_0x45719e['oldValueBoolean']=Boolean(_0x1e5070['oldValueBoolean'])),null!=_0x1e5070['oldValueJson']&&(_0x45719e['oldValueJson']=String(_0x1e5070['oldValueJson'])),null!=_0x1e5070['newValueBoolean']&&(_0x45719e['newValueBoolean']=Boolean(_0x1e5070['newValueBoolean'])),null!=_0x1e5070['newValueJson']&&(_0x45719e['newValueJson']=String(_0x1e5070['newValueJson'])),null!=_0x1e5070['wasUndone']&&(_0x45719e['wasUndone']=Boolean(_0x1e5070['wasUndone'])),_0x45719e;},_0x201b4c['toObject']=function(_0x13d180,_0x19a604){_0x19a604||(_0x19a604={});let _0x2b4bde={};return _0x19a604['defaults']&&(_0x2b4bde['root']='',_0x2b4bde['key']='',_0x2b4bde['oldValueBoolean']=!0x1,_0x2b4bde['oldValueJson']='',_0x2b4bde['newValueBoolean']=!0x1,_0x2b4bde['newValueJson']='',_0x2b4bde['wasUndone']=!0x1),null!=_0x13d180['root']&&_0x13d180['hasOwnProperty']('root')&&(_0x2b4bde['root']=_0x13d180['root']),null!=_0x13d180['key']&&_0x13d180['hasOwnProperty']('key')&&(_0x2b4bde['key']=_0x13d180['key']),null!=_0x13d180['oldValueBoolean']&&_0x13d180['hasOwnProperty']('oldValueBoolean')&&(_0x2b4bde['oldValueBoolean']=_0x13d180['oldValueBoolean']),null!=_0x13d180['oldValueJson']&&_0x13d180['hasOwnProperty']('oldValueJson')&&(_0x2b4bde['oldValueJson']=_0x13d180['oldValueJson']),null!=_0x13d180['newValueBoolean']&&_0x13d180['hasOwnProperty']('newValueBoolean')&&(_0x2b4bde['newValueBoolean']=_0x13d180['newValueBoolean']),null!=_0x13d180['newValueJson']&&_0x13d180['hasOwnProperty']('newValueJson')&&(_0x2b4bde['newValueJson']=_0x13d180['newValueJson']),null!=_0x13d180['wasUndone']&&_0x13d180['hasOwnProperty']('wasUndone')&&(_0x2b4bde['wasUndone']=_0x13d180['wasUndone']),_0x2b4bde;},_0x201b4c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x7955e9['util']['toJSONOptions']);},_0x201b4c['getTypeUrl']=function(_0x2216c5){return void 0x0===_0x2216c5&&(_0x2216c5='type.googleapis.com'),_0x2216c5+'/RootAttributeOperation';},_0x201b4c;})()),R=v['RootOperation']=((()=>{function _0x2247c4(_0x265de5){if(_0x265de5){for(let _0x31396b=Object['keys'](_0x265de5),_0x20c806=0x0;_0x20c806<_0x31396b['length'];++_0x20c806)null!=_0x265de5[_0x31396b[_0x20c806]]&&(this[_0x31396b[_0x20c806]]=_0x265de5[_0x31396b[_0x20c806]]);}}return _0x2247c4['prototype']['rootName']='',_0x2247c4['prototype']['elementName']='',_0x2247c4['prototype']['isAdd']=!0x1,_0x2247c4['prototype']['wasUndone']=!0x1,_0x2247c4['create']=function(_0x5005df){return new _0x2247c4(_0x5005df);},_0x2247c4['encode']=function(_0x4a2c9a,_0x34f0f8){return _0x34f0f8||(_0x34f0f8=y['create']()),null!=_0x4a2c9a['rootName']&&Object['hasOwnProperty']['call'](_0x4a2c9a,'rootName')&&_0x34f0f8['uint32'](0xa)['string'](_0x4a2c9a['rootName']),null!=_0x4a2c9a['elementName']&&Object['hasOwnProperty']['call'](_0x4a2c9a,'elementName')&&_0x34f0f8['uint32'](0x12)['string'](_0x4a2c9a['elementName']),null!=_0x4a2c9a['isAdd']&&Object['hasOwnProperty']['call'](_0x4a2c9a,'isAdd')&&_0x34f0f8['uint32'](0x18)['bool'](_0x4a2c9a['isAdd']),null!=_0x4a2c9a['wasUndone']&&Object['hasOwnProperty']['call'](_0x4a2c9a,'wasUndone')&&_0x34f0f8['uint32'](0x20)['bool'](_0x4a2c9a['wasUndone']),_0x34f0f8;},_0x2247c4['encodeDelimited']=function(_0x316fec,_0xd748a3){return this['encode'](_0x316fec,_0xd748a3)['ldelim']();},_0x2247c4['decode']=function(_0x1e39c6,_0x356117){_0x1e39c6 instanceof j||(_0x1e39c6=j['create'](_0x1e39c6));let _0x2fc26c=void 0x0===_0x356117?_0x1e39c6['len']:_0x1e39c6['pos']+_0x356117,_0x6c3b50=new v['RootOperation']();for(;_0x1e39c6['pos']<_0x2fc26c;){let _0x1252a3=_0x1e39c6['uint32']();switch(_0x1252a3>>>0x3){case 0x1:_0x6c3b50['rootName']=_0x1e39c6['string']();break;case 0x2:_0x6c3b50['elementName']=_0x1e39c6['string']();break;case 0x3:_0x6c3b50['isAdd']=_0x1e39c6['bool']();break;case 0x4:_0x6c3b50['wasUndone']=_0x1e39c6['bool']();break;default:_0x1e39c6['skipType'](0x7&_0x1252a3);}}return _0x6c3b50;},_0x2247c4['decodeDelimited']=function(_0x32c083){return _0x32c083 instanceof j||(_0x32c083=new j(_0x32c083)),this['decode'](_0x32c083,_0x32c083['uint32']());},_0x2247c4['verify']=function(_0x2e7b3b){return'object'!=typeof _0x2e7b3b||null===_0x2e7b3b?'object\x20expected':null!=_0x2e7b3b['rootName']&&_0x2e7b3b['hasOwnProperty']('rootName')&&!k['isString'](_0x2e7b3b['rootName'])?'rootName:\x20string\x20expected':null!=_0x2e7b3b['elementName']&&_0x2e7b3b['hasOwnProperty']('elementName')&&!k['isString'](_0x2e7b3b['elementName'])?'elementName:\x20string\x20expected':null!=_0x2e7b3b['isAdd']&&_0x2e7b3b['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x2e7b3b['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x2e7b3b['wasUndone']&&_0x2e7b3b['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x2e7b3b['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2247c4['fromObject']=function(_0x898dc6){if(_0x898dc6 instanceof v['RootOperation'])return _0x898dc6;let _0x4aa58d=new v['RootOperation']();return null!=_0x898dc6['rootName']&&(_0x4aa58d['rootName']=String(_0x898dc6['rootName'])),null!=_0x898dc6['elementName']&&(_0x4aa58d['elementName']=String(_0x898dc6['elementName'])),null!=_0x898dc6['isAdd']&&(_0x4aa58d['isAdd']=Boolean(_0x898dc6['isAdd'])),null!=_0x898dc6['wasUndone']&&(_0x4aa58d['wasUndone']=Boolean(_0x898dc6['wasUndone'])),_0x4aa58d;},_0x2247c4['toObject']=function(_0x1d67fe,_0x9eaa10){_0x9eaa10||(_0x9eaa10={});let _0x270477={};return _0x9eaa10['defaults']&&(_0x270477['rootName']='',_0x270477['elementName']='',_0x270477['isAdd']=!0x1,_0x270477['wasUndone']=!0x1),null!=_0x1d67fe['rootName']&&_0x1d67fe['hasOwnProperty']('rootName')&&(_0x270477['rootName']=_0x1d67fe['rootName']),null!=_0x1d67fe['elementName']&&_0x1d67fe['hasOwnProperty']('elementName')&&(_0x270477['elementName']=_0x1d67fe['elementName']),null!=_0x1d67fe['isAdd']&&_0x1d67fe['hasOwnProperty']('isAdd')&&(_0x270477['isAdd']=_0x1d67fe['isAdd']),null!=_0x1d67fe['wasUndone']&&_0x1d67fe['hasOwnProperty']('wasUndone')&&(_0x270477['wasUndone']=_0x1d67fe['wasUndone']),_0x270477;},_0x2247c4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x7955e9['util']['toJSONOptions']);},_0x2247c4['getTypeUrl']=function(_0xb5bcf2){return void 0x0===_0xb5bcf2&&(_0xb5bcf2='type.googleapis.com'),_0xb5bcf2+'/RootOperation';},_0x2247c4;})()),E=v['SplitOperation']=((()=>{function _0x3781e8(_0x50ce47){if(_0x50ce47){for(let _0xe113c2=Object['keys'](_0x50ce47),_0xeba617=0x0;_0xeba617<_0xe113c2['length'];++_0xeba617)null!=_0x50ce47[_0xe113c2[_0xeba617]]&&(this[_0xe113c2[_0xeba617]]=_0x50ce47[_0xe113c2[_0xeba617]]);}}return _0x3781e8['prototype']['splitPosition']=null,_0x3781e8['prototype']['graveyardPosition']=null,_0x3781e8['prototype']['howMany']=0x0,_0x3781e8['prototype']['insertionPosition']=null,_0x3781e8['prototype']['wasUndone']=!0x1,_0x3781e8['create']=function(_0x2bd66f){return new _0x3781e8(_0x2bd66f);},_0x3781e8['encode']=function(_0x59deb7,_0x360653){return _0x360653||(_0x360653=y['create']()),null!=_0x59deb7['splitPosition']&&Object['hasOwnProperty']['call'](_0x59deb7,'splitPosition')&&v['Position']['encode'](_0x59deb7['splitPosition'],_0x360653['uint32'](0xa)['fork']())['ldelim'](),null!=_0x59deb7['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x59deb7,'graveyardPosition')&&v['Position']['encode'](_0x59deb7['graveyardPosition'],_0x360653['uint32'](0x12)['fork']())['ldelim'](),null!=_0x59deb7['howMany']&&Object['hasOwnProperty']['call'](_0x59deb7,'howMany')&&_0x360653['uint32'](0x18)['uint32'](_0x59deb7['howMany']),null!=_0x59deb7['insertionPosition']&&Object['hasOwnProperty']['call'](_0x59deb7,'insertionPosition')&&v['Position']['encode'](_0x59deb7['insertionPosition'],_0x360653['uint32'](0x22)['fork']())['ldelim'](),null!=_0x59deb7['wasUndone']&&Object['hasOwnProperty']['call'](_0x59deb7,'wasUndone')&&_0x360653['uint32'](0x28)['bool'](_0x59deb7['wasUndone']),_0x360653;},_0x3781e8['encodeDelimited']=function(_0x5303c9,_0x5ce753){return this['encode'](_0x5303c9,_0x5ce753)['ldelim']();},_0x3781e8['decode']=function(_0x453d73,_0x325942){_0x453d73 instanceof j||(_0x453d73=j['create'](_0x453d73));let _0x1b1129=void 0x0===_0x325942?_0x453d73['len']:_0x453d73['pos']+_0x325942,_0x3378c6=new v['SplitOperation']();for(;_0x453d73['pos']<_0x1b1129;){let _0x21db39=_0x453d73['uint32']();switch(_0x21db39>>>0x3){case 0x1:_0x3378c6['splitPosition']=v['Position']['decode'](_0x453d73,_0x453d73['uint32']());break;case 0x2:_0x3378c6['graveyardPosition']=v['Position']['decode'](_0x453d73,_0x453d73['uint32']());break;case 0x3:_0x3378c6['howMany']=_0x453d73['uint32']();break;case 0x4:_0x3378c6['insertionPosition']=v['Position']['decode'](_0x453d73,_0x453d73['uint32']());break;case 0x5:_0x3378c6['wasUndone']=_0x453d73['bool']();break;default:_0x453d73['skipType'](0x7&_0x21db39);}}return _0x3378c6;},_0x3781e8['decodeDelimited']=function(_0x4ccdee){return _0x4ccdee instanceof j||(_0x4ccdee=new j(_0x4ccdee)),this['decode'](_0x4ccdee,_0x4ccdee['uint32']());},_0x3781e8['verify']=function(_0x47ad98){if('object'!=typeof _0x47ad98||null===_0x47ad98)return'object\x20expected';if(null!=_0x47ad98['splitPosition']&&_0x47ad98['hasOwnProperty']('splitPosition')){let _0x4b092f=v['Position']['verify'](_0x47ad98['splitPosition']);if(_0x4b092f)return'splitPosition.'+_0x4b092f;}if(null!=_0x47ad98['graveyardPosition']&&_0x47ad98['hasOwnProperty']('graveyardPosition')){let _0x5a8268=v['Position']['verify'](_0x47ad98['graveyardPosition']);if(_0x5a8268)return'graveyardPosition.'+_0x5a8268;}if(null!=_0x47ad98['howMany']&&_0x47ad98['hasOwnProperty']('howMany')&&!k['isInteger'](_0x47ad98['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x47ad98['insertionPosition']&&_0x47ad98['hasOwnProperty']('insertionPosition')){let _0x146876=v['Position']['verify'](_0x47ad98['insertionPosition']);if(_0x146876)return'insertionPosition.'+_0x146876;}return null!=_0x47ad98['wasUndone']&&_0x47ad98['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x47ad98['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x3781e8['fromObject']=function(_0x14d9dd){if(_0x14d9dd instanceof v['SplitOperation'])return _0x14d9dd;let _0x5a4ce9=new v['SplitOperation']();if(null!=_0x14d9dd['splitPosition']){if('object'!=typeof _0x14d9dd['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x5a4ce9['splitPosition']=v['Position']['fromObject'](_0x14d9dd['splitPosition']);}if(null!=_0x14d9dd['graveyardPosition']){if('object'!=typeof _0x14d9dd['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x5a4ce9['graveyardPosition']=v['Position']['fromObject'](_0x14d9dd['graveyardPosition']);}if(null!=_0x14d9dd['howMany']&&(_0x5a4ce9['howMany']=_0x14d9dd['howMany']>>>0x0),null!=_0x14d9dd['insertionPosition']){if('object'!=typeof _0x14d9dd['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x5a4ce9['insertionPosition']=v['Position']['fromObject'](_0x14d9dd['insertionPosition']);}return null!=_0x14d9dd['wasUndone']&&(_0x5a4ce9['wasUndone']=Boolean(_0x14d9dd['wasUndone'])),_0x5a4ce9;},_0x3781e8['toObject']=function(_0x7e0cd7,_0x3c4694){_0x3c4694||(_0x3c4694={});let _0x540607={};return _0x3c4694['defaults']&&(_0x540607['splitPosition']=null,_0x540607['graveyardPosition']=null,_0x540607['howMany']=0x0,_0x540607['insertionPosition']=null,_0x540607['wasUndone']=!0x1),null!=_0x7e0cd7['splitPosition']&&_0x7e0cd7['hasOwnProperty']('splitPosition')&&(_0x540607['splitPosition']=v['Position']['toObject'](_0x7e0cd7['splitPosition'],_0x3c4694)),null!=_0x7e0cd7['graveyardPosition']&&_0x7e0cd7['hasOwnProperty']('graveyardPosition')&&(_0x540607['graveyardPosition']=v['Position']['toObject'](_0x7e0cd7['graveyardPosition'],_0x3c4694)),null!=_0x7e0cd7['howMany']&&_0x7e0cd7['hasOwnProperty']('howMany')&&(_0x540607['howMany']=_0x7e0cd7['howMany']),null!=_0x7e0cd7['insertionPosition']&&_0x7e0cd7['hasOwnProperty']('insertionPosition')&&(_0x540607['insertionPosition']=v['Position']['toObject'](_0x7e0cd7['insertionPosition'],_0x3c4694)),null!=_0x7e0cd7['wasUndone']&&_0x7e0cd7['hasOwnProperty']('wasUndone')&&(_0x540607['wasUndone']=_0x7e0cd7['wasUndone']),_0x540607;},_0x3781e8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x7955e9['util']['toJSONOptions']);},_0x3781e8['getTypeUrl']=function(_0x649d44){return void 0x0===_0x649d44&&(_0x649d44='type.googleapis.com'),_0x649d44+'/SplitOperation';},_0x3781e8;})()),T=v['Position']=((()=>{function _0x57098e(_0x4d3dda){if(this['path']=[],_0x4d3dda){for(let _0x12e23b=Object['keys'](_0x4d3dda),_0x1bfa91=0x0;_0x1bfa91<_0x12e23b['length'];++_0x1bfa91)null!=_0x4d3dda[_0x12e23b[_0x1bfa91]]&&(this[_0x12e23b[_0x1bfa91]]=_0x4d3dda[_0x12e23b[_0x1bfa91]]);}}return _0x57098e['prototype']['root']='',_0x57098e['prototype']['rootMain']=!0x1,_0x57098e['prototype']['rootGraveyard']=!0x1,_0x57098e['prototype']['path']=k['emptyArray'],_0x57098e['prototype']['stickiness']='',_0x57098e['create']=function(_0x4a9ee4){return new _0x57098e(_0x4a9ee4);},_0x57098e['encode']=function(_0x351146,_0x1cd819){if(_0x1cd819||(_0x1cd819=y['create']()),null!=_0x351146['root']&&Object['hasOwnProperty']['call'](_0x351146,'root')&&_0x1cd819['uint32'](0xa)['string'](_0x351146['root']),null!=_0x351146['rootMain']&&Object['hasOwnProperty']['call'](_0x351146,'rootMain')&&_0x1cd819['uint32'](0x10)['bool'](_0x351146['rootMain']),null!=_0x351146['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x351146,'rootGraveyard')&&_0x1cd819['uint32'](0x18)['bool'](_0x351146['rootGraveyard']),null!=_0x351146['path']&&_0x351146['path']['length']){_0x1cd819['uint32'](0x22)['fork']();for(let _0x5912ed=0x0;_0x5912ed<_0x351146['path']['length'];++_0x5912ed)_0x1cd819['uint32'](_0x351146['path'][_0x5912ed]);_0x1cd819['ldelim']();}return null!=_0x351146['stickiness']&&Object['hasOwnProperty']['call'](_0x351146,'stickiness')&&_0x1cd819['uint32'](0x2a)['string'](_0x351146['stickiness']),_0x1cd819;},_0x57098e['encodeDelimited']=function(_0x47cd97,_0x54961f){return this['encode'](_0x47cd97,_0x54961f)['ldelim']();},_0x57098e['decode']=function(_0x5860b5,_0x9d643e){_0x5860b5 instanceof j||(_0x5860b5=j['create'](_0x5860b5));let _0x4e3d04=void 0x0===_0x9d643e?_0x5860b5['len']:_0x5860b5['pos']+_0x9d643e,_0xc90d6f=new v['Position']();for(;_0x5860b5['pos']<_0x4e3d04;){let _0x28c613=_0x5860b5['uint32']();switch(_0x28c613>>>0x3){case 0x1:_0xc90d6f['root']=_0x5860b5['string']();break;case 0x2:_0xc90d6f['rootMain']=_0x5860b5['bool']();break;case 0x3:_0xc90d6f['rootGraveyard']=_0x5860b5['bool']();break;case 0x4:if(_0xc90d6f['path']&&_0xc90d6f['path']['length']||(_0xc90d6f['path']=[]),0x2==(0x7&_0x28c613)){let _0x4a92fe=_0x5860b5['uint32']()+_0x5860b5['pos'];for(;_0x5860b5['pos']<_0x4a92fe;)_0xc90d6f['path']['push'](_0x5860b5['uint32']());}else _0xc90d6f['path']['push'](_0x5860b5['uint32']());break;case 0x5:_0xc90d6f['stickiness']=_0x5860b5['string']();break;default:_0x5860b5['skipType'](0x7&_0x28c613);}}return _0xc90d6f;},_0x57098e['decodeDelimited']=function(_0xd9bbe6){return _0xd9bbe6 instanceof j||(_0xd9bbe6=new j(_0xd9bbe6)),this['decode'](_0xd9bbe6,_0xd9bbe6['uint32']());},_0x57098e['verify']=function(_0x25ea33){if('object'!=typeof _0x25ea33||null===_0x25ea33)return'object\x20expected';if(null!=_0x25ea33['root']&&_0x25ea33['hasOwnProperty']('root')&&!k['isString'](_0x25ea33['root']))return'root:\x20string\x20expected';if(null!=_0x25ea33['rootMain']&&_0x25ea33['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x25ea33['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x25ea33['rootGraveyard']&&_0x25ea33['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x25ea33['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x25ea33['path']&&_0x25ea33['hasOwnProperty']('path')){if(!Array['isArray'](_0x25ea33['path']))return'path:\x20array\x20expected';for(let _0x132778=0x0;_0x132778<_0x25ea33['path']['length'];++_0x132778)if(!k['isInteger'](_0x25ea33['path'][_0x132778]))return'path:\x20integer[]\x20expected';}return null!=_0x25ea33['stickiness']&&_0x25ea33['hasOwnProperty']('stickiness')&&!k['isString'](_0x25ea33['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x57098e['fromObject']=function(_0x3df48f){if(_0x3df48f instanceof v['Position'])return _0x3df48f;let _0x313bcf=new v['Position']();if(null!=_0x3df48f['root']&&(_0x313bcf['root']=String(_0x3df48f['root'])),null!=_0x3df48f['rootMain']&&(_0x313bcf['rootMain']=Boolean(_0x3df48f['rootMain'])),null!=_0x3df48f['rootGraveyard']&&(_0x313bcf['rootGraveyard']=Boolean(_0x3df48f['rootGraveyard'])),_0x3df48f['path']){if(!Array['isArray'](_0x3df48f['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x313bcf['path']=[];for(let _0x2220a3=0x0;_0x2220a3<_0x3df48f['path']['length'];++_0x2220a3)_0x313bcf['path'][_0x2220a3]=_0x3df48f['path'][_0x2220a3]>>>0x0;}return null!=_0x3df48f['stickiness']&&(_0x313bcf['stickiness']=String(_0x3df48f['stickiness'])),_0x313bcf;},_0x57098e['toObject']=function(_0x5ebdcd,_0x3d0e63){_0x3d0e63||(_0x3d0e63={});let _0x9fef42={};if((_0x3d0e63['arrays']||_0x3d0e63['defaults'])&&(_0x9fef42['path']=[]),_0x3d0e63['defaults']&&(_0x9fef42['root']='',_0x9fef42['rootMain']=!0x1,_0x9fef42['rootGraveyard']=!0x1,_0x9fef42['stickiness']=''),null!=_0x5ebdcd['root']&&_0x5ebdcd['hasOwnProperty']('root')&&(_0x9fef42['root']=_0x5ebdcd['root']),null!=_0x5ebdcd['rootMain']&&_0x5ebdcd['hasOwnProperty']('rootMain')&&(_0x9fef42['rootMain']=_0x5ebdcd['rootMain']),null!=_0x5ebdcd['rootGraveyard']&&_0x5ebdcd['hasOwnProperty']('rootGraveyard')&&(_0x9fef42['rootGraveyard']=_0x5ebdcd['rootGraveyard']),_0x5ebdcd['path']&&_0x5ebdcd['path']['length']){_0x9fef42['path']=[];for(let _0x3f76ec=0x0;_0x3f76ec<_0x5ebdcd['path']['length'];++_0x3f76ec)_0x9fef42['path'][_0x3f76ec]=_0x5ebdcd['path'][_0x3f76ec];}return null!=_0x5ebdcd['stickiness']&&_0x5ebdcd['hasOwnProperty']('stickiness')&&(_0x9fef42['stickiness']=_0x5ebdcd['stickiness']),_0x9fef42;},_0x57098e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x7955e9['util']['toJSONOptions']);},_0x57098e['getTypeUrl']=function(_0x2ea269){return void 0x0===_0x2ea269&&(_0x2ea269='type.googleapis.com'),_0x2ea269+'/Position';},_0x57098e;})()),C=v['Range']=((()=>{function _0x55f0e4(_0x2dbeb6){if(_0x2dbeb6){for(let _0x1d3f05=Object['keys'](_0x2dbeb6),_0x3f7529=0x0;_0x3f7529<_0x1d3f05['length'];++_0x3f7529)null!=_0x2dbeb6[_0x1d3f05[_0x3f7529]]&&(this[_0x1d3f05[_0x3f7529]]=_0x2dbeb6[_0x1d3f05[_0x3f7529]]);}}return _0x55f0e4['prototype']['start']=null,_0x55f0e4['prototype']['end']=null,_0x55f0e4['create']=function(_0x212362){return new _0x55f0e4(_0x212362);},_0x55f0e4['encode']=function(_0x947232,_0x51348c){return _0x51348c||(_0x51348c=y['create']()),null!=_0x947232['start']&&Object['hasOwnProperty']['call'](_0x947232,'start')&&v['Position']['encode'](_0x947232['start'],_0x51348c['uint32'](0xa)['fork']())['ldelim'](),null!=_0x947232['end']&&Object['hasOwnProperty']['call'](_0x947232,'end')&&v['Position']['encode'](_0x947232['end'],_0x51348c['uint32'](0x12)['fork']())['ldelim'](),_0x51348c;},_0x55f0e4['encodeDelimited']=function(_0x4fe2a0,_0x56e571){return this['encode'](_0x4fe2a0,_0x56e571)['ldelim']();},_0x55f0e4['decode']=function(_0x5cf4ee,_0x3f2bb8){_0x5cf4ee instanceof j||(_0x5cf4ee=j['create'](_0x5cf4ee));let _0x23caae=void 0x0===_0x3f2bb8?_0x5cf4ee['len']:_0x5cf4ee['pos']+_0x3f2bb8,_0x4326a5=new v['Range']();for(;_0x5cf4ee['pos']<_0x23caae;){let _0x2a66f1=_0x5cf4ee['uint32']();switch(_0x2a66f1>>>0x3){case 0x1:_0x4326a5['start']=v['Position']['decode'](_0x5cf4ee,_0x5cf4ee['uint32']());break;case 0x2:_0x4326a5['end']=v['Position']['decode'](_0x5cf4ee,_0x5cf4ee['uint32']());break;default:_0x5cf4ee['skipType'](0x7&_0x2a66f1);}}return _0x4326a5;},_0x55f0e4['decodeDelimited']=function(_0x4cedd8){return _0x4cedd8 instanceof j||(_0x4cedd8=new j(_0x4cedd8)),this['decode'](_0x4cedd8,_0x4cedd8['uint32']());},_0x55f0e4['verify']=function(_0x30d2ca){if('object'!=typeof _0x30d2ca||null===_0x30d2ca)return'object\x20expected';if(null!=_0x30d2ca['start']&&_0x30d2ca['hasOwnProperty']('start')){let _0x405ea0=v['Position']['verify'](_0x30d2ca['start']);if(_0x405ea0)return'start.'+_0x405ea0;}if(null!=_0x30d2ca['end']&&_0x30d2ca['hasOwnProperty']('end')){let _0x344d1a=v['Position']['verify'](_0x30d2ca['end']);if(_0x344d1a)return'end.'+_0x344d1a;}return null;},_0x55f0e4['fromObject']=function(_0x12020a){if(_0x12020a instanceof v['Range'])return _0x12020a;let _0x789f11=new v['Range']();if(null!=_0x12020a['start']){if('object'!=typeof _0x12020a['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x789f11['start']=v['Position']['fromObject'](_0x12020a['start']);}if(null!=_0x12020a['end']){if('object'!=typeof _0x12020a['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x789f11['end']=v['Position']['fromObject'](_0x12020a['end']);}return _0x789f11;},_0x55f0e4['toObject']=function(_0x5acd6d,_0x53235b){_0x53235b||(_0x53235b={});let _0x546fcc={};return _0x53235b['defaults']&&(_0x546fcc['start']=null,_0x546fcc['end']=null),null!=_0x5acd6d['start']&&_0x5acd6d['hasOwnProperty']('start')&&(_0x546fcc['start']=v['Position']['toObject'](_0x5acd6d['start'],_0x53235b)),null!=_0x5acd6d['end']&&_0x5acd6d['hasOwnProperty']('end')&&(_0x546fcc['end']=v['Position']['toObject'](_0x5acd6d['end'],_0x53235b)),_0x546fcc;},_0x55f0e4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x7955e9['util']['toJSONOptions']);},_0x55f0e4['getTypeUrl']=function(_0x697572){return void 0x0===_0x697572&&(_0x697572='type.googleapis.com'),_0x697572+'/Range';},_0x55f0e4;})()),D=v['Element']=((()=>{function _0x3585d8(_0x2b7538){if(this['children']=[],this['attributesBoolean']={},_0x2b7538){for(let _0x393bf0=Object['keys'](_0x2b7538),_0x431265=0x0;_0x431265<_0x393bf0['length'];++_0x431265)null!=_0x2b7538[_0x393bf0[_0x431265]]&&(this[_0x393bf0[_0x431265]]=_0x2b7538[_0x393bf0[_0x431265]]);}}return _0x3585d8['prototype']['name']='',_0x3585d8['prototype']['children']=k['emptyArray'],_0x3585d8['prototype']['data']='',_0x3585d8['prototype']['attributesBoolean']=k['emptyObject'],_0x3585d8['prototype']['attributesJson']='',_0x3585d8['create']=function(_0xc2739f){return new _0x3585d8(_0xc2739f);},_0x3585d8['encode']=function(_0x44ebdd,_0x45f07d){if(_0x45f07d||(_0x45f07d=y['create']()),null!=_0x44ebdd['name']&&Object['hasOwnProperty']['call'](_0x44ebdd,'name')&&_0x45f07d['uint32'](0xa)['string'](_0x44ebdd['name']),null!=_0x44ebdd['children']&&_0x44ebdd['children']['length']){for(let _0x30d331=0x0;_0x30d331<_0x44ebdd['children']['length'];++_0x30d331)v['Element']['encode'](_0x44ebdd['children'][_0x30d331],_0x45f07d['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x44ebdd['data']&&Object['hasOwnProperty']['call'](_0x44ebdd,'data')&&_0x45f07d['uint32'](0x1a)['string'](_0x44ebdd['data']),null!=_0x44ebdd['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x44ebdd,'attributesBoolean')){for(let _0x11ec7e=Object['keys'](_0x44ebdd['attributesBoolean']),_0x191ee1=0x0;_0x191ee1<_0x11ec7e['length'];++_0x191ee1)_0x45f07d['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x11ec7e[_0x191ee1])['uint32'](0x10)['bool'](_0x44ebdd['attributesBoolean'][_0x11ec7e[_0x191ee1]])['ldelim']();}return null!=_0x44ebdd['attributesJson']&&Object['hasOwnProperty']['call'](_0x44ebdd,'attributesJson')&&_0x45f07d['uint32'](0x2a)['string'](_0x44ebdd['attributesJson']),_0x45f07d;},_0x3585d8['encodeDelimited']=function(_0x47afb3,_0x59dfd8){return this['encode'](_0x47afb3,_0x59dfd8)['ldelim']();},_0x3585d8['decode']=function(_0x3d7635,_0x52456b){_0x3d7635 instanceof j||(_0x3d7635=j['create'](_0x3d7635));let _0x5a7f99,_0x29a303,_0x1be16b=void 0x0===_0x52456b?_0x3d7635['len']:_0x3d7635['pos']+_0x52456b,_0x6b9066=new v['Element']();for(;_0x3d7635['pos']<_0x1be16b;){let _0x149c6e=_0x3d7635['uint32']();switch(_0x149c6e>>>0x3){case 0x1:_0x6b9066['name']=_0x3d7635['string']();break;case 0x2:_0x6b9066['children']&&_0x6b9066['children']['length']||(_0x6b9066['children']=[]),_0x6b9066['children']['push'](v['Element']['decode'](_0x3d7635,_0x3d7635['uint32']()));break;case 0x3:_0x6b9066['data']=_0x3d7635['string']();break;case 0x4:{_0x6b9066['attributesBoolean']===k['emptyObject']&&(_0x6b9066['attributesBoolean']={});let _0x41620c=_0x3d7635['uint32']()+_0x3d7635['pos'];for(_0x5a7f99='',_0x29a303=!0x1;_0x3d7635['pos']<_0x41620c;){let _0x3b6476=_0x3d7635['uint32']();switch(_0x3b6476>>>0x3){case 0x1:_0x5a7f99=_0x3d7635['string']();break;case 0x2:_0x29a303=_0x3d7635['bool']();break;default:_0x3d7635['skipType'](0x7&_0x3b6476);}}_0x6b9066['attributesBoolean'][_0x5a7f99]=_0x29a303;break;}case 0x5:_0x6b9066['attributesJson']=_0x3d7635['string']();break;default:_0x3d7635['skipType'](0x7&_0x149c6e);}}return _0x6b9066;},_0x3585d8['decodeDelimited']=function(_0x51ccd7){return _0x51ccd7 instanceof j||(_0x51ccd7=new j(_0x51ccd7)),this['decode'](_0x51ccd7,_0x51ccd7['uint32']());},_0x3585d8['verify']=function(_0x4cca33){if('object'!=typeof _0x4cca33||null===_0x4cca33)return'object\x20expected';if(null!=_0x4cca33['name']&&_0x4cca33['hasOwnProperty']('name')&&!k['isString'](_0x4cca33['name']))return'name:\x20string\x20expected';if(null!=_0x4cca33['children']&&_0x4cca33['hasOwnProperty']('children')){if(!Array['isArray'](_0x4cca33['children']))return'children:\x20array\x20expected';for(let _0x2720b6=0x0;_0x2720b6<_0x4cca33['children']['length'];++_0x2720b6){let _0x483f45=v['Element']['verify'](_0x4cca33['children'][_0x2720b6]);if(_0x483f45)return'children.'+_0x483f45;}}if(null!=_0x4cca33['data']&&_0x4cca33['hasOwnProperty']('data')&&!k['isString'](_0x4cca33['data']))return'data:\x20string\x20expected';if(null!=_0x4cca33['attributesBoolean']&&_0x4cca33['hasOwnProperty']('attributesBoolean')){if(!k['isObject'](_0x4cca33['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';let _0x544f68=Object['keys'](_0x4cca33['attributesBoolean']);for(let _0x187c61=0x0;_0x187c61<_0x544f68['length'];++_0x187c61)if('boolean'!=typeof _0x4cca33['attributesBoolean'][_0x544f68[_0x187c61]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x4cca33['attributesJson']&&_0x4cca33['hasOwnProperty']('attributesJson')&&!k['isString'](_0x4cca33['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x3585d8['fromObject']=function(_0x2b1108){if(_0x2b1108 instanceof v['Element'])return _0x2b1108;let _0x25ebe5=new v['Element']();if(null!=_0x2b1108['name']&&(_0x25ebe5['name']=String(_0x2b1108['name'])),_0x2b1108['children']){if(!Array['isArray'](_0x2b1108['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x25ebe5['children']=[];for(let _0x5277ac=0x0;_0x5277ac<_0x2b1108['children']['length'];++_0x5277ac){if('object'!=typeof _0x2b1108['children'][_0x5277ac])throw TypeError('.Element.children:\x20object\x20expected');_0x25ebe5['children'][_0x5277ac]=v['Element']['fromObject'](_0x2b1108['children'][_0x5277ac]);}}if(null!=_0x2b1108['data']&&(_0x25ebe5['data']=String(_0x2b1108['data'])),_0x2b1108['attributesBoolean']){if('object'!=typeof _0x2b1108['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x25ebe5['attributesBoolean']={};for(let _0x1e8828=Object['keys'](_0x2b1108['attributesBoolean']),_0x6c5b83=0x0;_0x6c5b83<_0x1e8828['length'];++_0x6c5b83)_0x25ebe5['attributesBoolean'][_0x1e8828[_0x6c5b83]]=Boolean(_0x2b1108['attributesBoolean'][_0x1e8828[_0x6c5b83]]);}return null!=_0x2b1108['attributesJson']&&(_0x25ebe5['attributesJson']=String(_0x2b1108['attributesJson'])),_0x25ebe5;},_0x3585d8['toObject']=function(_0xe1d2c8,_0xb990d0){_0xb990d0||(_0xb990d0={});let _0x340a2d,_0x350191={};if((_0xb990d0['arrays']||_0xb990d0['defaults'])&&(_0x350191['children']=[]),(_0xb990d0['objects']||_0xb990d0['defaults'])&&(_0x350191['attributesBoolean']={}),_0xb990d0['defaults']&&(_0x350191['name']='',_0x350191['data']='',_0x350191['attributesJson']=''),null!=_0xe1d2c8['name']&&_0xe1d2c8['hasOwnProperty']('name')&&(_0x350191['name']=_0xe1d2c8['name']),_0xe1d2c8['children']&&_0xe1d2c8['children']['length']){_0x350191['children']=[];for(let _0x5387d3=0x0;_0x5387d3<_0xe1d2c8['children']['length'];++_0x5387d3)_0x350191['children'][_0x5387d3]=v['Element']['toObject'](_0xe1d2c8['children'][_0x5387d3],_0xb990d0);}if(null!=_0xe1d2c8['data']&&_0xe1d2c8['hasOwnProperty']('data')&&(_0x350191['data']=_0xe1d2c8['data']),_0xe1d2c8['attributesBoolean']&&(_0x340a2d=Object['keys'](_0xe1d2c8['attributesBoolean']))['length']){_0x350191['attributesBoolean']={};for(let _0x3370db=0x0;_0x3370db<_0x340a2d['length'];++_0x3370db)_0x350191['attributesBoolean'][_0x340a2d[_0x3370db]]=_0xe1d2c8['attributesBoolean'][_0x340a2d[_0x3370db]];}return null!=_0xe1d2c8['attributesJson']&&_0xe1d2c8['hasOwnProperty']('attributesJson')&&(_0x350191['attributesJson']=_0xe1d2c8['attributesJson']),_0x350191;},_0x3585d8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x7955e9['util']['toJSONOptions']);},_0x3585d8['getTypeUrl']=function(_0x28fe3b){return void 0x0===_0x28fe3b&&(_0x28fe3b='type.googleapis.com'),_0x28fe3b+'/Element';},_0x3585d8;})());var u=Object['freeze']({'__proto__':null,'AttributeOperation':M,'Element':D,'InsertOperation':B,'MarkerOperation':V,'MergeOperation':S,'MoveOperation':U,'Position':T,'Range':C,'RenameOperation':A,'RootAttributeOperation':N,'RootOperation':R,'SplitOperation':E,'default':v});class r{['getDescriptor'](_0x29cb69){return new I(this['_protobufRoot'][_0x29cb69]);}constructor(){this['_protobufRoot']=u;}}class I{['compress'](_0x335c39){const _0x522566=this['_protobuf']['verify'](_0x335c39);if(_0x522566)throw Error(_0x522566);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x335c39))['finish']();}['decompress'](_0x3275a2){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x3275a2),{'oneofs':!0x0});}constructor(_0x194538){this['_protobuf']=_0x194538;}}function _(_0x393d2a,_0xb300e9){const _0xa25c56=_0x2a0a8e(_0x393d2a);return _0xa25c56['path'][_0xa25c56['path']['length']-0x1]+=_0xb300e9,_0xa25c56;}function O(_0x491af0,_0x4f687d){return _0x491af0['root']===_0x4f687d['root']&&_0x480117(_0x491af0['path'],_0x4f687d['path']);}function $(_0x4ed1b6){P(_0x4ed1b6,_0x33e396=>('main'==_0x33e396['root']?(_0x33e396['rootMain']=!0x0,delete _0x33e396['root']):'$graveyard'==_0x33e396['root']&&(_0x33e396['rootGraveyard']=!0x0,delete _0x33e396['root']),_0x33e396));}function J(_0x10fe84){P(_0x10fe84,_0xa23a0=>(_0xa23a0['rootMain']?(_0xa23a0['root']='main',delete _0xa23a0['rootMain']):_0xa23a0['rootGraveyard']&&(_0xa23a0['root']='$graveyard',delete _0xa23a0['rootGraveyard']),_0xa23a0));}function P(_0x3f2deb,_0x42c79e){for(const _0x4e292b in _0x3f2deb){const _0x21dde8=_0x3f2deb[_0x4e292b];'nodes'!==_0x4e292b&&_0x52b92a(_0x21dde8)&&(_0x21dde8['path']&&(_0x21dde8['root']||_0x21dde8['rootMain']||_0x21dde8['rootGraveyard'])?_0x3f2deb[_0x4e292b]=_0x42c79e(_0x21dde8):P(_0x21dde8,_0x42c79e));}return _0x3f2deb;}class e{['compress'](_0x496992,_0x4118ed){const _0x2b11fb=_0x4118ed['shift']();return $(_0x2b11fb),_0x496992['buffers']['push'](this['_protobufDescriptor']['compress'](_0x2b11fb)),_0x496992['types']['push'](this['_id']),!0x0;}['decompress'](_0x52cd61,_0x53e72b){_0x53e72b['types']['shift']();const _0x36034a=this['_protobufDescriptor']['decompress'](_0x53e72b['buffers']['shift']());J(_0x36034a),_0x36034a['__className']=this['_operationName'],_0x52cd61['push'](_0x36034a);}constructor(_0x52985c,_0x499008,_0x36b394){this['_id']=_0x52985c,this['_operationName']=_0x499008,this['_protobufDescriptor']=_0x36b394;}}class s extends e{['compress'](_0x483d59,_0x5a9c72){const _0x3dd34c=_0x5a9c72['shift']();return this['_serializeOneOf']('oldValue',_0x3dd34c),this['_serializeOneOf']('newValue',_0x3dd34c),$(_0x3dd34c),_0x483d59['buffers']['push'](this['_protobufDescriptor']['compress'](_0x3dd34c)),_0x483d59['types']['push'](this['_id']),!0x0;}['decompress'](_0x14fdf7,_0x2c2ce0){const {types:_0x301831,buffers:_0x27fb17}=_0x2c2ce0,_0x4e8b75=this['_protobufDescriptor']['decompress'](_0x27fb17['shift']());_0x301831['shift'](),this['_deserializeOneOf']('oldValue',_0x4e8b75),this['_deserializeOneOf']('newValue',_0x4e8b75),J(_0x4e8b75),_0x4e8b75['__className']=this['_operationName'],_0x14fdf7['push'](_0x4e8b75);}['_serializeOneOf'](_0x48fbc5,_0x1d4819){const _0x35e44f=_0x1d4819[_0x48fbc5];'boolean'==typeof _0x35e44f?_0x1d4819[_0x48fbc5+'Boolean']=_0x35e44f:_0x1d4819[_0x48fbc5+'Json']=JSON['stringify'](_0x35e44f);}['_deserializeOneOf'](_0x2fee7f,_0x5c977b){const _0x5a1356=_0x2fee7f+'Json';_0x5c977b[_0x5a1356]?(_0x5c977b[_0x2fee7f]=JSON['parse'](_0x5c977b[_0x5a1356]),delete _0x5c977b[_0x5a1356]):(_0x5c977b[_0x2fee7f]=_0x5c977b[_0x2fee7f+'Boolean'],delete _0x5c977b[_0x2fee7f+'Boolean']);}}class i extends e{['compress'](_0x42b749,_0x2eafa8){const _0x5e3e63=_0x2eafa8['shift']();return this['_serializeNodesAttributes'](_0x5e3e63['nodes']),$(_0x5e3e63),_0x42b749['buffers']['push'](this['_protobufDescriptor']['compress'](_0x5e3e63)),_0x42b749['types']['push'](this['_id']),!0x0;}['decompress'](_0x58e745,_0x5edf1d){const {types:_0x493b9f,buffers:_0x5a4d1c}=_0x5edf1d,_0x2bab8d=this['_protobufDescriptor']['decompress'](_0x5a4d1c['shift']());_0x493b9f['shift'](),_0x2bab8d['nodes']||(_0x2bab8d['nodes']=[]),this['_deserializeNodesAttributes'](_0x2bab8d['nodes']),J(_0x2bab8d),_0x2bab8d['__className']=this['_operationName'],_0x58e745['push'](_0x2bab8d);}['_serializeNodesAttributes'](_0x24cda5){for(const _0x5045f6 of _0x24cda5){if(_0x5045f6['attributes']){const _0x15815b=_0x5045f6['attributes'];this['_areValuesBoolean'](_0x15815b)?_0x5045f6['attributesBoolean']=_0x15815b:_0x5045f6['attributesJson']=JSON['stringify'](_0x15815b);}_0x5045f6['children']&&this['_serializeNodesAttributes'](_0x5045f6['children']);}}['_deserializeNodesAttributes'](_0x4786e1){for(const _0x312783 of _0x4786e1)(_0x312783['attributesBoolean']||_0x312783['attributesJson'])&&(_0x312783['attributesBoolean']?(_0x312783['attributes']=_0x312783['attributesBoolean'],delete _0x312783['attributesBoolean']):(_0x312783['attributes']=JSON['parse'](_0x312783['attributesJson']),delete _0x312783['attributesJson'])),_0x312783['children']&&this['_deserializeNodesAttributes'](_0x312783['children']);}['_areValuesBoolean'](_0x5c1db7){return Object['keys'](_0x5c1db7)['every'](_0x26fd2e=>'boolean'==typeof _0x5c1db7[_0x26fd2e]);}}class n extends e{['decompress'](_0x32fdc6,_0x298612){super['decompress'](_0x32fdc6,_0x298612);const _0x135e43=_0x32fdc6[_0x32fdc6['length']-0x1];_0x135e43['oldRange']||(_0x135e43['oldRange']=null),_0x135e43['newRange']||(_0x135e43['newRange']=null);}}class p extends e{['compress'](_0x1819f4,_0x40f8b0){return _0x40f8b0['shift'](),_0x1819f4['types']['push'](this['_id']),!0x0;}['decompress'](_0x4e12d4,_0x3bd00e){_0x3bd00e['types']['shift'](),_0x4e12d4['push']({'__className':this['_operationName']});}}class a extends n{['compress'](_0x489d5c,_0x322466){return!('MarkerOperation'!=_0x322466[0x0]['__className']||!_0x322466[0x0]['name']['startsWith'](this['_omittedNamespace']))&&(_0x322466[0x0]['name']=_0x322466[0x0]['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x489d5c,_0x322466),!0x0);}['decompress'](_0x3a6d7f,_0x240f71){super['decompress'](_0x3a6d7f,_0x240f71);const _0xbe5253=_0x3a6d7f[_0x3a6d7f['length']-0x1];_0xbe5253['name']=this['_omittedNamespace']+_0xbe5253['name'];}constructor(_0x158eda,_0x5e14f1,_0x1550cb,_0xe48439){super(_0x158eda,_0x5e14f1,_0x1550cb),this['_omittedNamespace']=_0xe48439+':';}}class b{['compress'](_0x4a7650,_0x102ac5){let _0x8a6648;for(;_0x102ac5['length']>0x1&&this['_compareOperations'](_0x102ac5[0x0],_0x102ac5[0x1]);)_0x8a6648?(_0x8a6648=this['_combineNext'](_0x102ac5['shift'](),_0x8a6648),_0x4a7650['types']['push'](0x0)):(_0x8a6648=_0x2a0a8e(_0x102ac5['shift']()),_0x4a7650['types']['push'](this['_id']));return!!_0x8a6648&&(_0x8a6648=this['_combineNext'](_0x102ac5['shift'](),_0x8a6648),_0x4a7650['types']['push'](0x0),_0x4a7650['buffers']['push'](this['_compressSingleOperation'](_0x8a6648)),!0x0);}['decompress'](_0x195229,_0x392973){const _0x1dd74b=this['_decompressSingleOperation'](_0x392973);for(;0x0==_0x392973['types'][0x0];)_0x392973['types']['shift'](),_0x195229['push'](this['_splitCurrent'](_0x1dd74b));_0x195229['push'](_0x1dd74b);}constructor(_0x214e46,_0x595580){this['_id']=_0x214e46,this['_context']=_0x595580;}}class m extends b{['_combineNext'](_0x4ae1b0,_0x35c6bb){return _0x35c6bb['nodes'][0x0]['data']+=_0x4ae1b0['nodes'][0x0]['data'],_0x35c6bb;}['_splitCurrent'](_0x14a271){const _0x1669c3=_0x2a0a8e(_0x14a271),_0x47bc21=_0x1669c3['nodes'][0x0],_0x486737=_0x14a271['nodes'][0x0],_0x173f9c=_0x486737['data'][Symbol['iterator']]()['next']()['value'],_0x468ca2=_0x173f9c['length'];return _0x47bc21['data']=_0x173f9c,_0x486737['data']=_0x486737['data']['substr'](_0x468ca2),_0x14a271['position']=_(_0x14a271['position'],_0x468ca2),_0x1669c3;}['_compareOperations'](_0x35e016,_0x196434){if(this['_checkOperation'](_0x35e016)&&this['_checkOperation'](_0x196434)){const _0x316bf2=_0x35e016['nodes'][0x0]['data']['length'],_0x47d1b2=O(_(_0x35e016['position'],_0x316bf2),_0x196434['position']),_0x1f72b0=_0x35e016['nodes'][0x0],_0x2f6d53=_0x196434['nodes'][0x0];return _0x47d1b2&&this['_compareAttributes'](_0x1f72b0,_0x2f6d53);}return!0x1;}['_compressSingleOperation'](_0x5f14ca){const _0x5b84ad={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x5b84ad,[_0x5f14ca]),_0x5b84ad['buffers'][0x0];}['_decompressSingleOperation'](_0x1fe48f){const _0x46924b=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x46924b,_0x1fe48f),_0x46924b[0x0];}['_checkOperation'](_0x3cbf73){return'InsertOperation'==_0x3cbf73['__className']&&0x1==_0x3cbf73['nodes']['length']&&_0x3cbf73['nodes'][0x0]['data']&&!_0x3cbf73['wasUndone']&&0x1==Array['from'](_0x3cbf73['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x2e0c12,_0x190768){const _0x419394=Object['keys'](_0x2e0c12['attributes']||{}),_0x182084=Object['keys'](_0x190768['attributes']||{});return _0x419394['length']===_0x182084['length']&&_0x419394['every'](_0x335a2d=>_0x190768['attributes'][_0x335a2d]&&_0x190768['attributes'][_0x335a2d]===_0x2e0c12['attributes'][_0x335a2d]);}}class c extends b{['_combineNext'](_0x41c3a5,_0x5def70){return _0x5def70['howMany']++,_0x5def70['sourcePosition']=_0x2a0a8e(_0x41c3a5['sourcePosition']),_0x5def70;}['_splitCurrent'](_0x5db96b){const _0x15ffc0=_0x2a0a8e(_0x5db96b);return _0x5db96b['howMany']--,_0x15ffc0['howMany']=0x1,_0x15ffc0['sourcePosition']=_(_0x15ffc0['sourcePosition'],_0x5db96b['howMany']),_0x15ffc0;}['_compareOperations'](_0x4b83ea,_0x83b065){return!(!this['_checkOperation'](_0x4b83ea)||!this['_checkOperation'](_0x83b065))&&(O(_(_0x4b83ea['sourcePosition'],-0x1),_0x83b065['sourcePosition'])&&O(_0x4b83ea['targetPosition'],_0x83b065['targetPosition']));}['_compressSingleOperation'](_0x21024f){const _0x4a5fbd={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x4a5fbd,[_0x21024f]),_0x4a5fbd['buffers'][0x0];}['_decompressSingleOperation'](_0x4cbf38){const _0x29a20a=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x29a20a,_0x4cbf38),_0x29a20a[0x0];}['_checkOperation'](_0x3f29a7){return'MoveOperation'==_0x3f29a7['__className']&&'$graveyard'==_0x3f29a7['targetPosition']['root']&&0x1==_0x3f29a7['howMany']&&!_0x3f29a7['wasUndone'];}}class h extends b{['_combineNext'](_0x25db84,_0xb857cd){return _0xb857cd['howMany']++,_0xb857cd;}['_splitCurrent'](_0x51751e){const _0x4d3915=_0x2a0a8e(_0x51751e);return _0x4d3915['howMany']=0x1,_0x51751e['howMany']--,_0x4d3915;}['_compareOperations'](_0x4e487b,_0x3d764a){return!(!this['_checkOperation'](_0x4e487b)||!this['_checkOperation'](_0x3d764a))&&(O(_0x4e487b['sourcePosition'],_0x3d764a['sourcePosition'])&&O(_0x4e487b['targetPosition'],_0x3d764a['targetPosition']));}['_compressSingleOperation'](_0x293ba9){const _0x38a0de={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x38a0de,[_0x293ba9]),_0x38a0de['buffers'][0x0];}['_decompressSingleOperation'](_0x275225){const _0x4e1744=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x4e1744,_0x275225),_0x4e1744[0x0];}['_checkOperation'](_0xe34074){return'MoveOperation'==_0xe34074['__className']&&'$graveyard'==_0xe34074['targetPosition']['root']&&0x1==_0xe34074['howMany']&&!_0xe34074['wasUndone'];}}class f extends b{['compress'](_0x223fa1,_0x253e11){if(!this['_compareOperations'](_0x253e11[0x0],_0x253e11[0x1]))return!0x1;const _0x177ed0=_0x253e11['shift']();return _0x177ed0['oldRange']=null,_0x177ed0['newRange']&&O(_0x177ed0['newRange']['start'],_0x177ed0['newRange']['end'])&&(_0x177ed0['newRange']['end']=null),_0x253e11['shift'](),_0x223fa1['types']['push'](this['_id']),_0x223fa1['types']['push'](0x0),_0x223fa1['buffers']['push'](this['_compressSingleOperation'](_0x177ed0)),!0x0;}['decompress'](_0x4f5d0b,_0x24f81a){const _0x40944f=this['_decompressSingleOperation'](_0x24f81a);_0x40944f['newRange']&&!_0x40944f['newRange']['end']&&(_0x40944f['newRange']['end']=_0x2a0a8e(_0x40944f['newRange']['start']));const _0x126ba9=_0x2a0a8e(_0x40944f);_0x126ba9['newRange']&&(_0x126ba9['newRange']['start']['stickiness']='toNone',_0x126ba9['newRange']['end']=_0x2a0a8e(_0x126ba9['newRange']['start'])),_0x126ba9['name']='user:position:'+_0x126ba9['name']['split'](':')[0x2],_0x24f81a['types']['shift'](),_0x4f5d0b['push'](_0x40944f),_0x4f5d0b['push'](_0x126ba9);}['_compressSingleOperation'](_0x22c6eb){const _0x2afd59={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x2afd59,[_0x22c6eb]),_0x2afd59['buffers'][0x0];}['_decompressSingleOperation'](_0x3d365e){const _0x27d605=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x27d605,_0x3d365e),_0x27d605[0x0];}['_compareOperations'](_0x45d13e,_0x1d04f6){return!(!_0x45d13e||!_0x1d04f6)&&('MarkerOperation'==_0x45d13e['__className']&&'MarkerOperation'==_0x1d04f6['__className']&&!(!_0x45d13e['name']['startsWith']('user:')||!_0x1d04f6['name']['startsWith']('user:')||_0x45d13e['name']==_0x1d04f6['name']));}}class g{['compress'](_0x549d6a){if(!_0x549d6a||!_0x549d6a[0x0])throw new _0x256cac('no-operations-provided',this);const _0x5d9796={'types':[],'buffers':[],'baseVersion':_0x549d6a[0x0]['baseVersion']};for(;_0x549d6a['length'];)this['_getCompressorByName']('UserSelectionAction')['compress'](_0x5d9796,_0x549d6a)||this['_getCompressorByName']('TypingAction')['compress'](_0x5d9796,_0x549d6a)||this['_getCompressorByName']('DeletingAction')['compress'](_0x5d9796,_0x549d6a)||this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x5d9796,_0x549d6a)||this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x5d9796,_0x549d6a)||this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x5d9796,_0x549d6a)||this['_getCompressorByName'](_0x549d6a[0x0]['__className'])['compress'](_0x5d9796,_0x549d6a);return _0x5d9796;}['decompress'](_0x33148c){const _0x1d4f81=[];for(;_0x33148c['types']['length'];){this['_compressorById']['get'](_0x33148c['types'][0x0])['decompress'](_0x1d4f81,_0x33148c);}return _0x1d4f81['forEach']((_0x44d7ff,_0x12bdad)=>_0x44d7ff['baseVersion']=_0x33148c['baseVersion']+_0x12bdad),_0x1d4f81;}['_getCompressorByName'](_0xe6ac68){return this['_compressorByName']['get'](_0xe6ac68);}['_registerOperationCompressor'](_0x4963f4,_0x3109b4,_0x59d30f){const _0x5ecdd9=new _0x59d30f(_0x4963f4,_0x3109b4,this['_protobufFactory']['getDescriptor'](_0x3109b4));this['_registerCompressor'](_0x4963f4,_0x3109b4,_0x5ecdd9);}['_registerActionCompressor'](_0x42003b,_0x266410,_0x9b1a40){const _0x772204=new _0x9b1a40(_0x42003b,this);this['_registerCompressor'](_0x42003b,_0x266410,_0x772204);}['_registerCompressor'](_0x276c59,_0x87a433,_0x237c16){this['_compressorById']['set'](_0x276c59,_0x237c16),this['_compressorByName']['set'](_0x87a433,_0x237c16);}constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new r();const _0x392b39=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',_0x392b39,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new a(0x13,'MarkerOperation',_0x392b39,'suggestion')),this['_registerOperationCompressor'](0x14,'RootOperation',e),this['_registerActionCompressor'](0x64,'TypingAction',m),this['_registerActionCompressor'](0x65,'DeletingAction',c),this['_registerActionCompressor'](0x66,'ForwardDeletingAction',h),this['_registerActionCompressor'](0x67,'UserSelectionAction',f);}}export{g as Compressor};
|
|
23
|
+
import{CKEditorError as _0x3a8a44}from'@ckeditor/ckeditor5-utils/dist/index.js';import _0x48d0be from'protobufjs/minimal.js';import{cloneDeep as _0x5b4797,isEqual as _0x5e231c,isObject as _0x3a5d5d}from'lodash-es';const u=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>{var _0x14589a=_0x48d0be['Reader'],_0x1fa1d3=_0x48d0be['Writer'],_0x44a02f=_0x48d0be['util'],_0x3d5d02=_0x48d0be['roots']['default']||(_0x48d0be['roots']['default']={});return _0x3d5d02['AttributeOperation']=(function(){function _0x171ab0(_0x388b61){if(_0x388b61){for(var _0x10c195=Object['keys'](_0x388b61),_0x3a6fc5=0x0;_0x3a6fc5<_0x10c195['length'];++_0x3a6fc5)null!=_0x388b61[_0x10c195[_0x3a6fc5]]&&(this[_0x10c195[_0x3a6fc5]]=_0x388b61[_0x10c195[_0x3a6fc5]]);}}return _0x171ab0['prototype']['range']=null,_0x171ab0['prototype']['key']='',_0x171ab0['prototype']['oldValueBoolean']=!0x1,_0x171ab0['prototype']['oldValueJson']='',_0x171ab0['prototype']['newValueBoolean']=!0x1,_0x171ab0['prototype']['newValueJson']='',_0x171ab0['prototype']['wasUndone']=!0x1,_0x171ab0['create']=function(_0x1df2c3){return new _0x171ab0(_0x1df2c3);},_0x171ab0['encode']=function(_0x1d426c,_0x519d28){return _0x519d28||(_0x519d28=_0x1fa1d3['create']()),null!=_0x1d426c['range']&&Object['hasOwnProperty']['call'](_0x1d426c,'range')&&_0x3d5d02['Range']['encode'](_0x1d426c['range'],_0x519d28['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1d426c['key']&&Object['hasOwnProperty']['call'](_0x1d426c,'key')&&_0x519d28['uint32'](0x12)['string'](_0x1d426c['key']),null!=_0x1d426c['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x1d426c,'oldValueBoolean')&&_0x519d28['uint32'](0x18)['bool'](_0x1d426c['oldValueBoolean']),null!=_0x1d426c['oldValueJson']&&Object['hasOwnProperty']['call'](_0x1d426c,'oldValueJson')&&_0x519d28['uint32'](0x22)['string'](_0x1d426c['oldValueJson']),null!=_0x1d426c['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x1d426c,'newValueBoolean')&&_0x519d28['uint32'](0x28)['bool'](_0x1d426c['newValueBoolean']),null!=_0x1d426c['newValueJson']&&Object['hasOwnProperty']['call'](_0x1d426c,'newValueJson')&&_0x519d28['uint32'](0x32)['string'](_0x1d426c['newValueJson']),null!=_0x1d426c['wasUndone']&&Object['hasOwnProperty']['call'](_0x1d426c,'wasUndone')&&_0x519d28['uint32'](0x38)['bool'](_0x1d426c['wasUndone']),_0x519d28;},_0x171ab0['encodeDelimited']=function(_0x1872b4,_0x5613b6){return this['encode'](_0x1872b4,_0x5613b6)['ldelim']();},_0x171ab0['decode']=function(_0x2bcbd4,_0xc01319){_0x2bcbd4 instanceof _0x14589a||(_0x2bcbd4=_0x14589a['create'](_0x2bcbd4));for(var _0x5c4421=void 0x0===_0xc01319?_0x2bcbd4['len']:_0x2bcbd4['pos']+_0xc01319,_0x36e5d2=new _0x3d5d02['AttributeOperation']();_0x2bcbd4['pos']<_0x5c4421;){var _0x19d1f7=_0x2bcbd4['uint32']();switch(_0x19d1f7>>>0x3){case 0x1:_0x36e5d2['range']=_0x3d5d02['Range']['decode'](_0x2bcbd4,_0x2bcbd4['uint32']());break;case 0x2:_0x36e5d2['key']=_0x2bcbd4['string']();break;case 0x3:_0x36e5d2['oldValueBoolean']=_0x2bcbd4['bool']();break;case 0x4:_0x36e5d2['oldValueJson']=_0x2bcbd4['string']();break;case 0x5:_0x36e5d2['newValueBoolean']=_0x2bcbd4['bool']();break;case 0x6:_0x36e5d2['newValueJson']=_0x2bcbd4['string']();break;case 0x7:_0x36e5d2['wasUndone']=_0x2bcbd4['bool']();break;default:_0x2bcbd4['skipType'](0x7&_0x19d1f7);}}return _0x36e5d2;},_0x171ab0['decodeDelimited']=function(_0x4fc435){return _0x4fc435 instanceof _0x14589a||(_0x4fc435=new _0x14589a(_0x4fc435)),this['decode'](_0x4fc435,_0x4fc435['uint32']());},_0x171ab0['verify']=function(_0x161bef){if('object'!=typeof _0x161bef||null===_0x161bef)return'object\x20expected';if(null!=_0x161bef['range']&&_0x161bef['hasOwnProperty']('range')){var _0x4bc37e=_0x3d5d02['Range']['verify'](_0x161bef['range']);if(_0x4bc37e)return'range.'+_0x4bc37e;}return null!=_0x161bef['key']&&_0x161bef['hasOwnProperty']('key')&&!_0x44a02f['isString'](_0x161bef['key'])?'key:\x20string\x20expected':null!=_0x161bef['oldValueBoolean']&&_0x161bef['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x161bef['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x161bef['oldValueJson']&&_0x161bef['hasOwnProperty']('oldValueJson')&&!_0x44a02f['isString'](_0x161bef['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x161bef['newValueBoolean']&&_0x161bef['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x161bef['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x161bef['newValueJson']&&_0x161bef['hasOwnProperty']('newValueJson')&&!_0x44a02f['isString'](_0x161bef['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x161bef['wasUndone']&&_0x161bef['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x161bef['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x171ab0['fromObject']=function(_0x402900){if(_0x402900 instanceof _0x3d5d02['AttributeOperation'])return _0x402900;var _0x1b849c=new _0x3d5d02['AttributeOperation']();if(null!=_0x402900['range']){if('object'!=typeof _0x402900['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x1b849c['range']=_0x3d5d02['Range']['fromObject'](_0x402900['range']);}return null!=_0x402900['key']&&(_0x1b849c['key']=String(_0x402900['key'])),null!=_0x402900['oldValueBoolean']&&(_0x1b849c['oldValueBoolean']=Boolean(_0x402900['oldValueBoolean'])),null!=_0x402900['oldValueJson']&&(_0x1b849c['oldValueJson']=String(_0x402900['oldValueJson'])),null!=_0x402900['newValueBoolean']&&(_0x1b849c['newValueBoolean']=Boolean(_0x402900['newValueBoolean'])),null!=_0x402900['newValueJson']&&(_0x1b849c['newValueJson']=String(_0x402900['newValueJson'])),null!=_0x402900['wasUndone']&&(_0x1b849c['wasUndone']=Boolean(_0x402900['wasUndone'])),_0x1b849c;},_0x171ab0['toObject']=function(_0x347091,_0x984be6){_0x984be6||(_0x984be6={});var _0x4be433={};return _0x984be6['defaults']&&(_0x4be433['range']=null,_0x4be433['key']='',_0x4be433['oldValueBoolean']=!0x1,_0x4be433['oldValueJson']='',_0x4be433['newValueBoolean']=!0x1,_0x4be433['newValueJson']='',_0x4be433['wasUndone']=!0x1),null!=_0x347091['range']&&_0x347091['hasOwnProperty']('range')&&(_0x4be433['range']=_0x3d5d02['Range']['toObject'](_0x347091['range'],_0x984be6)),null!=_0x347091['key']&&_0x347091['hasOwnProperty']('key')&&(_0x4be433['key']=_0x347091['key']),null!=_0x347091['oldValueBoolean']&&_0x347091['hasOwnProperty']('oldValueBoolean')&&(_0x4be433['oldValueBoolean']=_0x347091['oldValueBoolean']),null!=_0x347091['oldValueJson']&&_0x347091['hasOwnProperty']('oldValueJson')&&(_0x4be433['oldValueJson']=_0x347091['oldValueJson']),null!=_0x347091['newValueBoolean']&&_0x347091['hasOwnProperty']('newValueBoolean')&&(_0x4be433['newValueBoolean']=_0x347091['newValueBoolean']),null!=_0x347091['newValueJson']&&_0x347091['hasOwnProperty']('newValueJson')&&(_0x4be433['newValueJson']=_0x347091['newValueJson']),null!=_0x347091['wasUndone']&&_0x347091['hasOwnProperty']('wasUndone')&&(_0x4be433['wasUndone']=_0x347091['wasUndone']),_0x4be433;},_0x171ab0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0x171ab0['getTypeUrl']=function(_0x1405be){return void 0x0===_0x1405be&&(_0x1405be='type.googleapis.com'),_0x1405be+'/AttributeOperation';},_0x171ab0;}()),_0x3d5d02['InsertOperation']=(function(){function _0x3229e7(_0x18559b){if(this['nodes']=[],_0x18559b){for(var _0x50c83a=Object['keys'](_0x18559b),_0x5c2a7e=0x0;_0x5c2a7e<_0x50c83a['length'];++_0x5c2a7e)null!=_0x18559b[_0x50c83a[_0x5c2a7e]]&&(this[_0x50c83a[_0x5c2a7e]]=_0x18559b[_0x50c83a[_0x5c2a7e]]);}}return _0x3229e7['prototype']['position']=null,_0x3229e7['prototype']['nodes']=_0x44a02f['emptyArray'],_0x3229e7['prototype']['shouldReceiveAttributes']=!0x1,_0x3229e7['prototype']['wasUndone']=!0x1,_0x3229e7['create']=function(_0x4b43c9){return new _0x3229e7(_0x4b43c9);},_0x3229e7['encode']=function(_0x736400,_0x2cb0b9){if(_0x2cb0b9||(_0x2cb0b9=_0x1fa1d3['create']()),null!=_0x736400['position']&&Object['hasOwnProperty']['call'](_0x736400,'position')&&_0x3d5d02['Position']['encode'](_0x736400['position'],_0x2cb0b9['uint32'](0xa)['fork']())['ldelim'](),null!=_0x736400['nodes']&&_0x736400['nodes']['length']){for(var _0x44da3a=0x0;_0x44da3a<_0x736400['nodes']['length'];++_0x44da3a)_0x3d5d02['Element']['encode'](_0x736400['nodes'][_0x44da3a],_0x2cb0b9['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x736400['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x736400,'shouldReceiveAttributes')&&_0x2cb0b9['uint32'](0x18)['bool'](_0x736400['shouldReceiveAttributes']),null!=_0x736400['wasUndone']&&Object['hasOwnProperty']['call'](_0x736400,'wasUndone')&&_0x2cb0b9['uint32'](0x20)['bool'](_0x736400['wasUndone']),_0x2cb0b9;},_0x3229e7['encodeDelimited']=function(_0x3aa3e1,_0x3835a5){return this['encode'](_0x3aa3e1,_0x3835a5)['ldelim']();},_0x3229e7['decode']=function(_0x20b539,_0x54cece){_0x20b539 instanceof _0x14589a||(_0x20b539=_0x14589a['create'](_0x20b539));for(var _0x12df17=void 0x0===_0x54cece?_0x20b539['len']:_0x20b539['pos']+_0x54cece,_0x43221f=new _0x3d5d02['InsertOperation']();_0x20b539['pos']<_0x12df17;){var _0x4950db=_0x20b539['uint32']();switch(_0x4950db>>>0x3){case 0x1:_0x43221f['position']=_0x3d5d02['Position']['decode'](_0x20b539,_0x20b539['uint32']());break;case 0x2:_0x43221f['nodes']&&_0x43221f['nodes']['length']||(_0x43221f['nodes']=[]),_0x43221f['nodes']['push'](_0x3d5d02['Element']['decode'](_0x20b539,_0x20b539['uint32']()));break;case 0x3:_0x43221f['shouldReceiveAttributes']=_0x20b539['bool']();break;case 0x4:_0x43221f['wasUndone']=_0x20b539['bool']();break;default:_0x20b539['skipType'](0x7&_0x4950db);}}return _0x43221f;},_0x3229e7['decodeDelimited']=function(_0x38e504){return _0x38e504 instanceof _0x14589a||(_0x38e504=new _0x14589a(_0x38e504)),this['decode'](_0x38e504,_0x38e504['uint32']());},_0x3229e7['verify']=function(_0x5b3384){if('object'!=typeof _0x5b3384||null===_0x5b3384)return'object\x20expected';if(null!=_0x5b3384['position']&&_0x5b3384['hasOwnProperty']('position')&&(_0x4aee42=_0x3d5d02['Position']['verify'](_0x5b3384['position'])))return'position.'+_0x4aee42;if(null!=_0x5b3384['nodes']&&_0x5b3384['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x5b3384['nodes']))return'nodes:\x20array\x20expected';for(var _0x77d629=0x0;_0x77d629<_0x5b3384['nodes']['length'];++_0x77d629){var _0x4aee42;if(_0x4aee42=_0x3d5d02['Element']['verify'](_0x5b3384['nodes'][_0x77d629]))return'nodes.'+_0x4aee42;}}return null!=_0x5b3384['shouldReceiveAttributes']&&_0x5b3384['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x5b3384['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x5b3384['wasUndone']&&_0x5b3384['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5b3384['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x3229e7['fromObject']=function(_0x1530d1){if(_0x1530d1 instanceof _0x3d5d02['InsertOperation'])return _0x1530d1;var _0x529520=new _0x3d5d02['InsertOperation']();if(null!=_0x1530d1['position']){if('object'!=typeof _0x1530d1['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x529520['position']=_0x3d5d02['Position']['fromObject'](_0x1530d1['position']);}if(_0x1530d1['nodes']){if(!Array['isArray'](_0x1530d1['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x529520['nodes']=[];for(var _0xd8b568=0x0;_0xd8b568<_0x1530d1['nodes']['length'];++_0xd8b568){if('object'!=typeof _0x1530d1['nodes'][_0xd8b568])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x529520['nodes'][_0xd8b568]=_0x3d5d02['Element']['fromObject'](_0x1530d1['nodes'][_0xd8b568]);}}return null!=_0x1530d1['shouldReceiveAttributes']&&(_0x529520['shouldReceiveAttributes']=Boolean(_0x1530d1['shouldReceiveAttributes'])),null!=_0x1530d1['wasUndone']&&(_0x529520['wasUndone']=Boolean(_0x1530d1['wasUndone'])),_0x529520;},_0x3229e7['toObject']=function(_0x1bcdf0,_0x53001f){_0x53001f||(_0x53001f={});var _0x3d8ff2={};if((_0x53001f['arrays']||_0x53001f['defaults'])&&(_0x3d8ff2['nodes']=[]),_0x53001f['defaults']&&(_0x3d8ff2['position']=null,_0x3d8ff2['shouldReceiveAttributes']=!0x1,_0x3d8ff2['wasUndone']=!0x1),null!=_0x1bcdf0['position']&&_0x1bcdf0['hasOwnProperty']('position')&&(_0x3d8ff2['position']=_0x3d5d02['Position']['toObject'](_0x1bcdf0['position'],_0x53001f)),_0x1bcdf0['nodes']&&_0x1bcdf0['nodes']['length']){_0x3d8ff2['nodes']=[];for(var _0x10ce57=0x0;_0x10ce57<_0x1bcdf0['nodes']['length'];++_0x10ce57)_0x3d8ff2['nodes'][_0x10ce57]=_0x3d5d02['Element']['toObject'](_0x1bcdf0['nodes'][_0x10ce57],_0x53001f);}return null!=_0x1bcdf0['shouldReceiveAttributes']&&_0x1bcdf0['hasOwnProperty']('shouldReceiveAttributes')&&(_0x3d8ff2['shouldReceiveAttributes']=_0x1bcdf0['shouldReceiveAttributes']),null!=_0x1bcdf0['wasUndone']&&_0x1bcdf0['hasOwnProperty']('wasUndone')&&(_0x3d8ff2['wasUndone']=_0x1bcdf0['wasUndone']),_0x3d8ff2;},_0x3229e7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0x3229e7['getTypeUrl']=function(_0xc89680){return void 0x0===_0xc89680&&(_0xc89680='type.googleapis.com'),_0xc89680+'/InsertOperation';},_0x3229e7;}()),_0x3d5d02['MarkerOperation']=(function(){function _0x3e4a7e(_0x2f6aaa){if(_0x2f6aaa){for(var _0x44a90a=Object['keys'](_0x2f6aaa),_0x5830ba=0x0;_0x5830ba<_0x44a90a['length'];++_0x5830ba)null!=_0x2f6aaa[_0x44a90a[_0x5830ba]]&&(this[_0x44a90a[_0x5830ba]]=_0x2f6aaa[_0x44a90a[_0x5830ba]]);}}return _0x3e4a7e['prototype']['name']='',_0x3e4a7e['prototype']['oldRange']=null,_0x3e4a7e['prototype']['newRange']=null,_0x3e4a7e['prototype']['affectsData']=!0x1,_0x3e4a7e['prototype']['wasUndone']=!0x1,_0x3e4a7e['create']=function(_0x59451a){return new _0x3e4a7e(_0x59451a);},_0x3e4a7e['encode']=function(_0x2b2033,_0x219491){return _0x219491||(_0x219491=_0x1fa1d3['create']()),null!=_0x2b2033['name']&&Object['hasOwnProperty']['call'](_0x2b2033,'name')&&_0x219491['uint32'](0xa)['string'](_0x2b2033['name']),null!=_0x2b2033['oldRange']&&Object['hasOwnProperty']['call'](_0x2b2033,'oldRange')&&_0x3d5d02['Range']['encode'](_0x2b2033['oldRange'],_0x219491['uint32'](0x12)['fork']())['ldelim'](),null!=_0x2b2033['newRange']&&Object['hasOwnProperty']['call'](_0x2b2033,'newRange')&&_0x3d5d02['Range']['encode'](_0x2b2033['newRange'],_0x219491['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x2b2033['affectsData']&&Object['hasOwnProperty']['call'](_0x2b2033,'affectsData')&&_0x219491['uint32'](0x20)['bool'](_0x2b2033['affectsData']),null!=_0x2b2033['wasUndone']&&Object['hasOwnProperty']['call'](_0x2b2033,'wasUndone')&&_0x219491['uint32'](0x28)['bool'](_0x2b2033['wasUndone']),_0x219491;},_0x3e4a7e['encodeDelimited']=function(_0x29a241,_0x4c5776){return this['encode'](_0x29a241,_0x4c5776)['ldelim']();},_0x3e4a7e['decode']=function(_0xed3fdb,_0x3c2c26){_0xed3fdb instanceof _0x14589a||(_0xed3fdb=_0x14589a['create'](_0xed3fdb));for(var _0x20e27f=void 0x0===_0x3c2c26?_0xed3fdb['len']:_0xed3fdb['pos']+_0x3c2c26,_0x4a103b=new _0x3d5d02['MarkerOperation']();_0xed3fdb['pos']<_0x20e27f;){var _0x562617=_0xed3fdb['uint32']();switch(_0x562617>>>0x3){case 0x1:_0x4a103b['name']=_0xed3fdb['string']();break;case 0x2:_0x4a103b['oldRange']=_0x3d5d02['Range']['decode'](_0xed3fdb,_0xed3fdb['uint32']());break;case 0x3:_0x4a103b['newRange']=_0x3d5d02['Range']['decode'](_0xed3fdb,_0xed3fdb['uint32']());break;case 0x4:_0x4a103b['affectsData']=_0xed3fdb['bool']();break;case 0x5:_0x4a103b['wasUndone']=_0xed3fdb['bool']();break;default:_0xed3fdb['skipType'](0x7&_0x562617);}}return _0x4a103b;},_0x3e4a7e['decodeDelimited']=function(_0x335d70){return _0x335d70 instanceof _0x14589a||(_0x335d70=new _0x14589a(_0x335d70)),this['decode'](_0x335d70,_0x335d70['uint32']());},_0x3e4a7e['verify']=function(_0x5ac5f7){if('object'!=typeof _0x5ac5f7||null===_0x5ac5f7)return'object\x20expected';if(null!=_0x5ac5f7['name']&&_0x5ac5f7['hasOwnProperty']('name')&&!_0x44a02f['isString'](_0x5ac5f7['name']))return'name:\x20string\x20expected';var _0x36ac44;if(null!=_0x5ac5f7['oldRange']&&_0x5ac5f7['hasOwnProperty']('oldRange')&&(_0x36ac44=_0x3d5d02['Range']['verify'](_0x5ac5f7['oldRange'])))return'oldRange.'+_0x36ac44;if(null!=_0x5ac5f7['newRange']&&_0x5ac5f7['hasOwnProperty']('newRange')&&(_0x36ac44=_0x3d5d02['Range']['verify'](_0x5ac5f7['newRange'])))return'newRange.'+_0x36ac44;return null!=_0x5ac5f7['affectsData']&&_0x5ac5f7['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x5ac5f7['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x5ac5f7['wasUndone']&&_0x5ac5f7['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5ac5f7['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x3e4a7e['fromObject']=function(_0x4d5b3d){if(_0x4d5b3d instanceof _0x3d5d02['MarkerOperation'])return _0x4d5b3d;var _0x295a72=new _0x3d5d02['MarkerOperation']();if(null!=_0x4d5b3d['name']&&(_0x295a72['name']=String(_0x4d5b3d['name'])),null!=_0x4d5b3d['oldRange']){if('object'!=typeof _0x4d5b3d['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x295a72['oldRange']=_0x3d5d02['Range']['fromObject'](_0x4d5b3d['oldRange']);}if(null!=_0x4d5b3d['newRange']){if('object'!=typeof _0x4d5b3d['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x295a72['newRange']=_0x3d5d02['Range']['fromObject'](_0x4d5b3d['newRange']);}return null!=_0x4d5b3d['affectsData']&&(_0x295a72['affectsData']=Boolean(_0x4d5b3d['affectsData'])),null!=_0x4d5b3d['wasUndone']&&(_0x295a72['wasUndone']=Boolean(_0x4d5b3d['wasUndone'])),_0x295a72;},_0x3e4a7e['toObject']=function(_0x5ba2de,_0x9da3fd){_0x9da3fd||(_0x9da3fd={});var _0x510a58={};return _0x9da3fd['defaults']&&(_0x510a58['name']='',_0x510a58['oldRange']=null,_0x510a58['newRange']=null,_0x510a58['affectsData']=!0x1,_0x510a58['wasUndone']=!0x1),null!=_0x5ba2de['name']&&_0x5ba2de['hasOwnProperty']('name')&&(_0x510a58['name']=_0x5ba2de['name']),null!=_0x5ba2de['oldRange']&&_0x5ba2de['hasOwnProperty']('oldRange')&&(_0x510a58['oldRange']=_0x3d5d02['Range']['toObject'](_0x5ba2de['oldRange'],_0x9da3fd)),null!=_0x5ba2de['newRange']&&_0x5ba2de['hasOwnProperty']('newRange')&&(_0x510a58['newRange']=_0x3d5d02['Range']['toObject'](_0x5ba2de['newRange'],_0x9da3fd)),null!=_0x5ba2de['affectsData']&&_0x5ba2de['hasOwnProperty']('affectsData')&&(_0x510a58['affectsData']=_0x5ba2de['affectsData']),null!=_0x5ba2de['wasUndone']&&_0x5ba2de['hasOwnProperty']('wasUndone')&&(_0x510a58['wasUndone']=_0x5ba2de['wasUndone']),_0x510a58;},_0x3e4a7e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0x3e4a7e['getTypeUrl']=function(_0x5e2b63){return void 0x0===_0x5e2b63&&(_0x5e2b63='type.googleapis.com'),_0x5e2b63+'/MarkerOperation';},_0x3e4a7e;}()),_0x3d5d02['MergeOperation']=(function(){function _0x150261(_0x1b1ed3){if(_0x1b1ed3){for(var _0x45719f=Object['keys'](_0x1b1ed3),_0x169a24=0x0;_0x169a24<_0x45719f['length'];++_0x169a24)null!=_0x1b1ed3[_0x45719f[_0x169a24]]&&(this[_0x45719f[_0x169a24]]=_0x1b1ed3[_0x45719f[_0x169a24]]);}}return _0x150261['prototype']['sourcePosition']=null,_0x150261['prototype']['targetPosition']=null,_0x150261['prototype']['graveyardPosition']=null,_0x150261['prototype']['howMany']=0x0,_0x150261['prototype']['wasUndone']=!0x1,_0x150261['create']=function(_0x2f6ad7){return new _0x150261(_0x2f6ad7);},_0x150261['encode']=function(_0x1a7d3b,_0x13d214){return _0x13d214||(_0x13d214=_0x1fa1d3['create']()),null!=_0x1a7d3b['sourcePosition']&&Object['hasOwnProperty']['call'](_0x1a7d3b,'sourcePosition')&&_0x3d5d02['Position']['encode'](_0x1a7d3b['sourcePosition'],_0x13d214['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1a7d3b['targetPosition']&&Object['hasOwnProperty']['call'](_0x1a7d3b,'targetPosition')&&_0x3d5d02['Position']['encode'](_0x1a7d3b['targetPosition'],_0x13d214['uint32'](0x12)['fork']())['ldelim'](),null!=_0x1a7d3b['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x1a7d3b,'graveyardPosition')&&_0x3d5d02['Position']['encode'](_0x1a7d3b['graveyardPosition'],_0x13d214['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x1a7d3b['howMany']&&Object['hasOwnProperty']['call'](_0x1a7d3b,'howMany')&&_0x13d214['uint32'](0x20)['uint32'](_0x1a7d3b['howMany']),null!=_0x1a7d3b['wasUndone']&&Object['hasOwnProperty']['call'](_0x1a7d3b,'wasUndone')&&_0x13d214['uint32'](0x28)['bool'](_0x1a7d3b['wasUndone']),_0x13d214;},_0x150261['encodeDelimited']=function(_0x550978,_0x53c468){return this['encode'](_0x550978,_0x53c468)['ldelim']();},_0x150261['decode']=function(_0x59267e,_0x56f02f){_0x59267e instanceof _0x14589a||(_0x59267e=_0x14589a['create'](_0x59267e));for(var _0x26008d=void 0x0===_0x56f02f?_0x59267e['len']:_0x59267e['pos']+_0x56f02f,_0x17aad1=new _0x3d5d02['MergeOperation']();_0x59267e['pos']<_0x26008d;){var _0x108121=_0x59267e['uint32']();switch(_0x108121>>>0x3){case 0x1:_0x17aad1['sourcePosition']=_0x3d5d02['Position']['decode'](_0x59267e,_0x59267e['uint32']());break;case 0x2:_0x17aad1['targetPosition']=_0x3d5d02['Position']['decode'](_0x59267e,_0x59267e['uint32']());break;case 0x3:_0x17aad1['graveyardPosition']=_0x3d5d02['Position']['decode'](_0x59267e,_0x59267e['uint32']());break;case 0x4:_0x17aad1['howMany']=_0x59267e['uint32']();break;case 0x5:_0x17aad1['wasUndone']=_0x59267e['bool']();break;default:_0x59267e['skipType'](0x7&_0x108121);}}return _0x17aad1;},_0x150261['decodeDelimited']=function(_0x559195){return _0x559195 instanceof _0x14589a||(_0x559195=new _0x14589a(_0x559195)),this['decode'](_0x559195,_0x559195['uint32']());},_0x150261['verify']=function(_0x5321bd){if('object'!=typeof _0x5321bd||null===_0x5321bd)return'object\x20expected';var _0xeab5e4;if(null!=_0x5321bd['sourcePosition']&&_0x5321bd['hasOwnProperty']('sourcePosition')&&(_0xeab5e4=_0x3d5d02['Position']['verify'](_0x5321bd['sourcePosition'])))return'sourcePosition.'+_0xeab5e4;if(null!=_0x5321bd['targetPosition']&&_0x5321bd['hasOwnProperty']('targetPosition')&&(_0xeab5e4=_0x3d5d02['Position']['verify'](_0x5321bd['targetPosition'])))return'targetPosition.'+_0xeab5e4;if(null!=_0x5321bd['graveyardPosition']&&_0x5321bd['hasOwnProperty']('graveyardPosition')&&(_0xeab5e4=_0x3d5d02['Position']['verify'](_0x5321bd['graveyardPosition'])))return'graveyardPosition.'+_0xeab5e4;return null!=_0x5321bd['howMany']&&_0x5321bd['hasOwnProperty']('howMany')&&!_0x44a02f['isInteger'](_0x5321bd['howMany'])?'howMany:\x20integer\x20expected':null!=_0x5321bd['wasUndone']&&_0x5321bd['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5321bd['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x150261['fromObject']=function(_0x46ce8a){if(_0x46ce8a instanceof _0x3d5d02['MergeOperation'])return _0x46ce8a;var _0x4929c4=new _0x3d5d02['MergeOperation']();if(null!=_0x46ce8a['sourcePosition']){if('object'!=typeof _0x46ce8a['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x4929c4['sourcePosition']=_0x3d5d02['Position']['fromObject'](_0x46ce8a['sourcePosition']);}if(null!=_0x46ce8a['targetPosition']){if('object'!=typeof _0x46ce8a['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x4929c4['targetPosition']=_0x3d5d02['Position']['fromObject'](_0x46ce8a['targetPosition']);}if(null!=_0x46ce8a['graveyardPosition']){if('object'!=typeof _0x46ce8a['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x4929c4['graveyardPosition']=_0x3d5d02['Position']['fromObject'](_0x46ce8a['graveyardPosition']);}return null!=_0x46ce8a['howMany']&&(_0x4929c4['howMany']=_0x46ce8a['howMany']>>>0x0),null!=_0x46ce8a['wasUndone']&&(_0x4929c4['wasUndone']=Boolean(_0x46ce8a['wasUndone'])),_0x4929c4;},_0x150261['toObject']=function(_0xdacf4a,_0x369ba0){_0x369ba0||(_0x369ba0={});var _0x1c53c0={};return _0x369ba0['defaults']&&(_0x1c53c0['sourcePosition']=null,_0x1c53c0['targetPosition']=null,_0x1c53c0['graveyardPosition']=null,_0x1c53c0['howMany']=0x0,_0x1c53c0['wasUndone']=!0x1),null!=_0xdacf4a['sourcePosition']&&_0xdacf4a['hasOwnProperty']('sourcePosition')&&(_0x1c53c0['sourcePosition']=_0x3d5d02['Position']['toObject'](_0xdacf4a['sourcePosition'],_0x369ba0)),null!=_0xdacf4a['targetPosition']&&_0xdacf4a['hasOwnProperty']('targetPosition')&&(_0x1c53c0['targetPosition']=_0x3d5d02['Position']['toObject'](_0xdacf4a['targetPosition'],_0x369ba0)),null!=_0xdacf4a['graveyardPosition']&&_0xdacf4a['hasOwnProperty']('graveyardPosition')&&(_0x1c53c0['graveyardPosition']=_0x3d5d02['Position']['toObject'](_0xdacf4a['graveyardPosition'],_0x369ba0)),null!=_0xdacf4a['howMany']&&_0xdacf4a['hasOwnProperty']('howMany')&&(_0x1c53c0['howMany']=_0xdacf4a['howMany']),null!=_0xdacf4a['wasUndone']&&_0xdacf4a['hasOwnProperty']('wasUndone')&&(_0x1c53c0['wasUndone']=_0xdacf4a['wasUndone']),_0x1c53c0;},_0x150261['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0x150261['getTypeUrl']=function(_0x168171){return void 0x0===_0x168171&&(_0x168171='type.googleapis.com'),_0x168171+'/MergeOperation';},_0x150261;}()),_0x3d5d02['MoveOperation']=(function(){function _0x1cee77(_0x33742d){if(_0x33742d){for(var _0x1a1539=Object['keys'](_0x33742d),_0x10126a=0x0;_0x10126a<_0x1a1539['length'];++_0x10126a)null!=_0x33742d[_0x1a1539[_0x10126a]]&&(this[_0x1a1539[_0x10126a]]=_0x33742d[_0x1a1539[_0x10126a]]);}}return _0x1cee77['prototype']['sourcePosition']=null,_0x1cee77['prototype']['howMany']=0x0,_0x1cee77['prototype']['targetPosition']=null,_0x1cee77['prototype']['wasUndone']=!0x1,_0x1cee77['create']=function(_0x4dd381){return new _0x1cee77(_0x4dd381);},_0x1cee77['encode']=function(_0x37008b,_0x1b910d){return _0x1b910d||(_0x1b910d=_0x1fa1d3['create']()),null!=_0x37008b['sourcePosition']&&Object['hasOwnProperty']['call'](_0x37008b,'sourcePosition')&&_0x3d5d02['Position']['encode'](_0x37008b['sourcePosition'],_0x1b910d['uint32'](0xa)['fork']())['ldelim'](),null!=_0x37008b['howMany']&&Object['hasOwnProperty']['call'](_0x37008b,'howMany')&&_0x1b910d['uint32'](0x10)['uint32'](_0x37008b['howMany']),null!=_0x37008b['targetPosition']&&Object['hasOwnProperty']['call'](_0x37008b,'targetPosition')&&_0x3d5d02['Position']['encode'](_0x37008b['targetPosition'],_0x1b910d['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x37008b['wasUndone']&&Object['hasOwnProperty']['call'](_0x37008b,'wasUndone')&&_0x1b910d['uint32'](0x20)['bool'](_0x37008b['wasUndone']),_0x1b910d;},_0x1cee77['encodeDelimited']=function(_0x37cd96,_0x4486d2){return this['encode'](_0x37cd96,_0x4486d2)['ldelim']();},_0x1cee77['decode']=function(_0xa2ff6a,_0x5878e0){_0xa2ff6a instanceof _0x14589a||(_0xa2ff6a=_0x14589a['create'](_0xa2ff6a));for(var _0x1ec156=void 0x0===_0x5878e0?_0xa2ff6a['len']:_0xa2ff6a['pos']+_0x5878e0,_0x59fc0d=new _0x3d5d02['MoveOperation']();_0xa2ff6a['pos']<_0x1ec156;){var _0x5bc00c=_0xa2ff6a['uint32']();switch(_0x5bc00c>>>0x3){case 0x1:_0x59fc0d['sourcePosition']=_0x3d5d02['Position']['decode'](_0xa2ff6a,_0xa2ff6a['uint32']());break;case 0x2:_0x59fc0d['howMany']=_0xa2ff6a['uint32']();break;case 0x3:_0x59fc0d['targetPosition']=_0x3d5d02['Position']['decode'](_0xa2ff6a,_0xa2ff6a['uint32']());break;case 0x4:_0x59fc0d['wasUndone']=_0xa2ff6a['bool']();break;default:_0xa2ff6a['skipType'](0x7&_0x5bc00c);}}return _0x59fc0d;},_0x1cee77['decodeDelimited']=function(_0xb0bad9){return _0xb0bad9 instanceof _0x14589a||(_0xb0bad9=new _0x14589a(_0xb0bad9)),this['decode'](_0xb0bad9,_0xb0bad9['uint32']());},_0x1cee77['verify']=function(_0xf25eb4){if('object'!=typeof _0xf25eb4||null===_0xf25eb4)return'object\x20expected';var _0x280cc0;if(null!=_0xf25eb4['sourcePosition']&&_0xf25eb4['hasOwnProperty']('sourcePosition')&&(_0x280cc0=_0x3d5d02['Position']['verify'](_0xf25eb4['sourcePosition'])))return'sourcePosition.'+_0x280cc0;if(null!=_0xf25eb4['howMany']&&_0xf25eb4['hasOwnProperty']('howMany')&&!_0x44a02f['isInteger'](_0xf25eb4['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0xf25eb4['targetPosition']&&_0xf25eb4['hasOwnProperty']('targetPosition')&&(_0x280cc0=_0x3d5d02['Position']['verify'](_0xf25eb4['targetPosition'])))return'targetPosition.'+_0x280cc0;return null!=_0xf25eb4['wasUndone']&&_0xf25eb4['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xf25eb4['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1cee77['fromObject']=function(_0x130561){if(_0x130561 instanceof _0x3d5d02['MoveOperation'])return _0x130561;var _0xda8432=new _0x3d5d02['MoveOperation']();if(null!=_0x130561['sourcePosition']){if('object'!=typeof _0x130561['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0xda8432['sourcePosition']=_0x3d5d02['Position']['fromObject'](_0x130561['sourcePosition']);}if(null!=_0x130561['howMany']&&(_0xda8432['howMany']=_0x130561['howMany']>>>0x0),null!=_0x130561['targetPosition']){if('object'!=typeof _0x130561['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0xda8432['targetPosition']=_0x3d5d02['Position']['fromObject'](_0x130561['targetPosition']);}return null!=_0x130561['wasUndone']&&(_0xda8432['wasUndone']=Boolean(_0x130561['wasUndone'])),_0xda8432;},_0x1cee77['toObject']=function(_0x46a1ce,_0x576698){_0x576698||(_0x576698={});var _0x2e9536={};return _0x576698['defaults']&&(_0x2e9536['sourcePosition']=null,_0x2e9536['howMany']=0x0,_0x2e9536['targetPosition']=null,_0x2e9536['wasUndone']=!0x1),null!=_0x46a1ce['sourcePosition']&&_0x46a1ce['hasOwnProperty']('sourcePosition')&&(_0x2e9536['sourcePosition']=_0x3d5d02['Position']['toObject'](_0x46a1ce['sourcePosition'],_0x576698)),null!=_0x46a1ce['howMany']&&_0x46a1ce['hasOwnProperty']('howMany')&&(_0x2e9536['howMany']=_0x46a1ce['howMany']),null!=_0x46a1ce['targetPosition']&&_0x46a1ce['hasOwnProperty']('targetPosition')&&(_0x2e9536['targetPosition']=_0x3d5d02['Position']['toObject'](_0x46a1ce['targetPosition'],_0x576698)),null!=_0x46a1ce['wasUndone']&&_0x46a1ce['hasOwnProperty']('wasUndone')&&(_0x2e9536['wasUndone']=_0x46a1ce['wasUndone']),_0x2e9536;},_0x1cee77['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0x1cee77['getTypeUrl']=function(_0xbd9b6){return void 0x0===_0xbd9b6&&(_0xbd9b6='type.googleapis.com'),_0xbd9b6+'/MoveOperation';},_0x1cee77;}()),_0x3d5d02['RenameOperation']=(function(){function _0x17bc9d(_0xcc1ea6){if(_0xcc1ea6){for(var _0x840fec=Object['keys'](_0xcc1ea6),_0x567b38=0x0;_0x567b38<_0x840fec['length'];++_0x567b38)null!=_0xcc1ea6[_0x840fec[_0x567b38]]&&(this[_0x840fec[_0x567b38]]=_0xcc1ea6[_0x840fec[_0x567b38]]);}}return _0x17bc9d['prototype']['position']=null,_0x17bc9d['prototype']['oldName']='',_0x17bc9d['prototype']['newName']='',_0x17bc9d['prototype']['wasUndone']=!0x1,_0x17bc9d['create']=function(_0x5d947e){return new _0x17bc9d(_0x5d947e);},_0x17bc9d['encode']=function(_0x4fca71,_0x4127c1){return _0x4127c1||(_0x4127c1=_0x1fa1d3['create']()),null!=_0x4fca71['position']&&Object['hasOwnProperty']['call'](_0x4fca71,'position')&&_0x3d5d02['Position']['encode'](_0x4fca71['position'],_0x4127c1['uint32'](0xa)['fork']())['ldelim'](),null!=_0x4fca71['oldName']&&Object['hasOwnProperty']['call'](_0x4fca71,'oldName')&&_0x4127c1['uint32'](0x12)['string'](_0x4fca71['oldName']),null!=_0x4fca71['newName']&&Object['hasOwnProperty']['call'](_0x4fca71,'newName')&&_0x4127c1['uint32'](0x1a)['string'](_0x4fca71['newName']),null!=_0x4fca71['wasUndone']&&Object['hasOwnProperty']['call'](_0x4fca71,'wasUndone')&&_0x4127c1['uint32'](0x20)['bool'](_0x4fca71['wasUndone']),_0x4127c1;},_0x17bc9d['encodeDelimited']=function(_0x3326e4,_0x481f27){return this['encode'](_0x3326e4,_0x481f27)['ldelim']();},_0x17bc9d['decode']=function(_0x5992e7,_0x5e3ee3){_0x5992e7 instanceof _0x14589a||(_0x5992e7=_0x14589a['create'](_0x5992e7));for(var _0x2dbfbd=void 0x0===_0x5e3ee3?_0x5992e7['len']:_0x5992e7['pos']+_0x5e3ee3,_0x486118=new _0x3d5d02['RenameOperation']();_0x5992e7['pos']<_0x2dbfbd;){var _0x5c2ba2=_0x5992e7['uint32']();switch(_0x5c2ba2>>>0x3){case 0x1:_0x486118['position']=_0x3d5d02['Position']['decode'](_0x5992e7,_0x5992e7['uint32']());break;case 0x2:_0x486118['oldName']=_0x5992e7['string']();break;case 0x3:_0x486118['newName']=_0x5992e7['string']();break;case 0x4:_0x486118['wasUndone']=_0x5992e7['bool']();break;default:_0x5992e7['skipType'](0x7&_0x5c2ba2);}}return _0x486118;},_0x17bc9d['decodeDelimited']=function(_0x59cb67){return _0x59cb67 instanceof _0x14589a||(_0x59cb67=new _0x14589a(_0x59cb67)),this['decode'](_0x59cb67,_0x59cb67['uint32']());},_0x17bc9d['verify']=function(_0x44f5be){if('object'!=typeof _0x44f5be||null===_0x44f5be)return'object\x20expected';if(null!=_0x44f5be['position']&&_0x44f5be['hasOwnProperty']('position')){var _0x57ed8d=_0x3d5d02['Position']['verify'](_0x44f5be['position']);if(_0x57ed8d)return'position.'+_0x57ed8d;}return null!=_0x44f5be['oldName']&&_0x44f5be['hasOwnProperty']('oldName')&&!_0x44a02f['isString'](_0x44f5be['oldName'])?'oldName:\x20string\x20expected':null!=_0x44f5be['newName']&&_0x44f5be['hasOwnProperty']('newName')&&!_0x44a02f['isString'](_0x44f5be['newName'])?'newName:\x20string\x20expected':null!=_0x44f5be['wasUndone']&&_0x44f5be['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x44f5be['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x17bc9d['fromObject']=function(_0x3947f6){if(_0x3947f6 instanceof _0x3d5d02['RenameOperation'])return _0x3947f6;var _0x27d407=new _0x3d5d02['RenameOperation']();if(null!=_0x3947f6['position']){if('object'!=typeof _0x3947f6['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x27d407['position']=_0x3d5d02['Position']['fromObject'](_0x3947f6['position']);}return null!=_0x3947f6['oldName']&&(_0x27d407['oldName']=String(_0x3947f6['oldName'])),null!=_0x3947f6['newName']&&(_0x27d407['newName']=String(_0x3947f6['newName'])),null!=_0x3947f6['wasUndone']&&(_0x27d407['wasUndone']=Boolean(_0x3947f6['wasUndone'])),_0x27d407;},_0x17bc9d['toObject']=function(_0x11a148,_0x32da0a){_0x32da0a||(_0x32da0a={});var _0x5b10b6={};return _0x32da0a['defaults']&&(_0x5b10b6['position']=null,_0x5b10b6['oldName']='',_0x5b10b6['newName']='',_0x5b10b6['wasUndone']=!0x1),null!=_0x11a148['position']&&_0x11a148['hasOwnProperty']('position')&&(_0x5b10b6['position']=_0x3d5d02['Position']['toObject'](_0x11a148['position'],_0x32da0a)),null!=_0x11a148['oldName']&&_0x11a148['hasOwnProperty']('oldName')&&(_0x5b10b6['oldName']=_0x11a148['oldName']),null!=_0x11a148['newName']&&_0x11a148['hasOwnProperty']('newName')&&(_0x5b10b6['newName']=_0x11a148['newName']),null!=_0x11a148['wasUndone']&&_0x11a148['hasOwnProperty']('wasUndone')&&(_0x5b10b6['wasUndone']=_0x11a148['wasUndone']),_0x5b10b6;},_0x17bc9d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0x17bc9d['getTypeUrl']=function(_0x5303e4){return void 0x0===_0x5303e4&&(_0x5303e4='type.googleapis.com'),_0x5303e4+'/RenameOperation';},_0x17bc9d;}()),_0x3d5d02['RootAttributeOperation']=(function(){function _0xa34aa5(_0x54fa71){if(_0x54fa71){for(var _0x3204c6=Object['keys'](_0x54fa71),_0x6dbf70=0x0;_0x6dbf70<_0x3204c6['length'];++_0x6dbf70)null!=_0x54fa71[_0x3204c6[_0x6dbf70]]&&(this[_0x3204c6[_0x6dbf70]]=_0x54fa71[_0x3204c6[_0x6dbf70]]);}}return _0xa34aa5['prototype']['root']='',_0xa34aa5['prototype']['key']='',_0xa34aa5['prototype']['oldValueBoolean']=!0x1,_0xa34aa5['prototype']['oldValueJson']='',_0xa34aa5['prototype']['newValueBoolean']=!0x1,_0xa34aa5['prototype']['newValueJson']='',_0xa34aa5['prototype']['wasUndone']=!0x1,_0xa34aa5['create']=function(_0x19fdc1){return new _0xa34aa5(_0x19fdc1);},_0xa34aa5['encode']=function(_0x28df75,_0xd57e00){return _0xd57e00||(_0xd57e00=_0x1fa1d3['create']()),null!=_0x28df75['root']&&Object['hasOwnProperty']['call'](_0x28df75,'root')&&_0xd57e00['uint32'](0xa)['string'](_0x28df75['root']),null!=_0x28df75['key']&&Object['hasOwnProperty']['call'](_0x28df75,'key')&&_0xd57e00['uint32'](0x12)['string'](_0x28df75['key']),null!=_0x28df75['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x28df75,'oldValueBoolean')&&_0xd57e00['uint32'](0x18)['bool'](_0x28df75['oldValueBoolean']),null!=_0x28df75['oldValueJson']&&Object['hasOwnProperty']['call'](_0x28df75,'oldValueJson')&&_0xd57e00['uint32'](0x22)['string'](_0x28df75['oldValueJson']),null!=_0x28df75['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x28df75,'newValueBoolean')&&_0xd57e00['uint32'](0x28)['bool'](_0x28df75['newValueBoolean']),null!=_0x28df75['newValueJson']&&Object['hasOwnProperty']['call'](_0x28df75,'newValueJson')&&_0xd57e00['uint32'](0x32)['string'](_0x28df75['newValueJson']),null!=_0x28df75['wasUndone']&&Object['hasOwnProperty']['call'](_0x28df75,'wasUndone')&&_0xd57e00['uint32'](0x38)['bool'](_0x28df75['wasUndone']),_0xd57e00;},_0xa34aa5['encodeDelimited']=function(_0x10ff7b,_0xd9763d){return this['encode'](_0x10ff7b,_0xd9763d)['ldelim']();},_0xa34aa5['decode']=function(_0x3fce60,_0x1d0f03){_0x3fce60 instanceof _0x14589a||(_0x3fce60=_0x14589a['create'](_0x3fce60));for(var _0x541cbb=void 0x0===_0x1d0f03?_0x3fce60['len']:_0x3fce60['pos']+_0x1d0f03,_0x28a3fa=new _0x3d5d02['RootAttributeOperation']();_0x3fce60['pos']<_0x541cbb;){var _0x2eaf47=_0x3fce60['uint32']();switch(_0x2eaf47>>>0x3){case 0x1:_0x28a3fa['root']=_0x3fce60['string']();break;case 0x2:_0x28a3fa['key']=_0x3fce60['string']();break;case 0x3:_0x28a3fa['oldValueBoolean']=_0x3fce60['bool']();break;case 0x4:_0x28a3fa['oldValueJson']=_0x3fce60['string']();break;case 0x5:_0x28a3fa['newValueBoolean']=_0x3fce60['bool']();break;case 0x6:_0x28a3fa['newValueJson']=_0x3fce60['string']();break;case 0x7:_0x28a3fa['wasUndone']=_0x3fce60['bool']();break;default:_0x3fce60['skipType'](0x7&_0x2eaf47);}}return _0x28a3fa;},_0xa34aa5['decodeDelimited']=function(_0x2695c1){return _0x2695c1 instanceof _0x14589a||(_0x2695c1=new _0x14589a(_0x2695c1)),this['decode'](_0x2695c1,_0x2695c1['uint32']());},_0xa34aa5['verify']=function(_0x39add1){return'object'!=typeof _0x39add1||null===_0x39add1?'object\x20expected':null!=_0x39add1['root']&&_0x39add1['hasOwnProperty']('root')&&!_0x44a02f['isString'](_0x39add1['root'])?'root:\x20string\x20expected':null!=_0x39add1['key']&&_0x39add1['hasOwnProperty']('key')&&!_0x44a02f['isString'](_0x39add1['key'])?'key:\x20string\x20expected':null!=_0x39add1['oldValueBoolean']&&_0x39add1['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x39add1['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x39add1['oldValueJson']&&_0x39add1['hasOwnProperty']('oldValueJson')&&!_0x44a02f['isString'](_0x39add1['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x39add1['newValueBoolean']&&_0x39add1['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x39add1['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x39add1['newValueJson']&&_0x39add1['hasOwnProperty']('newValueJson')&&!_0x44a02f['isString'](_0x39add1['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x39add1['wasUndone']&&_0x39add1['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x39add1['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0xa34aa5['fromObject']=function(_0xdc5043){if(_0xdc5043 instanceof _0x3d5d02['RootAttributeOperation'])return _0xdc5043;var _0x48040f=new _0x3d5d02['RootAttributeOperation']();return null!=_0xdc5043['root']&&(_0x48040f['root']=String(_0xdc5043['root'])),null!=_0xdc5043['key']&&(_0x48040f['key']=String(_0xdc5043['key'])),null!=_0xdc5043['oldValueBoolean']&&(_0x48040f['oldValueBoolean']=Boolean(_0xdc5043['oldValueBoolean'])),null!=_0xdc5043['oldValueJson']&&(_0x48040f['oldValueJson']=String(_0xdc5043['oldValueJson'])),null!=_0xdc5043['newValueBoolean']&&(_0x48040f['newValueBoolean']=Boolean(_0xdc5043['newValueBoolean'])),null!=_0xdc5043['newValueJson']&&(_0x48040f['newValueJson']=String(_0xdc5043['newValueJson'])),null!=_0xdc5043['wasUndone']&&(_0x48040f['wasUndone']=Boolean(_0xdc5043['wasUndone'])),_0x48040f;},_0xa34aa5['toObject']=function(_0x97c87b,_0x5616df){_0x5616df||(_0x5616df={});var _0x5436f1={};return _0x5616df['defaults']&&(_0x5436f1['root']='',_0x5436f1['key']='',_0x5436f1['oldValueBoolean']=!0x1,_0x5436f1['oldValueJson']='',_0x5436f1['newValueBoolean']=!0x1,_0x5436f1['newValueJson']='',_0x5436f1['wasUndone']=!0x1),null!=_0x97c87b['root']&&_0x97c87b['hasOwnProperty']('root')&&(_0x5436f1['root']=_0x97c87b['root']),null!=_0x97c87b['key']&&_0x97c87b['hasOwnProperty']('key')&&(_0x5436f1['key']=_0x97c87b['key']),null!=_0x97c87b['oldValueBoolean']&&_0x97c87b['hasOwnProperty']('oldValueBoolean')&&(_0x5436f1['oldValueBoolean']=_0x97c87b['oldValueBoolean']),null!=_0x97c87b['oldValueJson']&&_0x97c87b['hasOwnProperty']('oldValueJson')&&(_0x5436f1['oldValueJson']=_0x97c87b['oldValueJson']),null!=_0x97c87b['newValueBoolean']&&_0x97c87b['hasOwnProperty']('newValueBoolean')&&(_0x5436f1['newValueBoolean']=_0x97c87b['newValueBoolean']),null!=_0x97c87b['newValueJson']&&_0x97c87b['hasOwnProperty']('newValueJson')&&(_0x5436f1['newValueJson']=_0x97c87b['newValueJson']),null!=_0x97c87b['wasUndone']&&_0x97c87b['hasOwnProperty']('wasUndone')&&(_0x5436f1['wasUndone']=_0x97c87b['wasUndone']),_0x5436f1;},_0xa34aa5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0xa34aa5['getTypeUrl']=function(_0x3be98e){return void 0x0===_0x3be98e&&(_0x3be98e='type.googleapis.com'),_0x3be98e+'/RootAttributeOperation';},_0xa34aa5;}()),_0x3d5d02['RootOperation']=(function(){function _0x299119(_0x5ec380){if(_0x5ec380){for(var _0x255e78=Object['keys'](_0x5ec380),_0x2bcd5c=0x0;_0x2bcd5c<_0x255e78['length'];++_0x2bcd5c)null!=_0x5ec380[_0x255e78[_0x2bcd5c]]&&(this[_0x255e78[_0x2bcd5c]]=_0x5ec380[_0x255e78[_0x2bcd5c]]);}}return _0x299119['prototype']['rootName']='',_0x299119['prototype']['elementName']='',_0x299119['prototype']['isAdd']=!0x1,_0x299119['prototype']['wasUndone']=!0x1,_0x299119['create']=function(_0x55c7fa){return new _0x299119(_0x55c7fa);},_0x299119['encode']=function(_0x2408db,_0xee212){return _0xee212||(_0xee212=_0x1fa1d3['create']()),null!=_0x2408db['rootName']&&Object['hasOwnProperty']['call'](_0x2408db,'rootName')&&_0xee212['uint32'](0xa)['string'](_0x2408db['rootName']),null!=_0x2408db['elementName']&&Object['hasOwnProperty']['call'](_0x2408db,'elementName')&&_0xee212['uint32'](0x12)['string'](_0x2408db['elementName']),null!=_0x2408db['isAdd']&&Object['hasOwnProperty']['call'](_0x2408db,'isAdd')&&_0xee212['uint32'](0x18)['bool'](_0x2408db['isAdd']),null!=_0x2408db['wasUndone']&&Object['hasOwnProperty']['call'](_0x2408db,'wasUndone')&&_0xee212['uint32'](0x20)['bool'](_0x2408db['wasUndone']),_0xee212;},_0x299119['encodeDelimited']=function(_0xac395e,_0x160fc1){return this['encode'](_0xac395e,_0x160fc1)['ldelim']();},_0x299119['decode']=function(_0x1a7d04,_0x8d9dc4){_0x1a7d04 instanceof _0x14589a||(_0x1a7d04=_0x14589a['create'](_0x1a7d04));for(var _0x546dbc=void 0x0===_0x8d9dc4?_0x1a7d04['len']:_0x1a7d04['pos']+_0x8d9dc4,_0x1907a7=new _0x3d5d02['RootOperation']();_0x1a7d04['pos']<_0x546dbc;){var _0x265d96=_0x1a7d04['uint32']();switch(_0x265d96>>>0x3){case 0x1:_0x1907a7['rootName']=_0x1a7d04['string']();break;case 0x2:_0x1907a7['elementName']=_0x1a7d04['string']();break;case 0x3:_0x1907a7['isAdd']=_0x1a7d04['bool']();break;case 0x4:_0x1907a7['wasUndone']=_0x1a7d04['bool']();break;default:_0x1a7d04['skipType'](0x7&_0x265d96);}}return _0x1907a7;},_0x299119['decodeDelimited']=function(_0x3c7aa){return _0x3c7aa instanceof _0x14589a||(_0x3c7aa=new _0x14589a(_0x3c7aa)),this['decode'](_0x3c7aa,_0x3c7aa['uint32']());},_0x299119['verify']=function(_0x50ba56){return'object'!=typeof _0x50ba56||null===_0x50ba56?'object\x20expected':null!=_0x50ba56['rootName']&&_0x50ba56['hasOwnProperty']('rootName')&&!_0x44a02f['isString'](_0x50ba56['rootName'])?'rootName:\x20string\x20expected':null!=_0x50ba56['elementName']&&_0x50ba56['hasOwnProperty']('elementName')&&!_0x44a02f['isString'](_0x50ba56['elementName'])?'elementName:\x20string\x20expected':null!=_0x50ba56['isAdd']&&_0x50ba56['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x50ba56['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x50ba56['wasUndone']&&_0x50ba56['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x50ba56['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x299119['fromObject']=function(_0x3ce1cc){if(_0x3ce1cc instanceof _0x3d5d02['RootOperation'])return _0x3ce1cc;var _0x28e428=new _0x3d5d02['RootOperation']();return null!=_0x3ce1cc['rootName']&&(_0x28e428['rootName']=String(_0x3ce1cc['rootName'])),null!=_0x3ce1cc['elementName']&&(_0x28e428['elementName']=String(_0x3ce1cc['elementName'])),null!=_0x3ce1cc['isAdd']&&(_0x28e428['isAdd']=Boolean(_0x3ce1cc['isAdd'])),null!=_0x3ce1cc['wasUndone']&&(_0x28e428['wasUndone']=Boolean(_0x3ce1cc['wasUndone'])),_0x28e428;},_0x299119['toObject']=function(_0xa394d8,_0x1b626c){_0x1b626c||(_0x1b626c={});var _0x2b0188={};return _0x1b626c['defaults']&&(_0x2b0188['rootName']='',_0x2b0188['elementName']='',_0x2b0188['isAdd']=!0x1,_0x2b0188['wasUndone']=!0x1),null!=_0xa394d8['rootName']&&_0xa394d8['hasOwnProperty']('rootName')&&(_0x2b0188['rootName']=_0xa394d8['rootName']),null!=_0xa394d8['elementName']&&_0xa394d8['hasOwnProperty']('elementName')&&(_0x2b0188['elementName']=_0xa394d8['elementName']),null!=_0xa394d8['isAdd']&&_0xa394d8['hasOwnProperty']('isAdd')&&(_0x2b0188['isAdd']=_0xa394d8['isAdd']),null!=_0xa394d8['wasUndone']&&_0xa394d8['hasOwnProperty']('wasUndone')&&(_0x2b0188['wasUndone']=_0xa394d8['wasUndone']),_0x2b0188;},_0x299119['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0x299119['getTypeUrl']=function(_0x4eae9c){return void 0x0===_0x4eae9c&&(_0x4eae9c='type.googleapis.com'),_0x4eae9c+'/RootOperation';},_0x299119;}()),_0x3d5d02['SplitOperation']=(function(){function _0x1cc557(_0x484fa4){if(_0x484fa4){for(var _0x360135=Object['keys'](_0x484fa4),_0x5052e2=0x0;_0x5052e2<_0x360135['length'];++_0x5052e2)null!=_0x484fa4[_0x360135[_0x5052e2]]&&(this[_0x360135[_0x5052e2]]=_0x484fa4[_0x360135[_0x5052e2]]);}}return _0x1cc557['prototype']['splitPosition']=null,_0x1cc557['prototype']['graveyardPosition']=null,_0x1cc557['prototype']['howMany']=0x0,_0x1cc557['prototype']['insertionPosition']=null,_0x1cc557['prototype']['wasUndone']=!0x1,_0x1cc557['create']=function(_0x5651d4){return new _0x1cc557(_0x5651d4);},_0x1cc557['encode']=function(_0x4665ec,_0x2fd315){return _0x2fd315||(_0x2fd315=_0x1fa1d3['create']()),null!=_0x4665ec['splitPosition']&&Object['hasOwnProperty']['call'](_0x4665ec,'splitPosition')&&_0x3d5d02['Position']['encode'](_0x4665ec['splitPosition'],_0x2fd315['uint32'](0xa)['fork']())['ldelim'](),null!=_0x4665ec['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x4665ec,'graveyardPosition')&&_0x3d5d02['Position']['encode'](_0x4665ec['graveyardPosition'],_0x2fd315['uint32'](0x12)['fork']())['ldelim'](),null!=_0x4665ec['howMany']&&Object['hasOwnProperty']['call'](_0x4665ec,'howMany')&&_0x2fd315['uint32'](0x18)['uint32'](_0x4665ec['howMany']),null!=_0x4665ec['insertionPosition']&&Object['hasOwnProperty']['call'](_0x4665ec,'insertionPosition')&&_0x3d5d02['Position']['encode'](_0x4665ec['insertionPosition'],_0x2fd315['uint32'](0x22)['fork']())['ldelim'](),null!=_0x4665ec['wasUndone']&&Object['hasOwnProperty']['call'](_0x4665ec,'wasUndone')&&_0x2fd315['uint32'](0x28)['bool'](_0x4665ec['wasUndone']),_0x2fd315;},_0x1cc557['encodeDelimited']=function(_0x155f19,_0x28f3a4){return this['encode'](_0x155f19,_0x28f3a4)['ldelim']();},_0x1cc557['decode']=function(_0x522192,_0xb37e1b){_0x522192 instanceof _0x14589a||(_0x522192=_0x14589a['create'](_0x522192));for(var _0x54ee38=void 0x0===_0xb37e1b?_0x522192['len']:_0x522192['pos']+_0xb37e1b,_0x5afc05=new _0x3d5d02['SplitOperation']();_0x522192['pos']<_0x54ee38;){var _0x1344d4=_0x522192['uint32']();switch(_0x1344d4>>>0x3){case 0x1:_0x5afc05['splitPosition']=_0x3d5d02['Position']['decode'](_0x522192,_0x522192['uint32']());break;case 0x2:_0x5afc05['graveyardPosition']=_0x3d5d02['Position']['decode'](_0x522192,_0x522192['uint32']());break;case 0x3:_0x5afc05['howMany']=_0x522192['uint32']();break;case 0x4:_0x5afc05['insertionPosition']=_0x3d5d02['Position']['decode'](_0x522192,_0x522192['uint32']());break;case 0x5:_0x5afc05['wasUndone']=_0x522192['bool']();break;default:_0x522192['skipType'](0x7&_0x1344d4);}}return _0x5afc05;},_0x1cc557['decodeDelimited']=function(_0x4a6e1b){return _0x4a6e1b instanceof _0x14589a||(_0x4a6e1b=new _0x14589a(_0x4a6e1b)),this['decode'](_0x4a6e1b,_0x4a6e1b['uint32']());},_0x1cc557['verify']=function(_0x255a7d){if('object'!=typeof _0x255a7d||null===_0x255a7d)return'object\x20expected';var _0x21cf11;if(null!=_0x255a7d['splitPosition']&&_0x255a7d['hasOwnProperty']('splitPosition')&&(_0x21cf11=_0x3d5d02['Position']['verify'](_0x255a7d['splitPosition'])))return'splitPosition.'+_0x21cf11;if(null!=_0x255a7d['graveyardPosition']&&_0x255a7d['hasOwnProperty']('graveyardPosition')&&(_0x21cf11=_0x3d5d02['Position']['verify'](_0x255a7d['graveyardPosition'])))return'graveyardPosition.'+_0x21cf11;if(null!=_0x255a7d['howMany']&&_0x255a7d['hasOwnProperty']('howMany')&&!_0x44a02f['isInteger'](_0x255a7d['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x255a7d['insertionPosition']&&_0x255a7d['hasOwnProperty']('insertionPosition')&&(_0x21cf11=_0x3d5d02['Position']['verify'](_0x255a7d['insertionPosition'])))return'insertionPosition.'+_0x21cf11;return null!=_0x255a7d['wasUndone']&&_0x255a7d['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x255a7d['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1cc557['fromObject']=function(_0x198056){if(_0x198056 instanceof _0x3d5d02['SplitOperation'])return _0x198056;var _0x39a467=new _0x3d5d02['SplitOperation']();if(null!=_0x198056['splitPosition']){if('object'!=typeof _0x198056['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x39a467['splitPosition']=_0x3d5d02['Position']['fromObject'](_0x198056['splitPosition']);}if(null!=_0x198056['graveyardPosition']){if('object'!=typeof _0x198056['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x39a467['graveyardPosition']=_0x3d5d02['Position']['fromObject'](_0x198056['graveyardPosition']);}if(null!=_0x198056['howMany']&&(_0x39a467['howMany']=_0x198056['howMany']>>>0x0),null!=_0x198056['insertionPosition']){if('object'!=typeof _0x198056['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x39a467['insertionPosition']=_0x3d5d02['Position']['fromObject'](_0x198056['insertionPosition']);}return null!=_0x198056['wasUndone']&&(_0x39a467['wasUndone']=Boolean(_0x198056['wasUndone'])),_0x39a467;},_0x1cc557['toObject']=function(_0x74a2a0,_0x11166b){_0x11166b||(_0x11166b={});var _0xb88383={};return _0x11166b['defaults']&&(_0xb88383['splitPosition']=null,_0xb88383['graveyardPosition']=null,_0xb88383['howMany']=0x0,_0xb88383['insertionPosition']=null,_0xb88383['wasUndone']=!0x1),null!=_0x74a2a0['splitPosition']&&_0x74a2a0['hasOwnProperty']('splitPosition')&&(_0xb88383['splitPosition']=_0x3d5d02['Position']['toObject'](_0x74a2a0['splitPosition'],_0x11166b)),null!=_0x74a2a0['graveyardPosition']&&_0x74a2a0['hasOwnProperty']('graveyardPosition')&&(_0xb88383['graveyardPosition']=_0x3d5d02['Position']['toObject'](_0x74a2a0['graveyardPosition'],_0x11166b)),null!=_0x74a2a0['howMany']&&_0x74a2a0['hasOwnProperty']('howMany')&&(_0xb88383['howMany']=_0x74a2a0['howMany']),null!=_0x74a2a0['insertionPosition']&&_0x74a2a0['hasOwnProperty']('insertionPosition')&&(_0xb88383['insertionPosition']=_0x3d5d02['Position']['toObject'](_0x74a2a0['insertionPosition'],_0x11166b)),null!=_0x74a2a0['wasUndone']&&_0x74a2a0['hasOwnProperty']('wasUndone')&&(_0xb88383['wasUndone']=_0x74a2a0['wasUndone']),_0xb88383;},_0x1cc557['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0x1cc557['getTypeUrl']=function(_0x7eccb6){return void 0x0===_0x7eccb6&&(_0x7eccb6='type.googleapis.com'),_0x7eccb6+'/SplitOperation';},_0x1cc557;}()),_0x3d5d02['Position']=(function(){function _0xfca999(_0x50d5f8){if(this['path']=[],_0x50d5f8){for(var _0x2cf35a=Object['keys'](_0x50d5f8),_0x3bc050=0x0;_0x3bc050<_0x2cf35a['length'];++_0x3bc050)null!=_0x50d5f8[_0x2cf35a[_0x3bc050]]&&(this[_0x2cf35a[_0x3bc050]]=_0x50d5f8[_0x2cf35a[_0x3bc050]]);}}return _0xfca999['prototype']['root']='',_0xfca999['prototype']['rootMain']=!0x1,_0xfca999['prototype']['rootGraveyard']=!0x1,_0xfca999['prototype']['path']=_0x44a02f['emptyArray'],_0xfca999['prototype']['stickiness']='',_0xfca999['create']=function(_0x508578){return new _0xfca999(_0x508578);},_0xfca999['encode']=function(_0x3b7b0b,_0x207047){if(_0x207047||(_0x207047=_0x1fa1d3['create']()),null!=_0x3b7b0b['root']&&Object['hasOwnProperty']['call'](_0x3b7b0b,'root')&&_0x207047['uint32'](0xa)['string'](_0x3b7b0b['root']),null!=_0x3b7b0b['rootMain']&&Object['hasOwnProperty']['call'](_0x3b7b0b,'rootMain')&&_0x207047['uint32'](0x10)['bool'](_0x3b7b0b['rootMain']),null!=_0x3b7b0b['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x3b7b0b,'rootGraveyard')&&_0x207047['uint32'](0x18)['bool'](_0x3b7b0b['rootGraveyard']),null!=_0x3b7b0b['path']&&_0x3b7b0b['path']['length']){_0x207047['uint32'](0x22)['fork']();for(var _0x2abb8d=0x0;_0x2abb8d<_0x3b7b0b['path']['length'];++_0x2abb8d)_0x207047['uint32'](_0x3b7b0b['path'][_0x2abb8d]);_0x207047['ldelim']();}return null!=_0x3b7b0b['stickiness']&&Object['hasOwnProperty']['call'](_0x3b7b0b,'stickiness')&&_0x207047['uint32'](0x2a)['string'](_0x3b7b0b['stickiness']),_0x207047;},_0xfca999['encodeDelimited']=function(_0x241cf1,_0x85647d){return this['encode'](_0x241cf1,_0x85647d)['ldelim']();},_0xfca999['decode']=function(_0x5f1a74,_0x4db85c){_0x5f1a74 instanceof _0x14589a||(_0x5f1a74=_0x14589a['create'](_0x5f1a74));for(var _0x3dfc22=void 0x0===_0x4db85c?_0x5f1a74['len']:_0x5f1a74['pos']+_0x4db85c,_0x495d26=new _0x3d5d02['Position']();_0x5f1a74['pos']<_0x3dfc22;){var _0x4799da=_0x5f1a74['uint32']();switch(_0x4799da>>>0x3){case 0x1:_0x495d26['root']=_0x5f1a74['string']();break;case 0x2:_0x495d26['rootMain']=_0x5f1a74['bool']();break;case 0x3:_0x495d26['rootGraveyard']=_0x5f1a74['bool']();break;case 0x4:if(_0x495d26['path']&&_0x495d26['path']['length']||(_0x495d26['path']=[]),0x2==(0x7&_0x4799da)){for(var _0x278cec=_0x5f1a74['uint32']()+_0x5f1a74['pos'];_0x5f1a74['pos']<_0x278cec;)_0x495d26['path']['push'](_0x5f1a74['uint32']());}else _0x495d26['path']['push'](_0x5f1a74['uint32']());break;case 0x5:_0x495d26['stickiness']=_0x5f1a74['string']();break;default:_0x5f1a74['skipType'](0x7&_0x4799da);}}return _0x495d26;},_0xfca999['decodeDelimited']=function(_0x437091){return _0x437091 instanceof _0x14589a||(_0x437091=new _0x14589a(_0x437091)),this['decode'](_0x437091,_0x437091['uint32']());},_0xfca999['verify']=function(_0x508215){if('object'!=typeof _0x508215||null===_0x508215)return'object\x20expected';if(null!=_0x508215['root']&&_0x508215['hasOwnProperty']('root')&&!_0x44a02f['isString'](_0x508215['root']))return'root:\x20string\x20expected';if(null!=_0x508215['rootMain']&&_0x508215['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x508215['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x508215['rootGraveyard']&&_0x508215['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x508215['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x508215['path']&&_0x508215['hasOwnProperty']('path')){if(!Array['isArray'](_0x508215['path']))return'path:\x20array\x20expected';for(var _0xffa020=0x0;_0xffa020<_0x508215['path']['length'];++_0xffa020)if(!_0x44a02f['isInteger'](_0x508215['path'][_0xffa020]))return'path:\x20integer[]\x20expected';}return null!=_0x508215['stickiness']&&_0x508215['hasOwnProperty']('stickiness')&&!_0x44a02f['isString'](_0x508215['stickiness'])?'stickiness:\x20string\x20expected':null;},_0xfca999['fromObject']=function(_0x5ccb53){if(_0x5ccb53 instanceof _0x3d5d02['Position'])return _0x5ccb53;var _0x597294=new _0x3d5d02['Position']();if(null!=_0x5ccb53['root']&&(_0x597294['root']=String(_0x5ccb53['root'])),null!=_0x5ccb53['rootMain']&&(_0x597294['rootMain']=Boolean(_0x5ccb53['rootMain'])),null!=_0x5ccb53['rootGraveyard']&&(_0x597294['rootGraveyard']=Boolean(_0x5ccb53['rootGraveyard'])),_0x5ccb53['path']){if(!Array['isArray'](_0x5ccb53['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x597294['path']=[];for(var _0x14c07d=0x0;_0x14c07d<_0x5ccb53['path']['length'];++_0x14c07d)_0x597294['path'][_0x14c07d]=_0x5ccb53['path'][_0x14c07d]>>>0x0;}return null!=_0x5ccb53['stickiness']&&(_0x597294['stickiness']=String(_0x5ccb53['stickiness'])),_0x597294;},_0xfca999['toObject']=function(_0x3aa178,_0x397668){_0x397668||(_0x397668={});var _0x7d3171={};if((_0x397668['arrays']||_0x397668['defaults'])&&(_0x7d3171['path']=[]),_0x397668['defaults']&&(_0x7d3171['root']='',_0x7d3171['rootMain']=!0x1,_0x7d3171['rootGraveyard']=!0x1,_0x7d3171['stickiness']=''),null!=_0x3aa178['root']&&_0x3aa178['hasOwnProperty']('root')&&(_0x7d3171['root']=_0x3aa178['root']),null!=_0x3aa178['rootMain']&&_0x3aa178['hasOwnProperty']('rootMain')&&(_0x7d3171['rootMain']=_0x3aa178['rootMain']),null!=_0x3aa178['rootGraveyard']&&_0x3aa178['hasOwnProperty']('rootGraveyard')&&(_0x7d3171['rootGraveyard']=_0x3aa178['rootGraveyard']),_0x3aa178['path']&&_0x3aa178['path']['length']){_0x7d3171['path']=[];for(var _0x4accda=0x0;_0x4accda<_0x3aa178['path']['length'];++_0x4accda)_0x7d3171['path'][_0x4accda]=_0x3aa178['path'][_0x4accda];}return null!=_0x3aa178['stickiness']&&_0x3aa178['hasOwnProperty']('stickiness')&&(_0x7d3171['stickiness']=_0x3aa178['stickiness']),_0x7d3171;},_0xfca999['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0xfca999['getTypeUrl']=function(_0x438634){return void 0x0===_0x438634&&(_0x438634='type.googleapis.com'),_0x438634+'/Position';},_0xfca999;}()),_0x3d5d02['Range']=(function(){function _0x1536de(_0x14866f){if(_0x14866f){for(var _0x34837f=Object['keys'](_0x14866f),_0x5cfd48=0x0;_0x5cfd48<_0x34837f['length'];++_0x5cfd48)null!=_0x14866f[_0x34837f[_0x5cfd48]]&&(this[_0x34837f[_0x5cfd48]]=_0x14866f[_0x34837f[_0x5cfd48]]);}}return _0x1536de['prototype']['start']=null,_0x1536de['prototype']['end']=null,_0x1536de['create']=function(_0x5c7e9f){return new _0x1536de(_0x5c7e9f);},_0x1536de['encode']=function(_0x1c8f7a,_0x542758){return _0x542758||(_0x542758=_0x1fa1d3['create']()),null!=_0x1c8f7a['start']&&Object['hasOwnProperty']['call'](_0x1c8f7a,'start')&&_0x3d5d02['Position']['encode'](_0x1c8f7a['start'],_0x542758['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1c8f7a['end']&&Object['hasOwnProperty']['call'](_0x1c8f7a,'end')&&_0x3d5d02['Position']['encode'](_0x1c8f7a['end'],_0x542758['uint32'](0x12)['fork']())['ldelim'](),_0x542758;},_0x1536de['encodeDelimited']=function(_0x411e90,_0x4892f5){return this['encode'](_0x411e90,_0x4892f5)['ldelim']();},_0x1536de['decode']=function(_0x1f0e13,_0x47107c){_0x1f0e13 instanceof _0x14589a||(_0x1f0e13=_0x14589a['create'](_0x1f0e13));for(var _0x5edcb9=void 0x0===_0x47107c?_0x1f0e13['len']:_0x1f0e13['pos']+_0x47107c,_0x47b028=new _0x3d5d02['Range']();_0x1f0e13['pos']<_0x5edcb9;){var _0x17c712=_0x1f0e13['uint32']();switch(_0x17c712>>>0x3){case 0x1:_0x47b028['start']=_0x3d5d02['Position']['decode'](_0x1f0e13,_0x1f0e13['uint32']());break;case 0x2:_0x47b028['end']=_0x3d5d02['Position']['decode'](_0x1f0e13,_0x1f0e13['uint32']());break;default:_0x1f0e13['skipType'](0x7&_0x17c712);}}return _0x47b028;},_0x1536de['decodeDelimited']=function(_0xdf541b){return _0xdf541b instanceof _0x14589a||(_0xdf541b=new _0x14589a(_0xdf541b)),this['decode'](_0xdf541b,_0xdf541b['uint32']());},_0x1536de['verify']=function(_0x39b5bc){if('object'!=typeof _0x39b5bc||null===_0x39b5bc)return'object\x20expected';var _0x474d23;if(null!=_0x39b5bc['start']&&_0x39b5bc['hasOwnProperty']('start')&&(_0x474d23=_0x3d5d02['Position']['verify'](_0x39b5bc['start'])))return'start.'+_0x474d23;if(null!=_0x39b5bc['end']&&_0x39b5bc['hasOwnProperty']('end')&&(_0x474d23=_0x3d5d02['Position']['verify'](_0x39b5bc['end'])))return'end.'+_0x474d23;return null;},_0x1536de['fromObject']=function(_0x2d72d9){if(_0x2d72d9 instanceof _0x3d5d02['Range'])return _0x2d72d9;var _0x28e5b7=new _0x3d5d02['Range']();if(null!=_0x2d72d9['start']){if('object'!=typeof _0x2d72d9['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x28e5b7['start']=_0x3d5d02['Position']['fromObject'](_0x2d72d9['start']);}if(null!=_0x2d72d9['end']){if('object'!=typeof _0x2d72d9['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x28e5b7['end']=_0x3d5d02['Position']['fromObject'](_0x2d72d9['end']);}return _0x28e5b7;},_0x1536de['toObject']=function(_0x388e8a,_0x77aef2){_0x77aef2||(_0x77aef2={});var _0x4493e4={};return _0x77aef2['defaults']&&(_0x4493e4['start']=null,_0x4493e4['end']=null),null!=_0x388e8a['start']&&_0x388e8a['hasOwnProperty']('start')&&(_0x4493e4['start']=_0x3d5d02['Position']['toObject'](_0x388e8a['start'],_0x77aef2)),null!=_0x388e8a['end']&&_0x388e8a['hasOwnProperty']('end')&&(_0x4493e4['end']=_0x3d5d02['Position']['toObject'](_0x388e8a['end'],_0x77aef2)),_0x4493e4;},_0x1536de['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0x1536de['getTypeUrl']=function(_0x2e957c){return void 0x0===_0x2e957c&&(_0x2e957c='type.googleapis.com'),_0x2e957c+'/Range';},_0x1536de;}()),_0x3d5d02['Element']=(function(){function _0x324b5c(_0x38b9fe){if(this['children']=[],this['attributesBoolean']={},_0x38b9fe){for(var _0x47ddff=Object['keys'](_0x38b9fe),_0x4847a7=0x0;_0x4847a7<_0x47ddff['length'];++_0x4847a7)null!=_0x38b9fe[_0x47ddff[_0x4847a7]]&&(this[_0x47ddff[_0x4847a7]]=_0x38b9fe[_0x47ddff[_0x4847a7]]);}}return _0x324b5c['prototype']['name']='',_0x324b5c['prototype']['children']=_0x44a02f['emptyArray'],_0x324b5c['prototype']['data']='',_0x324b5c['prototype']['attributesBoolean']=_0x44a02f['emptyObject'],_0x324b5c['prototype']['attributesJson']='',_0x324b5c['create']=function(_0x22c49b){return new _0x324b5c(_0x22c49b);},_0x324b5c['encode']=function(_0x1f6420,_0x48c164){if(_0x48c164||(_0x48c164=_0x1fa1d3['create']()),null!=_0x1f6420['name']&&Object['hasOwnProperty']['call'](_0x1f6420,'name')&&_0x48c164['uint32'](0xa)['string'](_0x1f6420['name']),null!=_0x1f6420['children']&&_0x1f6420['children']['length']){for(var _0x4d6d41=0x0;_0x4d6d41<_0x1f6420['children']['length'];++_0x4d6d41)_0x3d5d02['Element']['encode'](_0x1f6420['children'][_0x4d6d41],_0x48c164['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x1f6420['data']&&Object['hasOwnProperty']['call'](_0x1f6420,'data')&&_0x48c164['uint32'](0x1a)['string'](_0x1f6420['data']),null!=_0x1f6420['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x1f6420,'attributesBoolean')){var _0x1628d4=Object['keys'](_0x1f6420['attributesBoolean']);for(_0x4d6d41=0x0;_0x4d6d41<_0x1628d4['length'];++_0x4d6d41)_0x48c164['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x1628d4[_0x4d6d41])['uint32'](0x10)['bool'](_0x1f6420['attributesBoolean'][_0x1628d4[_0x4d6d41]])['ldelim']();}return null!=_0x1f6420['attributesJson']&&Object['hasOwnProperty']['call'](_0x1f6420,'attributesJson')&&_0x48c164['uint32'](0x2a)['string'](_0x1f6420['attributesJson']),_0x48c164;},_0x324b5c['encodeDelimited']=function(_0x27a241,_0x8a40d4){return this['encode'](_0x27a241,_0x8a40d4)['ldelim']();},_0x324b5c['decode']=function(_0x250af5,_0x268364){_0x250af5 instanceof _0x14589a||(_0x250af5=_0x14589a['create'](_0x250af5));for(var _0xd726da,_0x40ef7b,_0x7c533f=void 0x0===_0x268364?_0x250af5['len']:_0x250af5['pos']+_0x268364,_0x536ab6=new _0x3d5d02['Element']();_0x250af5['pos']<_0x7c533f;){var _0x43f3ba=_0x250af5['uint32']();switch(_0x43f3ba>>>0x3){case 0x1:_0x536ab6['name']=_0x250af5['string']();break;case 0x2:_0x536ab6['children']&&_0x536ab6['children']['length']||(_0x536ab6['children']=[]),_0x536ab6['children']['push'](_0x3d5d02['Element']['decode'](_0x250af5,_0x250af5['uint32']()));break;case 0x3:_0x536ab6['data']=_0x250af5['string']();break;case 0x4:_0x536ab6['attributesBoolean']===_0x44a02f['emptyObject']&&(_0x536ab6['attributesBoolean']={});var _0x5392f1=_0x250af5['uint32']()+_0x250af5['pos'];for(_0xd726da='',_0x40ef7b=!0x1;_0x250af5['pos']<_0x5392f1;){var _0x719360=_0x250af5['uint32']();switch(_0x719360>>>0x3){case 0x1:_0xd726da=_0x250af5['string']();break;case 0x2:_0x40ef7b=_0x250af5['bool']();break;default:_0x250af5['skipType'](0x7&_0x719360);}}_0x536ab6['attributesBoolean'][_0xd726da]=_0x40ef7b;break;case 0x5:_0x536ab6['attributesJson']=_0x250af5['string']();break;default:_0x250af5['skipType'](0x7&_0x43f3ba);}}return _0x536ab6;},_0x324b5c['decodeDelimited']=function(_0x2b48c7){return _0x2b48c7 instanceof _0x14589a||(_0x2b48c7=new _0x14589a(_0x2b48c7)),this['decode'](_0x2b48c7,_0x2b48c7['uint32']());},_0x324b5c['verify']=function(_0x515692){if('object'!=typeof _0x515692||null===_0x515692)return'object\x20expected';if(null!=_0x515692['name']&&_0x515692['hasOwnProperty']('name')&&!_0x44a02f['isString'](_0x515692['name']))return'name:\x20string\x20expected';if(null!=_0x515692['children']&&_0x515692['hasOwnProperty']('children')){if(!Array['isArray'](_0x515692['children']))return'children:\x20array\x20expected';for(var _0x5922f5=0x0;_0x5922f5<_0x515692['children']['length'];++_0x5922f5){var _0x508bf9=_0x3d5d02['Element']['verify'](_0x515692['children'][_0x5922f5]);if(_0x508bf9)return'children.'+_0x508bf9;}}if(null!=_0x515692['data']&&_0x515692['hasOwnProperty']('data')&&!_0x44a02f['isString'](_0x515692['data']))return'data:\x20string\x20expected';if(null!=_0x515692['attributesBoolean']&&_0x515692['hasOwnProperty']('attributesBoolean')){if(!_0x44a02f['isObject'](_0x515692['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x38fc80=Object['keys'](_0x515692['attributesBoolean']);for(_0x5922f5=0x0;_0x5922f5<_0x38fc80['length'];++_0x5922f5)if('boolean'!=typeof _0x515692['attributesBoolean'][_0x38fc80[_0x5922f5]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x515692['attributesJson']&&_0x515692['hasOwnProperty']('attributesJson')&&!_0x44a02f['isString'](_0x515692['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x324b5c['fromObject']=function(_0x51760b){if(_0x51760b instanceof _0x3d5d02['Element'])return _0x51760b;var _0x2a027b=new _0x3d5d02['Element']();if(null!=_0x51760b['name']&&(_0x2a027b['name']=String(_0x51760b['name'])),_0x51760b['children']){if(!Array['isArray'](_0x51760b['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x2a027b['children']=[];for(var _0x4adc84=0x0;_0x4adc84<_0x51760b['children']['length'];++_0x4adc84){if('object'!=typeof _0x51760b['children'][_0x4adc84])throw TypeError('.Element.children:\x20object\x20expected');_0x2a027b['children'][_0x4adc84]=_0x3d5d02['Element']['fromObject'](_0x51760b['children'][_0x4adc84]);}}if(null!=_0x51760b['data']&&(_0x2a027b['data']=String(_0x51760b['data'])),_0x51760b['attributesBoolean']){if('object'!=typeof _0x51760b['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x2a027b['attributesBoolean']={};var _0x2d7821=Object['keys'](_0x51760b['attributesBoolean']);for(_0x4adc84=0x0;_0x4adc84<_0x2d7821['length'];++_0x4adc84)_0x2a027b['attributesBoolean'][_0x2d7821[_0x4adc84]]=Boolean(_0x51760b['attributesBoolean'][_0x2d7821[_0x4adc84]]);}return null!=_0x51760b['attributesJson']&&(_0x2a027b['attributesJson']=String(_0x51760b['attributesJson'])),_0x2a027b;},_0x324b5c['toObject']=function(_0x450329,_0x31e24b){_0x31e24b||(_0x31e24b={});var _0x272e3c,_0x21879c={};if((_0x31e24b['arrays']||_0x31e24b['defaults'])&&(_0x21879c['children']=[]),(_0x31e24b['objects']||_0x31e24b['defaults'])&&(_0x21879c['attributesBoolean']={}),_0x31e24b['defaults']&&(_0x21879c['name']='',_0x21879c['data']='',_0x21879c['attributesJson']=''),null!=_0x450329['name']&&_0x450329['hasOwnProperty']('name')&&(_0x21879c['name']=_0x450329['name']),_0x450329['children']&&_0x450329['children']['length']){_0x21879c['children']=[];for(var _0x2721ff=0x0;_0x2721ff<_0x450329['children']['length'];++_0x2721ff)_0x21879c['children'][_0x2721ff]=_0x3d5d02['Element']['toObject'](_0x450329['children'][_0x2721ff],_0x31e24b);}if(null!=_0x450329['data']&&_0x450329['hasOwnProperty']('data')&&(_0x21879c['data']=_0x450329['data']),_0x450329['attributesBoolean']&&(_0x272e3c=Object['keys'](_0x450329['attributesBoolean']))['length']){_0x21879c['attributesBoolean']={};for(_0x2721ff=0x0;_0x2721ff<_0x272e3c['length'];++_0x2721ff)_0x21879c['attributesBoolean'][_0x272e3c[_0x2721ff]]=_0x450329['attributesBoolean'][_0x272e3c[_0x2721ff]];}return null!=_0x450329['attributesJson']&&_0x450329['hasOwnProperty']('attributesJson')&&(_0x21879c['attributesJson']=_0x450329['attributesJson']),_0x21879c;},_0x324b5c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0x324b5c['getTypeUrl']=function(_0x4e5b64){return void 0x0===_0x4e5b64&&(_0x4e5b64='type.googleapis.com'),_0x4e5b64+'/Element';},_0x324b5c;}()),_0x3d5d02;})());class r{['_protobufRoot'];constructor(){this['_protobufRoot']=u;}['getDescriptor'](_0x1c75eb){return new y(this['_protobufRoot'][_0x1c75eb]);}}class y{['_protobuf'];constructor(_0x25c305){this['_protobuf']=_0x25c305;}['compress'](_0x4ba406){const _0x3d42d9=this['_protobuf']['verify'](_0x4ba406);if(_0x3d42d9)throw Error(_0x3d42d9);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x4ba406))['finish']();}['decompress'](_0x1c7c48){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x1c7c48),{'oneofs':!0x0});}}function _(_0x383f13,_0x3d6e5c){const _0x4ac12d=_0x5b4797(_0x383f13);return _0x4ac12d['path'][_0x4ac12d['path']['length']-0x1]+=_0x3d6e5c,_0x4ac12d;}function O(_0xd919d7,_0x1df228){return _0xd919d7['root']===_0x1df228['root']&&_0x5e231c(_0xd919d7['path'],_0x1df228['path']);}function $(_0x246da2){P(_0x246da2,_0x29b389=>('main'==_0x29b389['root']?(_0x29b389['rootMain']=!0x0,delete _0x29b389['root']):'$graveyard'==_0x29b389['root']&&(_0x29b389['rootGraveyard']=!0x0,delete _0x29b389['root']),_0x29b389));}function J(_0x44a64a){P(_0x44a64a,_0x314f3c=>(_0x314f3c['rootMain']?(_0x314f3c['root']='main',delete _0x314f3c['rootMain']):_0x314f3c['rootGraveyard']&&(_0x314f3c['root']='$graveyard',delete _0x314f3c['rootGraveyard']),_0x314f3c));}function P(_0x16289e,_0x168df5){for(const _0x1664ca in _0x16289e){const _0x287015=_0x16289e[_0x1664ca];'nodes'!==_0x1664ca&&_0x3a5d5d(_0x287015)&&(_0x287015['path']&&(_0x287015['root']||_0x287015['rootMain']||_0x287015['rootGraveyard'])?_0x16289e[_0x1664ca]=_0x168df5(_0x287015):P(_0x287015,_0x168df5));}return _0x16289e;}class e{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x12950c,_0x2ededd,_0x134ef9){this['_id']=_0x12950c,this['_operationName']=_0x2ededd,this['_protobufDescriptor']=_0x134ef9;}['compress'](_0xfceb2a,_0xce7512){const _0x55b4ac=_0xce7512['shift']();return $(_0x55b4ac),_0xfceb2a['buffers']['push'](this['_protobufDescriptor']['compress'](_0x55b4ac)),_0xfceb2a['types']['push'](this['_id']),!0x0;}['decompress'](_0x41a5f5,_0x54bc9f){_0x54bc9f['types']['shift']();const _0x550a80=this['_protobufDescriptor']['decompress'](_0x54bc9f['buffers']['shift']());J(_0x550a80),_0x550a80['__className']=this['_operationName'],_0x41a5f5['push'](_0x550a80);}}class s extends e{['compress'](_0x442eb5,_0x4d8431){const _0x787346=_0x4d8431['shift']();return this['_serializeOneOf']('oldValue',_0x787346),this['_serializeOneOf']('newValue',_0x787346),$(_0x787346),_0x442eb5['buffers']['push'](this['_protobufDescriptor']['compress'](_0x787346)),_0x442eb5['types']['push'](this['_id']),!0x0;}['decompress'](_0x1805de,_0x1f132d){const {types:_0x42f7f4,buffers:_0x1fe564}=_0x1f132d,_0x53e79b=this['_protobufDescriptor']['decompress'](_0x1fe564['shift']());_0x42f7f4['shift'](),this['_deserializeOneOf']('oldValue',_0x53e79b),this['_deserializeOneOf']('newValue',_0x53e79b),J(_0x53e79b),_0x53e79b['__className']=this['_operationName'],_0x1805de['push'](_0x53e79b);}['_serializeOneOf'](_0x19d456,_0x1c3eb8){const _0x1b0c4d=_0x1c3eb8[_0x19d456];'boolean'==typeof _0x1b0c4d?_0x1c3eb8[_0x19d456+'Boolean']=_0x1b0c4d:_0x1c3eb8[_0x19d456+'Json']=JSON['stringify'](_0x1b0c4d);}['_deserializeOneOf'](_0x3abf3e,_0x47efdb){const _0x12ac87=_0x3abf3e+'Json';_0x47efdb[_0x12ac87]?(_0x47efdb[_0x3abf3e]=JSON['parse'](_0x47efdb[_0x12ac87]),delete _0x47efdb[_0x12ac87]):(_0x47efdb[_0x3abf3e]=_0x47efdb[_0x3abf3e+'Boolean'],delete _0x47efdb[_0x3abf3e+'Boolean']);}}class i extends e{['compress'](_0x1862f1,_0x3fe7b3){const _0x49df59=_0x3fe7b3['shift']();return this['_serializeNodesAttributes'](_0x49df59['nodes']),$(_0x49df59),_0x1862f1['buffers']['push'](this['_protobufDescriptor']['compress'](_0x49df59)),_0x1862f1['types']['push'](this['_id']),!0x0;}['decompress'](_0x305620,_0x1cb03b){const {types:_0x1e3a1d,buffers:_0x3c597d}=_0x1cb03b,_0xb60aca=this['_protobufDescriptor']['decompress'](_0x3c597d['shift']());_0x1e3a1d['shift'](),_0xb60aca['nodes']||(_0xb60aca['nodes']=[]),this['_deserializeNodesAttributes'](_0xb60aca['nodes']),J(_0xb60aca),_0xb60aca['__className']=this['_operationName'],_0x305620['push'](_0xb60aca);}['_serializeNodesAttributes'](_0x1ec7d7){for(const _0x4fce08 of _0x1ec7d7){if(_0x4fce08['attributes']){const _0x5e888b=_0x4fce08['attributes'];this['_areValuesBoolean'](_0x5e888b)?_0x4fce08['attributesBoolean']=_0x5e888b:_0x4fce08['attributesJson']=JSON['stringify'](_0x5e888b);}_0x4fce08['children']&&this['_serializeNodesAttributes'](_0x4fce08['children']);}}['_deserializeNodesAttributes'](_0x46d6c7){for(const _0x4336c2 of _0x46d6c7)(_0x4336c2['attributesBoolean']||_0x4336c2['attributesJson'])&&(_0x4336c2['attributesBoolean']?(_0x4336c2['attributes']=_0x4336c2['attributesBoolean'],delete _0x4336c2['attributesBoolean']):(_0x4336c2['attributes']=JSON['parse'](_0x4336c2['attributesJson']),delete _0x4336c2['attributesJson'])),_0x4336c2['children']&&this['_deserializeNodesAttributes'](_0x4336c2['children']);}['_areValuesBoolean'](_0x8d141){return Object['keys'](_0x8d141)['every'](_0x4668e9=>'boolean'==typeof _0x8d141[_0x4668e9]);}}class n extends e{['decompress'](_0x2f714c,_0x3d28d3){super['decompress'](_0x2f714c,_0x3d28d3);const _0x5a8d48=_0x2f714c[_0x2f714c['length']-0x1];_0x5a8d48['oldRange']||(_0x5a8d48['oldRange']=null),_0x5a8d48['newRange']||(_0x5a8d48['newRange']=null);}}class p extends e{['compress'](_0x27c01f,_0x20b609){return _0x20b609['shift'](),_0x27c01f['types']['push'](this['_id']),!0x0;}['decompress'](_0x35bb68,_0x43524f){_0x43524f['types']['shift'](),_0x35bb68['push']({'__className':this['_operationName']});}}class a extends n{['_omittedNamespace'];constructor(_0x2fd630,_0x577bdd,_0x33a189,_0x1572ec){super(_0x2fd630,_0x577bdd,_0x33a189),this['_omittedNamespace']=_0x1572ec+':';}['compress'](_0x196773,_0x2bf794){return!('MarkerOperation'!=_0x2bf794[0x0]['__className']||!_0x2bf794[0x0]['name']['startsWith'](this['_omittedNamespace']))&&(_0x2bf794[0x0]['name']=_0x2bf794[0x0]['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x196773,_0x2bf794),!0x0);}['decompress'](_0x3c2457,_0x782e18){super['decompress'](_0x3c2457,_0x782e18);const _0x9ed2c9=_0x3c2457[_0x3c2457['length']-0x1];_0x9ed2c9['name']=this['_omittedNamespace']+_0x9ed2c9['name'];}}class b{['_id'];['_context'];constructor(_0x574370,_0x47a3cc){this['_id']=_0x574370,this['_context']=_0x47a3cc;}['compress'](_0x255f78,_0x5a60d4){let _0x5c6c88;for(;_0x5a60d4['length']>0x1&&this['_compareOperations'](_0x5a60d4[0x0],_0x5a60d4[0x1]);)_0x5c6c88?(_0x5c6c88=this['_combineNext'](_0x5a60d4['shift'](),_0x5c6c88),_0x255f78['types']['push'](0x0)):(_0x5c6c88=_0x5b4797(_0x5a60d4['shift']()),_0x255f78['types']['push'](this['_id']));return!!_0x5c6c88&&(_0x5c6c88=this['_combineNext'](_0x5a60d4['shift'](),_0x5c6c88),_0x255f78['types']['push'](0x0),_0x255f78['buffers']['push'](this['_compressSingleOperation'](_0x5c6c88)),!0x0);}['decompress'](_0x32b496,_0x142d38){const _0x916a71=this['_decompressSingleOperation'](_0x142d38);for(;0x0==_0x142d38['types'][0x0];)_0x142d38['types']['shift'](),_0x32b496['push'](this['_splitCurrent'](_0x916a71));_0x32b496['push'](_0x916a71);}}class m extends b{['_combineNext'](_0x1b303f,_0x12bfab){return _0x12bfab['nodes'][0x0]['data']+=_0x1b303f['nodes'][0x0]['data'],_0x12bfab;}['_splitCurrent'](_0x981b9){const _0x32f5d6=_0x5b4797(_0x981b9),_0xdbb5e5=_0x32f5d6['nodes'][0x0],_0x412982=_0x981b9['nodes'][0x0],_0x2eb2da=_0x412982['data'][Symbol['iterator']]()['next']()['value'],_0x3fbd6b=_0x2eb2da['length'];return _0xdbb5e5['data']=_0x2eb2da,_0x412982['data']=_0x412982['data']['substr'](_0x3fbd6b),_0x981b9['position']=_(_0x981b9['position'],_0x3fbd6b),_0x32f5d6;}['_compareOperations'](_0x29863b,_0x5e63b0){if(this['_checkOperation'](_0x29863b)&&this['_checkOperation'](_0x5e63b0)){const _0x2ae654=_0x29863b['nodes'][0x0]['data']['length'],_0x1ec673=O(_(_0x29863b['position'],_0x2ae654),_0x5e63b0['position']),_0x37aed7=_0x29863b['nodes'][0x0],_0x2ebbf9=_0x5e63b0['nodes'][0x0];return _0x1ec673&&this['_compareAttributes'](_0x37aed7,_0x2ebbf9);}return!0x1;}['_compressSingleOperation'](_0x43c03d){const _0x590d05={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x590d05,[_0x43c03d]),_0x590d05['buffers'][0x0];}['_decompressSingleOperation'](_0x40aa40){const _0x512385=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x512385,_0x40aa40),_0x512385[0x0];}['_checkOperation'](_0x75da0b){return'InsertOperation'==_0x75da0b['__className']&&0x1==_0x75da0b['nodes']['length']&&_0x75da0b['nodes'][0x0]['data']&&!_0x75da0b['wasUndone']&&0x1==Array['from'](_0x75da0b['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x3d5b3d,_0x5cfc48){const _0xdaf5fd=Object['keys'](_0x3d5b3d['attributes']||{}),_0x2afabe=Object['keys'](_0x5cfc48['attributes']||{});return _0xdaf5fd['length']===_0x2afabe['length']&&_0xdaf5fd['every'](_0xb93c68=>_0x5cfc48['attributes'][_0xb93c68]&&_0x5cfc48['attributes'][_0xb93c68]===_0x3d5b3d['attributes'][_0xb93c68]);}}class c extends b{['_combineNext'](_0x1a6e18,_0x3deea8){return _0x3deea8['howMany']++,_0x3deea8['sourcePosition']=_0x5b4797(_0x1a6e18['sourcePosition']),_0x3deea8;}['_splitCurrent'](_0x120858){const _0x578ae4=_0x5b4797(_0x120858);return _0x120858['howMany']--,_0x578ae4['howMany']=0x1,_0x578ae4['sourcePosition']=_(_0x578ae4['sourcePosition'],_0x120858['howMany']),_0x578ae4;}['_compareOperations'](_0x99fb02,_0x1d29fd){return!(!this['_checkOperation'](_0x99fb02)||!this['_checkOperation'](_0x1d29fd))&&(O(_(_0x99fb02['sourcePosition'],-0x1),_0x1d29fd['sourcePosition'])&&O(_0x99fb02['targetPosition'],_0x1d29fd['targetPosition']));}['_compressSingleOperation'](_0xb1a513){const _0x3fab7a={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x3fab7a,[_0xb1a513]),_0x3fab7a['buffers'][0x0];}['_decompressSingleOperation'](_0x2614d0){const _0x1f2334=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x1f2334,_0x2614d0),_0x1f2334[0x0];}['_checkOperation'](_0x173564){return'MoveOperation'==_0x173564['__className']&&'$graveyard'==_0x173564['targetPosition']['root']&&0x1==_0x173564['howMany']&&!_0x173564['wasUndone'];}}class h extends b{['_combineNext'](_0x1e0d4b,_0x5d190b){return _0x5d190b['howMany']++,_0x5d190b;}['_splitCurrent'](_0x3d79d6){const _0x1dcee6=_0x5b4797(_0x3d79d6);return _0x1dcee6['howMany']=0x1,_0x3d79d6['howMany']--,_0x1dcee6;}['_compareOperations'](_0x155b53,_0x21c04d){return!(!this['_checkOperation'](_0x155b53)||!this['_checkOperation'](_0x21c04d))&&(O(_0x155b53['sourcePosition'],_0x21c04d['sourcePosition'])&&O(_0x155b53['targetPosition'],_0x21c04d['targetPosition']));}['_compressSingleOperation'](_0x2b1d41){const _0x213b55={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x213b55,[_0x2b1d41]),_0x213b55['buffers'][0x0];}['_decompressSingleOperation'](_0x1e4bcd){const _0x492f61=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x492f61,_0x1e4bcd),_0x492f61[0x0];}['_checkOperation'](_0x38260c){return'MoveOperation'==_0x38260c['__className']&&'$graveyard'==_0x38260c['targetPosition']['root']&&0x1==_0x38260c['howMany']&&!_0x38260c['wasUndone'];}}class f extends b{['compress'](_0x4305f5,_0x4b988f){if(!this['_compareOperations'](_0x4b988f[0x0],_0x4b988f[0x1]))return!0x1;const _0x2bc424=_0x4b988f['shift']();return _0x2bc424['oldRange']=null,_0x2bc424['newRange']&&O(_0x2bc424['newRange']['start'],_0x2bc424['newRange']['end'])&&(_0x2bc424['newRange']['end']=null),_0x4b988f['shift'](),_0x4305f5['types']['push'](this['_id']),_0x4305f5['types']['push'](0x0),_0x4305f5['buffers']['push'](this['_compressSingleOperation'](_0x2bc424)),!0x0;}['decompress'](_0x545c89,_0x206c30){const _0x39e978=this['_decompressSingleOperation'](_0x206c30);_0x39e978['newRange']&&!_0x39e978['newRange']['end']&&(_0x39e978['newRange']['end']=_0x5b4797(_0x39e978['newRange']['start']));const _0x517d6b=_0x5b4797(_0x39e978);_0x517d6b['newRange']&&(_0x517d6b['newRange']['start']['stickiness']='toNone',_0x517d6b['newRange']['end']=_0x5b4797(_0x517d6b['newRange']['start'])),_0x517d6b['name']='user:position:'+_0x517d6b['name']['split'](':')[0x2],_0x206c30['types']['shift'](),_0x545c89['push'](_0x39e978),_0x545c89['push'](_0x517d6b);}['_compressSingleOperation'](_0x10f4b3){const _0x16fa53={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x16fa53,[_0x10f4b3]),_0x16fa53['buffers'][0x0];}['_decompressSingleOperation'](_0x3f0918){const _0x1bee30=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x1bee30,_0x3f0918),_0x1bee30[0x0];}['_compareOperations'](_0x40f552,_0x77c1cb){return!(!_0x40f552||!_0x77c1cb)&&('MarkerOperation'==_0x40f552['__className']&&'MarkerOperation'==_0x77c1cb['__className']&&!(!_0x40f552['name']['startsWith']('user:')||!_0x77c1cb['name']['startsWith']('user:')||_0x40f552['name']==_0x77c1cb['name']));}}class g{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new r();const _0x2b7430=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',_0x2b7430,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new a(0x13,'MarkerOperation',_0x2b7430,'suggestion')),this['_registerOperationCompressor'](0x14,'RootOperation',e),this['_registerActionCompressor'](0x64,'TypingAction',m),this['_registerActionCompressor'](0x65,'DeletingAction',c),this['_registerActionCompressor'](0x66,'ForwardDeletingAction',h),this['_registerActionCompressor'](0x67,'UserSelectionAction',f);}['compress'](_0x4b1f00){if(!_0x4b1f00||!_0x4b1f00[0x0])throw new _0x3a8a44('no-operations-provided',this);const _0x106035={'types':[],'buffers':[],'baseVersion':_0x4b1f00[0x0]['baseVersion']};for(;_0x4b1f00['length'];)this['_getCompressorByName']('UserSelectionAction')['compress'](_0x106035,_0x4b1f00)||this['_getCompressorByName']('TypingAction')['compress'](_0x106035,_0x4b1f00)||this['_getCompressorByName']('DeletingAction')['compress'](_0x106035,_0x4b1f00)||this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x106035,_0x4b1f00)||this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x106035,_0x4b1f00)||this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x106035,_0x4b1f00)||this['_getCompressorByName'](_0x4b1f00[0x0]['__className'])['compress'](_0x106035,_0x4b1f00);return _0x106035;}['decompress'](_0x18789c){const _0x5c881c=[];for(;_0x18789c['types']['length'];){this['_compressorById']['get'](_0x18789c['types'][0x0])['decompress'](_0x5c881c,_0x18789c);}return _0x5c881c['forEach']((_0x19c216,_0x8577c8)=>_0x19c216['baseVersion']=_0x18789c['baseVersion']+_0x8577c8),_0x5c881c;}['_getCompressorByName'](_0x214646){return this['_compressorByName']['get'](_0x214646);}['_registerOperationCompressor'](_0x1b8fb1,_0x36a6f8,_0x24631f){const _0x2c6f83=new _0x24631f(_0x1b8fb1,_0x36a6f8,this['_protobufFactory']['getDescriptor'](_0x36a6f8));this['_registerCompressor'](_0x1b8fb1,_0x36a6f8,_0x2c6f83);}['_registerActionCompressor'](_0x4e795b,_0x2df73a,_0x404a00){const _0x2bad6a=new _0x404a00(_0x4e795b,this);this['_registerCompressor'](_0x4e795b,_0x2df73a,_0x2bad6a);}['_registerCompressor'](_0x83e36b,_0x117359,_0xb318f6){this['_compressorById']['set'](_0x83e36b,_0xb318f6),this['_compressorByName']['set'](_0x117359,_0xb318f6);}}export{g as Compressor};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-operations-compressor",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "42.0.0-alpha.0",
|
|
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,7 +33,7 @@
|
|
|
33
33
|
"main": "src/index.js",
|
|
34
34
|
"types": "src/index.d.ts",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"ckeditor5": "
|
|
36
|
+
"ckeditor5": "42.0.0-alpha.0",
|
|
37
37
|
"lodash-es": "4.17.21",
|
|
38
38
|
"protobufjs": "7.2.5"
|
|
39
39
|
},
|