@ckeditor/ckeditor5-operations-compressor
Version:
CKEditor 5 operations compressor for real-time collaboration.
23 lines • 3.35 kB
JavaScript
/*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
*
*
*
*
* +---------------------------------------------------------------------------------+
* | |
* | Hello stranger! |
* | |
* | |
* | What you're currently looking at is the source code of a legally protected, |
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
* | are forbidden and will result in legal consequences. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
function _0x177e(_0x9ed633,_0x4c43ef){const _0xa8a54a=_0xa8a5();return _0x177e=function(_0x177e4f,_0x32e773){_0x177e4f=_0x177e4f-0x158;let _0x54ed1b=_0xa8a54a[_0x177e4f];return _0x54ed1b;},_0x177e(_0x9ed633,_0x4c43ef);}const _0x2ea940=_0x177e;(function(_0x533a1a,_0x2dce38){const _0xc952e3=_0x177e,_0x115c92=_0x533a1a();while(!![]){try{const _0x297099=-parseInt(_0xc952e3(0x168))/0x1*(parseInt(_0xc952e3(0x16a))/0x2)+-parseInt(_0xc952e3(0x165))/0x3+-parseInt(_0xc952e3(0x160))/0x4+parseInt(_0xc952e3(0x164))/0x5*(parseInt(_0xc952e3(0x15e))/0x6)+parseInt(_0xc952e3(0x15c))/0x7+parseInt(_0xc952e3(0x15b))/0x8+parseInt(_0xc952e3(0x163))/0x9*(-parseInt(_0xc952e3(0x161))/0xa);if(_0x297099===_0x2dce38)break;else _0x115c92['push'](_0x115c92['shift']());}catch(_0x2b6574){_0x115c92['push'](_0x115c92['shift']());}}}(_0xa8a5,0x61d02));function _0xa8a5(){const _0x41216d=['push','345915JexWCs','buffers','2iTqJDg','types','compress','__className','decompress','312608LDNypj','5397308wPuUFP','_operationName','299616dhiBYZ','_id','1416652rbKukD','1439410mmVvYi','shift','9zomAkw','60jphGVj','494073qeCCVx','_protobufDescriptor'];_0xa8a5=function(){return _0x41216d;};return _0xa8a5();}import{parsePositionBeforeCompression as _0x412c9f,parsePositionAfterCompression as _0x408e35}from'../utils.js';export default class e{[_0x2ea940(0x15f)];[_0x2ea940(0x15d)];[_0x2ea940(0x166)];constructor(_0x1c8a1b,_0x557f51,_0x470eec){const _0x597ce8=_0x2ea940;this[_0x597ce8(0x15f)]=_0x1c8a1b,this[_0x597ce8(0x15d)]=_0x557f51,this[_0x597ce8(0x166)]=_0x470eec;}[_0x2ea940(0x158)](_0x3c247a,_0xd34c60){const _0x57ffbc=_0x2ea940,_0x14294c=_0xd34c60[_0x57ffbc(0x162)]();return _0x412c9f(_0x14294c),_0x3c247a[_0x57ffbc(0x169)][_0x57ffbc(0x167)](this[_0x57ffbc(0x166)][_0x57ffbc(0x158)](_0x14294c)),_0x3c247a[_0x57ffbc(0x16b)][_0x57ffbc(0x167)](this[_0x57ffbc(0x15f)]),!0x0;}[_0x2ea940(0x15a)](_0x190c74,_0xc7e960){const _0x5771ce=_0x2ea940;_0xc7e960[_0x5771ce(0x16b)][_0x5771ce(0x162)]();const _0xaa5684=this[_0x5771ce(0x166)][_0x5771ce(0x15a)](_0xc7e960[_0x5771ce(0x169)][_0x5771ce(0x162)]());_0x408e35(_0xaa5684),_0xaa5684[_0x5771ce(0x159)]=this[_0x5771ce(0x15d)],_0x190c74[_0x5771ce(0x167)](_0xaa5684);}}