@ckeditor/ckeditor5-revision-history 46.0.1-alpha.11 → 46.0.1-alpha.12
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
|
-
|
|
23
|
+
(function(_0xf03a20,_0x1b107a){const _0x9b467c=_0x1c01,_0x342320=_0xf03a20();while(!![]){try{const _0x41d6e9=parseInt(_0x9b467c(0x1e4))/0x1*(-parseInt(_0x9b467c(0x1f1))/0x2)+parseInt(_0x9b467c(0x1e5))/0x3*(parseInt(_0x9b467c(0x1ee))/0x4)+-parseInt(_0x9b467c(0x1f2))/0x5+parseInt(_0x9b467c(0x1e2))/0x6+-parseInt(_0x9b467c(0x1e8))/0x7*(-parseInt(_0x9b467c(0x1e9))/0x8)+parseInt(_0x9b467c(0x1e7))/0x9+-parseInt(_0x9b467c(0x1e3))/0xa*(parseInt(_0x9b467c(0x1e6))/0xb);if(_0x41d6e9===_0x1b107a)break;else _0x342320['push'](_0x342320['shift']());}catch(_0x3b9cd7){_0x342320['push'](_0x342320['shift']());}}}(_0x5d39,0xd04bf));import{View as _0x44b901,IconView as _0x2b6518}from'ckeditor5/src/ui.js';import{getTranslation as _0xe8df4c}from'../../utils/common-translations.js';function _0x5d39(){const _0x47ffa5=['34041wPmZHd','407NhcxtK','6584436RmOQat','42833SpsFrF','464UlYcnz','ck-revision-history-sidebar__header__label','setTemplate','Revision\x20history','content','428kDjgGj','span','ck-reset_all','718Jdkwgt','5784655ASbhCI','ck-revision-history-sidebar__header','div','4562202VQkpBy','195050oeYVJu','917oaxExu'];_0x5d39=function(){return _0x47ffa5;};return _0x5d39();}function _0x1c01(_0x4d26f9,_0x24d4c5){const _0x5d3916=_0x5d39();return _0x1c01=function(_0x1c0185,_0x388e75){_0x1c0185=_0x1c0185-0x1e2;let _0xfbd0a3=_0x5d3916[_0x1c0185];return _0xfbd0a3;},_0x1c01(_0x4d26f9,_0x24d4c5);}import{IconHistory as _0x4057cf}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x44b901{constructor(_0x20873c){const _0x391e35=_0x1c01;super(_0x20873c);const _0x204b6d=new _0x2b6518();_0x204b6d[_0x391e35(0x1ed)]=_0x4057cf,this[_0x391e35(0x1eb)]({'tag':_0x391e35(0x1f4),'attributes':{'class':['ck',_0x391e35(0x1f0),_0x391e35(0x1f3)]},'children':[_0x204b6d,{'tag':_0x391e35(0x1ef),'attributes':{'class':['ck',_0x391e35(0x1ea)]},'children':[_0xe8df4c(_0x20873c,_0x391e35(0x1ec))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4504cb=_0x23a7;(function(_0x31e6ef,_0x2017f8){const _0x36393a=_0x23a7,_0x1f78bf=_0x31e6ef();while(!![]){try{const _0x438854=parseInt(_0x36393a(0x13d))/0x1+parseInt(_0x36393a(0x150))/0x2+parseInt(_0x36393a(0x153))/0x3*(-parseInt(_0x36393a(0x152))/0x4)+-parseInt(_0x36393a(0x141))/0x5*(parseInt(_0x36393a(0x143))/0x6)+-parseInt(_0x36393a(0x14e))/0x7*(-parseInt(_0x36393a(0x156))/0x8)+-parseInt(_0x36393a(0x15a))/0x9*(-parseInt(_0x36393a(0x158))/0xa)+parseInt(_0x36393a(0x142))/0xb;if(_0x438854===_0x2017f8)break;else _0x1f78bf['push'](_0x1f78bf['shift']());}catch(_0x52c578){_0x1f78bf['push'](_0x1f78bf['shift']());}}}(_0x20ae,0x5fc15));function _0x23a7(_0x4e9bed,_0x5b545f){const _0x20ae2a=_0x20ae();return _0x23a7=function(_0x23a72b,_0x2fd377){_0x23a72b=_0x23a72b-0x13d;let _0x1dc8cc=_0x20ae2a[_0x23a72b];return _0x1dc8cc;},_0x23a7(_0x4e9bed,_0x5b545f);}import{View as _0x152be7}from'ckeditor5/src/ui.js';import{RevisionView as _0x1216b0}from'../revision/revisionview.js';function _0x20ae(){const _0x3cdab8=['delegate','localizedPeriodName','find','329TYwsca','startDate','325148YyUsVp','_requireRevisionName','42960IVHACT','192ulrqKL','span','uiLanguage','69872pzHjwo','locale','250fsxaME','revisionViews','29169EvyGVS','removeRevision','remove','setName','176096VKrRDp','setTemplate','ck-revision-history-sidebar__time-period__label','addRevision','35CQCwJF','3348092TkttWi','47136RMmlNt','createCollection','select','ck-revision-history-sidebar__time-period__revisions','div','_revisionActions','add','ck-revision-history-sidebar__time-period'];_0x20ae=function(){return _0x3cdab8;};return _0x20ae();}import{getDateTimePeriodInfo as _0x375f30}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x152be7{[_0x4504cb(0x14f)];[_0x4504cb(0x159)];[_0x4504cb(0x148)];[_0x4504cb(0x151)];constructor(_0x1cf447,_0x5a06f5,_0x3a9dab,_0x3b3544){const _0x23ffef=_0x4504cb;super(_0x1cf447);const _0x5bdcb5=_0x375f30(_0x5a06f5,this[_0x23ffef(0x157)][_0x23ffef(0x155)])[_0x23ffef(0x14c)];this[_0x23ffef(0x14f)]=_0x5a06f5,this[_0x23ffef(0x159)]=this[_0x23ffef(0x144)](),this[_0x23ffef(0x148)]=_0x3a9dab,this[_0x23ffef(0x151)]=_0x3b3544,this[_0x23ffef(0x159)][_0x23ffef(0x14b)](_0x23ffef(0x145))['to'](this),this[_0x23ffef(0x159)][_0x23ffef(0x14b)](_0x23ffef(0x15d))['to'](this),this[_0x23ffef(0x13e)]({'tag':_0x23ffef(0x147),'attributes':{'class':['ck',_0x23ffef(0x14a)]},'children':[{'tag':_0x23ffef(0x154),'attributes':{'class':['ck',_0x23ffef(0x13f)]},'children':[{'text':_0x5bdcb5}]},{'tag':_0x23ffef(0x147),'attributes':{'class':['ck',_0x23ffef(0x146)]},'children':this[_0x23ffef(0x159)]}]});}[_0x4504cb(0x140)](_0x1b375b){const _0x20247e=_0x4504cb,_0x468deb=new _0x1216b0(this[_0x20247e(0x157)],_0x1b375b,this[_0x20247e(0x148)],this[_0x20247e(0x151)]);this[_0x20247e(0x159)][_0x20247e(0x149)](_0x468deb);}[_0x4504cb(0x15b)](_0x46a40c){const _0x3970a4=_0x4504cb,_0x4cd506=this[_0x3970a4(0x159)][_0x3970a4(0x14d)](_0x175fff=>_0x175fff['id']===_0x46a40c['id']);this[_0x3970a4(0x159)][_0x3970a4(0x15c)](_0x4cd506);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d2c89=_0x24f4;(function(_0x326dcc,_0x1a3732){const _0x47798f=_0x24f4,_0x242fad=_0x326dcc();while(!![]){try{const _0x53bf35=-parseInt(_0x47798f(0x97))/0x1*(parseInt(_0x47798f(0xa8))/0x2)+parseInt(_0x47798f(0x9d))/0x3+parseInt(_0x47798f(0x7a))/0x4*(parseInt(_0x47798f(0xa9))/0x5)+-parseInt(_0x47798f(0x8a))/0x6*(parseInt(_0x47798f(0xaa))/0x7)+-parseInt(_0x47798f(0x77))/0x8+-parseInt(_0x47798f(0x80))/0x9+-parseInt(_0x47798f(0x89))/0xa*(-parseInt(_0x47798f(0x7b))/0xb);if(_0x53bf35===_0x1a3732)break;else _0x242fad['push'](_0x242fad['shift']());}catch(_0x5ff5eb){_0x242fad['push'](_0x242fad['shift']());}}}(_0x3ced,0x8a7e1));import{View as _0x455a08}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x5b7f7f}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x5eea43}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x2a67bc}from'./utils.js';function _0x3ced(){const _0x333912=['highlightRevisions','selectRevision','deselect','flat','some','revisionViews','getTime','setTemplate','ck-revision-history-sidebar__timeline','locale','41JXHXGW','select','_getTimePeriodViewByStartDate','timePeriodViews','_revisions','ck-rounded-corners','1393314nuJtpa','revisionSelected','startDate','_addRevision','div','_removeRevision','revisionSetName','set','delegate','isEnabled','highlight','51014TyCAVo','10165wZRyte','3633WMuRqo','setName','uiLanguage','find','get','6846096oXvnKr','unhighlight','createdAt','596Jemdgn','374bZcfKf','_requireRevisionName','map','bindTemplate','render','9533448gLhgbh','ck-disabled','add','createCollection','ck-revision-history-sidebar','_revisionActions','fire','addRevision','ck-reset','1089950QKCpTN','10926shLswy','remove','removeRevision'];_0x3ced=function(){return _0x333912;};return _0x3ced();}import'../../../theme/revisionssidebar/revisionssidebar.css';function _0x24f4(_0x213d52,_0x48626c){const _0x3cedba=_0x3ced();return _0x24f4=function(_0x24f453,_0x31afb8){_0x24f453=_0x24f453-0x73;let _0x1d6d36=_0x3cedba[_0x24f453];return _0x1d6d36;},_0x24f4(_0x213d52,_0x48626c);}export class RevisionsSidebarView extends _0x455a08{[_0x3d2c89(0x9a)];[_0x3d2c89(0x9b)];[_0x3d2c89(0x85)];[_0x3d2c89(0x7c)];constructor(_0x3a483a,_0x4dd0f0,_0x5ae007,_0x24e55f){const _0x4d3e07=_0x3d2c89;super(_0x3a483a);const _0x21cd8f=this[_0x4d3e07(0x7e)];this[_0x4d3e07(0x9a)]=this[_0x4d3e07(0x83)](),this[_0x4d3e07(0x9a)][_0x4d3e07(0xa5)](_0x4d3e07(0x98))['to'](this),this[_0x4d3e07(0x9a)][_0x4d3e07(0xa5)](_0x4d3e07(0x73))['to'](this),this[_0x4d3e07(0x9b)]=_0x4dd0f0,this[_0x4d3e07(0x85)]=_0x5ae007,this[_0x4d3e07(0x7c)]=_0x24e55f,this['on'](_0x4d3e07(0x98),(_0x173aff,_0x1dbfdd)=>{const _0x56857e=_0x4d3e07;this[_0x56857e(0x86)](_0x56857e(0x9e),_0x1dbfdd);}),this['on'](_0x4d3e07(0x73),(_0x33d330,_0x1c44cc)=>{const _0x7a85f=_0x4d3e07;this[_0x7a85f(0x86)](_0x7a85f(0xa3),_0x1c44cc);}),this[_0x4d3e07(0xa4)](_0x4d3e07(0xa6),!0x1),this[_0x4d3e07(0x94)]({'tag':_0x4d3e07(0xa1),'attributes':{'class':['ck',_0x4d3e07(0x88),_0x4d3e07(0x9c),_0x4d3e07(0x84)]},'children':[new _0x5eea43(_0x3a483a),{'tag':_0x4d3e07(0xa1),'attributes':{'class':['ck',_0x4d3e07(0x95),_0x21cd8f['if'](_0x4d3e07(0xa6),_0x4d3e07(0x81),_0x12b5a7=>!_0x12b5a7)]},'children':this[_0x4d3e07(0x9a)]}]});}[_0x3d2c89(0x7f)](){const _0x200845=_0x3d2c89;super[_0x200845(0x7f)]();for(const _0x37c296 of this[_0x200845(0x9b)])this[_0x200845(0xa0)](_0x37c296);this[_0x200845(0x9b)]['on'](_0x200845(0x82),(_0x42aaca,_0xc64952)=>{const _0x1385d6=_0x200845;this[_0x1385d6(0xa0)](_0xc64952);}),this[_0x200845(0x9b)]['on'](_0x200845(0x8b),(_0x4a84cf,_0x265826)=>{const _0x511a1e=_0x200845;this[_0x511a1e(0xa2)](_0x265826);});}get[_0x3d2c89(0x92)](){const _0x1ad3b4=_0x3d2c89;return this[_0x1ad3b4(0x9a)][_0x1ad3b4(0x7d)](_0xa19b72=>_0xa19b72[_0x1ad3b4(0x92)][_0x1ad3b4(0x7d)](_0x5c3a6b=>_0x5c3a6b))[_0x1ad3b4(0x90)]();}[_0x3d2c89(0x8e)](_0x1bc9d8){const _0x3404ed=_0x3d2c89;for(const _0x54332f of this[_0x3404ed(0x92)])_0x1bc9d8&&_0x1bc9d8['id']===_0x54332f['id']?_0x54332f[_0x3404ed(0x98)]():_0x54332f[_0x3404ed(0x8f)]();}[_0x3d2c89(0x8d)](_0x3d7d22){const _0x3c4349=_0x3d2c89;for(const _0x3afac5 of this[_0x3c4349(0x92)])_0x3d7d22[_0x3c4349(0x91)](({id:_0x46f20e})=>_0x46f20e===_0x3afac5['id'])?_0x3afac5[_0x3c4349(0xa7)]():_0x3afac5[_0x3c4349(0x78)]();}[_0x3d2c89(0xa0)](_0x403432){const _0x483f05=_0x3d2c89,_0x332126=_0x2a67bc(_0x403432[_0x483f05(0x79)],this[_0x483f05(0x96)][_0x483f05(0x74)])[_0x483f05(0x9f)];let _0x36092f=this[_0x483f05(0x9a)][_0x483f05(0x76)](0x0);_0x36092f&&_0x36092f[_0x483f05(0x9f)][_0x483f05(0x93)]()===_0x332126[_0x483f05(0x93)]()||(_0x36092f=new _0x5b7f7f(this[_0x483f05(0x96)],_0x332126,this[_0x483f05(0x85)],this[_0x483f05(0x7c)]),this[_0x483f05(0x9a)][_0x483f05(0x82)](_0x36092f)),_0x36092f[_0x483f05(0x87)](_0x403432);}[_0x3d2c89(0xa2)](_0x2ee273){const _0x24bcb5=_0x3d2c89,_0x129950=_0x2a67bc(_0x2ee273[_0x24bcb5(0x79)],this[_0x24bcb5(0x96)][_0x24bcb5(0x74)])[_0x24bcb5(0x9f)];this[_0x24bcb5(0x99)](_0x129950)[_0x24bcb5(0x8c)](_0x2ee273);}[_0x3d2c89(0x99)](_0x2f1032){const _0x543468=_0x3d2c89;return this[_0x543468(0x9a)][_0x543468(0x75)](_0x1033ed=>_0x1033ed[_0x543468(0x9f)][_0x543468(0x93)]()===_0x2f1032[_0x543468(0x93)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x549993,_0x599e86){const _0x6da5d1=_0x4c7a,_0x2294fb=_0x549993();while(!![]){try{const _0x118f22=parseInt(_0x6da5d1(0x75))/0x1*(-parseInt(_0x6da5d1(0x86))/0x2)+-parseInt(_0x6da5d1(0x77))/0x3*(parseInt(_0x6da5d1(0x7c))/0x4)+-parseInt(_0x6da5d1(0x81))/0x5*(parseInt(_0x6da5d1(0x82))/0x6)+-parseInt(_0x6da5d1(0x76))/0x7+-parseInt(_0x6da5d1(0x7e))/0x8+-parseInt(_0x6da5d1(0x72))/0x9+parseInt(_0x6da5d1(0x73))/0xa*(parseInt(_0x6da5d1(0x74))/0xb);if(_0x118f22===_0x599e86)break;else _0x2294fb['push'](_0x2294fb['shift']());}catch(_0xe1493){_0x2294fb['push'](_0x2294fb['shift']());}}}(_0x1dde,0x983d4));import{DateTime as _0x213889}from'luxon';function _0x4c7a(_0x2d48a5,_0x54843f){const _0x1dde57=_0x1dde();return _0x4c7a=function(_0x4c7a86,_0x5dacc6){_0x4c7a86=_0x4c7a86-0x6f;let _0xfcc6ac=_0x1dde57[_0x4c7a86];return _0xfcc6ac;},_0x4c7a(_0x2d48a5,_0x54843f);}export function getDateTimePeriodInfo(_0x59b47c,_0x509ece){const _0x1fe1a9=_0x4c7a,_0x4c58d2=_0x213889[_0x1fe1a9(0x70)](_0x59b47c)[_0x1fe1a9(0x87)](_0x509ece),_0x13efe1=_0x213889[_0x1fe1a9(0x7f)](),_0x305c7d=_0x13efe1[_0x1fe1a9(0x83)]({'days':0x1})[_0x1fe1a9(0x78)](_0x1fe1a9(0x80));let _0x1a1da6,_0x1b2c1b;return _0x4c58d2[_0x1fe1a9(0x85)](_0x13efe1,_0x1fe1a9(0x80))?(_0x1a1da6=_0x4c58d2[_0x1fe1a9(0x78)](_0x1fe1a9(0x80))[_0x1fe1a9(0x6f)](),_0x1b2c1b=_0x4c58d2[_0x1fe1a9(0x7b)]()):_0x4c58d2[_0x1fe1a9(0x85)](_0x305c7d,_0x1fe1a9(0x80))?(_0x1a1da6=_0x305c7d[_0x1fe1a9(0x6f)](),_0x1b2c1b=_0x4c58d2[_0x1fe1a9(0x7b)]()):_0x4c58d2[_0x1fe1a9(0x85)](_0x13efe1,_0x1fe1a9(0x84))?(_0x1a1da6=_0x4c58d2[_0x1fe1a9(0x78)](_0x1fe1a9(0x84))[_0x1fe1a9(0x6f)](),_0x1b2c1b=_0x4c58d2[_0x1fe1a9(0x7d)]||''):_0x4c58d2[_0x1fe1a9(0x85)](_0x13efe1,_0x1fe1a9(0x71))?(_0x1a1da6=_0x4c58d2[_0x1fe1a9(0x78)](_0x1fe1a9(0x7a))[_0x1fe1a9(0x6f)](),_0x1b2c1b=_0x4c58d2[_0x1fe1a9(0x79)]||''):(_0x1a1da6=_0x4c58d2[_0x1fe1a9(0x78)](_0x1fe1a9(0x71))[_0x1fe1a9(0x6f)](),_0x1b2c1b=String(_0x4c58d2[_0x1fe1a9(0x71)])),{'startDate':_0x1a1da6,'localizedPeriodName':_0x1b2c1b};}function _0x1dde(){const _0x38af78=['toRelativeCalendar','152DNByIc','weekdayLong','2557664zyfMoH','local','day','10785REcqUX','12ZaAUCf','minus','week','hasSame','36jgpnFJ','setLocale','toJSDate','fromJSDate','year','4529736NdoYlk','20IBgYUN','15156251YFpSaL','47407OYoYbd','1736308humkfe','16059QrvPKX','startOf','monthLong','month'];_0x1dde=function(){return _0x38af78;};return _0x1dde();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x284dfb=_0x4edc;(function(_0x22e258,_0x2dba71){const _0x318aba=_0x4edc,_0x1c260b=_0x22e258();while(!![]){try{const _0x51ca96=-parseInt(_0x318aba(0x17b))/0x1+parseInt(_0x318aba(0x190))/0x2*(-parseInt(_0x318aba(0x17e))/0x3)+parseInt(_0x318aba(0x17c))/0x4+-parseInt(_0x318aba(0x173))/0x5*(parseInt(_0x318aba(0x179))/0x6)+parseInt(_0x318aba(0x175))/0x7*(-parseInt(_0x318aba(0x188))/0x8)+parseInt(_0x318aba(0x172))/0x9*(-parseInt(_0x318aba(0x185))/0xa)+-parseInt(_0x318aba(0x171))/0xb*(-parseInt(_0x318aba(0x18c))/0xc);if(_0x51ca96===_0x2dba71)break;else _0x1c260b['push'](_0x1c260b['shift']());}catch(_0x2a67af){_0x1c260b['push'](_0x1c260b['shift']());}}}(_0x53a0,0xc1cea));function _0x4edc(_0x31321e,_0x29fbd4){const _0x53a01b=_0x53a0();return _0x4edc=function(_0x4edcbf,_0x2eef57){_0x4edcbf=_0x4edcbf-0x16f;let _0x367cd5=_0x53a01b[_0x4edcbf];return _0x367cd5;},_0x4edc(_0x31321e,_0x29fbd4);}function _0x53a0(){const _0x317717=['Suggested\x20by','span','isSuggestion','focus','6844430UoSXem','type','div','8abteDy','set','data','Added\x20by','24JzupvF','name','setTemplate','ck-revision-change__label','1277798TFqyEB','bindTemplate','add','26895902AiCgjc','18ocxplL','3381475DcZVSJ','changeId','2432332hOTdrV','_model','element','ck-revision-change','6TRfCPE','Removed\x20by','1239772yHlNIi','699992IIfkBI','ck-revision-change__','3VnzFet','author','ck-annotation'];_0x53a0=function(){return _0x317717;};return _0x53a0();}import{View as _0x23e202}from'ckeditor5/src/ui.js';import{getTranslation as _0x1a1c5c}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x23e202{[_0x284dfb(0x174)];[_0x284dfb(0x176)];constructor(_0x2e8f69,_0x5d9b8a){const _0x261d8a=_0x284dfb;super(_0x2e8f69),this[_0x261d8a(0x176)]=_0x5d9b8a,this[_0x261d8a(0x174)]=_0x5d9b8a['id'];const _0x468357=this[_0x261d8a(0x16f)],_0x2270dc=_0x1a1c5c(_0x2e8f69,_0x5d9b8a[_0x261d8a(0x18a)][_0x261d8a(0x183)]?_0x261d8a(0x181):_0x261d8a(0x170)==_0x5d9b8a[_0x261d8a(0x186)]?_0x261d8a(0x18b):_0x261d8a(0x17a));this[_0x261d8a(0x189)](_0x261d8a(0x186),_0x5d9b8a[_0x261d8a(0x186)]),this[_0x261d8a(0x18e)]({'tag':_0x261d8a(0x187),'attributes':{'class':[_0x261d8a(0x180),_0x261d8a(0x178),_0x468357['to'](_0x261d8a(0x186),_0x537527=>_0x261d8a(0x17d)+_0x537527)],'tabindex':-0x1},'children':[{'tag':_0x261d8a(0x182),'children':[{'tag':_0x261d8a(0x182),'attributes':{'class':[_0x261d8a(0x18f)]},'children':[{'text':_0x2270dc}]},{'text':'\x20'+_0x5d9b8a[_0x261d8a(0x17f)][_0x261d8a(0x18d)]}]}]});}[_0x284dfb(0x184)](){const _0x5ed79d=_0x284dfb;this[_0x5ed79d(0x177)][_0x5ed79d(0x184)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
(function(_0x204ece,_0x1c6d6d){const _0x358e0f=_0xfef1,_0x54e847=_0x204ece();while(!![]){try{const _0x207339=-parseInt(_0x358e0f(0x1b2))/0x1+parseInt(_0x358e0f(0x1cb))/0x2*(parseInt(_0x358e0f(0x1c7))/0x3)+-parseInt(_0x358e0f(0x1d3))/0x4+-parseInt(_0x358e0f(0x1c5))/0x5+parseInt(_0x358e0f(0x1cc))/0x6*(-parseInt(_0x358e0f(0x1bc))/0x7)+parseInt(_0x358e0f(0x1ca))/0x8+parseInt(_0x358e0f(0x1c8))/0x9*(parseInt(_0x358e0f(0x1bf))/0xa);if(_0x207339===_0x1c6d6d)break;else _0x54e847['push'](_0x54e847['shift']());}catch(_0x4a51bf){_0x54e847['push'](_0x54e847['shift']());}}}(_0x54f6,0xa1f59));function _0x54f6(){const _0x219061=['set','isBackwardNavigationEnabled','ck-hidden','setTemplate','isEnabled','Loading...','isForwardNavigationEnabled','1216916VkFZvQ','div','X_OF_Y_CHANGES','ck-revision-history-ui__changes-navigation__label','numberOfChanges','_statusText','bindTemplate','isNavigationMode','bind','forward','3820537tfBkyT','fire','No\x20changes','180wuRLGZ','Show\x20next\x20change','currentChangeNumber','isReady','NUMBER_OF_CHANGES','Total','2306470vydsWN','ck-revision-history-ui__changes-navigation','1725738zPMnsH','1451178kHutbb','EDIT_X_OF_Y_REVISIONS','4353168PgQodS','2uqEiJY','6tOZqQQ','Show\x20previous\x20change','backward','ck-revision-history-ui__changes-navigation__wrapper','ck-revision-history-ui__changes-navigation__navigation','span','_isStatusLabelVisible','4537448YMnRsB','execute','ck-revision-history-ui'];_0x54f6=function(){return _0x219061;};return _0x54f6();}import{View as _0x36aae4,ButtonView as _0x46b030,ToolbarSeparatorView as _0x31746e}from'ckeditor5/src/ui.js';function _0xfef1(_0x4c404b,_0x226a12){const _0x54f60b=_0x54f6();return _0xfef1=function(_0xfef1c6,_0x2350ff){_0xfef1c6=_0xfef1c6-0x1ac;let _0x23dc2f=_0x54f60b[_0xfef1c6];return _0x23dc2f;},_0xfef1(_0x4c404b,_0x226a12);}import{IconChevronUp as _0x21466f,IconChevronDown as _0x2b332e}from'ckeditor5/src/icons.js';import{getTranslation as _0x5d1708}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x36aae4{constructor(_0x15e1c4){const _0x43d647=_0xfef1;super(_0x15e1c4);const _0x560a37=this[_0x43d647(0x1b8)],_0x52bfa4=new _0x46b030(_0x15e1c4),_0x30b001=new _0x46b030(_0x15e1c4);this[_0x43d647(0x1d6)](_0x43d647(0x1b9),!0x1),this[_0x43d647(0x1d6)](_0x43d647(0x1c2),!0x1),this[_0x43d647(0x1d6)](_0x43d647(0x1c1),0x0),this[_0x43d647(0x1d6)](_0x43d647(0x1b6),0x0),this[_0x43d647(0x1d6)](_0x43d647(0x1b1),!0x1),this[_0x43d647(0x1d6)](_0x43d647(0x1ac),!0x1),this[_0x43d647(0x1ba)](_0x43d647(0x1d2))['to'](this,_0x43d647(0x1c2),this,_0x43d647(0x1b6),(_0x524155,_0x1c70a8)=>_0x524155&&_0x1c70a8>0x0),this[_0x43d647(0x1ba)](_0x43d647(0x1b7))['to'](this,_0x43d647(0x1c2),this,_0x43d647(0x1c1),this,_0x43d647(0x1b6),this,_0x43d647(0x1b9),(_0x314ba8,_0x2a527b,_0x490441,_0x32731a)=>{const _0x33366a=_0x43d647;if(!_0x314ba8)return _0x5d1708(_0x15e1c4,_0x33366a(0x1b0));if(!_0x490441)return _0x5d1708(_0x15e1c4,_0x33366a(0x1be));const _0x2afde2=_0x5d1708(_0x15e1c4,_0x33366a(0x1c3),_0x490441);return _0x32731a?_0x5d1708(_0x15e1c4,_0x33366a(0x1b4),[_0x2a527b+0x1,_0x490441]):_0x2afde2;}),_0x52bfa4[_0x43d647(0x1d6)]({'label':_0x5d1708(_0x15e1c4,_0x43d647(0x1cd)),'tooltip':!0x0,'icon':_0x21466f}),_0x30b001[_0x43d647(0x1d6)]({'label':_0x5d1708(_0x15e1c4,_0x43d647(0x1c0)),'tooltip':!0x0,'icon':_0x2b332e}),_0x52bfa4[_0x43d647(0x1ba)](_0x43d647(0x1af))['to'](this,_0x43d647(0x1ac)),_0x30b001[_0x43d647(0x1ba)](_0x43d647(0x1af))['to'](this,_0x43d647(0x1b1)),_0x52bfa4['on'](_0x43d647(0x1d4),()=>this[_0x43d647(0x1bd)](_0x43d647(0x1d4),_0x43d647(0x1ce))),_0x30b001['on'](_0x43d647(0x1d4),()=>this[_0x43d647(0x1bd)](_0x43d647(0x1d4),_0x43d647(0x1bb))),this[_0x43d647(0x1ae)]({'tag':_0x43d647(0x1b3),'attributes':{'class':['ck',_0x43d647(0x1d5),_0x43d647(0x1c6)]},'children':[{'tag':_0x43d647(0x1d1),'attributes':{'class':[_0x43d647(0x1cf)]},'children':[{'tag':_0x43d647(0x1d1),'attributes':{'class':[_0x43d647(0x1b5),_0x560a37['if'](_0x43d647(0x1d2),_0x43d647(0x1ad),_0x2bf1c9=>!_0x2bf1c9)]},'children':[{'text':_0x560a37['to'](_0x43d647(0x1b9),_0x3d7b87=>_0x3d7b87?_0x5d1708(_0x15e1c4,_0x43d647(0x1c9))+':\x20':_0x5d1708(_0x15e1c4,_0x43d647(0x1c4))+':\x20')}]},{'text':_0x560a37['to'](_0x43d647(0x1b7))}]},new _0x31746e(),{'tag':_0x43d647(0x1b3),'attributes':{'class':[_0x43d647(0x1d0)]},'children':[_0x52bfa4,_0x30b001]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c699a=_0x50c5;(function(_0x3d0840,_0x3ac58b){const _0x5278cb=_0x50c5,_0x2c5346=_0x3d0840();while(!![]){try{const _0x704b12=-parseInt(_0x5278cb(0x104))/0x1+-parseInt(_0x5278cb(0xf2))/0x2+-parseInt(_0x5278cb(0x10f))/0x3*(parseInt(_0x5278cb(0xe8))/0x4)+-parseInt(_0x5278cb(0x106))/0x5*(parseInt(_0x5278cb(0xee))/0x6)+parseInt(_0x5278cb(0xf7))/0x7+-parseInt(_0x5278cb(0xf3))/0x8*(parseInt(_0x5278cb(0x102))/0x9)+parseInt(_0x5278cb(0xfe))/0xa;if(_0x704b12===_0x3ac58b)break;else _0x2c5346['push'](_0x2c5346['shift']());}catch(_0x12b827){_0x2c5346['push'](_0x2c5346['shift']());}}}(_0x56e2,0x45796));import{Plugin as _0x248a5e}from'ckeditor5/src/core.js';import{ButtonView as _0x519c4b}from'ckeditor5/src/ui.js';import{IconUndo as _0x119551}from'ckeditor5/src/icons.js';function _0x50c5(_0x21ef50,_0x1fef56){const _0x56e221=_0x56e2();return _0x50c5=function(_0x50c5d0,_0x53bb9c){_0x50c5d0=_0x50c5d0-0xe0;let _0x23fec7=_0x56e221[_0x50c5d0];return _0x23fec7;},_0x50c5(_0x21ef50,_0x1fef56);}import{ChangesNavigationView as _0x3a3378}from'./changesnavigationview.js';import{RevisionViewer as _0x53642d}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x40a4f9}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x3bdfe7}from'../../utils/common-translations.js';function _0x56e2(){const _0x20567a=['isForwardNavigationEnabled','editor','listenTo','isNavigationMode','12169690RiCCTF','showPreviousChange','plugins','change:isReady','108moMQco','bind','213694SMCZUM','RevisionViewerUI','2094055vAGlGE','restoreRevision','add','init','get','isPremiumPlugin','ck-revision-history-ui__back-to-editing','showNextChange','execute','34407cmNDqj','isReady','componentFactory','commands','currentChangeNumber','exitToEditing','Back\x20to\x20editing','isEnabled','set','12FhszUm','changesNavigation','revisionHistory','numberOfChanges','show','forward','6leXSCb','closeRevisionViewerCallback','hide','Restore\x20this\x20revision','539668mcpzco','207608wDjuvy','requires','config','pluginName','2210285jGPCzD','isBackwardNavigationEnabled','isOfficialPlugin'];_0x56e2=function(){return _0x20567a;};return _0x56e2();}import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x248a5e{static get[_0x4c699a(0xf6)](){const _0x1ad3b0=_0x4c699a;return _0x1ad3b0(0x105);}static get[_0x4c699a(0xf9)](){return!0x0;}static get[_0x4c699a(0x10b)](){return!0x0;}static get[_0x4c699a(0xf4)](){return[_0x53642d,_0x40a4f9];}[_0x4c699a(0x109)](){const _0x2b46f4=_0x4c699a,_0x31d8cc=this[_0x2b46f4(0xfb)],_0x59b48a=_0x31d8cc[_0x2b46f4(0x100)][_0x2b46f4(0x10a)](_0x53642d),_0x438e2c=_0x31d8cc[_0x2b46f4(0x100)][_0x2b46f4(0x10a)](_0x40a4f9);_0x31d8cc['ui'][_0x2b46f4(0xe1)][_0x2b46f4(0x108)](_0x2b46f4(0xe4),_0x41cc4e=>{const _0x20268b=_0x2b46f4,_0x3f1af9=new _0x519c4b(_0x41cc4e);return _0x3f1af9[_0x20268b(0xe7)]({'label':_0x3bdfe7(_0x41cc4e,_0x20268b(0xe5)),'icon':_0x119551,'withText':!0x0,'tooltip':!0x0,'class':_0x20268b(0x10c)}),this[_0x20268b(0xfc)](_0x3f1af9,_0x20268b(0x10e),()=>{const _0x3f7791=_0x20268b;_0x31d8cc[_0x3f7791(0xf5)][_0x3f7791(0x10a)](_0x3f7791(0xea))[_0x3f7791(0xef)]();}),_0x3f1af9;}),_0x31d8cc['ui'][_0x2b46f4(0xe1)][_0x2b46f4(0x108)](_0x2b46f4(0x107),_0xbc230d=>{const _0x526e02=_0x2b46f4,_0x101f7a=new _0x519c4b(_0xbc230d);return _0x101f7a[_0x526e02(0xe7)]({'label':_0x3bdfe7(_0xbc230d,_0x526e02(0xf1)),'withText':!0x0,'tooltip':!0x0}),_0x101f7a[_0x526e02(0x103)](_0x526e02(0xe6))['to'](_0x31d8cc[_0x526e02(0xe2)][_0x526e02(0x10a)](_0x526e02(0x107))),this[_0x526e02(0xfc)](_0x101f7a,_0x526e02(0x10e),()=>_0x31d8cc[_0x526e02(0x10e)](_0x526e02(0x107))),_0x101f7a;}),_0x31d8cc['ui'][_0x2b46f4(0xe1)][_0x2b46f4(0x108)](_0x2b46f4(0xe9),_0x41773a=>{const _0x4f4efd=_0x2b46f4,_0x3c2acd=new _0x3a3378(_0x41773a),_0x4fc7e5=_0x31d8cc[_0x4f4efd(0xe2)][_0x4f4efd(0x10a)](_0x4f4efd(0xff)),_0x510101=_0x31d8cc[_0x4f4efd(0xe2)][_0x4f4efd(0x10a)](_0x4f4efd(0x10d));return _0x3c2acd[_0x4f4efd(0x103)](_0x4f4efd(0xf8))['to'](_0x4fc7e5,_0x4f4efd(0xe6)),_0x3c2acd[_0x4f4efd(0x103)](_0x4f4efd(0xfa))['to'](_0x510101,_0x4f4efd(0xe6)),_0x3c2acd[_0x4f4efd(0x103)](_0x4f4efd(0xe0),_0x4f4efd(0xe3),_0x4f4efd(0xeb),_0x4f4efd(0xfd))['to'](_0x59b48a),this[_0x4f4efd(0xfc)](_0x3c2acd,_0x4f4efd(0x10e),(_0x3e24cb,_0x3b168b)=>{const _0x5a04af=_0x4f4efd;_0x31d8cc[_0x5a04af(0x10e)](_0x5a04af(0xed)===_0x3b168b?_0x5a04af(0x10d):_0x5a04af(0xff));}),_0x3c2acd;}),_0x438e2c[_0x2b46f4(0xec)](),_0x59b48a['on'](_0x2b46f4(0x101),(_0x252849,_0x1d78fa,_0x52ce36)=>{const _0xd93e93=_0x2b46f4;_0x52ce36?_0x438e2c[_0xd93e93(0xf0)]():_0x438e2c[_0xd93e93(0xec)]();});}}
|