@ckeditor/ckeditor5-operations-compressor
Version:
CKEditor 5 operations compressor for real-time collaboration.
23 lines • 3.69 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 _0x20e4(){const _0x473246=['1554644rFcYyY','429650LDeMdX','types','2397456ugzIPE','_splitCurrent','push','2779836jtmKkm','decompress','5919460lXjygk','buffers','681372Uyiqsq','length','shift','21HkIxUp','_context','828115lbXlqf','10PICAUE','22ApTQmf','8rLRNVY','_decompressSingleOperation','_combineNext','compress','_compressSingleOperation','_compareOperations','_id'];_0x20e4=function(){return _0x473246;};return _0x20e4();}const _0x118bbf=_0x4143;(function(_0x54335f,_0x2e8429){const _0x27e500=_0x4143,_0x431ca4=_0x54335f();while(!![]){try{const _0x16e94f=-parseInt(_0x27e500(0x156))/0x1+parseInt(_0x27e500(0x161))/0x2+parseInt(_0x27e500(0x14d))/0x3+-parseInt(_0x27e500(0x160))/0x4*(parseInt(_0x27e500(0x157))/0x5)+parseInt(_0x27e500(0x151))/0x6*(parseInt(_0x27e500(0x154))/0x7)+-parseInt(_0x27e500(0x159))/0x8*(parseInt(_0x27e500(0x14a))/0x9)+parseInt(_0x27e500(0x14f))/0xa*(parseInt(_0x27e500(0x158))/0xb);if(_0x16e94f===_0x2e8429)break;else _0x431ca4['push'](_0x431ca4['shift']());}catch(_0x354106){_0x431ca4['push'](_0x431ca4['shift']());}}}(_0x20e4,0xc1e52));function _0x4143(_0x5da4ea,_0x504ca0){const _0x20e4c2=_0x20e4();return _0x4143=function(_0x414349,_0x46c07b){_0x414349=_0x414349-0x14a;let _0x1c6968=_0x20e4c2[_0x414349];return _0x1c6968;},_0x4143(_0x5da4ea,_0x504ca0);}import{cloneDeep as _0x31a4b2}from'es-toolkit/compat';export default class _{[_0x118bbf(0x15f)];[_0x118bbf(0x155)];constructor(_0x3a33af,_0x4f1bcd){const _0x3eed84=_0x118bbf;this[_0x3eed84(0x15f)]=_0x3a33af,this[_0x3eed84(0x155)]=_0x4f1bcd;}[_0x118bbf(0x15c)](_0x5c49d5,_0x4d6a86){const _0x31f1c1=_0x118bbf;let _0x5728a1;for(;_0x4d6a86[_0x31f1c1(0x152)]>0x1&&this[_0x31f1c1(0x15e)](_0x4d6a86[0x0],_0x4d6a86[0x1]);)_0x5728a1?(_0x5728a1=this[_0x31f1c1(0x15b)](_0x4d6a86[_0x31f1c1(0x153)](),_0x5728a1),_0x5c49d5[_0x31f1c1(0x162)][_0x31f1c1(0x14c)](0x0)):(_0x5728a1=_0x31a4b2(_0x4d6a86[_0x31f1c1(0x153)]()),_0x5c49d5[_0x31f1c1(0x162)][_0x31f1c1(0x14c)](this[_0x31f1c1(0x15f)]));return!!_0x5728a1&&(_0x5728a1=this[_0x31f1c1(0x15b)](_0x4d6a86[_0x31f1c1(0x153)](),_0x5728a1),_0x5c49d5[_0x31f1c1(0x162)][_0x31f1c1(0x14c)](0x0),_0x5c49d5[_0x31f1c1(0x150)][_0x31f1c1(0x14c)](this[_0x31f1c1(0x15d)](_0x5728a1)),!0x0);}[_0x118bbf(0x14e)](_0x4df444,_0x4030f4){const _0x54d43d=_0x118bbf,_0x3834f2=this[_0x54d43d(0x15a)](_0x4030f4);for(;0x0==_0x4030f4[_0x54d43d(0x162)][0x0];)_0x4030f4[_0x54d43d(0x162)][_0x54d43d(0x153)](),_0x4df444[_0x54d43d(0x14c)](this[_0x54d43d(0x14b)](_0x3834f2));_0x4df444[_0x54d43d(0x14c)](_0x3834f2);}}