UNPKG

@ckeditor/ckeditor5-comments

Version:

Collaborative comments feature for CKEditor 5.

23 lines 3.13 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. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ const _0x2f3f06=_0x56e8;function _0x56e8(_0x347c45,_0x4ce0a7){const _0x28fcf8=_0x28fc();return _0x56e8=function(_0x56e80e,_0x4994d8){_0x56e80e=_0x56e80e-0xcf;let _0x3c67f6=_0x28fcf8[_0x56e80e];return _0x3c67f6;},_0x56e8(_0x347c45,_0x4ce0a7);}(function(_0x45b18c,_0x47173c){const _0x54e4c5=_0x56e8,_0xf4003f=_0x45b18c();while(!![]){try{const _0x1d84aa=-parseInt(_0x54e4c5(0xd6))/0x1*(-parseInt(_0x54e4c5(0xdc))/0x2)+parseInt(_0x54e4c5(0xd7))/0x3+-parseInt(_0x54e4c5(0xe2))/0x4*(-parseInt(_0x54e4c5(0xd8))/0x5)+-parseInt(_0x54e4c5(0xd3))/0x6+parseInt(_0x54e4c5(0xe0))/0x7*(-parseInt(_0x54e4c5(0xd5))/0x8)+parseInt(_0x54e4c5(0xd4))/0x9*(-parseInt(_0x54e4c5(0xd2))/0xa)+parseInt(_0x54e4c5(0xdd))/0xb*(parseInt(_0x54e4c5(0xd0))/0xc);if(_0x1d84aa===_0x47173c)break;else _0xf4003f['push'](_0xf4003f['shift']());}catch(_0x3c3edb){_0xf4003f['push'](_0xf4003f['shift']());}}}(_0x28fc,0x2e5be));import{View as _0x282e56}from'ckeditor5/src/ui.js';import{getTranslation as _0x5b541c}from'../../../utils/common-translations.js';function _0x28fc(){const _0x2334a2=['12qrDrRt','contextValue','1498030XKUgtT','1282476hgrGgb','9Xzuehg','1120ZnSTyW','38xNqRBf','106434uMUWXf','20asHfmZ','ck-context__value','bindTemplate','set','14158cDpmBG','1932117xYPgtE','element','THREAD_CONTEXT_LABEL','7511pefKLz','span','223528uuYPjV','setTemplate','focus'];_0x28fc=function(){return _0x2334a2;};return _0x28fc();}export class CommentThreadHeaderContextView extends _0x282e56{constructor(_0x5370ff){const _0x5b3148=_0x56e8;super(_0x5370ff);const _0x1dbc8e=this[_0x5b3148(0xda)];this[_0x5b3148(0xdb)](_0x5b3148(0xd1),''),this[_0x5b3148(0xe3)]({'tag':_0x5b3148(0xe1),'attributes':{'class':['ck',_0x5b3148(0xd9)],'aria-label':_0x1dbc8e['to'](_0x5b3148(0xd1),_0x31d450=>_0x5b541c(_0x5370ff,_0x5b3148(0xdf),_0x31d450)),'tabindex':-0x1},'children':[{'text':_0x1dbc8e['to'](_0x5b3148(0xd1))}]});}[_0x2f3f06(0xcf)](){const _0x428810=_0x2f3f06;this[_0x428810(0xde)][_0x428810(0xcf)]();}}