UNPKG

@ckeditor/ckeditor5-comments

Version:

Collaborative comments feature for CKEditor 5.

23 lines 3.73 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 _0x3099b1=_0x319f;(function(_0x4232ae,_0x4f34b5){const _0x3479bf=_0x319f,_0x1d4b2a=_0x4232ae();while(!![]){try{const _0x4e0843=parseInt(_0x3479bf(0x17b))/0x1*(-parseInt(_0x3479bf(0x180))/0x2)+parseInt(_0x3479bf(0x189))/0x3*(-parseInt(_0x3479bf(0x184))/0x4)+parseInt(_0x3479bf(0x176))/0x5*(parseInt(_0x3479bf(0x185))/0x6)+-parseInt(_0x3479bf(0x17a))/0x7*(-parseInt(_0x3479bf(0x182))/0x8)+-parseInt(_0x3479bf(0x17e))/0x9+parseInt(_0x3479bf(0x193))/0xa+-parseInt(_0x3479bf(0x187))/0xb*(-parseInt(_0x3479bf(0x18a))/0xc);if(_0x4e0843===_0x4f34b5)break;else _0x1d4b2a['push'](_0x1d4b2a['shift']());}catch(_0x41bde2){_0x1d4b2a['push'](_0x1d4b2a['shift']());}}}(_0x5614,0x2f93f));function _0x319f(_0x444916,_0x4005d0){const _0x561481=_0x5614();return _0x319f=function(_0x319fae,_0x4eea9d){_0x319fae=_0x319fae-0x174;let _0x241b64=_0x561481[_0x319fae];return _0x241b64;},_0x319f(_0x444916,_0x4005d0);}import{ButtonView as _0xc23d78,View as _0x31b876}from'ckeditor5/src/ui.js';import{IconAddComment as _0x44b1fd}from'ckeditor5/src/icons.js';export default class C extends _0xc23d78{[_0x3099b1(0x179)];constructor(_0xafbedd){const _0x48bad2=_0x3099b1;super(_0xafbedd);const _0x421c09=this[_0x48bad2(0x181)];this[_0x48bad2(0x177)](_0x48bad2(0x188),!0x1),this[_0x48bad2(0x177)](_0x48bad2(0x17d),0x0),this[_0x48bad2(0x175)](_0x48bad2(0x191))['to'](this,_0x48bad2(0x188),this,_0x48bad2(0x17d),(_0x11f617,_0x52d281)=>_0x11f617?_0x48bad2(0x192):_0x52d281[_0x48bad2(0x18d)]()),this[_0x48bad2(0x177)](_0x48bad2(0x190),''),this[_0x48bad2(0x18c)]=_0x44b1fd,this[_0x48bad2(0x18f)]({'attributes':{'class':[_0x48bad2(0x18e)]}}),this[_0x48bad2(0x179)]=new _0x31b876(),this[_0x48bad2(0x179)][_0x48bad2(0x17c)]({'tag':_0x48bad2(0x18b),'attributes':{'class':[_0x48bad2(0x174),_0x421c09['to'](_0x48bad2(0x190),_0x13d1dc=>_0x48bad2(0x178)+_0x13d1dc),_0x421c09['if'](_0x48bad2(0x188),_0x48bad2(0x183))]},'children':[{'text':_0x421c09['to'](_0x48bad2(0x191))}]}),this[_0x48bad2(0x17f)][_0x48bad2(0x186)](this[_0x48bad2(0x179)]);}}function _0x5614(){const _0x226e9b=['2514sHucDf','bindTemplate','8LWGdzN','ck-annotation-counter__badge--edit-mode','112srKNyN','1509306hQmIhP','add','57871dRoCxF','isDirty','35097iMRMog','180Gzkgps','span','icon','toString','ck-annotation-counter','extendTemplate','annotationType','_badge','...','2589050SotiFk','ck-annotation-counter__badge','bind','5yRCGFZ','set','ck-annotation-counter__badge--','counterView','1240484DOqPWc','24knrVNO','setTemplate','number','1925676NmiqIx','children'];_0x5614=function(){return _0x226e9b;};return _0x5614();}