@ckeditor/ckeditor5-operations-compressor
Version:
CKEditor 5 operations compressor for real-time collaboration.
23 lines • 3.3 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 _0x322a(){const _0x3790c9=['verify','_protobufRoot','decode','_protobuf','4002lBuuEX','compress','2978czqceU','187617rphigg','13540VJNmok','6534oQNGhg','getDescriptor','toObject','9IEzTSj','2218314kejeBy','encode','create','decompress','1985TEKhdO','140UCDDyL','1198064JQUiyt','499368BhqOpF','finish'];_0x322a=function(){return _0x3790c9;};return _0x322a();}const _0x30a4df=_0x2801;(function(_0x5cce71,_0x1ef50a){const _0x582aff=_0x2801,_0x42f0ab=_0x5cce71();while(!![]){try{const _0x4c6dec=parseInt(_0x582aff(0x1e1))/0x1*(-parseInt(_0x582aff(0x1d7))/0x2)+-parseInt(_0x582aff(0x1e2))/0x3+parseInt(_0x582aff(0x1d8))/0x4+parseInt(_0x582aff(0x1d6))/0x5*(-parseInt(_0x582aff(0x1df))/0x6)+-parseInt(_0x582aff(0x1d2))/0x7+parseInt(_0x582aff(0x1d9))/0x8*(-parseInt(_0x582aff(0x1d1))/0x9)+-parseInt(_0x582aff(0x1e3))/0xa*(-parseInt(_0x582aff(0x1e4))/0xb);if(_0x4c6dec===_0x1ef50a)break;else _0x42f0ab['push'](_0x42f0ab['shift']());}catch(_0x1dde76){_0x42f0ab['push'](_0x42f0ab['shift']());}}}(_0x322a,0x2e0ff));import{messages as _0x14d26a}from'./lib/compiledmessages.js';function _0x2801(_0x506342,_0x30c1fc){const _0x322a6f=_0x322a();return _0x2801=function(_0x280177,_0xf8e2aa){_0x280177=_0x280177-0x1cf;let _0x4eee40=_0x322a6f[_0x280177];return _0x4eee40;},_0x2801(_0x506342,_0x30c1fc);}export class ProtobufFactory{[_0x30a4df(0x1dc)];constructor(){const _0x3c84f6=_0x30a4df;this[_0x3c84f6(0x1dc)]=_0x14d26a;}[_0x30a4df(0x1cf)](_0x22d9c0){const _0x4fa2dd=_0x30a4df;return new ProtobufDescriptor(this[_0x4fa2dd(0x1dc)][_0x22d9c0]);}}export class ProtobufDescriptor{[_0x30a4df(0x1de)];constructor(_0x26edb3){const _0x52b53a=_0x30a4df;this[_0x52b53a(0x1de)]=_0x26edb3;}[_0x30a4df(0x1e0)](_0x368126){const _0x4757d7=_0x30a4df,_0x1db2f0=this[_0x4757d7(0x1de)][_0x4757d7(0x1db)](_0x368126);if(_0x1db2f0)throw Error(_0x1db2f0);return this[_0x4757d7(0x1de)][_0x4757d7(0x1d3)](this[_0x4757d7(0x1de)][_0x4757d7(0x1d4)](_0x368126))[_0x4757d7(0x1da)]();}[_0x30a4df(0x1d5)](_0x480fa1){const _0x1783e9=_0x30a4df;return this[_0x1783e9(0x1de)][_0x1783e9(0x1d0)](this[_0x1783e9(0x1de)][_0x1783e9(0x1dd)](_0x480fa1),{'oneofs':!0x0});}}