@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240416.0 → 0.0.0-nightly-20240417.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
|
+
function _0x53c0(_0x1f3721,_0xb94a9c){const _0x18669b=_0x1866();return _0x53c0=function(_0x53c0bc,_0x198caf){_0x53c0bc=_0x53c0bc-0x1db;let _0x79386d=_0x18669b[_0x53c0bc];return _0x79386d;},_0x53c0(_0x1f3721,_0xb94a9c);}const _0x441564=_0x53c0;(function(_0x43acd5,_0x390541){const _0x4bab11=_0x53c0,_0x58b71b=_0x43acd5();while(!![]){try{const _0x526172=-parseInt(_0x4bab11(0x1f1))/0x1+-parseInt(_0x4bab11(0x1e7))/0x2+-parseInt(_0x4bab11(0x206))/0x3*(-parseInt(_0x4bab11(0x1f5))/0x4)+-parseInt(_0x4bab11(0x1ff))/0x5*(parseInt(_0x4bab11(0x200))/0x6)+-parseInt(_0x4bab11(0x1e6))/0x7*(-parseInt(_0x4bab11(0x1fe))/0x8)+parseInt(_0x4bab11(0x1e4))/0x9*(parseInt(_0x4bab11(0x1f0))/0xa)+parseInt(_0x4bab11(0x1df))/0xb;if(_0x526172===_0x390541)break;else _0x58b71b['push'](_0x58b71b['shift']());}catch(_0x1fb54f){_0x58b71b['push'](_0x58b71b['shift']());}}}(_0x1866,0x59a7e));import{LabeledFieldView as _0x2f32d5,View as _0x3effa4,createLabeledInputText as _0x7d403c,injectCssTransitionDisabler as _0x31f3f1,submitHandler as _0x3d62f1}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3b1dcd,KeystrokeHandler as _0x1c32f9}from'ckeditor5/src/utils.js';import{getTranslation as _0x34db29}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class ns extends _0x3effa4{constructor(_0x37669e,_0x278098){const _0x6aeba9=_0x53c0;super(_0x37669e),this[_0x6aeba9(0x204)]=new _0x3b1dcd(),this[_0x6aeba9(0x1fa)]=new _0x1c32f9(),this[_0x6aeba9(0x1db)](_0x6aeba9(0x1ea),''),this[_0x6aeba9(0x1f3)]=this[_0x6aeba9(0x1e0)](_0x278098),this[_0x6aeba9(0x1de)]({'tag':_0x6aeba9(0x1e5),'attributes':{'class':['ck',_0x6aeba9(0x1e1),_0x6aeba9(0x1ec)],'tabindex':'-1'},'children':[this[_0x6aeba9(0x1f3)]]}),_0x31f3f1(this);}[_0x441564(0x1ed)](){const _0x35ee94=_0x441564;super[_0x35ee94(0x1ed)](),_0x3d62f1({'view':this}),this[_0x35ee94(0x204)][_0x35ee94(0x202)](this[_0x35ee94(0x1f3)][_0x35ee94(0x203)]),this[_0x35ee94(0x1fa)][_0x35ee94(0x1f7)](this[_0x35ee94(0x203)]);const _0x8e3f2=_0x441271=>_0x441271[_0x35ee94(0x1f4)]();this[_0x35ee94(0x1fa)][_0x35ee94(0x1db)](_0x35ee94(0x1fb),_0x8e3f2),this[_0x35ee94(0x1fa)][_0x35ee94(0x1db)](_0x35ee94(0x1e3),_0x8e3f2),this[_0x35ee94(0x1fa)][_0x35ee94(0x1db)](_0x35ee94(0x1dc),_0x8e3f2),this[_0x35ee94(0x1fa)][_0x35ee94(0x1db)](_0x35ee94(0x1fd),_0x8e3f2);}[_0x441564(0x1eb)](){const _0x2506b5=_0x441564;this[_0x2506b5(0x1f3)][_0x2506b5(0x1eb)]();}get[_0x441564(0x1f9)](){const _0x3ca6ba=_0x441564;return this[_0x3ca6ba(0x1f3)][_0x3ca6ba(0x1e8)][_0x3ca6ba(0x203)][_0x3ca6ba(0x1f8)][_0x3ca6ba(0x1fc)]();}set[_0x441564(0x1f9)](_0x539fb7){const _0x19a742=_0x441564;this[_0x19a742(0x1f3)][_0x19a742(0x1e8)][_0x19a742(0x203)][_0x19a742(0x1f8)]=_0x539fb7[_0x19a742(0x1fc)]();}[_0x441564(0x1f6)](){const _0x100c55=_0x441564;this[_0x100c55(0x1f3)][_0x100c55(0x1e8)][_0x100c55(0x203)][_0x100c55(0x1f8)]='',this[_0x100c55(0x1f3)][_0x100c55(0x1f2)]=null;}[_0x441564(0x1e0)](_0x5c1b6e){const _0x578551=_0x441564,_0x4eb7b5=new _0x2f32d5(this[_0x578551(0x1e2)],_0x7d403c),_0x33c3b8=_0x4eb7b5[_0x578551(0x1e8)];_0x33c3b8[_0x578551(0x1ef)]({'attributes':{'maxlength':_0x578551(0x1e9)}});let _0x47fa7d=_0x34db29(this[_0x578551(0x1e2)],_0x578551(0x1ee));return!_0x5c1b6e&&(_0x47fa7d+='\x20('+_0x34db29(this[_0x578551(0x1e2)],_0x578551(0x205))+')'),(_0x4eb7b5[_0x578551(0x1dd)]=_0x47fa7d,_0x33c3b8['on'](_0x578551(0x201),()=>{const _0x3de9e7=_0x578551;this[_0x3de9e7(0x1ea)]=_0x33c3b8[_0x3de9e7(0x203)][_0x3de9e7(0x1f8)][_0x3de9e7(0x1fc)]();}),_0x4eb7b5);}}function _0x1866(){const _0x296bcd=['element','focusTracker','optional','354KVEZdJ','set','arrowup','label','setTemplate','3323683ekQbgD','_createRevisionNameInput','ck-revision-history-save-revision-form','locale','arrowleft','8010djxlFb','form','7777FzFssA','1157670kwaTFT','fieldView','220','revisionNameInputValue','focus','ck-responsive-form','render','Name\x20of\x20the\x20revision','extendTemplate','3820zDIZLC','555442faRPbA','errorText','revisionNameInputView','stopPropagation','14336eZfSsU','reset','listenTo','value','revisionName','keystrokes','arrowright','trim','arrowdown','4136SHiFwM','125qQGJNq','33102YXqjkr','input','add'];_0x1866=function(){return _0x296bcd;};return _0x1866();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x297795,icons as _0x416bac}from'ckeditor5/src/core.js';import{createDropdown as _0x25212a,ButtonView as _0x2551b2,ListItemView as _0x16b5f2,ListView as te,MenuBarMenuListItemButtonView as _0x2cba03,MenuBarMenuListItemView as _0x2d1901,MenuBarMenuListView as _0x313dc2,MenuBarMenuView as _0x4a0f48}from'ckeditor5/src/ui.js';import _0x177e26 from'../../revisiontracker.js';import _0x1cf2e1 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x134e51}from'../../utils/common-translations.js';export default class u extends _0x297795{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[_0x177e26];}['init'](){const _0x5c27f1=this['editor'],_0x28cbd0=_0x5c27f1['plugins']['get']('RevisionTracker');_0x5c27f1['ui']['componentFactory']['add']('revisionHistory',_0x47bd54=>{const _0x53ec4b=_0x25212a(_0x47bd54),_0x21861c=_0x53ec4b['panelView']['children'],_0x175030=new te(_0x47bd54),_0x489ed3=new _0x16b5f2(_0x47bd54),_0x4e3fd2=new _0x2551b2(_0x47bd54),_0x4942a3=new _0x16b5f2(_0x47bd54),_0x2f2f77=new _0x2551b2(_0x47bd54);return _0x53ec4b['bind']('isEnabled')['to'](_0x28cbd0,'isReady',_0x28cbd0,'isEnabled',_0x5c27f1,'isReadOnly',(_0x546c58,_0x529e5f,_0x5ae1f5)=>_0x546c58&&_0x529e5f&&!_0x5ae1f5),_0x53ec4b['buttonView']['set']({'icon':_0x416bac['history'],'label':_0x134e51(_0x47bd54,'Revision\x20history'),'tooltip':!0x0}),_0x4e3fd2['set']({'label':_0x134e51(_0x47bd54,'Save\x20current\x20revision'),'withText':!0x0}),_0x4e3fd2['bind']('isEnabled')['to'](_0x28cbd0,'isReady',_0x28cbd0,'isEnabled',_0x5c27f1,'isReadOnly',(_0x4f6ee9,_0x1c49cb,_0x5347a0)=>_0x4f6ee9&&_0x1c49cb&&!_0x5347a0),_0x4e3fd2['on']('execute',()=>this['_showDialog']()),_0x2f2f77['set']({'label':_0x134e51(_0x47bd54,'Open\x20revision\x20history'),'withText':!0x0}),_0x2f2f77['bind']('isEnabled')['to'](_0x28cbd0,'isReady',_0x5c27f1,'isReadOnly',(_0xd3ca45,_0x5acac1)=>_0xd3ca45&&!_0x5acac1),_0x2f2f77['on']('execute',()=>{_0x5c27f1['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x53ec4b['isOpen']=!0x1,_0x5c27f1['editing']['view']['focus']();}),_0x489ed3['children']['add'](_0x4e3fd2),_0x4942a3['children']['add'](_0x2f2f77),_0x175030['items']['addMany']([_0x489ed3,_0x4942a3]),_0x21861c['add'](_0x175030),_0x53ec4b;}),_0x5c27f1['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0xf525d6=this['editor'],_0x3a9b85=_0xf525d6['locale'],_0x441bd0=new _0x4a0f48(_0x3a9b85),_0xdab581=new _0x313dc2(_0x3a9b85);_0x441bd0['buttonView']['set']({'icon':_0x416bac['history'],'label':_0x134e51(_0x3a9b85,'Revision\x20history')});const _0x2ac04d=new _0x2d1901(_0x3a9b85,_0x441bd0),_0x163336=new _0x2cba03(_0x3a9b85);_0x163336['set']({'label':_0x134e51(_0x3a9b85,'Save\x20current\x20revision')}),_0x163336['delegate']('execute')['to'](_0x441bd0),_0x163336['on']('execute',()=>{this['_showDialog']();}),_0x2ac04d['children']['add'](_0x163336),_0xdab581['items']['add'](_0x2ac04d);const _0x4a96ce=new _0x2d1901(_0x3a9b85,_0x441bd0),_0x45c798=new _0x2cba03(_0x3a9b85);return _0x45c798['set']({'label':_0x134e51(_0x3a9b85,'Open\x20revision\x20history')}),_0x45c798['delegate']('execute')['to'](_0x441bd0),_0x45c798['on']('execute',()=>{_0xf525d6['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x4a96ce['children']['add'](_0x45c798),_0xdab581['items']['add'](_0x4a96ce),_0x441bd0['panelView']['children']['add'](_0xdab581),_0x441bd0;}['_showDialog'](){const _0x5b6ad8=this['editor'],_0x4cdbe5=_0x5b6ad8['locale'],t=_0x4cdbe5['t'],_0x189914=_0x5b6ad8['plugins']['get']('Dialog'),_0x4406aa=_0x5b6ad8['plugins']['get']('RevisionTracker');function _0x57ba08(_0x3d471f){_0x5b6ad8['config']['get']('revisionHistory.requireRevisionName')&&''===_0x3d471f['revisionName']?_0x3d471f['revisionNameInputView']['errorText']=_0x134e51(_0x4cdbe5,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x5b6ad8['plugins']['get'](_0x177e26)['saveRevision']({'name':_0x3d471f['revisionName']}),_0x189914['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x57ba08(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x189914['show']({'id':'findAndReplace','title':_0x134e51(_0x4cdbe5,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x189914['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x4c5a67){_0x4c5a67['bind']('isEnabled')['to'](_0x4406aa,'isReady',_0x4406aa,'isEnabled',_0x5b6ad8,'isReadOnly',(_0x57264d,_0x4e32b4,_0x4402f1)=>_0x57264d&&_0x4e32b4&&!_0x4402f1);},'onExecute':()=>_0x57ba08(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x2a41ec=this['editor'],_0x2ac8f2=_0x2a41ec['locale'];this['_saveRevisionFormView']=new _0x1cf2e1(_0x2ac8f2,_0x2a41ec['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4633b4=_0x6d8c;(function(_0x3470f0,_0x1db461){const _0x417e45=_0x6d8c,_0x4e3a1=_0x3470f0();while(!![]){try{const _0x1a725b=-parseInt(_0x417e45(0x159))/0x1+-parseInt(_0x417e45(0x150))/0x2+-parseInt(_0x417e45(0x144))/0x3*(parseInt(_0x417e45(0x14c))/0x4)+parseInt(_0x417e45(0x175))/0x5+-parseInt(_0x417e45(0x173))/0x6*(-parseInt(_0x417e45(0x17c))/0x7)+parseInt(_0x417e45(0x154))/0x8*(parseInt(_0x417e45(0x169))/0x9)+-parseInt(_0x417e45(0x149))/0xa*(-parseInt(_0x417e45(0x16d))/0xb);if(_0x1a725b===_0x1db461)break;else _0x4e3a1['push'](_0x4e3a1['shift']());}catch(_0x107039){_0x4e3a1['push'](_0x4e3a1['shift']());}}}(_0x510b,0x41d5c));function _0x6d8c(_0x7615e7,_0xdba828){const _0x510b5b=_0x510b();return _0x6d8c=function(_0x6d8cee,_0x3b1375){_0x6d8cee=_0x6d8cee-0x131;let _0x4b2a79=_0x510b5b[_0x6d8cee];return _0x4b2a79;},_0x6d8c(_0x7615e7,_0xdba828);}import{Plugin as _0x58144b}from'ckeditor5/src/core.js';import _0x50d602 from'./revisionssidebarview.js';import _0x51209e from'../../revisionviewer.js';function _0x510b(){const _0x468426=['pluginName','action','highlightRevisions','select','Restore\x20this\x20revision','revisionHistory.viewerSidebarContainer','map','restoreRevisionCallback','diff','revisionHistory.revisionActions','nameRevision','_sidebarView','564gGxFZH','_revisions','getIndex','plugins','isEnabled','180DizRAw','revisionHistory','render','7292zzhkpZ','string','timePeriodViews','init','774524mZUJCz','revisionHistory.requireRevisionName','_handleDiffChange','data','1000672HZjcsJ','setName','assign','isReady','remove','421489cwFZEN','_revisionsRepository','isVisible','availableRevisionActions','_revisionViewer','_handleRevisionSelected','selectRevision','editor','appendChild','getRevisionsInDiff','getRevision','isSelected','locale','element','Name\x20this\x20revision','repository','27eDzelA','restoreRevision','revisionSetName','fieldView','134233FOWomP','length','get','destroy','requires','bind','2354418djshIM','listenTo','2169130GIiaDi','RevisionsSidebar','_handleRevisionSetName','_createRevisionActions','config','add','newRevisionId','7HnbpRC','getLaterVisibleRevision','defaultRevisionActions','compareAgainstSelected','revisionViews','change:diff','compare','Compare\x20against\x20selected','focus','name','ready','revisionSelected','getEarlierVisibleRevision','_handleEditorDataReady'];_0x510b=function(){return _0x468426;};return _0x510b();}export default class w extends _0x58144b{static get[_0x4633b4(0x138)](){const _0x3267e4=_0x4633b4;return _0x3267e4(0x176);}static get[_0x4633b4(0x171)](){return[_0x51209e];}constructor(_0x5bea66){const _0x5a248e=_0x4633b4;super(_0x5bea66),this[_0x5a248e(0x15d)]=_0x5bea66[_0x5a248e(0x147)][_0x5a248e(0x16f)](_0x51209e),this[_0x5a248e(0x15a)]=this[_0x5a248e(0x15d)][_0x5a248e(0x168)],this[_0x5a248e(0x143)]=null;}[_0x4633b4(0x14f)](){const _0x3b7cf3=_0x4633b4,_0x3a90ca=this[_0x3b7cf3(0x15a)][_0x3b7cf3(0x145)],_0xfa4f4e=this[_0x3b7cf3(0x178)](),_0x5b81f5=this[_0x3b7cf3(0x160)][_0x3b7cf3(0x179)][_0x3b7cf3(0x16f)](_0x3b7cf3(0x13d));this[_0x3b7cf3(0x143)]=new _0x50d602(this[_0x3b7cf3(0x160)][_0x3b7cf3(0x165)],_0x3a90ca,_0xfa4f4e,this[_0x3b7cf3(0x160)][_0x3b7cf3(0x179)][_0x3b7cf3(0x16f)](_0x3b7cf3(0x151))),this[_0x3b7cf3(0x143)]['on'](_0x3b7cf3(0x135),this[_0x3b7cf3(0x15e)][_0x3b7cf3(0x172)](this)),this[_0x3b7cf3(0x143)]['on'](_0x3b7cf3(0x16b),this[_0x3b7cf3(0x177)][_0x3b7cf3(0x172)](this)),this[_0x3b7cf3(0x143)][_0x3b7cf3(0x172)](_0x3b7cf3(0x148))['to'](this[_0x3b7cf3(0x15d)]),this[_0x3b7cf3(0x143)][_0x3b7cf3(0x14e)]['on'](_0x3b7cf3(0x17a),(_0x307564,_0x238631)=>{const _0x25c77a=_0x3b7cf3;_0x238631[_0x25c77a(0x180)]['on'](_0x25c77a(0x17a),(_0x57a838,_0x1dc8d6)=>{const _0x3fcc26=_0x25c77a;_0x1dc8d6[_0x3fcc26(0x172)](_0x3fcc26(0x148),_0x3fcc26(0x157))['to'](this[_0x3fcc26(0x15d)]);});}),this[_0x3b7cf3(0x143)][_0x3b7cf3(0x14b)](),this[_0x3b7cf3(0x174)](this[_0x3b7cf3(0x160)][_0x3b7cf3(0x153)],_0x3b7cf3(0x134),this[_0x3b7cf3(0x137)][_0x3b7cf3(0x172)](this)),this[_0x3b7cf3(0x174)](this[_0x3b7cf3(0x15d)],_0x3b7cf3(0x181),this[_0x3b7cf3(0x152)][_0x3b7cf3(0x172)](this)),_0x5b81f5[_0x3b7cf3(0x161)](this[_0x3b7cf3(0x143)][_0x3b7cf3(0x166)]);}[_0x4633b4(0x170)](){const _0x499c34=_0x4633b4;this[_0x499c34(0x143)][_0x499c34(0x166)][_0x499c34(0x158)](),this[_0x499c34(0x143)][_0x499c34(0x170)]();}[_0x4633b4(0x137)](){const _0x8d6384=_0x4633b4,_0x53ce1b=this[_0x8d6384(0x15a)][_0x8d6384(0x163)](0x0);if(_0x53ce1b){const _0x240b7b=this[_0x8d6384(0x15a)][_0x8d6384(0x136)](_0x53ce1b['id']);this[_0x8d6384(0x15d)][_0x8d6384(0x182)](_0x53ce1b,_0x240b7b);}}[_0x4633b4(0x15e)](_0x5470cd,_0x562262){const _0x78ba58=_0x4633b4,_0x4202ce=this[_0x78ba58(0x15a)][_0x78ba58(0x163)](_0x562262['id']),_0x38908a=this[_0x78ba58(0x15a)][_0x78ba58(0x136)](_0x4202ce['id']);this[_0x78ba58(0x15d)][_0x78ba58(0x182)](_0x4202ce,_0x38908a);}[_0x4633b4(0x177)](_0x423e2f,_0x52b2af){const _0x38ad3c=_0x4633b4;this[_0x38ad3c(0x15a)][_0x38ad3c(0x163)](_0x52b2af['id'])[_0x38ad3c(0x155)](_0x52b2af[_0x38ad3c(0x133)]);}[_0x4633b4(0x152)](_0x4e5b63,_0x4402b9,_0x14038e){const _0x6a3978=_0x4633b4,_0x57dd05=this[_0x6a3978(0x15a)][_0x6a3978(0x162)](_0x14038e);_0x57dd05[_0x6a3978(0x16e)]>0x2?(this[_0x6a3978(0x143)][_0x6a3978(0x13a)](_0x57dd05),this[_0x6a3978(0x143)][_0x6a3978(0x15f)](null)):(this[_0x6a3978(0x143)][_0x6a3978(0x13a)]([]),this[_0x6a3978(0x143)][_0x6a3978(0x15f)](_0x57dd05[0x0]));}[_0x4633b4(0x178)](){const _0x2989cf=_0x4633b4,_0x18a12e=this[_0x2989cf(0x160)],_0x3d974=w[_0x2989cf(0x15c)],_0x4e1cb5=_0x18a12e[_0x2989cf(0x179)][_0x2989cf(0x16f)](_0x2989cf(0x141))||w[_0x2989cf(0x17e)];if(_0x4e1cb5[_0x2989cf(0x16e)])return _0x4e1cb5[_0x2989cf(0x13e)](_0x1ab798=>{const _0x2fc094=_0x2989cf,_0x213360=_0x2fc094(0x14d)==typeof _0x1ab798?Object[_0x2fc094(0x156)]({},_0x3d974[_0x1ab798]):_0x1ab798;return _0x213360[_0x2fc094(0x139)]=_0x213360[_0x2fc094(0x139)][_0x2fc094(0x172)](this,_0x18a12e),_0x213360[_0x2fc094(0x15b)]&&(_0x213360[_0x2fc094(0x15b)]=_0x213360[_0x2fc094(0x15b)][_0x2fc094(0x172)](this,_0x18a12e)),_0x213360;});}}w[_0x4633b4(0x15c)]={'compareAgainstSelected':{'name':_0x4633b4(0x131),'action':({plugins:_0x4e3434},_0x274517)=>{const _0x5d3018=_0x4633b4,_0x120aed=_0x4e3434[_0x5d3018(0x16f)](_0x51209e),_0x3a86df=_0x120aed[_0x5d3018(0x168)];let _0x287ec2=_0x120aed[_0x5d3018(0x140)][_0x5d3018(0x17b)],_0x1d5565=_0x274517['id'];_0x3a86df[_0x5d3018(0x146)](_0x287ec2)>_0x3a86df[_0x5d3018(0x146)](_0x1d5565)&&([_0x287ec2,_0x1d5565]=[_0x1d5565,_0x287ec2]),_0x120aed[_0x5d3018(0x182)](_0x287ec2,_0x1d5565);},'isVisible':({plugins:_0x1591aa},_0x28181a)=>{const _0x33a8e0=_0x4633b4,_0x549f61=_0x1591aa[_0x33a8e0(0x16f)](_0x51209e);return!(_0x549f61[_0x33a8e0(0x168)][_0x33a8e0(0x162)](_0x549f61[_0x33a8e0(0x140)])[_0x33a8e0(0x16e)]>0x2)&&!_0x28181a[_0x33a8e0(0x164)];}},'restoreRevision':{'name':_0x4633b4(0x13c),'action':(_0x4f1576,{id:_0x221a32})=>{const _0x416584=_0x4633b4;_0x4f1576[_0x416584(0x179)][_0x416584(0x16f)](_0x416584(0x14a))[_0x416584(0x13f)](_0x221a32);},'isVisible':({plugins:_0x6a3828},_0x50584e)=>!!_0x6a3828[_0x4633b4(0x16f)](_0x51209e)[_0x4633b4(0x168)][_0x4633b4(0x17d)](_0x50584e['id'])},'nameRevision':{'name':_0x4633b4(0x167),'action':({plugins:_0x5e0a1f},{id:_0x533a29,revisionNameView:_0x3dbda9})=>{const _0x322690=_0x4633b4,_0x459b27=_0x5e0a1f[_0x322690(0x16f)](_0x51209e),_0xa0a5bd=_0x459b27[_0x322690(0x168)][_0x322690(0x136)](_0x533a29);_0x459b27[_0x322690(0x182)](_0x533a29,_0xa0a5bd),_0x3dbda9[_0x322690(0x132)](),_0x3dbda9[_0x322690(0x16c)][_0x322690(0x13b)]();}}},w[_0x4633b4(0x17e)]=[_0x4633b4(0x17f),_0x4633b4(0x16a),_0x4633b4(0x142)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x271b(){const _0xce7ebe=['div','content','10657009XxsAde','ck-revision-history-sidebar__header__label','ck-reset_all','ck-revision-history-sidebar__header','105810edyTuG','392600JldmVe','857575MnXKAo','1266FPwaJr','1661172POrvCT','430EEifzI','span','Revision\x20history','2524tOyyeE','119fblKfJ','setTemplate','1389BvRlBG','639CrGOjl','history'];_0x271b=function(){return _0xce7ebe;};return _0x271b();}(function(_0x120f3b,_0x5cb495){const _0xce1467=_0x299a,_0x254c85=_0x120f3b();while(!![]){try{const _0x4709d5=-parseInt(_0xce1467(0xf3))/0x1+-parseInt(_0xce1467(0xf5))/0x2+-parseInt(_0xce1467(0xfc))/0x3*(parseInt(_0xce1467(0xf9))/0x4)+-parseInt(_0xce1467(0xf6))/0x5*(parseInt(_0xce1467(0xf4))/0x6)+parseInt(_0xce1467(0xfa))/0x7*(parseInt(_0xce1467(0xf2))/0x8)+-parseInt(_0xce1467(0xfd))/0x9*(-parseInt(_0xce1467(0xf1))/0xa)+parseInt(_0xce1467(0x101))/0xb;if(_0x4709d5===_0x5cb495)break;else _0x254c85['push'](_0x254c85['shift']());}catch(_0xd9905){_0x254c85['push'](_0x254c85['shift']());}}}(_0x271b,0x87b6d));import{View as _0x5adb14,IconView as _0x41658b}from'ckeditor5/src/ui.js';import{getTranslation as _0x34a155}from'../../utils/common-translations.js';import{icons as _0x4cff98}from'ckeditor5/src/core.js';function _0x299a(_0x2ac86f,_0x3e4b4c){const _0x271b36=_0x271b();return _0x299a=function(_0x299a44,_0x1d1ea4){_0x299a44=_0x299a44-0xef;let _0x4fc2de=_0x271b36[_0x299a44];return _0x4fc2de;},_0x299a(_0x2ac86f,_0x3e4b4c);}import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class as extends _0x5adb14{constructor(_0x106ab4){const _0x9de899=_0x299a;super(_0x106ab4);const _0x490b6a=new _0x41658b();_0x490b6a[_0x9de899(0x100)]=_0x4cff98[_0x9de899(0xfe)],this[_0x9de899(0xfb)]({'tag':_0x9de899(0xff),'attributes':{'class':['ck',_0x9de899(0xef),_0x9de899(0xf0)]},'children':[_0x490b6a,{'tag':_0x9de899(0xf7),'attributes':{'class':['ck',_0x9de899(0x102)]},'children':[_0x34a155(_0x106ab4,_0x9de899(0xf8))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x6f6c(){const _0x36cfcc=['remove','12306cmEuoE','57657JgNCJD','_requireRevisionName','116TaRsMU','ck-revision-history-sidebar__time-period__label','ck-revision-history-sidebar__time-period__revisions','1195055xVpIGv','190949hpQQHX','uiLanguage','span','14zyLTyP','2051514csDDtB','delegate','revisionViews','div','5287059LJHhYE','localizedPeriodName','setTemplate','createCollection','select','removeRevision','find','startDate','ck-revision-history-sidebar__time-period','1784452KrqhAw','_revisionActions','8AZlNbR','add','setName','locale','230BaWBBG','addRevision'];_0x6f6c=function(){return _0x36cfcc;};return _0x6f6c();}const _0xee5c19=_0x5bd3;(function(_0x4ec9c7,_0x4b91bc){const _0x32cbf3=_0x5bd3,_0x28f9fc=_0x4ec9c7();while(!![]){try{const _0xede96c=parseInt(_0x32cbf3(0x88))/0x1+-parseInt(_0x32cbf3(0x8b))/0x2*(-parseInt(_0x32cbf3(0x89))/0x3)+-parseInt(_0x32cbf3(0x7f))/0x4+parseInt(_0x32cbf3(0x8e))/0x5+-parseInt(_0x32cbf3(0x93))/0x6*(-parseInt(_0x32cbf3(0x92))/0x7)+parseInt(_0x32cbf3(0x81))/0x8*(-parseInt(_0x32cbf3(0x97))/0x9)+-parseInt(_0x32cbf3(0x85))/0xa*(parseInt(_0x32cbf3(0x8f))/0xb);if(_0xede96c===_0x4b91bc)break;else _0x28f9fc['push'](_0x28f9fc['shift']());}catch(_0x2181de){_0x28f9fc['push'](_0x28f9fc['shift']());}}}(_0x6f6c,0x96a4c));import{View as _0x19931e}from'ckeditor5/src/ui.js';import _0x2513eb from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x131543}from'./utils.js';function _0x5bd3(_0x1268b6,_0x377d2c){const _0x6f6cf9=_0x6f6c();return _0x5bd3=function(_0x5bd358,_0x42d359){_0x5bd358=_0x5bd358-0x7d;let _0xd70cd4=_0x6f6cf9[_0x5bd358];return _0xd70cd4;},_0x5bd3(_0x1268b6,_0x377d2c);}import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class mi extends _0x19931e{constructor(_0x56e293,_0x8af64d,_0x3a7061,_0x236793){const _0x59990f=_0x5bd3;super(_0x56e293);const _0x5baca8=_0x131543(_0x8af64d,this[_0x59990f(0x84)][_0x59990f(0x90)])[_0x59990f(0x98)];this[_0x59990f(0x7d)]=_0x8af64d,this[_0x59990f(0x95)]=this[_0x59990f(0x9a)](),this[_0x59990f(0x80)]=_0x3a7061,this[_0x59990f(0x8a)]=_0x236793,this[_0x59990f(0x95)][_0x59990f(0x94)](_0x59990f(0x9b))['to'](this),this[_0x59990f(0x95)][_0x59990f(0x94)](_0x59990f(0x83))['to'](this),this[_0x59990f(0x99)]({'tag':_0x59990f(0x96),'attributes':{'class':['ck',_0x59990f(0x7e)]},'children':[{'tag':_0x59990f(0x91),'attributes':{'class':['ck',_0x59990f(0x8c)]},'children':[{'text':_0x5baca8}]},{'tag':_0x59990f(0x96),'attributes':{'class':['ck',_0x59990f(0x8d)]},'children':this[_0x59990f(0x95)]}]});}[_0xee5c19(0x86)](_0x5537f4){const _0x274426=_0xee5c19,_0x2ba61a=new _0x2513eb(this[_0x274426(0x84)],_0x5537f4,this[_0x274426(0x80)],this[_0x274426(0x8a)]);this[_0x274426(0x95)][_0x274426(0x82)](_0x2ba61a);}[_0xee5c19(0x9c)](_0x66f770){const _0x127e85=_0xee5c19,_0x1d1000=this[_0x127e85(0x95)][_0x127e85(0x9d)](_0x3313cd=>_0x3313cd['id']===_0x66f770['id']);this[_0x127e85(0x95)][_0x127e85(0x87)](_0x1d1000);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x53dabc=_0x2250;function _0x56c8(){const _0x5c83fd=['timePeriodViews','get','8aXaeSJ','5qROuUC','_getTimePeriodViewByStartDate','2332161rewJfS','ck-disabled','revisionSelected','fire','highlight','2299045qsGzUl','618712SzyBxp','ck-revision-history-sidebar','map','isEnabled','ck-rounded-corners','startDate','1127772xeJidl','ck-revision-history-sidebar__timeline','deselect','remove','771381boygQP','removeRevision','set','getTime','_revisionActions','_requireRevisionName','ck-reset','4431020nMNipp','highlightRevisions','add','uiLanguage','38tjTDlj','revisionSetName','_addRevision','addRevision','createCollection','flat','div','setTemplate','locale','select','bindTemplate','setName','unhighlight','find','render','delegate','_revisions','_removeRevision','createdAt','some','selectRevision','revisionViews','5068GtTuVZ'];_0x56c8=function(){return _0x5c83fd;};return _0x56c8();}function _0x2250(_0x3626ba,_0x4526cc){const _0x56c887=_0x56c8();return _0x2250=function(_0x225091,_0x5f284e){_0x225091=_0x225091-0x1c3;let _0x149798=_0x56c887[_0x225091];return _0x149798;},_0x2250(_0x3626ba,_0x4526cc);}(function(_0x25e62b,_0x1db933){const _0x5c26b0=_0x2250,_0x4018ce=_0x25e62b();while(!![]){try{const _0x473f22=-parseInt(_0x5c26b0(0x1d3))/0x1*(-parseInt(_0x5c26b0(0x1e9))/0x2)+parseInt(_0x5c26b0(0x1c8))/0x3+parseInt(_0x5c26b0(0x1f5))/0x4*(parseInt(_0x5c26b0(0x1ed))/0x5)+-parseInt(_0x5c26b0(0x1c4))/0x6+parseInt(_0x5c26b0(0x1f4))/0x7*(-parseInt(_0x5c26b0(0x1ec))/0x8)+-parseInt(_0x5c26b0(0x1ef))/0x9+parseInt(_0x5c26b0(0x1cf))/0xa;if(_0x473f22===_0x1db933)break;else _0x4018ce['push'](_0x4018ce['shift']());}catch(_0xd054a7){_0x4018ce['push'](_0x4018ce['shift']());}}}(_0x56c8,0x2ae39));import{View as _0x1f8d45}from'ckeditor5/src/ui.js';import _0x516164 from'./revisionssidebartimeperiodview.js';import _0xda468c from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x23edaf}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ci extends _0x1f8d45{constructor(_0x3764af,_0x80c15b,_0x1d1fd7,_0x2ed029){const _0x390bc8=_0x2250;super(_0x3764af);const _0x25510d=this[_0x390bc8(0x1dd)];this[_0x390bc8(0x1ea)]=this[_0x390bc8(0x1d7)](),this[_0x390bc8(0x1ea)][_0x390bc8(0x1e2)](_0x390bc8(0x1dc))['to'](this),this[_0x390bc8(0x1ea)][_0x390bc8(0x1e2)](_0x390bc8(0x1de))['to'](this),this[_0x390bc8(0x1e3)]=_0x80c15b,this[_0x390bc8(0x1cc)]=_0x1d1fd7,this[_0x390bc8(0x1cd)]=_0x2ed029,this['on'](_0x390bc8(0x1dc),(_0x369dec,_0x3056d5)=>{const _0x828419=_0x390bc8;this[_0x828419(0x1f2)](_0x828419(0x1f1),_0x3056d5);}),this['on'](_0x390bc8(0x1de),(_0x46cf27,_0x5c0736)=>{const _0x20da2c=_0x390bc8;this[_0x20da2c(0x1f2)](_0x20da2c(0x1d4),_0x5c0736);}),this[_0x390bc8(0x1ca)](_0x390bc8(0x1f8),!0x1),this[_0x390bc8(0x1da)]({'tag':_0x390bc8(0x1d9),'attributes':{'class':['ck',_0x390bc8(0x1ce),_0x390bc8(0x1f9),_0x390bc8(0x1f6)]},'children':[new _0xda468c(_0x3764af),{'tag':_0x390bc8(0x1d9),'attributes':{'class':['ck',_0x390bc8(0x1c5),_0x25510d['if'](_0x390bc8(0x1f8),_0x390bc8(0x1f0),_0x4f66b=>!_0x4f66b)]},'children':this[_0x390bc8(0x1ea)]}]});}[_0x53dabc(0x1e1)](){const _0x27f3f5=_0x53dabc;super[_0x27f3f5(0x1e1)]();for(const _0x1858f5 of this[_0x27f3f5(0x1e3)])this[_0x27f3f5(0x1d5)](_0x1858f5);this[_0x27f3f5(0x1e3)]['on'](_0x27f3f5(0x1d1),(_0x10bf9a,_0x53516f)=>{const _0x4c708d=_0x27f3f5;this[_0x4c708d(0x1d5)](_0x53516f);}),this[_0x27f3f5(0x1e3)]['on'](_0x27f3f5(0x1c7),(_0x2ffac4,_0x45365d)=>{const _0x3005ad=_0x27f3f5;this[_0x3005ad(0x1e4)](_0x45365d);});}get[_0x53dabc(0x1e8)](){const _0x4db72c=_0x53dabc;return this[_0x4db72c(0x1ea)][_0x4db72c(0x1f7)](_0x47125d=>_0x47125d[_0x4db72c(0x1e8)][_0x4db72c(0x1f7)](_0x4e28db=>_0x4e28db))[_0x4db72c(0x1d8)]();}[_0x53dabc(0x1e7)](_0x27120a){const _0x4d3e98=_0x53dabc;for(const _0x5d8d88 of this[_0x4d3e98(0x1e8)])_0x27120a&&_0x27120a['id']===_0x5d8d88['id']?_0x5d8d88[_0x4d3e98(0x1dc)]():_0x5d8d88[_0x4d3e98(0x1c6)]();}[_0x53dabc(0x1d0)](_0x528a33){const _0x50f87f=_0x53dabc;for(const _0x3764b5 of this[_0x50f87f(0x1e8)])_0x528a33[_0x50f87f(0x1e6)](({id:_0x3ebc89})=>_0x3ebc89===_0x3764b5['id'])?_0x3764b5[_0x50f87f(0x1f3)]():_0x3764b5[_0x50f87f(0x1df)]();}[_0x53dabc(0x1d5)](_0x1cd89c){const _0x3478db=_0x53dabc,_0x11f311=_0x23edaf(_0x1cd89c[_0x3478db(0x1e5)],this[_0x3478db(0x1db)][_0x3478db(0x1d2)])[_0x3478db(0x1c3)];let _0x397fa1=this[_0x3478db(0x1ea)][_0x3478db(0x1eb)](0x0);_0x397fa1&&_0x397fa1[_0x3478db(0x1c3)][_0x3478db(0x1cb)]()===_0x11f311[_0x3478db(0x1cb)]()||(_0x397fa1=new _0x516164(this[_0x3478db(0x1db)],_0x11f311,this[_0x3478db(0x1cc)],this[_0x3478db(0x1cd)]),this[_0x3478db(0x1ea)][_0x3478db(0x1d1)](_0x397fa1)),_0x397fa1[_0x3478db(0x1d6)](_0x1cd89c);}[_0x53dabc(0x1e4)](_0x14d588){const _0x523dee=_0x53dabc,_0x44aa6c=_0x23edaf(_0x14d588[_0x523dee(0x1e5)],this[_0x523dee(0x1db)][_0x523dee(0x1d2)])[_0x523dee(0x1c3)];this[_0x523dee(0x1ee)](_0x44aa6c)[_0x523dee(0x1c9)](_0x14d588);}[_0x53dabc(0x1ee)](_0x30bd39){const _0x52e733=_0x53dabc;return this[_0x52e733(0x1ea)][_0x52e733(0x1e0)](_0x5d2a33=>_0x5d2a33[_0x52e733(0x1c3)][_0x52e733(0x1cb)]()===_0x30bd39[_0x52e733(0x1cb)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x21cf(_0x3db691,_0x728277){const _0x2f22ba=_0x2f22();return _0x21cf=function(_0x21cfa1,_0x35a558){_0x21cfa1=_0x21cfa1-0x107;let _0x5ebf7d=_0x2f22ba[_0x21cfa1];return _0x5ebf7d;},_0x21cf(_0x3db691,_0x728277);}(function(_0x3c7d39,_0x5810c7){const _0x345bf5=_0x21cf,_0x45144d=_0x3c7d39();while(!![]){try{const _0x4b9f59=parseInt(_0x345bf5(0x119))/0x1*(-parseInt(_0x345bf5(0x113))/0x2)+-parseInt(_0x345bf5(0x116))/0x3*(parseInt(_0x345bf5(0x117))/0x4)+parseInt(_0x345bf5(0x108))/0x5+-parseInt(_0x345bf5(0x11b))/0x6+parseInt(_0x345bf5(0x115))/0x7+-parseInt(_0x345bf5(0x114))/0x8*(parseInt(_0x345bf5(0x11c))/0x9)+parseInt(_0x345bf5(0x11d))/0xa;if(_0x4b9f59===_0x5810c7)break;else _0x45144d['push'](_0x45144d['shift']());}catch(_0x505ffe){_0x45144d['push'](_0x45144d['shift']());}}}(_0x2f22,0x1f860));function _0x2f22(){const _0x565e13=['toRelativeCalendar','startOf','fromJSDate','local','monthLong','toJSDate','month','week','year','weekdayLong','2JhIiGK','40552OSbbkO','1230299enSrDo','86052RcpZCj','24CVITpx','setLocale','75197KRACFi','minus','165690rNhHox','144IEnSQx','1133940vadXzP','day','hasSame','979945YKMdhy'];_0x2f22=function(){return _0x565e13;};return _0x2f22();}import{DateTime as _0x1c0276}from'luxon';export function getDateTimePeriodInfo(_0x4a2a8f,_0x2963d6){const _0x283018=_0x21cf,_0x4a9a66=_0x1c0276[_0x283018(0x10b)](_0x4a2a8f)[_0x283018(0x118)](_0x2963d6),_0x5478da=_0x1c0276[_0x283018(0x10c)](),_0x405a2a=_0x5478da[_0x283018(0x11a)]({'days':0x1})[_0x283018(0x10a)](_0x283018(0x11e));let _0x4592dc,_0x3f2e42;return _0x4a9a66[_0x283018(0x107)](_0x5478da,_0x283018(0x11e))?(_0x4592dc=_0x4a9a66[_0x283018(0x10a)](_0x283018(0x11e))[_0x283018(0x10e)](),_0x3f2e42=_0x4a9a66[_0x283018(0x109)]()):_0x4a9a66[_0x283018(0x107)](_0x405a2a,_0x283018(0x11e))?(_0x4592dc=_0x405a2a[_0x283018(0x10e)](),_0x3f2e42=_0x4a9a66[_0x283018(0x109)]()):_0x4a9a66[_0x283018(0x107)](_0x5478da,_0x283018(0x110))?(_0x4592dc=_0x4a9a66[_0x283018(0x10a)](_0x283018(0x110))[_0x283018(0x10e)](),_0x3f2e42=_0x4a9a66[_0x283018(0x112)]||''):_0x4a9a66[_0x283018(0x107)](_0x5478da,_0x283018(0x111))?(_0x4592dc=_0x4a9a66[_0x283018(0x10a)](_0x283018(0x10f))[_0x283018(0x10e)](),_0x3f2e42=_0x4a9a66[_0x283018(0x10d)]||''):(_0x4592dc=_0x4a9a66[_0x283018(0x10a)](_0x283018(0x111))[_0x283018(0x10e)](),_0x3f2e42=String(_0x4a9a66[_0x283018(0x111)])),{'startDate':_0x4592dc,'localizedPeriodName':_0x3f2e42};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1c44af=_0x2cbf;(function(_0x526596,_0xa63391){const _0x30d922=_0x2cbf,_0x2232a0=_0x526596();while(!![]){try{const _0x2965d0=-parseInt(_0x30d922(0x1e7))/0x1*(-parseInt(_0x30d922(0x1d5))/0x2)+-parseInt(_0x30d922(0x1de))/0x3+-parseInt(_0x30d922(0x1e3))/0x4+parseInt(_0x30d922(0x1e1))/0x5+parseInt(_0x30d922(0x1e6))/0x6+parseInt(_0x30d922(0x1d3))/0x7*(-parseInt(_0x30d922(0x1dc))/0x8)+parseInt(_0x30d922(0x1e8))/0x9;if(_0x2965d0===_0xa63391)break;else _0x2232a0['push'](_0x2232a0['shift']());}catch(_0x447d4d){_0x2232a0['push'](_0x2232a0['shift']());}}}(_0x4ca4,0x82ec9));import{View as _0x432be0}from'ckeditor5/src/ui.js';function _0x2cbf(_0x52148f,_0x12f042){const _0x4ca412=_0x4ca4();return _0x2cbf=function(_0x2cbf1b,_0xb89359){_0x2cbf1b=_0x2cbf1b-0x1cd;let _0x4b8b0b=_0x4ca412[_0x2cbf1b];return _0x4b8b0b;},_0x2cbf(_0x52148f,_0x12f042);}function _0x4ca4(){const _0x286b48=['1XRMqZw','16700211ByqxSr','changeId','span','Removed\x20by','set','ck-revision-change__label','_model','author','isSuggestion','focus','7SicFay','name','749148HjUzXr','ck-revision-change__','bindTemplate','setTemplate','type','Added\x20by','ck-revision-change','8410552QbhIyO','div','275043dZPSOY','Suggested\x20by','data','1901345EmsSpQ','add','3799764fQwnmW','element','ck-annotation','112704LzzDen'];_0x4ca4=function(){return _0x286b48;};return _0x4ca4();}import{getTranslation as _0xcacd4d}from'../../utils/common-translations.js';export default class Z extends _0x432be0{constructor(_0x5c9109,_0x2f5d82){const _0xdd289c=_0x2cbf;super(_0x5c9109),this[_0xdd289c(0x1cf)]=_0x2f5d82,this[_0xdd289c(0x1e9)]=_0x2f5d82['id'];const _0x1dcabc=this[_0xdd289c(0x1d7)],_0x4d0575=_0xcacd4d(_0x5c9109,_0x2f5d82[_0xdd289c(0x1e0)][_0xdd289c(0x1d1)]?_0xdd289c(0x1df):_0xdd289c(0x1e2)==_0x2f5d82[_0xdd289c(0x1d9)]?_0xdd289c(0x1da):_0xdd289c(0x1eb));this[_0xdd289c(0x1cd)](_0xdd289c(0x1d9),_0x2f5d82[_0xdd289c(0x1d9)]),this[_0xdd289c(0x1d8)]({'tag':_0xdd289c(0x1dd),'attributes':{'class':[_0xdd289c(0x1e5),_0xdd289c(0x1db),_0x1dcabc['to'](_0xdd289c(0x1d9),_0xe795c7=>_0xdd289c(0x1d6)+_0xe795c7)],'tabindex':-0x1},'children':[{'tag':_0xdd289c(0x1ea),'children':[{'tag':_0xdd289c(0x1ea),'attributes':{'class':[_0xdd289c(0x1ce)]},'children':[{'text':_0x4d0575}]},{'text':'\x20'+_0x2f5d82[_0xdd289c(0x1d0)][_0xdd289c(0x1d4)]}]}]});}[_0x1c44af(0x1d2)](){const _0x29b8e4=_0x1c44af;this[_0x29b8e4(0x1e4)][_0x29b8e4(0x1d2)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4b778c,_0x50432d){const _0x10ab9d=_0x2061,_0x25a413=_0x4b778c();while(!![]){try{const _0x5692a0=-parseInt(_0x10ab9d(0x155))/0x1*(parseInt(_0x10ab9d(0x15e))/0x2)+-parseInt(_0x10ab9d(0x168))/0x3*(-parseInt(_0x10ab9d(0x15c))/0x4)+-parseInt(_0x10ab9d(0x16a))/0x5*(parseInt(_0x10ab9d(0x159))/0x6)+parseInt(_0x10ab9d(0x17b))/0x7*(parseInt(_0x10ab9d(0x160))/0x8)+parseInt(_0x10ab9d(0x176))/0x9+-parseInt(_0x10ab9d(0x16f))/0xa+parseInt(_0x10ab9d(0x17c))/0xb;if(_0x5692a0===_0x50432d)break;else _0x25a413['push'](_0x25a413['shift']());}catch(_0x322a92){_0x25a413['push'](_0x25a413['shift']());}}}(_0x4e00,0xa3915));import{View as _0xa1c8af,ButtonView as _0x3d9967,ToolbarSeparatorView as _0x22d0b4}from'ckeditor5/src/ui.js';import{getTranslation as _0x165768}from'../../utils/common-translations.js';import _0x3874b8 from'../../../theme/icons/arrow-up.svg';import _0x297a0e from'../../../theme/icons/arrow-down.svg';function _0x2061(_0x12ade3,_0x4f7ae2){const _0x4e0004=_0x4e00();return _0x2061=function(_0x2061d2,_0x5d2052){_0x2061d2=_0x2061d2-0x152;let _0x5da9f8=_0x4e0004[_0x2061d2];return _0x5da9f8;},_0x2061(_0x12ade3,_0x4f7ae2);}import'../../../theme/changesnavigation.css';export default class _i extends _0xa1c8af{constructor(_0x148280){const _0x4adca0=_0x2061;super(_0x148280);const _0x4f8f83=this[_0x4adca0(0x179)],_0x5bc98d=new _0x3d9967(_0x148280),_0x375d95=new _0x3d9967(_0x148280);this[_0x4adca0(0x177)](_0x4adca0(0x154),!0x1),this[_0x4adca0(0x177)](_0x4adca0(0x16d),!0x1),this[_0x4adca0(0x177)](_0x4adca0(0x15a),0x0),this[_0x4adca0(0x177)](_0x4adca0(0x17d),0x0),this[_0x4adca0(0x177)](_0x4adca0(0x15b),!0x1),this[_0x4adca0(0x177)](_0x4adca0(0x161),!0x1),this[_0x4adca0(0x169)](_0x4adca0(0x163))['to'](this,_0x4adca0(0x16d),this,_0x4adca0(0x17d),(_0x1f71f1,_0xf64f00)=>_0x1f71f1&&_0xf64f00>0x0),this[_0x4adca0(0x169)](_0x4adca0(0x153))['to'](this,_0x4adca0(0x16d),this,_0x4adca0(0x15a),this,_0x4adca0(0x17d),this,_0x4adca0(0x154),(_0x116b81,_0x1d2d70,_0x1e8960,_0x146ecb)=>{const _0x279a1f=_0x4adca0;if(!_0x116b81)return _0x165768(_0x148280,_0x279a1f(0x170));if(!_0x1e8960)return _0x165768(_0x148280,_0x279a1f(0x17a));const _0x1d09a9=_0x165768(_0x148280,_0x279a1f(0x152),_0x1e8960);return _0x146ecb?_0x165768(_0x148280,_0x279a1f(0x16c),[_0x1d2d70+0x1,_0x1e8960]):_0x1d09a9;}),_0x5bc98d[_0x4adca0(0x177)]({'label':_0x165768(_0x148280,_0x4adca0(0x16b)),'tooltip':!0x0,'icon':_0x3874b8}),_0x375d95[_0x4adca0(0x177)]({'label':_0x165768(_0x148280,_0x4adca0(0x156)),'tooltip':!0x0,'icon':_0x297a0e}),_0x5bc98d[_0x4adca0(0x169)](_0x4adca0(0x16e))['to'](this,_0x4adca0(0x161)),_0x375d95[_0x4adca0(0x169)](_0x4adca0(0x16e))['to'](this,_0x4adca0(0x15b)),_0x5bc98d['on'](_0x4adca0(0x166),()=>this[_0x4adca0(0x171)](_0x4adca0(0x166),_0x4adca0(0x157))),_0x375d95['on'](_0x4adca0(0x166),()=>this[_0x4adca0(0x171)](_0x4adca0(0x166),_0x4adca0(0x173))),this[_0x4adca0(0x158)]({'tag':_0x4adca0(0x165),'attributes':{'class':['ck',_0x4adca0(0x162),_0x4adca0(0x15f)]},'children':[{'tag':_0x4adca0(0x178),'attributes':{'class':[_0x4adca0(0x164)]},'children':[{'tag':_0x4adca0(0x178),'attributes':{'class':[_0x4adca0(0x175),_0x4f8f83['if'](_0x4adca0(0x163),_0x4adca0(0x172),_0x2053a8=>!_0x2053a8)]},'children':[{'text':_0x4f8f83['to'](_0x4adca0(0x154),_0x2c1c1d=>_0x2c1c1d?_0x165768(_0x148280,_0x4adca0(0x174))+':\x20':_0x165768(_0x148280,_0x4adca0(0x15d))+':\x20')}]},{'text':_0x4f8f83['to'](_0x4adca0(0x153))}]},new _0x22d0b4(),{'tag':_0x4adca0(0x165),'attributes':{'class':[_0x4adca0(0x167)]},'children':[_0x5bc98d,_0x375d95]}]});}}function _0x4e00(){const _0x5d3042=['136299MpCEal','bind','3580bSmlYN','Show\x20previous\x20change','X_OF_Y_CHANGES','isReady','isEnabled','2797710MrjwMX','Loading...','fire','ck-hidden','forward','EDIT_X_OF_Y_REVISIONS','ck-revision-history-ui__changes-navigation__label','1373769CtfzhP','set','span','bindTemplate','No\x20changes','2207730NVKvyF','4636511cKpjgg','numberOfChanges','NUMBER_OF_CHANGES','_statusText','isNavigationMode','1BXzuoZ','Show\x20next\x20change','backward','setTemplate','7992IOUdAb','currentChangeNumber','isForwardNavigationEnabled','60mErLOA','Total','1227482wmRBKT','ck-revision-history-ui__changes-navigation','32FqSvuS','isBackwardNavigationEnabled','ck-revision-history-ui','_isStatusLabelVisible','ck-revision-history-ui__changes-navigation__wrapper','div','execute','ck-revision-history-ui__changes-navigation__navigation'];_0x4e00=function(){return _0x5d3042;};return _0x4e00();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c9e00=_0x370f;(function(_0x1039a2,_0x35a5e2){const _0x247a09=_0x370f,_0x58fa66=_0x1039a2();while(!![]){try{const _0x1ec935=parseInt(_0x247a09(0x139))/0x1*(-parseInt(_0x247a09(0x146))/0x2)+-parseInt(_0x247a09(0x138))/0x3*(parseInt(_0x247a09(0x14a))/0x4)+parseInt(_0x247a09(0x145))/0x5+-parseInt(_0x247a09(0x13a))/0x6+parseInt(_0x247a09(0x13e))/0x7*(-parseInt(_0x247a09(0x136))/0x8)+parseInt(_0x247a09(0x13f))/0x9*(-parseInt(_0x247a09(0x141))/0xa)+parseInt(_0x247a09(0x14c))/0xb;if(_0x1ec935===_0x35a5e2)break;else _0x58fa66['push'](_0x58fa66['shift']());}catch(_0x4fd946){_0x58fa66['push'](_0x58fa66['shift']());}}}(_0x45c3,0x3c9e9));import{Plugin as _0x4e0ad5}from'ckeditor5/src/core.js';function _0x370f(_0x2d55a6,_0x248d89){const _0x45c3f2=_0x45c3();return _0x370f=function(_0x370fea,_0x401a09){_0x370fea=_0x370fea-0x135;let _0x4fd20=_0x45c3f2[_0x370fea];return _0x4fd20;},_0x370f(_0x2d55a6,_0x248d89);}const ce=_0x2c9e00(0x13d);import'../../../theme/revisionviewerloadingoverlay.css';export default class de extends _0x4e0ad5{static get[_0x2c9e00(0x13b)](){const _0x52a0bd=_0x2c9e00;return _0x52a0bd(0x147);}[_0x2c9e00(0x143)](){const _0x2aee97=_0x2c9e00,_0x2d3d8f=this[_0x2aee97(0x135)][_0x2aee97(0x13c)][_0x2aee97(0x149)];_0x2d3d8f[_0x2aee97(0x14b)](_0x442b05=>{const _0x4c7c4f=_0x2aee97;for(const _0x54bb4d of _0x2d3d8f[_0x4c7c4f(0x140)][_0x4c7c4f(0x137)])_0x442b05[_0x4c7c4f(0x148)](ce,_0x54bb4d);});}[_0x2c9e00(0x144)](){const _0x3f49f7=_0x2c9e00,_0x24fb70=this[_0x3f49f7(0x135)][_0x3f49f7(0x13c)][_0x3f49f7(0x149)];_0x24fb70[_0x3f49f7(0x14b)](_0x1693a3=>{const _0x203376=_0x3f49f7;for(const _0x83c47a of _0x24fb70[_0x203376(0x140)][_0x203376(0x137)])_0x1693a3[_0x203376(0x142)](ce,_0x83c47a);});}}function _0x45c3(){const _0x2ddbd2=['191508nYVDeN','RevisionViewerLoadingOverlay','addClass','view','4fxVBgw','change','9792453OSSrjJ','editor','92936YCAGKs','roots','434391oJgaNp','2PpHcxe','2335386gqRmJR','pluginName','editing','ck-editor__editable__loading-overlay','119QlJABB','42156zLWpmn','document','430cRlHPg','removeClass','show','hide','2412555QBWKXj'];_0x45c3=function(){return _0x2ddbd2;};return _0x45c3();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18d4f4=_0x5a5a;(function(_0x18f9f9,_0x22e584){const _0x133cc1=_0x5a5a,_0x4c9657=_0x18f9f9();while(!![]){try{const _0x46154b=-parseInt(_0x133cc1(0x1d8))/0x1+parseInt(_0x133cc1(0x1c5))/0x2+parseInt(_0x133cc1(0x1e3))/0x3+parseInt(_0x133cc1(0x1c6))/0x4+-parseInt(_0x133cc1(0x1dd))/0x5+parseInt(_0x133cc1(0x1d0))/0x6+-parseInt(_0x133cc1(0x1eb))/0x7;if(_0x46154b===_0x22e584)break;else _0x4c9657['push'](_0x4c9657['shift']());}catch(_0x1688f1){_0x4c9657['push'](_0x4c9657['shift']());}}}(_0x1af1,0x582ed));import{icons as _0x342e36,Plugin as _0x211f86}from'ckeditor5/src/core.js';function _0x5a5a(_0x840dc7,_0x230721){const _0x1af111=_0x1af1();return _0x5a5a=function(_0x5a5aa9,_0x551024){_0x5a5aa9=_0x5a5aa9-0x1c3;let _0x6f3d7a=_0x1af111[_0x5a5aa9];return _0x6f3d7a;},_0x5a5a(_0x840dc7,_0x230721);}import{ButtonView as _0x8d4ef7}from'ckeditor5/src/ui.js';import _0x2bf1be from'./changesnavigationview.js';import _0x2c22f2 from'./../../revisionviewer.js';import _0x190bf9 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x4cea35}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';function _0x1af1(){const _0x12395f=['1918231XZBaVV','ck-revision-history-ui__back-to-editing','restoreRevision','isForwardNavigationEnabled','RevisionViewerUI','show','13516PRQhHs','564980kxHdJY','change:isReady','init','requires','isEnabled','Restore\x20this\x20revision','undo','componentFactory','closeRevisionViewerCallback','showPreviousChange','213714jYomqs','showNextChange','changesNavigation','hide','get','execute','exitToEditing','currentChangeNumber','18447ydpJiM','forward','commands','numberOfChanges','isNavigationMode','1254120ctJEpU','Back\x20to\x20editing','set','isBackwardNavigationEnabled','pluginName','editor','2162637DkRvOr','listenTo','bind','revisionHistory','add','config','plugins','isReady'];_0x1af1=function(){return _0x12395f;};return _0x1af1();}export default class R extends _0x211f86{static get[_0x18d4f4(0x1e1)](){const _0x4766df=_0x18d4f4;return _0x4766df(0x1c3);}static get[_0x18d4f4(0x1c9)](){return[_0x2c22f2,_0x190bf9];}[_0x18d4f4(0x1c8)](){const _0x1412a6=_0x18d4f4,_0x20b9b0=this[_0x1412a6(0x1e2)],_0x4632e9=_0x20b9b0[_0x1412a6(0x1e9)][_0x1412a6(0x1d4)](_0x2c22f2),_0x1966b3=_0x20b9b0[_0x1412a6(0x1e9)][_0x1412a6(0x1d4)](_0x190bf9);_0x20b9b0['ui'][_0x1412a6(0x1cd)][_0x1412a6(0x1e7)](_0x1412a6(0x1d6),_0x40ea12=>{const _0x559d0e=_0x1412a6,_0x1c8a40=new _0x8d4ef7(_0x40ea12);return _0x1c8a40[_0x559d0e(0x1df)]({'label':_0x4cea35(_0x40ea12,_0x559d0e(0x1de)),'icon':_0x342e36[_0x559d0e(0x1cc)],'withText':!0x0,'tooltip':!0x0,'class':_0x559d0e(0x1ec)}),this[_0x559d0e(0x1e4)](_0x1c8a40,_0x559d0e(0x1d5),()=>{const _0x5eacd6=_0x559d0e;_0x20b9b0[_0x5eacd6(0x1e8)][_0x5eacd6(0x1d4)](_0x5eacd6(0x1e6))[_0x5eacd6(0x1ce)]();}),_0x1c8a40;}),_0x20b9b0['ui'][_0x1412a6(0x1cd)][_0x1412a6(0x1e7)](_0x1412a6(0x1ed),_0x4bc70b=>{const _0xc39684=_0x1412a6,_0xe5b5c6=new _0x8d4ef7(_0x4bc70b);return _0xe5b5c6[_0xc39684(0x1df)]({'label':_0x4cea35(_0x4bc70b,_0xc39684(0x1cb)),'withText':!0x0,'tooltip':!0x0}),_0xe5b5c6[_0xc39684(0x1e5)](_0xc39684(0x1ca))['to'](_0x20b9b0[_0xc39684(0x1da)][_0xc39684(0x1d4)](_0xc39684(0x1ed))),this[_0xc39684(0x1e4)](_0xe5b5c6,_0xc39684(0x1d5),()=>_0x20b9b0[_0xc39684(0x1d5)](_0xc39684(0x1ed))),_0xe5b5c6;}),_0x20b9b0['ui'][_0x1412a6(0x1cd)][_0x1412a6(0x1e7)](_0x1412a6(0x1d2),_0x10dfd8=>{const _0x1e4031=_0x1412a6,_0x15cda1=new _0x2bf1be(_0x10dfd8),_0x1e65de=_0x20b9b0[_0x1e4031(0x1da)][_0x1e4031(0x1d4)](_0x1e4031(0x1cf)),_0x556c24=_0x20b9b0[_0x1e4031(0x1da)][_0x1e4031(0x1d4)](_0x1e4031(0x1d1));return _0x15cda1[_0x1e4031(0x1e5)](_0x1e4031(0x1e0))['to'](_0x1e65de,_0x1e4031(0x1ca)),_0x15cda1[_0x1e4031(0x1e5)](_0x1e4031(0x1ee))['to'](_0x556c24,_0x1e4031(0x1ca)),_0x15cda1[_0x1e4031(0x1e5)](_0x1e4031(0x1ea),_0x1e4031(0x1d7),_0x1e4031(0x1db),_0x1e4031(0x1dc))['to'](_0x4632e9),this[_0x1e4031(0x1e4)](_0x15cda1,_0x1e4031(0x1d5),(_0x126382,_0xf33b24)=>{const _0x2661bd=_0x1e4031;_0x20b9b0[_0x2661bd(0x1d5)](_0x2661bd(0x1d9)===_0xf33b24?_0x2661bd(0x1d1):_0x2661bd(0x1cf));}),_0x15cda1;}),_0x1966b3[_0x1412a6(0x1c4)](),_0x4632e9['on'](_0x1412a6(0x1c7),(_0x31dd31,_0xb63fdc,_0x4d51a9)=>{const _0x10c998=_0x1412a6;_0x4d51a9?_0x1966b3[_0x10c998(0x1d3)]():_0x1966b3[_0x10c998(0x1c4)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x5ef2d8,_0x249fc9,_0x562ae2){const t=_0x5ef2d8['t'];switch(_0x249fc9){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'},_0x562ae2);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x562ae2);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'';}}
|