@ckeditor/ckeditor5-operations-compressor 38.2.0-alpha.1 → 39.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/package.json +4 -4
- package/src/actioncompressor/actioncompressor.d.ts +5 -1
- package/src/actioncompressor/actioncompressor.js +2 -2
- package/src/actioncompressor/deletingactioncompressor.d.ts +6 -2
- package/src/actioncompressor/deletingactioncompressor.js +2 -2
- package/src/actioncompressor/forwarddeletingactioncompressor.d.ts +6 -2
- package/src/actioncompressor/forwarddeletingactioncompressor.js +2 -2
- package/src/actioncompressor/typingactioncompressor.d.ts +6 -2
- package/src/actioncompressor/typingactioncompressor.js +2 -2
- package/src/actioncompressor/userselectionactioncompressor.d.ts +6 -2
- package/src/actioncompressor/userselectionactioncompressor.js +2 -2
- package/src/compressor.d.ts +4 -0
- package/src/compressor.js +2 -2
- package/src/lib/compiledmessages.js +2 -2
- package/src/operationcompressor/annotationmarkeroperationcompressor.d.ts +8 -4
- package/src/operationcompressor/annotationmarkeroperationcompressor.js +2 -2
- package/src/operationcompressor/attributeoperationcompressor.d.ts +7 -3
- package/src/operationcompressor/attributeoperationcompressor.js +2 -2
- package/src/operationcompressor/insertoperationcompressor.d.ts +7 -3
- package/src/operationcompressor/insertoperationcompressor.js +2 -2
- package/src/operationcompressor/markeroperationcompressor.d.ts +7 -3
- package/src/operationcompressor/markeroperationcompressor.js +2 -2
- package/src/operationcompressor/nooperationcompressor.d.ts +7 -3
- package/src/operationcompressor/nooperationcompressor.js +2 -2
- package/src/operationcompressor/operationcompressor.d.ts +7 -3
- package/src/operationcompressor/operationcompressor.js +2 -2
- package/src/protobufdescriptions.d.ts +2 -10
- package/src/protobufdescriptions.js +2 -2
- package/src/protobuffactory.d.ts +4 -0
- package/src/protobuffactory.js +2 -2
- package/src/utils.d.ts +4 -0
- package/src/utils.js +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x203a=['_id','_operationName','_serializeNodesAttributes','buffers','decompress','__className','compress','push','shift','stringify','every','_protobufDescriptor','children','nodes','types','attributes','_areValuesBoolean','keys','attributesJson','attributesBoolean','_deserializeNodesAttributes','boolean'];(function(_0x51c695,_0x203a4b){const _0x354830=function(_0xe6611e){while(--_0xe6611e){_0x51c695['push'](_0x51c695['shift']());}};_0x354830(++_0x203a4b);}(_0x203a,0x1bb));const _0x3548=function(_0x51c695,_0x203a4b){_0x51c695=_0x51c695-0x0;let _0x354830=_0x203a[_0x51c695];return _0x354830;};import _0x316593 from'./operationcompressor';import{parsePositionBeforeCompression as _0x2e95d6,parsePositionAfterCompression as _0x52843f}from'../utils';export default class s extends _0x316593{[_0x3548('0x3')](_0x4a7a2a,_0x2e6ed0){const _0x3422e8=_0x2e6ed0[_0x3548('0x5')]();return this[_0x3548('0x15')](_0x3422e8[_0x3548('0xa')]),_0x2e95d6(_0x3422e8),_0x4a7a2a[_0x3548('0x0')]['push'](this['_protobufDescriptor'][_0x3548('0x3')](_0x3422e8)),_0x4a7a2a[_0x3548('0xb')][_0x3548('0x4')](this[_0x3548('0x13')]),!0x0;}[_0x3548('0x1')](_0x515a7a,_0x1375c3){const {types:_0x224ddf,buffers:_0x529161}=_0x1375c3,_0x13fea6=this[_0x3548('0x8')]['decompress'](_0x529161['shift']());_0x224ddf['shift'](),_0x13fea6['nodes']||(_0x13fea6[_0x3548('0xa')]=[]),this[_0x3548('0x11')](_0x13fea6[_0x3548('0xa')]),_0x52843f(_0x13fea6),_0x13fea6[_0x3548('0x2')]=this[_0x3548('0x14')],_0x515a7a[_0x3548('0x4')](_0x13fea6);}[_0x3548('0x15')](_0x5d4f23){for(const _0xa522f1 of _0x5d4f23){if(_0xa522f1[_0x3548('0xc')]){const _0x470df5=_0xa522f1['attributes'];this[_0x3548('0xd')](_0x470df5)?_0xa522f1[_0x3548('0x10')]=_0x470df5:_0xa522f1[_0x3548('0xf')]=JSON[_0x3548('0x6')](_0x470df5);}_0xa522f1[_0x3548('0x9')]&&this[_0x3548('0x15')](_0xa522f1[_0x3548('0x9')]);}}['_deserializeNodesAttributes'](_0x1a4633){for(const _0xec175d of _0x1a4633)(_0xec175d[_0x3548('0x10')]||_0xec175d[_0x3548('0xf')])&&(_0xec175d[_0x3548('0x10')]?(_0xec175d[_0x3548('0xc')]=_0xec175d['attributesBoolean'],delete _0xec175d['attributesBoolean']):(_0xec175d[_0x3548('0xc')]=JSON['parse'](_0xec175d[_0x3548('0xf')]),delete _0xec175d[_0x3548('0xf')])),_0xec175d['children']&&this['_deserializeNodesAttributes'](_0xec175d[_0x3548('0x9')]);}[_0x3548('0xd')](_0x56a616){return Object[_0x3548('0xe')](_0x56a616)[_0x3548('0x7')](_0xc420ea=>_0x3548('0x12')==typeof _0x56a616[_0xc420ea]);}}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
import OperationCompressor from './operationcompressor';
|
|
6
|
+
import type { CompressedOperationsData } from '../compressor';
|
|
7
|
+
import type { MarkerOperation } from 'ckeditor5/src/engine';
|
|
4
8
|
export default class MarkerOperationCompressor extends OperationCompressor {
|
|
5
9
|
/**
|
|
6
10
|
* @inheritDoc
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10f1=['oldRange','decompress','newRange','length'];(function(_0x2ffaea,_0x10f155){const _0x6a4a24=function(_0x158905){while(--_0x158905){_0x2ffaea['push'](_0x2ffaea['shift']());}};_0x6a4a24(++_0x10f155);}(_0x10f1,0x12d));const _0x6a4a=function(_0x2ffaea,_0x10f155){_0x2ffaea=_0x2ffaea-0x0;let _0x6a4a24=_0x10f1[_0x2ffaea];return _0x6a4a24;};import _0x123e03 from'./operationcompressor';export default class n extends _0x123e03{[_0x6a4a('0x0')](_0x2eca1c,_0x10c256){super[_0x6a4a('0x0')](_0x2eca1c,_0x10c256);const _0x3b5b81=_0x2eca1c[_0x2eca1c[_0x6a4a('0x2')]-0x1];_0x3b5b81[_0x6a4a('0x3')]||(_0x3b5b81[_0x6a4a('0x3')]=null),_0x3b5b81['newRange']||(_0x3b5b81[_0x6a4a('0x1')]=null);}}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
import OperationCompressor from './operationcompressor';
|
|
6
|
+
import type { CompressedOperationsData } from '../compressor';
|
|
7
|
+
import type { Operation } from 'ckeditor5/src/engine';
|
|
4
8
|
/**
|
|
5
9
|
* @extends OperationCompressor
|
|
6
10
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xb653=['push','types','_id','compress','shift'];(function(_0x57ba30,_0xb653fc){var _0x5b8818=function(_0x4dbf2b){while(--_0x4dbf2b){_0x57ba30['push'](_0x57ba30['shift']());}};_0x5b8818(++_0xb653fc);}(_0xb653,0x1d4));var _0x5b88=function(_0x57ba30,_0xb653fc){_0x57ba30=_0x57ba30-0x0;var _0x5b8818=_0xb653[_0x57ba30];return _0x5b8818;};import _0x2beca3 from'./operationcompressor';export default class p extends _0x2beca3{[_0x5b88('0x0')](_0xa8cad5,_0x589932){return _0x589932[_0x5b88('0x1')](),_0xa8cad5[_0x5b88('0x3')][_0x5b88('0x2')](this[_0x5b88('0x4')]),!0x0;}['decompress'](_0x3d65a7,_0x9ba0ac){_0x9ba0ac[_0x5b88('0x3')][_0x5b88('0x1')](),_0x3d65a7[_0x5b88('0x2')]({'__className':this['_operationName']});}}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
import type { CompressedOperationsData } from '../compressor';
|
|
6
|
+
import type { ProtobufDescriptor } from '../protobuffactory';
|
|
7
|
+
import type { Operation } from 'ckeditor5/src/engine';
|
|
4
8
|
/**
|
|
5
9
|
* Compresses and decompresses single operation to the binary format.
|
|
6
10
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4486=['buffers','shift','_id','push','_operationName','types','decompress','_protobufDescriptor','compress'];(function(_0x3201af,_0x4486b9){const _0x2a525c=function(_0x4d0361){while(--_0x4d0361){_0x3201af['push'](_0x3201af['shift']());}};_0x2a525c(++_0x4486b9);}(_0x4486,0x136));const _0x2a52=function(_0x3201af,_0x4486b9){_0x3201af=_0x3201af-0x0;let _0x2a525c=_0x4486[_0x3201af];return _0x2a525c;};import{parsePositionBeforeCompression as _0x3ac857,parsePositionAfterCompression as _0x48db58}from'../utils';export default class e{constructor(_0x5452d4,_0x48edb0,_0x492f01){this[_0x2a52('0x7')]=_0x5452d4,this[_0x2a52('0x0')]=_0x48edb0,this[_0x2a52('0x3')]=_0x492f01;}[_0x2a52('0x4')](_0x1aa7ad,_0x2a6649){const _0xb9ab46=_0x2a6649[_0x2a52('0x6')]();return _0x3ac857(_0xb9ab46),_0x1aa7ad[_0x2a52('0x5')][_0x2a52('0x8')](this[_0x2a52('0x3')][_0x2a52('0x4')](_0xb9ab46)),_0x1aa7ad[_0x2a52('0x1')][_0x2a52('0x8')](this['_id']),!0x0;}[_0x2a52('0x2')](_0x165f1c,_0x3e6928){_0x3e6928[_0x2a52('0x1')]['shift']();const _0x36f29a=this[_0x2a52('0x3')][_0x2a52('0x2')](_0x3e6928[_0x2a52('0x5')]['shift']());_0x48db58(_0x36f29a),_0x36f29a['__className']=this[_0x2a52('0x0')],_0x165f1c['push'](_0x36f29a);}}
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
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.
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
12
4
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4d7c=['string','uint32','Element','exports','repeated','bool','Position','Range'];(function(_0x46ddfa,_0x4d7c43){var _0xf99a24=function(_0x54bff0){while(--_0x54bff0){_0x46ddfa['push'](_0x46ddfa['shift']());}};_0xf99a24(++_0x4d7c43);}(_0x4d7c,0x18d));var _0xf99a=function(_0x46ddfa,_0x4d7c43){_0x46ddfa=_0x46ddfa-0x0;var _0xf99a24=_0x4d7c[_0x46ddfa];return _0xf99a24;};'use strict';module[_0xf99a('0x6')]={'AttributeOperation':{'fields':{'range':{'type':_0xf99a('0x2'),'id':0x1},'key':{'type':'string','id':0x2},'oldValueBoolean':{'type':_0xf99a('0x0'),'id':0x3},'oldValueJson':{'type':_0xf99a('0x3'),'id':0x4},'newValueBoolean':{'type':_0xf99a('0x0'),'id':0x5},'newValueJson':{'type':_0xf99a('0x3'),'id':0x6},'wasUndone':{'type':_0xf99a('0x0'),'id':0x7}}},'InsertOperation':{'fields':{'position':{'type':'Position','id':0x1},'nodes':{'rule':'repeated','type':_0xf99a('0x5'),'id':0x2},'shouldReceiveAttributes':{'type':_0xf99a('0x0'),'id':0x3},'wasUndone':{'type':_0xf99a('0x0'),'id':0x4}}},'MarkerOperation':{'fields':{'name':{'type':_0xf99a('0x3'),'id':0x1},'oldRange':{'type':_0xf99a('0x2'),'id':0x2},'newRange':{'type':_0xf99a('0x2'),'id':0x3},'affectsData':{'type':_0xf99a('0x0'),'id':0x4},'wasUndone':{'type':'bool','id':0x5}}},'MergeOperation':{'fields':{'sourcePosition':{'type':_0xf99a('0x1'),'id':0x1},'targetPosition':{'type':_0xf99a('0x1'),'id':0x2},'graveyardPosition':{'type':_0xf99a('0x1'),'id':0x3},'howMany':{'type':_0xf99a('0x4'),'id':0x4},'wasUndone':{'type':'bool','id':0x5}}},'MoveOperation':{'fields':{'sourcePosition':{'type':_0xf99a('0x1'),'id':0x1},'howMany':{'type':_0xf99a('0x4'),'id':0x2},'targetPosition':{'type':_0xf99a('0x1'),'id':0x3},'wasUndone':{'type':_0xf99a('0x0'),'id':0x4}}},'RenameOperation':{'fields':{'position':{'type':'Position','id':0x1},'oldName':{'type':'string','id':0x2},'newName':{'type':_0xf99a('0x3'),'id':0x3},'wasUndone':{'type':_0xf99a('0x0'),'id':0x4}}},'RootAttributeOperation':{'fields':{'root':{'type':_0xf99a('0x3'),'id':0x1},'key':{'type':_0xf99a('0x3'),'id':0x2},'oldValueBoolean':{'type':_0xf99a('0x0'),'id':0x3},'oldValueJson':{'type':'string','id':0x4},'newValueBoolean':{'type':_0xf99a('0x0'),'id':0x5},'newValueJson':{'type':_0xf99a('0x3'),'id':0x6},'wasUndone':{'type':'bool','id':0x7}}},'RootOperation':{'fields':{'rootName':{'type':_0xf99a('0x3'),'id':0x1},'elementName':{'type':'string','id':0x2},'isAdd':{'type':'bool','id':0x3},'wasUndone':{'type':'bool','id':0x4}}},'SplitOperation':{'fields':{'splitPosition':{'type':_0xf99a('0x1'),'id':0x1},'graveyardPosition':{'type':_0xf99a('0x1'),'id':0x2},'howMany':{'type':_0xf99a('0x4'),'id':0x3},'insertionPosition':{'type':_0xf99a('0x1'),'id':0x4},'wasUndone':{'type':'bool','id':0x5}}},'Position':{'fields':{'root':{'type':_0xf99a('0x3'),'id':0x1},'rootMain':{'type':'bool','id':0x2},'rootGraveyard':{'type':_0xf99a('0x0'),'id':0x3},'path':{'rule':_0xf99a('0x7'),'type':_0xf99a('0x4'),'id':0x4},'stickiness':{'type':_0xf99a('0x3'),'id':0x5}}},'Range':{'fields':{'start':{'type':_0xf99a('0x1'),'id':0x1},'end':{'type':'Position','id':0x2}}},'Element':{'fields':{'name':{'type':_0xf99a('0x3'),'id':0x1},'children':{'rule':_0xf99a('0x7'),'type':'Element','id':0x2},'data':{'type':'string','id':0x3},'attributesBoolean':{'keyType':_0xf99a('0x3'),'type':_0xf99a('0x0'),'id':0x4},'attributesJson':{'type':_0xf99a('0x3'),'id':0x5}}}};
|
package/src/protobuffactory.d.ts
CHANGED
package/src/protobuffactory.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f7f=['_protobuf','toObject','create','finish','decompress','compress','encode','getDescriptor','_protobufRoot'];(function(_0x160148,_0x3f7f40){const _0x3461f8=function(_0xa1f9d4){while(--_0xa1f9d4){_0x160148['push'](_0x160148['shift']());}};_0x3461f8(++_0x3f7f40);}(_0x3f7f,0xc0));const _0x3461=function(_0x160148,_0x3f7f40){_0x160148=_0x160148-0x0;let _0x3461f8=_0x3f7f[_0x160148];return _0x3461f8;};import*as _0x3f84e1 from'./lib/compiledmessages';export default class r{constructor(){this[_0x3461('0x5')]=_0x3f84e1;}[_0x3461('0x4')](_0x2b4d8b){return new ProtobufDescriptor(this[_0x3461('0x5')][_0x2b4d8b]);}}export class ProtobufDescriptor{constructor(_0x204011){this['_protobuf']=_0x204011;}[_0x3461('0x2')](_0xaba39f){const _0x2939f2=this[_0x3461('0x6')]['verify'](_0xaba39f);if(_0x2939f2)throw Error(_0x2939f2);return this['_protobuf'][_0x3461('0x3')](this[_0x3461('0x6')][_0x3461('0x8')](_0xaba39f))[_0x3461('0x0')]();}[_0x3461('0x1')](_0x27a493){return this[_0x3461('0x6')][_0x3461('0x7')](this['_protobuf']['decode'](_0x27a493),{'oneofs':!0x0});}}
|
package/src/utils.d.ts
CHANGED
package/src/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3740=['main','rootGraveyard','nodes','path','rootMain','root','length','$graveyard'];(function(_0x1f0d08,_0x374000){const _0x20e8c3=function(_0x9cc46a){while(--_0x9cc46a){_0x1f0d08['push'](_0x1f0d08['shift']());}};_0x20e8c3(++_0x374000);}(_0x3740,0xe6));const _0x20e8=function(_0x1f0d08,_0x374000){_0x1f0d08=_0x1f0d08-0x0;let _0x20e8c3=_0x3740[_0x1f0d08];return _0x20e8c3;};import{cloneDeep as _0x41e2c4,isEqual as _0x3ae72b,isObject as _0x212a22}from'lodash-es';export function getPositionShiftedBy(_0x23601a,_0x2dc28c){const _0x577ce8=_0x41e2c4(_0x23601a);return _0x577ce8[_0x20e8('0x5')][_0x577ce8[_0x20e8('0x5')][_0x20e8('0x0')]-0x1]+=_0x2dc28c,_0x577ce8;}export function arePositionsEqual(_0xafed44,_0x19f008){return _0xafed44[_0x20e8('0x7')]===_0x19f008[_0x20e8('0x7')]&&_0x3ae72b(_0xafed44[_0x20e8('0x5')],_0x19f008[_0x20e8('0x5')]);}export function parsePositionBeforeCompression(_0x3ac3e7){P(_0x3ac3e7,_0x4bc938=>(_0x20e8('0x2')==_0x4bc938[_0x20e8('0x7')]?(_0x4bc938[_0x20e8('0x6')]=!0x0,delete _0x4bc938[_0x20e8('0x7')]):_0x20e8('0x1')==_0x4bc938[_0x20e8('0x7')]&&(_0x4bc938['rootGraveyard']=!0x0,delete _0x4bc938[_0x20e8('0x7')]),_0x4bc938));}export function parsePositionAfterCompression(_0x1663df){P(_0x1663df,_0x4a4726=>(_0x4a4726[_0x20e8('0x6')]?(_0x4a4726['root']=_0x20e8('0x2'),delete _0x4a4726['rootMain']):_0x4a4726[_0x20e8('0x3')]&&(_0x4a4726['root']=_0x20e8('0x1'),delete _0x4a4726['rootGraveyard']),_0x4a4726));}function P(_0xbb2675,_0x183f1f){for(const _0x4fd487 in _0xbb2675){const _0xe2344d=_0xbb2675[_0x4fd487];_0x20e8('0x4')!==_0x4fd487&&_0x212a22(_0xe2344d)&&(_0xe2344d[_0x20e8('0x5')]&&(_0xe2344d[_0x20e8('0x7')]||_0xe2344d[_0x20e8('0x6')]||_0xe2344d[_0x20e8('0x3')])?_0xbb2675[_0x4fd487]=_0x183f1f(_0xe2344d):P(_0xe2344d,_0x183f1f));}return _0xbb2675;}
|