@ckeditor/ckeditor5-operations-compressor 47.4.0-alpha.0 → 47.4.0-alpha.2
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 _0x4e73(){var _0x43f42e=['shift','_operationName','14603YvDDdI','push','types','8tPAsDd','4lBcstv','compress','279726RUXggp','1715238zjsEtT','564970KVsdzN','228815BknQbS','1555386eidgEu','34DZEpub','_id','352422SseVxX','decompress'];_0x4e73=function(){return _0x43f42e;};return _0x4e73();}var _0x402de4=_0x159d;(function(_0x560fde,_0x85aacb){var _0x48c0b6=_0x159d,_0x129f4b=_0x560fde();while(!![]){try{var _0x2b2875=-parseInt(_0x48c0b6(0xf2))/0x1*(-parseInt(_0x48c0b6(0xec))/0x2)+-parseInt(_0x48c0b6(0xf8))/0x3+parseInt(_0x48c0b6(0xf6))/0x4*(parseInt(_0x48c0b6(0xfb))/0x5)+parseInt(_0x48c0b6(0xfc))/0x6+-parseInt(_0x48c0b6(0xee))/0x7*(parseInt(_0x48c0b6(0xf5))/0x8)+-parseInt(_0x48c0b6(0xf9))/0x9+-parseInt(_0x48c0b6(0xfa))/0xa;if(_0x2b2875===_0x85aacb)break;else _0x129f4b['push'](_0x129f4b['shift']());}catch(_0x56e4b4){_0x129f4b['push'](_0x129f4b['shift']());}}}(_0x4e73,0x27b12));function _0x159d(_0x2c9193,_0x939394){var _0x4e7313=_0x4e73();return _0x159d=function(_0x159d1c,_0x188913){_0x159d1c=_0x159d1c-0xec;var _0x471249=_0x4e7313[_0x159d1c];return _0x471249;},_0x159d(_0x2c9193,_0x939394);}import{OperationCompressor as _0x53f3a0}from'./operationcompressor.js';export class NoOperationCompressor extends _0x53f3a0{[_0x402de4(0xf7)](_0x4d4a4e,_0x342903){var _0x1fa725=_0x402de4;return _0x342903[_0x1fa725(0xf0)](),_0x4d4a4e[_0x1fa725(0xf4)][_0x1fa725(0xf3)](this[_0x1fa725(0xed)]),!0x0;}[_0x402de4(0xef)](_0x530f5a,_0xc9015f){var _0x91140d=_0x402de4;_0xc9015f[_0x91140d(0xf4)][_0x91140d(0xf0)](),_0x530f5a[_0x91140d(0xf3)]({'__className':this[_0x91140d(0xf1)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2936(){const _0x4a66a9=['14jaBrJU','7457637HQKrLW','types','6642895vSIAkx','decompress','__className','_operationName','9BAOAXE','1068316rSyzam','3412vFXJvE','1078715yypTUv','_id','_protobufDescriptor','10758344JUQjiO','50NWYETJ','1467GTHepc','shift','4468818nRuoUt','buffers','compress','push'];_0x2936=function(){return _0x4a66a9;};return _0x2936();}const _0x562b67=_0x33ab;function _0x33ab(_0x4a9c83,_0x3b2f6c){const _0x293681=_0x2936();return _0x33ab=function(_0x33ab57,_0x429c04){_0x33ab57=_0x33ab57-0x1a7;let _0x15417a=_0x293681[_0x33ab57];return _0x15417a;},_0x33ab(_0x4a9c83,_0x3b2f6c);}(function(_0x3b88f7,_0x3191da){const _0x483106=_0x33ab,_0x21e303=_0x3b88f7();while(!![]){try{const _0x5419e4=-parseInt(_0x483106(0x1ae))/0x1+parseInt(_0x483106(0x1ac))/0x2+-parseInt(_0x483106(0x1b3))/0x3*(parseInt(_0x483106(0x1ad))/0x4)+-parseInt(_0x483106(0x1a7))/0x5+parseInt(_0x483106(0x1b5))/0x6*(-parseInt(_0x483106(0x1b9))/0x7)+parseInt(_0x483106(0x1b1))/0x8*(parseInt(_0x483106(0x1ab))/0x9)+-parseInt(_0x483106(0x1b2))/0xa*(-parseInt(_0x483106(0x1ba))/0xb);if(_0x5419e4===_0x3191da)break;else _0x21e303['push'](_0x21e303['shift']());}catch(_0x429df3){_0x21e303['push'](_0x21e303['shift']());}}}(_0x2936,0xe9191));import{parsePositionBeforeCompression as _0x2b5c6a,parsePositionAfterCompression as _0x402cea}from'../utils.js';export class OperationCompressor{[_0x562b67(0x1af)];[_0x562b67(0x1aa)];[_0x562b67(0x1b0)];constructor(_0x46733a,_0x28d806,_0x41df9f){const _0x1f82a8=_0x562b67;this[_0x1f82a8(0x1af)]=_0x46733a,this[_0x1f82a8(0x1aa)]=_0x28d806,this[_0x1f82a8(0x1b0)]=_0x41df9f;}[_0x562b67(0x1b7)](_0x715237,_0x5e8cc2){const _0x1b406d=_0x562b67,_0x230aa5=_0x5e8cc2[_0x1b406d(0x1b4)]();return _0x2b5c6a(_0x230aa5),_0x715237[_0x1b406d(0x1b6)][_0x1b406d(0x1b8)](this[_0x1b406d(0x1b0)][_0x1b406d(0x1b7)](_0x230aa5)),_0x715237[_0x1b406d(0x1bb)][_0x1b406d(0x1b8)](this[_0x1b406d(0x1af)]),!0x0;}[_0x562b67(0x1a8)](_0x4ed745,_0x2be531){const _0x56a400=_0x562b67;_0x2be531[_0x56a400(0x1bb)][_0x56a400(0x1b4)]();const _0x3f7950=this[_0x56a400(0x1b0)][_0x56a400(0x1a8)](_0x2be531[_0x56a400(0x1b6)][_0x56a400(0x1b4)]());_0x402cea(_0x3f7950),_0x3f7950[_0x56a400(0x1a9)]=this[_0x56a400(0x1aa)],_0x4ed745[_0x56a400(0x1b8)](_0x3f7950);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5038c9=_0x4775;(function(_0x5394c0,_0x1d133f){const _0x110ded=_0x4775,_0x32c7cc=_0x5394c0();while(!![]){try{const _0x47dcb4=parseInt(_0x110ded(0x9a))/0x1+-parseInt(_0x110ded(0x91))/0x2+-parseInt(_0x110ded(0x93))/0x3*(parseInt(_0x110ded(0x97))/0x4)+parseInt(_0x110ded(0x8e))/0x5+parseInt(_0x110ded(0x9c))/0x6+parseInt(_0x110ded(0x90))/0x7*(-parseInt(_0x110ded(0x92))/0x8)+-parseInt(_0x110ded(0x9d))/0x9*(-parseInt(_0x110ded(0xa0))/0xa);if(_0x47dcb4===_0x1d133f)break;else _0x32c7cc['push'](_0x32c7cc['shift']());}catch(_0x3b4868){_0x32c7cc['push'](_0x32c7cc['shift']());}}}(_0x1c4c,0x85352));function _0x1c4c(){const _0x589e04=['decompress','verify','4WQuvBU','encode','toObject','37230qeryew','_protobufRoot','2953434ceAVUt','1413jRwAnz','decode','create','80130KJFjcO','getDescriptor','finish','4649230vXidtM','compress','6334055nBHvnD','1688832dmZwrn','8OMCvOn','1267371jhhaeW','_protobuf'];_0x1c4c=function(){return _0x589e04;};return _0x1c4c();}import{messages as _0x2054eb}from'./lib/compiledmessages.js';function _0x4775(_0x30e494,_0x2b2dcf){const _0x1c4c2e=_0x1c4c();return _0x4775=function(_0x477513,_0x4860f9){_0x477513=_0x477513-0x8e;let _0x28a778=_0x1c4c2e[_0x477513];return _0x28a778;},_0x4775(_0x30e494,_0x2b2dcf);}export class ProtobufFactory{[_0x5038c9(0x9b)];constructor(){const _0x424a39=_0x5038c9;this[_0x424a39(0x9b)]=_0x2054eb;}[_0x5038c9(0xa1)](_0x57c9f5){const _0x4da500=_0x5038c9;return new ProtobufDescriptor(this[_0x4da500(0x9b)][_0x57c9f5]);}}export class ProtobufDescriptor{[_0x5038c9(0x94)];constructor(_0x1325c4){const _0x1ba945=_0x5038c9;this[_0x1ba945(0x94)]=_0x1325c4;}[_0x5038c9(0x8f)](_0x30fc76){const _0x23b7a4=_0x5038c9,_0x1dcf37=this[_0x23b7a4(0x94)][_0x23b7a4(0x96)](_0x30fc76);if(_0x1dcf37)throw Error(_0x1dcf37);return this[_0x23b7a4(0x94)][_0x23b7a4(0x98)](this[_0x23b7a4(0x94)][_0x23b7a4(0x9f)](_0x30fc76))[_0x23b7a4(0xa2)]();}[_0x5038c9(0x95)](_0x55e5ac){const _0x21f3e8=_0x5038c9;return this[_0x21f3e8(0x94)][_0x21f3e8(0x99)](this[_0x21f3e8(0x94)][_0x21f3e8(0x9e)](_0x55e5ac),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x47f9fe,_0x29b8d2){const _0x40fb58=_0x5c89,_0x2bc19a=_0x47f9fe();while(!![]){try{const _0x4b04c4=-parseInt(_0x40fb58(0x14d))/0x1+-parseInt(_0x40fb58(0x150))/0x2*(-parseInt(_0x40fb58(0x151))/0x3)+-parseInt(_0x40fb58(0x144))/0x4+-parseInt(_0x40fb58(0x14f))/0x5*(parseInt(_0x40fb58(0x14a))/0x6)+parseInt(_0x40fb58(0x154))/0x7+-parseInt(_0x40fb58(0x14e))/0x8+parseInt(_0x40fb58(0x14b))/0x9;if(_0x4b04c4===_0x29b8d2)break;else _0x2bc19a['push'](_0x2bc19a['shift']());}catch(_0x17870a){_0x2bc19a['push'](_0x2bc19a['shift']());}}}(_0x4dc3,0xe9861));import{cloneDeep as _0x8e233,isEqual as _0x539186,isObject as _0x385f13}from'es-toolkit/compat';function _0x5c89(_0xdbc586,_0x3f59d9){const _0x4dc306=_0x4dc3();return _0x5c89=function(_0x5c89eb,_0x540079){_0x5c89eb=_0x5c89eb-0x144;let _0x2ebfbf=_0x4dc306[_0x5c89eb];return _0x2ebfbf;},_0x5c89(_0xdbc586,_0x3f59d9);}function _0x4dc3(){const _0x4c3f2d=['6OyKxBm','19776951CVlmJQ','$graveyard','1224929INfAos','6643864xjhnNB','3018090NLwHfA','1781828nxIcyv','3jbBWQX','rootGraveyard','main','6226108wlkcqX','1449016xHVDJT','rootMain','root','path','nodes','length'];_0x4dc3=function(){return _0x4c3f2d;};return _0x4dc3();}export function getPositionShiftedBy(_0x414185,_0xde3d77){const _0x29b220=_0x5c89,_0x1b90ad=_0x8e233(_0x414185);return _0x1b90ad[_0x29b220(0x147)][_0x1b90ad[_0x29b220(0x147)][_0x29b220(0x149)]-0x1]+=_0xde3d77,_0x1b90ad;}export function arePositionsEqual(_0x18a7e5,_0x14f965){const _0x25c6c6=_0x5c89;return _0x18a7e5[_0x25c6c6(0x146)]===_0x14f965[_0x25c6c6(0x146)]&&_0x539186(_0x18a7e5[_0x25c6c6(0x147)],_0x14f965[_0x25c6c6(0x147)]);}export function parsePositionBeforeCompression(_0x1a4ecf){const _0x41a993=_0x5c89;P(_0x1a4ecf,_0x3b9875=>(_0x41a993(0x153)==_0x3b9875[_0x41a993(0x146)]?(_0x3b9875[_0x41a993(0x145)]=!0x0,delete _0x3b9875[_0x41a993(0x146)]):_0x41a993(0x14c)==_0x3b9875[_0x41a993(0x146)]&&(_0x3b9875[_0x41a993(0x152)]=!0x0,delete _0x3b9875[_0x41a993(0x146)]),_0x3b9875));}export function parsePositionAfterCompression(_0x275a31){const _0x2b7f75=_0x5c89;P(_0x275a31,_0x1a445a=>(_0x1a445a[_0x2b7f75(0x145)]?(_0x1a445a[_0x2b7f75(0x146)]=_0x2b7f75(0x153),delete _0x1a445a[_0x2b7f75(0x145)]):_0x1a445a[_0x2b7f75(0x152)]&&(_0x1a445a[_0x2b7f75(0x146)]=_0x2b7f75(0x14c),delete _0x1a445a[_0x2b7f75(0x152)]),_0x1a445a));}function P(_0x1d835c,_0x504df9){const _0x2f9cd6=_0x5c89;for(const _0x70f325 in _0x1d835c){const _0x5f1af9=_0x1d835c[_0x70f325];_0x2f9cd6(0x148)!==_0x70f325&&_0x385f13(_0x5f1af9)&&(_0x5f1af9[_0x2f9cd6(0x147)]&&(_0x5f1af9[_0x2f9cd6(0x146)]||_0x5f1af9[_0x2f9cd6(0x145)]||_0x5f1af9[_0x2f9cd6(0x152)])?_0x1d835c[_0x70f325]=_0x504df9(_0x5f1af9):P(_0x5f1af9,_0x504df9));}return _0x1d835c;}
|