UNPKG

@ckeditor/ckeditor5-comments

Version:

Collaborative comments feature for CKEditor 5.

23 lines 3.82 kB
/* * Copyright (c) 2003-2026, 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 _0x314f(_0x389d33,_0x4baa23){const _0x355516=_0x3555();return _0x314f=function(_0x314f2c,_0x57fdfe){_0x314f2c=_0x314f2c-0x138;let _0x83676=_0x355516[_0x314f2c];return _0x83676;},_0x314f(_0x389d33,_0x4baa23);}const _0x5d8207=_0x314f;(function(_0x4a02cd,_0x5cc187){const _0x49b020=_0x314f,_0x2c7dcf=_0x4a02cd();while(!![]){try{const _0x7435b=-parseInt(_0x49b020(0x13d))/0x1+parseInt(_0x49b020(0x150))/0x2*(parseInt(_0x49b020(0x142))/0x3)+-parseInt(_0x49b020(0x13f))/0x4*(parseInt(_0x49b020(0x13c))/0x5)+-parseInt(_0x49b020(0x152))/0x6*(parseInt(_0x49b020(0x13e))/0x7)+parseInt(_0x49b020(0x14e))/0x8*(parseInt(_0x49b020(0x14c))/0x9)+-parseInt(_0x49b020(0x147))/0xa*(-parseInt(_0x49b020(0x144))/0xb)+-parseInt(_0x49b020(0x141))/0xc;if(_0x7435b===_0x5cc187)break;else _0x2c7dcf['push'](_0x2c7dcf['shift']());}catch(_0x2ebb82){_0x2c7dcf['push'](_0x2c7dcf['shift']());}}}(_0x3555,0x80dc4));import{InlineEditableUIView as _0x488ac1,EditorUIView as _0x16b0d5}from'ckeditor5/src/ui.js';import{uid as _0x320e41}from'ckeditor5/src/utils.js';import{getTranslation as _0x24aedb}from'../../../utils/common-translations.js';export class CommentEditorUIView extends _0x16b0d5{[_0x5d8207(0x148)];[_0x5d8207(0x151)];constructor(_0x4b7670,_0x4b4921){const _0x30b2a1=_0x5d8207;super(_0x4b7670);const _0x55f627=_0x320e41();this[_0x30b2a1(0x148)]=this[_0x30b2a1(0x139)](),this[_0x30b2a1(0x151)]=new _0x488ac1(_0x4b7670,_0x4b4921,void 0x0,{'label':()=>_0x24aedb(_0x4b7670,_0x30b2a1(0x145))}),this[_0x30b2a1(0x155)]({'tag':_0x30b2a1(0x14d),'attributes':{'class':[_0x30b2a1(0x154),_0x30b2a1(0x13b),_0x30b2a1(0x14b),_0x30b2a1(0x14f)],'dir':_0x4b7670[_0x30b2a1(0x149)],'lang':_0x4b7670[_0x30b2a1(0x138)],'aria-labelledby':_0x30b2a1(0x153)+_0x55f627},'children':[{'tag':_0x30b2a1(0x14d),'attributes':{'class':_0x30b2a1(0x140),'role':_0x30b2a1(0x143)},'children':this[_0x30b2a1(0x148)]}]});}[_0x5d8207(0x146)](){const _0x20c689=_0x5d8207;super[_0x20c689(0x146)](),this[_0x20c689(0x148)][_0x20c689(0x13a)](this[_0x20c689(0x151)]);}[_0x5d8207(0x156)](){const _0x11922b=_0x5d8207;this[_0x11922b(0x151)][_0x11922b(0x14a)][_0x11922b(0x156)]();}}function _0x3555(){const _0x1de4e8=['2OLwhFD','editable','6MboGyp','cke-editor__aria-label_','ck-reset','setTemplate','focus','uiLanguage','createCollection','add','ck-editor','775fLmaxr','458889Rywimx','5039321aoqovj','11924JjhaTD','ck-editor__main','4991400ZWRqQQ','2828157YsUUoC','presentation','352IlaQTo','Comment\x20editor','render','316910kNQIMd','main','uiLanguageDirection','element','ck-rounded-corners','9ShipGv','div','5022224GkjAmS','ck-comment__input'];_0x3555=function(){return _0x1de4e8;};return _0x3555();}