@ckeditor/ckeditor5-revision-history 46.0.0-alpha.0 → 46.0.0-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(_0x4dbf2e,_0x1f7312){const _0x48715c=_0x5b49,_0x55c370=_0x4dbf2e();while(!![]){try{const _0x162018=parseInt(_0x48715c(0x173))/0x1+-parseInt(_0x48715c(0x16d))/0x2*(-parseInt(_0x48715c(0x174))/0x3)+-parseInt(_0x48715c(0x177))/0x4+-parseInt(_0x48715c(0x172))/0x5*(-parseInt(_0x48715c(0x171))/0x6)+-parseInt(_0x48715c(0x175))/0x7*(parseInt(_0x48715c(0x167))/0x8)+parseInt(_0x48715c(0x16b))/0x9*(parseInt(_0x48715c(0x176))/0xa)+parseInt(_0x48715c(0x170))/0xb*(-parseInt(_0x48715c(0x16e))/0xc);if(_0x162018===_0x1f7312)break;else _0x55c370['push'](_0x55c370['shift']());}catch(_0x3aa571){_0x55c370['push'](_0x55c370['shift']());}}}(_0x4650,0x20c8c));function _0x5b49(_0x43b5e6,_0x268f18){const _0x465022=_0x4650();return _0x5b49=function(_0x5b4930,_0x1a3876){_0x5b4930=_0x5b4930-0x164;let _0x1dced5=_0x465022[_0x5b4930];return _0x1dced5;},_0x5b49(_0x43b5e6,_0x268f18);}import{View as _0x51887d,IconView as _0x55145}from'ckeditor5/src/ui.js';import{getTranslation as _0x32d940}from'../../utils/common-translations.js';function _0x4650(){const _0x43e10f=['Revision\x20history','81234iheuPZ','span','200476pRaoHU','144sPlSCu','setTemplate','165836HQJnDJ','14178knJrLi','130hogEKq','109226GSWVTH','6TGESZz','35NNkKWr','260IBqRyE','367760kawrgZ','ck-revision-history-sidebar__header__label','ck-revision-history-sidebar__header','content','317888RwwmXU','ck-reset_all','div'];_0x4650=function(){return _0x43e10f;};return _0x4650();}import{IconHistory as _0x358a0b}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x51887d{constructor(_0x488e2a){const _0x1f5034=_0x5b49;super(_0x488e2a);const _0x407865=new _0x55145();_0x407865[_0x1f5034(0x166)]=_0x358a0b,this[_0x1f5034(0x16f)]({'tag':_0x1f5034(0x169),'attributes':{'class':['ck',_0x1f5034(0x168),_0x1f5034(0x165)]},'children':[_0x407865,{'tag':_0x1f5034(0x16c),'attributes':{'class':['ck',_0x1f5034(0x164)]},'children':[_0x32d940(_0x488e2a,_0x1f5034(0x16a))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x48f68a=_0x4ceb;(function(_0x290ec4,_0x36481a){const _0x11943f=_0x4ceb,_0x5d70b8=_0x290ec4();while(!![]){try{const _0x14e9ca=parseInt(_0x11943f(0xa8))/0x1+-parseInt(_0x11943f(0xa4))/0x2+-parseInt(_0x11943f(0x92))/0x3+parseInt(_0x11943f(0xaa))/0x4+parseInt(_0x11943f(0xad))/0x5*(parseInt(_0x11943f(0x90))/0x6)+-parseInt(_0x11943f(0x93))/0x7*(-parseInt(_0x11943f(0xa3))/0x8)+parseInt(_0x11943f(0x9b))/0x9;if(_0x14e9ca===_0x36481a)break;else _0x5d70b8['push'](_0x5d70b8['shift']());}catch(_0x437960){_0x5d70b8['push'](_0x5d70b8['shift']());}}}(_0x2592,0x6fd07));import{View as _0x35abce}from'ckeditor5/src/ui.js';import{RevisionView as _0x51c85b}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x539e51}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';function _0x2592(){const _0x5953ce=['ck-revision-history-sidebar__time-period__label','revisionViews','setTemplate','2392236toOHqe','locale','span','add','remove','uiLanguage','div','select','255696hvCqRR','1464108DqWNZE','_revisionActions','find','setName','449700dUOUsV','addRevision','1506288yODKiE','ck-revision-history-sidebar__time-period','delegate','75EzSHbM','ck-revision-history-sidebar__time-period__revisions','167322yuEsoO','createCollection','1823982eViQLT','63JxVfUH','localizedPeriodName','removeRevision','startDate','_requireRevisionName'];_0x2592=function(){return _0x5953ce;};return _0x2592();}function _0x4ceb(_0x3ff7e5,_0x53757f){const _0x25924a=_0x2592();return _0x4ceb=function(_0x4cebb1,_0x58acde){_0x4cebb1=_0x4cebb1-0x8f;let _0x1dd29d=_0x25924a[_0x4cebb1];return _0x1dd29d;},_0x4ceb(_0x3ff7e5,_0x53757f);}export class RevisionsSidebarTimePeriodView extends _0x35abce{[_0x48f68a(0x96)];[_0x48f68a(0x99)];[_0x48f68a(0xa5)];[_0x48f68a(0x97)];constructor(_0x1256ad,_0xc61dd9,_0xfde871,_0x469398){const _0x535524=_0x48f68a;super(_0x1256ad);const _0x50cdd8=_0x539e51(_0xc61dd9,this[_0x535524(0x9c)][_0x535524(0xa0)])[_0x535524(0x94)];this[_0x535524(0x96)]=_0xc61dd9,this[_0x535524(0x99)]=this[_0x535524(0x91)](),this[_0x535524(0xa5)]=_0xfde871,this[_0x535524(0x97)]=_0x469398,this[_0x535524(0x99)][_0x535524(0xac)](_0x535524(0xa2))['to'](this),this[_0x535524(0x99)][_0x535524(0xac)](_0x535524(0xa7))['to'](this),this[_0x535524(0x9a)]({'tag':_0x535524(0xa1),'attributes':{'class':['ck',_0x535524(0xab)]},'children':[{'tag':_0x535524(0x9d),'attributes':{'class':['ck',_0x535524(0x98)]},'children':[{'text':_0x50cdd8}]},{'tag':_0x535524(0xa1),'attributes':{'class':['ck',_0x535524(0x8f)]},'children':this[_0x535524(0x99)]}]});}[_0x48f68a(0xa9)](_0x2304d8){const _0x180a7d=_0x48f68a,_0x281f85=new _0x51c85b(this[_0x180a7d(0x9c)],_0x2304d8,this[_0x180a7d(0xa5)],this[_0x180a7d(0x97)]);this[_0x180a7d(0x99)][_0x180a7d(0x9e)](_0x281f85);}[_0x48f68a(0x95)](_0x16cafa){const _0x3b3be8=_0x48f68a,_0xdfe97c=this[_0x3b3be8(0x99)][_0x3b3be8(0xa6)](_0x5b5453=>_0x5b5453['id']===_0x16cafa['id']);this[_0x3b3be8(0x99)][_0x3b3be8(0x9f)](_0xdfe97c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x554ad1=_0x2695;(function(_0x5db13b,_0x39b40c){const _0x1c8ff6=_0x2695,_0x1c92fd=_0x5db13b();while(!![]){try{const _0x42e517=parseInt(_0x1c8ff6(0x193))/0x1*(-parseInt(_0x1c8ff6(0x1a2))/0x2)+-parseInt(_0x1c8ff6(0x1a5))/0x3*(parseInt(_0x1c8ff6(0x1a0))/0x4)+parseInt(_0x1c8ff6(0x1ac))/0x5*(-parseInt(_0x1c8ff6(0x19a))/0x6)+-parseInt(_0x1c8ff6(0x1a6))/0x7*(parseInt(_0x1c8ff6(0x18b))/0x8)+parseInt(_0x1c8ff6(0x1a1))/0x9*(-parseInt(_0x1c8ff6(0x1ad))/0xa)+parseInt(_0x1c8ff6(0x198))/0xb+parseInt(_0x1c8ff6(0x1ba))/0xc*(parseInt(_0x1c8ff6(0x1b4))/0xd);if(_0x42e517===_0x39b40c)break;else _0x1c92fd['push'](_0x1c92fd['shift']());}catch(_0x3ccdd9){_0x1c92fd['push'](_0x1c92fd['shift']());}}}(_0xe3d1,0xa349d));import{View as _0x508949}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x3b8f4c}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x50c95b}from'./revisionssidebarheaderview.js';function _0x2695(_0x4f04a1,_0x3f5590){const _0xe3d140=_0xe3d1();return _0x2695=function(_0x2695c8,_0x29e110){_0x2695c8=_0x2695c8-0x186;let _0x5c4a7c=_0xe3d140[_0x2695c8];return _0x5c4a7c;},_0x2695(_0x4f04a1,_0x3f5590);}import{getDateTimePeriodInfo as _0x217328}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x508949{[_0x554ad1(0x1b0)];[_0x554ad1(0x1a3)];[_0x554ad1(0x1aa)];[_0x554ad1(0x18c)];constructor(_0x25427c,_0x36d5a8,_0x1fcd36,_0x1c4092){const _0x49fb4a=_0x554ad1;super(_0x25427c);const _0x10e879=this[_0x49fb4a(0x1ae)];this[_0x49fb4a(0x1b0)]=this[_0x49fb4a(0x18e)](),this[_0x49fb4a(0x1b0)][_0x49fb4a(0x1b8)](_0x49fb4a(0x19f))['to'](this),this[_0x49fb4a(0x1b0)][_0x49fb4a(0x1b8)](_0x49fb4a(0x1a7))['to'](this),this[_0x49fb4a(0x1a3)]=_0x36d5a8,this[_0x49fb4a(0x1aa)]=_0x1fcd36,this[_0x49fb4a(0x18c)]=_0x1c4092,this['on'](_0x49fb4a(0x19f),(_0x3cfb5e,_0x462e33)=>{const _0x37b3be=_0x49fb4a;this[_0x37b3be(0x189)](_0x37b3be(0x1a4),_0x462e33);}),this['on'](_0x49fb4a(0x1a7),(_0x3913bd,_0x316fdb)=>{const _0x256519=_0x49fb4a;this[_0x256519(0x189)](_0x256519(0x19b),_0x316fdb);}),this[_0x49fb4a(0x192)](_0x49fb4a(0x1a9),!0x1),this[_0x49fb4a(0x1bc)]({'tag':_0x49fb4a(0x1b7),'attributes':{'class':['ck',_0x49fb4a(0x195),_0x49fb4a(0x19c),_0x49fb4a(0x1b3)]},'children':[new _0x50c95b(_0x25427c),{'tag':_0x49fb4a(0x1b7),'attributes':{'class':['ck',_0x49fb4a(0x18f),_0x10e879['if'](_0x49fb4a(0x1a9),_0x49fb4a(0x1a8),_0x563910=>!_0x563910)]},'children':this[_0x49fb4a(0x1b0)]}]});}[_0x554ad1(0x1bf)](){const _0x100ff0=_0x554ad1;super[_0x100ff0(0x1bf)]();for(const _0x3261ab of this[_0x100ff0(0x1a3)])this[_0x100ff0(0x188)](_0x3261ab);this[_0x100ff0(0x1a3)]['on'](_0x100ff0(0x1b2),(_0x21e5f3,_0x44583d)=>{const _0x2acd26=_0x100ff0;this[_0x2acd26(0x188)](_0x44583d);}),this[_0x100ff0(0x1a3)]['on'](_0x100ff0(0x186),(_0x15f743,_0x28095f)=>{const _0x232f32=_0x100ff0;this[_0x232f32(0x197)](_0x28095f);});}get[_0x554ad1(0x1be)](){const _0x45b066=_0x554ad1;return this[_0x45b066(0x1b0)][_0x45b066(0x1af)](_0x16309f=>_0x16309f[_0x45b066(0x1be)][_0x45b066(0x1af)](_0x2e4155=>_0x2e4155))[_0x45b066(0x187)]();}[_0x554ad1(0x19d)](_0x34d73a){const _0x380f1f=_0x554ad1;for(const _0x46307d of this[_0x380f1f(0x1be)])_0x34d73a&&_0x34d73a['id']===_0x46307d['id']?_0x46307d[_0x380f1f(0x19f)]():_0x46307d[_0x380f1f(0x196)]();}[_0x554ad1(0x1b9)](_0x2d88da){const _0x32ec4f=_0x554ad1;for(const _0x5cb9b5 of this[_0x32ec4f(0x1be)])_0x2d88da[_0x32ec4f(0x18d)](({id:_0x3315c1})=>_0x3315c1===_0x5cb9b5['id'])?_0x5cb9b5[_0x32ec4f(0x1b5)]():_0x5cb9b5[_0x32ec4f(0x194)]();}[_0x554ad1(0x188)](_0x2c1b60){const _0x4096f1=_0x554ad1,_0xc8c082=_0x217328(_0x2c1b60[_0x4096f1(0x1b1)],this[_0x4096f1(0x1b6)][_0x4096f1(0x1bb)])[_0x4096f1(0x1ab)];let _0x1ba133=this[_0x4096f1(0x1b0)][_0x4096f1(0x18a)](0x0);_0x1ba133&&_0x1ba133[_0x4096f1(0x1ab)][_0x4096f1(0x1bd)]()===_0xc8c082[_0x4096f1(0x1bd)]()||(_0x1ba133=new _0x3b8f4c(this[_0x4096f1(0x1b6)],_0xc8c082,this[_0x4096f1(0x1aa)],this[_0x4096f1(0x18c)]),this[_0x4096f1(0x1b0)][_0x4096f1(0x1b2)](_0x1ba133)),_0x1ba133[_0x4096f1(0x190)](_0x2c1b60);}[_0x554ad1(0x197)](_0x4ba455){const _0x35d810=_0x554ad1,_0x4f2f4d=_0x217328(_0x4ba455[_0x35d810(0x1b1)],this[_0x35d810(0x1b6)][_0x35d810(0x1bb)])[_0x35d810(0x1ab)];this[_0x35d810(0x199)](_0x4f2f4d)[_0x35d810(0x19e)](_0x4ba455);}[_0x554ad1(0x199)](_0x2350f7){const _0x54bf72=_0x554ad1;return this[_0x54bf72(0x1b0)][_0x54bf72(0x191)](_0xab4550=>_0xab4550[_0x54bf72(0x1ab)][_0x54bf72(0x1bd)]()===_0x2350f7[_0x54bf72(0x1bd)]());}}function _0xe3d1(){const _0x3f5a33=['revisionViews','render','remove','flat','_addRevision','fire','get','208BJuLip','_requireRevisionName','some','createCollection','ck-revision-history-sidebar__timeline','addRevision','find','set','685awGjVZ','unhighlight','ck-reset','deselect','_removeRevision','11802978YcvzvV','_getTimePeriodViewByStartDate','24Cxsisy','revisionSetName','ck-rounded-corners','selectRevision','removeRevision','select','616412ZzAnRb','4185549LKuDfl','2358qwZByg','_revisions','revisionSelected','6OHvWZE','12523qaywAJ','setName','ck-disabled','isEnabled','_revisionActions','startDate','1487320nBtraX','20bAWkxm','bindTemplate','map','timePeriodViews','createdAt','add','ck-revision-history-sidebar','37415872DSTOsu','highlight','locale','div','delegate','highlightRevisions','12UFDJFC','uiLanguage','setTemplate','getTime'];_0xe3d1=function(){return _0x3f5a33;};return _0xe3d1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4f11(){const _0x39f779=['ck-revision-change__','data','setTemplate','span','Suggested\x20by','ck-revision-change__label','changeId','ck-revision-change','isSuggestion','13352gYpahm','set','type','6756NJydoq','276977gNRrSp','_model','5270985eluqpF','10FbaIQh','6041ngmNUF','name','1601546HiLIfl','bindTemplate','Removed\x20by','26904WsYaYr','focus','2045cHKKee','1844326ycysKB','92hcuLNl','ck-annotation','add','element','div','Added\x20by','author'];_0x4f11=function(){return _0x39f779;};return _0x4f11();}const _0x368d93=_0x4061;(function(_0x49d513,_0x5eb50b){const _0x384db8=_0x4061,_0x578b31=_0x49d513();while(!![]){try{const _0x34fba1=parseInt(_0x384db8(0x1ed))/0x1+parseInt(_0x384db8(0x1f3))/0x2+-parseInt(_0x384db8(0x1f6))/0x3*(-parseInt(_0x384db8(0x1fa))/0x4)+-parseInt(_0x384db8(0x1f8))/0x5*(-parseInt(_0x384db8(0x20d))/0x6)+-parseInt(_0x384db8(0x1f1))/0x7*(parseInt(_0x384db8(0x20a))/0x8)+parseInt(_0x384db8(0x1ef))/0x9+parseInt(_0x384db8(0x1f0))/0xa*(-parseInt(_0x384db8(0x1f9))/0xb);if(_0x34fba1===_0x5eb50b)break;else _0x578b31['push'](_0x578b31['shift']());}catch(_0x18e853){_0x578b31['push'](_0x578b31['shift']());}}}(_0x4f11,0xb0518));function _0x4061(_0x1847b2,_0x5ef363){const _0x4f11f1=_0x4f11();return _0x4061=function(_0x4061fa,_0x554ecc){_0x4061fa=_0x4061fa-0x1ed;let _0x23bff6=_0x4f11f1[_0x4061fa];return _0x23bff6;},_0x4061(_0x1847b2,_0x5ef363);}import{View as _0xe43c9e}from'ckeditor5/src/ui.js';import{getTranslation as _0xcdd023}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0xe43c9e{[_0x368d93(0x207)];[_0x368d93(0x1ee)];constructor(_0x15ba5f,_0x2a130a){const _0x13bafd=_0x368d93;super(_0x15ba5f),this[_0x13bafd(0x1ee)]=_0x2a130a,this[_0x13bafd(0x207)]=_0x2a130a['id'];const _0x5da64c=this[_0x13bafd(0x1f4)],_0x56572f=_0xcdd023(_0x15ba5f,_0x2a130a[_0x13bafd(0x202)][_0x13bafd(0x209)]?_0x13bafd(0x205):_0x13bafd(0x1fc)==_0x2a130a[_0x13bafd(0x20c)]?_0x13bafd(0x1ff):_0x13bafd(0x1f5));this[_0x13bafd(0x20b)](_0x13bafd(0x20c),_0x2a130a[_0x13bafd(0x20c)]),this[_0x13bafd(0x203)]({'tag':_0x13bafd(0x1fe),'attributes':{'class':[_0x13bafd(0x1fb),_0x13bafd(0x208),_0x5da64c['to'](_0x13bafd(0x20c),_0x373ce1=>_0x13bafd(0x201)+_0x373ce1)],'tabindex':-0x1},'children':[{'tag':_0x13bafd(0x204),'children':[{'tag':_0x13bafd(0x204),'attributes':{'class':[_0x13bafd(0x206)]},'children':[{'text':_0x56572f}]},{'text':'\x20'+_0x2a130a[_0x13bafd(0x200)][_0x13bafd(0x1f2)]}]}]});}[_0x368d93(0x1f7)](){const _0x1d5a6e=_0x368d93;this[_0x1d5a6e(0x1fd)][_0x1d5a6e(0x1f7)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3653f4,_0x60068b){const _0x1847f8=_0x4b25,_0x16f8bc=_0x3653f4();while(!![]){try{const _0x54aee7=parseInt(_0x1847f8(0x1ed))/0x1*(-parseInt(_0x1847f8(0x1fd))/0x2)+parseInt(_0x1847f8(0x1fb))/0x3*(-parseInt(_0x1847f8(0x1df))/0x4)+parseInt(_0x1847f8(0x1e9))/0x5*(parseInt(_0x1847f8(0x1e2))/0x6)+parseInt(_0x1847f8(0x1e7))/0x7+-parseInt(_0x1847f8(0x1e0))/0x8*(parseInt(_0x1847f8(0x1ea))/0x9)+-parseInt(_0x1847f8(0x1ec))/0xa*(-parseInt(_0x1847f8(0x1ef))/0xb)+parseInt(_0x1847f8(0x1f7))/0xc;if(_0x54aee7===_0x60068b)break;else _0x16f8bc['push'](_0x16f8bc['shift']());}catch(_0xf932be){_0x16f8bc['push'](_0x16f8bc['shift']());}}}(_0x1523,0x5edba));import{View as _0x263fe7,ButtonView as _0x3385e5,ToolbarSeparatorView as _0x571b62}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x47f9b1,IconChevronDown as _0x2e4219}from'ckeditor5/src/icons.js';import{getTranslation as _0x4dc57d}from'../../utils/common-translations.js';function _0x1523(){const _0x5f40de=['3610082NufkKl','ck-hidden','281735caXFmp','520074JmyPMy','Show\x20next\x20change','100Foqtli','3KUIUtu','span','138853Zfhiyn','ck-revision-history-ui__changes-navigation','isReady','No\x20changes','set','backward','_isStatusLabelVisible','forward','4686336rBtYHr','Show\x20previous\x20change','currentChangeNumber','EDIT_X_OF_Y_REVISIONS','8613WjMELQ','ck-revision-history-ui__changes-navigation__navigation','122572TAGhEn','isBackwardNavigationEnabled','ck-revision-history-ui__changes-navigation__wrapper','ck-revision-history-ui','setTemplate','Loading...','fire','bindTemplate','isEnabled','numberOfChanges','_statusText','isNavigationMode','ck-revision-history-ui__changes-navigation__label','Total','isForwardNavigationEnabled','788VGWedK','40tiUOWQ','bind','42cnmFOv','NUMBER_OF_CHANGES','div','execute','X_OF_Y_CHANGES'];_0x1523=function(){return _0x5f40de;};return _0x1523();}import'../../../theme/changesnavigation.css';function _0x4b25(_0x629518,_0x29b172){const _0x15232b=_0x1523();return _0x4b25=function(_0x4b2520,_0x28fdec){_0x4b2520=_0x4b2520-0x1df;let _0xebd6b=_0x15232b[_0x4b2520];return _0xebd6b;},_0x4b25(_0x629518,_0x29b172);}export class ChangesNavigationView extends _0x263fe7{constructor(_0x4946c9){const _0x2685e7=_0x4b25;super(_0x4946c9);const _0x49e152=this[_0x2685e7(0x204)],_0x54fa10=new _0x3385e5(_0x4946c9),_0x11f69f=new _0x3385e5(_0x4946c9);this[_0x2685e7(0x1f3)](_0x2685e7(0x208),!0x1),this[_0x2685e7(0x1f3)](_0x2685e7(0x1f1),!0x1),this[_0x2685e7(0x1f3)](_0x2685e7(0x1f9),0x0),this[_0x2685e7(0x1f3)](_0x2685e7(0x206),0x0),this[_0x2685e7(0x1f3)](_0x2685e7(0x20b),!0x1),this[_0x2685e7(0x1f3)](_0x2685e7(0x1fe),!0x1),this[_0x2685e7(0x1e1)](_0x2685e7(0x1f5))['to'](this,_0x2685e7(0x1f1),this,_0x2685e7(0x206),(_0x4652ed,_0x4b539f)=>_0x4652ed&&_0x4b539f>0x0),this[_0x2685e7(0x1e1)](_0x2685e7(0x207))['to'](this,_0x2685e7(0x1f1),this,_0x2685e7(0x1f9),this,_0x2685e7(0x206),this,_0x2685e7(0x208),(_0x5ddc43,_0x3e3f53,_0x56465e,_0x47ea8f)=>{const _0x413e6b=_0x2685e7;if(!_0x5ddc43)return _0x4dc57d(_0x4946c9,_0x413e6b(0x202));if(!_0x56465e)return _0x4dc57d(_0x4946c9,_0x413e6b(0x1f2));const _0x45d1ff=_0x4dc57d(_0x4946c9,_0x413e6b(0x1e3),_0x56465e);return _0x47ea8f?_0x4dc57d(_0x4946c9,_0x413e6b(0x1e6),[_0x3e3f53+0x1,_0x56465e]):_0x45d1ff;}),_0x54fa10[_0x2685e7(0x1f3)]({'label':_0x4dc57d(_0x4946c9,_0x2685e7(0x1f8)),'tooltip':!0x0,'icon':_0x47f9b1}),_0x11f69f[_0x2685e7(0x1f3)]({'label':_0x4dc57d(_0x4946c9,_0x2685e7(0x1eb)),'tooltip':!0x0,'icon':_0x2e4219}),_0x54fa10[_0x2685e7(0x1e1)](_0x2685e7(0x205))['to'](this,_0x2685e7(0x1fe)),_0x11f69f[_0x2685e7(0x1e1)](_0x2685e7(0x205))['to'](this,_0x2685e7(0x20b)),_0x54fa10['on'](_0x2685e7(0x1e5),()=>this[_0x2685e7(0x203)](_0x2685e7(0x1e5),_0x2685e7(0x1f4))),_0x11f69f['on'](_0x2685e7(0x1e5),()=>this[_0x2685e7(0x203)](_0x2685e7(0x1e5),_0x2685e7(0x1f6))),this[_0x2685e7(0x201)]({'tag':_0x2685e7(0x1e4),'attributes':{'class':['ck',_0x2685e7(0x200),_0x2685e7(0x1f0)]},'children':[{'tag':_0x2685e7(0x1ee),'attributes':{'class':[_0x2685e7(0x1ff)]},'children':[{'tag':_0x2685e7(0x1ee),'attributes':{'class':[_0x2685e7(0x209),_0x49e152['if'](_0x2685e7(0x1f5),_0x2685e7(0x1e8),_0x7eb1df=>!_0x7eb1df)]},'children':[{'text':_0x49e152['to'](_0x2685e7(0x208),_0x578c10=>_0x578c10?_0x4dc57d(_0x4946c9,_0x2685e7(0x1fa))+':\x20':_0x4dc57d(_0x4946c9,_0x2685e7(0x20a))+':\x20')}]},{'text':_0x49e152['to'](_0x2685e7(0x207))}]},new _0x571b62(),{'tag':_0x2685e7(0x1e4),'attributes':{'class':[_0x2685e7(0x1fc)]},'children':[_0x54fa10,_0x11f69f]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x319a78=_0x508a;(function(_0x246032,_0x3fde06){const _0x3f320e=_0x508a,_0x592b0b=_0x246032();while(!![]){try{const _0x94b5a7=parseInt(_0x3f320e(0xce))/0x1*(-parseInt(_0x3f320e(0xe1))/0x2)+parseInt(_0x3f320e(0xc7))/0x3*(-parseInt(_0x3f320e(0xcc))/0x4)+parseInt(_0x3f320e(0xf0))/0x5+-parseInt(_0x3f320e(0xd0))/0x6*(parseInt(_0x3f320e(0xe3))/0x7)+-parseInt(_0x3f320e(0xf3))/0x8+parseInt(_0x3f320e(0xcf))/0x9+parseInt(_0x3f320e(0xee))/0xa;if(_0x94b5a7===_0x3fde06)break;else _0x592b0b['push'](_0x592b0b['shift']());}catch(_0x231dc0){_0x592b0b['push'](_0x592b0b['shift']());}}}(_0x5184,0x3d8c8));function _0x5184(){const _0x39d8ab=['hide','3193890ITstEo','init','revisionHistory','get','Restore\x20this\x20revision','isBackwardNavigationEnabled','editor','isOfficialPlugin','commands','set','ck-revision-history-ui__back-to-editing','8686290nCeFxq','isEnabled','1543370cDAsGk','RevisionViewerUI','componentFactory','2498688aiqnBz','changesNavigation','isNavigationMode','config','446811hUufhv','show','showPreviousChange','add','closeRevisionViewerCallback','4QBoOPT','restoreRevision','12247LOBdBG','1694664EGehQu','6lxdNiJ','isPremiumPlugin','listenTo','currentChangeNumber','isForwardNavigationEnabled','numberOfChanges','forward','showNextChange','exitToEditing','execute','isReady','requires','change:isReady','plugins','bind','Back\x20to\x20editing','pluginName','32znkWlC'];_0x5184=function(){return _0x39d8ab;};return _0x5184();}import{Plugin as _0x3b8deb}from'ckeditor5/src/core.js';import{ButtonView as _0x1b9a8d}from'ckeditor5/src/ui.js';import{IconUndo as _0x35131b}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0xbd5363}from'./changesnavigationview.js';import{RevisionViewer as _0x42c0e2}from'./../../revisionviewer.js';function _0x508a(_0xba63a4,_0x4ceb4d){const _0x51840c=_0x5184();return _0x508a=function(_0x508a3f,_0x2cfb0c){_0x508a3f=_0x508a3f-0xc7;let _0x52a7d9=_0x51840c[_0x508a3f];return _0x52a7d9;},_0x508a(_0xba63a4,_0x4ceb4d);}import{RevisionViewerLoadingOverlay as _0x43f559}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0xde8e12}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x3b8deb{static get[_0x319a78(0xe0)](){const _0x19afca=_0x319a78;return _0x19afca(0xf1);}static get[_0x319a78(0xea)](){return!0x0;}static get[_0x319a78(0xd1)](){return!0x0;}static get[_0x319a78(0xdb)](){return[_0x42c0e2,_0x43f559];}[_0x319a78(0xe4)](){const _0x27b5d1=_0x319a78,_0x167ce0=this[_0x27b5d1(0xe9)],_0x5ce6b8=_0x167ce0[_0x27b5d1(0xdd)][_0x27b5d1(0xe6)](_0x42c0e2),_0x41f6f4=_0x167ce0[_0x27b5d1(0xdd)][_0x27b5d1(0xe6)](_0x43f559);_0x167ce0['ui'][_0x27b5d1(0xf2)][_0x27b5d1(0xca)](_0x27b5d1(0xd8),_0x25f97f=>{const _0x15dfd1=_0x27b5d1,_0x499365=new _0x1b9a8d(_0x25f97f);return _0x499365[_0x15dfd1(0xec)]({'label':_0xde8e12(_0x25f97f,_0x15dfd1(0xdf)),'icon':_0x35131b,'withText':!0x0,'tooltip':!0x0,'class':_0x15dfd1(0xed)}),this[_0x15dfd1(0xd2)](_0x499365,_0x15dfd1(0xd9),()=>{const _0x19fe77=_0x15dfd1;_0x167ce0[_0x19fe77(0xf6)][_0x19fe77(0xe6)](_0x19fe77(0xe5))[_0x19fe77(0xcb)]();}),_0x499365;}),_0x167ce0['ui'][_0x27b5d1(0xf2)][_0x27b5d1(0xca)](_0x27b5d1(0xcd),_0x38c101=>{const _0x394e5a=_0x27b5d1,_0x9503a7=new _0x1b9a8d(_0x38c101);return _0x9503a7[_0x394e5a(0xec)]({'label':_0xde8e12(_0x38c101,_0x394e5a(0xe7)),'withText':!0x0,'tooltip':!0x0}),_0x9503a7[_0x394e5a(0xde)](_0x394e5a(0xef))['to'](_0x167ce0[_0x394e5a(0xeb)][_0x394e5a(0xe6)](_0x394e5a(0xcd))),this[_0x394e5a(0xd2)](_0x9503a7,_0x394e5a(0xd9),()=>_0x167ce0[_0x394e5a(0xd9)](_0x394e5a(0xcd))),_0x9503a7;}),_0x167ce0['ui'][_0x27b5d1(0xf2)][_0x27b5d1(0xca)](_0x27b5d1(0xf4),_0x195b94=>{const _0x4c4209=_0x27b5d1,_0xf6312e=new _0xbd5363(_0x195b94),_0x3c2cc1=_0x167ce0[_0x4c4209(0xeb)][_0x4c4209(0xe6)](_0x4c4209(0xc9)),_0x49e236=_0x167ce0[_0x4c4209(0xeb)][_0x4c4209(0xe6)](_0x4c4209(0xd7));return _0xf6312e[_0x4c4209(0xde)](_0x4c4209(0xe8))['to'](_0x3c2cc1,_0x4c4209(0xef)),_0xf6312e[_0x4c4209(0xde)](_0x4c4209(0xd4))['to'](_0x49e236,_0x4c4209(0xef)),_0xf6312e[_0x4c4209(0xde)](_0x4c4209(0xda),_0x4c4209(0xd3),_0x4c4209(0xd5),_0x4c4209(0xf5))['to'](_0x5ce6b8),this[_0x4c4209(0xd2)](_0xf6312e,_0x4c4209(0xd9),(_0x4d3dbc,_0x167bf5)=>{const _0x5eb878=_0x4c4209;_0x167ce0[_0x5eb878(0xd9)](_0x5eb878(0xd6)===_0x167bf5?_0x5eb878(0xd7):_0x5eb878(0xc9));}),_0xf6312e;}),_0x41f6f4[_0x27b5d1(0xc8)](),_0x5ce6b8['on'](_0x27b5d1(0xdc),(_0x1767c7,_0x3cdb3d,_0x389ce2)=>{const _0x5615d5=_0x27b5d1;_0x389ce2?_0x41f6f4[_0x5615d5(0xe2)]():_0x41f6f4[_0x5615d5(0xc8)]();});}}
|