@ckeditor/ckeditor5-operations-compressor 47.7.0 → 47.7.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.
- package/dist/index.js +2 -2
- package/package.json +4 -4
- package/src/actioncompressor/actioncompressor.js +1 -1
- package/src/actioncompressor/deletingactioncompressor.js +1 -1
- package/src/actioncompressor/forwarddeletingactioncompressor.js +1 -1
- package/src/actioncompressor/typingactioncompressor.js +1 -1
- package/src/actioncompressor/userselectionactioncompressor.js +1 -1
- package/src/compressor.js +1 -1
- package/src/errors.js +1 -1
- package/src/index.js +1 -1
- package/src/lib/compiledmessages.js +2 -2
- package/src/lib/protobufdescriptions.js +1 -1
- package/src/operationcompressor/annotationmarkeroperationcompressor.js +1 -1
- package/src/operationcompressor/attributeoperationcompressor.js +1 -1
- package/src/operationcompressor/insertoperationcompressor.js +1 -1
- package/src/operationcompressor/markeroperationcompressor.js +1 -1
- package/src/operationcompressor/nooperationcompressor.js +1 -1
- package/src/operationcompressor/operationcompressor.js +1 -1
- package/src/protobuffactory.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x501c9e=_0x9ab4;(function(_0x12b44e,_0x399b49){const _0x5d585f=_0x9ab4,_0x1ad1b=_0x12b44e();while(!![]){try{const _0x3b05b9=-parseInt(_0x5d585f(0x13e))/0x1*(-parseInt(_0x5d585f(0x14e))/0x2)+-parseInt(_0x5d585f(0x14d))/0x3+-parseInt(_0x5d585f(0x14b))/0x4*(parseInt(_0x5d585f(0x155))/0x5)+parseInt(_0x5d585f(0x13f))/0x6*(-parseInt(_0x5d585f(0x156))/0x7)+parseInt(_0x5d585f(0x14f))/0x8*(parseInt(_0x5d585f(0x142))/0x9)+-parseInt(_0x5d585f(0x153))/0xa*(parseInt(_0x5d585f(0x148))/0xb)+parseInt(_0x5d585f(0x141))/0xc;if(_0x3b05b9===_0x399b49)break;else _0x1ad1b['push'](_0x1ad1b['shift']());}catch(_0x395b53){_0x1ad1b['push'](_0x1ad1b['shift']());}}}(_0x4bbd,0x6606b));function _0x9ab4(_0x1b0c3d,_0x3ce8df){const _0x4bbde8=_0x4bbd();return _0x9ab4=function(_0x9ab4b7,_0xb1d395){_0x9ab4b7=_0x9ab4b7-0x13c;let _0x4f5ed2=_0x4bbde8[_0x9ab4b7];return _0x4f5ed2;},_0x9ab4(_0x1b0c3d,_0x3ce8df);}import{cloneDeep as _0xfa49fb}from'es-toolkit/compat';function _0x4bbd(){const _0x4206f7=['675054CSreRB','decompress','13710168fQyrUz','9kSfqbh','_context','_decompressSingleOperation','_combineNext','index','operations','976228EZeaVW','_compressSingleOperation','_compareOperations','511076CLkSWn','push','152733goJAUv','37328ASroui','3858112cTFRwX','types','_id','compress','20eydkTa','buffers','25sTSprf','49bgdUYF','_splitCurrent','typeIndex','24yamJyG'];_0x4bbd=function(){return _0x4206f7;};return _0x4bbd();}export class ActionCompressor{[_0x501c9e(0x151)];[_0x501c9e(0x143)];constructor(_0x33dd69,_0x4d99a6){const _0x4d1469=_0x501c9e;this[_0x4d1469(0x151)]=_0x33dd69,this[_0x4d1469(0x143)]=_0x4d99a6;}[_0x501c9e(0x152)](_0x18563b,_0x413797){const _0x371a71=_0x501c9e;let _0x13c87a,_0x3946ab=_0x413797[_0x371a71(0x147)][_0x413797[_0x371a71(0x146)]],_0x17824d=_0x413797[_0x371a71(0x147)][_0x413797[_0x371a71(0x146)]+0x1];for(;_0x17824d&&this[_0x371a71(0x14a)](_0x3946ab,_0x17824d);)_0x13c87a?(_0x13c87a=this[_0x371a71(0x145)](_0x3946ab,_0x13c87a),_0x18563b[_0x371a71(0x150)][_0x371a71(0x14c)](0x0)):(_0x13c87a=_0xfa49fb(_0x3946ab),_0x18563b[_0x371a71(0x150)][_0x371a71(0x14c)](this[_0x371a71(0x151)])),_0x413797[_0x371a71(0x146)]++,_0x3946ab=_0x413797[_0x371a71(0x147)][_0x413797[_0x371a71(0x146)]],_0x17824d=_0x413797[_0x371a71(0x147)][_0x413797[_0x371a71(0x146)]+0x1];return!!_0x13c87a&&(_0x13c87a=this[_0x371a71(0x145)](_0x413797[_0x371a71(0x147)][_0x413797[_0x371a71(0x146)]++],_0x13c87a),_0x18563b[_0x371a71(0x150)][_0x371a71(0x14c)](0x0),_0x18563b[_0x371a71(0x154)][_0x371a71(0x14c)](this[_0x371a71(0x149)](_0x13c87a)),!0x0);}[_0x501c9e(0x140)](_0x4ac0c5,_0x5eae8c){const _0x9df183=_0x501c9e,_0x3cf666=this[_0x9df183(0x144)](_0x5eae8c);for(;0x0==_0x5eae8c[_0x9df183(0x150)][_0x5eae8c[_0x9df183(0x13d)]];)_0x5eae8c[_0x9df183(0x13d)]++,_0x4ac0c5[_0x9df183(0x14c)](this[_0x9df183(0x13c)](_0x3cf666));_0x4ac0c5[_0x9df183(0x14c)](_0x3cf666);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x918f(_0x3db371,_0x16cc37){const _0x464ad0=_0x464a();return _0x918f=function(_0x918ffc,_0x34d905){_0x918ffc=_0x918ffc-0x1f0;let _0x14bc1d=_0x464ad0[_0x918ffc];return _0x14bc1d;},_0x918f(_0x3db371,_0x16cc37);}const _0x3d06d3=_0x918f;(function(_0x52c057,_0x5405f4){const _0x2d2733=_0x918f,_0x1916c5=_0x52c057();while(!![]){try{const _0xf7a954=parseInt(_0x2d2733(0x1fb))/0x1*(parseInt(_0x2d2733(0x1fa))/0x2)+-parseInt(_0x2d2733(0x200))/0x3*(-parseInt(_0x2d2733(0x203))/0x4)+parseInt(_0x2d2733(0x207))/0x5+-parseInt(_0x2d2733(0x1f4))/0x6*(-parseInt(_0x2d2733(0x20e))/0x7)+parseInt(_0x2d2733(0x1f0))/0x8*(parseInt(_0x2d2733(0x20a))/0x9)+parseInt(_0x2d2733(0x1f6))/0xa*(parseInt(_0x2d2733(0x1f2))/0xb)+parseInt(_0x2d2733(0x1f1))/0xc*(-parseInt(_0x2d2733(0x205))/0xd);if(_0xf7a954===_0x5405f4)break;else _0x1916c5['push'](_0x1916c5['shift']());}catch(_0x32a3dc){_0x1916c5['push'](_0x1916c5['shift']());}}}(_0x464a,0xc3db2));import{ActionCompressor as _0x2e9952}from'./actioncompressor.js';import{arePositionsEqual as _0xfef50c,getPositionShiftedBy as _0x52d931}from'../utils.js';function _0x464a(){const _0x4f5181=['27iywBfI','_context','sourcePosition','targetPosition','504217tWHGNa','root','117256yfQici','372dazdqD','33noYCwf','$graveyard','54vfoIYg','_splitCurrent','2173650tRjKNk','compress','wasUndone','buffers','670jhPbpl','1828VMjPuN','decompress','_compareOperations','howMany','_compressSingleOperation','146997NUDSxJ','__className','_combineNext','128XENtah','_checkOperation','1407341DUvIiw','_decompressSingleOperation','3167500mQwQkK','MoveOperation','_getCompressorByName'];_0x464a=function(){return _0x4f5181;};return _0x464a();}import{cloneDeep as _0x4ee706}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x2e9952{[_0x3d06d3(0x202)](_0x55a16d,_0x438414){const _0x2e2185=_0x3d06d3;return _0x438414[_0x2e2185(0x1fe)]++,_0x438414[_0x2e2185(0x20c)]=_0x4ee706(_0x55a16d[_0x2e2185(0x20c)]),_0x438414;}[_0x3d06d3(0x1f5)](_0x46a08a){const _0x2266da=_0x3d06d3,_0x550e3b=_0x4ee706(_0x46a08a);return _0x46a08a[_0x2266da(0x1fe)]--,_0x550e3b[_0x2266da(0x1fe)]=0x1,_0x550e3b[_0x2266da(0x20c)]=_0x52d931(_0x550e3b[_0x2266da(0x20c)],_0x46a08a[_0x2266da(0x1fe)]),_0x550e3b;}[_0x3d06d3(0x1fd)](_0x2fd867,_0x200325){const _0x2105ae=_0x3d06d3;return!(!this[_0x2105ae(0x204)](_0x2fd867)||!this[_0x2105ae(0x204)](_0x200325))&&(_0xfef50c(_0x52d931(_0x2fd867[_0x2105ae(0x20c)],-0x1),_0x200325[_0x2105ae(0x20c)])&&_0xfef50c(_0x2fd867[_0x2105ae(0x20d)],_0x200325[_0x2105ae(0x20d)]));}[_0x3d06d3(0x1ff)](_0xfeb87b){const _0x4981fc=_0x3d06d3,_0x38c58c={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x4981fc(0x20b)][_0x4981fc(0x209)](_0x4981fc(0x208))[_0x4981fc(0x1f7)](_0x38c58c,{'operations':[_0xfeb87b],'index':0x0}),_0x38c58c[_0x4981fc(0x1f9)][0x0];}[_0x3d06d3(0x206)](_0x364e7b){const _0x2170c8=_0x3d06d3,_0x8988b8=[];return this[_0x2170c8(0x20b)][_0x2170c8(0x209)](_0x2170c8(0x208))[_0x2170c8(0x1fc)](_0x8988b8,_0x364e7b),_0x8988b8[0x0];}[_0x3d06d3(0x204)](_0x5d912d){const _0x3a6ade=_0x3d06d3;return _0x3a6ade(0x208)==_0x5d912d[_0x3a6ade(0x201)]&&_0x3a6ade(0x1f3)==_0x5d912d[_0x3a6ade(0x20d)][_0x3a6ade(0x20f)]&&0x1==_0x5d912d[_0x3a6ade(0x1fe)]&&!_0x5d912d[_0x3a6ade(0x1f8)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb9286d=_0x4447;function _0x4447(_0x3396f3,_0x2c2b4b){const _0x2568bd=_0x2568();return _0x4447=function(_0x444735,_0x490e28){_0x444735=_0x444735-0x1be;let _0x38e216=_0x2568bd[_0x444735];return _0x38e216;},_0x4447(_0x3396f3,_0x2c2b4b);}(function(_0x3a3ba8,_0x468f69){const _0x40ade5=_0x4447,_0x28cad0=_0x3a3ba8();while(!![]){try{const _0x4f5f16=parseInt(_0x40ade5(0x1c0))/0x1+parseInt(_0x40ade5(0x1c9))/0x2*(parseInt(_0x40ade5(0x1d4))/0x3)+-parseInt(_0x40ade5(0x1ca))/0x4*(-parseInt(_0x40ade5(0x1cf))/0x5)+-parseInt(_0x40ade5(0x1bf))/0x6+-parseInt(_0x40ade5(0x1c3))/0x7*(parseInt(_0x40ade5(0x1c1))/0x8)+parseInt(_0x40ade5(0x1d9))/0x9*(-parseInt(_0x40ade5(0x1d8))/0xa)+parseInt(_0x40ade5(0x1cd))/0xb;if(_0x4f5f16===_0x468f69)break;else _0x28cad0['push'](_0x28cad0['shift']());}catch(_0x4e165a){_0x28cad0['push'](_0x28cad0['shift']());}}}(_0x2568,0xecf1a));import{ActionCompressor as _0x573359}from'./actioncompressor.js';import{arePositionsEqual as _0x3e6e9a}from'../utils.js';import{cloneDeep as _0x3bd70f}from'es-toolkit/compat';function _0x2568(){const _0x260304=['6890qAXsJJ','targetPosition','_compareOperations','_context','$graveyard','3lPMJNB','_checkOperation','__className','_combineNext','30jdAFVh','4865661hryvnI','root','wasUndone','compress','6972066NNDagU','582179eEWVAs','12334568gJFlsY','sourcePosition','7ZoeUUL','_splitCurrent','MoveOperation','buffers','howMany','_getCompressorByName','3602614CMsXHK','1468KCnyHq','_compressSingleOperation','decompress','26477319pzpkfZ','_decompressSingleOperation'];_0x2568=function(){return _0x260304;};return _0x2568();}export class ForwardDeletingActionCompressor extends _0x573359{[_0xb9286d(0x1d7)](_0x31f678,_0x14142b){const _0x48e83c=_0xb9286d;return _0x14142b[_0x48e83c(0x1c7)]++,_0x14142b;}[_0xb9286d(0x1c4)](_0x1a9bdf){const _0xc85075=_0xb9286d,_0x5b73da=_0x3bd70f(_0x1a9bdf);return _0x5b73da[_0xc85075(0x1c7)]=0x1,_0x1a9bdf[_0xc85075(0x1c7)]--,_0x5b73da;}[_0xb9286d(0x1d1)](_0x495592,_0xb66d19){const _0x1864de=_0xb9286d;return!(!this[_0x1864de(0x1d5)](_0x495592)||!this[_0x1864de(0x1d5)](_0xb66d19))&&(_0x3e6e9a(_0x495592[_0x1864de(0x1c2)],_0xb66d19[_0x1864de(0x1c2)])&&_0x3e6e9a(_0x495592[_0x1864de(0x1d0)],_0xb66d19[_0x1864de(0x1d0)]));}[_0xb9286d(0x1cb)](_0x5728f3){const _0x5b154c=_0xb9286d,_0x49b3d4={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5b154c(0x1d2)][_0x5b154c(0x1c8)](_0x5b154c(0x1c5))[_0x5b154c(0x1be)](_0x49b3d4,{'operations':[_0x5728f3],'index':0x0}),_0x49b3d4[_0x5b154c(0x1c6)][0x0];}[_0xb9286d(0x1ce)](_0x1eef3d){const _0x5385b5=_0xb9286d,_0x35fd02=[];return this[_0x5385b5(0x1d2)][_0x5385b5(0x1c8)](_0x5385b5(0x1c5))[_0x5385b5(0x1cc)](_0x35fd02,_0x1eef3d),_0x35fd02[0x0];}[_0xb9286d(0x1d5)](_0x2e259d){const _0x14a593=_0xb9286d;return _0x14a593(0x1c5)==_0x2e259d[_0x14a593(0x1d6)]&&_0x14a593(0x1d3)==_0x2e259d[_0x14a593(0x1d0)][_0x14a593(0x1da)]&&0x1==_0x2e259d[_0x14a593(0x1c7)]&&!_0x2e259d[_0x14a593(0x1db)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x669b(){const _0x2c1246=['every','decompress','position','_splitCurrent','buffers','1442791gfCico','1022652jggfOB','170010lYNYBC','_getCompressorByName','data','nodes','_context','96qIIFhK','value','from','1229785TePGlE','_combineNext','_compareOperations','iterator','6gGSBFb','_checkOperation','InsertOperation','_decompressSingleOperation','substr','next','compress','length','keys','631456lXubxp','__className','wasUndone','_compareAttributes','133707LvcHbc','_compressSingleOperation','attributes','62431eQxpkS'];_0x669b=function(){return _0x2c1246;};return _0x669b();}const _0x36ca07=_0x3822;(function(_0x4e393d,_0x3fb827){const _0x54431b=_0x3822,_0x1cd6de=_0x4e393d();while(!![]){try{const _0x117656=parseInt(_0x54431b(0x1ad))/0x1*(parseInt(_0x54431b(0x19d))/0x2)+parseInt(_0x54431b(0x1aa))/0x3+-parseInt(_0x54431b(0x1a6))/0x4+parseInt(_0x54431b(0x199))/0x5+-parseInt(_0x54431b(0x1b4))/0x6+parseInt(_0x54431b(0x1b3))/0x7+-parseInt(_0x54431b(0x196))/0x8*(parseInt(_0x54431b(0x1b5))/0x9);if(_0x117656===_0x3fb827)break;else _0x1cd6de['push'](_0x1cd6de['shift']());}catch(_0x1422be){_0x1cd6de['push'](_0x1cd6de['shift']());}}}(_0x669b,0x1f7b2));import{ActionCompressor as _0x1e64d1}from'./actioncompressor.js';function _0x3822(_0x16f4d3,_0x611288){const _0x669b16=_0x669b();return _0x3822=function(_0x38229f,_0x4d1094){_0x38229f=_0x38229f-0x195;let _0x5df379=_0x669b16[_0x38229f];return _0x5df379;},_0x3822(_0x16f4d3,_0x611288);}import{arePositionsEqual as _0x2e7e03,getPositionShiftedBy as _0x1f34fe}from'../utils.js';import{cloneDeep as _0xf3b892}from'es-toolkit/compat';export class TypingActionCompressor extends _0x1e64d1{[_0x36ca07(0x19a)](_0x3cb6aa,_0x44da53){const _0x2bd3f5=_0x36ca07;return _0x44da53[_0x2bd3f5(0x1b8)][0x0][_0x2bd3f5(0x1b7)]+=_0x3cb6aa[_0x2bd3f5(0x1b8)][0x0][_0x2bd3f5(0x1b7)],_0x44da53;}[_0x36ca07(0x1b1)](_0x207210){const _0x3830d5=_0x36ca07,_0x11aca6=_0xf3b892(_0x207210),_0x110037=_0x11aca6[_0x3830d5(0x1b8)][0x0],_0x2aa27c=_0x207210[_0x3830d5(0x1b8)][0x0],_0xeda823=_0x2aa27c[_0x3830d5(0x1b7)][Symbol[_0x3830d5(0x19c)]]()[_0x3830d5(0x1a2)]()[_0x3830d5(0x197)],_0xb15eb0=_0xeda823[_0x3830d5(0x1a4)];return _0x110037[_0x3830d5(0x1b7)]=_0xeda823,_0x2aa27c[_0x3830d5(0x1b7)]=_0x2aa27c[_0x3830d5(0x1b7)][_0x3830d5(0x1a1)](_0xb15eb0),_0x207210[_0x3830d5(0x1b0)]=_0x1f34fe(_0x207210[_0x3830d5(0x1b0)],_0xb15eb0),_0x11aca6;}[_0x36ca07(0x19b)](_0x439595,_0x9ea857){const _0x702753=_0x36ca07;if(this[_0x702753(0x19e)](_0x439595)&&this[_0x702753(0x19e)](_0x9ea857)){const _0x11bf5e=_0x439595[_0x702753(0x1b8)][0x0][_0x702753(0x1b7)][_0x702753(0x1a4)],_0x4bb286=_0x2e7e03(_0x1f34fe(_0x439595[_0x702753(0x1b0)],_0x11bf5e),_0x9ea857[_0x702753(0x1b0)]),_0x2f3f0c=_0x439595[_0x702753(0x1b8)][0x0],_0x3993b7=_0x9ea857[_0x702753(0x1b8)][0x0];return _0x4bb286&&this[_0x702753(0x1a9)](_0x2f3f0c,_0x3993b7);}return!0x1;}[_0x36ca07(0x1ab)](_0x4cbf27){const _0x36648c=_0x36ca07,_0x4de337={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x36648c(0x195)][_0x36648c(0x1b6)](_0x36648c(0x19f))[_0x36648c(0x1a3)](_0x4de337,{'operations':[_0x4cbf27],'index':0x0}),_0x4de337[_0x36648c(0x1b2)][0x0];}[_0x36ca07(0x1a0)](_0x3dffb8){const _0x5932f7=_0x36ca07,_0x506a36=[];return this[_0x5932f7(0x195)][_0x5932f7(0x1b6)](_0x5932f7(0x19f))[_0x5932f7(0x1af)](_0x506a36,_0x3dffb8),_0x506a36[0x0];}[_0x36ca07(0x19e)](_0x3ac5df){const _0x3c795b=_0x36ca07;return _0x3c795b(0x19f)==_0x3ac5df[_0x3c795b(0x1a7)]&&0x1==_0x3ac5df[_0x3c795b(0x1b8)][_0x3c795b(0x1a4)]&&_0x3ac5df[_0x3c795b(0x1b8)][0x0][_0x3c795b(0x1b7)]&&!_0x3ac5df[_0x3c795b(0x1a8)]&&0x1==Array[_0x3c795b(0x198)](_0x3ac5df[_0x3c795b(0x1b8)][0x0][_0x3c795b(0x1b7)])[_0x3c795b(0x1a4)];}[_0x36ca07(0x1a9)](_0x30d4bd,_0x3063e6){const _0x1f26c8=_0x36ca07,_0x50e883=Object[_0x1f26c8(0x1a5)](_0x30d4bd[_0x1f26c8(0x1ac)]||{}),_0x3f2e35=Object[_0x1f26c8(0x1a5)](_0x3063e6[_0x1f26c8(0x1ac)]||{});return _0x50e883[_0x1f26c8(0x1a4)]===_0x3f2e35[_0x1f26c8(0x1a4)]&&_0x50e883[_0x1f26c8(0x1ae)](_0x119c48=>_0x3063e6[_0x1f26c8(0x1ac)][_0x119c48]&&_0x3063e6[_0x1f26c8(0x1ac)][_0x119c48]===_0x30d4bd[_0x1f26c8(0x1ac)][_0x119c48]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1cd836=_0x374d;(function(_0x21bd68,_0x3480b2){const _0x27f320=_0x374d,_0x25b063=_0x21bd68();while(!![]){try{const _0x827b09=-parseInt(_0x27f320(0x81))/0x1+-parseInt(_0x27f320(0x89))/0x2*(parseInt(_0x27f320(0x74))/0x3)+-parseInt(_0x27f320(0x88))/0x4+parseInt(_0x27f320(0x83))/0x5+parseInt(_0x27f320(0x80))/0x6+parseInt(_0x27f320(0x6d))/0x7*(parseInt(_0x27f320(0x7d))/0x8)+parseInt(_0x27f320(0x8e))/0x9*(parseInt(_0x27f320(0x71))/0xa);if(_0x827b09===_0x3480b2)break;else _0x25b063['push'](_0x25b063['shift']());}catch(_0x50164a){_0x25b063['push'](_0x25b063['shift']());}}}(_0x1c71,0x1e51f));import{ActionCompressor as _0x2a79b4}from'./actioncompressor.js';function _0x1c71(){const _0x31662e=['split','newRange','__className','toNone','9YplcsA','decompress','types','_compressSingleOperation','10157HFmixD','compress','_id','oldRange','1376350ptoJlm','user:position:','_context','201dangJG','typeIndex','stickiness','_decompressSingleOperation','name','_compareOperations','index','_getCompressorByName','user:','560oDqJEL','startsWith','MarkerOperation','830850mTsMkH','199829gtibSN','start','934500cXmjUX','push','buffers','operations','end','187184bDgCEa','5784wSOiAQ'];_0x1c71=function(){return _0x31662e;};return _0x1c71();}function _0x374d(_0xe2e8b1,_0x3d14d8){const _0x1c7183=_0x1c71();return _0x374d=function(_0x374dc8,_0x3c6769){_0x374dc8=_0x374dc8-0x6b;let _0x91d202=_0x1c7183[_0x374dc8];return _0x91d202;},_0x374d(_0xe2e8b1,_0x3d14d8);}import{arePositionsEqual as _0xcab04}from'../utils.js';import{cloneDeep as _0x46cb8a}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x2a79b4{[_0x1cd836(0x6e)](_0xb566ee,_0x55e1e1){const _0x492511=_0x1cd836;if(!this[_0x492511(0x79)](_0x55e1e1[_0x492511(0x86)][_0x55e1e1[_0x492511(0x7a)]],_0x55e1e1[_0x492511(0x86)][_0x55e1e1[_0x492511(0x7a)]+0x1]))return!0x1;const _0x56749b=_0x55e1e1[_0x492511(0x86)][_0x55e1e1[_0x492511(0x7a)]++];return _0x56749b[_0x492511(0x70)]=null,_0x56749b[_0x492511(0x8b)]&&_0xcab04(_0x56749b[_0x492511(0x8b)][_0x492511(0x82)],_0x56749b[_0x492511(0x8b)][_0x492511(0x87)])&&(_0x56749b[_0x492511(0x8b)][_0x492511(0x87)]=null),_0x55e1e1[_0x492511(0x7a)]++,_0xb566ee[_0x492511(0x6b)][_0x492511(0x84)](this[_0x492511(0x6f)]),_0xb566ee[_0x492511(0x6b)][_0x492511(0x84)](0x0),_0xb566ee[_0x492511(0x85)][_0x492511(0x84)](this[_0x492511(0x6c)](_0x56749b)),!0x0;}[_0x1cd836(0x8f)](_0x3add17,_0x113e66){const _0x336fcc=_0x1cd836,_0xc001f8=this[_0x336fcc(0x77)](_0x113e66);_0xc001f8[_0x336fcc(0x8b)]&&!_0xc001f8[_0x336fcc(0x8b)][_0x336fcc(0x87)]&&(_0xc001f8[_0x336fcc(0x8b)][_0x336fcc(0x87)]=_0x46cb8a(_0xc001f8[_0x336fcc(0x8b)][_0x336fcc(0x82)]));const _0x9622d3=_0x46cb8a(_0xc001f8);_0x9622d3[_0x336fcc(0x8b)]&&(_0x9622d3[_0x336fcc(0x8b)][_0x336fcc(0x82)][_0x336fcc(0x76)]=_0x336fcc(0x8d),_0x9622d3[_0x336fcc(0x8b)][_0x336fcc(0x87)]=_0x46cb8a(_0x9622d3[_0x336fcc(0x8b)][_0x336fcc(0x82)])),_0x9622d3[_0x336fcc(0x78)]=_0x336fcc(0x72)+_0x9622d3[_0x336fcc(0x78)][_0x336fcc(0x8a)](':')[0x2],_0x113e66[_0x336fcc(0x75)]++,_0x3add17[_0x336fcc(0x84)](_0xc001f8),_0x3add17[_0x336fcc(0x84)](_0x9622d3);}[_0x1cd836(0x6c)](_0xf465ec){const _0x5161a4=_0x1cd836,_0x13cfe2={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5161a4(0x73)][_0x5161a4(0x7b)](_0x5161a4(0x7f))[_0x5161a4(0x6e)](_0x13cfe2,{'operations':[_0xf465ec],'index':0x0}),_0x13cfe2[_0x5161a4(0x85)][0x0];}[_0x1cd836(0x77)](_0x28a1b5){const _0x6986a8=_0x1cd836,_0x2e8a2b=[];return this[_0x6986a8(0x73)][_0x6986a8(0x7b)](_0x6986a8(0x7f))[_0x6986a8(0x8f)](_0x2e8a2b,_0x28a1b5),_0x2e8a2b[0x0];}[_0x1cd836(0x79)](_0xe33921,_0x11adc6){const _0x2bb1f9=_0x1cd836;return!(!_0xe33921||!_0x11adc6)&&(_0x2bb1f9(0x7f)==_0xe33921[_0x2bb1f9(0x8c)]&&_0x2bb1f9(0x7f)==_0x11adc6[_0x2bb1f9(0x8c)]&&!(!_0xe33921[_0x2bb1f9(0x78)][_0x2bb1f9(0x7e)](_0x2bb1f9(0x7c))||!_0x11adc6[_0x2bb1f9(0x78)][_0x2bb1f9(0x7e)](_0x2bb1f9(0x7c))||_0xe33921[_0x2bb1f9(0x78)]==_0x11adc6[_0x2bb1f9(0x78)]));}}
|
package/src/compressor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e4f26=_0x2741;(function(_0xe0796c,_0x357e01){const _0x47d405=_0x2741,_0x49aea2=_0xe0796c();while(!![]){try{const _0x139db5=-parseInt(_0x47d405(0xbc))/0x1+-parseInt(_0x47d405(0xcc))/0x2+parseInt(_0x47d405(0xcd))/0x3+parseInt(_0x47d405(0xd6))/0x4+parseInt(_0x47d405(0xdb))/0x5+-parseInt(_0x47d405(0xb4))/0x6*(parseInt(_0x47d405(0xb0))/0x7)+-parseInt(_0x47d405(0xd4))/0x8*(-parseInt(_0x47d405(0xd1))/0x9);if(_0x139db5===_0x357e01)break;else _0x49aea2['push'](_0x49aea2['shift']());}catch(_0x2008a4){_0x49aea2['push'](_0x49aea2['shift']());}}}(_0x52fa,0xe43c2));import{CKEditorError as _0x1734bb}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0xf449f2}from'./protobuffactory.js';import{OperationCompressor as _0x55ad14}from'./operationcompressor/operationcompressor.js';function _0x52fa(){const _0x4f11d1=['NoOperation','set','TypingAction','getDescriptor','1397019PipYbC','_compressorById','no-operations-provided','_registerCompressor','MoveOperation','SplitOperation','DeletingAction','get','InsertOperation','compress','suggestion','decompress','types','comment','UserSelectionAction','RenameOperation','2544660nzVgZf','2229309JlYayf','index','ForwardDeletingAction','_protobufFactory','36qxGrOh','_compressorByName','MergeOperation','1822768zJUNjL','RootAttributeOperation','7041724tLFHoq','typeIndex','AttributeOperation','_getCompressorByName','RootOperation','1385195dNGMZc','SuggestionMarkerOperation','decompress-compressor-not-found','baseVersion','_registerActionCompressor','__className','CommentMarkerOperation','614306YlcuVr','operations','_registerOperationCompressor','buffers','6fJesUr','forEach','length','MarkerOperation'];_0x52fa=function(){return _0x4f11d1;};return _0x52fa();}import{AttributeOperationCompressor as _0x5f4e13}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x11d308}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x5d78c8}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0xddec98}from'./operationcompressor/nooperationcompressor.js';function _0x2741(_0x1ec6e7,_0x48bb45){const _0x52fa59=_0x52fa();return _0x2741=function(_0x274148,_0x1dd9cb){_0x274148=_0x274148-0xb0;let _0x323d4c=_0x52fa59[_0x274148];return _0x323d4c;},_0x2741(_0x1ec6e7,_0x48bb45);}import{AnnotationMarkerOperationCompressor as _0x5d65ce}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x402792}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x4c41da}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x137804}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x52d2d0}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x3e4f26(0xbd)];[_0x3e4f26(0xd2)];[_0x3e4f26(0xd0)];constructor(){const _0x1a73fc=_0x3e4f26;this[_0x1a73fc(0xbd)]=new Map(),this[_0x1a73fc(0xd2)]=new Map(),this[_0x1a73fc(0xd0)]=new _0xf449f2();const _0x55b42c=this[_0x1a73fc(0xd0)][_0x1a73fc(0xbb)](_0x1a73fc(0xb7));this[_0x1a73fc(0xbf)](0x1,_0x1a73fc(0xb8),new _0xddec98(0x1,_0x1a73fc(0xb8),void 0x0)),this[_0x1a73fc(0xb2)](0xa,_0x1a73fc(0xd8),_0x5f4e13),this[_0x1a73fc(0xb2)](0xb,_0x1a73fc(0xc4),_0x11d308),this[_0x1a73fc(0xb2)](0xc,_0x1a73fc(0xb7),_0x5d78c8),this[_0x1a73fc(0xb2)](0xd,_0x1a73fc(0xd3),_0x55ad14),this[_0x1a73fc(0xb2)](0xe,_0x1a73fc(0xc0),_0x55ad14),this[_0x1a73fc(0xb2)](0xf,_0x1a73fc(0xcb),_0x55ad14),this[_0x1a73fc(0xb2)](0x10,_0x1a73fc(0xd5),_0x5f4e13),this[_0x1a73fc(0xb2)](0x11,_0x1a73fc(0xc1),_0x55ad14),this[_0x1a73fc(0xbf)](0x12,_0x1a73fc(0xe1),new _0x5d65ce(0x12,_0x1a73fc(0xb7),_0x55b42c,_0x1a73fc(0xc9))),this[_0x1a73fc(0xbf)](0x13,_0x1a73fc(0xdc),new _0x5d65ce(0x13,_0x1a73fc(0xb7),_0x55b42c,_0x1a73fc(0xc6))),this[_0x1a73fc(0xb2)](0x14,_0x1a73fc(0xda),_0x55ad14),this[_0x1a73fc(0xdf)](0x64,_0x1a73fc(0xba),_0x402792),this[_0x1a73fc(0xdf)](0x65,_0x1a73fc(0xc2),_0x4c41da),this[_0x1a73fc(0xdf)](0x66,_0x1a73fc(0xcf),_0x137804),this[_0x1a73fc(0xdf)](0x67,_0x1a73fc(0xca),_0x52d2d0);}[_0x3e4f26(0xc5)](_0x5c1be1){const _0x55ea47=_0x3e4f26;if(!_0x5c1be1||!_0x5c1be1[0x0])throw new _0x1734bb(_0x55ea47(0xbe),this);const _0x35e094={'operations':_0x5c1be1,'index':0x0},_0x5e6f87={'types':[],'buffers':[],'baseVersion':_0x5c1be1[0x0][_0x55ea47(0xde)]};for(;_0x35e094[_0x55ea47(0xce)]<_0x35e094[_0x55ea47(0xb1)][_0x55ea47(0xb6)];){if(this[_0x55ea47(0xd9)](_0x55ea47(0xca))[_0x55ea47(0xc5)](_0x5e6f87,_0x35e094))continue;if(this[_0x55ea47(0xd9)](_0x55ea47(0xba))[_0x55ea47(0xc5)](_0x5e6f87,_0x35e094))continue;if(this[_0x55ea47(0xd9)](_0x55ea47(0xc2))[_0x55ea47(0xc5)](_0x5e6f87,_0x35e094))continue;if(this[_0x55ea47(0xd9)](_0x55ea47(0xcf))[_0x55ea47(0xc5)](_0x5e6f87,_0x35e094))continue;if(this[_0x55ea47(0xd9)](_0x55ea47(0xe1))[_0x55ea47(0xc5)](_0x5e6f87,_0x35e094))continue;if(this[_0x55ea47(0xd9)](_0x55ea47(0xdc))[_0x55ea47(0xc5)](_0x5e6f87,_0x35e094))continue;const _0x2094da=_0x35e094[_0x55ea47(0xb1)][_0x35e094[_0x55ea47(0xce)]][_0x55ea47(0xe0)];this[_0x55ea47(0xd9)](_0x2094da)[_0x55ea47(0xc5)](_0x5e6f87,_0x35e094);}return _0x5e6f87;}[_0x3e4f26(0xc7)](_0x8bea33){const _0xdb9b6b=_0x3e4f26,_0x4a3c24=[],_0x2835ff={'types':_0x8bea33[_0xdb9b6b(0xc8)],'buffers':_0x8bea33[_0xdb9b6b(0xb3)],'baseVersion':_0x8bea33[_0xdb9b6b(0xde)],'typeIndex':0x0,'bufferIndex':0x0};for(;_0x2835ff[_0xdb9b6b(0xd7)]<_0x2835ff[_0xdb9b6b(0xc8)][_0xdb9b6b(0xb6)];){const _0x2c30c7=_0x2835ff[_0xdb9b6b(0xc8)][_0x2835ff[_0xdb9b6b(0xd7)]],_0x317050=this[_0xdb9b6b(0xbd)][_0xdb9b6b(0xc3)](_0x2c30c7);if(!_0x317050)throw new _0x1734bb(_0xdb9b6b(0xdd),this,{'type':_0x2c30c7});_0x317050[_0xdb9b6b(0xc7)](_0x4a3c24,_0x2835ff);}return _0x4a3c24[_0xdb9b6b(0xb5)]((_0x317092,_0x34802d)=>_0x317092[_0xdb9b6b(0xde)]=_0x8bea33[_0xdb9b6b(0xde)]+_0x34802d),_0x4a3c24;}[_0x3e4f26(0xd9)](_0x2f32fa){const _0x49770b=_0x3e4f26;return this[_0x49770b(0xd2)][_0x49770b(0xc3)](_0x2f32fa);}[_0x3e4f26(0xb2)](_0x37605e,_0x6ee1b7,_0x686a97){const _0x37cfbe=_0x3e4f26,_0x5d155e=new _0x686a97(_0x37605e,_0x6ee1b7,this[_0x37cfbe(0xd0)][_0x37cfbe(0xbb)](_0x6ee1b7));this[_0x37cfbe(0xbf)](_0x37605e,_0x6ee1b7,_0x5d155e);}[_0x3e4f26(0xdf)](_0x182647,_0xa2d3cd,_0x514650){const _0xa493d6=_0x3e4f26,_0x51b074=new _0x514650(_0x182647,this);this[_0xa493d6(0xbf)](_0x182647,_0xa2d3cd,_0x51b074);}[_0x3e4f26(0xbf)](_0x2dda62,_0x24c32e,_0x4124a3){const _0x1b73b7=_0x3e4f26;this[_0x1b73b7(0xbd)][_0x1b73b7(0xb9)](_0x2dda62,_0x4124a3),this[_0x1b73b7(0xd2)][_0x1b73b7(0xb9)](_0x24c32e,_0x4124a3);}}
|
package/src/errors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x7f1477,_0x4262d0){var _0x3f01b1=_0x3a30,_0x1b0edf=_0x7f1477();while(!![]){try{var _0x3513a0=parseInt(_0x3f01b1(0x1a5))/0x1*(-parseInt(_0x3f01b1(0x1a3))/0x2)+-parseInt(_0x3f01b1(0x1a4))/0x3*(-parseInt(_0x3f01b1(0x1a6))/0x4)+-parseInt(_0x3f01b1(0x19d))/0x5+parseInt(_0x3f01b1(0x19e))/0x6*(-parseInt(_0x3f01b1(0x19f))/0x7)+parseInt(_0x3f01b1(0x1a0))/0x8+-parseInt(_0x3f01b1(0x1a2))/0x9+parseInt(_0x3f01b1(0x1a1))/0xa;if(_0x3513a0===_0x4262d0)break;else _0x1b0edf['push'](_0x1b0edf['shift']());}catch(_0x4d6451){_0x1b0edf['push'](_0x1b0edf['shift']());}}}(_0x41c5,0x84b03));function _0x3a30(_0x5b820f,_0x311419){var _0x41c507=_0x41c5();return _0x3a30=function(_0x3a3049,_0x358ef0){_0x3a3049=_0x3a3049-0x19d;var _0x33da41=_0x41c507[_0x3a3049];return _0x33da41;},_0x3a30(_0x5b820f,_0x311419);}function _0x41c5(){var _0xfa94b5=['2613900PgmNqs','1671912SoJupc','9228TADzHK','11283aHXFPi','6GtACgf','916JXpafz','1657160BdMiQX','2190aUqFrg','9212oQnXJx','3568448XQeGXL'];_0x41c5=function(){return _0xfa94b5;};return _0x41c5();}import{CKEditorError as _0x4fc1bf}from'ckeditor5/src/utils.js';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5008(){var _0x597e9a=['10JsMZAl','2704436BKywhG','2080hVOKNz','801832wVCCew','14085jJCVWa','4039503WQQTpM','1uSHivo','97885hTbvdC','114qAZPsr','6304166vycDaP','8855091WwCzef'];_0x5008=function(){return _0x597e9a;};return _0x5008();}function _0x23cf(_0x5533a2,_0xb2bcdd){var _0x5008db=_0x5008();return _0x23cf=function(_0x23cfb4,_0x30c969){_0x23cfb4=_0x23cfb4-0x177;var _0x377fee=_0x5008db[_0x23cfb4];return _0x377fee;},_0x23cf(_0x5533a2,_0xb2bcdd);}(function(_0x139e18,_0x25de8f){var _0x59dcef=_0x23cf,_0x1b1dda=_0x139e18();while(!![]){try{var _0x3440b7=-parseInt(_0x59dcef(0x177))/0x1*(parseInt(_0x59dcef(0x17f))/0x2)+parseInt(_0x59dcef(0x181))/0x3+parseInt(_0x59dcef(0x17d))/0x4+-parseInt(_0x59dcef(0x178))/0x5*(-parseInt(_0x59dcef(0x179))/0x6)+-parseInt(_0x59dcef(0x17b))/0x7+parseInt(_0x59dcef(0x17e))/0x8*(-parseInt(_0x59dcef(0x180))/0x9)+-parseInt(_0x59dcef(0x17c))/0xa*(-parseInt(_0x59dcef(0x17a))/0xb);if(_0x3440b7===_0x25de8f)break;else _0x1b1dda['push'](_0x1b1dda['shift']());}catch(_0xbe63dd){_0x1b1dda['push'](_0x1b1dda['shift']());}}}(_0x5008,0xda782));export{Compressor}from'./compressor.js';
|