@ckeditor/ckeditor5-revision-history 41.3.0 → 41.4.0-alpha.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/dist/index-content.css +46 -0
- package/dist/index-editor.css +434 -0
- package/dist/index.css +754 -0
- package/dist/index.js +23 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/ku.d.ts +8 -0
- package/dist/translations/ku.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/types/augmentation.d.ts +33 -0
- package/dist/types/changeitem.d.ts +62 -0
- package/dist/types/editor/revisionviewereditor.d.ts +31 -0
- package/dist/types/editor/revisionviewereditorui.d.ts +32 -0
- package/dist/types/editor/revisionviewereditoruiview.d.ts +47 -0
- package/dist/types/index.d.ts +19 -0
- package/dist/types/revision.d.ts +157 -0
- package/dist/types/revisiondiff.d.ts +28 -0
- package/dist/types/revisionhistory.d.ts +103 -0
- package/dist/types/revisionhistoryadapter.d.ts +68 -0
- package/dist/types/revisionhistoryconfig.d.ts +75 -0
- package/dist/types/revisionsrepository.d.ts +56 -0
- package/dist/types/revisiontracker.d.ts +89 -0
- package/dist/types/revisionviewer.d.ts +29 -0
- package/dist/types/ui/revision/createrevisionactionsdropdown.d.ts +14 -0
- package/dist/types/ui/revision/revisionauthorview.d.ts +9 -0
- package/dist/types/ui/revision/revisionnameview.d.ts +9 -0
- package/dist/types/ui/revision/revisionview.d.ts +99 -0
- package/dist/types/ui/revision/subrevisioncollapserview.d.ts +25 -0
- package/dist/types/ui/revision/subrevisionview.d.ts +38 -0
- package/dist/types/ui/revision/utils.d.ts +9 -0
- package/dist/types/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +61 -0
- package/dist/types/ui/revisionhistory/revisionhistoryui.d.ts +30 -0
- package/dist/types/ui/revisionssidebar/revisionssidebar.d.ts +48 -0
- package/dist/types/ui/revisionssidebar/revisionssidebarheaderview.d.ts +9 -0
- package/dist/types/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +33 -0
- package/dist/types/ui/revisionssidebar/revisionssidebarview.d.ts +48 -0
- package/dist/types/ui/revisionssidebar/utils.d.ts +13 -0
- package/dist/types/ui/revisionviewer/changedetailsview.d.ts +26 -0
- package/dist/types/ui/revisionviewer/changesnavigationview.d.ts +44 -0
- package/dist/types/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +30 -0
- package/dist/types/ui/revisionviewer/revisionviewerui.d.ts +32 -0
- package/dist/types/utils/common-translations.d.ts +15 -0
- package/package.json +6 -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.d.ts +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x356c2b=_0x528c;(function(_0x1652a4,_0x415981){const _0x54ebab=_0x528c,_0x52e6d1=_0x1652a4();while(!![]){try{const _0x6ec71b=parseInt(_0x54ebab(0x1c8))/0x1+-parseInt(_0x54ebab(0x1d9))/0x2*(-parseInt(_0x54ebab(0x1d5))/0x3)+-parseInt(_0x54ebab(0x1c9))/0x4*(parseInt(_0x54ebab(0x1b3))/0x5)+parseInt(_0x54ebab(0x1db))/0x6+parseInt(_0x54ebab(0x1c4))/0x7+-parseInt(_0x54ebab(0x1cd))/0x8+-parseInt(_0x54ebab(0x1d8))/0x9;if(_0x6ec71b===_0x415981)break;else _0x52e6d1['push'](_0x52e6d1['shift']());}catch(_0x42e4ca){_0x52e6d1['push'](_0x52e6d1['shift']());}}}(_0x4e5e,0x1ceaf));import{LabeledFieldView as _0x29ab3f,View as _0x11dac4,createLabeledInputText as _0x4a9d7d,injectCssTransitionDisabler as _0x65760c,submitHandler as _0x537374}from'ckeditor5/src/ui.js';function _0x4e5e(){const _0x4c924d=['form','1024968vZAaRR','220','label','ck-responsive-form','232933ifJxNQ','860744SfYOBV','value','trim','stopPropagation','1740784kNGVCO','element','render','focus','keystrokes','errorText','arrowdown','_createRevisionNameInput','6epciAI','setTemplate','fieldView','929178laOvfU','70022pfxepD','focusTracker','1230564tHQzcH','reset','5NMlQgE','add','arrowleft','set','extendTemplate','revisionNameInputValue','Name\x20of\x20the\x20revision','arrowright','input','revisionNameInputView','listenTo','arrowup','revisionName','ck-revision-history-save-revision-form','optional','locale'];_0x4e5e=function(){return _0x4c924d;};return _0x4e5e();}import{FocusTracker as _0x168c0a,KeystrokeHandler as _0xa62db8}from'ckeditor5/src/utils.js';import{getTranslation as _0x53f0e2}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';function _0x528c(_0x25817c,_0x5592a6){const _0x4e5ea5=_0x4e5e();return _0x528c=function(_0x528cb6,_0x577573){_0x528cb6=_0x528cb6-0x1b3;let _0x3e125e=_0x4e5ea5[_0x528cb6];return _0x3e125e;},_0x528c(_0x25817c,_0x5592a6);}export default class ns extends _0x11dac4{constructor(_0x5ee9ce,_0x495df6){const _0x26fbab=_0x528c;super(_0x5ee9ce),this[_0x26fbab(0x1da)]=new _0x168c0a(),this[_0x26fbab(0x1d1)]=new _0xa62db8(),this[_0x26fbab(0x1b6)](_0x26fbab(0x1b8),''),this[_0x26fbab(0x1bc)]=this[_0x26fbab(0x1d4)](_0x495df6),this[_0x26fbab(0x1d6)]({'tag':_0x26fbab(0x1c3),'attributes':{'class':['ck',_0x26fbab(0x1c0),_0x26fbab(0x1c7)],'tabindex':'-1'},'children':[this[_0x26fbab(0x1bc)]]}),_0x65760c(this);}[_0x356c2b(0x1cf)](){const _0x495aac=_0x356c2b;super[_0x495aac(0x1cf)](),_0x537374({'view':this}),this[_0x495aac(0x1da)][_0x495aac(0x1b4)](this[_0x495aac(0x1bc)][_0x495aac(0x1ce)]),this[_0x495aac(0x1d1)][_0x495aac(0x1bd)](this[_0x495aac(0x1ce)]);const _0x100150=_0x1f54bf=>_0x1f54bf[_0x495aac(0x1cc)]();this[_0x495aac(0x1d1)][_0x495aac(0x1b6)](_0x495aac(0x1ba),_0x100150),this[_0x495aac(0x1d1)][_0x495aac(0x1b6)](_0x495aac(0x1b5),_0x100150),this[_0x495aac(0x1d1)][_0x495aac(0x1b6)](_0x495aac(0x1be),_0x100150),this[_0x495aac(0x1d1)][_0x495aac(0x1b6)](_0x495aac(0x1d3),_0x100150);}[_0x356c2b(0x1d0)](){const _0x452f4f=_0x356c2b;this[_0x452f4f(0x1bc)][_0x452f4f(0x1d0)]();}get[_0x356c2b(0x1bf)](){const _0x493056=_0x356c2b;return this[_0x493056(0x1bc)][_0x493056(0x1d7)][_0x493056(0x1ce)][_0x493056(0x1ca)][_0x493056(0x1cb)]();}set[_0x356c2b(0x1bf)](_0x2d93b0){const _0x4525a8=_0x356c2b;this[_0x4525a8(0x1bc)][_0x4525a8(0x1d7)][_0x4525a8(0x1ce)][_0x4525a8(0x1ca)]=_0x2d93b0[_0x4525a8(0x1cb)]();}[_0x356c2b(0x1dc)](){const _0x38b1cc=_0x356c2b;this[_0x38b1cc(0x1bc)][_0x38b1cc(0x1d7)][_0x38b1cc(0x1ce)][_0x38b1cc(0x1ca)]='',this[_0x38b1cc(0x1bc)][_0x38b1cc(0x1d2)]=null;}[_0x356c2b(0x1d4)](_0x3ce322){const _0x1841f1=_0x356c2b,_0x522c08=new _0x29ab3f(this[_0x1841f1(0x1c2)],_0x4a9d7d),_0x51d0a9=_0x522c08[_0x1841f1(0x1d7)];_0x51d0a9[_0x1841f1(0x1b7)]({'attributes':{'maxlength':_0x1841f1(0x1c5)}});let _0x287af4=_0x53f0e2(this[_0x1841f1(0x1c2)],_0x1841f1(0x1b9));return!_0x3ce322&&(_0x287af4+='\x20('+_0x53f0e2(this[_0x1841f1(0x1c2)],_0x1841f1(0x1c1))+')'),(_0x522c08[_0x1841f1(0x1c6)]=_0x287af4,_0x51d0a9['on'](_0x1841f1(0x1bb),()=>{const _0x3394e3=_0x1841f1;this[_0x3394e3(0x1b8)]=_0x51d0a9[_0x3394e3(0x1ce)][_0x3394e3(0x1ca)][_0x3394e3(0x1cb)]();}),_0x522c08);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x5bd7ae,icons as _0x2134f6}from'ckeditor5/src/core.js';import{createDropdown as _0x45c48c,ButtonView as _0x140a22,ListItemView as _0x37a582,ListView as te,MenuBarMenuListItemButtonView as _0x1ac539,MenuBarMenuListItemView as _0x26f494,MenuBarMenuListView as _0x573111,MenuBarMenuView as _0x226e01}from'ckeditor5/src/ui.js';import _0x52eaef from'../../revisiontracker.js';import _0x148134 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x39624f}from'../../utils/common-translations.js';export default class u extends _0x5bd7ae{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[_0x52eaef];}['init'](){const _0x59d04d=this['editor'],_0x4232b1=_0x59d04d['plugins']['get']('RevisionTracker');_0x59d04d['ui']['componentFactory']['add']('revisionHistory',_0x6436d1=>{const _0x279bfc=_0x45c48c(_0x6436d1),_0x1e3632=_0x279bfc['panelView']['children'],_0xae7ff1=new te(_0x6436d1),_0x14aca4=new _0x37a582(_0x6436d1),_0x5f3285=new _0x140a22(_0x6436d1),_0x5a86f7=new _0x37a582(_0x6436d1),_0x1a8102=new _0x140a22(_0x6436d1);return _0x279bfc['bind']('isEnabled')['to'](_0x4232b1,'isReady',_0x4232b1,'isEnabled',_0x59d04d,'isReadOnly',(_0x50f7d3,_0x42abef,_0x166088)=>_0x50f7d3&&_0x42abef&&!_0x166088),_0x279bfc['buttonView']['set']({'icon':_0x2134f6['history'],'label':_0x39624f(_0x6436d1,'Revision\x20history'),'tooltip':!0x0}),_0x5f3285['set']({'label':_0x39624f(_0x6436d1,'Save\x20current\x20revision'),'withText':!0x0}),_0x5f3285['bind']('isEnabled')['to'](_0x4232b1,'isReady',_0x4232b1,'isEnabled',_0x59d04d,'isReadOnly',(_0x24c5e6,_0x2fd584,_0x43ff38)=>_0x24c5e6&&_0x2fd584&&!_0x43ff38),_0x5f3285['on']('execute',()=>this['_showDialog']()),_0x1a8102['set']({'label':_0x39624f(_0x6436d1,'Open\x20revision\x20history'),'withText':!0x0}),_0x1a8102['bind']('isEnabled')['to'](_0x4232b1,'isReady',_0x59d04d,'isReadOnly',(_0x531f1e,_0x25d846)=>_0x531f1e&&!_0x25d846),_0x1a8102['on']('execute',()=>{_0x59d04d['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x279bfc['isOpen']=!0x1,_0x59d04d['editing']['view']['focus']();}),_0x14aca4['children']['add'](_0x5f3285),_0x5a86f7['children']['add'](_0x1a8102),_0xae7ff1['items']['addMany']([_0x14aca4,_0x5a86f7]),_0x1e3632['add'](_0xae7ff1),_0x279bfc;}),_0x59d04d['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x131e2e=this['editor'],_0x258741=_0x131e2e['locale'],_0x5da6c7=new _0x226e01(_0x258741),_0x2ac350=new _0x573111(_0x258741);_0x5da6c7['buttonView']['set']({'icon':_0x2134f6['history'],'label':_0x39624f(_0x258741,'Revision\x20history')});const _0x3c759a=new _0x26f494(_0x258741,_0x5da6c7),_0x53b061=new _0x1ac539(_0x258741);_0x53b061['set']({'label':_0x39624f(_0x258741,'Save\x20current\x20revision')}),_0x53b061['delegate']('execute')['to'](_0x5da6c7),_0x53b061['on']('execute',()=>{this['_showDialog']();}),_0x3c759a['children']['add'](_0x53b061),_0x2ac350['items']['add'](_0x3c759a);const _0x3ec4b6=new _0x26f494(_0x258741,_0x5da6c7),_0x133016=new _0x1ac539(_0x258741);return _0x133016['set']({'label':_0x39624f(_0x258741,'Open\x20revision\x20history')}),_0x133016['delegate']('execute')['to'](_0x5da6c7),_0x133016['on']('execute',()=>{_0x131e2e['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x3ec4b6['children']['add'](_0x133016),_0x2ac350['items']['add'](_0x3ec4b6),_0x5da6c7['panelView']['children']['add'](_0x2ac350),_0x5da6c7;}['_showDialog'](){const _0x38d222=this['editor'],_0x57f778=_0x38d222['locale'],t=_0x57f778['t'],_0x4c40e0=_0x38d222['plugins']['get']('Dialog'),_0x633e08=_0x38d222['plugins']['get']('RevisionTracker');function _0x47c308(_0x5d130e){_0x38d222['config']['get']('revisionHistory.requireRevisionName')&&''===_0x5d130e['revisionName']?_0x5d130e['revisionNameInputView']['errorText']=_0x39624f(_0x57f778,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x38d222['plugins']['get'](_0x52eaef)['saveRevision']({'name':_0x5d130e['revisionName']}),_0x4c40e0['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x47c308(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x4c40e0['show']({'id':'findAndReplace','title':_0x39624f(_0x57f778,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x4c40e0['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x2aa477){_0x2aa477['bind']('isEnabled')['to'](_0x633e08,'isReady',_0x633e08,'isEnabled',_0x38d222,'isReadOnly',(_0x1ede6d,_0x22333f,_0x44eea3)=>_0x1ede6d&&_0x22333f&&!_0x44eea3);},'onExecute':()=>_0x47c308(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x10ad72=this['editor'],_0x27664e=_0x10ad72['locale'];this['_saveRevisionFormView']=new _0x148134(_0x27664e,_0x10ad72['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2609(){const _0x104e8c=['config','getRevisionsInDiff','ready','string','bind','render','revisionHistory.viewerSidebarContainer','add','get','assign','action','revisionHistory.revisionActions','restoreRevisionCallback','revisionSetName','revisionHistory','select','repository','highlightRevisions','setName','length','defaultRevisionActions','377808Zaicsl','name','4078290vrvELt','_handleEditorDataReady','4568904WHYHoO','compareAgainstSelected','data','4012939KxqBbu','Compare\x20against\x20selected','appendChild','68946KIMHgZ','isVisible','plugins','getLaterVisibleRevision','newRevisionId','isReady','remove','selectRevision','restoreRevision','destroy','pluginName','timePeriodViews','Name\x20this\x20revision','editor','_sidebarView','change:diff','392cmRyzY','isEnabled','getIndex','_handleRevisionSelected','diff','listenTo','revisionHistory.requireRevisionName','revisionViews','compare','nameRevision','requires','element','fieldView','getEarlierVisibleRevision','revisionSelected','14094LjaRqE','isSelected','focus','Restore\x20this\x20revision','map','getRevision','availableRevisionActions','_revisions','_handleDiffChange','locale','45eRqjxm','_createRevisionActions','_revisionViewer','RevisionsSidebar','_revisionsRepository','453771LVbFOf','_handleRevisionSetName','init','45atCYvj'];_0x2609=function(){return _0x104e8c;};return _0x2609();}const _0x15db55=_0x5dbb;(function(_0x4455d3,_0x38fe18){const _0x4c29bd=_0x5dbb,_0x5189ee=_0x4455d3();while(!![]){try{const _0x2d5d90=parseInt(_0x4c29bd(0xf4))/0x1+-parseInt(_0x4c29bd(0xc6))/0x2+parseInt(_0x4c29bd(0xe5))/0x3*(-parseInt(_0x4c29bd(0xd6))/0x4)+parseInt(_0x4c29bd(0xf7))/0x5*(-parseInt(_0x4c29bd(0xbc))/0x6)+-parseInt(_0x4c29bd(0xc3))/0x7+-parseInt(_0x4c29bd(0xc0))/0x8+parseInt(_0x4c29bd(0xef))/0x9*(parseInt(_0x4c29bd(0xbe))/0xa);if(_0x2d5d90===_0x38fe18)break;else _0x5189ee['push'](_0x5189ee['shift']());}catch(_0x4d10cc){_0x5189ee['push'](_0x5189ee['shift']());}}}(_0x2609,0x460d9));function _0x5dbb(_0x5c46ed,_0x4eeb93){const _0x260926=_0x2609();return _0x5dbb=function(_0x5dbb32,_0x4bbf92){_0x5dbb32=_0x5dbb32-0xb5;let _0x28d613=_0x260926[_0x5dbb32];return _0x28d613;},_0x5dbb(_0x5c46ed,_0x4eeb93);}import{Plugin as _0x314707}from'ckeditor5/src/core.js';import _0x91115f from'./revisionssidebarview.js';import _0x189db1 from'../../revisionviewer.js';export default class w extends _0x314707{static get[_0x15db55(0xd0)](){const _0x11948c=_0x15db55;return _0x11948c(0xf2);}static get[_0x15db55(0xe0)](){return[_0x189db1];}constructor(_0x481461){const _0x1002dc=_0x15db55;super(_0x481461),this[_0x1002dc(0xf1)]=_0x481461[_0x1002dc(0xc8)][_0x1002dc(0x100)](_0x189db1),this[_0x1002dc(0xf3)]=this[_0x1002dc(0xf1)][_0x1002dc(0xb7)],this[_0x1002dc(0xd4)]=null;}[_0x15db55(0xf6)](){const _0x184c85=_0x15db55,_0x565742=this[_0x184c85(0xf3)][_0x184c85(0xec)],_0x367ca9=this[_0x184c85(0xf0)](),_0x4b9a54=this[_0x184c85(0xd3)][_0x184c85(0xf8)][_0x184c85(0x100)](_0x184c85(0xfe));this[_0x184c85(0xd4)]=new _0x91115f(this[_0x184c85(0xd3)][_0x184c85(0xee)],_0x565742,_0x367ca9,this[_0x184c85(0xd3)][_0x184c85(0xf8)][_0x184c85(0x100)](_0x184c85(0xdc))),this[_0x184c85(0xd4)]['on'](_0x184c85(0xe4),this[_0x184c85(0xd9)][_0x184c85(0xfc)](this)),this[_0x184c85(0xd4)]['on'](_0x184c85(0x105),this[_0x184c85(0xf5)][_0x184c85(0xfc)](this)),this[_0x184c85(0xd4)][_0x184c85(0xfc)](_0x184c85(0xd7))['to'](this[_0x184c85(0xf1)]),this[_0x184c85(0xd4)][_0x184c85(0xd1)]['on'](_0x184c85(0xff),(_0x530711,_0x4982f3)=>{const _0x3ed12e=_0x184c85;_0x4982f3[_0x3ed12e(0xdd)]['on'](_0x3ed12e(0xff),(_0x1defe6,_0xe2685c)=>{const _0x4fbbcf=_0x3ed12e;_0xe2685c[_0x4fbbcf(0xfc)](_0x4fbbcf(0xd7),_0x4fbbcf(0xcb))['to'](this[_0x4fbbcf(0xf1)]);});}),this[_0x184c85(0xd4)][_0x184c85(0xfd)](),this[_0x184c85(0xdb)](this[_0x184c85(0xd3)][_0x184c85(0xc2)],_0x184c85(0xfa),this[_0x184c85(0xbf)][_0x184c85(0xfc)](this)),this[_0x184c85(0xdb)](this[_0x184c85(0xf1)],_0x184c85(0xd5),this[_0x184c85(0xed)][_0x184c85(0xfc)](this)),_0x4b9a54[_0x184c85(0xc5)](this[_0x184c85(0xd4)][_0x184c85(0xe1)]);}[_0x15db55(0xcf)](){const _0x4daa50=_0x15db55;this[_0x4daa50(0xd4)][_0x4daa50(0xe1)][_0x4daa50(0xcc)](),this[_0x4daa50(0xd4)][_0x4daa50(0xcf)]();}[_0x15db55(0xbf)](){const _0x1c8048=_0x15db55,_0x3e37dc=this[_0x1c8048(0xf3)][_0x1c8048(0xea)](0x0);if(_0x3e37dc){const _0x417a1b=this[_0x1c8048(0xf3)][_0x1c8048(0xe3)](_0x3e37dc['id']);this[_0x1c8048(0xf1)][_0x1c8048(0xde)](_0x3e37dc,_0x417a1b);}}[_0x15db55(0xd9)](_0x29a0b4,_0x1ec983){const _0xbd3f05=_0x15db55,_0x2db841=this[_0xbd3f05(0xf3)][_0xbd3f05(0xea)](_0x1ec983['id']),_0x55f195=this[_0xbd3f05(0xf3)][_0xbd3f05(0xe3)](_0x2db841['id']);this[_0xbd3f05(0xf1)][_0xbd3f05(0xde)](_0x2db841,_0x55f195);}[_0x15db55(0xf5)](_0x4ff176,_0x198e93){const _0x4d1b6c=_0x15db55;this[_0x4d1b6c(0xf3)][_0x4d1b6c(0xea)](_0x198e93['id'])[_0x4d1b6c(0xb9)](_0x198e93[_0x4d1b6c(0xbd)]);}[_0x15db55(0xed)](_0x3c97bb,_0x2ded64,_0x4e35d2){const _0x8f1953=_0x15db55,_0x2bc071=this[_0x8f1953(0xf3)][_0x8f1953(0xf9)](_0x4e35d2);_0x2bc071[_0x8f1953(0xba)]>0x2?(this[_0x8f1953(0xd4)][_0x8f1953(0xb8)](_0x2bc071),this[_0x8f1953(0xd4)][_0x8f1953(0xcd)](null)):(this[_0x8f1953(0xd4)][_0x8f1953(0xb8)]([]),this[_0x8f1953(0xd4)][_0x8f1953(0xcd)](_0x2bc071[0x0]));}[_0x15db55(0xf0)](){const _0x2f5280=_0x15db55,_0x513873=this[_0x2f5280(0xd3)],_0x57b075=w[_0x2f5280(0xeb)],_0x7f73e9=_0x513873[_0x2f5280(0xf8)][_0x2f5280(0x100)](_0x2f5280(0x103))||w[_0x2f5280(0xbb)];if(_0x7f73e9[_0x2f5280(0xba)])return _0x7f73e9[_0x2f5280(0xe9)](_0x175f04=>{const _0x1bb9f5=_0x2f5280,_0x16e30b=_0x1bb9f5(0xfb)==typeof _0x175f04?Object[_0x1bb9f5(0x101)]({},_0x57b075[_0x175f04]):_0x175f04;return _0x16e30b[_0x1bb9f5(0x102)]=_0x16e30b[_0x1bb9f5(0x102)][_0x1bb9f5(0xfc)](this,_0x513873),_0x16e30b[_0x1bb9f5(0xc7)]&&(_0x16e30b[_0x1bb9f5(0xc7)]=_0x16e30b[_0x1bb9f5(0xc7)][_0x1bb9f5(0xfc)](this,_0x513873)),_0x16e30b;});}}w[_0x15db55(0xeb)]={'compareAgainstSelected':{'name':_0x15db55(0xc4),'action':({plugins:_0x37512e},_0x4ccac0)=>{const _0x1ebdb6=_0x15db55,_0x2ecc79=_0x37512e[_0x1ebdb6(0x100)](_0x189db1),_0x4a41c7=_0x2ecc79[_0x1ebdb6(0xb7)];let _0x3cb5ab=_0x2ecc79[_0x1ebdb6(0xda)][_0x1ebdb6(0xca)],_0x405294=_0x4ccac0['id'];_0x4a41c7[_0x1ebdb6(0xd8)](_0x3cb5ab)>_0x4a41c7[_0x1ebdb6(0xd8)](_0x405294)&&([_0x3cb5ab,_0x405294]=[_0x405294,_0x3cb5ab]),_0x2ecc79[_0x1ebdb6(0xde)](_0x3cb5ab,_0x405294);},'isVisible':({plugins:_0x19d44b},_0x543a05)=>{const _0x329d53=_0x15db55,_0x191c1c=_0x19d44b[_0x329d53(0x100)](_0x189db1);return!(_0x191c1c[_0x329d53(0xb7)][_0x329d53(0xf9)](_0x191c1c[_0x329d53(0xda)])[_0x329d53(0xba)]>0x2)&&!_0x543a05[_0x329d53(0xe6)];}},'restoreRevision':{'name':_0x15db55(0xe8),'action':(_0x2c1fc4,{id:_0xff0b6f})=>{const _0x15f1e0=_0x15db55;_0x2c1fc4[_0x15f1e0(0xf8)][_0x15f1e0(0x100)](_0x15f1e0(0xb5))[_0x15f1e0(0x104)](_0xff0b6f);},'isVisible':({plugins:_0xc247e9},_0x2757b4)=>!!_0xc247e9[_0x15db55(0x100)](_0x189db1)[_0x15db55(0xb7)][_0x15db55(0xc9)](_0x2757b4['id'])},'nameRevision':{'name':_0x15db55(0xd2),'action':({plugins:_0x1d9d53},{id:_0x39eca2,revisionNameView:_0x2584fb})=>{const _0x5a6e0f=_0x15db55,_0x418ae1=_0x1d9d53[_0x5a6e0f(0x100)](_0x189db1),_0x28e947=_0x418ae1[_0x5a6e0f(0xb7)][_0x5a6e0f(0xe3)](_0x39eca2);_0x418ae1[_0x5a6e0f(0xde)](_0x39eca2,_0x28e947),_0x2584fb[_0x5a6e0f(0xe7)](),_0x2584fb[_0x5a6e0f(0xe2)][_0x5a6e0f(0xb6)]();}}},w[_0x15db55(0xbb)]=[_0x15db55(0xc1),_0x15db55(0xce),_0x15db55(0xdf)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x366d(_0x4ede94,_0x1423a1){const _0x121fbf=_0x121f();return _0x366d=function(_0x366d85,_0x25429f){_0x366d85=_0x366d85-0x139;let _0x44a0fe=_0x121fbf[_0x366d85];return _0x44a0fe;},_0x366d(_0x4ede94,_0x1423a1);}(function(_0x2e1b95,_0x1272a9){const _0x4d69d7=_0x366d,_0xcb2db=_0x2e1b95();while(!![]){try{const _0x4dc565=-parseInt(_0x4d69d7(0x13d))/0x1+-parseInt(_0x4d69d7(0x149))/0x2+-parseInt(_0x4d69d7(0x146))/0x3+-parseInt(_0x4d69d7(0x139))/0x4*(parseInt(_0x4d69d7(0x145))/0x5)+-parseInt(_0x4d69d7(0x13c))/0x6*(-parseInt(_0x4d69d7(0x141))/0x7)+-parseInt(_0x4d69d7(0x13a))/0x8+parseInt(_0x4d69d7(0x140))/0x9*(parseInt(_0x4d69d7(0x13e))/0xa);if(_0x4dc565===_0x1272a9)break;else _0xcb2db['push'](_0xcb2db['shift']());}catch(_0x13e5ae){_0xcb2db['push'](_0xcb2db['shift']());}}}(_0x121f,0x528b1));import{View as _0x111c9e,IconView as _0x8a94fa}from'ckeditor5/src/ui.js';import{getTranslation as _0xf17e91}from'../../utils/common-translations.js';import{icons as _0x337cdc}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';function _0x121f(){const _0x48d97e=['124025pqnRnr','793101uQhtNN','content','span','779356NoflNb','setTemplate','ck-revision-history-sidebar__header__label','44ESCLOC','678744zGZjFG','history','730092XxNqpi','302640NnGinw','1044070pMarLj','ck-revision-history-sidebar__header','90JKCCgL','35ngGkTL','div','ck-reset_all','Revision\x20history'];_0x121f=function(){return _0x48d97e;};return _0x121f();}export default class as extends _0x111c9e{constructor(_0x228c48){const _0x3c9246=_0x366d;super(_0x228c48);const _0x182bb7=new _0x8a94fa();_0x182bb7[_0x3c9246(0x147)]=_0x337cdc[_0x3c9246(0x13b)],this[_0x3c9246(0x14a)]({'tag':_0x3c9246(0x142),'attributes':{'class':['ck',_0x3c9246(0x143),_0x3c9246(0x13f)]},'children':[_0x182bb7,{'tag':_0x3c9246(0x148),'attributes':{'class':['ck',_0x3c9246(0x14b)]},'children':[_0xf17e91(_0x228c48,_0x3c9246(0x144))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3313a3=_0x33aa;(function(_0x228c22,_0xcd7105){const _0x4c55ab=_0x33aa,_0x4c601c=_0x228c22();while(!![]){try{const _0x1009c5=parseInt(_0x4c55ab(0xaa))/0x1+-parseInt(_0x4c55ab(0x9f))/0x2+-parseInt(_0x4c55ab(0xa8))/0x3+parseInt(_0x4c55ab(0x9a))/0x4*(parseInt(_0x4c55ab(0xae))/0x5)+-parseInt(_0x4c55ab(0xa7))/0x6+-parseInt(_0x4c55ab(0x98))/0x7*(-parseInt(_0x4c55ab(0xac))/0x8)+-parseInt(_0x4c55ab(0x9e))/0x9*(-parseInt(_0x4c55ab(0xb1))/0xa);if(_0x1009c5===_0xcd7105)break;else _0x4c601c['push'](_0x4c601c['shift']());}catch(_0x3922a2){_0x4c601c['push'](_0x4c601c['shift']());}}}(_0x3ca1,0x28444));function _0x33aa(_0x237076,_0x3d4047){const _0x3ca148=_0x3ca1();return _0x33aa=function(_0x33aa43,_0x52ddd8){_0x33aa43=_0x33aa43-0x98;let _0x3af242=_0x3ca148[_0x33aa43];return _0x3af242;},_0x33aa(_0x237076,_0x3d4047);}import{View as _0x1f50d7}from'ckeditor5/src/ui.js';import _0x3f060a from'../revision/revisionview.js';function _0x3ca1(){const _0x68a6e4=['span','2055iOpBxb','setTemplate','delegate','1270rDoWur','ck-revision-history-sidebar__time-period__revisions','revisionViews','select','uiLanguage','ck-revision-history-sidebar__time-period','addRevision','35ivILGz','removeRevision','768HYsRGw','startDate','_revisionActions','add','25731odHINw','402242zpRvQC','setName','ck-revision-history-sidebar__time-period__label','localizedPeriodName','remove','find','_requireRevisionName','locale','1180728AQQsKJ','205638qzUotl','createCollection','81267riACkE','div','172984PGtPuQ'];_0x3ca1=function(){return _0x68a6e4;};return _0x3ca1();}import{getDateTimePeriodInfo as _0x15740f}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class mi extends _0x1f50d7{constructor(_0xaced11,_0x2fe772,_0x556874,_0x50be20){const _0x17f835=_0x33aa;super(_0xaced11);const _0x290057=_0x15740f(_0x2fe772,this[_0x17f835(0xa6)][_0x17f835(0xb5)])[_0x17f835(0xa2)];this[_0x17f835(0x9b)]=_0x2fe772,this[_0x17f835(0xb3)]=this[_0x17f835(0xa9)](),this[_0x17f835(0x9c)]=_0x556874,this[_0x17f835(0xa5)]=_0x50be20,this[_0x17f835(0xb3)][_0x17f835(0xb0)](_0x17f835(0xb4))['to'](this),this[_0x17f835(0xb3)][_0x17f835(0xb0)](_0x17f835(0xa0))['to'](this),this[_0x17f835(0xaf)]({'tag':_0x17f835(0xab),'attributes':{'class':['ck',_0x17f835(0xb6)]},'children':[{'tag':_0x17f835(0xad),'attributes':{'class':['ck',_0x17f835(0xa1)]},'children':[{'text':_0x290057}]},{'tag':_0x17f835(0xab),'attributes':{'class':['ck',_0x17f835(0xb2)]},'children':this[_0x17f835(0xb3)]}]});}[_0x3313a3(0xb7)](_0x58689c){const _0x220801=_0x3313a3,_0x286b1e=new _0x3f060a(this[_0x220801(0xa6)],_0x58689c,this[_0x220801(0x9c)],this[_0x220801(0xa5)]);this[_0x220801(0xb3)][_0x220801(0x9d)](_0x286b1e);}[_0x3313a3(0x99)](_0x2efc80){const _0x5118dc=_0x3313a3,_0x328880=this[_0x5118dc(0xb3)][_0x5118dc(0xa4)](_0xee8550=>_0xee8550['id']===_0x2efc80['id']);this[_0x5118dc(0xb3)][_0x5118dc(0xa3)](_0x328880);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x481881=_0x54b7;(function(_0x1cad0f,_0x50463b){const _0x4e2c83=_0x54b7,_0x253b51=_0x1cad0f();while(!![]){try{const _0x32398b=parseInt(_0x4e2c83(0x92))/0x1+-parseInt(_0x4e2c83(0x95))/0x2+parseInt(_0x4e2c83(0x91))/0x3*(-parseInt(_0x4e2c83(0x9f))/0x4)+-parseInt(_0x4e2c83(0x8e))/0x5*(-parseInt(_0x4e2c83(0x87))/0x6)+-parseInt(_0x4e2c83(0xb0))/0x7*(parseInt(_0x4e2c83(0x7a))/0x8)+-parseInt(_0x4e2c83(0xac))/0x9+-parseInt(_0x4e2c83(0x8c))/0xa*(-parseInt(_0x4e2c83(0x7b))/0xb);if(_0x32398b===_0x50463b)break;else _0x253b51['push'](_0x253b51['shift']());}catch(_0x4beaf5){_0x253b51['push'](_0x253b51['shift']());}}}(_0x1e09,0xc51f2));function _0x54b7(_0x210a67,_0x515f61){const _0x1e0951=_0x1e09();return _0x54b7=function(_0x54b74e,_0x2d78fd){_0x54b74e=_0x54b74e-0x79;let _0x138ada=_0x1e0951[_0x54b74e];return _0x138ada;},_0x54b7(_0x210a67,_0x515f61);}import{View as _0x101fd6}from'ckeditor5/src/ui.js';import _0x3bb195 from'./revisionssidebartimeperiodview.js';function _0x1e09(){const _0x4c0fb5=['createdAt','4242lPNWwE','115664BjZMzU','select','ck-revision-history-sidebar','452496YLZsNu','ck-revision-history-sidebar__timeline','_revisionActions','revisionSelected','highlight','div','addRevision','set','_removeRevision','add','2892iwSJHi','unhighlight','_requireRevisionName','locale','map','ck-reset','_addRevision','createCollection','highlightRevisions','ck-disabled','selectRevision','find','startDate','11139156NzRtMc','revisionViews','getTime','isEnabled','310317aBBDGq','delegate','56cHvqbC','181148scoTbs','flat','ck-rounded-corners','uiLanguage','removeRevision','_getTimePeriodViewByStartDate','_revisions','fire','bindTemplate','render','revisionSetName','get','1464726eHcDMI','deselect','timePeriodViews','setName','some','1970vSJoML','setTemplate','5tGnnrj','remove'];_0x1e09=function(){return _0x4c0fb5;};return _0x1e09();}import _0x511858 from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x590397}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ci extends _0x101fd6{constructor(_0x2bea2d,_0x36ca25,_0x29bfcd,_0x2621f6){const _0x425288=_0x54b7;super(_0x2bea2d);const _0x27e949=this[_0x425288(0x83)];this[_0x425288(0x89)]=this[_0x425288(0xa6)](),this[_0x425288(0x89)][_0x425288(0x79)](_0x425288(0x93))['to'](this),this[_0x425288(0x89)][_0x425288(0x79)](_0x425288(0x8a))['to'](this),this[_0x425288(0x81)]=_0x36ca25,this[_0x425288(0x97)]=_0x29bfcd,this[_0x425288(0xa1)]=_0x2621f6,this['on'](_0x425288(0x93),(_0x28d3aa,_0x16a767)=>{const _0xa080af=_0x425288;this[_0xa080af(0x82)](_0xa080af(0x98),_0x16a767);}),this['on'](_0x425288(0x8a),(_0xa9c82c,_0x8635f4)=>{const _0x34cf4c=_0x425288;this[_0x34cf4c(0x82)](_0x34cf4c(0x85),_0x8635f4);}),this[_0x425288(0x9c)](_0x425288(0xaf),!0x1),this[_0x425288(0x8d)]({'tag':_0x425288(0x9a),'attributes':{'class':['ck',_0x425288(0xa4),_0x425288(0x7d),_0x425288(0x94)]},'children':[new _0x511858(_0x2bea2d),{'tag':_0x425288(0x9a),'attributes':{'class':['ck',_0x425288(0x96),_0x27e949['if'](_0x425288(0xaf),_0x425288(0xa8),_0x593c45=>!_0x593c45)]},'children':this[_0x425288(0x89)]}]});}[_0x481881(0x84)](){const _0xe9049e=_0x481881;super[_0xe9049e(0x84)]();for(const _0x1e67d3 of this[_0xe9049e(0x81)])this[_0xe9049e(0xa5)](_0x1e67d3);this[_0xe9049e(0x81)]['on'](_0xe9049e(0x9e),(_0x2789a0,_0x5b1de1)=>{const _0x25de43=_0xe9049e;this[_0x25de43(0xa5)](_0x5b1de1);}),this[_0xe9049e(0x81)]['on'](_0xe9049e(0x8f),(_0xa9ed49,_0x16fb84)=>{const _0x8f9082=_0xe9049e;this[_0x8f9082(0x9d)](_0x16fb84);});}get[_0x481881(0xad)](){const _0x2a02d2=_0x481881;return this[_0x2a02d2(0x89)][_0x2a02d2(0xa3)](_0x2f6f63=>_0x2f6f63[_0x2a02d2(0xad)][_0x2a02d2(0xa3)](_0x2cb73e=>_0x2cb73e))[_0x2a02d2(0x7c)]();}[_0x481881(0xa9)](_0x21be65){const _0x2edd88=_0x481881;for(const _0x161837 of this[_0x2edd88(0xad)])_0x21be65&&_0x21be65['id']===_0x161837['id']?_0x161837[_0x2edd88(0x93)]():_0x161837[_0x2edd88(0x88)]();}[_0x481881(0xa7)](_0x3befbd){const _0x2e329f=_0x481881;for(const _0x481e7f of this[_0x2e329f(0xad)])_0x3befbd[_0x2e329f(0x8b)](({id:_0x370327})=>_0x370327===_0x481e7f['id'])?_0x481e7f[_0x2e329f(0x99)]():_0x481e7f[_0x2e329f(0xa0)]();}[_0x481881(0xa5)](_0x325744){const _0x5407a7=_0x481881,_0x53ffc5=_0x590397(_0x325744[_0x5407a7(0x90)],this[_0x5407a7(0xa2)][_0x5407a7(0x7e)])[_0x5407a7(0xab)];let _0x55a9eb=this[_0x5407a7(0x89)][_0x5407a7(0x86)](0x0);_0x55a9eb&&_0x55a9eb[_0x5407a7(0xab)][_0x5407a7(0xae)]()===_0x53ffc5[_0x5407a7(0xae)]()||(_0x55a9eb=new _0x3bb195(this[_0x5407a7(0xa2)],_0x53ffc5,this[_0x5407a7(0x97)],this[_0x5407a7(0xa1)]),this[_0x5407a7(0x89)][_0x5407a7(0x9e)](_0x55a9eb)),_0x55a9eb[_0x5407a7(0x9b)](_0x325744);}[_0x481881(0x9d)](_0x55c668){const _0x1a647d=_0x481881,_0x288f32=_0x590397(_0x55c668[_0x1a647d(0x90)],this[_0x1a647d(0xa2)][_0x1a647d(0x7e)])[_0x1a647d(0xab)];this[_0x1a647d(0x80)](_0x288f32)[_0x1a647d(0x7f)](_0x55c668);}[_0x481881(0x80)](_0x23572d){const _0x40c8e4=_0x481881;return this[_0x40c8e4(0x89)][_0x40c8e4(0xaa)](_0x43d3d5=>_0x43d3d5[_0x40c8e4(0xab)][_0x40c8e4(0xae)]()===_0x23572d[_0x40c8e4(0xae)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4c0218,_0x2453d4){const _0x2cb680=_0x1823,_0x51fcc5=_0x4c0218();while(!![]){try{const _0x4a9011=parseInt(_0x2cb680(0x1ef))/0x1+parseInt(_0x2cb680(0x1f7))/0x2*(-parseInt(_0x2cb680(0x1f0))/0x3)+-parseInt(_0x2cb680(0x1f4))/0x4*(-parseInt(_0x2cb680(0x1ed))/0x5)+parseInt(_0x2cb680(0x1f1))/0x6*(-parseInt(_0x2cb680(0x1ff))/0x7)+-parseInt(_0x2cb680(0x1f9))/0x8+-parseInt(_0x2cb680(0x1f2))/0x9+parseInt(_0x2cb680(0x1f5))/0xa*(parseInt(_0x2cb680(0x200))/0xb);if(_0x4a9011===_0x2453d4)break;else _0x51fcc5['push'](_0x51fcc5['shift']());}catch(_0x4c9b3c){_0x51fcc5['push'](_0x51fcc5['shift']());}}}(_0x2547,0x2ab2e));function _0x1823(_0x103027,_0x29223e){const _0x25471b=_0x2547();return _0x1823=function(_0x182381,_0x30a9c2){_0x182381=_0x182381-0x1ed;let _0x2ad424=_0x25471b[_0x182381];return _0x2ad424;},_0x1823(_0x103027,_0x29223e);}import{DateTime as _0x43a74d}from'luxon';function _0x2547(){const _0x5736e2=['562974GQffjE','week','1646256DBjCPH','year','minus','fromJSDate','monthLong','weekdayLong','28vUTZrK','11NHcEsI','day','setLocale','month','startOf','toRelativeCalendar','836375vXOsFL','toJSDate','294773DYTEdi','3hRiSiP','479382aFDEIy','720198yCunlY','hasSame','4rVygnj','5997250KXxQTW','local'];_0x2547=function(){return _0x5736e2;};return _0x2547();}export function getDateTimePeriodInfo(_0x4ab27c,_0x823b12){const _0x18cc86=_0x1823,_0x28ba62=_0x43a74d[_0x18cc86(0x1fc)](_0x4ab27c)[_0x18cc86(0x202)](_0x823b12),_0xf60b62=_0x43a74d[_0x18cc86(0x1f6)](),_0x19f303=_0xf60b62[_0x18cc86(0x1fb)]({'days':0x1})[_0x18cc86(0x204)](_0x18cc86(0x201));let _0x53ef0d,_0x63dfdb;return _0x28ba62[_0x18cc86(0x1f3)](_0xf60b62,_0x18cc86(0x201))?(_0x53ef0d=_0x28ba62[_0x18cc86(0x204)](_0x18cc86(0x201))[_0x18cc86(0x1ee)](),_0x63dfdb=_0x28ba62[_0x18cc86(0x205)]()):_0x28ba62[_0x18cc86(0x1f3)](_0x19f303,_0x18cc86(0x201))?(_0x53ef0d=_0x19f303[_0x18cc86(0x1ee)](),_0x63dfdb=_0x28ba62[_0x18cc86(0x205)]()):_0x28ba62[_0x18cc86(0x1f3)](_0xf60b62,_0x18cc86(0x1f8))?(_0x53ef0d=_0x28ba62[_0x18cc86(0x204)](_0x18cc86(0x1f8))[_0x18cc86(0x1ee)](),_0x63dfdb=_0x28ba62[_0x18cc86(0x1fe)]||''):_0x28ba62[_0x18cc86(0x1f3)](_0xf60b62,_0x18cc86(0x1fa))?(_0x53ef0d=_0x28ba62[_0x18cc86(0x204)](_0x18cc86(0x203))[_0x18cc86(0x1ee)](),_0x63dfdb=_0x28ba62[_0x18cc86(0x1fd)]||''):(_0x53ef0d=_0x28ba62[_0x18cc86(0x204)](_0x18cc86(0x1fa))[_0x18cc86(0x1ee)](),_0x63dfdb=String(_0x28ba62[_0x18cc86(0x1fa)])),{'startDate':_0x53ef0d,'localizedPeriodName':_0x63dfdb};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x11aa(_0x225d70,_0x574a55){const _0x3ccfec=_0x3ccf();return _0x11aa=function(_0x11aab7,_0x5bc970){_0x11aab7=_0x11aab7-0x1a1;let _0x23c244=_0x3ccfec[_0x11aab7];return _0x23c244;},_0x11aa(_0x225d70,_0x574a55);}const _0x1a6d20=_0x11aa;(function(_0x63092a,_0x2f49ba){const _0x560935=_0x11aa,_0x579328=_0x63092a();while(!![]){try{const _0x3ec808=parseInt(_0x560935(0x1a6))/0x1+-parseInt(_0x560935(0x1ab))/0x2*(parseInt(_0x560935(0x1bb))/0x3)+parseInt(_0x560935(0x1a1))/0x4+parseInt(_0x560935(0x1b5))/0x5+parseInt(_0x560935(0x1b0))/0x6*(-parseInt(_0x560935(0x1a9))/0x7)+parseInt(_0x560935(0x1ad))/0x8+-parseInt(_0x560935(0x1b8))/0x9;if(_0x3ec808===_0x2f49ba)break;else _0x579328['push'](_0x579328['shift']());}catch(_0x459c40){_0x579328['push'](_0x579328['shift']());}}}(_0x3ccf,0xd18b0));function _0x3ccf(){const _0x2e80f4=['type','1062rLSAIf','name','13249648CmgMpq','Removed\x20by','isSuggestion','15942eVZsTq','Added\x20by','ck-revision-change','ck-revision-change__label','changeId','4892605mevfjH','author','element','20169990sNLuQK','span','setTemplate','5916ofzkNe','set','focus','data','add','1885960yoNQgd','ck-revision-change__','_model','div','bindTemplate','1191762cHxULY','Suggested\x20by','ck-annotation','399DLSrEL'];_0x3ccf=function(){return _0x2e80f4;};return _0x3ccf();}import{View as _0xafaea2}from'ckeditor5/src/ui.js';import{getTranslation as _0x4be665}from'../../utils/common-translations.js';export default class Z extends _0xafaea2{constructor(_0x3d3665,_0x146da7){const _0x25bc5f=_0x11aa;super(_0x3d3665),this[_0x25bc5f(0x1a3)]=_0x146da7,this[_0x25bc5f(0x1b4)]=_0x146da7['id'];const _0x42df43=this[_0x25bc5f(0x1a5)],_0x4a9be9=_0x4be665(_0x3d3665,_0x146da7[_0x25bc5f(0x1be)][_0x25bc5f(0x1af)]?_0x25bc5f(0x1a7):_0x25bc5f(0x1bf)==_0x146da7[_0x25bc5f(0x1aa)]?_0x25bc5f(0x1b1):_0x25bc5f(0x1ae));this[_0x25bc5f(0x1bc)](_0x25bc5f(0x1aa),_0x146da7[_0x25bc5f(0x1aa)]),this[_0x25bc5f(0x1ba)]({'tag':_0x25bc5f(0x1a4),'attributes':{'class':[_0x25bc5f(0x1a8),_0x25bc5f(0x1b2),_0x42df43['to'](_0x25bc5f(0x1aa),_0x492013=>_0x25bc5f(0x1a2)+_0x492013)],'tabindex':-0x1},'children':[{'tag':_0x25bc5f(0x1b9),'children':[{'tag':_0x25bc5f(0x1b9),'attributes':{'class':[_0x25bc5f(0x1b3)]},'children':[{'text':_0x4a9be9}]},{'text':'\x20'+_0x146da7[_0x25bc5f(0x1b6)][_0x25bc5f(0x1ac)]}]}]});}[_0x1a6d20(0x1bd)](){const _0x2ae65c=_0x1a6d20;this[_0x2ae65c(0x1b7)][_0x2ae65c(0x1bd)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x31c4(){const _0x43965e=['356562FaYFNB','set','10040DFGLci','isForwardNavigationEnabled','428yiIKsj','57925wYTAcx','div','654066vxTfKl','execute','368fiwBiI','ck-revision-history-ui__changes-navigation__wrapper','ck-revision-history-ui__changes-navigation','isEnabled','_isStatusLabelVisible','isNavigationMode','EDIT_X_OF_Y_REVISIONS','18855oPhCtS','ck-revision-history-ui','fire','5056290sirWio','isBackwardNavigationEnabled','_statusText','forward','Loading...','bind','span','backward','Show\x20previous\x20change','currentChangeNumber','isReady','setTemplate','ck-hidden','bindTemplate','numberOfChanges','X_OF_Y_CHANGES','1545417tlzhTV','Total','No\x20changes','ck-revision-history-ui__changes-navigation__label','3sFPXTg','Show\x20next\x20change','ck-revision-history-ui__changes-navigation__navigation','NUMBER_OF_CHANGES'];_0x31c4=function(){return _0x43965e;};return _0x31c4();}(function(_0x4fc723,_0x162b39){const _0x3fe94e=_0x1ced,_0x3ac37b=_0x4fc723();while(!![]){try{const _0x49ecc3=parseInt(_0x3fe94e(0x138))/0x1*(parseInt(_0x3fe94e(0x13e))/0x2)+-parseInt(_0x3fe94e(0x143))/0x3+parseInt(_0x3fe94e(0x140))/0x4*(parseInt(_0x3fe94e(0x14c))/0x5)+parseInt(_0x3fe94e(0x13c))/0x6+-parseInt(_0x3fe94e(0x141))/0x7*(parseInt(_0x3fe94e(0x145))/0x8)+-parseInt(_0x3fe94e(0x134))/0x9+parseInt(_0x3fe94e(0x14f))/0xa;if(_0x49ecc3===_0x162b39)break;else _0x3ac37b['push'](_0x3ac37b['shift']());}catch(_0x4652bf){_0x3ac37b['push'](_0x3ac37b['shift']());}}}(_0x31c4,0x340ec));import{View as _0xe8a69b,ButtonView as _0x1e549c,ToolbarSeparatorView as _0x39a0de}from'ckeditor5/src/ui.js';import{getTranslation as _0x1013b8}from'../../utils/common-translations.js';import _0x554b52 from'../../../theme/icons/arrow-up.svg';function _0x1ced(_0x25018d,_0x235c6b){const _0x31c4df=_0x31c4();return _0x1ced=function(_0x1ced04,_0x38fd39){_0x1ced04=_0x1ced04-0x131;let _0x1ed748=_0x31c4df[_0x1ced04];return _0x1ed748;},_0x1ced(_0x25018d,_0x235c6b);}import _0x3d022f from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class _i extends _0xe8a69b{constructor(_0x7bcb53){const _0x305846=_0x1ced;super(_0x7bcb53);const _0x1bf1ed=this[_0x305846(0x131)],_0x4b4b20=new _0x1e549c(_0x7bcb53),_0xa51427=new _0x1e549c(_0x7bcb53);this[_0x305846(0x13d)](_0x305846(0x14a),!0x1),this[_0x305846(0x13d)](_0x305846(0x159),!0x1),this[_0x305846(0x13d)](_0x305846(0x158),0x0),this[_0x305846(0x13d)](_0x305846(0x132),0x0),this[_0x305846(0x13d)](_0x305846(0x13f),!0x1),this[_0x305846(0x13d)](_0x305846(0x150),!0x1),this[_0x305846(0x154)](_0x305846(0x149))['to'](this,_0x305846(0x159),this,_0x305846(0x132),(_0x5d7f6a,_0x473309)=>_0x5d7f6a&&_0x473309>0x0),this[_0x305846(0x154)](_0x305846(0x151))['to'](this,_0x305846(0x159),this,_0x305846(0x158),this,_0x305846(0x132),this,_0x305846(0x14a),(_0x691c6f,_0x191651,_0x386c02,_0x5bd5df)=>{const _0x5ecfee=_0x305846;if(!_0x691c6f)return _0x1013b8(_0x7bcb53,_0x5ecfee(0x153));if(!_0x386c02)return _0x1013b8(_0x7bcb53,_0x5ecfee(0x136));const _0x5d27eb=_0x1013b8(_0x7bcb53,_0x5ecfee(0x13b),_0x386c02);return _0x5bd5df?_0x1013b8(_0x7bcb53,_0x5ecfee(0x133),[_0x191651+0x1,_0x386c02]):_0x5d27eb;}),_0x4b4b20[_0x305846(0x13d)]({'label':_0x1013b8(_0x7bcb53,_0x305846(0x157)),'tooltip':!0x0,'icon':_0x554b52}),_0xa51427[_0x305846(0x13d)]({'label':_0x1013b8(_0x7bcb53,_0x305846(0x139)),'tooltip':!0x0,'icon':_0x3d022f}),_0x4b4b20[_0x305846(0x154)](_0x305846(0x148))['to'](this,_0x305846(0x150)),_0xa51427[_0x305846(0x154)](_0x305846(0x148))['to'](this,_0x305846(0x13f)),_0x4b4b20['on'](_0x305846(0x144),()=>this[_0x305846(0x14e)](_0x305846(0x144),_0x305846(0x156))),_0xa51427['on'](_0x305846(0x144),()=>this[_0x305846(0x14e)](_0x305846(0x144),_0x305846(0x152))),this[_0x305846(0x15a)]({'tag':_0x305846(0x142),'attributes':{'class':['ck',_0x305846(0x14d),_0x305846(0x147)]},'children':[{'tag':_0x305846(0x155),'attributes':{'class':[_0x305846(0x146)]},'children':[{'tag':_0x305846(0x155),'attributes':{'class':[_0x305846(0x137),_0x1bf1ed['if'](_0x305846(0x149),_0x305846(0x15b),_0x574dcf=>!_0x574dcf)]},'children':[{'text':_0x1bf1ed['to'](_0x305846(0x14a),_0x38ec52=>_0x38ec52?_0x1013b8(_0x7bcb53,_0x305846(0x14b))+':\x20':_0x1013b8(_0x7bcb53,_0x305846(0x135))+':\x20')}]},{'text':_0x1bf1ed['to'](_0x305846(0x151))}]},new _0x39a0de(),{'tag':_0x305846(0x142),'attributes':{'class':[_0x305846(0x13a)]},'children':[_0x4b4b20,_0xa51427]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x46a6(_0x2ef957,_0x394678){const _0x2d9c95=_0x2d9c();return _0x46a6=function(_0x46a6c7,_0x36513e){_0x46a6c7=_0x46a6c7-0xe4;let _0xa9d3a6=_0x2d9c95[_0x46a6c7];return _0xa9d3a6;},_0x46a6(_0x2ef957,_0x394678);}const _0x2c1054=_0x46a6;(function(_0x355700,_0x15f611){const _0x49d817=_0x46a6,_0x277d13=_0x355700();while(!![]){try{const _0x488c86=parseInt(_0x49d817(0xf6))/0x1*(parseInt(_0x49d817(0xf1))/0x2)+parseInt(_0x49d817(0xef))/0x3+-parseInt(_0x49d817(0xf4))/0x4*(parseInt(_0x49d817(0xf7))/0x5)+parseInt(_0x49d817(0xf0))/0x6+parseInt(_0x49d817(0xf2))/0x7+-parseInt(_0x49d817(0xe8))/0x8*(parseInt(_0x49d817(0xea))/0x9)+-parseInt(_0x49d817(0xe4))/0xa;if(_0x488c86===_0x15f611)break;else _0x277d13['push'](_0x277d13['shift']());}catch(_0x226db3){_0x277d13['push'](_0x277d13['shift']());}}}(_0x2d9c,0x320c3));import{Plugin as _0x225053}from'ckeditor5/src/core.js';const ce=_0x2c1054(0xe7);function _0x2d9c(){const _0x5ef884=['5zWfyPP','editing','view','hide','3251880fNuJfT','RevisionViewerLoadingOverlay','document','ck-editor__editable__loading-overlay','1272XaUbEj','change','10368mXLzjx','removeClass','addClass','roots','editor','191637ioKGCz','1463226cEYvwz','2ShOLHO','2007719YdyJqS','show','157832twKfFf','pluginName','158242pUcoZW'];_0x2d9c=function(){return _0x5ef884;};return _0x2d9c();}import'../../../theme/revisionviewerloadingoverlay.css';export default class de extends _0x225053{static get[_0x2c1054(0xf5)](){const _0xa4f583=_0x2c1054;return _0xa4f583(0xe5);}[_0x2c1054(0xf3)](){const _0x241b8f=_0x2c1054,_0x7e4654=this[_0x241b8f(0xee)][_0x241b8f(0xf8)][_0x241b8f(0xf9)];_0x7e4654[_0x241b8f(0xe9)](_0x3ccb7b=>{const _0x42a4ac=_0x241b8f;for(const _0x593c1f of _0x7e4654[_0x42a4ac(0xe6)][_0x42a4ac(0xed)])_0x3ccb7b[_0x42a4ac(0xec)](ce,_0x593c1f);});}[_0x2c1054(0xfa)](){const _0x2bf7c8=_0x2c1054,_0x46d7d1=this[_0x2bf7c8(0xee)][_0x2bf7c8(0xf8)][_0x2bf7c8(0xf9)];_0x46d7d1[_0x2bf7c8(0xe9)](_0xbe7262=>{const _0x40316e=_0x2bf7c8;for(const _0x141c2f of _0x46d7d1[_0x40316e(0xe6)][_0x40316e(0xed)])_0xbe7262[_0x40316e(0xeb)](ce,_0x141c2f);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x26b9(_0x56eda3,_0x298aa7){const _0xccbfea=_0xccbf();return _0x26b9=function(_0x26b906,_0x5eee65){_0x26b906=_0x26b906-0xda;let _0x4dda2c=_0xccbfea[_0x26b906];return _0x4dda2c;},_0x26b9(_0x56eda3,_0x298aa7);}const _0x4f0c3d=_0x26b9;(function(_0x11dcaf,_0x5b3a92){const _0x182f44=_0x26b9,_0x4ab140=_0x11dcaf();while(!![]){try{const _0x44ca00=-parseInt(_0x182f44(0xdb))/0x1*(parseInt(_0x182f44(0xed))/0x2)+parseInt(_0x182f44(0xfb))/0x3+-parseInt(_0x182f44(0x108))/0x4*(parseInt(_0x182f44(0xe8))/0x5)+-parseInt(_0x182f44(0x101))/0x6+parseInt(_0x182f44(0xe2))/0x7+-parseInt(_0x182f44(0xfc))/0x8+parseInt(_0x182f44(0xf5))/0x9*(parseInt(_0x182f44(0x105))/0xa);if(_0x44ca00===_0x5b3a92)break;else _0x4ab140['push'](_0x4ab140['shift']());}catch(_0x48cc4f){_0x4ab140['push'](_0x4ab140['shift']());}}}(_0xccbf,0xb8c11));import{icons as _0x83ae2e,Plugin as _0x2c5565}from'ckeditor5/src/core.js';import{ButtonView as _0x273b4f}from'ckeditor5/src/ui.js';import _0x591793 from'./changesnavigationview.js';import _0x21a78c from'./../../revisionviewer.js';function _0xccbf(){const _0x51b4ff=['numberOfChanges','3264IrpOFm','get','revisionHistory','bind','showNextChange','execute','pluginName','isEnabled','4163103WKPJPz','plugins','isForwardNavigationEnabled','showPreviousChange','componentFactory','forward','648165schAgF','7395928NQwQzH','config','undo','hide','show','6350262yihcBC','requires','currentChangeNumber','listenTo','60mEKTql','closeRevisionViewerCallback','set','356tddiPv','add','31mESunr','isBackwardNavigationEnabled','exitToEditing','change:isReady','commands','restoreRevision','isReady','2547342fSytmC','editor','init','Back\x20to\x20editing','Restore\x20this\x20revision','RevisionViewerUI','31750tTKpHc','changesNavigation','isNavigationMode','ck-revision-history-ui__back-to-editing'];_0xccbf=function(){return _0x51b4ff;};return _0xccbf();}import _0x556a41 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0xfc9b73}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x2c5565{static get[_0x4f0c3d(0xf3)](){const _0x22749=_0x4f0c3d;return _0x22749(0xe7);}static get[_0x4f0c3d(0x102)](){return[_0x21a78c,_0x556a41];}[_0x4f0c3d(0xe4)](){const _0x115e9b=_0x4f0c3d,_0x7f734a=this[_0x115e9b(0xe3)],_0x5b66c9=_0x7f734a[_0x115e9b(0xf6)][_0x115e9b(0xee)](_0x21a78c),_0x4824f5=_0x7f734a[_0x115e9b(0xf6)][_0x115e9b(0xee)](_0x556a41);_0x7f734a['ui'][_0x115e9b(0xf9)][_0x115e9b(0xda)](_0x115e9b(0xdd),_0x29371e=>{const _0x3c97db=_0x115e9b,_0xc466c2=new _0x273b4f(_0x29371e);return _0xc466c2[_0x3c97db(0x107)]({'label':_0xfc9b73(_0x29371e,_0x3c97db(0xe5)),'icon':_0x83ae2e[_0x3c97db(0xfe)],'withText':!0x0,'tooltip':!0x0,'class':_0x3c97db(0xeb)}),this[_0x3c97db(0x104)](_0xc466c2,_0x3c97db(0xf2),()=>{const _0xd7f84a=_0x3c97db;_0x7f734a[_0xd7f84a(0xfd)][_0xd7f84a(0xee)](_0xd7f84a(0xef))[_0xd7f84a(0x106)]();}),_0xc466c2;}),_0x7f734a['ui'][_0x115e9b(0xf9)][_0x115e9b(0xda)](_0x115e9b(0xe0),_0x297c18=>{const _0x38bcfc=_0x115e9b,_0x1d7f0c=new _0x273b4f(_0x297c18);return _0x1d7f0c[_0x38bcfc(0x107)]({'label':_0xfc9b73(_0x297c18,_0x38bcfc(0xe6)),'withText':!0x0,'tooltip':!0x0}),_0x1d7f0c[_0x38bcfc(0xf0)](_0x38bcfc(0xf4))['to'](_0x7f734a[_0x38bcfc(0xdf)][_0x38bcfc(0xee)](_0x38bcfc(0xe0))),this[_0x38bcfc(0x104)](_0x1d7f0c,_0x38bcfc(0xf2),()=>_0x7f734a[_0x38bcfc(0xf2)](_0x38bcfc(0xe0))),_0x1d7f0c;}),_0x7f734a['ui'][_0x115e9b(0xf9)][_0x115e9b(0xda)](_0x115e9b(0xe9),_0x161fa3=>{const _0x39a502=_0x115e9b,_0x180ff5=new _0x591793(_0x161fa3),_0xb8ccbf=_0x7f734a[_0x39a502(0xdf)][_0x39a502(0xee)](_0x39a502(0xf8)),_0x565cf3=_0x7f734a[_0x39a502(0xdf)][_0x39a502(0xee)](_0x39a502(0xf1));return _0x180ff5[_0x39a502(0xf0)](_0x39a502(0xdc))['to'](_0xb8ccbf,_0x39a502(0xf4)),_0x180ff5[_0x39a502(0xf0)](_0x39a502(0xf7))['to'](_0x565cf3,_0x39a502(0xf4)),_0x180ff5[_0x39a502(0xf0)](_0x39a502(0xe1),_0x39a502(0x103),_0x39a502(0xec),_0x39a502(0xea))['to'](_0x5b66c9),this[_0x39a502(0x104)](_0x180ff5,_0x39a502(0xf2),(_0x1ee912,_0x5bb408)=>{const _0x52c103=_0x39a502;_0x7f734a[_0x52c103(0xf2)](_0x52c103(0xfa)===_0x5bb408?_0x52c103(0xf1):_0x52c103(0xf8));}),_0x180ff5;}),_0x4824f5[_0x115e9b(0x100)](),_0x5b66c9['on'](_0x115e9b(0xde),(_0x1667cb,_0x5c137d,_0x2546aa)=>{const _0x3e4719=_0x115e9b;_0x2546aa?_0x4824f5[_0x3e4719(0xff)]():_0x4824f5[_0x3e4719(0x100)]();});}}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module revision-history/utils/common-translations
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
9
9
|
export declare function getTranslation(locale: Locale, id: string, values?: TranslationValues): string;
|
|
10
10
|
type TranslationValues = number | string | ReadonlyArray<number | string>;
|
|
11
11
|
export {};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x20dcc8,_0x3991ed,_0x17ca40){const t=_0x20dcc8['t'];switch(_0x3991ed){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'},_0x17ca40);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x17ca40);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'';}}
|