UNPKG

@ckeditor/ckeditor5-track-changes

Version:

CKEditor 5 track changes plugin.

23 lines 3.25 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 _0x20c2(_0x3a0d3a,_0x43ae65){const _0x18da37=_0x18da();return _0x20c2=function(_0x20c2eb,_0x48931d){_0x20c2eb=_0x20c2eb-0xde;let _0x4b408f=_0x18da37[_0x20c2eb];return _0x4b408f;},_0x20c2(_0x3a0d3a,_0x43ae65);}const _0x719ab2=_0x20c2;function _0x18da(){const _0x1b6135=['68wVMawA','271370JnXSwV','get','editor','162FQCSDk','plugins','_suggestions','4491640ruOvAs','track-changes-accept-suggestion-not-found','976419pYrKqr','canEditAt','4949091Tbcpjq','refresh','_isEnabledBasedOnSelection','130JiMAkL','2278737SdOzix','isEnabled','acceptSuggestion','11098kDRdmf','model','execute','TrackChangesEditing','getRanges','1252122UjRlME'];_0x18da=function(){return _0x1b6135;};return _0x18da();}(function(_0x2c7766,_0x14edd4){const _0x2f2a86=_0x20c2,_0x4a22fd=_0x2c7766();while(!![]){try{const _0x36917a=-parseInt(_0x2f2a86(0xeb))/0x1*(-parseInt(_0x2f2a86(0xf5))/0x2)+-parseInt(_0x2f2a86(0xe8))/0x3+parseInt(_0x2f2a86(0xf1))/0x4*(parseInt(_0x2f2a86(0xf2))/0x5)+-parseInt(_0x2f2a86(0xf0))/0x6+parseInt(_0x2f2a86(0xe4))/0x7+parseInt(_0x2f2a86(0xe0))/0x8+parseInt(_0x2f2a86(0xe2))/0x9*(-parseInt(_0x2f2a86(0xe7))/0xa);if(_0x36917a===_0x14edd4)break;else _0x4a22fd['push'](_0x4a22fd['shift']());}catch(_0x5debe3){_0x4a22fd['push'](_0x4a22fd['shift']());}}}(_0x18da,0xadaf7));import{Command as _0x2cdcc2}from'ckeditor5/src/core.js';import{CKEditorError as _0x314ad6}from'ckeditor5/src/utils.js';export default class O extends _0x2cdcc2{[_0x719ab2(0xdf)];constructor(_0x2d7f5d,_0x5dfc0a){const _0x1a1492=_0x719ab2;super(_0x2d7f5d),this[_0x1a1492(0xdf)]=_0x5dfc0a,this[_0x1a1492(0xe5)](),this[_0x1a1492(0xe6)]=!0x1;}[_0x719ab2(0xe5)](){const _0x333e7d=_0x719ab2;this[_0x333e7d(0xe9)]=!0x0;}[_0x719ab2(0xed)](_0x2f6938){const _0x391aa1=_0x719ab2,_0x50446e=this[_0x391aa1(0xdf)][_0x391aa1(0xf3)](_0x2f6938);if(!_0x50446e)throw new _0x314ad6(_0x391aa1(0xe1),this);const _0x26882d=_0x50446e[_0x391aa1(0xef)]();this[_0x391aa1(0xf4)][_0x391aa1(0xec)][_0x391aa1(0xe3)](_0x26882d)&&this[_0x391aa1(0xf4)][_0x391aa1(0xde)][_0x391aa1(0xf3)](_0x391aa1(0xee))[_0x391aa1(0xea)](_0x50446e);}}