@ckeditor/ckeditor5-operations-compressor 47.0.0-alpha.5 → 47.0.0-alpha.7

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 _0x7643(){const _0x4db18a=['_decompressSingleOperation','383365hxceZa','6uVVIki','howMany','14YNXJGj','_checkOperation','_compareOperations','_combineNext','_splitCurrent','13436478MXElGW','wasUndone','706449llsBIw','decompress','targetPosition','268708IOCFyK','compress','MoveOperation','__className','3509430mqzoFJ','1269184ZtoKyo','_compressSingleOperation','20CWbuNU','sourcePosition','buffers','root','_context','_getCompressorByName','$graveyard','5084940sSqOWb'];_0x7643=function(){return _0x4db18a;};return _0x7643();}const _0x5c51c9=_0xe1bb;(function(_0x347ad1,_0x1f3eb0){const _0x343ad4=_0xe1bb,_0x250aaf=_0x347ad1();while(!![]){try{const _0x5c5caf=-parseInt(_0x343ad4(0x1a4))/0x1+parseInt(_0x343ad4(0x198))/0x2*(-parseInt(_0x343ad4(0x1a1))/0x3)+parseInt(_0x343ad4(0x18e))/0x4*(-parseInt(_0x343ad4(0x197))/0x5)+parseInt(_0x343ad4(0x1a8))/0x6*(parseInt(_0x343ad4(0x19a))/0x7)+parseInt(_0x343ad4(0x18c))/0x8+parseInt(_0x343ad4(0x19f))/0x9+-parseInt(_0x343ad4(0x195))/0xa;if(_0x5c5caf===_0x1f3eb0)break;else _0x250aaf['push'](_0x250aaf['shift']());}catch(_0x5d3593){_0x250aaf['push'](_0x250aaf['shift']());}}}(_0x7643,0xe9010));import{ActionCompressor as _0x501822}from'./actioncompressor.js';function _0xe1bb(_0x5dfda8,_0xbcc3e7){const _0x764317=_0x7643();return _0xe1bb=function(_0xe1bbbb,_0x16e907){_0xe1bbbb=_0xe1bbbb-0x18c;let _0x3443d0=_0x764317[_0xe1bbbb];return _0x3443d0;},_0xe1bb(_0x5dfda8,_0xbcc3e7);}import{arePositionsEqual as _0x398bf1,getPositionShiftedBy as _0x58cd08}from'../utils.js';import{cloneDeep as _0x3cea1b}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x501822{[_0x5c51c9(0x19d)](_0x37c843,_0x202229){const _0x5f4c9f=_0x5c51c9;return _0x202229[_0x5f4c9f(0x199)]++,_0x202229[_0x5f4c9f(0x18f)]=_0x3cea1b(_0x37c843[_0x5f4c9f(0x18f)]),_0x202229;}[_0x5c51c9(0x19e)](_0x2dd50e){const _0x40ef7c=_0x5c51c9,_0x2ce544=_0x3cea1b(_0x2dd50e);return _0x2dd50e[_0x40ef7c(0x199)]--,_0x2ce544[_0x40ef7c(0x199)]=0x1,_0x2ce544[_0x40ef7c(0x18f)]=_0x58cd08(_0x2ce544[_0x40ef7c(0x18f)],_0x2dd50e[_0x40ef7c(0x199)]),_0x2ce544;}[_0x5c51c9(0x19c)](_0x1efd90,_0x3e6a81){const _0xe4ed17=_0x5c51c9;return!(!this[_0xe4ed17(0x19b)](_0x1efd90)||!this[_0xe4ed17(0x19b)](_0x3e6a81))&&(_0x398bf1(_0x58cd08(_0x1efd90[_0xe4ed17(0x18f)],-0x1),_0x3e6a81[_0xe4ed17(0x18f)])&&_0x398bf1(_0x1efd90[_0xe4ed17(0x1a3)],_0x3e6a81[_0xe4ed17(0x1a3)]));}[_0x5c51c9(0x18d)](_0x539bf2){const _0x246b0b=_0x5c51c9,_0x28597f={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x246b0b(0x192)][_0x246b0b(0x193)](_0x246b0b(0x1a6))[_0x246b0b(0x1a5)](_0x28597f,[_0x539bf2]),_0x28597f[_0x246b0b(0x190)][0x0];}[_0x5c51c9(0x196)](_0x5d3767){const _0x5c5cda=_0x5c51c9,_0x6502bd=[];return this[_0x5c5cda(0x192)][_0x5c5cda(0x193)](_0x5c5cda(0x1a6))[_0x5c5cda(0x1a2)](_0x6502bd,_0x5d3767),_0x6502bd[0x0];}[_0x5c51c9(0x19b)](_0x3772e3){const _0x4e2c45=_0x5c51c9;return _0x4e2c45(0x1a6)==_0x3772e3[_0x4e2c45(0x1a7)]&&_0x4e2c45(0x194)==_0x3772e3[_0x4e2c45(0x1a3)][_0x4e2c45(0x191)]&&0x1==_0x3772e3[_0x4e2c45(0x199)]&&!_0x3772e3[_0x4e2c45(0x1a0)];}}
23
+ const _0x2063c3=_0x8462;(function(_0x5bfc91,_0x3de0c0){const _0x5a3c94=_0x8462,_0x4215d4=_0x5bfc91();while(!![]){try{const _0x478832=-parseInt(_0x5a3c94(0x11e))/0x1+-parseInt(_0x5a3c94(0x121))/0x2+-parseInt(_0x5a3c94(0x10e))/0x3*(-parseInt(_0x5a3c94(0x124))/0x4)+-parseInt(_0x5a3c94(0x120))/0x5+parseInt(_0x5a3c94(0x112))/0x6+parseInt(_0x5a3c94(0x119))/0x7*(parseInt(_0x5a3c94(0x118))/0x8)+parseInt(_0x5a3c94(0x11d))/0x9;if(_0x478832===_0x3de0c0)break;else _0x4215d4['push'](_0x4215d4['shift']());}catch(_0x396415){_0x4215d4['push'](_0x4215d4['shift']());}}}(_0x2214,0x8d470));import{ActionCompressor as _0x1a15ee}from'./actioncompressor.js';import{arePositionsEqual as _0xb2610b,getPositionShiftedBy as _0x5e63d7}from'../utils.js';import{cloneDeep as _0xcfcfc5}from'es-toolkit/compat';function _0x2214(){const _0x8a3cab=['_context','compress','_compareOperations','8lJbxhS','2140943MiTKZl','buffers','sourcePosition','howMany','16649325pQbety','839264mjoVxm','decompress','4167330AxtDEt','2042806KCPszh','MoveOperation','targetPosition','4pfTolv','root','_checkOperation','$graveyard','wasUndone','_getCompressorByName','2991162AmGhft','_compressSingleOperation','_combineNext','_decompressSingleOperation','719862zNBJdQ','_splitCurrent','__className'];_0x2214=function(){return _0x8a3cab;};return _0x2214();}function _0x8462(_0x5ab949,_0x3f9dff){const _0x2214f5=_0x2214();return _0x8462=function(_0x8462de,_0x24a4a6){_0x8462de=_0x8462de-0x10a;let _0xd40ec4=_0x2214f5[_0x8462de];return _0xd40ec4;},_0x8462(_0x5ab949,_0x3f9dff);}export class DeletingActionCompressor extends _0x1a15ee{[_0x2063c3(0x110)](_0x9f4f1,_0x51e05e){const _0x7cf3c0=_0x2063c3;return _0x51e05e[_0x7cf3c0(0x11c)]++,_0x51e05e[_0x7cf3c0(0x11b)]=_0xcfcfc5(_0x9f4f1[_0x7cf3c0(0x11b)]),_0x51e05e;}[_0x2063c3(0x113)](_0x4a4b){const _0x29f45d=_0x2063c3,_0x1724bb=_0xcfcfc5(_0x4a4b);return _0x4a4b[_0x29f45d(0x11c)]--,_0x1724bb[_0x29f45d(0x11c)]=0x1,_0x1724bb[_0x29f45d(0x11b)]=_0x5e63d7(_0x1724bb[_0x29f45d(0x11b)],_0x4a4b[_0x29f45d(0x11c)]),_0x1724bb;}[_0x2063c3(0x117)](_0x2a65fc,_0x4e4be6){const _0xbe6eeb=_0x2063c3;return!(!this[_0xbe6eeb(0x10a)](_0x2a65fc)||!this[_0xbe6eeb(0x10a)](_0x4e4be6))&&(_0xb2610b(_0x5e63d7(_0x2a65fc[_0xbe6eeb(0x11b)],-0x1),_0x4e4be6[_0xbe6eeb(0x11b)])&&_0xb2610b(_0x2a65fc[_0xbe6eeb(0x123)],_0x4e4be6[_0xbe6eeb(0x123)]));}[_0x2063c3(0x10f)](_0x437064){const _0x8293b2=_0x2063c3,_0x29fae2={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x8293b2(0x115)][_0x8293b2(0x10d)](_0x8293b2(0x122))[_0x8293b2(0x116)](_0x29fae2,[_0x437064]),_0x29fae2[_0x8293b2(0x11a)][0x0];}[_0x2063c3(0x111)](_0x409441){const _0x5ab152=_0x2063c3,_0x13d753=[];return this[_0x5ab152(0x115)][_0x5ab152(0x10d)](_0x5ab152(0x122))[_0x5ab152(0x11f)](_0x13d753,_0x409441),_0x13d753[0x0];}[_0x2063c3(0x10a)](_0x34c571){const _0x28a1e8=_0x2063c3;return _0x28a1e8(0x122)==_0x34c571[_0x28a1e8(0x114)]&&_0x28a1e8(0x10b)==_0x34c571[_0x28a1e8(0x123)][_0x28a1e8(0x125)]&&0x1==_0x34c571[_0x28a1e8(0x11c)]&&!_0x34c571[_0x28a1e8(0x10c)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46840a=_0x22d7;(function(_0x2e0306,_0xe8a3ab){const _0x286475=_0x22d7,_0x32a0cd=_0x2e0306();while(!![]){try{const _0x40a115=parseInt(_0x286475(0xc5))/0x1+-parseInt(_0x286475(0xaf))/0x2*(parseInt(_0x286475(0xb5))/0x3)+-parseInt(_0x286475(0xb2))/0x4+parseInt(_0x286475(0xb4))/0x5+-parseInt(_0x286475(0xbc))/0x6+parseInt(_0x286475(0xc3))/0x7+parseInt(_0x286475(0xb3))/0x8;if(_0x40a115===_0xe8a3ab)break;else _0x32a0cd['push'](_0x32a0cd['shift']());}catch(_0x232a59){_0x32a0cd['push'](_0x32a0cd['shift']());}}}(_0x55ab,0x5e3dd));function _0x22d7(_0x2043bc,_0x410cae){const _0x55abb5=_0x55ab();return _0x22d7=function(_0x22d7d6,_0x4db440){_0x22d7d6=_0x22d7d6-0xaf;let _0x448041=_0x55abb5[_0x22d7d6];return _0x448041;},_0x22d7(_0x2043bc,_0x410cae);}import{ActionCompressor as _0x35b753}from'./actioncompressor.js';import{arePositionsEqual as _0x506d8d}from'../utils.js';import{cloneDeep as _0x10ef57}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x35b753{[_0x46840a(0xc0)](_0x145cc3,_0x22de2d){const _0x544b2e=_0x46840a;return _0x22de2d[_0x544b2e(0xc7)]++,_0x22de2d;}[_0x46840a(0xb8)](_0x3ae1d0){const _0x3231b4=_0x46840a,_0x88ef88=_0x10ef57(_0x3ae1d0);return _0x88ef88[_0x3231b4(0xc7)]=0x1,_0x3ae1d0[_0x3231b4(0xc7)]--,_0x88ef88;}[_0x46840a(0xbf)](_0xb2570a,_0x4ea0e6){const _0x1e8525=_0x46840a;return!(!this[_0x1e8525(0xbe)](_0xb2570a)||!this[_0x1e8525(0xbe)](_0x4ea0e6))&&(_0x506d8d(_0xb2570a[_0x1e8525(0xb1)],_0x4ea0e6[_0x1e8525(0xb1)])&&_0x506d8d(_0xb2570a[_0x1e8525(0xc1)],_0x4ea0e6[_0x1e8525(0xc1)]));}[_0x46840a(0xb9)](_0x473e35){const _0xbcefad=_0x46840a,_0x47d984={'types':[],'buffers':[],'baseVersion':0x0};return this[_0xbcefad(0xbb)][_0xbcefad(0xb0)](_0xbcefad(0xc2))[_0xbcefad(0xbd)](_0x47d984,[_0x473e35]),_0x47d984[_0xbcefad(0xb7)][0x0];}[_0x46840a(0xb6)](_0x2ac5e3){const _0x16b19a=_0x46840a,_0x47e623=[];return this[_0x16b19a(0xbb)][_0x16b19a(0xb0)](_0x16b19a(0xc2))[_0x16b19a(0xc6)](_0x47e623,_0x2ac5e3),_0x47e623[0x0];}[_0x46840a(0xbe)](_0x31143f){const _0x10a2e1=_0x46840a;return _0x10a2e1(0xc2)==_0x31143f[_0x10a2e1(0xc9)]&&_0x10a2e1(0xba)==_0x31143f[_0x10a2e1(0xc1)][_0x10a2e1(0xc8)]&&0x1==_0x31143f[_0x10a2e1(0xc7)]&&!_0x31143f[_0x10a2e1(0xc4)];}}function _0x55ab(){const _0x36da1c=['_compareOperations','_combineNext','targetPosition','MoveOperation','13496zkHwTy','wasUndone','730217XXOaLa','decompress','howMany','root','__className','70632NfeSpS','_getCompressorByName','sourcePosition','489504ygaWCb','6655728ptrkqt','1213850DUpcgd','48ODPDan','_decompressSingleOperation','buffers','_splitCurrent','_compressSingleOperation','$graveyard','_context','4400616WtXlJn','compress','_checkOperation'];_0x55ab=function(){return _0x36da1c;};return _0x55ab();}
23
+ const _0x108cc6=_0x4380;(function(_0x413a6d,_0x1cd518){const _0x14e52f=_0x4380,_0x397591=_0x413a6d();while(!![]){try{const _0x12b506=parseInt(_0x14e52f(0x132))/0x1*(parseInt(_0x14e52f(0x118))/0x2)+parseInt(_0x14e52f(0x11b))/0x3+-parseInt(_0x14e52f(0x124))/0x4+parseInt(_0x14e52f(0x129))/0x5+parseInt(_0x14e52f(0x120))/0x6*(parseInt(_0x14e52f(0x131))/0x7)+-parseInt(_0x14e52f(0x119))/0x8*(parseInt(_0x14e52f(0x128))/0x9)+-parseInt(_0x14e52f(0x122))/0xa*(parseInt(_0x14e52f(0x123))/0xb);if(_0x12b506===_0x1cd518)break;else _0x397591['push'](_0x397591['shift']());}catch(_0x5630fe){_0x397591['push'](_0x397591['shift']());}}}(_0x46f2,0x7e357));import{ActionCompressor as _0x325e64}from'./actioncompressor.js';function _0x4380(_0x2af865,_0x3c2892){const _0x46f25d=_0x46f2();return _0x4380=function(_0x4380e7,_0xe3a104){_0x4380e7=_0x4380e7-0x117;let _0x7743c4=_0x46f25d[_0x4380e7];return _0x7743c4;},_0x4380(_0x2af865,_0x3c2892);}function _0x46f2(){const _0x21b267=['$graveyard','targetPosition','1262808jmLrJA','1893105kajIgA','decompress','_checkOperation','howMany','root','_compareOperations','wasUndone','compress','3502317libQeM','306190ywWwie','buffers','sourcePosition','_compressSingleOperation','4QcZhVn','8mpSEHG','_splitCurrent','619104ZYrYqp','_decompressSingleOperation','_getCompressorByName','_combineNext','_context','6THsxin','__className','2313730mfxtlW','11gIRVwJ','3236256hzrnlM','MoveOperation'];_0x46f2=function(){return _0x21b267;};return _0x46f2();}import{arePositionsEqual as _0x1ebbd5}from'../utils.js';import{cloneDeep as _0x35f8aa}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x325e64{[_0x108cc6(0x11e)](_0x5a6baa,_0x13fce4){const _0x192ed3=_0x108cc6;return _0x13fce4[_0x192ed3(0x12c)]++,_0x13fce4;}[_0x108cc6(0x11a)](_0xee59ea){const _0x5da102=_0x108cc6,_0x4ef3aa=_0x35f8aa(_0xee59ea);return _0x4ef3aa[_0x5da102(0x12c)]=0x1,_0xee59ea[_0x5da102(0x12c)]--,_0x4ef3aa;}[_0x108cc6(0x12e)](_0x4ed57b,_0x289d07){const _0x5e9447=_0x108cc6;return!(!this[_0x5e9447(0x12b)](_0x4ed57b)||!this[_0x5e9447(0x12b)](_0x289d07))&&(_0x1ebbd5(_0x4ed57b[_0x5e9447(0x134)],_0x289d07[_0x5e9447(0x134)])&&_0x1ebbd5(_0x4ed57b[_0x5e9447(0x127)],_0x289d07[_0x5e9447(0x127)]));}[_0x108cc6(0x117)](_0x381b48){const _0x203426=_0x108cc6,_0x293954={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x203426(0x11f)][_0x203426(0x11d)](_0x203426(0x125))[_0x203426(0x130)](_0x293954,[_0x381b48]),_0x293954[_0x203426(0x133)][0x0];}[_0x108cc6(0x11c)](_0xd4af5){const _0x46a214=_0x108cc6,_0x3978f1=[];return this[_0x46a214(0x11f)][_0x46a214(0x11d)](_0x46a214(0x125))[_0x46a214(0x12a)](_0x3978f1,_0xd4af5),_0x3978f1[0x0];}[_0x108cc6(0x12b)](_0x594448){const _0x5efe4a=_0x108cc6;return _0x5efe4a(0x125)==_0x594448[_0x5efe4a(0x121)]&&_0x5efe4a(0x126)==_0x594448[_0x5efe4a(0x127)][_0x5efe4a(0x12d)]&&0x1==_0x594448[_0x5efe4a(0x12c)]&&!_0x594448[_0x5efe4a(0x12f)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e1825=_0x3acc;function _0x3acc(_0x4efd41,_0x1f969a){const _0x2fda4c=_0x2fda();return _0x3acc=function(_0x3accfb,_0x81fd68){_0x3accfb=_0x3accfb-0x133;let _0x1b4517=_0x2fda4c[_0x3accfb];return _0x1b4517;},_0x3acc(_0x4efd41,_0x1f969a);}(function(_0x1ee702,_0x16eae9){const _0x4e1ba1=_0x3acc,_0x197289=_0x1ee702();while(!![]){try{const _0x3ad964=-parseInt(_0x4e1ba1(0x156))/0x1*(-parseInt(_0x4e1ba1(0x138))/0x2)+parseInt(_0x4e1ba1(0x154))/0x3*(-parseInt(_0x4e1ba1(0x139))/0x4)+parseInt(_0x4e1ba1(0x13e))/0x5+parseInt(_0x4e1ba1(0x159))/0x6*(-parseInt(_0x4e1ba1(0x140))/0x7)+parseInt(_0x4e1ba1(0x13f))/0x8*(parseInt(_0x4e1ba1(0x149))/0x9)+-parseInt(_0x4e1ba1(0x13d))/0xa*(-parseInt(_0x4e1ba1(0x152))/0xb)+-parseInt(_0x4e1ba1(0x134))/0xc;if(_0x3ad964===_0x16eae9)break;else _0x197289['push'](_0x197289['shift']());}catch(_0x19c7f2){_0x197289['push'](_0x197289['shift']());}}}(_0x2fda,0x3ee8a));import{ActionCompressor as _0x3e5ec9}from'./actioncompressor.js';import{arePositionsEqual as _0x2df4b2,getPositionShiftedBy as _0x11ac53}from'../utils.js';function _0x2fda(){const _0x501d45=['nodes','_checkOperation','length','_combineNext','compress','data','iterator','__className','3177PNToXc','every','_compareAttributes','buffers','_splitCurrent','value','_getCompressorByName','position','wasUndone','22CsjYhr','_decompressSingleOperation','15uMfxCP','substr','2dOjQTf','next','decompress','6SwgEWp','from','2758356xLwAjO','InsertOperation','attributes','_context','329126yGPlFB','25588zuZPzC','_compressSingleOperation','keys','_compareOperations','1194100mCkAQK','33245GFBKqU','4264SAhFWE','1702554EwpXcT'];_0x2fda=function(){return _0x501d45;};return _0x2fda();}import{cloneDeep as _0x1b4cc6}from'es-toolkit/compat';export class TypingActionCompressor extends _0x3e5ec9{[_0x1e1825(0x144)](_0x16d325,_0x11ae5b){const _0x255226=_0x1e1825;return _0x11ae5b[_0x255226(0x141)][0x0][_0x255226(0x146)]+=_0x16d325[_0x255226(0x141)][0x0][_0x255226(0x146)],_0x11ae5b;}[_0x1e1825(0x14d)](_0x5970fc){const _0x43107e=_0x1e1825,_0x50bf11=_0x1b4cc6(_0x5970fc),_0x1be22e=_0x50bf11[_0x43107e(0x141)][0x0],_0x44b706=_0x5970fc[_0x43107e(0x141)][0x0],_0x98b495=_0x44b706[_0x43107e(0x146)][Symbol[_0x43107e(0x147)]]()[_0x43107e(0x157)]()[_0x43107e(0x14e)],_0x47a62c=_0x98b495[_0x43107e(0x143)];return _0x1be22e[_0x43107e(0x146)]=_0x98b495,_0x44b706[_0x43107e(0x146)]=_0x44b706[_0x43107e(0x146)][_0x43107e(0x155)](_0x47a62c),_0x5970fc[_0x43107e(0x150)]=_0x11ac53(_0x5970fc[_0x43107e(0x150)],_0x47a62c),_0x50bf11;}[_0x1e1825(0x13c)](_0x31c4e7,_0x5cd834){const _0x467184=_0x1e1825;if(this[_0x467184(0x142)](_0x31c4e7)&&this[_0x467184(0x142)](_0x5cd834)){const _0x1d7cd1=_0x31c4e7[_0x467184(0x141)][0x0][_0x467184(0x146)][_0x467184(0x143)],_0x9b660a=_0x2df4b2(_0x11ac53(_0x31c4e7[_0x467184(0x150)],_0x1d7cd1),_0x5cd834[_0x467184(0x150)]),_0x57f6f0=_0x31c4e7[_0x467184(0x141)][0x0],_0x10ac38=_0x5cd834[_0x467184(0x141)][0x0];return _0x9b660a&&this[_0x467184(0x14b)](_0x57f6f0,_0x10ac38);}return!0x1;}[_0x1e1825(0x13a)](_0x355f1f){const _0x3e5095=_0x1e1825,_0x23005c={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3e5095(0x137)][_0x3e5095(0x14f)](_0x3e5095(0x135))[_0x3e5095(0x145)](_0x23005c,[_0x355f1f]),_0x23005c[_0x3e5095(0x14c)][0x0];}[_0x1e1825(0x153)](_0xf3b601){const _0x39b7c0=_0x1e1825,_0x57f463=[];return this[_0x39b7c0(0x137)][_0x39b7c0(0x14f)](_0x39b7c0(0x135))[_0x39b7c0(0x158)](_0x57f463,_0xf3b601),_0x57f463[0x0];}[_0x1e1825(0x142)](_0x5a2c24){const _0x2c9817=_0x1e1825;return _0x2c9817(0x135)==_0x5a2c24[_0x2c9817(0x148)]&&0x1==_0x5a2c24[_0x2c9817(0x141)][_0x2c9817(0x143)]&&_0x5a2c24[_0x2c9817(0x141)][0x0][_0x2c9817(0x146)]&&!_0x5a2c24[_0x2c9817(0x151)]&&0x1==Array[_0x2c9817(0x133)](_0x5a2c24[_0x2c9817(0x141)][0x0][_0x2c9817(0x146)])[_0x2c9817(0x143)];}[_0x1e1825(0x14b)](_0x334ffb,_0x3d3b81){const _0x5d6129=_0x1e1825,_0x61134d=Object[_0x5d6129(0x13b)](_0x334ffb[_0x5d6129(0x136)]||{}),_0x368991=Object[_0x5d6129(0x13b)](_0x3d3b81[_0x5d6129(0x136)]||{});return _0x61134d[_0x5d6129(0x143)]===_0x368991[_0x5d6129(0x143)]&&_0x61134d[_0x5d6129(0x14a)](_0x27da5f=>_0x3d3b81[_0x5d6129(0x136)][_0x27da5f]&&_0x3d3b81[_0x5d6129(0x136)][_0x27da5f]===_0x334ffb[_0x5d6129(0x136)][_0x27da5f]);}}
23
+ const _0x34bdd2=_0x4409;(function(_0x59b334,_0x106ed3){const _0x7bb486=_0x4409,_0x80f982=_0x59b334();while(!![]){try{const _0x339c77=-parseInt(_0x7bb486(0x7d))/0x1+parseInt(_0x7bb486(0x79))/0x2*(parseInt(_0x7bb486(0x87))/0x3)+parseInt(_0x7bb486(0x80))/0x4*(-parseInt(_0x7bb486(0x95))/0x5)+-parseInt(_0x7bb486(0x90))/0x6*(-parseInt(_0x7bb486(0x9a))/0x7)+-parseInt(_0x7bb486(0x84))/0x8+parseInt(_0x7bb486(0x7b))/0x9*(-parseInt(_0x7bb486(0x94))/0xa)+-parseInt(_0x7bb486(0x99))/0xb*(-parseInt(_0x7bb486(0x82))/0xc);if(_0x339c77===_0x106ed3)break;else _0x80f982['push'](_0x80f982['shift']());}catch(_0x406639){_0x80f982['push'](_0x80f982['shift']());}}}(_0x2635,0xc34eb));import{ActionCompressor as _0x15df81}from'./actioncompressor.js';import{arePositionsEqual as _0x4bd7d8,getPositionShiftedBy as _0x3931d9}from'../utils.js';function _0x2635(){const _0x5f2611=['buffers','218736RhTwsY','nodes','1139943ucPqNo','_compareOperations','_getCompressorByName','24212JKClZT','_checkOperation','72IBhbhM','every','9425520vrPvWc','from','iterator','6hEwvAv','_decompressSingleOperation','keys','_splitCurrent','_compareAttributes','value','wasUndone','position','data','21906jTqWyf','compress','_compressSingleOperation','_context','560sIzGrP','865BdMJwM','decompress','__className','_combineNext','4668785NLeiXq','2807qjRksl','next','length','InsertOperation','substr','attributes','1515644AWsXpm'];_0x2635=function(){return _0x5f2611;};return _0x2635();}function _0x4409(_0x54bac0,_0x5731ef){const _0x263586=_0x2635();return _0x4409=function(_0x44092b,_0x211aeb){_0x44092b=_0x44092b-0x75;let _0xa0cd3a=_0x263586[_0x44092b];return _0xa0cd3a;},_0x4409(_0x54bac0,_0x5731ef);}import{cloneDeep as _0x134cb0}from'es-toolkit/compat';export class TypingActionCompressor extends _0x15df81{[_0x34bdd2(0x98)](_0x2465b1,_0x2c8672){const _0x43d6e8=_0x34bdd2;return _0x2c8672[_0x43d6e8(0x7c)][0x0][_0x43d6e8(0x8f)]+=_0x2465b1[_0x43d6e8(0x7c)][0x0][_0x43d6e8(0x8f)],_0x2c8672;}[_0x34bdd2(0x8a)](_0x26fa0a){const _0xcb171f=_0x34bdd2,_0x320750=_0x134cb0(_0x26fa0a),_0x2197ed=_0x320750[_0xcb171f(0x7c)][0x0],_0x41be1f=_0x26fa0a[_0xcb171f(0x7c)][0x0],_0x24c07e=_0x41be1f[_0xcb171f(0x8f)][Symbol[_0xcb171f(0x86)]]()[_0xcb171f(0x9b)]()[_0xcb171f(0x8c)],_0x649439=_0x24c07e[_0xcb171f(0x75)];return _0x2197ed[_0xcb171f(0x8f)]=_0x24c07e,_0x41be1f[_0xcb171f(0x8f)]=_0x41be1f[_0xcb171f(0x8f)][_0xcb171f(0x77)](_0x649439),_0x26fa0a[_0xcb171f(0x8e)]=_0x3931d9(_0x26fa0a[_0xcb171f(0x8e)],_0x649439),_0x320750;}[_0x34bdd2(0x7e)](_0x50b9e2,_0x5aabb){const _0x4c3d69=_0x34bdd2;if(this[_0x4c3d69(0x81)](_0x50b9e2)&&this[_0x4c3d69(0x81)](_0x5aabb)){const _0x1c543d=_0x50b9e2[_0x4c3d69(0x7c)][0x0][_0x4c3d69(0x8f)][_0x4c3d69(0x75)],_0x15cb08=_0x4bd7d8(_0x3931d9(_0x50b9e2[_0x4c3d69(0x8e)],_0x1c543d),_0x5aabb[_0x4c3d69(0x8e)]),_0x1285be=_0x50b9e2[_0x4c3d69(0x7c)][0x0],_0x5296f8=_0x5aabb[_0x4c3d69(0x7c)][0x0];return _0x15cb08&&this[_0x4c3d69(0x8b)](_0x1285be,_0x5296f8);}return!0x1;}[_0x34bdd2(0x92)](_0x1ff074){const _0x2280bc=_0x34bdd2,_0x2809b9={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2280bc(0x93)][_0x2280bc(0x7f)](_0x2280bc(0x76))[_0x2280bc(0x91)](_0x2809b9,[_0x1ff074]),_0x2809b9[_0x2280bc(0x7a)][0x0];}[_0x34bdd2(0x88)](_0xea459f){const _0x2028e8=_0x34bdd2,_0x2cef0d=[];return this[_0x2028e8(0x93)][_0x2028e8(0x7f)](_0x2028e8(0x76))[_0x2028e8(0x96)](_0x2cef0d,_0xea459f),_0x2cef0d[0x0];}[_0x34bdd2(0x81)](_0xfe0b28){const _0x562a3b=_0x34bdd2;return _0x562a3b(0x76)==_0xfe0b28[_0x562a3b(0x97)]&&0x1==_0xfe0b28[_0x562a3b(0x7c)][_0x562a3b(0x75)]&&_0xfe0b28[_0x562a3b(0x7c)][0x0][_0x562a3b(0x8f)]&&!_0xfe0b28[_0x562a3b(0x8d)]&&0x1==Array[_0x562a3b(0x85)](_0xfe0b28[_0x562a3b(0x7c)][0x0][_0x562a3b(0x8f)])[_0x562a3b(0x75)];}[_0x34bdd2(0x8b)](_0x52090b,_0x4b80b0){const _0x5b87e2=_0x34bdd2,_0x5ef5d4=Object[_0x5b87e2(0x89)](_0x52090b[_0x5b87e2(0x78)]||{}),_0x559c3c=Object[_0x5b87e2(0x89)](_0x4b80b0[_0x5b87e2(0x78)]||{});return _0x5ef5d4[_0x5b87e2(0x75)]===_0x559c3c[_0x5b87e2(0x75)]&&_0x5ef5d4[_0x5b87e2(0x83)](_0x559eac=>_0x4b80b0[_0x5b87e2(0x78)][_0x559eac]&&_0x4b80b0[_0x5b87e2(0x78)][_0x559eac]===_0x52090b[_0x5b87e2(0x78)][_0x559eac]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fe430=_0x555b;(function(_0x40fa47,_0x6e601a){const _0x1a8f9a=_0x555b,_0xe3233e=_0x40fa47();while(!![]){try{const _0x4f6168=parseInt(_0x1a8f9a(0x1e7))/0x1+-parseInt(_0x1a8f9a(0x1f3))/0x2*(parseInt(_0x1a8f9a(0x1f0))/0x3)+-parseInt(_0x1a8f9a(0x1ed))/0x4+parseInt(_0x1a8f9a(0x1e8))/0x5+parseInt(_0x1a8f9a(0x1eb))/0x6*(parseInt(_0x1a8f9a(0x1de))/0x7)+-parseInt(_0x1a8f9a(0x1dc))/0x8+parseInt(_0x1a8f9a(0x1e5))/0x9*(parseInt(_0x1a8f9a(0x1df))/0xa);if(_0x4f6168===_0x6e601a)break;else _0xe3233e['push'](_0xe3233e['shift']());}catch(_0x517077){_0xe3233e['push'](_0xe3233e['shift']());}}}(_0x19c9,0xd1d52));function _0x555b(_0x3b881b,_0x46bdb9){const _0x19c9e7=_0x19c9();return _0x555b=function(_0x555b32,_0x10f6b9){_0x555b32=_0x555b32-0x1d5;let _0x25283e=_0x19c9e7[_0x555b32];return _0x25283e;},_0x555b(_0x3b881b,_0x46bdb9);}import{ActionCompressor as _0xaa3334}from'./actioncompressor.js';import{arePositionsEqual as _0x4094db}from'../utils.js';import{cloneDeep as _0x58e85e}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0xaa3334{[_0x2fe430(0x1f2)](_0x10f069,_0x10bb20){const _0x3a1abf=_0x2fe430;if(!this[_0x3a1abf(0x1e0)](_0x10bb20[0x0],_0x10bb20[0x1]))return!0x1;const _0x460fee=_0x10bb20[_0x3a1abf(0x1ee)]();return _0x460fee[_0x3a1abf(0x1f4)]=null,_0x460fee[_0x3a1abf(0x1ea)]&&_0x4094db(_0x460fee[_0x3a1abf(0x1ea)][_0x3a1abf(0x1e2)],_0x460fee[_0x3a1abf(0x1ea)][_0x3a1abf(0x1e4)])&&(_0x460fee[_0x3a1abf(0x1ea)][_0x3a1abf(0x1e4)]=null),_0x10bb20[_0x3a1abf(0x1ee)](),_0x10f069[_0x3a1abf(0x1d5)][_0x3a1abf(0x1f5)](this[_0x3a1abf(0x1e9)]),_0x10f069[_0x3a1abf(0x1d5)][_0x3a1abf(0x1f5)](0x0),_0x10f069[_0x3a1abf(0x1ec)][_0x3a1abf(0x1f5)](this[_0x3a1abf(0x1f6)](_0x460fee)),!0x0;}[_0x2fe430(0x1db)](_0x4252ae,_0x47e3f8){const _0x5522ad=_0x2fe430,_0x211e10=this[_0x5522ad(0x1da)](_0x47e3f8);_0x211e10[_0x5522ad(0x1ea)]&&!_0x211e10[_0x5522ad(0x1ea)][_0x5522ad(0x1e4)]&&(_0x211e10[_0x5522ad(0x1ea)][_0x5522ad(0x1e4)]=_0x58e85e(_0x211e10[_0x5522ad(0x1ea)][_0x5522ad(0x1e2)]));const _0x3ad568=_0x58e85e(_0x211e10);_0x3ad568[_0x5522ad(0x1ea)]&&(_0x3ad568[_0x5522ad(0x1ea)][_0x5522ad(0x1e2)][_0x5522ad(0x1d8)]=_0x5522ad(0x1e1),_0x3ad568[_0x5522ad(0x1ea)][_0x5522ad(0x1e4)]=_0x58e85e(_0x3ad568[_0x5522ad(0x1ea)][_0x5522ad(0x1e2)])),_0x3ad568[_0x5522ad(0x1d7)]=_0x5522ad(0x1dd)+_0x3ad568[_0x5522ad(0x1d7)][_0x5522ad(0x1e3)](':')[0x2],_0x47e3f8[_0x5522ad(0x1d5)][_0x5522ad(0x1ee)](),_0x4252ae[_0x5522ad(0x1f5)](_0x211e10),_0x4252ae[_0x5522ad(0x1f5)](_0x3ad568);}[_0x2fe430(0x1f6)](_0x4dd654){const _0x48ac74=_0x2fe430,_0x46c2f1={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x48ac74(0x1f1)][_0x48ac74(0x1ef)](_0x48ac74(0x1f7))[_0x48ac74(0x1f2)](_0x46c2f1,[_0x4dd654]),_0x46c2f1[_0x48ac74(0x1ec)][0x0];}[_0x2fe430(0x1da)](_0x33ec05){const _0x29a9dc=_0x2fe430,_0x958a5a=[];return this[_0x29a9dc(0x1f1)][_0x29a9dc(0x1ef)](_0x29a9dc(0x1f7))[_0x29a9dc(0x1db)](_0x958a5a,_0x33ec05),_0x958a5a[0x0];}[_0x2fe430(0x1e0)](_0x25e304,_0x4a1f7b){const _0x19a2ea=_0x2fe430;return!(!_0x25e304||!_0x4a1f7b)&&(_0x19a2ea(0x1f7)==_0x25e304[_0x19a2ea(0x1d9)]&&_0x19a2ea(0x1f7)==_0x4a1f7b[_0x19a2ea(0x1d9)]&&!(!_0x25e304[_0x19a2ea(0x1d7)][_0x19a2ea(0x1e6)](_0x19a2ea(0x1d6))||!_0x4a1f7b[_0x19a2ea(0x1d7)][_0x19a2ea(0x1e6)](_0x19a2ea(0x1d6))||_0x25e304[_0x19a2ea(0x1d7)]==_0x4a1f7b[_0x19a2ea(0x1d7)]));}}function _0x19c9(){const _0x56e205=['MarkerOperation','types','user:','name','stickiness','__className','_decompressSingleOperation','decompress','10802272Wgmmmt','user:position:','35GnHHpu','60toBaJH','_compareOperations','toNone','start','split','end','133191PWtOAq','startsWith','1344921ferWkX','7852380iOUgAH','_id','newRange','426366rkEHRO','buffers','4497564UjMhcr','shift','_getCompressorByName','10863ifOIct','_context','compress','14aRfMew','oldRange','push','_compressSingleOperation'];_0x19c9=function(){return _0x56e205;};return _0x19c9();}
23
+ const _0x2f4c31=_0x1e80;(function(_0x2fa59c,_0x293f14){const _0x1bfb9e=_0x1e80,_0x378fc9=_0x2fa59c();while(!![]){try{const _0x5a6ff9=parseInt(_0x1bfb9e(0x206))/0x1+parseInt(_0x1bfb9e(0x208))/0x2*(-parseInt(_0x1bfb9e(0x20a))/0x3)+parseInt(_0x1bfb9e(0x1fa))/0x4+parseInt(_0x1bfb9e(0x209))/0x5+-parseInt(_0x1bfb9e(0x20b))/0x6+-parseInt(_0x1bfb9e(0x205))/0x7+-parseInt(_0x1bfb9e(0x207))/0x8*(-parseInt(_0x1bfb9e(0x211))/0x9);if(_0x5a6ff9===_0x293f14)break;else _0x378fc9['push'](_0x378fc9['shift']());}catch(_0x5e62b8){_0x378fc9['push'](_0x378fc9['shift']());}}}(_0x28b3,0xdd08c));import{ActionCompressor as _0x534299}from'./actioncompressor.js';function _0x1e80(_0x124d06,_0x3a8b90){const _0x28b3d3=_0x28b3();return _0x1e80=function(_0x1e80fc,_0xd772a5){_0x1e80fc=_0x1e80fc-0x1f1;let _0x48346b=_0x28b3d3[_0x1e80fc];return _0x48346b;},_0x1e80(_0x124d06,_0x3a8b90);}import{arePositionsEqual as _0x3c5ff7}from'../utils.js';import{cloneDeep as _0x15253a}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x534299{[_0x2f4c31(0x203)](_0x1af327,_0x35b66c){const _0x42ce98=_0x2f4c31;if(!this[_0x42ce98(0x1fe)](_0x35b66c[0x0],_0x35b66c[0x1]))return!0x1;const _0x387eeb=_0x35b66c[_0x42ce98(0x1f8)]();return _0x387eeb[_0x42ce98(0x20f)]=null,_0x387eeb[_0x42ce98(0x1f5)]&&_0x3c5ff7(_0x387eeb[_0x42ce98(0x1f5)][_0x42ce98(0x1f4)],_0x387eeb[_0x42ce98(0x1f5)][_0x42ce98(0x1ff)])&&(_0x387eeb[_0x42ce98(0x1f5)][_0x42ce98(0x1ff)]=null),_0x35b66c[_0x42ce98(0x1f8)](),_0x1af327[_0x42ce98(0x212)][_0x42ce98(0x202)](this[_0x42ce98(0x1f9)]),_0x1af327[_0x42ce98(0x212)][_0x42ce98(0x202)](0x0),_0x1af327[_0x42ce98(0x1f3)][_0x42ce98(0x202)](this[_0x42ce98(0x20c)](_0x387eeb)),!0x0;}[_0x2f4c31(0x1fd)](_0x4828d3,_0x2a97d8){const _0xe4cd15=_0x2f4c31,_0x18d947=this[_0xe4cd15(0x204)](_0x2a97d8);_0x18d947[_0xe4cd15(0x1f5)]&&!_0x18d947[_0xe4cd15(0x1f5)][_0xe4cd15(0x1ff)]&&(_0x18d947[_0xe4cd15(0x1f5)][_0xe4cd15(0x1ff)]=_0x15253a(_0x18d947[_0xe4cd15(0x1f5)][_0xe4cd15(0x1f4)]));const _0x416313=_0x15253a(_0x18d947);_0x416313[_0xe4cd15(0x1f5)]&&(_0x416313[_0xe4cd15(0x1f5)][_0xe4cd15(0x1f4)][_0xe4cd15(0x20d)]=_0xe4cd15(0x1fb),_0x416313[_0xe4cd15(0x1f5)][_0xe4cd15(0x1ff)]=_0x15253a(_0x416313[_0xe4cd15(0x1f5)][_0xe4cd15(0x1f4)])),_0x416313[_0xe4cd15(0x1f7)]=_0xe4cd15(0x210)+_0x416313[_0xe4cd15(0x1f7)][_0xe4cd15(0x20e)](':')[0x2],_0x2a97d8[_0xe4cd15(0x212)][_0xe4cd15(0x1f8)](),_0x4828d3[_0xe4cd15(0x202)](_0x18d947),_0x4828d3[_0xe4cd15(0x202)](_0x416313);}[_0x2f4c31(0x20c)](_0x1c3605){const _0x42356f=_0x2f4c31,_0x20ec2f={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x42356f(0x1f1)][_0x42356f(0x1fc)](_0x42356f(0x1f6))[_0x42356f(0x203)](_0x20ec2f,[_0x1c3605]),_0x20ec2f[_0x42356f(0x1f3)][0x0];}[_0x2f4c31(0x204)](_0xe8c678){const _0x10c9f5=_0x2f4c31,_0x5510e7=[];return this[_0x10c9f5(0x1f1)][_0x10c9f5(0x1fc)](_0x10c9f5(0x1f6))[_0x10c9f5(0x1fd)](_0x5510e7,_0xe8c678),_0x5510e7[0x0];}[_0x2f4c31(0x1fe)](_0x191159,_0x15af92){const _0x5ebcde=_0x2f4c31;return!(!_0x191159||!_0x15af92)&&(_0x5ebcde(0x1f6)==_0x191159[_0x5ebcde(0x200)]&&_0x5ebcde(0x1f6)==_0x15af92[_0x5ebcde(0x200)]&&!(!_0x191159[_0x5ebcde(0x1f7)][_0x5ebcde(0x201)](_0x5ebcde(0x1f2))||!_0x15af92[_0x5ebcde(0x1f7)][_0x5ebcde(0x201)](_0x5ebcde(0x1f2))||_0x191159[_0x5ebcde(0x1f7)]==_0x15af92[_0x5ebcde(0x1f7)]));}}function _0x28b3(){const _0x5edc31=['2290509uriNXn','types','_context','user:','buffers','start','newRange','MarkerOperation','name','shift','_id','7121640BmWUAp','toNone','_getCompressorByName','decompress','_compareOperations','end','__className','startsWith','push','compress','_decompressSingleOperation','11680207NfwPIT','701277cDKZOF','40lQgtBL','2jFPPFX','2048035aBYVMb','4380405UVvdcf','778242BzicGz','_compressSingleOperation','stickiness','split','oldRange','user:position:'];_0x28b3=function(){return _0x5edc31;};return _0x28b3();}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4a68(){const _0x571c36=['SplitOperation','MoveOperation','ForwardDeletingAction','_registerCompressor','set','MarkerOperation','7997958jjqlFC','baseVersion','RootAttributeOperation','decompress-compressor-not-found','6273cBLuzP','UserSelectionAction','10218GqQmHo','getDescriptor','4486146WmdZnl','_protobufFactory','RootOperation','suggestion','AttributeOperation','NoOperation','_compressorById','1135974UVPJBR','length','no-operations-provided','forEach','_getCompressorByName','_registerActionCompressor','CommentMarkerOperation','types','RenameOperation','SuggestionMarkerOperation','695PIfCWe','InsertOperation','_registerOperationCompressor','__className','decompress','1518744vJNrCb','DeletingAction','MergeOperation','TypingAction','get','compress','3618008FBpsfg','_compressorByName','246AFqRjF','comment'];_0x4a68=function(){return _0x571c36;};return _0x4a68();}const _0x42cd51=_0x3a9a;(function(_0x1aabd0,_0x4764cc){const _0x5bc917=_0x3a9a,_0x8a2f04=_0x1aabd0();while(!![]){try{const _0x198f14=-parseInt(_0x5bc917(0xd3))/0x1*(parseInt(_0x5bc917(0xc7))/0x2)+parseInt(_0x5bc917(0xde))/0x3+parseInt(_0x5bc917(0xbf))/0x4+parseInt(_0x5bc917(0xba))/0x5*(-parseInt(_0x5bc917(0xd5))/0x6)+-parseInt(_0x5bc917(0xd7))/0x7+parseInt(_0x5bc917(0xc5))/0x8+parseInt(_0x5bc917(0xcf))/0x9;if(_0x198f14===_0x4764cc)break;else _0x8a2f04['push'](_0x8a2f04['shift']());}catch(_0x1e04fc){_0x8a2f04['push'](_0x8a2f04['shift']());}}}(_0x4a68,0x6de23));function _0x3a9a(_0x272b08,_0x26e361){const _0x4a685a=_0x4a68();return _0x3a9a=function(_0x3a9af1,_0x4a578a){_0x3a9af1=_0x3a9af1-0xb2;let _0x24d6e0=_0x4a685a[_0x3a9af1];return _0x24d6e0;},_0x3a9a(_0x272b08,_0x26e361);}import{CKEditorError as _0x210c3b}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x4e7c69}from'./protobuffactory.js';import{OperationCompressor as _0x45392b}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0xeee69c}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x412144}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x412544}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x41b965}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x1a28a4}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x3a05e1}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x1a52a7}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x26778a}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0xc3d8c}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x42cd51(0xdd)];[_0x42cd51(0xc6)];[_0x42cd51(0xd8)];constructor(){const _0x3dcee7=_0x42cd51;this[_0x3dcee7(0xdd)]=new Map(),this[_0x3dcee7(0xc6)]=new Map(),this[_0x3dcee7(0xd8)]=new _0x4e7c69();const _0x139242=this[_0x3dcee7(0xd8)][_0x3dcee7(0xd6)](_0x3dcee7(0xce));this[_0x3dcee7(0xcc)](0x1,_0x3dcee7(0xdc),new _0x41b965(0x1,_0x3dcee7(0xdc),void 0x0)),this[_0x3dcee7(0xbc)](0xa,_0x3dcee7(0xdb),_0xeee69c),this[_0x3dcee7(0xbc)](0xb,_0x3dcee7(0xbb),_0x412144),this[_0x3dcee7(0xbc)](0xc,_0x3dcee7(0xce),_0x412544),this[_0x3dcee7(0xbc)](0xd,_0x3dcee7(0xc1),_0x45392b),this[_0x3dcee7(0xbc)](0xe,_0x3dcee7(0xca),_0x45392b),this[_0x3dcee7(0xbc)](0xf,_0x3dcee7(0xb8),_0x45392b),this[_0x3dcee7(0xbc)](0x10,_0x3dcee7(0xd1),_0xeee69c),this[_0x3dcee7(0xbc)](0x11,_0x3dcee7(0xc9),_0x45392b),this[_0x3dcee7(0xcc)](0x12,_0x3dcee7(0xb6),new _0x1a28a4(0x12,_0x3dcee7(0xce),_0x139242,_0x3dcee7(0xc8))),this[_0x3dcee7(0xcc)](0x13,_0x3dcee7(0xb9),new _0x1a28a4(0x13,_0x3dcee7(0xce),_0x139242,_0x3dcee7(0xda))),this[_0x3dcee7(0xbc)](0x14,_0x3dcee7(0xd9),_0x45392b),this[_0x3dcee7(0xb5)](0x64,_0x3dcee7(0xc2),_0x3a05e1),this[_0x3dcee7(0xb5)](0x65,_0x3dcee7(0xc0),_0x1a52a7),this[_0x3dcee7(0xb5)](0x66,_0x3dcee7(0xcb),_0x26778a),this[_0x3dcee7(0xb5)](0x67,_0x3dcee7(0xd4),_0xc3d8c);}[_0x42cd51(0xc4)](_0x4719e3){const _0x5e17d6=_0x42cd51;if(!_0x4719e3||!_0x4719e3[0x0])throw new _0x210c3b(_0x5e17d6(0xb2),this);const _0x16252e={'types':[],'buffers':[],'baseVersion':_0x4719e3[0x0][_0x5e17d6(0xd0)]};for(;_0x4719e3[_0x5e17d6(0xdf)];)this[_0x5e17d6(0xb4)](_0x5e17d6(0xd4))[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3)||this[_0x5e17d6(0xb4)](_0x5e17d6(0xc2))[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3)||this[_0x5e17d6(0xb4)](_0x5e17d6(0xc0))[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3)||this[_0x5e17d6(0xb4)](_0x5e17d6(0xcb))[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3)||this[_0x5e17d6(0xb4)](_0x5e17d6(0xb6))[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3)||this[_0x5e17d6(0xb4)](_0x5e17d6(0xb9))[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3)||this[_0x5e17d6(0xb4)](_0x4719e3[0x0][_0x5e17d6(0xbd)])[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3);return _0x16252e;}[_0x42cd51(0xbe)](_0x5e6d7b){const _0x55cd69=_0x42cd51,_0x19bbb8=[];for(;_0x5e6d7b[_0x55cd69(0xb7)][_0x55cd69(0xdf)];){const _0x1b05db=this[_0x55cd69(0xdd)][_0x55cd69(0xc3)](_0x5e6d7b[_0x55cd69(0xb7)][0x0]);if(!_0x1b05db)throw new _0x210c3b(_0x55cd69(0xd2),this,{'type':_0x5e6d7b[_0x55cd69(0xb7)][0x0]});_0x1b05db[_0x55cd69(0xbe)](_0x19bbb8,_0x5e6d7b);}return _0x19bbb8[_0x55cd69(0xb3)]((_0x2e9dc4,_0x2e32b7)=>_0x2e9dc4[_0x55cd69(0xd0)]=_0x5e6d7b[_0x55cd69(0xd0)]+_0x2e32b7),_0x19bbb8;}[_0x42cd51(0xb4)](_0x4b25bc){const _0x37fdb1=_0x42cd51;return this[_0x37fdb1(0xc6)][_0x37fdb1(0xc3)](_0x4b25bc);}[_0x42cd51(0xbc)](_0x16910a,_0x3b585b,_0x3cae10){const _0x69e1a4=_0x42cd51,_0x37ab7b=new _0x3cae10(_0x16910a,_0x3b585b,this[_0x69e1a4(0xd8)][_0x69e1a4(0xd6)](_0x3b585b));this[_0x69e1a4(0xcc)](_0x16910a,_0x3b585b,_0x37ab7b);}[_0x42cd51(0xb5)](_0x2ec112,_0x3e22aa,_0x2daab5){const _0x1b498b=_0x42cd51,_0x447d99=new _0x2daab5(_0x2ec112,this);this[_0x1b498b(0xcc)](_0x2ec112,_0x3e22aa,_0x447d99);}[_0x42cd51(0xcc)](_0x420778,_0x3ccc01,_0x1a5349){const _0x81c53b=_0x42cd51;this[_0x81c53b(0xdd)][_0x81c53b(0xcd)](_0x420778,_0x1a5349),this[_0x81c53b(0xc6)][_0x81c53b(0xcd)](_0x3ccc01,_0x1a5349);}}
23
+ const _0x21dd29=_0x3353;(function(_0x557a71,_0x16258c){const _0x2bf6a5=_0x3353,_0x5be28d=_0x557a71();while(!![]){try{const _0x5b4c1b=parseInt(_0x2bf6a5(0x11e))/0x1*(parseInt(_0x2bf6a5(0x110))/0x2)+-parseInt(_0x2bf6a5(0x129))/0x3*(parseInt(_0x2bf6a5(0x139))/0x4)+-parseInt(_0x2bf6a5(0x124))/0x5+parseInt(_0x2bf6a5(0x114))/0x6+parseInt(_0x2bf6a5(0x112))/0x7*(-parseInt(_0x2bf6a5(0x12c))/0x8)+parseInt(_0x2bf6a5(0x10b))/0x9+-parseInt(_0x2bf6a5(0x128))/0xa;if(_0x5b4c1b===_0x16258c)break;else _0x5be28d['push'](_0x5be28d['shift']());}catch(_0x49ffe6){_0x5be28d['push'](_0x5be28d['shift']());}}}(_0x3843,0xaebfc));import{CKEditorError as _0x4159ea}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x176347}from'./protobuffactory.js';import{OperationCompressor as _0x1c7a2c}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x229280}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x27c084}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x3295aa}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x33502c}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x28e276}from'./operationcompressor/annotationmarkeroperationcompressor.js';function _0x3353(_0x16b973,_0x713f18){const _0x3843a8=_0x3843();return _0x3353=function(_0x335343,_0x35fd2a){_0x335343=_0x335343-0x10b;let _0x3877a1=_0x3843a8[_0x335343];return _0x3877a1;},_0x3353(_0x16b973,_0x713f18);}import{TypingActionCompressor as _0x325995}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0xb15979}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x3e59a8}from'./actioncompressor/forwarddeletingactioncompressor.js';function _0x3843(){const _0x1bdce1=['4265pQRaUB','no-operations-provided','forEach','TypingAction','_getCompressorByName','DeletingAction','2749180HbgNmY','_registerCompressor','decompress','decompress-compressor-not-found','203900kUTTIt','3zGzHOu','UserSelectionAction','MarkerOperation','9088784dVyckf','_compressorByName','RenameOperation','NoOperation','set','MergeOperation','AttributeOperation','InsertOperation','_registerActionCompressor','_registerOperationCompressor','ForwardDeletingAction','_protobufFactory','comment','5300268fNTznC','12790791kUvJjq','CommentMarkerOperation','get','suggestion','RootOperation','668VomFzk','SuggestionMarkerOperation','7DrYaIg','RootAttributeOperation','5408724FXpmrm','length','__className','_compressorById','MoveOperation','getDescriptor','compress','types','SplitOperation','baseVersion'];_0x3843=function(){return _0x1bdce1;};return _0x3843();}import{UserSelectionActionCompressor as _0x3b209c}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x21dd29(0x117)];[_0x21dd29(0x12d)];[_0x21dd29(0x137)];constructor(){const _0x178bf6=_0x21dd29;this[_0x178bf6(0x117)]=new Map(),this[_0x178bf6(0x12d)]=new Map(),this[_0x178bf6(0x137)]=new _0x176347();const _0x3ceaae=this[_0x178bf6(0x137)][_0x178bf6(0x119)](_0x178bf6(0x12b));this[_0x178bf6(0x125)](0x1,_0x178bf6(0x12f),new _0x33502c(0x1,_0x178bf6(0x12f),void 0x0)),this[_0x178bf6(0x135)](0xa,_0x178bf6(0x132),_0x229280),this[_0x178bf6(0x135)](0xb,_0x178bf6(0x133),_0x27c084),this[_0x178bf6(0x135)](0xc,_0x178bf6(0x12b),_0x3295aa),this[_0x178bf6(0x135)](0xd,_0x178bf6(0x131),_0x1c7a2c),this[_0x178bf6(0x135)](0xe,_0x178bf6(0x118),_0x1c7a2c),this[_0x178bf6(0x135)](0xf,_0x178bf6(0x12e),_0x1c7a2c),this[_0x178bf6(0x135)](0x10,_0x178bf6(0x113),_0x229280),this[_0x178bf6(0x135)](0x11,_0x178bf6(0x11c),_0x1c7a2c),this[_0x178bf6(0x125)](0x12,_0x178bf6(0x10c),new _0x28e276(0x12,_0x178bf6(0x12b),_0x3ceaae,_0x178bf6(0x138))),this[_0x178bf6(0x125)](0x13,_0x178bf6(0x111),new _0x28e276(0x13,_0x178bf6(0x12b),_0x3ceaae,_0x178bf6(0x10e))),this[_0x178bf6(0x135)](0x14,_0x178bf6(0x10f),_0x1c7a2c),this[_0x178bf6(0x134)](0x64,_0x178bf6(0x121),_0x325995),this[_0x178bf6(0x134)](0x65,_0x178bf6(0x123),_0xb15979),this[_0x178bf6(0x134)](0x66,_0x178bf6(0x136),_0x3e59a8),this[_0x178bf6(0x134)](0x67,_0x178bf6(0x12a),_0x3b209c);}[_0x21dd29(0x11a)](_0x233219){const _0x169036=_0x21dd29;if(!_0x233219||!_0x233219[0x0])throw new _0x4159ea(_0x169036(0x11f),this);const _0x2d9754={'types':[],'buffers':[],'baseVersion':_0x233219[0x0][_0x169036(0x11d)]};for(;_0x233219[_0x169036(0x115)];)this[_0x169036(0x122)](_0x169036(0x12a))[_0x169036(0x11a)](_0x2d9754,_0x233219)||this[_0x169036(0x122)](_0x169036(0x121))[_0x169036(0x11a)](_0x2d9754,_0x233219)||this[_0x169036(0x122)](_0x169036(0x123))[_0x169036(0x11a)](_0x2d9754,_0x233219)||this[_0x169036(0x122)](_0x169036(0x136))[_0x169036(0x11a)](_0x2d9754,_0x233219)||this[_0x169036(0x122)](_0x169036(0x10c))[_0x169036(0x11a)](_0x2d9754,_0x233219)||this[_0x169036(0x122)](_0x169036(0x111))[_0x169036(0x11a)](_0x2d9754,_0x233219)||this[_0x169036(0x122)](_0x233219[0x0][_0x169036(0x116)])[_0x169036(0x11a)](_0x2d9754,_0x233219);return _0x2d9754;}[_0x21dd29(0x126)](_0x4f3b9e){const _0x352f21=_0x21dd29,_0x148fac=[];for(;_0x4f3b9e[_0x352f21(0x11b)][_0x352f21(0x115)];){const _0x3b8541=this[_0x352f21(0x117)][_0x352f21(0x10d)](_0x4f3b9e[_0x352f21(0x11b)][0x0]);if(!_0x3b8541)throw new _0x4159ea(_0x352f21(0x127),this,{'type':_0x4f3b9e[_0x352f21(0x11b)][0x0]});_0x3b8541[_0x352f21(0x126)](_0x148fac,_0x4f3b9e);}return _0x148fac[_0x352f21(0x120)]((_0x474615,_0x1e3301)=>_0x474615[_0x352f21(0x11d)]=_0x4f3b9e[_0x352f21(0x11d)]+_0x1e3301),_0x148fac;}[_0x21dd29(0x122)](_0x56c618){const _0x137adb=_0x21dd29;return this[_0x137adb(0x12d)][_0x137adb(0x10d)](_0x56c618);}[_0x21dd29(0x135)](_0x29c529,_0x136d23,_0x3f7d5e){const _0x1ad9c1=_0x21dd29,_0x576391=new _0x3f7d5e(_0x29c529,_0x136d23,this[_0x1ad9c1(0x137)][_0x1ad9c1(0x119)](_0x136d23));this[_0x1ad9c1(0x125)](_0x29c529,_0x136d23,_0x576391);}[_0x21dd29(0x134)](_0x1bb8d1,_0x3f4252,_0x2b9f16){const _0x4fac7b=_0x21dd29,_0xd49da0=new _0x2b9f16(_0x1bb8d1,this);this[_0x4fac7b(0x125)](_0x1bb8d1,_0x3f4252,_0xd49da0);}[_0x21dd29(0x125)](_0x4e8103,_0x17f95e,_0x500a22){const _0x35976d=_0x21dd29;this[_0x35976d(0x117)][_0x35976d(0x130)](_0x4e8103,_0x500a22),this[_0x35976d(0x12d)][_0x35976d(0x130)](_0x17f95e,_0x500a22);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1801(_0x241c7f,_0x1a1e92){var _0x515ed9=_0x515e();return _0x1801=function(_0x1801d5,_0x3a4ff8){_0x1801d5=_0x1801d5-0x1ba;var _0x54ce27=_0x515ed9[_0x1801d5];return _0x54ce27;},_0x1801(_0x241c7f,_0x1a1e92);}(function(_0x32fe2b,_0x9a2e3d){var _0xc83cc8=_0x1801,_0x451cfc=_0x32fe2b();while(!![]){try{var _0x29e143=parseInt(_0xc83cc8(0x1bf))/0x1*(-parseInt(_0xc83cc8(0x1be))/0x2)+parseInt(_0xc83cc8(0x1ba))/0x3*(-parseInt(_0xc83cc8(0x1bb))/0x4)+parseInt(_0xc83cc8(0x1bc))/0x5+-parseInt(_0xc83cc8(0x1c2))/0x6+parseInt(_0xc83cc8(0x1c3))/0x7+parseInt(_0xc83cc8(0x1bd))/0x8+-parseInt(_0xc83cc8(0x1c1))/0x9*(-parseInt(_0xc83cc8(0x1c0))/0xa);if(_0x29e143===_0x9a2e3d)break;else _0x451cfc['push'](_0x451cfc['shift']());}catch(_0x14e0e9){_0x451cfc['push'](_0x451cfc['shift']());}}}(_0x515e,0xd838f));export{Compressor}from'./compressor.js';function _0x515e(){var _0x537f65=['2167638sDJKIR','10050012uJowBC','12UZFOCB','1229596GiyCrv','6089250ZhfKcS','2507728MHndvG','641180efiwGu','5LjwdZi','2980dOduOS','33597wcsDNU'];_0x515e=function(){return _0x537f65;};return _0x515e();}
23
+ function _0x341d(_0x277775,_0x319372){var _0x25f874=_0x25f8();return _0x341d=function(_0x341dfd,_0x4741e1){_0x341dfd=_0x341dfd-0xa3;var _0x277215=_0x25f874[_0x341dfd];return _0x277215;},_0x341d(_0x277775,_0x319372);}(function(_0x1d0f61,_0x91648d){var _0x1023a4=_0x341d,_0x420012=_0x1d0f61();while(!![]){try{var _0x2a198f=-parseInt(_0x1023a4(0xa6))/0x1+-parseInt(_0x1023a4(0xa5))/0x2+parseInt(_0x1023a4(0xac))/0x3+-parseInt(_0x1023a4(0xaa))/0x4*(-parseInt(_0x1023a4(0xa4))/0x5)+-parseInt(_0x1023a4(0xad))/0x6*(parseInt(_0x1023a4(0xa8))/0x7)+parseInt(_0x1023a4(0xa7))/0x8*(-parseInt(_0x1023a4(0xa9))/0x9)+parseInt(_0x1023a4(0xab))/0xa*(parseInt(_0x1023a4(0xa3))/0xb);if(_0x2a198f===_0x91648d)break;else _0x420012['push'](_0x420012['shift']());}catch(_0x57eaee){_0x420012['push'](_0x420012['shift']());}}}(_0x25f8,0x21769));export{Compressor}from'./compressor.js';function _0x25f8(){var _0x359ef9=['78xqxSxn','11qLPLxh','5345AzydPJ','349930noqIxu','135903sjheCJ','1844120saiqco','133756HbFKxN','9egCdtK','692RmfMTD','7098580prhJDc','96171EKhABc'];_0x25f8=function(){return _0x359ef9;};return _0x25f8();}