@ckeditor/ckeditor5-revision-history
Version:
Document revision history feature for CKEditor 5.
24 lines • 3.6 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 _0x3b76(_0x4bd848,_0x15d631){const _0x5bea83=_0x5bea();return _0x3b76=function(_0x3b76ec,_0x20f72f){_0x3b76ec=_0x3b76ec-0xed;let _0x20d67a=_0x5bea83[_0x3b76ec];return _0x20d67a;},_0x3b76(_0x4bd848,_0x15d631);}const _0x55c77b=_0x3b76;(function(_0x374e8f,_0x318539){const _0x2c8034=_0x3b76,_0x31dc03=_0x374e8f();while(!![]){try{const _0x38c3a0=parseInt(_0x2c8034(0xf9))/0x1+-parseInt(_0x2c8034(0x104))/0x2+-parseInt(_0x2c8034(0xf7))/0x3+-parseInt(_0x2c8034(0x105))/0x4*(-parseInt(_0x2c8034(0xfa))/0x5)+parseInt(_0x2c8034(0x102))/0x6*(parseInt(_0x2c8034(0xfd))/0x7)+-parseInt(_0x2c8034(0xf1))/0x8+parseInt(_0x2c8034(0xef))/0x9;if(_0x38c3a0===_0x318539)break;else _0x31dc03['push'](_0x31dc03['shift']());}catch(_0x5d05cb){_0x31dc03['push'](_0x31dc03['shift']());}}}(_0x5bea,0xd5285));import{Editor as _0xc539fd,ElementApiMixin as _0x20e630}from'ckeditor5/src/core.js';import _0x3ad43c from'./revisionviewereditorui.js';import _0x3bd8d3 from'./revisionviewereditoruiview.js';function _0x5bea(){const _0xb2c7=['createRoot','get','init','8944992YTVMIi','sourceElement','3124430xBpSpK','24636oioJRO','data','model','document','locale','view','6719706TEgjod','config','2225136FOvMAV','fire','create','updateSourceElement','ready','_ui','4854516fOTbuA','editing','1644549PehtbE','365ZxMQIx','initialData','initPlugins','7TtTQiQ','destroy'];_0x5bea=function(){return _0xb2c7;};return _0x5bea();}export default class w extends/* #__PURE__ -- @preserve */
_0x20e630(_0xc539fd){[_0x55c77b(0xf6)];get['ui'](){const _0x2548c7=_0x55c77b;return this[_0x2548c7(0xf6)];}constructor(_0x262c60,_0x548b32){const _0x246a4d=_0x55c77b;super(_0x548b32),this[_0x246a4d(0x103)]=_0x262c60,this[_0x246a4d(0x107)][_0x246a4d(0x108)][_0x246a4d(0xff)]();const _0x1e987b=new _0x3bd8d3(this[_0x246a4d(0xed)],this[_0x246a4d(0xf8)][_0x246a4d(0xee)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x246a4d(0xf6)]=new _0x3ad43c(this,_0x1e987b);}[_0x55c77b(0xfe)](){const _0x40fdec=_0x55c77b;return this[_0x40fdec(0xf4)](),this['ui'][_0x40fdec(0xfe)](),super[_0x40fdec(0xfe)]();}static async[_0x55c77b(0xf3)](_0x1ce7c0,_0x2dcd02){const _0x4fac5d=_0x55c77b,_0x110dc0=new this(_0x1ce7c0,_0x2dcd02);return await _0x110dc0[_0x4fac5d(0xfc)](),await _0x110dc0['ui'][_0x4fac5d(0x101)](_0x1ce7c0),await _0x110dc0[_0x4fac5d(0x106)][_0x4fac5d(0x101)](_0x110dc0[_0x4fac5d(0xf0)][_0x4fac5d(0x100)](_0x4fac5d(0xfb))||''),_0x110dc0[_0x4fac5d(0xf2)](_0x4fac5d(0xf5)),_0x110dc0;}}