@ckeditor/ckeditor5-track-changes
Version:
CKEditor 5 track changes plugin.
23 lines • 3.64 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 _0x29c173=_0x7616;function _0x7616(_0x4c1f2d,_0x2ac633){const _0x3bc009=_0x3bc0();return _0x7616=function(_0x7616bc,_0x3ce3d9){_0x7616bc=_0x7616bc-0x1e8;let _0x42d65b=_0x3bc009[_0x7616bc];return _0x42d65b;},_0x7616(_0x4c1f2d,_0x2ac633);}function _0x3bc0(){const _0x4f8161=['_suggestions','some','97026eEuwzS','26230muCSUQ','_isEnabledBasedOnSelection','1818276mosiww','model','363iIpmja','isEnabled','_command','40790AAwNCv','91xipxvU','editor','getRanges','812775ISmLGh','39WTROVI','refresh','4288KVnmIJ','canEditAt','4NfsFib','1060155TpdENT','6093SQvCjC','values','2NKSURB','execute','from','isInContent'];_0x3bc0=function(){return _0x4f8161;};return _0x3bc0();}(function(_0x24f236,_0x325f2c){const _0x35df5b=_0x7616,_0x42d86c=_0x24f236();while(!![]){try{const _0x2cde91=parseInt(_0x35df5b(0x1f7))/0x1+parseInt(_0x35df5b(0x1f0))/0x2*(parseInt(_0x35df5b(0x202))/0x3)+parseInt(_0x35df5b(0x1ec))/0x4*(-parseInt(_0x35df5b(0x1ed))/0x5)+-parseInt(_0x35df5b(0x1f6))/0x6*(-parseInt(_0x35df5b(0x1ff))/0x7)+-parseInt(_0x35df5b(0x1ea))/0x8*(parseInt(_0x35df5b(0x1ee))/0x9)+-parseInt(_0x35df5b(0x1fe))/0xa*(parseInt(_0x35df5b(0x1fb))/0xb)+parseInt(_0x35df5b(0x1f9))/0xc*(parseInt(_0x35df5b(0x1e8))/0xd);if(_0x2cde91===_0x325f2c)break;else _0x42d86c['push'](_0x42d86c['shift']());}catch(_0xf47603){_0x42d86c['push'](_0x42d86c['shift']());}}}(_0x3bc0,0x3da15));import{Command as _0x6fac4b}from'ckeditor5/src/core.js';import{sortSuggestions as _0x3dedf2,executeCommandForSuggestions as _0x506d21}from'../utils/utils.js';export class ExecuteOnAllSuggestionsCommand extends _0x6fac4b{[_0x29c173(0x1fd)];[_0x29c173(0x1f4)];constructor(_0x13e77c,_0x404307,_0x994bfb){const _0x6f71b7=_0x29c173;super(_0x13e77c),this[_0x6f71b7(0x1fd)]=_0x404307,this[_0x6f71b7(0x1f4)]=_0x994bfb,this[_0x6f71b7(0x1e9)](),this[_0x6f71b7(0x1f8)]=!0x1;}[_0x29c173(0x1e9)](){const _0x1b8432=_0x29c173,_0x5905ef=Array[_0x1b8432(0x1f2)](this[_0x1b8432(0x1f4)][_0x1b8432(0x1ef)]())[_0x1b8432(0x1f5)](_0xce9d83=>_0xce9d83[_0x1b8432(0x1f3)]);this[_0x1b8432(0x1fc)]=this[_0x1b8432(0x1fd)][_0x1b8432(0x1fc)]&&_0x5905ef;}[_0x29c173(0x1f1)](){const _0x13ef54=_0x29c173,_0x76b6c5=_0x3dedf2(Array[_0x13ef54(0x1f2)](this[_0x13ef54(0x1f4)][_0x13ef54(0x1ef)]()));for(const _0x5f00d2 of _0x76b6c5){const _0x5bbf52=_0x5f00d2[_0x13ef54(0x201)]();if(!this[_0x13ef54(0x200)][_0x13ef54(0x1fa)][_0x13ef54(0x1eb)](_0x5bbf52))return;}_0x506d21(this[_0x13ef54(0x200)][_0x13ef54(0x1fa)],this[_0x13ef54(0x1fd)],_0x76b6c5);}}