@ckeditor/ckeditor5-revision-history 46.1.1-alpha.3 → 46.1.1
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 +12 -12
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/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
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x4ec70c=_0x1ca8;(function(_0x1a325c,_0x10df1a){const _0x240907=_0x1ca8,_0xa69051=_0x1a325c();while(!![]){try{const _0x3fdc5b=-parseInt(_0x240907(0x1a4))/0x1*(-parseInt(_0x240907(0x1a7))/0x2)+-parseInt(_0x240907(0x18b))/0x3*(-parseInt(_0x240907(0x197))/0x4)+parseInt(_0x240907(0x195))/0x5*(parseInt(_0x240907(0x19e))/0x6)+-parseInt(_0x240907(0x196))/0x7+parseInt(_0x240907(0x18a))/0x8+parseInt(_0x240907(0x19b))/0x9*(parseInt(_0x240907(0x18d))/0xa)+-parseInt(_0x240907(0x1a2))/0xb;if(_0x3fdc5b===_0x10df1a)break;else _0xa69051['push'](_0xa69051['shift']());}catch(_0x5f0650){_0xa69051['push'](_0xa69051['shift']());}}}(_0x11be,0x64fda));import{CssTransitionDisablerMixin as _0x5b8a08,LabeledFieldView as _0x1f4b0c,View as _0x122e04,createLabeledInputText as _0x195acc,submitHandler as _0x31ab2c}from'ckeditor5/src/ui.js';import{FocusTracker as _0x101d83,KeystrokeHandler as _0x598215}from'ckeditor5/src/utils.js';import{getTranslation as _0x2d8770}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';function _0x1ca8(_0x194895,_0x28ceb9){const _0x11be1e=_0x11be();return _0x1ca8=function(_0x1ca8d4,_0x4a958a){_0x1ca8d4=_0x1ca8d4-0x184;let _0x1e4356=_0x11be1e[_0x1ca8d4];return _0x1e4356;},_0x1ca8(_0x194895,_0x28ceb9);}import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5b8a08(_0x122e04){[_0x4ec70c(0x187)];[_0x4ec70c(0x199)];[_0x4ec70c(0x184)];constructor(_0x1be3b3,_0x52c32a){const _0x382968=_0x4ec70c;super(_0x1be3b3),this[_0x382968(0x187)]=new _0x101d83(),this[_0x382968(0x199)]=new _0x598215(),this[_0x382968(0x194)](_0x382968(0x1a5),''),this[_0x382968(0x184)]=this[_0x382968(0x1ab)](_0x52c32a),this[_0x382968(0x1ad)]({'tag':_0x382968(0x1ac),'attributes':{'class':['ck',_0x382968(0x186),_0x382968(0x18c)],'tabindex':'-1'},'children':[this[_0x382968(0x184)]]}),this[_0x382968(0x1ae)]();}[_0x4ec70c(0x1b0)](){const _0x343092=_0x4ec70c;super[_0x343092(0x1b0)](),_0x31ab2c({'view':this}),this[_0x343092(0x187)][_0x343092(0x1a1)](this[_0x343092(0x184)][_0x343092(0x19f)]),this[_0x343092(0x199)][_0x343092(0x1a0)](this[_0x343092(0x19f)]);const _0x2c745f=_0x504482=>_0x504482[_0x343092(0x1a9)]();this[_0x343092(0x199)][_0x343092(0x194)](_0x343092(0x18f),_0x2c745f),this[_0x343092(0x199)][_0x343092(0x194)](_0x343092(0x19d),_0x2c745f),this[_0x343092(0x199)][_0x343092(0x194)](_0x343092(0x1a3),_0x2c745f),this[_0x343092(0x199)][_0x343092(0x194)](_0x343092(0x198),_0x2c745f);}[_0x4ec70c(0x188)](){const _0x2a110b=_0x4ec70c;this[_0x2a110b(0x184)][_0x2a110b(0x188)]();}get[_0x4ec70c(0x18e)](){const _0x2289bd=_0x4ec70c;return this[_0x2289bd(0x184)][_0x2289bd(0x185)][_0x2289bd(0x19f)][_0x2289bd(0x192)][_0x2289bd(0x193)]();}set[_0x4ec70c(0x18e)](_0xce5a3a){const _0x1247a6=_0x4ec70c;this[_0x1247a6(0x184)][_0x1247a6(0x185)][_0x1247a6(0x19f)][_0x1247a6(0x192)]=_0xce5a3a[_0x1247a6(0x193)]();}[_0x4ec70c(0x1aa)](){const _0x4a2ff4=_0x4ec70c;this[_0x4a2ff4(0x184)][_0x4a2ff4(0x185)][_0x4a2ff4(0x19f)][_0x4a2ff4(0x192)]='',this[_0x4a2ff4(0x184)][_0x4a2ff4(0x1a6)]=null;}[_0x4ec70c(0x1ab)](_0x4aa637){const _0xc580c6=_0x4ec70c,_0x41990f=new _0x1f4b0c(this[_0xc580c6(0x19c)],_0x195acc),_0x1daa9d=_0x41990f[_0xc580c6(0x185)];_0x1daa9d[_0xc580c6(0x1af)]({'attributes':{'maxlength':_0xc580c6(0x190)}});let _0x5b0e53=_0x2d8770(this[_0xc580c6(0x19c)],_0xc580c6(0x191));return!_0x4aa637&&(_0x5b0e53+='\x20('+_0x2d8770(this[_0xc580c6(0x19c)],_0xc580c6(0x189))+')'),(_0x41990f[_0xc580c6(0x1a8)]=_0x5b0e53,_0x1daa9d['on'](_0xc580c6(0x19a),()=>{const _0x6499bf=_0xc580c6;this[_0x6499bf(0x1a5)]=_0x1daa9d[_0x6499bf(0x19f)][_0x6499bf(0x192)][_0x6499bf(0x193)]();}),_0x41990f);}}function _0x11be(){const _0x429913=['trim','set','985ItxUAU','2623040JSHVsS','7740XZxVig','arrowdown','keystrokes','input','45qzvQUC','locale','arrowleft','7314VHcINy','element','listenTo','add','7081349fDjDJH','arrowup','1tUMOQa','revisionNameInputValue','errorText','750146JEBExV','label','stopPropagation','reset','_createRevisionNameInput','form','setTemplate','initializeCssTransitionDisablerMixin','extendTemplate','render','revisionNameInputView','fieldView','ck-revision-history-save-revision-form','focusTracker','focus','optional','2277168kbdUMx','531NSrskX','ck-responsive-form','379560UEkpbP','revisionName','arrowright','220','Name\x20of\x20the\x20revision','value'];_0x11be=function(){return _0x429913;};return _0x11be();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38fd6b=_0x1ee3;function _0x2d51(){const _0x3c16ed=['isReady','delegate','set','showRevisionViewerCallback','saveRevision','pluginName','add','65172WPAlbe','revisionName','requires','buttonView','addMany','reset','errorText','items','Open\x20revision\x20history','isEnabled','51406jqPerg','show','editor','ck-button-action','isOpen','92tEsyRT','revisionSave','submit','revisionNameInputView','_registerMenuComponent','Dialog','16719672AMkfaQ','revisionHistory','14LGBaJp','revisionHistory.requireRevisionName','Cancel','menu','role','_createSaveRevisionFormView','editing','config','Revision\x20history','6809264jEllck','menuitem','children','focus','isOfficialPlugin','The\x20revision\x20name\x20cannot\x20be\x20empty.','get','hide','RevisionHistoryUI','_showDialog','execute','2735384CxyBhR','2mzVtib','componentFactory','10359gCjkKv','_saveRevisionFormView','RevisionTracker','panelView','Save\x20current\x20revision','isPremiumPlugin','Accept','view','bind','menuBar:revisionHistory','init','render','5860XnvHpd','45ocIram','plugins','27486VYqDAM','locale','isReadOnly'];_0x2d51=function(){return _0x3c16ed;};return _0x2d51();}(function(_0x2b5422,_0x3f2dee){const _0x11881d=_0x1ee3,_0x3905c5=_0x2b5422();while(!![]){try{const _0x5f3b65=-parseInt(_0x11881d(0x11d))/0x1*(-parseInt(_0x11881d(0xfb))/0x2)+parseInt(_0x11881d(0xf1))/0x3*(-parseInt(_0x11881d(0x100))/0x4)+-parseInt(_0x11881d(0x12c))/0x5*(-parseInt(_0x11881d(0xe7))/0x6)+-parseInt(_0x11881d(0x108))/0x7*(-parseInt(_0x11881d(0x11c))/0x8)+-parseInt(_0x11881d(0x11f))/0x9*(parseInt(_0x11881d(0x12b))/0xa)+-parseInt(_0x11881d(0x111))/0xb+parseInt(_0x11881d(0x106))/0xc;if(_0x5f3b65===_0x3f2dee)break;else _0x3905c5['push'](_0x3905c5['shift']());}catch(_0x1907a4){_0x3905c5['push'](_0x3905c5['shift']());}}}(_0x2d51,0x5bf31));import{Plugin as _0x59a175}from'ckeditor5/src/core.js';function _0x1ee3(_0x541ba8,_0x1efea5){const _0x2d51fa=_0x2d51();return _0x1ee3=function(_0x1ee345,_0x2c955b){_0x1ee345=_0x1ee345-0xe6;let _0x2aed2a=_0x2d51fa[_0x1ee345];return _0x2aed2a;},_0x1ee3(_0x541ba8,_0x1efea5);}import{IconHistory as _0x51739f}from'ckeditor5/src/icons.js';import{createDropdown as _0x56d81d,ButtonView as _0xe0b7a5,ListItemView as _0x4e3c79,ListView as _0x17d613,MenuBarMenuListItemButtonView as _0x286aec,MenuBarMenuListItemView as _0x16d07b,MenuBarMenuListView as _0x1985ab,MenuBarMenuView as _0x2f322b}from'ckeditor5/src/ui.js';import{RevisionTracker as _0x2456b5}from'../../revisiontracker.js';import{RevisionHistorySaveRevisionFormView as _0x4c08b5}from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x531531}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0x59a175{static get[_0x38fd6b(0xef)](){const _0x2a3f4c=_0x38fd6b;return _0x2a3f4c(0x119);}static get[_0x38fd6b(0x115)](){return!0x0;}static get[_0x38fd6b(0x124)](){return!0x0;}static get[_0x38fd6b(0xf3)](){return[_0x2456b5];}[_0x38fd6b(0x120)];[_0x38fd6b(0x129)](){const _0x29b475=_0x38fd6b,_0x102306=this[_0x29b475(0xfd)],_0x5a9a95=_0x102306[_0x29b475(0xe6)][_0x29b475(0x117)](_0x29b475(0x121));_0x102306['ui'][_0x29b475(0x11e)][_0x29b475(0xf0)](_0x29b475(0x107),_0x4e0b76=>{const _0x309a25=_0x29b475,_0x4ebd65=_0x56d81d(_0x4e0b76),_0x52e4a5=_0x4ebd65[_0x309a25(0x122)][_0x309a25(0x113)],_0x3915b3=new _0x17d613(_0x4e0b76),_0x28bed0=new _0x4e3c79(_0x4e0b76),_0x515f52=new _0xe0b7a5(_0x4e0b76),_0x805c22=new _0x4e3c79(_0x4e0b76),_0x23f1f0=new _0xe0b7a5(_0x4e0b76);return _0x4ebd65[_0x309a25(0x127)](_0x309a25(0xfa))['to'](_0x5a9a95,_0x309a25(0xea),_0x5a9a95,_0x309a25(0xfa),_0x102306,_0x309a25(0xe9),(_0x1dfca4,_0x2f6886,_0xbce8c0)=>_0x1dfca4&&_0x2f6886&&!_0xbce8c0),_0x4ebd65[_0x309a25(0xf4)][_0x309a25(0xec)]({'icon':_0x51739f,'label':_0x531531(_0x4e0b76,_0x309a25(0x110)),'tooltip':!0x0}),_0x515f52[_0x309a25(0xec)]({'label':_0x531531(_0x4e0b76,_0x309a25(0x123)),'withText':!0x0,'role':_0x309a25(0x112)}),_0x515f52[_0x309a25(0x127)](_0x309a25(0xfa))['to'](_0x5a9a95,_0x309a25(0xea),_0x5a9a95,_0x309a25(0xfa),_0x102306,_0x309a25(0xe9),(_0x11593a,_0x1e1b70,_0x66fbc3)=>_0x11593a&&_0x1e1b70&&!_0x66fbc3),_0x515f52['on'](_0x309a25(0x11b),()=>this[_0x309a25(0x11a)]()),_0x23f1f0[_0x309a25(0xec)]({'label':_0x531531(_0x4e0b76,_0x309a25(0xf9)),'withText':!0x0,'role':_0x309a25(0x112)}),_0x23f1f0[_0x309a25(0x127)](_0x309a25(0xfa))['to'](_0x5a9a95,_0x309a25(0xea),_0x102306,_0x309a25(0xe9),(_0x344956,_0x572ec8)=>_0x344956&&!_0x572ec8),_0x23f1f0['on'](_0x309a25(0x11b),()=>{const _0xf3c8d6=_0x309a25;_0x102306[_0xf3c8d6(0x10f)][_0xf3c8d6(0x117)](_0xf3c8d6(0x107))[_0xf3c8d6(0xed)](),_0x4ebd65[_0xf3c8d6(0xff)]=!0x1,_0x102306[_0xf3c8d6(0x10e)][_0xf3c8d6(0x126)][_0xf3c8d6(0x114)]();}),_0x28bed0[_0x309a25(0x113)][_0x309a25(0xf0)](_0x515f52),_0x805c22[_0x309a25(0x113)][_0x309a25(0xf0)](_0x23f1f0),_0x3915b3[_0x309a25(0x10c)]=_0x309a25(0x10b),_0x3915b3[_0x309a25(0xf8)][_0x309a25(0xf5)]([_0x28bed0,_0x805c22]),_0x52e4a5[_0x309a25(0xf0)](_0x3915b3),_0x4ebd65;}),_0x102306['ui'][_0x29b475(0x11e)][_0x29b475(0xf0)](_0x29b475(0x128),()=>this[_0x29b475(0x104)]());}[_0x38fd6b(0x104)](){const _0x1c72ab=_0x38fd6b,_0x2a8605=this[_0x1c72ab(0xfd)],_0x4e59b8=_0x2a8605[_0x1c72ab(0xe8)],_0x8433=new _0x2f322b(_0x4e59b8),_0x44576b=new _0x1985ab(_0x4e59b8);_0x8433[_0x1c72ab(0xf4)][_0x1c72ab(0xec)]({'icon':_0x51739f,'label':_0x531531(_0x4e59b8,_0x1c72ab(0x110))});const _0x144043=new _0x16d07b(_0x4e59b8,_0x8433),_0x2e1acd=new _0x286aec(_0x4e59b8);_0x2e1acd[_0x1c72ab(0xec)]({'label':_0x531531(_0x4e59b8,_0x1c72ab(0x123))}),_0x2e1acd[_0x1c72ab(0xeb)](_0x1c72ab(0x11b))['to'](_0x8433),_0x2e1acd['on'](_0x1c72ab(0x11b),()=>{const _0xa168ca=_0x1c72ab;this[_0xa168ca(0x11a)]();}),_0x144043[_0x1c72ab(0x113)][_0x1c72ab(0xf0)](_0x2e1acd),_0x44576b[_0x1c72ab(0xf8)][_0x1c72ab(0xf0)](_0x144043);const _0xace16e=new _0x16d07b(_0x4e59b8,_0x8433),_0xa974a7=new _0x286aec(_0x4e59b8);return _0xa974a7[_0x1c72ab(0xec)]({'label':_0x531531(_0x4e59b8,_0x1c72ab(0xf9))}),_0xa974a7[_0x1c72ab(0xeb)](_0x1c72ab(0x11b))['to'](_0x8433),_0xa974a7['on'](_0x1c72ab(0x11b),()=>{const _0x1fe9c0=_0x1c72ab;_0x2a8605[_0x1fe9c0(0x10f)][_0x1fe9c0(0x117)](_0x1fe9c0(0x107))[_0x1fe9c0(0xed)]();}),_0xace16e[_0x1c72ab(0x113)][_0x1c72ab(0xf0)](_0xa974a7),_0x44576b[_0x1c72ab(0xf8)][_0x1c72ab(0xf0)](_0xace16e),_0x8433[_0x1c72ab(0x122)][_0x1c72ab(0x113)][_0x1c72ab(0xf0)](_0x44576b),_0x8433;}[_0x38fd6b(0x11a)](){const _0x2969c2=_0x38fd6b,_0x9fa046=this[_0x2969c2(0xfd)],_0x1a68d6=_0x9fa046[_0x2969c2(0xe8)],_0x4f07d6=_0x9fa046[_0x2969c2(0xe6)][_0x2969c2(0x117)](_0x2969c2(0x105)),_0x4de4be=_0x9fa046[_0x2969c2(0xe6)][_0x2969c2(0x117)](_0x2969c2(0x121));function _0x317878(_0xbf8764){const _0x3b62b1=_0x2969c2;_0x9fa046[_0x3b62b1(0x10f)][_0x3b62b1(0x117)](_0x3b62b1(0x109))&&''===_0xbf8764[_0x3b62b1(0xf2)]?_0xbf8764[_0x3b62b1(0x103)][_0x3b62b1(0xf7)]=_0x531531(_0x1a68d6,_0x3b62b1(0x116)):(_0x9fa046[_0x3b62b1(0xe6)][_0x3b62b1(0x117)](_0x2456b5)[_0x3b62b1(0xee)]({'name':_0xbf8764[_0x3b62b1(0xf2)]}),_0x4f07d6[_0x3b62b1(0x118)]());}this[_0x2969c2(0x120)]||(this[_0x2969c2(0x10d)](),this[_0x2969c2(0x120)]['on'](_0x2969c2(0x102),()=>_0x317878(this[_0x2969c2(0x120)]))),this[_0x2969c2(0x120)][_0x2969c2(0xf6)](),_0x4f07d6[_0x2969c2(0xfc)]({'id':_0x2969c2(0x101),'title':_0x531531(_0x1a68d6,_0x2969c2(0x123)),'isModal':!0x0,'content':this[_0x2969c2(0x120)],'actionButtons':[{'label':_0x531531(_0x9fa046[_0x2969c2(0xe8)],_0x2969c2(0x10a)),'withText':!0x0,'onExecute':()=>_0x4f07d6[_0x2969c2(0x118)]()},{'label':_0x531531(_0x9fa046[_0x2969c2(0xe8)],_0x2969c2(0x125)),'class':_0x2969c2(0xfe),'withText':!0x0,'onCreate'(_0x88b2da){const _0x17624e=_0x2969c2;_0x88b2da[_0x17624e(0x127)](_0x17624e(0xfa))['to'](_0x4de4be,_0x17624e(0xea),_0x4de4be,_0x17624e(0xfa),_0x9fa046,_0x17624e(0xe9),(_0x532e25,_0xd1b5e,_0x919c8f)=>_0x532e25&&_0xd1b5e&&!_0x919c8f);},'onExecute':()=>_0x317878(this[_0x2969c2(0x120)])}]});}[_0x38fd6b(0x10d)](){const _0x219f31=_0x38fd6b,_0x2f148d=this[_0x219f31(0xfd)],_0x366f3=_0x2f148d[_0x219f31(0xe8)];this[_0x219f31(0x120)]=new _0x4c08b5(_0x366f3,_0x2f148d[_0x219f31(0x10f)][_0x219f31(0x117)](_0x219f31(0x109))),this[_0x219f31(0x120)][_0x219f31(0x12a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ddf78=_0x4637;(function(_0x57a9e6,_0x14ac88){const _0x4b41f1=_0x4637,_0x4441e5=_0x57a9e6();while(!![]){try{const _0x17aa2f=-parseInt(_0x4b41f1(0x18f))/0x1*(parseInt(_0x4b41f1(0x179))/0x2)+-parseInt(_0x4b41f1(0x146))/0x3*(parseInt(_0x4b41f1(0x13b))/0x4)+-parseInt(_0x4b41f1(0x171))/0x5+-parseInt(_0x4b41f1(0x149))/0x6*(parseInt(_0x4b41f1(0x17b))/0x7)+-parseInt(_0x4b41f1(0x13f))/0x8*(parseInt(_0x4b41f1(0x166))/0x9)+parseInt(_0x4b41f1(0x152))/0xa+parseInt(_0x4b41f1(0x154))/0xb*(parseInt(_0x4b41f1(0x173))/0xc);if(_0x17aa2f===_0x14ac88)break;else _0x4441e5['push'](_0x4441e5['shift']());}catch(_0x5d309e){_0x4441e5['push'](_0x4441e5['shift']());}}}(_0x555d,0x271f7));import{Plugin as _0x5d77c7}from'ckeditor5/src/core.js';import{RevisionsSidebarView as _0x4fbda1}from'./revisionssidebarview.js';import{RevisionViewer as _0x752edc}from'../../revisionviewer.js';function _0x4637(_0x382397,_0x4ef564){const _0x555dd4=_0x555d();return _0x4637=function(_0x4637c7,_0x398705){_0x4637c7=_0x4637c7-0x13b;let _0x49c4d4=_0x555dd4[_0x4637c7];return _0x49c4d4;},_0x4637(_0x382397,_0x4ef564);}function _0x555d(){const _0x4b67ae=['defaultRevisionActions','plugins','getLaterVisibleRevision','nameRevision','init','revisionHistory.requireRevisionName','revisionViews','getEarlierVisibleRevision','173115ahmzMv','1960bSBCgW','restoreRevisionCallback','add','Compare\x20against\x20selected','66472HUXItS','getRevision','_handleEditorDataReady','name','isEnabled','length','destroy','723WSwkpu','listenTo','restoreRevision','12JvtQFd','change:diff','ready','map','_handleRevisionSetName','pluginName','compare','highlightRevisions','getIndex','679260ExiVWb','get','2486uDfxkX','isPremiumPlugin','appendChild','getRevisionsInDiff','focus','string','_handleRevisionSelected','assign','bind','revisionHistory.viewerSidebarContainer','config','isSelected','_revisionViewer','_sidebarView','locale','Name\x20this\x20revision','fieldView','revisionSetName','180VIDiXn','selectRevision','editor','element','setName','repository','diff','compareAgainstSelected','requires','isOfficialPlugin','isReady','534680nmneNX','isVisible','49884Frrgpg','revisionSelected','newRevisionId','data','_revisionsRepository','revisionHistory.revisionActions','2obluFm','availableRevisionActions','989940EeaamT','remove','_handleDiffChange','revisionHistory','_revisions','render','timePeriodViews','select','RevisionsSidebar','_createRevisionActions','action','Restore\x20this\x20revision'];_0x555d=function(){return _0x4b67ae;};return _0x555d();}class f extends _0x5d77c7{[_0x3ddf78(0x160)];[_0x3ddf78(0x177)];[_0x3ddf78(0x161)];static [_0x3ddf78(0x187)]=[_0x3ddf78(0x16d),_0x3ddf78(0x148),_0x3ddf78(0x18a)];static [_0x3ddf78(0x17a)]=(function(){const _0x1e439c=_0x3ddf78;return{'compareAgainstSelected':{'name':_0x1e439c(0x13e),'action':({plugins:i},s)=>{const _0x582cd8=_0x1e439c,e=i[_0x582cd8(0x153)](_0x752edc),n=e[_0x582cd8(0x16b)];let r=e[_0x582cd8(0x16c)][_0x582cd8(0x175)],o=s['id'];n[_0x582cd8(0x151)](r)>n[_0x582cd8(0x151)](o)&&([r,o]=[o,r]),e[_0x582cd8(0x14f)](r,o);},'isVisible':({plugins:i},s)=>{const _0x10d140=_0x1e439c,e=i[_0x10d140(0x153)](_0x752edc);return!(e[_0x10d140(0x16b)][_0x10d140(0x157)](e[_0x10d140(0x16c)])[_0x10d140(0x144)]>0x2)&&!s[_0x10d140(0x15f)];}},'restoreRevision':{'name':_0x1e439c(0x186),'action':(i,{id:s})=>{const _0x10ed1d=_0x1e439c;i[_0x10ed1d(0x15e)][_0x10ed1d(0x153)](_0x10ed1d(0x17e))[_0x10ed1d(0x13c)](s);},'isVisible':({plugins:i},s)=>!!i[_0x1e439c(0x153)](_0x752edc)[_0x1e439c(0x16b)][_0x1e439c(0x189)](s['id'])},'nameRevision':{'name':_0x1e439c(0x163),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0x26c559=_0x1e439c,n=i[_0x26c559(0x153)](_0x752edc),r=n[_0x26c559(0x16b)][_0x26c559(0x18e)](s);n[_0x26c559(0x14f)](s,r),e[_0x26c559(0x158)](),e[_0x26c559(0x164)][_0x26c559(0x182)]();}}};}());static get[_0x3ddf78(0x14e)](){const _0x26c364=_0x3ddf78;return _0x26c364(0x183);}static get[_0x3ddf78(0x16f)](){return!0x0;}static get[_0x3ddf78(0x155)](){return!0x0;}static get[_0x3ddf78(0x16e)](){return[_0x752edc];}constructor(_0x1da85c){const _0x198744=_0x3ddf78;super(_0x1da85c),this[_0x198744(0x160)]=_0x1da85c[_0x198744(0x188)][_0x198744(0x153)](_0x752edc),this[_0x198744(0x177)]=this[_0x198744(0x160)][_0x198744(0x16b)],this[_0x198744(0x161)]=null;}[_0x3ddf78(0x18b)](){const _0x29f152=_0x3ddf78,_0x203a09=this[_0x29f152(0x177)][_0x29f152(0x17f)],_0x488f7a=this[_0x29f152(0x184)](),_0x4452bb=this[_0x29f152(0x168)][_0x29f152(0x15e)][_0x29f152(0x153)](_0x29f152(0x15d));this[_0x29f152(0x161)]=new _0x4fbda1(this[_0x29f152(0x168)][_0x29f152(0x162)],_0x203a09,_0x488f7a,this[_0x29f152(0x168)][_0x29f152(0x15e)][_0x29f152(0x153)](_0x29f152(0x18c))),this[_0x29f152(0x161)]['on'](_0x29f152(0x174),this[_0x29f152(0x15a)][_0x29f152(0x15c)](this)),this[_0x29f152(0x161)]['on'](_0x29f152(0x165),this[_0x29f152(0x14d)][_0x29f152(0x15c)](this)),this[_0x29f152(0x161)][_0x29f152(0x15c)](_0x29f152(0x143))['to'](this[_0x29f152(0x160)]),this[_0x29f152(0x161)][_0x29f152(0x181)]['on'](_0x29f152(0x13d),(_0x542f54,_0x3074c9)=>{const _0x646d6e=_0x29f152;_0x3074c9[_0x646d6e(0x18d)]['on'](_0x646d6e(0x13d),(_0x526a20,_0x25b907)=>{const _0x14637f=_0x646d6e;_0x25b907[_0x14637f(0x15c)](_0x14637f(0x143),_0x14637f(0x170))['to'](this[_0x14637f(0x160)]);});}),this[_0x29f152(0x161)][_0x29f152(0x180)](),this[_0x29f152(0x147)](this[_0x29f152(0x168)][_0x29f152(0x176)],_0x29f152(0x14b),this[_0x29f152(0x141)][_0x29f152(0x15c)](this)),this[_0x29f152(0x147)](this[_0x29f152(0x160)],_0x29f152(0x14a),this[_0x29f152(0x17d)][_0x29f152(0x15c)](this)),_0x4452bb[_0x29f152(0x156)](this[_0x29f152(0x161)][_0x29f152(0x169)]);}[_0x3ddf78(0x145)](){const _0x404bf2=_0x3ddf78;this[_0x404bf2(0x161)][_0x404bf2(0x169)][_0x404bf2(0x17c)](),this[_0x404bf2(0x161)][_0x404bf2(0x145)]();}[_0x3ddf78(0x141)](){const _0x15f793=_0x3ddf78,_0x3ce2ad=this[_0x15f793(0x177)][_0x15f793(0x140)](0x0);if(_0x3ce2ad){const _0x7a823c=this[_0x15f793(0x177)][_0x15f793(0x18e)](_0x3ce2ad['id']);this[_0x15f793(0x160)][_0x15f793(0x14f)](_0x3ce2ad,_0x7a823c);}}[_0x3ddf78(0x15a)](_0x28b529,_0x51935b){const _0x54abb3=_0x3ddf78,_0x1897ce=this[_0x54abb3(0x177)][_0x54abb3(0x140)](_0x51935b['id']),_0x2708a2=this[_0x54abb3(0x177)][_0x54abb3(0x18e)](_0x1897ce['id']);this[_0x54abb3(0x160)][_0x54abb3(0x14f)](_0x1897ce,_0x2708a2);}[_0x3ddf78(0x14d)](_0x18cad0,_0x493884){const _0x1a038a=_0x3ddf78;this[_0x1a038a(0x177)][_0x1a038a(0x140)](_0x493884['id'])[_0x1a038a(0x16a)](_0x493884[_0x1a038a(0x142)]);}[_0x3ddf78(0x17d)](_0x51e23d,_0x539d9f,_0x3eaaa6){const _0x37fe77=_0x3ddf78,_0x8bba0c=this[_0x37fe77(0x177)][_0x37fe77(0x157)](_0x3eaaa6);_0x8bba0c[_0x37fe77(0x144)]>0x2?(this[_0x37fe77(0x161)][_0x37fe77(0x150)](_0x8bba0c),this[_0x37fe77(0x161)][_0x37fe77(0x167)](null)):(this[_0x37fe77(0x161)][_0x37fe77(0x150)]([]),this[_0x37fe77(0x161)][_0x37fe77(0x167)](_0x8bba0c[0x0]));}[_0x3ddf78(0x184)](){const _0x4dc1f2=_0x3ddf78,_0xabc09b=this[_0x4dc1f2(0x168)],_0x273aa7=f[_0x4dc1f2(0x17a)],_0x262101=_0xabc09b[_0x4dc1f2(0x15e)][_0x4dc1f2(0x153)](_0x4dc1f2(0x178))||f[_0x4dc1f2(0x187)];if(_0x262101[_0x4dc1f2(0x144)])return _0x262101[_0x4dc1f2(0x14c)](_0x3a671c=>{const _0xefcd97=_0x4dc1f2,_0x42e999=_0xefcd97(0x159)==typeof _0x3a671c?Object[_0xefcd97(0x15b)]({},_0x273aa7[_0x3a671c]):_0x3a671c;return _0x42e999[_0xefcd97(0x185)]=_0x42e999[_0xefcd97(0x185)][_0xefcd97(0x15c)](this,_0xabc09b),_0x42e999[_0xefcd97(0x172)]&&(_0x42e999[_0xefcd97(0x172)]=_0x42e999[_0xefcd97(0x172)][_0xefcd97(0x15c)](this,_0xabc09b)),_0x42e999;});}}export{f as RevisionsSidebar};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x11430c,_0x11ab3a){const _0x451faa=_0x43de,_0x44c691=_0x11430c();while(!![]){try{const _0x5b9ae8=parseInt(_0x451faa(0x1f5))/0x1*(parseInt(_0x451faa(0x1f4))/0x2)+-parseInt(_0x451faa(0x1e9))/0x3*(parseInt(_0x451faa(0x1e8))/0x4)+parseInt(_0x451faa(0x1fa))/0x5*(-parseInt(_0x451faa(0x1f7))/0x6)+-parseInt(_0x451faa(0x1eb))/0x7+-parseInt(_0x451faa(0x1f8))/0x8*(parseInt(_0x451faa(0x1f1))/0x9)+parseInt(_0x451faa(0x1ed))/0xa+parseInt(_0x451faa(0x1ef))/0xb;if(_0x5b9ae8===_0x11ab3a)break;else _0x44c691['push'](_0x44c691['shift']());}catch(_0xe16f05){_0x44c691['push'](_0x44c691['shift']());}}}(_0x23f1,0xc3f46));import{View as _0x4d458c,IconView as _0x2a9a6a}from'ckeditor5/src/ui.js';import{getTranslation as _0x56b747}from'../../utils/common-translations.js';import{IconHistory as _0x5b1589}from'ckeditor5/src/icons.js';function _0x43de(_0x5b7f9b,_0x4dc51e){const _0x23f187=_0x23f1();return _0x43de=function(_0x43de7c,_0x1360fd){_0x43de7c=_0x43de7c-0x1e8;let _0x3f7751=_0x23f187[_0x43de7c];return _0x3f7751;},_0x43de(_0x5b7f9b,_0x4dc51e);}import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x4d458c{constructor(_0x503b7a){const _0x2bc56b=_0x43de;super(_0x503b7a);const _0x1068df=new _0x2a9a6a();_0x1068df[_0x2bc56b(0x1ec)]=_0x5b1589,this[_0x2bc56b(0x1f2)]({'tag':_0x2bc56b(0x1f3),'attributes':{'class':['ck',_0x2bc56b(0x1ee),_0x2bc56b(0x1f6)]},'children':[_0x1068df,{'tag':_0x2bc56b(0x1f9),'attributes':{'class':['ck',_0x2bc56b(0x1f0)]},'children':[_0x56b747(_0x503b7a,_0x2bc56b(0x1ea))]}]});}}function _0x23f1(){const _0x26c487=['23080gRaoNM','span','4555xHiQOi','856696HmAxQl','18MxPyRd','Revision\x20history','8501857qSCbds','content','6511210HILJHq','ck-reset_all','27311867GHAYZS','ck-revision-history-sidebar__header__label','711pjlrHV','setTemplate','div','2mrQoiW','970963GbzEeg','ck-revision-history-sidebar__header','3786TnoqZB'];_0x23f1=function(){return _0x26c487;};return _0x23f1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3bf9bb=_0x57d4;(function(_0x1a0045,_0x46b2eb){const _0x4a2753=_0x57d4,_0x266f2d=_0x1a0045();while(!![]){try{const _0x5816cd=-parseInt(_0x4a2753(0x1e8))/0x1*(-parseInt(_0x4a2753(0x1f3))/0x2)+parseInt(_0x4a2753(0x1e5))/0x3+-parseInt(_0x4a2753(0x1e3))/0x4+parseInt(_0x4a2753(0x1dd))/0x5+-parseInt(_0x4a2753(0x1f5))/0x6+parseInt(_0x4a2753(0x1ea))/0x7*(-parseInt(_0x4a2753(0x1f7))/0x8)+parseInt(_0x4a2753(0x1e0))/0x9;if(_0x5816cd===_0x46b2eb)break;else _0x266f2d['push'](_0x266f2d['shift']());}catch(_0x13e75e){_0x266f2d['push'](_0x266f2d['shift']());}}}(_0x5d79,0x564a4));function _0x57d4(_0x5a8cec,_0x302bc3){const _0x5d79a0=_0x5d79();return _0x57d4=function(_0x57d425,_0x25c16d){_0x57d425=_0x57d425-0x1da;let _0x4e3271=_0x5d79a0[_0x57d425];return _0x4e3271;},_0x57d4(_0x5a8cec,_0x302bc3);}import{View as _0x3be3a7}from'ckeditor5/src/ui.js';import{RevisionView as _0x3d14e1}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x2a6da2}from'./utils.js';function _0x5d79(){const _0x2a30aa=['ck-revision-history-sidebar__time-period__revisions','3295218VjObmc','remove','8TanQUE','ck-revision-history-sidebar__time-period','addRevision','_revisionActions','startDate','1452195jJRSnv','revisionViews','setName','5562486FEOcBI','ck-revision-history-sidebar__time-period__label','localizedPeriodName','648252FwmVgH','removeRevision','861465jOQHoY','createCollection','locale','1xjUTrf','_requireRevisionName','2793553frCXNj','add','div','select','span','uiLanguage','delegate','find','setTemplate','536282RwKnKU'];_0x5d79=function(){return _0x2a30aa;};return _0x5d79();}import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x3be3a7{[_0x3bf9bb(0x1dc)];[_0x3bf9bb(0x1de)];[_0x3bf9bb(0x1db)];[_0x3bf9bb(0x1e9)];constructor(_0x59cd06,_0x2e31f6,_0x5d630,_0x21b128){const _0x5e0b24=_0x3bf9bb;super(_0x59cd06);const _0x1611fb=_0x2a6da2(_0x2e31f6,this[_0x5e0b24(0x1e7)][_0x5e0b24(0x1ef)])[_0x5e0b24(0x1e2)];this[_0x5e0b24(0x1dc)]=_0x2e31f6,this[_0x5e0b24(0x1de)]=this[_0x5e0b24(0x1e6)](),this[_0x5e0b24(0x1db)]=_0x5d630,this[_0x5e0b24(0x1e9)]=_0x21b128,this[_0x5e0b24(0x1de)][_0x5e0b24(0x1f0)](_0x5e0b24(0x1ed))['to'](this),this[_0x5e0b24(0x1de)][_0x5e0b24(0x1f0)](_0x5e0b24(0x1df))['to'](this),this[_0x5e0b24(0x1f2)]({'tag':_0x5e0b24(0x1ec),'attributes':{'class':['ck',_0x5e0b24(0x1f8)]},'children':[{'tag':_0x5e0b24(0x1ee),'attributes':{'class':['ck',_0x5e0b24(0x1e1)]},'children':[{'text':_0x1611fb}]},{'tag':_0x5e0b24(0x1ec),'attributes':{'class':['ck',_0x5e0b24(0x1f4)]},'children':this[_0x5e0b24(0x1de)]}]});}[_0x3bf9bb(0x1da)](_0x112fe0){const _0x96e6f6=_0x3bf9bb,_0x816b37=new _0x3d14e1(this[_0x96e6f6(0x1e7)],_0x112fe0,this[_0x96e6f6(0x1db)],this[_0x96e6f6(0x1e9)]);this[_0x96e6f6(0x1de)][_0x96e6f6(0x1eb)](_0x816b37);}[_0x3bf9bb(0x1e4)](_0x55d87c){const _0x5dbb74=_0x3bf9bb,_0x2fe656=this[_0x5dbb74(0x1de)][_0x5dbb74(0x1f1)](_0x302d44=>_0x302d44['id']===_0x55d87c['id']);this[_0x5dbb74(0x1de)][_0x5dbb74(0x1f6)](_0x2fe656);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4be449=_0x2020;function _0x5380(){const _0x1947b5=['bindTemplate','delegate','987530FiygWp','32rpfwpg','setName','addRevision','unhighlight','_addRevision','1291644ipDCVa','remove','revisionSelected','map','highlight','flat','some','find','removeRevision','_revisionActions','timePeriodViews','_revisions','createdAt','select','createCollection','div','get','isEnabled','set','render','3468970cEtwDw','672VsdPKH','480879jJMWAg','188184KTMqVM','uiLanguage','ck-revision-history-sidebar','startDate','fire','ck-reset','revisionSetName','highlightRevisions','getTime','add','4712AmWgrl','_requireRevisionName','_getTimePeriodViewByStartDate','965272yBTxsj','90KQdkzu','deselect','selectRevision','ck-rounded-corners','setTemplate','ck-revision-history-sidebar__timeline','_removeRevision','175acoZLt','revisionViews','ck-disabled','locale'];_0x5380=function(){return _0x1947b5;};return _0x5380();}(function(_0x2bd17a,_0x621022){const _0x5ce567=_0x2020,_0x5a0430=_0x2bd17a();while(!![]){try{const _0xc9ec1e=parseInt(_0x5ce567(0x167))/0x1+parseInt(_0x5ce567(0x14b))/0x2+parseInt(_0x5ce567(0x166))/0x3*(-parseInt(_0x5ce567(0x13a))/0x4)+parseInt(_0x5ce567(0x165))/0x5+parseInt(_0x5ce567(0x130))/0x6*(-parseInt(_0x5ce567(0x145))/0x7)+-parseInt(_0x5ce567(0x14c))/0x8*(-parseInt(_0x5ce567(0x151))/0x9)+parseInt(_0x5ce567(0x13e))/0xa*(-parseInt(_0x5ce567(0x13d))/0xb);if(_0xc9ec1e===_0x621022)break;else _0x5a0430['push'](_0x5a0430['shift']());}catch(_0x3077f0){_0x5a0430['push'](_0x5a0430['shift']());}}}(_0x5380,0x62d1a));import{View as _0x503089}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x5ece8c}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x3ef291}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x5f12fd}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';function _0x2020(_0x319bdb,_0x38a4cd){const _0x538064=_0x5380();return _0x2020=function(_0x2020d2,_0x4e390a){_0x2020d2=_0x2020d2-0x130;let _0x3b9e55=_0x538064[_0x2020d2];return _0x3b9e55;},_0x2020(_0x319bdb,_0x38a4cd);}export class RevisionsSidebarView extends _0x503089{[_0x4be449(0x15b)];[_0x4be449(0x15c)];[_0x4be449(0x15a)];[_0x4be449(0x13b)];constructor(_0x33fb0d,_0x28f7aa,_0x3cbdb7,_0xc6c573){const _0x56af5b=_0x4be449;super(_0x33fb0d);const _0x32c38e=this[_0x56af5b(0x149)];this[_0x56af5b(0x15b)]=this[_0x56af5b(0x15f)](),this[_0x56af5b(0x15b)][_0x56af5b(0x14a)](_0x56af5b(0x15e))['to'](this),this[_0x56af5b(0x15b)][_0x56af5b(0x14a)](_0x56af5b(0x14d))['to'](this),this[_0x56af5b(0x15c)]=_0x28f7aa,this[_0x56af5b(0x15a)]=_0x3cbdb7,this[_0x56af5b(0x13b)]=_0xc6c573,this['on'](_0x56af5b(0x15e),(_0x2bf051,_0xe6bdd9)=>{const _0x18dcd3=_0x56af5b;this[_0x18dcd3(0x134)](_0x18dcd3(0x153),_0xe6bdd9);}),this['on'](_0x56af5b(0x14d),(_0x5578d8,_0x162430)=>{const _0x1077f0=_0x56af5b;this[_0x1077f0(0x134)](_0x1077f0(0x136),_0x162430);}),this[_0x56af5b(0x163)](_0x56af5b(0x162),!0x1),this[_0x56af5b(0x142)]({'tag':_0x56af5b(0x160),'attributes':{'class':['ck',_0x56af5b(0x135),_0x56af5b(0x141),_0x56af5b(0x132)]},'children':[new _0x3ef291(_0x33fb0d),{'tag':_0x56af5b(0x160),'attributes':{'class':['ck',_0x56af5b(0x143),_0x32c38e['if'](_0x56af5b(0x162),_0x56af5b(0x147),_0x1002b7=>!_0x1002b7)]},'children':this[_0x56af5b(0x15b)]}]});}[_0x4be449(0x164)](){const _0x2e3bf3=_0x4be449;super[_0x2e3bf3(0x164)]();for(const _0x4fe015 of this[_0x2e3bf3(0x15c)])this[_0x2e3bf3(0x150)](_0x4fe015);this[_0x2e3bf3(0x15c)]['on'](_0x2e3bf3(0x139),(_0x33f417,_0x294306)=>{const _0x54b672=_0x2e3bf3;this[_0x54b672(0x150)](_0x294306);}),this[_0x2e3bf3(0x15c)]['on'](_0x2e3bf3(0x152),(_0x275aed,_0x3db3ea)=>{const _0xabe85d=_0x2e3bf3;this[_0xabe85d(0x144)](_0x3db3ea);});}get[_0x4be449(0x146)](){const _0x2c14c1=_0x4be449;return this[_0x2c14c1(0x15b)][_0x2c14c1(0x154)](_0x2614ad=>_0x2614ad[_0x2c14c1(0x146)][_0x2c14c1(0x154)](_0x541469=>_0x541469))[_0x2c14c1(0x156)]();}[_0x4be449(0x140)](_0x24bc05){const _0x331d3b=_0x4be449;for(const _0x1646e1 of this[_0x331d3b(0x146)])_0x24bc05&&_0x24bc05['id']===_0x1646e1['id']?_0x1646e1[_0x331d3b(0x15e)]():_0x1646e1[_0x331d3b(0x13f)]();}[_0x4be449(0x137)](_0x34a44b){const _0x4182e4=_0x4be449;for(const _0x21cf16 of this[_0x4182e4(0x146)])_0x34a44b[_0x4182e4(0x157)](({id:_0x5d0efc})=>_0x5d0efc===_0x21cf16['id'])?_0x21cf16[_0x4182e4(0x155)]():_0x21cf16[_0x4182e4(0x14f)]();}[_0x4be449(0x150)](_0x2e4a83){const _0x293db8=_0x4be449,_0x4ffd97=_0x5f12fd(_0x2e4a83[_0x293db8(0x15d)],this[_0x293db8(0x148)][_0x293db8(0x131)])[_0x293db8(0x133)];let _0x1106e8=this[_0x293db8(0x15b)][_0x293db8(0x161)](0x0);_0x1106e8&&_0x1106e8[_0x293db8(0x133)][_0x293db8(0x138)]()===_0x4ffd97[_0x293db8(0x138)]()||(_0x1106e8=new _0x5ece8c(this[_0x293db8(0x148)],_0x4ffd97,this[_0x293db8(0x15a)],this[_0x293db8(0x13b)]),this[_0x293db8(0x15b)][_0x293db8(0x139)](_0x1106e8)),_0x1106e8[_0x293db8(0x14e)](_0x2e4a83);}[_0x4be449(0x144)](_0x216b0c){const _0x47bb3a=_0x4be449,_0x365496=_0x5f12fd(_0x216b0c[_0x47bb3a(0x15d)],this[_0x47bb3a(0x148)][_0x47bb3a(0x131)])[_0x47bb3a(0x133)];this[_0x47bb3a(0x13c)](_0x365496)[_0x47bb3a(0x159)](_0x216b0c);}[_0x4be449(0x13c)](_0xfda1e4){const _0x550149=_0x4be449;return this[_0x550149(0x15b)][_0x550149(0x158)](_0x4da5c2=>_0x4da5c2[_0x550149(0x133)][_0x550149(0x138)]()===_0xfda1e4[_0x550149(0x138)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xec34c0,_0x3d8ff7){const _0xa69315=_0x33e1,_0xa4b11e=_0xec34c0();while(!![]){try{const _0x433b68=parseInt(_0xa69315(0x1b1))/0x1*(-parseInt(_0xa69315(0x1ae))/0x2)+-parseInt(_0xa69315(0x1ad))/0x3*(-parseInt(_0xa69315(0x1af))/0x4)+-parseInt(_0xa69315(0x1ab))/0x5*(-parseInt(_0xa69315(0x1bd))/0x6)+-parseInt(_0xa69315(0x1a9))/0x7+parseInt(_0xa69315(0x1ac))/0x8*(parseInt(_0xa69315(0x1b7))/0x9)+-parseInt(_0xa69315(0x1ba))/0xa*(parseInt(_0xa69315(0x1c1))/0xb)+-parseInt(_0xa69315(0x1c2))/0xc*(-parseInt(_0xa69315(0x1b9))/0xd);if(_0x433b68===_0x3d8ff7)break;else _0xa4b11e['push'](_0xa4b11e['shift']());}catch(_0x3c28fa){_0xa4b11e['push'](_0xa4b11e['shift']());}}}(_0xce66,0x3c6bd));function _0xce66(){const _0x8ea836=['fromJSDate','78liJUgU','29320ynOQah','minus','toRelativeCalendar','31284pivgSH','setLocale','startOf','toJSDate','1727qdqYFN','1283784TEjkkB','monthLong','641207XClZHU','hasSame','325vpPDHS','1592JLKjzP','147sZbrOE','408966egPsmG','4948ZLbQIx','local','2SHaNha','week','weekdayLong','year','month','day','7551jniuoY'];_0xce66=function(){return _0x8ea836;};return _0xce66();}function _0x33e1(_0x4c283c,_0x46fdcc){const _0xce665f=_0xce66();return _0x33e1=function(_0x33e13a,_0x3c4eca){_0x33e13a=_0x33e13a-0x1a8;let _0x2f0ec5=_0xce665f[_0x33e13a];return _0x2f0ec5;},_0x33e1(_0x4c283c,_0x46fdcc);}import{DateTime as _0xb87c8e}from'luxon';export function getDateTimePeriodInfo(_0x196e86,_0x5a13f4){const _0x4e9029=_0x33e1,_0x3e4bba=_0xb87c8e[_0x4e9029(0x1b8)](_0x196e86)[_0x4e9029(0x1be)](_0x5a13f4),_0x34b1b8=_0xb87c8e[_0x4e9029(0x1b0)](),_0x48a36c=_0x34b1b8[_0x4e9029(0x1bb)]({'days':0x1})[_0x4e9029(0x1bf)](_0x4e9029(0x1b6));let _0x368674,_0x548e1a;return _0x3e4bba[_0x4e9029(0x1aa)](_0x34b1b8,_0x4e9029(0x1b6))?(_0x368674=_0x3e4bba[_0x4e9029(0x1bf)](_0x4e9029(0x1b6))[_0x4e9029(0x1c0)](),_0x548e1a=_0x3e4bba[_0x4e9029(0x1bc)]()):_0x3e4bba[_0x4e9029(0x1aa)](_0x48a36c,_0x4e9029(0x1b6))?(_0x368674=_0x48a36c[_0x4e9029(0x1c0)](),_0x548e1a=_0x3e4bba[_0x4e9029(0x1bc)]()):_0x3e4bba[_0x4e9029(0x1aa)](_0x34b1b8,_0x4e9029(0x1b2))?(_0x368674=_0x3e4bba[_0x4e9029(0x1bf)](_0x4e9029(0x1b2))[_0x4e9029(0x1c0)](),_0x548e1a=_0x3e4bba[_0x4e9029(0x1b3)]||''):_0x3e4bba[_0x4e9029(0x1aa)](_0x34b1b8,_0x4e9029(0x1b4))?(_0x368674=_0x3e4bba[_0x4e9029(0x1bf)](_0x4e9029(0x1b5))[_0x4e9029(0x1c0)](),_0x548e1a=_0x3e4bba[_0x4e9029(0x1a8)]||''):(_0x368674=_0x3e4bba[_0x4e9029(0x1bf)](_0x4e9029(0x1b4))[_0x4e9029(0x1c0)](),_0x548e1a=String(_0x3e4bba[_0x4e9029(0x1b4)])),{'startDate':_0x368674,'localizedPeriodName':_0x548e1a};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2300(_0x5a6b8c,_0x589ca1){const _0x40005a=_0x4000();return _0x2300=function(_0x23002c,_0x399835){_0x23002c=_0x23002c-0x1b8;let _0x3d43ad=_0x40005a[_0x23002c];return _0x3d43ad;},_0x2300(_0x5a6b8c,_0x589ca1);}const _0x228d5b=_0x2300;(function(_0x781ea,_0x479772){const _0x3942b6=_0x2300,_0x37a653=_0x781ea();while(!![]){try{const _0x57ce86=parseInt(_0x3942b6(0x1c9))/0x1+-parseInt(_0x3942b6(0x1c7))/0x2*(-parseInt(_0x3942b6(0x1cd))/0x3)+parseInt(_0x3942b6(0x1d3))/0x4+-parseInt(_0x3942b6(0x1c3))/0x5+parseInt(_0x3942b6(0x1d0))/0x6*(parseInt(_0x3942b6(0x1c4))/0x7)+-parseInt(_0x3942b6(0x1ca))/0x8+-parseInt(_0x3942b6(0x1c5))/0x9*(parseInt(_0x3942b6(0x1d2))/0xa);if(_0x57ce86===_0x479772)break;else _0x37a653['push'](_0x37a653['shift']());}catch(_0x4100fd){_0x37a653['push'](_0x37a653['shift']());}}}(_0x4000,0xe8e6c));import{View as _0x3332cd}from'ckeditor5/src/ui.js';import{getTranslation as _0x6cb4c3}from'../../utils/common-translations.js';function _0x4000(){const _0x3061a6=['Removed\x20by','3913890oeBFEj','ck-revision-change__','5585990EXnLsd','3859456swyohr','focus','add','data','changeId','Suggested\x20by','Added\x20by','bindTemplate','setTemplate','ck-annotation','set','_model','isSuggestion','type','ck-revision-change','ck-revision-change__label','1275535KfuHyt','7BqLAdI','9aytqmX','author','312CWrxbv','element','20271pAGBkG','11387072iPiuBM','div','name','29877XPqoLP','span'];_0x4000=function(){return _0x3061a6;};return _0x4000();}export class ChangeDetailsView extends _0x3332cd{[_0x228d5b(0x1d7)];[_0x228d5b(0x1be)];constructor(_0x2117a1,_0x338664){const _0x3c1f56=_0x228d5b;super(_0x2117a1),this[_0x3c1f56(0x1be)]=_0x338664,this[_0x3c1f56(0x1d7)]=_0x338664['id'];const _0x18dabf=this[_0x3c1f56(0x1ba)],_0x27fc15=_0x6cb4c3(_0x2117a1,_0x338664[_0x3c1f56(0x1d6)][_0x3c1f56(0x1bf)]?_0x3c1f56(0x1b8):_0x3c1f56(0x1d5)==_0x338664[_0x3c1f56(0x1c0)]?_0x3c1f56(0x1b9):_0x3c1f56(0x1cf));this[_0x3c1f56(0x1bd)](_0x3c1f56(0x1c0),_0x338664[_0x3c1f56(0x1c0)]),this[_0x3c1f56(0x1bb)]({'tag':_0x3c1f56(0x1cb),'attributes':{'class':[_0x3c1f56(0x1bc),_0x3c1f56(0x1c1),_0x18dabf['to'](_0x3c1f56(0x1c0),_0x3c666b=>_0x3c1f56(0x1d1)+_0x3c666b)],'tabindex':-0x1},'children':[{'tag':_0x3c1f56(0x1ce),'children':[{'tag':_0x3c1f56(0x1ce),'attributes':{'class':[_0x3c1f56(0x1c2)]},'children':[{'text':_0x27fc15}]},{'text':'\x20'+_0x338664[_0x3c1f56(0x1c6)][_0x3c1f56(0x1cc)]}]}]});}[_0x228d5b(0x1d4)](){const _0x4caa70=_0x228d5b;this[_0x4caa70(0x1c8)][_0x4caa70(0x1d4)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4db1d2,_0x6fe520){const _0x51ade8=_0x1c48,_0x49f989=_0x4db1d2();while(!![]){try{const _0x39a7a8=-parseInt(_0x51ade8(0x196))/0x1+-parseInt(_0x51ade8(0x18d))/0x2*(-parseInt(_0x51ade8(0x19c))/0x3)+-parseInt(_0x51ade8(0x17e))/0x4+-parseInt(_0x51ade8(0x181))/0x5*(parseInt(_0x51ade8(0x190))/0x6)+-parseInt(_0x51ade8(0x182))/0x7+parseInt(_0x51ade8(0x18b))/0x8*(parseInt(_0x51ade8(0x174))/0x9)+parseInt(_0x51ade8(0x19e))/0xa*(parseInt(_0x51ade8(0x17c))/0xb);if(_0x39a7a8===_0x6fe520)break;else _0x49f989['push'](_0x49f989['shift']());}catch(_0x5805a6){_0x49f989['push'](_0x49f989['shift']());}}}(_0xce1f,0xe2a32));import{View as _0x59b6fd,ButtonView as _0x4309b1,ToolbarSeparatorView as _0x7a5125}from'ckeditor5/src/ui.js';import{IconChevronUp as _0xba3036,IconChevronDown as _0x4da7f5}from'ckeditor5/src/icons.js';function _0x1c48(_0x1efc0c,_0x20898d){const _0xce1fe8=_0xce1f();return _0x1c48=function(_0x1c4813,_0x324879){_0x1c4813=_0x1c4813-0x173;let _0x40a050=_0xce1fe8[_0x1c4813];return _0x40a050;},_0x1c48(_0x1efc0c,_0x20898d);}import{getTranslation as _0x127492}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';function _0xce1f(){const _0x47dc4b=['div','Loading...','X_OF_Y_CHANGES','50588846RSKLPt','isEnabled','2613864isgmDI','ck-revision-history-ui__changes-navigation','isReady','111270dnHhiN','12455821jOPLzt','ck-revision-history-ui','numberOfChanges','ck-revision-history-ui__changes-navigation__wrapper','isForwardNavigationEnabled','EDIT_X_OF_Y_REVISIONS','ck-hidden','currentChangeNumber','backward','488aPwiFj','Total','62026ieRehQ','execute','bindTemplate','366FhcCAK','forward','ck-revision-history-ui__changes-navigation__navigation','isNavigationMode','No\x20changes','Show\x20previous\x20change','617633qzFHJy','bind','_statusText','setTemplate','NUMBER_OF_CHANGES','span','45przGdi','set','10runuth','fire','40149MrtEFs','ck-revision-history-ui__changes-navigation__label','Show\x20next\x20change','isBackwardNavigationEnabled','_isStatusLabelVisible'];_0xce1f=function(){return _0x47dc4b;};return _0xce1f();}export class ChangesNavigationView extends _0x59b6fd{constructor(_0x56fa12){const _0x5867e5=_0x1c48;super(_0x56fa12);const _0x58cdcb=this[_0x5867e5(0x18f)],_0x22977d=new _0x4309b1(_0x56fa12),_0x479276=new _0x4309b1(_0x56fa12);this[_0x5867e5(0x19d)](_0x5867e5(0x193),!0x1),this[_0x5867e5(0x19d)](_0x5867e5(0x180),!0x1),this[_0x5867e5(0x19d)](_0x5867e5(0x189),0x0),this[_0x5867e5(0x19d)](_0x5867e5(0x184),0x0),this[_0x5867e5(0x19d)](_0x5867e5(0x186),!0x1),this[_0x5867e5(0x19d)](_0x5867e5(0x177),!0x1),this[_0x5867e5(0x197)](_0x5867e5(0x178))['to'](this,_0x5867e5(0x180),this,_0x5867e5(0x184),(_0x355ddc,_0x52f28c)=>_0x355ddc&&_0x52f28c>0x0),this[_0x5867e5(0x197)](_0x5867e5(0x198))['to'](this,_0x5867e5(0x180),this,_0x5867e5(0x189),this,_0x5867e5(0x184),this,_0x5867e5(0x193),(_0x2fb9f6,_0x5d6850,_0x47faf3,_0x2a685f)=>{const _0x335fe5=_0x5867e5;if(!_0x2fb9f6)return _0x127492(_0x56fa12,_0x335fe5(0x17a));if(!_0x47faf3)return _0x127492(_0x56fa12,_0x335fe5(0x194));const _0xc5e065=_0x127492(_0x56fa12,_0x335fe5(0x19a),_0x47faf3);return _0x2a685f?_0x127492(_0x56fa12,_0x335fe5(0x17b),[_0x5d6850+0x1,_0x47faf3]):_0xc5e065;}),_0x22977d[_0x5867e5(0x19d)]({'label':_0x127492(_0x56fa12,_0x5867e5(0x195)),'tooltip':!0x0,'icon':_0xba3036}),_0x479276[_0x5867e5(0x19d)]({'label':_0x127492(_0x56fa12,_0x5867e5(0x176)),'tooltip':!0x0,'icon':_0x4da7f5}),_0x22977d[_0x5867e5(0x197)](_0x5867e5(0x17d))['to'](this,_0x5867e5(0x177)),_0x479276[_0x5867e5(0x197)](_0x5867e5(0x17d))['to'](this,_0x5867e5(0x186)),_0x22977d['on'](_0x5867e5(0x18e),()=>this[_0x5867e5(0x173)](_0x5867e5(0x18e),_0x5867e5(0x18a))),_0x479276['on'](_0x5867e5(0x18e),()=>this[_0x5867e5(0x173)](_0x5867e5(0x18e),_0x5867e5(0x191))),this[_0x5867e5(0x199)]({'tag':_0x5867e5(0x179),'attributes':{'class':['ck',_0x5867e5(0x183),_0x5867e5(0x17f)]},'children':[{'tag':_0x5867e5(0x19b),'attributes':{'class':[_0x5867e5(0x185)]},'children':[{'tag':_0x5867e5(0x19b),'attributes':{'class':[_0x5867e5(0x175),_0x58cdcb['if'](_0x5867e5(0x178),_0x5867e5(0x188),_0x3c1324=>!_0x3c1324)]},'children':[{'text':_0x58cdcb['to'](_0x5867e5(0x193),_0x311d57=>_0x311d57?_0x127492(_0x56fa12,_0x5867e5(0x187))+':\x20':_0x127492(_0x56fa12,_0x5867e5(0x18c))+':\x20')}]},{'text':_0x58cdcb['to'](_0x5867e5(0x198))}]},new _0x7a5125(),{'tag':_0x5867e5(0x179),'attributes':{'class':[_0x5867e5(0x192)]},'children':[_0x22977d,_0x479276]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1850ad=_0xfd92;(function(_0x1924e0,_0xb4bfc){const _0x1be6e8=_0xfd92,_0x19e067=_0x1924e0();while(!![]){try{const _0x42f5c1=-parseInt(_0x1be6e8(0x162))/0x1*(-parseInt(_0x1be6e8(0x16f))/0x2)+-parseInt(_0x1be6e8(0x170))/0x3+-parseInt(_0x1be6e8(0x178))/0x4+-parseInt(_0x1be6e8(0x176))/0x5*(parseInt(_0x1be6e8(0x16a))/0x6)+-parseInt(_0x1be6e8(0x164))/0x7+parseInt(_0x1be6e8(0x173))/0x8+parseInt(_0x1be6e8(0x179))/0x9;if(_0x42f5c1===_0xb4bfc)break;else _0x19e067['push'](_0x19e067['shift']());}catch(_0x1caaa3){_0x19e067['push'](_0x19e067['shift']());}}}(_0x454b,0x1f34e));function _0xfd92(_0x33acd4,_0xac5988){const _0x454b99=_0x454b();return _0xfd92=function(_0xfd92ba,_0x18b667){_0xfd92ba=_0xfd92ba-0x162;let _0x272526=_0x454b99[_0xfd92ba];return _0x272526;},_0xfd92(_0x33acd4,_0xac5988);}import{Plugin as _0x354947}from'ckeditor5/src/core.js';const ge=_0x1850ad(0x166);function _0x454b(){const _0x439676=['518565LxzfFO','removeClass','360364kbstpR','2536434IYjDIK','236777ULOdfS','hide','1159578uWeatF','RevisionViewerLoadingOverlay','ck-editor__editable__loading-overlay','pluginName','view','addClass','6KBTWRE','show','roots','change','document','2gAWFjk','562743jYiFNk','isOfficialPlugin','editing','1250064GXbFjY','isPremiumPlugin','editor'];_0x454b=function(){return _0x439676;};return _0x454b();}import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0x354947{static get[_0x1850ad(0x167)](){const _0x5007d7=_0x1850ad;return _0x5007d7(0x165);}static get[_0x1850ad(0x171)](){return!0x0;}static get[_0x1850ad(0x174)](){return!0x0;}[_0x1850ad(0x16b)](){const _0x97a713=_0x1850ad,_0xe556fd=this[_0x97a713(0x175)][_0x97a713(0x172)][_0x97a713(0x168)];_0xe556fd[_0x97a713(0x16d)](_0x2408c7=>{const _0x2978cf=_0x97a713;for(const _0x4be5ff of _0xe556fd[_0x2978cf(0x16e)][_0x2978cf(0x16c)])_0x2408c7[_0x2978cf(0x169)](ge,_0x4be5ff);});}[_0x1850ad(0x163)](){const _0x51aeae=_0x1850ad,_0xd24c26=this[_0x51aeae(0x175)][_0x51aeae(0x172)][_0x51aeae(0x168)];_0xd24c26[_0x51aeae(0x16d)](_0xf57905=>{const _0x49c13f=_0x51aeae;for(const _0x534080 of _0xd24c26[_0x49c13f(0x16e)][_0x49c13f(0x16c)])_0xf57905[_0x49c13f(0x177)](ge,_0x534080);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xba274c=_0x4f0c;(function(_0x385c92,_0xa0f869){const _0x4372cc=_0x4f0c,_0x5eaca6=_0x385c92();while(!![]){try{const _0xef5bea=-parseInt(_0x4372cc(0x6e))/0x1*(-parseInt(_0x4372cc(0x75))/0x2)+parseInt(_0x4372cc(0x70))/0x3+parseInt(_0x4372cc(0x97))/0x4+-parseInt(_0x4372cc(0x7d))/0x5+-parseInt(_0x4372cc(0x78))/0x6+-parseInt(_0x4372cc(0x86))/0x7+-parseInt(_0x4372cc(0x94))/0x8*(-parseInt(_0x4372cc(0x84))/0x9);if(_0xef5bea===_0xa0f869)break;else _0x5eaca6['push'](_0x5eaca6['shift']());}catch(_0x50c59c){_0x5eaca6['push'](_0x5eaca6['shift']());}}}(_0x3e65,0x9d955));import{Plugin as _0x5ec748}from'ckeditor5/src/core.js';import{ButtonView as _0x45967b}from'ckeditor5/src/ui.js';import{IconUndo as _0x21c50}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x5f51ee}from'./changesnavigationview.js';import{RevisionViewer as _0x460b39}from'./../../revisionviewer.js';function _0x4f0c(_0x8a0e31,_0x252304){const _0x3e6549=_0x3e65();return _0x4f0c=function(_0x4f0c05,_0x1f1b48){_0x4f0c05=_0x4f0c05-0x6d;let _0x4d4faa=_0x3e6549[_0x4f0c05];return _0x4d4faa;},_0x4f0c(_0x8a0e31,_0x252304);}import{RevisionViewerLoadingOverlay as _0x45a848}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x4d9b00}from'../../utils/common-translations.js';function _0x3e65(){const _0x1336b9=['3905178vYoFHM','exitToEditing','commands','requires','editor','4290935ZOovFI','isBackwardNavigationEnabled','revisionHistory','add','plugins','Back\x20to\x20editing','init','9CmobBj','showPreviousChange','2016994rzgSjO','config','closeRevisionViewerCallback','isEnabled','hide','ck-revision-history-ui__back-to-editing','numberOfChanges','componentFactory','execute','Restore\x20this\x20revision','showNextChange','isOfficialPlugin','currentChangeNumber','listenTo','13942872biJrkM','isPremiumPlugin','isReady','1882316VGrMrG','pluginName','restoreRevision','bind','forward','isNavigationMode','105654ZmjkdU','isForwardNavigationEnabled','53721emgeat','show','changesNavigation','set','change:isReady','4SituxE','RevisionViewerUI','get'];_0x3e65=function(){return _0x1336b9;};return _0x3e65();}import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x5ec748{static get[_0xba274c(0x98)](){const _0x483e69=_0xba274c;return _0x483e69(0x76);}static get[_0xba274c(0x91)](){return!0x0;}static get[_0xba274c(0x95)](){return!0x0;}static get[_0xba274c(0x7b)](){return[_0x460b39,_0x45a848];}[_0xba274c(0x83)](){const _0x38241c=_0xba274c,_0x1be280=this[_0x38241c(0x7c)],_0x4b52d2=_0x1be280[_0x38241c(0x81)][_0x38241c(0x77)](_0x460b39),_0x473ad0=_0x1be280[_0x38241c(0x81)][_0x38241c(0x77)](_0x45a848);_0x1be280['ui'][_0x38241c(0x8d)][_0x38241c(0x80)](_0x38241c(0x79),_0x5694b8=>{const _0x1dc642=_0x38241c,_0x2d0d94=new _0x45967b(_0x5694b8);return _0x2d0d94[_0x1dc642(0x73)]({'label':_0x4d9b00(_0x5694b8,_0x1dc642(0x82)),'icon':_0x21c50,'withText':!0x0,'tooltip':!0x0,'class':_0x1dc642(0x8b)}),this[_0x1dc642(0x93)](_0x2d0d94,_0x1dc642(0x8e),()=>{const _0x2206da=_0x1dc642;_0x1be280[_0x2206da(0x87)][_0x2206da(0x77)](_0x2206da(0x7f))[_0x2206da(0x88)]();}),_0x2d0d94;}),_0x1be280['ui'][_0x38241c(0x8d)][_0x38241c(0x80)](_0x38241c(0x99),_0x408e24=>{const _0x162bc4=_0x38241c,_0x2f1b02=new _0x45967b(_0x408e24);return _0x2f1b02[_0x162bc4(0x73)]({'label':_0x4d9b00(_0x408e24,_0x162bc4(0x8f)),'withText':!0x0,'tooltip':!0x0}),_0x2f1b02[_0x162bc4(0x9a)](_0x162bc4(0x89))['to'](_0x1be280[_0x162bc4(0x7a)][_0x162bc4(0x77)](_0x162bc4(0x99))),this[_0x162bc4(0x93)](_0x2f1b02,_0x162bc4(0x8e),()=>_0x1be280[_0x162bc4(0x8e)](_0x162bc4(0x99))),_0x2f1b02;}),_0x1be280['ui'][_0x38241c(0x8d)][_0x38241c(0x80)](_0x38241c(0x72),_0x142764=>{const _0x45e0f9=_0x38241c,_0xd022a3=new _0x5f51ee(_0x142764),_0x4fc098=_0x1be280[_0x45e0f9(0x7a)][_0x45e0f9(0x77)](_0x45e0f9(0x85)),_0x365e69=_0x1be280[_0x45e0f9(0x7a)][_0x45e0f9(0x77)](_0x45e0f9(0x90));return _0xd022a3[_0x45e0f9(0x9a)](_0x45e0f9(0x7e))['to'](_0x4fc098,_0x45e0f9(0x89)),_0xd022a3[_0x45e0f9(0x9a)](_0x45e0f9(0x6f))['to'](_0x365e69,_0x45e0f9(0x89)),_0xd022a3[_0x45e0f9(0x9a)](_0x45e0f9(0x96),_0x45e0f9(0x92),_0x45e0f9(0x8c),_0x45e0f9(0x6d))['to'](_0x4b52d2),this[_0x45e0f9(0x93)](_0xd022a3,_0x45e0f9(0x8e),(_0x48060b,_0x152154)=>{const _0x99af64=_0x45e0f9;_0x1be280[_0x99af64(0x8e)](_0x99af64(0x9b)===_0x152154?_0x99af64(0x90):_0x99af64(0x85));}),_0xd022a3;}),_0x473ad0[_0x38241c(0x71)](),_0x4b52d2['on'](_0x38241c(0x74),(_0x326898,_0x4843da,_0x11534f)=>{const _0x18d7f5=_0x38241c;_0x11534f?_0x473ad0[_0x18d7f5(0x8a)]():_0x473ad0[_0x18d7f5(0x71)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x5b8aa9,_0x359d6d,_0x29e7cf){const t=_0x5b8aa9['t'];switch(_0x359d6d){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'},_0x29e7cf);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x29e7cf);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'';}}
|