@ckeditor/ckeditor5-track-changes
Version:
CKEditor 5 track changes plugin.
23 lines • 3.29 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 _0x307ab6=_0x1766;function _0xd706(){const _0x424194=['1054032VllGiD','2076558MGIbed','7375880RKKcEf','9hQNAoA','execute','track-changes-discard-suggestion-not-found','4tyRFFk','getRanges','8747670MnBIpN','model','editor','TrackChangesEditing','_suggestions','7334hUFJjE','discardSuggestion','canEditAt','get','169ejMhBq','2196788iJLXCL','refresh','5893489FoYkKl','plugins','_isEnabledBasedOnSelection','5lhraWQ','isEnabled'];_0xd706=function(){return _0x424194;};return _0xd706();}(function(_0x5006aa,_0x2abcd5){const _0x4ffc3a=_0x1766,_0x3cd83b=_0x5006aa();while(!![]){try{const _0x48ec38=-parseInt(_0x4ffc3a(0x80))/0x1*(-parseInt(_0x4ffc3a(0x7c))/0x2)+-parseInt(_0x4ffc3a(0x6f))/0x3*(parseInt(_0x4ffc3a(0x75))/0x4)+parseInt(_0x4ffc3a(0x6d))/0x5*(-parseInt(_0x4ffc3a(0x70))/0x6)+parseInt(_0x4ffc3a(0x83))/0x7+parseInt(_0x4ffc3a(0x71))/0x8+-parseInt(_0x4ffc3a(0x72))/0x9*(parseInt(_0x4ffc3a(0x77))/0xa)+-parseInt(_0x4ffc3a(0x81))/0xb;if(_0x48ec38===_0x2abcd5)break;else _0x3cd83b['push'](_0x3cd83b['shift']());}catch(_0x33a4ce){_0x3cd83b['push'](_0x3cd83b['shift']());}}}(_0xd706,0x9558b));function _0x1766(_0x242988,_0x362dcd){const _0xd706ea=_0xd706();return _0x1766=function(_0x176664,_0x19abae){_0x176664=_0x176664-0x6d;let _0x4ef840=_0xd706ea[_0x176664];return _0x4ef840;},_0x1766(_0x242988,_0x362dcd);}import{Command as _0x55319c}from'ckeditor5/src/core.js';import{CKEditorError as _0xb578a7}from'ckeditor5/src/utils.js';export default class R extends _0x55319c{[_0x307ab6(0x7b)];constructor(_0x300a5e,_0x5125f0){const _0x283a2a=_0x307ab6;super(_0x300a5e),this[_0x283a2a(0x7b)]=_0x5125f0,this[_0x283a2a(0x82)](),this[_0x283a2a(0x85)]=!0x1;}[_0x307ab6(0x82)](){const _0x527470=_0x307ab6;this[_0x527470(0x6e)]=!0x0;}[_0x307ab6(0x73)](_0x4e1466){const _0x11948d=_0x307ab6,_0x52c13d=this[_0x11948d(0x7b)][_0x11948d(0x7f)](_0x4e1466);if(!_0x52c13d)throw new _0xb578a7(_0x11948d(0x74),this);const _0x383f7b=_0x52c13d[_0x11948d(0x76)]();this[_0x11948d(0x79)][_0x11948d(0x78)][_0x11948d(0x7e)](_0x383f7b)&&this[_0x11948d(0x79)][_0x11948d(0x84)][_0x11948d(0x7f)](_0x11948d(0x7a))[_0x11948d(0x7d)](_0x52c13d);}}