@ckeditor/ckeditor5-comments
Version:
Collaborative comments feature for CKEditor 5.
23 lines • 3.82 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 _0x5085(_0x1ca7b8,_0x5203b4){const _0x25b393=_0x25b3();return _0x5085=function(_0x5085be,_0x3d4f9e){_0x5085be=_0x5085be-0x19c;let _0x16fe37=_0x25b393[_0x5085be];return _0x16fe37;},_0x5085(_0x1ca7b8,_0x5203b4);}const _0x3f0bdf=_0x5085;(function(_0x33a80a,_0x30a4fa){const _0x1ef54f=_0x5085,_0x55ae64=_0x33a80a();while(!![]){try{const _0x1f2881=-parseInt(_0x1ef54f(0x1b9))/0x1*(parseInt(_0x1ef54f(0x1b7))/0x2)+parseInt(_0x1ef54f(0x1a1))/0x3*(-parseInt(_0x1ef54f(0x1ab))/0x4)+parseInt(_0x1ef54f(0x1b2))/0x5*(parseInt(_0x1ef54f(0x19c))/0x6)+parseInt(_0x1ef54f(0x1a5))/0x7+parseInt(_0x1ef54f(0x1aa))/0x8+-parseInt(_0x1ef54f(0x1a8))/0x9*(parseInt(_0x1ef54f(0x1b5))/0xa)+-parseInt(_0x1ef54f(0x1ad))/0xb*(-parseInt(_0x1ef54f(0x19f))/0xc);if(_0x1f2881===_0x30a4fa)break;else _0x55ae64['push'](_0x55ae64['shift']());}catch(_0x5ea51a){_0x55ae64['push'](_0x55ae64['shift']());}}}(_0x25b3,0x9e80c));function _0x25b3(){const _0x53bf61=['1014TfdoAV','ck-reset','cke-editor__aria-label_','72hEzEgB','div','34521AckjXE','element','render','ck-editor','1302623GLVgNs','add','Comment\x20editor','1491111rjifEH','presentation','4911552SrJMGe','44DJNOmA','focus','2319141MjBpcy','createCollection','editable','uiLanguageDirection','main','4980WSeeAi','ck-editor__main','ck-comment__input','30HaVymh','setTemplate','640334pXZBia','ck-rounded-corners','3OGEllI','uiLanguage'];_0x25b3=function(){return _0x53bf61;};return _0x25b3();}import{InlineEditableUIView as _0x891c52,EditorUIView as _0x5e5f6f}from'ckeditor5/src/ui.js';import{uid as _0x25be68}from'ckeditor5/src/utils.js';import{getTranslation as _0x2e86c8}from'../../../utils/common-translations.js';export class CommentEditorUIView extends _0x5e5f6f{[_0x3f0bdf(0x1b1)];[_0x3f0bdf(0x1af)];constructor(_0x5acccd,_0x5deba6){const _0x963776=_0x3f0bdf;super(_0x5acccd);const _0x36c9ff=_0x25be68();this[_0x963776(0x1b1)]=this[_0x963776(0x1ae)](),this[_0x963776(0x1af)]=new _0x891c52(_0x5acccd,_0x5deba6,void 0x0,{'label':()=>_0x2e86c8(_0x5acccd,_0x963776(0x1a7))}),this[_0x963776(0x1b6)]({'tag':_0x963776(0x1a0),'attributes':{'class':[_0x963776(0x19d),_0x963776(0x1a4),_0x963776(0x1b8),_0x963776(0x1b4)],'dir':_0x5acccd[_0x963776(0x1b0)],'lang':_0x5acccd[_0x963776(0x1ba)],'aria-labelledby':_0x963776(0x19e)+_0x36c9ff},'children':[{'tag':_0x963776(0x1a0),'attributes':{'class':_0x963776(0x1b3),'role':_0x963776(0x1a9)},'children':this[_0x963776(0x1b1)]}]});}[_0x3f0bdf(0x1a3)](){const _0x366bc4=_0x3f0bdf;super[_0x366bc4(0x1a3)](),this[_0x366bc4(0x1b1)][_0x366bc4(0x1a6)](this[_0x366bc4(0x1af)]);}[_0x3f0bdf(0x1ac)](){const _0x5d504d=_0x3f0bdf;this[_0x5d504d(0x1af)][_0x5d504d(0x1a2)][_0x5d504d(0x1ac)]();}}