@ckeditor/ckeditor5-revision-history 46.0.1-alpha.0 → 46.0.1-alpha.1
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.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/package.json +11 -11
- package/src/revisionsrepository.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4d73bf,_0x4c137e){const _0xc7d9ea=_0x5c32,_0x39adf7=_0x4d73bf();while(!![]){try{const _0x220797=parseInt(_0xc7d9ea(0x7f))/0x1*(-parseInt(_0xc7d9ea(0x83))/0x2)+parseInt(_0xc7d9ea(0x84))/0x3*(parseInt(_0xc7d9ea(0x7b))/0x4)+parseInt(_0xc7d9ea(0x7a))/0x5+parseInt(_0xc7d9ea(0x76))/0x6+parseInt(_0xc7d9ea(0x75))/0x7*(parseInt(_0xc7d9ea(0x7d))/0x8)+parseInt(_0xc7d9ea(0x86))/0x9+-parseInt(_0xc7d9ea(0x81))/0xa*(parseInt(_0xc7d9ea(0x7e))/0xb);if(_0x220797===_0x4c137e)break;else _0x39adf7['push'](_0x39adf7['shift']());}catch(_0x4e0e49){_0x39adf7['push'](_0x39adf7['shift']());}}}(_0x2ec3,0x6031f));import{View as _0x1bdfa1,IconView as _0x440ab3}from'ckeditor5/src/ui.js';function _0x5c32(_0x590f3e,_0x30fb41){const _0x2ec32c=_0x2ec3();return _0x5c32=function(_0x5c32c7,_0x173a3d){_0x5c32c7=_0x5c32c7-0x74;let _0x1d5291=_0x2ec32c[_0x5c32c7];return _0x1d5291;},_0x5c32(_0x590f3e,_0x30fb41);}import{getTranslation as _0x2f747c}from'../../utils/common-translations.js';import{IconHistory as _0x1be01a}from'ckeditor5/src/icons.js';function _0x2ec3(){const _0x3f9049=['20788sSIsfT','ck-revision-history-sidebar__header','495048fCzQES','30547PdieBH','3YDJGbo','ck-revision-history-sidebar__header__label','3580FqrKES','ck-reset_all','471962iXZSiE','117rOtFRz','setTemplate','7022385NCCYxJ','content','49VsUoTH','1653144rXjmNz','Revision\x20history','span','div','2022425poJChn'];_0x2ec3=function(){return _0x3f9049;};return _0x2ec3();}import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x1bdfa1{constructor(_0x5f4610){const _0x1e00d1=_0x5c32;super(_0x5f4610);const _0x10311d=new _0x440ab3();_0x10311d[_0x1e00d1(0x74)]=_0x1be01a,this[_0x1e00d1(0x85)]({'tag':_0x1e00d1(0x79),'attributes':{'class':['ck',_0x1e00d1(0x82),_0x1e00d1(0x7c)]},'children':[_0x10311d,{'tag':_0x1e00d1(0x78),'attributes':{'class':['ck',_0x1e00d1(0x80)]},'children':[_0x2f747c(_0x5f4610,_0x1e00d1(0x77))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15c3e0=_0x1d03;(function(_0x1a6baf,_0x568898){const _0xbff13e=_0x1d03,_0x162262=_0x1a6baf();while(!![]){try{const _0x26d71f=-parseInt(_0xbff13e(0x184))/0x1*(parseInt(_0xbff13e(0x181))/0x2)+-parseInt(_0xbff13e(0x17d))/0x3*(parseInt(_0xbff13e(0x183))/0x4)+-parseInt(_0xbff13e(0x168))/0x5+parseInt(_0xbff13e(0x170))/0x6+-parseInt(_0xbff13e(0x16e))/0x7+-parseInt(_0xbff13e(0x180))/0x8+parseInt(_0xbff13e(0x178))/0x9;if(_0x26d71f===_0x568898)break;else _0x162262['push'](_0x162262['shift']());}catch(_0x592aa0){_0x162262['push'](_0x162262['shift']());}}}(_0xd6d0,0x1dc81));import{View as _0x3d849e}from'ckeditor5/src/ui.js';function _0xd6d0(){const _0xa8f1df=['startDate','294204WrzruD','find','add','revisionViews','ck-revision-history-sidebar__time-period__revisions','addRevision','localizedPeriodName','setName','6348780uqWVbg','uiLanguage','locale','select','ck-revision-history-sidebar__time-period__label','47625YVRORr','delegate','remove','1034656IAxkVW','776KMXGuH','createCollection','4WskLrn','389vkUzsA','_revisionActions','_requireRevisionName','737900kMHkUb','setTemplate','ck-revision-history-sidebar__time-period','removeRevision','span','div','1321250kSBHyX'];_0xd6d0=function(){return _0xa8f1df;};return _0xd6d0();}function _0x1d03(_0x43db95,_0x5f4c36){const _0xd6d0f2=_0xd6d0();return _0x1d03=function(_0x1d0367,_0x553126){_0x1d0367=_0x1d0367-0x166;let _0xdea1d1=_0xd6d0f2[_0x1d0367];return _0xdea1d1;},_0x1d03(_0x43db95,_0x5f4c36);}import{RevisionView as _0x2f741e}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x421198}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x3d849e{[_0x15c3e0(0x16f)];[_0x15c3e0(0x173)];[_0x15c3e0(0x166)];[_0x15c3e0(0x167)];constructor(_0x2eef12,_0x4022c3,_0x1cfffb,_0x42b0e9){const _0x44a6b1=_0x15c3e0;super(_0x2eef12);const _0x5494ee=_0x421198(_0x4022c3,this[_0x44a6b1(0x17a)][_0x44a6b1(0x179)])[_0x44a6b1(0x176)];this[_0x44a6b1(0x16f)]=_0x4022c3,this[_0x44a6b1(0x173)]=this[_0x44a6b1(0x182)](),this[_0x44a6b1(0x166)]=_0x1cfffb,this[_0x44a6b1(0x167)]=_0x42b0e9,this[_0x44a6b1(0x173)][_0x44a6b1(0x17e)](_0x44a6b1(0x17b))['to'](this),this[_0x44a6b1(0x173)][_0x44a6b1(0x17e)](_0x44a6b1(0x177))['to'](this),this[_0x44a6b1(0x169)]({'tag':_0x44a6b1(0x16d),'attributes':{'class':['ck',_0x44a6b1(0x16a)]},'children':[{'tag':_0x44a6b1(0x16c),'attributes':{'class':['ck',_0x44a6b1(0x17c)]},'children':[{'text':_0x5494ee}]},{'tag':_0x44a6b1(0x16d),'attributes':{'class':['ck',_0x44a6b1(0x174)]},'children':this[_0x44a6b1(0x173)]}]});}[_0x15c3e0(0x175)](_0x51056f){const _0x120ce9=_0x15c3e0,_0x207e20=new _0x2f741e(this[_0x120ce9(0x17a)],_0x51056f,this[_0x120ce9(0x166)],this[_0x120ce9(0x167)]);this[_0x120ce9(0x173)][_0x120ce9(0x172)](_0x207e20);}[_0x15c3e0(0x16b)](_0x4a3d6f){const _0x1a7d59=_0x15c3e0,_0x32381b=this[_0x1a7d59(0x173)][_0x1a7d59(0x171)](_0x552abd=>_0x552abd['id']===_0x4a3d6f['id']);this[_0x1a7d59(0x173)][_0x1a7d59(0x17f)](_0x32381b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x471521=_0x21f0;(function(_0x51dd69,_0x447f79){const _0x259835=_0x21f0,_0xe074fc=_0x51dd69();while(!![]){try{const _0x38f2ec=-parseInt(_0x259835(0xd5))/0x1*(-parseInt(_0x259835(0xd0))/0x2)+-parseInt(_0x259835(0xfc))/0x3*(parseInt(_0x259835(0x105))/0x4)+-parseInt(_0x259835(0xe3))/0x5*(parseInt(_0x259835(0xe5))/0x6)+-parseInt(_0x259835(0xdf))/0x7+parseInt(_0x259835(0xdb))/0x8+-parseInt(_0x259835(0xeb))/0x9*(-parseInt(_0x259835(0xf6))/0xa)+-parseInt(_0x259835(0xd1))/0xb*(-parseInt(_0x259835(0xd6))/0xc);if(_0x38f2ec===_0x447f79)break;else _0xe074fc['push'](_0xe074fc['shift']());}catch(_0x41c0dc){_0xe074fc['push'](_0xe074fc['shift']());}}}(_0x4543,0xeb267));import{View as _0x30cac3}from'ckeditor5/src/ui.js';function _0x21f0(_0x3b5287,_0x99164f){const _0x454360=_0x4543();return _0x21f0=function(_0x21f0a6,_0x520df5){_0x21f0a6=_0x21f0a6-0xce;let _0x39af53=_0x454360[_0x21f0a6];return _0x39af53;},_0x21f0(_0x3b5287,_0x99164f);}import{RevisionsSidebarTimePeriodView as _0x2bb4ef}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x5f194f}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x435c10}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x30cac3{[_0x471521(0xde)];[_0x471521(0xf1)];[_0x471521(0xe1)];[_0x471521(0xd3)];constructor(_0x10a1ef,_0x5e7107,_0x1e3141,_0x48f586){const _0x729ccb=_0x471521;super(_0x10a1ef);const _0x26eca5=this[_0x729ccb(0xce)];this[_0x729ccb(0xde)]=this[_0x729ccb(0xfd)](),this[_0x729ccb(0xde)][_0x729ccb(0x100)](_0x729ccb(0xd8))['to'](this),this[_0x729ccb(0xde)][_0x729ccb(0x100)](_0x729ccb(0xf4))['to'](this),this[_0x729ccb(0xf1)]=_0x5e7107,this[_0x729ccb(0xe1)]=_0x1e3141,this[_0x729ccb(0xd3)]=_0x48f586,this['on'](_0x729ccb(0xd8),(_0x191933,_0x4a0096)=>{const _0x352788=_0x729ccb;this[_0x352788(0xe2)](_0x352788(0xe7),_0x4a0096);}),this['on'](_0x729ccb(0xf4),(_0x120608,_0x5d74d6)=>{const _0x5ec557=_0x729ccb;this[_0x5ec557(0xe2)](_0x5ec557(0xe9),_0x5d74d6);}),this[_0x729ccb(0xec)](_0x729ccb(0xee),!0x1),this[_0x729ccb(0x102)]({'tag':_0x729ccb(0xcf),'attributes':{'class':['ck',_0x729ccb(0xff),_0x729ccb(0xfb),_0x729ccb(0xd9)]},'children':[new _0x5f194f(_0x10a1ef),{'tag':_0x729ccb(0xcf),'attributes':{'class':['ck',_0x729ccb(0xf7),_0x26eca5['if'](_0x729ccb(0xee),_0x729ccb(0xe8),_0x56bd5d=>!_0x56bd5d)]},'children':this[_0x729ccb(0xde)]}]});}[_0x471521(0xea)](){const _0x5206fc=_0x471521;super[_0x5206fc(0xea)]();for(const _0x8c8f2a of this[_0x5206fc(0xf1)])this[_0x5206fc(0xe4)](_0x8c8f2a);this[_0x5206fc(0xf1)]['on'](_0x5206fc(0x103),(_0x513855,_0x41efff)=>{const _0x41e0be=_0x5206fc;this[_0x41e0be(0xe4)](_0x41efff);}),this[_0x5206fc(0xf1)]['on'](_0x5206fc(0xf9),(_0x34824f,_0x304138)=>{const _0x2fcd5f=_0x5206fc;this[_0x2fcd5f(0xdc)](_0x304138);});}get[_0x471521(0xfa)](){const _0xa87aba=_0x471521;return this[_0xa87aba(0xde)][_0xa87aba(0xd2)](_0x1c044b=>_0x1c044b[_0xa87aba(0xfa)][_0xa87aba(0xd2)](_0x13902f=>_0x13902f))[_0xa87aba(0x101)]();}[_0x471521(0xf8)](_0x485863){const _0x69f20e=_0x471521;for(const _0x2314c0 of this[_0x69f20e(0xfa)])_0x485863&&_0x485863['id']===_0x2314c0['id']?_0x2314c0[_0x69f20e(0xd8)]():_0x2314c0[_0x69f20e(0xd7)]();}[_0x471521(0xf3)](_0x43ebe0){const _0x2e65d4=_0x471521;for(const _0x1ce672 of this[_0x2e65d4(0xfa)])_0x43ebe0[_0x2e65d4(0xe6)](({id:_0x163953})=>_0x163953===_0x1ce672['id'])?_0x1ce672[_0x2e65d4(0xef)]():_0x1ce672[_0x2e65d4(0x106)]();}[_0x471521(0xe4)](_0x301d01){const _0x4779a3=_0x471521,_0x16ffbd=_0x435c10(_0x301d01[_0x4779a3(0xd4)],this[_0x4779a3(0xdd)][_0x4779a3(0xe0)])[_0x4779a3(0xf2)];let _0x94ebf6=this[_0x4779a3(0xde)][_0x4779a3(0xda)](0x0);_0x94ebf6&&_0x94ebf6[_0x4779a3(0xf2)][_0x4779a3(0xfe)]()===_0x16ffbd[_0x4779a3(0xfe)]()||(_0x94ebf6=new _0x2bb4ef(this[_0x4779a3(0xdd)],_0x16ffbd,this[_0x4779a3(0xe1)],this[_0x4779a3(0xd3)]),this[_0x4779a3(0xde)][_0x4779a3(0x103)](_0x94ebf6)),_0x94ebf6[_0x4779a3(0xed)](_0x301d01);}[_0x471521(0xdc)](_0x5cd00b){const _0x528fa3=_0x471521,_0x27c33c=_0x435c10(_0x5cd00b[_0x528fa3(0xd4)],this[_0x528fa3(0xdd)][_0x528fa3(0xe0)])[_0x528fa3(0xf2)];this[_0x528fa3(0xf5)](_0x27c33c)[_0x528fa3(0x104)](_0x5cd00b);}[_0x471521(0xf5)](_0x481a1c){const _0x549817=_0x471521;return this[_0x549817(0xde)][_0x549817(0xf0)](_0x1be779=>_0x1be779[_0x549817(0xf2)][_0x549817(0xfe)]()===_0x481a1c[_0x549817(0xfe)]());}}function _0x4543(){const _0xe8df36=['608910QyeogM','some','revisionSelected','ck-disabled','revisionSetName','render','2401623VqyBfI','set','addRevision','isEnabled','highlight','find','_revisions','startDate','highlightRevisions','setName','_getTimePeriodViewByStartDate','20WYExbr','ck-revision-history-sidebar__timeline','selectRevision','remove','revisionViews','ck-rounded-corners','3WKhATZ','createCollection','getTime','ck-reset','delegate','flat','setTemplate','add','removeRevision','3041524RMooxh','unhighlight','bindTemplate','div','878joCvcw','39226nobKVd','map','_requireRevisionName','createdAt','2663HoLWaX','72qiaRLw','deselect','select','ck-revision-history-sidebar','get','5393256sjEbRV','_removeRevision','locale','timePeriodViews','4012841ILagVm','uiLanguage','_revisionActions','fire','5THGjCq','_addRevision'];_0x4543=function(){return _0xe8df36;};return _0x4543();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3bdda0=_0x298c;function _0x298c(_0x5bc8f0,_0x5db43c){const _0x1bc018=_0x1bc0();return _0x298c=function(_0x298cd8,_0x2e2e92){_0x298cd8=_0x298cd8-0xee;let _0x35a613=_0x1bc018[_0x298cd8];return _0x35a613;},_0x298c(_0x5bc8f0,_0x5db43c);}(function(_0x2dc99b,_0x5c4904){const _0x20e940=_0x298c,_0x3c6884=_0x2dc99b();while(!![]){try{const _0x2f165f=-parseInt(_0x20e940(0xf8))/0x1+-parseInt(_0x20e940(0x102))/0x2*(-parseInt(_0x20e940(0xfb))/0x3)+parseInt(_0x20e940(0x10e))/0x4*(parseInt(_0x20e940(0x10a))/0x5)+parseInt(_0x20e940(0xf5))/0x6*(-parseInt(_0x20e940(0x105))/0x7)+-parseInt(_0x20e940(0xf3))/0x8*(parseInt(_0x20e940(0x10b))/0x9)+parseInt(_0x20e940(0xf2))/0xa*(-parseInt(_0x20e940(0xfe))/0xb)+parseInt(_0x20e940(0xf6))/0xc;if(_0x2f165f===_0x5c4904)break;else _0x3c6884['push'](_0x3c6884['shift']());}catch(_0x269840){_0x3c6884['push'](_0x3c6884['shift']());}}}(_0x1bc0,0x61a36));import{View as _0x17e246}from'ckeditor5/src/ui.js';import{getTranslation as _0x3e3061}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x17e246{[_0x3bdda0(0x108)];[_0x3bdda0(0x10f)];constructor(_0x239cf3,_0x38a4f1){const _0x576512=_0x3bdda0;super(_0x239cf3),this[_0x576512(0x10f)]=_0x38a4f1,this[_0x576512(0x108)]=_0x38a4f1['id'];const _0x16c72f=this[_0x576512(0x10d)],_0x1c35a8=_0x3e3061(_0x239cf3,_0x38a4f1[_0x576512(0xff)][_0x576512(0xf9)]?_0x576512(0xf4):_0x576512(0x10c)==_0x38a4f1[_0x576512(0x100)]?_0x576512(0xfc):_0x576512(0x103));this[_0x576512(0x104)](_0x576512(0x100),_0x38a4f1[_0x576512(0x100)]),this[_0x576512(0xf7)]({'tag':_0x576512(0xef),'attributes':{'class':[_0x576512(0x101),_0x576512(0xf1),_0x16c72f['to'](_0x576512(0x100),_0x6a092a=>_0x576512(0xfd)+_0x6a092a)],'tabindex':-0x1},'children':[{'tag':_0x576512(0xf0),'children':[{'tag':_0x576512(0xf0),'attributes':{'class':[_0x576512(0x107)]},'children':[{'text':_0x1c35a8}]},{'text':'\x20'+_0x38a4f1[_0x576512(0x106)][_0x576512(0xfa)]}]}]});}[_0x3bdda0(0xee)](){const _0x4d9ff2=_0x3bdda0;this[_0x4d9ff2(0x109)][_0x4d9ff2(0xee)]();}}function _0x1bc0(){const _0x54e519=['data','type','ck-annotation','8114GHDhbQ','Removed\x20by','set','28bVeaGe','author','ck-revision-change__label','changeId','element','436265KjeCyQ','18jltvhY','add','bindTemplate','4ZvtBPI','_model','focus','div','span','ck-revision-change','130qrvOXr','3076952zkcqfC','Suggested\x20by','521736QiELid','19421388gVqmTQ','setTemplate','587237cUIsUn','isSuggestion','name','570Elfmhk','Added\x20by','ck-revision-change__','315029ScGuvw'];_0x1bc0=function(){return _0x54e519;};return _0x1bc0();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
(function(_0x180019,_0x5ce87a){const _0x4ccfef=_0x223a,_0x40b7c7=_0x180019();while(!![]){try{const _0x54d611=-parseInt(_0x4ccfef(0x85))/0x1+-parseInt(_0x4ccfef(0x8e))/0x2+parseInt(_0x4ccfef(0x92))/0x3+parseInt(_0x4ccfef(0x9f))/0x4*(parseInt(_0x4ccfef(0x82))/0x5)+-parseInt(_0x4ccfef(0x8d))/0x6+parseInt(_0x4ccfef(0x97))/0x7+parseInt(_0x4ccfef(0x7b))/0x8*(parseInt(_0x4ccfef(0x8b))/0x9);if(_0x54d611===_0x5ce87a)break;else _0x40b7c7['push'](_0x40b7c7['shift']());}catch(_0x10a45f){_0x40b7c7['push'](_0x40b7c7['shift']());}}}(_0x2744,0x3db50));import{View as _0x506ea1,ButtonView as _0x14bec0,ToolbarSeparatorView as _0x5335d9}from'ckeditor5/src/ui.js';function _0x2744(){const _0x4039e7=['isEnabled','forward','ck-revision-history-ui__changes-navigation__wrapper','2992293tEEAWd','isBackwardNavigationEnabled','2430150LkpNkL','62812DLoXIt','EDIT_X_OF_Y_REVISIONS','isReady','_statusText','462993GorZDo','No\x20changes','numberOfChanges','isForwardNavigationEnabled','span','2451897JlNKlt','_isStatusLabelVisible','Show\x20previous\x20change','setTemplate','set','execute','Show\x20next\x20change','ck-hidden','628604fzyWlb','div','ck-revision-history-ui__changes-navigation__navigation','bindTemplate','Total','Loading...','8kSLDvi','currentChangeNumber','ck-revision-history-ui','NUMBER_OF_CHANGES','X_OF_Y_CHANGES','backward','ck-revision-history-ui__changes-navigation','5IuAfdo','fire','isNavigationMode','305047vOTcWe','bind','ck-revision-history-ui__changes-navigation__label'];_0x2744=function(){return _0x4039e7;};return _0x2744();}import{IconChevronUp as _0x3f362e,IconChevronDown as _0x49078c}from'ckeditor5/src/icons.js';import{getTranslation as _0x55921e}from'../../utils/common-translations.js';function _0x223a(_0x1cfd00,_0x2ac550){const _0x27441e=_0x2744();return _0x223a=function(_0x223a6f,_0x4e5856){_0x223a6f=_0x223a6f-0x79;let _0x537f51=_0x27441e[_0x223a6f];return _0x537f51;},_0x223a(_0x1cfd00,_0x2ac550);}import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x506ea1{constructor(_0xf2624a){const _0x5588a7=_0x223a;super(_0xf2624a);const _0x48c452=this[_0x5588a7(0xa2)],_0x3ba6dc=new _0x14bec0(_0xf2624a),_0x5aa247=new _0x14bec0(_0xf2624a);this[_0x5588a7(0x9b)](_0x5588a7(0x84),!0x1),this[_0x5588a7(0x9b)](_0x5588a7(0x90),!0x1),this[_0x5588a7(0x9b)](_0x5588a7(0x7c),0x0),this[_0x5588a7(0x9b)](_0x5588a7(0x94),0x0),this[_0x5588a7(0x9b)](_0x5588a7(0x95),!0x1),this[_0x5588a7(0x9b)](_0x5588a7(0x8c),!0x1),this[_0x5588a7(0x86)](_0x5588a7(0x98))['to'](this,_0x5588a7(0x90),this,_0x5588a7(0x94),(_0x20d5cb,_0x61dd81)=>_0x20d5cb&&_0x61dd81>0x0),this[_0x5588a7(0x86)](_0x5588a7(0x91))['to'](this,_0x5588a7(0x90),this,_0x5588a7(0x7c),this,_0x5588a7(0x94),this,_0x5588a7(0x84),(_0x1e2bf5,_0x48e3ee,_0x542987,_0x2c2109)=>{const _0x521418=_0x5588a7;if(!_0x1e2bf5)return _0x55921e(_0xf2624a,_0x521418(0x7a));if(!_0x542987)return _0x55921e(_0xf2624a,_0x521418(0x93));const _0x3a118d=_0x55921e(_0xf2624a,_0x521418(0x7e),_0x542987);return _0x2c2109?_0x55921e(_0xf2624a,_0x521418(0x7f),[_0x48e3ee+0x1,_0x542987]):_0x3a118d;}),_0x3ba6dc[_0x5588a7(0x9b)]({'label':_0x55921e(_0xf2624a,_0x5588a7(0x99)),'tooltip':!0x0,'icon':_0x3f362e}),_0x5aa247[_0x5588a7(0x9b)]({'label':_0x55921e(_0xf2624a,_0x5588a7(0x9d)),'tooltip':!0x0,'icon':_0x49078c}),_0x3ba6dc[_0x5588a7(0x86)](_0x5588a7(0x88))['to'](this,_0x5588a7(0x8c)),_0x5aa247[_0x5588a7(0x86)](_0x5588a7(0x88))['to'](this,_0x5588a7(0x95)),_0x3ba6dc['on'](_0x5588a7(0x9c),()=>this[_0x5588a7(0x83)](_0x5588a7(0x9c),_0x5588a7(0x80))),_0x5aa247['on'](_0x5588a7(0x9c),()=>this[_0x5588a7(0x83)](_0x5588a7(0x9c),_0x5588a7(0x89))),this[_0x5588a7(0x9a)]({'tag':_0x5588a7(0xa0),'attributes':{'class':['ck',_0x5588a7(0x7d),_0x5588a7(0x81)]},'children':[{'tag':_0x5588a7(0x96),'attributes':{'class':[_0x5588a7(0x8a)]},'children':[{'tag':_0x5588a7(0x96),'attributes':{'class':[_0x5588a7(0x87),_0x48c452['if'](_0x5588a7(0x98),_0x5588a7(0x9e),_0xe900d=>!_0xe900d)]},'children':[{'text':_0x48c452['to'](_0x5588a7(0x84),_0x251e08=>_0x251e08?_0x55921e(_0xf2624a,_0x5588a7(0x8f))+':\x20':_0x55921e(_0xf2624a,_0x5588a7(0x79))+':\x20')}]},{'text':_0x48c452['to'](_0x5588a7(0x91))}]},new _0x5335d9(),{'tag':_0x5588a7(0xa0),'attributes':{'class':[_0x5588a7(0xa1)]},'children':[_0x3ba6dc,_0x5aa247]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3d67(_0x20e013,_0x1144f3){const _0xdcec1=_0xdcec();return _0x3d67=function(_0x3d67e4,_0x3e3666){_0x3d67e4=_0x3d67e4-0x1f1;let _0x14c82f=_0xdcec1[_0x3d67e4];return _0x14c82f;},_0x3d67(_0x20e013,_0x1144f3);}const _0x2db964=_0x3d67;(function(_0x4c9190,_0x599605){const _0x4b67d2=_0x3d67,_0x185ada=_0x4c9190();while(!![]){try{const _0x3c6c76=parseInt(_0x4b67d2(0x1f5))/0x1+-parseInt(_0x4b67d2(0x219))/0x2+-parseInt(_0x4b67d2(0x209))/0x3+-parseInt(_0x4b67d2(0x21c))/0x4+-parseInt(_0x4b67d2(0x213))/0x5*(-parseInt(_0x4b67d2(0x210))/0x6)+-parseInt(_0x4b67d2(0x1f9))/0x7*(-parseInt(_0x4b67d2(0x205))/0x8)+parseInt(_0x4b67d2(0x201))/0x9*(parseInt(_0x4b67d2(0x202))/0xa);if(_0x3c6c76===_0x599605)break;else _0x185ada['push'](_0x185ada['shift']());}catch(_0x2b94c7){_0x185ada['push'](_0x185ada['shift']());}}}(_0xdcec,0x8d970));import{Plugin as _0x27017b}from'ckeditor5/src/core.js';import{ButtonView as _0x17bcf3}from'ckeditor5/src/ui.js';import{IconUndo as _0x597811}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x1d91be}from'./changesnavigationview.js';import{RevisionViewer as _0xf1d487}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x491a13}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x14ff64}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x27017b{static get[_0x2db964(0x204)](){const _0x4af38a=_0x2db964;return _0x4af38a(0x21f);}static get[_0x2db964(0x1fc)](){return!0x0;}static get[_0x2db964(0x20d)](){return!0x0;}static get[_0x2db964(0x21d)](){return[_0xf1d487,_0x491a13];}[_0x2db964(0x1ff)](){const _0x108317=_0x2db964,_0x5dc171=this[_0x108317(0x20c)],_0x33708f=_0x5dc171[_0x108317(0x20e)][_0x108317(0x1f7)](_0xf1d487),_0x2458ee=_0x5dc171[_0x108317(0x20e)][_0x108317(0x1f7)](_0x491a13);_0x5dc171['ui'][_0x108317(0x214)][_0x108317(0x203)](_0x108317(0x215),_0x4e3a41=>{const _0x1e4100=_0x108317,_0x4fe88f=new _0x17bcf3(_0x4e3a41);return _0x4fe88f[_0x1e4100(0x1f2)]({'label':_0x14ff64(_0x4e3a41,_0x1e4100(0x21a)),'icon':_0x597811,'withText':!0x0,'tooltip':!0x0,'class':_0x1e4100(0x20a)}),this[_0x1e4100(0x1f4)](_0x4fe88f,_0x1e4100(0x1fb),()=>{const _0x315d69=_0x1e4100;_0x5dc171[_0x315d69(0x1fd)][_0x315d69(0x1f7)](_0x315d69(0x217))[_0x315d69(0x1f1)]();}),_0x4fe88f;}),_0x5dc171['ui'][_0x108317(0x214)][_0x108317(0x203)](_0x108317(0x1fa),_0xdb5753=>{const _0x27b2e2=_0x108317,_0x609d=new _0x17bcf3(_0xdb5753);return _0x609d[_0x27b2e2(0x1f2)]({'label':_0x14ff64(_0xdb5753,_0x27b2e2(0x208)),'withText':!0x0,'tooltip':!0x0}),_0x609d[_0x27b2e2(0x220)](_0x27b2e2(0x216))['to'](_0x5dc171[_0x27b2e2(0x1f3)][_0x27b2e2(0x1f7)](_0x27b2e2(0x1fa))),this[_0x27b2e2(0x1f4)](_0x609d,_0x27b2e2(0x1fb),()=>_0x5dc171[_0x27b2e2(0x1fb)](_0x27b2e2(0x1fa))),_0x609d;}),_0x5dc171['ui'][_0x108317(0x214)][_0x108317(0x203)](_0x108317(0x21e),_0x56b0f0=>{const _0x32053b=_0x108317,_0x11c531=new _0x1d91be(_0x56b0f0),_0x97309f=_0x5dc171[_0x32053b(0x1f3)][_0x32053b(0x1f7)](_0x32053b(0x218)),_0x53ff1a=_0x5dc171[_0x32053b(0x1f3)][_0x32053b(0x1f7)](_0x32053b(0x211));return _0x11c531[_0x32053b(0x220)](_0x32053b(0x206))['to'](_0x97309f,_0x32053b(0x216)),_0x11c531[_0x32053b(0x220)](_0x32053b(0x212))['to'](_0x53ff1a,_0x32053b(0x216)),_0x11c531[_0x32053b(0x220)](_0x32053b(0x207),_0x32053b(0x200),_0x32053b(0x21b),_0x32053b(0x1f8))['to'](_0x33708f),this[_0x32053b(0x1f4)](_0x11c531,_0x32053b(0x1fb),(_0x3dfc24,_0x1562ab)=>{const _0x27a1d2=_0x32053b;_0x5dc171[_0x27a1d2(0x1fb)](_0x27a1d2(0x20f)===_0x1562ab?_0x27a1d2(0x211):_0x27a1d2(0x218));}),_0x11c531;}),_0x2458ee[_0x108317(0x20b)](),_0x33708f['on'](_0x108317(0x1f6),(_0x2ad1e1,_0x5d5080,_0x23dba7)=>{const _0x531e49=_0x108317;_0x23dba7?_0x2458ee[_0x531e49(0x1fe)]():_0x2458ee[_0x531e49(0x20b)]();});}}function _0xdcec(){const _0x3e2a1b=['requires','changesNavigation','RevisionViewerUI','bind','closeRevisionViewerCallback','set','commands','listenTo','798649WElphe','change:isReady','get','isNavigationMode','43288yMaIuS','restoreRevision','execute','isOfficialPlugin','config','hide','init','currentChangeNumber','461133lBSSHr','140NtkdPk','add','pluginName','392KXsbIP','isBackwardNavigationEnabled','isReady','Restore\x20this\x20revision','2251338HcYXJQ','ck-revision-history-ui__back-to-editing','show','editor','isPremiumPlugin','plugins','forward','798WGDgOk','showNextChange','isForwardNavigationEnabled','39945YhyFCK','componentFactory','exitToEditing','isEnabled','revisionHistory','showPreviousChange','1778750wKbxYh','Back\x20to\x20editing','numberOfChanges','2646988qdSrtd'];_0xdcec=function(){return _0x3e2a1b;};return _0xdcec();}
|