UNPKG

@ckeditor/ckeditor5-revision-history

Version:

Document revision history feature for CKEditor 5.

23 lines 3.4 kB
/* * 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 _0x4d7c(_0xb5814c,_0x58e781){const _0x2bbd6c=_0x2bbd();return _0x4d7c=function(_0x4d7c0c,_0x4dc9d7){_0x4d7c0c=_0x4d7c0c-0xe4;let _0x41f02d=_0x2bbd6c[_0x4d7c0c];return _0x41f02d;},_0x4d7c(_0xb5814c,_0x58e781);}function _0x2bbd(){const _0x59c458=['2264TpvjYz','push','0\x200\x2011\x2010','394810HDmYbt','ck-revision-history-sidebar__revision-author_creator','474684sjLaQJ','name','Revision\x20author','ck-revision-history-sidebar__revision-author','30ySyPXb','28273JlTkwv','set','317647LhosEr','setTemplate','22rIwqpv','1154274yFdrtV','6NFsvrE','Revision\x20creator','6181101Biinsq','span','1032172uzsaHF','ck-revision-history-sidebar__revision-author__name'];_0x2bbd=function(){return _0x59c458;};return _0x2bbd();}(function(_0x4f8105,_0x422473){const _0x2cb119=_0x4d7c,_0x51b6ca=_0x4f8105();while(!![]){try{const _0x63dca1=parseInt(_0x2cb119(0xe5))/0x1+-parseInt(_0x2cb119(0xe8))/0x2+parseInt(_0x2cb119(0xe9))/0x3*(-parseInt(_0x2cb119(0xed))/0x4)+-parseInt(_0x2cb119(0xf8))/0x5*(parseInt(_0x2cb119(0xf4))/0x6)+-parseInt(_0x2cb119(0xf9))/0x7*(-parseInt(_0x2cb119(0xef))/0x8)+parseInt(_0x2cb119(0xeb))/0x9+parseInt(_0x2cb119(0xf2))/0xa*(parseInt(_0x2cb119(0xe7))/0xb);if(_0x63dca1===_0x422473)break;else _0x51b6ca['push'](_0x51b6ca['shift']());}catch(_0xf1e9c3){_0x51b6ca['push'](_0x51b6ca['shift']());}}}(_0x2bbd,0xa0c60));import{View as _0x1c227b,IconView as _0x4ee550}from'ckeditor5/src/ui.js';import{IconUser as _0x22f89f}from'ckeditor5/src/icons.js';import{getTranslation as _0x4008bd}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';export class RevisionAuthorView extends _0x1c227b{constructor(_0x5a6ffa,_0x342d16,_0xa343f1){const _0x3f3222=_0x4d7c;super(_0x5a6ffa);const _0x322371=new _0x4ee550();_0x322371[_0x3f3222(0xe4)]({'content':_0x22f89f,'viewBox':_0x3f3222(0xf1)});const _0x4fcf6b=['ck',_0x3f3222(0xf7)];_0xa343f1&&_0x4fcf6b[_0x3f3222(0xf0)](_0x3f3222(0xf3));const _0x1c1650=[{'tag':_0x3f3222(0xec),'attributes':{'class':['ck',_0x3f3222(0xee)],'title':_0x4008bd(_0x5a6ffa,_0xa343f1?_0x3f3222(0xea):_0x3f3222(0xf6))},'children':[_0x322371,_0x342d16[_0x3f3222(0xf5)]]}];this[_0x3f3222(0xe6)]({'tag':'li','attributes':{'class':_0x4fcf6b},'children':_0x1c1650});}}