@ckeditor/ckeditor5-track-changes
Version:
CKEditor 5 track changes plugin.
23 lines • 4 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 _0xc61ab2=_0x5908;function _0x5908(_0xf91f78,_0x211c07){const _0x12cfdb=_0x12cf();return _0x5908=function(_0x590867,_0x41f135){_0x590867=_0x590867-0x126;let _0x2bdbdf=_0x12cfdb[_0x590867];return _0x2bdbdf;},_0x5908(_0xf91f78,_0x211c07);}(function(_0x56d685,_0xb06221){const _0x577e3f=_0x5908,_0x58fc6d=_0x56d685();while(!![]){try{const _0x2fe68f=-parseInt(_0x577e3f(0x13c))/0x1+-parseInt(_0x577e3f(0x13a))/0x2*(parseInt(_0x577e3f(0x142))/0x3)+-parseInt(_0x577e3f(0x12d))/0x4*(-parseInt(_0x577e3f(0x143))/0x5)+parseInt(_0x577e3f(0x12a))/0x6*(parseInt(_0x577e3f(0x127))/0x7)+-parseInt(_0x577e3f(0x144))/0x8+-parseInt(_0x577e3f(0x129))/0x9+parseInt(_0x577e3f(0x12b))/0xa;if(_0x2fe68f===_0xb06221)break;else _0x58fc6d['push'](_0x58fc6d['shift']());}catch(_0x44a6b7){_0x58fc6d['push'](_0x58fc6d['shift']());}}}(_0x12cf,0x333b6));function _0x12cf(){const _0x5eed94=['3kkoIpZ','9665cCGFWp','2443272KqcGIU','ELEMENT_CONTENT_TABLE','getAttribute','newValue','editor','get','layout','format','45297TfGmXt','afterInit','2304162TNMUHV','162ImlOeN','10019780uPJxpd','insertTableLayout','388YzcPnb','registerElementLabel','ELEMENT_LAYOUT_TABLE','enableCommand','*Set\x20table\x20type:*\x20%0','locale','registerBlockAttribute','descriptionFactory','TrackChangesEditing','element','plugins','registerDescriptionCallback','tableType','619820eUDEmR','content','283013fEWkHV','TableLayout','table','has','key','enableDefaultAttributesIntegration'];_0x12cf=function(){return _0x5eed94;};return _0x12cf();}import{Plugin as _0x3b67f9}from'ckeditor5/src/core.js';import{getTranslation as _0x5bb187}from'../utils/common-translations.js';export class TrackChangesTableLayout extends _0x3b67f9{[_0xc61ab2(0x128)](){const _0xcc73c1=_0xc61ab2,_0x51f803=this[_0xcc73c1(0x148)],_0x1f0326=_0x51f803[_0xcc73c1(0x132)],_0x5f5567=_0x51f803[_0xcc73c1(0x137)][_0xcc73c1(0x149)](_0xcc73c1(0x135));function _0x1106e1(_0x39e807){const _0x18fbcf=_0xcc73c1;return{'type':_0x18fbcf(0x126),'content':''+_0x5bb187(_0x1f0326,_0x18fbcf(0x131),_0x39e807)};}_0x51f803[_0xcc73c1(0x137)][_0xcc73c1(0x13f)](_0xcc73c1(0x13d))&&(_0x5f5567[_0xcc73c1(0x130)](_0xcc73c1(0x12c)),_0x5f5567[_0xcc73c1(0x141)](_0xcc73c1(0x139)),_0x5f5567[_0xcc73c1(0x133)](_0xcc73c1(0x139)),_0x5f5567[_0xcc73c1(0x134)][_0xcc73c1(0x12e)](_0x22d35a=>_0x22d35a['is'](_0xcc73c1(0x136),_0xcc73c1(0x13e))&&_0xcc73c1(0x14a)===_0x22d35a[_0xcc73c1(0x146)](_0xcc73c1(0x139)),_0x560489=>_0x5bb187(_0x1f0326,_0xcc73c1(0x12f),_0x560489)),_0x5f5567[_0xcc73c1(0x134)][_0xcc73c1(0x138)](_0x25ce59=>{const _0x3f0e91=_0xcc73c1,{data:_0x2dd4e8}=_0x25ce59;if(_0x2dd4e8&&_0x3f0e91(0x139)==_0x2dd4e8[_0x3f0e91(0x140)])switch(_0x2dd4e8[_0x3f0e91(0x147)]){case _0x3f0e91(0x14a):return _0x1106e1(_0x5bb187(_0x1f0326,_0x3f0e91(0x12f)));case _0x3f0e91(0x13b):return _0x1106e1(_0x5bb187(_0x1f0326,_0x3f0e91(0x145)));}}));}}