@ckeditor/ckeditor5-operations-compressor 46.1.1-alpha.2 → 46.1.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
|
-
var
|
|
23
|
+
function _0x48f3(_0x35c84f,_0x1802dd){var _0x31067a=_0x3106();return _0x48f3=function(_0x48f34f,_0x4c3ee7){_0x48f34f=_0x48f34f-0x8e;var _0x5e29aa=_0x31067a[_0x48f34f];return _0x5e29aa;},_0x48f3(_0x35c84f,_0x1802dd);}var _0x186965=_0x48f3;(function(_0xebd4ae,_0x553dae){var _0xcc0e39=_0x48f3,_0x4a7fad=_0xebd4ae();while(!![]){try{var _0x49551b=parseInt(_0xcc0e39(0x97))/0x1+-parseInt(_0xcc0e39(0x90))/0x2+-parseInt(_0xcc0e39(0x95))/0x3*(-parseInt(_0xcc0e39(0x91))/0x4)+-parseInt(_0xcc0e39(0x9a))/0x5*(-parseInt(_0xcc0e39(0x9c))/0x6)+-parseInt(_0xcc0e39(0x8f))/0x7*(-parseInt(_0xcc0e39(0x92))/0x8)+-parseInt(_0xcc0e39(0x9e))/0x9+parseInt(_0xcc0e39(0x99))/0xa*(-parseInt(_0xcc0e39(0x96))/0xb);if(_0x49551b===_0x553dae)break;else _0x4a7fad['push'](_0x4a7fad['shift']());}catch(_0x20ccd3){_0x4a7fad['push'](_0x4a7fad['shift']());}}}(_0x3106,0x820ba));import{OperationCompressor as _0x45b3e5}from'./operationcompressor.js';function _0x3106(){var _0x10e027=['937084xAvWBQ','8LzgDfe','_operationName','_id','3bhjSji','121iLcfhF','86834grxSpi','decompress','15270Tjwkij','50cdeALl','shift','84246HBFTFW','compress','3038067bctYLe','push','types','4440653xQBDLF','417736McXEcR'];_0x3106=function(){return _0x10e027;};return _0x3106();}export class NoOperationCompressor extends _0x45b3e5{[_0x186965(0x9d)](_0x10f865,_0x187025){var _0x49da9e=_0x186965;return _0x187025[_0x49da9e(0x9b)](),_0x10f865[_0x49da9e(0x8e)][_0x49da9e(0x9f)](this[_0x49da9e(0x94)]),!0x0;}[_0x186965(0x98)](_0x3c94db,_0x4ad682){var _0xa62444=_0x186965;_0x4ad682[_0xa62444(0x8e)][_0xa62444(0x9b)](),_0x3c94db[_0xa62444(0x9f)]({'__className':this[_0xa62444(0x93)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x16e9(_0x49227a,_0x22aafd){const _0x51c726=_0x51c7();return _0x16e9=function(_0x16e9c8,_0x38d14b){_0x16e9c8=_0x16e9c8-0x16c;let _0x1e0187=_0x51c726[_0x16e9c8];return _0x1e0187;},_0x16e9(_0x49227a,_0x22aafd);}function _0x51c7(){const _0x10c450=['178615ivRqbm','1078278WsVRiv','10BJjWvG','_operationName','2281030SWzume','18kJFNEa','push','decompress','types','_id','10247128XsRlos','buffers','28JlMZuM','1800284zSIORB','3tqgNaY','45353792LcPSgf','shift','compress','__className','290578dlKUyG','_protobufDescriptor'];_0x51c7=function(){return _0x10c450;};return _0x51c7();}const _0x218866=_0x16e9;(function(_0x24c82b,_0x494d37){const _0xec7ab4=_0x16e9,_0x542327=_0x24c82b();while(!![]){try{const _0x2d38a1=-parseInt(_0xec7ab4(0x171))/0x1+parseInt(_0xec7ab4(0x16f))/0x2*(parseInt(_0xec7ab4(0x17f))/0x3)+parseInt(_0xec7ab4(0x17e))/0x4*(-parseInt(_0xec7ab4(0x173))/0x5)+-parseInt(_0xec7ab4(0x172))/0x6*(parseInt(_0xec7ab4(0x17d))/0x7)+-parseInt(_0xec7ab4(0x17b))/0x8+-parseInt(_0xec7ab4(0x176))/0x9*(parseInt(_0xec7ab4(0x175))/0xa)+parseInt(_0xec7ab4(0x180))/0xb;if(_0x2d38a1===_0x494d37)break;else _0x542327['push'](_0x542327['shift']());}catch(_0x3313b3){_0x542327['push'](_0x542327['shift']());}}}(_0x51c7,0xb31d7));import{parsePositionBeforeCompression as _0x3eba04,parsePositionAfterCompression as _0x2d05b7}from'../utils.js';export class OperationCompressor{[_0x218866(0x17a)];[_0x218866(0x174)];[_0x218866(0x170)];constructor(_0x2d085f,_0x4b29a6,_0x356d43){const _0xb89141=_0x218866;this[_0xb89141(0x17a)]=_0x2d085f,this[_0xb89141(0x174)]=_0x4b29a6,this[_0xb89141(0x170)]=_0x356d43;}[_0x218866(0x16d)](_0x535cf1,_0x53866f){const _0x4f7cbb=_0x218866,_0x190d07=_0x53866f[_0x4f7cbb(0x16c)]();return _0x3eba04(_0x190d07),_0x535cf1[_0x4f7cbb(0x17c)][_0x4f7cbb(0x177)](this[_0x4f7cbb(0x170)][_0x4f7cbb(0x16d)](_0x190d07)),_0x535cf1[_0x4f7cbb(0x179)][_0x4f7cbb(0x177)](this[_0x4f7cbb(0x17a)]),!0x0;}[_0x218866(0x178)](_0x5d8ee8,_0x4d161b){const _0x352b16=_0x218866;_0x4d161b[_0x352b16(0x179)][_0x352b16(0x16c)]();const _0x325b2c=this[_0x352b16(0x170)][_0x352b16(0x178)](_0x4d161b[_0x352b16(0x17c)][_0x352b16(0x16c)]());_0x2d05b7(_0x325b2c),_0x325b2c[_0x352b16(0x16e)]=this[_0x352b16(0x174)],_0x5d8ee8[_0x352b16(0x177)](_0x325b2c);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e5175=_0x16ce;(function(_0x34d931,_0x46e3c8){const _0x1b3cd4=_0x16ce,_0x564df7=_0x34d931();while(!![]){try{const _0x2b31df=-parseInt(_0x1b3cd4(0xcc))/0x1*(-parseInt(_0x1b3cd4(0xc9))/0x2)+parseInt(_0x1b3cd4(0xc7))/0x3*(-parseInt(_0x1b3cd4(0xb8))/0x4)+parseInt(_0x1b3cd4(0xc6))/0x5*(parseInt(_0x1b3cd4(0xc2))/0x6)+parseInt(_0x1b3cd4(0xc3))/0x7*(-parseInt(_0x1b3cd4(0xb7))/0x8)+parseInt(_0x1b3cd4(0xb6))/0x9*(-parseInt(_0x1b3cd4(0xbf))/0xa)+-parseInt(_0x1b3cd4(0xc8))/0xb+parseInt(_0x1b3cd4(0xb9))/0xc*(parseInt(_0x1b3cd4(0xc5))/0xd);if(_0x2b31df===_0x46e3c8)break;else _0x564df7['push'](_0x564df7['shift']());}catch(_0x5762c0){_0x564df7['push'](_0x564df7['shift']());}}}(_0xb724,0x2558a));import{messages as _0x6828fc}from'./lib/compiledmessages.js';function _0x16ce(_0x3e5d1e,_0xf194e1){const _0xb72411=_0xb724();return _0x16ce=function(_0x16ce04,_0x3c3257){_0x16ce04=_0x16ce04-0xb6;let _0xc0a891=_0xb72411[_0x16ce04];return _0xc0a891;},_0x16ce(_0x3e5d1e,_0xf194e1);}export class ProtobufFactory{[_0x2e5175(0xcd)];constructor(){const _0xd45f76=_0x2e5175;this[_0xd45f76(0xcd)]=_0x6828fc;}[_0x2e5175(0xbd)](_0x540906){const _0x21a7e9=_0x2e5175;return new ProtobufDescriptor(this[_0x21a7e9(0xcd)][_0x540906]);}}function _0xb724(){const _0x536dff=['5542620wysbrj','compress','decode','encode','getDescriptor','decompress','10tzgWdq','finish','create','29262JHwqwM','835051scquvS','toObject','13LPhhWZ','160LkTqKa','298293GbLSun','329516oBdlel','194bHlFeV','verify','_protobuf','2499SuXJqX','_protobufRoot','2159802tueNSa','16iPbBqb','8FjagYc'];_0xb724=function(){return _0x536dff;};return _0xb724();}export class ProtobufDescriptor{[_0x2e5175(0xcb)];constructor(_0x4862d8){const _0x41ffb3=_0x2e5175;this[_0x41ffb3(0xcb)]=_0x4862d8;}[_0x2e5175(0xba)](_0x1cea8c){const _0x255503=_0x2e5175,_0x3b019c=this[_0x255503(0xcb)][_0x255503(0xca)](_0x1cea8c);if(_0x3b019c)throw Error(_0x3b019c);return this[_0x255503(0xcb)][_0x255503(0xbc)](this[_0x255503(0xcb)][_0x255503(0xc1)](_0x1cea8c))[_0x255503(0xc0)]();}[_0x2e5175(0xbe)](_0x3d1895){const _0x2d695d=_0x2e5175;return this[_0x2d695d(0xcb)][_0x2d695d(0xc4)](this[_0x2d695d(0xcb)][_0x2d695d(0xbb)](_0x3d1895),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3401bb,_0x4c7c10){const _0xdd601=_0x4280,_0x1d4280=_0x3401bb();while(!![]){try{const _0xc55825=parseInt(_0xdd601(0x1cd))/0x1+-parseInt(_0xdd601(0x1c7))/0x2+-parseInt(_0xdd601(0x1c5))/0x3+-parseInt(_0xdd601(0x1d2))/0x4*(parseInt(_0xdd601(0x1c2))/0x5)+-parseInt(_0xdd601(0x1c9))/0x6*(parseInt(_0xdd601(0x1cf))/0x7)+-parseInt(_0xdd601(0x1d1))/0x8+-parseInt(_0xdd601(0x1c4))/0x9*(-parseInt(_0xdd601(0x1ca))/0xa);if(_0xc55825===_0x4c7c10)break;else _0x1d4280['push'](_0x1d4280['shift']());}catch(_0x1a19d9){_0x1d4280['push'](_0x1d4280['shift']());}}}(_0x387f,0xd6b8a));function _0x387f(){const _0x1809d7=['1902592alPYkO','nodes','36CaoEzu','125640PReLzn','path','main','492769vPbkHJ','root','195258QEVNET','$graveyard','6551928tBMqmD','4bSKQHJ','length','1006925LGCdnO','rootMain','2547iTaIfo','3089541ROWSXr','rootGraveyard'];_0x387f=function(){return _0x1809d7;};return _0x387f();}import{cloneDeep as _0xeb0324,isEqual as _0x265f2f,isObject as _0x442248}from'es-toolkit/compat';function _0x4280(_0x36e793,_0x1e4c73){const _0x387f5b=_0x387f();return _0x4280=function(_0x428065,_0x332937){_0x428065=_0x428065-0x1c1;let _0x269dcf=_0x387f5b[_0x428065];return _0x269dcf;},_0x4280(_0x36e793,_0x1e4c73);}export function getPositionShiftedBy(_0x11c54b,_0x3e4999){const _0x1f50d0=_0x4280,_0x5de8e1=_0xeb0324(_0x11c54b);return _0x5de8e1[_0x1f50d0(0x1cb)][_0x5de8e1[_0x1f50d0(0x1cb)][_0x1f50d0(0x1c1)]-0x1]+=_0x3e4999,_0x5de8e1;}export function arePositionsEqual(_0x260040,_0x32f441){const _0x20199e=_0x4280;return _0x260040[_0x20199e(0x1ce)]===_0x32f441[_0x20199e(0x1ce)]&&_0x265f2f(_0x260040[_0x20199e(0x1cb)],_0x32f441[_0x20199e(0x1cb)]);}export function parsePositionBeforeCompression(_0xde994){const _0x4437e2=_0x4280;P(_0xde994,_0xe7f999=>(_0x4437e2(0x1cc)==_0xe7f999[_0x4437e2(0x1ce)]?(_0xe7f999[_0x4437e2(0x1c3)]=!0x0,delete _0xe7f999[_0x4437e2(0x1ce)]):_0x4437e2(0x1d0)==_0xe7f999[_0x4437e2(0x1ce)]&&(_0xe7f999[_0x4437e2(0x1c6)]=!0x0,delete _0xe7f999[_0x4437e2(0x1ce)]),_0xe7f999));}export function parsePositionAfterCompression(_0xa6967d){const _0x2b0706=_0x4280;P(_0xa6967d,_0x4bf04b=>(_0x4bf04b[_0x2b0706(0x1c3)]?(_0x4bf04b[_0x2b0706(0x1ce)]=_0x2b0706(0x1cc),delete _0x4bf04b[_0x2b0706(0x1c3)]):_0x4bf04b[_0x2b0706(0x1c6)]&&(_0x4bf04b[_0x2b0706(0x1ce)]=_0x2b0706(0x1d0),delete _0x4bf04b[_0x2b0706(0x1c6)]),_0x4bf04b));}function P(_0x323a1c,_0x3a4246){const _0x32c44b=_0x4280;for(const _0x3c79df in _0x323a1c){const _0x2fe1e2=_0x323a1c[_0x3c79df];_0x32c44b(0x1c8)!==_0x3c79df&&_0x442248(_0x2fe1e2)&&(_0x2fe1e2[_0x32c44b(0x1cb)]&&(_0x2fe1e2[_0x32c44b(0x1ce)]||_0x2fe1e2[_0x32c44b(0x1c3)]||_0x2fe1e2[_0x32c44b(0x1c6)])?_0x323a1c[_0x3c79df]=_0x3a4246(_0x2fe1e2):P(_0x2fe1e2,_0x3a4246));}return _0x323a1c;}
|