@ckeditor/ckeditor5-operations-compressor 35.3.1 → 35.4.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-operations-compressor",
3
- "version": "35.3.1",
3
+ "version": "35.4.0",
4
4
  "description": "CKEditor 5 operations compressor for real-time collaboration.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "homepage": "https://ckeditor.com/collaboration/real-time/",
@@ -27,7 +27,7 @@
27
27
  ],
28
28
  "author": "CKSource (http://cksource.com/)",
29
29
  "dependencies": {
30
- "ckeditor5": "^35.3.1",
30
+ "ckeditor5": "^35.4.0",
31
31
  "lodash-es": "^4.17.11",
32
32
  "protobufjs": "^6.8.8"
33
33
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c4d=['push','decompress','shift','buffers','compress','_splitCurrent','_context','_compareOperations','_combineNext','types','length'];(function(_0xb7914b,_0x3c4d72){const _0xe1ec46=function(_0x475444){while(--_0x475444){_0xb7914b['push'](_0xb7914b['shift']());}};_0xe1ec46(++_0x3c4d72);}(_0x3c4d,0x94));const _0xe1ec=function(_0xb7914b,_0x3c4d72){_0xb7914b=_0xb7914b-0x0;let _0xe1ec46=_0x3c4d[_0xb7914b];return _0xe1ec46;};import{cloneDeep as _0x58573d}from'lodash-es';export default class j{constructor(_0x1ffdc2,_0x416ad3){this['id']=_0x1ffdc2,this[_0xe1ec('0x1')]=_0x416ad3;}[_0xe1ec('0xa')](_0x533189,_0x2d6dc5){let _0x53cde7;for(;_0x2d6dc5[_0xe1ec('0x5')]>0x1&&this[_0xe1ec('0x2')](_0x2d6dc5[0x0],_0x2d6dc5[0x1]);)_0x53cde7?(_0x53cde7=this[_0xe1ec('0x3')](_0x2d6dc5[_0xe1ec('0x8')](),_0x53cde7),_0x533189[_0xe1ec('0x4')]['push'](0x0)):(_0x53cde7=_0x58573d(_0x2d6dc5[_0xe1ec('0x8')]()),_0x533189['types']['push'](this['id']));return!!_0x53cde7&&(_0x53cde7=this[_0xe1ec('0x3')](_0x2d6dc5[_0xe1ec('0x8')](),_0x53cde7),_0x533189[_0xe1ec('0x4')][_0xe1ec('0x6')](0x0),_0x533189[_0xe1ec('0x9')]['push'](this['_compressSingleOperation'](_0x53cde7)),!0x0);}[_0xe1ec('0x7')](_0x47f40d,_0x346f4b){const _0xba96e1=this['_decompressSingleOperation'](_0x346f4b);for(;0x0==_0x346f4b['types'][0x0];)_0x346f4b[_0xe1ec('0x4')][_0xe1ec('0x8')](),_0x47f40d[_0xe1ec('0x6')](this[_0xe1ec('0x0')](_0xba96e1));_0x47f40d[_0xe1ec('0x6')](_0xba96e1);}}
23
+ const _0x2784=['_decompressSingleOperation','compress','shift','_splitCurrent','_context','types','buffers','_combineNext','push','length'];(function(_0x2bb8aa,_0x2784df){const _0xb9973e=function(_0x3d626c){while(--_0x3d626c){_0x2bb8aa['push'](_0x2bb8aa['shift']());}};_0xb9973e(++_0x2784df);}(_0x2784,0x11b));const _0xb997=function(_0x2bb8aa,_0x2784df){_0x2bb8aa=_0x2bb8aa-0x0;let _0xb9973e=_0x2784[_0x2bb8aa];return _0xb9973e;};import{cloneDeep as _0xfad6d}from'lodash-es';export default class j{constructor(_0x48dcf,_0x466fe2){this['id']=_0x48dcf,this[_0xb997('0x1')]=_0x466fe2;}[_0xb997('0x8')](_0x4a8acc,_0x5224de){let _0x5881e8;for(;_0x5224de[_0xb997('0x6')]>0x1&&this['_compareOperations'](_0x5224de[0x0],_0x5224de[0x1]);)_0x5881e8?(_0x5881e8=this[_0xb997('0x4')](_0x5224de[_0xb997('0x9')](),_0x5881e8),_0x4a8acc[_0xb997('0x2')]['push'](0x0)):(_0x5881e8=_0xfad6d(_0x5224de[_0xb997('0x9')]()),_0x4a8acc[_0xb997('0x2')]['push'](this['id']));return!!_0x5881e8&&(_0x5881e8=this[_0xb997('0x4')](_0x5224de[_0xb997('0x9')](),_0x5881e8),_0x4a8acc['types']['push'](0x0),_0x4a8acc[_0xb997('0x3')][_0xb997('0x5')](this['_compressSingleOperation'](_0x5881e8)),!0x0);}['decompress'](_0x5ab490,_0x5a9eaf){const _0x2f84f7=this[_0xb997('0x7')](_0x5a9eaf);for(;0x0==_0x5a9eaf['types'][0x0];)_0x5a9eaf[_0xb997('0x2')]['shift'](),_0x5ab490['push'](this[_0xb997('0x0')](_0x2f84f7));_0x5ab490[_0xb997('0x5')](_0x2f84f7);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a0d=['$graveyard','wasUndone','decompress','_compareOperations','__className','howMany','MoveOperation','_splitCurrent','sourcePosition','_decompressSingleOperation','buffers','_compressSingleOperation','root','compress','_combineNext','_context'];(function(_0x3b2563,_0x2a0d9e){const _0x3b9c0a=function(_0x5beffd){while(--_0x5beffd){_0x3b2563['push'](_0x3b2563['shift']());}};_0x3b9c0a(++_0x2a0d9e);}(_0x2a0d,0x15c));const _0x3b9c=function(_0x3b2563,_0x2a0d9e){_0x3b2563=_0x3b2563-0x0;let _0x3b9c0a=_0x2a0d[_0x3b2563];return _0x3b9c0a;};import _0x4151e9 from'./actioncompressor';import{arePositionsEqual as _0x1b5aa3,getPositionShiftedBy as _0x2aea94}from'../utils';import{cloneDeep as _0x433e39}from'lodash-es';export default class u extends _0x4151e9{[_0x3b9c('0x2')](_0x2b6d9e,_0x217a95){return _0x217a95['howMany']++,_0x217a95['sourcePosition']=_0x433e39(_0x2b6d9e['sourcePosition']),_0x217a95;}[_0x3b9c('0xb')](_0x48813d){const _0x3adde5=_0x433e39(_0x48813d);return _0x48813d['howMany']--,_0x3adde5[_0x3b9c('0x9')]=0x1,_0x3adde5[_0x3b9c('0xc')]=_0x2aea94(_0x3adde5['sourcePosition'],_0x48813d[_0x3b9c('0x9')]),_0x3adde5;}[_0x3b9c('0x7')](_0xb5da08,_0x265690){return!(!S(_0xb5da08)||!S(_0x265690))&&(_0x1b5aa3(_0x2aea94(_0xb5da08[_0x3b9c('0xc')],-0x1),_0x265690['sourcePosition'])&&_0x1b5aa3(_0xb5da08['targetPosition'],_0x265690['targetPosition']));}[_0x3b9c('0xf')](_0x261c71){const _0x11ca4b={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName'](_0x3b9c('0xa'))[_0x3b9c('0x1')](_0x11ca4b,[_0x261c71]),_0x11ca4b[_0x3b9c('0xe')][0x0];}[_0x3b9c('0xd')](_0xa8fe93){const _0x570f38=[];return this[_0x3b9c('0x3')]['_getCompressorByName'](_0x3b9c('0xa'))[_0x3b9c('0x6')](_0x570f38,_0xa8fe93),_0x570f38[0x0];}}function S(_0x5832ab){return _0x3b9c('0xa')==_0x5832ab[_0x3b9c('0x8')]&&_0x3b9c('0x4')==_0x5832ab['targetPosition'][_0x3b9c('0x0')]&&0x1==_0x5832ab[_0x3b9c('0x9')]&&!_0x5832ab[_0x3b9c('0x5')];}
23
+ const _0x2abd=['_compressSingleOperation','_context','sourcePosition','buffers','howMany','_decompressSingleOperation','wasUndone','root','compress','MoveOperation','targetPosition','_combineNext','__className'];(function(_0x57b6bf,_0x2abdd1){const _0x2466ea=function(_0x49c92e){while(--_0x49c92e){_0x57b6bf['push'](_0x57b6bf['shift']());}};_0x2466ea(++_0x2abdd1);}(_0x2abd,0x1d4));const _0x2466=function(_0x57b6bf,_0x2abdd1){_0x57b6bf=_0x57b6bf-0x0;let _0x2466ea=_0x2abd[_0x57b6bf];return _0x2466ea;};import _0x53be2e from'./actioncompressor';import{arePositionsEqual as _0x36786c,getPositionShiftedBy as _0x2256a2}from'../utils';import{cloneDeep as _0x45b23c}from'lodash-es';export default class u extends _0x53be2e{[_0x2466('0xb')](_0x525ecb,_0x4af6c6){return _0x4af6c6[_0x2466('0x4')]++,_0x4af6c6[_0x2466('0x2')]=_0x45b23c(_0x525ecb[_0x2466('0x2')]),_0x4af6c6;}['_splitCurrent'](_0x150da5){const _0x2b0ba4=_0x45b23c(_0x150da5);return _0x150da5[_0x2466('0x4')]--,_0x2b0ba4['howMany']=0x1,_0x2b0ba4[_0x2466('0x2')]=_0x2256a2(_0x2b0ba4['sourcePosition'],_0x150da5['howMany']),_0x2b0ba4;}['_compareOperations'](_0x34abeb,_0x1db636){return!(!S(_0x34abeb)||!S(_0x1db636))&&(_0x36786c(_0x2256a2(_0x34abeb[_0x2466('0x2')],-0x1),_0x1db636[_0x2466('0x2')])&&_0x36786c(_0x34abeb[_0x2466('0xa')],_0x1db636[_0x2466('0xa')]));}[_0x2466('0x0')](_0x17ec64){const _0x53918b={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2466('0x1')]['_getCompressorByName']('MoveOperation')[_0x2466('0x8')](_0x53918b,[_0x17ec64]),_0x53918b[_0x2466('0x3')][0x0];}[_0x2466('0x5')](_0x346a37){const _0x4f4ad8=[];return this[_0x2466('0x1')]['_getCompressorByName'](_0x2466('0x9'))['decompress'](_0x4f4ad8,_0x346a37),_0x4f4ad8[0x0];}}function S(_0x56ef63){return _0x2466('0x9')==_0x56ef63[_0x2466('0xc')]&&'$graveyard'==_0x56ef63[_0x2466('0xa')][_0x2466('0x7')]&&0x1==_0x56ef63['howMany']&&!_0x56ef63[_0x2466('0x6')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2405=['wasUndone','MoveOperation','sourcePosition','targetPosition','__className','_compressSingleOperation','_context','_combineNext','howMany','decompress','compress','$graveyard','root'];(function(_0x10aec3,_0x2405a4){const _0x1d81ba=function(_0x44e55c){while(--_0x44e55c){_0x10aec3['push'](_0x10aec3['shift']());}};_0x1d81ba(++_0x2405a4);}(_0x2405,0xaa));const _0x1d81=function(_0x10aec3,_0x2405a4){_0x10aec3=_0x10aec3-0x0;let _0x1d81ba=_0x2405[_0x10aec3];return _0x1d81ba;};import _0x356a1a from'./actioncompressor';import{arePositionsEqual as _0x4cfdae}from'../utils';import{cloneDeep as _0x2dd3f6}from'lodash-es';export default class l extends _0x356a1a{[_0x1d81('0x6')](_0x170943,_0x275b70){return _0x275b70[_0x1d81('0x7')]++,_0x275b70;}['_splitCurrent'](_0xb71922){const _0x1638c6=_0x2dd3f6(_0xb71922);return _0x1638c6['howMany']=0x1,_0xb71922[_0x1d81('0x7')]--,_0x1638c6;}['_compareOperations'](_0x5ae5d3,_0x5ba7ef){return!(!S(_0x5ae5d3)||!S(_0x5ba7ef))&&(_0x4cfdae(_0x5ae5d3['sourcePosition'],_0x5ba7ef[_0x1d81('0x1')])&&_0x4cfdae(_0x5ae5d3[_0x1d81('0x2')],_0x5ba7ef[_0x1d81('0x2')]));}[_0x1d81('0x4')](_0x1db6a9){const _0x199c14={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1d81('0x5')]['_getCompressorByName']('MoveOperation')[_0x1d81('0x9')](_0x199c14,[_0x1db6a9]),_0x199c14['buffers'][0x0];}['_decompressSingleOperation'](_0x860ac0){const _0x5fbac0=[];return this[_0x1d81('0x5')]['_getCompressorByName'](_0x1d81('0x0'))[_0x1d81('0x8')](_0x5fbac0,_0x860ac0),_0x5fbac0[0x0];}}function S(_0xfe17c2){return _0x1d81('0x0')==_0xfe17c2[_0x1d81('0x3')]&&_0x1d81('0xa')==_0xfe17c2[_0x1d81('0x2')][_0x1d81('0xb')]&&0x1==_0xfe17c2['howMany']&&!_0xfe17c2[_0x1d81('0xc')];}
23
+ const _0xf855=['decompress','root','_combineNext','_splitCurrent','howMany','_getCompressorByName','_context','compress','buffers','_compressSingleOperation','targetPosition','sourcePosition','_compareOperations'];(function(_0x3b669b,_0xf85588){const _0x450b92=function(_0x48e3e6){while(--_0x48e3e6){_0x3b669b['push'](_0x3b669b['shift']());}};_0x450b92(++_0xf85588);}(_0xf855,0x15d));const _0x450b=function(_0x3b669b,_0xf85588){_0x3b669b=_0x3b669b-0x0;let _0x450b92=_0xf855[_0x3b669b];return _0x450b92;};import _0x2ae6ac from'./actioncompressor';import{arePositionsEqual as _0x567e98}from'../utils';import{cloneDeep as _0x3e036f}from'lodash-es';export default class l extends _0x2ae6ac{[_0x450b('0x4')](_0x2ed0e4,_0x4ced7f){return _0x4ced7f[_0x450b('0x6')]++,_0x4ced7f;}[_0x450b('0x5')](_0x96a658){const _0x6386=_0x3e036f(_0x96a658);return _0x6386[_0x450b('0x6')]=0x1,_0x96a658[_0x450b('0x6')]--,_0x6386;}[_0x450b('0x1')](_0x371bf2,_0x458a3b){return!(!S(_0x371bf2)||!S(_0x458a3b))&&(_0x567e98(_0x371bf2[_0x450b('0x0')],_0x458a3b[_0x450b('0x0')])&&_0x567e98(_0x371bf2[_0x450b('0xc')],_0x458a3b[_0x450b('0xc')]));}[_0x450b('0xb')](_0x397066){const _0x1c246f={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x450b('0x8')][_0x450b('0x7')]('MoveOperation')[_0x450b('0x9')](_0x1c246f,[_0x397066]),_0x1c246f[_0x450b('0xa')][0x0];}['_decompressSingleOperation'](_0x57e6ec){const _0x43a063=[];return this['_context'][_0x450b('0x7')]('MoveOperation')[_0x450b('0x2')](_0x43a063,_0x57e6ec),_0x43a063[0x0];}}function S(_0x3f65f7){return'MoveOperation'==_0x3f65f7['__className']&&'$graveyard'==_0x3f65f7['targetPosition'][_0x450b('0x3')]&&0x1==_0x3f65f7[_0x450b('0x6')]&&!_0x3f65f7['wasUndone'];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2dde=['InsertOperation','compress','_compressSingleOperation','decompress','attributes','position','_compareOperations','_combineNext','iterator','length','_context','__className','data','keys','nodes','_getCompressorByName','_splitCurrent','value','every','substr','_decompressSingleOperation'];(function(_0x110c65,_0x2dde5b){const _0x1f5d1a=function(_0x41d666){while(--_0x41d666){_0x110c65['push'](_0x110c65['shift']());}};_0x1f5d1a(++_0x2dde5b);}(_0x2dde,0xab));const _0x1f5d=function(_0x110c65,_0x2dde5b){_0x110c65=_0x110c65-0x0;let _0x1f5d1a=_0x2dde[_0x110c65];return _0x1f5d1a;};import _0x18130d from'./actioncompressor';import{arePositionsEqual as _0x1efd50,getPositionShiftedBy as _0x449853}from'../utils';import{cloneDeep as _0x491dd7}from'lodash-es';export default class g extends _0x18130d{[_0x1f5d('0x4')](_0x35b924,_0x337569){return _0x337569[_0x1f5d('0xb')][0x0][_0x1f5d('0x9')]+=_0x35b924['nodes'][0x0]['data'],_0x337569;}[_0x1f5d('0xd')](_0x512c47){const _0x4f8c88=_0x491dd7(_0x512c47),_0x52964a=_0x4f8c88[_0x1f5d('0xb')][0x0],_0x29445f=_0x512c47['nodes'][0x0],_0x40b937=_0x29445f[_0x1f5d('0x9')][Symbol[_0x1f5d('0x5')]]()['next']()[_0x1f5d('0xe')],_0x5a6394=_0x40b937[_0x1f5d('0x6')];return _0x52964a[_0x1f5d('0x9')]=_0x40b937,_0x29445f[_0x1f5d('0x9')]=_0x29445f[_0x1f5d('0x9')][_0x1f5d('0x10')](_0x5a6394),_0x512c47[_0x1f5d('0x2')]=_0x449853(_0x512c47['position'],_0x5a6394),_0x4f8c88;}[_0x1f5d('0x3')](_0x1c9cd6,_0x8a25b5){if(S(_0x1c9cd6)&&S(_0x8a25b5)){const _0x336a09=_0x1c9cd6[_0x1f5d('0xb')][0x0][_0x1f5d('0x9')][_0x1f5d('0x6')],_0x57fca6=_0x1efd50(_0x449853(_0x1c9cd6[_0x1f5d('0x2')],_0x336a09),_0x8a25b5[_0x1f5d('0x2')]),_0x365579=_0x1c9cd6[_0x1f5d('0xb')][0x0],_0x148792=_0x8a25b5[_0x1f5d('0xb')][0x0];return _0x57fca6&&function(_0x3e775e,_0x5a9056){const _0x118ea0=Object['keys'](_0x3e775e['attributes']||{}),_0x22a82b=Object[_0x1f5d('0xa')](_0x5a9056[_0x1f5d('0x1')]||{});if(_0x118ea0[_0x1f5d('0x6')]!==_0x22a82b['length'])return!0x1;return _0x118ea0[_0x1f5d('0xf')](_0x2c88f7=>_0x5a9056[_0x1f5d('0x1')][_0x2c88f7]&&_0x5a9056[_0x1f5d('0x1')][_0x2c88f7]===_0x3e775e[_0x1f5d('0x1')][_0x2c88f7]);}(_0x365579,_0x148792);}return!0x1;}[_0x1f5d('0x14')](_0x55ef93){const _0x2086e9={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1f5d('0x7')][_0x1f5d('0xc')]('InsertOperation')[_0x1f5d('0x13')](_0x2086e9,[_0x55ef93]),_0x2086e9['buffers'][0x0];}[_0x1f5d('0x11')](_0xc3ac55){const _0x157a72=[];return this[_0x1f5d('0x7')][_0x1f5d('0xc')](_0x1f5d('0x12'))[_0x1f5d('0x0')](_0x157a72,_0xc3ac55),_0x157a72[0x0];}}function S(_0x2d3d7f){return _0x1f5d('0x12')==_0x2d3d7f[_0x1f5d('0x8')]&&0x1==_0x2d3d7f[_0x1f5d('0xb')][_0x1f5d('0x6')]&&_0x2d3d7f[_0x1f5d('0xb')][0x0]['data']&&!_0x2d3d7f['wasUndone']&&0x1==Array['from'](_0x2d3d7f[_0x1f5d('0xb')][0x0][_0x1f5d('0x9')])[_0x1f5d('0x6')];}
23
+ const _0x5936=['length','compress','from','position','_context','__className','every','substr','_splitCurrent','_compressSingleOperation','keys','_combineNext','_decompressSingleOperation','decompress','InsertOperation','_compareOperations','_getCompressorByName','iterator','wasUndone','data','nodes','attributes'];(function(_0x4eda0e,_0x593614){const _0x14768=function(_0x8b848c){while(--_0x8b848c){_0x4eda0e['push'](_0x4eda0e['shift']());}};_0x14768(++_0x593614);}(_0x5936,0x1af));const _0x1476=function(_0x4eda0e,_0x593614){_0x4eda0e=_0x4eda0e-0x0;let _0x14768=_0x5936[_0x4eda0e];return _0x14768;};import _0x4ede48 from'./actioncompressor';import{arePositionsEqual as _0x50e029,getPositionShiftedBy as _0x4a5ffd}from'../utils';import{cloneDeep as _0x2a5319}from'lodash-es';export default class g extends _0x4ede48{[_0x1476('0x14')](_0x1bd770,_0x452de6){return _0x452de6[_0x1476('0x7')][0x0][_0x1476('0x6')]+=_0x1bd770['nodes'][0x0][_0x1476('0x6')],_0x452de6;}[_0x1476('0x11')](_0x2c523c){const _0x56c4f9=_0x2a5319(_0x2c523c),_0x490b64=_0x56c4f9[_0x1476('0x7')][0x0],_0xbc7b2f=_0x2c523c[_0x1476('0x7')][0x0],_0x18ae18=_0xbc7b2f[_0x1476('0x6')][Symbol[_0x1476('0x4')]]()['next']()['value'],_0x31034c=_0x18ae18[_0x1476('0x9')];return _0x490b64[_0x1476('0x6')]=_0x18ae18,_0xbc7b2f[_0x1476('0x6')]=_0xbc7b2f[_0x1476('0x6')][_0x1476('0x10')](_0x31034c),_0x2c523c[_0x1476('0xc')]=_0x4a5ffd(_0x2c523c[_0x1476('0xc')],_0x31034c),_0x56c4f9;}[_0x1476('0x2')](_0x3a1fd9,_0x190456){if(S(_0x3a1fd9)&&S(_0x190456)){const _0x3e434c=_0x3a1fd9[_0x1476('0x7')][0x0]['data'][_0x1476('0x9')],_0x1553d9=_0x50e029(_0x4a5ffd(_0x3a1fd9[_0x1476('0xc')],_0x3e434c),_0x190456[_0x1476('0xc')]),_0x46fb8f=_0x3a1fd9[_0x1476('0x7')][0x0],_0x59d056=_0x190456[_0x1476('0x7')][0x0];return _0x1553d9&&function(_0x30b54f,_0x3c8e07){const _0x554d16=Object[_0x1476('0x13')](_0x30b54f['attributes']||{}),_0x5e481e=Object[_0x1476('0x13')](_0x3c8e07['attributes']||{});if(_0x554d16[_0x1476('0x9')]!==_0x5e481e[_0x1476('0x9')])return!0x1;return _0x554d16[_0x1476('0xf')](_0x365b35=>_0x3c8e07[_0x1476('0x8')][_0x365b35]&&_0x3c8e07[_0x1476('0x8')][_0x365b35]===_0x30b54f[_0x1476('0x8')][_0x365b35]);}(_0x46fb8f,_0x59d056);}return!0x1;}[_0x1476('0x12')](_0x12d2eb){const _0x4cdbc4={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1476('0xd')][_0x1476('0x3')]('InsertOperation')[_0x1476('0xa')](_0x4cdbc4,[_0x12d2eb]),_0x4cdbc4['buffers'][0x0];}[_0x1476('0x15')](_0x1e9e43){const _0xa6ea70=[];return this['_context']['_getCompressorByName'](_0x1476('0x1'))[_0x1476('0x0')](_0xa6ea70,_0x1e9e43),_0xa6ea70[0x0];}}function S(_0x4bef2f){return _0x1476('0x1')==_0x4bef2f[_0x1476('0xe')]&&0x1==_0x4bef2f[_0x1476('0x7')][_0x1476('0x9')]&&_0x4bef2f[_0x1476('0x7')][0x0][_0x1476('0x6')]&&!_0x4bef2f[_0x1476('0x5')]&&0x1==Array[_0x1476('0xb')](_0x4bef2f['nodes'][0x0][_0x1476('0x6')])['length'];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d61=['startsWith','_decompressSingleOperation','user:','decompress','start','compress','toNone','newRange','end','user:position:','types','name','buffers','push','MarkerOperation','shift','stickiness','__className','_context','_getCompressorByName'];(function(_0x2e2bfe,_0x3d61a9){const _0x4803a3=function(_0x58142e){while(--_0x58142e){_0x2e2bfe['push'](_0x2e2bfe['shift']());}};_0x4803a3(++_0x3d61a9);}(_0x3d61,0x126));const _0x4803=function(_0x2e2bfe,_0x3d61a9){_0x2e2bfe=_0x2e2bfe-0x0;let _0x4803a3=_0x3d61[_0x2e2bfe];return _0x4803a3;};import _0x46b17d from'./actioncompressor';import{arePositionsEqual as _0x26374c}from'../utils';import{cloneDeep as _0x4d55d5}from'lodash-es';export default class M extends _0x46b17d{[_0x4803('0xb')](_0x179cbd,_0x119a2b){if(!function(_0x35fc7a,_0x1d7000){if(!_0x35fc7a||!_0x1d7000)return!0x1;if(_0x4803('0x0')!=_0x35fc7a[_0x4803('0x3')]||_0x4803('0x0')!=_0x1d7000[_0x4803('0x3')])return!0x1;if(_0x35fc7a[_0x4803('0x11')]['startsWith']('user:')&&_0x1d7000[_0x4803('0x11')][_0x4803('0x6')](_0x4803('0x8'))&&_0x35fc7a[_0x4803('0x11')]!=_0x1d7000[_0x4803('0x11')])return!0x0;return!0x1;}(_0x119a2b[0x0],_0x119a2b[0x1]))return!0x1;const _0x1c7041=_0x119a2b[_0x4803('0x1')]();return _0x1c7041['oldRange']=null,_0x1c7041[_0x4803('0xd')]&&_0x26374c(_0x1c7041['newRange']['start'],_0x1c7041[_0x4803('0xd')]['end'])&&(_0x1c7041[_0x4803('0xd')]['end']=null),_0x119a2b[_0x4803('0x1')](),_0x179cbd[_0x4803('0x10')]['push'](this['id']),_0x179cbd[_0x4803('0x10')][_0x4803('0x13')](0x0),_0x179cbd[_0x4803('0x12')][_0x4803('0x13')](this['_compressSingleOperation'](_0x1c7041)),!0x0;}[_0x4803('0x9')](_0x154969,_0x380dda){const _0xc10b6c=this[_0x4803('0x7')](_0x380dda);_0xc10b6c[_0x4803('0xd')]&&!_0xc10b6c[_0x4803('0xd')][_0x4803('0xe')]&&(_0xc10b6c[_0x4803('0xd')][_0x4803('0xe')]=_0x4d55d5(_0xc10b6c[_0x4803('0xd')]['start']));const _0x492471=_0x4d55d5(_0xc10b6c);_0x492471[_0x4803('0xd')]&&(_0x492471[_0x4803('0xd')][_0x4803('0xa')][_0x4803('0x2')]=_0x4803('0xc'),_0x492471[_0x4803('0xd')][_0x4803('0xe')]=_0x4d55d5(_0x492471['newRange']['start'])),_0x492471[_0x4803('0x11')]=_0x4803('0xf')+_0x492471[_0x4803('0x11')]['split'](':')[0x2],_0x380dda[_0x4803('0x10')][_0x4803('0x1')](),_0x154969[_0x4803('0x13')](_0xc10b6c),_0x154969[_0x4803('0x13')](_0x492471);}['_compressSingleOperation'](_0x515040){const _0x49e1e9={'types':[],'buffers':[],'baseVersion':0x0};return this['_context'][_0x4803('0x5')](_0x4803('0x0'))[_0x4803('0xb')](_0x49e1e9,[_0x515040]),_0x49e1e9[_0x4803('0x12')][0x0];}[_0x4803('0x7')](_0x1fcbef){const _0x51441c=[];return this[_0x4803('0x4')]['_getCompressorByName'](_0x4803('0x0'))[_0x4803('0x9')](_0x51441c,_0x1fcbef),_0x51441c[0x0];}}
23
+ const _0x5558=['startsWith','split','start','types','toNone','_getCompressorByName','newRange','end','shift','_compressSingleOperation','_context','_decompressSingleOperation','__className','stickiness','push','oldRange','name','decompress','MarkerOperation','user:position:'];(function(_0x22fca7,_0x555829){const _0x132905=function(_0x45fa3f){while(--_0x45fa3f){_0x22fca7['push'](_0x22fca7['shift']());}};_0x132905(++_0x555829);}(_0x5558,0xf7));const _0x1329=function(_0x22fca7,_0x555829){_0x22fca7=_0x22fca7-0x0;let _0x132905=_0x5558[_0x22fca7];return _0x132905;};import _0x5cf978 from'./actioncompressor';import{arePositionsEqual as _0x1b1ffe}from'../utils';import{cloneDeep as _0x2c1989}from'lodash-es';export default class M extends _0x5cf978{['compress'](_0x2a8dfb,_0x349f96){if(!function(_0x53449c,_0x56fae0){if(!_0x53449c||!_0x56fae0)return!0x1;if(_0x1329('0xb')!=_0x53449c[_0x1329('0x5')]||_0x1329('0xb')!=_0x56fae0[_0x1329('0x5')])return!0x1;if(_0x53449c['name'][_0x1329('0xd')]('user:')&&_0x56fae0['name'][_0x1329('0xd')]('user:')&&_0x53449c[_0x1329('0x9')]!=_0x56fae0[_0x1329('0x9')])return!0x0;return!0x1;}(_0x349f96[0x0],_0x349f96[0x1]))return!0x1;const _0x641eba=_0x349f96[_0x1329('0x1')]();return _0x641eba[_0x1329('0x8')]=null,_0x641eba[_0x1329('0x13')]&&_0x1b1ffe(_0x641eba[_0x1329('0x13')][_0x1329('0xf')],_0x641eba[_0x1329('0x13')][_0x1329('0x0')])&&(_0x641eba[_0x1329('0x13')][_0x1329('0x0')]=null),_0x349f96['shift'](),_0x2a8dfb[_0x1329('0x10')]['push'](this['id']),_0x2a8dfb[_0x1329('0x10')][_0x1329('0x7')](0x0),_0x2a8dfb['buffers']['push'](this[_0x1329('0x2')](_0x641eba)),!0x0;}[_0x1329('0xa')](_0x58df42,_0x2190b9){const _0x40f6e9=this[_0x1329('0x4')](_0x2190b9);_0x40f6e9[_0x1329('0x13')]&&!_0x40f6e9['newRange'][_0x1329('0x0')]&&(_0x40f6e9[_0x1329('0x13')]['end']=_0x2c1989(_0x40f6e9[_0x1329('0x13')][_0x1329('0xf')]));const _0x2609d5=_0x2c1989(_0x40f6e9);_0x2609d5[_0x1329('0x13')]&&(_0x2609d5[_0x1329('0x13')][_0x1329('0xf')][_0x1329('0x6')]=_0x1329('0x11'),_0x2609d5[_0x1329('0x13')][_0x1329('0x0')]=_0x2c1989(_0x2609d5[_0x1329('0x13')][_0x1329('0xf')])),_0x2609d5[_0x1329('0x9')]=_0x1329('0xc')+_0x2609d5[_0x1329('0x9')][_0x1329('0xe')](':')[0x2],_0x2190b9['types'][_0x1329('0x1')](),_0x58df42[_0x1329('0x7')](_0x40f6e9),_0x58df42[_0x1329('0x7')](_0x2609d5);}[_0x1329('0x2')](_0x2a9fc1){const _0x80972b={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1329('0x3')][_0x1329('0x12')](_0x1329('0xb'))['compress'](_0x80972b,[_0x2a9fc1]),_0x80972b['buffers'][0x0];}['_decompressSingleOperation'](_0x2d3164){const _0x41ac75=[];return this[_0x1329('0x3')][_0x1329('0x12')](_0x1329('0xb'))[_0x1329('0xa')](_0x41ac75,_0x2d3164),_0x41ac75[0x0];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xc047=['Position','string','bool','repeated','uint32'];(function(_0x258825,_0xc04738){var _0x58bb8e=function(_0x10fe1a){while(--_0x10fe1a){_0x258825['push'](_0x258825['shift']());}};_0x58bb8e(++_0xc04738);}(_0xc047,0x101));var _0x58bb=function(_0x258825,_0xc04738){_0x258825=_0x258825-0x0;var _0x58bb8e=_0xc047[_0x258825];return _0x58bb8e;};export default{'Position':{'fields':{'root':{'type':_0x58bb('0x4'),'id':0x1},'rootMain':{'type':'bool','id':0x2},'rootGraveyard':{'type':'bool','id':0x3},'path':{'rule':_0x58bb('0x1'),'type':_0x58bb('0x2'),'id':0x4},'stickiness':{'type':_0x58bb('0x4'),'id':0x5}}},'Range':{'fields':{'start':{'type':_0x58bb('0x3'),'id':0x1},'end':{'type':_0x58bb('0x3'),'id':0x2}}},'Element':{'fields':{'name':{'type':_0x58bb('0x4'),'id':0x1},'children':{'rule':'repeated','type':'Element','id':0x2},'data':{'type':_0x58bb('0x4'),'id':0x3},'attributesBoolean':{'keyType':_0x58bb('0x4'),'type':_0x58bb('0x0'),'id':0x4},'attributesJson':{'type':_0x58bb('0x4'),'id':0x5}}}};
23
+ var _0x7a17=['repeated','Position','bool','string','uint32'];(function(_0x601432,_0x7a1784){var _0x4c6a69=function(_0xce8a07){while(--_0xce8a07){_0x601432['push'](_0x601432['shift']());}};_0x4c6a69(++_0x7a1784);}(_0x7a17,0x7d));var _0x4c6a=function(_0x601432,_0x7a1784){_0x601432=_0x601432-0x0;var _0x4c6a69=_0x7a17[_0x601432];return _0x4c6a69;};export default{'Position':{'fields':{'root':{'type':_0x4c6a('0x3'),'id':0x1},'rootMain':{'type':_0x4c6a('0x2'),'id':0x2},'rootGraveyard':{'type':_0x4c6a('0x2'),'id':0x3},'path':{'rule':'repeated','type':_0x4c6a('0x4'),'id':0x4},'stickiness':{'type':_0x4c6a('0x3'),'id':0x5}}},'Range':{'fields':{'start':{'type':_0x4c6a('0x1'),'id':0x1},'end':{'type':_0x4c6a('0x1'),'id':0x2}}},'Element':{'fields':{'name':{'type':'string','id':0x1},'children':{'rule':_0x4c6a('0x0'),'type':'Element','id':0x2},'data':{'type':_0x4c6a('0x3'),'id':0x3},'attributesBoolean':{'keyType':'string','type':_0x4c6a('0x2'),'id':0x4},'attributesJson':{'type':_0x4c6a('0x3'),'id':0x5}}}};
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d6c=['suggestion','TypingAction','__className','build','InsertOperation','_getCompressorByName','_compressorById','_protobufFactory','MarkerOperation','SplitOperation','types','compress','Element','Range','SuggestionMarkerOperation','MergeOperation','length','CommentMarkerOperation','decompress','comment','AttributeOperation','set','ForwardDeletingAction','RootAttributeOperation','NoOperation','_registerCompressor','MoveOperation','description','baseVersion','registerDescriptor','getDescriptor','UserSelectionAction','_registerActionCompressor','DeletingAction','Position','RenameOperation','_compressorByName','_registerOperationCompressor'];(function(_0x54daea,_0x4d6ca6){const _0x2a6d78=function(_0x4115c0){while(--_0x4115c0){_0x54daea['push'](_0x54daea['shift']());}};_0x2a6d78(++_0x4d6ca6);}(_0x4d6c,0x1c8));const _0x2a6d=function(_0x54daea,_0x4d6ca6){_0x54daea=_0x54daea-0x0;let _0x2a6d78=_0x4d6c[_0x54daea];return _0x2a6d78;};import{CKEditorError as _0x3820e7}from'ckeditor5/src/utils';import _0x54f702 from'./protobuffactory';import _0x1e670d from'./commondescriptions';import _0x86809c from'./operationcompressor/attributeoperationcompressor';import _0x56d2b6 from'./operationcompressor/insertoperationcompressor';import _0xe125ba from'./operationcompressor/markeroperationcompressor';import _0x2806c8 from'./operationcompressor/mergeoperationcompressor';import _0x13eb2e from'./operationcompressor/moveoperationcompressor';import _0x475f95 from'./operationcompressor/renameoperationcompressor';import _0x17ea65 from'./operationcompressor/rootattributeoperationcompressor';import _0x33dacf from'./operationcompressor/splitoperationcompressor';import _0x1dc2bc from'./operationcompressor/nooperationcompressor';import _0x1ab6bc from'./operationcompressor/annotationmarkeroperationcompressor';import _0xe48f7e from'./actioncompressor/typingactioncompressor';import _0xbc8e22 from'./actioncompressor/deletingactioncompressor';import _0x489d5d from'./actioncompressor/forwarddeletingactioncompressor';import _0x58b444 from'./actioncompressor/userselectionactioncompressor';export default class w{constructor(){this[_0x2a6d('0x6')]=new Map(),this[_0x2a6d('0x24')]=new Map(),this['_protobufFactory']=new _0x54f702(),this['_protobufFactory'][_0x2a6d('0x1d')](_0x2a6d('0x22'),_0x1e670d[_0x2a6d('0x22')]),this[_0x2a6d('0x7')][_0x2a6d('0x1d')](_0x2a6d('0xd'),_0x1e670d[_0x2a6d('0xd')]),this[_0x2a6d('0x7')][_0x2a6d('0x1d')](_0x2a6d('0xc'),_0x1e670d[_0x2a6d('0xc')]),this[_0x2a6d('0x7')]['registerDescriptor']('AttributeOperation',_0x86809c['description']),this['_protobufFactory'][_0x2a6d('0x1d')](_0x2a6d('0x4'),_0x56d2b6[_0x2a6d('0x1b')]),this[_0x2a6d('0x7')][_0x2a6d('0x1d')](_0x2a6d('0x8'),_0xe125ba[_0x2a6d('0x1b')]),this[_0x2a6d('0x7')][_0x2a6d('0x1d')](_0x2a6d('0xf'),_0x2806c8[_0x2a6d('0x1b')]),this[_0x2a6d('0x7')][_0x2a6d('0x1d')](_0x2a6d('0x1a'),_0x13eb2e['description']),this[_0x2a6d('0x7')][_0x2a6d('0x1d')](_0x2a6d('0x23'),_0x475f95[_0x2a6d('0x1b')]),this[_0x2a6d('0x7')][_0x2a6d('0x1d')]('RootAttributeOperation',_0x17ea65['description']),this[_0x2a6d('0x7')]['registerDescriptor'](_0x2a6d('0x9'),_0x33dacf[_0x2a6d('0x1b')]),this['_protobufFactory'][_0x2a6d('0x3')](),this[_0x2a6d('0x19')](0x1,_0x2a6d('0x18'),new _0x1dc2bc(0x1,_0x2a6d('0x18'))),this['_registerOperationCompressor'](0xa,_0x2a6d('0x14'),_0x86809c),this[_0x2a6d('0x25')](0xb,_0x2a6d('0x4'),_0x56d2b6),this['_registerOperationCompressor'](0xc,_0x2a6d('0x8'),_0xe125ba),this[_0x2a6d('0x25')](0xd,_0x2a6d('0xf'),_0x2806c8),this[_0x2a6d('0x25')](0xe,_0x2a6d('0x1a'),_0x13eb2e),this[_0x2a6d('0x25')](0xf,_0x2a6d('0x23'),_0x475f95),this['_registerOperationCompressor'](0x10,_0x2a6d('0x17'),_0x17ea65),this[_0x2a6d('0x25')](0x11,'SplitOperation',_0x33dacf);const _0x5f29ac=this[_0x2a6d('0x7')][_0x2a6d('0x1e')](_0x2a6d('0x8'));this[_0x2a6d('0x19')](0x12,_0x2a6d('0x11'),new _0x1ab6bc(0x12,_0x2a6d('0x8'),_0x5f29ac,_0x2a6d('0x13'))),this[_0x2a6d('0x19')](0x13,_0x2a6d('0xe'),new _0x1ab6bc(0x13,_0x2a6d('0x8'),_0x5f29ac,_0x2a6d('0x0'))),this['_registerActionCompressor'](0x64,_0x2a6d('0x1'),_0xe48f7e),this[_0x2a6d('0x20')](0x65,'DeletingAction',_0xbc8e22),this[_0x2a6d('0x20')](0x66,_0x2a6d('0x16'),_0x489d5d),this[_0x2a6d('0x20')](0x67,_0x2a6d('0x1f'),_0x58b444);}[_0x2a6d('0x25')](_0x528f60,_0x236d71,_0xbc18ad){const _0x1477ca=new _0xbc18ad(_0x528f60,_0x236d71,this['_protobufFactory'][_0x2a6d('0x1e')](_0x236d71));this[_0x2a6d('0x19')](_0x528f60,_0x236d71,_0x1477ca);}[_0x2a6d('0x20')](_0x2123b2,_0x160bfa,_0x8c2bda){const _0x4c7bd8=new _0x8c2bda(_0x2123b2,this);this[_0x2a6d('0x19')](_0x2123b2,_0x160bfa,_0x4c7bd8);}['_registerCompressor'](_0x426d10,_0x190131,_0x36f7fe){this[_0x2a6d('0x6')][_0x2a6d('0x15')](_0x426d10,_0x36f7fe),this[_0x2a6d('0x24')][_0x2a6d('0x15')](_0x190131,_0x36f7fe);}['_getCompressorByName'](_0x346aed){return this[_0x2a6d('0x24')]['get'](_0x346aed);}[_0x2a6d('0xb')](_0x3c97b2){if(!_0x3c97b2||!_0x3c97b2[0x0])throw new _0x3820e7('no-operations-provided',this);const _0x524411={'types':[],'buffers':[],'baseVersion':_0x3c97b2[0x0][_0x2a6d('0x1c')]};for(;_0x3c97b2[_0x2a6d('0x10')];)this[_0x2a6d('0x5')](_0x2a6d('0x1f'))[_0x2a6d('0xb')](_0x524411,_0x3c97b2)||this[_0x2a6d('0x5')](_0x2a6d('0x1'))[_0x2a6d('0xb')](_0x524411,_0x3c97b2)||this[_0x2a6d('0x5')](_0x2a6d('0x21'))[_0x2a6d('0xb')](_0x524411,_0x3c97b2)||this[_0x2a6d('0x5')](_0x2a6d('0x16'))[_0x2a6d('0xb')](_0x524411,_0x3c97b2)||this[_0x2a6d('0x5')](_0x2a6d('0x11'))['compress'](_0x524411,_0x3c97b2)||this[_0x2a6d('0x5')](_0x2a6d('0xe'))[_0x2a6d('0xb')](_0x524411,_0x3c97b2)||this[_0x2a6d('0x5')](_0x3c97b2[0x0][_0x2a6d('0x2')])[_0x2a6d('0xb')](_0x524411,_0x3c97b2);return _0x524411;}[_0x2a6d('0x12')](_0xb5f976){const _0x3017be=[];for(;_0xb5f976[_0x2a6d('0xa')]['length'];){this[_0x2a6d('0x6')]['get'](_0xb5f976[_0x2a6d('0xa')][0x0])['decompress'](_0x3017be,_0xb5f976);}return _0x3017be['forEach']((_0xec0e91,_0x3c8599)=>_0xec0e91['baseVersion']=_0xb5f976[_0x2a6d('0x1c')]+_0x3c8599),_0x3017be;}}
23
+ const _0x4af8=['NoOperation','baseVersion','ForwardDeletingAction','RenameOperation','Position','decompress','length','TypingAction','Range','types','get','MarkerOperation','SplitOperation','InsertOperation','SuggestionMarkerOperation','_registerOperationCompressor','_compressorById','RootAttributeOperation','MoveOperation','AttributeOperation','comment','getDescriptor','DeletingAction','suggestion','registerDescriptor','MergeOperation','_registerActionCompressor','set','description','compress','Element','CommentMarkerOperation','build','_registerCompressor','__className','_getCompressorByName','_protobufFactory','UserSelectionAction'];(function(_0x37e5b5,_0x4af8a2){const _0x2e8563=function(_0x3d2323){while(--_0x3d2323){_0x37e5b5['push'](_0x37e5b5['shift']());}};_0x2e8563(++_0x4af8a2);}(_0x4af8,0x14f));const _0x2e85=function(_0x37e5b5,_0x4af8a2){_0x37e5b5=_0x37e5b5-0x0;let _0x2e8563=_0x4af8[_0x37e5b5];return _0x2e8563;};import{CKEditorError as _0x2f0ffb}from'ckeditor5/src/utils';import _0x4d56a1 from'./protobuffactory';import _0x41d914 from'./commondescriptions';import _0x189545 from'./operationcompressor/attributeoperationcompressor';import _0xefdcbd from'./operationcompressor/insertoperationcompressor';import _0x54b951 from'./operationcompressor/markeroperationcompressor';import _0x22cc4d from'./operationcompressor/mergeoperationcompressor';import _0x1d1de7 from'./operationcompressor/moveoperationcompressor';import _0x3f147b from'./operationcompressor/renameoperationcompressor';import _0xedc141 from'./operationcompressor/rootattributeoperationcompressor';import _0x2f7ca9 from'./operationcompressor/splitoperationcompressor';import _0x5dcbac from'./operationcompressor/nooperationcompressor';import _0x48dd6a from'./operationcompressor/annotationmarkeroperationcompressor';import _0x587c61 from'./actioncompressor/typingactioncompressor';import _0xbea102 from'./actioncompressor/deletingactioncompressor';import _0x25c7c6 from'./actioncompressor/forwarddeletingactioncompressor';import _0x431180 from'./actioncompressor/userselectionactioncompressor';export default class w{constructor(){this[_0x2e85('0x17')]=new Map(),this['_compressorByName']=new Map(),this[_0x2e85('0x5')]=new _0x4d56a1(),this[_0x2e85('0x5')][_0x2e85('0x1f')](_0x2e85('0xb'),_0x41d914[_0x2e85('0xb')]),this[_0x2e85('0x5')][_0x2e85('0x1f')](_0x2e85('0xf'),_0x41d914[_0x2e85('0xf')]),this[_0x2e85('0x5')][_0x2e85('0x1f')](_0x2e85('0x25'),_0x41d914['Element']),this['_protobufFactory'][_0x2e85('0x1f')](_0x2e85('0x1a'),_0x189545[_0x2e85('0x23')]),this[_0x2e85('0x5')]['registerDescriptor'](_0x2e85('0x14'),_0xefdcbd['description']),this[_0x2e85('0x5')][_0x2e85('0x1f')](_0x2e85('0x12'),_0x54b951[_0x2e85('0x23')]),this[_0x2e85('0x5')][_0x2e85('0x1f')](_0x2e85('0x20'),_0x22cc4d[_0x2e85('0x23')]),this[_0x2e85('0x5')][_0x2e85('0x1f')](_0x2e85('0x19'),_0x1d1de7[_0x2e85('0x23')]),this[_0x2e85('0x5')][_0x2e85('0x1f')](_0x2e85('0xa'),_0x3f147b['description']),this[_0x2e85('0x5')][_0x2e85('0x1f')](_0x2e85('0x18'),_0xedc141[_0x2e85('0x23')]),this['_protobufFactory'][_0x2e85('0x1f')](_0x2e85('0x13'),_0x2f7ca9[_0x2e85('0x23')]),this[_0x2e85('0x5')][_0x2e85('0x1')](),this[_0x2e85('0x2')](0x1,_0x2e85('0x7'),new _0x5dcbac(0x1,_0x2e85('0x7'))),this[_0x2e85('0x16')](0xa,'AttributeOperation',_0x189545),this['_registerOperationCompressor'](0xb,'InsertOperation',_0xefdcbd),this[_0x2e85('0x16')](0xc,_0x2e85('0x12'),_0x54b951),this[_0x2e85('0x16')](0xd,_0x2e85('0x20'),_0x22cc4d),this[_0x2e85('0x16')](0xe,_0x2e85('0x19'),_0x1d1de7),this[_0x2e85('0x16')](0xf,_0x2e85('0xa'),_0x3f147b),this[_0x2e85('0x16')](0x10,_0x2e85('0x18'),_0xedc141),this[_0x2e85('0x16')](0x11,_0x2e85('0x13'),_0x2f7ca9);const _0x319a16=this[_0x2e85('0x5')][_0x2e85('0x1c')](_0x2e85('0x12'));this[_0x2e85('0x2')](0x12,_0x2e85('0x0'),new _0x48dd6a(0x12,'MarkerOperation',_0x319a16,_0x2e85('0x1b'))),this['_registerCompressor'](0x13,_0x2e85('0x15'),new _0x48dd6a(0x13,'MarkerOperation',_0x319a16,_0x2e85('0x1e'))),this[_0x2e85('0x21')](0x64,_0x2e85('0xe'),_0x587c61),this[_0x2e85('0x21')](0x65,_0x2e85('0x1d'),_0xbea102),this[_0x2e85('0x21')](0x66,_0x2e85('0x9'),_0x25c7c6),this['_registerActionCompressor'](0x67,_0x2e85('0x6'),_0x431180);}[_0x2e85('0x16')](_0x35e7a2,_0x5c93c8,_0x54e036){const _0x131ac8=new _0x54e036(_0x35e7a2,_0x5c93c8,this[_0x2e85('0x5')][_0x2e85('0x1c')](_0x5c93c8));this[_0x2e85('0x2')](_0x35e7a2,_0x5c93c8,_0x131ac8);}[_0x2e85('0x21')](_0x4939a2,_0x584402,_0x3b421c){const _0xc01c2e=new _0x3b421c(_0x4939a2,this);this['_registerCompressor'](_0x4939a2,_0x584402,_0xc01c2e);}[_0x2e85('0x2')](_0x518ac4,_0x1ffff8,_0x889ac9){this[_0x2e85('0x17')]['set'](_0x518ac4,_0x889ac9),this['_compressorByName'][_0x2e85('0x22')](_0x1ffff8,_0x889ac9);}[_0x2e85('0x4')](_0x188313){return this['_compressorByName'][_0x2e85('0x11')](_0x188313);}[_0x2e85('0x24')](_0x2d8128){if(!_0x2d8128||!_0x2d8128[0x0])throw new _0x2f0ffb('no-operations-provided',this);const _0x5bf074={'types':[],'buffers':[],'baseVersion':_0x2d8128[0x0][_0x2e85('0x8')]};for(;_0x2d8128[_0x2e85('0xd')];)this[_0x2e85('0x4')]('UserSelectionAction')[_0x2e85('0x24')](_0x5bf074,_0x2d8128)||this[_0x2e85('0x4')](_0x2e85('0xe'))[_0x2e85('0x24')](_0x5bf074,_0x2d8128)||this['_getCompressorByName'](_0x2e85('0x1d'))[_0x2e85('0x24')](_0x5bf074,_0x2d8128)||this[_0x2e85('0x4')](_0x2e85('0x9'))[_0x2e85('0x24')](_0x5bf074,_0x2d8128)||this[_0x2e85('0x4')](_0x2e85('0x0'))['compress'](_0x5bf074,_0x2d8128)||this[_0x2e85('0x4')](_0x2e85('0x15'))['compress'](_0x5bf074,_0x2d8128)||this[_0x2e85('0x4')](_0x2d8128[0x0][_0x2e85('0x3')])[_0x2e85('0x24')](_0x5bf074,_0x2d8128);return _0x5bf074;}[_0x2e85('0xc')](_0x12e06e){const _0x1a2d19=[];for(;_0x12e06e[_0x2e85('0x10')][_0x2e85('0xd')];){this[_0x2e85('0x17')]['get'](_0x12e06e['types'][0x0])[_0x2e85('0xc')](_0x1a2d19,_0x12e06e);}return _0x1a2d19['forEach']((_0x515f06,_0x45084c)=>_0x515f06['baseVersion']=_0x12e06e[_0x2e85('0x8')]+_0x45084c),_0x1a2d19;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28c5=['__className','decompress','compress','_omittedNamespace','name','replace','length'];(function(_0x341f99,_0x28c5b6){const _0x12a61e=function(_0x5d11fa){while(--_0x5d11fa){_0x341f99['push'](_0x341f99['shift']());}};_0x12a61e(++_0x28c5b6);}(_0x28c5,0x13f));const _0x12a6=function(_0x341f99,_0x28c5b6){_0x341f99=_0x341f99-0x0;let _0x12a61e=_0x28c5[_0x341f99];return _0x12a61e;};import _0x514f6b from'./markeroperationcompressor';export default class O extends _0x514f6b{constructor(_0x52af4b,_0x2de6df,_0x4e2ebe,_0x15966d){super(_0x52af4b,_0x2de6df,_0x4e2ebe),this[_0x12a6('0x6')]=_0x15966d+':';}[_0x12a6('0x5')](_0x27e13f,_0x18f1a4){return!('MarkerOperation'!=_0x18f1a4[0x0][_0x12a6('0x3')]||!_0x18f1a4[0x0][_0x12a6('0x0')]['startsWith'](this[_0x12a6('0x6')]))&&(_0x18f1a4[0x0][_0x12a6('0x0')]=_0x18f1a4[0x0][_0x12a6('0x0')][_0x12a6('0x1')](new RegExp('^'+this[_0x12a6('0x6')]),''),super[_0x12a6('0x5')](_0x27e13f,_0x18f1a4),!0x0);}[_0x12a6('0x4')](_0x28707c,_0x14c6de){super[_0x12a6('0x4')](_0x28707c,_0x14c6de);const _0x2303e4=_0x28707c[_0x28707c[_0x12a6('0x2')]-0x1];_0x2303e4[_0x12a6('0x0')]=this[_0x12a6('0x6')]+_0x2303e4[_0x12a6('0x0')];}}
23
+ const _0x4a92=['_omittedNamespace','MarkerOperation','decompress','length','name','replace','startsWith'];(function(_0x501492,_0x4a9288){const _0x332b3d=function(_0x479e9e){while(--_0x479e9e){_0x501492['push'](_0x501492['shift']());}};_0x332b3d(++_0x4a9288);}(_0x4a92,0x1b4));const _0x332b=function(_0x501492,_0x4a9288){_0x501492=_0x501492-0x0;let _0x332b3d=_0x4a92[_0x501492];return _0x332b3d;};import _0x4579bd from'./markeroperationcompressor';export default class O extends _0x4579bd{constructor(_0x552239,_0x41ae5e,_0x2f56fc,_0x158c7b){super(_0x552239,_0x41ae5e,_0x2f56fc),this[_0x332b('0x5')]=_0x158c7b+':';}['compress'](_0x294fe6,_0x4701a1){return!(_0x332b('0x6')!=_0x4701a1[0x0]['__className']||!_0x4701a1[0x0]['name'][_0x332b('0x4')](this[_0x332b('0x5')]))&&(_0x4701a1[0x0]['name']=_0x4701a1[0x0][_0x332b('0x2')][_0x332b('0x3')](new RegExp('^'+this[_0x332b('0x5')]),''),super['compress'](_0x294fe6,_0x4701a1),!0x0);}[_0x332b('0x0')](_0x4a4feb,_0x8fb518){super[_0x332b('0x0')](_0x4a4feb,_0x8fb518);const _0x4d375a=_0x4a4feb[_0x4a4feb[_0x332b('0x1')]-0x1];_0x4d375a[_0x332b('0x2')]=this[_0x332b('0x5')]+_0x4d375a[_0x332b('0x2')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3269=['oldValue','_protobufDescriptor','boolean','Range','description','operationName','Boolean','push','string','buffers','__className','types','newValue','decompress','parse','shift','bool','compress','Json'];(function(_0xf0330c,_0x326940){const _0x3237bb=function(_0x10f049){while(--_0x10f049){_0xf0330c['push'](_0xf0330c['shift']());}};_0x3237bb(++_0x326940);}(_0x3269,0xa3));const _0x3237=function(_0xf0330c,_0x326940){_0xf0330c=_0xf0330c-0x0;let _0x3237bb=_0x3269[_0xf0330c];return _0x3237bb;};import _0x1ddbea from'./operationcompressor';import{parsePositionBeforeCompression as _0x26b3ed,parsePositionAfterCompression as _0x1a9029}from'../utils';export default class i extends _0x1ddbea{static get[_0x3237('0xc')](){return{'fields':{'range':{'type':_0x3237('0xb'),'id':0x1},'key':{'type':'string','id':0x2},'oldValueBoolean':{'type':_0x3237('0x5'),'id':0x3},'oldValueJson':{'type':_0x3237('0x10'),'id':0x4},'newValueBoolean':{'type':_0x3237('0x5'),'id':0x5},'newValueJson':{'type':_0x3237('0x10'),'id':0x6},'wasUndone':{'type':_0x3237('0x5'),'id':0x7}}};}[_0x3237('0x6')](_0x51d1c2,_0x18ab62){const _0x210697=_0x18ab62[_0x3237('0x4')]();$('oldValue',_0x210697),$(_0x3237('0x1'),_0x210697),_0x26b3ed(_0x210697),_0x51d1c2[_0x3237('0x11')][_0x3237('0xf')](this['_protobufDescriptor'][_0x3237('0x6')](_0x210697)),_0x51d1c2[_0x3237('0x0')]['push'](this['id']);}[_0x3237('0x2')](_0x356cb5,_0x573b9f){const {types:_0xc0dbc6,buffers:_0xb7ffa}=_0x573b9f,_0x19e2b4=this[_0x3237('0x9')][_0x3237('0x2')](_0xb7ffa[_0x3237('0x4')]());_0xc0dbc6['shift'](),N(_0x3237('0x8'),_0x19e2b4),N(_0x3237('0x1'),_0x19e2b4),_0x1a9029(_0x19e2b4),_0x19e2b4[_0x3237('0x12')]=this[_0x3237('0xd')],_0x356cb5['push'](_0x19e2b4);}}function $(_0x1608a8,_0xa3eb1c){const _0x737bfa=_0xa3eb1c[_0x1608a8];_0x3237('0xa')==typeof _0x737bfa?_0xa3eb1c[_0x1608a8+_0x3237('0xe')]=_0x737bfa:_0xa3eb1c[_0x1608a8+_0x3237('0x7')]=JSON['stringify'](_0x737bfa);}function N(_0x4b8010,_0x59db6a){const _0x495db9=_0x4b8010+'Json';_0x59db6a[_0x495db9]?(_0x59db6a[_0x4b8010]=JSON[_0x3237('0x3')](_0x59db6a[_0x495db9]),delete _0x59db6a[_0x495db9]):(_0x59db6a[_0x4b8010]=_0x59db6a[_0x4b8010+_0x3237('0xe')],delete _0x59db6a[_0x4b8010+_0x3237('0xe')]);}
23
+ const _0x27d8=['boolean','types','newValue','bool','stringify','push','oldValue','decompress','Boolean','Range','compress','_protobufDescriptor','description','buffers','shift','string','Json'];(function(_0x43e6c8,_0x27d86f){const _0x536a93=function(_0x219016){while(--_0x219016){_0x43e6c8['push'](_0x43e6c8['shift']());}};_0x536a93(++_0x27d86f);}(_0x27d8,0x181));const _0x536a=function(_0x43e6c8,_0x27d86f){_0x43e6c8=_0x43e6c8-0x0;let _0x536a93=_0x27d8[_0x43e6c8];return _0x536a93;};import _0x4555ee from'./operationcompressor';import{parsePositionBeforeCompression as _0x2e06a3,parsePositionAfterCompression as _0x5ad76e}from'../utils';export default class i extends _0x4555ee{static get[_0x536a('0x1')](){return{'fields':{'range':{'type':_0x536a('0xf'),'id':0x1},'key':{'type':_0x536a('0x4'),'id':0x2},'oldValueBoolean':{'type':_0x536a('0x9'),'id':0x3},'oldValueJson':{'type':'string','id':0x4},'newValueBoolean':{'type':_0x536a('0x9'),'id':0x5},'newValueJson':{'type':_0x536a('0x4'),'id':0x6},'wasUndone':{'type':_0x536a('0x9'),'id':0x7}}};}[_0x536a('0x10')](_0x1d47f6,_0x408cf6){const _0x2545b4=_0x408cf6['shift']();$(_0x536a('0xc'),_0x2545b4),$(_0x536a('0x8'),_0x2545b4),_0x2e06a3(_0x2545b4),_0x1d47f6[_0x536a('0x2')][_0x536a('0xb')](this[_0x536a('0x0')][_0x536a('0x10')](_0x2545b4)),_0x1d47f6[_0x536a('0x7')][_0x536a('0xb')](this['id']);}[_0x536a('0xd')](_0x2b4047,_0x52075d){const {types:_0x5bd60c,buffers:_0x1762f3}=_0x52075d,_0x49ac6d=this[_0x536a('0x0')][_0x536a('0xd')](_0x1762f3['shift']());_0x5bd60c[_0x536a('0x3')](),N('oldValue',_0x49ac6d),N(_0x536a('0x8'),_0x49ac6d),_0x5ad76e(_0x49ac6d),_0x49ac6d['__className']=this['operationName'],_0x2b4047[_0x536a('0xb')](_0x49ac6d);}}function $(_0x28c987,_0x501d18){const _0x11b135=_0x501d18[_0x28c987];_0x536a('0x6')==typeof _0x11b135?_0x501d18[_0x28c987+_0x536a('0xe')]=_0x11b135:_0x501d18[_0x28c987+_0x536a('0x5')]=JSON[_0x536a('0xa')](_0x11b135);}function N(_0x1ad888,_0x2f6366){const _0x52c866=_0x1ad888+'Json';_0x2f6366[_0x52c866]?(_0x2f6366[_0x1ad888]=JSON['parse'](_0x2f6366[_0x52c866]),delete _0x2f6366[_0x52c866]):(_0x2f6366[_0x1ad888]=_0x2f6366[_0x1ad888+'Boolean'],delete _0x2f6366[_0x1ad888+_0x536a('0xe')]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d0e=['push','buffers','attributesJson','__className','keys','attributes','_protobufDescriptor','every','stringify','description','Position','parse','compress','boolean','bool','attributesBoolean','shift','nodes','children','decompress','operationName','types'];(function(_0x542da2,_0x4d0e52){const _0x7edcf0=function(_0x4fdb4e){while(--_0x4fdb4e){_0x542da2['push'](_0x542da2['shift']());}};_0x7edcf0(++_0x4d0e52);}(_0x4d0e,0x1c5));const _0x7edc=function(_0x542da2,_0x4d0e52){_0x542da2=_0x542da2-0x0;let _0x7edcf0=_0x4d0e[_0x542da2];return _0x7edcf0;};import _0x31f56d from'./operationcompressor';import{parsePositionBeforeCompression as _0x49b431,parsePositionAfterCompression as _0x1ed2fc}from'../utils';export default class s extends _0x31f56d{static get[_0x7edc('0x12')](){return{'fields':{'position':{'type':_0x7edc('0x13'),'id':0x1},'nodes':{'rule':'repeated','type':'Element','id':0x2},'shouldReceiveAttributes':{'type':_0x7edc('0x1'),'id':0x3},'wasUndone':{'type':_0x7edc('0x1'),'id':0x4}}};}[_0x7edc('0x15')](_0x47df7a,_0x11c96a){const _0x2b8be2=_0x11c96a[_0x7edc('0x3')]();A(_0x2b8be2[_0x7edc('0x4')]),_0x49b431(_0x2b8be2),_0x47df7a[_0x7edc('0xa')]['push'](this['_protobufDescriptor']['compress'](_0x2b8be2)),_0x47df7a[_0x7edc('0x8')][_0x7edc('0x9')](this['id']);}[_0x7edc('0x6')](_0x13ecb3,_0x3b5c36){const {types:_0x240ede,buffers:_0x99239d}=_0x3b5c36,_0x59cb73=this[_0x7edc('0xf')][_0x7edc('0x6')](_0x99239d[_0x7edc('0x3')]());_0x240ede[_0x7edc('0x3')](),_0x59cb73[_0x7edc('0x4')]||(_0x59cb73['nodes']=[]),E(_0x59cb73[_0x7edc('0x4')]),_0x1ed2fc(_0x59cb73),_0x59cb73[_0x7edc('0xc')]=this[_0x7edc('0x7')],_0x13ecb3[_0x7edc('0x9')](_0x59cb73);}}function A(_0x217ded){for(const _0x6fd29c of _0x217ded){if(_0x6fd29c[_0x7edc('0xe')]){const _0x12f3c4=_0x6fd29c['attributes'];R(_0x12f3c4)?_0x6fd29c['attributesBoolean']=_0x12f3c4:_0x6fd29c[_0x7edc('0xb')]=JSON[_0x7edc('0x11')](_0x12f3c4);}_0x6fd29c['children']&&A(_0x6fd29c[_0x7edc('0x5')]);}}function E(_0x25c9af){for(const _0x3fab55 of _0x25c9af)(_0x3fab55[_0x7edc('0x2')]||_0x3fab55['attributesJson'])&&(_0x3fab55['attributesBoolean']?(_0x3fab55[_0x7edc('0xe')]=_0x3fab55[_0x7edc('0x2')],delete _0x3fab55[_0x7edc('0x2')]):(_0x3fab55['attributes']=JSON[_0x7edc('0x14')](_0x3fab55[_0x7edc('0xb')]),delete _0x3fab55[_0x7edc('0xb')])),_0x3fab55[_0x7edc('0x5')]&&E(_0x3fab55[_0x7edc('0x5')]);}function R(_0x4be77b){return Object[_0x7edc('0xd')](_0x4be77b)[_0x7edc('0x10')](_0x7a0ac7=>_0x7edc('0x0')==typeof _0x4be77b[_0x7a0ac7]);}
23
+ const _0x5183=['children','bool','Element','stringify','nodes','boolean','attributesJson','attributesBoolean','every','Position','types','parse','_protobufDescriptor','__className','attributes','compress','description','shift','push','keys','buffers'];(function(_0x4f77ed,_0x5183f0){const _0x593f77=function(_0xd82e70){while(--_0xd82e70){_0x4f77ed['push'](_0x4f77ed['shift']());}};_0x593f77(++_0x5183f0);}(_0x5183,0x1b2));const _0x593f=function(_0x4f77ed,_0x5183f0){_0x4f77ed=_0x4f77ed-0x0;let _0x593f77=_0x5183[_0x4f77ed];return _0x593f77;};import _0x5cb4ee from'./operationcompressor';import{parsePositionBeforeCompression as _0x1f92cf,parsePositionAfterCompression as _0x256b59}from'../utils';export default class s extends _0x5cb4ee{static get[_0x593f('0x2')](){return{'fields':{'position':{'type':_0x593f('0x10'),'id':0x1},'nodes':{'rule':'repeated','type':_0x593f('0x9'),'id':0x2},'shouldReceiveAttributes':{'type':_0x593f('0x8'),'id':0x3},'wasUndone':{'type':_0x593f('0x8'),'id':0x4}}};}[_0x593f('0x1')](_0x35158c,_0x3993e7){const _0xb87665=_0x3993e7['shift']();A(_0xb87665[_0x593f('0xb')]),_0x1f92cf(_0xb87665),_0x35158c[_0x593f('0x6')][_0x593f('0x4')](this[_0x593f('0x13')]['compress'](_0xb87665)),_0x35158c[_0x593f('0x11')][_0x593f('0x4')](this['id']);}['decompress'](_0xa03316,_0x3bf383){const {types:_0x1bbdd8,buffers:_0x1beeac}=_0x3bf383,_0x57cc73=this['_protobufDescriptor']['decompress'](_0x1beeac[_0x593f('0x3')]());_0x1bbdd8['shift'](),_0x57cc73[_0x593f('0xb')]||(_0x57cc73[_0x593f('0xb')]=[]),E(_0x57cc73[_0x593f('0xb')]),_0x256b59(_0x57cc73),_0x57cc73[_0x593f('0x14')]=this['operationName'],_0xa03316['push'](_0x57cc73);}}function A(_0x3a7a72){for(const _0x4e64e7 of _0x3a7a72){if(_0x4e64e7[_0x593f('0x0')]){const _0x4bb20d=_0x4e64e7[_0x593f('0x0')];R(_0x4bb20d)?_0x4e64e7['attributesBoolean']=_0x4bb20d:_0x4e64e7[_0x593f('0xd')]=JSON[_0x593f('0xa')](_0x4bb20d);}_0x4e64e7[_0x593f('0x7')]&&A(_0x4e64e7[_0x593f('0x7')]);}}function E(_0x4adf98){for(const _0x1aadc6 of _0x4adf98)(_0x1aadc6[_0x593f('0xe')]||_0x1aadc6[_0x593f('0xd')])&&(_0x1aadc6[_0x593f('0xe')]?(_0x1aadc6[_0x593f('0x0')]=_0x1aadc6['attributesBoolean'],delete _0x1aadc6[_0x593f('0xe')]):(_0x1aadc6['attributes']=JSON[_0x593f('0x12')](_0x1aadc6[_0x593f('0xd')]),delete _0x1aadc6[_0x593f('0xd')])),_0x1aadc6[_0x593f('0x7')]&&E(_0x1aadc6[_0x593f('0x7')]);}function R(_0x3795ce){return Object[_0x593f('0x5')](_0x3795ce)[_0x593f('0xf')](_0x34140e=>_0x593f('0xc')==typeof _0x3795ce[_0x34140e]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22b4=['bool','oldRange','string','newRange','length','description','decompress'];(function(_0xb5628f,_0x22b417){const _0x3ffbcc=function(_0xebcaf5){while(--_0xebcaf5){_0xb5628f['push'](_0xb5628f['shift']());}};_0x3ffbcc(++_0x22b417);}(_0x22b4,0x93));const _0x3ffb=function(_0xb5628f,_0x22b417){_0xb5628f=_0xb5628f-0x0;let _0x3ffbcc=_0x22b4[_0xb5628f];return _0x3ffbcc;};import _0x5c9aca from'./operationcompressor';export default class n extends _0x5c9aca{static get[_0x3ffb('0x5')](){return{'fields':{'name':{'type':_0x3ffb('0x2'),'id':0x1},'oldRange':{'type':'Range','id':0x2},'newRange':{'type':'Range','id':0x3},'affectsData':{'type':_0x3ffb('0x0'),'id':0x4},'wasUndone':{'type':'bool','id':0x5}}};}[_0x3ffb('0x6')](_0x589eae,_0x110b35){super[_0x3ffb('0x6')](_0x589eae,_0x110b35);const _0x169dbb=_0x589eae[_0x589eae[_0x3ffb('0x4')]-0x1];_0x169dbb['oldRange']||(_0x169dbb[_0x3ffb('0x1')]=null),_0x169dbb[_0x3ffb('0x3')]||(_0x169dbb[_0x3ffb('0x3')]=null);}}
23
+ const _0x209c=['newRange','Range','decompress','oldRange','length','bool'];(function(_0x3986f4,_0x209c93){const _0x994cb9=function(_0x3e2a6b){while(--_0x3e2a6b){_0x3986f4['push'](_0x3986f4['shift']());}};_0x994cb9(++_0x209c93);}(_0x209c,0x155));const _0x994c=function(_0x3986f4,_0x209c93){_0x3986f4=_0x3986f4-0x0;let _0x994cb9=_0x209c[_0x3986f4];return _0x994cb9;};import _0x13a16a from'./operationcompressor';export default class n extends _0x13a16a{static get['description'](){return{'fields':{'name':{'type':'string','id':0x1},'oldRange':{'type':_0x994c('0x2'),'id':0x2},'newRange':{'type':'Range','id':0x3},'affectsData':{'type':_0x994c('0x0'),'id':0x4},'wasUndone':{'type':_0x994c('0x0'),'id':0x5}}};}[_0x994c('0x3')](_0x43f160,_0x1c8104){super[_0x994c('0x3')](_0x43f160,_0x1c8104);const _0x179079=_0x43f160[_0x43f160[_0x994c('0x5')]-0x1];_0x179079[_0x994c('0x4')]||(_0x179079[_0x994c('0x4')]=null),_0x179079[_0x994c('0x1')]||(_0x179079[_0x994c('0x1')]=null);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2f77=['uint32','Position','bool','description'];(function(_0x320e04,_0x2f7739){var _0x3173ac=function(_0x573bae){while(--_0x573bae){_0x320e04['push'](_0x320e04['shift']());}};_0x3173ac(++_0x2f7739);}(_0x2f77,0x136));var _0x3173=function(_0x320e04,_0x2f7739){_0x320e04=_0x320e04-0x0;var _0x3173ac=_0x2f77[_0x320e04];return _0x3173ac;};import _0x88f34f from'./operationcompressor';export default class p extends _0x88f34f{static get[_0x3173('0x1')](){return{'fields':{'sourcePosition':{'type':'Position','id':0x1},'targetPosition':{'type':_0x3173('0x3'),'id':0x2},'graveyardPosition':{'type':_0x3173('0x3'),'id':0x3},'howMany':{'type':_0x3173('0x2'),'id':0x4},'wasUndone':{'type':_0x3173('0x0'),'id':0x5}}};}}
23
+ var _0x24fe=['uint32','Position','description'];(function(_0x2e1494,_0x24fef8){var _0x151ea8=function(_0x37fdd5){while(--_0x37fdd5){_0x2e1494['push'](_0x2e1494['shift']());}};_0x151ea8(++_0x24fef8);}(_0x24fe,0x125));var _0x151e=function(_0x2e1494,_0x24fef8){_0x2e1494=_0x2e1494-0x0;var _0x151ea8=_0x24fe[_0x2e1494];return _0x151ea8;};import _0x3cb7a8 from'./operationcompressor';export default class p extends _0x3cb7a8{static get[_0x151e('0x0')](){return{'fields':{'sourcePosition':{'type':_0x151e('0x2'),'id':0x1},'targetPosition':{'type':_0x151e('0x2'),'id':0x2},'graveyardPosition':{'type':'Position','id':0x3},'howMany':{'type':_0x151e('0x1'),'id':0x4},'wasUndone':{'type':'bool','id':0x5}}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x40ca=['uint32','bool','Position'];(function(_0x4227c5,_0x40ca06){var _0x273dd2=function(_0x11ec6e){while(--_0x11ec6e){_0x4227c5['push'](_0x4227c5['shift']());}};_0x273dd2(++_0x40ca06);}(_0x40ca,0x17a));var _0x273d=function(_0x4227c5,_0x40ca06){_0x4227c5=_0x4227c5-0x0;var _0x273dd2=_0x40ca[_0x4227c5];return _0x273dd2;};import _0x1bdf1d from'./operationcompressor';export default class m extends _0x1bdf1d{static get['description'](){return{'fields':{'sourcePosition':{'type':_0x273d('0x2'),'id':0x1},'howMany':{'type':_0x273d('0x0'),'id':0x2},'targetPosition':{'type':_0x273d('0x2'),'id':0x3},'wasUndone':{'type':_0x273d('0x1'),'id':0x4}}};}}
23
+ var _0x5643=['bool','description'];(function(_0x356b63,_0x564336){var _0x119795=function(_0x483d36){while(--_0x483d36){_0x356b63['push'](_0x356b63['shift']());}};_0x119795(++_0x564336);}(_0x5643,0x144));var _0x1197=function(_0x356b63,_0x564336){_0x356b63=_0x356b63-0x0;var _0x119795=_0x5643[_0x356b63];return _0x119795;};import _0x3829db from'./operationcompressor';export default class m extends _0x3829db{static get[_0x1197('0x1')](){return{'fields':{'sourcePosition':{'type':'Position','id':0x1},'howMany':{'type':'uint32','id':0x2},'targetPosition':{'type':'Position','id':0x3},'wasUndone':{'type':_0x1197('0x0'),'id':0x4}}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3d6e=['push','decompress','shift','operationName','types'];(function(_0x5bbb2d,_0x3d6ed2){var _0x103988=function(_0x1b6429){while(--_0x1b6429){_0x5bbb2d['push'](_0x5bbb2d['shift']());}};_0x103988(++_0x3d6ed2);}(_0x3d6e,0x1e5));var _0x1039=function(_0x5bbb2d,_0x3d6ed2){_0x5bbb2d=_0x5bbb2d-0x0;var _0x103988=_0x3d6e[_0x5bbb2d];return _0x103988;};import _0x5c7d57 from'./operationcompressor';export default class f extends _0x5c7d57{['compress'](_0xf0d5ac,_0x272862){_0x272862[_0x1039('0x2')](),_0xf0d5ac['types'][_0x1039('0x0')](this['id']);}[_0x1039('0x1')](_0x47c374,_0x24f6c9){_0x24f6c9[_0x1039('0x4')][_0x1039('0x2')](),_0x47c374[_0x1039('0x0')]({'__className':this[_0x1039('0x3')]});}}
23
+ var _0x3e10=['shift','operationName','decompress','push'];(function(_0x388417,_0x3e10cd){var _0x188aa3=function(_0x39dc99){while(--_0x39dc99){_0x388417['push'](_0x388417['shift']());}};_0x188aa3(++_0x3e10cd);}(_0x3e10,0x151));var _0x188a=function(_0x388417,_0x3e10cd){_0x388417=_0x388417-0x0;var _0x188aa3=_0x3e10[_0x388417];return _0x188aa3;};import _0x2ff65d from'./operationcompressor';export default class f extends _0x2ff65d{['compress'](_0x150232,_0x121c9c){_0x121c9c[_0x188a('0x3')](),_0x150232['types'][_0x188a('0x2')](this['id']);}[_0x188a('0x1')](_0x84d8a1,_0x2f17bc){_0x2f17bc['types']['shift'](),_0x84d8a1[_0x188a('0x2')]({'__className':this[_0x188a('0x0')]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14eb=['types','_protobufDescriptor','push','decompress','buffers','shift','compress','operationName'];(function(_0x300b31,_0x14eb74){const _0xa22acf=function(_0x548562){while(--_0x548562){_0x300b31['push'](_0x300b31['shift']());}};_0xa22acf(++_0x14eb74);}(_0x14eb,0x12d));const _0xa22a=function(_0x300b31,_0x14eb74){_0x300b31=_0x300b31-0x0;let _0xa22acf=_0x14eb[_0x300b31];return _0xa22acf;};import{parsePositionBeforeCompression as _0x16faf3,parsePositionAfterCompression as _0x4a7113}from'../utils';export default class V{constructor(_0x87fd6c,_0x29c30c,_0x5854ab){this['id']=_0x87fd6c,this[_0xa22a('0x2')]=_0x29c30c,this['_protobufDescriptor']=_0x5854ab;}[_0xa22a('0x1')](_0x38a1c6,_0x6efa5f){const _0x416501=_0x6efa5f[_0xa22a('0x0')]();_0x16faf3(_0x416501),_0x38a1c6[_0xa22a('0x7')][_0xa22a('0x5')](this[_0xa22a('0x4')][_0xa22a('0x1')](_0x416501)),_0x38a1c6[_0xa22a('0x3')]['push'](this['id']);}[_0xa22a('0x6')](_0x2fa2a7,_0x2abb93){_0x2abb93[_0xa22a('0x3')][_0xa22a('0x0')]();const _0x79e02f=this[_0xa22a('0x4')][_0xa22a('0x6')](_0x2abb93[_0xa22a('0x7')][_0xa22a('0x0')]());_0x4a7113(_0x79e02f),_0x79e02f['__className']=this[_0xa22a('0x2')],_0x2fa2a7[_0xa22a('0x5')](_0x79e02f);}}
23
+ const _0x4fd1=['compress','shift','push','types','_protobufDescriptor','operationName','__className','decompress','buffers'];(function(_0x46e48e,_0x4fd150){const _0x3d9fcb=function(_0x5c8217){while(--_0x5c8217){_0x46e48e['push'](_0x46e48e['shift']());}};_0x3d9fcb(++_0x4fd150);}(_0x4fd1,0x18e));const _0x3d9f=function(_0x46e48e,_0x4fd150){_0x46e48e=_0x46e48e-0x0;let _0x3d9fcb=_0x4fd1[_0x46e48e];return _0x3d9fcb;};import{parsePositionBeforeCompression as _0x191c30,parsePositionAfterCompression as _0x16c75f}from'../utils';export default class V{constructor(_0x507f60,_0x1b67af,_0x2f17d3){this['id']=_0x507f60,this[_0x3d9f('0x3')]=_0x1b67af,this['_protobufDescriptor']=_0x2f17d3;}[_0x3d9f('0x7')](_0x2e6d47,_0x178a4c){const _0x280bb4=_0x178a4c[_0x3d9f('0x8')]();_0x191c30(_0x280bb4),_0x2e6d47[_0x3d9f('0x6')][_0x3d9f('0x0')](this[_0x3d9f('0x2')][_0x3d9f('0x7')](_0x280bb4)),_0x2e6d47[_0x3d9f('0x1')][_0x3d9f('0x0')](this['id']);}[_0x3d9f('0x5')](_0x5594c7,_0xf4fe3c){_0xf4fe3c[_0x3d9f('0x1')][_0x3d9f('0x8')]();const _0x1a8a9b=this['_protobufDescriptor']['decompress'](_0xf4fe3c[_0x3d9f('0x6')][_0x3d9f('0x8')]());_0x16c75f(_0x1a8a9b),_0x1a8a9b[_0x3d9f('0x4')]=this['operationName'],_0x5594c7[_0x3d9f('0x0')](_0x1a8a9b);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x6356=['bool','description','string'];(function(_0x1e6d44,_0x635661){var _0x560f39=function(_0x44aa5a){while(--_0x44aa5a){_0x1e6d44['push'](_0x1e6d44['shift']());}};_0x560f39(++_0x635661);}(_0x6356,0xe3));var _0x560f=function(_0x1e6d44,_0x635661){_0x1e6d44=_0x1e6d44-0x0;var _0x560f39=_0x6356[_0x1e6d44];return _0x560f39;};import _0x57f5bc from'./operationcompressor';export default class a extends _0x57f5bc{static get[_0x560f('0x2')](){return{'fields':{'position':{'type':'Position','id':0x1},'oldName':{'type':_0x560f('0x0'),'id':0x2},'newName':{'type':_0x560f('0x0'),'id':0x3},'wasUndone':{'type':_0x560f('0x1'),'id':0x4}}};}}
23
+ var _0x3354=['string','Position','description','bool'];(function(_0x37f687,_0x3354ad){var _0x21575d=function(_0x59f832){while(--_0x59f832){_0x37f687['push'](_0x37f687['shift']());}};_0x21575d(++_0x3354ad);}(_0x3354,0x14f));var _0x2157=function(_0x37f687,_0x3354ad){_0x37f687=_0x37f687-0x0;var _0x21575d=_0x3354[_0x37f687];return _0x21575d;};import _0x2cf6db from'./operationcompressor';export default class a extends _0x2cf6db{static get[_0x2157('0x3')](){return{'fields':{'position':{'type':_0x2157('0x2'),'id':0x1},'oldName':{'type':_0x2157('0x1'),'id':0x2},'newName':{'type':'string','id':0x3},'wasUndone':{'type':_0x2157('0x0'),'id':0x4}}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e3c=['fields','description','root','string'];(function(_0x3091be,_0x3e3c9b){const _0xd0ea2=function(_0x15a442){while(--_0x15a442){_0x3091be['push'](_0x3091be['shift']());}};_0xd0ea2(++_0x3e3c9b);}(_0x3e3c,0x130));const _0xd0ea=function(_0x3091be,_0x3e3c9b){_0x3091be=_0x3091be-0x0;let _0xd0ea2=_0x3e3c[_0x3091be];return _0xd0ea2;};import _0x100448 from'./attributeoperationcompressor';export default class c extends _0x100448{static get[_0xd0ea('0x1')](){const _0x369e44=_0x100448[_0xd0ea('0x1')];return delete _0x369e44[_0xd0ea('0x0')]['range'],_0x369e44['fields'][_0xd0ea('0x2')]={'type':_0xd0ea('0x3'),'id':0x1},_0x369e44;}}
23
+ const _0x4006=['string','description','fields','root'];(function(_0x24685c,_0x400697){const _0x2cbfb7=function(_0x331036){while(--_0x331036){_0x24685c['push'](_0x24685c['shift']());}};_0x2cbfb7(++_0x400697);}(_0x4006,0xfd));const _0x2cbf=function(_0x24685c,_0x400697){_0x24685c=_0x24685c-0x0;let _0x2cbfb7=_0x4006[_0x24685c];return _0x2cbfb7;};import _0x1c7364 from'./attributeoperationcompressor';export default class c extends _0x1c7364{static get[_0x2cbf('0x0')](){const _0x564622=_0x1c7364['description'];return delete _0x564622['fields']['range'],_0x564622[_0x2cbf('0x1')][_0x2cbf('0x2')]={'type':_0x2cbf('0x3'),'id':0x1},_0x564622;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3cb9=['Position','description','bool','uint32'];(function(_0x4b483e,_0x3cb9fb){var _0x10e4d3=function(_0x3acad9){while(--_0x3acad9){_0x4b483e['push'](_0x4b483e['shift']());}};_0x10e4d3(++_0x3cb9fb);}(_0x3cb9,0x1a0));var _0x10e4=function(_0x4b483e,_0x3cb9fb){_0x4b483e=_0x4b483e-0x0;var _0x10e4d3=_0x3cb9[_0x4b483e];return _0x10e4d3;};import _0x56ed77 from'./operationcompressor';export default class h extends _0x56ed77{static get[_0x10e4('0x1')](){return{'fields':{'splitPosition':{'type':'Position','id':0x1},'graveyardPosition':{'type':_0x10e4('0x0'),'id':0x2},'howMany':{'type':_0x10e4('0x3'),'id':0x3},'insertionPosition':{'type':_0x10e4('0x0'),'id':0x4},'wasUndone':{'type':_0x10e4('0x2'),'id':0x5}}};}}
23
+ var _0x344e=['description','bool','Position'];(function(_0x18b7e3,_0x344e6){var _0x485733=function(_0x575f13){while(--_0x575f13){_0x18b7e3['push'](_0x18b7e3['shift']());}};_0x485733(++_0x344e6);}(_0x344e,0xcb));var _0x4857=function(_0x18b7e3,_0x344e6){_0x18b7e3=_0x18b7e3-0x0;var _0x485733=_0x344e[_0x18b7e3];return _0x485733;};import _0x764cab from'./operationcompressor';export default class h extends _0x764cab{static get[_0x4857('0x1')](){return{'fields':{'splitPosition':{'type':_0x4857('0x0'),'id':0x1},'graveyardPosition':{'type':'Position','id':0x2},'howMany':{'type':'uint32','id':0x3},'insertionPosition':{'type':_0x4857('0x0'),'id':0x4},'wasUndone':{'type':_0x4857('0x2'),'id':0x5}}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e59=['create','_protobufRoot','finish','compress','decompress','build','lookupType','encode','_description','getDescriptor','nested','fromJSON','_protobuf','decode'];(function(_0x3566e3,_0x2e591c){const _0x5445a0=function(_0x87fa73){while(--_0x87fa73){_0x3566e3['push'](_0x3566e3['shift']());}};_0x5445a0(++_0x2e591c);}(_0x2e59,0x144));const _0x5445=function(_0x3566e3,_0x2e591c){_0x3566e3=_0x3566e3-0x0;let _0x5445a0=_0x2e59[_0x3566e3];return _0x5445a0;};import _0x23f798 from'protobufjs/light';import{CKEditorError as _0x4940ea}from'ckeditor5/src/utils';import{cloneDeep as _0x3744c7}from'lodash-es';export default class r{constructor(){this[_0x5445('0x6')]={'nested':{}};}['registerDescriptor'](_0x2d12c9,_0x182b11){this[_0x5445('0x6')][_0x5445('0x8')][_0x2d12c9]=_0x3744c7(_0x182b11);}[_0x5445('0x3')](){this[_0x5445('0xd')]=_0x23f798['Root'][_0x5445('0x9')](this['_description']);}[_0x5445('0x7')](_0x3d9866){if(!this['_protobufRoot'])throw new _0x4940ea('protobuffactory-cannot-get-descriptor-before-build',this);return new D(this[_0x5445('0xd')][_0x5445('0x4')](_0x3d9866));}}class D{constructor(_0x3cfc1d){this[_0x5445('0xa')]=_0x3cfc1d;}[_0x5445('0x1')](_0x5af254){const _0x31bc60=this['_protobuf']['verify'](_0x5af254);if(_0x31bc60)throw Error(_0x31bc60);return this[_0x5445('0xa')][_0x5445('0x5')](this[_0x5445('0xa')][_0x5445('0xc')](_0x5af254))[_0x5445('0x0')]();}[_0x5445('0x2')](_0x5c952c){return this[_0x5445('0xa')]['toObject'](this[_0x5445('0xa')][_0x5445('0xb')](_0x5c952c),{'oneofs':!0x0});}}
23
+ const _0x5a4a=['fromJSON','decompress','create','finish','Root','decode','build','verify','_description','lookupType','_protobuf','toObject','protobuffactory-cannot-get-descriptor-before-build','encode','_protobufRoot'];(function(_0x29a63e,_0x5a4afa){const _0x4f0502=function(_0x48fab8){while(--_0x48fab8){_0x29a63e['push'](_0x29a63e['shift']());}};_0x4f0502(++_0x5a4afa);}(_0x5a4a,0x113));const _0x4f05=function(_0x29a63e,_0x5a4afa){_0x29a63e=_0x29a63e-0x0;let _0x4f0502=_0x5a4a[_0x29a63e];return _0x4f0502;};import _0x159ab7 from'protobufjs/light';import{CKEditorError as _0x241317}from'ckeditor5/src/utils';import{cloneDeep as _0x16e71b}from'lodash-es';export default class r{constructor(){this[_0x4f05('0x3')]={'nested':{}};}['registerDescriptor'](_0x319b49,_0x1baf00){this['_description']['nested'][_0x319b49]=_0x16e71b(_0x1baf00);}[_0x4f05('0x1')](){this[_0x4f05('0x9')]=_0x159ab7[_0x4f05('0xe')][_0x4f05('0xa')](this['_description']);}['getDescriptor'](_0x365808){if(!this[_0x4f05('0x9')])throw new _0x241317(_0x4f05('0x7'),this);return new D(this[_0x4f05('0x9')][_0x4f05('0x4')](_0x365808));}}class D{constructor(_0x4a3a1a){this[_0x4f05('0x5')]=_0x4a3a1a;}['compress'](_0x1883ac){const _0x23a630=this['_protobuf'][_0x4f05('0x2')](_0x1883ac);if(_0x23a630)throw Error(_0x23a630);return this[_0x4f05('0x5')][_0x4f05('0x8')](this[_0x4f05('0x5')][_0x4f05('0xc')](_0x1883ac))[_0x4f05('0xd')]();}[_0x4f05('0xb')](_0x35ddb6){return this[_0x4f05('0x5')][_0x4f05('0x6')](this[_0x4f05('0x5')][_0x4f05('0x0')](_0x35ddb6),{'oneofs':!0x0});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d93=['path','$graveyard','rootGraveyard','main','rootMain','root','nodes'];(function(_0x42a24b,_0x2d9346){const _0x3f0b4e=function(_0x2ebcb8){while(--_0x2ebcb8){_0x42a24b['push'](_0x42a24b['shift']());}};_0x3f0b4e(++_0x2d9346);}(_0x2d93,0x17c));const _0x3f0b=function(_0x42a24b,_0x2d9346){_0x42a24b=_0x42a24b-0x0;let _0x3f0b4e=_0x2d93[_0x42a24b];return _0x3f0b4e;};import{cloneDeep as _0x1476ee,isEqual as _0x51fe0e,isObject as _0x30d8ae}from'lodash-es';export function getPositionShiftedBy(_0x1d1925,_0x345cbc){const _0xfc3e0e=_0x1476ee(_0x1d1925);return _0xfc3e0e['path'][_0xfc3e0e['path']['length']-0x1]+=_0x345cbc,_0xfc3e0e;}export function arePositionsEqual(_0x3885d0,_0x565f2f){return _0x3885d0[_0x3f0b('0x3')]===_0x565f2f[_0x3f0b('0x3')]&&_0x51fe0e(_0x3885d0[_0x3f0b('0x5')],_0x565f2f[_0x3f0b('0x5')]);}export function parsePositionBeforeCompression(_0xebdca2){y(_0xebdca2,_0x2723dc=>('main'==_0x2723dc['root']?(_0x2723dc[_0x3f0b('0x2')]=!0x0,delete _0x2723dc['root']):_0x3f0b('0x6')==_0x2723dc[_0x3f0b('0x3')]&&(_0x2723dc['rootGraveyard']=!0x0,delete _0x2723dc[_0x3f0b('0x3')]),_0x2723dc));}export function parsePositionAfterCompression(_0x5a8dac){y(_0x5a8dac,_0x3210dd=>(_0x3210dd[_0x3f0b('0x2')]?(_0x3210dd[_0x3f0b('0x3')]=_0x3f0b('0x1'),delete _0x3210dd[_0x3f0b('0x2')]):_0x3210dd[_0x3f0b('0x0')]&&(_0x3210dd[_0x3f0b('0x3')]=_0x3f0b('0x6'),delete _0x3210dd[_0x3f0b('0x0')]),_0x3210dd));}function y(_0xa47d14,_0x50814e){for(const _0x546bdf in _0xa47d14){const _0x9137b1=_0xa47d14[_0x546bdf];_0x3f0b('0x4')!==_0x546bdf&&_0x30d8ae(_0x9137b1)&&(_0x9137b1['path']&&(_0x9137b1['root']||_0x9137b1[_0x3f0b('0x2')]||_0x9137b1[_0x3f0b('0x0')])?_0xa47d14[_0x546bdf]=_0x50814e(_0x9137b1):y(_0x9137b1,_0x50814e));}return _0xa47d14;}
23
+ const _0x4a5f=['rootGraveyard','rootMain','$graveyard','root','nodes','path','length'];(function(_0x5413fb,_0x4a5fdd){const _0x278004=function(_0x3904e1){while(--_0x3904e1){_0x5413fb['push'](_0x5413fb['shift']());}};_0x278004(++_0x4a5fdd);}(_0x4a5f,0x1c5));const _0x2780=function(_0x5413fb,_0x4a5fdd){_0x5413fb=_0x5413fb-0x0;let _0x278004=_0x4a5f[_0x5413fb];return _0x278004;};import{cloneDeep as _0x23e901,isEqual as _0x39d9d5,isObject as _0x126b75}from'lodash-es';export function getPositionShiftedBy(_0x3695ad,_0x2a63fd){const _0x69bf65=_0x23e901(_0x3695ad);return _0x69bf65[_0x2780('0x0')][_0x69bf65['path'][_0x2780('0x1')]-0x1]+=_0x2a63fd,_0x69bf65;}export function arePositionsEqual(_0x160774,_0x580d08){return _0x160774[_0x2780('0x5')]===_0x580d08[_0x2780('0x5')]&&_0x39d9d5(_0x160774[_0x2780('0x0')],_0x580d08['path']);}export function parsePositionBeforeCompression(_0x24a84d){y(_0x24a84d,_0x5cd153=>('main'==_0x5cd153['root']?(_0x5cd153[_0x2780('0x3')]=!0x0,delete _0x5cd153['root']):'$graveyard'==_0x5cd153['root']&&(_0x5cd153['rootGraveyard']=!0x0,delete _0x5cd153[_0x2780('0x5')]),_0x5cd153));}export function parsePositionAfterCompression(_0xf5ff9d){y(_0xf5ff9d,_0x453b8e=>(_0x453b8e['rootMain']?(_0x453b8e[_0x2780('0x5')]='main',delete _0x453b8e[_0x2780('0x3')]):_0x453b8e['rootGraveyard']&&(_0x453b8e['root']=_0x2780('0x4'),delete _0x453b8e[_0x2780('0x2')]),_0x453b8e));}function y(_0xe6dbeb,_0x348620){for(const _0xcc4d3e in _0xe6dbeb){const _0x415d1e=_0xe6dbeb[_0xcc4d3e];_0x2780('0x6')!==_0xcc4d3e&&_0x126b75(_0x415d1e)&&(_0x415d1e['path']&&(_0x415d1e['root']||_0x415d1e[_0x2780('0x3')]||_0x415d1e[_0x2780('0x2')])?_0xe6dbeb[_0xcc4d3e]=_0x348620(_0x415d1e):y(_0x415d1e,_0x348620));}return _0xe6dbeb;}