UNPKG

@ckeditor/ckeditor5-track-changes

Version:

CKEditor 5 track changes plugin.

23 lines 3.33 kB
/* * 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. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ function _0x3610(_0x733656,_0x4ce7c4){const _0x227acf=_0x227a();return _0x3610=function(_0x36105f,_0x534d93){_0x36105f=_0x36105f-0x172;let _0x56dca=_0x227acf[_0x36105f];return _0x56dca;},_0x3610(_0x733656,_0x4ce7c4);}const _0x6c061a=_0x3610;(function(_0x20dfb8,_0x50a4a9){const _0x5e8f8c=_0x3610,_0xbb4a92=_0x20dfb8();while(!![]){try{const _0x54c7c1=parseInt(_0x5e8f8c(0x17d))/0x1+parseInt(_0x5e8f8c(0x18a))/0x2+-parseInt(_0x5e8f8c(0x187))/0x3*(-parseInt(_0x5e8f8c(0x172))/0x4)+parseInt(_0x5e8f8c(0x177))/0x5*(parseInt(_0x5e8f8c(0x184))/0x6)+-parseInt(_0x5e8f8c(0x181))/0x7*(parseInt(_0x5e8f8c(0x178))/0x8)+-parseInt(_0x5e8f8c(0x176))/0x9+-parseInt(_0x5e8f8c(0x189))/0xa*(parseInt(_0x5e8f8c(0x179))/0xb);if(_0x54c7c1===_0x50a4a9)break;else _0xbb4a92['push'](_0xbb4a92['shift']());}catch(_0x133e73){_0xbb4a92['push'](_0xbb4a92['shift']());}}}(_0x227a,0x8836b));import{Command as _0x429282}from'ckeditor5/src/core.js';import{CKEditorError as _0x37ebf5}from'ckeditor5/src/utils.js';function _0x227a(){const _0x164ef7=['plugins','execute','592494JVDOdz','isEnabled','_isEnabledBasedOnSelection','123144GUXgEY','editor','4750ljioTp','1444414iiiABg','88eBcbpX','TrackChangesEditing','discardSuggestion','getRanges','5102379ESfCjo','45YsUVnz','8auEPHX','29722BopGlI','refresh','canEditAt','get','295525mzETCu','model','_suggestions','track-changes-discard-suggestion-not-found','2808519XBFqZx'];_0x227a=function(){return _0x164ef7;};return _0x227a();}export class DiscardSuggestionCommand extends _0x429282{[_0x6c061a(0x17f)];constructor(_0x1598da,_0x214d24){const _0x61e500=_0x6c061a;super(_0x1598da),this[_0x61e500(0x17f)]=_0x214d24,this[_0x61e500(0x17a)](),this[_0x61e500(0x186)]=!0x1;}[_0x6c061a(0x17a)](){const _0xd91f36=_0x6c061a;this[_0xd91f36(0x185)]=!0x0;}[_0x6c061a(0x183)](_0x224260){const _0x360bec=_0x6c061a,_0x5252de=this[_0x360bec(0x17f)][_0x360bec(0x17c)](_0x224260);if(!_0x5252de)throw new _0x37ebf5(_0x360bec(0x180),this);const _0x57859c=_0x5252de[_0x360bec(0x175)]();this[_0x360bec(0x188)][_0x360bec(0x17e)][_0x360bec(0x17b)](_0x57859c)&&this[_0x360bec(0x188)][_0x360bec(0x182)][_0x360bec(0x17c)](_0x360bec(0x173))[_0x360bec(0x174)](_0x5252de);}}