@ckeditor/ckeditor5-comments
Version:
Collaborative comments feature for CKEditor 5.
24 lines • 4.31 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. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
var _0x7b21c5=_0x2c62;(function(_0x14d9bd,_0x2c5fa3){var _0x5cf006=_0x2c62,_0x23b619=_0x14d9bd();while(!![]){try{var _0x1c91bd=-parseInt(_0x5cf006(0x6b))/0x1+parseInt(_0x5cf006(0x81))/0x2+-parseInt(_0x5cf006(0x6f))/0x3+parseInt(_0x5cf006(0x75))/0x4+parseInt(_0x5cf006(0x72))/0x5+-parseInt(_0x5cf006(0x74))/0x6+-parseInt(_0x5cf006(0x77))/0x7;if(_0x1c91bd===_0x2c5fa3)break;else _0x23b619['push'](_0x23b619['shift']());}catch(_0x2b7f90){_0x23b619['push'](_0x23b619['shift']());}}}(_0x1c1c,0xb972e));import{ObservableMixin as _0x33005f}from'ckeditor5/src/utils.js';function _0x2c62(_0x20d352,_0x3e656b){var _0x1c1cdd=_0x1c1c();return _0x2c62=function(_0x2c621b,_0x2345ea){_0x2c621b=_0x2c621b-0x68;var _0x30182e=_0x1c1cdd[_0x2c621b];return _0x30182e;},_0x2c62(_0x20d352,_0x3e656b);}function _0x1c1c(){var _0x488461=['stopListening','getComment','destroy','removeCommentThread','285644gHIwCD','remove','model','submit','40704JyORMD','updateComment','_isAttached','5519670dYeyji','submitCommentThread','4495812KzLiiz','1230356nfQMEj','view','3393425MMbvGZ','isResolved','reopen','listenTo','addComment','reopenCommentThread','update','resolve','removeComment','resolveCommentThread','1762728advcaG','_localUser'];_0x1c1c=function(){return _0x488461;};return _0x1c1c();}export default class Ct extends/* #__PURE__ -- */
_0x33005f(){constructor(_0x56312e,_0x168831){var _0x966688=_0x2c62;super(),this[_0x966688(0x6d)]=_0x56312e,this[_0x966688(0x6d)][_0x966688(0x71)]=!0x0,this[_0x966688(0x76)]=_0x168831,this[_0x966688(0x7a)](_0x168831,_0x966688(0x73),()=>this[_0x966688(0x6e)]()),this[_0x966688(0x7a)](_0x168831,_0x966688(0x6a),()=>this[_0x966688(0x6c)]()),this[_0x966688(0x7a)](_0x168831,_0x966688(0x80),()=>this[_0x966688(0x7e)]()),this[_0x966688(0x7a)](_0x168831,_0x966688(0x7c),()=>this[_0x966688(0x79)]()),this[_0x966688(0x7a)](_0x168831,_0x966688(0x7b),(_0x32d7d1,_0x260d7d)=>this[_0x966688(0x7b)](_0x260d7d)),this[_0x966688(0x7a)](_0x168831,_0x966688(0x70),(_0x2ac273,_0x4eb73d,_0x291633)=>this[_0x966688(0x70)](_0x4eb73d,_0x291633)),this[_0x966688(0x7a)](_0x168831,_0x966688(0x7f),(_0x4de700,_0x23c253)=>this[_0x966688(0x7f)](_0x23c253));}[_0x7b21c5(0x6e)](){var _0x1bbe8a=_0x7b21c5;this[_0x1bbe8a(0x6d)][_0x1bbe8a(0x6e)]();}[_0x7b21c5(0x6c)](){var _0x4812c1=_0x7b21c5;this[_0x4812c1(0x6d)][_0x4812c1(0x6c)]();}[_0x7b21c5(0x7e)](){var _0x3c8a14=_0x7b21c5;this[_0x3c8a14(0x6d)][_0x3c8a14(0x78)]||this[_0x3c8a14(0x6d)][_0x3c8a14(0x7e)]();}[_0x7b21c5(0x79)](){var _0xa1139c=_0x7b21c5;this[_0xa1139c(0x6d)][_0xa1139c(0x78)]&&this[_0xa1139c(0x6d)][_0xa1139c(0x79)]();}[_0x7b21c5(0x7b)](_0x298271){var _0x5dd2b7=_0x7b21c5;this[_0x5dd2b7(0x6d)][_0x5dd2b7(0x7b)]({'content':_0x298271,'authorId':this[_0x5dd2b7(0x76)][_0x5dd2b7(0x82)]['id']});}[_0x7b21c5(0x70)](_0x5cea49,_0x29be84){var _0x5d9b76=_0x7b21c5;this[_0x5d9b76(0x6d)][_0x5d9b76(0x68)](_0x5cea49)[_0x5d9b76(0x7d)]({'content':_0x29be84});}[_0x7b21c5(0x7f)](_0x20842f){var _0x64a338=_0x7b21c5;this[_0x64a338(0x6d)][_0x64a338(0x68)](_0x20842f)[_0x64a338(0x6c)]();}[_0x7b21c5(0x69)](){var _0x1d60f5=_0x7b21c5;this[_0x1d60f5(0x83)](),this[_0x1d60f5(0x6d)][_0x1d60f5(0x71)]=!0x1;}}