@ckeditor/ckeditor5-revision-history
Version:
Document revision history feature for CKEditor 5.
23 lines • 3.43 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 _0x4ace(_0x2cc91f,_0x45460e){const _0x1ea23d=_0x1ea2();return _0x4ace=function(_0x4ace5c,_0x360f2b){_0x4ace5c=_0x4ace5c-0x193;let _0x163c08=_0x1ea23d[_0x4ace5c];return _0x163c08;},_0x4ace(_0x2cc91f,_0x45460e);}const _0x3e62da=_0x4ace;(function(_0x335b73,_0x57ad3a){const _0x7091e3=_0x4ace,_0x341396=_0x335b73();while(!![]){try{const _0x1cfa16=parseInt(_0x7091e3(0x197))/0x1+-parseInt(_0x7091e3(0x198))/0x2+-parseInt(_0x7091e3(0x1a6))/0x3+parseInt(_0x7091e3(0x1a8))/0x4*(-parseInt(_0x7091e3(0x1ab))/0x5)+parseInt(_0x7091e3(0x195))/0x6+parseInt(_0x7091e3(0x196))/0x7*(parseInt(_0x7091e3(0x1a5))/0x8)+parseInt(_0x7091e3(0x1a7))/0x9*(parseInt(_0x7091e3(0x194))/0xa);if(_0x1cfa16===_0x57ad3a)break;else _0x341396['push'](_0x341396['shift']());}catch(_0x2baefa){_0x341396['push'](_0x341396['shift']());}}}(_0x1ea2,0x4f2a5));function _0x1ea2(){const _0x381785=['ck-revision-history-sidebar__subrevision-collapser__inner','span','616430XNIVWr','setTemplate','10EDgnvk','3377538cZbdqn','322OAkzYu','389063AefgHk','997322YjjLgL','_isCollapsed','isVisible','toggle','click','set','ck-revision-history-sidebar__subrevision-collapser','ck-hidden','true','button','false','bindTemplate','ck-revision-history-sidebar__subrevision-collapser_collapsed','51728ncnPPF','1942374gMMbfX','4207770BqbWWw','8kNFwOc'];_0x1ea2=function(){return _0x381785;};return _0x1ea2();}import{View as _0x551750}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';export default class ss extends _0x551750{constructor(_0x34ea55){const _0x53b3ee=_0x4ace;super(_0x34ea55);const _0x2060bb=this[_0x53b3ee(0x1a3)];this[_0x53b3ee(0x19d)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x53b3ee(0x193)]({'tag':_0x53b3ee(0x1aa),'attributes':{'class':['ck',_0x53b3ee(0x19e),_0x2060bb['if'](_0x53b3ee(0x19a),_0x53b3ee(0x19f),_0xaa41b9=>!_0xaa41b9),_0x2060bb['if'](_0x53b3ee(0x199),_0x53b3ee(0x1a4))],'role':_0x53b3ee(0x1a1),'aria-pressed':_0x2060bb['to'](_0x53b3ee(0x199),_0x360832=>_0x360832?_0x53b3ee(0x1a2):_0x53b3ee(0x1a0))},'children':[{'tag':_0x53b3ee(0x1aa),'attributes':{'class':['ck',_0x53b3ee(0x1a9)]}}],'on':{'click':_0x2060bb['to'](_0x53b3ee(0x19c))}});}[_0x3e62da(0x19b)](){const _0x5b520c=_0x3e62da;this[_0x5b520c(0x199)]=!this[_0x5b520c(0x199)];}}