@ckeditor/ckeditor5-revision-history 47.2.0-alpha.4 → 47.2.0-alpha.5
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 +12 -12
- 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(_0x3ad573,_0x16f5dd){const _0x32566d=_0x3749,_0x123c77=_0x3ad573();while(!![]){try{const _0x187bc3=-parseInt(_0x32566d(0x17f))/0x1*(parseInt(_0x32566d(0x18b))/0x2)+parseInt(_0x32566d(0x18a))/0x3+-parseInt(_0x32566d(0x18f))/0x4+-parseInt(_0x32566d(0x184))/0x5+parseInt(_0x32566d(0x180))/0x6*(parseInt(_0x32566d(0x190))/0x7)+-parseInt(_0x32566d(0x188))/0x8+parseInt(_0x32566d(0x186))/0x9*(parseInt(_0x32566d(0x182))/0xa);if(_0x187bc3===_0x16f5dd)break;else _0x123c77['push'](_0x123c77['shift']());}catch(_0x1e390d){_0x123c77['push'](_0x123c77['shift']());}}}(_0x3c03,0xd6b77));import{View as _0x3a3fde,IconView as _0x6a2042}from'ckeditor5/src/ui.js';function _0x3749(_0xb0ea2d,_0x5737ba){const _0x3c03df=_0x3c03();return _0x3749=function(_0x374959,_0x46b907){_0x374959=_0x374959-0x17f;let _0xfd7d7f=_0x3c03df[_0x374959];return _0xfd7d7f;},_0x3749(_0xb0ea2d,_0x5737ba);}import{getTranslation as _0x42e665}from'../../utils/common-translations.js';import{IconHistory as _0x274004}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';function _0x3c03(){const _0x273f6d=['div','content','ck-revision-history-sidebar__header__label','110328FnbBtv','1687749YuIPxJ','66251KrSlQF','30xEeApd','Revision\x20history','10HpKFSZ','span','6709715mldxml','setTemplate','28648899xHBwyM','ck-reset_all','12151064LmhVwa','ck-revision-history-sidebar__header','323706CyXZDe','22IqQCdq'];_0x3c03=function(){return _0x273f6d;};return _0x3c03();}export class RevisionsSidebarHeaderView extends _0x3a3fde{constructor(_0x474c27){const _0x37e8d7=_0x3749;super(_0x474c27);const _0x730801=new _0x6a2042();_0x730801[_0x37e8d7(0x18d)]=_0x274004,this[_0x37e8d7(0x185)]({'tag':_0x37e8d7(0x18c),'attributes':{'class':['ck',_0x37e8d7(0x187),_0x37e8d7(0x189)]},'children':[_0x730801,{'tag':_0x37e8d7(0x183),'attributes':{'class':['ck',_0x37e8d7(0x18e)]},'children':[_0x42e665(_0x474c27,_0x37e8d7(0x181))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b1e27=_0x64e8;(function(_0x16b53f,_0x80a962){const _0x5c7713=_0x64e8,_0x1de1a1=_0x16b53f();while(!![]){try{const _0x427422=parseInt(_0x5c7713(0x82))/0x1+-parseInt(_0x5c7713(0x8a))/0x2*(parseInt(_0x5c7713(0x7a))/0x3)+parseInt(_0x5c7713(0x7b))/0x4+parseInt(_0x5c7713(0x75))/0x5*(parseInt(_0x5c7713(0x76))/0x6)+-parseInt(_0x5c7713(0x89))/0x7+-parseInt(_0x5c7713(0x8b))/0x8*(-parseInt(_0x5c7713(0x83))/0x9)+parseInt(_0x5c7713(0x6e))/0xa*(-parseInt(_0x5c7713(0x71))/0xb);if(_0x427422===_0x80a962)break;else _0x1de1a1['push'](_0x1de1a1['shift']());}catch(_0xf39b29){_0x1de1a1['push'](_0x1de1a1['shift']());}}}(_0x2e6b,0x65e05));import{View as _0x56c7bf}from'ckeditor5/src/ui.js';import{RevisionView as _0x3ed9c5}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x3e366c}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';function _0x64e8(_0x17ae0d,_0xd9f148){const _0x2e6bfb=_0x2e6b();return _0x64e8=function(_0x64e8b7,_0x55ece8){_0x64e8b7=_0x64e8b7-0x6c;let _0x525675=_0x2e6bfb[_0x64e8b7];return _0x525675;},_0x64e8(_0x17ae0d,_0xd9f148);}export class RevisionsSidebarTimePeriodView extends _0x56c7bf{[_0x5b1e27(0x84)];[_0x5b1e27(0x73)];[_0x5b1e27(0x7e)];[_0x5b1e27(0x86)];constructor(_0x579f7b,_0x44da03,_0x4016be,_0x2f76e5){const _0x380cdd=_0x5b1e27;super(_0x579f7b);const _0x2ecff5=_0x3e366c(_0x44da03,this[_0x380cdd(0x74)][_0x380cdd(0x77)])[_0x380cdd(0x87)];this[_0x380cdd(0x84)]=_0x44da03,this[_0x380cdd(0x73)]=this[_0x380cdd(0x8c)](),this[_0x380cdd(0x7e)]=_0x4016be,this[_0x380cdd(0x86)]=_0x2f76e5,this[_0x380cdd(0x73)][_0x380cdd(0x81)](_0x380cdd(0x7c))['to'](this),this[_0x380cdd(0x73)][_0x380cdd(0x81)](_0x380cdd(0x72))['to'](this),this[_0x380cdd(0x88)]({'tag':_0x380cdd(0x85),'attributes':{'class':['ck',_0x380cdd(0x6d)]},'children':[{'tag':_0x380cdd(0x78),'attributes':{'class':['ck',_0x380cdd(0x70)]},'children':[{'text':_0x2ecff5}]},{'tag':_0x380cdd(0x85),'attributes':{'class':['ck',_0x380cdd(0x7d)]},'children':this[_0x380cdd(0x73)]}]});}[_0x5b1e27(0x6c)](_0x2641b7){const _0x2796d4=_0x5b1e27,_0x14c5fe=new _0x3ed9c5(this[_0x2796d4(0x74)],_0x2641b7,this[_0x2796d4(0x7e)],this[_0x2796d4(0x86)]);this[_0x2796d4(0x73)][_0x2796d4(0x80)](_0x14c5fe);}[_0x5b1e27(0x7f)](_0x5292bc){const _0x4bf162=_0x5b1e27,_0x2dd7ea=this[_0x4bf162(0x73)][_0x4bf162(0x6f)](_0x280256=>_0x280256['id']===_0x5292bc['id']);this[_0x4bf162(0x73)][_0x4bf162(0x79)](_0x2dd7ea);}}function _0x2e6b(){const _0x37c88a=['ck-revision-history-sidebar__time-period','11857340rnieYe','find','ck-revision-history-sidebar__time-period__label','11mGsLXC','setName','revisionViews','locale','2995veXgGS','5412ViRMeH','uiLanguage','span','remove','3IQPsLM','2209608CCDCoJ','select','ck-revision-history-sidebar__time-period__revisions','_revisionActions','removeRevision','add','delegate','519473bAamgo','1071dOxPJO','startDate','div','_requireRevisionName','localizedPeriodName','setTemplate','92386ODSKVv','604286SHzMBs','20584cQmrgs','createCollection','addRevision'];_0x2e6b=function(){return _0x37c88a;};return _0x2e6b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x714913=_0xc745;(function(_0x366717,_0x5757a5){const _0x16a042=_0xc745,_0x4a9c97=_0x366717();while(!![]){try{const _0x2abf78=-parseInt(_0x16a042(0x1e2))/0x1+parseInt(_0x16a042(0x1dc))/0x2+parseInt(_0x16a042(0x1e1))/0x3+-parseInt(_0x16a042(0x1d7))/0x4+-parseInt(_0x16a042(0x1e3))/0x5+-parseInt(_0x16a042(0x1cc))/0x6+parseInt(_0x16a042(0x1d3))/0x7;if(_0x2abf78===_0x5757a5)break;else _0x4a9c97['push'](_0x4a9c97['shift']());}catch(_0xc65790){_0x4a9c97['push'](_0x4a9c97['shift']());}}}(_0x39ce,0x56700));function _0xc745(_0x144506,_0x2af456){const _0x39ceaf=_0x39ce();return _0xc745=function(_0xc7452d,_0x21ea05){_0xc7452d=_0xc7452d-0x1bc;let _0x542d02=_0x39ceaf[_0xc7452d];return _0x542d02;},_0xc745(_0x144506,_0x2af456);}function _0x39ce(){const _0x1c3e8c=['selectRevision','remove','1795692fuLdTb','bindTemplate','revisionViews','uiLanguage','add','918036DvImcJ','createCollection','some','div','ck-reset','795456wnByxC','380555QGkIDi','3348610dMKefP','_removeRevision','setTemplate','ck-disabled','highlight','delegate','ck-revision-history-sidebar__timeline','map','isEnabled','startDate','render','deselect','locale','find','revisionSelected','flat','_requireRevisionName','get','ck-rounded-corners','_revisions','select','_revisionActions','removeRevision','ck-revision-history-sidebar','getTime','timePeriodViews','set','unhighlight','revisionSetName','734424FMdoln','_addRevision','addRevision','createdAt','highlightRevisions','_getTimePeriodViewByStartDate','setName','8760374fTDUXJ','fire'];_0x39ce=function(){return _0x1c3e8c;};return _0x39ce();}import{View as _0x58bdd9}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x3b38ff}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x42c9ce}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x5d8e37}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x58bdd9{[_0x714913(0x1c8)];[_0x714913(0x1c2)];[_0x714913(0x1c4)];[_0x714913(0x1bf)];constructor(_0x341e29,_0x2d26c5,_0xe873eb,_0x1e2550){const _0x104ff5=_0x714913;super(_0x341e29);const _0x121387=this[_0x104ff5(0x1d8)];this[_0x104ff5(0x1c8)]=this[_0x104ff5(0x1dd)](),this[_0x104ff5(0x1c8)][_0x104ff5(0x1e8)](_0x104ff5(0x1c3))['to'](this),this[_0x104ff5(0x1c8)][_0x104ff5(0x1e8)](_0x104ff5(0x1d2))['to'](this),this[_0x104ff5(0x1c2)]=_0x2d26c5,this[_0x104ff5(0x1c4)]=_0xe873eb,this[_0x104ff5(0x1bf)]=_0x1e2550,this['on'](_0x104ff5(0x1c3),(_0x3881a7,_0x4846fd)=>{const _0x1e6921=_0x104ff5;this[_0x1e6921(0x1d4)](_0x1e6921(0x1bd),_0x4846fd);}),this['on'](_0x104ff5(0x1d2),(_0x12e043,_0x1db72c)=>{const _0x2cf75c=_0x104ff5;this[_0x2cf75c(0x1d4)](_0x2cf75c(0x1cb),_0x1db72c);}),this[_0x104ff5(0x1c9)](_0x104ff5(0x1eb),!0x1),this[_0x104ff5(0x1e5)]({'tag':_0x104ff5(0x1df),'attributes':{'class':['ck',_0x104ff5(0x1e0),_0x104ff5(0x1c1),_0x104ff5(0x1c6)]},'children':[new _0x42c9ce(_0x341e29),{'tag':_0x104ff5(0x1df),'attributes':{'class':['ck',_0x104ff5(0x1e9),_0x121387['if'](_0x104ff5(0x1eb),_0x104ff5(0x1e6),_0x2fe78d=>!_0x2fe78d)]},'children':this[_0x104ff5(0x1c8)]}]});}[_0x714913(0x1ed)](){const _0x247659=_0x714913;super[_0x247659(0x1ed)]();for(const _0x1ab995 of this[_0x247659(0x1c2)])this[_0x247659(0x1cd)](_0x1ab995);this[_0x247659(0x1c2)]['on'](_0x247659(0x1db),(_0x2855da,_0x6403a0)=>{const _0x32ae3e=_0x247659;this[_0x32ae3e(0x1cd)](_0x6403a0);}),this[_0x247659(0x1c2)]['on'](_0x247659(0x1d6),(_0x3b2da5,_0x3df03c)=>{const _0x4a00d5=_0x247659;this[_0x4a00d5(0x1e4)](_0x3df03c);});}get[_0x714913(0x1d9)](){const _0x278c4e=_0x714913;return this[_0x278c4e(0x1c8)][_0x278c4e(0x1ea)](_0x58d9b1=>_0x58d9b1[_0x278c4e(0x1d9)][_0x278c4e(0x1ea)](_0x32e636=>_0x32e636))[_0x278c4e(0x1be)]();}[_0x714913(0x1d5)](_0x5c4bac){const _0x315461=_0x714913;for(const _0x39fcfe of this[_0x315461(0x1d9)])_0x5c4bac&&_0x5c4bac['id']===_0x39fcfe['id']?_0x39fcfe[_0x315461(0x1c3)]():_0x39fcfe[_0x315461(0x1ee)]();}[_0x714913(0x1d0)](_0x11abfb){const _0x3d3ba0=_0x714913;for(const _0x31d4bd of this[_0x3d3ba0(0x1d9)])_0x11abfb[_0x3d3ba0(0x1de)](({id:_0x107a15})=>_0x107a15===_0x31d4bd['id'])?_0x31d4bd[_0x3d3ba0(0x1e7)]():_0x31d4bd[_0x3d3ba0(0x1ca)]();}[_0x714913(0x1cd)](_0x480713){const _0x5f1900=_0x714913,_0x299544=_0x5d8e37(_0x480713[_0x5f1900(0x1cf)],this[_0x5f1900(0x1ef)][_0x5f1900(0x1da)])[_0x5f1900(0x1ec)];let _0x5dcf1b=this[_0x5f1900(0x1c8)][_0x5f1900(0x1c0)](0x0);_0x5dcf1b&&_0x5dcf1b[_0x5f1900(0x1ec)][_0x5f1900(0x1c7)]()===_0x299544[_0x5f1900(0x1c7)]()||(_0x5dcf1b=new _0x3b38ff(this[_0x5f1900(0x1ef)],_0x299544,this[_0x5f1900(0x1c4)],this[_0x5f1900(0x1bf)]),this[_0x5f1900(0x1c8)][_0x5f1900(0x1db)](_0x5dcf1b)),_0x5dcf1b[_0x5f1900(0x1ce)](_0x480713);}[_0x714913(0x1e4)](_0x2a7531){const _0x2336b8=_0x714913,_0x4163ac=_0x5d8e37(_0x2a7531[_0x2336b8(0x1cf)],this[_0x2336b8(0x1ef)][_0x2336b8(0x1da)])[_0x2336b8(0x1ec)];this[_0x2336b8(0x1d1)](_0x4163ac)[_0x2336b8(0x1c5)](_0x2a7531);}[_0x714913(0x1d1)](_0x17f3f8){const _0x713667=_0x714913;return this[_0x713667(0x1c8)][_0x713667(0x1bc)](_0x21b8dc=>_0x21b8dc[_0x713667(0x1ec)][_0x713667(0x1c7)]()===_0x17f3f8[_0x713667(0x1c7)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x59f2b4,_0xc4e478){const _0x16b4f8=_0x12e1,_0x2b13f2=_0x59f2b4();while(!![]){try{const _0xf58dbe=parseInt(_0x16b4f8(0x87))/0x1*(-parseInt(_0x16b4f8(0x86))/0x2)+-parseInt(_0x16b4f8(0x7a))/0x3*(parseInt(_0x16b4f8(0x88))/0x4)+parseInt(_0x16b4f8(0x8d))/0x5*(parseInt(_0x16b4f8(0x7b))/0x6)+-parseInt(_0x16b4f8(0x8e))/0x7+parseInt(_0x16b4f8(0x7f))/0x8*(-parseInt(_0x16b4f8(0x80))/0x9)+-parseInt(_0x16b4f8(0x7d))/0xa*(parseInt(_0x16b4f8(0x8b))/0xb)+parseInt(_0x16b4f8(0x8c))/0xc;if(_0xf58dbe===_0xc4e478)break;else _0x2b13f2['push'](_0x2b13f2['shift']());}catch(_0x277192){_0x2b13f2['push'](_0x2b13f2['shift']());}}}(_0x4bec,0xb2718));function _0x4bec(){const _0x40a6e6=['60003588QpDrJn','2458370rHebzG','6749715moUvRL','hasSame','monthLong','year','local','fromJSDate','55893XRMahP','6ZIAohU','toRelativeCalendar','33520VTcHuW','toJSDate','358952mphVFK','270iZZqwq','minus','week','weekdayLong','setLocale','day','96338mgpzGe','17RiSiZM','92QqKkyZ','startOf','month','3949NUnTXY'];_0x4bec=function(){return _0x40a6e6;};return _0x4bec();}function _0x12e1(_0x1ed650,_0x358b55){const _0x4becf1=_0x4bec();return _0x12e1=function(_0x12e19b,_0x316f6e){_0x12e19b=_0x12e19b-0x79;let _0x3d9bfd=_0x4becf1[_0x12e19b];return _0x3d9bfd;},_0x12e1(_0x1ed650,_0x358b55);}import{DateTime as _0x1693e7}from'luxon';export function getDateTimePeriodInfo(_0x1bed23,_0x330362){const _0x3cdc28=_0x12e1,_0xaa4f57=_0x1693e7[_0x3cdc28(0x79)](_0x1bed23)[_0x3cdc28(0x84)](_0x330362),_0x52e2b5=_0x1693e7[_0x3cdc28(0x92)](),_0x2b7300=_0x52e2b5[_0x3cdc28(0x81)]({'days':0x1})[_0x3cdc28(0x89)](_0x3cdc28(0x85));let _0x13382a,_0x92ca82;return _0xaa4f57[_0x3cdc28(0x8f)](_0x52e2b5,_0x3cdc28(0x85))?(_0x13382a=_0xaa4f57[_0x3cdc28(0x89)](_0x3cdc28(0x85))[_0x3cdc28(0x7e)](),_0x92ca82=_0xaa4f57[_0x3cdc28(0x7c)]()):_0xaa4f57[_0x3cdc28(0x8f)](_0x2b7300,_0x3cdc28(0x85))?(_0x13382a=_0x2b7300[_0x3cdc28(0x7e)](),_0x92ca82=_0xaa4f57[_0x3cdc28(0x7c)]()):_0xaa4f57[_0x3cdc28(0x8f)](_0x52e2b5,_0x3cdc28(0x82))?(_0x13382a=_0xaa4f57[_0x3cdc28(0x89)](_0x3cdc28(0x82))[_0x3cdc28(0x7e)](),_0x92ca82=_0xaa4f57[_0x3cdc28(0x83)]||''):_0xaa4f57[_0x3cdc28(0x8f)](_0x52e2b5,_0x3cdc28(0x91))?(_0x13382a=_0xaa4f57[_0x3cdc28(0x89)](_0x3cdc28(0x8a))[_0x3cdc28(0x7e)](),_0x92ca82=_0xaa4f57[_0x3cdc28(0x90)]||''):(_0x13382a=_0xaa4f57[_0x3cdc28(0x89)](_0x3cdc28(0x91))[_0x3cdc28(0x7e)](),_0x92ca82=String(_0xaa4f57[_0x3cdc28(0x91)])),{'startDate':_0x13382a,'localizedPeriodName':_0x92ca82};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x8ca602=_0x55c1;function _0x1a1a(){const _0x344929=['add','set','8703855ntWFxE','isSuggestion','ck-annotation','_model','2323768hsHwTh','ck-revision-change','changeId','author','element','type','bindTemplate','23592nnCRUt','13479260ORiKEO','setTemplate','focus','ck-revision-change__','1RDAlxm','Suggested\x20by','div','2005POeNbS','Added\x20by','data','name','91wZOWGR','ck-revision-change__label','span','376032hDJKfE','1914334LaUjwb','2706666hzAbMU','Removed\x20by'];_0x1a1a=function(){return _0x344929;};return _0x1a1a();}function _0x55c1(_0x4912f3,_0x5b3ff8){const _0x1a1ab5=_0x1a1a();return _0x55c1=function(_0x55c19c,_0x2fe7c6){_0x55c19c=_0x55c19c-0xa4;let _0x286f22=_0x1a1ab5[_0x55c19c];return _0x286f22;},_0x55c1(_0x4912f3,_0x5b3ff8);}(function(_0x59cf01,_0x1d8d83){const _0xb99115=_0x55c1,_0x4f665b=_0x59cf01();while(!![]){try{const _0x3102c3=-parseInt(_0xb99115(0xc0))/0x1*(-parseInt(_0xb99115(0xab))/0x2)+-parseInt(_0xb99115(0xac))/0x3+-parseInt(_0xb99115(0xb4))/0x4+parseInt(_0xb99115(0xc3))/0x5*(-parseInt(_0xb99115(0xbb))/0x6)+-parseInt(_0xb99115(0xa7))/0x7*(-parseInt(_0xb99115(0xaa))/0x8)+parseInt(_0xb99115(0xb0))/0x9+parseInt(_0xb99115(0xbc))/0xa;if(_0x3102c3===_0x1d8d83)break;else _0x4f665b['push'](_0x4f665b['shift']());}catch(_0x5554bd){_0x4f665b['push'](_0x4f665b['shift']());}}}(_0x1a1a,0xc9030));import{View as _0x43946a}from'ckeditor5/src/ui.js';import{getTranslation as _0x46f064}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x43946a{[_0x8ca602(0xb6)];[_0x8ca602(0xb3)];constructor(_0x5ad32e,_0x2bdc78){const _0x4a1f50=_0x8ca602;super(_0x5ad32e),this[_0x4a1f50(0xb3)]=_0x2bdc78,this[_0x4a1f50(0xb6)]=_0x2bdc78['id'];const _0x11c226=this[_0x4a1f50(0xba)],_0x1777f1=_0x46f064(_0x5ad32e,_0x2bdc78[_0x4a1f50(0xa5)][_0x4a1f50(0xb1)]?_0x4a1f50(0xc1):_0x4a1f50(0xae)==_0x2bdc78[_0x4a1f50(0xb9)]?_0x4a1f50(0xa4):_0x4a1f50(0xad));this[_0x4a1f50(0xaf)](_0x4a1f50(0xb9),_0x2bdc78[_0x4a1f50(0xb9)]),this[_0x4a1f50(0xbd)]({'tag':_0x4a1f50(0xc2),'attributes':{'class':[_0x4a1f50(0xb2),_0x4a1f50(0xb5),_0x11c226['to'](_0x4a1f50(0xb9),_0x459ac6=>_0x4a1f50(0xbf)+_0x459ac6)],'tabindex':-0x1},'children':[{'tag':_0x4a1f50(0xa9),'children':[{'tag':_0x4a1f50(0xa9),'attributes':{'class':[_0x4a1f50(0xa8)]},'children':[{'text':_0x1777f1}]},{'text':'\x20'+_0x2bdc78[_0x4a1f50(0xb7)][_0x4a1f50(0xa6)]}]}]});}[_0x8ca602(0xbe)](){const _0x5c940b=_0x8ca602;this[_0x5c940b(0xb8)][_0x5c940b(0xbe)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x18634d,_0x1719bd){const _0x110448=_0x3ab6,_0x36e0d8=_0x18634d();while(!![]){try{const _0xe03b1d=-parseInt(_0x110448(0xdd))/0x1+parseInt(_0x110448(0xca))/0x2*(parseInt(_0x110448(0xdb))/0x3)+parseInt(_0x110448(0xc3))/0x4+parseInt(_0x110448(0xb8))/0x5+parseInt(_0x110448(0xd0))/0x6*(parseInt(_0x110448(0xbb))/0x7)+parseInt(_0x110448(0xd9))/0x8+-parseInt(_0x110448(0xc2))/0x9;if(_0xe03b1d===_0x1719bd)break;else _0x36e0d8['push'](_0x36e0d8['shift']());}catch(_0x316ff7){_0x36e0d8['push'](_0x36e0d8['shift']());}}}(_0x3bbf,0x80921));import{View as _0x3b3495,ButtonView as _0x2c9239,ToolbarSeparatorView as _0x839498}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x3c22ab,IconChevronDown as _0x46f3e2}from'ckeditor5/src/icons.js';function _0x3ab6(_0x144783,_0x6e329e){const _0x3bbfec=_0x3bbf();return _0x3ab6=function(_0x3ab66b,_0x28838a){_0x3ab66b=_0x3ab66b-0xb6;let _0x4c11df=_0x3bbfec[_0x3ab66b];return _0x4c11df;},_0x3ab6(_0x144783,_0x6e329e);}import{getTranslation as _0x4125ac}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x3b3495{constructor(_0x52af5d){const _0x48848f=_0x3ab6;super(_0x52af5d);const _0x1adbd6=this[_0x48848f(0xc1)],_0x34f450=new _0x2c9239(_0x52af5d),_0x5ae091=new _0x2c9239(_0x52af5d);this[_0x48848f(0xda)](_0x48848f(0xdc),!0x1),this[_0x48848f(0xda)](_0x48848f(0xbd),!0x1),this[_0x48848f(0xda)](_0x48848f(0xbf),0x0),this[_0x48848f(0xda)](_0x48848f(0xdf),0x0),this[_0x48848f(0xda)](_0x48848f(0xba),!0x1),this[_0x48848f(0xda)](_0x48848f(0xb7),!0x1),this[_0x48848f(0xd2)](_0x48848f(0xc6))['to'](this,_0x48848f(0xbd),this,_0x48848f(0xdf),(_0x4c169f,_0x6a0127)=>_0x4c169f&&_0x6a0127>0x0),this[_0x48848f(0xd2)](_0x48848f(0xc9))['to'](this,_0x48848f(0xbd),this,_0x48848f(0xbf),this,_0x48848f(0xdf),this,_0x48848f(0xdc),(_0x48f292,_0x56ef21,_0xdb616f,_0x2ab5ba)=>{const _0x5b4d5c=_0x48848f;if(!_0x48f292)return _0x4125ac(_0x52af5d,_0x5b4d5c(0xc5));if(!_0xdb616f)return _0x4125ac(_0x52af5d,_0x5b4d5c(0xd7));const _0x290f4f=_0x4125ac(_0x52af5d,_0x5b4d5c(0xbc),_0xdb616f);return _0x2ab5ba?_0x4125ac(_0x52af5d,_0x5b4d5c(0xd3),[_0x56ef21+0x1,_0xdb616f]):_0x290f4f;}),_0x34f450[_0x48848f(0xda)]({'label':_0x4125ac(_0x52af5d,_0x48848f(0xd8)),'tooltip':!0x0,'icon':_0x3c22ab}),_0x5ae091[_0x48848f(0xda)]({'label':_0x4125ac(_0x52af5d,_0x48848f(0xcf)),'tooltip':!0x0,'icon':_0x46f3e2}),_0x34f450[_0x48848f(0xd2)](_0x48848f(0xc7))['to'](this,_0x48848f(0xb7)),_0x5ae091[_0x48848f(0xd2)](_0x48848f(0xc7))['to'](this,_0x48848f(0xba)),_0x34f450['on'](_0x48848f(0xd4),()=>this[_0x48848f(0xcb)](_0x48848f(0xd4),_0x48848f(0xd6))),_0x5ae091['on'](_0x48848f(0xd4),()=>this[_0x48848f(0xcb)](_0x48848f(0xd4),_0x48848f(0xc8))),this[_0x48848f(0xce)]({'tag':_0x48848f(0xbe),'attributes':{'class':['ck',_0x48848f(0xc0),_0x48848f(0xc4)]},'children':[{'tag':_0x48848f(0xcc),'attributes':{'class':[_0x48848f(0xcd)]},'children':[{'tag':_0x48848f(0xcc),'attributes':{'class':[_0x48848f(0xb9),_0x1adbd6['if'](_0x48848f(0xc6),_0x48848f(0xd1),_0x983c2a=>!_0x983c2a)]},'children':[{'text':_0x1adbd6['to'](_0x48848f(0xdc),_0x1bc3e7=>_0x1bc3e7?_0x4125ac(_0x52af5d,_0x48848f(0xd5))+':\x20':_0x4125ac(_0x52af5d,_0x48848f(0xde))+':\x20')}]},{'text':_0x1adbd6['to'](_0x48848f(0xc9))}]},new _0x839498(),{'tag':_0x48848f(0xbe),'attributes':{'class':[_0x48848f(0xb6)]},'children':[_0x34f450,_0x5ae091]}]});}}function _0x3bbf(){const _0x4eb1c6=['isReady','div','currentChangeNumber','ck-revision-history-ui','bindTemplate','18812637tPHbAu','1096280tzUQqP','ck-revision-history-ui__changes-navigation','Loading...','_isStatusLabelVisible','isEnabled','forward','_statusText','10102ZSZltg','fire','span','ck-revision-history-ui__changes-navigation__wrapper','setTemplate','Show\x20next\x20change','1048026vYvwNp','ck-hidden','bind','X_OF_Y_CHANGES','execute','EDIT_X_OF_Y_REVISIONS','backward','No\x20changes','Show\x20previous\x20change','6591320svypka','set','399LCIAfH','isNavigationMode','302661LrULLf','Total','numberOfChanges','ck-revision-history-ui__changes-navigation__navigation','isBackwardNavigationEnabled','508925uLHoqx','ck-revision-history-ui__changes-navigation__label','isForwardNavigationEnabled','42tdhbHZ','NUMBER_OF_CHANGES'];_0x3bbf=function(){return _0x4eb1c6;};return _0x3bbf();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b3b1a=_0x3124;(function(_0x65ba2,_0x151e94){const _0x1acd99=_0x3124,_0x178420=_0x65ba2();while(!![]){try{const _0x3eaf4f=-parseInt(_0x1acd99(0x130))/0x1*(-parseInt(_0x1acd99(0x131))/0x2)+parseInt(_0x1acd99(0x124))/0x3*(parseInt(_0x1acd99(0x117))/0x4)+parseInt(_0x1acd99(0x11f))/0x5*(parseInt(_0x1acd99(0x12b))/0x6)+-parseInt(_0x1acd99(0x11c))/0x7+parseInt(_0x1acd99(0x113))/0x8+parseInt(_0x1acd99(0x11b))/0x9+parseInt(_0x1acd99(0x11e))/0xa*(-parseInt(_0x1acd99(0x115))/0xb);if(_0x3eaf4f===_0x151e94)break;else _0x178420['push'](_0x178420['shift']());}catch(_0x5aa6ec){_0x178420['push'](_0x178420['shift']());}}}(_0x3aae,0x9de73));import{Plugin as _0x28728f}from'ckeditor5/src/core.js';function _0x3aae(){const _0x15cdfa=['get','8FFIVTc','changesNavigation','execute','ck-revision-history-ui__back-to-editing','7185645rCbsSo','2800658EuUhuN','show','20qOrTEr','5Djjecq','currentChangeNumber','restoreRevision','editor','hide','1892685pfyhvN','requires','commands','Back\x20to\x20editing','forward','isOfficialPlugin','init','7396332GuHfRv','showPreviousChange','bind','change:isReady','numberOfChanges','639582aAKtwY','4CwtntA','exitToEditing','isReady','config','isForwardNavigationEnabled','pluginName','isEnabled','closeRevisionViewerCallback','Restore\x20this\x20revision','listenTo','showNextChange','revisionHistory','componentFactory','set','isNavigationMode','isPremiumPlugin','add','isBackwardNavigationEnabled','plugins','1108000IZpjau','RevisionViewerUI','20150438VsDcYW'];_0x3aae=function(){return _0x15cdfa;};return _0x3aae();}import{ButtonView as _0x42a567}from'ckeditor5/src/ui.js';import{IconUndo as _0x490306}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0xf006d8}from'./changesnavigationview.js';import{RevisionViewer as _0x6863e3}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x4e741a}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x1704f0}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';function _0x3124(_0x433532,_0x479f1f){const _0x3aae9c=_0x3aae();return _0x3124=function(_0x3124b9,_0x1354a3){_0x3124b9=_0x3124b9-0x110;let _0x3e382a=_0x3aae9c[_0x3124b9];return _0x3e382a;},_0x3124(_0x433532,_0x479f1f);}export class RevisionViewerUI extends _0x28728f{static get[_0x5b3b1a(0x136)](){const _0x58825c=_0x5b3b1a;return _0x58825c(0x114);}static get[_0x5b3b1a(0x129)](){return!0x0;}static get[_0x5b3b1a(0x140)](){return!0x0;}static get[_0x5b3b1a(0x125)](){return[_0x6863e3,_0x4e741a];}[_0x5b3b1a(0x12a)](){const _0x19e068=_0x5b3b1a,_0x180b8c=this[_0x19e068(0x122)],_0x42ac0c=_0x180b8c[_0x19e068(0x112)][_0x19e068(0x116)](_0x6863e3),_0x2c84ac=_0x180b8c[_0x19e068(0x112)][_0x19e068(0x116)](_0x4e741a);_0x180b8c['ui'][_0x19e068(0x13d)][_0x19e068(0x110)](_0x19e068(0x132),_0x14c3df=>{const _0x5e5b54=_0x19e068,_0x48e540=new _0x42a567(_0x14c3df);return _0x48e540[_0x5e5b54(0x13e)]({'label':_0x1704f0(_0x14c3df,_0x5e5b54(0x127)),'icon':_0x490306,'withText':!0x0,'tooltip':!0x0,'class':_0x5e5b54(0x11a)}),this[_0x5e5b54(0x13a)](_0x48e540,_0x5e5b54(0x119),()=>{const _0x31b492=_0x5e5b54;_0x180b8c[_0x31b492(0x134)][_0x31b492(0x116)](_0x31b492(0x13c))[_0x31b492(0x138)]();}),_0x48e540;}),_0x180b8c['ui'][_0x19e068(0x13d)][_0x19e068(0x110)](_0x19e068(0x121),_0x89f00e=>{const _0x339c75=_0x19e068,_0x38b16c=new _0x42a567(_0x89f00e);return _0x38b16c[_0x339c75(0x13e)]({'label':_0x1704f0(_0x89f00e,_0x339c75(0x139)),'withText':!0x0,'tooltip':!0x0}),_0x38b16c[_0x339c75(0x12d)](_0x339c75(0x137))['to'](_0x180b8c[_0x339c75(0x126)][_0x339c75(0x116)](_0x339c75(0x121))),this[_0x339c75(0x13a)](_0x38b16c,_0x339c75(0x119),()=>_0x180b8c[_0x339c75(0x119)](_0x339c75(0x121))),_0x38b16c;}),_0x180b8c['ui'][_0x19e068(0x13d)][_0x19e068(0x110)](_0x19e068(0x118),_0x16e928=>{const _0x1e932f=_0x19e068,_0x45fcc0=new _0xf006d8(_0x16e928),_0x2f65aa=_0x180b8c[_0x1e932f(0x126)][_0x1e932f(0x116)](_0x1e932f(0x12c)),_0x33836e=_0x180b8c[_0x1e932f(0x126)][_0x1e932f(0x116)](_0x1e932f(0x13b));return _0x45fcc0[_0x1e932f(0x12d)](_0x1e932f(0x111))['to'](_0x2f65aa,_0x1e932f(0x137)),_0x45fcc0[_0x1e932f(0x12d)](_0x1e932f(0x135))['to'](_0x33836e,_0x1e932f(0x137)),_0x45fcc0[_0x1e932f(0x12d)](_0x1e932f(0x133),_0x1e932f(0x120),_0x1e932f(0x12f),_0x1e932f(0x13f))['to'](_0x42ac0c),this[_0x1e932f(0x13a)](_0x45fcc0,_0x1e932f(0x119),(_0x6042d2,_0x286029)=>{const _0x321488=_0x1e932f;_0x180b8c[_0x321488(0x119)](_0x321488(0x128)===_0x286029?_0x321488(0x13b):_0x321488(0x12c));}),_0x45fcc0;}),_0x2c84ac[_0x19e068(0x11d)](),_0x42ac0c['on'](_0x19e068(0x12e),(_0x4a388d,_0x132d32,_0x32bc83)=>{const _0x14efb0=_0x19e068;_0x32bc83?_0x2c84ac[_0x14efb0(0x123)]():_0x2c84ac[_0x14efb0(0x11d)]();});}}
|