UNPKG

@ckeditor/ckeditor5-track-changes

Version:

CKEditor 5 track changes plugin.

23 lines 3.92 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 _0x41f2(_0x4b6d1e,_0x35c324){const _0x148af5=_0x148a();return _0x41f2=function(_0x41f20e,_0x2b2e74){_0x41f20e=_0x41f20e-0x9e;let _0x1de100=_0x148af5[_0x41f20e];return _0x1de100;},_0x41f2(_0x4b6d1e,_0x35c324);}const _0x1ea710=_0x41f2;(function(_0x32313c,_0x229a3c){const _0x4fe848=_0x41f2,_0x3894c0=_0x32313c();while(!![]){try{const _0x508ab1=parseInt(_0x4fe848(0xab))/0x1+-parseInt(_0x4fe848(0xaa))/0x2*(-parseInt(_0x4fe848(0xae))/0x3)+parseInt(_0x4fe848(0xb6))/0x4+parseInt(_0x4fe848(0xb8))/0x5*(-parseInt(_0x4fe848(0xaf))/0x6)+parseInt(_0x4fe848(0xbe))/0x7*(parseInt(_0x4fe848(0xa1))/0x8)+-parseInt(_0x4fe848(0xa5))/0x9*(parseInt(_0x4fe848(0x9f))/0xa)+-parseInt(_0x4fe848(0xa4))/0xb;if(_0x508ab1===_0x229a3c)break;else _0x3894c0['push'](_0x3894c0['shift']());}catch(_0x4e86b8){_0x3894c0['push'](_0x3894c0['shift']());}}}(_0x148a,0xdba63));function _0x148a(){const _0x40600a=['8kgoWxq','element','dialogRects','12359127nBnAeK','5715oyUeIj','render','width','fire','createElement','1224506MHxRoI','1708230BXJEDa','innerHTML','setTemplate','3KRuywd','36DFUfXn','setPreviewData','push','height','previewDataReady','options','content','6302092yGILNW','className','1192615VllipC','focus','style','data-ck-root-name','div','setAttribute','166789XzbEHJ','ck-track-changes-preview','ck-reset','\x20ck-track-changes-preview__root-container','7330IWzUIP','classes'];_0x148a=function(){return _0x40600a;};return _0x148a();}import{View as _0x31c267}from'ckeditor5/src/ui.js';export default class Me extends _0x31c267{[_0x1ea710(0xb4)];constructor(_0x573838,_0x13fbec){const _0x20d84b=_0x1ea710;super(_0x573838),this[_0x20d84b(0xb4)]=_0x13fbec,this[_0x20d84b(0xad)]({'tag':_0x20d84b(0xbc),'attributes':{'class':['ck',_0x20d84b(0xc0),_0x20d84b(0xbf)],'tabindex':-0x1}});}[_0x1ea710(0xa6)](){const _0x10c269=_0x1ea710;super[_0x10c269(0xa6)](),this[_0x10c269(0xa2)][_0x10c269(0xba)][_0x10c269(0xa7)]=this[_0x10c269(0xb4)][_0x10c269(0xa3)][_0x10c269(0xa7)]+'px',this[_0x10c269(0xa2)][_0x10c269(0xba)][_0x10c269(0xb2)]=this[_0x10c269(0xb4)][_0x10c269(0xa3)][_0x10c269(0xb2)]+'px';}[_0x1ea710(0xb0)](_0x2c7c18,_0x503ca2){const _0x390468=_0x1ea710;if(!this[_0x390468(0xa2)])return;const _0x2652df=[];for(const [_0x198c36,_0x143a97]of _0x2c7c18){const _0x183cc2=document[_0x390468(0xa9)](_0x390468(0xbc));_0x183cc2[_0x390468(0xbd)](_0x390468(0xbb),_0x198c36),_0x183cc2[_0x390468(0xb7)]=_0x143a97[_0x390468(0xa0)]+_0x390468(0x9e),_0x183cc2[_0x390468(0xac)]=_0x143a97[_0x390468(0xb5)],_0x2652df[_0x390468(0xb1)](_0x183cc2);}_0x503ca2(this[_0x390468(0xa2)],_0x2652df),this[_0x390468(0xa2)][_0x390468(0xba)][_0x390468(0xb2)]='',this[_0x390468(0xa8)](_0x390468(0xb3));}[_0x1ea710(0xb9)](){const _0xa3c611=_0x1ea710;this[_0xa3c611(0xa2)][_0xa3c611(0xb9)]();}}