@ckeditor/ckeditor5-operations-compressor 47.3.0-alpha.4 → 47.3.0-alpha.6
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
|
+
function _0x3259(_0x4e4868,_0x3bc53e){const _0x362db7=_0x362d();return _0x3259=function(_0x32598b,_0x4aacfb){_0x32598b=_0x32598b-0x9f;let _0x57afdc=_0x362db7[_0x32598b];return _0x57afdc;},_0x3259(_0x4e4868,_0x3bc53e);}const _0x2a30f7=_0x3259;function _0x362d(){const _0x151e87=['compress','MoveOperation','165062DGWcqs','$graveyard','9HlOFUt','_combineNext','howMany','wasUndone','5034768qmnxJa','_decompressSingleOperation','3jtnBdu','7045310qLzOqr','_getCompressorByName','_compareOperations','decompress','root','buffers','targetPosition','3oBTwEA','5409822BBxNdR','4316389ZgHnGo','_splitCurrent','3961088eQgOSN','_context','_compressSingleOperation','8400840CjjtsD','sourcePosition','__className','_checkOperation'];_0x362d=function(){return _0x151e87;};return _0x362d();}(function(_0xf56f56,_0x22d964){const _0x3b4c27=_0x3259,_0x2c0536=_0xf56f56();while(!![]){try{const _0x43f7cd=-parseInt(_0x3b4c27(0x9f))/0x1*(parseInt(_0x3b4c27(0xb4))/0x2)+parseInt(_0x3b4c27(0xa7))/0x3*(parseInt(_0x3b4c27(0xab))/0x4)+parseInt(_0x3b4c27(0xa0))/0x5+parseInt(_0x3b4c27(0xa8))/0x6+-parseInt(_0x3b4c27(0xa9))/0x7+parseInt(_0x3b4c27(0xba))/0x8*(-parseInt(_0x3b4c27(0xb6))/0x9)+-parseInt(_0x3b4c27(0xae))/0xa;if(_0x43f7cd===_0x22d964)break;else _0x2c0536['push'](_0x2c0536['shift']());}catch(_0x15ab52){_0x2c0536['push'](_0x2c0536['shift']());}}}(_0x362d,0xec299));import{ActionCompressor as _0x13f9cb}from'./actioncompressor.js';import{arePositionsEqual as _0x55055f,getPositionShiftedBy as _0x2d76af}from'../utils.js';import{cloneDeep as _0x5d8684}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x13f9cb{[_0x2a30f7(0xb7)](_0x33e6d1,_0x2837db){const _0x37b764=_0x2a30f7;return _0x2837db[_0x37b764(0xb8)]++,_0x2837db[_0x37b764(0xaf)]=_0x5d8684(_0x33e6d1[_0x37b764(0xaf)]),_0x2837db;}[_0x2a30f7(0xaa)](_0x479df5){const _0x3b6651=_0x2a30f7,_0x55e2a4=_0x5d8684(_0x479df5);return _0x479df5[_0x3b6651(0xb8)]--,_0x55e2a4[_0x3b6651(0xb8)]=0x1,_0x55e2a4[_0x3b6651(0xaf)]=_0x2d76af(_0x55e2a4[_0x3b6651(0xaf)],_0x479df5[_0x3b6651(0xb8)]),_0x55e2a4;}[_0x2a30f7(0xa2)](_0x192c45,_0x5d046b){const _0x4f9d40=_0x2a30f7;return!(!this[_0x4f9d40(0xb1)](_0x192c45)||!this[_0x4f9d40(0xb1)](_0x5d046b))&&(_0x55055f(_0x2d76af(_0x192c45[_0x4f9d40(0xaf)],-0x1),_0x5d046b[_0x4f9d40(0xaf)])&&_0x55055f(_0x192c45[_0x4f9d40(0xa6)],_0x5d046b[_0x4f9d40(0xa6)]));}[_0x2a30f7(0xad)](_0x2beea3){const _0x3feac4=_0x2a30f7,_0x5e4d20={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3feac4(0xac)][_0x3feac4(0xa1)](_0x3feac4(0xb3))[_0x3feac4(0xb2)](_0x5e4d20,[_0x2beea3]),_0x5e4d20[_0x3feac4(0xa5)][0x0];}[_0x2a30f7(0xbb)](_0x4d11e1){const _0x202758=_0x2a30f7,_0x584c28=[];return this[_0x202758(0xac)][_0x202758(0xa1)](_0x202758(0xb3))[_0x202758(0xa3)](_0x584c28,_0x4d11e1),_0x584c28[0x0];}[_0x2a30f7(0xb1)](_0x313773){const _0x427aac=_0x2a30f7;return _0x427aac(0xb3)==_0x313773[_0x427aac(0xb0)]&&_0x427aac(0xb5)==_0x313773[_0x427aac(0xa6)][_0x427aac(0xa4)]&&0x1==_0x313773[_0x427aac(0xb8)]&&!_0x313773[_0x427aac(0xb9)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1c874a=_0x4723;(function(_0x42297b,_0x5ac24f){const _0x5d2d2c=_0x4723,_0x22f85f=_0x42297b();while(!![]){try{const _0x1785ef=-parseInt(_0x5d2d2c(0xab))/0x1*(parseInt(_0x5d2d2c(0x90))/0x2)+parseInt(_0x5d2d2c(0xa7))/0x3+-parseInt(_0x5d2d2c(0xa2))/0x4*(-parseInt(_0x5d2d2c(0x96))/0x5)+-parseInt(_0x5d2d2c(0xaa))/0x6+-parseInt(_0x5d2d2c(0x91))/0x7*(parseInt(_0x5d2d2c(0xa1))/0x8)+-parseInt(_0x5d2d2c(0x9e))/0x9+parseInt(_0x5d2d2c(0xa4))/0xa;if(_0x1785ef===_0x5ac24f)break;else _0x22f85f['push'](_0x22f85f['shift']());}catch(_0x3c3637){_0x22f85f['push'](_0x22f85f['shift']());}}}(_0x5bf8,0xb56cf));import{ActionCompressor as _0x5121f1}from'./actioncompressor.js';import{arePositionsEqual as _0x2e57f6}from'../utils.js';function _0x4723(_0x265ab5,_0x5b5eeb){const _0x5bf8a2=_0x5bf8();return _0x4723=function(_0x472318,_0x556eb4){_0x472318=_0x472318-0x90;let _0x9fb1b1=_0x5bf8a2[_0x472318];return _0x9fb1b1;},_0x4723(_0x265ab5,_0x5b5eeb);}import{cloneDeep as _0x535a94}from'es-toolkit/compat';function _0x5bf8(){const _0x551bd7=['root','_compareOperations','sourcePosition','397270ZOgcUy','$graveyard','decompress','MoveOperation','_checkOperation','_combineNext','_splitCurrent','_getCompressorByName','12146886WgSWsX','_compressSingleOperation','__className','252032FlzUOX','8DXNEwP','compress','30077960cGeXWV','howMany','buffers','2365794WtwrlT','_context','wasUndone','8181168ueeXrW','1GmdLqz','_decompressSingleOperation','619954VhXyzf','42IswMks','targetPosition'];_0x5bf8=function(){return _0x551bd7;};return _0x5bf8();}export class ForwardDeletingActionCompressor extends _0x5121f1{[_0x1c874a(0x9b)](_0x5ab92d,_0x6f28b2){const _0x433845=_0x1c874a;return _0x6f28b2[_0x433845(0xa5)]++,_0x6f28b2;}[_0x1c874a(0x9c)](_0x298ea1){const _0x429635=_0x1c874a,_0x1934d8=_0x535a94(_0x298ea1);return _0x1934d8[_0x429635(0xa5)]=0x1,_0x298ea1[_0x429635(0xa5)]--,_0x1934d8;}[_0x1c874a(0x94)](_0x59525e,_0x2b43af){const _0x2e2d3e=_0x1c874a;return!(!this[_0x2e2d3e(0x9a)](_0x59525e)||!this[_0x2e2d3e(0x9a)](_0x2b43af))&&(_0x2e57f6(_0x59525e[_0x2e2d3e(0x95)],_0x2b43af[_0x2e2d3e(0x95)])&&_0x2e57f6(_0x59525e[_0x2e2d3e(0x92)],_0x2b43af[_0x2e2d3e(0x92)]));}[_0x1c874a(0x9f)](_0x4a21ea){const _0x10ae23=_0x1c874a,_0x35157f={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x10ae23(0xa8)][_0x10ae23(0x9d)](_0x10ae23(0x99))[_0x10ae23(0xa3)](_0x35157f,[_0x4a21ea]),_0x35157f[_0x10ae23(0xa6)][0x0];}[_0x1c874a(0xac)](_0x3dfb07){const _0x15ff2a=_0x1c874a,_0x55d6f1=[];return this[_0x15ff2a(0xa8)][_0x15ff2a(0x9d)](_0x15ff2a(0x99))[_0x15ff2a(0x98)](_0x55d6f1,_0x3dfb07),_0x55d6f1[0x0];}[_0x1c874a(0x9a)](_0x307566){const _0x2f2067=_0x1c874a;return _0x2f2067(0x99)==_0x307566[_0x2f2067(0xa0)]&&_0x2f2067(0x97)==_0x307566[_0x2f2067(0x92)][_0x2f2067(0x93)]&&0x1==_0x307566[_0x2f2067(0xa5)]&&!_0x307566[_0x2f2067(0xa9)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5578(_0x286bf7,_0x440473){const _0x446f2e=_0x446f();return _0x5578=function(_0x5578ec,_0x4450b3){_0x5578ec=_0x5578ec-0xa6;let _0xfd7d58=_0x446f2e[_0x5578ec];return _0xfd7d58;},_0x5578(_0x286bf7,_0x440473);}const _0x518e6a=_0x5578;(function(_0x22bb36,_0x4b7700){const _0x4db212=_0x5578,_0x30b55e=_0x22bb36();while(!![]){try{const _0x3a5c87=-parseInt(_0x4db212(0xb5))/0x1+-parseInt(_0x4db212(0xc9))/0x2*(parseInt(_0x4db212(0xc7))/0x3)+parseInt(_0x4db212(0xb9))/0x4+-parseInt(_0x4db212(0xba))/0x5*(parseInt(_0x4db212(0xc6))/0x6)+-parseInt(_0x4db212(0xaf))/0x7+-parseInt(_0x4db212(0xab))/0x8+parseInt(_0x4db212(0xbe))/0x9;if(_0x3a5c87===_0x4b7700)break;else _0x30b55e['push'](_0x30b55e['shift']());}catch(_0xe4e9e4){_0x30b55e['push'](_0x30b55e['shift']());}}}(_0x446f,0x86b37));import{ActionCompressor as _0x344939}from'./actioncompressor.js';function _0x446f(){const _0x20cbd1=['_getCompressorByName','value','1567013LXYMua','substr','_splitCurrent','_compareAttributes','_compareOperations','every','89688deSvgY','_checkOperation','iterator','nodes','1904420GHpeaP','2389565QlZoMy','InsertOperation','buffers','_compressSingleOperation','17195994kswXPF','_combineNext','_decompressSingleOperation','from','keys','_context','compress','position','6hCsnZS','10227hEDeAY','length','606uNWGZZ','__className','decompress','next','attributes','data','85192bTDsLz','wasUndone'];_0x446f=function(){return _0x20cbd1;};return _0x446f();}import{arePositionsEqual as _0x278c78,getPositionShiftedBy as _0x118d86}from'../utils.js';import{cloneDeep as _0x2bc4ec}from'es-toolkit/compat';export class TypingActionCompressor extends _0x344939{[_0x518e6a(0xbf)](_0x452274,_0x4c8618){const _0x55699b=_0x518e6a;return _0x4c8618[_0x55699b(0xb8)][0x0][_0x55699b(0xaa)]+=_0x452274[_0x55699b(0xb8)][0x0][_0x55699b(0xaa)],_0x4c8618;}[_0x518e6a(0xb1)](_0x289195){const _0x3a32d3=_0x518e6a,_0x21f5ee=_0x2bc4ec(_0x289195),_0x35c7f7=_0x21f5ee[_0x3a32d3(0xb8)][0x0],_0xf557a9=_0x289195[_0x3a32d3(0xb8)][0x0],_0x223988=_0xf557a9[_0x3a32d3(0xaa)][Symbol[_0x3a32d3(0xb7)]]()[_0x3a32d3(0xa8)]()[_0x3a32d3(0xae)],_0x4ee811=_0x223988[_0x3a32d3(0xc8)];return _0x35c7f7[_0x3a32d3(0xaa)]=_0x223988,_0xf557a9[_0x3a32d3(0xaa)]=_0xf557a9[_0x3a32d3(0xaa)][_0x3a32d3(0xb0)](_0x4ee811),_0x289195[_0x3a32d3(0xc5)]=_0x118d86(_0x289195[_0x3a32d3(0xc5)],_0x4ee811),_0x21f5ee;}[_0x518e6a(0xb3)](_0x1e72a4,_0x5f2d21){const _0x32179b=_0x518e6a;if(this[_0x32179b(0xb6)](_0x1e72a4)&&this[_0x32179b(0xb6)](_0x5f2d21)){const _0x3c3657=_0x1e72a4[_0x32179b(0xb8)][0x0][_0x32179b(0xaa)][_0x32179b(0xc8)],_0x23a809=_0x278c78(_0x118d86(_0x1e72a4[_0x32179b(0xc5)],_0x3c3657),_0x5f2d21[_0x32179b(0xc5)]),_0x538e8a=_0x1e72a4[_0x32179b(0xb8)][0x0],_0x532b6e=_0x5f2d21[_0x32179b(0xb8)][0x0];return _0x23a809&&this[_0x32179b(0xb2)](_0x538e8a,_0x532b6e);}return!0x1;}[_0x518e6a(0xbd)](_0x386ae7){const _0x3fa7fd=_0x518e6a,_0x129f40={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3fa7fd(0xc3)][_0x3fa7fd(0xad)](_0x3fa7fd(0xbb))[_0x3fa7fd(0xc4)](_0x129f40,[_0x386ae7]),_0x129f40[_0x3fa7fd(0xbc)][0x0];}[_0x518e6a(0xc0)](_0x8cec83){const _0x34ebae=_0x518e6a,_0x285b57=[];return this[_0x34ebae(0xc3)][_0x34ebae(0xad)](_0x34ebae(0xbb))[_0x34ebae(0xa7)](_0x285b57,_0x8cec83),_0x285b57[0x0];}[_0x518e6a(0xb6)](_0x47e93f){const _0xff07bc=_0x518e6a;return _0xff07bc(0xbb)==_0x47e93f[_0xff07bc(0xa6)]&&0x1==_0x47e93f[_0xff07bc(0xb8)][_0xff07bc(0xc8)]&&_0x47e93f[_0xff07bc(0xb8)][0x0][_0xff07bc(0xaa)]&&!_0x47e93f[_0xff07bc(0xac)]&&0x1==Array[_0xff07bc(0xc1)](_0x47e93f[_0xff07bc(0xb8)][0x0][_0xff07bc(0xaa)])[_0xff07bc(0xc8)];}[_0x518e6a(0xb2)](_0x4a64b1,_0x4aaf55){const _0x5800a8=_0x518e6a,_0x4b076a=Object[_0x5800a8(0xc2)](_0x4a64b1[_0x5800a8(0xa9)]||{}),_0x1e600b=Object[_0x5800a8(0xc2)](_0x4aaf55[_0x5800a8(0xa9)]||{});return _0x4b076a[_0x5800a8(0xc8)]===_0x1e600b[_0x5800a8(0xc8)]&&_0x4b076a[_0x5800a8(0xb4)](_0x3efadf=>_0x4aaf55[_0x5800a8(0xa9)][_0x3efadf]&&_0x4aaf55[_0x5800a8(0xa9)][_0x3efadf]===_0x4a64b1[_0x5800a8(0xa9)][_0x3efadf]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2dc0(){const _0x2a1509=['split','__className','_context','1262978rlzvJP','newRange','_decompressSingleOperation','_id','412zvSNPh','6280001ZOVlvl','startsWith','buffers','user:position:','42580KqwqrZ','8ecMyis','start','types','_compareOperations','10390257BuvGSN','compress','name','push','user:','oldRange','20622LunVaC','916927NrviEP','toNone','decompress','9195mbKloZ','3966ExSKFo','_compressSingleOperation','stickiness','935JrJbuF','shift','MarkerOperation','_getCompressorByName','end'];_0x2dc0=function(){return _0x2a1509;};return _0x2dc0();}function _0x22f9(_0x265b90,_0x3724bb){const _0x2dc083=_0x2dc0();return _0x22f9=function(_0x22f9ff,_0x471fcb){_0x22f9ff=_0x22f9ff-0x161;let _0x18ddbf=_0x2dc083[_0x22f9ff];return _0x18ddbf;},_0x22f9(_0x265b90,_0x3724bb);}const _0x20874a=_0x22f9;(function(_0x5159cd,_0x1e9545){const _0x38d07b=_0x22f9,_0x5e6334=_0x5159cd();while(!![]){try{const _0x5104fe=parseInt(_0x38d07b(0x16c))/0x1+-parseInt(_0x38d07b(0x17b))/0x2+parseInt(_0x38d07b(0x16b))/0x3*(-parseInt(_0x38d07b(0x17f))/0x4)+parseInt(_0x38d07b(0x16f))/0x5*(-parseInt(_0x38d07b(0x170))/0x6)+parseInt(_0x38d07b(0x180))/0x7+-parseInt(_0x38d07b(0x161))/0x8*(-parseInt(_0x38d07b(0x165))/0x9)+parseInt(_0x38d07b(0x184))/0xa*(parseInt(_0x38d07b(0x173))/0xb);if(_0x5104fe===_0x1e9545)break;else _0x5e6334['push'](_0x5e6334['shift']());}catch(_0x1e0c71){_0x5e6334['push'](_0x5e6334['shift']());}}}(_0x2dc0,0xbd4d7));import{ActionCompressor as _0x1ff9d8}from'./actioncompressor.js';import{arePositionsEqual as _0x5bffe9}from'../utils.js';import{cloneDeep as _0x549e0d}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x1ff9d8{[_0x20874a(0x166)](_0x1470cf,_0x1bba8a){const _0x285276=_0x20874a;if(!this[_0x285276(0x164)](_0x1bba8a[0x0],_0x1bba8a[0x1]))return!0x1;const _0x2df05a=_0x1bba8a[_0x285276(0x174)]();return _0x2df05a[_0x285276(0x16a)]=null,_0x2df05a[_0x285276(0x17c)]&&_0x5bffe9(_0x2df05a[_0x285276(0x17c)][_0x285276(0x162)],_0x2df05a[_0x285276(0x17c)][_0x285276(0x177)])&&(_0x2df05a[_0x285276(0x17c)][_0x285276(0x177)]=null),_0x1bba8a[_0x285276(0x174)](),_0x1470cf[_0x285276(0x163)][_0x285276(0x168)](this[_0x285276(0x17e)]),_0x1470cf[_0x285276(0x163)][_0x285276(0x168)](0x0),_0x1470cf[_0x285276(0x182)][_0x285276(0x168)](this[_0x285276(0x171)](_0x2df05a)),!0x0;}[_0x20874a(0x16e)](_0x20f5ef,_0xef8fb3){const _0x37d24a=_0x20874a,_0x354c50=this[_0x37d24a(0x17d)](_0xef8fb3);_0x354c50[_0x37d24a(0x17c)]&&!_0x354c50[_0x37d24a(0x17c)][_0x37d24a(0x177)]&&(_0x354c50[_0x37d24a(0x17c)][_0x37d24a(0x177)]=_0x549e0d(_0x354c50[_0x37d24a(0x17c)][_0x37d24a(0x162)]));const _0x7dd1c=_0x549e0d(_0x354c50);_0x7dd1c[_0x37d24a(0x17c)]&&(_0x7dd1c[_0x37d24a(0x17c)][_0x37d24a(0x162)][_0x37d24a(0x172)]=_0x37d24a(0x16d),_0x7dd1c[_0x37d24a(0x17c)][_0x37d24a(0x177)]=_0x549e0d(_0x7dd1c[_0x37d24a(0x17c)][_0x37d24a(0x162)])),_0x7dd1c[_0x37d24a(0x167)]=_0x37d24a(0x183)+_0x7dd1c[_0x37d24a(0x167)][_0x37d24a(0x178)](':')[0x2],_0xef8fb3[_0x37d24a(0x163)][_0x37d24a(0x174)](),_0x20f5ef[_0x37d24a(0x168)](_0x354c50),_0x20f5ef[_0x37d24a(0x168)](_0x7dd1c);}[_0x20874a(0x171)](_0x19ebe6){const _0x190e23=_0x20874a,_0x365145={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x190e23(0x17a)][_0x190e23(0x176)](_0x190e23(0x175))[_0x190e23(0x166)](_0x365145,[_0x19ebe6]),_0x365145[_0x190e23(0x182)][0x0];}[_0x20874a(0x17d)](_0x36bd9b){const _0x53aacc=_0x20874a,_0x249a6c=[];return this[_0x53aacc(0x17a)][_0x53aacc(0x176)](_0x53aacc(0x175))[_0x53aacc(0x16e)](_0x249a6c,_0x36bd9b),_0x249a6c[0x0];}[_0x20874a(0x164)](_0x3ca3c4,_0x40cd52){const _0x17a01a=_0x20874a;return!(!_0x3ca3c4||!_0x40cd52)&&(_0x17a01a(0x175)==_0x3ca3c4[_0x17a01a(0x179)]&&_0x17a01a(0x175)==_0x40cd52[_0x17a01a(0x179)]&&!(!_0x3ca3c4[_0x17a01a(0x167)][_0x17a01a(0x181)](_0x17a01a(0x169))||!_0x40cd52[_0x17a01a(0x167)][_0x17a01a(0x181)](_0x17a01a(0x169))||_0x3ca3c4[_0x17a01a(0x167)]==_0x40cd52[_0x17a01a(0x167)]));}}
|
package/src/compressor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2fb54=_0x1a6e;(function(_0x4419df,_0x547d82){const _0x1ee1af=_0x1a6e,_0x3371d3=_0x4419df();while(!![]){try{const _0x1f812c=parseInt(_0x1ee1af(0x1b7))/0x1+-parseInt(_0x1ee1af(0x1c7))/0x2*(-parseInt(_0x1ee1af(0x19d))/0x3)+parseInt(_0x1ee1af(0x19c))/0x4+parseInt(_0x1ee1af(0x1c5))/0x5*(parseInt(_0x1ee1af(0x1a0))/0x6)+parseInt(_0x1ee1af(0x1a7))/0x7+-parseInt(_0x1ee1af(0x1a5))/0x8*(-parseInt(_0x1ee1af(0x1a3))/0x9)+-parseInt(_0x1ee1af(0x1bc))/0xa;if(_0x1f812c===_0x547d82)break;else _0x3371d3['push'](_0x3371d3['shift']());}catch(_0x383f7b){_0x3371d3['push'](_0x3371d3['shift']());}}}(_0x1615,0x7363c));import{CKEditorError as _0x3b12e5}from'ckeditor5/src/utils.js';function _0x1a6e(_0x14b127,_0x448081){const _0x161518=_0x1615();return _0x1a6e=function(_0x1a6e7d,_0x2f499e){_0x1a6e7d=_0x1a6e7d-0x19a;let _0x3b7983=_0x161518[_0x1a6e7d];return _0x3b7983;},_0x1a6e(_0x14b127,_0x448081);}function _0x1615(){const _0x5d7faf=['__className','24BVxUjj','NoOperation','42168COiDnO','decompress','types','RootAttributeOperation','TypingAction','comment','MarkerOperation','_compressorById','_protobufFactory','decompress-compressor-not-found','UserSelectionAction','baseVersion','MergeOperation','CommentMarkerOperation','get','_registerActionCompressor','116231bERcXF','SuggestionMarkerOperation','getDescriptor','RenameOperation','suggestion','10268120BbgtYn','MoveOperation','no-operations-provided','DeletingAction','RootOperation','AttributeOperation','compress','_getCompressorByName','_compressorByName','2462710CBJRGC','SplitOperation','10930ooqCPn','_registerCompressor','forEach','_registerOperationCompressor','181676GTSEli','45FxmBlE','length','InsertOperation','6Vnkiag','set','ForwardDeletingAction','2271771UNmrVI'];_0x1615=function(){return _0x5d7faf;};return _0x1615();}import{ProtobufFactory as _0x2ded4d}from'./protobuffactory.js';import{OperationCompressor as _0x1ec280}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x2b029a}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x187a2b}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x15ca9c}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x22e01e}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x2566be}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x32bd76}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x181e8c}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x5d078e}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x46faab}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x2fb54(0x1ae)];[_0x2fb54(0x1c4)];[_0x2fb54(0x1af)];constructor(){const _0x520a4a=_0x2fb54;this[_0x520a4a(0x1ae)]=new Map(),this[_0x520a4a(0x1c4)]=new Map(),this[_0x520a4a(0x1af)]=new _0x2ded4d();const _0xabe5f4=this[_0x520a4a(0x1af)][_0x520a4a(0x1b9)](_0x520a4a(0x1ad));this[_0x520a4a(0x1c8)](0x1,_0x520a4a(0x1a6),new _0x22e01e(0x1,_0x520a4a(0x1a6),void 0x0)),this[_0x520a4a(0x19b)](0xa,_0x520a4a(0x1c1),_0x2b029a),this[_0x520a4a(0x19b)](0xb,_0x520a4a(0x19f),_0x187a2b),this[_0x520a4a(0x19b)](0xc,_0x520a4a(0x1ad),_0x15ca9c),this[_0x520a4a(0x19b)](0xd,_0x520a4a(0x1b3),_0x1ec280),this[_0x520a4a(0x19b)](0xe,_0x520a4a(0x1bd),_0x1ec280),this[_0x520a4a(0x19b)](0xf,_0x520a4a(0x1ba),_0x1ec280),this[_0x520a4a(0x19b)](0x10,_0x520a4a(0x1aa),_0x2b029a),this[_0x520a4a(0x19b)](0x11,_0x520a4a(0x1c6),_0x1ec280),this[_0x520a4a(0x1c8)](0x12,_0x520a4a(0x1b4),new _0x2566be(0x12,_0x520a4a(0x1ad),_0xabe5f4,_0x520a4a(0x1ac))),this[_0x520a4a(0x1c8)](0x13,_0x520a4a(0x1b8),new _0x2566be(0x13,_0x520a4a(0x1ad),_0xabe5f4,_0x520a4a(0x1bb))),this[_0x520a4a(0x19b)](0x14,_0x520a4a(0x1c0),_0x1ec280),this[_0x520a4a(0x1b6)](0x64,_0x520a4a(0x1ab),_0x32bd76),this[_0x520a4a(0x1b6)](0x65,_0x520a4a(0x1bf),_0x181e8c),this[_0x520a4a(0x1b6)](0x66,_0x520a4a(0x1a2),_0x5d078e),this[_0x520a4a(0x1b6)](0x67,_0x520a4a(0x1b1),_0x46faab);}[_0x2fb54(0x1c2)](_0x19ecb8){const _0x147ee5=_0x2fb54;if(!_0x19ecb8||!_0x19ecb8[0x0])throw new _0x3b12e5(_0x147ee5(0x1be),this);const _0x1689ef={'types':[],'buffers':[],'baseVersion':_0x19ecb8[0x0][_0x147ee5(0x1b2)]};for(;_0x19ecb8[_0x147ee5(0x19e)];)this[_0x147ee5(0x1c3)](_0x147ee5(0x1b1))[_0x147ee5(0x1c2)](_0x1689ef,_0x19ecb8)||this[_0x147ee5(0x1c3)](_0x147ee5(0x1ab))[_0x147ee5(0x1c2)](_0x1689ef,_0x19ecb8)||this[_0x147ee5(0x1c3)](_0x147ee5(0x1bf))[_0x147ee5(0x1c2)](_0x1689ef,_0x19ecb8)||this[_0x147ee5(0x1c3)](_0x147ee5(0x1a2))[_0x147ee5(0x1c2)](_0x1689ef,_0x19ecb8)||this[_0x147ee5(0x1c3)](_0x147ee5(0x1b4))[_0x147ee5(0x1c2)](_0x1689ef,_0x19ecb8)||this[_0x147ee5(0x1c3)](_0x147ee5(0x1b8))[_0x147ee5(0x1c2)](_0x1689ef,_0x19ecb8)||this[_0x147ee5(0x1c3)](_0x19ecb8[0x0][_0x147ee5(0x1a4)])[_0x147ee5(0x1c2)](_0x1689ef,_0x19ecb8);return _0x1689ef;}[_0x2fb54(0x1a8)](_0xb46c2c){const _0x488d05=_0x2fb54,_0x4d98df=[];for(;_0xb46c2c[_0x488d05(0x1a9)][_0x488d05(0x19e)];){const _0x53723e=this[_0x488d05(0x1ae)][_0x488d05(0x1b5)](_0xb46c2c[_0x488d05(0x1a9)][0x0]);if(!_0x53723e)throw new _0x3b12e5(_0x488d05(0x1b0),this,{'type':_0xb46c2c[_0x488d05(0x1a9)][0x0]});_0x53723e[_0x488d05(0x1a8)](_0x4d98df,_0xb46c2c);}return _0x4d98df[_0x488d05(0x19a)]((_0x458f37,_0x2ff4ae)=>_0x458f37[_0x488d05(0x1b2)]=_0xb46c2c[_0x488d05(0x1b2)]+_0x2ff4ae),_0x4d98df;}[_0x2fb54(0x1c3)](_0x57a40e){const _0x58bb44=_0x2fb54;return this[_0x58bb44(0x1c4)][_0x58bb44(0x1b5)](_0x57a40e);}[_0x2fb54(0x19b)](_0x1a948a,_0x3ff7bf,_0x1d1590){const _0x18d8da=_0x2fb54,_0x46ee48=new _0x1d1590(_0x1a948a,_0x3ff7bf,this[_0x18d8da(0x1af)][_0x18d8da(0x1b9)](_0x3ff7bf));this[_0x18d8da(0x1c8)](_0x1a948a,_0x3ff7bf,_0x46ee48);}[_0x2fb54(0x1b6)](_0x3d0e0e,_0x4fdac8,_0xc080a4){const _0x25a1ee=_0x2fb54,_0x2b22c5=new _0xc080a4(_0x3d0e0e,this);this[_0x25a1ee(0x1c8)](_0x3d0e0e,_0x4fdac8,_0x2b22c5);}[_0x2fb54(0x1c8)](_0x4263d1,_0x329deb,_0x45ed9e){const _0x56d4d0=_0x2fb54;this[_0x56d4d0(0x1ae)][_0x56d4d0(0x1a1)](_0x4263d1,_0x45ed9e),this[_0x56d4d0(0x1c4)][_0x56d4d0(0x1a1)](_0x329deb,_0x45ed9e);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4b0f4a,_0x5a4aaf){var _0x466d51=_0x2950,_0x455e07=_0x4b0f4a();while(!![]){try{var _0x3adeab=parseInt(_0x466d51(0x180))/0x1+parseInt(_0x466d51(0x182))/0x2*(parseInt(_0x466d51(0x181))/0x3)+parseInt(_0x466d51(0x17f))/0x4+-parseInt(_0x466d51(0x185))/0x5*(parseInt(_0x466d51(0x183))/0x6)+parseInt(_0x466d51(0x184))/0x7+parseInt(_0x466d51(0x17e))/0x8+-parseInt(_0x466d51(0x17d))/0x9;if(_0x3adeab===_0x5a4aaf)break;else _0x455e07['push'](_0x455e07['shift']());}catch(_0x16ac8a){_0x455e07['push'](_0x455e07['shift']());}}}(_0x5711,0xa473c));function _0x2950(_0x299087,_0x172c99){var _0x571172=_0x5711();return _0x2950=function(_0x29504f,_0x3d6a21){_0x29504f=_0x29504f-0x17d;var _0x394b4d=_0x571172[_0x29504f];return _0x394b4d;},_0x2950(_0x299087,_0x172c99);}function _0x5711(){var _0x64d9fc=['11057832XiuvdS','2580096oBerSp','3331880wgGoem','827344MHsdGx','2241NNeSML','432tZNQZh','6UXNetH','2992661lndLZO','3347285bQDwSU'];_0x5711=function(){return _0x64d9fc;};return _0x5711();}export{Compressor}from'./compressor.js';
|