@ckeditor/ckeditor5-operations-compressor 46.1.1-alpha.3 → 46.1.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 _0xccd0f5=_0x3ffc;(function(_0x34d4eb,_0x3124eb){const _0x426884=_0x3ffc,_0x42a8db=_0x34d4eb();while(!![]){try{const _0x1a4f07=parseInt(_0x426884(0x122))/0x1*(parseInt(_0x426884(0x114))/0x2)+-parseInt(_0x426884(0x120))/0x3+parseInt(_0x426884(0x11d))/0x4*(-parseInt(_0x426884(0x115))/0x5)+parseInt(_0x426884(0x112))/0x6*(parseInt(_0x426884(0x11e))/0x7)+-parseInt(_0x426884(0x12b))/0x8*(-parseInt(_0x426884(0x12a))/0x9)+-parseInt(_0x426884(0x12c))/0xa+-parseInt(_0x426884(0x12e))/0xb;if(_0x1a4f07===_0x3124eb)break;else _0x42a8db['push'](_0x42a8db['shift']());}catch(_0x4c128a){_0x42a8db['push'](_0x42a8db['shift']());}}}(_0x44af,0x2b2c6));import{ActionCompressor as _0x3ff0e3}from'./actioncompressor.js';function _0x3ffc(_0x5995fc,_0x553134){const _0x44afdc=_0x44af();return _0x3ffc=function(_0x3ffc52,_0x529f93){_0x3ffc52=_0x3ffc52-0x112;let _0x5bdc69=_0x44afdc[_0x3ffc52];return _0x5bdc69;},_0x3ffc(_0x5995fc,_0x553134);}import{arePositionsEqual as _0x5a4475,getPositionShiftedBy as _0x9562f1}from'../utils.js';import{cloneDeep as _0x23be15}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x3ff0e3{[_0xccd0f5(0x121)](_0x76648,_0x570d5b){const _0x5cac57=_0xccd0f5;return _0x570d5b[_0x5cac57(0x119)]++,_0x570d5b[_0x5cac57(0x123)]=_0x23be15(_0x76648[_0x5cac57(0x123)]),_0x570d5b;}[_0xccd0f5(0x11f)](_0x2b7821){const _0x53146b=_0xccd0f5,_0x5a673f=_0x23be15(_0x2b7821);return _0x2b7821[_0x53146b(0x119)]--,_0x5a673f[_0x53146b(0x119)]=0x1,_0x5a673f[_0x53146b(0x123)]=_0x9562f1(_0x5a673f[_0x53146b(0x123)],_0x2b7821[_0x53146b(0x119)]),_0x5a673f;}[_0xccd0f5(0x129)](_0x2cd32e,_0x27c4b1){const _0x31098a=_0xccd0f5;return!(!this[_0x31098a(0x12f)](_0x2cd32e)||!this[_0x31098a(0x12f)](_0x27c4b1))&&(_0x5a4475(_0x9562f1(_0x2cd32e[_0x31098a(0x123)],-0x1),_0x27c4b1[_0x31098a(0x123)])&&_0x5a4475(_0x2cd32e[_0x31098a(0x127)],_0x27c4b1[_0x31098a(0x127)]));}[_0xccd0f5(0x118)](_0x44d498){const _0x506df5=_0xccd0f5,_0x6068c4={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x506df5(0x128)][_0x506df5(0x11b)](_0x506df5(0x12d))[_0x506df5(0x125)](_0x6068c4,[_0x44d498]),_0x6068c4[_0x506df5(0x11c)][0x0];}[_0xccd0f5(0x126)](_0x570275){const _0x1e8cd9=_0xccd0f5,_0x3841ab=[];return this[_0x1e8cd9(0x128)][_0x1e8cd9(0x11b)](_0x1e8cd9(0x12d))[_0x1e8cd9(0x117)](_0x3841ab,_0x570275),_0x3841ab[0x0];}[_0xccd0f5(0x12f)](_0x4a5ebd){const _0x209f4a=_0xccd0f5;return _0x209f4a(0x12d)==_0x4a5ebd[_0x209f4a(0x116)]&&_0x209f4a(0x124)==_0x4a5ebd[_0x209f4a(0x127)][_0x209f4a(0x11a)]&&0x1==_0x4a5ebd[_0x209f4a(0x119)]&&!_0x4a5ebd[_0x209f4a(0x113)];}}function _0x44af(){const _0x4c4a40=['_getCompressorByName','buffers','12808RuykOw','2168467ZkiQhR','_splitCurrent','238374tZkxIG','_combineNext','1lbvGHl','sourcePosition','$graveyard','compress','_decompressSingleOperation','targetPosition','_context','_compareOperations','18tVDlNE','912480CUBfRH','601780NHrkGM','MoveOperation','2805341AJDOfR','_checkOperation','6BIVHYN','wasUndone','105632ZOzxMp','30thdcDb','__className','decompress','_compressSingleOperation','howMany','root'];_0x44af=function(){return _0x4c4a40;};return _0x44af();}
23
+ const _0x4f1779=_0x5989;(function(_0x2a57ed,_0x532c7c){const _0x3ff212=_0x5989,_0x4e2dc4=_0x2a57ed();while(!![]){try{const _0x571277=parseInt(_0x3ff212(0x17b))/0x1*(parseInt(_0x3ff212(0x172))/0x2)+-parseInt(_0x3ff212(0x163))/0x3*(-parseInt(_0x3ff212(0x16f))/0x4)+-parseInt(_0x3ff212(0x161))/0x5+-parseInt(_0x3ff212(0x166))/0x6+-parseInt(_0x3ff212(0x167))/0x7+-parseInt(_0x3ff212(0x178))/0x8+-parseInt(_0x3ff212(0x171))/0x9*(-parseInt(_0x3ff212(0x16c))/0xa);if(_0x571277===_0x532c7c)break;else _0x4e2dc4['push'](_0x4e2dc4['shift']());}catch(_0x6c41c1){_0x4e2dc4['push'](_0x4e2dc4['shift']());}}}(_0x31fd,0x7b932));import{ActionCompressor as _0x9deb65}from'./actioncompressor.js';function _0x5989(_0x2dd944,_0x128a13){const _0x31fd32=_0x31fd();return _0x5989=function(_0x59898c,_0x15f7f8){_0x59898c=_0x59898c-0x160;let _0x576376=_0x31fd32[_0x59898c];return _0x576376;},_0x5989(_0x2dd944,_0x128a13);}function _0x31fd(){const _0x474a91=['869544pQNkuj','22kqNHfZ','_compareOperations','_decompressSingleOperation','buffers','_splitCurrent','__className','7463880ROBeKx','decompress','howMany','30365AZahRU','targetPosition','$graveyard','2743680gQUYfZ','_getCompressorByName','381vKDlUZ','sourcePosition','root','2114724UpJmYW','5008899dYKPge','_combineNext','MoveOperation','_compressSingleOperation','_context','200KHNxWt','wasUndone','_checkOperation','24868BGcWvD','compress'];_0x31fd=function(){return _0x474a91;};return _0x31fd();}import{arePositionsEqual as _0x428256,getPositionShiftedBy as _0x563b87}from'../utils.js';import{cloneDeep as _0x76e7bb}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x9deb65{[_0x4f1779(0x168)](_0x197a87,_0x1c2f4e){const _0xe8e9ae=_0x4f1779;return _0x1c2f4e[_0xe8e9ae(0x17a)]++,_0x1c2f4e[_0xe8e9ae(0x164)]=_0x76e7bb(_0x197a87[_0xe8e9ae(0x164)]),_0x1c2f4e;}[_0x4f1779(0x176)](_0x1d1412){const _0x2d371c=_0x4f1779,_0x4054b9=_0x76e7bb(_0x1d1412);return _0x1d1412[_0x2d371c(0x17a)]--,_0x4054b9[_0x2d371c(0x17a)]=0x1,_0x4054b9[_0x2d371c(0x164)]=_0x563b87(_0x4054b9[_0x2d371c(0x164)],_0x1d1412[_0x2d371c(0x17a)]),_0x4054b9;}[_0x4f1779(0x173)](_0x228d72,_0x5c377c){const _0x15bc5c=_0x4f1779;return!(!this[_0x15bc5c(0x16e)](_0x228d72)||!this[_0x15bc5c(0x16e)](_0x5c377c))&&(_0x428256(_0x563b87(_0x228d72[_0x15bc5c(0x164)],-0x1),_0x5c377c[_0x15bc5c(0x164)])&&_0x428256(_0x228d72[_0x15bc5c(0x17c)],_0x5c377c[_0x15bc5c(0x17c)]));}[_0x4f1779(0x16a)](_0x3f34fa){const _0x733393=_0x4f1779,_0xe60b46={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x733393(0x16b)][_0x733393(0x162)](_0x733393(0x169))[_0x733393(0x170)](_0xe60b46,[_0x3f34fa]),_0xe60b46[_0x733393(0x175)][0x0];}[_0x4f1779(0x174)](_0x4c0a87){const _0x377f64=_0x4f1779,_0x4f032f=[];return this[_0x377f64(0x16b)][_0x377f64(0x162)](_0x377f64(0x169))[_0x377f64(0x179)](_0x4f032f,_0x4c0a87),_0x4f032f[0x0];}[_0x4f1779(0x16e)](_0x5a89b8){const _0x560c24=_0x4f1779;return _0x560c24(0x169)==_0x5a89b8[_0x560c24(0x177)]&&_0x560c24(0x160)==_0x5a89b8[_0x560c24(0x17c)][_0x560c24(0x165)]&&0x1==_0x5a89b8[_0x560c24(0x17a)]&&!_0x5a89b8[_0x560c24(0x16d)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x81633a=_0x9a5c;(function(_0x5ce968,_0x56b94a){const _0x3396cb=_0x9a5c,_0x51b0fe=_0x5ce968();while(!![]){try{const _0x4b3b65=-parseInt(_0x3396cb(0x1d5))/0x1*(parseInt(_0x3396cb(0x1ef))/0x2)+parseInt(_0x3396cb(0x1ec))/0x3*(-parseInt(_0x3396cb(0x1d9))/0x4)+parseInt(_0x3396cb(0x1df))/0x5+parseInt(_0x3396cb(0x1ea))/0x6+-parseInt(_0x3396cb(0x1e7))/0x7+-parseInt(_0x3396cb(0x1e2))/0x8*(-parseInt(_0x3396cb(0x1e8))/0x9)+parseInt(_0x3396cb(0x1d7))/0xa;if(_0x4b3b65===_0x56b94a)break;else _0x51b0fe['push'](_0x51b0fe['shift']());}catch(_0x410cb6){_0x51b0fe['push'](_0x51b0fe['shift']());}}}(_0x5187,0xabc62));import{ActionCompressor as _0x5f25e8}from'./actioncompressor.js';function _0x9a5c(_0x3d110d,_0xa41619){const _0x5187b6=_0x5187();return _0x9a5c=function(_0x9a5c0e,_0x18a954){_0x9a5c0e=_0x9a5c0e-0x1d5;let _0x348b12=_0x5187b6[_0x9a5c0e];return _0x348b12;},_0x9a5c(_0x3d110d,_0xa41619);}function _0x5187(){const _0xe00028=['1359DaIPnb','root','2567592Ymxboc','_compareOperations','315VXpbpN','buffers','$graveyard','199878muAftL','howMany','_splitCurrent','1nWcBev','MoveOperation','1741680BJExRU','_checkOperation','36252udFctt','_combineNext','_decompressSingleOperation','_context','_getCompressorByName','targetPosition','30065bSdIQE','decompress','wasUndone','72112JtFzkv','sourcePosition','__className','_compressSingleOperation','compress','1498609PzeKWD'];_0x5187=function(){return _0xe00028;};return _0x5187();}import{arePositionsEqual as _0x12e32e}from'../utils.js';import{cloneDeep as _0x2e73f9}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x5f25e8{[_0x81633a(0x1da)](_0x5e2bb1,_0x28f093){const _0x192670=_0x81633a;return _0x28f093[_0x192670(0x1f0)]++,_0x28f093;}[_0x81633a(0x1f1)](_0x39166f){const _0x196aaf=_0x81633a,_0x455ff0=_0x2e73f9(_0x39166f);return _0x455ff0[_0x196aaf(0x1f0)]=0x1,_0x39166f[_0x196aaf(0x1f0)]--,_0x455ff0;}[_0x81633a(0x1eb)](_0x1989b4,_0x33f6f0){const _0x4a46c4=_0x81633a;return!(!this[_0x4a46c4(0x1d8)](_0x1989b4)||!this[_0x4a46c4(0x1d8)](_0x33f6f0))&&(_0x12e32e(_0x1989b4[_0x4a46c4(0x1e3)],_0x33f6f0[_0x4a46c4(0x1e3)])&&_0x12e32e(_0x1989b4[_0x4a46c4(0x1de)],_0x33f6f0[_0x4a46c4(0x1de)]));}[_0x81633a(0x1e5)](_0xd04e6b){const _0xf94b27=_0x81633a,_0xd92a0e={'types':[],'buffers':[],'baseVersion':0x0};return this[_0xf94b27(0x1dc)][_0xf94b27(0x1dd)](_0xf94b27(0x1d6))[_0xf94b27(0x1e6)](_0xd92a0e,[_0xd04e6b]),_0xd92a0e[_0xf94b27(0x1ed)][0x0];}[_0x81633a(0x1db)](_0x464b3b){const _0x203eac=_0x81633a,_0x2eedaa=[];return this[_0x203eac(0x1dc)][_0x203eac(0x1dd)](_0x203eac(0x1d6))[_0x203eac(0x1e0)](_0x2eedaa,_0x464b3b),_0x2eedaa[0x0];}[_0x81633a(0x1d8)](_0x26ed55){const _0x2d8c04=_0x81633a;return _0x2d8c04(0x1d6)==_0x26ed55[_0x2d8c04(0x1e4)]&&_0x2d8c04(0x1ee)==_0x26ed55[_0x2d8c04(0x1de)][_0x2d8c04(0x1e9)]&&0x1==_0x26ed55[_0x2d8c04(0x1f0)]&&!_0x26ed55[_0x2d8c04(0x1e1)];}}
23
+ function _0x4be0(_0x59911d,_0x3d2243){const _0x87291e=_0x8729();return _0x4be0=function(_0x4be0a7,_0x2db338){_0x4be0a7=_0x4be0a7-0x10b;let _0x1bf7ee=_0x87291e[_0x4be0a7];return _0x1bf7ee;},_0x4be0(_0x59911d,_0x3d2243);}function _0x8729(){const _0x17c960=['190FLdYMR','_decompressSingleOperation','8aDgmwl','sourcePosition','decompress','__className','_context','targetPosition','_getCompressorByName','48429pAgMmv','MoveOperation','buffers','3023235UYXiFx','wasUndone','root','_combineNext','compress','_splitCurrent','796833uZRorP','$graveyard','13003qocrRd','3529008bNkCtx','_checkOperation','howMany','68SFjQDb','1402566dLtiiQ','_compressSingleOperation','_compareOperations','80416Rcklvk'];_0x8729=function(){return _0x17c960;};return _0x8729();}const _0x24b136=_0x4be0;(function(_0x331146,_0x58fb35){const _0x62f51=_0x4be0,_0x14934b=_0x331146();while(!![]){try{const _0x4f15d9=parseInt(_0x62f51(0x127))/0x1*(-parseInt(_0x62f51(0x10e))/0x2)+-parseInt(_0x62f51(0x125))/0x3*(-parseInt(_0x62f51(0x115))/0x4)+-parseInt(_0x62f51(0x11f))/0x5+parseInt(_0x62f51(0x10f))/0x6+parseInt(_0x62f51(0x10b))/0x7+-parseInt(_0x62f51(0x112))/0x8+-parseInt(_0x62f51(0x11c))/0x9*(-parseInt(_0x62f51(0x113))/0xa);if(_0x4f15d9===_0x58fb35)break;else _0x14934b['push'](_0x14934b['shift']());}catch(_0x4e97a4){_0x14934b['push'](_0x14934b['shift']());}}}(_0x8729,0x4ccc5));import{ActionCompressor as _0x28fccd}from'./actioncompressor.js';import{arePositionsEqual as _0x92f840}from'../utils.js';import{cloneDeep as _0xbdb249}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x28fccd{[_0x24b136(0x122)](_0x1054a6,_0x81734a){const _0x408b9d=_0x24b136;return _0x81734a[_0x408b9d(0x10d)]++,_0x81734a;}[_0x24b136(0x124)](_0x3e3838){const _0x2d3f93=_0x24b136,_0x37aeda=_0xbdb249(_0x3e3838);return _0x37aeda[_0x2d3f93(0x10d)]=0x1,_0x3e3838[_0x2d3f93(0x10d)]--,_0x37aeda;}[_0x24b136(0x111)](_0x28bfe3,_0x29b80b){const _0x577554=_0x24b136;return!(!this[_0x577554(0x10c)](_0x28bfe3)||!this[_0x577554(0x10c)](_0x29b80b))&&(_0x92f840(_0x28bfe3[_0x577554(0x116)],_0x29b80b[_0x577554(0x116)])&&_0x92f840(_0x28bfe3[_0x577554(0x11a)],_0x29b80b[_0x577554(0x11a)]));}[_0x24b136(0x110)](_0x173d25){const _0x391067=_0x24b136,_0x3be40a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x391067(0x119)][_0x391067(0x11b)](_0x391067(0x11d))[_0x391067(0x123)](_0x3be40a,[_0x173d25]),_0x3be40a[_0x391067(0x11e)][0x0];}[_0x24b136(0x114)](_0x2a9455){const _0x3cf225=_0x24b136,_0x3f40f0=[];return this[_0x3cf225(0x119)][_0x3cf225(0x11b)](_0x3cf225(0x11d))[_0x3cf225(0x117)](_0x3f40f0,_0x2a9455),_0x3f40f0[0x0];}[_0x24b136(0x10c)](_0x46cf82){const _0x3aeda1=_0x24b136;return _0x3aeda1(0x11d)==_0x46cf82[_0x3aeda1(0x118)]&&_0x3aeda1(0x126)==_0x46cf82[_0x3aeda1(0x11a)][_0x3aeda1(0x121)]&&0x1==_0x46cf82[_0x3aeda1(0x10d)]&&!_0x46cf82[_0x3aeda1(0x120)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc904e3=_0x2922;(function(_0x42dd25,_0x1e78e1){const _0x5372e9=_0x2922,_0x214e0b=_0x42dd25();while(!![]){try{const _0x3d857e=-parseInt(_0x5372e9(0xb4))/0x1+parseInt(_0x5372e9(0xb0))/0x2*(-parseInt(_0x5372e9(0xb9))/0x3)+parseInt(_0x5372e9(0xba))/0x4*(parseInt(_0x5372e9(0xbb))/0x5)+-parseInt(_0x5372e9(0xbe))/0x6*(-parseInt(_0x5372e9(0xa7))/0x7)+parseInt(_0x5372e9(0xb5))/0x8+parseInt(_0x5372e9(0xb3))/0x9+-parseInt(_0x5372e9(0xa6))/0xa;if(_0x3d857e===_0x1e78e1)break;else _0x214e0b['push'](_0x214e0b['shift']());}catch(_0x394938){_0x214e0b['push'](_0x214e0b['shift']());}}}(_0x4737,0x6ef81));function _0x4737(){const _0x3b00ca=['_compareAttributes','_getCompressorByName','length','from','compress','_splitCurrent','_context','80OAcBpw','nodes','_decompressSingleOperation','1306908tXoBVD','348180nlKOGm','5015352DpRXas','_compressSingleOperation','value','every','49656apwRty','70744QAdZue','230sErjhN','__className','data','6lGoSle','keys','wasUndone','attributes','next','position','buffers','InsertOperation','iterator','_combineNext','substr','decompress','_compareOperations','9697110KDzFlm','5941691UIWIBv','_checkOperation'];_0x4737=function(){return _0x3b00ca;};return _0x4737();}import{ActionCompressor as _0x4732f6}from'./actioncompressor.js';import{arePositionsEqual as _0x154b1f,getPositionShiftedBy as _0x2bf678}from'../utils.js';function _0x2922(_0x2cd0a1,_0xb6e0b0){const _0x473713=_0x4737();return _0x2922=function(_0x29224e,_0x48011d){_0x29224e=_0x29224e-0x9a;let _0x317b8e=_0x473713[_0x29224e];return _0x317b8e;},_0x2922(_0x2cd0a1,_0xb6e0b0);}import{cloneDeep as _0x428dc6}from'es-toolkit/compat';export class TypingActionCompressor extends _0x4732f6{[_0xc904e3(0xa2)](_0x5709cb,_0x16d254){const _0x5034fe=_0xc904e3;return _0x16d254[_0x5034fe(0xb1)][0x0][_0x5034fe(0xbd)]+=_0x5709cb[_0x5034fe(0xb1)][0x0][_0x5034fe(0xbd)],_0x16d254;}[_0xc904e3(0xae)](_0x3eba8a){const _0x4154a8=_0xc904e3,_0x2775ab=_0x428dc6(_0x3eba8a),_0x2121c4=_0x2775ab[_0x4154a8(0xb1)][0x0],_0x49b096=_0x3eba8a[_0x4154a8(0xb1)][0x0],_0x3f49b3=_0x49b096[_0x4154a8(0xbd)][Symbol[_0x4154a8(0xa1)]]()[_0x4154a8(0x9d)]()[_0x4154a8(0xb7)],_0xdfbc4e=_0x3f49b3[_0x4154a8(0xab)];return _0x2121c4[_0x4154a8(0xbd)]=_0x3f49b3,_0x49b096[_0x4154a8(0xbd)]=_0x49b096[_0x4154a8(0xbd)][_0x4154a8(0xa3)](_0xdfbc4e),_0x3eba8a[_0x4154a8(0x9e)]=_0x2bf678(_0x3eba8a[_0x4154a8(0x9e)],_0xdfbc4e),_0x2775ab;}[_0xc904e3(0xa5)](_0x35804a,_0x139246){const _0x1bb285=_0xc904e3;if(this[_0x1bb285(0xa8)](_0x35804a)&&this[_0x1bb285(0xa8)](_0x139246)){const _0x4460f6=_0x35804a[_0x1bb285(0xb1)][0x0][_0x1bb285(0xbd)][_0x1bb285(0xab)],_0x2b5c5e=_0x154b1f(_0x2bf678(_0x35804a[_0x1bb285(0x9e)],_0x4460f6),_0x139246[_0x1bb285(0x9e)]),_0x1625a8=_0x35804a[_0x1bb285(0xb1)][0x0],_0x54593e=_0x139246[_0x1bb285(0xb1)][0x0];return _0x2b5c5e&&this[_0x1bb285(0xa9)](_0x1625a8,_0x54593e);}return!0x1;}[_0xc904e3(0xb6)](_0x7fb942){const _0x173191=_0xc904e3,_0x1af161={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x173191(0xaf)][_0x173191(0xaa)](_0x173191(0xa0))[_0x173191(0xad)](_0x1af161,[_0x7fb942]),_0x1af161[_0x173191(0x9f)][0x0];}[_0xc904e3(0xb2)](_0x942d31){const _0x36adcd=_0xc904e3,_0x49b265=[];return this[_0x36adcd(0xaf)][_0x36adcd(0xaa)](_0x36adcd(0xa0))[_0x36adcd(0xa4)](_0x49b265,_0x942d31),_0x49b265[0x0];}[_0xc904e3(0xa8)](_0x3b1ee7){const _0x58e0d2=_0xc904e3;return _0x58e0d2(0xa0)==_0x3b1ee7[_0x58e0d2(0xbc)]&&0x1==_0x3b1ee7[_0x58e0d2(0xb1)][_0x58e0d2(0xab)]&&_0x3b1ee7[_0x58e0d2(0xb1)][0x0][_0x58e0d2(0xbd)]&&!_0x3b1ee7[_0x58e0d2(0x9b)]&&0x1==Array[_0x58e0d2(0xac)](_0x3b1ee7[_0x58e0d2(0xb1)][0x0][_0x58e0d2(0xbd)])[_0x58e0d2(0xab)];}[_0xc904e3(0xa9)](_0x2a0132,_0x320e1b){const _0x34c015=_0xc904e3,_0x4069ec=Object[_0x34c015(0x9a)](_0x2a0132[_0x34c015(0x9c)]||{}),_0x1f1d36=Object[_0x34c015(0x9a)](_0x320e1b[_0x34c015(0x9c)]||{});return _0x4069ec[_0x34c015(0xab)]===_0x1f1d36[_0x34c015(0xab)]&&_0x4069ec[_0x34c015(0xb8)](_0x18dff1=>_0x320e1b[_0x34c015(0x9c)][_0x18dff1]&&_0x320e1b[_0x34c015(0x9c)][_0x18dff1]===_0x2a0132[_0x34c015(0x9c)][_0x18dff1]);}}
23
+ const _0x2227ea=_0x4d62;(function(_0x2b9a18,_0x26325a){const _0x3871d8=_0x4d62,_0x1aceb4=_0x2b9a18();while(!![]){try{const _0x42c8d9=-parseInt(_0x3871d8(0x9b))/0x1*(parseInt(_0x3871d8(0xa8))/0x2)+parseInt(_0x3871d8(0x89))/0x3+-parseInt(_0x3871d8(0x93))/0x4+parseInt(_0x3871d8(0xac))/0x5+-parseInt(_0x3871d8(0xa0))/0x6*(parseInt(_0x3871d8(0x97))/0x7)+-parseInt(_0x3871d8(0x96))/0x8*(parseInt(_0x3871d8(0xa3))/0x9)+parseInt(_0x3871d8(0xa9))/0xa*(parseInt(_0x3871d8(0xaa))/0xb);if(_0x42c8d9===_0x26325a)break;else _0x1aceb4['push'](_0x1aceb4['shift']());}catch(_0x2f5982){_0x1aceb4['push'](_0x1aceb4['shift']());}}}(_0x3f44,0xe2b0f));function _0x3f44(){const _0x5cebdb=['value','attributes','every','2956484RPCVMx','_checkOperation','buffers','56tATdHy','1148nxpDSy','_compareOperations','nodes','_context','2601LLRmut','compress','__className','wasUndone','decompress','46962fsZIBw','_compressSingleOperation','_combineNext','583218ZKiqEi','_decompressSingleOperation','substr','from','InsertOperation','1126lmIUTo','21255190UsZflN','11PyNUcG','_splitCurrent','4460330nngAaG','position','keys','5555004XKgsJE','data','_getCompressorByName','next','_compareAttributes','length','iterator'];_0x3f44=function(){return _0x5cebdb;};return _0x3f44();}function _0x4d62(_0x4f5b08,_0x109ac9){const _0x3f4421=_0x3f44();return _0x4d62=function(_0x4d62f7,_0x3ec5db){_0x4d62f7=_0x4d62f7-0x89;let _0x303582=_0x3f4421[_0x4d62f7];return _0x303582;},_0x4d62(_0x4f5b08,_0x109ac9);}import{ActionCompressor as _0x5740be}from'./actioncompressor.js';import{arePositionsEqual as _0x2f6ebf,getPositionShiftedBy as _0x2a4059}from'../utils.js';import{cloneDeep as _0x2e8ebf}from'es-toolkit/compat';export class TypingActionCompressor extends _0x5740be{[_0x2227ea(0xa2)](_0x4762be,_0x13294b){const _0x2080fd=_0x2227ea;return _0x13294b[_0x2080fd(0x99)][0x0][_0x2080fd(0x8a)]+=_0x4762be[_0x2080fd(0x99)][0x0][_0x2080fd(0x8a)],_0x13294b;}[_0x2227ea(0xab)](_0x5d5250){const _0x455a8c=_0x2227ea,_0x257f68=_0x2e8ebf(_0x5d5250),_0x1c22a1=_0x257f68[_0x455a8c(0x99)][0x0],_0x37f70b=_0x5d5250[_0x455a8c(0x99)][0x0],_0x247720=_0x37f70b[_0x455a8c(0x8a)][Symbol[_0x455a8c(0x8f)]]()[_0x455a8c(0x8c)]()[_0x455a8c(0x90)],_0x11e270=_0x247720[_0x455a8c(0x8e)];return _0x1c22a1[_0x455a8c(0x8a)]=_0x247720,_0x37f70b[_0x455a8c(0x8a)]=_0x37f70b[_0x455a8c(0x8a)][_0x455a8c(0xa5)](_0x11e270),_0x5d5250[_0x455a8c(0xad)]=_0x2a4059(_0x5d5250[_0x455a8c(0xad)],_0x11e270),_0x257f68;}[_0x2227ea(0x98)](_0x43c29d,_0x525402){const _0x3a619c=_0x2227ea;if(this[_0x3a619c(0x94)](_0x43c29d)&&this[_0x3a619c(0x94)](_0x525402)){const _0x1c04ec=_0x43c29d[_0x3a619c(0x99)][0x0][_0x3a619c(0x8a)][_0x3a619c(0x8e)],_0x4edadf=_0x2f6ebf(_0x2a4059(_0x43c29d[_0x3a619c(0xad)],_0x1c04ec),_0x525402[_0x3a619c(0xad)]),_0x3ba279=_0x43c29d[_0x3a619c(0x99)][0x0],_0x597d7d=_0x525402[_0x3a619c(0x99)][0x0];return _0x4edadf&&this[_0x3a619c(0x8d)](_0x3ba279,_0x597d7d);}return!0x1;}[_0x2227ea(0xa1)](_0x3e522a){const _0x350505=_0x2227ea,_0x53998e={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x350505(0x9a)][_0x350505(0x8b)](_0x350505(0xa7))[_0x350505(0x9c)](_0x53998e,[_0x3e522a]),_0x53998e[_0x350505(0x95)][0x0];}[_0x2227ea(0xa4)](_0x20b314){const _0x2ef8db=_0x2227ea,_0x40a054=[];return this[_0x2ef8db(0x9a)][_0x2ef8db(0x8b)](_0x2ef8db(0xa7))[_0x2ef8db(0x9f)](_0x40a054,_0x20b314),_0x40a054[0x0];}[_0x2227ea(0x94)](_0x5ec79e){const _0xf3e71e=_0x2227ea;return _0xf3e71e(0xa7)==_0x5ec79e[_0xf3e71e(0x9d)]&&0x1==_0x5ec79e[_0xf3e71e(0x99)][_0xf3e71e(0x8e)]&&_0x5ec79e[_0xf3e71e(0x99)][0x0][_0xf3e71e(0x8a)]&&!_0x5ec79e[_0xf3e71e(0x9e)]&&0x1==Array[_0xf3e71e(0xa6)](_0x5ec79e[_0xf3e71e(0x99)][0x0][_0xf3e71e(0x8a)])[_0xf3e71e(0x8e)];}[_0x2227ea(0x8d)](_0x105a14,_0x3d4fec){const _0xab63f0=_0x2227ea,_0x7a4f63=Object[_0xab63f0(0xae)](_0x105a14[_0xab63f0(0x91)]||{}),_0x1f4077=Object[_0xab63f0(0xae)](_0x3d4fec[_0xab63f0(0x91)]||{});return _0x7a4f63[_0xab63f0(0x8e)]===_0x1f4077[_0xab63f0(0x8e)]&&_0x7a4f63[_0xab63f0(0x92)](_0x2c9d71=>_0x3d4fec[_0xab63f0(0x91)][_0x2c9d71]&&_0x3d4fec[_0xab63f0(0x91)][_0x2c9d71]===_0x105a14[_0xab63f0(0x91)][_0x2c9d71]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e0971=_0x36b3;(function(_0x57c34d,_0x26515f){const _0xead98f=_0x36b3,_0x56ad57=_0x57c34d();while(!![]){try{const _0x44df2f=parseInt(_0xead98f(0x109))/0x1+-parseInt(_0xead98f(0x10b))/0x2+parseInt(_0xead98f(0x104))/0x3+parseInt(_0xead98f(0x111))/0x4*(-parseInt(_0xead98f(0xfe))/0x5)+parseInt(_0xead98f(0x105))/0x6*(-parseInt(_0xead98f(0xfa))/0x7)+-parseInt(_0xead98f(0xf4))/0x8*(parseInt(_0xead98f(0x103))/0x9)+parseInt(_0xead98f(0xf3))/0xa;if(_0x44df2f===_0x26515f)break;else _0x56ad57['push'](_0x56ad57['shift']());}catch(_0x14f9fc){_0x56ad57['push'](_0x56ad57['shift']());}}}(_0x54f9,0x7ddfb));function _0x36b3(_0x5dc05a,_0x4c93d1){const _0x54f984=_0x54f9();return _0x36b3=function(_0x36b328,_0x24efc0){_0x36b328=_0x36b328-0xef;let _0x45188d=_0x54f984[_0x36b328];return _0x45188d;},_0x36b3(_0x5dc05a,_0x4c93d1);}import{ActionCompressor as _0xe6ba64}from'./actioncompressor.js';import{arePositionsEqual as _0xb5771a}from'../utils.js';function _0x54f9(){const _0x2199c3=['start','oldRange','split','5424280ycuufx','286024XABlQA','shift','_decompressSingleOperation','_id','user:','push','7bKIECr','name','startsWith','types','5pKjsPQ','compress','toNone','_compressSingleOperation','newRange','45ruvqfD','2311638VQJsjb','2934972lXRvRv','end','stickiness','_context','725171oVAeik','buffers','898632mZWFLI','_getCompressorByName','decompress','_compareOperations','user:position:','MarkerOperation','1621292kxGuSq','__className'];_0x54f9=function(){return _0x2199c3;};return _0x54f9();}import{cloneDeep as _0x1dd0ee}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0xe6ba64{[_0x5e0971(0xff)](_0x3e13f4,_0x4231c1){const _0x598dda=_0x5e0971;if(!this[_0x598dda(0x10e)](_0x4231c1[0x0],_0x4231c1[0x1]))return!0x1;const _0x3c99f4=_0x4231c1[_0x598dda(0xf5)]();return _0x3c99f4[_0x598dda(0xf1)]=null,_0x3c99f4[_0x598dda(0x102)]&&_0xb5771a(_0x3c99f4[_0x598dda(0x102)][_0x598dda(0xf0)],_0x3c99f4[_0x598dda(0x102)][_0x598dda(0x106)])&&(_0x3c99f4[_0x598dda(0x102)][_0x598dda(0x106)]=null),_0x4231c1[_0x598dda(0xf5)](),_0x3e13f4[_0x598dda(0xfd)][_0x598dda(0xf9)](this[_0x598dda(0xf7)]),_0x3e13f4[_0x598dda(0xfd)][_0x598dda(0xf9)](0x0),_0x3e13f4[_0x598dda(0x10a)][_0x598dda(0xf9)](this[_0x598dda(0x101)](_0x3c99f4)),!0x0;}[_0x5e0971(0x10d)](_0x10b77f,_0x57f4a1){const _0x1d1c8d=_0x5e0971,_0x8c1655=this[_0x1d1c8d(0xf6)](_0x57f4a1);_0x8c1655[_0x1d1c8d(0x102)]&&!_0x8c1655[_0x1d1c8d(0x102)][_0x1d1c8d(0x106)]&&(_0x8c1655[_0x1d1c8d(0x102)][_0x1d1c8d(0x106)]=_0x1dd0ee(_0x8c1655[_0x1d1c8d(0x102)][_0x1d1c8d(0xf0)]));const _0x40c0d0=_0x1dd0ee(_0x8c1655);_0x40c0d0[_0x1d1c8d(0x102)]&&(_0x40c0d0[_0x1d1c8d(0x102)][_0x1d1c8d(0xf0)][_0x1d1c8d(0x107)]=_0x1d1c8d(0x100),_0x40c0d0[_0x1d1c8d(0x102)][_0x1d1c8d(0x106)]=_0x1dd0ee(_0x40c0d0[_0x1d1c8d(0x102)][_0x1d1c8d(0xf0)])),_0x40c0d0[_0x1d1c8d(0xfb)]=_0x1d1c8d(0x10f)+_0x40c0d0[_0x1d1c8d(0xfb)][_0x1d1c8d(0xf2)](':')[0x2],_0x57f4a1[_0x1d1c8d(0xfd)][_0x1d1c8d(0xf5)](),_0x10b77f[_0x1d1c8d(0xf9)](_0x8c1655),_0x10b77f[_0x1d1c8d(0xf9)](_0x40c0d0);}[_0x5e0971(0x101)](_0x10bf88){const _0x3aff00=_0x5e0971,_0x5e50dd={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3aff00(0x108)][_0x3aff00(0x10c)](_0x3aff00(0x110))[_0x3aff00(0xff)](_0x5e50dd,[_0x10bf88]),_0x5e50dd[_0x3aff00(0x10a)][0x0];}[_0x5e0971(0xf6)](_0x31e045){const _0x4fe45d=_0x5e0971,_0x456a63=[];return this[_0x4fe45d(0x108)][_0x4fe45d(0x10c)](_0x4fe45d(0x110))[_0x4fe45d(0x10d)](_0x456a63,_0x31e045),_0x456a63[0x0];}[_0x5e0971(0x10e)](_0x1c7538,_0x5eb7ac){const _0x4ca128=_0x5e0971;return!(!_0x1c7538||!_0x5eb7ac)&&(_0x4ca128(0x110)==_0x1c7538[_0x4ca128(0xef)]&&_0x4ca128(0x110)==_0x5eb7ac[_0x4ca128(0xef)]&&!(!_0x1c7538[_0x4ca128(0xfb)][_0x4ca128(0xfc)](_0x4ca128(0xf8))||!_0x5eb7ac[_0x4ca128(0xfb)][_0x4ca128(0xfc)](_0x4ca128(0xf8))||_0x1c7538[_0x4ca128(0xfb)]==_0x5eb7ac[_0x4ca128(0xfb)]));}}
23
+ function _0x2dd7(_0x5f5c9f,_0x110f18){const _0x37f3d6=_0x37f3();return _0x2dd7=function(_0x2dd7b1,_0xad4cbf){_0x2dd7b1=_0x2dd7b1-0x1b2;let _0x54d850=_0x37f3d6[_0x2dd7b1];return _0x54d850;},_0x2dd7(_0x5f5c9f,_0x110f18);}const _0x371881=_0x2dd7;(function(_0x463603,_0x5ba1c9){const _0x45e51b=_0x2dd7,_0x1f3b40=_0x463603();while(!![]){try{const _0x365a31=-parseInt(_0x45e51b(0x1bf))/0x1+-parseInt(_0x45e51b(0x1cb))/0x2*(parseInt(_0x45e51b(0x1b6))/0x3)+-parseInt(_0x45e51b(0x1d0))/0x4+parseInt(_0x45e51b(0x1b5))/0x5+-parseInt(_0x45e51b(0x1bc))/0x6+parseInt(_0x45e51b(0x1be))/0x7+parseInt(_0x45e51b(0x1b7))/0x8*(parseInt(_0x45e51b(0x1d1))/0x9);if(_0x365a31===_0x5ba1c9)break;else _0x1f3b40['push'](_0x1f3b40['shift']());}catch(_0x26eecf){_0x1f3b40['push'](_0x1f3b40['shift']());}}}(_0x37f3,0x190b1));import{ActionCompressor as _0x34d0f2}from'./actioncompressor.js';import{arePositionsEqual as _0x572e5f}from'../utils.js';import{cloneDeep as _0x576dc5}from'es-toolkit/compat';function _0x37f3(){const _0x37d2ef=['56646eTLXlA','68360HwQhwx','types','split','_getCompressorByName','__className','1030104dpcbTW','user:','429282XsPdFG','33895kzEEHs','oldRange','name','stickiness','shift','_context','_id','startsWith','MarkerOperation','decompress','compress','user:position:','14vBVZdl','toNone','push','_compareOperations','buffers','646788DXHlyg','477xOcpHT','_compressSingleOperation','newRange','end','start','_decompressSingleOperation','439080QkjhLw'];_0x37f3=function(){return _0x37d2ef;};return _0x37f3();}export class UserSelectionActionCompressor extends _0x34d0f2{[_0x371881(0x1c9)](_0x6fe93f,_0x176fe8){const _0x578012=_0x371881;if(!this[_0x578012(0x1ce)](_0x176fe8[0x0],_0x176fe8[0x1]))return!0x1;const _0x1c968b=_0x176fe8[_0x578012(0x1c3)]();return _0x1c968b[_0x578012(0x1c0)]=null,_0x1c968b[_0x578012(0x1d3)]&&_0x572e5f(_0x1c968b[_0x578012(0x1d3)][_0x578012(0x1b3)],_0x1c968b[_0x578012(0x1d3)][_0x578012(0x1b2)])&&(_0x1c968b[_0x578012(0x1d3)][_0x578012(0x1b2)]=null),_0x176fe8[_0x578012(0x1c3)](),_0x6fe93f[_0x578012(0x1b8)][_0x578012(0x1cd)](this[_0x578012(0x1c5)]),_0x6fe93f[_0x578012(0x1b8)][_0x578012(0x1cd)](0x0),_0x6fe93f[_0x578012(0x1cf)][_0x578012(0x1cd)](this[_0x578012(0x1d2)](_0x1c968b)),!0x0;}[_0x371881(0x1c8)](_0x12ae4d,_0x5bd4ff){const _0x3f99a0=_0x371881,_0x288c99=this[_0x3f99a0(0x1b4)](_0x5bd4ff);_0x288c99[_0x3f99a0(0x1d3)]&&!_0x288c99[_0x3f99a0(0x1d3)][_0x3f99a0(0x1b2)]&&(_0x288c99[_0x3f99a0(0x1d3)][_0x3f99a0(0x1b2)]=_0x576dc5(_0x288c99[_0x3f99a0(0x1d3)][_0x3f99a0(0x1b3)]));const _0x1ac74d=_0x576dc5(_0x288c99);_0x1ac74d[_0x3f99a0(0x1d3)]&&(_0x1ac74d[_0x3f99a0(0x1d3)][_0x3f99a0(0x1b3)][_0x3f99a0(0x1c2)]=_0x3f99a0(0x1cc),_0x1ac74d[_0x3f99a0(0x1d3)][_0x3f99a0(0x1b2)]=_0x576dc5(_0x1ac74d[_0x3f99a0(0x1d3)][_0x3f99a0(0x1b3)])),_0x1ac74d[_0x3f99a0(0x1c1)]=_0x3f99a0(0x1ca)+_0x1ac74d[_0x3f99a0(0x1c1)][_0x3f99a0(0x1b9)](':')[0x2],_0x5bd4ff[_0x3f99a0(0x1b8)][_0x3f99a0(0x1c3)](),_0x12ae4d[_0x3f99a0(0x1cd)](_0x288c99),_0x12ae4d[_0x3f99a0(0x1cd)](_0x1ac74d);}[_0x371881(0x1d2)](_0x349522){const _0x2ca2c0=_0x371881,_0x496426={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2ca2c0(0x1c4)][_0x2ca2c0(0x1ba)](_0x2ca2c0(0x1c7))[_0x2ca2c0(0x1c9)](_0x496426,[_0x349522]),_0x496426[_0x2ca2c0(0x1cf)][0x0];}[_0x371881(0x1b4)](_0x130050){const _0x27a028=_0x371881,_0x44b296=[];return this[_0x27a028(0x1c4)][_0x27a028(0x1ba)](_0x27a028(0x1c7))[_0x27a028(0x1c8)](_0x44b296,_0x130050),_0x44b296[0x0];}[_0x371881(0x1ce)](_0x58e762,_0x2e9910){const _0x156bc2=_0x371881;return!(!_0x58e762||!_0x2e9910)&&(_0x156bc2(0x1c7)==_0x58e762[_0x156bc2(0x1bb)]&&_0x156bc2(0x1c7)==_0x2e9910[_0x156bc2(0x1bb)]&&!(!_0x58e762[_0x156bc2(0x1c1)][_0x156bc2(0x1c6)](_0x156bc2(0x1bd))||!_0x2e9910[_0x156bc2(0x1c1)][_0x156bc2(0x1c6)](_0x156bc2(0x1bd))||_0x58e762[_0x156bc2(0x1c1)]==_0x2e9910[_0x156bc2(0x1c1)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e2df8=_0x3472;(function(_0x1a8dd3,_0x374194){const _0x13c085=_0x3472,_0x5635eb=_0x1a8dd3();while(!![]){try{const _0x30a811=parseInt(_0x13c085(0xcb))/0x1*(-parseInt(_0x13c085(0xa8))/0x2)+-parseInt(_0x13c085(0xbb))/0x3+-parseInt(_0x13c085(0xb7))/0x4+-parseInt(_0x13c085(0xcf))/0x5*(parseInt(_0x13c085(0xc6))/0x6)+parseInt(_0x13c085(0xad))/0x7*(-parseInt(_0x13c085(0xc9))/0x8)+-parseInt(_0x13c085(0xa7))/0x9*(-parseInt(_0x13c085(0xd4))/0xa)+parseInt(_0x13c085(0xc4))/0xb;if(_0x30a811===_0x374194)break;else _0x5635eb['push'](_0x5635eb['shift']());}catch(_0x219eb2){_0x5635eb['push'](_0x5635eb['shift']());}}}(_0x5eae,0x3d95d));import{CKEditorError as _0x45cf90}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x1e8cb9}from'./protobuffactory.js';import{OperationCompressor as _0x35ca0c}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x352e19}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0xce5bf}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x474b3a}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x27a985}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x190926}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x2f2af5}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x2d9aa8}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x23ee28}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x30e39e}from'./actioncompressor/userselectionactioncompressor.js';function _0x3472(_0x2ba4b6,_0xa484b0){const _0x5eae2f=_0x5eae();return _0x3472=function(_0x347235,_0xc3632e){_0x347235=_0x347235-0xa7;let _0x2fa849=_0x5eae2f[_0x347235];return _0x2fa849;},_0x3472(_0x2ba4b6,_0xa484b0);}function _0x5eae(){const _0x3fb7f0=['_compressorById','decompress','RootOperation','_registerActionCompressor','__className','decompress-compressor-not-found','449336mUvGCp','suggestion','types','TypingAction','1302882qxwaKR','InsertOperation','baseVersion','ForwardDeletingAction','getDescriptor','RootAttributeOperation','CommentMarkerOperation','RenameOperation','no-operations-provided','13542298dJSUVc','_protobufFactory','12BRrVWh','_getCompressorByName','set','3848fSOgdi','AttributeOperation','87382EuLAqg','SplitOperation','UserSelectionAction','DeletingAction','824765mEPDVR','_registerOperationCompressor','MarkerOperation','length','compress','10940pLiZCd','get','_compressorByName','63IysiYo','2LBcqpJ','forEach','NoOperation','comment','MoveOperation','329hLvlBS','SuggestionMarkerOperation','_registerCompressor','MergeOperation'];_0x5eae=function(){return _0x3fb7f0;};return _0x5eae();}export class Compressor{[_0x2e2df8(0xb1)];[_0x2e2df8(0xd6)];[_0x2e2df8(0xc5)];constructor(){const _0xfa0ce6=_0x2e2df8;this[_0xfa0ce6(0xb1)]=new Map(),this[_0xfa0ce6(0xd6)]=new Map(),this[_0xfa0ce6(0xc5)]=new _0x1e8cb9();const _0x4eb97d=this[_0xfa0ce6(0xc5)][_0xfa0ce6(0xbf)](_0xfa0ce6(0xd1));this[_0xfa0ce6(0xaf)](0x1,_0xfa0ce6(0xaa),new _0x27a985(0x1,_0xfa0ce6(0xaa),void 0x0)),this[_0xfa0ce6(0xd0)](0xa,_0xfa0ce6(0xca),_0x352e19),this[_0xfa0ce6(0xd0)](0xb,_0xfa0ce6(0xbc),_0xce5bf),this[_0xfa0ce6(0xd0)](0xc,_0xfa0ce6(0xd1),_0x474b3a),this[_0xfa0ce6(0xd0)](0xd,_0xfa0ce6(0xb0),_0x35ca0c),this[_0xfa0ce6(0xd0)](0xe,_0xfa0ce6(0xac),_0x35ca0c),this[_0xfa0ce6(0xd0)](0xf,_0xfa0ce6(0xc2),_0x35ca0c),this[_0xfa0ce6(0xd0)](0x10,_0xfa0ce6(0xc0),_0x352e19),this[_0xfa0ce6(0xd0)](0x11,_0xfa0ce6(0xcc),_0x35ca0c),this[_0xfa0ce6(0xaf)](0x12,_0xfa0ce6(0xc1),new _0x190926(0x12,_0xfa0ce6(0xd1),_0x4eb97d,_0xfa0ce6(0xab))),this[_0xfa0ce6(0xaf)](0x13,_0xfa0ce6(0xae),new _0x190926(0x13,_0xfa0ce6(0xd1),_0x4eb97d,_0xfa0ce6(0xb8))),this[_0xfa0ce6(0xd0)](0x14,_0xfa0ce6(0xb3),_0x35ca0c),this[_0xfa0ce6(0xb4)](0x64,_0xfa0ce6(0xba),_0x2f2af5),this[_0xfa0ce6(0xb4)](0x65,_0xfa0ce6(0xce),_0x2d9aa8),this[_0xfa0ce6(0xb4)](0x66,_0xfa0ce6(0xbe),_0x23ee28),this[_0xfa0ce6(0xb4)](0x67,_0xfa0ce6(0xcd),_0x30e39e);}[_0x2e2df8(0xd3)](_0x5dfe88){const _0x53e626=_0x2e2df8;if(!_0x5dfe88||!_0x5dfe88[0x0])throw new _0x45cf90(_0x53e626(0xc3),this);const _0x473b5a={'types':[],'buffers':[],'baseVersion':_0x5dfe88[0x0][_0x53e626(0xbd)]};for(;_0x5dfe88[_0x53e626(0xd2)];)this[_0x53e626(0xc7)](_0x53e626(0xcd))[_0x53e626(0xd3)](_0x473b5a,_0x5dfe88)||this[_0x53e626(0xc7)](_0x53e626(0xba))[_0x53e626(0xd3)](_0x473b5a,_0x5dfe88)||this[_0x53e626(0xc7)](_0x53e626(0xce))[_0x53e626(0xd3)](_0x473b5a,_0x5dfe88)||this[_0x53e626(0xc7)](_0x53e626(0xbe))[_0x53e626(0xd3)](_0x473b5a,_0x5dfe88)||this[_0x53e626(0xc7)](_0x53e626(0xc1))[_0x53e626(0xd3)](_0x473b5a,_0x5dfe88)||this[_0x53e626(0xc7)](_0x53e626(0xae))[_0x53e626(0xd3)](_0x473b5a,_0x5dfe88)||this[_0x53e626(0xc7)](_0x5dfe88[0x0][_0x53e626(0xb5)])[_0x53e626(0xd3)](_0x473b5a,_0x5dfe88);return _0x473b5a;}[_0x2e2df8(0xb2)](_0x3bea34){const _0x2e1add=_0x2e2df8,_0x47a2d5=[];for(;_0x3bea34[_0x2e1add(0xb9)][_0x2e1add(0xd2)];){const _0x3e2d55=this[_0x2e1add(0xb1)][_0x2e1add(0xd5)](_0x3bea34[_0x2e1add(0xb9)][0x0]);if(!_0x3e2d55)throw new _0x45cf90(_0x2e1add(0xb6),this,{'type':_0x3bea34[_0x2e1add(0xb9)][0x0]});_0x3e2d55[_0x2e1add(0xb2)](_0x47a2d5,_0x3bea34);}return _0x47a2d5[_0x2e1add(0xa9)]((_0xd2a464,_0x2ce322)=>_0xd2a464[_0x2e1add(0xbd)]=_0x3bea34[_0x2e1add(0xbd)]+_0x2ce322),_0x47a2d5;}[_0x2e2df8(0xc7)](_0x19593e){const _0x434de1=_0x2e2df8;return this[_0x434de1(0xd6)][_0x434de1(0xd5)](_0x19593e);}[_0x2e2df8(0xd0)](_0x3532b3,_0x1de98d,_0x2f21d4){const _0x288a21=_0x2e2df8,_0x48a940=new _0x2f21d4(_0x3532b3,_0x1de98d,this[_0x288a21(0xc5)][_0x288a21(0xbf)](_0x1de98d));this[_0x288a21(0xaf)](_0x3532b3,_0x1de98d,_0x48a940);}[_0x2e2df8(0xb4)](_0x592f74,_0x59d092,_0x4044be){const _0x4cfe2a=_0x2e2df8,_0x3d921a=new _0x4044be(_0x592f74,this);this[_0x4cfe2a(0xaf)](_0x592f74,_0x59d092,_0x3d921a);}[_0x2e2df8(0xaf)](_0x248ad6,_0x5d89ca,_0x489d12){const _0x10863a=_0x2e2df8;this[_0x10863a(0xb1)][_0x10863a(0xc8)](_0x248ad6,_0x489d12),this[_0x10863a(0xd6)][_0x10863a(0xc8)](_0x5d89ca,_0x489d12);}}
23
+ const _0x2a0dcf=_0x1656;(function(_0x804407,_0x303d89){const _0x2244e7=_0x1656,_0x394e7d=_0x804407();while(!![]){try{const _0x30f44d=-parseInt(_0x2244e7(0xc0))/0x1+parseInt(_0x2244e7(0xca))/0x2*(-parseInt(_0x2244e7(0xc2))/0x3)+-parseInt(_0x2244e7(0xdc))/0x4*(parseInt(_0x2244e7(0xbf))/0x5)+-parseInt(_0x2244e7(0xc6))/0x6+-parseInt(_0x2244e7(0xb7))/0x7+parseInt(_0x2244e7(0xd7))/0x8*(-parseInt(_0x2244e7(0xc1))/0x9)+parseInt(_0x2244e7(0xe4))/0xa*(parseInt(_0x2244e7(0xd8))/0xb);if(_0x30f44d===_0x303d89)break;else _0x394e7d['push'](_0x394e7d['shift']());}catch(_0x2027ec){_0x394e7d['push'](_0x394e7d['shift']());}}}(_0xa92f,0xceae6));import{CKEditorError as _0xf50e37}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x564cba}from'./protobuffactory.js';import{OperationCompressor as _0x32c182}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x3e3a5c}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0xb9fd23}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x343216}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x37469c}from'./operationcompressor/nooperationcompressor.js';function _0xa92f(){const _0xf2e88f=['InsertOperation','SplitOperation','__className','_registerCompressor','AttributeOperation','_getCompressorByName','suggestion','CommentMarkerOperation','RenameOperation','NoOperation','types','8477448XOxukY','99bCRXAB','length','decompress','RootOperation','1386396cHyVjN','SuggestionMarkerOperation','MergeOperation','no-operations-provided','DeletingAction','forEach','UserSelectionAction','ForwardDeletingAction','7186890ROFKCo','baseVersion','MoveOperation','1231951hpxmJQ','_protobufFactory','_registerOperationCompressor','decompress-compressor-not-found','comment','get','_compressorByName','RootAttributeOperation','20KGdUZE','1260694PXUaST','9RBORVP','75HtMqIK','_registerActionCompressor','TypingAction','MarkerOperation','7371876OxckDg','set','compress','getDescriptor','40818oQrUtj','_compressorById'];_0xa92f=function(){return _0xf2e88f;};return _0xa92f();}import{AnnotationMarkerOperationCompressor as _0x3b777d}from'./operationcompressor/annotationmarkeroperationcompressor.js';function _0x1656(_0x5f4bf6,_0x4b78ff){const _0xa92fb2=_0xa92f();return _0x1656=function(_0x16563e,_0x4161e2){_0x16563e=_0x16563e-0xb7;let _0x58300d=_0xa92fb2[_0x16563e];return _0x58300d;},_0x1656(_0x5f4bf6,_0x4b78ff);}import{TypingActionCompressor as _0x1c3193}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x59c611}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x5765bd}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x983b94}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x2a0dcf(0xcb)];[_0x2a0dcf(0xbd)];[_0x2a0dcf(0xb8)];constructor(){const _0x27c80b=_0x2a0dcf;this[_0x27c80b(0xcb)]=new Map(),this[_0x27c80b(0xbd)]=new Map(),this[_0x27c80b(0xb8)]=new _0x564cba();const _0x42e8ee=this[_0x27c80b(0xb8)][_0x27c80b(0xc9)](_0x27c80b(0xc5));this[_0x27c80b(0xcf)](0x1,_0x27c80b(0xd5),new _0x37469c(0x1,_0x27c80b(0xd5),void 0x0)),this[_0x27c80b(0xb9)](0xa,_0x27c80b(0xd0),_0x3e3a5c),this[_0x27c80b(0xb9)](0xb,_0x27c80b(0xcc),_0xb9fd23),this[_0x27c80b(0xb9)](0xc,_0x27c80b(0xc5),_0x343216),this[_0x27c80b(0xb9)](0xd,_0x27c80b(0xde),_0x32c182),this[_0x27c80b(0xb9)](0xe,_0x27c80b(0xe6),_0x32c182),this[_0x27c80b(0xb9)](0xf,_0x27c80b(0xd4),_0x32c182),this[_0x27c80b(0xb9)](0x10,_0x27c80b(0xbe),_0x3e3a5c),this[_0x27c80b(0xb9)](0x11,_0x27c80b(0xcd),_0x32c182),this[_0x27c80b(0xcf)](0x12,_0x27c80b(0xd3),new _0x3b777d(0x12,_0x27c80b(0xc5),_0x42e8ee,_0x27c80b(0xbb))),this[_0x27c80b(0xcf)](0x13,_0x27c80b(0xdd),new _0x3b777d(0x13,_0x27c80b(0xc5),_0x42e8ee,_0x27c80b(0xd2))),this[_0x27c80b(0xb9)](0x14,_0x27c80b(0xdb),_0x32c182),this[_0x27c80b(0xc3)](0x64,_0x27c80b(0xc4),_0x1c3193),this[_0x27c80b(0xc3)](0x65,_0x27c80b(0xe0),_0x59c611),this[_0x27c80b(0xc3)](0x66,_0x27c80b(0xe3),_0x5765bd),this[_0x27c80b(0xc3)](0x67,_0x27c80b(0xe2),_0x983b94);}[_0x2a0dcf(0xc8)](_0x1b79c6){const _0x32776f=_0x2a0dcf;if(!_0x1b79c6||!_0x1b79c6[0x0])throw new _0xf50e37(_0x32776f(0xdf),this);const _0x54f5bd={'types':[],'buffers':[],'baseVersion':_0x1b79c6[0x0][_0x32776f(0xe5)]};for(;_0x1b79c6[_0x32776f(0xd9)];)this[_0x32776f(0xd1)](_0x32776f(0xe2))[_0x32776f(0xc8)](_0x54f5bd,_0x1b79c6)||this[_0x32776f(0xd1)](_0x32776f(0xc4))[_0x32776f(0xc8)](_0x54f5bd,_0x1b79c6)||this[_0x32776f(0xd1)](_0x32776f(0xe0))[_0x32776f(0xc8)](_0x54f5bd,_0x1b79c6)||this[_0x32776f(0xd1)](_0x32776f(0xe3))[_0x32776f(0xc8)](_0x54f5bd,_0x1b79c6)||this[_0x32776f(0xd1)](_0x32776f(0xd3))[_0x32776f(0xc8)](_0x54f5bd,_0x1b79c6)||this[_0x32776f(0xd1)](_0x32776f(0xdd))[_0x32776f(0xc8)](_0x54f5bd,_0x1b79c6)||this[_0x32776f(0xd1)](_0x1b79c6[0x0][_0x32776f(0xce)])[_0x32776f(0xc8)](_0x54f5bd,_0x1b79c6);return _0x54f5bd;}[_0x2a0dcf(0xda)](_0x5bc6e8){const _0x13128c=_0x2a0dcf,_0x1bebdf=[];for(;_0x5bc6e8[_0x13128c(0xd6)][_0x13128c(0xd9)];){const _0x4110a8=this[_0x13128c(0xcb)][_0x13128c(0xbc)](_0x5bc6e8[_0x13128c(0xd6)][0x0]);if(!_0x4110a8)throw new _0xf50e37(_0x13128c(0xba),this,{'type':_0x5bc6e8[_0x13128c(0xd6)][0x0]});_0x4110a8[_0x13128c(0xda)](_0x1bebdf,_0x5bc6e8);}return _0x1bebdf[_0x13128c(0xe1)]((_0x1c84e4,_0x18e602)=>_0x1c84e4[_0x13128c(0xe5)]=_0x5bc6e8[_0x13128c(0xe5)]+_0x18e602),_0x1bebdf;}[_0x2a0dcf(0xd1)](_0x5c8702){const _0x45d57f=_0x2a0dcf;return this[_0x45d57f(0xbd)][_0x45d57f(0xbc)](_0x5c8702);}[_0x2a0dcf(0xb9)](_0x431f0f,_0x1c6f05,_0x478513){const _0x3739c6=_0x2a0dcf,_0x27e07d=new _0x478513(_0x431f0f,_0x1c6f05,this[_0x3739c6(0xb8)][_0x3739c6(0xc9)](_0x1c6f05));this[_0x3739c6(0xcf)](_0x431f0f,_0x1c6f05,_0x27e07d);}[_0x2a0dcf(0xc3)](_0x58e1f8,_0x33af6e,_0x2807dd){const _0x16e757=_0x2a0dcf,_0x368fb7=new _0x2807dd(_0x58e1f8,this);this[_0x16e757(0xcf)](_0x58e1f8,_0x33af6e,_0x368fb7);}[_0x2a0dcf(0xcf)](_0x1ddbdc,_0x5a8278,_0xe1793d){const _0x42e6ab=_0x2a0dcf;this[_0x42e6ab(0xcb)][_0x42e6ab(0xc7)](_0x1ddbdc,_0xe1793d),this[_0x42e6ab(0xbd)][_0x42e6ab(0xc7)](_0x5a8278,_0xe1793d);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2156(_0x25e112,_0x4c0468){var _0x22d426=_0x22d4();return _0x2156=function(_0x215624,_0x4788af){_0x215624=_0x215624-0x87;var _0x373fd9=_0x22d426[_0x215624];return _0x373fd9;},_0x2156(_0x25e112,_0x4c0468);}function _0x22d4(){var _0x1757c6=['216897KtkMJl','1314kvgGTi','825632ZPUFfU','33429BUSHEN','3jxnwEl','122316YWTuHh','35NZQyPn','312572Qfdfso','5MWqPvd','70ICxCPQ','26owIbWs','1336092nWNmsE','4184wtIkJW'];_0x22d4=function(){return _0x1757c6;};return _0x22d4();}(function(_0xe734fe,_0x2c2c1b){var _0x426bcf=_0x2156,_0x29fec1=_0xe734fe();while(!![]){try{var _0x2bf547=parseInt(_0x426bcf(0x90))/0x1+parseInt(_0x426bcf(0x8a))/0x2*(parseInt(_0x426bcf(0x87))/0x3)+parseInt(_0x426bcf(0x92))/0x4*(-parseInt(_0x426bcf(0x8b))/0x5)+parseInt(_0x426bcf(0x88))/0x6*(parseInt(_0x426bcf(0x89))/0x7)+-parseInt(_0x426bcf(0x8f))/0x8*(-parseInt(_0x426bcf(0x91))/0x9)+parseInt(_0x426bcf(0x8c))/0xa*(parseInt(_0x426bcf(0x93))/0xb)+-parseInt(_0x426bcf(0x8e))/0xc*(parseInt(_0x426bcf(0x8d))/0xd);if(_0x2bf547===_0x2c2c1b)break;else _0x29fec1['push'](_0x29fec1['shift']());}catch(_0x1231cb){_0x29fec1['push'](_0x29fec1['shift']());}}}(_0x22d4,0x23126));export{Compressor}from'./compressor.js';
23
+ (function(_0x4439cd,_0x3eefc8){var _0x5311e1=_0x6ee9,_0x5b3a7a=_0x4439cd();while(!![]){try{var _0x3d56ec=parseInt(_0x5311e1(0x108))/0x1+-parseInt(_0x5311e1(0x109))/0x2*(-parseInt(_0x5311e1(0x10d))/0x3)+-parseInt(_0x5311e1(0x10f))/0x4*(-parseInt(_0x5311e1(0x107))/0x5)+parseInt(_0x5311e1(0x10e))/0x6*(-parseInt(_0x5311e1(0x10b))/0x7)+parseInt(_0x5311e1(0x10a))/0x8+-parseInt(_0x5311e1(0x10c))/0x9*(parseInt(_0x5311e1(0x106))/0xa)+-parseInt(_0x5311e1(0x105))/0xb;if(_0x3d56ec===_0x3eefc8)break;else _0x5b3a7a['push'](_0x5b3a7a['shift']());}catch(_0x4b085d){_0x5b3a7a['push'](_0x5b3a7a['shift']());}}}(_0x5877,0x89d4c));function _0x6ee9(_0x34681c,_0x4f013b){var _0x5877b7=_0x5877();return _0x6ee9=function(_0x6ee975,_0x82712b){_0x6ee975=_0x6ee975-0x105;var _0x585ded=_0x5877b7[_0x6ee975];return _0x585ded;},_0x6ee9(_0x34681c,_0x4f013b);}function _0x5877(){var _0x3803f3=['74211TzaBmj','6RRxpnN','93892hIwqYI','14885189oWiFoj','10cmzSBG','30znZizu','833450WnLBno','52rtmktF','5850952CiiEIz','35679XLAPes','3833703BxTBNj'];_0x5877=function(){return _0x3803f3;};return _0x5877();}export{Compressor}from'./compressor.js';