@ckeditor/ckeditor5-operations-compressor 41.4.2 → 42.0.0-alpha.1
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 _0x21ff6e}from'@ckeditor/ckeditor5-utils/dist/index.js';import _0xe49c00 from'protobufjs/minimal.js';import{cloneDeep as _0x115414,isEqual as _0x474f1d,isObject as _0x507d22}from'lodash-es';const u=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>{var _0x5ade6a=_0xe49c00['Reader'],_0x1ca5c1=_0xe49c00['Writer'],_0x468a0a=_0xe49c00['util'],_0x4d18b3=_0xe49c00['roots']['default']||(_0xe49c00['roots']['default']={});return _0x4d18b3['AttributeOperation']=(function(){function _0x59aed0(_0x258a19){if(_0x258a19){for(var _0x37fb96=Object['keys'](_0x258a19),_0x1d5c75=0x0;_0x1d5c75<_0x37fb96['length'];++_0x1d5c75)null!=_0x258a19[_0x37fb96[_0x1d5c75]]&&(this[_0x37fb96[_0x1d5c75]]=_0x258a19[_0x37fb96[_0x1d5c75]]);}}return _0x59aed0['prototype']['range']=null,_0x59aed0['prototype']['key']='',_0x59aed0['prototype']['oldValueBoolean']=!0x1,_0x59aed0['prototype']['oldValueJson']='',_0x59aed0['prototype']['newValueBoolean']=!0x1,_0x59aed0['prototype']['newValueJson']='',_0x59aed0['prototype']['wasUndone']=!0x1,_0x59aed0['create']=function(_0x4ab232){return new _0x59aed0(_0x4ab232);},_0x59aed0['encode']=function(_0x25d44f,_0x17843e){return _0x17843e||(_0x17843e=_0x1ca5c1['create']()),null!=_0x25d44f['range']&&Object['hasOwnProperty']['call'](_0x25d44f,'range')&&_0x4d18b3['Range']['encode'](_0x25d44f['range'],_0x17843e['uint32'](0xa)['fork']())['ldelim'](),null!=_0x25d44f['key']&&Object['hasOwnProperty']['call'](_0x25d44f,'key')&&_0x17843e['uint32'](0x12)['string'](_0x25d44f['key']),null!=_0x25d44f['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x25d44f,'oldValueBoolean')&&_0x17843e['uint32'](0x18)['bool'](_0x25d44f['oldValueBoolean']),null!=_0x25d44f['oldValueJson']&&Object['hasOwnProperty']['call'](_0x25d44f,'oldValueJson')&&_0x17843e['uint32'](0x22)['string'](_0x25d44f['oldValueJson']),null!=_0x25d44f['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x25d44f,'newValueBoolean')&&_0x17843e['uint32'](0x28)['bool'](_0x25d44f['newValueBoolean']),null!=_0x25d44f['newValueJson']&&Object['hasOwnProperty']['call'](_0x25d44f,'newValueJson')&&_0x17843e['uint32'](0x32)['string'](_0x25d44f['newValueJson']),null!=_0x25d44f['wasUndone']&&Object['hasOwnProperty']['call'](_0x25d44f,'wasUndone')&&_0x17843e['uint32'](0x38)['bool'](_0x25d44f['wasUndone']),_0x17843e;},_0x59aed0['encodeDelimited']=function(_0xa6e472,_0x43254c){return this['encode'](_0xa6e472,_0x43254c)['ldelim']();},_0x59aed0['decode']=function(_0x26872b,_0x11238c){_0x26872b instanceof _0x5ade6a||(_0x26872b=_0x5ade6a['create'](_0x26872b));for(var _0x28a5b9=void 0x0===_0x11238c?_0x26872b['len']:_0x26872b['pos']+_0x11238c,_0x578686=new _0x4d18b3['AttributeOperation']();_0x26872b['pos']<_0x28a5b9;){var _0x5cb42c=_0x26872b['uint32']();switch(_0x5cb42c>>>0x3){case 0x1:_0x578686['range']=_0x4d18b3['Range']['decode'](_0x26872b,_0x26872b['uint32']());break;case 0x2:_0x578686['key']=_0x26872b['string']();break;case 0x3:_0x578686['oldValueBoolean']=_0x26872b['bool']();break;case 0x4:_0x578686['oldValueJson']=_0x26872b['string']();break;case 0x5:_0x578686['newValueBoolean']=_0x26872b['bool']();break;case 0x6:_0x578686['newValueJson']=_0x26872b['string']();break;case 0x7:_0x578686['wasUndone']=_0x26872b['bool']();break;default:_0x26872b['skipType'](0x7&_0x5cb42c);}}return _0x578686;},_0x59aed0['decodeDelimited']=function(_0x597d45){return _0x597d45 instanceof _0x5ade6a||(_0x597d45=new _0x5ade6a(_0x597d45)),this['decode'](_0x597d45,_0x597d45['uint32']());},_0x59aed0['verify']=function(_0x309eab){if('object'!=typeof _0x309eab||null===_0x309eab)return'object\x20expected';if(null!=_0x309eab['range']&&_0x309eab['hasOwnProperty']('range')){var _0x4cff22=_0x4d18b3['Range']['verify'](_0x309eab['range']);if(_0x4cff22)return'range.'+_0x4cff22;}return null!=_0x309eab['key']&&_0x309eab['hasOwnProperty']('key')&&!_0x468a0a['isString'](_0x309eab['key'])?'key:\x20string\x20expected':null!=_0x309eab['oldValueBoolean']&&_0x309eab['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x309eab['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x309eab['oldValueJson']&&_0x309eab['hasOwnProperty']('oldValueJson')&&!_0x468a0a['isString'](_0x309eab['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x309eab['newValueBoolean']&&_0x309eab['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x309eab['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x309eab['newValueJson']&&_0x309eab['hasOwnProperty']('newValueJson')&&!_0x468a0a['isString'](_0x309eab['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x309eab['wasUndone']&&_0x309eab['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x309eab['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x59aed0['fromObject']=function(_0x58c81c){if(_0x58c81c instanceof _0x4d18b3['AttributeOperation'])return _0x58c81c;var _0x207d3a=new _0x4d18b3['AttributeOperation']();if(null!=_0x58c81c['range']){if('object'!=typeof _0x58c81c['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x207d3a['range']=_0x4d18b3['Range']['fromObject'](_0x58c81c['range']);}return null!=_0x58c81c['key']&&(_0x207d3a['key']=String(_0x58c81c['key'])),null!=_0x58c81c['oldValueBoolean']&&(_0x207d3a['oldValueBoolean']=Boolean(_0x58c81c['oldValueBoolean'])),null!=_0x58c81c['oldValueJson']&&(_0x207d3a['oldValueJson']=String(_0x58c81c['oldValueJson'])),null!=_0x58c81c['newValueBoolean']&&(_0x207d3a['newValueBoolean']=Boolean(_0x58c81c['newValueBoolean'])),null!=_0x58c81c['newValueJson']&&(_0x207d3a['newValueJson']=String(_0x58c81c['newValueJson'])),null!=_0x58c81c['wasUndone']&&(_0x207d3a['wasUndone']=Boolean(_0x58c81c['wasUndone'])),_0x207d3a;},_0x59aed0['toObject']=function(_0xc95c5,_0x2fc12f){_0x2fc12f||(_0x2fc12f={});var _0xb1b2e9={};return _0x2fc12f['defaults']&&(_0xb1b2e9['range']=null,_0xb1b2e9['key']='',_0xb1b2e9['oldValueBoolean']=!0x1,_0xb1b2e9['oldValueJson']='',_0xb1b2e9['newValueBoolean']=!0x1,_0xb1b2e9['newValueJson']='',_0xb1b2e9['wasUndone']=!0x1),null!=_0xc95c5['range']&&_0xc95c5['hasOwnProperty']('range')&&(_0xb1b2e9['range']=_0x4d18b3['Range']['toObject'](_0xc95c5['range'],_0x2fc12f)),null!=_0xc95c5['key']&&_0xc95c5['hasOwnProperty']('key')&&(_0xb1b2e9['key']=_0xc95c5['key']),null!=_0xc95c5['oldValueBoolean']&&_0xc95c5['hasOwnProperty']('oldValueBoolean')&&(_0xb1b2e9['oldValueBoolean']=_0xc95c5['oldValueBoolean']),null!=_0xc95c5['oldValueJson']&&_0xc95c5['hasOwnProperty']('oldValueJson')&&(_0xb1b2e9['oldValueJson']=_0xc95c5['oldValueJson']),null!=_0xc95c5['newValueBoolean']&&_0xc95c5['hasOwnProperty']('newValueBoolean')&&(_0xb1b2e9['newValueBoolean']=_0xc95c5['newValueBoolean']),null!=_0xc95c5['newValueJson']&&_0xc95c5['hasOwnProperty']('newValueJson')&&(_0xb1b2e9['newValueJson']=_0xc95c5['newValueJson']),null!=_0xc95c5['wasUndone']&&_0xc95c5['hasOwnProperty']('wasUndone')&&(_0xb1b2e9['wasUndone']=_0xc95c5['wasUndone']),_0xb1b2e9;},_0x59aed0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe49c00['util']['toJSONOptions']);},_0x59aed0['getTypeUrl']=function(_0x44d88a){return void 0x0===_0x44d88a&&(_0x44d88a='type.googleapis.com'),_0x44d88a+'/AttributeOperation';},_0x59aed0;}()),_0x4d18b3['InsertOperation']=(function(){function _0x422119(_0x22ad07){if(this['nodes']=[],_0x22ad07){for(var _0x150bac=Object['keys'](_0x22ad07),_0x7eefb7=0x0;_0x7eefb7<_0x150bac['length'];++_0x7eefb7)null!=_0x22ad07[_0x150bac[_0x7eefb7]]&&(this[_0x150bac[_0x7eefb7]]=_0x22ad07[_0x150bac[_0x7eefb7]]);}}return _0x422119['prototype']['position']=null,_0x422119['prototype']['nodes']=_0x468a0a['emptyArray'],_0x422119['prototype']['shouldReceiveAttributes']=!0x1,_0x422119['prototype']['wasUndone']=!0x1,_0x422119['create']=function(_0x14a5d1){return new _0x422119(_0x14a5d1);},_0x422119['encode']=function(_0x32e8e5,_0x3f60e2){if(_0x3f60e2||(_0x3f60e2=_0x1ca5c1['create']()),null!=_0x32e8e5['position']&&Object['hasOwnProperty']['call'](_0x32e8e5,'position')&&_0x4d18b3['Position']['encode'](_0x32e8e5['position'],_0x3f60e2['uint32'](0xa)['fork']())['ldelim'](),null!=_0x32e8e5['nodes']&&_0x32e8e5['nodes']['length']){for(var _0x22fd08=0x0;_0x22fd08<_0x32e8e5['nodes']['length'];++_0x22fd08)_0x4d18b3['Element']['encode'](_0x32e8e5['nodes'][_0x22fd08],_0x3f60e2['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x32e8e5['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x32e8e5,'shouldReceiveAttributes')&&_0x3f60e2['uint32'](0x18)['bool'](_0x32e8e5['shouldReceiveAttributes']),null!=_0x32e8e5['wasUndone']&&Object['hasOwnProperty']['call'](_0x32e8e5,'wasUndone')&&_0x3f60e2['uint32'](0x20)['bool'](_0x32e8e5['wasUndone']),_0x3f60e2;},_0x422119['encodeDelimited']=function(_0xdd7427,_0x145b2f){return this['encode'](_0xdd7427,_0x145b2f)['ldelim']();},_0x422119['decode']=function(_0x1321af,_0x40c9b0){_0x1321af instanceof _0x5ade6a||(_0x1321af=_0x5ade6a['create'](_0x1321af));for(var _0x5eb67b=void 0x0===_0x40c9b0?_0x1321af['len']:_0x1321af['pos']+_0x40c9b0,_0x57550f=new _0x4d18b3['InsertOperation']();_0x1321af['pos']<_0x5eb67b;){var _0x5ca1ea=_0x1321af['uint32']();switch(_0x5ca1ea>>>0x3){case 0x1:_0x57550f['position']=_0x4d18b3['Position']['decode'](_0x1321af,_0x1321af['uint32']());break;case 0x2:_0x57550f['nodes']&&_0x57550f['nodes']['length']||(_0x57550f['nodes']=[]),_0x57550f['nodes']['push'](_0x4d18b3['Element']['decode'](_0x1321af,_0x1321af['uint32']()));break;case 0x3:_0x57550f['shouldReceiveAttributes']=_0x1321af['bool']();break;case 0x4:_0x57550f['wasUndone']=_0x1321af['bool']();break;default:_0x1321af['skipType'](0x7&_0x5ca1ea);}}return _0x57550f;},_0x422119['decodeDelimited']=function(_0x2d3c87){return _0x2d3c87 instanceof _0x5ade6a||(_0x2d3c87=new _0x5ade6a(_0x2d3c87)),this['decode'](_0x2d3c87,_0x2d3c87['uint32']());},_0x422119['verify']=function(_0x54f303){if('object'!=typeof _0x54f303||null===_0x54f303)return'object\x20expected';if(null!=_0x54f303['position']&&_0x54f303['hasOwnProperty']('position')&&(_0x5c2dc4=_0x4d18b3['Position']['verify'](_0x54f303['position'])))return'position.'+_0x5c2dc4;if(null!=_0x54f303['nodes']&&_0x54f303['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x54f303['nodes']))return'nodes:\x20array\x20expected';for(var _0xce49f8=0x0;_0xce49f8<_0x54f303['nodes']['length'];++_0xce49f8){var _0x5c2dc4;if(_0x5c2dc4=_0x4d18b3['Element']['verify'](_0x54f303['nodes'][_0xce49f8]))return'nodes.'+_0x5c2dc4;}}return null!=_0x54f303['shouldReceiveAttributes']&&_0x54f303['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x54f303['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x54f303['wasUndone']&&_0x54f303['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x54f303['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x422119['fromObject']=function(_0x1fd49c){if(_0x1fd49c instanceof _0x4d18b3['InsertOperation'])return _0x1fd49c;var _0x2aced1=new _0x4d18b3['InsertOperation']();if(null!=_0x1fd49c['position']){if('object'!=typeof _0x1fd49c['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x2aced1['position']=_0x4d18b3['Position']['fromObject'](_0x1fd49c['position']);}if(_0x1fd49c['nodes']){if(!Array['isArray'](_0x1fd49c['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x2aced1['nodes']=[];for(var _0x1924bd=0x0;_0x1924bd<_0x1fd49c['nodes']['length'];++_0x1924bd){if('object'!=typeof _0x1fd49c['nodes'][_0x1924bd])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x2aced1['nodes'][_0x1924bd]=_0x4d18b3['Element']['fromObject'](_0x1fd49c['nodes'][_0x1924bd]);}}return null!=_0x1fd49c['shouldReceiveAttributes']&&(_0x2aced1['shouldReceiveAttributes']=Boolean(_0x1fd49c['shouldReceiveAttributes'])),null!=_0x1fd49c['wasUndone']&&(_0x2aced1['wasUndone']=Boolean(_0x1fd49c['wasUndone'])),_0x2aced1;},_0x422119['toObject']=function(_0x2d6a52,_0x1b273a){_0x1b273a||(_0x1b273a={});var _0x5ac894={};if((_0x1b273a['arrays']||_0x1b273a['defaults'])&&(_0x5ac894['nodes']=[]),_0x1b273a['defaults']&&(_0x5ac894['position']=null,_0x5ac894['shouldReceiveAttributes']=!0x1,_0x5ac894['wasUndone']=!0x1),null!=_0x2d6a52['position']&&_0x2d6a52['hasOwnProperty']('position')&&(_0x5ac894['position']=_0x4d18b3['Position']['toObject'](_0x2d6a52['position'],_0x1b273a)),_0x2d6a52['nodes']&&_0x2d6a52['nodes']['length']){_0x5ac894['nodes']=[];for(var _0x488ab9=0x0;_0x488ab9<_0x2d6a52['nodes']['length'];++_0x488ab9)_0x5ac894['nodes'][_0x488ab9]=_0x4d18b3['Element']['toObject'](_0x2d6a52['nodes'][_0x488ab9],_0x1b273a);}return null!=_0x2d6a52['shouldReceiveAttributes']&&_0x2d6a52['hasOwnProperty']('shouldReceiveAttributes')&&(_0x5ac894['shouldReceiveAttributes']=_0x2d6a52['shouldReceiveAttributes']),null!=_0x2d6a52['wasUndone']&&_0x2d6a52['hasOwnProperty']('wasUndone')&&(_0x5ac894['wasUndone']=_0x2d6a52['wasUndone']),_0x5ac894;},_0x422119['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe49c00['util']['toJSONOptions']);},_0x422119['getTypeUrl']=function(_0x39dfad){return void 0x0===_0x39dfad&&(_0x39dfad='type.googleapis.com'),_0x39dfad+'/InsertOperation';},_0x422119;}()),_0x4d18b3['MarkerOperation']=(function(){function _0x909c31(_0x5e3d7a){if(_0x5e3d7a){for(var _0x1728c2=Object['keys'](_0x5e3d7a),_0x398cd5=0x0;_0x398cd5<_0x1728c2['length'];++_0x398cd5)null!=_0x5e3d7a[_0x1728c2[_0x398cd5]]&&(this[_0x1728c2[_0x398cd5]]=_0x5e3d7a[_0x1728c2[_0x398cd5]]);}}return _0x909c31['prototype']['name']='',_0x909c31['prototype']['oldRange']=null,_0x909c31['prototype']['newRange']=null,_0x909c31['prototype']['affectsData']=!0x1,_0x909c31['prototype']['wasUndone']=!0x1,_0x909c31['create']=function(_0x5dbbb6){return new _0x909c31(_0x5dbbb6);},_0x909c31['encode']=function(_0xe7f795,_0x2a2636){return _0x2a2636||(_0x2a2636=_0x1ca5c1['create']()),null!=_0xe7f795['name']&&Object['hasOwnProperty']['call'](_0xe7f795,'name')&&_0x2a2636['uint32'](0xa)['string'](_0xe7f795['name']),null!=_0xe7f795['oldRange']&&Object['hasOwnProperty']['call'](_0xe7f795,'oldRange')&&_0x4d18b3['Range']['encode'](_0xe7f795['oldRange'],_0x2a2636['uint32'](0x12)['fork']())['ldelim'](),null!=_0xe7f795['newRange']&&Object['hasOwnProperty']['call'](_0xe7f795,'newRange')&&_0x4d18b3['Range']['encode'](_0xe7f795['newRange'],_0x2a2636['uint32'](0x1a)['fork']())['ldelim'](),null!=_0xe7f795['affectsData']&&Object['hasOwnProperty']['call'](_0xe7f795,'affectsData')&&_0x2a2636['uint32'](0x20)['bool'](_0xe7f795['affectsData']),null!=_0xe7f795['wasUndone']&&Object['hasOwnProperty']['call'](_0xe7f795,'wasUndone')&&_0x2a2636['uint32'](0x28)['bool'](_0xe7f795['wasUndone']),_0x2a2636;},_0x909c31['encodeDelimited']=function(_0x2789e5,_0x5ccabe){return this['encode'](_0x2789e5,_0x5ccabe)['ldelim']();},_0x909c31['decode']=function(_0x538fc5,_0x15430c){_0x538fc5 instanceof _0x5ade6a||(_0x538fc5=_0x5ade6a['create'](_0x538fc5));for(var _0x15c75a=void 0x0===_0x15430c?_0x538fc5['len']:_0x538fc5['pos']+_0x15430c,_0x11db83=new _0x4d18b3['MarkerOperation']();_0x538fc5['pos']<_0x15c75a;){var _0x52c873=_0x538fc5['uint32']();switch(_0x52c873>>>0x3){case 0x1:_0x11db83['name']=_0x538fc5['string']();break;case 0x2:_0x11db83['oldRange']=_0x4d18b3['Range']['decode'](_0x538fc5,_0x538fc5['uint32']());break;case 0x3:_0x11db83['newRange']=_0x4d18b3['Range']['decode'](_0x538fc5,_0x538fc5['uint32']());break;case 0x4:_0x11db83['affectsData']=_0x538fc5['bool']();break;case 0x5:_0x11db83['wasUndone']=_0x538fc5['bool']();break;default:_0x538fc5['skipType'](0x7&_0x52c873);}}return _0x11db83;},_0x909c31['decodeDelimited']=function(_0xca86e5){return _0xca86e5 instanceof _0x5ade6a||(_0xca86e5=new _0x5ade6a(_0xca86e5)),this['decode'](_0xca86e5,_0xca86e5['uint32']());},_0x909c31['verify']=function(_0x2f126f){if('object'!=typeof _0x2f126f||null===_0x2f126f)return'object\x20expected';if(null!=_0x2f126f['name']&&_0x2f126f['hasOwnProperty']('name')&&!_0x468a0a['isString'](_0x2f126f['name']))return'name:\x20string\x20expected';var _0x40cdca;if(null!=_0x2f126f['oldRange']&&_0x2f126f['hasOwnProperty']('oldRange')&&(_0x40cdca=_0x4d18b3['Range']['verify'](_0x2f126f['oldRange'])))return'oldRange.'+_0x40cdca;if(null!=_0x2f126f['newRange']&&_0x2f126f['hasOwnProperty']('newRange')&&(_0x40cdca=_0x4d18b3['Range']['verify'](_0x2f126f['newRange'])))return'newRange.'+_0x40cdca;return null!=_0x2f126f['affectsData']&&_0x2f126f['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x2f126f['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x2f126f['wasUndone']&&_0x2f126f['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x2f126f['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x909c31['fromObject']=function(_0x3dbc81){if(_0x3dbc81 instanceof _0x4d18b3['MarkerOperation'])return _0x3dbc81;var _0x44a717=new _0x4d18b3['MarkerOperation']();if(null!=_0x3dbc81['name']&&(_0x44a717['name']=String(_0x3dbc81['name'])),null!=_0x3dbc81['oldRange']){if('object'!=typeof _0x3dbc81['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x44a717['oldRange']=_0x4d18b3['Range']['fromObject'](_0x3dbc81['oldRange']);}if(null!=_0x3dbc81['newRange']){if('object'!=typeof _0x3dbc81['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x44a717['newRange']=_0x4d18b3['Range']['fromObject'](_0x3dbc81['newRange']);}return null!=_0x3dbc81['affectsData']&&(_0x44a717['affectsData']=Boolean(_0x3dbc81['affectsData'])),null!=_0x3dbc81['wasUndone']&&(_0x44a717['wasUndone']=Boolean(_0x3dbc81['wasUndone'])),_0x44a717;},_0x909c31['toObject']=function(_0xb3bb8b,_0x2f1801){_0x2f1801||(_0x2f1801={});var _0x397d95={};return _0x2f1801['defaults']&&(_0x397d95['name']='',_0x397d95['oldRange']=null,_0x397d95['newRange']=null,_0x397d95['affectsData']=!0x1,_0x397d95['wasUndone']=!0x1),null!=_0xb3bb8b['name']&&_0xb3bb8b['hasOwnProperty']('name')&&(_0x397d95['name']=_0xb3bb8b['name']),null!=_0xb3bb8b['oldRange']&&_0xb3bb8b['hasOwnProperty']('oldRange')&&(_0x397d95['oldRange']=_0x4d18b3['Range']['toObject'](_0xb3bb8b['oldRange'],_0x2f1801)),null!=_0xb3bb8b['newRange']&&_0xb3bb8b['hasOwnProperty']('newRange')&&(_0x397d95['newRange']=_0x4d18b3['Range']['toObject'](_0xb3bb8b['newRange'],_0x2f1801)),null!=_0xb3bb8b['affectsData']&&_0xb3bb8b['hasOwnProperty']('affectsData')&&(_0x397d95['affectsData']=_0xb3bb8b['affectsData']),null!=_0xb3bb8b['wasUndone']&&_0xb3bb8b['hasOwnProperty']('wasUndone')&&(_0x397d95['wasUndone']=_0xb3bb8b['wasUndone']),_0x397d95;},_0x909c31['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe49c00['util']['toJSONOptions']);},_0x909c31['getTypeUrl']=function(_0x290fa9){return void 0x0===_0x290fa9&&(_0x290fa9='type.googleapis.com'),_0x290fa9+'/MarkerOperation';},_0x909c31;}()),_0x4d18b3['MergeOperation']=(function(){function _0x2d7f96(_0x20323a){if(_0x20323a){for(var _0x2d886f=Object['keys'](_0x20323a),_0x9f715a=0x0;_0x9f715a<_0x2d886f['length'];++_0x9f715a)null!=_0x20323a[_0x2d886f[_0x9f715a]]&&(this[_0x2d886f[_0x9f715a]]=_0x20323a[_0x2d886f[_0x9f715a]]);}}return _0x2d7f96['prototype']['sourcePosition']=null,_0x2d7f96['prototype']['targetPosition']=null,_0x2d7f96['prototype']['graveyardPosition']=null,_0x2d7f96['prototype']['howMany']=0x0,_0x2d7f96['prototype']['wasUndone']=!0x1,_0x2d7f96['create']=function(_0xe9810f){return new _0x2d7f96(_0xe9810f);},_0x2d7f96['encode']=function(_0x23d193,_0x20de61){return _0x20de61||(_0x20de61=_0x1ca5c1['create']()),null!=_0x23d193['sourcePosition']&&Object['hasOwnProperty']['call'](_0x23d193,'sourcePosition')&&_0x4d18b3['Position']['encode'](_0x23d193['sourcePosition'],_0x20de61['uint32'](0xa)['fork']())['ldelim'](),null!=_0x23d193['targetPosition']&&Object['hasOwnProperty']['call'](_0x23d193,'targetPosition')&&_0x4d18b3['Position']['encode'](_0x23d193['targetPosition'],_0x20de61['uint32'](0x12)['fork']())['ldelim'](),null!=_0x23d193['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x23d193,'graveyardPosition')&&_0x4d18b3['Position']['encode'](_0x23d193['graveyardPosition'],_0x20de61['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x23d193['howMany']&&Object['hasOwnProperty']['call'](_0x23d193,'howMany')&&_0x20de61['uint32'](0x20)['uint32'](_0x23d193['howMany']),null!=_0x23d193['wasUndone']&&Object['hasOwnProperty']['call'](_0x23d193,'wasUndone')&&_0x20de61['uint32'](0x28)['bool'](_0x23d193['wasUndone']),_0x20de61;},_0x2d7f96['encodeDelimited']=function(_0xc520db,_0xd89659){return this['encode'](_0xc520db,_0xd89659)['ldelim']();},_0x2d7f96['decode']=function(_0x4191a3,_0x3a5320){_0x4191a3 instanceof _0x5ade6a||(_0x4191a3=_0x5ade6a['create'](_0x4191a3));for(var _0x561981=void 0x0===_0x3a5320?_0x4191a3['len']:_0x4191a3['pos']+_0x3a5320,_0x475016=new _0x4d18b3['MergeOperation']();_0x4191a3['pos']<_0x561981;){var _0x5d420a=_0x4191a3['uint32']();switch(_0x5d420a>>>0x3){case 0x1:_0x475016['sourcePosition']=_0x4d18b3['Position']['decode'](_0x4191a3,_0x4191a3['uint32']());break;case 0x2:_0x475016['targetPosition']=_0x4d18b3['Position']['decode'](_0x4191a3,_0x4191a3['uint32']());break;case 0x3:_0x475016['graveyardPosition']=_0x4d18b3['Position']['decode'](_0x4191a3,_0x4191a3['uint32']());break;case 0x4:_0x475016['howMany']=_0x4191a3['uint32']();break;case 0x5:_0x475016['wasUndone']=_0x4191a3['bool']();break;default:_0x4191a3['skipType'](0x7&_0x5d420a);}}return _0x475016;},_0x2d7f96['decodeDelimited']=function(_0x5279b3){return _0x5279b3 instanceof _0x5ade6a||(_0x5279b3=new _0x5ade6a(_0x5279b3)),this['decode'](_0x5279b3,_0x5279b3['uint32']());},_0x2d7f96['verify']=function(_0x8a732d){if('object'!=typeof _0x8a732d||null===_0x8a732d)return'object\x20expected';var _0x378a50;if(null!=_0x8a732d['sourcePosition']&&_0x8a732d['hasOwnProperty']('sourcePosition')&&(_0x378a50=_0x4d18b3['Position']['verify'](_0x8a732d['sourcePosition'])))return'sourcePosition.'+_0x378a50;if(null!=_0x8a732d['targetPosition']&&_0x8a732d['hasOwnProperty']('targetPosition')&&(_0x378a50=_0x4d18b3['Position']['verify'](_0x8a732d['targetPosition'])))return'targetPosition.'+_0x378a50;if(null!=_0x8a732d['graveyardPosition']&&_0x8a732d['hasOwnProperty']('graveyardPosition')&&(_0x378a50=_0x4d18b3['Position']['verify'](_0x8a732d['graveyardPosition'])))return'graveyardPosition.'+_0x378a50;return null!=_0x8a732d['howMany']&&_0x8a732d['hasOwnProperty']('howMany')&&!_0x468a0a['isInteger'](_0x8a732d['howMany'])?'howMany:\x20integer\x20expected':null!=_0x8a732d['wasUndone']&&_0x8a732d['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x8a732d['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2d7f96['fromObject']=function(_0x2ffdff){if(_0x2ffdff instanceof _0x4d18b3['MergeOperation'])return _0x2ffdff;var _0x4417ba=new _0x4d18b3['MergeOperation']();if(null!=_0x2ffdff['sourcePosition']){if('object'!=typeof _0x2ffdff['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x4417ba['sourcePosition']=_0x4d18b3['Position']['fromObject'](_0x2ffdff['sourcePosition']);}if(null!=_0x2ffdff['targetPosition']){if('object'!=typeof _0x2ffdff['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x4417ba['targetPosition']=_0x4d18b3['Position']['fromObject'](_0x2ffdff['targetPosition']);}if(null!=_0x2ffdff['graveyardPosition']){if('object'!=typeof _0x2ffdff['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x4417ba['graveyardPosition']=_0x4d18b3['Position']['fromObject'](_0x2ffdff['graveyardPosition']);}return null!=_0x2ffdff['howMany']&&(_0x4417ba['howMany']=_0x2ffdff['howMany']>>>0x0),null!=_0x2ffdff['wasUndone']&&(_0x4417ba['wasUndone']=Boolean(_0x2ffdff['wasUndone'])),_0x4417ba;},_0x2d7f96['toObject']=function(_0x503a35,_0x350f16){_0x350f16||(_0x350f16={});var _0x21c233={};return _0x350f16['defaults']&&(_0x21c233['sourcePosition']=null,_0x21c233['targetPosition']=null,_0x21c233['graveyardPosition']=null,_0x21c233['howMany']=0x0,_0x21c233['wasUndone']=!0x1),null!=_0x503a35['sourcePosition']&&_0x503a35['hasOwnProperty']('sourcePosition')&&(_0x21c233['sourcePosition']=_0x4d18b3['Position']['toObject'](_0x503a35['sourcePosition'],_0x350f16)),null!=_0x503a35['targetPosition']&&_0x503a35['hasOwnProperty']('targetPosition')&&(_0x21c233['targetPosition']=_0x4d18b3['Position']['toObject'](_0x503a35['targetPosition'],_0x350f16)),null!=_0x503a35['graveyardPosition']&&_0x503a35['hasOwnProperty']('graveyardPosition')&&(_0x21c233['graveyardPosition']=_0x4d18b3['Position']['toObject'](_0x503a35['graveyardPosition'],_0x350f16)),null!=_0x503a35['howMany']&&_0x503a35['hasOwnProperty']('howMany')&&(_0x21c233['howMany']=_0x503a35['howMany']),null!=_0x503a35['wasUndone']&&_0x503a35['hasOwnProperty']('wasUndone')&&(_0x21c233['wasUndone']=_0x503a35['wasUndone']),_0x21c233;},_0x2d7f96['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe49c00['util']['toJSONOptions']);},_0x2d7f96['getTypeUrl']=function(_0x538bcf){return void 0x0===_0x538bcf&&(_0x538bcf='type.googleapis.com'),_0x538bcf+'/MergeOperation';},_0x2d7f96;}()),_0x4d18b3['MoveOperation']=(function(){function _0x11671d(_0x1daf21){if(_0x1daf21){for(var _0x522686=Object['keys'](_0x1daf21),_0x34f9e5=0x0;_0x34f9e5<_0x522686['length'];++_0x34f9e5)null!=_0x1daf21[_0x522686[_0x34f9e5]]&&(this[_0x522686[_0x34f9e5]]=_0x1daf21[_0x522686[_0x34f9e5]]);}}return _0x11671d['prototype']['sourcePosition']=null,_0x11671d['prototype']['howMany']=0x0,_0x11671d['prototype']['targetPosition']=null,_0x11671d['prototype']['wasUndone']=!0x1,_0x11671d['create']=function(_0x2b7d3e){return new _0x11671d(_0x2b7d3e);},_0x11671d['encode']=function(_0x149d8a,_0x3508a6){return _0x3508a6||(_0x3508a6=_0x1ca5c1['create']()),null!=_0x149d8a['sourcePosition']&&Object['hasOwnProperty']['call'](_0x149d8a,'sourcePosition')&&_0x4d18b3['Position']['encode'](_0x149d8a['sourcePosition'],_0x3508a6['uint32'](0xa)['fork']())['ldelim'](),null!=_0x149d8a['howMany']&&Object['hasOwnProperty']['call'](_0x149d8a,'howMany')&&_0x3508a6['uint32'](0x10)['uint32'](_0x149d8a['howMany']),null!=_0x149d8a['targetPosition']&&Object['hasOwnProperty']['call'](_0x149d8a,'targetPosition')&&_0x4d18b3['Position']['encode'](_0x149d8a['targetPosition'],_0x3508a6['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x149d8a['wasUndone']&&Object['hasOwnProperty']['call'](_0x149d8a,'wasUndone')&&_0x3508a6['uint32'](0x20)['bool'](_0x149d8a['wasUndone']),_0x3508a6;},_0x11671d['encodeDelimited']=function(_0x58324c,_0x558f51){return this['encode'](_0x58324c,_0x558f51)['ldelim']();},_0x11671d['decode']=function(_0x28bcbd,_0x210cc7){_0x28bcbd instanceof _0x5ade6a||(_0x28bcbd=_0x5ade6a['create'](_0x28bcbd));for(var _0x4c8433=void 0x0===_0x210cc7?_0x28bcbd['len']:_0x28bcbd['pos']+_0x210cc7,_0x187808=new _0x4d18b3['MoveOperation']();_0x28bcbd['pos']<_0x4c8433;){var _0x46c3fb=_0x28bcbd['uint32']();switch(_0x46c3fb>>>0x3){case 0x1:_0x187808['sourcePosition']=_0x4d18b3['Position']['decode'](_0x28bcbd,_0x28bcbd['uint32']());break;case 0x2:_0x187808['howMany']=_0x28bcbd['uint32']();break;case 0x3:_0x187808['targetPosition']=_0x4d18b3['Position']['decode'](_0x28bcbd,_0x28bcbd['uint32']());break;case 0x4:_0x187808['wasUndone']=_0x28bcbd['bool']();break;default:_0x28bcbd['skipType'](0x7&_0x46c3fb);}}return _0x187808;},_0x11671d['decodeDelimited']=function(_0x4bd904){return _0x4bd904 instanceof _0x5ade6a||(_0x4bd904=new _0x5ade6a(_0x4bd904)),this['decode'](_0x4bd904,_0x4bd904['uint32']());},_0x11671d['verify']=function(_0x40a36d){if('object'!=typeof _0x40a36d||null===_0x40a36d)return'object\x20expected';var _0x2cfaf3;if(null!=_0x40a36d['sourcePosition']&&_0x40a36d['hasOwnProperty']('sourcePosition')&&(_0x2cfaf3=_0x4d18b3['Position']['verify'](_0x40a36d['sourcePosition'])))return'sourcePosition.'+_0x2cfaf3;if(null!=_0x40a36d['howMany']&&_0x40a36d['hasOwnProperty']('howMany')&&!_0x468a0a['isInteger'](_0x40a36d['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x40a36d['targetPosition']&&_0x40a36d['hasOwnProperty']('targetPosition')&&(_0x2cfaf3=_0x4d18b3['Position']['verify'](_0x40a36d['targetPosition'])))return'targetPosition.'+_0x2cfaf3;return null!=_0x40a36d['wasUndone']&&_0x40a36d['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x40a36d['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x11671d['fromObject']=function(_0x53989a){if(_0x53989a instanceof _0x4d18b3['MoveOperation'])return _0x53989a;var _0x35dfb8=new _0x4d18b3['MoveOperation']();if(null!=_0x53989a['sourcePosition']){if('object'!=typeof _0x53989a['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x35dfb8['sourcePosition']=_0x4d18b3['Position']['fromObject'](_0x53989a['sourcePosition']);}if(null!=_0x53989a['howMany']&&(_0x35dfb8['howMany']=_0x53989a['howMany']>>>0x0),null!=_0x53989a['targetPosition']){if('object'!=typeof _0x53989a['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x35dfb8['targetPosition']=_0x4d18b3['Position']['fromObject'](_0x53989a['targetPosition']);}return null!=_0x53989a['wasUndone']&&(_0x35dfb8['wasUndone']=Boolean(_0x53989a['wasUndone'])),_0x35dfb8;},_0x11671d['toObject']=function(_0x14f3a1,_0x37553b){_0x37553b||(_0x37553b={});var _0x2f2712={};return _0x37553b['defaults']&&(_0x2f2712['sourcePosition']=null,_0x2f2712['howMany']=0x0,_0x2f2712['targetPosition']=null,_0x2f2712['wasUndone']=!0x1),null!=_0x14f3a1['sourcePosition']&&_0x14f3a1['hasOwnProperty']('sourcePosition')&&(_0x2f2712['sourcePosition']=_0x4d18b3['Position']['toObject'](_0x14f3a1['sourcePosition'],_0x37553b)),null!=_0x14f3a1['howMany']&&_0x14f3a1['hasOwnProperty']('howMany')&&(_0x2f2712['howMany']=_0x14f3a1['howMany']),null!=_0x14f3a1['targetPosition']&&_0x14f3a1['hasOwnProperty']('targetPosition')&&(_0x2f2712['targetPosition']=_0x4d18b3['Position']['toObject'](_0x14f3a1['targetPosition'],_0x37553b)),null!=_0x14f3a1['wasUndone']&&_0x14f3a1['hasOwnProperty']('wasUndone')&&(_0x2f2712['wasUndone']=_0x14f3a1['wasUndone']),_0x2f2712;},_0x11671d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe49c00['util']['toJSONOptions']);},_0x11671d['getTypeUrl']=function(_0xad3890){return void 0x0===_0xad3890&&(_0xad3890='type.googleapis.com'),_0xad3890+'/MoveOperation';},_0x11671d;}()),_0x4d18b3['RenameOperation']=(function(){function _0x5f238f(_0x18d7b9){if(_0x18d7b9){for(var _0x3c0d2f=Object['keys'](_0x18d7b9),_0xeab41e=0x0;_0xeab41e<_0x3c0d2f['length'];++_0xeab41e)null!=_0x18d7b9[_0x3c0d2f[_0xeab41e]]&&(this[_0x3c0d2f[_0xeab41e]]=_0x18d7b9[_0x3c0d2f[_0xeab41e]]);}}return _0x5f238f['prototype']['position']=null,_0x5f238f['prototype']['oldName']='',_0x5f238f['prototype']['newName']='',_0x5f238f['prototype']['wasUndone']=!0x1,_0x5f238f['create']=function(_0x26c456){return new _0x5f238f(_0x26c456);},_0x5f238f['encode']=function(_0x65e6ca,_0x3fd584){return _0x3fd584||(_0x3fd584=_0x1ca5c1['create']()),null!=_0x65e6ca['position']&&Object['hasOwnProperty']['call'](_0x65e6ca,'position')&&_0x4d18b3['Position']['encode'](_0x65e6ca['position'],_0x3fd584['uint32'](0xa)['fork']())['ldelim'](),null!=_0x65e6ca['oldName']&&Object['hasOwnProperty']['call'](_0x65e6ca,'oldName')&&_0x3fd584['uint32'](0x12)['string'](_0x65e6ca['oldName']),null!=_0x65e6ca['newName']&&Object['hasOwnProperty']['call'](_0x65e6ca,'newName')&&_0x3fd584['uint32'](0x1a)['string'](_0x65e6ca['newName']),null!=_0x65e6ca['wasUndone']&&Object['hasOwnProperty']['call'](_0x65e6ca,'wasUndone')&&_0x3fd584['uint32'](0x20)['bool'](_0x65e6ca['wasUndone']),_0x3fd584;},_0x5f238f['encodeDelimited']=function(_0x1b5edd,_0x30fe31){return this['encode'](_0x1b5edd,_0x30fe31)['ldelim']();},_0x5f238f['decode']=function(_0x35d78b,_0x5764b3){_0x35d78b instanceof _0x5ade6a||(_0x35d78b=_0x5ade6a['create'](_0x35d78b));for(var _0x59a515=void 0x0===_0x5764b3?_0x35d78b['len']:_0x35d78b['pos']+_0x5764b3,_0x3bc997=new _0x4d18b3['RenameOperation']();_0x35d78b['pos']<_0x59a515;){var _0x20fe8d=_0x35d78b['uint32']();switch(_0x20fe8d>>>0x3){case 0x1:_0x3bc997['position']=_0x4d18b3['Position']['decode'](_0x35d78b,_0x35d78b['uint32']());break;case 0x2:_0x3bc997['oldName']=_0x35d78b['string']();break;case 0x3:_0x3bc997['newName']=_0x35d78b['string']();break;case 0x4:_0x3bc997['wasUndone']=_0x35d78b['bool']();break;default:_0x35d78b['skipType'](0x7&_0x20fe8d);}}return _0x3bc997;},_0x5f238f['decodeDelimited']=function(_0x5e3ed2){return _0x5e3ed2 instanceof _0x5ade6a||(_0x5e3ed2=new _0x5ade6a(_0x5e3ed2)),this['decode'](_0x5e3ed2,_0x5e3ed2['uint32']());},_0x5f238f['verify']=function(_0x2a9bd0){if('object'!=typeof _0x2a9bd0||null===_0x2a9bd0)return'object\x20expected';if(null!=_0x2a9bd0['position']&&_0x2a9bd0['hasOwnProperty']('position')){var _0x3a0979=_0x4d18b3['Position']['verify'](_0x2a9bd0['position']);if(_0x3a0979)return'position.'+_0x3a0979;}return null!=_0x2a9bd0['oldName']&&_0x2a9bd0['hasOwnProperty']('oldName')&&!_0x468a0a['isString'](_0x2a9bd0['oldName'])?'oldName:\x20string\x20expected':null!=_0x2a9bd0['newName']&&_0x2a9bd0['hasOwnProperty']('newName')&&!_0x468a0a['isString'](_0x2a9bd0['newName'])?'newName:\x20string\x20expected':null!=_0x2a9bd0['wasUndone']&&_0x2a9bd0['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x2a9bd0['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x5f238f['fromObject']=function(_0x170fae){if(_0x170fae instanceof _0x4d18b3['RenameOperation'])return _0x170fae;var _0x3a8893=new _0x4d18b3['RenameOperation']();if(null!=_0x170fae['position']){if('object'!=typeof _0x170fae['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x3a8893['position']=_0x4d18b3['Position']['fromObject'](_0x170fae['position']);}return null!=_0x170fae['oldName']&&(_0x3a8893['oldName']=String(_0x170fae['oldName'])),null!=_0x170fae['newName']&&(_0x3a8893['newName']=String(_0x170fae['newName'])),null!=_0x170fae['wasUndone']&&(_0x3a8893['wasUndone']=Boolean(_0x170fae['wasUndone'])),_0x3a8893;},_0x5f238f['toObject']=function(_0x2939f8,_0x4786da){_0x4786da||(_0x4786da={});var _0x5c1195={};return _0x4786da['defaults']&&(_0x5c1195['position']=null,_0x5c1195['oldName']='',_0x5c1195['newName']='',_0x5c1195['wasUndone']=!0x1),null!=_0x2939f8['position']&&_0x2939f8['hasOwnProperty']('position')&&(_0x5c1195['position']=_0x4d18b3['Position']['toObject'](_0x2939f8['position'],_0x4786da)),null!=_0x2939f8['oldName']&&_0x2939f8['hasOwnProperty']('oldName')&&(_0x5c1195['oldName']=_0x2939f8['oldName']),null!=_0x2939f8['newName']&&_0x2939f8['hasOwnProperty']('newName')&&(_0x5c1195['newName']=_0x2939f8['newName']),null!=_0x2939f8['wasUndone']&&_0x2939f8['hasOwnProperty']('wasUndone')&&(_0x5c1195['wasUndone']=_0x2939f8['wasUndone']),_0x5c1195;},_0x5f238f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe49c00['util']['toJSONOptions']);},_0x5f238f['getTypeUrl']=function(_0x372c3b){return void 0x0===_0x372c3b&&(_0x372c3b='type.googleapis.com'),_0x372c3b+'/RenameOperation';},_0x5f238f;}()),_0x4d18b3['RootAttributeOperation']=(function(){function _0x356264(_0x5571e0){if(_0x5571e0){for(var _0x2bc18e=Object['keys'](_0x5571e0),_0x45125d=0x0;_0x45125d<_0x2bc18e['length'];++_0x45125d)null!=_0x5571e0[_0x2bc18e[_0x45125d]]&&(this[_0x2bc18e[_0x45125d]]=_0x5571e0[_0x2bc18e[_0x45125d]]);}}return _0x356264['prototype']['root']='',_0x356264['prototype']['key']='',_0x356264['prototype']['oldValueBoolean']=!0x1,_0x356264['prototype']['oldValueJson']='',_0x356264['prototype']['newValueBoolean']=!0x1,_0x356264['prototype']['newValueJson']='',_0x356264['prototype']['wasUndone']=!0x1,_0x356264['create']=function(_0x8cc673){return new _0x356264(_0x8cc673);},_0x356264['encode']=function(_0x1df8c5,_0xabed31){return _0xabed31||(_0xabed31=_0x1ca5c1['create']()),null!=_0x1df8c5['root']&&Object['hasOwnProperty']['call'](_0x1df8c5,'root')&&_0xabed31['uint32'](0xa)['string'](_0x1df8c5['root']),null!=_0x1df8c5['key']&&Object['hasOwnProperty']['call'](_0x1df8c5,'key')&&_0xabed31['uint32'](0x12)['string'](_0x1df8c5['key']),null!=_0x1df8c5['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x1df8c5,'oldValueBoolean')&&_0xabed31['uint32'](0x18)['bool'](_0x1df8c5['oldValueBoolean']),null!=_0x1df8c5['oldValueJson']&&Object['hasOwnProperty']['call'](_0x1df8c5,'oldValueJson')&&_0xabed31['uint32'](0x22)['string'](_0x1df8c5['oldValueJson']),null!=_0x1df8c5['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x1df8c5,'newValueBoolean')&&_0xabed31['uint32'](0x28)['bool'](_0x1df8c5['newValueBoolean']),null!=_0x1df8c5['newValueJson']&&Object['hasOwnProperty']['call'](_0x1df8c5,'newValueJson')&&_0xabed31['uint32'](0x32)['string'](_0x1df8c5['newValueJson']),null!=_0x1df8c5['wasUndone']&&Object['hasOwnProperty']['call'](_0x1df8c5,'wasUndone')&&_0xabed31['uint32'](0x38)['bool'](_0x1df8c5['wasUndone']),_0xabed31;},_0x356264['encodeDelimited']=function(_0x40ea70,_0x54dbbd){return this['encode'](_0x40ea70,_0x54dbbd)['ldelim']();},_0x356264['decode']=function(_0x2f05b6,_0x41428b){_0x2f05b6 instanceof _0x5ade6a||(_0x2f05b6=_0x5ade6a['create'](_0x2f05b6));for(var _0x2cdec2=void 0x0===_0x41428b?_0x2f05b6['len']:_0x2f05b6['pos']+_0x41428b,_0x31e02c=new _0x4d18b3['RootAttributeOperation']();_0x2f05b6['pos']<_0x2cdec2;){var _0x1b3bd1=_0x2f05b6['uint32']();switch(_0x1b3bd1>>>0x3){case 0x1:_0x31e02c['root']=_0x2f05b6['string']();break;case 0x2:_0x31e02c['key']=_0x2f05b6['string']();break;case 0x3:_0x31e02c['oldValueBoolean']=_0x2f05b6['bool']();break;case 0x4:_0x31e02c['oldValueJson']=_0x2f05b6['string']();break;case 0x5:_0x31e02c['newValueBoolean']=_0x2f05b6['bool']();break;case 0x6:_0x31e02c['newValueJson']=_0x2f05b6['string']();break;case 0x7:_0x31e02c['wasUndone']=_0x2f05b6['bool']();break;default:_0x2f05b6['skipType'](0x7&_0x1b3bd1);}}return _0x31e02c;},_0x356264['decodeDelimited']=function(_0x3b5c48){return _0x3b5c48 instanceof _0x5ade6a||(_0x3b5c48=new _0x5ade6a(_0x3b5c48)),this['decode'](_0x3b5c48,_0x3b5c48['uint32']());},_0x356264['verify']=function(_0x150118){return'object'!=typeof _0x150118||null===_0x150118?'object\x20expected':null!=_0x150118['root']&&_0x150118['hasOwnProperty']('root')&&!_0x468a0a['isString'](_0x150118['root'])?'root:\x20string\x20expected':null!=_0x150118['key']&&_0x150118['hasOwnProperty']('key')&&!_0x468a0a['isString'](_0x150118['key'])?'key:\x20string\x20expected':null!=_0x150118['oldValueBoolean']&&_0x150118['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x150118['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x150118['oldValueJson']&&_0x150118['hasOwnProperty']('oldValueJson')&&!_0x468a0a['isString'](_0x150118['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x150118['newValueBoolean']&&_0x150118['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x150118['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x150118['newValueJson']&&_0x150118['hasOwnProperty']('newValueJson')&&!_0x468a0a['isString'](_0x150118['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x150118['wasUndone']&&_0x150118['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x150118['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x356264['fromObject']=function(_0x3e287f){if(_0x3e287f instanceof _0x4d18b3['RootAttributeOperation'])return _0x3e287f;var _0x425fdd=new _0x4d18b3['RootAttributeOperation']();return null!=_0x3e287f['root']&&(_0x425fdd['root']=String(_0x3e287f['root'])),null!=_0x3e287f['key']&&(_0x425fdd['key']=String(_0x3e287f['key'])),null!=_0x3e287f['oldValueBoolean']&&(_0x425fdd['oldValueBoolean']=Boolean(_0x3e287f['oldValueBoolean'])),null!=_0x3e287f['oldValueJson']&&(_0x425fdd['oldValueJson']=String(_0x3e287f['oldValueJson'])),null!=_0x3e287f['newValueBoolean']&&(_0x425fdd['newValueBoolean']=Boolean(_0x3e287f['newValueBoolean'])),null!=_0x3e287f['newValueJson']&&(_0x425fdd['newValueJson']=String(_0x3e287f['newValueJson'])),null!=_0x3e287f['wasUndone']&&(_0x425fdd['wasUndone']=Boolean(_0x3e287f['wasUndone'])),_0x425fdd;},_0x356264['toObject']=function(_0x339158,_0x1c8af8){_0x1c8af8||(_0x1c8af8={});var _0x15564a={};return _0x1c8af8['defaults']&&(_0x15564a['root']='',_0x15564a['key']='',_0x15564a['oldValueBoolean']=!0x1,_0x15564a['oldValueJson']='',_0x15564a['newValueBoolean']=!0x1,_0x15564a['newValueJson']='',_0x15564a['wasUndone']=!0x1),null!=_0x339158['root']&&_0x339158['hasOwnProperty']('root')&&(_0x15564a['root']=_0x339158['root']),null!=_0x339158['key']&&_0x339158['hasOwnProperty']('key')&&(_0x15564a['key']=_0x339158['key']),null!=_0x339158['oldValueBoolean']&&_0x339158['hasOwnProperty']('oldValueBoolean')&&(_0x15564a['oldValueBoolean']=_0x339158['oldValueBoolean']),null!=_0x339158['oldValueJson']&&_0x339158['hasOwnProperty']('oldValueJson')&&(_0x15564a['oldValueJson']=_0x339158['oldValueJson']),null!=_0x339158['newValueBoolean']&&_0x339158['hasOwnProperty']('newValueBoolean')&&(_0x15564a['newValueBoolean']=_0x339158['newValueBoolean']),null!=_0x339158['newValueJson']&&_0x339158['hasOwnProperty']('newValueJson')&&(_0x15564a['newValueJson']=_0x339158['newValueJson']),null!=_0x339158['wasUndone']&&_0x339158['hasOwnProperty']('wasUndone')&&(_0x15564a['wasUndone']=_0x339158['wasUndone']),_0x15564a;},_0x356264['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe49c00['util']['toJSONOptions']);},_0x356264['getTypeUrl']=function(_0x4852bb){return void 0x0===_0x4852bb&&(_0x4852bb='type.googleapis.com'),_0x4852bb+'/RootAttributeOperation';},_0x356264;}()),_0x4d18b3['RootOperation']=(function(){function _0x4cc308(_0x410af8){if(_0x410af8){for(var _0x480a11=Object['keys'](_0x410af8),_0xfb88f2=0x0;_0xfb88f2<_0x480a11['length'];++_0xfb88f2)null!=_0x410af8[_0x480a11[_0xfb88f2]]&&(this[_0x480a11[_0xfb88f2]]=_0x410af8[_0x480a11[_0xfb88f2]]);}}return _0x4cc308['prototype']['rootName']='',_0x4cc308['prototype']['elementName']='',_0x4cc308['prototype']['isAdd']=!0x1,_0x4cc308['prototype']['wasUndone']=!0x1,_0x4cc308['create']=function(_0x394abe){return new _0x4cc308(_0x394abe);},_0x4cc308['encode']=function(_0x127a2a,_0x448df){return _0x448df||(_0x448df=_0x1ca5c1['create']()),null!=_0x127a2a['rootName']&&Object['hasOwnProperty']['call'](_0x127a2a,'rootName')&&_0x448df['uint32'](0xa)['string'](_0x127a2a['rootName']),null!=_0x127a2a['elementName']&&Object['hasOwnProperty']['call'](_0x127a2a,'elementName')&&_0x448df['uint32'](0x12)['string'](_0x127a2a['elementName']),null!=_0x127a2a['isAdd']&&Object['hasOwnProperty']['call'](_0x127a2a,'isAdd')&&_0x448df['uint32'](0x18)['bool'](_0x127a2a['isAdd']),null!=_0x127a2a['wasUndone']&&Object['hasOwnProperty']['call'](_0x127a2a,'wasUndone')&&_0x448df['uint32'](0x20)['bool'](_0x127a2a['wasUndone']),_0x448df;},_0x4cc308['encodeDelimited']=function(_0x482f37,_0x175bc9){return this['encode'](_0x482f37,_0x175bc9)['ldelim']();},_0x4cc308['decode']=function(_0xcff324,_0x4b581e){_0xcff324 instanceof _0x5ade6a||(_0xcff324=_0x5ade6a['create'](_0xcff324));for(var _0x5c2343=void 0x0===_0x4b581e?_0xcff324['len']:_0xcff324['pos']+_0x4b581e,_0x558fed=new _0x4d18b3['RootOperation']();_0xcff324['pos']<_0x5c2343;){var _0x5eb3c5=_0xcff324['uint32']();switch(_0x5eb3c5>>>0x3){case 0x1:_0x558fed['rootName']=_0xcff324['string']();break;case 0x2:_0x558fed['elementName']=_0xcff324['string']();break;case 0x3:_0x558fed['isAdd']=_0xcff324['bool']();break;case 0x4:_0x558fed['wasUndone']=_0xcff324['bool']();break;default:_0xcff324['skipType'](0x7&_0x5eb3c5);}}return _0x558fed;},_0x4cc308['decodeDelimited']=function(_0x1831b8){return _0x1831b8 instanceof _0x5ade6a||(_0x1831b8=new _0x5ade6a(_0x1831b8)),this['decode'](_0x1831b8,_0x1831b8['uint32']());},_0x4cc308['verify']=function(_0x1811f1){return'object'!=typeof _0x1811f1||null===_0x1811f1?'object\x20expected':null!=_0x1811f1['rootName']&&_0x1811f1['hasOwnProperty']('rootName')&&!_0x468a0a['isString'](_0x1811f1['rootName'])?'rootName:\x20string\x20expected':null!=_0x1811f1['elementName']&&_0x1811f1['hasOwnProperty']('elementName')&&!_0x468a0a['isString'](_0x1811f1['elementName'])?'elementName:\x20string\x20expected':null!=_0x1811f1['isAdd']&&_0x1811f1['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x1811f1['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x1811f1['wasUndone']&&_0x1811f1['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1811f1['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x4cc308['fromObject']=function(_0x57623a){if(_0x57623a instanceof _0x4d18b3['RootOperation'])return _0x57623a;var _0x50b4b1=new _0x4d18b3['RootOperation']();return null!=_0x57623a['rootName']&&(_0x50b4b1['rootName']=String(_0x57623a['rootName'])),null!=_0x57623a['elementName']&&(_0x50b4b1['elementName']=String(_0x57623a['elementName'])),null!=_0x57623a['isAdd']&&(_0x50b4b1['isAdd']=Boolean(_0x57623a['isAdd'])),null!=_0x57623a['wasUndone']&&(_0x50b4b1['wasUndone']=Boolean(_0x57623a['wasUndone'])),_0x50b4b1;},_0x4cc308['toObject']=function(_0x2fc368,_0x5bbdef){_0x5bbdef||(_0x5bbdef={});var _0x21017e={};return _0x5bbdef['defaults']&&(_0x21017e['rootName']='',_0x21017e['elementName']='',_0x21017e['isAdd']=!0x1,_0x21017e['wasUndone']=!0x1),null!=_0x2fc368['rootName']&&_0x2fc368['hasOwnProperty']('rootName')&&(_0x21017e['rootName']=_0x2fc368['rootName']),null!=_0x2fc368['elementName']&&_0x2fc368['hasOwnProperty']('elementName')&&(_0x21017e['elementName']=_0x2fc368['elementName']),null!=_0x2fc368['isAdd']&&_0x2fc368['hasOwnProperty']('isAdd')&&(_0x21017e['isAdd']=_0x2fc368['isAdd']),null!=_0x2fc368['wasUndone']&&_0x2fc368['hasOwnProperty']('wasUndone')&&(_0x21017e['wasUndone']=_0x2fc368['wasUndone']),_0x21017e;},_0x4cc308['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe49c00['util']['toJSONOptions']);},_0x4cc308['getTypeUrl']=function(_0x161096){return void 0x0===_0x161096&&(_0x161096='type.googleapis.com'),_0x161096+'/RootOperation';},_0x4cc308;}()),_0x4d18b3['SplitOperation']=(function(){function _0x5598e1(_0x1502c2){if(_0x1502c2){for(var _0x507fa3=Object['keys'](_0x1502c2),_0x30d649=0x0;_0x30d649<_0x507fa3['length'];++_0x30d649)null!=_0x1502c2[_0x507fa3[_0x30d649]]&&(this[_0x507fa3[_0x30d649]]=_0x1502c2[_0x507fa3[_0x30d649]]);}}return _0x5598e1['prototype']['splitPosition']=null,_0x5598e1['prototype']['graveyardPosition']=null,_0x5598e1['prototype']['howMany']=0x0,_0x5598e1['prototype']['insertionPosition']=null,_0x5598e1['prototype']['wasUndone']=!0x1,_0x5598e1['create']=function(_0x3f2d61){return new _0x5598e1(_0x3f2d61);},_0x5598e1['encode']=function(_0x392771,_0x2c71c4){return _0x2c71c4||(_0x2c71c4=_0x1ca5c1['create']()),null!=_0x392771['splitPosition']&&Object['hasOwnProperty']['call'](_0x392771,'splitPosition')&&_0x4d18b3['Position']['encode'](_0x392771['splitPosition'],_0x2c71c4['uint32'](0xa)['fork']())['ldelim'](),null!=_0x392771['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x392771,'graveyardPosition')&&_0x4d18b3['Position']['encode'](_0x392771['graveyardPosition'],_0x2c71c4['uint32'](0x12)['fork']())['ldelim'](),null!=_0x392771['howMany']&&Object['hasOwnProperty']['call'](_0x392771,'howMany')&&_0x2c71c4['uint32'](0x18)['uint32'](_0x392771['howMany']),null!=_0x392771['insertionPosition']&&Object['hasOwnProperty']['call'](_0x392771,'insertionPosition')&&_0x4d18b3['Position']['encode'](_0x392771['insertionPosition'],_0x2c71c4['uint32'](0x22)['fork']())['ldelim'](),null!=_0x392771['wasUndone']&&Object['hasOwnProperty']['call'](_0x392771,'wasUndone')&&_0x2c71c4['uint32'](0x28)['bool'](_0x392771['wasUndone']),_0x2c71c4;},_0x5598e1['encodeDelimited']=function(_0x20352e,_0x69405c){return this['encode'](_0x20352e,_0x69405c)['ldelim']();},_0x5598e1['decode']=function(_0x278dbf,_0x42977b){_0x278dbf instanceof _0x5ade6a||(_0x278dbf=_0x5ade6a['create'](_0x278dbf));for(var _0x31a5e2=void 0x0===_0x42977b?_0x278dbf['len']:_0x278dbf['pos']+_0x42977b,_0x5edff8=new _0x4d18b3['SplitOperation']();_0x278dbf['pos']<_0x31a5e2;){var _0x4fc121=_0x278dbf['uint32']();switch(_0x4fc121>>>0x3){case 0x1:_0x5edff8['splitPosition']=_0x4d18b3['Position']['decode'](_0x278dbf,_0x278dbf['uint32']());break;case 0x2:_0x5edff8['graveyardPosition']=_0x4d18b3['Position']['decode'](_0x278dbf,_0x278dbf['uint32']());break;case 0x3:_0x5edff8['howMany']=_0x278dbf['uint32']();break;case 0x4:_0x5edff8['insertionPosition']=_0x4d18b3['Position']['decode'](_0x278dbf,_0x278dbf['uint32']());break;case 0x5:_0x5edff8['wasUndone']=_0x278dbf['bool']();break;default:_0x278dbf['skipType'](0x7&_0x4fc121);}}return _0x5edff8;},_0x5598e1['decodeDelimited']=function(_0x4d0280){return _0x4d0280 instanceof _0x5ade6a||(_0x4d0280=new _0x5ade6a(_0x4d0280)),this['decode'](_0x4d0280,_0x4d0280['uint32']());},_0x5598e1['verify']=function(_0x355ed8){if('object'!=typeof _0x355ed8||null===_0x355ed8)return'object\x20expected';var _0x4f017e;if(null!=_0x355ed8['splitPosition']&&_0x355ed8['hasOwnProperty']('splitPosition')&&(_0x4f017e=_0x4d18b3['Position']['verify'](_0x355ed8['splitPosition'])))return'splitPosition.'+_0x4f017e;if(null!=_0x355ed8['graveyardPosition']&&_0x355ed8['hasOwnProperty']('graveyardPosition')&&(_0x4f017e=_0x4d18b3['Position']['verify'](_0x355ed8['graveyardPosition'])))return'graveyardPosition.'+_0x4f017e;if(null!=_0x355ed8['howMany']&&_0x355ed8['hasOwnProperty']('howMany')&&!_0x468a0a['isInteger'](_0x355ed8['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x355ed8['insertionPosition']&&_0x355ed8['hasOwnProperty']('insertionPosition')&&(_0x4f017e=_0x4d18b3['Position']['verify'](_0x355ed8['insertionPosition'])))return'insertionPosition.'+_0x4f017e;return null!=_0x355ed8['wasUndone']&&_0x355ed8['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x355ed8['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x5598e1['fromObject']=function(_0x567476){if(_0x567476 instanceof _0x4d18b3['SplitOperation'])return _0x567476;var _0x45ded0=new _0x4d18b3['SplitOperation']();if(null!=_0x567476['splitPosition']){if('object'!=typeof _0x567476['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x45ded0['splitPosition']=_0x4d18b3['Position']['fromObject'](_0x567476['splitPosition']);}if(null!=_0x567476['graveyardPosition']){if('object'!=typeof _0x567476['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x45ded0['graveyardPosition']=_0x4d18b3['Position']['fromObject'](_0x567476['graveyardPosition']);}if(null!=_0x567476['howMany']&&(_0x45ded0['howMany']=_0x567476['howMany']>>>0x0),null!=_0x567476['insertionPosition']){if('object'!=typeof _0x567476['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x45ded0['insertionPosition']=_0x4d18b3['Position']['fromObject'](_0x567476['insertionPosition']);}return null!=_0x567476['wasUndone']&&(_0x45ded0['wasUndone']=Boolean(_0x567476['wasUndone'])),_0x45ded0;},_0x5598e1['toObject']=function(_0x42abba,_0x27657c){_0x27657c||(_0x27657c={});var _0xcb75fe={};return _0x27657c['defaults']&&(_0xcb75fe['splitPosition']=null,_0xcb75fe['graveyardPosition']=null,_0xcb75fe['howMany']=0x0,_0xcb75fe['insertionPosition']=null,_0xcb75fe['wasUndone']=!0x1),null!=_0x42abba['splitPosition']&&_0x42abba['hasOwnProperty']('splitPosition')&&(_0xcb75fe['splitPosition']=_0x4d18b3['Position']['toObject'](_0x42abba['splitPosition'],_0x27657c)),null!=_0x42abba['graveyardPosition']&&_0x42abba['hasOwnProperty']('graveyardPosition')&&(_0xcb75fe['graveyardPosition']=_0x4d18b3['Position']['toObject'](_0x42abba['graveyardPosition'],_0x27657c)),null!=_0x42abba['howMany']&&_0x42abba['hasOwnProperty']('howMany')&&(_0xcb75fe['howMany']=_0x42abba['howMany']),null!=_0x42abba['insertionPosition']&&_0x42abba['hasOwnProperty']('insertionPosition')&&(_0xcb75fe['insertionPosition']=_0x4d18b3['Position']['toObject'](_0x42abba['insertionPosition'],_0x27657c)),null!=_0x42abba['wasUndone']&&_0x42abba['hasOwnProperty']('wasUndone')&&(_0xcb75fe['wasUndone']=_0x42abba['wasUndone']),_0xcb75fe;},_0x5598e1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe49c00['util']['toJSONOptions']);},_0x5598e1['getTypeUrl']=function(_0x23186b){return void 0x0===_0x23186b&&(_0x23186b='type.googleapis.com'),_0x23186b+'/SplitOperation';},_0x5598e1;}()),_0x4d18b3['Position']=(function(){function _0xcf857e(_0x1e7402){if(this['path']=[],_0x1e7402){for(var _0x484a09=Object['keys'](_0x1e7402),_0x429156=0x0;_0x429156<_0x484a09['length'];++_0x429156)null!=_0x1e7402[_0x484a09[_0x429156]]&&(this[_0x484a09[_0x429156]]=_0x1e7402[_0x484a09[_0x429156]]);}}return _0xcf857e['prototype']['root']='',_0xcf857e['prototype']['rootMain']=!0x1,_0xcf857e['prototype']['rootGraveyard']=!0x1,_0xcf857e['prototype']['path']=_0x468a0a['emptyArray'],_0xcf857e['prototype']['stickiness']='',_0xcf857e['create']=function(_0xdb4e43){return new _0xcf857e(_0xdb4e43);},_0xcf857e['encode']=function(_0x31f653,_0x3d1f63){if(_0x3d1f63||(_0x3d1f63=_0x1ca5c1['create']()),null!=_0x31f653['root']&&Object['hasOwnProperty']['call'](_0x31f653,'root')&&_0x3d1f63['uint32'](0xa)['string'](_0x31f653['root']),null!=_0x31f653['rootMain']&&Object['hasOwnProperty']['call'](_0x31f653,'rootMain')&&_0x3d1f63['uint32'](0x10)['bool'](_0x31f653['rootMain']),null!=_0x31f653['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x31f653,'rootGraveyard')&&_0x3d1f63['uint32'](0x18)['bool'](_0x31f653['rootGraveyard']),null!=_0x31f653['path']&&_0x31f653['path']['length']){_0x3d1f63['uint32'](0x22)['fork']();for(var _0x22438c=0x0;_0x22438c<_0x31f653['path']['length'];++_0x22438c)_0x3d1f63['uint32'](_0x31f653['path'][_0x22438c]);_0x3d1f63['ldelim']();}return null!=_0x31f653['stickiness']&&Object['hasOwnProperty']['call'](_0x31f653,'stickiness')&&_0x3d1f63['uint32'](0x2a)['string'](_0x31f653['stickiness']),_0x3d1f63;},_0xcf857e['encodeDelimited']=function(_0x2fc487,_0x41793d){return this['encode'](_0x2fc487,_0x41793d)['ldelim']();},_0xcf857e['decode']=function(_0x11e8d5,_0x2c1f07){_0x11e8d5 instanceof _0x5ade6a||(_0x11e8d5=_0x5ade6a['create'](_0x11e8d5));for(var _0x42913b=void 0x0===_0x2c1f07?_0x11e8d5['len']:_0x11e8d5['pos']+_0x2c1f07,_0x5a1fe7=new _0x4d18b3['Position']();_0x11e8d5['pos']<_0x42913b;){var _0x2d1fd6=_0x11e8d5['uint32']();switch(_0x2d1fd6>>>0x3){case 0x1:_0x5a1fe7['root']=_0x11e8d5['string']();break;case 0x2:_0x5a1fe7['rootMain']=_0x11e8d5['bool']();break;case 0x3:_0x5a1fe7['rootGraveyard']=_0x11e8d5['bool']();break;case 0x4:if(_0x5a1fe7['path']&&_0x5a1fe7['path']['length']||(_0x5a1fe7['path']=[]),0x2==(0x7&_0x2d1fd6)){for(var _0xf54c86=_0x11e8d5['uint32']()+_0x11e8d5['pos'];_0x11e8d5['pos']<_0xf54c86;)_0x5a1fe7['path']['push'](_0x11e8d5['uint32']());}else _0x5a1fe7['path']['push'](_0x11e8d5['uint32']());break;case 0x5:_0x5a1fe7['stickiness']=_0x11e8d5['string']();break;default:_0x11e8d5['skipType'](0x7&_0x2d1fd6);}}return _0x5a1fe7;},_0xcf857e['decodeDelimited']=function(_0x25b165){return _0x25b165 instanceof _0x5ade6a||(_0x25b165=new _0x5ade6a(_0x25b165)),this['decode'](_0x25b165,_0x25b165['uint32']());},_0xcf857e['verify']=function(_0x384f94){if('object'!=typeof _0x384f94||null===_0x384f94)return'object\x20expected';if(null!=_0x384f94['root']&&_0x384f94['hasOwnProperty']('root')&&!_0x468a0a['isString'](_0x384f94['root']))return'root:\x20string\x20expected';if(null!=_0x384f94['rootMain']&&_0x384f94['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x384f94['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x384f94['rootGraveyard']&&_0x384f94['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x384f94['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x384f94['path']&&_0x384f94['hasOwnProperty']('path')){if(!Array['isArray'](_0x384f94['path']))return'path:\x20array\x20expected';for(var _0x35d74a=0x0;_0x35d74a<_0x384f94['path']['length'];++_0x35d74a)if(!_0x468a0a['isInteger'](_0x384f94['path'][_0x35d74a]))return'path:\x20integer[]\x20expected';}return null!=_0x384f94['stickiness']&&_0x384f94['hasOwnProperty']('stickiness')&&!_0x468a0a['isString'](_0x384f94['stickiness'])?'stickiness:\x20string\x20expected':null;},_0xcf857e['fromObject']=function(_0x242d4c){if(_0x242d4c instanceof _0x4d18b3['Position'])return _0x242d4c;var _0x28f384=new _0x4d18b3['Position']();if(null!=_0x242d4c['root']&&(_0x28f384['root']=String(_0x242d4c['root'])),null!=_0x242d4c['rootMain']&&(_0x28f384['rootMain']=Boolean(_0x242d4c['rootMain'])),null!=_0x242d4c['rootGraveyard']&&(_0x28f384['rootGraveyard']=Boolean(_0x242d4c['rootGraveyard'])),_0x242d4c['path']){if(!Array['isArray'](_0x242d4c['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x28f384['path']=[];for(var _0x34a739=0x0;_0x34a739<_0x242d4c['path']['length'];++_0x34a739)_0x28f384['path'][_0x34a739]=_0x242d4c['path'][_0x34a739]>>>0x0;}return null!=_0x242d4c['stickiness']&&(_0x28f384['stickiness']=String(_0x242d4c['stickiness'])),_0x28f384;},_0xcf857e['toObject']=function(_0x13eef6,_0x403597){_0x403597||(_0x403597={});var _0x3aeee2={};if((_0x403597['arrays']||_0x403597['defaults'])&&(_0x3aeee2['path']=[]),_0x403597['defaults']&&(_0x3aeee2['root']='',_0x3aeee2['rootMain']=!0x1,_0x3aeee2['rootGraveyard']=!0x1,_0x3aeee2['stickiness']=''),null!=_0x13eef6['root']&&_0x13eef6['hasOwnProperty']('root')&&(_0x3aeee2['root']=_0x13eef6['root']),null!=_0x13eef6['rootMain']&&_0x13eef6['hasOwnProperty']('rootMain')&&(_0x3aeee2['rootMain']=_0x13eef6['rootMain']),null!=_0x13eef6['rootGraveyard']&&_0x13eef6['hasOwnProperty']('rootGraveyard')&&(_0x3aeee2['rootGraveyard']=_0x13eef6['rootGraveyard']),_0x13eef6['path']&&_0x13eef6['path']['length']){_0x3aeee2['path']=[];for(var _0xb6dab9=0x0;_0xb6dab9<_0x13eef6['path']['length'];++_0xb6dab9)_0x3aeee2['path'][_0xb6dab9]=_0x13eef6['path'][_0xb6dab9];}return null!=_0x13eef6['stickiness']&&_0x13eef6['hasOwnProperty']('stickiness')&&(_0x3aeee2['stickiness']=_0x13eef6['stickiness']),_0x3aeee2;},_0xcf857e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe49c00['util']['toJSONOptions']);},_0xcf857e['getTypeUrl']=function(_0x2422f){return void 0x0===_0x2422f&&(_0x2422f='type.googleapis.com'),_0x2422f+'/Position';},_0xcf857e;}()),_0x4d18b3['Range']=(function(){function _0x5d938f(_0x4e6b81){if(_0x4e6b81){for(var _0x2f9a04=Object['keys'](_0x4e6b81),_0x586afc=0x0;_0x586afc<_0x2f9a04['length'];++_0x586afc)null!=_0x4e6b81[_0x2f9a04[_0x586afc]]&&(this[_0x2f9a04[_0x586afc]]=_0x4e6b81[_0x2f9a04[_0x586afc]]);}}return _0x5d938f['prototype']['start']=null,_0x5d938f['prototype']['end']=null,_0x5d938f['create']=function(_0x4e8f24){return new _0x5d938f(_0x4e8f24);},_0x5d938f['encode']=function(_0x17550b,_0x56a5bb){return _0x56a5bb||(_0x56a5bb=_0x1ca5c1['create']()),null!=_0x17550b['start']&&Object['hasOwnProperty']['call'](_0x17550b,'start')&&_0x4d18b3['Position']['encode'](_0x17550b['start'],_0x56a5bb['uint32'](0xa)['fork']())['ldelim'](),null!=_0x17550b['end']&&Object['hasOwnProperty']['call'](_0x17550b,'end')&&_0x4d18b3['Position']['encode'](_0x17550b['end'],_0x56a5bb['uint32'](0x12)['fork']())['ldelim'](),_0x56a5bb;},_0x5d938f['encodeDelimited']=function(_0x247836,_0x4e10b4){return this['encode'](_0x247836,_0x4e10b4)['ldelim']();},_0x5d938f['decode']=function(_0x46e1e8,_0x56e594){_0x46e1e8 instanceof _0x5ade6a||(_0x46e1e8=_0x5ade6a['create'](_0x46e1e8));for(var _0x3752c3=void 0x0===_0x56e594?_0x46e1e8['len']:_0x46e1e8['pos']+_0x56e594,_0x211690=new _0x4d18b3['Range']();_0x46e1e8['pos']<_0x3752c3;){var _0x174975=_0x46e1e8['uint32']();switch(_0x174975>>>0x3){case 0x1:_0x211690['start']=_0x4d18b3['Position']['decode'](_0x46e1e8,_0x46e1e8['uint32']());break;case 0x2:_0x211690['end']=_0x4d18b3['Position']['decode'](_0x46e1e8,_0x46e1e8['uint32']());break;default:_0x46e1e8['skipType'](0x7&_0x174975);}}return _0x211690;},_0x5d938f['decodeDelimited']=function(_0x54ec08){return _0x54ec08 instanceof _0x5ade6a||(_0x54ec08=new _0x5ade6a(_0x54ec08)),this['decode'](_0x54ec08,_0x54ec08['uint32']());},_0x5d938f['verify']=function(_0x3dde2b){if('object'!=typeof _0x3dde2b||null===_0x3dde2b)return'object\x20expected';var _0x51e598;if(null!=_0x3dde2b['start']&&_0x3dde2b['hasOwnProperty']('start')&&(_0x51e598=_0x4d18b3['Position']['verify'](_0x3dde2b['start'])))return'start.'+_0x51e598;if(null!=_0x3dde2b['end']&&_0x3dde2b['hasOwnProperty']('end')&&(_0x51e598=_0x4d18b3['Position']['verify'](_0x3dde2b['end'])))return'end.'+_0x51e598;return null;},_0x5d938f['fromObject']=function(_0x2bf7a6){if(_0x2bf7a6 instanceof _0x4d18b3['Range'])return _0x2bf7a6;var _0x482ba9=new _0x4d18b3['Range']();if(null!=_0x2bf7a6['start']){if('object'!=typeof _0x2bf7a6['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x482ba9['start']=_0x4d18b3['Position']['fromObject'](_0x2bf7a6['start']);}if(null!=_0x2bf7a6['end']){if('object'!=typeof _0x2bf7a6['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x482ba9['end']=_0x4d18b3['Position']['fromObject'](_0x2bf7a6['end']);}return _0x482ba9;},_0x5d938f['toObject']=function(_0x3e7d9a,_0x29bc4d){_0x29bc4d||(_0x29bc4d={});var _0x19304a={};return _0x29bc4d['defaults']&&(_0x19304a['start']=null,_0x19304a['end']=null),null!=_0x3e7d9a['start']&&_0x3e7d9a['hasOwnProperty']('start')&&(_0x19304a['start']=_0x4d18b3['Position']['toObject'](_0x3e7d9a['start'],_0x29bc4d)),null!=_0x3e7d9a['end']&&_0x3e7d9a['hasOwnProperty']('end')&&(_0x19304a['end']=_0x4d18b3['Position']['toObject'](_0x3e7d9a['end'],_0x29bc4d)),_0x19304a;},_0x5d938f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe49c00['util']['toJSONOptions']);},_0x5d938f['getTypeUrl']=function(_0x5b7761){return void 0x0===_0x5b7761&&(_0x5b7761='type.googleapis.com'),_0x5b7761+'/Range';},_0x5d938f;}()),_0x4d18b3['Element']=(function(){function _0x4bbc7b(_0x579c93){if(this['children']=[],this['attributesBoolean']={},_0x579c93){for(var _0x129b02=Object['keys'](_0x579c93),_0x442ffb=0x0;_0x442ffb<_0x129b02['length'];++_0x442ffb)null!=_0x579c93[_0x129b02[_0x442ffb]]&&(this[_0x129b02[_0x442ffb]]=_0x579c93[_0x129b02[_0x442ffb]]);}}return _0x4bbc7b['prototype']['name']='',_0x4bbc7b['prototype']['children']=_0x468a0a['emptyArray'],_0x4bbc7b['prototype']['data']='',_0x4bbc7b['prototype']['attributesBoolean']=_0x468a0a['emptyObject'],_0x4bbc7b['prototype']['attributesJson']='',_0x4bbc7b['create']=function(_0x46b25d){return new _0x4bbc7b(_0x46b25d);},_0x4bbc7b['encode']=function(_0x30c95d,_0x12ac70){if(_0x12ac70||(_0x12ac70=_0x1ca5c1['create']()),null!=_0x30c95d['name']&&Object['hasOwnProperty']['call'](_0x30c95d,'name')&&_0x12ac70['uint32'](0xa)['string'](_0x30c95d['name']),null!=_0x30c95d['children']&&_0x30c95d['children']['length']){for(var _0x463186=0x0;_0x463186<_0x30c95d['children']['length'];++_0x463186)_0x4d18b3['Element']['encode'](_0x30c95d['children'][_0x463186],_0x12ac70['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x30c95d['data']&&Object['hasOwnProperty']['call'](_0x30c95d,'data')&&_0x12ac70['uint32'](0x1a)['string'](_0x30c95d['data']),null!=_0x30c95d['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x30c95d,'attributesBoolean')){var _0x2eb7dc=Object['keys'](_0x30c95d['attributesBoolean']);for(_0x463186=0x0;_0x463186<_0x2eb7dc['length'];++_0x463186)_0x12ac70['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x2eb7dc[_0x463186])['uint32'](0x10)['bool'](_0x30c95d['attributesBoolean'][_0x2eb7dc[_0x463186]])['ldelim']();}return null!=_0x30c95d['attributesJson']&&Object['hasOwnProperty']['call'](_0x30c95d,'attributesJson')&&_0x12ac70['uint32'](0x2a)['string'](_0x30c95d['attributesJson']),_0x12ac70;},_0x4bbc7b['encodeDelimited']=function(_0x3df7bf,_0x346f9d){return this['encode'](_0x3df7bf,_0x346f9d)['ldelim']();},_0x4bbc7b['decode']=function(_0x1effe7,_0x2ed6eb){_0x1effe7 instanceof _0x5ade6a||(_0x1effe7=_0x5ade6a['create'](_0x1effe7));for(var _0x5b8563,_0x481e1a,_0x137249=void 0x0===_0x2ed6eb?_0x1effe7['len']:_0x1effe7['pos']+_0x2ed6eb,_0x23059e=new _0x4d18b3['Element']();_0x1effe7['pos']<_0x137249;){var _0x27aa49=_0x1effe7['uint32']();switch(_0x27aa49>>>0x3){case 0x1:_0x23059e['name']=_0x1effe7['string']();break;case 0x2:_0x23059e['children']&&_0x23059e['children']['length']||(_0x23059e['children']=[]),_0x23059e['children']['push'](_0x4d18b3['Element']['decode'](_0x1effe7,_0x1effe7['uint32']()));break;case 0x3:_0x23059e['data']=_0x1effe7['string']();break;case 0x4:_0x23059e['attributesBoolean']===_0x468a0a['emptyObject']&&(_0x23059e['attributesBoolean']={});var _0x2bb0c9=_0x1effe7['uint32']()+_0x1effe7['pos'];for(_0x5b8563='',_0x481e1a=!0x1;_0x1effe7['pos']<_0x2bb0c9;){var _0x2e5d23=_0x1effe7['uint32']();switch(_0x2e5d23>>>0x3){case 0x1:_0x5b8563=_0x1effe7['string']();break;case 0x2:_0x481e1a=_0x1effe7['bool']();break;default:_0x1effe7['skipType'](0x7&_0x2e5d23);}}_0x23059e['attributesBoolean'][_0x5b8563]=_0x481e1a;break;case 0x5:_0x23059e['attributesJson']=_0x1effe7['string']();break;default:_0x1effe7['skipType'](0x7&_0x27aa49);}}return _0x23059e;},_0x4bbc7b['decodeDelimited']=function(_0x7e3577){return _0x7e3577 instanceof _0x5ade6a||(_0x7e3577=new _0x5ade6a(_0x7e3577)),this['decode'](_0x7e3577,_0x7e3577['uint32']());},_0x4bbc7b['verify']=function(_0x50c043){if('object'!=typeof _0x50c043||null===_0x50c043)return'object\x20expected';if(null!=_0x50c043['name']&&_0x50c043['hasOwnProperty']('name')&&!_0x468a0a['isString'](_0x50c043['name']))return'name:\x20string\x20expected';if(null!=_0x50c043['children']&&_0x50c043['hasOwnProperty']('children')){if(!Array['isArray'](_0x50c043['children']))return'children:\x20array\x20expected';for(var _0x202817=0x0;_0x202817<_0x50c043['children']['length'];++_0x202817){var _0x3e66e6=_0x4d18b3['Element']['verify'](_0x50c043['children'][_0x202817]);if(_0x3e66e6)return'children.'+_0x3e66e6;}}if(null!=_0x50c043['data']&&_0x50c043['hasOwnProperty']('data')&&!_0x468a0a['isString'](_0x50c043['data']))return'data:\x20string\x20expected';if(null!=_0x50c043['attributesBoolean']&&_0x50c043['hasOwnProperty']('attributesBoolean')){if(!_0x468a0a['isObject'](_0x50c043['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x27af2a=Object['keys'](_0x50c043['attributesBoolean']);for(_0x202817=0x0;_0x202817<_0x27af2a['length'];++_0x202817)if('boolean'!=typeof _0x50c043['attributesBoolean'][_0x27af2a[_0x202817]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x50c043['attributesJson']&&_0x50c043['hasOwnProperty']('attributesJson')&&!_0x468a0a['isString'](_0x50c043['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x4bbc7b['fromObject']=function(_0x5f30dc){if(_0x5f30dc instanceof _0x4d18b3['Element'])return _0x5f30dc;var _0x13eadd=new _0x4d18b3['Element']();if(null!=_0x5f30dc['name']&&(_0x13eadd['name']=String(_0x5f30dc['name'])),_0x5f30dc['children']){if(!Array['isArray'](_0x5f30dc['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x13eadd['children']=[];for(var _0x198fab=0x0;_0x198fab<_0x5f30dc['children']['length'];++_0x198fab){if('object'!=typeof _0x5f30dc['children'][_0x198fab])throw TypeError('.Element.children:\x20object\x20expected');_0x13eadd['children'][_0x198fab]=_0x4d18b3['Element']['fromObject'](_0x5f30dc['children'][_0x198fab]);}}if(null!=_0x5f30dc['data']&&(_0x13eadd['data']=String(_0x5f30dc['data'])),_0x5f30dc['attributesBoolean']){if('object'!=typeof _0x5f30dc['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x13eadd['attributesBoolean']={};var _0x1957fa=Object['keys'](_0x5f30dc['attributesBoolean']);for(_0x198fab=0x0;_0x198fab<_0x1957fa['length'];++_0x198fab)_0x13eadd['attributesBoolean'][_0x1957fa[_0x198fab]]=Boolean(_0x5f30dc['attributesBoolean'][_0x1957fa[_0x198fab]]);}return null!=_0x5f30dc['attributesJson']&&(_0x13eadd['attributesJson']=String(_0x5f30dc['attributesJson'])),_0x13eadd;},_0x4bbc7b['toObject']=function(_0x5d070b,_0x1ab45f){_0x1ab45f||(_0x1ab45f={});var _0x408385,_0x14fdea={};if((_0x1ab45f['arrays']||_0x1ab45f['defaults'])&&(_0x14fdea['children']=[]),(_0x1ab45f['objects']||_0x1ab45f['defaults'])&&(_0x14fdea['attributesBoolean']={}),_0x1ab45f['defaults']&&(_0x14fdea['name']='',_0x14fdea['data']='',_0x14fdea['attributesJson']=''),null!=_0x5d070b['name']&&_0x5d070b['hasOwnProperty']('name')&&(_0x14fdea['name']=_0x5d070b['name']),_0x5d070b['children']&&_0x5d070b['children']['length']){_0x14fdea['children']=[];for(var _0x2618e7=0x0;_0x2618e7<_0x5d070b['children']['length'];++_0x2618e7)_0x14fdea['children'][_0x2618e7]=_0x4d18b3['Element']['toObject'](_0x5d070b['children'][_0x2618e7],_0x1ab45f);}if(null!=_0x5d070b['data']&&_0x5d070b['hasOwnProperty']('data')&&(_0x14fdea['data']=_0x5d070b['data']),_0x5d070b['attributesBoolean']&&(_0x408385=Object['keys'](_0x5d070b['attributesBoolean']))['length']){_0x14fdea['attributesBoolean']={};for(_0x2618e7=0x0;_0x2618e7<_0x408385['length'];++_0x2618e7)_0x14fdea['attributesBoolean'][_0x408385[_0x2618e7]]=_0x5d070b['attributesBoolean'][_0x408385[_0x2618e7]];}return null!=_0x5d070b['attributesJson']&&_0x5d070b['hasOwnProperty']('attributesJson')&&(_0x14fdea['attributesJson']=_0x5d070b['attributesJson']),_0x14fdea;},_0x4bbc7b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe49c00['util']['toJSONOptions']);},_0x4bbc7b['getTypeUrl']=function(_0x9405c1){return void 0x0===_0x9405c1&&(_0x9405c1='type.googleapis.com'),_0x9405c1+'/Element';},_0x4bbc7b;}()),_0x4d18b3;})());class r{['_protobufRoot'];constructor(){this['_protobufRoot']=u;}['getDescriptor'](_0x319fb7){return new y(this['_protobufRoot'][_0x319fb7]);}}class y{['_protobuf'];constructor(_0x38b0c1){this['_protobuf']=_0x38b0c1;}['compress'](_0x2df6fa){const _0x2bcdef=this['_protobuf']['verify'](_0x2df6fa);if(_0x2bcdef)throw Error(_0x2bcdef);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x2df6fa))['finish']();}['decompress'](_0x3d1e34){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x3d1e34),{'oneofs':!0x0});}}function _(_0x3585e8,_0x3857fa){const _0x15e5f4=_0x115414(_0x3585e8);return _0x15e5f4['path'][_0x15e5f4['path']['length']-0x1]+=_0x3857fa,_0x15e5f4;}function O(_0x570639,_0x3b9d79){return _0x570639['root']===_0x3b9d79['root']&&_0x474f1d(_0x570639['path'],_0x3b9d79['path']);}function $(_0x213d9d){P(_0x213d9d,_0x518d82=>('main'==_0x518d82['root']?(_0x518d82['rootMain']=!0x0,delete _0x518d82['root']):'$graveyard'==_0x518d82['root']&&(_0x518d82['rootGraveyard']=!0x0,delete _0x518d82['root']),_0x518d82));}function J(_0x406776){P(_0x406776,_0x1f9f2b=>(_0x1f9f2b['rootMain']?(_0x1f9f2b['root']='main',delete _0x1f9f2b['rootMain']):_0x1f9f2b['rootGraveyard']&&(_0x1f9f2b['root']='$graveyard',delete _0x1f9f2b['rootGraveyard']),_0x1f9f2b));}function P(_0x429dde,_0xe7984){for(const _0x48cbe1 in _0x429dde){const _0x3cd48b=_0x429dde[_0x48cbe1];'nodes'!==_0x48cbe1&&_0x507d22(_0x3cd48b)&&(_0x3cd48b['path']&&(_0x3cd48b['root']||_0x3cd48b['rootMain']||_0x3cd48b['rootGraveyard'])?_0x429dde[_0x48cbe1]=_0xe7984(_0x3cd48b):P(_0x3cd48b,_0xe7984));}return _0x429dde;}class e{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x45c238,_0x37f318,_0x199cdf){this['_id']=_0x45c238,this['_operationName']=_0x37f318,this['_protobufDescriptor']=_0x199cdf;}['compress'](_0x1fc928,_0xe9446b){const _0x43a940=_0xe9446b['shift']();return $(_0x43a940),_0x1fc928['buffers']['push'](this['_protobufDescriptor']['compress'](_0x43a940)),_0x1fc928['types']['push'](this['_id']),!0x0;}['decompress'](_0x2d62f9,_0x435fc0){_0x435fc0['types']['shift']();const _0x4f4b0a=this['_protobufDescriptor']['decompress'](_0x435fc0['buffers']['shift']());J(_0x4f4b0a),_0x4f4b0a['__className']=this['_operationName'],_0x2d62f9['push'](_0x4f4b0a);}}class s extends e{['compress'](_0x2f286d,_0x4ed7a0){const _0x5492ef=_0x4ed7a0['shift']();return this['_serializeOneOf']('oldValue',_0x5492ef),this['_serializeOneOf']('newValue',_0x5492ef),$(_0x5492ef),_0x2f286d['buffers']['push'](this['_protobufDescriptor']['compress'](_0x5492ef)),_0x2f286d['types']['push'](this['_id']),!0x0;}['decompress'](_0xdfda0b,_0x1d71a8){const {types:_0x40f686,buffers:_0x5357be}=_0x1d71a8,_0x51cbbf=this['_protobufDescriptor']['decompress'](_0x5357be['shift']());_0x40f686['shift'](),this['_deserializeOneOf']('oldValue',_0x51cbbf),this['_deserializeOneOf']('newValue',_0x51cbbf),J(_0x51cbbf),_0x51cbbf['__className']=this['_operationName'],_0xdfda0b['push'](_0x51cbbf);}['_serializeOneOf'](_0x309d2d,_0xbbc7de){const _0x4d63b7=_0xbbc7de[_0x309d2d];'boolean'==typeof _0x4d63b7?_0xbbc7de[_0x309d2d+'Boolean']=_0x4d63b7:_0xbbc7de[_0x309d2d+'Json']=JSON['stringify'](_0x4d63b7);}['_deserializeOneOf'](_0x11cf51,_0x35623f){const _0x2d22bb=_0x11cf51+'Json';_0x35623f[_0x2d22bb]?(_0x35623f[_0x11cf51]=JSON['parse'](_0x35623f[_0x2d22bb]),delete _0x35623f[_0x2d22bb]):(_0x35623f[_0x11cf51]=_0x35623f[_0x11cf51+'Boolean'],delete _0x35623f[_0x11cf51+'Boolean']);}}class i extends e{['compress'](_0x1339e5,_0x494b81){const _0x37cd58=_0x494b81['shift']();return this['_serializeNodesAttributes'](_0x37cd58['nodes']),$(_0x37cd58),_0x1339e5['buffers']['push'](this['_protobufDescriptor']['compress'](_0x37cd58)),_0x1339e5['types']['push'](this['_id']),!0x0;}['decompress'](_0x5cb1d5,_0xcfcc66){const {types:_0x1a3001,buffers:_0x56f996}=_0xcfcc66,_0x2aed11=this['_protobufDescriptor']['decompress'](_0x56f996['shift']());_0x1a3001['shift'](),_0x2aed11['nodes']||(_0x2aed11['nodes']=[]),this['_deserializeNodesAttributes'](_0x2aed11['nodes']),J(_0x2aed11),_0x2aed11['__className']=this['_operationName'],_0x5cb1d5['push'](_0x2aed11);}['_serializeNodesAttributes'](_0x5b1594){for(const _0x114e47 of _0x5b1594){if(_0x114e47['attributes']){const _0x2d9fa3=_0x114e47['attributes'];this['_areValuesBoolean'](_0x2d9fa3)?_0x114e47['attributesBoolean']=_0x2d9fa3:_0x114e47['attributesJson']=JSON['stringify'](_0x2d9fa3);}_0x114e47['children']&&this['_serializeNodesAttributes'](_0x114e47['children']);}}['_deserializeNodesAttributes'](_0x2362f1){for(const _0x446a78 of _0x2362f1)(_0x446a78['attributesBoolean']||_0x446a78['attributesJson'])&&(_0x446a78['attributesBoolean']?(_0x446a78['attributes']=_0x446a78['attributesBoolean'],delete _0x446a78['attributesBoolean']):(_0x446a78['attributes']=JSON['parse'](_0x446a78['attributesJson']),delete _0x446a78['attributesJson'])),_0x446a78['children']&&this['_deserializeNodesAttributes'](_0x446a78['children']);}['_areValuesBoolean'](_0x4d48d7){return Object['keys'](_0x4d48d7)['every'](_0x3b744a=>'boolean'==typeof _0x4d48d7[_0x3b744a]);}}class n extends e{['decompress'](_0xa88a1,_0x177216){super['decompress'](_0xa88a1,_0x177216);const _0x30c2c9=_0xa88a1[_0xa88a1['length']-0x1];_0x30c2c9['oldRange']||(_0x30c2c9['oldRange']=null),_0x30c2c9['newRange']||(_0x30c2c9['newRange']=null);}}class p extends e{['compress'](_0x36869a,_0xb54671){return _0xb54671['shift'](),_0x36869a['types']['push'](this['_id']),!0x0;}['decompress'](_0x235ba8,_0x3399ca){_0x3399ca['types']['shift'](),_0x235ba8['push']({'__className':this['_operationName']});}}class a extends n{['_omittedNamespace'];constructor(_0x1c74e1,_0xc790b1,_0x517fa4,_0x207465){super(_0x1c74e1,_0xc790b1,_0x517fa4),this['_omittedNamespace']=_0x207465+':';}['compress'](_0x2d27b1,_0x564eb2){return!('MarkerOperation'!=_0x564eb2[0x0]['__className']||!_0x564eb2[0x0]['name']['startsWith'](this['_omittedNamespace']))&&(_0x564eb2[0x0]['name']=_0x564eb2[0x0]['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x2d27b1,_0x564eb2),!0x0);}['decompress'](_0x5146ce,_0x5482e5){super['decompress'](_0x5146ce,_0x5482e5);const _0x41e986=_0x5146ce[_0x5146ce['length']-0x1];_0x41e986['name']=this['_omittedNamespace']+_0x41e986['name'];}}class b{['_id'];['_context'];constructor(_0x2e97b9,_0x34393d){this['_id']=_0x2e97b9,this['_context']=_0x34393d;}['compress'](_0x5db7ce,_0x2ff1a5){let _0x281665;for(;_0x2ff1a5['length']>0x1&&this['_compareOperations'](_0x2ff1a5[0x0],_0x2ff1a5[0x1]);)_0x281665?(_0x281665=this['_combineNext'](_0x2ff1a5['shift'](),_0x281665),_0x5db7ce['types']['push'](0x0)):(_0x281665=_0x115414(_0x2ff1a5['shift']()),_0x5db7ce['types']['push'](this['_id']));return!!_0x281665&&(_0x281665=this['_combineNext'](_0x2ff1a5['shift'](),_0x281665),_0x5db7ce['types']['push'](0x0),_0x5db7ce['buffers']['push'](this['_compressSingleOperation'](_0x281665)),!0x0);}['decompress'](_0x51fb70,_0x3701c8){const _0x24884b=this['_decompressSingleOperation'](_0x3701c8);for(;0x0==_0x3701c8['types'][0x0];)_0x3701c8['types']['shift'](),_0x51fb70['push'](this['_splitCurrent'](_0x24884b));_0x51fb70['push'](_0x24884b);}}class m extends b{['_combineNext'](_0x5041f2,_0x538c45){return _0x538c45['nodes'][0x0]['data']+=_0x5041f2['nodes'][0x0]['data'],_0x538c45;}['_splitCurrent'](_0x2e0f2c){const _0x399321=_0x115414(_0x2e0f2c),_0x5d5bae=_0x399321['nodes'][0x0],_0x46ab65=_0x2e0f2c['nodes'][0x0],_0x36fd72=_0x46ab65['data'][Symbol['iterator']]()['next']()['value'],_0x293351=_0x36fd72['length'];return _0x5d5bae['data']=_0x36fd72,_0x46ab65['data']=_0x46ab65['data']['substr'](_0x293351),_0x2e0f2c['position']=_(_0x2e0f2c['position'],_0x293351),_0x399321;}['_compareOperations'](_0x396a1e,_0x36857c){if(this['_checkOperation'](_0x396a1e)&&this['_checkOperation'](_0x36857c)){const _0x4c13d5=_0x396a1e['nodes'][0x0]['data']['length'],_0x2c7895=O(_(_0x396a1e['position'],_0x4c13d5),_0x36857c['position']),_0x312c85=_0x396a1e['nodes'][0x0],_0x2b82ab=_0x36857c['nodes'][0x0];return _0x2c7895&&this['_compareAttributes'](_0x312c85,_0x2b82ab);}return!0x1;}['_compressSingleOperation'](_0x5ec0fe){const _0x1234b2={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x1234b2,[_0x5ec0fe]),_0x1234b2['buffers'][0x0];}['_decompressSingleOperation'](_0xde00b7){const _0x52d44b=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x52d44b,_0xde00b7),_0x52d44b[0x0];}['_checkOperation'](_0x4145f6){return'InsertOperation'==_0x4145f6['__className']&&0x1==_0x4145f6['nodes']['length']&&_0x4145f6['nodes'][0x0]['data']&&!_0x4145f6['wasUndone']&&0x1==Array['from'](_0x4145f6['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x4427d3,_0xec0a49){const _0x1919d8=Object['keys'](_0x4427d3['attributes']||{}),_0x53cf70=Object['keys'](_0xec0a49['attributes']||{});return _0x1919d8['length']===_0x53cf70['length']&&_0x1919d8['every'](_0x402587=>_0xec0a49['attributes'][_0x402587]&&_0xec0a49['attributes'][_0x402587]===_0x4427d3['attributes'][_0x402587]);}}class c extends b{['_combineNext'](_0xd8d4ca,_0x24111b){return _0x24111b['howMany']++,_0x24111b['sourcePosition']=_0x115414(_0xd8d4ca['sourcePosition']),_0x24111b;}['_splitCurrent'](_0xc1d484){const _0x3ac686=_0x115414(_0xc1d484);return _0xc1d484['howMany']--,_0x3ac686['howMany']=0x1,_0x3ac686['sourcePosition']=_(_0x3ac686['sourcePosition'],_0xc1d484['howMany']),_0x3ac686;}['_compareOperations'](_0x54c7e9,_0x7e87d5){return!(!this['_checkOperation'](_0x54c7e9)||!this['_checkOperation'](_0x7e87d5))&&(O(_(_0x54c7e9['sourcePosition'],-0x1),_0x7e87d5['sourcePosition'])&&O(_0x54c7e9['targetPosition'],_0x7e87d5['targetPosition']));}['_compressSingleOperation'](_0x262848){const _0x1072e0={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x1072e0,[_0x262848]),_0x1072e0['buffers'][0x0];}['_decompressSingleOperation'](_0x1dbf45){const _0x3d43b1=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x3d43b1,_0x1dbf45),_0x3d43b1[0x0];}['_checkOperation'](_0x30239e){return'MoveOperation'==_0x30239e['__className']&&'$graveyard'==_0x30239e['targetPosition']['root']&&0x1==_0x30239e['howMany']&&!_0x30239e['wasUndone'];}}class h extends b{['_combineNext'](_0x2c139e,_0x1ecd19){return _0x1ecd19['howMany']++,_0x1ecd19;}['_splitCurrent'](_0x2e5fd9){const _0x55a633=_0x115414(_0x2e5fd9);return _0x55a633['howMany']=0x1,_0x2e5fd9['howMany']--,_0x55a633;}['_compareOperations'](_0x2df329,_0x21f51f){return!(!this['_checkOperation'](_0x2df329)||!this['_checkOperation'](_0x21f51f))&&(O(_0x2df329['sourcePosition'],_0x21f51f['sourcePosition'])&&O(_0x2df329['targetPosition'],_0x21f51f['targetPosition']));}['_compressSingleOperation'](_0x153d2d){const _0x208de8={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x208de8,[_0x153d2d]),_0x208de8['buffers'][0x0];}['_decompressSingleOperation'](_0x99e025){const _0x3c2351=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x3c2351,_0x99e025),_0x3c2351[0x0];}['_checkOperation'](_0x403108){return'MoveOperation'==_0x403108['__className']&&'$graveyard'==_0x403108['targetPosition']['root']&&0x1==_0x403108['howMany']&&!_0x403108['wasUndone'];}}class f extends b{['compress'](_0x4a0117,_0x11eb4e){if(!this['_compareOperations'](_0x11eb4e[0x0],_0x11eb4e[0x1]))return!0x1;const _0x2b318b=_0x11eb4e['shift']();return _0x2b318b['oldRange']=null,_0x2b318b['newRange']&&O(_0x2b318b['newRange']['start'],_0x2b318b['newRange']['end'])&&(_0x2b318b['newRange']['end']=null),_0x11eb4e['shift'](),_0x4a0117['types']['push'](this['_id']),_0x4a0117['types']['push'](0x0),_0x4a0117['buffers']['push'](this['_compressSingleOperation'](_0x2b318b)),!0x0;}['decompress'](_0x2913b5,_0x15de39){const _0x13e4de=this['_decompressSingleOperation'](_0x15de39);_0x13e4de['newRange']&&!_0x13e4de['newRange']['end']&&(_0x13e4de['newRange']['end']=_0x115414(_0x13e4de['newRange']['start']));const _0x5ef773=_0x115414(_0x13e4de);_0x5ef773['newRange']&&(_0x5ef773['newRange']['start']['stickiness']='toNone',_0x5ef773['newRange']['end']=_0x115414(_0x5ef773['newRange']['start'])),_0x5ef773['name']='user:position:'+_0x5ef773['name']['split'](':')[0x2],_0x15de39['types']['shift'](),_0x2913b5['push'](_0x13e4de),_0x2913b5['push'](_0x5ef773);}['_compressSingleOperation'](_0x2da9b4){const _0x14f9b4={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x14f9b4,[_0x2da9b4]),_0x14f9b4['buffers'][0x0];}['_decompressSingleOperation'](_0x567905){const _0x403779=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x403779,_0x567905),_0x403779[0x0];}['_compareOperations'](_0x3d8e70,_0x23f996){return!(!_0x3d8e70||!_0x23f996)&&('MarkerOperation'==_0x3d8e70['__className']&&'MarkerOperation'==_0x23f996['__className']&&!(!_0x3d8e70['name']['startsWith']('user:')||!_0x23f996['name']['startsWith']('user:')||_0x3d8e70['name']==_0x23f996['name']));}}class g{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new r();const _0x4a1ce5=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',_0x4a1ce5,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new a(0x13,'MarkerOperation',_0x4a1ce5,'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'](_0x386dc6){if(!_0x386dc6||!_0x386dc6[0x0])throw new _0x21ff6e('no-operations-provided',this);const _0x624cde={'types':[],'buffers':[],'baseVersion':_0x386dc6[0x0]['baseVersion']};for(;_0x386dc6['length'];)this['_getCompressorByName']('UserSelectionAction')['compress'](_0x624cde,_0x386dc6)||this['_getCompressorByName']('TypingAction')['compress'](_0x624cde,_0x386dc6)||this['_getCompressorByName']('DeletingAction')['compress'](_0x624cde,_0x386dc6)||this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x624cde,_0x386dc6)||this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x624cde,_0x386dc6)||this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x624cde,_0x386dc6)||this['_getCompressorByName'](_0x386dc6[0x0]['__className'])['compress'](_0x624cde,_0x386dc6);return _0x624cde;}['decompress'](_0x1152b5){const _0x28d7f7=[];for(;_0x1152b5['types']['length'];){this['_compressorById']['get'](_0x1152b5['types'][0x0])['decompress'](_0x28d7f7,_0x1152b5);}return _0x28d7f7['forEach']((_0xfcf2bb,_0x2940a7)=>_0xfcf2bb['baseVersion']=_0x1152b5['baseVersion']+_0x2940a7),_0x28d7f7;}['_getCompressorByName'](_0x485094){return this['_compressorByName']['get'](_0x485094);}['_registerOperationCompressor'](_0x1e3d97,_0x1540f8,_0x2cb8d){const _0x49c89d=new _0x2cb8d(_0x1e3d97,_0x1540f8,this['_protobufFactory']['getDescriptor'](_0x1540f8));this['_registerCompressor'](_0x1e3d97,_0x1540f8,_0x49c89d);}['_registerActionCompressor'](_0x1b4705,_0x4ce821,_0x1c374d){const _0x7ca405=new _0x1c374d(_0x1b4705,this);this['_registerCompressor'](_0x1b4705,_0x4ce821,_0x7ca405);}['_registerCompressor'](_0x391448,_0x237e21,_0x2dfd24){this['_compressorById']['set'](_0x391448,_0x2dfd24),this['_compressorByName']['set'](_0x237e21,_0x2dfd24);}}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.1",
|
|
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.1",
|
|
37
37
|
"lodash-es": "4.17.21",
|
|
38
38
|
"protobufjs": "7.2.5"
|
|
39
39
|
},
|