@ckeditor/ckeditor5-operations-compressor 46.0.2 → 46.1.0-alpha.0
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
|
-
|
|
23
|
+
var _0x24caad=_0x4c00;(function(_0x2c2f8f,_0x126106){var _0x4b7f32=_0x4c00,_0x52a9c9=_0x2c2f8f();while(!![]){try{var _0x307a01=parseInt(_0x4b7f32(0xa4))/0x1*(parseInt(_0x4b7f32(0xac))/0x2)+-parseInt(_0x4b7f32(0xaf))/0x3+parseInt(_0x4b7f32(0xb0))/0x4+-parseInt(_0x4b7f32(0xa8))/0x5*(-parseInt(_0x4b7f32(0xb3))/0x6)+parseInt(_0x4b7f32(0xab))/0x7+-parseInt(_0x4b7f32(0xa6))/0x8*(parseInt(_0x4b7f32(0xae))/0x9)+-parseInt(_0x4b7f32(0xad))/0xa;if(_0x307a01===_0x126106)break;else _0x52a9c9['push'](_0x52a9c9['shift']());}catch(_0x1e730d){_0x52a9c9['push'](_0x52a9c9['shift']());}}}(_0x419d,0x8d54e));function _0x4c00(_0x170fe8,_0x370a80){var _0x419d07=_0x419d();return _0x4c00=function(_0x4c0040,_0x288459){_0x4c0040=_0x4c0040-0xa3;var _0x392d1c=_0x419d07[_0x4c0040];return _0x392d1c;},_0x4c00(_0x170fe8,_0x370a80);}import{OperationCompressor as _0x84c892}from'./operationcompressor.js';export class NoOperationCompressor extends _0x84c892{[_0x24caad(0xa9)](_0x5eb548,_0x440d1f){var _0x36d8ce=_0x24caad;return _0x440d1f[_0x36d8ce(0xb1)](),_0x5eb548[_0x36d8ce(0xa5)][_0x36d8ce(0xa7)](this[_0x36d8ce(0xb2)]),!0x0;}[_0x24caad(0xa3)](_0x18d92d,_0x1da7aa){var _0x4523aa=_0x24caad;_0x1da7aa[_0x4523aa(0xa5)][_0x4523aa(0xb1)](),_0x18d92d[_0x4523aa(0xa7)]({'__className':this[_0x4523aa(0xaa)]});}}function _0x419d(){var _0x53edb2=['4327012wNvjoI','shift','_id','4164540khcuxQ','decompress','307ppRkyX','types','136YGRtyd','push','5Jdjzkt','compress','_operationName','2637677rMwxfH','2288QePKxh','12465450DICbvE','349803EoSUVB','53052RnlmFY'];_0x419d=function(){return _0x53edb2;};return _0x419d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a441b=_0x53df;function _0x53df(_0xe3545e,_0x34becc){const _0x43d95a=_0x43d9();return _0x53df=function(_0x53df46,_0xe40e68){_0x53df46=_0x53df46-0x146;let _0x130aa8=_0x43d95a[_0x53df46];return _0x130aa8;},_0x53df(_0xe3545e,_0x34becc);}(function(_0x13a262,_0x4d82fc){const _0x52637d=_0x53df,_0x2a2258=_0x13a262();while(!![]){try{const _0x219733=parseInt(_0x52637d(0x14a))/0x1*(parseInt(_0x52637d(0x151))/0x2)+parseInt(_0x52637d(0x148))/0x3*(parseInt(_0x52637d(0x155))/0x4)+-parseInt(_0x52637d(0x15b))/0x5*(parseInt(_0x52637d(0x153))/0x6)+-parseInt(_0x52637d(0x14f))/0x7*(-parseInt(_0x52637d(0x14d))/0x8)+-parseInt(_0x52637d(0x146))/0x9*(parseInt(_0x52637d(0x150))/0xa)+parseInt(_0x52637d(0x158))/0xb+-parseInt(_0x52637d(0x152))/0xc;if(_0x219733===_0x4d82fc)break;else _0x2a2258['push'](_0x2a2258['shift']());}catch(_0x4de95b){_0x2a2258['push'](_0x2a2258['shift']());}}}(_0x43d9,0x4db73));import{parsePositionBeforeCompression as _0x3c880f,parsePositionAfterCompression as _0x329b42}from'../utils.js';export class OperationCompressor{[_0x5a441b(0x149)];[_0x5a441b(0x14b)];[_0x5a441b(0x159)];constructor(_0xd13016,_0x4e3c70,_0x300496){const _0x89b540=_0x5a441b;this[_0x89b540(0x149)]=_0xd13016,this[_0x89b540(0x14b)]=_0x4e3c70,this[_0x89b540(0x159)]=_0x300496;}[_0x5a441b(0x157)](_0x1c9008,_0x3ed8bd){const _0x270a35=_0x5a441b,_0x41afb9=_0x3ed8bd[_0x270a35(0x14c)]();return _0x3c880f(_0x41afb9),_0x1c9008[_0x270a35(0x14e)][_0x270a35(0x154)](this[_0x270a35(0x159)][_0x270a35(0x157)](_0x41afb9)),_0x1c9008[_0x270a35(0x15a)][_0x270a35(0x154)](this[_0x270a35(0x149)]),!0x0;}[_0x5a441b(0x147)](_0x4e10bd,_0x366bdb){const _0x58aebe=_0x5a441b;_0x366bdb[_0x58aebe(0x15a)][_0x58aebe(0x14c)]();const _0x3e4d55=this[_0x58aebe(0x159)][_0x58aebe(0x147)](_0x366bdb[_0x58aebe(0x14e)][_0x58aebe(0x14c)]());_0x329b42(_0x3e4d55),_0x3e4d55[_0x58aebe(0x156)]=this[_0x58aebe(0x14b)],_0x4e10bd[_0x58aebe(0x154)](_0x3e4d55);}}function _0x43d9(){const _0x3042b3=['_id','2IgZFik','_operationName','shift','674296hktwym','buffers','49CpBCTs','20KHVHgE','138152TFdVdI','7006848AiRvbH','6gedqGW','push','1965224FdrBdb','__className','compress','4505941RidRli','_protobufDescriptor','types','1631985EjUoqO','1802133cgJxOW','decompress','3faxCSH'];_0x43d9=function(){return _0x3042b3;};return _0x43d9();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x215695=_0x2457;function _0x2457(_0x1f815b,_0x506436){const _0x544d2a=_0x544d();return _0x2457=function(_0x24571c,_0x5663b2){_0x24571c=_0x24571c-0x14e;let _0x388d34=_0x544d2a[_0x24571c];return _0x388d34;},_0x2457(_0x1f815b,_0x506436);}(function(_0x488035,_0x2785e7){const _0x5e6c88=_0x2457,_0x4629e8=_0x488035();while(!![]){try{const _0x376beb=parseInt(_0x5e6c88(0x153))/0x1*(parseInt(_0x5e6c88(0x14e))/0x2)+-parseInt(_0x5e6c88(0x159))/0x3*(parseInt(_0x5e6c88(0x160))/0x4)+parseInt(_0x5e6c88(0x15d))/0x5+-parseInt(_0x5e6c88(0x154))/0x6+parseInt(_0x5e6c88(0x150))/0x7*(parseInt(_0x5e6c88(0x157))/0x8)+-parseInt(_0x5e6c88(0x15e))/0x9+parseInt(_0x5e6c88(0x15b))/0xa;if(_0x376beb===_0x2785e7)break;else _0x4629e8['push'](_0x4629e8['shift']());}catch(_0x14fc33){_0x4629e8['push'](_0x4629e8['shift']());}}}(_0x544d,0x68a2b));function _0x544d(){const _0x3ba247=['5546331CRbAqt','finish','24jXMpsK','decompress','encode','534356qexZNZ','toObject','8855kNQVhG','decode','_protobufRoot','3qQbdim','4009980dLktCn','getDescriptor','_protobuf','1096LiPREI','create','247497wjbwTZ','verify','5949860aprgPK','compress','3191725XtPMPz'];_0x544d=function(){return _0x3ba247;};return _0x544d();}import{messages as _0x2e0599}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x215695(0x152)];constructor(){const _0x58733d=_0x215695;this[_0x58733d(0x152)]=_0x2e0599;}[_0x215695(0x155)](_0xda2160){const _0x5a38ef=_0x215695;return new ProtobufDescriptor(this[_0x5a38ef(0x152)][_0xda2160]);}}export class ProtobufDescriptor{[_0x215695(0x156)];constructor(_0x178507){const _0x42afb8=_0x215695;this[_0x42afb8(0x156)]=_0x178507;}[_0x215695(0x15c)](_0x46855f){const _0xc28dea=_0x215695,_0x885c50=this[_0xc28dea(0x156)][_0xc28dea(0x15a)](_0x46855f);if(_0x885c50)throw Error(_0x885c50);return this[_0xc28dea(0x156)][_0xc28dea(0x162)](this[_0xc28dea(0x156)][_0xc28dea(0x158)](_0x46855f))[_0xc28dea(0x15f)]();}[_0x215695(0x161)](_0x418f4f){const _0x68f373=_0x215695;return this[_0x68f373(0x156)][_0x68f373(0x14f)](this[_0x68f373(0x156)][_0x68f373(0x151)](_0x418f4f),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5a08f6,_0x2f7424){const _0x2660c6=_0x571f,_0x41c561=_0x5a08f6();while(!![]){try{const _0x463f5a=parseInt(_0x2660c6(0x1ac))/0x1*(-parseInt(_0x2660c6(0x1ae))/0x2)+-parseInt(_0x2660c6(0x1ab))/0x3+-parseInt(_0x2660c6(0x1a5))/0x4*(parseInt(_0x2660c6(0x1af))/0x5)+-parseInt(_0x2660c6(0x1ad))/0x6+-parseInt(_0x2660c6(0x1b5))/0x7*(-parseInt(_0x2660c6(0x1a9))/0x8)+-parseInt(_0x2660c6(0x1a6))/0x9*(-parseInt(_0x2660c6(0x1a4))/0xa)+parseInt(_0x2660c6(0x1b1))/0xb;if(_0x463f5a===_0x2f7424)break;else _0x41c561['push'](_0x41c561['shift']());}catch(_0x1df18c){_0x41c561['push'](_0x41c561['shift']());}}}(_0xf692,0x7c5f7));import{cloneDeep as _0x158d6c,isEqual as _0x359b79,isObject as _0x24e19f}from'es-toolkit/compat';export function getPositionShiftedBy(_0x2cd29e,_0x57f7ea){const _0x244cd3=_0x571f,_0x52a6f6=_0x158d6c(_0x2cd29e);return _0x52a6f6[_0x244cd3(0x1a8)][_0x52a6f6[_0x244cd3(0x1a8)][_0x244cd3(0x1a7)]-0x1]+=_0x57f7ea,_0x52a6f6;}function _0x571f(_0x12ea85,_0x4cb5db){const _0xf69240=_0xf692();return _0x571f=function(_0x571f30,_0x347c6f){_0x571f30=_0x571f30-0x1a4;let _0x4b3fd1=_0xf69240[_0x571f30];return _0x4b3fd1;},_0x571f(_0x12ea85,_0x4cb5db);}function _0xf692(){const _0x3aa518=['length','path','1304poOdHs','nodes','489207pGLxYV','1OyLVVr','692400XJzdbc','989402YctEdi','10aLNalc','rootGraveyard','12335158hctpmj','main','$graveyard','rootMain','37758mggSBD','root','25390eynfKd','1562948hlRsld','225myXmsj'];_0xf692=function(){return _0x3aa518;};return _0xf692();}export function arePositionsEqual(_0x300f0a,_0x4a818c){const _0x4ebbe8=_0x571f;return _0x300f0a[_0x4ebbe8(0x1b6)]===_0x4a818c[_0x4ebbe8(0x1b6)]&&_0x359b79(_0x300f0a[_0x4ebbe8(0x1a8)],_0x4a818c[_0x4ebbe8(0x1a8)]);}export function parsePositionBeforeCompression(_0x4da0bf){const _0xdcbf40=_0x571f;P(_0x4da0bf,_0x316ab5=>(_0xdcbf40(0x1b2)==_0x316ab5[_0xdcbf40(0x1b6)]?(_0x316ab5[_0xdcbf40(0x1b4)]=!0x0,delete _0x316ab5[_0xdcbf40(0x1b6)]):_0xdcbf40(0x1b3)==_0x316ab5[_0xdcbf40(0x1b6)]&&(_0x316ab5[_0xdcbf40(0x1b0)]=!0x0,delete _0x316ab5[_0xdcbf40(0x1b6)]),_0x316ab5));}export function parsePositionAfterCompression(_0x3f49a1){const _0x5869b4=_0x571f;P(_0x3f49a1,_0x36491d=>(_0x36491d[_0x5869b4(0x1b4)]?(_0x36491d[_0x5869b4(0x1b6)]=_0x5869b4(0x1b2),delete _0x36491d[_0x5869b4(0x1b4)]):_0x36491d[_0x5869b4(0x1b0)]&&(_0x36491d[_0x5869b4(0x1b6)]=_0x5869b4(0x1b3),delete _0x36491d[_0x5869b4(0x1b0)]),_0x36491d));}function P(_0x2deb80,_0x272978){const _0x4e7f80=_0x571f;for(const _0x296199 in _0x2deb80){const _0x541b86=_0x2deb80[_0x296199];_0x4e7f80(0x1aa)!==_0x296199&&_0x24e19f(_0x541b86)&&(_0x541b86[_0x4e7f80(0x1a8)]&&(_0x541b86[_0x4e7f80(0x1b6)]||_0x541b86[_0x4e7f80(0x1b4)]||_0x541b86[_0x4e7f80(0x1b0)])?_0x2deb80[_0x296199]=_0x272978(_0x541b86):P(_0x541b86,_0x272978));}return _0x2deb80;}
|