@ckeditor/ckeditor5-revision-history 46.0.1-alpha.12 → 46.0.1-alpha.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c699a=_0x50c5;(function(_0x3d0840,_0x3ac58b){const _0x5278cb=_0x50c5,_0x2c5346=_0x3d0840();while(!![]){try{const _0x704b12=-parseInt(_0x5278cb(0x104))/0x1+-parseInt(_0x5278cb(0xf2))/0x2+-parseInt(_0x5278cb(0x10f))/0x3*(parseInt(_0x5278cb(0xe8))/0x4)+-parseInt(_0x5278cb(0x106))/0x5*(parseInt(_0x5278cb(0xee))/0x6)+parseInt(_0x5278cb(0xf7))/0x7+-parseInt(_0x5278cb(0xf3))/0x8*(parseInt(_0x5278cb(0x102))/0x9)+parseInt(_0x5278cb(0xfe))/0xa;if(_0x704b12===_0x3ac58b)break;else _0x2c5346['push'](_0x2c5346['shift']());}catch(_0x12b827){_0x2c5346['push'](_0x2c5346['shift']());}}}(_0x56e2,0x45796));import{Plugin as _0x248a5e}from'ckeditor5/src/core.js';import{ButtonView as _0x519c4b}from'ckeditor5/src/ui.js';import{IconUndo as _0x119551}from'ckeditor5/src/icons.js';function _0x50c5(_0x21ef50,_0x1fef56){const _0x56e221=_0x56e2();return _0x50c5=function(_0x50c5d0,_0x53bb9c){_0x50c5d0=_0x50c5d0-0xe0;let _0x23fec7=_0x56e221[_0x50c5d0];return _0x23fec7;},_0x50c5(_0x21ef50,_0x1fef56);}import{ChangesNavigationView as _0x3a3378}from'./changesnavigationview.js';import{RevisionViewer as _0x53642d}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x40a4f9}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x3bdfe7}from'../../utils/common-translations.js';function _0x56e2(){const _0x20567a=['isForwardNavigationEnabled','editor','listenTo','isNavigationMode','12169690RiCCTF','showPreviousChange','plugins','change:isReady','108moMQco','bind','213694SMCZUM','RevisionViewerUI','2094055vAGlGE','restoreRevision','add','init','get','isPremiumPlugin','ck-revision-history-ui__back-to-editing','showNextChange','execute','34407cmNDqj','isReady','componentFactory','commands','currentChangeNumber','exitToEditing','Back\x20to\x20editing','isEnabled','set','12FhszUm','changesNavigation','revisionHistory','numberOfChanges','show','forward','6leXSCb','closeRevisionViewerCallback','hide','Restore\x20this\x20revision','539668mcpzco','207608wDjuvy','requires','config','pluginName','2210285jGPCzD','isBackwardNavigationEnabled','isOfficialPlugin'];_0x56e2=function(){return _0x20567a;};return _0x56e2();}import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x248a5e{static get[_0x4c699a(0xf6)](){const _0x1ad3b0=_0x4c699a;return _0x1ad3b0(0x105);}static get[_0x4c699a(0xf9)](){return!0x0;}static get[_0x4c699a(0x10b)](){return!0x0;}static get[_0x4c699a(0xf4)](){return[_0x53642d,_0x40a4f9];}[_0x4c699a(0x109)](){const _0x2b46f4=_0x4c699a,_0x31d8cc=this[_0x2b46f4(0xfb)],_0x59b48a=_0x31d8cc[_0x2b46f4(0x100)][_0x2b46f4(0x10a)](_0x53642d),_0x438e2c=_0x31d8cc[_0x2b46f4(0x100)][_0x2b46f4(0x10a)](_0x40a4f9);_0x31d8cc['ui'][_0x2b46f4(0xe1)][_0x2b46f4(0x108)](_0x2b46f4(0xe4),_0x41cc4e=>{const _0x20268b=_0x2b46f4,_0x3f1af9=new _0x519c4b(_0x41cc4e);return _0x3f1af9[_0x20268b(0xe7)]({'label':_0x3bdfe7(_0x41cc4e,_0x20268b(0xe5)),'icon':_0x119551,'withText':!0x0,'tooltip':!0x0,'class':_0x20268b(0x10c)}),this[_0x20268b(0xfc)](_0x3f1af9,_0x20268b(0x10e),()=>{const _0x3f7791=_0x20268b;_0x31d8cc[_0x3f7791(0xf5)][_0x3f7791(0x10a)](_0x3f7791(0xea))[_0x3f7791(0xef)]();}),_0x3f1af9;}),_0x31d8cc['ui'][_0x2b46f4(0xe1)][_0x2b46f4(0x108)](_0x2b46f4(0x107),_0xbc230d=>{const _0x526e02=_0x2b46f4,_0x101f7a=new _0x519c4b(_0xbc230d);return _0x101f7a[_0x526e02(0xe7)]({'label':_0x3bdfe7(_0xbc230d,_0x526e02(0xf1)),'withText':!0x0,'tooltip':!0x0}),_0x101f7a[_0x526e02(0x103)](_0x526e02(0xe6))['to'](_0x31d8cc[_0x526e02(0xe2)][_0x526e02(0x10a)](_0x526e02(0x107))),this[_0x526e02(0xfc)](_0x101f7a,_0x526e02(0x10e),()=>_0x31d8cc[_0x526e02(0x10e)](_0x526e02(0x107))),_0x101f7a;}),_0x31d8cc['ui'][_0x2b46f4(0xe1)][_0x2b46f4(0x108)](_0x2b46f4(0xe9),_0x41773a=>{const _0x4f4efd=_0x2b46f4,_0x3c2acd=new _0x3a3378(_0x41773a),_0x4fc7e5=_0x31d8cc[_0x4f4efd(0xe2)][_0x4f4efd(0x10a)](_0x4f4efd(0xff)),_0x510101=_0x31d8cc[_0x4f4efd(0xe2)][_0x4f4efd(0x10a)](_0x4f4efd(0x10d));return _0x3c2acd[_0x4f4efd(0x103)](_0x4f4efd(0xf8))['to'](_0x4fc7e5,_0x4f4efd(0xe6)),_0x3c2acd[_0x4f4efd(0x103)](_0x4f4efd(0xfa))['to'](_0x510101,_0x4f4efd(0xe6)),_0x3c2acd[_0x4f4efd(0x103)](_0x4f4efd(0xe0),_0x4f4efd(0xe3),_0x4f4efd(0xeb),_0x4f4efd(0xfd))['to'](_0x59b48a),this[_0x4f4efd(0xfc)](_0x3c2acd,_0x4f4efd(0x10e),(_0x3e24cb,_0x3b168b)=>{const _0x5a04af=_0x4f4efd;_0x31d8cc[_0x5a04af(0x10e)](_0x5a04af(0xed)===_0x3b168b?_0x5a04af(0x10d):_0x5a04af(0xff));}),_0x3c2acd;}),_0x438e2c[_0x2b46f4(0xec)](),_0x59b48a['on'](_0x2b46f4(0x101),(_0x252849,_0x1d78fa,_0x52ce36)=>{const _0xd93e93=_0x2b46f4;_0x52ce36?_0x438e2c[_0xd93e93(0xf0)]():_0x438e2c[_0xd93e93(0xec)]();});}}
23
+ const _0x15c37a=_0x2ebe;function _0x2ebe(_0x41cd9f,_0x3a2326){const _0x49ae80=_0x49ae();return _0x2ebe=function(_0x2ebeb3,_0x36378f){_0x2ebeb3=_0x2ebeb3-0x179;let _0x31908e=_0x49ae80[_0x2ebeb3];return _0x31908e;},_0x2ebe(_0x41cd9f,_0x3a2326);}(function(_0x1db97c,_0x2c7776){const _0x2075d4=_0x2ebe,_0x1efd51=_0x1db97c();while(!![]){try{const _0x5d29c3=parseInt(_0x2075d4(0x17f))/0x1+-parseInt(_0x2075d4(0x19d))/0x2*(-parseInt(_0x2075d4(0x199))/0x3)+parseInt(_0x2075d4(0x1ab))/0x4*(parseInt(_0x2075d4(0x17e))/0x5)+-parseInt(_0x2075d4(0x18d))/0x6*(parseInt(_0x2075d4(0x180))/0x7)+parseInt(_0x2075d4(0x18e))/0x8*(-parseInt(_0x2075d4(0x1a9))/0x9)+-parseInt(_0x2075d4(0x19c))/0xa*(-parseInt(_0x2075d4(0x1a1))/0xb)+-parseInt(_0x2075d4(0x198))/0xc*(parseInt(_0x2075d4(0x190))/0xd);if(_0x5d29c3===_0x2c7776)break;else _0x1efd51['push'](_0x1efd51['shift']());}catch(_0x1b9dc9){_0x1efd51['push'](_0x1efd51['shift']());}}}(_0x49ae,0x3b060));import{Plugin as _0x234834}from'ckeditor5/src/core.js';import{ButtonView as _0x4b46ed}from'ckeditor5/src/ui.js';import{IconUndo as _0x209249}from'ckeditor5/src/icons.js';function _0x49ae(){const _0x87c53b=['40742TCOVLB','RevisionViewerUI','commands','isNavigationMode','config','add','isEnabled','hide','1212IGQGew','1201884CmQCFW','isForwardNavigationEnabled','Back\x20to\x20editing','460HnjFxv','2hhSZrq','pluginName','change:isReady','init','76417yIPBjv','bind','closeRevisionViewerCallback','show','ck-revision-history-ui__back-to-editing','isOfficialPlugin','showPreviousChange','numberOfChanges','18USORNV','componentFactory','8776yiyxfZ','forward','get','changesNavigation','Restore\x20this\x20revision','listenTo','185CksOoa','9766QntrVi','17010IPDTwg','isReady','showNextChange','set','editor','execute','isBackwardNavigationEnabled','restoreRevision','plugins','currentChangeNumber','isPremiumPlugin','revisionHistory','exitToEditing','84pPNNfn','875280WItLQV','requires'];_0x49ae=function(){return _0x87c53b;};return _0x49ae();}import{ChangesNavigationView as _0x5741a3}from'./changesnavigationview.js';import{RevisionViewer as _0x179275}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x301d0e}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x571601}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x234834{static get[_0x15c37a(0x19e)](){const _0x58532d=_0x15c37a;return _0x58532d(0x191);}static get[_0x15c37a(0x1a6)](){return!0x0;}static get[_0x15c37a(0x18a)](){return!0x0;}static get[_0x15c37a(0x18f)](){return[_0x179275,_0x301d0e];}[_0x15c37a(0x1a0)](){const _0x4a614e=_0x15c37a,_0x102072=this[_0x4a614e(0x184)],_0x364e94=_0x102072[_0x4a614e(0x188)][_0x4a614e(0x17a)](_0x179275),_0x33dcf2=_0x102072[_0x4a614e(0x188)][_0x4a614e(0x17a)](_0x301d0e);_0x102072['ui'][_0x4a614e(0x1aa)][_0x4a614e(0x195)](_0x4a614e(0x18c),_0x450e9d=>{const _0x546025=_0x4a614e,_0xacb59c=new _0x4b46ed(_0x450e9d);return _0xacb59c[_0x546025(0x183)]({'label':_0x571601(_0x450e9d,_0x546025(0x19b)),'icon':_0x209249,'withText':!0x0,'tooltip':!0x0,'class':_0x546025(0x1a5)}),this[_0x546025(0x17d)](_0xacb59c,_0x546025(0x185),()=>{const _0x51b358=_0x546025;_0x102072[_0x51b358(0x194)][_0x51b358(0x17a)](_0x51b358(0x18b))[_0x51b358(0x1a3)]();}),_0xacb59c;}),_0x102072['ui'][_0x4a614e(0x1aa)][_0x4a614e(0x195)](_0x4a614e(0x187),_0x4d0f9b=>{const _0x18f7ad=_0x4a614e,_0x4908e4=new _0x4b46ed(_0x4d0f9b);return _0x4908e4[_0x18f7ad(0x183)]({'label':_0x571601(_0x4d0f9b,_0x18f7ad(0x17c)),'withText':!0x0,'tooltip':!0x0}),_0x4908e4[_0x18f7ad(0x1a2)](_0x18f7ad(0x196))['to'](_0x102072[_0x18f7ad(0x192)][_0x18f7ad(0x17a)](_0x18f7ad(0x187))),this[_0x18f7ad(0x17d)](_0x4908e4,_0x18f7ad(0x185),()=>_0x102072[_0x18f7ad(0x185)](_0x18f7ad(0x187))),_0x4908e4;}),_0x102072['ui'][_0x4a614e(0x1aa)][_0x4a614e(0x195)](_0x4a614e(0x17b),_0x16cb49=>{const _0x196219=_0x4a614e,_0x49bf2f=new _0x5741a3(_0x16cb49),_0x314c44=_0x102072[_0x196219(0x192)][_0x196219(0x17a)](_0x196219(0x1a7)),_0xc2de23=_0x102072[_0x196219(0x192)][_0x196219(0x17a)](_0x196219(0x182));return _0x49bf2f[_0x196219(0x1a2)](_0x196219(0x186))['to'](_0x314c44,_0x196219(0x196)),_0x49bf2f[_0x196219(0x1a2)](_0x196219(0x19a))['to'](_0xc2de23,_0x196219(0x196)),_0x49bf2f[_0x196219(0x1a2)](_0x196219(0x181),_0x196219(0x189),_0x196219(0x1a8),_0x196219(0x193))['to'](_0x364e94),this[_0x196219(0x17d)](_0x49bf2f,_0x196219(0x185),(_0x440cbf,_0x2691a5)=>{const _0x5286ca=_0x196219;_0x102072[_0x5286ca(0x185)](_0x5286ca(0x179)===_0x2691a5?_0x5286ca(0x182):_0x5286ca(0x1a7));}),_0x49bf2f;}),_0x33dcf2[_0x4a614e(0x1a4)](),_0x364e94['on'](_0x4a614e(0x19f),(_0x28f247,_0x43bb62,_0x26fcb3)=>{const _0x526e7a=_0x4a614e;_0x26fcb3?_0x33dcf2[_0x526e7a(0x197)]():_0x33dcf2[_0x526e7a(0x1a4)]();});}}