@ckeditor/ckeditor5-revision-history 46.0.1-alpha.1 → 46.0.1-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/theme/revisionssidebar/revisionssidebarheader.css +1 -1
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1fe97e=_0x4f1b;(function(_0x5f07a9,_0x104a2d){const _0x3fa5f9=_0x4f1b,_0x5847d8=_0x5f07a9();while(!![]){try{const _0x52abee=-parseInt(_0x3fa5f9(0xa3))/0x1+-parseInt(_0x3fa5f9(0x8d))/0x2+-parseInt(_0x3fa5f9(0x86))/0x3*(parseInt(_0x3fa5f9(0x88))/0x4)+-parseInt(_0x3fa5f9(0x87))/0x5*(-parseInt(_0x3fa5f9(0x9a))/0x6)+parseInt(_0x3fa5f9(0x9b))/0x7*(-parseInt(_0x3fa5f9(0x90))/0x8)+-parseInt(_0x3fa5f9(0x82))/0x9+parseInt(_0x3fa5f9(0x9d))/0xa*(parseInt(_0x3fa5f9(0x8a))/0xb);if(_0x52abee===_0x104a2d)break;else _0x5847d8['push'](_0x5847d8['shift']());}catch(_0x4cad22){_0x5847d8['push'](_0x5847d8['shift']());}}}(_0x4e89,0x5a92c));import{CssTransitionDisablerMixin as _0x9a6bce,LabeledFieldView as _0x1e6f77,View as _0x493a4e,createLabeledInputText as _0x4b0bfe,submitHandler as _0x18b6af}from'ckeditor5/src/ui.js';import{FocusTracker as _0x49dd29,KeystrokeHandler as _0x286649}from'ckeditor5/src/utils.js';import{getTranslation as _0x5e684a}from'../../utils/common-translations.js';function _0x4e89(){const _0x54f8c3=['arrowup','392580AAAPJP','196QfBdIV','label','17810jzznBR','220','arrowleft','revisionNameInputValue','render','focusTracker','277907YIoZaa','initializeCssTransitionDisablerMixin','arrowdown','form','errorText','optional','revisionNameInputView','focus','listenTo','locale','reset','input','4796730gdzwir','value','arrowright','trim','349785XaicFP','15QDQpwq','20CUplaj','extendTemplate','12485dJZDxp','_createRevisionNameInput','Name\x20of\x20the\x20revision','253314RhCuXM','ck-revision-history-save-revision-form','element','93208hegkNv','keystrokes','setTemplate','add','ck-responsive-form','revisionName','stopPropagation','fieldView','set'];_0x4e89=function(){return _0x54f8c3;};return _0x4e89();}import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';function _0x4f1b(_0x14b30a,_0x3b4002){const _0x4e899d=_0x4e89();return _0x4f1b=function(_0x4f1b10,_0x5a3199){_0x4f1b10=_0x4f1b10-0x7b;let _0x56e896=_0x4e899d[_0x4f1b10];return _0x56e896;},_0x4f1b(_0x14b30a,_0x3b4002);}export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x9a6bce(_0x493a4e){[_0x1fe97e(0xa2)];[_0x1fe97e(0x91)];[_0x1fe97e(0x7c)];constructor(_0x12c7c0,_0xdeb402){const _0x5fba82=_0x1fe97e;super(_0x12c7c0),this[_0x5fba82(0xa2)]=new _0x49dd29(),this[_0x5fba82(0x91)]=new _0x286649(),this[_0x5fba82(0x98)](_0x5fba82(0xa0),''),this[_0x5fba82(0x7c)]=this[_0x5fba82(0x8b)](_0xdeb402),this[_0x5fba82(0x92)]({'tag':_0x5fba82(0xa6),'attributes':{'class':['ck',_0x5fba82(0x8e),_0x5fba82(0x94)],'tabindex':'-1'},'children':[this[_0x5fba82(0x7c)]]}),this[_0x5fba82(0xa4)]();}[_0x1fe97e(0xa1)](){const _0x41ee3a=_0x1fe97e;super[_0x41ee3a(0xa1)](),_0x18b6af({'view':this}),this[_0x41ee3a(0xa2)][_0x41ee3a(0x93)](this[_0x41ee3a(0x7c)][_0x41ee3a(0x8f)]),this[_0x41ee3a(0x91)][_0x41ee3a(0x7e)](this[_0x41ee3a(0x8f)]);const _0x5c06d3=_0x2b4190=>_0x2b4190[_0x41ee3a(0x96)]();this[_0x41ee3a(0x91)][_0x41ee3a(0x98)](_0x41ee3a(0x84),_0x5c06d3),this[_0x41ee3a(0x91)][_0x41ee3a(0x98)](_0x41ee3a(0x9f),_0x5c06d3),this[_0x41ee3a(0x91)][_0x41ee3a(0x98)](_0x41ee3a(0x99),_0x5c06d3),this[_0x41ee3a(0x91)][_0x41ee3a(0x98)](_0x41ee3a(0xa5),_0x5c06d3);}[_0x1fe97e(0x7d)](){const _0x543ff4=_0x1fe97e;this[_0x543ff4(0x7c)][_0x543ff4(0x7d)]();}get[_0x1fe97e(0x95)](){const _0x5a463e=_0x1fe97e;return this[_0x5a463e(0x7c)][_0x5a463e(0x97)][_0x5a463e(0x8f)][_0x5a463e(0x83)][_0x5a463e(0x85)]();}set[_0x1fe97e(0x95)](_0x1870ac){const _0x362e50=_0x1fe97e;this[_0x362e50(0x7c)][_0x362e50(0x97)][_0x362e50(0x8f)][_0x362e50(0x83)]=_0x1870ac[_0x362e50(0x85)]();}[_0x1fe97e(0x80)](){const _0xe52f45=_0x1fe97e;this[_0xe52f45(0x7c)][_0xe52f45(0x97)][_0xe52f45(0x8f)][_0xe52f45(0x83)]='',this[_0xe52f45(0x7c)][_0xe52f45(0xa7)]=null;}[_0x1fe97e(0x8b)](_0x1806f6){const _0x251a07=_0x1fe97e,_0x565cae=new _0x1e6f77(this[_0x251a07(0x7f)],_0x4b0bfe),_0x227b80=_0x565cae[_0x251a07(0x97)];_0x227b80[_0x251a07(0x89)]({'attributes':{'maxlength':_0x251a07(0x9e)}});let _0xe4c86a=_0x5e684a(this[_0x251a07(0x7f)],_0x251a07(0x8c));return!_0x1806f6&&(_0xe4c86a+='\x20('+_0x5e684a(this[_0x251a07(0x7f)],_0x251a07(0x7b))+')'),(_0x565cae[_0x251a07(0x9c)]=_0xe4c86a,_0x227b80['on'](_0x251a07(0x81),()=>{const _0x2be115=_0x251a07;this[_0x2be115(0xa0)]=_0x227b80[_0x2be115(0x8f)][_0x2be115(0x83)][_0x2be115(0x85)]();}),_0x565cae);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25c2b5=_0x3fa3;(function(_0x5234f0,_0x5a365c){const _0x1ea1b4=_0x3fa3,_0x4073fb=_0x5234f0();while(!![]){try{const _0x553758=parseInt(_0x1ea1b4(0x17d))/0x1+parseInt(_0x1ea1b4(0x166))/0x2*(parseInt(_0x1ea1b4(0x177))/0x3)+-parseInt(_0x1ea1b4(0x180))/0x4*(parseInt(_0x1ea1b4(0x171))/0x5)+-parseInt(_0x1ea1b4(0x16d))/0x6+-parseInt(_0x1ea1b4(0x16e))/0x7+parseInt(_0x1ea1b4(0x187))/0x8*(parseInt(_0x1ea1b4(0x193))/0x9)+parseInt(_0x1ea1b4(0x190))/0xa;if(_0x553758===_0x5a365c)break;else _0x4073fb['push'](_0x4073fb['shift']());}catch(_0xc31bd8){_0x4073fb['push'](_0x4073fb['shift']());}}}(_0x5c05,0x96548));import{Plugin as _0x4ee653}from'ckeditor5/src/core.js';function _0x5c05(){const _0xb49c6=['panelView','plugins','Cancel','_saveRevisionFormView','15466650AirDQO','isReady','isPremiumPlugin','2318742mnbiPQ','init','reset','children','Dialog','revisionNameInputView','ck-button-action','pluginName','config','add','addMany','set','_registerMenuComponent','showRevisionViewerCallback','focus','bind','hide','menuBar:revisionHistory','menuitem','requires','revisionSave','isOpen','get','Open\x20revision\x20history','331988Hfzvuq','locale','revisionHistory.requireRevisionName','errorText','editing','Accept','isOfficialPlugin','5253246KPoSjl','6256817tNoeHh','saveRevision','RevisionHistoryUI','991820FFmdtJ','submit','show','items','view','delegate','3AnJznX','RevisionTracker','isReadOnly','menu','_createSaveRevisionFormView','execute','38641XiIoya','componentFactory','Save\x20current\x20revision','8gEvMLg','revisionHistory','role','isEnabled','_showDialog','The\x20revision\x20name\x20cannot\x20be\x20empty.','render','32gFdPKl','buttonView','revisionName','Revision\x20history','editor'];_0x5c05=function(){return _0xb49c6;};return _0x5c05();}import{IconHistory as _0x20f48e}from'ckeditor5/src/icons.js';import{createDropdown as _0x112707,ButtonView as _0x1ce650,ListItemView as _0x3d9555,ListView as _0x5ecd50,MenuBarMenuListItemButtonView as _0x38c1cc,MenuBarMenuListItemView as _0x2982cd,MenuBarMenuListView as _0x30e3a9,MenuBarMenuView as _0x4395f5}from'ckeditor5/src/ui.js';import{RevisionTracker as _0x4b2ceb}from'../../revisiontracker.js';import{RevisionHistorySaveRevisionFormView as _0x57da25}from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0xfd8964}from'../../utils/common-translations.js';function _0x3fa3(_0x56b071,_0x57dfda){const _0x5c05af=_0x5c05();return _0x3fa3=function(_0x3fa376,_0xb43b9c){_0x3fa376=_0x3fa376-0x152;let _0x2989b0=_0x5c05af[_0x3fa376];return _0x2989b0;},_0x3fa3(_0x56b071,_0x57dfda);}export class RevisionHistoryUI extends _0x4ee653{static get[_0x25c2b5(0x155)](){const _0x18fb2e=_0x25c2b5;return _0x18fb2e(0x170);}static get[_0x25c2b5(0x16c)](){return!0x0;}static get[_0x25c2b5(0x192)](){return!0x0;}static get[_0x25c2b5(0x161)](){return[_0x4b2ceb];}[_0x25c2b5(0x18f)];[_0x25c2b5(0x194)](){const _0x5c43ae=_0x25c2b5,_0x2ad375=this[_0x5c43ae(0x18b)],_0xf63109=_0x2ad375[_0x5c43ae(0x18d)][_0x5c43ae(0x164)](_0x5c43ae(0x178));_0x2ad375['ui'][_0x5c43ae(0x17e)][_0x5c43ae(0x157)](_0x5c43ae(0x181),_0x3ff156=>{const _0x16d2f3=_0x5c43ae,_0x3065a2=_0x112707(_0x3ff156),_0x5e2ab8=_0x3065a2[_0x16d2f3(0x18c)][_0x16d2f3(0x196)],_0x4c5529=new _0x5ecd50(_0x3ff156),_0xa0d666=new _0x3d9555(_0x3ff156),_0x3d8386=new _0x1ce650(_0x3ff156),_0x25734d=new _0x3d9555(_0x3ff156),_0x422989=new _0x1ce650(_0x3ff156);return _0x3065a2[_0x16d2f3(0x15d)](_0x16d2f3(0x183))['to'](_0xf63109,_0x16d2f3(0x191),_0xf63109,_0x16d2f3(0x183),_0x2ad375,_0x16d2f3(0x179),(_0x1ce8a9,_0x4b550b,_0xa46ac3)=>_0x1ce8a9&&_0x4b550b&&!_0xa46ac3),_0x3065a2[_0x16d2f3(0x188)][_0x16d2f3(0x159)]({'icon':_0x20f48e,'label':_0xfd8964(_0x3ff156,_0x16d2f3(0x18a)),'tooltip':!0x0}),_0x3d8386[_0x16d2f3(0x159)]({'label':_0xfd8964(_0x3ff156,_0x16d2f3(0x17f)),'withText':!0x0,'role':_0x16d2f3(0x160)}),_0x3d8386[_0x16d2f3(0x15d)](_0x16d2f3(0x183))['to'](_0xf63109,_0x16d2f3(0x191),_0xf63109,_0x16d2f3(0x183),_0x2ad375,_0x16d2f3(0x179),(_0x344144,_0x532cba,_0xdac41d)=>_0x344144&&_0x532cba&&!_0xdac41d),_0x3d8386['on'](_0x16d2f3(0x17c),()=>this[_0x16d2f3(0x184)]()),_0x422989[_0x16d2f3(0x159)]({'label':_0xfd8964(_0x3ff156,_0x16d2f3(0x165)),'withText':!0x0,'role':_0x16d2f3(0x160)}),_0x422989[_0x16d2f3(0x15d)](_0x16d2f3(0x183))['to'](_0xf63109,_0x16d2f3(0x191),_0x2ad375,_0x16d2f3(0x179),(_0x19ae9c,_0x357e78)=>_0x19ae9c&&!_0x357e78),_0x422989['on'](_0x16d2f3(0x17c),()=>{const _0x29be71=_0x16d2f3;_0x2ad375[_0x29be71(0x156)][_0x29be71(0x164)](_0x29be71(0x181))[_0x29be71(0x15b)](),_0x3065a2[_0x29be71(0x163)]=!0x1,_0x2ad375[_0x29be71(0x16a)][_0x29be71(0x175)][_0x29be71(0x15c)]();}),_0xa0d666[_0x16d2f3(0x196)][_0x16d2f3(0x157)](_0x3d8386),_0x25734d[_0x16d2f3(0x196)][_0x16d2f3(0x157)](_0x422989),_0x4c5529[_0x16d2f3(0x182)]=_0x16d2f3(0x17a),_0x4c5529[_0x16d2f3(0x174)][_0x16d2f3(0x158)]([_0xa0d666,_0x25734d]),_0x5e2ab8[_0x16d2f3(0x157)](_0x4c5529),_0x3065a2;}),_0x2ad375['ui'][_0x5c43ae(0x17e)][_0x5c43ae(0x157)](_0x5c43ae(0x15f),()=>this[_0x5c43ae(0x15a)]());}[_0x25c2b5(0x15a)](){const _0x1b93b3=_0x25c2b5,_0x354374=this[_0x1b93b3(0x18b)],_0x2fe8b1=_0x354374[_0x1b93b3(0x167)],_0x41fd2c=new _0x4395f5(_0x2fe8b1),_0x2db0c8=new _0x30e3a9(_0x2fe8b1);_0x41fd2c[_0x1b93b3(0x188)][_0x1b93b3(0x159)]({'icon':_0x20f48e,'label':_0xfd8964(_0x2fe8b1,_0x1b93b3(0x18a))});const _0x3a807f=new _0x2982cd(_0x2fe8b1,_0x41fd2c),_0x555673=new _0x38c1cc(_0x2fe8b1);_0x555673[_0x1b93b3(0x159)]({'label':_0xfd8964(_0x2fe8b1,_0x1b93b3(0x17f))}),_0x555673[_0x1b93b3(0x176)](_0x1b93b3(0x17c))['to'](_0x41fd2c),_0x555673['on'](_0x1b93b3(0x17c),()=>{const _0x3c0904=_0x1b93b3;this[_0x3c0904(0x184)]();}),_0x3a807f[_0x1b93b3(0x196)][_0x1b93b3(0x157)](_0x555673),_0x2db0c8[_0x1b93b3(0x174)][_0x1b93b3(0x157)](_0x3a807f);const _0x591e40=new _0x2982cd(_0x2fe8b1,_0x41fd2c),_0x34c53d=new _0x38c1cc(_0x2fe8b1);return _0x34c53d[_0x1b93b3(0x159)]({'label':_0xfd8964(_0x2fe8b1,_0x1b93b3(0x165))}),_0x34c53d[_0x1b93b3(0x176)](_0x1b93b3(0x17c))['to'](_0x41fd2c),_0x34c53d['on'](_0x1b93b3(0x17c),()=>{const _0x80c329=_0x1b93b3;_0x354374[_0x80c329(0x156)][_0x80c329(0x164)](_0x80c329(0x181))[_0x80c329(0x15b)]();}),_0x591e40[_0x1b93b3(0x196)][_0x1b93b3(0x157)](_0x34c53d),_0x2db0c8[_0x1b93b3(0x174)][_0x1b93b3(0x157)](_0x591e40),_0x41fd2c[_0x1b93b3(0x18c)][_0x1b93b3(0x196)][_0x1b93b3(0x157)](_0x2db0c8),_0x41fd2c;}[_0x25c2b5(0x184)](){const _0x15f954=_0x25c2b5,_0xf41f57=this[_0x15f954(0x18b)],_0x3a8427=_0xf41f57[_0x15f954(0x167)],_0x1dda4e=_0xf41f57[_0x15f954(0x18d)][_0x15f954(0x164)](_0x15f954(0x152)),_0x4ce4db=_0xf41f57[_0x15f954(0x18d)][_0x15f954(0x164)](_0x15f954(0x178));function _0x59f386(_0x18d678){const _0x4a8056=_0x15f954;_0xf41f57[_0x4a8056(0x156)][_0x4a8056(0x164)](_0x4a8056(0x168))&&''===_0x18d678[_0x4a8056(0x189)]?_0x18d678[_0x4a8056(0x153)][_0x4a8056(0x169)]=_0xfd8964(_0x3a8427,_0x4a8056(0x185)):(_0xf41f57[_0x4a8056(0x18d)][_0x4a8056(0x164)](_0x4b2ceb)[_0x4a8056(0x16f)]({'name':_0x18d678[_0x4a8056(0x189)]}),_0x1dda4e[_0x4a8056(0x15e)]());}this[_0x15f954(0x18f)]||(this[_0x15f954(0x17b)](),this[_0x15f954(0x18f)]['on'](_0x15f954(0x172),()=>_0x59f386(this[_0x15f954(0x18f)]))),this[_0x15f954(0x18f)][_0x15f954(0x195)](),_0x1dda4e[_0x15f954(0x173)]({'id':_0x15f954(0x162),'title':_0xfd8964(_0x3a8427,_0x15f954(0x17f)),'isModal':!0x0,'content':this[_0x15f954(0x18f)],'actionButtons':[{'label':_0xfd8964(_0xf41f57[_0x15f954(0x167)],_0x15f954(0x18e)),'withText':!0x0,'onExecute':()=>_0x1dda4e[_0x15f954(0x15e)]()},{'label':_0xfd8964(_0xf41f57[_0x15f954(0x167)],_0x15f954(0x16b)),'class':_0x15f954(0x154),'withText':!0x0,'onCreate'(_0x1aba0b){const _0x807859=_0x15f954;_0x1aba0b[_0x807859(0x15d)](_0x807859(0x183))['to'](_0x4ce4db,_0x807859(0x191),_0x4ce4db,_0x807859(0x183),_0xf41f57,_0x807859(0x179),(_0x3f92cd,_0x4b16e1,_0x2e191d)=>_0x3f92cd&&_0x4b16e1&&!_0x2e191d);},'onExecute':()=>_0x59f386(this[_0x15f954(0x18f)])}]});}[_0x25c2b5(0x17b)](){const _0x42b430=_0x25c2b5,_0x1dc346=this[_0x42b430(0x18b)],_0x34b371=_0x1dc346[_0x42b430(0x167)];this[_0x42b430(0x18f)]=new _0x57da25(_0x34b371,_0x1dc346[_0x42b430(0x156)][_0x42b430(0x164)](_0x42b430(0x168))),this[_0x42b430(0x18f)][_0x42b430(0x186)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x308c5e=_0x3595;function _0x3595(_0xd989be,_0x422531){const _0x529396=_0x5293();return _0x3595=function(_0x3595be,_0x503b52){_0x3595be=_0x3595be-0xf6;let _0x4218fe=_0x529396[_0x3595be];return _0x4218fe;},_0x3595(_0xd989be,_0x422531);}(function(_0x8c2c24,_0xced1ba){const _0x4b0615=_0x3595,_0x107cce=_0x8c2c24();while(!![]){try{const _0x4b28e3=parseInt(_0x4b0615(0x11c))/0x1+parseInt(_0x4b0615(0x142))/0x2+parseInt(_0x4b0615(0x137))/0x3+parseInt(_0x4b0615(0x12f))/0x4+parseInt(_0x4b0615(0x134))/0x5+parseInt(_0x4b0615(0x122))/0x6*(-parseInt(_0x4b0615(0x112))/0x7)+-parseInt(_0x4b0615(0x117))/0x8;if(_0x4b28e3===_0xced1ba)break;else _0x107cce['push'](_0x107cce['shift']());}catch(_0x5c9fe1){_0x107cce['push'](_0x107cce['shift']());}}}(_0x5293,0xa3bda));import{Plugin as _0x290e0a}from'ckeditor5/src/core.js';import{RevisionsSidebarView as _0x2c4f93}from'./revisionssidebarview.js';import{RevisionViewer as _0x119010}from'../../revisionviewer.js';function _0x5293(){const _0x4f6280=['isSelected','nameRevision','isOfficialPlugin','_revisions','6987491JbrkrB','change:diff','locale','plugins','_handleRevisionSetName','16094680YGuWSY','newRevisionId','_revisionViewer','_handleEditorDataReady','_createRevisionActions','209435nETIQm','getLaterVisibleRevision','config','Compare\x20against\x20selected','restoreRevision','destroy','6hsGonG','bind','_revisionsRepository','revisionHistory.requireRevisionName','remove','isVisible','revisionSetName','add','_handleDiffChange','assign','focus','requires','select','4312092epZEBg','availableRevisionActions','highlightRevisions','getIndex','isReady','2935160GhqKnM','selectRevision','name','2120331NKpXup','revisionHistory.revisionActions','element','data','compare','pluginName','map','init','get','editor','defaultRevisionActions','2198926PNdYXT','compareAgainstSelected','getRevisionsInDiff','timePeriodViews','string','revisionSelected','getRevision','appendChild','_sidebarView','revisionHistory.viewerSidebarContainer','fieldView','Restore\x20this\x20revision','setName','_handleRevisionSelected','render','ready','RevisionsSidebar','isPremiumPlugin','Name\x20this\x20revision','revisionViews','repository','length','restoreRevisionCallback','revisionHistory','diff','action','isEnabled','listenTo','getEarlierVisibleRevision'];_0x5293=function(){return _0x4f6280;};return _0x5293();}class f extends _0x290e0a{[_0x308c5e(0x119)];[_0x308c5e(0x124)];[_0x308c5e(0xf9)];static [_0x308c5e(0x141)]=[_0x308c5e(0x143),_0x308c5e(0x120),_0x308c5e(0x10f)];static [_0x308c5e(0x130)]=(function(){const _0x50698d=_0x308c5e;return{'compareAgainstSelected':{'name':_0x50698d(0x11f),'action':({plugins:i},s)=>{const _0x4dbeba=_0x50698d,e=i[_0x4dbeba(0x13f)](_0x119010),n=e[_0x4dbeba(0x105)];let r=e[_0x4dbeba(0x109)][_0x4dbeba(0x118)],o=s['id'];n[_0x4dbeba(0x132)](r)>n[_0x4dbeba(0x132)](o)&&([r,o]=[o,r]),e[_0x4dbeba(0x13b)](r,o);},'isVisible':({plugins:i},s)=>{const _0x13542d=_0x50698d,e=i[_0x13542d(0x13f)](_0x119010);return!(e[_0x13542d(0x105)][_0x13542d(0x144)](e[_0x13542d(0x109)])[_0x13542d(0x106)]>0x2)&&!s[_0x13542d(0x10e)];}},'restoreRevision':{'name':_0x50698d(0xfc),'action':(i,{id:s})=>{const _0x8756ba=_0x50698d;i[_0x8756ba(0x11e)][_0x8756ba(0x13f)](_0x8756ba(0x108))[_0x8756ba(0x107)](s);},'isVisible':({plugins:i},s)=>!!i[_0x50698d(0x13f)](_0x119010)[_0x50698d(0x105)][_0x50698d(0x11d)](s['id'])},'nameRevision':{'name':_0x50698d(0x103),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0x28363d=_0x50698d,n=i[_0x28363d(0x13f)](_0x119010),r=n[_0x28363d(0x105)][_0x28363d(0x10d)](s);n[_0x28363d(0x13b)](s,r),e[_0x28363d(0x12c)](),e[_0x28363d(0xfb)][_0x28363d(0x12e)]();}}};}());static get[_0x308c5e(0x13c)](){const _0x7337e8=_0x308c5e;return _0x7337e8(0x101);}static get[_0x308c5e(0x110)](){return!0x0;}static get[_0x308c5e(0x102)](){return!0x0;}static get[_0x308c5e(0x12d)](){return[_0x119010];}constructor(_0x2087a7){const _0x50b2b6=_0x308c5e;super(_0x2087a7),this[_0x50b2b6(0x119)]=_0x2087a7[_0x50b2b6(0x115)][_0x50b2b6(0x13f)](_0x119010),this[_0x50b2b6(0x124)]=this[_0x50b2b6(0x119)][_0x50b2b6(0x105)],this[_0x50b2b6(0xf9)]=null;}[_0x308c5e(0x13e)](){const _0x433776=_0x308c5e,_0x5679c0=this[_0x433776(0x124)][_0x433776(0x111)],_0x14d058=this[_0x433776(0x11b)](),_0x101c53=this[_0x433776(0x140)][_0x433776(0x11e)][_0x433776(0x13f)](_0x433776(0xfa));this[_0x433776(0xf9)]=new _0x2c4f93(this[_0x433776(0x140)][_0x433776(0x114)],_0x5679c0,_0x14d058,this[_0x433776(0x140)][_0x433776(0x11e)][_0x433776(0x13f)](_0x433776(0x125))),this[_0x433776(0xf9)]['on'](_0x433776(0xf6),this[_0x433776(0xfe)][_0x433776(0x123)](this)),this[_0x433776(0xf9)]['on'](_0x433776(0x128),this[_0x433776(0x116)][_0x433776(0x123)](this)),this[_0x433776(0xf9)][_0x433776(0x123)](_0x433776(0x10b))['to'](this[_0x433776(0x119)]),this[_0x433776(0xf9)][_0x433776(0x145)]['on'](_0x433776(0x129),(_0x4c116d,_0x51d2f3)=>{const _0xff4a2b=_0x433776;_0x51d2f3[_0xff4a2b(0x104)]['on'](_0xff4a2b(0x129),(_0x76345a,_0x274d6a)=>{const _0x166c5e=_0xff4a2b;_0x274d6a[_0x166c5e(0x123)](_0x166c5e(0x10b),_0x166c5e(0x133))['to'](this[_0x166c5e(0x119)]);});}),this[_0x433776(0xf9)][_0x433776(0xff)](),this[_0x433776(0x10c)](this[_0x433776(0x140)][_0x433776(0x13a)],_0x433776(0x100),this[_0x433776(0x11a)][_0x433776(0x123)](this)),this[_0x433776(0x10c)](this[_0x433776(0x119)],_0x433776(0x113),this[_0x433776(0x12a)][_0x433776(0x123)](this)),_0x101c53[_0x433776(0xf8)](this[_0x433776(0xf9)][_0x433776(0x139)]);}[_0x308c5e(0x121)](){const _0x2a264f=_0x308c5e;this[_0x2a264f(0xf9)][_0x2a264f(0x139)][_0x2a264f(0x126)](),this[_0x2a264f(0xf9)][_0x2a264f(0x121)]();}[_0x308c5e(0x11a)](){const _0x216085=_0x308c5e,_0x2cc994=this[_0x216085(0x124)][_0x216085(0xf7)](0x0);if(_0x2cc994){const _0x41f13b=this[_0x216085(0x124)][_0x216085(0x10d)](_0x2cc994['id']);this[_0x216085(0x119)][_0x216085(0x13b)](_0x2cc994,_0x41f13b);}}[_0x308c5e(0xfe)](_0x5bbc42,_0x223421){const _0x507676=_0x308c5e,_0x1387c4=this[_0x507676(0x124)][_0x507676(0xf7)](_0x223421['id']),_0x5ce9dc=this[_0x507676(0x124)][_0x507676(0x10d)](_0x1387c4['id']);this[_0x507676(0x119)][_0x507676(0x13b)](_0x1387c4,_0x5ce9dc);}[_0x308c5e(0x116)](_0x484847,_0x272398){const _0x2d0453=_0x308c5e;this[_0x2d0453(0x124)][_0x2d0453(0xf7)](_0x272398['id'])[_0x2d0453(0xfd)](_0x272398[_0x2d0453(0x136)]);}[_0x308c5e(0x12a)](_0x35c159,_0x5001a8,_0x8cdb26){const _0x293c10=_0x308c5e,_0x54ab63=this[_0x293c10(0x124)][_0x293c10(0x144)](_0x8cdb26);_0x54ab63[_0x293c10(0x106)]>0x2?(this[_0x293c10(0xf9)][_0x293c10(0x131)](_0x54ab63),this[_0x293c10(0xf9)][_0x293c10(0x135)](null)):(this[_0x293c10(0xf9)][_0x293c10(0x131)]([]),this[_0x293c10(0xf9)][_0x293c10(0x135)](_0x54ab63[0x0]));}[_0x308c5e(0x11b)](){const _0x4e2fd0=_0x308c5e,_0x3cf961=this[_0x4e2fd0(0x140)],_0x19d5cf=f[_0x4e2fd0(0x130)],_0x5cc272=_0x3cf961[_0x4e2fd0(0x11e)][_0x4e2fd0(0x13f)](_0x4e2fd0(0x138))||f[_0x4e2fd0(0x141)];if(_0x5cc272[_0x4e2fd0(0x106)])return _0x5cc272[_0x4e2fd0(0x13d)](_0x2571d2=>{const _0xc954e=_0x4e2fd0,_0xb33083=_0xc954e(0x146)==typeof _0x2571d2?Object[_0xc954e(0x12b)]({},_0x19d5cf[_0x2571d2]):_0x2571d2;return _0xb33083[_0xc954e(0x10a)]=_0xb33083[_0xc954e(0x10a)][_0xc954e(0x123)](this,_0x3cf961),_0xb33083[_0xc954e(0x127)]&&(_0xb33083[_0xc954e(0x127)]=_0xb33083[_0xc954e(0x127)][_0xc954e(0x123)](this,_0x3cf961)),_0xb33083;});}}export{f as RevisionsSidebar};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x236a(){const _0x66bf03=['4404883nOsKkW','18155264fyNjZz','div','ck-revision-history-sidebar__header','36321ZIELcE','ck-reset_all','1362954kPhOoG','3178715kvaHnO','343939eRGign','44shcodL','Revision\x20history','span','content','setTemplate','1270526DoPNop','ck-revision-history-sidebar__header__label'];_0x236a=function(){return _0x66bf03;};return _0x236a();}(function(_0x31c508,_0x29249a){const _0x55a0ae=_0x2f77,_0x382939=_0x31c508();while(!![]){try{const _0x48ffc4=parseInt(_0x55a0ae(0xbb))/0x1+parseInt(_0x55a0ae(0xc1))/0x2+parseInt(_0x55a0ae(0xc7))/0x3*(parseInt(_0x55a0ae(0xbc))/0x4)+parseInt(_0x55a0ae(0xba))/0x5+parseInt(_0x55a0ae(0xb9))/0x6+parseInt(_0x55a0ae(0xc3))/0x7+-parseInt(_0x55a0ae(0xc4))/0x8;if(_0x48ffc4===_0x29249a)break;else _0x382939['push'](_0x382939['shift']());}catch(_0x1c0a9c){_0x382939['push'](_0x382939['shift']());}}}(_0x236a,0x51d26));import{View as _0x3ce261,IconView as _0x46afd1}from'ckeditor5/src/ui.js';import{getTranslation as _0x356d0f}from'../../utils/common-translations.js';import{IconHistory as _0x1fe004}from'ckeditor5/src/icons.js';function _0x2f77(_0x108a0f,_0x19f95a){const _0x236af1=_0x236a();return _0x2f77=function(_0x2f77c9,_0x45b483){_0x2f77c9=_0x2f77c9-0xb8;let _0x57f931=_0x236af1[_0x2f77c9];return _0x57f931;},_0x2f77(_0x108a0f,_0x19f95a);}import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x3ce261{constructor(_0x30e536){const _0x1f2ba5=_0x2f77;super(_0x30e536);const _0x4ad7a8=new _0x46afd1();_0x4ad7a8[_0x1f2ba5(0xbf)]=_0x1fe004,this[_0x1f2ba5(0xc0)]({'tag':_0x1f2ba5(0xc5),'attributes':{'class':['ck',_0x1f2ba5(0xb8),_0x1f2ba5(0xc6)]},'children':[_0x4ad7a8,{'tag':_0x1f2ba5(0xbe),'attributes':{'class':['ck',_0x1f2ba5(0xc2)]},'children':[_0x356d0f(_0x30e536,_0x1f2ba5(0xbd))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x122f(){const _0x3e10d6=['8rAWefP','setName','ck-revision-history-sidebar__time-period__label','4199vpaRRe','ck-revision-history-sidebar__time-period__revisions','find','33pajGzN','startDate','addRevision','_requireRevisionName','removeRevision','uiLanguage','8540kRlPUv','add','68412VQVvKp','ck-revision-history-sidebar__time-period','2988802dGOajW','createCollection','setTemplate','2922BMMcVq','4NPeSpV','1014690xCxEyQ','3AhuikM','remove','localizedPeriodName','_revisionActions','6709515EXMFfL','delegate','span','4114971cYYFsF','div','select','locale','1064310lxopRP','revisionViews'];_0x122f=function(){return _0x3e10d6;};return _0x122f();}const _0x54a7b0=_0x322e;(function(_0x334574,_0x310ae5){const _0x3d60ee=_0x322e,_0x1e6b61=_0x334574();while(!![]){try{const _0x5f4baa=-parseInt(_0x3d60ee(0x20f))/0x1+parseInt(_0x3d60ee(0x1fe))/0x2*(parseInt(_0x3d60ee(0x204))/0x3)+-parseInt(_0x3d60ee(0x202))/0x4*(parseInt(_0x3d60ee(0x208))/0x5)+parseInt(_0x3d60ee(0x201))/0x6*(parseInt(_0x3d60ee(0x1fa))/0x7)+-parseInt(_0x3d60ee(0x211))/0x8*(parseInt(_0x3d60ee(0x20b))/0x9)+-parseInt(_0x3d60ee(0x203))/0xa*(parseInt(_0x3d60ee(0x1f4))/0xb)+parseInt(_0x3d60ee(0x1fc))/0xc*(parseInt(_0x3d60ee(0x214))/0xd);if(_0x5f4baa===_0x310ae5)break;else _0x1e6b61['push'](_0x1e6b61['shift']());}catch(_0x2be040){_0x1e6b61['push'](_0x1e6b61['shift']());}}}(_0x122f,0xba10d));import{View as _0x4a69b2}from'ckeditor5/src/ui.js';import{RevisionView as _0x5d41db}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x2676bb}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';function _0x322e(_0x1948b8,_0x5be10f){const _0x122fb6=_0x122f();return _0x322e=function(_0x322e9c,_0xf36559){_0x322e9c=_0x322e9c-0x1f4;let _0x2d9f4c=_0x122fb6[_0x322e9c];return _0x2d9f4c;},_0x322e(_0x1948b8,_0x5be10f);}export class RevisionsSidebarTimePeriodView extends _0x4a69b2{[_0x54a7b0(0x1f5)];[_0x54a7b0(0x210)];[_0x54a7b0(0x207)];[_0x54a7b0(0x1f7)];constructor(_0x1aceac,_0xf85d7c,_0x41e511,_0x46c945){const _0x3105db=_0x54a7b0;super(_0x1aceac);const _0x3d8a9c=_0x2676bb(_0xf85d7c,this[_0x3105db(0x20e)][_0x3105db(0x1f9)])[_0x3105db(0x206)];this[_0x3105db(0x1f5)]=_0xf85d7c,this[_0x3105db(0x210)]=this[_0x3105db(0x1ff)](),this[_0x3105db(0x207)]=_0x41e511,this[_0x3105db(0x1f7)]=_0x46c945,this[_0x3105db(0x210)][_0x3105db(0x209)](_0x3105db(0x20d))['to'](this),this[_0x3105db(0x210)][_0x3105db(0x209)](_0x3105db(0x212))['to'](this),this[_0x3105db(0x200)]({'tag':_0x3105db(0x20c),'attributes':{'class':['ck',_0x3105db(0x1fd)]},'children':[{'tag':_0x3105db(0x20a),'attributes':{'class':['ck',_0x3105db(0x213)]},'children':[{'text':_0x3d8a9c}]},{'tag':_0x3105db(0x20c),'attributes':{'class':['ck',_0x3105db(0x215)]},'children':this[_0x3105db(0x210)]}]});}[_0x54a7b0(0x1f6)](_0x25c8e6){const _0x426ed2=_0x54a7b0,_0x23a938=new _0x5d41db(this[_0x426ed2(0x20e)],_0x25c8e6,this[_0x426ed2(0x207)],this[_0x426ed2(0x1f7)]);this[_0x426ed2(0x210)][_0x426ed2(0x1fb)](_0x23a938);}[_0x54a7b0(0x1f8)](_0x1c352c){const _0x48582b=_0x54a7b0,_0x28fa19=this[_0x48582b(0x210)][_0x48582b(0x216)](_0x239e75=>_0x239e75['id']===_0x1c352c['id']);this[_0x48582b(0x210)][_0x48582b(0x205)](_0x28fa19);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x558a(_0x5b7932,_0x32d639){const _0xcc77be=_0xcc77();return _0x558a=function(_0x558a0b,_0x28ffd7){_0x558a0b=_0x558a0b-0x9b;let _0x5b56c8=_0xcc77be[_0x558a0b];return _0x5b56c8;},_0x558a(_0x5b7932,_0x32d639);}const _0x5303a2=_0x558a;(function(_0x410dde,_0x109ce3){const _0x4545b4=_0x558a,_0x48ac40=_0x410dde();while(!![]){try{const _0x36006d=parseInt(_0x4545b4(0xa5))/0x1+parseInt(_0x4545b4(0xa4))/0x2*(-parseInt(_0x4545b4(0xb5))/0x3)+-parseInt(_0x4545b4(0xc0))/0x4+-parseInt(_0x4545b4(0xb2))/0x5+-parseInt(_0x4545b4(0xa7))/0x6*(-parseInt(_0x4545b4(0xcc))/0x7)+-parseInt(_0x4545b4(0xc8))/0x8*(-parseInt(_0x4545b4(0xaa))/0x9)+parseInt(_0x4545b4(0x9d))/0xa*(parseInt(_0x4545b4(0xce))/0xb);if(_0x36006d===_0x109ce3)break;else _0x48ac40['push'](_0x48ac40['shift']());}catch(_0x584628){_0x48ac40['push'](_0x48ac40['shift']());}}}(_0xcc77,0x416b4));import{View as _0x4e1a12}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x549afd}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x421cbb}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x4e10ec}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x4e1a12{[_0x5303a2(0xa3)];[_0x5303a2(0xbc)];[_0x5303a2(0xc9)];[_0x5303a2(0xcb)];constructor(_0x423b63,_0x154979,_0x4f4110,_0x2c0e28){const _0x556282=_0x5303a2;super(_0x423b63);const _0x128dc4=this[_0x556282(0xd0)];this[_0x556282(0xa3)]=this[_0x556282(0xa9)](),this[_0x556282(0xa3)][_0x556282(0xb9)](_0x556282(0xa6))['to'](this),this[_0x556282(0xa3)][_0x556282(0xb9)](_0x556282(0xbb))['to'](this),this[_0x556282(0xbc)]=_0x154979,this[_0x556282(0xc9)]=_0x4f4110,this[_0x556282(0xcb)]=_0x2c0e28,this['on'](_0x556282(0xa6),(_0x31c28a,_0x29416c)=>{const _0x14f57c=_0x556282;this[_0x14f57c(0xc2)](_0x14f57c(0xac),_0x29416c);}),this['on'](_0x556282(0xbb),(_0x1584b5,_0x15fefc)=>{const _0x171f50=_0x556282;this[_0x171f50(0xc2)](_0x171f50(0xab),_0x15fefc);}),this[_0x556282(0xc3)](_0x556282(0xb0),!0x1),this[_0x556282(0x9f)]({'tag':_0x556282(0xbe),'attributes':{'class':['ck',_0x556282(0xb7),_0x556282(0x9e),_0x556282(0xa0)]},'children':[new _0x421cbb(_0x423b63),{'tag':_0x556282(0xbe),'attributes':{'class':['ck',_0x556282(0xd1),_0x128dc4['if'](_0x556282(0xb0),_0x556282(0xbf),_0x5eceec=>!_0x5eceec)]},'children':this[_0x556282(0xa3)]}]});}[_0x5303a2(0xbd)](){const _0x231139=_0x5303a2;super[_0x231139(0xbd)]();for(const _0x7446de of this[_0x231139(0xbc)])this[_0x231139(0xb1)](_0x7446de);this[_0x231139(0xbc)]['on'](_0x231139(0xa1),(_0x3b1c99,_0x1c93fe)=>{const _0x2c9756=_0x231139;this[_0x2c9756(0xb1)](_0x1c93fe);}),this[_0x231139(0xbc)]['on'](_0x231139(0xc5),(_0xa3e069,_0x309ba5)=>{const _0x172dd9=_0x231139;this[_0x172dd9(0xd2)](_0x309ba5);});}get[_0x5303a2(0xc7)](){const _0x2b5bd3=_0x5303a2;return this[_0x2b5bd3(0xa3)][_0x2b5bd3(0x9c)](_0x49f902=>_0x49f902[_0x2b5bd3(0xc7)][_0x2b5bd3(0x9c)](_0x23c670=>_0x23c670))[_0x2b5bd3(0xba)]();}[_0x5303a2(0x9b)](_0x3313b2){const _0x45ac52=_0x5303a2;for(const _0x521274 of this[_0x45ac52(0xc7)])_0x3313b2&&_0x3313b2['id']===_0x521274['id']?_0x521274[_0x45ac52(0xa6)]():_0x521274[_0x45ac52(0xaf)]();}[_0x5303a2(0xae)](_0x193152){const _0x3d4a5b=_0x5303a2;for(const _0x4c7ff7 of this[_0x3d4a5b(0xc7)])_0x193152[_0x3d4a5b(0xa8)](({id:_0x25cc74})=>_0x25cc74===_0x4c7ff7['id'])?_0x4c7ff7[_0x3d4a5b(0xca)]():_0x4c7ff7[_0x3d4a5b(0xc6)]();}[_0x5303a2(0xb1)](_0x3b4183){const _0x52c894=_0x5303a2,_0x4f13a0=_0x4e10ec(_0x3b4183[_0x52c894(0xc4)],this[_0x52c894(0xa2)][_0x52c894(0xcd)])[_0x52c894(0xcf)];let _0xd83c3d=this[_0x52c894(0xa3)][_0x52c894(0xb4)](0x0);_0xd83c3d&&_0xd83c3d[_0x52c894(0xcf)][_0x52c894(0xad)]()===_0x4f13a0[_0x52c894(0xad)]()||(_0xd83c3d=new _0x549afd(this[_0x52c894(0xa2)],_0x4f13a0,this[_0x52c894(0xc9)],this[_0x52c894(0xcb)]),this[_0x52c894(0xa3)][_0x52c894(0xa1)](_0xd83c3d)),_0xd83c3d[_0x52c894(0xb8)](_0x3b4183);}[_0x5303a2(0xd2)](_0x382228){const _0x4aad31=_0x5303a2,_0x4601a4=_0x4e10ec(_0x382228[_0x4aad31(0xc4)],this[_0x4aad31(0xa2)][_0x4aad31(0xcd)])[_0x4aad31(0xcf)];this[_0x4aad31(0xb6)](_0x4601a4)[_0x4aad31(0xc1)](_0x382228);}[_0x5303a2(0xb6)](_0x117e72){const _0x11d55d=_0x5303a2;return this[_0x11d55d(0xa3)][_0x11d55d(0xb3)](_0x1905d2=>_0x1905d2[_0x11d55d(0xcf)][_0x11d55d(0xad)]()===_0x117e72[_0x11d55d(0xad)]());}}function _0xcc77(){const _0x8f346f=['remove','unhighlight','revisionViews','40hMoPXC','_revisionActions','highlight','_requireRevisionName','2980789NRRONv','uiLanguage','35563vLwuYJ','startDate','bindTemplate','ck-revision-history-sidebar__timeline','_removeRevision','selectRevision','map','740dTZhGH','ck-rounded-corners','setTemplate','ck-revision-history-sidebar','add','locale','timePeriodViews','14JkgoWG','288370WAucXR','select','6hCbObs','some','createCollection','874035fexJvk','revisionSetName','revisionSelected','getTime','highlightRevisions','deselect','isEnabled','_addRevision','2660540ZVbkkt','find','get','209823VEacWa','_getTimePeriodViewByStartDate','ck-reset','addRevision','delegate','flat','setName','_revisions','render','div','ck-disabled','597452fmwyyA','removeRevision','fire','set','createdAt'];_0xcc77=function(){return _0x8f346f;};return _0xcc77();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x522c(_0x280851,_0x10613b){const _0x30188c=_0x3018();return _0x522c=function(_0x522cd5,_0x58d5a2){_0x522cd5=_0x522cd5-0x172;let _0x5a2440=_0x30188c[_0x522cd5];return _0x5a2440;},_0x522c(_0x280851,_0x10613b);}(function(_0x372ce8,_0x594df1){const _0x1afd05=_0x522c,_0x3e2204=_0x372ce8();while(!![]){try{const _0x239ace=parseInt(_0x1afd05(0x189))/0x1*(parseInt(_0x1afd05(0x17c))/0x2)+parseInt(_0x1afd05(0x17a))/0x3*(parseInt(_0x1afd05(0x17b))/0x4)+-parseInt(_0x1afd05(0x180))/0x5+parseInt(_0x1afd05(0x187))/0x6*(parseInt(_0x1afd05(0x173))/0x7)+-parseInt(_0x1afd05(0x17f))/0x8+parseInt(_0x1afd05(0x178))/0x9+-parseInt(_0x1afd05(0x181))/0xa;if(_0x239ace===_0x594df1)break;else _0x3e2204['push'](_0x3e2204['shift']());}catch(_0xd1dc4b){_0x3e2204['push'](_0x3e2204['shift']());}}}(_0x3018,0x79905));import{DateTime as _0x1d0596}from'luxon';export function getDateTimePeriodInfo(_0x3dcee9,_0x3ca3c2){const _0x32f707=_0x522c,_0x26fbb6=_0x1d0596[_0x32f707(0x174)](_0x3dcee9)[_0x32f707(0x17d)](_0x3ca3c2),_0x5832d1=_0x1d0596[_0x32f707(0x186)](),_0x1df80e=_0x5832d1[_0x32f707(0x182)]({'days':0x1})[_0x32f707(0x183)](_0x32f707(0x179));let _0x3dea69,_0x41dd12;return _0x26fbb6[_0x32f707(0x184)](_0x5832d1,_0x32f707(0x179))?(_0x3dea69=_0x26fbb6[_0x32f707(0x183)](_0x32f707(0x179))[_0x32f707(0x185)](),_0x41dd12=_0x26fbb6[_0x32f707(0x177)]()):_0x26fbb6[_0x32f707(0x184)](_0x1df80e,_0x32f707(0x179))?(_0x3dea69=_0x1df80e[_0x32f707(0x185)](),_0x41dd12=_0x26fbb6[_0x32f707(0x177)]()):_0x26fbb6[_0x32f707(0x184)](_0x5832d1,_0x32f707(0x17e))?(_0x3dea69=_0x26fbb6[_0x32f707(0x183)](_0x32f707(0x17e))[_0x32f707(0x185)](),_0x41dd12=_0x26fbb6[_0x32f707(0x172)]||''):_0x26fbb6[_0x32f707(0x184)](_0x5832d1,_0x32f707(0x176))?(_0x3dea69=_0x26fbb6[_0x32f707(0x183)](_0x32f707(0x175))[_0x32f707(0x185)](),_0x41dd12=_0x26fbb6[_0x32f707(0x188)]||''):(_0x3dea69=_0x26fbb6[_0x32f707(0x183)](_0x32f707(0x176))[_0x32f707(0x185)](),_0x41dd12=String(_0x26fbb6[_0x32f707(0x176)])),{'startDate':_0x3dea69,'localizedPeriodName':_0x41dd12};}function _0x3018(){const _0x22400c=['fromJSDate','month','year','toRelativeCalendar','4882455SIuTwj','day','31593HZtMEu','376ljsNLk','2IHqwop','setLocale','week','1446600tVzMbC','813185WkmkUZ','16081310MwgeEO','minus','startOf','hasSame','toJSDate','local','426HfEzVT','monthLong','812171zFyclC','weekdayLong','10346OmIntd'];_0x3018=function(){return _0x22400c;};return _0x3018();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x284dfb=_0x4edc;(function(_0x22e258,_0x2dba71){const _0x318aba=_0x4edc,_0x1c260b=_0x22e258();while(!![]){try{const _0x51ca96=-parseInt(_0x318aba(0x17b))/0x1+parseInt(_0x318aba(0x190))/0x2*(-parseInt(_0x318aba(0x17e))/0x3)+parseInt(_0x318aba(0x17c))/0x4+-parseInt(_0x318aba(0x173))/0x5*(parseInt(_0x318aba(0x179))/0x6)+parseInt(_0x318aba(0x175))/0x7*(-parseInt(_0x318aba(0x188))/0x8)+parseInt(_0x318aba(0x172))/0x9*(-parseInt(_0x318aba(0x185))/0xa)+-parseInt(_0x318aba(0x171))/0xb*(-parseInt(_0x318aba(0x18c))/0xc);if(_0x51ca96===_0x2dba71)break;else _0x1c260b['push'](_0x1c260b['shift']());}catch(_0x2a67af){_0x1c260b['push'](_0x1c260b['shift']());}}}(_0x53a0,0xc1cea));function _0x4edc(_0x31321e,_0x29fbd4){const _0x53a01b=_0x53a0();return _0x4edc=function(_0x4edcbf,_0x2eef57){_0x4edcbf=_0x4edcbf-0x16f;let _0x367cd5=_0x53a01b[_0x4edcbf];return _0x367cd5;},_0x4edc(_0x31321e,_0x29fbd4);}function _0x53a0(){const _0x317717=['Suggested\x20by','span','isSuggestion','focus','6844430UoSXem','type','div','8abteDy','set','data','Added\x20by','24JzupvF','name','setTemplate','ck-revision-change__label','1277798TFqyEB','bindTemplate','add','26895902AiCgjc','18ocxplL','3381475DcZVSJ','changeId','2432332hOTdrV','_model','element','ck-revision-change','6TRfCPE','Removed\x20by','1239772yHlNIi','699992IIfkBI','ck-revision-change__','3VnzFet','author','ck-annotation'];_0x53a0=function(){return _0x317717;};return _0x53a0();}import{View as _0x23e202}from'ckeditor5/src/ui.js';import{getTranslation as _0x1a1c5c}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x23e202{[_0x284dfb(0x174)];[_0x284dfb(0x176)];constructor(_0x2e8f69,_0x5d9b8a){const _0x261d8a=_0x284dfb;super(_0x2e8f69),this[_0x261d8a(0x176)]=_0x5d9b8a,this[_0x261d8a(0x174)]=_0x5d9b8a['id'];const _0x468357=this[_0x261d8a(0x16f)],_0x2270dc=_0x1a1c5c(_0x2e8f69,_0x5d9b8a[_0x261d8a(0x18a)][_0x261d8a(0x183)]?_0x261d8a(0x181):_0x261d8a(0x170)==_0x5d9b8a[_0x261d8a(0x186)]?_0x261d8a(0x18b):_0x261d8a(0x17a));this[_0x261d8a(0x189)](_0x261d8a(0x186),_0x5d9b8a[_0x261d8a(0x186)]),this[_0x261d8a(0x18e)]({'tag':_0x261d8a(0x187),'attributes':{'class':[_0x261d8a(0x180),_0x261d8a(0x178),_0x468357['to'](_0x261d8a(0x186),_0x537527=>_0x261d8a(0x17d)+_0x537527)],'tabindex':-0x1},'children':[{'tag':_0x261d8a(0x182),'children':[{'tag':_0x261d8a(0x182),'attributes':{'class':[_0x261d8a(0x18f)]},'children':[{'text':_0x2270dc}]},{'text':'\x20'+_0x5d9b8a[_0x261d8a(0x17f)][_0x261d8a(0x18d)]}]}]});}[_0x284dfb(0x184)](){const _0x5ed79d=_0x284dfb;this[_0x5ed79d(0x177)][_0x5ed79d(0x184)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x188b(){const _0x444f41=['execute','numberOfChanges','bind','41591gOfMwx','_statusText','ck-revision-history-ui__changes-navigation__label','forward','523752gdsYIx','846375acaKis','div','2316996OpefoE','backward','fire','bindTemplate','isNavigationMode','340HYbhHv','No\x20changes','72LzCjjs','ck-hidden','261207UCNGub','1080fGeeAr','set','Loading...','span','176ExrNcg','7XQnjSU','setTemplate','Total','_isStatusLabelVisible','Show\x20next\x20change','293KwSCdE','ck-revision-history-ui__changes-navigation','isEnabled','NUMBER_OF_CHANGES','currentChangeNumber','isBackwardNavigationEnabled','X_OF_Y_CHANGES','isForwardNavigationEnabled','ck-revision-history-ui','isReady','5448677rJyLLl','Show\x20previous\x20change','EDIT_X_OF_Y_REVISIONS','24hMpZWw','ck-revision-history-ui__changes-navigation__navigation','ck-revision-history-ui__changes-navigation__wrapper'];_0x188b=function(){return _0x444f41;};return _0x188b();}(function(_0x332a6e,_0x3a0e32){const _0x3e05fb=_0x2597,_0x2248f5=_0x332a6e();while(!![]){try{const _0x44fb85=-parseInt(_0x3e05fb(0xad))/0x1*(parseInt(_0x3e05fb(0x9e))/0x2)+-parseInt(_0x3e05fb(0x8c))/0x3*(parseInt(_0x3e05fb(0x96))/0x4)+-parseInt(_0x3e05fb(0x97))/0x5+parseInt(_0x3e05fb(0x99))/0x6*(parseInt(_0x3e05fb(0xa8))/0x7)+-parseInt(_0x3e05fb(0xa7))/0x8*(parseInt(_0x3e05fb(0xa2))/0x9)+-parseInt(_0x3e05fb(0xa3))/0xa*(parseInt(_0x3e05fb(0x92))/0xb)+-parseInt(_0x3e05fb(0xa0))/0xc*(-parseInt(_0x3e05fb(0xb7))/0xd);if(_0x44fb85===_0x3a0e32)break;else _0x2248f5['push'](_0x2248f5['shift']());}catch(_0x39d423){_0x2248f5['push'](_0x2248f5['shift']());}}}(_0x188b,0x8f6e9));function _0x2597(_0x2de574,_0xa686dd){const _0x188b26=_0x188b();return _0x2597=function(_0x259703,_0x10e04c){_0x259703=_0x259703-0x8b;let _0x1a660e=_0x188b26[_0x259703];return _0x1a660e;},_0x2597(_0x2de574,_0xa686dd);}import{View as _0x3519f7,ButtonView as _0xc74c5b,ToolbarSeparatorView as _0xe476cd}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x2ef373,IconChevronDown as _0x496690}from'ckeditor5/src/icons.js';import{getTranslation as _0x223e5b}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x3519f7{constructor(_0x1059a8){const _0x3a0297=_0x2597;super(_0x1059a8);const _0x3d5b24=this[_0x3a0297(0x9c)],_0x5378f0=new _0xc74c5b(_0x1059a8),_0x27e1a7=new _0xc74c5b(_0x1059a8);this[_0x3a0297(0xa4)](_0x3a0297(0x9d),!0x1),this[_0x3a0297(0xa4)](_0x3a0297(0xb6),!0x1),this[_0x3a0297(0xa4)](_0x3a0297(0xb1),0x0),this[_0x3a0297(0xa4)](_0x3a0297(0x90),0x0),this[_0x3a0297(0xa4)](_0x3a0297(0xb4),!0x1),this[_0x3a0297(0xa4)](_0x3a0297(0xb2),!0x1),this[_0x3a0297(0x91)](_0x3a0297(0xab))['to'](this,_0x3a0297(0xb6),this,_0x3a0297(0x90),(_0x201647,_0x488655)=>_0x201647&&_0x488655>0x0),this[_0x3a0297(0x91)](_0x3a0297(0x93))['to'](this,_0x3a0297(0xb6),this,_0x3a0297(0xb1),this,_0x3a0297(0x90),this,_0x3a0297(0x9d),(_0x2fdaf2,_0x8844a3,_0x5e93dc,_0x5b91c8)=>{const _0x33d2bc=_0x3a0297;if(!_0x2fdaf2)return _0x223e5b(_0x1059a8,_0x33d2bc(0xa5));if(!_0x5e93dc)return _0x223e5b(_0x1059a8,_0x33d2bc(0x9f));const _0x945071=_0x223e5b(_0x1059a8,_0x33d2bc(0xb0),_0x5e93dc);return _0x5b91c8?_0x223e5b(_0x1059a8,_0x33d2bc(0xb3),[_0x8844a3+0x1,_0x5e93dc]):_0x945071;}),_0x5378f0[_0x3a0297(0xa4)]({'label':_0x223e5b(_0x1059a8,_0x3a0297(0xb8)),'tooltip':!0x0,'icon':_0x2ef373}),_0x27e1a7[_0x3a0297(0xa4)]({'label':_0x223e5b(_0x1059a8,_0x3a0297(0xac)),'tooltip':!0x0,'icon':_0x496690}),_0x5378f0[_0x3a0297(0x91)](_0x3a0297(0xaf))['to'](this,_0x3a0297(0xb2)),_0x27e1a7[_0x3a0297(0x91)](_0x3a0297(0xaf))['to'](this,_0x3a0297(0xb4)),_0x5378f0['on'](_0x3a0297(0x8f),()=>this[_0x3a0297(0x9b)](_0x3a0297(0x8f),_0x3a0297(0x9a))),_0x27e1a7['on'](_0x3a0297(0x8f),()=>this[_0x3a0297(0x9b)](_0x3a0297(0x8f),_0x3a0297(0x95))),this[_0x3a0297(0xa9)]({'tag':_0x3a0297(0x98),'attributes':{'class':['ck',_0x3a0297(0xb5),_0x3a0297(0xae)]},'children':[{'tag':_0x3a0297(0xa6),'attributes':{'class':[_0x3a0297(0x8e)]},'children':[{'tag':_0x3a0297(0xa6),'attributes':{'class':[_0x3a0297(0x94),_0x3d5b24['if'](_0x3a0297(0xab),_0x3a0297(0xa1),_0x6d2b88=>!_0x6d2b88)]},'children':[{'text':_0x3d5b24['to'](_0x3a0297(0x9d),_0x56b9a8=>_0x56b9a8?_0x223e5b(_0x1059a8,_0x3a0297(0x8b))+':\x20':_0x223e5b(_0x1059a8,_0x3a0297(0xaa))+':\x20')}]},{'text':_0x3d5b24['to'](_0x3a0297(0x93))}]},new _0xe476cd(),{'tag':_0x3a0297(0x98),'attributes':{'class':[_0x3a0297(0x8d)]},'children':[_0x5378f0,_0x27e1a7]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12faed=_0x37c8;function _0x15dc(){const _0x454553=['10115476krjrXN','RevisionViewerLoadingOverlay','ck-editor__editable__loading-overlay','editing','editor','document','11WCEjUM','864sCzXJG','removeClass','25516uojREC','605ryhepj','pluginName','isPremiumPlugin','change','isOfficialPlugin','16158610aHLenE','addClass','639byZjaj','hide','60sfDXbz','1smvKxa','53736OckgPs','8236490JdBfgL','roots','view','show','58221gXhLZT','2633104sKZCVq'];_0x15dc=function(){return _0x454553;};return _0x15dc();}(function(_0x51994d,_0x5f503d){const _0x3e7da8=_0x37c8,_0x18b8ad=_0x51994d();while(!![]){try{const _0xd37f8e=-parseInt(_0x3e7da8(0x1b6))/0x1*(parseInt(_0x3e7da8(0x1a1))/0x2)+parseInt(_0x3e7da8(0x1b3))/0x3*(-parseInt(_0x3e7da8(0x1ab))/0x4)+parseInt(_0x3e7da8(0x1ac))/0x5*(-parseInt(_0x3e7da8(0x1b7))/0x6)+-parseInt(_0x3e7da8(0x1a2))/0x7+-parseInt(_0x3e7da8(0x1a9))/0x8*(-parseInt(_0x3e7da8(0x1a0))/0x9)+-parseInt(_0x3e7da8(0x19c))/0xa*(parseInt(_0x3e7da8(0x1a8))/0xb)+-parseInt(_0x3e7da8(0x1b5))/0xc*(-parseInt(_0x3e7da8(0x1b1))/0xd);if(_0xd37f8e===_0x5f503d)break;else _0x18b8ad['push'](_0x18b8ad['shift']());}catch(_0x13b7c6){_0x18b8ad['push'](_0x18b8ad['shift']());}}}(_0x15dc,0xd8446));import{Plugin as _0x40ef6e}from'ckeditor5/src/core.js';const ge=_0x12faed(0x1a4);function _0x37c8(_0x2eb7ae,_0x7284da){const _0x15dc91=_0x15dc();return _0x37c8=function(_0x37c81b,_0x2dda8d){_0x37c81b=_0x37c81b-0x19c;let _0x538993=_0x15dc91[_0x37c81b];return _0x538993;},_0x37c8(_0x2eb7ae,_0x7284da);}import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0x40ef6e{static get[_0x12faed(0x1ad)](){const _0x2380cb=_0x12faed;return _0x2380cb(0x1a3);}static get[_0x12faed(0x1b0)](){return!0x0;}static get[_0x12faed(0x1ae)](){return!0x0;}[_0x12faed(0x19f)](){const _0x10742a=_0x12faed,_0x183c7b=this[_0x10742a(0x1a6)][_0x10742a(0x1a5)][_0x10742a(0x19e)];_0x183c7b[_0x10742a(0x1af)](_0x4f3852=>{const _0xb41f38=_0x10742a;for(const _0x18c972 of _0x183c7b[_0xb41f38(0x1a7)][_0xb41f38(0x19d)])_0x4f3852[_0xb41f38(0x1b2)](ge,_0x18c972);});}[_0x12faed(0x1b4)](){const _0x2cbc68=_0x12faed,_0x1b0277=this[_0x2cbc68(0x1a6)][_0x2cbc68(0x1a5)][_0x2cbc68(0x19e)];_0x1b0277[_0x2cbc68(0x1af)](_0x5ead16=>{const _0x5cb9d5=_0x2cbc68;for(const _0x2370e6 of _0x1b0277[_0x5cb9d5(0x1a7)][_0x5cb9d5(0x19d)])_0x5ead16[_0x5cb9d5(0x1aa)](ge,_0x2370e6);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1dbf17=_0x1354;(function(_0x104066,_0x1df779){const _0x4e9cd2=_0x1354,_0x383617=_0x104066();while(!![]){try{const _0x2759b5=-parseInt(_0x4e9cd2(0x13a))/0x1*(parseInt(_0x4e9cd2(0x155))/0x2)+-parseInt(_0x4e9cd2(0x14e))/0x3*(parseInt(_0x4e9cd2(0x14b))/0x4)+parseInt(_0x4e9cd2(0x15b))/0x5*(-parseInt(_0x4e9cd2(0x14a))/0x6)+parseInt(_0x4e9cd2(0x142))/0x7+-parseInt(_0x4e9cd2(0x159))/0x8*(-parseInt(_0x4e9cd2(0x136))/0x9)+-parseInt(_0x4e9cd2(0x150))/0xa*(parseInt(_0x4e9cd2(0x135))/0xb)+-parseInt(_0x4e9cd2(0x139))/0xc*(-parseInt(_0x4e9cd2(0x129))/0xd);if(_0x2759b5===_0x1df779)break;else _0x383617['push'](_0x383617['shift']());}catch(_0x1f470f){_0x383617['push'](_0x383617['shift']());}}}(_0x1c5c,0x1ea83));import{Plugin as _0x4bf2fa}from'ckeditor5/src/core.js';import{ButtonView as _0x6c5e6d}from'ckeditor5/src/ui.js';import{IconUndo as _0x2fae7b}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x19d420}from'./changesnavigationview.js';import{RevisionViewer as _0x34775e}from'./../../revisionviewer.js';function _0x1354(_0x449783,_0x465bea){const _0x1c5c85=_0x1c5c();return _0x1354=function(_0x1354db,_0x4c2b47){_0x1354db=_0x1354db-0x129;let _0x451c73=_0x1c5c85[_0x1354db];return _0x451c73;},_0x1354(_0x449783,_0x465bea);}import{RevisionViewerLoadingOverlay as _0x2797af}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x4f8788}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';function _0x1c5c(){const _0x33feee=['hide','requires','Back\x20to\x20editing','closeRevisionViewerCallback','isNavigationMode','listenTo','1307922NxFcFo','showPreviousChange','Restore\x20this\x20revision','bind','add','ck-revision-history-ui__back-to-editing','init','showNextChange','6XjxQnS','34344uDeauS','editor','config','27opMHfg','pluginName','1635650TswyLM','execute','revisionHistory','commands','exitToEditing','115364fRquHV','componentFactory','isForwardNavigationEnabled','restoreRevision','3272gctBXK','isEnabled','876930YCwWUz','449969YTcyoi','get','show','forward','changesNavigation','currentChangeNumber','isPremiumPlugin','numberOfChanges','change:isReady','plugins','isReady','set','11JsxDGh','1971wnxZGw','isOfficialPlugin','RevisionViewerUI','132pUOdYx','2jhvSZa','isBackwardNavigationEnabled'];_0x1c5c=function(){return _0x33feee;};return _0x1c5c();}export class RevisionViewerUI extends _0x4bf2fa{static get[_0x1dbf17(0x14f)](){const _0x2cca06=_0x1dbf17;return _0x2cca06(0x138);}static get[_0x1dbf17(0x137)](){return!0x0;}static get[_0x1dbf17(0x12f)](){return!0x0;}static get[_0x1dbf17(0x13d)](){return[_0x34775e,_0x2797af];}[_0x1dbf17(0x148)](){const _0x3836ea=_0x1dbf17,_0x2346b9=this[_0x3836ea(0x14c)],_0x544702=_0x2346b9[_0x3836ea(0x132)][_0x3836ea(0x12a)](_0x34775e),_0x198783=_0x2346b9[_0x3836ea(0x132)][_0x3836ea(0x12a)](_0x2797af);_0x2346b9['ui'][_0x3836ea(0x156)][_0x3836ea(0x146)](_0x3836ea(0x154),_0x1bd6f1=>{const _0x5da4fc=_0x3836ea,_0x2925b7=new _0x6c5e6d(_0x1bd6f1);return _0x2925b7[_0x5da4fc(0x134)]({'label':_0x4f8788(_0x1bd6f1,_0x5da4fc(0x13e)),'icon':_0x2fae7b,'withText':!0x0,'tooltip':!0x0,'class':_0x5da4fc(0x147)}),this[_0x5da4fc(0x141)](_0x2925b7,_0x5da4fc(0x151),()=>{const _0xc3f692=_0x5da4fc;_0x2346b9[_0xc3f692(0x14d)][_0xc3f692(0x12a)](_0xc3f692(0x152))[_0xc3f692(0x13f)]();}),_0x2925b7;}),_0x2346b9['ui'][_0x3836ea(0x156)][_0x3836ea(0x146)](_0x3836ea(0x158),_0x5d3e4b=>{const _0x1fb452=_0x3836ea,_0x2480ff=new _0x6c5e6d(_0x5d3e4b);return _0x2480ff[_0x1fb452(0x134)]({'label':_0x4f8788(_0x5d3e4b,_0x1fb452(0x144)),'withText':!0x0,'tooltip':!0x0}),_0x2480ff[_0x1fb452(0x145)](_0x1fb452(0x15a))['to'](_0x2346b9[_0x1fb452(0x153)][_0x1fb452(0x12a)](_0x1fb452(0x158))),this[_0x1fb452(0x141)](_0x2480ff,_0x1fb452(0x151),()=>_0x2346b9[_0x1fb452(0x151)](_0x1fb452(0x158))),_0x2480ff;}),_0x2346b9['ui'][_0x3836ea(0x156)][_0x3836ea(0x146)](_0x3836ea(0x12d),_0x2e1cce=>{const _0x43d932=_0x3836ea,_0x3bf968=new _0x19d420(_0x2e1cce),_0x2de778=_0x2346b9[_0x43d932(0x153)][_0x43d932(0x12a)](_0x43d932(0x143)),_0x2d66a6=_0x2346b9[_0x43d932(0x153)][_0x43d932(0x12a)](_0x43d932(0x149));return _0x3bf968[_0x43d932(0x145)](_0x43d932(0x13b))['to'](_0x2de778,_0x43d932(0x15a)),_0x3bf968[_0x43d932(0x145)](_0x43d932(0x157))['to'](_0x2d66a6,_0x43d932(0x15a)),_0x3bf968[_0x43d932(0x145)](_0x43d932(0x133),_0x43d932(0x12e),_0x43d932(0x130),_0x43d932(0x140))['to'](_0x544702),this[_0x43d932(0x141)](_0x3bf968,_0x43d932(0x151),(_0x48dc90,_0x45dbb7)=>{const _0x46ee16=_0x43d932;_0x2346b9[_0x46ee16(0x151)](_0x46ee16(0x12c)===_0x45dbb7?_0x46ee16(0x149):_0x46ee16(0x143));}),_0x3bf968;}),_0x198783[_0x3836ea(0x12b)](),_0x544702['on'](_0x3836ea(0x131),(_0x42554b,_0x418193,_0x562a47)=>{const _0x41bcf9=_0x3836ea;_0x562a47?_0x198783[_0x41bcf9(0x13c)]():_0x198783[_0x41bcf9(0x12b)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x3f2792,_0x3cd122,_0x33e94d){const t=_0x3f2792['t'];switch(_0x3cd122){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x33e94d);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x33e94d);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
- `2 * var(--ck-spacing-small)` <- Additional margin for all elements inside the toolbar.
|
|
27
27
|
- `1px` <- Top border.
|
|
28
28
|
|
|
29
|
-
See https://github.com/
|
|
29
|
+
See https://github.com/ckeditor/ckeditor5-commercial/issues/6929.
|
|
30
30
|
*/
|
|
31
31
|
--header-height: max(
|
|
32
32
|
calc(var(--ck-ui-component-min-height) + 2 * var(--ck-spacing-small) + 1px),
|