@ckeditor/ckeditor5-track-changes
Version:
CKEditor 5 track changes plugin.
23 lines • 4.1 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 _0x2c9f62=_0x3887;function _0x2841(){const _0x2a0823=['1005919wGNJRi','*Remove\x20format:*\x20%0','newValue','listMarkerStyle','MultiLevelList','format','has','get','head','16532yXLJdc','396wLXZUQ','461328fSkvSa','oldValue','registerDescriptionCallback','editor','afterInit','enableDefaultAttributesIntegration','1585410msASxB','TrackChangesEditing','992166cKoxtc','data','registerBlockAttribute','locale','listType','descriptionFactory','key','*Set\x20format:*\x20%0','492JbLuQi','3530PxrjUg','plugins','handleDescriptions','43318mErfFu','74776cOrmAT','next','2wdqWBa','ELEMENT_MULTI_LEVEL_LIST','multiLevelList'];_0x2841=function(){return _0x2a0823;};return _0x2841();}(function(_0xd4578a,_0x3b943f){const _0xb0ddae=_0x3887,_0x473773=_0xd4578a();while(!![]){try{const _0x4d0e02=parseInt(_0xb0ddae(0xb8))/0x1*(parseInt(_0xb0ddae(0xb5))/0x2)+parseInt(_0xb0ddae(0xd3))/0x3*(parseInt(_0xb0ddae(0xc1))/0x4)+-parseInt(_0xb0ddae(0xc9))/0x5+parseInt(_0xb0ddae(0xc3))/0x6+parseInt(_0xb0ddae(0xcb))/0x7+parseInt(_0xb0ddae(0xb3))/0x8*(parseInt(_0xb0ddae(0xc2))/0x9)+-parseInt(_0xb0ddae(0xd4))/0xa*(parseInt(_0xb0ddae(0xb2))/0xb);if(_0x4d0e02===_0x3b943f)break;else _0x473773['push'](_0x473773['shift']());}catch(_0x4387ea){_0x473773['push'](_0x473773['shift']());}}}(_0x2841,0x940dd));import{Plugin as _0xec8f98}from'ckeditor5/src/core.js';import{getTranslation as _0x421625}from'../utils/common-translations.js';function _0x3887(_0x16717e,_0x378bf1){const _0x2841f9=_0x2841();return _0x3887=function(_0x388792,_0x553e9c){_0x388792=_0x388792-0xb0;let _0x30fa65=_0x2841f9[_0x388792];return _0x30fa65;},_0x3887(_0x16717e,_0x378bf1);}export default class kt extends _0xec8f98{[_0x2c9f62(0xc7)](){const _0x125371=_0x2c9f62,_0x4878f3=this[_0x125371(0xc6)],_0x338f28=_0x4878f3[_0x125371(0xb0)][_0x125371(0xbf)](_0x125371(0xca));_0x4878f3[_0x125371(0xb0)][_0x125371(0xbe)](_0x125371(0xbc))&&(_0x338f28[_0x125371(0xc8)](_0x125371(0xb7)),_0x338f28[_0x125371(0xcd)](_0x125371(0xbb)),_0x338f28[_0x125371(0xd0)][_0x125371(0xc5)](_0x10892a=>this[_0x125371(0xb1)](_0x10892a)));}[_0x2c9f62(0xb1)](_0x475d52){const _0x3b8289=_0x2c9f62,_0x1f2e17=this[_0x3b8289(0xc6)][_0x3b8289(0xce)],{data:_0x2f18e0}=_0x475d52,_0x533e24={'type':_0x3b8289(0xbd),'content':''};if(_0x2f18e0&&_0x3b8289(0xbb)==_0x2f18e0[_0x3b8289(0xd1)]){if(!_0x2f18e0[_0x3b8289(0xc4)])return{'type':_0x3b8289(0xbd),'content':_0x421625(_0x1f2e17,_0x3b8289(0xd2),_0x421625(_0x1f2e17,_0x3b8289(0xb6)))+'\x20('+_0x2f18e0[_0x3b8289(0xba)]+')'};if(!_0x2f18e0[_0x3b8289(0xba)]){let _0x226382=_0x475d52[_0x3b8289(0xc0)];for(;_0x226382;){if(_0x226382[_0x3b8289(0xcc)]&&_0x3b8289(0xcf)==_0x226382[_0x3b8289(0xcc)][_0x3b8289(0xd1)]&&_0x226382[_0x3b8289(0xcc)][_0x3b8289(0xba)])return _0x533e24;_0x226382=_0x226382[_0x3b8289(0xb4)];}return{'type':_0x3b8289(0xbd),'content':_0x421625(_0x1f2e17,_0x3b8289(0xb9),_0x421625(_0x1f2e17,_0x3b8289(0xb6)))+'\x20('+_0x2f18e0[_0x3b8289(0xc4)]+')'};}}}}