@ckeditor/ckeditor5-operations-compressor 46.0.1-alpha.9 → 46.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f9326=_0x6d8f;(function(_0x5e3c09,_0x1f0afe){const _0x4ac9c3=_0x6d8f,_0x3ba822=_0x5e3c09();while(!![]){try{const _0x52da1d=-parseInt(_0x4ac9c3(0xcf))/0x1+parseInt(_0x4ac9c3(0xd4))/0x2+-parseInt(_0x4ac9c3(0xe1))/0x3*(parseInt(_0x4ac9c3(0xe4))/0x4)+parseInt(_0x4ac9c3(0xd0))/0x5*(parseInt(_0x4ac9c3(0xd3))/0x6)+-parseInt(_0x4ac9c3(0xd8))/0x7+parseInt(_0x4ac9c3(0xe6))/0x8*(parseInt(_0x4ac9c3(0xd5))/0x9)+-parseInt(_0x4ac9c3(0xde))/0xa;if(_0x52da1d===_0x1f0afe)break;else _0x3ba822['push'](_0x3ba822['shift']());}catch(_0x30112c){_0x3ba822['push'](_0x3ba822['shift']());}}}(_0x173d,0x8c2c8));function _0x6d8f(_0x17932d,_0x566c55){const _0x173da8=_0x173d();return _0x6d8f=function(_0x6d8f59,_0x4cc661){_0x6d8f59=_0x6d8f59-0xcd;let _0x236959=_0x173da8[_0x6d8f59];return _0x236959;},_0x6d8f(_0x17932d,_0x566c55);}function _0x173d(){const _0x3ff7ff=['MoveOperation','root','decompress','compress','_compressSingleOperation','2092980kBLJnw','wasUndone','howMany','315wyJxNL','_splitCurrent','_getCompressorByName','5036MkLktB','__className','17064eBifLh','buffers','sourcePosition','_compareOperations','_context','$graveyard','330715QztQbG','10OnvTAk','_combineNext','_decompressSingleOperation','1730112qfppde','1242052XEldZX','2133gXmcxV','targetPosition','_checkOperation','3198237YWSGZR'];_0x173d=function(){return _0x3ff7ff;};return _0x173d();}import{ActionCompressor as _0x3b063e}from'./actioncompressor.js';import{arePositionsEqual as _0xc791e6,getPositionShiftedBy as _0x5a12e1}from'../utils.js';import{cloneDeep as _0x57178e}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x3b063e{[_0x1f9326(0xd1)](_0x5d05fa,_0x293567){const _0x30dfb6=_0x1f9326;return _0x293567[_0x30dfb6(0xe0)]++,_0x293567[_0x30dfb6(0xe8)]=_0x57178e(_0x5d05fa[_0x30dfb6(0xe8)]),_0x293567;}[_0x1f9326(0xe2)](_0x190d80){const _0x2a3280=_0x1f9326,_0x45733d=_0x57178e(_0x190d80);return _0x190d80[_0x2a3280(0xe0)]--,_0x45733d[_0x2a3280(0xe0)]=0x1,_0x45733d[_0x2a3280(0xe8)]=_0x5a12e1(_0x45733d[_0x2a3280(0xe8)],_0x190d80[_0x2a3280(0xe0)]),_0x45733d;}[_0x1f9326(0xe9)](_0x110a8b,_0x3fec76){const _0x28108b=_0x1f9326;return!(!this[_0x28108b(0xd7)](_0x110a8b)||!this[_0x28108b(0xd7)](_0x3fec76))&&(_0xc791e6(_0x5a12e1(_0x110a8b[_0x28108b(0xe8)],-0x1),_0x3fec76[_0x28108b(0xe8)])&&_0xc791e6(_0x110a8b[_0x28108b(0xd6)],_0x3fec76[_0x28108b(0xd6)]));}[_0x1f9326(0xdd)](_0x3c92b8){const _0xb1b26a=_0x1f9326,_0x494bd6={'types':[],'buffers':[],'baseVersion':0x0};return this[_0xb1b26a(0xcd)][_0xb1b26a(0xe3)](_0xb1b26a(0xd9))[_0xb1b26a(0xdc)](_0x494bd6,[_0x3c92b8]),_0x494bd6[_0xb1b26a(0xe7)][0x0];}[_0x1f9326(0xd2)](_0x2e414c){const _0x3a515e=_0x1f9326,_0x2940fb=[];return this[_0x3a515e(0xcd)][_0x3a515e(0xe3)](_0x3a515e(0xd9))[_0x3a515e(0xdb)](_0x2940fb,_0x2e414c),_0x2940fb[0x0];}[_0x1f9326(0xd7)](_0x6fd47){const _0x13504d=_0x1f9326;return _0x13504d(0xd9)==_0x6fd47[_0x13504d(0xe5)]&&_0x13504d(0xce)==_0x6fd47[_0x13504d(0xd6)][_0x13504d(0xda)]&&0x1==_0x6fd47[_0x13504d(0xe0)]&&!_0x6fd47[_0x13504d(0xdf)];}}
23
+ const _0x2df180=_0x20f3;(function(_0x40d2d1,_0x4da70f){const _0x1cac34=_0x20f3,_0x389b86=_0x40d2d1();while(!![]){try{const _0x45c462=parseInt(_0x1cac34(0x162))/0x1+-parseInt(_0x1cac34(0x17b))/0x2*(-parseInt(_0x1cac34(0x164))/0x3)+-parseInt(_0x1cac34(0x173))/0x4*(-parseInt(_0x1cac34(0x16f))/0x5)+-parseInt(_0x1cac34(0x16c))/0x6*(-parseInt(_0x1cac34(0x17a))/0x7)+parseInt(_0x1cac34(0x16e))/0x8+-parseInt(_0x1cac34(0x169))/0x9*(-parseInt(_0x1cac34(0x167))/0xa)+-parseInt(_0x1cac34(0x177))/0xb;if(_0x45c462===_0x4da70f)break;else _0x389b86['push'](_0x389b86['shift']());}catch(_0x457a45){_0x389b86['push'](_0x389b86['shift']());}}}(_0x123b,0xb4d8e));import{ActionCompressor as _0x13c17e}from'./actioncompressor.js';function _0x123b(){const _0x589de8=['6kiovRl','decompress','howMany','_compressSingleOperation','_decompressSingleOperation','625267nQJrWD','buffers','1158447xgPOBK','_context','compress','6389260jnymls','_splitCurrent','18NBDgHn','targetPosition','_getCompressorByName','2425110zZDSVp','MoveOperation','11575536NDiQyw','461030TKxjrU','__className','wasUndone','root','44thRYSB','_checkOperation','_combineNext','$graveyard','57048299BYJJso','sourcePosition','_compareOperations','7yMdxZm'];_0x123b=function(){return _0x589de8;};return _0x123b();}import{arePositionsEqual as _0x338381,getPositionShiftedBy as _0x8b04d4}from'../utils.js';function _0x20f3(_0x3765d5,_0x2f1b61){const _0x123b7d=_0x123b();return _0x20f3=function(_0x20f322,_0x5ad0c5){_0x20f322=_0x20f322-0x15e;let _0x4f603b=_0x123b7d[_0x20f322];return _0x4f603b;},_0x20f3(_0x3765d5,_0x2f1b61);}import{cloneDeep as _0x2a3a04}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x13c17e{[_0x2df180(0x175)](_0x4df861,_0x56fca0){const _0x2bf6c4=_0x2df180;return _0x56fca0[_0x2bf6c4(0x15f)]++,_0x56fca0[_0x2bf6c4(0x178)]=_0x2a3a04(_0x4df861[_0x2bf6c4(0x178)]),_0x56fca0;}[_0x2df180(0x168)](_0x36719c){const _0x59ee7f=_0x2df180,_0x432dfe=_0x2a3a04(_0x36719c);return _0x36719c[_0x59ee7f(0x15f)]--,_0x432dfe[_0x59ee7f(0x15f)]=0x1,_0x432dfe[_0x59ee7f(0x178)]=_0x8b04d4(_0x432dfe[_0x59ee7f(0x178)],_0x36719c[_0x59ee7f(0x15f)]),_0x432dfe;}[_0x2df180(0x179)](_0x251b03,_0x4c6914){const _0x1182c4=_0x2df180;return!(!this[_0x1182c4(0x174)](_0x251b03)||!this[_0x1182c4(0x174)](_0x4c6914))&&(_0x338381(_0x8b04d4(_0x251b03[_0x1182c4(0x178)],-0x1),_0x4c6914[_0x1182c4(0x178)])&&_0x338381(_0x251b03[_0x1182c4(0x16a)],_0x4c6914[_0x1182c4(0x16a)]));}[_0x2df180(0x160)](_0x5bab17){const _0x338909=_0x2df180,_0x27c6f3={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x338909(0x165)][_0x338909(0x16b)](_0x338909(0x16d))[_0x338909(0x166)](_0x27c6f3,[_0x5bab17]),_0x27c6f3[_0x338909(0x163)][0x0];}[_0x2df180(0x161)](_0x11352b){const _0x76c34e=_0x2df180,_0x14a046=[];return this[_0x76c34e(0x165)][_0x76c34e(0x16b)](_0x76c34e(0x16d))[_0x76c34e(0x15e)](_0x14a046,_0x11352b),_0x14a046[0x0];}[_0x2df180(0x174)](_0x5000ff){const _0x2f6ded=_0x2df180;return _0x2f6ded(0x16d)==_0x5000ff[_0x2f6ded(0x170)]&&_0x2f6ded(0x176)==_0x5000ff[_0x2f6ded(0x16a)][_0x2f6ded(0x172)]&&0x1==_0x5000ff[_0x2f6ded(0x15f)]&&!_0x5000ff[_0x2f6ded(0x171)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x73131d=_0x12a3;(function(_0x4d38eb,_0x454c85){const _0x15185b=_0x12a3,_0x144acb=_0x4d38eb();while(!![]){try{const _0x4959b5=parseInt(_0x15185b(0x1c1))/0x1+-parseInt(_0x15185b(0x1ad))/0x2*(-parseInt(_0x15185b(0x1b6))/0x3)+parseInt(_0x15185b(0x1bc))/0x4*(-parseInt(_0x15185b(0x1b8))/0x5)+parseInt(_0x15185b(0x1b5))/0x6+-parseInt(_0x15185b(0x1aa))/0x7*(parseInt(_0x15185b(0x1a9))/0x8)+-parseInt(_0x15185b(0x1a7))/0x9*(-parseInt(_0x15185b(0x1ba))/0xa)+parseInt(_0x15185b(0x1c3))/0xb*(-parseInt(_0x15185b(0x1c2))/0xc);if(_0x4959b5===_0x454c85)break;else _0x144acb['push'](_0x144acb['shift']());}catch(_0x2d3114){_0x144acb['push'](_0x144acb['shift']());}}}(_0x3ac1,0x8a834));import{ActionCompressor as _0x2be744}from'./actioncompressor.js';function _0x12a3(_0xbc3fa0,_0x2eb6e6){const _0x3ac166=_0x3ac1();return _0x12a3=function(_0x12a339,_0x2789e2){_0x12a339=_0x12a339-0x1a5;let _0x5ec87f=_0x3ac166[_0x12a339];return _0x5ec87f;},_0x12a3(_0xbc3fa0,_0x2eb6e6);}import{arePositionsEqual as _0x55e3c6}from'../utils.js';import{cloneDeep as _0x27278e}from'es-toolkit/compat';function _0x3ac1(){const _0x2a6a4e=['9304iUFPON','4417wsuOqT','_checkOperation','$graveyard','53182ZYyHrn','_compressSingleOperation','_combineNext','_splitCurrent','howMany','root','_getCompressorByName','_decompressSingleOperation','4802454QxWfmP','78PSPBqu','__className','33035jcNiwH','sourcePosition','10WWIkTM','wasUndone','556YpWIwD','buffers','targetPosition','_compareOperations','compress','556430cQvFkt','4706736mWekqM','11vHdQuQ','MoveOperation','_context','5072373AwxIxZ','decompress'];_0x3ac1=function(){return _0x2a6a4e;};return _0x3ac1();}export class ForwardDeletingActionCompressor extends _0x2be744{[_0x73131d(0x1af)](_0x4e3740,_0x4d969a){const _0x25a784=_0x73131d;return _0x4d969a[_0x25a784(0x1b1)]++,_0x4d969a;}[_0x73131d(0x1b0)](_0x498c41){const _0x26508a=_0x73131d,_0x3131e2=_0x27278e(_0x498c41);return _0x3131e2[_0x26508a(0x1b1)]=0x1,_0x498c41[_0x26508a(0x1b1)]--,_0x3131e2;}[_0x73131d(0x1bf)](_0x553b16,_0x54c7ea){const _0x561ce3=_0x73131d;return!(!this[_0x561ce3(0x1ab)](_0x553b16)||!this[_0x561ce3(0x1ab)](_0x54c7ea))&&(_0x55e3c6(_0x553b16[_0x561ce3(0x1b9)],_0x54c7ea[_0x561ce3(0x1b9)])&&_0x55e3c6(_0x553b16[_0x561ce3(0x1be)],_0x54c7ea[_0x561ce3(0x1be)]));}[_0x73131d(0x1ae)](_0x1473a1){const _0x10567e=_0x73131d,_0x2c4614={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x10567e(0x1a6)][_0x10567e(0x1b3)](_0x10567e(0x1a5))[_0x10567e(0x1c0)](_0x2c4614,[_0x1473a1]),_0x2c4614[_0x10567e(0x1bd)][0x0];}[_0x73131d(0x1b4)](_0x3fc7e0){const _0x2619d3=_0x73131d,_0x204fec=[];return this[_0x2619d3(0x1a6)][_0x2619d3(0x1b3)](_0x2619d3(0x1a5))[_0x2619d3(0x1a8)](_0x204fec,_0x3fc7e0),_0x204fec[0x0];}[_0x73131d(0x1ab)](_0x494d83){const _0xa3f752=_0x73131d;return _0xa3f752(0x1a5)==_0x494d83[_0xa3f752(0x1b7)]&&_0xa3f752(0x1ac)==_0x494d83[_0xa3f752(0x1be)][_0xa3f752(0x1b2)]&&0x1==_0x494d83[_0xa3f752(0x1b1)]&&!_0x494d83[_0xa3f752(0x1bb)];}}
23
+ function _0xa6bb(_0x36057c,_0x5fec74){const _0x107e18=_0x107e();return _0xa6bb=function(_0xa6bbac,_0x4e4deb){_0xa6bbac=_0xa6bbac-0x1b3;let _0x292f65=_0x107e18[_0xa6bbac];return _0x292f65;},_0xa6bb(_0x36057c,_0x5fec74);}const _0x1ac65d=_0xa6bb;(function(_0x165201,_0x4034e5){const _0x445811=_0xa6bb,_0x1bce72=_0x165201();while(!![]){try{const _0x2915ea=parseInt(_0x445811(0x1bb))/0x1*(parseInt(_0x445811(0x1cc))/0x2)+-parseInt(_0x445811(0x1c3))/0x3+parseInt(_0x445811(0x1be))/0x4*(parseInt(_0x445811(0x1c2))/0x5)+-parseInt(_0x445811(0x1b8))/0x6+parseInt(_0x445811(0x1b9))/0x7+parseInt(_0x445811(0x1b5))/0x8+-parseInt(_0x445811(0x1bf))/0x9*(-parseInt(_0x445811(0x1b7))/0xa);if(_0x2915ea===_0x4034e5)break;else _0x1bce72['push'](_0x1bce72['shift']());}catch(_0xaddcc3){_0x1bce72['push'](_0x1bce72['shift']());}}}(_0x107e,0x58d68));import{ActionCompressor as _0x1ed449}from'./actioncompressor.js';import{arePositionsEqual as _0x2922f6}from'../utils.js';import{cloneDeep as _0x33ea94}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x1ed449{[_0x1ac65d(0x1b6)](_0x565ca6,_0x39b5cd){const _0x123992=_0x1ac65d;return _0x39b5cd[_0x123992(0x1c6)]++,_0x39b5cd;}[_0x1ac65d(0x1c0)](_0x1c77b5){const _0x2614bf=_0x1ac65d,_0x1a4210=_0x33ea94(_0x1c77b5);return _0x1a4210[_0x2614bf(0x1c6)]=0x1,_0x1c77b5[_0x2614bf(0x1c6)]--,_0x1a4210;}[_0x1ac65d(0x1cf)](_0x29464e,_0x2b2aba){const _0x32ac23=_0x1ac65d;return!(!this[_0x32ac23(0x1c7)](_0x29464e)||!this[_0x32ac23(0x1c7)](_0x2b2aba))&&(_0x2922f6(_0x29464e[_0x32ac23(0x1c9)],_0x2b2aba[_0x32ac23(0x1c9)])&&_0x2922f6(_0x29464e[_0x32ac23(0x1c8)],_0x2b2aba[_0x32ac23(0x1c8)]));}[_0x1ac65d(0x1cd)](_0x117364){const _0x5dc331=_0x1ac65d,_0x5bd3d4={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5dc331(0x1c4)][_0x5dc331(0x1cb)](_0x5dc331(0x1bc))[_0x5dc331(0x1bd)](_0x5bd3d4,[_0x117364]),_0x5bd3d4[_0x5dc331(0x1ce)][0x0];}[_0x1ac65d(0x1c1)](_0x453406){const _0x187f6d=_0x1ac65d,_0x3564e8=[];return this[_0x187f6d(0x1c4)][_0x187f6d(0x1cb)](_0x187f6d(0x1bc))[_0x187f6d(0x1c5)](_0x3564e8,_0x453406),_0x3564e8[0x0];}[_0x1ac65d(0x1c7)](_0x4bbf56){const _0x2f502e=_0x1ac65d;return _0x2f502e(0x1bc)==_0x4bbf56[_0x2f502e(0x1b4)]&&_0x2f502e(0x1ba)==_0x4bbf56[_0x2f502e(0x1c8)][_0x2f502e(0x1ca)]&&0x1==_0x4bbf56[_0x2f502e(0x1c6)]&&!_0x4bbf56[_0x2f502e(0x1b3)];}}function _0x107e(){const _0x42e00c=['_decompressSingleOperation','5ezWrtn','2047047JynjfG','_context','decompress','howMany','_checkOperation','targetPosition','sourcePosition','root','_getCompressorByName','138YSrnim','_compressSingleOperation','buffers','_compareOperations','wasUndone','__className','1177432UWdaxe','_combineNext','20780OAsIey','2980350IJHFrg','4893742JQEfgb','$graveyard','6410xodFyw','MoveOperation','compress','709972ZfzFpJ','333XORgfj','_splitCurrent'];_0x107e=function(){return _0x42e00c;};return _0x107e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x114278=_0x4fb8;(function(_0x52f5e2,_0x37832a){const _0x1c4b57=_0x4fb8,_0x2ca157=_0x52f5e2();while(!![]){try{const _0x3b6110=parseInt(_0x1c4b57(0x12b))/0x1+parseInt(_0x1c4b57(0x127))/0x2*(-parseInt(_0x1c4b57(0x118))/0x3)+-parseInt(_0x1c4b57(0x128))/0x4*(parseInt(_0x1c4b57(0x12d))/0x5)+parseInt(_0x1c4b57(0x122))/0x6+parseInt(_0x1c4b57(0x125))/0x7*(-parseInt(_0x1c4b57(0x11b))/0x8)+-parseInt(_0x1c4b57(0x12e))/0x9*(parseInt(_0x1c4b57(0x13a))/0xa)+parseInt(_0x1c4b57(0x121))/0xb;if(_0x3b6110===_0x37832a)break;else _0x2ca157['push'](_0x2ca157['shift']());}catch(_0x2c19e5){_0x2ca157['push'](_0x2ca157['shift']());}}}(_0x86c3,0x4ecb6));import{ActionCompressor as _0xdaeea6}from'./actioncompressor.js';function _0x86c3(){const _0x4afc11=['_combineNext','420343dhBrJe','length','23458DlagqC','20836GRAgxk','nodes','_splitCurrent','272963hrVLxH','from','235dDCoPP','1773IikYtx','__className','_compressSingleOperation','_compareOperations','_getCompressorByName','every','_compareAttributes','keys','InsertOperation','next','decompress','_context','11020YSEAna','buffers','_decompressSingleOperation','compress','126ktooKm','wasUndone','_checkOperation','40vDNPLV','data','attributes','position','value','substr','10445094MOLPmE','2130030JmKIEz','iterator'];_0x86c3=function(){return _0x4afc11;};return _0x86c3();}function _0x4fb8(_0x51c9bd,_0x2acbb5){const _0x86c3aa=_0x86c3();return _0x4fb8=function(_0x4fb8fe,_0x126af5){_0x4fb8fe=_0x4fb8fe-0x117;let _0x58d7d5=_0x86c3aa[_0x4fb8fe];return _0x58d7d5;},_0x4fb8(_0x51c9bd,_0x2acbb5);}import{arePositionsEqual as _0x52e976,getPositionShiftedBy as _0x19aeb6}from'../utils.js';import{cloneDeep as _0x1183aa}from'es-toolkit/compat';export class TypingActionCompressor extends _0xdaeea6{[_0x114278(0x124)](_0x38d646,_0x15c8af){const _0x29078e=_0x114278;return _0x15c8af[_0x29078e(0x129)][0x0][_0x29078e(0x11c)]+=_0x38d646[_0x29078e(0x129)][0x0][_0x29078e(0x11c)],_0x15c8af;}[_0x114278(0x12a)](_0x1e33de){const _0x1f9f53=_0x114278,_0x2a40e1=_0x1183aa(_0x1e33de),_0x5a5e02=_0x2a40e1[_0x1f9f53(0x129)][0x0],_0x42a68a=_0x1e33de[_0x1f9f53(0x129)][0x0],_0x46f159=_0x42a68a[_0x1f9f53(0x11c)][Symbol[_0x1f9f53(0x123)]]()[_0x1f9f53(0x137)]()[_0x1f9f53(0x11f)],_0x1bc4dc=_0x46f159[_0x1f9f53(0x126)];return _0x5a5e02[_0x1f9f53(0x11c)]=_0x46f159,_0x42a68a[_0x1f9f53(0x11c)]=_0x42a68a[_0x1f9f53(0x11c)][_0x1f9f53(0x120)](_0x1bc4dc),_0x1e33de[_0x1f9f53(0x11e)]=_0x19aeb6(_0x1e33de[_0x1f9f53(0x11e)],_0x1bc4dc),_0x2a40e1;}[_0x114278(0x131)](_0x4ea09c,_0x1ff801){const _0x213b98=_0x114278;if(this[_0x213b98(0x11a)](_0x4ea09c)&&this[_0x213b98(0x11a)](_0x1ff801)){const _0x42656f=_0x4ea09c[_0x213b98(0x129)][0x0][_0x213b98(0x11c)][_0x213b98(0x126)],_0x48174c=_0x52e976(_0x19aeb6(_0x4ea09c[_0x213b98(0x11e)],_0x42656f),_0x1ff801[_0x213b98(0x11e)]),_0x1120ad=_0x4ea09c[_0x213b98(0x129)][0x0],_0x3c11a7=_0x1ff801[_0x213b98(0x129)][0x0];return _0x48174c&&this[_0x213b98(0x134)](_0x1120ad,_0x3c11a7);}return!0x1;}[_0x114278(0x130)](_0x320b30){const _0x15f88a=_0x114278,_0x5c914b={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x15f88a(0x139)][_0x15f88a(0x132)](_0x15f88a(0x136))[_0x15f88a(0x117)](_0x5c914b,[_0x320b30]),_0x5c914b[_0x15f88a(0x13b)][0x0];}[_0x114278(0x13c)](_0x7a8d26){const _0x44f8e7=_0x114278,_0x395a11=[];return this[_0x44f8e7(0x139)][_0x44f8e7(0x132)](_0x44f8e7(0x136))[_0x44f8e7(0x138)](_0x395a11,_0x7a8d26),_0x395a11[0x0];}[_0x114278(0x11a)](_0x1f1ad2){const _0x59721c=_0x114278;return _0x59721c(0x136)==_0x1f1ad2[_0x59721c(0x12f)]&&0x1==_0x1f1ad2[_0x59721c(0x129)][_0x59721c(0x126)]&&_0x1f1ad2[_0x59721c(0x129)][0x0][_0x59721c(0x11c)]&&!_0x1f1ad2[_0x59721c(0x119)]&&0x1==Array[_0x59721c(0x12c)](_0x1f1ad2[_0x59721c(0x129)][0x0][_0x59721c(0x11c)])[_0x59721c(0x126)];}[_0x114278(0x134)](_0x33c46b,_0x57ef90){const _0x144568=_0x114278,_0x5afab0=Object[_0x144568(0x135)](_0x33c46b[_0x144568(0x11d)]||{}),_0x95f174=Object[_0x144568(0x135)](_0x57ef90[_0x144568(0x11d)]||{});return _0x5afab0[_0x144568(0x126)]===_0x95f174[_0x144568(0x126)]&&_0x5afab0[_0x144568(0x133)](_0x855b2f=>_0x57ef90[_0x144568(0x11d)][_0x855b2f]&&_0x57ef90[_0x144568(0x11d)][_0x855b2f]===_0x33c46b[_0x144568(0x11d)][_0x855b2f]);}}
23
+ function _0x5874(){const _0x4a415e=['50XHVIfD','_splitCurrent','value','data','910107HUbazR','keys','next','_decompressSingleOperation','95gstXOi','buffers','_combineNext','attributes','length','198150KNOICM','__className','436yocjtW','decompress','iterator','every','_compressSingleOperation','_checkOperation','from','InsertOperation','wasUndone','substr','_compareOperations','5218311hOBECQ','13483294QudzJx','position','82280awAYQG','_compareAttributes','compress','10653mghMWB','_context','2rQTJtu','_getCompressorByName','2623864zgnKPc','nodes'];_0x5874=function(){return _0x4a415e;};return _0x5874();}const _0x3c5ee0=_0x5b59;(function(_0x3997a8,_0x25ecf3){const _0x45e9e5=_0x5b59,_0x38b613=_0x3997a8();while(!![]){try{const _0x59fcb4=-parseInt(_0x45e9e5(0x11e))/0x1*(-parseInt(_0x45e9e5(0x119))/0x2)+-parseInt(_0x45e9e5(0x11c))/0x3*(parseInt(_0x45e9e5(0x131))/0x4)+parseInt(_0x45e9e5(0x12a))/0x5*(-parseInt(_0x45e9e5(0x12f))/0x6)+-parseInt(_0x45e9e5(0x116))/0x7+parseInt(_0x45e9e5(0x120))/0x8+parseInt(_0x45e9e5(0x126))/0x9*(parseInt(_0x45e9e5(0x122))/0xa)+parseInt(_0x45e9e5(0x117))/0xb;if(_0x59fcb4===_0x25ecf3)break;else _0x38b613['push'](_0x38b613['shift']());}catch(_0xcf209d){_0x38b613['push'](_0x38b613['shift']());}}}(_0x5874,0x5d2b9));function _0x5b59(_0x4a19e6,_0x46e119){const _0x5874b1=_0x5874();return _0x5b59=function(_0x5b596c,_0x53694d){_0x5b596c=_0x5b596c-0x112;let _0x14d840=_0x5874b1[_0x5b596c];return _0x14d840;},_0x5b59(_0x4a19e6,_0x46e119);}import{ActionCompressor as _0x531f8c}from'./actioncompressor.js';import{arePositionsEqual as _0x282a6c,getPositionShiftedBy as _0x421feb}from'../utils.js';import{cloneDeep as _0x140b8d}from'es-toolkit/compat';export class TypingActionCompressor extends _0x531f8c{[_0x3c5ee0(0x12c)](_0x3b3b66,_0x51a9e4){const _0x38c735=_0x3c5ee0;return _0x51a9e4[_0x38c735(0x121)][0x0][_0x38c735(0x125)]+=_0x3b3b66[_0x38c735(0x121)][0x0][_0x38c735(0x125)],_0x51a9e4;}[_0x3c5ee0(0x123)](_0x8385ea){const _0x239cae=_0x3c5ee0,_0x2f5687=_0x140b8d(_0x8385ea),_0xe8f571=_0x2f5687[_0x239cae(0x121)][0x0],_0x3f98c0=_0x8385ea[_0x239cae(0x121)][0x0],_0xd021b1=_0x3f98c0[_0x239cae(0x125)][Symbol[_0x239cae(0x133)]]()[_0x239cae(0x128)]()[_0x239cae(0x124)],_0x1ed4a7=_0xd021b1[_0x239cae(0x12e)];return _0xe8f571[_0x239cae(0x125)]=_0xd021b1,_0x3f98c0[_0x239cae(0x125)]=_0x3f98c0[_0x239cae(0x125)][_0x239cae(0x114)](_0x1ed4a7),_0x8385ea[_0x239cae(0x118)]=_0x421feb(_0x8385ea[_0x239cae(0x118)],_0x1ed4a7),_0x2f5687;}[_0x3c5ee0(0x115)](_0x352d7e,_0x34e2e5){const _0x42f217=_0x3c5ee0;if(this[_0x42f217(0x136)](_0x352d7e)&&this[_0x42f217(0x136)](_0x34e2e5)){const _0x232cc5=_0x352d7e[_0x42f217(0x121)][0x0][_0x42f217(0x125)][_0x42f217(0x12e)],_0x42a1c4=_0x282a6c(_0x421feb(_0x352d7e[_0x42f217(0x118)],_0x232cc5),_0x34e2e5[_0x42f217(0x118)]),_0x3cdffb=_0x352d7e[_0x42f217(0x121)][0x0],_0x36310b=_0x34e2e5[_0x42f217(0x121)][0x0];return _0x42a1c4&&this[_0x42f217(0x11a)](_0x3cdffb,_0x36310b);}return!0x1;}[_0x3c5ee0(0x135)](_0x1389eb){const _0x48fdda=_0x3c5ee0,_0x548e8e={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x48fdda(0x11d)][_0x48fdda(0x11f)](_0x48fdda(0x112))[_0x48fdda(0x11b)](_0x548e8e,[_0x1389eb]),_0x548e8e[_0x48fdda(0x12b)][0x0];}[_0x3c5ee0(0x129)](_0x1af022){const _0x4f0d57=_0x3c5ee0,_0x10b3a6=[];return this[_0x4f0d57(0x11d)][_0x4f0d57(0x11f)](_0x4f0d57(0x112))[_0x4f0d57(0x132)](_0x10b3a6,_0x1af022),_0x10b3a6[0x0];}[_0x3c5ee0(0x136)](_0x1865f5){const _0x1a524b=_0x3c5ee0;return _0x1a524b(0x112)==_0x1865f5[_0x1a524b(0x130)]&&0x1==_0x1865f5[_0x1a524b(0x121)][_0x1a524b(0x12e)]&&_0x1865f5[_0x1a524b(0x121)][0x0][_0x1a524b(0x125)]&&!_0x1865f5[_0x1a524b(0x113)]&&0x1==Array[_0x1a524b(0x137)](_0x1865f5[_0x1a524b(0x121)][0x0][_0x1a524b(0x125)])[_0x1a524b(0x12e)];}[_0x3c5ee0(0x11a)](_0x25a8e6,_0x325d7d){const _0x3b8349=_0x3c5ee0,_0x5b9c5e=Object[_0x3b8349(0x127)](_0x25a8e6[_0x3b8349(0x12d)]||{}),_0x3a6901=Object[_0x3b8349(0x127)](_0x325d7d[_0x3b8349(0x12d)]||{});return _0x5b9c5e[_0x3b8349(0x12e)]===_0x3a6901[_0x3b8349(0x12e)]&&_0x5b9c5e[_0x3b8349(0x134)](_0x43a381=>_0x325d7d[_0x3b8349(0x12d)][_0x43a381]&&_0x325d7d[_0x3b8349(0x12d)][_0x43a381]===_0x25a8e6[_0x3b8349(0x12d)][_0x43a381]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29a7b9=_0x5690;(function(_0x217c90,_0x4388c5){const _0x31d633=_0x5690,_0x35f2d8=_0x217c90();while(!![]){try{const _0x48b7b3=parseInt(_0x31d633(0x11b))/0x1+-parseInt(_0x31d633(0x108))/0x2*(parseInt(_0x31d633(0x10f))/0x3)+-parseInt(_0x31d633(0x102))/0x4+parseInt(_0x31d633(0x125))/0x5*(parseInt(_0x31d633(0x11a))/0x6)+parseInt(_0x31d633(0x111))/0x7*(parseInt(_0x31d633(0x118))/0x8)+-parseInt(_0x31d633(0x10a))/0x9*(parseInt(_0x31d633(0x124))/0xa)+parseInt(_0x31d633(0x107))/0xb*(parseInt(_0x31d633(0x105))/0xc);if(_0x48b7b3===_0x4388c5)break;else _0x35f2d8['push'](_0x35f2d8['shift']());}catch(_0x1a5bd5){_0x35f2d8['push'](_0x35f2d8['shift']());}}}(_0x4489,0x457a5));import{ActionCompressor as _0x1caad0}from'./actioncompressor.js';import{arePositionsEqual as _0x789d72}from'../utils.js';import{cloneDeep as _0x44c9aa}from'es-toolkit/compat';function _0x4489(){const _0x17d61e=['379539oMZUPL','name','push','_compareOperations','startsWith','2571amrPqC','types','7yNfybv','newRange','start','MarkerOperation','_compressSingleOperation','oldRange','user:','3723048GGHLgM','_context','66AKGiYa','116500WSBykP','_id','user:position:','stickiness','split','__className','compress','buffers','shift','90JGEPOL','88135VCzUXv','decompress','1339520btwzph','toNone','_getCompressorByName','12RnzNgl','_decompressSingleOperation','3219029NgpAnH','162bVoicu','end'];_0x4489=function(){return _0x17d61e;};return _0x4489();}function _0x5690(_0x54516d,_0x30ff31){const _0x448928=_0x4489();return _0x5690=function(_0x56901a,_0x57dc52){_0x56901a=_0x56901a-0x102;let _0x24dc63=_0x448928[_0x56901a];return _0x24dc63;},_0x5690(_0x54516d,_0x30ff31);}export class UserSelectionActionCompressor extends _0x1caad0{[_0x29a7b9(0x121)](_0x1613a4,_0x7e8d2a){const _0x423a7=_0x29a7b9;if(!this[_0x423a7(0x10d)](_0x7e8d2a[0x0],_0x7e8d2a[0x1]))return!0x1;const _0x2621b6=_0x7e8d2a[_0x423a7(0x123)]();return _0x2621b6[_0x423a7(0x116)]=null,_0x2621b6[_0x423a7(0x112)]&&_0x789d72(_0x2621b6[_0x423a7(0x112)][_0x423a7(0x113)],_0x2621b6[_0x423a7(0x112)][_0x423a7(0x109)])&&(_0x2621b6[_0x423a7(0x112)][_0x423a7(0x109)]=null),_0x7e8d2a[_0x423a7(0x123)](),_0x1613a4[_0x423a7(0x110)][_0x423a7(0x10c)](this[_0x423a7(0x11c)]),_0x1613a4[_0x423a7(0x110)][_0x423a7(0x10c)](0x0),_0x1613a4[_0x423a7(0x122)][_0x423a7(0x10c)](this[_0x423a7(0x115)](_0x2621b6)),!0x0;}[_0x29a7b9(0x126)](_0x592dc6,_0x1b5821){const _0xed46ca=_0x29a7b9,_0x4e0529=this[_0xed46ca(0x106)](_0x1b5821);_0x4e0529[_0xed46ca(0x112)]&&!_0x4e0529[_0xed46ca(0x112)][_0xed46ca(0x109)]&&(_0x4e0529[_0xed46ca(0x112)][_0xed46ca(0x109)]=_0x44c9aa(_0x4e0529[_0xed46ca(0x112)][_0xed46ca(0x113)]));const _0x14de51=_0x44c9aa(_0x4e0529);_0x14de51[_0xed46ca(0x112)]&&(_0x14de51[_0xed46ca(0x112)][_0xed46ca(0x113)][_0xed46ca(0x11e)]=_0xed46ca(0x103),_0x14de51[_0xed46ca(0x112)][_0xed46ca(0x109)]=_0x44c9aa(_0x14de51[_0xed46ca(0x112)][_0xed46ca(0x113)])),_0x14de51[_0xed46ca(0x10b)]=_0xed46ca(0x11d)+_0x14de51[_0xed46ca(0x10b)][_0xed46ca(0x11f)](':')[0x2],_0x1b5821[_0xed46ca(0x110)][_0xed46ca(0x123)](),_0x592dc6[_0xed46ca(0x10c)](_0x4e0529),_0x592dc6[_0xed46ca(0x10c)](_0x14de51);}[_0x29a7b9(0x115)](_0x462a2b){const _0x5580ba=_0x29a7b9,_0x30d37a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5580ba(0x119)][_0x5580ba(0x104)](_0x5580ba(0x114))[_0x5580ba(0x121)](_0x30d37a,[_0x462a2b]),_0x30d37a[_0x5580ba(0x122)][0x0];}[_0x29a7b9(0x106)](_0x1ab0e9){const _0xf9a53e=_0x29a7b9,_0x4883bb=[];return this[_0xf9a53e(0x119)][_0xf9a53e(0x104)](_0xf9a53e(0x114))[_0xf9a53e(0x126)](_0x4883bb,_0x1ab0e9),_0x4883bb[0x0];}[_0x29a7b9(0x10d)](_0x2af07f,_0x4e6536){const _0x3889cb=_0x29a7b9;return!(!_0x2af07f||!_0x4e6536)&&(_0x3889cb(0x114)==_0x2af07f[_0x3889cb(0x120)]&&_0x3889cb(0x114)==_0x4e6536[_0x3889cb(0x120)]&&!(!_0x2af07f[_0x3889cb(0x10b)][_0x3889cb(0x10e)](_0x3889cb(0x117))||!_0x4e6536[_0x3889cb(0x10b)][_0x3889cb(0x10e)](_0x3889cb(0x117))||_0x2af07f[_0x3889cb(0x10b)]==_0x4e6536[_0x3889cb(0x10b)]));}}
23
+ function _0xa72b(_0x39bc4b,_0x1b890f){const _0x9b66d=_0x9b66();return _0xa72b=function(_0xa72be5,_0xdeadf6){_0xa72be5=_0xa72be5-0x1e6;let _0x1aaa7a=_0x9b66d[_0xa72be5];return _0x1aaa7a;},_0xa72b(_0x39bc4b,_0x1b890f);}function _0x9b66(){const _0x244053=['1027834JdgHLv','1859Zxgrko','compress','2056UPxmkV','name','buffers','end','11925eIRAkT','split','_id','_decompressSingleOperation','9930wtFvZP','82236reVYUC','3611740WsFwRG','startsWith','MarkerOperation','user:position:','540701bgZpWx','36MXpEdU','decompress','_compareOperations','push','_compressSingleOperation','user:','shift','oldRange','toNone','types','start','newRange','266160lcbYsn','_getCompressorByName','stickiness','1gcswnc','_context','148Lzcpoe','__className'];_0x9b66=function(){return _0x244053;};return _0x9b66();}const _0x53847b=_0xa72b;(function(_0x1c78f1,_0xa584b2){const _0xe1e579=_0xa72b,_0x11450a=_0x1c78f1();while(!![]){try{const _0x183c16=parseInt(_0xe1e579(0x207))/0x1*(parseInt(_0xe1e579(0x1e6))/0x2)+-parseInt(_0xe1e579(0x1f1))/0x3*(parseInt(_0xe1e579(0x209))/0x4)+-parseInt(_0xe1e579(0x204))/0x5*(-parseInt(_0xe1e579(0x1f8))/0x6)+parseInt(_0xe1e579(0x1f7))/0x7+-parseInt(_0xe1e579(0x1e9))/0x8*(-parseInt(_0xe1e579(0x1ed))/0x9)+parseInt(_0xe1e579(0x1f3))/0xa+parseInt(_0xe1e579(0x1e7))/0xb*(-parseInt(_0xe1e579(0x1f2))/0xc);if(_0x183c16===_0xa584b2)break;else _0x11450a['push'](_0x11450a['shift']());}catch(_0x5e6891){_0x11450a['push'](_0x11450a['shift']());}}}(_0x9b66,0x50f68));import{ActionCompressor as _0x1e5d4f}from'./actioncompressor.js';import{arePositionsEqual as _0x408f13}from'../utils.js';import{cloneDeep as _0x43d7c5}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x1e5d4f{[_0x53847b(0x1e8)](_0x14fdf9,_0x52c9fb){const _0x2b509a=_0x53847b;if(!this[_0x2b509a(0x1fa)](_0x52c9fb[0x0],_0x52c9fb[0x1]))return!0x1;const _0x4e5c14=_0x52c9fb[_0x2b509a(0x1fe)]();return _0x4e5c14[_0x2b509a(0x1ff)]=null,_0x4e5c14[_0x2b509a(0x203)]&&_0x408f13(_0x4e5c14[_0x2b509a(0x203)][_0x2b509a(0x202)],_0x4e5c14[_0x2b509a(0x203)][_0x2b509a(0x1ec)])&&(_0x4e5c14[_0x2b509a(0x203)][_0x2b509a(0x1ec)]=null),_0x52c9fb[_0x2b509a(0x1fe)](),_0x14fdf9[_0x2b509a(0x201)][_0x2b509a(0x1fb)](this[_0x2b509a(0x1ef)]),_0x14fdf9[_0x2b509a(0x201)][_0x2b509a(0x1fb)](0x0),_0x14fdf9[_0x2b509a(0x1eb)][_0x2b509a(0x1fb)](this[_0x2b509a(0x1fc)](_0x4e5c14)),!0x0;}[_0x53847b(0x1f9)](_0x3a8db9,_0x4d4e42){const _0x3e0ca8=_0x53847b,_0x2ac125=this[_0x3e0ca8(0x1f0)](_0x4d4e42);_0x2ac125[_0x3e0ca8(0x203)]&&!_0x2ac125[_0x3e0ca8(0x203)][_0x3e0ca8(0x1ec)]&&(_0x2ac125[_0x3e0ca8(0x203)][_0x3e0ca8(0x1ec)]=_0x43d7c5(_0x2ac125[_0x3e0ca8(0x203)][_0x3e0ca8(0x202)]));const _0x503459=_0x43d7c5(_0x2ac125);_0x503459[_0x3e0ca8(0x203)]&&(_0x503459[_0x3e0ca8(0x203)][_0x3e0ca8(0x202)][_0x3e0ca8(0x206)]=_0x3e0ca8(0x200),_0x503459[_0x3e0ca8(0x203)][_0x3e0ca8(0x1ec)]=_0x43d7c5(_0x503459[_0x3e0ca8(0x203)][_0x3e0ca8(0x202)])),_0x503459[_0x3e0ca8(0x1ea)]=_0x3e0ca8(0x1f6)+_0x503459[_0x3e0ca8(0x1ea)][_0x3e0ca8(0x1ee)](':')[0x2],_0x4d4e42[_0x3e0ca8(0x201)][_0x3e0ca8(0x1fe)](),_0x3a8db9[_0x3e0ca8(0x1fb)](_0x2ac125),_0x3a8db9[_0x3e0ca8(0x1fb)](_0x503459);}[_0x53847b(0x1fc)](_0x2f935a){const _0x236567=_0x53847b,_0x431bb7={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x236567(0x208)][_0x236567(0x205)](_0x236567(0x1f5))[_0x236567(0x1e8)](_0x431bb7,[_0x2f935a]),_0x431bb7[_0x236567(0x1eb)][0x0];}[_0x53847b(0x1f0)](_0x6423dd){const _0x3dda7b=_0x53847b,_0x366b34=[];return this[_0x3dda7b(0x208)][_0x3dda7b(0x205)](_0x3dda7b(0x1f5))[_0x3dda7b(0x1f9)](_0x366b34,_0x6423dd),_0x366b34[0x0];}[_0x53847b(0x1fa)](_0x3bbd0d,_0x3094ee){const _0x2c9789=_0x53847b;return!(!_0x3bbd0d||!_0x3094ee)&&(_0x2c9789(0x1f5)==_0x3bbd0d[_0x2c9789(0x20a)]&&_0x2c9789(0x1f5)==_0x3094ee[_0x2c9789(0x20a)]&&!(!_0x3bbd0d[_0x2c9789(0x1ea)][_0x2c9789(0x1f4)](_0x2c9789(0x1fd))||!_0x3094ee[_0x2c9789(0x1ea)][_0x2c9789(0x1f4)](_0x2c9789(0x1fd))||_0x3bbd0d[_0x2c9789(0x1ea)]==_0x3094ee[_0x2c9789(0x1ea)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1aa454=_0x3d7b;(function(_0x15706d,_0x4ff12b){const _0x56cd03=_0x3d7b,_0x175e3d=_0x15706d();while(!![]){try{const _0x16c1a1=-parseInt(_0x56cd03(0x174))/0x1+-parseInt(_0x56cd03(0x19f))/0x2+parseInt(_0x56cd03(0x19d))/0x3+parseInt(_0x56cd03(0x198))/0x4*(parseInt(_0x56cd03(0x182))/0x5)+-parseInt(_0x56cd03(0x183))/0x6+-parseInt(_0x56cd03(0x19a))/0x7+parseInt(_0x56cd03(0x17e))/0x8*(parseInt(_0x56cd03(0x1a0))/0x9);if(_0x16c1a1===_0x4ff12b)break;else _0x175e3d['push'](_0x175e3d['shift']());}catch(_0x3d1d16){_0x175e3d['push'](_0x175e3d['shift']());}}}(_0x3a41,0x673b1));import{CKEditorError as _0xaa7138}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x528863}from'./protobuffactory.js';import{OperationCompressor as _0x220773}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0xf5299d}from'./operationcompressor/attributeoperationcompressor.js';function _0x3d7b(_0x2f4f18,_0x2cea92){const _0x3a41a5=_0x3a41();return _0x3d7b=function(_0x3d7b98,_0x1651a9){_0x3d7b98=_0x3d7b98-0x174;let _0x3b22f2=_0x3a41a5[_0x3d7b98];return _0x3b22f2;},_0x3d7b(_0x2f4f18,_0x2cea92);}import{InsertOperationCompressor as _0x3cf88c}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x3acb10}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0xcaccf3}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x1a02e7}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x28bf3e}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x4c83ec}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x20bdb1}from'./actioncompressor/forwarddeletingactioncompressor.js';function _0x3a41(){const _0xa7f28b=['MoveOperation','RenameOperation','MarkerOperation','decompress-compressor-not-found','get','CommentMarkerOperation','__className','NoOperation','551032EQUjOK','compress','UserSelectionAction','_registerActionCompressor','1655Bjoflh','4757616GdutnV','comment','MergeOperation','length','set','no-operations-provided','ForwardDeletingAction','SplitOperation','_registerCompressor','SuggestionMarkerOperation','decompress','_registerOperationCompressor','_getCompressorByName','suggestion','RootAttributeOperation','forEach','baseVersion','_compressorByName','types','getDescriptor','_compressorById','3964miRsqu','TypingAction','1650145PhDVpo','InsertOperation','AttributeOperation','672024dsKWQS','_protobufFactory','646294UhCVmy','261rDXjCx','DeletingAction','774869woCtVU','RootOperation'];_0x3a41=function(){return _0xa7f28b;};return _0x3a41();}import{UserSelectionActionCompressor as _0x46ce66}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x1aa454(0x197)];[_0x1aa454(0x194)];[_0x1aa454(0x19e)];constructor(){const _0x1cb750=_0x1aa454;this[_0x1cb750(0x197)]=new Map(),this[_0x1cb750(0x194)]=new Map(),this[_0x1cb750(0x19e)]=new _0x528863();const _0x8bfb65=this[_0x1cb750(0x19e)][_0x1cb750(0x196)](_0x1cb750(0x178));this[_0x1cb750(0x18b)](0x1,_0x1cb750(0x17d),new _0xcaccf3(0x1,_0x1cb750(0x17d),void 0x0)),this[_0x1cb750(0x18e)](0xa,_0x1cb750(0x19c),_0xf5299d),this[_0x1cb750(0x18e)](0xb,_0x1cb750(0x19b),_0x3cf88c),this[_0x1cb750(0x18e)](0xc,_0x1cb750(0x178),_0x3acb10),this[_0x1cb750(0x18e)](0xd,_0x1cb750(0x185),_0x220773),this[_0x1cb750(0x18e)](0xe,_0x1cb750(0x176),_0x220773),this[_0x1cb750(0x18e)](0xf,_0x1cb750(0x177),_0x220773),this[_0x1cb750(0x18e)](0x10,_0x1cb750(0x191),_0xf5299d),this[_0x1cb750(0x18e)](0x11,_0x1cb750(0x18a),_0x220773),this[_0x1cb750(0x18b)](0x12,_0x1cb750(0x17b),new _0x1a02e7(0x12,_0x1cb750(0x178),_0x8bfb65,_0x1cb750(0x184))),this[_0x1cb750(0x18b)](0x13,_0x1cb750(0x18c),new _0x1a02e7(0x13,_0x1cb750(0x178),_0x8bfb65,_0x1cb750(0x190))),this[_0x1cb750(0x18e)](0x14,_0x1cb750(0x175),_0x220773),this[_0x1cb750(0x181)](0x64,_0x1cb750(0x199),_0x28bf3e),this[_0x1cb750(0x181)](0x65,_0x1cb750(0x1a1),_0x4c83ec),this[_0x1cb750(0x181)](0x66,_0x1cb750(0x189),_0x20bdb1),this[_0x1cb750(0x181)](0x67,_0x1cb750(0x180),_0x46ce66);}[_0x1aa454(0x17f)](_0x45ebe0){const _0x31b886=_0x1aa454;if(!_0x45ebe0||!_0x45ebe0[0x0])throw new _0xaa7138(_0x31b886(0x188),this);const _0xbb428d={'types':[],'buffers':[],'baseVersion':_0x45ebe0[0x0][_0x31b886(0x193)]};for(;_0x45ebe0[_0x31b886(0x186)];)this[_0x31b886(0x18f)](_0x31b886(0x180))[_0x31b886(0x17f)](_0xbb428d,_0x45ebe0)||this[_0x31b886(0x18f)](_0x31b886(0x199))[_0x31b886(0x17f)](_0xbb428d,_0x45ebe0)||this[_0x31b886(0x18f)](_0x31b886(0x1a1))[_0x31b886(0x17f)](_0xbb428d,_0x45ebe0)||this[_0x31b886(0x18f)](_0x31b886(0x189))[_0x31b886(0x17f)](_0xbb428d,_0x45ebe0)||this[_0x31b886(0x18f)](_0x31b886(0x17b))[_0x31b886(0x17f)](_0xbb428d,_0x45ebe0)||this[_0x31b886(0x18f)](_0x31b886(0x18c))[_0x31b886(0x17f)](_0xbb428d,_0x45ebe0)||this[_0x31b886(0x18f)](_0x45ebe0[0x0][_0x31b886(0x17c)])[_0x31b886(0x17f)](_0xbb428d,_0x45ebe0);return _0xbb428d;}[_0x1aa454(0x18d)](_0x24f55e){const _0x102c13=_0x1aa454,_0x8f9eff=[];for(;_0x24f55e[_0x102c13(0x195)][_0x102c13(0x186)];){const _0x30dd60=this[_0x102c13(0x197)][_0x102c13(0x17a)](_0x24f55e[_0x102c13(0x195)][0x0]);if(!_0x30dd60)throw new _0xaa7138(_0x102c13(0x179),this,{'type':_0x24f55e[_0x102c13(0x195)][0x0]});_0x30dd60[_0x102c13(0x18d)](_0x8f9eff,_0x24f55e);}return _0x8f9eff[_0x102c13(0x192)]((_0x3895a0,_0x10a9f5)=>_0x3895a0[_0x102c13(0x193)]=_0x24f55e[_0x102c13(0x193)]+_0x10a9f5),_0x8f9eff;}[_0x1aa454(0x18f)](_0x25478c){const _0x5172a5=_0x1aa454;return this[_0x5172a5(0x194)][_0x5172a5(0x17a)](_0x25478c);}[_0x1aa454(0x18e)](_0x5be547,_0x188916,_0xa7a5b3){const _0x38c671=_0x1aa454,_0x140015=new _0xa7a5b3(_0x5be547,_0x188916,this[_0x38c671(0x19e)][_0x38c671(0x196)](_0x188916));this[_0x38c671(0x18b)](_0x5be547,_0x188916,_0x140015);}[_0x1aa454(0x181)](_0xa565a3,_0x3e1c5c,_0x5e60a1){const _0x4808c1=_0x1aa454,_0x15378a=new _0x5e60a1(_0xa565a3,this);this[_0x4808c1(0x18b)](_0xa565a3,_0x3e1c5c,_0x15378a);}[_0x1aa454(0x18b)](_0x1d5398,_0x4c2dfc,_0x405f99){const _0x17da5c=_0x1aa454;this[_0x17da5c(0x197)][_0x17da5c(0x187)](_0x1d5398,_0x405f99),this[_0x17da5c(0x194)][_0x17da5c(0x187)](_0x4c2dfc,_0x405f99);}}
23
+ const _0x5254d5=_0x2164;function _0xe67e(){const _0x57c139=['comment','549tHFzkz','SplitOperation','InsertOperation','_compressorByName','NoOperation','418VFqdZD','_getCompressorByName','_registerOperationCompressor','baseVersion','_protobufFactory','2452408hkKoDi','get','suggestion','length','decompress-compressor-not-found','TypingAction','_registerActionCompressor','185930UbAflJ','CommentMarkerOperation','forEach','decompress','__className','18vHtaUR','types','260445HTzDDg','1645660VonbEy','getDescriptor','19JoYSvk','RenameOperation','UserSelectionAction','MarkerOperation','MergeOperation','compress','1626315KSJsgu','ForwardDeletingAction','_compressorById','DeletingAction','MoveOperation','50314sqmzUL','set','92776GhmHGZ','AttributeOperation','no-operations-provided','RootOperation','RootAttributeOperation','_registerCompressor','SuggestionMarkerOperation'];_0xe67e=function(){return _0x57c139;};return _0xe67e();}(function(_0x2dcf3f,_0x1d50e4){const _0x31ce0f=_0x2164,_0x30ff4a=_0x2dcf3f();while(!![]){try{const _0x259413=parseInt(_0x31ce0f(0x93))/0x1*(parseInt(_0x31ce0f(0x9e))/0x2)+parseInt(_0x31ce0f(0x90))/0x3+parseInt(_0x31ce0f(0x91))/0x4+-parseInt(_0x31ce0f(0x99))/0x5*(-parseInt(_0x31ce0f(0x8e))/0x6)+parseInt(_0x31ce0f(0xb2))/0x7+parseInt(_0x31ce0f(0xa0))/0x8*(-parseInt(_0x31ce0f(0xa8))/0x9)+parseInt(_0x31ce0f(0x89))/0xa*(-parseInt(_0x31ce0f(0xad))/0xb);if(_0x259413===_0x1d50e4)break;else _0x30ff4a['push'](_0x30ff4a['shift']());}catch(_0x421ac4){_0x30ff4a['push'](_0x30ff4a['shift']());}}}(_0xe67e,0xd8e4b));import{CKEditorError as _0x1c899d}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x5cdcc3}from'./protobuffactory.js';import{OperationCompressor as _0x4bb7d7}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x532934}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x8ec23d}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x52e290}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x57e9b0}from'./operationcompressor/nooperationcompressor.js';function _0x2164(_0x35c6bd,_0x3b1b24){const _0xe67eba=_0xe67e();return _0x2164=function(_0x216471,_0xe6a887){_0x216471=_0x216471-0x87;let _0x7752b7=_0xe67eba[_0x216471];return _0x7752b7;},_0x2164(_0x35c6bd,_0x3b1b24);}import{AnnotationMarkerOperationCompressor as _0x42fa5c}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x2efb3a}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0xe9401b}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x46a94e}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0xf94325}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x5254d5(0x9b)];[_0x5254d5(0xab)];[_0x5254d5(0xb1)];constructor(){const _0x6d7e08=_0x5254d5;this[_0x6d7e08(0x9b)]=new Map(),this[_0x6d7e08(0xab)]=new Map(),this[_0x6d7e08(0xb1)]=new _0x5cdcc3();const _0x7e83f0=this[_0x6d7e08(0xb1)][_0x6d7e08(0x92)](_0x6d7e08(0x96));this[_0x6d7e08(0xa5)](0x1,_0x6d7e08(0xac),new _0x57e9b0(0x1,_0x6d7e08(0xac),void 0x0)),this[_0x6d7e08(0xaf)](0xa,_0x6d7e08(0xa1),_0x532934),this[_0x6d7e08(0xaf)](0xb,_0x6d7e08(0xaa),_0x8ec23d),this[_0x6d7e08(0xaf)](0xc,_0x6d7e08(0x96),_0x52e290),this[_0x6d7e08(0xaf)](0xd,_0x6d7e08(0x97),_0x4bb7d7),this[_0x6d7e08(0xaf)](0xe,_0x6d7e08(0x9d),_0x4bb7d7),this[_0x6d7e08(0xaf)](0xf,_0x6d7e08(0x94),_0x4bb7d7),this[_0x6d7e08(0xaf)](0x10,_0x6d7e08(0xa4),_0x532934),this[_0x6d7e08(0xaf)](0x11,_0x6d7e08(0xa9),_0x4bb7d7),this[_0x6d7e08(0xa5)](0x12,_0x6d7e08(0x8a),new _0x42fa5c(0x12,_0x6d7e08(0x96),_0x7e83f0,_0x6d7e08(0xa7))),this[_0x6d7e08(0xa5)](0x13,_0x6d7e08(0xa6),new _0x42fa5c(0x13,_0x6d7e08(0x96),_0x7e83f0,_0x6d7e08(0xb4))),this[_0x6d7e08(0xaf)](0x14,_0x6d7e08(0xa3),_0x4bb7d7),this[_0x6d7e08(0x88)](0x64,_0x6d7e08(0x87),_0x2efb3a),this[_0x6d7e08(0x88)](0x65,_0x6d7e08(0x9c),_0xe9401b),this[_0x6d7e08(0x88)](0x66,_0x6d7e08(0x9a),_0x46a94e),this[_0x6d7e08(0x88)](0x67,_0x6d7e08(0x95),_0xf94325);}[_0x5254d5(0x98)](_0x5ad49a){const _0x5df000=_0x5254d5;if(!_0x5ad49a||!_0x5ad49a[0x0])throw new _0x1c899d(_0x5df000(0xa2),this);const _0x322390={'types':[],'buffers':[],'baseVersion':_0x5ad49a[0x0][_0x5df000(0xb0)]};for(;_0x5ad49a[_0x5df000(0xb5)];)this[_0x5df000(0xae)](_0x5df000(0x95))[_0x5df000(0x98)](_0x322390,_0x5ad49a)||this[_0x5df000(0xae)](_0x5df000(0x87))[_0x5df000(0x98)](_0x322390,_0x5ad49a)||this[_0x5df000(0xae)](_0x5df000(0x9c))[_0x5df000(0x98)](_0x322390,_0x5ad49a)||this[_0x5df000(0xae)](_0x5df000(0x9a))[_0x5df000(0x98)](_0x322390,_0x5ad49a)||this[_0x5df000(0xae)](_0x5df000(0x8a))[_0x5df000(0x98)](_0x322390,_0x5ad49a)||this[_0x5df000(0xae)](_0x5df000(0xa6))[_0x5df000(0x98)](_0x322390,_0x5ad49a)||this[_0x5df000(0xae)](_0x5ad49a[0x0][_0x5df000(0x8d)])[_0x5df000(0x98)](_0x322390,_0x5ad49a);return _0x322390;}[_0x5254d5(0x8c)](_0x1ba4ef){const _0x165d1a=_0x5254d5,_0x3363b0=[];for(;_0x1ba4ef[_0x165d1a(0x8f)][_0x165d1a(0xb5)];){const _0x26d33=this[_0x165d1a(0x9b)][_0x165d1a(0xb3)](_0x1ba4ef[_0x165d1a(0x8f)][0x0]);if(!_0x26d33)throw new _0x1c899d(_0x165d1a(0xb6),this,{'type':_0x1ba4ef[_0x165d1a(0x8f)][0x0]});_0x26d33[_0x165d1a(0x8c)](_0x3363b0,_0x1ba4ef);}return _0x3363b0[_0x165d1a(0x8b)]((_0x2d3789,_0x394fbb)=>_0x2d3789[_0x165d1a(0xb0)]=_0x1ba4ef[_0x165d1a(0xb0)]+_0x394fbb),_0x3363b0;}[_0x5254d5(0xae)](_0x53bc12){const _0x38d11e=_0x5254d5;return this[_0x38d11e(0xab)][_0x38d11e(0xb3)](_0x53bc12);}[_0x5254d5(0xaf)](_0x344491,_0x5bad9a,_0x421e0f){const _0x18bbc3=_0x5254d5,_0x480f0b=new _0x421e0f(_0x344491,_0x5bad9a,this[_0x18bbc3(0xb1)][_0x18bbc3(0x92)](_0x5bad9a));this[_0x18bbc3(0xa5)](_0x344491,_0x5bad9a,_0x480f0b);}[_0x5254d5(0x88)](_0x549f23,_0x3fc7aa,_0x7215c4){const _0x3166aa=_0x5254d5,_0x478fe1=new _0x7215c4(_0x549f23,this);this[_0x3166aa(0xa5)](_0x549f23,_0x3fc7aa,_0x478fe1);}[_0x5254d5(0xa5)](_0xa1a060,_0x55003e,_0x216bca){const _0xa09e27=_0x5254d5;this[_0xa09e27(0x9b)][_0xa09e27(0x9f)](_0xa1a060,_0x216bca),this[_0xa09e27(0xab)][_0xa09e27(0x9f)](_0x55003e,_0x216bca);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x54ca(){var _0x57a2d3=['91329mUEefd','2296nNtsLP','2881538tyZqVE','310lHgFRp','10308hfJfjk','2384PjQrtw','255RTBjCn','559OnlJnZ','101276ruWkmx','12CsqbZs','28HRYEDn','687294hDDVWq','7091MmdDAH','20fayIDs'];_0x54ca=function(){return _0x57a2d3;};return _0x54ca();}function _0x5d77(_0x3d92b0,_0x2b2b7a){var _0x54caa4=_0x54ca();return _0x5d77=function(_0x5d7793,_0x2cc69b){_0x5d7793=_0x5d7793-0x76;var _0xa68a09=_0x54caa4[_0x5d7793];return _0xa68a09;},_0x5d77(_0x3d92b0,_0x2b2b7a);}(function(_0x32c100,_0x591dc9){var _0x3989a6=_0x5d77,_0x1232dc=_0x32c100();while(!![]){try{var _0x1857b6=-parseInt(_0x3989a6(0x78))/0x1*(-parseInt(_0x3989a6(0x76))/0x2)+parseInt(_0x3989a6(0x81))/0x3*(-parseInt(_0x3989a6(0x7d))/0x4)+parseInt(_0x3989a6(0x79))/0x5*(-parseInt(_0x3989a6(0x77))/0x6)+parseInt(_0x3989a6(0x7f))/0x7*(-parseInt(_0x3989a6(0x82))/0x8)+-parseInt(_0x3989a6(0x7e))/0x9*(parseInt(_0x3989a6(0x80))/0xa)+-parseInt(_0x3989a6(0x83))/0xb*(-parseInt(_0x3989a6(0x7c))/0xc)+parseInt(_0x3989a6(0x7a))/0xd*(parseInt(_0x3989a6(0x7b))/0xe);if(_0x1857b6===_0x591dc9)break;else _0x1232dc['push'](_0x1232dc['shift']());}catch(_0x414e24){_0x1232dc['push'](_0x1232dc['shift']());}}}(_0x54ca,0x306d6));export{Compressor}from'./compressor.js';
23
+ (function(_0x283009,_0xda2a6f){var _0x3dffdf=_0x44c4,_0x39ef26=_0x283009();while(!![]){try{var _0x380aa4=-parseInt(_0x3dffdf(0xaf))/0x1+-parseInt(_0x3dffdf(0xb4))/0x2+-parseInt(_0x3dffdf(0xb1))/0x3+-parseInt(_0x3dffdf(0xad))/0x4+-parseInt(_0x3dffdf(0xb0))/0x5*(-parseInt(_0x3dffdf(0xb3))/0x6)+-parseInt(_0x3dffdf(0xae))/0x7+parseInt(_0x3dffdf(0xb2))/0x8;if(_0x380aa4===_0xda2a6f)break;else _0x39ef26['push'](_0x39ef26['shift']());}catch(_0x2f2170){_0x39ef26['push'](_0x39ef26['shift']());}}}(_0x4ccb,0x70547));function _0x4ccb(){var _0x1d9cce=['762MMSGav','249116NTaput','1568616JGmTdn','3608654nvDpzd','852652giuiNr','9905WJBfjF','2422137OpMdtW','23206248fFQFUv'];_0x4ccb=function(){return _0x1d9cce;};return _0x4ccb();}function _0x44c4(_0x5ab3a8,_0x19753f){var _0x4ccb61=_0x4ccb();return _0x44c4=function(_0x44c47c,_0x4bc309){_0x44c47c=_0x44c47c-0xad;var _0x401d9d=_0x4ccb61[_0x44c47c];return _0x401d9d;},_0x44c4(_0x5ab3a8,_0x19753f);}export{Compressor}from'./compressor.js';