@ckeditor/ckeditor5-revision-history 46.0.1-alpha.1 → 46.0.1-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.css +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.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
- package/theme/revisionssidebar/revisionssidebarheader.css +1 -1
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x17dc(_0x3139c4,_0x589c5e){const _0x5b11d4=_0x5b11();return _0x17dc=function(_0x17dce3,_0x4771e5){_0x17dce3=_0x17dce3-0xfa;let _0x948c3b=_0x5b11d4[_0x17dce3];return _0x948c3b;},_0x17dc(_0x3139c4,_0x589c5e);}const _0x27cfac=_0x17dc;function _0x5b11(){const _0x409942=['893808SAVNpa','listenTo','add','render','fieldView','keystrokes','extendTemplate','revisionNameInputValue','304773OJLwIE','form','220','set','1437855PoSiGh','revisionName','56wAhlnn','value','Name\x20of\x20the\x20revision','focus','arrowright','_createRevisionNameInput','15BBmfeB','trim','81284ivopkc','initializeCssTransitionDisablerMixin','errorText','optional','setTemplate','ck-revision-history-save-revision-form','locale','497176psgqzH','368882rXbuvD','focusTracker','52872HLFwPy','reset','input','arrowleft','ck-responsive-form','arrowup','arrowdown','label','revisionNameInputView','stopPropagation','element'];_0x5b11=function(){return _0x409942;};return _0x5b11();}(function(_0x2a5913,_0x38878e){const _0x28789c=_0x17dc,_0x351c5f=_0x2a5913();while(!![]){try{const _0x43512d=-parseInt(_0x28789c(0x11b))/0x1+-parseInt(_0x28789c(0x113))/0x2*(-parseInt(_0x28789c(0x111))/0x3)+-parseInt(_0x28789c(0x11a))/0x4+parseInt(_0x28789c(0x109))/0x5+-parseInt(_0x28789c(0x11d))/0x6+-parseInt(_0x28789c(0x105))/0x7*(-parseInt(_0x28789c(0x10b))/0x8)+-parseInt(_0x28789c(0xfd))/0x9;if(_0x43512d===_0x38878e)break;else _0x351c5f['push'](_0x351c5f['shift']());}catch(_0x20a58f){_0x351c5f['push'](_0x351c5f['shift']());}}}(_0x5b11,0x2f6ce));import{CssTransitionDisablerMixin as _0x17fc1a,LabeledFieldView as _0x12e05b,View as _0x5c245f,createLabeledInputText as _0x54b7bc,submitHandler as _0x217898}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5ce724,KeystrokeHandler as _0x25ea9e}from'ckeditor5/src/utils.js';import{getTranslation as _0x48fda5}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
|
+
_0x17fc1a(_0x5c245f){[_0x27cfac(0x11c)];[_0x27cfac(0x102)];[_0x27cfac(0xfa)];constructor(_0x32b051,_0x3f3291){const _0x319075=_0x27cfac;super(_0x32b051),this[_0x319075(0x11c)]=new _0x5ce724(),this[_0x319075(0x102)]=new _0x25ea9e(),this[_0x319075(0x108)](_0x319075(0x104),''),this[_0x319075(0xfa)]=this[_0x319075(0x110)](_0x3f3291),this[_0x319075(0x117)]({'tag':_0x319075(0x106),'attributes':{'class':['ck',_0x319075(0x118),_0x319075(0x121)],'tabindex':'-1'},'children':[this[_0x319075(0xfa)]]}),this[_0x319075(0x114)]();}[_0x27cfac(0x100)](){const _0x4be375=_0x27cfac;super[_0x4be375(0x100)](),_0x217898({'view':this}),this[_0x4be375(0x11c)][_0x4be375(0xff)](this[_0x4be375(0xfa)][_0x4be375(0xfc)]),this[_0x4be375(0x102)][_0x4be375(0xfe)](this[_0x4be375(0xfc)]);const _0x169acc=_0x5059a2=>_0x5059a2[_0x4be375(0xfb)]();this[_0x4be375(0x102)][_0x4be375(0x108)](_0x4be375(0x10f),_0x169acc),this[_0x4be375(0x102)][_0x4be375(0x108)](_0x4be375(0x120),_0x169acc),this[_0x4be375(0x102)][_0x4be375(0x108)](_0x4be375(0x122),_0x169acc),this[_0x4be375(0x102)][_0x4be375(0x108)](_0x4be375(0x123),_0x169acc);}[_0x27cfac(0x10e)](){const _0xb68a6b=_0x27cfac;this[_0xb68a6b(0xfa)][_0xb68a6b(0x10e)]();}get[_0x27cfac(0x10a)](){const _0x16c54e=_0x27cfac;return this[_0x16c54e(0xfa)][_0x16c54e(0x101)][_0x16c54e(0xfc)][_0x16c54e(0x10c)][_0x16c54e(0x112)]();}set[_0x27cfac(0x10a)](_0x322c67){const _0x3cb3f9=_0x27cfac;this[_0x3cb3f9(0xfa)][_0x3cb3f9(0x101)][_0x3cb3f9(0xfc)][_0x3cb3f9(0x10c)]=_0x322c67[_0x3cb3f9(0x112)]();}[_0x27cfac(0x11e)](){const _0x4d705b=_0x27cfac;this[_0x4d705b(0xfa)][_0x4d705b(0x101)][_0x4d705b(0xfc)][_0x4d705b(0x10c)]='',this[_0x4d705b(0xfa)][_0x4d705b(0x115)]=null;}[_0x27cfac(0x110)](_0x33aa7f){const _0x3ec9d4=_0x27cfac,_0x430ff4=new _0x12e05b(this[_0x3ec9d4(0x119)],_0x54b7bc),_0x27b5c5=_0x430ff4[_0x3ec9d4(0x101)];_0x27b5c5[_0x3ec9d4(0x103)]({'attributes':{'maxlength':_0x3ec9d4(0x107)}});let _0x239f83=_0x48fda5(this[_0x3ec9d4(0x119)],_0x3ec9d4(0x10d));return!_0x33aa7f&&(_0x239f83+='\x20('+_0x48fda5(this[_0x3ec9d4(0x119)],_0x3ec9d4(0x116))+')'),(_0x430ff4[_0x3ec9d4(0x124)]=_0x239f83,_0x27b5c5['on'](_0x3ec9d4(0x11f),()=>{const _0x119c93=_0x3ec9d4;this[_0x119c93(0x104)]=_0x27b5c5[_0x119c93(0xfc)][_0x119c93(0x10c)][_0x119c93(0x112)]();}),_0x430ff4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x569ffc=_0x4479;(function(_0x51d906,_0x390b92){const _0x353c23=_0x4479,_0x27b461=_0x51d906();while(!![]){try{const _0x30574d=-parseInt(_0x353c23(0x15a))/0x1*(parseInt(_0x353c23(0x159))/0x2)+-parseInt(_0x353c23(0x17e))/0x3*(parseInt(_0x353c23(0x16a))/0x4)+-parseInt(_0x353c23(0x16d))/0x5*(parseInt(_0x353c23(0x149))/0x6)+parseInt(_0x353c23(0x188))/0x7*(-parseInt(_0x353c23(0x167))/0x8)+-parseInt(_0x353c23(0x16b))/0x9*(-parseInt(_0x353c23(0x153))/0xa)+-parseInt(_0x353c23(0x18b))/0xb+parseInt(_0x353c23(0x15b))/0xc*(parseInt(_0x353c23(0x15c))/0xd);if(_0x30574d===_0x390b92)break;else _0x27b461['push'](_0x27b461['shift']());}catch(_0x2ea97d){_0x27b461['push'](_0x27b461['shift']());}}}(_0x1e34,0x67e25));import{Plugin as _0x19b05a}from'ckeditor5/src/core.js';function _0x1e34(){const _0x4b9376=['2284399IetvbI','Dialog','revisionHistory','revisionNameInputView','isPremiumPlugin','menuitem','execute','isOpen','isOfficialPlugin','pluginName','saveRevision','8TbLvwQ','Save\x20current\x20revision','_showDialog','961828KCYafu','18QbHgdr','config','1017795scWMIQ','The\x20revision\x20name\x20cannot\x20be\x20empty.','submit','RevisionTracker','_createSaveRevisionFormView','role','Cancel','show','items','menu','menuBar:revisionHistory','revisionSave','plugins','errorText','componentFactory','locale','Open\x20revision\x20history','6wQVOHK','editor','panelView','render','_saveRevisionFormView','init','delegate','Accept','Revision\x20history','hide','4657737tvKpIe','revisionHistory.requireRevisionName','view','5056469HNlTZj','editing','isReadOnly','isEnabled','showRevisionViewerCallback','ck-button-action','6JwDjGX','add','bind','focus','reset','isReady','children','buttonView','set','addMany','4063090zEgESo','RevisionHistoryUI','get','requires','revisionName','_registerMenuComponent','88LUzmvb','7609wPsPMD','120dDKRoW'];_0x1e34=function(){return _0x4b9376;};return _0x1e34();}import{IconHistory as _0x90e651}from'ckeditor5/src/icons.js';import{createDropdown as _0x3fbfd5,ButtonView as _0x4cc862,ListItemView as _0x45f18d,ListView as _0x3673e3,MenuBarMenuListItemButtonView as _0x158127,MenuBarMenuListItemView as _0x1ecac5,MenuBarMenuListView as _0x134112,MenuBarMenuView as _0x2f9d92}from'ckeditor5/src/ui.js';import{RevisionTracker as _0x2a2d0e}from'../../revisiontracker.js';import{RevisionHistorySaveRevisionFormView as _0x4dc42b}from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x2031aa}from'../../utils/common-translations.js';function _0x4479(_0x7374a9,_0x4c6909){const _0x1e3417=_0x1e34();return _0x4479=function(_0x44798d,_0x29b1be){_0x44798d=_0x44798d-0x148;let _0x5d5941=_0x1e3417[_0x44798d];return _0x5d5941;},_0x4479(_0x7374a9,_0x4c6909);}export class RevisionHistoryUI extends _0x19b05a{static get[_0x569ffc(0x165)](){const _0x591395=_0x569ffc;return _0x591395(0x154);}static get[_0x569ffc(0x164)](){return!0x0;}static get[_0x569ffc(0x160)](){return!0x0;}static get[_0x569ffc(0x156)](){return[_0x2a2d0e];}[_0x569ffc(0x182)];[_0x569ffc(0x183)](){const _0x2754c4=_0x569ffc,_0x428d47=this[_0x2754c4(0x17f)],_0x1be007=_0x428d47[_0x2754c4(0x179)][_0x2754c4(0x155)](_0x2754c4(0x170));_0x428d47['ui'][_0x2754c4(0x17b)][_0x2754c4(0x14a)](_0x2754c4(0x15e),_0x583917=>{const _0x2056d1=_0x2754c4,_0x5bff4c=_0x3fbfd5(_0x583917),_0x3364c2=_0x5bff4c[_0x2056d1(0x180)][_0x2056d1(0x14f)],_0xeb6d8=new _0x3673e3(_0x583917),_0x30202d=new _0x45f18d(_0x583917),_0x20adb8=new _0x4cc862(_0x583917),_0x3e5dc5=new _0x45f18d(_0x583917),_0x3b7b15=new _0x4cc862(_0x583917);return _0x5bff4c[_0x2056d1(0x14b)](_0x2056d1(0x18e))['to'](_0x1be007,_0x2056d1(0x14e),_0x1be007,_0x2056d1(0x18e),_0x428d47,_0x2056d1(0x18d),(_0x4a0600,_0x31b290,_0x3da1dd)=>_0x4a0600&&_0x31b290&&!_0x3da1dd),_0x5bff4c[_0x2056d1(0x150)][_0x2056d1(0x151)]({'icon':_0x90e651,'label':_0x2031aa(_0x583917,_0x2056d1(0x186)),'tooltip':!0x0}),_0x20adb8[_0x2056d1(0x151)]({'label':_0x2031aa(_0x583917,_0x2056d1(0x168)),'withText':!0x0,'role':_0x2056d1(0x161)}),_0x20adb8[_0x2056d1(0x14b)](_0x2056d1(0x18e))['to'](_0x1be007,_0x2056d1(0x14e),_0x1be007,_0x2056d1(0x18e),_0x428d47,_0x2056d1(0x18d),(_0x1c64e8,_0x4efaf6,_0x1f65a2)=>_0x1c64e8&&_0x4efaf6&&!_0x1f65a2),_0x20adb8['on'](_0x2056d1(0x162),()=>this[_0x2056d1(0x169)]()),_0x3b7b15[_0x2056d1(0x151)]({'label':_0x2031aa(_0x583917,_0x2056d1(0x17d)),'withText':!0x0,'role':_0x2056d1(0x161)}),_0x3b7b15[_0x2056d1(0x14b)](_0x2056d1(0x18e))['to'](_0x1be007,_0x2056d1(0x14e),_0x428d47,_0x2056d1(0x18d),(_0x2f06b5,_0x39e9f2)=>_0x2f06b5&&!_0x39e9f2),_0x3b7b15['on'](_0x2056d1(0x162),()=>{const _0x47ee29=_0x2056d1;_0x428d47[_0x47ee29(0x16c)][_0x47ee29(0x155)](_0x47ee29(0x15e))[_0x47ee29(0x18f)](),_0x5bff4c[_0x47ee29(0x163)]=!0x1,_0x428d47[_0x47ee29(0x18c)][_0x47ee29(0x18a)][_0x47ee29(0x14c)]();}),_0x30202d[_0x2056d1(0x14f)][_0x2056d1(0x14a)](_0x20adb8),_0x3e5dc5[_0x2056d1(0x14f)][_0x2056d1(0x14a)](_0x3b7b15),_0xeb6d8[_0x2056d1(0x172)]=_0x2056d1(0x176),_0xeb6d8[_0x2056d1(0x175)][_0x2056d1(0x152)]([_0x30202d,_0x3e5dc5]),_0x3364c2[_0x2056d1(0x14a)](_0xeb6d8),_0x5bff4c;}),_0x428d47['ui'][_0x2754c4(0x17b)][_0x2754c4(0x14a)](_0x2754c4(0x177),()=>this[_0x2754c4(0x158)]());}[_0x569ffc(0x158)](){const _0x4ce992=_0x569ffc,_0x478c5b=this[_0x4ce992(0x17f)],_0x537fce=_0x478c5b[_0x4ce992(0x17c)],_0x15b09a=new _0x2f9d92(_0x537fce),_0x48328c=new _0x134112(_0x537fce);_0x15b09a[_0x4ce992(0x150)][_0x4ce992(0x151)]({'icon':_0x90e651,'label':_0x2031aa(_0x537fce,_0x4ce992(0x186))});const _0x3b0240=new _0x1ecac5(_0x537fce,_0x15b09a),_0x484da4=new _0x158127(_0x537fce);_0x484da4[_0x4ce992(0x151)]({'label':_0x2031aa(_0x537fce,_0x4ce992(0x168))}),_0x484da4[_0x4ce992(0x184)](_0x4ce992(0x162))['to'](_0x15b09a),_0x484da4['on'](_0x4ce992(0x162),()=>{const _0x1158b8=_0x4ce992;this[_0x1158b8(0x169)]();}),_0x3b0240[_0x4ce992(0x14f)][_0x4ce992(0x14a)](_0x484da4),_0x48328c[_0x4ce992(0x175)][_0x4ce992(0x14a)](_0x3b0240);const _0x595bc0=new _0x1ecac5(_0x537fce,_0x15b09a),_0x38d146=new _0x158127(_0x537fce);return _0x38d146[_0x4ce992(0x151)]({'label':_0x2031aa(_0x537fce,_0x4ce992(0x17d))}),_0x38d146[_0x4ce992(0x184)](_0x4ce992(0x162))['to'](_0x15b09a),_0x38d146['on'](_0x4ce992(0x162),()=>{const _0x2d37b0=_0x4ce992;_0x478c5b[_0x2d37b0(0x16c)][_0x2d37b0(0x155)](_0x2d37b0(0x15e))[_0x2d37b0(0x18f)]();}),_0x595bc0[_0x4ce992(0x14f)][_0x4ce992(0x14a)](_0x38d146),_0x48328c[_0x4ce992(0x175)][_0x4ce992(0x14a)](_0x595bc0),_0x15b09a[_0x4ce992(0x180)][_0x4ce992(0x14f)][_0x4ce992(0x14a)](_0x48328c),_0x15b09a;}[_0x569ffc(0x169)](){const _0x6eb54d=_0x569ffc,_0x58f516=this[_0x6eb54d(0x17f)],_0x25ae08=_0x58f516[_0x6eb54d(0x17c)],_0xa8819b=_0x58f516[_0x6eb54d(0x179)][_0x6eb54d(0x155)](_0x6eb54d(0x15d)),_0x40f964=_0x58f516[_0x6eb54d(0x179)][_0x6eb54d(0x155)](_0x6eb54d(0x170));function _0x324b9f(_0x35ff66){const _0x3b6f8c=_0x6eb54d;_0x58f516[_0x3b6f8c(0x16c)][_0x3b6f8c(0x155)](_0x3b6f8c(0x189))&&''===_0x35ff66[_0x3b6f8c(0x157)]?_0x35ff66[_0x3b6f8c(0x15f)][_0x3b6f8c(0x17a)]=_0x2031aa(_0x25ae08,_0x3b6f8c(0x16e)):(_0x58f516[_0x3b6f8c(0x179)][_0x3b6f8c(0x155)](_0x2a2d0e)[_0x3b6f8c(0x166)]({'name':_0x35ff66[_0x3b6f8c(0x157)]}),_0xa8819b[_0x3b6f8c(0x187)]());}this[_0x6eb54d(0x182)]||(this[_0x6eb54d(0x171)](),this[_0x6eb54d(0x182)]['on'](_0x6eb54d(0x16f),()=>_0x324b9f(this[_0x6eb54d(0x182)]))),this[_0x6eb54d(0x182)][_0x6eb54d(0x14d)](),_0xa8819b[_0x6eb54d(0x174)]({'id':_0x6eb54d(0x178),'title':_0x2031aa(_0x25ae08,_0x6eb54d(0x168)),'isModal':!0x0,'content':this[_0x6eb54d(0x182)],'actionButtons':[{'label':_0x2031aa(_0x58f516[_0x6eb54d(0x17c)],_0x6eb54d(0x173)),'withText':!0x0,'onExecute':()=>_0xa8819b[_0x6eb54d(0x187)]()},{'label':_0x2031aa(_0x58f516[_0x6eb54d(0x17c)],_0x6eb54d(0x185)),'class':_0x6eb54d(0x148),'withText':!0x0,'onCreate'(_0x529cf9){const _0x1f5c03=_0x6eb54d;_0x529cf9[_0x1f5c03(0x14b)](_0x1f5c03(0x18e))['to'](_0x40f964,_0x1f5c03(0x14e),_0x40f964,_0x1f5c03(0x18e),_0x58f516,_0x1f5c03(0x18d),(_0x29bb35,_0x739962,_0x23c92f)=>_0x29bb35&&_0x739962&&!_0x23c92f);},'onExecute':()=>_0x324b9f(this[_0x6eb54d(0x182)])}]});}[_0x569ffc(0x171)](){const _0x60500=_0x569ffc,_0xa98cd2=this[_0x60500(0x17f)],_0x6afc8d=_0xa98cd2[_0x60500(0x17c)];this[_0x60500(0x182)]=new _0x4dc42b(_0x6afc8d,_0xa98cd2[_0x60500(0x16c)][_0x60500(0x155)](_0x60500(0x189))),this[_0x60500(0x182)][_0x60500(0x181)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x274c0f=_0x432c;(function(_0x3e5b7d,_0x35af54){const _0x37c640=_0x432c,_0x459d70=_0x3e5b7d();while(!![]){try{const _0x580ba2=-parseInt(_0x37c640(0x1da))/0x1+-parseInt(_0x37c640(0x19e))/0x2*(-parseInt(_0x37c640(0x1c0))/0x3)+-parseInt(_0x37c640(0x1c4))/0x4+parseInt(_0x37c640(0x1b2))/0x5+-parseInt(_0x37c640(0x195))/0x6+-parseInt(_0x37c640(0x1b1))/0x7+parseInt(_0x37c640(0x1c8))/0x8;if(_0x580ba2===_0x35af54)break;else _0x459d70['push'](_0x459d70['shift']());}catch(_0x5edd07){_0x459d70['push'](_0x459d70['shift']());}}}(_0x5222,0x72c71));function _0x432c(_0x37687f,_0xe74c2a){const _0x52221e=_0x5222();return _0x432c=function(_0x432c58,_0x45946a){_0x432c58=_0x432c58-0x18a;let _0x5962df=_0x52221e[_0x432c58];return _0x5962df;},_0x432c(_0x37687f,_0xe74c2a);}import{Plugin as _0x495d22}from'ckeditor5/src/core.js';import{RevisionsSidebarView as _0x28e6fe}from'./revisionssidebarview.js';import{RevisionViewer as _0x2e235e}from'../../revisionviewer.js';class f extends _0x495d22{[_0x274c0f(0x1cf)];[_0x274c0f(0x1d1)];[_0x274c0f(0x1ba)];static [_0x274c0f(0x1a3)]=[_0x274c0f(0x1a6),_0x274c0f(0x19c),_0x274c0f(0x1c6)];static [_0x274c0f(0x1a7)]=(function(){const _0x15bc70=_0x274c0f;return{'compareAgainstSelected':{'name':_0x15bc70(0x1b9),'action':({plugins:i},s)=>{const _0x4538f6=_0x15bc70,e=i[_0x4538f6(0x1ce)](_0x2e235e),n=e[_0x4538f6(0x18b)];let r=e[_0x4538f6(0x1aa)][_0x4538f6(0x1d9)],o=s['id'];n[_0x4538f6(0x1c1)](r)>n[_0x4538f6(0x1c1)](o)&&([r,o]=[o,r]),e[_0x4538f6(0x1b6)](r,o);},'isVisible':({plugins:i},s)=>{const _0x140e58=_0x15bc70,e=i[_0x140e58(0x1ce)](_0x2e235e);return!(e[_0x140e58(0x18b)][_0x140e58(0x1a0)](e[_0x140e58(0x1aa)])[_0x140e58(0x1cd)]>0x2)&&!s[_0x140e58(0x191)];}},'restoreRevision':{'name':_0x15bc70(0x1c5),'action':(i,{id:s})=>{const _0x291979=_0x15bc70;i[_0x291979(0x1ac)][_0x291979(0x1ce)](_0x291979(0x198))[_0x291979(0x19f)](s);},'isVisible':({plugins:i},s)=>!!i[_0x15bc70(0x1ce)](_0x2e235e)[_0x15bc70(0x18b)][_0x15bc70(0x1d4)](s['id'])},'nameRevision':{'name':_0x15bc70(0x18d),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0x4211f9=_0x15bc70,n=i[_0x4211f9(0x1ce)](_0x2e235e),r=n[_0x4211f9(0x18b)][_0x4211f9(0x199)](s);n[_0x4211f9(0x1b6)](s,r),e[_0x4211f9(0x1af)](),e[_0x4211f9(0x1bd)][_0x4211f9(0x190)]();}}};}());static get[_0x274c0f(0x1b7)](){const _0x5a53ee=_0x274c0f;return _0x5a53ee(0x1b3);}static get[_0x274c0f(0x1a5)](){return!0x0;}static get[_0x274c0f(0x19b)](){return!0x0;}static get[_0x274c0f(0x196)](){return[_0x2e235e];}constructor(_0x4b9c6f){const _0x292055=_0x274c0f;super(_0x4b9c6f),this[_0x292055(0x1cf)]=_0x4b9c6f[_0x292055(0x1cc)][_0x292055(0x1ce)](_0x2e235e),this[_0x292055(0x1d1)]=this[_0x292055(0x1cf)][_0x292055(0x18b)],this[_0x292055(0x1ba)]=null;}[_0x274c0f(0x1c3)](){const _0x156b2d=_0x274c0f,_0xa4fa6e=this[_0x156b2d(0x1d1)][_0x156b2d(0x1c9)],_0x1c7f39=this[_0x156b2d(0x1d7)](),_0x46316a=this[_0x156b2d(0x193)][_0x156b2d(0x1ac)][_0x156b2d(0x1ce)](_0x156b2d(0x1d5));this[_0x156b2d(0x1ba)]=new _0x28e6fe(this[_0x156b2d(0x193)][_0x156b2d(0x1b5)],_0xa4fa6e,_0x1c7f39,this[_0x156b2d(0x193)][_0x156b2d(0x1ac)][_0x156b2d(0x1ce)](_0x156b2d(0x1bf))),this[_0x156b2d(0x1ba)]['on'](_0x156b2d(0x1d6),this[_0x156b2d(0x19a)][_0x156b2d(0x1d3)](this)),this[_0x156b2d(0x1ba)]['on'](_0x156b2d(0x1d0),this[_0x156b2d(0x1c7)][_0x156b2d(0x1d3)](this)),this[_0x156b2d(0x1ba)][_0x156b2d(0x1d3)](_0x156b2d(0x194))['to'](this[_0x156b2d(0x1cf)]),this[_0x156b2d(0x1ba)][_0x156b2d(0x18a)]['on'](_0x156b2d(0x1a1),(_0x10fbca,_0x2981a4)=>{const _0x3b6087=_0x156b2d;_0x2981a4[_0x3b6087(0x1bb)]['on'](_0x3b6087(0x1a1),(_0x2425b7,_0x5f20fb)=>{const _0x12005f=_0x3b6087;_0x5f20fb[_0x12005f(0x1d3)](_0x12005f(0x194),_0x12005f(0x1d2))['to'](this[_0x12005f(0x1cf)]);});}),this[_0x156b2d(0x1ba)][_0x156b2d(0x1cb)](),this[_0x156b2d(0x18f)](this[_0x156b2d(0x193)][_0x156b2d(0x18e)],_0x156b2d(0x1c2),this[_0x156b2d(0x1b0)][_0x156b2d(0x1d3)](this)),this[_0x156b2d(0x18f)](this[_0x156b2d(0x1cf)],_0x156b2d(0x1b4),this[_0x156b2d(0x1ad)][_0x156b2d(0x1d3)](this)),_0x46316a[_0x156b2d(0x18c)](this[_0x156b2d(0x1ba)][_0x156b2d(0x1a4)]);}[_0x274c0f(0x1a8)](){const _0xf3299b=_0x274c0f;this[_0xf3299b(0x1ba)][_0xf3299b(0x1a4)][_0xf3299b(0x1be)](),this[_0xf3299b(0x1ba)][_0xf3299b(0x1a8)]();}[_0x274c0f(0x1b0)](){const _0x396796=_0x274c0f,_0x4a14aa=this[_0x396796(0x1d1)][_0x396796(0x1b8)](0x0);if(_0x4a14aa){const _0x16b95e=this[_0x396796(0x1d1)][_0x396796(0x199)](_0x4a14aa['id']);this[_0x396796(0x1cf)][_0x396796(0x1b6)](_0x4a14aa,_0x16b95e);}}[_0x274c0f(0x19a)](_0x1f5f76,_0x377e67){const _0x9f316d=_0x274c0f,_0xef272b=this[_0x9f316d(0x1d1)][_0x9f316d(0x1b8)](_0x377e67['id']),_0x8a45d2=this[_0x9f316d(0x1d1)][_0x9f316d(0x199)](_0xef272b['id']);this[_0x9f316d(0x1cf)][_0x9f316d(0x1b6)](_0xef272b,_0x8a45d2);}[_0x274c0f(0x1c7)](_0x176cfc,_0x47cd7a){const _0x266f97=_0x274c0f;this[_0x266f97(0x1d1)][_0x266f97(0x1b8)](_0x47cd7a['id'])[_0x266f97(0x197)](_0x47cd7a[_0x266f97(0x1d8)]);}[_0x274c0f(0x1ad)](_0x46abb5,_0x318bc4,_0x250682){const _0x26ad92=_0x274c0f,_0x5bfad0=this[_0x26ad92(0x1d1)][_0x26ad92(0x1a0)](_0x250682);_0x5bfad0[_0x26ad92(0x1cd)]>0x2?(this[_0x26ad92(0x1ba)][_0x26ad92(0x1ae)](_0x5bfad0),this[_0x26ad92(0x1ba)][_0x26ad92(0x1a9)](null)):(this[_0x26ad92(0x1ba)][_0x26ad92(0x1ae)]([]),this[_0x26ad92(0x1ba)][_0x26ad92(0x1a9)](_0x5bfad0[0x0]));}[_0x274c0f(0x1d7)](){const _0x7674b7=_0x274c0f,_0x5f1e3b=this[_0x7674b7(0x193)],_0x3c0881=f[_0x7674b7(0x1a7)],_0xd121ea=_0x5f1e3b[_0x7674b7(0x1ac)][_0x7674b7(0x1ce)](_0x7674b7(0x1ab))||f[_0x7674b7(0x1a3)];if(_0xd121ea[_0x7674b7(0x1cd)])return _0xd121ea[_0x7674b7(0x1bc)](_0x2b0de9=>{const _0x94f8bd=_0x7674b7,_0x4628cc=_0x94f8bd(0x1ca)==typeof _0x2b0de9?Object[_0x94f8bd(0x192)]({},_0x3c0881[_0x2b0de9]):_0x2b0de9;return _0x4628cc[_0x94f8bd(0x1a2)]=_0x4628cc[_0x94f8bd(0x1a2)][_0x94f8bd(0x1d3)](this,_0x5f1e3b),_0x4628cc[_0x94f8bd(0x19d)]&&(_0x4628cc[_0x94f8bd(0x19d)]=_0x4628cc[_0x94f8bd(0x19d)][_0x94f8bd(0x1d3)](this,_0x5f1e3b)),_0x4628cc;});}}export{f as RevisionsSidebar};function _0x5222(){const _0xdee69d=['compareAgainstSelected','availableRevisionActions','destroy','selectRevision','diff','revisionHistory.revisionActions','config','_handleDiffChange','highlightRevisions','focus','_handleEditorDataReady','1990366GQyFjq','1529240GCDaPW','RevisionsSidebar','change:diff','locale','compare','pluginName','getRevision','Compare\x20against\x20selected','_sidebarView','revisionViews','map','fieldView','remove','revisionHistory.requireRevisionName','2298NLkhVq','getIndex','ready','init','1665940hCdScD','Restore\x20this\x20revision','nameRevision','_handleRevisionSetName','5405224cxPFeV','_revisions','string','render','plugins','length','get','_revisionViewer','revisionSetName','_revisionsRepository','isReady','bind','getLaterVisibleRevision','revisionHistory.viewerSidebarContainer','revisionSelected','_createRevisionActions','name','newRevisionId','517777XjFSMV','timePeriodViews','repository','appendChild','Name\x20this\x20revision','data','listenTo','select','isSelected','assign','editor','isEnabled','1028244RvuAVO','requires','setName','revisionHistory','getEarlierVisibleRevision','_handleRevisionSelected','isPremiumPlugin','restoreRevision','isVisible','2294LqRihU','restoreRevisionCallback','getRevisionsInDiff','add','action','defaultRevisionActions','element','isOfficialPlugin'];_0x5222=function(){return _0xdee69d;};return _0x5222();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x8670(_0x24406b,_0xdf501){const _0x1d91a7=_0x1d91();return _0x8670=function(_0x8670b,_0x57322d){_0x8670b=_0x8670b-0x76;let _0x23a5c9=_0x1d91a7[_0x8670b];return _0x23a5c9;},_0x8670(_0x24406b,_0xdf501);}(function(_0x33cb8d,_0x474a29){const _0x24dcdb=_0x8670,_0x941f23=_0x33cb8d();while(!![]){try{const _0x5d6cf9=-parseInt(_0x24dcdb(0x85))/0x1+-parseInt(_0x24dcdb(0x82))/0x2+-parseInt(_0x24dcdb(0x79))/0x3*(-parseInt(_0x24dcdb(0x76))/0x4)+parseInt(_0x24dcdb(0x80))/0x5+-parseInt(_0x24dcdb(0x77))/0x6*(-parseInt(_0x24dcdb(0x86))/0x7)+-parseInt(_0x24dcdb(0x84))/0x8+parseInt(_0x24dcdb(0x7d))/0x9;if(_0x5d6cf9===_0x474a29)break;else _0x941f23['push'](_0x941f23['shift']());}catch(_0x1ed918){_0x941f23['push'](_0x941f23['shift']());}}}(_0x1d91,0x5e1c1));import{View as _0x576098,IconView as _0x2f6361}from'ckeditor5/src/ui.js';import{getTranslation as _0x5138a8}from'../../utils/common-translations.js';function _0x1d91(){const _0x48f3fd=['2352544KaZJUx','746234jMqXRs','282555JFiwDy','156132wNEebi','24EYboOC','span','21SEQZfd','setTemplate','ck-revision-history-sidebar__header','div','3530151twwyMh','ck-reset_all','ck-revision-history-sidebar__header__label','3104005LgckoP','content','43912HrfJQI','Revision\x20history'];_0x1d91=function(){return _0x48f3fd;};return _0x1d91();}import{IconHistory as _0x425c88}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x576098{constructor(_0x2c3382){const _0x35900f=_0x8670;super(_0x2c3382);const _0x4136b6=new _0x2f6361();_0x4136b6[_0x35900f(0x81)]=_0x425c88,this[_0x35900f(0x7a)]({'tag':_0x35900f(0x7c),'attributes':{'class':['ck',_0x35900f(0x7e),_0x35900f(0x7b)]},'children':[_0x4136b6,{'tag':_0x35900f(0x78),'attributes':{'class':['ck',_0x35900f(0x7f)]},'children':[_0x5138a8(_0x2c3382,_0x35900f(0x83))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x32aa(_0x5dbaf3,_0x3b9927){const _0x411479=_0x4114();return _0x32aa=function(_0x32aaed,_0x3c6279){_0x32aaed=_0x32aaed-0x172;let _0x642aa0=_0x411479[_0x32aaed];return _0x642aa0;},_0x32aa(_0x5dbaf3,_0x3b9927);}const _0x2b804e=_0x32aa;(function(_0x21cb05,_0x440a55){const _0x47a2f6=_0x32aa,_0x583b6a=_0x21cb05();while(!![]){try{const _0x48289b=parseInt(_0x47a2f6(0x189))/0x1+parseInt(_0x47a2f6(0x178))/0x2+-parseInt(_0x47a2f6(0x179))/0x3+-parseInt(_0x47a2f6(0x17b))/0x4+-parseInt(_0x47a2f6(0x185))/0x5*(parseInt(_0x47a2f6(0x17c))/0x6)+parseInt(_0x47a2f6(0x173))/0x7+parseInt(_0x47a2f6(0x190))/0x8*(parseInt(_0x47a2f6(0x17a))/0x9);if(_0x48289b===_0x440a55)break;else _0x583b6a['push'](_0x583b6a['shift']());}catch(_0x5452c2){_0x583b6a['push'](_0x583b6a['shift']());}}}(_0x4114,0x5f64a));import{View as _0x1c697f}from'ckeditor5/src/ui.js';import{RevisionView as _0x18d480}from'../revision/revisionview.js';function _0x4114(){const _0x1d612b=['1188063kTVmNl','2435556lALisE','12XzjUAq','_revisionActions','ck-revision-history-sidebar__time-period__revisions','localizedPeriodName','select','ck-revision-history-sidebar__time-period','div','_requireRevisionName','find','403870OsqbdV','createCollection','setTemplate','delegate','591535ZIegyk','removeRevision','uiLanguage','span','ck-revision-history-sidebar__time-period__label','locale','add','40ADAvOA','addRevision','732942KuENLx','revisionViews','remove','setName','startDate','210776sbBKsx','901491hHhBUn'];_0x4114=function(){return _0x1d612b;};return _0x4114();}import{getDateTimePeriodInfo as _0x206980}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x1c697f{[_0x2b804e(0x177)];[_0x2b804e(0x174)];[_0x2b804e(0x17d)];[_0x2b804e(0x183)];constructor(_0x4326b2,_0xd03eb1,_0x1cb37d,_0x559ee1){const _0x4fa1cc=_0x2b804e;super(_0x4326b2);const _0x1820a9=_0x206980(_0xd03eb1,this[_0x4fa1cc(0x18e)][_0x4fa1cc(0x18b)])[_0x4fa1cc(0x17f)];this[_0x4fa1cc(0x177)]=_0xd03eb1,this[_0x4fa1cc(0x174)]=this[_0x4fa1cc(0x186)](),this[_0x4fa1cc(0x17d)]=_0x1cb37d,this[_0x4fa1cc(0x183)]=_0x559ee1,this[_0x4fa1cc(0x174)][_0x4fa1cc(0x188)](_0x4fa1cc(0x180))['to'](this),this[_0x4fa1cc(0x174)][_0x4fa1cc(0x188)](_0x4fa1cc(0x176))['to'](this),this[_0x4fa1cc(0x187)]({'tag':_0x4fa1cc(0x182),'attributes':{'class':['ck',_0x4fa1cc(0x181)]},'children':[{'tag':_0x4fa1cc(0x18c),'attributes':{'class':['ck',_0x4fa1cc(0x18d)]},'children':[{'text':_0x1820a9}]},{'tag':_0x4fa1cc(0x182),'attributes':{'class':['ck',_0x4fa1cc(0x17e)]},'children':this[_0x4fa1cc(0x174)]}]});}[_0x2b804e(0x172)](_0x210c2e){const _0x382880=_0x2b804e,_0x16aa4d=new _0x18d480(this[_0x382880(0x18e)],_0x210c2e,this[_0x382880(0x17d)],this[_0x382880(0x183)]);this[_0x382880(0x174)][_0x382880(0x18f)](_0x16aa4d);}[_0x2b804e(0x18a)](_0x356718){const _0x44f12d=_0x2b804e,_0x5a754d=this[_0x44f12d(0x174)][_0x44f12d(0x184)](_0x5f49c0=>_0x5f49c0['id']===_0x356718['id']);this[_0x44f12d(0x174)][_0x44f12d(0x175)](_0x5a754d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5344c6=_0x4092;function _0x4092(_0x59a2e9,_0x42bfe5){const _0x27c9bf=_0x27c9();return _0x4092=function(_0x40925d,_0x33ff9b){_0x40925d=_0x40925d-0x78;let _0x7a519e=_0x27c9bf[_0x40925d];return _0x7a519e;},_0x4092(_0x59a2e9,_0x42bfe5);}(function(_0x44184e,_0x1408d9){const _0x27f228=_0x4092,_0x2c15c0=_0x44184e();while(!![]){try{const _0x350768=-parseInt(_0x27f228(0xac))/0x1+parseInt(_0x27f228(0x97))/0x2+parseInt(_0x27f228(0x99))/0x3+-parseInt(_0x27f228(0x7f))/0x4*(-parseInt(_0x27f228(0x9a))/0x5)+parseInt(_0x27f228(0x8f))/0x6+parseInt(_0x27f228(0x9d))/0x7*(-parseInt(_0x27f228(0xa6))/0x8)+-parseInt(_0x27f228(0x9c))/0x9;if(_0x350768===_0x1408d9)break;else _0x2c15c0['push'](_0x2c15c0['shift']());}catch(_0x195e2f){_0x2c15c0['push'](_0x2c15c0['shift']());}}}(_0x27c9,0x9c8c7));function _0x27c9(){const _0x352ad8=['div','removeRevision','bindTemplate','select','uiLanguage','38603nKochf','_revisions','selectRevision','setTemplate','set','render','locale','add','isEnabled','3350416TjIANI','ck-revision-history-sidebar__timeline','map','_addRevision','createCollection','highlight','fire','ck-disabled','revisionSelected','deselect','get','_requireRevisionName','setName','ck-rounded-corners','createdAt','startDate','1558698TTqLhb','flat','ck-reset','revisionViews','find','getTime','timePeriodViews','unhighlight','72944yECxnl','some','2523297eOtfuK','5nxBTBy','highlightRevisions','6294807UDaqKo','7puuDbj','_getTimePeriodViewByStartDate','_removeRevision','revisionSetName','_revisionActions','delegate','addRevision','ck-revision-history-sidebar','remove','4765672eRyaqr'];_0x27c9=function(){return _0x352ad8;};return _0x27c9();}import{View as _0x5633d0}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x3f996a}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x3118e5}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x937bdb}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x5633d0{[_0x5344c6(0x95)];[_0x5344c6(0xad)];[_0x5344c6(0xa1)];[_0x5344c6(0x8a)];constructor(_0x397ecd,_0xf6403e,_0x14db2a,_0x55818f){const _0x23367e=_0x5344c6;super(_0x397ecd);const _0x65c899=this[_0x23367e(0xa9)];this[_0x23367e(0x95)]=this[_0x23367e(0x83)](),this[_0x23367e(0x95)][_0x23367e(0xa2)](_0x23367e(0xaa))['to'](this),this[_0x23367e(0x95)][_0x23367e(0xa2)](_0x23367e(0x8b))['to'](this),this[_0x23367e(0xad)]=_0xf6403e,this[_0x23367e(0xa1)]=_0x14db2a,this[_0x23367e(0x8a)]=_0x55818f,this['on'](_0x23367e(0xaa),(_0x8b5c5a,_0x72ff1c)=>{const _0x233c91=_0x23367e;this[_0x233c91(0x85)](_0x233c91(0x87),_0x72ff1c);}),this['on'](_0x23367e(0x8b),(_0x45833c,_0x1ffba7)=>{const _0x578dd2=_0x23367e;this[_0x578dd2(0x85)](_0x578dd2(0xa0),_0x1ffba7);}),this[_0x23367e(0x7a)](_0x23367e(0x7e),!0x1),this[_0x23367e(0x79)]({'tag':_0x23367e(0xa7),'attributes':{'class':['ck',_0x23367e(0x91),_0x23367e(0x8c),_0x23367e(0xa4)]},'children':[new _0x3118e5(_0x397ecd),{'tag':_0x23367e(0xa7),'attributes':{'class':['ck',_0x23367e(0x80),_0x65c899['if'](_0x23367e(0x7e),_0x23367e(0x86),_0x469989=>!_0x469989)]},'children':this[_0x23367e(0x95)]}]});}[_0x5344c6(0x7b)](){const _0x40e053=_0x5344c6;super[_0x40e053(0x7b)]();for(const _0xf4f59c of this[_0x40e053(0xad)])this[_0x40e053(0x82)](_0xf4f59c);this[_0x40e053(0xad)]['on'](_0x40e053(0x7d),(_0x1f9f01,_0x5e5957)=>{const _0x5c7329=_0x40e053;this[_0x5c7329(0x82)](_0x5e5957);}),this[_0x40e053(0xad)]['on'](_0x40e053(0xa5),(_0x2e2a63,_0x483abc)=>{const _0x3a6d38=_0x40e053;this[_0x3a6d38(0x9f)](_0x483abc);});}get[_0x5344c6(0x92)](){const _0x2f2b2c=_0x5344c6;return this[_0x2f2b2c(0x95)][_0x2f2b2c(0x81)](_0x5e72aa=>_0x5e72aa[_0x2f2b2c(0x92)][_0x2f2b2c(0x81)](_0x6fb937=>_0x6fb937))[_0x2f2b2c(0x90)]();}[_0x5344c6(0x78)](_0x36aaba){const _0x182486=_0x5344c6;for(const _0x14d4d8 of this[_0x182486(0x92)])_0x36aaba&&_0x36aaba['id']===_0x14d4d8['id']?_0x14d4d8[_0x182486(0xaa)]():_0x14d4d8[_0x182486(0x88)]();}[_0x5344c6(0x9b)](_0x3e59ee){const _0x3078bb=_0x5344c6;for(const _0x5ead06 of this[_0x3078bb(0x92)])_0x3e59ee[_0x3078bb(0x98)](({id:_0x2bdf89})=>_0x2bdf89===_0x5ead06['id'])?_0x5ead06[_0x3078bb(0x84)]():_0x5ead06[_0x3078bb(0x96)]();}[_0x5344c6(0x82)](_0x237907){const _0x5b4b54=_0x5344c6,_0x5574c0=_0x937bdb(_0x237907[_0x5b4b54(0x8d)],this[_0x5b4b54(0x7c)][_0x5b4b54(0xab)])[_0x5b4b54(0x8e)];let _0x52823b=this[_0x5b4b54(0x95)][_0x5b4b54(0x89)](0x0);_0x52823b&&_0x52823b[_0x5b4b54(0x8e)][_0x5b4b54(0x94)]()===_0x5574c0[_0x5b4b54(0x94)]()||(_0x52823b=new _0x3f996a(this[_0x5b4b54(0x7c)],_0x5574c0,this[_0x5b4b54(0xa1)],this[_0x5b4b54(0x8a)]),this[_0x5b4b54(0x95)][_0x5b4b54(0x7d)](_0x52823b)),_0x52823b[_0x5b4b54(0xa3)](_0x237907);}[_0x5344c6(0x9f)](_0x318b0a){const _0x20e926=_0x5344c6,_0x14ea46=_0x937bdb(_0x318b0a[_0x20e926(0x8d)],this[_0x20e926(0x7c)][_0x20e926(0xab)])[_0x20e926(0x8e)];this[_0x20e926(0x9e)](_0x14ea46)[_0x20e926(0xa8)](_0x318b0a);}[_0x5344c6(0x9e)](_0x5d04f6){const _0x2a9466=_0x5344c6;return this[_0x2a9466(0x95)][_0x2a9466(0x93)](_0x85c8e3=>_0x85c8e3[_0x2a9466(0x8e)][_0x2a9466(0x94)]()===_0x5d04f6[_0x2a9466(0x94)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x522c(_0x280851,_0x10613b){const _0x30188c=_0x3018();return _0x522c=function(_0x522cd5,_0x58d5a2){_0x522cd5=_0x522cd5-0x172;let _0x5a2440=_0x30188c[_0x522cd5];return _0x5a2440;},_0x522c(_0x280851,_0x10613b);}(function(_0x372ce8,_0x594df1){const _0x1afd05=_0x522c,_0x3e2204=_0x372ce8();while(!![]){try{const _0x239ace=parseInt(_0x1afd05(0x189))/0x1*(parseInt(_0x1afd05(0x17c))/0x2)+parseInt(_0x1afd05(0x17a))/0x3*(parseInt(_0x1afd05(0x17b))/0x4)+-parseInt(_0x1afd05(0x180))/0x5+parseInt(_0x1afd05(0x187))/0x6*(parseInt(_0x1afd05(0x173))/0x7)+-parseInt(_0x1afd05(0x17f))/0x8+parseInt(_0x1afd05(0x178))/0x9+-parseInt(_0x1afd05(0x181))/0xa;if(_0x239ace===_0x594df1)break;else _0x3e2204['push'](_0x3e2204['shift']());}catch(_0xd1dc4b){_0x3e2204['push'](_0x3e2204['shift']());}}}(_0x3018,0x79905));import{DateTime as _0x1d0596}from'luxon';export function getDateTimePeriodInfo(_0x3dcee9,_0x3ca3c2){const _0x32f707=_0x522c,_0x26fbb6=_0x1d0596[_0x32f707(0x174)](_0x3dcee9)[_0x32f707(0x17d)](_0x3ca3c2),_0x5832d1=_0x1d0596[_0x32f707(0x186)](),_0x1df80e=_0x5832d1[_0x32f707(0x182)]({'days':0x1})[_0x32f707(0x183)](_0x32f707(0x179));let _0x3dea69,_0x41dd12;return _0x26fbb6[_0x32f707(0x184)](_0x5832d1,_0x32f707(0x179))?(_0x3dea69=_0x26fbb6[_0x32f707(0x183)](_0x32f707(0x179))[_0x32f707(0x185)](),_0x41dd12=_0x26fbb6[_0x32f707(0x177)]()):_0x26fbb6[_0x32f707(0x184)](_0x1df80e,_0x32f707(0x179))?(_0x3dea69=_0x1df80e[_0x32f707(0x185)](),_0x41dd12=_0x26fbb6[_0x32f707(0x177)]()):_0x26fbb6[_0x32f707(0x184)](_0x5832d1,_0x32f707(0x17e))?(_0x3dea69=_0x26fbb6[_0x32f707(0x183)](_0x32f707(0x17e))[_0x32f707(0x185)](),_0x41dd12=_0x26fbb6[_0x32f707(0x172)]||''):_0x26fbb6[_0x32f707(0x184)](_0x5832d1,_0x32f707(0x176))?(_0x3dea69=_0x26fbb6[_0x32f707(0x183)](_0x32f707(0x175))[_0x32f707(0x185)](),_0x41dd12=_0x26fbb6[_0x32f707(0x188)]||''):(_0x3dea69=_0x26fbb6[_0x32f707(0x183)](_0x32f707(0x176))[_0x32f707(0x185)](),_0x41dd12=String(_0x26fbb6[_0x32f707(0x176)])),{'startDate':_0x3dea69,'localizedPeriodName':_0x41dd12};}function _0x3018(){const _0x22400c=['fromJSDate','month','year','toRelativeCalendar','4882455SIuTwj','day','31593HZtMEu','376ljsNLk','2IHqwop','setLocale','week','1446600tVzMbC','813185WkmkUZ','16081310MwgeEO','minus','startOf','hasSame','toJSDate','local','426HfEzVT','monthLong','812171zFyclC','weekdayLong','10346OmIntd'];_0x3018=function(){return _0x22400c;};return _0x3018();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20755a=_0xedf7;(function(_0x11daf6,_0xb47edf){const _0xa47941=_0xedf7,_0x1675f0=_0x11daf6();while(!![]){try{const _0xc4efcc=parseInt(_0xa47941(0x1f8))/0x1*(parseInt(_0xa47941(0x203))/0x2)+parseInt(_0xa47941(0x1f9))/0x3+-parseInt(_0xa47941(0x1f1))/0x4*(parseInt(_0xa47941(0x1e8))/0x5)+parseInt(_0xa47941(0x1f2))/0x6*(-parseInt(_0xa47941(0x1f4))/0x7)+parseInt(_0xa47941(0x206))/0x8*(parseInt(_0xa47941(0x1fd))/0x9)+parseInt(_0xa47941(0x1ff))/0xa*(-parseInt(_0xa47941(0x1ef))/0xb)+-parseInt(_0xa47941(0x1f0))/0xc*(-parseInt(_0xa47941(0x1f7))/0xd);if(_0xc4efcc===_0xb47edf)break;else _0x1675f0['push'](_0x1675f0['shift']());}catch(_0x9c1afa){_0x1675f0['push'](_0x1675f0['shift']());}}}(_0x2b4e,0xc39fa));function _0xedf7(_0x139ae0,_0x25b8be){const _0x2b4e15=_0x2b4e();return _0xedf7=function(_0xedf75c,_0x3d0cd6){_0xedf75c=_0xedf75c-0x1e7;let _0x378a19=_0x2b4e15[_0xedf75c];return _0x378a19;},_0xedf7(_0x139ae0,_0x25b8be);}import{View as _0x375c29}from'ckeditor5/src/ui.js';import{getTranslation as _0x2dea4d}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x375c29{[_0x20755a(0x1e7)];[_0x20755a(0x1f5)];constructor(_0x576e46,_0x110c90){const _0x5e7c0c=_0x20755a;super(_0x576e46),this[_0x5e7c0c(0x1f5)]=_0x110c90,this[_0x5e7c0c(0x1e7)]=_0x110c90['id'];const _0x4eabb5=this[_0x5e7c0c(0x200)],_0x1ccbe8=_0x2dea4d(_0x576e46,_0x110c90[_0x5e7c0c(0x204)][_0x5e7c0c(0x209)]?_0x5e7c0c(0x1ee):_0x5e7c0c(0x1ed)==_0x110c90[_0x5e7c0c(0x1e9)]?_0x5e7c0c(0x1f3):_0x5e7c0c(0x1f6));this[_0x5e7c0c(0x1ea)](_0x5e7c0c(0x1e9),_0x110c90[_0x5e7c0c(0x1e9)]),this[_0x5e7c0c(0x1eb)]({'tag':_0x5e7c0c(0x1fe),'attributes':{'class':[_0x5e7c0c(0x1ec),_0x5e7c0c(0x1fb),_0x4eabb5['to'](_0x5e7c0c(0x1e9),_0x555473=>_0x5e7c0c(0x207)+_0x555473)],'tabindex':-0x1},'children':[{'tag':_0x5e7c0c(0x202),'children':[{'tag':_0x5e7c0c(0x202),'attributes':{'class':[_0x5e7c0c(0x201)]},'children':[{'text':_0x1ccbe8}]},{'text':'\x20'+_0x110c90[_0x5e7c0c(0x1fc)][_0x5e7c0c(0x205)]}]}]});}[_0x20755a(0x1fa)](){const _0x3d6118=_0x20755a;this[_0x3d6118(0x208)][_0x3d6118(0x1fa)]();}}function _0x2b4e(){const _0x44eac9=['bindTemplate','ck-revision-change__label','span','7706VrzJNt','data','name','14104ttAyHT','ck-revision-change__','element','isSuggestion','changeId','1180dYysBt','type','set','setTemplate','ck-annotation','add','Suggested\x20by','11YjMeHr','1572QBMTkj','26984EzQHJT','18rAMZhp','Added\x20by','2823107AZBOWi','_model','Removed\x20by','244023WbiOWs','169mJccDD','1724277PzQYsf','focus','ck-revision-change','author','5625FxZCkr','div','11835590esupNx'];_0x2b4e=function(){return _0x44eac9;};return _0x2b4e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1a2c(_0x4be678,_0x575fe6){const _0x56b74a=_0x56b7();return _0x1a2c=function(_0x1a2c18,_0x19690c){_0x1a2c18=_0x1a2c18-0x80;let _0x173493=_0x56b74a[_0x1a2c18];return _0x173493;},_0x1a2c(_0x4be678,_0x575fe6);}function _0x56b7(){const _0x96ee45=['_isStatusLabelVisible','backward','Loading...','NUMBER_OF_CHANGES','forward','setTemplate','6JnQPmT','_statusText','ck-hidden','span','currentChangeNumber','1526485MxqrKw','1976768LtKifH','isEnabled','ck-revision-history-ui__changes-navigation','isReady','7587080naHxQi','1049721RHQVam','bindTemplate','ck-revision-history-ui','ck-revision-history-ui__changes-navigation__label','isBackwardNavigationEnabled','No\x20changes','84030ISAgAK','div','EDIT_X_OF_Y_REVISIONS','2850561rwlXqO','7503768TiGFIH','ck-revision-history-ui__changes-navigation__wrapper','isForwardNavigationEnabled','set','Show\x20previous\x20change','Show\x20next\x20change','bind','ck-revision-history-ui__changes-navigation__navigation','fire','X_OF_Y_CHANGES','numberOfChanges','isNavigationMode','execute','Total','88zCusfD'];_0x56b7=function(){return _0x96ee45;};return _0x56b7();}(function(_0x2112c1,_0x1535fe){const _0x5ea2e8=_0x1a2c,_0x3b60af=_0x2112c1();while(!![]){try{const _0x50e264=parseInt(_0x5ea2e8(0x97))/0x1+-parseInt(_0x5ea2e8(0x92))/0x2+-parseInt(_0x5ea2e8(0x9d))/0x3*(-parseInt(_0x5ea2e8(0x85))/0x4)+parseInt(_0x5ea2e8(0x91))/0x5*(-parseInt(_0x5ea2e8(0x8c))/0x6)+parseInt(_0x5ea2e8(0xa0))/0x7+-parseInt(_0x5ea2e8(0x96))/0x8+parseInt(_0x5ea2e8(0xa1))/0x9;if(_0x50e264===_0x1535fe)break;else _0x3b60af['push'](_0x3b60af['shift']());}catch(_0x19d0a9){_0x3b60af['push'](_0x3b60af['shift']());}}}(_0x56b7,0xa2512));import{View as _0x331244,ButtonView as _0x253d14,ToolbarSeparatorView as _0x24b45b}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x5f4e7c,IconChevronDown as _0x7ab331}from'ckeditor5/src/icons.js';import{getTranslation as _0x94fc15}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x331244{constructor(_0x2d6af2){const _0xdff66c=_0x1a2c;super(_0x2d6af2);const _0x2dd1b4=this[_0xdff66c(0x98)],_0x3c8860=new _0x253d14(_0x2d6af2),_0x4ffbc4=new _0x253d14(_0x2d6af2);this[_0xdff66c(0xa4)](_0xdff66c(0x82),!0x1),this[_0xdff66c(0xa4)](_0xdff66c(0x95),!0x1),this[_0xdff66c(0xa4)](_0xdff66c(0x90),0x0),this[_0xdff66c(0xa4)](_0xdff66c(0x81),0x0),this[_0xdff66c(0xa4)](_0xdff66c(0xa3),!0x1),this[_0xdff66c(0xa4)](_0xdff66c(0x9b),!0x1),this[_0xdff66c(0xa7)](_0xdff66c(0x86))['to'](this,_0xdff66c(0x95),this,_0xdff66c(0x81),(_0x1972fd,_0x573d5b)=>_0x1972fd&&_0x573d5b>0x0),this[_0xdff66c(0xa7)](_0xdff66c(0x8d))['to'](this,_0xdff66c(0x95),this,_0xdff66c(0x90),this,_0xdff66c(0x81),this,_0xdff66c(0x82),(_0x330592,_0xfc2885,_0x34a8b2,_0xfcc519)=>{const _0x436a3a=_0xdff66c;if(!_0x330592)return _0x94fc15(_0x2d6af2,_0x436a3a(0x88));if(!_0x34a8b2)return _0x94fc15(_0x2d6af2,_0x436a3a(0x9c));const _0x8a307d=_0x94fc15(_0x2d6af2,_0x436a3a(0x89),_0x34a8b2);return _0xfcc519?_0x94fc15(_0x2d6af2,_0x436a3a(0x80),[_0xfc2885+0x1,_0x34a8b2]):_0x8a307d;}),_0x3c8860[_0xdff66c(0xa4)]({'label':_0x94fc15(_0x2d6af2,_0xdff66c(0xa5)),'tooltip':!0x0,'icon':_0x5f4e7c}),_0x4ffbc4[_0xdff66c(0xa4)]({'label':_0x94fc15(_0x2d6af2,_0xdff66c(0xa6)),'tooltip':!0x0,'icon':_0x7ab331}),_0x3c8860[_0xdff66c(0xa7)](_0xdff66c(0x93))['to'](this,_0xdff66c(0x9b)),_0x4ffbc4[_0xdff66c(0xa7)](_0xdff66c(0x93))['to'](this,_0xdff66c(0xa3)),_0x3c8860['on'](_0xdff66c(0x83),()=>this[_0xdff66c(0xa9)](_0xdff66c(0x83),_0xdff66c(0x87))),_0x4ffbc4['on'](_0xdff66c(0x83),()=>this[_0xdff66c(0xa9)](_0xdff66c(0x83),_0xdff66c(0x8a))),this[_0xdff66c(0x8b)]({'tag':_0xdff66c(0x9e),'attributes':{'class':['ck',_0xdff66c(0x99),_0xdff66c(0x94)]},'children':[{'tag':_0xdff66c(0x8f),'attributes':{'class':[_0xdff66c(0xa2)]},'children':[{'tag':_0xdff66c(0x8f),'attributes':{'class':[_0xdff66c(0x9a),_0x2dd1b4['if'](_0xdff66c(0x86),_0xdff66c(0x8e),_0x20796c=>!_0x20796c)]},'children':[{'text':_0x2dd1b4['to'](_0xdff66c(0x82),_0x196f52=>_0x196f52?_0x94fc15(_0x2d6af2,_0xdff66c(0x9f))+':\x20':_0x94fc15(_0x2d6af2,_0xdff66c(0x84))+':\x20')}]},{'text':_0x2dd1b4['to'](_0xdff66c(0x8d))}]},new _0x24b45b(),{'tag':_0xdff66c(0x9e),'attributes':{'class':[_0xdff66c(0xa8)]},'children':[_0x3c8860,_0x4ffbc4]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12faed=_0x37c8;function _0x15dc(){const _0x454553=['10115476krjrXN','RevisionViewerLoadingOverlay','ck-editor__editable__loading-overlay','editing','editor','document','11WCEjUM','864sCzXJG','removeClass','25516uojREC','605ryhepj','pluginName','isPremiumPlugin','change','isOfficialPlugin','16158610aHLenE','addClass','639byZjaj','hide','60sfDXbz','1smvKxa','53736OckgPs','8236490JdBfgL','roots','view','show','58221gXhLZT','2633104sKZCVq'];_0x15dc=function(){return _0x454553;};return _0x15dc();}(function(_0x51994d,_0x5f503d){const _0x3e7da8=_0x37c8,_0x18b8ad=_0x51994d();while(!![]){try{const _0xd37f8e=-parseInt(_0x3e7da8(0x1b6))/0x1*(parseInt(_0x3e7da8(0x1a1))/0x2)+parseInt(_0x3e7da8(0x1b3))/0x3*(-parseInt(_0x3e7da8(0x1ab))/0x4)+parseInt(_0x3e7da8(0x1ac))/0x5*(-parseInt(_0x3e7da8(0x1b7))/0x6)+-parseInt(_0x3e7da8(0x1a2))/0x7+-parseInt(_0x3e7da8(0x1a9))/0x8*(-parseInt(_0x3e7da8(0x1a0))/0x9)+-parseInt(_0x3e7da8(0x19c))/0xa*(parseInt(_0x3e7da8(0x1a8))/0xb)+-parseInt(_0x3e7da8(0x1b5))/0xc*(-parseInt(_0x3e7da8(0x1b1))/0xd);if(_0xd37f8e===_0x5f503d)break;else _0x18b8ad['push'](_0x18b8ad['shift']());}catch(_0x13b7c6){_0x18b8ad['push'](_0x18b8ad['shift']());}}}(_0x15dc,0xd8446));import{Plugin as _0x40ef6e}from'ckeditor5/src/core.js';const ge=_0x12faed(0x1a4);function _0x37c8(_0x2eb7ae,_0x7284da){const _0x15dc91=_0x15dc();return _0x37c8=function(_0x37c81b,_0x2dda8d){_0x37c81b=_0x37c81b-0x19c;let _0x538993=_0x15dc91[_0x37c81b];return _0x538993;},_0x37c8(_0x2eb7ae,_0x7284da);}import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0x40ef6e{static get[_0x12faed(0x1ad)](){const _0x2380cb=_0x12faed;return _0x2380cb(0x1a3);}static get[_0x12faed(0x1b0)](){return!0x0;}static get[_0x12faed(0x1ae)](){return!0x0;}[_0x12faed(0x19f)](){const _0x10742a=_0x12faed,_0x183c7b=this[_0x10742a(0x1a6)][_0x10742a(0x1a5)][_0x10742a(0x19e)];_0x183c7b[_0x10742a(0x1af)](_0x4f3852=>{const _0xb41f38=_0x10742a;for(const _0x18c972 of _0x183c7b[_0xb41f38(0x1a7)][_0xb41f38(0x19d)])_0x4f3852[_0xb41f38(0x1b2)](ge,_0x18c972);});}[_0x12faed(0x1b4)](){const _0x2cbc68=_0x12faed,_0x1b0277=this[_0x2cbc68(0x1a6)][_0x2cbc68(0x1a5)][_0x2cbc68(0x19e)];_0x1b0277[_0x2cbc68(0x1af)](_0x5ead16=>{const _0x5cb9d5=_0x2cbc68;for(const _0x2370e6 of _0x1b0277[_0x5cb9d5(0x1a7)][_0x5cb9d5(0x19d)])_0x5ead16[_0x5cb9d5(0x1aa)](ge,_0x2370e6);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2081d9=_0x334e;(function(_0x43466f,_0x51f6e6){const _0x3141f5=_0x334e,_0x2bdc54=_0x43466f();while(!![]){try{const _0x57bfcb=parseInt(_0x3141f5(0x17d))/0x1*(parseInt(_0x3141f5(0x184))/0x2)+parseInt(_0x3141f5(0x19a))/0x3+parseInt(_0x3141f5(0x1aa))/0x4*(-parseInt(_0x3141f5(0x194))/0x5)+-parseInt(_0x3141f5(0x17c))/0x6+-parseInt(_0x3141f5(0x19c))/0x7*(-parseInt(_0x3141f5(0x19b))/0x8)+parseInt(_0x3141f5(0x18a))/0x9+parseInt(_0x3141f5(0x199))/0xa;if(_0x57bfcb===_0x51f6e6)break;else _0x2bdc54['push'](_0x2bdc54['shift']());}catch(_0x5eb2d9){_0x2bdc54['push'](_0x2bdc54['shift']());}}}(_0x1741,0xd1947));import{Plugin as _0x2286fd}from'ckeditor5/src/core.js';function _0x334e(_0x181917,_0x3a0728){const _0x1741f6=_0x1741();return _0x334e=function(_0x334e28,_0x40e305){_0x334e28=_0x334e28-0x17c;let _0x1caa3d=_0x1741f6[_0x334e28];return _0x1caa3d;},_0x334e(_0x181917,_0x3a0728);}import{ButtonView as _0x281b80}from'ckeditor5/src/ui.js';function _0x1741(){const _0xee1f88=['isNavigationMode','config','19073360EnbhyW','1083216BemtCZ','15472EjdSdB','238UZKwAi','isForwardNavigationEnabled','ck-revision-history-ui__back-to-editing','isOfficialPlugin','isBackwardNavigationEnabled','Back\x20to\x20editing','pluginName','hide','listenTo','add','set','restoreRevision','isEnabled','editor','268yZbgHS','showNextChange','6147144zDavwd','1grcMgv','exitToEditing','requires','bind','init','changesNavigation','componentFactory','1038326hboONk','numberOfChanges','currentChangeNumber','plugins','show','execute','424485OsSbsq','showPreviousChange','RevisionViewerUI','revisionHistory','closeRevisionViewerCallback','forward','Restore\x20this\x20revision','get','commands','change:isReady','75935cttIYK','isPremiumPlugin','isReady'];_0x1741=function(){return _0xee1f88;};return _0x1741();}import{IconUndo as _0x458118}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x3a2dc8}from'./changesnavigationview.js';import{RevisionViewer as _0x52b138}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x54aa0a}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0xface89}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x2286fd{static get[_0x2081d9(0x1a2)](){const _0x5f1d8b=_0x2081d9;return _0x5f1d8b(0x18c);}static get[_0x2081d9(0x19f)](){return!0x0;}static get[_0x2081d9(0x195)](){return!0x0;}static get[_0x2081d9(0x17f)](){return[_0x52b138,_0x54aa0a];}[_0x2081d9(0x181)](){const _0x26a6e6=_0x2081d9,_0x39ae40=this[_0x26a6e6(0x1a9)],_0x5e6a82=_0x39ae40[_0x26a6e6(0x187)][_0x26a6e6(0x191)](_0x52b138),_0xd6c6c0=_0x39ae40[_0x26a6e6(0x187)][_0x26a6e6(0x191)](_0x54aa0a);_0x39ae40['ui'][_0x26a6e6(0x183)][_0x26a6e6(0x1a5)](_0x26a6e6(0x17e),_0x544dcb=>{const _0x23f98b=_0x26a6e6,_0x1d076a=new _0x281b80(_0x544dcb);return _0x1d076a[_0x23f98b(0x1a6)]({'label':_0xface89(_0x544dcb,_0x23f98b(0x1a1)),'icon':_0x458118,'withText':!0x0,'tooltip':!0x0,'class':_0x23f98b(0x19e)}),this[_0x23f98b(0x1a4)](_0x1d076a,_0x23f98b(0x189),()=>{const _0x30b3bf=_0x23f98b;_0x39ae40[_0x30b3bf(0x198)][_0x30b3bf(0x191)](_0x30b3bf(0x18d))[_0x30b3bf(0x18e)]();}),_0x1d076a;}),_0x39ae40['ui'][_0x26a6e6(0x183)][_0x26a6e6(0x1a5)](_0x26a6e6(0x1a7),_0x3415d2=>{const _0x5e60c8=_0x26a6e6,_0x1416fb=new _0x281b80(_0x3415d2);return _0x1416fb[_0x5e60c8(0x1a6)]({'label':_0xface89(_0x3415d2,_0x5e60c8(0x190)),'withText':!0x0,'tooltip':!0x0}),_0x1416fb[_0x5e60c8(0x180)](_0x5e60c8(0x1a8))['to'](_0x39ae40[_0x5e60c8(0x192)][_0x5e60c8(0x191)](_0x5e60c8(0x1a7))),this[_0x5e60c8(0x1a4)](_0x1416fb,_0x5e60c8(0x189),()=>_0x39ae40[_0x5e60c8(0x189)](_0x5e60c8(0x1a7))),_0x1416fb;}),_0x39ae40['ui'][_0x26a6e6(0x183)][_0x26a6e6(0x1a5)](_0x26a6e6(0x182),_0x4b7d7a=>{const _0x3b856d=_0x26a6e6,_0x4ac063=new _0x3a2dc8(_0x4b7d7a),_0x4bc400=_0x39ae40[_0x3b856d(0x192)][_0x3b856d(0x191)](_0x3b856d(0x18b)),_0x50c742=_0x39ae40[_0x3b856d(0x192)][_0x3b856d(0x191)](_0x3b856d(0x1ab));return _0x4ac063[_0x3b856d(0x180)](_0x3b856d(0x1a0))['to'](_0x4bc400,_0x3b856d(0x1a8)),_0x4ac063[_0x3b856d(0x180)](_0x3b856d(0x19d))['to'](_0x50c742,_0x3b856d(0x1a8)),_0x4ac063[_0x3b856d(0x180)](_0x3b856d(0x196),_0x3b856d(0x186),_0x3b856d(0x185),_0x3b856d(0x197))['to'](_0x5e6a82),this[_0x3b856d(0x1a4)](_0x4ac063,_0x3b856d(0x189),(_0x448d08,_0x4ac898)=>{const _0x1fe7cb=_0x3b856d;_0x39ae40[_0x1fe7cb(0x189)](_0x1fe7cb(0x18f)===_0x4ac898?_0x1fe7cb(0x1ab):_0x1fe7cb(0x18b));}),_0x4ac063;}),_0xd6c6c0[_0x26a6e6(0x188)](),_0x5e6a82['on'](_0x26a6e6(0x193),(_0x390083,_0x5e87e5,_0x1b02d3)=>{const _0x444502=_0x26a6e6;_0x1b02d3?_0xd6c6c0[_0x444502(0x1a3)]():_0xd6c6c0[_0x444502(0x188)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x3f2792,_0x3cd122,_0x33e94d){const t=_0x3f2792['t'];switch(_0x3cd122){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'},_0x33e94d);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x33e94d);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'';}}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
- `2 * var(--ck-spacing-small)` <- Additional margin for all elements inside the toolbar.
|
|
27
27
|
- `1px` <- Top border.
|
|
28
28
|
|
|
29
|
-
See https://github.com/
|
|
29
|
+
See https://github.com/ckeditor/ckeditor5-commercial/issues/6929.
|
|
30
30
|
*/
|
|
31
31
|
--header-height: max(
|
|
32
32
|
calc(var(--ck-ui-component-min-height) + 2 * var(--ck-spacing-small) + 1px),
|