@ckeditor/ckeditor5-revision-history
Version:
Document revision history feature for CKEditor 5.
23 lines • 4.93 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 _0x2c3950=_0x2338;(function(_0x2bb12a,_0x501e55){const _0x37bff7=_0x2338,_0x11e901=_0x2bb12a();while(!![]){try{const _0x54da67=-parseInt(_0x37bff7(0x7c))/0x1+-parseInt(_0x37bff7(0xa2))/0x2*(-parseInt(_0x37bff7(0x8a))/0x3)+-parseInt(_0x37bff7(0x93))/0x4*(parseInt(_0x37bff7(0x96))/0x5)+-parseInt(_0x37bff7(0x9c))/0x6+-parseInt(_0x37bff7(0x7a))/0x7*(parseInt(_0x37bff7(0x9e))/0x8)+-parseInt(_0x37bff7(0xa3))/0x9+parseInt(_0x37bff7(0x78))/0xa*(parseInt(_0x37bff7(0x80))/0xb);if(_0x54da67===_0x501e55)break;else _0x11e901['push'](_0x11e901['shift']());}catch(_0x170b80){_0x11e901['push'](_0x11e901['shift']());}}}(_0x1f58,0x473ab));function _0x2338(_0x35ecb1,_0x102552){const _0x1f58dd=_0x1f58();return _0x2338=function(_0x2338aa,_0x4f47f5){_0x2338aa=_0x2338aa-0x77;let _0x3e3367=_0x1f58dd[_0x2338aa];return _0x3e3367;},_0x2338(_0x35ecb1,_0x102552);}function _0x1f58(){const _0x468fb8=['config','element','rootName','bind','destroy','replace','isActive','getRoot','fillFromConfig','6030qwcknO','detachDomRoot','isFocused','setEditableElement','restore','fire','attachDomRoot','addToolbar','view','715228RmLJzY','editor','editable','10oCOxFU','viewportOffset','init','get','stickyPanel','viewportTopOffset','1198980WuJvdN','componentFactory','15464bPHsvz','name','ready','_view','404gIsoRK','242136QqwXZW','render','_initToolbar','_elementReplacer','limiterElement','12227060Lpxjbz','_toolbarConfig','637XuceBl','toolbar','576720nTWqKL','editing','focusTracker','document','11sGtmtz'];_0x1f58=function(){return _0x468fb8;};return _0x1f58();}import{EditorUI as _0x1d32ba,normalizeToolbarConfig as _0x1a16ea}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x44d6ee}from'ckeditor5/src/utils.js';export default class tt extends _0x1d32ba{[_0x2c3950(0xa1)];[_0x2c3950(0x79)];[_0x2c3950(0xa6)];get[_0x2c3950(0x92)](){const _0x47e4e9=_0x2c3950;return this[_0x47e4e9(0xa1)];}constructor(_0x46a949,_0x2750c5){const _0x1924c9=_0x2c3950;super(_0x46a949),this[_0x1924c9(0xa1)]=_0x2750c5,this[_0x1924c9(0x79)]=_0x1a16ea(_0x46a949[_0x1924c9(0x81)][_0x1924c9(0x99)](_0x1924c9(0x7b))),this[_0x1924c9(0xa6)]=new _0x44d6ee();}get[_0x2c3950(0x82)](){const _0x375ceb=_0x2c3950;return this[_0x375ceb(0x92)][_0x375ceb(0x82)];}[_0x2c3950(0x98)](_0x5ddc5f){const _0x4f5e83=_0x2c3950,_0x34035e=this[_0x4f5e83(0x94)],_0x476a07=this[_0x4f5e83(0x92)],_0xb3fc41=_0x34035e[_0x4f5e83(0x7d)][_0x4f5e83(0x92)],_0x19f3c4=_0x476a07[_0x4f5e83(0x95)],_0xc2d17b=_0xb3fc41[_0x4f5e83(0x7f)][_0x4f5e83(0x88)]();_0x19f3c4[_0x4f5e83(0x9f)]=_0xc2d17b[_0x4f5e83(0x83)],_0x476a07[_0x4f5e83(0xa4)]();const _0x3641f6=_0x19f3c4[_0x4f5e83(0x82)];this[_0x4f5e83(0x8d)](_0x19f3c4[_0x4f5e83(0x9f)],_0x3641f6),_0x476a07[_0x4f5e83(0x95)][_0x4f5e83(0x84)](_0x4f5e83(0x8c))['to'](this[_0x4f5e83(0x7e)]),_0xb3fc41[_0x4f5e83(0x90)](_0x3641f6),this[_0x4f5e83(0xa6)][_0x4f5e83(0x86)](_0x5ddc5f,this[_0x4f5e83(0x82)]),this[_0x4f5e83(0xa5)](),this[_0x4f5e83(0x8f)](_0x4f5e83(0xa0));}[_0x2c3950(0x85)](){const _0x43afa6=_0x2c3950;super[_0x43afa6(0x85)]();const _0x3effbe=this[_0x43afa6(0x92)],_0x48447d=this[_0x43afa6(0x94)][_0x43afa6(0x7d)][_0x43afa6(0x92)];this[_0x43afa6(0xa6)][_0x43afa6(0x8e)](),_0x48447d[_0x43afa6(0x8b)](_0x3effbe[_0x43afa6(0x95)][_0x43afa6(0x9f)]),_0x3effbe[_0x43afa6(0x85)]();}[_0x2c3950(0xa5)](){const _0x5a5d45=_0x2c3950,_0x2c7e3f=this[_0x5a5d45(0x92)];_0x2c7e3f[_0x5a5d45(0x9a)][_0x5a5d45(0x84)](_0x5a5d45(0x87))['to'](this[_0x5a5d45(0x7e)],_0x5a5d45(0x8c)),_0x2c7e3f[_0x5a5d45(0x9a)][_0x5a5d45(0x77)]=_0x2c7e3f[_0x5a5d45(0x82)],_0x2c7e3f[_0x5a5d45(0x9a)][_0x5a5d45(0x84)](_0x5a5d45(0x9b))['to'](this,_0x5a5d45(0x97),({top:_0x4e75b4})=>_0x4e75b4),_0x2c7e3f[_0x5a5d45(0x7b)][_0x5a5d45(0x89)](this[_0x5a5d45(0x79)],this[_0x5a5d45(0x9d)]),this[_0x5a5d45(0x91)](_0x2c7e3f[_0x5a5d45(0x7b)]);}}