@ckeditor/ckeditor5-operations-compressor 46.0.3 → 46.1.0-alpha.1

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 _0x36a3f6=_0x56ec;(function(_0x1f6157,_0x582dfc){const _0x452506=_0x56ec,_0x54adcc=_0x1f6157();while(!![]){try{const _0x4c6387=parseInt(_0x452506(0x1dc))/0x1*(parseInt(_0x452506(0x1e5))/0x2)+parseInt(_0x452506(0x1e6))/0x3+parseInt(_0x452506(0x1db))/0x4*(-parseInt(_0x452506(0x1d1))/0x5)+-parseInt(_0x452506(0x1e9))/0x6*(parseInt(_0x452506(0x1e8))/0x7)+-parseInt(_0x452506(0x1e4))/0x8+parseInt(_0x452506(0x1cf))/0x9+parseInt(_0x452506(0x1e3))/0xa*(parseInt(_0x452506(0x1eb))/0xb);if(_0x4c6387===_0x582dfc)break;else _0x54adcc['push'](_0x54adcc['shift']());}catch(_0x1dd799){_0x54adcc['push'](_0x54adcc['shift']());}}}(_0x45c9,0x7f16b));import{ActionCompressor as _0x2b780c}from'./actioncompressor.js';function _0x45c9(){const _0x79b269=['3138947GynEGL','6zUbcbC','_compareOperations','209jorhDz','_compressSingleOperation','2135691DwowUY','buffers','15jmXezI','root','_checkOperation','targetPosition','_combineNext','_getCompressorByName','compress','MoveOperation','$graveyard','wasUndone','1199476GTlqRl','317032jnHgaG','sourcePosition','_splitCurrent','_decompressSingleOperation','howMany','_context','__className','619580fGHdlJ','3760272ClBPsK','4MKtpKp','870156WIOGpb','decompress'];_0x45c9=function(){return _0x79b269;};return _0x45c9();}import{arePositionsEqual as _0x2f2954,getPositionShiftedBy as _0x2cae0d}from'../utils.js';function _0x56ec(_0x4b5542,_0xfea6eb){const _0x45c922=_0x45c9();return _0x56ec=function(_0x56ecd3,_0x34eb5b){_0x56ecd3=_0x56ecd3-0x1cf;let _0x50a78c=_0x45c922[_0x56ecd3];return _0x50a78c;},_0x56ec(_0x4b5542,_0xfea6eb);}import{cloneDeep as _0x30b73f}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x2b780c{[_0x36a3f6(0x1d5)](_0x5214a7,_0xf1a30d){const _0x4b0c50=_0x36a3f6;return _0xf1a30d[_0x4b0c50(0x1e0)]++,_0xf1a30d[_0x4b0c50(0x1dd)]=_0x30b73f(_0x5214a7[_0x4b0c50(0x1dd)]),_0xf1a30d;}[_0x36a3f6(0x1de)](_0x4f7dcf){const _0xfaca00=_0x36a3f6,_0x4a7cf6=_0x30b73f(_0x4f7dcf);return _0x4f7dcf[_0xfaca00(0x1e0)]--,_0x4a7cf6[_0xfaca00(0x1e0)]=0x1,_0x4a7cf6[_0xfaca00(0x1dd)]=_0x2cae0d(_0x4a7cf6[_0xfaca00(0x1dd)],_0x4f7dcf[_0xfaca00(0x1e0)]),_0x4a7cf6;}[_0x36a3f6(0x1ea)](_0x5c1079,_0x28d0fe){const _0x4b5c1c=_0x36a3f6;return!(!this[_0x4b5c1c(0x1d3)](_0x5c1079)||!this[_0x4b5c1c(0x1d3)](_0x28d0fe))&&(_0x2f2954(_0x2cae0d(_0x5c1079[_0x4b5c1c(0x1dd)],-0x1),_0x28d0fe[_0x4b5c1c(0x1dd)])&&_0x2f2954(_0x5c1079[_0x4b5c1c(0x1d4)],_0x28d0fe[_0x4b5c1c(0x1d4)]));}[_0x36a3f6(0x1ec)](_0x2e3672){const _0xd25f35=_0x36a3f6,_0x21ee2c={'types':[],'buffers':[],'baseVersion':0x0};return this[_0xd25f35(0x1e1)][_0xd25f35(0x1d6)](_0xd25f35(0x1d8))[_0xd25f35(0x1d7)](_0x21ee2c,[_0x2e3672]),_0x21ee2c[_0xd25f35(0x1d0)][0x0];}[_0x36a3f6(0x1df)](_0x322fb8){const _0x20396d=_0x36a3f6,_0x53f0ad=[];return this[_0x20396d(0x1e1)][_0x20396d(0x1d6)](_0x20396d(0x1d8))[_0x20396d(0x1e7)](_0x53f0ad,_0x322fb8),_0x53f0ad[0x0];}[_0x36a3f6(0x1d3)](_0xb9665a){const _0x413015=_0x36a3f6;return _0x413015(0x1d8)==_0xb9665a[_0x413015(0x1e2)]&&_0x413015(0x1d9)==_0xb9665a[_0x413015(0x1d4)][_0x413015(0x1d2)]&&0x1==_0xb9665a[_0x413015(0x1e0)]&&!_0xb9665a[_0x413015(0x1da)];}}
23
+ function _0x547c(_0x326e18,_0x3716f7){const _0x3de180=_0x3de1();return _0x547c=function(_0x547c37,_0x397550){_0x547c37=_0x547c37-0x1b3;let _0x58f1d0=_0x3de180[_0x547c37];return _0x58f1d0;},_0x547c(_0x326e18,_0x3716f7);}function _0x3de1(){const _0x2af596=['sourcePosition','howMany','583945DWaJPB','_checkOperation','53055IIWoWk','424582udQjBW','$graveyard','targetPosition','_splitCurrent','decompress','_compareOperations','wasUndone','MoveOperation','compress','59589cvCmSw','_compressSingleOperation','__className','_combineNext','93798ZzzApg','_context','24RhnRVe','_decompressSingleOperation','615279OoRFMx','buffers','4VhABsh','_getCompressorByName','root','135260izhVVP'];_0x3de1=function(){return _0x2af596;};return _0x3de1();}const _0x1e8088=_0x547c;(function(_0x8dae23,_0x2b8083){const _0x2db193=_0x547c,_0x2f92a5=_0x8dae23();while(!![]){try{const _0x5506d5=parseInt(_0x2db193(0x1c3))/0x1+-parseInt(_0x2db193(0x1c9))/0x2+-parseInt(_0x2db193(0x1c8))/0x3+parseInt(_0x2db193(0x1c0))/0x4*(parseInt(_0x2db193(0x1c6))/0x5)+-parseInt(_0x2db193(0x1ba))/0x6+parseInt(_0x2db193(0x1be))/0x7+-parseInt(_0x2db193(0x1bc))/0x8*(-parseInt(_0x2db193(0x1b6))/0x9);if(_0x5506d5===_0x2b8083)break;else _0x2f92a5['push'](_0x2f92a5['shift']());}catch(_0x41fcdc){_0x2f92a5['push'](_0x2f92a5['shift']());}}}(_0x3de1,0x1be18));import{ActionCompressor as _0x455ada}from'./actioncompressor.js';import{arePositionsEqual as _0x542a8e,getPositionShiftedBy as _0x289718}from'../utils.js';import{cloneDeep as _0x2f821c}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x455ada{[_0x1e8088(0x1b9)](_0x8c83bb,_0x4b7312){const _0x24f6cb=_0x1e8088;return _0x4b7312[_0x24f6cb(0x1c5)]++,_0x4b7312[_0x24f6cb(0x1c4)]=_0x2f821c(_0x8c83bb[_0x24f6cb(0x1c4)]),_0x4b7312;}[_0x1e8088(0x1cc)](_0x518211){const _0x556c32=_0x1e8088,_0x53e4e1=_0x2f821c(_0x518211);return _0x518211[_0x556c32(0x1c5)]--,_0x53e4e1[_0x556c32(0x1c5)]=0x1,_0x53e4e1[_0x556c32(0x1c4)]=_0x289718(_0x53e4e1[_0x556c32(0x1c4)],_0x518211[_0x556c32(0x1c5)]),_0x53e4e1;}[_0x1e8088(0x1ce)](_0x4f6b0e,_0x206927){const _0x13b8e8=_0x1e8088;return!(!this[_0x13b8e8(0x1c7)](_0x4f6b0e)||!this[_0x13b8e8(0x1c7)](_0x206927))&&(_0x542a8e(_0x289718(_0x4f6b0e[_0x13b8e8(0x1c4)],-0x1),_0x206927[_0x13b8e8(0x1c4)])&&_0x542a8e(_0x4f6b0e[_0x13b8e8(0x1cb)],_0x206927[_0x13b8e8(0x1cb)]));}[_0x1e8088(0x1b7)](_0x2bf0f8){const _0x56c400=_0x1e8088,_0x1f1e3d={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x56c400(0x1bb)][_0x56c400(0x1c1)](_0x56c400(0x1b4))[_0x56c400(0x1b5)](_0x1f1e3d,[_0x2bf0f8]),_0x1f1e3d[_0x56c400(0x1bf)][0x0];}[_0x1e8088(0x1bd)](_0x3f6a10){const _0x37fbaf=_0x1e8088,_0x41ab13=[];return this[_0x37fbaf(0x1bb)][_0x37fbaf(0x1c1)](_0x37fbaf(0x1b4))[_0x37fbaf(0x1cd)](_0x41ab13,_0x3f6a10),_0x41ab13[0x0];}[_0x1e8088(0x1c7)](_0x1a856a){const _0x5635c7=_0x1e8088;return _0x5635c7(0x1b4)==_0x1a856a[_0x5635c7(0x1b8)]&&_0x5635c7(0x1ca)==_0x1a856a[_0x5635c7(0x1cb)][_0x5635c7(0x1c2)]&&0x1==_0x1a856a[_0x5635c7(0x1c5)]&&!_0x1a856a[_0x5635c7(0x1b3)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26a8ae=_0x2466;(function(_0x4f7157,_0xc88081){const _0x4b12d2=_0x2466,_0x5be962=_0x4f7157();while(!![]){try{const _0x2fbaf7=parseInt(_0x4b12d2(0xe7))/0x1*(parseInt(_0x4b12d2(0xd8))/0x2)+-parseInt(_0x4b12d2(0xdb))/0x3*(parseInt(_0x4b12d2(0xed))/0x4)+parseInt(_0x4b12d2(0xf2))/0x5+-parseInt(_0x4b12d2(0xd9))/0x6+-parseInt(_0x4b12d2(0xda))/0x7+parseInt(_0x4b12d2(0xee))/0x8*(parseInt(_0x4b12d2(0xe4))/0x9)+-parseInt(_0x4b12d2(0xeb))/0xa*(parseInt(_0x4b12d2(0xe5))/0xb);if(_0x2fbaf7===_0xc88081)break;else _0x5be962['push'](_0x5be962['shift']());}catch(_0x2fcc73){_0x5be962['push'](_0x5be962['shift']());}}}(_0x2ab6,0x38424));function _0x2466(_0x1e6896,_0x5c8444){const _0x2ab649=_0x2ab6();return _0x2466=function(_0x2466bd,_0x19cb27){_0x2466bd=_0x2466bd-0xd7;let _0x561158=_0x2ab649[_0x2466bd];return _0x561158;},_0x2466(_0x1e6896,_0x5c8444);}import{ActionCompressor as _0x19d545}from'./actioncompressor.js';import{arePositionsEqual as _0x73288d}from'../utils.js';function _0x2ab6(){const _0x27c496=['root','wasUndone','142nEQaaO','856152qYWfVr','255486DUnVzV','6HixSKE','compress','$graveyard','_splitCurrent','buffers','_decompressSingleOperation','_checkOperation','_context','_getCompressorByName','232182PKNeQW','11DPtclq','targetPosition','396MnZmdQ','MoveOperation','decompress','howMany','1358680OTrBso','_compareOperations','243332nQVtJm','136RzRZeY','_compressSingleOperation','_combineNext','sourcePosition','1002390jAvOnc','__className'];_0x2ab6=function(){return _0x27c496;};return _0x2ab6();}import{cloneDeep as _0x47507f}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x19d545{[_0x26a8ae(0xf0)](_0x350fb3,_0x260dc0){const _0x18bb77=_0x26a8ae;return _0x260dc0[_0x18bb77(0xea)]++,_0x260dc0;}[_0x26a8ae(0xde)](_0x337525){const _0x2f9fdd=_0x26a8ae,_0x276669=_0x47507f(_0x337525);return _0x276669[_0x2f9fdd(0xea)]=0x1,_0x337525[_0x2f9fdd(0xea)]--,_0x276669;}[_0x26a8ae(0xec)](_0x49234c,_0x4c5661){const _0x34ebf0=_0x26a8ae;return!(!this[_0x34ebf0(0xe1)](_0x49234c)||!this[_0x34ebf0(0xe1)](_0x4c5661))&&(_0x73288d(_0x49234c[_0x34ebf0(0xf1)],_0x4c5661[_0x34ebf0(0xf1)])&&_0x73288d(_0x49234c[_0x34ebf0(0xe6)],_0x4c5661[_0x34ebf0(0xe6)]));}[_0x26a8ae(0xef)](_0x3d2049){const _0x5bc26a=_0x26a8ae,_0x11b3e4={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5bc26a(0xe2)][_0x5bc26a(0xe3)](_0x5bc26a(0xe8))[_0x5bc26a(0xdc)](_0x11b3e4,[_0x3d2049]),_0x11b3e4[_0x5bc26a(0xdf)][0x0];}[_0x26a8ae(0xe0)](_0x5be9e0){const _0x40a263=_0x26a8ae,_0x991794=[];return this[_0x40a263(0xe2)][_0x40a263(0xe3)](_0x40a263(0xe8))[_0x40a263(0xe9)](_0x991794,_0x5be9e0),_0x991794[0x0];}[_0x26a8ae(0xe1)](_0x3e462c){const _0x42ed6c=_0x26a8ae;return _0x42ed6c(0xe8)==_0x3e462c[_0x42ed6c(0xf3)]&&_0x42ed6c(0xdd)==_0x3e462c[_0x42ed6c(0xe6)][_0x42ed6c(0xf4)]&&0x1==_0x3e462c[_0x42ed6c(0xea)]&&!_0x3e462c[_0x42ed6c(0xd7)];}}
23
+ const _0x7ec0c=_0x2181;function _0x30c3(){const _0xc40187=['19653HlISOd','6023578HEVAzL','6ZGavNo','43841sytnSx','4LnxVJi','howMany','wasUndone','_context','targetPosition','__className','decompress','compress','$graveyard','MoveOperation','_combineNext','_getCompressorByName','sourcePosition','2030760zJojQX','root','_checkOperation','2791285OdKaQm','_splitCurrent','4890WbaCSY','_compressSingleOperation','54678ZtIjie','4194PPLEph','34VcpkgF','_decompressSingleOperation','_compareOperations','buffers'];_0x30c3=function(){return _0xc40187;};return _0x30c3();}function _0x2181(_0x1f189a,_0x5d7885){const _0x30c3af=_0x30c3();return _0x2181=function(_0x2181e5,_0x26ee9a){_0x2181e5=_0x2181e5-0x19e;let _0x15972b=_0x30c3af[_0x2181e5];return _0x15972b;},_0x2181(_0x1f189a,_0x5d7885);}(function(_0xfca067,_0x1249a3){const _0x34bd0e=_0x2181,_0x400a34=_0xfca067();while(!![]){try{const _0x3e8ff6=-parseInt(_0x34bd0e(0x1ba))/0x1*(-parseInt(_0x34bd0e(0x1b6))/0x2)+parseInt(_0x34bd0e(0x1b4))/0x3*(-parseInt(_0x34bd0e(0x1a0))/0x4)+-parseInt(_0x34bd0e(0x1b0))/0x5+-parseInt(_0x34bd0e(0x19e))/0x6*(-parseInt(_0x34bd0e(0x19f))/0x7)+-parseInt(_0x34bd0e(0x1ad))/0x8+-parseInt(_0x34bd0e(0x1b5))/0x9*(-parseInt(_0x34bd0e(0x1b2))/0xa)+parseInt(_0x34bd0e(0x1bb))/0xb;if(_0x3e8ff6===_0x1249a3)break;else _0x400a34['push'](_0x400a34['shift']());}catch(_0x389ebd){_0x400a34['push'](_0x400a34['shift']());}}}(_0x30c3,0x45b44));import{ActionCompressor as _0x3b78fe}from'./actioncompressor.js';import{arePositionsEqual as _0x849c8a}from'../utils.js';import{cloneDeep as _0x4d881a}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x3b78fe{[_0x7ec0c(0x1aa)](_0x2a9fbd,_0x52877e){const _0x5c1194=_0x7ec0c;return _0x52877e[_0x5c1194(0x1a1)]++,_0x52877e;}[_0x7ec0c(0x1b1)](_0x3209b7){const _0x6df785=_0x7ec0c,_0x2e012a=_0x4d881a(_0x3209b7);return _0x2e012a[_0x6df785(0x1a1)]=0x1,_0x3209b7[_0x6df785(0x1a1)]--,_0x2e012a;}[_0x7ec0c(0x1b8)](_0x48dee2,_0x98b65){const _0x36a17c=_0x7ec0c;return!(!this[_0x36a17c(0x1af)](_0x48dee2)||!this[_0x36a17c(0x1af)](_0x98b65))&&(_0x849c8a(_0x48dee2[_0x36a17c(0x1ac)],_0x98b65[_0x36a17c(0x1ac)])&&_0x849c8a(_0x48dee2[_0x36a17c(0x1a4)],_0x98b65[_0x36a17c(0x1a4)]));}[_0x7ec0c(0x1b3)](_0x5d2f25){const _0x4d3c1b=_0x7ec0c,_0x4aef69={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x4d3c1b(0x1a3)][_0x4d3c1b(0x1ab)](_0x4d3c1b(0x1a9))[_0x4d3c1b(0x1a7)](_0x4aef69,[_0x5d2f25]),_0x4aef69[_0x4d3c1b(0x1b9)][0x0];}[_0x7ec0c(0x1b7)](_0x1ee918){const _0x59d8cf=_0x7ec0c,_0x3b5181=[];return this[_0x59d8cf(0x1a3)][_0x59d8cf(0x1ab)](_0x59d8cf(0x1a9))[_0x59d8cf(0x1a6)](_0x3b5181,_0x1ee918),_0x3b5181[0x0];}[_0x7ec0c(0x1af)](_0x580925){const _0x11ecaa=_0x7ec0c;return _0x11ecaa(0x1a9)==_0x580925[_0x11ecaa(0x1a5)]&&_0x11ecaa(0x1a8)==_0x580925[_0x11ecaa(0x1a4)][_0x11ecaa(0x1ae)]&&0x1==_0x580925[_0x11ecaa(0x1a1)]&&!_0x580925[_0x11ecaa(0x1a2)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x488db3=_0x213f;function _0x213f(_0x11a052,_0x2f831f){const _0x1c1124=_0x1c11();return _0x213f=function(_0x213fc3,_0x109641){_0x213fc3=_0x213fc3-0x141;let _0x3b72c7=_0x1c1124[_0x213fc3];return _0x3b72c7;},_0x213f(_0x11a052,_0x2f831f);}(function(_0xe07d1f,_0x383544){const _0x2bffb2=_0x213f,_0xbce585=_0xe07d1f();while(!![]){try{const _0x52f5bc=parseInt(_0x2bffb2(0x150))/0x1*(parseInt(_0x2bffb2(0x162))/0x2)+parseInt(_0x2bffb2(0x145))/0x3+-parseInt(_0x2bffb2(0x143))/0x4+-parseInt(_0x2bffb2(0x153))/0x5*(-parseInt(_0x2bffb2(0x14f))/0x6)+-parseInt(_0x2bffb2(0x14e))/0x7*(parseInt(_0x2bffb2(0x14a))/0x8)+-parseInt(_0x2bffb2(0x164))/0x9+parseInt(_0x2bffb2(0x166))/0xa*(parseInt(_0x2bffb2(0x15a))/0xb);if(_0x52f5bc===_0x383544)break;else _0xbce585['push'](_0xbce585['shift']());}catch(_0x522d9b){_0xbce585['push'](_0xbce585['shift']());}}}(_0x1c11,0x9669a));import{ActionCompressor as _0x315210}from'./actioncompressor.js';function _0x1c11(){const _0x5e3a9a=['decompress','14HXIkNV','1068pUKmmk','1MXnSSN','_decompressSingleOperation','next','30410UiCLLO','nodes','_splitCurrent','InsertOperation','wasUndone','_compareAttributes','every','627HnZGDu','from','keys','_checkOperation','length','_context','substr','_compareOperations','1219786enUwPV','compress','9987858pngQSK','value','41150UJaiCP','_combineNext','data','3804924aLqpoO','iterator','2967213xEeAoW','position','_compressSingleOperation','buffers','_getCompressorByName','956128xMsvBd','__className','attributes'];_0x1c11=function(){return _0x5e3a9a;};return _0x1c11();}import{arePositionsEqual as _0x408894,getPositionShiftedBy as _0x43bca2}from'../utils.js';import{cloneDeep as _0x24c1d6}from'es-toolkit/compat';export class TypingActionCompressor extends _0x315210{[_0x488db3(0x141)](_0x21863e,_0x1e0786){const _0x24ec5c=_0x488db3;return _0x1e0786[_0x24ec5c(0x154)][0x0][_0x24ec5c(0x142)]+=_0x21863e[_0x24ec5c(0x154)][0x0][_0x24ec5c(0x142)],_0x1e0786;}[_0x488db3(0x155)](_0x17ea6d){const _0x27ac75=_0x488db3,_0x550c55=_0x24c1d6(_0x17ea6d),_0x11d0d1=_0x550c55[_0x27ac75(0x154)][0x0],_0x15d52a=_0x17ea6d[_0x27ac75(0x154)][0x0],_0x17bc8d=_0x15d52a[_0x27ac75(0x142)][Symbol[_0x27ac75(0x144)]]()[_0x27ac75(0x152)]()[_0x27ac75(0x165)],_0x3dd554=_0x17bc8d[_0x27ac75(0x15e)];return _0x11d0d1[_0x27ac75(0x142)]=_0x17bc8d,_0x15d52a[_0x27ac75(0x142)]=_0x15d52a[_0x27ac75(0x142)][_0x27ac75(0x160)](_0x3dd554),_0x17ea6d[_0x27ac75(0x146)]=_0x43bca2(_0x17ea6d[_0x27ac75(0x146)],_0x3dd554),_0x550c55;}[_0x488db3(0x161)](_0x4e00e6,_0x1169c6){const _0x1d9be2=_0x488db3;if(this[_0x1d9be2(0x15d)](_0x4e00e6)&&this[_0x1d9be2(0x15d)](_0x1169c6)){const _0x30c0aa=_0x4e00e6[_0x1d9be2(0x154)][0x0][_0x1d9be2(0x142)][_0x1d9be2(0x15e)],_0x4654bb=_0x408894(_0x43bca2(_0x4e00e6[_0x1d9be2(0x146)],_0x30c0aa),_0x1169c6[_0x1d9be2(0x146)]),_0x21431f=_0x4e00e6[_0x1d9be2(0x154)][0x0],_0x5da98e=_0x1169c6[_0x1d9be2(0x154)][0x0];return _0x4654bb&&this[_0x1d9be2(0x158)](_0x21431f,_0x5da98e);}return!0x1;}[_0x488db3(0x147)](_0x3c9c66){const _0x36a9ff=_0x488db3,_0x234c89={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x36a9ff(0x15f)][_0x36a9ff(0x149)](_0x36a9ff(0x156))[_0x36a9ff(0x163)](_0x234c89,[_0x3c9c66]),_0x234c89[_0x36a9ff(0x148)][0x0];}[_0x488db3(0x151)](_0x26122a){const _0x8c1fa2=_0x488db3,_0x125d2b=[];return this[_0x8c1fa2(0x15f)][_0x8c1fa2(0x149)](_0x8c1fa2(0x156))[_0x8c1fa2(0x14d)](_0x125d2b,_0x26122a),_0x125d2b[0x0];}[_0x488db3(0x15d)](_0x160474){const _0x1bb023=_0x488db3;return _0x1bb023(0x156)==_0x160474[_0x1bb023(0x14b)]&&0x1==_0x160474[_0x1bb023(0x154)][_0x1bb023(0x15e)]&&_0x160474[_0x1bb023(0x154)][0x0][_0x1bb023(0x142)]&&!_0x160474[_0x1bb023(0x157)]&&0x1==Array[_0x1bb023(0x15b)](_0x160474[_0x1bb023(0x154)][0x0][_0x1bb023(0x142)])[_0x1bb023(0x15e)];}[_0x488db3(0x158)](_0x51d113,_0x14c7ce){const _0x48bdc9=_0x488db3,_0xce89bf=Object[_0x48bdc9(0x15c)](_0x51d113[_0x48bdc9(0x14c)]||{}),_0x3315d5=Object[_0x48bdc9(0x15c)](_0x14c7ce[_0x48bdc9(0x14c)]||{});return _0xce89bf[_0x48bdc9(0x15e)]===_0x3315d5[_0x48bdc9(0x15e)]&&_0xce89bf[_0x48bdc9(0x159)](_0x16f311=>_0x14c7ce[_0x48bdc9(0x14c)][_0x16f311]&&_0x14c7ce[_0x48bdc9(0x14c)][_0x16f311]===_0x51d113[_0x48bdc9(0x14c)][_0x16f311]);}}
23
+ const _0x2a577d=_0x31a2;function _0xe473(){const _0x558faf=['compress','keys','next','7JJXQMq','position','_compressSingleOperation','data','_combineNext','77951THYHfY','_compareAttributes','InsertOperation','_splitCurrent','6259CpXYiE','every','1971384IqRwpn','594684QuYJKM','_decompressSingleOperation','8sfmIby','decompress','buffers','12EeqqzH','nodes','1732989FKXDYr','value','_context','from','_checkOperation','length','wasUndone','attributes','_getCompressorByName','__className','2086281tYzaOq','iterator','_compareOperations','substr','451765ZrRdLG','15620yElmql'];_0xe473=function(){return _0x558faf;};return _0xe473();}function _0x31a2(_0xc0ddc,_0x2b61ba){const _0xe473a7=_0xe473();return _0x31a2=function(_0x31a24e,_0x281512){_0x31a24e=_0x31a24e-0x78;let _0x35e281=_0xe473a7[_0x31a24e];return _0x35e281;},_0x31a2(_0xc0ddc,_0x2b61ba);}(function(_0x47c279,_0x3d9e44){const _0x24630e=_0x31a2,_0x667009=_0x47c279();while(!![]){try{const _0x2a7d67=-parseInt(_0x24630e(0x98))/0x1*(parseInt(_0x24630e(0x7e))/0x2)+-parseInt(_0x24630e(0x80))/0x3+parseInt(_0x24630e(0x78))/0x4+parseInt(_0x24630e(0x8e))/0x5+parseInt(_0x24630e(0x79))/0x6*(parseInt(_0x24630e(0x93))/0x7)+-parseInt(_0x24630e(0x7b))/0x8*(parseInt(_0x24630e(0x8a))/0x9)+-parseInt(_0x24630e(0x8f))/0xa*(-parseInt(_0x24630e(0x9c))/0xb);if(_0x2a7d67===_0x3d9e44)break;else _0x667009['push'](_0x667009['shift']());}catch(_0x181909){_0x667009['push'](_0x667009['shift']());}}}(_0xe473,0x47c19));import{ActionCompressor as _0x628bc}from'./actioncompressor.js';import{arePositionsEqual as _0x220fe5,getPositionShiftedBy as _0x2b883a}from'../utils.js';import{cloneDeep as _0x15efec}from'es-toolkit/compat';export class TypingActionCompressor extends _0x628bc{[_0x2a577d(0x97)](_0x57e5a2,_0x48cd71){const _0x251dce=_0x2a577d;return _0x48cd71[_0x251dce(0x7f)][0x0][_0x251dce(0x96)]+=_0x57e5a2[_0x251dce(0x7f)][0x0][_0x251dce(0x96)],_0x48cd71;}[_0x2a577d(0x9b)](_0x50c5f1){const _0x353858=_0x2a577d,_0x41cd67=_0x15efec(_0x50c5f1),_0x3e9ea1=_0x41cd67[_0x353858(0x7f)][0x0],_0x511b17=_0x50c5f1[_0x353858(0x7f)][0x0],_0x51af5d=_0x511b17[_0x353858(0x96)][Symbol[_0x353858(0x8b)]]()[_0x353858(0x92)]()[_0x353858(0x81)],_0x4bcf36=_0x51af5d[_0x353858(0x85)];return _0x3e9ea1[_0x353858(0x96)]=_0x51af5d,_0x511b17[_0x353858(0x96)]=_0x511b17[_0x353858(0x96)][_0x353858(0x8d)](_0x4bcf36),_0x50c5f1[_0x353858(0x94)]=_0x2b883a(_0x50c5f1[_0x353858(0x94)],_0x4bcf36),_0x41cd67;}[_0x2a577d(0x8c)](_0x30940b,_0x1c3047){const _0x3cb5bd=_0x2a577d;if(this[_0x3cb5bd(0x84)](_0x30940b)&&this[_0x3cb5bd(0x84)](_0x1c3047)){const _0x2d2133=_0x30940b[_0x3cb5bd(0x7f)][0x0][_0x3cb5bd(0x96)][_0x3cb5bd(0x85)],_0x101909=_0x220fe5(_0x2b883a(_0x30940b[_0x3cb5bd(0x94)],_0x2d2133),_0x1c3047[_0x3cb5bd(0x94)]),_0x2f4a69=_0x30940b[_0x3cb5bd(0x7f)][0x0],_0x38c288=_0x1c3047[_0x3cb5bd(0x7f)][0x0];return _0x101909&&this[_0x3cb5bd(0x99)](_0x2f4a69,_0x38c288);}return!0x1;}[_0x2a577d(0x95)](_0x5f5546){const _0x4e494c=_0x2a577d,_0x83b105={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x4e494c(0x82)][_0x4e494c(0x88)](_0x4e494c(0x9a))[_0x4e494c(0x90)](_0x83b105,[_0x5f5546]),_0x83b105[_0x4e494c(0x7d)][0x0];}[_0x2a577d(0x7a)](_0x2c57bf){const _0x2423d0=_0x2a577d,_0x5cf5c3=[];return this[_0x2423d0(0x82)][_0x2423d0(0x88)](_0x2423d0(0x9a))[_0x2423d0(0x7c)](_0x5cf5c3,_0x2c57bf),_0x5cf5c3[0x0];}[_0x2a577d(0x84)](_0x397026){const _0x266d89=_0x2a577d;return _0x266d89(0x9a)==_0x397026[_0x266d89(0x89)]&&0x1==_0x397026[_0x266d89(0x7f)][_0x266d89(0x85)]&&_0x397026[_0x266d89(0x7f)][0x0][_0x266d89(0x96)]&&!_0x397026[_0x266d89(0x86)]&&0x1==Array[_0x266d89(0x83)](_0x397026[_0x266d89(0x7f)][0x0][_0x266d89(0x96)])[_0x266d89(0x85)];}[_0x2a577d(0x99)](_0x57e411,_0x16da3a){const _0x471cac=_0x2a577d,_0xafc296=Object[_0x471cac(0x91)](_0x57e411[_0x471cac(0x87)]||{}),_0x1aa9c5=Object[_0x471cac(0x91)](_0x16da3a[_0x471cac(0x87)]||{});return _0xafc296[_0x471cac(0x85)]===_0x1aa9c5[_0x471cac(0x85)]&&_0xafc296[_0x471cac(0x9d)](_0x3d2328=>_0x16da3a[_0x471cac(0x87)][_0x3d2328]&&_0x16da3a[_0x471cac(0x87)][_0x3d2328]===_0x57e411[_0x471cac(0x87)][_0x3d2328]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3198(){const _0x4d0ea7=['split','_decompressSingleOperation','13IQNmzb','_compressSingleOperation','_getCompressorByName','name','35bDLJvT','user:position:','compress','buffers','_id','newRange','push','oldRange','35322nHdNWH','314608qMDjJP','types','631016GLTzbA','decompress','9wBblfk','end','_compareOperations','621900FRdNxt','start','MarkerOperation','stickiness','__className','shift','user:','55338aLXLRM','_context','5185110gOEDhC','61224zmMwzV','toNone','startsWith'];_0x3198=function(){return _0x4d0ea7;};return _0x3198();}const _0x2d2a5a=_0x591d;(function(_0x51e094,_0xea9568){const _0x16cda1=_0x591d,_0x4b5dbd=_0x51e094();while(!![]){try{const _0x4d1643=-parseInt(_0x16cda1(0x101))/0x1*(parseInt(_0x16cda1(0xea))/0x2)+parseInt(_0x16cda1(0xfc))/0x3+-parseInt(_0x16cda1(0xf2))/0x4+parseInt(_0x16cda1(0x105))/0x5*(-parseInt(_0x16cda1(0xf9))/0x6)+-parseInt(_0x16cda1(0xeb))/0x7+-parseInt(_0x16cda1(0xed))/0x8*(-parseInt(_0x16cda1(0xef))/0x9)+parseInt(_0x16cda1(0xfb))/0xa;if(_0x4d1643===_0xea9568)break;else _0x4b5dbd['push'](_0x4b5dbd['shift']());}catch(_0xb46a59){_0x4b5dbd['push'](_0x4b5dbd['shift']());}}}(_0x3198,0x1e157));import{ActionCompressor as _0x4e2a48}from'./actioncompressor.js';import{arePositionsEqual as _0x16bb2a}from'../utils.js';import{cloneDeep as _0x576ab1}from'es-toolkit/compat';function _0x591d(_0x450c69,_0x13f5ce){const _0x319827=_0x3198();return _0x591d=function(_0x591d63,_0x389341){_0x591d63=_0x591d63-0xe4;let _0x57e66d=_0x319827[_0x591d63];return _0x57e66d;},_0x591d(_0x450c69,_0x13f5ce);}export class UserSelectionActionCompressor extends _0x4e2a48{[_0x2d2a5a(0xe4)](_0x4dccb0,_0x111f14){const _0x733ab8=_0x2d2a5a;if(!this[_0x733ab8(0xf1)](_0x111f14[0x0],_0x111f14[0x1]))return!0x1;const _0x49ba29=_0x111f14[_0x733ab8(0xf7)]();return _0x49ba29[_0x733ab8(0xe9)]=null,_0x49ba29[_0x733ab8(0xe7)]&&_0x16bb2a(_0x49ba29[_0x733ab8(0xe7)][_0x733ab8(0xf3)],_0x49ba29[_0x733ab8(0xe7)][_0x733ab8(0xf0)])&&(_0x49ba29[_0x733ab8(0xe7)][_0x733ab8(0xf0)]=null),_0x111f14[_0x733ab8(0xf7)](),_0x4dccb0[_0x733ab8(0xec)][_0x733ab8(0xe8)](this[_0x733ab8(0xe6)]),_0x4dccb0[_0x733ab8(0xec)][_0x733ab8(0xe8)](0x0),_0x4dccb0[_0x733ab8(0xe5)][_0x733ab8(0xe8)](this[_0x733ab8(0x102)](_0x49ba29)),!0x0;}[_0x2d2a5a(0xee)](_0x102321,_0x41807b){const _0x3ead2e=_0x2d2a5a,_0x2b1e1c=this[_0x3ead2e(0x100)](_0x41807b);_0x2b1e1c[_0x3ead2e(0xe7)]&&!_0x2b1e1c[_0x3ead2e(0xe7)][_0x3ead2e(0xf0)]&&(_0x2b1e1c[_0x3ead2e(0xe7)][_0x3ead2e(0xf0)]=_0x576ab1(_0x2b1e1c[_0x3ead2e(0xe7)][_0x3ead2e(0xf3)]));const _0x5c16b5=_0x576ab1(_0x2b1e1c);_0x5c16b5[_0x3ead2e(0xe7)]&&(_0x5c16b5[_0x3ead2e(0xe7)][_0x3ead2e(0xf3)][_0x3ead2e(0xf5)]=_0x3ead2e(0xfd),_0x5c16b5[_0x3ead2e(0xe7)][_0x3ead2e(0xf0)]=_0x576ab1(_0x5c16b5[_0x3ead2e(0xe7)][_0x3ead2e(0xf3)])),_0x5c16b5[_0x3ead2e(0x104)]=_0x3ead2e(0x106)+_0x5c16b5[_0x3ead2e(0x104)][_0x3ead2e(0xff)](':')[0x2],_0x41807b[_0x3ead2e(0xec)][_0x3ead2e(0xf7)](),_0x102321[_0x3ead2e(0xe8)](_0x2b1e1c),_0x102321[_0x3ead2e(0xe8)](_0x5c16b5);}[_0x2d2a5a(0x102)](_0x3a8686){const _0x5b0a7c=_0x2d2a5a,_0x305c70={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5b0a7c(0xfa)][_0x5b0a7c(0x103)](_0x5b0a7c(0xf4))[_0x5b0a7c(0xe4)](_0x305c70,[_0x3a8686]),_0x305c70[_0x5b0a7c(0xe5)][0x0];}[_0x2d2a5a(0x100)](_0x4a59ad){const _0x28ec23=_0x2d2a5a,_0x48735e=[];return this[_0x28ec23(0xfa)][_0x28ec23(0x103)](_0x28ec23(0xf4))[_0x28ec23(0xee)](_0x48735e,_0x4a59ad),_0x48735e[0x0];}[_0x2d2a5a(0xf1)](_0x1aa1e7,_0x19abcf){const _0xb691bd=_0x2d2a5a;return!(!_0x1aa1e7||!_0x19abcf)&&(_0xb691bd(0xf4)==_0x1aa1e7[_0xb691bd(0xf6)]&&_0xb691bd(0xf4)==_0x19abcf[_0xb691bd(0xf6)]&&!(!_0x1aa1e7[_0xb691bd(0x104)][_0xb691bd(0xfe)](_0xb691bd(0xf8))||!_0x19abcf[_0xb691bd(0x104)][_0xb691bd(0xfe)](_0xb691bd(0xf8))||_0x1aa1e7[_0xb691bd(0x104)]==_0x19abcf[_0xb691bd(0x104)]));}}
23
+ const _0x2d8a7c=_0xedac;(function(_0x285cda,_0x39fe2a){const _0xf74243=_0xedac,_0x24eb81=_0x285cda();while(!![]){try{const _0x52bd2b=parseInt(_0xf74243(0x1af))/0x1*(parseInt(_0xf74243(0x196))/0x2)+parseInt(_0xf74243(0x198))/0x3+-parseInt(_0xf74243(0x1b2))/0x4+parseInt(_0xf74243(0x1a6))/0x5*(parseInt(_0xf74243(0x195))/0x6)+-parseInt(_0xf74243(0x1b4))/0x7+-parseInt(_0xf74243(0x19c))/0x8+-parseInt(_0xf74243(0x1ad))/0x9;if(_0x52bd2b===_0x39fe2a)break;else _0x24eb81['push'](_0x24eb81['shift']());}catch(_0x21c0c2){_0x24eb81['push'](_0x24eb81['shift']());}}}(_0xbe4d,0x3101c));function _0xbe4d(){const _0x16220f=['types','split','push','10olqnRE','_getCompressorByName','user:position:','MarkerOperation','startsWith','newRange','compress','547821ZcUWjB','_id','29AnHxCj','buffers','stickiness','693964xRrbuu','_context','2730007PVcRnZ','user:','oldRange','998766icPSAS','25006eGzLmH','decompress','686574qOTnCO','end','_decompressSingleOperation','start','794192HnIIMb','_compressSingleOperation','_compareOperations','toNone','__className','name','shift'];_0xbe4d=function(){return _0x16220f;};return _0xbe4d();}import{ActionCompressor as _0x596c22}from'./actioncompressor.js';function _0xedac(_0x4e5ca6,_0xfb670b){const _0xbe4d8c=_0xbe4d();return _0xedac=function(_0xedac7a,_0x4af44b){_0xedac7a=_0xedac7a-0x194;let _0x3cca10=_0xbe4d8c[_0xedac7a];return _0x3cca10;},_0xedac(_0x4e5ca6,_0xfb670b);}import{arePositionsEqual as _0xc9fc20}from'../utils.js';import{cloneDeep as _0x9c247d}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x596c22{[_0x2d8a7c(0x1ac)](_0x565f9f,_0x55b2e2){const _0x1f1348=_0x2d8a7c;if(!this[_0x1f1348(0x19e)](_0x55b2e2[0x0],_0x55b2e2[0x1]))return!0x1;const _0x4227b1=_0x55b2e2[_0x1f1348(0x1a2)]();return _0x4227b1[_0x1f1348(0x194)]=null,_0x4227b1[_0x1f1348(0x1ab)]&&_0xc9fc20(_0x4227b1[_0x1f1348(0x1ab)][_0x1f1348(0x19b)],_0x4227b1[_0x1f1348(0x1ab)][_0x1f1348(0x199)])&&(_0x4227b1[_0x1f1348(0x1ab)][_0x1f1348(0x199)]=null),_0x55b2e2[_0x1f1348(0x1a2)](),_0x565f9f[_0x1f1348(0x1a3)][_0x1f1348(0x1a5)](this[_0x1f1348(0x1ae)]),_0x565f9f[_0x1f1348(0x1a3)][_0x1f1348(0x1a5)](0x0),_0x565f9f[_0x1f1348(0x1b0)][_0x1f1348(0x1a5)](this[_0x1f1348(0x19d)](_0x4227b1)),!0x0;}[_0x2d8a7c(0x197)](_0x196ff7,_0x46d9ba){const _0x6abb6c=_0x2d8a7c,_0x6954b2=this[_0x6abb6c(0x19a)](_0x46d9ba);_0x6954b2[_0x6abb6c(0x1ab)]&&!_0x6954b2[_0x6abb6c(0x1ab)][_0x6abb6c(0x199)]&&(_0x6954b2[_0x6abb6c(0x1ab)][_0x6abb6c(0x199)]=_0x9c247d(_0x6954b2[_0x6abb6c(0x1ab)][_0x6abb6c(0x19b)]));const _0x383e50=_0x9c247d(_0x6954b2);_0x383e50[_0x6abb6c(0x1ab)]&&(_0x383e50[_0x6abb6c(0x1ab)][_0x6abb6c(0x19b)][_0x6abb6c(0x1b1)]=_0x6abb6c(0x19f),_0x383e50[_0x6abb6c(0x1ab)][_0x6abb6c(0x199)]=_0x9c247d(_0x383e50[_0x6abb6c(0x1ab)][_0x6abb6c(0x19b)])),_0x383e50[_0x6abb6c(0x1a1)]=_0x6abb6c(0x1a8)+_0x383e50[_0x6abb6c(0x1a1)][_0x6abb6c(0x1a4)](':')[0x2],_0x46d9ba[_0x6abb6c(0x1a3)][_0x6abb6c(0x1a2)](),_0x196ff7[_0x6abb6c(0x1a5)](_0x6954b2),_0x196ff7[_0x6abb6c(0x1a5)](_0x383e50);}[_0x2d8a7c(0x19d)](_0x380fdc){const _0x1e7bb8=_0x2d8a7c,_0x3f1cb4={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1e7bb8(0x1b3)][_0x1e7bb8(0x1a7)](_0x1e7bb8(0x1a9))[_0x1e7bb8(0x1ac)](_0x3f1cb4,[_0x380fdc]),_0x3f1cb4[_0x1e7bb8(0x1b0)][0x0];}[_0x2d8a7c(0x19a)](_0x2033d0){const _0x880f2=_0x2d8a7c,_0xed85ef=[];return this[_0x880f2(0x1b3)][_0x880f2(0x1a7)](_0x880f2(0x1a9))[_0x880f2(0x197)](_0xed85ef,_0x2033d0),_0xed85ef[0x0];}[_0x2d8a7c(0x19e)](_0x219e98,_0x41ea74){const _0x2f38a3=_0x2d8a7c;return!(!_0x219e98||!_0x41ea74)&&(_0x2f38a3(0x1a9)==_0x219e98[_0x2f38a3(0x1a0)]&&_0x2f38a3(0x1a9)==_0x41ea74[_0x2f38a3(0x1a0)]&&!(!_0x219e98[_0x2f38a3(0x1a1)][_0x2f38a3(0x1aa)](_0x2f38a3(0x1b5))||!_0x41ea74[_0x2f38a3(0x1a1)][_0x2f38a3(0x1aa)](_0x2f38a3(0x1b5))||_0x219e98[_0x2f38a3(0x1a1)]==_0x41ea74[_0x2f38a3(0x1a1)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20d496=_0x19d5;(function(_0x467543,_0x244bfd){const _0x5677a1=_0x19d5,_0x3326b8=_0x467543();while(!![]){try{const _0x1d0a91=parseInt(_0x5677a1(0x125))/0x1+-parseInt(_0x5677a1(0x13d))/0x2*(parseInt(_0x5677a1(0x13b))/0x3)+parseInt(_0x5677a1(0x153))/0x4*(parseInt(_0x5677a1(0x13f))/0x5)+-parseInt(_0x5677a1(0x143))/0x6*(parseInt(_0x5677a1(0x13c))/0x7)+-parseInt(_0x5677a1(0x137))/0x8+-parseInt(_0x5677a1(0x12f))/0x9+parseInt(_0x5677a1(0x142))/0xa;if(_0x1d0a91===_0x244bfd)break;else _0x3326b8['push'](_0x3326b8['shift']());}catch(_0x34b630){_0x3326b8['push'](_0x3326b8['shift']());}}}(_0x20e9,0x68b66));import{CKEditorError as _0x302c53}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x5b1dbb}from'./protobuffactory.js';import{OperationCompressor as _0x2de300}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x5e3eb9}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0xd8a6d0}from'./operationcompressor/insertoperationcompressor.js';function _0x20e9(){const _0x21c856=['4349680PldAfR','175332ybKPTI','NoOperation','_protobufFactory','baseVersion','suggestion','length','comment','MergeOperation','__className','UserSelectionAction','InsertOperation','AttributeOperation','_compressorById','DeletingAction','RootOperation','_registerCompressor','352HRpkfr','94086yzwYrz','_getCompressorByName','ForwardDeletingAction','RenameOperation','types','compress','_compressorByName','decompress','TypingAction','getDescriptor','4436685pcjAKt','no-operations-provided','SuggestionMarkerOperation','forEach','decompress-compressor-not-found','set','get','RootAttributeOperation','698536goGeoW','SplitOperation','_registerOperationCompressor','MarkerOperation','3mhuXZh','14xTGXZy','37636SyUwEy','MoveOperation','31670BIXdlb','_registerActionCompressor','CommentMarkerOperation'];_0x20e9=function(){return _0x21c856;};return _0x20e9();}import{MarkerOperationCompressor as _0x5d6dd4}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x2ed382}from'./operationcompressor/nooperationcompressor.js';function _0x19d5(_0x3ae65d,_0x54b56d){const _0x20e9b0=_0x20e9();return _0x19d5=function(_0x19d5b7,_0x1dc1cc){_0x19d5b7=_0x19d5b7-0x125;let _0x22a5da=_0x20e9b0[_0x19d5b7];return _0x22a5da;},_0x19d5(_0x3ae65d,_0x54b56d);}import{AnnotationMarkerOperationCompressor as _0x3566a0}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x5cc760}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x158a67}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0xf540f5}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x4c9493}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x20d496(0x14f)];[_0x20d496(0x12b)];[_0x20d496(0x145)];constructor(){const _0x18c3c7=_0x20d496;this[_0x18c3c7(0x14f)]=new Map(),this[_0x18c3c7(0x12b)]=new Map(),this[_0x18c3c7(0x145)]=new _0x5b1dbb();const _0x24f1fc=this[_0x18c3c7(0x145)][_0x18c3c7(0x12e)](_0x18c3c7(0x13a));this[_0x18c3c7(0x152)](0x1,_0x18c3c7(0x144),new _0x2ed382(0x1,_0x18c3c7(0x144),void 0x0)),this[_0x18c3c7(0x139)](0xa,_0x18c3c7(0x14e),_0x5e3eb9),this[_0x18c3c7(0x139)](0xb,_0x18c3c7(0x14d),_0xd8a6d0),this[_0x18c3c7(0x139)](0xc,_0x18c3c7(0x13a),_0x5d6dd4),this[_0x18c3c7(0x139)](0xd,_0x18c3c7(0x14a),_0x2de300),this[_0x18c3c7(0x139)](0xe,_0x18c3c7(0x13e),_0x2de300),this[_0x18c3c7(0x139)](0xf,_0x18c3c7(0x128),_0x2de300),this[_0x18c3c7(0x139)](0x10,_0x18c3c7(0x136),_0x5e3eb9),this[_0x18c3c7(0x139)](0x11,_0x18c3c7(0x138),_0x2de300),this[_0x18c3c7(0x152)](0x12,_0x18c3c7(0x141),new _0x3566a0(0x12,_0x18c3c7(0x13a),_0x24f1fc,_0x18c3c7(0x149))),this[_0x18c3c7(0x152)](0x13,_0x18c3c7(0x131),new _0x3566a0(0x13,_0x18c3c7(0x13a),_0x24f1fc,_0x18c3c7(0x147))),this[_0x18c3c7(0x139)](0x14,_0x18c3c7(0x151),_0x2de300),this[_0x18c3c7(0x140)](0x64,_0x18c3c7(0x12d),_0x5cc760),this[_0x18c3c7(0x140)](0x65,_0x18c3c7(0x150),_0x158a67),this[_0x18c3c7(0x140)](0x66,_0x18c3c7(0x127),_0xf540f5),this[_0x18c3c7(0x140)](0x67,_0x18c3c7(0x14c),_0x4c9493);}[_0x20d496(0x12a)](_0x160eef){const _0x4defb5=_0x20d496;if(!_0x160eef||!_0x160eef[0x0])throw new _0x302c53(_0x4defb5(0x130),this);const _0x2a482d={'types':[],'buffers':[],'baseVersion':_0x160eef[0x0][_0x4defb5(0x146)]};for(;_0x160eef[_0x4defb5(0x148)];)this[_0x4defb5(0x126)](_0x4defb5(0x14c))[_0x4defb5(0x12a)](_0x2a482d,_0x160eef)||this[_0x4defb5(0x126)](_0x4defb5(0x12d))[_0x4defb5(0x12a)](_0x2a482d,_0x160eef)||this[_0x4defb5(0x126)](_0x4defb5(0x150))[_0x4defb5(0x12a)](_0x2a482d,_0x160eef)||this[_0x4defb5(0x126)](_0x4defb5(0x127))[_0x4defb5(0x12a)](_0x2a482d,_0x160eef)||this[_0x4defb5(0x126)](_0x4defb5(0x141))[_0x4defb5(0x12a)](_0x2a482d,_0x160eef)||this[_0x4defb5(0x126)](_0x4defb5(0x131))[_0x4defb5(0x12a)](_0x2a482d,_0x160eef)||this[_0x4defb5(0x126)](_0x160eef[0x0][_0x4defb5(0x14b)])[_0x4defb5(0x12a)](_0x2a482d,_0x160eef);return _0x2a482d;}[_0x20d496(0x12c)](_0x2d297f){const _0x33845c=_0x20d496,_0x1810b0=[];for(;_0x2d297f[_0x33845c(0x129)][_0x33845c(0x148)];){const _0x1032e0=this[_0x33845c(0x14f)][_0x33845c(0x135)](_0x2d297f[_0x33845c(0x129)][0x0]);if(!_0x1032e0)throw new _0x302c53(_0x33845c(0x133),this,{'type':_0x2d297f[_0x33845c(0x129)][0x0]});_0x1032e0[_0x33845c(0x12c)](_0x1810b0,_0x2d297f);}return _0x1810b0[_0x33845c(0x132)]((_0x37145f,_0x4836c0)=>_0x37145f[_0x33845c(0x146)]=_0x2d297f[_0x33845c(0x146)]+_0x4836c0),_0x1810b0;}[_0x20d496(0x126)](_0x1e9868){const _0x520481=_0x20d496;return this[_0x520481(0x12b)][_0x520481(0x135)](_0x1e9868);}[_0x20d496(0x139)](_0x31f9b1,_0xeee057,_0x4291df){const _0x39a14d=_0x20d496,_0x287181=new _0x4291df(_0x31f9b1,_0xeee057,this[_0x39a14d(0x145)][_0x39a14d(0x12e)](_0xeee057));this[_0x39a14d(0x152)](_0x31f9b1,_0xeee057,_0x287181);}[_0x20d496(0x140)](_0x44b20d,_0x5553df,_0x1e85a5){const _0x374c8a=_0x20d496,_0x26b146=new _0x1e85a5(_0x44b20d,this);this[_0x374c8a(0x152)](_0x44b20d,_0x5553df,_0x26b146);}[_0x20d496(0x152)](_0x3b2efb,_0x5b622c,_0x5d0846){const _0x5d16c4=_0x20d496;this[_0x5d16c4(0x14f)][_0x5d16c4(0x134)](_0x3b2efb,_0x5d0846),this[_0x5d16c4(0x12b)][_0x5d16c4(0x134)](_0x5b622c,_0x5d0846);}}
23
+ const _0x5c1791=_0x2d73;(function(_0x58a6cc,_0x482f43){const _0x25c61c=_0x2d73,_0x5007be=_0x58a6cc();while(!![]){try{const _0x228c7f=parseInt(_0x25c61c(0xa7))/0x1*(-parseInt(_0x25c61c(0xcf))/0x2)+parseInt(_0x25c61c(0xa0))/0x3*(parseInt(_0x25c61c(0xac))/0x4)+parseInt(_0x25c61c(0xa1))/0x5*(parseInt(_0x25c61c(0xbd))/0x6)+-parseInt(_0x25c61c(0xc5))/0x7+parseInt(_0x25c61c(0xb6))/0x8+parseInt(_0x25c61c(0xa6))/0x9*(-parseInt(_0x25c61c(0xc8))/0xa)+parseInt(_0x25c61c(0xc2))/0xb*(parseInt(_0x25c61c(0x9f))/0xc);if(_0x228c7f===_0x482f43)break;else _0x5007be['push'](_0x5007be['shift']());}catch(_0x14edf9){_0x5007be['push'](_0x5007be['shift']());}}}(_0x5556,0xa131c));import{CKEditorError as _0x196e0f}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x11d618}from'./protobuffactory.js';function _0x5556(){const _0x5d5cb6=['ForwardDeletingAction','_compressorByName','1960959xWgocr','UserSelectionAction','decompress-compressor-not-found','4610YFRFNm','get','_getCompressorByName','_registerCompressor','no-operations-provided','_protobufFactory','InsertOperation','7966NLOmeD','8437668dWvWpn','18609DPwyUZ','5605ooKBVS','MarkerOperation','decompress','_registerOperationCompressor','MoveOperation','16407eJkceC','116AwiKZd','_registerActionCompressor','AttributeOperation','set','RootOperation','516chjXLh','DeletingAction','comment','suggestion','SuggestionMarkerOperation','baseVersion','compress','length','SplitOperation','_compressorById','4875664SPwYAT','__className','NoOperation','CommentMarkerOperation','forEach','MergeOperation','TypingAction','696kngZnw','RenameOperation','RootAttributeOperation','getDescriptor','types','11QxVlSY'];_0x5556=function(){return _0x5d5cb6;};return _0x5556();}import{OperationCompressor as _0x54fdf7}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x3d43e6}from'./operationcompressor/attributeoperationcompressor.js';function _0x2d73(_0x202a2f,_0x380cec){const _0x555677=_0x5556();return _0x2d73=function(_0x2d7377,_0x29ef1b){_0x2d7377=_0x2d7377-0x9f;let _0x9c9bb6=_0x555677[_0x2d7377];return _0x9c9bb6;},_0x2d73(_0x202a2f,_0x380cec);}import{InsertOperationCompressor as _0x17953a}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x271303}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x44ece4}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x324a3c}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x5e5daa}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x458f6e}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0xdcedcd}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x397534}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x5c1791(0xb5)];[_0x5c1791(0xc4)];[_0x5c1791(0xcd)];constructor(){const _0x38620d=_0x5c1791;this[_0x38620d(0xb5)]=new Map(),this[_0x38620d(0xc4)]=new Map(),this[_0x38620d(0xcd)]=new _0x11d618();const _0x5d3dfb=this[_0x38620d(0xcd)][_0x38620d(0xc0)](_0x38620d(0xa2));this[_0x38620d(0xcb)](0x1,_0x38620d(0xb8),new _0x44ece4(0x1,_0x38620d(0xb8),void 0x0)),this[_0x38620d(0xa4)](0xa,_0x38620d(0xa9),_0x3d43e6),this[_0x38620d(0xa4)](0xb,_0x38620d(0xce),_0x17953a),this[_0x38620d(0xa4)](0xc,_0x38620d(0xa2),_0x271303),this[_0x38620d(0xa4)](0xd,_0x38620d(0xbb),_0x54fdf7),this[_0x38620d(0xa4)](0xe,_0x38620d(0xa5),_0x54fdf7),this[_0x38620d(0xa4)](0xf,_0x38620d(0xbe),_0x54fdf7),this[_0x38620d(0xa4)](0x10,_0x38620d(0xbf),_0x3d43e6),this[_0x38620d(0xa4)](0x11,_0x38620d(0xb4),_0x54fdf7),this[_0x38620d(0xcb)](0x12,_0x38620d(0xb9),new _0x324a3c(0x12,_0x38620d(0xa2),_0x5d3dfb,_0x38620d(0xae))),this[_0x38620d(0xcb)](0x13,_0x38620d(0xb0),new _0x324a3c(0x13,_0x38620d(0xa2),_0x5d3dfb,_0x38620d(0xaf))),this[_0x38620d(0xa4)](0x14,_0x38620d(0xab),_0x54fdf7),this[_0x38620d(0xa8)](0x64,_0x38620d(0xbc),_0x5e5daa),this[_0x38620d(0xa8)](0x65,_0x38620d(0xad),_0x458f6e),this[_0x38620d(0xa8)](0x66,_0x38620d(0xc3),_0xdcedcd),this[_0x38620d(0xa8)](0x67,_0x38620d(0xc6),_0x397534);}[_0x5c1791(0xb2)](_0x24f3b6){const _0x4534c6=_0x5c1791;if(!_0x24f3b6||!_0x24f3b6[0x0])throw new _0x196e0f(_0x4534c6(0xcc),this);const _0xc7da68={'types':[],'buffers':[],'baseVersion':_0x24f3b6[0x0][_0x4534c6(0xb1)]};for(;_0x24f3b6[_0x4534c6(0xb3)];)this[_0x4534c6(0xca)](_0x4534c6(0xc6))[_0x4534c6(0xb2)](_0xc7da68,_0x24f3b6)||this[_0x4534c6(0xca)](_0x4534c6(0xbc))[_0x4534c6(0xb2)](_0xc7da68,_0x24f3b6)||this[_0x4534c6(0xca)](_0x4534c6(0xad))[_0x4534c6(0xb2)](_0xc7da68,_0x24f3b6)||this[_0x4534c6(0xca)](_0x4534c6(0xc3))[_0x4534c6(0xb2)](_0xc7da68,_0x24f3b6)||this[_0x4534c6(0xca)](_0x4534c6(0xb9))[_0x4534c6(0xb2)](_0xc7da68,_0x24f3b6)||this[_0x4534c6(0xca)](_0x4534c6(0xb0))[_0x4534c6(0xb2)](_0xc7da68,_0x24f3b6)||this[_0x4534c6(0xca)](_0x24f3b6[0x0][_0x4534c6(0xb7)])[_0x4534c6(0xb2)](_0xc7da68,_0x24f3b6);return _0xc7da68;}[_0x5c1791(0xa3)](_0x2aa2e1){const _0x406e53=_0x5c1791,_0x293558=[];for(;_0x2aa2e1[_0x406e53(0xc1)][_0x406e53(0xb3)];){const _0x50dfd1=this[_0x406e53(0xb5)][_0x406e53(0xc9)](_0x2aa2e1[_0x406e53(0xc1)][0x0]);if(!_0x50dfd1)throw new _0x196e0f(_0x406e53(0xc7),this,{'type':_0x2aa2e1[_0x406e53(0xc1)][0x0]});_0x50dfd1[_0x406e53(0xa3)](_0x293558,_0x2aa2e1);}return _0x293558[_0x406e53(0xba)]((_0x5847a6,_0x184384)=>_0x5847a6[_0x406e53(0xb1)]=_0x2aa2e1[_0x406e53(0xb1)]+_0x184384),_0x293558;}[_0x5c1791(0xca)](_0x32c91e){const _0x131d76=_0x5c1791;return this[_0x131d76(0xc4)][_0x131d76(0xc9)](_0x32c91e);}[_0x5c1791(0xa4)](_0x35747e,_0x44d9b7,_0x1c5ecf){const _0x1e6402=_0x5c1791,_0x3bfeb3=new _0x1c5ecf(_0x35747e,_0x44d9b7,this[_0x1e6402(0xcd)][_0x1e6402(0xc0)](_0x44d9b7));this[_0x1e6402(0xcb)](_0x35747e,_0x44d9b7,_0x3bfeb3);}[_0x5c1791(0xa8)](_0x29f879,_0x5c1ca7,_0x1f544b){const _0x506e89=_0x5c1791,_0x2274cb=new _0x1f544b(_0x29f879,this);this[_0x506e89(0xcb)](_0x29f879,_0x5c1ca7,_0x2274cb);}[_0x5c1791(0xcb)](_0x1a54e5,_0x5a42e4,_0x43ee9c){const _0x1491c4=_0x5c1791;this[_0x1491c4(0xb5)][_0x1491c4(0xaa)](_0x1a54e5,_0x43ee9c),this[_0x1491c4(0xc4)][_0x1491c4(0xaa)](_0x5a42e4,_0x43ee9c);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4a1821,_0x45e39b){var _0x2cb1d9=_0x389a,_0x50d7ec=_0x4a1821();while(!![]){try{var _0x55b62e=-parseInt(_0x2cb1d9(0x7e))/0x1*(-parseInt(_0x2cb1d9(0x82))/0x2)+-parseInt(_0x2cb1d9(0x81))/0x3*(parseInt(_0x2cb1d9(0x84))/0x4)+-parseInt(_0x2cb1d9(0x7f))/0x5+-parseInt(_0x2cb1d9(0x7d))/0x6*(-parseInt(_0x2cb1d9(0x80))/0x7)+parseInt(_0x2cb1d9(0x83))/0x8+parseInt(_0x2cb1d9(0x7b))/0x9+-parseInt(_0x2cb1d9(0x7c))/0xa;if(_0x55b62e===_0x45e39b)break;else _0x50d7ec['push'](_0x50d7ec['shift']());}catch(_0x3c491b){_0x50d7ec['push'](_0x50d7ec['shift']());}}}(_0x3e8e,0xe51e8));export{Compressor}from'./compressor.js';function _0x389a(_0x5ab503,_0x117865){var _0x3e8e7a=_0x3e8e();return _0x389a=function(_0x389aae,_0x4ebe46){_0x389aae=_0x389aae-0x7b;var _0x4af811=_0x3e8e7a[_0x389aae];return _0x4af811;},_0x389a(_0x5ab503,_0x117865);}function _0x3e8e(){var _0x2d16c4=['4222fOloyE','11887136qMpBAp','4KfyqEw','13706406tWaiIZ','5634090evkuDy','287220uXefxG','272raazLK','5690730nXPWGJ','91Jqfcmi','4695903UYGHqj'];_0x3e8e=function(){return _0x2d16c4;};return _0x3e8e();}
23
+ function _0xdada(_0x1eb3b9,_0x2b496c){var _0x1c76b4=_0x1c76();return _0xdada=function(_0xdada48,_0x4be3b3){_0xdada48=_0xdada48-0x9f;var _0x502530=_0x1c76b4[_0xdada48];return _0x502530;},_0xdada(_0x1eb3b9,_0x2b496c);}(function(_0x4e3474,_0x43389a){var _0x4d9ff1=_0xdada,_0x36082f=_0x4e3474();while(!![]){try{var _0xb90b78=-parseInt(_0x4d9ff1(0xa6))/0x1*(parseInt(_0x4d9ff1(0xa0))/0x2)+parseInt(_0x4d9ff1(0xa4))/0x3+-parseInt(_0x4d9ff1(0xa2))/0x4*(parseInt(_0x4d9ff1(0xa5))/0x5)+parseInt(_0x4d9ff1(0xa1))/0x6+parseInt(_0x4d9ff1(0x9f))/0x7+-parseInt(_0x4d9ff1(0xa8))/0x8*(-parseInt(_0x4d9ff1(0xa7))/0x9)+-parseInt(_0x4d9ff1(0xa3))/0xa*(parseInt(_0x4d9ff1(0xa9))/0xb);if(_0xb90b78===_0x43389a)break;else _0x36082f['push'](_0x36082f['shift']());}catch(_0x304d37){_0x36082f['push'](_0x36082f['shift']());}}}(_0x1c76,0xddb6c));export{Compressor}from'./compressor.js';function _0x1c76(){var _0x175a00=['437794CeixpL','3770064TjYiJQ','40012iKdQxf','46220TlLcuZ','3839976sxHEFk','25azlOuA','8byQpye','1467APkNqM','84584CmDDot','5731yVtwZM','10399606iJgsdK'];_0x1c76=function(){return _0x175a00;};return _0x1c76();}