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.3 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 _0x3722d5=_0x1f47;(function(_0xfdc8fc,_0x2bce8e){const _0x4cbcf3=_0x1f47,_0x5bb025=_0xfdc8fc();while(!![]){try{const _0x21c7fb=parseInt(_0x4cbcf3(0x1d6))/0x1*(parseInt(_0x4cbcf3(0x1bf))/0x2)+parseInt(_0x4cbcf3(0x1d5))/0x3+parseInt(_0x4cbcf3(0x1cf))/0x4+-parseInt(_0x4cbcf3(0x1d2))/0x5+parseInt(_0x4cbcf3(0x1c5))/0x6*(-parseInt(_0x4cbcf3(0x1bd))/0x7)+parseInt(_0x4cbcf3(0x1c0))/0x8+-parseInt(_0x4cbcf3(0x1c4))/0x9;if(_0x21c7fb===_0x2bce8e)break;else _0x5bb025['push'](_0x5bb025['shift']());}catch(_0x2c9894){_0x5bb025['push'](_0x5bb025['shift']());}}}(_0x31f5,0xd515b));function _0x31f5(){const _0x564b1c=['execute','setTemplate','hasTooltip','2515440QXpPsp','userView','text','6463480XrZRpa','bindTemplate','getBackgroundColorClass','1494369iIiFim','1kYiwql','listitem','tag','ck-presence-list__list-item__tooltip','ck-presence-list__marker','ck-presence-list__list-item','set','template','608398RGzhkn','button','990228YNUijN','5880032SUWPbw','tooltipPosition','div','span','160038gQkKKU','12rrnmWG','isFocusable','true','fire','color','markerView','name'];_0x31f5=function(){return _0x564b1c;};return _0x31f5();}import{LabelView as _0x314767,View as _0x42b8c1}from'ckeditor5/src/ui.js';import{UserView as _0x2343b4}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1f47(_0x410a8c,_0x48e800){const _0x31f520=_0x31f5();return _0x1f47=function(_0x1f47de,_0x38c2d3){_0x1f47de=_0x1f47de-0x1b6;let _0x264a4b=_0x31f520[_0x1f47de];return _0x264a4b;},_0x1f47(_0x410a8c,_0x48e800);}export class PresenceInlineListItemView extends _0x42b8c1{[_0x3722d5(0x1d0)];[_0x3722d5(0x1ca)];constructor(_0x41695d,_0x591c3d,_0x4d834e){const _0x487737=_0x3722d5;super(_0x41695d);const _0x32d4d6=this[_0x487737(0x1d3)];this[_0x487737(0x1bb)](_0x487737(0x1c6),!0x1),this[_0x487737(0x1bb)](_0x487737(0x1ce),!0x0),this[_0x487737(0x1bb)](_0x487737(0x1c1),''),this[_0x487737(0x1d0)]=new _0x2343b4(_0x41695d,_0x591c3d),this[_0x487737(0x1ca)]=new ct(_0x41695d,_0x591c3d);const _0x1e4e85=new _0x314767(_0x41695d);_0x1e4e85[_0x487737(0x1bc)][_0x487737(0x1b7)]=_0x487737(0x1c3),_0x1e4e85[_0x487737(0x1d1)]=_0x591c3d[_0x487737(0x1cb)];const _0x42011f={'tag':_0x487737(0x1c2),'attributes':{'class':['ck',_0x487737(0x1ba)],'role':_0x487737(0x1b6),'tabindex':_0x32d4d6['to'](_0x487737(0x1c6),_0x20c908=>!!_0x20c908&&0x0),'aria-labelledby':_0x1e4e85['id'],'data-cke-tooltip-text':this[_0x487737(0x1d0)][_0x487737(0x1cb)],'data-cke-tooltip-position':_0x32d4d6['to'](_0x487737(0x1c1)),'data-cke-tooltip-disabled':_0x32d4d6['to'](_0x487737(0x1ce),_0x5a762f=>!_0x5a762f),'data-cke-tooltip-class':_0x487737(0x1b8)},'children':[this[_0x487737(0x1d0)],this[_0x487737(0x1ca)],_0x1e4e85]};_0x4d834e&&(_0x42011f[_0x487737(0x1b7)]=_0x487737(0x1be),_0x42011f['on']={'click':_0x32d4d6['to'](()=>this[_0x487737(0x1c8)](_0x487737(0x1cc)))}),this[_0x487737(0x1cd)](_0x42011f);}}class ct extends _0x42b8c1{constructor(_0x140b9f,_0x6e9cfe){const _0x2fc86c=_0x3722d5;super(_0x140b9f),this[_0x2fc86c(0x1cd)]({'tag':_0x2fc86c(0x1c3),'attributes':{'class':['ck',_0x2fc86c(0x1b9),_0x6e9cfe[_0x2fc86c(0x1c9)][_0x2fc86c(0x1d4)]()],'aria-hidden':_0x2fc86c(0x1c7)}});}}