@ckeditor/ckeditor5-track-changes
Version:
CKEditor 5 track changes plugin.
23 lines • 3.42 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 _0x458157=_0x5a20;(function(_0x3d194e,_0x319c46){const _0x25cdf1=_0x5a20,_0x39b634=_0x3d194e();while(!![]){try{const _0x2d0a22=parseInt(_0x25cdf1(0xd0))/0x1*(-parseInt(_0x25cdf1(0xbd))/0x2)+-parseInt(_0x25cdf1(0xc1))/0x3+-parseInt(_0x25cdf1(0xd1))/0x4+-parseInt(_0x25cdf1(0xc7))/0x5+parseInt(_0x25cdf1(0xce))/0x6+-parseInt(_0x25cdf1(0xc4))/0x7+-parseInt(_0x25cdf1(0xca))/0x8*(-parseInt(_0x25cdf1(0xcb))/0x9);if(_0x2d0a22===_0x319c46)break;else _0x39b634['push'](_0x39b634['shift']());}catch(_0x4437de){_0x39b634['push'](_0x39b634['shift']());}}}(_0x2806,0xc3822));import{Command as _0x21b9ab}from'ckeditor5/src/core.js';function _0x2806(){const _0x118960=['execute','some','4254275sPUBph','refresh','getRanges','32PdACnb','7977006NlmtOw','_isEnabledBasedOnSelection','_suggestions','4933398ZmFQKh','model','1mLLlBz','3357652rhoESj','isInContent','values','825782ihkmqH','_command','from','isEnabled','3271470noyLVm','editor','canEditAt','2611826Ixgpbb'];_0x2806=function(){return _0x118960;};return _0x2806();}import{sortSuggestions as _0x427697,executeCommandForSuggestions as _0x4f1a4d}from'../utils/utils.js';function _0x5a20(_0x1fe845,_0x36559d){const _0x280651=_0x2806();return _0x5a20=function(_0x5a2066,_0x5e7376){_0x5a2066=_0x5a2066-0xbd;let _0x39b95e=_0x280651[_0x5a2066];return _0x39b95e;},_0x5a20(_0x1fe845,_0x36559d);}export default class R extends _0x21b9ab{[_0x458157(0xbe)];[_0x458157(0xcd)];constructor(_0x5aa14f,_0x50fd8e,_0x4bb330){const _0x213aa6=_0x458157;super(_0x5aa14f),this[_0x213aa6(0xbe)]=_0x50fd8e,this[_0x213aa6(0xcd)]=_0x4bb330,this[_0x213aa6(0xc8)](),this[_0x213aa6(0xcc)]=!0x1;}[_0x458157(0xc8)](){const _0x1246a4=_0x458157,_0x2e23d3=Array[_0x1246a4(0xbf)](this[_0x1246a4(0xcd)][_0x1246a4(0xd3)]())[_0x1246a4(0xc6)](_0x4eb762=>_0x4eb762[_0x1246a4(0xd2)]);this[_0x1246a4(0xc0)]=this[_0x1246a4(0xbe)][_0x1246a4(0xc0)]&&_0x2e23d3;}[_0x458157(0xc5)](){const _0x57dccc=_0x458157,_0x1de0ef=_0x427697(Array[_0x57dccc(0xbf)](this[_0x57dccc(0xcd)][_0x57dccc(0xd3)]()));for(const _0x1177c9 of _0x1de0ef){const _0x1329b9=_0x1177c9[_0x57dccc(0xc9)]();if(!this[_0x57dccc(0xc2)][_0x57dccc(0xcf)][_0x57dccc(0xc3)](_0x1329b9))return;}_0x4f1a4d(this[_0x57dccc(0xc2)][_0x57dccc(0xcf)],this[_0x57dccc(0xbe)],_0x1de0ef);}}