@ckeditor/ckeditor5-operations-compressor 47.2.0-alpha.1 → 47.2.0-alpha.3

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 _0x531563=_0x1fd2;(function(_0x536319,_0x1194b2){const _0x3faa90=_0x1fd2,_0x50beb4=_0x536319();while(!![]){try{const _0x29dcce=-parseInt(_0x3faa90(0xaf))/0x1*(-parseInt(_0x3faa90(0xa2))/0x2)+-parseInt(_0x3faa90(0xab))/0x3*(-parseInt(_0x3faa90(0xa7))/0x4)+parseInt(_0x3faa90(0xb8))/0x5+-parseInt(_0x3faa90(0xa9))/0x6*(-parseInt(_0x3faa90(0xb3))/0x7)+parseInt(_0x3faa90(0xa1))/0x8*(-parseInt(_0x3faa90(0xb5))/0x9)+-parseInt(_0x3faa90(0xb6))/0xa+parseInt(_0x3faa90(0xb0))/0xb*(-parseInt(_0x3faa90(0xbc))/0xc);if(_0x29dcce===_0x1194b2)break;else _0x50beb4['push'](_0x50beb4['shift']());}catch(_0x4f337b){_0x50beb4['push'](_0x50beb4['shift']());}}}(_0x3a01,0xa2fc9));import{ActionCompressor as _0x24cbb0}from'./actioncompressor.js';function _0x1fd2(_0x544df5,_0x594c5c){const _0x3a0171=_0x3a01();return _0x1fd2=function(_0x1fd20e,_0x276c73){_0x1fd20e=_0x1fd20e-0xa0;let _0x26f328=_0x3a0171[_0x1fd20e];return _0x26f328;},_0x1fd2(_0x544df5,_0x594c5c);}import{arePositionsEqual as _0x194267,getPositionShiftedBy as _0x3527e4}from'../utils.js';import{cloneDeep as _0x32ff09}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x24cbb0{[_0x531563(0xa4)](_0xd85d73,_0x1f8c3b){const _0x4fad6f=_0x531563;return _0x1f8c3b[_0x4fad6f(0xaa)]++,_0x1f8c3b[_0x4fad6f(0xba)]=_0x32ff09(_0xd85d73[_0x4fad6f(0xba)]),_0x1f8c3b;}[_0x531563(0xa6)](_0x2933d5){const _0xbc21ff=_0x531563,_0x1b874a=_0x32ff09(_0x2933d5);return _0x2933d5[_0xbc21ff(0xaa)]--,_0x1b874a[_0xbc21ff(0xaa)]=0x1,_0x1b874a[_0xbc21ff(0xba)]=_0x3527e4(_0x1b874a[_0xbc21ff(0xba)],_0x2933d5[_0xbc21ff(0xaa)]),_0x1b874a;}[_0x531563(0xa0)](_0x55c0ab,_0x3d99dc){const _0x8b931e=_0x531563;return!(!this[_0x8b931e(0xa5)](_0x55c0ab)||!this[_0x8b931e(0xa5)](_0x3d99dc))&&(_0x194267(_0x3527e4(_0x55c0ab[_0x8b931e(0xba)],-0x1),_0x3d99dc[_0x8b931e(0xba)])&&_0x194267(_0x55c0ab[_0x8b931e(0xbb)],_0x3d99dc[_0x8b931e(0xbb)]));}[_0x531563(0xb9)](_0x5d41bf){const _0x5253fc=_0x531563,_0x29c358={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5253fc(0xbe)][_0x5253fc(0xa3)](_0x5253fc(0xb7))[_0x5253fc(0xa8)](_0x29c358,[_0x5d41bf]),_0x29c358[_0x5253fc(0xb4)][0x0];}[_0x531563(0xad)](_0x232cd8){const _0x2cca00=_0x531563,_0x1c1aa5=[];return this[_0x2cca00(0xbe)][_0x2cca00(0xa3)](_0x2cca00(0xb7))[_0x2cca00(0xae)](_0x1c1aa5,_0x232cd8),_0x1c1aa5[0x0];}[_0x531563(0xa5)](_0x29ef34){const _0x46ecb5=_0x531563;return _0x46ecb5(0xb7)==_0x29ef34[_0x46ecb5(0xac)]&&_0x46ecb5(0xbd)==_0x29ef34[_0x46ecb5(0xbb)][_0x46ecb5(0xb1)]&&0x1==_0x29ef34[_0x46ecb5(0xaa)]&&!_0x29ef34[_0x46ecb5(0xb2)];}}function _0x3a01(){const _0x3235b1=['_compressSingleOperation','sourcePosition','targetPosition','24OMcNcS','$graveyard','_context','_compareOperations','1175912tJxBjR','16962XmvAbv','_getCompressorByName','_combineNext','_checkOperation','_splitCurrent','8YCTZwc','compress','791598TJcRcA','howMany','1820022IZWvzC','__className','_decompressSingleOperation','decompress','106oUiEkF','4371928fmkiah','root','wasUndone','49qWTMrB','buffers','81RTCpqx','2725150oANVkO','MoveOperation','110200ydjOfY'];_0x3a01=function(){return _0x3235b1;};return _0x3a01();}
23
+ const _0x4f06be=_0x18ac;function _0x8d1b(){const _0x4ceb18=['487945AHXlBa','4450608qOcpUy','_decompressSingleOperation','10610kixFRp','_checkOperation','wasUndone','54lwysdN','_context','_splitCurrent','_compressSingleOperation','MoveOperation','sourcePosition','decompress','howMany','_compareOperations','__className','137444GYdpPU','18539610Lqauve','buffers','targetPosition','$graveyard','compress','_getCompressorByName','819294xfNSWn','4978392OXLpEO','7cMywVA','_combineNext','root','1194jTeaoZ'];_0x8d1b=function(){return _0x4ceb18;};return _0x8d1b();}(function(_0x22f6c7,_0x550778){const _0x2504fe=_0x18ac,_0x46ae36=_0x22f6c7();while(!![]){try{const _0x5385c6=parseInt(_0x2504fe(0xb8))/0x1+-parseInt(_0x2504fe(0xb2))/0x2+-parseInt(_0x2504fe(0xbe))/0x3*(-parseInt(_0x2504fe(0xab))/0x4)+-parseInt(_0x2504fe(0xbb))/0x5*(-parseInt(_0x2504fe(0xb7))/0x6)+parseInt(_0x2504fe(0xb4))/0x7*(parseInt(_0x2504fe(0xb3))/0x8)+parseInt(_0x2504fe(0xb9))/0x9+-parseInt(_0x2504fe(0xac))/0xa;if(_0x5385c6===_0x550778)break;else _0x46ae36['push'](_0x46ae36['shift']());}catch(_0x4ba4c2){_0x46ae36['push'](_0x46ae36['shift']());}}}(_0x8d1b,0x5d3e4));function _0x18ac(_0x4250fd,_0x4e3a60){const _0x8d1bba=_0x8d1b();return _0x18ac=function(_0x18ac25,_0x5760ba){_0x18ac25=_0x18ac25-0xa2;let _0x4add31=_0x8d1bba[_0x18ac25];return _0x4add31;},_0x18ac(_0x4250fd,_0x4e3a60);}import{ActionCompressor as _0x4e4b5a}from'./actioncompressor.js';import{arePositionsEqual as _0x12fff2,getPositionShiftedBy as _0x14ec48}from'../utils.js';import{cloneDeep as _0x4db315}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x4e4b5a{[_0x4f06be(0xb5)](_0x38f2af,_0x57e904){const _0x36a280=_0x4f06be;return _0x57e904[_0x36a280(0xa8)]++,_0x57e904[_0x36a280(0xa6)]=_0x4db315(_0x38f2af[_0x36a280(0xa6)]),_0x57e904;}[_0x4f06be(0xa3)](_0x393e8c){const _0x90e742=_0x4f06be,_0x1d6526=_0x4db315(_0x393e8c);return _0x393e8c[_0x90e742(0xa8)]--,_0x1d6526[_0x90e742(0xa8)]=0x1,_0x1d6526[_0x90e742(0xa6)]=_0x14ec48(_0x1d6526[_0x90e742(0xa6)],_0x393e8c[_0x90e742(0xa8)]),_0x1d6526;}[_0x4f06be(0xa9)](_0x5df776,_0x4e579f){const _0x490550=_0x4f06be;return!(!this[_0x490550(0xbc)](_0x5df776)||!this[_0x490550(0xbc)](_0x4e579f))&&(_0x12fff2(_0x14ec48(_0x5df776[_0x490550(0xa6)],-0x1),_0x4e579f[_0x490550(0xa6)])&&_0x12fff2(_0x5df776[_0x490550(0xae)],_0x4e579f[_0x490550(0xae)]));}[_0x4f06be(0xa4)](_0x3f95c8){const _0x48b06a=_0x4f06be,_0x5d2f9c={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x48b06a(0xa2)][_0x48b06a(0xb1)](_0x48b06a(0xa5))[_0x48b06a(0xb0)](_0x5d2f9c,[_0x3f95c8]),_0x5d2f9c[_0x48b06a(0xad)][0x0];}[_0x4f06be(0xba)](_0x2a7815){const _0x25caf1=_0x4f06be,_0xefacf0=[];return this[_0x25caf1(0xa2)][_0x25caf1(0xb1)](_0x25caf1(0xa5))[_0x25caf1(0xa7)](_0xefacf0,_0x2a7815),_0xefacf0[0x0];}[_0x4f06be(0xbc)](_0x172fbc){const _0x1ef769=_0x4f06be;return _0x1ef769(0xa5)==_0x172fbc[_0x1ef769(0xaa)]&&_0x1ef769(0xaf)==_0x172fbc[_0x1ef769(0xae)][_0x1ef769(0xb6)]&&0x1==_0x172fbc[_0x1ef769(0xa8)]&&!_0x172fbc[_0x1ef769(0xbd)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1be29d=_0x1a09;(function(_0x12a4eb,_0xedfe3e){const _0x2c158a=_0x1a09,_0x5065ba=_0x12a4eb();while(!![]){try{const _0x17ba8a=-parseInt(_0x2c158a(0x1a6))/0x1*(-parseInt(_0x2c158a(0x19d))/0x2)+parseInt(_0x2c158a(0x1a0))/0x3+-parseInt(_0x2c158a(0x1ac))/0x4*(parseInt(_0x2c158a(0x197))/0x5)+-parseInt(_0x2c158a(0x19a))/0x6+-parseInt(_0x2c158a(0x19e))/0x7*(parseInt(_0x2c158a(0x1ae))/0x8)+parseInt(_0x2c158a(0x199))/0x9*(parseInt(_0x2c158a(0x1b2))/0xa)+parseInt(_0x2c158a(0x1a7))/0xb;if(_0x17ba8a===_0xedfe3e)break;else _0x5065ba['push'](_0x5065ba['shift']());}catch(_0x5f582d){_0x5065ba['push'](_0x5065ba['shift']());}}}(_0x4aea,0xf3c52));import{ActionCompressor as _0x10000d}from'./actioncompressor.js';function _0x1a09(_0x23cb48,_0x5ab28f){const _0x4aeae1=_0x4aea();return _0x1a09=function(_0x1a0983,_0x3f0824){_0x1a0983=_0x1a0983-0x195;let _0x5df0a1=_0x4aeae1[_0x1a0983];return _0x5df0a1;},_0x1a09(_0x23cb48,_0x5ab28f);}import{arePositionsEqual as _0xfe622b}from'../utils.js';import{cloneDeep as _0x1bada8}from'es-toolkit/compat';function _0x4aea(){const _0x1561d7=['_getCompressorByName','howMany','39880jOoFRI','root','_checkOperation','10kOVVKz','decompress','198obFTEK','941568MDNKwu','wasUndone','MoveOperation','3014lXXngb','34230LfZoSc','__className','1372392DwETWs','buffers','_decompressSingleOperation','compress','_splitCurrent','_context','1mSbfvv','34404865yHuqgR','targetPosition','$graveyard','_compareOperations','sourcePosition','3170044LMCNQP','_combineNext','1528VfCpjm','_compressSingleOperation'];_0x4aea=function(){return _0x1561d7;};return _0x4aea();}export class ForwardDeletingActionCompressor extends _0x10000d{[_0x1be29d(0x1ad)](_0x96af45,_0x2860e9){const _0x535617=_0x1be29d;return _0x2860e9[_0x535617(0x1b1)]++,_0x2860e9;}[_0x1be29d(0x1a4)](_0x193e78){const _0x3f85fb=_0x1be29d,_0x4deb6f=_0x1bada8(_0x193e78);return _0x4deb6f[_0x3f85fb(0x1b1)]=0x1,_0x193e78[_0x3f85fb(0x1b1)]--,_0x4deb6f;}[_0x1be29d(0x1aa)](_0x3b6346,_0x565355){const _0x58edc7=_0x1be29d;return!(!this[_0x58edc7(0x196)](_0x3b6346)||!this[_0x58edc7(0x196)](_0x565355))&&(_0xfe622b(_0x3b6346[_0x58edc7(0x1ab)],_0x565355[_0x58edc7(0x1ab)])&&_0xfe622b(_0x3b6346[_0x58edc7(0x1a8)],_0x565355[_0x58edc7(0x1a8)]));}[_0x1be29d(0x1af)](_0x5d3c02){const _0x8cee65=_0x1be29d,_0xb21fa8={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x8cee65(0x1a5)][_0x8cee65(0x1b0)](_0x8cee65(0x19c))[_0x8cee65(0x1a3)](_0xb21fa8,[_0x5d3c02]),_0xb21fa8[_0x8cee65(0x1a1)][0x0];}[_0x1be29d(0x1a2)](_0x4dd0b9){const _0x14f5ed=_0x1be29d,_0x349d41=[];return this[_0x14f5ed(0x1a5)][_0x14f5ed(0x1b0)](_0x14f5ed(0x19c))[_0x14f5ed(0x198)](_0x349d41,_0x4dd0b9),_0x349d41[0x0];}[_0x1be29d(0x196)](_0x17d17b){const _0x18664d=_0x1be29d;return _0x18664d(0x19c)==_0x17d17b[_0x18664d(0x19f)]&&_0x18664d(0x1a9)==_0x17d17b[_0x18664d(0x1a8)][_0x18664d(0x195)]&&0x1==_0x17d17b[_0x18664d(0x1b1)]&&!_0x17d17b[_0x18664d(0x19b)];}}
23
+ function _0x5668(_0x5f32db,_0xdc8c3e){const _0x5bc105=_0x5bc1();return _0x5668=function(_0x566884,_0x4f31d9){_0x566884=_0x566884-0x1bb;let _0x164926=_0x5bc105[_0x566884];return _0x164926;},_0x5668(_0x5f32db,_0xdc8c3e);}const _0x10e506=_0x5668;(function(_0x225643,_0x2b020f){const _0x52a291=_0x5668,_0x20cf38=_0x225643();while(!![]){try{const _0x57a3cb=-parseInt(_0x52a291(0x1cc))/0x1+parseInt(_0x52a291(0x1c7))/0x2+parseInt(_0x52a291(0x1bf))/0x3*(-parseInt(_0x52a291(0x1c9))/0x4)+-parseInt(_0x52a291(0x1d3))/0x5+-parseInt(_0x52a291(0x1d5))/0x6+-parseInt(_0x52a291(0x1cd))/0x7+-parseInt(_0x52a291(0x1c4))/0x8*(-parseInt(_0x52a291(0x1c5))/0x9);if(_0x57a3cb===_0x2b020f)break;else _0x20cf38['push'](_0x20cf38['shift']());}catch(_0xb42706){_0x20cf38['push'](_0x20cf38['shift']());}}}(_0x5bc1,0x574b1));function _0x5bc1(){const _0x55a5eb=['howMany','3223110XWOgGK','buffers','2300370dtDUfv','_getCompressorByName','_splitCurrent','_decompressSingleOperation','root','$graveyard','21djEMWU','compress','MoveOperation','sourcePosition','_combineNext','8bGlipx','20877669SHlbIC','__className','938254fUThld','_compareOperations','137044HPCSKp','_compressSingleOperation','_context','566063SFlNka','4181856wSTQfp','_checkOperation','decompress','wasUndone','targetPosition'];_0x5bc1=function(){return _0x55a5eb;};return _0x5bc1();}import{ActionCompressor as _0x33b891}from'./actioncompressor.js';import{arePositionsEqual as _0x29bb99}from'../utils.js';import{cloneDeep as _0x35db49}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x33b891{[_0x10e506(0x1c3)](_0x1f2045,_0x3a10d5){const _0x3f1381=_0x10e506;return _0x3a10d5[_0x3f1381(0x1d2)]++,_0x3a10d5;}[_0x10e506(0x1bb)](_0x12806f){const _0x2e2c7e=_0x10e506,_0x17b0f1=_0x35db49(_0x12806f);return _0x17b0f1[_0x2e2c7e(0x1d2)]=0x1,_0x12806f[_0x2e2c7e(0x1d2)]--,_0x17b0f1;}[_0x10e506(0x1c8)](_0xb01606,_0x5ab5d4){const _0x26db7d=_0x10e506;return!(!this[_0x26db7d(0x1ce)](_0xb01606)||!this[_0x26db7d(0x1ce)](_0x5ab5d4))&&(_0x29bb99(_0xb01606[_0x26db7d(0x1c2)],_0x5ab5d4[_0x26db7d(0x1c2)])&&_0x29bb99(_0xb01606[_0x26db7d(0x1d1)],_0x5ab5d4[_0x26db7d(0x1d1)]));}[_0x10e506(0x1ca)](_0xedd20b){const _0x2cf91e=_0x10e506,_0x26777b={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2cf91e(0x1cb)][_0x2cf91e(0x1d6)](_0x2cf91e(0x1c1))[_0x2cf91e(0x1c0)](_0x26777b,[_0xedd20b]),_0x26777b[_0x2cf91e(0x1d4)][0x0];}[_0x10e506(0x1bc)](_0x552d77){const _0x192432=_0x10e506,_0x4c9508=[];return this[_0x192432(0x1cb)][_0x192432(0x1d6)](_0x192432(0x1c1))[_0x192432(0x1cf)](_0x4c9508,_0x552d77),_0x4c9508[0x0];}[_0x10e506(0x1ce)](_0x129b4c){const _0x71adc9=_0x10e506;return _0x71adc9(0x1c1)==_0x129b4c[_0x71adc9(0x1c6)]&&_0x71adc9(0x1be)==_0x129b4c[_0x71adc9(0x1d1)][_0x71adc9(0x1bd)]&&0x1==_0x129b4c[_0x71adc9(0x1d2)]&&!_0x129b4c[_0x71adc9(0x1d0)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fb00b=_0x3007;(function(_0x117b6f,_0x4d2736){const _0x17d9a2=_0x3007,_0xae35f4=_0x117b6f();while(!![]){try{const _0x5adfdf=-parseInt(_0x17d9a2(0x128))/0x1+parseInt(_0x17d9a2(0x122))/0x2+parseInt(_0x17d9a2(0x10d))/0x3*(parseInt(_0x17d9a2(0x10e))/0x4)+parseInt(_0x17d9a2(0x10b))/0x5*(-parseInt(_0x17d9a2(0x114))/0x6)+parseInt(_0x17d9a2(0x11f))/0x7*(parseInt(_0x17d9a2(0x10a))/0x8)+-parseInt(_0x17d9a2(0x11e))/0x9*(-parseInt(_0x17d9a2(0x10f))/0xa)+-parseInt(_0x17d9a2(0x112))/0xb*(-parseInt(_0x17d9a2(0x11a))/0xc);if(_0x5adfdf===_0x4d2736)break;else _0xae35f4['push'](_0xae35f4['shift']());}catch(_0x3e5478){_0xae35f4['push'](_0xae35f4['shift']());}}}(_0x167e,0xafabb));function _0x3007(_0x4f1670,_0x10928c){const _0x167e04=_0x167e();return _0x3007=function(_0x3007be,_0x37bc77){_0x3007be=_0x3007be-0x102;let _0x426700=_0x167e04[_0x3007be];return _0x426700;},_0x3007(_0x4f1670,_0x10928c);}import{ActionCompressor as _0x19cbf3}from'./actioncompressor.js';import{arePositionsEqual as _0x39fd94,getPositionShiftedBy as _0x77b947}from'../utils.js';import{cloneDeep as _0x2e446c}from'es-toolkit/compat';function _0x167e(){const _0x5c8559=['nodes','_decompressSingleOperation','2101ThBBxs','_combineNext','750SKOPQK','InsertOperation','_compareOperations','from','_getCompressorByName','_splitCurrent','9084IaCEtR','every','attributes','compress','291285lLtTRr','91OaXFvh','keys','buffers','324818MpwNyA','_checkOperation','position','substr','data','_compressSingleOperation','872929DQHWHk','iterator','__className','value','_compareAttributes','decompress','length','wasUndone','_context','815336THMLVC','43310oJNYVC','next','590199QnqXvC','12KqXbpB','140FpAuBQ'];_0x167e=function(){return _0x5c8559;};return _0x167e();}export class TypingActionCompressor extends _0x19cbf3{[_0x2fb00b(0x113)](_0x9a3fda,_0x1378be){const _0x3a9d30=_0x2fb00b;return _0x1378be[_0x3a9d30(0x110)][0x0][_0x3a9d30(0x126)]+=_0x9a3fda[_0x3a9d30(0x110)][0x0][_0x3a9d30(0x126)],_0x1378be;}[_0x2fb00b(0x119)](_0x3e407e){const _0x1fed57=_0x2fb00b,_0x4a1d7a=_0x2e446c(_0x3e407e),_0x515c98=_0x4a1d7a[_0x1fed57(0x110)][0x0],_0x126fe8=_0x3e407e[_0x1fed57(0x110)][0x0],_0x3c6ce9=_0x126fe8[_0x1fed57(0x126)][Symbol[_0x1fed57(0x102)]]()[_0x1fed57(0x10c)]()[_0x1fed57(0x104)],_0x440dd9=_0x3c6ce9[_0x1fed57(0x107)];return _0x515c98[_0x1fed57(0x126)]=_0x3c6ce9,_0x126fe8[_0x1fed57(0x126)]=_0x126fe8[_0x1fed57(0x126)][_0x1fed57(0x125)](_0x440dd9),_0x3e407e[_0x1fed57(0x124)]=_0x77b947(_0x3e407e[_0x1fed57(0x124)],_0x440dd9),_0x4a1d7a;}[_0x2fb00b(0x116)](_0x4c4c3c,_0x1d4ce4){const _0x56f96d=_0x2fb00b;if(this[_0x56f96d(0x123)](_0x4c4c3c)&&this[_0x56f96d(0x123)](_0x1d4ce4)){const _0x34231d=_0x4c4c3c[_0x56f96d(0x110)][0x0][_0x56f96d(0x126)][_0x56f96d(0x107)],_0x5ea24d=_0x39fd94(_0x77b947(_0x4c4c3c[_0x56f96d(0x124)],_0x34231d),_0x1d4ce4[_0x56f96d(0x124)]),_0x4fbf22=_0x4c4c3c[_0x56f96d(0x110)][0x0],_0x514512=_0x1d4ce4[_0x56f96d(0x110)][0x0];return _0x5ea24d&&this[_0x56f96d(0x105)](_0x4fbf22,_0x514512);}return!0x1;}[_0x2fb00b(0x127)](_0x175e33){const _0x5d2135=_0x2fb00b,_0x1958af={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5d2135(0x109)][_0x5d2135(0x118)](_0x5d2135(0x115))[_0x5d2135(0x11d)](_0x1958af,[_0x175e33]),_0x1958af[_0x5d2135(0x121)][0x0];}[_0x2fb00b(0x111)](_0x3b9291){const _0x898b7f=_0x2fb00b,_0x2b8a34=[];return this[_0x898b7f(0x109)][_0x898b7f(0x118)](_0x898b7f(0x115))[_0x898b7f(0x106)](_0x2b8a34,_0x3b9291),_0x2b8a34[0x0];}[_0x2fb00b(0x123)](_0x4d500e){const _0xea8637=_0x2fb00b;return _0xea8637(0x115)==_0x4d500e[_0xea8637(0x103)]&&0x1==_0x4d500e[_0xea8637(0x110)][_0xea8637(0x107)]&&_0x4d500e[_0xea8637(0x110)][0x0][_0xea8637(0x126)]&&!_0x4d500e[_0xea8637(0x108)]&&0x1==Array[_0xea8637(0x117)](_0x4d500e[_0xea8637(0x110)][0x0][_0xea8637(0x126)])[_0xea8637(0x107)];}[_0x2fb00b(0x105)](_0x477352,_0x516e19){const _0x5d08c3=_0x2fb00b,_0x1adfb8=Object[_0x5d08c3(0x120)](_0x477352[_0x5d08c3(0x11c)]||{}),_0xc990a4=Object[_0x5d08c3(0x120)](_0x516e19[_0x5d08c3(0x11c)]||{});return _0x1adfb8[_0x5d08c3(0x107)]===_0xc990a4[_0x5d08c3(0x107)]&&_0x1adfb8[_0x5d08c3(0x11b)](_0x466027=>_0x516e19[_0x5d08c3(0x11c)][_0x466027]&&_0x516e19[_0x5d08c3(0x11c)][_0x466027]===_0x477352[_0x5d08c3(0x11c)][_0x466027]);}}
23
+ const _0x456969=_0xa385;(function(_0x63a1d6,_0x1f5d6a){const _0x488e6d=_0xa385,_0x13d4da=_0x63a1d6();while(!![]){try{const _0x36fd3b=parseInt(_0x488e6d(0x90))/0x1+parseInt(_0x488e6d(0xa6))/0x2+-parseInt(_0x488e6d(0x9a))/0x3*(-parseInt(_0x488e6d(0x9b))/0x4)+-parseInt(_0x488e6d(0xa3))/0x5+parseInt(_0x488e6d(0xa1))/0x6*(-parseInt(_0x488e6d(0xa4))/0x7)+parseInt(_0x488e6d(0x8e))/0x8+-parseInt(_0x488e6d(0x95))/0x9*(parseInt(_0x488e6d(0x8c))/0xa);if(_0x36fd3b===_0x1f5d6a)break;else _0x13d4da['push'](_0x13d4da['shift']());}catch(_0x5355c8){_0x13d4da['push'](_0x13d4da['shift']());}}}(_0x1ae3,0xc8738));import{ActionCompressor as _0x44fd08}from'./actioncompressor.js';function _0xa385(_0x52e7bf,_0x26efc4){const _0x1ae385=_0x1ae3();return _0xa385=function(_0xa38512,_0x2dc040){_0xa38512=_0xa38512-0x89;let _0x21eec8=_0x1ae385[_0xa38512];return _0x21eec8;},_0xa385(_0x52e7bf,_0x26efc4);}import{arePositionsEqual as _0x529da1,getPositionShiftedBy as _0x4c46f}from'../utils.js';import{cloneDeep as _0x27dcf2}from'es-toolkit/compat';function _0x1ae3(){const _0x495960=['length','position','iterator','next','10JdRqkG','value','12838824bSHyAB','InsertOperation','1233308iCqQXk','_decompressSingleOperation','nodes','__className','compress','14659893gMRXub','buffers','from','_combineNext','every','339LLbCHF','55068EnqGfn','_compressSingleOperation','keys','attributes','_splitCurrent','_context','222jIqGtM','_getCompressorByName','4189120NYysPX','241969RczJhI','_compareOperations','345792IGcEWK','_compareAttributes','decompress','data','substr','_checkOperation','wasUndone'];_0x1ae3=function(){return _0x495960;};return _0x1ae3();}export class TypingActionCompressor extends _0x44fd08{[_0x456969(0x98)](_0x46afd6,_0x249bcc){const _0x4ea055=_0x456969;return _0x249bcc[_0x4ea055(0x92)][0x0][_0x4ea055(0xa9)]+=_0x46afd6[_0x4ea055(0x92)][0x0][_0x4ea055(0xa9)],_0x249bcc;}[_0x456969(0x9f)](_0x3a483c){const _0x266927=_0x456969,_0x211590=_0x27dcf2(_0x3a483c),_0x19801b=_0x211590[_0x266927(0x92)][0x0],_0x5a471b=_0x3a483c[_0x266927(0x92)][0x0],_0x135ed4=_0x5a471b[_0x266927(0xa9)][Symbol[_0x266927(0x8a)]]()[_0x266927(0x8b)]()[_0x266927(0x8d)],_0x556d3c=_0x135ed4[_0x266927(0xad)];return _0x19801b[_0x266927(0xa9)]=_0x135ed4,_0x5a471b[_0x266927(0xa9)]=_0x5a471b[_0x266927(0xa9)][_0x266927(0xaa)](_0x556d3c),_0x3a483c[_0x266927(0x89)]=_0x4c46f(_0x3a483c[_0x266927(0x89)],_0x556d3c),_0x211590;}[_0x456969(0xa5)](_0xc782ce,_0x5912ea){const _0x191bf8=_0x456969;if(this[_0x191bf8(0xab)](_0xc782ce)&&this[_0x191bf8(0xab)](_0x5912ea)){const _0xdaea31=_0xc782ce[_0x191bf8(0x92)][0x0][_0x191bf8(0xa9)][_0x191bf8(0xad)],_0xc6d19=_0x529da1(_0x4c46f(_0xc782ce[_0x191bf8(0x89)],_0xdaea31),_0x5912ea[_0x191bf8(0x89)]),_0x289bf4=_0xc782ce[_0x191bf8(0x92)][0x0],_0x5545b7=_0x5912ea[_0x191bf8(0x92)][0x0];return _0xc6d19&&this[_0x191bf8(0xa7)](_0x289bf4,_0x5545b7);}return!0x1;}[_0x456969(0x9c)](_0x89d774){const _0x51c715=_0x456969,_0x3604d6={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x51c715(0xa0)][_0x51c715(0xa2)](_0x51c715(0x8f))[_0x51c715(0x94)](_0x3604d6,[_0x89d774]),_0x3604d6[_0x51c715(0x96)][0x0];}[_0x456969(0x91)](_0x514715){const _0x3d5e26=_0x456969,_0xa92997=[];return this[_0x3d5e26(0xa0)][_0x3d5e26(0xa2)](_0x3d5e26(0x8f))[_0x3d5e26(0xa8)](_0xa92997,_0x514715),_0xa92997[0x0];}[_0x456969(0xab)](_0x190dfd){const _0x58092c=_0x456969;return _0x58092c(0x8f)==_0x190dfd[_0x58092c(0x93)]&&0x1==_0x190dfd[_0x58092c(0x92)][_0x58092c(0xad)]&&_0x190dfd[_0x58092c(0x92)][0x0][_0x58092c(0xa9)]&&!_0x190dfd[_0x58092c(0xac)]&&0x1==Array[_0x58092c(0x97)](_0x190dfd[_0x58092c(0x92)][0x0][_0x58092c(0xa9)])[_0x58092c(0xad)];}[_0x456969(0xa7)](_0x2c9606,_0x32f0e3){const _0x3f6475=_0x456969,_0x55d872=Object[_0x3f6475(0x9d)](_0x2c9606[_0x3f6475(0x9e)]||{}),_0x21596b=Object[_0x3f6475(0x9d)](_0x32f0e3[_0x3f6475(0x9e)]||{});return _0x55d872[_0x3f6475(0xad)]===_0x21596b[_0x3f6475(0xad)]&&_0x55d872[_0x3f6475(0x99)](_0x5d01d3=>_0x32f0e3[_0x3f6475(0x9e)][_0x5d01d3]&&_0x32f0e3[_0x3f6475(0x9e)][_0x5d01d3]===_0x2c9606[_0x3f6475(0x9e)][_0x5d01d3]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54916c=_0x7a1c;(function(_0x2bca8b,_0x2f7527){const _0x1d2c56=_0x7a1c,_0x43f91c=_0x2bca8b();while(!![]){try{const _0x6ff271=-parseInt(_0x1d2c56(0x1dc))/0x1*(-parseInt(_0x1d2c56(0x1e3))/0x2)+parseInt(_0x1d2c56(0x1d3))/0x3*(parseInt(_0x1d2c56(0x1e9))/0x4)+-parseInt(_0x1d2c56(0x1ca))/0x5*(parseInt(_0x1d2c56(0x1cf))/0x6)+parseInt(_0x1d2c56(0x1d5))/0x7*(-parseInt(_0x1d2c56(0x1cc))/0x8)+parseInt(_0x1d2c56(0x1df))/0x9*(parseInt(_0x1d2c56(0x1e1))/0xa)+-parseInt(_0x1d2c56(0x1c4))/0xb+parseInt(_0x1d2c56(0x1db))/0xc*(-parseInt(_0x1d2c56(0x1de))/0xd);if(_0x6ff271===_0x2f7527)break;else _0x43f91c['push'](_0x43f91c['shift']());}catch(_0x4ac6e5){_0x43f91c['push'](_0x43f91c['shift']());}}}(_0x13ba,0x32ca9));import{ActionCompressor as _0x4ff4e6}from'./actioncompressor.js';import{arePositionsEqual as _0x28f140}from'../utils.js';function _0x13ba(){const _0xbc1a8c=['name','98331uokoUO','_getCompressorByName','189TFioLr','push','shift','_decompressSingleOperation','_context','stickiness','245436tkocdj','320783qEnZoq','_id','65oofVku','99DlckSD','compress','363190cFDxov','__className','2BQlVIt','newRange','end','user:','user:position:','MarkerOperation','28oRpoAg','2752959QWyFTe','_compressSingleOperation','start','split','decompress','startsWith','35caMYgn','oldRange','93032pAbLJa','buffers','_compareOperations','64434KTIAdA','types','toNone'];_0x13ba=function(){return _0xbc1a8c;};return _0x13ba();}import{cloneDeep as _0x3b6d45}from'es-toolkit/compat';function _0x7a1c(_0x327b21,_0x2275f4){const _0x13ba45=_0x13ba();return _0x7a1c=function(_0x7a1c39,_0x5b2043){_0x7a1c39=_0x7a1c39-0x1c4;let _0x24b8f8=_0x13ba45[_0x7a1c39];return _0x24b8f8;},_0x7a1c(_0x327b21,_0x2275f4);}export class UserSelectionActionCompressor extends _0x4ff4e6{[_0x54916c(0x1e0)](_0x406d4b,_0x27453c){const _0x3c8a6c=_0x54916c;if(!this[_0x3c8a6c(0x1ce)](_0x27453c[0x0],_0x27453c[0x1]))return!0x1;const _0x3107a2=_0x27453c[_0x3c8a6c(0x1d7)]();return _0x3107a2[_0x3c8a6c(0x1cb)]=null,_0x3107a2[_0x3c8a6c(0x1e4)]&&_0x28f140(_0x3107a2[_0x3c8a6c(0x1e4)][_0x3c8a6c(0x1c6)],_0x3107a2[_0x3c8a6c(0x1e4)][_0x3c8a6c(0x1e5)])&&(_0x3107a2[_0x3c8a6c(0x1e4)][_0x3c8a6c(0x1e5)]=null),_0x27453c[_0x3c8a6c(0x1d7)](),_0x406d4b[_0x3c8a6c(0x1d0)][_0x3c8a6c(0x1d6)](this[_0x3c8a6c(0x1dd)]),_0x406d4b[_0x3c8a6c(0x1d0)][_0x3c8a6c(0x1d6)](0x0),_0x406d4b[_0x3c8a6c(0x1cd)][_0x3c8a6c(0x1d6)](this[_0x3c8a6c(0x1c5)](_0x3107a2)),!0x0;}[_0x54916c(0x1c8)](_0x2ad8e8,_0x10e2a0){const _0x45be86=_0x54916c,_0x15ad87=this[_0x45be86(0x1d8)](_0x10e2a0);_0x15ad87[_0x45be86(0x1e4)]&&!_0x15ad87[_0x45be86(0x1e4)][_0x45be86(0x1e5)]&&(_0x15ad87[_0x45be86(0x1e4)][_0x45be86(0x1e5)]=_0x3b6d45(_0x15ad87[_0x45be86(0x1e4)][_0x45be86(0x1c6)]));const _0x4cacc9=_0x3b6d45(_0x15ad87);_0x4cacc9[_0x45be86(0x1e4)]&&(_0x4cacc9[_0x45be86(0x1e4)][_0x45be86(0x1c6)][_0x45be86(0x1da)]=_0x45be86(0x1d1),_0x4cacc9[_0x45be86(0x1e4)][_0x45be86(0x1e5)]=_0x3b6d45(_0x4cacc9[_0x45be86(0x1e4)][_0x45be86(0x1c6)])),_0x4cacc9[_0x45be86(0x1d2)]=_0x45be86(0x1e7)+_0x4cacc9[_0x45be86(0x1d2)][_0x45be86(0x1c7)](':')[0x2],_0x10e2a0[_0x45be86(0x1d0)][_0x45be86(0x1d7)](),_0x2ad8e8[_0x45be86(0x1d6)](_0x15ad87),_0x2ad8e8[_0x45be86(0x1d6)](_0x4cacc9);}[_0x54916c(0x1c5)](_0x1ca6ad){const _0x1774ea=_0x54916c,_0x98802a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1774ea(0x1d9)][_0x1774ea(0x1d4)](_0x1774ea(0x1e8))[_0x1774ea(0x1e0)](_0x98802a,[_0x1ca6ad]),_0x98802a[_0x1774ea(0x1cd)][0x0];}[_0x54916c(0x1d8)](_0x165130){const _0x260708=_0x54916c,_0x3b34d1=[];return this[_0x260708(0x1d9)][_0x260708(0x1d4)](_0x260708(0x1e8))[_0x260708(0x1c8)](_0x3b34d1,_0x165130),_0x3b34d1[0x0];}[_0x54916c(0x1ce)](_0x2e40e4,_0x55cfd2){const _0x256e19=_0x54916c;return!(!_0x2e40e4||!_0x55cfd2)&&(_0x256e19(0x1e8)==_0x2e40e4[_0x256e19(0x1e2)]&&_0x256e19(0x1e8)==_0x55cfd2[_0x256e19(0x1e2)]&&!(!_0x2e40e4[_0x256e19(0x1d2)][_0x256e19(0x1c9)](_0x256e19(0x1e6))||!_0x55cfd2[_0x256e19(0x1d2)][_0x256e19(0x1c9)](_0x256e19(0x1e6))||_0x2e40e4[_0x256e19(0x1d2)]==_0x55cfd2[_0x256e19(0x1d2)]));}}
23
+ const _0x33ecca=_0x37a3;(function(_0x2bebbf,_0x52f923){const _0x52426b=_0x37a3,_0x432642=_0x2bebbf();while(!![]){try{const _0x109f8c=-parseInt(_0x52426b(0xd3))/0x1*(parseInt(_0x52426b(0xcf))/0x2)+parseInt(_0x52426b(0xc7))/0x3*(-parseInt(_0x52426b(0xd4))/0x4)+-parseInt(_0x52426b(0xc5))/0x5+parseInt(_0x52426b(0xe0))/0x6+parseInt(_0x52426b(0xc9))/0x7+-parseInt(_0x52426b(0xe2))/0x8*(parseInt(_0x52426b(0xdd))/0x9)+parseInt(_0x52426b(0xda))/0xa;if(_0x109f8c===_0x52f923)break;else _0x432642['push'](_0x432642['shift']());}catch(_0x3cd516){_0x432642['push'](_0x432642['shift']());}}}(_0x51a9,0xac85c));import{ActionCompressor as _0x13ef4d}from'./actioncompressor.js';function _0x37a3(_0x28d197,_0x105853){const _0x51a9d3=_0x51a9();return _0x37a3=function(_0x37a317,_0x5c0b70){_0x37a317=_0x37a317-0xc3;let _0x3cfaac=_0x51a9d3[_0x37a317];return _0x3cfaac;},_0x37a3(_0x28d197,_0x105853);}function _0x51a9(){const _0x4620f8=['user:','3612492YcEgio','start','1472ZEjbvu','user:position:','buffers','decompress','toNone','newRange','4966835lakNAE','_context','239775kKXaeq','stickiness','5094054CnUSNW','MarkerOperation','_id','_compareOperations','_decompressSingleOperation','oldRange','673732dEyyFR','_compressSingleOperation','compress','end','4CvuDvN','8tblZCt','__className','split','shift','types','push','30017690FTYBDV','startsWith','_getCompressorByName','54990kNEUyK','name'];_0x51a9=function(){return _0x4620f8;};return _0x51a9();}import{arePositionsEqual as _0x5eaf51}from'../utils.js';import{cloneDeep as _0x4aea1d}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x13ef4d{[_0x33ecca(0xd1)](_0x271cb5,_0x50c17a){const _0x4e2847=_0x33ecca;if(!this[_0x4e2847(0xcc)](_0x50c17a[0x0],_0x50c17a[0x1]))return!0x1;const _0x151058=_0x50c17a[_0x4e2847(0xd7)]();return _0x151058[_0x4e2847(0xce)]=null,_0x151058[_0x4e2847(0xc4)]&&_0x5eaf51(_0x151058[_0x4e2847(0xc4)][_0x4e2847(0xe1)],_0x151058[_0x4e2847(0xc4)][_0x4e2847(0xd2)])&&(_0x151058[_0x4e2847(0xc4)][_0x4e2847(0xd2)]=null),_0x50c17a[_0x4e2847(0xd7)](),_0x271cb5[_0x4e2847(0xd8)][_0x4e2847(0xd9)](this[_0x4e2847(0xcb)]),_0x271cb5[_0x4e2847(0xd8)][_0x4e2847(0xd9)](0x0),_0x271cb5[_0x4e2847(0xe4)][_0x4e2847(0xd9)](this[_0x4e2847(0xd0)](_0x151058)),!0x0;}[_0x33ecca(0xe5)](_0x17855a,_0x2b2ecd){const _0x3eba73=_0x33ecca,_0x196af8=this[_0x3eba73(0xcd)](_0x2b2ecd);_0x196af8[_0x3eba73(0xc4)]&&!_0x196af8[_0x3eba73(0xc4)][_0x3eba73(0xd2)]&&(_0x196af8[_0x3eba73(0xc4)][_0x3eba73(0xd2)]=_0x4aea1d(_0x196af8[_0x3eba73(0xc4)][_0x3eba73(0xe1)]));const _0x222c95=_0x4aea1d(_0x196af8);_0x222c95[_0x3eba73(0xc4)]&&(_0x222c95[_0x3eba73(0xc4)][_0x3eba73(0xe1)][_0x3eba73(0xc8)]=_0x3eba73(0xc3),_0x222c95[_0x3eba73(0xc4)][_0x3eba73(0xd2)]=_0x4aea1d(_0x222c95[_0x3eba73(0xc4)][_0x3eba73(0xe1)])),_0x222c95[_0x3eba73(0xde)]=_0x3eba73(0xe3)+_0x222c95[_0x3eba73(0xde)][_0x3eba73(0xd6)](':')[0x2],_0x2b2ecd[_0x3eba73(0xd8)][_0x3eba73(0xd7)](),_0x17855a[_0x3eba73(0xd9)](_0x196af8),_0x17855a[_0x3eba73(0xd9)](_0x222c95);}[_0x33ecca(0xd0)](_0x1c8399){const _0x3aa1ac=_0x33ecca,_0x17a9b2={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3aa1ac(0xc6)][_0x3aa1ac(0xdc)](_0x3aa1ac(0xca))[_0x3aa1ac(0xd1)](_0x17a9b2,[_0x1c8399]),_0x17a9b2[_0x3aa1ac(0xe4)][0x0];}[_0x33ecca(0xcd)](_0xcfe5c7){const _0x2ace12=_0x33ecca,_0x5e3726=[];return this[_0x2ace12(0xc6)][_0x2ace12(0xdc)](_0x2ace12(0xca))[_0x2ace12(0xe5)](_0x5e3726,_0xcfe5c7),_0x5e3726[0x0];}[_0x33ecca(0xcc)](_0x5eadf5,_0x47be8e){const _0x2e91c1=_0x33ecca;return!(!_0x5eadf5||!_0x47be8e)&&(_0x2e91c1(0xca)==_0x5eadf5[_0x2e91c1(0xd5)]&&_0x2e91c1(0xca)==_0x47be8e[_0x2e91c1(0xd5)]&&!(!_0x5eadf5[_0x2e91c1(0xde)][_0x2e91c1(0xdb)](_0x2e91c1(0xdf))||!_0x47be8e[_0x2e91c1(0xde)][_0x2e91c1(0xdb)](_0x2e91c1(0xdf))||_0x5eadf5[_0x2e91c1(0xde)]==_0x47be8e[_0x2e91c1(0xde)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd7825a=_0x5d70;function _0x2cca(){const _0x554e4b=['RenameOperation','comment','__className','_compressorByName','12159216yMcufR','1372288tIsBMd','67485TjASdI','SplitOperation','getDescriptor','CommentMarkerOperation','baseVersion','suggestion','40pWpedf','AttributeOperation','_getCompressorByName','_compressorById','RootAttributeOperation','no-operations-provided','decompress','_protobufFactory','_registerCompressor','decompress-compressor-not-found','MarkerOperation','types','TypingAction','50207eSQwCR','18wtijFY','5388516ayIScT','_registerActionCompressor','107820ANIREp','length','forEach','1791726PEbLFo','InsertOperation','ForwardDeletingAction','5efqpnG','1914XPUalE','MergeOperation','RootOperation','SuggestionMarkerOperation','DeletingAction','set','_registerOperationCompressor','UserSelectionAction','NoOperation','MoveOperation','get','compress'];_0x2cca=function(){return _0x554e4b;};return _0x2cca();}(function(_0xa216bb,_0x5d7299){const _0x53a57e=_0x5d70,_0x377d26=_0xa216bb();while(!![]){try{const _0x3db4b6=parseInt(_0x53a57e(0x1a4))/0x1*(-parseInt(_0x53a57e(0x1a5))/0x2)+parseInt(_0x53a57e(0x1c1))/0x3*(-parseInt(_0x53a57e(0x1c7))/0x4)+-parseInt(_0x53a57e(0x1ae))/0x5*(-parseInt(_0x53a57e(0x1ab))/0x6)+parseInt(_0x53a57e(0x1a6))/0x7+-parseInt(_0x53a57e(0x1c0))/0x8+-parseInt(_0x53a57e(0x1bf))/0x9+-parseInt(_0x53a57e(0x1a8))/0xa*(-parseInt(_0x53a57e(0x1af))/0xb);if(_0x3db4b6===_0x5d7299)break;else _0x377d26['push'](_0x377d26['shift']());}catch(_0x3abe82){_0x377d26['push'](_0x377d26['shift']());}}}(_0x2cca,0xb5e90));import{CKEditorError as _0xe2916}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x1035a0}from'./protobuffactory.js';import{OperationCompressor as _0x2880a5}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x3639a9}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x401162}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x2e20de}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x45d547}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x9abf71}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x5a7400}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x2a2c58}from'./actioncompressor/deletingactioncompressor.js';function _0x5d70(_0x1b939c,_0x1ec79b){const _0x2ccaa9=_0x2cca();return _0x5d70=function(_0x5d70de,_0x46d267){_0x5d70de=_0x5d70de-0x1a3;let _0x2e70be=_0x2ccaa9[_0x5d70de];return _0x2e70be;},_0x5d70(_0x1b939c,_0x1ec79b);}import{ForwardDeletingActionCompressor as _0x175c71}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x169e80}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0xd7825a(0x1ca)];[_0xd7825a(0x1be)];[_0xd7825a(0x1ce)];constructor(){const _0x304685=_0xd7825a;this[_0x304685(0x1ca)]=new Map(),this[_0x304685(0x1be)]=new Map(),this[_0x304685(0x1ce)]=new _0x1035a0();const _0x407336=this[_0x304685(0x1ce)][_0x304685(0x1c3)](_0x304685(0x1d1));this[_0x304685(0x1cf)](0x1,_0x304685(0x1b7),new _0x45d547(0x1,_0x304685(0x1b7),void 0x0)),this[_0x304685(0x1b5)](0xa,_0x304685(0x1c8),_0x3639a9),this[_0x304685(0x1b5)](0xb,_0x304685(0x1ac),_0x401162),this[_0x304685(0x1b5)](0xc,_0x304685(0x1d1),_0x2e20de),this[_0x304685(0x1b5)](0xd,_0x304685(0x1b0),_0x2880a5),this[_0x304685(0x1b5)](0xe,_0x304685(0x1b8),_0x2880a5),this[_0x304685(0x1b5)](0xf,_0x304685(0x1bb),_0x2880a5),this[_0x304685(0x1b5)](0x10,_0x304685(0x1cb),_0x3639a9),this[_0x304685(0x1b5)](0x11,_0x304685(0x1c2),_0x2880a5),this[_0x304685(0x1cf)](0x12,_0x304685(0x1c4),new _0x9abf71(0x12,_0x304685(0x1d1),_0x407336,_0x304685(0x1bc))),this[_0x304685(0x1cf)](0x13,_0x304685(0x1b2),new _0x9abf71(0x13,_0x304685(0x1d1),_0x407336,_0x304685(0x1c6))),this[_0x304685(0x1b5)](0x14,_0x304685(0x1b1),_0x2880a5),this[_0x304685(0x1a7)](0x64,_0x304685(0x1a3),_0x5a7400),this[_0x304685(0x1a7)](0x65,_0x304685(0x1b3),_0x2a2c58),this[_0x304685(0x1a7)](0x66,_0x304685(0x1ad),_0x175c71),this[_0x304685(0x1a7)](0x67,_0x304685(0x1b6),_0x169e80);}[_0xd7825a(0x1ba)](_0x3de836){const _0x17db05=_0xd7825a;if(!_0x3de836||!_0x3de836[0x0])throw new _0xe2916(_0x17db05(0x1cc),this);const _0x1b4068={'types':[],'buffers':[],'baseVersion':_0x3de836[0x0][_0x17db05(0x1c5)]};for(;_0x3de836[_0x17db05(0x1a9)];)this[_0x17db05(0x1c9)](_0x17db05(0x1b6))[_0x17db05(0x1ba)](_0x1b4068,_0x3de836)||this[_0x17db05(0x1c9)](_0x17db05(0x1a3))[_0x17db05(0x1ba)](_0x1b4068,_0x3de836)||this[_0x17db05(0x1c9)](_0x17db05(0x1b3))[_0x17db05(0x1ba)](_0x1b4068,_0x3de836)||this[_0x17db05(0x1c9)](_0x17db05(0x1ad))[_0x17db05(0x1ba)](_0x1b4068,_0x3de836)||this[_0x17db05(0x1c9)](_0x17db05(0x1c4))[_0x17db05(0x1ba)](_0x1b4068,_0x3de836)||this[_0x17db05(0x1c9)](_0x17db05(0x1b2))[_0x17db05(0x1ba)](_0x1b4068,_0x3de836)||this[_0x17db05(0x1c9)](_0x3de836[0x0][_0x17db05(0x1bd)])[_0x17db05(0x1ba)](_0x1b4068,_0x3de836);return _0x1b4068;}[_0xd7825a(0x1cd)](_0x6f5b5){const _0x10a1d6=_0xd7825a,_0x361ce2=[];for(;_0x6f5b5[_0x10a1d6(0x1d2)][_0x10a1d6(0x1a9)];){const _0x3f547f=this[_0x10a1d6(0x1ca)][_0x10a1d6(0x1b9)](_0x6f5b5[_0x10a1d6(0x1d2)][0x0]);if(!_0x3f547f)throw new _0xe2916(_0x10a1d6(0x1d0),this,{'type':_0x6f5b5[_0x10a1d6(0x1d2)][0x0]});_0x3f547f[_0x10a1d6(0x1cd)](_0x361ce2,_0x6f5b5);}return _0x361ce2[_0x10a1d6(0x1aa)]((_0x23e591,_0x2edbef)=>_0x23e591[_0x10a1d6(0x1c5)]=_0x6f5b5[_0x10a1d6(0x1c5)]+_0x2edbef),_0x361ce2;}[_0xd7825a(0x1c9)](_0x1d47de){const _0x380167=_0xd7825a;return this[_0x380167(0x1be)][_0x380167(0x1b9)](_0x1d47de);}[_0xd7825a(0x1b5)](_0x39d8a9,_0x2ce78f,_0x33a400){const _0xe90428=_0xd7825a,_0x279300=new _0x33a400(_0x39d8a9,_0x2ce78f,this[_0xe90428(0x1ce)][_0xe90428(0x1c3)](_0x2ce78f));this[_0xe90428(0x1cf)](_0x39d8a9,_0x2ce78f,_0x279300);}[_0xd7825a(0x1a7)](_0x4a4b32,_0x2e9430,_0x425b4c){const _0x3b6fdf=_0xd7825a,_0x5e17ad=new _0x425b4c(_0x4a4b32,this);this[_0x3b6fdf(0x1cf)](_0x4a4b32,_0x2e9430,_0x5e17ad);}[_0xd7825a(0x1cf)](_0x3aa4eb,_0x22da7b,_0x478901){const _0x230389=_0xd7825a;this[_0x230389(0x1ca)][_0x230389(0x1b4)](_0x3aa4eb,_0x478901),this[_0x230389(0x1be)][_0x230389(0x1b4)](_0x22da7b,_0x478901);}}
23
+ const _0x4222b3=_0x35e6;(function(_0x2a38b9,_0x35b191){const _0x5fad80=_0x35e6,_0x5e2c43=_0x2a38b9();while(!![]){try{const _0x5acb54=parseInt(_0x5fad80(0x206))/0x1+-parseInt(_0x5fad80(0x1ec))/0x2*(parseInt(_0x5fad80(0x1f1))/0x3)+-parseInt(_0x5fad80(0x20f))/0x4+-parseInt(_0x5fad80(0x1ff))/0x5+parseInt(_0x5fad80(0x1f0))/0x6*(parseInt(_0x5fad80(0x210))/0x7)+parseInt(_0x5fad80(0x1f2))/0x8*(parseInt(_0x5fad80(0x1e8))/0x9)+parseInt(_0x5fad80(0x1ee))/0xa;if(_0x5acb54===_0x35b191)break;else _0x5e2c43['push'](_0x5e2c43['shift']());}catch(_0x443911){_0x5e2c43['push'](_0x5e2c43['shift']());}}}(_0x227c,0xb6e21));import{CKEditorError as _0x28f451}from'ckeditor5/src/utils.js';function _0x227c(){const _0x14a5df=['3904992uuYZpQ','230391OLEbCr','_compressorById','decompress','comment','no-operations-provided','decompress-compressor-not-found','MoveOperation','18XqsJQL','__className','NoOperation','_registerCompressor','85336VOeRjz','RenameOperation','26227960CRFMWR','_protobufFactory','24ADKoOg','81fnbaci','1534312etJmAq','_compressorByName','InsertOperation','forEach','getDescriptor','baseVersion','_getCompressorByName','SuggestionMarkerOperation','MarkerOperation','UserSelectionAction','ForwardDeletingAction','compress','RootAttributeOperation','7101600FJnsSa','MergeOperation','DeletingAction','_registerOperationCompressor','CommentMarkerOperation','types','RootOperation','1159667yTfSeh','length','_registerActionCompressor','AttributeOperation','suggestion','TypingAction','set','SplitOperation','get'];_0x227c=function(){return _0x14a5df;};return _0x227c();}import{ProtobufFactory as _0x504f08}from'./protobuffactory.js';import{OperationCompressor as _0x424697}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x44244e}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x25b905}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x4cbb58}from'./operationcompressor/markeroperationcompressor.js';function _0x35e6(_0x4d0810,_0xe8ab40){const _0x227c12=_0x227c();return _0x35e6=function(_0x35e636,_0x3196cb){_0x35e636=_0x35e636-0x1e8;let _0x28c999=_0x227c12[_0x35e636];return _0x28c999;},_0x35e6(_0x4d0810,_0xe8ab40);}import{NoOperationCompressor as _0x39a3ef}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0xb7dcd5}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x27d36e}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x3b39e1}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x2530eb}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x4ee290}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x4222b3(0x211)];[_0x4222b3(0x1f3)];[_0x4222b3(0x1ef)];constructor(){const _0x344635=_0x4222b3;this[_0x344635(0x211)]=new Map(),this[_0x344635(0x1f3)]=new Map(),this[_0x344635(0x1ef)]=new _0x504f08();const _0x44aad7=this[_0x344635(0x1ef)][_0x344635(0x1f6)](_0x344635(0x1fa));this[_0x344635(0x1eb)](0x1,_0x344635(0x1ea),new _0x39a3ef(0x1,_0x344635(0x1ea),void 0x0)),this[_0x344635(0x202)](0xa,_0x344635(0x209),_0x44244e),this[_0x344635(0x202)](0xb,_0x344635(0x1f4),_0x25b905),this[_0x344635(0x202)](0xc,_0x344635(0x1fa),_0x4cbb58),this[_0x344635(0x202)](0xd,_0x344635(0x200),_0x424697),this[_0x344635(0x202)](0xe,_0x344635(0x216),_0x424697),this[_0x344635(0x202)](0xf,_0x344635(0x1ed),_0x424697),this[_0x344635(0x202)](0x10,_0x344635(0x1fe),_0x44244e),this[_0x344635(0x202)](0x11,_0x344635(0x20d),_0x424697),this[_0x344635(0x1eb)](0x12,_0x344635(0x203),new _0xb7dcd5(0x12,_0x344635(0x1fa),_0x44aad7,_0x344635(0x213))),this[_0x344635(0x1eb)](0x13,_0x344635(0x1f9),new _0xb7dcd5(0x13,_0x344635(0x1fa),_0x44aad7,_0x344635(0x20a))),this[_0x344635(0x202)](0x14,_0x344635(0x205),_0x424697),this[_0x344635(0x208)](0x64,_0x344635(0x20b),_0x27d36e),this[_0x344635(0x208)](0x65,_0x344635(0x201),_0x3b39e1),this[_0x344635(0x208)](0x66,_0x344635(0x1fc),_0x2530eb),this[_0x344635(0x208)](0x67,_0x344635(0x1fb),_0x4ee290);}[_0x4222b3(0x1fd)](_0x55c67){const _0x17ad43=_0x4222b3;if(!_0x55c67||!_0x55c67[0x0])throw new _0x28f451(_0x17ad43(0x214),this);const _0x1c9fe8={'types':[],'buffers':[],'baseVersion':_0x55c67[0x0][_0x17ad43(0x1f7)]};for(;_0x55c67[_0x17ad43(0x207)];)this[_0x17ad43(0x1f8)](_0x17ad43(0x1fb))[_0x17ad43(0x1fd)](_0x1c9fe8,_0x55c67)||this[_0x17ad43(0x1f8)](_0x17ad43(0x20b))[_0x17ad43(0x1fd)](_0x1c9fe8,_0x55c67)||this[_0x17ad43(0x1f8)](_0x17ad43(0x201))[_0x17ad43(0x1fd)](_0x1c9fe8,_0x55c67)||this[_0x17ad43(0x1f8)](_0x17ad43(0x1fc))[_0x17ad43(0x1fd)](_0x1c9fe8,_0x55c67)||this[_0x17ad43(0x1f8)](_0x17ad43(0x203))[_0x17ad43(0x1fd)](_0x1c9fe8,_0x55c67)||this[_0x17ad43(0x1f8)](_0x17ad43(0x1f9))[_0x17ad43(0x1fd)](_0x1c9fe8,_0x55c67)||this[_0x17ad43(0x1f8)](_0x55c67[0x0][_0x17ad43(0x1e9)])[_0x17ad43(0x1fd)](_0x1c9fe8,_0x55c67);return _0x1c9fe8;}[_0x4222b3(0x212)](_0x5753f9){const _0x1fd2e7=_0x4222b3,_0x395c87=[];for(;_0x5753f9[_0x1fd2e7(0x204)][_0x1fd2e7(0x207)];){const _0x305b2d=this[_0x1fd2e7(0x211)][_0x1fd2e7(0x20e)](_0x5753f9[_0x1fd2e7(0x204)][0x0]);if(!_0x305b2d)throw new _0x28f451(_0x1fd2e7(0x215),this,{'type':_0x5753f9[_0x1fd2e7(0x204)][0x0]});_0x305b2d[_0x1fd2e7(0x212)](_0x395c87,_0x5753f9);}return _0x395c87[_0x1fd2e7(0x1f5)]((_0x25322d,_0x1168ec)=>_0x25322d[_0x1fd2e7(0x1f7)]=_0x5753f9[_0x1fd2e7(0x1f7)]+_0x1168ec),_0x395c87;}[_0x4222b3(0x1f8)](_0x2e9263){const _0x1fc48a=_0x4222b3;return this[_0x1fc48a(0x1f3)][_0x1fc48a(0x20e)](_0x2e9263);}[_0x4222b3(0x202)](_0x2efe2c,_0x179b01,_0x17e7db){const _0x37b326=_0x4222b3,_0x1455b9=new _0x17e7db(_0x2efe2c,_0x179b01,this[_0x37b326(0x1ef)][_0x37b326(0x1f6)](_0x179b01));this[_0x37b326(0x1eb)](_0x2efe2c,_0x179b01,_0x1455b9);}[_0x4222b3(0x208)](_0x278e7b,_0x1b6ad5,_0x378e01){const _0x20fa5b=_0x4222b3,_0x403885=new _0x378e01(_0x278e7b,this);this[_0x20fa5b(0x1eb)](_0x278e7b,_0x1b6ad5,_0x403885);}[_0x4222b3(0x1eb)](_0x2ff2d1,_0x4f96eb,_0x4bc251){const _0x52ab08=_0x4222b3;this[_0x52ab08(0x211)][_0x52ab08(0x20c)](_0x2ff2d1,_0x4bc251),this[_0x52ab08(0x1f3)][_0x52ab08(0x20c)](_0x4f96eb,_0x4bc251);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1a8f(){var _0x53fe45=['4qJesuu','2451591krElov','445608cMEGSZ','679304hxwodE','454582vCybEo','115557bmjtPb','1478582HeTAfq','822835aIjuaw','6cCEazQ'];_0x1a8f=function(){return _0x53fe45;};return _0x1a8f();}function _0x5b1e(_0x420716,_0x2a72bd){var _0x1a8fbd=_0x1a8f();return _0x5b1e=function(_0x5b1eec,_0x283775){_0x5b1eec=_0x5b1eec-0x1d6;var _0x35f4ff=_0x1a8fbd[_0x5b1eec];return _0x35f4ff;},_0x5b1e(_0x420716,_0x2a72bd);}(function(_0x3bdbe9,_0x342446){var _0x13de12=_0x5b1e,_0x44260f=_0x3bdbe9();while(!![]){try{var _0x342e83=-parseInt(_0x13de12(0x1d6))/0x1+parseInt(_0x13de12(0x1de))/0x2+parseInt(_0x13de12(0x1dc))/0x3*(-parseInt(_0x13de12(0x1da))/0x4)+-parseInt(_0x13de12(0x1d8))/0x5*(-parseInt(_0x13de12(0x1d9))/0x6)+parseInt(_0x13de12(0x1d7))/0x7+parseInt(_0x13de12(0x1dd))/0x8+-parseInt(_0x13de12(0x1db))/0x9;if(_0x342e83===_0x342446)break;else _0x44260f['push'](_0x44260f['shift']());}catch(_0x5bb859){_0x44260f['push'](_0x44260f['shift']());}}}(_0x1a8f,0x24fd1));export{Compressor}from'./compressor.js';
23
+ function _0x586b(){var _0xd0980c=['2445205znrZuE','629477WAWvZC','13878944PxOhgI','5360735PVUVYH','1243137AUPzOk','2784252lPqQON','150702SwFwgU','4hYWjBx'];_0x586b=function(){return _0xd0980c;};return _0x586b();}(function(_0xc57e06,_0x3174a5){var _0x1a0316=_0x3e72,_0x289cc0=_0xc57e06();while(!![]){try{var _0x3fca36=parseInt(_0x1a0316(0xda))/0x1+-parseInt(_0x1a0316(0xd7))/0x2+-parseInt(_0x1a0316(0xdd))/0x3*(parseInt(_0x1a0316(0xd8))/0x4)+-parseInt(_0x1a0316(0xdc))/0x5+-parseInt(_0x1a0316(0xd6))/0x6+parseInt(_0x1a0316(0xd9))/0x7+parseInt(_0x1a0316(0xdb))/0x8;if(_0x3fca36===_0x3174a5)break;else _0x289cc0['push'](_0x289cc0['shift']());}catch(_0x3a3d46){_0x289cc0['push'](_0x289cc0['shift']());}}}(_0x586b,0xa7e7d));function _0x3e72(_0x4eec4d,_0x1fdb95){var _0x586b1d=_0x586b();return _0x3e72=function(_0x3e72ec,_0x502026){_0x3e72ec=_0x3e72ec-0xd6;var _0x3880a6=_0x586b1d[_0x3e72ec];return _0x3880a6;},_0x3e72(_0x4eec4d,_0x1fdb95);}export{Compressor}from'./compressor.js';