UNPKG

@ckeditor/ckeditor5-comments

Version:

Collaborative comments feature for CKEditor 5.

23 lines 3.61 kB
/* * Copyright (c) 2003-2026, 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 _0x2ada50=_0x1e07;(function(_0x15f621,_0x3ffd3f){const _0x21aa60=_0x1e07,_0x2183d7=_0x15f621();while(!![]){try{const _0x56887b=-parseInt(_0x21aa60(0xbc))/0x1+-parseInt(_0x21aa60(0xae))/0x2+parseInt(_0x21aa60(0xb1))/0x3+-parseInt(_0x21aa60(0xb9))/0x4*(-parseInt(_0x21aa60(0xc1))/0x5)+parseInt(_0x21aa60(0xb5))/0x6+parseInt(_0x21aa60(0xb6))/0x7*(-parseInt(_0x21aa60(0xba))/0x8)+-parseInt(_0x21aa60(0xc0))/0x9*(-parseInt(_0x21aa60(0xb8))/0xa);if(_0x56887b===_0x3ffd3f)break;else _0x2183d7['push'](_0x2183d7['shift']());}catch(_0xeccefa){_0x2183d7['push'](_0x2183d7['shift']());}}}(_0xbfed,0x73569));import{EditorUI as _0x50838c}from'ckeditor5/src/ui.js';function _0xbfed(){const _0x17b8f2=['8SUcvKH','view','129054nlUzie','init','editable','rootName','64359QzWBol','740JwMQHm','element','name','document','focusTracker','isFocused','attachDomRoot','render','setEditableElement','destroy','ready','1675738SuceVW','bind','locale','1137981OQEiFu','getRoot','editor','fire','1331658PsPofk','142583zYWiAI','editing','10JeqgBg','23008vlzHdh'];_0xbfed=function(){return _0x17b8f2;};return _0xbfed();}import{CommentEditorUIView as _0x1e2c5b}from'./commenteditoruiview.js';function _0x1e07(_0x97b1dc,_0x99c4ff){const _0x1e07ed=_0xbfed();return _0x1e07=function(_0x24655d,_0x57cf34){_0x24655d=_0x24655d-0xae;let _0x2b076b=_0x1e07ed[_0x24655d];return _0x2b076b;},_0x1e07(_0x97b1dc,_0x99c4ff);}export class CommentEditorUI extends _0x50838c{[_0x2ada50(0xbb)];constructor(_0x4da8ce){const _0x18840f=_0x2ada50;super(_0x4da8ce),this[_0x18840f(0xbb)]=new _0x1e2c5b(_0x4da8ce[_0x18840f(0xb0)],_0x4da8ce[_0x18840f(0xb7)][_0x18840f(0xbb)]);}get[_0x2ada50(0xc2)](){const _0x190f1d=_0x2ada50;return this[_0x190f1d(0xbb)][_0x190f1d(0xc2)];}[_0x2ada50(0xbd)](){const _0xc82176=_0x2ada50,_0x143e08=this[_0xc82176(0xb3)][_0xc82176(0xb7)][_0xc82176(0xbb)],_0x34c4de=this[_0xc82176(0xbb)][_0xc82176(0xbe)],_0x380c47=_0x143e08[_0xc82176(0xc4)][_0xc82176(0xb2)]();_0x34c4de[_0xc82176(0xc3)]=_0x380c47[_0xc82176(0xbf)],this[_0xc82176(0xbb)][_0xc82176(0xc8)]();const _0x426d84=_0x34c4de[_0xc82176(0xc2)];this[_0xc82176(0xc9)](_0x34c4de[_0xc82176(0xc3)],_0x426d84),this[_0xc82176(0xbb)][_0xc82176(0xbe)][_0xc82176(0xaf)](_0xc82176(0xc6))['to'](this[_0xc82176(0xc5)]),_0x143e08[_0xc82176(0xc7)](_0x426d84),this[_0xc82176(0xb4)](_0xc82176(0xcb));}[_0x2ada50(0xca)](){const _0x4e6c38=_0x2ada50;super[_0x4e6c38(0xca)](),this[_0x4e6c38(0xbb)][_0x4e6c38(0xca)]();}}