@ckeditor/ckeditor5-revision-history 42.0.0-alpha.1 → 42.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/types/revisiontracker.d.ts +6 -1
- package/dist/types/revisionviewer.d.ts +82 -0
- package/dist/types/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
- package/dist/types/ui/revision/revisionauthorview.d.ts +9 -0
- package/dist/types/ui/revision/revisionnameview.d.ts +25 -0
- package/dist/types/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
- package/package.json +5 -5
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +6 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.d.ts +82 -0
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.d.ts +9 -0
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.d.ts +25 -0
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/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.d.ts +11 -0
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15c630=_0x233e;function _0x233e(_0x2a53ec,_0x34652c){const _0x109927=_0x1099();return _0x233e=function(_0x233eb3,_0x363eb8){_0x233eb3=_0x233eb3-0xa8;let _0x180f78=_0x109927[_0x233eb3];return _0x180f78;},_0x233e(_0x2a53ec,_0x34652c);}(function(_0x26cfcd,_0x4d8a9e){const _0x40ffea=_0x233e,_0x4db0fd=_0x26cfcd();while(!![]){try{const _0x5f423e=-parseInt(_0x40ffea(0xc5))/0x1+parseInt(_0x40ffea(0xb6))/0x2+parseInt(_0x40ffea(0xae))/0x3*(parseInt(_0x40ffea(0xb9))/0x4)+parseInt(_0x40ffea(0xbf))/0x5*(parseInt(_0x40ffea(0xc1))/0x6)+-parseInt(_0x40ffea(0xb7))/0x7+parseInt(_0x40ffea(0xad))/0x8+parseInt(_0x40ffea(0xc6))/0x9*(-parseInt(_0x40ffea(0xab))/0xa);if(_0x5f423e===_0x4d8a9e)break;else _0x4db0fd['push'](_0x4db0fd['shift']());}catch(_0x5d279a){_0x4db0fd['push'](_0x4db0fd['shift']());}}}(_0x1099,0x41a36));function _0x1099(){const _0x5ee7fa=['156532rlunlj','bindTemplate','select','ck-revision-history-sidebar__revision-authors','ck-reset','setTemplate','5axChRp','div','838056wdpzdn','uiLanguage','ck-revision-history-sidebar__revision__date','ck-revision-history-sidebar__subrevision','182749Jecweh','9VGwhvp','ck-revision-history-sidebar__revision_selected','set','isSelected','1182710tekdPp','fire','3847632olnVnO','6CTlIlT','deselect','createdAt','ck-revision-history-sidebar__revision','span','_parentRevisionId','creator','bind','97692oHCSVb','1245076eHsuOg','_createdAtFormatted'];_0x1099=function(){return _0x5ee7fa;};return _0x1099();}import{View as _0x4bfb3c}from'ckeditor5/src/ui.js';import _0xbb4a32 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x7689e}from'./utils.js';import'../../../theme/revision/subrevision.css';export default class is extends _0x4bfb3c{constructor(_0x3ef0f,_0x1d077f,_0x337123){const _0x197098=_0x233e;super(_0x3ef0f);const _0x178228=this[_0x197098(0xba)];this['id']=_0x1d077f['id'],this[_0x197098(0xb5)](_0x197098(0xb0))['to'](_0x1d077f),this[_0x197098(0xa9)](_0x197098(0xaa),!0x1),this[_0x197098(0xb5)](_0x197098(0xb8))['to'](this,_0x197098(0xb0),_0x26e798=>_0x26e798?_0x7689e(_0x3ef0f[_0x197098(0xc2)],_0x26e798):void 0x0),this[_0x197098(0xb3)]=_0x337123,this[_0x197098(0xbe)]({'tag':_0x197098(0xc0),'attributes':{'class':['ck',_0x197098(0xbd),_0x197098(0xb1),_0x197098(0xc4),_0x178228['if'](_0x197098(0xaa),_0x197098(0xa8))]},'children':[{'tag':_0x197098(0xb2),'attributes':{'class':['ck',_0x197098(0xc3)]},'children':[{'text':_0x178228['to'](_0x197098(0xb8))}]},{'tag':'ul','attributes':{'class':['ck',_0x197098(0xbc)]},'children':[new _0xbb4a32(_0x3ef0f,_0x1d077f[_0x197098(0xb4)],!0x0)]}],'on':{'click':_0x178228['to'](this[_0x197098(0xbb)][_0x197098(0xb5)](this))}});}[_0x15c630(0xbb)](){const _0x46f1f2=_0x15c630;this[_0x46f1f2(0xaa)]=!0x0,this[_0x46f1f2(0xac)](_0x46f1f2(0xbb),{'parentId':this[_0x46f1f2(0xb3)]});}[_0x15c630(0xaf)](){const _0x117c3e=_0x15c630;this[_0x117c3e(0xaa)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2f64(){var _0x2bd101=['numeric','4124370WhGJst','toLocaleTimeString','long','2954yWcLtO','22NDUVoU','4WvpPMp','8HeIpsf','4SgZHzQ','6747YArKid','6852kMnXUt','9474uhQgIE','3559647LQEdaI','2569045QavWyk','7495533bfHaxN','toLocaleDateString','843646aYbrIF'];_0x2f64=function(){return _0x2bd101;};return _0x2f64();}(function(_0x45e5ce,_0x2b0128){var _0x31f4a5=_0x3d16,_0x261cd1=_0x45e5ce();while(!![]){try{var _0x406b87=parseInt(_0x31f4a5(0x77))/0x1*(parseInt(_0x31f4a5(0x70))/0x2)+-parseInt(_0x31f4a5(0x7d))/0x3*(parseInt(_0x31f4a5(0x79))/0x4)+-parseInt(_0x31f4a5(0x7e))/0x5+parseInt(_0x31f4a5(0x7c))/0x6*(parseInt(_0x31f4a5(0x75))/0x7)+-parseInt(_0x31f4a5(0x78))/0x8*(-parseInt(_0x31f4a5(0x7f))/0x9)+-parseInt(_0x31f4a5(0x72))/0xa*(parseInt(_0x31f4a5(0x76))/0xb)+-parseInt(_0x31f4a5(0x7b))/0xc*(-parseInt(_0x31f4a5(0x7a))/0xd);if(_0x406b87===_0x2b0128)break;else _0x261cd1['push'](_0x261cd1['shift']());}catch(_0xfec316){_0x261cd1['push'](_0x261cd1['shift']());}}}(_0x2f64,0xe9c90));function _0x3d16(_0x56edc2,_0x5f4afa){var _0x2f64d9=_0x2f64();return _0x3d16=function(_0x3d168e,_0x36ba4a){_0x3d168e=_0x3d168e-0x70;var _0x27999c=_0x2f64d9[_0x3d168e];return _0x27999c;},_0x3d16(_0x56edc2,_0x5f4afa);}export function dateToPrettyFormat(_0x4dd55b,_0x30c88c){var _0x15fcca=_0x3d16;return _0x30c88c[_0x15fcca(0x80)](_0x4dd55b,{'month':_0x15fcca(0x74),'day':_0x15fcca(0x71)})+',\x20'+_0x30c88c[_0x15fcca(0x73)](_0x4dd55b,{'hour':_0x15fcca(0x71),'minute':_0x15fcca(0x71)});}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d19c1=_0x19ae;function _0x17df(){const _0x20d2e2=['reset','errorText','fieldView','17442584zjZRHQ','focus','1931005awpyNv','_createRevisionNameInput','optional','ck-revision-history-save-revision-form','Name\x20of\x20the\x20revision','render','revisionNameInputValue','9uYSlch','revisionNameInputView','arrowleft','label','5739150nvuhPJ','220','2153184alELEZ','arrowdown','arrowup','focusTracker','4YEsFAK','keystrokes','set','value','locale','trim','ck-responsive-form','802107ONGRJb','2695588GrCHga','stopPropagation','element','add','form','setTemplate','listenTo','input','extendTemplate','1199260lLLPuN','revisionName','arrowright'];_0x17df=function(){return _0x20d2e2;};return _0x17df();}(function(_0x3b094c,_0x5267b){const _0x120935=_0x19ae,_0x8874bf=_0x3b094c();while(!![]){try{const _0x54ef4d=-parseInt(_0x120935(0x136))/0x1+-parseInt(_0x120935(0x140))/0x2+parseInt(_0x120935(0x155))/0x3+-parseInt(_0x120935(0x12f))/0x4*(-parseInt(_0x120935(0x148))/0x5)+-parseInt(_0x120935(0x153))/0x6+-parseInt(_0x120935(0x137))/0x7+parseInt(_0x120935(0x146))/0x8*(parseInt(_0x120935(0x14f))/0x9);if(_0x54ef4d===_0x5267b)break;else _0x8874bf['push'](_0x8874bf['shift']());}catch(_0x834d2c){_0x8874bf['push'](_0x8874bf['shift']());}}}(_0x17df,0x840ea));import{LabeledFieldView as _0x56bf07,View as _0x492d06,createLabeledInputText as _0x454b2f,injectCssTransitionDisabler as _0x143657,submitHandler as _0x2918ef}from'ckeditor5/src/ui.js';import{FocusTracker as _0x53387a,KeystrokeHandler as _0x223d0c}from'ckeditor5/src/utils.js';import{getTranslation as _0x5c22a0}from'../../utils/common-translations.js';function _0x19ae(_0x4f23ee,_0xb8e722){const _0x17dfeb=_0x17df();return _0x19ae=function(_0x19ae90,_0x359a59){_0x19ae90=_0x19ae90-0x12e;let _0x19b4b2=_0x17dfeb[_0x19ae90];return _0x19b4b2;},_0x19ae(_0x4f23ee,_0xb8e722);}import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class ns extends _0x492d06{constructor(_0x4ec973,_0x31dc20){const _0x38b906=_0x19ae;super(_0x4ec973),this[_0x38b906(0x12e)]=new _0x53387a(),this[_0x38b906(0x130)]=new _0x223d0c(),this[_0x38b906(0x131)](_0x38b906(0x14e),''),this[_0x38b906(0x150)]=this[_0x38b906(0x149)](_0x31dc20),this[_0x38b906(0x13c)]({'tag':_0x38b906(0x13b),'attributes':{'class':['ck',_0x38b906(0x14b),_0x38b906(0x135)],'tabindex':'-1'},'children':[this[_0x38b906(0x150)]]}),_0x143657(this);}[_0x3d19c1(0x14d)](){const _0x36f3b1=_0x3d19c1;super[_0x36f3b1(0x14d)](),_0x2918ef({'view':this}),this[_0x36f3b1(0x12e)][_0x36f3b1(0x13a)](this[_0x36f3b1(0x150)][_0x36f3b1(0x139)]),this[_0x36f3b1(0x130)][_0x36f3b1(0x13d)](this[_0x36f3b1(0x139)]);const _0x4e9e7f=_0x504e8a=>_0x504e8a[_0x36f3b1(0x138)]();this[_0x36f3b1(0x130)][_0x36f3b1(0x131)](_0x36f3b1(0x142),_0x4e9e7f),this[_0x36f3b1(0x130)][_0x36f3b1(0x131)](_0x36f3b1(0x151),_0x4e9e7f),this[_0x36f3b1(0x130)][_0x36f3b1(0x131)](_0x36f3b1(0x157),_0x4e9e7f),this[_0x36f3b1(0x130)][_0x36f3b1(0x131)](_0x36f3b1(0x156),_0x4e9e7f);}[_0x3d19c1(0x147)](){const _0x277604=_0x3d19c1;this[_0x277604(0x150)][_0x277604(0x147)]();}get[_0x3d19c1(0x141)](){const _0x3587ec=_0x3d19c1;return this[_0x3587ec(0x150)][_0x3587ec(0x145)][_0x3587ec(0x139)][_0x3587ec(0x132)][_0x3587ec(0x134)]();}set[_0x3d19c1(0x141)](_0x3f599e){const _0x190c5f=_0x3d19c1;this[_0x190c5f(0x150)][_0x190c5f(0x145)][_0x190c5f(0x139)][_0x190c5f(0x132)]=_0x3f599e[_0x190c5f(0x134)]();}[_0x3d19c1(0x143)](){const _0x161d2b=_0x3d19c1;this[_0x161d2b(0x150)][_0x161d2b(0x145)][_0x161d2b(0x139)][_0x161d2b(0x132)]='',this[_0x161d2b(0x150)][_0x161d2b(0x144)]=null;}[_0x3d19c1(0x149)](_0x48d911){const _0x5060dd=_0x3d19c1,_0xd303cc=new _0x56bf07(this[_0x5060dd(0x133)],_0x454b2f),_0x31636b=_0xd303cc[_0x5060dd(0x145)];_0x31636b[_0x5060dd(0x13f)]({'attributes':{'maxlength':_0x5060dd(0x154)}});let _0x290410=_0x5c22a0(this[_0x5060dd(0x133)],_0x5060dd(0x14c));return!_0x48d911&&(_0x290410+='\x20('+_0x5c22a0(this[_0x5060dd(0x133)],_0x5060dd(0x14a))+')'),(_0xd303cc[_0x5060dd(0x152)]=_0x290410,_0x31636b['on'](_0x5060dd(0x13e),()=>{const _0x3f2f66=_0x5060dd;this[_0x3f2f66(0x14e)]=_0x31636b[_0x3f2f66(0x139)][_0x3f2f66(0x132)][_0x3f2f66(0x134)]();}),_0xd303cc);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x192ac5,icons as _0x3639f9}from'ckeditor5/src/core.js';import{createDropdown as _0x10b334,ButtonView as _0x4c23b0,ListItemView as _0x44a768,ListView as te,MenuBarMenuListItemButtonView as _0x1a4ca0,MenuBarMenuListItemView as _0x2b171b,MenuBarMenuListView as _0x108621,MenuBarMenuView as _0x2dec01}from'ckeditor5/src/ui.js';import _0x2d2916 from'../../revisiontracker.js';import _0x582f9c from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x373378}from'../../utils/common-translations.js';export default class u extends _0x192ac5{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[_0x2d2916];}['init'](){const _0x11dba2=this['editor'],_0x5d6782=_0x11dba2['plugins']['get']('RevisionTracker');_0x11dba2['ui']['componentFactory']['add']('revisionHistory',_0x1e50ec=>{const _0x3827e5=_0x10b334(_0x1e50ec),_0x5b311b=_0x3827e5['panelView']['children'],_0x1d30a4=new te(_0x1e50ec),_0x31b858=new _0x44a768(_0x1e50ec),_0x1ba4ee=new _0x4c23b0(_0x1e50ec),_0x395075=new _0x44a768(_0x1e50ec),_0x477daf=new _0x4c23b0(_0x1e50ec);return _0x3827e5['bind']('isEnabled')['to'](_0x5d6782,'isReady',_0x5d6782,'isEnabled',_0x11dba2,'isReadOnly',(_0x363c61,_0x2c3c10,_0x59588c)=>_0x363c61&&_0x2c3c10&&!_0x59588c),_0x3827e5['buttonView']['set']({'icon':_0x3639f9['history'],'label':_0x373378(_0x1e50ec,'Revision\x20history'),'tooltip':!0x0}),_0x1ba4ee['set']({'label':_0x373378(_0x1e50ec,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x1ba4ee['bind']('isEnabled')['to'](_0x5d6782,'isReady',_0x5d6782,'isEnabled',_0x11dba2,'isReadOnly',(_0x50f780,_0x101e84,_0x26e449)=>_0x50f780&&_0x101e84&&!_0x26e449),_0x1ba4ee['on']('execute',()=>this['_showDialog']()),_0x477daf['set']({'label':_0x373378(_0x1e50ec,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x477daf['bind']('isEnabled')['to'](_0x5d6782,'isReady',_0x11dba2,'isReadOnly',(_0x488d73,_0x42b9c7)=>_0x488d73&&!_0x42b9c7),_0x477daf['on']('execute',()=>{_0x11dba2['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x3827e5['isOpen']=!0x1,_0x11dba2['editing']['view']['focus']();}),_0x31b858['children']['add'](_0x1ba4ee),_0x395075['children']['add'](_0x477daf),_0x1d30a4['role']='menu',_0x1d30a4['items']['addMany']([_0x31b858,_0x395075]),_0x5b311b['add'](_0x1d30a4),_0x3827e5;}),_0x11dba2['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x2739bf=this['editor'],_0x14185a=_0x2739bf['locale'],_0x249354=new _0x2dec01(_0x14185a),_0x3d0d90=new _0x108621(_0x14185a);_0x249354['buttonView']['set']({'icon':_0x3639f9['history'],'label':_0x373378(_0x14185a,'Revision\x20history')});const _0xe964fc=new _0x2b171b(_0x14185a,_0x249354),_0x8442c5=new _0x1a4ca0(_0x14185a);_0x8442c5['set']({'label':_0x373378(_0x14185a,'Save\x20current\x20revision')}),_0x8442c5['delegate']('execute')['to'](_0x249354),_0x8442c5['on']('execute',()=>{this['_showDialog']();}),_0xe964fc['children']['add'](_0x8442c5),_0x3d0d90['items']['add'](_0xe964fc);const _0x3cb906=new _0x2b171b(_0x14185a,_0x249354),_0x107c29=new _0x1a4ca0(_0x14185a);return _0x107c29['set']({'label':_0x373378(_0x14185a,'Open\x20revision\x20history')}),_0x107c29['delegate']('execute')['to'](_0x249354),_0x107c29['on']('execute',()=>{_0x2739bf['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x3cb906['children']['add'](_0x107c29),_0x3d0d90['items']['add'](_0x3cb906),_0x249354['panelView']['children']['add'](_0x3d0d90),_0x249354;}['_showDialog'](){const _0x518f02=this['editor'],_0x4346ba=_0x518f02['locale'],t=_0x4346ba['t'],_0x48acd2=_0x518f02['plugins']['get']('Dialog'),_0x910115=_0x518f02['plugins']['get']('RevisionTracker');function _0x4c2de5(_0x320fa2){_0x518f02['config']['get']('revisionHistory.requireRevisionName')&&''===_0x320fa2['revisionName']?_0x320fa2['revisionNameInputView']['errorText']=_0x373378(_0x4346ba,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x518f02['plugins']['get'](_0x2d2916)['saveRevision']({'name':_0x320fa2['revisionName']}),_0x48acd2['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x4c2de5(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x48acd2['show']({'id':'revisionSave','title':_0x373378(_0x4346ba,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x48acd2['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x1b1446){_0x1b1446['bind']('isEnabled')['to'](_0x910115,'isReady',_0x910115,'isEnabled',_0x518f02,'isReadOnly',(_0x544845,_0x4960f0,_0x3de2d2)=>_0x544845&&_0x4960f0&&!_0x3de2d2);},'onExecute':()=>_0x4c2de5(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x43ac06=this['editor'],_0x34e9eb=_0x43ac06['locale'];this['_saveRevisionFormView']=new _0x582f9c(_0x34e9eb,_0x43ac06['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x295f8e=_0x1d20;(function(_0x2f92b8,_0x57ca2b){const _0xa37c78=_0x1d20,_0x27631c=_0x2f92b8();while(!![]){try{const _0x1790ba=parseInt(_0xa37c78(0x234))/0x1+-parseInt(_0xa37c78(0x21b))/0x2*(-parseInt(_0xa37c78(0x207))/0x3)+parseInt(_0xa37c78(0x214))/0x4*(-parseInt(_0xa37c78(0x21a))/0x5)+-parseInt(_0xa37c78(0x22b))/0x6+-parseInt(_0xa37c78(0x229))/0x7+parseInt(_0xa37c78(0x1f5))/0x8+-parseInt(_0xa37c78(0x238))/0x9*(-parseInt(_0xa37c78(0x22e))/0xa);if(_0x1790ba===_0x57ca2b)break;else _0x27631c['push'](_0x27631c['shift']());}catch(_0x37a57e){_0x27631c['push'](_0x27631c['shift']());}}}(_0x1967,0x49f41));import{Plugin as _0x59419a}from'ckeditor5/src/core.js';import _0x29dd07 from'./revisionssidebarview.js';import _0x168a61 from'../../revisionviewer.js';function _0x1d20(_0x3f3da6,_0x1ea227){const _0x196719=_0x1967();return _0x1d20=function(_0x1d20ae,_0x56d185){_0x1d20ae=_0x1d20ae-0x1e9;let _0x5ea9e5=_0x196719[_0x1d20ae];return _0x5ea9e5;},_0x1d20(_0x3f3da6,_0x1ea227);}class w extends _0x59419a{static get[_0x295f8e(0x1ea)](){const _0x1f0ff1=_0x295f8e;return _0x1f0ff1(0x208);}static get[_0x295f8e(0x226)](){return[_0x168a61];}constructor(_0x396c9d){const _0x4d405e=_0x295f8e;super(_0x396c9d),this[_0x4d405e(0x230)]=_0x396c9d[_0x4d405e(0x1eb)][_0x4d405e(0x1f8)](_0x168a61),this[_0x4d405e(0x21e)]=this[_0x4d405e(0x230)][_0x4d405e(0x22c)],this[_0x4d405e(0x1f1)]=null;}[_0x295f8e(0x1e9)](){const _0x3f0a27=_0x295f8e,_0xec2ef3=this[_0x3f0a27(0x21e)][_0x3f0a27(0x237)],_0x139e43=this[_0x3f0a27(0x22a)](),_0x12a718=this[_0x3f0a27(0x212)][_0x3f0a27(0x218)][_0x3f0a27(0x1f8)](_0x3f0a27(0x200));this[_0x3f0a27(0x1f1)]=new _0x29dd07(this[_0x3f0a27(0x212)][_0x3f0a27(0x1f6)],_0xec2ef3,_0x139e43,this[_0x3f0a27(0x212)][_0x3f0a27(0x218)][_0x3f0a27(0x1f8)](_0x3f0a27(0x1f7))),this[_0x3f0a27(0x1f1)]['on'](_0x3f0a27(0x205),this[_0x3f0a27(0x222)][_0x3f0a27(0x227)](this)),this[_0x3f0a27(0x1f1)]['on'](_0x3f0a27(0x21d),this[_0x3f0a27(0x201)][_0x3f0a27(0x227)](this)),this[_0x3f0a27(0x1f1)][_0x3f0a27(0x227)](_0x3f0a27(0x1f4))['to'](this[_0x3f0a27(0x230)]),this[_0x3f0a27(0x1f1)][_0x3f0a27(0x1f0)]['on'](_0x3f0a27(0x20a),(_0x2b423c,_0x1087ca)=>{const _0x369d3e=_0x3f0a27;_0x1087ca[_0x369d3e(0x1fd)]['on'](_0x369d3e(0x20a),(_0x32a2de,_0x2a97c4)=>{const _0x415d21=_0x369d3e;_0x2a97c4[_0x415d21(0x227)](_0x415d21(0x1f4),_0x415d21(0x20f))['to'](this[_0x415d21(0x230)]);});}),this[_0x3f0a27(0x1f1)][_0x3f0a27(0x20b)](),this[_0x3f0a27(0x204)](this[_0x3f0a27(0x212)][_0x3f0a27(0x217)],_0x3f0a27(0x203),this[_0x3f0a27(0x1fb)][_0x3f0a27(0x227)](this)),this[_0x3f0a27(0x204)](this[_0x3f0a27(0x230)],_0x3f0a27(0x1ee),this[_0x3f0a27(0x236)][_0x3f0a27(0x227)](this)),_0x12a718[_0x3f0a27(0x219)](this[_0x3f0a27(0x1f1)][_0x3f0a27(0x21c)]);}[_0x295f8e(0x21f)](){const _0x21ed2a=_0x295f8e;this[_0x21ed2a(0x1f1)][_0x21ed2a(0x21c)][_0x21ed2a(0x1ff)](),this[_0x21ed2a(0x1f1)][_0x21ed2a(0x21f)]();}[_0x295f8e(0x1fb)](){const _0x1c2e6f=_0x295f8e,_0x49a1c0=this[_0x1c2e6f(0x21e)][_0x1c2e6f(0x215)](0x0);if(_0x49a1c0){const _0x2ee604=this[_0x1c2e6f(0x21e)][_0x1c2e6f(0x233)](_0x49a1c0['id']);this[_0x1c2e6f(0x230)][_0x1c2e6f(0x210)](_0x49a1c0,_0x2ee604);}}[_0x295f8e(0x222)](_0x21fdfb,_0x5d16c3){const _0x4a3dc2=_0x295f8e,_0x21eb9d=this[_0x4a3dc2(0x21e)][_0x4a3dc2(0x215)](_0x5d16c3['id']),_0x2eda64=this[_0x4a3dc2(0x21e)][_0x4a3dc2(0x233)](_0x21eb9d['id']);this[_0x4a3dc2(0x230)][_0x4a3dc2(0x210)](_0x21eb9d,_0x2eda64);}[_0x295f8e(0x201)](_0x20317f,_0x2699c8){const _0x4a68e9=_0x295f8e;this[_0x4a68e9(0x21e)][_0x4a68e9(0x215)](_0x2699c8['id'])[_0x4a68e9(0x1ec)](_0x2699c8[_0x4a68e9(0x1ef)]);}[_0x295f8e(0x236)](_0x401dc1,_0x4b3e23,_0x2d2be5){const _0x59b9f1=_0x295f8e,_0xf76522=this[_0x59b9f1(0x21e)][_0x59b9f1(0x216)](_0x2d2be5);_0xf76522[_0x59b9f1(0x211)]>0x2?(this[_0x59b9f1(0x1f1)][_0x59b9f1(0x239)](_0xf76522),this[_0x59b9f1(0x1f1)][_0x59b9f1(0x213)](null)):(this[_0x59b9f1(0x1f1)][_0x59b9f1(0x239)]([]),this[_0x59b9f1(0x1f1)][_0x59b9f1(0x213)](_0xf76522[0x0]));}[_0x295f8e(0x22a)](){const _0x18c510=_0x295f8e,_0x2ec6e1=this[_0x18c510(0x212)],_0x1aa719=w[_0x18c510(0x206)],_0x6e0052=_0x2ec6e1[_0x18c510(0x218)][_0x18c510(0x1f8)](_0x18c510(0x1f3))||w[_0x18c510(0x231)];if(_0x6e0052[_0x18c510(0x211)])return _0x6e0052[_0x18c510(0x232)](_0x3c6c6b=>{const _0x5d6bb3=_0x18c510,_0x42b1fb=_0x5d6bb3(0x22f)==typeof _0x3c6c6b?Object[_0x5d6bb3(0x20d)]({},_0x1aa719[_0x3c6c6b]):_0x3c6c6b;return _0x42b1fb[_0x5d6bb3(0x228)]=_0x42b1fb[_0x5d6bb3(0x228)][_0x5d6bb3(0x227)](this,_0x2ec6e1),_0x42b1fb[_0x5d6bb3(0x1fa)]&&(_0x42b1fb[_0x5d6bb3(0x1fa)]=_0x42b1fb[_0x5d6bb3(0x1fa)][_0x5d6bb3(0x227)](this,_0x2ec6e1)),_0x42b1fb;});}}function _0x1967(){const _0x521002=['requires','bind','action','3374721SeHZec','_createRevisionActions','268398GbSdIG','repository','Name\x20this\x20revision','20ZhWllO','string','_revisionViewer','defaultRevisionActions','map','getEarlierVisibleRevision','243942ecYdOq','newRevisionId','_handleDiffChange','_revisions','1828953QwjeEs','highlightRevisions','init','pluginName','plugins','setName','fieldView','change:diff','name','timePeriodViews','_sidebarView','revisionHistory','revisionHistory.revisionActions','isEnabled','801384cSBqaQ','locale','revisionHistory.requireRevisionName','get','Restore\x20this\x20revision','isVisible','_handleEditorDataReady','restoreRevisionCallback','revisionViews','isSelected','remove','revisionHistory.viewerSidebarContainer','_handleRevisionSetName','nameRevision','ready','listenTo','revisionSelected','availableRevisionActions','63243BwyrFf','RevisionsSidebar','Compare\x20against\x20selected','add','render','restoreRevision','assign','diff','isReady','compare','length','editor','selectRevision','21036VWGsxb','getRevision','getRevisionsInDiff','data','config','appendChild','65FqUeHm','14GauBxG','element','revisionSetName','_revisionsRepository','destroy','getIndex','getLaterVisibleRevision','_handleRevisionSelected','compareAgainstSelected','select','focus'];_0x1967=function(){return _0x521002;};return _0x1967();}w[_0x295f8e(0x231)]=[_0x295f8e(0x223),_0x295f8e(0x20c),_0x295f8e(0x202)],w[_0x295f8e(0x206)]={'compareAgainstSelected':{'name':_0x295f8e(0x209),'action':({plugins:_0x5a9c3a},_0x5bdaa7)=>{const _0x44f74c=_0x295f8e,_0x3ac132=_0x5a9c3a[_0x44f74c(0x1f8)](_0x168a61),_0x3fcd51=_0x3ac132[_0x44f74c(0x22c)];let _0x103e46=_0x3ac132[_0x44f74c(0x20e)][_0x44f74c(0x235)],_0x1bf63f=_0x5bdaa7['id'];_0x3fcd51[_0x44f74c(0x220)](_0x103e46)>_0x3fcd51[_0x44f74c(0x220)](_0x1bf63f)&&([_0x103e46,_0x1bf63f]=[_0x1bf63f,_0x103e46]),_0x3ac132[_0x44f74c(0x210)](_0x103e46,_0x1bf63f);},'isVisible':({plugins:_0x19e010},_0x5d11ef)=>{const _0x5f1512=_0x295f8e,_0x66a0e7=_0x19e010[_0x5f1512(0x1f8)](_0x168a61);return!(_0x66a0e7[_0x5f1512(0x22c)][_0x5f1512(0x216)](_0x66a0e7[_0x5f1512(0x20e)])[_0x5f1512(0x211)]>0x2||_0x5d11ef[_0x5f1512(0x1fe)]);}},'restoreRevision':{'name':_0x295f8e(0x1f9),'action':(_0x1d962d,{id:_0x2caeb3})=>{const _0x2102ff=_0x295f8e;_0x1d962d[_0x2102ff(0x218)][_0x2102ff(0x1f8)](_0x2102ff(0x1f2))[_0x2102ff(0x1fc)](_0x2caeb3);},'isVisible':({plugins:_0x292313},_0x467817)=>!!_0x292313[_0x295f8e(0x1f8)](_0x168a61)[_0x295f8e(0x22c)][_0x295f8e(0x221)](_0x467817['id'])},'nameRevision':{'name':_0x295f8e(0x22d),'action':({plugins:_0x55da4c},{id:_0x12f332,revisionNameView:_0xb92cbd})=>{const _0x4ae0b5=_0x295f8e,_0x19ddde=_0x55da4c[_0x4ae0b5(0x1f8)](_0x168a61),_0x5d82ce=_0x19ddde[_0x4ae0b5(0x22c)][_0x4ae0b5(0x233)](_0x12f332);_0x19ddde[_0x4ae0b5(0x210)](_0x12f332,_0x5d82ce),_0xb92cbd[_0x4ae0b5(0x225)](),_0xb92cbd[_0x4ae0b5(0x1ed)][_0x4ae0b5(0x224)]();}}};export default w;
|
|
@@ -2,4 +2,15 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/ui/revisionsidebar/revisionsidebarheaderview
|
|
7
|
+
*/
|
|
8
|
+
import { View } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
5
10
|
import '../../../theme/revisionssidebar/revisionssidebarheader.css';
|
|
11
|
+
export default class RevisionsSidebarHeaderView extends View {
|
|
12
|
+
/**
|
|
13
|
+
* TODO
|
|
14
|
+
*/
|
|
15
|
+
constructor(locale: Locale);
|
|
16
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x12df69,_0x4a293b){const _0x1fdf38=_0x2de2,_0x1141cd=_0x12df69();while(!![]){try{const _0x1f1238=-parseInt(_0x1fdf38(0x72))/0x1+parseInt(_0x1fdf38(0x71))/0x2+parseInt(_0x1fdf38(0x73))/0x3+parseInt(_0x1fdf38(0x6f))/0x4+-parseInt(_0x1fdf38(0x6b))/0x5*(parseInt(_0x1fdf38(0x6a))/0x6)+parseInt(_0x1fdf38(0x74))/0x7+-parseInt(_0x1fdf38(0x70))/0x8;if(_0x1f1238===_0x4a293b)break;else _0x1141cd['push'](_0x1141cd['shift']());}catch(_0x1d00b4){_0x1141cd['push'](_0x1141cd['shift']());}}}(_0x430c,0x6cbfd));import{View as _0x484f2d,IconView as _0xfc0efd}from'ckeditor5/src/ui.js';function _0x2de2(_0x4938ef,_0x24055b){const _0x430c0f=_0x430c();return _0x2de2=function(_0x2de210,_0x492841){_0x2de210=_0x2de210-0x64;let _0x518897=_0x430c0f[_0x2de210];return _0x518897;},_0x2de2(_0x4938ef,_0x24055b);}import{getTranslation as _0x21f308}from'../../utils/common-translations.js';import{icons as _0x384e2d}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class as extends _0x484f2d{constructor(_0x1bd578){const _0xf770f2=_0x2de2;super(_0x1bd578);const _0x425c4d=new _0xfc0efd();_0x425c4d[_0xf770f2(0x69)]=_0x384e2d[_0xf770f2(0x6e)],this[_0xf770f2(0x66)]({'tag':_0xf770f2(0x68),'attributes':{'class':['ck',_0xf770f2(0x67),_0xf770f2(0x64)]},'children':[_0x425c4d,{'tag':_0xf770f2(0x6c),'attributes':{'class':['ck',_0xf770f2(0x65)]},'children':[_0x21f308(_0x1bd578,_0xf770f2(0x6d))]}]});}}function _0x430c(){const _0x52c365=['content','6FeNwmC','94040jynnOX','span','Revision\x20history','history','3213272LvhwmF','16649856STqVDF','1026030hVPvCd','221055DQuuzx','2572809QBPHou','4148172iPPeds','ck-revision-history-sidebar__header','ck-revision-history-sidebar__header__label','setTemplate','ck-reset_all','div'];_0x430c=function(){return _0x52c365;};return _0x430c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x375f60=_0x2bbb;(function(_0x391c0f,_0x4e82d7){const _0x34a52a=_0x2bbb,_0x48b61f=_0x391c0f();while(!![]){try{const _0x227f92=parseInt(_0x34a52a(0xd8))/0x1+parseInt(_0x34a52a(0xe8))/0x2+-parseInt(_0x34a52a(0xe3))/0x3*(parseInt(_0x34a52a(0xd6))/0x4)+parseInt(_0x34a52a(0xd5))/0x5+parseInt(_0x34a52a(0xdc))/0x6+parseInt(_0x34a52a(0xda))/0x7*(-parseInt(_0x34a52a(0xe7))/0x8)+-parseInt(_0x34a52a(0xf0))/0x9;if(_0x227f92===_0x4e82d7)break;else _0x48b61f['push'](_0x48b61f['shift']());}catch(_0x397059){_0x48b61f['push'](_0x48b61f['shift']());}}}(_0x4dfc,0xacfbb));import{View as _0x26b701}from'ckeditor5/src/ui.js';import _0x4b7242 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x2d82d7}from'./utils.js';function _0x2bbb(_0x35e9a9,_0x1f0107){const _0x4dfce3=_0x4dfc();return _0x2bbb=function(_0x2bbbcd,_0x41ff8a){_0x2bbbcd=_0x2bbbcd-0xd5;let _0x3a6468=_0x4dfce3[_0x2bbbcd];return _0x3a6468;},_0x2bbb(_0x35e9a9,_0x1f0107);}import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class mi extends _0x26b701{constructor(_0x1cbb6d,_0x1f3139,_0x299aad,_0x521958){const _0xf9e73d=_0x2bbb;super(_0x1cbb6d);const _0x4b700b=_0x2d82d7(_0x1f3139,this[_0xf9e73d(0xdd)][_0xf9e73d(0xde)])[_0xf9e73d(0xdb)];this[_0xf9e73d(0xe4)]=_0x1f3139,this[_0xf9e73d(0xef)]=this[_0xf9e73d(0xf3)](),this[_0xf9e73d(0xe5)]=_0x299aad,this[_0xf9e73d(0xd9)]=_0x521958,this[_0xf9e73d(0xef)][_0xf9e73d(0xdf)](_0xf9e73d(0xee))['to'](this),this[_0xf9e73d(0xef)][_0xf9e73d(0xdf)](_0xf9e73d(0xec))['to'](this),this[_0xf9e73d(0xeb)]({'tag':_0xf9e73d(0xf2),'attributes':{'class':['ck',_0xf9e73d(0xe2)]},'children':[{'tag':_0xf9e73d(0xed),'attributes':{'class':['ck',_0xf9e73d(0xf1)]},'children':[{'text':_0x4b700b}]},{'tag':_0xf9e73d(0xf2),'attributes':{'class':['ck',_0xf9e73d(0xea)]},'children':this[_0xf9e73d(0xef)]}]});}[_0x375f60(0xe1)](_0x7435d6){const _0x98a407=_0x375f60,_0x5b835d=new _0x4b7242(this[_0x98a407(0xdd)],_0x7435d6,this[_0x98a407(0xe5)],this[_0x98a407(0xd9)]);this[_0x98a407(0xef)][_0x98a407(0xe6)](_0x5b835d);}[_0x375f60(0xd7)](_0x2ae120){const _0x2f97f3=_0x375f60,_0x5eddb8=this[_0x2f97f3(0xef)][_0x2f97f3(0xe9)](_0x262cce=>_0x262cce['id']===_0x2ae120['id']);this[_0x2f97f3(0xef)][_0x2f97f3(0xe0)](_0x5eddb8);}}function _0x4dfc(){const _0x522fcb=['delegate','remove','addRevision','ck-revision-history-sidebar__time-period','444qHIXzl','startDate','_revisionActions','add','80dcIACi','1633450XEOiMr','find','ck-revision-history-sidebar__time-period__revisions','setTemplate','setName','span','select','revisionViews','1744974bFJwrf','ck-revision-history-sidebar__time-period__label','div','createCollection','3330775qxXnWA','35428jHnELI','removeRevision','544807hcXiHe','_requireRevisionName','305865JqUhqH','localizedPeriodName','3735144jsbuuk','locale','uiLanguage'];_0x4dfc=function(){return _0x522fcb;};return _0x4dfc();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x81ade5=_0x416c;(function(_0x41ae67,_0x551c17){const _0x8f4d9c=_0x416c,_0x27fd0d=_0x41ae67();while(!![]){try{const _0xd2642=parseInt(_0x8f4d9c(0xff))/0x1+parseInt(_0x8f4d9c(0x106))/0x2+parseInt(_0x8f4d9c(0xe4))/0x3*(parseInt(_0x8f4d9c(0xeb))/0x4)+-parseInt(_0x8f4d9c(0x112))/0x5+-parseInt(_0x8f4d9c(0xe3))/0x6+-parseInt(_0x8f4d9c(0x111))/0x7+parseInt(_0x8f4d9c(0x105))/0x8;if(_0xd2642===_0x551c17)break;else _0x27fd0d['push'](_0x27fd0d['shift']());}catch(_0xebba15){_0x27fd0d['push'](_0x27fd0d['shift']());}}}(_0x3031,0x22338));import{View as _0x5cb7e1}from'ckeditor5/src/ui.js';function _0x3031(){const _0x180771=['remove','delegate','startDate','select','div','setTemplate','selectRevision','createCollection','_addRevision','bindTemplate','get','75460eRjFyr','_removeRevision','fire','render','ck-rounded-corners','_revisionActions','527552lcdEbh','63314sgQdEW','_getTimePeriodViewByStartDate','map','isEnabled','timePeriodViews','add','addRevision','find','revisionViews','highlightRevisions','uiLanguage','612311akcOJt','846435qiBReF','some','_requireRevisionName','set','locale','ck-revision-history-sidebar','240510nujrjY','84kEdLkv','deselect','unhighlight','ck-disabled','highlight','ck-reset','flat','37696VxufzN','removeRevision','setName','createdAt','ck-revision-history-sidebar__timeline','revisionSetName','getTime','_revisions','revisionSelected'];_0x3031=function(){return _0x180771;};return _0x3031();}import _0x1c269d from'./revisionssidebartimeperiodview.js';function _0x416c(_0x36ac31,_0x5e0c48){const _0x30315a=_0x3031();return _0x416c=function(_0x416c39,_0x1489fc){_0x416c39=_0x416c39-0xde;let _0x5a392c=_0x30315a[_0x416c39];return _0x5a392c;},_0x416c(_0x36ac31,_0x5e0c48);}import _0x94ee55 from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x2be1ed}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ci extends _0x5cb7e1{constructor(_0x144a33,_0x4981d2,_0x1700ca,_0x3365fb){const _0x8b38ae=_0x416c;super(_0x144a33);const _0x1a937e=this[_0x8b38ae(0xfd)];this[_0x8b38ae(0x10a)]=this[_0x8b38ae(0xfb)](),this[_0x8b38ae(0x10a)][_0x8b38ae(0xf5)](_0x8b38ae(0xf7))['to'](this),this[_0x8b38ae(0x10a)][_0x8b38ae(0xf5)](_0x8b38ae(0xed))['to'](this),this[_0x8b38ae(0xf2)]=_0x4981d2,this[_0x8b38ae(0x104)]=_0x1700ca,this[_0x8b38ae(0xdf)]=_0x3365fb,this['on'](_0x8b38ae(0xf7),(_0x2a02e0,_0x400d2b)=>{const _0x545a7b=_0x8b38ae;this[_0x545a7b(0x101)](_0x545a7b(0xf3),_0x400d2b);}),this['on'](_0x8b38ae(0xed),(_0x1066e6,_0x109c27)=>{const _0x2827ab=_0x8b38ae;this[_0x2827ab(0x101)](_0x2827ab(0xf0),_0x109c27);}),this[_0x8b38ae(0xe0)](_0x8b38ae(0x109),!0x1),this[_0x8b38ae(0xf9)]({'tag':_0x8b38ae(0xf8),'attributes':{'class':['ck',_0x8b38ae(0xe9),_0x8b38ae(0x103),_0x8b38ae(0xe2)]},'children':[new _0x94ee55(_0x144a33),{'tag':_0x8b38ae(0xf8),'attributes':{'class':['ck',_0x8b38ae(0xef),_0x1a937e['if'](_0x8b38ae(0x109),_0x8b38ae(0xe7),_0x1f6f40=>!_0x1f6f40)]},'children':this[_0x8b38ae(0x10a)]}]});}[_0x81ade5(0x102)](){const _0x9615bc=_0x81ade5;super[_0x9615bc(0x102)]();for(const _0x35760b of this[_0x9615bc(0xf2)])this[_0x9615bc(0xfc)](_0x35760b);this[_0x9615bc(0xf2)]['on'](_0x9615bc(0x10b),(_0x4fddb5,_0x10813d)=>{const _0x3166a9=_0x9615bc;this[_0x3166a9(0xfc)](_0x10813d);}),this[_0x9615bc(0xf2)]['on'](_0x9615bc(0xf4),(_0x1412f2,_0x1fdf8f)=>{const _0x243080=_0x9615bc;this[_0x243080(0x100)](_0x1fdf8f);});}get[_0x81ade5(0x10e)](){const _0x2449c2=_0x81ade5;return this[_0x2449c2(0x10a)][_0x2449c2(0x108)](_0x3eaa91=>_0x3eaa91[_0x2449c2(0x10e)][_0x2449c2(0x108)](_0x18e5c8=>_0x18e5c8))[_0x2449c2(0xea)]();}[_0x81ade5(0xfa)](_0x407cac){const _0x148633=_0x81ade5;for(const _0x404454 of this[_0x148633(0x10e)])_0x407cac&&_0x407cac['id']===_0x404454['id']?_0x404454[_0x148633(0xf7)]():_0x404454[_0x148633(0xe5)]();}[_0x81ade5(0x10f)](_0x3aebc8){const _0x33d636=_0x81ade5;for(const _0x5cc555 of this[_0x33d636(0x10e)])_0x3aebc8[_0x33d636(0xde)](({id:_0x4a4d8d})=>_0x4a4d8d===_0x5cc555['id'])?_0x5cc555[_0x33d636(0xe8)]():_0x5cc555[_0x33d636(0xe6)]();}[_0x81ade5(0xfc)](_0x34fd78){const _0x566a1f=_0x81ade5,_0x1488c4=_0x2be1ed(_0x34fd78[_0x566a1f(0xee)],this[_0x566a1f(0xe1)][_0x566a1f(0x110)])[_0x566a1f(0xf6)];let _0x3c9faa=this[_0x566a1f(0x10a)][_0x566a1f(0xfe)](0x0);_0x3c9faa&&_0x3c9faa[_0x566a1f(0xf6)][_0x566a1f(0xf1)]()===_0x1488c4[_0x566a1f(0xf1)]()||(_0x3c9faa=new _0x1c269d(this[_0x566a1f(0xe1)],_0x1488c4,this[_0x566a1f(0x104)],this[_0x566a1f(0xdf)]),this[_0x566a1f(0x10a)][_0x566a1f(0x10b)](_0x3c9faa)),_0x3c9faa[_0x566a1f(0x10c)](_0x34fd78);}[_0x81ade5(0x100)](_0x1bda04){const _0x5a2514=_0x81ade5,_0x3ac647=_0x2be1ed(_0x1bda04[_0x5a2514(0xee)],this[_0x5a2514(0xe1)][_0x5a2514(0x110)])[_0x5a2514(0xf6)];this[_0x5a2514(0x107)](_0x3ac647)[_0x5a2514(0xec)](_0x1bda04);}[_0x81ade5(0x107)](_0x4a98e6){const _0x2d43fe=_0x81ade5;return this[_0x2d43fe(0x10a)][_0x2d43fe(0x10d)](_0x55dd2a=>_0x55dd2a[_0x2d43fe(0xf6)][_0x2d43fe(0xf1)]()===_0x4a98e6[_0x2d43fe(0xf1)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x71d665,_0x15eab0){const _0x2800cb=_0x19e7,_0x1ed652=_0x71d665();while(!![]){try{const _0x984e78=parseInt(_0x2800cb(0xeb))/0x1+-parseInt(_0x2800cb(0xe7))/0x2+-parseInt(_0x2800cb(0xf5))/0x3+-parseInt(_0x2800cb(0xea))/0x4*(-parseInt(_0x2800cb(0xe4))/0x5)+-parseInt(_0x2800cb(0xe8))/0x6*(parseInt(_0x2800cb(0xf3))/0x7)+-parseInt(_0x2800cb(0xe2))/0x8+parseInt(_0x2800cb(0xe3))/0x9*(parseInt(_0x2800cb(0xdf))/0xa);if(_0x984e78===_0x15eab0)break;else _0x1ed652['push'](_0x1ed652['shift']());}catch(_0x3e0f59){_0x1ed652['push'](_0x1ed652['shift']());}}}(_0x239d,0x8ebad));function _0x239d(){const _0x255241=['100651SWtfwQ','toRelativeCalendar','fromJSDate','day','weekdayLong','month','monthLong','week','77noenmw','hasSame','1292568BIGEvz','local','250130uWFFkl','setLocale','startOf','6884592rpCphG','720xsTGhM','35TtXWqt','toJSDate','year','847908bZQokt','115998KeixUq','minus','234844ByiYWV'];_0x239d=function(){return _0x255241;};return _0x239d();}function _0x19e7(_0x5cb689,_0x58cc6b){const _0x239d02=_0x239d();return _0x19e7=function(_0x19e765,_0x3d0613){_0x19e765=_0x19e765-0xdf;let _0x3cae59=_0x239d02[_0x19e765];return _0x3cae59;},_0x19e7(_0x5cb689,_0x58cc6b);}import{DateTime as _0x1f66bb}from'luxon';export function getDateTimePeriodInfo(_0x44ff30,_0x46b3b8){const _0x9dcd44=_0x19e7,_0x303394=_0x1f66bb[_0x9dcd44(0xed)](_0x44ff30)[_0x9dcd44(0xe0)](_0x46b3b8),_0x245fe7=_0x1f66bb[_0x9dcd44(0xf6)](),_0x15fe17=_0x245fe7[_0x9dcd44(0xe9)]({'days':0x1})[_0x9dcd44(0xe1)](_0x9dcd44(0xee));let _0xc09eb1,_0x4aba6b;return _0x303394[_0x9dcd44(0xf4)](_0x245fe7,_0x9dcd44(0xee))?(_0xc09eb1=_0x303394[_0x9dcd44(0xe1)](_0x9dcd44(0xee))[_0x9dcd44(0xe5)](),_0x4aba6b=_0x303394[_0x9dcd44(0xec)]()):_0x303394[_0x9dcd44(0xf4)](_0x15fe17,_0x9dcd44(0xee))?(_0xc09eb1=_0x15fe17[_0x9dcd44(0xe5)](),_0x4aba6b=_0x303394[_0x9dcd44(0xec)]()):_0x303394[_0x9dcd44(0xf4)](_0x245fe7,_0x9dcd44(0xf2))?(_0xc09eb1=_0x303394[_0x9dcd44(0xe1)](_0x9dcd44(0xf2))[_0x9dcd44(0xe5)](),_0x4aba6b=_0x303394[_0x9dcd44(0xef)]||''):_0x303394[_0x9dcd44(0xf4)](_0x245fe7,_0x9dcd44(0xe6))?(_0xc09eb1=_0x303394[_0x9dcd44(0xe1)](_0x9dcd44(0xf0))[_0x9dcd44(0xe5)](),_0x4aba6b=_0x303394[_0x9dcd44(0xf1)]||''):(_0xc09eb1=_0x303394[_0x9dcd44(0xe1)](_0x9dcd44(0xe6))[_0x9dcd44(0xe5)](),_0x4aba6b=String(_0x303394[_0x9dcd44(0xe6)])),{'startDate':_0xc09eb1,'localizedPeriodName':_0x4aba6b};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x421924=_0x2cc5;(function(_0x2a5d73,_0x36e6b8){const _0x1b48fe=_0x2cc5,_0x24f22f=_0x2a5d73();while(!![]){try{const _0x50c6e4=parseInt(_0x1b48fe(0x167))/0x1*(parseInt(_0x1b48fe(0x169))/0x2)+parseInt(_0x1b48fe(0x15f))/0x3*(-parseInt(_0x1b48fe(0x16c))/0x4)+parseInt(_0x1b48fe(0x175))/0x5+parseInt(_0x1b48fe(0x16e))/0x6+-parseInt(_0x1b48fe(0x164))/0x7+parseInt(_0x1b48fe(0x161))/0x8+-parseInt(_0x1b48fe(0x163))/0x9;if(_0x50c6e4===_0x36e6b8)break;else _0x24f22f['push'](_0x24f22f['shift']());}catch(_0x236c46){_0x24f22f['push'](_0x24f22f['shift']());}}}(_0x52e7,0x7418c));import{View as _0x41025e}from'ckeditor5/src/ui.js';import{getTranslation as _0x9ebe0}from'../../utils/common-translations.js';function _0x2cc5(_0x244e49,_0x366066){const _0x52e7cb=_0x52e7();return _0x2cc5=function(_0x2cc501,_0xf8e4e4){_0x2cc501=_0x2cc501-0x159;let _0x3b7164=_0x52e7cb[_0x2cc501];return _0x3b7164;},_0x2cc5(_0x244e49,_0x366066);}export default class Z extends _0x41025e{constructor(_0x384af8,_0x197274){const _0x534513=_0x2cc5;super(_0x384af8),this[_0x534513(0x166)]=_0x197274,this[_0x534513(0x160)]=_0x197274['id'];const _0x5ed37c=this[_0x534513(0x16b)],_0x4ca9ee=_0x9ebe0(_0x384af8,_0x197274[_0x534513(0x162)][_0x534513(0x15d)]?_0x534513(0x171):_0x534513(0x173)==_0x197274[_0x534513(0x16f)]?_0x534513(0x177):_0x534513(0x174));this[_0x534513(0x15a)](_0x534513(0x16f),_0x197274[_0x534513(0x16f)]),this[_0x534513(0x176)]({'tag':_0x534513(0x172),'attributes':{'class':[_0x534513(0x16a),_0x534513(0x15e),_0x5ed37c['to'](_0x534513(0x16f),_0xac9833=>_0x534513(0x159)+_0xac9833)],'tabindex':-0x1},'children':[{'tag':_0x534513(0x168),'children':[{'tag':_0x534513(0x168),'attributes':{'class':[_0x534513(0x15c)]},'children':[{'text':_0x4ca9ee}]},{'text':'\x20'+_0x197274[_0x534513(0x16d)][_0x534513(0x170)]}]}]});}[_0x421924(0x165)](){const _0x207216=_0x421924;this[_0x207216(0x15b)][_0x207216(0x165)]();}}function _0x52e7(){const _0x156293=['4672095WiuXVe','setTemplate','Added\x20by','ck-revision-change__','set','element','ck-revision-change__label','isSuggestion','ck-revision-change','41649joEkEC','changeId','7411280evJnJr','data','19503351BOltlM','356251RWzawk','focus','_model','20486nntcgb','span','50rkSMyK','ck-annotation','bindTemplate','8twKCnb','author','2089506havXsh','type','name','Suggested\x20by','div','add','Removed\x20by'];_0x52e7=function(){return _0x156293;};return _0x52e7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x47218b,_0x363dba){const _0xdef196=_0x4dbd,_0x47cfed=_0x47218b();while(!![]){try{const _0x3ddf89=parseInt(_0xdef196(0x182))/0x1*(-parseInt(_0xdef196(0x193))/0x2)+-parseInt(_0xdef196(0x183))/0x3*(-parseInt(_0xdef196(0x1a2))/0x4)+-parseInt(_0xdef196(0x1aa))/0x5*(-parseInt(_0xdef196(0x1a6))/0x6)+-parseInt(_0xdef196(0x1a1))/0x7*(parseInt(_0xdef196(0x180))/0x8)+parseInt(_0xdef196(0x1a9))/0x9*(-parseInt(_0xdef196(0x194))/0xa)+parseInt(_0xdef196(0x18c))/0xb*(-parseInt(_0xdef196(0x19f))/0xc)+-parseInt(_0xdef196(0x188))/0xd*(-parseInt(_0xdef196(0x19d))/0xe);if(_0x3ddf89===_0x363dba)break;else _0x47cfed['push'](_0x47cfed['shift']());}catch(_0x20ffac){_0x47cfed['push'](_0x47cfed['shift']());}}}(_0x55db,0x95f70));import{View as _0x2a115a,ButtonView as _0x596f0b,ToolbarSeparatorView as _0x55af8c}from'ckeditor5/src/ui.js';import{getTranslation as _0x90c76c}from'../../utils/common-translations.js';import _0x3e50f2 from'../../../theme/icons/arrow-up.svg';import _0xab5a29 from'../../../theme/icons/arrow-down.svg';function _0x4dbd(_0x56a20c,_0x42125f){const _0x55db5c=_0x55db();return _0x4dbd=function(_0x4dbded,_0x55bf8f){_0x4dbded=_0x4dbded-0x17e;let _0x516cdf=_0x55db5c[_0x4dbded];return _0x516cdf;},_0x4dbd(_0x56a20c,_0x42125f);}function _0x55db(){const _0x39208d=['forward','isBackwardNavigationEnabled','_isStatusLabelVisible','isEnabled','ck-revision-history-ui__changes-navigation__label','ck-revision-history-ui__changes-navigation__navigation','201236CgCgPc','isNavigationMode','3873204ePBcuo','execute','1491hSQZYp','40SVgQxD','isReady','EDIT_X_OF_Y_REVISIONS','ck-revision-history-ui__changes-navigation__wrapper','77478pVlEQK','isForwardNavigationEnabled','No\x20changes','1588698XYKRZR','45IkqJbI','bindTemplate','fire','ck-hidden','set','10232OmeJcH','numberOfChanges','31sRlbeW','132564fZxQPo','currentChangeNumber','Show\x20next\x20change','bind','setTemplate','1508ellPbw','_statusText','span','div','33QClnXu','Total','backward','ck-revision-history-ui','Show\x20previous\x20change','NUMBER_OF_CHANGES','X_OF_Y_CHANGES','1126vIADwa','20RSvXfC','Loading...','ck-revision-history-ui__changes-navigation'];_0x55db=function(){return _0x39208d;};return _0x55db();}import'../../../theme/changesnavigation.css';export default class _i extends _0x2a115a{constructor(_0x1ce72c){const _0x4de053=_0x4dbd;super(_0x1ce72c);const _0x1a6923=this[_0x4de053(0x1ab)],_0x33b189=new _0x596f0b(_0x1ce72c),_0x1a4ed2=new _0x596f0b(_0x1ce72c);this[_0x4de053(0x17f)](_0x4de053(0x19e),!0x1),this[_0x4de053(0x17f)](_0x4de053(0x1a3),!0x1),this[_0x4de053(0x17f)](_0x4de053(0x184),0x0),this[_0x4de053(0x17f)](_0x4de053(0x181),0x0),this[_0x4de053(0x17f)](_0x4de053(0x1a7),!0x1),this[_0x4de053(0x17f)](_0x4de053(0x198),!0x1),this[_0x4de053(0x186)](_0x4de053(0x199))['to'](this,_0x4de053(0x1a3),this,_0x4de053(0x181),(_0x15926a,_0x3dc771)=>_0x15926a&&_0x3dc771>0x0),this[_0x4de053(0x186)](_0x4de053(0x189))['to'](this,_0x4de053(0x1a3),this,_0x4de053(0x184),this,_0x4de053(0x181),this,_0x4de053(0x19e),(_0x1c8ed7,_0x21685f,_0x4f9fa5,_0x5c3bbe)=>{const _0x33979d=_0x4de053;if(!_0x1c8ed7)return _0x90c76c(_0x1ce72c,_0x33979d(0x195));if(!_0x4f9fa5)return _0x90c76c(_0x1ce72c,_0x33979d(0x1a8));const _0x3d6fff=_0x90c76c(_0x1ce72c,_0x33979d(0x191),_0x4f9fa5);return _0x5c3bbe?_0x90c76c(_0x1ce72c,_0x33979d(0x192),[_0x21685f+0x1,_0x4f9fa5]):_0x3d6fff;}),_0x33b189[_0x4de053(0x17f)]({'label':_0x90c76c(_0x1ce72c,_0x4de053(0x190)),'tooltip':!0x0,'icon':_0x3e50f2}),_0x1a4ed2[_0x4de053(0x17f)]({'label':_0x90c76c(_0x1ce72c,_0x4de053(0x185)),'tooltip':!0x0,'icon':_0xab5a29}),_0x33b189[_0x4de053(0x186)](_0x4de053(0x19a))['to'](this,_0x4de053(0x198)),_0x1a4ed2[_0x4de053(0x186)](_0x4de053(0x19a))['to'](this,_0x4de053(0x1a7)),_0x33b189['on'](_0x4de053(0x1a0),()=>this[_0x4de053(0x1ac)](_0x4de053(0x1a0),_0x4de053(0x18e))),_0x1a4ed2['on'](_0x4de053(0x1a0),()=>this[_0x4de053(0x1ac)](_0x4de053(0x1a0),_0x4de053(0x197))),this[_0x4de053(0x187)]({'tag':_0x4de053(0x18b),'attributes':{'class':['ck',_0x4de053(0x18f),_0x4de053(0x196)]},'children':[{'tag':_0x4de053(0x18a),'attributes':{'class':[_0x4de053(0x1a5)]},'children':[{'tag':_0x4de053(0x18a),'attributes':{'class':[_0x4de053(0x19b),_0x1a6923['if'](_0x4de053(0x199),_0x4de053(0x17e),_0x57a28a=>!_0x57a28a)]},'children':[{'text':_0x1a6923['to'](_0x4de053(0x19e),_0x267e92=>_0x267e92?_0x90c76c(_0x1ce72c,_0x4de053(0x1a4))+':\x20':_0x90c76c(_0x1ce72c,_0x4de053(0x18d))+':\x20')}]},{'text':_0x1a6923['to'](_0x4de053(0x189))}]},new _0x55af8c(),{'tag':_0x4de053(0x18b),'attributes':{'class':[_0x4de053(0x19c)]},'children':[_0x33b189,_0x1a4ed2]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3905f8=_0x3206;function _0x5b22(){const _0x22361c=['removeClass','RevisionViewerLoadingOverlay','3314275kDcBpO','view','3YZJvuv','pluginName','18wxFHcl','roots','6254608SrzhEf','addClass','ck-editor__editable__loading-overlay','546862QYNzTr','1066343ydrGfn','3974970iKJpXy','3880388btRyUr','editor','16503380YRhKUP','document','7ELFGnd','change','editing','hide','show'];_0x5b22=function(){return _0x22361c;};return _0x5b22();}(function(_0x4e3565,_0x106dcd){const _0x451706=_0x3206,_0x25741a=_0x4e3565();while(!![]){try{const _0x222823=parseInt(_0x451706(0x165))/0x1+-parseInt(_0x451706(0x164))/0x2+-parseInt(_0x451706(0x15d))/0x3*(-parseInt(_0x451706(0x150))/0x4)+parseInt(_0x451706(0x15b))/0x5+-parseInt(_0x451706(0x14f))/0x6*(-parseInt(_0x451706(0x154))/0x7)+parseInt(_0x451706(0x161))/0x8+-parseInt(_0x451706(0x15f))/0x9*(parseInt(_0x451706(0x152))/0xa);if(_0x222823===_0x106dcd)break;else _0x25741a['push'](_0x25741a['shift']());}catch(_0x522f0e){_0x25741a['push'](_0x25741a['shift']());}}}(_0x5b22,0x8b0a5));import{Plugin as _0x3b2ec2}from'ckeditor5/src/core.js';const ce=_0x3905f8(0x163);function _0x3206(_0x30535c,_0xbac38b){const _0x5b2260=_0x5b22();return _0x3206=function(_0x32068d,_0x2d4d05){_0x32068d=_0x32068d-0x14f;let _0x2032b0=_0x5b2260[_0x32068d];return _0x2032b0;},_0x3206(_0x30535c,_0xbac38b);}import'../../../theme/revisionviewerloadingoverlay.css';export default class de extends _0x3b2ec2{static get[_0x3905f8(0x15e)](){const _0x578ec0=_0x3905f8;return _0x578ec0(0x15a);}[_0x3905f8(0x158)](){const _0x403719=_0x3905f8,_0x3a5bc4=this[_0x403719(0x151)][_0x403719(0x156)][_0x403719(0x15c)];_0x3a5bc4[_0x403719(0x155)](_0x24a9ea=>{const _0xf36e42=_0x403719;for(const _0xc4db46 of _0x3a5bc4[_0xf36e42(0x153)][_0xf36e42(0x160)])_0x24a9ea[_0xf36e42(0x162)](ce,_0xc4db46);});}[_0x3905f8(0x157)](){const _0x1ef43b=_0x3905f8,_0x5292ff=this[_0x1ef43b(0x151)][_0x1ef43b(0x156)][_0x1ef43b(0x15c)];_0x5292ff[_0x1ef43b(0x155)](_0x3fe4a7=>{const _0x1ce425=_0x1ef43b;for(const _0x41561d of _0x5292ff[_0x1ce425(0x153)][_0x1ce425(0x160)])_0x3fe4a7[_0x1ce425(0x159)](ce,_0x41561d);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x571b71=_0x37bf;function _0x37bf(_0x30b0d9,_0x359216){const _0x4ace01=_0x4ace();return _0x37bf=function(_0x37bf58,_0x1c9a47){_0x37bf58=_0x37bf58-0x1be;let _0x44454f=_0x4ace01[_0x37bf58];return _0x44454f;},_0x37bf(_0x30b0d9,_0x359216);}(function(_0x1a5452,_0x457611){const _0x539ebe=_0x37bf,_0x584ed7=_0x1a5452();while(!![]){try{const _0x4510c9=parseInt(_0x539ebe(0x1d1))/0x1*(-parseInt(_0x539ebe(0x1d9))/0x2)+parseInt(_0x539ebe(0x1e9))/0x3*(-parseInt(_0x539ebe(0x1e8))/0x4)+-parseInt(_0x539ebe(0x1d2))/0x5+parseInt(_0x539ebe(0x1d3))/0x6+-parseInt(_0x539ebe(0x1bf))/0x7+parseInt(_0x539ebe(0x1e3))/0x8+parseInt(_0x539ebe(0x1e5))/0x9;if(_0x4510c9===_0x457611)break;else _0x584ed7['push'](_0x584ed7['shift']());}catch(_0x36dafe){_0x584ed7['push'](_0x584ed7['shift']());}}}(_0x4ace,0x412e3));import{icons as _0xe65006,Plugin as _0x2429be}from'ckeditor5/src/core.js';import{ButtonView as _0x2882e7}from'ckeditor5/src/ui.js';import _0x3f7885 from'./changesnavigationview.js';function _0x4ace(){const _0x26e2e6=['3004326PKqoFY','add','restoreRevision','show','editor','componentFactory','2iGsWbW','change:isReady','bind','showNextChange','Back\x20to\x20editing','requires','undo','set','exitToEditing','forward','2096160jyDhVm','pluginName','6181092sSDDdE','get','Restore\x20this\x20revision','1307676UoemAR','3TKIyxW','closeRevisionViewerCallback','commands','changesNavigation','2906414LURHOj','listenTo','showPreviousChange','ck-revision-history-ui__back-to-editing','RevisionViewerUI','revisionHistory','isReady','execute','isBackwardNavigationEnabled','isEnabled','currentChangeNumber','init','isNavigationMode','config','hide','numberOfChanges','plugins','isForwardNavigationEnabled','96838llLAIp','1717955sQtGni'];_0x4ace=function(){return _0x26e2e6;};return _0x4ace();}import _0x545bd3 from'./../../revisionviewer.js';import _0x30993b from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x5bb663}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x2429be{static get[_0x571b71(0x1e4)](){const _0x4a28ac=_0x571b71;return _0x4a28ac(0x1c3);}static get[_0x571b71(0x1de)](){return[_0x545bd3,_0x30993b];}[_0x571b71(0x1ca)](){const _0x3c8964=_0x571b71,_0x238c48=this[_0x3c8964(0x1d7)],_0x445df3=_0x238c48[_0x3c8964(0x1cf)][_0x3c8964(0x1e6)](_0x545bd3),_0x2b49e3=_0x238c48[_0x3c8964(0x1cf)][_0x3c8964(0x1e6)](_0x30993b);_0x238c48['ui'][_0x3c8964(0x1d8)][_0x3c8964(0x1d4)](_0x3c8964(0x1e1),_0x21be9f=>{const _0x5ccb26=_0x3c8964,_0xabe34a=new _0x2882e7(_0x21be9f);return _0xabe34a[_0x5ccb26(0x1e0)]({'label':_0x5bb663(_0x21be9f,_0x5ccb26(0x1dd)),'icon':_0xe65006[_0x5ccb26(0x1df)],'withText':!0x0,'tooltip':!0x0,'class':_0x5ccb26(0x1c2)}),this[_0x5ccb26(0x1c0)](_0xabe34a,_0x5ccb26(0x1c6),()=>{const _0x52c5c8=_0x5ccb26;_0x238c48[_0x52c5c8(0x1cc)][_0x52c5c8(0x1e6)](_0x52c5c8(0x1c4))[_0x52c5c8(0x1ea)]();}),_0xabe34a;}),_0x238c48['ui'][_0x3c8964(0x1d8)][_0x3c8964(0x1d4)](_0x3c8964(0x1d5),_0x32e3dc=>{const _0x10fb36=_0x3c8964,_0xab7524=new _0x2882e7(_0x32e3dc);return _0xab7524[_0x10fb36(0x1e0)]({'label':_0x5bb663(_0x32e3dc,_0x10fb36(0x1e7)),'withText':!0x0,'tooltip':!0x0}),_0xab7524[_0x10fb36(0x1db)](_0x10fb36(0x1c8))['to'](_0x238c48[_0x10fb36(0x1eb)][_0x10fb36(0x1e6)](_0x10fb36(0x1d5))),this[_0x10fb36(0x1c0)](_0xab7524,_0x10fb36(0x1c6),()=>_0x238c48[_0x10fb36(0x1c6)](_0x10fb36(0x1d5))),_0xab7524;}),_0x238c48['ui'][_0x3c8964(0x1d8)][_0x3c8964(0x1d4)](_0x3c8964(0x1be),_0x260f54=>{const _0x20b65b=_0x3c8964,_0x2d91c2=new _0x3f7885(_0x260f54),_0x583cee=_0x238c48[_0x20b65b(0x1eb)][_0x20b65b(0x1e6)](_0x20b65b(0x1c1)),_0x36a264=_0x238c48[_0x20b65b(0x1eb)][_0x20b65b(0x1e6)](_0x20b65b(0x1dc));return _0x2d91c2[_0x20b65b(0x1db)](_0x20b65b(0x1c7))['to'](_0x583cee,_0x20b65b(0x1c8)),_0x2d91c2[_0x20b65b(0x1db)](_0x20b65b(0x1d0))['to'](_0x36a264,_0x20b65b(0x1c8)),_0x2d91c2[_0x20b65b(0x1db)](_0x20b65b(0x1c5),_0x20b65b(0x1c9),_0x20b65b(0x1ce),_0x20b65b(0x1cb))['to'](_0x445df3),this[_0x20b65b(0x1c0)](_0x2d91c2,_0x20b65b(0x1c6),(_0xf342f9,_0x23d77e)=>{const _0x424666=_0x20b65b;_0x238c48[_0x424666(0x1c6)](_0x424666(0x1e2)===_0x23d77e?_0x424666(0x1dc):_0x424666(0x1c1));}),_0x2d91c2;}),_0x2b49e3[_0x3c8964(0x1d6)](),_0x445df3['on'](_0x3c8964(0x1da),(_0x46e455,_0x518685,_0x2a91a3)=>{const _0x212050=_0x3c8964;_0x2a91a3?_0x2b49e3[_0x212050(0x1cd)]():_0x2b49e3[_0x212050(0x1d6)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x338c34,_0xc6696b,_0x2cf239){const t=_0x338c34['t'];switch(_0xc6696b){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'},_0x2cf239);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2cf239);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'';}}
|