@ckeditor/ckeditor5-revision-history
Version:
Document revision history feature for CKEditor 5.
23 lines • 2.62 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. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
function _0x3cef(){var _0xbb0b5=['188687rDuJmV','long','13368wfRenb','2aHhLQH','2873180AtESKz','110OgVnJx','7ViRQJH','9OXyCNI','632864LzoseY','toLocaleTimeString','toLocaleDateString','266550dWObdB','11swXDvH','numeric','683460LFRhEY','1329174QrOuZj'];_0x3cef=function(){return _0xbb0b5;};return _0x3cef();}(function(_0xdbb587,_0x427007){var _0x370e8e=_0x50ff,_0x5ef775=_0xdbb587();while(!![]){try{var _0x736d84=parseInt(_0x370e8e(0x160))/0x1+-parseInt(_0x370e8e(0x163))/0x2*(parseInt(_0x370e8e(0x15f))/0x3)+parseInt(_0x370e8e(0x15e))/0x4+-parseInt(_0x370e8e(0x165))/0x5*(-parseInt(_0x370e8e(0x15b))/0x6)+-parseInt(_0x370e8e(0x166))/0x7*(parseInt(_0x370e8e(0x158))/0x8)+parseInt(_0x370e8e(0x167))/0x9*(-parseInt(_0x370e8e(0x164))/0xa)+parseInt(_0x370e8e(0x15c))/0xb*(-parseInt(_0x370e8e(0x162))/0xc);if(_0x736d84===_0x427007)break;else _0x5ef775['push'](_0x5ef775['shift']());}catch(_0x1becf7){_0x5ef775['push'](_0x5ef775['shift']());}}}(_0x3cef,0x807e0));function _0x50ff(_0x34c1e4,_0x597394){var _0x3cefca=_0x3cef();return _0x50ff=function(_0x50ff3c,_0x5247db){_0x50ff3c=_0x50ff3c-0x158;var _0x2b3d90=_0x3cefca[_0x50ff3c];return _0x2b3d90;},_0x50ff(_0x34c1e4,_0x597394);}export function dateToPrettyFormat(_0x28660c,_0x2a5018){var _0x2fb869=_0x50ff;return _0x2a5018[_0x2fb869(0x15a)](_0x28660c,{'month':_0x2fb869(0x161),'day':_0x2fb869(0x15d)})+',\x20'+_0x2a5018[_0x2fb869(0x159)](_0x28660c,{'hour':_0x2fb869(0x15d),'minute':_0x2fb869(0x15d)});}