@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250611.0 → 0.0.0-nightly-20250613.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.d.ts +3 -2
- 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
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x3b1407=_0x3bb8;function _0x14d1(){const _0x1b3fa9=['extendTemplate','arrowup','form','reset','revisionNameInputValue','locale','2090470HYETMY','focus','ck-responsive-form','element','3071730bDMXYN','errorText','listenTo','stopPropagation','_createRevisionNameInput','69254TwHcmq','initializeCssTransitionDisablerMixin','9081yXlkQI','render','ck-revision-history-save-revision-form','label','trim','4wkMZPJ','set','input','arrowleft','3110ETFymn','revisionName','904264kgnfXU','Name\x20of\x20the\x20revision','optional','keystrokes','77usjjov','arrowdown','revisionNameInputView','1402383UAHCSp','arrowright','add','value','220','fieldView','setTemplate','focusTracker','280648ZNZvRW'];_0x14d1=function(){return _0x1b3fa9;};return _0x14d1();}(function(_0x2aced5,_0x4e63e9){const _0x3e4b5f=_0x3bb8,_0x40c172=_0x2aced5();while(!![]){try{const _0x14bfb1=parseInt(_0x3e4b5f(0x14a))/0x1+parseInt(_0x3e4b5f(0x12b))/0x2+parseInt(_0x3e4b5f(0x132))/0x3*(-parseInt(_0x3e4b5f(0x151))/0x4)+parseInt(_0x3e4b5f(0x141))/0x5+parseInt(_0x3e4b5f(0x145))/0x6+-parseInt(_0x3e4b5f(0x12f))/0x7*(parseInt(_0x3e4b5f(0x13a))/0x8)+-parseInt(_0x3e4b5f(0x14c))/0x9*(parseInt(_0x3e4b5f(0x129))/0xa);if(_0x14bfb1===_0x4e63e9)break;else _0x40c172['push'](_0x40c172['shift']());}catch(_0x1c49ba){_0x40c172['push'](_0x40c172['shift']());}}}(_0x14d1,0x4567c));import{CssTransitionDisablerMixin as _0x4ff452,LabeledFieldView as _0xca388e,View as _0x15ba56,createLabeledInputText as _0x5e5963,submitHandler as _0xbb0bbe}from'ckeditor5/src/ui.js';import{FocusTracker as _0x24eeb2,KeystrokeHandler as _0x1e4343}from'ckeditor5/src/utils.js';import{getTranslation as _0x12ebe4}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';function _0x3bb8(_0x5ee2cd,_0x532514){const _0x14d11e=_0x14d1();return _0x3bb8=function(_0x3bb890,_0x11e6d7){_0x3bb890=_0x3bb890-0x127;let _0x8d56ab=_0x14d11e[_0x3bb890];return _0x8d56ab;},_0x3bb8(_0x5ee2cd,_0x532514);}export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4ff452(_0x15ba56){[_0x3b1407(0x139)];[_0x3b1407(0x12e)];[_0x3b1407(0x131)];constructor(_0x5a635b,_0x286c41){const _0x518a0d=_0x3b1407;super(_0x5a635b),this[_0x518a0d(0x139)]=new _0x24eeb2(),this[_0x518a0d(0x12e)]=new _0x1e4343(),this[_0x518a0d(0x152)](_0x518a0d(0x13f),''),this[_0x518a0d(0x131)]=this[_0x518a0d(0x149)](_0x286c41),this[_0x518a0d(0x138)]({'tag':_0x518a0d(0x13d),'attributes':{'class':['ck',_0x518a0d(0x14e),_0x518a0d(0x143)],'tabindex':'-1'},'children':[this[_0x518a0d(0x131)]]}),this[_0x518a0d(0x14b)]();}[_0x3b1407(0x14d)](){const _0x5db194=_0x3b1407;super[_0x5db194(0x14d)](),_0xbb0bbe({'view':this}),this[_0x5db194(0x139)][_0x5db194(0x134)](this[_0x5db194(0x131)][_0x5db194(0x144)]),this[_0x5db194(0x12e)][_0x5db194(0x147)](this[_0x5db194(0x144)]);const _0x3dda5e=_0x44b768=>_0x44b768[_0x5db194(0x148)]();this[_0x5db194(0x12e)][_0x5db194(0x152)](_0x5db194(0x133),_0x3dda5e),this[_0x5db194(0x12e)][_0x5db194(0x152)](_0x5db194(0x128),_0x3dda5e),this[_0x5db194(0x12e)][_0x5db194(0x152)](_0x5db194(0x13c),_0x3dda5e),this[_0x5db194(0x12e)][_0x5db194(0x152)](_0x5db194(0x130),_0x3dda5e);}[_0x3b1407(0x142)](){const _0x3cf99f=_0x3b1407;this[_0x3cf99f(0x131)][_0x3cf99f(0x142)]();}get[_0x3b1407(0x12a)](){const _0x3914e5=_0x3b1407;return this[_0x3914e5(0x131)][_0x3914e5(0x137)][_0x3914e5(0x144)][_0x3914e5(0x135)][_0x3914e5(0x150)]();}set[_0x3b1407(0x12a)](_0x105bf1){const _0x11f274=_0x3b1407;this[_0x11f274(0x131)][_0x11f274(0x137)][_0x11f274(0x144)][_0x11f274(0x135)]=_0x105bf1[_0x11f274(0x150)]();}[_0x3b1407(0x13e)](){const _0x21ae13=_0x3b1407;this[_0x21ae13(0x131)][_0x21ae13(0x137)][_0x21ae13(0x144)][_0x21ae13(0x135)]='',this[_0x21ae13(0x131)][_0x21ae13(0x146)]=null;}[_0x3b1407(0x149)](_0x46ad48){const _0x367c4a=_0x3b1407,_0x1401e7=new _0xca388e(this[_0x367c4a(0x140)],_0x5e5963),_0x3ca934=_0x1401e7[_0x367c4a(0x137)];_0x3ca934[_0x367c4a(0x13b)]({'attributes':{'maxlength':_0x367c4a(0x136)}});let _0x5ca13e=_0x12ebe4(this[_0x367c4a(0x140)],_0x367c4a(0x12c));return!_0x46ad48&&(_0x5ca13e+='\x20('+_0x12ebe4(this[_0x367c4a(0x140)],_0x367c4a(0x12d))+')'),(_0x1401e7[_0x367c4a(0x14f)]=_0x5ca13e,_0x3ca934['on'](_0x367c4a(0x127),()=>{const _0x591a44=_0x367c4a;this[_0x591a44(0x13f)]=_0x3ca934[_0x591a44(0x144)][_0x591a44(0x135)][_0x591a44(0x150)]();}),_0x1401e7);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20d621=_0x25ff;function _0x25ff(_0xb7870f,_0xfb3ef4){const _0x596777=_0x5967();return _0x25ff=function(_0x25ff7b,_0xf15bc2){_0x25ff7b=_0x25ff7b-0x188;let _0x80a301=_0x596777[_0x25ff7b];return _0x80a301;},_0x25ff(_0xb7870f,_0xfb3ef4);}(function(_0x55c31b,_0x4ef799){const _0x32812a=_0x25ff,_0x465c98=_0x55c31b();while(!![]){try{const _0xa933c=parseInt(_0x32812a(0x191))/0x1*(-parseInt(_0x32812a(0x1b6))/0x2)+-parseInt(_0x32812a(0x19c))/0x3+parseInt(_0x32812a(0x1ab))/0x4+-parseInt(_0x32812a(0x19b))/0x5*(parseInt(_0x32812a(0x1cc))/0x6)+-parseInt(_0x32812a(0x19e))/0x7+parseInt(_0x32812a(0x1be))/0x8*(parseInt(_0x32812a(0x197))/0x9)+parseInt(_0x32812a(0x18d))/0xa;if(_0xa933c===_0x4ef799)break;else _0x465c98['push'](_0x465c98['shift']());}catch(_0x47b77d){_0x465c98['push'](_0x465c98['shift']());}}}(_0x5967,0x31dbc));import{Plugin as _0xac3e19}from'ckeditor5/src/core.js';import{IconHistory as _0x46ff5d}from'ckeditor5/src/icons.js';import{createDropdown as _0x18233b,ButtonView as _0x46a115,ListItemView as _0x46709a,ListView as _0x5141ea,MenuBarMenuListItemButtonView as _0x5ec5f6,MenuBarMenuListItemView as _0x1b433c,MenuBarMenuListView as _0x31cecf,MenuBarMenuView as _0x5a9b}from'ckeditor5/src/ui.js';function _0x5967(){const _0x1baebc=['locale','componentFactory','isOfficialPlugin','_showDialog','get','plugins','hide','ck-button-action','_registerMenuComponent','Revision\x20history','The\x20revision\x20name\x20cannot\x20be\x20empty.','1126312vclwhu','init','bind','requires','menu','role','show','addMany','revisionSave','saveRevision','isOpen','137848JiCxkZ','config','revisionHistory','focus','Open\x20revision\x20history','menuBar:revisionHistory','revisionName','isReadOnly','760zJXcVq','RevisionTracker','submit','Save\x20current\x20revision','reset','menuitem','Cancel','isEnabled','execute','Accept','Dialog','buttonView','_saveRevisionFormView','add','1057284UZGjrT','revisionNameInputView','children','isReady','RevisionHistoryUI','editing','5837730qCbHJJ','isPremiumPlugin','items','view','5DHChZB','panelView','set','delegate','pluginName','showRevisionViewerCallback','32553UHAYxl','revisionHistory.requireRevisionName','_createSaveRevisionFormView','editor','5JRUHki','634044oEqBDT','errorText','1907948ZnxZYk','render'];_0x5967=function(){return _0x1baebc;};return _0x5967();}import{RevisionTracker as _0x591d8c}from'../../revisiontracker.js';import{RevisionHistorySaveRevisionFormView as _0x30fa2d}from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x2e357e}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0xac3e19{static get[_0x20d621(0x195)](){const _0x5ab5ab=_0x20d621;return _0x5ab5ab(0x18b);}static get[_0x20d621(0x1a2)](){return!0x0;}static get[_0x20d621(0x18e)](){return!0x0;}static get[_0x20d621(0x1ae)](){return[_0x591d8c];}[_0x20d621(0x1ca)];[_0x20d621(0x1ac)](){const _0x301d12=_0x20d621,_0x481926=this[_0x301d12(0x19a)],_0x248602=_0x481926[_0x301d12(0x1a5)][_0x301d12(0x1a4)](_0x301d12(0x1bf));_0x481926['ui'][_0x301d12(0x1a1)][_0x301d12(0x1cb)](_0x301d12(0x1b8),_0x5c0bab=>{const _0x203f97=_0x301d12,_0x49a676=_0x18233b(_0x5c0bab),_0x4005bc=_0x49a676[_0x203f97(0x192)][_0x203f97(0x189)],_0x54eff4=new _0x5141ea(_0x5c0bab),_0x5e179e=new _0x46709a(_0x5c0bab),_0x2454c3=new _0x46a115(_0x5c0bab),_0x2bb56b=new _0x46709a(_0x5c0bab),_0x13eddf=new _0x46a115(_0x5c0bab);return _0x49a676[_0x203f97(0x1ad)](_0x203f97(0x1c5))['to'](_0x248602,_0x203f97(0x18a),_0x248602,_0x203f97(0x1c5),_0x481926,_0x203f97(0x1bd),(_0x4bd691,_0x61e23e,_0x3a4249)=>_0x4bd691&&_0x61e23e&&!_0x3a4249),_0x49a676[_0x203f97(0x1c9)][_0x203f97(0x193)]({'icon':_0x46ff5d,'label':_0x2e357e(_0x5c0bab,_0x203f97(0x1a9)),'tooltip':!0x0}),_0x2454c3[_0x203f97(0x193)]({'label':_0x2e357e(_0x5c0bab,_0x203f97(0x1c1)),'withText':!0x0,'role':_0x203f97(0x1c3)}),_0x2454c3[_0x203f97(0x1ad)](_0x203f97(0x1c5))['to'](_0x248602,_0x203f97(0x18a),_0x248602,_0x203f97(0x1c5),_0x481926,_0x203f97(0x1bd),(_0x57bf0f,_0x2967f7,_0x20029a)=>_0x57bf0f&&_0x2967f7&&!_0x20029a),_0x2454c3['on'](_0x203f97(0x1c6),()=>this[_0x203f97(0x1a3)]()),_0x13eddf[_0x203f97(0x193)]({'label':_0x2e357e(_0x5c0bab,_0x203f97(0x1ba)),'withText':!0x0,'role':_0x203f97(0x1c3)}),_0x13eddf[_0x203f97(0x1ad)](_0x203f97(0x1c5))['to'](_0x248602,_0x203f97(0x18a),_0x481926,_0x203f97(0x1bd),(_0x471dd0,_0x3c5d97)=>_0x471dd0&&!_0x3c5d97),_0x13eddf['on'](_0x203f97(0x1c6),()=>{const _0x2e1927=_0x203f97;_0x481926[_0x2e1927(0x1b7)][_0x2e1927(0x1a4)](_0x2e1927(0x1b8))[_0x2e1927(0x196)](),_0x49a676[_0x2e1927(0x1b5)]=!0x1,_0x481926[_0x2e1927(0x18c)][_0x2e1927(0x190)][_0x2e1927(0x1b9)]();}),_0x5e179e[_0x203f97(0x189)][_0x203f97(0x1cb)](_0x2454c3),_0x2bb56b[_0x203f97(0x189)][_0x203f97(0x1cb)](_0x13eddf),_0x54eff4[_0x203f97(0x1b0)]=_0x203f97(0x1af),_0x54eff4[_0x203f97(0x18f)][_0x203f97(0x1b2)]([_0x5e179e,_0x2bb56b]),_0x4005bc[_0x203f97(0x1cb)](_0x54eff4),_0x49a676;}),_0x481926['ui'][_0x301d12(0x1a1)][_0x301d12(0x1cb)](_0x301d12(0x1bb),()=>this[_0x301d12(0x1a8)]());}[_0x20d621(0x1a8)](){const _0x7d5e9d=_0x20d621,_0x28dba1=this[_0x7d5e9d(0x19a)],_0xdcf23e=_0x28dba1[_0x7d5e9d(0x1a0)],_0x20b06a=new _0x5a9b(_0xdcf23e),_0x2c6fb3=new _0x31cecf(_0xdcf23e);_0x20b06a[_0x7d5e9d(0x1c9)][_0x7d5e9d(0x193)]({'icon':_0x46ff5d,'label':_0x2e357e(_0xdcf23e,_0x7d5e9d(0x1a9))});const _0x21b09e=new _0x1b433c(_0xdcf23e,_0x20b06a),_0x321c72=new _0x5ec5f6(_0xdcf23e);_0x321c72[_0x7d5e9d(0x193)]({'label':_0x2e357e(_0xdcf23e,_0x7d5e9d(0x1c1))}),_0x321c72[_0x7d5e9d(0x194)](_0x7d5e9d(0x1c6))['to'](_0x20b06a),_0x321c72['on'](_0x7d5e9d(0x1c6),()=>{const _0x58ae43=_0x7d5e9d;this[_0x58ae43(0x1a3)]();}),_0x21b09e[_0x7d5e9d(0x189)][_0x7d5e9d(0x1cb)](_0x321c72),_0x2c6fb3[_0x7d5e9d(0x18f)][_0x7d5e9d(0x1cb)](_0x21b09e);const _0x390658=new _0x1b433c(_0xdcf23e,_0x20b06a),_0x51ca35=new _0x5ec5f6(_0xdcf23e);return _0x51ca35[_0x7d5e9d(0x193)]({'label':_0x2e357e(_0xdcf23e,_0x7d5e9d(0x1ba))}),_0x51ca35[_0x7d5e9d(0x194)](_0x7d5e9d(0x1c6))['to'](_0x20b06a),_0x51ca35['on'](_0x7d5e9d(0x1c6),()=>{const _0x430649=_0x7d5e9d;_0x28dba1[_0x430649(0x1b7)][_0x430649(0x1a4)](_0x430649(0x1b8))[_0x430649(0x196)]();}),_0x390658[_0x7d5e9d(0x189)][_0x7d5e9d(0x1cb)](_0x51ca35),_0x2c6fb3[_0x7d5e9d(0x18f)][_0x7d5e9d(0x1cb)](_0x390658),_0x20b06a[_0x7d5e9d(0x192)][_0x7d5e9d(0x189)][_0x7d5e9d(0x1cb)](_0x2c6fb3),_0x20b06a;}[_0x20d621(0x1a3)](){const _0x322854=_0x20d621,_0x3d9b71=this[_0x322854(0x19a)],_0x27af9f=_0x3d9b71[_0x322854(0x1a0)],_0x335940=_0x3d9b71[_0x322854(0x1a5)][_0x322854(0x1a4)](_0x322854(0x1c8)),_0x53fd35=_0x3d9b71[_0x322854(0x1a5)][_0x322854(0x1a4)](_0x322854(0x1bf));function _0x21707f(_0x3e4610){const _0xc567ba=_0x322854;_0x3d9b71[_0xc567ba(0x1b7)][_0xc567ba(0x1a4)](_0xc567ba(0x198))&&''===_0x3e4610[_0xc567ba(0x1bc)]?_0x3e4610[_0xc567ba(0x188)][_0xc567ba(0x19d)]=_0x2e357e(_0x27af9f,_0xc567ba(0x1aa)):(_0x3d9b71[_0xc567ba(0x1a5)][_0xc567ba(0x1a4)](_0x591d8c)[_0xc567ba(0x1b4)]({'name':_0x3e4610[_0xc567ba(0x1bc)]}),_0x335940[_0xc567ba(0x1a6)]());}this[_0x322854(0x1ca)]||(this[_0x322854(0x199)](),this[_0x322854(0x1ca)]['on'](_0x322854(0x1c0),()=>_0x21707f(this[_0x322854(0x1ca)]))),this[_0x322854(0x1ca)][_0x322854(0x1c2)](),_0x335940[_0x322854(0x1b1)]({'id':_0x322854(0x1b3),'title':_0x2e357e(_0x27af9f,_0x322854(0x1c1)),'isModal':!0x0,'content':this[_0x322854(0x1ca)],'actionButtons':[{'label':_0x2e357e(_0x3d9b71[_0x322854(0x1a0)],_0x322854(0x1c4)),'withText':!0x0,'onExecute':()=>_0x335940[_0x322854(0x1a6)]()},{'label':_0x2e357e(_0x3d9b71[_0x322854(0x1a0)],_0x322854(0x1c7)),'class':_0x322854(0x1a7),'withText':!0x0,'onCreate'(_0x427f6d){const _0x54f179=_0x322854;_0x427f6d[_0x54f179(0x1ad)](_0x54f179(0x1c5))['to'](_0x53fd35,_0x54f179(0x18a),_0x53fd35,_0x54f179(0x1c5),_0x3d9b71,_0x54f179(0x1bd),(_0x429680,_0x106a5c,_0x45973d)=>_0x429680&&_0x106a5c&&!_0x45973d);},'onExecute':()=>_0x21707f(this[_0x322854(0x1ca)])}]});}[_0x20d621(0x199)](){const _0x7d1eac=_0x20d621,_0x1a33b2=this[_0x7d1eac(0x19a)],_0x5e472b=_0x1a33b2[_0x7d1eac(0x1a0)];this[_0x7d1eac(0x1ca)]=new _0x30fa2d(_0x5e472b,_0x1a33b2[_0x7d1eac(0x1b7)][_0x7d1eac(0x1a4)](_0x7d1eac(0x198))),this[_0x7d1eac(0x1ca)][_0x7d1eac(0x19f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1700(){const _0x4d1e9b=['isSelected','getRevision','requires','get','highlightRevisions','map','editor','destroy','fieldView','locale','2586240hbRaFG','_revisionViewer','63EmqDlG','select','appendChild','length','_handleDiffChange','4646568ojObfY','isPremiumPlugin','_handleEditorDataReady','change:diff','focus','_createRevisionActions','7129510NpEKbY','revisionHistory.viewerSidebarContainer','revisionSelected','Restore\x20this\x20revision','getEarlierVisibleRevision','add','restoreRevision','_sidebarView','timePeriodViews','isReady','action','revisionHistory','availableRevisionActions','6056WRDUCk','selectRevision','isOfficialPlugin','plugins','element','nameRevision','assign','compareAgainstSelected','Compare\x20against\x20selected','isVisible','Name\x20this\x20revision','getRevisionsInDiff','config','ready','restoreRevisionCallback','listenTo','bind','revisionViews','_handleRevisionSelected','_handleRevisionSetName','newRevisionId','repository','data','remove','pluginName','1XeyZhC','_revisions','name','diff','_revisionsRepository','326928wnMGWy','defaultRevisionActions','isEnabled','getLaterVisibleRevision','3137392GJQGqo','542786tJqSFC','string','compare','getIndex','setName','revisionSetName','init','revisionHistory.requireRevisionName','revisionHistory.revisionActions','RevisionsSidebar','render','4970lESZSc'];_0x1700=function(){return _0x4d1e9b;};return _0x1700();}const _0x182a98=_0x2910;(function(_0x9f1301,_0x15c308){const _0x3f3bc0=_0x2910,_0x3fa0a9=_0x9f1301();while(!![]){try{const _0x5cf356=parseInt(_0x3f3bc0(0x9e))/0x1*(parseInt(_0x3f3bc0(0xa8))/0x2)+-parseInt(_0x3f3bc0(0xa3))/0x3+parseInt(_0x3f3bc0(0xa7))/0x4+parseInt(_0x3f3bc0(0x78))/0x5+parseInt(_0x3f3bc0(0x72))/0x6+parseInt(_0x3f3bc0(0xb3))/0x7*(-parseInt(_0x3f3bc0(0x85))/0x8)+parseInt(_0x3f3bc0(0xc0))/0x9*(-parseInt(_0x3f3bc0(0xbe))/0xa);if(_0x5cf356===_0x15c308)break;else _0x3fa0a9['push'](_0x3fa0a9['shift']());}catch(_0x323220){_0x3fa0a9['push'](_0x3fa0a9['shift']());}}}(_0x1700,0xc3219));import{Plugin as _0x5d5b01}from'ckeditor5/src/core.js';import{RevisionsSidebarView as _0xe2c153}from'./revisionssidebarview.js';import{RevisionViewer as _0x73bbeb}from'../../revisionviewer.js';class f extends _0x5d5b01{[_0x182a98(0xbf)];[_0x182a98(0xa2)];[_0x182a98(0x7f)];static [_0x182a98(0xa4)]=[_0x182a98(0x8c),_0x182a98(0x7e),_0x182a98(0x8a)];static [_0x182a98(0x84)]=(function(){const _0x13ec1e=_0x182a98;return{'compareAgainstSelected':{'name':_0x13ec1e(0x8d),'action':({plugins:i},s)=>{const _0x51cf08=_0x13ec1e,e=i[_0x51cf08(0xb7)](_0x73bbeb),n=e[_0x51cf08(0x9a)];let r=e[_0x51cf08(0xa1)][_0x51cf08(0x99)],o=s['id'];n[_0x51cf08(0xab)](r)>n[_0x51cf08(0xab)](o)&&([r,o]=[o,r]),e[_0x51cf08(0xaa)](r,o);},'isVisible':({plugins:i},s)=>{const _0x346bc2=_0x13ec1e,e=i[_0x346bc2(0xb7)](_0x73bbeb);return!(e[_0x346bc2(0x9a)][_0x346bc2(0x90)](e[_0x346bc2(0xa1)])[_0x346bc2(0x70)]>0x2)&&!s[_0x346bc2(0xb4)];}},'restoreRevision':{'name':_0x13ec1e(0x7b),'action':(i,{id:s})=>{const _0x18b552=_0x13ec1e;i[_0x18b552(0x91)][_0x18b552(0xb7)](_0x18b552(0x83))[_0x18b552(0x93)](s);},'isVisible':({plugins:i},s)=>!!i[_0x13ec1e(0xb7)](_0x73bbeb)[_0x13ec1e(0x9a)][_0x13ec1e(0xa6)](s['id'])},'nameRevision':{'name':_0x13ec1e(0x8f),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0xfff6d4=_0x13ec1e,n=i[_0xfff6d4(0xb7)](_0x73bbeb),r=n[_0xfff6d4(0x9a)][_0xfff6d4(0x7c)](s);n[_0xfff6d4(0xaa)](s,r),e[_0xfff6d4(0x76)](),e[_0xfff6d4(0xbc)][_0xfff6d4(0xc1)]();}}};}());static get[_0x182a98(0x9d)](){const _0x14bd35=_0x182a98;return _0x14bd35(0xb1);}static get[_0x182a98(0x87)](){return!0x0;}static get[_0x182a98(0x73)](){return!0x0;}static get[_0x182a98(0xb6)](){return[_0x73bbeb];}constructor(_0x3eaef6){const _0x303f86=_0x182a98;super(_0x3eaef6),this[_0x303f86(0xbf)]=_0x3eaef6[_0x303f86(0x88)][_0x303f86(0xb7)](_0x73bbeb),this[_0x303f86(0xa2)]=this[_0x303f86(0xbf)][_0x303f86(0x9a)],this[_0x303f86(0x7f)]=null;}[_0x182a98(0xae)](){const _0x2aee95=_0x182a98,_0x459213=this[_0x2aee95(0xa2)][_0x2aee95(0x9f)],_0x4495ba=this[_0x2aee95(0x77)](),_0x1fb7f8=this[_0x2aee95(0xba)][_0x2aee95(0x91)][_0x2aee95(0xb7)](_0x2aee95(0x79));this[_0x2aee95(0x7f)]=new _0xe2c153(this[_0x2aee95(0xba)][_0x2aee95(0xbd)],_0x459213,_0x4495ba,this[_0x2aee95(0xba)][_0x2aee95(0x91)][_0x2aee95(0xb7)](_0x2aee95(0xaf))),this[_0x2aee95(0x7f)]['on'](_0x2aee95(0x7a),this[_0x2aee95(0x97)][_0x2aee95(0x95)](this)),this[_0x2aee95(0x7f)]['on'](_0x2aee95(0xad),this[_0x2aee95(0x98)][_0x2aee95(0x95)](this)),this[_0x2aee95(0x7f)][_0x2aee95(0x95)](_0x2aee95(0xa5))['to'](this[_0x2aee95(0xbf)]),this[_0x2aee95(0x7f)][_0x2aee95(0x80)]['on'](_0x2aee95(0x7d),(_0x95a025,_0x219c68)=>{const _0x62595a=_0x2aee95;_0x219c68[_0x62595a(0x96)]['on'](_0x62595a(0x7d),(_0x4d9309,_0x1571e9)=>{const _0x436843=_0x62595a;_0x1571e9[_0x436843(0x95)](_0x436843(0xa5),_0x436843(0x81))['to'](this[_0x436843(0xbf)]);});}),this[_0x2aee95(0x7f)][_0x2aee95(0xb2)](),this[_0x2aee95(0x94)](this[_0x2aee95(0xba)][_0x2aee95(0x9b)],_0x2aee95(0x92),this[_0x2aee95(0x74)][_0x2aee95(0x95)](this)),this[_0x2aee95(0x94)](this[_0x2aee95(0xbf)],_0x2aee95(0x75),this[_0x2aee95(0x71)][_0x2aee95(0x95)](this)),_0x1fb7f8[_0x2aee95(0x6f)](this[_0x2aee95(0x7f)][_0x2aee95(0x89)]);}[_0x182a98(0xbb)](){const _0x144555=_0x182a98;this[_0x144555(0x7f)][_0x144555(0x89)][_0x144555(0x9c)](),this[_0x144555(0x7f)][_0x144555(0xbb)]();}[_0x182a98(0x74)](){const _0x53a38a=_0x182a98,_0x1fc6d9=this[_0x53a38a(0xa2)][_0x53a38a(0xb5)](0x0);if(_0x1fc6d9){const _0x317283=this[_0x53a38a(0xa2)][_0x53a38a(0x7c)](_0x1fc6d9['id']);this[_0x53a38a(0xbf)][_0x53a38a(0xaa)](_0x1fc6d9,_0x317283);}}[_0x182a98(0x97)](_0x1a0c43,_0x5f0c34){const _0x3314b5=_0x182a98,_0x1fcdf3=this[_0x3314b5(0xa2)][_0x3314b5(0xb5)](_0x5f0c34['id']),_0x3b9719=this[_0x3314b5(0xa2)][_0x3314b5(0x7c)](_0x1fcdf3['id']);this[_0x3314b5(0xbf)][_0x3314b5(0xaa)](_0x1fcdf3,_0x3b9719);}[_0x182a98(0x98)](_0xa6fd81,_0x5bc0a4){const _0x549cc8=_0x182a98;this[_0x549cc8(0xa2)][_0x549cc8(0xb5)](_0x5bc0a4['id'])[_0x549cc8(0xac)](_0x5bc0a4[_0x549cc8(0xa0)]);}[_0x182a98(0x71)](_0x45cf0e,_0x2c542a,_0x5e1c21){const _0xf81962=_0x182a98,_0x5281b9=this[_0xf81962(0xa2)][_0xf81962(0x90)](_0x5e1c21);_0x5281b9[_0xf81962(0x70)]>0x2?(this[_0xf81962(0x7f)][_0xf81962(0xb8)](_0x5281b9),this[_0xf81962(0x7f)][_0xf81962(0x86)](null)):(this[_0xf81962(0x7f)][_0xf81962(0xb8)]([]),this[_0xf81962(0x7f)][_0xf81962(0x86)](_0x5281b9[0x0]));}[_0x182a98(0x77)](){const _0x1b982b=_0x182a98,_0x283520=this[_0x1b982b(0xba)],_0x4ea1dd=f[_0x1b982b(0x84)],_0x1409d4=_0x283520[_0x1b982b(0x91)][_0x1b982b(0xb7)](_0x1b982b(0xb0))||f[_0x1b982b(0xa4)];if(_0x1409d4[_0x1b982b(0x70)])return _0x1409d4[_0x1b982b(0xb9)](_0x1f52ac=>{const _0x5144a7=_0x1b982b,_0x59cbbf=_0x5144a7(0xa9)==typeof _0x1f52ac?Object[_0x5144a7(0x8b)]({},_0x4ea1dd[_0x1f52ac]):_0x1f52ac;return _0x59cbbf[_0x5144a7(0x82)]=_0x59cbbf[_0x5144a7(0x82)][_0x5144a7(0x95)](this,_0x283520),_0x59cbbf[_0x5144a7(0x8e)]&&(_0x59cbbf[_0x5144a7(0x8e)]=_0x59cbbf[_0x5144a7(0x8e)][_0x5144a7(0x95)](this,_0x283520)),_0x59cbbf;});}}function _0x2910(_0x14c0ee,_0x3f5416){const _0x17004a=_0x1700();return _0x2910=function(_0x29107e,_0x17c275){_0x29107e=_0x29107e-0x6f;let _0x5d7811=_0x17004a[_0x29107e];return _0x5d7811;},_0x2910(_0x14c0ee,_0x3f5416);}export{f as RevisionsSidebar};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x48622a,_0x3dc287){const _0x5d977e=_0x386d,_0xadb073=_0x48622a();while(!![]){try{const _0x25fc3f=parseInt(_0x5d977e(0x10a))/0x1*(parseInt(_0x5d977e(0x117))/0x2)+parseInt(_0x5d977e(0x110))/0x3+-parseInt(_0x5d977e(0x113))/0x4*(parseInt(_0x5d977e(0x109))/0x5)+parseInt(_0x5d977e(0x116))/0x6+parseInt(_0x5d977e(0x105))/0x7*(parseInt(_0x5d977e(0x10e))/0x8)+parseInt(_0x5d977e(0x115))/0x9+-parseInt(_0x5d977e(0x106))/0xa*(parseInt(_0x5d977e(0x112))/0xb);if(_0x25fc3f===_0x3dc287)break;else _0xadb073['push'](_0xadb073['shift']());}catch(_0x4a3d80){_0xadb073['push'](_0xadb073['shift']());}}}(_0x4afb,0xb2661));function _0x386d(_0x4bbb9d,_0x878758){const _0x4afb15=_0x4afb();return _0x386d=function(_0x386dc2,_0x2dd563){_0x386dc2=_0x386dc2-0x105;let _0x1b5146=_0x4afb15[_0x386dc2];return _0x1b5146;},_0x386d(_0x4bbb9d,_0x878758);}import{View as _0x7dd88d,IconView as _0x36f4da}from'ckeditor5/src/ui.js';import{getTranslation as _0x12a371}from'../../utils/common-translations.js';import{IconHistory as _0x1e1b43}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';function _0x4afb(){const _0x1d2dda=['setTemplate','279856XJdsYO','ck-revision-history-sidebar__header__label','1791942ziPtsm','Revision\x20history','16801246nZYlrx','4839404TbPkJJ','content','13036212AtTmdB','7751826yUmfaQ','30bDgpqa','56vXKlVB','20HfOnyl','ck-reset_all','ck-revision-history-sidebar__header','5QvJiPv','91849UIvwAw','span','div'];_0x4afb=function(){return _0x1d2dda;};return _0x4afb();}export class RevisionsSidebarHeaderView extends _0x7dd88d{constructor(_0x7d03f5){const _0x570a0f=_0x386d;super(_0x7d03f5);const _0x4fa6c6=new _0x36f4da();_0x4fa6c6[_0x570a0f(0x114)]=_0x1e1b43,this[_0x570a0f(0x10d)]({'tag':_0x570a0f(0x10c),'attributes':{'class':['ck',_0x570a0f(0x107),_0x570a0f(0x108)]},'children':[_0x4fa6c6,{'tag':_0x570a0f(0x10b),'attributes':{'class':['ck',_0x570a0f(0x10f)]},'children':[_0x12a371(_0x7d03f5,_0x570a0f(0x111))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x390c(_0x3f49f2,_0x19e9bc){const _0x55bbcb=_0x55bb();return _0x390c=function(_0x390c8e,_0x12be53){_0x390c8e=_0x390c8e-0x18c;let _0x1a2253=_0x55bbcb[_0x390c8e];return _0x1a2253;},_0x390c(_0x3f49f2,_0x19e9bc);}const _0xb057ec=_0x390c;function _0x55bb(){const _0x35a7b8=['revisionViews','addRevision','remove','1360REtAOG','select','12AZqyOr','35760hfeGCS','uiLanguage','startDate','79545StVxRH','_revisionActions','setTemplate','div','_requireRevisionName','createCollection','span','removeRevision','ck-revision-history-sidebar__time-period','5PUQZwn','ck-revision-history-sidebar__time-period__label','3eYfdey','localizedPeriodName','907944MMpjFN','1595728PEorJy','12321boDPBs','setName','locale','find','add','ck-revision-history-sidebar__time-period__revisions','846028kSLUsC','delegate','44zPRegc','1008700aujcuM'];_0x55bb=function(){return _0x35a7b8;};return _0x55bb();}(function(_0x33e1bb,_0x22a478){const _0x2af191=_0x390c,_0x411f3f=_0x33e1bb();while(!![]){try{const _0x1bf2e3=parseInt(_0x2af191(0x1a8))/0x1*(-parseInt(_0x2af191(0x19c))/0x2)+-parseInt(_0x2af191(0x1aa))/0x3*(parseInt(_0x2af191(0x192))/0x4)+-parseInt(_0x2af191(0x19f))/0x5*(parseInt(_0x2af191(0x19b))/0x6)+parseInt(_0x2af191(0x195))/0x7+parseInt(_0x2af191(0x1ad))/0x8+-parseInt(_0x2af191(0x18c))/0x9*(parseInt(_0x2af191(0x199))/0xa)+-parseInt(_0x2af191(0x194))/0xb*(-parseInt(_0x2af191(0x1ac))/0xc);if(_0x1bf2e3===_0x22a478)break;else _0x411f3f['push'](_0x411f3f['shift']());}catch(_0x399682){_0x411f3f['push'](_0x411f3f['shift']());}}}(_0x55bb,0x1f149));import{View as _0x575102}from'ckeditor5/src/ui.js';import{RevisionView as _0x314308}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x3c64c3}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x575102{[_0xb057ec(0x19e)];[_0xb057ec(0x196)];[_0xb057ec(0x1a0)];[_0xb057ec(0x1a3)];constructor(_0x2f36d2,_0x45ca0e,_0x4bd1b3,_0x2b43c4){const _0x4c0b28=_0xb057ec;super(_0x2f36d2);const _0x474fce=_0x3c64c3(_0x45ca0e,this[_0x4c0b28(0x18e)][_0x4c0b28(0x19d)])[_0x4c0b28(0x1ab)];this[_0x4c0b28(0x19e)]=_0x45ca0e,this[_0x4c0b28(0x196)]=this[_0x4c0b28(0x1a4)](),this[_0x4c0b28(0x1a0)]=_0x4bd1b3,this[_0x4c0b28(0x1a3)]=_0x2b43c4,this[_0x4c0b28(0x196)][_0x4c0b28(0x193)](_0x4c0b28(0x19a))['to'](this),this[_0x4c0b28(0x196)][_0x4c0b28(0x193)](_0x4c0b28(0x18d))['to'](this),this[_0x4c0b28(0x1a1)]({'tag':_0x4c0b28(0x1a2),'attributes':{'class':['ck',_0x4c0b28(0x1a7)]},'children':[{'tag':_0x4c0b28(0x1a5),'attributes':{'class':['ck',_0x4c0b28(0x1a9)]},'children':[{'text':_0x474fce}]},{'tag':_0x4c0b28(0x1a2),'attributes':{'class':['ck',_0x4c0b28(0x191)]},'children':this[_0x4c0b28(0x196)]}]});}[_0xb057ec(0x197)](_0x4e8ef9){const _0x43852b=_0xb057ec,_0x30d77a=new _0x314308(this[_0x43852b(0x18e)],_0x4e8ef9,this[_0x43852b(0x1a0)],this[_0x43852b(0x1a3)]);this[_0x43852b(0x196)][_0x43852b(0x190)](_0x30d77a);}[_0xb057ec(0x1a6)](_0x43163a){const _0x56d726=_0xb057ec,_0xe44d48=this[_0x56d726(0x196)][_0x56d726(0x18f)](_0x1ee803=>_0x1ee803['id']===_0x43163a['id']);this[_0x56d726(0x196)][_0x56d726(0x198)](_0xe44d48);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3105(_0x4f9da4,_0x2643e8){const _0x4912e4=_0x4912();return _0x3105=function(_0x31059e,_0x37c964){_0x31059e=_0x31059e-0xca;let _0x42caf4=_0x4912e4[_0x31059e];return _0x42caf4;},_0x3105(_0x4f9da4,_0x2643e8);}const _0x1f3a52=_0x3105;(function(_0x576ec3,_0x1428db){const _0x5b8b36=_0x3105,_0x290e5b=_0x576ec3();while(!![]){try{const _0x32b1d0=parseInt(_0x5b8b36(0xe1))/0x1*(parseInt(_0x5b8b36(0xee))/0x2)+parseInt(_0x5b8b36(0xe0))/0x3+parseInt(_0x5b8b36(0xd0))/0x4+-parseInt(_0x5b8b36(0xfd))/0x5*(parseInt(_0x5b8b36(0xcd))/0x6)+parseInt(_0x5b8b36(0xd9))/0x7*(parseInt(_0x5b8b36(0xd6))/0x8)+parseInt(_0x5b8b36(0xe2))/0x9+parseInt(_0x5b8b36(0xe5))/0xa*(-parseInt(_0x5b8b36(0xe9))/0xb);if(_0x32b1d0===_0x1428db)break;else _0x290e5b['push'](_0x290e5b['shift']());}catch(_0x2e3b3f){_0x290e5b['push'](_0x290e5b['shift']());}}}(_0x4912,0x56977));import{View as _0x265d6d}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x560aa9}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x24dd19}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x5a7db3}from'./utils.js';function _0x4912(){const _0x28f306=['flat','map','addRevision','set','add','remove','66XcXpyA','bindTemplate','select','2647552gfAcBO','fire','locale','delegate','removeRevision','div','192CFcRXU','find','setName','193032YKXlsm','uiLanguage','highlight','_revisions','_removeRevision','ck-revision-history-sidebar','unhighlight','1203051hzMBOn','1HSKlJA','4515327CFyGsm','getTime','_getTimePeriodViewByStartDate','10yFyOLL','setTemplate','revisionSelected','ck-revision-history-sidebar__timeline','18315627CQGiMS','render','some','createCollection','deselect','79210VfzTvK','highlightRevisions','startDate','_revisionActions','ck-rounded-corners','get','createdAt','revisionSetName','timePeriodViews','_requireRevisionName','ck-reset','_addRevision','isEnabled','revisionViews','selectRevision','111955dEByio','ck-disabled'];_0x4912=function(){return _0x28f306;};return _0x4912();}import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x265d6d{[_0x1f3a52(0xf6)];[_0x1f3a52(0xdc)];[_0x1f3a52(0xf1)];[_0x1f3a52(0xf7)];constructor(_0x5d1bb0,_0x4b504d,_0x1908db,_0x5be51a){const _0x406fde=_0x1f3a52;super(_0x5d1bb0);const _0x554a0c=this[_0x406fde(0xce)];this[_0x406fde(0xf6)]=this[_0x406fde(0xec)](),this[_0x406fde(0xf6)][_0x406fde(0xd3)](_0x406fde(0xcf))['to'](this),this[_0x406fde(0xf6)][_0x406fde(0xd3)](_0x406fde(0xd8))['to'](this),this[_0x406fde(0xdc)]=_0x4b504d,this[_0x406fde(0xf1)]=_0x1908db,this[_0x406fde(0xf7)]=_0x5be51a,this['on'](_0x406fde(0xcf),(_0xb520de,_0x4c0381)=>{const _0x3ce05b=_0x406fde;this[_0x3ce05b(0xd1)](_0x3ce05b(0xe7),_0x4c0381);}),this['on'](_0x406fde(0xd8),(_0x1569d3,_0xdaf5d4)=>{const _0x222e44=_0x406fde;this[_0x222e44(0xd1)](_0x222e44(0xf5),_0xdaf5d4);}),this[_0x406fde(0xca)](_0x406fde(0xfa),!0x1),this[_0x406fde(0xe6)]({'tag':_0x406fde(0xd5),'attributes':{'class':['ck',_0x406fde(0xf8),_0x406fde(0xf2),_0x406fde(0xde)]},'children':[new _0x24dd19(_0x5d1bb0),{'tag':_0x406fde(0xd5),'attributes':{'class':['ck',_0x406fde(0xe8),_0x554a0c['if'](_0x406fde(0xfa),_0x406fde(0xfe),_0x402c80=>!_0x402c80)]},'children':this[_0x406fde(0xf6)]}]});}[_0x1f3a52(0xea)](){const _0x24e1b8=_0x1f3a52;super[_0x24e1b8(0xea)]();for(const _0xc595c0 of this[_0x24e1b8(0xdc)])this[_0x24e1b8(0xf9)](_0xc595c0);this[_0x24e1b8(0xdc)]['on'](_0x24e1b8(0xcb),(_0x137145,_0x3ac87d)=>{const _0x1f23f0=_0x24e1b8;this[_0x1f23f0(0xf9)](_0x3ac87d);}),this[_0x24e1b8(0xdc)]['on'](_0x24e1b8(0xcc),(_0x4be758,_0x40486a)=>{const _0x56da98=_0x24e1b8;this[_0x56da98(0xdd)](_0x40486a);});}get[_0x1f3a52(0xfb)](){const _0x550021=_0x1f3a52;return this[_0x550021(0xf6)][_0x550021(0x100)](_0x2fa7b2=>_0x2fa7b2[_0x550021(0xfb)][_0x550021(0x100)](_0x380342=>_0x380342))[_0x550021(0xff)]();}[_0x1f3a52(0xfc)](_0x5de46c){const _0x3dcf12=_0x1f3a52;for(const _0x1686ba of this[_0x3dcf12(0xfb)])_0x5de46c&&_0x5de46c['id']===_0x1686ba['id']?_0x1686ba[_0x3dcf12(0xcf)]():_0x1686ba[_0x3dcf12(0xed)]();}[_0x1f3a52(0xef)](_0x5cb83c){const _0x4163ef=_0x1f3a52;for(const _0x48df9b of this[_0x4163ef(0xfb)])_0x5cb83c[_0x4163ef(0xeb)](({id:_0x31a07b})=>_0x31a07b===_0x48df9b['id'])?_0x48df9b[_0x4163ef(0xdb)]():_0x48df9b[_0x4163ef(0xdf)]();}[_0x1f3a52(0xf9)](_0x2a988f){const _0x5acd5b=_0x1f3a52,_0x3ae0c2=_0x5a7db3(_0x2a988f[_0x5acd5b(0xf4)],this[_0x5acd5b(0xd2)][_0x5acd5b(0xda)])[_0x5acd5b(0xf0)];let _0x2d0727=this[_0x5acd5b(0xf6)][_0x5acd5b(0xf3)](0x0);_0x2d0727&&_0x2d0727[_0x5acd5b(0xf0)][_0x5acd5b(0xe3)]()===_0x3ae0c2[_0x5acd5b(0xe3)]()||(_0x2d0727=new _0x560aa9(this[_0x5acd5b(0xd2)],_0x3ae0c2,this[_0x5acd5b(0xf1)],this[_0x5acd5b(0xf7)]),this[_0x5acd5b(0xf6)][_0x5acd5b(0xcb)](_0x2d0727)),_0x2d0727[_0x5acd5b(0x101)](_0x2a988f);}[_0x1f3a52(0xdd)](_0x21d348){const _0x306b5a=_0x1f3a52,_0x54e827=_0x5a7db3(_0x21d348[_0x306b5a(0xf4)],this[_0x306b5a(0xd2)][_0x306b5a(0xda)])[_0x306b5a(0xf0)];this[_0x306b5a(0xe4)](_0x54e827)[_0x306b5a(0xd4)](_0x21d348);}[_0x1f3a52(0xe4)](_0xbe1917){const _0x1e5b01=_0x1f3a52;return this[_0x1e5b01(0xf6)][_0x1e5b01(0xd7)](_0x450f2e=>_0x450f2e[_0x1e5b01(0xf0)][_0x1e5b01(0xe3)]()===_0xbe1917[_0x1e5b01(0xe3)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1458(){const _0x4ccb67=['toJSDate','13129060YriVDH','monthLong','weekdayLong','30umTCtN','local','fromJSDate','1080064GLqCeX','toRelativeCalendar','1280741WCZWwh','startOf','2093695aGxemV','minus','day','week','year','4LjVlxl','2416vYtkFw','1018383Mpmxrz','8739ZeSGAq','1564005xLhQKJ','month','setLocale','hasSame'];_0x1458=function(){return _0x4ccb67;};return _0x1458();}(function(_0x41662d,_0x4e57bc){const _0x5433cf=_0x577d,_0x404cc4=_0x41662d();while(!![]){try{const _0x3414a2=-parseInt(_0x5433cf(0xc6))/0x1+parseInt(_0x5433cf(0xbb))/0x2+-parseInt(_0x5433cf(0xc8))/0x3+-parseInt(_0x5433cf(0xc4))/0x4*(parseInt(_0x5433cf(0xbf))/0x5)+parseInt(_0x5433cf(0xb8))/0x6*(parseInt(_0x5433cf(0xbd))/0x7)+parseInt(_0x5433cf(0xc5))/0x8*(-parseInt(_0x5433cf(0xc7))/0x9)+parseInt(_0x5433cf(0xcd))/0xa;if(_0x3414a2===_0x4e57bc)break;else _0x404cc4['push'](_0x404cc4['shift']());}catch(_0x418a59){_0x404cc4['push'](_0x404cc4['shift']());}}}(_0x1458,0x7dfd6));function _0x577d(_0x7c4ecc,_0x4e3ae4){const _0x14585f=_0x1458();return _0x577d=function(_0x577ded,_0x3793a7){_0x577ded=_0x577ded-0xb8;let _0x5e2caf=_0x14585f[_0x577ded];return _0x5e2caf;},_0x577d(_0x7c4ecc,_0x4e3ae4);}import{DateTime as _0x5b1a37}from'luxon';export function getDateTimePeriodInfo(_0x3d8a30,_0x30fdc1){const _0x5dc949=_0x577d,_0x527cd6=_0x5b1a37[_0x5dc949(0xba)](_0x3d8a30)[_0x5dc949(0xca)](_0x30fdc1),_0x318c53=_0x5b1a37[_0x5dc949(0xb9)](),_0x3032d3=_0x318c53[_0x5dc949(0xc0)]({'days':0x1})[_0x5dc949(0xbe)](_0x5dc949(0xc1));let _0x5a1b94,_0x5be993;return _0x527cd6[_0x5dc949(0xcb)](_0x318c53,_0x5dc949(0xc1))?(_0x5a1b94=_0x527cd6[_0x5dc949(0xbe)](_0x5dc949(0xc1))[_0x5dc949(0xcc)](),_0x5be993=_0x527cd6[_0x5dc949(0xbc)]()):_0x527cd6[_0x5dc949(0xcb)](_0x3032d3,_0x5dc949(0xc1))?(_0x5a1b94=_0x3032d3[_0x5dc949(0xcc)](),_0x5be993=_0x527cd6[_0x5dc949(0xbc)]()):_0x527cd6[_0x5dc949(0xcb)](_0x318c53,_0x5dc949(0xc2))?(_0x5a1b94=_0x527cd6[_0x5dc949(0xbe)](_0x5dc949(0xc2))[_0x5dc949(0xcc)](),_0x5be993=_0x527cd6[_0x5dc949(0xcf)]||''):_0x527cd6[_0x5dc949(0xcb)](_0x318c53,_0x5dc949(0xc3))?(_0x5a1b94=_0x527cd6[_0x5dc949(0xbe)](_0x5dc949(0xc9))[_0x5dc949(0xcc)](),_0x5be993=_0x527cd6[_0x5dc949(0xce)]||''):(_0x5a1b94=_0x527cd6[_0x5dc949(0xbe)](_0x5dc949(0xc3))[_0x5dc949(0xcc)](),_0x5be993=String(_0x527cd6[_0x5dc949(0xc3)])),{'startDate':_0x5a1b94,'localizedPeriodName':_0x5be993};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x416f12=_0x5672;function _0x5672(_0x647fbb,_0x3685c6){const _0x487a6c=_0x487a();return _0x5672=function(_0x567265,_0x2dd62d){_0x567265=_0x567265-0x1bd;let _0x3f5531=_0x487a6c[_0x567265];return _0x3f5531;},_0x5672(_0x647fbb,_0x3685c6);}function _0x487a(){const _0x3312ee=['name','2323218iHqHmi','9JJFIre','209628YplvXv','12sdffTd','Removed\x20by','data','147880nDUAnB','element','set','focus','15377cNYiXJ','div','7840283BQLVQV','9930230XgrTIi','isSuggestion','21LxjmcX','36qGVcXL','1252990KJCXol','174NWMCZZ','bindTemplate','changeId','author','ck-revision-change__label','Added\x20by','ck-annotation','type','Suggested\x20by','ck-revision-change__','_model','setTemplate','ck-revision-change','span','add'];_0x487a=function(){return _0x3312ee;};return _0x487a();}(function(_0x13343d,_0x2a8dec){const _0x3038d7=_0x5672,_0x285788=_0x13343d();while(!![]){try{const _0x12cce7=parseInt(_0x3038d7(0x1da))/0x1*(-parseInt(_0x3038d7(0x1c0))/0x2)+-parseInt(_0x3038d7(0x1d3))/0x3*(-parseInt(_0x3038d7(0x1d2))/0x4)+-parseInt(_0x3038d7(0x1bf))/0x5+parseInt(_0x3038d7(0x1d0))/0x6*(parseInt(_0x3038d7(0x1bd))/0x7)+-parseInt(_0x3038d7(0x1d6))/0x8*(parseInt(_0x3038d7(0x1d1))/0x9)+-parseInt(_0x3038d7(0x1dd))/0xa+parseInt(_0x3038d7(0x1dc))/0xb*(parseInt(_0x3038d7(0x1be))/0xc);if(_0x12cce7===_0x2a8dec)break;else _0x285788['push'](_0x285788['shift']());}catch(_0x29f0ed){_0x285788['push'](_0x285788['shift']());}}}(_0x487a,0xde117));import{View as _0x42dd24}from'ckeditor5/src/ui.js';import{getTranslation as _0x50c39f}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x42dd24{[_0x416f12(0x1c2)];[_0x416f12(0x1ca)];constructor(_0x516f27,_0x757b62){const _0x45d9c7=_0x416f12;super(_0x516f27),this[_0x45d9c7(0x1ca)]=_0x757b62,this[_0x45d9c7(0x1c2)]=_0x757b62['id'];const _0x14350c=this[_0x45d9c7(0x1c1)],_0x2722ee=_0x50c39f(_0x516f27,_0x757b62[_0x45d9c7(0x1d5)][_0x45d9c7(0x1de)]?_0x45d9c7(0x1c8):_0x45d9c7(0x1ce)==_0x757b62[_0x45d9c7(0x1c7)]?_0x45d9c7(0x1c5):_0x45d9c7(0x1d4));this[_0x45d9c7(0x1d8)](_0x45d9c7(0x1c7),_0x757b62[_0x45d9c7(0x1c7)]),this[_0x45d9c7(0x1cb)]({'tag':_0x45d9c7(0x1db),'attributes':{'class':[_0x45d9c7(0x1c6),_0x45d9c7(0x1cc),_0x14350c['to'](_0x45d9c7(0x1c7),_0x3f7641=>_0x45d9c7(0x1c9)+_0x3f7641)],'tabindex':-0x1},'children':[{'tag':_0x45d9c7(0x1cd),'children':[{'tag':_0x45d9c7(0x1cd),'attributes':{'class':[_0x45d9c7(0x1c4)]},'children':[{'text':_0x2722ee}]},{'text':'\x20'+_0x757b62[_0x45d9c7(0x1c3)][_0x45d9c7(0x1cf)]}]}]});}[_0x416f12(0x1d9)](){const _0x3bd662=_0x416f12;this[_0x3bd662(0x1d7)][_0x3bd662(0x1d9)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5f2436,_0x42919d){const _0x153a21=_0xee55,_0x36b383=_0x5f2436();while(!![]){try{const _0x4923a9=parseInt(_0x153a21(0x1fc))/0x1*(-parseInt(_0x153a21(0x1d9))/0x2)+-parseInt(_0x153a21(0x1e2))/0x3*(parseInt(_0x153a21(0x1dc))/0x4)+parseInt(_0x153a21(0x1ed))/0x5+parseInt(_0x153a21(0x1f6))/0x6*(parseInt(_0x153a21(0x1e6))/0x7)+parseInt(_0x153a21(0x1e1))/0x8+parseInt(_0x153a21(0x1d8))/0x9+parseInt(_0x153a21(0x1e7))/0xa*(parseInt(_0x153a21(0x1d5))/0xb);if(_0x4923a9===_0x42919d)break;else _0x36b383['push'](_0x36b383['shift']());}catch(_0x169324){_0x36b383['push'](_0x36b383['shift']());}}}(_0x4d99,0xa73f0));import{View as _0x20e4d9,ButtonView as _0x282c07,ToolbarSeparatorView as _0xabf9cb}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x495eae,IconChevronDown as _0x28fa7a}from'ckeditor5/src/icons.js';import{getTranslation as _0x351164}from'../../utils/common-translations.js';function _0xee55(_0x4c2531,_0x228109){const _0x4d993c=_0x4d99();return _0xee55=function(_0xee5519,_0x5daa05){_0xee5519=_0xee5519-0x1d2;let _0x4a30ac=_0x4d993c[_0xee5519];return _0x4a30ac;},_0xee55(_0x4c2531,_0x228109);}import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x20e4d9{constructor(_0x236f98){const _0x472364=_0xee55;super(_0x236f98);const _0x5160e2=this[_0x472364(0x1dd)],_0x5d180e=new _0x282c07(_0x236f98),_0xca21c7=new _0x282c07(_0x236f98);this[_0x472364(0x1da)](_0x472364(0x1d6),!0x1),this[_0x472364(0x1da)](_0x472364(0x1f3),!0x1),this[_0x472364(0x1da)](_0x472364(0x1eb),0x0),this[_0x472364(0x1da)](_0x472364(0x1d2),0x0),this[_0x472364(0x1da)](_0x472364(0x1f2),!0x1),this[_0x472364(0x1da)](_0x472364(0x1e4),!0x1),this[_0x472364(0x1de)](_0x472364(0x1df))['to'](this,_0x472364(0x1f3),this,_0x472364(0x1d2),(_0x36b417,_0xc82d0f)=>_0x36b417&&_0xc82d0f>0x0),this[_0x472364(0x1de)](_0x472364(0x1ef))['to'](this,_0x472364(0x1f3),this,_0x472364(0x1eb),this,_0x472364(0x1d2),this,_0x472364(0x1d6),(_0x271713,_0x2dc645,_0x4c6796,_0x22a13d)=>{const _0x1d159d=_0x472364;if(!_0x271713)return _0x351164(_0x236f98,_0x1d159d(0x1ea));if(!_0x4c6796)return _0x351164(_0x236f98,_0x1d159d(0x1f9));const _0x142cc4=_0x351164(_0x236f98,_0x1d159d(0x1f8),_0x4c6796);return _0x22a13d?_0x351164(_0x236f98,_0x1d159d(0x1e9),[_0x2dc645+0x1,_0x4c6796]):_0x142cc4;}),_0x5d180e[_0x472364(0x1da)]({'label':_0x351164(_0x236f98,_0x472364(0x1f1)),'tooltip':!0x0,'icon':_0x495eae}),_0xca21c7[_0x472364(0x1da)]({'label':_0x351164(_0x236f98,_0x472364(0x1e0)),'tooltip':!0x0,'icon':_0x28fa7a}),_0x5d180e[_0x472364(0x1de)](_0x472364(0x1d3))['to'](this,_0x472364(0x1e4)),_0xca21c7[_0x472364(0x1de)](_0x472364(0x1d3))['to'](this,_0x472364(0x1f2)),_0x5d180e['on'](_0x472364(0x1f5),()=>this[_0x472364(0x1f4)](_0x472364(0x1f5),_0x472364(0x1fa))),_0xca21c7['on'](_0x472364(0x1f5),()=>this[_0x472364(0x1f4)](_0x472364(0x1f5),_0x472364(0x1fd))),this[_0x472364(0x1d4)]({'tag':_0x472364(0x1ee),'attributes':{'class':['ck',_0x472364(0x1e5),_0x472364(0x1f0)]},'children':[{'tag':_0x472364(0x1fb),'attributes':{'class':[_0x472364(0x1e8)]},'children':[{'tag':_0x472364(0x1fb),'attributes':{'class':[_0x472364(0x1db),_0x5160e2['if'](_0x472364(0x1df),_0x472364(0x1d7),_0x118c30=>!_0x118c30)]},'children':[{'text':_0x5160e2['to'](_0x472364(0x1d6),_0x551641=>_0x551641?_0x351164(_0x236f98,_0x472364(0x1e3))+':\x20':_0x351164(_0x236f98,_0x472364(0x1f7))+':\x20')}]},{'text':_0x5160e2['to'](_0x472364(0x1ef))}]},new _0xabf9cb(),{'tag':_0x472364(0x1ee),'attributes':{'class':[_0x472364(0x1ec)]},'children':[_0x5d180e,_0xca21c7]}]});}}function _0x4d99(){const _0x182925=['set','ck-revision-history-ui__changes-navigation__label','61636NHjhwl','bindTemplate','bind','_isStatusLabelVisible','Show\x20next\x20change','2149288mcacct','237MdslVz','EDIT_X_OF_Y_REVISIONS','isBackwardNavigationEnabled','ck-revision-history-ui','49wWlZXe','10bWzcnW','ck-revision-history-ui__changes-navigation__wrapper','X_OF_Y_CHANGES','Loading...','currentChangeNumber','ck-revision-history-ui__changes-navigation__navigation','1255275aCdfLd','div','_statusText','ck-revision-history-ui__changes-navigation','Show\x20previous\x20change','isForwardNavigationEnabled','isReady','fire','execute','349374BAUDyP','Total','NUMBER_OF_CHANGES','No\x20changes','backward','span','2EvuMBF','forward','numberOfChanges','isEnabled','setTemplate','8915390KTDTPw','isNavigationMode','ck-hidden','8365410NlXbIb','764948YiWVFS'];_0x4d99=function(){return _0x182925;};return _0x4d99();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d3bc3=_0x4eaa;function _0x4eaa(_0x3199c4,_0x445419){const _0x50e0ad=_0x50e0();return _0x4eaa=function(_0x4eaaaa,_0x50860a){_0x4eaaaa=_0x4eaaaa-0xe8;let _0x4c00e5=_0x50e0ad[_0x4eaaaa];return _0x4c00e5;},_0x4eaa(_0x3199c4,_0x445419);}(function(_0x511c26,_0x19b9c7){const _0x401403=_0x4eaa,_0x1fa2d3=_0x511c26();while(!![]){try{const _0x4c0b6f=-parseInt(_0x401403(0xea))/0x1*(-parseInt(_0x401403(0xe8))/0x2)+-parseInt(_0x401403(0xfd))/0x3*(parseInt(_0x401403(0xed))/0x4)+parseInt(_0x401403(0xe9))/0x5+parseInt(_0x401403(0xf5))/0x6*(-parseInt(_0x401403(0xf3))/0x7)+-parseInt(_0x401403(0xf9))/0x8*(-parseInt(_0x401403(0xff))/0x9)+parseInt(_0x401403(0xf8))/0xa+-parseInt(_0x401403(0xfa))/0xb;if(_0x4c0b6f===_0x19b9c7)break;else _0x1fa2d3['push'](_0x1fa2d3['shift']());}catch(_0x105df0){_0x1fa2d3['push'](_0x1fa2d3['shift']());}}}(_0x50e0,0x7630f));import{Plugin as _0x164cf5}from'ckeditor5/src/core.js';const ge=_0x5d3bc3(0xf0);import'../../../theme/revisionviewerloadingoverlay.css';function _0x50e0(){const _0x5192a1=['show','85718rqkfxw','3002445pnWVux','19BqxZro','editor','isOfficialPlugin','292NUgNnl','isPremiumPlugin','document','ck-editor__editable__loading-overlay','pluginName','addClass','133PpqPPz','removeClass','13242IYtvYR','hide','change','2782000dDkcWd','388552YXqFUw','19135028xuojJr','editing','view','10401IzFeah','RevisionViewerLoadingOverlay','153LGlSXl','roots'];_0x50e0=function(){return _0x5192a1;};return _0x50e0();}export class RevisionViewerLoadingOverlay extends _0x164cf5{static get[_0x5d3bc3(0xf1)](){const _0x36b492=_0x5d3bc3;return _0x36b492(0xfe);}static get[_0x5d3bc3(0xec)](){return!0x0;}static get[_0x5d3bc3(0xee)](){return!0x0;}[_0x5d3bc3(0x101)](){const _0x2e7b2a=_0x5d3bc3,_0x50d3e4=this[_0x2e7b2a(0xeb)][_0x2e7b2a(0xfb)][_0x2e7b2a(0xfc)];_0x50d3e4[_0x2e7b2a(0xf7)](_0x521ab9=>{const _0x3806db=_0x2e7b2a;for(const _0x3fcded of _0x50d3e4[_0x3806db(0xef)][_0x3806db(0x100)])_0x521ab9[_0x3806db(0xf2)](ge,_0x3fcded);});}[_0x5d3bc3(0xf6)](){const _0x4cd2ed=_0x5d3bc3,_0x497ab0=this[_0x4cd2ed(0xeb)][_0x4cd2ed(0xfb)][_0x4cd2ed(0xfc)];_0x497ab0[_0x4cd2ed(0xf7)](_0x14f411=>{const _0x5bcb63=_0x4cd2ed;for(const _0x3ee017 of _0x497ab0[_0x5bcb63(0xef)][_0x5bcb63(0x100)])_0x14f411[_0x5bcb63(0xf4)](ge,_0x3ee017);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xbc5b(){const _0xa3867c=['6196134oDuHsE','show','revisionHistory','isOfficialPlugin','numberOfChanges','change:isReady','commands','bind','currentChangeNumber','832326OPzFpy','restoreRevision','init','forward','1605402bbOBdk','listenTo','isBackwardNavigationEnabled','isForwardNavigationEnabled','add','get','hide','plugins','isEnabled','Back\x20to\x20editing','8BWOaxm','editor','isNavigationMode','closeRevisionViewerCallback','4660JoeyGb','exitToEditing','33803FgsdAJ','3957384LMSjoG','execute','showPreviousChange','Restore\x20this\x20revision','85FAnSdQ','78MVOoCh','pluginName','297006cGHHAf','isPremiumPlugin','config','isReady','RevisionViewerUI','14038EgeKZC','set','componentFactory','requires','changesNavigation','ck-revision-history-ui__back-to-editing','showNextChange'];_0xbc5b=function(){return _0xa3867c;};return _0xbc5b();}const _0x86430b=_0x412f;(function(_0x511906,_0x1582bc){const _0x5e2086=_0x412f,_0x25cead=_0x511906();while(!![]){try{const _0x528451=parseInt(_0x5e2086(0x1b3))/0x1+parseInt(_0x5e2086(0x1d4))/0x2*(parseInt(_0x5e2086(0x1cd))/0x3)+-parseInt(_0x5e2086(0x1c8))/0x4+-parseInt(_0x5e2086(0x1cc))/0x5*(-parseInt(_0x5e2086(0x1cf))/0x6)+parseInt(_0x5e2086(0x1aa))/0x7+parseInt(_0x5e2086(0x1c1))/0x8*(parseInt(_0x5e2086(0x1b7))/0x9)+-parseInt(_0x5e2086(0x1c5))/0xa*(parseInt(_0x5e2086(0x1c7))/0xb);if(_0x528451===_0x1582bc)break;else _0x25cead['push'](_0x25cead['shift']());}catch(_0x449343){_0x25cead['push'](_0x25cead['shift']());}}}(_0xbc5b,0x79b51));import{Plugin as _0x3be383}from'ckeditor5/src/core.js';import{ButtonView as _0x4b2fa0}from'ckeditor5/src/ui.js';import{IconUndo as _0x13fc92}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x534361}from'./changesnavigationview.js';import{RevisionViewer as _0x2c06a2}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x28da1d}from'./revisionviewerloadingoverlay.js';function _0x412f(_0x20385e,_0x13cd19){const _0xbc5b57=_0xbc5b();return _0x412f=function(_0x412f83,_0x8f6fc7){_0x412f83=_0x412f83-0x1a7;let _0x3cc79b=_0xbc5b57[_0x412f83];return _0x3cc79b;},_0x412f(_0x20385e,_0x13cd19);}import{getTranslation as _0x1da708}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x3be383{static get[_0x86430b(0x1ce)](){const _0x161869=_0x86430b;return _0x161869(0x1d3);}static get[_0x86430b(0x1ad)](){return!0x0;}static get[_0x86430b(0x1d0)](){return!0x0;}static get[_0x86430b(0x1d7)](){return[_0x2c06a2,_0x28da1d];}[_0x86430b(0x1b5)](){const _0x5b95b0=_0x86430b,_0x467473=this[_0x5b95b0(0x1c2)],_0x3dca02=_0x467473[_0x5b95b0(0x1be)][_0x5b95b0(0x1bc)](_0x2c06a2),_0x3b0d64=_0x467473[_0x5b95b0(0x1be)][_0x5b95b0(0x1bc)](_0x28da1d);_0x467473['ui'][_0x5b95b0(0x1d6)][_0x5b95b0(0x1bb)](_0x5b95b0(0x1c6),_0x3220aa=>{const _0x4f9cee=_0x5b95b0,_0x15c6a2=new _0x4b2fa0(_0x3220aa);return _0x15c6a2[_0x4f9cee(0x1d5)]({'label':_0x1da708(_0x3220aa,_0x4f9cee(0x1c0)),'icon':_0x13fc92,'withText':!0x0,'tooltip':!0x0,'class':_0x4f9cee(0x1a8)}),this[_0x4f9cee(0x1b8)](_0x15c6a2,_0x4f9cee(0x1c9),()=>{const _0x43c4f4=_0x4f9cee;_0x467473[_0x43c4f4(0x1d1)][_0x43c4f4(0x1bc)](_0x43c4f4(0x1ac))[_0x43c4f4(0x1c4)]();}),_0x15c6a2;}),_0x467473['ui'][_0x5b95b0(0x1d6)][_0x5b95b0(0x1bb)](_0x5b95b0(0x1b4),_0x211bea=>{const _0x1784ef=_0x5b95b0,_0x4e47ce=new _0x4b2fa0(_0x211bea);return _0x4e47ce[_0x1784ef(0x1d5)]({'label':_0x1da708(_0x211bea,_0x1784ef(0x1cb)),'withText':!0x0,'tooltip':!0x0}),_0x4e47ce[_0x1784ef(0x1b1)](_0x1784ef(0x1bf))['to'](_0x467473[_0x1784ef(0x1b0)][_0x1784ef(0x1bc)](_0x1784ef(0x1b4))),this[_0x1784ef(0x1b8)](_0x4e47ce,_0x1784ef(0x1c9),()=>_0x467473[_0x1784ef(0x1c9)](_0x1784ef(0x1b4))),_0x4e47ce;}),_0x467473['ui'][_0x5b95b0(0x1d6)][_0x5b95b0(0x1bb)](_0x5b95b0(0x1a7),_0x5b5df6=>{const _0x7ef732=_0x5b95b0,_0x3298d9=new _0x534361(_0x5b5df6),_0x1fc36c=_0x467473[_0x7ef732(0x1b0)][_0x7ef732(0x1bc)](_0x7ef732(0x1ca)),_0x3bd0a0=_0x467473[_0x7ef732(0x1b0)][_0x7ef732(0x1bc)](_0x7ef732(0x1a9));return _0x3298d9[_0x7ef732(0x1b1)](_0x7ef732(0x1b9))['to'](_0x1fc36c,_0x7ef732(0x1bf)),_0x3298d9[_0x7ef732(0x1b1)](_0x7ef732(0x1ba))['to'](_0x3bd0a0,_0x7ef732(0x1bf)),_0x3298d9[_0x7ef732(0x1b1)](_0x7ef732(0x1d2),_0x7ef732(0x1b2),_0x7ef732(0x1ae),_0x7ef732(0x1c3))['to'](_0x3dca02),this[_0x7ef732(0x1b8)](_0x3298d9,_0x7ef732(0x1c9),(_0x2f89ad,_0x8093a5)=>{const _0x34f165=_0x7ef732;_0x467473[_0x34f165(0x1c9)](_0x34f165(0x1b6)===_0x8093a5?_0x34f165(0x1a9):_0x34f165(0x1ca));}),_0x3298d9;}),_0x3b0d64[_0x5b95b0(0x1ab)](),_0x3dca02['on'](_0x5b95b0(0x1af),(_0x430348,_0x1dd2d6,_0x39006c)=>{const _0x43d5ad=_0x5b95b0;_0x39006c?_0x3b0d64[_0x43d5ad(0x1bd)]():_0x3b0d64[_0x43d5ad(0x1ab)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x1fbf96,_0x3eddcc,_0x687459){const t=_0x1fbf96['t'];switch(_0x3eddcc){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'},_0x687459);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x687459);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'';}}
|