@ckeditor/ckeditor5-operations-compressor 41.3.1 → 41.4.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/index-content.css +4 -0
  2. package/dist/index-editor.css +4 -0
  3. package/dist/index.css +4 -0
  4. package/dist/index.js +23 -0
  5. package/dist/types/actioncompressor/actioncompressor.d.ts +64 -0
  6. package/dist/types/actioncompressor/deletingactioncompressor.d.ts +32 -0
  7. package/dist/types/actioncompressor/forwarddeletingactioncompressor.d.ts +32 -0
  8. package/dist/types/actioncompressor/typingactioncompressor.d.ts +32 -0
  9. package/dist/types/actioncompressor/userselectionactioncompressor.d.ts +20 -0
  10. package/dist/types/compressor.d.ts +49 -0
  11. package/dist/types/index.d.ts +9 -0
  12. package/dist/types/operationcompressor/annotationmarkeroperationcompressor.d.ts +26 -0
  13. package/dist/types/operationcompressor/attributeoperationcompressor.d.ts +21 -0
  14. package/dist/types/operationcompressor/insertoperationcompressor.d.ts +21 -0
  15. package/dist/types/operationcompressor/markeroperationcompressor.d.ts +17 -0
  16. package/dist/types/operationcompressor/nooperationcompressor.d.ts +24 -0
  17. package/dist/types/operationcompressor/operationcompressor.d.ts +32 -0
  18. package/dist/types/protobufdescriptions.d.ts +8 -0
  19. package/dist/types/protobuffactory.d.ts +9 -0
  20. package/dist/types/utils.d.ts +34 -0
  21. package/package.json +5 -2
  22. package/src/actioncompressor/actioncompressor.js +1 -1
  23. package/src/actioncompressor/deletingactioncompressor.js +1 -1
  24. package/src/actioncompressor/forwarddeletingactioncompressor.js +1 -1
  25. package/src/actioncompressor/typingactioncompressor.js +1 -1
  26. package/src/actioncompressor/userselectionactioncompressor.js +1 -1
  27. package/src/compressor.js +1 -1
  28. package/src/index.d.ts +5 -0
  29. package/src/index.js +23 -0
  30. package/src/lib/compiledmessages.js +1 -1
  31. package/src/operationcompressor/annotationmarkeroperationcompressor.js +1 -1
  32. package/src/operationcompressor/attributeoperationcompressor.js +1 -1
  33. package/src/operationcompressor/insertoperationcompressor.js +1 -1
  34. package/src/operationcompressor/markeroperationcompressor.js +1 -1
  35. package/src/operationcompressor/nooperationcompressor.js +1 -1
  36. package/src/operationcompressor/operationcompressor.js +1 -1
  37. package/src/protobufdescriptions.js +1 -1
  38. package/src/protobuffactory.js +1 -1
  39. package/src/utils.js +1 -1
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, 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
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ import OperationCompressor from './operationcompressor.js';
10
+ import type { CompressedOperationsData } from '../compressor.js';
11
+ import type { MarkerOperation } from 'ckeditor5/src/engine.js';
12
+ export default class MarkerOperationCompressor extends OperationCompressor {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ decompress(result: Array<MarkerOperation>, data: CompressedOperationsData): void;
17
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, 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
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ import OperationCompressor from './operationcompressor.js';
10
+ import type { CompressedOperationsData } from '../compressor.js';
11
+ import type { Operation } from 'ckeditor5/src/engine.js';
12
+ /**
13
+ * @extends OperationCompressor
14
+ */
15
+ export default class NoOperationCompressor extends OperationCompressor {
16
+ /**
17
+ * @inheritDoc
18
+ */
19
+ compress(result: CompressedOperationsData, operations: Array<Operation>): boolean;
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ decompress(result: Array<any>, data: CompressedOperationsData): void;
24
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, 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
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ import type { CompressedOperationsData } from '../compressor.js';
10
+ import type { ProtobufDescriptor } from '../protobuffactory.js';
11
+ import type { Operation } from 'ckeditor5/src/engine.js';
12
+ /**
13
+ * Compresses and decompresses single operation to the binary format.
14
+ */
15
+ export default class OperationCompressor {
16
+ constructor(id: number, operationName: string, protobufDescriptor: ProtobufDescriptor);
17
+ /**
18
+ * Serializes and consumes the first operation from the list.
19
+ *
20
+ * @param result Object to which compression result will be added.
21
+ * @param operations List of operations to compress. The first one will be compressed
22
+ * and removed from the list.
23
+ */
24
+ compress(result: CompressedOperationsData, operations: Array<Operation>): boolean;
25
+ /**
26
+ * Deserializes and consumes buffered operation.
27
+ *
28
+ * @param result Decompressed operation.
29
+ * @param data Data to decompress.
30
+ */
31
+ decompress(result: Array<Operation>, data: CompressedOperationsData): void;
32
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, 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
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, 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
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ export {};
@@ -0,0 +1,34 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, 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
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * Return new position in JSON format shifted by given offset.
11
+ *
12
+ * @param positionJSON Position serialized to JSON.
13
+ * @param shift Offset shift. Can be a negative value.
14
+ * @returns New position in JSON format.
15
+ */
16
+ export declare function getPositionShiftedBy(positionJSON: any, shift: number): any;
17
+ /**
18
+ * Checks whether one position serialized to JSON is equal to other position serialized to JSON.
19
+ */
20
+ export declare function arePositionsEqual(positionA: any, positionB: any): boolean;
21
+ /**
22
+ * For the better compression result one of the two common roots (`main` or `$graveyard`)
23
+ * is compressed to the `Boolean` format.
24
+ *
25
+ * Due tu the Protobuf limitation `Position` descriptor has no dedicated compressor
26
+ * so we need to find and format all positions in the operation.
27
+ */
28
+ export declare function parsePositionBeforeCompression(operation: any): void;
29
+ /**
30
+ * Position reformatting after decompression.
31
+ *
32
+ * @see {parsePositionBeforeCompression}.
33
+ */
34
+ export declare function parsePositionAfterCompression(operation: any): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-operations-compressor",
3
- "version": "41.3.1",
3
+ "version": "41.4.0-alpha.0",
4
4
  "description": "CKEditor 5 operations compressor for real-time collaboration.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "homepage": "https://ckeditor.com/collaboration/real-time/",
@@ -30,12 +30,15 @@
30
30
  "url": "https://support.ckeditor.com/hc/en-us/requests/new"
31
31
  },
32
32
  "type": "module",
33
+ "main": "src/index.js",
34
+ "types": "src/index.d.ts",
33
35
  "dependencies": {
34
- "ckeditor5": "41.3.1",
36
+ "ckeditor5": "41.4.0-alpha.0",
35
37
  "lodash-es": "4.17.21",
36
38
  "protobufjs": "7.2.5"
37
39
  },
38
40
  "files": [
41
+ "dist",
39
42
  "src/**/*.js",
40
43
  "src/**/*.d.ts",
41
44
  "CHANGELOG.md"
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x33f8(_0x49bd17,_0x134447){const _0x252316=_0x2523();return _0x33f8=function(_0x33f820,_0x3648de){_0x33f820=_0x33f820-0x127;let _0x12ca08=_0x252316[_0x33f820];return _0x12ca08;},_0x33f8(_0x49bd17,_0x134447);}function _0x2523(){const _0x403fd2=['push','buffers','11872305QTvfie','_decompressSingleOperation','length','_splitCurrent','compress','3342hdlsyn','_context','629420tXSPgn','663564CDKOvv','10iTXCbn','5633600iiIdkj','shift','832636KKlNnG','715416RlEYcv','types','_combineNext','_compareOperations','_id','302ScLZvB','_compressSingleOperation','decompress'];_0x2523=function(){return _0x403fd2;};return _0x2523();}const _0x543bf9=_0x33f8;(function(_0x1584ad,_0x4b9555){const _0x48c2f0=_0x33f8,_0x4394ac=_0x1584ad();while(!![]){try{const _0x196825=parseInt(_0x48c2f0(0x12c))/0x1*(-parseInt(_0x48c2f0(0x139))/0x2)+-parseInt(_0x48c2f0(0x134))/0x3+parseInt(_0x48c2f0(0x12e))/0x4+parseInt(_0x48c2f0(0x130))/0x5*(parseInt(_0x48c2f0(0x12f))/0x6)+parseInt(_0x48c2f0(0x133))/0x7+-parseInt(_0x48c2f0(0x131))/0x8+parseInt(_0x48c2f0(0x127))/0x9;if(_0x196825===_0x4b9555)break;else _0x4394ac['push'](_0x4394ac['shift']());}catch(_0x705f43){_0x4394ac['push'](_0x4394ac['shift']());}}}(_0x2523,0x5a2aa));import{cloneDeep as _0x1076f7}from'lodash-es';export default class b{constructor(_0x14c512,_0xe83141){const _0x5447e7=_0x33f8;this[_0x5447e7(0x138)]=_0x14c512,this[_0x5447e7(0x12d)]=_0xe83141;}[_0x543bf9(0x12b)](_0x96b68a,_0x54b138){const _0x109b96=_0x543bf9;let _0x3f90c3;for(;_0x54b138[_0x109b96(0x129)]>0x1&&this[_0x109b96(0x137)](_0x54b138[0x0],_0x54b138[0x1]);)_0x3f90c3?(_0x3f90c3=this[_0x109b96(0x136)](_0x54b138[_0x109b96(0x132)](),_0x3f90c3),_0x96b68a[_0x109b96(0x135)][_0x109b96(0x13c)](0x0)):(_0x3f90c3=_0x1076f7(_0x54b138[_0x109b96(0x132)]()),_0x96b68a[_0x109b96(0x135)][_0x109b96(0x13c)](this[_0x109b96(0x138)]));return!!_0x3f90c3&&(_0x3f90c3=this[_0x109b96(0x136)](_0x54b138[_0x109b96(0x132)](),_0x3f90c3),_0x96b68a[_0x109b96(0x135)][_0x109b96(0x13c)](0x0),_0x96b68a[_0x109b96(0x13d)][_0x109b96(0x13c)](this[_0x109b96(0x13a)](_0x3f90c3)),!0x0);}[_0x543bf9(0x13b)](_0x1f40cd,_0x1945a7){const _0x15f542=_0x543bf9,_0x30d62e=this[_0x15f542(0x128)](_0x1945a7);for(;0x0==_0x1945a7[_0x15f542(0x135)][0x0];)_0x1945a7[_0x15f542(0x135)][_0x15f542(0x132)](),_0x1f40cd[_0x15f542(0x13c)](this[_0x15f542(0x12a)](_0x30d62e));_0x1f40cd[_0x15f542(0x13c)](_0x30d62e);}}
23
+ function _0x69e5(){const _0x3c6c31=['_id','312VFJeVT','353656uwDcMO','length','_compressSingleOperation','_combineNext','1nulQQd','buffers','_compareOperations','shift','216BgBlFX','compress','33JHAPqF','242292LAAEJy','5292snfJCZ','_splitCurrent','19420TVAkFj','types','1168085mpqJgj','271308KRdIPq','123067xBSHoM','decompress','_context','_decompressSingleOperation','push','29469NqzJNT'];_0x69e5=function(){return _0x3c6c31;};return _0x69e5();}const _0xa2999a=_0x12e2;(function(_0x4348dd,_0x455d2c){const _0x46e5e0=_0x12e2,_0x2ffa75=_0x4348dd();while(!![]){try{const _0x35087a=parseInt(_0x46e5e0(0x16d))/0x1*(parseInt(_0x46e5e0(0x169))/0x2)+-parseInt(_0x46e5e0(0x173))/0x3*(-parseInt(_0x46e5e0(0x174))/0x4)+parseInt(_0x46e5e0(0x179))/0x5+-parseInt(_0x46e5e0(0x160))/0x6+parseInt(_0x46e5e0(0x161))/0x7*(parseInt(_0x46e5e0(0x168))/0x8)+parseInt(_0x46e5e0(0x171))/0x9*(parseInt(_0x46e5e0(0x177))/0xa)+-parseInt(_0x46e5e0(0x166))/0xb*(parseInt(_0x46e5e0(0x175))/0xc);if(_0x35087a===_0x455d2c)break;else _0x2ffa75['push'](_0x2ffa75['shift']());}catch(_0x54478a){_0x2ffa75['push'](_0x2ffa75['shift']());}}}(_0x69e5,0x8e2d6));function _0x12e2(_0x5e9420,_0x26f760){const _0x69e5a9=_0x69e5();return _0x12e2=function(_0x12e289,_0x4f21ce){_0x12e289=_0x12e289-0x160;let _0x59ea0f=_0x69e5a9[_0x12e289];return _0x59ea0f;},_0x12e2(_0x5e9420,_0x26f760);}import{cloneDeep as _0x401cbd}from'lodash-es';export default class b{constructor(_0xe0125c,_0x107f5d){const _0x2b7188=_0x12e2;this[_0x2b7188(0x167)]=_0xe0125c,this[_0x2b7188(0x163)]=_0x107f5d;}[_0xa2999a(0x172)](_0x25b930,_0x53f4a7){const _0x52cbd1=_0xa2999a;let _0x11c1a6;for(;_0x53f4a7[_0x52cbd1(0x16a)]>0x1&&this[_0x52cbd1(0x16f)](_0x53f4a7[0x0],_0x53f4a7[0x1]);)_0x11c1a6?(_0x11c1a6=this[_0x52cbd1(0x16c)](_0x53f4a7[_0x52cbd1(0x170)](),_0x11c1a6),_0x25b930[_0x52cbd1(0x178)][_0x52cbd1(0x165)](0x0)):(_0x11c1a6=_0x401cbd(_0x53f4a7[_0x52cbd1(0x170)]()),_0x25b930[_0x52cbd1(0x178)][_0x52cbd1(0x165)](this[_0x52cbd1(0x167)]));return!!_0x11c1a6&&(_0x11c1a6=this[_0x52cbd1(0x16c)](_0x53f4a7[_0x52cbd1(0x170)](),_0x11c1a6),_0x25b930[_0x52cbd1(0x178)][_0x52cbd1(0x165)](0x0),_0x25b930[_0x52cbd1(0x16e)][_0x52cbd1(0x165)](this[_0x52cbd1(0x16b)](_0x11c1a6)),!0x0);}[_0xa2999a(0x162)](_0x1362ad,_0x14f2f7){const _0x2b889a=_0xa2999a,_0x2e81f0=this[_0x2b889a(0x164)](_0x14f2f7);for(;0x0==_0x14f2f7[_0x2b889a(0x178)][0x0];)_0x14f2f7[_0x2b889a(0x178)][_0x2b889a(0x170)](),_0x1362ad[_0x2b889a(0x165)](this[_0x2b889a(0x176)](_0x2e81f0));_0x1362ad[_0x2b889a(0x165)](_0x2e81f0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e300d=_0x4d6a;(function(_0x956873,_0x18d942){const _0x234008=_0x4d6a,_0x4ba304=_0x956873();while(!![]){try{const _0x5341e4=-parseInt(_0x234008(0x125))/0x1+-parseInt(_0x234008(0x123))/0x2+parseInt(_0x234008(0x133))/0x3+parseInt(_0x234008(0x12c))/0x4*(-parseInt(_0x234008(0x13d))/0x5)+parseInt(_0x234008(0x132))/0x6*(-parseInt(_0x234008(0x124))/0x7)+parseInt(_0x234008(0x135))/0x8*(-parseInt(_0x234008(0x129))/0x9)+parseInt(_0x234008(0x13e))/0xa;if(_0x5341e4===_0x18d942)break;else _0x4ba304['push'](_0x4ba304['shift']());}catch(_0x1d9120){_0x4ba304['push'](_0x4ba304['shift']());}}}(_0x56bd,0x4247f));import _0x20771e from'./actioncompressor.js';function _0x4d6a(_0x2e8b2c,_0x78d1a0){const _0x56bdfb=_0x56bd();return _0x4d6a=function(_0x4d6a42,_0x33cd58){_0x4d6a42=_0x4d6a42-0x122;let _0x41e695=_0x56bdfb[_0x4d6a42];return _0x41e695;},_0x4d6a(_0x2e8b2c,_0x78d1a0);}function _0x56bd(){const _0x4366fd=['375705PZovET','compress','buffers','targetPosition','18mipxTe','MoveOperation','_checkOperation','845616pDQvPq','wasUndone','decompress','root','__className','_getCompressorByName','18pLIAST','707868zboSxv','_splitCurrent','1324184wzZsIk','_decompressSingleOperation','_context','sourcePosition','_combineNext','$graveyard','_compareOperations','_compressSingleOperation','10xCxkbN','17342820SDNumU','howMany','349018QIgmaP','920927TsvjGR'];_0x56bd=function(){return _0x4366fd;};return _0x56bd();}import{arePositionsEqual as _0x31f125,getPositionShiftedBy as _0x5ad810}from'../utils.js';import{cloneDeep as _0x1b93cd}from'lodash-es';export default class c extends _0x20771e{[_0x4e300d(0x139)](_0x5484a9,_0xcd7e40){const _0x19d67c=_0x4e300d;return _0xcd7e40[_0x19d67c(0x122)]++,_0xcd7e40[_0x19d67c(0x138)]=_0x1b93cd(_0x5484a9[_0x19d67c(0x138)]),_0xcd7e40;}[_0x4e300d(0x134)](_0x53c8ce){const _0x44ba39=_0x4e300d,_0xa60b0e=_0x1b93cd(_0x53c8ce);return _0x53c8ce[_0x44ba39(0x122)]--,_0xa60b0e[_0x44ba39(0x122)]=0x1,_0xa60b0e[_0x44ba39(0x138)]=_0x5ad810(_0xa60b0e[_0x44ba39(0x138)],_0x53c8ce[_0x44ba39(0x122)]),_0xa60b0e;}[_0x4e300d(0x13b)](_0x238b07,_0x1319be){const _0x32f58a=_0x4e300d;return!(!this[_0x32f58a(0x12b)](_0x238b07)||!this[_0x32f58a(0x12b)](_0x1319be))&&(_0x31f125(_0x5ad810(_0x238b07[_0x32f58a(0x138)],-0x1),_0x1319be[_0x32f58a(0x138)])&&_0x31f125(_0x238b07[_0x32f58a(0x128)],_0x1319be[_0x32f58a(0x128)]));}[_0x4e300d(0x13c)](_0x451146){const _0x53d2a4=_0x4e300d,_0x22be54={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x53d2a4(0x137)][_0x53d2a4(0x131)](_0x53d2a4(0x12a))[_0x53d2a4(0x126)](_0x22be54,[_0x451146]),_0x22be54[_0x53d2a4(0x127)][0x0];}[_0x4e300d(0x136)](_0x55594e){const _0x64be30=_0x4e300d,_0x18cc67=[];return this[_0x64be30(0x137)][_0x64be30(0x131)](_0x64be30(0x12a))[_0x64be30(0x12e)](_0x18cc67,_0x55594e),_0x18cc67[0x0];}[_0x4e300d(0x12b)](_0x3b31ac){const _0x2496df=_0x4e300d;return _0x2496df(0x12a)==_0x3b31ac[_0x2496df(0x130)]&&_0x2496df(0x13a)==_0x3b31ac[_0x2496df(0x128)][_0x2496df(0x12f)]&&0x1==_0x3b31ac[_0x2496df(0x122)]&&!_0x3b31ac[_0x2496df(0x12d)];}}
23
+ const _0x5cdeab=_0xf3a7;(function(_0x37ba66,_0x5b497e){const _0x3d6f3b=_0xf3a7,_0xa966fb=_0x37ba66();while(!![]){try{const _0x418ce3=parseInt(_0x3d6f3b(0x80))/0x1*(parseInt(_0x3d6f3b(0x67))/0x2)+-parseInt(_0x3d6f3b(0x7d))/0x3*(-parseInt(_0x3d6f3b(0x78))/0x4)+parseInt(_0x3d6f3b(0x79))/0x5*(parseInt(_0x3d6f3b(0x81))/0x6)+-parseInt(_0x3d6f3b(0x83))/0x7*(parseInt(_0x3d6f3b(0x75))/0x8)+parseInt(_0x3d6f3b(0x73))/0x9+parseInt(_0x3d6f3b(0x7e))/0xa+-parseInt(_0x3d6f3b(0x7f))/0xb;if(_0x418ce3===_0x5b497e)break;else _0xa966fb['push'](_0xa966fb['shift']());}catch(_0xd77a80){_0xa966fb['push'](_0xa966fb['shift']());}}}(_0x1cf2,0x658f0));function _0xf3a7(_0x565396,_0x379c61){const _0x1cf288=_0x1cf2();return _0xf3a7=function(_0xf3a70f,_0x53238a){_0xf3a70f=_0xf3a70f-0x66;let _0x48ebe6=_0x1cf288[_0xf3a70f];return _0x48ebe6;},_0xf3a7(_0x565396,_0x379c61);}import _0x43872a from'./actioncompressor.js';function _0x1cf2(){const _0x1f610a=['2910321aLJJvO','$graveyard','1257272qyIdni','_getCompressorByName','_compareOperations','68JLzMAQ','5325CAIEUW','_decompressSingleOperation','MoveOperation','root','13077hmhxYW','2072280FYtRkb','5165094LdbmXA','9KdCdrN','1644tRzGaq','_splitCurrent','7aPvLlR','sourcePosition','32486gbbLaF','_checkOperation','compress','_compressSingleOperation','buffers','howMany','targetPosition','__className','wasUndone','_combineNext','decompress','_context'];_0x1cf2=function(){return _0x1f610a;};return _0x1cf2();}import{arePositionsEqual as _0x28bf49,getPositionShiftedBy as _0x1e4eb6}from'../utils.js';import{cloneDeep as _0xb737f7}from'lodash-es';export default class c extends _0x43872a{[_0x5cdeab(0x70)](_0x90b4d0,_0x9eab30){const _0xeb2c54=_0x5cdeab;return _0x9eab30[_0xeb2c54(0x6c)]++,_0x9eab30[_0xeb2c54(0x66)]=_0xb737f7(_0x90b4d0[_0xeb2c54(0x66)]),_0x9eab30;}[_0x5cdeab(0x82)](_0x215492){const _0x463bfd=_0x5cdeab,_0x232a07=_0xb737f7(_0x215492);return _0x215492[_0x463bfd(0x6c)]--,_0x232a07[_0x463bfd(0x6c)]=0x1,_0x232a07[_0x463bfd(0x66)]=_0x1e4eb6(_0x232a07[_0x463bfd(0x66)],_0x215492[_0x463bfd(0x6c)]),_0x232a07;}[_0x5cdeab(0x77)](_0x44694b,_0x4734f8){const _0x9b62b5=_0x5cdeab;return!(!this[_0x9b62b5(0x68)](_0x44694b)||!this[_0x9b62b5(0x68)](_0x4734f8))&&(_0x28bf49(_0x1e4eb6(_0x44694b[_0x9b62b5(0x66)],-0x1),_0x4734f8[_0x9b62b5(0x66)])&&_0x28bf49(_0x44694b[_0x9b62b5(0x6d)],_0x4734f8[_0x9b62b5(0x6d)]));}[_0x5cdeab(0x6a)](_0x58f9a8){const _0x42160b=_0x5cdeab,_0xa69268={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x42160b(0x72)][_0x42160b(0x76)](_0x42160b(0x7b))[_0x42160b(0x69)](_0xa69268,[_0x58f9a8]),_0xa69268[_0x42160b(0x6b)][0x0];}[_0x5cdeab(0x7a)](_0x1da35c){const _0x251d27=_0x5cdeab,_0x1671d6=[];return this[_0x251d27(0x72)][_0x251d27(0x76)](_0x251d27(0x7b))[_0x251d27(0x71)](_0x1671d6,_0x1da35c),_0x1671d6[0x0];}[_0x5cdeab(0x68)](_0x48d397){const _0x58e1e5=_0x5cdeab;return _0x58e1e5(0x7b)==_0x48d397[_0x58e1e5(0x6e)]&&_0x58e1e5(0x74)==_0x48d397[_0x58e1e5(0x6d)][_0x58e1e5(0x7c)]&&0x1==_0x48d397[_0x58e1e5(0x6c)]&&!_0x48d397[_0x58e1e5(0x6f)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5542e4=_0x1d68;(function(_0x526782,_0x8a443c){const _0x422e0d=_0x1d68,_0x5a0cad=_0x526782();while(!![]){try{const _0x4154d3=parseInt(_0x422e0d(0x82))/0x1*(parseInt(_0x422e0d(0x67))/0x2)+parseInt(_0x422e0d(0x76))/0x3+-parseInt(_0x422e0d(0x75))/0x4+parseInt(_0x422e0d(0x7a))/0x5*(parseInt(_0x422e0d(0x7f))/0x6)+-parseInt(_0x422e0d(0x7c))/0x7*(parseInt(_0x422e0d(0x65))/0x8)+-parseInt(_0x422e0d(0x74))/0x9*(parseInt(_0x422e0d(0x81))/0xa)+-parseInt(_0x422e0d(0x7b))/0xb*(parseInt(_0x422e0d(0x7d))/0xc);if(_0x4154d3===_0x8a443c)break;else _0x5a0cad['push'](_0x5a0cad['shift']());}catch(_0x10ebf1){_0x5a0cad['push'](_0x5a0cad['shift']());}}}(_0x3915,0x4a0c4));import _0x50f9c4 from'./actioncompressor.js';function _0x1d68(_0x3fb999,_0x2fbd1f){const _0x39154b=_0x3915();return _0x1d68=function(_0x1d681c,_0x57ea25){_0x1d681c=_0x1d681c-0x64;let _0x4a5f74=_0x39154b[_0x1d681c];return _0x4a5f74;},_0x1d68(_0x3fb999,_0x2fbd1f);}function _0x3915(){const _0x3cf7a4=['wasUndone','_decompressSingleOperation','MoveOperation','_context','__className','_splitCurrent','$graveyard','_compareOperations','9iZCoBK','2244948lBFdBG','1672140MvJvMP','decompress','_combineNext','root','7795SaxRYA','4829frruAA','371OSVEPX','5556kWyzYv','howMany','1098QgLOvb','_getCompressorByName','336990DseKss','326497sLQvVJ','_checkOperation','10216avseUN','sourcePosition','2vmMLdS','buffers','compress','_compressSingleOperation','targetPosition'];_0x3915=function(){return _0x3cf7a4;};return _0x3915();}import{arePositionsEqual as _0x3c14a7}from'../utils.js';import{cloneDeep as _0x345859}from'lodash-es';export default class h extends _0x50f9c4{[_0x5542e4(0x78)](_0x58249c,_0x335d81){const _0x4d8c22=_0x5542e4;return _0x335d81[_0x4d8c22(0x7e)]++,_0x335d81;}[_0x5542e4(0x71)](_0x53c12f){const _0x4bdbc6=_0x5542e4,_0x2451b6=_0x345859(_0x53c12f);return _0x2451b6[_0x4bdbc6(0x7e)]=0x1,_0x53c12f[_0x4bdbc6(0x7e)]--,_0x2451b6;}[_0x5542e4(0x73)](_0x124f64,_0x18a742){const _0x2d2136=_0x5542e4;return!(!this[_0x2d2136(0x64)](_0x124f64)||!this[_0x2d2136(0x64)](_0x18a742))&&(_0x3c14a7(_0x124f64[_0x2d2136(0x66)],_0x18a742[_0x2d2136(0x66)])&&_0x3c14a7(_0x124f64[_0x2d2136(0x6b)],_0x18a742[_0x2d2136(0x6b)]));}[_0x5542e4(0x6a)](_0x16f7ea){const _0x4a23cf=_0x5542e4,_0x4fa5df={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x4a23cf(0x6f)][_0x4a23cf(0x80)](_0x4a23cf(0x6e))[_0x4a23cf(0x69)](_0x4fa5df,[_0x16f7ea]),_0x4fa5df[_0x4a23cf(0x68)][0x0];}[_0x5542e4(0x6d)](_0x457f18){const _0x459424=_0x5542e4,_0x410683=[];return this[_0x459424(0x6f)][_0x459424(0x80)](_0x459424(0x6e))[_0x459424(0x77)](_0x410683,_0x457f18),_0x410683[0x0];}[_0x5542e4(0x64)](_0x51fb0c){const _0x13fd4f=_0x5542e4;return _0x13fd4f(0x6e)==_0x51fb0c[_0x13fd4f(0x70)]&&_0x13fd4f(0x72)==_0x51fb0c[_0x13fd4f(0x6b)][_0x13fd4f(0x79)]&&0x1==_0x51fb0c[_0x13fd4f(0x7e)]&&!_0x51fb0c[_0x13fd4f(0x6c)];}}
23
+ const _0x4dcabd=_0x5080;(function(_0x19f380,_0x467b85){const _0x3b3021=_0x5080,_0x5f059b=_0x19f380();while(!![]){try{const _0x1583b3=-parseInt(_0x3b3021(0xe2))/0x1*(parseInt(_0x3b3021(0xdb))/0x2)+parseInt(_0x3b3021(0xda))/0x3+parseInt(_0x3b3021(0xe3))/0x4+parseInt(_0x3b3021(0xe0))/0x5+parseInt(_0x3b3021(0xed))/0x6*(-parseInt(_0x3b3021(0xe8))/0x7)+parseInt(_0x3b3021(0xde))/0x8+-parseInt(_0x3b3021(0xf5))/0x9;if(_0x1583b3===_0x467b85)break;else _0x5f059b['push'](_0x5f059b['shift']());}catch(_0x50e752){_0x5f059b['push'](_0x5f059b['shift']());}}}(_0x5816,0x2ec00));function _0x5080(_0x990888,_0x2d27c2){const _0x581615=_0x5816();return _0x5080=function(_0x5080db,_0x4d48e1){_0x5080db=_0x5080db-0xda;let _0x2fe9d4=_0x581615[_0x5080db];return _0x2fe9d4;},_0x5080(_0x990888,_0x2d27c2);}function _0x5816(){const _0x1ba46d=['_decompressSingleOperation','1143324DwAxvN','335337HYWJRw','24qYzRax','wasUndone','howMany','2016488aSocLx','MoveOperation','1157720YbfJbw','sourcePosition','6934AyIgjp','457060RWDiaz','root','__className','_compareOperations','_getCompressorByName','239491Hhcvoq','_context','targetPosition','_checkOperation','decompress','54hsywUB','$graveyard','_combineNext','buffers','compress','_compressSingleOperation','_splitCurrent'];_0x5816=function(){return _0x1ba46d;};return _0x5816();}import _0x5bc66f from'./actioncompressor.js';import{arePositionsEqual as _0x10bd13}from'../utils.js';import{cloneDeep as _0xd0b853}from'lodash-es';export default class h extends _0x5bc66f{[_0x4dcabd(0xef)](_0x2bef27,_0x16df64){const _0x2a6b66=_0x4dcabd;return _0x16df64[_0x2a6b66(0xdd)]++,_0x16df64;}[_0x4dcabd(0xf3)](_0x5d44bd){const _0x2fe833=_0x4dcabd,_0x56e936=_0xd0b853(_0x5d44bd);return _0x56e936[_0x2fe833(0xdd)]=0x1,_0x5d44bd[_0x2fe833(0xdd)]--,_0x56e936;}[_0x4dcabd(0xe6)](_0x29c26c,_0x2bcc7b){const _0x4adc2e=_0x4dcabd;return!(!this[_0x4adc2e(0xeb)](_0x29c26c)||!this[_0x4adc2e(0xeb)](_0x2bcc7b))&&(_0x10bd13(_0x29c26c[_0x4adc2e(0xe1)],_0x2bcc7b[_0x4adc2e(0xe1)])&&_0x10bd13(_0x29c26c[_0x4adc2e(0xea)],_0x2bcc7b[_0x4adc2e(0xea)]));}[_0x4dcabd(0xf2)](_0x36019c){const _0x475cd8=_0x4dcabd,_0x14a03a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x475cd8(0xe9)][_0x475cd8(0xe7)](_0x475cd8(0xdf))[_0x475cd8(0xf1)](_0x14a03a,[_0x36019c]),_0x14a03a[_0x475cd8(0xf0)][0x0];}[_0x4dcabd(0xf4)](_0x2495ab){const _0x1710d8=_0x4dcabd,_0x22b465=[];return this[_0x1710d8(0xe9)][_0x1710d8(0xe7)](_0x1710d8(0xdf))[_0x1710d8(0xec)](_0x22b465,_0x2495ab),_0x22b465[0x0];}[_0x4dcabd(0xeb)](_0x4ef78e){const _0x244b7e=_0x4dcabd;return _0x244b7e(0xdf)==_0x4ef78e[_0x244b7e(0xe5)]&&_0x244b7e(0xee)==_0x4ef78e[_0x244b7e(0xea)][_0x244b7e(0xe4)]&&0x1==_0x4ef78e[_0x244b7e(0xdd)]&&!_0x4ef78e[_0x244b7e(0xdc)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b6e19=_0x11c1;function _0x5e68(){const _0x55b9bc=['530WOmmrR','1088uElSPx','2esRXQy','wasUndone','substr','next','length','3712044LcniRT','25984DSxBrO','data','6515vDnxXU','from','attributes','iterator','528PDchTg','_checkOperation','compress','__className','value','nodes','position','keys','_getCompressorByName','_compressSingleOperation','_context','every','1332OLvvNM','_splitCurrent','InsertOperation','108128Oskqzr','54153gqCPht','_compareOperations','_combineNext','18405YgzodJ','_compareAttributes','569550kRZQAT','decompress','_decompressSingleOperation','buffers'];_0x5e68=function(){return _0x55b9bc;};return _0x5e68();}(function(_0x3c90e4,_0x49535e){const _0x481a26=_0x11c1,_0x47dfea=_0x3c90e4();while(!![]){try{const _0x46db11=-parseInt(_0x481a26(0xda))/0x1*(parseInt(_0x481a26(0xce))/0x2)+-parseInt(_0x481a26(0xd4))/0x3+-parseInt(_0x481a26(0xd9))/0x4*(-parseInt(_0x481a26(0xe2))/0x5)+-parseInt(_0x481a26(0xdf))/0x6+parseInt(_0x481a26(0xe0))/0x7*(parseInt(_0x481a26(0xe6))/0x8)+parseInt(_0x481a26(0xd2))/0x9*(parseInt(_0x481a26(0xd8))/0xa)+-parseInt(_0x481a26(0xcf))/0xb*(-parseInt(_0x481a26(0xcb))/0xc);if(_0x46db11===_0x49535e)break;else _0x47dfea['push'](_0x47dfea['shift']());}catch(_0x2da776){_0x47dfea['push'](_0x47dfea['shift']());}}}(_0x5e68,0x526ba));function _0x11c1(_0x176485,_0x1dc27e){const _0x5e686e=_0x5e68();return _0x11c1=function(_0x11c1e3,_0x2f5bac){_0x11c1e3=_0x11c1e3-0xc4;let _0x360d13=_0x5e686e[_0x11c1e3];return _0x360d13;},_0x11c1(_0x176485,_0x1dc27e);}import _0x2939d1 from'./actioncompressor.js';import{arePositionsEqual as _0x7d3ad2,getPositionShiftedBy as _0x5183fb}from'../utils.js';import{cloneDeep as _0x1d9e62}from'lodash-es';export default class m extends _0x2939d1{[_0x5b6e19(0xd1)](_0x524b18,_0x55eb87){const _0x195105=_0x5b6e19;return _0x55eb87[_0x195105(0xc4)][0x0][_0x195105(0xe1)]+=_0x524b18[_0x195105(0xc4)][0x0][_0x195105(0xe1)],_0x55eb87;}[_0x5b6e19(0xcc)](_0xa00702){const _0x286671=_0x5b6e19,_0x14211a=_0x1d9e62(_0xa00702),_0x572858=_0x14211a[_0x286671(0xc4)][0x0],_0x37a718=_0xa00702[_0x286671(0xc4)][0x0],_0x210cb4=_0x37a718[_0x286671(0xe1)][Symbol[_0x286671(0xe5)]]()[_0x286671(0xdd)]()[_0x286671(0xea)],_0x1cecf6=_0x210cb4[_0x286671(0xde)];return _0x572858[_0x286671(0xe1)]=_0x210cb4,_0x37a718[_0x286671(0xe1)]=_0x37a718[_0x286671(0xe1)][_0x286671(0xdc)](_0x1cecf6),_0xa00702[_0x286671(0xc5)]=_0x5183fb(_0xa00702[_0x286671(0xc5)],_0x1cecf6),_0x14211a;}[_0x5b6e19(0xd0)](_0x2d013b,_0x4519fc){const _0x51f320=_0x5b6e19;if(this[_0x51f320(0xe7)](_0x2d013b)&&this[_0x51f320(0xe7)](_0x4519fc)){const _0x3d1667=_0x2d013b[_0x51f320(0xc4)][0x0][_0x51f320(0xe1)][_0x51f320(0xde)],_0x29f874=_0x7d3ad2(_0x5183fb(_0x2d013b[_0x51f320(0xc5)],_0x3d1667),_0x4519fc[_0x51f320(0xc5)]),_0x4db848=_0x2d013b[_0x51f320(0xc4)][0x0],_0x47bb54=_0x4519fc[_0x51f320(0xc4)][0x0];return _0x29f874&&this[_0x51f320(0xd3)](_0x4db848,_0x47bb54);}return!0x1;}[_0x5b6e19(0xc8)](_0x389598){const _0x5da058=_0x5b6e19,_0x39c68b={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5da058(0xc9)][_0x5da058(0xc7)](_0x5da058(0xcd))[_0x5da058(0xe8)](_0x39c68b,[_0x389598]),_0x39c68b[_0x5da058(0xd7)][0x0];}[_0x5b6e19(0xd6)](_0x3f1832){const _0x38aef4=_0x5b6e19,_0xca4a3a=[];return this[_0x38aef4(0xc9)][_0x38aef4(0xc7)](_0x38aef4(0xcd))[_0x38aef4(0xd5)](_0xca4a3a,_0x3f1832),_0xca4a3a[0x0];}[_0x5b6e19(0xe7)](_0x29d128){const _0x248ae9=_0x5b6e19;return _0x248ae9(0xcd)==_0x29d128[_0x248ae9(0xe9)]&&0x1==_0x29d128[_0x248ae9(0xc4)][_0x248ae9(0xde)]&&_0x29d128[_0x248ae9(0xc4)][0x0][_0x248ae9(0xe1)]&&!_0x29d128[_0x248ae9(0xdb)]&&0x1==Array[_0x248ae9(0xe3)](_0x29d128[_0x248ae9(0xc4)][0x0][_0x248ae9(0xe1)])[_0x248ae9(0xde)];}[_0x5b6e19(0xd3)](_0xbe9dc5,_0x3f7c64){const _0x1c714a=_0x5b6e19,_0x304c10=Object[_0x1c714a(0xc6)](_0xbe9dc5[_0x1c714a(0xe4)]||{}),_0x59566a=Object[_0x1c714a(0xc6)](_0x3f7c64[_0x1c714a(0xe4)]||{});return _0x304c10[_0x1c714a(0xde)]===_0x59566a[_0x1c714a(0xde)]&&_0x304c10[_0x1c714a(0xca)](_0x592580=>_0x3f7c64[_0x1c714a(0xe4)][_0x592580]&&_0x3f7c64[_0x1c714a(0xe4)][_0x592580]===_0xbe9dc5[_0x1c714a(0xe4)][_0x592580]);}}
23
+ function _0x248f(_0xb34469,_0x4ffb82){const _0x16554a=_0x1655();return _0x248f=function(_0x248f66,_0x410d60){_0x248f66=_0x248f66-0x7c;let _0x43072b=_0x16554a[_0x248f66];return _0x43072b;},_0x248f(_0xb34469,_0x4ffb82);}const _0x283006=_0x248f;(function(_0x862225,_0x34d78a){const _0x292529=_0x248f,_0x5a4de5=_0x862225();while(!![]){try{const _0x546e15=-parseInt(_0x292529(0x80))/0x1*(-parseInt(_0x292529(0x84))/0x2)+-parseInt(_0x292529(0x9d))/0x3+parseInt(_0x292529(0x91))/0x4+-parseInt(_0x292529(0x81))/0x5+parseInt(_0x292529(0x83))/0x6*(parseInt(_0x292529(0x8d))/0x7)+parseInt(_0x292529(0x82))/0x8+-parseInt(_0x292529(0x9a))/0x9*(parseInt(_0x292529(0x86))/0xa);if(_0x546e15===_0x34d78a)break;else _0x5a4de5['push'](_0x5a4de5['shift']());}catch(_0x44e597){_0x5a4de5['push'](_0x5a4de5['shift']());}}}(_0x1655,0x4e2ce));import _0x539d49 from'./actioncompressor.js';function _0x1655(){const _0x23602b=['from','148581aPRATx','2284780DUlPzC','3789872gVeDYC','1098WFvwoL','6cMrRBz','InsertOperation','20iinmuU','length','_combineNext','next','_compareAttributes','iterator','_decompressSingleOperation','658mpyuWS','wasUndone','value','_compareOperations','2485468rNMKLy','data','buffers','_checkOperation','attributes','nodes','substr','_getCompressorByName','every','3080115xYlqjX','position','keys','289242NEKFfO','__className','decompress','_compressSingleOperation','_context','_splitCurrent','compress'];_0x1655=function(){return _0x23602b;};return _0x1655();}import{arePositionsEqual as _0x75a213,getPositionShiftedBy as _0xdfd44b}from'../utils.js';import{cloneDeep as _0x15fe2c}from'lodash-es';export default class m extends _0x539d49{[_0x283006(0x88)](_0x1538f7,_0x9708d3){const _0x4cb688=_0x283006;return _0x9708d3[_0x4cb688(0x96)][0x0][_0x4cb688(0x92)]+=_0x1538f7[_0x4cb688(0x96)][0x0][_0x4cb688(0x92)],_0x9708d3;}[_0x283006(0x7d)](_0x135d65){const _0x577848=_0x283006,_0x6cf659=_0x15fe2c(_0x135d65),_0x141ac7=_0x6cf659[_0x577848(0x96)][0x0],_0x226248=_0x135d65[_0x577848(0x96)][0x0],_0x52c740=_0x226248[_0x577848(0x92)][Symbol[_0x577848(0x8b)]]()[_0x577848(0x89)]()[_0x577848(0x8f)],_0x329d9b=_0x52c740[_0x577848(0x87)];return _0x141ac7[_0x577848(0x92)]=_0x52c740,_0x226248[_0x577848(0x92)]=_0x226248[_0x577848(0x92)][_0x577848(0x97)](_0x329d9b),_0x135d65[_0x577848(0x9b)]=_0xdfd44b(_0x135d65[_0x577848(0x9b)],_0x329d9b),_0x6cf659;}[_0x283006(0x90)](_0x2f4029,_0x3383af){const _0x1b5538=_0x283006;if(this[_0x1b5538(0x94)](_0x2f4029)&&this[_0x1b5538(0x94)](_0x3383af)){const _0x21fbbc=_0x2f4029[_0x1b5538(0x96)][0x0][_0x1b5538(0x92)][_0x1b5538(0x87)],_0xce3ab7=_0x75a213(_0xdfd44b(_0x2f4029[_0x1b5538(0x9b)],_0x21fbbc),_0x3383af[_0x1b5538(0x9b)]),_0x126ca3=_0x2f4029[_0x1b5538(0x96)][0x0],_0x54a383=_0x3383af[_0x1b5538(0x96)][0x0];return _0xce3ab7&&this[_0x1b5538(0x8a)](_0x126ca3,_0x54a383);}return!0x1;}[_0x283006(0xa0)](_0x1fb781){const _0x4491b7=_0x283006,_0x503532={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x4491b7(0x7c)][_0x4491b7(0x98)](_0x4491b7(0x85))[_0x4491b7(0x7e)](_0x503532,[_0x1fb781]),_0x503532[_0x4491b7(0x93)][0x0];}[_0x283006(0x8c)](_0x4478ba){const _0x5b2cf9=_0x283006,_0x21b242=[];return this[_0x5b2cf9(0x7c)][_0x5b2cf9(0x98)](_0x5b2cf9(0x85))[_0x5b2cf9(0x9f)](_0x21b242,_0x4478ba),_0x21b242[0x0];}[_0x283006(0x94)](_0xa64518){const _0x5caf14=_0x283006;return _0x5caf14(0x85)==_0xa64518[_0x5caf14(0x9e)]&&0x1==_0xa64518[_0x5caf14(0x96)][_0x5caf14(0x87)]&&_0xa64518[_0x5caf14(0x96)][0x0][_0x5caf14(0x92)]&&!_0xa64518[_0x5caf14(0x8e)]&&0x1==Array[_0x5caf14(0x7f)](_0xa64518[_0x5caf14(0x96)][0x0][_0x5caf14(0x92)])[_0x5caf14(0x87)];}[_0x283006(0x8a)](_0x41603b,_0x1e2ee3){const _0x1aeb36=_0x283006,_0x2c2db3=Object[_0x1aeb36(0x9c)](_0x41603b[_0x1aeb36(0x95)]||{}),_0x21935f=Object[_0x1aeb36(0x9c)](_0x1e2ee3[_0x1aeb36(0x95)]||{});return _0x2c2db3[_0x1aeb36(0x87)]===_0x21935f[_0x1aeb36(0x87)]&&_0x2c2db3[_0x1aeb36(0x99)](_0x2da236=>_0x1e2ee3[_0x1aeb36(0x95)][_0x2da236]&&_0x1e2ee3[_0x1aeb36(0x95)][_0x2da236]===_0x41603b[_0x1aeb36(0x95)][_0x2da236]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x535ba3=_0x5afd;(function(_0xa1630a,_0x4d6ea2){const _0x42b811=_0x5afd,_0x1703a6=_0xa1630a();while(!![]){try{const _0x5d7ec8=-parseInt(_0x42b811(0x13b))/0x1+-parseInt(_0x42b811(0x13d))/0x2*(parseInt(_0x42b811(0x138))/0x3)+parseInt(_0x42b811(0x136))/0x4*(parseInt(_0x42b811(0x141))/0x5)+-parseInt(_0x42b811(0x153))/0x6*(parseInt(_0x42b811(0x132))/0x7)+parseInt(_0x42b811(0x13f))/0x8+parseInt(_0x42b811(0x150))/0x9*(-parseInt(_0x42b811(0x142))/0xa)+parseInt(_0x42b811(0x14f))/0xb;if(_0x5d7ec8===_0x4d6ea2)break;else _0x1703a6['push'](_0x1703a6['shift']());}catch(_0x1841a3){_0x1703a6['push'](_0x1703a6['shift']());}}}(_0x3d18,0xd1acc));import _0x127227 from'./actioncompressor.js';function _0x3d18(){const _0xfd0938=['compress','toNone','user:position:','_context','MarkerOperation','buffers','push','_getCompressorByName','oldRange','_id','types','_compressSingleOperation','23992562POGHUT','639qGtpKy','split','user:','77034ruclcf','decompress','start','308lAxaJK','stickiness','shift','name','4qBecCA','startsWith','13512qykOhE','__className','_decompressSingleOperation','272794agZTYv','end','688doxRVj','newRange','5404216rPMBwe','_compareOperations','7334770SqDymr','151790WdJcEA'];_0x3d18=function(){return _0xfd0938;};return _0x3d18();}function _0x5afd(_0x1aae01,_0x4af313){const _0x3d1803=_0x3d18();return _0x5afd=function(_0x5afd6e,_0x5921e5){_0x5afd6e=_0x5afd6e-0x130;let _0x4d8603=_0x3d1803[_0x5afd6e];return _0x4d8603;},_0x5afd(_0x1aae01,_0x4af313);}import{arePositionsEqual as _0x5bc288}from'../utils.js';import{cloneDeep as _0x231c8f}from'lodash-es';export default class f extends _0x127227{[_0x535ba3(0x143)](_0x13c12b,_0xac06c4){const _0x4a27ce=_0x535ba3;if(!this[_0x4a27ce(0x140)](_0xac06c4[0x0],_0xac06c4[0x1]))return!0x1;const _0x336dfd=_0xac06c4[_0x4a27ce(0x134)]();return _0x336dfd[_0x4a27ce(0x14b)]=null,_0x336dfd[_0x4a27ce(0x13e)]&&_0x5bc288(_0x336dfd[_0x4a27ce(0x13e)][_0x4a27ce(0x131)],_0x336dfd[_0x4a27ce(0x13e)][_0x4a27ce(0x13c)])&&(_0x336dfd[_0x4a27ce(0x13e)][_0x4a27ce(0x13c)]=null),_0xac06c4[_0x4a27ce(0x134)](),_0x13c12b[_0x4a27ce(0x14d)][_0x4a27ce(0x149)](this[_0x4a27ce(0x14c)]),_0x13c12b[_0x4a27ce(0x14d)][_0x4a27ce(0x149)](0x0),_0x13c12b[_0x4a27ce(0x148)][_0x4a27ce(0x149)](this[_0x4a27ce(0x14e)](_0x336dfd)),!0x0;}[_0x535ba3(0x130)](_0x4bc36,_0x375c55){const _0x133535=_0x535ba3,_0x5e59eb=this[_0x133535(0x13a)](_0x375c55);_0x5e59eb[_0x133535(0x13e)]&&!_0x5e59eb[_0x133535(0x13e)][_0x133535(0x13c)]&&(_0x5e59eb[_0x133535(0x13e)][_0x133535(0x13c)]=_0x231c8f(_0x5e59eb[_0x133535(0x13e)][_0x133535(0x131)]));const _0x4295d4=_0x231c8f(_0x5e59eb);_0x4295d4[_0x133535(0x13e)]&&(_0x4295d4[_0x133535(0x13e)][_0x133535(0x131)][_0x133535(0x133)]=_0x133535(0x144),_0x4295d4[_0x133535(0x13e)][_0x133535(0x13c)]=_0x231c8f(_0x4295d4[_0x133535(0x13e)][_0x133535(0x131)])),_0x4295d4[_0x133535(0x135)]=_0x133535(0x145)+_0x4295d4[_0x133535(0x135)][_0x133535(0x151)](':')[0x2],_0x375c55[_0x133535(0x14d)][_0x133535(0x134)](),_0x4bc36[_0x133535(0x149)](_0x5e59eb),_0x4bc36[_0x133535(0x149)](_0x4295d4);}[_0x535ba3(0x14e)](_0x3abef2){const _0x4dc335=_0x535ba3,_0x440e1f={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x4dc335(0x146)][_0x4dc335(0x14a)](_0x4dc335(0x147))[_0x4dc335(0x143)](_0x440e1f,[_0x3abef2]),_0x440e1f[_0x4dc335(0x148)][0x0];}[_0x535ba3(0x13a)](_0x4c19e0){const _0x3dd377=_0x535ba3,_0x13a0d1=[];return this[_0x3dd377(0x146)][_0x3dd377(0x14a)](_0x3dd377(0x147))[_0x3dd377(0x130)](_0x13a0d1,_0x4c19e0),_0x13a0d1[0x0];}[_0x535ba3(0x140)](_0x5309f1,_0x107e7a){const _0x1bb11f=_0x535ba3;return!(!_0x5309f1||!_0x107e7a)&&(_0x1bb11f(0x147)==_0x5309f1[_0x1bb11f(0x139)]&&_0x1bb11f(0x147)==_0x107e7a[_0x1bb11f(0x139)]&&!(!_0x5309f1[_0x1bb11f(0x135)][_0x1bb11f(0x137)](_0x1bb11f(0x152))||!_0x107e7a[_0x1bb11f(0x135)][_0x1bb11f(0x137)](_0x1bb11f(0x152))||_0x5309f1[_0x1bb11f(0x135)]==_0x107e7a[_0x1bb11f(0x135)]));}}
23
+ function _0x2521(_0x5e2120,_0x10eb36){const _0x48987b=_0x4898();return _0x2521=function(_0x2521c8,_0x53cece){_0x2521c8=_0x2521c8-0x193;let _0x2dcf92=_0x48987b[_0x2521c8];return _0x2dcf92;},_0x2521(_0x5e2120,_0x10eb36);}const _0x504736=_0x2521;(function(_0x4ca1a5,_0x5182f1){const _0x98930c=_0x2521,_0x449651=_0x4ca1a5();while(!![]){try{const _0x24cd2b=-parseInt(_0x98930c(0x1ad))/0x1+parseInt(_0x98930c(0x1a2))/0x2*(parseInt(_0x98930c(0x1a3))/0x3)+parseInt(_0x98930c(0x1b2))/0x4*(parseInt(_0x98930c(0x1a1))/0x5)+parseInt(_0x98930c(0x197))/0x6+-parseInt(_0x98930c(0x1aa))/0x7*(-parseInt(_0x98930c(0x1b4))/0x8)+parseInt(_0x98930c(0x19a))/0x9+parseInt(_0x98930c(0x19c))/0xa*(-parseInt(_0x98930c(0x19e))/0xb);if(_0x24cd2b===_0x5182f1)break;else _0x449651['push'](_0x449651['shift']());}catch(_0x19eeab){_0x449651['push'](_0x449651['shift']());}}}(_0x4898,0xecf4b));import _0x5c9bdf from'./actioncompressor.js';function _0x4898(){const _0x5df235=['_context','231583Yexoqv','stickiness','user:position:','115905MTJmlL','2598222dETjPX','3vjVQRc','buffers','compress','toNone','_getCompressorByName','_id','__className','1841777ScNMHb','user:','_decompressSingleOperation','1587574LTmWKt','_compressSingleOperation','name','shift','MarkerOperation','276mvxZWy','_compareOperations','16azonsJ','startsWith','start','split','oldRange','push','newRange','11540058jwBgiO','types','end','3879801XttXGt','decompress','1530PgkCYf'];_0x4898=function(){return _0x5df235;};return _0x4898();}import{arePositionsEqual as _0x395160}from'../utils.js';import{cloneDeep as _0x444eb3}from'lodash-es';export default class f extends _0x5c9bdf{[_0x504736(0x1a5)](_0x3e4ee7,_0x331e79){const _0x3a3bdf=_0x504736;if(!this[_0x3a3bdf(0x1b3)](_0x331e79[0x0],_0x331e79[0x1]))return!0x1;const _0xf3ebd3=_0x331e79[_0x3a3bdf(0x1b0)]();return _0xf3ebd3[_0x3a3bdf(0x194)]=null,_0xf3ebd3[_0x3a3bdf(0x196)]&&_0x395160(_0xf3ebd3[_0x3a3bdf(0x196)][_0x3a3bdf(0x1b6)],_0xf3ebd3[_0x3a3bdf(0x196)][_0x3a3bdf(0x199)])&&(_0xf3ebd3[_0x3a3bdf(0x196)][_0x3a3bdf(0x199)]=null),_0x331e79[_0x3a3bdf(0x1b0)](),_0x3e4ee7[_0x3a3bdf(0x198)][_0x3a3bdf(0x195)](this[_0x3a3bdf(0x1a8)]),_0x3e4ee7[_0x3a3bdf(0x198)][_0x3a3bdf(0x195)](0x0),_0x3e4ee7[_0x3a3bdf(0x1a4)][_0x3a3bdf(0x195)](this[_0x3a3bdf(0x1ae)](_0xf3ebd3)),!0x0;}[_0x504736(0x19b)](_0x4fb352,_0xd0f7b5){const _0x460d0f=_0x504736,_0x5e62a5=this[_0x460d0f(0x1ac)](_0xd0f7b5);_0x5e62a5[_0x460d0f(0x196)]&&!_0x5e62a5[_0x460d0f(0x196)][_0x460d0f(0x199)]&&(_0x5e62a5[_0x460d0f(0x196)][_0x460d0f(0x199)]=_0x444eb3(_0x5e62a5[_0x460d0f(0x196)][_0x460d0f(0x1b6)]));const _0x5e1518=_0x444eb3(_0x5e62a5);_0x5e1518[_0x460d0f(0x196)]&&(_0x5e1518[_0x460d0f(0x196)][_0x460d0f(0x1b6)][_0x460d0f(0x19f)]=_0x460d0f(0x1a6),_0x5e1518[_0x460d0f(0x196)][_0x460d0f(0x199)]=_0x444eb3(_0x5e1518[_0x460d0f(0x196)][_0x460d0f(0x1b6)])),_0x5e1518[_0x460d0f(0x1af)]=_0x460d0f(0x1a0)+_0x5e1518[_0x460d0f(0x1af)][_0x460d0f(0x193)](':')[0x2],_0xd0f7b5[_0x460d0f(0x198)][_0x460d0f(0x1b0)](),_0x4fb352[_0x460d0f(0x195)](_0x5e62a5),_0x4fb352[_0x460d0f(0x195)](_0x5e1518);}[_0x504736(0x1ae)](_0xf72f02){const _0x44cb06=_0x504736,_0x445a87={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x44cb06(0x19d)][_0x44cb06(0x1a7)](_0x44cb06(0x1b1))[_0x44cb06(0x1a5)](_0x445a87,[_0xf72f02]),_0x445a87[_0x44cb06(0x1a4)][0x0];}[_0x504736(0x1ac)](_0x45aa6a){const _0x34f8d6=_0x504736,_0x11ea65=[];return this[_0x34f8d6(0x19d)][_0x34f8d6(0x1a7)](_0x34f8d6(0x1b1))[_0x34f8d6(0x19b)](_0x11ea65,_0x45aa6a),_0x11ea65[0x0];}[_0x504736(0x1b3)](_0x706fa4,_0x43ff18){const _0x14a29d=_0x504736;return!(!_0x706fa4||!_0x43ff18)&&(_0x14a29d(0x1b1)==_0x706fa4[_0x14a29d(0x1a9)]&&_0x14a29d(0x1b1)==_0x43ff18[_0x14a29d(0x1a9)]&&!(!_0x706fa4[_0x14a29d(0x1af)][_0x14a29d(0x1b5)](_0x14a29d(0x1ab))||!_0x43ff18[_0x14a29d(0x1af)][_0x14a29d(0x1b5)](_0x14a29d(0x1ab))||_0x706fa4[_0x14a29d(0x1af)]==_0x43ff18[_0x14a29d(0x1af)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f71d2=_0xb004;(function(_0x553700,_0x503e36){const _0x4c2994=_0xb004,_0x4b08e4=_0x553700();while(!![]){try{const _0x8026c1=parseInt(_0x4c2994(0x20c))/0x1*(-parseInt(_0x4c2994(0x21a))/0x2)+-parseInt(_0x4c2994(0x20d))/0x3+-parseInt(_0x4c2994(0x211))/0x4+parseInt(_0x4c2994(0x21b))/0x5*(-parseInt(_0x4c2994(0x207))/0x6)+parseInt(_0x4c2994(0x209))/0x7+parseInt(_0x4c2994(0x21d))/0x8+parseInt(_0x4c2994(0x219))/0x9;if(_0x8026c1===_0x503e36)break;else _0x4b08e4['push'](_0x4b08e4['shift']());}catch(_0x438899){_0x4b08e4['push'](_0x4b08e4['shift']());}}}(_0x3c48,0x2b9c2));import{CKEditorError as _0xf092f9}from'ckeditor5/src/utils.js';import _0x3b4156 from'./protobuffactory.js';function _0xb004(_0x38bc4e,_0x589546){const _0x3c484a=_0x3c48();return _0xb004=function(_0xb00438,_0x743c24){_0xb00438=_0xb00438-0x1f4;let _0x3262e0=_0x3c484a[_0xb00438];return _0x3262e0;},_0xb004(_0x38bc4e,_0x589546);}import _0x58cffb from'./operationcompressor/operationcompressor.js';import _0x7cbd7e from'./operationcompressor/attributeoperationcompressor.js';import _0x6a1793 from'./operationcompressor/insertoperationcompressor.js';import _0xd4ddcc from'./operationcompressor/markeroperationcompressor.js';import _0x50a461 from'./operationcompressor/nooperationcompressor.js';import _0x69c68a from'./operationcompressor/annotationmarkeroperationcompressor.js';import _0x57fa88 from'./actioncompressor/typingactioncompressor.js';import _0x5c0edc from'./actioncompressor/deletingactioncompressor.js';function _0x3c48(){const _0x4e2c30=['_registerOperationCompressor','889240hsoDFw','_registerCompressor','compress','_getCompressorByName','getDescriptor','_protobufFactory','RootAttributeOperation','comment','3994308ANqteW','504186SajPab','5pLSpxv','__className','2647880BCjbeq','length','decompress','UserSelectionAction','MarkerOperation','_compressorByName','MoveOperation','set','TypingAction','SuggestionMarkerOperation','RootOperation','DeletingAction','ForwardDeletingAction','_compressorById','SplitOperation','baseVersion','_registerActionCompressor','NoOperation','InsertOperation','types','AttributeOperation','get','RenameOperation','452262fYKkIJ','no-operations-provided','748650LxnyAJ','forEach','MergeOperation','1VksvsI','460023uYLlXi','CommentMarkerOperation','suggestion'];_0x3c48=function(){return _0x4e2c30;};return _0x3c48();}import _0x2c5223 from'./actioncompressor/forwarddeletingactioncompressor.js';import _0x23efc0 from'./actioncompressor/userselectionactioncompressor.js';export default class g{constructor(){const _0x386920=_0xb004;this[_0x386920(0x1fd)]=new Map(),this[_0x386920(0x1f5)]=new Map(),this[_0x386920(0x216)]=new _0x3b4156();const _0x514939=this[_0x386920(0x216)][_0x386920(0x215)](_0x386920(0x1f4));this[_0x386920(0x212)](0x1,_0x386920(0x201),new _0x50a461(0x1,_0x386920(0x201),void 0x0)),this[_0x386920(0x210)](0xa,_0x386920(0x204),_0x7cbd7e),this[_0x386920(0x210)](0xb,_0x386920(0x202),_0x6a1793),this[_0x386920(0x210)](0xc,_0x386920(0x1f4),_0xd4ddcc),this[_0x386920(0x210)](0xd,_0x386920(0x20b),_0x58cffb),this[_0x386920(0x210)](0xe,_0x386920(0x1f6),_0x58cffb),this[_0x386920(0x210)](0xf,_0x386920(0x206),_0x58cffb),this[_0x386920(0x210)](0x10,_0x386920(0x217),_0x7cbd7e),this[_0x386920(0x210)](0x11,_0x386920(0x1fe),_0x58cffb),this[_0x386920(0x212)](0x12,_0x386920(0x20e),new _0x69c68a(0x12,_0x386920(0x1f4),_0x514939,_0x386920(0x218))),this[_0x386920(0x212)](0x13,_0x386920(0x1f9),new _0x69c68a(0x13,_0x386920(0x1f4),_0x514939,_0x386920(0x20f))),this[_0x386920(0x210)](0x14,_0x386920(0x1fa),_0x58cffb),this[_0x386920(0x200)](0x64,_0x386920(0x1f8),_0x57fa88),this[_0x386920(0x200)](0x65,_0x386920(0x1fb),_0x5c0edc),this[_0x386920(0x200)](0x66,_0x386920(0x1fc),_0x2c5223),this[_0x386920(0x200)](0x67,_0x386920(0x220),_0x23efc0);}[_0x4f71d2(0x213)](_0x3339fc){const _0x268303=_0x4f71d2;if(!_0x3339fc||!_0x3339fc[0x0])throw new _0xf092f9(_0x268303(0x208),this);const _0x1c43d4={'types':[],'buffers':[],'baseVersion':_0x3339fc[0x0][_0x268303(0x1ff)]};for(;_0x3339fc[_0x268303(0x21e)];)this[_0x268303(0x214)](_0x268303(0x220))[_0x268303(0x213)](_0x1c43d4,_0x3339fc)||this[_0x268303(0x214)](_0x268303(0x1f8))[_0x268303(0x213)](_0x1c43d4,_0x3339fc)||this[_0x268303(0x214)](_0x268303(0x1fb))[_0x268303(0x213)](_0x1c43d4,_0x3339fc)||this[_0x268303(0x214)](_0x268303(0x1fc))[_0x268303(0x213)](_0x1c43d4,_0x3339fc)||this[_0x268303(0x214)](_0x268303(0x20e))[_0x268303(0x213)](_0x1c43d4,_0x3339fc)||this[_0x268303(0x214)](_0x268303(0x1f9))[_0x268303(0x213)](_0x1c43d4,_0x3339fc)||this[_0x268303(0x214)](_0x3339fc[0x0][_0x268303(0x21c)])[_0x268303(0x213)](_0x1c43d4,_0x3339fc);return _0x1c43d4;}[_0x4f71d2(0x21f)](_0x3c3564){const _0x3ea98e=_0x4f71d2,_0x4941e7=[];for(;_0x3c3564[_0x3ea98e(0x203)][_0x3ea98e(0x21e)];){this[_0x3ea98e(0x1fd)][_0x3ea98e(0x205)](_0x3c3564[_0x3ea98e(0x203)][0x0])[_0x3ea98e(0x21f)](_0x4941e7,_0x3c3564);}return _0x4941e7[_0x3ea98e(0x20a)]((_0x531c46,_0x324d96)=>_0x531c46[_0x3ea98e(0x1ff)]=_0x3c3564[_0x3ea98e(0x1ff)]+_0x324d96),_0x4941e7;}[_0x4f71d2(0x214)](_0x484ad0){const _0x40c66b=_0x4f71d2;return this[_0x40c66b(0x1f5)][_0x40c66b(0x205)](_0x484ad0);}[_0x4f71d2(0x210)](_0xecf3c2,_0x20a400,_0x49a300){const _0x1769ff=_0x4f71d2,_0x24f4e2=new _0x49a300(_0xecf3c2,_0x20a400,this[_0x1769ff(0x216)][_0x1769ff(0x215)](_0x20a400));this[_0x1769ff(0x212)](_0xecf3c2,_0x20a400,_0x24f4e2);}[_0x4f71d2(0x200)](_0x357d27,_0x1be76f,_0x24095c){const _0x35b723=_0x4f71d2,_0x52da6d=new _0x24095c(_0x357d27,this);this[_0x35b723(0x212)](_0x357d27,_0x1be76f,_0x52da6d);}[_0x4f71d2(0x212)](_0x1cc112,_0x53753d,_0x4e1358){const _0x252a65=_0x4f71d2;this[_0x252a65(0x1fd)][_0x252a65(0x1f7)](_0x1cc112,_0x4e1358),this[_0x252a65(0x1f5)][_0x252a65(0x1f7)](_0x53753d,_0x4e1358);}}
23
+ const _0x270d12=_0x26f5;(function(_0x5c1a98,_0x1a6157){const _0x425a40=_0x26f5,_0x5e196b=_0x5c1a98();while(!![]){try{const _0x307709=parseInt(_0x425a40(0x198))/0x1+-parseInt(_0x425a40(0x1a2))/0x2*(-parseInt(_0x425a40(0x18d))/0x3)+parseInt(_0x425a40(0x1a3))/0x4*(parseInt(_0x425a40(0x18c))/0x5)+parseInt(_0x425a40(0x191))/0x6+parseInt(_0x425a40(0x19c))/0x7*(parseInt(_0x425a40(0x1a8))/0x8)+-parseInt(_0x425a40(0x19e))/0x9+parseInt(_0x425a40(0x19b))/0xa*(-parseInt(_0x425a40(0x18e))/0xb);if(_0x307709===_0x1a6157)break;else _0x5e196b['push'](_0x5e196b['shift']());}catch(_0x51e610){_0x5e196b['push'](_0x5e196b['shift']());}}}(_0x138a,0x49469));import{CKEditorError as _0x3313b9}from'ckeditor5/src/utils.js';import _0x711f0e from'./protobuffactory.js';import _0x3d73aa from'./operationcompressor/operationcompressor.js';import _0x4af9aa from'./operationcompressor/attributeoperationcompressor.js';import _0x589692 from'./operationcompressor/insertoperationcompressor.js';import _0x74e94e from'./operationcompressor/markeroperationcompressor.js';function _0x138a(){const _0x36d4b6=['set','5944QCYLGo','length','_getCompressorByName','get','types','comment','DeletingAction','MoveOperation','no-operations-provided','MergeOperation','_registerOperationCompressor','forEach','SuggestionMarkerOperation','_protobufFactory','_registerActionCompressor','TypingAction','_compressorById','__className','NoOperation','1429215sYxUvv','57651iVLdVT','108251YRwgQm','RenameOperation','RootOperation','1140630zGexxn','CommentMarkerOperation','getDescriptor','ForwardDeletingAction','decompress','SplitOperation','UserSelectionAction','273143Dwbibb','InsertOperation','RootAttributeOperation','710kfyjeO','2674pDYsst','MarkerOperation','5322258gjZiIN','suggestion','AttributeOperation','_compressorByName','58NPSlYT','4IGzYZh','compress','_registerCompressor','baseVersion'];_0x138a=function(){return _0x36d4b6;};return _0x138a();}import _0x2cced8 from'./operationcompressor/nooperationcompressor.js';import _0x3d0280 from'./operationcompressor/annotationmarkeroperationcompressor.js';import _0x1a5c7f from'./actioncompressor/typingactioncompressor.js';function _0x26f5(_0x5a341f,_0x274112){const _0x138aa1=_0x138a();return _0x26f5=function(_0x26f521,_0x230f36){_0x26f521=_0x26f521-0x180;let _0x2db01a=_0x138aa1[_0x26f521];return _0x2db01a;},_0x26f5(_0x5a341f,_0x274112);}import _0x19f2e0 from'./actioncompressor/deletingactioncompressor.js';import _0x5bda75 from'./actioncompressor/forwarddeletingactioncompressor.js';import _0x4cef26 from'./actioncompressor/userselectionactioncompressor.js';export default class g{constructor(){const _0x17b9e9=_0x26f5;this[_0x17b9e9(0x189)]=new Map(),this[_0x17b9e9(0x1a1)]=new Map(),this[_0x17b9e9(0x186)]=new _0x711f0e();const _0x533537=this[_0x17b9e9(0x186)][_0x17b9e9(0x193)](_0x17b9e9(0x19d));this[_0x17b9e9(0x1a5)](0x1,_0x17b9e9(0x18b),new _0x2cced8(0x1,_0x17b9e9(0x18b),void 0x0)),this[_0x17b9e9(0x183)](0xa,_0x17b9e9(0x1a0),_0x4af9aa),this[_0x17b9e9(0x183)](0xb,_0x17b9e9(0x199),_0x589692),this[_0x17b9e9(0x183)](0xc,_0x17b9e9(0x19d),_0x74e94e),this[_0x17b9e9(0x183)](0xd,_0x17b9e9(0x182),_0x3d73aa),this[_0x17b9e9(0x183)](0xe,_0x17b9e9(0x180),_0x3d73aa),this[_0x17b9e9(0x183)](0xf,_0x17b9e9(0x18f),_0x3d73aa),this[_0x17b9e9(0x183)](0x10,_0x17b9e9(0x19a),_0x4af9aa),this[_0x17b9e9(0x183)](0x11,_0x17b9e9(0x196),_0x3d73aa),this[_0x17b9e9(0x1a5)](0x12,_0x17b9e9(0x192),new _0x3d0280(0x12,_0x17b9e9(0x19d),_0x533537,_0x17b9e9(0x1ad))),this[_0x17b9e9(0x1a5)](0x13,_0x17b9e9(0x185),new _0x3d0280(0x13,_0x17b9e9(0x19d),_0x533537,_0x17b9e9(0x19f))),this[_0x17b9e9(0x183)](0x14,_0x17b9e9(0x190),_0x3d73aa),this[_0x17b9e9(0x187)](0x64,_0x17b9e9(0x188),_0x1a5c7f),this[_0x17b9e9(0x187)](0x65,_0x17b9e9(0x1ae),_0x19f2e0),this[_0x17b9e9(0x187)](0x66,_0x17b9e9(0x194),_0x5bda75),this[_0x17b9e9(0x187)](0x67,_0x17b9e9(0x197),_0x4cef26);}[_0x270d12(0x1a4)](_0x2fe790){const _0x13741d=_0x270d12;if(!_0x2fe790||!_0x2fe790[0x0])throw new _0x3313b9(_0x13741d(0x181),this);const _0x5673c7={'types':[],'buffers':[],'baseVersion':_0x2fe790[0x0][_0x13741d(0x1a6)]};for(;_0x2fe790[_0x13741d(0x1a9)];)this[_0x13741d(0x1aa)](_0x13741d(0x197))[_0x13741d(0x1a4)](_0x5673c7,_0x2fe790)||this[_0x13741d(0x1aa)](_0x13741d(0x188))[_0x13741d(0x1a4)](_0x5673c7,_0x2fe790)||this[_0x13741d(0x1aa)](_0x13741d(0x1ae))[_0x13741d(0x1a4)](_0x5673c7,_0x2fe790)||this[_0x13741d(0x1aa)](_0x13741d(0x194))[_0x13741d(0x1a4)](_0x5673c7,_0x2fe790)||this[_0x13741d(0x1aa)](_0x13741d(0x192))[_0x13741d(0x1a4)](_0x5673c7,_0x2fe790)||this[_0x13741d(0x1aa)](_0x13741d(0x185))[_0x13741d(0x1a4)](_0x5673c7,_0x2fe790)||this[_0x13741d(0x1aa)](_0x2fe790[0x0][_0x13741d(0x18a)])[_0x13741d(0x1a4)](_0x5673c7,_0x2fe790);return _0x5673c7;}[_0x270d12(0x195)](_0xfee8fc){const _0x53d6dc=_0x270d12,_0x2f0e1a=[];for(;_0xfee8fc[_0x53d6dc(0x1ac)][_0x53d6dc(0x1a9)];){this[_0x53d6dc(0x189)][_0x53d6dc(0x1ab)](_0xfee8fc[_0x53d6dc(0x1ac)][0x0])[_0x53d6dc(0x195)](_0x2f0e1a,_0xfee8fc);}return _0x2f0e1a[_0x53d6dc(0x184)]((_0xca5a31,_0x340d12)=>_0xca5a31[_0x53d6dc(0x1a6)]=_0xfee8fc[_0x53d6dc(0x1a6)]+_0x340d12),_0x2f0e1a;}[_0x270d12(0x1aa)](_0x40ace3){const _0x45fac7=_0x270d12;return this[_0x45fac7(0x1a1)][_0x45fac7(0x1ab)](_0x40ace3);}[_0x270d12(0x183)](_0x180a72,_0x32d3b0,_0x765609){const _0x5660ac=_0x270d12,_0x2c9741=new _0x765609(_0x180a72,_0x32d3b0,this[_0x5660ac(0x186)][_0x5660ac(0x193)](_0x32d3b0));this[_0x5660ac(0x1a5)](_0x180a72,_0x32d3b0,_0x2c9741);}[_0x270d12(0x187)](_0x491401,_0x1c3cf3,_0x2e644f){const _0x474ba7=_0x270d12,_0x1e12f3=new _0x2e644f(_0x491401,this);this[_0x474ba7(0x1a5)](_0x491401,_0x1c3cf3,_0x1e12f3);}[_0x270d12(0x1a5)](_0x2bf137,_0x506c3f,_0x49ca7a){const _0x1b5c0a=_0x270d12;this[_0x1b5c0a(0x189)][_0x1b5c0a(0x1a7)](_0x2bf137,_0x49ca7a),this[_0x1b5c0a(0x1a1)][_0x1b5c0a(0x1a7)](_0x506c3f,_0x49ca7a);}}
package/src/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, 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
+ export { default as Compressor, type CompressedOperationsData } from './compressor.js';
package/src/index.js ADDED
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, 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
+ function _0x27d8(){var _0x3c85ec=['6234246LvbqmV','2556855oSaaLt','2452182bRPyiU','71439IIszdi','189584hyJJdn','4OTOzvr','4767644YzsYqE','608762tLkcJj'];_0x27d8=function(){return _0x3c85ec;};return _0x27d8();}(function(_0x4bd09b,_0x373fa9){var _0x593041=_0x58a3,_0xefb07c=_0x4bd09b();while(!![]){try{var _0xd121a0=-parseInt(_0x593041(0xf3))/0x1+parseInt(_0x593041(0xee))/0x2+-parseInt(_0x593041(0xef))/0x3*(parseInt(_0x593041(0xf1))/0x4)+parseInt(_0x593041(0xed))/0x5+-parseInt(_0x593041(0xf4))/0x6+parseInt(_0x593041(0xf2))/0x7+-parseInt(_0x593041(0xf0))/0x8;if(_0xd121a0===_0x373fa9)break;else _0xefb07c['push'](_0xefb07c['shift']());}catch(_0x29e5a2){_0xefb07c['push'](_0xefb07c['shift']());}}}(_0x27d8,0xb0928));function _0x58a3(_0x12b348,_0xca8772){var _0x27d829=_0x27d8();return _0x58a3=function(_0x58a347,_0xa78a1d){_0x58a347=_0x58a347-0xed;var _0x289ae8=_0x27d829[_0x58a347];return _0x289ae8;},_0x58a3(_0x12b348,_0xca8772);}export{default as Compressor}from'./compressor.js';