@ckeditor/ckeditor5-operations-compressor 47.1.0-alpha.0 → 47.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +3 -3
- package/src/actioncompressor/actioncompressor.js +1 -1
- package/src/actioncompressor/deletingactioncompressor.js +1 -1
- package/src/actioncompressor/forwarddeletingactioncompressor.js +1 -1
- package/src/actioncompressor/typingactioncompressor.js +1 -1
- package/src/actioncompressor/userselectionactioncompressor.js +1 -1
- package/src/compressor.js +1 -1
- package/src/index.js +1 -1
- package/src/lib/compiledmessages.js +2 -2
- package/src/lib/protobufdescriptions.js +1 -1
- package/src/operationcompressor/annotationmarkeroperationcompressor.js +1 -1
- package/src/operationcompressor/attributeoperationcompressor.js +1 -1
- package/src/operationcompressor/insertoperationcompressor.js +1 -1
- package/src/operationcompressor/markeroperationcompressor.js +1 -1
- package/src/operationcompressor/nooperationcompressor.js +1 -1
- package/src/operationcompressor/operationcompressor.js +1 -1
- package/src/protobuffactory.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c3d15=_0x1534;(function(_0x4650a1,_0x579611){const _0x3c3fe0=_0x1534,_0x2958a1=_0x4650a1();while(!![]){try{const _0x269864=-parseInt(_0x3c3fe0(0x15f))/0x1+parseInt(_0x3c3fe0(0x15c))/0x2*(-parseInt(_0x3c3fe0(0x173))/0x3)+-parseInt(_0x3c3fe0(0x158))/0x4*(parseInt(_0x3c3fe0(0x163))/0x5)+parseInt(_0x3c3fe0(0x15b))/0x6*(-parseInt(_0x3c3fe0(0x16d))/0x7)+parseInt(_0x3c3fe0(0x168))/0x8+-parseInt(_0x3c3fe0(0x171))/0x9+-parseInt(_0x3c3fe0(0x160))/0xa*(-parseInt(_0x3c3fe0(0x166))/0xb);if(_0x269864===_0x579611)break;else _0x2958a1['push'](_0x2958a1['shift']());}catch(_0x58e35a){_0x2958a1['push'](_0x2958a1['shift']());}}}(_0x5095,0xa559a));import{ActionCompressor as _0x534ea6}from'./actioncompressor.js';import{arePositionsEqual as _0x22ef28,getPositionShiftedBy as _0x36c2dc}from'../utils.js';import{cloneDeep as _0x1e5a10}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x534ea6{[_0x4c3d15(0x165)](_0x354901,_0x7d1dd3){const _0x3ce066=_0x4c3d15;return _0x7d1dd3[_0x3ce066(0x157)]++,_0x7d1dd3[_0x3ce066(0x16a)]=_0x1e5a10(_0x354901[_0x3ce066(0x16a)]),_0x7d1dd3;}[_0x4c3d15(0x172)](_0x4b524d){const _0x5d4228=_0x4c3d15,_0x1c6ac9=_0x1e5a10(_0x4b524d);return _0x4b524d[_0x5d4228(0x157)]--,_0x1c6ac9[_0x5d4228(0x157)]=0x1,_0x1c6ac9[_0x5d4228(0x16a)]=_0x36c2dc(_0x1c6ac9[_0x5d4228(0x16a)],_0x4b524d[_0x5d4228(0x157)]),_0x1c6ac9;}[_0x4c3d15(0x16c)](_0x307789,_0x322728){const _0x37d9e1=_0x4c3d15;return!(!this[_0x37d9e1(0x15a)](_0x307789)||!this[_0x37d9e1(0x15a)](_0x322728))&&(_0x22ef28(_0x36c2dc(_0x307789[_0x37d9e1(0x16a)],-0x1),_0x322728[_0x37d9e1(0x16a)])&&_0x22ef28(_0x307789[_0x37d9e1(0x16e)],_0x322728[_0x37d9e1(0x16e)]));}[_0x4c3d15(0x15e)](_0x192333){const _0x347b92=_0x4c3d15,_0x237172={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x347b92(0x167)][_0x347b92(0x15d)](_0x347b92(0x156))[_0x347b92(0x164)](_0x237172,[_0x192333]),_0x237172[_0x347b92(0x161)][0x0];}[_0x4c3d15(0x159)](_0x23e09f){const _0x5c3926=_0x4c3d15,_0x346a8c=[];return this[_0x5c3926(0x167)][_0x5c3926(0x15d)](_0x5c3926(0x156))[_0x5c3926(0x16b)](_0x346a8c,_0x23e09f),_0x346a8c[0x0];}[_0x4c3d15(0x15a)](_0x275790){const _0x1cbdd9=_0x4c3d15;return _0x1cbdd9(0x156)==_0x275790[_0x1cbdd9(0x169)]&&_0x1cbdd9(0x162)==_0x275790[_0x1cbdd9(0x16e)][_0x1cbdd9(0x170)]&&0x1==_0x275790[_0x1cbdd9(0x157)]&&!_0x275790[_0x1cbdd9(0x16f)];}}function _0x1534(_0xb67318,_0xa7d39a){const _0x5095b0=_0x5095();return _0x1534=function(_0x153471,_0x47c6ce){_0x153471=_0x153471-0x156;let _0x3906e9=_0x5095b0[_0x153471];return _0x3906e9;},_0x1534(_0xb67318,_0xa7d39a);}function _0x5095(){const _0x3ed36d=['root','5533731kvtGdJ','_splitCurrent','9735fPMRhD','MoveOperation','howMany','143932FlPIgD','_decompressSingleOperation','_checkOperation','14892xTOgpy','320errrHR','_getCompressorByName','_compressSingleOperation','418422JLQwMG','4673970FTpuvS','buffers','$graveyard','125ySHjzZ','compress','_combineNext','99lmHKAH','_context','277544zRXFTn','__className','sourcePosition','decompress','_compareOperations','3136UVDjWf','targetPosition','wasUndone'];_0x5095=function(){return _0x3ed36d;};return _0x5095();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x488817=_0x32f0;(function(_0x10637f,_0x5e9d42){const _0x3a0f90=_0x32f0,_0x1a4905=_0x10637f();while(!![]){try{const _0x3eb603=parseInt(_0x3a0f90(0x11a))/0x1+parseInt(_0x3a0f90(0x10e))/0x2+parseInt(_0x3a0f90(0x110))/0x3+-parseInt(_0x3a0f90(0x115))/0x4+-parseInt(_0x3a0f90(0x100))/0x5+parseInt(_0x3a0f90(0x111))/0x6*(-parseInt(_0x3a0f90(0x103))/0x7)+parseInt(_0x3a0f90(0x117))/0x8*(parseInt(_0x3a0f90(0x108))/0x9);if(_0x3eb603===_0x5e9d42)break;else _0x1a4905['push'](_0x1a4905['shift']());}catch(_0x1fa2e4){_0x1a4905['push'](_0x1a4905['shift']());}}}(_0x11d3,0x32384));import{ActionCompressor as _0x587340}from'./actioncompressor.js';import{arePositionsEqual as _0xd5364f}from'../utils.js';import{cloneDeep as _0x5d740f}from'es-toolkit/compat';function _0x32f0(_0x604d36,_0x46a097){const _0x11d34d=_0x11d3();return _0x32f0=function(_0x32f042,_0x3609db){_0x32f042=_0x32f042-0x100;let _0x42b6b9=_0x11d34d[_0x32f042];return _0x42b6b9;},_0x32f0(_0x604d36,_0x46a097);}export class ForwardDeletingActionCompressor extends _0x587340{[_0x488817(0x119)](_0x420803,_0x2e7ff4){const _0x3915fa=_0x488817;return _0x2e7ff4[_0x3915fa(0x107)]++,_0x2e7ff4;}[_0x488817(0x109)](_0x56e3f3){const _0x5ab505=_0x488817,_0x263304=_0x5d740f(_0x56e3f3);return _0x263304[_0x5ab505(0x107)]=0x1,_0x56e3f3[_0x5ab505(0x107)]--,_0x263304;}[_0x488817(0x10b)](_0x248951,_0x20f8b4){const _0x40243a=_0x488817;return!(!this[_0x40243a(0x116)](_0x248951)||!this[_0x40243a(0x116)](_0x20f8b4))&&(_0xd5364f(_0x248951[_0x40243a(0x114)],_0x20f8b4[_0x40243a(0x114)])&&_0xd5364f(_0x248951[_0x40243a(0x10c)],_0x20f8b4[_0x40243a(0x10c)]));}[_0x488817(0x104)](_0x55ce54){const _0x40a287=_0x488817,_0x473f0d={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x40a287(0x101)][_0x40a287(0x112)](_0x40a287(0x10a))[_0x40a287(0x105)](_0x473f0d,[_0x55ce54]),_0x473f0d[_0x40a287(0x11b)][0x0];}[_0x488817(0x10d)](_0x37bec4){const _0x75c02=_0x488817,_0x3ca009=[];return this[_0x75c02(0x101)][_0x75c02(0x112)](_0x75c02(0x10a))[_0x75c02(0x106)](_0x3ca009,_0x37bec4),_0x3ca009[0x0];}[_0x488817(0x116)](_0x431f33){const _0x364309=_0x488817;return _0x364309(0x10a)==_0x431f33[_0x364309(0x10f)]&&_0x364309(0x118)==_0x431f33[_0x364309(0x10c)][_0x364309(0x102)]&&0x1==_0x431f33[_0x364309(0x107)]&&!_0x431f33[_0x364309(0x113)];}}function _0x11d3(){const _0x533c40=['89380exvKVE','_context','root','101899cKcyOt','_compressSingleOperation','compress','decompress','howMany','984969tpmMoQ','_splitCurrent','MoveOperation','_compareOperations','targetPosition','_decompressSingleOperation','238766IRvICk','__className','733215DlOemH','42EOYhMe','_getCompressorByName','wasUndone','sourcePosition','1479204jximns','_checkOperation','24tWmRQL','$graveyard','_combineNext','3165brxDwb','buffers'];_0x11d3=function(){return _0x533c40;};return _0x11d3();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6998c8=_0x4880;(function(_0x1ed72c,_0x558bc4){const _0x2231af=_0x4880,_0x593523=_0x1ed72c();while(!![]){try{const _0x282830=parseInt(_0x2231af(0x18e))/0x1*(parseInt(_0x2231af(0x19d))/0x2)+parseInt(_0x2231af(0x1a0))/0x3+-parseInt(_0x2231af(0x18f))/0x4*(-parseInt(_0x2231af(0x1a4))/0x5)+parseInt(_0x2231af(0x19c))/0x6*(parseInt(_0x2231af(0x195))/0x7)+parseInt(_0x2231af(0x191))/0x8*(-parseInt(_0x2231af(0x186))/0x9)+parseInt(_0x2231af(0x187))/0xa*(-parseInt(_0x2231af(0x1a1))/0xb)+-parseInt(_0x2231af(0x188))/0xc;if(_0x282830===_0x558bc4)break;else _0x593523['push'](_0x593523['shift']());}catch(_0x5b2d64){_0x593523['push'](_0x593523['shift']());}}}(_0x2a41,0x575ad));import{ActionCompressor as _0x2ad5ec}from'./actioncompressor.js';import{arePositionsEqual as _0x54c591,getPositionShiftedBy as _0x324d8d}from'../utils.js';function _0x4880(_0x62cd52,_0x4d5b25){const _0x2a416e=_0x2a41();return _0x4880=function(_0x488083,_0x3d7ee0){_0x488083=_0x488083-0x17f;let _0x13dc3b=_0x2a416e[_0x488083];return _0x13dc3b;},_0x4880(_0x62cd52,_0x4d5b25);}import{cloneDeep as _0x1e9e33}from'es-toolkit/compat';export class TypingActionCompressor extends _0x2ad5ec{[_0x6998c8(0x18d)](_0x244896,_0x28f747){const _0x4c8e17=_0x6998c8;return _0x28f747[_0x4c8e17(0x18b)][0x0][_0x4c8e17(0x185)]+=_0x244896[_0x4c8e17(0x18b)][0x0][_0x4c8e17(0x185)],_0x28f747;}[_0x6998c8(0x184)](_0x252853){const _0x1b8f00=_0x6998c8,_0xc32e12=_0x1e9e33(_0x252853),_0x7f7b95=_0xc32e12[_0x1b8f00(0x18b)][0x0],_0x1652aa=_0x252853[_0x1b8f00(0x18b)][0x0],_0x4e9f8d=_0x1652aa[_0x1b8f00(0x185)][Symbol[_0x1b8f00(0x18a)]]()[_0x1b8f00(0x181)]()[_0x1b8f00(0x193)],_0x1eeba6=_0x4e9f8d[_0x1b8f00(0x19f)];return _0x7f7b95[_0x1b8f00(0x185)]=_0x4e9f8d,_0x1652aa[_0x1b8f00(0x185)]=_0x1652aa[_0x1b8f00(0x185)][_0x1b8f00(0x199)](_0x1eeba6),_0x252853[_0x1b8f00(0x189)]=_0x324d8d(_0x252853[_0x1b8f00(0x189)],_0x1eeba6),_0xc32e12;}[_0x6998c8(0x198)](_0x378290,_0x48eb0f){const _0x4af568=_0x6998c8;if(this[_0x4af568(0x196)](_0x378290)&&this[_0x4af568(0x196)](_0x48eb0f)){const _0x41c796=_0x378290[_0x4af568(0x18b)][0x0][_0x4af568(0x185)][_0x4af568(0x19f)],_0x51cf34=_0x54c591(_0x324d8d(_0x378290[_0x4af568(0x189)],_0x41c796),_0x48eb0f[_0x4af568(0x189)]),_0x496ffa=_0x378290[_0x4af568(0x18b)][0x0],_0x547572=_0x48eb0f[_0x4af568(0x18b)][0x0];return _0x51cf34&&this[_0x4af568(0x192)](_0x496ffa,_0x547572);}return!0x1;}[_0x6998c8(0x18c)](_0x170440){const _0x3c6910=_0x6998c8,_0xdf81f2={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3c6910(0x183)][_0x3c6910(0x182)](_0x3c6910(0x1a5))[_0x3c6910(0x1a3)](_0xdf81f2,[_0x170440]),_0xdf81f2[_0x3c6910(0x1a2)][0x0];}[_0x6998c8(0x19e)](_0x2807a0){const _0x5cc4c2=_0x6998c8,_0x5bca2c=[];return this[_0x5cc4c2(0x183)][_0x5cc4c2(0x182)](_0x5cc4c2(0x1a5))[_0x5cc4c2(0x190)](_0x5bca2c,_0x2807a0),_0x5bca2c[0x0];}[_0x6998c8(0x196)](_0xdf2262){const _0x3b7cfb=_0x6998c8;return _0x3b7cfb(0x1a5)==_0xdf2262[_0x3b7cfb(0x17f)]&&0x1==_0xdf2262[_0x3b7cfb(0x18b)][_0x3b7cfb(0x19f)]&&_0xdf2262[_0x3b7cfb(0x18b)][0x0][_0x3b7cfb(0x185)]&&!_0xdf2262[_0x3b7cfb(0x194)]&&0x1==Array[_0x3b7cfb(0x19b)](_0xdf2262[_0x3b7cfb(0x18b)][0x0][_0x3b7cfb(0x185)])[_0x3b7cfb(0x19f)];}[_0x6998c8(0x192)](_0x26b4bb,_0x79af7d){const _0x5d9643=_0x6998c8,_0x294fdc=Object[_0x5d9643(0x197)](_0x26b4bb[_0x5d9643(0x180)]||{}),_0x1eb260=Object[_0x5d9643(0x197)](_0x79af7d[_0x5d9643(0x180)]||{});return _0x294fdc[_0x5d9643(0x19f)]===_0x1eb260[_0x5d9643(0x19f)]&&_0x294fdc[_0x5d9643(0x19a)](_0x569764=>_0x79af7d[_0x5d9643(0x180)][_0x569764]&&_0x79af7d[_0x5d9643(0x180)][_0x569764]===_0x26b4bb[_0x5d9643(0x180)][_0x569764]);}}function _0x2a41(){const _0x947b3b=['_compressSingleOperation','_combineNext','471315dmuAcU','4Yyktid','decompress','6744fXwKNd','_compareAttributes','value','wasUndone','569933vMLXfK','_checkOperation','keys','_compareOperations','substr','every','from','30dJgLhv','2OYvBbd','_decompressSingleOperation','length','912060mWhUXm','462935QkjPQh','buffers','compress','3428695gtyGfJ','InsertOperation','__className','attributes','next','_getCompressorByName','_context','_splitCurrent','data','5229VMmeQU','150MEryEq','4671672VJbGla','position','iterator','nodes'];_0x2a41=function(){return _0x947b3b;};return _0x2a41();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x797be5=_0x1ad2;(function(_0x170245,_0x51e71b){const _0x4a7a93=_0x1ad2,_0x4f7988=_0x170245();while(!![]){try{const _0x16b9cc=parseInt(_0x4a7a93(0xb0))/0x1+-parseInt(_0x4a7a93(0xa6))/0x2*(parseInt(_0x4a7a93(0xa8))/0x3)+-parseInt(_0x4a7a93(0xa1))/0x4*(-parseInt(_0x4a7a93(0xb2))/0x5)+parseInt(_0x4a7a93(0xbb))/0x6+-parseInt(_0x4a7a93(0x9a))/0x7+-parseInt(_0x4a7a93(0xaf))/0x8*(parseInt(_0x4a7a93(0xad))/0x9)+parseInt(_0x4a7a93(0x98))/0xa*(-parseInt(_0x4a7a93(0xa3))/0xb);if(_0x16b9cc===_0x51e71b)break;else _0x4f7988['push'](_0x4f7988['shift']());}catch(_0x520f23){_0x4f7988['push'](_0x4f7988['shift']());}}}(_0x4f0a,0x3086f));function _0x4f0a(){const _0x50881c=['_compareOperations','1551rNBPCX','shift','_getCompressorByName','108PjZtwb','__className','11565WYiCHp','user:','oldRange','_context','start','1006542MFMleD','startsWith','8hJdDTc','60000YcosFf','end','5OfUDQh','user:position:','split','types','decompress','compress','stickiness','_compressSingleOperation','newRange','1871784msnkZi','9690QgLFdK','buffers','706174dyghyI','name','MarkerOperation','push','_decompressSingleOperation','toNone','_id','1537288unSHMr'];_0x4f0a=function(){return _0x50881c;};return _0x4f0a();}import{ActionCompressor as _0x57dea3}from'./actioncompressor.js';import{arePositionsEqual as _0x1bea30}from'../utils.js';function _0x1ad2(_0x5a075c,_0x102007){const _0x4f0a62=_0x4f0a();return _0x1ad2=function(_0x1ad2c3,_0x3ac95f){_0x1ad2c3=_0x1ad2c3-0x98;let _0x21934e=_0x4f0a62[_0x1ad2c3];return _0x21934e;},_0x1ad2(_0x5a075c,_0x102007);}import{cloneDeep as _0x432aa5}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x57dea3{[_0x797be5(0xb7)](_0x1c90a9,_0x4c3b22){const _0x47a619=_0x797be5;if(!this[_0x47a619(0xa2)](_0x4c3b22[0x0],_0x4c3b22[0x1]))return!0x1;const _0xc29e=_0x4c3b22[_0x47a619(0xa4)]();return _0xc29e[_0x47a619(0xaa)]=null,_0xc29e[_0x47a619(0xba)]&&_0x1bea30(_0xc29e[_0x47a619(0xba)][_0x47a619(0xac)],_0xc29e[_0x47a619(0xba)][_0x47a619(0xb1)])&&(_0xc29e[_0x47a619(0xba)][_0x47a619(0xb1)]=null),_0x4c3b22[_0x47a619(0xa4)](),_0x1c90a9[_0x47a619(0xb5)][_0x47a619(0x9d)](this[_0x47a619(0xa0)]),_0x1c90a9[_0x47a619(0xb5)][_0x47a619(0x9d)](0x0),_0x1c90a9[_0x47a619(0x99)][_0x47a619(0x9d)](this[_0x47a619(0xb9)](_0xc29e)),!0x0;}[_0x797be5(0xb6)](_0x30171c,_0x57d047){const _0x4963e7=_0x797be5,_0x39e2dd=this[_0x4963e7(0x9e)](_0x57d047);_0x39e2dd[_0x4963e7(0xba)]&&!_0x39e2dd[_0x4963e7(0xba)][_0x4963e7(0xb1)]&&(_0x39e2dd[_0x4963e7(0xba)][_0x4963e7(0xb1)]=_0x432aa5(_0x39e2dd[_0x4963e7(0xba)][_0x4963e7(0xac)]));const _0x27f416=_0x432aa5(_0x39e2dd);_0x27f416[_0x4963e7(0xba)]&&(_0x27f416[_0x4963e7(0xba)][_0x4963e7(0xac)][_0x4963e7(0xb8)]=_0x4963e7(0x9f),_0x27f416[_0x4963e7(0xba)][_0x4963e7(0xb1)]=_0x432aa5(_0x27f416[_0x4963e7(0xba)][_0x4963e7(0xac)])),_0x27f416[_0x4963e7(0x9b)]=_0x4963e7(0xb3)+_0x27f416[_0x4963e7(0x9b)][_0x4963e7(0xb4)](':')[0x2],_0x57d047[_0x4963e7(0xb5)][_0x4963e7(0xa4)](),_0x30171c[_0x4963e7(0x9d)](_0x39e2dd),_0x30171c[_0x4963e7(0x9d)](_0x27f416);}[_0x797be5(0xb9)](_0x296e5e){const _0x53274c=_0x797be5,_0xde40={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x53274c(0xab)][_0x53274c(0xa5)](_0x53274c(0x9c))[_0x53274c(0xb7)](_0xde40,[_0x296e5e]),_0xde40[_0x53274c(0x99)][0x0];}[_0x797be5(0x9e)](_0x404a13){const _0xf9a6d8=_0x797be5,_0x3a2dbc=[];return this[_0xf9a6d8(0xab)][_0xf9a6d8(0xa5)](_0xf9a6d8(0x9c))[_0xf9a6d8(0xb6)](_0x3a2dbc,_0x404a13),_0x3a2dbc[0x0];}[_0x797be5(0xa2)](_0x469d6a,_0x35c908){const _0x2e6c1b=_0x797be5;return!(!_0x469d6a||!_0x35c908)&&(_0x2e6c1b(0x9c)==_0x469d6a[_0x2e6c1b(0xa7)]&&_0x2e6c1b(0x9c)==_0x35c908[_0x2e6c1b(0xa7)]&&!(!_0x469d6a[_0x2e6c1b(0x9b)][_0x2e6c1b(0xae)](_0x2e6c1b(0xa9))||!_0x35c908[_0x2e6c1b(0x9b)][_0x2e6c1b(0xae)](_0x2e6c1b(0xa9))||_0x469d6a[_0x2e6c1b(0x9b)]==_0x35c908[_0x2e6c1b(0x9b)]));}}
|
package/src/compressor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ede45=_0x1c7e;function _0x7086(){const _0x587d99=['compress','suggestion','_registerActionCompressor','InsertOperation','1358430ncTFHd','MoveOperation','DeletingAction','baseVersion','10wXIQhk','set','comment','3818400AESYBm','NoOperation','TypingAction','_registerCompressor','no-operations-provided','CommentMarkerOperation','2YWUfjS','decompress','3551184mkGtJM','_registerOperationCompressor','MarkerOperation','__className','RootAttributeOperation','ForwardDeletingAction','4577027QFSJul','RenameOperation','_protobufFactory','674720bRFMWk','_compressorByName','UserSelectionAction','SplitOperation','getDescriptor','744753rYwdWK','AttributeOperation','_compressorById','types','forEach','49702mqRAdx','length','SuggestionMarkerOperation','_getCompressorByName','RootOperation','decompress-compressor-not-found','get','MergeOperation'];_0x7086=function(){return _0x587d99;};return _0x7086();}(function(_0x169559,_0x25f10e){const _0x4148bf=_0x1c7e,_0x47c2f4=_0x169559();while(!![]){try{const _0x23e252=-parseInt(_0x4148bf(0x164))/0x1*(parseInt(_0x4148bf(0x179))/0x2)+parseInt(_0x4148bf(0x174))/0x3+parseInt(_0x4148bf(0x15e))/0x4+-parseInt(_0x4148bf(0x15b))/0x5*(parseInt(_0x4148bf(0x157))/0x6)+-parseInt(_0x4148bf(0x16c))/0x7+parseInt(_0x4148bf(0x16f))/0x8+parseInt(_0x4148bf(0x166))/0x9;if(_0x23e252===_0x25f10e)break;else _0x47c2f4['push'](_0x47c2f4['shift']());}catch(_0x1344e7){_0x47c2f4['push'](_0x47c2f4['shift']());}}}(_0x7086,0x80452));import{CKEditorError as _0x902df5}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x167442}from'./protobuffactory.js';import{OperationCompressor as _0x3bd74f}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x4cbac9}from'./operationcompressor/attributeoperationcompressor.js';function _0x1c7e(_0x341a58,_0x395fc2){const _0x7086b9=_0x7086();return _0x1c7e=function(_0x1c7e31,_0x14fc5f){_0x1c7e31=_0x1c7e31-0x14f;let _0x52af1c=_0x7086b9[_0x1c7e31];return _0x52af1c;},_0x1c7e(_0x341a58,_0x395fc2);}import{InsertOperationCompressor as _0x1ef2a7}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x24e2aa}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x4325fd}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x4c0047}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x1b10ab}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x4bc7ab}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0xf2cf0b}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x52d1e3}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x2ede45(0x176)];[_0x2ede45(0x170)];[_0x2ede45(0x16e)];constructor(){const _0x54a41d=_0x2ede45;this[_0x54a41d(0x176)]=new Map(),this[_0x54a41d(0x170)]=new Map(),this[_0x54a41d(0x16e)]=new _0x167442();const _0x281173=this[_0x54a41d(0x16e)][_0x54a41d(0x173)](_0x54a41d(0x168));this[_0x54a41d(0x161)](0x1,_0x54a41d(0x15f),new _0x4325fd(0x1,_0x54a41d(0x15f),void 0x0)),this[_0x54a41d(0x167)](0xa,_0x54a41d(0x175),_0x4cbac9),this[_0x54a41d(0x167)](0xb,_0x54a41d(0x156),_0x1ef2a7),this[_0x54a41d(0x167)](0xc,_0x54a41d(0x168),_0x24e2aa),this[_0x54a41d(0x167)](0xd,_0x54a41d(0x152),_0x3bd74f),this[_0x54a41d(0x167)](0xe,_0x54a41d(0x158),_0x3bd74f),this[_0x54a41d(0x167)](0xf,_0x54a41d(0x16d),_0x3bd74f),this[_0x54a41d(0x167)](0x10,_0x54a41d(0x16a),_0x4cbac9),this[_0x54a41d(0x167)](0x11,_0x54a41d(0x172),_0x3bd74f),this[_0x54a41d(0x161)](0x12,_0x54a41d(0x163),new _0x4c0047(0x12,_0x54a41d(0x168),_0x281173,_0x54a41d(0x15d))),this[_0x54a41d(0x161)](0x13,_0x54a41d(0x17b),new _0x4c0047(0x13,_0x54a41d(0x168),_0x281173,_0x54a41d(0x154))),this[_0x54a41d(0x167)](0x14,_0x54a41d(0x14f),_0x3bd74f),this[_0x54a41d(0x155)](0x64,_0x54a41d(0x160),_0x1b10ab),this[_0x54a41d(0x155)](0x65,_0x54a41d(0x159),_0x4bc7ab),this[_0x54a41d(0x155)](0x66,_0x54a41d(0x16b),_0xf2cf0b),this[_0x54a41d(0x155)](0x67,_0x54a41d(0x171),_0x52d1e3);}[_0x2ede45(0x153)](_0x12314d){const _0xa0458b=_0x2ede45;if(!_0x12314d||!_0x12314d[0x0])throw new _0x902df5(_0xa0458b(0x162),this);const _0x1b4506={'types':[],'buffers':[],'baseVersion':_0x12314d[0x0][_0xa0458b(0x15a)]};for(;_0x12314d[_0xa0458b(0x17a)];)this[_0xa0458b(0x17c)](_0xa0458b(0x171))[_0xa0458b(0x153)](_0x1b4506,_0x12314d)||this[_0xa0458b(0x17c)](_0xa0458b(0x160))[_0xa0458b(0x153)](_0x1b4506,_0x12314d)||this[_0xa0458b(0x17c)](_0xa0458b(0x159))[_0xa0458b(0x153)](_0x1b4506,_0x12314d)||this[_0xa0458b(0x17c)](_0xa0458b(0x16b))[_0xa0458b(0x153)](_0x1b4506,_0x12314d)||this[_0xa0458b(0x17c)](_0xa0458b(0x163))[_0xa0458b(0x153)](_0x1b4506,_0x12314d)||this[_0xa0458b(0x17c)](_0xa0458b(0x17b))[_0xa0458b(0x153)](_0x1b4506,_0x12314d)||this[_0xa0458b(0x17c)](_0x12314d[0x0][_0xa0458b(0x169)])[_0xa0458b(0x153)](_0x1b4506,_0x12314d);return _0x1b4506;}[_0x2ede45(0x165)](_0x403259){const _0x1cb303=_0x2ede45,_0x50be30=[];for(;_0x403259[_0x1cb303(0x177)][_0x1cb303(0x17a)];){const _0x4bb920=this[_0x1cb303(0x176)][_0x1cb303(0x151)](_0x403259[_0x1cb303(0x177)][0x0]);if(!_0x4bb920)throw new _0x902df5(_0x1cb303(0x150),this,{'type':_0x403259[_0x1cb303(0x177)][0x0]});_0x4bb920[_0x1cb303(0x165)](_0x50be30,_0x403259);}return _0x50be30[_0x1cb303(0x178)]((_0x41a284,_0xa83f55)=>_0x41a284[_0x1cb303(0x15a)]=_0x403259[_0x1cb303(0x15a)]+_0xa83f55),_0x50be30;}[_0x2ede45(0x17c)](_0x53533b){const _0x526a08=_0x2ede45;return this[_0x526a08(0x170)][_0x526a08(0x151)](_0x53533b);}[_0x2ede45(0x167)](_0x33b1de,_0x59f721,_0x4a1e19){const _0xe7fea6=_0x2ede45,_0x43d77b=new _0x4a1e19(_0x33b1de,_0x59f721,this[_0xe7fea6(0x16e)][_0xe7fea6(0x173)](_0x59f721));this[_0xe7fea6(0x161)](_0x33b1de,_0x59f721,_0x43d77b);}[_0x2ede45(0x155)](_0x355d0b,_0x20cff7,_0x3cacc9){const _0x2cb471=_0x2ede45,_0x1881f3=new _0x3cacc9(_0x355d0b,this);this[_0x2cb471(0x161)](_0x355d0b,_0x20cff7,_0x1881f3);}[_0x2ede45(0x161)](_0x4b5892,_0x50dd56,_0x582b35){const _0x2400cd=_0x2ede45;this[_0x2400cd(0x176)][_0x2400cd(0x15c)](_0x4b5892,_0x582b35),this[_0x2400cd(0x170)][_0x2400cd(0x15c)](_0x50dd56,_0x582b35);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1a16(){var _0x26b33e=['9qrDTlf','8gaUOzX','5270984mdaqxS','59321KbyekB','1030448FocQjt','796820tFTcyf','258853RBpYUs','3067464cBDKQs','140049WzFHZG'];_0x1a16=function(){return _0x26b33e;};return _0x1a16();}(function(_0x2cf723,_0xb40284){var _0x28d72e=_0x4abf,_0x1d3e7f=_0x2cf723();while(!![]){try{var _0x3ca525=-parseInt(_0x28d72e(0x1dc))/0x1+parseInt(_0x28d72e(0x1dd))/0x2+-parseInt(_0x28d72e(0x1e1))/0x3+-parseInt(_0x28d72e(0x1da))/0x4*(parseInt(_0x28d72e(0x1de))/0x5)+-parseInt(_0x28d72e(0x1e0))/0x6+parseInt(_0x28d72e(0x1df))/0x7+parseInt(_0x28d72e(0x1db))/0x8*(parseInt(_0x28d72e(0x1d9))/0x9);if(_0x3ca525===_0xb40284)break;else _0x1d3e7f['push'](_0x1d3e7f['shift']());}catch(_0x302c3a){_0x1d3e7f['push'](_0x1d3e7f['shift']());}}}(_0x1a16,0x4329c));function _0x4abf(_0x35563a,_0x427b04){var _0x1a1635=_0x1a16();return _0x4abf=function(_0x4abf13,_0x25232e){_0x4abf13=_0x4abf13-0x1d9;var _0x357586=_0x1a1635[_0x4abf13];return _0x357586;},_0x4abf(_0x35563a,_0x427b04);}export{Compressor}from'./compressor.js';
|