@ckeditor/ckeditor5-operations-compressor 47.1.0 → 47.2.0-alpha.1
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
|
+
function _0x1362(_0xbd67ca,_0x2d90d9){var _0x53cf89=_0x53cf();return _0x1362=function(_0x13625f,_0x38577e){_0x13625f=_0x13625f-0xa6;var _0x3c538e=_0x53cf89[_0x13625f];return _0x3c538e;},_0x1362(_0xbd67ca,_0x2d90d9);}var _0x250a09=_0x1362;function _0x53cf(){var _0x40578d=['584106aktCTA','2073789FvjnAv','3KArzFl','_id','1143170VpKTjh','3750585FvTiaY','_operationName','151872aQFHPg','push','294715fEtmZB','compress','4570930MLGTUd','shift','types','56POEKNp','decompress'];_0x53cf=function(){return _0x40578d;};return _0x53cf();}(function(_0x30162b,_0x1972b7){var _0x4d299c=_0x1362,_0x268d49=_0x30162b();while(!![]){try{var _0xb90cdf=parseInt(_0x4d299c(0xaf))/0x1+parseInt(_0x4d299c(0xaa))/0x2*(parseInt(_0x4d299c(0xa8))/0x3)+-parseInt(_0x4d299c(0xad))/0x4+parseInt(_0x4d299c(0xab))/0x5+-parseInt(_0x4d299c(0xa6))/0x6+parseInt(_0x4d299c(0xb1))/0x7+parseInt(_0x4d299c(0xb4))/0x8*(-parseInt(_0x4d299c(0xa7))/0x9);if(_0xb90cdf===_0x1972b7)break;else _0x268d49['push'](_0x268d49['shift']());}catch(_0x50c3ea){_0x268d49['push'](_0x268d49['shift']());}}}(_0x53cf,0x7f3b5));import{OperationCompressor as _0x36f9c0}from'./operationcompressor.js';export class NoOperationCompressor extends _0x36f9c0{[_0x250a09(0xb0)](_0x2f083c,_0x4f5e90){var _0x4d922f=_0x250a09;return _0x4f5e90[_0x4d922f(0xb2)](),_0x2f083c[_0x4d922f(0xb3)][_0x4d922f(0xae)](this[_0x4d922f(0xa9)]),!0x0;}[_0x250a09(0xb5)](_0x137559,_0x4cb56c){var _0x2c8f6b=_0x250a09;_0x4cb56c[_0x2c8f6b(0xb3)][_0x2c8f6b(0xb2)](),_0x137559[_0x2c8f6b(0xae)]({'__className':this[_0x2c8f6b(0xac)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3bda(){const _0x156489=['3726201FSORDE','879893jUBUUk','_id','push','5221536uzrjSi','2iKWaDm','decompress','_protobufDescriptor','2475342eRpeLD','114748RGbSTd','types','40842850FmqVYW','9iYWElb','buffers','compress','115OEEkXF','4900028GLNAIC','_operationName','shift','__className'];_0x3bda=function(){return _0x156489;};return _0x3bda();}const _0x5a0d22=_0x441c;(function(_0x3c2704,_0x378893){const _0x3543e9=_0x441c,_0x2c84d3=_0x3c2704();while(!![]){try{const _0x341acc=-parseInt(_0x3543e9(0x1a8))/0x1+-parseInt(_0x3543e9(0x1ac))/0x2*(parseInt(_0x3543e9(0x1a7))/0x3)+parseInt(_0x3543e9(0x1b0))/0x4*(-parseInt(_0x3543e9(0x1b6))/0x5)+-parseInt(_0x3543e9(0x1af))/0x6+-parseInt(_0x3543e9(0x1b7))/0x7+-parseInt(_0x3543e9(0x1ab))/0x8*(-parseInt(_0x3543e9(0x1b3))/0x9)+parseInt(_0x3543e9(0x1b2))/0xa;if(_0x341acc===_0x378893)break;else _0x2c84d3['push'](_0x2c84d3['shift']());}catch(_0x2fa404){_0x2c84d3['push'](_0x2c84d3['shift']());}}}(_0x3bda,0xcdb9f));import{parsePositionBeforeCompression as _0x3a04bd,parsePositionAfterCompression as _0xf0aa04}from'../utils.js';function _0x441c(_0x3fe498,_0x43416c){const _0x3bda3c=_0x3bda();return _0x441c=function(_0x441c0b,_0x5c7c46){_0x441c0b=_0x441c0b-0x1a7;let _0x12e5ec=_0x3bda3c[_0x441c0b];return _0x12e5ec;},_0x441c(_0x3fe498,_0x43416c);}export class OperationCompressor{[_0x5a0d22(0x1a9)];[_0x5a0d22(0x1b8)];[_0x5a0d22(0x1ae)];constructor(_0x2c4311,_0x254f92,_0x49a865){const _0x547277=_0x5a0d22;this[_0x547277(0x1a9)]=_0x2c4311,this[_0x547277(0x1b8)]=_0x254f92,this[_0x547277(0x1ae)]=_0x49a865;}[_0x5a0d22(0x1b5)](_0x5ababd,_0x547a46){const _0x386824=_0x5a0d22,_0x3e75b4=_0x547a46[_0x386824(0x1b9)]();return _0x3a04bd(_0x3e75b4),_0x5ababd[_0x386824(0x1b4)][_0x386824(0x1aa)](this[_0x386824(0x1ae)][_0x386824(0x1b5)](_0x3e75b4)),_0x5ababd[_0x386824(0x1b1)][_0x386824(0x1aa)](this[_0x386824(0x1a9)]),!0x0;}[_0x5a0d22(0x1ad)](_0x142ee5,_0x2a72d9){const _0x38640d=_0x5a0d22;_0x2a72d9[_0x38640d(0x1b1)][_0x38640d(0x1b9)]();const _0x2e9852=this[_0x38640d(0x1ae)][_0x38640d(0x1ad)](_0x2a72d9[_0x38640d(0x1b4)][_0x38640d(0x1b9)]());_0xf0aa04(_0x2e9852),_0x2e9852[_0x38640d(0x1ba)]=this[_0x38640d(0x1b8)],_0x142ee5[_0x38640d(0x1aa)](_0x2e9852);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xd42f(){const _0xb6252e=['148YtdGar','verify','create','9935GkItft','_protobufRoot','5714577iZtvIF','9540150CZBAfJ','decode','getDescriptor','decompress','7021gtGICr','encode','toObject','1530783ISJkYQ','1722JTLoYw','_protobuf','compress','4777656btnteg','659438MuLYGY','2UjlfoT','finish'];_0xd42f=function(){return _0xb6252e;};return _0xd42f();}function _0x223e(_0x5c63fc,_0xe4923e){const _0xd42f75=_0xd42f();return _0x223e=function(_0x223ec5,_0x5a7501){_0x223ec5=_0x223ec5-0xd9;let _0x4a9510=_0xd42f75[_0x223ec5];return _0x4a9510;},_0x223e(_0x5c63fc,_0xe4923e);}const _0x55295a=_0x223e;(function(_0x5e595d,_0x5c3074){const _0x427622=_0x223e,_0x5dd43e=_0x5e595d();while(!![]){try{const _0x1ba622=parseInt(_0x427622(0xda))/0x1*(parseInt(_0x427622(0xdb))/0x2)+parseInt(_0x427622(0xea))/0x3+-parseInt(_0x427622(0xdd))/0x4*(parseInt(_0x427622(0xe0))/0x5)+parseInt(_0x427622(0xeb))/0x6*(-parseInt(_0x427622(0xe7))/0x7)+-parseInt(_0x427622(0xd9))/0x8+-parseInt(_0x427622(0xe2))/0x9+parseInt(_0x427622(0xe3))/0xa;if(_0x1ba622===_0x5c3074)break;else _0x5dd43e['push'](_0x5dd43e['shift']());}catch(_0x45453b){_0x5dd43e['push'](_0x5dd43e['shift']());}}}(_0xd42f,0x816fe));import{messages as _0x15f8c4}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x55295a(0xe1)];constructor(){const _0x4a92ab=_0x55295a;this[_0x4a92ab(0xe1)]=_0x15f8c4;}[_0x55295a(0xe5)](_0x131cb8){const _0x2977f9=_0x55295a;return new ProtobufDescriptor(this[_0x2977f9(0xe1)][_0x131cb8]);}}export class ProtobufDescriptor{[_0x55295a(0xec)];constructor(_0x58b6cd){const _0x26a001=_0x55295a;this[_0x26a001(0xec)]=_0x58b6cd;}[_0x55295a(0xed)](_0x3288e9){const _0x42a0e9=_0x55295a,_0x63626c=this[_0x42a0e9(0xec)][_0x42a0e9(0xde)](_0x3288e9);if(_0x63626c)throw Error(_0x63626c);return this[_0x42a0e9(0xec)][_0x42a0e9(0xe8)](this[_0x42a0e9(0xec)][_0x42a0e9(0xdf)](_0x3288e9))[_0x42a0e9(0xdc)]();}[_0x55295a(0xe6)](_0x2e8a02){const _0x138e45=_0x55295a;return this[_0x138e45(0xec)][_0x138e45(0xe9)](this[_0x138e45(0xec)][_0x138e45(0xe4)](_0x2e8a02),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3a8106,_0x5a5594){const _0x1f4e92=_0x3133,_0x495613=_0x3a8106();while(!![]){try{const _0x5de0ba=parseInt(_0x1f4e92(0xbd))/0x1+-parseInt(_0x1f4e92(0xb9))/0x2*(parseInt(_0x1f4e92(0xc3))/0x3)+parseInt(_0x1f4e92(0xc7))/0x4+parseInt(_0x1f4e92(0xbc))/0x5*(-parseInt(_0x1f4e92(0xbe))/0x6)+-parseInt(_0x1f4e92(0xbf))/0x7+parseInt(_0x1f4e92(0xcb))/0x8*(parseInt(_0x1f4e92(0xba))/0x9)+-parseInt(_0x1f4e92(0xc0))/0xa*(-parseInt(_0x1f4e92(0xc5))/0xb);if(_0x5de0ba===_0x5a5594)break;else _0x495613['push'](_0x495613['shift']());}catch(_0x12ea65){_0x495613['push'](_0x495613['shift']());}}}(_0x2f88,0x4415b));function _0x2f88(){const _0x1b67b5=['176690NXUCnQ','236297TOjFEm','12tgjqKQ','3849538RLMTXB','171130bCmwte','main','root','9HzORLj','rootGraveyard','374mfPdek','path','112772DLPPCy','rootMain','nodes','length','392nzRtYJ','317038gezOyB','97110jHDsum','$graveyard'];_0x2f88=function(){return _0x1b67b5;};return _0x2f88();}import{cloneDeep as _0x531ad1,isEqual as _0xe4793,isObject as _0x1cb1c9}from'es-toolkit/compat';function _0x3133(_0x4ef740,_0x4fa106){const _0x2f88bf=_0x2f88();return _0x3133=function(_0x31336e,_0x5ab45f){_0x31336e=_0x31336e-0xb9;let _0x6354f7=_0x2f88bf[_0x31336e];return _0x6354f7;},_0x3133(_0x4ef740,_0x4fa106);}export function getPositionShiftedBy(_0x24652f,_0x2de15a){const _0x4ebce9=_0x3133,_0xf25704=_0x531ad1(_0x24652f);return _0xf25704[_0x4ebce9(0xc6)][_0xf25704[_0x4ebce9(0xc6)][_0x4ebce9(0xca)]-0x1]+=_0x2de15a,_0xf25704;}export function arePositionsEqual(_0x4eac94,_0x5ac631){const _0x158515=_0x3133;return _0x4eac94[_0x158515(0xc2)]===_0x5ac631[_0x158515(0xc2)]&&_0xe4793(_0x4eac94[_0x158515(0xc6)],_0x5ac631[_0x158515(0xc6)]);}export function parsePositionBeforeCompression(_0x2723e3){const _0x522776=_0x3133;P(_0x2723e3,_0x306f15=>(_0x522776(0xc1)==_0x306f15[_0x522776(0xc2)]?(_0x306f15[_0x522776(0xc8)]=!0x0,delete _0x306f15[_0x522776(0xc2)]):_0x522776(0xbb)==_0x306f15[_0x522776(0xc2)]&&(_0x306f15[_0x522776(0xc4)]=!0x0,delete _0x306f15[_0x522776(0xc2)]),_0x306f15));}export function parsePositionAfterCompression(_0x19d372){const _0x5dba15=_0x3133;P(_0x19d372,_0x2a1e68=>(_0x2a1e68[_0x5dba15(0xc8)]?(_0x2a1e68[_0x5dba15(0xc2)]=_0x5dba15(0xc1),delete _0x2a1e68[_0x5dba15(0xc8)]):_0x2a1e68[_0x5dba15(0xc4)]&&(_0x2a1e68[_0x5dba15(0xc2)]=_0x5dba15(0xbb),delete _0x2a1e68[_0x5dba15(0xc4)]),_0x2a1e68));}function P(_0x30f0f9,_0x4e59b5){const _0x4f4fd6=_0x3133;for(const _0x2ec600 in _0x30f0f9){const _0x46bee0=_0x30f0f9[_0x2ec600];_0x4f4fd6(0xc9)!==_0x2ec600&&_0x1cb1c9(_0x46bee0)&&(_0x46bee0[_0x4f4fd6(0xc6)]&&(_0x46bee0[_0x4f4fd6(0xc2)]||_0x46bee0[_0x4f4fd6(0xc8)]||_0x46bee0[_0x4f4fd6(0xc4)])?_0x30f0f9[_0x2ec600]=_0x4e59b5(_0x46bee0):P(_0x46bee0,_0x4e59b5));}return _0x30f0f9;}
|