@ckeditor/ckeditor5-operations-compressor 47.0.0-alpha.6 → 47.0.0-alpha.7
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 +3 -3
- 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/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 _0x2063c3=_0x8462;(function(_0x5bfc91,_0x3de0c0){const _0x5a3c94=_0x8462,_0x4215d4=_0x5bfc91();while(!![]){try{const _0x478832=-parseInt(_0x5a3c94(0x11e))/0x1+-parseInt(_0x5a3c94(0x121))/0x2+-parseInt(_0x5a3c94(0x10e))/0x3*(-parseInt(_0x5a3c94(0x124))/0x4)+-parseInt(_0x5a3c94(0x120))/0x5+parseInt(_0x5a3c94(0x112))/0x6+parseInt(_0x5a3c94(0x119))/0x7*(parseInt(_0x5a3c94(0x118))/0x8)+parseInt(_0x5a3c94(0x11d))/0x9;if(_0x478832===_0x3de0c0)break;else _0x4215d4['push'](_0x4215d4['shift']());}catch(_0x396415){_0x4215d4['push'](_0x4215d4['shift']());}}}(_0x2214,0x8d470));import{ActionCompressor as _0x1a15ee}from'./actioncompressor.js';import{arePositionsEqual as _0xb2610b,getPositionShiftedBy as _0x5e63d7}from'../utils.js';import{cloneDeep as _0xcfcfc5}from'es-toolkit/compat';function _0x2214(){const _0x8a3cab=['_context','compress','_compareOperations','8lJbxhS','2140943MiTKZl','buffers','sourcePosition','howMany','16649325pQbety','839264mjoVxm','decompress','4167330AxtDEt','2042806KCPszh','MoveOperation','targetPosition','4pfTolv','root','_checkOperation','$graveyard','wasUndone','_getCompressorByName','2991162AmGhft','_compressSingleOperation','_combineNext','_decompressSingleOperation','719862zNBJdQ','_splitCurrent','__className'];_0x2214=function(){return _0x8a3cab;};return _0x2214();}function _0x8462(_0x5ab949,_0x3f9dff){const _0x2214f5=_0x2214();return _0x8462=function(_0x8462de,_0x24a4a6){_0x8462de=_0x8462de-0x10a;let _0xd40ec4=_0x2214f5[_0x8462de];return _0xd40ec4;},_0x8462(_0x5ab949,_0x3f9dff);}export class DeletingActionCompressor extends _0x1a15ee{[_0x2063c3(0x110)](_0x9f4f1,_0x51e05e){const _0x7cf3c0=_0x2063c3;return _0x51e05e[_0x7cf3c0(0x11c)]++,_0x51e05e[_0x7cf3c0(0x11b)]=_0xcfcfc5(_0x9f4f1[_0x7cf3c0(0x11b)]),_0x51e05e;}[_0x2063c3(0x113)](_0x4a4b){const _0x29f45d=_0x2063c3,_0x1724bb=_0xcfcfc5(_0x4a4b);return _0x4a4b[_0x29f45d(0x11c)]--,_0x1724bb[_0x29f45d(0x11c)]=0x1,_0x1724bb[_0x29f45d(0x11b)]=_0x5e63d7(_0x1724bb[_0x29f45d(0x11b)],_0x4a4b[_0x29f45d(0x11c)]),_0x1724bb;}[_0x2063c3(0x117)](_0x2a65fc,_0x4e4be6){const _0xbe6eeb=_0x2063c3;return!(!this[_0xbe6eeb(0x10a)](_0x2a65fc)||!this[_0xbe6eeb(0x10a)](_0x4e4be6))&&(_0xb2610b(_0x5e63d7(_0x2a65fc[_0xbe6eeb(0x11b)],-0x1),_0x4e4be6[_0xbe6eeb(0x11b)])&&_0xb2610b(_0x2a65fc[_0xbe6eeb(0x123)],_0x4e4be6[_0xbe6eeb(0x123)]));}[_0x2063c3(0x10f)](_0x437064){const _0x8293b2=_0x2063c3,_0x29fae2={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x8293b2(0x115)][_0x8293b2(0x10d)](_0x8293b2(0x122))[_0x8293b2(0x116)](_0x29fae2,[_0x437064]),_0x29fae2[_0x8293b2(0x11a)][0x0];}[_0x2063c3(0x111)](_0x409441){const _0x5ab152=_0x2063c3,_0x13d753=[];return this[_0x5ab152(0x115)][_0x5ab152(0x10d)](_0x5ab152(0x122))[_0x5ab152(0x11f)](_0x13d753,_0x409441),_0x13d753[0x0];}[_0x2063c3(0x10a)](_0x34c571){const _0x28a1e8=_0x2063c3;return _0x28a1e8(0x122)==_0x34c571[_0x28a1e8(0x114)]&&_0x28a1e8(0x10b)==_0x34c571[_0x28a1e8(0x123)][_0x28a1e8(0x125)]&&0x1==_0x34c571[_0x28a1e8(0x11c)]&&!_0x34c571[_0x28a1e8(0x10c)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x108cc6=_0x4380;(function(_0x413a6d,_0x1cd518){const _0x14e52f=_0x4380,_0x397591=_0x413a6d();while(!![]){try{const _0x12b506=parseInt(_0x14e52f(0x132))/0x1*(parseInt(_0x14e52f(0x118))/0x2)+parseInt(_0x14e52f(0x11b))/0x3+-parseInt(_0x14e52f(0x124))/0x4+parseInt(_0x14e52f(0x129))/0x5+parseInt(_0x14e52f(0x120))/0x6*(parseInt(_0x14e52f(0x131))/0x7)+-parseInt(_0x14e52f(0x119))/0x8*(parseInt(_0x14e52f(0x128))/0x9)+-parseInt(_0x14e52f(0x122))/0xa*(parseInt(_0x14e52f(0x123))/0xb);if(_0x12b506===_0x1cd518)break;else _0x397591['push'](_0x397591['shift']());}catch(_0x5630fe){_0x397591['push'](_0x397591['shift']());}}}(_0x46f2,0x7e357));import{ActionCompressor as _0x325e64}from'./actioncompressor.js';function _0x4380(_0x2af865,_0x3c2892){const _0x46f25d=_0x46f2();return _0x4380=function(_0x4380e7,_0xe3a104){_0x4380e7=_0x4380e7-0x117;let _0x7743c4=_0x46f25d[_0x4380e7];return _0x7743c4;},_0x4380(_0x2af865,_0x3c2892);}function _0x46f2(){const _0x21b267=['$graveyard','targetPosition','1262808jmLrJA','1893105kajIgA','decompress','_checkOperation','howMany','root','_compareOperations','wasUndone','compress','3502317libQeM','306190ywWwie','buffers','sourcePosition','_compressSingleOperation','4QcZhVn','8mpSEHG','_splitCurrent','619104ZYrYqp','_decompressSingleOperation','_getCompressorByName','_combineNext','_context','6THsxin','__className','2313730mfxtlW','11gIRVwJ','3236256hzrnlM','MoveOperation'];_0x46f2=function(){return _0x21b267;};return _0x46f2();}import{arePositionsEqual as _0x1ebbd5}from'../utils.js';import{cloneDeep as _0x35f8aa}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x325e64{[_0x108cc6(0x11e)](_0x5a6baa,_0x13fce4){const _0x192ed3=_0x108cc6;return _0x13fce4[_0x192ed3(0x12c)]++,_0x13fce4;}[_0x108cc6(0x11a)](_0xee59ea){const _0x5da102=_0x108cc6,_0x4ef3aa=_0x35f8aa(_0xee59ea);return _0x4ef3aa[_0x5da102(0x12c)]=0x1,_0xee59ea[_0x5da102(0x12c)]--,_0x4ef3aa;}[_0x108cc6(0x12e)](_0x4ed57b,_0x289d07){const _0x5e9447=_0x108cc6;return!(!this[_0x5e9447(0x12b)](_0x4ed57b)||!this[_0x5e9447(0x12b)](_0x289d07))&&(_0x1ebbd5(_0x4ed57b[_0x5e9447(0x134)],_0x289d07[_0x5e9447(0x134)])&&_0x1ebbd5(_0x4ed57b[_0x5e9447(0x127)],_0x289d07[_0x5e9447(0x127)]));}[_0x108cc6(0x117)](_0x381b48){const _0x203426=_0x108cc6,_0x293954={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x203426(0x11f)][_0x203426(0x11d)](_0x203426(0x125))[_0x203426(0x130)](_0x293954,[_0x381b48]),_0x293954[_0x203426(0x133)][0x0];}[_0x108cc6(0x11c)](_0xd4af5){const _0x46a214=_0x108cc6,_0x3978f1=[];return this[_0x46a214(0x11f)][_0x46a214(0x11d)](_0x46a214(0x125))[_0x46a214(0x12a)](_0x3978f1,_0xd4af5),_0x3978f1[0x0];}[_0x108cc6(0x12b)](_0x594448){const _0x5efe4a=_0x108cc6;return _0x5efe4a(0x125)==_0x594448[_0x5efe4a(0x121)]&&_0x5efe4a(0x126)==_0x594448[_0x5efe4a(0x127)][_0x5efe4a(0x12d)]&&0x1==_0x594448[_0x5efe4a(0x12c)]&&!_0x594448[_0x5efe4a(0x12f)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34bdd2=_0x4409;(function(_0x59b334,_0x106ed3){const _0x7bb486=_0x4409,_0x80f982=_0x59b334();while(!![]){try{const _0x339c77=-parseInt(_0x7bb486(0x7d))/0x1+parseInt(_0x7bb486(0x79))/0x2*(parseInt(_0x7bb486(0x87))/0x3)+parseInt(_0x7bb486(0x80))/0x4*(-parseInt(_0x7bb486(0x95))/0x5)+-parseInt(_0x7bb486(0x90))/0x6*(-parseInt(_0x7bb486(0x9a))/0x7)+-parseInt(_0x7bb486(0x84))/0x8+parseInt(_0x7bb486(0x7b))/0x9*(-parseInt(_0x7bb486(0x94))/0xa)+-parseInt(_0x7bb486(0x99))/0xb*(-parseInt(_0x7bb486(0x82))/0xc);if(_0x339c77===_0x106ed3)break;else _0x80f982['push'](_0x80f982['shift']());}catch(_0x406639){_0x80f982['push'](_0x80f982['shift']());}}}(_0x2635,0xc34eb));import{ActionCompressor as _0x15df81}from'./actioncompressor.js';import{arePositionsEqual as _0x4bd7d8,getPositionShiftedBy as _0x3931d9}from'../utils.js';function _0x2635(){const _0x5f2611=['buffers','218736RhTwsY','nodes','1139943ucPqNo','_compareOperations','_getCompressorByName','24212JKClZT','_checkOperation','72IBhbhM','every','9425520vrPvWc','from','iterator','6hEwvAv','_decompressSingleOperation','keys','_splitCurrent','_compareAttributes','value','wasUndone','position','data','21906jTqWyf','compress','_compressSingleOperation','_context','560sIzGrP','865BdMJwM','decompress','__className','_combineNext','4668785NLeiXq','2807qjRksl','next','length','InsertOperation','substr','attributes','1515644AWsXpm'];_0x2635=function(){return _0x5f2611;};return _0x2635();}function _0x4409(_0x54bac0,_0x5731ef){const _0x263586=_0x2635();return _0x4409=function(_0x44092b,_0x211aeb){_0x44092b=_0x44092b-0x75;let _0xa0cd3a=_0x263586[_0x44092b];return _0xa0cd3a;},_0x4409(_0x54bac0,_0x5731ef);}import{cloneDeep as _0x134cb0}from'es-toolkit/compat';export class TypingActionCompressor extends _0x15df81{[_0x34bdd2(0x98)](_0x2465b1,_0x2c8672){const _0x43d6e8=_0x34bdd2;return _0x2c8672[_0x43d6e8(0x7c)][0x0][_0x43d6e8(0x8f)]+=_0x2465b1[_0x43d6e8(0x7c)][0x0][_0x43d6e8(0x8f)],_0x2c8672;}[_0x34bdd2(0x8a)](_0x26fa0a){const _0xcb171f=_0x34bdd2,_0x320750=_0x134cb0(_0x26fa0a),_0x2197ed=_0x320750[_0xcb171f(0x7c)][0x0],_0x41be1f=_0x26fa0a[_0xcb171f(0x7c)][0x0],_0x24c07e=_0x41be1f[_0xcb171f(0x8f)][Symbol[_0xcb171f(0x86)]]()[_0xcb171f(0x9b)]()[_0xcb171f(0x8c)],_0x649439=_0x24c07e[_0xcb171f(0x75)];return _0x2197ed[_0xcb171f(0x8f)]=_0x24c07e,_0x41be1f[_0xcb171f(0x8f)]=_0x41be1f[_0xcb171f(0x8f)][_0xcb171f(0x77)](_0x649439),_0x26fa0a[_0xcb171f(0x8e)]=_0x3931d9(_0x26fa0a[_0xcb171f(0x8e)],_0x649439),_0x320750;}[_0x34bdd2(0x7e)](_0x50b9e2,_0x5aabb){const _0x4c3d69=_0x34bdd2;if(this[_0x4c3d69(0x81)](_0x50b9e2)&&this[_0x4c3d69(0x81)](_0x5aabb)){const _0x1c543d=_0x50b9e2[_0x4c3d69(0x7c)][0x0][_0x4c3d69(0x8f)][_0x4c3d69(0x75)],_0x15cb08=_0x4bd7d8(_0x3931d9(_0x50b9e2[_0x4c3d69(0x8e)],_0x1c543d),_0x5aabb[_0x4c3d69(0x8e)]),_0x1285be=_0x50b9e2[_0x4c3d69(0x7c)][0x0],_0x5296f8=_0x5aabb[_0x4c3d69(0x7c)][0x0];return _0x15cb08&&this[_0x4c3d69(0x8b)](_0x1285be,_0x5296f8);}return!0x1;}[_0x34bdd2(0x92)](_0x1ff074){const _0x2280bc=_0x34bdd2,_0x2809b9={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2280bc(0x93)][_0x2280bc(0x7f)](_0x2280bc(0x76))[_0x2280bc(0x91)](_0x2809b9,[_0x1ff074]),_0x2809b9[_0x2280bc(0x7a)][0x0];}[_0x34bdd2(0x88)](_0xea459f){const _0x2028e8=_0x34bdd2,_0x2cef0d=[];return this[_0x2028e8(0x93)][_0x2028e8(0x7f)](_0x2028e8(0x76))[_0x2028e8(0x96)](_0x2cef0d,_0xea459f),_0x2cef0d[0x0];}[_0x34bdd2(0x81)](_0xfe0b28){const _0x562a3b=_0x34bdd2;return _0x562a3b(0x76)==_0xfe0b28[_0x562a3b(0x97)]&&0x1==_0xfe0b28[_0x562a3b(0x7c)][_0x562a3b(0x75)]&&_0xfe0b28[_0x562a3b(0x7c)][0x0][_0x562a3b(0x8f)]&&!_0xfe0b28[_0x562a3b(0x8d)]&&0x1==Array[_0x562a3b(0x85)](_0xfe0b28[_0x562a3b(0x7c)][0x0][_0x562a3b(0x8f)])[_0x562a3b(0x75)];}[_0x34bdd2(0x8b)](_0x52090b,_0x4b80b0){const _0x5b87e2=_0x34bdd2,_0x5ef5d4=Object[_0x5b87e2(0x89)](_0x52090b[_0x5b87e2(0x78)]||{}),_0x559c3c=Object[_0x5b87e2(0x89)](_0x4b80b0[_0x5b87e2(0x78)]||{});return _0x5ef5d4[_0x5b87e2(0x75)]===_0x559c3c[_0x5b87e2(0x75)]&&_0x5ef5d4[_0x5b87e2(0x83)](_0x559eac=>_0x4b80b0[_0x5b87e2(0x78)][_0x559eac]&&_0x4b80b0[_0x5b87e2(0x78)][_0x559eac]===_0x52090b[_0x5b87e2(0x78)][_0x559eac]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f4c31=_0x1e80;(function(_0x2fa59c,_0x293f14){const _0x1bfb9e=_0x1e80,_0x378fc9=_0x2fa59c();while(!![]){try{const _0x5a6ff9=parseInt(_0x1bfb9e(0x206))/0x1+parseInt(_0x1bfb9e(0x208))/0x2*(-parseInt(_0x1bfb9e(0x20a))/0x3)+parseInt(_0x1bfb9e(0x1fa))/0x4+parseInt(_0x1bfb9e(0x209))/0x5+-parseInt(_0x1bfb9e(0x20b))/0x6+-parseInt(_0x1bfb9e(0x205))/0x7+-parseInt(_0x1bfb9e(0x207))/0x8*(-parseInt(_0x1bfb9e(0x211))/0x9);if(_0x5a6ff9===_0x293f14)break;else _0x378fc9['push'](_0x378fc9['shift']());}catch(_0x5e62b8){_0x378fc9['push'](_0x378fc9['shift']());}}}(_0x28b3,0xdd08c));import{ActionCompressor as _0x534299}from'./actioncompressor.js';function _0x1e80(_0x124d06,_0x3a8b90){const _0x28b3d3=_0x28b3();return _0x1e80=function(_0x1e80fc,_0xd772a5){_0x1e80fc=_0x1e80fc-0x1f1;let _0x48346b=_0x28b3d3[_0x1e80fc];return _0x48346b;},_0x1e80(_0x124d06,_0x3a8b90);}import{arePositionsEqual as _0x3c5ff7}from'../utils.js';import{cloneDeep as _0x15253a}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x534299{[_0x2f4c31(0x203)](_0x1af327,_0x35b66c){const _0x42ce98=_0x2f4c31;if(!this[_0x42ce98(0x1fe)](_0x35b66c[0x0],_0x35b66c[0x1]))return!0x1;const _0x387eeb=_0x35b66c[_0x42ce98(0x1f8)]();return _0x387eeb[_0x42ce98(0x20f)]=null,_0x387eeb[_0x42ce98(0x1f5)]&&_0x3c5ff7(_0x387eeb[_0x42ce98(0x1f5)][_0x42ce98(0x1f4)],_0x387eeb[_0x42ce98(0x1f5)][_0x42ce98(0x1ff)])&&(_0x387eeb[_0x42ce98(0x1f5)][_0x42ce98(0x1ff)]=null),_0x35b66c[_0x42ce98(0x1f8)](),_0x1af327[_0x42ce98(0x212)][_0x42ce98(0x202)](this[_0x42ce98(0x1f9)]),_0x1af327[_0x42ce98(0x212)][_0x42ce98(0x202)](0x0),_0x1af327[_0x42ce98(0x1f3)][_0x42ce98(0x202)](this[_0x42ce98(0x20c)](_0x387eeb)),!0x0;}[_0x2f4c31(0x1fd)](_0x4828d3,_0x2a97d8){const _0xe4cd15=_0x2f4c31,_0x18d947=this[_0xe4cd15(0x204)](_0x2a97d8);_0x18d947[_0xe4cd15(0x1f5)]&&!_0x18d947[_0xe4cd15(0x1f5)][_0xe4cd15(0x1ff)]&&(_0x18d947[_0xe4cd15(0x1f5)][_0xe4cd15(0x1ff)]=_0x15253a(_0x18d947[_0xe4cd15(0x1f5)][_0xe4cd15(0x1f4)]));const _0x416313=_0x15253a(_0x18d947);_0x416313[_0xe4cd15(0x1f5)]&&(_0x416313[_0xe4cd15(0x1f5)][_0xe4cd15(0x1f4)][_0xe4cd15(0x20d)]=_0xe4cd15(0x1fb),_0x416313[_0xe4cd15(0x1f5)][_0xe4cd15(0x1ff)]=_0x15253a(_0x416313[_0xe4cd15(0x1f5)][_0xe4cd15(0x1f4)])),_0x416313[_0xe4cd15(0x1f7)]=_0xe4cd15(0x210)+_0x416313[_0xe4cd15(0x1f7)][_0xe4cd15(0x20e)](':')[0x2],_0x2a97d8[_0xe4cd15(0x212)][_0xe4cd15(0x1f8)](),_0x4828d3[_0xe4cd15(0x202)](_0x18d947),_0x4828d3[_0xe4cd15(0x202)](_0x416313);}[_0x2f4c31(0x20c)](_0x1c3605){const _0x42356f=_0x2f4c31,_0x20ec2f={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x42356f(0x1f1)][_0x42356f(0x1fc)](_0x42356f(0x1f6))[_0x42356f(0x203)](_0x20ec2f,[_0x1c3605]),_0x20ec2f[_0x42356f(0x1f3)][0x0];}[_0x2f4c31(0x204)](_0xe8c678){const _0x10c9f5=_0x2f4c31,_0x5510e7=[];return this[_0x10c9f5(0x1f1)][_0x10c9f5(0x1fc)](_0x10c9f5(0x1f6))[_0x10c9f5(0x1fd)](_0x5510e7,_0xe8c678),_0x5510e7[0x0];}[_0x2f4c31(0x1fe)](_0x191159,_0x15af92){const _0x5ebcde=_0x2f4c31;return!(!_0x191159||!_0x15af92)&&(_0x5ebcde(0x1f6)==_0x191159[_0x5ebcde(0x200)]&&_0x5ebcde(0x1f6)==_0x15af92[_0x5ebcde(0x200)]&&!(!_0x191159[_0x5ebcde(0x1f7)][_0x5ebcde(0x201)](_0x5ebcde(0x1f2))||!_0x15af92[_0x5ebcde(0x1f7)][_0x5ebcde(0x201)](_0x5ebcde(0x1f2))||_0x191159[_0x5ebcde(0x1f7)]==_0x15af92[_0x5ebcde(0x1f7)]));}}function _0x28b3(){const _0x5edc31=['2290509uriNXn','types','_context','user:','buffers','start','newRange','MarkerOperation','name','shift','_id','7121640BmWUAp','toNone','_getCompressorByName','decompress','_compareOperations','end','__className','startsWith','push','compress','_decompressSingleOperation','11680207NfwPIT','701277cDKZOF','40lQgtBL','2jFPPFX','2048035aBYVMb','4380405UVvdcf','778242BzicGz','_compressSingleOperation','stickiness','split','oldRange','user:position:'];_0x28b3=function(){return _0x5edc31;};return _0x28b3();}
|
package/src/compressor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x21dd29=_0x3353;(function(_0x557a71,_0x16258c){const _0x2bf6a5=_0x3353,_0x5be28d=_0x557a71();while(!![]){try{const _0x5b4c1b=parseInt(_0x2bf6a5(0x11e))/0x1*(parseInt(_0x2bf6a5(0x110))/0x2)+-parseInt(_0x2bf6a5(0x129))/0x3*(parseInt(_0x2bf6a5(0x139))/0x4)+-parseInt(_0x2bf6a5(0x124))/0x5+parseInt(_0x2bf6a5(0x114))/0x6+parseInt(_0x2bf6a5(0x112))/0x7*(-parseInt(_0x2bf6a5(0x12c))/0x8)+parseInt(_0x2bf6a5(0x10b))/0x9+-parseInt(_0x2bf6a5(0x128))/0xa;if(_0x5b4c1b===_0x16258c)break;else _0x5be28d['push'](_0x5be28d['shift']());}catch(_0x49ffe6){_0x5be28d['push'](_0x5be28d['shift']());}}}(_0x3843,0xaebfc));import{CKEditorError as _0x4159ea}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x176347}from'./protobuffactory.js';import{OperationCompressor as _0x1c7a2c}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x229280}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x27c084}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x3295aa}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x33502c}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x28e276}from'./operationcompressor/annotationmarkeroperationcompressor.js';function _0x3353(_0x16b973,_0x713f18){const _0x3843a8=_0x3843();return _0x3353=function(_0x335343,_0x35fd2a){_0x335343=_0x335343-0x10b;let _0x3877a1=_0x3843a8[_0x335343];return _0x3877a1;},_0x3353(_0x16b973,_0x713f18);}import{TypingActionCompressor as _0x325995}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0xb15979}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x3e59a8}from'./actioncompressor/forwarddeletingactioncompressor.js';function _0x3843(){const _0x1bdce1=['4265pQRaUB','no-operations-provided','forEach','TypingAction','_getCompressorByName','DeletingAction','2749180HbgNmY','_registerCompressor','decompress','decompress-compressor-not-found','203900kUTTIt','3zGzHOu','UserSelectionAction','MarkerOperation','9088784dVyckf','_compressorByName','RenameOperation','NoOperation','set','MergeOperation','AttributeOperation','InsertOperation','_registerActionCompressor','_registerOperationCompressor','ForwardDeletingAction','_protobufFactory','comment','5300268fNTznC','12790791kUvJjq','CommentMarkerOperation','get','suggestion','RootOperation','668VomFzk','SuggestionMarkerOperation','7DrYaIg','RootAttributeOperation','5408724FXpmrm','length','__className','_compressorById','MoveOperation','getDescriptor','compress','types','SplitOperation','baseVersion'];_0x3843=function(){return _0x1bdce1;};return _0x3843();}import{UserSelectionActionCompressor as _0x3b209c}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x21dd29(0x117)];[_0x21dd29(0x12d)];[_0x21dd29(0x137)];constructor(){const _0x178bf6=_0x21dd29;this[_0x178bf6(0x117)]=new Map(),this[_0x178bf6(0x12d)]=new Map(),this[_0x178bf6(0x137)]=new _0x176347();const _0x3ceaae=this[_0x178bf6(0x137)][_0x178bf6(0x119)](_0x178bf6(0x12b));this[_0x178bf6(0x125)](0x1,_0x178bf6(0x12f),new _0x33502c(0x1,_0x178bf6(0x12f),void 0x0)),this[_0x178bf6(0x135)](0xa,_0x178bf6(0x132),_0x229280),this[_0x178bf6(0x135)](0xb,_0x178bf6(0x133),_0x27c084),this[_0x178bf6(0x135)](0xc,_0x178bf6(0x12b),_0x3295aa),this[_0x178bf6(0x135)](0xd,_0x178bf6(0x131),_0x1c7a2c),this[_0x178bf6(0x135)](0xe,_0x178bf6(0x118),_0x1c7a2c),this[_0x178bf6(0x135)](0xf,_0x178bf6(0x12e),_0x1c7a2c),this[_0x178bf6(0x135)](0x10,_0x178bf6(0x113),_0x229280),this[_0x178bf6(0x135)](0x11,_0x178bf6(0x11c),_0x1c7a2c),this[_0x178bf6(0x125)](0x12,_0x178bf6(0x10c),new _0x28e276(0x12,_0x178bf6(0x12b),_0x3ceaae,_0x178bf6(0x138))),this[_0x178bf6(0x125)](0x13,_0x178bf6(0x111),new _0x28e276(0x13,_0x178bf6(0x12b),_0x3ceaae,_0x178bf6(0x10e))),this[_0x178bf6(0x135)](0x14,_0x178bf6(0x10f),_0x1c7a2c),this[_0x178bf6(0x134)](0x64,_0x178bf6(0x121),_0x325995),this[_0x178bf6(0x134)](0x65,_0x178bf6(0x123),_0xb15979),this[_0x178bf6(0x134)](0x66,_0x178bf6(0x136),_0x3e59a8),this[_0x178bf6(0x134)](0x67,_0x178bf6(0x12a),_0x3b209c);}[_0x21dd29(0x11a)](_0x233219){const _0x169036=_0x21dd29;if(!_0x233219||!_0x233219[0x0])throw new _0x4159ea(_0x169036(0x11f),this);const _0x2d9754={'types':[],'buffers':[],'baseVersion':_0x233219[0x0][_0x169036(0x11d)]};for(;_0x233219[_0x169036(0x115)];)this[_0x169036(0x122)](_0x169036(0x12a))[_0x169036(0x11a)](_0x2d9754,_0x233219)||this[_0x169036(0x122)](_0x169036(0x121))[_0x169036(0x11a)](_0x2d9754,_0x233219)||this[_0x169036(0x122)](_0x169036(0x123))[_0x169036(0x11a)](_0x2d9754,_0x233219)||this[_0x169036(0x122)](_0x169036(0x136))[_0x169036(0x11a)](_0x2d9754,_0x233219)||this[_0x169036(0x122)](_0x169036(0x10c))[_0x169036(0x11a)](_0x2d9754,_0x233219)||this[_0x169036(0x122)](_0x169036(0x111))[_0x169036(0x11a)](_0x2d9754,_0x233219)||this[_0x169036(0x122)](_0x233219[0x0][_0x169036(0x116)])[_0x169036(0x11a)](_0x2d9754,_0x233219);return _0x2d9754;}[_0x21dd29(0x126)](_0x4f3b9e){const _0x352f21=_0x21dd29,_0x148fac=[];for(;_0x4f3b9e[_0x352f21(0x11b)][_0x352f21(0x115)];){const _0x3b8541=this[_0x352f21(0x117)][_0x352f21(0x10d)](_0x4f3b9e[_0x352f21(0x11b)][0x0]);if(!_0x3b8541)throw new _0x4159ea(_0x352f21(0x127),this,{'type':_0x4f3b9e[_0x352f21(0x11b)][0x0]});_0x3b8541[_0x352f21(0x126)](_0x148fac,_0x4f3b9e);}return _0x148fac[_0x352f21(0x120)]((_0x474615,_0x1e3301)=>_0x474615[_0x352f21(0x11d)]=_0x4f3b9e[_0x352f21(0x11d)]+_0x1e3301),_0x148fac;}[_0x21dd29(0x122)](_0x56c618){const _0x137adb=_0x21dd29;return this[_0x137adb(0x12d)][_0x137adb(0x10d)](_0x56c618);}[_0x21dd29(0x135)](_0x29c529,_0x136d23,_0x3f7d5e){const _0x1ad9c1=_0x21dd29,_0x576391=new _0x3f7d5e(_0x29c529,_0x136d23,this[_0x1ad9c1(0x137)][_0x1ad9c1(0x119)](_0x136d23));this[_0x1ad9c1(0x125)](_0x29c529,_0x136d23,_0x576391);}[_0x21dd29(0x134)](_0x1bb8d1,_0x3f4252,_0x2b9f16){const _0x4fac7b=_0x21dd29,_0xd49da0=new _0x2b9f16(_0x1bb8d1,this);this[_0x4fac7b(0x125)](_0x1bb8d1,_0x3f4252,_0xd49da0);}[_0x21dd29(0x125)](_0x4e8103,_0x17f95e,_0x500a22){const _0x35976d=_0x21dd29;this[_0x35976d(0x117)][_0x35976d(0x130)](_0x4e8103,_0x500a22),this[_0x35976d(0x12d)][_0x35976d(0x130)](_0x17f95e,_0x500a22);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x341d(_0x277775,_0x319372){var _0x25f874=_0x25f8();return _0x341d=function(_0x341dfd,_0x4741e1){_0x341dfd=_0x341dfd-0xa3;var _0x277215=_0x25f874[_0x341dfd];return _0x277215;},_0x341d(_0x277775,_0x319372);}(function(_0x1d0f61,_0x91648d){var _0x1023a4=_0x341d,_0x420012=_0x1d0f61();while(!![]){try{var _0x2a198f=-parseInt(_0x1023a4(0xa6))/0x1+-parseInt(_0x1023a4(0xa5))/0x2+parseInt(_0x1023a4(0xac))/0x3+-parseInt(_0x1023a4(0xaa))/0x4*(-parseInt(_0x1023a4(0xa4))/0x5)+-parseInt(_0x1023a4(0xad))/0x6*(parseInt(_0x1023a4(0xa8))/0x7)+parseInt(_0x1023a4(0xa7))/0x8*(-parseInt(_0x1023a4(0xa9))/0x9)+parseInt(_0x1023a4(0xab))/0xa*(parseInt(_0x1023a4(0xa3))/0xb);if(_0x2a198f===_0x91648d)break;else _0x420012['push'](_0x420012['shift']());}catch(_0x57eaee){_0x420012['push'](_0x420012['shift']());}}}(_0x25f8,0x21769));export{Compressor}from'./compressor.js';function _0x25f8(){var _0x359ef9=['78xqxSxn','11qLPLxh','5345AzydPJ','349930noqIxu','135903sjheCJ','1844120saiqco','133756HbFKxN','9egCdtK','692RmfMTD','7098580prhJDc','96171EKhABc'];_0x25f8=function(){return _0x359ef9;};return _0x25f8();}
|