@ckeditor/ckeditor5-operations-compressor 36.0.1 → 37.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +14 -4
- package/src/actioncompressor/actioncompressor.d.ts +56 -0
- package/src/actioncompressor/actioncompressor.js +1 -1
- package/src/actioncompressor/deletingactioncompressor.d.ts +24 -0
- package/src/actioncompressor/deletingactioncompressor.js +1 -1
- package/src/actioncompressor/forwarddeletingactioncompressor.d.ts +24 -0
- package/src/actioncompressor/forwarddeletingactioncompressor.js +1 -1
- package/src/actioncompressor/typingactioncompressor.d.ts +24 -0
- package/src/actioncompressor/typingactioncompressor.js +1 -1
- package/src/actioncompressor/userselectionactioncompressor.d.ts +12 -0
- package/src/actioncompressor/userselectionactioncompressor.js +1 -1
- package/src/compressor.d.ts +41 -0
- package/src/compressor.js +1 -1
- package/src/lib/compiledmessages.d.ts +1435 -0
- package/src/lib/compiledmessages.js +23 -0
- package/src/operationcompressor/annotationmarkeroperationcompressor.d.ts +18 -0
- package/src/operationcompressor/annotationmarkeroperationcompressor.js +1 -1
- package/src/operationcompressor/attributeoperationcompressor.d.ts +13 -0
- package/src/operationcompressor/attributeoperationcompressor.js +1 -1
- package/src/operationcompressor/insertoperationcompressor.d.ts +13 -0
- package/src/operationcompressor/insertoperationcompressor.js +1 -1
- package/src/operationcompressor/markeroperationcompressor.d.ts +9 -0
- package/src/operationcompressor/markeroperationcompressor.js +1 -1
- package/src/operationcompressor/nooperationcompressor.d.ts +16 -0
- package/src/operationcompressor/nooperationcompressor.js +1 -1
- package/src/operationcompressor/operationcompressor.d.ts +24 -0
- package/src/operationcompressor/operationcompressor.js +1 -1
- package/src/protobufdescriptions.d.ts +12 -0
- package/src/protobufdescriptions.js +23 -0
- package/src/protobuffactory.d.ts +1 -0
- package/src/protobuffactory.js +1 -1
- package/src/utils.d.ts +26 -0
- package/src/utils.js +1 -1
- package/src/commondescriptions.js +0 -23
- package/src/errors.jsdoc +0 -18
- package/src/operationcompressor/mergeoperationcompressor.js +0 -23
- package/src/operationcompressor/moveoperationcompressor.js +0 -23
- package/src/operationcompressor/renameoperationcompressor.js +0 -23
- package/src/operationcompressor/rootattributeoperationcompressor.js +0 -23
- package/src/operationcompressor/splitoperationcompressor.js +0 -23
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x3fe9=['object\x20expected','.Element.attributesBoolean:\x20object\x20expected','wasUndone:\x20boolean\x20expected','len','SplitOperation','InsertOperation','string','newValueBoolean:\x20boolean\x20expected','children.','RootOperation','position','newValueJson:\x20string\x20expected','splitPosition','data:\x20string\x20expected','oldValueJson:\x20string\x20expected','getTypeUrl','emptyObject','targetPosition.','/MarkerOperation','MoveOperation','newName','shouldReceiveAttributes:\x20boolean\x20expected','stickiness:\x20string\x20expected','shouldReceiveAttributes','wasUndone','rootName','affectsData','rootGraveyard:\x20boolean\x20expected','MergeOperation','howMany:\x20integer\x20expected','Element','key:\x20string\x20expected','.MoveOperation.sourcePosition:\x20object\x20expected','range','object','key','nodes.','length','children','encodeDelimited','.InsertOperation.position:\x20object\x20expected','toJSONOptions','affectsData:\x20boolean\x20expected','Writer','oldValueBoolean','fromObject','start','root:\x20string\x20expected','oldName','nodes','elementName:\x20string\x20expected','elementName','.SplitOperation.insertionPosition:\x20object\x20expected','call','name','RootAttributeOperation','/MoveOperation','attributesBoolean','rootGraveyard','/MergeOperation','constructor','/InsertOperation','oldValueJson','fork','oldRange.','rootName:\x20string\x20expected','stickiness','.MarkerOperation.newRange:\x20object\x20expected','Position','/Element','.Range.start:\x20object\x20expected','graveyardPosition','util','AttributeOperation','isObject','Range','decode','push','.MergeOperation.targetPosition:\x20object\x20expected','hasOwnProperty','.SplitOperation.splitPosition:\x20object\x20expected','/RenameOperation','boolean','.SplitOperation.graveyardPosition:\x20object\x20expected','/RootAttributeOperation','oldRange','path','/SplitOperation','decodeDelimited','rootMain','newValueJson','children:\x20array\x20expected','verify','defaults','ldelim','/Position','roots','nodes:\x20array\x20expected','create','sourcePosition','isAdd','path:\x20array\x20expected','isArray','oldName:\x20string\x20expected','.MoveOperation.targetPosition:\x20object\x20expected','prototype','.MergeOperation.graveyardPosition:\x20object\x20expected','attributesBoolean:\x20boolean{k:string}\x20expected','root','RenameOperation','oldValueBoolean:\x20boolean\x20expected','.Range.end:\x20object\x20expected','bool','newRange','attributesJson:\x20string\x20expected','keys','newValueBoolean','emptyArray','path:\x20integer[]\x20expected','pos','insertionPosition','MarkerOperation','howMany','.InsertOperation.nodes:\x20object\x20expected','splitPosition.','.MarkerOperation.oldRange:\x20object\x20expected','.InsertOperation.nodes:\x20array\x20expected','data','.Position.path:\x20array\x20expected','.Element.children:\x20array\x20expected','arrays','graveyardPosition.','sourcePosition.','.AttributeOperation.range:\x20object\x20expected','position.','/Range','isInteger','skipType','uint32','end','toJSON','rootMain:\x20boolean\x20expected','name:\x20string\x20expected','toObject','Reader','targetPosition','.Element.children:\x20object\x20expected','.MergeOperation.sourcePosition:\x20object\x20expected','encode','type.googleapis.com','isString','newName:\x20string\x20expected','.RenameOperation.position:\x20object\x20expected','attributesJson'];(function(_0x5127f6,_0x3fe975){const _0x12e207=function(_0x34bfa2){while(--_0x34bfa2){_0x5127f6['push'](_0x5127f6['shift']());}};_0x12e207(++_0x3fe975);}(_0x3fe9,0x1b9));const _0x12e2=function(_0x5127f6,_0x3fe975){_0x5127f6=_0x5127f6-0x0;let _0x12e207=_0x3fe9[_0x5127f6];return _0x12e207;};import*as _0x47a817 from'protobufjs/minimal';const j=_0x47a817[_0x12e2('0xb')],y=_0x47a817[_0x12e2('0x40')],k=_0x47a817[_0x12e2('0x5d')],v=_0x47a817[_0x12e2('0x75')]['default']||(_0x47a817['roots']['default']={});export const AttributeOperation=v[_0x12e2('0x5e')]=(()=>{function _0x4dba2a(_0x52d22b){if(_0x52d22b)for(let _0x1eddcd=Object['keys'](_0x52d22b),_0x1efd36=0x0;_0x1efd36<_0x1eddcd[_0x12e2('0x3a')];++_0x1efd36)null!=_0x52d22b[_0x1eddcd[_0x1efd36]]&&(this[_0x1eddcd[_0x1efd36]]=_0x52d22b[_0x1eddcd[_0x1efd36]]);}return _0x4dba2a['prototype'][_0x12e2('0x36')]=null,_0x4dba2a['prototype'][_0x12e2('0x38')]='',_0x4dba2a['prototype']['oldValueBoolean']=!0x1,_0x4dba2a[_0x12e2('0x7e')][_0x12e2('0x53')]='',_0x4dba2a[_0x12e2('0x7e')][_0x12e2('0x89')]=!0x1,_0x4dba2a[_0x12e2('0x7e')]['newValueJson']='',_0x4dba2a[_0x12e2('0x7e')]['wasUndone']=!0x1,_0x4dba2a[_0x12e2('0x77')]=function(_0x2eb974){return new _0x4dba2a(_0x2eb974);},_0x4dba2a[_0x12e2('0xf')]=function(_0x3bae3f,_0x29f257){return _0x29f257||(_0x29f257=y[_0x12e2('0x77')]()),null!=_0x3bae3f['range']&&Object['hasOwnProperty'][_0x12e2('0x4a')](_0x3bae3f,'range')&&v[_0x12e2('0x60')]['encode'](_0x3bae3f['range'],_0x29f257[_0x12e2('0x5')](0xa)[_0x12e2('0x54')]())[_0x12e2('0x73')](),null!=_0x3bae3f[_0x12e2('0x38')]&&Object['hasOwnProperty']['call'](_0x3bae3f,_0x12e2('0x38'))&&_0x29f257[_0x12e2('0x5')](0x12)['string'](_0x3bae3f[_0x12e2('0x38')]),null!=_0x3bae3f['oldValueBoolean']&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x3bae3f,'oldValueBoolean')&&_0x29f257['uint32'](0x18)['bool'](_0x3bae3f['oldValueBoolean']),null!=_0x3bae3f[_0x12e2('0x53')]&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x3bae3f,_0x12e2('0x53'))&&_0x29f257[_0x12e2('0x5')](0x22)['string'](_0x3bae3f[_0x12e2('0x53')]),null!=_0x3bae3f['newValueBoolean']&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x3bae3f,_0x12e2('0x89'))&&_0x29f257['uint32'](0x28)[_0x12e2('0x85')](_0x3bae3f[_0x12e2('0x89')]),null!=_0x3bae3f[_0x12e2('0x6f')]&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x3bae3f,_0x12e2('0x6f'))&&_0x29f257['uint32'](0x32)['string'](_0x3bae3f[_0x12e2('0x6f')]),null!=_0x3bae3f[_0x12e2('0x2d')]&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x3bae3f,_0x12e2('0x2d'))&&_0x29f257['uint32'](0x38)['bool'](_0x3bae3f[_0x12e2('0x2d')]),_0x29f257;},_0x4dba2a[_0x12e2('0x3c')]=function(_0x1d0c5e,_0x4149d1){return this[_0x12e2('0xf')](_0x1d0c5e,_0x4149d1)[_0x12e2('0x73')]();},_0x4dba2a[_0x12e2('0x61')]=function(_0x52a0d5,_0x45e870){_0x52a0d5 instanceof j||(_0x52a0d5=j[_0x12e2('0x77')](_0x52a0d5));let _0x196f11=void 0x0===_0x45e870?_0x52a0d5[_0x12e2('0x18')]:_0x52a0d5[_0x12e2('0x8c')]+_0x45e870,_0x3932e2=new v[(_0x12e2('0x5e'))]();for(;_0x52a0d5[_0x12e2('0x8c')]<_0x196f11;){let _0x456a62=_0x52a0d5[_0x12e2('0x5')]();switch(_0x456a62>>>0x3){case 0x1:_0x3932e2[_0x12e2('0x36')]=v[_0x12e2('0x60')]['decode'](_0x52a0d5,_0x52a0d5[_0x12e2('0x5')]());break;case 0x2:_0x3932e2['key']=_0x52a0d5['string']();break;case 0x3:_0x3932e2['oldValueBoolean']=_0x52a0d5[_0x12e2('0x85')]();break;case 0x4:_0x3932e2['oldValueJson']=_0x52a0d5[_0x12e2('0x1b')]();break;case 0x5:_0x3932e2[_0x12e2('0x89')]=_0x52a0d5[_0x12e2('0x85')]();break;case 0x6:_0x3932e2['newValueJson']=_0x52a0d5[_0x12e2('0x1b')]();break;case 0x7:_0x3932e2[_0x12e2('0x2d')]=_0x52a0d5[_0x12e2('0x85')]();break;default:_0x52a0d5[_0x12e2('0x4')](0x7&_0x456a62);}}return _0x3932e2;},_0x4dba2a[_0x12e2('0x6d')]=function(_0x4e5b8e){return _0x4e5b8e instanceof j||(_0x4e5b8e=new j(_0x4e5b8e)),this[_0x12e2('0x61')](_0x4e5b8e,_0x4e5b8e[_0x12e2('0x5')]());},_0x4dba2a[_0x12e2('0x71')]=function(_0x51d169){if(_0x12e2('0x37')!=typeof _0x51d169||null===_0x51d169)return _0x12e2('0x15');if(null!=_0x51d169[_0x12e2('0x36')]&&_0x51d169['hasOwnProperty'](_0x12e2('0x36'))){let _0x259666=v[_0x12e2('0x60')][_0x12e2('0x71')](_0x51d169[_0x12e2('0x36')]);if(_0x259666)return'range.'+_0x259666;}return null!=_0x51d169[_0x12e2('0x38')]&&_0x51d169[_0x12e2('0x64')](_0x12e2('0x38'))&&!k[_0x12e2('0x11')](_0x51d169[_0x12e2('0x38')])?'key:\x20string\x20expected':null!=_0x51d169['oldValueBoolean']&&_0x51d169[_0x12e2('0x64')](_0x12e2('0x41'))&&_0x12e2('0x67')!=typeof _0x51d169[_0x12e2('0x41')]?_0x12e2('0x83'):null!=_0x51d169[_0x12e2('0x53')]&&_0x51d169[_0x12e2('0x64')](_0x12e2('0x53'))&&!k['isString'](_0x51d169['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x51d169[_0x12e2('0x89')]&&_0x51d169[_0x12e2('0x64')](_0x12e2('0x89'))&&_0x12e2('0x67')!=typeof _0x51d169[_0x12e2('0x89')]?_0x12e2('0x1c'):null!=_0x51d169[_0x12e2('0x6f')]&&_0x51d169[_0x12e2('0x64')](_0x12e2('0x6f'))&&!k[_0x12e2('0x11')](_0x51d169[_0x12e2('0x6f')])?_0x12e2('0x20'):null!=_0x51d169[_0x12e2('0x2d')]&&_0x51d169[_0x12e2('0x64')](_0x12e2('0x2d'))&&_0x12e2('0x67')!=typeof _0x51d169[_0x12e2('0x2d')]?'wasUndone:\x20boolean\x20expected':null;},_0x4dba2a[_0x12e2('0x42')]=function(_0x38c06e){if(_0x38c06e instanceof v[_0x12e2('0x5e')])return _0x38c06e;let _0x2c78da=new v['AttributeOperation']();if(null!=_0x38c06e[_0x12e2('0x36')]){if(_0x12e2('0x37')!=typeof _0x38c06e[_0x12e2('0x36')])throw TypeError(_0x12e2('0x0'));_0x2c78da[_0x12e2('0x36')]=v[_0x12e2('0x60')]['fromObject'](_0x38c06e['range']);}return null!=_0x38c06e[_0x12e2('0x38')]&&(_0x2c78da[_0x12e2('0x38')]=String(_0x38c06e[_0x12e2('0x38')])),null!=_0x38c06e[_0x12e2('0x41')]&&(_0x2c78da[_0x12e2('0x41')]=Boolean(_0x38c06e[_0x12e2('0x41')])),null!=_0x38c06e[_0x12e2('0x53')]&&(_0x2c78da['oldValueJson']=String(_0x38c06e[_0x12e2('0x53')])),null!=_0x38c06e['newValueBoolean']&&(_0x2c78da[_0x12e2('0x89')]=Boolean(_0x38c06e[_0x12e2('0x89')])),null!=_0x38c06e[_0x12e2('0x6f')]&&(_0x2c78da[_0x12e2('0x6f')]=String(_0x38c06e[_0x12e2('0x6f')])),null!=_0x38c06e['wasUndone']&&(_0x2c78da[_0x12e2('0x2d')]=Boolean(_0x38c06e['wasUndone'])),_0x2c78da;},_0x4dba2a[_0x12e2('0xa')]=function(_0x1586af,_0x5e6fdb){_0x5e6fdb||(_0x5e6fdb={});let _0x58c895={};return _0x5e6fdb['defaults']&&(_0x58c895['range']=null,_0x58c895['key']='',_0x58c895[_0x12e2('0x41')]=!0x1,_0x58c895[_0x12e2('0x53')]='',_0x58c895[_0x12e2('0x89')]=!0x1,_0x58c895[_0x12e2('0x6f')]='',_0x58c895[_0x12e2('0x2d')]=!0x1),null!=_0x1586af[_0x12e2('0x36')]&&_0x1586af['hasOwnProperty']('range')&&(_0x58c895[_0x12e2('0x36')]=v[_0x12e2('0x60')][_0x12e2('0xa')](_0x1586af['range'],_0x5e6fdb)),null!=_0x1586af[_0x12e2('0x38')]&&_0x1586af[_0x12e2('0x64')](_0x12e2('0x38'))&&(_0x58c895[_0x12e2('0x38')]=_0x1586af[_0x12e2('0x38')]),null!=_0x1586af[_0x12e2('0x41')]&&_0x1586af[_0x12e2('0x64')](_0x12e2('0x41'))&&(_0x58c895[_0x12e2('0x41')]=_0x1586af[_0x12e2('0x41')]),null!=_0x1586af[_0x12e2('0x53')]&&_0x1586af[_0x12e2('0x64')](_0x12e2('0x53'))&&(_0x58c895[_0x12e2('0x53')]=_0x1586af[_0x12e2('0x53')]),null!=_0x1586af['newValueBoolean']&&_0x1586af[_0x12e2('0x64')](_0x12e2('0x89'))&&(_0x58c895[_0x12e2('0x89')]=_0x1586af['newValueBoolean']),null!=_0x1586af['newValueJson']&&_0x1586af[_0x12e2('0x64')]('newValueJson')&&(_0x58c895[_0x12e2('0x6f')]=_0x1586af[_0x12e2('0x6f')]),null!=_0x1586af[_0x12e2('0x2d')]&&_0x1586af[_0x12e2('0x64')]('wasUndone')&&(_0x58c895[_0x12e2('0x2d')]=_0x1586af['wasUndone']),_0x58c895;},_0x4dba2a[_0x12e2('0x7e')][_0x12e2('0x7')]=function(){return this[_0x12e2('0x51')][_0x12e2('0xa')](this,_0x47a817[_0x12e2('0x5d')][_0x12e2('0x3e')]);},_0x4dba2a[_0x12e2('0x24')]=function(_0x215028){return void 0x0===_0x215028&&(_0x215028=_0x12e2('0x10')),_0x215028+'/AttributeOperation';},_0x4dba2a;})();export const InsertOperation=v['InsertOperation']=(()=>{function _0x30e6f8(_0x40a5b4){if(this[_0x12e2('0x46')]=[],_0x40a5b4)for(let _0x5b73ae=Object[_0x12e2('0x88')](_0x40a5b4),_0x4fd065=0x0;_0x4fd065<_0x5b73ae[_0x12e2('0x3a')];++_0x4fd065)null!=_0x40a5b4[_0x5b73ae[_0x4fd065]]&&(this[_0x5b73ae[_0x4fd065]]=_0x40a5b4[_0x5b73ae[_0x4fd065]]);}return _0x30e6f8['prototype']['position']=null,_0x30e6f8['prototype'][_0x12e2('0x46')]=k[_0x12e2('0x8a')],_0x30e6f8['prototype']['shouldReceiveAttributes']=!0x1,_0x30e6f8[_0x12e2('0x7e')][_0x12e2('0x2d')]=!0x1,_0x30e6f8[_0x12e2('0x77')]=function(_0x5b4e2a){return new _0x30e6f8(_0x5b4e2a);},_0x30e6f8[_0x12e2('0xf')]=function(_0x2bde6d,_0x261307){if(_0x261307||(_0x261307=y[_0x12e2('0x77')]()),null!=_0x2bde6d[_0x12e2('0x1f')]&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x2bde6d,_0x12e2('0x1f'))&&v['Position']['encode'](_0x2bde6d['position'],_0x261307[_0x12e2('0x5')](0xa)[_0x12e2('0x54')]())[_0x12e2('0x73')](),null!=_0x2bde6d[_0x12e2('0x46')]&&_0x2bde6d['nodes']['length'])for(let _0x387b13=0x0;_0x387b13<_0x2bde6d[_0x12e2('0x46')][_0x12e2('0x3a')];++_0x387b13)v[_0x12e2('0x33')][_0x12e2('0xf')](_0x2bde6d[_0x12e2('0x46')][_0x387b13],_0x261307[_0x12e2('0x5')](0x12)[_0x12e2('0x54')]())[_0x12e2('0x73')]();return null!=_0x2bde6d[_0x12e2('0x2c')]&&Object['hasOwnProperty']['call'](_0x2bde6d,_0x12e2('0x2c'))&&_0x261307[_0x12e2('0x5')](0x18)[_0x12e2('0x85')](_0x2bde6d[_0x12e2('0x2c')]),null!=_0x2bde6d['wasUndone']&&Object['hasOwnProperty']['call'](_0x2bde6d,'wasUndone')&&_0x261307[_0x12e2('0x5')](0x20)[_0x12e2('0x85')](_0x2bde6d[_0x12e2('0x2d')]),_0x261307;},_0x30e6f8[_0x12e2('0x3c')]=function(_0x1df694,_0x572430){return this[_0x12e2('0xf')](_0x1df694,_0x572430)['ldelim']();},_0x30e6f8[_0x12e2('0x61')]=function(_0x2f9d08,_0x2eb588){_0x2f9d08 instanceof j||(_0x2f9d08=j['create'](_0x2f9d08));let _0x308dd8=void 0x0===_0x2eb588?_0x2f9d08['len']:_0x2f9d08['pos']+_0x2eb588,_0x3a3df3=new v[(_0x12e2('0x1a'))]();for(;_0x2f9d08[_0x12e2('0x8c')]<_0x308dd8;){let _0x43eb1f=_0x2f9d08[_0x12e2('0x5')]();switch(_0x43eb1f>>>0x3){case 0x1:_0x3a3df3[_0x12e2('0x1f')]=v[_0x12e2('0x59')][_0x12e2('0x61')](_0x2f9d08,_0x2f9d08[_0x12e2('0x5')]());break;case 0x2:_0x3a3df3[_0x12e2('0x46')]&&_0x3a3df3['nodes']['length']||(_0x3a3df3['nodes']=[]),_0x3a3df3[_0x12e2('0x46')][_0x12e2('0x62')](v[_0x12e2('0x33')][_0x12e2('0x61')](_0x2f9d08,_0x2f9d08[_0x12e2('0x5')]()));break;case 0x3:_0x3a3df3[_0x12e2('0x2c')]=_0x2f9d08[_0x12e2('0x85')]();break;case 0x4:_0x3a3df3[_0x12e2('0x2d')]=_0x2f9d08['bool']();break;default:_0x2f9d08['skipType'](0x7&_0x43eb1f);}}return _0x3a3df3;},_0x30e6f8[_0x12e2('0x6d')]=function(_0x58590d){return _0x58590d instanceof j||(_0x58590d=new j(_0x58590d)),this['decode'](_0x58590d,_0x58590d[_0x12e2('0x5')]());},_0x30e6f8[_0x12e2('0x71')]=function(_0x4e337d){if(_0x12e2('0x37')!=typeof _0x4e337d||null===_0x4e337d)return'object\x20expected';if(null!=_0x4e337d[_0x12e2('0x1f')]&&_0x4e337d['hasOwnProperty']('position')){let _0x3e397c=v[_0x12e2('0x59')][_0x12e2('0x71')](_0x4e337d[_0x12e2('0x1f')]);if(_0x3e397c)return'position.'+_0x3e397c;}if(null!=_0x4e337d['nodes']&&_0x4e337d['hasOwnProperty']('nodes')){if(!Array[_0x12e2('0x7b')](_0x4e337d[_0x12e2('0x46')]))return _0x12e2('0x76');for(let _0x34e950=0x0;_0x34e950<_0x4e337d[_0x12e2('0x46')][_0x12e2('0x3a')];++_0x34e950){let _0x32728b=v[_0x12e2('0x33')][_0x12e2('0x71')](_0x4e337d[_0x12e2('0x46')][_0x34e950]);if(_0x32728b)return _0x12e2('0x39')+_0x32728b;}}return null!=_0x4e337d[_0x12e2('0x2c')]&&_0x4e337d[_0x12e2('0x64')](_0x12e2('0x2c'))&&'boolean'!=typeof _0x4e337d[_0x12e2('0x2c')]?_0x12e2('0x2a'):null!=_0x4e337d[_0x12e2('0x2d')]&&_0x4e337d[_0x12e2('0x64')](_0x12e2('0x2d'))&&'boolean'!=typeof _0x4e337d[_0x12e2('0x2d')]?_0x12e2('0x17'):null;},_0x30e6f8[_0x12e2('0x42')]=function(_0x31313e){if(_0x31313e instanceof v[_0x12e2('0x1a')])return _0x31313e;let _0x15d4b2=new v[(_0x12e2('0x1a'))]();if(null!=_0x31313e[_0x12e2('0x1f')]){if('object'!=typeof _0x31313e['position'])throw TypeError(_0x12e2('0x3d'));_0x15d4b2[_0x12e2('0x1f')]=v[_0x12e2('0x59')]['fromObject'](_0x31313e['position']);}if(_0x31313e[_0x12e2('0x46')]){if(!Array[_0x12e2('0x7b')](_0x31313e[_0x12e2('0x46')]))throw TypeError(_0x12e2('0x93'));_0x15d4b2[_0x12e2('0x46')]=[];for(let _0x1674d0=0x0;_0x1674d0<_0x31313e['nodes']['length'];++_0x1674d0){if(_0x12e2('0x37')!=typeof _0x31313e[_0x12e2('0x46')][_0x1674d0])throw TypeError(_0x12e2('0x90'));_0x15d4b2[_0x12e2('0x46')][_0x1674d0]=v[_0x12e2('0x33')][_0x12e2('0x42')](_0x31313e[_0x12e2('0x46')][_0x1674d0]);}}return null!=_0x31313e[_0x12e2('0x2c')]&&(_0x15d4b2[_0x12e2('0x2c')]=Boolean(_0x31313e[_0x12e2('0x2c')])),null!=_0x31313e[_0x12e2('0x2d')]&&(_0x15d4b2[_0x12e2('0x2d')]=Boolean(_0x31313e[_0x12e2('0x2d')])),_0x15d4b2;},_0x30e6f8[_0x12e2('0xa')]=function(_0x5535a4,_0x15c426){_0x15c426||(_0x15c426={});let _0x13f419={};if((_0x15c426[_0x12e2('0x97')]||_0x15c426[_0x12e2('0x72')])&&(_0x13f419[_0x12e2('0x46')]=[]),_0x15c426[_0x12e2('0x72')]&&(_0x13f419[_0x12e2('0x1f')]=null,_0x13f419[_0x12e2('0x2c')]=!0x1,_0x13f419[_0x12e2('0x2d')]=!0x1),null!=_0x5535a4[_0x12e2('0x1f')]&&_0x5535a4[_0x12e2('0x64')]('position')&&(_0x13f419[_0x12e2('0x1f')]=v['Position'][_0x12e2('0xa')](_0x5535a4[_0x12e2('0x1f')],_0x15c426)),_0x5535a4[_0x12e2('0x46')]&&_0x5535a4[_0x12e2('0x46')][_0x12e2('0x3a')]){_0x13f419['nodes']=[];for(let _0x11a0a4=0x0;_0x11a0a4<_0x5535a4['nodes']['length'];++_0x11a0a4)_0x13f419[_0x12e2('0x46')][_0x11a0a4]=v[_0x12e2('0x33')]['toObject'](_0x5535a4[_0x12e2('0x46')][_0x11a0a4],_0x15c426);}return null!=_0x5535a4[_0x12e2('0x2c')]&&_0x5535a4[_0x12e2('0x64')]('shouldReceiveAttributes')&&(_0x13f419['shouldReceiveAttributes']=_0x5535a4[_0x12e2('0x2c')]),null!=_0x5535a4['wasUndone']&&_0x5535a4[_0x12e2('0x64')](_0x12e2('0x2d'))&&(_0x13f419[_0x12e2('0x2d')]=_0x5535a4[_0x12e2('0x2d')]),_0x13f419;},_0x30e6f8['prototype'][_0x12e2('0x7')]=function(){return this[_0x12e2('0x51')][_0x12e2('0xa')](this,_0x47a817['util'][_0x12e2('0x3e')]);},_0x30e6f8['getTypeUrl']=function(_0x579127){return void 0x0===_0x579127&&(_0x579127=_0x12e2('0x10')),_0x579127+_0x12e2('0x52');},_0x30e6f8;})();export const MarkerOperation=v['MarkerOperation']=(()=>{function _0x154380(_0x25c484){if(_0x25c484)for(let _0x4ea49f=Object[_0x12e2('0x88')](_0x25c484),_0x23da0e=0x0;_0x23da0e<_0x4ea49f[_0x12e2('0x3a')];++_0x23da0e)null!=_0x25c484[_0x4ea49f[_0x23da0e]]&&(this[_0x4ea49f[_0x23da0e]]=_0x25c484[_0x4ea49f[_0x23da0e]]);}return _0x154380['prototype'][_0x12e2('0x4b')]='',_0x154380[_0x12e2('0x7e')][_0x12e2('0x6a')]=null,_0x154380[_0x12e2('0x7e')][_0x12e2('0x86')]=null,_0x154380[_0x12e2('0x7e')][_0x12e2('0x2f')]=!0x1,_0x154380[_0x12e2('0x7e')][_0x12e2('0x2d')]=!0x1,_0x154380[_0x12e2('0x77')]=function(_0x355c75){return new _0x154380(_0x355c75);},_0x154380[_0x12e2('0xf')]=function(_0x7330b6,_0x4eb1a9){return _0x4eb1a9||(_0x4eb1a9=y[_0x12e2('0x77')]()),null!=_0x7330b6['name']&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x7330b6,_0x12e2('0x4b'))&&_0x4eb1a9[_0x12e2('0x5')](0xa)[_0x12e2('0x1b')](_0x7330b6[_0x12e2('0x4b')]),null!=_0x7330b6[_0x12e2('0x6a')]&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x7330b6,'oldRange')&&v['Range'][_0x12e2('0xf')](_0x7330b6[_0x12e2('0x6a')],_0x4eb1a9['uint32'](0x12)[_0x12e2('0x54')]())[_0x12e2('0x73')](),null!=_0x7330b6[_0x12e2('0x86')]&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x7330b6,'newRange')&&v[_0x12e2('0x60')]['encode'](_0x7330b6[_0x12e2('0x86')],_0x4eb1a9['uint32'](0x1a)['fork']())[_0x12e2('0x73')](),null!=_0x7330b6['affectsData']&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x7330b6,'affectsData')&&_0x4eb1a9[_0x12e2('0x5')](0x20)[_0x12e2('0x85')](_0x7330b6[_0x12e2('0x2f')]),null!=_0x7330b6[_0x12e2('0x2d')]&&Object[_0x12e2('0x64')]['call'](_0x7330b6,_0x12e2('0x2d'))&&_0x4eb1a9[_0x12e2('0x5')](0x28)[_0x12e2('0x85')](_0x7330b6[_0x12e2('0x2d')]),_0x4eb1a9;},_0x154380[_0x12e2('0x3c')]=function(_0x2c5de7,_0x15064e){return this[_0x12e2('0xf')](_0x2c5de7,_0x15064e)[_0x12e2('0x73')]();},_0x154380[_0x12e2('0x61')]=function(_0x2ccbc6,_0x1b2630){_0x2ccbc6 instanceof j||(_0x2ccbc6=j[_0x12e2('0x77')](_0x2ccbc6));let _0x1b6c57=void 0x0===_0x1b2630?_0x2ccbc6[_0x12e2('0x18')]:_0x2ccbc6[_0x12e2('0x8c')]+_0x1b2630,_0x58956c=new v[(_0x12e2('0x8e'))]();for(;_0x2ccbc6['pos']<_0x1b6c57;){let _0x348084=_0x2ccbc6[_0x12e2('0x5')]();switch(_0x348084>>>0x3){case 0x1:_0x58956c['name']=_0x2ccbc6[_0x12e2('0x1b')]();break;case 0x2:_0x58956c['oldRange']=v[_0x12e2('0x60')]['decode'](_0x2ccbc6,_0x2ccbc6[_0x12e2('0x5')]());break;case 0x3:_0x58956c[_0x12e2('0x86')]=v[_0x12e2('0x60')][_0x12e2('0x61')](_0x2ccbc6,_0x2ccbc6['uint32']());break;case 0x4:_0x58956c[_0x12e2('0x2f')]=_0x2ccbc6[_0x12e2('0x85')]();break;case 0x5:_0x58956c[_0x12e2('0x2d')]=_0x2ccbc6[_0x12e2('0x85')]();break;default:_0x2ccbc6[_0x12e2('0x4')](0x7&_0x348084);}}return _0x58956c;},_0x154380['decodeDelimited']=function(_0x3c0b8c){return _0x3c0b8c instanceof j||(_0x3c0b8c=new j(_0x3c0b8c)),this[_0x12e2('0x61')](_0x3c0b8c,_0x3c0b8c[_0x12e2('0x5')]());},_0x154380[_0x12e2('0x71')]=function(_0x171b63){if(_0x12e2('0x37')!=typeof _0x171b63||null===_0x171b63)return _0x12e2('0x15');if(null!=_0x171b63[_0x12e2('0x4b')]&&_0x171b63[_0x12e2('0x64')]('name')&&!k['isString'](_0x171b63['name']))return _0x12e2('0x9');if(null!=_0x171b63[_0x12e2('0x6a')]&&_0x171b63[_0x12e2('0x64')]('oldRange')){let _0x40cfc9=v['Range'][_0x12e2('0x71')](_0x171b63[_0x12e2('0x6a')]);if(_0x40cfc9)return _0x12e2('0x55')+_0x40cfc9;}if(null!=_0x171b63['newRange']&&_0x171b63[_0x12e2('0x64')](_0x12e2('0x86'))){let _0x13f1a5=v[_0x12e2('0x60')][_0x12e2('0x71')](_0x171b63[_0x12e2('0x86')]);if(_0x13f1a5)return'newRange.'+_0x13f1a5;}return null!=_0x171b63[_0x12e2('0x2f')]&&_0x171b63[_0x12e2('0x64')]('affectsData')&&'boolean'!=typeof _0x171b63[_0x12e2('0x2f')]?_0x12e2('0x3f'):null!=_0x171b63[_0x12e2('0x2d')]&&_0x171b63['hasOwnProperty'](_0x12e2('0x2d'))&&_0x12e2('0x67')!=typeof _0x171b63[_0x12e2('0x2d')]?_0x12e2('0x17'):null;},_0x154380['fromObject']=function(_0x515d59){if(_0x515d59 instanceof v[_0x12e2('0x8e')])return _0x515d59;let _0x1989be=new v[(_0x12e2('0x8e'))]();if(null!=_0x515d59[_0x12e2('0x4b')]&&(_0x1989be[_0x12e2('0x4b')]=String(_0x515d59[_0x12e2('0x4b')])),null!=_0x515d59['oldRange']){if('object'!=typeof _0x515d59[_0x12e2('0x6a')])throw TypeError(_0x12e2('0x92'));_0x1989be[_0x12e2('0x6a')]=v[_0x12e2('0x60')]['fromObject'](_0x515d59[_0x12e2('0x6a')]);}if(null!=_0x515d59[_0x12e2('0x86')]){if('object'!=typeof _0x515d59[_0x12e2('0x86')])throw TypeError(_0x12e2('0x58'));_0x1989be['newRange']=v[_0x12e2('0x60')]['fromObject'](_0x515d59[_0x12e2('0x86')]);}return null!=_0x515d59[_0x12e2('0x2f')]&&(_0x1989be[_0x12e2('0x2f')]=Boolean(_0x515d59['affectsData'])),null!=_0x515d59[_0x12e2('0x2d')]&&(_0x1989be[_0x12e2('0x2d')]=Boolean(_0x515d59[_0x12e2('0x2d')])),_0x1989be;},_0x154380['toObject']=function(_0x49d002,_0x3fe287){_0x3fe287||(_0x3fe287={});let _0x5787c3={};return _0x3fe287[_0x12e2('0x72')]&&(_0x5787c3[_0x12e2('0x4b')]='',_0x5787c3['oldRange']=null,_0x5787c3['newRange']=null,_0x5787c3[_0x12e2('0x2f')]=!0x1,_0x5787c3[_0x12e2('0x2d')]=!0x1),null!=_0x49d002[_0x12e2('0x4b')]&&_0x49d002[_0x12e2('0x64')](_0x12e2('0x4b'))&&(_0x5787c3[_0x12e2('0x4b')]=_0x49d002[_0x12e2('0x4b')]),null!=_0x49d002['oldRange']&&_0x49d002[_0x12e2('0x64')](_0x12e2('0x6a'))&&(_0x5787c3[_0x12e2('0x6a')]=v[_0x12e2('0x60')]['toObject'](_0x49d002[_0x12e2('0x6a')],_0x3fe287)),null!=_0x49d002['newRange']&&_0x49d002[_0x12e2('0x64')](_0x12e2('0x86'))&&(_0x5787c3[_0x12e2('0x86')]=v[_0x12e2('0x60')][_0x12e2('0xa')](_0x49d002[_0x12e2('0x86')],_0x3fe287)),null!=_0x49d002[_0x12e2('0x2f')]&&_0x49d002[_0x12e2('0x64')](_0x12e2('0x2f'))&&(_0x5787c3[_0x12e2('0x2f')]=_0x49d002[_0x12e2('0x2f')]),null!=_0x49d002['wasUndone']&&_0x49d002['hasOwnProperty'](_0x12e2('0x2d'))&&(_0x5787c3[_0x12e2('0x2d')]=_0x49d002['wasUndone']),_0x5787c3;},_0x154380[_0x12e2('0x7e')][_0x12e2('0x7')]=function(){return this[_0x12e2('0x51')]['toObject'](this,_0x47a817[_0x12e2('0x5d')][_0x12e2('0x3e')]);},_0x154380['getTypeUrl']=function(_0xd81d69){return void 0x0===_0xd81d69&&(_0xd81d69=_0x12e2('0x10')),_0xd81d69+_0x12e2('0x27');},_0x154380;})();export const MergeOperation=v[_0x12e2('0x31')]=(()=>{function _0x31cd4c(_0x1a446a){if(_0x1a446a)for(let _0x1690d1=Object['keys'](_0x1a446a),_0x24e3b3=0x0;_0x24e3b3<_0x1690d1[_0x12e2('0x3a')];++_0x24e3b3)null!=_0x1a446a[_0x1690d1[_0x24e3b3]]&&(this[_0x1690d1[_0x24e3b3]]=_0x1a446a[_0x1690d1[_0x24e3b3]]);}return _0x31cd4c[_0x12e2('0x7e')][_0x12e2('0x78')]=null,_0x31cd4c[_0x12e2('0x7e')][_0x12e2('0xc')]=null,_0x31cd4c[_0x12e2('0x7e')][_0x12e2('0x5c')]=null,_0x31cd4c[_0x12e2('0x7e')][_0x12e2('0x8f')]=0x0,_0x31cd4c[_0x12e2('0x7e')][_0x12e2('0x2d')]=!0x1,_0x31cd4c[_0x12e2('0x77')]=function(_0x2223a9){return new _0x31cd4c(_0x2223a9);},_0x31cd4c['encode']=function(_0x37c918,_0x52dbcb){return _0x52dbcb||(_0x52dbcb=y[_0x12e2('0x77')]()),null!=_0x37c918[_0x12e2('0x78')]&&Object[_0x12e2('0x64')]['call'](_0x37c918,_0x12e2('0x78'))&&v[_0x12e2('0x59')][_0x12e2('0xf')](_0x37c918['sourcePosition'],_0x52dbcb[_0x12e2('0x5')](0xa)[_0x12e2('0x54')]())[_0x12e2('0x73')](),null!=_0x37c918['targetPosition']&&Object['hasOwnProperty'][_0x12e2('0x4a')](_0x37c918,_0x12e2('0xc'))&&v[_0x12e2('0x59')][_0x12e2('0xf')](_0x37c918[_0x12e2('0xc')],_0x52dbcb[_0x12e2('0x5')](0x12)[_0x12e2('0x54')]())[_0x12e2('0x73')](),null!=_0x37c918[_0x12e2('0x5c')]&&Object['hasOwnProperty'][_0x12e2('0x4a')](_0x37c918,_0x12e2('0x5c'))&&v[_0x12e2('0x59')][_0x12e2('0xf')](_0x37c918[_0x12e2('0x5c')],_0x52dbcb[_0x12e2('0x5')](0x1a)['fork']())[_0x12e2('0x73')](),null!=_0x37c918[_0x12e2('0x8f')]&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x37c918,'howMany')&&_0x52dbcb[_0x12e2('0x5')](0x20)[_0x12e2('0x5')](_0x37c918[_0x12e2('0x8f')]),null!=_0x37c918[_0x12e2('0x2d')]&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x37c918,_0x12e2('0x2d'))&&_0x52dbcb[_0x12e2('0x5')](0x28)[_0x12e2('0x85')](_0x37c918[_0x12e2('0x2d')]),_0x52dbcb;},_0x31cd4c[_0x12e2('0x3c')]=function(_0x1bb784,_0x5bdab9){return this[_0x12e2('0xf')](_0x1bb784,_0x5bdab9)['ldelim']();},_0x31cd4c['decode']=function(_0x22ad86,_0x5a2dd6){_0x22ad86 instanceof j||(_0x22ad86=j[_0x12e2('0x77')](_0x22ad86));let _0x4e0b5a=void 0x0===_0x5a2dd6?_0x22ad86[_0x12e2('0x18')]:_0x22ad86['pos']+_0x5a2dd6,_0x302426=new v[(_0x12e2('0x31'))]();for(;_0x22ad86[_0x12e2('0x8c')]<_0x4e0b5a;){let _0x12cb90=_0x22ad86[_0x12e2('0x5')]();switch(_0x12cb90>>>0x3){case 0x1:_0x302426[_0x12e2('0x78')]=v[_0x12e2('0x59')][_0x12e2('0x61')](_0x22ad86,_0x22ad86[_0x12e2('0x5')]());break;case 0x2:_0x302426['targetPosition']=v[_0x12e2('0x59')][_0x12e2('0x61')](_0x22ad86,_0x22ad86['uint32']());break;case 0x3:_0x302426[_0x12e2('0x5c')]=v[_0x12e2('0x59')][_0x12e2('0x61')](_0x22ad86,_0x22ad86[_0x12e2('0x5')]());break;case 0x4:_0x302426['howMany']=_0x22ad86['uint32']();break;case 0x5:_0x302426[_0x12e2('0x2d')]=_0x22ad86[_0x12e2('0x85')]();break;default:_0x22ad86['skipType'](0x7&_0x12cb90);}}return _0x302426;},_0x31cd4c[_0x12e2('0x6d')]=function(_0x584ddf){return _0x584ddf instanceof j||(_0x584ddf=new j(_0x584ddf)),this[_0x12e2('0x61')](_0x584ddf,_0x584ddf['uint32']());},_0x31cd4c[_0x12e2('0x71')]=function(_0x396895){if('object'!=typeof _0x396895||null===_0x396895)return _0x12e2('0x15');if(null!=_0x396895[_0x12e2('0x78')]&&_0x396895[_0x12e2('0x64')](_0x12e2('0x78'))){let _0x35dae0=v['Position'][_0x12e2('0x71')](_0x396895[_0x12e2('0x78')]);if(_0x35dae0)return _0x12e2('0x99')+_0x35dae0;}if(null!=_0x396895[_0x12e2('0xc')]&&_0x396895[_0x12e2('0x64')](_0x12e2('0xc'))){let _0x336ffb=v[_0x12e2('0x59')][_0x12e2('0x71')](_0x396895[_0x12e2('0xc')]);if(_0x336ffb)return _0x12e2('0x26')+_0x336ffb;}if(null!=_0x396895[_0x12e2('0x5c')]&&_0x396895[_0x12e2('0x64')](_0x12e2('0x5c'))){let _0x4bff9c=v['Position']['verify'](_0x396895[_0x12e2('0x5c')]);if(_0x4bff9c)return _0x12e2('0x98')+_0x4bff9c;}return null!=_0x396895[_0x12e2('0x8f')]&&_0x396895[_0x12e2('0x64')]('howMany')&&!k['isInteger'](_0x396895[_0x12e2('0x8f')])?_0x12e2('0x32'):null!=_0x396895[_0x12e2('0x2d')]&&_0x396895[_0x12e2('0x64')](_0x12e2('0x2d'))&&_0x12e2('0x67')!=typeof _0x396895[_0x12e2('0x2d')]?_0x12e2('0x17'):null;},_0x31cd4c[_0x12e2('0x42')]=function(_0x412385){if(_0x412385 instanceof v[_0x12e2('0x31')])return _0x412385;let _0x39f32b=new v[(_0x12e2('0x31'))]();if(null!=_0x412385[_0x12e2('0x78')]){if('object'!=typeof _0x412385['sourcePosition'])throw TypeError(_0x12e2('0xe'));_0x39f32b[_0x12e2('0x78')]=v[_0x12e2('0x59')][_0x12e2('0x42')](_0x412385[_0x12e2('0x78')]);}if(null!=_0x412385[_0x12e2('0xc')]){if('object'!=typeof _0x412385[_0x12e2('0xc')])throw TypeError(_0x12e2('0x63'));_0x39f32b[_0x12e2('0xc')]=v['Position'][_0x12e2('0x42')](_0x412385[_0x12e2('0xc')]);}if(null!=_0x412385[_0x12e2('0x5c')]){if('object'!=typeof _0x412385[_0x12e2('0x5c')])throw TypeError(_0x12e2('0x7f'));_0x39f32b[_0x12e2('0x5c')]=v[_0x12e2('0x59')][_0x12e2('0x42')](_0x412385[_0x12e2('0x5c')]);}return null!=_0x412385['howMany']&&(_0x39f32b['howMany']=_0x412385['howMany']>>>0x0),null!=_0x412385[_0x12e2('0x2d')]&&(_0x39f32b[_0x12e2('0x2d')]=Boolean(_0x412385[_0x12e2('0x2d')])),_0x39f32b;},_0x31cd4c[_0x12e2('0xa')]=function(_0x44ed4e,_0x2eba47){_0x2eba47||(_0x2eba47={});let _0x1603a6={};return _0x2eba47['defaults']&&(_0x1603a6[_0x12e2('0x78')]=null,_0x1603a6[_0x12e2('0xc')]=null,_0x1603a6['graveyardPosition']=null,_0x1603a6['howMany']=0x0,_0x1603a6[_0x12e2('0x2d')]=!0x1),null!=_0x44ed4e[_0x12e2('0x78')]&&_0x44ed4e['hasOwnProperty'](_0x12e2('0x78'))&&(_0x1603a6[_0x12e2('0x78')]=v[_0x12e2('0x59')][_0x12e2('0xa')](_0x44ed4e['sourcePosition'],_0x2eba47)),null!=_0x44ed4e[_0x12e2('0xc')]&&_0x44ed4e[_0x12e2('0x64')](_0x12e2('0xc'))&&(_0x1603a6[_0x12e2('0xc')]=v[_0x12e2('0x59')]['toObject'](_0x44ed4e[_0x12e2('0xc')],_0x2eba47)),null!=_0x44ed4e[_0x12e2('0x5c')]&&_0x44ed4e[_0x12e2('0x64')](_0x12e2('0x5c'))&&(_0x1603a6[_0x12e2('0x5c')]=v[_0x12e2('0x59')][_0x12e2('0xa')](_0x44ed4e['graveyardPosition'],_0x2eba47)),null!=_0x44ed4e[_0x12e2('0x8f')]&&_0x44ed4e['hasOwnProperty'](_0x12e2('0x8f'))&&(_0x1603a6['howMany']=_0x44ed4e['howMany']),null!=_0x44ed4e[_0x12e2('0x2d')]&&_0x44ed4e[_0x12e2('0x64')](_0x12e2('0x2d'))&&(_0x1603a6[_0x12e2('0x2d')]=_0x44ed4e[_0x12e2('0x2d')]),_0x1603a6;},_0x31cd4c[_0x12e2('0x7e')][_0x12e2('0x7')]=function(){return this['constructor'][_0x12e2('0xa')](this,_0x47a817['util'][_0x12e2('0x3e')]);},_0x31cd4c['getTypeUrl']=function(_0x35b777){return void 0x0===_0x35b777&&(_0x35b777=_0x12e2('0x10')),_0x35b777+_0x12e2('0x50');},_0x31cd4c;})();export const MoveOperation=v[_0x12e2('0x28')]=(()=>{function _0xa9429e(_0x626316){if(_0x626316)for(let _0x1f6eb8=Object[_0x12e2('0x88')](_0x626316),_0x57fe22=0x0;_0x57fe22<_0x1f6eb8['length'];++_0x57fe22)null!=_0x626316[_0x1f6eb8[_0x57fe22]]&&(this[_0x1f6eb8[_0x57fe22]]=_0x626316[_0x1f6eb8[_0x57fe22]]);}return _0xa9429e[_0x12e2('0x7e')]['sourcePosition']=null,_0xa9429e[_0x12e2('0x7e')]['howMany']=0x0,_0xa9429e[_0x12e2('0x7e')]['targetPosition']=null,_0xa9429e['prototype'][_0x12e2('0x2d')]=!0x1,_0xa9429e[_0x12e2('0x77')]=function(_0x406770){return new _0xa9429e(_0x406770);},_0xa9429e[_0x12e2('0xf')]=function(_0x17fc2c,_0x4f6e52){return _0x4f6e52||(_0x4f6e52=y[_0x12e2('0x77')]()),null!=_0x17fc2c[_0x12e2('0x78')]&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x17fc2c,_0x12e2('0x78'))&&v['Position'][_0x12e2('0xf')](_0x17fc2c[_0x12e2('0x78')],_0x4f6e52[_0x12e2('0x5')](0xa)['fork']())[_0x12e2('0x73')](),null!=_0x17fc2c[_0x12e2('0x8f')]&&Object['hasOwnProperty']['call'](_0x17fc2c,_0x12e2('0x8f'))&&_0x4f6e52['uint32'](0x10)[_0x12e2('0x5')](_0x17fc2c[_0x12e2('0x8f')]),null!=_0x17fc2c['targetPosition']&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x17fc2c,_0x12e2('0xc'))&&v[_0x12e2('0x59')]['encode'](_0x17fc2c[_0x12e2('0xc')],_0x4f6e52['uint32'](0x1a)[_0x12e2('0x54')]())[_0x12e2('0x73')](),null!=_0x17fc2c[_0x12e2('0x2d')]&&Object['hasOwnProperty'][_0x12e2('0x4a')](_0x17fc2c,_0x12e2('0x2d'))&&_0x4f6e52[_0x12e2('0x5')](0x20)[_0x12e2('0x85')](_0x17fc2c[_0x12e2('0x2d')]),_0x4f6e52;},_0xa9429e['encodeDelimited']=function(_0x51a596,_0xafd3ec){return this[_0x12e2('0xf')](_0x51a596,_0xafd3ec)[_0x12e2('0x73')]();},_0xa9429e[_0x12e2('0x61')]=function(_0x4e3aa1,_0x56e145){_0x4e3aa1 instanceof j||(_0x4e3aa1=j[_0x12e2('0x77')](_0x4e3aa1));let _0x1b720d=void 0x0===_0x56e145?_0x4e3aa1['len']:_0x4e3aa1[_0x12e2('0x8c')]+_0x56e145,_0x1c7655=new v['MoveOperation']();for(;_0x4e3aa1[_0x12e2('0x8c')]<_0x1b720d;){let _0xc5f002=_0x4e3aa1[_0x12e2('0x5')]();switch(_0xc5f002>>>0x3){case 0x1:_0x1c7655[_0x12e2('0x78')]=v[_0x12e2('0x59')][_0x12e2('0x61')](_0x4e3aa1,_0x4e3aa1[_0x12e2('0x5')]());break;case 0x2:_0x1c7655[_0x12e2('0x8f')]=_0x4e3aa1[_0x12e2('0x5')]();break;case 0x3:_0x1c7655[_0x12e2('0xc')]=v[_0x12e2('0x59')]['decode'](_0x4e3aa1,_0x4e3aa1[_0x12e2('0x5')]());break;case 0x4:_0x1c7655[_0x12e2('0x2d')]=_0x4e3aa1[_0x12e2('0x85')]();break;default:_0x4e3aa1[_0x12e2('0x4')](0x7&_0xc5f002);}}return _0x1c7655;},_0xa9429e[_0x12e2('0x6d')]=function(_0x623844){return _0x623844 instanceof j||(_0x623844=new j(_0x623844)),this['decode'](_0x623844,_0x623844[_0x12e2('0x5')]());},_0xa9429e[_0x12e2('0x71')]=function(_0x475cb0){if(_0x12e2('0x37')!=typeof _0x475cb0||null===_0x475cb0)return _0x12e2('0x15');if(null!=_0x475cb0[_0x12e2('0x78')]&&_0x475cb0['hasOwnProperty'](_0x12e2('0x78'))){let _0x15d819=v['Position'][_0x12e2('0x71')](_0x475cb0['sourcePosition']);if(_0x15d819)return _0x12e2('0x99')+_0x15d819;}if(null!=_0x475cb0['howMany']&&_0x475cb0[_0x12e2('0x64')](_0x12e2('0x8f'))&&!k['isInteger'](_0x475cb0['howMany']))return _0x12e2('0x32');if(null!=_0x475cb0[_0x12e2('0xc')]&&_0x475cb0[_0x12e2('0x64')](_0x12e2('0xc'))){let _0x436fd5=v[_0x12e2('0x59')][_0x12e2('0x71')](_0x475cb0[_0x12e2('0xc')]);if(_0x436fd5)return'targetPosition.'+_0x436fd5;}return null!=_0x475cb0[_0x12e2('0x2d')]&&_0x475cb0['hasOwnProperty']('wasUndone')&&_0x12e2('0x67')!=typeof _0x475cb0[_0x12e2('0x2d')]?_0x12e2('0x17'):null;},_0xa9429e[_0x12e2('0x42')]=function(_0x19361a){if(_0x19361a instanceof v[_0x12e2('0x28')])return _0x19361a;let _0x1efca6=new v[(_0x12e2('0x28'))]();if(null!=_0x19361a[_0x12e2('0x78')]){if(_0x12e2('0x37')!=typeof _0x19361a[_0x12e2('0x78')])throw TypeError(_0x12e2('0x35'));_0x1efca6['sourcePosition']=v['Position'][_0x12e2('0x42')](_0x19361a[_0x12e2('0x78')]);}if(null!=_0x19361a['howMany']&&(_0x1efca6[_0x12e2('0x8f')]=_0x19361a[_0x12e2('0x8f')]>>>0x0),null!=_0x19361a['targetPosition']){if(_0x12e2('0x37')!=typeof _0x19361a[_0x12e2('0xc')])throw TypeError(_0x12e2('0x7d'));_0x1efca6['targetPosition']=v[_0x12e2('0x59')]['fromObject'](_0x19361a['targetPosition']);}return null!=_0x19361a[_0x12e2('0x2d')]&&(_0x1efca6[_0x12e2('0x2d')]=Boolean(_0x19361a[_0x12e2('0x2d')])),_0x1efca6;},_0xa9429e[_0x12e2('0xa')]=function(_0x42aed7,_0x243e77){_0x243e77||(_0x243e77={});let _0x5c639b={};return _0x243e77[_0x12e2('0x72')]&&(_0x5c639b[_0x12e2('0x78')]=null,_0x5c639b[_0x12e2('0x8f')]=0x0,_0x5c639b[_0x12e2('0xc')]=null,_0x5c639b[_0x12e2('0x2d')]=!0x1),null!=_0x42aed7['sourcePosition']&&_0x42aed7['hasOwnProperty']('sourcePosition')&&(_0x5c639b[_0x12e2('0x78')]=v[_0x12e2('0x59')][_0x12e2('0xa')](_0x42aed7[_0x12e2('0x78')],_0x243e77)),null!=_0x42aed7[_0x12e2('0x8f')]&&_0x42aed7[_0x12e2('0x64')](_0x12e2('0x8f'))&&(_0x5c639b['howMany']=_0x42aed7[_0x12e2('0x8f')]),null!=_0x42aed7[_0x12e2('0xc')]&&_0x42aed7[_0x12e2('0x64')](_0x12e2('0xc'))&&(_0x5c639b[_0x12e2('0xc')]=v[_0x12e2('0x59')]['toObject'](_0x42aed7['targetPosition'],_0x243e77)),null!=_0x42aed7[_0x12e2('0x2d')]&&_0x42aed7['hasOwnProperty'](_0x12e2('0x2d'))&&(_0x5c639b[_0x12e2('0x2d')]=_0x42aed7[_0x12e2('0x2d')]),_0x5c639b;},_0xa9429e[_0x12e2('0x7e')][_0x12e2('0x7')]=function(){return this['constructor'][_0x12e2('0xa')](this,_0x47a817[_0x12e2('0x5d')][_0x12e2('0x3e')]);},_0xa9429e['getTypeUrl']=function(_0xf864e7){return void 0x0===_0xf864e7&&(_0xf864e7=_0x12e2('0x10')),_0xf864e7+_0x12e2('0x4d');},_0xa9429e;})();export const RenameOperation=v[_0x12e2('0x82')]=(()=>{function _0x271829(_0x1f1416){if(_0x1f1416)for(let _0x2e4332=Object[_0x12e2('0x88')](_0x1f1416),_0x3bdfb1=0x0;_0x3bdfb1<_0x2e4332['length'];++_0x3bdfb1)null!=_0x1f1416[_0x2e4332[_0x3bdfb1]]&&(this[_0x2e4332[_0x3bdfb1]]=_0x1f1416[_0x2e4332[_0x3bdfb1]]);}return _0x271829['prototype'][_0x12e2('0x1f')]=null,_0x271829[_0x12e2('0x7e')]['oldName']='',_0x271829[_0x12e2('0x7e')]['newName']='',_0x271829[_0x12e2('0x7e')][_0x12e2('0x2d')]=!0x1,_0x271829[_0x12e2('0x77')]=function(_0x4c9694){return new _0x271829(_0x4c9694);},_0x271829[_0x12e2('0xf')]=function(_0x2b470e,_0x413839){return _0x413839||(_0x413839=y['create']()),null!=_0x2b470e[_0x12e2('0x1f')]&&Object[_0x12e2('0x64')]['call'](_0x2b470e,_0x12e2('0x1f'))&&v[_0x12e2('0x59')]['encode'](_0x2b470e[_0x12e2('0x1f')],_0x413839[_0x12e2('0x5')](0xa)[_0x12e2('0x54')]())['ldelim'](),null!=_0x2b470e['oldName']&&Object[_0x12e2('0x64')]['call'](_0x2b470e,_0x12e2('0x45'))&&_0x413839[_0x12e2('0x5')](0x12)[_0x12e2('0x1b')](_0x2b470e['oldName']),null!=_0x2b470e[_0x12e2('0x29')]&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x2b470e,'newName')&&_0x413839[_0x12e2('0x5')](0x1a)['string'](_0x2b470e[_0x12e2('0x29')]),null!=_0x2b470e[_0x12e2('0x2d')]&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x2b470e,_0x12e2('0x2d'))&&_0x413839['uint32'](0x20)[_0x12e2('0x85')](_0x2b470e['wasUndone']),_0x413839;},_0x271829[_0x12e2('0x3c')]=function(_0x1ca6ed,_0x29ec7e){return this[_0x12e2('0xf')](_0x1ca6ed,_0x29ec7e)[_0x12e2('0x73')]();},_0x271829[_0x12e2('0x61')]=function(_0x5d920e,_0x5900eb){_0x5d920e instanceof j||(_0x5d920e=j[_0x12e2('0x77')](_0x5d920e));let _0x43c4f4=void 0x0===_0x5900eb?_0x5d920e[_0x12e2('0x18')]:_0x5d920e['pos']+_0x5900eb,_0x465ede=new v['RenameOperation']();for(;_0x5d920e[_0x12e2('0x8c')]<_0x43c4f4;){let _0x59b47e=_0x5d920e[_0x12e2('0x5')]();switch(_0x59b47e>>>0x3){case 0x1:_0x465ede[_0x12e2('0x1f')]=v[_0x12e2('0x59')][_0x12e2('0x61')](_0x5d920e,_0x5d920e[_0x12e2('0x5')]());break;case 0x2:_0x465ede[_0x12e2('0x45')]=_0x5d920e[_0x12e2('0x1b')]();break;case 0x3:_0x465ede[_0x12e2('0x29')]=_0x5d920e[_0x12e2('0x1b')]();break;case 0x4:_0x465ede[_0x12e2('0x2d')]=_0x5d920e[_0x12e2('0x85')]();break;default:_0x5d920e[_0x12e2('0x4')](0x7&_0x59b47e);}}return _0x465ede;},_0x271829[_0x12e2('0x6d')]=function(_0x31421f){return _0x31421f instanceof j||(_0x31421f=new j(_0x31421f)),this[_0x12e2('0x61')](_0x31421f,_0x31421f[_0x12e2('0x5')]());},_0x271829[_0x12e2('0x71')]=function(_0x38dd2d){if(_0x12e2('0x37')!=typeof _0x38dd2d||null===_0x38dd2d)return'object\x20expected';if(null!=_0x38dd2d['position']&&_0x38dd2d[_0x12e2('0x64')](_0x12e2('0x1f'))){let _0x1aa0de=v[_0x12e2('0x59')][_0x12e2('0x71')](_0x38dd2d['position']);if(_0x1aa0de)return _0x12e2('0x1')+_0x1aa0de;}return null!=_0x38dd2d['oldName']&&_0x38dd2d['hasOwnProperty'](_0x12e2('0x45'))&&!k[_0x12e2('0x11')](_0x38dd2d['oldName'])?_0x12e2('0x7c'):null!=_0x38dd2d['newName']&&_0x38dd2d[_0x12e2('0x64')](_0x12e2('0x29'))&&!k['isString'](_0x38dd2d[_0x12e2('0x29')])?_0x12e2('0x12'):null!=_0x38dd2d[_0x12e2('0x2d')]&&_0x38dd2d[_0x12e2('0x64')](_0x12e2('0x2d'))&&_0x12e2('0x67')!=typeof _0x38dd2d['wasUndone']?_0x12e2('0x17'):null;},_0x271829['fromObject']=function(_0x488baf){if(_0x488baf instanceof v[_0x12e2('0x82')])return _0x488baf;let _0x257b51=new v[(_0x12e2('0x82'))]();if(null!=_0x488baf['position']){if(_0x12e2('0x37')!=typeof _0x488baf[_0x12e2('0x1f')])throw TypeError(_0x12e2('0x13'));_0x257b51['position']=v['Position']['fromObject'](_0x488baf['position']);}return null!=_0x488baf[_0x12e2('0x45')]&&(_0x257b51['oldName']=String(_0x488baf['oldName'])),null!=_0x488baf[_0x12e2('0x29')]&&(_0x257b51[_0x12e2('0x29')]=String(_0x488baf['newName'])),null!=_0x488baf[_0x12e2('0x2d')]&&(_0x257b51['wasUndone']=Boolean(_0x488baf[_0x12e2('0x2d')])),_0x257b51;},_0x271829[_0x12e2('0xa')]=function(_0x58a52e,_0x1f5362){_0x1f5362||(_0x1f5362={});let _0xf930da={};return _0x1f5362['defaults']&&(_0xf930da[_0x12e2('0x1f')]=null,_0xf930da['oldName']='',_0xf930da['newName']='',_0xf930da[_0x12e2('0x2d')]=!0x1),null!=_0x58a52e[_0x12e2('0x1f')]&&_0x58a52e[_0x12e2('0x64')](_0x12e2('0x1f'))&&(_0xf930da[_0x12e2('0x1f')]=v[_0x12e2('0x59')][_0x12e2('0xa')](_0x58a52e[_0x12e2('0x1f')],_0x1f5362)),null!=_0x58a52e['oldName']&&_0x58a52e[_0x12e2('0x64')](_0x12e2('0x45'))&&(_0xf930da[_0x12e2('0x45')]=_0x58a52e[_0x12e2('0x45')]),null!=_0x58a52e['newName']&&_0x58a52e[_0x12e2('0x64')](_0x12e2('0x29'))&&(_0xf930da[_0x12e2('0x29')]=_0x58a52e[_0x12e2('0x29')]),null!=_0x58a52e[_0x12e2('0x2d')]&&_0x58a52e['hasOwnProperty'](_0x12e2('0x2d'))&&(_0xf930da[_0x12e2('0x2d')]=_0x58a52e[_0x12e2('0x2d')]),_0xf930da;},_0x271829[_0x12e2('0x7e')]['toJSON']=function(){return this[_0x12e2('0x51')][_0x12e2('0xa')](this,_0x47a817[_0x12e2('0x5d')][_0x12e2('0x3e')]);},_0x271829[_0x12e2('0x24')]=function(_0x27c803){return void 0x0===_0x27c803&&(_0x27c803='type.googleapis.com'),_0x27c803+_0x12e2('0x66');},_0x271829;})();export const RootAttributeOperation=v['RootAttributeOperation']=(()=>{function _0x356142(_0x19e394){if(_0x19e394)for(let _0x4774a1=Object[_0x12e2('0x88')](_0x19e394),_0x4acc62=0x0;_0x4acc62<_0x4774a1[_0x12e2('0x3a')];++_0x4acc62)null!=_0x19e394[_0x4774a1[_0x4acc62]]&&(this[_0x4774a1[_0x4acc62]]=_0x19e394[_0x4774a1[_0x4acc62]]);}return _0x356142[_0x12e2('0x7e')]['root']='',_0x356142['prototype'][_0x12e2('0x38')]='',_0x356142[_0x12e2('0x7e')][_0x12e2('0x41')]=!0x1,_0x356142[_0x12e2('0x7e')][_0x12e2('0x53')]='',_0x356142[_0x12e2('0x7e')][_0x12e2('0x89')]=!0x1,_0x356142[_0x12e2('0x7e')][_0x12e2('0x6f')]='',_0x356142[_0x12e2('0x7e')]['wasUndone']=!0x1,_0x356142['create']=function(_0xad7860){return new _0x356142(_0xad7860);},_0x356142[_0x12e2('0xf')]=function(_0x310a8a,_0xe1f2ef){return _0xe1f2ef||(_0xe1f2ef=y[_0x12e2('0x77')]()),null!=_0x310a8a[_0x12e2('0x81')]&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x310a8a,_0x12e2('0x81'))&&_0xe1f2ef[_0x12e2('0x5')](0xa)[_0x12e2('0x1b')](_0x310a8a[_0x12e2('0x81')]),null!=_0x310a8a['key']&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x310a8a,_0x12e2('0x38'))&&_0xe1f2ef[_0x12e2('0x5')](0x12)[_0x12e2('0x1b')](_0x310a8a['key']),null!=_0x310a8a['oldValueBoolean']&&Object[_0x12e2('0x64')]['call'](_0x310a8a,_0x12e2('0x41'))&&_0xe1f2ef[_0x12e2('0x5')](0x18)['bool'](_0x310a8a['oldValueBoolean']),null!=_0x310a8a['oldValueJson']&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x310a8a,_0x12e2('0x53'))&&_0xe1f2ef[_0x12e2('0x5')](0x22)['string'](_0x310a8a[_0x12e2('0x53')]),null!=_0x310a8a[_0x12e2('0x89')]&&Object['hasOwnProperty'][_0x12e2('0x4a')](_0x310a8a,_0x12e2('0x89'))&&_0xe1f2ef[_0x12e2('0x5')](0x28)[_0x12e2('0x85')](_0x310a8a['newValueBoolean']),null!=_0x310a8a[_0x12e2('0x6f')]&&Object['hasOwnProperty']['call'](_0x310a8a,_0x12e2('0x6f'))&&_0xe1f2ef['uint32'](0x32)[_0x12e2('0x1b')](_0x310a8a[_0x12e2('0x6f')]),null!=_0x310a8a[_0x12e2('0x2d')]&&Object['hasOwnProperty']['call'](_0x310a8a,_0x12e2('0x2d'))&&_0xe1f2ef['uint32'](0x38)[_0x12e2('0x85')](_0x310a8a[_0x12e2('0x2d')]),_0xe1f2ef;},_0x356142[_0x12e2('0x3c')]=function(_0x22338b,_0x3cd7db){return this[_0x12e2('0xf')](_0x22338b,_0x3cd7db)['ldelim']();},_0x356142[_0x12e2('0x61')]=function(_0x2bce0b,_0x132705){_0x2bce0b instanceof j||(_0x2bce0b=j['create'](_0x2bce0b));let _0x430e27=void 0x0===_0x132705?_0x2bce0b['len']:_0x2bce0b['pos']+_0x132705,_0x292854=new v[(_0x12e2('0x4c'))]();for(;_0x2bce0b['pos']<_0x430e27;){let _0x25cf52=_0x2bce0b[_0x12e2('0x5')]();switch(_0x25cf52>>>0x3){case 0x1:_0x292854[_0x12e2('0x81')]=_0x2bce0b['string']();break;case 0x2:_0x292854[_0x12e2('0x38')]=_0x2bce0b['string']();break;case 0x3:_0x292854[_0x12e2('0x41')]=_0x2bce0b[_0x12e2('0x85')]();break;case 0x4:_0x292854[_0x12e2('0x53')]=_0x2bce0b[_0x12e2('0x1b')]();break;case 0x5:_0x292854[_0x12e2('0x89')]=_0x2bce0b['bool']();break;case 0x6:_0x292854[_0x12e2('0x6f')]=_0x2bce0b['string']();break;case 0x7:_0x292854[_0x12e2('0x2d')]=_0x2bce0b[_0x12e2('0x85')]();break;default:_0x2bce0b[_0x12e2('0x4')](0x7&_0x25cf52);}}return _0x292854;},_0x356142[_0x12e2('0x6d')]=function(_0xbd265d){return _0xbd265d instanceof j||(_0xbd265d=new j(_0xbd265d)),this[_0x12e2('0x61')](_0xbd265d,_0xbd265d[_0x12e2('0x5')]());},_0x356142[_0x12e2('0x71')]=function(_0x7acbb3){return _0x12e2('0x37')!=typeof _0x7acbb3||null===_0x7acbb3?'object\x20expected':null!=_0x7acbb3['root']&&_0x7acbb3[_0x12e2('0x64')]('root')&&!k[_0x12e2('0x11')](_0x7acbb3[_0x12e2('0x81')])?_0x12e2('0x44'):null!=_0x7acbb3['key']&&_0x7acbb3[_0x12e2('0x64')](_0x12e2('0x38'))&&!k[_0x12e2('0x11')](_0x7acbb3[_0x12e2('0x38')])?_0x12e2('0x34'):null!=_0x7acbb3[_0x12e2('0x41')]&&_0x7acbb3[_0x12e2('0x64')](_0x12e2('0x41'))&&_0x12e2('0x67')!=typeof _0x7acbb3[_0x12e2('0x41')]?'oldValueBoolean:\x20boolean\x20expected':null!=_0x7acbb3[_0x12e2('0x53')]&&_0x7acbb3[_0x12e2('0x64')]('oldValueJson')&&!k[_0x12e2('0x11')](_0x7acbb3[_0x12e2('0x53')])?_0x12e2('0x23'):null!=_0x7acbb3[_0x12e2('0x89')]&&_0x7acbb3[_0x12e2('0x64')](_0x12e2('0x89'))&&_0x12e2('0x67')!=typeof _0x7acbb3[_0x12e2('0x89')]?_0x12e2('0x1c'):null!=_0x7acbb3['newValueJson']&&_0x7acbb3[_0x12e2('0x64')](_0x12e2('0x6f'))&&!k['isString'](_0x7acbb3[_0x12e2('0x6f')])?'newValueJson:\x20string\x20expected':null!=_0x7acbb3['wasUndone']&&_0x7acbb3[_0x12e2('0x64')](_0x12e2('0x2d'))&&_0x12e2('0x67')!=typeof _0x7acbb3['wasUndone']?_0x12e2('0x17'):null;},_0x356142[_0x12e2('0x42')]=function(_0x27c5b7){if(_0x27c5b7 instanceof v[_0x12e2('0x4c')])return _0x27c5b7;let _0xb7f90d=new v[(_0x12e2('0x4c'))]();return null!=_0x27c5b7[_0x12e2('0x81')]&&(_0xb7f90d[_0x12e2('0x81')]=String(_0x27c5b7['root'])),null!=_0x27c5b7[_0x12e2('0x38')]&&(_0xb7f90d[_0x12e2('0x38')]=String(_0x27c5b7[_0x12e2('0x38')])),null!=_0x27c5b7['oldValueBoolean']&&(_0xb7f90d['oldValueBoolean']=Boolean(_0x27c5b7[_0x12e2('0x41')])),null!=_0x27c5b7[_0x12e2('0x53')]&&(_0xb7f90d['oldValueJson']=String(_0x27c5b7[_0x12e2('0x53')])),null!=_0x27c5b7[_0x12e2('0x89')]&&(_0xb7f90d['newValueBoolean']=Boolean(_0x27c5b7['newValueBoolean'])),null!=_0x27c5b7['newValueJson']&&(_0xb7f90d['newValueJson']=String(_0x27c5b7[_0x12e2('0x6f')])),null!=_0x27c5b7[_0x12e2('0x2d')]&&(_0xb7f90d['wasUndone']=Boolean(_0x27c5b7[_0x12e2('0x2d')])),_0xb7f90d;},_0x356142['toObject']=function(_0x288529,_0x22628a){_0x22628a||(_0x22628a={});let _0xaae19b={};return _0x22628a['defaults']&&(_0xaae19b[_0x12e2('0x81')]='',_0xaae19b[_0x12e2('0x38')]='',_0xaae19b[_0x12e2('0x41')]=!0x1,_0xaae19b[_0x12e2('0x53')]='',_0xaae19b[_0x12e2('0x89')]=!0x1,_0xaae19b['newValueJson']='',_0xaae19b[_0x12e2('0x2d')]=!0x1),null!=_0x288529[_0x12e2('0x81')]&&_0x288529[_0x12e2('0x64')](_0x12e2('0x81'))&&(_0xaae19b[_0x12e2('0x81')]=_0x288529[_0x12e2('0x81')]),null!=_0x288529['key']&&_0x288529[_0x12e2('0x64')](_0x12e2('0x38'))&&(_0xaae19b[_0x12e2('0x38')]=_0x288529[_0x12e2('0x38')]),null!=_0x288529[_0x12e2('0x41')]&&_0x288529['hasOwnProperty'](_0x12e2('0x41'))&&(_0xaae19b[_0x12e2('0x41')]=_0x288529[_0x12e2('0x41')]),null!=_0x288529['oldValueJson']&&_0x288529[_0x12e2('0x64')](_0x12e2('0x53'))&&(_0xaae19b[_0x12e2('0x53')]=_0x288529['oldValueJson']),null!=_0x288529[_0x12e2('0x89')]&&_0x288529[_0x12e2('0x64')]('newValueBoolean')&&(_0xaae19b[_0x12e2('0x89')]=_0x288529[_0x12e2('0x89')]),null!=_0x288529[_0x12e2('0x6f')]&&_0x288529['hasOwnProperty'](_0x12e2('0x6f'))&&(_0xaae19b[_0x12e2('0x6f')]=_0x288529[_0x12e2('0x6f')]),null!=_0x288529[_0x12e2('0x2d')]&&_0x288529[_0x12e2('0x64')](_0x12e2('0x2d'))&&(_0xaae19b[_0x12e2('0x2d')]=_0x288529[_0x12e2('0x2d')]),_0xaae19b;},_0x356142['prototype'][_0x12e2('0x7')]=function(){return this['constructor']['toObject'](this,_0x47a817['util'][_0x12e2('0x3e')]);},_0x356142['getTypeUrl']=function(_0x232dc9){return void 0x0===_0x232dc9&&(_0x232dc9=_0x12e2('0x10')),_0x232dc9+_0x12e2('0x69');},_0x356142;})();export const RootOperation=v[_0x12e2('0x1e')]=(()=>{function _0x154781(_0x187361){if(_0x187361)for(let _0x2157a7=Object['keys'](_0x187361),_0x58f7d7=0x0;_0x58f7d7<_0x2157a7[_0x12e2('0x3a')];++_0x58f7d7)null!=_0x187361[_0x2157a7[_0x58f7d7]]&&(this[_0x2157a7[_0x58f7d7]]=_0x187361[_0x2157a7[_0x58f7d7]]);}return _0x154781[_0x12e2('0x7e')]['rootName']='',_0x154781[_0x12e2('0x7e')]['elementName']='',_0x154781[_0x12e2('0x7e')][_0x12e2('0x79')]=!0x1,_0x154781[_0x12e2('0x7e')][_0x12e2('0x2d')]=!0x1,_0x154781[_0x12e2('0x77')]=function(_0x83684b){return new _0x154781(_0x83684b);},_0x154781[_0x12e2('0xf')]=function(_0x3bc01b,_0x42a628){return _0x42a628||(_0x42a628=y[_0x12e2('0x77')]()),null!=_0x3bc01b['rootName']&&Object['hasOwnProperty'][_0x12e2('0x4a')](_0x3bc01b,_0x12e2('0x2e'))&&_0x42a628[_0x12e2('0x5')](0xa)['string'](_0x3bc01b['rootName']),null!=_0x3bc01b[_0x12e2('0x48')]&&Object['hasOwnProperty'][_0x12e2('0x4a')](_0x3bc01b,'elementName')&&_0x42a628[_0x12e2('0x5')](0x12)[_0x12e2('0x1b')](_0x3bc01b[_0x12e2('0x48')]),null!=_0x3bc01b['isAdd']&&Object[_0x12e2('0x64')]['call'](_0x3bc01b,_0x12e2('0x79'))&&_0x42a628['uint32'](0x18)[_0x12e2('0x85')](_0x3bc01b[_0x12e2('0x79')]),null!=_0x3bc01b[_0x12e2('0x2d')]&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x3bc01b,_0x12e2('0x2d'))&&_0x42a628[_0x12e2('0x5')](0x20)[_0x12e2('0x85')](_0x3bc01b[_0x12e2('0x2d')]),_0x42a628;},_0x154781[_0x12e2('0x3c')]=function(_0x3289de,_0x3470ab){return this[_0x12e2('0xf')](_0x3289de,_0x3470ab)[_0x12e2('0x73')]();},_0x154781[_0x12e2('0x61')]=function(_0x36496c,_0x1f2c5b){_0x36496c instanceof j||(_0x36496c=j[_0x12e2('0x77')](_0x36496c));let _0x46e85b=void 0x0===_0x1f2c5b?_0x36496c['len']:_0x36496c['pos']+_0x1f2c5b,_0x20d4df=new v['RootOperation']();for(;_0x36496c[_0x12e2('0x8c')]<_0x46e85b;){let _0x1e9613=_0x36496c[_0x12e2('0x5')]();switch(_0x1e9613>>>0x3){case 0x1:_0x20d4df['rootName']=_0x36496c['string']();break;case 0x2:_0x20d4df[_0x12e2('0x48')]=_0x36496c[_0x12e2('0x1b')]();break;case 0x3:_0x20d4df[_0x12e2('0x79')]=_0x36496c[_0x12e2('0x85')]();break;case 0x4:_0x20d4df[_0x12e2('0x2d')]=_0x36496c[_0x12e2('0x85')]();break;default:_0x36496c[_0x12e2('0x4')](0x7&_0x1e9613);}}return _0x20d4df;},_0x154781[_0x12e2('0x6d')]=function(_0x17a7e1){return _0x17a7e1 instanceof j||(_0x17a7e1=new j(_0x17a7e1)),this[_0x12e2('0x61')](_0x17a7e1,_0x17a7e1[_0x12e2('0x5')]());},_0x154781[_0x12e2('0x71')]=function(_0x2e8e1f){return _0x12e2('0x37')!=typeof _0x2e8e1f||null===_0x2e8e1f?'object\x20expected':null!=_0x2e8e1f[_0x12e2('0x2e')]&&_0x2e8e1f[_0x12e2('0x64')](_0x12e2('0x2e'))&&!k[_0x12e2('0x11')](_0x2e8e1f[_0x12e2('0x2e')])?_0x12e2('0x56'):null!=_0x2e8e1f[_0x12e2('0x48')]&&_0x2e8e1f[_0x12e2('0x64')](_0x12e2('0x48'))&&!k['isString'](_0x2e8e1f[_0x12e2('0x48')])?_0x12e2('0x47'):null!=_0x2e8e1f[_0x12e2('0x79')]&&_0x2e8e1f[_0x12e2('0x64')](_0x12e2('0x79'))&&_0x12e2('0x67')!=typeof _0x2e8e1f[_0x12e2('0x79')]?'isAdd:\x20boolean\x20expected':null!=_0x2e8e1f[_0x12e2('0x2d')]&&_0x2e8e1f[_0x12e2('0x64')]('wasUndone')&&_0x12e2('0x67')!=typeof _0x2e8e1f['wasUndone']?_0x12e2('0x17'):null;},_0x154781[_0x12e2('0x42')]=function(_0x14ddd2){if(_0x14ddd2 instanceof v['RootOperation'])return _0x14ddd2;let _0x2ead2d=new v[(_0x12e2('0x1e'))]();return null!=_0x14ddd2['rootName']&&(_0x2ead2d[_0x12e2('0x2e')]=String(_0x14ddd2[_0x12e2('0x2e')])),null!=_0x14ddd2[_0x12e2('0x48')]&&(_0x2ead2d[_0x12e2('0x48')]=String(_0x14ddd2[_0x12e2('0x48')])),null!=_0x14ddd2[_0x12e2('0x79')]&&(_0x2ead2d[_0x12e2('0x79')]=Boolean(_0x14ddd2[_0x12e2('0x79')])),null!=_0x14ddd2[_0x12e2('0x2d')]&&(_0x2ead2d[_0x12e2('0x2d')]=Boolean(_0x14ddd2[_0x12e2('0x2d')])),_0x2ead2d;},_0x154781['toObject']=function(_0x4b1d4f,_0x5a32db){_0x5a32db||(_0x5a32db={});let _0x14e9cf={};return _0x5a32db[_0x12e2('0x72')]&&(_0x14e9cf['rootName']='',_0x14e9cf[_0x12e2('0x48')]='',_0x14e9cf[_0x12e2('0x79')]=!0x1,_0x14e9cf[_0x12e2('0x2d')]=!0x1),null!=_0x4b1d4f['rootName']&&_0x4b1d4f[_0x12e2('0x64')](_0x12e2('0x2e'))&&(_0x14e9cf[_0x12e2('0x2e')]=_0x4b1d4f['rootName']),null!=_0x4b1d4f[_0x12e2('0x48')]&&_0x4b1d4f[_0x12e2('0x64')]('elementName')&&(_0x14e9cf[_0x12e2('0x48')]=_0x4b1d4f['elementName']),null!=_0x4b1d4f[_0x12e2('0x79')]&&_0x4b1d4f['hasOwnProperty'](_0x12e2('0x79'))&&(_0x14e9cf[_0x12e2('0x79')]=_0x4b1d4f[_0x12e2('0x79')]),null!=_0x4b1d4f['wasUndone']&&_0x4b1d4f[_0x12e2('0x64')](_0x12e2('0x2d'))&&(_0x14e9cf['wasUndone']=_0x4b1d4f[_0x12e2('0x2d')]),_0x14e9cf;},_0x154781['prototype']['toJSON']=function(){return this[_0x12e2('0x51')][_0x12e2('0xa')](this,_0x47a817[_0x12e2('0x5d')][_0x12e2('0x3e')]);},_0x154781['getTypeUrl']=function(_0x1fb11a){return void 0x0===_0x1fb11a&&(_0x1fb11a=_0x12e2('0x10')),_0x1fb11a+'/RootOperation';},_0x154781;})();export const SplitOperation=v[_0x12e2('0x19')]=(()=>{function _0xc5f451(_0x1b8d4e){if(_0x1b8d4e)for(let _0x3f2767=Object[_0x12e2('0x88')](_0x1b8d4e),_0x20c2bd=0x0;_0x20c2bd<_0x3f2767['length'];++_0x20c2bd)null!=_0x1b8d4e[_0x3f2767[_0x20c2bd]]&&(this[_0x3f2767[_0x20c2bd]]=_0x1b8d4e[_0x3f2767[_0x20c2bd]]);}return _0xc5f451[_0x12e2('0x7e')][_0x12e2('0x21')]=null,_0xc5f451[_0x12e2('0x7e')][_0x12e2('0x5c')]=null,_0xc5f451[_0x12e2('0x7e')][_0x12e2('0x8f')]=0x0,_0xc5f451['prototype']['insertionPosition']=null,_0xc5f451[_0x12e2('0x7e')][_0x12e2('0x2d')]=!0x1,_0xc5f451['create']=function(_0x3eb9d4){return new _0xc5f451(_0x3eb9d4);},_0xc5f451[_0x12e2('0xf')]=function(_0x37643f,_0x2d8e1f){return _0x2d8e1f||(_0x2d8e1f=y['create']()),null!=_0x37643f['splitPosition']&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x37643f,_0x12e2('0x21'))&&v[_0x12e2('0x59')][_0x12e2('0xf')](_0x37643f['splitPosition'],_0x2d8e1f[_0x12e2('0x5')](0xa)[_0x12e2('0x54')]())[_0x12e2('0x73')](),null!=_0x37643f[_0x12e2('0x5c')]&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x37643f,_0x12e2('0x5c'))&&v['Position'][_0x12e2('0xf')](_0x37643f[_0x12e2('0x5c')],_0x2d8e1f['uint32'](0x12)[_0x12e2('0x54')]())['ldelim'](),null!=_0x37643f['howMany']&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x37643f,'howMany')&&_0x2d8e1f[_0x12e2('0x5')](0x18)[_0x12e2('0x5')](_0x37643f[_0x12e2('0x8f')]),null!=_0x37643f[_0x12e2('0x8d')]&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x37643f,_0x12e2('0x8d'))&&v[_0x12e2('0x59')][_0x12e2('0xf')](_0x37643f[_0x12e2('0x8d')],_0x2d8e1f['uint32'](0x22)[_0x12e2('0x54')]())[_0x12e2('0x73')](),null!=_0x37643f[_0x12e2('0x2d')]&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x37643f,_0x12e2('0x2d'))&&_0x2d8e1f[_0x12e2('0x5')](0x28)['bool'](_0x37643f['wasUndone']),_0x2d8e1f;},_0xc5f451['encodeDelimited']=function(_0x3a9d9e,_0x16f0fc){return this['encode'](_0x3a9d9e,_0x16f0fc)['ldelim']();},_0xc5f451[_0x12e2('0x61')]=function(_0x5be958,_0x178b12){_0x5be958 instanceof j||(_0x5be958=j[_0x12e2('0x77')](_0x5be958));let _0x31504b=void 0x0===_0x178b12?_0x5be958['len']:_0x5be958['pos']+_0x178b12,_0x388662=new v[(_0x12e2('0x19'))]();for(;_0x5be958[_0x12e2('0x8c')]<_0x31504b;){let _0x3db44a=_0x5be958['uint32']();switch(_0x3db44a>>>0x3){case 0x1:_0x388662[_0x12e2('0x21')]=v[_0x12e2('0x59')][_0x12e2('0x61')](_0x5be958,_0x5be958['uint32']());break;case 0x2:_0x388662['graveyardPosition']=v[_0x12e2('0x59')][_0x12e2('0x61')](_0x5be958,_0x5be958[_0x12e2('0x5')]());break;case 0x3:_0x388662[_0x12e2('0x8f')]=_0x5be958[_0x12e2('0x5')]();break;case 0x4:_0x388662[_0x12e2('0x8d')]=v[_0x12e2('0x59')][_0x12e2('0x61')](_0x5be958,_0x5be958[_0x12e2('0x5')]());break;case 0x5:_0x388662[_0x12e2('0x2d')]=_0x5be958['bool']();break;default:_0x5be958[_0x12e2('0x4')](0x7&_0x3db44a);}}return _0x388662;},_0xc5f451[_0x12e2('0x6d')]=function(_0x515ef8){return _0x515ef8 instanceof j||(_0x515ef8=new j(_0x515ef8)),this[_0x12e2('0x61')](_0x515ef8,_0x515ef8['uint32']());},_0xc5f451[_0x12e2('0x71')]=function(_0x12f996){if(_0x12e2('0x37')!=typeof _0x12f996||null===_0x12f996)return _0x12e2('0x15');if(null!=_0x12f996[_0x12e2('0x21')]&&_0x12f996[_0x12e2('0x64')](_0x12e2('0x21'))){let _0x4937f0=v[_0x12e2('0x59')][_0x12e2('0x71')](_0x12f996[_0x12e2('0x21')]);if(_0x4937f0)return _0x12e2('0x91')+_0x4937f0;}if(null!=_0x12f996[_0x12e2('0x5c')]&&_0x12f996[_0x12e2('0x64')](_0x12e2('0x5c'))){let _0x24530c=v[_0x12e2('0x59')][_0x12e2('0x71')](_0x12f996['graveyardPosition']);if(_0x24530c)return _0x12e2('0x98')+_0x24530c;}if(null!=_0x12f996[_0x12e2('0x8f')]&&_0x12f996[_0x12e2('0x64')](_0x12e2('0x8f'))&&!k[_0x12e2('0x3')](_0x12f996['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x12f996['insertionPosition']&&_0x12f996['hasOwnProperty']('insertionPosition')){let _0x22f6cf=v[_0x12e2('0x59')][_0x12e2('0x71')](_0x12f996[_0x12e2('0x8d')]);if(_0x22f6cf)return'insertionPosition.'+_0x22f6cf;}return null!=_0x12f996[_0x12e2('0x2d')]&&_0x12f996[_0x12e2('0x64')](_0x12e2('0x2d'))&&_0x12e2('0x67')!=typeof _0x12f996[_0x12e2('0x2d')]?_0x12e2('0x17'):null;},_0xc5f451[_0x12e2('0x42')]=function(_0x29f381){if(_0x29f381 instanceof v[_0x12e2('0x19')])return _0x29f381;let _0xd53409=new v[(_0x12e2('0x19'))]();if(null!=_0x29f381[_0x12e2('0x21')]){if(_0x12e2('0x37')!=typeof _0x29f381[_0x12e2('0x21')])throw TypeError(_0x12e2('0x65'));_0xd53409[_0x12e2('0x21')]=v['Position'][_0x12e2('0x42')](_0x29f381[_0x12e2('0x21')]);}if(null!=_0x29f381[_0x12e2('0x5c')]){if(_0x12e2('0x37')!=typeof _0x29f381[_0x12e2('0x5c')])throw TypeError(_0x12e2('0x68'));_0xd53409['graveyardPosition']=v[_0x12e2('0x59')][_0x12e2('0x42')](_0x29f381[_0x12e2('0x5c')]);}if(null!=_0x29f381['howMany']&&(_0xd53409['howMany']=_0x29f381[_0x12e2('0x8f')]>>>0x0),null!=_0x29f381['insertionPosition']){if(_0x12e2('0x37')!=typeof _0x29f381[_0x12e2('0x8d')])throw TypeError(_0x12e2('0x49'));_0xd53409[_0x12e2('0x8d')]=v[_0x12e2('0x59')][_0x12e2('0x42')](_0x29f381[_0x12e2('0x8d')]);}return null!=_0x29f381['wasUndone']&&(_0xd53409['wasUndone']=Boolean(_0x29f381[_0x12e2('0x2d')])),_0xd53409;},_0xc5f451[_0x12e2('0xa')]=function(_0x13985d,_0x2bb3f){_0x2bb3f||(_0x2bb3f={});let _0x5d622d={};return _0x2bb3f[_0x12e2('0x72')]&&(_0x5d622d[_0x12e2('0x21')]=null,_0x5d622d['graveyardPosition']=null,_0x5d622d[_0x12e2('0x8f')]=0x0,_0x5d622d[_0x12e2('0x8d')]=null,_0x5d622d['wasUndone']=!0x1),null!=_0x13985d[_0x12e2('0x21')]&&_0x13985d[_0x12e2('0x64')]('splitPosition')&&(_0x5d622d[_0x12e2('0x21')]=v['Position'][_0x12e2('0xa')](_0x13985d[_0x12e2('0x21')],_0x2bb3f)),null!=_0x13985d[_0x12e2('0x5c')]&&_0x13985d['hasOwnProperty'](_0x12e2('0x5c'))&&(_0x5d622d[_0x12e2('0x5c')]=v[_0x12e2('0x59')][_0x12e2('0xa')](_0x13985d[_0x12e2('0x5c')],_0x2bb3f)),null!=_0x13985d[_0x12e2('0x8f')]&&_0x13985d[_0x12e2('0x64')](_0x12e2('0x8f'))&&(_0x5d622d[_0x12e2('0x8f')]=_0x13985d['howMany']),null!=_0x13985d[_0x12e2('0x8d')]&&_0x13985d[_0x12e2('0x64')](_0x12e2('0x8d'))&&(_0x5d622d[_0x12e2('0x8d')]=v['Position'][_0x12e2('0xa')](_0x13985d[_0x12e2('0x8d')],_0x2bb3f)),null!=_0x13985d[_0x12e2('0x2d')]&&_0x13985d[_0x12e2('0x64')]('wasUndone')&&(_0x5d622d['wasUndone']=_0x13985d[_0x12e2('0x2d')]),_0x5d622d;},_0xc5f451[_0x12e2('0x7e')][_0x12e2('0x7')]=function(){return this[_0x12e2('0x51')][_0x12e2('0xa')](this,_0x47a817[_0x12e2('0x5d')][_0x12e2('0x3e')]);},_0xc5f451[_0x12e2('0x24')]=function(_0x2d680d){return void 0x0===_0x2d680d&&(_0x2d680d='type.googleapis.com'),_0x2d680d+_0x12e2('0x6c');},_0xc5f451;})();export const Position=v[_0x12e2('0x59')]=(()=>{function _0x3ef80b(_0x5f7093){if(this[_0x12e2('0x6b')]=[],_0x5f7093)for(let _0x3c9db2=Object[_0x12e2('0x88')](_0x5f7093),_0x300ff5=0x0;_0x300ff5<_0x3c9db2[_0x12e2('0x3a')];++_0x300ff5)null!=_0x5f7093[_0x3c9db2[_0x300ff5]]&&(this[_0x3c9db2[_0x300ff5]]=_0x5f7093[_0x3c9db2[_0x300ff5]]);}return _0x3ef80b[_0x12e2('0x7e')][_0x12e2('0x81')]='',_0x3ef80b[_0x12e2('0x7e')][_0x12e2('0x6e')]=!0x1,_0x3ef80b[_0x12e2('0x7e')][_0x12e2('0x4f')]=!0x1,_0x3ef80b[_0x12e2('0x7e')][_0x12e2('0x6b')]=k[_0x12e2('0x8a')],_0x3ef80b[_0x12e2('0x7e')][_0x12e2('0x57')]='',_0x3ef80b[_0x12e2('0x77')]=function(_0x2c28df){return new _0x3ef80b(_0x2c28df);},_0x3ef80b['encode']=function(_0x5168f4,_0x59a8c0){if(_0x59a8c0||(_0x59a8c0=y['create']()),null!=_0x5168f4[_0x12e2('0x81')]&&Object['hasOwnProperty']['call'](_0x5168f4,'root')&&_0x59a8c0['uint32'](0xa)['string'](_0x5168f4[_0x12e2('0x81')]),null!=_0x5168f4[_0x12e2('0x6e')]&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x5168f4,_0x12e2('0x6e'))&&_0x59a8c0['uint32'](0x10)[_0x12e2('0x85')](_0x5168f4[_0x12e2('0x6e')]),null!=_0x5168f4['rootGraveyard']&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x5168f4,_0x12e2('0x4f'))&&_0x59a8c0[_0x12e2('0x5')](0x18)[_0x12e2('0x85')](_0x5168f4[_0x12e2('0x4f')]),null!=_0x5168f4[_0x12e2('0x6b')]&&_0x5168f4[_0x12e2('0x6b')]['length']){_0x59a8c0[_0x12e2('0x5')](0x22)[_0x12e2('0x54')]();for(let _0x3d2ae2=0x0;_0x3d2ae2<_0x5168f4[_0x12e2('0x6b')]['length'];++_0x3d2ae2)_0x59a8c0['uint32'](_0x5168f4[_0x12e2('0x6b')][_0x3d2ae2]);_0x59a8c0[_0x12e2('0x73')]();}return null!=_0x5168f4[_0x12e2('0x57')]&&Object['hasOwnProperty'][_0x12e2('0x4a')](_0x5168f4,_0x12e2('0x57'))&&_0x59a8c0[_0x12e2('0x5')](0x2a)['string'](_0x5168f4[_0x12e2('0x57')]),_0x59a8c0;},_0x3ef80b[_0x12e2('0x3c')]=function(_0x575cc2,_0x52beba){return this[_0x12e2('0xf')](_0x575cc2,_0x52beba)[_0x12e2('0x73')]();},_0x3ef80b[_0x12e2('0x61')]=function(_0x1283a8,_0x327003){_0x1283a8 instanceof j||(_0x1283a8=j[_0x12e2('0x77')](_0x1283a8));let _0x5a7f88=void 0x0===_0x327003?_0x1283a8[_0x12e2('0x18')]:_0x1283a8[_0x12e2('0x8c')]+_0x327003,_0x392503=new v['Position']();for(;_0x1283a8['pos']<_0x5a7f88;){let _0x2088ce=_0x1283a8[_0x12e2('0x5')]();switch(_0x2088ce>>>0x3){case 0x1:_0x392503[_0x12e2('0x81')]=_0x1283a8[_0x12e2('0x1b')]();break;case 0x2:_0x392503['rootMain']=_0x1283a8[_0x12e2('0x85')]();break;case 0x3:_0x392503[_0x12e2('0x4f')]=_0x1283a8[_0x12e2('0x85')]();break;case 0x4:if(_0x392503[_0x12e2('0x6b')]&&_0x392503[_0x12e2('0x6b')][_0x12e2('0x3a')]||(_0x392503[_0x12e2('0x6b')]=[]),0x2==(0x7&_0x2088ce)){let _0x3d9152=_0x1283a8[_0x12e2('0x5')]()+_0x1283a8[_0x12e2('0x8c')];for(;_0x1283a8[_0x12e2('0x8c')]<_0x3d9152;)_0x392503['path']['push'](_0x1283a8['uint32']());}else _0x392503[_0x12e2('0x6b')][_0x12e2('0x62')](_0x1283a8[_0x12e2('0x5')]());break;case 0x5:_0x392503[_0x12e2('0x57')]=_0x1283a8[_0x12e2('0x1b')]();break;default:_0x1283a8[_0x12e2('0x4')](0x7&_0x2088ce);}}return _0x392503;},_0x3ef80b[_0x12e2('0x6d')]=function(_0x137080){return _0x137080 instanceof j||(_0x137080=new j(_0x137080)),this[_0x12e2('0x61')](_0x137080,_0x137080[_0x12e2('0x5')]());},_0x3ef80b[_0x12e2('0x71')]=function(_0x2d831f){if('object'!=typeof _0x2d831f||null===_0x2d831f)return _0x12e2('0x15');if(null!=_0x2d831f['root']&&_0x2d831f[_0x12e2('0x64')](_0x12e2('0x81'))&&!k[_0x12e2('0x11')](_0x2d831f[_0x12e2('0x81')]))return _0x12e2('0x44');if(null!=_0x2d831f['rootMain']&&_0x2d831f[_0x12e2('0x64')]('rootMain')&&_0x12e2('0x67')!=typeof _0x2d831f[_0x12e2('0x6e')])return _0x12e2('0x8');if(null!=_0x2d831f[_0x12e2('0x4f')]&&_0x2d831f[_0x12e2('0x64')](_0x12e2('0x4f'))&&'boolean'!=typeof _0x2d831f['rootGraveyard'])return _0x12e2('0x30');if(null!=_0x2d831f[_0x12e2('0x6b')]&&_0x2d831f[_0x12e2('0x64')](_0x12e2('0x6b'))){if(!Array[_0x12e2('0x7b')](_0x2d831f['path']))return _0x12e2('0x7a');for(let _0x3ed56e=0x0;_0x3ed56e<_0x2d831f[_0x12e2('0x6b')][_0x12e2('0x3a')];++_0x3ed56e)if(!k[_0x12e2('0x3')](_0x2d831f['path'][_0x3ed56e]))return _0x12e2('0x8b');}return null!=_0x2d831f[_0x12e2('0x57')]&&_0x2d831f[_0x12e2('0x64')](_0x12e2('0x57'))&&!k[_0x12e2('0x11')](_0x2d831f[_0x12e2('0x57')])?_0x12e2('0x2b'):null;},_0x3ef80b['fromObject']=function(_0x45aa72){if(_0x45aa72 instanceof v[_0x12e2('0x59')])return _0x45aa72;let _0x20c418=new v['Position']();if(null!=_0x45aa72['root']&&(_0x20c418['root']=String(_0x45aa72[_0x12e2('0x81')])),null!=_0x45aa72[_0x12e2('0x6e')]&&(_0x20c418[_0x12e2('0x6e')]=Boolean(_0x45aa72[_0x12e2('0x6e')])),null!=_0x45aa72[_0x12e2('0x4f')]&&(_0x20c418[_0x12e2('0x4f')]=Boolean(_0x45aa72[_0x12e2('0x4f')])),_0x45aa72[_0x12e2('0x6b')]){if(!Array[_0x12e2('0x7b')](_0x45aa72[_0x12e2('0x6b')]))throw TypeError(_0x12e2('0x95'));_0x20c418[_0x12e2('0x6b')]=[];for(let _0x2cc2a7=0x0;_0x2cc2a7<_0x45aa72[_0x12e2('0x6b')][_0x12e2('0x3a')];++_0x2cc2a7)_0x20c418['path'][_0x2cc2a7]=_0x45aa72['path'][_0x2cc2a7]>>>0x0;}return null!=_0x45aa72[_0x12e2('0x57')]&&(_0x20c418[_0x12e2('0x57')]=String(_0x45aa72[_0x12e2('0x57')])),_0x20c418;},_0x3ef80b[_0x12e2('0xa')]=function(_0x63e9a0,_0x5022ca){_0x5022ca||(_0x5022ca={});let _0x41df12={};if((_0x5022ca[_0x12e2('0x97')]||_0x5022ca[_0x12e2('0x72')])&&(_0x41df12['path']=[]),_0x5022ca[_0x12e2('0x72')]&&(_0x41df12['root']='',_0x41df12['rootMain']=!0x1,_0x41df12[_0x12e2('0x4f')]=!0x1,_0x41df12[_0x12e2('0x57')]=''),null!=_0x63e9a0[_0x12e2('0x81')]&&_0x63e9a0['hasOwnProperty'](_0x12e2('0x81'))&&(_0x41df12[_0x12e2('0x81')]=_0x63e9a0['root']),null!=_0x63e9a0[_0x12e2('0x6e')]&&_0x63e9a0[_0x12e2('0x64')](_0x12e2('0x6e'))&&(_0x41df12[_0x12e2('0x6e')]=_0x63e9a0['rootMain']),null!=_0x63e9a0[_0x12e2('0x4f')]&&_0x63e9a0[_0x12e2('0x64')]('rootGraveyard')&&(_0x41df12['rootGraveyard']=_0x63e9a0[_0x12e2('0x4f')]),_0x63e9a0[_0x12e2('0x6b')]&&_0x63e9a0[_0x12e2('0x6b')]['length']){_0x41df12[_0x12e2('0x6b')]=[];for(let _0x4084c9=0x0;_0x4084c9<_0x63e9a0[_0x12e2('0x6b')]['length'];++_0x4084c9)_0x41df12[_0x12e2('0x6b')][_0x4084c9]=_0x63e9a0[_0x12e2('0x6b')][_0x4084c9];}return null!=_0x63e9a0[_0x12e2('0x57')]&&_0x63e9a0[_0x12e2('0x64')](_0x12e2('0x57'))&&(_0x41df12[_0x12e2('0x57')]=_0x63e9a0[_0x12e2('0x57')]),_0x41df12;},_0x3ef80b[_0x12e2('0x7e')][_0x12e2('0x7')]=function(){return this['constructor']['toObject'](this,_0x47a817[_0x12e2('0x5d')]['toJSONOptions']);},_0x3ef80b[_0x12e2('0x24')]=function(_0x4072ab){return void 0x0===_0x4072ab&&(_0x4072ab=_0x12e2('0x10')),_0x4072ab+_0x12e2('0x74');},_0x3ef80b;})();export const Range=v[_0x12e2('0x60')]=(()=>{function _0x5115a1(_0x22e40c){if(_0x22e40c)for(let _0x2ec933=Object['keys'](_0x22e40c),_0xe99f54=0x0;_0xe99f54<_0x2ec933[_0x12e2('0x3a')];++_0xe99f54)null!=_0x22e40c[_0x2ec933[_0xe99f54]]&&(this[_0x2ec933[_0xe99f54]]=_0x22e40c[_0x2ec933[_0xe99f54]]);}return _0x5115a1[_0x12e2('0x7e')][_0x12e2('0x43')]=null,_0x5115a1[_0x12e2('0x7e')][_0x12e2('0x6')]=null,_0x5115a1['create']=function(_0x326f55){return new _0x5115a1(_0x326f55);},_0x5115a1['encode']=function(_0x467e06,_0x3db4d6){return _0x3db4d6||(_0x3db4d6=y[_0x12e2('0x77')]()),null!=_0x467e06['start']&&Object[_0x12e2('0x64')][_0x12e2('0x4a')](_0x467e06,'start')&&v[_0x12e2('0x59')][_0x12e2('0xf')](_0x467e06['start'],_0x3db4d6['uint32'](0xa)[_0x12e2('0x54')]())[_0x12e2('0x73')](),null!=_0x467e06['end']&&Object['hasOwnProperty'][_0x12e2('0x4a')](_0x467e06,'end')&&v[_0x12e2('0x59')]['encode'](_0x467e06['end'],_0x3db4d6['uint32'](0x12)[_0x12e2('0x54')]())[_0x12e2('0x73')](),_0x3db4d6;},_0x5115a1[_0x12e2('0x3c')]=function(_0x2a6982,_0x2727ac){return this[_0x12e2('0xf')](_0x2a6982,_0x2727ac)[_0x12e2('0x73')]();},_0x5115a1[_0x12e2('0x61')]=function(_0x5a0ea5,_0x275579){_0x5a0ea5 instanceof j||(_0x5a0ea5=j['create'](_0x5a0ea5));let _0x5670a9=void 0x0===_0x275579?_0x5a0ea5[_0x12e2('0x18')]:_0x5a0ea5[_0x12e2('0x8c')]+_0x275579,_0x2b3393=new v[(_0x12e2('0x60'))]();for(;_0x5a0ea5[_0x12e2('0x8c')]<_0x5670a9;){let _0x7a53a1=_0x5a0ea5[_0x12e2('0x5')]();switch(_0x7a53a1>>>0x3){case 0x1:_0x2b3393[_0x12e2('0x43')]=v[_0x12e2('0x59')]['decode'](_0x5a0ea5,_0x5a0ea5[_0x12e2('0x5')]());break;case 0x2:_0x2b3393[_0x12e2('0x6')]=v[_0x12e2('0x59')][_0x12e2('0x61')](_0x5a0ea5,_0x5a0ea5[_0x12e2('0x5')]());break;default:_0x5a0ea5['skipType'](0x7&_0x7a53a1);}}return _0x2b3393;},_0x5115a1[_0x12e2('0x6d')]=function(_0x25cd83){return _0x25cd83 instanceof j||(_0x25cd83=new j(_0x25cd83)),this[_0x12e2('0x61')](_0x25cd83,_0x25cd83[_0x12e2('0x5')]());},_0x5115a1[_0x12e2('0x71')]=function(_0xc7f262){if(_0x12e2('0x37')!=typeof _0xc7f262||null===_0xc7f262)return _0x12e2('0x15');if(null!=_0xc7f262[_0x12e2('0x43')]&&_0xc7f262[_0x12e2('0x64')]('start')){let _0xaec0b5=v[_0x12e2('0x59')][_0x12e2('0x71')](_0xc7f262[_0x12e2('0x43')]);if(_0xaec0b5)return'start.'+_0xaec0b5;}if(null!=_0xc7f262[_0x12e2('0x6')]&&_0xc7f262[_0x12e2('0x64')]('end')){let _0x4b68cd=v[_0x12e2('0x59')][_0x12e2('0x71')](_0xc7f262[_0x12e2('0x6')]);if(_0x4b68cd)return'end.'+_0x4b68cd;}return null;},_0x5115a1['fromObject']=function(_0x2ce0a3){if(_0x2ce0a3 instanceof v[_0x12e2('0x60')])return _0x2ce0a3;let _0x230025=new v['Range']();if(null!=_0x2ce0a3[_0x12e2('0x43')]){if(_0x12e2('0x37')!=typeof _0x2ce0a3['start'])throw TypeError(_0x12e2('0x5b'));_0x230025[_0x12e2('0x43')]=v[_0x12e2('0x59')][_0x12e2('0x42')](_0x2ce0a3[_0x12e2('0x43')]);}if(null!=_0x2ce0a3[_0x12e2('0x6')]){if(_0x12e2('0x37')!=typeof _0x2ce0a3['end'])throw TypeError(_0x12e2('0x84'));_0x230025[_0x12e2('0x6')]=v[_0x12e2('0x59')][_0x12e2('0x42')](_0x2ce0a3[_0x12e2('0x6')]);}return _0x230025;},_0x5115a1[_0x12e2('0xa')]=function(_0x3c9de3,_0x703aed){_0x703aed||(_0x703aed={});let _0x37d8cb={};return _0x703aed['defaults']&&(_0x37d8cb[_0x12e2('0x43')]=null,_0x37d8cb[_0x12e2('0x6')]=null),null!=_0x3c9de3[_0x12e2('0x43')]&&_0x3c9de3['hasOwnProperty'](_0x12e2('0x43'))&&(_0x37d8cb['start']=v[_0x12e2('0x59')][_0x12e2('0xa')](_0x3c9de3['start'],_0x703aed)),null!=_0x3c9de3[_0x12e2('0x6')]&&_0x3c9de3['hasOwnProperty'](_0x12e2('0x6'))&&(_0x37d8cb[_0x12e2('0x6')]=v['Position']['toObject'](_0x3c9de3['end'],_0x703aed)),_0x37d8cb;},_0x5115a1[_0x12e2('0x7e')]['toJSON']=function(){return this['constructor'][_0x12e2('0xa')](this,_0x47a817[_0x12e2('0x5d')][_0x12e2('0x3e')]);},_0x5115a1[_0x12e2('0x24')]=function(_0x8539d9){return void 0x0===_0x8539d9&&(_0x8539d9=_0x12e2('0x10')),_0x8539d9+_0x12e2('0x2');},_0x5115a1;})();export const Element=v['Element']=(()=>{function _0x199fe8(_0x2caf60){if(this[_0x12e2('0x3b')]=[],this[_0x12e2('0x4e')]={},_0x2caf60)for(let _0x45486b=Object['keys'](_0x2caf60),_0x534218=0x0;_0x534218<_0x45486b[_0x12e2('0x3a')];++_0x534218)null!=_0x2caf60[_0x45486b[_0x534218]]&&(this[_0x45486b[_0x534218]]=_0x2caf60[_0x45486b[_0x534218]]);}return _0x199fe8[_0x12e2('0x7e')][_0x12e2('0x4b')]='',_0x199fe8['prototype'][_0x12e2('0x3b')]=k[_0x12e2('0x8a')],_0x199fe8[_0x12e2('0x7e')][_0x12e2('0x94')]='',_0x199fe8['prototype'][_0x12e2('0x4e')]=k[_0x12e2('0x25')],_0x199fe8[_0x12e2('0x7e')][_0x12e2('0x14')]='',_0x199fe8[_0x12e2('0x77')]=function(_0x1218ef){return new _0x199fe8(_0x1218ef);},_0x199fe8[_0x12e2('0xf')]=function(_0x50a51e,_0x2ccd49){if(_0x2ccd49||(_0x2ccd49=y[_0x12e2('0x77')]()),null!=_0x50a51e[_0x12e2('0x4b')]&&Object['hasOwnProperty'][_0x12e2('0x4a')](_0x50a51e,'name')&&_0x2ccd49[_0x12e2('0x5')](0xa)[_0x12e2('0x1b')](_0x50a51e['name']),null!=_0x50a51e[_0x12e2('0x3b')]&&_0x50a51e['children'][_0x12e2('0x3a')])for(let _0x5268d4=0x0;_0x5268d4<_0x50a51e['children'][_0x12e2('0x3a')];++_0x5268d4)v[_0x12e2('0x33')][_0x12e2('0xf')](_0x50a51e[_0x12e2('0x3b')][_0x5268d4],_0x2ccd49[_0x12e2('0x5')](0x12)[_0x12e2('0x54')]())['ldelim']();if(null!=_0x50a51e[_0x12e2('0x94')]&&Object['hasOwnProperty'][_0x12e2('0x4a')](_0x50a51e,_0x12e2('0x94'))&&_0x2ccd49['uint32'](0x1a)['string'](_0x50a51e[_0x12e2('0x94')]),null!=_0x50a51e[_0x12e2('0x4e')]&&Object['hasOwnProperty'][_0x12e2('0x4a')](_0x50a51e,_0x12e2('0x4e')))for(let _0x463b8d=Object[_0x12e2('0x88')](_0x50a51e['attributesBoolean']),_0x5f504d=0x0;_0x5f504d<_0x463b8d[_0x12e2('0x3a')];++_0x5f504d)_0x2ccd49[_0x12e2('0x5')](0x22)[_0x12e2('0x54')]()[_0x12e2('0x5')](0xa)['string'](_0x463b8d[_0x5f504d])[_0x12e2('0x5')](0x10)['bool'](_0x50a51e[_0x12e2('0x4e')][_0x463b8d[_0x5f504d]])[_0x12e2('0x73')]();return null!=_0x50a51e[_0x12e2('0x14')]&&Object[_0x12e2('0x64')]['call'](_0x50a51e,_0x12e2('0x14'))&&_0x2ccd49[_0x12e2('0x5')](0x2a)['string'](_0x50a51e[_0x12e2('0x14')]),_0x2ccd49;},_0x199fe8[_0x12e2('0x3c')]=function(_0x79ff15,_0x33dbd9){return this[_0x12e2('0xf')](_0x79ff15,_0x33dbd9)[_0x12e2('0x73')]();},_0x199fe8['decode']=function(_0x46aed2,_0x11f29c){_0x46aed2 instanceof j||(_0x46aed2=j[_0x12e2('0x77')](_0x46aed2));let _0x2152de,_0xae169d,_0xda59e8=void 0x0===_0x11f29c?_0x46aed2[_0x12e2('0x18')]:_0x46aed2['pos']+_0x11f29c,_0x19a375=new v['Element']();for(;_0x46aed2[_0x12e2('0x8c')]<_0xda59e8;){let _0x5032f5=_0x46aed2[_0x12e2('0x5')]();switch(_0x5032f5>>>0x3){case 0x1:_0x19a375[_0x12e2('0x4b')]=_0x46aed2[_0x12e2('0x1b')]();break;case 0x2:_0x19a375[_0x12e2('0x3b')]&&_0x19a375[_0x12e2('0x3b')][_0x12e2('0x3a')]||(_0x19a375[_0x12e2('0x3b')]=[]),_0x19a375[_0x12e2('0x3b')]['push'](v['Element'][_0x12e2('0x61')](_0x46aed2,_0x46aed2[_0x12e2('0x5')]()));break;case 0x3:_0x19a375[_0x12e2('0x94')]=_0x46aed2[_0x12e2('0x1b')]();break;case 0x4:{_0x19a375[_0x12e2('0x4e')]===k['emptyObject']&&(_0x19a375['attributesBoolean']={});let _0xdbaa55=_0x46aed2[_0x12e2('0x5')]()+_0x46aed2[_0x12e2('0x8c')];for(_0x2152de='',_0xae169d=!0x1;_0x46aed2['pos']<_0xdbaa55;){let _0x598c91=_0x46aed2[_0x12e2('0x5')]();switch(_0x598c91>>>0x3){case 0x1:_0x2152de=_0x46aed2[_0x12e2('0x1b')]();break;case 0x2:_0xae169d=_0x46aed2[_0x12e2('0x85')]();break;default:_0x46aed2[_0x12e2('0x4')](0x7&_0x598c91);}}_0x19a375[_0x12e2('0x4e')][_0x2152de]=_0xae169d;break;}case 0x5:_0x19a375[_0x12e2('0x14')]=_0x46aed2[_0x12e2('0x1b')]();break;default:_0x46aed2['skipType'](0x7&_0x5032f5);}}return _0x19a375;},_0x199fe8[_0x12e2('0x6d')]=function(_0x2de7e2){return _0x2de7e2 instanceof j||(_0x2de7e2=new j(_0x2de7e2)),this['decode'](_0x2de7e2,_0x2de7e2[_0x12e2('0x5')]());},_0x199fe8['verify']=function(_0x538a0f){if(_0x12e2('0x37')!=typeof _0x538a0f||null===_0x538a0f)return'object\x20expected';if(null!=_0x538a0f[_0x12e2('0x4b')]&&_0x538a0f[_0x12e2('0x64')](_0x12e2('0x4b'))&&!k[_0x12e2('0x11')](_0x538a0f[_0x12e2('0x4b')]))return _0x12e2('0x9');if(null!=_0x538a0f[_0x12e2('0x3b')]&&_0x538a0f[_0x12e2('0x64')](_0x12e2('0x3b'))){if(!Array[_0x12e2('0x7b')](_0x538a0f[_0x12e2('0x3b')]))return _0x12e2('0x70');for(let _0x563d03=0x0;_0x563d03<_0x538a0f[_0x12e2('0x3b')][_0x12e2('0x3a')];++_0x563d03){let _0xf78c4b=v[_0x12e2('0x33')][_0x12e2('0x71')](_0x538a0f['children'][_0x563d03]);if(_0xf78c4b)return _0x12e2('0x1d')+_0xf78c4b;}}if(null!=_0x538a0f['data']&&_0x538a0f[_0x12e2('0x64')](_0x12e2('0x94'))&&!k[_0x12e2('0x11')](_0x538a0f['data']))return _0x12e2('0x22');if(null!=_0x538a0f[_0x12e2('0x4e')]&&_0x538a0f[_0x12e2('0x64')](_0x12e2('0x4e'))){if(!k[_0x12e2('0x5f')](_0x538a0f[_0x12e2('0x4e')]))return'attributesBoolean:\x20object\x20expected';let _0xf4901f=Object[_0x12e2('0x88')](_0x538a0f[_0x12e2('0x4e')]);for(let _0xb34902=0x0;_0xb34902<_0xf4901f[_0x12e2('0x3a')];++_0xb34902)if(_0x12e2('0x67')!=typeof _0x538a0f[_0x12e2('0x4e')][_0xf4901f[_0xb34902]])return _0x12e2('0x80');}return null!=_0x538a0f[_0x12e2('0x14')]&&_0x538a0f[_0x12e2('0x64')](_0x12e2('0x14'))&&!k['isString'](_0x538a0f[_0x12e2('0x14')])?_0x12e2('0x87'):null;},_0x199fe8['fromObject']=function(_0x289ed4){if(_0x289ed4 instanceof v[_0x12e2('0x33')])return _0x289ed4;let _0x1230fb=new v[(_0x12e2('0x33'))]();if(null!=_0x289ed4['name']&&(_0x1230fb['name']=String(_0x289ed4['name'])),_0x289ed4[_0x12e2('0x3b')]){if(!Array['isArray'](_0x289ed4[_0x12e2('0x3b')]))throw TypeError(_0x12e2('0x96'));_0x1230fb[_0x12e2('0x3b')]=[];for(let _0xd69c2e=0x0;_0xd69c2e<_0x289ed4[_0x12e2('0x3b')][_0x12e2('0x3a')];++_0xd69c2e){if(_0x12e2('0x37')!=typeof _0x289ed4[_0x12e2('0x3b')][_0xd69c2e])throw TypeError(_0x12e2('0xd'));_0x1230fb['children'][_0xd69c2e]=v[_0x12e2('0x33')][_0x12e2('0x42')](_0x289ed4[_0x12e2('0x3b')][_0xd69c2e]);}}if(null!=_0x289ed4[_0x12e2('0x94')]&&(_0x1230fb['data']=String(_0x289ed4[_0x12e2('0x94')])),_0x289ed4['attributesBoolean']){if(_0x12e2('0x37')!=typeof _0x289ed4[_0x12e2('0x4e')])throw TypeError(_0x12e2('0x16'));_0x1230fb['attributesBoolean']={};for(let _0x2ab483=Object[_0x12e2('0x88')](_0x289ed4[_0x12e2('0x4e')]),_0x7057a5=0x0;_0x7057a5<_0x2ab483[_0x12e2('0x3a')];++_0x7057a5)_0x1230fb[_0x12e2('0x4e')][_0x2ab483[_0x7057a5]]=Boolean(_0x289ed4[_0x12e2('0x4e')][_0x2ab483[_0x7057a5]]);}return null!=_0x289ed4['attributesJson']&&(_0x1230fb[_0x12e2('0x14')]=String(_0x289ed4[_0x12e2('0x14')])),_0x1230fb;},_0x199fe8['toObject']=function(_0x5ed9f1,_0x21f768){_0x21f768||(_0x21f768={});let _0x533da3,_0x1139b6={};if((_0x21f768[_0x12e2('0x97')]||_0x21f768[_0x12e2('0x72')])&&(_0x1139b6['children']=[]),(_0x21f768['objects']||_0x21f768[_0x12e2('0x72')])&&(_0x1139b6['attributesBoolean']={}),_0x21f768[_0x12e2('0x72')]&&(_0x1139b6[_0x12e2('0x4b')]='',_0x1139b6[_0x12e2('0x94')]='',_0x1139b6['attributesJson']=''),null!=_0x5ed9f1[_0x12e2('0x4b')]&&_0x5ed9f1[_0x12e2('0x64')](_0x12e2('0x4b'))&&(_0x1139b6[_0x12e2('0x4b')]=_0x5ed9f1[_0x12e2('0x4b')]),_0x5ed9f1['children']&&_0x5ed9f1[_0x12e2('0x3b')][_0x12e2('0x3a')]){_0x1139b6[_0x12e2('0x3b')]=[];for(let _0x231d07=0x0;_0x231d07<_0x5ed9f1[_0x12e2('0x3b')][_0x12e2('0x3a')];++_0x231d07)_0x1139b6['children'][_0x231d07]=v['Element'][_0x12e2('0xa')](_0x5ed9f1[_0x12e2('0x3b')][_0x231d07],_0x21f768);}if(null!=_0x5ed9f1['data']&&_0x5ed9f1[_0x12e2('0x64')]('data')&&(_0x1139b6['data']=_0x5ed9f1[_0x12e2('0x94')]),_0x5ed9f1['attributesBoolean']&&(_0x533da3=Object[_0x12e2('0x88')](_0x5ed9f1['attributesBoolean']))[_0x12e2('0x3a')]){_0x1139b6['attributesBoolean']={};for(let _0x147f01=0x0;_0x147f01<_0x533da3[_0x12e2('0x3a')];++_0x147f01)_0x1139b6[_0x12e2('0x4e')][_0x533da3[_0x147f01]]=_0x5ed9f1['attributesBoolean'][_0x533da3[_0x147f01]];}return null!=_0x5ed9f1['attributesJson']&&_0x5ed9f1[_0x12e2('0x64')](_0x12e2('0x14'))&&(_0x1139b6['attributesJson']=_0x5ed9f1[_0x12e2('0x14')]),_0x1139b6;},_0x199fe8[_0x12e2('0x7e')][_0x12e2('0x7')]=function(){return this['constructor'][_0x12e2('0xa')](this,_0x47a817[_0x12e2('0x5d')]['toJSONOptions']);},_0x199fe8[_0x12e2('0x24')]=function(_0x25e541){return void 0x0===_0x25e541&&(_0x25e541='type.googleapis.com'),_0x25e541+_0x12e2('0x5a');},_0x199fe8;})();export{v as default};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import MarkerOperationCompressor from './markeroperationcompressor';
|
|
2
|
+
import type { ProtobufDescriptor } from '../protobuffactory';
|
|
3
|
+
import type { CompressedOperationsData } from '../compressor';
|
|
4
|
+
import type { MarkerOperation } from 'ckeditor5/src/engine';
|
|
5
|
+
export default class AnnotationMarkerOperationCompressor extends MarkerOperationCompressor {
|
|
6
|
+
/**
|
|
7
|
+
* @inheritDoc
|
|
8
|
+
*/
|
|
9
|
+
constructor(id: number, name: string, descriptor: ProtobufDescriptor, namespaceToOmit: string);
|
|
10
|
+
/**
|
|
11
|
+
* @inheritDoc
|
|
12
|
+
*/
|
|
13
|
+
compress(result: CompressedOperationsData, operations: Array<MarkerOperation>): boolean;
|
|
14
|
+
/**
|
|
15
|
+
* @inheritDoc
|
|
16
|
+
*/
|
|
17
|
+
decompress(result: Array<MarkerOperation>, data: CompressedOperationsData): void;
|
|
18
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ea9=['name','__className','startsWith','MarkerOperation','replace','decompress','_omittedNamespace'];(function(_0x45fe18,_0x3ea978){const _0x321204=function(_0x11f683){while(--_0x11f683){_0x45fe18['push'](_0x45fe18['shift']());}};_0x321204(++_0x3ea978);}(_0x3ea9,0x18a));const _0x3212=function(_0x45fe18,_0x3ea978){_0x45fe18=_0x45fe18-0x0;let _0x321204=_0x3ea9[_0x45fe18];return _0x321204;};import _0x58ea7b from'./markeroperationcompressor';export default class a extends _0x58ea7b{constructor(_0x36e159,_0x380cf8,_0x1a7a60,_0x48af5d){super(_0x36e159,_0x380cf8,_0x1a7a60),this['_omittedNamespace']=_0x48af5d+':';}['compress'](_0x21593e,_0x104b6e){return!(_0x3212('0x1')!=_0x104b6e[0x0][_0x3212('0x6')]||!_0x104b6e[0x0]['name'][_0x3212('0x0')](this[_0x3212('0x4')]))&&(_0x104b6e[0x0][_0x3212('0x5')]=_0x104b6e[0x0][_0x3212('0x5')][_0x3212('0x2')](new RegExp('^'+this[_0x3212('0x4')]),''),super['compress'](_0x21593e,_0x104b6e),!0x0);}[_0x3212('0x3')](_0x9acaab,_0x19fa2a){super[_0x3212('0x3')](_0x9acaab,_0x19fa2a);const _0xff88ff=_0x9acaab[_0x9acaab['length']-0x1];_0xff88ff['name']=this[_0x3212('0x4')]+_0xff88ff['name'];}}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import OperationCompressor from './operationcompressor';
|
|
2
|
+
import type { CompressedOperationsData } from '../compressor';
|
|
3
|
+
import type { AttributeOperation } from 'ckeditor5/src/engine';
|
|
4
|
+
export default class AttributeOperationCompressor extends OperationCompressor {
|
|
5
|
+
/**
|
|
6
|
+
* @inheritDoc
|
|
7
|
+
*/
|
|
8
|
+
compress(result: CompressedOperationsData, operations: Array<AttributeOperation>): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* @inheritDoc
|
|
11
|
+
*/
|
|
12
|
+
decompress(result: Array<AttributeOperation>, data: CompressedOperationsData): void;
|
|
13
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa9c4=['oldValue','Json','_id','_serializeOneOf','_deserializeOneOf','buffers','push','boolean','stringify','_protobufDescriptor','shift','decompress','Boolean','newValue'];(function(_0xc8224c,_0xa9c4a2){const _0x57ac43=function(_0x566fb4){while(--_0x566fb4){_0xc8224c['push'](_0xc8224c['shift']());}};_0x57ac43(++_0xa9c4a2);}(_0xa9c4,0x98));const _0x57ac=function(_0xc8224c,_0xa9c4a2){_0xc8224c=_0xc8224c-0x0;let _0x57ac43=_0xa9c4[_0xc8224c];return _0x57ac43;};import _0x98d8f6 from'./operationcompressor';import{parsePositionBeforeCompression as _0x3117a1,parsePositionAfterCompression as _0x1fa675}from'../utils';export default class i extends _0x98d8f6{['compress'](_0x5e10fb,_0x89dbe6){const _0xa66e23=_0x89dbe6[_0x57ac('0xc')]();return this[_0x57ac('0x5')](_0x57ac('0x2'),_0xa66e23),this[_0x57ac('0x5')](_0x57ac('0x1'),_0xa66e23),_0x3117a1(_0xa66e23),_0x5e10fb[_0x57ac('0x7')][_0x57ac('0x8')](this[_0x57ac('0xb')]['compress'](_0xa66e23)),_0x5e10fb['types'][_0x57ac('0x8')](this[_0x57ac('0x4')]),!0x0;}[_0x57ac('0xd')](_0x4892d2,_0x149b24){const {types:_0xc3a62e,buffers:_0x308e92}=_0x149b24,_0x5652d4=this[_0x57ac('0xb')][_0x57ac('0xd')](_0x308e92[_0x57ac('0xc')]());_0xc3a62e['shift'](),this[_0x57ac('0x6')](_0x57ac('0x2'),_0x5652d4),this[_0x57ac('0x6')](_0x57ac('0x1'),_0x5652d4),_0x1fa675(_0x5652d4),_0x5652d4['__className']=this['_operationName'],_0x4892d2[_0x57ac('0x8')](_0x5652d4);}['_serializeOneOf'](_0x31cabf,_0x564c95){const _0x29dc0a=_0x564c95[_0x31cabf];_0x57ac('0x9')==typeof _0x29dc0a?_0x564c95[_0x31cabf+_0x57ac('0x0')]=_0x29dc0a:_0x564c95[_0x31cabf+_0x57ac('0x3')]=JSON[_0x57ac('0xa')](_0x29dc0a);}['_deserializeOneOf'](_0x29f81c,_0x29f499){const _0x4f5f97=_0x29f81c+_0x57ac('0x3');_0x29f499[_0x4f5f97]?(_0x29f499[_0x29f81c]=JSON['parse'](_0x29f499[_0x4f5f97]),delete _0x29f499[_0x4f5f97]):(_0x29f499[_0x29f81c]=_0x29f499[_0x29f81c+_0x57ac('0x0')],delete _0x29f499[_0x29f81c+'Boolean']);}}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import OperationCompressor from './operationcompressor';
|
|
2
|
+
import type { CompressedOperationsData } from '../compressor';
|
|
3
|
+
import type { InsertOperation } from 'ckeditor5/src/engine';
|
|
4
|
+
export default class InsertOperationCompressor extends OperationCompressor {
|
|
5
|
+
/**
|
|
6
|
+
* @inheritDoc
|
|
7
|
+
*/
|
|
8
|
+
compress(result: CompressedOperationsData, operations: Array<InsertOperation>): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* @inheritDoc
|
|
11
|
+
*/
|
|
12
|
+
decompress(result: Array<InsertOperation>, data: CompressedOperationsData): void;
|
|
13
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3fe0=['compress','attributes','attributesJson','_areValuesBoolean','boolean','keys','attributesBoolean','_operationName','buffers','_id','_deserializeNodesAttributes','_protobufDescriptor','shift','every','_serializeNodesAttributes','types','nodes','children','decompress','push'];(function(_0x3766c2,_0x3fe0a4){const _0x4263f7=function(_0x249ea5){while(--_0x249ea5){_0x3766c2['push'](_0x3766c2['shift']());}};_0x4263f7(++_0x3fe0a4);}(_0x3fe0,0x14c));const _0x4263=function(_0x3766c2,_0x3fe0a4){_0x3766c2=_0x3766c2-0x0;let _0x4263f7=_0x3fe0[_0x3766c2];return _0x4263f7;};import _0x28a1c8 from'./operationcompressor';import{parsePositionBeforeCompression as _0x30e334,parsePositionAfterCompression as _0x317037}from'../utils';export default class s extends _0x28a1c8{[_0x4263('0x8')](_0xa612c8,_0x22c473){const _0x3429d2=_0x22c473[_0x4263('0x0')]();return this[_0x4263('0x2')](_0x3429d2['nodes']),_0x30e334(_0x3429d2),_0xa612c8[_0x4263('0x10')]['push'](this['_protobufDescriptor']['compress'](_0x3429d2)),_0xa612c8[_0x4263('0x3')][_0x4263('0x7')](this[_0x4263('0x11')]),!0x0;}[_0x4263('0x6')](_0x328e19,_0x2a0c43){const {types:_0x6f6f1b,buffers:_0x554796}=_0x2a0c43,_0x1f58bb=this[_0x4263('0x13')][_0x4263('0x6')](_0x554796['shift']());_0x6f6f1b[_0x4263('0x0')](),_0x1f58bb['nodes']||(_0x1f58bb[_0x4263('0x4')]=[]),this[_0x4263('0x12')](_0x1f58bb[_0x4263('0x4')]),_0x317037(_0x1f58bb),_0x1f58bb['__className']=this[_0x4263('0xf')],_0x328e19[_0x4263('0x7')](_0x1f58bb);}[_0x4263('0x2')](_0x38654f){for(const _0x16bd86 of _0x38654f){if(_0x16bd86[_0x4263('0x9')]){const _0x272f09=_0x16bd86[_0x4263('0x9')];this[_0x4263('0xb')](_0x272f09)?_0x16bd86[_0x4263('0xe')]=_0x272f09:_0x16bd86[_0x4263('0xa')]=JSON['stringify'](_0x272f09);}_0x16bd86[_0x4263('0x5')]&&this[_0x4263('0x2')](_0x16bd86[_0x4263('0x5')]);}}['_deserializeNodesAttributes'](_0x4ae148){for(const _0x47e17a of _0x4ae148)(_0x47e17a[_0x4263('0xe')]||_0x47e17a[_0x4263('0xa')])&&(_0x47e17a[_0x4263('0xe')]?(_0x47e17a[_0x4263('0x9')]=_0x47e17a[_0x4263('0xe')],delete _0x47e17a[_0x4263('0xe')]):(_0x47e17a['attributes']=JSON['parse'](_0x47e17a[_0x4263('0xa')]),delete _0x47e17a[_0x4263('0xa')])),_0x47e17a['children']&&this[_0x4263('0x12')](_0x47e17a[_0x4263('0x5')]);}[_0x4263('0xb')](_0x320296){return Object[_0x4263('0xd')](_0x320296)[_0x4263('0x1')](_0x36cbf3=>_0x4263('0xc')==typeof _0x320296[_0x36cbf3]);}}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import OperationCompressor from './operationcompressor';
|
|
2
|
+
import type { CompressedOperationsData } from '../compressor';
|
|
3
|
+
import type { MarkerOperation } from 'ckeditor5/src/engine';
|
|
4
|
+
export default class MarkerOperationCompressor extends OperationCompressor {
|
|
5
|
+
/**
|
|
6
|
+
* @inheritDoc
|
|
7
|
+
*/
|
|
8
|
+
decompress(result: Array<MarkerOperation>, data: CompressedOperationsData): void;
|
|
9
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2afd=['decompress','length','newRange','oldRange'];(function(_0x1ffaac,_0x2afd84){const _0xbd3d73=function(_0x226bef){while(--_0x226bef){_0x1ffaac['push'](_0x1ffaac['shift']());}};_0xbd3d73(++_0x2afd84);}(_0x2afd,0xea));const _0xbd3d=function(_0x1ffaac,_0x2afd84){_0x1ffaac=_0x1ffaac-0x0;let _0xbd3d73=_0x2afd[_0x1ffaac];return _0xbd3d73;};import _0x275587 from'./operationcompressor';export default class n extends _0x275587{[_0xbd3d('0x2')](_0x38358c,_0x5a4bb4){super[_0xbd3d('0x2')](_0x38358c,_0x5a4bb4);const _0x5bb32e=_0x38358c[_0x38358c[_0xbd3d('0x3')]-0x1];_0x5bb32e['oldRange']||(_0x5bb32e[_0xbd3d('0x1')]=null),_0x5bb32e[_0xbd3d('0x0')]||(_0x5bb32e[_0xbd3d('0x0')]=null);}}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import OperationCompressor from './operationcompressor';
|
|
2
|
+
import type { CompressedOperationsData } from '../compressor';
|
|
3
|
+
import type { Operation } from 'ckeditor5/src/engine';
|
|
4
|
+
/**
|
|
5
|
+
* @extends OperationCompressor
|
|
6
|
+
*/
|
|
7
|
+
export default class NoOperationCompressor extends OperationCompressor {
|
|
8
|
+
/**
|
|
9
|
+
* @inheritDoc
|
|
10
|
+
*/
|
|
11
|
+
compress(result: CompressedOperationsData, operations: Array<Operation>): boolean;
|
|
12
|
+
/**
|
|
13
|
+
* @inheritDoc
|
|
14
|
+
*/
|
|
15
|
+
decompress(result: Array<any>, data: CompressedOperationsData): void;
|
|
16
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5c4b=['_id','push','shift','types'];(function(_0x4144b3,_0x5c4bda){var _0x1e873d=function(_0xecf577){while(--_0xecf577){_0x4144b3['push'](_0x4144b3['shift']());}};_0x1e873d(++_0x5c4bda);}(_0x5c4b,0x176));var _0x1e87=function(_0x4144b3,_0x5c4bda){_0x4144b3=_0x4144b3-0x0;var _0x1e873d=_0x5c4b[_0x4144b3];return _0x1e873d;};import _0x2d4b90 from'./operationcompressor';export default class p extends _0x2d4b90{['compress'](_0x50590,_0x3e08c9){return _0x3e08c9[_0x1e87('0x0')](),_0x50590[_0x1e87('0x1')][_0x1e87('0x3')](this[_0x1e87('0x2')]),!0x0;}['decompress'](_0x3d2dc5,_0x3b7f48){_0x3b7f48[_0x1e87('0x1')][_0x1e87('0x0')](),_0x3d2dc5['push']({'__className':this['_operationName']});}}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { CompressedOperationsData } from '../compressor';
|
|
2
|
+
import type { ProtobufDescriptor } from '../protobuffactory';
|
|
3
|
+
import type { Operation } from 'ckeditor5/src/engine';
|
|
4
|
+
/**
|
|
5
|
+
* Compresses and decompresses single operation to the binary format.
|
|
6
|
+
*/
|
|
7
|
+
export default class OperationCompressor {
|
|
8
|
+
constructor(id: number, operationName: string, protobufDescriptor: ProtobufDescriptor);
|
|
9
|
+
/**
|
|
10
|
+
* Serializes and consumes the first operation from the list.
|
|
11
|
+
*
|
|
12
|
+
* @param result Object to which compression result will be added.
|
|
13
|
+
* @param operations List of operations to compress. The first one will be compressed
|
|
14
|
+
* and removed from the list.
|
|
15
|
+
*/
|
|
16
|
+
compress(result: CompressedOperationsData, operations: Array<Operation>): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Deserializes and consumes buffered operation.
|
|
19
|
+
*
|
|
20
|
+
* @param result Decompressed operation.
|
|
21
|
+
* @param data Data to decompress.
|
|
22
|
+
*/
|
|
23
|
+
decompress(result: Array<Operation>, data: CompressedOperationsData): void;
|
|
24
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2530=['__className','shift','compress','_protobufDescriptor','buffers','push','types','_id','_operationName','decompress'];(function(_0x44824f,_0x25304c){const _0x2160b6=function(_0x558149){while(--_0x558149){_0x44824f['push'](_0x44824f['shift']());}};_0x2160b6(++_0x25304c);}(_0x2530,0x184));const _0x2160=function(_0x44824f,_0x25304c){_0x44824f=_0x44824f-0x0;let _0x2160b6=_0x2530[_0x44824f];return _0x2160b6;};import{parsePositionBeforeCompression as _0x298ea1,parsePositionAfterCompression as _0x49a7f7}from'../utils';export default class e{constructor(_0x1163a8,_0x3e066a,_0xc4a3bb){this['_id']=_0x1163a8,this[_0x2160('0x0')]=_0x3e066a,this[_0x2160('0x5')]=_0xc4a3bb;}[_0x2160('0x4')](_0xcf963b,_0x561142){const _0x2bf2b3=_0x561142[_0x2160('0x3')]();return _0x298ea1(_0x2bf2b3),_0xcf963b[_0x2160('0x6')][_0x2160('0x7')](this[_0x2160('0x5')][_0x2160('0x4')](_0x2bf2b3)),_0xcf963b[_0x2160('0x8')]['push'](this[_0x2160('0x9')]),!0x0;}['decompress'](_0x2a0d01,_0x18d07e){_0x18d07e[_0x2160('0x8')][_0x2160('0x3')]();const _0x7762b2=this[_0x2160('0x5')][_0x2160('0x1')](_0x18d07e[_0x2160('0x6')][_0x2160('0x3')]());_0x49a7f7(_0x7762b2),_0x7762b2[_0x2160('0x2')]=this[_0x2160('0x0')],_0x2a0d01[_0x2160('0x7')](_0x7762b2);}}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Descriptions used by protobuf.
|
|
3
|
+
*
|
|
4
|
+
* If something fails regarding operations serialization, most probably you forgot to update and recompile protobuf descriptions.
|
|
5
|
+
*
|
|
6
|
+
* Change the below descriptions accordingly to changes done to the data that is compressed.
|
|
7
|
+
* Then, rebuild compiled messages. To do that run `node dev/scripts/compilemessages.js` from main directory.
|
|
8
|
+
*
|
|
9
|
+
* If you added a new operation type, add it also in `compressor.ts`.
|
|
10
|
+
*
|
|
11
|
+
* Make sure that the new `compiledmessages.js` is pushed to GH repository.
|
|
12
|
+
*/
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
var _0x3f3f=['bool','Position','string','repeated','Range','Element','uint32'];(function(_0x24118e,_0x3f3f81){var _0x46054e=function(_0x547905){while(--_0x547905){_0x24118e['push'](_0x24118e['shift']());}};_0x46054e(++_0x3f3f81);}(_0x3f3f,0xfb));var _0x4605=function(_0x24118e,_0x3f3f81){_0x24118e=_0x24118e-0x0;var _0x46054e=_0x3f3f[_0x24118e];return _0x46054e;};'use strict';module['exports']={'AttributeOperation':{'fields':{'range':{'type':'Range','id':0x1},'key':{'type':'string','id':0x2},'oldValueBoolean':{'type':'bool','id':0x3},'oldValueJson':{'type':'string','id':0x4},'newValueBoolean':{'type':_0x4605('0x1'),'id':0x5},'newValueJson':{'type':_0x4605('0x3'),'id':0x6},'wasUndone':{'type':_0x4605('0x1'),'id':0x7}}},'InsertOperation':{'fields':{'position':{'type':_0x4605('0x2'),'id':0x1},'nodes':{'rule':_0x4605('0x4'),'type':_0x4605('0x6'),'id':0x2},'shouldReceiveAttributes':{'type':_0x4605('0x1'),'id':0x3},'wasUndone':{'type':_0x4605('0x1'),'id':0x4}}},'MarkerOperation':{'fields':{'name':{'type':_0x4605('0x3'),'id':0x1},'oldRange':{'type':'Range','id':0x2},'newRange':{'type':_0x4605('0x5'),'id':0x3},'affectsData':{'type':_0x4605('0x1'),'id':0x4},'wasUndone':{'type':_0x4605('0x1'),'id':0x5}}},'MergeOperation':{'fields':{'sourcePosition':{'type':'Position','id':0x1},'targetPosition':{'type':_0x4605('0x2'),'id':0x2},'graveyardPosition':{'type':_0x4605('0x2'),'id':0x3},'howMany':{'type':_0x4605('0x0'),'id':0x4},'wasUndone':{'type':'bool','id':0x5}}},'MoveOperation':{'fields':{'sourcePosition':{'type':_0x4605('0x2'),'id':0x1},'howMany':{'type':_0x4605('0x0'),'id':0x2},'targetPosition':{'type':'Position','id':0x3},'wasUndone':{'type':_0x4605('0x1'),'id':0x4}}},'RenameOperation':{'fields':{'position':{'type':_0x4605('0x2'),'id':0x1},'oldName':{'type':_0x4605('0x3'),'id':0x2},'newName':{'type':_0x4605('0x3'),'id':0x3},'wasUndone':{'type':_0x4605('0x1'),'id':0x4}}},'RootAttributeOperation':{'fields':{'root':{'type':_0x4605('0x3'),'id':0x1},'key':{'type':_0x4605('0x3'),'id':0x2},'oldValueBoolean':{'type':'bool','id':0x3},'oldValueJson':{'type':_0x4605('0x3'),'id':0x4},'newValueBoolean':{'type':'bool','id':0x5},'newValueJson':{'type':_0x4605('0x3'),'id':0x6},'wasUndone':{'type':_0x4605('0x1'),'id':0x7}}},'RootOperation':{'fields':{'rootName':{'type':_0x4605('0x3'),'id':0x1},'elementName':{'type':_0x4605('0x3'),'id':0x2},'isAdd':{'type':_0x4605('0x1'),'id':0x3},'wasUndone':{'type':_0x4605('0x1'),'id':0x4}}},'SplitOperation':{'fields':{'splitPosition':{'type':_0x4605('0x2'),'id':0x1},'graveyardPosition':{'type':'Position','id':0x2},'howMany':{'type':_0x4605('0x0'),'id':0x3},'insertionPosition':{'type':_0x4605('0x2'),'id':0x4},'wasUndone':{'type':'bool','id':0x5}}},'Position':{'fields':{'root':{'type':'string','id':0x1},'rootMain':{'type':_0x4605('0x1'),'id':0x2},'rootGraveyard':{'type':_0x4605('0x1'),'id':0x3},'path':{'rule':'repeated','type':'uint32','id':0x4},'stickiness':{'type':_0x4605('0x3'),'id':0x5}}},'Range':{'fields':{'start':{'type':_0x4605('0x2'),'id':0x1},'end':{'type':_0x4605('0x2'),'id':0x2}}},'Element':{'fields':{'name':{'type':'string','id':0x1},'children':{'rule':_0x4605('0x4'),'type':'Element','id':0x2},'data':{'type':'string','id':0x3},'attributesBoolean':{'keyType':'string','type':_0x4605('0x1'),'id':0x4},'attributesJson':{'type':_0x4605('0x3'),'id':0x5}}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa8cb=['finish','_protobuf','getDescriptor','verify','decode','_protobufRoot','toObject'];(function(_0x4e1b84,_0xa8cb0f){const _0x4c11a0=function(_0x4c822e){while(--_0x4c822e){_0x4e1b84['push'](_0x4e1b84['shift']());}};_0x4c11a0(++_0xa8cb0f);}(_0xa8cb,0x1ac));const _0x4c11=function(_0x4e1b84,_0xa8cb0f){_0x4e1b84=_0x4e1b84-0x0;let _0x4c11a0=_0xa8cb[_0x4e1b84];return _0x4c11a0;};import*as _0x339ec3 from'./lib/compiledmessages';export default class r{constructor(){this[_0x4c11('0x4')]=_0x339ec3;}[_0x4c11('0x1')](_0x4eeb26){return new ProtobufDescriptor(this[_0x4c11('0x4')][_0x4eeb26]);}}export class ProtobufDescriptor{constructor(_0x429d95){this[_0x4c11('0x0')]=_0x429d95;}['compress'](_0x5dcdf8){const _0x37a490=this[_0x4c11('0x0')][_0x4c11('0x2')](_0x5dcdf8);if(_0x37a490)throw Error(_0x37a490);return this[_0x4c11('0x0')]['encode'](this[_0x4c11('0x0')]['create'](_0x5dcdf8))[_0x4c11('0x6')]();}['decompress'](_0x3dec1f){return this[_0x4c11('0x0')][_0x4c11('0x5')](this[_0x4c11('0x0')][_0x4c11('0x3')](_0x3dec1f),{'oneofs':!0x0});}}
|
package/src/utils.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Return new position in JSON format shifted by given offset.
|
|
3
|
+
*
|
|
4
|
+
* @param positionJSON Position serialized to JSON.
|
|
5
|
+
* @param shift Offset shift. Can be a negative value.
|
|
6
|
+
* @returns New position in JSON format.
|
|
7
|
+
*/
|
|
8
|
+
export declare function getPositionShiftedBy(positionJSON: any, shift: number): any;
|
|
9
|
+
/**
|
|
10
|
+
* Checks whether one position serialized to JSON is equal to other position serialized to JSON.
|
|
11
|
+
*/
|
|
12
|
+
export declare function arePositionsEqual(positionA: any, positionB: any): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* For the better compression result one of the two common roots (`main` or `$graveyard`)
|
|
15
|
+
* is compressed to the `Boolean` format.
|
|
16
|
+
*
|
|
17
|
+
* Due tu the Protobuf limitation `Position` descriptor has no dedicated compressor
|
|
18
|
+
* so we need to find and format all positions in the operation.
|
|
19
|
+
*/
|
|
20
|
+
export declare function parsePositionBeforeCompression(operation: any): void;
|
|
21
|
+
/**
|
|
22
|
+
* Position reformatting after decompression.
|
|
23
|
+
*
|
|
24
|
+
* @see {parsePositionBeforeCompression}.
|
|
25
|
+
*/
|
|
26
|
+
export declare function parsePositionAfterCompression(operation: any): void;
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59ad=['rootGraveyard','nodes','path','main','$graveyard','rootMain','length','root'];(function(_0x30ef98,_0x59adea){const _0x1d433d=function(_0xa9bf6f){while(--_0xa9bf6f){_0x30ef98['push'](_0x30ef98['shift']());}};_0x1d433d(++_0x59adea);}(_0x59ad,0x131));const _0x1d43=function(_0x30ef98,_0x59adea){_0x30ef98=_0x30ef98-0x0;let _0x1d433d=_0x59ad[_0x30ef98];return _0x1d433d;};import{cloneDeep as _0x392b29,isEqual as _0x267cd1,isObject as _0x1af8bc}from'lodash-es';export function getPositionShiftedBy(_0x3bb07f,_0x59e830){const _0x4dcf2=_0x392b29(_0x3bb07f);return _0x4dcf2[_0x1d43('0x1')][_0x4dcf2[_0x1d43('0x1')][_0x1d43('0x5')]-0x1]+=_0x59e830,_0x4dcf2;}export function arePositionsEqual(_0x4192c7,_0x246a7b){return _0x4192c7[_0x1d43('0x6')]===_0x246a7b[_0x1d43('0x6')]&&_0x267cd1(_0x4192c7[_0x1d43('0x1')],_0x246a7b[_0x1d43('0x1')]);}export function parsePositionBeforeCompression(_0x5e809c){P(_0x5e809c,_0x2e73dd=>('main'==_0x2e73dd[_0x1d43('0x6')]?(_0x2e73dd['rootMain']=!0x0,delete _0x2e73dd[_0x1d43('0x6')]):_0x1d43('0x3')==_0x2e73dd['root']&&(_0x2e73dd[_0x1d43('0x7')]=!0x0,delete _0x2e73dd[_0x1d43('0x6')]),_0x2e73dd));}export function parsePositionAfterCompression(_0x1b43b4){P(_0x1b43b4,_0x1fc0da=>(_0x1fc0da[_0x1d43('0x4')]?(_0x1fc0da[_0x1d43('0x6')]=_0x1d43('0x2'),delete _0x1fc0da[_0x1d43('0x4')]):_0x1fc0da['rootGraveyard']&&(_0x1fc0da[_0x1d43('0x6')]='$graveyard',delete _0x1fc0da['rootGraveyard']),_0x1fc0da));}function P(_0x189dd2,_0x416d90){for(const _0xd831fc in _0x189dd2){const _0x475665=_0x189dd2[_0xd831fc];_0x1d43('0x0')!==_0xd831fc&&_0x1af8bc(_0x475665)&&(_0x475665[_0x1d43('0x1')]&&(_0x475665['root']||_0x475665[_0x1d43('0x4')]||_0x475665[_0x1d43('0x7')])?_0x189dd2[_0xd831fc]=_0x416d90(_0x475665):P(_0x475665,_0x416d90));}return _0x189dd2;}
|