@ckeditor/ckeditor5-revision-history 44.1.0-alpha.0 → 44.1.0-alpha.2
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 +6 -6
- package/package.json +8 -8
- 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 +1 -1
- 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/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3c0e(_0x9c0f84,_0x307238){const _0x1e7b57=_0x1e7b();return _0x3c0e=function(_0x3c0e41,_0x268a81){_0x3c0e41=_0x3c0e41-0x16a;let _0x392306=_0x1e7b57[_0x3c0e41];return _0x392306;},_0x3c0e(_0x9c0f84,_0x307238);}function _0x1e7b(){const _0x26cf11=['revisionViews','uiLanguage','2554795egrftz','addRevision','createCollection','_requireRevisionName','4LkZXlt','add','delegate','startDate','setName','find','1744vOCgCw','setTemplate','2SkFknH','ck-revision-history-sidebar__time-period','1716021fKXeVo','localizedPeriodName','removeRevision','50upoWwK','select','remove','47047XZwbGh','locale','ck-revision-history-sidebar__time-period__label','div','2579949cQoASi','3948wVKxtN','1956FpWIvV','span','668864qrPPlj','_revisionActions','1284mQsoSi','ck-revision-history-sidebar__time-period__revisions'];_0x1e7b=function(){return _0x26cf11;};return _0x1e7b();}const _0x5e752e=_0x3c0e;(function(_0x464de3,_0xb04d05){const _0x353ddc=_0x3c0e,_0x85a84e=_0x464de3();while(!![]){try{const _0xe815ca=-parseInt(_0x353ddc(0x182))/0x1+-parseInt(_0x353ddc(0x184))/0x2*(-parseInt(_0x353ddc(0x16e))/0x3)+-parseInt(_0x353ddc(0x17c))/0x4*(parseInt(_0x353ddc(0x178))/0x5)+-parseInt(_0x353ddc(0x170))/0x6*(parseInt(_0x353ddc(0x16f))/0x7)+parseInt(_0x353ddc(0x172))/0x8+-parseInt(_0x353ddc(0x186))/0x9*(-parseInt(_0x353ddc(0x189))/0xa)+parseInt(_0x353ddc(0x16a))/0xb*(-parseInt(_0x353ddc(0x174))/0xc);if(_0xe815ca===_0xb04d05)break;else _0x85a84e['push'](_0x85a84e['shift']());}catch(_0x447eaf){_0x85a84e['push'](_0x85a84e['shift']());}}}(_0x1e7b,0xb554a));import{View as _0x4088aa}from'ckeditor5/src/ui.js';import _0x3c1d6b from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x32abb4}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class mi extends _0x4088aa{constructor(_0x13f4b6,_0x1c6112,_0x1b34df,_0x36512b){const _0x5cfe58=_0x3c0e;super(_0x13f4b6);const _0x339b31=_0x32abb4(_0x1c6112,this[_0x5cfe58(0x16b)][_0x5cfe58(0x177)])[_0x5cfe58(0x187)];this[_0x5cfe58(0x17f)]=_0x1c6112,this[_0x5cfe58(0x176)]=this[_0x5cfe58(0x17a)](),this[_0x5cfe58(0x173)]=_0x1b34df,this[_0x5cfe58(0x17b)]=_0x36512b,this[_0x5cfe58(0x176)][_0x5cfe58(0x17e)](_0x5cfe58(0x18a))['to'](this),this[_0x5cfe58(0x176)][_0x5cfe58(0x17e)](_0x5cfe58(0x180))['to'](this),this[_0x5cfe58(0x183)]({'tag':_0x5cfe58(0x16d),'attributes':{'class':['ck',_0x5cfe58(0x185)]},'children':[{'tag':_0x5cfe58(0x171),'attributes':{'class':['ck',_0x5cfe58(0x16c)]},'children':[{'text':_0x339b31}]},{'tag':_0x5cfe58(0x16d),'attributes':{'class':['ck',_0x5cfe58(0x175)]},'children':this[_0x5cfe58(0x176)]}]});}[_0x5e752e(0x179)](_0x8a582e){const _0x45ce87=_0x5e752e,_0x3f3b40=new _0x3c1d6b(this[_0x45ce87(0x16b)],_0x8a582e,this[_0x45ce87(0x173)],this[_0x45ce87(0x17b)]);this[_0x45ce87(0x176)][_0x45ce87(0x17d)](_0x3f3b40);}[_0x5e752e(0x188)](_0x2835d5){const _0x427c5e=_0x5e752e,_0x41d867=this[_0x427c5e(0x176)][_0x427c5e(0x181)](_0x4b3ad8=>_0x4b3ad8['id']===_0x2835d5['id']);this[_0x427c5e(0x176)][_0x427c5e(0x18b)](_0x41d867);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xeb2d(_0x2b45ec,_0x239513){const _0x22ce9e=_0x22ce();return _0xeb2d=function(_0xeb2dac,_0x2e2bd5){_0xeb2dac=_0xeb2dac-0x13b;let _0xd7846e=_0x22ce9e[_0xeb2dac];return _0xd7846e;},_0xeb2d(_0x2b45ec,_0x239513);}const _0x267286=_0xeb2d;(function(_0x11cc02,_0xcb492d){const _0x496971=_0xeb2d,_0xd1673=_0x11cc02();while(!![]){try{const _0x2f0530=parseInt(_0x496971(0x155))/0x1*(-parseInt(_0x496971(0x163))/0x2)+parseInt(_0x496971(0x167))/0x3*(parseInt(_0x496971(0x171))/0x4)+parseInt(_0x496971(0x140))/0x5*(parseInt(_0x496971(0x15a))/0x6)+-parseInt(_0x496971(0x160))/0x7*(-parseInt(_0x496971(0x173))/0x8)+-parseInt(_0x496971(0x142))/0x9+parseInt(_0x496971(0x16b))/0xa*(-parseInt(_0x496971(0x14c))/0xb)+parseInt(_0x496971(0x13f))/0xc;if(_0x2f0530===_0xcb492d)break;else _0xd1673['push'](_0xd1673['shift']());}catch(_0xcc5168){_0xd1673['push'](_0xd1673['shift']());}}}(_0x22ce,0xd3859));import{View as _0x53b4fd}from'ckeditor5/src/ui.js';import _0x273da5 from'./revisionssidebartimeperiodview.js';import _0x49cd7f from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x171e19}from'./utils.js';function _0x22ce(){const _0x40b6cc=['highlight','get','ck-revision-history-sidebar__timeline','_removeRevision','selectRevision','render','highlightRevisions','3668676vipxkA','isEnabled','find','startDate','createdAt','ck-revision-history-sidebar','ck-disabled','setTemplate','remove','1VzTVzX','revisionSetName','ck-reset','revisionViews','some','2678568tJdfka','ck-rounded-corners','removeRevision','fire','addRevision','_requireRevisionName','5387123gcvCns','bindTemplate','revisionSelected','1843970mlHtfe','flat','_getTimePeriodViewByStartDate','getTime','3iASGGf','div','set','delegate','40KTjnra','unhighlight','timePeriodViews','_revisionActions','deselect','_addRevision','3285948DtLeqO','map','16Tkdtpk','locale','setName','add','select','17969316XILHAY','5RXIytd','_revisions','10638846ldLuUQ','uiLanguage','createCollection'];_0x22ce=function(){return _0x40b6cc;};return _0x22ce();}import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ci extends _0x53b4fd{constructor(_0x689e1d,_0x21609a,_0x4638a5,_0x494664){const _0x4faaec=_0xeb2d;super(_0x689e1d);const _0x4fcd99=this[_0x4faaec(0x161)];this[_0x4faaec(0x16d)]=this[_0x4faaec(0x144)](),this[_0x4faaec(0x16d)][_0x4faaec(0x16a)](_0x4faaec(0x13e))['to'](this),this[_0x4faaec(0x16d)][_0x4faaec(0x16a)](_0x4faaec(0x13c))['to'](this),this[_0x4faaec(0x141)]=_0x21609a,this[_0x4faaec(0x16e)]=_0x4638a5,this[_0x4faaec(0x15f)]=_0x494664,this['on'](_0x4faaec(0x13e),(_0x1af6e7,_0x4a0dbd)=>{const _0x1d4414=_0x4faaec;this[_0x1d4414(0x15d)](_0x1d4414(0x162),_0x4a0dbd);}),this['on'](_0x4faaec(0x13c),(_0xc20095,_0x2f955a)=>{const _0x3a1132=_0x4faaec;this[_0x3a1132(0x15d)](_0x3a1132(0x156),_0x2f955a);}),this[_0x4faaec(0x169)](_0x4faaec(0x14d),!0x1),this[_0x4faaec(0x153)]({'tag':_0x4faaec(0x168),'attributes':{'class':['ck',_0x4faaec(0x157),_0x4faaec(0x15b),_0x4faaec(0x151)]},'children':[new _0x49cd7f(_0x689e1d),{'tag':_0x4faaec(0x168),'attributes':{'class':['ck',_0x4faaec(0x147),_0x4fcd99['if'](_0x4faaec(0x14d),_0x4faaec(0x152),_0xbedfac=>!_0xbedfac)]},'children':this[_0x4faaec(0x16d)]}]});}[_0x267286(0x14a)](){const _0x6e312b=_0x267286;super[_0x6e312b(0x14a)]();for(const _0x49ac12 of this[_0x6e312b(0x141)])this[_0x6e312b(0x170)](_0x49ac12);this[_0x6e312b(0x141)]['on'](_0x6e312b(0x13d),(_0x21f263,_0x1813d7)=>{const _0x327acd=_0x6e312b;this[_0x327acd(0x170)](_0x1813d7);}),this[_0x6e312b(0x141)]['on'](_0x6e312b(0x154),(_0x123b74,_0x5e6c9b)=>{const _0x417840=_0x6e312b;this[_0x417840(0x148)](_0x5e6c9b);});}get[_0x267286(0x158)](){const _0xe78560=_0x267286;return this[_0xe78560(0x16d)][_0xe78560(0x172)](_0x220500=>_0x220500[_0xe78560(0x158)][_0xe78560(0x172)](_0x4615bb=>_0x4615bb))[_0xe78560(0x164)]();}[_0x267286(0x149)](_0x475a49){const _0x2b6f43=_0x267286;for(const _0x5d6a48 of this[_0x2b6f43(0x158)])_0x475a49&&_0x475a49['id']===_0x5d6a48['id']?_0x5d6a48[_0x2b6f43(0x13e)]():_0x5d6a48[_0x2b6f43(0x16f)]();}[_0x267286(0x14b)](_0x4f0061){const _0xb4f7ad=_0x267286;for(const _0x22a205 of this[_0xb4f7ad(0x158)])_0x4f0061[_0xb4f7ad(0x159)](({id:_0x29138e})=>_0x29138e===_0x22a205['id'])?_0x22a205[_0xb4f7ad(0x145)]():_0x22a205[_0xb4f7ad(0x16c)]();}[_0x267286(0x170)](_0x5d2fa9){const _0x128196=_0x267286,_0x42980b=_0x171e19(_0x5d2fa9[_0x128196(0x150)],this[_0x128196(0x13b)][_0x128196(0x143)])[_0x128196(0x14f)];let _0x2df148=this[_0x128196(0x16d)][_0x128196(0x146)](0x0);_0x2df148&&_0x2df148[_0x128196(0x14f)][_0x128196(0x166)]()===_0x42980b[_0x128196(0x166)]()||(_0x2df148=new _0x273da5(this[_0x128196(0x13b)],_0x42980b,this[_0x128196(0x16e)],this[_0x128196(0x15f)]),this[_0x128196(0x16d)][_0x128196(0x13d)](_0x2df148)),_0x2df148[_0x128196(0x15e)](_0x5d2fa9);}[_0x267286(0x148)](_0x4f902c){const _0x557bb8=_0x267286,_0x253d51=_0x171e19(_0x4f902c[_0x557bb8(0x150)],this[_0x557bb8(0x13b)][_0x557bb8(0x143)])[_0x557bb8(0x14f)];this[_0x557bb8(0x165)](_0x253d51)[_0x557bb8(0x15c)](_0x4f902c);}[_0x267286(0x165)](_0x4adfcc){const _0x44995c=_0x267286;return this[_0x44995c(0x16d)][_0x44995c(0x14e)](_0x5530d9=>_0x5530d9[_0x44995c(0x14f)][_0x44995c(0x166)]()===_0x4adfcc[_0x44995c(0x166)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5cfc(_0x3b3bb1,_0x10d0e8){const _0x48ad5a=_0x48ad();return _0x5cfc=function(_0x5cfc5b,_0x31f784){_0x5cfc5b=_0x5cfc5b-0x8c;let _0x36d0e3=_0x48ad5a[_0x5cfc5b];return _0x36d0e3;},_0x5cfc(_0x3b3bb1,_0x10d0e8);}function _0x48ad(){const _0x42949a=['69CtVXrz','64792Ruvlsd','local','setLocale','fromJSDate','245694NDoEjT','5ZrzbsL','toJSDate','startOf','95140ONTtuW','monthLong','weekdayLong','1430670fcspkR','year','423CYRFYO','month','656020dzNaPm','hasSame','day','minus','4481736fCWzsG','96551BcvTli','week','toRelativeCalendar'];_0x48ad=function(){return _0x42949a;};return _0x48ad();}(function(_0x1390ba,_0x5b4aba){const _0x346b43=_0x5cfc,_0x174f0a=_0x1390ba();while(!![]){try{const _0x157f10=parseInt(_0x346b43(0x8d))/0x1+parseInt(_0x346b43(0x95))/0x2+-parseInt(_0x346b43(0x90))/0x3*(parseInt(_0x346b43(0x99))/0x4)+-parseInt(_0x346b43(0x96))/0x5*(parseInt(_0x346b43(0x9c))/0x6)+parseInt(_0x346b43(0x8c))/0x7+-parseInt(_0x346b43(0x91))/0x8*(-parseInt(_0x346b43(0x9e))/0x9)+-parseInt(_0x346b43(0xa0))/0xa;if(_0x157f10===_0x5b4aba)break;else _0x174f0a['push'](_0x174f0a['shift']());}catch(_0x37b078){_0x174f0a['push'](_0x174f0a['shift']());}}}(_0x48ad,0x5f04d));import{DateTime as _0xff298}from'luxon';export function getDateTimePeriodInfo(_0x116219,_0x13d592){const _0x1a81aa=_0x5cfc,_0x174bf6=_0xff298[_0x1a81aa(0x94)](_0x116219)[_0x1a81aa(0x93)](_0x13d592),_0x299be5=_0xff298[_0x1a81aa(0x92)](),_0x50b0d8=_0x299be5[_0x1a81aa(0xa3)]({'days':0x1})[_0x1a81aa(0x98)](_0x1a81aa(0xa2));let _0x51640d,_0x499570;return _0x174bf6[_0x1a81aa(0xa1)](_0x299be5,_0x1a81aa(0xa2))?(_0x51640d=_0x174bf6[_0x1a81aa(0x98)](_0x1a81aa(0xa2))[_0x1a81aa(0x97)](),_0x499570=_0x174bf6[_0x1a81aa(0x8f)]()):_0x174bf6[_0x1a81aa(0xa1)](_0x50b0d8,_0x1a81aa(0xa2))?(_0x51640d=_0x50b0d8[_0x1a81aa(0x97)](),_0x499570=_0x174bf6[_0x1a81aa(0x8f)]()):_0x174bf6[_0x1a81aa(0xa1)](_0x299be5,_0x1a81aa(0x8e))?(_0x51640d=_0x174bf6[_0x1a81aa(0x98)](_0x1a81aa(0x8e))[_0x1a81aa(0x97)](),_0x499570=_0x174bf6[_0x1a81aa(0x9b)]||''):_0x174bf6[_0x1a81aa(0xa1)](_0x299be5,_0x1a81aa(0x9d))?(_0x51640d=_0x174bf6[_0x1a81aa(0x98)](_0x1a81aa(0x9f))[_0x1a81aa(0x97)](),_0x499570=_0x174bf6[_0x1a81aa(0x9a)]||''):(_0x51640d=_0x174bf6[_0x1a81aa(0x98)](_0x1a81aa(0x9d))[_0x1a81aa(0x97)](),_0x499570=String(_0x174bf6[_0x1a81aa(0x9d)])),{'startDate':_0x51640d,'localizedPeriodName':_0x499570};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ca349=_0x198f;(function(_0x2644af,_0x58648a){const _0x52d72f=_0x198f,_0x159e0e=_0x2644af();while(!![]){try{const _0x52dbc3=-parseInt(_0x52d72f(0xaa))/0x1*(-parseInt(_0x52d72f(0xc2))/0x2)+-parseInt(_0x52d72f(0xac))/0x3+-parseInt(_0x52d72f(0xbb))/0x4+parseInt(_0x52d72f(0xb2))/0x5*(-parseInt(_0x52d72f(0xab))/0x6)+-parseInt(_0x52d72f(0xb0))/0x7+parseInt(_0x52d72f(0xae))/0x8*(-parseInt(_0x52d72f(0xba))/0x9)+parseInt(_0x52d72f(0xc5))/0xa*(parseInt(_0x52d72f(0xb7))/0xb);if(_0x52dbc3===_0x58648a)break;else _0x159e0e['push'](_0x159e0e['shift']());}catch(_0x57b1b7){_0x159e0e['push'](_0x159e0e['shift']());}}}(_0x541e,0xf2785));function _0x198f(_0x54985a,_0x18a429){const _0x541e80=_0x541e();return _0x198f=function(_0x198f29,_0x2a571b){_0x198f29=_0x198f29-0xa5;let _0x45ba99=_0x541e80[_0x198f29];return _0x45ba99;},_0x198f(_0x54985a,_0x18a429);}import{View as _0x2c9ed4}from'ckeditor5/src/ui.js';import{getTranslation as _0x47441c}from'../../utils/common-translations.js';export default class Y extends _0x2c9ed4{constructor(_0x487551,_0x51762b){const _0x360dcc=_0x198f;super(_0x487551),this[_0x360dcc(0xb8)]=_0x51762b,this[_0x360dcc(0xbe)]=_0x51762b['id'];const _0x430d33=this[_0x360dcc(0xa7)],_0x316bea=_0x47441c(_0x487551,_0x51762b[_0x360dcc(0xb3)][_0x360dcc(0xc0)]?_0x360dcc(0xc3):_0x360dcc(0xb6)==_0x51762b[_0x360dcc(0xbd)]?_0x360dcc(0xb1):_0x360dcc(0xa9));this[_0x360dcc(0xb4)](_0x360dcc(0xbd),_0x51762b[_0x360dcc(0xbd)]),this[_0x360dcc(0xa6)]({'tag':_0x360dcc(0xb5),'attributes':{'class':[_0x360dcc(0xa5),_0x360dcc(0xaf),_0x430d33['to'](_0x360dcc(0xbd),_0x4280bd=>_0x360dcc(0xc4)+_0x4280bd)],'tabindex':-0x1},'children':[{'tag':_0x360dcc(0xc1),'children':[{'tag':_0x360dcc(0xc1),'attributes':{'class':[_0x360dcc(0xa8)]},'children':[{'text':_0x316bea}]},{'text':'\x20'+_0x51762b[_0x360dcc(0xbf)][_0x360dcc(0xb9)]}]}]});}[_0x4ca349(0xbc)](){const _0x42222b=_0x4ca349;this[_0x42222b(0xad)][_0x42222b(0xbc)]();}}function _0x541e(){const _0x1a364a=['ck-revision-change','6773613jjYWyr','Added\x20by','1025YGosLG','data','set','div','add','55KfbaJQ','_model','name','162HwRSul','5905124SgMlnj','focus','type','changeId','author','isSuggestion','span','57262ZhlUAN','Suggested\x20by','ck-revision-change__','7733650hBRcNB','ck-annotation','setTemplate','bindTemplate','ck-revision-change__label','Removed\x20by','22osnoPn','12918XzUJVZ','1450923XrkMrb','element','59824RsFEEi'];_0x541e=function(){return _0x1a364a;};return _0x541e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x487015,_0xeeea2c){const _0x255a07=_0x225e,_0x3c120c=_0x487015();while(!![]){try{const _0x19f407=parseInt(_0x255a07(0x15c))/0x1*(-parseInt(_0x255a07(0x165))/0x2)+-parseInt(_0x255a07(0x152))/0x3*(-parseInt(_0x255a07(0x150))/0x4)+parseInt(_0x255a07(0x140))/0x5*(parseInt(_0x255a07(0x143))/0x6)+parseInt(_0x255a07(0x13d))/0x7+-parseInt(_0x255a07(0x142))/0x8*(-parseInt(_0x255a07(0x156))/0x9)+parseInt(_0x255a07(0x15e))/0xa*(parseInt(_0x255a07(0x155))/0xb)+parseInt(_0x255a07(0x15f))/0xc*(-parseInt(_0x255a07(0x13a))/0xd);if(_0x19f407===_0xeeea2c)break;else _0x3c120c['push'](_0x3c120c['shift']());}catch(_0x1d8bb5){_0x3c120c['push'](_0x3c120c['shift']());}}}(_0x4914,0xced2d));import{View as _0x446458,ButtonView as _0x490bea,ToolbarSeparatorView as _0x2dbf5f}from'ckeditor5/src/ui.js';function _0x225e(_0x5c2029,_0x2fe5d5){const _0x491497=_0x4914();return _0x225e=function(_0x225e1a,_0x2bd89f){_0x225e1a=_0x225e1a-0x139;let _0x5cc71f=_0x491497[_0x225e1a];return _0x5cc71f;},_0x225e(_0x5c2029,_0x2fe5d5);}import{getTranslation as _0x3dd3f3}from'../../utils/common-translations.js';import _0x1c7436 from'../../../theme/icons/arrow-up.svg';import _0x3eb579 from'../../../theme/icons/arrow-down.svg';function _0x4914(){const _0x1ce7c7=['isEnabled','isNavigationMode','isForwardNavigationEnabled','28UuhYrH','ck-revision-history-ui__changes-navigation__navigation','379044oLGPsW','ck-revision-history-ui__changes-navigation__wrapper','div','11UxfmlZ','18OWkQMz','Loading...','_statusText','fire','Total','span','182RAYgSo','backward','11970180TBgigm','13944WZZrCc','Show\x20previous\x20change','forward','isBackwardNavigationEnabled','NUMBER_OF_CHANGES','No\x20changes','3244AYdbvx','bind','ck-revision-history-ui','30524KFTDsT','set','isReady','6279525oRhRvA','execute','Show\x20next\x20change','40KeLkBy','numberOfChanges','98912okETfi','650604IhfwHy','ck-hidden','_isStatusLabelVisible','ck-revision-history-ui__changes-navigation','setTemplate','bindTemplate','X_OF_Y_CHANGES','EDIT_X_OF_Y_REVISIONS','ck-revision-history-ui__changes-navigation__label','currentChangeNumber'];_0x4914=function(){return _0x1ce7c7;};return _0x4914();}import'../../../theme/changesnavigation.css';export default class _i extends _0x446458{constructor(_0x47a061){const _0x342199=_0x225e;super(_0x47a061);const _0xda4f58=this[_0x342199(0x148)],_0x470a58=new _0x490bea(_0x47a061),_0x48dbfa=new _0x490bea(_0x47a061);this[_0x342199(0x13b)](_0x342199(0x14e),!0x1),this[_0x342199(0x13b)](_0x342199(0x13c),!0x1),this[_0x342199(0x13b)](_0x342199(0x14c),0x0),this[_0x342199(0x13b)](_0x342199(0x141),0x0),this[_0x342199(0x13b)](_0x342199(0x14f),!0x1),this[_0x342199(0x13b)](_0x342199(0x162),!0x1),this[_0x342199(0x166)](_0x342199(0x145))['to'](this,_0x342199(0x13c),this,_0x342199(0x141),(_0x17e6eb,_0x3f7ab6)=>_0x17e6eb&&_0x3f7ab6>0x0),this[_0x342199(0x166)](_0x342199(0x158))['to'](this,_0x342199(0x13c),this,_0x342199(0x14c),this,_0x342199(0x141),this,_0x342199(0x14e),(_0x3563ab,_0xf95b96,_0x1cc7ba,_0x1c827c)=>{const _0x5952c6=_0x342199;if(!_0x3563ab)return _0x3dd3f3(_0x47a061,_0x5952c6(0x157));if(!_0x1cc7ba)return _0x3dd3f3(_0x47a061,_0x5952c6(0x164));const _0x52ab1c=_0x3dd3f3(_0x47a061,_0x5952c6(0x163),_0x1cc7ba);return _0x1c827c?_0x3dd3f3(_0x47a061,_0x5952c6(0x149),[_0xf95b96+0x1,_0x1cc7ba]):_0x52ab1c;}),_0x470a58[_0x342199(0x13b)]({'label':_0x3dd3f3(_0x47a061,_0x342199(0x160)),'tooltip':!0x0,'icon':_0x1c7436}),_0x48dbfa[_0x342199(0x13b)]({'label':_0x3dd3f3(_0x47a061,_0x342199(0x13f)),'tooltip':!0x0,'icon':_0x3eb579}),_0x470a58[_0x342199(0x166)](_0x342199(0x14d))['to'](this,_0x342199(0x162)),_0x48dbfa[_0x342199(0x166)](_0x342199(0x14d))['to'](this,_0x342199(0x14f)),_0x470a58['on'](_0x342199(0x13e),()=>this[_0x342199(0x159)](_0x342199(0x13e),_0x342199(0x15d))),_0x48dbfa['on'](_0x342199(0x13e),()=>this[_0x342199(0x159)](_0x342199(0x13e),_0x342199(0x161))),this[_0x342199(0x147)]({'tag':_0x342199(0x154),'attributes':{'class':['ck',_0x342199(0x139),_0x342199(0x146)]},'children':[{'tag':_0x342199(0x15b),'attributes':{'class':[_0x342199(0x153)]},'children':[{'tag':_0x342199(0x15b),'attributes':{'class':[_0x342199(0x14b),_0xda4f58['if'](_0x342199(0x145),_0x342199(0x144),_0x5dd6c7=>!_0x5dd6c7)]},'children':[{'text':_0xda4f58['to'](_0x342199(0x14e),_0xc1441c=>_0xc1441c?_0x3dd3f3(_0x47a061,_0x342199(0x14a))+':\x20':_0x3dd3f3(_0x47a061,_0x342199(0x15a))+':\x20')}]},{'text':_0xda4f58['to'](_0x342199(0x158))}]},new _0x2dbf5f(),{'tag':_0x342199(0x154),'attributes':{'class':[_0x342199(0x151)]},'children':[_0x470a58,_0x48dbfa]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e202f=_0x5cf1;function _0x5cf1(_0x6e7a8a,_0x550a98){const _0x1c93b2=_0x1c93();return _0x5cf1=function(_0x5cf173,_0x238ba9){_0x5cf173=_0x5cf173-0x144;let _0x165471=_0x1c93b2[_0x5cf173];return _0x165471;},_0x5cf1(_0x6e7a8a,_0x550a98);}(function(_0x2a7ec8,_0x267413){const _0x308055=_0x5cf1,_0x1856b2=_0x2a7ec8();while(!![]){try{const _0x360337=parseInt(_0x308055(0x158))/0x1+parseInt(_0x308055(0x144))/0x2+parseInt(_0x308055(0x153))/0x3+-parseInt(_0x308055(0x155))/0x4*(-parseInt(_0x308055(0x157))/0x5)+parseInt(_0x308055(0x146))/0x6+parseInt(_0x308055(0x14b))/0x7*(parseInt(_0x308055(0x14e))/0x8)+parseInt(_0x308055(0x14a))/0x9*(-parseInt(_0x308055(0x15b))/0xa);if(_0x360337===_0x267413)break;else _0x1856b2['push'](_0x1856b2['shift']());}catch(_0x5dc846){_0x1856b2['push'](_0x1856b2['shift']());}}}(_0x1c93,0x3d3c2));import{Plugin as _0x2c2f1b}from'ckeditor5/src/core.js';const ce=_0x5e202f(0x156);import'../../../theme/revisionviewerloadingoverlay.css';function _0x1c93(){const _0x45eafd=['editor','show','roots','addClass','1273230pFxjvm','editing','896868hXVJEl','ck-editor__editable__loading-overlay','5bRWmEH','242064sLHFXQ','RevisionViewerLoadingOverlay','change','10MSyVYV','document','208618yebhAv','view','2932338hmgmzu','hide','isOfficialPlugin','removeClass','14309631yxRllQ','7hADNZS','isPremiumPlugin','pluginName','2856432kezPVE'];_0x1c93=function(){return _0x45eafd;};return _0x1c93();}export default class le extends _0x2c2f1b{static get[_0x5e202f(0x14d)](){const _0x15ec7f=_0x5e202f;return _0x15ec7f(0x159);}static get[_0x5e202f(0x148)](){return!0x0;}static get[_0x5e202f(0x14c)](){return!0x0;}[_0x5e202f(0x150)](){const _0x4c9aeb=_0x5e202f,_0x2eba35=this[_0x4c9aeb(0x14f)][_0x4c9aeb(0x154)][_0x4c9aeb(0x145)];_0x2eba35[_0x4c9aeb(0x15a)](_0x4f56b8=>{const _0x117a5f=_0x4c9aeb;for(const _0x3cf18a of _0x2eba35[_0x117a5f(0x15c)][_0x117a5f(0x151)])_0x4f56b8[_0x117a5f(0x152)](ce,_0x3cf18a);});}[_0x5e202f(0x147)](){const _0x450bf3=_0x5e202f,_0xac169=this[_0x450bf3(0x14f)][_0x450bf3(0x154)][_0x450bf3(0x145)];_0xac169[_0x450bf3(0x15a)](_0xd25cd=>{const _0x2f7a94=_0x450bf3;for(const _0x549893 of _0xac169[_0x2f7a94(0x15c)][_0x2f7a94(0x151)])_0xd25cd[_0x2f7a94(0x149)](ce,_0x549893);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xc700(_0x4fc0b6,_0x448b5c){const _0x301e5f=_0x301e();return _0xc700=function(_0xc700e4,_0x466093){_0xc700e4=_0xc700e4-0xc1;let _0x3c11ac=_0x301e5f[_0xc700e4];return _0x3c11ac;},_0xc700(_0x4fc0b6,_0x448b5c);}const _0x13ecad=_0xc700;(function(_0x56ced0,_0x229955){const _0x201e99=_0xc700,_0x1fd996=_0x56ced0();while(!![]){try{const _0x100716=parseInt(_0x201e99(0xec))/0x1*(-parseInt(_0x201e99(0xcf))/0x2)+parseInt(_0x201e99(0xe9))/0x3+-parseInt(_0x201e99(0xcd))/0x4+parseInt(_0x201e99(0xdf))/0x5+-parseInt(_0x201e99(0xd7))/0x6*(parseInt(_0x201e99(0xce))/0x7)+-parseInt(_0x201e99(0xc3))/0x8+parseInt(_0x201e99(0xc8))/0x9*(parseInt(_0x201e99(0xd5))/0xa);if(_0x100716===_0x229955)break;else _0x1fd996['push'](_0x1fd996['shift']());}catch(_0xa661f1){_0x1fd996['push'](_0x1fd996['shift']());}}}(_0x301e,0x8658a));import{icons as _0x14dec6,Plugin as _0x59a3da}from'ckeditor5/src/core.js';import{ButtonView as _0x4829cb}from'ckeditor5/src/ui.js';import _0x54e5e1 from'./changesnavigationview.js';import _0x48f47c from'./../../revisionviewer.js';import _0x2c5941 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x219f19}from'../../utils/common-translations.js';function _0x301e(){const _0x2dd27b=['isForwardNavigationEnabled','showPreviousChange','isPremiumPlugin','7286960BFFlMP','plugins','isReady','init','exitToEditing','3960jEpckd','restoreRevision','get','RevisionViewerUI','revisionHistory','3300448vOCHRD','588mxretX','1630824ShevCL','config','ck-revision-history-ui__back-to-editing','change:isReady','pluginName','isBackwardNavigationEnabled','40210RdgTzq','closeRevisionViewerCallback','21510gCqpLO','execute','requires','numberOfChanges','editor','hide','isEnabled','show','3955415BGGYks','isOfficialPlugin','currentChangeNumber','Restore\x20this\x20revision','add','undo','isNavigationMode','commands','componentFactory','bind','2527479pEWZxd','showNextChange','set','1hESppw','Back\x20to\x20editing','listenTo','forward','changesNavigation'];_0x301e=function(){return _0x2dd27b;};return _0x301e();}import'../../../theme/revisionviewer.css';export default class m extends _0x59a3da{static get[_0x13ecad(0xd3)](){const _0x2bbbe2=_0x13ecad;return _0x2bbbe2(0xcb);}static get[_0x13ecad(0xe0)](){return!0x0;}static get[_0x13ecad(0xc2)](){return!0x0;}static get[_0x13ecad(0xd9)](){return[_0x48f47c,_0x2c5941];}[_0x13ecad(0xc6)](){const _0x4bf0df=_0x13ecad,_0x26e316=this[_0x4bf0df(0xdb)],_0x5e9621=_0x26e316[_0x4bf0df(0xc4)][_0x4bf0df(0xca)](_0x48f47c),_0x5d76f7=_0x26e316[_0x4bf0df(0xc4)][_0x4bf0df(0xca)](_0x2c5941);_0x26e316['ui'][_0x4bf0df(0xe7)][_0x4bf0df(0xe3)](_0x4bf0df(0xc7),_0x4bb36f=>{const _0x12bb40=_0x4bf0df,_0x3c8617=new _0x4829cb(_0x4bb36f);return _0x3c8617[_0x12bb40(0xeb)]({'label':_0x219f19(_0x4bb36f,_0x12bb40(0xed)),'icon':_0x14dec6[_0x12bb40(0xe4)],'withText':!0x0,'tooltip':!0x0,'class':_0x12bb40(0xd1)}),this[_0x12bb40(0xee)](_0x3c8617,_0x12bb40(0xd8),()=>{const _0x2017c9=_0x12bb40;_0x26e316[_0x2017c9(0xd0)][_0x2017c9(0xca)](_0x2017c9(0xcc))[_0x2017c9(0xd6)]();}),_0x3c8617;}),_0x26e316['ui'][_0x4bf0df(0xe7)][_0x4bf0df(0xe3)](_0x4bf0df(0xc9),_0x51350d=>{const _0xc402d2=_0x4bf0df,_0x9f5707=new _0x4829cb(_0x51350d);return _0x9f5707[_0xc402d2(0xeb)]({'label':_0x219f19(_0x51350d,_0xc402d2(0xe2)),'withText':!0x0,'tooltip':!0x0}),_0x9f5707[_0xc402d2(0xe8)](_0xc402d2(0xdd))['to'](_0x26e316[_0xc402d2(0xe6)][_0xc402d2(0xca)](_0xc402d2(0xc9))),this[_0xc402d2(0xee)](_0x9f5707,_0xc402d2(0xd8),()=>_0x26e316[_0xc402d2(0xd8)](_0xc402d2(0xc9))),_0x9f5707;}),_0x26e316['ui'][_0x4bf0df(0xe7)][_0x4bf0df(0xe3)](_0x4bf0df(0xf0),_0x5afb98=>{const _0x29af70=_0x4bf0df,_0x1c0f1f=new _0x54e5e1(_0x5afb98),_0x100dcd=_0x26e316[_0x29af70(0xe6)][_0x29af70(0xca)](_0x29af70(0xc1)),_0x23d89e=_0x26e316[_0x29af70(0xe6)][_0x29af70(0xca)](_0x29af70(0xea));return _0x1c0f1f[_0x29af70(0xe8)](_0x29af70(0xd4))['to'](_0x100dcd,_0x29af70(0xdd)),_0x1c0f1f[_0x29af70(0xe8)](_0x29af70(0xf1))['to'](_0x23d89e,_0x29af70(0xdd)),_0x1c0f1f[_0x29af70(0xe8)](_0x29af70(0xc5),_0x29af70(0xe1),_0x29af70(0xda),_0x29af70(0xe5))['to'](_0x5e9621),this[_0x29af70(0xee)](_0x1c0f1f,_0x29af70(0xd8),(_0x13ff71,_0x215b0f)=>{const _0x437947=_0x29af70;_0x26e316[_0x437947(0xd8)](_0x437947(0xef)===_0x215b0f?_0x437947(0xea):_0x437947(0xc1));}),_0x1c0f1f;}),_0x5d76f7[_0x4bf0df(0xde)](),_0x5e9621['on'](_0x4bf0df(0xd2),(_0x227957,_0x509393,_0x5382dc)=>{const _0x227d55=_0x4bf0df;_0x5382dc?_0x5d76f7[_0x227d55(0xdc)]():_0x5d76f7[_0x227d55(0xde)]();});}}
|