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 3.37 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. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ function _0x3845(){const _0x1eb436=['804nmUEAJ','setTemplate','bindTemplate','ck-presence-list__counter--hidden','70YNnFcH','43765TNLPWD','bind','div','82497rgRxpM','listitem','509242VMuJsk','isHidden','4196264eoLZzi','ck-presence-list__users-counter','ck-presence-list__users-counter__text','18340443aIhjVu','toString','set','ck-presence-list__list-item','4418519NXQFnP','5204052COiSiV','_collapseAt','usersCount'];_0x3845=function(){return _0x1eb436;};return _0x3845();}const _0x38b343=_0x59e1;(function(_0x4a995d,_0x9f5cff){const _0x399ba1=_0x59e1,_0x519222=_0x4a995d();while(!![]){try{const _0x4b2232=-parseInt(_0x399ba1(0x109))/0x1+-parseInt(_0x399ba1(0x103))/0x2*(parseInt(_0x399ba1(0x107))/0x3)+parseInt(_0x399ba1(0xfc))/0x4+parseInt(_0x399ba1(0x104))/0x5*(-parseInt(_0x399ba1(0xff))/0x6)+parseInt(_0x399ba1(0x112))/0x7+-parseInt(_0x399ba1(0x10b))/0x8+parseInt(_0x399ba1(0x10e))/0x9;if(_0x4b2232===_0x9f5cff)break;else _0x519222['push'](_0x519222['shift']());}catch(_0x4c219a){_0x519222['push'](_0x519222['shift']());}}}(_0x3845,0xc3893));function _0x59e1(_0x5d03ac,_0x214533){const _0x3845d8=_0x3845();return _0x59e1=function(_0x59e11f,_0x5a0e37){_0x59e11f=_0x59e11f-0xfc;let _0x115bf5=_0x3845d8[_0x59e11f];return _0x115bf5;},_0x59e1(_0x5d03ac,_0x214533);}import{View as _0x355450}from'ckeditor5/src/ui.js';export class PresenceCounterView extends _0x355450{[_0x38b343(0xfd)];constructor(_0x25a099,_0xaf38fc=0x6){const _0x174354=_0x38b343;super(_0x25a099);const _0x1f9234=this[_0x174354(0x101)];this[_0x174354(0x110)](_0x174354(0x10a),!0x0),this[_0x174354(0x110)](_0x174354(0xfe),0x0),this[_0x174354(0xfd)]=_0xaf38fc,this[_0x174354(0x105)](_0x174354(0x10a))['to'](this,_0x174354(0xfe),_0x36c3b2=>_0x36c3b2<_0xaf38fc),this[_0x174354(0x100)]({'tag':_0x174354(0x106),'attributes':{'class':['ck',_0x174354(0x111),_0x1f9234['if'](_0x174354(0x10a),_0x174354(0x102))],'role':_0x174354(0x108)},'children':[{'tag':_0x174354(0x106),'attributes':{'class':['ck',_0x174354(0x10c)]},'children':[{'tag':_0x174354(0x106),'attributes':{'class':['ck',_0x174354(0x10d)]},'children':[{'text':_0x1f9234['to'](_0x174354(0xfe),_0x197fed=>'+'+(_0x197fed-this[_0x174354(0xfd)]+0x2)[_0x174354(0x10f)]())}]}]}]});}}