@ckeditor/ckeditor5-operations-compressor 47.6.1-alpha.0 → 47.6.1-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/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
|
-
|
|
23
|
+
var _0x12a82e=_0x1c74;function _0x1c74(_0x536b8a,_0x2ef5c3){var _0x54d57c=_0x54d5();return _0x1c74=function(_0x1c7419,_0x58318d){_0x1c7419=_0x1c7419-0xe0;var _0xbd4e6b=_0x54d57c[_0x1c7419];return _0xbd4e6b;},_0x1c74(_0x536b8a,_0x2ef5c3);}(function(_0x244dd8,_0xc0e28a){var _0x209b41=_0x1c74,_0x301d76=_0x244dd8();while(!![]){try{var _0x4e50ba=parseInt(_0x209b41(0xee))/0x1+parseInt(_0x209b41(0xe7))/0x2+-parseInt(_0x209b41(0xe3))/0x3+parseInt(_0x209b41(0xf2))/0x4*(parseInt(_0x209b41(0xf0))/0x5)+-parseInt(_0x209b41(0xe9))/0x6*(-parseInt(_0x209b41(0xea))/0x7)+-parseInt(_0x209b41(0xec))/0x8*(parseInt(_0x209b41(0xf1))/0x9)+parseInt(_0x209b41(0xef))/0xa*(-parseInt(_0x209b41(0xe6))/0xb);if(_0x4e50ba===_0xc0e28a)break;else _0x301d76['push'](_0x301d76['shift']());}catch(_0x28dd20){_0x301d76['push'](_0x301d76['shift']());}}}(_0x54d5,0xa1fb4));import{OperationCompressor as _0x5adf37}from'./operationcompressor.js';function _0x54d5(){var _0x34727c=['6011558BiRTvP','push','56dbOEtC','index','708586Wbpfie','670YJMgka','173680DGDeHT','1045593fcaRoz','88MgswNT','types','typeIndex','compress','2664246pnbfju','_operationName','_id','204182vFuJBQ','2553758JpHubk','decompress','6KCZmuq'];_0x54d5=function(){return _0x34727c;};return _0x54d5();}export class NoOperationCompressor extends _0x5adf37{[_0x12a82e(0xe2)](_0x41977d,_0x4a8b05){var _0x438fcb=_0x12a82e;return _0x4a8b05[_0x438fcb(0xed)]++,_0x41977d[_0x438fcb(0xe0)][_0x438fcb(0xeb)](this[_0x438fcb(0xe5)]),!0x0;}[_0x12a82e(0xe8)](_0x1661f6,_0x4e5f36){var _0x2f2f5a=_0x12a82e;_0x4e5f36[_0x2f2f5a(0xe1)]++,_0x1661f6[_0x2f2f5a(0xeb)]({'__className':this[_0x2f2f5a(0xe4)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x30845c=_0x3b4c;function _0x58f9(){const _0x331026=['1151318GSOHTt','5752278JEXNeq','_operationName','bufferIndex','typeIndex','buffers','operations','16EsTjZL','99934bisARO','index','1089BasWhj','_protobufDescriptor','1623355cJFtfr','_id','types','push','__className','compress','112590wfewfU','2569191fWJnHG','68864HfpYjb','4mYUUaB','decompress'];_0x58f9=function(){return _0x331026;};return _0x58f9();}function _0x3b4c(_0x4274cf,_0xc5805f){const _0x58f980=_0x58f9();return _0x3b4c=function(_0x3b4cbf,_0x141b2b){_0x3b4cbf=_0x3b4cbf-0x140;let _0x15c3ce=_0x58f980[_0x3b4cbf];return _0x15c3ce;},_0x3b4c(_0x4274cf,_0xc5805f);}(function(_0x4be1a2,_0x140b93){const _0x49da7c=_0x3b4c,_0x566e07=_0x4be1a2();while(!![]){try{const _0x377db6=-parseInt(_0x49da7c(0x156))/0x1*(parseInt(_0x49da7c(0x155))/0x2)+parseInt(_0x49da7c(0x14a))/0x3+parseInt(_0x49da7c(0x14c))/0x4*(parseInt(_0x49da7c(0x143))/0x5)+-parseInt(_0x49da7c(0x14f))/0x6+-parseInt(_0x49da7c(0x14e))/0x7+parseInt(_0x49da7c(0x14b))/0x8+parseInt(_0x49da7c(0x141))/0x9*(parseInt(_0x49da7c(0x149))/0xa);if(_0x377db6===_0x140b93)break;else _0x566e07['push'](_0x566e07['shift']());}catch(_0x521394){_0x566e07['push'](_0x566e07['shift']());}}}(_0x58f9,0x99a6c));import{parsePositionBeforeCompression as _0x26ee73,parsePositionAfterCompression as _0x5bc807}from'../utils.js';export class OperationCompressor{[_0x30845c(0x144)];[_0x30845c(0x150)];[_0x30845c(0x142)];constructor(_0x5d3011,_0xe31e6a,_0x166814){const _0x2dc796=_0x30845c;this[_0x2dc796(0x144)]=_0x5d3011,this[_0x2dc796(0x150)]=_0xe31e6a,this[_0x2dc796(0x142)]=_0x166814;}[_0x30845c(0x148)](_0x37af0f,_0x1e73c0){const _0x348b1c=_0x30845c,_0x4f186b=_0x1e73c0[_0x348b1c(0x154)][_0x1e73c0[_0x348b1c(0x140)]++];return _0x26ee73(_0x4f186b),_0x37af0f[_0x348b1c(0x153)][_0x348b1c(0x146)](this[_0x348b1c(0x142)][_0x348b1c(0x148)](_0x4f186b)),_0x37af0f[_0x348b1c(0x145)][_0x348b1c(0x146)](this[_0x348b1c(0x144)]),!0x0;}[_0x30845c(0x14d)](_0x6b317f,_0x774f43){const _0x181030=_0x30845c;_0x774f43[_0x181030(0x152)]++;const _0x11eea1=_0x774f43[_0x181030(0x153)][_0x774f43[_0x181030(0x151)]++],_0x2fc130=this[_0x181030(0x142)][_0x181030(0x14d)](_0x11eea1);_0x5bc807(_0x2fc130),_0x2fc130[_0x181030(0x147)]=this[_0x181030(0x150)],_0x6b317f[_0x181030(0x146)](_0x2fc130);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42aff5=_0x41e2;(function(_0x1af63e,_0x1aa82b){const _0x254b2b=_0x41e2,_0x1cd610=_0x1af63e();while(!![]){try{const _0x42b561=-parseInt(_0x254b2b(0xfc))/0x1+-parseInt(_0x254b2b(0x105))/0x2*(-parseInt(_0x254b2b(0x106))/0x3)+parseInt(_0x254b2b(0xf7))/0x4*(-parseInt(_0x254b2b(0xf6))/0x5)+parseInt(_0x254b2b(0xfd))/0x6*(-parseInt(_0x254b2b(0xf8))/0x7)+parseInt(_0x254b2b(0x102))/0x8*(-parseInt(_0x254b2b(0x103))/0x9)+parseInt(_0x254b2b(0xf5))/0xa*(parseInt(_0x254b2b(0x107))/0xb)+parseInt(_0x254b2b(0x100))/0xc;if(_0x42b561===_0x1aa82b)break;else _0x1cd610['push'](_0x1cd610['shift']());}catch(_0x2c36c6){_0x1cd610['push'](_0x1cd610['shift']());}}}(_0x4847,0x32d76));function _0x4847(){const _0xfc1cb9=['574818qNzZbU','1194479NXPjox','toObject','_protobuf','_protobufRoot','create','10CXvlLX','15OdjSEO','387836bJiuYt','21HxMWPY','encode','getDescriptor','finish','13294ULuwjo','508578XzlTiN','compress','decode','6178224QyAHeA','verify','386728dpEzkO','9PUVdaq','decompress','2FsLWUS'];_0x4847=function(){return _0xfc1cb9;};return _0x4847();}function _0x41e2(_0x25dd06,_0x1c0859){const _0x48479b=_0x4847();return _0x41e2=function(_0x41e22b,_0x1cde37){_0x41e22b=_0x41e22b-0xf3;let _0x3cb122=_0x48479b[_0x41e22b];return _0x3cb122;},_0x41e2(_0x25dd06,_0x1c0859);}import{messages as _0x23ba0a}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x42aff5(0xf3)];constructor(){const _0x1fc929=_0x42aff5;this[_0x1fc929(0xf3)]=_0x23ba0a;}[_0x42aff5(0xfa)](_0x211851){const _0x5087e8=_0x42aff5;return new ProtobufDescriptor(this[_0x5087e8(0xf3)][_0x211851]);}}export class ProtobufDescriptor{[_0x42aff5(0x109)];constructor(_0x407b35){const _0x4b7041=_0x42aff5;this[_0x4b7041(0x109)]=_0x407b35;}[_0x42aff5(0xfe)](_0x443a58){const _0x3dd001=_0x42aff5,_0x249c16=this[_0x3dd001(0x109)][_0x3dd001(0x101)](_0x443a58);if(_0x249c16)throw Error(_0x249c16);return this[_0x3dd001(0x109)][_0x3dd001(0xf9)](this[_0x3dd001(0x109)][_0x3dd001(0xf4)](_0x443a58))[_0x3dd001(0xfb)]();}[_0x42aff5(0x104)](_0x16adc0){const _0x99ca12=_0x42aff5;return this[_0x99ca12(0x109)][_0x99ca12(0x108)](this[_0x99ca12(0x109)][_0x99ca12(0xff)](_0x16adc0),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5c0632,_0x32662a){const _0x2e194b=_0x3368,_0x577ce4=_0x5c0632();while(!![]){try{const _0x99b5=parseInt(_0x2e194b(0x8c))/0x1+-parseInt(_0x2e194b(0x94))/0x2*(parseInt(_0x2e194b(0x92))/0x3)+-parseInt(_0x2e194b(0x8d))/0x4*(-parseInt(_0x2e194b(0x97))/0x5)+-parseInt(_0x2e194b(0x88))/0x6*(-parseInt(_0x2e194b(0x8f))/0x7)+-parseInt(_0x2e194b(0x98))/0x8+-parseInt(_0x2e194b(0x93))/0x9+-parseInt(_0x2e194b(0x9a))/0xa*(-parseInt(_0x2e194b(0x91))/0xb);if(_0x99b5===_0x32662a)break;else _0x577ce4['push'](_0x577ce4['shift']());}catch(_0x34cd3e){_0x577ce4['push'](_0x577ce4['shift']());}}}(_0x21bb,0xa1f9b));function _0x3368(_0x2a9421,_0x5ae9ee){const _0x21bb1f=_0x21bb();return _0x3368=function(_0x3368e5,_0x3f0750){_0x3368e5=_0x3368e5-0x88;let _0x2d8eaa=_0x21bb1f[_0x3368e5];return _0x2d8eaa;},_0x3368(_0x2a9421,_0x5ae9ee);}import{cloneDeep as _0x4d82c2,isEqual as _0x16fb81,isObject as _0x58de3b}from'es-toolkit/compat';export function getPositionShiftedBy(_0x2ca69d,_0x17208f){const _0x336c70=_0x3368,_0x585cdc=_0x4d82c2(_0x2ca69d);return _0x585cdc[_0x336c70(0x89)][_0x585cdc[_0x336c70(0x89)][_0x336c70(0x99)]-0x1]+=_0x17208f,_0x585cdc;}export function arePositionsEqual(_0x1dc607,_0xafcfbb){const _0x72af7a=_0x3368;return _0x1dc607[_0x72af7a(0x96)]===_0xafcfbb[_0x72af7a(0x96)]&&_0x16fb81(_0x1dc607[_0x72af7a(0x89)],_0xafcfbb[_0x72af7a(0x89)]);}export function parsePositionBeforeCompression(_0x18155c){const _0x2d61d9=_0x3368;P(_0x18155c,_0x1adbb7=>(_0x2d61d9(0x90)==_0x1adbb7[_0x2d61d9(0x96)]?(_0x1adbb7[_0x2d61d9(0x8a)]=!0x0,delete _0x1adbb7[_0x2d61d9(0x96)]):_0x2d61d9(0x8b)==_0x1adbb7[_0x2d61d9(0x96)]&&(_0x1adbb7[_0x2d61d9(0x8e)]=!0x0,delete _0x1adbb7[_0x2d61d9(0x96)]),_0x1adbb7));}function _0x21bb(){const _0x372d38=['2933tPrLnP','main','19610107IDlmPC','3MeRsFV','1906866kASmQE','1062522QOjHwm','nodes','root','65ZEOwmB','9367800NrRhBf','length','10qAsUwS','9366EwVqWy','path','rootMain','$graveyard','134382GXJHma','1964pRQAMv','rootGraveyard'];_0x21bb=function(){return _0x372d38;};return _0x21bb();}export function parsePositionAfterCompression(_0x2a9523){const _0x1a5784=_0x3368;P(_0x2a9523,_0xaf58db=>(_0xaf58db[_0x1a5784(0x8a)]?(_0xaf58db[_0x1a5784(0x96)]=_0x1a5784(0x90),delete _0xaf58db[_0x1a5784(0x8a)]):_0xaf58db[_0x1a5784(0x8e)]&&(_0xaf58db[_0x1a5784(0x96)]=_0x1a5784(0x8b),delete _0xaf58db[_0x1a5784(0x8e)]),_0xaf58db));}function P(_0x341b05,_0x48afc1){const _0x280565=_0x3368;for(const _0x1bc677 in _0x341b05){const _0x1969da=_0x341b05[_0x1bc677];_0x280565(0x95)!==_0x1bc677&&_0x58de3b(_0x1969da)&&(_0x1969da[_0x280565(0x89)]&&(_0x1969da[_0x280565(0x96)]||_0x1969da[_0x280565(0x8a)]||_0x1969da[_0x280565(0x8e)])?_0x341b05[_0x1bc677]=_0x48afc1(_0x1969da):P(_0x1969da,_0x48afc1));}return _0x341b05;}
|