UNPKG

@ckeditor/ckeditor5-real-time-collaboration

Version:

A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.

23 lines 4.25 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. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ const _0x2426ee=_0xe919;(function(_0x142908,_0x76ddb6){const _0x1a1441=_0xe919,_0x304ff8=_0x142908();while(!![]){try{const _0x36a359=parseInt(_0x1a1441(0x14e))/0x1+-parseInt(_0x1a1441(0x14c))/0x2+parseInt(_0x1a1441(0x154))/0x3+-parseInt(_0x1a1441(0x146))/0x4+parseInt(_0x1a1441(0x155))/0x5+-parseInt(_0x1a1441(0x14d))/0x6*(-parseInt(_0x1a1441(0x14b))/0x7)+-parseInt(_0x1a1441(0x147))/0x8;if(_0x36a359===_0x76ddb6)break;else _0x304ff8['push'](_0x304ff8['shift']());}catch(_0x19bf25){_0x304ff8['push'](_0x304ff8['shift']());}}}(_0x8fb2,0x226d6));import{LabelView as _0x34c8f0,View as _0x3a7b7f}from'ckeditor5/src/ui.js';function _0xe919(_0x4d1e08,_0x2d91e9){const _0x8fb23d=_0x8fb2();return _0xe919=function(_0xe9193,_0x298157){_0xe9193=_0xe9193-0x146;let _0x4ec366=_0x8fb23d[_0xe9193];return _0x4ec366;},_0xe919(_0x4d1e08,_0x2d91e9);}import{UserView as _0x5824d0}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x8fb2(){const _0xe92acd=['7vHISDh','1678tvzWoX','1607070UEusFg','26162wClEGD','tooltipPosition','bindTemplate','execute','template','button','405705ApwrZJ','1296485OYrCUP','isFocusable','true','hasTooltip','name','set','listitem','userView','text','div','markerView','fire','ck-presence-list__list-item','setTemplate','span','getBackgroundColorClass','color','159084jfTgZa','4055320mmKRio','ck-presence-list__list-item__tooltip','tag','ck-presence-list__marker'];_0x8fb2=function(){return _0xe92acd;};return _0x8fb2();}export class PresenceInlineListItemView extends _0x3a7b7f{[_0x2426ee(0x15c)];[_0x2426ee(0x15f)];constructor(_0x470e49,_0x1b75f6,_0xbef3bd){const _0x172a8d=_0x2426ee;super(_0x470e49);const _0x51b469=this[_0x172a8d(0x150)];this[_0x172a8d(0x15a)](_0x172a8d(0x156),!0x1),this[_0x172a8d(0x15a)](_0x172a8d(0x158),!0x0),this[_0x172a8d(0x15a)](_0x172a8d(0x14f),''),this[_0x172a8d(0x15c)]=new _0x5824d0(_0x470e49,_0x1b75f6),this[_0x172a8d(0x15f)]=new ot(_0x470e49,_0x1b75f6);const _0x21ede9=new _0x34c8f0(_0x470e49);_0x21ede9[_0x172a8d(0x152)][_0x172a8d(0x149)]=_0x172a8d(0x163),_0x21ede9[_0x172a8d(0x15d)]=_0x1b75f6[_0x172a8d(0x159)];const _0xa17930={'tag':_0x172a8d(0x15e),'attributes':{'class':['ck',_0x172a8d(0x161)],'role':_0x172a8d(0x15b),'tabindex':_0x51b469['to'](_0x172a8d(0x156),_0x5069b6=>!!_0x5069b6&&0x0),'aria-labelledby':_0x21ede9['id'],'data-cke-tooltip-text':this[_0x172a8d(0x15c)][_0x172a8d(0x159)],'data-cke-tooltip-position':_0x51b469['to'](_0x172a8d(0x14f)),'data-cke-tooltip-disabled':_0x51b469['to'](_0x172a8d(0x158),_0x5bb854=>!_0x5bb854),'data-cke-tooltip-class':_0x172a8d(0x148)},'children':[this[_0x172a8d(0x15c)],this[_0x172a8d(0x15f)],_0x21ede9]};_0xbef3bd&&(_0xa17930[_0x172a8d(0x149)]=_0x172a8d(0x153),_0xa17930['on']={'click':_0x51b469['to'](()=>this[_0x172a8d(0x160)](_0x172a8d(0x151)))}),this[_0x172a8d(0x162)](_0xa17930);}}class ot extends _0x3a7b7f{constructor(_0x443867,_0x43b1ba){const _0x54e7a3=_0x2426ee;super(_0x443867),this[_0x54e7a3(0x162)]({'tag':_0x54e7a3(0x163),'attributes':{'class':['ck',_0x54e7a3(0x14a),_0x43b1ba[_0x54e7a3(0x165)][_0x54e7a3(0x164)]()],'aria-hidden':_0x54e7a3(0x157)}});}}