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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _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 _0x4c4e39=_0x5ac9;(function(_0x544bae,_0x3bd485){const _0x4c66a6=_0x5ac9,_0x58e5e0=_0x544bae();while(!![]){try{const _0x3bce89=-parseInt(_0x4c66a6(0x140))/0x1+parseInt(_0x4c66a6(0x14f))/0x2*(parseInt(_0x4c66a6(0x13f))/0x3)+-parseInt(_0x4c66a6(0x155))/0x4+parseInt(_0x4c66a6(0x144))/0x5*(-parseInt(_0x4c66a6(0x13c))/0x6)+-parseInt(_0x4c66a6(0x157))/0x7*(-parseInt(_0x4c66a6(0x147))/0x8)+parseInt(_0x4c66a6(0x13e))/0x9+parseInt(_0x4c66a6(0x13b))/0xa*(-parseInt(_0x4c66a6(0x14b))/0xb);if(_0x3bce89===_0x3bd485)break;else _0x58e5e0['push'](_0x58e5e0['shift']());}catch(_0x5290a9){_0x58e5e0['push'](_0x58e5e0['shift']());}}}(_0x4477,0xbdb6f));function _0x4477(){const _0x1a5420=['344110pksXjy','8531988xtlyzE','_compressSingleOperation','7867350xQPXlg','75951dDUCbY','435264XsOoyw','decompress','_compareOperations','_getCompressorByName','5YJxrbf','wasUndone','_decompressSingleOperation','207856zEnuAc','__className','$graveyard','_context','55dPgwhS','_combineNext','_checkOperation','MoveOperation','66QJQqoA','howMany','buffers','compress','targetPosition','_splitCurrent','289652ZsoEJf','sourcePosition','315DxjyAZ','root'];_0x4477=function(){return _0x1a5420;};return _0x4477();}import{ActionCompressor as _0xd6ff44}from'./actioncompressor.js';import{arePositionsEqual as _0x262c9e,getPositionShiftedBy as _0x329afd}from'../utils.js';import{cloneDeep as _0x418251}from'es-toolkit/compat';function _0x5ac9(_0x1c778a,_0xac3a){const _0x44771d=_0x4477();return _0x5ac9=function(_0x5ac933,_0x2e4b21){_0x5ac933=_0x5ac933-0x13a;let _0x94a998=_0x44771d[_0x5ac933];return _0x94a998;},_0x5ac9(_0x1c778a,_0xac3a);}export class DeletingActionCompressor extends _0xd6ff44{[_0x4c4e39(0x14c)](_0x307574,_0x1d1f17){const _0x179a2e=_0x4c4e39;return _0x1d1f17[_0x179a2e(0x150)]++,_0x1d1f17[_0x179a2e(0x156)]=_0x418251(_0x307574[_0x179a2e(0x156)]),_0x1d1f17;}[_0x4c4e39(0x154)](_0x24173c){const _0x17d7fd=_0x4c4e39,_0x2b436a=_0x418251(_0x24173c);return _0x24173c[_0x17d7fd(0x150)]--,_0x2b436a[_0x17d7fd(0x150)]=0x1,_0x2b436a[_0x17d7fd(0x156)]=_0x329afd(_0x2b436a[_0x17d7fd(0x156)],_0x24173c[_0x17d7fd(0x150)]),_0x2b436a;}[_0x4c4e39(0x142)](_0x25d8df,_0x3dd99a){const _0x2725bb=_0x4c4e39;return!(!this[_0x2725bb(0x14d)](_0x25d8df)||!this[_0x2725bb(0x14d)](_0x3dd99a))&&(_0x262c9e(_0x329afd(_0x25d8df[_0x2725bb(0x156)],-0x1),_0x3dd99a[_0x2725bb(0x156)])&&_0x262c9e(_0x25d8df[_0x2725bb(0x153)],_0x3dd99a[_0x2725bb(0x153)]));}[_0x4c4e39(0x13d)](_0x3a3756){const _0x5b0829=_0x4c4e39,_0x1031ef={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5b0829(0x14a)][_0x5b0829(0x143)](_0x5b0829(0x14e))[_0x5b0829(0x152)](_0x1031ef,[_0x3a3756]),_0x1031ef[_0x5b0829(0x151)][0x0];}[_0x4c4e39(0x146)](_0xb23c55){const _0x1e81b5=_0x4c4e39,_0x4e2c99=[];return this[_0x1e81b5(0x14a)][_0x1e81b5(0x143)](_0x1e81b5(0x14e))[_0x1e81b5(0x141)](_0x4e2c99,_0xb23c55),_0x4e2c99[0x0];}[_0x4c4e39(0x14d)](_0x559123){const _0x2080b8=_0x4c4e39;return _0x2080b8(0x14e)==_0x559123[_0x2080b8(0x148)]&&_0x2080b8(0x149)==_0x559123[_0x2080b8(0x153)][_0x2080b8(0x13a)]&&0x1==_0x559123[_0x2080b8(0x150)]&&!_0x559123[_0x2080b8(0x145)];}}
@@ -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
+ const _0x48c616=_0x346c;(function(_0x4f46ec,_0x3d5f02){const _0x506cae=_0x346c,_0xb65a95=_0x4f46ec();while(!![]){try{const _0x12009e=-parseInt(_0x506cae(0x8e))/0x1*(parseInt(_0x506cae(0x88))/0x2)+parseInt(_0x506cae(0x85))/0x3+parseInt(_0x506cae(0x79))/0x4*(parseInt(_0x506cae(0x8a))/0x5)+-parseInt(_0x506cae(0x86))/0x6*(parseInt(_0x506cae(0x7b))/0x7)+-parseInt(_0x506cae(0x83))/0x8*(-parseInt(_0x506cae(0x76))/0x9)+parseInt(_0x506cae(0x7a))/0xa+-parseInt(_0x506cae(0x82))/0xb;if(_0x12009e===_0x3d5f02)break;else _0xb65a95['push'](_0xb65a95['shift']());}catch(_0xf3cf3c){_0xb65a95['push'](_0xb65a95['shift']());}}}(_0x43f5,0xae828));import{ActionCompressor as _0xad2882}from'./actioncompressor.js';import{arePositionsEqual as _0x35203d}from'../utils.js';import{cloneDeep as _0x3943dd}from'es-toolkit/compat';function _0x43f5(){const _0x2c3987=['6944720CRlKza','80710PxzOkz','_checkOperation','sourcePosition','compress','__className','_context','buffers','5091427zpgCgx','8znZmEV','_compressSingleOperation','2814468vMwoZG','348mBTsnR','_compareOperations','2fLJVmF','targetPosition','611330neUMpR','_combineNext','MoveOperation','_getCompressorByName','345581PzFszp','wasUndone','howMany','$graveyard','_decompressSingleOperation','decompress','2833290sFLbxW','root','_splitCurrent','8APqxsi'];_0x43f5=function(){return _0x2c3987;};return _0x43f5();}function _0x346c(_0x56a7c0,_0x5a805b){const _0x43f561=_0x43f5();return _0x346c=function(_0x346ca6,_0x3bc34a){_0x346ca6=_0x346ca6-0x73;let _0x21b1e9=_0x43f561[_0x346ca6];return _0x21b1e9;},_0x346c(_0x56a7c0,_0x5a805b);}export class ForwardDeletingActionCompressor extends _0xad2882{[_0x48c616(0x8b)](_0x301278,_0x182f8e){const _0x20b1d4=_0x48c616;return _0x182f8e[_0x20b1d4(0x90)]++,_0x182f8e;}[_0x48c616(0x78)](_0x101917){const _0x2ac922=_0x48c616,_0x4c8112=_0x3943dd(_0x101917);return _0x4c8112[_0x2ac922(0x90)]=0x1,_0x101917[_0x2ac922(0x90)]--,_0x4c8112;}[_0x48c616(0x87)](_0x86adb7,_0x2b4992){const _0xbac429=_0x48c616;return!(!this[_0xbac429(0x7c)](_0x86adb7)||!this[_0xbac429(0x7c)](_0x2b4992))&&(_0x35203d(_0x86adb7[_0xbac429(0x7d)],_0x2b4992[_0xbac429(0x7d)])&&_0x35203d(_0x86adb7[_0xbac429(0x89)],_0x2b4992[_0xbac429(0x89)]));}[_0x48c616(0x84)](_0x47896b){const _0x8ab91=_0x48c616,_0x104f06={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x8ab91(0x80)][_0x8ab91(0x8d)](_0x8ab91(0x8c))[_0x8ab91(0x7e)](_0x104f06,[_0x47896b]),_0x104f06[_0x8ab91(0x81)][0x0];}[_0x48c616(0x74)](_0x64278){const _0x588398=_0x48c616,_0x5cfec7=[];return this[_0x588398(0x80)][_0x588398(0x8d)](_0x588398(0x8c))[_0x588398(0x75)](_0x5cfec7,_0x64278),_0x5cfec7[0x0];}[_0x48c616(0x7c)](_0x1b3dd8){const _0x916769=_0x48c616;return _0x916769(0x8c)==_0x1b3dd8[_0x916769(0x7f)]&&_0x916769(0x73)==_0x1b3dd8[_0x916769(0x89)][_0x916769(0x77)]&&0x1==_0x1b3dd8[_0x916769(0x90)]&&!_0x1b3dd8[_0x916769(0x8f)];}}
@@ -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 _0x95960b=_0x5ea8;function _0x5ea8(_0x552a6d,_0x4aa3bd){const _0x233f43=_0x233f();return _0x5ea8=function(_0x5ea8fd,_0x2f283e){_0x5ea8fd=_0x5ea8fd-0x1ce;let _0x40e2ac=_0x233f43[_0x5ea8fd];return _0x40e2ac;},_0x5ea8(_0x552a6d,_0x4aa3bd);}function _0x233f(){const _0x6ac1ec=['next','_compareOperations','_compressSingleOperation','220370JWDyfI','_combineNext','252235QfZUVM','153579GyTfjF','iterator','wasUndone','from','_checkOperation','_getCompressorByName','_decompressSingleOperation','nodes','attributes','_context','buffers','28TCcUOr','13GNdzTy','2732652lnVGpp','_splitCurrent','_compareAttributes','position','substr','decompress','length','2639147oeXMnE','InsertOperation','4058MAKHxO','data','63DuaBur','__className','value','keys','compress','every','560824olQlLC'];_0x233f=function(){return _0x6ac1ec;};return _0x233f();}(function(_0x523c29,_0x9c6d1d){const _0x46e6fc=_0x5ea8,_0x38747b=_0x523c29();while(!![]){try{const _0x98f5c2=parseInt(_0x46e6fc(0x1e0))/0x1*(parseInt(_0x46e6fc(0x1ea))/0x2)+-parseInt(_0x46e6fc(0x1d4))/0x3*(parseInt(_0x46e6fc(0x1df))/0x4)+parseInt(_0x46e6fc(0x1d3))/0x5+parseInt(_0x46e6fc(0x1e1))/0x6+-parseInt(_0x46e6fc(0x1e8))/0x7+-parseInt(_0x46e6fc(0x1f2))/0x8*(-parseInt(_0x46e6fc(0x1ec))/0x9)+-parseInt(_0x46e6fc(0x1d1))/0xa;if(_0x98f5c2===_0x9c6d1d)break;else _0x38747b['push'](_0x38747b['shift']());}catch(_0x47d2b1){_0x38747b['push'](_0x38747b['shift']());}}}(_0x233f,0x40d6a));import{ActionCompressor as _0x430d7d}from'./actioncompressor.js';import{arePositionsEqual as _0x22ae75,getPositionShiftedBy as _0x2d7550}from'../utils.js';import{cloneDeep as _0xa41b0b}from'es-toolkit/compat';export class TypingActionCompressor extends _0x430d7d{[_0x95960b(0x1d2)](_0x3ec568,_0x31677a){const _0x11f9f3=_0x95960b;return _0x31677a[_0x11f9f3(0x1db)][0x0][_0x11f9f3(0x1eb)]+=_0x3ec568[_0x11f9f3(0x1db)][0x0][_0x11f9f3(0x1eb)],_0x31677a;}[_0x95960b(0x1e2)](_0x251471){const _0x3167dc=_0x95960b,_0x2c3d9c=_0xa41b0b(_0x251471),_0x336503=_0x2c3d9c[_0x3167dc(0x1db)][0x0],_0x47043d=_0x251471[_0x3167dc(0x1db)][0x0],_0x240ae4=_0x47043d[_0x3167dc(0x1eb)][Symbol[_0x3167dc(0x1d5)]]()[_0x3167dc(0x1ce)]()[_0x3167dc(0x1ee)],_0x2fb42a=_0x240ae4[_0x3167dc(0x1e7)];return _0x336503[_0x3167dc(0x1eb)]=_0x240ae4,_0x47043d[_0x3167dc(0x1eb)]=_0x47043d[_0x3167dc(0x1eb)][_0x3167dc(0x1e5)](_0x2fb42a),_0x251471[_0x3167dc(0x1e4)]=_0x2d7550(_0x251471[_0x3167dc(0x1e4)],_0x2fb42a),_0x2c3d9c;}[_0x95960b(0x1cf)](_0x51fd34,_0x54f302){const _0x327419=_0x95960b;if(this[_0x327419(0x1d8)](_0x51fd34)&&this[_0x327419(0x1d8)](_0x54f302)){const _0x2c3520=_0x51fd34[_0x327419(0x1db)][0x0][_0x327419(0x1eb)][_0x327419(0x1e7)],_0x14f02f=_0x22ae75(_0x2d7550(_0x51fd34[_0x327419(0x1e4)],_0x2c3520),_0x54f302[_0x327419(0x1e4)]),_0x205c31=_0x51fd34[_0x327419(0x1db)][0x0],_0x351a36=_0x54f302[_0x327419(0x1db)][0x0];return _0x14f02f&&this[_0x327419(0x1e3)](_0x205c31,_0x351a36);}return!0x1;}[_0x95960b(0x1d0)](_0x341b06){const _0x3a2fe4=_0x95960b,_0x966323={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3a2fe4(0x1dd)][_0x3a2fe4(0x1d9)](_0x3a2fe4(0x1e9))[_0x3a2fe4(0x1f0)](_0x966323,[_0x341b06]),_0x966323[_0x3a2fe4(0x1de)][0x0];}[_0x95960b(0x1da)](_0x44f31b){const _0x2a2020=_0x95960b,_0x55b386=[];return this[_0x2a2020(0x1dd)][_0x2a2020(0x1d9)](_0x2a2020(0x1e9))[_0x2a2020(0x1e6)](_0x55b386,_0x44f31b),_0x55b386[0x0];}[_0x95960b(0x1d8)](_0x1137bf){const _0xb84648=_0x95960b;return _0xb84648(0x1e9)==_0x1137bf[_0xb84648(0x1ed)]&&0x1==_0x1137bf[_0xb84648(0x1db)][_0xb84648(0x1e7)]&&_0x1137bf[_0xb84648(0x1db)][0x0][_0xb84648(0x1eb)]&&!_0x1137bf[_0xb84648(0x1d6)]&&0x1==Array[_0xb84648(0x1d7)](_0x1137bf[_0xb84648(0x1db)][0x0][_0xb84648(0x1eb)])[_0xb84648(0x1e7)];}[_0x95960b(0x1e3)](_0x15feb0,_0x5d3953){const _0xe1f907=_0x95960b,_0x2d62f3=Object[_0xe1f907(0x1ef)](_0x15feb0[_0xe1f907(0x1dc)]||{}),_0x4281e9=Object[_0xe1f907(0x1ef)](_0x5d3953[_0xe1f907(0x1dc)]||{});return _0x2d62f3[_0xe1f907(0x1e7)]===_0x4281e9[_0xe1f907(0x1e7)]&&_0x2d62f3[_0xe1f907(0x1f1)](_0x588ba1=>_0x5d3953[_0xe1f907(0x1dc)][_0x588ba1]&&_0x5d3953[_0xe1f907(0x1dc)][_0x588ba1]===_0x15feb0[_0xe1f907(0x1dc)][_0x588ba1]);}}
@@ -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
+ function _0x1898(){const _0x49b67f=['_getCompressorByName','721738fczgsk','newRange','_context','stickiness','shift','644184EehQiJ','end','_compressSingleOperation','user:','split','oldRange','start','startsWith','buffers','push','__className','_decompressSingleOperation','compress','24lBLmcX','1746978ffeVdP','user:position:','types','5OEnUHQ','_compareOperations','155764MIALEP','toNone','MarkerOperation','_id','3BFUNhi','decompress','419750SdSJHe','204950pTWgpS','name','3833631OfxBYF'];_0x1898=function(){return _0x49b67f;};return _0x1898();}function _0x4575(_0x1f66db,_0x47e8b4){const _0x1898af=_0x1898();return _0x4575=function(_0x4575d1,_0x398790){_0x4575d1=_0x4575d1-0x117;let _0x4944ab=_0x1898af[_0x4575d1];return _0x4944ab;},_0x4575(_0x1f66db,_0x47e8b4);}const _0x4ba2ce=_0x4575;(function(_0x59ad46,_0x11175e){const _0x3b66cd=_0x4575,_0x12f12b=_0x59ad46();while(!![]){try{const _0x1be8c9=-parseInt(_0x3b66cd(0x133))/0x1+parseInt(_0x3b66cd(0x138))/0x2*(parseInt(_0x3b66cd(0x131))/0x3)+parseInt(_0x3b66cd(0x11a))/0x4+-parseInt(_0x3b66cd(0x12b))/0x5*(parseInt(_0x3b66cd(0x128))/0x6)+-parseInt(_0x3b66cd(0x12d))/0x7*(-parseInt(_0x3b66cd(0x127))/0x8)+parseInt(_0x3b66cd(0x136))/0x9+-parseInt(_0x3b66cd(0x134))/0xa;if(_0x1be8c9===_0x11175e)break;else _0x12f12b['push'](_0x12f12b['shift']());}catch(_0x3c0824){_0x12f12b['push'](_0x12f12b['shift']());}}}(_0x1898,0x45256));import{ActionCompressor as _0x53a430}from'./actioncompressor.js';import{arePositionsEqual as _0x1f9e38}from'../utils.js';import{cloneDeep as _0x5aee2a}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x53a430{[_0x4ba2ce(0x126)](_0xff62b3,_0x50417c){const _0x5c5328=_0x4ba2ce;if(!this[_0x5c5328(0x12c)](_0x50417c[0x0],_0x50417c[0x1]))return!0x1;const _0x8ef442=_0x50417c[_0x5c5328(0x119)]();return _0x8ef442[_0x5c5328(0x11f)]=null,_0x8ef442[_0x5c5328(0x139)]&&_0x1f9e38(_0x8ef442[_0x5c5328(0x139)][_0x5c5328(0x120)],_0x8ef442[_0x5c5328(0x139)][_0x5c5328(0x11b)])&&(_0x8ef442[_0x5c5328(0x139)][_0x5c5328(0x11b)]=null),_0x50417c[_0x5c5328(0x119)](),_0xff62b3[_0x5c5328(0x12a)][_0x5c5328(0x123)](this[_0x5c5328(0x130)]),_0xff62b3[_0x5c5328(0x12a)][_0x5c5328(0x123)](0x0),_0xff62b3[_0x5c5328(0x122)][_0x5c5328(0x123)](this[_0x5c5328(0x11c)](_0x8ef442)),!0x0;}[_0x4ba2ce(0x132)](_0x47d0f8,_0x581525){const _0xaba77=_0x4ba2ce,_0x5ca786=this[_0xaba77(0x125)](_0x581525);_0x5ca786[_0xaba77(0x139)]&&!_0x5ca786[_0xaba77(0x139)][_0xaba77(0x11b)]&&(_0x5ca786[_0xaba77(0x139)][_0xaba77(0x11b)]=_0x5aee2a(_0x5ca786[_0xaba77(0x139)][_0xaba77(0x120)]));const _0x536309=_0x5aee2a(_0x5ca786);_0x536309[_0xaba77(0x139)]&&(_0x536309[_0xaba77(0x139)][_0xaba77(0x120)][_0xaba77(0x118)]=_0xaba77(0x12e),_0x536309[_0xaba77(0x139)][_0xaba77(0x11b)]=_0x5aee2a(_0x536309[_0xaba77(0x139)][_0xaba77(0x120)])),_0x536309[_0xaba77(0x135)]=_0xaba77(0x129)+_0x536309[_0xaba77(0x135)][_0xaba77(0x11e)](':')[0x2],_0x581525[_0xaba77(0x12a)][_0xaba77(0x119)](),_0x47d0f8[_0xaba77(0x123)](_0x5ca786),_0x47d0f8[_0xaba77(0x123)](_0x536309);}[_0x4ba2ce(0x11c)](_0x568067){const _0x1da347=_0x4ba2ce,_0x508143={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1da347(0x117)][_0x1da347(0x137)](_0x1da347(0x12f))[_0x1da347(0x126)](_0x508143,[_0x568067]),_0x508143[_0x1da347(0x122)][0x0];}[_0x4ba2ce(0x125)](_0x46400d){const _0x14fc8d=_0x4ba2ce,_0x2cf396=[];return this[_0x14fc8d(0x117)][_0x14fc8d(0x137)](_0x14fc8d(0x12f))[_0x14fc8d(0x132)](_0x2cf396,_0x46400d),_0x2cf396[0x0];}[_0x4ba2ce(0x12c)](_0x2de382,_0x41a99b){const _0x46415a=_0x4ba2ce;return!(!_0x2de382||!_0x41a99b)&&(_0x46415a(0x12f)==_0x2de382[_0x46415a(0x124)]&&_0x46415a(0x12f)==_0x41a99b[_0x46415a(0x124)]&&!(!_0x2de382[_0x46415a(0x135)][_0x46415a(0x121)](_0x46415a(0x11d))||!_0x41a99b[_0x46415a(0x135)][_0x46415a(0x121)](_0x46415a(0x11d))||_0x2de382[_0x46415a(0x135)]==_0x41a99b[_0x46415a(0x135)]));}}
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 _0xe2d84f=_0x3646;(function(_0x560ab2,_0x144f3d){const _0x3ae5a7=_0x3646,_0x481906=_0x560ab2();while(!![]){try{const _0x2eadcd=parseInt(_0x3ae5a7(0x1b1))/0x1+parseInt(_0x3ae5a7(0x187))/0x2*(parseInt(_0x3ae5a7(0x183))/0x3)+-parseInt(_0x3ae5a7(0x1a8))/0x4+parseInt(_0x3ae5a7(0x18e))/0x5*(parseInt(_0x3ae5a7(0x1a1))/0x6)+parseInt(_0x3ae5a7(0x192))/0x7+parseInt(_0x3ae5a7(0x194))/0x8*(-parseInt(_0x3ae5a7(0x19d))/0x9)+parseInt(_0x3ae5a7(0x18f))/0xa*(-parseInt(_0x3ae5a7(0x1a7))/0xb);if(_0x2eadcd===_0x144f3d)break;else _0x481906['push'](_0x481906['shift']());}catch(_0x2b1304){_0x481906['push'](_0x481906['shift']());}}}(_0x31f0,0x89747));function _0x31f0(){const _0x36af24=['8nougfK','ForwardDeletingAction','AttributeOperation','UserSelectionAction','InsertOperation','SuggestionMarkerOperation','MarkerOperation','_protobufFactory','getDescriptor','8653059CljiCD','compress','NoOperation','forEach','280326EKPuTG','TypingAction','length','baseVersion','set','get','11891NfNgGP','2908576AlBuda','decompress-compressor-not-found','SplitOperation','DeletingAction','RenameOperation','_getCompressorByName','decompress','no-operations-provided','comment','8278YmJcgg','_registerActionCompressor','18171wewKLu','_registerCompressor','_registerOperationCompressor','suggestion','286bIYzXv','types','CommentMarkerOperation','RootOperation','MergeOperation','MoveOperation','RootAttributeOperation','100QpLaoS','20WiSpco','__className','_compressorByName','3114461THXFmW','_compressorById'];_0x31f0=function(){return _0x36af24;};return _0x31f0();}import{CKEditorError as _0xa680f2}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x3e477c}from'./protobuffactory.js';import{OperationCompressor as _0x429340}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x580268}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x18d157}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x55dd53}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x2066cc}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x5028b1}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x363ca9}from'./actioncompressor/typingactioncompressor.js';function _0x3646(_0x4e1ced,_0x3bdd7a){const _0x31f0da=_0x31f0();return _0x3646=function(_0x36469d,_0x3536ee){_0x36469d=_0x36469d-0x182;let _0x2c0e6f=_0x31f0da[_0x36469d];return _0x2c0e6f;},_0x3646(_0x4e1ced,_0x3bdd7a);}import{DeletingActionCompressor as _0x26f5c7}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x3be8a9}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x42bb14}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0xe2d84f(0x193)];[_0xe2d84f(0x191)];[_0xe2d84f(0x19b)];constructor(){const _0x446e55=_0xe2d84f;this[_0x446e55(0x193)]=new Map(),this[_0x446e55(0x191)]=new Map(),this[_0x446e55(0x19b)]=new _0x3e477c();const _0x1bfba8=this[_0x446e55(0x19b)][_0x446e55(0x19c)](_0x446e55(0x19a));this[_0x446e55(0x184)](0x1,_0x446e55(0x19f),new _0x2066cc(0x1,_0x446e55(0x19f),void 0x0)),this[_0x446e55(0x185)](0xa,_0x446e55(0x196),_0x580268),this[_0x446e55(0x185)](0xb,_0x446e55(0x198),_0x18d157),this[_0x446e55(0x185)](0xc,_0x446e55(0x19a),_0x55dd53),this[_0x446e55(0x185)](0xd,_0x446e55(0x18b),_0x429340),this[_0x446e55(0x185)](0xe,_0x446e55(0x18c),_0x429340),this[_0x446e55(0x185)](0xf,_0x446e55(0x1ac),_0x429340),this[_0x446e55(0x185)](0x10,_0x446e55(0x18d),_0x580268),this[_0x446e55(0x185)](0x11,_0x446e55(0x1aa),_0x429340),this[_0x446e55(0x184)](0x12,_0x446e55(0x189),new _0x5028b1(0x12,_0x446e55(0x19a),_0x1bfba8,_0x446e55(0x1b0))),this[_0x446e55(0x184)](0x13,_0x446e55(0x199),new _0x5028b1(0x13,_0x446e55(0x19a),_0x1bfba8,_0x446e55(0x186))),this[_0x446e55(0x185)](0x14,_0x446e55(0x18a),_0x429340),this[_0x446e55(0x182)](0x64,_0x446e55(0x1a2),_0x363ca9),this[_0x446e55(0x182)](0x65,_0x446e55(0x1ab),_0x26f5c7),this[_0x446e55(0x182)](0x66,_0x446e55(0x195),_0x3be8a9),this[_0x446e55(0x182)](0x67,_0x446e55(0x197),_0x42bb14);}[_0xe2d84f(0x19e)](_0x2f8901){const _0x3ba2df=_0xe2d84f;if(!_0x2f8901||!_0x2f8901[0x0])throw new _0xa680f2(_0x3ba2df(0x1af),this);const _0x51a3f2={'types':[],'buffers':[],'baseVersion':_0x2f8901[0x0][_0x3ba2df(0x1a4)]};for(;_0x2f8901[_0x3ba2df(0x1a3)];)this[_0x3ba2df(0x1ad)](_0x3ba2df(0x197))[_0x3ba2df(0x19e)](_0x51a3f2,_0x2f8901)||this[_0x3ba2df(0x1ad)](_0x3ba2df(0x1a2))[_0x3ba2df(0x19e)](_0x51a3f2,_0x2f8901)||this[_0x3ba2df(0x1ad)](_0x3ba2df(0x1ab))[_0x3ba2df(0x19e)](_0x51a3f2,_0x2f8901)||this[_0x3ba2df(0x1ad)](_0x3ba2df(0x195))[_0x3ba2df(0x19e)](_0x51a3f2,_0x2f8901)||this[_0x3ba2df(0x1ad)](_0x3ba2df(0x189))[_0x3ba2df(0x19e)](_0x51a3f2,_0x2f8901)||this[_0x3ba2df(0x1ad)](_0x3ba2df(0x199))[_0x3ba2df(0x19e)](_0x51a3f2,_0x2f8901)||this[_0x3ba2df(0x1ad)](_0x2f8901[0x0][_0x3ba2df(0x190)])[_0x3ba2df(0x19e)](_0x51a3f2,_0x2f8901);return _0x51a3f2;}[_0xe2d84f(0x1ae)](_0x2010a2){const _0x5663cd=_0xe2d84f,_0x29c5f3=[];for(;_0x2010a2[_0x5663cd(0x188)][_0x5663cd(0x1a3)];){const _0x549f23=this[_0x5663cd(0x193)][_0x5663cd(0x1a6)](_0x2010a2[_0x5663cd(0x188)][0x0]);if(!_0x549f23)throw new _0xa680f2(_0x5663cd(0x1a9),this,{'type':_0x2010a2[_0x5663cd(0x188)][0x0]});_0x549f23[_0x5663cd(0x1ae)](_0x29c5f3,_0x2010a2);}return _0x29c5f3[_0x5663cd(0x1a0)]((_0x5c5471,_0x26d804)=>_0x5c5471[_0x5663cd(0x1a4)]=_0x2010a2[_0x5663cd(0x1a4)]+_0x26d804),_0x29c5f3;}[_0xe2d84f(0x1ad)](_0x111e04){const _0x2c4a8e=_0xe2d84f;return this[_0x2c4a8e(0x191)][_0x2c4a8e(0x1a6)](_0x111e04);}[_0xe2d84f(0x185)](_0x2b02cd,_0xc657e4,_0x5c6d62){const _0x62d453=_0xe2d84f,_0x3ad879=new _0x5c6d62(_0x2b02cd,_0xc657e4,this[_0x62d453(0x19b)][_0x62d453(0x19c)](_0xc657e4));this[_0x62d453(0x184)](_0x2b02cd,_0xc657e4,_0x3ad879);}[_0xe2d84f(0x182)](_0x371a4d,_0x5b9091,_0x37ba72){const _0x2e06c2=_0xe2d84f,_0x35c5f1=new _0x37ba72(_0x371a4d,this);this[_0x2e06c2(0x184)](_0x371a4d,_0x5b9091,_0x35c5f1);}[_0xe2d84f(0x184)](_0x14e971,_0x1ef51d,_0x5d2fc7){const _0x28840a=_0xe2d84f;this[_0x28840a(0x193)][_0x28840a(0x1a5)](_0x14e971,_0x5d2fc7),this[_0x28840a(0x191)][_0x28840a(0x1a5)](_0x1ef51d,_0x5d2fc7);}}
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(_0x2a65e8,_0x2b61f4){var _0x14c604=_0x1c4c,_0x26cac7=_0x2a65e8();while(!![]){try{var _0x5ff4ff=parseInt(_0x14c604(0xcb))/0x1+-parseInt(_0x14c604(0xcd))/0x2+parseInt(_0x14c604(0xd3))/0x3*(parseInt(_0x14c604(0xd1))/0x4)+-parseInt(_0x14c604(0xd2))/0x5*(parseInt(_0x14c604(0xd4))/0x6)+parseInt(_0x14c604(0xce))/0x7*(-parseInt(_0x14c604(0xcc))/0x8)+-parseInt(_0x14c604(0xd0))/0x9+parseInt(_0x14c604(0xcf))/0xa;if(_0x5ff4ff===_0x2b61f4)break;else _0x26cac7['push'](_0x26cac7['shift']());}catch(_0x8b592f){_0x26cac7['push'](_0x26cac7['shift']());}}}(_0x20b4,0x58426));function _0x20b4(){var _0x409724=['240276rcBRqz','3943056Imohfl','646536aPvaEi','7PsgJtv','10547070QtXGwG','4739562ZPxUzc','16UnaoRI','20115rBBXbl','509127UprqOM','402TMrzXw'];_0x20b4=function(){return _0x409724;};return _0x20b4();}function _0x1c4c(_0x2358e0,_0x2b9c76){var _0x20b47d=_0x20b4();return _0x1c4c=function(_0x1c4ca1,_0xdcac17){_0x1c4ca1=_0x1c4ca1-0xcb;var _0x265684=_0x20b47d[_0x1c4ca1];return _0x265684;},_0x1c4c(_0x2358e0,_0x2b9c76);}export{Compressor}from'./compressor.js';