@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240416.0 → 0.0.0-nightly-20240418.0
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/package.json +5 -5
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +1 -1
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.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 +1 -1
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x26bc3c=_0x3f7a;function _0x3f7a(_0x30cf8b,_0x3dad50){const _0x466cac=_0x466c();return _0x3f7a=function(_0x3f7a32,_0x30687e){_0x3f7a32=_0x3f7a32-0x1f0;let _0xbd7b1d=_0x466cac[_0x3f7a32];return _0xbd7b1d;},_0x3f7a(_0x30cf8b,_0x3dad50);}(function(_0x4f02e6,_0x262373){const _0x432828=_0x3f7a,_0x58737c=_0x4f02e6();while(!![]){try{const _0x1b50aa=parseInt(_0x432828(0x20a))/0x1+-parseInt(_0x432828(0x201))/0x2+-parseInt(_0x432828(0x1fc))/0x3+parseInt(_0x432828(0x215))/0x4*(-parseInt(_0x432828(0x219))/0x5)+-parseInt(_0x432828(0x216))/0x6+-parseInt(_0x432828(0x207))/0x7*(-parseInt(_0x432828(0x1f0))/0x8)+-parseInt(_0x432828(0x1fa))/0x9*(-parseInt(_0x432828(0x1f4))/0xa);if(_0x1b50aa===_0x262373)break;else _0x58737c['push'](_0x58737c['shift']());}catch(_0x938117){_0x58737c['push'](_0x58737c['shift']());}}}(_0x466c,0x9ef9a));import{LabeledFieldView as _0x55310d,View as _0x55750e,createLabeledInputText as _0x53cf90,injectCssTransitionDisabler as _0x27d7d0,submitHandler as _0x1c0195}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2f70fd,KeystrokeHandler as _0x713ea4}from'ckeditor5/src/utils.js';import{getTranslation as _0x3b5599}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';function _0x466c(){const _0x581820=['arrowleft','16587009TSiNVe','stopPropagation','2296455uJPHTG','keystrokes','errorText','form','render','1742424zwqkWc','input','arrowdown','label','revisionNameInputValue','element','2856917rEZUCQ','locale','revisionNameInputView','885520WOuXiF','trim','listenTo','optional','ck-revision-history-save-revision-form','fieldView','Name\x20of\x20the\x20revision','ck-responsive-form','add','reset','extendTemplate','4LFZJDx','2587728pFfCPx','arrowup','set','4128180XkzUWX','focusTracker','16aZGgWm','focus','_createRevisionNameInput','revisionName','10Xzssig','220','arrowright','setTemplate','value'];_0x466c=function(){return _0x581820;};return _0x466c();}export default class ns extends _0x55750e{constructor(_0x447085,_0x2f2a7e){const _0x40fc0f=_0x3f7a;super(_0x447085),this[_0x40fc0f(0x21a)]=new _0x2f70fd(),this[_0x40fc0f(0x1fd)]=new _0x713ea4(),this[_0x40fc0f(0x218)](_0x40fc0f(0x205),''),this[_0x40fc0f(0x209)]=this[_0x40fc0f(0x1f2)](_0x2f2a7e),this[_0x40fc0f(0x1f7)]({'tag':_0x40fc0f(0x1ff),'attributes':{'class':['ck',_0x40fc0f(0x20e),_0x40fc0f(0x211)],'tabindex':'-1'},'children':[this[_0x40fc0f(0x209)]]}),_0x27d7d0(this);}[_0x26bc3c(0x200)](){const _0x3f006f=_0x26bc3c;super[_0x3f006f(0x200)](),_0x1c0195({'view':this}),this[_0x3f006f(0x21a)][_0x3f006f(0x212)](this[_0x3f006f(0x209)][_0x3f006f(0x206)]),this[_0x3f006f(0x1fd)][_0x3f006f(0x20c)](this[_0x3f006f(0x206)]);const _0x2e3251=_0x3c7d6e=>_0x3c7d6e[_0x3f006f(0x1fb)]();this[_0x3f006f(0x1fd)][_0x3f006f(0x218)](_0x3f006f(0x1f6),_0x2e3251),this[_0x3f006f(0x1fd)][_0x3f006f(0x218)](_0x3f006f(0x1f9),_0x2e3251),this[_0x3f006f(0x1fd)][_0x3f006f(0x218)](_0x3f006f(0x217),_0x2e3251),this[_0x3f006f(0x1fd)][_0x3f006f(0x218)](_0x3f006f(0x203),_0x2e3251);}[_0x26bc3c(0x1f1)](){const _0x5cb895=_0x26bc3c;this[_0x5cb895(0x209)][_0x5cb895(0x1f1)]();}get[_0x26bc3c(0x1f3)](){const _0x1cdac2=_0x26bc3c;return this[_0x1cdac2(0x209)][_0x1cdac2(0x20f)][_0x1cdac2(0x206)][_0x1cdac2(0x1f8)][_0x1cdac2(0x20b)]();}set[_0x26bc3c(0x1f3)](_0x15bf7e){const _0x105d9b=_0x26bc3c;this[_0x105d9b(0x209)][_0x105d9b(0x20f)][_0x105d9b(0x206)][_0x105d9b(0x1f8)]=_0x15bf7e[_0x105d9b(0x20b)]();}[_0x26bc3c(0x213)](){const _0x48dcc7=_0x26bc3c;this[_0x48dcc7(0x209)][_0x48dcc7(0x20f)][_0x48dcc7(0x206)][_0x48dcc7(0x1f8)]='',this[_0x48dcc7(0x209)][_0x48dcc7(0x1fe)]=null;}[_0x26bc3c(0x1f2)](_0x5cf28b){const _0x27ce7c=_0x26bc3c,_0x1c8a18=new _0x55310d(this[_0x27ce7c(0x208)],_0x53cf90),_0x55100f=_0x1c8a18[_0x27ce7c(0x20f)];_0x55100f[_0x27ce7c(0x214)]({'attributes':{'maxlength':_0x27ce7c(0x1f5)}});let _0x1d0e93=_0x3b5599(this[_0x27ce7c(0x208)],_0x27ce7c(0x210));return!_0x5cf28b&&(_0x1d0e93+='\x20('+_0x3b5599(this[_0x27ce7c(0x208)],_0x27ce7c(0x20d))+')'),(_0x1c8a18[_0x27ce7c(0x204)]=_0x1d0e93,_0x55100f['on'](_0x27ce7c(0x202),()=>{const _0x3a118a=_0x27ce7c;this[_0x3a118a(0x205)]=_0x55100f[_0x3a118a(0x206)][_0x3a118a(0x1f8)][_0x3a118a(0x20b)]();}),_0x1c8a18);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x5ed9fe,icons as _0x1ed7f1}from'ckeditor5/src/core.js';import{createDropdown as _0x40e3e8,ButtonView as _0xf18c31,ListItemView as _0x2c4ae0,ListView as te,MenuBarMenuListItemButtonView as _0x229be4,MenuBarMenuListItemView as _0x347159,MenuBarMenuListView as _0x4a9317,MenuBarMenuView as _0x26772e}from'ckeditor5/src/ui.js';import _0x45bb15 from'../../revisiontracker.js';import _0x28cb75 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x23f072}from'../../utils/common-translations.js';export default class u extends _0x5ed9fe{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[_0x45bb15];}['init'](){const _0x3b8847=this['editor'],_0x32e8fc=_0x3b8847['plugins']['get']('RevisionTracker');_0x3b8847['ui']['componentFactory']['add']('revisionHistory',_0x1c694a=>{const _0x5b9037=_0x40e3e8(_0x1c694a),_0x23b600=_0x5b9037['panelView']['children'],_0x119333=new te(_0x1c694a),_0x21167e=new _0x2c4ae0(_0x1c694a),_0x20fa77=new _0xf18c31(_0x1c694a),_0x576adb=new _0x2c4ae0(_0x1c694a),_0x4dc42f=new _0xf18c31(_0x1c694a);return _0x5b9037['bind']('isEnabled')['to'](_0x32e8fc,'isReady',_0x32e8fc,'isEnabled',_0x3b8847,'isReadOnly',(_0x4e8452,_0xb6431f,_0x4466ab)=>_0x4e8452&&_0xb6431f&&!_0x4466ab),_0x5b9037['buttonView']['set']({'icon':_0x1ed7f1['history'],'label':_0x23f072(_0x1c694a,'Revision\x20history'),'tooltip':!0x0}),_0x20fa77['set']({'label':_0x23f072(_0x1c694a,'Save\x20current\x20revision'),'withText':!0x0}),_0x20fa77['bind']('isEnabled')['to'](_0x32e8fc,'isReady',_0x32e8fc,'isEnabled',_0x3b8847,'isReadOnly',(_0x5c9580,_0x748ad4,_0x3724e9)=>_0x5c9580&&_0x748ad4&&!_0x3724e9),_0x20fa77['on']('execute',()=>this['_showDialog']()),_0x4dc42f['set']({'label':_0x23f072(_0x1c694a,'Open\x20revision\x20history'),'withText':!0x0}),_0x4dc42f['bind']('isEnabled')['to'](_0x32e8fc,'isReady',_0x3b8847,'isReadOnly',(_0x2b8df8,_0x5d117d)=>_0x2b8df8&&!_0x5d117d),_0x4dc42f['on']('execute',()=>{_0x3b8847['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x5b9037['isOpen']=!0x1,_0x3b8847['editing']['view']['focus']();}),_0x21167e['children']['add'](_0x20fa77),_0x576adb['children']['add'](_0x4dc42f),_0x119333['items']['addMany']([_0x21167e,_0x576adb]),_0x23b600['add'](_0x119333),_0x5b9037;}),_0x3b8847['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x53ffd4=this['editor'],_0x4f7227=_0x53ffd4['locale'],_0x270d37=new _0x26772e(_0x4f7227),_0x453a91=new _0x4a9317(_0x4f7227);_0x270d37['buttonView']['set']({'icon':_0x1ed7f1['history'],'label':_0x23f072(_0x4f7227,'Revision\x20history')});const _0xab9518=new _0x347159(_0x4f7227,_0x270d37),_0x17ede6=new _0x229be4(_0x4f7227);_0x17ede6['set']({'label':_0x23f072(_0x4f7227,'Save\x20current\x20revision')}),_0x17ede6['delegate']('execute')['to'](_0x270d37),_0x17ede6['on']('execute',()=>{this['_showDialog']();}),_0xab9518['children']['add'](_0x17ede6),_0x453a91['items']['add'](_0xab9518);const _0x2c583a=new _0x347159(_0x4f7227,_0x270d37),_0x39ae30=new _0x229be4(_0x4f7227);return _0x39ae30['set']({'label':_0x23f072(_0x4f7227,'Open\x20revision\x20history')}),_0x39ae30['delegate']('execute')['to'](_0x270d37),_0x39ae30['on']('execute',()=>{_0x53ffd4['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2c583a['children']['add'](_0x39ae30),_0x453a91['items']['add'](_0x2c583a),_0x270d37['panelView']['children']['add'](_0x453a91),_0x270d37;}['_showDialog'](){const _0x39197b=this['editor'],_0x464721=_0x39197b['locale'],t=_0x464721['t'],_0x561e5a=_0x39197b['plugins']['get']('Dialog'),_0x27ee98=_0x39197b['plugins']['get']('RevisionTracker');function _0xca551f(_0x311723){_0x39197b['config']['get']('revisionHistory.requireRevisionName')&&''===_0x311723['revisionName']?_0x311723['revisionNameInputView']['errorText']=_0x23f072(_0x464721,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x39197b['plugins']['get'](_0x45bb15)['saveRevision']({'name':_0x311723['revisionName']}),_0x561e5a['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0xca551f(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x561e5a['show']({'id':'findAndReplace','title':_0x23f072(_0x464721,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x561e5a['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x10dd8d){_0x10dd8d['bind']('isEnabled')['to'](_0x27ee98,'isReady',_0x27ee98,'isEnabled',_0x39197b,'isReadOnly',(_0x59161a,_0x1287bb,_0x479623)=>_0x59161a&&_0x1287bb&&!_0x479623);},'onExecute':()=>_0xca551f(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x364220=this['editor'],_0x3154b4=_0x364220['locale'];this['_saveRevisionFormView']=new _0x28cb75(_0x3154b4,_0x364220['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2664bd=_0x442a;(function(_0x169e20,_0x63d766){const _0x2de9bd=_0x442a,_0x1e176f=_0x169e20();while(!![]){try{const _0xa7fe15=-parseInt(_0x2de9bd(0x99))/0x1*(-parseInt(_0x2de9bd(0xa6))/0x2)+parseInt(_0x2de9bd(0xca))/0x3+-parseInt(_0x2de9bd(0xcb))/0x4+parseInt(_0x2de9bd(0xdd))/0x5*(parseInt(_0x2de9bd(0xb3))/0x6)+-parseInt(_0x2de9bd(0xb6))/0x7+-parseInt(_0x2de9bd(0xde))/0x8+parseInt(_0x2de9bd(0xa4))/0x9*(parseInt(_0x2de9bd(0xe0))/0xa);if(_0xa7fe15===_0x63d766)break;else _0x1e176f['push'](_0x1e176f['shift']());}catch(_0x4c761c){_0x1e176f['push'](_0x1e176f['shift']());}}}(_0x4f1d,0x7148f));function _0x442a(_0x367f55,_0x86e90f){const _0x4f1d29=_0x4f1d();return _0x442a=function(_0x442aec,_0x54c09d){_0x442aec=_0x442aec-0x97;let _0x2030e3=_0x4f1d29[_0x442aec];return _0x2030e3;},_0x442a(_0x367f55,_0x86e90f);}import{Plugin as _0x20da6b}from'ckeditor5/src/core.js';function _0x4f1d(){const _0x1b76d9=['requires','isVisible','Restore\x20this\x20revision','compareAgainstSelected','repository','1269792ThARnt','1937712ZoYhDM','get','pluginName','_revisionsRepository','action','highlightRevisions','nameRevision','select','bind','init','diff','plugins','_handleRevisionSetName','editor','setName','appendChild','ready','revisionSelected','35hRbGsw','7193208gDlTKd','getEarlierVisibleRevision','12699730iWiBIG','listenTo','defaultRevisionActions','_revisionViewer','isSelected','getRevision','fieldView','length','newRevisionId','getIndex','9617dlGgTc','string','remove','element','_handleEditorDataReady','map','render','_revisions','getRevisionsInDiff','change:diff','revisionHistory.viewerSidebarContainer','9TqKtNU','config','22hRdPHS','selectRevision','compare','getLaterVisibleRevision','restoreRevision','focus','destroy','_createRevisionActions','assign','_handleRevisionSelected','name','revisionHistory','isEnabled','761226necOYS','_sidebarView','revisionHistory.requireRevisionName','5876689TbqTzG','data','add','locale','isReady','timePeriodViews','availableRevisionActions','revisionSetName','RevisionsSidebar','restoreRevisionCallback','_handleDiffChange','Name\x20this\x20revision','revisionHistory.revisionActions','revisionViews','Compare\x20against\x20selected'];_0x4f1d=function(){return _0x1b76d9;};return _0x4f1d();}import _0x380f75 from'./revisionssidebarview.js';import _0x210061 from'../../revisionviewer.js';export default class w extends _0x20da6b{static get[_0x2664bd(0xcd)](){const _0x17c8fd=_0x2664bd;return _0x17c8fd(0xbe);}static get[_0x2664bd(0xc5)](){return[_0x210061];}constructor(_0x4c4acf){const _0x52b1e8=_0x2664bd;super(_0x4c4acf),this[_0x52b1e8(0xe3)]=_0x4c4acf[_0x52b1e8(0xd6)][_0x52b1e8(0xcc)](_0x210061),this[_0x52b1e8(0xce)]=this[_0x52b1e8(0xe3)][_0x52b1e8(0xc9)],this[_0x52b1e8(0xb4)]=null;}[_0x2664bd(0xd4)](){const _0x1e9b97=_0x2664bd,_0x2e146d=this[_0x1e9b97(0xce)][_0x1e9b97(0xa0)],_0x1a18a3=this[_0x1e9b97(0xad)](),_0x2dbc3b=this[_0x1e9b97(0xd8)][_0x1e9b97(0xa5)][_0x1e9b97(0xcc)](_0x1e9b97(0xa3));this[_0x1e9b97(0xb4)]=new _0x380f75(this[_0x1e9b97(0xd8)][_0x1e9b97(0xb9)],_0x2e146d,_0x1a18a3,this[_0x1e9b97(0xd8)][_0x1e9b97(0xa5)][_0x1e9b97(0xcc)](_0x1e9b97(0xb5))),this[_0x1e9b97(0xb4)]['on'](_0x1e9b97(0xdc),this[_0x1e9b97(0xaf)][_0x1e9b97(0xd3)](this)),this[_0x1e9b97(0xb4)]['on'](_0x1e9b97(0xbd),this[_0x1e9b97(0xd7)][_0x1e9b97(0xd3)](this)),this[_0x1e9b97(0xb4)][_0x1e9b97(0xd3)](_0x1e9b97(0xb2))['to'](this[_0x1e9b97(0xe3)]),this[_0x1e9b97(0xb4)][_0x1e9b97(0xbb)]['on'](_0x1e9b97(0xb8),(_0x2c0d5e,_0x1ca230)=>{const _0x362866=_0x1e9b97;_0x1ca230[_0x362866(0xc3)]['on'](_0x362866(0xb8),(_0x51ac6f,_0x506b29)=>{const _0xc3ba15=_0x362866;_0x506b29[_0xc3ba15(0xd3)](_0xc3ba15(0xb2),_0xc3ba15(0xba))['to'](this[_0xc3ba15(0xe3)]);});}),this[_0x1e9b97(0xb4)][_0x1e9b97(0x9f)](),this[_0x1e9b97(0xe1)](this[_0x1e9b97(0xd8)][_0x1e9b97(0xb7)],_0x1e9b97(0xdb),this[_0x1e9b97(0x9d)][_0x1e9b97(0xd3)](this)),this[_0x1e9b97(0xe1)](this[_0x1e9b97(0xe3)],_0x1e9b97(0xa2),this[_0x1e9b97(0xc0)][_0x1e9b97(0xd3)](this)),_0x2dbc3b[_0x1e9b97(0xda)](this[_0x1e9b97(0xb4)][_0x1e9b97(0x9c)]);}[_0x2664bd(0xac)](){const _0x369fa0=_0x2664bd;this[_0x369fa0(0xb4)][_0x369fa0(0x9c)][_0x369fa0(0x9b)](),this[_0x369fa0(0xb4)][_0x369fa0(0xac)]();}[_0x2664bd(0x9d)](){const _0x2cd209=_0x2664bd,_0x20e817=this[_0x2cd209(0xce)][_0x2cd209(0xe5)](0x0);if(_0x20e817){const _0x471fdf=this[_0x2cd209(0xce)][_0x2cd209(0xdf)](_0x20e817['id']);this[_0x2cd209(0xe3)][_0x2cd209(0xa8)](_0x20e817,_0x471fdf);}}[_0x2664bd(0xaf)](_0x172695,_0x4e9b2c){const _0x4a2e7b=_0x2664bd,_0x4e0991=this[_0x4a2e7b(0xce)][_0x4a2e7b(0xe5)](_0x4e9b2c['id']),_0x595fbd=this[_0x4a2e7b(0xce)][_0x4a2e7b(0xdf)](_0x4e0991['id']);this[_0x4a2e7b(0xe3)][_0x4a2e7b(0xa8)](_0x4e0991,_0x595fbd);}[_0x2664bd(0xd7)](_0x427964,_0x174e7b){const _0x240220=_0x2664bd;this[_0x240220(0xce)][_0x240220(0xe5)](_0x174e7b['id'])[_0x240220(0xd9)](_0x174e7b[_0x240220(0xb0)]);}[_0x2664bd(0xc0)](_0x557008,_0x144841,_0x1da5c4){const _0xe9f0ff=_0x2664bd,_0x453d69=this[_0xe9f0ff(0xce)][_0xe9f0ff(0xa1)](_0x1da5c4);_0x453d69[_0xe9f0ff(0xe7)]>0x2?(this[_0xe9f0ff(0xb4)][_0xe9f0ff(0xd0)](_0x453d69),this[_0xe9f0ff(0xb4)][_0xe9f0ff(0xa7)](null)):(this[_0xe9f0ff(0xb4)][_0xe9f0ff(0xd0)]([]),this[_0xe9f0ff(0xb4)][_0xe9f0ff(0xa7)](_0x453d69[0x0]));}[_0x2664bd(0xad)](){const _0x169c50=_0x2664bd,_0x1be970=this[_0x169c50(0xd8)],_0x3c45a8=w[_0x169c50(0xbc)],_0x5d5af0=_0x1be970[_0x169c50(0xa5)][_0x169c50(0xcc)](_0x169c50(0xc2))||w[_0x169c50(0xe2)];if(_0x5d5af0[_0x169c50(0xe7)])return _0x5d5af0[_0x169c50(0x9e)](_0x202719=>{const _0x42ad50=_0x169c50,_0x6c39ec=_0x42ad50(0x9a)==typeof _0x202719?Object[_0x42ad50(0xae)]({},_0x3c45a8[_0x202719]):_0x202719;return _0x6c39ec[_0x42ad50(0xcf)]=_0x6c39ec[_0x42ad50(0xcf)][_0x42ad50(0xd3)](this,_0x1be970),_0x6c39ec[_0x42ad50(0xc6)]&&(_0x6c39ec[_0x42ad50(0xc6)]=_0x6c39ec[_0x42ad50(0xc6)][_0x42ad50(0xd3)](this,_0x1be970)),_0x6c39ec;});}}w[_0x2664bd(0xbc)]={'compareAgainstSelected':{'name':_0x2664bd(0xc4),'action':({plugins:_0x4374e0},_0x567b8d)=>{const _0x1a4ff5=_0x2664bd,_0x528e87=_0x4374e0[_0x1a4ff5(0xcc)](_0x210061),_0x7bc51e=_0x528e87[_0x1a4ff5(0xc9)];let _0x1564dd=_0x528e87[_0x1a4ff5(0xd5)][_0x1a4ff5(0x97)],_0x39c7c4=_0x567b8d['id'];_0x7bc51e[_0x1a4ff5(0x98)](_0x1564dd)>_0x7bc51e[_0x1a4ff5(0x98)](_0x39c7c4)&&([_0x1564dd,_0x39c7c4]=[_0x39c7c4,_0x1564dd]),_0x528e87[_0x1a4ff5(0xa8)](_0x1564dd,_0x39c7c4);},'isVisible':({plugins:_0x311234},_0x549a9b)=>{const _0x2c8a46=_0x2664bd,_0x23addd=_0x311234[_0x2c8a46(0xcc)](_0x210061);return!(_0x23addd[_0x2c8a46(0xc9)][_0x2c8a46(0xa1)](_0x23addd[_0x2c8a46(0xd5)])[_0x2c8a46(0xe7)]>0x2)&&!_0x549a9b[_0x2c8a46(0xe4)];}},'restoreRevision':{'name':_0x2664bd(0xc7),'action':(_0x25e111,{id:_0x1f9829})=>{const _0x5b6be4=_0x2664bd;_0x25e111[_0x5b6be4(0xa5)][_0x5b6be4(0xcc)](_0x5b6be4(0xb1))[_0x5b6be4(0xbf)](_0x1f9829);},'isVisible':({plugins:_0x1647d3},_0x4f8ae6)=>!!_0x1647d3[_0x2664bd(0xcc)](_0x210061)[_0x2664bd(0xc9)][_0x2664bd(0xa9)](_0x4f8ae6['id'])},'nameRevision':{'name':_0x2664bd(0xc1),'action':({plugins:_0x5d73e6},{id:_0x1004aa,revisionNameView:_0x4d7969})=>{const _0x50f403=_0x2664bd,_0x35bdd9=_0x5d73e6[_0x50f403(0xcc)](_0x210061),_0x1160f3=_0x35bdd9[_0x50f403(0xc9)][_0x50f403(0xdf)](_0x1004aa);_0x35bdd9[_0x50f403(0xa8)](_0x1004aa,_0x1160f3),_0x4d7969[_0x50f403(0xab)](),_0x4d7969[_0x50f403(0xe6)][_0x50f403(0xd2)]();}}},w[_0x2664bd(0xe2)]=[_0x2664bd(0xc8),_0x2664bd(0xaa),_0x2664bd(0xd1)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x170218,_0x56fe87){const _0x62cc80=_0x1d5a,_0x119c3c=_0x170218();while(!![]){try{const _0x5d9b7d=-parseInt(_0x62cc80(0x19e))/0x1*(parseInt(_0x62cc80(0x199))/0x2)+-parseInt(_0x62cc80(0x19c))/0x3*(-parseInt(_0x62cc80(0x1a0))/0x4)+-parseInt(_0x62cc80(0x196))/0x5*(-parseInt(_0x62cc80(0x19b))/0x6)+parseInt(_0x62cc80(0x191))/0x7*(parseInt(_0x62cc80(0x18d))/0x8)+-parseInt(_0x62cc80(0x18e))/0x9+-parseInt(_0x62cc80(0x19f))/0xa+parseInt(_0x62cc80(0x18f))/0xb*(parseInt(_0x62cc80(0x192))/0xc);if(_0x5d9b7d===_0x56fe87)break;else _0x119c3c['push'](_0x119c3c['shift']());}catch(_0x55753d){_0x119c3c['push'](_0x119c3c['shift']());}}}(_0x26f5,0xd27d7));import{View as _0xaa5666,IconView as _0x2a968b}from'ckeditor5/src/ui.js';import{getTranslation as _0x443e7f}from'../../utils/common-translations.js';function _0x26f5(){const _0x4a7591=['ck-reset_all','setTemplate','392698FVQaPu','history','91236RGuIqL','7083FGNaEC','Revision\x20history','6EbCYVS','4811890bXPXGn','1680pBWlKN','div','19608BmjKxJ','14499486enlVgf','11OyAeQI','content','4102RULYIe','16440792AixrpI','ck-revision-history-sidebar__header','ck-revision-history-sidebar__header__label','span','110toPuTo'];_0x26f5=function(){return _0x4a7591;};return _0x26f5();}function _0x1d5a(_0x597f44,_0x548d56){const _0x26f55d=_0x26f5();return _0x1d5a=function(_0x1d5a41,_0x2118ce){_0x1d5a41=_0x1d5a41-0x18c;let _0x336dea=_0x26f55d[_0x1d5a41];return _0x336dea;},_0x1d5a(_0x597f44,_0x548d56);}import{icons as _0x5961bd}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class as extends _0xaa5666{constructor(_0x2aaf9c){const _0x304304=_0x1d5a;super(_0x2aaf9c);const _0x33d8a3=new _0x2a968b();_0x33d8a3[_0x304304(0x190)]=_0x5961bd[_0x304304(0x19a)],this[_0x304304(0x198)]({'tag':_0x304304(0x18c),'attributes':{'class':['ck',_0x304304(0x197),_0x304304(0x193)]},'children':[_0x33d8a3,{'tag':_0x304304(0x195),'attributes':{'class':['ck',_0x304304(0x194)]},'children':[_0x443e7f(_0x2aaf9c,_0x304304(0x19d))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x30a71e=_0x31b5;function _0x31b5(_0x172fa9,_0x403053){const _0x1eea2b=_0x1eea();return _0x31b5=function(_0x31b5f5,_0x5ba6d3){_0x31b5f5=_0x31b5f5-0x166;let _0x2137d3=_0x1eea2b[_0x31b5f5];return _0x2137d3;},_0x31b5(_0x172fa9,_0x403053);}(function(_0x18fd96,_0x3ce99d){const _0x3ecb86=_0x31b5,_0x22d95f=_0x18fd96();while(!![]){try{const _0x29d075=parseInt(_0x3ecb86(0x170))/0x1+-parseInt(_0x3ecb86(0x173))/0x2+parseInt(_0x3ecb86(0x180))/0x3*(-parseInt(_0x3ecb86(0x178))/0x4)+parseInt(_0x3ecb86(0x17a))/0x5+parseInt(_0x3ecb86(0x172))/0x6+parseInt(_0x3ecb86(0x175))/0x7+parseInt(_0x3ecb86(0x16f))/0x8*(parseInt(_0x3ecb86(0x16d))/0x9);if(_0x29d075===_0x3ce99d)break;else _0x22d95f['push'](_0x22d95f['shift']());}catch(_0xfaf25a){_0x22d95f['push'](_0x22d95f['shift']());}}}(_0x1eea,0xe6698));import{View as _0x1e7a88}from'ckeditor5/src/ui.js';import _0x590824 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x3cf0a3}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';function _0x1eea(){const _0x3b5a48=['3400820EjuwVB','ck-revision-history-sidebar__time-period__label','span','ck-revision-history-sidebar__time-period','locale','add','507843ohuvUL','div','delegate','setTemplate','localizedPeriodName','select','removeRevision','_requireRevisionName','uiLanguage','createCollection','_revisionActions','setName','9HGVdhZ','revisionViews','8391576fFcOUp','743919whnFhW','startDate','479280tciSZx','2704398qJCQcO','find','2941267ZNwYKh','ck-revision-history-sidebar__time-period__revisions','remove','16AuNUqe','addRevision'];_0x1eea=function(){return _0x3b5a48;};return _0x1eea();}export default class mi extends _0x1e7a88{constructor(_0x3c9f7e,_0x47b07f,_0x5069cd,_0x350a3b){const _0x3ca99d=_0x31b5;super(_0x3c9f7e);const _0x2aad59=_0x3cf0a3(_0x47b07f,this[_0x3ca99d(0x17e)][_0x3ca99d(0x169)])[_0x3ca99d(0x184)];this[_0x3ca99d(0x171)]=_0x47b07f,this[_0x3ca99d(0x16e)]=this[_0x3ca99d(0x16a)](),this[_0x3ca99d(0x16b)]=_0x5069cd,this[_0x3ca99d(0x168)]=_0x350a3b,this[_0x3ca99d(0x16e)][_0x3ca99d(0x182)](_0x3ca99d(0x166))['to'](this),this[_0x3ca99d(0x16e)][_0x3ca99d(0x182)](_0x3ca99d(0x16c))['to'](this),this[_0x3ca99d(0x183)]({'tag':_0x3ca99d(0x181),'attributes':{'class':['ck',_0x3ca99d(0x17d)]},'children':[{'tag':_0x3ca99d(0x17c),'attributes':{'class':['ck',_0x3ca99d(0x17b)]},'children':[{'text':_0x2aad59}]},{'tag':_0x3ca99d(0x181),'attributes':{'class':['ck',_0x3ca99d(0x176)]},'children':this[_0x3ca99d(0x16e)]}]});}[_0x30a71e(0x179)](_0x4a6988){const _0x465ecb=_0x30a71e,_0x5e7a19=new _0x590824(this[_0x465ecb(0x17e)],_0x4a6988,this[_0x465ecb(0x16b)],this[_0x465ecb(0x168)]);this[_0x465ecb(0x16e)][_0x465ecb(0x17f)](_0x5e7a19);}[_0x30a71e(0x167)](_0x3cc72b){const _0x4a49e1=_0x30a71e,_0x4f9739=this[_0x4a49e1(0x16e)][_0x4a49e1(0x174)](_0x56d629=>_0x56d629['id']===_0x3cc72b['id']);this[_0x4a49e1(0x16e)][_0x4a49e1(0x177)](_0x4f9739);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x58c355=_0x1e66;(function(_0x3d10fd,_0xd94eef){const _0x420686=_0x1e66,_0x5a3bce=_0x3d10fd();while(!![]){try{const _0x3f65c3=-parseInt(_0x420686(0x148))/0x1+parseInt(_0x420686(0x145))/0x2*(parseInt(_0x420686(0x136))/0x3)+-parseInt(_0x420686(0x169))/0x4+parseInt(_0x420686(0x13e))/0x5*(parseInt(_0x420686(0x140))/0x6)+-parseInt(_0x420686(0x167))/0x7+-parseInt(_0x420686(0x165))/0x8+parseInt(_0x420686(0x15a))/0x9;if(_0x3f65c3===_0xd94eef)break;else _0x5a3bce['push'](_0x5a3bce['shift']());}catch(_0x346c00){_0x5a3bce['push'](_0x5a3bce['shift']());}}}(_0x3f34,0x24bec));function _0x3f34(){const _0x1e68e5=['revisionViews','some','setName','delegate','createdAt','ck-revision-history-sidebar','bindTemplate','find','set','_revisionActions','876192DrNLUh','remove','2070362bEluYE','unhighlight','265756EtgkoP','get','highlightRevisions','566193iaupGc','locale','createCollection','getTime','selectRevision','add','_addRevision','addRevision','644940JidcBT','revisionSetName','6pDvZkV','revisionSelected','render','div','isEnabled','2WGwPkT','select','ck-disabled','199831SRINGc','flat','ck-rounded-corners','ck-reset','_requireRevisionName','_revisions','map','_removeRevision','fire','removeRevision','deselect','highlight','timePeriodViews','startDate','ck-revision-history-sidebar__timeline','uiLanguage','_getTimePeriodViewByStartDate','setTemplate','4539141wWjRvu'];_0x3f34=function(){return _0x1e68e5;};return _0x3f34();}import{View as _0x58ea12}from'ckeditor5/src/ui.js';import _0x6ff8e2 from'./revisionssidebartimeperiodview.js';import _0x5adb7e from'./revisionssidebarheaderview.js';function _0x1e66(_0x51616c,_0x44b23d){const _0x3f3459=_0x3f34();return _0x1e66=function(_0x1e66c3,_0x2c086b){_0x1e66c3=_0x1e66c3-0x135;let _0x194df6=_0x3f3459[_0x1e66c3];return _0x194df6;},_0x1e66(_0x51616c,_0x44b23d);}import{getDateTimePeriodInfo as _0x57ffdd}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ci extends _0x58ea12{constructor(_0x4e343d,_0x697f11,_0x4706b3,_0x49e17d){const _0x2b22f5=_0x1e66;super(_0x4e343d);const _0x133420=this[_0x2b22f5(0x161)];this[_0x2b22f5(0x154)]=this[_0x2b22f5(0x138)](),this[_0x2b22f5(0x154)][_0x2b22f5(0x15e)](_0x2b22f5(0x146))['to'](this),this[_0x2b22f5(0x154)][_0x2b22f5(0x15e)](_0x2b22f5(0x15d))['to'](this),this[_0x2b22f5(0x14d)]=_0x697f11,this[_0x2b22f5(0x164)]=_0x4706b3,this[_0x2b22f5(0x14c)]=_0x49e17d,this['on'](_0x2b22f5(0x146),(_0x2f229c,_0x27e1bd)=>{const _0x4319ab=_0x2b22f5;this[_0x4319ab(0x150)](_0x4319ab(0x141),_0x27e1bd);}),this['on'](_0x2b22f5(0x15d),(_0x37c974,_0x42b52b)=>{const _0x134db3=_0x2b22f5;this[_0x134db3(0x150)](_0x134db3(0x13f),_0x42b52b);}),this[_0x2b22f5(0x163)](_0x2b22f5(0x144),!0x1),this[_0x2b22f5(0x159)]({'tag':_0x2b22f5(0x143),'attributes':{'class':['ck',_0x2b22f5(0x14b),_0x2b22f5(0x14a),_0x2b22f5(0x160)]},'children':[new _0x5adb7e(_0x4e343d),{'tag':_0x2b22f5(0x143),'attributes':{'class':['ck',_0x2b22f5(0x156),_0x133420['if'](_0x2b22f5(0x144),_0x2b22f5(0x147),_0x441a2d=>!_0x441a2d)]},'children':this[_0x2b22f5(0x154)]}]});}[_0x58c355(0x142)](){const _0x3a24c8=_0x58c355;super[_0x3a24c8(0x142)]();for(const _0x1ae375 of this[_0x3a24c8(0x14d)])this[_0x3a24c8(0x13c)](_0x1ae375);this[_0x3a24c8(0x14d)]['on'](_0x3a24c8(0x13b),(_0xe3e3d,_0x24fee2)=>{const _0x1e9029=_0x3a24c8;this[_0x1e9029(0x13c)](_0x24fee2);}),this[_0x3a24c8(0x14d)]['on'](_0x3a24c8(0x166),(_0x39fd8d,_0x54f224)=>{const _0x8dc11f=_0x3a24c8;this[_0x8dc11f(0x14f)](_0x54f224);});}get[_0x58c355(0x15b)](){const _0x36f2ae=_0x58c355;return this[_0x36f2ae(0x154)][_0x36f2ae(0x14e)](_0x51ba82=>_0x51ba82[_0x36f2ae(0x15b)][_0x36f2ae(0x14e)](_0x4572fe=>_0x4572fe))[_0x36f2ae(0x149)]();}[_0x58c355(0x13a)](_0x1e43c8){const _0x3ffe43=_0x58c355;for(const _0x68b42f of this[_0x3ffe43(0x15b)])_0x1e43c8&&_0x1e43c8['id']===_0x68b42f['id']?_0x68b42f[_0x3ffe43(0x146)]():_0x68b42f[_0x3ffe43(0x152)]();}[_0x58c355(0x135)](_0x238f81){const _0x3bbbab=_0x58c355;for(const _0x11f80c of this[_0x3bbbab(0x15b)])_0x238f81[_0x3bbbab(0x15c)](({id:_0x19931e})=>_0x19931e===_0x11f80c['id'])?_0x11f80c[_0x3bbbab(0x153)]():_0x11f80c[_0x3bbbab(0x168)]();}[_0x58c355(0x13c)](_0x1797a7){const _0x4d0eec=_0x58c355,_0x1961f6=_0x57ffdd(_0x1797a7[_0x4d0eec(0x15f)],this[_0x4d0eec(0x137)][_0x4d0eec(0x157)])[_0x4d0eec(0x155)];let _0x3f6fed=this[_0x4d0eec(0x154)][_0x4d0eec(0x16a)](0x0);_0x3f6fed&&_0x3f6fed[_0x4d0eec(0x155)][_0x4d0eec(0x139)]()===_0x1961f6[_0x4d0eec(0x139)]()||(_0x3f6fed=new _0x6ff8e2(this[_0x4d0eec(0x137)],_0x1961f6,this[_0x4d0eec(0x164)],this[_0x4d0eec(0x14c)]),this[_0x4d0eec(0x154)][_0x4d0eec(0x13b)](_0x3f6fed)),_0x3f6fed[_0x4d0eec(0x13d)](_0x1797a7);}[_0x58c355(0x14f)](_0x239b27){const _0xa22e08=_0x58c355,_0x1c20bc=_0x57ffdd(_0x239b27[_0xa22e08(0x15f)],this[_0xa22e08(0x137)][_0xa22e08(0x157)])[_0xa22e08(0x155)];this[_0xa22e08(0x158)](_0x1c20bc)[_0xa22e08(0x151)](_0x239b27);}[_0x58c355(0x158)](_0x32e4d6){const _0x3c4de0=_0x58c355;return this[_0x3c4de0(0x154)][_0x3c4de0(0x162)](_0x58fa2c=>_0x58fa2c[_0x3c4de0(0x155)][_0x3c4de0(0x139)]()===_0x32e4d6[_0x3c4de0(0x139)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2495b8,_0x3e0f31){const _0x13cc06=_0x1faf,_0x4a1b7c=_0x2495b8();while(!![]){try{const _0x25443d=-parseInt(_0x13cc06(0x13e))/0x1*(parseInt(_0x13cc06(0x140))/0x2)+-parseInt(_0x13cc06(0x151))/0x3+-parseInt(_0x13cc06(0x14d))/0x4*(-parseInt(_0x13cc06(0x144))/0x5)+parseInt(_0x13cc06(0x148))/0x6*(-parseInt(_0x13cc06(0x146))/0x7)+-parseInt(_0x13cc06(0x143))/0x8*(-parseInt(_0x13cc06(0x14e))/0x9)+-parseInt(_0x13cc06(0x142))/0xa+parseInt(_0x13cc06(0x150))/0xb;if(_0x25443d===_0x3e0f31)break;else _0x4a1b7c['push'](_0x4a1b7c['shift']());}catch(_0x2fc130){_0x4a1b7c['push'](_0x4a1b7c['shift']());}}}(_0x2322,0x64168));import{DateTime as _0x3221e0}from'luxon';function _0x1faf(_0x5e93de,_0x5eb31b){const _0x232232=_0x2322();return _0x1faf=function(_0x1fafd8,_0x5358ff){_0x1fafd8=_0x1fafd8-0x139;let _0x516c80=_0x232232[_0x1fafd8];return _0x516c80;},_0x1faf(_0x5e93de,_0x5eb31b);}export function getDateTimePeriodInfo(_0x269e02,_0x2d55d5){const _0x280d47=_0x1faf,_0x5865b1=_0x3221e0[_0x280d47(0x145)](_0x269e02)[_0x280d47(0x14c)](_0x2d55d5),_0x49b482=_0x3221e0[_0x280d47(0x13b)](),_0x51bb5a=_0x49b482[_0x280d47(0x14b)]({'days':0x1})[_0x280d47(0x149)](_0x280d47(0x141));let _0x5f3714,_0x5836bf;return _0x5865b1[_0x280d47(0x14f)](_0x49b482,_0x280d47(0x141))?(_0x5f3714=_0x5865b1[_0x280d47(0x149)](_0x280d47(0x141))[_0x280d47(0x13d)](),_0x5836bf=_0x5865b1[_0x280d47(0x13c)]()):_0x5865b1[_0x280d47(0x14f)](_0x51bb5a,_0x280d47(0x141))?(_0x5f3714=_0x51bb5a[_0x280d47(0x13d)](),_0x5836bf=_0x5865b1[_0x280d47(0x13c)]()):_0x5865b1[_0x280d47(0x14f)](_0x49b482,_0x280d47(0x13a))?(_0x5f3714=_0x5865b1[_0x280d47(0x149)](_0x280d47(0x13a))[_0x280d47(0x13d)](),_0x5836bf=_0x5865b1[_0x280d47(0x13f)]||''):_0x5865b1[_0x280d47(0x14f)](_0x49b482,_0x280d47(0x139))?(_0x5f3714=_0x5865b1[_0x280d47(0x149)](_0x280d47(0x14a))[_0x280d47(0x13d)](),_0x5836bf=_0x5865b1[_0x280d47(0x147)]||''):(_0x5f3714=_0x5865b1[_0x280d47(0x149)](_0x280d47(0x139))[_0x280d47(0x13d)](),_0x5836bf=String(_0x5865b1[_0x280d47(0x139)])),{'startDate':_0x5f3714,'localizedPeriodName':_0x5836bf};}function _0x2322(){const _0x124d6b=['week','local','toRelativeCalendar','toJSDate','73132hOqXxn','weekdayLong','12VSCDYY','day','251990OKYumi','316152DyLseC','190555sRjNrr','fromJSDate','720979yZgOZK','monthLong','36Zcyxhz','startOf','month','minus','setLocale','4EdQDHQ','63dDhnuo','hasSame','14491763ohXiFb','420732bgOpTE','year'];_0x2322=function(){return _0x124d6b;};return _0x2322();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x31dee9=_0x552c;(function(_0x4d77ed,_0x449945){const _0x4e8f3d=_0x552c,_0x5e1b82=_0x4d77ed();while(!![]){try{const _0x45382b=-parseInt(_0x4e8f3d(0x14b))/0x1+-parseInt(_0x4e8f3d(0x15b))/0x2+-parseInt(_0x4e8f3d(0x142))/0x3*(-parseInt(_0x4e8f3d(0x14c))/0x4)+-parseInt(_0x4e8f3d(0x13f))/0x5+parseInt(_0x4e8f3d(0x159))/0x6+parseInt(_0x4e8f3d(0x155))/0x7*(-parseInt(_0x4e8f3d(0x147))/0x8)+-parseInt(_0x4e8f3d(0x13e))/0x9*(-parseInt(_0x4e8f3d(0x158))/0xa);if(_0x45382b===_0x449945)break;else _0x5e1b82['push'](_0x5e1b82['shift']());}catch(_0x2f3204){_0x5e1b82['push'](_0x5e1b82['shift']());}}}(_0x6d36,0x876d9));import{View as _0x1519fe}from'ckeditor5/src/ui.js';import{getTranslation as _0x4a0c45}from'../../utils/common-translations.js';function _0x552c(_0x50e5f6,_0x18da87){const _0x6d3670=_0x6d36();return _0x552c=function(_0x552cc4,_0x3e5acd){_0x552cc4=_0x552cc4-0x13d;let _0x27f55e=_0x6d3670[_0x552cc4];return _0x27f55e;},_0x552c(_0x50e5f6,_0x18da87);}export default class Z extends _0x1519fe{constructor(_0x5e4794,_0x56d4a3){const _0x12c96f=_0x552c;super(_0x5e4794),this[_0x12c96f(0x143)]=_0x56d4a3,this[_0x12c96f(0x144)]=_0x56d4a3['id'];const _0x343f99=this[_0x12c96f(0x149)],_0x421895=_0x4a0c45(_0x5e4794,_0x56d4a3[_0x12c96f(0x13d)][_0x12c96f(0x141)]?_0x12c96f(0x153):_0x12c96f(0x14e)==_0x56d4a3[_0x12c96f(0x15c)]?_0x12c96f(0x146):_0x12c96f(0x140));this[_0x12c96f(0x14d)](_0x12c96f(0x15c),_0x56d4a3[_0x12c96f(0x15c)]),this[_0x12c96f(0x14a)]({'tag':_0x12c96f(0x151),'attributes':{'class':[_0x12c96f(0x148),_0x12c96f(0x145),_0x343f99['to'](_0x12c96f(0x15c),_0x410217=>_0x12c96f(0x154)+_0x410217)],'tabindex':-0x1},'children':[{'tag':_0x12c96f(0x14f),'children':[{'tag':_0x12c96f(0x14f),'attributes':{'class':[_0x12c96f(0x157)]},'children':[{'text':_0x421895}]},{'text':'\x20'+_0x56d4a3[_0x12c96f(0x152)][_0x12c96f(0x15a)]}]}]});}[_0x31dee9(0x150)](){const _0x39be90=_0x31dee9;this[_0x39be90(0x156)][_0x39be90(0x150)]();}}function _0x6d36(){const _0x5a6542=['Added\x20by','712632YhCzBH','ck-annotation','bindTemplate','setTemplate','844512abkEfv','737428ZnLeel','set','add','span','focus','div','author','Suggested\x20by','ck-revision-change__','84GdHzgt','element','ck-revision-change__label','11230HFoYiJ','1676946NKyNCr','name','1849210zQYEDl','type','data','28827WLnhbJ','3340195mYVGVY','Removed\x20by','isSuggestion','3pRViGH','_model','changeId','ck-revision-change'];_0x6d36=function(){return _0x5a6542;};return _0x6d36();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xe7a3(){const _0x451d38=['882035JELEtp','9266880hbdCDD','bindTemplate','Show\x20previous\x20change','105avLYrZ','isReady','151516ncKwoC','_isStatusLabelVisible','Loading...','ck-revision-history-ui__changes-navigation__wrapper','numberOfChanges','Total','fire','execute','6cMKnGm','7821849gpzqhd','X_OF_Y_CHANGES','7106155KPPAjW','set','_statusText','ck-revision-history-ui__changes-navigation__label','isEnabled','NUMBER_OF_CHANGES','backward','ck-revision-history-ui','ck-revision-history-ui__changes-navigation','isBackwardNavigationEnabled','ck-revision-history-ui__changes-navigation__navigation','setTemplate','isForwardNavigationEnabled','EDIT_X_OF_Y_REVISIONS','span','No\x20changes','1555684KlxOwd','currentChangeNumber','Show\x20next\x20change','9SavXIq','isNavigationMode','forward','10683064XITlfC','ck-hidden','div','bind'];_0xe7a3=function(){return _0x451d38;};return _0xe7a3();}(function(_0x4df727,_0x450a6c){const _0x23c564=_0x4966,_0xb4e8a7=_0x4df727();while(!![]){try{const _0x2e357d=parseInt(_0x23c564(0x136))/0x1+-parseInt(_0x23c564(0x12c))/0x2+-parseInt(_0x23c564(0x13a))/0x3*(parseInt(_0x23c564(0x13c))/0x4)+parseInt(_0x23c564(0x11c))/0x5+-parseInt(_0x23c564(0x119))/0x6*(-parseInt(_0x23c564(0x11a))/0x7)+-parseInt(_0x23c564(0x132))/0x8*(parseInt(_0x23c564(0x12f))/0x9)+parseInt(_0x23c564(0x137))/0xa;if(_0x2e357d===_0x450a6c)break;else _0xb4e8a7['push'](_0xb4e8a7['shift']());}catch(_0x2fe733){_0xb4e8a7['push'](_0xb4e8a7['shift']());}}}(_0xe7a3,0xddc53));import{View as _0x16101a,ButtonView as _0x5eb713,ToolbarSeparatorView as _0x259270}from'ckeditor5/src/ui.js';import{getTranslation as _0x44916c}from'../../utils/common-translations.js';import _0x3c43cc from'../../../theme/icons/arrow-up.svg';import _0x605e5c from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';function _0x4966(_0x12079f,_0x5dacee){const _0xe7a3bd=_0xe7a3();return _0x4966=function(_0x4966bd,_0x22480a){_0x4966bd=_0x4966bd-0x112;let _0x24847c=_0xe7a3bd[_0x4966bd];return _0x24847c;},_0x4966(_0x12079f,_0x5dacee);}export default class _i extends _0x16101a{constructor(_0x12dba7){const _0x35ae3c=_0x4966;super(_0x12dba7);const _0x52fa1e=this[_0x35ae3c(0x138)],_0x87935b=new _0x5eb713(_0x12dba7),_0x10c474=new _0x5eb713(_0x12dba7);this[_0x35ae3c(0x11d)](_0x35ae3c(0x130),!0x1),this[_0x35ae3c(0x11d)](_0x35ae3c(0x13b),!0x1),this[_0x35ae3c(0x11d)](_0x35ae3c(0x12d),0x0),this[_0x35ae3c(0x11d)](_0x35ae3c(0x115),0x0),this[_0x35ae3c(0x11d)](_0x35ae3c(0x128),!0x1),this[_0x35ae3c(0x11d)](_0x35ae3c(0x125),!0x1),this[_0x35ae3c(0x135)](_0x35ae3c(0x112))['to'](this,_0x35ae3c(0x13b),this,_0x35ae3c(0x115),(_0x98ceae,_0x411826)=>_0x98ceae&&_0x411826>0x0),this[_0x35ae3c(0x135)](_0x35ae3c(0x11e))['to'](this,_0x35ae3c(0x13b),this,_0x35ae3c(0x12d),this,_0x35ae3c(0x115),this,_0x35ae3c(0x130),(_0x3a429e,_0x2c9834,_0x3c5c73,_0x557e27)=>{const _0x3232b4=_0x35ae3c;if(!_0x3a429e)return _0x44916c(_0x12dba7,_0x3232b4(0x113));if(!_0x3c5c73)return _0x44916c(_0x12dba7,_0x3232b4(0x12b));const _0x448cc=_0x44916c(_0x12dba7,_0x3232b4(0x121),_0x3c5c73);return _0x557e27?_0x44916c(_0x12dba7,_0x3232b4(0x11b),[_0x2c9834+0x1,_0x3c5c73]):_0x448cc;}),_0x87935b[_0x35ae3c(0x11d)]({'label':_0x44916c(_0x12dba7,_0x35ae3c(0x139)),'tooltip':!0x0,'icon':_0x3c43cc}),_0x10c474[_0x35ae3c(0x11d)]({'label':_0x44916c(_0x12dba7,_0x35ae3c(0x12e)),'tooltip':!0x0,'icon':_0x605e5c}),_0x87935b[_0x35ae3c(0x135)](_0x35ae3c(0x120))['to'](this,_0x35ae3c(0x125)),_0x10c474[_0x35ae3c(0x135)](_0x35ae3c(0x120))['to'](this,_0x35ae3c(0x128)),_0x87935b['on'](_0x35ae3c(0x118),()=>this[_0x35ae3c(0x117)](_0x35ae3c(0x118),_0x35ae3c(0x122))),_0x10c474['on'](_0x35ae3c(0x118),()=>this[_0x35ae3c(0x117)](_0x35ae3c(0x118),_0x35ae3c(0x131))),this[_0x35ae3c(0x127)]({'tag':_0x35ae3c(0x134),'attributes':{'class':['ck',_0x35ae3c(0x123),_0x35ae3c(0x124)]},'children':[{'tag':_0x35ae3c(0x12a),'attributes':{'class':[_0x35ae3c(0x114)]},'children':[{'tag':_0x35ae3c(0x12a),'attributes':{'class':[_0x35ae3c(0x11f),_0x52fa1e['if'](_0x35ae3c(0x112),_0x35ae3c(0x133),_0x1b4d50=>!_0x1b4d50)]},'children':[{'text':_0x52fa1e['to'](_0x35ae3c(0x130),_0x1123a6=>_0x1123a6?_0x44916c(_0x12dba7,_0x35ae3c(0x129))+':\x20':_0x44916c(_0x12dba7,_0x35ae3c(0x116))+':\x20')}]},{'text':_0x52fa1e['to'](_0x35ae3c(0x11e))}]},new _0x259270(),{'tag':_0x35ae3c(0x134),'attributes':{'class':[_0x35ae3c(0x126)]},'children':[_0x87935b,_0x10c474]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x570713=_0x3a19;(function(_0x177338,_0x34b475){const _0x1d034f=_0x3a19,_0x483337=_0x177338();while(!![]){try{const _0x2a6f0b=-parseInt(_0x1d034f(0xe0))/0x1+-parseInt(_0x1d034f(0xd8))/0x2+-parseInt(_0x1d034f(0xd4))/0x3+parseInt(_0x1d034f(0xdf))/0x4*(-parseInt(_0x1d034f(0xda))/0x5)+-parseInt(_0x1d034f(0xdc))/0x6+parseInt(_0x1d034f(0xe3))/0x7+-parseInt(_0x1d034f(0xd9))/0x8*(-parseInt(_0x1d034f(0xd7))/0x9);if(_0x2a6f0b===_0x34b475)break;else _0x483337['push'](_0x483337['shift']());}catch(_0x2c9010){_0x483337['push'](_0x483337['shift']());}}}(_0x3e47,0xf3206));import{Plugin as _0x1fcace}from'ckeditor5/src/core.js';function _0x3a19(_0xac4034,_0x9fd28d){const _0x3e4760=_0x3e47();return _0x3a19=function(_0x3a1924,_0x55127d){_0x3a1924=_0x3a1924-0xd0;let _0x59c61f=_0x3e4760[_0x3a1924];return _0x59c61f;},_0x3a19(_0xac4034,_0x9fd28d);}const ce=_0x570713(0xd1);import'../../../theme/revisionviewerloadingoverlay.css';export default class de extends _0x1fcace{static get[_0x570713(0xd5)](){const _0x33c26c=_0x570713;return _0x33c26c(0xd3);}[_0x570713(0xdb)](){const _0x39d131=_0x570713,_0xb1bd83=this[_0x39d131(0xe5)][_0x39d131(0xde)][_0x39d131(0xd6)];_0xb1bd83[_0x39d131(0xd0)](_0x1444b3=>{const _0x4cf6bd=_0x39d131;for(const _0x296410 of _0xb1bd83[_0x4cf6bd(0xe1)][_0x4cf6bd(0xd2)])_0x1444b3[_0x4cf6bd(0xe2)](ce,_0x296410);});}[_0x570713(0xe4)](){const _0x5eef5d=_0x570713,_0x127e8f=this[_0x5eef5d(0xe5)][_0x5eef5d(0xde)][_0x5eef5d(0xd6)];_0x127e8f[_0x5eef5d(0xd0)](_0x218f48=>{const _0x3608f1=_0x5eef5d;for(const _0x30a2e9 of _0x127e8f[_0x3608f1(0xe1)][_0x3608f1(0xd2)])_0x218f48[_0x3608f1(0xdd)](ce,_0x30a2e9);});}}function _0x3e47(){const _0x458b6a=['4568nwdqHO','9783965roIPCD','show','8397930Dczhek','removeClass','editing','4cGaxDO','215582vOemqa','document','addClass','8919071WWnlLZ','hide','editor','change','ck-editor__editable__loading-overlay','roots','RevisionViewerLoadingOverlay','1696965plxkOJ','pluginName','view','83115OhQHiw','2827614vcdJkD'];_0x3e47=function(){return _0x458b6a;};return _0x3e47();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x62f0(){const _0x43bd86=['forward','set','6642928lfBRXB','isBackwardNavigationEnabled','showNextChange','13432wfVsYE','revisionHistory','Back\x20to\x20editing','hide','show','1291479MkvLzG','5023636nfLBkV','listenTo','undo','204sHvqFL','pluginName','isForwardNavigationEnabled','isNavigationMode','get','changesNavigation','ck-revision-history-ui__back-to-editing','isReady','currentChangeNumber','showPreviousChange','numberOfChanges','plugins','restoreRevision','componentFactory','change:isReady','commands','34954164lLtHCd','editor','exitToEditing','6382726EJWNYc','isEnabled','RevisionViewerUI','config','add','execute','99710edHJIq','init','Restore\x20this\x20revision','51KczWAU','requires','closeRevisionViewerCallback','bind'];_0x62f0=function(){return _0x43bd86;};return _0x62f0();}const _0x512495=_0x5c8a;(function(_0x423412,_0x5c0f2b){const _0xac0a90=_0x5c8a,_0x1892b9=_0x423412();while(!![]){try{const _0x68fc03=-parseInt(_0xac0a90(0x1dc))/0x1*(parseInt(_0xac0a90(0x1e5))/0x2)+-parseInt(_0xac0a90(0x1ea))/0x3+-parseInt(_0xac0a90(0x1eb))/0x4+parseInt(_0xac0a90(0x1d9))/0x5*(parseInt(_0xac0a90(0x1ee))/0x6)+-parseInt(_0xac0a90(0x1d3))/0x7+-parseInt(_0xac0a90(0x1e2))/0x8+parseInt(_0xac0a90(0x1d0))/0x9;if(_0x68fc03===_0x5c0f2b)break;else _0x1892b9['push'](_0x1892b9['shift']());}catch(_0x637213){_0x1892b9['push'](_0x1892b9['shift']());}}}(_0x62f0,0xc10c2));import{icons as _0x185e72,Plugin as _0x43cbcd}from'ckeditor5/src/core.js';function _0x5c8a(_0x30cb0d,_0x5c6e9a){const _0x62f003=_0x62f0();return _0x5c8a=function(_0x5c8ac8,_0x56dc4c){_0x5c8ac8=_0x5c8ac8-0x1c6;let _0x11602a=_0x62f003[_0x5c8ac8];return _0x11602a;},_0x5c8a(_0x30cb0d,_0x5c6e9a);}import{ButtonView as _0x2003f0}from'ckeditor5/src/ui.js';import _0x3cf7c5 from'./changesnavigationview.js';import _0x4a98fe from'./../../revisionviewer.js';import _0x19aef8 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x3086b6}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x43cbcd{static get[_0x512495(0x1ef)](){const _0x416e62=_0x512495;return _0x416e62(0x1d5);}static get[_0x512495(0x1dd)](){return[_0x4a98fe,_0x19aef8];}[_0x512495(0x1da)](){const _0x1ba827=_0x512495,_0x339788=this[_0x1ba827(0x1d1)],_0x122aeb=_0x339788[_0x1ba827(0x1cb)][_0x1ba827(0x1f2)](_0x4a98fe),_0x2f26cc=_0x339788[_0x1ba827(0x1cb)][_0x1ba827(0x1f2)](_0x19aef8);_0x339788['ui'][_0x1ba827(0x1cd)][_0x1ba827(0x1d7)](_0x1ba827(0x1d2),_0x50caa5=>{const _0x17714c=_0x1ba827,_0x460a80=new _0x2003f0(_0x50caa5);return _0x460a80[_0x17714c(0x1e1)]({'label':_0x3086b6(_0x50caa5,_0x17714c(0x1e7)),'icon':_0x185e72[_0x17714c(0x1ed)],'withText':!0x0,'tooltip':!0x0,'class':_0x17714c(0x1c6)}),this[_0x17714c(0x1ec)](_0x460a80,_0x17714c(0x1d8),()=>{const _0x101b7b=_0x17714c;_0x339788[_0x101b7b(0x1d6)][_0x101b7b(0x1f2)](_0x101b7b(0x1e6))[_0x101b7b(0x1de)]();}),_0x460a80;}),_0x339788['ui'][_0x1ba827(0x1cd)][_0x1ba827(0x1d7)](_0x1ba827(0x1cc),_0xb0bbde=>{const _0xf2c332=_0x1ba827,_0x182ccb=new _0x2003f0(_0xb0bbde);return _0x182ccb[_0xf2c332(0x1e1)]({'label':_0x3086b6(_0xb0bbde,_0xf2c332(0x1db)),'withText':!0x0,'tooltip':!0x0}),_0x182ccb[_0xf2c332(0x1df)](_0xf2c332(0x1d4))['to'](_0x339788[_0xf2c332(0x1cf)][_0xf2c332(0x1f2)](_0xf2c332(0x1cc))),this[_0xf2c332(0x1ec)](_0x182ccb,_0xf2c332(0x1d8),()=>_0x339788[_0xf2c332(0x1d8)](_0xf2c332(0x1cc))),_0x182ccb;}),_0x339788['ui'][_0x1ba827(0x1cd)][_0x1ba827(0x1d7)](_0x1ba827(0x1f3),_0x100ee2=>{const _0x35926b=_0x1ba827,_0x41a7b6=new _0x3cf7c5(_0x100ee2),_0x49fd2b=_0x339788[_0x35926b(0x1cf)][_0x35926b(0x1f2)](_0x35926b(0x1c9)),_0x40b93e=_0x339788[_0x35926b(0x1cf)][_0x35926b(0x1f2)](_0x35926b(0x1e4));return _0x41a7b6[_0x35926b(0x1df)](_0x35926b(0x1e3))['to'](_0x49fd2b,_0x35926b(0x1d4)),_0x41a7b6[_0x35926b(0x1df)](_0x35926b(0x1f0))['to'](_0x40b93e,_0x35926b(0x1d4)),_0x41a7b6[_0x35926b(0x1df)](_0x35926b(0x1c7),_0x35926b(0x1c8),_0x35926b(0x1ca),_0x35926b(0x1f1))['to'](_0x122aeb),this[_0x35926b(0x1ec)](_0x41a7b6,_0x35926b(0x1d8),(_0x25ce9c,_0x170bc6)=>{const _0x40260d=_0x35926b;_0x339788[_0x40260d(0x1d8)](_0x40260d(0x1e0)===_0x170bc6?_0x40260d(0x1e4):_0x40260d(0x1c9));}),_0x41a7b6;}),_0x2f26cc[_0x1ba827(0x1e9)](),_0x122aeb['on'](_0x1ba827(0x1ce),(_0x5480a3,_0x22c2fa,_0x40cf33)=>{const _0x5a72ed=_0x1ba827;_0x40cf33?_0x2f26cc[_0x5a72ed(0x1e8)]():_0x2f26cc[_0x5a72ed(0x1e9)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x5261a0,_0x4a6b1f,_0x3a9b96){const t=_0x5261a0['t'];switch(_0x4a6b1f){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x3a9b96);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3a9b96);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}
|