@ckeditor/ckeditor5-revision-history 47.1.0 → 47.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +12 -12
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x467f65=_0x37a4;(function(_0x5adf8c,_0x3d431a){const _0x2ef061=_0x37a4,_0x3a8395=_0x5adf8c();while(!![]){try{const _0xbd9253=parseInt(_0x2ef061(0xbf))/0x1*(-parseInt(_0x2ef061(0xc8))/0x2)+-parseInt(_0x2ef061(0xd1))/0x3*(-parseInt(_0x2ef061(0xda))/0x4)+parseInt(_0x2ef061(0xd7))/0x5*(-parseInt(_0x2ef061(0xb4))/0x6)+-parseInt(_0x2ef061(0xd9))/0x7+parseInt(_0x2ef061(0xd2))/0x8+parseInt(_0x2ef061(0xce))/0x9+-parseInt(_0x2ef061(0xbe))/0xa;if(_0xbd9253===_0x3d431a)break;else _0x3a8395['push'](_0x3a8395['shift']());}catch(_0x291e17){_0x3a8395['push'](_0x3a8395['shift']());}}}(_0x7bea,0x39b4c));import{CssTransitionDisablerMixin as _0x1ebcdd,LabeledFieldView as _0x268674,View as _0x5c23c9,createLabeledInputText as _0x34e031,submitHandler as _0x5b8e02}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3090cc,KeystrokeHandler as _0x34f740}from'ckeditor5/src/utils.js';function _0x37a4(_0x28a773,_0x130b71){const _0x7bea8f=_0x7bea();return _0x37a4=function(_0x37a4eb,_0x3d5454){_0x37a4eb=_0x37a4eb-0xb2;let _0x18b7f1=_0x7bea8f[_0x37a4eb];return _0x18b7f1;},_0x37a4(_0x28a773,_0x130b71);}function _0x7bea(){const _0x3ca61e=['reset','stopPropagation','listenTo','optional','fieldView','focus','revisionNameInputView','initializeCssTransitionDisablerMixin','20DNyyLz','setTemplate','form','keystrokes','ck-revision-history-save-revision-form','value','1334925XknaNJ','arrowleft','220','685104FzprTs','2679168VfcKgw','_createRevisionNameInput','render','set','trim','1405IVUtTl','focusTracker','1527883voCjff','8HmQkeq','revisionName','locale','label','extendTemplate','arrowdown','2694AngDXs','input','revisionNameInputValue','add','arrowright','arrowup','element','errorText','ck-responsive-form','Name\x20of\x20the\x20revision','3115650GwncrZ','4759hLTdGd'];_0x7bea=function(){return _0x3ca61e;};return _0x7bea();}import{getTranslation as _0x46be79}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
|
+
_0x1ebcdd(_0x5c23c9){[_0x467f65(0xd8)];[_0x467f65(0xcb)];[_0x467f65(0xc6)];constructor(_0x29d0d9,_0x5a9c87){const _0x1df0ff=_0x467f65;super(_0x29d0d9),this[_0x1df0ff(0xd8)]=new _0x3090cc(),this[_0x1df0ff(0xcb)]=new _0x34f740(),this[_0x1df0ff(0xd5)](_0x1df0ff(0xb6),''),this[_0x1df0ff(0xc6)]=this[_0x1df0ff(0xd3)](_0x5a9c87),this[_0x1df0ff(0xc9)]({'tag':_0x1df0ff(0xca),'attributes':{'class':['ck',_0x1df0ff(0xcc),_0x1df0ff(0xbc)],'tabindex':'-1'},'children':[this[_0x1df0ff(0xc6)]]}),this[_0x1df0ff(0xc7)]();}[_0x467f65(0xd4)](){const _0x3459cd=_0x467f65;super[_0x3459cd(0xd4)](),_0x5b8e02({'view':this}),this[_0x3459cd(0xd8)][_0x3459cd(0xb7)](this[_0x3459cd(0xc6)][_0x3459cd(0xba)]),this[_0x3459cd(0xcb)][_0x3459cd(0xc2)](this[_0x3459cd(0xba)]);const _0x22cb3a=_0x284bc0=>_0x284bc0[_0x3459cd(0xc1)]();this[_0x3459cd(0xcb)][_0x3459cd(0xd5)](_0x3459cd(0xb8),_0x22cb3a),this[_0x3459cd(0xcb)][_0x3459cd(0xd5)](_0x3459cd(0xcf),_0x22cb3a),this[_0x3459cd(0xcb)][_0x3459cd(0xd5)](_0x3459cd(0xb9),_0x22cb3a),this[_0x3459cd(0xcb)][_0x3459cd(0xd5)](_0x3459cd(0xb3),_0x22cb3a);}[_0x467f65(0xc5)](){const _0x418bdb=_0x467f65;this[_0x418bdb(0xc6)][_0x418bdb(0xc5)]();}get[_0x467f65(0xdb)](){const _0x243e62=_0x467f65;return this[_0x243e62(0xc6)][_0x243e62(0xc4)][_0x243e62(0xba)][_0x243e62(0xcd)][_0x243e62(0xd6)]();}set[_0x467f65(0xdb)](_0x506cad){const _0x2110f2=_0x467f65;this[_0x2110f2(0xc6)][_0x2110f2(0xc4)][_0x2110f2(0xba)][_0x2110f2(0xcd)]=_0x506cad[_0x2110f2(0xd6)]();}[_0x467f65(0xc0)](){const _0x3c761c=_0x467f65;this[_0x3c761c(0xc6)][_0x3c761c(0xc4)][_0x3c761c(0xba)][_0x3c761c(0xcd)]='',this[_0x3c761c(0xc6)][_0x3c761c(0xbb)]=null;}[_0x467f65(0xd3)](_0x549a3c){const _0x47c855=_0x467f65,_0x1a8faa=new _0x268674(this[_0x47c855(0xdc)],_0x34e031),_0x29c07f=_0x1a8faa[_0x47c855(0xc4)];_0x29c07f[_0x47c855(0xb2)]({'attributes':{'maxlength':_0x47c855(0xd0)}});let _0x290ab8=_0x46be79(this[_0x47c855(0xdc)],_0x47c855(0xbd));return!_0x549a3c&&(_0x290ab8+='\x20('+_0x46be79(this[_0x47c855(0xdc)],_0x47c855(0xc3))+')'),(_0x1a8faa[_0x47c855(0xdd)]=_0x290ab8,_0x29c07f['on'](_0x47c855(0xb5),()=>{const _0x5b55f0=_0x47c855;this[_0x5b55f0(0xb6)]=_0x29c07f[_0x5b55f0(0xba)][_0x5b55f0(0xcd)][_0x5b55f0(0xd6)]();}),_0x1a8faa);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2579(_0x564b0f,_0x2889b6){const _0xcea7ba=_0xcea7();return _0x2579=function(_0x257954,_0xfc9088){_0x257954=_0x257954-0x82;let _0x16a44f=_0xcea7ba[_0x257954];return _0x16a44f;},_0x2579(_0x564b0f,_0x2889b6);}const _0x34cffc=_0x2579;(function(_0x446954,_0x2e0c69){const _0x7743ad=_0x2579,_0x3951c5=_0x446954();while(!![]){try{const _0x3e3866=parseInt(_0x7743ad(0x9a))/0x1+-parseInt(_0x7743ad(0xa2))/0x2*(parseInt(_0x7743ad(0xb1))/0x3)+parseInt(_0x7743ad(0x95))/0x4+parseInt(_0x7743ad(0x84))/0x5+parseInt(_0x7743ad(0x8c))/0x6*(-parseInt(_0x7743ad(0xbd))/0x7)+-parseInt(_0x7743ad(0x8a))/0x8+parseInt(_0x7743ad(0xa4))/0x9;if(_0x3e3866===_0x2e0c69)break;else _0x3951c5['push'](_0x3951c5['shift']());}catch(_0x39769b){_0x3951c5['push'](_0x3951c5['shift']());}}}(_0xcea7,0x7ee9c));import{Plugin as _0xdb576b}from'ckeditor5/src/core.js';import{IconHistory as _0x31eeb5}from'ckeditor5/src/icons.js';import{createDropdown as _0x549f26,ButtonView as _0x29423f,ListItemView as _0x370c9a,ListView as _0x7e3c23,MenuBarMenuListItemButtonView as _0x1fb12b,MenuBarMenuListItemView as _0x549052,MenuBarMenuListView as _0x20f74f,MenuBarMenuView as _0x5d5d6c}from'ckeditor5/src/ui.js';import{RevisionTracker as _0x2d6327}from'../../revisiontracker.js';function _0xcea7(){const _0x426261=['1004270QUrcKl','init','children','revisionHistory','execute','Open\x20revision\x20history','Save\x20current\x20revision','items','1006gKLKSj','set','4781943pFxQfl','RevisionHistoryUI','reset','view','ck-button-action','isOpen','locale','The\x20revision\x20name\x20cannot\x20be\x20empty.','menuitem','revisionNameInputView','Accept','isReadOnly','role','4899IZBOUM','hide','_showDialog','render','showRevisionViewerCallback','editing','isOfficialPlugin','errorText','requires','buttonView','revisionHistory.requireRevisionName','revisionName','7DPcIWh','get','bind','focus','Dialog','isPremiumPlugin','_registerMenuComponent','revisionSave','pluginName','_createSaveRevisionFormView','saveRevision','1089760IothQQ','isEnabled','editor','menu','RevisionTracker','componentFactory','6882880hvQEEm','panelView','3423066eIOClG','Cancel','Revision\x20history','isReady','show','menuBar:revisionHistory','delegate','_saveRevisionFormView','config','4074228Oykxsp','plugins','add','addMany','submit'];_0xcea7=function(){return _0x426261;};return _0xcea7();}import{RevisionHistorySaveRevisionFormView as _0x309fa2}from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x2b6fc5}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0xdb576b{static get[_0x34cffc(0xc5)](){const _0x4b4d32=_0x34cffc;return _0x4b4d32(0xa5);}static get[_0x34cffc(0xb7)](){return!0x0;}static get[_0x34cffc(0xc2)](){return!0x0;}static get[_0x34cffc(0xb9)](){return[_0x2d6327];}[_0x34cffc(0x93)];[_0x34cffc(0x9b)](){const _0xb7a3a1=_0x34cffc,_0x4cb749=this[_0xb7a3a1(0x86)],_0x3a0c09=_0x4cb749[_0xb7a3a1(0x96)][_0xb7a3a1(0xbe)](_0xb7a3a1(0x88));_0x4cb749['ui'][_0xb7a3a1(0x89)][_0xb7a3a1(0x97)](_0xb7a3a1(0x9d),_0x42e7f0=>{const _0x589fac=_0xb7a3a1,_0x5ec50c=_0x549f26(_0x42e7f0),_0x13d6c3=_0x5ec50c[_0x589fac(0x8b)][_0x589fac(0x9c)],_0x59f70f=new _0x7e3c23(_0x42e7f0),_0x3118d0=new _0x370c9a(_0x42e7f0),_0x349508=new _0x29423f(_0x42e7f0),_0x594621=new _0x370c9a(_0x42e7f0),_0x36a31e=new _0x29423f(_0x42e7f0);return _0x5ec50c[_0x589fac(0xbf)](_0x589fac(0x85))['to'](_0x3a0c09,_0x589fac(0x8f),_0x3a0c09,_0x589fac(0x85),_0x4cb749,_0x589fac(0xaf),(_0x382fc9,_0x4d165b,_0x2a5e2d)=>_0x382fc9&&_0x4d165b&&!_0x2a5e2d),_0x5ec50c[_0x589fac(0xba)][_0x589fac(0xa3)]({'icon':_0x31eeb5,'label':_0x2b6fc5(_0x42e7f0,_0x589fac(0x8e)),'tooltip':!0x0}),_0x349508[_0x589fac(0xa3)]({'label':_0x2b6fc5(_0x42e7f0,_0x589fac(0xa0)),'withText':!0x0,'role':_0x589fac(0xac)}),_0x349508[_0x589fac(0xbf)](_0x589fac(0x85))['to'](_0x3a0c09,_0x589fac(0x8f),_0x3a0c09,_0x589fac(0x85),_0x4cb749,_0x589fac(0xaf),(_0x546de6,_0x3430b2,_0x478a22)=>_0x546de6&&_0x3430b2&&!_0x478a22),_0x349508['on'](_0x589fac(0x9e),()=>this[_0x589fac(0xb3)]()),_0x36a31e[_0x589fac(0xa3)]({'label':_0x2b6fc5(_0x42e7f0,_0x589fac(0x9f)),'withText':!0x0,'role':_0x589fac(0xac)}),_0x36a31e[_0x589fac(0xbf)](_0x589fac(0x85))['to'](_0x3a0c09,_0x589fac(0x8f),_0x4cb749,_0x589fac(0xaf),(_0x5d86c5,_0x31aa20)=>_0x5d86c5&&!_0x31aa20),_0x36a31e['on'](_0x589fac(0x9e),()=>{const _0x69c4fe=_0x589fac;_0x4cb749[_0x69c4fe(0x94)][_0x69c4fe(0xbe)](_0x69c4fe(0x9d))[_0x69c4fe(0xb5)](),_0x5ec50c[_0x69c4fe(0xa9)]=!0x1,_0x4cb749[_0x69c4fe(0xb6)][_0x69c4fe(0xa7)][_0x69c4fe(0xc0)]();}),_0x3118d0[_0x589fac(0x9c)][_0x589fac(0x97)](_0x349508),_0x594621[_0x589fac(0x9c)][_0x589fac(0x97)](_0x36a31e),_0x59f70f[_0x589fac(0xb0)]=_0x589fac(0x87),_0x59f70f[_0x589fac(0xa1)][_0x589fac(0x98)]([_0x3118d0,_0x594621]),_0x13d6c3[_0x589fac(0x97)](_0x59f70f),_0x5ec50c;}),_0x4cb749['ui'][_0xb7a3a1(0x89)][_0xb7a3a1(0x97)](_0xb7a3a1(0x91),()=>this[_0xb7a3a1(0xc3)]());}[_0x34cffc(0xc3)](){const _0x171495=_0x34cffc,_0x59b2c5=this[_0x171495(0x86)],_0x12ed8e=_0x59b2c5[_0x171495(0xaa)],_0x5e5775=new _0x5d5d6c(_0x12ed8e),_0x5c34ce=new _0x20f74f(_0x12ed8e);_0x5e5775[_0x171495(0xba)][_0x171495(0xa3)]({'icon':_0x31eeb5,'label':_0x2b6fc5(_0x12ed8e,_0x171495(0x8e))});const _0x233610=new _0x549052(_0x12ed8e,_0x5e5775),_0x310d0e=new _0x1fb12b(_0x12ed8e);_0x310d0e[_0x171495(0xa3)]({'label':_0x2b6fc5(_0x12ed8e,_0x171495(0xa0))}),_0x310d0e[_0x171495(0x92)](_0x171495(0x9e))['to'](_0x5e5775),_0x310d0e['on'](_0x171495(0x9e),()=>{const _0x1c6e85=_0x171495;this[_0x1c6e85(0xb3)]();}),_0x233610[_0x171495(0x9c)][_0x171495(0x97)](_0x310d0e),_0x5c34ce[_0x171495(0xa1)][_0x171495(0x97)](_0x233610);const _0x4ff4e0=new _0x549052(_0x12ed8e,_0x5e5775),_0x1bfff9=new _0x1fb12b(_0x12ed8e);return _0x1bfff9[_0x171495(0xa3)]({'label':_0x2b6fc5(_0x12ed8e,_0x171495(0x9f))}),_0x1bfff9[_0x171495(0x92)](_0x171495(0x9e))['to'](_0x5e5775),_0x1bfff9['on'](_0x171495(0x9e),()=>{const _0x39a738=_0x171495;_0x59b2c5[_0x39a738(0x94)][_0x39a738(0xbe)](_0x39a738(0x9d))[_0x39a738(0xb5)]();}),_0x4ff4e0[_0x171495(0x9c)][_0x171495(0x97)](_0x1bfff9),_0x5c34ce[_0x171495(0xa1)][_0x171495(0x97)](_0x4ff4e0),_0x5e5775[_0x171495(0x8b)][_0x171495(0x9c)][_0x171495(0x97)](_0x5c34ce),_0x5e5775;}[_0x34cffc(0xb3)](){const _0x8776b5=_0x34cffc,_0x447b10=this[_0x8776b5(0x86)],_0x140a32=_0x447b10[_0x8776b5(0xaa)],_0x38a380=_0x447b10[_0x8776b5(0x96)][_0x8776b5(0xbe)](_0x8776b5(0xc1)),_0x41e4f7=_0x447b10[_0x8776b5(0x96)][_0x8776b5(0xbe)](_0x8776b5(0x88));function _0x6f94fb(_0x2f599a){const _0x2dfdc4=_0x8776b5;_0x447b10[_0x2dfdc4(0x94)][_0x2dfdc4(0xbe)](_0x2dfdc4(0xbb))&&''===_0x2f599a[_0x2dfdc4(0xbc)]?_0x2f599a[_0x2dfdc4(0xad)][_0x2dfdc4(0xb8)]=_0x2b6fc5(_0x140a32,_0x2dfdc4(0xab)):(_0x447b10[_0x2dfdc4(0x96)][_0x2dfdc4(0xbe)](_0x2d6327)[_0x2dfdc4(0x83)]({'name':_0x2f599a[_0x2dfdc4(0xbc)]}),_0x38a380[_0x2dfdc4(0xb2)]());}this[_0x8776b5(0x93)]||(this[_0x8776b5(0x82)](),this[_0x8776b5(0x93)]['on'](_0x8776b5(0x99),()=>_0x6f94fb(this[_0x8776b5(0x93)]))),this[_0x8776b5(0x93)][_0x8776b5(0xa6)](),_0x38a380[_0x8776b5(0x90)]({'id':_0x8776b5(0xc4),'title':_0x2b6fc5(_0x140a32,_0x8776b5(0xa0)),'isModal':!0x0,'content':this[_0x8776b5(0x93)],'actionButtons':[{'label':_0x2b6fc5(_0x447b10[_0x8776b5(0xaa)],_0x8776b5(0x8d)),'withText':!0x0,'onExecute':()=>_0x38a380[_0x8776b5(0xb2)]()},{'label':_0x2b6fc5(_0x447b10[_0x8776b5(0xaa)],_0x8776b5(0xae)),'class':_0x8776b5(0xa8),'withText':!0x0,'onCreate'(_0xdac5b1){const _0xc945f0=_0x8776b5;_0xdac5b1[_0xc945f0(0xbf)](_0xc945f0(0x85))['to'](_0x41e4f7,_0xc945f0(0x8f),_0x41e4f7,_0xc945f0(0x85),_0x447b10,_0xc945f0(0xaf),(_0x4c241d,_0x2163e3,_0x537351)=>_0x4c241d&&_0x2163e3&&!_0x537351);},'onExecute':()=>_0x6f94fb(this[_0x8776b5(0x93)])}]});}[_0x34cffc(0x82)](){const _0x4e98a0=_0x34cffc,_0x1dd5d1=this[_0x4e98a0(0x86)],_0x468e72=_0x1dd5d1[_0x4e98a0(0xaa)];this[_0x4e98a0(0x93)]=new _0x309fa2(_0x468e72,_0x1dd5d1[_0x4e98a0(0x94)][_0x4e98a0(0xbe)](_0x4e98a0(0xbb))),this[_0x4e98a0(0x93)][_0x4e98a0(0xb4)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d2683=_0x4124;(function(_0xa0f513,_0x33d0a3){const _0x16eb10=_0x4124,_0x14d816=_0xa0f513();while(!![]){try{const _0x4ada3b=-parseInt(_0x16eb10(0x1da))/0x1*(parseInt(_0x16eb10(0x211))/0x2)+-parseInt(_0x16eb10(0x1ef))/0x3+-parseInt(_0x16eb10(0x21e))/0x4*(parseInt(_0x16eb10(0x1ee))/0x5)+parseInt(_0x16eb10(0x1ed))/0x6+parseInt(_0x16eb10(0x1d4))/0x7+-parseInt(_0x16eb10(0x20b))/0x8*(parseInt(_0x16eb10(0x20d))/0x9)+-parseInt(_0x16eb10(0x1e1))/0xa*(-parseInt(_0x16eb10(0x1ec))/0xb);if(_0x4ada3b===_0x33d0a3)break;else _0x14d816['push'](_0x14d816['shift']());}catch(_0x5be9d2){_0x14d816['push'](_0x14d816['shift']());}}}(_0x11a1,0x4e965));function _0x11a1(){const _0x2bd113=['getLaterVisibleRevision','init','_sidebarView','destroy','bind','_revisionViewer','focus','_createRevisionActions','requires','compare','539128mzdDGe','name','9PNTMgg','pluginName','revisionHistory.viewerSidebarContainer','compareAgainstSelected','3202vgkbwo','locale','_revisions','setName','data','fieldView','editor','selectRevision','defaultRevisionActions','assign','Compare\x20against\x20selected','isOfficialPlugin','restoreRevisionCallback','4DQQFMq','diff','listenTo','newRevisionId','map','isVisible','_handleRevisionSetName','nameRevision','Name\x20this\x20revision','availableRevisionActions','2214989aloACh','select','restoreRevision','_revisionsRepository','action','plugins','4BfyIMM','_handleEditorDataReady','isSelected','isEnabled','ready','render','isReady','4070290sOnCuS','repository','remove','config','_handleRevisionSelected','getIndex','getRevisionsInDiff','get','revisionHistory.requireRevisionName','element','revisionHistory','11SwXGXD','2247330Zjteku','351530ChxTye','1896051QAvmTn','RevisionsSidebar','string','revisionSetName','_handleDiffChange','revisionHistory.revisionActions','revisionViews','getRevision','timePeriodViews','getEarlierVisibleRevision','add','change:diff','revisionSelected','appendChild','Restore\x20this\x20revision','isPremiumPlugin','length','highlightRevisions'];_0x11a1=function(){return _0x2bd113;};return _0x11a1();}function _0x4124(_0x368987,_0x46605c){const _0x11a1b7=_0x11a1();return _0x4124=function(_0x412469,_0x27aef0){_0x412469=_0x412469-0x1cb;let _0x2d60a3=_0x11a1b7[_0x412469];return _0x2d60a3;},_0x4124(_0x368987,_0x46605c);}import{Plugin as _0x13b7e1}from'ckeditor5/src/core.js';import{RevisionsSidebarView as _0x1c2cb3}from'./revisionssidebarview.js';import{RevisionViewer as _0x4ffc26}from'../../revisionviewer.js';export class RevisionsSidebar extends _0x13b7e1{[_0x4d2683(0x206)];[_0x4d2683(0x1d7)];[_0x4d2683(0x203)];static [_0x4d2683(0x219)]=[_0x4d2683(0x210),_0x4d2683(0x1d6),_0x4d2683(0x1d1)];static [_0x4d2683(0x1d3)]=(function(){const _0x4b46b6=_0x4d2683;return{'compareAgainstSelected':{'name':_0x4b46b6(0x21b),'action':({plugins:i},s)=>{const _0x25c1fb=_0x4b46b6,e=i[_0x25c1fb(0x1e8)](_0x4ffc26),n=e[_0x25c1fb(0x1e2)];let r=e[_0x25c1fb(0x1cb)][_0x25c1fb(0x1cd)],o=s['id'];n[_0x25c1fb(0x1e6)](r)>n[_0x25c1fb(0x1e6)](o)&&([r,o]=[o,r]),e[_0x25c1fb(0x20a)](r,o);},'isVisible':({plugins:i},s)=>{const _0x33033a=_0x4b46b6,e=i[_0x33033a(0x1e8)](_0x4ffc26);return!(e[_0x33033a(0x1e2)][_0x33033a(0x1e7)](e[_0x33033a(0x1cb)])[_0x33033a(0x1ff)]>0x2)&&!s[_0x33033a(0x1dc)];}},'restoreRevision':{'name':_0x4b46b6(0x1fd),'action':(i,{id:s})=>{const _0x18283a=_0x4b46b6;i[_0x18283a(0x1e4)][_0x18283a(0x1e8)](_0x18283a(0x1eb))[_0x18283a(0x21d)](s);},'isVisible':({plugins:i},s)=>!!i[_0x4b46b6(0x1e8)](_0x4ffc26)[_0x4b46b6(0x1e2)][_0x4b46b6(0x201)](s['id'])},'nameRevision':{'name':_0x4b46b6(0x1d2),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0x284b06=_0x4b46b6,n=i[_0x284b06(0x1e8)](_0x4ffc26),r=n[_0x284b06(0x1e2)][_0x284b06(0x1f8)](s);n[_0x284b06(0x20a)](s,r),e[_0x284b06(0x207)](),e[_0x284b06(0x216)][_0x284b06(0x1d5)]();}}};}());static get[_0x4d2683(0x20e)](){const _0x754fdd=_0x4d2683;return _0x754fdd(0x1f0);}static get[_0x4d2683(0x21c)](){return!0x0;}static get[_0x4d2683(0x1fe)](){return!0x0;}static get[_0x4d2683(0x209)](){return[_0x4ffc26];}constructor(_0x184b42){const _0x36fafb=_0x4d2683;super(_0x184b42),this[_0x36fafb(0x206)]=_0x184b42[_0x36fafb(0x1d9)][_0x36fafb(0x1e8)](_0x4ffc26),this[_0x36fafb(0x1d7)]=this[_0x36fafb(0x206)][_0x36fafb(0x1e2)],this[_0x36fafb(0x203)]=null;}[_0x4d2683(0x202)](){const _0x5bbef2=_0x4d2683,_0x4bbaf0=this[_0x5bbef2(0x1d7)][_0x5bbef2(0x213)],_0x305f0a=this[_0x5bbef2(0x208)](),_0x4bc569=this[_0x5bbef2(0x217)][_0x5bbef2(0x1e4)][_0x5bbef2(0x1e8)](_0x5bbef2(0x20f));this[_0x5bbef2(0x203)]=new _0x1c2cb3(this[_0x5bbef2(0x217)][_0x5bbef2(0x212)],_0x4bbaf0,_0x305f0a,this[_0x5bbef2(0x217)][_0x5bbef2(0x1e4)][_0x5bbef2(0x1e8)](_0x5bbef2(0x1e9))),this[_0x5bbef2(0x203)]['on'](_0x5bbef2(0x1fb),this[_0x5bbef2(0x1e5)][_0x5bbef2(0x205)](this)),this[_0x5bbef2(0x203)]['on'](_0x5bbef2(0x1f2),this[_0x5bbef2(0x1d0)][_0x5bbef2(0x205)](this)),this[_0x5bbef2(0x203)][_0x5bbef2(0x205)](_0x5bbef2(0x1dd))['to'](this[_0x5bbef2(0x206)]),this[_0x5bbef2(0x203)][_0x5bbef2(0x1f7)]['on'](_0x5bbef2(0x1f9),(_0x16a685,_0xda2faf)=>{const _0x496b7d=_0x5bbef2;_0xda2faf[_0x496b7d(0x1f5)]['on'](_0x496b7d(0x1f9),(_0x22a2df,_0x2dd6ab)=>{const _0x8e681a=_0x496b7d;_0x2dd6ab[_0x8e681a(0x205)](_0x8e681a(0x1dd),_0x8e681a(0x1e0))['to'](this[_0x8e681a(0x206)]);});}),this[_0x5bbef2(0x203)][_0x5bbef2(0x1df)](),this[_0x5bbef2(0x1cc)](this[_0x5bbef2(0x217)][_0x5bbef2(0x215)],_0x5bbef2(0x1de),this[_0x5bbef2(0x1db)][_0x5bbef2(0x205)](this)),this[_0x5bbef2(0x1cc)](this[_0x5bbef2(0x206)],_0x5bbef2(0x1fa),this[_0x5bbef2(0x1f3)][_0x5bbef2(0x205)](this)),_0x4bc569[_0x5bbef2(0x1fc)](this[_0x5bbef2(0x203)][_0x5bbef2(0x1ea)]);}[_0x4d2683(0x204)](){const _0x2ec3b8=_0x4d2683;this[_0x2ec3b8(0x203)][_0x2ec3b8(0x1ea)][_0x2ec3b8(0x1e3)](),this[_0x2ec3b8(0x203)][_0x2ec3b8(0x204)]();}[_0x4d2683(0x1db)](){const _0x433187=_0x4d2683,_0x128a90=this[_0x433187(0x1d7)][_0x433187(0x1f6)](0x0);if(_0x128a90){const _0x548863=this[_0x433187(0x1d7)][_0x433187(0x1f8)](_0x128a90['id']);this[_0x433187(0x206)][_0x433187(0x20a)](_0x128a90,_0x548863);}}[_0x4d2683(0x1e5)](_0x15668a,_0x1664bb){const _0x542d89=_0x4d2683,_0x559a0d=this[_0x542d89(0x1d7)][_0x542d89(0x1f6)](_0x1664bb['id']),_0x2c140a=this[_0x542d89(0x1d7)][_0x542d89(0x1f8)](_0x559a0d['id']);this[_0x542d89(0x206)][_0x542d89(0x20a)](_0x559a0d,_0x2c140a);}[_0x4d2683(0x1d0)](_0x43011b,_0x771387){const _0x2067a5=_0x4d2683;this[_0x2067a5(0x1d7)][_0x2067a5(0x1f6)](_0x771387['id'])[_0x2067a5(0x214)](_0x771387[_0x2067a5(0x20c)]);}[_0x4d2683(0x1f3)](_0x5ca9ce,_0x26231c,_0x3b5afa){const _0x4c8ab8=_0x4d2683,_0xc07a0e=this[_0x4c8ab8(0x1d7)][_0x4c8ab8(0x1e7)](_0x3b5afa);_0xc07a0e[_0x4c8ab8(0x1ff)]>0x2?(this[_0x4c8ab8(0x203)][_0x4c8ab8(0x200)](_0xc07a0e),this[_0x4c8ab8(0x203)][_0x4c8ab8(0x218)](null)):(this[_0x4c8ab8(0x203)][_0x4c8ab8(0x200)]([]),this[_0x4c8ab8(0x203)][_0x4c8ab8(0x218)](_0xc07a0e[0x0]));}[_0x4d2683(0x208)](){const _0x352004=_0x4d2683,_0x3261f3=this[_0x352004(0x217)],_0x330d2b=RevisionsSidebar[_0x352004(0x1d3)],_0x335bb9=_0x3261f3[_0x352004(0x1e4)][_0x352004(0x1e8)](_0x352004(0x1f4))||RevisionsSidebar[_0x352004(0x219)];if(_0x335bb9[_0x352004(0x1ff)])return _0x335bb9[_0x352004(0x1ce)](_0x438029=>{const _0xe06b75=_0x352004,_0x375992=_0xe06b75(0x1f1)==typeof _0x438029?Object[_0xe06b75(0x21a)]({},_0x330d2b[_0x438029]):_0x438029;return _0x375992[_0xe06b75(0x1d8)]=_0x375992[_0xe06b75(0x1d8)][_0xe06b75(0x205)](this,_0x3261f3),_0x375992[_0xe06b75(0x1cf)]&&(_0x375992[_0xe06b75(0x1cf)]=_0x375992[_0xe06b75(0x1cf)][_0xe06b75(0x205)](this,_0x3261f3)),_0x375992;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x20b3(){const _0xbbf357=['13365xFWydl','ck-reset_all','17562jgnpkC','600RwdCjP','ck-revision-history-sidebar__header','span','Revision\x20history','ck-revision-history-sidebar__header__label','setTemplate','924ErmEjC','content','8379710UMrZMi','1528263priJNz','453220rrglrc','div','146871ZcJkUZ','49YdSekH','3152471kOsAGv'];_0x20b3=function(){return _0xbbf357;};return _0x20b3();}(function(_0x234d14,_0x2c9442){const _0x4ad1a9=_0x126a,_0x1c9bca=_0x234d14();while(!![]){try{const _0x53b425=parseInt(_0x4ad1a9(0xb4))/0x1*(parseInt(_0x4ad1a9(0xa6))/0x2)+parseInt(_0x4ad1a9(0xb0))/0x3+parseInt(_0x4ad1a9(0xb1))/0x4+parseInt(_0x4ad1a9(0xa4))/0x5*(parseInt(_0x4ad1a9(0xad))/0x6)+-parseInt(_0x4ad1a9(0xb5))/0x7+parseInt(_0x4ad1a9(0xa7))/0x8*(-parseInt(_0x4ad1a9(0xb3))/0x9)+parseInt(_0x4ad1a9(0xaf))/0xa;if(_0x53b425===_0x2c9442)break;else _0x1c9bca['push'](_0x1c9bca['shift']());}catch(_0x2a0a92){_0x1c9bca['push'](_0x1c9bca['shift']());}}}(_0x20b3,0x9966a));function _0x126a(_0x1bb048,_0x5bc8a7){const _0x20b33a=_0x20b3();return _0x126a=function(_0x126a4c,_0x131dc9){_0x126a4c=_0x126a4c-0xa4;let _0xe1058d=_0x20b33a[_0x126a4c];return _0xe1058d;},_0x126a(_0x1bb048,_0x5bc8a7);}import{View as _0xcd139e,IconView as _0x525d54}from'ckeditor5/src/ui.js';import{getTranslation as _0x377d2a}from'../../utils/common-translations.js';import{IconHistory as _0x2c1d75}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0xcd139e{constructor(_0x540c76){const _0x197eda=_0x126a;super(_0x540c76);const _0x478fcb=new _0x525d54();_0x478fcb[_0x197eda(0xae)]=_0x2c1d75,this[_0x197eda(0xac)]({'tag':_0x197eda(0xb2),'attributes':{'class':['ck',_0x197eda(0xa5),_0x197eda(0xa8)]},'children':[_0x478fcb,{'tag':_0x197eda(0xa9),'attributes':{'class':['ck',_0x197eda(0xab)]},'children':[_0x377d2a(_0x540c76,_0x197eda(0xaa))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ca535=_0x1297;(function(_0x23fcae,_0x4dbecc){const _0x59adab=_0x1297,_0xa2b294=_0x23fcae();while(!![]){try{const _0x40c591=parseInt(_0x59adab(0x92))/0x1*(parseInt(_0x59adab(0xa3))/0x2)+-parseInt(_0x59adab(0x97))/0x3*(-parseInt(_0x59adab(0x98))/0x4)+-parseInt(_0x59adab(0x8d))/0x5+parseInt(_0x59adab(0x84))/0x6+parseInt(_0x59adab(0x9f))/0x7*(-parseInt(_0x59adab(0x85))/0x8)+parseInt(_0x59adab(0x89))/0x9+parseInt(_0x59adab(0x91))/0xa*(-parseInt(_0x59adab(0xa2))/0xb);if(_0x40c591===_0x4dbecc)break;else _0xa2b294['push'](_0xa2b294['shift']());}catch(_0x38f759){_0xa2b294['push'](_0xa2b294['shift']());}}}(_0x1b4a,0xcea31));import{View as _0x3827ed}from'ckeditor5/src/ui.js';import{RevisionView as _0x3bcb26}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x4c723d}from'./utils.js';function _0x1297(_0xc37fb4,_0xe05592){const _0x1b4a34=_0x1b4a();return _0x1297=function(_0x129760,_0x25f778){_0x129760=_0x129760-0x83;let _0x3a5194=_0x1b4a34[_0x129760];return _0x3a5194;},_0x1297(_0xc37fb4,_0xe05592);}function _0x1b4a(){const _0x5719a4=['9251028zopGpc','472dLnfrt','createCollection','ck-revision-history-sidebar__time-period__label','remove','11382831cjfNPV','setName','locale','select','3359970gneeuF','ck-revision-history-sidebar__time-period','localizedPeriodName','uiLanguage','110qhrYpQ','182922nPYPif','setTemplate','delegate','_requireRevisionName','div','11118kdARWH','1468iExSct','addRevision','startDate','find','add','removeRevision','span','140357WwlAGp','revisionViews','_revisionActions','2745765iYZOWj','14FoObwO','ck-revision-history-sidebar__time-period__revisions'];_0x1b4a=function(){return _0x5719a4;};return _0x1b4a();}import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x3827ed{[_0x1ca535(0x9a)];[_0x1ca535(0xa0)];[_0x1ca535(0xa1)];[_0x1ca535(0x95)];constructor(_0x31f79f,_0x51f8f7,_0x44b00e,_0x2db979){const _0x25b285=_0x1ca535;super(_0x31f79f);const _0x2e4760=_0x4c723d(_0x51f8f7,this[_0x25b285(0x8b)][_0x25b285(0x90)])[_0x25b285(0x8f)];this[_0x25b285(0x9a)]=_0x51f8f7,this[_0x25b285(0xa0)]=this[_0x25b285(0x86)](),this[_0x25b285(0xa1)]=_0x44b00e,this[_0x25b285(0x95)]=_0x2db979,this[_0x25b285(0xa0)][_0x25b285(0x94)](_0x25b285(0x8c))['to'](this),this[_0x25b285(0xa0)][_0x25b285(0x94)](_0x25b285(0x8a))['to'](this),this[_0x25b285(0x93)]({'tag':_0x25b285(0x96),'attributes':{'class':['ck',_0x25b285(0x8e)]},'children':[{'tag':_0x25b285(0x9e),'attributes':{'class':['ck',_0x25b285(0x87)]},'children':[{'text':_0x2e4760}]},{'tag':_0x25b285(0x96),'attributes':{'class':['ck',_0x25b285(0x83)]},'children':this[_0x25b285(0xa0)]}]});}[_0x1ca535(0x99)](_0x36c1cc){const _0x537f9f=_0x1ca535,_0x33cd49=new _0x3bcb26(this[_0x537f9f(0x8b)],_0x36c1cc,this[_0x537f9f(0xa1)],this[_0x537f9f(0x95)]);this[_0x537f9f(0xa0)][_0x537f9f(0x9c)](_0x33cd49);}[_0x1ca535(0x9d)](_0x16d558){const _0x30f4d2=_0x1ca535,_0x5627f9=this[_0x30f4d2(0xa0)][_0x30f4d2(0x9b)](_0x40bf17=>_0x40bf17['id']===_0x16d558['id']);this[_0x30f4d2(0xa0)][_0x30f4d2(0x88)](_0x5627f9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3279d9=_0x3c73;(function(_0x201514,_0x2c1241){const _0x330fd5=_0x3c73,_0x9d6cbf=_0x201514();while(!![]){try{const _0x46bd37=-parseInt(_0x330fd5(0xe0))/0x1+parseInt(_0x330fd5(0xd2))/0x2+-parseInt(_0x330fd5(0xe7))/0x3+parseInt(_0x330fd5(0xd9))/0x4+-parseInt(_0x330fd5(0xe5))/0x5+-parseInt(_0x330fd5(0xf3))/0x6+-parseInt(_0x330fd5(0xfc))/0x7*(-parseInt(_0x330fd5(0xd0))/0x8);if(_0x46bd37===_0x2c1241)break;else _0x9d6cbf['push'](_0x9d6cbf['shift']());}catch(_0x39e304){_0x9d6cbf['push'](_0x9d6cbf['shift']());}}}(_0x54f4,0xbcdaa));import{View as _0x3ea823}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x3cdddc}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x4ee88f}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x1e34d5}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';function _0x3c73(_0x5b8a75,_0x130a51){const _0x54f481=_0x54f4();return _0x3c73=function(_0x3c73db,_0x51e29a){_0x3c73db=_0x3c73db-0xcb;let _0x58b437=_0x54f481[_0x3c73db];return _0x58b437;},_0x3c73(_0x5b8a75,_0x130a51);}export class RevisionsSidebarView extends _0x3ea823{[_0x3279d9(0xfb)];[_0x3279d9(0xd1)];[_0x3279d9(0xee)];[_0x3279d9(0xcd)];constructor(_0x30205e,_0x10d962,_0x59d6d2,_0x59d819){const _0x7f435a=_0x3279d9;super(_0x30205e);const _0x5d5477=this[_0x7f435a(0xea)];this[_0x7f435a(0xfb)]=this[_0x7f435a(0xdf)](),this[_0x7f435a(0xfb)][_0x7f435a(0xd4)](_0x7f435a(0xcc))['to'](this),this[_0x7f435a(0xfb)][_0x7f435a(0xd4)](_0x7f435a(0xfa))['to'](this),this[_0x7f435a(0xd1)]=_0x10d962,this[_0x7f435a(0xee)]=_0x59d6d2,this[_0x7f435a(0xcd)]=_0x59d819,this['on'](_0x7f435a(0xcc),(_0x2fad32,_0x5eee78)=>{const _0x4b3bb4=_0x7f435a;this[_0x4b3bb4(0xdb)](_0x4b3bb4(0xe2),_0x5eee78);}),this['on'](_0x7f435a(0xfa),(_0x51628a,_0x4b057e)=>{const _0x5a7348=_0x7f435a;this[_0x5a7348(0xdb)](_0x5a7348(0xe3),_0x4b057e);}),this[_0x7f435a(0xef)](_0x7f435a(0xd6),!0x1),this[_0x7f435a(0xf8)]({'tag':_0x7f435a(0xf1),'attributes':{'class':['ck',_0x7f435a(0xf9),_0x7f435a(0xda),_0x7f435a(0xd3)]},'children':[new _0x4ee88f(_0x30205e),{'tag':_0x7f435a(0xf1),'attributes':{'class':['ck',_0x7f435a(0xe8),_0x5d5477['if'](_0x7f435a(0xd6),_0x7f435a(0xf7),_0xf22306=>!_0xf22306)]},'children':this[_0x7f435a(0xfb)]}]});}[_0x3279d9(0xd5)](){const _0x5bdfd3=_0x3279d9;super[_0x5bdfd3(0xd5)]();for(const _0x494daa of this[_0x5bdfd3(0xd1)])this[_0x5bdfd3(0xdc)](_0x494daa);this[_0x5bdfd3(0xd1)]['on'](_0x5bdfd3(0xeb),(_0x11f6dc,_0x3c3d10)=>{const _0xbe0e51=_0x5bdfd3;this[_0xbe0e51(0xdc)](_0x3c3d10);}),this[_0x5bdfd3(0xd1)]['on'](_0x5bdfd3(0xf0),(_0x164add,_0x4afaf7)=>{const _0x52e27e=_0x5bdfd3;this[_0x52e27e(0xfe)](_0x4afaf7);});}get[_0x3279d9(0xe1)](){const _0x2e30d2=_0x3279d9;return this[_0x2e30d2(0xfb)][_0x2e30d2(0xff)](_0x35af44=>_0x35af44[_0x2e30d2(0xe1)][_0x2e30d2(0xff)](_0x5d15ef=>_0x5d15ef))[_0x2e30d2(0xf5)]();}[_0x3279d9(0xf2)](_0x27e0a9){const _0xda57dd=_0x3279d9;for(const _0x13b257 of this[_0xda57dd(0xe1)])_0x27e0a9&&_0x27e0a9['id']===_0x13b257['id']?_0x13b257[_0xda57dd(0xcc)]():_0x13b257[_0xda57dd(0xcb)]();}[_0x3279d9(0xf6)](_0x5d3dd5){const _0x404e66=_0x3279d9;for(const _0x504fc4 of this[_0x404e66(0xe1)])_0x5d3dd5[_0x404e66(0xdd)](({id:_0x5a7b93})=>_0x5a7b93===_0x504fc4['id'])?_0x504fc4[_0x404e66(0xe4)]():_0x504fc4[_0x404e66(0xed)]();}[_0x3279d9(0xdc)](_0x159bc4){const _0x5968d8=_0x3279d9,_0xe93d9b=_0x1e34d5(_0x159bc4[_0x5968d8(0xfd)],this[_0x5968d8(0xce)][_0x5968d8(0xf4)])[_0x5968d8(0xde)];let _0x2b5d26=this[_0x5968d8(0xfb)][_0x5968d8(0xd8)](0x0);_0x2b5d26&&_0x2b5d26[_0x5968d8(0xde)][_0x5968d8(0xe6)]()===_0xe93d9b[_0x5968d8(0xe6)]()||(_0x2b5d26=new _0x3cdddc(this[_0x5968d8(0xce)],_0xe93d9b,this[_0x5968d8(0xee)],this[_0x5968d8(0xcd)]),this[_0x5968d8(0xfb)][_0x5968d8(0xeb)](_0x2b5d26)),_0x2b5d26[_0x5968d8(0xd7)](_0x159bc4);}[_0x3279d9(0xfe)](_0x2b6f62){const _0xcecc43=_0x3279d9,_0x2132f4=_0x1e34d5(_0x2b6f62[_0xcecc43(0xfd)],this[_0xcecc43(0xce)][_0xcecc43(0xf4)])[_0xcecc43(0xde)];this[_0xcecc43(0xec)](_0x2132f4)[_0xcecc43(0xe9)](_0x2b6f62);}[_0x3279d9(0xec)](_0x26b309){const _0x37e7e2=_0x3279d9;return this[_0x37e7e2(0xfb)][_0x37e7e2(0xcf)](_0x4a0516=>_0x4a0516[_0x37e7e2(0xde)][_0x37e7e2(0xe6)]()===_0x26b309[_0x37e7e2(0xe6)]());}}function _0x54f4(){const _0x4173e8=['isEnabled','addRevision','get','2477324RyUEbp','ck-rounded-corners','fire','_addRevision','some','startDate','createCollection','81305bDGpNR','revisionViews','revisionSelected','revisionSetName','highlight','2716330NeecWG','getTime','4049124OCRAfN','ck-revision-history-sidebar__timeline','removeRevision','bindTemplate','add','_getTimePeriodViewByStartDate','unhighlight','_revisionActions','set','remove','div','selectRevision','7474818PkqHYs','uiLanguage','flat','highlightRevisions','ck-disabled','setTemplate','ck-reset','setName','timePeriodViews','16051063dgGyve','createdAt','_removeRevision','map','deselect','select','_requireRevisionName','locale','find','8CRznHf','_revisions','2162576nymLWG','ck-revision-history-sidebar','delegate','render'];_0x54f4=function(){return _0x4173e8;};return _0x54f4();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2831(_0x3e5b69,_0x2f97fc){const _0x1b4ee4=_0x1b4e();return _0x2831=function(_0x2831a8,_0x5a9e1f){_0x2831a8=_0x2831a8-0xe9;let _0x42516e=_0x1b4ee4[_0x2831a8];return _0x42516e;},_0x2831(_0x3e5b69,_0x2f97fc);}(function(_0x1abfff,_0xce096e){const _0x3c3eb3=_0x2831,_0x1add73=_0x1abfff();while(!![]){try{const _0x20d602=parseInt(_0x3c3eb3(0xff))/0x1*(parseInt(_0x3c3eb3(0xe9))/0x2)+-parseInt(_0x3c3eb3(0xfc))/0x3*(parseInt(_0x3c3eb3(0xf1))/0x4)+parseInt(_0x3c3eb3(0xf4))/0x5*(parseInt(_0x3c3eb3(0xec))/0x6)+parseInt(_0x3c3eb3(0xf0))/0x7*(parseInt(_0x3c3eb3(0xf5))/0x8)+parseInt(_0x3c3eb3(0xf7))/0x9*(-parseInt(_0x3c3eb3(0xfb))/0xa)+-parseInt(_0x3c3eb3(0xea))/0xb*(parseInt(_0x3c3eb3(0xfa))/0xc)+parseInt(_0x3c3eb3(0x103))/0xd;if(_0x20d602===_0xce096e)break;else _0x1add73['push'](_0x1add73['shift']());}catch(_0x5157dc){_0x1add73['push'](_0x1add73['shift']());}}}(_0x1b4e,0x31a8e));import{DateTime as _0x7fe4ef}from'luxon';function _0x1b4e(){const _0x40d487=['7ixsqPa','337820QRptNV','day','local','236320WkHNxK','2010824qlxkiE','hasSame','333EzfFUu','fromJSDate','toRelativeCalendar','745788vTaYzh','41950zcOWYs','3BAeoED','week','month','1485ymWXBS','setLocale','monthLong','minus','823758FkHzDR','22FuEyWd','22JmntJZ','startOf','30MjDmQS','toJSDate','year','weekdayLong'];_0x1b4e=function(){return _0x40d487;};return _0x1b4e();}export function getDateTimePeriodInfo(_0x33ab45,_0x2af129){const _0xa972cb=_0x2831,_0x40b2ef=_0x7fe4ef[_0xa972cb(0xf8)](_0x33ab45)[_0xa972cb(0x100)](_0x2af129),_0x3db2ab=_0x7fe4ef[_0xa972cb(0xf3)](),_0x2ee7e6=_0x3db2ab[_0xa972cb(0x102)]({'days':0x1})[_0xa972cb(0xeb)](_0xa972cb(0xf2));let _0x36f1dd,_0x45eb69;return _0x40b2ef[_0xa972cb(0xf6)](_0x3db2ab,_0xa972cb(0xf2))?(_0x36f1dd=_0x40b2ef[_0xa972cb(0xeb)](_0xa972cb(0xf2))[_0xa972cb(0xed)](),_0x45eb69=_0x40b2ef[_0xa972cb(0xf9)]()):_0x40b2ef[_0xa972cb(0xf6)](_0x2ee7e6,_0xa972cb(0xf2))?(_0x36f1dd=_0x2ee7e6[_0xa972cb(0xed)](),_0x45eb69=_0x40b2ef[_0xa972cb(0xf9)]()):_0x40b2ef[_0xa972cb(0xf6)](_0x3db2ab,_0xa972cb(0xfd))?(_0x36f1dd=_0x40b2ef[_0xa972cb(0xeb)](_0xa972cb(0xfd))[_0xa972cb(0xed)](),_0x45eb69=_0x40b2ef[_0xa972cb(0xef)]||''):_0x40b2ef[_0xa972cb(0xf6)](_0x3db2ab,_0xa972cb(0xee))?(_0x36f1dd=_0x40b2ef[_0xa972cb(0xeb)](_0xa972cb(0xfe))[_0xa972cb(0xed)](),_0x45eb69=_0x40b2ef[_0xa972cb(0x101)]||''):(_0x36f1dd=_0x40b2ef[_0xa972cb(0xeb)](_0xa972cb(0xee))[_0xa972cb(0xed)](),_0x45eb69=String(_0x40b2ef[_0xa972cb(0xee)])),{'startDate':_0x36f1dd,'localizedPeriodName':_0x45eb69};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40c781=_0x113b;(function(_0x40cd29,_0x304224){const _0xd6b703=_0x113b,_0x16f0fd=_0x40cd29();while(!![]){try{const _0x59567d=-parseInt(_0xd6b703(0xf4))/0x1*(parseInt(_0xd6b703(0xf7))/0x2)+parseInt(_0xd6b703(0xfb))/0x3*(parseInt(_0xd6b703(0xf6))/0x4)+-parseInt(_0xd6b703(0xeb))/0x5+parseInt(_0xd6b703(0x100))/0x6*(-parseInt(_0xd6b703(0xee))/0x7)+-parseInt(_0xd6b703(0x105))/0x8+-parseInt(_0xd6b703(0x108))/0x9+parseInt(_0xd6b703(0xed))/0xa;if(_0x59567d===_0x304224)break;else _0x16f0fd['push'](_0x16f0fd['shift']());}catch(_0x540907){_0x16f0fd['push'](_0x16f0fd['shift']());}}}(_0x226c,0x57fc3));function _0x226c(){const _0x3bb3a1=['Suggested\x20by','bindTemplate','_model','2045176aStvYj','changeId','div','4113198pQBACq','span','ck-revision-change__label','1086515DdANEO','author','19495890DmvrQq','1360149NPxZJP','ck-revision-change__','data','setTemplate','element','set','491LPPdvh','add','8948EkMPxp','894dHmZtn','Added\x20by','focus','isSuggestion','192qIMRrR','name','type','Removed\x20by','ck-revision-change','18oaQHyC','ck-annotation'];_0x226c=function(){return _0x3bb3a1;};return _0x226c();}function _0x113b(_0x739115,_0x2680a9){const _0x226c78=_0x226c();return _0x113b=function(_0x113b23,_0x124799){_0x113b23=_0x113b23-0xe9;let _0x3878e2=_0x226c78[_0x113b23];return _0x3878e2;},_0x113b(_0x739115,_0x2680a9);}import{View as _0x11f738}from'ckeditor5/src/ui.js';import{getTranslation as _0x1368a6}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x11f738{[_0x40c781(0x106)];[_0x40c781(0x104)];constructor(_0x1d49e9,_0x334669){const _0x589ed1=_0x40c781;super(_0x1d49e9),this[_0x589ed1(0x104)]=_0x334669,this[_0x589ed1(0x106)]=_0x334669['id'];const _0x318dbd=this[_0x589ed1(0x103)],_0x42a385=_0x1368a6(_0x1d49e9,_0x334669[_0x589ed1(0xf0)][_0x589ed1(0xfa)]?_0x589ed1(0x102):_0x589ed1(0xf5)==_0x334669[_0x589ed1(0xfd)]?_0x589ed1(0xf8):_0x589ed1(0xfe));this[_0x589ed1(0xf3)](_0x589ed1(0xfd),_0x334669[_0x589ed1(0xfd)]),this[_0x589ed1(0xf1)]({'tag':_0x589ed1(0x107),'attributes':{'class':[_0x589ed1(0x101),_0x589ed1(0xff),_0x318dbd['to'](_0x589ed1(0xfd),_0x29d47d=>_0x589ed1(0xef)+_0x29d47d)],'tabindex':-0x1},'children':[{'tag':_0x589ed1(0xe9),'children':[{'tag':_0x589ed1(0xe9),'attributes':{'class':[_0x589ed1(0xea)]},'children':[{'text':_0x42a385}]},{'text':'\x20'+_0x334669[_0x589ed1(0xec)][_0x589ed1(0xfc)]}]}]});}[_0x40c781(0xf9)](){const _0x430906=_0x40c781;this[_0x430906(0xf2)][_0x430906(0xf9)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2f52f0,_0x5569c){const _0x471c36=_0xc428,_0x13cd6f=_0x2f52f0();while(!![]){try{const _0x225a7c=parseInt(_0x471c36(0x1ad))/0x1+-parseInt(_0x471c36(0x194))/0x2+parseInt(_0x471c36(0x18c))/0x3*(-parseInt(_0x471c36(0x19b))/0x4)+parseInt(_0x471c36(0x193))/0x5*(-parseInt(_0x471c36(0x1ac))/0x6)+-parseInt(_0x471c36(0x1a4))/0x7*(-parseInt(_0x471c36(0x1b0))/0x8)+parseInt(_0x471c36(0x19d))/0x9+parseInt(_0x471c36(0x18f))/0xa;if(_0x225a7c===_0x5569c)break;else _0x13cd6f['push'](_0x13cd6f['shift']());}catch(_0x2f82d8){_0x13cd6f['push'](_0x13cd6f['shift']());}}}(_0x451b,0xcec7b));import{View as _0x13f564,ButtonView as _0x3f9ca8,ToolbarSeparatorView as _0x57b51b}from'ckeditor5/src/ui.js';import{IconChevronUp as _0xd1de07,IconChevronDown as _0x1b1c63}from'ckeditor5/src/icons.js';function _0xc428(_0x3a52af,_0xa90dd9){const _0x451b96=_0x451b();return _0xc428=function(_0xc42810,_0x2296e5){_0xc42810=_0xc42810-0x189;let _0x5f45dc=_0x451b96[_0xc42810];return _0x5f45dc;},_0xc428(_0x3a52af,_0xa90dd9);}import{getTranslation as _0x5cf37c}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x13f564{constructor(_0x25da6a){const _0x599fd4=_0xc428;super(_0x25da6a);const _0x5ce3e9=this[_0x599fd4(0x1a6)],_0x12fbc7=new _0x3f9ca8(_0x25da6a),_0x61f4ce=new _0x3f9ca8(_0x25da6a);this[_0x599fd4(0x1ae)](_0x599fd4(0x1a9),!0x1),this[_0x599fd4(0x1ae)](_0x599fd4(0x18b),!0x1),this[_0x599fd4(0x1ae)](_0x599fd4(0x196),0x0),this[_0x599fd4(0x1ae)](_0x599fd4(0x1ab),0x0),this[_0x599fd4(0x1ae)](_0x599fd4(0x19f),!0x1),this[_0x599fd4(0x1ae)](_0x599fd4(0x195),!0x1),this[_0x599fd4(0x1a8)](_0x599fd4(0x1a2))['to'](this,_0x599fd4(0x18b),this,_0x599fd4(0x1ab),(_0x4aebd8,_0x585cba)=>_0x4aebd8&&_0x585cba>0x0),this[_0x599fd4(0x1a8)](_0x599fd4(0x18e))['to'](this,_0x599fd4(0x18b),this,_0x599fd4(0x196),this,_0x599fd4(0x1ab),this,_0x599fd4(0x1a9),(_0x2fe20a,_0xeae213,_0x69bd9,_0x58966b)=>{const _0x2fcfbd=_0x599fd4;if(!_0x2fe20a)return _0x5cf37c(_0x25da6a,_0x2fcfbd(0x19a));if(!_0x69bd9)return _0x5cf37c(_0x25da6a,_0x2fcfbd(0x18d));const _0xd78e3c=_0x5cf37c(_0x25da6a,_0x2fcfbd(0x1b1),_0x69bd9);return _0x58966b?_0x5cf37c(_0x25da6a,_0x2fcfbd(0x198),[_0xeae213+0x1,_0x69bd9]):_0xd78e3c;}),_0x12fbc7[_0x599fd4(0x1ae)]({'label':_0x5cf37c(_0x25da6a,_0x599fd4(0x1b3)),'tooltip':!0x0,'icon':_0xd1de07}),_0x61f4ce[_0x599fd4(0x1ae)]({'label':_0x5cf37c(_0x25da6a,_0x599fd4(0x19c)),'tooltip':!0x0,'icon':_0x1b1c63}),_0x12fbc7[_0x599fd4(0x1a8)](_0x599fd4(0x1a7))['to'](this,_0x599fd4(0x195)),_0x61f4ce[_0x599fd4(0x1a8)](_0x599fd4(0x1a7))['to'](this,_0x599fd4(0x19f)),_0x12fbc7['on'](_0x599fd4(0x190),()=>this[_0x599fd4(0x1a1)](_0x599fd4(0x190),_0x599fd4(0x19e))),_0x61f4ce['on'](_0x599fd4(0x190),()=>this[_0x599fd4(0x1a1)](_0x599fd4(0x190),_0x599fd4(0x1a0))),this[_0x599fd4(0x1b2)]({'tag':_0x599fd4(0x1aa),'attributes':{'class':['ck',_0x599fd4(0x189),_0x599fd4(0x191)]},'children':[{'tag':_0x599fd4(0x1af),'attributes':{'class':[_0x599fd4(0x1a5)]},'children':[{'tag':_0x599fd4(0x1af),'attributes':{'class':[_0x599fd4(0x1a3),_0x5ce3e9['if'](_0x599fd4(0x1a2),_0x599fd4(0x18a),_0x4797c0=>!_0x4797c0)]},'children':[{'text':_0x5ce3e9['to'](_0x599fd4(0x1a9),_0x1fdf5e=>_0x1fdf5e?_0x5cf37c(_0x25da6a,_0x599fd4(0x199))+':\x20':_0x5cf37c(_0x25da6a,_0x599fd4(0x192))+':\x20')}]},{'text':_0x5ce3e9['to'](_0x599fd4(0x18e))}]},new _0x57b51b(),{'tag':_0x599fd4(0x1aa),'attributes':{'class':[_0x599fd4(0x197)]},'children':[_0x12fbc7,_0x61f4ce]}]});}}function _0x451b(){const _0x52f3e=['ck-revision-history-ui__changes-navigation__wrapper','bindTemplate','isEnabled','bind','isNavigationMode','div','numberOfChanges','3011076XCYEML','614255lwdOZy','set','span','3290816hyYunJ','NUMBER_OF_CHANGES','setTemplate','Show\x20previous\x20change','ck-revision-history-ui','ck-hidden','isReady','9ipZPyn','No\x20changes','_statusText','5465530QNJOBe','execute','ck-revision-history-ui__changes-navigation','Total','15DLZsuq','152940rBKebP','isBackwardNavigationEnabled','currentChangeNumber','ck-revision-history-ui__changes-navigation__navigation','X_OF_Y_CHANGES','EDIT_X_OF_Y_REVISIONS','Loading...','680268eKualF','Show\x20next\x20change','1196676YQGyga','backward','isForwardNavigationEnabled','forward','fire','_isStatusLabelVisible','ck-revision-history-ui__changes-navigation__label','28hLQUlL'];_0x451b=function(){return _0x52f3e;};return _0x451b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2fa9e5=_0x5ef8;(function(_0x2fb8a9,_0x3571ed){const _0x5afa68=_0x5ef8,_0x24d652=_0x2fb8a9();while(!![]){try{const _0x1b18d1=parseInt(_0x5afa68(0xba))/0x1*(-parseInt(_0x5afa68(0xc9))/0x2)+parseInt(_0x5afa68(0xcb))/0x3*(-parseInt(_0x5afa68(0xc4))/0x4)+-parseInt(_0x5afa68(0xc5))/0x5+-parseInt(_0x5afa68(0xc2))/0x6+-parseInt(_0x5afa68(0xb7))/0x7*(parseInt(_0x5afa68(0xca))/0x8)+-parseInt(_0x5afa68(0xc7))/0x9+parseInt(_0x5afa68(0xbd))/0xa;if(_0x1b18d1===_0x3571ed)break;else _0x24d652['push'](_0x24d652['shift']());}catch(_0x308fd8){_0x24d652['push'](_0x24d652['shift']());}}}(_0x4a47,0x1ef4c));function _0x4a47(){const _0x27579b=['25092hzXfFh','pluginName','984sNAMBV','53125YdcBaq','hide','978372jWRHqk','roots','358OwlCmy','15040tuUdYj','534KCnLEj','change','removeClass','show','editing','14buUipq','addClass','view','587tnWBaN','ck-editor__editable__loading-overlay','document','4029320ZFBSbm','RevisionViewerLoadingOverlay','isOfficialPlugin','editor','isPremiumPlugin'];_0x4a47=function(){return _0x27579b;};return _0x4a47();}function _0x5ef8(_0x1f4c6b,_0x2155c0){const _0x4a471f=_0x4a47();return _0x5ef8=function(_0x5ef814,_0x27fa6d){_0x5ef814=_0x5ef814-0xb5;let _0x34a49f=_0x4a471f[_0x5ef814];return _0x34a49f;},_0x5ef8(_0x1f4c6b,_0x2155c0);}import{Plugin as _0xa0c56c}from'ckeditor5/src/core.js';const ge=_0x2fa9e5(0xbb);import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0xa0c56c{static get[_0x2fa9e5(0xc3)](){const _0x53bc4c=_0x2fa9e5;return _0x53bc4c(0xbe);}static get[_0x2fa9e5(0xbf)](){return!0x0;}static get[_0x2fa9e5(0xc1)](){return!0x0;}[_0x2fa9e5(0xb5)](){const _0x3f4724=_0x2fa9e5,_0x4996d0=this[_0x3f4724(0xc0)][_0x3f4724(0xb6)][_0x3f4724(0xb9)];_0x4996d0[_0x3f4724(0xcc)](_0x1fc1e2=>{const _0x20cd8d=_0x3f4724;for(const _0x4c74b1 of _0x4996d0[_0x20cd8d(0xbc)][_0x20cd8d(0xc8)])_0x1fc1e2[_0x20cd8d(0xb8)](ge,_0x4c74b1);});}[_0x2fa9e5(0xc6)](){const _0x3f5e0d=_0x2fa9e5,_0x1bccf6=this[_0x3f5e0d(0xc0)][_0x3f5e0d(0xb6)][_0x3f5e0d(0xb9)];_0x1bccf6[_0x3f5e0d(0xcc)](_0x7b96ab=>{const _0x1b84c7=_0x3f5e0d;for(const _0x33b0d3 of _0x1bccf6[_0x1b84c7(0xbc)][_0x1b84c7(0xc8)])_0x7b96ab[_0x1b84c7(0xcd)](ge,_0x33b0d3);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x420e63=_0x3139;(function(_0x17ee59,_0x301dfa){const _0x195ba2=_0x3139,_0x136c2c=_0x17ee59();while(!![]){try{const _0x3ba2a7=parseInt(_0x195ba2(0x148))/0x1+-parseInt(_0x195ba2(0x174))/0x2*(-parseInt(_0x195ba2(0x172))/0x3)+parseInt(_0x195ba2(0x168))/0x4+-parseInt(_0x195ba2(0x175))/0x5*(parseInt(_0x195ba2(0x15f))/0x6)+parseInt(_0x195ba2(0x169))/0x7*(parseInt(_0x195ba2(0x14c))/0x8)+parseInt(_0x195ba2(0x16c))/0x9*(parseInt(_0x195ba2(0x14f))/0xa)+-parseInt(_0x195ba2(0x164))/0xb;if(_0x3ba2a7===_0x301dfa)break;else _0x136c2c['push'](_0x136c2c['shift']());}catch(_0x13da56){_0x136c2c['push'](_0x136c2c['shift']());}}}(_0x13e5,0x3d447));import{Plugin as _0x193fb4}from'ckeditor5/src/core.js';import{ButtonView as _0x5b6ce6}from'ckeditor5/src/ui.js';import{IconUndo as _0x31f6bd}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x178083}from'./changesnavigationview.js';function _0x13e5(){const _0x1c0dc5=['isNavigationMode','showNextChange','forward','261744pzFgpq','7eHJntn','isOfficialPlugin','hide','19179QmQVaS','restoreRevision','currentChangeNumber','isForwardNavigationEnabled','exitToEditing','init','975909recPJz','Back\x20to\x20editing','2IFSVdV','16805TvxMfx','change:isReady','isPremiumPlugin','listenTo','287362mFxMoc','requires','bind','pluginName','488360FtLtnE','closeRevisionViewerCallback','RevisionViewerUI','190dAWzse','editor','numberOfChanges','set','execute','isEnabled','isBackwardNavigationEnabled','show','showPreviousChange','revisionHistory','get','config','isReady','Restore\x20this\x20revision','componentFactory','plugins','90WWlhoY','ck-revision-history-ui__back-to-editing','add','commands','changesNavigation','5260959QkKSBJ'];_0x13e5=function(){return _0x1c0dc5;};return _0x13e5();}import{RevisionViewer as _0xae8a4f}from'./../../revisionviewer.js';function _0x3139(_0x2486ec,_0x23cf33){const _0x13e5fb=_0x13e5();return _0x3139=function(_0x31394a,_0x50dfb5){_0x31394a=_0x31394a-0x147;let _0x279528=_0x13e5fb[_0x31394a];return _0x279528;},_0x3139(_0x2486ec,_0x23cf33);}import{RevisionViewerLoadingOverlay as _0x124f4e}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x1a9ad9}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x193fb4{static get[_0x420e63(0x14b)](){const _0x5dc849=_0x420e63;return _0x5dc849(0x14e);}static get[_0x420e63(0x16a)](){return!0x0;}static get[_0x420e63(0x177)](){return!0x0;}static get[_0x420e63(0x149)](){return[_0xae8a4f,_0x124f4e];}[_0x420e63(0x171)](){const _0x200787=_0x420e63,_0x448292=this[_0x200787(0x150)],_0x18a296=_0x448292[_0x200787(0x15e)][_0x200787(0x159)](_0xae8a4f),_0x328c72=_0x448292[_0x200787(0x15e)][_0x200787(0x159)](_0x124f4e);_0x448292['ui'][_0x200787(0x15d)][_0x200787(0x161)](_0x200787(0x170),_0x17b1fb=>{const _0x389764=_0x200787,_0x3fa527=new _0x5b6ce6(_0x17b1fb);return _0x3fa527[_0x389764(0x152)]({'label':_0x1a9ad9(_0x17b1fb,_0x389764(0x173)),'icon':_0x31f6bd,'withText':!0x0,'tooltip':!0x0,'class':_0x389764(0x160)}),this[_0x389764(0x147)](_0x3fa527,_0x389764(0x153),()=>{const _0x4e35ff=_0x389764;_0x448292[_0x4e35ff(0x15a)][_0x4e35ff(0x159)](_0x4e35ff(0x158))[_0x4e35ff(0x14d)]();}),_0x3fa527;}),_0x448292['ui'][_0x200787(0x15d)][_0x200787(0x161)](_0x200787(0x16d),_0x3e3ae9=>{const _0x463cfb=_0x200787,_0x5b638b=new _0x5b6ce6(_0x3e3ae9);return _0x5b638b[_0x463cfb(0x152)]({'label':_0x1a9ad9(_0x3e3ae9,_0x463cfb(0x15c)),'withText':!0x0,'tooltip':!0x0}),_0x5b638b[_0x463cfb(0x14a)](_0x463cfb(0x154))['to'](_0x448292[_0x463cfb(0x162)][_0x463cfb(0x159)](_0x463cfb(0x16d))),this[_0x463cfb(0x147)](_0x5b638b,_0x463cfb(0x153),()=>_0x448292[_0x463cfb(0x153)](_0x463cfb(0x16d))),_0x5b638b;}),_0x448292['ui'][_0x200787(0x15d)][_0x200787(0x161)](_0x200787(0x163),_0x4b02f8=>{const _0x5ca05e=_0x200787,_0x35bf29=new _0x178083(_0x4b02f8),_0xffef45=_0x448292[_0x5ca05e(0x162)][_0x5ca05e(0x159)](_0x5ca05e(0x157)),_0x3ed763=_0x448292[_0x5ca05e(0x162)][_0x5ca05e(0x159)](_0x5ca05e(0x166));return _0x35bf29[_0x5ca05e(0x14a)](_0x5ca05e(0x155))['to'](_0xffef45,_0x5ca05e(0x154)),_0x35bf29[_0x5ca05e(0x14a)](_0x5ca05e(0x16f))['to'](_0x3ed763,_0x5ca05e(0x154)),_0x35bf29[_0x5ca05e(0x14a)](_0x5ca05e(0x15b),_0x5ca05e(0x16e),_0x5ca05e(0x151),_0x5ca05e(0x165))['to'](_0x18a296),this[_0x5ca05e(0x147)](_0x35bf29,_0x5ca05e(0x153),(_0x148f2d,_0x5f40df)=>{const _0x13ce8b=_0x5ca05e;_0x448292[_0x13ce8b(0x153)](_0x13ce8b(0x167)===_0x5f40df?_0x13ce8b(0x166):_0x13ce8b(0x157));}),_0x35bf29;}),_0x328c72[_0x200787(0x156)](),_0x18a296['on'](_0x200787(0x176),(_0x38f2b6,_0x584456,_0x459057)=>{const _0x1509c8=_0x200787;_0x459057?_0x328c72[_0x1509c8(0x16b)]():_0x328c72[_0x1509c8(0x156)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x1cc050,_0x45b4c5,_0x396052){const t=_0x1cc050['t'];switch(_0x45b4c5){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'},_0x396052);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x396052);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'';}}
|