@ckeditor/ckeditor5-revision-history 46.0.1-alpha.2 → 46.0.1-alpha.4
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/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/revisionviewerui.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xe68b4f,_0x2f2af1){const _0x2cf698=_0x3a0f,_0x121c65=_0xe68b4f();while(!![]){try{const _0x15f498=-parseInt(_0x2cf698(0x171))/0x1+parseInt(_0x2cf698(0x16a))/0x2*(-parseInt(_0x2cf698(0x173))/0x3)+parseInt(_0x2cf698(0x169))/0x4+-parseInt(_0x2cf698(0x179))/0x5*(-parseInt(_0x2cf698(0x16d))/0x6)+-parseInt(_0x2cf698(0x174))/0x7*(-parseInt(_0x2cf698(0x170))/0x8)+-parseInt(_0x2cf698(0x17c))/0x9*(-parseInt(_0x2cf698(0x17b))/0xa)+-parseInt(_0x2cf698(0x17a))/0xb*(parseInt(_0x2cf698(0x178))/0xc);if(_0x15f498===_0x2f2af1)break;else _0x121c65['push'](_0x121c65['shift']());}catch(_0x49a8c0){_0x121c65['push'](_0x121c65['shift']());}}}(_0x393a,0xa01c7));import{View as _0x20697f,IconView as _0x13f4dc}from'ckeditor5/src/ui.js';function _0x393a(){const _0x3d8bd5=['273WHgxoL','ck-revision-history-sidebar__header','ck-revision-history-sidebar__header__label','ck-reset_all','2997348MvGknG','145LgOzPs','77IUBbnS','558660jgbFKN','117rRbxpi','4485244aynOcJ','53026kebJNg','span','Revision\x20history','80646IiRBgE','div','setTemplate','93008OGrZIy','259991ZuMBud','content','3ThKkbq'];_0x393a=function(){return _0x3d8bd5;};return _0x393a();}function _0x3a0f(_0x28dcae,_0x1077f7){const _0x393a38=_0x393a();return _0x3a0f=function(_0x3a0f84,_0x16342a){_0x3a0f84=_0x3a0f84-0x169;let _0x2255f8=_0x393a38[_0x3a0f84];return _0x2255f8;},_0x3a0f(_0x28dcae,_0x1077f7);}import{getTranslation as _0x5e38da}from'../../utils/common-translations.js';import{IconHistory as _0x1b4b77}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x20697f{constructor(_0x1a0aa2){const _0x368c63=_0x3a0f;super(_0x1a0aa2);const _0x1b70d4=new _0x13f4dc();_0x1b70d4[_0x368c63(0x172)]=_0x1b4b77,this[_0x368c63(0x16f)]({'tag':_0x368c63(0x16e),'attributes':{'class':['ck',_0x368c63(0x177),_0x368c63(0x175)]},'children':[_0x1b70d4,{'tag':_0x368c63(0x16b),'attributes':{'class':['ck',_0x368c63(0x176)]},'children':[_0x5e38da(_0x1a0aa2,_0x368c63(0x16c))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xef6c80=_0x3eaf;(function(_0x45ea08,_0x1bb964){const _0x58446a=_0x3eaf,_0x48879e=_0x45ea08();while(!![]){try{const _0x5b7358=parseInt(_0x58446a(0xae))/0x1+parseInt(_0x58446a(0x98))/0x2+-parseInt(_0x58446a(0xa6))/0x3*(parseInt(_0x58446a(0xb2))/0x4)+parseInt(_0x58446a(0x9b))/0x5+-parseInt(_0x58446a(0xad))/0x6+-parseInt(_0x58446a(0x99))/0x7+-parseInt(_0x58446a(0xaa))/0x8*(-parseInt(_0x58446a(0xb0))/0x9);if(_0x5b7358===_0x1bb964)break;else _0x48879e['push'](_0x48879e['shift']());}catch(_0x4e3e70){_0x48879e['push'](_0x48879e['shift']());}}}(_0x4ace,0xa47e0));import{View as _0x5cad2e}from'ckeditor5/src/ui.js';import{RevisionView as _0x384eea}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x30ac17}from'./utils.js';function _0x3eaf(_0x4474fc,_0x59cdd6){const _0x4acefb=_0x4ace();return _0x3eaf=function(_0x3eaf09,_0x3099a3){_0x3eaf09=_0x3eaf09-0x98;let _0x1ca6e9=_0x4acefb[_0x3eaf09];return _0x1ca6e9;},_0x3eaf(_0x4474fc,_0x59cdd6);}function _0x4ace(){const _0xf7d66b=['5225436gwnksD','469659gUmRFZ','_requireRevisionName','107289rgoYFX','setTemplate','1857124iVtmcH','revisionViews','createCollection','span','ck-revision-history-sidebar__time-period__label','2041724IFngJc','7825755rJCzaf','locale','4483255tmlMXX','delegate','ck-revision-history-sidebar__time-period__revisions','addRevision','_revisionActions','startDate','uiLanguage','find','remove','setName','ck-revision-history-sidebar__time-period','6padzgN','removeRevision','div','localizedPeriodName','808utareC','add','select'];_0x4ace=function(){return _0xf7d66b;};return _0x4ace();}import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x5cad2e{[_0xef6c80(0xa0)];[_0xef6c80(0xb3)];[_0xef6c80(0x9f)];[_0xef6c80(0xaf)];constructor(_0x8dfd44,_0x5e2137,_0x492134,_0x5e8e81){const _0x21e368=_0xef6c80;super(_0x8dfd44);const _0x4886ba=_0x30ac17(_0x5e2137,this[_0x21e368(0x9a)][_0x21e368(0xa1)])[_0x21e368(0xa9)];this[_0x21e368(0xa0)]=_0x5e2137,this[_0x21e368(0xb3)]=this[_0x21e368(0xb4)](),this[_0x21e368(0x9f)]=_0x492134,this[_0x21e368(0xaf)]=_0x5e8e81,this[_0x21e368(0xb3)][_0x21e368(0x9c)](_0x21e368(0xac))['to'](this),this[_0x21e368(0xb3)][_0x21e368(0x9c)](_0x21e368(0xa4))['to'](this),this[_0x21e368(0xb1)]({'tag':_0x21e368(0xa8),'attributes':{'class':['ck',_0x21e368(0xa5)]},'children':[{'tag':_0x21e368(0xb5),'attributes':{'class':['ck',_0x21e368(0xb6)]},'children':[{'text':_0x4886ba}]},{'tag':_0x21e368(0xa8),'attributes':{'class':['ck',_0x21e368(0x9d)]},'children':this[_0x21e368(0xb3)]}]});}[_0xef6c80(0x9e)](_0x231f5e){const _0x328043=_0xef6c80,_0x51bf7c=new _0x384eea(this[_0x328043(0x9a)],_0x231f5e,this[_0x328043(0x9f)],this[_0x328043(0xaf)]);this[_0x328043(0xb3)][_0x328043(0xab)](_0x51bf7c);}[_0xef6c80(0xa7)](_0xb6476a){const _0x2c0d23=_0xef6c80,_0x318563=this[_0x2c0d23(0xb3)][_0x2c0d23(0xa2)](_0x2244df=>_0x2244df['id']===_0xb6476a['id']);this[_0x2c0d23(0xb3)][_0x2c0d23(0xa3)](_0x318563);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x18d3(){const _0x31a969=['1214388MQUXtW','511125uUtFzh','uiLanguage','618608WSRFcn','highlight','delegate','_revisionActions','revisionSetName','ck-revision-history-sidebar__timeline','_requireRevisionName','locale','selectRevision','unhighlight','isEnabled','_removeRevision','revisionSelected','deselect','getTime','bindTemplate','render','set','4qabcnr','ck-disabled','181489njkEib','1578276myzIfZ','flat','div','remove','add','_getTimePeriodViewByStartDate','map','setTemplate','ck-rounded-corners','188270cuuwJV','ck-revision-history-sidebar','timePeriodViews','find','ck-reset','select','get','setName','12vTsaio','6181504vSknhG','highlightRevisions','_revisions','removeRevision','startDate','revisionViews','createdAt','_addRevision','addRevision','fire','some','createCollection'];_0x18d3=function(){return _0x31a969;};return _0x18d3();}const _0x340818=_0x22da;(function(_0x115172,_0x2cd05e){const _0x41aa5f=_0x22da,_0x1b1e6f=_0x115172();while(!![]){try{const _0x55cfab=-parseInt(_0x41aa5f(0x12d))/0x1*(-parseInt(_0x41aa5f(0x12b))/0x2)+-parseInt(_0x41aa5f(0x117))/0x3+-parseInt(_0x41aa5f(0x12e))/0x4+-parseInt(_0x41aa5f(0x137))/0x5*(parseInt(_0x41aa5f(0x109))/0x6)+parseInt(_0x41aa5f(0x10a))/0x7+-parseInt(_0x41aa5f(0x119))/0x8+parseInt(_0x41aa5f(0x116))/0x9;if(_0x55cfab===_0x2cd05e)break;else _0x1b1e6f['push'](_0x1b1e6f['shift']());}catch(_0x360df5){_0x1b1e6f['push'](_0x1b1e6f['shift']());}}}(_0x18d3,0xa1f6c));import{View as _0x1309e6}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x4f284}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x350a7b}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x27878e}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';function _0x22da(_0x568e1d,_0x13bd86){const _0x18d30c=_0x18d3();return _0x22da=function(_0x22da5a,_0x1ed89c){_0x22da5a=_0x22da5a-0x109;let _0x59d1b8=_0x18d30c[_0x22da5a];return _0x59d1b8;},_0x22da(_0x568e1d,_0x13bd86);}export class RevisionsSidebarView extends _0x1309e6{[_0x340818(0x139)];[_0x340818(0x10c)];[_0x340818(0x11c)];[_0x340818(0x11f)];constructor(_0x56b27b,_0x34c4fc,_0x412a5a,_0x1bf5fa){const _0x3fe0af=_0x340818;super(_0x56b27b);const _0x1b17aa=this[_0x3fe0af(0x128)];this[_0x3fe0af(0x139)]=this[_0x3fe0af(0x115)](),this[_0x3fe0af(0x139)][_0x3fe0af(0x11b)](_0x3fe0af(0x13c))['to'](this),this[_0x3fe0af(0x139)][_0x3fe0af(0x11b)](_0x3fe0af(0x13e))['to'](this),this[_0x3fe0af(0x10c)]=_0x34c4fc,this[_0x3fe0af(0x11c)]=_0x412a5a,this[_0x3fe0af(0x11f)]=_0x1bf5fa,this['on'](_0x3fe0af(0x13c),(_0x15a82e,_0x4607fa)=>{const _0x2c45b6=_0x3fe0af;this[_0x2c45b6(0x113)](_0x2c45b6(0x125),_0x4607fa);}),this['on'](_0x3fe0af(0x13e),(_0x16cb18,_0x448b23)=>{const _0x2afe00=_0x3fe0af;this[_0x2afe00(0x113)](_0x2afe00(0x11d),_0x448b23);}),this[_0x3fe0af(0x12a)](_0x3fe0af(0x123),!0x1),this[_0x3fe0af(0x135)]({'tag':_0x3fe0af(0x130),'attributes':{'class':['ck',_0x3fe0af(0x13b),_0x3fe0af(0x136),_0x3fe0af(0x138)]},'children':[new _0x350a7b(_0x56b27b),{'tag':_0x3fe0af(0x130),'attributes':{'class':['ck',_0x3fe0af(0x11e),_0x1b17aa['if'](_0x3fe0af(0x123),_0x3fe0af(0x12c),_0x3f9ccc=>!_0x3f9ccc)]},'children':this[_0x3fe0af(0x139)]}]});}[_0x340818(0x129)](){const _0x1ca71f=_0x340818;super[_0x1ca71f(0x129)]();for(const _0x41e433 of this[_0x1ca71f(0x10c)])this[_0x1ca71f(0x111)](_0x41e433);this[_0x1ca71f(0x10c)]['on'](_0x1ca71f(0x132),(_0x199aaa,_0x25068b)=>{const _0x1a8aa1=_0x1ca71f;this[_0x1a8aa1(0x111)](_0x25068b);}),this[_0x1ca71f(0x10c)]['on'](_0x1ca71f(0x131),(_0xd426da,_0x13ccfd)=>{const _0x1abfee=_0x1ca71f;this[_0x1abfee(0x124)](_0x13ccfd);});}get[_0x340818(0x10f)](){const _0x464c61=_0x340818;return this[_0x464c61(0x139)][_0x464c61(0x134)](_0x1bf693=>_0x1bf693[_0x464c61(0x10f)][_0x464c61(0x134)](_0x348da1=>_0x348da1))[_0x464c61(0x12f)]();}[_0x340818(0x121)](_0x17d2b7){const _0x469366=_0x340818;for(const _0x3b2271 of this[_0x469366(0x10f)])_0x17d2b7&&_0x17d2b7['id']===_0x3b2271['id']?_0x3b2271[_0x469366(0x13c)]():_0x3b2271[_0x469366(0x126)]();}[_0x340818(0x10b)](_0x7816bb){const _0x4dd97f=_0x340818;for(const _0x48aeaf of this[_0x4dd97f(0x10f)])_0x7816bb[_0x4dd97f(0x114)](({id:_0x4a92e8})=>_0x4a92e8===_0x48aeaf['id'])?_0x48aeaf[_0x4dd97f(0x11a)]():_0x48aeaf[_0x4dd97f(0x122)]();}[_0x340818(0x111)](_0x49f1ff){const _0x1e2433=_0x340818,_0xd6784b=_0x27878e(_0x49f1ff[_0x1e2433(0x110)],this[_0x1e2433(0x120)][_0x1e2433(0x118)])[_0x1e2433(0x10e)];let _0x5951d8=this[_0x1e2433(0x139)][_0x1e2433(0x13d)](0x0);_0x5951d8&&_0x5951d8[_0x1e2433(0x10e)][_0x1e2433(0x127)]()===_0xd6784b[_0x1e2433(0x127)]()||(_0x5951d8=new _0x4f284(this[_0x1e2433(0x120)],_0xd6784b,this[_0x1e2433(0x11c)],this[_0x1e2433(0x11f)]),this[_0x1e2433(0x139)][_0x1e2433(0x132)](_0x5951d8)),_0x5951d8[_0x1e2433(0x112)](_0x49f1ff);}[_0x340818(0x124)](_0x5ace15){const _0x9763d=_0x340818,_0x497346=_0x27878e(_0x5ace15[_0x9763d(0x110)],this[_0x9763d(0x120)][_0x9763d(0x118)])[_0x9763d(0x10e)];this[_0x9763d(0x133)](_0x497346)[_0x9763d(0x10d)](_0x5ace15);}[_0x340818(0x133)](_0x3ce7af){const _0x23d265=_0x340818;return this[_0x23d265(0x139)][_0x23d265(0x13a)](_0x45bce0=>_0x45bce0[_0x23d265(0x10e)][_0x23d265(0x127)]()===_0x3ce7af[_0x23d265(0x127)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x36cffd,_0x1db72b){const _0x2ca658=_0x28e1,_0x1d2aa3=_0x36cffd();while(!![]){try{const _0x14025c=-parseInt(_0x2ca658(0x12f))/0x1+-parseInt(_0x2ca658(0x124))/0x2+-parseInt(_0x2ca658(0x127))/0x3+-parseInt(_0x2ca658(0x122))/0x4*(-parseInt(_0x2ca658(0x131))/0x5)+parseInt(_0x2ca658(0x133))/0x6+parseInt(_0x2ca658(0x125))/0x7+parseInt(_0x2ca658(0x12e))/0x8*(parseInt(_0x2ca658(0x129))/0x9);if(_0x14025c===_0x1db72b)break;else _0x1d2aa3['push'](_0x1d2aa3['shift']());}catch(_0x76d75b){_0x1d2aa3['push'](_0x1d2aa3['shift']());}}}(_0x561d,0xd4e47));import{DateTime as _0x399fa9}from'luxon';function _0x561d(){const _0x277876=['startOf','setLocale','minus','monthLong','201384PGLoCK','year','2832924tYtHUW','2330041gSYGkx','hasSame','524535mqwXZL','weekdayLong','27OLoiYq','month','day','local','week','3877648YQKHsP','441314dCIuWU','fromJSDate','95YSyotZ','toJSDate','966438kwQYWk','toRelativeCalendar'];_0x561d=function(){return _0x277876;};return _0x561d();}function _0x28e1(_0x2ef029,_0x3f5cb6){const _0x561d25=_0x561d();return _0x28e1=function(_0x28e1b0,_0x6c2fdd){_0x28e1b0=_0x28e1b0-0x11d;let _0x3e18cf=_0x561d25[_0x28e1b0];return _0x3e18cf;},_0x28e1(_0x2ef029,_0x3f5cb6);}export function getDateTimePeriodInfo(_0x24e815,_0xd52179){const _0x5dbcac=_0x28e1,_0x2bedda=_0x399fa9[_0x5dbcac(0x130)](_0x24e815)[_0x5dbcac(0x11f)](_0xd52179),_0x529304=_0x399fa9[_0x5dbcac(0x12c)](),_0x5861d7=_0x529304[_0x5dbcac(0x120)]({'days':0x1})[_0x5dbcac(0x11e)](_0x5dbcac(0x12b));let _0x18d949,_0x3186e7;return _0x2bedda[_0x5dbcac(0x126)](_0x529304,_0x5dbcac(0x12b))?(_0x18d949=_0x2bedda[_0x5dbcac(0x11e)](_0x5dbcac(0x12b))[_0x5dbcac(0x132)](),_0x3186e7=_0x2bedda[_0x5dbcac(0x11d)]()):_0x2bedda[_0x5dbcac(0x126)](_0x5861d7,_0x5dbcac(0x12b))?(_0x18d949=_0x5861d7[_0x5dbcac(0x132)](),_0x3186e7=_0x2bedda[_0x5dbcac(0x11d)]()):_0x2bedda[_0x5dbcac(0x126)](_0x529304,_0x5dbcac(0x12d))?(_0x18d949=_0x2bedda[_0x5dbcac(0x11e)](_0x5dbcac(0x12d))[_0x5dbcac(0x132)](),_0x3186e7=_0x2bedda[_0x5dbcac(0x128)]||''):_0x2bedda[_0x5dbcac(0x126)](_0x529304,_0x5dbcac(0x123))?(_0x18d949=_0x2bedda[_0x5dbcac(0x11e)](_0x5dbcac(0x12a))[_0x5dbcac(0x132)](),_0x3186e7=_0x2bedda[_0x5dbcac(0x121)]||''):(_0x18d949=_0x2bedda[_0x5dbcac(0x11e)](_0x5dbcac(0x123))[_0x5dbcac(0x132)](),_0x3186e7=String(_0x2bedda[_0x5dbcac(0x123)])),{'startDate':_0x18d949,'localizedPeriodName':_0x3186e7};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x617b(_0x25817b,_0x521949){const _0x59b416=_0x59b4();return _0x617b=function(_0x617be1,_0x1287e9){_0x617be1=_0x617be1-0x99;let _0xa84279=_0x59b416[_0x617be1];return _0xa84279;},_0x617b(_0x25817b,_0x521949);}const _0x4dd661=_0x617b;function _0x59b4(){const _0x3d4ff7=['setTemplate','span','type','author','isSuggestion','2379594FgnexS','name','set','111420QSauZQ','div','623695HQhuEV','ck-revision-change__label','focus','ck-annotation','1020496iRUmQz','Suggested\x20by','2HFNpnP','ck-revision-change__','666iHSwWB','add','ck-revision-change','27905wwanTI','data','_model','9qywewv','119112hixCFp','element','98681kIZUOS','changeId','Removed\x20by','bindTemplate','Added\x20by','10lCTFJF','1068aXohIA'];_0x59b4=function(){return _0x3d4ff7;};return _0x59b4();}(function(_0x42be96,_0x311a07){const _0x14ed49=_0x617b,_0x5fdfe4=_0x42be96();while(!![]){try{const _0x434366=-parseInt(_0x14ed49(0xb0))/0x1*(parseInt(_0x14ed49(0xb6))/0x2)+-parseInt(_0x14ed49(0x9c))/0x3*(-parseInt(_0x14ed49(0x9d))/0x4)+parseInt(_0x14ed49(0x99))/0x5*(parseInt(_0x14ed49(0xb8))/0x6)+-parseInt(_0x14ed49(0xab))/0x7+parseInt(_0x14ed49(0xb4))/0x8+parseInt(_0x14ed49(0xae))/0x9*(-parseInt(_0x14ed49(0xa4))/0xa)+-parseInt(_0x14ed49(0x9f))/0xb*(-parseInt(_0x14ed49(0xa5))/0xc);if(_0x434366===_0x311a07)break;else _0x5fdfe4['push'](_0x5fdfe4['shift']());}catch(_0x39782a){_0x5fdfe4['push'](_0x5fdfe4['shift']());}}}(_0x59b4,0xa0d65));import{View as _0x44c241}from'ckeditor5/src/ui.js';import{getTranslation as _0xf2ae59}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x44c241{[_0x4dd661(0xa0)];[_0x4dd661(0x9b)];constructor(_0x497307,_0x13d323){const _0x591b02=_0x4dd661;super(_0x497307),this[_0x591b02(0x9b)]=_0x13d323,this[_0x591b02(0xa0)]=_0x13d323['id'];const _0x72fa8c=this[_0x591b02(0xa2)],_0x16147a=_0xf2ae59(_0x497307,_0x13d323[_0x591b02(0x9a)][_0x591b02(0xaa)]?_0x591b02(0xb5):_0x591b02(0xb9)==_0x13d323[_0x591b02(0xa8)]?_0x591b02(0xa3):_0x591b02(0xa1));this[_0x591b02(0xad)](_0x591b02(0xa8),_0x13d323[_0x591b02(0xa8)]),this[_0x591b02(0xa6)]({'tag':_0x591b02(0xaf),'attributes':{'class':[_0x591b02(0xb3),_0x591b02(0xba),_0x72fa8c['to'](_0x591b02(0xa8),_0x5cef06=>_0x591b02(0xb7)+_0x5cef06)],'tabindex':-0x1},'children':[{'tag':_0x591b02(0xa7),'children':[{'tag':_0x591b02(0xa7),'attributes':{'class':[_0x591b02(0xb1)]},'children':[{'text':_0x16147a}]},{'text':'\x20'+_0x13d323[_0x591b02(0xa9)][_0x591b02(0xac)]}]}]});}[_0x4dd661(0xb2)](){const _0x329e93=_0x4dd661;this[_0x329e93(0x9e)][_0x329e93(0xb2)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x57b800,_0x73f50f){const _0x5cab1d=_0x26fd,_0x572553=_0x57b800();while(!![]){try{const _0x21f92e=parseInt(_0x5cab1d(0x82))/0x1+parseInt(_0x5cab1d(0x6f))/0x2*(-parseInt(_0x5cab1d(0x76))/0x3)+-parseInt(_0x5cab1d(0x72))/0x4*(-parseInt(_0x5cab1d(0x73))/0x5)+-parseInt(_0x5cab1d(0x95))/0x6*(parseInt(_0x5cab1d(0x79))/0x7)+-parseInt(_0x5cab1d(0x93))/0x8+parseInt(_0x5cab1d(0x6b))/0x9*(parseInt(_0x5cab1d(0x8b))/0xa)+parseInt(_0x5cab1d(0x94))/0xb*(parseInt(_0x5cab1d(0x70))/0xc);if(_0x21f92e===_0x73f50f)break;else _0x572553['push'](_0x572553['shift']());}catch(_0x3fd806){_0x572553['push'](_0x572553['shift']());}}}(_0x1290,0xf1992));import{View as _0x2396b3,ButtonView as _0x57bd63,ToolbarSeparatorView as _0x380050}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x2f90e3,IconChevronDown as _0x27e8ad}from'ckeditor5/src/icons.js';import{getTranslation as _0x1d229a}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';function _0x26fd(_0x57537d,_0x21993a){const _0x1290a3=_0x1290();return _0x26fd=function(_0x26fdcd,_0x4d70ba){_0x26fdcd=_0x26fdcd-0x69;let _0x576a33=_0x1290a3[_0x26fdcd];return _0x576a33;},_0x26fd(_0x57537d,_0x21993a);}export class ChangesNavigationView extends _0x2396b3{constructor(_0xebc2b1){const _0xf65c23=_0x26fd;super(_0xebc2b1);const _0x6f4bef=this[_0xf65c23(0x74)],_0x51b8d7=new _0x57bd63(_0xebc2b1),_0x52b964=new _0x57bd63(_0xebc2b1);this[_0xf65c23(0x87)](_0xf65c23(0x84),!0x1),this[_0xf65c23(0x87)](_0xf65c23(0x77),!0x1),this[_0xf65c23(0x87)](_0xf65c23(0x7a),0x0),this[_0xf65c23(0x87)](_0xf65c23(0x7c),0x0),this[_0xf65c23(0x87)](_0xf65c23(0x81),!0x1),this[_0xf65c23(0x87)](_0xf65c23(0x92),!0x1),this[_0xf65c23(0x91)](_0xf65c23(0x8d))['to'](this,_0xf65c23(0x77),this,_0xf65c23(0x7c),(_0x1ebe33,_0x2fdb4b)=>_0x1ebe33&&_0x2fdb4b>0x0),this[_0xf65c23(0x91)](_0xf65c23(0x8e))['to'](this,_0xf65c23(0x77),this,_0xf65c23(0x7a),this,_0xf65c23(0x7c),this,_0xf65c23(0x84),(_0x68497,_0x2e0672,_0xf8aa52,_0x32cb1f)=>{const _0x2182e9=_0xf65c23;if(!_0x68497)return _0x1d229a(_0xebc2b1,_0x2182e9(0x6c));if(!_0xf8aa52)return _0x1d229a(_0xebc2b1,_0x2182e9(0x7d));const _0x31a8de=_0x1d229a(_0xebc2b1,_0x2182e9(0x89),_0xf8aa52);return _0x32cb1f?_0x1d229a(_0xebc2b1,_0x2182e9(0x90),[_0x2e0672+0x1,_0xf8aa52]):_0x31a8de;}),_0x51b8d7[_0xf65c23(0x87)]({'label':_0x1d229a(_0xebc2b1,_0xf65c23(0x6a)),'tooltip':!0x0,'icon':_0x2f90e3}),_0x52b964[_0xf65c23(0x87)]({'label':_0x1d229a(_0xebc2b1,_0xf65c23(0x8f)),'tooltip':!0x0,'icon':_0x27e8ad}),_0x51b8d7[_0xf65c23(0x91)](_0xf65c23(0x69))['to'](this,_0xf65c23(0x92)),_0x52b964[_0xf65c23(0x91)](_0xf65c23(0x69))['to'](this,_0xf65c23(0x81)),_0x51b8d7['on'](_0xf65c23(0x85),()=>this[_0xf65c23(0x7e)](_0xf65c23(0x85),_0xf65c23(0x7f))),_0x52b964['on'](_0xf65c23(0x85),()=>this[_0xf65c23(0x7e)](_0xf65c23(0x85),_0xf65c23(0x7b))),this[_0xf65c23(0x86)]({'tag':_0xf65c23(0x8a),'attributes':{'class':['ck',_0xf65c23(0x83),_0xf65c23(0x75)]},'children':[{'tag':_0xf65c23(0x78),'attributes':{'class':[_0xf65c23(0x88)]},'children':[{'tag':_0xf65c23(0x78),'attributes':{'class':[_0xf65c23(0x6d),_0x6f4bef['if'](_0xf65c23(0x8d),_0xf65c23(0x80),_0xff2119=>!_0xff2119)]},'children':[{'text':_0x6f4bef['to'](_0xf65c23(0x84),_0x2ba6a3=>_0x2ba6a3?_0x1d229a(_0xebc2b1,_0xf65c23(0x6e))+':\x20':_0x1d229a(_0xebc2b1,_0xf65c23(0x8c))+':\x20')}]},{'text':_0x6f4bef['to'](_0xf65c23(0x8e))}]},new _0x380050(),{'tag':_0xf65c23(0x8a),'attributes':{'class':[_0xf65c23(0x71)]},'children':[_0x51b8d7,_0x52b964]}]});}}function _0x1290(){const _0x4a3d1b=['8374102hTPKyd','6Fwaspc','isEnabled','Show\x20previous\x20change','774LuIVOD','Loading...','ck-revision-history-ui__changes-navigation__label','EDIT_X_OF_Y_REVISIONS','86GKluPo','12MbIjhL','ck-revision-history-ui__changes-navigation__navigation','44LnjmLL','665545WefjEZ','bindTemplate','ck-revision-history-ui__changes-navigation','25671avJtRG','isReady','span','9113748QpMAfg','currentChangeNumber','forward','numberOfChanges','No\x20changes','fire','backward','ck-hidden','isForwardNavigationEnabled','792635Vrgsqq','ck-revision-history-ui','isNavigationMode','execute','setTemplate','set','ck-revision-history-ui__changes-navigation__wrapper','NUMBER_OF_CHANGES','div','125360wYTYyU','Total','_isStatusLabelVisible','_statusText','Show\x20next\x20change','X_OF_Y_CHANGES','bind','isBackwardNavigationEnabled','11493688cFHawM'];_0x1290=function(){return _0x4a3d1b;};return _0x1290();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18c808=_0x1185;(function(_0x970974,_0x2428fb){const _0x5e04ab=_0x1185,_0x2fff07=_0x970974();while(!![]){try{const _0x22c6b6=-parseInt(_0x5e04ab(0x167))/0x1+parseInt(_0x5e04ab(0x169))/0x2+parseInt(_0x5e04ab(0x17b))/0x3*(parseInt(_0x5e04ab(0x176))/0x4)+parseInt(_0x5e04ab(0x156))/0x5+-parseInt(_0x5e04ab(0x15c))/0x6*(-parseInt(_0x5e04ab(0x14d))/0x7)+parseInt(_0x5e04ab(0x15a))/0x8+-parseInt(_0x5e04ab(0x165))/0x9;if(_0x22c6b6===_0x2428fb)break;else _0x2fff07['push'](_0x2fff07['shift']());}catch(_0x4ac275){_0x2fff07['push'](_0x2fff07['shift']());}}}(_0x454d,0x8e87a));import{Plugin as _0x5eb382}from'ckeditor5/src/core.js';import{ButtonView as _0x23a194}from'ckeditor5/src/ui.js';import{IconUndo as _0x36d8db}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x1e6ce7}from'./changesnavigationview.js';import{RevisionViewer as _0x344f3a}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x3faf8a}from'./revisionviewerloadingoverlay.js';function _0x454d(){const _0x43184e=['componentFactory','exitToEditing','restoreRevision','625792YLKZQc','showNextChange','29394hMpwOD','Restore\x20this\x20revision','isBackwardNavigationEnabled','RevisionViewerUI','show','currentChangeNumber','isReady','showPreviousChange','ck-revision-history-ui__back-to-editing','12219516oLDSYP','get','121570tXrCya','add','1301514hmOLwy','set','init','hide','isOfficialPlugin','commands','execute','listenTo','isNavigationMode','change:isReady','numberOfChanges','forward','plugins','20grJbdQ','isPremiumPlugin','bind','isForwardNavigationEnabled','closeRevisionViewerCallback','579399yZViUC','511kSwPYa','changesNavigation','config','pluginName','revisionHistory','editor','isEnabled','requires','Back\x20to\x20editing','54115QRrxtS'];_0x454d=function(){return _0x43184e;};return _0x454d();}import{getTranslation as _0x292789}from'../../utils/common-translations.js';function _0x1185(_0x217fd1,_0x36de95){const _0x454df2=_0x454d();return _0x1185=function(_0x1185fd,_0x1aec03){_0x1185fd=_0x1185fd-0x14d;let _0x700c9a=_0x454df2[_0x1185fd];return _0x700c9a;},_0x1185(_0x217fd1,_0x36de95);}import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x5eb382{static get[_0x18c808(0x150)](){const _0x211cab=_0x18c808;return _0x211cab(0x15f);}static get[_0x18c808(0x16d)](){return!0x0;}static get[_0x18c808(0x177)](){return!0x0;}static get[_0x18c808(0x154)](){return[_0x344f3a,_0x3faf8a];}[_0x18c808(0x16b)](){const _0x3fcf1b=_0x18c808,_0x1249ec=this[_0x3fcf1b(0x152)],_0x127a82=_0x1249ec[_0x3fcf1b(0x175)][_0x3fcf1b(0x166)](_0x344f3a),_0x3bee6c=_0x1249ec[_0x3fcf1b(0x175)][_0x3fcf1b(0x166)](_0x3faf8a);_0x1249ec['ui'][_0x3fcf1b(0x157)][_0x3fcf1b(0x168)](_0x3fcf1b(0x158),_0xaa404b=>{const _0x4443bf=_0x3fcf1b,_0x427111=new _0x23a194(_0xaa404b);return _0x427111[_0x4443bf(0x16a)]({'label':_0x292789(_0xaa404b,_0x4443bf(0x155)),'icon':_0x36d8db,'withText':!0x0,'tooltip':!0x0,'class':_0x4443bf(0x164)}),this[_0x4443bf(0x170)](_0x427111,_0x4443bf(0x16f),()=>{const _0x41afa5=_0x4443bf;_0x1249ec[_0x41afa5(0x14f)][_0x41afa5(0x166)](_0x41afa5(0x151))[_0x41afa5(0x17a)]();}),_0x427111;}),_0x1249ec['ui'][_0x3fcf1b(0x157)][_0x3fcf1b(0x168)](_0x3fcf1b(0x159),_0x648587=>{const _0x4f2d45=_0x3fcf1b,_0xbfd6ca=new _0x23a194(_0x648587);return _0xbfd6ca[_0x4f2d45(0x16a)]({'label':_0x292789(_0x648587,_0x4f2d45(0x15d)),'withText':!0x0,'tooltip':!0x0}),_0xbfd6ca[_0x4f2d45(0x178)](_0x4f2d45(0x153))['to'](_0x1249ec[_0x4f2d45(0x16e)][_0x4f2d45(0x166)](_0x4f2d45(0x159))),this[_0x4f2d45(0x170)](_0xbfd6ca,_0x4f2d45(0x16f),()=>_0x1249ec[_0x4f2d45(0x16f)](_0x4f2d45(0x159))),_0xbfd6ca;}),_0x1249ec['ui'][_0x3fcf1b(0x157)][_0x3fcf1b(0x168)](_0x3fcf1b(0x14e),_0x285737=>{const _0x45c388=_0x3fcf1b,_0x15ad26=new _0x1e6ce7(_0x285737),_0x450884=_0x1249ec[_0x45c388(0x16e)][_0x45c388(0x166)](_0x45c388(0x163)),_0x359615=_0x1249ec[_0x45c388(0x16e)][_0x45c388(0x166)](_0x45c388(0x15b));return _0x15ad26[_0x45c388(0x178)](_0x45c388(0x15e))['to'](_0x450884,_0x45c388(0x153)),_0x15ad26[_0x45c388(0x178)](_0x45c388(0x179))['to'](_0x359615,_0x45c388(0x153)),_0x15ad26[_0x45c388(0x178)](_0x45c388(0x162),_0x45c388(0x161),_0x45c388(0x173),_0x45c388(0x171))['to'](_0x127a82),this[_0x45c388(0x170)](_0x15ad26,_0x45c388(0x16f),(_0x18b85a,_0x4d69f9)=>{const _0x372d9f=_0x45c388;_0x1249ec[_0x372d9f(0x16f)](_0x372d9f(0x174)===_0x4d69f9?_0x372d9f(0x15b):_0x372d9f(0x163));}),_0x15ad26;}),_0x3bee6c[_0x3fcf1b(0x160)](),_0x127a82['on'](_0x3fcf1b(0x172),(_0x4597b0,_0x142861,_0x2dee6a)=>{const _0x4f9f3a=_0x3fcf1b;_0x2dee6a?_0x3bee6c[_0x4f9f3a(0x16c)]():_0x3bee6c[_0x4f9f3a(0x160)]();});}}
|