@ckeditor/ckeditor5-collaboration-core
Version:
Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.
23 lines • 4.98 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. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
const _0x22b8f0=_0xe59e;(function(_0x3b1a3a,_0x6c1567){const _0x1eef24=_0xe59e,_0x3f9a6d=_0x3b1a3a();while(!![]){try{const _0x5db2a8=parseInt(_0x1eef24(0x1da))/0x1*(-parseInt(_0x1eef24(0x1d7))/0x2)+-parseInt(_0x1eef24(0x1e2))/0x3*(-parseInt(_0x1eef24(0x1f7))/0x4)+-parseInt(_0x1eef24(0x1f4))/0x5*(-parseInt(_0x1eef24(0x1e5))/0x6)+-parseInt(_0x1eef24(0x1fd))/0x7*(-parseInt(_0x1eef24(0x1ec))/0x8)+-parseInt(_0x1eef24(0x1f6))/0x9*(parseInt(_0x1eef24(0x1f3))/0xa)+parseInt(_0x1eef24(0x1e7))/0xb+-parseInt(_0x1eef24(0x1d8))/0xc*(-parseInt(_0x1eef24(0x1e9))/0xd);if(_0x5db2a8===_0x6c1567)break;else _0x3f9a6d['push'](_0x3f9a6d['shift']());}catch(_0x28abff){_0x3f9a6d['push'](_0x3f9a6d['shift']());}}}(_0x1b0f,0xf2558));import{ContextPlugin as _0x5753e6,Editor as _0xd31e86}from'ckeditor5/src/core.js';import{CKEditorError as _0x531823}from'ckeditor5/src/utils.js';function _0xe59e(_0x1d7d58,_0x9bd1ba){const _0x1b0ff2=_0x1b0f();return _0xe59e=function(_0xe59e23,_0x4d073f){_0xe59e23=_0xe59e23-0x1d3;let _0x8f9237=_0x1b0ff2[_0xe59e23];return _0x8f9237;},_0xe59e(_0x1d7d58,_0x9bd1ba);}export default class n extends _0x5753e6{static get[_0x22b8f0(0x1ed)](){const _0x479e40=_0x22b8f0;return _0x479e40(0x1e3);}static get[_0x22b8f0(0x1db)](){return!0x0;}static get[_0x22b8f0(0x1dc)](){return!0x0;}[_0x22b8f0(0x1e6)](_0xdc62e6,_0x1f99b8){const _0x1bf7af=_0x22b8f0;let _0x395ef7;if(_0x1f99b8||(_0x1f99b8=this[_0x1bf7af(0x1d5)][_0x1bf7af(0x1f5)][_0x1bf7af(0x1dd)](_0x1bf7af(0x1d6))),this[_0x1bf7af(0x1d5)][_0x1bf7af(0x1f5)][_0x1bf7af(0x1dd)](_0x1bf7af(0x1d6))==_0x1f99b8?_0x395ef7=this[_0x1bf7af(0x1d5)]:_0x1bf7af(0x1ee)in this[_0x1bf7af(0x1d5)]&&this[_0x1bf7af(0x1d5)][_0x1bf7af(0x1ee)]&&(_0x395ef7=this[_0x1bf7af(0x1d5)][_0x1bf7af(0x1ee)][_0x1bf7af(0x1fc)](_0x3af61d=>_0x3af61d[_0x1bf7af(0x1f5)][_0x1bf7af(0x1dd)](_0x1bf7af(0x1d6))==_0x1f99b8)),!_0x395ef7)throw new _0x531823(_0x1bf7af(0x1d4),null);const _0x5589b1=_0x395ef7[_0x1bf7af(0x1e0)],_0x4505d6=_0x5589b1[_0x1bf7af(0x1d9)](_0x1bf7af(0x1ef))?_0x5589b1[_0x1bf7af(0x1dd)](_0x1bf7af(0x1ef)):void 0x0,_0x1f028e=_0x5589b1[_0x1bf7af(0x1d9)](_0x1bf7af(0x1f9))&&_0x5589b1[_0x1bf7af(0x1dd)](_0x1bf7af(0x1f9)),_0x28ef39=_0xdc62e6[_0x1bf7af(0x1f1)](_0x1bf7af(0x1f2)),_0x515ebb=_0xdc62e6[_0x1bf7af(0x1f1)](_0x1bf7af(0x1fb)),_0x22911e=_0xdc62e6[_0x1bf7af(0x1f1)](_0x1bf7af(0x1de)),_0x4250f3=_0xdc62e6[_0x1bf7af(0x1f1)](_0x1bf7af(0x1f8)),_0x15b902=_0x4250f3||_0x22911e,_0x25af6f=_0x15b902||_0x515ebb,_0x1c0432=_0x28ef39||_0x15b902;(_0x1f028e&&(_0x1f028e[_0x1bf7af(0x1ea)]=!_0x28ef39&&_0x25af6f),_0x395ef7 instanceof _0xd31e86)&&(!(_0x28ef39||_0x25af6f&&_0x4505d6)?_0x395ef7[_0x1bf7af(0x1e8)](_0x1bf7af(0x1f0)):_0x395ef7[_0x1bf7af(0x1d3)](_0x1bf7af(0x1f0)));if(_0x4505d6){_0x4505d6[_0x1bf7af(0x1e6)]({'admin':_0x22911e,'modifyAll':_0x515ebb,'write':_0x4250f3,'resolve':_0x1c0432},_0x1f99b8);const _0x278d34=_0x395ef7 instanceof _0xd31e86&&_0x395ef7[_0x1bf7af(0x1e1)][_0x1bf7af(0x1dd)](_0x1bf7af(0x1fa));_0x278d34&&(_0x15b902?_0x278d34[_0x1bf7af(0x1df)](_0x1bf7af(0x1e4)):_0x278d34[_0x1bf7af(0x1eb)](_0x1bf7af(0x1e4)));}}}function _0x1b0f(){const _0x444aa9=['get','comment:admin','clearForceDisabled','plugins','commands','3LHElHx','Permissions','noPermissions','1840422SONVgf','setPermissions','14603941uKosNc','enableReadOnlyMode','14093573BOtqMi','isEnabled','forceDisabled','2159304MPWeMW','pluginName','editors','CommentsRepository','no-permissions','includes','document:write','20HeeMJT','15xpDHzq','config','4198275BbYlZZ','767760dnGoQA','comment:write','CommentsOnly','addCommentThread','comment:modify_all','find','7RhLlGS','disableReadOnlyMode','permissions-set-permissions-invalid-channel-id','context','collaboration.channelId','109898pNbwbd','12NfZTSG','has','34SBGAAz','isOfficialPlugin','isPremiumPlugin'];_0x1b0f=function(){return _0x444aa9;};return _0x1b0f();}