@ckeditor/ckeditor5-operations-compressor 46.0.0-alpha.8 → 46.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1ebd(){const _0x4d6f4d=['_context','wasUndone','721273UidRLj','_getCompressorByName','_combineNext','4thLOXE','$graveyard','_checkOperation','_compareOperations','538FDibhe','targetPosition','218AsdMdA','buffers','root','96KFhbla','5552310nKuDPi','__className','_compressSingleOperation','howMany','7013400wCTOUw','7804980SsXZYL','sourcePosition','2979489uUChSP','decompress','_decompressSingleOperation','compress','MoveOperation','_splitCurrent','10604yHkCsg','2630oqOElv'];_0x1ebd=function(){return _0x4d6f4d;};return _0x1ebd();}const _0x293d28=_0x121f;(function(_0x33bb90,_0x231c38){const _0x11c145=_0x121f,_0x1bcb43=_0x33bb90();while(!![]){try{const _0x4dba61=-parseInt(_0x11c145(0x20b))/0x1*(parseInt(_0x11c145(0x209))/0x2)+-parseInt(_0x11c145(0x1f8))/0x3+parseInt(_0x11c145(0x205))/0x4*(-parseInt(_0x11c145(0x1f5))/0x5)+parseInt(_0x11c145(0x1f1))/0x6+parseInt(_0x11c145(0x202))/0x7*(parseInt(_0x11c145(0x1f0))/0x8)+parseInt(_0x11c145(0x1f6))/0x9+parseInt(_0x11c145(0x1ff))/0xa*(parseInt(_0x11c145(0x1fe))/0xb);if(_0x4dba61===_0x231c38)break;else _0x1bcb43['push'](_0x1bcb43['shift']());}catch(_0x3ae0b2){_0x1bcb43['push'](_0x1bcb43['shift']());}}}(_0x1ebd,0xca2d8));function _0x121f(_0x4f8316,_0xb325f6){const _0x1ebddf=_0x1ebd();return _0x121f=function(_0x121f78,_0x529f5e){_0x121f78=_0x121f78-0x1f0;let _0x571476=_0x1ebddf[_0x121f78];return _0x571476;},_0x121f(_0x4f8316,_0xb325f6);}import{ActionCompressor as _0x2d7d23}from'./actioncompressor.js';import{arePositionsEqual as _0x736480,getPositionShiftedBy as _0x66a8c9}from'../utils.js';import{cloneDeep as _0x4f4059}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x2d7d23{[_0x293d28(0x204)](_0x28b137,_0x11f8f5){const _0x5b1892=_0x293d28;return _0x11f8f5[_0x5b1892(0x1f4)]++,_0x11f8f5[_0x5b1892(0x1f7)]=_0x4f4059(_0x28b137[_0x5b1892(0x1f7)]),_0x11f8f5;}[_0x293d28(0x1fd)](_0x707527){const _0x364603=_0x293d28,_0x2ed060=_0x4f4059(_0x707527);return _0x707527[_0x364603(0x1f4)]--,_0x2ed060[_0x364603(0x1f4)]=0x1,_0x2ed060[_0x364603(0x1f7)]=_0x66a8c9(_0x2ed060[_0x364603(0x1f7)],_0x707527[_0x364603(0x1f4)]),_0x2ed060;}[_0x293d28(0x208)](_0x50fdb4,_0x5e7578){const _0x40d419=_0x293d28;return!(!this[_0x40d419(0x207)](_0x50fdb4)||!this[_0x40d419(0x207)](_0x5e7578))&&(_0x736480(_0x66a8c9(_0x50fdb4[_0x40d419(0x1f7)],-0x1),_0x5e7578[_0x40d419(0x1f7)])&&_0x736480(_0x50fdb4[_0x40d419(0x20a)],_0x5e7578[_0x40d419(0x20a)]));}[_0x293d28(0x1f3)](_0x1d5d24){const _0x470be1=_0x293d28,_0x5d8704={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x470be1(0x200)][_0x470be1(0x203)](_0x470be1(0x1fc))[_0x470be1(0x1fb)](_0x5d8704,[_0x1d5d24]),_0x5d8704[_0x470be1(0x20c)][0x0];}[_0x293d28(0x1fa)](_0x2d464b){const _0x54268b=_0x293d28,_0x4ec21f=[];return this[_0x54268b(0x200)][_0x54268b(0x203)](_0x54268b(0x1fc))[_0x54268b(0x1f9)](_0x4ec21f,_0x2d464b),_0x4ec21f[0x0];}[_0x293d28(0x207)](_0x154775){const _0x594c43=_0x293d28;return _0x594c43(0x1fc)==_0x154775[_0x594c43(0x1f2)]&&_0x594c43(0x206)==_0x154775[_0x594c43(0x20a)][_0x594c43(0x20d)]&&0x1==_0x154775[_0x594c43(0x1f4)]&&!_0x154775[_0x594c43(0x201)];}}
23
+ const _0x26b3d3=_0x4ff9;function _0x2419(){const _0x3d0875=['_compressSingleOperation','root','decompress','_compareOperations','_decompressSingleOperation','443091iMCxwf','_context','buffers','_getCompressorByName','1575292TRuIoj','wasUndone','MoveOperation','_combineNext','1684739aBwtxr','2077092SSJgyz','targetPosition','howMany','65215KtDAlv','27BTbqfg','_splitCurrent','$graveyard','665720fWLliI','__className','5038GulJRA','_checkOperation','sourcePosition','compress','1nxIQwi'];_0x2419=function(){return _0x3d0875;};return _0x2419();}(function(_0x3772ee,_0x274b1e){const _0x4f805c=_0x4ff9,_0x533b33=_0x3772ee();while(!![]){try{const _0x10a2b5=-parseInt(_0x4f805c(0x7c))/0x1*(-parseInt(_0x4f805c(0x78))/0x2)+parseInt(_0x4f805c(0x82))/0x3+parseInt(_0x4f805c(0x6a))/0x4+parseInt(_0x4f805c(0x72))/0x5+-parseInt(_0x4f805c(0x6f))/0x6+-parseInt(_0x4f805c(0x6e))/0x7+-parseInt(_0x4f805c(0x76))/0x8*(-parseInt(_0x4f805c(0x73))/0x9);if(_0x10a2b5===_0x274b1e)break;else _0x533b33['push'](_0x533b33['shift']());}catch(_0xa3440e){_0x533b33['push'](_0x533b33['shift']());}}}(_0x2419,0x35adc));function _0x4ff9(_0x2fe24f,_0x26add2){const _0x24193a=_0x2419();return _0x4ff9=function(_0x4ff927,_0x541562){_0x4ff927=_0x4ff927-0x6a;let _0x335df8=_0x24193a[_0x4ff927];return _0x335df8;},_0x4ff9(_0x2fe24f,_0x26add2);}import{ActionCompressor as _0x32b187}from'./actioncompressor.js';import{arePositionsEqual as _0x4fdc9f,getPositionShiftedBy as _0x290864}from'../utils.js';import{cloneDeep as _0x4cff0c}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x32b187{[_0x26b3d3(0x6d)](_0x412903,_0xd0da3f){const _0x2465db=_0x26b3d3;return _0xd0da3f[_0x2465db(0x71)]++,_0xd0da3f[_0x2465db(0x7a)]=_0x4cff0c(_0x412903[_0x2465db(0x7a)]),_0xd0da3f;}[_0x26b3d3(0x74)](_0xeb16da){const _0x2991e1=_0x26b3d3,_0x15e322=_0x4cff0c(_0xeb16da);return _0xeb16da[_0x2991e1(0x71)]--,_0x15e322[_0x2991e1(0x71)]=0x1,_0x15e322[_0x2991e1(0x7a)]=_0x290864(_0x15e322[_0x2991e1(0x7a)],_0xeb16da[_0x2991e1(0x71)]),_0x15e322;}[_0x26b3d3(0x80)](_0x1378fc,_0x4fd34b){const _0x388684=_0x26b3d3;return!(!this[_0x388684(0x79)](_0x1378fc)||!this[_0x388684(0x79)](_0x4fd34b))&&(_0x4fdc9f(_0x290864(_0x1378fc[_0x388684(0x7a)],-0x1),_0x4fd34b[_0x388684(0x7a)])&&_0x4fdc9f(_0x1378fc[_0x388684(0x70)],_0x4fd34b[_0x388684(0x70)]));}[_0x26b3d3(0x7d)](_0x2cdfa7){const _0x35c1fd=_0x26b3d3,_0x3fdc8b={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x35c1fd(0x83)][_0x35c1fd(0x85)](_0x35c1fd(0x6c))[_0x35c1fd(0x7b)](_0x3fdc8b,[_0x2cdfa7]),_0x3fdc8b[_0x35c1fd(0x84)][0x0];}[_0x26b3d3(0x81)](_0x34f2d9){const _0x306041=_0x26b3d3,_0x3b4e92=[];return this[_0x306041(0x83)][_0x306041(0x85)](_0x306041(0x6c))[_0x306041(0x7f)](_0x3b4e92,_0x34f2d9),_0x3b4e92[0x0];}[_0x26b3d3(0x79)](_0x583b04){const _0x4e6961=_0x26b3d3;return _0x4e6961(0x6c)==_0x583b04[_0x4e6961(0x77)]&&_0x4e6961(0x75)==_0x583b04[_0x4e6961(0x70)][_0x4e6961(0x7e)]&&0x1==_0x583b04[_0x4e6961(0x71)]&&!_0x583b04[_0x4e6961(0x6b)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59c194=_0x43a9;(function(_0x2983d0,_0x1aaf6f){const _0x2eee51=_0x43a9,_0x2d691d=_0x2983d0();while(!![]){try{const _0x3ced28=-parseInt(_0x2eee51(0x1f9))/0x1+parseInt(_0x2eee51(0x1eb))/0x2+-parseInt(_0x2eee51(0x1f0))/0x3+parseInt(_0x2eee51(0x1f4))/0x4+parseInt(_0x2eee51(0x1f7))/0x5*(parseInt(_0x2eee51(0x1e9))/0x6)+parseInt(_0x2eee51(0x1f6))/0x7*(-parseInt(_0x2eee51(0x1f2))/0x8)+parseInt(_0x2eee51(0x1e7))/0x9;if(_0x3ced28===_0x1aaf6f)break;else _0x2d691d['push'](_0x2d691d['shift']());}catch(_0x249335){_0x2d691d['push'](_0x2d691d['shift']());}}}(_0x266c,0x95d1d));import{ActionCompressor as _0x8c3b47}from'./actioncompressor.js';import{arePositionsEqual as _0x265dd3}from'../utils.js';import{cloneDeep as _0x335d2d}from'es-toolkit/compat';function _0x266c(){const _0x4cda38=['buffers','_decompressSingleOperation','compress','$graveyard','sourcePosition','wasUndone','__className','10917657MDGIIT','root','2314698FxxxYN','_compareOperations','1158608NRRpxx','MoveOperation','targetPosition','_splitCurrent','_compressSingleOperation','3586824ebRxZt','decompress','231712cMWckM','_combineNext','1899540QOYNOC','_checkOperation','28NYxmAS','10QjBhGi','howMany','1113703WLafEw','_getCompressorByName','_context'];_0x266c=function(){return _0x4cda38;};return _0x266c();}function _0x43a9(_0x11b70f,_0x256067){const _0x266c29=_0x266c();return _0x43a9=function(_0x43a9ac,_0x2e526d){_0x43a9ac=_0x43a9ac-0x1e5;let _0x351913=_0x266c29[_0x43a9ac];return _0x351913;},_0x43a9(_0x11b70f,_0x256067);}export class ForwardDeletingActionCompressor extends _0x8c3b47{[_0x59c194(0x1f3)](_0x1d768c,_0x31e28e){const _0x3e94b3=_0x59c194;return _0x31e28e[_0x3e94b3(0x1f8)]++,_0x31e28e;}[_0x59c194(0x1ee)](_0x5ced9c){const _0x1978e1=_0x59c194,_0x3b6dad=_0x335d2d(_0x5ced9c);return _0x3b6dad[_0x1978e1(0x1f8)]=0x1,_0x5ced9c[_0x1978e1(0x1f8)]--,_0x3b6dad;}[_0x59c194(0x1ea)](_0x404252,_0x2cad7e){const _0x3ea534=_0x59c194;return!(!this[_0x3ea534(0x1f5)](_0x404252)||!this[_0x3ea534(0x1f5)](_0x2cad7e))&&(_0x265dd3(_0x404252[_0x3ea534(0x200)],_0x2cad7e[_0x3ea534(0x200)])&&_0x265dd3(_0x404252[_0x3ea534(0x1ed)],_0x2cad7e[_0x3ea534(0x1ed)]));}[_0x59c194(0x1ef)](_0x55c6a4){const _0x1bd1e8=_0x59c194,_0x29424b={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1bd1e8(0x1fb)][_0x1bd1e8(0x1fa)](_0x1bd1e8(0x1ec))[_0x1bd1e8(0x1fe)](_0x29424b,[_0x55c6a4]),_0x29424b[_0x1bd1e8(0x1fc)][0x0];}[_0x59c194(0x1fd)](_0x16366){const _0x3531a0=_0x59c194,_0x2cad0f=[];return this[_0x3531a0(0x1fb)][_0x3531a0(0x1fa)](_0x3531a0(0x1ec))[_0x3531a0(0x1f1)](_0x2cad0f,_0x16366),_0x2cad0f[0x0];}[_0x59c194(0x1f5)](_0x18858e){const _0x461c2b=_0x59c194;return _0x461c2b(0x1ec)==_0x18858e[_0x461c2b(0x1e6)]&&_0x461c2b(0x1ff)==_0x18858e[_0x461c2b(0x1ed)][_0x461c2b(0x1e8)]&&0x1==_0x18858e[_0x461c2b(0x1f8)]&&!_0x18858e[_0x461c2b(0x1e5)];}}
23
+ const _0x192072=_0x2e7f;(function(_0x5d36cd,_0x49dc97){const _0x11a6ec=_0x2e7f,_0x193b25=_0x5d36cd();while(!![]){try{const _0x42c324=-parseInt(_0x11a6ec(0x139))/0x1+parseInt(_0x11a6ec(0x13b))/0x2+-parseInt(_0x11a6ec(0x129))/0x3*(-parseInt(_0x11a6ec(0x13e))/0x4)+parseInt(_0x11a6ec(0x128))/0x5*(parseInt(_0x11a6ec(0x12f))/0x6)+-parseInt(_0x11a6ec(0x134))/0x7+-parseInt(_0x11a6ec(0x13c))/0x8*(parseInt(_0x11a6ec(0x144))/0x9)+parseInt(_0x11a6ec(0x12e))/0xa;if(_0x42c324===_0x49dc97)break;else _0x193b25['push'](_0x193b25['shift']());}catch(_0x417a47){_0x193b25['push'](_0x193b25['shift']());}}}(_0x3a7b,0xea8b2));function _0x2e7f(_0x18b455,_0x4babc7){const _0x3a7b41=_0x3a7b();return _0x2e7f=function(_0x2e7fb1,_0x6a5bf6){_0x2e7fb1=_0x2e7fb1-0x128;let _0xa354f0=_0x3a7b41[_0x2e7fb1];return _0xa354f0;},_0x2e7f(_0x18b455,_0x4babc7);}function _0x3a7b(){const _0xf0ae72=['10460135QdKRUD','_compressSingleOperation','$graveyard','decompress','targetPosition','480912JdQgGu','_combineNext','526408OcpgeO','8rvxnek','_checkOperation','36CijBXX','compress','wasUndone','_context','_decompressSingleOperation','MoveOperation','6509754NpYCQN','1055550MPNVwi','13281guylOM','_getCompressorByName','_compareOperations','buffers','__className','29339460cRYdzQ','12SHysCs','_splitCurrent','root','sourcePosition','howMany'];_0x3a7b=function(){return _0xf0ae72;};return _0x3a7b();}import{ActionCompressor as _0x45c9b2}from'./actioncompressor.js';import{arePositionsEqual as _0x274958}from'../utils.js';import{cloneDeep as _0x23ef04}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x45c9b2{[_0x192072(0x13a)](_0x5db761,_0x4348a5){const _0x28f9b6=_0x192072;return _0x4348a5[_0x28f9b6(0x133)]++,_0x4348a5;}[_0x192072(0x130)](_0x2a742f){const _0x407f26=_0x192072,_0x53ca40=_0x23ef04(_0x2a742f);return _0x53ca40[_0x407f26(0x133)]=0x1,_0x2a742f[_0x407f26(0x133)]--,_0x53ca40;}[_0x192072(0x12b)](_0x571467,_0x3c3f7c){const _0x195f75=_0x192072;return!(!this[_0x195f75(0x13d)](_0x571467)||!this[_0x195f75(0x13d)](_0x3c3f7c))&&(_0x274958(_0x571467[_0x195f75(0x132)],_0x3c3f7c[_0x195f75(0x132)])&&_0x274958(_0x571467[_0x195f75(0x138)],_0x3c3f7c[_0x195f75(0x138)]));}[_0x192072(0x135)](_0x12de9b){const _0x45421e=_0x192072,_0x26d26c={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x45421e(0x141)][_0x45421e(0x12a)](_0x45421e(0x143))[_0x45421e(0x13f)](_0x26d26c,[_0x12de9b]),_0x26d26c[_0x45421e(0x12c)][0x0];}[_0x192072(0x142)](_0x2c297b){const _0x44a554=_0x192072,_0x5e74b0=[];return this[_0x44a554(0x141)][_0x44a554(0x12a)](_0x44a554(0x143))[_0x44a554(0x137)](_0x5e74b0,_0x2c297b),_0x5e74b0[0x0];}[_0x192072(0x13d)](_0x1859ac){const _0x3fd5ab=_0x192072;return _0x3fd5ab(0x143)==_0x1859ac[_0x3fd5ab(0x12d)]&&_0x3fd5ab(0x136)==_0x1859ac[_0x3fd5ab(0x138)][_0x3fd5ab(0x131)]&&0x1==_0x1859ac[_0x3fd5ab(0x133)]&&!_0x1859ac[_0x3fd5ab(0x140)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12ba51=_0x3af4;(function(_0x21021d,_0x47a81c){const _0x291b4c=_0x3af4,_0x51c946=_0x21021d();while(!![]){try{const _0xea23bd=-parseInt(_0x291b4c(0x1c2))/0x1*(-parseInt(_0x291b4c(0x1e3))/0x2)+-parseInt(_0x291b4c(0x1cf))/0x3+-parseInt(_0x291b4c(0x1dc))/0x4*(parseInt(_0x291b4c(0x1de))/0x5)+-parseInt(_0x291b4c(0x1dd))/0x6*(-parseInt(_0x291b4c(0x1d3))/0x7)+parseInt(_0x291b4c(0x1c9))/0x8*(-parseInt(_0x291b4c(0x1bf))/0x9)+-parseInt(_0x291b4c(0x1d0))/0xa*(-parseInt(_0x291b4c(0x1c8))/0xb)+parseInt(_0x291b4c(0x1cd))/0xc;if(_0xea23bd===_0x47a81c)break;else _0x51c946['push'](_0x51c946['shift']());}catch(_0x1a833e){_0x51c946['push'](_0x51c946['shift']());}}}(_0x32bb,0x80de1));import{ActionCompressor as _0x5b35e5}from'./actioncompressor.js';function _0x3af4(_0x34bd21,_0x25852a){const _0x32bbdc=_0x32bb();return _0x3af4=function(_0x3af47e,_0x2a81eb){_0x3af47e=_0x3af47e-0x1bf;let _0x1997a2=_0x32bbdc[_0x3af47e];return _0x1997a2;},_0x3af4(_0x34bd21,_0x25852a);}import{arePositionsEqual as _0x32b782,getPositionShiftedBy as _0x2bdfcb}from'../utils.js';import{cloneDeep as _0x1a9846}from'es-toolkit/compat';export class TypingActionCompressor extends _0x5b35e5{[_0x12ba51(0x1c0)](_0x281431,_0x5c2034){const _0x55e0f2=_0x12ba51;return _0x5c2034[_0x55e0f2(0x1ce)][0x0][_0x55e0f2(0x1d6)]+=_0x281431[_0x55e0f2(0x1ce)][0x0][_0x55e0f2(0x1d6)],_0x5c2034;}[_0x12ba51(0x1c5)](_0x2fb485){const _0x2063b3=_0x12ba51,_0xd901ea=_0x1a9846(_0x2fb485),_0x1baf77=_0xd901ea[_0x2063b3(0x1ce)][0x0],_0x3fc7af=_0x2fb485[_0x2063b3(0x1ce)][0x0],_0x2b7b6b=_0x3fc7af[_0x2063b3(0x1d6)][Symbol[_0x2063b3(0x1d7)]]()[_0x2063b3(0x1db)]()[_0x2063b3(0x1d8)],_0x791a6d=_0x2b7b6b[_0x2063b3(0x1cb)];return _0x1baf77[_0x2063b3(0x1d6)]=_0x2b7b6b,_0x3fc7af[_0x2063b3(0x1d6)]=_0x3fc7af[_0x2063b3(0x1d6)][_0x2063b3(0x1d5)](_0x791a6d),_0x2fb485[_0x2063b3(0x1d4)]=_0x2bdfcb(_0x2fb485[_0x2063b3(0x1d4)],_0x791a6d),_0xd901ea;}[_0x12ba51(0x1e0)](_0x4d5a59,_0x2e7bca){const _0x36d103=_0x12ba51;if(this[_0x36d103(0x1cc)](_0x4d5a59)&&this[_0x36d103(0x1cc)](_0x2e7bca)){const _0x4f9d4e=_0x4d5a59[_0x36d103(0x1ce)][0x0][_0x36d103(0x1d6)][_0x36d103(0x1cb)],_0x386442=_0x32b782(_0x2bdfcb(_0x4d5a59[_0x36d103(0x1d4)],_0x4f9d4e),_0x2e7bca[_0x36d103(0x1d4)]),_0x1ea5a2=_0x4d5a59[_0x36d103(0x1ce)][0x0],_0x4cdefe=_0x2e7bca[_0x36d103(0x1ce)][0x0];return _0x386442&&this[_0x36d103(0x1c4)](_0x1ea5a2,_0x4cdefe);}return!0x1;}[_0x12ba51(0x1d9)](_0x1f227f){const _0x385f96=_0x12ba51,_0x1196fe={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x385f96(0x1c1)][_0x385f96(0x1e1)](_0x385f96(0x1c7))[_0x385f96(0x1d1)](_0x1196fe,[_0x1f227f]),_0x1196fe[_0x385f96(0x1df)][0x0];}[_0x12ba51(0x1e4)](_0x211b9d){const _0x5498f4=_0x12ba51,_0x5200c9=[];return this[_0x5498f4(0x1c1)][_0x5498f4(0x1e1)](_0x5498f4(0x1c7))[_0x5498f4(0x1da)](_0x5200c9,_0x211b9d),_0x5200c9[0x0];}[_0x12ba51(0x1cc)](_0x2cea40){const _0x55eda4=_0x12ba51;return _0x55eda4(0x1c7)==_0x2cea40[_0x55eda4(0x1e2)]&&0x1==_0x2cea40[_0x55eda4(0x1ce)][_0x55eda4(0x1cb)]&&_0x2cea40[_0x55eda4(0x1ce)][0x0][_0x55eda4(0x1d6)]&&!_0x2cea40[_0x55eda4(0x1c3)]&&0x1==Array[_0x55eda4(0x1e5)](_0x2cea40[_0x55eda4(0x1ce)][0x0][_0x55eda4(0x1d6)])[_0x55eda4(0x1cb)];}[_0x12ba51(0x1c4)](_0x4f12e7,_0x2a6f18){const _0x12f55f=_0x12ba51,_0x3fbf47=Object[_0x12f55f(0x1d2)](_0x4f12e7[_0x12f55f(0x1ca)]||{}),_0x49333d=Object[_0x12f55f(0x1d2)](_0x2a6f18[_0x12f55f(0x1ca)]||{});return _0x3fbf47[_0x12f55f(0x1cb)]===_0x49333d[_0x12f55f(0x1cb)]&&_0x3fbf47[_0x12f55f(0x1c6)](_0x2c9af4=>_0x2a6f18[_0x12f55f(0x1ca)][_0x2c9af4]&&_0x2a6f18[_0x12f55f(0x1ca)][_0x2c9af4]===_0x4f12e7[_0x12f55f(0x1ca)][_0x2c9af4]);}}function _0x32bb(){const _0x4c10c9=['__className','4ZHSIYM','_decompressSingleOperation','from','63ycceUI','_combineNext','_context','37186jvgSNE','wasUndone','_compareAttributes','_splitCurrent','every','InsertOperation','11aOdfjO','492344KzcCUG','attributes','length','_checkOperation','21208836ElZSkW','nodes','1895925Zlfanw','2060070vHHwPc','compress','keys','14098CwXgdU','position','substr','data','iterator','value','_compressSingleOperation','decompress','next','3431804KKawKb','1194inXlAy','5lAreRV','buffers','_compareOperations','_getCompressorByName'];_0x32bb=function(){return _0x4c10c9;};return _0x32bb();}
23
+ function _0x2779(_0x27a1db,_0x1a49ef){const _0x5e6b28=_0x5e6b();return _0x2779=function(_0x2779b0,_0x5caba7){_0x2779b0=_0x2779b0-0x1ea;let _0x522751=_0x5e6b28[_0x2779b0];return _0x522751;},_0x2779(_0x27a1db,_0x1a49ef);}const _0x240937=_0x2779;(function(_0x3b3ac4,_0x54f018){const _0x25a51c=_0x2779,_0x4edee6=_0x3b3ac4();while(!![]){try{const _0x2761c6=parseInt(_0x25a51c(0x1f2))/0x1*(parseInt(_0x25a51c(0x209))/0x2)+parseInt(_0x25a51c(0x20c))/0x3+-parseInt(_0x25a51c(0x1fa))/0x4*(parseInt(_0x25a51c(0x1f0))/0x5)+-parseInt(_0x25a51c(0x208))/0x6*(parseInt(_0x25a51c(0x20b))/0x7)+-parseInt(_0x25a51c(0x211))/0x8*(parseInt(_0x25a51c(0x1ed))/0x9)+-parseInt(_0x25a51c(0x202))/0xa*(-parseInt(_0x25a51c(0x20e))/0xb)+parseInt(_0x25a51c(0x1f4))/0xc*(-parseInt(_0x25a51c(0x1fd))/0xd);if(_0x2761c6===_0x54f018)break;else _0x4edee6['push'](_0x4edee6['shift']());}catch(_0x490e40){_0x4edee6['push'](_0x4edee6['shift']());}}}(_0x5e6b,0xf0718));import{ActionCompressor as _0x4c5c4f}from'./actioncompressor.js';import{arePositionsEqual as _0x386b0d,getPositionShiftedBy as _0x5ac028}from'../utils.js';function _0x5e6b(){const _0x41ea96=['115YbSaly','InsertOperation','1863583FzsVko','_context','8484540vVIyzh','nodes','next','_decompressSingleOperation','compress','length','98816wwqFzM','position','_compareAttributes','13bpWWmS','_splitCurrent','substr','_compareOperations','_checkOperation','20AxHEVS','decompress','_compressSingleOperation','keys','__className','wasUndone','4146lAPGfW','2CPBEQL','value','8414uXQfOK','1749723hSjBIu','_getCompressorByName','10064351LWFsVT','attributes','from','1355464oyLcMj','every','iterator','buffers','63yodeyE','data','_combineNext'];_0x5e6b=function(){return _0x41ea96;};return _0x5e6b();}import{cloneDeep as _0x2d6e08}from'es-toolkit/compat';export class TypingActionCompressor extends _0x4c5c4f{[_0x240937(0x1ef)](_0x55c1a0,_0x429d62){const _0x1cf986=_0x240937;return _0x429d62[_0x1cf986(0x1f5)][0x0][_0x1cf986(0x1ee)]+=_0x55c1a0[_0x1cf986(0x1f5)][0x0][_0x1cf986(0x1ee)],_0x429d62;}[_0x240937(0x1fe)](_0x4cb918){const _0xc1b427=_0x240937,_0x278b94=_0x2d6e08(_0x4cb918),_0x13ccaa=_0x278b94[_0xc1b427(0x1f5)][0x0],_0x490695=_0x4cb918[_0xc1b427(0x1f5)][0x0],_0x470dbd=_0x490695[_0xc1b427(0x1ee)][Symbol[_0xc1b427(0x1eb)]]()[_0xc1b427(0x1f6)]()[_0xc1b427(0x20a)],_0x343c0a=_0x470dbd[_0xc1b427(0x1f9)];return _0x13ccaa[_0xc1b427(0x1ee)]=_0x470dbd,_0x490695[_0xc1b427(0x1ee)]=_0x490695[_0xc1b427(0x1ee)][_0xc1b427(0x1ff)](_0x343c0a),_0x4cb918[_0xc1b427(0x1fb)]=_0x5ac028(_0x4cb918[_0xc1b427(0x1fb)],_0x343c0a),_0x278b94;}[_0x240937(0x200)](_0xe145e2,_0x456a81){const _0x1e21d2=_0x240937;if(this[_0x1e21d2(0x201)](_0xe145e2)&&this[_0x1e21d2(0x201)](_0x456a81)){const _0x2f2344=_0xe145e2[_0x1e21d2(0x1f5)][0x0][_0x1e21d2(0x1ee)][_0x1e21d2(0x1f9)],_0xae5a88=_0x386b0d(_0x5ac028(_0xe145e2[_0x1e21d2(0x1fb)],_0x2f2344),_0x456a81[_0x1e21d2(0x1fb)]),_0x4b0947=_0xe145e2[_0x1e21d2(0x1f5)][0x0],_0x112e4b=_0x456a81[_0x1e21d2(0x1f5)][0x0];return _0xae5a88&&this[_0x1e21d2(0x1fc)](_0x4b0947,_0x112e4b);}return!0x1;}[_0x240937(0x204)](_0x4477aa){const _0x52f469=_0x240937,_0xe36e2a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x52f469(0x1f3)][_0x52f469(0x20d)](_0x52f469(0x1f1))[_0x52f469(0x1f8)](_0xe36e2a,[_0x4477aa]),_0xe36e2a[_0x52f469(0x1ec)][0x0];}[_0x240937(0x1f7)](_0x259774){const _0x289704=_0x240937,_0x349c7e=[];return this[_0x289704(0x1f3)][_0x289704(0x20d)](_0x289704(0x1f1))[_0x289704(0x203)](_0x349c7e,_0x259774),_0x349c7e[0x0];}[_0x240937(0x201)](_0x4f8c48){const _0x1fa45c=_0x240937;return _0x1fa45c(0x1f1)==_0x4f8c48[_0x1fa45c(0x206)]&&0x1==_0x4f8c48[_0x1fa45c(0x1f5)][_0x1fa45c(0x1f9)]&&_0x4f8c48[_0x1fa45c(0x1f5)][0x0][_0x1fa45c(0x1ee)]&&!_0x4f8c48[_0x1fa45c(0x207)]&&0x1==Array[_0x1fa45c(0x210)](_0x4f8c48[_0x1fa45c(0x1f5)][0x0][_0x1fa45c(0x1ee)])[_0x1fa45c(0x1f9)];}[_0x240937(0x1fc)](_0x54fb7e,_0x182c94){const _0x3704d6=_0x240937,_0x3ed67=Object[_0x3704d6(0x205)](_0x54fb7e[_0x3704d6(0x20f)]||{}),_0x201e9f=Object[_0x3704d6(0x205)](_0x182c94[_0x3704d6(0x20f)]||{});return _0x3ed67[_0x3704d6(0x1f9)]===_0x201e9f[_0x3704d6(0x1f9)]&&_0x3ed67[_0x3704d6(0x1ea)](_0x33aef4=>_0x182c94[_0x3704d6(0x20f)][_0x33aef4]&&_0x182c94[_0x3704d6(0x20f)][_0x33aef4]===_0x54fb7e[_0x3704d6(0x20f)][_0x33aef4]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbac9b8=_0x2781;function _0xfc46(){const _0x3897fe=['1246680CKnmUg','start','toNone','user:','_decompressSingleOperation','_compareOperations','237897eRVSQi','shift','buffers','__className','user:position:','640125AEjGen','oldRange','startsWith','newRange','decompress','name','550851FGPpqH','383272ccNcRd','MarkerOperation','stickiness','_getCompressorByName','_id','end','compress','3peWnSW','_context','6SxeMhG','57136vqxwCW','push','58004yvjxSW','_compressSingleOperation','split','types'];_0xfc46=function(){return _0x3897fe;};return _0xfc46();}(function(_0x22c65e,_0x405075){const _0x57f923=_0x2781,_0x39034a=_0x22c65e();while(!![]){try{const _0x35f6a9=-parseInt(_0x57f923(0x1a6))/0x1*(-parseInt(_0x57f923(0x1a9))/0x2)+-parseInt(_0x57f923(0x1b5))/0x3+parseInt(_0x57f923(0x1ab))/0x4+parseInt(_0x57f923(0x1ba))/0x5+-parseInt(_0x57f923(0x1a8))/0x6*(-parseInt(_0x57f923(0x1c0))/0x7)+parseInt(_0x57f923(0x1c1))/0x8+-parseInt(_0x57f923(0x1af))/0x9;if(_0x35f6a9===_0x405075)break;else _0x39034a['push'](_0x39034a['shift']());}catch(_0x1152e8){_0x39034a['push'](_0x39034a['shift']());}}}(_0xfc46,0x21735));function _0x2781(_0x584b0e,_0x1f2fb9){const _0xfc466b=_0xfc46();return _0x2781=function(_0x2781df,_0x49e4b4){_0x2781df=_0x2781df-0x1a6;let _0x2390d3=_0xfc466b[_0x2781df];return _0x2390d3;},_0x2781(_0x584b0e,_0x1f2fb9);}import{ActionCompressor as _0x42cf26}from'./actioncompressor.js';import{arePositionsEqual as _0x11d2e8}from'../utils.js';import{cloneDeep as _0x2debd8}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x42cf26{[_0xbac9b8(0x1c7)](_0x38c463,_0x31d2e0){const _0x62ff9f=_0xbac9b8;if(!this[_0x62ff9f(0x1b4)](_0x31d2e0[0x0],_0x31d2e0[0x1]))return!0x1;const _0x3c055c=_0x31d2e0[_0x62ff9f(0x1b6)]();return _0x3c055c[_0x62ff9f(0x1bb)]=null,_0x3c055c[_0x62ff9f(0x1bd)]&&_0x11d2e8(_0x3c055c[_0x62ff9f(0x1bd)][_0x62ff9f(0x1b0)],_0x3c055c[_0x62ff9f(0x1bd)][_0x62ff9f(0x1c6)])&&(_0x3c055c[_0x62ff9f(0x1bd)][_0x62ff9f(0x1c6)]=null),_0x31d2e0[_0x62ff9f(0x1b6)](),_0x38c463[_0x62ff9f(0x1ae)][_0x62ff9f(0x1aa)](this[_0x62ff9f(0x1c5)]),_0x38c463[_0x62ff9f(0x1ae)][_0x62ff9f(0x1aa)](0x0),_0x38c463[_0x62ff9f(0x1b7)][_0x62ff9f(0x1aa)](this[_0x62ff9f(0x1ac)](_0x3c055c)),!0x0;}[_0xbac9b8(0x1be)](_0x39fc5c,_0x70ba4c){const _0x580e05=_0xbac9b8,_0xdbf811=this[_0x580e05(0x1b3)](_0x70ba4c);_0xdbf811[_0x580e05(0x1bd)]&&!_0xdbf811[_0x580e05(0x1bd)][_0x580e05(0x1c6)]&&(_0xdbf811[_0x580e05(0x1bd)][_0x580e05(0x1c6)]=_0x2debd8(_0xdbf811[_0x580e05(0x1bd)][_0x580e05(0x1b0)]));const _0x59557a=_0x2debd8(_0xdbf811);_0x59557a[_0x580e05(0x1bd)]&&(_0x59557a[_0x580e05(0x1bd)][_0x580e05(0x1b0)][_0x580e05(0x1c3)]=_0x580e05(0x1b1),_0x59557a[_0x580e05(0x1bd)][_0x580e05(0x1c6)]=_0x2debd8(_0x59557a[_0x580e05(0x1bd)][_0x580e05(0x1b0)])),_0x59557a[_0x580e05(0x1bf)]=_0x580e05(0x1b9)+_0x59557a[_0x580e05(0x1bf)][_0x580e05(0x1ad)](':')[0x2],_0x70ba4c[_0x580e05(0x1ae)][_0x580e05(0x1b6)](),_0x39fc5c[_0x580e05(0x1aa)](_0xdbf811),_0x39fc5c[_0x580e05(0x1aa)](_0x59557a);}[_0xbac9b8(0x1ac)](_0x2933a5){const _0x429b9e=_0xbac9b8,_0x1d9c89={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x429b9e(0x1a7)][_0x429b9e(0x1c4)](_0x429b9e(0x1c2))[_0x429b9e(0x1c7)](_0x1d9c89,[_0x2933a5]),_0x1d9c89[_0x429b9e(0x1b7)][0x0];}[_0xbac9b8(0x1b3)](_0x452e57){const _0x52afff=_0xbac9b8,_0x2b513c=[];return this[_0x52afff(0x1a7)][_0x52afff(0x1c4)](_0x52afff(0x1c2))[_0x52afff(0x1be)](_0x2b513c,_0x452e57),_0x2b513c[0x0];}[_0xbac9b8(0x1b4)](_0x464912,_0x269171){const _0x492b35=_0xbac9b8;return!(!_0x464912||!_0x269171)&&(_0x492b35(0x1c2)==_0x464912[_0x492b35(0x1b8)]&&_0x492b35(0x1c2)==_0x269171[_0x492b35(0x1b8)]&&!(!_0x464912[_0x492b35(0x1bf)][_0x492b35(0x1bc)](_0x492b35(0x1b2))||!_0x269171[_0x492b35(0x1bf)][_0x492b35(0x1bc)](_0x492b35(0x1b2))||_0x464912[_0x492b35(0x1bf)]==_0x269171[_0x492b35(0x1bf)]));}}
23
+ function _0x3729(_0x39d57e,_0x367433){const _0x29e481=_0x29e4();return _0x3729=function(_0x372961,_0x1f05f9){_0x372961=_0x372961-0x6a;let _0x3ac942=_0x29e481[_0x372961];return _0x3ac942;},_0x3729(_0x39d57e,_0x367433);}const _0x53dc19=_0x3729;(function(_0x1e0fd5,_0x1a7377){const _0x1e9d76=_0x3729,_0xf366e1=_0x1e0fd5();while(!![]){try{const _0x3b1efc=-parseInt(_0x1e9d76(0x85))/0x1*(-parseInt(_0x1e9d76(0x6b))/0x2)+parseInt(_0x1e9d76(0x7c))/0x3+-parseInt(_0x1e9d76(0x6c))/0x4*(-parseInt(_0x1e9d76(0x84))/0x5)+parseInt(_0x1e9d76(0x87))/0x6+-parseInt(_0x1e9d76(0x8b))/0x7+parseInt(_0x1e9d76(0x8a))/0x8*(parseInt(_0x1e9d76(0x6a))/0x9)+-parseInt(_0x1e9d76(0x6f))/0xa;if(_0x3b1efc===_0x1a7377)break;else _0xf366e1['push'](_0xf366e1['shift']());}catch(_0xfc16e5){_0xf366e1['push'](_0xf366e1['shift']());}}}(_0x29e4,0x949f6));import{ActionCompressor as _0x4632c9}from'./actioncompressor.js';import{arePositionsEqual as _0x16f979}from'../utils.js';function _0x29e4(){const _0x1420bb=['12524330cEDjiZ','end','shift','MarkerOperation','types','oldRange','user:','_decompressSingleOperation','user:position:','_context','_getCompressorByName','split','_compareOperations','3281541FKOdak','stickiness','newRange','name','_compressSingleOperation','compress','start','__className','5dNChRt','31951zWKVUh','buffers','594420PVStKd','decompress','startsWith','664dJJxGc','5728457UBlwjt','push','90990wrjzCW','22DvOqMI','1184136XMogrO','_id','toNone'];_0x29e4=function(){return _0x1420bb;};return _0x29e4();}import{cloneDeep as _0x2c64a9}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x4632c9{[_0x53dc19(0x81)](_0xcebb75,_0xbfaccc){const _0x38a2cb=_0x53dc19;if(!this[_0x38a2cb(0x7b)](_0xbfaccc[0x0],_0xbfaccc[0x1]))return!0x1;const _0x4c605e=_0xbfaccc[_0x38a2cb(0x71)]();return _0x4c605e[_0x38a2cb(0x74)]=null,_0x4c605e[_0x38a2cb(0x7e)]&&_0x16f979(_0x4c605e[_0x38a2cb(0x7e)][_0x38a2cb(0x82)],_0x4c605e[_0x38a2cb(0x7e)][_0x38a2cb(0x70)])&&(_0x4c605e[_0x38a2cb(0x7e)][_0x38a2cb(0x70)]=null),_0xbfaccc[_0x38a2cb(0x71)](),_0xcebb75[_0x38a2cb(0x73)][_0x38a2cb(0x8c)](this[_0x38a2cb(0x6d)]),_0xcebb75[_0x38a2cb(0x73)][_0x38a2cb(0x8c)](0x0),_0xcebb75[_0x38a2cb(0x86)][_0x38a2cb(0x8c)](this[_0x38a2cb(0x80)](_0x4c605e)),!0x0;}[_0x53dc19(0x88)](_0x46a891,_0x5f2036){const _0x2af285=_0x53dc19,_0x2d3633=this[_0x2af285(0x76)](_0x5f2036);_0x2d3633[_0x2af285(0x7e)]&&!_0x2d3633[_0x2af285(0x7e)][_0x2af285(0x70)]&&(_0x2d3633[_0x2af285(0x7e)][_0x2af285(0x70)]=_0x2c64a9(_0x2d3633[_0x2af285(0x7e)][_0x2af285(0x82)]));const _0x1b4575=_0x2c64a9(_0x2d3633);_0x1b4575[_0x2af285(0x7e)]&&(_0x1b4575[_0x2af285(0x7e)][_0x2af285(0x82)][_0x2af285(0x7d)]=_0x2af285(0x6e),_0x1b4575[_0x2af285(0x7e)][_0x2af285(0x70)]=_0x2c64a9(_0x1b4575[_0x2af285(0x7e)][_0x2af285(0x82)])),_0x1b4575[_0x2af285(0x7f)]=_0x2af285(0x77)+_0x1b4575[_0x2af285(0x7f)][_0x2af285(0x7a)](':')[0x2],_0x5f2036[_0x2af285(0x73)][_0x2af285(0x71)](),_0x46a891[_0x2af285(0x8c)](_0x2d3633),_0x46a891[_0x2af285(0x8c)](_0x1b4575);}[_0x53dc19(0x80)](_0x4226e4){const _0x2ce984=_0x53dc19,_0x200b30={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2ce984(0x78)][_0x2ce984(0x79)](_0x2ce984(0x72))[_0x2ce984(0x81)](_0x200b30,[_0x4226e4]),_0x200b30[_0x2ce984(0x86)][0x0];}[_0x53dc19(0x76)](_0xd3a66f){const _0x36e38a=_0x53dc19,_0x45c2e=[];return this[_0x36e38a(0x78)][_0x36e38a(0x79)](_0x36e38a(0x72))[_0x36e38a(0x88)](_0x45c2e,_0xd3a66f),_0x45c2e[0x0];}[_0x53dc19(0x7b)](_0x3478ab,_0x2a0f66){const _0x559eea=_0x53dc19;return!(!_0x3478ab||!_0x2a0f66)&&(_0x559eea(0x72)==_0x3478ab[_0x559eea(0x83)]&&_0x559eea(0x72)==_0x2a0f66[_0x559eea(0x83)]&&!(!_0x3478ab[_0x559eea(0x7f)][_0x559eea(0x89)](_0x559eea(0x75))||!_0x2a0f66[_0x559eea(0x7f)][_0x559eea(0x89)](_0x559eea(0x75))||_0x3478ab[_0x559eea(0x7f)]==_0x2a0f66[_0x559eea(0x7f)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c9dfe=_0x3db5;(function(_0x129cac,_0x102915){const _0x2aba05=_0x3db5,_0x34e9e3=_0x129cac();while(!![]){try{const _0x56e4ec=parseInt(_0x2aba05(0x164))/0x1*(parseInt(_0x2aba05(0x14a))/0x2)+-parseInt(_0x2aba05(0x166))/0x3+parseInt(_0x2aba05(0x168))/0x4+parseInt(_0x2aba05(0x169))/0x5+-parseInt(_0x2aba05(0x153))/0x6+-parseInt(_0x2aba05(0x143))/0x7*(parseInt(_0x2aba05(0x16d))/0x8)+-parseInt(_0x2aba05(0x154))/0x9*(-parseInt(_0x2aba05(0x159))/0xa);if(_0x56e4ec===_0x102915)break;else _0x34e9e3['push'](_0x34e9e3['shift']());}catch(_0x5a8fcf){_0x34e9e3['push'](_0x34e9e3['shift']());}}}(_0x37d1,0x9f4e9));import{CKEditorError as _0x21a6f7}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x3a2d29}from'./protobuffactory.js';function _0x3db5(_0x406709,_0x2530ba){const _0x37d190=_0x37d1();return _0x3db5=function(_0x3db523,_0x2bbaf7){_0x3db523=_0x3db523-0x141;let _0x16b966=_0x37d190[_0x3db523];return _0x16b966;},_0x3db5(_0x406709,_0x2530ba);}import{OperationCompressor as _0x17d8dc}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x550084}from'./operationcompressor/attributeoperationcompressor.js';function _0x37d1(){const _0x19f531=['types','MergeOperation','no-operations-provided','_registerCompressor','_registerActionCompressor','__className','94KmlpPQ','CommentMarkerOperation','ForwardDeletingAction','DeletingAction','_compressorById','forEach','MarkerOperation','_compressorByName','suggestion','2546154EjrWqW','5744790WDMJyN','AttributeOperation','_registerOperationCompressor','MoveOperation','_protobufFactory','20TFOLEr','decompress','_getCompressorByName','InsertOperation','RootOperation','UserSelectionAction','getDescriptor','NoOperation','TypingAction','SuggestionMarkerOperation','get','8287pcEIZB','RenameOperation','2588514MAqNgr','comment','1173116aJAVPA','2422360jyGMJK','SplitOperation','baseVersion','set','1328EWHLjA','decompress-compressor-not-found','length','compress','RootAttributeOperation','21259ipQxGO'];_0x37d1=function(){return _0x19f531;};return _0x37d1();}import{InsertOperationCompressor as _0x246ff3}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x157b20}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x3f92d5}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x4aba49}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x4c2805}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x460b62}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x42c1b1}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x49c306}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x4c9dfe(0x14e)];[_0x4c9dfe(0x151)];[_0x4c9dfe(0x158)];constructor(){const _0x4cd72e=_0x4c9dfe;this[_0x4cd72e(0x14e)]=new Map(),this[_0x4cd72e(0x151)]=new Map(),this[_0x4cd72e(0x158)]=new _0x3a2d29();const _0x97c029=this[_0x4cd72e(0x158)][_0x4cd72e(0x15f)](_0x4cd72e(0x150));this[_0x4cd72e(0x147)](0x1,_0x4cd72e(0x160),new _0x3f92d5(0x1,_0x4cd72e(0x160),void 0x0)),this[_0x4cd72e(0x156)](0xa,_0x4cd72e(0x155),_0x550084),this[_0x4cd72e(0x156)](0xb,_0x4cd72e(0x15c),_0x246ff3),this[_0x4cd72e(0x156)](0xc,_0x4cd72e(0x150),_0x157b20),this[_0x4cd72e(0x156)](0xd,_0x4cd72e(0x145),_0x17d8dc),this[_0x4cd72e(0x156)](0xe,_0x4cd72e(0x157),_0x17d8dc),this[_0x4cd72e(0x156)](0xf,_0x4cd72e(0x165),_0x17d8dc),this[_0x4cd72e(0x156)](0x10,_0x4cd72e(0x142),_0x550084),this[_0x4cd72e(0x156)](0x11,_0x4cd72e(0x16a),_0x17d8dc),this[_0x4cd72e(0x147)](0x12,_0x4cd72e(0x14b),new _0x4aba49(0x12,_0x4cd72e(0x150),_0x97c029,_0x4cd72e(0x167))),this[_0x4cd72e(0x147)](0x13,_0x4cd72e(0x162),new _0x4aba49(0x13,_0x4cd72e(0x150),_0x97c029,_0x4cd72e(0x152))),this[_0x4cd72e(0x156)](0x14,_0x4cd72e(0x15d),_0x17d8dc),this[_0x4cd72e(0x148)](0x64,_0x4cd72e(0x161),_0x4c2805),this[_0x4cd72e(0x148)](0x65,_0x4cd72e(0x14d),_0x460b62),this[_0x4cd72e(0x148)](0x66,_0x4cd72e(0x14c),_0x42c1b1),this[_0x4cd72e(0x148)](0x67,_0x4cd72e(0x15e),_0x49c306);}[_0x4c9dfe(0x141)](_0x3368d9){const _0x1740c6=_0x4c9dfe;if(!_0x3368d9||!_0x3368d9[0x0])throw new _0x21a6f7(_0x1740c6(0x146),this);const _0x3f4146={'types':[],'buffers':[],'baseVersion':_0x3368d9[0x0][_0x1740c6(0x16b)]};for(;_0x3368d9[_0x1740c6(0x16f)];)this[_0x1740c6(0x15b)](_0x1740c6(0x15e))[_0x1740c6(0x141)](_0x3f4146,_0x3368d9)||this[_0x1740c6(0x15b)](_0x1740c6(0x161))[_0x1740c6(0x141)](_0x3f4146,_0x3368d9)||this[_0x1740c6(0x15b)](_0x1740c6(0x14d))[_0x1740c6(0x141)](_0x3f4146,_0x3368d9)||this[_0x1740c6(0x15b)](_0x1740c6(0x14c))[_0x1740c6(0x141)](_0x3f4146,_0x3368d9)||this[_0x1740c6(0x15b)](_0x1740c6(0x14b))[_0x1740c6(0x141)](_0x3f4146,_0x3368d9)||this[_0x1740c6(0x15b)](_0x1740c6(0x162))[_0x1740c6(0x141)](_0x3f4146,_0x3368d9)||this[_0x1740c6(0x15b)](_0x3368d9[0x0][_0x1740c6(0x149)])[_0x1740c6(0x141)](_0x3f4146,_0x3368d9);return _0x3f4146;}[_0x4c9dfe(0x15a)](_0x5c445a){const _0x3cf1b1=_0x4c9dfe,_0x3bd560=[];for(;_0x5c445a[_0x3cf1b1(0x144)][_0x3cf1b1(0x16f)];){const _0x45fab3=this[_0x3cf1b1(0x14e)][_0x3cf1b1(0x163)](_0x5c445a[_0x3cf1b1(0x144)][0x0]);if(!_0x45fab3)throw new _0x21a6f7(_0x3cf1b1(0x16e),this,{'type':_0x5c445a[_0x3cf1b1(0x144)][0x0]});_0x45fab3[_0x3cf1b1(0x15a)](_0x3bd560,_0x5c445a);}return _0x3bd560[_0x3cf1b1(0x14f)]((_0x3193fe,_0x21169a)=>_0x3193fe[_0x3cf1b1(0x16b)]=_0x5c445a[_0x3cf1b1(0x16b)]+_0x21169a),_0x3bd560;}[_0x4c9dfe(0x15b)](_0x23d123){const _0x565aef=_0x4c9dfe;return this[_0x565aef(0x151)][_0x565aef(0x163)](_0x23d123);}[_0x4c9dfe(0x156)](_0x5eda97,_0x125655,_0x26f438){const _0x283191=_0x4c9dfe,_0x55f205=new _0x26f438(_0x5eda97,_0x125655,this[_0x283191(0x158)][_0x283191(0x15f)](_0x125655));this[_0x283191(0x147)](_0x5eda97,_0x125655,_0x55f205);}[_0x4c9dfe(0x148)](_0x470d50,_0x11a8f3,_0x12d8d7){const _0x2d906e=_0x4c9dfe,_0xa3c4ec=new _0x12d8d7(_0x470d50,this);this[_0x2d906e(0x147)](_0x470d50,_0x11a8f3,_0xa3c4ec);}[_0x4c9dfe(0x147)](_0x48504c,_0x204516,_0x3f72e6){const _0x1777a8=_0x4c9dfe;this[_0x1777a8(0x14e)][_0x1777a8(0x16c)](_0x48504c,_0x3f72e6),this[_0x1777a8(0x151)][_0x1777a8(0x16c)](_0x204516,_0x3f72e6);}}
23
+ const _0x53bbb2=_0x5647;(function(_0x264bf9,_0x380d8c){const _0xee5169=_0x5647,_0x193f22=_0x264bf9();while(!![]){try{const _0x9868a3=parseInt(_0xee5169(0x180))/0x1+parseInt(_0xee5169(0x16c))/0x2+parseInt(_0xee5169(0x185))/0x3+-parseInt(_0xee5169(0x168))/0x4+-parseInt(_0xee5169(0x171))/0x5*(parseInt(_0xee5169(0x174))/0x6)+parseInt(_0xee5169(0x15a))/0x7*(-parseInt(_0xee5169(0x167))/0x8)+parseInt(_0xee5169(0x164))/0x9;if(_0x9868a3===_0x380d8c)break;else _0x193f22['push'](_0x193f22['shift']());}catch(_0xae79f9){_0x193f22['push'](_0x193f22['shift']());}}}(_0x6500,0xbdeb5));import{CKEditorError as _0x121949}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x191804}from'./protobuffactory.js';import{OperationCompressor as _0x1b68cb}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x432039}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x3fae02}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x395319}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x559729}from'./operationcompressor/nooperationcompressor.js';function _0x5647(_0x55b7b9,_0x22f299){const _0x65007d=_0x6500();return _0x5647=function(_0x56479d,_0x1a26d6){_0x56479d=_0x56479d-0x15a;let _0x248f1d=_0x65007d[_0x56479d];return _0x248f1d;},_0x5647(_0x55b7b9,_0x22f299);}function _0x6500(){const _0x41471e=['length','NoOperation','comment','1066685iiDFji','_registerOperationCompressor','no-operations-provided','6XEnuPp','_registerCompressor','InsertOperation','UserSelectionAction','_registerActionCompressor','__className','RootAttributeOperation','_compressorById','RootOperation','_protobufFactory','AttributeOperation','MoveOperation','343939ThFYWf','TypingAction','MarkerOperation','CommentMarkerOperation','suggestion','986307GKJvoL','_compressorByName','MergeOperation','1945699VeMMJI','get','ForwardDeletingAction','DeletingAction','_getCompressorByName','decompress','decompress-compressor-not-found','SuggestionMarkerOperation','forEach','RenameOperation','22747653GheejM','getDescriptor','baseVersion','32LGOmJJ','5640388RxtgVO','set','types','compress','625892waXROs','SplitOperation'];_0x6500=function(){return _0x41471e;};return _0x6500();}import{AnnotationMarkerOperationCompressor as _0x2927c5}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x47e3bf}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x2c1535}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0xb5344b}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0xed1b73}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x53bbb2(0x17b)];[_0x53bbb2(0x186)];[_0x53bbb2(0x17d)];constructor(){const _0x179fa4=_0x53bbb2;this[_0x179fa4(0x17b)]=new Map(),this[_0x179fa4(0x186)]=new Map(),this[_0x179fa4(0x17d)]=new _0x191804();const _0x55d5c6=this[_0x179fa4(0x17d)][_0x179fa4(0x165)](_0x179fa4(0x182));this[_0x179fa4(0x175)](0x1,_0x179fa4(0x16f),new _0x559729(0x1,_0x179fa4(0x16f),void 0x0)),this[_0x179fa4(0x172)](0xa,_0x179fa4(0x17e),_0x432039),this[_0x179fa4(0x172)](0xb,_0x179fa4(0x176),_0x3fae02),this[_0x179fa4(0x172)](0xc,_0x179fa4(0x182),_0x395319),this[_0x179fa4(0x172)](0xd,_0x179fa4(0x187),_0x1b68cb),this[_0x179fa4(0x172)](0xe,_0x179fa4(0x17f),_0x1b68cb),this[_0x179fa4(0x172)](0xf,_0x179fa4(0x163),_0x1b68cb),this[_0x179fa4(0x172)](0x10,_0x179fa4(0x17a),_0x432039),this[_0x179fa4(0x172)](0x11,_0x179fa4(0x16d),_0x1b68cb),this[_0x179fa4(0x175)](0x12,_0x179fa4(0x183),new _0x2927c5(0x12,_0x179fa4(0x182),_0x55d5c6,_0x179fa4(0x170))),this[_0x179fa4(0x175)](0x13,_0x179fa4(0x161),new _0x2927c5(0x13,_0x179fa4(0x182),_0x55d5c6,_0x179fa4(0x184))),this[_0x179fa4(0x172)](0x14,_0x179fa4(0x17c),_0x1b68cb),this[_0x179fa4(0x178)](0x64,_0x179fa4(0x181),_0x47e3bf),this[_0x179fa4(0x178)](0x65,_0x179fa4(0x15d),_0x2c1535),this[_0x179fa4(0x178)](0x66,_0x179fa4(0x15c),_0xb5344b),this[_0x179fa4(0x178)](0x67,_0x179fa4(0x177),_0xed1b73);}[_0x53bbb2(0x16b)](_0x3601f6){const _0x186795=_0x53bbb2;if(!_0x3601f6||!_0x3601f6[0x0])throw new _0x121949(_0x186795(0x173),this);const _0x340bc1={'types':[],'buffers':[],'baseVersion':_0x3601f6[0x0][_0x186795(0x166)]};for(;_0x3601f6[_0x186795(0x16e)];)this[_0x186795(0x15e)](_0x186795(0x177))[_0x186795(0x16b)](_0x340bc1,_0x3601f6)||this[_0x186795(0x15e)](_0x186795(0x181))[_0x186795(0x16b)](_0x340bc1,_0x3601f6)||this[_0x186795(0x15e)](_0x186795(0x15d))[_0x186795(0x16b)](_0x340bc1,_0x3601f6)||this[_0x186795(0x15e)](_0x186795(0x15c))[_0x186795(0x16b)](_0x340bc1,_0x3601f6)||this[_0x186795(0x15e)](_0x186795(0x183))[_0x186795(0x16b)](_0x340bc1,_0x3601f6)||this[_0x186795(0x15e)](_0x186795(0x161))[_0x186795(0x16b)](_0x340bc1,_0x3601f6)||this[_0x186795(0x15e)](_0x3601f6[0x0][_0x186795(0x179)])[_0x186795(0x16b)](_0x340bc1,_0x3601f6);return _0x340bc1;}[_0x53bbb2(0x15f)](_0x41d0b3){const _0x36fb26=_0x53bbb2,_0x5f361a=[];for(;_0x41d0b3[_0x36fb26(0x16a)][_0x36fb26(0x16e)];){const _0x1a7f16=this[_0x36fb26(0x17b)][_0x36fb26(0x15b)](_0x41d0b3[_0x36fb26(0x16a)][0x0]);if(!_0x1a7f16)throw new _0x121949(_0x36fb26(0x160),this,{'type':_0x41d0b3[_0x36fb26(0x16a)][0x0]});_0x1a7f16[_0x36fb26(0x15f)](_0x5f361a,_0x41d0b3);}return _0x5f361a[_0x36fb26(0x162)]((_0xa5271b,_0x33220d)=>_0xa5271b[_0x36fb26(0x166)]=_0x41d0b3[_0x36fb26(0x166)]+_0x33220d),_0x5f361a;}[_0x53bbb2(0x15e)](_0x3404f3){const _0x180bb6=_0x53bbb2;return this[_0x180bb6(0x186)][_0x180bb6(0x15b)](_0x3404f3);}[_0x53bbb2(0x172)](_0x5b12fc,_0x32f8a8,_0x2f0df6){const _0xd23dc9=_0x53bbb2,_0x1a9e69=new _0x2f0df6(_0x5b12fc,_0x32f8a8,this[_0xd23dc9(0x17d)][_0xd23dc9(0x165)](_0x32f8a8));this[_0xd23dc9(0x175)](_0x5b12fc,_0x32f8a8,_0x1a9e69);}[_0x53bbb2(0x178)](_0x203a19,_0x294119,_0x2be8a7){const _0x6c1bc4=_0x53bbb2,_0x4f8def=new _0x2be8a7(_0x203a19,this);this[_0x6c1bc4(0x175)](_0x203a19,_0x294119,_0x4f8def);}[_0x53bbb2(0x175)](_0x30cf89,_0x5770df,_0x47aaa2){const _0x4ee0ae=_0x53bbb2;this[_0x4ee0ae(0x17b)][_0x4ee0ae(0x169)](_0x30cf89,_0x47aaa2),this[_0x4ee0ae(0x186)][_0x4ee0ae(0x169)](_0x5770df,_0x47aaa2);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x53164c,_0x588da5){var _0x22e262=_0x2011,_0xb546c6=_0x53164c();while(!![]){try{var _0x477e24=parseInt(_0x22e262(0x190))/0x1*(parseInt(_0x22e262(0x18e))/0x2)+parseInt(_0x22e262(0x193))/0x3+parseInt(_0x22e262(0x194))/0x4*(-parseInt(_0x22e262(0x191))/0x5)+-parseInt(_0x22e262(0x18c))/0x6+-parseInt(_0x22e262(0x18f))/0x7+-parseInt(_0x22e262(0x18d))/0x8*(-parseInt(_0x22e262(0x192))/0x9)+parseInt(_0x22e262(0x195))/0xa*(parseInt(_0x22e262(0x196))/0xb);if(_0x477e24===_0x588da5)break;else _0xb546c6['push'](_0xb546c6['shift']());}catch(_0x2258aa){_0xb546c6['push'](_0xb546c6['shift']());}}}(_0x3555,0x913c9));export{Compressor}from'./compressor.js';function _0x2011(_0x4fed60,_0x422521){var _0x355584=_0x3555();return _0x2011=function(_0x20117c,_0x4113d5){_0x20117c=_0x20117c-0x18c;var _0x4ed0d7=_0x355584[_0x20117c];return _0x4ed0d7;},_0x2011(_0x4fed60,_0x422521);}function _0x3555(){var _0x5222b4=['23832mQFroe','52GlvAXI','6358898plNAYc','3678xhiowX','3860BQmqit','1233uszsyb','3529605xyLfGu','136aRcmSk','8660NMkbiz','10813rhdgWq','6012078mndUbr'];_0x3555=function(){return _0x5222b4;};return _0x3555();}
23
+ (function(_0x4ed27a,_0x587bc2){var _0x27fff6=_0x25b1,_0x38f648=_0x4ed27a();while(!![]){try{var _0x259577=-parseInt(_0x27fff6(0x1bc))/0x1+-parseInt(_0x27fff6(0x1b8))/0x2+-parseInt(_0x27fff6(0x1b6))/0x3*(-parseInt(_0x27fff6(0x1ba))/0x4)+-parseInt(_0x27fff6(0x1bd))/0x5*(-parseInt(_0x27fff6(0x1bf))/0x6)+-parseInt(_0x27fff6(0x1b5))/0x7*(parseInt(_0x27fff6(0x1bb))/0x8)+-parseInt(_0x27fff6(0x1be))/0x9*(parseInt(_0x27fff6(0x1b7))/0xa)+parseInt(_0x27fff6(0x1b9))/0xb;if(_0x259577===_0x587bc2)break;else _0x38f648['push'](_0x38f648['shift']());}catch(_0x415ed8){_0x38f648['push'](_0x38f648['shift']());}}}(_0x24c1,0x7ee76));export{Compressor}from'./compressor.js';function _0x25b1(_0x48dcd9,_0x571c42){var _0x24c16e=_0x24c1();return _0x25b1=function(_0x25b110,_0x102d18){_0x25b110=_0x25b110-0x1b5;var _0x2b475e=_0x24c16e[_0x25b110];return _0x2b475e;},_0x25b1(_0x48dcd9,_0x571c42);}function _0x24c1(){var _0x5ba4da=['3029392MocekV','500840qItqzi','2493155xfqEQn','431307xOthhf','6txHFOs','7hVHPuA','385914ifLtdc','20bFomNd','2046652uIcQUg','16558311qcuiLq','16yBsTrI'];_0x24c1=function(){return _0x5ba4da;};return _0x24c1();}