@ckeditor/ckeditor5-revision-history 41.1.0 → 41.2.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 +2 -2
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/contexts.json +5 -2
- package/lang/translations/af.po +13 -1
- package/lang/translations/ar.po +14 -2
- package/lang/translations/az.po +13 -1
- package/lang/translations/bg.po +14 -2
- package/lang/translations/bn.po +14 -2
- package/lang/translations/bs.po +13 -1
- package/lang/translations/ca.po +14 -2
- package/lang/translations/cs.po +14 -2
- package/lang/translations/da.po +14 -2
- package/lang/translations/de-ch.po +13 -1
- package/lang/translations/de.po +14 -2
- package/lang/translations/el.po +14 -2
- package/lang/translations/en-au.po +14 -2
- package/lang/translations/en-gb.po +13 -1
- package/lang/translations/en.po +14 -2
- package/lang/translations/es-co.po +13 -1
- package/lang/translations/es.po +14 -2
- package/lang/translations/et.po +14 -2
- package/lang/translations/fa.po +13 -1
- package/lang/translations/fi.po +14 -2
- package/lang/translations/fr.po +14 -2
- package/lang/translations/gl.po +14 -2
- package/lang/translations/he.po +15 -4
- package/lang/translations/hi.po +14 -2
- package/lang/translations/hr.po +14 -2
- package/lang/translations/hu.po +14 -2
- package/lang/translations/id.po +14 -2
- package/lang/translations/it.po +14 -2
- package/lang/translations/ja.po +14 -2
- package/lang/translations/jv.po +13 -1
- package/lang/translations/ko.po +14 -2
- package/lang/translations/ku.po +13 -1
- package/lang/translations/lt.po +14 -2
- package/lang/translations/lv.po +14 -2
- package/lang/translations/ms.po +14 -2
- package/lang/translations/ne.po +13 -1
- package/lang/translations/nl.po +14 -2
- package/lang/translations/no.po +14 -2
- package/lang/translations/pl.po +14 -2
- package/lang/translations/pt-br.po +14 -2
- package/lang/translations/pt.po +17 -5
- package/lang/translations/ro.po +14 -2
- package/lang/translations/ru.po +14 -2
- package/lang/translations/sk.po +14 -2
- package/lang/translations/sr-latn.po +14 -2
- package/lang/translations/sr.po +14 -2
- package/lang/translations/sv.po +14 -2
- package/lang/translations/th.po +14 -2
- package/lang/translations/tk.po +13 -1
- package/lang/translations/tr.po +14 -2
- package/lang/translations/tt.po +13 -1
- package/lang/translations/ug.po +13 -1
- package/lang/translations/uk.po +14 -2
- package/lang/translations/ur.po +13 -1
- package/lang/translations/vi.po +14 -2
- package/lang/translations/zh-cn.po +14 -2
- package/lang/translations/zh.po +14 -2
- package/package.json +5 -5
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.d.ts +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/revisionhistoryconfig.d.ts +11 -0
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +4 -0
- 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.d.ts +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.d.ts +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.d.ts +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.d.ts +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
- package/theme/revision/revisionname.css +1 -0
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40bd63=_0x3d00;(function(_0x8854c2,_0x3eeaf7){const _0x2f6fce=_0x3d00,_0x549004=_0x8854c2();while(!![]){try{const _0x1e71bc=-parseInt(_0x2f6fce(0xdd))/0x1*(parseInt(_0x2f6fce(0xde))/0x2)+parseInt(_0x2f6fce(0xef))/0x3+-parseInt(_0x2f6fce(0x10d))/0x4*(parseInt(_0x2f6fce(0xe5))/0x5)+parseInt(_0x2f6fce(0xd4))/0x6+-parseInt(_0x2f6fce(0xfc))/0x7*(-parseInt(_0x2f6fce(0xf8))/0x8)+-parseInt(_0x2f6fce(0x108))/0x9*(-parseInt(_0x2f6fce(0x101))/0xa)+-parseInt(_0x2f6fce(0xfe))/0xb*(-parseInt(_0x2f6fce(0x112))/0xc);if(_0x1e71bc===_0x3eeaf7)break;else _0x549004['push'](_0x549004['shift']());}catch(_0x3ae2a9){_0x549004['push'](_0x549004['shift']());}}}(_0x14ac,0xaa584));function _0x3d00(_0x3c6181,_0x873c8f){const _0x14ac55=_0x14ac();return _0x3d00=function(_0x3d0043,_0x18b3b6){_0x3d0043=_0x3d0043-0xd3;let _0x245491=_0x14ac55[_0x3d0043];return _0x245491;},_0x3d00(_0x3c6181,_0x873c8f);}function _0x14ac(){const _0x18b1c7=['arrowup','8KKBNaR','fieldView','ck-button-save','Save','4748891yxnEyd','trim','463177pMJZya','_createRevisionNameInput','arrowdown','208500ycWdUJ','revisionNameInputView','form','saveButtonView','cancel','add','set','126yGtRcG','setTemplate','ck-responsive-form','stopPropagation','listenTo','5431780zEyQeH','arrowleft','shift\x20+\x20tab','arrowright','forEach','180zSoaig','ck-button-cancel','8309082gYmhbv','input','locale','type','220','render','execute','revisionName','submit','737VYoTBZ','3052ZCtRMg','keystrokes','label','reset','focus','value','focusFirst','5ZufoJf','_createButton','optional','element','ck-revision-history-save-revision-form','extendTemplate','Name\x20of\x20the\x20revision','_focusables','errorText','cancelButtonView','580722VTFfTu','Cancel','check','_focusCycler','focusTracker','delegate','tab','revisionNameInputValue'];_0x14ac=function(){return _0x18b1c7;};return _0x14ac();}import{icons as _0x1689ea}from'ckeditor5/src/core.js';import{ButtonView as _0x23837a,FocusCycler as _0x44e4bd,LabeledFieldView as _0x3c972f,View as _0x3aa8bd,ViewCollection as _0x1c7d80,createLabeledInputText as _0x2f4b45,injectCssTransitionDisabler as _0x5bdce9,submitHandler as _0x369604}from'ckeditor5/src/ui.js';import{FocusTracker as _0x271615,KeystrokeHandler as _0x47463e}from'ckeditor5/src/utils.js';import{getTranslation as _0x1112eb}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class It extends _0x3aa8bd{constructor(_0x2505d6,_0x2353d4){const _0x5e9482=_0x3d00;super(_0x2505d6),this[_0x5e9482(0xf3)]=new _0x271615(),this[_0x5e9482(0xdf)]=new _0x47463e(),this[_0x5e9482(0x107)](_0x5e9482(0xf6),''),this[_0x5e9482(0x102)]=this[_0x5e9482(0xff)](_0x2353d4),this[_0x5e9482(0x104)]=this[_0x5e9482(0xe6)](_0x1112eb(_0x2505d6,_0x5e9482(0xfb)),_0x1689ea[_0x5e9482(0xf1)],_0x5e9482(0xfa)),this[_0x5e9482(0x104)][_0x5e9482(0xd7)]=_0x5e9482(0xdc),this[_0x5e9482(0xee)]=this[_0x5e9482(0xe6)](_0x1112eb(_0x2505d6,_0x5e9482(0xf0)),_0x1689ea[_0x5e9482(0x105)],_0x5e9482(0xd3),_0x5e9482(0x105)),this[_0x5e9482(0xec)]=new _0x1c7d80(),this[_0x5e9482(0xf2)]=new _0x44e4bd({'focusables':this[_0x5e9482(0xec)],'focusTracker':this[_0x5e9482(0xf3)],'keystrokeHandler':this[_0x5e9482(0xdf)],'actions':{'focusPrevious':_0x5e9482(0x10f),'focusNext':_0x5e9482(0xf5)}}),this[_0x5e9482(0x109)]({'tag':_0x5e9482(0x103),'attributes':{'class':['ck',_0x5e9482(0xe9),_0x5e9482(0x10a)],'tabindex':'-1'},'children':[this[_0x5e9482(0x102)],this[_0x5e9482(0x104)],this[_0x5e9482(0xee)]]}),_0x5bdce9(this);}[_0x40bd63(0xd9)](){const _0x279987=_0x40bd63;super[_0x279987(0xd9)](),_0x369604({'view':this}),([this[_0x279987(0x102)],this[_0x279987(0x104)],this[_0x279987(0xee)]][_0x279987(0x111)](_0x1f9bef=>{const _0x31e425=_0x279987;this[_0x31e425(0xec)][_0x31e425(0x106)](_0x1f9bef),this[_0x31e425(0xf3)][_0x31e425(0x106)](_0x1f9bef[_0x31e425(0xe8)]);}),this[_0x279987(0xdf)][_0x279987(0x10c)](this[_0x279987(0xe8)]));const _0x41f392=_0x325a90=>_0x325a90[_0x279987(0x10b)]();this[_0x279987(0xdf)][_0x279987(0x107)](_0x279987(0x110),_0x41f392),this[_0x279987(0xdf)][_0x279987(0x107)](_0x279987(0x10e),_0x41f392),this[_0x279987(0xdf)][_0x279987(0x107)](_0x279987(0xf7),_0x41f392),this[_0x279987(0xdf)][_0x279987(0x107)](_0x279987(0x100),_0x41f392);}[_0x40bd63(0xe2)](){const _0x57ae41=_0x40bd63;this[_0x57ae41(0xf2)][_0x57ae41(0xe4)]();}get[_0x40bd63(0xdb)](){const _0x10628c=_0x40bd63;return this[_0x10628c(0x102)][_0x10628c(0xf9)][_0x10628c(0xe8)][_0x10628c(0xe3)][_0x10628c(0xfd)]();}set[_0x40bd63(0xdb)](_0x16824d){const _0x31b2e7=_0x40bd63;this[_0x31b2e7(0x102)][_0x31b2e7(0xf9)][_0x31b2e7(0xe8)][_0x31b2e7(0xe3)]=_0x16824d[_0x31b2e7(0xfd)]();}[_0x40bd63(0xe1)](){const _0x5c97a1=_0x40bd63;this[_0x5c97a1(0x102)][_0x5c97a1(0xf9)][_0x5c97a1(0xe8)][_0x5c97a1(0xe3)]='',this[_0x5c97a1(0x102)][_0x5c97a1(0xed)]=null;}[_0x40bd63(0xff)](_0x3883e0){const _0x119048=_0x40bd63,_0x15bd1b=new _0x3c972f(this[_0x119048(0xd6)],_0x2f4b45),_0xb8ee22=_0x15bd1b[_0x119048(0xf9)];_0xb8ee22[_0x119048(0xea)]({'attributes':{'maxlength':_0x119048(0xd8)}});let _0x4ab2a0=_0x1112eb(this[_0x119048(0xd6)],_0x119048(0xeb));return!_0x3883e0&&(_0x4ab2a0+='\x20('+_0x1112eb(this[_0x119048(0xd6)],_0x119048(0xe7))+')'),(_0x15bd1b[_0x119048(0xe0)]=_0x4ab2a0,_0xb8ee22['on'](_0x119048(0xd5),()=>{const _0x9d584f=_0x119048;this[_0x9d584f(0xf6)]=_0xb8ee22[_0x9d584f(0xe8)][_0x9d584f(0xe3)][_0x9d584f(0xfd)]();}),_0x15bd1b);}[_0x40bd63(0xe6)](_0x5ae6a0,_0x565022,_0xc4f0ae,_0x4b248e){const _0x4d432d=_0x40bd63,_0x22572c=new _0x23837a(this[_0x4d432d(0xd6)]);return _0x22572c[_0x4d432d(0x107)]({'label':_0x5ae6a0,'icon':_0x565022,'tooltip':!0x0}),_0x22572c[_0x4d432d(0xea)]({'attributes':{'class':_0xc4f0ae}}),_0x4b248e&&_0x22572c[_0x4d432d(0xf4)](_0x4d432d(0xda))['to'](this,_0x4b248e),_0x22572c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1bb432=_0x4e68;(function(_0x1dbad5,_0x1440a6){const _0xefe5a8=_0x4e68,_0x1deeba=_0x1dbad5();while(!![]){try{const _0xff1bdb=-parseInt(_0xefe5a8(0x191))/0x1*(-parseInt(_0xefe5a8(0x194))/0x2)+parseInt(_0xefe5a8(0x1a0))/0x3*(parseInt(_0xefe5a8(0x17b))/0x4)+parseInt(_0xefe5a8(0x189))/0x5*(-parseInt(_0xefe5a8(0x18f))/0x6)+parseInt(_0xefe5a8(0x18c))/0x7*(parseInt(_0xefe5a8(0x1a4))/0x8)+parseInt(_0xefe5a8(0x181))/0x9*(-parseInt(_0xefe5a8(0x18e))/0xa)+parseInt(_0xefe5a8(0x1a3))/0xb+parseInt(_0xefe5a8(0x19b))/0xc*(parseInt(_0xefe5a8(0x18b))/0xd);if(_0xff1bdb===_0x1440a6)break;else _0x1deeba['push'](_0x1deeba['shift']());}catch(_0x1eadae){_0x1deeba['push'](_0x1deeba['shift']());}}}(_0x2f79,0xdfb05));function _0x4e68(_0x33d184,_0xc19fe8){const _0x2f7946=_0x2f79();return _0x4e68=function(_0x4e680d,_0x5134d4){_0x4e680d=_0x4e680d-0x17b;let _0x2fc30c=_0x2f7946[_0x4e680d];return _0x2fc30c;},_0x4e68(_0x33d184,_0xc19fe8);}import{Plugin as _0x1d3db6,icons as _0x5ce035}from'ckeditor5/src/core.js';import{ListView as _0x124ce6,ListItemView as _0x4fee95,ButtonView as _0x5e08e0,createDropdown as _0x57fda0}from'ckeditor5/src/ui.js';function _0x2f79(){const _0x567e92=['editing','init','set','showRevisionViewerCallback','editor','cancel','RevisionHistoryUI','addMany','history','submit','get','3636084dCJlnW','isOpen','requires','revisionHistory.requireRevisionName','view','Save\x20current\x20revision','4023MQRALO','revisionHistory','add','Revision\x20history','length','change:isOpen','isEnabled','items','35fnFvCl','plugins','263029CdDhkg','11249gmgLml','isReadOnly','5030LfjTbI','1540746CVbIij','revisionNameInputView','211XouElT','saveRevision','panelView','7934pYJLaL','Open\x20revision\x20history','pluginName','bind','componentFactory','config','errorText','48hWonAv','execute','render','saveButtonView','RevisionTracker','3DwvSeI','reset','isReady','4078690itSbfY','3688QifhkU','revisionName','remove','buttonView','children','The\x20revision\x20name\x20cannot\x20be\x20empty.','focus'];_0x2f79=function(){return _0x567e92;};return _0x2f79();}import _0x53898e from'../../revisiontracker.js';import _0x5167d4 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x3b0bad}from'../../utils/common-translations.js';export default class u extends _0x1d3db6{static get[_0x1bb432(0x196)](){const _0x11392d=_0x1bb432;return _0x11392d(0x1b1);}static get[_0x1bb432(0x17d)](){return[_0x53898e];}[_0x1bb432(0x1ac)](){const _0x900f6d=_0x1bb432,_0x188501=this[_0x900f6d(0x1af)],_0x535901=_0x188501[_0x900f6d(0x18a)][_0x900f6d(0x1b5)](_0x900f6d(0x19f));_0x188501['ui'][_0x900f6d(0x198)][_0x900f6d(0x183)](_0x900f6d(0x182),_0x1f5624=>{const _0x467da1=_0x900f6d,_0x53bdbd=_0x57fda0(_0x1f5624),_0x3b4d57=_0x53bdbd[_0x467da1(0x193)][_0x467da1(0x1a8)],_0x162c95=new _0x124ce6(_0x1f5624),_0x5a6bbc=new _0x4fee95(_0x1f5624),_0xee6505=new _0x5e08e0(_0x1f5624),_0x2dedee=new _0x4fee95(_0x1f5624),_0x5f377c=new _0x5e08e0(_0x1f5624),_0x39c3cd=new _0x5167d4(_0x1f5624,_0x188501[_0x467da1(0x199)][_0x467da1(0x1b5)](_0x467da1(0x17e)));function _0x3a2cdf(){const _0x3a08d8=_0x467da1;_0x3b4d57[_0x3a08d8(0x185)]&&_0x3b4d57[_0x3a08d8(0x1a6)](0x0),_0x3b4d57[_0x3a08d8(0x183)](_0x162c95);}function _0x19e46f(){const _0x4fe9c6=_0x467da1;_0x53bdbd[_0x4fe9c6(0x17c)]=!0x1,_0x188501[_0x4fe9c6(0x1ab)][_0x4fe9c6(0x17f)][_0x4fe9c6(0x1aa)]();}return _0x53bdbd[_0x467da1(0x197)](_0x467da1(0x187))['to'](_0x535901,_0x467da1(0x1a2),_0x535901,_0x467da1(0x187),_0x188501,_0x467da1(0x18d),(_0x950a48,_0x33e1ab,_0x566c5c)=>_0x950a48&&_0x33e1ab&&!_0x566c5c),_0x53bdbd[_0x467da1(0x1a7)][_0x467da1(0x1ad)]({'icon':_0x5ce035[_0x467da1(0x1b3)],'label':_0x3b0bad(_0x1f5624,_0x467da1(0x184)),'tooltip':!0x0}),_0xee6505[_0x467da1(0x1ad)]({'label':_0x3b0bad(_0x1f5624,_0x467da1(0x180)),'withText':!0x0}),_0xee6505[_0x467da1(0x197)](_0x467da1(0x187))['to'](_0x535901,_0x467da1(0x1a2),_0x535901,_0x467da1(0x187),_0x188501,_0x467da1(0x18d),(_0x46c18a,_0x4c71f8,_0x33ae25)=>_0x46c18a&&_0x4c71f8&&!_0x33ae25),_0xee6505['on'](_0x467da1(0x19c),()=>(function(){const _0x5029f8=_0x467da1;_0x3b4d57[_0x5029f8(0x185)]&&_0x3b4d57[_0x5029f8(0x1a6)](0x0),(_0x39c3cd[_0x5029f8(0x1a1)](),_0x3b4d57[_0x5029f8(0x183)](_0x39c3cd),_0x39c3cd[_0x5029f8(0x1aa)]());}())),_0x5f377c[_0x467da1(0x1ad)]({'label':_0x3b0bad(_0x1f5624,_0x467da1(0x195)),'withText':!0x0}),_0x5f377c[_0x467da1(0x197)](_0x467da1(0x187))['to'](_0x535901,_0x467da1(0x1a2),_0x188501,_0x467da1(0x18d),(_0x1b3d39,_0x51f628)=>_0x1b3d39&&!_0x51f628),_0x5f377c['on'](_0x467da1(0x19c),()=>{const _0x2546e7=_0x467da1;_0x188501[_0x2546e7(0x199)][_0x2546e7(0x1b5)](_0x2546e7(0x182))[_0x2546e7(0x1ae)](),_0x19e46f();}),_0x5a6bbc[_0x467da1(0x1a8)][_0x467da1(0x183)](_0xee6505),_0x2dedee[_0x467da1(0x1a8)][_0x467da1(0x183)](_0x5f377c),_0x162c95[_0x467da1(0x188)][_0x467da1(0x1b2)]([_0x5a6bbc,_0x2dedee]),_0x53bdbd['on'](_0x467da1(0x186),()=>_0x3a2cdf()),_0x39c3cd[_0x467da1(0x19e)][_0x467da1(0x197)](_0x467da1(0x187))['to'](_0x535901,_0x467da1(0x1a2),_0x535901,_0x467da1(0x187),_0x188501,_0x467da1(0x18d),(_0xb962c1,_0x13a171,_0x7afc00)=>_0xb962c1&&_0x13a171&&!_0x7afc00),_0x39c3cd['on'](_0x467da1(0x1b4),()=>{const _0x24ac06=_0x467da1;_0x188501[_0x24ac06(0x199)][_0x24ac06(0x1b5)](_0x24ac06(0x17e))&&''===_0x39c3cd[_0x24ac06(0x1a5)]?_0x39c3cd[_0x24ac06(0x190)][_0x24ac06(0x19a)]=_0x3b0bad(_0x1f5624,_0x24ac06(0x1a9)):(_0x188501[_0x24ac06(0x18a)][_0x24ac06(0x1b5)](_0x53898e)[_0x24ac06(0x192)]({'name':_0x39c3cd[_0x24ac06(0x1a5)]}),_0x19e46f());}),_0x39c3cd['on'](_0x467da1(0x1b0),()=>_0x3a2cdf()),_0x39c3cd[_0x467da1(0x19d)](),_0x3a2cdf(),_0x53bdbd;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35cd2b=_0x591b;(function(_0x2ad3f1,_0x41ddca){const _0x15cfea=_0x591b,_0x514447=_0x2ad3f1();while(!![]){try{const _0x411660=-parseInt(_0x15cfea(0x179))/0x1*(parseInt(_0x15cfea(0x15b))/0x2)+-parseInt(_0x15cfea(0x149))/0x3*(parseInt(_0x15cfea(0x168))/0x4)+-parseInt(_0x15cfea(0x141))/0x5*(-parseInt(_0x15cfea(0x165))/0x6)+parseInt(_0x15cfea(0x167))/0x7+-parseInt(_0x15cfea(0x142))/0x8+parseInt(_0x15cfea(0x15e))/0x9*(parseInt(_0x15cfea(0x180))/0xa)+-parseInt(_0x15cfea(0x152))/0xb*(-parseInt(_0x15cfea(0x160))/0xc);if(_0x411660===_0x41ddca)break;else _0x514447['push'](_0x514447['shift']());}catch(_0x16756b){_0x514447['push'](_0x514447['shift']());}}}(_0x8f11,0x53550));function _0x591b(_0x3c0525,_0xddb734){const _0x8f115f=_0x8f11();return _0x591b=function(_0x591b28,_0x1328c2){_0x591b28=_0x591b28-0x12f;let _0x4ac8bb=_0x8f115f[_0x591b28];return _0x4ac8bb;},_0x591b(_0x3c0525,_0xddb734);}import{Plugin as _0x97ee63}from'ckeditor5/src/core.js';import _0x2af14c from'./revisionssidebarview.js';function _0x8f11(){const _0x2c6214=['availableRevisionActions','5QGxTek','3638320wTDLIJ','render','pluginName','ready','change:diff','config','select','21AIpVPD','_handleEditorDataReady','_createRevisionActions','getRevisionsInDiff','getLaterVisibleRevision','length','requires','revisionSelected','bind','209jeiybo','revisionHistory.revisionActions','focus','defaultRevisionActions','locale','Name\x20this\x20revision','get','compareAgainstSelected','timePeriodViews','796934gYzMkS','revisionHistory','_sidebarView','20637oMChRi','setName','156660MQQxnq','_revisionsRepository','name','diff','revisionHistory.viewerSidebarContainer','3756666KNoWEd','nameRevision','806799GPVhOw','135644PBlBdd','highlightRevisions','newRevisionId','restoreRevision','map','editor','Restore\x20this\x20revision','isVisible','selectRevision','revisionSetName','data','compare','isEnabled','isReady','assign','RevisionsSidebar','fieldView','1UBSAnT','init','destroy','Compare\x20against\x20selected','_handleRevisionSetName','getIndex','repository','1930KQopPs','isSelected','plugins','_revisions','_revisionViewer','listenTo','string','revisionViews','revisionHistory.requireRevisionName','action','restoreRevisionCallback','_handleDiffChange','appendChild','add','remove','getRevision','element','_handleRevisionSelected','getEarlierVisibleRevision'];_0x8f11=function(){return _0x2c6214;};return _0x8f11();}import _0x32c39b from'../../revisionviewer.js';export default class w extends _0x97ee63{static get[_0x35cd2b(0x144)](){const _0x4edc5a=_0x35cd2b;return _0x4edc5a(0x177);}static get[_0x35cd2b(0x14f)](){return[_0x32c39b];}constructor(_0xd790af){const _0x34bd86=_0x35cd2b;super(_0xd790af),this[_0x34bd86(0x131)]=_0xd790af[_0x34bd86(0x12f)][_0x34bd86(0x158)](_0x32c39b),this[_0x34bd86(0x161)]=this[_0x34bd86(0x131)][_0x34bd86(0x17f)],this[_0x34bd86(0x15d)]=null;}[_0x35cd2b(0x17a)](){const _0x2db3e2=_0x35cd2b,_0x4a6dcc=this[_0x2db3e2(0x161)][_0x2db3e2(0x130)],_0x3d0532=this[_0x2db3e2(0x14b)](),_0x22b4d5=this[_0x2db3e2(0x16d)][_0x2db3e2(0x147)][_0x2db3e2(0x158)](_0x2db3e2(0x164));this[_0x2db3e2(0x15d)]=new _0x2af14c(this[_0x2db3e2(0x16d)][_0x2db3e2(0x156)],_0x4a6dcc,_0x3d0532,this[_0x2db3e2(0x16d)][_0x2db3e2(0x147)][_0x2db3e2(0x158)](_0x2db3e2(0x135))),this[_0x2db3e2(0x15d)]['on'](_0x2db3e2(0x150),this[_0x2db3e2(0x13e)][_0x2db3e2(0x151)](this)),this[_0x2db3e2(0x15d)]['on'](_0x2db3e2(0x171),this[_0x2db3e2(0x17d)][_0x2db3e2(0x151)](this)),this[_0x2db3e2(0x15d)][_0x2db3e2(0x151)](_0x2db3e2(0x174))['to'](this[_0x2db3e2(0x131)]),this[_0x2db3e2(0x15d)][_0x2db3e2(0x15a)]['on'](_0x2db3e2(0x13a),(_0x2fafd1,_0x821f54)=>{const _0x52af49=_0x2db3e2;_0x821f54[_0x52af49(0x134)]['on'](_0x52af49(0x13a),(_0x30256b,_0x583829)=>{const _0x48104e=_0x52af49;_0x583829[_0x48104e(0x151)](_0x48104e(0x174),_0x48104e(0x175))['to'](this[_0x48104e(0x131)]);});}),this[_0x2db3e2(0x15d)][_0x2db3e2(0x143)](),this[_0x2db3e2(0x132)](this[_0x2db3e2(0x16d)][_0x2db3e2(0x172)],_0x2db3e2(0x145),this[_0x2db3e2(0x14a)][_0x2db3e2(0x151)](this)),this[_0x2db3e2(0x132)](this[_0x2db3e2(0x131)],_0x2db3e2(0x146),this[_0x2db3e2(0x138)][_0x2db3e2(0x151)](this)),_0x22b4d5[_0x2db3e2(0x139)](this[_0x2db3e2(0x15d)][_0x2db3e2(0x13d)]);}[_0x35cd2b(0x17b)](){const _0x37f2aa=_0x35cd2b;this[_0x37f2aa(0x15d)][_0x37f2aa(0x13d)][_0x37f2aa(0x13b)](),this[_0x37f2aa(0x15d)][_0x37f2aa(0x17b)]();}[_0x35cd2b(0x14a)](){const _0x439c49=_0x35cd2b,_0x2fbf7d=this[_0x439c49(0x161)][_0x439c49(0x13c)](0x0);if(_0x2fbf7d){const _0x14d154=this[_0x439c49(0x161)][_0x439c49(0x13f)](_0x2fbf7d['id']);this[_0x439c49(0x131)][_0x439c49(0x173)](_0x2fbf7d,_0x14d154);}}[_0x35cd2b(0x13e)](_0x21b6a6,_0x3ee8e5){const _0x4bc016=_0x35cd2b,_0x5555a2=this[_0x4bc016(0x161)][_0x4bc016(0x13c)](_0x3ee8e5['id']),_0x475a0b=this[_0x4bc016(0x161)][_0x4bc016(0x13f)](_0x5555a2['id']);this[_0x4bc016(0x131)][_0x4bc016(0x173)](_0x5555a2,_0x475a0b);}[_0x35cd2b(0x17d)](_0x2b6a0c,_0x2894d3){const _0x4c6188=_0x35cd2b;this[_0x4c6188(0x161)][_0x4c6188(0x13c)](_0x2894d3['id'])[_0x4c6188(0x15f)](_0x2894d3[_0x4c6188(0x162)]);}[_0x35cd2b(0x138)](_0x2879d0,_0x54458e,_0x1dc4f6){const _0x4548e5=_0x35cd2b,_0x4d86df=this[_0x4548e5(0x161)][_0x4548e5(0x14c)](_0x1dc4f6);_0x4d86df[_0x4548e5(0x14e)]>0x2?(this[_0x4548e5(0x15d)][_0x4548e5(0x169)](_0x4d86df),this[_0x4548e5(0x15d)][_0x4548e5(0x170)](null)):(this[_0x4548e5(0x15d)][_0x4548e5(0x169)]([]),this[_0x4548e5(0x15d)][_0x4548e5(0x170)](_0x4d86df[0x0]));}[_0x35cd2b(0x14b)](){const _0x599271=_0x35cd2b,_0x50ec8e=this[_0x599271(0x16d)],_0x587543=w[_0x599271(0x140)],_0x50bdb9=_0x50ec8e[_0x599271(0x147)][_0x599271(0x158)](_0x599271(0x153))||w[_0x599271(0x155)];if(_0x50bdb9[_0x599271(0x14e)])return _0x50bdb9[_0x599271(0x16c)](_0x44e9b2=>{const _0x3bc034=_0x599271,_0x4d10ea=_0x3bc034(0x133)==typeof _0x44e9b2?Object[_0x3bc034(0x176)]({},_0x587543[_0x44e9b2]):_0x44e9b2;return _0x4d10ea[_0x3bc034(0x136)]=_0x4d10ea[_0x3bc034(0x136)][_0x3bc034(0x151)](this,_0x50ec8e),_0x4d10ea[_0x3bc034(0x16f)]&&(_0x4d10ea[_0x3bc034(0x16f)]=_0x4d10ea[_0x3bc034(0x16f)][_0x3bc034(0x151)](this,_0x50ec8e)),_0x4d10ea;});}}w[_0x35cd2b(0x140)]={'compareAgainstSelected':{'name':_0x35cd2b(0x17c),'action':({plugins:_0x4f6136},_0x2b96e2)=>{const _0x9a68b2=_0x35cd2b,_0x592046=_0x4f6136[_0x9a68b2(0x158)](_0x32c39b),_0x5711dd=_0x592046[_0x9a68b2(0x17f)];let _0x2dbc18=_0x592046[_0x9a68b2(0x163)][_0x9a68b2(0x16a)],_0x175d06=_0x2b96e2['id'];_0x5711dd[_0x9a68b2(0x17e)](_0x2dbc18)>_0x5711dd[_0x9a68b2(0x17e)](_0x175d06)&&([_0x2dbc18,_0x175d06]=[_0x175d06,_0x2dbc18]),_0x592046[_0x9a68b2(0x173)](_0x2dbc18,_0x175d06);},'isVisible':({plugins:_0xc75473},_0x57c6bf)=>{const _0x5e6a08=_0x35cd2b,_0x32723e=_0xc75473[_0x5e6a08(0x158)](_0x32c39b);return!(_0x32723e[_0x5e6a08(0x17f)][_0x5e6a08(0x14c)](_0x32723e[_0x5e6a08(0x163)])[_0x5e6a08(0x14e)]>0x2)&&!_0x57c6bf[_0x5e6a08(0x181)];}},'restoreRevision':{'name':_0x35cd2b(0x16e),'action':(_0x34222c,{id:_0x29a712})=>{const _0x10eed5=_0x35cd2b;_0x34222c[_0x10eed5(0x147)][_0x10eed5(0x158)](_0x10eed5(0x15c))[_0x10eed5(0x137)](_0x29a712);},'isVisible':({plugins:_0x66dde8},_0x22a3b5)=>!!_0x66dde8[_0x35cd2b(0x158)](_0x32c39b)[_0x35cd2b(0x17f)][_0x35cd2b(0x14d)](_0x22a3b5['id'])},'nameRevision':{'name':_0x35cd2b(0x157),'action':({plugins:_0x14473c},{id:_0x48b582,revisionNameView:_0x452399})=>{const _0x3c17bb=_0x35cd2b,_0x2661fc=_0x14473c[_0x3c17bb(0x158)](_0x32c39b),_0x16db84=_0x2661fc[_0x3c17bb(0x17f)][_0x3c17bb(0x13f)](_0x48b582);_0x2661fc[_0x3c17bb(0x173)](_0x48b582,_0x16db84),_0x452399[_0x3c17bb(0x154)](),_0x452399[_0x3c17bb(0x178)][_0x3c17bb(0x148)]();}}},w[_0x35cd2b(0x155)]=[_0x35cd2b(0x159),_0x35cd2b(0x16b),_0x35cd2b(0x166)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
(function(_0x9ab105,_0x1e6152){const _0x5d6d53=_0x2478,_0x365fc6=_0x9ab105();while(!![]){try{const _0x1be991=parseInt(_0x5d6d53(0x129))/0x1*(-parseInt(_0x5d6d53(0x12f))/0x2)+-parseInt(_0x5d6d53(0x124))/0x3*(parseInt(_0x5d6d53(0x121))/0x4)+parseInt(_0x5d6d53(0x127))/0x5+-parseInt(_0x5d6d53(0x120))/0x6+-parseInt(_0x5d6d53(0x12e))/0x7+parseInt(_0x5d6d53(0x125))/0x8+parseInt(_0x5d6d53(0x12c))/0x9*(parseInt(_0x5d6d53(0x12d))/0xa);if(_0x1be991===_0x1e6152)break;else _0x365fc6['push'](_0x365fc6['shift']());}catch(_0xd172ad){_0x365fc6['push'](_0x365fc6['shift']());}}}(_0x173a,0xbda93));import{View as _0x461c6c,IconView as _0x2ea9db}from'ckeditor5/src/ui.js';import{getTranslation as _0x470b7d}from'../../utils/common-translations.js';function _0x2478(_0x4bd93c,_0x428be7){const _0x173a78=_0x173a();return _0x2478=function(_0x2478c3,_0xcf99f8){_0x2478c3=_0x2478c3-0x11f;let _0x15615c=_0x173a78[_0x2478c3];return _0x15615c;},_0x2478(_0x4bd93c,_0x428be7);}import{icons as _0x36de66}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';function _0x173a(){const _0x2826a1=['ck-reset_all','2424315KNTzdk','content','6BtdEQa','setTemplate','ck-revision-history-sidebar__header__label','252eTPoZL','521680QuLiDh','9997274pXLHKU','65868UsTnBt','Revision\x20history','ck-revision-history-sidebar__header','history','1083606uBZLez','142696wTsPkR','span','div','42NAvXZl','9096856Quyecy'];_0x173a=function(){return _0x2826a1;};return _0x173a();}export default class rs extends _0x461c6c{constructor(_0x4992d8){const _0xbd9e83=_0x2478;super(_0x4992d8);const _0x4911cf=new _0x2ea9db();_0x4911cf[_0xbd9e83(0x128)]=_0x36de66[_0xbd9e83(0x11f)],this[_0xbd9e83(0x12a)]({'tag':_0xbd9e83(0x123),'attributes':{'class':['ck',_0xbd9e83(0x126),_0xbd9e83(0x131)]},'children':[_0x4911cf,{'tag':_0xbd9e83(0x122),'attributes':{'class':['ck',_0xbd9e83(0x12b)]},'children':[_0x470b7d(_0x4992d8,_0xbd9e83(0x130))]}]});}}
|
|
@@ -17,7 +17,7 @@ import type Revision from '../../revision.js';
|
|
|
17
17
|
export default class RevisionsSidebarTimePeriodView extends View {
|
|
18
18
|
startDate: Date;
|
|
19
19
|
revisionViews: ViewCollection<RevisionView>;
|
|
20
|
-
constructor(locale: Locale, startDate: Date, revisionActions: Array<RevisionAction
|
|
20
|
+
constructor(locale: Locale, startDate: Date, revisionActions: Array<RevisionAction>, requireRevisionName: boolean);
|
|
21
21
|
/**
|
|
22
22
|
* TODO
|
|
23
23
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xabe1ff=_0x5472;(function(_0x492642,_0x24a5b2){const _0x21673f=_0x5472,_0x269bb7=_0x492642();while(!![]){try{const _0x41259a=-parseInt(_0x21673f(0x1b3))/0x1*(-parseInt(_0x21673f(0x1a4))/0x2)+-parseInt(_0x21673f(0x1ab))/0x3*(parseInt(_0x21673f(0x1c2))/0x4)+parseInt(_0x21673f(0x1c1))/0x5+parseInt(_0x21673f(0x1b8))/0x6+-parseInt(_0x21673f(0x1b5))/0x7+-parseInt(_0x21673f(0x1bf))/0x8+parseInt(_0x21673f(0x1a5))/0x9;if(_0x41259a===_0x24a5b2)break;else _0x269bb7['push'](_0x269bb7['shift']());}catch(_0x1b69af){_0x269bb7['push'](_0x269bb7['shift']());}}}(_0x2074,0xe5f9a));import{View as _0xdf7796}from'ckeditor5/src/ui.js';import _0x3300b3 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x2d3d01}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';function _0x2074(){const _0x4a128f=['addRevision','localizedPeriodName','5187690PzGDuc','delegate','revisionViews','locale','find','add','select','12695912pOazxH','setTemplate','5274000JYBobS','5576852USkXVY','40tosTux','23393124tHucME','ck-revision-history-sidebar__time-period__label','remove','span','createCollection','ck-revision-history-sidebar__time-period__revisions','3QPQEGp','uiLanguage','removeRevision','_revisionActions','ck-revision-history-sidebar__time-period','div','startDate','setName','39722hRhAdP','_requireRevisionName','9729377HYyPDR'];_0x2074=function(){return _0x4a128f;};return _0x2074();}function _0x5472(_0x356857,_0xaf67a1){const _0x2074dd=_0x2074();return _0x5472=function(_0x5472b0,_0xd78bf4){_0x5472b0=_0x5472b0-0x1a4;let _0x2a1c58=_0x2074dd[_0x5472b0];return _0x2a1c58;},_0x5472(_0x356857,_0xaf67a1);}export default class ai extends _0xdf7796{constructor(_0x260019,_0x2264a3,_0x265d3b,_0x26824e){const _0x2f4733=_0x5472;super(_0x260019);const _0x593bf7=_0x2d3d01(_0x2264a3,this[_0x2f4733(0x1bb)][_0x2f4733(0x1ac)])[_0x2f4733(0x1b7)];this[_0x2f4733(0x1b1)]=_0x2264a3,this[_0x2f4733(0x1ba)]=this[_0x2f4733(0x1a9)](),this[_0x2f4733(0x1ae)]=_0x265d3b,this[_0x2f4733(0x1b4)]=_0x26824e,this[_0x2f4733(0x1ba)][_0x2f4733(0x1b9)](_0x2f4733(0x1be))['to'](this),this[_0x2f4733(0x1ba)][_0x2f4733(0x1b9)](_0x2f4733(0x1b2))['to'](this),this[_0x2f4733(0x1c0)]({'tag':_0x2f4733(0x1b0),'attributes':{'class':['ck',_0x2f4733(0x1af)]},'children':[{'tag':_0x2f4733(0x1a8),'attributes':{'class':['ck',_0x2f4733(0x1a6)]},'children':[{'text':_0x593bf7}]},{'tag':_0x2f4733(0x1b0),'attributes':{'class':['ck',_0x2f4733(0x1aa)]},'children':this[_0x2f4733(0x1ba)]}]});}[_0xabe1ff(0x1b6)](_0x2fff4e){const _0xe15b82=_0xabe1ff,_0x1d0c4c=new _0x3300b3(this[_0xe15b82(0x1bb)],_0x2fff4e,this[_0xe15b82(0x1ae)],this[_0xe15b82(0x1b4)]);this[_0xe15b82(0x1ba)][_0xe15b82(0x1bd)](_0x1d0c4c);}[_0xabe1ff(0x1ad)](_0x38d377){const _0x5dcf23=_0xabe1ff,_0x480d92=this[_0x5dcf23(0x1ba)][_0x5dcf23(0x1bc)](_0x1e6572=>_0x1e6572['id']===_0x38d377['id']);this[_0x5dcf23(0x1ba)][_0x5dcf23(0x1a7)](_0x480d92);}}
|
|
@@ -24,7 +24,7 @@ export default class RevisionsSidebarView extends View {
|
|
|
24
24
|
/**
|
|
25
25
|
* @inheritDoc
|
|
26
26
|
*/
|
|
27
|
-
constructor(locale: Locale, revisions: Collection<Revision>, revisionActions: Array<RevisionAction
|
|
27
|
+
constructor(locale: Locale, revisions: Collection<Revision>, revisionActions: Array<RevisionAction>, _requireRevisionName: boolean);
|
|
28
28
|
/**
|
|
29
29
|
* @inheritDoc
|
|
30
30
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x38e0(_0x1c8e67,_0x5cec95){const _0x240e65=_0x240e();return _0x38e0=function(_0x38e0aa,_0x59dabc){_0x38e0aa=_0x38e0aa-0x124;let _0x3d70d6=_0x240e65[_0x38e0aa];return _0x3d70d6;},_0x38e0(_0x1c8e67,_0x5cec95);}const _0x3c8fff=_0x38e0;(function(_0x317795,_0x3ffe8c){const _0xca7cc3=_0x38e0,_0x1ef80e=_0x317795();while(!![]){try{const _0xb13b28=parseInt(_0xca7cc3(0x14e))/0x1*(parseInt(_0xca7cc3(0x127))/0x2)+parseInt(_0xca7cc3(0x14b))/0x3+parseInt(_0xca7cc3(0x124))/0x4*(-parseInt(_0xca7cc3(0x157))/0x5)+-parseInt(_0xca7cc3(0x158))/0x6*(-parseInt(_0xca7cc3(0x155))/0x7)+parseInt(_0xca7cc3(0x15c))/0x8*(parseInt(_0xca7cc3(0x137))/0x9)+parseInt(_0xca7cc3(0x125))/0xa*(parseInt(_0xca7cc3(0x142))/0xb)+-parseInt(_0xca7cc3(0x151))/0xc*(parseInt(_0xca7cc3(0x152))/0xd);if(_0xb13b28===_0x3ffe8c)break;else _0x1ef80e['push'](_0x1ef80e['shift']());}catch(_0x20312f){_0x1ef80e['push'](_0x1ef80e['shift']());}}}(_0x240e,0xc1bcd));import{View as _0x54529e}from'ckeditor5/src/ui.js';import _0x2e6096 from'./revisionssidebartimeperiodview.js';function _0x240e(){const _0x491be9=['fire','172044NTzXVu','set','map','_revisions','_getTimePeriodViewByStartDate','get','revisionSelected','render','flat','_requireRevisionName','unhighlight','remove','revisionViews','startDate','setTemplate','selectRevision','27BemUex','_addRevision','some','revisionSetName','locale','getTime','find','ck-reset','select','createCollection','highlightRevisions','11CrSlpa','isEnabled','div','_removeRevision','delegate','ck-revision-history-sidebar__timeline','timePeriodViews','add','_revisionActions','3490455MQViyk','createdAt','setName','17NxqjjR','deselect','ck-disabled','50322588DHPdzj','13vbCTOT','ck-rounded-corners','bindTemplate','48461bjkdtn','highlight','2980IQkPYA','1146PbOtLH','removeRevision','uiLanguage','ck-revision-history-sidebar','4144904pIwInl','addRevision','7364xzbngo','5818430BIgcqP'];_0x240e=function(){return _0x491be9;};return _0x240e();}import _0x333f60 from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x192141}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ni extends _0x54529e{constructor(_0x23fe75,_0x4258c8,_0x238963,_0xa54af1){const _0x483ff9=_0x38e0;super(_0x23fe75);const _0x565740=this[_0x483ff9(0x154)];this[_0x483ff9(0x148)]=this[_0x483ff9(0x140)](),this[_0x483ff9(0x148)][_0x483ff9(0x146)](_0x483ff9(0x13f))['to'](this),this[_0x483ff9(0x148)][_0x483ff9(0x146)](_0x483ff9(0x14d))['to'](this),this[_0x483ff9(0x12a)]=_0x4258c8,this[_0x483ff9(0x14a)]=_0x238963,this[_0x483ff9(0x130)]=_0xa54af1,this['on'](_0x483ff9(0x13f),(_0x34e986,_0xc39e11)=>{const _0x37ac5f=_0x483ff9;this[_0x37ac5f(0x126)](_0x37ac5f(0x12d),_0xc39e11);}),this['on'](_0x483ff9(0x14d),(_0x2fd40a,_0x2fd1d5)=>{const _0x13916e=_0x483ff9;this[_0x13916e(0x126)](_0x13916e(0x13a),_0x2fd1d5);}),this[_0x483ff9(0x128)](_0x483ff9(0x143),!0x1),this[_0x483ff9(0x135)]({'tag':_0x483ff9(0x144),'attributes':{'class':['ck',_0x483ff9(0x13e),_0x483ff9(0x153),_0x483ff9(0x15b)]},'children':[new _0x333f60(_0x23fe75),{'tag':_0x483ff9(0x144),'attributes':{'class':['ck',_0x483ff9(0x147),_0x565740['if'](_0x483ff9(0x143),_0x483ff9(0x150),_0x1b2a19=>!_0x1b2a19)]},'children':this[_0x483ff9(0x148)]}]});}[_0x3c8fff(0x12e)](){const _0x5463b2=_0x3c8fff;super[_0x5463b2(0x12e)]();for(const _0x22f5cf of this[_0x5463b2(0x12a)])this[_0x5463b2(0x138)](_0x22f5cf);this[_0x5463b2(0x12a)]['on'](_0x5463b2(0x149),(_0x534fd7,_0x25228a)=>{const _0x11d44a=_0x5463b2;this[_0x11d44a(0x138)](_0x25228a);}),this[_0x5463b2(0x12a)]['on'](_0x5463b2(0x132),(_0x254416,_0x354fe0)=>{const _0x3d1b8a=_0x5463b2;this[_0x3d1b8a(0x145)](_0x354fe0);});}get[_0x3c8fff(0x133)](){const _0x814b97=_0x3c8fff;return this[_0x814b97(0x148)][_0x814b97(0x129)](_0x54f763=>_0x54f763[_0x814b97(0x133)][_0x814b97(0x129)](_0x1dfaf9=>_0x1dfaf9))[_0x814b97(0x12f)]();}[_0x3c8fff(0x136)](_0x553979){const _0x2f5e2b=_0x3c8fff;for(const _0x23429f of this[_0x2f5e2b(0x133)])_0x553979&&_0x553979['id']===_0x23429f['id']?_0x23429f[_0x2f5e2b(0x13f)]():_0x23429f[_0x2f5e2b(0x14f)]();}[_0x3c8fff(0x141)](_0x361ffa){const _0x1ad565=_0x3c8fff;for(const _0x5dc5d6 of this[_0x1ad565(0x133)])_0x361ffa[_0x1ad565(0x139)](({id:_0x55d20a})=>_0x55d20a===_0x5dc5d6['id'])?_0x5dc5d6[_0x1ad565(0x156)]():_0x5dc5d6[_0x1ad565(0x131)]();}[_0x3c8fff(0x138)](_0x29dc45){const _0x143b09=_0x3c8fff,_0x1ce974=_0x192141(_0x29dc45[_0x143b09(0x14c)],this[_0x143b09(0x13b)][_0x143b09(0x15a)])[_0x143b09(0x134)];let _0x9fd2fa=this[_0x143b09(0x148)][_0x143b09(0x12c)](0x0);_0x9fd2fa&&_0x9fd2fa[_0x143b09(0x134)][_0x143b09(0x13c)]()===_0x1ce974[_0x143b09(0x13c)]()||(_0x9fd2fa=new _0x2e6096(this[_0x143b09(0x13b)],_0x1ce974,this[_0x143b09(0x14a)],this[_0x143b09(0x130)]),this[_0x143b09(0x148)][_0x143b09(0x149)](_0x9fd2fa)),_0x9fd2fa[_0x143b09(0x15d)](_0x29dc45);}[_0x3c8fff(0x145)](_0x110034){const _0x38213e=_0x3c8fff,_0x4ec056=_0x192141(_0x110034[_0x38213e(0x14c)],this[_0x38213e(0x13b)][_0x38213e(0x15a)])[_0x38213e(0x134)];this[_0x38213e(0x12b)](_0x4ec056)[_0x38213e(0x159)](_0x110034);}[_0x3c8fff(0x12b)](_0x1a1c20){const _0x4aee81=_0x3c8fff;return this[_0x4aee81(0x148)][_0x4aee81(0x13d)](_0x6e682e=>_0x6e682e[_0x4aee81(0x134)][_0x4aee81(0x13c)]()===_0x1a1c20[_0x4aee81(0x13c)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5a55(_0x5e09f5,_0x53f344){const _0x4cd690=_0x4cd6();return _0x5a55=function(_0x5a55be,_0x1818a6){_0x5a55be=_0x5a55be-0x1ae;let _0xf91704=_0x4cd690[_0x5a55be];return _0xf91704;},_0x5a55(_0x5e09f5,_0x53f344);}(function(_0x409063,_0x3df8a0){const _0x16efa1=_0x5a55,_0x59a14d=_0x409063();while(!![]){try{const _0x349301=parseInt(_0x16efa1(0x1c2))/0x1*(parseInt(_0x16efa1(0x1c3))/0x2)+-parseInt(_0x16efa1(0x1bf))/0x3+parseInt(_0x16efa1(0x1b6))/0x4+-parseInt(_0x16efa1(0x1b7))/0x5+parseInt(_0x16efa1(0x1ae))/0x6*(parseInt(_0x16efa1(0x1be))/0x7)+parseInt(_0x16efa1(0x1c6))/0x8*(-parseInt(_0x16efa1(0x1b3))/0x9)+-parseInt(_0x16efa1(0x1b5))/0xa*(parseInt(_0x16efa1(0x1c4))/0xb);if(_0x349301===_0x3df8a0)break;else _0x59a14d['push'](_0x59a14d['shift']());}catch(_0x6525b2){_0x59a14d['push'](_0x59a14d['shift']());}}}(_0x4cd6,0x33cc2));import{DateTime as _0x22415a}from'luxon';function _0x4cd6(){const _0x35a02f=['1539045RAPgCn','setLocale','2330dRJmnW','1317864xlNTcl','1020625SmHtye','weekdayLong','local','fromJSDate','minus','startOf','toRelativeCalendar','973dguxxQ','791304QUaqIr','hasSame','day','2OmDOgn','405068gLzdHK','11869rsUEAz','monthLong','8xXCrzM','15882FFlQfc','year','toJSDate','month','week'];_0x4cd6=function(){return _0x35a02f;};return _0x4cd6();}export function getDateTimePeriodInfo(_0x3d6929,_0x3f96ba){const _0x329e56=_0x5a55,_0x55d6c2=_0x22415a[_0x329e56(0x1ba)](_0x3d6929)[_0x329e56(0x1b4)](_0x3f96ba),_0x5d9662=_0x22415a[_0x329e56(0x1b9)](),_0x1a5e5d=_0x5d9662[_0x329e56(0x1bb)]({'days':0x1})[_0x329e56(0x1bc)](_0x329e56(0x1c1));let _0x30fcbe,_0x54bf83;return _0x55d6c2[_0x329e56(0x1c0)](_0x5d9662,_0x329e56(0x1c1))?(_0x30fcbe=_0x55d6c2[_0x329e56(0x1bc)](_0x329e56(0x1c1))[_0x329e56(0x1b0)](),_0x54bf83=_0x55d6c2[_0x329e56(0x1bd)]()):_0x55d6c2[_0x329e56(0x1c0)](_0x1a5e5d,_0x329e56(0x1c1))?(_0x30fcbe=_0x1a5e5d[_0x329e56(0x1b0)](),_0x54bf83=_0x55d6c2[_0x329e56(0x1bd)]()):_0x55d6c2[_0x329e56(0x1c0)](_0x5d9662,_0x329e56(0x1b2))?(_0x30fcbe=_0x55d6c2[_0x329e56(0x1bc)](_0x329e56(0x1b2))[_0x329e56(0x1b0)](),_0x54bf83=_0x55d6c2[_0x329e56(0x1b8)]||''):_0x55d6c2[_0x329e56(0x1c0)](_0x5d9662,_0x329e56(0x1af))?(_0x30fcbe=_0x55d6c2[_0x329e56(0x1bc)](_0x329e56(0x1b1))[_0x329e56(0x1b0)](),_0x54bf83=_0x55d6c2[_0x329e56(0x1c5)]||''):(_0x30fcbe=_0x55d6c2[_0x329e56(0x1bc)](_0x329e56(0x1af))[_0x329e56(0x1b0)](),_0x54bf83=String(_0x55d6c2[_0x329e56(0x1af)])),{'startDate':_0x30fcbe,'localizedPeriodName':_0x54bf83};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x17e56f=_0x3de9;function _0x215e(){const _0x21c328=['changeId','739480MhSAcx','isSuggestion','9CyCEFC','set','div','1331312hwVWrc','name','Added\x20by','data','ck-revision-change','type','add','_model','5lxTdjG','author','8561xWVocX','bindTemplate','318ePmPNz','3137650tVrSxq','span','element','Removed\x20by','1132nLRzUf','1675730amrRJe','ck-annotation','focus','1211460sfJnlQ','ck-revision-change__label','11TOhNIe','ck-revision-change__','Suggested\x20by','setTemplate'];_0x215e=function(){return _0x21c328;};return _0x215e();}function _0x3de9(_0x33fb2a,_0xc081d6){const _0x215e63=_0x215e();return _0x3de9=function(_0x3de910,_0x1a3792){_0x3de910=_0x3de910-0x15e;let _0x22c4f8=_0x215e63[_0x3de910];return _0x22c4f8;},_0x3de9(_0x33fb2a,_0xc081d6);}(function(_0xd2efc0,_0x227c9a){const _0x5265f5=_0x3de9,_0x3a11ae=_0xd2efc0();while(!![]){try{const _0x81a965=-parseInt(_0x5265f5(0x16b))/0x1+parseInt(_0x5265f5(0x17d))/0x2+parseInt(_0x5265f5(0x16d))/0x3*(parseInt(_0x5265f5(0x172))/0x4)+-parseInt(_0x5265f5(0x169))/0x5*(-parseInt(_0x5265f5(0x176))/0x6)+parseInt(_0x5265f5(0x173))/0x7+-parseInt(_0x5265f5(0x161))/0x8*(parseInt(_0x5265f5(0x15e))/0x9)+-parseInt(_0x5265f5(0x16e))/0xa*(parseInt(_0x5265f5(0x178))/0xb);if(_0x81a965===_0x227c9a)break;else _0x3a11ae['push'](_0x3a11ae['shift']());}catch(_0x41406e){_0x3a11ae['push'](_0x3a11ae['shift']());}}}(_0x215e,0x5602a));import{View as _0xb71c10}from'ckeditor5/src/ui.js';import{getTranslation as _0x3738d6}from'../../utils/common-translations.js';export default class Z extends _0xb71c10{constructor(_0x5a9856,_0x83f0e0){const _0x6dbcfd=_0x3de9;super(_0x5a9856),this[_0x6dbcfd(0x168)]=_0x83f0e0,this[_0x6dbcfd(0x17c)]=_0x83f0e0['id'];const _0x11d71f=this[_0x6dbcfd(0x16c)],_0xcb4f48=_0x3738d6(_0x5a9856,_0x83f0e0[_0x6dbcfd(0x164)][_0x6dbcfd(0x17e)]?_0x6dbcfd(0x17a):_0x6dbcfd(0x167)==_0x83f0e0[_0x6dbcfd(0x166)]?_0x6dbcfd(0x163):_0x6dbcfd(0x171));this[_0x6dbcfd(0x15f)](_0x6dbcfd(0x166),_0x83f0e0[_0x6dbcfd(0x166)]),this[_0x6dbcfd(0x17b)]({'tag':_0x6dbcfd(0x160),'attributes':{'class':[_0x6dbcfd(0x174),_0x6dbcfd(0x165),_0x11d71f['to'](_0x6dbcfd(0x166),_0x22a3ea=>_0x6dbcfd(0x179)+_0x22a3ea)],'tabindex':-0x1},'children':[{'tag':_0x6dbcfd(0x16f),'children':[{'tag':_0x6dbcfd(0x16f),'attributes':{'class':[_0x6dbcfd(0x177)]},'children':[{'text':_0xcb4f48}]},{'text':'\x20'+_0x83f0e0[_0x6dbcfd(0x16a)][_0x6dbcfd(0x162)]}]}]});}[_0x17e56f(0x175)](){const _0x462a2a=_0x17e56f;this[_0x462a2a(0x170)][_0x462a2a(0x175)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3e71(_0x5936e4,_0x3b92b8){const _0x5be81=_0x5be8();return _0x3e71=function(_0x3e7124,_0x147a41){_0x3e7124=_0x3e7124-0xac;let _0x6b3848=_0x5be81[_0x3e7124];return _0x6b3848;},_0x3e71(_0x5936e4,_0x3b92b8);}(function(_0x21f6f0,_0x333fac){const _0x63f65f=_0x3e71,_0xde883c=_0x21f6f0();while(!![]){try{const _0x123a20=parseInt(_0x63f65f(0xc9))/0x1+parseInt(_0x63f65f(0xc2))/0x2*(-parseInt(_0x63f65f(0xb2))/0x3)+parseInt(_0x63f65f(0xad))/0x4*(-parseInt(_0x63f65f(0xbe))/0x5)+parseInt(_0x63f65f(0xae))/0x6*(parseInt(_0x63f65f(0xb8))/0x7)+parseInt(_0x63f65f(0xcb))/0x8*(-parseInt(_0x63f65f(0xc8))/0x9)+-parseInt(_0x63f65f(0xbb))/0xa+-parseInt(_0x63f65f(0xbf))/0xb*(-parseInt(_0x63f65f(0xd3))/0xc);if(_0x123a20===_0x333fac)break;else _0xde883c['push'](_0xde883c['shift']());}catch(_0xc4bf3){_0xde883c['push'](_0xde883c['shift']());}}}(_0x5be8,0x75a0b));import{View as _0x2ad95e,ButtonView as _0x53aac7,ToolbarSeparatorView as _0xfa78a7}from'ckeditor5/src/ui.js';import{getTranslation as _0x597415}from'../../utils/common-translations.js';import _0x2c3e33 from'../../../theme/icons/arrow-up.svg';import _0x13c175 from'../../../theme/icons/arrow-down.svg';function _0x5be8(){const _0x32f73a=['isEnabled','div','isBackwardNavigationEnabled','3749711qsErdv','ck-revision-history-ui__changes-navigation__wrapper','currentChangeNumber','4380570IRHAMz','fire','Loading...','30deNare','341zjoyGF','Show\x20next\x20change','ck-revision-history-ui__changes-navigation__navigation','26jqmyRR','numberOfChanges','_isStatusLabelVisible','ck-revision-history-ui','set','setTemplate','1017mQJCNx','765288YFClZa','forward','38216BLIZuZ','isNavigationMode','bind','ck-hidden','No\x20changes','bindTemplate','isForwardNavigationEnabled','Total','204324fGYZZc','NUMBER_OF_CHANGES','backward','execute','ck-revision-history-ui__changes-navigation__label','Show\x20previous\x20change','span','47356EiitYZ','6BcNiqh','ck-revision-history-ui__changes-navigation','X_OF_Y_CHANGES','EDIT_X_OF_Y_REVISIONS','68793aQmcfg','isReady','_statusText'];_0x5be8=function(){return _0x32f73a;};return _0x5be8();}import'../../../theme/changesnavigation.css';export default class li extends _0x2ad95e{constructor(_0x8e9c8c){const _0x21a269=_0x3e71;super(_0x8e9c8c);const _0x2ace29=this[_0x21a269(0xd0)],_0x343d2d=new _0x53aac7(_0x8e9c8c),_0x5870e4=new _0x53aac7(_0x8e9c8c);this[_0x21a269(0xc6)](_0x21a269(0xcc),!0x1),this[_0x21a269(0xc6)](_0x21a269(0xb3),!0x1),this[_0x21a269(0xc6)](_0x21a269(0xba),0x0),this[_0x21a269(0xc6)](_0x21a269(0xc3),0x0),this[_0x21a269(0xc6)](_0x21a269(0xd1),!0x1),this[_0x21a269(0xc6)](_0x21a269(0xb7),!0x1),this[_0x21a269(0xcd)](_0x21a269(0xc4))['to'](this,_0x21a269(0xb3),this,_0x21a269(0xc3),(_0x11aa70,_0x33b570)=>_0x11aa70&&_0x33b570>0x0),this[_0x21a269(0xcd)](_0x21a269(0xb4))['to'](this,_0x21a269(0xb3),this,_0x21a269(0xba),this,_0x21a269(0xc3),this,_0x21a269(0xcc),(_0x2a0f4e,_0x391755,_0x18faa8,_0x1af01e)=>{const _0x11b96e=_0x21a269;if(!_0x2a0f4e)return _0x597415(_0x8e9c8c,_0x11b96e(0xbd));if(!_0x18faa8)return _0x597415(_0x8e9c8c,_0x11b96e(0xcf));const _0xd80d3a=_0x597415(_0x8e9c8c,_0x11b96e(0xd4),_0x18faa8);return _0x1af01e?_0x597415(_0x8e9c8c,_0x11b96e(0xb0),[_0x391755+0x1,_0x18faa8]):_0xd80d3a;}),_0x343d2d[_0x21a269(0xc6)]({'label':_0x597415(_0x8e9c8c,_0x21a269(0xd8)),'tooltip':!0x0,'icon':_0x2c3e33}),_0x5870e4[_0x21a269(0xc6)]({'label':_0x597415(_0x8e9c8c,_0x21a269(0xc0)),'tooltip':!0x0,'icon':_0x13c175}),_0x343d2d[_0x21a269(0xcd)](_0x21a269(0xb5))['to'](this,_0x21a269(0xb7)),_0x5870e4[_0x21a269(0xcd)](_0x21a269(0xb5))['to'](this,_0x21a269(0xd1)),_0x343d2d['on'](_0x21a269(0xd6),()=>this[_0x21a269(0xbc)](_0x21a269(0xd6),_0x21a269(0xd5))),_0x5870e4['on'](_0x21a269(0xd6),()=>this[_0x21a269(0xbc)](_0x21a269(0xd6),_0x21a269(0xca))),this[_0x21a269(0xc7)]({'tag':_0x21a269(0xb6),'attributes':{'class':['ck',_0x21a269(0xc5),_0x21a269(0xaf)]},'children':[{'tag':_0x21a269(0xac),'attributes':{'class':[_0x21a269(0xb9)]},'children':[{'tag':_0x21a269(0xac),'attributes':{'class':[_0x21a269(0xd7),_0x2ace29['if'](_0x21a269(0xc4),_0x21a269(0xce),_0x3979a0=>!_0x3979a0)]},'children':[{'text':_0x2ace29['to'](_0x21a269(0xcc),_0x30727a=>_0x30727a?_0x597415(_0x8e9c8c,_0x21a269(0xb1))+':\x20':_0x597415(_0x8e9c8c,_0x21a269(0xd2))+':\x20')}]},{'text':_0x2ace29['to'](_0x21a269(0xb4))}]},new _0xfa78a7(),{'tag':_0x21a269(0xb6),'attributes':{'class':[_0x21a269(0xc1)]},'children':[_0x343d2d,_0x5870e4]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1daa(){const _0x3eb975=['editing','pluginName','ck-editor__editable__loading-overlay','hide','6syvSvt','view','2sZDwau','13712904LaIOHA','630232jasLha','5298738eeLErG','document','roots','addClass','RevisionViewerLoadingOverlay','1685790NUzvaS','1669672ZQTJgy','1006814rqjlxh','change','editor','4628666rCNazc','show','removeClass'];_0x1daa=function(){return _0x3eb975;};return _0x1daa();}const _0x5a22f6=_0xbbbb;(function(_0x12dba9,_0x11af22){const _0x39cd65=_0xbbbb,_0x553093=_0x12dba9();while(!![]){try{const _0x58c1e6=-parseInt(_0x39cd65(0x187))/0x1*(parseInt(_0x39cd65(0x17b))/0x2)+-parseInt(_0x39cd65(0x185))/0x3*(-parseInt(_0x39cd65(0x189))/0x4)+-parseInt(_0x39cd65(0x18f))/0x5+parseInt(_0x39cd65(0x18a))/0x6+-parseInt(_0x39cd65(0x17e))/0x7+-parseInt(_0x39cd65(0x190))/0x8+parseInt(_0x39cd65(0x188))/0x9;if(_0x58c1e6===_0x11af22)break;else _0x553093['push'](_0x553093['shift']());}catch(_0x1b990f){_0x553093['push'](_0x553093['shift']());}}}(_0x1daa,0x7c048));import{Plugin as _0x33daee}from'ckeditor5/src/core.js';function _0xbbbb(_0xc08b32,_0x4761b7){const _0x1daa20=_0x1daa();return _0xbbbb=function(_0xbbbb6e,_0x72f67){_0xbbbb6e=_0xbbbb6e-0x17b;let _0x143da3=_0x1daa20[_0xbbbb6e];return _0x143da3;},_0xbbbb(_0xc08b32,_0x4761b7);}const oe=_0x5a22f6(0x183);import'../../../theme/revisionviewerloadingoverlay.css';export default class re extends _0x33daee{static get[_0x5a22f6(0x182)](){const _0x54c51f=_0x5a22f6;return _0x54c51f(0x18e);}[_0x5a22f6(0x17f)](){const _0x513928=_0x5a22f6,_0x1b61fb=this[_0x513928(0x17d)][_0x513928(0x181)][_0x513928(0x186)];_0x1b61fb[_0x513928(0x17c)](_0x8a2875=>{const _0x51b9c9=_0x513928;for(const _0x2a99ff of _0x1b61fb[_0x51b9c9(0x18b)][_0x51b9c9(0x18c)])_0x8a2875[_0x51b9c9(0x18d)](oe,_0x2a99ff);});}[_0x5a22f6(0x184)](){const _0x5778e0=_0x5a22f6,_0x40debe=this[_0x5778e0(0x17d)][_0x5778e0(0x181)][_0x5778e0(0x186)];_0x40debe[_0x5778e0(0x17c)](_0x53018c=>{const _0x44acec=_0x5778e0;for(const _0x2813ac of _0x40debe[_0x44acec(0x18b)][_0x44acec(0x18c)])_0x53018c[_0x44acec(0x180)](oe,_0x2813ac);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x42b3(){const _0x98f33f=['forward','bind','4939380ftTOxV','isForwardNavigationEnabled','get','show','1784082nzspTg','plugins','requires','showPreviousChange','2134734IoQiBX','ck-revision-history-ui__back-to-editing','restoreRevision','7UQkPsI','commands','set','isEnabled','init','2427345vRTcWX','8333736DDVuDK','3289140DMNXvp','isNavigationMode','Restore\x20this\x20revision','changesNavigation','closeRevisionViewerCallback','RevisionViewerUI','pluginName','6PiwIGn','isBackwardNavigationEnabled','editor','execute','showNextChange','currentChangeNumber','isReady','exitToEditing','listenTo','add','revisionHistory','config','change:isReady','numberOfChanges','15036732eCWJpm','Back\x20to\x20editing','componentFactory','undo','hide'];_0x42b3=function(){return _0x98f33f;};return _0x42b3();}const _0x109b4a=_0x41b0;(function(_0x1ee368,_0x502925){const _0xd5baa8=_0x41b0,_0x111140=_0x1ee368();while(!![]){try{const _0x5f5948=-parseInt(_0xd5baa8(0x13d))/0x1+-parseInt(_0xd5baa8(0x141))/0x2+-parseInt(_0xd5baa8(0x11b))/0x3+parseInt(_0xd5baa8(0x139))/0x4+parseInt(_0xd5baa8(0x11d))/0x5*(parseInt(_0xd5baa8(0x124))/0x6)+parseInt(_0xd5baa8(0x144))/0x7*(parseInt(_0xd5baa8(0x11c))/0x8)+parseInt(_0xd5baa8(0x132))/0x9;if(_0x5f5948===_0x502925)break;else _0x111140['push'](_0x111140['shift']());}catch(_0x1f903a){_0x111140['push'](_0x111140['shift']());}}}(_0x42b3,0xe69be));import{icons as _0x4880c8,Plugin as _0x41353c}from'ckeditor5/src/core.js';import{ButtonView as _0x3db0d4}from'ckeditor5/src/ui.js';import _0x412000 from'./changesnavigationview.js';import _0x4f3ba5 from'./../../revisionviewer.js';import _0x4a77ea from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x499d2e}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';function _0x41b0(_0xde55cc,_0x59f98b){const _0x42b319=_0x42b3();return _0x41b0=function(_0x41b039,_0x2a3646){_0x41b039=_0x41b039-0x11a;let _0x10dbc4=_0x42b319[_0x41b039];return _0x10dbc4;},_0x41b0(_0xde55cc,_0x59f98b);}export default class R extends _0x41353c{static get[_0x109b4a(0x123)](){const _0x2c3294=_0x109b4a;return _0x2c3294(0x122);}static get[_0x109b4a(0x13f)](){return[_0x4f3ba5,_0x4a77ea];}[_0x109b4a(0x11a)](){const _0x571e9c=_0x109b4a,_0x30c48d=this[_0x571e9c(0x126)],_0x3a0e93=_0x30c48d[_0x571e9c(0x13e)][_0x571e9c(0x13b)](_0x4f3ba5),_0x34bb25=_0x30c48d[_0x571e9c(0x13e)][_0x571e9c(0x13b)](_0x4a77ea);_0x30c48d['ui'][_0x571e9c(0x134)][_0x571e9c(0x12d)](_0x571e9c(0x12b),_0x59391b=>{const _0x2b4c2c=_0x571e9c,_0xb2e69d=new _0x3db0d4(_0x59391b);return _0xb2e69d[_0x2b4c2c(0x146)]({'label':_0x499d2e(_0x59391b,_0x2b4c2c(0x133)),'icon':_0x4880c8[_0x2b4c2c(0x135)],'withText':!0x0,'tooltip':!0x0,'class':_0x2b4c2c(0x142)}),this[_0x2b4c2c(0x12c)](_0xb2e69d,_0x2b4c2c(0x127),()=>{const _0x4a456d=_0x2b4c2c;_0x30c48d[_0x4a456d(0x12f)][_0x4a456d(0x13b)](_0x4a456d(0x12e))[_0x4a456d(0x121)]();}),_0xb2e69d;}),_0x30c48d['ui'][_0x571e9c(0x134)][_0x571e9c(0x12d)](_0x571e9c(0x143),_0x5c63b9=>{const _0x32e914=_0x571e9c,_0x443365=new _0x3db0d4(_0x5c63b9);return _0x443365[_0x32e914(0x146)]({'label':_0x499d2e(_0x5c63b9,_0x32e914(0x11f)),'withText':!0x0,'tooltip':!0x0}),_0x443365[_0x32e914(0x138)](_0x32e914(0x147))['to'](_0x30c48d[_0x32e914(0x145)][_0x32e914(0x13b)](_0x32e914(0x143))),this[_0x32e914(0x12c)](_0x443365,_0x32e914(0x127),()=>_0x30c48d[_0x32e914(0x127)](_0x32e914(0x143))),_0x443365;}),_0x30c48d['ui'][_0x571e9c(0x134)][_0x571e9c(0x12d)](_0x571e9c(0x120),_0x20c3d4=>{const _0x3b1a6a=_0x571e9c,_0x3200d6=new _0x412000(_0x20c3d4),_0x349305=_0x30c48d[_0x3b1a6a(0x145)][_0x3b1a6a(0x13b)](_0x3b1a6a(0x140)),_0x297af7=_0x30c48d[_0x3b1a6a(0x145)][_0x3b1a6a(0x13b)](_0x3b1a6a(0x128));return _0x3200d6[_0x3b1a6a(0x138)](_0x3b1a6a(0x125))['to'](_0x349305,_0x3b1a6a(0x147)),_0x3200d6[_0x3b1a6a(0x138)](_0x3b1a6a(0x13a))['to'](_0x297af7,_0x3b1a6a(0x147)),_0x3200d6[_0x3b1a6a(0x138)](_0x3b1a6a(0x12a),_0x3b1a6a(0x129),_0x3b1a6a(0x131),_0x3b1a6a(0x11e))['to'](_0x3a0e93),this[_0x3b1a6a(0x12c)](_0x3200d6,_0x3b1a6a(0x127),(_0x4f258d,_0x50efb0)=>{const _0x4507ab=_0x3b1a6a;_0x30c48d[_0x4507ab(0x127)](_0x4507ab(0x137)===_0x50efb0?_0x4507ab(0x128):_0x4507ab(0x140));}),_0x3200d6;}),_0x34bb25[_0x571e9c(0x13c)](),_0x3a0e93['on'](_0x571e9c(0x130),(_0x2d5644,_0x4a39e1,_0x200b10)=>{const _0x3b63df=_0x571e9c;_0x200b10?_0x34bb25[_0x3b63df(0x136)]():_0x34bb25[_0x3b63df(0x13c)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x32390d,_0x41d230,_0x33fa98){const t=_0x32390d['t'];switch(_0x41d230){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'},_0x33fa98);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x33fa98);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'';}}
|