@ckeditor/ckeditor5-comments
Version:
Collaborative comments feature for CKEditor 5.
23 lines • 5.01 kB
JavaScript
/*
* 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 _0x56a8(){const _0xf9285c=['_mutationObserver','ck-annotation-wrapper--active','content','104jQamWG','11142470CEXzOB','102402FfTyex','add','55953wNKspC','createCollection','ck-rounded-corners','attach','_updateHeight','1497868Ybpqnz','setTemplate','focusTracker','mainView','bindTemplate','ck-annotation-wrapper','targetRect','arrowup','div','3uyukct','presentation','focus','element','44140kVofBR','isDirty','fire','373147XlFcUE','Esc','listenTo','render','delegate','height','clientHeight','keystrokes','first','clear','destroy','63oNItfF','set','228538uJKhVC','arrowdown','length','type','detach','isActive'];_0x56a8=function(){return _0xf9285c;};return _0x56a8();}const _0x587676=_0x31a9;(function(_0x157e6f,_0x31994d){const _0x2911bc=_0x31a9,_0x1a1ac7=_0x157e6f();while(!![]){try{const _0x40d6e7=-parseInt(_0x2911bc(0xc5))/0x1+-parseInt(_0x2911bc(0xd2))/0x2*(parseInt(_0x2911bc(0xbe))/0x3)+-parseInt(_0x2911bc(0xb5))/0x4+parseInt(_0x2911bc(0xc2))/0x5+-parseInt(_0x2911bc(0xae))/0x6*(parseInt(_0x2911bc(0xd0))/0x7)+parseInt(_0x2911bc(0xac))/0x8*(parseInt(_0x2911bc(0xb0))/0x9)+parseInt(_0x2911bc(0xad))/0xa;if(_0x40d6e7===_0x31994d)break;else _0x1a1ac7['push'](_0x1a1ac7['shift']());}catch(_0x1aef65){_0x1a1ac7['push'](_0x1a1ac7['shift']());}}}(_0x56a8,0x2dffa));function _0x31a9(_0x4f5e6c,_0x150512){const _0x56a8a8=_0x56a8();return _0x31a9=function(_0x31a9df,_0x54f1eb){_0x31a9df=_0x31a9df-0xa8;let _0x15b0ce=_0x56a8a8[_0x31a9df];return _0x15b0ce;},_0x31a9(_0x4f5e6c,_0x150512);}import{View as _0x1ef965}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5ea26f,KeystrokeHandler as _0x445604,uid as _0x57a616}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x927534}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x1ef965{[_0x587676(0xb7)];['id'];[_0x587676(0xcc)];[_0x587676(0xab)];[_0x587676(0xb8)];[_0x587676(0xa9)];constructor(_0x404655,_0x198cbd){const _0x127132=_0x587676;super(_0x404655),this['id']=_0x57a616(),this[_0x127132(0xb7)]=new _0x5ea26f(),this[_0x127132(0xcc)]=new _0x445604(),this[_0x127132(0xcc)][_0x127132(0xd1)](_0x127132(0xc6),(_0x27e7e5,_0x1bee6b)=>this[_0x127132(0xc4)](_0x127132(0xc6),_0x1bee6b)),this[_0x127132(0xd1)](_0x127132(0xbb),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x127132(0xd1)](_0x127132(0xca),0x0),this[_0x127132(0xd1)](_0x127132(0xa8),!0x1),this[_0x127132(0xd1)](_0x127132(0xc3),!0x1),this[_0x127132(0xd1)](_0x127132(0xd4),0x0),this[_0x127132(0xd1)](_0x127132(0xd5),''),this[_0x127132(0xa9)]=_0x927534(()=>this[_0x127132(0xb4)]()),this[_0x127132(0xab)]=this[_0x127132(0xb1)](),this[_0x127132(0xab)][_0x127132(0xc9)](_0x127132(0xbc),_0x127132(0xd3))['to'](this),this[_0x127132(0xab)][_0x127132(0xaf)](_0x198cbd),this[_0x127132(0xb8)]=_0x198cbd;const _0x5bf160=this[_0x127132(0xb9)];this[_0x127132(0xb6)]({'tag':_0x127132(0xbd),'attributes':{'class':['ck',_0x127132(0xba),_0x127132(0xb2),_0x5bf160['if'](_0x127132(0xa8),_0x127132(0xaa))],'role':_0x127132(0xbf)},'children':this[_0x127132(0xab)]});}[_0x587676(0xc8)](){const _0x4ddccb=_0x587676;super[_0x4ddccb(0xc8)](),this[_0x4ddccb(0xb7)][_0x4ddccb(0xaf)](this[_0x4ddccb(0xc1)]),this[_0x4ddccb(0xcc)][_0x4ddccb(0xc7)](this[_0x4ddccb(0xc1)]),this[_0x4ddccb(0xa9)][_0x4ddccb(0xb3)](this[_0x4ddccb(0xc1)]);}[_0x587676(0xcf)](){const _0x188d28=_0x587676;this[_0x188d28(0xab)][_0x188d28(0xce)](),this[_0x188d28(0xcc)][_0x188d28(0xcf)](),this[_0x188d28(0xb7)][_0x188d28(0xcf)](),this[_0x188d28(0xa9)][_0x188d28(0xd6)](),super[_0x188d28(0xcf)]();}[_0x587676(0xc0)](){const _0x3c108b=_0x587676;this[_0x3c108b(0xab)][_0x3c108b(0xcd)]&&this[_0x3c108b(0xab)][_0x3c108b(0xcd)][_0x3c108b(0xc0)]();}[_0x587676(0xb4)](){const _0x525248=_0x587676,_0xffed4f=this[_0x525248(0xc1)][_0x525248(0xcb)];_0xffed4f&&(this[_0x525248(0xca)]=_0xffed4f);}}