@ckeditor/ckeditor5-operations-compressor 41.3.1 → 41.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.
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",
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",
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
+ const _0x41ce6d=_0x584d;function _0x3829(){const _0x37979f=['3PcvjUK','_id','_compareOperations','13CPZPDU','2656072yxkvTk','compress','4514140kjZJmC','272892IfUTqb','push','43352988AHjAOk','_context','length','_decompressSingleOperation','types','74284HEUTFb','decompress','_combineNext','_splitCurrent','25zRBHpu','_compressSingleOperation','2480401rQwbBE','38wJKuSh','2491173BuTFYL','shift','22ZChCKH','16XiKrvO','buffers'];_0x3829=function(){return _0x37979f;};return _0x3829();}function _0x584d(_0x807f3d,_0x364c2d){const _0x382992=_0x3829();return _0x584d=function(_0x584d7a,_0x2dd416){_0x584d7a=_0x584d7a-0x12e;let _0x221c04=_0x382992[_0x584d7a];return _0x221c04;},_0x584d(_0x807f3d,_0x364c2d);}(function(_0x28353e,_0x25fd9f){const _0x36e95c=_0x584d,_0x1152b2=_0x28353e();while(!![]){try{const _0x355a74=parseInt(_0x36e95c(0x145))/0x1*(-parseInt(_0x36e95c(0x13e))/0x2)+-parseInt(_0x36e95c(0x130))/0x3*(-parseInt(_0x36e95c(0x134))/0x4)+-parseInt(_0x36e95c(0x142))/0x5*(parseInt(_0x36e95c(0x137))/0x6)+-parseInt(_0x36e95c(0x144))/0x7+parseInt(_0x36e95c(0x12e))/0x8*(-parseInt(_0x36e95c(0x146))/0x9)+-parseInt(_0x36e95c(0x136))/0xa*(parseInt(_0x36e95c(0x148))/0xb)+parseInt(_0x36e95c(0x139))/0xc*(parseInt(_0x36e95c(0x133))/0xd);if(_0x355a74===_0x25fd9f)break;else _0x1152b2['push'](_0x1152b2['shift']());}catch(_0x5e3f6c){_0x1152b2['push'](_0x1152b2['shift']());}}}(_0x3829,0xc9f3c));import{cloneDeep as _0x115277}from'lodash-es';export default class b{constructor(_0x3d27ae,_0x166f7c){const _0x34f2c9=_0x584d;this[_0x34f2c9(0x131)]=_0x3d27ae,this[_0x34f2c9(0x13a)]=_0x166f7c;}[_0x41ce6d(0x135)](_0x56b2da,_0x2bf9f6){const _0x1107da=_0x41ce6d;let _0x542bc6;for(;_0x2bf9f6[_0x1107da(0x13b)]>0x1&&this[_0x1107da(0x132)](_0x2bf9f6[0x0],_0x2bf9f6[0x1]);)_0x542bc6?(_0x542bc6=this[_0x1107da(0x140)](_0x2bf9f6[_0x1107da(0x147)](),_0x542bc6),_0x56b2da[_0x1107da(0x13d)][_0x1107da(0x138)](0x0)):(_0x542bc6=_0x115277(_0x2bf9f6[_0x1107da(0x147)]()),_0x56b2da[_0x1107da(0x13d)][_0x1107da(0x138)](this[_0x1107da(0x131)]));return!!_0x542bc6&&(_0x542bc6=this[_0x1107da(0x140)](_0x2bf9f6[_0x1107da(0x147)](),_0x542bc6),_0x56b2da[_0x1107da(0x13d)][_0x1107da(0x138)](0x0),_0x56b2da[_0x1107da(0x12f)][_0x1107da(0x138)](this[_0x1107da(0x143)](_0x542bc6)),!0x0);}[_0x41ce6d(0x13f)](_0x3a7137,_0x4c0584){const _0x472e96=_0x41ce6d,_0x1dd678=this[_0x472e96(0x13c)](_0x4c0584);for(;0x0==_0x4c0584[_0x472e96(0x13d)][0x0];)_0x4c0584[_0x472e96(0x13d)][_0x472e96(0x147)](),_0x3a7137[_0x472e96(0x138)](this[_0x472e96(0x141)](_0x1dd678));_0x3a7137[_0x472e96(0x138)](_0x1dd678);}}
@@ -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 _0x3f79a5=_0x388b;(function(_0x3f2026,_0x5f297d){const _0x996c0f=_0x388b,_0xfa81dd=_0x3f2026();while(!![]){try{const _0x107180=parseInt(_0x996c0f(0x142))/0x1*(-parseInt(_0x996c0f(0x134))/0x2)+parseInt(_0x996c0f(0x127))/0x3*(parseInt(_0x996c0f(0x138))/0x4)+-parseInt(_0x996c0f(0x137))/0x5+-parseInt(_0x996c0f(0x13d))/0x6*(-parseInt(_0x996c0f(0x12b))/0x7)+-parseInt(_0x996c0f(0x129))/0x8*(parseInt(_0x996c0f(0x131))/0x9)+-parseInt(_0x996c0f(0x128))/0xa*(-parseInt(_0x996c0f(0x12a))/0xb)+parseInt(_0x996c0f(0x12c))/0xc;if(_0x107180===_0x5f297d)break;else _0xfa81dd['push'](_0xfa81dd['shift']());}catch(_0x53e3ab){_0xfa81dd['push'](_0xfa81dd['shift']());}}}(_0x38ee,0xe1b74));import _0x3c4c5b from'./actioncompressor.js';import{arePositionsEqual as _0x39ac85,getPositionShiftedBy as _0x54a8b2}from'../utils.js';import{cloneDeep as _0xc8f045}from'lodash-es';function _0x38ee(){const _0x544e20=['_compareOperations','_getCompressorByName','_combineNext','targetPosition','2212242MXdthH','_decompressSingleOperation','__className','wasUndone','decompress','27771oihzOG','_splitCurrent','buffers','_context','376485MpGZqr','10SrQStO','376edShkH','4545915ztHvmd','35wiIvZG','29805312iHGmBT','compress','root','sourcePosition','_compressSingleOperation','344385QgvChn','_checkOperation','MoveOperation','86wjIZLq','howMany','$graveyard','7254555bJmcVF','20vjFWQr'];_0x38ee=function(){return _0x544e20;};return _0x38ee();}function _0x388b(_0x5065a4,_0x2f8516){const _0x38eeb2=_0x38ee();return _0x388b=function(_0x388b74,_0x4d5fb9){_0x388b74=_0x388b74-0x124;let _0x462141=_0x38eeb2[_0x388b74];return _0x462141;},_0x388b(_0x5065a4,_0x2f8516);}export default class c extends _0x3c4c5b{[_0x3f79a5(0x13b)](_0x7924a9,_0x133336){const _0xd6f778=_0x3f79a5;return _0x133336[_0xd6f778(0x135)]++,_0x133336[_0xd6f778(0x12f)]=_0xc8f045(_0x7924a9[_0xd6f778(0x12f)]),_0x133336;}[_0x3f79a5(0x124)](_0x198da3){const _0x556699=_0x3f79a5,_0x3be29d=_0xc8f045(_0x198da3);return _0x198da3[_0x556699(0x135)]--,_0x3be29d[_0x556699(0x135)]=0x1,_0x3be29d[_0x556699(0x12f)]=_0x54a8b2(_0x3be29d[_0x556699(0x12f)],_0x198da3[_0x556699(0x135)]),_0x3be29d;}[_0x3f79a5(0x139)](_0x3cb4a3,_0x4caa92){const _0x1a50ea=_0x3f79a5;return!(!this[_0x1a50ea(0x132)](_0x3cb4a3)||!this[_0x1a50ea(0x132)](_0x4caa92))&&(_0x39ac85(_0x54a8b2(_0x3cb4a3[_0x1a50ea(0x12f)],-0x1),_0x4caa92[_0x1a50ea(0x12f)])&&_0x39ac85(_0x3cb4a3[_0x1a50ea(0x13c)],_0x4caa92[_0x1a50ea(0x13c)]));}[_0x3f79a5(0x130)](_0x22f0fd){const _0x4292b5=_0x3f79a5,_0x204bcd={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x4292b5(0x126)][_0x4292b5(0x13a)](_0x4292b5(0x133))[_0x4292b5(0x12d)](_0x204bcd,[_0x22f0fd]),_0x204bcd[_0x4292b5(0x125)][0x0];}[_0x3f79a5(0x13e)](_0x180937){const _0x2f8b06=_0x3f79a5,_0x37d886=[];return this[_0x2f8b06(0x126)][_0x2f8b06(0x13a)](_0x2f8b06(0x133))[_0x2f8b06(0x141)](_0x37d886,_0x180937),_0x37d886[0x0];}[_0x3f79a5(0x132)](_0xbfb6b5){const _0x193a16=_0x3f79a5;return _0x193a16(0x133)==_0xbfb6b5[_0x193a16(0x13f)]&&_0x193a16(0x136)==_0xbfb6b5[_0x193a16(0x13c)][_0x193a16(0x12e)]&&0x1==_0xbfb6b5[_0x193a16(0x135)]&&!_0xbfb6b5[_0x193a16(0x140)];}}
@@ -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 _0x5c0fbf=_0x52e3;(function(_0xed3474,_0x45b0f0){const _0x13184c=_0x52e3,_0x22960b=_0xed3474();while(!![]){try{const _0x4f4adb=-parseInt(_0x13184c(0x16d))/0x1+parseInt(_0x13184c(0x166))/0x2*(parseInt(_0x13184c(0x162))/0x3)+parseInt(_0x13184c(0x169))/0x4+parseInt(_0x13184c(0x172))/0x5*(parseInt(_0x13184c(0x167))/0x6)+parseInt(_0x13184c(0x159))/0x7+parseInt(_0x13184c(0x171))/0x8*(parseInt(_0x13184c(0x164))/0x9)+-parseInt(_0x13184c(0x16c))/0xa;if(_0x4f4adb===_0x45b0f0)break;else _0x22960b['push'](_0x22960b['shift']());}catch(_0x3f66b8){_0x22960b['push'](_0x22960b['shift']());}}}(_0x5c1c,0xba25b));import _0x35b116 from'./actioncompressor.js';function _0x52e3(_0x34718c,_0x1fde1d){const _0x5c1c8a=_0x5c1c();return _0x52e3=function(_0x52e35c,_0x1e7320){_0x52e35c=_0x52e35c-0x158;let _0xb50498=_0x5c1c8a[_0x52e35c];return _0xb50498;},_0x52e3(_0x34718c,_0x1fde1d);}import{arePositionsEqual as _0x3494c1}from'../utils.js';import{cloneDeep as _0x274d72}from'lodash-es';export default class h extends _0x35b116{[_0x5c0fbf(0x174)](_0x5b6f4b,_0x3782ab){const _0x403aaf=_0x5c0fbf;return _0x3782ab[_0x403aaf(0x165)]++,_0x3782ab;}[_0x5c0fbf(0x163)](_0xbffb0){const _0x45ea0e=_0x5c0fbf,_0x1a4613=_0x274d72(_0xbffb0);return _0x1a4613[_0x45ea0e(0x165)]=0x1,_0xbffb0[_0x45ea0e(0x165)]--,_0x1a4613;}[_0x5c0fbf(0x15c)](_0x28e891,_0x484340){const _0x26d4f1=_0x5c0fbf;return!(!this[_0x26d4f1(0x15f)](_0x28e891)||!this[_0x26d4f1(0x15f)](_0x484340))&&(_0x3494c1(_0x28e891[_0x26d4f1(0x173)],_0x484340[_0x26d4f1(0x173)])&&_0x3494c1(_0x28e891[_0x26d4f1(0x16f)],_0x484340[_0x26d4f1(0x16f)]));}[_0x5c0fbf(0x15a)](_0x5d308b){const _0x2cbdc3=_0x5c0fbf,_0x19f3a6={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2cbdc3(0x161)][_0x2cbdc3(0x16a)](_0x2cbdc3(0x15d))[_0x2cbdc3(0x15e)](_0x19f3a6,[_0x5d308b]),_0x19f3a6[_0x2cbdc3(0x160)][0x0];}[_0x5c0fbf(0x16e)](_0x57d191){const _0x3646cc=_0x5c0fbf,_0x1a632b=[];return this[_0x3646cc(0x161)][_0x3646cc(0x16a)](_0x3646cc(0x15d))[_0x3646cc(0x168)](_0x1a632b,_0x57d191),_0x1a632b[0x0];}[_0x5c0fbf(0x15f)](_0x398ca6){const _0x4caadd=_0x5c0fbf;return _0x4caadd(0x15d)==_0x398ca6[_0x4caadd(0x15b)]&&_0x4caadd(0x16b)==_0x398ca6[_0x4caadd(0x16f)][_0x4caadd(0x158)]&&0x1==_0x398ca6[_0x4caadd(0x165)]&&!_0x398ca6[_0x4caadd(0x170)];}}function _0x5c1c(){const _0x5bc255=['3015972UpRXzf','_splitCurrent','10071dIpYqg','howMany','2JqupLa','6907386ezYylR','decompress','1950588RaJAZR','_getCompressorByName','$graveyard','19250170YVoUmS','725418oPNvZK','_decompressSingleOperation','targetPosition','wasUndone','5224cAkMec','5PXDkiG','sourcePosition','_combineNext','root','265895xglDDB','_compressSingleOperation','__className','_compareOperations','MoveOperation','compress','_checkOperation','buffers','_context'];_0x5c1c=function(){return _0x5bc255;};return _0x5c1c();}
@@ -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 _0x2fc2(){const _0x30f2e3=['72560BHPVjh','compress','InsertOperation','iterator','3126UnqiWV','253390YtiPsd','30904GkRESY','from','_compareOperations','length','wasUndone','298839XQnVqO','_compressSingleOperation','_getCompressorByName','nodes','next','position','1834eStYpZ','data','substr','every','decompress','_splitCurrent','__className','_decompressSingleOperation','value','_compareAttributes','77OaZIBp','_checkOperation','_combineNext','207112nuREjA','keys','_context','18aivZZm','attributes','buffers','216438hopfZG','44CnGixB'];_0x2fc2=function(){return _0x30f2e3;};return _0x2fc2();}const _0x36421c=_0x4e45;(function(_0x16c4eb,_0x4a6ed4){const _0x5e52d4=_0x4e45,_0x3d8138=_0x16c4eb();while(!![]){try{const _0x2e43cc=parseInt(_0x5e52d4(0x18e))/0x1+-parseInt(_0x5e52d4(0x188))/0x2+-parseInt(_0x5e52d4(0x19b))/0x3+parseInt(_0x5e52d4(0x18f))/0x4*(parseInt(_0x5e52d4(0x190))/0x5)+-parseInt(_0x5e52d4(0x194))/0x6*(-parseInt(_0x5e52d4(0x17b))/0x7)+-parseInt(_0x5e52d4(0x196))/0x8*(parseInt(_0x5e52d4(0x18b))/0x9)+parseInt(_0x5e52d4(0x195))/0xa*(-parseInt(_0x5e52d4(0x185))/0xb);if(_0x2e43cc===_0x4a6ed4)break;else _0x3d8138['push'](_0x3d8138['shift']());}catch(_0x35d57f){_0x3d8138['push'](_0x3d8138['shift']());}}}(_0x2fc2,0x1e590));import _0x35711d from'./actioncompressor.js';import{arePositionsEqual as _0x266b74,getPositionShiftedBy as _0x511193}from'../utils.js';import{cloneDeep as _0x2c12c5}from'lodash-es';function _0x4e45(_0xe1830a,_0x5810cd){const _0x2fc21c=_0x2fc2();return _0x4e45=function(_0x4e45d0,_0x2974fd){_0x4e45d0=_0x4e45d0-0x178;let _0x24f38c=_0x2fc21c[_0x4e45d0];return _0x24f38c;},_0x4e45(_0xe1830a,_0x5810cd);}export default class m extends _0x35711d{[_0x36421c(0x187)](_0x243b1f,_0x54da8f){const _0x28d7e4=_0x36421c;return _0x54da8f[_0x28d7e4(0x178)][0x0][_0x28d7e4(0x17c)]+=_0x243b1f[_0x28d7e4(0x178)][0x0][_0x28d7e4(0x17c)],_0x54da8f;}[_0x36421c(0x180)](_0x34ebf1){const _0x51663b=_0x36421c,_0x48e672=_0x2c12c5(_0x34ebf1),_0x279b9c=_0x48e672[_0x51663b(0x178)][0x0],_0x5b4ea0=_0x34ebf1[_0x51663b(0x178)][0x0],_0x1c7af6=_0x5b4ea0[_0x51663b(0x17c)][Symbol[_0x51663b(0x193)]]()[_0x51663b(0x179)]()[_0x51663b(0x183)],_0x40bd8f=_0x1c7af6[_0x51663b(0x199)];return _0x279b9c[_0x51663b(0x17c)]=_0x1c7af6,_0x5b4ea0[_0x51663b(0x17c)]=_0x5b4ea0[_0x51663b(0x17c)][_0x51663b(0x17d)](_0x40bd8f),_0x34ebf1[_0x51663b(0x17a)]=_0x511193(_0x34ebf1[_0x51663b(0x17a)],_0x40bd8f),_0x48e672;}[_0x36421c(0x198)](_0x5278a1,_0x2cb631){const _0x38adad=_0x36421c;if(this[_0x38adad(0x186)](_0x5278a1)&&this[_0x38adad(0x186)](_0x2cb631)){const _0x11af99=_0x5278a1[_0x38adad(0x178)][0x0][_0x38adad(0x17c)][_0x38adad(0x199)],_0x205e81=_0x266b74(_0x511193(_0x5278a1[_0x38adad(0x17a)],_0x11af99),_0x2cb631[_0x38adad(0x17a)]),_0x28127a=_0x5278a1[_0x38adad(0x178)][0x0],_0x23113a=_0x2cb631[_0x38adad(0x178)][0x0];return _0x205e81&&this[_0x38adad(0x184)](_0x28127a,_0x23113a);}return!0x1;}[_0x36421c(0x19c)](_0x2c4d77){const _0x9f728c=_0x36421c,_0x1bba5a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x9f728c(0x18a)][_0x9f728c(0x19d)](_0x9f728c(0x192))[_0x9f728c(0x191)](_0x1bba5a,[_0x2c4d77]),_0x1bba5a[_0x9f728c(0x18d)][0x0];}[_0x36421c(0x182)](_0x24e2f3){const _0x4067b9=_0x36421c,_0x6c0190=[];return this[_0x4067b9(0x18a)][_0x4067b9(0x19d)](_0x4067b9(0x192))[_0x4067b9(0x17f)](_0x6c0190,_0x24e2f3),_0x6c0190[0x0];}[_0x36421c(0x186)](_0x7c831b){const _0x3273a1=_0x36421c;return _0x3273a1(0x192)==_0x7c831b[_0x3273a1(0x181)]&&0x1==_0x7c831b[_0x3273a1(0x178)][_0x3273a1(0x199)]&&_0x7c831b[_0x3273a1(0x178)][0x0][_0x3273a1(0x17c)]&&!_0x7c831b[_0x3273a1(0x19a)]&&0x1==Array[_0x3273a1(0x197)](_0x7c831b[_0x3273a1(0x178)][0x0][_0x3273a1(0x17c)])[_0x3273a1(0x199)];}[_0x36421c(0x184)](_0x808e92,_0x2eda80){const _0x121884=_0x36421c,_0x273cf6=Object[_0x121884(0x189)](_0x808e92[_0x121884(0x18c)]||{}),_0x2cd760=Object[_0x121884(0x189)](_0x2eda80[_0x121884(0x18c)]||{});return _0x273cf6[_0x121884(0x199)]===_0x2cd760[_0x121884(0x199)]&&_0x273cf6[_0x121884(0x17e)](_0x35f8db=>_0x2eda80[_0x121884(0x18c)][_0x35f8db]&&_0x2eda80[_0x121884(0x18c)][_0x35f8db]===_0x808e92[_0x121884(0x18c)][_0x35f8db]);}}
@@ -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
+ const _0x16f729=_0x1ab0;(function(_0x2b256e,_0xadb541){const _0x3ceee6=_0x1ab0,_0x1684dd=_0x2b256e();while(!![]){try{const _0x4257dc=parseInt(_0x3ceee6(0x10e))/0x1*(parseInt(_0x3ceee6(0x104))/0x2)+parseInt(_0x3ceee6(0x100))/0x3+-parseInt(_0x3ceee6(0x11b))/0x4+-parseInt(_0x3ceee6(0x11c))/0x5+parseInt(_0x3ceee6(0xfe))/0x6*(parseInt(_0x3ceee6(0x115))/0x7)+-parseInt(_0x3ceee6(0x11f))/0x8*(parseInt(_0x3ceee6(0x11a))/0x9)+-parseInt(_0x3ceee6(0xff))/0xa;if(_0x4257dc===_0xadb541)break;else _0x1684dd['push'](_0x1684dd['shift']());}catch(_0x4f0f33){_0x1684dd['push'](_0x1684dd['shift']());}}}(_0x5945,0x37f23));function _0x5945(){const _0x4dc8b8=['buffers','10GEixNp','start','push','user:','types','startsWith','_compareOperations','newRange','split','decompress','89710jwcYFK','stickiness','_compressSingleOperation','toNone','shift','_id','_context','934892lsANwX','name','__className','oldRange','end','99tXVNNp','430764DesfGn','2083655vSDNuZ','compress','user:position:','142616QVwLHg','_getCompressorByName','18ZudZYv','637350wpwigy','492573JoOFOm','MarkerOperation','_decompressSingleOperation'];_0x5945=function(){return _0x4dc8b8;};return _0x5945();}import _0x1f1593 from'./actioncompressor.js';import{arePositionsEqual as _0x1cedd7}from'../utils.js';function _0x1ab0(_0x2973a8,_0x5d3180){const _0x5945c0=_0x5945();return _0x1ab0=function(_0x1ab011,_0x29cf43){_0x1ab011=_0x1ab011-0xfe;let _0x3256a9=_0x5945c0[_0x1ab011];return _0x3256a9;},_0x1ab0(_0x2973a8,_0x5d3180);}import{cloneDeep as _0x29130f}from'lodash-es';export default class f extends _0x1f1593{[_0x16f729(0x11d)](_0x15fb16,_0x4d88a1){const _0x3d8e8d=_0x16f729;if(!this[_0x3d8e8d(0x10a)](_0x4d88a1[0x0],_0x4d88a1[0x1]))return!0x1;const _0x12b4d0=_0x4d88a1[_0x3d8e8d(0x112)]();return _0x12b4d0[_0x3d8e8d(0x118)]=null,_0x12b4d0[_0x3d8e8d(0x10b)]&&_0x1cedd7(_0x12b4d0[_0x3d8e8d(0x10b)][_0x3d8e8d(0x105)],_0x12b4d0[_0x3d8e8d(0x10b)][_0x3d8e8d(0x119)])&&(_0x12b4d0[_0x3d8e8d(0x10b)][_0x3d8e8d(0x119)]=null),_0x4d88a1[_0x3d8e8d(0x112)](),_0x15fb16[_0x3d8e8d(0x108)][_0x3d8e8d(0x106)](this[_0x3d8e8d(0x113)]),_0x15fb16[_0x3d8e8d(0x108)][_0x3d8e8d(0x106)](0x0),_0x15fb16[_0x3d8e8d(0x103)][_0x3d8e8d(0x106)](this[_0x3d8e8d(0x110)](_0x12b4d0)),!0x0;}[_0x16f729(0x10d)](_0x46d787,_0x321112){const _0x5e6249=_0x16f729,_0x56959e=this[_0x5e6249(0x102)](_0x321112);_0x56959e[_0x5e6249(0x10b)]&&!_0x56959e[_0x5e6249(0x10b)][_0x5e6249(0x119)]&&(_0x56959e[_0x5e6249(0x10b)][_0x5e6249(0x119)]=_0x29130f(_0x56959e[_0x5e6249(0x10b)][_0x5e6249(0x105)]));const _0x3946a0=_0x29130f(_0x56959e);_0x3946a0[_0x5e6249(0x10b)]&&(_0x3946a0[_0x5e6249(0x10b)][_0x5e6249(0x105)][_0x5e6249(0x10f)]=_0x5e6249(0x111),_0x3946a0[_0x5e6249(0x10b)][_0x5e6249(0x119)]=_0x29130f(_0x3946a0[_0x5e6249(0x10b)][_0x5e6249(0x105)])),_0x3946a0[_0x5e6249(0x116)]=_0x5e6249(0x11e)+_0x3946a0[_0x5e6249(0x116)][_0x5e6249(0x10c)](':')[0x2],_0x321112[_0x5e6249(0x108)][_0x5e6249(0x112)](),_0x46d787[_0x5e6249(0x106)](_0x56959e),_0x46d787[_0x5e6249(0x106)](_0x3946a0);}[_0x16f729(0x110)](_0x5e8d5d){const _0x485a3d=_0x16f729,_0x333ca1={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x485a3d(0x114)][_0x485a3d(0x120)](_0x485a3d(0x101))[_0x485a3d(0x11d)](_0x333ca1,[_0x5e8d5d]),_0x333ca1[_0x485a3d(0x103)][0x0];}[_0x16f729(0x102)](_0x10c187){const _0x5f59d1=_0x16f729,_0x1cd3d6=[];return this[_0x5f59d1(0x114)][_0x5f59d1(0x120)](_0x5f59d1(0x101))[_0x5f59d1(0x10d)](_0x1cd3d6,_0x10c187),_0x1cd3d6[0x0];}[_0x16f729(0x10a)](_0x485f3e,_0x1119a3){const _0x377ee4=_0x16f729;return!(!_0x485f3e||!_0x1119a3)&&(_0x377ee4(0x101)==_0x485f3e[_0x377ee4(0x117)]&&_0x377ee4(0x101)==_0x1119a3[_0x377ee4(0x117)]&&!(!_0x485f3e[_0x377ee4(0x116)][_0x377ee4(0x109)](_0x377ee4(0x107))||!_0x1119a3[_0x377ee4(0x116)][_0x377ee4(0x109)](_0x377ee4(0x107))||_0x485f3e[_0x377ee4(0x116)]==_0x1119a3[_0x377ee4(0x116)]));}}
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 _0x2d4ca5=_0x529f;(function(_0x4a25cc,_0x292eb1){const _0x2d7b9f=_0x529f,_0x3ed3f8=_0x4a25cc();while(!![]){try{const _0x504ecd=-parseInt(_0x2d7b9f(0x167))/0x1*(-parseInt(_0x2d7b9f(0x162))/0x2)+-parseInt(_0x2d7b9f(0x16f))/0x3+parseInt(_0x2d7b9f(0x16e))/0x4*(-parseInt(_0x2d7b9f(0x18b))/0x5)+parseInt(_0x2d7b9f(0x16c))/0x6+parseInt(_0x2d7b9f(0x168))/0x7*(parseInt(_0x2d7b9f(0x174))/0x8)+-parseInt(_0x2d7b9f(0x17b))/0x9+-parseInt(_0x2d7b9f(0x166))/0xa*(-parseInt(_0x2d7b9f(0x17e))/0xb);if(_0x504ecd===_0x292eb1)break;else _0x3ed3f8['push'](_0x3ed3f8['shift']());}catch(_0x4453ea){_0x3ed3f8['push'](_0x3ed3f8['shift']());}}}(_0x275a,0xb940e));import{CKEditorError as _0x18eb17}from'ckeditor5/src/utils.js';import _0x57f21d from'./protobuffactory.js';import _0x27896a from'./operationcompressor/operationcompressor.js';import _0xd4937d from'./operationcompressor/attributeoperationcompressor.js';import _0x888180 from'./operationcompressor/insertoperationcompressor.js';import _0x36a05c from'./operationcompressor/markeroperationcompressor.js';import _0x4e9409 from'./operationcompressor/nooperationcompressor.js';import _0x2c6df6 from'./operationcompressor/annotationmarkeroperationcompressor.js';function _0x275a(){const _0x5f4c81=['7EefZHA','MergeOperation','MoveOperation','NoOperation','7411410enrKdJ','ForwardDeletingAction','4sUcoMH','4053171VBPiZx','CommentMarkerOperation','DeletingAction','TypingAction','_protobufFactory','3117704DDGuFZ','RootAttributeOperation','get','UserSelectionAction','_getCompressorByName','_registerActionCompressor','RootOperation','6375141QfRMZm','compress','InsertOperation','242vFMBhT','SuggestionMarkerOperation','set','AttributeOperation','length','types','_compressorByName','getDescriptor','baseVersion','_registerOperationCompressor','_compressorById','_registerCompressor','MarkerOperation','1798150udKDIn','RenameOperation','__className','SplitOperation','comment','no-operations-provided','5596JmIXjG','suggestion','forEach','decompress','295060PSZGdq','323dAXjoF'];_0x275a=function(){return _0x5f4c81;};return _0x275a();}import _0x555597 from'./actioncompressor/typingactioncompressor.js';function _0x529f(_0x14dbeb,_0x27ed52){const _0x275aaf=_0x275a();return _0x529f=function(_0x529f3b,_0x577005){_0x529f3b=_0x529f3b-0x15e;let _0x293458=_0x275aaf[_0x529f3b];return _0x293458;},_0x529f(_0x14dbeb,_0x27ed52);}import _0x58bd16 from'./actioncompressor/deletingactioncompressor.js';import _0x5d9acc from'./actioncompressor/forwarddeletingactioncompressor.js';import _0x5b424d from'./actioncompressor/userselectionactioncompressor.js';export default class g{constructor(){const _0x592ecb=_0x529f;this[_0x592ecb(0x188)]=new Map(),this[_0x592ecb(0x184)]=new Map(),this[_0x592ecb(0x173)]=new _0x57f21d();const _0x42b0de=this[_0x592ecb(0x173)][_0x592ecb(0x185)](_0x592ecb(0x18a));this[_0x592ecb(0x189)](0x1,_0x592ecb(0x16b),new _0x4e9409(0x1,_0x592ecb(0x16b),void 0x0)),this[_0x592ecb(0x187)](0xa,_0x592ecb(0x181),_0xd4937d),this[_0x592ecb(0x187)](0xb,_0x592ecb(0x17d),_0x888180),this[_0x592ecb(0x187)](0xc,_0x592ecb(0x18a),_0x36a05c),this[_0x592ecb(0x187)](0xd,_0x592ecb(0x169),_0x27896a),this[_0x592ecb(0x187)](0xe,_0x592ecb(0x16a),_0x27896a),this[_0x592ecb(0x187)](0xf,_0x592ecb(0x18c),_0x27896a),this[_0x592ecb(0x187)](0x10,_0x592ecb(0x175),_0xd4937d),this[_0x592ecb(0x187)](0x11,_0x592ecb(0x15f),_0x27896a),this[_0x592ecb(0x189)](0x12,_0x592ecb(0x170),new _0x2c6df6(0x12,_0x592ecb(0x18a),_0x42b0de,_0x592ecb(0x160))),this[_0x592ecb(0x189)](0x13,_0x592ecb(0x17f),new _0x2c6df6(0x13,_0x592ecb(0x18a),_0x42b0de,_0x592ecb(0x163))),this[_0x592ecb(0x187)](0x14,_0x592ecb(0x17a),_0x27896a),this[_0x592ecb(0x179)](0x64,_0x592ecb(0x172),_0x555597),this[_0x592ecb(0x179)](0x65,_0x592ecb(0x171),_0x58bd16),this[_0x592ecb(0x179)](0x66,_0x592ecb(0x16d),_0x5d9acc),this[_0x592ecb(0x179)](0x67,_0x592ecb(0x177),_0x5b424d);}[_0x2d4ca5(0x17c)](_0x4502b1){const _0x401022=_0x2d4ca5;if(!_0x4502b1||!_0x4502b1[0x0])throw new _0x18eb17(_0x401022(0x161),this);const _0x436aca={'types':[],'buffers':[],'baseVersion':_0x4502b1[0x0][_0x401022(0x186)]};for(;_0x4502b1[_0x401022(0x182)];)this[_0x401022(0x178)](_0x401022(0x177))[_0x401022(0x17c)](_0x436aca,_0x4502b1)||this[_0x401022(0x178)](_0x401022(0x172))[_0x401022(0x17c)](_0x436aca,_0x4502b1)||this[_0x401022(0x178)](_0x401022(0x171))[_0x401022(0x17c)](_0x436aca,_0x4502b1)||this[_0x401022(0x178)](_0x401022(0x16d))[_0x401022(0x17c)](_0x436aca,_0x4502b1)||this[_0x401022(0x178)](_0x401022(0x170))[_0x401022(0x17c)](_0x436aca,_0x4502b1)||this[_0x401022(0x178)](_0x401022(0x17f))[_0x401022(0x17c)](_0x436aca,_0x4502b1)||this[_0x401022(0x178)](_0x4502b1[0x0][_0x401022(0x15e)])[_0x401022(0x17c)](_0x436aca,_0x4502b1);return _0x436aca;}[_0x2d4ca5(0x165)](_0x3dc198){const _0x59ae5a=_0x2d4ca5,_0x2751e1=[];for(;_0x3dc198[_0x59ae5a(0x183)][_0x59ae5a(0x182)];){this[_0x59ae5a(0x188)][_0x59ae5a(0x176)](_0x3dc198[_0x59ae5a(0x183)][0x0])[_0x59ae5a(0x165)](_0x2751e1,_0x3dc198);}return _0x2751e1[_0x59ae5a(0x164)]((_0x43378e,_0x26fd56)=>_0x43378e[_0x59ae5a(0x186)]=_0x3dc198[_0x59ae5a(0x186)]+_0x26fd56),_0x2751e1;}[_0x2d4ca5(0x178)](_0x511f50){const _0x70d380=_0x2d4ca5;return this[_0x70d380(0x184)][_0x70d380(0x176)](_0x511f50);}[_0x2d4ca5(0x187)](_0x55ce9d,_0x37a1f0,_0x438721){const _0x255de4=_0x2d4ca5,_0x1cff89=new _0x438721(_0x55ce9d,_0x37a1f0,this[_0x255de4(0x173)][_0x255de4(0x185)](_0x37a1f0));this[_0x255de4(0x189)](_0x55ce9d,_0x37a1f0,_0x1cff89);}[_0x2d4ca5(0x179)](_0x3fc472,_0x437682,_0x5d013d){const _0x575684=_0x2d4ca5,_0x3e8219=new _0x5d013d(_0x3fc472,this);this[_0x575684(0x189)](_0x3fc472,_0x437682,_0x3e8219);}[_0x2d4ca5(0x189)](_0x24a4ae,_0x109cd7,_0x52da4a){const _0x36099b=_0x2d4ca5;this[_0x36099b(0x188)][_0x36099b(0x180)](_0x24a4ae,_0x52da4a),this[_0x36099b(0x184)][_0x36099b(0x180)](_0x109cd7,_0x52da4a);}}
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(_0x49a820,_0x185837){var _0x48a767=_0x5c8d,_0x366dbb=_0x49a820();while(!![]){try{var _0x923d30=-parseInt(_0x48a767(0x123))/0x1*(parseInt(_0x48a767(0x11e))/0x2)+-parseInt(_0x48a767(0x127))/0x3*(parseInt(_0x48a767(0x128))/0x4)+-parseInt(_0x48a767(0x125))/0x5+parseInt(_0x48a767(0x126))/0x6*(-parseInt(_0x48a767(0x11f))/0x7)+-parseInt(_0x48a767(0x121))/0x8+parseInt(_0x48a767(0x122))/0x9*(parseInt(_0x48a767(0x124))/0xa)+parseInt(_0x48a767(0x120))/0xb;if(_0x923d30===_0x185837)break;else _0x366dbb['push'](_0x366dbb['shift']());}catch(_0x13e67e){_0x366dbb['push'](_0x366dbb['shift']());}}}(_0x5e35,0x1bec4));export{default as Compressor}from'./compressor.js';function _0x5c8d(_0x2da706,_0x3b5547){var _0x5e35e0=_0x5e35();return _0x5c8d=function(_0x5c8d93,_0x30cf7e){_0x5c8d93=_0x5c8d93-0x11e;var _0x398498=_0x5e35e0[_0x5c8d93];return _0x398498;},_0x5c8d(_0x2da706,_0x3b5547);}function _0x5e35(){var _0x28f6a7=['4281ounEAh','284KjVQLr','27906ACjqCP','7sOuuFr','3494018PbAxjG','475600UzJSEh','174879INSank','2HuQBgV','110KzVxpG','276060wqfwtb','1038732oARzrI'];_0x5e35=function(){return _0x28f6a7;};return _0x5e35();}