@ckeditor/ckeditor5-revision-history 46.0.1-alpha.10 → 46.0.1-alpha.11
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
|
-
function
|
|
23
|
+
function _0x8670(_0x24406b,_0xdf501){const _0x1d91a7=_0x1d91();return _0x8670=function(_0x8670b,_0x57322d){_0x8670b=_0x8670b-0x76;let _0x23a5c9=_0x1d91a7[_0x8670b];return _0x23a5c9;},_0x8670(_0x24406b,_0xdf501);}(function(_0x33cb8d,_0x474a29){const _0x24dcdb=_0x8670,_0x941f23=_0x33cb8d();while(!![]){try{const _0x5d6cf9=-parseInt(_0x24dcdb(0x85))/0x1+-parseInt(_0x24dcdb(0x82))/0x2+-parseInt(_0x24dcdb(0x79))/0x3*(-parseInt(_0x24dcdb(0x76))/0x4)+parseInt(_0x24dcdb(0x80))/0x5+-parseInt(_0x24dcdb(0x77))/0x6*(-parseInt(_0x24dcdb(0x86))/0x7)+-parseInt(_0x24dcdb(0x84))/0x8+parseInt(_0x24dcdb(0x7d))/0x9;if(_0x5d6cf9===_0x474a29)break;else _0x941f23['push'](_0x941f23['shift']());}catch(_0x1ed918){_0x941f23['push'](_0x941f23['shift']());}}}(_0x1d91,0x5e1c1));import{View as _0x576098,IconView as _0x2f6361}from'ckeditor5/src/ui.js';import{getTranslation as _0x5138a8}from'../../utils/common-translations.js';function _0x1d91(){const _0x48f3fd=['2352544KaZJUx','746234jMqXRs','282555JFiwDy','156132wNEebi','24EYboOC','span','21SEQZfd','setTemplate','ck-revision-history-sidebar__header','div','3530151twwyMh','ck-reset_all','ck-revision-history-sidebar__header__label','3104005LgckoP','content','43912HrfJQI','Revision\x20history'];_0x1d91=function(){return _0x48f3fd;};return _0x1d91();}import{IconHistory as _0x425c88}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x576098{constructor(_0x2c3382){const _0x35900f=_0x8670;super(_0x2c3382);const _0x4136b6=new _0x2f6361();_0x4136b6[_0x35900f(0x81)]=_0x425c88,this[_0x35900f(0x7a)]({'tag':_0x35900f(0x7c),'attributes':{'class':['ck',_0x35900f(0x7e),_0x35900f(0x7b)]},'children':[_0x4136b6,{'tag':_0x35900f(0x78),'attributes':{'class':['ck',_0x35900f(0x7f)]},'children':[_0x5138a8(_0x2c3382,_0x35900f(0x83))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x32aa(_0x5dbaf3,_0x3b9927){const _0x411479=_0x4114();return _0x32aa=function(_0x32aaed,_0x3c6279){_0x32aaed=_0x32aaed-0x172;let _0x642aa0=_0x411479[_0x32aaed];return _0x642aa0;},_0x32aa(_0x5dbaf3,_0x3b9927);}const _0x2b804e=_0x32aa;(function(_0x21cb05,_0x440a55){const _0x47a2f6=_0x32aa,_0x583b6a=_0x21cb05();while(!![]){try{const _0x48289b=parseInt(_0x47a2f6(0x189))/0x1+parseInt(_0x47a2f6(0x178))/0x2+-parseInt(_0x47a2f6(0x179))/0x3+-parseInt(_0x47a2f6(0x17b))/0x4+-parseInt(_0x47a2f6(0x185))/0x5*(parseInt(_0x47a2f6(0x17c))/0x6)+parseInt(_0x47a2f6(0x173))/0x7+parseInt(_0x47a2f6(0x190))/0x8*(parseInt(_0x47a2f6(0x17a))/0x9);if(_0x48289b===_0x440a55)break;else _0x583b6a['push'](_0x583b6a['shift']());}catch(_0x5452c2){_0x583b6a['push'](_0x583b6a['shift']());}}}(_0x4114,0x5f64a));import{View as _0x1c697f}from'ckeditor5/src/ui.js';import{RevisionView as _0x18d480}from'../revision/revisionview.js';function _0x4114(){const _0x1d612b=['1188063kTVmNl','2435556lALisE','12XzjUAq','_revisionActions','ck-revision-history-sidebar__time-period__revisions','localizedPeriodName','select','ck-revision-history-sidebar__time-period','div','_requireRevisionName','find','403870OsqbdV','createCollection','setTemplate','delegate','591535ZIegyk','removeRevision','uiLanguage','span','ck-revision-history-sidebar__time-period__label','locale','add','40ADAvOA','addRevision','732942KuENLx','revisionViews','remove','setName','startDate','210776sbBKsx','901491hHhBUn'];_0x4114=function(){return _0x1d612b;};return _0x4114();}import{getDateTimePeriodInfo as _0x206980}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x1c697f{[_0x2b804e(0x177)];[_0x2b804e(0x174)];[_0x2b804e(0x17d)];[_0x2b804e(0x183)];constructor(_0x4326b2,_0xd03eb1,_0x1cb37d,_0x559ee1){const _0x4fa1cc=_0x2b804e;super(_0x4326b2);const _0x1820a9=_0x206980(_0xd03eb1,this[_0x4fa1cc(0x18e)][_0x4fa1cc(0x18b)])[_0x4fa1cc(0x17f)];this[_0x4fa1cc(0x177)]=_0xd03eb1,this[_0x4fa1cc(0x174)]=this[_0x4fa1cc(0x186)](),this[_0x4fa1cc(0x17d)]=_0x1cb37d,this[_0x4fa1cc(0x183)]=_0x559ee1,this[_0x4fa1cc(0x174)][_0x4fa1cc(0x188)](_0x4fa1cc(0x180))['to'](this),this[_0x4fa1cc(0x174)][_0x4fa1cc(0x188)](_0x4fa1cc(0x176))['to'](this),this[_0x4fa1cc(0x187)]({'tag':_0x4fa1cc(0x182),'attributes':{'class':['ck',_0x4fa1cc(0x181)]},'children':[{'tag':_0x4fa1cc(0x18c),'attributes':{'class':['ck',_0x4fa1cc(0x18d)]},'children':[{'text':_0x1820a9}]},{'tag':_0x4fa1cc(0x182),'attributes':{'class':['ck',_0x4fa1cc(0x17e)]},'children':this[_0x4fa1cc(0x174)]}]});}[_0x2b804e(0x172)](_0x210c2e){const _0x382880=_0x2b804e,_0x16aa4d=new _0x18d480(this[_0x382880(0x18e)],_0x210c2e,this[_0x382880(0x17d)],this[_0x382880(0x183)]);this[_0x382880(0x174)][_0x382880(0x18f)](_0x16aa4d);}[_0x2b804e(0x18a)](_0x356718){const _0x44f12d=_0x2b804e,_0x5a754d=this[_0x44f12d(0x174)][_0x44f12d(0x184)](_0x5f49c0=>_0x5f49c0['id']===_0x356718['id']);this[_0x44f12d(0x174)][_0x44f12d(0x175)](_0x5a754d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5344c6=_0x4092;function _0x4092(_0x59a2e9,_0x42bfe5){const _0x27c9bf=_0x27c9();return _0x4092=function(_0x40925d,_0x33ff9b){_0x40925d=_0x40925d-0x78;let _0x7a519e=_0x27c9bf[_0x40925d];return _0x7a519e;},_0x4092(_0x59a2e9,_0x42bfe5);}(function(_0x44184e,_0x1408d9){const _0x27f228=_0x4092,_0x2c15c0=_0x44184e();while(!![]){try{const _0x350768=-parseInt(_0x27f228(0xac))/0x1+parseInt(_0x27f228(0x97))/0x2+parseInt(_0x27f228(0x99))/0x3+-parseInt(_0x27f228(0x7f))/0x4*(-parseInt(_0x27f228(0x9a))/0x5)+parseInt(_0x27f228(0x8f))/0x6+parseInt(_0x27f228(0x9d))/0x7*(-parseInt(_0x27f228(0xa6))/0x8)+-parseInt(_0x27f228(0x9c))/0x9;if(_0x350768===_0x1408d9)break;else _0x2c15c0['push'](_0x2c15c0['shift']());}catch(_0x195e2f){_0x2c15c0['push'](_0x2c15c0['shift']());}}}(_0x27c9,0x9c8c7));function _0x27c9(){const _0x352ad8=['div','removeRevision','bindTemplate','select','uiLanguage','38603nKochf','_revisions','selectRevision','setTemplate','set','render','locale','add','isEnabled','3350416TjIANI','ck-revision-history-sidebar__timeline','map','_addRevision','createCollection','highlight','fire','ck-disabled','revisionSelected','deselect','get','_requireRevisionName','setName','ck-rounded-corners','createdAt','startDate','1558698TTqLhb','flat','ck-reset','revisionViews','find','getTime','timePeriodViews','unhighlight','72944yECxnl','some','2523297eOtfuK','5nxBTBy','highlightRevisions','6294807UDaqKo','7puuDbj','_getTimePeriodViewByStartDate','_removeRevision','revisionSetName','_revisionActions','delegate','addRevision','ck-revision-history-sidebar','remove','4765672eRyaqr'];_0x27c9=function(){return _0x352ad8;};return _0x27c9();}import{View as _0x5633d0}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x3f996a}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x3118e5}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x937bdb}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x5633d0{[_0x5344c6(0x95)];[_0x5344c6(0xad)];[_0x5344c6(0xa1)];[_0x5344c6(0x8a)];constructor(_0x397ecd,_0xf6403e,_0x14db2a,_0x55818f){const _0x23367e=_0x5344c6;super(_0x397ecd);const _0x65c899=this[_0x23367e(0xa9)];this[_0x23367e(0x95)]=this[_0x23367e(0x83)](),this[_0x23367e(0x95)][_0x23367e(0xa2)](_0x23367e(0xaa))['to'](this),this[_0x23367e(0x95)][_0x23367e(0xa2)](_0x23367e(0x8b))['to'](this),this[_0x23367e(0xad)]=_0xf6403e,this[_0x23367e(0xa1)]=_0x14db2a,this[_0x23367e(0x8a)]=_0x55818f,this['on'](_0x23367e(0xaa),(_0x8b5c5a,_0x72ff1c)=>{const _0x233c91=_0x23367e;this[_0x233c91(0x85)](_0x233c91(0x87),_0x72ff1c);}),this['on'](_0x23367e(0x8b),(_0x45833c,_0x1ffba7)=>{const _0x578dd2=_0x23367e;this[_0x578dd2(0x85)](_0x578dd2(0xa0),_0x1ffba7);}),this[_0x23367e(0x7a)](_0x23367e(0x7e),!0x1),this[_0x23367e(0x79)]({'tag':_0x23367e(0xa7),'attributes':{'class':['ck',_0x23367e(0x91),_0x23367e(0x8c),_0x23367e(0xa4)]},'children':[new _0x3118e5(_0x397ecd),{'tag':_0x23367e(0xa7),'attributes':{'class':['ck',_0x23367e(0x80),_0x65c899['if'](_0x23367e(0x7e),_0x23367e(0x86),_0x469989=>!_0x469989)]},'children':this[_0x23367e(0x95)]}]});}[_0x5344c6(0x7b)](){const _0x40e053=_0x5344c6;super[_0x40e053(0x7b)]();for(const _0xf4f59c of this[_0x40e053(0xad)])this[_0x40e053(0x82)](_0xf4f59c);this[_0x40e053(0xad)]['on'](_0x40e053(0x7d),(_0x1f9f01,_0x5e5957)=>{const _0x5c7329=_0x40e053;this[_0x5c7329(0x82)](_0x5e5957);}),this[_0x40e053(0xad)]['on'](_0x40e053(0xa5),(_0x2e2a63,_0x483abc)=>{const _0x3a6d38=_0x40e053;this[_0x3a6d38(0x9f)](_0x483abc);});}get[_0x5344c6(0x92)](){const _0x2f2b2c=_0x5344c6;return this[_0x2f2b2c(0x95)][_0x2f2b2c(0x81)](_0x5e72aa=>_0x5e72aa[_0x2f2b2c(0x92)][_0x2f2b2c(0x81)](_0x6fb937=>_0x6fb937))[_0x2f2b2c(0x90)]();}[_0x5344c6(0x78)](_0x36aaba){const _0x182486=_0x5344c6;for(const _0x14d4d8 of this[_0x182486(0x92)])_0x36aaba&&_0x36aaba['id']===_0x14d4d8['id']?_0x14d4d8[_0x182486(0xaa)]():_0x14d4d8[_0x182486(0x88)]();}[_0x5344c6(0x9b)](_0x3e59ee){const _0x3078bb=_0x5344c6;for(const _0x5ead06 of this[_0x3078bb(0x92)])_0x3e59ee[_0x3078bb(0x98)](({id:_0x2bdf89})=>_0x2bdf89===_0x5ead06['id'])?_0x5ead06[_0x3078bb(0x84)]():_0x5ead06[_0x3078bb(0x96)]();}[_0x5344c6(0x82)](_0x237907){const _0x5b4b54=_0x5344c6,_0x5574c0=_0x937bdb(_0x237907[_0x5b4b54(0x8d)],this[_0x5b4b54(0x7c)][_0x5b4b54(0xab)])[_0x5b4b54(0x8e)];let _0x52823b=this[_0x5b4b54(0x95)][_0x5b4b54(0x89)](0x0);_0x52823b&&_0x52823b[_0x5b4b54(0x8e)][_0x5b4b54(0x94)]()===_0x5574c0[_0x5b4b54(0x94)]()||(_0x52823b=new _0x3f996a(this[_0x5b4b54(0x7c)],_0x5574c0,this[_0x5b4b54(0xa1)],this[_0x5b4b54(0x8a)]),this[_0x5b4b54(0x95)][_0x5b4b54(0x7d)](_0x52823b)),_0x52823b[_0x5b4b54(0xa3)](_0x237907);}[_0x5344c6(0x9f)](_0x318b0a){const _0x20e926=_0x5344c6,_0x14ea46=_0x937bdb(_0x318b0a[_0x20e926(0x8d)],this[_0x20e926(0x7c)][_0x20e926(0xab)])[_0x20e926(0x8e)];this[_0x20e926(0x9e)](_0x14ea46)[_0x20e926(0xa8)](_0x318b0a);}[_0x5344c6(0x9e)](_0x5d04f6){const _0x2a9466=_0x5344c6;return this[_0x2a9466(0x95)][_0x2a9466(0x93)](_0x85c8e3=>_0x85c8e3[_0x2a9466(0x8e)][_0x2a9466(0x94)]()===_0x5d04f6[_0x2a9466(0x94)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20755a=_0xedf7;(function(_0x11daf6,_0xb47edf){const _0xa47941=_0xedf7,_0x1675f0=_0x11daf6();while(!![]){try{const _0xc4efcc=parseInt(_0xa47941(0x1f8))/0x1*(parseInt(_0xa47941(0x203))/0x2)+parseInt(_0xa47941(0x1f9))/0x3+-parseInt(_0xa47941(0x1f1))/0x4*(parseInt(_0xa47941(0x1e8))/0x5)+parseInt(_0xa47941(0x1f2))/0x6*(-parseInt(_0xa47941(0x1f4))/0x7)+parseInt(_0xa47941(0x206))/0x8*(parseInt(_0xa47941(0x1fd))/0x9)+parseInt(_0xa47941(0x1ff))/0xa*(-parseInt(_0xa47941(0x1ef))/0xb)+-parseInt(_0xa47941(0x1f0))/0xc*(-parseInt(_0xa47941(0x1f7))/0xd);if(_0xc4efcc===_0xb47edf)break;else _0x1675f0['push'](_0x1675f0['shift']());}catch(_0x9c1afa){_0x1675f0['push'](_0x1675f0['shift']());}}}(_0x2b4e,0xc39fa));function _0xedf7(_0x139ae0,_0x25b8be){const _0x2b4e15=_0x2b4e();return _0xedf7=function(_0xedf75c,_0x3d0cd6){_0xedf75c=_0xedf75c-0x1e7;let _0x378a19=_0x2b4e15[_0xedf75c];return _0x378a19;},_0xedf7(_0x139ae0,_0x25b8be);}import{View as _0x375c29}from'ckeditor5/src/ui.js';import{getTranslation as _0x2dea4d}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x375c29{[_0x20755a(0x1e7)];[_0x20755a(0x1f5)];constructor(_0x576e46,_0x110c90){const _0x5e7c0c=_0x20755a;super(_0x576e46),this[_0x5e7c0c(0x1f5)]=_0x110c90,this[_0x5e7c0c(0x1e7)]=_0x110c90['id'];const _0x4eabb5=this[_0x5e7c0c(0x200)],_0x1ccbe8=_0x2dea4d(_0x576e46,_0x110c90[_0x5e7c0c(0x204)][_0x5e7c0c(0x209)]?_0x5e7c0c(0x1ee):_0x5e7c0c(0x1ed)==_0x110c90[_0x5e7c0c(0x1e9)]?_0x5e7c0c(0x1f3):_0x5e7c0c(0x1f6));this[_0x5e7c0c(0x1ea)](_0x5e7c0c(0x1e9),_0x110c90[_0x5e7c0c(0x1e9)]),this[_0x5e7c0c(0x1eb)]({'tag':_0x5e7c0c(0x1fe),'attributes':{'class':[_0x5e7c0c(0x1ec),_0x5e7c0c(0x1fb),_0x4eabb5['to'](_0x5e7c0c(0x1e9),_0x555473=>_0x5e7c0c(0x207)+_0x555473)],'tabindex':-0x1},'children':[{'tag':_0x5e7c0c(0x202),'children':[{'tag':_0x5e7c0c(0x202),'attributes':{'class':[_0x5e7c0c(0x201)]},'children':[{'text':_0x1ccbe8}]},{'text':'\x20'+_0x110c90[_0x5e7c0c(0x1fc)][_0x5e7c0c(0x205)]}]}]});}[_0x20755a(0x1fa)](){const _0x3d6118=_0x20755a;this[_0x3d6118(0x208)][_0x3d6118(0x1fa)]();}}function _0x2b4e(){const _0x44eac9=['bindTemplate','ck-revision-change__label','span','7706VrzJNt','data','name','14104ttAyHT','ck-revision-change__','element','isSuggestion','changeId','1180dYysBt','type','set','setTemplate','ck-annotation','add','Suggested\x20by','11YjMeHr','1572QBMTkj','26984EzQHJT','18rAMZhp','Added\x20by','2823107AZBOWi','_model','Removed\x20by','244023WbiOWs','169mJccDD','1724277PzQYsf','focus','ck-revision-change','author','5625FxZCkr','div','11835590esupNx'];_0x2b4e=function(){return _0x44eac9;};return _0x2b4e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1a2c(_0x4be678,_0x575fe6){const _0x56b74a=_0x56b7();return _0x1a2c=function(_0x1a2c18,_0x19690c){_0x1a2c18=_0x1a2c18-0x80;let _0x173493=_0x56b74a[_0x1a2c18];return _0x173493;},_0x1a2c(_0x4be678,_0x575fe6);}function _0x56b7(){const _0x96ee45=['_isStatusLabelVisible','backward','Loading...','NUMBER_OF_CHANGES','forward','setTemplate','6JnQPmT','_statusText','ck-hidden','span','currentChangeNumber','1526485MxqrKw','1976768LtKifH','isEnabled','ck-revision-history-ui__changes-navigation','isReady','7587080naHxQi','1049721RHQVam','bindTemplate','ck-revision-history-ui','ck-revision-history-ui__changes-navigation__label','isBackwardNavigationEnabled','No\x20changes','84030ISAgAK','div','EDIT_X_OF_Y_REVISIONS','2850561rwlXqO','7503768TiGFIH','ck-revision-history-ui__changes-navigation__wrapper','isForwardNavigationEnabled','set','Show\x20previous\x20change','Show\x20next\x20change','bind','ck-revision-history-ui__changes-navigation__navigation','fire','X_OF_Y_CHANGES','numberOfChanges','isNavigationMode','execute','Total','88zCusfD'];_0x56b7=function(){return _0x96ee45;};return _0x56b7();}(function(_0x2112c1,_0x1535fe){const _0x5ea2e8=_0x1a2c,_0x3b60af=_0x2112c1();while(!![]){try{const _0x50e264=parseInt(_0x5ea2e8(0x97))/0x1+-parseInt(_0x5ea2e8(0x92))/0x2+-parseInt(_0x5ea2e8(0x9d))/0x3*(-parseInt(_0x5ea2e8(0x85))/0x4)+parseInt(_0x5ea2e8(0x91))/0x5*(-parseInt(_0x5ea2e8(0x8c))/0x6)+parseInt(_0x5ea2e8(0xa0))/0x7+-parseInt(_0x5ea2e8(0x96))/0x8+parseInt(_0x5ea2e8(0xa1))/0x9;if(_0x50e264===_0x1535fe)break;else _0x3b60af['push'](_0x3b60af['shift']());}catch(_0x19d0a9){_0x3b60af['push'](_0x3b60af['shift']());}}}(_0x56b7,0xa2512));import{View as _0x331244,ButtonView as _0x253d14,ToolbarSeparatorView as _0x24b45b}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x5f4e7c,IconChevronDown as _0x7ab331}from'ckeditor5/src/icons.js';import{getTranslation as _0x94fc15}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x331244{constructor(_0x2d6af2){const _0xdff66c=_0x1a2c;super(_0x2d6af2);const _0x2dd1b4=this[_0xdff66c(0x98)],_0x3c8860=new _0x253d14(_0x2d6af2),_0x4ffbc4=new _0x253d14(_0x2d6af2);this[_0xdff66c(0xa4)](_0xdff66c(0x82),!0x1),this[_0xdff66c(0xa4)](_0xdff66c(0x95),!0x1),this[_0xdff66c(0xa4)](_0xdff66c(0x90),0x0),this[_0xdff66c(0xa4)](_0xdff66c(0x81),0x0),this[_0xdff66c(0xa4)](_0xdff66c(0xa3),!0x1),this[_0xdff66c(0xa4)](_0xdff66c(0x9b),!0x1),this[_0xdff66c(0xa7)](_0xdff66c(0x86))['to'](this,_0xdff66c(0x95),this,_0xdff66c(0x81),(_0x1972fd,_0x573d5b)=>_0x1972fd&&_0x573d5b>0x0),this[_0xdff66c(0xa7)](_0xdff66c(0x8d))['to'](this,_0xdff66c(0x95),this,_0xdff66c(0x90),this,_0xdff66c(0x81),this,_0xdff66c(0x82),(_0x330592,_0xfc2885,_0x34a8b2,_0xfcc519)=>{const _0x436a3a=_0xdff66c;if(!_0x330592)return _0x94fc15(_0x2d6af2,_0x436a3a(0x88));if(!_0x34a8b2)return _0x94fc15(_0x2d6af2,_0x436a3a(0x9c));const _0x8a307d=_0x94fc15(_0x2d6af2,_0x436a3a(0x89),_0x34a8b2);return _0xfcc519?_0x94fc15(_0x2d6af2,_0x436a3a(0x80),[_0xfc2885+0x1,_0x34a8b2]):_0x8a307d;}),_0x3c8860[_0xdff66c(0xa4)]({'label':_0x94fc15(_0x2d6af2,_0xdff66c(0xa5)),'tooltip':!0x0,'icon':_0x5f4e7c}),_0x4ffbc4[_0xdff66c(0xa4)]({'label':_0x94fc15(_0x2d6af2,_0xdff66c(0xa6)),'tooltip':!0x0,'icon':_0x7ab331}),_0x3c8860[_0xdff66c(0xa7)](_0xdff66c(0x93))['to'](this,_0xdff66c(0x9b)),_0x4ffbc4[_0xdff66c(0xa7)](_0xdff66c(0x93))['to'](this,_0xdff66c(0xa3)),_0x3c8860['on'](_0xdff66c(0x83),()=>this[_0xdff66c(0xa9)](_0xdff66c(0x83),_0xdff66c(0x87))),_0x4ffbc4['on'](_0xdff66c(0x83),()=>this[_0xdff66c(0xa9)](_0xdff66c(0x83),_0xdff66c(0x8a))),this[_0xdff66c(0x8b)]({'tag':_0xdff66c(0x9e),'attributes':{'class':['ck',_0xdff66c(0x99),_0xdff66c(0x94)]},'children':[{'tag':_0xdff66c(0x8f),'attributes':{'class':[_0xdff66c(0xa2)]},'children':[{'tag':_0xdff66c(0x8f),'attributes':{'class':[_0xdff66c(0x9a),_0x2dd1b4['if'](_0xdff66c(0x86),_0xdff66c(0x8e),_0x20796c=>!_0x20796c)]},'children':[{'text':_0x2dd1b4['to'](_0xdff66c(0x82),_0x196f52=>_0x196f52?_0x94fc15(_0x2d6af2,_0xdff66c(0x9f))+':\x20':_0x94fc15(_0x2d6af2,_0xdff66c(0x84))+':\x20')}]},{'text':_0x2dd1b4['to'](_0xdff66c(0x8d))}]},new _0x24b45b(),{'tag':_0xdff66c(0x9e),'attributes':{'class':[_0xdff66c(0xa8)]},'children':[_0x3c8860,_0x4ffbc4]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2081d9=_0x334e;(function(_0x43466f,_0x51f6e6){const _0x3141f5=_0x334e,_0x2bdc54=_0x43466f();while(!![]){try{const _0x57bfcb=parseInt(_0x3141f5(0x17d))/0x1*(parseInt(_0x3141f5(0x184))/0x2)+parseInt(_0x3141f5(0x19a))/0x3+parseInt(_0x3141f5(0x1aa))/0x4*(-parseInt(_0x3141f5(0x194))/0x5)+-parseInt(_0x3141f5(0x17c))/0x6+-parseInt(_0x3141f5(0x19c))/0x7*(-parseInt(_0x3141f5(0x19b))/0x8)+parseInt(_0x3141f5(0x18a))/0x9+parseInt(_0x3141f5(0x199))/0xa;if(_0x57bfcb===_0x51f6e6)break;else _0x2bdc54['push'](_0x2bdc54['shift']());}catch(_0x5eb2d9){_0x2bdc54['push'](_0x2bdc54['shift']());}}}(_0x1741,0xd1947));import{Plugin as _0x2286fd}from'ckeditor5/src/core.js';function _0x334e(_0x181917,_0x3a0728){const _0x1741f6=_0x1741();return _0x334e=function(_0x334e28,_0x40e305){_0x334e28=_0x334e28-0x17c;let _0x1caa3d=_0x1741f6[_0x334e28];return _0x1caa3d;},_0x334e(_0x181917,_0x3a0728);}import{ButtonView as _0x281b80}from'ckeditor5/src/ui.js';function _0x1741(){const _0xee1f88=['isNavigationMode','config','19073360EnbhyW','1083216BemtCZ','15472EjdSdB','238UZKwAi','isForwardNavigationEnabled','ck-revision-history-ui__back-to-editing','isOfficialPlugin','isBackwardNavigationEnabled','Back\x20to\x20editing','pluginName','hide','listenTo','add','set','restoreRevision','isEnabled','editor','268yZbgHS','showNextChange','6147144zDavwd','1grcMgv','exitToEditing','requires','bind','init','changesNavigation','componentFactory','1038326hboONk','numberOfChanges','currentChangeNumber','plugins','show','execute','424485OsSbsq','showPreviousChange','RevisionViewerUI','revisionHistory','closeRevisionViewerCallback','forward','Restore\x20this\x20revision','get','commands','change:isReady','75935cttIYK','isPremiumPlugin','isReady'];_0x1741=function(){return _0xee1f88;};return _0x1741();}import{IconUndo as _0x458118}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x3a2dc8}from'./changesnavigationview.js';import{RevisionViewer as _0x52b138}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x54aa0a}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0xface89}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x2286fd{static get[_0x2081d9(0x1a2)](){const _0x5f1d8b=_0x2081d9;return _0x5f1d8b(0x18c);}static get[_0x2081d9(0x19f)](){return!0x0;}static get[_0x2081d9(0x195)](){return!0x0;}static get[_0x2081d9(0x17f)](){return[_0x52b138,_0x54aa0a];}[_0x2081d9(0x181)](){const _0x26a6e6=_0x2081d9,_0x39ae40=this[_0x26a6e6(0x1a9)],_0x5e6a82=_0x39ae40[_0x26a6e6(0x187)][_0x26a6e6(0x191)](_0x52b138),_0xd6c6c0=_0x39ae40[_0x26a6e6(0x187)][_0x26a6e6(0x191)](_0x54aa0a);_0x39ae40['ui'][_0x26a6e6(0x183)][_0x26a6e6(0x1a5)](_0x26a6e6(0x17e),_0x544dcb=>{const _0x23f98b=_0x26a6e6,_0x1d076a=new _0x281b80(_0x544dcb);return _0x1d076a[_0x23f98b(0x1a6)]({'label':_0xface89(_0x544dcb,_0x23f98b(0x1a1)),'icon':_0x458118,'withText':!0x0,'tooltip':!0x0,'class':_0x23f98b(0x19e)}),this[_0x23f98b(0x1a4)](_0x1d076a,_0x23f98b(0x189),()=>{const _0x30b3bf=_0x23f98b;_0x39ae40[_0x30b3bf(0x198)][_0x30b3bf(0x191)](_0x30b3bf(0x18d))[_0x30b3bf(0x18e)]();}),_0x1d076a;}),_0x39ae40['ui'][_0x26a6e6(0x183)][_0x26a6e6(0x1a5)](_0x26a6e6(0x1a7),_0x3415d2=>{const _0x5e60c8=_0x26a6e6,_0x1416fb=new _0x281b80(_0x3415d2);return _0x1416fb[_0x5e60c8(0x1a6)]({'label':_0xface89(_0x3415d2,_0x5e60c8(0x190)),'withText':!0x0,'tooltip':!0x0}),_0x1416fb[_0x5e60c8(0x180)](_0x5e60c8(0x1a8))['to'](_0x39ae40[_0x5e60c8(0x192)][_0x5e60c8(0x191)](_0x5e60c8(0x1a7))),this[_0x5e60c8(0x1a4)](_0x1416fb,_0x5e60c8(0x189),()=>_0x39ae40[_0x5e60c8(0x189)](_0x5e60c8(0x1a7))),_0x1416fb;}),_0x39ae40['ui'][_0x26a6e6(0x183)][_0x26a6e6(0x1a5)](_0x26a6e6(0x182),_0x4b7d7a=>{const _0x3b856d=_0x26a6e6,_0x4ac063=new _0x3a2dc8(_0x4b7d7a),_0x4bc400=_0x39ae40[_0x3b856d(0x192)][_0x3b856d(0x191)](_0x3b856d(0x18b)),_0x50c742=_0x39ae40[_0x3b856d(0x192)][_0x3b856d(0x191)](_0x3b856d(0x1ab));return _0x4ac063[_0x3b856d(0x180)](_0x3b856d(0x1a0))['to'](_0x4bc400,_0x3b856d(0x1a8)),_0x4ac063[_0x3b856d(0x180)](_0x3b856d(0x19d))['to'](_0x50c742,_0x3b856d(0x1a8)),_0x4ac063[_0x3b856d(0x180)](_0x3b856d(0x196),_0x3b856d(0x186),_0x3b856d(0x185),_0x3b856d(0x197))['to'](_0x5e6a82),this[_0x3b856d(0x1a4)](_0x4ac063,_0x3b856d(0x189),(_0x448d08,_0x4ac898)=>{const _0x1fe7cb=_0x3b856d;_0x39ae40[_0x1fe7cb(0x189)](_0x1fe7cb(0x18f)===_0x4ac898?_0x1fe7cb(0x1ab):_0x1fe7cb(0x18b));}),_0x4ac063;}),_0xd6c6c0[_0x26a6e6(0x188)](),_0x5e6a82['on'](_0x26a6e6(0x193),(_0x390083,_0x5e87e5,_0x1b02d3)=>{const _0x444502=_0x26a6e6;_0x1b02d3?_0xd6c6c0[_0x444502(0x1a3)]():_0xd6c6c0[_0x444502(0x188)]();});}}
|