@ckeditor/ckeditor5-revision-history 46.0.0-alpha.8 → 46.0.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- 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/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.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.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.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/eu.js +1 -1
- package/dist/translations/eu.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/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.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/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.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/nb.js +1 -1
- package/dist/translations/nb.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.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/uz.js +1 -1
- package/dist/translations/uz.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/package.json +11 -11
- 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.d.ts +1 -3
- 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/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +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 +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x301b72=_0x1805;(function(_0x423c6b,_0x1dc843){const _0x4c39b6=_0x1805,_0x3e2eb4=_0x423c6b();while(!![]){try{const _0x18f8ed=parseInt(_0x4c39b6(0xfa))/0x1*(-parseInt(_0x4c39b6(0xd8))/0x2)+parseInt(_0x4c39b6(0xf4))/0x3*(-parseInt(_0x4c39b6(0xeb))/0x4)+-parseInt(_0x4c39b6(0xe3))/0x5+parseInt(_0x4c39b6(0xe8))/0x6+parseInt(_0x4c39b6(0xed))/0x7*(-parseInt(_0x4c39b6(0xf7))/0x8)+-parseInt(_0x4c39b6(0xdb))/0x9*(-parseInt(_0x4c39b6(0xda))/0xa)+parseInt(_0x4c39b6(0x101))/0xb;if(_0x18f8ed===_0x1dc843)break;else _0x3e2eb4['push'](_0x3e2eb4['shift']());}catch(_0x539178){_0x3e2eb4['push'](_0x3e2eb4['shift']());}}}(_0x3441,0x1da4d));function _0x1805(_0x2478c4,_0x57c92d){const _0x344170=_0x3441();return _0x1805=function(_0x18058f,_0x3110a1){_0x18058f=_0x18058f-0xd8;let _0x581b7c=_0x344170[_0x18058f];return _0x581b7c;},_0x1805(_0x2478c4,_0x57c92d);}import{CssTransitionDisablerMixin as _0x4760a0,LabeledFieldView as _0x1a69e8,View as _0x8fc29e,createLabeledInputText as _0x9a0827,submitHandler as _0x24c42f}from'ckeditor5/src/ui.js';import{FocusTracker as _0x46cd93,KeystrokeHandler as _0x5b4a9d}from'ckeditor5/src/utils.js';function _0x3441(){const _0x14b26c=['arrowright','arrowup','632265SehlKn','focusTracker','locale','element','arrowdown','363258baidVG','Name\x20of\x20the\x20revision','initializeCssTransitionDisablerMixin','4vOnSSm','errorText','14OTmSaP','trim','_createRevisionNameInput','ck-revision-history-save-revision-form','setTemplate','optional','revisionNameInputView','712587EPYFKf','revisionName','220','338104hpenFf','keystrokes','stopPropagation','135533MIcjLM','ck-responsive-form','add','extendTemplate','input','value','fieldView','5327355KXbZdu','form','set','label','2wrfeJJ','reset','803070mKdFwt','18hudOAZ','render','focus','revisionNameInputValue','listenTo','arrowleft'];_0x3441=function(){return _0x14b26c;};return _0x3441();}import{getTranslation as _0x2a6b20}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4760a0(_0x8fc29e){[_0x301b72(0xe4)];[_0x301b72(0xf8)];[_0x301b72(0xf3)];constructor(_0x2637f3,_0x47bb71){const _0x597ca3=_0x301b72;super(_0x2637f3),this[_0x597ca3(0xe4)]=new _0x46cd93(),this[_0x597ca3(0xf8)]=new _0x5b4a9d(),this[_0x597ca3(0x103)](_0x597ca3(0xde),''),this[_0x597ca3(0xf3)]=this[_0x597ca3(0xef)](_0x47bb71),this[_0x597ca3(0xf1)]({'tag':_0x597ca3(0x102),'attributes':{'class':['ck',_0x597ca3(0xf0),_0x597ca3(0xfb)],'tabindex':'-1'},'children':[this[_0x597ca3(0xf3)]]}),this[_0x597ca3(0xea)]();}[_0x301b72(0xdc)](){const _0x5a2f55=_0x301b72;super[_0x5a2f55(0xdc)](),_0x24c42f({'view':this}),this[_0x5a2f55(0xe4)][_0x5a2f55(0xfc)](this[_0x5a2f55(0xf3)][_0x5a2f55(0xe6)]),this[_0x5a2f55(0xf8)][_0x5a2f55(0xdf)](this[_0x5a2f55(0xe6)]);const _0x47c8be=_0x203bdc=>_0x203bdc[_0x5a2f55(0xf9)]();this[_0x5a2f55(0xf8)][_0x5a2f55(0x103)](_0x5a2f55(0xe1),_0x47c8be),this[_0x5a2f55(0xf8)][_0x5a2f55(0x103)](_0x5a2f55(0xe0),_0x47c8be),this[_0x5a2f55(0xf8)][_0x5a2f55(0x103)](_0x5a2f55(0xe2),_0x47c8be),this[_0x5a2f55(0xf8)][_0x5a2f55(0x103)](_0x5a2f55(0xe7),_0x47c8be);}[_0x301b72(0xdd)](){const _0x9b08b5=_0x301b72;this[_0x9b08b5(0xf3)][_0x9b08b5(0xdd)]();}get[_0x301b72(0xf5)](){const _0x377efe=_0x301b72;return this[_0x377efe(0xf3)][_0x377efe(0x100)][_0x377efe(0xe6)][_0x377efe(0xff)][_0x377efe(0xee)]();}set[_0x301b72(0xf5)](_0x569d99){const _0x558988=_0x301b72;this[_0x558988(0xf3)][_0x558988(0x100)][_0x558988(0xe6)][_0x558988(0xff)]=_0x569d99[_0x558988(0xee)]();}[_0x301b72(0xd9)](){const _0x52a5b9=_0x301b72;this[_0x52a5b9(0xf3)][_0x52a5b9(0x100)][_0x52a5b9(0xe6)][_0x52a5b9(0xff)]='',this[_0x52a5b9(0xf3)][_0x52a5b9(0xec)]=null;}[_0x301b72(0xef)](_0x182663){const _0x41c971=_0x301b72,_0x16b4a2=new _0x1a69e8(this[_0x41c971(0xe5)],_0x9a0827),_0x9aed8d=_0x16b4a2[_0x41c971(0x100)];_0x9aed8d[_0x41c971(0xfd)]({'attributes':{'maxlength':_0x41c971(0xf6)}});let _0x58386e=_0x2a6b20(this[_0x41c971(0xe5)],_0x41c971(0xe9));return!_0x182663&&(_0x58386e+='\x20('+_0x2a6b20(this[_0x41c971(0xe5)],_0x41c971(0xf2))+')'),(_0x16b4a2[_0x41c971(0x104)]=_0x58386e,_0x9aed8d['on'](_0x41c971(0xfe),()=>{const _0x24e7b7=_0x41c971;this[_0x24e7b7(0xde)]=_0x9aed8d[_0x24e7b7(0xe6)][_0x24e7b7(0xff)][_0x24e7b7(0xee)]();}),_0x16b4a2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4409bb=_0xccce;(function(_0x2a8ca6,_0x595bff){const _0x786252=_0xccce,_0x625d24=_0x2a8ca6();while(!![]){try{const _0x42bb50=-parseInt(_0x786252(0x144))/0x1*(parseInt(_0x786252(0x10d))/0x2)+parseInt(_0x786252(0x124))/0x3+parseInt(_0x786252(0x13f))/0x4*(parseInt(_0x786252(0x12c))/0x5)+parseInt(_0x786252(0x10f))/0x6+parseInt(_0x786252(0x105))/0x7+parseInt(_0x786252(0x11f))/0x8+-parseInt(_0x786252(0x132))/0x9*(parseInt(_0x786252(0x13c))/0xa);if(_0x42bb50===_0x595bff)break;else _0x625d24['push'](_0x625d24['shift']());}catch(_0x878fb){_0x625d24['push'](_0x625d24['shift']());}}}(_0x50c8,0x94749));import{Plugin as _0x4214dd}from'ckeditor5/src/core.js';function _0xccce(_0x557fdd,_0x3f0dfe){const _0x50c811=_0x50c8();return _0xccce=function(_0xcccec0,_0x34d6da){_0xcccec0=_0xcccec0-0x105;let _0x23708f=_0x50c811[_0xcccec0];return _0x23708f;},_0xccce(_0x557fdd,_0x3f0dfe);}import{IconHistory as _0x152f66}from'ckeditor5/src/icons.js';import{createDropdown as _0x3827a3,ButtonView as _0x3a19c9,ListItemView as _0x3e0283,ListView as _0x4a4e27,MenuBarMenuListItemButtonView as _0x21c1f6,MenuBarMenuListItemView as _0x233bce,MenuBarMenuListView as _0x128133,MenuBarMenuView as _0x821127}from'ckeditor5/src/ui.js';import{RevisionTracker as _0x41f0b1}from'../../revisiontracker.js';function _0x50c8(){const _0x42dbdd=['isEnabled','reset','view','menuitem','revisionHistory','18GJOXAb','_registerMenuComponent','submit','render','addMany','_showDialog','show','isPremiumPlugin','editor','bind','7958640XgbeOs','Save\x20current\x20revision','delegate','292KaBbqK','plugins','init','Accept','menuBar:revisionHistory','37UorkbA','isReadOnly','_saveRevisionFormView','_createSaveRevisionFormView','Cancel','isOfficialPlugin','5248642LvCMth','errorText','Revision\x20history','componentFactory','locale','RevisionTracker','Dialog','revisionHistory.requireRevisionName','5926dyAeEv','isOpen','5513448QshCsM','Open\x20revision\x20history','items','requires','execute','The\x20revision\x20name\x20cannot\x20be\x20empty.','hide','set','panelView','children','get','focus','isReady','role','saveRevision','menu','439856AQdJkB','ck-button-action','config','RevisionHistoryUI','editing','1408998jDJxKN','pluginName','revisionSave','showRevisionViewerCallback','add','revisionNameInputView','buttonView','revisionName','7950PDkFIA'];_0x50c8=function(){return _0x42dbdd;};return _0x50c8();}import{RevisionHistorySaveRevisionFormView as _0x691ed5}from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x4a50f0}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0x4214dd{static get[_0x4409bb(0x125)](){const _0x5bcfc6=_0x4409bb;return _0x5bcfc6(0x122);}static get[_0x4409bb(0x149)](){return!0x0;}static get[_0x4409bb(0x139)](){return!0x0;}static get[_0x4409bb(0x112)](){return[_0x41f0b1];}[_0x4409bb(0x146)];[_0x4409bb(0x141)](){const _0xaf3809=_0x4409bb,_0x5a781d=this[_0xaf3809(0x13a)],_0x3acb84=_0x5a781d[_0xaf3809(0x140)][_0xaf3809(0x119)](_0xaf3809(0x10a));_0x5a781d['ui'][_0xaf3809(0x108)][_0xaf3809(0x128)](_0xaf3809(0x131),_0x398537=>{const _0x4c6a0f=_0xaf3809,_0x2e070f=_0x3827a3(_0x398537),_0x17d9ba=_0x2e070f[_0x4c6a0f(0x117)][_0x4c6a0f(0x118)],_0xaf6b16=new _0x4a4e27(_0x398537),_0x57e232=new _0x3e0283(_0x398537),_0x1ff02a=new _0x3a19c9(_0x398537),_0x30cdae=new _0x3e0283(_0x398537),_0x5e1d4d=new _0x3a19c9(_0x398537);return _0x2e070f[_0x4c6a0f(0x13b)](_0x4c6a0f(0x12d))['to'](_0x3acb84,_0x4c6a0f(0x11b),_0x3acb84,_0x4c6a0f(0x12d),_0x5a781d,_0x4c6a0f(0x145),(_0x415491,_0x3b26e9,_0x481d5d)=>_0x415491&&_0x3b26e9&&!_0x481d5d),_0x2e070f[_0x4c6a0f(0x12a)][_0x4c6a0f(0x116)]({'icon':_0x152f66,'label':_0x4a50f0(_0x398537,_0x4c6a0f(0x107)),'tooltip':!0x0}),_0x1ff02a[_0x4c6a0f(0x116)]({'label':_0x4a50f0(_0x398537,_0x4c6a0f(0x13d)),'withText':!0x0,'role':_0x4c6a0f(0x130)}),_0x1ff02a[_0x4c6a0f(0x13b)](_0x4c6a0f(0x12d))['to'](_0x3acb84,_0x4c6a0f(0x11b),_0x3acb84,_0x4c6a0f(0x12d),_0x5a781d,_0x4c6a0f(0x145),(_0x18bb76,_0x1349cd,_0x363439)=>_0x18bb76&&_0x1349cd&&!_0x363439),_0x1ff02a['on'](_0x4c6a0f(0x113),()=>this[_0x4c6a0f(0x137)]()),_0x5e1d4d[_0x4c6a0f(0x116)]({'label':_0x4a50f0(_0x398537,_0x4c6a0f(0x110)),'withText':!0x0,'role':_0x4c6a0f(0x130)}),_0x5e1d4d[_0x4c6a0f(0x13b)](_0x4c6a0f(0x12d))['to'](_0x3acb84,_0x4c6a0f(0x11b),_0x5a781d,_0x4c6a0f(0x145),(_0x542fb5,_0x552b94)=>_0x542fb5&&!_0x552b94),_0x5e1d4d['on'](_0x4c6a0f(0x113),()=>{const _0x4c05ae=_0x4c6a0f;_0x5a781d[_0x4c05ae(0x121)][_0x4c05ae(0x119)](_0x4c05ae(0x131))[_0x4c05ae(0x127)](),_0x2e070f[_0x4c05ae(0x10e)]=!0x1,_0x5a781d[_0x4c05ae(0x123)][_0x4c05ae(0x12f)][_0x4c05ae(0x11a)]();}),_0x57e232[_0x4c6a0f(0x118)][_0x4c6a0f(0x128)](_0x1ff02a),_0x30cdae[_0x4c6a0f(0x118)][_0x4c6a0f(0x128)](_0x5e1d4d),_0xaf6b16[_0x4c6a0f(0x11c)]=_0x4c6a0f(0x11e),_0xaf6b16[_0x4c6a0f(0x111)][_0x4c6a0f(0x136)]([_0x57e232,_0x30cdae]),_0x17d9ba[_0x4c6a0f(0x128)](_0xaf6b16),_0x2e070f;}),_0x5a781d['ui'][_0xaf3809(0x108)][_0xaf3809(0x128)](_0xaf3809(0x143),()=>this[_0xaf3809(0x133)]());}[_0x4409bb(0x133)](){const _0x472615=_0x4409bb,_0x2cdd21=this[_0x472615(0x13a)],_0x3d4aea=_0x2cdd21[_0x472615(0x109)],_0x43fa02=new _0x821127(_0x3d4aea),_0x32d594=new _0x128133(_0x3d4aea);_0x43fa02[_0x472615(0x12a)][_0x472615(0x116)]({'icon':_0x152f66,'label':_0x4a50f0(_0x3d4aea,_0x472615(0x107))});const _0x5dbeff=new _0x233bce(_0x3d4aea,_0x43fa02),_0x5aa7a3=new _0x21c1f6(_0x3d4aea);_0x5aa7a3[_0x472615(0x116)]({'label':_0x4a50f0(_0x3d4aea,_0x472615(0x13d))}),_0x5aa7a3[_0x472615(0x13e)](_0x472615(0x113))['to'](_0x43fa02),_0x5aa7a3['on'](_0x472615(0x113),()=>{const _0x40dbaf=_0x472615;this[_0x40dbaf(0x137)]();}),_0x5dbeff[_0x472615(0x118)][_0x472615(0x128)](_0x5aa7a3),_0x32d594[_0x472615(0x111)][_0x472615(0x128)](_0x5dbeff);const _0x13953d=new _0x233bce(_0x3d4aea,_0x43fa02),_0x1c5a06=new _0x21c1f6(_0x3d4aea);return _0x1c5a06[_0x472615(0x116)]({'label':_0x4a50f0(_0x3d4aea,_0x472615(0x110))}),_0x1c5a06[_0x472615(0x13e)](_0x472615(0x113))['to'](_0x43fa02),_0x1c5a06['on'](_0x472615(0x113),()=>{const _0x1dbefe=_0x472615;_0x2cdd21[_0x1dbefe(0x121)][_0x1dbefe(0x119)](_0x1dbefe(0x131))[_0x1dbefe(0x127)]();}),_0x13953d[_0x472615(0x118)][_0x472615(0x128)](_0x1c5a06),_0x32d594[_0x472615(0x111)][_0x472615(0x128)](_0x13953d),_0x43fa02[_0x472615(0x117)][_0x472615(0x118)][_0x472615(0x128)](_0x32d594),_0x43fa02;}[_0x4409bb(0x137)](){const _0x4b34fb=_0x4409bb,_0x30baec=this[_0x4b34fb(0x13a)],_0x414d07=_0x30baec[_0x4b34fb(0x109)],_0x225d61=_0x30baec[_0x4b34fb(0x140)][_0x4b34fb(0x119)](_0x4b34fb(0x10b)),_0x435e7f=_0x30baec[_0x4b34fb(0x140)][_0x4b34fb(0x119)](_0x4b34fb(0x10a));function _0x222cb7(_0x1b2010){const _0x3d3ea3=_0x4b34fb;_0x30baec[_0x3d3ea3(0x121)][_0x3d3ea3(0x119)](_0x3d3ea3(0x10c))&&''===_0x1b2010[_0x3d3ea3(0x12b)]?_0x1b2010[_0x3d3ea3(0x129)][_0x3d3ea3(0x106)]=_0x4a50f0(_0x414d07,_0x3d3ea3(0x114)):(_0x30baec[_0x3d3ea3(0x140)][_0x3d3ea3(0x119)](_0x41f0b1)[_0x3d3ea3(0x11d)]({'name':_0x1b2010[_0x3d3ea3(0x12b)]}),_0x225d61[_0x3d3ea3(0x115)]());}this[_0x4b34fb(0x146)]||(this[_0x4b34fb(0x147)](),this[_0x4b34fb(0x146)]['on'](_0x4b34fb(0x134),()=>_0x222cb7(this[_0x4b34fb(0x146)]))),this[_0x4b34fb(0x146)][_0x4b34fb(0x12e)](),_0x225d61[_0x4b34fb(0x138)]({'id':_0x4b34fb(0x126),'title':_0x4a50f0(_0x414d07,_0x4b34fb(0x13d)),'isModal':!0x0,'content':this[_0x4b34fb(0x146)],'actionButtons':[{'label':_0x4a50f0(_0x30baec[_0x4b34fb(0x109)],_0x4b34fb(0x148)),'withText':!0x0,'onExecute':()=>_0x225d61[_0x4b34fb(0x115)]()},{'label':_0x4a50f0(_0x30baec[_0x4b34fb(0x109)],_0x4b34fb(0x142)),'class':_0x4b34fb(0x120),'withText':!0x0,'onCreate'(_0x564901){const _0x1eedeb=_0x4b34fb;_0x564901[_0x1eedeb(0x13b)](_0x1eedeb(0x12d))['to'](_0x435e7f,_0x1eedeb(0x11b),_0x435e7f,_0x1eedeb(0x12d),_0x30baec,_0x1eedeb(0x145),(_0x53a4b7,_0x5317bf,_0x4c0225)=>_0x53a4b7&&_0x5317bf&&!_0x4c0225);},'onExecute':()=>_0x222cb7(this[_0x4b34fb(0x146)])}]});}[_0x4409bb(0x147)](){const _0x33d767=_0x4409bb,_0x24c5a4=this[_0x33d767(0x13a)],_0x2b1341=_0x24c5a4[_0x33d767(0x109)];this[_0x33d767(0x146)]=new _0x691ed5(_0x2b1341,_0x24c5a4[_0x33d767(0x121)][_0x33d767(0x119)](_0x33d767(0x10c))),this[_0x33d767(0x146)][_0x33d767(0x135)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ccf7f=_0x5acb;function _0x5acb(_0x48f5d8,_0x552a98){const _0x32e705=_0x32e7();return _0x5acb=function(_0x5acb34,_0x3f48eb){_0x5acb34=_0x5acb34-0x10c;let _0x325d02=_0x32e705[_0x5acb34];return _0x325d02;},_0x5acb(_0x48f5d8,_0x552a98);}(function(_0x5a4e0d,_0x3b4c7e){const _0x1c6a70=_0x5acb,_0x1d8507=_0x5a4e0d();while(!![]){try{const _0x5411f4=-parseInt(_0x1c6a70(0x12e))/0x1+-parseInt(_0x1c6a70(0x141))/0x2*(parseInt(_0x1c6a70(0x119))/0x3)+-parseInt(_0x1c6a70(0x142))/0x4*(-parseInt(_0x1c6a70(0x114))/0x5)+-parseInt(_0x1c6a70(0x138))/0x6*(parseInt(_0x1c6a70(0x120))/0x7)+parseInt(_0x1c6a70(0x149))/0x8+-parseInt(_0x1c6a70(0x143))/0x9+parseInt(_0x1c6a70(0x12f))/0xa;if(_0x5411f4===_0x3b4c7e)break;else _0x1d8507['push'](_0x1d8507['shift']());}catch(_0x589976){_0x1d8507['push'](_0x1d8507['shift']());}}}(_0x32e7,0xae608));import{Plugin as _0x314fbc}from'ckeditor5/src/core.js';import{RevisionsSidebarView as _0x456d9b}from'./revisionssidebarview.js';import{RevisionViewer as _0x588671}from'../../revisionviewer.js';class f extends _0x314fbc{[_0x4ccf7f(0x11c)];[_0x4ccf7f(0x15a)];[_0x4ccf7f(0x112)];static [_0x4ccf7f(0x118)]=[_0x4ccf7f(0x132),_0x4ccf7f(0x158),_0x4ccf7f(0x117)];static [_0x4ccf7f(0x130)]=(function(){const _0xb9e8c9=_0x4ccf7f;return{'compareAgainstSelected':{'name':_0xb9e8c9(0x12c),'action':({plugins:i},s)=>{const _0x18b942=_0xb9e8c9,e=i[_0x18b942(0x121)](_0x588671),n=e[_0x18b942(0x133)];let r=e[_0x18b942(0x13a)][_0x18b942(0x10c)],o=s['id'];n[_0x18b942(0x15b)](r)>n[_0x18b942(0x15b)](o)&&([r,o]=[o,r]),e[_0x18b942(0x136)](r,o);},'isVisible':({plugins:i},s)=>{const _0x2bfe81=_0xb9e8c9,e=i[_0x2bfe81(0x121)](_0x588671);return!(e[_0x2bfe81(0x133)][_0x2bfe81(0x137)](e[_0x2bfe81(0x13a)])[_0x2bfe81(0x11e)]>0x2)&&!s[_0x2bfe81(0x15c)];}},'restoreRevision':{'name':_0xb9e8c9(0x134),'action':(i,{id:s})=>{const _0x87f08a=_0xb9e8c9;i[_0x87f08a(0x116)][_0x87f08a(0x121)](_0x87f08a(0x14e))[_0x87f08a(0x147)](s);},'isVisible':({plugins:i},s)=>!!i[_0xb9e8c9(0x121)](_0x588671)[_0xb9e8c9(0x133)][_0xb9e8c9(0x122)](s['id'])},'nameRevision':{'name':_0xb9e8c9(0x144),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0x4148ee=_0xb9e8c9,n=i[_0x4148ee(0x121)](_0x588671),r=n[_0x4148ee(0x133)][_0x4148ee(0x13d)](s);n[_0x4148ee(0x136)](s,r),e[_0x4148ee(0x11b)](),e[_0x4148ee(0x15d)][_0x4148ee(0x10f)]();}}};}());static get[_0x4ccf7f(0x13f)](){const _0x492566=_0x4ccf7f;return _0x492566(0x155);}static get[_0x4ccf7f(0x13c)](){return!0x0;}static get[_0x4ccf7f(0x135)](){return!0x0;}static get[_0x4ccf7f(0x12b)](){return[_0x588671];}constructor(_0xd3b2fd){const _0xd4873c=_0x4ccf7f;super(_0xd3b2fd),this[_0xd4873c(0x11c)]=_0xd3b2fd[_0xd4873c(0x11d)][_0xd4873c(0x121)](_0x588671),this[_0xd4873c(0x15a)]=this[_0xd4873c(0x11c)][_0xd4873c(0x133)],this[_0xd4873c(0x112)]=null;}[_0x4ccf7f(0x125)](){const _0x7f6a15=_0x4ccf7f,_0x1dc80b=this[_0x7f6a15(0x15a)][_0x7f6a15(0x13e)],_0x4e8216=this[_0x7f6a15(0x154)](),_0x1433f7=this[_0x7f6a15(0x156)][_0x7f6a15(0x116)][_0x7f6a15(0x121)](_0x7f6a15(0x126));this[_0x7f6a15(0x112)]=new _0x456d9b(this[_0x7f6a15(0x156)][_0x7f6a15(0x14c)],_0x1dc80b,_0x4e8216,this[_0x7f6a15(0x156)][_0x7f6a15(0x116)][_0x7f6a15(0x121)](_0x7f6a15(0x127))),this[_0x7f6a15(0x112)]['on'](_0x7f6a15(0x128),this[_0x7f6a15(0x11f)][_0x7f6a15(0x110)](this)),this[_0x7f6a15(0x112)]['on'](_0x7f6a15(0x15e),this[_0x7f6a15(0x123)][_0x7f6a15(0x110)](this)),this[_0x7f6a15(0x112)][_0x7f6a15(0x110)](_0x7f6a15(0x129))['to'](this[_0x7f6a15(0x11c)]),this[_0x7f6a15(0x112)][_0x7f6a15(0x140)]['on'](_0x7f6a15(0x131),(_0x58eff7,_0x2a941e)=>{const _0x3bce26=_0x7f6a15;_0x2a941e[_0x3bce26(0x14b)]['on'](_0x3bce26(0x131),(_0x1d7eb1,_0x28890b)=>{const _0x9de658=_0x3bce26;_0x28890b[_0x9de658(0x110)](_0x9de658(0x129),_0x9de658(0x14d))['to'](this[_0x9de658(0x11c)]);});}),this[_0x7f6a15(0x112)][_0x7f6a15(0x159)](),this[_0x7f6a15(0x113)](this[_0x7f6a15(0x156)][_0x7f6a15(0x157)],_0x7f6a15(0x115),this[_0x7f6a15(0x10d)][_0x7f6a15(0x110)](this)),this[_0x7f6a15(0x113)](this[_0x7f6a15(0x11c)],_0x7f6a15(0x146),this[_0x7f6a15(0x152)][_0x7f6a15(0x110)](this)),_0x1433f7[_0x7f6a15(0x12d)](this[_0x7f6a15(0x112)][_0x7f6a15(0x13b)]);}[_0x4ccf7f(0x150)](){const _0x5b891b=_0x4ccf7f;this[_0x5b891b(0x112)][_0x5b891b(0x13b)][_0x5b891b(0x148)](),this[_0x5b891b(0x112)][_0x5b891b(0x150)]();}[_0x4ccf7f(0x10d)](){const _0x12107d=_0x4ccf7f,_0x26f865=this[_0x12107d(0x15a)][_0x12107d(0x14a)](0x0);if(_0x26f865){const _0x311cc4=this[_0x12107d(0x15a)][_0x12107d(0x13d)](_0x26f865['id']);this[_0x12107d(0x11c)][_0x12107d(0x136)](_0x26f865,_0x311cc4);}}[_0x4ccf7f(0x11f)](_0x382572,_0xf3dd0a){const _0x4fcc0=_0x4ccf7f,_0x1c0b37=this[_0x4fcc0(0x15a)][_0x4fcc0(0x14a)](_0xf3dd0a['id']),_0x572eff=this[_0x4fcc0(0x15a)][_0x4fcc0(0x13d)](_0x1c0b37['id']);this[_0x4fcc0(0x11c)][_0x4fcc0(0x136)](_0x1c0b37,_0x572eff);}[_0x4ccf7f(0x123)](_0x2b74ab,_0x7da031){const _0x273bd6=_0x4ccf7f;this[_0x273bd6(0x15a)][_0x273bd6(0x14a)](_0x7da031['id'])[_0x273bd6(0x151)](_0x7da031[_0x273bd6(0x12a)]);}[_0x4ccf7f(0x152)](_0x53d248,_0x188dd9,_0x29c664){const _0x3f74a1=_0x4ccf7f,_0x59d6a8=this[_0x3f74a1(0x15a)][_0x3f74a1(0x137)](_0x29c664);_0x59d6a8[_0x3f74a1(0x11e)]>0x2?(this[_0x3f74a1(0x112)][_0x3f74a1(0x10e)](_0x59d6a8),this[_0x3f74a1(0x112)][_0x3f74a1(0x111)](null)):(this[_0x3f74a1(0x112)][_0x3f74a1(0x10e)]([]),this[_0x3f74a1(0x112)][_0x3f74a1(0x111)](_0x59d6a8[0x0]));}[_0x4ccf7f(0x154)](){const _0x398916=_0x4ccf7f,_0x455959=this[_0x398916(0x156)],_0x21834f=f[_0x398916(0x130)],_0x40625b=_0x455959[_0x398916(0x116)][_0x398916(0x121)](_0x398916(0x11a))||f[_0x398916(0x118)];if(_0x40625b[_0x398916(0x11e)])return _0x40625b[_0x398916(0x139)](_0x573627=>{const _0x4fc204=_0x398916,_0xbda4a3=_0x4fc204(0x153)==typeof _0x573627?Object[_0x4fc204(0x145)]({},_0x21834f[_0x573627]):_0x573627;return _0xbda4a3[_0x4fc204(0x124)]=_0xbda4a3[_0x4fc204(0x124)][_0x4fc204(0x110)](this,_0x455959),_0xbda4a3[_0x4fc204(0x14f)]&&(_0xbda4a3[_0x4fc204(0x14f)]=_0xbda4a3[_0x4fc204(0x14f)][_0x4fc204(0x110)](this,_0x455959)),_0xbda4a3;});}}function _0x32e7(){const _0x5bdbd8=['657651Bcggvo','revisionHistory.revisionActions','focus','_revisionViewer','plugins','length','_handleRevisionSelected','2117276cvBmBZ','get','getLaterVisibleRevision','_handleRevisionSetName','action','init','revisionHistory.viewerSidebarContainer','revisionHistory.requireRevisionName','revisionSelected','isEnabled','name','requires','Compare\x20against\x20selected','appendChild','1271331OomJUO','30680790sycxHM','availableRevisionActions','add','compareAgainstSelected','repository','Restore\x20this\x20revision','isPremiumPlugin','compare','getRevisionsInDiff','6iYngsZ','map','diff','element','isOfficialPlugin','getEarlierVisibleRevision','_revisions','pluginName','timePeriodViews','4NSKbcG','60VnpRYi','8259480rJRYbu','Name\x20this\x20revision','assign','change:diff','restoreRevisionCallback','remove','4375576UbIilu','getRevision','revisionViews','locale','isReady','revisionHistory','isVisible','destroy','setName','_handleDiffChange','string','_createRevisionActions','RevisionsSidebar','editor','data','restoreRevision','render','_revisionsRepository','getIndex','isSelected','fieldView','revisionSetName','newRevisionId','_handleEditorDataReady','highlightRevisions','select','bind','selectRevision','_sidebarView','listenTo','9725cXrFxE','ready','config','nameRevision','defaultRevisionActions'];_0x32e7=function(){return _0x5bdbd8;};return _0x32e7();}export{f as RevisionsSidebar};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x345e(){const _0x5053ff=['2166941oiIMpL','ck-reset_all','Revision\x20history','2AeyTiQ','1877130ulQVaI','ck-revision-history-sidebar__header','2380140IzkrDW','content','24BrXShG','11075784FzmaZe','ck-revision-history-sidebar__header__label','span','37706NslKGO','div','317712mpvVnC','setTemplate','4358205RRaBcB'];_0x345e=function(){return _0x5053ff;};return _0x345e();}(function(_0x421a26,_0x332b4c){const _0x572a37=_0x18ef,_0x836e28=_0x421a26();while(!![]){try{const _0x4588ba=parseInt(_0x572a37(0x1b7))/0x1*(-parseInt(_0x572a37(0x1ae))/0x2)+-parseInt(_0x572a37(0x1b9))/0x3*(-parseInt(_0x572a37(0x1b3))/0x4)+-parseInt(_0x572a37(0x1bb))/0x5+-parseInt(_0x572a37(0x1af))/0x6+-parseInt(_0x572a37(0x1bc))/0x7+parseInt(_0x572a37(0x1b4))/0x8+parseInt(_0x572a37(0x1b1))/0x9;if(_0x4588ba===_0x332b4c)break;else _0x836e28['push'](_0x836e28['shift']());}catch(_0x59c0cd){_0x836e28['push'](_0x836e28['shift']());}}}(_0x345e,0xb7bd0));import{View as _0xc43074,IconView as _0x980d98}from'ckeditor5/src/ui.js';import{getTranslation as _0x14bc3c}from'../../utils/common-translations.js';function _0x18ef(_0x2cd7ad,_0xd90824){const _0x345e2a=_0x345e();return _0x18ef=function(_0x18ef81,_0x375077){_0x18ef81=_0x18ef81-0x1ad;let _0x3f7358=_0x345e2a[_0x18ef81];return _0x3f7358;},_0x18ef(_0x2cd7ad,_0xd90824);}import{IconHistory as _0x192326}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0xc43074{constructor(_0x17a9e3){const _0x169db0=_0x18ef;super(_0x17a9e3);const _0x2507fd=new _0x980d98();_0x2507fd[_0x169db0(0x1b2)]=_0x192326,this[_0x169db0(0x1ba)]({'tag':_0x169db0(0x1b8),'attributes':{'class':['ck',_0x169db0(0x1bd),_0x169db0(0x1b0)]},'children':[_0x2507fd,{'tag':_0x169db0(0x1b6),'attributes':{'class':['ck',_0x169db0(0x1b5)]},'children':[_0x14bc3c(_0x17a9e3,_0x169db0(0x1ad))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x499a08=_0x1328;function _0x1328(_0x3a17d8,_0x2ffb0c){const _0x4cf0ae=_0x4cf0();return _0x1328=function(_0x1328c4,_0x360485){_0x1328c4=_0x1328c4-0x1c7;let _0x5c110b=_0x4cf0ae[_0x1328c4];return _0x5c110b;},_0x1328(_0x3a17d8,_0x2ffb0c);}(function(_0x2d6fd6,_0x1dbe31){const _0x1f1457=_0x1328,_0x33c591=_0x2d6fd6();while(!![]){try{const _0x59b07f=parseInt(_0x1f1457(0x1e2))/0x1*(-parseInt(_0x1f1457(0x1ca))/0x2)+parseInt(_0x1f1457(0x1c7))/0x3+-parseInt(_0x1f1457(0x1cb))/0x4+parseInt(_0x1f1457(0x1e0))/0x5+-parseInt(_0x1f1457(0x1ce))/0x6*(parseInt(_0x1f1457(0x1d2))/0x7)+parseInt(_0x1f1457(0x1cc))/0x8+-parseInt(_0x1f1457(0x1e3))/0x9*(-parseInt(_0x1f1457(0x1dd))/0xa);if(_0x59b07f===_0x1dbe31)break;else _0x33c591['push'](_0x33c591['shift']());}catch(_0x484332){_0x33c591['push'](_0x33c591['shift']());}}}(_0x4cf0,0x8c3ab));import{View as _0x461a63}from'ckeditor5/src/ui.js';import{RevisionView as _0x1c0aa0}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x48b4a9}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';function _0x4cf0(){const _0x33903f=['createCollection','2943005ESfnjz','locale','2047Uzhjca','508779pbteck','span','uiLanguage','find','1654968yYHzJx','localizedPeriodName','setName','108ReSnVx','452604FExbQx','5548624GGdLwC','delegate','6BQYvcu','ck-revision-history-sidebar__time-period__label','setTemplate','startDate','7646086EtTQDy','add','_revisionActions','_requireRevisionName','ck-revision-history-sidebar__time-period__revisions','div','ck-revision-history-sidebar__time-period','removeRevision','addRevision','select','revisionViews','10gNEmYw','remove'];_0x4cf0=function(){return _0x33903f;};return _0x4cf0();}export class RevisionsSidebarTimePeriodView extends _0x461a63{[_0x499a08(0x1d1)];[_0x499a08(0x1dc)];[_0x499a08(0x1d4)];[_0x499a08(0x1d5)];constructor(_0x5f53a2,_0x3db1da,_0x270350,_0x5f0a87){const _0x228826=_0x499a08;super(_0x5f53a2);const _0x21bb59=_0x48b4a9(_0x3db1da,this[_0x228826(0x1e1)][_0x228826(0x1e5)])[_0x228826(0x1c8)];this[_0x228826(0x1d1)]=_0x3db1da,this[_0x228826(0x1dc)]=this[_0x228826(0x1df)](),this[_0x228826(0x1d4)]=_0x270350,this[_0x228826(0x1d5)]=_0x5f0a87,this[_0x228826(0x1dc)][_0x228826(0x1cd)](_0x228826(0x1db))['to'](this),this[_0x228826(0x1dc)][_0x228826(0x1cd)](_0x228826(0x1c9))['to'](this),this[_0x228826(0x1d0)]({'tag':_0x228826(0x1d7),'attributes':{'class':['ck',_0x228826(0x1d8)]},'children':[{'tag':_0x228826(0x1e4),'attributes':{'class':['ck',_0x228826(0x1cf)]},'children':[{'text':_0x21bb59}]},{'tag':_0x228826(0x1d7),'attributes':{'class':['ck',_0x228826(0x1d6)]},'children':this[_0x228826(0x1dc)]}]});}[_0x499a08(0x1da)](_0x55be6b){const _0x5600b0=_0x499a08,_0x21f744=new _0x1c0aa0(this[_0x5600b0(0x1e1)],_0x55be6b,this[_0x5600b0(0x1d4)],this[_0x5600b0(0x1d5)]);this[_0x5600b0(0x1dc)][_0x5600b0(0x1d3)](_0x21f744);}[_0x499a08(0x1d9)](_0x4a2f3d){const _0x487534=_0x499a08,_0x583e4d=this[_0x487534(0x1dc)][_0x487534(0x1e6)](_0x339ea7=>_0x339ea7['id']===_0x4a2f3d['id']);this[_0x487534(0x1dc)][_0x487534(0x1de)](_0x583e4d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43c2ed=_0x110f;function _0x2060(){const _0x34a785=['render','ck-revision-history-sidebar__timeline','find','ck-revision-history-sidebar','setTemplate','_revisionActions','uiLanguage','timePeriodViews','delegate','fire','bindTemplate','4493450oauDqy','get','map','removeRevision','startDate','_addRevision','ck-rounded-corners','14245Shwazz','add','highlightRevisions','48TeGsFT','setName','select','createCollection','div','_revisions','_getTimePeriodViewByStartDate','selectRevision','remove','_removeRevision','revisionSetName','91155RWBXtp','80VrOrjo','some','locale','flat','set','revisionViews','ck-disabled','createdAt','getTime','ck-reset','4288950DGyzoi','deselect','unhighlight','736206NUKIRu','_requireRevisionName','addRevision','isEnabled','2RZoTrH','2121060HLqYGe','revisionSelected','highlight','973755hmnkGz'];_0x2060=function(){return _0x34a785;};return _0x2060();}(function(_0x2aa19b,_0x12bcbb){const _0x390f3e=_0x110f,_0x4a93ee=_0x2aa19b();while(!![]){try{const _0x2d1771=parseInt(_0x390f3e(0x1bc))/0x1*(-parseInt(_0x390f3e(0x1c0))/0x2)+-parseInt(_0x390f3e(0x1ae))/0x3+parseInt(_0x390f3e(0x1c1))/0x4+-parseInt(_0x390f3e(0x199))/0x5+parseInt(_0x390f3e(0x1b9))/0x6+parseInt(_0x390f3e(0x1a0))/0x7*(parseInt(_0x390f3e(0x1a3))/0x8)+parseInt(_0x390f3e(0x1c4))/0x9*(parseInt(_0x390f3e(0x1af))/0xa);if(_0x2d1771===_0x12bcbb)break;else _0x4a93ee['push'](_0x4a93ee['shift']());}catch(_0x52b72a){_0x4a93ee['push'](_0x4a93ee['shift']());}}}(_0x2060,0x6fb6b));import{View as _0x168618}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x4bbeb6}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x5ca019}from'./revisionssidebarheaderview.js';function _0x110f(_0x4bbd3e,_0x438696){const _0x206085=_0x2060();return _0x110f=function(_0x110fee,_0x4381e9){_0x110fee=_0x110fee-0x199;let _0x5e4a84=_0x206085[_0x110fee];return _0x5e4a84;},_0x110f(_0x4bbd3e,_0x438696);}import{getDateTimePeriodInfo as _0x331242}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x168618{[_0x43c2ed(0x1cc)];[_0x43c2ed(0x1a8)];[_0x43c2ed(0x1ca)];[_0x43c2ed(0x1bd)];constructor(_0x302fe6,_0x1789cd,_0x55967b,_0x2556ec){const _0x31b230=_0x43c2ed;super(_0x302fe6);const _0x55bdbb=this[_0x31b230(0x1cf)];this[_0x31b230(0x1cc)]=this[_0x31b230(0x1a6)](),this[_0x31b230(0x1cc)][_0x31b230(0x1cd)](_0x31b230(0x1a5))['to'](this),this[_0x31b230(0x1cc)][_0x31b230(0x1cd)](_0x31b230(0x1a4))['to'](this),this[_0x31b230(0x1a8)]=_0x1789cd,this[_0x31b230(0x1ca)]=_0x55967b,this[_0x31b230(0x1bd)]=_0x2556ec,this['on'](_0x31b230(0x1a5),(_0x36beaa,_0x210aad)=>{const _0x4aec02=_0x31b230;this[_0x4aec02(0x1ce)](_0x4aec02(0x1c2),_0x210aad);}),this['on'](_0x31b230(0x1a4),(_0x4a5e2d,_0x340c94)=>{const _0x3aef32=_0x31b230;this[_0x3aef32(0x1ce)](_0x3aef32(0x1ad),_0x340c94);}),this[_0x31b230(0x1b3)](_0x31b230(0x1bf),!0x1),this[_0x31b230(0x1c9)]({'tag':_0x31b230(0x1a7),'attributes':{'class':['ck',_0x31b230(0x1b8),_0x31b230(0x19f),_0x31b230(0x1c8)]},'children':[new _0x5ca019(_0x302fe6),{'tag':_0x31b230(0x1a7),'attributes':{'class':['ck',_0x31b230(0x1c6),_0x55bdbb['if'](_0x31b230(0x1bf),_0x31b230(0x1b5),_0x10347f=>!_0x10347f)]},'children':this[_0x31b230(0x1cc)]}]});}[_0x43c2ed(0x1c5)](){const _0x2c8b48=_0x43c2ed;super[_0x2c8b48(0x1c5)]();for(const _0x4f3657 of this[_0x2c8b48(0x1a8)])this[_0x2c8b48(0x19e)](_0x4f3657);this[_0x2c8b48(0x1a8)]['on'](_0x2c8b48(0x1a1),(_0xc7ac8c,_0x168224)=>{const _0xa608cc=_0x2c8b48;this[_0xa608cc(0x19e)](_0x168224);}),this[_0x2c8b48(0x1a8)]['on'](_0x2c8b48(0x1ab),(_0x1ea2b7,_0x3f9dcb)=>{const _0x49744b=_0x2c8b48;this[_0x49744b(0x1ac)](_0x3f9dcb);});}get[_0x43c2ed(0x1b4)](){const _0x38c3ee=_0x43c2ed;return this[_0x38c3ee(0x1cc)][_0x38c3ee(0x19b)](_0x4f4055=>_0x4f4055[_0x38c3ee(0x1b4)][_0x38c3ee(0x19b)](_0x187e47=>_0x187e47))[_0x38c3ee(0x1b2)]();}[_0x43c2ed(0x1aa)](_0x2e8de8){const _0xcae55f=_0x43c2ed;for(const _0x5be30b of this[_0xcae55f(0x1b4)])_0x2e8de8&&_0x2e8de8['id']===_0x5be30b['id']?_0x5be30b[_0xcae55f(0x1a5)]():_0x5be30b[_0xcae55f(0x1ba)]();}[_0x43c2ed(0x1a2)](_0x871854){const _0x1e2a47=_0x43c2ed;for(const _0x234334 of this[_0x1e2a47(0x1b4)])_0x871854[_0x1e2a47(0x1b0)](({id:_0xcb57d9})=>_0xcb57d9===_0x234334['id'])?_0x234334[_0x1e2a47(0x1c3)]():_0x234334[_0x1e2a47(0x1bb)]();}[_0x43c2ed(0x19e)](_0x54f70c){const _0x4a714d=_0x43c2ed,_0x48d1a0=_0x331242(_0x54f70c[_0x4a714d(0x1b6)],this[_0x4a714d(0x1b1)][_0x4a714d(0x1cb)])[_0x4a714d(0x19d)];let _0x3e2955=this[_0x4a714d(0x1cc)][_0x4a714d(0x19a)](0x0);_0x3e2955&&_0x3e2955[_0x4a714d(0x19d)][_0x4a714d(0x1b7)]()===_0x48d1a0[_0x4a714d(0x1b7)]()||(_0x3e2955=new _0x4bbeb6(this[_0x4a714d(0x1b1)],_0x48d1a0,this[_0x4a714d(0x1ca)],this[_0x4a714d(0x1bd)]),this[_0x4a714d(0x1cc)][_0x4a714d(0x1a1)](_0x3e2955)),_0x3e2955[_0x4a714d(0x1be)](_0x54f70c);}[_0x43c2ed(0x1ac)](_0xc38d27){const _0x1b4197=_0x43c2ed,_0x16c4be=_0x331242(_0xc38d27[_0x1b4197(0x1b6)],this[_0x1b4197(0x1b1)][_0x1b4197(0x1cb)])[_0x1b4197(0x19d)];this[_0x1b4197(0x1a9)](_0x16c4be)[_0x1b4197(0x19c)](_0xc38d27);}[_0x43c2ed(0x1a9)](_0x4f25f1){const _0x2202c1=_0x43c2ed;return this[_0x2202c1(0x1cc)][_0x2202c1(0x1c7)](_0x449e50=>_0x449e50[_0x2202c1(0x19d)][_0x2202c1(0x1b7)]()===_0x4f25f1[_0x2202c1(0x1b7)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x598a(_0x14934f,_0x428114){const _0x38206a=_0x3820();return _0x598a=function(_0x598a32,_0x626005){_0x598a32=_0x598a32-0xbe;let _0x53fdb1=_0x38206a[_0x598a32];return _0x53fdb1;},_0x598a(_0x14934f,_0x428114);}function _0x3820(){const _0x50ddf5=['startOf','17346xgiier','10DNBaEU','local','week','year','month','744stUjoE','10103360EKctWj','weekdayLong','5mXfhBS','minus','2869444SIFrPL','toRelativeCalendar','6wpSRDi','27638908UURxSe','403740BIQhHu','toJSDate','day','617330FXdaYY','monthLong','66256RwbBbs','hasSame','fromJSDate','setLocale'];_0x3820=function(){return _0x50ddf5;};return _0x3820();}(function(_0x71730,_0x55696e){const _0x37b13b=_0x598a,_0x44ef4b=_0x71730();while(!![]){try{const _0x2fc859=parseInt(_0x37b13b(0xbe))/0x1+-parseInt(_0x37b13b(0xc0))/0x2*(parseInt(_0x37b13b(0xd2))/0x3)+parseInt(_0x37b13b(0xd0))/0x4*(-parseInt(_0x37b13b(0xce))/0x5)+parseInt(_0x37b13b(0xcb))/0x6*(-parseInt(_0x37b13b(0xc5))/0x7)+-parseInt(_0x37b13b(0xcc))/0x8+-parseInt(_0x37b13b(0xd4))/0x9*(parseInt(_0x37b13b(0xc6))/0xa)+parseInt(_0x37b13b(0xd3))/0xb;if(_0x2fc859===_0x55696e)break;else _0x44ef4b['push'](_0x44ef4b['shift']());}catch(_0x9a3779){_0x44ef4b['push'](_0x44ef4b['shift']());}}}(_0x3820,0xb2899));import{DateTime as _0x40ed30}from'luxon';export function getDateTimePeriodInfo(_0x162cce,_0x2d3f05){const _0x3eecf1=_0x598a,_0x2fde89=_0x40ed30[_0x3eecf1(0xc2)](_0x162cce)[_0x3eecf1(0xc3)](_0x2d3f05),_0x12698e=_0x40ed30[_0x3eecf1(0xc7)](),_0x144356=_0x12698e[_0x3eecf1(0xcf)]({'days':0x1})[_0x3eecf1(0xc4)](_0x3eecf1(0xd6));let _0x26447f,_0x59b850;return _0x2fde89[_0x3eecf1(0xc1)](_0x12698e,_0x3eecf1(0xd6))?(_0x26447f=_0x2fde89[_0x3eecf1(0xc4)](_0x3eecf1(0xd6))[_0x3eecf1(0xd5)](),_0x59b850=_0x2fde89[_0x3eecf1(0xd1)]()):_0x2fde89[_0x3eecf1(0xc1)](_0x144356,_0x3eecf1(0xd6))?(_0x26447f=_0x144356[_0x3eecf1(0xd5)](),_0x59b850=_0x2fde89[_0x3eecf1(0xd1)]()):_0x2fde89[_0x3eecf1(0xc1)](_0x12698e,_0x3eecf1(0xc8))?(_0x26447f=_0x2fde89[_0x3eecf1(0xc4)](_0x3eecf1(0xc8))[_0x3eecf1(0xd5)](),_0x59b850=_0x2fde89[_0x3eecf1(0xcd)]||''):_0x2fde89[_0x3eecf1(0xc1)](_0x12698e,_0x3eecf1(0xc9))?(_0x26447f=_0x2fde89[_0x3eecf1(0xc4)](_0x3eecf1(0xca))[_0x3eecf1(0xd5)](),_0x59b850=_0x2fde89[_0x3eecf1(0xbf)]||''):(_0x26447f=_0x2fde89[_0x3eecf1(0xc4)](_0x3eecf1(0xc9))[_0x3eecf1(0xd5)](),_0x59b850=String(_0x2fde89[_0x3eecf1(0xc9)])),{'startDate':_0x26447f,'localizedPeriodName':_0x59b850};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1947(_0x306494,_0x8e20e5){const _0x25505d=_0x2550();return _0x1947=function(_0x194776,_0x59c9bf){_0x194776=_0x194776-0x14e;let _0x1f5b78=_0x25505d[_0x194776];return _0x1f5b78;},_0x1947(_0x306494,_0x8e20e5);}const _0xabdceb=_0x1947;(function(_0x3d361e,_0x12b17e){const _0x2953f0=_0x1947,_0x309725=_0x3d361e();while(!![]){try{const _0x4c7011=-parseInt(_0x2953f0(0x15f))/0x1*(-parseInt(_0x2953f0(0x169))/0x2)+-parseInt(_0x2953f0(0x14e))/0x3+parseInt(_0x2953f0(0x158))/0x4*(-parseInt(_0x2953f0(0x162))/0x5)+parseInt(_0x2953f0(0x15d))/0x6*(-parseInt(_0x2953f0(0x16d))/0x7)+parseInt(_0x2953f0(0x14f))/0x8*(-parseInt(_0x2953f0(0x154))/0x9)+parseInt(_0x2953f0(0x170))/0xa*(-parseInt(_0x2953f0(0x152))/0xb)+parseInt(_0x2953f0(0x16f))/0xc*(parseInt(_0x2953f0(0x167))/0xd);if(_0x4c7011===_0x12b17e)break;else _0x309725['push'](_0x309725['shift']());}catch(_0x2e6661){_0x309725['push'](_0x309725['shift']());}}}(_0x2550,0x7ddda));function _0x2550(){const _0x2867bd=['ck-revision-change__label','316896fncqeo','3911630DFJiQL','1937532VBptEe','162304kVFSxG','type','div','11xKUBLW','set','198VvdXZo','ck-revision-change__','bindTemplate','Added\x20by','8OhGBCy','author','Removed\x20by','span','data','6BVNmmh','name','107730TbpUuc','Suggested\x20by','element','2566675lFrZyX','_model','add','focus','setTemplate','1651YoSdcp','ck-annotation','2tXlnFR','changeId','isSuggestion','ck-revision-change','3051909CzZWOc'];_0x2550=function(){return _0x2867bd;};return _0x2550();}import{View as _0x550d16}from'ckeditor5/src/ui.js';import{getTranslation as _0x3c875c}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x550d16{[_0xabdceb(0x16a)];[_0xabdceb(0x163)];constructor(_0x5dfa69,_0x4eb338){const _0x1eea5a=_0xabdceb;super(_0x5dfa69),this[_0x1eea5a(0x163)]=_0x4eb338,this[_0x1eea5a(0x16a)]=_0x4eb338['id'];const _0x54554f=this[_0x1eea5a(0x156)],_0x21bcf2=_0x3c875c(_0x5dfa69,_0x4eb338[_0x1eea5a(0x15c)][_0x1eea5a(0x16b)]?_0x1eea5a(0x160):_0x1eea5a(0x164)==_0x4eb338[_0x1eea5a(0x150)]?_0x1eea5a(0x157):_0x1eea5a(0x15a));this[_0x1eea5a(0x153)](_0x1eea5a(0x150),_0x4eb338[_0x1eea5a(0x150)]),this[_0x1eea5a(0x166)]({'tag':_0x1eea5a(0x151),'attributes':{'class':[_0x1eea5a(0x168),_0x1eea5a(0x16c),_0x54554f['to'](_0x1eea5a(0x150),_0x72c94e=>_0x1eea5a(0x155)+_0x72c94e)],'tabindex':-0x1},'children':[{'tag':_0x1eea5a(0x15b),'children':[{'tag':_0x1eea5a(0x15b),'attributes':{'class':[_0x1eea5a(0x16e)]},'children':[{'text':_0x21bcf2}]},{'text':'\x20'+_0x4eb338[_0x1eea5a(0x159)][_0x1eea5a(0x15e)]}]}]});}[_0xabdceb(0x165)](){const _0x525066=_0xabdceb;this[_0x525066(0x161)][_0x525066(0x165)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5382(){const _0x1f6f53=['div','X_OF_Y_CHANGES','span','backward','ck-revision-history-ui__changes-navigation__label','Total','setTemplate','2656240cRnCFJ','ck-revision-history-ui__changes-navigation__wrapper','isNavigationMode','ck-hidden','595ZbJtGy','ck-revision-history-ui','isBackwardNavigationEnabled','77322tgHXrf','_isStatusLabelVisible','bindTemplate','Loading...','Show\x20previous\x20change','forward','set','execute','6940532nxHbdx','numberOfChanges','isForwardNavigationEnabled','currentChangeNumber','bind','NUMBER_OF_CHANGES','isReady','3582080oExVhl','212184NfscED','ck-revision-history-ui__changes-navigation','EDIT_X_OF_Y_REVISIONS','_statusText','No\x20changes','Show\x20next\x20change','2383896CPSEom','isEnabled','fire','933036XnBNmM','ck-revision-history-ui__changes-navigation__navigation'];_0x5382=function(){return _0x1f6f53;};return _0x5382();}(function(_0x7d33ab,_0x3e8c55){const _0x325e5c=_0x4ebf,_0x351230=_0x7d33ab();while(!![]){try{const _0x457c23=parseInt(_0x325e5c(0x192))/0x1+-parseInt(_0x325e5c(0x198))/0x2+parseInt(_0x325e5c(0x19b))/0x3+parseInt(_0x325e5c(0x1b3))/0x4+parseInt(_0x325e5c(0x1a4))/0x5+parseInt(_0x325e5c(0x1ab))/0x6*(-parseInt(_0x325e5c(0x1a8))/0x7)+parseInt(_0x325e5c(0x191))/0x8;if(_0x457c23===_0x3e8c55)break;else _0x351230['push'](_0x351230['shift']());}catch(_0x36ade8){_0x351230['push'](_0x351230['shift']());}}}(_0x5382,0xe7eea));function _0x4ebf(_0x19c9ca,_0x3af9bf){const _0x538215=_0x5382();return _0x4ebf=function(_0x4ebf95,_0x37aa2a){_0x4ebf95=_0x4ebf95-0x18c;let _0x478710=_0x538215[_0x4ebf95];return _0x478710;},_0x4ebf(_0x19c9ca,_0x3af9bf);}import{View as _0x3ca7a2,ButtonView as _0x444b28,ToolbarSeparatorView as _0x2138d7}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x20517c,IconChevronDown as _0x530879}from'ckeditor5/src/icons.js';import{getTranslation as _0x320f0f}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x3ca7a2{constructor(_0x5159f7){const _0x1bd718=_0x4ebf;super(_0x5159f7);const _0x5e6e29=this[_0x1bd718(0x1ad)],_0x3966c2=new _0x444b28(_0x5159f7),_0x3cbf6c=new _0x444b28(_0x5159f7);this[_0x1bd718(0x1b1)](_0x1bd718(0x1a6),!0x1),this[_0x1bd718(0x1b1)](_0x1bd718(0x190),!0x1),this[_0x1bd718(0x1b1)](_0x1bd718(0x18d),0x0),this[_0x1bd718(0x1b1)](_0x1bd718(0x1b4),0x0),this[_0x1bd718(0x1b1)](_0x1bd718(0x18c),!0x1),this[_0x1bd718(0x1b1)](_0x1bd718(0x1aa),!0x1),this[_0x1bd718(0x18e)](_0x1bd718(0x1ac))['to'](this,_0x1bd718(0x190),this,_0x1bd718(0x1b4),(_0x586dfd,_0x257e65)=>_0x586dfd&&_0x257e65>0x0),this[_0x1bd718(0x18e)](_0x1bd718(0x195))['to'](this,_0x1bd718(0x190),this,_0x1bd718(0x18d),this,_0x1bd718(0x1b4),this,_0x1bd718(0x1a6),(_0x20b061,_0x3b99c4,_0x376abf,_0x37ed12)=>{const _0x191165=_0x1bd718;if(!_0x20b061)return _0x320f0f(_0x5159f7,_0x191165(0x1ae));if(!_0x376abf)return _0x320f0f(_0x5159f7,_0x191165(0x196));const _0x8b0db7=_0x320f0f(_0x5159f7,_0x191165(0x18f),_0x376abf);return _0x37ed12?_0x320f0f(_0x5159f7,_0x191165(0x19e),[_0x3b99c4+0x1,_0x376abf]):_0x8b0db7;}),_0x3966c2[_0x1bd718(0x1b1)]({'label':_0x320f0f(_0x5159f7,_0x1bd718(0x1af)),'tooltip':!0x0,'icon':_0x20517c}),_0x3cbf6c[_0x1bd718(0x1b1)]({'label':_0x320f0f(_0x5159f7,_0x1bd718(0x197)),'tooltip':!0x0,'icon':_0x530879}),_0x3966c2[_0x1bd718(0x18e)](_0x1bd718(0x199))['to'](this,_0x1bd718(0x1aa)),_0x3cbf6c[_0x1bd718(0x18e)](_0x1bd718(0x199))['to'](this,_0x1bd718(0x18c)),_0x3966c2['on'](_0x1bd718(0x1b2),()=>this[_0x1bd718(0x19a)](_0x1bd718(0x1b2),_0x1bd718(0x1a0))),_0x3cbf6c['on'](_0x1bd718(0x1b2),()=>this[_0x1bd718(0x19a)](_0x1bd718(0x1b2),_0x1bd718(0x1b0))),this[_0x1bd718(0x1a3)]({'tag':_0x1bd718(0x19d),'attributes':{'class':['ck',_0x1bd718(0x1a9),_0x1bd718(0x193)]},'children':[{'tag':_0x1bd718(0x19f),'attributes':{'class':[_0x1bd718(0x1a5)]},'children':[{'tag':_0x1bd718(0x19f),'attributes':{'class':[_0x1bd718(0x1a1),_0x5e6e29['if'](_0x1bd718(0x1ac),_0x1bd718(0x1a7),_0xdbae58=>!_0xdbae58)]},'children':[{'text':_0x5e6e29['to'](_0x1bd718(0x1a6),_0x310641=>_0x310641?_0x320f0f(_0x5159f7,_0x1bd718(0x194))+':\x20':_0x320f0f(_0x5159f7,_0x1bd718(0x1a2))+':\x20')}]},{'text':_0x5e6e29['to'](_0x1bd718(0x195))}]},new _0x2138d7(),{'tag':_0x1bd718(0x19d),'attributes':{'class':[_0x1bd718(0x19c)]},'children':[_0x3966c2,_0x3cbf6c]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ee83c=_0x33a8;(function(_0x1cc4c9,_0x308556){const _0x2fc5cf=_0x33a8,_0x801fd3=_0x1cc4c9();while(!![]){try{const _0xcbb2bc=parseInt(_0x2fc5cf(0xe7))/0x1*(-parseInt(_0x2fc5cf(0xf0))/0x2)+-parseInt(_0x2fc5cf(0xe8))/0x3+parseInt(_0x2fc5cf(0xe1))/0x4*(parseInt(_0x2fc5cf(0xef))/0x5)+-parseInt(_0x2fc5cf(0xdc))/0x6+parseInt(_0x2fc5cf(0xdd))/0x7+parseInt(_0x2fc5cf(0xdf))/0x8+parseInt(_0x2fc5cf(0xf1))/0x9;if(_0xcbb2bc===_0x308556)break;else _0x801fd3['push'](_0x801fd3['shift']());}catch(_0x4a926c){_0x801fd3['push'](_0x801fd3['shift']());}}}(_0x3e28,0x7fbce));function _0x33a8(_0x3009b0,_0x59d4e7){const _0x3e2816=_0x3e28();return _0x33a8=function(_0x33a8f6,_0x2be5bd){_0x33a8f6=_0x33a8f6-0xda;let _0x5cb9e2=_0x3e2816[_0x33a8f6];return _0x5cb9e2;},_0x33a8(_0x3009b0,_0x59d4e7);}function _0x3e28(){const _0x3b3dc9=['editor','editing','view','isPremiumPlugin','show','4820YKUOkj','2qkrmwK','9139626GvWGkt','change','roots','5897658iIfNAz','1408022xdjdcp','isOfficialPlugin','3460848COjmwC','removeClass','2876mwFKyr','pluginName','RevisionViewerLoadingOverlay','ck-editor__editable__loading-overlay','addClass','hide','337829hEqfBI','1495188rMrQPa','document'];_0x3e28=function(){return _0x3b3dc9;};return _0x3e28();}import{Plugin as _0x1f5810}from'ckeditor5/src/core.js';const ge=_0x3ee83c(0xe4);import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0x1f5810{static get[_0x3ee83c(0xe2)](){const _0x7ddbde=_0x3ee83c;return _0x7ddbde(0xe3);}static get[_0x3ee83c(0xde)](){return!0x0;}static get[_0x3ee83c(0xed)](){return!0x0;}[_0x3ee83c(0xee)](){const _0x9e5efe=_0x3ee83c,_0x17caaf=this[_0x9e5efe(0xea)][_0x9e5efe(0xeb)][_0x9e5efe(0xec)];_0x17caaf[_0x9e5efe(0xda)](_0x26e1f2=>{const _0x126e01=_0x9e5efe;for(const _0x3ffd7c of _0x17caaf[_0x126e01(0xe9)][_0x126e01(0xdb)])_0x26e1f2[_0x126e01(0xe5)](ge,_0x3ffd7c);});}[_0x3ee83c(0xe6)](){const _0x415b6e=_0x3ee83c,_0x291acf=this[_0x415b6e(0xea)][_0x415b6e(0xeb)][_0x415b6e(0xec)];_0x291acf[_0x415b6e(0xda)](_0xc6559=>{const _0x26957c=_0x415b6e;for(const _0x372aef of _0x291acf[_0x26957c(0xe9)][_0x26957c(0xdb)])_0xc6559[_0x26957c(0xe0)](ge,_0x372aef);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d1339=_0x2445;(function(_0x4b30ab,_0x5e4b60){const _0x4f3fc1=_0x2445,_0x535238=_0x4b30ab();while(!![]){try{const _0x5720c1=-parseInt(_0x4f3fc1(0x1d2))/0x1*(parseInt(_0x4f3fc1(0x1b9))/0x2)+-parseInt(_0x4f3fc1(0x1b3))/0x3+-parseInt(_0x4f3fc1(0x1d5))/0x4+parseInt(_0x4f3fc1(0x1d7))/0x5*(-parseInt(_0x4f3fc1(0x1c1))/0x6)+-parseInt(_0x4f3fc1(0x1d8))/0x7*(parseInt(_0x4f3fc1(0x1ce))/0x8)+parseInt(_0x4f3fc1(0x1ac))/0x9+parseInt(_0x4f3fc1(0x1b5))/0xa;if(_0x5720c1===_0x5e4b60)break;else _0x535238['push'](_0x535238['shift']());}catch(_0x18b505){_0x535238['push'](_0x535238['shift']());}}}(_0x277a,0x97277));import{Plugin as _0x5ef7ea}from'ckeditor5/src/core.js';import{ButtonView as _0x50c816}from'ckeditor5/src/ui.js';import{IconUndo as _0x3a52fe}from'ckeditor5/src/icons.js';function _0x2445(_0x39f7a0,_0x149ea5){const _0x277ab4=_0x277a();return _0x2445=function(_0x244577,_0x442d98){_0x244577=_0x244577-0x1a9;let _0x23a695=_0x277ab4[_0x244577];return _0x23a695;},_0x2445(_0x39f7a0,_0x149ea5);}import{ChangesNavigationView as _0x3727e0}from'./changesnavigationview.js';import{RevisionViewer as _0x2a4f37}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x4ec6ee}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x25d29e}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';function _0x277a(){const _0x1e1d04=['show','componentFactory','change:isReady','6ZFQWXR','hide','showPreviousChange','Restore\x20this\x20revision','editor','isOfficialPlugin','RevisionViewerUI','showNextChange','ck-revision-history-ui__back-to-editing','add','config','exitToEditing','forward','51904qFgrCP','set','revisionHistory','get','23513gGopCE','plugins','restoreRevision','2744276CgTRTN','pluginName','2650715zjTWxH','553MwMyNx','Back\x20to\x20editing','currentChangeNumber','requires','4235517aUKgVS','closeRevisionViewerCallback','listenTo','isEnabled','init','isPremiumPlugin','execute','2566290boKSxp','numberOfChanges','33440460xzPKRL','commands','isBackwardNavigationEnabled','isReady','52trpnqW','isNavigationMode','isForwardNavigationEnabled','changesNavigation','bind'];_0x277a=function(){return _0x1e1d04;};return _0x277a();}export class RevisionViewerUI extends _0x5ef7ea{static get[_0x5d1339(0x1d6)](){const _0x357639=_0x5d1339;return _0x357639(0x1c7);}static get[_0x5d1339(0x1c6)](){return!0x0;}static get[_0x5d1339(0x1b1)](){return!0x0;}static get[_0x5d1339(0x1ab)](){return[_0x2a4f37,_0x4ec6ee];}[_0x5d1339(0x1b0)](){const _0x421514=_0x5d1339,_0x447dec=this[_0x421514(0x1c5)],_0xc837eb=_0x447dec[_0x421514(0x1d3)][_0x421514(0x1d1)](_0x2a4f37),_0x180076=_0x447dec[_0x421514(0x1d3)][_0x421514(0x1d1)](_0x4ec6ee);_0x447dec['ui'][_0x421514(0x1bf)][_0x421514(0x1ca)](_0x421514(0x1cc),_0x981adb=>{const _0x1ac129=_0x421514,_0x3a2ae2=new _0x50c816(_0x981adb);return _0x3a2ae2[_0x1ac129(0x1cf)]({'label':_0x25d29e(_0x981adb,_0x1ac129(0x1a9)),'icon':_0x3a52fe,'withText':!0x0,'tooltip':!0x0,'class':_0x1ac129(0x1c9)}),this[_0x1ac129(0x1ae)](_0x3a2ae2,_0x1ac129(0x1b2),()=>{const _0x2d5b60=_0x1ac129;_0x447dec[_0x2d5b60(0x1cb)][_0x2d5b60(0x1d1)](_0x2d5b60(0x1d0))[_0x2d5b60(0x1ad)]();}),_0x3a2ae2;}),_0x447dec['ui'][_0x421514(0x1bf)][_0x421514(0x1ca)](_0x421514(0x1d4),_0x3f24f6=>{const _0x3f2a50=_0x421514,_0x5cfb72=new _0x50c816(_0x3f24f6);return _0x5cfb72[_0x3f2a50(0x1cf)]({'label':_0x25d29e(_0x3f24f6,_0x3f2a50(0x1c4)),'withText':!0x0,'tooltip':!0x0}),_0x5cfb72[_0x3f2a50(0x1bd)](_0x3f2a50(0x1af))['to'](_0x447dec[_0x3f2a50(0x1b6)][_0x3f2a50(0x1d1)](_0x3f2a50(0x1d4))),this[_0x3f2a50(0x1ae)](_0x5cfb72,_0x3f2a50(0x1b2),()=>_0x447dec[_0x3f2a50(0x1b2)](_0x3f2a50(0x1d4))),_0x5cfb72;}),_0x447dec['ui'][_0x421514(0x1bf)][_0x421514(0x1ca)](_0x421514(0x1bc),_0x253b27=>{const _0x5338da=_0x421514,_0x4b386d=new _0x3727e0(_0x253b27),_0x22e240=_0x447dec[_0x5338da(0x1b6)][_0x5338da(0x1d1)](_0x5338da(0x1c3)),_0x1466f3=_0x447dec[_0x5338da(0x1b6)][_0x5338da(0x1d1)](_0x5338da(0x1c8));return _0x4b386d[_0x5338da(0x1bd)](_0x5338da(0x1b7))['to'](_0x22e240,_0x5338da(0x1af)),_0x4b386d[_0x5338da(0x1bd)](_0x5338da(0x1bb))['to'](_0x1466f3,_0x5338da(0x1af)),_0x4b386d[_0x5338da(0x1bd)](_0x5338da(0x1b8),_0x5338da(0x1aa),_0x5338da(0x1b4),_0x5338da(0x1ba))['to'](_0xc837eb),this[_0x5338da(0x1ae)](_0x4b386d,_0x5338da(0x1b2),(_0x3b7dac,_0x30bb10)=>{const _0x54e02f=_0x5338da;_0x447dec[_0x54e02f(0x1b2)](_0x54e02f(0x1cd)===_0x30bb10?_0x54e02f(0x1c8):_0x54e02f(0x1c3));}),_0x4b386d;}),_0x180076[_0x421514(0x1be)](),_0xc837eb['on'](_0x421514(0x1c0),(_0x4884a8,_0x42eaa6,_0x222437)=>{const _0x1c0ab9=_0x421514;_0x222437?_0x180076[_0x1c0ab9(0x1c2)]():_0x180076[_0x1c0ab9(0x1be)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x53301b,_0x21902e,_0x4ba188){const t=_0x53301b['t'];switch(_0x21902e){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'},_0x4ba188);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4ba188);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'Accept':return t('Accept');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'';}}
|