@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250627.0 → 0.0.0-nightly-20250628.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.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 _0x178572=_0xf818;(function(_0x16e0bc,_0x5ce715){const _0x56543e=_0xf818,_0x1b2eb0=_0x16e0bc();while(!![]){try{const _0x3929a3=-parseInt(_0x56543e(0x1b7))/0x1+parseInt(_0x56543e(0x1c1))/0x2*(-parseInt(_0x56543e(0x1b1))/0x3)+-parseInt(_0x56543e(0x1a6))/0x4*(parseInt(_0x56543e(0x1c7))/0x5)+parseInt(_0x56543e(0x1a0))/0x6*(parseInt(_0x56543e(0x1b5))/0x7)+parseInt(_0x56543e(0x1af))/0x8+parseInt(_0x56543e(0x1bc))/0x9+-parseInt(_0x56543e(0x1bf))/0xa*(-parseInt(_0x56543e(0x1ab))/0xb);if(_0x3929a3===_0x5ce715)break;else _0x1b2eb0['push'](_0x1b2eb0['shift']());}catch(_0x534e1e){_0x1b2eb0['push'](_0x1b2eb0['shift']());}}}(_0x5ad1,0x2f722));function _0x5ad1(){const _0x434634=['add','147LeEwcA','focusTracker','116491tmoJTl','revisionNameInputView','extendTemplate','revisionName','initializeCssTransitionDisablerMixin','3296403zyLcWr','setTemplate','revisionNameInputValue','425440IGNcDP','label','196172oaDTMo','arrowleft','element','fieldView','Name\x20of\x20the\x20revision','form','5AxjluF','arrowright','set','trim','reset','ck-revision-history-save-revision-form','58818qCjRre','value','stopPropagation','focus','input','listenTo','884084PVpgCD','keystrokes','arrowup','ck-responsive-form','_createRevisionNameInput','55CAeKXW','220','render','optional','330064WzpbBk','arrowdown','9EVJenJ','locale','errorText'];_0x5ad1=function(){return _0x434634;};return _0x5ad1();}import{CssTransitionDisablerMixin as _0x1eaac4,LabeledFieldView as _0xb20d0,View as _0x3f067b,createLabeledInputText as _0x447b99,submitHandler as _0x4ce8b6}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4fa05c,KeystrokeHandler as _0x4b1451}from'ckeditor5/src/utils.js';import{getTranslation as _0x2fa0ca}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';function _0xf818(_0x212e9e,_0x354408){const _0x5ad172=_0x5ad1();return _0xf818=function(_0xf818eb,_0x579be2){_0xf818eb=_0xf818eb-0x19c;let _0x34ba1c=_0x5ad172[_0xf818eb];return _0x34ba1c;},_0xf818(_0x212e9e,_0x354408);}import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1eaac4(_0x3f067b){[_0x178572(0x1b6)];[_0x178572(0x1a7)];[_0x178572(0x1b8)];constructor(_0x3a1472,_0x30774f){const _0x52639f=_0x178572;super(_0x3a1472),this[_0x52639f(0x1b6)]=new _0x4fa05c(),this[_0x52639f(0x1a7)]=new _0x4b1451(),this[_0x52639f(0x19c)](_0x52639f(0x1be),''),this[_0x52639f(0x1b8)]=this[_0x52639f(0x1aa)](_0x30774f),this[_0x52639f(0x1bd)]({'tag':_0x52639f(0x1c6),'attributes':{'class':['ck',_0x52639f(0x19f),_0x52639f(0x1a9)],'tabindex':'-1'},'children':[this[_0x52639f(0x1b8)]]}),this[_0x52639f(0x1bb)]();}[_0x178572(0x1ad)](){const _0x41a3ff=_0x178572;super[_0x41a3ff(0x1ad)](),_0x4ce8b6({'view':this}),this[_0x41a3ff(0x1b6)][_0x41a3ff(0x1b4)](this[_0x41a3ff(0x1b8)][_0x41a3ff(0x1c3)]),this[_0x41a3ff(0x1a7)][_0x41a3ff(0x1a5)](this[_0x41a3ff(0x1c3)]);const _0xea33b5=_0x11c1b0=>_0x11c1b0[_0x41a3ff(0x1a2)]();this[_0x41a3ff(0x1a7)][_0x41a3ff(0x19c)](_0x41a3ff(0x1c8),_0xea33b5),this[_0x41a3ff(0x1a7)][_0x41a3ff(0x19c)](_0x41a3ff(0x1c2),_0xea33b5),this[_0x41a3ff(0x1a7)][_0x41a3ff(0x19c)](_0x41a3ff(0x1a8),_0xea33b5),this[_0x41a3ff(0x1a7)][_0x41a3ff(0x19c)](_0x41a3ff(0x1b0),_0xea33b5);}[_0x178572(0x1a3)](){const _0x2bebfe=_0x178572;this[_0x2bebfe(0x1b8)][_0x2bebfe(0x1a3)]();}get[_0x178572(0x1ba)](){const _0x48652d=_0x178572;return this[_0x48652d(0x1b8)][_0x48652d(0x1c4)][_0x48652d(0x1c3)][_0x48652d(0x1a1)][_0x48652d(0x19d)]();}set[_0x178572(0x1ba)](_0x5c8b8e){const _0x396a1a=_0x178572;this[_0x396a1a(0x1b8)][_0x396a1a(0x1c4)][_0x396a1a(0x1c3)][_0x396a1a(0x1a1)]=_0x5c8b8e[_0x396a1a(0x19d)]();}[_0x178572(0x19e)](){const _0x43e113=_0x178572;this[_0x43e113(0x1b8)][_0x43e113(0x1c4)][_0x43e113(0x1c3)][_0x43e113(0x1a1)]='',this[_0x43e113(0x1b8)][_0x43e113(0x1b3)]=null;}[_0x178572(0x1aa)](_0x12824a){const _0x971c76=_0x178572,_0x52a588=new _0xb20d0(this[_0x971c76(0x1b2)],_0x447b99),_0x326fec=_0x52a588[_0x971c76(0x1c4)];_0x326fec[_0x971c76(0x1b9)]({'attributes':{'maxlength':_0x971c76(0x1ac)}});let _0x4315c8=_0x2fa0ca(this[_0x971c76(0x1b2)],_0x971c76(0x1c5));return!_0x12824a&&(_0x4315c8+='\x20('+_0x2fa0ca(this[_0x971c76(0x1b2)],_0x971c76(0x1ae))+')'),(_0x52a588[_0x971c76(0x1c0)]=_0x4315c8,_0x326fec['on'](_0x971c76(0x1a4),()=>{const _0x44046b=_0x971c76;this[_0x44046b(0x1be)]=_0x326fec[_0x44046b(0x1c3)][_0x44046b(0x1a1)][_0x44046b(0x19d)]();}),_0x52a588);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3fd1ba=_0x5ab4;function _0x19bc(){const _0x3ff9cd=['role','8llQyCW','plugins','Accept','Open\x20revision\x20history','errorText','add','isOfficialPlugin','reset','menuitem','panelView','menu','buttonView','2894250PsQMvi','init','items','config','isReady','1197824ggDhoy','delegate','isReadOnly','submit','RevisionTracker','ck-button-action','componentFactory','_saveRevisionFormView','execute','saveRevision','children','_registerMenuComponent','1551663sVnhnp','19776ycusoX','430DJCWpu','revisionNameInputView','get','Revision\x20history','4860989kTyaeI','editing','18318RUbRxp','isPremiumPlugin','Cancel','revisionSave','revisionHistory.requireRevisionName','editor','focus','RevisionHistoryUI','requires','Dialog','revisionName','show','_createSaveRevisionFormView','The\x20revision\x20name\x20cannot\x20be\x20empty.','hide','menuBar:revisionHistory','_showDialog','isEnabled','63qaCEJO','locale','addMany','bind','Save\x20current\x20revision','revisionHistory','1274013vGlmOR','render','isOpen','set','view','pluginName','showRevisionViewerCallback'];_0x19bc=function(){return _0x3ff9cd;};return _0x19bc();}(function(_0x56d271,_0x3aae83){const _0x244374=_0x5ab4,_0x48f08a=_0x56d271();while(!![]){try{const _0x163aed=parseInt(_0x244374(0xfa))/0x1*(-parseInt(_0x244374(0xe8))/0x2)+parseInt(_0x244374(0xe0))/0x3+parseInt(_0x244374(0xd4))/0x4+parseInt(_0x244374(0xe2))/0x5*(-parseInt(_0x244374(0xe1))/0x6)+-parseInt(_0x244374(0xe6))/0x7*(-parseInt(_0x244374(0xc3))/0x8)+parseInt(_0x244374(0x100))/0x9+-parseInt(_0x244374(0xcf))/0xa;if(_0x163aed===_0x3aae83)break;else _0x48f08a['push'](_0x48f08a['shift']());}catch(_0x3d63d5){_0x48f08a['push'](_0x48f08a['shift']());}}}(_0x19bc,0x7abeb));import{Plugin as _0x5d4fac}from'ckeditor5/src/core.js';import{IconHistory as _0x4d7fc7}from'ckeditor5/src/icons.js';function _0x5ab4(_0x160afc,_0x5b2677){const _0x19bcc0=_0x19bc();return _0x5ab4=function(_0x5ab42d,_0x1e1146){_0x5ab42d=_0x5ab42d-0xc2;let _0x2b178e=_0x19bcc0[_0x5ab42d];return _0x2b178e;},_0x5ab4(_0x160afc,_0x5b2677);}import{createDropdown as _0x2d336c,ButtonView as _0x476266,ListItemView as _0x39cd25,ListView as _0x34976f,MenuBarMenuListItemButtonView as _0x48d608,MenuBarMenuListItemView as _0x2ad23e,MenuBarMenuListView as _0x43edcc,MenuBarMenuView as _0x21a63d}from'ckeditor5/src/ui.js';import{RevisionTracker as _0x5c3127}from'../../revisiontracker.js';import{RevisionHistorySaveRevisionFormView as _0x5106ad}from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x594b88}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0x5d4fac{static get[_0x3fd1ba(0x105)](){const _0x40c966=_0x3fd1ba;return _0x40c966(0xef);}static get[_0x3fd1ba(0xc9)](){return!0x0;}static get[_0x3fd1ba(0xe9)](){return!0x0;}static get[_0x3fd1ba(0xf0)](){return[_0x5c3127];}[_0x3fd1ba(0xdb)];[_0x3fd1ba(0xd0)](){const _0x2e8e1f=_0x3fd1ba,_0x25e037=this[_0x2e8e1f(0xed)],_0x47ae95=_0x25e037[_0x2e8e1f(0xc4)][_0x2e8e1f(0xe4)](_0x2e8e1f(0xd8));_0x25e037['ui'][_0x2e8e1f(0xda)][_0x2e8e1f(0xc8)](_0x2e8e1f(0xff),_0x4b3d45=>{const _0x9833a7=_0x2e8e1f,_0x496a70=_0x2d336c(_0x4b3d45),_0x51341d=_0x496a70[_0x9833a7(0xcc)][_0x9833a7(0xde)],_0xcafa14=new _0x34976f(_0x4b3d45),_0x3eb93f=new _0x39cd25(_0x4b3d45),_0xeceec2=new _0x476266(_0x4b3d45),_0x1371ad=new _0x39cd25(_0x4b3d45),_0x20e6f4=new _0x476266(_0x4b3d45);return _0x496a70[_0x9833a7(0xfd)](_0x9833a7(0xf9))['to'](_0x47ae95,_0x9833a7(0xd3),_0x47ae95,_0x9833a7(0xf9),_0x25e037,_0x9833a7(0xd6),(_0x6977c,_0x305528,_0x60e309)=>_0x6977c&&_0x305528&&!_0x60e309),_0x496a70[_0x9833a7(0xce)][_0x9833a7(0x103)]({'icon':_0x4d7fc7,'label':_0x594b88(_0x4b3d45,_0x9833a7(0xe5)),'tooltip':!0x0}),_0xeceec2[_0x9833a7(0x103)]({'label':_0x594b88(_0x4b3d45,_0x9833a7(0xfe)),'withText':!0x0,'role':_0x9833a7(0xcb)}),_0xeceec2[_0x9833a7(0xfd)](_0x9833a7(0xf9))['to'](_0x47ae95,_0x9833a7(0xd3),_0x47ae95,_0x9833a7(0xf9),_0x25e037,_0x9833a7(0xd6),(_0x19ea89,_0x497164,_0xa5aa62)=>_0x19ea89&&_0x497164&&!_0xa5aa62),_0xeceec2['on'](_0x9833a7(0xdc),()=>this[_0x9833a7(0xf8)]()),_0x20e6f4[_0x9833a7(0x103)]({'label':_0x594b88(_0x4b3d45,_0x9833a7(0xc6)),'withText':!0x0,'role':_0x9833a7(0xcb)}),_0x20e6f4[_0x9833a7(0xfd)](_0x9833a7(0xf9))['to'](_0x47ae95,_0x9833a7(0xd3),_0x25e037,_0x9833a7(0xd6),(_0xbbaff,_0x3de442)=>_0xbbaff&&!_0x3de442),_0x20e6f4['on'](_0x9833a7(0xdc),()=>{const _0x2a4998=_0x9833a7;_0x25e037[_0x2a4998(0xd2)][_0x2a4998(0xe4)](_0x2a4998(0xff))[_0x2a4998(0x106)](),_0x496a70[_0x2a4998(0x102)]=!0x1,_0x25e037[_0x2a4998(0xe7)][_0x2a4998(0x104)][_0x2a4998(0xee)]();}),_0x3eb93f[_0x9833a7(0xde)][_0x9833a7(0xc8)](_0xeceec2),_0x1371ad[_0x9833a7(0xde)][_0x9833a7(0xc8)](_0x20e6f4),_0xcafa14[_0x9833a7(0xc2)]=_0x9833a7(0xcd),_0xcafa14[_0x9833a7(0xd1)][_0x9833a7(0xfc)]([_0x3eb93f,_0x1371ad]),_0x51341d[_0x9833a7(0xc8)](_0xcafa14),_0x496a70;}),_0x25e037['ui'][_0x2e8e1f(0xda)][_0x2e8e1f(0xc8)](_0x2e8e1f(0xf7),()=>this[_0x2e8e1f(0xdf)]());}[_0x3fd1ba(0xdf)](){const _0x294a71=_0x3fd1ba,_0x1880f7=this[_0x294a71(0xed)],_0x44dde8=_0x1880f7[_0x294a71(0xfb)],_0x218465=new _0x21a63d(_0x44dde8),_0x13e414=new _0x43edcc(_0x44dde8);_0x218465[_0x294a71(0xce)][_0x294a71(0x103)]({'icon':_0x4d7fc7,'label':_0x594b88(_0x44dde8,_0x294a71(0xe5))});const _0x2d1486=new _0x2ad23e(_0x44dde8,_0x218465),_0x23e3d7=new _0x48d608(_0x44dde8);_0x23e3d7[_0x294a71(0x103)]({'label':_0x594b88(_0x44dde8,_0x294a71(0xfe))}),_0x23e3d7[_0x294a71(0xd5)](_0x294a71(0xdc))['to'](_0x218465),_0x23e3d7['on'](_0x294a71(0xdc),()=>{const _0x2214b6=_0x294a71;this[_0x2214b6(0xf8)]();}),_0x2d1486[_0x294a71(0xde)][_0x294a71(0xc8)](_0x23e3d7),_0x13e414[_0x294a71(0xd1)][_0x294a71(0xc8)](_0x2d1486);const _0x3b2684=new _0x2ad23e(_0x44dde8,_0x218465),_0x3ed772=new _0x48d608(_0x44dde8);return _0x3ed772[_0x294a71(0x103)]({'label':_0x594b88(_0x44dde8,_0x294a71(0xc6))}),_0x3ed772[_0x294a71(0xd5)](_0x294a71(0xdc))['to'](_0x218465),_0x3ed772['on'](_0x294a71(0xdc),()=>{const _0x430a57=_0x294a71;_0x1880f7[_0x430a57(0xd2)][_0x430a57(0xe4)](_0x430a57(0xff))[_0x430a57(0x106)]();}),_0x3b2684[_0x294a71(0xde)][_0x294a71(0xc8)](_0x3ed772),_0x13e414[_0x294a71(0xd1)][_0x294a71(0xc8)](_0x3b2684),_0x218465[_0x294a71(0xcc)][_0x294a71(0xde)][_0x294a71(0xc8)](_0x13e414),_0x218465;}[_0x3fd1ba(0xf8)](){const _0x56f76b=_0x3fd1ba,_0x566890=this[_0x56f76b(0xed)],_0x57b5ec=_0x566890[_0x56f76b(0xfb)],_0x4d671b=_0x566890[_0x56f76b(0xc4)][_0x56f76b(0xe4)](_0x56f76b(0xf1)),_0x2c0a8b=_0x566890[_0x56f76b(0xc4)][_0x56f76b(0xe4)](_0x56f76b(0xd8));function _0x271bea(_0x1d2041){const _0xd9057e=_0x56f76b;_0x566890[_0xd9057e(0xd2)][_0xd9057e(0xe4)](_0xd9057e(0xec))&&''===_0x1d2041[_0xd9057e(0xf2)]?_0x1d2041[_0xd9057e(0xe3)][_0xd9057e(0xc7)]=_0x594b88(_0x57b5ec,_0xd9057e(0xf5)):(_0x566890[_0xd9057e(0xc4)][_0xd9057e(0xe4)](_0x5c3127)[_0xd9057e(0xdd)]({'name':_0x1d2041[_0xd9057e(0xf2)]}),_0x4d671b[_0xd9057e(0xf6)]());}this[_0x56f76b(0xdb)]||(this[_0x56f76b(0xf4)](),this[_0x56f76b(0xdb)]['on'](_0x56f76b(0xd7),()=>_0x271bea(this[_0x56f76b(0xdb)]))),this[_0x56f76b(0xdb)][_0x56f76b(0xca)](),_0x4d671b[_0x56f76b(0xf3)]({'id':_0x56f76b(0xeb),'title':_0x594b88(_0x57b5ec,_0x56f76b(0xfe)),'isModal':!0x0,'content':this[_0x56f76b(0xdb)],'actionButtons':[{'label':_0x594b88(_0x566890[_0x56f76b(0xfb)],_0x56f76b(0xea)),'withText':!0x0,'onExecute':()=>_0x4d671b[_0x56f76b(0xf6)]()},{'label':_0x594b88(_0x566890[_0x56f76b(0xfb)],_0x56f76b(0xc5)),'class':_0x56f76b(0xd9),'withText':!0x0,'onCreate'(_0x56e8c5){const _0x5a391e=_0x56f76b;_0x56e8c5[_0x5a391e(0xfd)](_0x5a391e(0xf9))['to'](_0x2c0a8b,_0x5a391e(0xd3),_0x2c0a8b,_0x5a391e(0xf9),_0x566890,_0x5a391e(0xd6),(_0x1435d7,_0x531373,_0x141cd2)=>_0x1435d7&&_0x531373&&!_0x141cd2);},'onExecute':()=>_0x271bea(this[_0x56f76b(0xdb)])}]});}[_0x3fd1ba(0xf4)](){const _0x2bec39=_0x3fd1ba,_0x575759=this[_0x2bec39(0xed)],_0x3a3515=_0x575759[_0x2bec39(0xfb)];this[_0x2bec39(0xdb)]=new _0x5106ad(_0x3a3515,_0x575759[_0x2bec39(0xd2)][_0x2bec39(0xe4)](_0x2bec39(0xec))),this[_0x2bec39(0xdb)][_0x2bec39(0x101)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33029a=_0x141a;(function(_0x11cec4,_0x13e4f1){const _0x2c2812=_0x141a,_0xc636ac=_0x11cec4();while(!![]){try{const _0x502ace=parseInt(_0x2c2812(0x11e))/0x1*(-parseInt(_0x2c2812(0x13f))/0x2)+-parseInt(_0x2c2812(0x121))/0x3+-parseInt(_0x2c2812(0x15c))/0x4*(parseInt(_0x2c2812(0x15d))/0x5)+parseInt(_0x2c2812(0x156))/0x6*(-parseInt(_0x2c2812(0x153))/0x7)+parseInt(_0x2c2812(0x13c))/0x8*(parseInt(_0x2c2812(0x15f))/0x9)+-parseInt(_0x2c2812(0x152))/0xa*(parseInt(_0x2c2812(0x12e))/0xb)+parseInt(_0x2c2812(0x155))/0xc;if(_0x502ace===_0x13e4f1)break;else _0xc636ac['push'](_0xc636ac['shift']());}catch(_0xf10b94){_0xc636ac['push'](_0xc636ac['shift']());}}}(_0x47a5,0xd9909));import{Plugin as _0x10d760}from'ckeditor5/src/core.js';import{RevisionsSidebarView as _0x2a8774}from'./revisionssidebarview.js';function _0x47a5(){const _0x264983=['revisionHistory.requireRevisionName','ready','name','_revisionViewer','defaultRevisionActions','5648632cHWGlh','isOfficialPlugin','revisionViews','29206zMfOfE','_sidebarView','revisionSetName','Compare\x20against\x20selected','_handleRevisionSelected','editor','getRevision','init','plugins','restoreRevision','select','fieldView','_handleEditorDataReady','action','locale','diff','data','appendChild','Name\x20this\x20revision','5550sxjLzq','16079DbSsYH','map','66631944CRSKxr','2034yCjKPV','revisionHistory','newRevisionId','Restore\x20this\x20revision','string','getEarlierVisibleRevision','551032xYTolt','30dsDIoQ','revisionHistory.viewerSidebarContainer','9uzuMOs','getRevisionsInDiff','nameRevision','compareAgainstSelected','destroy','setName','listenTo','add','remove','_revisionsRepository','getLaterVisibleRevision','focus','timePeriodViews','getIndex','requires','element','_handleDiffChange','pluginName','get','availableRevisionActions','103iWCorK','isReady','_createRevisionActions','4115763xIDEgW','render','RevisionsSidebar','length','revisionSelected','change:diff','bind','restoreRevisionCallback','isPremiumPlugin','assign','repository','selectRevision','isEnabled','17567LaVAno','compare','isSelected','config','revisionHistory.revisionActions','_revisions','_handleRevisionSetName','highlightRevisions','isVisible'];_0x47a5=function(){return _0x264983;};return _0x47a5();}function _0x141a(_0x19f086,_0xf27ad3){const _0x47a5c9=_0x47a5();return _0x141a=function(_0x141a8c,_0x55fdc7){_0x141a8c=_0x141a8c-0x111;let _0x446db7=_0x47a5c9[_0x141a8c];return _0x446db7;},_0x141a(_0x19f086,_0xf27ad3);}import{RevisionViewer as _0x4fa68a}from'../../revisionviewer.js';class f extends _0x10d760{[_0x33029a(0x13a)];[_0x33029a(0x113)];[_0x33029a(0x140)];static [_0x33029a(0x13b)]=[_0x33029a(0x162),_0x33029a(0x148),_0x33029a(0x161)];static [_0x33029a(0x11d)]=(function(){const _0x47afc8=_0x33029a;return{'compareAgainstSelected':{'name':_0x47afc8(0x142),'action':({plugins:i},s)=>{const _0x5e9209=_0x47afc8,e=i[_0x5e9209(0x11c)](_0x4fa68a),n=e[_0x5e9209(0x12b)];let r=e[_0x5e9209(0x14e)][_0x5e9209(0x158)],o=s['id'];n[_0x5e9209(0x117)](r)>n[_0x5e9209(0x117)](o)&&([r,o]=[o,r]),e[_0x5e9209(0x12f)](r,o);},'isVisible':({plugins:i},s)=>{const _0x10b45b=_0x47afc8,e=i[_0x10b45b(0x11c)](_0x4fa68a);return!(e[_0x10b45b(0x12b)][_0x10b45b(0x160)](e[_0x10b45b(0x14e)])[_0x10b45b(0x124)]>0x2)&&!s[_0x10b45b(0x130)];}},'restoreRevision':{'name':_0x47afc8(0x159),'action':(i,{id:s})=>{const _0x42672d=_0x47afc8;i[_0x42672d(0x131)][_0x42672d(0x11c)](_0x42672d(0x157))[_0x42672d(0x128)](s);},'isVisible':({plugins:i},s)=>!!i[_0x47afc8(0x11c)](_0x4fa68a)[_0x47afc8(0x12b)][_0x47afc8(0x114)](s['id'])},'nameRevision':{'name':_0x47afc8(0x151),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0x27bd3a=_0x47afc8,n=i[_0x27bd3a(0x11c)](_0x4fa68a),r=n[_0x27bd3a(0x12b)][_0x27bd3a(0x15b)](s);n[_0x27bd3a(0x12f)](s,r),e[_0x27bd3a(0x115)](),e[_0x27bd3a(0x14a)][_0x27bd3a(0x149)]();}}};}());static get[_0x33029a(0x11b)](){const _0x28172c=_0x33029a;return _0x28172c(0x123);}static get[_0x33029a(0x13d)](){return!0x0;}static get[_0x33029a(0x129)](){return!0x0;}static get[_0x33029a(0x118)](){return[_0x4fa68a];}constructor(_0x174aaa){const _0x397c46=_0x33029a;super(_0x174aaa),this[_0x397c46(0x13a)]=_0x174aaa[_0x397c46(0x147)][_0x397c46(0x11c)](_0x4fa68a),this[_0x397c46(0x113)]=this[_0x397c46(0x13a)][_0x397c46(0x12b)],this[_0x397c46(0x140)]=null;}[_0x33029a(0x146)](){const _0x287524=_0x33029a,_0x34a4ab=this[_0x287524(0x113)][_0x287524(0x133)],_0x21472c=this[_0x287524(0x120)](),_0x48d9c4=this[_0x287524(0x144)][_0x287524(0x131)][_0x287524(0x11c)](_0x287524(0x15e));this[_0x287524(0x140)]=new _0x2a8774(this[_0x287524(0x144)][_0x287524(0x14d)],_0x34a4ab,_0x21472c,this[_0x287524(0x144)][_0x287524(0x131)][_0x287524(0x11c)](_0x287524(0x137))),this[_0x287524(0x140)]['on'](_0x287524(0x125),this[_0x287524(0x143)][_0x287524(0x127)](this)),this[_0x287524(0x140)]['on'](_0x287524(0x141),this[_0x287524(0x134)][_0x287524(0x127)](this)),this[_0x287524(0x140)][_0x287524(0x127)](_0x287524(0x12d))['to'](this[_0x287524(0x13a)]),this[_0x287524(0x140)][_0x287524(0x116)]['on'](_0x287524(0x111),(_0x2f1e58,_0x11a828)=>{const _0x4f8724=_0x287524;_0x11a828[_0x4f8724(0x13e)]['on'](_0x4f8724(0x111),(_0x18a2de,_0x2b42cf)=>{const _0x15635e=_0x4f8724;_0x2b42cf[_0x15635e(0x127)](_0x15635e(0x12d),_0x15635e(0x11f))['to'](this[_0x15635e(0x13a)]);});}),this[_0x287524(0x140)][_0x287524(0x122)](),this[_0x287524(0x165)](this[_0x287524(0x144)][_0x287524(0x14f)],_0x287524(0x138),this[_0x287524(0x14b)][_0x287524(0x127)](this)),this[_0x287524(0x165)](this[_0x287524(0x13a)],_0x287524(0x126),this[_0x287524(0x11a)][_0x287524(0x127)](this)),_0x48d9c4[_0x287524(0x150)](this[_0x287524(0x140)][_0x287524(0x119)]);}[_0x33029a(0x163)](){const _0x4979b2=_0x33029a;this[_0x4979b2(0x140)][_0x4979b2(0x119)][_0x4979b2(0x112)](),this[_0x4979b2(0x140)][_0x4979b2(0x163)]();}[_0x33029a(0x14b)](){const _0x30bbee=_0x33029a,_0x2e0a8b=this[_0x30bbee(0x113)][_0x30bbee(0x145)](0x0);if(_0x2e0a8b){const _0x1b5dc4=this[_0x30bbee(0x113)][_0x30bbee(0x15b)](_0x2e0a8b['id']);this[_0x30bbee(0x13a)][_0x30bbee(0x12f)](_0x2e0a8b,_0x1b5dc4);}}[_0x33029a(0x143)](_0x189667,_0x58003b){const _0x38edb3=_0x33029a,_0x34e3f4=this[_0x38edb3(0x113)][_0x38edb3(0x145)](_0x58003b['id']),_0x326402=this[_0x38edb3(0x113)][_0x38edb3(0x15b)](_0x34e3f4['id']);this[_0x38edb3(0x13a)][_0x38edb3(0x12f)](_0x34e3f4,_0x326402);}[_0x33029a(0x134)](_0x3a8513,_0xeb163){const _0x65c741=_0x33029a;this[_0x65c741(0x113)][_0x65c741(0x145)](_0xeb163['id'])[_0x65c741(0x164)](_0xeb163[_0x65c741(0x139)]);}[_0x33029a(0x11a)](_0x2c0230,_0x51a8c7,_0x1fd9f3){const _0x3e484b=_0x33029a,_0x1b3fe0=this[_0x3e484b(0x113)][_0x3e484b(0x160)](_0x1fd9f3);_0x1b3fe0[_0x3e484b(0x124)]>0x2?(this[_0x3e484b(0x140)][_0x3e484b(0x135)](_0x1b3fe0),this[_0x3e484b(0x140)][_0x3e484b(0x12c)](null)):(this[_0x3e484b(0x140)][_0x3e484b(0x135)]([]),this[_0x3e484b(0x140)][_0x3e484b(0x12c)](_0x1b3fe0[0x0]));}[_0x33029a(0x120)](){const _0x20aa42=_0x33029a,_0x14afe1=this[_0x20aa42(0x144)],_0xaf7d0d=f[_0x20aa42(0x11d)],_0x56d47f=_0x14afe1[_0x20aa42(0x131)][_0x20aa42(0x11c)](_0x20aa42(0x132))||f[_0x20aa42(0x13b)];if(_0x56d47f[_0x20aa42(0x124)])return _0x56d47f[_0x20aa42(0x154)](_0x5d885c=>{const _0x4a1607=_0x20aa42,_0x196c47=_0x4a1607(0x15a)==typeof _0x5d885c?Object[_0x4a1607(0x12a)]({},_0xaf7d0d[_0x5d885c]):_0x5d885c;return _0x196c47[_0x4a1607(0x14c)]=_0x196c47[_0x4a1607(0x14c)][_0x4a1607(0x127)](this,_0x14afe1),_0x196c47[_0x4a1607(0x136)]&&(_0x196c47[_0x4a1607(0x136)]=_0x196c47[_0x4a1607(0x136)][_0x4a1607(0x127)](this,_0x14afe1)),_0x196c47;});}}export{f as RevisionsSidebar};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x26cb6a,_0x4bddfd){const _0x3a4a5b=_0x50c6,_0x19d83c=_0x26cb6a();while(!![]){try{const _0x330d8a=-parseInt(_0x3a4a5b(0x17c))/0x1*(-parseInt(_0x3a4a5b(0x175))/0x2)+-parseInt(_0x3a4a5b(0x17d))/0x3+-parseInt(_0x3a4a5b(0x171))/0x4*(parseInt(_0x3a4a5b(0x17a))/0x5)+parseInt(_0x3a4a5b(0x178))/0x6+parseInt(_0x3a4a5b(0x172))/0x7+-parseInt(_0x3a4a5b(0x174))/0x8*(-parseInt(_0x3a4a5b(0x17b))/0x9)+-parseInt(_0x3a4a5b(0x17f))/0xa*(parseInt(_0x3a4a5b(0x180))/0xb);if(_0x330d8a===_0x4bddfd)break;else _0x19d83c['push'](_0x19d83c['shift']());}catch(_0x4c5fe0){_0x19d83c['push'](_0x19d83c['shift']());}}}(_0x4d79,0x1b835));function _0x50c6(_0x40e0bb,_0x479ec0){const _0x4d7996=_0x4d79();return _0x50c6=function(_0x50c6e3,_0x37420a){_0x50c6e3=_0x50c6e3-0x170;let _0x4f8d94=_0x4d7996[_0x50c6e3];return _0x4f8d94;},_0x50c6(_0x40e0bb,_0x479ec0);}import{View as _0x5756e5,IconView as _0x5abee9}from'ckeditor5/src/ui.js';function _0x4d79(){const _0x4830e8=['882581FMBnrc','content','8OcSBnS','2gmgNeq','Revision\x20history','ck-reset_all','178236hrsPmz','span','619295ThMZsH','1277469eojrTZ','17197jnSWGu','135936HRQIma','setTemplate','3090LLWGnp','1177gtbvRD','ck-revision-history-sidebar__header','div','ck-revision-history-sidebar__header__label','4BoDEUp'];_0x4d79=function(){return _0x4830e8;};return _0x4d79();}import{getTranslation as _0x57d2f1}from'../../utils/common-translations.js';import{IconHistory as _0x7ceaca}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x5756e5{constructor(_0x297fb3){const _0x39b97e=_0x50c6;super(_0x297fb3);const _0x5c831d=new _0x5abee9();_0x5c831d[_0x39b97e(0x173)]=_0x7ceaca,this[_0x39b97e(0x17e)]({'tag':_0x39b97e(0x182),'attributes':{'class':['ck',_0x39b97e(0x177),_0x39b97e(0x181)]},'children':[_0x5c831d,{'tag':_0x39b97e(0x179),'attributes':{'class':['ck',_0x39b97e(0x170)]},'children':[_0x57d2f1(_0x297fb3,_0x39b97e(0x176))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x501735=_0x5dd5;function _0x5dd5(_0x28ae95,_0xbd61e7){const _0x21f116=_0x21f1();return _0x5dd5=function(_0x5dd59c,_0x3ad7f3){_0x5dd59c=_0x5dd59c-0x13e;let _0x42bd11=_0x21f116[_0x5dd59c];return _0x42bd11;},_0x5dd5(_0x28ae95,_0xbd61e7);}function _0x21f1(){const _0xd66a63=['select','14SWJZzY','removeRevision','span','add','delegate','18410yNqymq','ck-revision-history-sidebar__time-period__revisions','ck-revision-history-sidebar__time-period','_revisionActions','72nroGjq','6743FIQbkA','createCollection','uiLanguage','setTemplate','revisionViews','_requireRevisionName','143445IzfCoo','startDate','locale','505035cIPYcB','36HyNbnc','81093qbDRzd','addRevision','remove','ck-revision-history-sidebar__time-period__label','div','localizedPeriodName','435130nPphPY','setName','79000cTHxeL','find','631112HoHVDP'];_0x21f1=function(){return _0xd66a63;};return _0x21f1();}(function(_0x52730b,_0x2c05fa){const _0x38802c=_0x5dd5,_0x32a674=_0x52730b();while(!![]){try{const _0x1b0d3c=parseInt(_0x38802c(0x142))/0x1+-parseInt(_0x38802c(0x140))/0x2+-parseInt(_0x38802c(0x15b))/0x3*(parseInt(_0x38802c(0x15a))/0x4)+-parseInt(_0x38802c(0x156))/0x5*(parseInt(_0x38802c(0x14f))/0x6)+parseInt(_0x38802c(0x146))/0x7*(-parseInt(_0x38802c(0x144))/0x8)+-parseInt(_0x38802c(0x159))/0x9+-parseInt(_0x38802c(0x14b))/0xa*(-parseInt(_0x38802c(0x150))/0xb);if(_0x1b0d3c===_0x2c05fa)break;else _0x32a674['push'](_0x32a674['shift']());}catch(_0x1f8a75){_0x32a674['push'](_0x32a674['shift']());}}}(_0x21f1,0x2e070));import{View as _0x2a6154}from'ckeditor5/src/ui.js';import{RevisionView as _0x31ec9c}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x10c903}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x2a6154{[_0x501735(0x157)];[_0x501735(0x154)];[_0x501735(0x14e)];[_0x501735(0x155)];constructor(_0x17c387,_0x5558a2,_0x3ad00f,_0xcc79d7){const _0x25ba70=_0x501735;super(_0x17c387);const _0x351fa3=_0x10c903(_0x5558a2,this[_0x25ba70(0x158)][_0x25ba70(0x152)])[_0x25ba70(0x13f)];this[_0x25ba70(0x157)]=_0x5558a2,this[_0x25ba70(0x154)]=this[_0x25ba70(0x151)](),this[_0x25ba70(0x14e)]=_0x3ad00f,this[_0x25ba70(0x155)]=_0xcc79d7,this[_0x25ba70(0x154)][_0x25ba70(0x14a)](_0x25ba70(0x145))['to'](this),this[_0x25ba70(0x154)][_0x25ba70(0x14a)](_0x25ba70(0x141))['to'](this),this[_0x25ba70(0x153)]({'tag':_0x25ba70(0x13e),'attributes':{'class':['ck',_0x25ba70(0x14d)]},'children':[{'tag':_0x25ba70(0x148),'attributes':{'class':['ck',_0x25ba70(0x15e)]},'children':[{'text':_0x351fa3}]},{'tag':_0x25ba70(0x13e),'attributes':{'class':['ck',_0x25ba70(0x14c)]},'children':this[_0x25ba70(0x154)]}]});}[_0x501735(0x15c)](_0x42527e){const _0x5911e6=_0x501735,_0x252bd0=new _0x31ec9c(this[_0x5911e6(0x158)],_0x42527e,this[_0x5911e6(0x14e)],this[_0x5911e6(0x155)]);this[_0x5911e6(0x154)][_0x5911e6(0x149)](_0x252bd0);}[_0x501735(0x147)](_0xa1cf28){const _0x4717cd=_0x501735,_0x2f42d3=this[_0x4717cd(0x154)][_0x4717cd(0x143)](_0x5d32f0=>_0x5d32f0['id']===_0xa1cf28['id']);this[_0x4717cd(0x154)][_0x4717cd(0x15d)](_0x2f42d3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ebc99=_0x26ee;function _0x2ac3(){const _0xe85110=['22uwfAle','_requireRevisionName','get','76470oBNTZE','40cGTrBb','_removeRevision','1864392ydlQyC','div','find','selectRevision','ck-rounded-corners','removeRevision','startDate','revisionSelected','createdAt','locale','remove','delegate','setTemplate','8482698jInFYB','818481qYgVHL','select','add','unhighlight','revisionSetName','1499GzvlXr','194509HGrPhj','ck-revision-history-sidebar__timeline','575900EDgyEl','highlight','highlightRevisions','ck-reset','_revisions','timePeriodViews','setName','_addRevision','addRevision','_revisionActions','getTime','1276ouEUBP','8jXJlus','uiLanguage','revisionViews','ck-disabled','map','some','bindTemplate','render','deselect','ck-revision-history-sidebar','set','createCollection','_getTimePeriodViewByStartDate','isEnabled','flat','fire'];_0x2ac3=function(){return _0xe85110;};return _0x2ac3();}(function(_0x3d6e88,_0xd9ee2b){const _0x2397b1=_0x26ee,_0x49f9bd=_0x3d6e88();while(!![]){try{const _0x5cfa05=parseInt(_0x2397b1(0xc0))/0x1*(parseInt(_0x2397b1(0xdf))/0x2)+-parseInt(_0x2397b1(0xbb))/0x3+parseInt(_0x2397b1(0xcf))/0x4*(parseInt(_0x2397b1(0xc3))/0x5)+parseInt(_0x2397b1(0xad))/0x6+-parseInt(_0x2397b1(0xc1))/0x7*(-parseInt(_0x2397b1(0xab))/0x8)+parseInt(_0x2397b1(0xba))/0x9+-parseInt(_0x2397b1(0xaa))/0xa*(parseInt(_0x2397b1(0xce))/0xb);if(_0x5cfa05===_0xd9ee2b)break;else _0x49f9bd['push'](_0x49f9bd['shift']());}catch(_0x32176c){_0x49f9bd['push'](_0x49f9bd['shift']());}}}(_0x2ac3,0x74fb7));import{View as _0x502489}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x1b52df}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x4f96a6}from'./revisionssidebarheaderview.js';function _0x26ee(_0x25ff1a,_0x5ad54b){const _0x2ac343=_0x2ac3();return _0x26ee=function(_0x26eed7,_0x7caa88){_0x26eed7=_0x26eed7-0xa8;let _0x12ab09=_0x2ac343[_0x26eed7];return _0x12ab09;},_0x26ee(_0x25ff1a,_0x5ad54b);}import{getDateTimePeriodInfo as _0x330554}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x502489{[_0x3ebc99(0xc8)];[_0x3ebc99(0xc7)];[_0x3ebc99(0xcc)];[_0x3ebc99(0xa8)];constructor(_0x10eac1,_0x13251a,_0x5dfd3a,_0x192d44){const _0x33d77a=_0x3ebc99;super(_0x10eac1);const _0x3a66de=this[_0x33d77a(0xd5)];this[_0x33d77a(0xc8)]=this[_0x33d77a(0xda)](),this[_0x33d77a(0xc8)][_0x33d77a(0xb8)](_0x33d77a(0xbc))['to'](this),this[_0x33d77a(0xc8)][_0x33d77a(0xb8)](_0x33d77a(0xc9))['to'](this),this[_0x33d77a(0xc7)]=_0x13251a,this[_0x33d77a(0xcc)]=_0x5dfd3a,this[_0x33d77a(0xa8)]=_0x192d44,this['on'](_0x33d77a(0xbc),(_0x518e8a,_0x514a1f)=>{const _0x57103e=_0x33d77a;this[_0x57103e(0xde)](_0x57103e(0xb4),_0x514a1f);}),this['on'](_0x33d77a(0xc9),(_0x487043,_0xfb9682)=>{const _0x29a7ad=_0x33d77a;this[_0x29a7ad(0xde)](_0x29a7ad(0xbf),_0xfb9682);}),this[_0x33d77a(0xd9)](_0x33d77a(0xdc),!0x1),this[_0x33d77a(0xb9)]({'tag':_0x33d77a(0xae),'attributes':{'class':['ck',_0x33d77a(0xc6),_0x33d77a(0xb1),_0x33d77a(0xd8)]},'children':[new _0x4f96a6(_0x10eac1),{'tag':_0x33d77a(0xae),'attributes':{'class':['ck',_0x33d77a(0xc2),_0x3a66de['if'](_0x33d77a(0xdc),_0x33d77a(0xd2),_0x5cb00b=>!_0x5cb00b)]},'children':this[_0x33d77a(0xc8)]}]});}[_0x3ebc99(0xd6)](){const _0xf63f6c=_0x3ebc99;super[_0xf63f6c(0xd6)]();for(const _0x182bed of this[_0xf63f6c(0xc7)])this[_0xf63f6c(0xca)](_0x182bed);this[_0xf63f6c(0xc7)]['on'](_0xf63f6c(0xbd),(_0x582f19,_0x527bea)=>{const _0x5613d=_0xf63f6c;this[_0x5613d(0xca)](_0x527bea);}),this[_0xf63f6c(0xc7)]['on'](_0xf63f6c(0xb7),(_0x50e593,_0x60fde7)=>{const _0x4fbf47=_0xf63f6c;this[_0x4fbf47(0xac)](_0x60fde7);});}get[_0x3ebc99(0xd1)](){const _0x4e13e7=_0x3ebc99;return this[_0x4e13e7(0xc8)][_0x4e13e7(0xd3)](_0xe00048=>_0xe00048[_0x4e13e7(0xd1)][_0x4e13e7(0xd3)](_0x4b0606=>_0x4b0606))[_0x4e13e7(0xdd)]();}[_0x3ebc99(0xb0)](_0x563284){const _0x1cd0c8=_0x3ebc99;for(const _0x449bfb of this[_0x1cd0c8(0xd1)])_0x563284&&_0x563284['id']===_0x449bfb['id']?_0x449bfb[_0x1cd0c8(0xbc)]():_0x449bfb[_0x1cd0c8(0xd7)]();}[_0x3ebc99(0xc5)](_0x2bf0e5){const _0x4a0446=_0x3ebc99;for(const _0x4805f0 of this[_0x4a0446(0xd1)])_0x2bf0e5[_0x4a0446(0xd4)](({id:_0x56138e})=>_0x56138e===_0x4805f0['id'])?_0x4805f0[_0x4a0446(0xc4)]():_0x4805f0[_0x4a0446(0xbe)]();}[_0x3ebc99(0xca)](_0xcfcae2){const _0x62fd36=_0x3ebc99,_0x18e495=_0x330554(_0xcfcae2[_0x62fd36(0xb5)],this[_0x62fd36(0xb6)][_0x62fd36(0xd0)])[_0x62fd36(0xb3)];let _0x2baec3=this[_0x62fd36(0xc8)][_0x62fd36(0xa9)](0x0);_0x2baec3&&_0x2baec3[_0x62fd36(0xb3)][_0x62fd36(0xcd)]()===_0x18e495[_0x62fd36(0xcd)]()||(_0x2baec3=new _0x1b52df(this[_0x62fd36(0xb6)],_0x18e495,this[_0x62fd36(0xcc)],this[_0x62fd36(0xa8)]),this[_0x62fd36(0xc8)][_0x62fd36(0xbd)](_0x2baec3)),_0x2baec3[_0x62fd36(0xcb)](_0xcfcae2);}[_0x3ebc99(0xac)](_0x55886c){const _0x580390=_0x3ebc99,_0x21c109=_0x330554(_0x55886c[_0x580390(0xb5)],this[_0x580390(0xb6)][_0x580390(0xd0)])[_0x580390(0xb3)];this[_0x580390(0xdb)](_0x21c109)[_0x580390(0xb2)](_0x55886c);}[_0x3ebc99(0xdb)](_0x5016a5){const _0x53233f=_0x3ebc99;return this[_0x53233f(0xc8)][_0x53233f(0xaf)](_0x59d07a=>_0x59d07a[_0x53233f(0xb3)][_0x53233f(0xcd)]()===_0x5016a5[_0x53233f(0xcd)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2fc8(_0x264c32,_0x7033e9){const _0x17df98=_0x17df();return _0x2fc8=function(_0x2fc811,_0x5569e7){_0x2fc811=_0x2fc811-0x16d;let _0x2084da=_0x17df98[_0x2fc811];return _0x2084da;},_0x2fc8(_0x264c32,_0x7033e9);}(function(_0x5e79d3,_0x4a3db5){const _0xe0e404=_0x2fc8,_0x14bb53=_0x5e79d3();while(!![]){try{const _0x19c16b=-parseInt(_0xe0e404(0x16e))/0x1*(parseInt(_0xe0e404(0x180))/0x2)+parseInt(_0xe0e404(0x176))/0x3*(-parseInt(_0xe0e404(0x181))/0x4)+parseInt(_0xe0e404(0x179))/0x5+parseInt(_0xe0e404(0x16f))/0x6*(parseInt(_0xe0e404(0x17c))/0x7)+-parseInt(_0xe0e404(0x172))/0x8*(-parseInt(_0xe0e404(0x16d))/0x9)+-parseInt(_0xe0e404(0x17f))/0xa+parseInt(_0xe0e404(0x171))/0xb;if(_0x19c16b===_0x4a3db5)break;else _0x14bb53['push'](_0x14bb53['shift']());}catch(_0x55ef34){_0x14bb53['push'](_0x14bb53['shift']());}}}(_0x17df,0xdcbcf));function _0x17df(){const _0x2ff68a=['toRelativeCalendar','hasSame','startOf','660921IJGtrv','week','minus','939875YgxafV','day','fromJSDate','47103fUAxEp','weekdayLong','year','9556620SGfRrE','628woLbAe','28mcYVWx','month','setLocale','toJSDate','local','3937158ghCdfo','5177bmZBFk','252DxnJLW','monthLong','35690083QZtNFc','24rQrPAH'];_0x17df=function(){return _0x2ff68a;};return _0x17df();}import{DateTime as _0xc9a69b}from'luxon';export function getDateTimePeriodInfo(_0x56f47a,_0x3f08b6){const _0xa733c1=_0x2fc8,_0x2e20d5=_0xc9a69b[_0xa733c1(0x17b)](_0x56f47a)[_0xa733c1(0x183)](_0x3f08b6),_0x37d57d=_0xc9a69b[_0xa733c1(0x185)](),_0x3f0b6a=_0x37d57d[_0xa733c1(0x178)]({'days':0x1})[_0xa733c1(0x175)](_0xa733c1(0x17a));let _0x5dfb58,_0x4cb04b;return _0x2e20d5[_0xa733c1(0x174)](_0x37d57d,_0xa733c1(0x17a))?(_0x5dfb58=_0x2e20d5[_0xa733c1(0x175)](_0xa733c1(0x17a))[_0xa733c1(0x184)](),_0x4cb04b=_0x2e20d5[_0xa733c1(0x173)]()):_0x2e20d5[_0xa733c1(0x174)](_0x3f0b6a,_0xa733c1(0x17a))?(_0x5dfb58=_0x3f0b6a[_0xa733c1(0x184)](),_0x4cb04b=_0x2e20d5[_0xa733c1(0x173)]()):_0x2e20d5[_0xa733c1(0x174)](_0x37d57d,_0xa733c1(0x177))?(_0x5dfb58=_0x2e20d5[_0xa733c1(0x175)](_0xa733c1(0x177))[_0xa733c1(0x184)](),_0x4cb04b=_0x2e20d5[_0xa733c1(0x17d)]||''):_0x2e20d5[_0xa733c1(0x174)](_0x37d57d,_0xa733c1(0x17e))?(_0x5dfb58=_0x2e20d5[_0xa733c1(0x175)](_0xa733c1(0x182))[_0xa733c1(0x184)](),_0x4cb04b=_0x2e20d5[_0xa733c1(0x170)]||''):(_0x5dfb58=_0x2e20d5[_0xa733c1(0x175)](_0xa733c1(0x17e))[_0xa733c1(0x184)](),_0x4cb04b=String(_0x2e20d5[_0xa733c1(0x17e)])),{'startDate':_0x5dfb58,'localizedPeriodName':_0x4cb04b};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x126a(_0x47c238,_0x21f96b){const _0x1f1316=_0x1f13();return _0x126a=function(_0x126a37,_0x5649c4){_0x126a37=_0x126a37-0x10b;let _0x44e3d=_0x1f1316[_0x126a37];return _0x44e3d;},_0x126a(_0x47c238,_0x21f96b);}const _0xcde11c=_0x126a;(function(_0x370ccf,_0x193131){const _0x5e20e1=_0x126a,_0x2fff78=_0x370ccf();while(!![]){try{const _0x4b374=parseInt(_0x5e20e1(0x124))/0x1+-parseInt(_0x5e20e1(0x115))/0x2+-parseInt(_0x5e20e1(0x11a))/0x3+parseInt(_0x5e20e1(0x10f))/0x4*(parseInt(_0x5e20e1(0x11b))/0x5)+-parseInt(_0x5e20e1(0x128))/0x6*(parseInt(_0x5e20e1(0x121))/0x7)+-parseInt(_0x5e20e1(0x117))/0x8+parseInt(_0x5e20e1(0x112))/0x9;if(_0x4b374===_0x193131)break;else _0x2fff78['push'](_0x2fff78['shift']());}catch(_0x13c923){_0x2fff78['push'](_0x2fff78['shift']());}}}(_0x1f13,0xdca34));import{View as _0x3ba78b}from'ckeditor5/src/ui.js';import{getTranslation as _0x362faa}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x3ba78b{[_0xcde11c(0x11d)];[_0xcde11c(0x111)];constructor(_0x583098,_0x35e10a){const _0x8fa29a=_0xcde11c;super(_0x583098),this[_0x8fa29a(0x111)]=_0x35e10a,this[_0x8fa29a(0x11d)]=_0x35e10a['id'];const _0x4885fe=this[_0x8fa29a(0x123)],_0x323ebd=_0x362faa(_0x583098,_0x35e10a[_0x8fa29a(0x126)][_0x8fa29a(0x127)]?_0x8fa29a(0x10e):_0x8fa29a(0x114)==_0x35e10a[_0x8fa29a(0x11e)]?_0x8fa29a(0x11f):_0x8fa29a(0x11c));this[_0x8fa29a(0x113)](_0x8fa29a(0x11e),_0x35e10a[_0x8fa29a(0x11e)]),this[_0x8fa29a(0x120)]({'tag':_0x8fa29a(0x122),'attributes':{'class':[_0x8fa29a(0x110),_0x8fa29a(0x10d),_0x4885fe['to'](_0x8fa29a(0x11e),_0x37582b=>_0x8fa29a(0x118)+_0x37582b)],'tabindex':-0x1},'children':[{'tag':_0x8fa29a(0x119),'children':[{'tag':_0x8fa29a(0x119),'attributes':{'class':[_0x8fa29a(0x10b)]},'children':[{'text':_0x323ebd}]},{'text':'\x20'+_0x35e10a[_0x8fa29a(0x125)][_0x8fa29a(0x116)]}]}]});}[_0xcde11c(0x10c)](){const _0x1af8ba=_0xcde11c;this[_0x1af8ba(0x129)][_0x1af8ba(0x10c)]();}}function _0x1f13(){const _0x3e2418=['element','ck-revision-change__label','focus','ck-revision-change','Suggested\x20by','76feSpEt','ck-annotation','_model','19603062uYwyTU','set','add','44988akXfaA','name','4647856ifpJzn','ck-revision-change__','span','3001014KphekJ','116035XfMYgC','Removed\x20by','changeId','type','Added\x20by','setTemplate','4417672XOaykA','div','bindTemplate','1150687JbCcQr','author','data','isSuggestion','12wVqFNY'];_0x1f13=function(){return _0x3e2418;};return _0x1f13();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x50df02,_0x312608){const _0x235504=_0x1bf8,_0x48235d=_0x50df02();while(!![]){try{const _0x3ce749=parseInt(_0x235504(0x9e))/0x1*(-parseInt(_0x235504(0x9d))/0x2)+parseInt(_0x235504(0xb5))/0x3*(-parseInt(_0x235504(0xac))/0x4)+-parseInt(_0x235504(0x91))/0x5*(-parseInt(_0x235504(0xb9))/0x6)+parseInt(_0x235504(0x9c))/0x7+parseInt(_0x235504(0xbb))/0x8*(-parseInt(_0x235504(0xb8))/0x9)+-parseInt(_0x235504(0xaf))/0xa*(parseInt(_0x235504(0xa6))/0xb)+parseInt(_0x235504(0x95))/0xc;if(_0x3ce749===_0x312608)break;else _0x48235d['push'](_0x48235d['shift']());}catch(_0x997579){_0x48235d['push'](_0x48235d['shift']());}}}(_0x2da9,0xb3e05));function _0x1bf8(_0x32fa59,_0x236035){const _0x2da984=_0x2da9();return _0x1bf8=function(_0x1bf86d,_0x10d6ce){_0x1bf86d=_0x1bf86d-0x90;let _0x382ec6=_0x2da984[_0x1bf86d];return _0x382ec6;},_0x1bf8(_0x32fa59,_0x236035);}import{View as _0x5f6cd1,ButtonView as _0x5ebf50,ToolbarSeparatorView as _0x132c9d}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x54ba8e,IconChevronDown as _0x435b86}from'ckeditor5/src/icons.js';import{getTranslation as _0x1cd895}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';function _0x2da9(){const _0x297a19=['62584hdIFXZ','NUMBER_OF_CHANGES','ck-revision-history-ui__changes-navigation__wrapper','7490RWUKfU','forward','span','isEnabled','bindTemplate','ck-revision-history-ui','141goBSYE','isReady','backward','9Wduisv','5646MALHXo','Total','10451344OXTLgd','currentChangeNumber','numberOfChanges','5895oMNZNm','bind','ck-hidden','isForwardNavigationEnabled','25179696aWaoyU','ck-revision-history-ui__changes-navigation__label','ck-revision-history-ui__changes-navigation__navigation','ck-revision-history-ui__changes-navigation','_statusText','Show\x20next\x20change','fire','9650599pkJnkj','150502iIUBCv','10FxBUfR','Show\x20previous\x20change','X_OF_Y_CHANGES','isNavigationMode','set','setTemplate','No\x20changes','EDIT_X_OF_Y_REVISIONS','15499WsxOaI','Loading...','execute','div','isBackwardNavigationEnabled','_isStatusLabelVisible'];_0x2da9=function(){return _0x297a19;};return _0x2da9();}export class ChangesNavigationView extends _0x5f6cd1{constructor(_0x51d471){const _0x2ee14a=_0x1bf8;super(_0x51d471);const _0x53f73f=this[_0x2ee14a(0xb3)],_0x49c90e=new _0x5ebf50(_0x51d471),_0x222d4b=new _0x5ebf50(_0x51d471);this[_0x2ee14a(0xa2)](_0x2ee14a(0xa1),!0x1),this[_0x2ee14a(0xa2)](_0x2ee14a(0xb6),!0x1),this[_0x2ee14a(0xa2)](_0x2ee14a(0xbc),0x0),this[_0x2ee14a(0xa2)](_0x2ee14a(0x90),0x0),this[_0x2ee14a(0xa2)](_0x2ee14a(0x94),!0x1),this[_0x2ee14a(0xa2)](_0x2ee14a(0xaa),!0x1),this[_0x2ee14a(0x92)](_0x2ee14a(0xab))['to'](this,_0x2ee14a(0xb6),this,_0x2ee14a(0x90),(_0x4b0cfd,_0x48277c)=>_0x4b0cfd&&_0x48277c>0x0),this[_0x2ee14a(0x92)](_0x2ee14a(0x99))['to'](this,_0x2ee14a(0xb6),this,_0x2ee14a(0xbc),this,_0x2ee14a(0x90),this,_0x2ee14a(0xa1),(_0x75bb7a,_0x107b59,_0x4cd1df,_0x367cf6)=>{const _0x1b57eb=_0x2ee14a;if(!_0x75bb7a)return _0x1cd895(_0x51d471,_0x1b57eb(0xa7));if(!_0x4cd1df)return _0x1cd895(_0x51d471,_0x1b57eb(0xa4));const _0xb2da8d=_0x1cd895(_0x51d471,_0x1b57eb(0xad),_0x4cd1df);return _0x367cf6?_0x1cd895(_0x51d471,_0x1b57eb(0xa0),[_0x107b59+0x1,_0x4cd1df]):_0xb2da8d;}),_0x49c90e[_0x2ee14a(0xa2)]({'label':_0x1cd895(_0x51d471,_0x2ee14a(0x9f)),'tooltip':!0x0,'icon':_0x54ba8e}),_0x222d4b[_0x2ee14a(0xa2)]({'label':_0x1cd895(_0x51d471,_0x2ee14a(0x9a)),'tooltip':!0x0,'icon':_0x435b86}),_0x49c90e[_0x2ee14a(0x92)](_0x2ee14a(0xb2))['to'](this,_0x2ee14a(0xaa)),_0x222d4b[_0x2ee14a(0x92)](_0x2ee14a(0xb2))['to'](this,_0x2ee14a(0x94)),_0x49c90e['on'](_0x2ee14a(0xa8),()=>this[_0x2ee14a(0x9b)](_0x2ee14a(0xa8),_0x2ee14a(0xb7))),_0x222d4b['on'](_0x2ee14a(0xa8),()=>this[_0x2ee14a(0x9b)](_0x2ee14a(0xa8),_0x2ee14a(0xb0))),this[_0x2ee14a(0xa3)]({'tag':_0x2ee14a(0xa9),'attributes':{'class':['ck',_0x2ee14a(0xb4),_0x2ee14a(0x98)]},'children':[{'tag':_0x2ee14a(0xb1),'attributes':{'class':[_0x2ee14a(0xae)]},'children':[{'tag':_0x2ee14a(0xb1),'attributes':{'class':[_0x2ee14a(0x96),_0x53f73f['if'](_0x2ee14a(0xab),_0x2ee14a(0x93),_0x478cc6=>!_0x478cc6)]},'children':[{'text':_0x53f73f['to'](_0x2ee14a(0xa1),_0x1efe65=>_0x1efe65?_0x1cd895(_0x51d471,_0x2ee14a(0xa5))+':\x20':_0x1cd895(_0x51d471,_0x2ee14a(0xba))+':\x20')}]},{'text':_0x53f73f['to'](_0x2ee14a(0x99))}]},new _0x132c9d(),{'tag':_0x2ee14a(0xa9),'attributes':{'class':[_0x2ee14a(0x97)]},'children':[_0x49c90e,_0x222d4b]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f88e0=_0x5acc;function _0x5acc(_0x3dd131,_0x3508db){const _0x19c879=_0x19c8();return _0x5acc=function(_0x5acc84,_0x491785){_0x5acc84=_0x5acc84-0x1c4;let _0x11bbad=_0x19c879[_0x5acc84];return _0x11bbad;},_0x5acc(_0x3dd131,_0x3508db);}function _0x19c8(){const _0x25497f=['addClass','3ZclpsR','hide','editing','72729sgISIy','1255AgLRJh','506324Dioffz','392184GbAlYu','document','ck-editor__editable__loading-overlay','change','editor','isOfficialPlugin','22mRIPsc','6rBAxAu','pluginName','roots','151920LBsFfx','91FElanN','show','2290044GnrInK','68168OHQWFu','108zdpUnS','RevisionViewerLoadingOverlay','isPremiumPlugin','view','removeClass'];_0x19c8=function(){return _0x25497f;};return _0x19c8();}(function(_0x2d92f1,_0x27ee5f){const _0x4d9779=_0x5acc,_0x579744=_0x2d92f1();while(!![]){try{const _0x3ca34c=-parseInt(_0x4d9779(0x1ca))/0x1*(parseInt(_0x4d9779(0x1d4))/0x2)+parseInt(_0x4d9779(0x1c7))/0x3*(-parseInt(_0x4d9779(0x1cc))/0x4)+parseInt(_0x4d9779(0x1cb))/0x5+parseInt(_0x4d9779(0x1cd))/0x6+parseInt(_0x4d9779(0x1d8))/0x7*(-parseInt(_0x4d9779(0x1db))/0x8)+parseInt(_0x4d9779(0x1dc))/0x9*(parseInt(_0x4d9779(0x1d7))/0xa)+parseInt(_0x4d9779(0x1d3))/0xb*(parseInt(_0x4d9779(0x1da))/0xc);if(_0x3ca34c===_0x27ee5f)break;else _0x579744['push'](_0x579744['shift']());}catch(_0x348356){_0x579744['push'](_0x579744['shift']());}}}(_0x19c8,0x2a7e4));import{Plugin as _0x46ca68}from'ckeditor5/src/core.js';const ge=_0x2f88e0(0x1cf);import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0x46ca68{static get[_0x2f88e0(0x1d5)](){const _0x49e019=_0x2f88e0;return _0x49e019(0x1dd);}static get[_0x2f88e0(0x1d2)](){return!0x0;}static get[_0x2f88e0(0x1de)](){return!0x0;}[_0x2f88e0(0x1d9)](){const _0x3f0c69=_0x2f88e0,_0x224ad5=this[_0x3f0c69(0x1d1)][_0x3f0c69(0x1c9)][_0x3f0c69(0x1c4)];_0x224ad5[_0x3f0c69(0x1d0)](_0x15cc72=>{const _0x23ada6=_0x3f0c69;for(const _0x570526 of _0x224ad5[_0x23ada6(0x1ce)][_0x23ada6(0x1d6)])_0x15cc72[_0x23ada6(0x1c6)](ge,_0x570526);});}[_0x2f88e0(0x1c8)](){const _0x5ee4d2=_0x2f88e0,_0x54ba35=this[_0x5ee4d2(0x1d1)][_0x5ee4d2(0x1c9)][_0x5ee4d2(0x1c4)];_0x54ba35[_0x5ee4d2(0x1d0)](_0x649f10=>{const _0x1c1ee9=_0x5ee4d2;for(const _0x506efe of _0x54ba35[_0x1c1ee9(0x1ce)][_0x1c1ee9(0x1d6)])_0x649f10[_0x1c1ee9(0x1c5)](ge,_0x506efe);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x115f8a=_0x7444;(function(_0x309040,_0x42c572){const _0x16b02f=_0x7444,_0x3f5bab=_0x309040();while(!![]){try{const _0x24ca57=parseInt(_0x16b02f(0xc5))/0x1*(parseInt(_0x16b02f(0xc8))/0x2)+parseInt(_0x16b02f(0xe4))/0x3*(-parseInt(_0x16b02f(0xd9))/0x4)+-parseInt(_0x16b02f(0xe7))/0x5+parseInt(_0x16b02f(0xd0))/0x6*(-parseInt(_0x16b02f(0xda))/0x7)+-parseInt(_0x16b02f(0xc2))/0x8*(-parseInt(_0x16b02f(0xd5))/0x9)+parseInt(_0x16b02f(0xcf))/0xa*(-parseInt(_0x16b02f(0xd2))/0xb)+parseInt(_0x16b02f(0xbc))/0xc;if(_0x24ca57===_0x42c572)break;else _0x3f5bab['push'](_0x3f5bab['shift']());}catch(_0x68245f){_0x3f5bab['push'](_0x3f5bab['shift']());}}}(_0x1861,0x4bc5c));import{Plugin as _0x48eaa}from'ckeditor5/src/core.js';import{ButtonView as _0x35b1e8}from'ckeditor5/src/ui.js';function _0x1861(){const _0x361554=['showNextChange','currentChangeNumber','984880ApXMlJ','listenTo','showPreviousChange','execute','show','isNavigationMode','closeRevisionViewerCallback','15286272zSLyhz','numberOfChanges','plugins','isBackwardNavigationEnabled','change:isReady','changesNavigation','823216tZNuiF','add','restoreRevision','133pvNHGs','isReady','hide','436PsKkrz','exitToEditing','pluginName','revisionHistory','isPremiumPlugin','commands','bind','220XFTKYW','30WAIeJv','forward','143198nEqXXA','set','isEnabled','9hCPwDP','isOfficialPlugin','Restore\x20this\x20revision','init','8hBNvHy','593222SzCIZQ','componentFactory','ck-revision-history-ui__back-to-editing','Back\x20to\x20editing','requires','editor','get','config','isForwardNavigationEnabled','RevisionViewerUI','282429bXHBbA'];_0x1861=function(){return _0x361554;};return _0x1861();}function _0x7444(_0x3cfc29,_0x195147){const _0x1861ec=_0x1861();return _0x7444=function(_0x744421,_0x2bf0c1){_0x744421=_0x744421-0xbc;let _0xd0a0b=_0x1861ec[_0x744421];return _0xd0a0b;},_0x7444(_0x3cfc29,_0x195147);}import{IconUndo as _0x4ffc57}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x128a85}from'./changesnavigationview.js';import{RevisionViewer as _0x3a5543}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x4285ce}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x1c0e3b}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x48eaa{static get[_0x115f8a(0xca)](){const _0x6a7df2=_0x115f8a;return _0x6a7df2(0xe3);}static get[_0x115f8a(0xd6)](){return!0x0;}static get[_0x115f8a(0xcc)](){return!0x0;}static get[_0x115f8a(0xde)](){return[_0x3a5543,_0x4285ce];}[_0x115f8a(0xd8)](){const _0x18a28d=_0x115f8a,_0x1d5d4d=this[_0x18a28d(0xdf)],_0x31aed6=_0x1d5d4d[_0x18a28d(0xbe)][_0x18a28d(0xe0)](_0x3a5543),_0x1b02b1=_0x1d5d4d[_0x18a28d(0xbe)][_0x18a28d(0xe0)](_0x4285ce);_0x1d5d4d['ui'][_0x18a28d(0xdb)][_0x18a28d(0xc3)](_0x18a28d(0xc9),_0x241503=>{const _0x511676=_0x18a28d,_0x4eaa92=new _0x35b1e8(_0x241503);return _0x4eaa92[_0x511676(0xd3)]({'label':_0x1c0e3b(_0x241503,_0x511676(0xdd)),'icon':_0x4ffc57,'withText':!0x0,'tooltip':!0x0,'class':_0x511676(0xdc)}),this[_0x511676(0xe8)](_0x4eaa92,_0x511676(0xea),()=>{const _0x391c55=_0x511676;_0x1d5d4d[_0x391c55(0xe1)][_0x391c55(0xe0)](_0x391c55(0xcb))[_0x391c55(0xed)]();}),_0x4eaa92;}),_0x1d5d4d['ui'][_0x18a28d(0xdb)][_0x18a28d(0xc3)](_0x18a28d(0xc4),_0x5d466d=>{const _0x56f67f=_0x18a28d,_0x4d6072=new _0x35b1e8(_0x5d466d);return _0x4d6072[_0x56f67f(0xd3)]({'label':_0x1c0e3b(_0x5d466d,_0x56f67f(0xd7)),'withText':!0x0,'tooltip':!0x0}),_0x4d6072[_0x56f67f(0xce)](_0x56f67f(0xd4))['to'](_0x1d5d4d[_0x56f67f(0xcd)][_0x56f67f(0xe0)](_0x56f67f(0xc4))),this[_0x56f67f(0xe8)](_0x4d6072,_0x56f67f(0xea),()=>_0x1d5d4d[_0x56f67f(0xea)](_0x56f67f(0xc4))),_0x4d6072;}),_0x1d5d4d['ui'][_0x18a28d(0xdb)][_0x18a28d(0xc3)](_0x18a28d(0xc1),_0x2da0e9=>{const _0x2fb1bb=_0x18a28d,_0x10041c=new _0x128a85(_0x2da0e9),_0x354256=_0x1d5d4d[_0x2fb1bb(0xcd)][_0x2fb1bb(0xe0)](_0x2fb1bb(0xe9)),_0x5f0b62=_0x1d5d4d[_0x2fb1bb(0xcd)][_0x2fb1bb(0xe0)](_0x2fb1bb(0xe5));return _0x10041c[_0x2fb1bb(0xce)](_0x2fb1bb(0xbf))['to'](_0x354256,_0x2fb1bb(0xd4)),_0x10041c[_0x2fb1bb(0xce)](_0x2fb1bb(0xe2))['to'](_0x5f0b62,_0x2fb1bb(0xd4)),_0x10041c[_0x2fb1bb(0xce)](_0x2fb1bb(0xc6),_0x2fb1bb(0xe6),_0x2fb1bb(0xbd),_0x2fb1bb(0xec))['to'](_0x31aed6),this[_0x2fb1bb(0xe8)](_0x10041c,_0x2fb1bb(0xea),(_0x275d09,_0x59f1b3)=>{const _0x5d6952=_0x2fb1bb;_0x1d5d4d[_0x5d6952(0xea)](_0x5d6952(0xd1)===_0x59f1b3?_0x5d6952(0xe5):_0x5d6952(0xe9));}),_0x10041c;}),_0x1b02b1[_0x18a28d(0xeb)](),_0x31aed6['on'](_0x18a28d(0xc0),(_0x541f98,_0x53fd86,_0x481ace)=>{const _0x57be0e=_0x18a28d;_0x481ace?_0x1b02b1[_0x57be0e(0xc7)]():_0x1b02b1[_0x57be0e(0xeb)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0xded360,_0xbd773,_0x1bce31){const t=_0xded360['t'];switch(_0xbd773){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'},_0x1bce31);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x1bce31);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'';}}
|