@ckeditor/ckeditor5-track-changes
Version:
CKEditor 5 track changes plugin.
23 lines • 3.34 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 _0x25d44e=_0x1d09;function _0x1d09(_0x2103da,_0x2e5b8d){const _0x702d75=_0x702d();return _0x1d09=function(_0x1d09b8,_0x188cbf){_0x1d09b8=_0x1d09b8-0x1ca;let _0xc14573=_0x702d75[_0x1d09b8];return _0xc14573;},_0x1d09(_0x2103da,_0x2e5b8d);}function _0x702d(){const _0x537a2a=['getRanges','editor','plugins','329MESGNS','_isEnabledBasedOnSelection','3175670dLzOrh','canEditAt','isEnabled','1240820isepyJ','113718wwdzpg','461677bYhTEK','execute','discardSuggestion','track-changes-discard-suggestion-not-found','model','refresh','3382776CWdmaH','get','_suggestions','156rerVWP','7893896WkKFTm','8TpAnWL','TrackChangesEditing','22MhQqcb','29410StmdtH'];_0x702d=function(){return _0x537a2a;};return _0x702d();}(function(_0x27fdf4,_0x148772){const _0x1b9c8d=_0x1d09,_0x2eb9cf=_0x27fdf4();while(!![]){try{const _0x3aaf32=parseInt(_0x1b9c8d(0x1cf))/0x1+-parseInt(_0x1b9c8d(0x1dd))/0x2*(parseInt(_0x1b9c8d(0x1d8))/0x3)+parseInt(_0x1b9c8d(0x1da))/0x4*(parseInt(_0x1b9c8d(0x1cd))/0x5)+parseInt(_0x1b9c8d(0x1ce))/0x6*(-parseInt(_0x1b9c8d(0x1e1))/0x7)+parseInt(_0x1b9c8d(0x1d9))/0x8+-parseInt(_0x1b9c8d(0x1d5))/0x9+-parseInt(_0x1b9c8d(0x1ca))/0xa*(-parseInt(_0x1b9c8d(0x1dc))/0xb);if(_0x3aaf32===_0x148772)break;else _0x2eb9cf['push'](_0x2eb9cf['shift']());}catch(_0xc593a5){_0x2eb9cf['push'](_0x2eb9cf['shift']());}}}(_0x702d,0x85ed1));import{Command as _0x5e48c8}from'ckeditor5/src/core.js';import{CKEditorError as _0x4685f4}from'ckeditor5/src/utils.js';export class DiscardSuggestionCommand extends _0x5e48c8{[_0x25d44e(0x1d7)];constructor(_0x49e62e,_0x294d67){const _0x43b36a=_0x25d44e;super(_0x49e62e),this[_0x43b36a(0x1d7)]=_0x294d67,this[_0x43b36a(0x1d4)](),this[_0x43b36a(0x1e2)]=!0x1;}[_0x25d44e(0x1d4)](){const _0x2822be=_0x25d44e;this[_0x2822be(0x1cc)]=!0x0;}[_0x25d44e(0x1d0)](_0x5d8e05){const _0x1b6706=_0x25d44e,_0x188728=this[_0x1b6706(0x1d7)][_0x1b6706(0x1d6)](_0x5d8e05);if(!_0x188728)throw new _0x4685f4(_0x1b6706(0x1d2),this);const _0x511129=_0x188728[_0x1b6706(0x1de)]();this[_0x1b6706(0x1df)][_0x1b6706(0x1d3)][_0x1b6706(0x1cb)](_0x511129)&&this[_0x1b6706(0x1df)][_0x1b6706(0x1e0)][_0x1b6706(0x1d6)](_0x1b6706(0x1db))[_0x1b6706(0x1d1)](_0x188728);}}