@ckeditor/ckeditor5-operations-compressor 46.0.0-alpha.7 → 46.0.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 _0x220b39=_0x10db;(function(_0x2da581,_0x440012){var _0x123e96=_0x10db,_0xaff636=_0x2da581();while(!![]){try{var _0x484b19=-parseInt(_0x123e96(0x7b))/0x1+-parseInt(_0x123e96(0x7d))/0x2+parseInt(_0x123e96(0x73))/0x3*(-parseInt(_0x123e96(0x7f))/0x4)+parseInt(_0x123e96(0x79))/0x5+-parseInt(_0x123e96(0x81))/0x6*(-parseInt(_0x123e96(0x7e))/0x7)+-parseInt(_0x123e96(0x77))/0x8+parseInt(_0x123e96(0x75))/0x9*(parseInt(_0x123e96(0x72))/0xa);if(_0x484b19===_0x440012)break;else _0xaff636['push'](_0xaff636['shift']());}catch(_0x225961){_0xaff636['push'](_0xaff636['shift']());}}}(_0x39fd,0xad2e2));import{OperationCompressor as _0x13dc26}from'./operationcompressor.js';export class NoOperationCompressor extends _0x13dc26{[_0x220b39(0x71)](_0x4fe08d,_0xd3efc1){var _0x5994fb=_0x220b39;return _0xd3efc1[_0x5994fb(0x7c)](),_0x4fe08d[_0x5994fb(0x74)][_0x5994fb(0x80)](this[_0x5994fb(0x7a)]),!0x0;}[_0x220b39(0x76)](_0x297f64,_0x3e3930){var _0x324793=_0x220b39;_0x3e3930[_0x324793(0x74)][_0x324793(0x7c)](),_0x297f64[_0x324793(0x80)]({'__className':this[_0x324793(0x78)]});}}function _0x10db(_0x366473,_0x35f372){var _0x39fde5=_0x39fd();return _0x10db=function(_0x10dbc1,_0x1397d8){_0x10dbc1=_0x10dbc1-0x71;var _0x1473d1=_0x39fde5[_0x10dbc1];return _0x1473d1;},_0x10db(_0x366473,_0x35f372);}function _0x39fd(){var _0x570af4=['1361705bSrNOA','shift','2742726pjVhWE','721931FnKcbD','4YUAEDl','push','30snADYX','compress','34850230GwANSN','1338591FznySE','types','9znMKqY','decompress','3575240gbtstC','_operationName','1674140wXbyEm','_id'];_0x39fd=function(){return _0x570af4;};return _0x39fd();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4259(_0x29fdd5,_0x11b0b1){const _0x1c161c=_0x1c16();return _0x4259=function(_0x4259f3,_0x470a3b){_0x4259f3=_0x4259f3-0x13e;let _0x2d8393=_0x1c161c[_0x4259f3];return _0x2d8393;},_0x4259(_0x29fdd5,_0x11b0b1);}const _0x50b193=_0x4259;(function(_0x1f09cb,_0xff87b1){const _0x4c1ce7=_0x4259,_0x218fe0=_0x1f09cb();while(!![]){try{const _0x5c8a39=parseInt(_0x4c1ce7(0x140))/0x1*(parseInt(_0x4c1ce7(0x14e))/0x2)+-parseInt(_0x4c1ce7(0x144))/0x3+-parseInt(_0x4c1ce7(0x13e))/0x4+-parseInt(_0x4c1ce7(0x14b))/0x5+-parseInt(_0x4c1ce7(0x143))/0x6+parseInt(_0x4c1ce7(0x141))/0x7+-parseInt(_0x4c1ce7(0x148))/0x8*(-parseInt(_0x4c1ce7(0x13f))/0x9);if(_0x5c8a39===_0xff87b1)break;else _0x218fe0['push'](_0x218fe0['shift']());}catch(_0x30b348){_0x218fe0['push'](_0x218fe0['shift']());}}}(_0x1c16,0xb6cfc));import{parsePositionBeforeCompression as _0x2383b3,parsePositionAfterCompression as _0x302b56}from'../utils.js';export class OperationCompressor{[_0x50b193(0x147)];[_0x50b193(0x14c)];[_0x50b193(0x142)];constructor(_0x285160,_0xc3f907,_0x23c538){const _0x2e1205=_0x50b193;this[_0x2e1205(0x147)]=_0x285160,this[_0x2e1205(0x14c)]=_0xc3f907,this[_0x2e1205(0x142)]=_0x23c538;}[_0x50b193(0x14a)](_0x1bd212,_0x612435){const _0x1cca7a=_0x50b193,_0x301d6f=_0x612435[_0x1cca7a(0x14f)]();return _0x2383b3(_0x301d6f),_0x1bd212[_0x1cca7a(0x145)][_0x1cca7a(0x150)](this[_0x1cca7a(0x142)][_0x1cca7a(0x14a)](_0x301d6f)),_0x1bd212[_0x1cca7a(0x146)][_0x1cca7a(0x150)](this[_0x1cca7a(0x147)]),!0x0;}[_0x50b193(0x14d)](_0x10c791,_0x3be3ec){const _0x12a769=_0x50b193;_0x3be3ec[_0x12a769(0x146)][_0x12a769(0x14f)]();const _0x37fe84=this[_0x12a769(0x142)][_0x12a769(0x14d)](_0x3be3ec[_0x12a769(0x145)][_0x12a769(0x14f)]());_0x302b56(_0x37fe84),_0x37fe84[_0x12a769(0x149)]=this[_0x12a769(0x14c)],_0x10c791[_0x12a769(0x150)](_0x37fe84);}}function _0x1c16(){const _0x22fd49=['buffers','types','_id','3411416Wtfaab','__className','compress','3843805yhVTXI','_operationName','decompress','60052BSOhPm','shift','push','3225112vvMQci','72JsoKdH','29bpzsAk','2169398HOpmKN','_protobufDescriptor','8214732UHfsOq','2697381VpfAgC'];_0x1c16=function(){return _0x22fd49;};return _0x1c16();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x501173=_0x4c31;(function(_0x5d136a,_0x2bea05){const _0x5225e6=_0x4c31,_0x4c5a52=_0x5d136a();while(!![]){try{const _0x3bb654=parseInt(_0x5225e6(0x18c))/0x1*(-parseInt(_0x5225e6(0x17a))/0x2)+parseInt(_0x5225e6(0x17c))/0x3*(-parseInt(_0x5225e6(0x183))/0x4)+parseInt(_0x5225e6(0x17f))/0x5+-parseInt(_0x5225e6(0x188))/0x6+parseInt(_0x5225e6(0x187))/0x7+parseInt(_0x5225e6(0x18a))/0x8*(parseInt(_0x5225e6(0x189))/0x9)+-parseInt(_0x5225e6(0x185))/0xa;if(_0x3bb654===_0x2bea05)break;else _0x4c5a52['push'](_0x4c5a52['shift']());}catch(_0x403904){_0x4c5a52['push'](_0x4c5a52['shift']());}}}(_0x329b,0x4ea67));function _0x329b(){const _0x49082f=['compress','finish','_protobufRoot','1156tOkafE','toObject','3613620ABJXmI','create','2343691rzIGGb','1152024nyGZVR','9qcchLm','4654256fmeRNk','verify','143ADHsQA','decompress','decode','2390wvLbsM','_protobuf','3009EuIskd','encode','getDescriptor','2098370dVyTkN'];_0x329b=function(){return _0x49082f;};return _0x329b();}function _0x4c31(_0x1d72a0,_0x11f09e){const _0x329b4a=_0x329b();return _0x4c31=function(_0x4c31fb,_0x3568a3){_0x4c31fb=_0x4c31fb-0x17a;let _0x415f9a=_0x329b4a[_0x4c31fb];return _0x415f9a;},_0x4c31(_0x1d72a0,_0x11f09e);}import{messages as _0x162f43}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x501173(0x182)];constructor(){const _0x1f4c2d=_0x501173;this[_0x1f4c2d(0x182)]=_0x162f43;}[_0x501173(0x17e)](_0x9a4596){const _0x742b2e=_0x501173;return new ProtobufDescriptor(this[_0x742b2e(0x182)][_0x9a4596]);}}export class ProtobufDescriptor{[_0x501173(0x17b)];constructor(_0x59da69){const _0x523592=_0x501173;this[_0x523592(0x17b)]=_0x59da69;}[_0x501173(0x180)](_0x51d0d2){const _0x5da80a=_0x501173,_0x279b6d=this[_0x5da80a(0x17b)][_0x5da80a(0x18b)](_0x51d0d2);if(_0x279b6d)throw Error(_0x279b6d);return this[_0x5da80a(0x17b)][_0x5da80a(0x17d)](this[_0x5da80a(0x17b)][_0x5da80a(0x186)](_0x51d0d2))[_0x5da80a(0x181)]();}[_0x501173(0x18d)](_0x39760f){const _0x4132b1=_0x501173;return this[_0x4132b1(0x17b)][_0x4132b1(0x184)](this[_0x4132b1(0x17b)][_0x4132b1(0x18e)](_0x39760f),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x30e108,_0x536550){const _0x4d3887=_0x3e8b,_0x359372=_0x30e108();while(!![]){try{const _0xed1dd=-parseInt(_0x4d3887(0x1be))/0x1*(parseInt(_0x4d3887(0x1c2))/0x2)+-parseInt(_0x4d3887(0x1c5))/0x3*(parseInt(_0x4d3887(0x1ba))/0x4)+parseInt(_0x4d3887(0x1bd))/0x5+-parseInt(_0x4d3887(0x1c4))/0x6+parseInt(_0x4d3887(0x1c0))/0x7+parseInt(_0x4d3887(0x1b6))/0x8*(parseInt(_0x4d3887(0x1bb))/0x9)+parseInt(_0x4d3887(0x1bc))/0xa;if(_0xed1dd===_0x536550)break;else _0x359372['push'](_0x359372['shift']());}catch(_0x4f5d2d){_0x359372['push'](_0x359372['shift']());}}}(_0xbed0,0xe87ea));function _0x3e8b(_0x5d048c,_0x29435c){const _0xbed03a=_0xbed0();return _0x3e8b=function(_0x3e8ba1,_0x118312){_0x3e8ba1=_0x3e8ba1-0x1b5;let _0x29d0b=_0xbed03a[_0x3e8ba1];return _0x29d0b;},_0x3e8b(_0x5d048c,_0x29435c);}import{cloneDeep as _0x2e6c9e,isEqual as _0x1a327b,isObject as _0x189f04}from'es-toolkit/compat';export function getPositionShiftedBy(_0x46fea6,_0x55e5dc){const _0x2607e1=_0x3e8b,_0x47f871=_0x2e6c9e(_0x46fea6);return _0x47f871[_0x2607e1(0x1bf)][_0x47f871[_0x2607e1(0x1bf)][_0x2607e1(0x1b9)]-0x1]+=_0x55e5dc,_0x47f871;}export function arePositionsEqual(_0x50fd60,_0x4568d3){const _0x332b03=_0x3e8b;return _0x50fd60[_0x332b03(0x1c6)]===_0x4568d3[_0x332b03(0x1c6)]&&_0x1a327b(_0x50fd60[_0x332b03(0x1bf)],_0x4568d3[_0x332b03(0x1bf)]);}export function parsePositionBeforeCompression(_0x3dedec){const _0x3c8de0=_0x3e8b;P(_0x3dedec,_0x5af29e=>(_0x3c8de0(0x1c3)==_0x5af29e[_0x3c8de0(0x1c6)]?(_0x5af29e[_0x3c8de0(0x1b5)]=!0x0,delete _0x5af29e[_0x3c8de0(0x1c6)]):_0x3c8de0(0x1c1)==_0x5af29e[_0x3c8de0(0x1c6)]&&(_0x5af29e[_0x3c8de0(0x1b7)]=!0x0,delete _0x5af29e[_0x3c8de0(0x1c6)]),_0x5af29e));}export function parsePositionAfterCompression(_0x34e8a9){const _0x354ccf=_0x3e8b;P(_0x34e8a9,_0xfba274=>(_0xfba274[_0x354ccf(0x1b5)]?(_0xfba274[_0x354ccf(0x1c6)]=_0x354ccf(0x1c3),delete _0xfba274[_0x354ccf(0x1b5)]):_0xfba274[_0x354ccf(0x1b7)]&&(_0xfba274[_0x354ccf(0x1c6)]=_0x354ccf(0x1c1),delete _0xfba274[_0x354ccf(0x1b7)]),_0xfba274));}function _0xbed0(){const _0x38a24a=['nodes','length','120524lNwkAy','612xMwxJX','32772290IhsJGu','3400855PiHvkW','256242KlIXCp','path','4422677QiZxev','$graveyard','12meQYRR','main','10892040BlcUqB','153BHDZvG','root','rootMain','147360EWHink','rootGraveyard'];_0xbed0=function(){return _0x38a24a;};return _0xbed0();}function P(_0x4a502,_0x58bf7a){const _0x8b60dd=_0x3e8b;for(const _0x3f6a44 in _0x4a502){const _0xbec0ed=_0x4a502[_0x3f6a44];_0x8b60dd(0x1b8)!==_0x3f6a44&&_0x189f04(_0xbec0ed)&&(_0xbec0ed[_0x8b60dd(0x1bf)]&&(_0xbec0ed[_0x8b60dd(0x1c6)]||_0xbec0ed[_0x8b60dd(0x1b5)]||_0xbec0ed[_0x8b60dd(0x1b7)])?_0x4a502[_0x3f6a44]=_0x58bf7a(_0xbec0ed):P(_0xbec0ed,_0x58bf7a));}return _0x4a502;}
|