@ckeditor/ckeditor5-operations-compressor 47.6.2 → 47.7.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/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
|
-
var
|
|
23
|
+
var _0x4554fc=_0x4a41;function _0x4a41(_0x50d331,_0x118bc7){var _0x2fb385=_0x2fb3();return _0x4a41=function(_0x4a4108,_0x534a31){_0x4a4108=_0x4a4108-0x19d;var _0x40731a=_0x2fb385[_0x4a4108];return _0x40731a;},_0x4a41(_0x50d331,_0x118bc7);}(function(_0x23e78a,_0x267acf){var _0x489349=_0x4a41,_0x2ec399=_0x23e78a();while(!![]){try{var _0x8cb832=-parseInt(_0x489349(0x1aa))/0x1*(parseInt(_0x489349(0x1a3))/0x2)+-parseInt(_0x489349(0x1ad))/0x3+-parseInt(_0x489349(0x1a9))/0x4*(parseInt(_0x489349(0x1a5))/0x5)+parseInt(_0x489349(0x1a7))/0x6*(-parseInt(_0x489349(0x19f))/0x7)+-parseInt(_0x489349(0x1a1))/0x8+parseInt(_0x489349(0x1a2))/0x9*(parseInt(_0x489349(0x1a4))/0xa)+parseInt(_0x489349(0x1a6))/0xb;if(_0x8cb832===_0x267acf)break;else _0x2ec399['push'](_0x2ec399['shift']());}catch(_0x224c01){_0x2ec399['push'](_0x2ec399['shift']());}}}(_0x2fb3,0x4161d));function _0x2fb3(){var _0x427bc2=['19071316mQGGed','168iCvFMC','_id','112076FgmXdp','7xWVoxK','compress','typeIndex','806424eOUwVC','types','_operationName','push','index','114744ZjLSse','decompress','2352432dPPNfG','1640538KtiUTy','126980GfyfrA','20AmNeTB','65rpaeaV'];_0x2fb3=function(){return _0x427bc2;};return _0x2fb3();}import{OperationCompressor as _0x208894}from'./operationcompressor.js';export class NoOperationCompressor extends _0x208894{[_0x4554fc(0x1ab)](_0x14b4b5,_0x1c01f6){var _0x216551=_0x4554fc;return _0x1c01f6[_0x216551(0x19e)]++,_0x14b4b5[_0x216551(0x1ae)][_0x216551(0x19d)](this[_0x216551(0x1a8)]),!0x0;}[_0x4554fc(0x1a0)](_0x33d43f,_0x417b58){var _0x3c225f=_0x4554fc;_0x417b58[_0x3c225f(0x1ac)]++,_0x33d43f[_0x3c225f(0x19d)]({'__className':this[_0x3c225f(0x1af)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x602157=_0x4240;(function(_0x2c61a5,_0x4ccaa1){const _0x43eaed=_0x4240,_0x2ab91f=_0x2c61a5();while(!![]){try{const _0xb13032=-parseInt(_0x43eaed(0x171))/0x1+parseInt(_0x43eaed(0x165))/0x2*(parseInt(_0x43eaed(0x167))/0x3)+-parseInt(_0x43eaed(0x161))/0x4+-parseInt(_0x43eaed(0x16a))/0x5*(-parseInt(_0x43eaed(0x169))/0x6)+-parseInt(_0x43eaed(0x168))/0x7+-parseInt(_0x43eaed(0x15e))/0x8+parseInt(_0x43eaed(0x170))/0x9*(parseInt(_0x43eaed(0x166))/0xa);if(_0xb13032===_0x4ccaa1)break;else _0x2ab91f['push'](_0x2ab91f['shift']());}catch(_0x1c5dd6){_0x2ab91f['push'](_0x2ab91f['shift']());}}}(_0x436f,0x7a518));function _0x436f(){const _0x318c2d=['operations','1621296oblgxW','__className','bufferIndex','types','303348xFQLRh','698570uvRmuM','12yDFSeD','2331350zmOOkl','174MeqGhf','92930qLgzZB','_operationName','typeIndex','index','buffers','push','171QWIOWA','259998nnbRjC','_protobufDescriptor','decompress','_id','7788680QrTqsx','compress'];_0x436f=function(){return _0x318c2d;};return _0x436f();}import{parsePositionBeforeCompression as _0x6761e6,parsePositionAfterCompression as _0x6101aa}from'../utils.js';function _0x4240(_0x1edd28,_0x1ce417){const _0x436f5a=_0x436f();return _0x4240=function(_0x42405c,_0x1d33fa){_0x42405c=_0x42405c-0x15b;let _0x22a2cd=_0x436f5a[_0x42405c];return _0x22a2cd;},_0x4240(_0x1edd28,_0x1ce417);}export class OperationCompressor{[_0x602157(0x15d)];[_0x602157(0x16b)];[_0x602157(0x15b)];constructor(_0x814fef,_0x1df035,_0x1b9d45){const _0x10b609=_0x602157;this[_0x10b609(0x15d)]=_0x814fef,this[_0x10b609(0x16b)]=_0x1df035,this[_0x10b609(0x15b)]=_0x1b9d45;}[_0x602157(0x15f)](_0x1b8af4,_0x16919d){const _0x4d1b4e=_0x602157,_0x89aed8=_0x16919d[_0x4d1b4e(0x160)][_0x16919d[_0x4d1b4e(0x16d)]++];return _0x6761e6(_0x89aed8),_0x1b8af4[_0x4d1b4e(0x16e)][_0x4d1b4e(0x16f)](this[_0x4d1b4e(0x15b)][_0x4d1b4e(0x15f)](_0x89aed8)),_0x1b8af4[_0x4d1b4e(0x164)][_0x4d1b4e(0x16f)](this[_0x4d1b4e(0x15d)]),!0x0;}[_0x602157(0x15c)](_0x102649,_0x151042){const _0x280431=_0x602157;_0x151042[_0x280431(0x16c)]++;const _0x4f9304=_0x151042[_0x280431(0x16e)][_0x151042[_0x280431(0x163)]++],_0x3419ad=this[_0x280431(0x15b)][_0x280431(0x15c)](_0x4f9304);_0x6101aa(_0x3419ad),_0x3419ad[_0x280431(0x162)]=this[_0x280431(0x16b)],_0x102649[_0x280431(0x16f)](_0x3419ad);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5dc3(){const _0x50db9e=['1217772SjKiYF','5282648sLgydV','_protobuf','895588QQhorf','25emEfFk','getDescriptor','865489PsMkwR','decompress','finish','41787ZHDKnt','decode','2040764dLMcdf','2584143lefuID','21IJsjBi','compress','verify','create','8670wRavSd','toObject','encode','_protobufRoot'];_0x5dc3=function(){return _0x50db9e;};return _0x5dc3();}const _0x4df83c=_0x13ea;(function(_0x151cd5,_0x3fa9ab){const _0x2b097e=_0x13ea,_0x31f7b0=_0x151cd5();while(!![]){try{const _0x4b23fb=-parseInt(_0x2b097e(0x1fd))/0x1+-parseInt(_0x2b097e(0x202))/0x2+parseInt(_0x2b097e(0x203))/0x3+-parseInt(_0x2b097e(0x1fa))/0x4*(parseInt(_0x2b097e(0x1fb))/0x5)+parseInt(_0x2b097e(0x1f7))/0x6*(-parseInt(_0x2b097e(0x204))/0x7)+-parseInt(_0x2b097e(0x1f8))/0x8+-parseInt(_0x2b097e(0x200))/0x9*(-parseInt(_0x2b097e(0x1f3))/0xa);if(_0x4b23fb===_0x3fa9ab)break;else _0x31f7b0['push'](_0x31f7b0['shift']());}catch(_0x5b22de){_0x31f7b0['push'](_0x31f7b0['shift']());}}}(_0x5dc3,0x957c1));import{messages as _0x384c67}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x4df83c(0x1f6)];constructor(){const _0x4f7f8d=_0x4df83c;this[_0x4f7f8d(0x1f6)]=_0x384c67;}[_0x4df83c(0x1fc)](_0x429c8f){const _0x351203=_0x4df83c;return new ProtobufDescriptor(this[_0x351203(0x1f6)][_0x429c8f]);}}function _0x13ea(_0x2b1d97,_0x59efb9){const _0x5dc337=_0x5dc3();return _0x13ea=function(_0x13ea46,_0x5788c7){_0x13ea46=_0x13ea46-0x1f0;let _0x7ed08f=_0x5dc337[_0x13ea46];return _0x7ed08f;},_0x13ea(_0x2b1d97,_0x59efb9);}export class ProtobufDescriptor{[_0x4df83c(0x1f9)];constructor(_0x2de86e){const _0x4bbbe9=_0x4df83c;this[_0x4bbbe9(0x1f9)]=_0x2de86e;}[_0x4df83c(0x1f0)](_0xcee47b){const _0x4e48c4=_0x4df83c,_0x399875=this[_0x4e48c4(0x1f9)][_0x4e48c4(0x1f1)](_0xcee47b);if(_0x399875)throw Error(_0x399875);return this[_0x4e48c4(0x1f9)][_0x4e48c4(0x1f5)](this[_0x4e48c4(0x1f9)][_0x4e48c4(0x1f2)](_0xcee47b))[_0x4e48c4(0x1ff)]();}[_0x4df83c(0x1fe)](_0x2ef65f){const _0x1ca24e=_0x4df83c;return this[_0x1ca24e(0x1f9)][_0x1ca24e(0x1f4)](this[_0x1ca24e(0x1f9)][_0x1ca24e(0x201)](_0x2ef65f),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x267bac,_0x555b85){const _0x11a714=_0x40a7,_0x31bd75=_0x267bac();while(!![]){try{const _0x1991f9=-parseInt(_0x11a714(0x18c))/0x1+-parseInt(_0x11a714(0x192))/0x2*(parseInt(_0x11a714(0x191))/0x3)+-parseInt(_0x11a714(0x189))/0x4+parseInt(_0x11a714(0x193))/0x5+-parseInt(_0x11a714(0x197))/0x6*(-parseInt(_0x11a714(0x18b))/0x7)+parseInt(_0x11a714(0x188))/0x8+parseInt(_0x11a714(0x195))/0x9*(parseInt(_0x11a714(0x18d))/0xa);if(_0x1991f9===_0x555b85)break;else _0x31bd75['push'](_0x31bd75['shift']());}catch(_0x568f8c){_0x31bd75['push'](_0x31bd75['shift']());}}}(_0x16bb,0xd86b9));import{cloneDeep as _0x5f18d1,isEqual as _0x486534,isObject as _0x4aa08d}from'es-toolkit/compat';export function getPositionShiftedBy(_0x1175b5,_0x2a6e6d){const _0x21f0b5=_0x40a7,_0x291c2e=_0x5f18d1(_0x1175b5);return _0x291c2e[_0x21f0b5(0x196)][_0x291c2e[_0x21f0b5(0x196)][_0x21f0b5(0x190)]-0x1]+=_0x2a6e6d,_0x291c2e;}export function arePositionsEqual(_0x42c1ef,_0x1e6355){const _0x22486f=_0x40a7;return _0x42c1ef[_0x22486f(0x186)]===_0x1e6355[_0x22486f(0x186)]&&_0x486534(_0x42c1ef[_0x22486f(0x196)],_0x1e6355[_0x22486f(0x196)]);}export function parsePositionBeforeCompression(_0xabe1e4){const _0x3b0b9b=_0x40a7;P(_0xabe1e4,_0x3fb6b0=>(_0x3b0b9b(0x194)==_0x3fb6b0[_0x3b0b9b(0x186)]?(_0x3fb6b0[_0x3b0b9b(0x18a)]=!0x0,delete _0x3fb6b0[_0x3b0b9b(0x186)]):_0x3b0b9b(0x187)==_0x3fb6b0[_0x3b0b9b(0x186)]&&(_0x3fb6b0[_0x3b0b9b(0x18f)]=!0x0,delete _0x3fb6b0[_0x3b0b9b(0x186)]),_0x3fb6b0));}function _0x16bb(){const _0x59e20b=['path','1276026CkWzWz','root','$graveyard','5586424bPQKqJ','6811340eDxEen','rootMain','35xjJSGu','1595898FzyRYg','6280BiNNwL','nodes','rootGraveyard','length','6DlShOo','1480984ivaOpS','1451880JkhMbh','main','51795KoeQDN'];_0x16bb=function(){return _0x59e20b;};return _0x16bb();}export function parsePositionAfterCompression(_0x411cfc){const _0x2df538=_0x40a7;P(_0x411cfc,_0x338884=>(_0x338884[_0x2df538(0x18a)]?(_0x338884[_0x2df538(0x186)]=_0x2df538(0x194),delete _0x338884[_0x2df538(0x18a)]):_0x338884[_0x2df538(0x18f)]&&(_0x338884[_0x2df538(0x186)]=_0x2df538(0x187),delete _0x338884[_0x2df538(0x18f)]),_0x338884));}function _0x40a7(_0x515407,_0xe77667){const _0x16bb4c=_0x16bb();return _0x40a7=function(_0x40a754,_0xc9fb54){_0x40a754=_0x40a754-0x186;let _0x336581=_0x16bb4c[_0x40a754];return _0x336581;},_0x40a7(_0x515407,_0xe77667);}function P(_0x2d2905,_0x4a59d4){const _0x46ca86=_0x40a7;for(const _0x3820e8 in _0x2d2905){const _0xfcef1d=_0x2d2905[_0x3820e8];_0x46ca86(0x18e)!==_0x3820e8&&_0x4aa08d(_0xfcef1d)&&(_0xfcef1d[_0x46ca86(0x196)]&&(_0xfcef1d[_0x46ca86(0x186)]||_0xfcef1d[_0x46ca86(0x18a)]||_0xfcef1d[_0x46ca86(0x18f)])?_0x2d2905[_0x3820e8]=_0x4a59d4(_0xfcef1d):P(_0xfcef1d,_0x4a59d4));}return _0x2d2905;}
|