@ckeditor/ckeditor5-operations-compressor 47.4.0-alpha.3 → 47.4.0-alpha.5
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
|
-
function
|
|
23
|
+
var _0x1efc5b=_0x366b;function _0x366b(_0x2ce347,_0x4d1374){var _0x5cda1a=_0x5cda();return _0x366b=function(_0x366bd9,_0x5e9a90){_0x366bd9=_0x366bd9-0x8e;var _0x4a6b9a=_0x5cda1a[_0x366bd9];return _0x4a6b9a;},_0x366b(_0x2ce347,_0x4d1374);}function _0x5cda(){var _0x116599=['compress','18578yfausW','4339888VdFoIH','types','593991DubgOv','4uLLbhm','shift','_operationName','1293420dKwOqi','166070LTAOXx','decompress','1HNbjPv','push','1067kadLxW','966bchvLO','1617454doLrAD','189864LiPeJP','_id'];_0x5cda=function(){return _0x116599;};return _0x5cda();}(function(_0x38f4e8,_0x32b4b0){var _0xa3f113=_0x366b,_0x40d0b2=_0x38f4e8();while(!![]){try{var _0x12cfb7=parseInt(_0xa3f113(0x97))/0x1*(parseInt(_0xa3f113(0x9b))/0x2)+-parseInt(_0xa3f113(0x9c))/0x3*(parseInt(_0xa3f113(0x91))/0x4)+parseInt(_0xa3f113(0x94))/0x5+-parseInt(_0xa3f113(0x9a))/0x6*(-parseInt(_0xa3f113(0x9f))/0x7)+parseInt(_0xa3f113(0x8e))/0x8+parseInt(_0xa3f113(0x90))/0x9+-parseInt(_0xa3f113(0x95))/0xa*(parseInt(_0xa3f113(0x99))/0xb);if(_0x12cfb7===_0x32b4b0)break;else _0x40d0b2['push'](_0x40d0b2['shift']());}catch(_0x1f0efc){_0x40d0b2['push'](_0x40d0b2['shift']());}}}(_0x5cda,0x68bdf));import{OperationCompressor as _0x416cc6}from'./operationcompressor.js';export class NoOperationCompressor extends _0x416cc6{[_0x1efc5b(0x9e)](_0x5c7c73,_0xe20be0){var _0x16c0e3=_0x1efc5b;return _0xe20be0[_0x16c0e3(0x92)](),_0x5c7c73[_0x16c0e3(0x8f)][_0x16c0e3(0x98)](this[_0x16c0e3(0x9d)]),!0x0;}[_0x1efc5b(0x96)](_0x318ebc,_0x3d0c32){var _0x365a6e=_0x1efc5b;_0x3d0c32[_0x365a6e(0x8f)][_0x365a6e(0x92)](),_0x318ebc[_0x365a6e(0x98)]({'__className':this[_0x365a6e(0x93)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3589(){const _0x506a86=['decompress','_protobufDescriptor','shift','93cLcpNx','11368350xlSfWS','push','18569848svxFVp','1709pFhosr','_id','129236CTLnAB','12709416SrxeEI','484zTsVpc','buffers','__className','3350MwxsUs','3260390YloQUt','2586FMxmNp','types','_operationName','27zDenXZ','compress'];_0x3589=function(){return _0x506a86;};return _0x3589();}const _0x5f3003=_0x392a;(function(_0x3cbbaf,_0xbb0708){const _0x44edbd=_0x392a,_0x229bbb=_0x3cbbaf();while(!![]){try{const _0x4b60ff=parseInt(_0x44edbd(0x1cd))/0x1*(-parseInt(_0x44edbd(0x1d1))/0x2)+parseInt(_0x44edbd(0x1c9))/0x3*(parseInt(_0x44edbd(0x1cf))/0x4)+-parseInt(_0x44edbd(0x1d4))/0x5*(parseInt(_0x44edbd(0x1c1))/0x6)+-parseInt(_0x44edbd(0x1ca))/0x7+parseInt(_0x44edbd(0x1d0))/0x8+-parseInt(_0x44edbd(0x1c4))/0x9*(parseInt(_0x44edbd(0x1d5))/0xa)+parseInt(_0x44edbd(0x1cc))/0xb;if(_0x4b60ff===_0xbb0708)break;else _0x229bbb['push'](_0x229bbb['shift']());}catch(_0x43eb11){_0x229bbb['push'](_0x229bbb['shift']());}}}(_0x3589,0xedc55));import{parsePositionBeforeCompression as _0x4fa890,parsePositionAfterCompression as _0x2c2620}from'../utils.js';function _0x392a(_0xf9f0f1,_0x498223){const _0x3589e6=_0x3589();return _0x392a=function(_0x392a7d,_0x8b9f33){_0x392a7d=_0x392a7d-0x1c1;let _0x56d6e6=_0x3589e6[_0x392a7d];return _0x56d6e6;},_0x392a(_0xf9f0f1,_0x498223);}export class OperationCompressor{[_0x5f3003(0x1ce)];[_0x5f3003(0x1c3)];[_0x5f3003(0x1c7)];constructor(_0x351def,_0x4fe6db,_0x3a92d5){const _0x1737ab=_0x5f3003;this[_0x1737ab(0x1ce)]=_0x351def,this[_0x1737ab(0x1c3)]=_0x4fe6db,this[_0x1737ab(0x1c7)]=_0x3a92d5;}[_0x5f3003(0x1c5)](_0x15c779,_0x23fb05){const _0x34d4a8=_0x5f3003,_0x332750=_0x23fb05[_0x34d4a8(0x1c8)]();return _0x4fa890(_0x332750),_0x15c779[_0x34d4a8(0x1d2)][_0x34d4a8(0x1cb)](this[_0x34d4a8(0x1c7)][_0x34d4a8(0x1c5)](_0x332750)),_0x15c779[_0x34d4a8(0x1c2)][_0x34d4a8(0x1cb)](this[_0x34d4a8(0x1ce)]),!0x0;}[_0x5f3003(0x1c6)](_0x574353,_0x1b70b2){const _0x4644cd=_0x5f3003;_0x1b70b2[_0x4644cd(0x1c2)][_0x4644cd(0x1c8)]();const _0x4bf0b7=this[_0x4644cd(0x1c7)][_0x4644cd(0x1c6)](_0x1b70b2[_0x4644cd(0x1d2)][_0x4644cd(0x1c8)]());_0x2c2620(_0x4bf0b7),_0x4bf0b7[_0x4644cd(0x1d3)]=this[_0x4644cd(0x1c3)],_0x574353[_0x4644cd(0x1cb)](_0x4bf0b7);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d22e0=_0x4cb3;(function(_0x4dec79,_0x543a99){const _0x16feb1=_0x4cb3,_0x28d269=_0x4dec79();while(!![]){try{const _0x349fa0=parseInt(_0x16feb1(0x1fa))/0x1+parseInt(_0x16feb1(0x1f0))/0x2+-parseInt(_0x16feb1(0x1ed))/0x3+parseInt(_0x16feb1(0x1f5))/0x4+-parseInt(_0x16feb1(0x1ec))/0x5+parseInt(_0x16feb1(0x1f8))/0x6+-parseInt(_0x16feb1(0x1fc))/0x7;if(_0x349fa0===_0x543a99)break;else _0x28d269['push'](_0x28d269['shift']());}catch(_0x5e426e){_0x28d269['push'](_0x28d269['shift']());}}}(_0xee62,0x94612));function _0x4cb3(_0xe07b7e,_0x4db434){const _0xee62b7=_0xee62();return _0x4cb3=function(_0x4cb31c,_0x26e802){_0x4cb31c=_0x4cb31c-0x1eb;let _0x10999a=_0xee62b7[_0x4cb31c];return _0x10999a;},_0x4cb3(_0xe07b7e,_0x4db434);}import{messages as _0x4b1d90}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x2d22e0(0x1ee)];constructor(){const _0x4b0dd6=_0x2d22e0;this[_0x4b0dd6(0x1ee)]=_0x4b1d90;}[_0x2d22e0(0x1f2)](_0x1e5dc3){const _0x247b5e=_0x2d22e0;return new ProtobufDescriptor(this[_0x247b5e(0x1ee)][_0x1e5dc3]);}}export class ProtobufDescriptor{[_0x2d22e0(0x1f3)];constructor(_0x3733cd){const _0x57d6f5=_0x2d22e0;this[_0x57d6f5(0x1f3)]=_0x3733cd;}[_0x2d22e0(0x1ef)](_0x34f2ef){const _0x46136b=_0x2d22e0,_0x3fb5c2=this[_0x46136b(0x1f3)][_0x46136b(0x1fb)](_0x34f2ef);if(_0x3fb5c2)throw Error(_0x3fb5c2);return this[_0x46136b(0x1f3)][_0x46136b(0x1eb)](this[_0x46136b(0x1f3)][_0x46136b(0x1f7)](_0x34f2ef))[_0x46136b(0x1f9)]();}[_0x2d22e0(0x1f6)](_0x26ff71){const _0x14a6b8=_0x2d22e0;return this[_0x14a6b8(0x1f3)][_0x14a6b8(0x1f1)](this[_0x14a6b8(0x1f3)][_0x14a6b8(0x1f4)](_0x26ff71),{'oneofs':!0x0});}}function _0xee62(){const _0x59b8fe=['1246010ipJDHV','317280RfGxlL','_protobufRoot','compress','132190vftnjb','toObject','getDescriptor','_protobuf','decode','4834172htsatH','decompress','create','6012456FbLCyI','finish','886078oJdikm','verify','15400476wbABXb','encode'];_0xee62=function(){return _0x59b8fe;};return _0xee62();}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x573ce5,_0x18be78){const _0xf31ee0=_0x107f,_0x241c6d=_0x573ce5();while(!![]){try{const _0x26d968=-parseInt(_0xf31ee0(0x10f))/0x1+parseInt(_0xf31ee0(0x106))/0x2*(-parseInt(_0xf31ee0(0x101))/0x3)+parseInt(_0xf31ee0(0x10d))/0x4+parseInt(_0xf31ee0(0x107))/0x5+-parseInt(_0xf31ee0(0x111))/0x6*(parseInt(_0xf31ee0(0x100))/0x7)+parseInt(_0xf31ee0(0x108))/0x8+-parseInt(_0xf31ee0(0x10e))/0x9*(-parseInt(_0xf31ee0(0x10b))/0xa);if(_0x26d968===_0x18be78)break;else _0x241c6d['push'](_0x241c6d['shift']());}catch(_0x15ac6a){_0x241c6d['push'](_0x241c6d['shift']());}}}(_0x153a,0x8d1a2));function _0x153a(){const _0x178df0=['rootGraveyard','8HmaOKV','789460tDeNrQ','646144PmtYWy','root','path','13115940yxsTqt','length','250972MPmEcn','9JVzJzW','199858bZGxFu','nodes','1009998bEVYDT','7ABRLop','500139rfIqHj','$graveyard','main','rootMain'];_0x153a=function(){return _0x178df0;};return _0x153a();}import{cloneDeep as _0x470441,isEqual as _0x140c11,isObject as _0x3aae00}from'es-toolkit/compat';export function getPositionShiftedBy(_0x5e666f,_0x28b324){const _0x50d11f=_0x107f,_0x337ed1=_0x470441(_0x5e666f);return _0x337ed1[_0x50d11f(0x10a)][_0x337ed1[_0x50d11f(0x10a)][_0x50d11f(0x10c)]-0x1]+=_0x28b324,_0x337ed1;}export function arePositionsEqual(_0x4267a3,_0x40593e){const _0x4c3718=_0x107f;return _0x4267a3[_0x4c3718(0x109)]===_0x40593e[_0x4c3718(0x109)]&&_0x140c11(_0x4267a3[_0x4c3718(0x10a)],_0x40593e[_0x4c3718(0x10a)]);}export function parsePositionBeforeCompression(_0x28f0ca){const _0x59f33d=_0x107f;P(_0x28f0ca,_0x1b5ec2=>(_0x59f33d(0x103)==_0x1b5ec2[_0x59f33d(0x109)]?(_0x1b5ec2[_0x59f33d(0x104)]=!0x0,delete _0x1b5ec2[_0x59f33d(0x109)]):_0x59f33d(0x102)==_0x1b5ec2[_0x59f33d(0x109)]&&(_0x1b5ec2[_0x59f33d(0x105)]=!0x0,delete _0x1b5ec2[_0x59f33d(0x109)]),_0x1b5ec2));}function _0x107f(_0x290eb6,_0x4b88d4){const _0x153adf=_0x153a();return _0x107f=function(_0x107fc1,_0x526643){_0x107fc1=_0x107fc1-0x100;let _0x145b73=_0x153adf[_0x107fc1];return _0x145b73;},_0x107f(_0x290eb6,_0x4b88d4);}export function parsePositionAfterCompression(_0x411772){const _0x43b519=_0x107f;P(_0x411772,_0x5bafa0=>(_0x5bafa0[_0x43b519(0x104)]?(_0x5bafa0[_0x43b519(0x109)]=_0x43b519(0x103),delete _0x5bafa0[_0x43b519(0x104)]):_0x5bafa0[_0x43b519(0x105)]&&(_0x5bafa0[_0x43b519(0x109)]=_0x43b519(0x102),delete _0x5bafa0[_0x43b519(0x105)]),_0x5bafa0));}function P(_0x2de68a,_0x59ba78){const _0x4a0635=_0x107f;for(const _0xb658ce in _0x2de68a){const _0x3d7de4=_0x2de68a[_0xb658ce];_0x4a0635(0x110)!==_0xb658ce&&_0x3aae00(_0x3d7de4)&&(_0x3d7de4[_0x4a0635(0x10a)]&&(_0x3d7de4[_0x4a0635(0x109)]||_0x3d7de4[_0x4a0635(0x104)]||_0x3d7de4[_0x4a0635(0x105)])?_0x2de68a[_0xb658ce]=_0x59ba78(_0x3d7de4):P(_0x3d7de4,_0x59ba78));}return _0x2de68a;}
|