@ckeditor/ckeditor5-operations-compressor 47.0.0-alpha.0 → 47.0.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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9e3445=_0x4064;(function(_0x5e41e1,_0x3ba07f){const _0x359221=_0x4064,_0x382049=_0x5e41e1();while(!![]){try{const _0xfd6063=parseInt(_0x359221(0x190))/0x1*(parseInt(_0x359221(0x18b))/0x2)+parseInt(_0x359221(0x191))/0x3*(-parseInt(_0x359221(0x195))/0x4)+parseInt(_0x359221(0x1a4))/0x5+-parseInt(_0x359221(0x19e))/0x6+parseInt(_0x359221(0x192))/0x7+parseInt(_0x359221(0x1a1))/0x8*(parseInt(_0x359221(0x1a3))/0x9)+-parseInt(_0x359221(0x1a2))/0xa;if(_0xfd6063===_0x3ba07f)break;else _0x382049['push'](_0x382049['shift']());}catch(_0x50769f){_0x382049['push'](_0x382049['shift']());}}}(_0x3b37,0x3b97c));function _0x4064(_0x24dcbe,_0x50e387){const _0x3b37fa=_0x3b37();return _0x4064=function(_0x406453,_0x327a3e){_0x406453=_0x406453-0x188;let _0x478648=_0x3b37fa[_0x406453];return _0x478648;},_0x4064(_0x24dcbe,_0x50e387);}import{ActionCompressor as _0x440742}from'./actioncompressor.js';import{arePositionsEqual as _0x582767,getPositionShiftedBy as _0x4c1170}from'../utils.js';import{cloneDeep as _0x68d13d}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x440742{[_0x9e3445(0x19d)](_0x53cc3d,_0x26cf76){const _0x175196=_0x9e3445;return _0x26cf76[_0x175196(0x189)]++,_0x26cf76[_0x175196(0x19f)]=_0x68d13d(_0x53cc3d[_0x175196(0x19f)]),_0x26cf76;}[_0x9e3445(0x194)](_0x201dc7){const _0x41ca2e=_0x9e3445,_0x2966e4=_0x68d13d(_0x201dc7);return _0x201dc7[_0x41ca2e(0x189)]--,_0x2966e4[_0x41ca2e(0x189)]=0x1,_0x2966e4[_0x41ca2e(0x19f)]=_0x4c1170(_0x2966e4[_0x41ca2e(0x19f)],_0x201dc7[_0x41ca2e(0x189)]),_0x2966e4;}[_0x9e3445(0x188)](_0x276384,_0x5e72e7){const _0xfe6c72=_0x9e3445;return!(!this[_0xfe6c72(0x193)](_0x276384)||!this[_0xfe6c72(0x193)](_0x5e72e7))&&(_0x582767(_0x4c1170(_0x276384[_0xfe6c72(0x19f)],-0x1),_0x5e72e7[_0xfe6c72(0x19f)])&&_0x582767(_0x276384[_0xfe6c72(0x197)],_0x5e72e7[_0xfe6c72(0x197)]));}[_0x9e3445(0x18a)](_0x4155a6){const _0x50a4d9=_0x9e3445,_0x11dd50={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x50a4d9(0x1a0)][_0x50a4d9(0x18e)](_0x50a4d9(0x19a))[_0x50a4d9(0x19c)](_0x11dd50,[_0x4155a6]),_0x11dd50[_0x50a4d9(0x196)][0x0];}[_0x9e3445(0x199)](_0x4dbfff){const _0x179b78=_0x9e3445,_0x441096=[];return this[_0x179b78(0x1a0)][_0x179b78(0x18e)](_0x179b78(0x19a))[_0x179b78(0x18f)](_0x441096,_0x4dbfff),_0x441096[0x0];}[_0x9e3445(0x193)](_0x2664dd){const _0x54699f=_0x9e3445;return _0x54699f(0x19a)==_0x2664dd[_0x54699f(0x18d)]&&_0x54699f(0x18c)==_0x2664dd[_0x54699f(0x197)][_0x54699f(0x198)]&&0x1==_0x2664dd[_0x54699f(0x189)]&&!_0x2664dd[_0x54699f(0x19b)];}}function _0x3b37(){const _0x48e1e9=['2259680ZsyTwE','234yogpsC','823990eZwTay','_compareOperations','howMany','_compressSingleOperation','2bWNYEI','$graveyard','__className','_getCompressorByName','decompress','281195cypvhl','859881WTyEqj','1439648tESjHg','_checkOperation','_splitCurrent','4wTfHOd','buffers','targetPosition','root','_decompressSingleOperation','MoveOperation','wasUndone','compress','_combineNext','520476dBATPO','sourcePosition','_context','59008PDeJXw'];_0x3b37=function(){return _0x48e1e9;};return _0x3b37();}
23
+ const _0x22ac2f=_0xe678;(function(_0xb2f7e0,_0xca6bad){const _0x3bfda5=_0xe678,_0x267819=_0xb2f7e0();while(!![]){try{const _0x5acafe=-parseInt(_0x3bfda5(0x155))/0x1+parseInt(_0x3bfda5(0x14a))/0x2*(-parseInt(_0x3bfda5(0x14e))/0x3)+-parseInt(_0x3bfda5(0x145))/0x4*(-parseInt(_0x3bfda5(0x153))/0x5)+-parseInt(_0x3bfda5(0x151))/0x6+-parseInt(_0x3bfda5(0x15f))/0x7+-parseInt(_0x3bfda5(0x148))/0x8*(-parseInt(_0x3bfda5(0x159))/0x9)+parseInt(_0x3bfda5(0x161))/0xa;if(_0x5acafe===_0xca6bad)break;else _0x267819['push'](_0x267819['shift']());}catch(_0x4b83f1){_0x267819['push'](_0x267819['shift']());}}}(_0x4d32,0x68599));import{ActionCompressor as _0x2f99e6}from'./actioncompressor.js';function _0xe678(_0x5306ce,_0x15bb63){const _0x4d3216=_0x4d32();return _0xe678=function(_0xe6784f,_0x38778c){_0xe6784f=_0xe6784f-0x145;let _0x1d0a0c=_0x4d3216[_0xe6784f];return _0x1d0a0c;},_0xe678(_0x5306ce,_0x15bb63);}function _0x4d32(){const _0x270cd1=['__className','targetPosition','4394040gfeWGf','MoveOperation','13266920WdJKkT','404zTgTBL','decompress','$graveyard','58144oQaDzv','_checkOperation','1428UbPFSH','_getCompressorByName','_compareOperations','buffers','1704YzbOTB','_compressSingleOperation','_splitCurrent','2992692Vzycyw','_decompressSingleOperation','28790tSyXrs','_context','297643VlGarM','wasUndone','root','_combineNext','432fbyver','howMany','sourcePosition','compress'];_0x4d32=function(){return _0x270cd1;};return _0x4d32();}import{arePositionsEqual as _0xa0724,getPositionShiftedBy as _0x1ff8ce}from'../utils.js';import{cloneDeep as _0x562f02}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x2f99e6{[_0x22ac2f(0x158)](_0xae97de,_0x42aa91){const _0x3561a2=_0x22ac2f;return _0x42aa91[_0x3561a2(0x15a)]++,_0x42aa91[_0x3561a2(0x15b)]=_0x562f02(_0xae97de[_0x3561a2(0x15b)]),_0x42aa91;}[_0x22ac2f(0x150)](_0x3dadd3){const _0x216ada=_0x22ac2f,_0x2adc9a=_0x562f02(_0x3dadd3);return _0x3dadd3[_0x216ada(0x15a)]--,_0x2adc9a[_0x216ada(0x15a)]=0x1,_0x2adc9a[_0x216ada(0x15b)]=_0x1ff8ce(_0x2adc9a[_0x216ada(0x15b)],_0x3dadd3[_0x216ada(0x15a)]),_0x2adc9a;}[_0x22ac2f(0x14c)](_0x3968fc,_0x372339){const _0x5cef58=_0x22ac2f;return!(!this[_0x5cef58(0x149)](_0x3968fc)||!this[_0x5cef58(0x149)](_0x372339))&&(_0xa0724(_0x1ff8ce(_0x3968fc[_0x5cef58(0x15b)],-0x1),_0x372339[_0x5cef58(0x15b)])&&_0xa0724(_0x3968fc[_0x5cef58(0x15e)],_0x372339[_0x5cef58(0x15e)]));}[_0x22ac2f(0x14f)](_0x54e784){const _0x2e6406=_0x22ac2f,_0x4f8808={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2e6406(0x154)][_0x2e6406(0x14b)](_0x2e6406(0x160))[_0x2e6406(0x15c)](_0x4f8808,[_0x54e784]),_0x4f8808[_0x2e6406(0x14d)][0x0];}[_0x22ac2f(0x152)](_0x41aa93){const _0x1b681d=_0x22ac2f,_0x45c51c=[];return this[_0x1b681d(0x154)][_0x1b681d(0x14b)](_0x1b681d(0x160))[_0x1b681d(0x146)](_0x45c51c,_0x41aa93),_0x45c51c[0x0];}[_0x22ac2f(0x149)](_0x4948a8){const _0x5dc762=_0x22ac2f;return _0x5dc762(0x160)==_0x4948a8[_0x5dc762(0x15d)]&&_0x5dc762(0x147)==_0x4948a8[_0x5dc762(0x15e)][_0x5dc762(0x157)]&&0x1==_0x4948a8[_0x5dc762(0x15a)]&&!_0x4948a8[_0x5dc762(0x156)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29fbf3=_0x1be7;(function(_0x41f942,_0x4511d2){const _0x46318a=_0x1be7,_0x5b585f=_0x41f942();while(!![]){try{const _0x45677c=-parseInt(_0x46318a(0x11d))/0x1*(-parseInt(_0x46318a(0x109))/0x2)+parseInt(_0x46318a(0x122))/0x3*(parseInt(_0x46318a(0x123))/0x4)+parseInt(_0x46318a(0x121))/0x5+parseInt(_0x46318a(0x10b))/0x6+-parseInt(_0x46318a(0x11a))/0x7*(-parseInt(_0x46318a(0x11e))/0x8)+parseInt(_0x46318a(0x10a))/0x9*(parseInt(_0x46318a(0x10d))/0xa)+-parseInt(_0x46318a(0x11c))/0xb;if(_0x45677c===_0x4511d2)break;else _0x5b585f['push'](_0x5b585f['shift']());}catch(_0x3338c1){_0x5b585f['push'](_0x5b585f['shift']());}}}(_0x2924,0x8740f));import{ActionCompressor as _0x50c2d7}from'./actioncompressor.js';function _0x1be7(_0x2bdb60,_0x518db1){const _0x29246d=_0x2924();return _0x1be7=function(_0x1be7fe,_0x1801fc){_0x1be7fe=_0x1be7fe-0x108;let _0x2d3b4b=_0x29246d[_0x1be7fe];return _0x2d3b4b;},_0x1be7(_0x2bdb60,_0x518db1);}import{arePositionsEqual as _0x11503f}from'../utils.js';import{cloneDeep as _0x43af25}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x50c2d7{[_0x29fbf3(0x11f)](_0x11f9e4,_0x5d61e7){const _0x2005c3=_0x29fbf3;return _0x5d61e7[_0x2005c3(0x115)]++,_0x5d61e7;}[_0x29fbf3(0x120)](_0x5d04c4){const _0x3d2850=_0x29fbf3,_0x396ddc=_0x43af25(_0x5d04c4);return _0x396ddc[_0x3d2850(0x115)]=0x1,_0x5d04c4[_0x3d2850(0x115)]--,_0x396ddc;}[_0x29fbf3(0x10e)](_0x10bbfa,_0x4c8c05){const _0x2b7711=_0x29fbf3;return!(!this[_0x2b7711(0x114)](_0x10bbfa)||!this[_0x2b7711(0x114)](_0x4c8c05))&&(_0x11503f(_0x10bbfa[_0x2b7711(0x11b)],_0x4c8c05[_0x2b7711(0x11b)])&&_0x11503f(_0x10bbfa[_0x2b7711(0x117)],_0x4c8c05[_0x2b7711(0x117)]));}[_0x29fbf3(0x116)](_0x369552){const _0x47e14c=_0x29fbf3,_0x40ca9c={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x47e14c(0x113)][_0x47e14c(0x108)](_0x47e14c(0x110))[_0x47e14c(0x124)](_0x40ca9c,[_0x369552]),_0x40ca9c[_0x47e14c(0x119)][0x0];}[_0x29fbf3(0x112)](_0x36f4aa){const _0x3d3480=_0x29fbf3,_0x20458d=[];return this[_0x3d3480(0x113)][_0x3d3480(0x108)](_0x3d3480(0x110))[_0x3d3480(0x111)](_0x20458d,_0x36f4aa),_0x20458d[0x0];}[_0x29fbf3(0x114)](_0x4ec94e){const _0x423b5f=_0x29fbf3;return _0x423b5f(0x110)==_0x4ec94e[_0x423b5f(0x10c)]&&_0x423b5f(0x125)==_0x4ec94e[_0x423b5f(0x117)][_0x423b5f(0x118)]&&0x1==_0x4ec94e[_0x423b5f(0x115)]&&!_0x4ec94e[_0x423b5f(0x10f)];}}function _0x2924(){const _0x38cd5b=['_compressSingleOperation','targetPosition','root','buffers','14YnWQve','sourcePosition','25491554ZjKyoA','536057dvQWFh','900136GVtgKn','_combineNext','_splitCurrent','4219770eGSmeP','466191TxDDhE','4CGQrAv','compress','$graveyard','_getCompressorByName','2WLLIBA','101781jrPhqc','6326556jYTiNe','__className','50NVMUTh','_compareOperations','wasUndone','MoveOperation','decompress','_decompressSingleOperation','_context','_checkOperation','howMany'];_0x2924=function(){return _0x38cd5b;};return _0x2924();}
23
+ function _0x15a2(_0x224ec4,_0x3e8080){const _0x5b5cf8=_0x5b5c();return _0x15a2=function(_0x15a2c0,_0x11b152){_0x15a2c0=_0x15a2c0-0x187;let _0x3a649f=_0x5b5cf8[_0x15a2c0];return _0x3a649f;},_0x15a2(_0x224ec4,_0x3e8080);}const _0x3ce14c=_0x15a2;(function(_0x5e4cb4,_0x19a60c){const _0x208559=_0x15a2,_0x19121f=_0x5e4cb4();while(!![]){try{const _0x1ea120=parseInt(_0x208559(0x19f))/0x1+parseInt(_0x208559(0x19a))/0x2+parseInt(_0x208559(0x192))/0x3+-parseInt(_0x208559(0x196))/0x4*(parseInt(_0x208559(0x1a0))/0x5)+parseInt(_0x208559(0x188))/0x6+parseInt(_0x208559(0x19c))/0x7*(-parseInt(_0x208559(0x19d))/0x8)+parseInt(_0x208559(0x189))/0x9*(-parseInt(_0x208559(0x191))/0xa);if(_0x1ea120===_0x19a60c)break;else _0x19121f['push'](_0x19121f['shift']());}catch(_0x89cca8){_0x19121f['push'](_0x19121f['shift']());}}}(_0x5b5c,0x2ec7e));import{ActionCompressor as _0x18c721}from'./actioncompressor.js';import{arePositionsEqual as _0x2f71da}from'../utils.js';function _0x5b5c(){const _0x13284a=['_compressSingleOperation','2266044dKUeLh','2471589RNaGAv','buffers','_context','sourcePosition','_splitCurrent','decompress','__className','_compareOperations','10cshXdz','100188xOlPnn','howMany','$graveyard','MoveOperation','60usPFYT','targetPosition','_decompressSingleOperation','root','403626mlrNBX','_getCompressorByName','1519049IyBvbu','8fXxGUG','_checkOperation','119124CeLsND','16255OhmVIW','wasUndone','_combineNext','compress'];_0x5b5c=function(){return _0x13284a;};return _0x5b5c();}import{cloneDeep as _0x4a95b7}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x18c721{[_0x3ce14c(0x1a2)](_0x30f2d0,_0x533e49){const _0x278f0e=_0x3ce14c;return _0x533e49[_0x278f0e(0x193)]++,_0x533e49;}[_0x3ce14c(0x18d)](_0x52d476){const _0x1fff16=_0x3ce14c,_0x599128=_0x4a95b7(_0x52d476);return _0x599128[_0x1fff16(0x193)]=0x1,_0x52d476[_0x1fff16(0x193)]--,_0x599128;}[_0x3ce14c(0x190)](_0x2ebabe,_0x5ec452){const _0x2b1cd4=_0x3ce14c;return!(!this[_0x2b1cd4(0x19e)](_0x2ebabe)||!this[_0x2b1cd4(0x19e)](_0x5ec452))&&(_0x2f71da(_0x2ebabe[_0x2b1cd4(0x18c)],_0x5ec452[_0x2b1cd4(0x18c)])&&_0x2f71da(_0x2ebabe[_0x2b1cd4(0x197)],_0x5ec452[_0x2b1cd4(0x197)]));}[_0x3ce14c(0x187)](_0x413499){const _0x3cc011=_0x3ce14c,_0x4fd44a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3cc011(0x18b)][_0x3cc011(0x19b)](_0x3cc011(0x195))[_0x3cc011(0x1a3)](_0x4fd44a,[_0x413499]),_0x4fd44a[_0x3cc011(0x18a)][0x0];}[_0x3ce14c(0x198)](_0x29effa){const _0x5a76a2=_0x3ce14c,_0x119fdc=[];return this[_0x5a76a2(0x18b)][_0x5a76a2(0x19b)](_0x5a76a2(0x195))[_0x5a76a2(0x18e)](_0x119fdc,_0x29effa),_0x119fdc[0x0];}[_0x3ce14c(0x19e)](_0x14c85c){const _0x478590=_0x3ce14c;return _0x478590(0x195)==_0x14c85c[_0x478590(0x18f)]&&_0x478590(0x194)==_0x14c85c[_0x478590(0x197)][_0x478590(0x199)]&&0x1==_0x14c85c[_0x478590(0x193)]&&!_0x14c85c[_0x478590(0x1a1)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21fd7b=_0x308b;(function(_0x2fd85c,_0x103ac8){const _0x4b083a=_0x308b,_0x49c3f6=_0x2fd85c();while(!![]){try{const _0x429632=parseInt(_0x4b083a(0xf7))/0x1*(parseInt(_0x4b083a(0x101))/0x2)+-parseInt(_0x4b083a(0xf2))/0x3+parseInt(_0x4b083a(0xf3))/0x4+-parseInt(_0x4b083a(0xe7))/0x5+-parseInt(_0x4b083a(0xfc))/0x6+-parseInt(_0x4b083a(0xe0))/0x7+-parseInt(_0x4b083a(0xf4))/0x8*(-parseInt(_0x4b083a(0xe9))/0x9);if(_0x429632===_0x103ac8)break;else _0x49c3f6['push'](_0x49c3f6['shift']());}catch(_0x171f78){_0x49c3f6['push'](_0x49c3f6['shift']());}}}(_0x9052,0xb3b86));import{ActionCompressor as _0x28bd19}from'./actioncompressor.js';import{arePositionsEqual as _0x2d1c9c,getPositionShiftedBy as _0x203771}from'../utils.js';function _0x9052(){const _0x44578d=['next','substr','248970ekjiuT','attributes','_compareOperations','decompress','_compareAttributes','1027286XMEgLz','nodes','data','3301298izVXIh','_decompressSingleOperation','_combineNext','_getCompressorByName','wasUndone','iterator','from','467815UQwwNH','InsertOperation','720AJicyQ','value','every','length','_checkOperation','compress','position','_context','__className','1912773xngaVC','3350684UvPuMW','11544uPwAqP','keys','_compressSingleOperation','2QdpQzb','buffers','_splitCurrent'];_0x9052=function(){return _0x44578d;};return _0x9052();}import{cloneDeep as _0x25ada7}from'es-toolkit/compat';function _0x308b(_0x412d41,_0x25f3c5){const _0x9052ae=_0x9052();return _0x308b=function(_0x308b44,_0x139b40){_0x308b44=_0x308b44-0xdf;let _0xb03380=_0x9052ae[_0x308b44];return _0xb03380;},_0x308b(_0x412d41,_0x25f3c5);}export class TypingActionCompressor extends _0x28bd19{[_0x21fd7b(0xe2)](_0x38a839,_0x35d550){const _0x4d3bd1=_0x21fd7b;return _0x35d550[_0x4d3bd1(0x102)][0x0][_0x4d3bd1(0xdf)]+=_0x38a839[_0x4d3bd1(0x102)][0x0][_0x4d3bd1(0xdf)],_0x35d550;}[_0x21fd7b(0xf9)](_0x5c419a){const _0x20b83d=_0x21fd7b,_0x305c8c=_0x25ada7(_0x5c419a),_0x1d0b39=_0x305c8c[_0x20b83d(0x102)][0x0],_0x87f3d2=_0x5c419a[_0x20b83d(0x102)][0x0],_0x8ea56c=_0x87f3d2[_0x20b83d(0xdf)][Symbol[_0x20b83d(0xe5)]]()[_0x20b83d(0xfa)]()[_0x20b83d(0xea)],_0x1dd58f=_0x8ea56c[_0x20b83d(0xec)];return _0x1d0b39[_0x20b83d(0xdf)]=_0x8ea56c,_0x87f3d2[_0x20b83d(0xdf)]=_0x87f3d2[_0x20b83d(0xdf)][_0x20b83d(0xfb)](_0x1dd58f),_0x5c419a[_0x20b83d(0xef)]=_0x203771(_0x5c419a[_0x20b83d(0xef)],_0x1dd58f),_0x305c8c;}[_0x21fd7b(0xfe)](_0x33125f,_0x2b472e){const _0x52eda7=_0x21fd7b;if(this[_0x52eda7(0xed)](_0x33125f)&&this[_0x52eda7(0xed)](_0x2b472e)){const _0x34357d=_0x33125f[_0x52eda7(0x102)][0x0][_0x52eda7(0xdf)][_0x52eda7(0xec)],_0x460fef=_0x2d1c9c(_0x203771(_0x33125f[_0x52eda7(0xef)],_0x34357d),_0x2b472e[_0x52eda7(0xef)]),_0x2322d1=_0x33125f[_0x52eda7(0x102)][0x0],_0x403354=_0x2b472e[_0x52eda7(0x102)][0x0];return _0x460fef&&this[_0x52eda7(0x100)](_0x2322d1,_0x403354);}return!0x1;}[_0x21fd7b(0xf6)](_0x55cc28){const _0x38a1d8=_0x21fd7b,_0x1873bf={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x38a1d8(0xf0)][_0x38a1d8(0xe3)](_0x38a1d8(0xe8))[_0x38a1d8(0xee)](_0x1873bf,[_0x55cc28]),_0x1873bf[_0x38a1d8(0xf8)][0x0];}[_0x21fd7b(0xe1)](_0x423044){const _0x528fbd=_0x21fd7b,_0x458145=[];return this[_0x528fbd(0xf0)][_0x528fbd(0xe3)](_0x528fbd(0xe8))[_0x528fbd(0xff)](_0x458145,_0x423044),_0x458145[0x0];}[_0x21fd7b(0xed)](_0x1c3e05){const _0x13c237=_0x21fd7b;return _0x13c237(0xe8)==_0x1c3e05[_0x13c237(0xf1)]&&0x1==_0x1c3e05[_0x13c237(0x102)][_0x13c237(0xec)]&&_0x1c3e05[_0x13c237(0x102)][0x0][_0x13c237(0xdf)]&&!_0x1c3e05[_0x13c237(0xe4)]&&0x1==Array[_0x13c237(0xe6)](_0x1c3e05[_0x13c237(0x102)][0x0][_0x13c237(0xdf)])[_0x13c237(0xec)];}[_0x21fd7b(0x100)](_0x1d94a8,_0x68e2db){const _0x1a0e7f=_0x21fd7b,_0x9afe86=Object[_0x1a0e7f(0xf5)](_0x1d94a8[_0x1a0e7f(0xfd)]||{}),_0x2cce79=Object[_0x1a0e7f(0xf5)](_0x68e2db[_0x1a0e7f(0xfd)]||{});return _0x9afe86[_0x1a0e7f(0xec)]===_0x2cce79[_0x1a0e7f(0xec)]&&_0x9afe86[_0x1a0e7f(0xeb)](_0x22d06a=>_0x68e2db[_0x1a0e7f(0xfd)][_0x22d06a]&&_0x68e2db[_0x1a0e7f(0xfd)][_0x22d06a]===_0x1d94a8[_0x1a0e7f(0xfd)][_0x22d06a]);}}
23
+ const _0x4bdad2=_0x26bb;function _0x43da(){const _0xa0f890=['keys','341091twgHcT','next','62227TWXCji','attributes','__className','_checkOperation','10iWtLRX','every','_decompressSingleOperation','buffers','iterator','length','_compressSingleOperation','_context','271632IRetii','8YpjpRy','wasUndone','48tVloQW','InsertOperation','substr','_combineNext','from','1102somAFA','position','decompress','_getCompressorByName','70400rmMDBr','13PQXeni','data','810qNdGnx','_splitCurrent','1324LufdUk','compress','nodes','value','5197759fVMOBy','_compareAttributes','_compareOperations','11658684pCvjHV'];_0x43da=function(){return _0xa0f890;};return _0x43da();}(function(_0x5afc07,_0x2b49b8){const _0x2aa749=_0x26bb,_0x13cb06=_0x5afc07();while(!![]){try{const _0x27414e=parseInt(_0x2aa749(0x128))/0x1*(parseInt(_0x2aa749(0x109))/0x2)+parseInt(_0x2aa749(0x123))/0x3*(-parseInt(_0x2aa749(0x12c))/0x4)+-parseInt(_0x2aa749(0x118))/0x5*(parseInt(_0x2aa749(0x120))/0x6)+-parseInt(_0x2aa749(0x10d))/0x7*(-parseInt(_0x2aa749(0x121))/0x8)+parseInt(_0x2aa749(0x112))/0x9+-parseInt(_0x2aa749(0x12f))/0xa*(-parseInt(_0x2aa749(0x114))/0xb)+parseInt(_0x2aa749(0x110))/0xc*(-parseInt(_0x2aa749(0x12d))/0xd);if(_0x27414e===_0x2b49b8)break;else _0x13cb06['push'](_0x13cb06['shift']());}catch(_0x4d1573){_0x13cb06['push'](_0x13cb06['shift']());}}}(_0x43da,0x9875c));function _0x26bb(_0x908063,_0x122739){const _0x43daa0=_0x43da();return _0x26bb=function(_0x26bb28,_0x21b4ba){_0x26bb28=_0x26bb28-0x109;let _0x2c6e9a=_0x43daa0[_0x26bb28];return _0x2c6e9a;},_0x26bb(_0x908063,_0x122739);}import{ActionCompressor as _0x2a036a}from'./actioncompressor.js';import{arePositionsEqual as _0x406a49,getPositionShiftedBy as _0x2e8348}from'../utils.js';import{cloneDeep as _0x2227ac}from'es-toolkit/compat';export class TypingActionCompressor extends _0x2a036a{[_0x4bdad2(0x126)](_0x8af7fc,_0x18af9a){const _0x45de4a=_0x4bdad2;return _0x18af9a[_0x45de4a(0x10b)][0x0][_0x45de4a(0x12e)]+=_0x8af7fc[_0x45de4a(0x10b)][0x0][_0x45de4a(0x12e)],_0x18af9a;}[_0x4bdad2(0x130)](_0x54fefd){const _0x1e9202=_0x4bdad2,_0x35975e=_0x2227ac(_0x54fefd),_0x15a1d9=_0x35975e[_0x1e9202(0x10b)][0x0],_0x5de78f=_0x54fefd[_0x1e9202(0x10b)][0x0],_0x5de9bb=_0x5de78f[_0x1e9202(0x12e)][Symbol[_0x1e9202(0x11c)]]()[_0x1e9202(0x113)]()[_0x1e9202(0x10c)],_0x403634=_0x5de9bb[_0x1e9202(0x11d)];return _0x15a1d9[_0x1e9202(0x12e)]=_0x5de9bb,_0x5de78f[_0x1e9202(0x12e)]=_0x5de78f[_0x1e9202(0x12e)][_0x1e9202(0x125)](_0x403634),_0x54fefd[_0x1e9202(0x129)]=_0x2e8348(_0x54fefd[_0x1e9202(0x129)],_0x403634),_0x35975e;}[_0x4bdad2(0x10f)](_0x8b41bc,_0x1e0b1e){const _0x206b15=_0x4bdad2;if(this[_0x206b15(0x117)](_0x8b41bc)&&this[_0x206b15(0x117)](_0x1e0b1e)){const _0xeb9bad=_0x8b41bc[_0x206b15(0x10b)][0x0][_0x206b15(0x12e)][_0x206b15(0x11d)],_0x57c47a=_0x406a49(_0x2e8348(_0x8b41bc[_0x206b15(0x129)],_0xeb9bad),_0x1e0b1e[_0x206b15(0x129)]),_0x35afd1=_0x8b41bc[_0x206b15(0x10b)][0x0],_0x206efa=_0x1e0b1e[_0x206b15(0x10b)][0x0];return _0x57c47a&&this[_0x206b15(0x10e)](_0x35afd1,_0x206efa);}return!0x1;}[_0x4bdad2(0x11e)](_0x305075){const _0x596ac4=_0x4bdad2,_0x47f216={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x596ac4(0x11f)][_0x596ac4(0x12b)](_0x596ac4(0x124))[_0x596ac4(0x10a)](_0x47f216,[_0x305075]),_0x47f216[_0x596ac4(0x11b)][0x0];}[_0x4bdad2(0x11a)](_0x54ed95){const _0x32257b=_0x4bdad2,_0x32ac9d=[];return this[_0x32257b(0x11f)][_0x32257b(0x12b)](_0x32257b(0x124))[_0x32257b(0x12a)](_0x32ac9d,_0x54ed95),_0x32ac9d[0x0];}[_0x4bdad2(0x117)](_0xe54c40){const _0x4401d4=_0x4bdad2;return _0x4401d4(0x124)==_0xe54c40[_0x4401d4(0x116)]&&0x1==_0xe54c40[_0x4401d4(0x10b)][_0x4401d4(0x11d)]&&_0xe54c40[_0x4401d4(0x10b)][0x0][_0x4401d4(0x12e)]&&!_0xe54c40[_0x4401d4(0x122)]&&0x1==Array[_0x4401d4(0x127)](_0xe54c40[_0x4401d4(0x10b)][0x0][_0x4401d4(0x12e)])[_0x4401d4(0x11d)];}[_0x4bdad2(0x10e)](_0x265a60,_0x4440eb){const _0x47b4e4=_0x4bdad2,_0x4e72e1=Object[_0x47b4e4(0x111)](_0x265a60[_0x47b4e4(0x115)]||{}),_0x36e775=Object[_0x47b4e4(0x111)](_0x4440eb[_0x47b4e4(0x115)]||{});return _0x4e72e1[_0x47b4e4(0x11d)]===_0x36e775[_0x47b4e4(0x11d)]&&_0x4e72e1[_0x47b4e4(0x119)](_0x27914a=>_0x4440eb[_0x47b4e4(0x115)][_0x27914a]&&_0x4440eb[_0x47b4e4(0x115)][_0x27914a]===_0x265a60[_0x47b4e4(0x115)][_0x27914a]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe0a7ef=_0x5c81;(function(_0x51c679,_0x120be7){const _0x4fb65c=_0x5c81,_0x1192dc=_0x51c679();while(!![]){try{const _0x14e08e=-parseInt(_0x4fb65c(0x137))/0x1+parseInt(_0x4fb65c(0x134))/0x2+-parseInt(_0x4fb65c(0x128))/0x3*(-parseInt(_0x4fb65c(0x13d))/0x4)+parseInt(_0x4fb65c(0x136))/0x5*(-parseInt(_0x4fb65c(0x141))/0x6)+-parseInt(_0x4fb65c(0x143))/0x7+parseInt(_0x4fb65c(0x132))/0x8*(parseInt(_0x4fb65c(0x13f))/0x9)+parseInt(_0x4fb65c(0x138))/0xa*(parseInt(_0x4fb65c(0x12e))/0xb);if(_0x14e08e===_0x120be7)break;else _0x1192dc['push'](_0x1192dc['shift']());}catch(_0x481bb8){_0x1192dc['push'](_0x1192dc['shift']());}}}(_0x348d,0x1d160));function _0x5c81(_0x6cc87e,_0x231532){const _0x348d97=_0x348d();return _0x5c81=function(_0x5c8106,_0x1e227c){_0x5c8106=_0x5c8106-0x120;let _0x2629c7=_0x348d97[_0x5c8106];return _0x2629c7;},_0x5c81(_0x6cc87e,_0x231532);}import{ActionCompressor as _0x4824b9}from'./actioncompressor.js';function _0x348d(){const _0x14ce8f=['user:','decompress','push','_id','split','565377ahnDsL','_compressSingleOperation','toNone','buffers','__className','types','965789XMvfkc','_context','MarkerOperation','end','106360TElNTt','stickiness','314802iKxvUV','shift','35lXGrrC','198373BOKPmy','10nXfcSc','_getCompressorByName','_decompressSingleOperation','start','name','4yJiiMH','oldRange','81sasLME','_compareOperations','92244bEPvtl','user:position:','897309yAeFjh','startsWith','newRange','compress'];_0x348d=function(){return _0x14ce8f;};return _0x348d();}import{arePositionsEqual as _0x2a6459}from'../utils.js';import{cloneDeep as _0x2b4cd6}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x4824b9{[_0xe0a7ef(0x122)](_0x9464fb,_0x984c5b){const _0x3f3957=_0xe0a7ef;if(!this[_0x3f3957(0x140)](_0x984c5b[0x0],_0x984c5b[0x1]))return!0x1;const _0x2f8ff3=_0x984c5b[_0x3f3957(0x135)]();return _0x2f8ff3[_0x3f3957(0x13e)]=null,_0x2f8ff3[_0x3f3957(0x121)]&&_0x2a6459(_0x2f8ff3[_0x3f3957(0x121)][_0x3f3957(0x13b)],_0x2f8ff3[_0x3f3957(0x121)][_0x3f3957(0x131)])&&(_0x2f8ff3[_0x3f3957(0x121)][_0x3f3957(0x131)]=null),_0x984c5b[_0x3f3957(0x135)](),_0x9464fb[_0x3f3957(0x12d)][_0x3f3957(0x125)](this[_0x3f3957(0x126)]),_0x9464fb[_0x3f3957(0x12d)][_0x3f3957(0x125)](0x0),_0x9464fb[_0x3f3957(0x12b)][_0x3f3957(0x125)](this[_0x3f3957(0x129)](_0x2f8ff3)),!0x0;}[_0xe0a7ef(0x124)](_0x1501fa,_0x57b569){const _0x5e3da8=_0xe0a7ef,_0x4b1e3a=this[_0x5e3da8(0x13a)](_0x57b569);_0x4b1e3a[_0x5e3da8(0x121)]&&!_0x4b1e3a[_0x5e3da8(0x121)][_0x5e3da8(0x131)]&&(_0x4b1e3a[_0x5e3da8(0x121)][_0x5e3da8(0x131)]=_0x2b4cd6(_0x4b1e3a[_0x5e3da8(0x121)][_0x5e3da8(0x13b)]));const _0x3f3008=_0x2b4cd6(_0x4b1e3a);_0x3f3008[_0x5e3da8(0x121)]&&(_0x3f3008[_0x5e3da8(0x121)][_0x5e3da8(0x13b)][_0x5e3da8(0x133)]=_0x5e3da8(0x12a),_0x3f3008[_0x5e3da8(0x121)][_0x5e3da8(0x131)]=_0x2b4cd6(_0x3f3008[_0x5e3da8(0x121)][_0x5e3da8(0x13b)])),_0x3f3008[_0x5e3da8(0x13c)]=_0x5e3da8(0x142)+_0x3f3008[_0x5e3da8(0x13c)][_0x5e3da8(0x127)](':')[0x2],_0x57b569[_0x5e3da8(0x12d)][_0x5e3da8(0x135)](),_0x1501fa[_0x5e3da8(0x125)](_0x4b1e3a),_0x1501fa[_0x5e3da8(0x125)](_0x3f3008);}[_0xe0a7ef(0x129)](_0x554835){const _0x40b7e7=_0xe0a7ef,_0x4b57d9={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x40b7e7(0x12f)][_0x40b7e7(0x139)](_0x40b7e7(0x130))[_0x40b7e7(0x122)](_0x4b57d9,[_0x554835]),_0x4b57d9[_0x40b7e7(0x12b)][0x0];}[_0xe0a7ef(0x13a)](_0x46da0b){const _0x26a116=_0xe0a7ef,_0x48a171=[];return this[_0x26a116(0x12f)][_0x26a116(0x139)](_0x26a116(0x130))[_0x26a116(0x124)](_0x48a171,_0x46da0b),_0x48a171[0x0];}[_0xe0a7ef(0x140)](_0x5d6b40,_0x2e2207){const _0x1dd3dd=_0xe0a7ef;return!(!_0x5d6b40||!_0x2e2207)&&(_0x1dd3dd(0x130)==_0x5d6b40[_0x1dd3dd(0x12c)]&&_0x1dd3dd(0x130)==_0x2e2207[_0x1dd3dd(0x12c)]&&!(!_0x5d6b40[_0x1dd3dd(0x13c)][_0x1dd3dd(0x120)](_0x1dd3dd(0x123))||!_0x2e2207[_0x1dd3dd(0x13c)][_0x1dd3dd(0x120)](_0x1dd3dd(0x123))||_0x5d6b40[_0x1dd3dd(0x13c)]==_0x2e2207[_0x1dd3dd(0x13c)]));}}
23
+ const _0x58b824=_0x357c;(function(_0x2219d4,_0x326565){const _0x4dfada=_0x357c,_0x14cf24=_0x2219d4();while(!![]){try{const _0x550b8b=parseInt(_0x4dfada(0x14b))/0x1+parseInt(_0x4dfada(0x14e))/0x2*(-parseInt(_0x4dfada(0x14f))/0x3)+-parseInt(_0x4dfada(0x15e))/0x4+parseInt(_0x4dfada(0x150))/0x5+-parseInt(_0x4dfada(0x156))/0x6*(-parseInt(_0x4dfada(0x167))/0x7)+parseInt(_0x4dfada(0x147))/0x8+-parseInt(_0x4dfada(0x168))/0x9;if(_0x550b8b===_0x326565)break;else _0x14cf24['push'](_0x14cf24['shift']());}catch(_0x2193eb){_0x14cf24['push'](_0x14cf24['shift']());}}}(_0x4596,0xd21f7));import{ActionCompressor as _0x109148}from'./actioncompressor.js';function _0x357c(_0xe325c,_0x3b15e7){const _0x4596b3=_0x4596();return _0x357c=function(_0x357c6e,_0x199dad){_0x357c6e=_0x357c6e-0x147;let _0x43f258=_0x4596b3[_0x357c6e];return _0x43f258;},_0x357c(_0xe325c,_0x3b15e7);}function _0x4596(){const _0x235dba=['MarkerOperation','decompress','compress','start','push','startsWith','shift','newRange','1085oAlDjz','3307968TvOLSH','512504iNYjaM','buffers','_context','split','1605190LdImuY','name','__className','48346FVjXtU','168CYDhEX','2471895ygyXhR','_id','oldRange','toNone','_decompressSingleOperation','end','51162QrDPCf','stickiness','types','_compareOperations','_getCompressorByName','_compressSingleOperation','user:','user:position:','3613656MIAJwl'];_0x4596=function(){return _0x235dba;};return _0x4596();}import{arePositionsEqual as _0x577cc7}from'../utils.js';import{cloneDeep as _0x5a6889}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x109148{[_0x58b824(0x161)](_0x2386ae,_0x59bc88){const _0x2a649a=_0x58b824;if(!this[_0x2a649a(0x159)](_0x59bc88[0x0],_0x59bc88[0x1]))return!0x1;const _0x326364=_0x59bc88[_0x2a649a(0x165)]();return _0x326364[_0x2a649a(0x152)]=null,_0x326364[_0x2a649a(0x166)]&&_0x577cc7(_0x326364[_0x2a649a(0x166)][_0x2a649a(0x162)],_0x326364[_0x2a649a(0x166)][_0x2a649a(0x155)])&&(_0x326364[_0x2a649a(0x166)][_0x2a649a(0x155)]=null),_0x59bc88[_0x2a649a(0x165)](),_0x2386ae[_0x2a649a(0x158)][_0x2a649a(0x163)](this[_0x2a649a(0x151)]),_0x2386ae[_0x2a649a(0x158)][_0x2a649a(0x163)](0x0),_0x2386ae[_0x2a649a(0x148)][_0x2a649a(0x163)](this[_0x2a649a(0x15b)](_0x326364)),!0x0;}[_0x58b824(0x160)](_0x2e248c,_0x3012e8){const _0x323997=_0x58b824,_0x57e1a7=this[_0x323997(0x154)](_0x3012e8);_0x57e1a7[_0x323997(0x166)]&&!_0x57e1a7[_0x323997(0x166)][_0x323997(0x155)]&&(_0x57e1a7[_0x323997(0x166)][_0x323997(0x155)]=_0x5a6889(_0x57e1a7[_0x323997(0x166)][_0x323997(0x162)]));const _0x4e5b2b=_0x5a6889(_0x57e1a7);_0x4e5b2b[_0x323997(0x166)]&&(_0x4e5b2b[_0x323997(0x166)][_0x323997(0x162)][_0x323997(0x157)]=_0x323997(0x153),_0x4e5b2b[_0x323997(0x166)][_0x323997(0x155)]=_0x5a6889(_0x4e5b2b[_0x323997(0x166)][_0x323997(0x162)])),_0x4e5b2b[_0x323997(0x14c)]=_0x323997(0x15d)+_0x4e5b2b[_0x323997(0x14c)][_0x323997(0x14a)](':')[0x2],_0x3012e8[_0x323997(0x158)][_0x323997(0x165)](),_0x2e248c[_0x323997(0x163)](_0x57e1a7),_0x2e248c[_0x323997(0x163)](_0x4e5b2b);}[_0x58b824(0x15b)](_0x35aeb4){const _0x370741=_0x58b824,_0x423ebf={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x370741(0x149)][_0x370741(0x15a)](_0x370741(0x15f))[_0x370741(0x161)](_0x423ebf,[_0x35aeb4]),_0x423ebf[_0x370741(0x148)][0x0];}[_0x58b824(0x154)](_0x4f7c61){const _0x136198=_0x58b824,_0x4560d7=[];return this[_0x136198(0x149)][_0x136198(0x15a)](_0x136198(0x15f))[_0x136198(0x160)](_0x4560d7,_0x4f7c61),_0x4560d7[0x0];}[_0x58b824(0x159)](_0x309830,_0x294520){const _0x309ff7=_0x58b824;return!(!_0x309830||!_0x294520)&&(_0x309ff7(0x15f)==_0x309830[_0x309ff7(0x14d)]&&_0x309ff7(0x15f)==_0x294520[_0x309ff7(0x14d)]&&!(!_0x309830[_0x309ff7(0x14c)][_0x309ff7(0x164)](_0x309ff7(0x15c))||!_0x294520[_0x309ff7(0x14c)][_0x309ff7(0x164)](_0x309ff7(0x15c))||_0x309830[_0x309ff7(0x14c)]==_0x294520[_0x309ff7(0x14c)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c2eef=_0x1fd0;(function(_0x338cdd,_0x5ced9e){const _0x2592bf=_0x1fd0,_0x519553=_0x338cdd();while(!![]){try{const _0xffb125=-parseInt(_0x2592bf(0x1c8))/0x1*(parseInt(_0x2592bf(0x1a8))/0x2)+parseInt(_0x2592bf(0x1a9))/0x3+parseInt(_0x2592bf(0x1bc))/0x4+parseInt(_0x2592bf(0x1b1))/0x5+-parseInt(_0x2592bf(0x1c9))/0x6+-parseInt(_0x2592bf(0x1ab))/0x7*(-parseInt(_0x2592bf(0x1b4))/0x8)+parseInt(_0x2592bf(0x1a1))/0x9*(-parseInt(_0x2592bf(0x1ad))/0xa);if(_0xffb125===_0x5ced9e)break;else _0x519553['push'](_0x519553['shift']());}catch(_0x16b9ce){_0x519553['push'](_0x519553['shift']());}}}(_0x4bc7,0x8b2e0));import{CKEditorError as _0x199a6e}from'ckeditor5/src/utils.js';function _0x4bc7(){const _0x2f472f=['_getCompressorByName','3265024xOODFp','getDescriptor','AttributeOperation','RenameOperation','RootAttributeOperation','NoOperation','decompress-compressor-not-found','MergeOperation','decompress','compress','_registerOperationCompressor','get','49ILOHiI','604464OmYVSx','_registerActionCompressor','SplitOperation','no-operations-provided','MoveOperation','MarkerOperation','TypingAction','41697uoWpzP','set','suggestion','comment','UserSelectionAction','forEach','__className','26360uPKlQx','610782AguXmd','baseVersion','3842461KRpBke','_compressorByName','730RYYEEY','InsertOperation','CommentMarkerOperation','DeletingAction','430400NREBzA','SuggestionMarkerOperation','_compressorById','8FymHFc','_registerCompressor','RootOperation','ForwardDeletingAction','_protobufFactory','length','types'];_0x4bc7=function(){return _0x2f472f;};return _0x4bc7();}import{ProtobufFactory as _0x241d09}from'./protobuffactory.js';import{OperationCompressor as _0x339e84}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x27eb55}from'./operationcompressor/attributeoperationcompressor.js';function _0x1fd0(_0x1a8fa5,_0x184574){const _0x4bc742=_0x4bc7();return _0x1fd0=function(_0x1fd0b5,_0x46480f){_0x1fd0b5=_0x1fd0b5-0x19e;let _0x39b32f=_0x4bc742[_0x1fd0b5];return _0x39b32f;},_0x1fd0(_0x1a8fa5,_0x184574);}import{InsertOperationCompressor as _0x52d229}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x2f628a}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x2d764f}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x349930}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x3325be}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x1da6c8}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x264f9c}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x3581dd}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x1c2eef(0x1b3)];[_0x1c2eef(0x1ac)];[_0x1c2eef(0x1b8)];constructor(){const _0x8f3960=_0x1c2eef;this[_0x8f3960(0x1b3)]=new Map(),this[_0x8f3960(0x1ac)]=new Map(),this[_0x8f3960(0x1b8)]=new _0x241d09();const _0x13b4f9=this[_0x8f3960(0x1b8)][_0x8f3960(0x1bd)](_0x8f3960(0x19f));this[_0x8f3960(0x1b5)](0x1,_0x8f3960(0x1c1),new _0x2d764f(0x1,_0x8f3960(0x1c1),void 0x0)),this[_0x8f3960(0x1c6)](0xa,_0x8f3960(0x1be),_0x27eb55),this[_0x8f3960(0x1c6)](0xb,_0x8f3960(0x1ae),_0x52d229),this[_0x8f3960(0x1c6)](0xc,_0x8f3960(0x19f),_0x2f628a),this[_0x8f3960(0x1c6)](0xd,_0x8f3960(0x1c3),_0x339e84),this[_0x8f3960(0x1c6)](0xe,_0x8f3960(0x19e),_0x339e84),this[_0x8f3960(0x1c6)](0xf,_0x8f3960(0x1bf),_0x339e84),this[_0x8f3960(0x1c6)](0x10,_0x8f3960(0x1c0),_0x27eb55),this[_0x8f3960(0x1c6)](0x11,_0x8f3960(0x1cb),_0x339e84),this[_0x8f3960(0x1b5)](0x12,_0x8f3960(0x1af),new _0x349930(0x12,_0x8f3960(0x19f),_0x13b4f9,_0x8f3960(0x1a4))),this[_0x8f3960(0x1b5)](0x13,_0x8f3960(0x1b2),new _0x349930(0x13,_0x8f3960(0x19f),_0x13b4f9,_0x8f3960(0x1a3))),this[_0x8f3960(0x1c6)](0x14,_0x8f3960(0x1b6),_0x339e84),this[_0x8f3960(0x1ca)](0x64,_0x8f3960(0x1a0),_0x3325be),this[_0x8f3960(0x1ca)](0x65,_0x8f3960(0x1b0),_0x1da6c8),this[_0x8f3960(0x1ca)](0x66,_0x8f3960(0x1b7),_0x264f9c),this[_0x8f3960(0x1ca)](0x67,_0x8f3960(0x1a5),_0x3581dd);}[_0x1c2eef(0x1c5)](_0x469306){const _0x25b71a=_0x1c2eef;if(!_0x469306||!_0x469306[0x0])throw new _0x199a6e(_0x25b71a(0x1cc),this);const _0x49360f={'types':[],'buffers':[],'baseVersion':_0x469306[0x0][_0x25b71a(0x1aa)]};for(;_0x469306[_0x25b71a(0x1b9)];)this[_0x25b71a(0x1bb)](_0x25b71a(0x1a5))[_0x25b71a(0x1c5)](_0x49360f,_0x469306)||this[_0x25b71a(0x1bb)](_0x25b71a(0x1a0))[_0x25b71a(0x1c5)](_0x49360f,_0x469306)||this[_0x25b71a(0x1bb)](_0x25b71a(0x1b0))[_0x25b71a(0x1c5)](_0x49360f,_0x469306)||this[_0x25b71a(0x1bb)](_0x25b71a(0x1b7))[_0x25b71a(0x1c5)](_0x49360f,_0x469306)||this[_0x25b71a(0x1bb)](_0x25b71a(0x1af))[_0x25b71a(0x1c5)](_0x49360f,_0x469306)||this[_0x25b71a(0x1bb)](_0x25b71a(0x1b2))[_0x25b71a(0x1c5)](_0x49360f,_0x469306)||this[_0x25b71a(0x1bb)](_0x469306[0x0][_0x25b71a(0x1a7)])[_0x25b71a(0x1c5)](_0x49360f,_0x469306);return _0x49360f;}[_0x1c2eef(0x1c4)](_0x186384){const _0x23899a=_0x1c2eef,_0x3e5ac5=[];for(;_0x186384[_0x23899a(0x1ba)][_0x23899a(0x1b9)];){const _0x23000c=this[_0x23899a(0x1b3)][_0x23899a(0x1c7)](_0x186384[_0x23899a(0x1ba)][0x0]);if(!_0x23000c)throw new _0x199a6e(_0x23899a(0x1c2),this,{'type':_0x186384[_0x23899a(0x1ba)][0x0]});_0x23000c[_0x23899a(0x1c4)](_0x3e5ac5,_0x186384);}return _0x3e5ac5[_0x23899a(0x1a6)]((_0x596389,_0x15bc84)=>_0x596389[_0x23899a(0x1aa)]=_0x186384[_0x23899a(0x1aa)]+_0x15bc84),_0x3e5ac5;}[_0x1c2eef(0x1bb)](_0xda0063){const _0x3b99d0=_0x1c2eef;return this[_0x3b99d0(0x1ac)][_0x3b99d0(0x1c7)](_0xda0063);}[_0x1c2eef(0x1c6)](_0x52f772,_0x5f2ce7,_0x3d4685){const _0x36ab69=_0x1c2eef,_0x46dec0=new _0x3d4685(_0x52f772,_0x5f2ce7,this[_0x36ab69(0x1b8)][_0x36ab69(0x1bd)](_0x5f2ce7));this[_0x36ab69(0x1b5)](_0x52f772,_0x5f2ce7,_0x46dec0);}[_0x1c2eef(0x1ca)](_0x595fd6,_0x2650e8,_0x4ad220){const _0x5eeb39=_0x1c2eef,_0x1da32e=new _0x4ad220(_0x595fd6,this);this[_0x5eeb39(0x1b5)](_0x595fd6,_0x2650e8,_0x1da32e);}[_0x1c2eef(0x1b5)](_0x2dec76,_0x501643,_0x4d59a6){const _0x4f64ce=_0x1c2eef;this[_0x4f64ce(0x1b3)][_0x4f64ce(0x1a2)](_0x2dec76,_0x4d59a6),this[_0x4f64ce(0x1ac)][_0x4f64ce(0x1a2)](_0x501643,_0x4d59a6);}}
23
+ const _0x4e557c=_0x4eaf;(function(_0x4fd171,_0x274b7b){const _0x4c7c2a=_0x4eaf,_0x768bb9=_0x4fd171();while(!![]){try{const _0x3272dc=-parseInt(_0x4c7c2a(0x138))/0x1+parseInt(_0x4c7c2a(0x140))/0x2*(parseInt(_0x4c7c2a(0x11f))/0x3)+parseInt(_0x4c7c2a(0x125))/0x4+parseInt(_0x4c7c2a(0x141))/0x5*(-parseInt(_0x4c7c2a(0x129))/0x6)+-parseInt(_0x4c7c2a(0x127))/0x7*(parseInt(_0x4c7c2a(0x130))/0x8)+-parseInt(_0x4c7c2a(0x12c))/0x9+-parseInt(_0x4c7c2a(0x142))/0xa*(-parseInt(_0x4c7c2a(0x13f))/0xb);if(_0x3272dc===_0x274b7b)break;else _0x768bb9['push'](_0x768bb9['shift']());}catch(_0x3e61bb){_0x768bb9['push'](_0x768bb9['shift']());}}}(_0xb110,0xce374));import{CKEditorError as _0x21fb64}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x4d3bc8}from'./protobuffactory.js';import{OperationCompressor as _0x28d1b1}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x1f68c0}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x49848d}from'./operationcompressor/insertoperationcompressor.js';function _0x4eaf(_0x1e95c5,_0x48bfb2){const _0xb11031=_0xb110();return _0x4eaf=function(_0x4eafd3,_0x3c6aa6){_0x4eafd3=_0x4eafd3-0x113;let _0x2759b9=_0xb11031[_0x4eafd3];return _0x2759b9;},_0x4eaf(_0x1e95c5,_0x48bfb2);}function _0xb110(){const _0x44bf8e=['set','getDescriptor','88QAcUAD','_registerActionCompressor','_registerOperationCompressor','SplitOperation','suggestion','no-operations-provided','UserSelectionAction','_getCompressorByName','624506VsAHVk','AttributeOperation','CommentMarkerOperation','MoveOperation','decompress','_registerCompressor','ForwardDeletingAction','6061HnButj','10GqrwHC','5pqmgla','39470HyzGPf','comment','MergeOperation','forEach','DeletingAction','RootOperation','compress','length','NoOperation','_compressorByName','baseVersion','RootAttributeOperation','decompress-compressor-not-found','264567UDQLVo','SuggestionMarkerOperation','__className','types','InsertOperation','RenameOperation','5805492WRdHxY','_protobufFactory','317359WMaGUD','TypingAction','5740722CYHFhy','_compressorById','MarkerOperation','10282095uNnRdn','get'];_0xb110=function(){return _0x44bf8e;};return _0xb110();}import{MarkerOperationCompressor as _0x107699}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x15f154}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x598fa7}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x30de9b}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x39fa8c}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x33ad0b}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x1985c7}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x4e557c(0x12a)];[_0x4e557c(0x11b)];[_0x4e557c(0x126)];constructor(){const _0x4112a7=_0x4e557c;this[_0x4112a7(0x12a)]=new Map(),this[_0x4112a7(0x11b)]=new Map(),this[_0x4112a7(0x126)]=new _0x4d3bc8();const _0x39f8fc=this[_0x4112a7(0x126)][_0x4112a7(0x12f)](_0x4112a7(0x12b));this[_0x4112a7(0x13d)](0x1,_0x4112a7(0x11a),new _0x15f154(0x1,_0x4112a7(0x11a),void 0x0)),this[_0x4112a7(0x132)](0xa,_0x4112a7(0x139),_0x1f68c0),this[_0x4112a7(0x132)](0xb,_0x4112a7(0x123),_0x49848d),this[_0x4112a7(0x132)](0xc,_0x4112a7(0x12b),_0x107699),this[_0x4112a7(0x132)](0xd,_0x4112a7(0x114),_0x28d1b1),this[_0x4112a7(0x132)](0xe,_0x4112a7(0x13b),_0x28d1b1),this[_0x4112a7(0x132)](0xf,_0x4112a7(0x124),_0x28d1b1),this[_0x4112a7(0x132)](0x10,_0x4112a7(0x11d),_0x1f68c0),this[_0x4112a7(0x132)](0x11,_0x4112a7(0x133),_0x28d1b1),this[_0x4112a7(0x13d)](0x12,_0x4112a7(0x13a),new _0x598fa7(0x12,_0x4112a7(0x12b),_0x39f8fc,_0x4112a7(0x113))),this[_0x4112a7(0x13d)](0x13,_0x4112a7(0x120),new _0x598fa7(0x13,_0x4112a7(0x12b),_0x39f8fc,_0x4112a7(0x134))),this[_0x4112a7(0x132)](0x14,_0x4112a7(0x117),_0x28d1b1),this[_0x4112a7(0x131)](0x64,_0x4112a7(0x128),_0x30de9b),this[_0x4112a7(0x131)](0x65,_0x4112a7(0x116),_0x39fa8c),this[_0x4112a7(0x131)](0x66,_0x4112a7(0x13e),_0x33ad0b),this[_0x4112a7(0x131)](0x67,_0x4112a7(0x136),_0x1985c7);}[_0x4e557c(0x118)](_0x54e491){const _0x1105f2=_0x4e557c;if(!_0x54e491||!_0x54e491[0x0])throw new _0x21fb64(_0x1105f2(0x135),this);const _0x469d38={'types':[],'buffers':[],'baseVersion':_0x54e491[0x0][_0x1105f2(0x11c)]};for(;_0x54e491[_0x1105f2(0x119)];)this[_0x1105f2(0x137)](_0x1105f2(0x136))[_0x1105f2(0x118)](_0x469d38,_0x54e491)||this[_0x1105f2(0x137)](_0x1105f2(0x128))[_0x1105f2(0x118)](_0x469d38,_0x54e491)||this[_0x1105f2(0x137)](_0x1105f2(0x116))[_0x1105f2(0x118)](_0x469d38,_0x54e491)||this[_0x1105f2(0x137)](_0x1105f2(0x13e))[_0x1105f2(0x118)](_0x469d38,_0x54e491)||this[_0x1105f2(0x137)](_0x1105f2(0x13a))[_0x1105f2(0x118)](_0x469d38,_0x54e491)||this[_0x1105f2(0x137)](_0x1105f2(0x120))[_0x1105f2(0x118)](_0x469d38,_0x54e491)||this[_0x1105f2(0x137)](_0x54e491[0x0][_0x1105f2(0x121)])[_0x1105f2(0x118)](_0x469d38,_0x54e491);return _0x469d38;}[_0x4e557c(0x13c)](_0x1a1b28){const _0x5dc8ff=_0x4e557c,_0x1d4622=[];for(;_0x1a1b28[_0x5dc8ff(0x122)][_0x5dc8ff(0x119)];){const _0x39c3a2=this[_0x5dc8ff(0x12a)][_0x5dc8ff(0x12d)](_0x1a1b28[_0x5dc8ff(0x122)][0x0]);if(!_0x39c3a2)throw new _0x21fb64(_0x5dc8ff(0x11e),this,{'type':_0x1a1b28[_0x5dc8ff(0x122)][0x0]});_0x39c3a2[_0x5dc8ff(0x13c)](_0x1d4622,_0x1a1b28);}return _0x1d4622[_0x5dc8ff(0x115)]((_0x5ce076,_0x173b9a)=>_0x5ce076[_0x5dc8ff(0x11c)]=_0x1a1b28[_0x5dc8ff(0x11c)]+_0x173b9a),_0x1d4622;}[_0x4e557c(0x137)](_0xa770b2){const _0x186fbd=_0x4e557c;return this[_0x186fbd(0x11b)][_0x186fbd(0x12d)](_0xa770b2);}[_0x4e557c(0x132)](_0x262dfe,_0x45474d,_0x172cd8){const _0x4f6a26=_0x4e557c,_0x43c025=new _0x172cd8(_0x262dfe,_0x45474d,this[_0x4f6a26(0x126)][_0x4f6a26(0x12f)](_0x45474d));this[_0x4f6a26(0x13d)](_0x262dfe,_0x45474d,_0x43c025);}[_0x4e557c(0x131)](_0xc337b5,_0x9fc121,_0x56b3f7){const _0x17ca37=_0x4e557c,_0x5e300f=new _0x56b3f7(_0xc337b5,this);this[_0x17ca37(0x13d)](_0xc337b5,_0x9fc121,_0x5e300f);}[_0x4e557c(0x13d)](_0x495026,_0x1fec8c,_0xace1c3){const _0x54098b=_0x4e557c;this[_0x54098b(0x12a)][_0x54098b(0x12e)](_0x495026,_0xace1c3),this[_0x54098b(0x11b)][_0x54098b(0x12e)](_0x1fec8c,_0xace1c3);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x480c(){var _0x195d18=['9yBYvbW','270598DhlODE','3tMKZvQ','587988gwGoVX','1637400lqrOQB','587848qOapOD','1726344ZNuMxh','1289988VrMucD','360873ADizZj'];_0x480c=function(){return _0x195d18;};return _0x480c();}function _0x3deb(_0x238165,_0x2bc2e7){var _0x480c16=_0x480c();return _0x3deb=function(_0x3deb61,_0x4a3d77){_0x3deb61=_0x3deb61-0x71;var _0x447d44=_0x480c16[_0x3deb61];return _0x447d44;},_0x3deb(_0x238165,_0x2bc2e7);}(function(_0x12ff6c,_0x3f82b0){var _0x5badc4=_0x3deb,_0x26ec66=_0x12ff6c();while(!![]){try{var _0x459441=parseInt(_0x5badc4(0x73))/0x1*(parseInt(_0x5badc4(0x72))/0x2)+-parseInt(_0x5badc4(0x79))/0x3+parseInt(_0x5badc4(0x74))/0x4+parseInt(_0x5badc4(0x75))/0x5+-parseInt(_0x5badc4(0x77))/0x6+-parseInt(_0x5badc4(0x78))/0x7+parseInt(_0x5badc4(0x76))/0x8*(-parseInt(_0x5badc4(0x71))/0x9);if(_0x459441===_0x3f82b0)break;else _0x26ec66['push'](_0x26ec66['shift']());}catch(_0x5d191e){_0x26ec66['push'](_0x26ec66['shift']());}}}(_0x480c,0x34642));export{Compressor}from'./compressor.js';
23
+ (function(_0x900640,_0x1f895a){var _0xbb2b35=_0x117c,_0x458ac8=_0x900640();while(!![]){try{var _0x3c4491=-parseInt(_0xbb2b35(0x1a9))/0x1+parseInt(_0xbb2b35(0x1a4))/0x2+-parseInt(_0xbb2b35(0x1ab))/0x3*(parseInt(_0xbb2b35(0x1ac))/0x4)+-parseInt(_0xbb2b35(0x1a6))/0x5*(-parseInt(_0xbb2b35(0x1ad))/0x6)+parseInt(_0xbb2b35(0x1a7))/0x7+parseInt(_0xbb2b35(0x1a8))/0x8*(parseInt(_0xbb2b35(0x1a5))/0x9)+-parseInt(_0xbb2b35(0x1aa))/0xa;if(_0x3c4491===_0x1f895a)break;else _0x458ac8['push'](_0x458ac8['shift']());}catch(_0xb54511){_0x458ac8['push'](_0x458ac8['shift']());}}}(_0x5693,0xa1b48));export{Compressor}from'./compressor.js';function _0x117c(_0xe9a859,_0x40be83){var _0x56938b=_0x5693();return _0x117c=function(_0x117c87,_0x1c385e){_0x117c87=_0x117c87-0x1a4;var _0x1d0e0c=_0x56938b[_0x117c87];return _0x1d0e0c;},_0x117c(_0xe9a859,_0x40be83);}function _0x5693(){var _0xf2b032=['1225xCAjQw','2175712aELYvH','6949160RgLJBj','1138406QshTdv','1424430QpSbeD','9PjmtQs','338136FFqUOn','12030IAaFKb','1052218SSpRJF','9xjrYNG'];_0x5693=function(){return _0xf2b032;};return _0x5693();}