@ckeditor/ckeditor5-operations-compressor 46.0.1-alpha.9 → 46.0.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 _0x2dc3(){var _0x51a5d8=['44wwjBaI','push','5899248LCBZaS','8dlUHZI','995920qrGUdt','6910260toUVmO','158pDcfyM','840QPbgQf','shift','compress','decompress','936182eVidIV','26127eqAqgV','types','_id','_operationName','2114005bcqoeR','304tGjXRl'];_0x2dc3=function(){return _0x51a5d8;};return _0x2dc3();}function _0x126b(_0x47c02a,_0x1ec61e){var _0x2dc380=_0x2dc3();return _0x126b=function(_0x126b3a,_0x1122d4){_0x126b3a=_0x126b3a-0x1f1;var _0x445dd7=_0x2dc380[_0x126b3a];return _0x445dd7;},_0x126b(_0x47c02a,_0x1ec61e);}var _0x2106d9=_0x126b;(function(_0x4ef477,_0x5e50ea){var _0x4db5e3=_0x126b,_0x198c27=_0x4ef477();while(!![]){try{var _0x3105a0=parseInt(_0x4db5e3(0x1fc))/0x1+parseInt(_0x4db5e3(0x1f7))/0x2*(parseInt(_0x4db5e3(0x1f8))/0x3)+parseInt(_0x4db5e3(0x1f4))/0x4*(-parseInt(_0x4db5e3(0x201))/0x5)+-parseInt(_0x4db5e3(0x1f3))/0x6+parseInt(_0x4db5e3(0x1f6))/0x7+-parseInt(_0x4db5e3(0x202))/0x8*(-parseInt(_0x4db5e3(0x1fd))/0x9)+parseInt(_0x4db5e3(0x1f5))/0xa*(parseInt(_0x4db5e3(0x1f1))/0xb);if(_0x3105a0===_0x5e50ea)break;else _0x198c27['push'](_0x198c27['shift']());}catch(_0x1ef050){_0x198c27['push'](_0x198c27['shift']());}}}(_0x2dc3,0x98aca));import{OperationCompressor as _0x529bdc}from'./operationcompressor.js';export class NoOperationCompressor extends _0x529bdc{[_0x2106d9(0x1fa)](_0x275531,_0x48b504){var _0x402aa7=_0x2106d9;return _0x48b504[_0x402aa7(0x1f9)](),_0x275531[_0x402aa7(0x1fe)][_0x402aa7(0x1f2)](this[_0x402aa7(0x1ff)]),!0x0;}[_0x2106d9(0x1fb)](_0x5c5ef1,_0x3c1d5c){var _0x578c2d=_0x2106d9;_0x3c1d5c[_0x578c2d(0x1fe)][_0x578c2d(0x1f9)](),_0x5c5ef1[_0x578c2d(0x1f2)]({'__className':this[_0x578c2d(0x200)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x65b1(_0x12871b,_0x5881f0){const _0x4f66f4=_0x4f66();return _0x65b1=function(_0x65b1b3,_0x1cb8ef){_0x65b1b3=_0x65b1b3-0x92;let _0x5bc9e3=_0x4f66f4[_0x65b1b3];return _0x5bc9e3;},_0x65b1(_0x12871b,_0x5881f0);}const _0x39c08b=_0x65b1;(function(_0x18a7bf,_0x1387d3){const _0x43e91b=_0x65b1,_0x29a083=_0x18a7bf();while(!![]){try{const _0x39b1e9=parseInt(_0x43e91b(0xa5))/0x1+parseInt(_0x43e91b(0x9d))/0x2*(parseInt(_0x43e91b(0x9b))/0x3)+parseInt(_0x43e91b(0xa6))/0x4*(-parseInt(_0x43e91b(0x96))/0x5)+-parseInt(_0x43e91b(0x93))/0x6*(parseInt(_0x43e91b(0xa0))/0x7)+parseInt(_0x43e91b(0x9a))/0x8+parseInt(_0x43e91b(0x9e))/0x9*(parseInt(_0x43e91b(0x92))/0xa)+-parseInt(_0x43e91b(0xa1))/0xb;if(_0x39b1e9===_0x1387d3)break;else _0x29a083['push'](_0x29a083['shift']());}catch(_0x12562c){_0x29a083['push'](_0x29a083['shift']());}}}(_0x4f66,0x5d585));import{parsePositionBeforeCompression as _0x31e3cb,parsePositionAfterCompression as _0x37b1b2}from'../utils.js';function _0x4f66(){const _0x1669b6=['280ZGELlT','decompress','buffers','_protobufDescriptor','289168FWriuz','4227rjBSGc','types','494ITAqSZ','423ZaSXyP','_operationName','53102JYfvJh','8472805mZtpta','_id','shift','push','735595TXzeBt','13436xCdtuP','135780wHZigN','330cEnFrj','compress','__className'];_0x4f66=function(){return _0x1669b6;};return _0x4f66();}export class OperationCompressor{[_0x39c08b(0xa2)];[_0x39c08b(0x9f)];[_0x39c08b(0x99)];constructor(_0x49be62,_0x2b9d82,_0x4c1887){const _0x32f5ad=_0x39c08b;this[_0x32f5ad(0xa2)]=_0x49be62,this[_0x32f5ad(0x9f)]=_0x2b9d82,this[_0x32f5ad(0x99)]=_0x4c1887;}[_0x39c08b(0x94)](_0x185ba1,_0xa9c013){const _0x1617d9=_0x39c08b,_0x5858bc=_0xa9c013[_0x1617d9(0xa3)]();return _0x31e3cb(_0x5858bc),_0x185ba1[_0x1617d9(0x98)][_0x1617d9(0xa4)](this[_0x1617d9(0x99)][_0x1617d9(0x94)](_0x5858bc)),_0x185ba1[_0x1617d9(0x9c)][_0x1617d9(0xa4)](this[_0x1617d9(0xa2)]),!0x0;}[_0x39c08b(0x97)](_0x253f6e,_0x5a1352){const _0x24098f=_0x39c08b;_0x5a1352[_0x24098f(0x9c)][_0x24098f(0xa3)]();const _0x1a0143=this[_0x24098f(0x99)][_0x24098f(0x97)](_0x5a1352[_0x24098f(0x98)][_0x24098f(0xa3)]());_0x37b1b2(_0x1a0143),_0x1a0143[_0x24098f(0x95)]=this[_0x24098f(0x9f)],_0x253f6e[_0x24098f(0xa4)](_0x1a0143);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3283de=_0x3d65;function _0x42c1(){const _0x168693=['4076504LIrxFg','12FKobpF','6639432gasFgC','getDescriptor','99248GXGeJs','encode','compress','5iLljiS','635007fWBZAH','441368YPixbv','finish','6733853nCTOLJ','verify','_protobuf','_protobufRoot','create','45YoYAHO','10rZTUtM','decompress','decode','toObject','49579563jkiMFc'];_0x42c1=function(){return _0x168693;};return _0x42c1();}(function(_0x5a69ab,_0x49dd41){const _0x3e11ae=_0x3d65,_0x14dacd=_0x5a69ab();while(!![]){try{const _0x36d018=-parseInt(_0x3e11ae(0x11f))/0x1+-parseInt(_0x3e11ae(0x11b))/0x2*(-parseInt(_0x3e11ae(0x118))/0x3)+parseInt(_0x3e11ae(0x117))/0x4*(-parseInt(_0x3e11ae(0x11e))/0x5)+-parseInt(_0x3e11ae(0x119))/0x6+-parseInt(_0x3e11ae(0x10c))/0x7+parseInt(_0x3e11ae(0x120))/0x8*(-parseInt(_0x3e11ae(0x111))/0x9)+-parseInt(_0x3e11ae(0x112))/0xa*(-parseInt(_0x3e11ae(0x116))/0xb);if(_0x36d018===_0x49dd41)break;else _0x14dacd['push'](_0x14dacd['shift']());}catch(_0x9efd17){_0x14dacd['push'](_0x14dacd['shift']());}}}(_0x42c1,0xaca76));function _0x3d65(_0xf74b9e,_0x41dd6b){const _0x42c146=_0x42c1();return _0x3d65=function(_0x3d65b2,_0x1e6e63){_0x3d65b2=_0x3d65b2-0x10c;let _0x235fe4=_0x42c146[_0x3d65b2];return _0x235fe4;},_0x3d65(_0xf74b9e,_0x41dd6b);}import{messages as _0x5e97a8}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x3283de(0x10f)];constructor(){const _0x1f2bf2=_0x3283de;this[_0x1f2bf2(0x10f)]=_0x5e97a8;}[_0x3283de(0x11a)](_0x3fc201){const _0x55e7ad=_0x3283de;return new ProtobufDescriptor(this[_0x55e7ad(0x10f)][_0x3fc201]);}}export class ProtobufDescriptor{[_0x3283de(0x10e)];constructor(_0x45e2bf){const _0x32c93b=_0x3283de;this[_0x32c93b(0x10e)]=_0x45e2bf;}[_0x3283de(0x11d)](_0x5bfa24){const _0xb2ae1=_0x3283de,_0x1e1d9f=this[_0xb2ae1(0x10e)][_0xb2ae1(0x10d)](_0x5bfa24);if(_0x1e1d9f)throw Error(_0x1e1d9f);return this[_0xb2ae1(0x10e)][_0xb2ae1(0x11c)](this[_0xb2ae1(0x10e)][_0xb2ae1(0x110)](_0x5bfa24))[_0xb2ae1(0x121)]();}[_0x3283de(0x113)](_0x35f573){const _0x46a1ce=_0x3283de;return this[_0x46a1ce(0x10e)][_0x46a1ce(0x115)](this[_0x46a1ce(0x10e)][_0x46a1ce(0x114)](_0x35f573),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x706864,_0x377a3c){const _0xae4641=_0x294b,_0x31ed99=_0x706864();while(!![]){try{const _0x3a88c6=-parseInt(_0xae4641(0x1b9))/0x1+-parseInt(_0xae4641(0x1af))/0x2+parseInt(_0xae4641(0x1b8))/0x3*(-parseInt(_0xae4641(0x1b4))/0x4)+parseInt(_0xae4641(0x1ba))/0x5+-parseInt(_0xae4641(0x1bc))/0x6*(-parseInt(_0xae4641(0x1be))/0x7)+-parseInt(_0xae4641(0x1b6))/0x8*(parseInt(_0xae4641(0x1b0))/0x9)+parseInt(_0xae4641(0x1b2))/0xa;if(_0x3a88c6===_0x377a3c)break;else _0x31ed99['push'](_0x31ed99['shift']());}catch(_0x5d51d1){_0x31ed99['push'](_0x31ed99['shift']());}}}(_0x32a9,0x7e1f6));function _0x294b(_0x3f63dc,_0xf444ed){const _0x32a956=_0x32a9();return _0x294b=function(_0x294bb3,_0x15526b){_0x294bb3=_0x294bb3-0x1af;let _0x2d03a8=_0x32a956[_0x294bb3];return _0x2d03a8;},_0x294b(_0x3f63dc,_0xf444ed);}import{cloneDeep as _0x5037d1,isEqual as _0x5bb0bd,isObject as _0x2038fe}from'es-toolkit/compat';export function getPositionShiftedBy(_0x13a4c9,_0x3519e3){const _0x23e3e2=_0x294b,_0x581b84=_0x5037d1(_0x13a4c9);return _0x581b84[_0x23e3e2(0x1bb)][_0x581b84[_0x23e3e2(0x1bb)][_0x23e3e2(0x1b5)]-0x1]+=_0x3519e3,_0x581b84;}export function arePositionsEqual(_0x443628,_0x2d4ac3){const _0x1225cf=_0x294b;return _0x443628[_0x1225cf(0x1bf)]===_0x2d4ac3[_0x1225cf(0x1bf)]&&_0x5bb0bd(_0x443628[_0x1225cf(0x1bb)],_0x2d4ac3[_0x1225cf(0x1bb)]);}function _0x32a9(){const _0x17893a=['232XZFdtN','nodes','42JyFzKv','290993pGUhxM','507630rdqibU','path','46830BUsIbV','rootMain','917HXAoVQ','root','rootGraveyard','1896492qrUmjx','55683zNkRqP','$graveyard','10200750Wasfkh','main','59656ujVdDX','length'];_0x32a9=function(){return _0x17893a;};return _0x32a9();}export function parsePositionBeforeCompression(_0x4011fe){const _0x2c2e96=_0x294b;P(_0x4011fe,_0x49d901=>(_0x2c2e96(0x1b3)==_0x49d901[_0x2c2e96(0x1bf)]?(_0x49d901[_0x2c2e96(0x1bd)]=!0x0,delete _0x49d901[_0x2c2e96(0x1bf)]):_0x2c2e96(0x1b1)==_0x49d901[_0x2c2e96(0x1bf)]&&(_0x49d901[_0x2c2e96(0x1c0)]=!0x0,delete _0x49d901[_0x2c2e96(0x1bf)]),_0x49d901));}export function parsePositionAfterCompression(_0x1dbcba){const _0x27e2e9=_0x294b;P(_0x1dbcba,_0x46bcbd=>(_0x46bcbd[_0x27e2e9(0x1bd)]?(_0x46bcbd[_0x27e2e9(0x1bf)]=_0x27e2e9(0x1b3),delete _0x46bcbd[_0x27e2e9(0x1bd)]):_0x46bcbd[_0x27e2e9(0x1c0)]&&(_0x46bcbd[_0x27e2e9(0x1bf)]=_0x27e2e9(0x1b1),delete _0x46bcbd[_0x27e2e9(0x1c0)]),_0x46bcbd));}function P(_0x2997de,_0x49543e){const _0xa99516=_0x294b;for(const _0x4ce0e5 in _0x2997de){const _0x1613ec=_0x2997de[_0x4ce0e5];_0xa99516(0x1b7)!==_0x4ce0e5&&_0x2038fe(_0x1613ec)&&(_0x1613ec[_0xa99516(0x1bb)]&&(_0x1613ec[_0xa99516(0x1bf)]||_0x1613ec[_0xa99516(0x1bd)]||_0x1613ec[_0xa99516(0x1c0)])?_0x2997de[_0x4ce0e5]=_0x49543e(_0x1613ec):P(_0x1613ec,_0x49543e));}return _0x2997de;}
|