@ckeditor/ckeditor5-operations-compressor 47.3.0-alpha.6 → 47.3.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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)];}}
23
+ const _0x582a86=_0x2b9e;function _0x2b9e(_0x310c01,_0x179c7f){const _0x163f1e=_0x163f();return _0x2b9e=function(_0x2b9e20,_0x4205c3){_0x2b9e20=_0x2b9e20-0xa5;let _0x52d8b4=_0x163f1e[_0x2b9e20];return _0x52d8b4;},_0x2b9e(_0x310c01,_0x179c7f);}(function(_0x526485,_0x77b72){const _0x4e57d3=_0x2b9e,_0x2755df=_0x526485();while(!![]){try{const _0x3bdaec=-parseInt(_0x4e57d3(0xa8))/0x1*(-parseInt(_0x4e57d3(0xb6))/0x2)+-parseInt(_0x4e57d3(0xa6))/0x3*(parseInt(_0x4e57d3(0xbc))/0x4)+parseInt(_0x4e57d3(0xa7))/0x5+-parseInt(_0x4e57d3(0xb2))/0x6+parseInt(_0x4e57d3(0xac))/0x7*(-parseInt(_0x4e57d3(0xc3))/0x8)+-parseInt(_0x4e57d3(0xc2))/0x9*(parseInt(_0x4e57d3(0xa5))/0xa)+-parseInt(_0x4e57d3(0xbe))/0xb*(-parseInt(_0x4e57d3(0xaf))/0xc);if(_0x3bdaec===_0x77b72)break;else _0x2755df['push'](_0x2755df['shift']());}catch(_0x56d8a6){_0x2755df['push'](_0x2755df['shift']());}}}(_0x163f,0xd98c7));import{ActionCompressor as _0x405b08}from'./actioncompressor.js';import{arePositionsEqual as _0x411b19,getPositionShiftedBy as _0x44994e}from'../utils.js';import{cloneDeep as _0x306535}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x405b08{[_0x582a86(0xb0)](_0x5d56cc,_0x3a7d1f){const _0x15f735=_0x582a86;return _0x3a7d1f[_0x15f735(0xae)]++,_0x3a7d1f[_0x15f735(0xba)]=_0x306535(_0x5d56cc[_0x15f735(0xba)]),_0x3a7d1f;}[_0x582a86(0xad)](_0x59d3b3){const _0x3cee95=_0x582a86,_0x19c76a=_0x306535(_0x59d3b3);return _0x59d3b3[_0x3cee95(0xae)]--,_0x19c76a[_0x3cee95(0xae)]=0x1,_0x19c76a[_0x3cee95(0xba)]=_0x44994e(_0x19c76a[_0x3cee95(0xba)],_0x59d3b3[_0x3cee95(0xae)]),_0x19c76a;}[_0x582a86(0xb1)](_0x2190eb,_0x518b3c){const _0x5b1e37=_0x582a86;return!(!this[_0x5b1e37(0xab)](_0x2190eb)||!this[_0x5b1e37(0xab)](_0x518b3c))&&(_0x411b19(_0x44994e(_0x2190eb[_0x5b1e37(0xba)],-0x1),_0x518b3c[_0x5b1e37(0xba)])&&_0x411b19(_0x2190eb[_0x5b1e37(0xb7)],_0x518b3c[_0x5b1e37(0xb7)]));}[_0x582a86(0xb8)](_0x195a21){const _0x16b1b8=_0x582a86,_0x5c3edf={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x16b1b8(0xb5)][_0x16b1b8(0xb9)](_0x16b1b8(0xbd))[_0x16b1b8(0xc0)](_0x5c3edf,[_0x195a21]),_0x5c3edf[_0x16b1b8(0xbb)][0x0];}[_0x582a86(0xc1)](_0x1ed058){const _0xb68999=_0x582a86,_0x141b24=[];return this[_0xb68999(0xb5)][_0xb68999(0xb9)](_0xb68999(0xbd))[_0xb68999(0xb4)](_0x141b24,_0x1ed058),_0x141b24[0x0];}[_0x582a86(0xab)](_0x47ace2){const _0x548a5b=_0x582a86;return _0x548a5b(0xbd)==_0x47ace2[_0x548a5b(0xa9)]&&_0x548a5b(0xb3)==_0x47ace2[_0x548a5b(0xb7)][_0x548a5b(0xaa)]&&0x1==_0x47ace2[_0x548a5b(0xae)]&&!_0x47ace2[_0x548a5b(0xbf)];}}function _0x163f(){const _0x5d3976=['root','_checkOperation','924497mvJLxR','_splitCurrent','howMany','12dZGKLg','_combineNext','_compareOperations','2860236weEWCx','$graveyard','decompress','_context','41708xXCMDp','targetPosition','_compressSingleOperation','_getCompressorByName','sourcePosition','buffers','4BJzOSb','MoveOperation','8525858XMuKqQ','wasUndone','compress','_decompressSingleOperation','9448623LhYxRX','8FRRxrr','10hfgnTs','672153KkKKXr','1964590CueJXG','77ffPXui','__className'];_0x163f=function(){return _0x5d3976;};return _0x163f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)];}}
23
+ const _0x214cda=_0x791f;function _0x791f(_0x54fdcb,_0x2aa4a4){const _0x181687=_0x1816();return _0x791f=function(_0x791f9c,_0x44711e){_0x791f9c=_0x791f9c-0x1c4;let _0x3e4a8c=_0x181687[_0x791f9c];return _0x3e4a8c;},_0x791f(_0x54fdcb,_0x2aa4a4);}(function(_0x53cc42,_0x80a39c){const _0x1439dc=_0x791f,_0x2c1eaf=_0x53cc42();while(!![]){try{const _0x3d0644=-parseInt(_0x1439dc(0x1df))/0x1+parseInt(_0x1439dc(0x1d8))/0x2*(parseInt(_0x1439dc(0x1d9))/0x3)+parseInt(_0x1439dc(0x1ce))/0x4+-parseInt(_0x1439dc(0x1d0))/0x5+-parseInt(_0x1439dc(0x1dd))/0x6+-parseInt(_0x1439dc(0x1c7))/0x7+parseInt(_0x1439dc(0x1d4))/0x8*(parseInt(_0x1439dc(0x1d2))/0x9);if(_0x3d0644===_0x80a39c)break;else _0x2c1eaf['push'](_0x2c1eaf['shift']());}catch(_0x31de99){_0x2c1eaf['push'](_0x2c1eaf['shift']());}}}(_0x1816,0xc9dd2));import{ActionCompressor as _0x43d047}from'./actioncompressor.js';function _0x1816(){const _0xde8cc2=['4528484IoCEaK','compress','5186010bAZjoQ','_getCompressorByName','121752WZIknr','howMany','1112LSLEBh','root','wasUndone','targetPosition','129630xYXNZY','75oXsZhT','_combineNext','buffers','_decompressSingleOperation','4851102rNNOCA','$graveyard','560286hinmrP','decompress','sourcePosition','_compareOperations','9800343eAJOkz','__className','_checkOperation','MoveOperation','_context','_splitCurrent','_compressSingleOperation'];_0x1816=function(){return _0xde8cc2;};return _0x1816();}import{arePositionsEqual as _0x3dceb9}from'../utils.js';import{cloneDeep as _0x12e92a}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x43d047{[_0x214cda(0x1da)](_0x30f791,_0x231be2){const _0x574f2a=_0x214cda;return _0x231be2[_0x574f2a(0x1d3)]++,_0x231be2;}[_0x214cda(0x1cc)](_0x4adf73){const _0xdc54a3=_0x214cda,_0x504ada=_0x12e92a(_0x4adf73);return _0x504ada[_0xdc54a3(0x1d3)]=0x1,_0x4adf73[_0xdc54a3(0x1d3)]--,_0x504ada;}[_0x214cda(0x1c6)](_0x9079d3,_0x494915){const _0x12b6bc=_0x214cda;return!(!this[_0x12b6bc(0x1c9)](_0x9079d3)||!this[_0x12b6bc(0x1c9)](_0x494915))&&(_0x3dceb9(_0x9079d3[_0x12b6bc(0x1c5)],_0x494915[_0x12b6bc(0x1c5)])&&_0x3dceb9(_0x9079d3[_0x12b6bc(0x1d7)],_0x494915[_0x12b6bc(0x1d7)]));}[_0x214cda(0x1cd)](_0x1692ea){const _0x40f7a7=_0x214cda,_0x2e56b3={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x40f7a7(0x1cb)][_0x40f7a7(0x1d1)](_0x40f7a7(0x1ca))[_0x40f7a7(0x1cf)](_0x2e56b3,[_0x1692ea]),_0x2e56b3[_0x40f7a7(0x1db)][0x0];}[_0x214cda(0x1dc)](_0x24a1b5){const _0x332c64=_0x214cda,_0x2c2ad6=[];return this[_0x332c64(0x1cb)][_0x332c64(0x1d1)](_0x332c64(0x1ca))[_0x332c64(0x1c4)](_0x2c2ad6,_0x24a1b5),_0x2c2ad6[0x0];}[_0x214cda(0x1c9)](_0xde9c9b){const _0x21410b=_0x214cda;return _0x21410b(0x1ca)==_0xde9c9b[_0x21410b(0x1c8)]&&_0x21410b(0x1de)==_0xde9c9b[_0x21410b(0x1d7)][_0x21410b(0x1d5)]&&0x1==_0xde9c9b[_0x21410b(0x1d3)]&&!_0xde9c9b[_0x21410b(0x1d6)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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]);}}
23
+ const _0x250d98=_0x268f;(function(_0x428aaf,_0xbe733f){const _0x1910c7=_0x268f,_0x386b36=_0x428aaf();while(!![]){try{const _0xc37b62=-parseInt(_0x1910c7(0x181))/0x1+-parseInt(_0x1910c7(0x18a))/0x2*(-parseInt(_0x1910c7(0x189))/0x3)+-parseInt(_0x1910c7(0x18e))/0x4+parseInt(_0x1910c7(0x175))/0x5+-parseInt(_0x1910c7(0x182))/0x6+parseInt(_0x1910c7(0x192))/0x7*(parseInt(_0x1910c7(0x18f))/0x8)+parseInt(_0x1910c7(0x177))/0x9;if(_0xc37b62===_0xbe733f)break;else _0x386b36['push'](_0x386b36['shift']());}catch(_0x18186c){_0x386b36['push'](_0x386b36['shift']());}}}(_0x38af,0x9a49c));import{ActionCompressor as _0x36f2fe}from'./actioncompressor.js';import{arePositionsEqual as _0x10d976,getPositionShiftedBy as _0x32d18b}from'../utils.js';function _0x268f(_0x22123d,_0x28e45b){const _0x38afae=_0x38af();return _0x268f=function(_0x268fe6,_0x4c5108){_0x268fe6=_0x268fe6-0x16f;let _0x17c4a9=_0x38afae[_0x268fe6];return _0x17c4a9;},_0x268f(_0x22123d,_0x28e45b);}import{cloneDeep as _0x108908}from'es-toolkit/compat';function _0x38af(){const _0x56b92e=['data','__className','value','wasUndone','position','nodes','1601403AikTdh','2ucdhVv','every','from','iterator','3275172iTBtlY','649464uuKzQg','_compressSingleOperation','buffers','14PZiNVQ','keys','_context','_compareAttributes','_getCompressorByName','next','_decompressSingleOperation','1065175upzxxP','length','19689480TRoxmJ','compress','_compareOperations','decompress','attributes','substr','_combineNext','InsertOperation','_checkOperation','_splitCurrent','1068806ebSIxo','3464154VuDWQz'];_0x38af=function(){return _0x56b92e;};return _0x38af();}export class TypingActionCompressor extends _0x36f2fe{[_0x250d98(0x17d)](_0x1533dd,_0x49f00e){const _0x3d4eba=_0x250d98;return _0x49f00e[_0x3d4eba(0x188)][0x0][_0x3d4eba(0x183)]+=_0x1533dd[_0x3d4eba(0x188)][0x0][_0x3d4eba(0x183)],_0x49f00e;}[_0x250d98(0x180)](_0x52e68c){const _0x3f315e=_0x250d98,_0x1b0a09=_0x108908(_0x52e68c),_0x4e16aa=_0x1b0a09[_0x3f315e(0x188)][0x0],_0x3b4a0b=_0x52e68c[_0x3f315e(0x188)][0x0],_0x16e7b9=_0x3b4a0b[_0x3f315e(0x183)][Symbol[_0x3f315e(0x18d)]]()[_0x3f315e(0x173)]()[_0x3f315e(0x185)],_0x3ce9d2=_0x16e7b9[_0x3f315e(0x176)];return _0x4e16aa[_0x3f315e(0x183)]=_0x16e7b9,_0x3b4a0b[_0x3f315e(0x183)]=_0x3b4a0b[_0x3f315e(0x183)][_0x3f315e(0x17c)](_0x3ce9d2),_0x52e68c[_0x3f315e(0x187)]=_0x32d18b(_0x52e68c[_0x3f315e(0x187)],_0x3ce9d2),_0x1b0a09;}[_0x250d98(0x179)](_0xa2114a,_0x1daccd){const _0x2ea4d9=_0x250d98;if(this[_0x2ea4d9(0x17f)](_0xa2114a)&&this[_0x2ea4d9(0x17f)](_0x1daccd)){const _0x22964f=_0xa2114a[_0x2ea4d9(0x188)][0x0][_0x2ea4d9(0x183)][_0x2ea4d9(0x176)],_0x260a0b=_0x10d976(_0x32d18b(_0xa2114a[_0x2ea4d9(0x187)],_0x22964f),_0x1daccd[_0x2ea4d9(0x187)]),_0x243c64=_0xa2114a[_0x2ea4d9(0x188)][0x0],_0x35975d=_0x1daccd[_0x2ea4d9(0x188)][0x0];return _0x260a0b&&this[_0x2ea4d9(0x171)](_0x243c64,_0x35975d);}return!0x1;}[_0x250d98(0x190)](_0x523316){const _0x59b76f=_0x250d98,_0xd9cece={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x59b76f(0x170)][_0x59b76f(0x172)](_0x59b76f(0x17e))[_0x59b76f(0x178)](_0xd9cece,[_0x523316]),_0xd9cece[_0x59b76f(0x191)][0x0];}[_0x250d98(0x174)](_0x3737dc){const _0x50267f=_0x250d98,_0x3dff5b=[];return this[_0x50267f(0x170)][_0x50267f(0x172)](_0x50267f(0x17e))[_0x50267f(0x17a)](_0x3dff5b,_0x3737dc),_0x3dff5b[0x0];}[_0x250d98(0x17f)](_0x2f3ba8){const _0xc1c7ab=_0x250d98;return _0xc1c7ab(0x17e)==_0x2f3ba8[_0xc1c7ab(0x184)]&&0x1==_0x2f3ba8[_0xc1c7ab(0x188)][_0xc1c7ab(0x176)]&&_0x2f3ba8[_0xc1c7ab(0x188)][0x0][_0xc1c7ab(0x183)]&&!_0x2f3ba8[_0xc1c7ab(0x186)]&&0x1==Array[_0xc1c7ab(0x18c)](_0x2f3ba8[_0xc1c7ab(0x188)][0x0][_0xc1c7ab(0x183)])[_0xc1c7ab(0x176)];}[_0x250d98(0x171)](_0x3574cb,_0x132ba5){const _0x36f133=_0x250d98,_0x74a63d=Object[_0x36f133(0x16f)](_0x3574cb[_0x36f133(0x17b)]||{}),_0xc8fe66=Object[_0x36f133(0x16f)](_0x132ba5[_0x36f133(0x17b)]||{});return _0x74a63d[_0x36f133(0x176)]===_0xc8fe66[_0x36f133(0x176)]&&_0x74a63d[_0x36f133(0x18b)](_0x15b243=>_0x132ba5[_0x36f133(0x17b)][_0x15b243]&&_0x132ba5[_0x36f133(0x17b)][_0x15b243]===_0x3574cb[_0x36f133(0x17b)][_0x15b243]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)]));}}
23
+ const _0x36c2a7=_0x1fb3;(function(_0x2e9902,_0x482c17){const _0x564afc=_0x1fb3,_0x1854af=_0x2e9902();while(!![]){try{const _0xacbdab=-parseInt(_0x564afc(0x1b8))/0x1+parseInt(_0x564afc(0x1a8))/0x2*(parseInt(_0x564afc(0x1ba))/0x3)+-parseInt(_0x564afc(0x1b4))/0x4+-parseInt(_0x564afc(0x1a2))/0x5*(parseInt(_0x564afc(0x1b6))/0x6)+-parseInt(_0x564afc(0x1af))/0x7*(parseInt(_0x564afc(0x1bd))/0x8)+-parseInt(_0x564afc(0x1be))/0x9*(parseInt(_0x564afc(0x1a0))/0xa)+parseInt(_0x564afc(0x1aa))/0xb;if(_0xacbdab===_0x482c17)break;else _0x1854af['push'](_0x1854af['shift']());}catch(_0x3c2494){_0x1854af['push'](_0x1854af['shift']());}}}(_0x28b1,0x4bb07));function _0x28b1(){const _0x57993e=['1047600xzZkiQ','user:','12nlxAUy','_compareOperations','320968Ppvlhv','MarkerOperation','45eTkySR','start','_context','8vNNVwg','51867RQWUPY','stickiness','compress','shift','user:position:','end','370saaYuK','startsWith','1097015oArSQb','decompress','_decompressSingleOperation','toNone','split','newRange','44654sYcMIX','push','18772974KhHhGV','buffers','name','__className','_compressSingleOperation','3476277VQjVdD','_getCompressorByName','_id','types','oldRange'];_0x28b1=function(){return _0x57993e;};return _0x28b1();}import{ActionCompressor as _0x3f4773}from'./actioncompressor.js';import{arePositionsEqual as _0x408635}from'../utils.js';import{cloneDeep as _0x448b2b}from'es-toolkit/compat';function _0x1fb3(_0x433c22,_0x4a9257){const _0x28b190=_0x28b1();return _0x1fb3=function(_0x1fb356,_0x37da25){_0x1fb356=_0x1fb356-0x19f;let _0x252ee5=_0x28b190[_0x1fb356];return _0x252ee5;},_0x1fb3(_0x433c22,_0x4a9257);}export class UserSelectionActionCompressor extends _0x3f4773{[_0x36c2a7(0x1c0)](_0x2ada9a,_0x559530){const _0x29c27b=_0x36c2a7;if(!this[_0x29c27b(0x1b7)](_0x559530[0x0],_0x559530[0x1]))return!0x1;const _0x171da9=_0x559530[_0x29c27b(0x1c1)]();return _0x171da9[_0x29c27b(0x1b3)]=null,_0x171da9[_0x29c27b(0x1a7)]&&_0x408635(_0x171da9[_0x29c27b(0x1a7)][_0x29c27b(0x1bb)],_0x171da9[_0x29c27b(0x1a7)][_0x29c27b(0x19f)])&&(_0x171da9[_0x29c27b(0x1a7)][_0x29c27b(0x19f)]=null),_0x559530[_0x29c27b(0x1c1)](),_0x2ada9a[_0x29c27b(0x1b2)][_0x29c27b(0x1a9)](this[_0x29c27b(0x1b1)]),_0x2ada9a[_0x29c27b(0x1b2)][_0x29c27b(0x1a9)](0x0),_0x2ada9a[_0x29c27b(0x1ab)][_0x29c27b(0x1a9)](this[_0x29c27b(0x1ae)](_0x171da9)),!0x0;}[_0x36c2a7(0x1a3)](_0x119708,_0x199712){const _0x5ba971=_0x36c2a7,_0x39acbe=this[_0x5ba971(0x1a4)](_0x199712);_0x39acbe[_0x5ba971(0x1a7)]&&!_0x39acbe[_0x5ba971(0x1a7)][_0x5ba971(0x19f)]&&(_0x39acbe[_0x5ba971(0x1a7)][_0x5ba971(0x19f)]=_0x448b2b(_0x39acbe[_0x5ba971(0x1a7)][_0x5ba971(0x1bb)]));const _0x31d727=_0x448b2b(_0x39acbe);_0x31d727[_0x5ba971(0x1a7)]&&(_0x31d727[_0x5ba971(0x1a7)][_0x5ba971(0x1bb)][_0x5ba971(0x1bf)]=_0x5ba971(0x1a5),_0x31d727[_0x5ba971(0x1a7)][_0x5ba971(0x19f)]=_0x448b2b(_0x31d727[_0x5ba971(0x1a7)][_0x5ba971(0x1bb)])),_0x31d727[_0x5ba971(0x1ac)]=_0x5ba971(0x1c2)+_0x31d727[_0x5ba971(0x1ac)][_0x5ba971(0x1a6)](':')[0x2],_0x199712[_0x5ba971(0x1b2)][_0x5ba971(0x1c1)](),_0x119708[_0x5ba971(0x1a9)](_0x39acbe),_0x119708[_0x5ba971(0x1a9)](_0x31d727);}[_0x36c2a7(0x1ae)](_0x2f9638){const _0x34e2ad=_0x36c2a7,_0x37300f={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x34e2ad(0x1bc)][_0x34e2ad(0x1b0)](_0x34e2ad(0x1b9))[_0x34e2ad(0x1c0)](_0x37300f,[_0x2f9638]),_0x37300f[_0x34e2ad(0x1ab)][0x0];}[_0x36c2a7(0x1a4)](_0x41f28d){const _0x120552=_0x36c2a7,_0x1b82c5=[];return this[_0x120552(0x1bc)][_0x120552(0x1b0)](_0x120552(0x1b9))[_0x120552(0x1a3)](_0x1b82c5,_0x41f28d),_0x1b82c5[0x0];}[_0x36c2a7(0x1b7)](_0x1a2cb4,_0x4f6899){const _0x1ad28c=_0x36c2a7;return!(!_0x1a2cb4||!_0x4f6899)&&(_0x1ad28c(0x1b9)==_0x1a2cb4[_0x1ad28c(0x1ad)]&&_0x1ad28c(0x1b9)==_0x4f6899[_0x1ad28c(0x1ad)]&&!(!_0x1a2cb4[_0x1ad28c(0x1ac)][_0x1ad28c(0x1a1)](_0x1ad28c(0x1b5))||!_0x4f6899[_0x1ad28c(0x1ac)][_0x1ad28c(0x1a1)](_0x1ad28c(0x1b5))||_0x1a2cb4[_0x1ad28c(0x1ac)]==_0x4f6899[_0x1ad28c(0x1ac)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);}}
23
+ const _0x1ed520=_0x3560;(function(_0x39efae,_0x36efa7){const _0x2120cf=_0x3560,_0x41a423=_0x39efae();while(!![]){try{const _0x5a82b8=parseInt(_0x2120cf(0x181))/0x1*(parseInt(_0x2120cf(0x19f))/0x2)+-parseInt(_0x2120cf(0x17e))/0x3+-parseInt(_0x2120cf(0x184))/0x4*(-parseInt(_0x2120cf(0x18e))/0x5)+parseInt(_0x2120cf(0x17c))/0x6+parseInt(_0x2120cf(0x189))/0x7*(parseInt(_0x2120cf(0x174))/0x8)+parseInt(_0x2120cf(0x191))/0x9+-parseInt(_0x2120cf(0x195))/0xa;if(_0x5a82b8===_0x36efa7)break;else _0x41a423['push'](_0x41a423['shift']());}catch(_0x153886){_0x41a423['push'](_0x41a423['shift']());}}}(_0x81d4,0x9a80a));import{CKEditorError as _0x4bf369}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x30835a}from'./protobuffactory.js';import{OperationCompressor as _0x36489c}from'./operationcompressor/operationcompressor.js';function _0x3560(_0x2f6d83,_0x6a9f41){const _0x81d4eb=_0x81d4();return _0x3560=function(_0x356072,_0x193adc){_0x356072=_0x356072-0x174;let _0x2fab3d=_0x81d4eb[_0x356072];return _0x2fab3d;},_0x3560(_0x2f6d83,_0x6a9f41);}import{AttributeOperationCompressor as _0x51d4e5}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x1b808d}from'./operationcompressor/insertoperationcompressor.js';function _0x81d4(){const _0x1c5bcd=['compress','320864ptdGgk','getDescriptor','RootAttributeOperation','UserSelectionAction','types','ForwardDeletingAction','no-operations-provided','decompress-compressor-not-found','6987762eZtltY','decompress','3702777eAwNVj','MoveOperation','RootOperation','1OIjYvn','comment','AttributeOperation','484gDJnqx','_registerOperationCompressor','_registerActionCompressor','CommentMarkerOperation','TypingAction','210nYFrmZ','SuggestionMarkerOperation','set','forEach','_registerCompressor','4705hmxPTa','MarkerOperation','__className','8230473SvwEEW','_compressorByName','DeletingAction','length','22798570GjzxEo','_compressorById','_getCompressorByName','_protobufFactory','get','RenameOperation','NoOperation','suggestion','SplitOperation','MergeOperation','1501466GiXnaP','InsertOperation','baseVersion'];_0x81d4=function(){return _0x1c5bcd;};return _0x81d4();}import{MarkerOperationCompressor as _0xbbe307}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x4f3947}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x4338e1}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x50da88}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x28ba1f}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x17a460}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x710d7f}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x1ed520(0x196)];[_0x1ed520(0x192)];[_0x1ed520(0x198)];constructor(){const _0x33fa31=_0x1ed520;this[_0x33fa31(0x196)]=new Map(),this[_0x33fa31(0x192)]=new Map(),this[_0x33fa31(0x198)]=new _0x30835a();const _0x4ef2f0=this[_0x33fa31(0x198)][_0x33fa31(0x175)](_0x33fa31(0x18f));this[_0x33fa31(0x18d)](0x1,_0x33fa31(0x19b),new _0x4f3947(0x1,_0x33fa31(0x19b),void 0x0)),this[_0x33fa31(0x185)](0xa,_0x33fa31(0x183),_0x51d4e5),this[_0x33fa31(0x185)](0xb,_0x33fa31(0x1a0),_0x1b808d),this[_0x33fa31(0x185)](0xc,_0x33fa31(0x18f),_0xbbe307),this[_0x33fa31(0x185)](0xd,_0x33fa31(0x19e),_0x36489c),this[_0x33fa31(0x185)](0xe,_0x33fa31(0x17f),_0x36489c),this[_0x33fa31(0x185)](0xf,_0x33fa31(0x19a),_0x36489c),this[_0x33fa31(0x185)](0x10,_0x33fa31(0x176),_0x51d4e5),this[_0x33fa31(0x185)](0x11,_0x33fa31(0x19d),_0x36489c),this[_0x33fa31(0x18d)](0x12,_0x33fa31(0x187),new _0x4338e1(0x12,_0x33fa31(0x18f),_0x4ef2f0,_0x33fa31(0x182))),this[_0x33fa31(0x18d)](0x13,_0x33fa31(0x18a),new _0x4338e1(0x13,_0x33fa31(0x18f),_0x4ef2f0,_0x33fa31(0x19c))),this[_0x33fa31(0x185)](0x14,_0x33fa31(0x180),_0x36489c),this[_0x33fa31(0x186)](0x64,_0x33fa31(0x188),_0x50da88),this[_0x33fa31(0x186)](0x65,_0x33fa31(0x193),_0x28ba1f),this[_0x33fa31(0x186)](0x66,_0x33fa31(0x179),_0x17a460),this[_0x33fa31(0x186)](0x67,_0x33fa31(0x177),_0x710d7f);}[_0x1ed520(0x1a2)](_0x255bed){const _0xc44930=_0x1ed520;if(!_0x255bed||!_0x255bed[0x0])throw new _0x4bf369(_0xc44930(0x17a),this);const _0x519cd6={'types':[],'buffers':[],'baseVersion':_0x255bed[0x0][_0xc44930(0x1a1)]};for(;_0x255bed[_0xc44930(0x194)];)this[_0xc44930(0x197)](_0xc44930(0x177))[_0xc44930(0x1a2)](_0x519cd6,_0x255bed)||this[_0xc44930(0x197)](_0xc44930(0x188))[_0xc44930(0x1a2)](_0x519cd6,_0x255bed)||this[_0xc44930(0x197)](_0xc44930(0x193))[_0xc44930(0x1a2)](_0x519cd6,_0x255bed)||this[_0xc44930(0x197)](_0xc44930(0x179))[_0xc44930(0x1a2)](_0x519cd6,_0x255bed)||this[_0xc44930(0x197)](_0xc44930(0x187))[_0xc44930(0x1a2)](_0x519cd6,_0x255bed)||this[_0xc44930(0x197)](_0xc44930(0x18a))[_0xc44930(0x1a2)](_0x519cd6,_0x255bed)||this[_0xc44930(0x197)](_0x255bed[0x0][_0xc44930(0x190)])[_0xc44930(0x1a2)](_0x519cd6,_0x255bed);return _0x519cd6;}[_0x1ed520(0x17d)](_0x2505f6){const _0x328a69=_0x1ed520,_0x5ab376=[];for(;_0x2505f6[_0x328a69(0x178)][_0x328a69(0x194)];){const _0x55160e=this[_0x328a69(0x196)][_0x328a69(0x199)](_0x2505f6[_0x328a69(0x178)][0x0]);if(!_0x55160e)throw new _0x4bf369(_0x328a69(0x17b),this,{'type':_0x2505f6[_0x328a69(0x178)][0x0]});_0x55160e[_0x328a69(0x17d)](_0x5ab376,_0x2505f6);}return _0x5ab376[_0x328a69(0x18c)]((_0x5a5036,_0x129a17)=>_0x5a5036[_0x328a69(0x1a1)]=_0x2505f6[_0x328a69(0x1a1)]+_0x129a17),_0x5ab376;}[_0x1ed520(0x197)](_0x282d96){const _0x254d6=_0x1ed520;return this[_0x254d6(0x192)][_0x254d6(0x199)](_0x282d96);}[_0x1ed520(0x185)](_0x1855fa,_0x1780b8,_0x22c54c){const _0xfb7e4e=_0x1ed520,_0x47f6ca=new _0x22c54c(_0x1855fa,_0x1780b8,this[_0xfb7e4e(0x198)][_0xfb7e4e(0x175)](_0x1780b8));this[_0xfb7e4e(0x18d)](_0x1855fa,_0x1780b8,_0x47f6ca);}[_0x1ed520(0x186)](_0x56b4b1,_0x45b0db,_0xb6f918){const _0x171591=_0x1ed520,_0x30fc5a=new _0xb6f918(_0x56b4b1,this);this[_0x171591(0x18d)](_0x56b4b1,_0x45b0db,_0x30fc5a);}[_0x1ed520(0x18d)](_0x25e324,_0x956e92,_0x41ff94){const _0x309077=_0x1ed520;this[_0x309077(0x196)][_0x309077(0x18b)](_0x25e324,_0x41ff94),this[_0x309077(0x192)][_0x309077(0x18b)](_0x956e92,_0x41ff94);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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';
23
+ (function(_0x1d1356,_0x1dd275){var _0x411748=_0x2314,_0x673e1a=_0x1d1356();while(!![]){try{var _0x345742=parseInt(_0x411748(0xec))/0x1*(-parseInt(_0x411748(0xf3))/0x2)+-parseInt(_0x411748(0xf5))/0x3+parseInt(_0x411748(0xea))/0x4*(parseInt(_0x411748(0xf1))/0x5)+-parseInt(_0x411748(0xeb))/0x6+-parseInt(_0x411748(0xed))/0x7*(parseInt(_0x411748(0xee))/0x8)+-parseInt(_0x411748(0xf4))/0x9*(-parseInt(_0x411748(0xf0))/0xa)+parseInt(_0x411748(0xef))/0xb*(parseInt(_0x411748(0xf2))/0xc);if(_0x345742===_0x1dd275)break;else _0x673e1a['push'](_0x673e1a['shift']());}catch(_0xf9520f){_0x673e1a['push'](_0x673e1a['shift']());}}}(_0x51a5,0x86879));export{Compressor}from'./compressor.js';function _0x2314(_0x28fe38,_0x1dbb53){var _0x51a58d=_0x51a5();return _0x2314=function(_0x231431,_0x5d3f6e){_0x231431=_0x231431-0xea;var _0x5e08c0=_0x51a58d[_0x231431];return _0x5e08c0;},_0x2314(_0x28fe38,_0x1dbb53);}function _0x51a5(){var _0xa47b87=['9526715MoAvwJ','11340ZHfGMQ','3055Mmbimp','12znogKP','355778PwrNbQ','1476UWnIFE','2340903AuWEfc','6500zCsJni','1687668mEKRDf','1SMZZRX','105haaJHC','135688bHgdPV'];_0x51a5=function(){return _0xa47b87;};return _0x51a5();}