@ckeditor/ckeditor5-revision-history 44.0.0-alpha.9 → 44.1.0-alpha.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/augmentation.d.ts +1 -1
- package/dist/changeitem.d.ts +1 -1
- package/dist/editor/revisionviewereditor.d.ts +1 -1
- package/dist/editor/revisionviewereditorui.d.ts +1 -1
- package/dist/editor/revisionviewereditoruiview.d.ts +1 -1
- package/dist/index.css +15 -15
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/revision.d.ts +1 -1
- package/dist/revisiondiff.d.ts +1 -1
- package/dist/revisionhistory.d.ts +1 -1
- package/dist/revisionhistoryadapter.d.ts +1 -1
- package/dist/revisionhistoryconfig.d.ts +1 -1
- package/dist/revisionsrepository.d.ts +1 -1
- package/dist/revisiontracker.d.ts +1 -1
- package/dist/revisionviewer.d.ts +1 -1
- 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/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/dist/ui/revision/createrevisionactionsdropdown.d.ts +1 -1
- package/dist/ui/revision/revisionauthorview.d.ts +1 -1
- package/dist/ui/revision/revisionnameview.d.ts +1 -1
- package/dist/ui/revision/revisionview.d.ts +1 -1
- package/dist/ui/revision/subrevisioncollapserview.d.ts +1 -1
- package/dist/ui/revision/subrevisionview.d.ts +1 -1
- package/dist/ui/revision/utils.d.ts +1 -1
- package/dist/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +1 -1
- package/dist/ui/revisionhistory/revisionhistoryui.d.ts +1 -1
- package/dist/ui/revisionssidebar/revisionssidebar.d.ts +1 -1
- package/dist/ui/revisionssidebar/revisionssidebarheaderview.d.ts +1 -1
- package/dist/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +1 -1
- package/dist/ui/revisionssidebar/revisionssidebarview.d.ts +1 -1
- package/dist/ui/revisionssidebar/utils.d.ts +1 -1
- package/dist/ui/revisionviewer/changedetailsview.d.ts +1 -1
- package/dist/ui/revisionviewer/changesnavigationview.d.ts +1 -1
- package/dist/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +1 -1
- package/dist/ui/revisionviewer/revisionviewerui.d.ts +1 -1
- package/dist/utils/common-translations.d.ts +1 -1
- package/package.json +8 -8
- package/src/augmentation.d.ts +1 -1
- package/src/changeitem.d.ts +1 -1
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.d.ts +1 -1
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.d.ts +1 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.d.ts +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/revision.d.ts +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.d.ts +1 -1
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.d.ts +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryadapter.d.ts +1 -1
- package/src/revisionhistoryconfig.d.ts +1 -1
- package/src/revisionsrepository.d.ts +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.d.ts +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.d.ts +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.d.ts +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.d.ts +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.d.ts +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.d.ts +1 -1
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.d.ts +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.d.ts +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.d.ts +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.d.ts +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.d.ts +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.d.ts +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.d.ts +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.d.ts +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.d.ts +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.d.ts +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +1 -1
- package/theme/changesnavigation.css +1 -1
- package/theme/revision/revision.css +1 -1
- package/theme/revision/revisionactions.css +1 -1
- package/theme/revision/revisionauthor.css +1 -1
- package/theme/revision/revisionname.css +1 -1
- package/theme/revision/subrevision.css +1 -1
- package/theme/revision/subrevisioncollapser.css +1 -1
- package/theme/revisionhistorysaverevisionform.css +1 -1
- package/theme/revisionssidebar/revisionssidebar.css +1 -1
- package/theme/revisionssidebar/revisionssidebarheader.css +1 -1
- package/theme/revisionssidebar/revisionssidebartimeperiod.css +1 -1
- package/theme/revisionviewer.css +1 -1
- package/theme/revisionviewerloadingoverlay.css +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x457b27=_0x46f6;(function(_0x3cdf5b,_0x4408ec){const _0x22a689=_0x46f6,_0x318bfa=_0x3cdf5b();while(!![]){try{const _0x582b09=parseInt(_0x22a689(0xe7))/0x1*(parseInt(_0x22a689(0xe9))/0x2)+-parseInt(_0x22a689(0xfc))/0x3+-parseInt(_0x22a689(0xe4))/0x4*(parseInt(_0x22a689(0xfd))/0x5)+parseInt(_0x22a689(0xed))/0x6*(-parseInt(_0x22a689(0xec))/0x7)+parseInt(_0x22a689(0xf9))/0x8*(parseInt(_0x22a689(0xee))/0x9)+-parseInt(_0x22a689(0xf2))/0xa*(parseInt(_0x22a689(0xf6))/0xb)+parseInt(_0x22a689(0xf0))/0xc;if(_0x582b09===_0x4408ec)break;else _0x318bfa['push'](_0x318bfa['shift']());}catch(_0x58da76){_0x318bfa['push'](_0x318bfa['shift']());}}}(_0x3d76,0x2cc32));import{View as _0x2ff907}from'ckeditor5/src/ui.js';import _0x118df5 from'./revisionauthorview.js';function _0x46f6(_0x4a6315,_0x390ad4){const _0x3d76d0=_0x3d76();return _0x46f6=function(_0x46f6e7,_0x4cd0e8){_0x46f6e7=_0x46f6e7-0xe0;let _0x3777e2=_0x3d76d0[_0x46f6e7];return _0x3777e2;},_0x46f6(_0x4a6315,_0x390ad4);}import{dateToPrettyFormat as _0x4d429c}from'./utils.js';function _0x3d76(){const _0x2971b1=['_parentRevisionId','select','3323RZutpS','set','94RiQSFx','ck-revision-history-sidebar__revision_selected','uiLanguage','28xlWiDy','156444bfinDT','225asnbEf','span','4615800emXBJn','fire','10WpRPyD','setTemplate','ck-revision-history-sidebar__revision-authors','isSelected','2436962hTxgcI','ck-revision-history-sidebar__revision','createdAt','57968gwynjb','bind','div','188445wTDZDN','124985hHLCpu','_createdAtFormatted','bindTemplate','ck-revision-history-sidebar__subrevision','deselect','ck-reset','creator','ck-revision-history-sidebar__revision__date','24ZTplsM'];_0x3d76=function(){return _0x2971b1;};return _0x3d76();}import'../../../theme/revision/subrevision.css';export default class cs extends _0x2ff907{constructor(_0x105558,_0x19751d,_0x5f14c9){const _0xf3b1cd=_0x46f6;super(_0x105558);const _0x2a12d7=this[_0xf3b1cd(0xff)];this['id']=_0x19751d['id'],this[_0xf3b1cd(0xfa)](_0xf3b1cd(0xf8))['to'](_0x19751d),this[_0xf3b1cd(0xe8)](_0xf3b1cd(0xf5),!0x1),this[_0xf3b1cd(0xfa)](_0xf3b1cd(0xfe))['to'](this,_0xf3b1cd(0xf8),_0x5e1aa7=>_0x5e1aa7?_0x4d429c(_0x105558[_0xf3b1cd(0xeb)],_0x5e1aa7):void 0x0),this[_0xf3b1cd(0xe5)]=_0x5f14c9,this[_0xf3b1cd(0xf3)]({'tag':_0xf3b1cd(0xfb),'attributes':{'class':['ck',_0xf3b1cd(0xe1),_0xf3b1cd(0xf7),_0xf3b1cd(0x100),_0x2a12d7['if'](_0xf3b1cd(0xf5),_0xf3b1cd(0xea))]},'children':[{'tag':_0xf3b1cd(0xef),'attributes':{'class':['ck',_0xf3b1cd(0xe3)]},'children':[{'text':_0x2a12d7['to'](_0xf3b1cd(0xfe))}]},{'tag':'ul','attributes':{'class':['ck',_0xf3b1cd(0xf4)]},'children':[new _0x118df5(_0x105558,_0x19751d[_0xf3b1cd(0xe2)],!0x0)]}],'on':{'click':_0x2a12d7['to'](this[_0xf3b1cd(0xe6)][_0xf3b1cd(0xfa)](this))}});}[_0x457b27(0xe6)](){const _0x56f2fd=_0x457b27;this[_0x56f2fd(0xf5)]=!0x0,this[_0x56f2fd(0xf1)](_0x56f2fd(0xe6),{'parentId':this[_0x56f2fd(0xe5)]});}[_0x457b27(0xe0)](){const _0x3a39df=_0x457b27;this[_0x3a39df(0xf5)]=!0x1;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
export {};
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xc742a,_0xbeb861){var _0x39731b=_0x23b0,_0x2078e7=_0xc742a();while(!![]){try{var _0x18262c=parseInt(_0x39731b(0x116))/0x1+-parseInt(_0x39731b(0x10a))/0x2*(-parseInt(_0x39731b(0x112))/0x3)+parseInt(_0x39731b(0x10f))/0x4+-parseInt(_0x39731b(0x10e))/0x5+-parseInt(_0x39731b(0x10b))/0x6*(-parseInt(_0x39731b(0x113))/0x7)+parseInt(_0x39731b(0x114))/0x8+parseInt(_0x39731b(0x115))/0x9*(-parseInt(_0x39731b(0x111))/0xa);if(_0x18262c===_0xbeb861)break;else _0x2078e7['push'](_0x2078e7['shift']());}catch(_0x769b84){_0x2078e7['push'](_0x2078e7['shift']());}}}(_0x15e1,0xc758f));function _0x15e1(){var _0x1ea4cb=['1314772igzXOE','long','12ytWjil','101526sLrZOw','numeric','toLocaleTimeString','6782250ucuUIl','583112iSFMeH','toLocaleDateString','8630spuNFl','194016LXWXZZ','322jXwocl','8615928sWyaJa','15966wfGuPe'];_0x15e1=function(){return _0x1ea4cb;};return _0x15e1();}function _0x23b0(_0x7f155f,_0x307b13){var _0x15e1d2=_0x15e1();return _0x23b0=function(_0x23b00d,_0x550f0f){_0x23b00d=_0x23b00d-0x10a;var _0x1b3abc=_0x15e1d2[_0x23b00d];return _0x1b3abc;},_0x23b0(_0x7f155f,_0x307b13);}export function dateToPrettyFormat(_0x5af4fc,_0x237713){var _0x288e31=_0x23b0;return _0x237713[_0x288e31(0x110)](_0x5af4fc,{'month':_0x288e31(0x117),'day':_0x288e31(0x10c)})+',\x20'+_0x237713[_0x288e31(0x10d)](_0x5af4fc,{'hour':_0x288e31(0x10c),'minute':_0x288e31(0x10c)});}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module revision-history/ui/revisionhistory/revisionhistorysaverevisionformview
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ac684=_0x822f;(function(_0x5bfe2b,_0x4ab777){const _0x8669c7=_0x822f,_0x5e85c6=_0x5bfe2b();while(!![]){try{const _0xc6d658=-parseInt(_0x8669c7(0x187))/0x1+-parseInt(_0x8669c7(0x172))/0x2*(-parseInt(_0x8669c7(0x193))/0x3)+parseInt(_0x8669c7(0x174))/0x4*(parseInt(_0x8669c7(0x17a))/0x5)+parseInt(_0x8669c7(0x183))/0x6+-parseInt(_0x8669c7(0x184))/0x7+-parseInt(_0x8669c7(0x17b))/0x8*(parseInt(_0x8669c7(0x173))/0x9)+-parseInt(_0x8669c7(0x16d))/0xa;if(_0xc6d658===_0x4ab777)break;else _0x5e85c6['push'](_0x5e85c6['shift']());}catch(_0x15b4ab){_0x5e85c6['push'](_0x5e85c6['shift']());}}}(_0x5099,0x1e78c));import{LabeledFieldView as _0x54658f,View as _0x26fb77,createLabeledInputText as _0x40d00b,injectCssTransitionDisabler as _0x42e77c,submitHandler as _0x38e217}from'ckeditor5/src/ui.js';function _0x822f(_0x5bb547,_0xfc34c8){const _0x5099c6=_0x5099();return _0x822f=function(_0x822f2c,_0x1d0f81){_0x822f2c=_0x822f2c-0x16b;let _0x493126=_0x5099c6[_0x822f2c];return _0x493126;},_0x822f(_0x5bb547,_0xfc34c8);}function _0x5099(){const _0x1ebec6=['ck-responsive-form','errorText','fieldView','focus','extendTemplate','focusTracker','value','input','stopPropagation','revisionNameInputValue','220','3dcNPgx','render','element','optional','set','1426570dzGlSI','ck-revision-history-save-revision-form','arrowright','keystrokes','arrowleft','296052hhaQMx','9hMUanM','4JjBeaa','trim','reset','Name\x20of\x20the\x20revision','listenTo','add','788845rbCnfc','302480pxtjSd','arrowdown','arrowup','revisionNameInputView','locale','setTemplate','revisionName','_createRevisionNameInput','938604nWeOxf','797573VPhCeP','form','label','43011LmEpHd'];_0x5099=function(){return _0x1ebec6;};return _0x5099();}import{FocusTracker as _0x5375ee,KeystrokeHandler as _0x4ffdb1}from'ckeditor5/src/utils.js';import{getTranslation as _0x5e8ad2}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class hs extends _0x26fb77{constructor(_0x1ab624,_0x46ba1f){const _0x28125c=_0x822f;super(_0x1ab624),this[_0x28125c(0x18d)]=new _0x5375ee(),this[_0x28125c(0x170)]=new _0x4ffdb1(),this[_0x28125c(0x16c)](_0x28125c(0x191),''),this[_0x28125c(0x17e)]=this[_0x28125c(0x182)](_0x46ba1f),this[_0x28125c(0x180)]({'tag':_0x28125c(0x185),'attributes':{'class':['ck',_0x28125c(0x16e),_0x28125c(0x188)],'tabindex':'-1'},'children':[this[_0x28125c(0x17e)]]}),_0x42e77c(this);}[_0x3ac684(0x194)](){const _0x390784=_0x3ac684;super[_0x390784(0x194)](),_0x38e217({'view':this}),this[_0x390784(0x18d)][_0x390784(0x179)](this[_0x390784(0x17e)][_0x390784(0x195)]),this[_0x390784(0x170)][_0x390784(0x178)](this[_0x390784(0x195)]);const _0x1feafd=_0x31eb05=>_0x31eb05[_0x390784(0x190)]();this[_0x390784(0x170)][_0x390784(0x16c)](_0x390784(0x16f),_0x1feafd),this[_0x390784(0x170)][_0x390784(0x16c)](_0x390784(0x171),_0x1feafd),this[_0x390784(0x170)][_0x390784(0x16c)](_0x390784(0x17d),_0x1feafd),this[_0x390784(0x170)][_0x390784(0x16c)](_0x390784(0x17c),_0x1feafd);}[_0x3ac684(0x18b)](){const _0x1dfcbf=_0x3ac684;this[_0x1dfcbf(0x17e)][_0x1dfcbf(0x18b)]();}get[_0x3ac684(0x181)](){const _0x1d5198=_0x3ac684;return this[_0x1d5198(0x17e)][_0x1d5198(0x18a)][_0x1d5198(0x195)][_0x1d5198(0x18e)][_0x1d5198(0x175)]();}set[_0x3ac684(0x181)](_0x52293d){const _0x4f4cbc=_0x3ac684;this[_0x4f4cbc(0x17e)][_0x4f4cbc(0x18a)][_0x4f4cbc(0x195)][_0x4f4cbc(0x18e)]=_0x52293d[_0x4f4cbc(0x175)]();}[_0x3ac684(0x176)](){const _0x35600c=_0x3ac684;this[_0x35600c(0x17e)][_0x35600c(0x18a)][_0x35600c(0x195)][_0x35600c(0x18e)]='',this[_0x35600c(0x17e)][_0x35600c(0x189)]=null;}[_0x3ac684(0x182)](_0x3b33e5){const _0x593f8d=_0x3ac684,_0x9db471=new _0x54658f(this[_0x593f8d(0x17f)],_0x40d00b),_0x5bb178=_0x9db471[_0x593f8d(0x18a)];_0x5bb178[_0x593f8d(0x18c)]({'attributes':{'maxlength':_0x593f8d(0x192)}});let _0x1d15d3=_0x5e8ad2(this[_0x593f8d(0x17f)],_0x593f8d(0x177));return!_0x3b33e5&&(_0x1d15d3+='\x20('+_0x5e8ad2(this[_0x593f8d(0x17f)],_0x593f8d(0x16b))+')'),(_0x9db471[_0x593f8d(0x186)]=_0x1d15d3,_0x5bb178['on'](_0x593f8d(0x18f),()=>{const _0x1bb567=_0x593f8d;this[_0x1bb567(0x191)]=_0x5bb178[_0x1bb567(0x195)][_0x1bb567(0x18e)][_0x1bb567(0x175)]();}),_0x9db471);}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module revision-history/ui/revisionhistory/revisionhistoryui
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x24a6(_0x34dd7e,_0x2e874d){const _0x5bf3aa=_0x5bf3();return _0x24a6=function(_0x24a6a8,_0x57e6b5){_0x24a6a8=_0x24a6a8-0x101;let _0x552855=_0x5bf3aa[_0x24a6a8];return _0x552855;},_0x24a6(_0x34dd7e,_0x2e874d);}const _0x32cc97=_0x24a6;(function(_0x5c9059,_0x184b4c){const _0xeef9a7=_0x24a6,_0x378e1e=_0x5c9059();while(!![]){try{const _0x139767=parseInt(_0xeef9a7(0x114))/0x1+parseInt(_0xeef9a7(0x12f))/0x2+-parseInt(_0xeef9a7(0x115))/0x3*(parseInt(_0xeef9a7(0x108))/0x4)+-parseInt(_0xeef9a7(0x11d))/0x5+-parseInt(_0xeef9a7(0x141))/0x6+parseInt(_0xeef9a7(0x135))/0x7*(parseInt(_0xeef9a7(0x127))/0x8)+-parseInt(_0xeef9a7(0x143))/0x9;if(_0x139767===_0x184b4c)break;else _0x378e1e['push'](_0x378e1e['shift']());}catch(_0x3fdb83){_0x378e1e['push'](_0x378e1e['shift']());}}}(_0x5bf3,0xa9be9));import{Plugin as _0x3c3f52,icons as _0x12791b}from'ckeditor5/src/core.js';import{createDropdown as _0x2548c2,ButtonView as _0x3850b3,ListItemView as _0x3bcd4c,ListView as _0x114a80,MenuBarMenuListItemButtonView as _0x341196,MenuBarMenuListItemView as _0x59c25c,MenuBarMenuListView as _0x3d6afb,MenuBarMenuView as _0x4e4f31}from'ckeditor5/src/ui.js';import _0x4dff64 from'../../revisiontracker.js';import _0x4bfd66 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x563b19}from'../../utils/common-translations.js';function _0x5bf3(){const _0x32e90d=['isPremiumPlugin','panelView','_createSaveRevisionFormView','1305399WPOzEc','6ESZFAm','isEnabled','bind','Open\x20revision\x20history','pluginName','hide','history','isOfficialPlugin','794100vwnUgK','children','_showDialog','locale','saveRevision','_saveRevisionFormView','show','errorText','focus','editing','8QHrUPx','isReady','submit','items','add','componentFactory','revisionSave','Cancel','2497974WEsRwF','addMany','config','revisionHistory.requireRevisionName','Save\x20current\x20revision','The\x20revision\x20name\x20cannot\x20be\x20empty.','1050266fJtYsU','buttonView','_registerMenuComponent','view','init','delegate','requires','ck-button-action','Dialog','isReadOnly','showRevisionViewerCallback','execute','1944036oUbfWz','isOpen','4317039gjiKOO','reset','revisionName','RevisionTracker','revisionNameInputView','get','menuBar:revisionHistory','menuitem','role','menu','2093308SDArNa','Accept','Revision\x20history','revisionHistory','editor','RevisionHistoryUI','render','set','plugins'];_0x5bf3=function(){return _0x32e90d;};return _0x5bf3();}export default class u extends _0x3c3f52{static get[_0x32cc97(0x119)](){const _0x2d1921=_0x32cc97;return _0x2d1921(0x10d);}static get[_0x32cc97(0x11c)](){return!0x0;}static get[_0x32cc97(0x111)](){return!0x0;}static get[_0x32cc97(0x13b)](){return[_0x4dff64];}[_0x32cc97(0x139)](){const _0x1f50d7=_0x32cc97,_0x2d67c0=this[_0x1f50d7(0x10c)],_0xa16cad=_0x2d67c0[_0x1f50d7(0x110)][_0x1f50d7(0x103)](_0x1f50d7(0x101));_0x2d67c0['ui'][_0x1f50d7(0x12c)][_0x1f50d7(0x12b)](_0x1f50d7(0x10b),_0x2a4cfe=>{const _0x3c06f3=_0x1f50d7,_0x1bb1ab=_0x2548c2(_0x2a4cfe),_0x53f469=_0x1bb1ab[_0x3c06f3(0x112)][_0x3c06f3(0x11e)],_0x42aac1=new _0x114a80(_0x2a4cfe),_0x546dc3=new _0x3bcd4c(_0x2a4cfe),_0x58497d=new _0x3850b3(_0x2a4cfe),_0x4eafe3=new _0x3bcd4c(_0x2a4cfe),_0x2bef3b=new _0x3850b3(_0x2a4cfe);return _0x1bb1ab[_0x3c06f3(0x117)](_0x3c06f3(0x116))['to'](_0xa16cad,_0x3c06f3(0x128),_0xa16cad,_0x3c06f3(0x116),_0x2d67c0,_0x3c06f3(0x13e),(_0x1b6236,_0x534e85,_0x12dd91)=>_0x1b6236&&_0x534e85&&!_0x12dd91),_0x1bb1ab[_0x3c06f3(0x136)][_0x3c06f3(0x10f)]({'icon':_0x12791b[_0x3c06f3(0x11b)],'label':_0x563b19(_0x2a4cfe,_0x3c06f3(0x10a)),'tooltip':!0x0}),_0x58497d[_0x3c06f3(0x10f)]({'label':_0x563b19(_0x2a4cfe,_0x3c06f3(0x133)),'withText':!0x0,'role':_0x3c06f3(0x105)}),_0x58497d[_0x3c06f3(0x117)](_0x3c06f3(0x116))['to'](_0xa16cad,_0x3c06f3(0x128),_0xa16cad,_0x3c06f3(0x116),_0x2d67c0,_0x3c06f3(0x13e),(_0x2e2ec1,_0x807aa5,_0x3028e8)=>_0x2e2ec1&&_0x807aa5&&!_0x3028e8),_0x58497d['on'](_0x3c06f3(0x140),()=>this[_0x3c06f3(0x11f)]()),_0x2bef3b[_0x3c06f3(0x10f)]({'label':_0x563b19(_0x2a4cfe,_0x3c06f3(0x118)),'withText':!0x0,'role':_0x3c06f3(0x105)}),_0x2bef3b[_0x3c06f3(0x117)](_0x3c06f3(0x116))['to'](_0xa16cad,_0x3c06f3(0x128),_0x2d67c0,_0x3c06f3(0x13e),(_0x452d4f,_0x2ec8c5)=>_0x452d4f&&!_0x2ec8c5),_0x2bef3b['on'](_0x3c06f3(0x140),()=>{const _0x167f75=_0x3c06f3;_0x2d67c0[_0x167f75(0x131)][_0x167f75(0x103)](_0x167f75(0x10b))[_0x167f75(0x13f)](),_0x1bb1ab[_0x167f75(0x142)]=!0x1,_0x2d67c0[_0x167f75(0x126)][_0x167f75(0x138)][_0x167f75(0x125)]();}),_0x546dc3[_0x3c06f3(0x11e)][_0x3c06f3(0x12b)](_0x58497d),_0x4eafe3[_0x3c06f3(0x11e)][_0x3c06f3(0x12b)](_0x2bef3b),_0x42aac1[_0x3c06f3(0x106)]=_0x3c06f3(0x107),_0x42aac1[_0x3c06f3(0x12a)][_0x3c06f3(0x130)]([_0x546dc3,_0x4eafe3]),_0x53f469[_0x3c06f3(0x12b)](_0x42aac1),_0x1bb1ab;}),_0x2d67c0['ui'][_0x1f50d7(0x12c)][_0x1f50d7(0x12b)](_0x1f50d7(0x104),()=>this[_0x1f50d7(0x137)]());}[_0x32cc97(0x137)](){const _0x1a73c1=_0x32cc97,_0x3673b2=this[_0x1a73c1(0x10c)],_0x3b280a=_0x3673b2[_0x1a73c1(0x120)],_0x102705=new _0x4e4f31(_0x3b280a),_0x1cf497=new _0x3d6afb(_0x3b280a);_0x102705[_0x1a73c1(0x136)][_0x1a73c1(0x10f)]({'icon':_0x12791b[_0x1a73c1(0x11b)],'label':_0x563b19(_0x3b280a,_0x1a73c1(0x10a))});const _0x46b7a1=new _0x59c25c(_0x3b280a,_0x102705),_0x5136c9=new _0x341196(_0x3b280a);_0x5136c9[_0x1a73c1(0x10f)]({'label':_0x563b19(_0x3b280a,_0x1a73c1(0x133))}),_0x5136c9[_0x1a73c1(0x13a)](_0x1a73c1(0x140))['to'](_0x102705),_0x5136c9['on'](_0x1a73c1(0x140),()=>{const _0x263604=_0x1a73c1;this[_0x263604(0x11f)]();}),_0x46b7a1[_0x1a73c1(0x11e)][_0x1a73c1(0x12b)](_0x5136c9),_0x1cf497[_0x1a73c1(0x12a)][_0x1a73c1(0x12b)](_0x46b7a1);const _0x4d1994=new _0x59c25c(_0x3b280a,_0x102705),_0x538e75=new _0x341196(_0x3b280a);return _0x538e75[_0x1a73c1(0x10f)]({'label':_0x563b19(_0x3b280a,_0x1a73c1(0x118))}),_0x538e75[_0x1a73c1(0x13a)](_0x1a73c1(0x140))['to'](_0x102705),_0x538e75['on'](_0x1a73c1(0x140),()=>{const _0x457865=_0x1a73c1;_0x3673b2[_0x457865(0x131)][_0x457865(0x103)](_0x457865(0x10b))[_0x457865(0x13f)]();}),_0x4d1994[_0x1a73c1(0x11e)][_0x1a73c1(0x12b)](_0x538e75),_0x1cf497[_0x1a73c1(0x12a)][_0x1a73c1(0x12b)](_0x4d1994),_0x102705[_0x1a73c1(0x112)][_0x1a73c1(0x11e)][_0x1a73c1(0x12b)](_0x1cf497),_0x102705;}[_0x32cc97(0x11f)](){const _0x5dcb27=_0x32cc97,_0xb4fcec=this[_0x5dcb27(0x10c)],_0x33c122=_0xb4fcec[_0x5dcb27(0x120)],_0x4d4345=_0xb4fcec[_0x5dcb27(0x110)][_0x5dcb27(0x103)](_0x5dcb27(0x13d)),_0x12da1a=_0xb4fcec[_0x5dcb27(0x110)][_0x5dcb27(0x103)](_0x5dcb27(0x101));function _0x4fb537(_0x567ec6){const _0x1bd894=_0x5dcb27;_0xb4fcec[_0x1bd894(0x131)][_0x1bd894(0x103)](_0x1bd894(0x132))&&''===_0x567ec6[_0x1bd894(0x145)]?_0x567ec6[_0x1bd894(0x102)][_0x1bd894(0x124)]=_0x563b19(_0x33c122,_0x1bd894(0x134)):(_0xb4fcec[_0x1bd894(0x110)][_0x1bd894(0x103)](_0x4dff64)[_0x1bd894(0x121)]({'name':_0x567ec6[_0x1bd894(0x145)]}),_0x4d4345[_0x1bd894(0x11a)]());}this[_0x5dcb27(0x122)]||(this[_0x5dcb27(0x113)](),this[_0x5dcb27(0x122)]['on'](_0x5dcb27(0x129),()=>_0x4fb537(this[_0x5dcb27(0x122)]))),this[_0x5dcb27(0x122)][_0x5dcb27(0x144)](),_0x4d4345[_0x5dcb27(0x123)]({'id':_0x5dcb27(0x12d),'title':_0x563b19(_0x33c122,_0x5dcb27(0x133)),'isModal':!0x0,'content':this[_0x5dcb27(0x122)],'actionButtons':[{'label':_0x563b19(_0xb4fcec[_0x5dcb27(0x120)],_0x5dcb27(0x12e)),'withText':!0x0,'onExecute':()=>_0x4d4345[_0x5dcb27(0x11a)]()},{'label':_0x563b19(_0xb4fcec[_0x5dcb27(0x120)],_0x5dcb27(0x109)),'class':_0x5dcb27(0x13c),'withText':!0x0,'onCreate'(_0x24a80d){const _0x31cca9=_0x5dcb27;_0x24a80d[_0x31cca9(0x117)](_0x31cca9(0x116))['to'](_0x12da1a,_0x31cca9(0x128),_0x12da1a,_0x31cca9(0x116),_0xb4fcec,_0x31cca9(0x13e),(_0x531862,_0x46659b,_0x243d0f)=>_0x531862&&_0x46659b&&!_0x243d0f);},'onExecute':()=>_0x4fb537(this[_0x5dcb27(0x122)])}]});}[_0x32cc97(0x113)](){const _0x44df6f=_0x32cc97,_0x202b63=this[_0x44df6f(0x10c)],_0x2fd347=_0x202b63[_0x44df6f(0x120)];this[_0x44df6f(0x122)]=new _0x4bfd66(_0x2fd347,_0x202b63[_0x44df6f(0x131)][_0x44df6f(0x103)](_0x44df6f(0x132))),this[_0x44df6f(0x122)][_0x44df6f(0x10e)]();}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module revision-history/ui/revisionsidebar/revisionsidebar
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x470628=_0x501d;function _0xacd2(){const _0xd04622=['timePeriodViews','revisionSelected','isOfficialPlugin','remove','1450645HyAPWr','diff','196318VCpeXm','compare','568028bfnytn','bind','destroy','change:diff','newRevisionId','restoreRevision','plugins','isPremiumPlugin','revisionViews','listenTo','restoreRevisionCallback','locale','revisionHistory.revisionActions','repository','render','appendChild','isEnabled','revisionHistory.requireRevisionName','revisionHistory','get','string','nameRevision','highlightRevisions','2UdjQwG','assign','_sidebarView','477488vImkWk','_handleRevisionSelected','focus','2743965QPuDoE','Restore\x20this\x20revision','init','isSelected','length','action','getIndex','defaultRevisionActions','getEarlierVisibleRevision','element','select','setName','_handleEditorDataReady','isReady','Compare\x20against\x20selected','_revisionsRepository','map','getLaterVisibleRevision','data','_createRevisionActions','fieldView','compareAgainstSelected','config','514338OsMMCk','selectRevision','_handleDiffChange','add','ready','pluginName','932105AqqRdC','RevisionsSidebar','isVisible','Name\x20this\x20revision','requires','revisionSetName','name','getRevision','_revisionViewer','revisionHistory.viewerSidebarContainer','availableRevisionActions','editor','_revisions','_handleRevisionSetName','getRevisionsInDiff','3ohqnXE'];_0xacd2=function(){return _0xd04622;};return _0xacd2();}(function(_0x1fb1e7,_0x4e5198){const _0x319691=_0x501d,_0x2ca626=_0x1fb1e7();while(!![]){try{const _0x1fd843=-parseInt(_0x319691(0x1a3))/0x1*(-parseInt(_0x319691(0x16a))/0x2)+-parseInt(_0x319691(0x19c))/0x3*(parseInt(_0x319691(0x1a5))/0x4)+-parseInt(_0x319691(0x18d))/0x5+parseInt(_0x319691(0x187))/0x6+-parseInt(_0x319691(0x1a1))/0x7+parseInt(_0x319691(0x16d))/0x8+parseInt(_0x319691(0x170))/0x9;if(_0x1fd843===_0x4e5198)break;else _0x2ca626['push'](_0x2ca626['shift']());}catch(_0x33ea08){_0x2ca626['push'](_0x2ca626['shift']());}}}(_0xacd2,0x1b165));import{Plugin as _0x2d1ab3}from'ckeditor5/src/core.js';import _0x21a1d6 from'./revisionssidebarview.js';import _0x354d91 from'../../revisionviewer.js';function _0x501d(_0x242cbd,_0x314397){const _0xacd2fa=_0xacd2();return _0x501d=function(_0x501d34,_0x1d9b9f){_0x501d34=_0x501d34-0x166;let _0x2a29cf=_0xacd2fa[_0x501d34];return _0x2a29cf;},_0x501d(_0x242cbd,_0x314397);}class g extends _0x2d1ab3{static get[_0x470628(0x18c)](){const _0x4c612c=_0x470628;return _0x4c612c(0x18e);}static get[_0x470628(0x19f)](){return!0x0;}static get[_0x470628(0x1ac)](){return!0x0;}static get[_0x470628(0x191)](){return[_0x354d91];}constructor(_0x5ccdda){const _0x37de9f=_0x470628;super(_0x5ccdda),this[_0x37de9f(0x195)]=_0x5ccdda[_0x37de9f(0x1ab)][_0x37de9f(0x166)](_0x354d91),this[_0x37de9f(0x17f)]=this[_0x37de9f(0x195)][_0x37de9f(0x1b2)],this[_0x37de9f(0x16c)]=null;}[_0x470628(0x172)](){const _0xc93bd8=_0x470628,_0xd1880e=this[_0xc93bd8(0x17f)][_0xc93bd8(0x199)],_0x69007e=this[_0xc93bd8(0x183)](),_0xd202b9=this[_0xc93bd8(0x198)][_0xc93bd8(0x186)][_0xc93bd8(0x166)](_0xc93bd8(0x196));this[_0xc93bd8(0x16c)]=new _0x21a1d6(this[_0xc93bd8(0x198)][_0xc93bd8(0x1b0)],_0xd1880e,_0x69007e,this[_0xc93bd8(0x198)][_0xc93bd8(0x186)][_0xc93bd8(0x166)](_0xc93bd8(0x1b6))),this[_0xc93bd8(0x16c)]['on'](_0xc93bd8(0x19e),this[_0xc93bd8(0x16e)][_0xc93bd8(0x1a6)](this)),this[_0xc93bd8(0x16c)]['on'](_0xc93bd8(0x192),this[_0xc93bd8(0x19a)][_0xc93bd8(0x1a6)](this)),this[_0xc93bd8(0x16c)][_0xc93bd8(0x1a6)](_0xc93bd8(0x1b5))['to'](this[_0xc93bd8(0x195)]),this[_0xc93bd8(0x16c)][_0xc93bd8(0x19d)]['on'](_0xc93bd8(0x18a),(_0x2cc763,_0x458e83)=>{const _0x2db804=_0xc93bd8;_0x458e83[_0x2db804(0x1ad)]['on'](_0x2db804(0x18a),(_0x4933aa,_0x5a779c)=>{const _0x2d14fb=_0x2db804;_0x5a779c[_0x2d14fb(0x1a6)](_0x2d14fb(0x1b5),_0x2d14fb(0x17d))['to'](this[_0x2d14fb(0x195)]);});}),this[_0xc93bd8(0x16c)][_0xc93bd8(0x1b3)](),this[_0xc93bd8(0x1ae)](this[_0xc93bd8(0x198)][_0xc93bd8(0x182)],_0xc93bd8(0x18b),this[_0xc93bd8(0x17c)][_0xc93bd8(0x1a6)](this)),this[_0xc93bd8(0x1ae)](this[_0xc93bd8(0x195)],_0xc93bd8(0x1a8),this[_0xc93bd8(0x189)][_0xc93bd8(0x1a6)](this)),_0xd202b9[_0xc93bd8(0x1b4)](this[_0xc93bd8(0x16c)][_0xc93bd8(0x179)]);}[_0x470628(0x1a7)](){const _0x91baf9=_0x470628;this[_0x91baf9(0x16c)][_0x91baf9(0x179)][_0x91baf9(0x1a0)](),this[_0x91baf9(0x16c)][_0x91baf9(0x1a7)]();}[_0x470628(0x17c)](){const _0x5156b5=_0x470628,_0x25ee9d=this[_0x5156b5(0x17f)][_0x5156b5(0x194)](0x0);if(_0x25ee9d){const _0x1a5ec8=this[_0x5156b5(0x17f)][_0x5156b5(0x178)](_0x25ee9d['id']);this[_0x5156b5(0x195)][_0x5156b5(0x1a4)](_0x25ee9d,_0x1a5ec8);}}[_0x470628(0x16e)](_0x505e40,_0xb1ab5c){const _0x6057b9=_0x470628,_0x252661=this[_0x6057b9(0x17f)][_0x6057b9(0x194)](_0xb1ab5c['id']),_0x1184d3=this[_0x6057b9(0x17f)][_0x6057b9(0x178)](_0x252661['id']);this[_0x6057b9(0x195)][_0x6057b9(0x1a4)](_0x252661,_0x1184d3);}[_0x470628(0x19a)](_0xf32d62,_0x52191b){const _0x28ba80=_0x470628;this[_0x28ba80(0x17f)][_0x28ba80(0x194)](_0x52191b['id'])[_0x28ba80(0x17b)](_0x52191b[_0x28ba80(0x193)]);}[_0x470628(0x189)](_0x1b58f1,_0x35fac4,_0x414d52){const _0x16487a=_0x470628,_0x257ed9=this[_0x16487a(0x17f)][_0x16487a(0x19b)](_0x414d52);_0x257ed9[_0x16487a(0x174)]>0x2?(this[_0x16487a(0x16c)][_0x16487a(0x169)](_0x257ed9),this[_0x16487a(0x16c)][_0x16487a(0x188)](null)):(this[_0x16487a(0x16c)][_0x16487a(0x169)]([]),this[_0x16487a(0x16c)][_0x16487a(0x188)](_0x257ed9[0x0]));}[_0x470628(0x183)](){const _0x375329=_0x470628,_0x40274c=this[_0x375329(0x198)],_0x405c00=g[_0x375329(0x197)],_0xaa530f=_0x40274c[_0x375329(0x186)][_0x375329(0x166)](_0x375329(0x1b1))||g[_0x375329(0x177)];if(_0xaa530f[_0x375329(0x174)])return _0xaa530f[_0x375329(0x180)](_0x205b86=>{const _0xba83b9=_0x375329,_0x39a25e=_0xba83b9(0x167)==typeof _0x205b86?Object[_0xba83b9(0x16b)]({},_0x405c00[_0x205b86]):_0x205b86;return _0x39a25e[_0xba83b9(0x175)]=_0x39a25e[_0xba83b9(0x175)][_0xba83b9(0x1a6)](this,_0x40274c),_0x39a25e[_0xba83b9(0x18f)]&&(_0x39a25e[_0xba83b9(0x18f)]=_0x39a25e[_0xba83b9(0x18f)][_0xba83b9(0x1a6)](this,_0x40274c)),_0x39a25e;});}}g[_0x470628(0x177)]=[_0x470628(0x185),_0x470628(0x1aa),_0x470628(0x168)],g[_0x470628(0x197)]={'compareAgainstSelected':{'name':_0x470628(0x17e),'action':({plugins:_0xc0f3e7},_0x1f3218)=>{const _0x7d7ac7=_0x470628,_0x35586c=_0xc0f3e7[_0x7d7ac7(0x166)](_0x354d91),_0x18698f=_0x35586c[_0x7d7ac7(0x1b2)];let _0x4e1165=_0x35586c[_0x7d7ac7(0x1a2)][_0x7d7ac7(0x1a9)],_0x22aa18=_0x1f3218['id'];_0x18698f[_0x7d7ac7(0x176)](_0x4e1165)>_0x18698f[_0x7d7ac7(0x176)](_0x22aa18)&&([_0x4e1165,_0x22aa18]=[_0x22aa18,_0x4e1165]),_0x35586c[_0x7d7ac7(0x1a4)](_0x4e1165,_0x22aa18);},'isVisible':({plugins:_0x522e8c},_0x30050b)=>{const _0x21523c=_0x470628,_0x2aa20c=_0x522e8c[_0x21523c(0x166)](_0x354d91);return!(_0x2aa20c[_0x21523c(0x1b2)][_0x21523c(0x19b)](_0x2aa20c[_0x21523c(0x1a2)])[_0x21523c(0x174)]>0x2||_0x30050b[_0x21523c(0x173)]);}},'restoreRevision':{'name':_0x470628(0x171),'action':(_0x261a12,{id:_0x354ccb})=>{const _0x4fc2fd=_0x470628;_0x261a12[_0x4fc2fd(0x186)][_0x4fc2fd(0x166)](_0x4fc2fd(0x1b7))[_0x4fc2fd(0x1af)](_0x354ccb);},'isVisible':({plugins:_0x5d10cd},_0x1442b7)=>!!_0x5d10cd[_0x470628(0x166)](_0x354d91)[_0x470628(0x1b2)][_0x470628(0x181)](_0x1442b7['id'])},'nameRevision':{'name':_0x470628(0x190),'action':({plugins:_0x203492},{id:_0x5e22b8,revisionNameView:_0x556f70})=>{const _0x290cb4=_0x470628,_0x3a47e4=_0x203492[_0x290cb4(0x166)](_0x354d91),_0x19f202=_0x3a47e4[_0x290cb4(0x1b2)][_0x290cb4(0x178)](_0x5e22b8);_0x3a47e4[_0x290cb4(0x1a4)](_0x5e22b8,_0x19f202),_0x556f70[_0x290cb4(0x16f)](),_0x556f70[_0x290cb4(0x184)][_0x290cb4(0x17a)]();}}};export default g;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module revision-history/ui/revisionsidebar/revisionsidebarheaderview
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5eb344,_0x607956){const _0x2ed600=_0x4f9b,_0x17f2c0=_0x5eb344();while(!![]){try{const _0x368fe2=-parseInt(_0x2ed600(0x1f2))/0x1+parseInt(_0x2ed600(0x1f4))/0x2+parseInt(_0x2ed600(0x1ee))/0x3+parseInt(_0x2ed600(0x1f6))/0x4+parseInt(_0x2ed600(0x1f1))/0x5*(parseInt(_0x2ed600(0x1f3))/0x6)+parseInt(_0x2ed600(0x1eb))/0x7+-parseInt(_0x2ed600(0x1e9))/0x8;if(_0x368fe2===_0x607956)break;else _0x17f2c0['push'](_0x17f2c0['shift']());}catch(_0x44d6cd){_0x17f2c0['push'](_0x17f2c0['shift']());}}}(_0x1ca7,0x63b79));import{View as _0x588e39,IconView as _0x5bd122}from'ckeditor5/src/ui.js';import{getTranslation as _0x3d986e}from'../../utils/common-translations.js';function _0x4f9b(_0x132b89,_0x23c285){const _0x1ca7d7=_0x1ca7();return _0x4f9b=function(_0x4f9b04,_0x2f730b){_0x4f9b04=_0x4f9b04-0x1e6;let _0x19fcdd=_0x1ca7d7[_0x4f9b04];return _0x19fcdd;},_0x4f9b(_0x132b89,_0x23c285);}import{icons as _0xf478f}from'ckeditor5/src/core.js';function _0x1ca7(){const _0x2c52f4=['1673305jKVHYn','50002lBkMte','12EHQmfO','1503876icawtn','div','1541728qYThVN','history','Revision\x20history','ck-reset_all','19313520vQoAdO','ck-revision-history-sidebar__header__label','3177300BnlVVL','ck-revision-history-sidebar__header','setTemplate','1836123IhvIXg','content','span'];_0x1ca7=function(){return _0x2c52f4;};return _0x1ca7();}import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class as extends _0x588e39{constructor(_0x4f455a){const _0x577ff4=_0x4f9b;super(_0x4f455a);const _0x339fec=new _0x5bd122();_0x339fec[_0x577ff4(0x1ef)]=_0xf478f[_0x577ff4(0x1e6)],this[_0x577ff4(0x1ed)]({'tag':_0x577ff4(0x1f5),'attributes':{'class':['ck',_0x577ff4(0x1e8),_0x577ff4(0x1ec)]},'children':[_0x339fec,{'tag':_0x577ff4(0x1f0),'attributes':{'class':['ck',_0x577ff4(0x1ea)]},'children':[_0x3d986e(_0x4f455a,_0x577ff4(0x1e7))]}]});}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module revision-history/ui/revisionsidebar/revisionsidebartimeperiodview
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1760c3=_0x20e2;(function(_0x1f574b,_0x3390a1){const _0x5925e7=_0x20e2,_0x3b20d7=_0x1f574b();while(!![]){try{const _0x12f0a3=parseInt(_0x5925e7(0x89))/0x1+parseInt(_0x5925e7(0x86))/0x2+-parseInt(_0x5925e7(0x97))/0x3*(-parseInt(_0x5925e7(0x98))/0x4)+parseInt(_0x5925e7(0x7d))/0x5*(-parseInt(_0x5925e7(0x95))/0x6)+-parseInt(_0x5925e7(0x88))/0x7*(-parseInt(_0x5925e7(0x8d))/0x8)+-parseInt(_0x5925e7(0x92))/0x9+parseInt(_0x5925e7(0x94))/0xa;if(_0x12f0a3===_0x3390a1)break;else _0x3b20d7['push'](_0x3b20d7['shift']());}catch(_0x554ec9){_0x3b20d7['push'](_0x3b20d7['shift']());}}}(_0x9353,0xe0492));import{View as _0x3f6084}from'ckeditor5/src/ui.js';import _0x5e2f50 from'../revision/revisionview.js';function _0x20e2(_0x382721,_0x1d2434){const _0x9353b2=_0x9353();return _0x20e2=function(_0x20e2a0,_0x542a43){_0x20e2a0=_0x20e2a0-0x7a;let _0x2e2596=_0x9353b2[_0x20e2a0];return _0x2e2596;},_0x20e2(_0x382721,_0x1d2434);}import{getDateTimePeriodInfo as _0x1c5f56}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';function _0x9353(){const _0x429ba0=['span','revisionViews','_revisionActions','select','add','348504boLJps','locale','10225131VYORWh','900060rJTnrN','removeRevision','delegate','addRevision','8sieqRp','ck-revision-history-sidebar__time-period__label','uiLanguage','localizedPeriodName','ck-revision-history-sidebar__time-period__revisions','10312398aXNyHO','remove','8739190KLpPpn','6NgIAMX','startDate','3fIoXmo','286816bBnBhS','_requireRevisionName','createCollection','ck-revision-history-sidebar__time-period','div','7080860VnQyCy','setTemplate','setName','find'];_0x9353=function(){return _0x429ba0;};return _0x9353();}export default class vi extends _0x3f6084{constructor(_0x2ddc5c,_0x5b1962,_0x11f2f8,_0xc486e7){const _0x52e0ed=_0x20e2;super(_0x2ddc5c);const _0x5a8e70=_0x1c5f56(_0x5b1962,this[_0x52e0ed(0x87)][_0x52e0ed(0x8f)])[_0x52e0ed(0x90)];this[_0x52e0ed(0x96)]=_0x5b1962,this[_0x52e0ed(0x82)]=this[_0x52e0ed(0x7a)](),this[_0x52e0ed(0x83)]=_0x11f2f8,this[_0x52e0ed(0x99)]=_0xc486e7,this[_0x52e0ed(0x82)][_0x52e0ed(0x8b)](_0x52e0ed(0x84))['to'](this),this[_0x52e0ed(0x82)][_0x52e0ed(0x8b)](_0x52e0ed(0x7f))['to'](this),this[_0x52e0ed(0x7e)]({'tag':_0x52e0ed(0x7c),'attributes':{'class':['ck',_0x52e0ed(0x7b)]},'children':[{'tag':_0x52e0ed(0x81),'attributes':{'class':['ck',_0x52e0ed(0x8e)]},'children':[{'text':_0x5a8e70}]},{'tag':_0x52e0ed(0x7c),'attributes':{'class':['ck',_0x52e0ed(0x91)]},'children':this[_0x52e0ed(0x82)]}]});}[_0x1760c3(0x8c)](_0xf0b795){const _0x4d5c35=_0x1760c3,_0x17b4a4=new _0x5e2f50(this[_0x4d5c35(0x87)],_0xf0b795,this[_0x4d5c35(0x83)],this[_0x4d5c35(0x99)]);this[_0x4d5c35(0x82)][_0x4d5c35(0x85)](_0x17b4a4);}[_0x1760c3(0x8a)](_0x1755c3){const _0x30360a=_0x1760c3,_0x194982=this[_0x30360a(0x82)][_0x30360a(0x80)](_0x45f79e=>_0x45f79e['id']===_0x1755c3['id']);this[_0x30360a(0x82)][_0x30360a(0x93)](_0x194982);}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module revision-history/ui/revisionsidebar/revisionsidebarview
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1903(_0x32999c,_0x2bb19a){const _0x1b3742=_0x1b37();return _0x1903=function(_0x19032e,_0x441880){_0x19032e=_0x19032e-0x1b9;let _0x3b91e4=_0x1b3742[_0x19032e];return _0x3b91e4;},_0x1903(_0x32999c,_0x2bb19a);}const _0x4d97b5=_0x1903;(function(_0x2cf607,_0x59640b){const _0x19811c=_0x1903,_0x2491d0=_0x2cf607();while(!![]){try{const _0x4dd592=-parseInt(_0x19811c(0x1ea))/0x1*(parseInt(_0x19811c(0x1c2))/0x2)+-parseInt(_0x19811c(0x1eb))/0x3+-parseInt(_0x19811c(0x1c0))/0x4+-parseInt(_0x19811c(0x1ee))/0x5+-parseInt(_0x19811c(0x1bf))/0x6*(parseInt(_0x19811c(0x1cd))/0x7)+-parseInt(_0x19811c(0x1d4))/0x8+parseInt(_0x19811c(0x1dc))/0x9*(parseInt(_0x19811c(0x1d6))/0xa);if(_0x4dd592===_0x59640b)break;else _0x2491d0['push'](_0x2491d0['shift']());}catch(_0xbba6d7){_0x2491d0['push'](_0x2491d0['shift']());}}}(_0x1b37,0x2dc9f));import{View as _0x1c4f27}from'ckeditor5/src/ui.js';import _0x46dde8 from'./revisionssidebartimeperiodview.js';import _0x2735b5 from'./revisionssidebarheaderview.js';function _0x1b37(){const _0x14c5b0=['set','highlightRevisions','revisionSetName','selectRevision','find','387htHIjp','div','highlight','render','createCollection','ck-revision-history-sidebar__timeline','revisionSelected','some','createdAt','_revisions','add','_addRevision','getTime','timePeriodViews','105909enbQyt','79302FgrBIt','removeRevision','_revisionActions','244455FNEKxk','deselect','setTemplate','setName','ck-disabled','unhighlight','delegate','ck-reset','1713282dlBinS','1059680ADiaKK','locale','6NPsCWB','bindTemplate','revisionViews','startDate','isEnabled','ck-revision-history-sidebar','map','flat','_getTimePeriodViewByStartDate','select','_removeRevision','7Tkxbiv','uiLanguage','ck-rounded-corners','addRevision','get','remove','_requireRevisionName','2084312NDvQmj','fire','323630gCvOzF'];_0x1b37=function(){return _0x14c5b0;};return _0x1b37();}import{getDateTimePeriodInfo as _0xeb2987}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class di extends _0x1c4f27{constructor(_0x3a5241,_0x33e663,_0x5c154b,_0x238f75){const _0x17747c=_0x1903;super(_0x3a5241);const _0x303978=this[_0x17747c(0x1c3)];this[_0x17747c(0x1e9)]=this[_0x17747c(0x1e0)](),this[_0x17747c(0x1e9)][_0x17747c(0x1bd)](_0x17747c(0x1cb))['to'](this),this[_0x17747c(0x1e9)][_0x17747c(0x1bd)](_0x17747c(0x1ba))['to'](this),this[_0x17747c(0x1e5)]=_0x33e663,this[_0x17747c(0x1ed)]=_0x5c154b,this[_0x17747c(0x1d3)]=_0x238f75,this['on'](_0x17747c(0x1cb),(_0x36269,_0x546515)=>{const _0x2e1033=_0x17747c;this[_0x2e1033(0x1d5)](_0x2e1033(0x1e2),_0x546515);}),this['on'](_0x17747c(0x1ba),(_0x2254e3,_0x3b736b)=>{const _0x59bbb1=_0x17747c;this[_0x59bbb1(0x1d5)](_0x59bbb1(0x1d9),_0x3b736b);}),this[_0x17747c(0x1d7)](_0x17747c(0x1c6),!0x1),this[_0x17747c(0x1b9)]({'tag':_0x17747c(0x1dd),'attributes':{'class':['ck',_0x17747c(0x1be),_0x17747c(0x1cf),_0x17747c(0x1c7)]},'children':[new _0x2735b5(_0x3a5241),{'tag':_0x17747c(0x1dd),'attributes':{'class':['ck',_0x17747c(0x1e1),_0x303978['if'](_0x17747c(0x1c6),_0x17747c(0x1bb),_0x135ef6=>!_0x135ef6)]},'children':this[_0x17747c(0x1e9)]}]});}[_0x4d97b5(0x1df)](){const _0x563b74=_0x4d97b5;super[_0x563b74(0x1df)]();for(const _0x1cac34 of this[_0x563b74(0x1e5)])this[_0x563b74(0x1e7)](_0x1cac34);this[_0x563b74(0x1e5)]['on'](_0x563b74(0x1e6),(_0x53f64f,_0x49f924)=>{const _0x34074a=_0x563b74;this[_0x34074a(0x1e7)](_0x49f924);}),this[_0x563b74(0x1e5)]['on'](_0x563b74(0x1d2),(_0x3114fd,_0x2cb3ca)=>{const _0x359c5c=_0x563b74;this[_0x359c5c(0x1cc)](_0x2cb3ca);});}get[_0x4d97b5(0x1c4)](){const _0x3de42f=_0x4d97b5;return this[_0x3de42f(0x1e9)][_0x3de42f(0x1c8)](_0x222207=>_0x222207[_0x3de42f(0x1c4)][_0x3de42f(0x1c8)](_0x7fafcd=>_0x7fafcd))[_0x3de42f(0x1c9)]();}[_0x4d97b5(0x1da)](_0x17bc4c){const _0x3f9edd=_0x4d97b5;for(const _0x4e4158 of this[_0x3f9edd(0x1c4)])_0x17bc4c&&_0x17bc4c['id']===_0x4e4158['id']?_0x4e4158[_0x3f9edd(0x1cb)]():_0x4e4158[_0x3f9edd(0x1ef)]();}[_0x4d97b5(0x1d8)](_0xb5a8e5){const _0x1fc59a=_0x4d97b5;for(const _0xbd8031 of this[_0x1fc59a(0x1c4)])_0xb5a8e5[_0x1fc59a(0x1e3)](({id:_0x53f47d})=>_0x53f47d===_0xbd8031['id'])?_0xbd8031[_0x1fc59a(0x1de)]():_0xbd8031[_0x1fc59a(0x1bc)]();}[_0x4d97b5(0x1e7)](_0x19b2e9){const _0x25ae94=_0x4d97b5,_0x514e22=_0xeb2987(_0x19b2e9[_0x25ae94(0x1e4)],this[_0x25ae94(0x1c1)][_0x25ae94(0x1ce)])[_0x25ae94(0x1c5)];let _0x3472ca=this[_0x25ae94(0x1e9)][_0x25ae94(0x1d1)](0x0);_0x3472ca&&_0x3472ca[_0x25ae94(0x1c5)][_0x25ae94(0x1e8)]()===_0x514e22[_0x25ae94(0x1e8)]()||(_0x3472ca=new _0x46dde8(this[_0x25ae94(0x1c1)],_0x514e22,this[_0x25ae94(0x1ed)],this[_0x25ae94(0x1d3)]),this[_0x25ae94(0x1e9)][_0x25ae94(0x1e6)](_0x3472ca)),_0x3472ca[_0x25ae94(0x1d0)](_0x19b2e9);}[_0x4d97b5(0x1cc)](_0x341206){const _0x2bb4be=_0x4d97b5,_0x3b5236=_0xeb2987(_0x341206[_0x2bb4be(0x1e4)],this[_0x2bb4be(0x1c1)][_0x2bb4be(0x1ce)])[_0x2bb4be(0x1c5)];this[_0x2bb4be(0x1ca)](_0x3b5236)[_0x2bb4be(0x1ec)](_0x341206);}[_0x4d97b5(0x1ca)](_0x3a3250){const _0xe7f830=_0x4d97b5;return this[_0xe7f830(0x1e9)][_0xe7f830(0x1db)](_0x2cda4e=>_0x2cda4e[_0xe7f830(0x1c5)][_0xe7f830(0x1e8)]()===_0x3a3250[_0xe7f830(0x1e8)]());}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
export declare function getDateTimePeriodInfo(jsDate: Date, locale: string): DateTimePeriod;
|
|
6
6
|
export interface DateTimePeriod {
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4dfd0d,_0x52ffd5){const _0x4ce8b7=_0x2a87,_0x278504=_0x4dfd0d();while(!![]){try{const _0x478fd2=parseInt(_0x4ce8b7(0x1e2))/0x1*(parseInt(_0x4ce8b7(0x1d4))/0x2)+-parseInt(_0x4ce8b7(0x1e7))/0x3+parseInt(_0x4ce8b7(0x1e6))/0x4+-parseInt(_0x4ce8b7(0x1e0))/0x5*(parseInt(_0x4ce8b7(0x1e1))/0x6)+-parseInt(_0x4ce8b7(0x1dc))/0x7*(parseInt(_0x4ce8b7(0x1d2))/0x8)+parseInt(_0x4ce8b7(0x1e3))/0x9*(-parseInt(_0x4ce8b7(0x1d3))/0xa)+parseInt(_0x4ce8b7(0x1d9))/0xb;if(_0x478fd2===_0x52ffd5)break;else _0x278504['push'](_0x278504['shift']());}catch(_0x124f4e){_0x278504['push'](_0x278504['shift']());}}}(_0x21e8,0xef373));import{DateTime as _0x4f2684}from'luxon';function _0x2a87(_0x3b09e6,_0x35d85f){const _0x21e806=_0x21e8();return _0x2a87=function(_0x2a877d,_0x8faa99){_0x2a877d=_0x2a877d-0x1d0;let _0x124a76=_0x21e806[_0x2a877d];return _0x124a76;},_0x2a87(_0x3b09e6,_0x35d85f);}function _0x21e8(){const _0x1e7143=['15558DzNMAI','1jIHqUA','189vFdQrb','startOf','setLocale','4363368vYAFhm','5218392nbKzXW','fromJSDate','hasSame','monthLong','22768qRueQT','145930XMQuuP','1290918RCfMYK','weekdayLong','toRelativeCalendar','month','week','25267495WrTEFy','year','day','42WvKESx','toJSDate','minus','local','1910qBbgid'];_0x21e8=function(){return _0x1e7143;};return _0x21e8();}export function getDateTimePeriodInfo(_0x3cd671,_0x1440d4){const _0x3a7ebf=_0x2a87,_0x42b30c=_0x4f2684[_0x3a7ebf(0x1e8)](_0x3cd671)[_0x3a7ebf(0x1e5)](_0x1440d4),_0x4cb2eb=_0x4f2684[_0x3a7ebf(0x1df)](),_0x3b5e5a=_0x4cb2eb[_0x3a7ebf(0x1de)]({'days':0x1})[_0x3a7ebf(0x1e4)](_0x3a7ebf(0x1db));let _0x4b072c,_0x1289ce;return _0x42b30c[_0x3a7ebf(0x1d0)](_0x4cb2eb,_0x3a7ebf(0x1db))?(_0x4b072c=_0x42b30c[_0x3a7ebf(0x1e4)](_0x3a7ebf(0x1db))[_0x3a7ebf(0x1dd)](),_0x1289ce=_0x42b30c[_0x3a7ebf(0x1d6)]()):_0x42b30c[_0x3a7ebf(0x1d0)](_0x3b5e5a,_0x3a7ebf(0x1db))?(_0x4b072c=_0x3b5e5a[_0x3a7ebf(0x1dd)](),_0x1289ce=_0x42b30c[_0x3a7ebf(0x1d6)]()):_0x42b30c[_0x3a7ebf(0x1d0)](_0x4cb2eb,_0x3a7ebf(0x1d8))?(_0x4b072c=_0x42b30c[_0x3a7ebf(0x1e4)](_0x3a7ebf(0x1d8))[_0x3a7ebf(0x1dd)](),_0x1289ce=_0x42b30c[_0x3a7ebf(0x1d5)]||''):_0x42b30c[_0x3a7ebf(0x1d0)](_0x4cb2eb,_0x3a7ebf(0x1da))?(_0x4b072c=_0x42b30c[_0x3a7ebf(0x1e4)](_0x3a7ebf(0x1d7))[_0x3a7ebf(0x1dd)](),_0x1289ce=_0x42b30c[_0x3a7ebf(0x1d1)]||''):(_0x4b072c=_0x42b30c[_0x3a7ebf(0x1e4)](_0x3a7ebf(0x1da))[_0x3a7ebf(0x1dd)](),_0x1289ce=String(_0x42b30c[_0x3a7ebf(0x1da)])),{'startDate':_0x4b072c,'localizedPeriodName':_0x1289ce};}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module revision-history/ui/revisionviewer/changedetailsview
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x236e22=_0x300a;function _0x300a(_0x3e7544,_0x390e46){const _0x1ad889=_0x1ad8();return _0x300a=function(_0x300a99,_0xaf5af6){_0x300a99=_0x300a99-0x1cc;let _0x2f8c5d=_0x1ad889[_0x300a99];return _0x2f8c5d;},_0x300a(_0x3e7544,_0x390e46);}function _0x1ad8(){const _0x174121=['ck-revision-change__label','153Eehaze','name','122538AzFovP','_model','type','bindTemplate','27382179ErraFR','4rQqQks','128894uoQJxe','changeId','focus','182hdOSqh','20LLHCwZ','13912sMPpZF','author','ck-revision-change','setTemplate','data','ck-revision-change__','985970bUqVyM','ck-annotation','isSuggestion','Removed\x20by','div','add','span','set','3623973umjFkX','Added\x20by','Suggested\x20by','10308320uyVxsa','element'];_0x1ad8=function(){return _0x174121;};return _0x1ad8();}(function(_0x33d758,_0x4d2523){const _0x1e9a1f=_0x300a,_0x328233=_0x33d758();while(!![]){try{const _0x182cb1=-parseInt(_0x1e9a1f(0x1de))/0x1*(-parseInt(_0x1e9a1f(0x1da))/0x2)+-parseInt(_0x1e9a1f(0x1cc))/0x3*(parseInt(_0x1e9a1f(0x1d9))/0x4)+-parseInt(_0x1e9a1f(0x1e5))/0x5+-parseInt(_0x1e9a1f(0x1d4))/0x6*(parseInt(_0x1e9a1f(0x1dd))/0x7)+parseInt(_0x1e9a1f(0x1df))/0x8*(parseInt(_0x1e9a1f(0x1d2))/0x9)+-parseInt(_0x1e9a1f(0x1cf))/0xa+parseInt(_0x1e9a1f(0x1d8))/0xb;if(_0x182cb1===_0x4d2523)break;else _0x328233['push'](_0x328233['shift']());}catch(_0x34854d){_0x328233['push'](_0x328233['shift']());}}}(_0x1ad8,0xcd449));import{View as _0x2eca16}from'ckeditor5/src/ui.js';import{getTranslation as _0x38211f}from'../../utils/common-translations.js';export default class Y extends _0x2eca16{constructor(_0x3e3809,_0x331420){const _0x3bc4c7=_0x300a;super(_0x3e3809),this[_0x3bc4c7(0x1d5)]=_0x331420,this[_0x3bc4c7(0x1db)]=_0x331420['id'];const _0x115b28=this[_0x3bc4c7(0x1d7)],_0x301199=_0x38211f(_0x3e3809,_0x331420[_0x3bc4c7(0x1e3)][_0x3bc4c7(0x1e7)]?_0x3bc4c7(0x1ce):_0x3bc4c7(0x1ea)==_0x331420[_0x3bc4c7(0x1d6)]?_0x3bc4c7(0x1cd):_0x3bc4c7(0x1e8));this[_0x3bc4c7(0x1ec)](_0x3bc4c7(0x1d6),_0x331420[_0x3bc4c7(0x1d6)]),this[_0x3bc4c7(0x1e2)]({'tag':_0x3bc4c7(0x1e9),'attributes':{'class':[_0x3bc4c7(0x1e6),_0x3bc4c7(0x1e1),_0x115b28['to'](_0x3bc4c7(0x1d6),_0x277e45=>_0x3bc4c7(0x1e4)+_0x277e45)],'tabindex':-0x1},'children':[{'tag':_0x3bc4c7(0x1eb),'children':[{'tag':_0x3bc4c7(0x1eb),'attributes':{'class':[_0x3bc4c7(0x1d1)]},'children':[{'text':_0x301199}]},{'text':'\x20'+_0x331420[_0x3bc4c7(0x1e0)][_0x3bc4c7(0x1d3)]}]}]});}[_0x236e22(0x1dc)](){const _0x428e28=_0x236e22;this[_0x428e28(0x1d0)][_0x428e28(0x1dc)]();}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module revision-history/ui/revisionviewer/changenaviagationview
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2faeae,_0x2d3efc){const _0x5a6d9f=_0x2e80,_0x7bddd=_0x2faeae();while(!![]){try{const _0x12e7a7=parseInt(_0x5a6d9f(0xf6))/0x1+parseInt(_0x5a6d9f(0x10c))/0x2+parseInt(_0x5a6d9f(0x107))/0x3*(-parseInt(_0x5a6d9f(0x112))/0x4)+-parseInt(_0x5a6d9f(0xf8))/0x5+parseInt(_0x5a6d9f(0xfe))/0x6*(-parseInt(_0x5a6d9f(0xf3))/0x7)+-parseInt(_0x5a6d9f(0x106))/0x8+parseInt(_0x5a6d9f(0xed))/0x9;if(_0x12e7a7===_0x2d3efc)break;else _0x7bddd['push'](_0x7bddd['shift']());}catch(_0x561560){_0x7bddd['push'](_0x7bddd['shift']());}}}(_0x198d,0xb68cb));import{View as _0x242707,ButtonView as _0x5b7f65,ToolbarSeparatorView as _0x34590c}from'ckeditor5/src/ui.js';import{getTranslation as _0x277971}from'../../utils/common-translations.js';import _0x41b8f8 from'../../../theme/icons/arrow-up.svg';function _0x2e80(_0x3b021c,_0x167678){const _0x198d3b=_0x198d();return _0x2e80=function(_0x2e80d0,_0x5ab6b9){_0x2e80d0=_0x2e80d0-0xea;let _0x5e9b6b=_0x198d3b[_0x2e80d0];return _0x5e9b6b;},_0x2e80(_0x3b021c,_0x167678);}import _0x7340a2 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';function _0x198d(){const _0x2fc2dc=['No\x20changes','forward','span','6945888vuXZAU','3rXmqRr','ck-revision-history-ui__changes-navigation__label','X_OF_Y_CHANGES','set','Total','2548992munIOG','ck-revision-history-ui__changes-navigation__wrapper','_statusText','isReady','Show\x20next\x20change','setTemplate','769588XtRrst','currentChangeNumber','ck-revision-history-ui__changes-navigation','Loading...','bind','19011618ySMjPs','backward','numberOfChanges','isNavigationMode','isForwardNavigationEnabled','ck-revision-history-ui__changes-navigation__navigation','38703XWWbeh','isEnabled','ck-hidden','903198UGcAUA','Show\x20previous\x20change','7128505ZvGkZD','_isStatusLabelVisible','bindTemplate','ck-revision-history-ui','isBackwardNavigationEnabled','NUMBER_OF_CHANGES','1146CTHLmS','EDIT_X_OF_Y_REVISIONS','fire','div','execute'];_0x198d=function(){return _0x2fc2dc;};return _0x198d();}export default class ui extends _0x242707{constructor(_0x9d5f82){const _0x1fd654=_0x2e80;super(_0x9d5f82);const _0xe3d25a=this[_0x1fd654(0xfa)],_0x35d675=new _0x5b7f65(_0x9d5f82),_0x6dfc8f=new _0x5b7f65(_0x9d5f82);this[_0x1fd654(0x10a)](_0x1fd654(0xf0),!0x1),this[_0x1fd654(0x10a)](_0x1fd654(0x10f),!0x1),this[_0x1fd654(0x10a)](_0x1fd654(0x113),0x0),this[_0x1fd654(0x10a)](_0x1fd654(0xef),0x0),this[_0x1fd654(0x10a)](_0x1fd654(0xf1),!0x1),this[_0x1fd654(0x10a)](_0x1fd654(0xfc),!0x1),this[_0x1fd654(0xec)](_0x1fd654(0xf9))['to'](this,_0x1fd654(0x10f),this,_0x1fd654(0xef),(_0xd20517,_0x2fff3c)=>_0xd20517&&_0x2fff3c>0x0),this[_0x1fd654(0xec)](_0x1fd654(0x10e))['to'](this,_0x1fd654(0x10f),this,_0x1fd654(0x113),this,_0x1fd654(0xef),this,_0x1fd654(0xf0),(_0x4dc8c3,_0x385332,_0x2533b7,_0x2ea2e8)=>{const _0x42641e=_0x1fd654;if(!_0x4dc8c3)return _0x277971(_0x9d5f82,_0x42641e(0xeb));if(!_0x2533b7)return _0x277971(_0x9d5f82,_0x42641e(0x103));const _0x3a3bcc=_0x277971(_0x9d5f82,_0x42641e(0xfd),_0x2533b7);return _0x2ea2e8?_0x277971(_0x9d5f82,_0x42641e(0x109),[_0x385332+0x1,_0x2533b7]):_0x3a3bcc;}),_0x35d675[_0x1fd654(0x10a)]({'label':_0x277971(_0x9d5f82,_0x1fd654(0xf7)),'tooltip':!0x0,'icon':_0x41b8f8}),_0x6dfc8f[_0x1fd654(0x10a)]({'label':_0x277971(_0x9d5f82,_0x1fd654(0x110)),'tooltip':!0x0,'icon':_0x7340a2}),_0x35d675[_0x1fd654(0xec)](_0x1fd654(0xf4))['to'](this,_0x1fd654(0xfc)),_0x6dfc8f[_0x1fd654(0xec)](_0x1fd654(0xf4))['to'](this,_0x1fd654(0xf1)),_0x35d675['on'](_0x1fd654(0x102),()=>this[_0x1fd654(0x100)](_0x1fd654(0x102),_0x1fd654(0xee))),_0x6dfc8f['on'](_0x1fd654(0x102),()=>this[_0x1fd654(0x100)](_0x1fd654(0x102),_0x1fd654(0x104))),this[_0x1fd654(0x111)]({'tag':_0x1fd654(0x101),'attributes':{'class':['ck',_0x1fd654(0xfb),_0x1fd654(0xea)]},'children':[{'tag':_0x1fd654(0x105),'attributes':{'class':[_0x1fd654(0x10d)]},'children':[{'tag':_0x1fd654(0x105),'attributes':{'class':[_0x1fd654(0x108),_0xe3d25a['if'](_0x1fd654(0xf9),_0x1fd654(0xf5),_0x370edb=>!_0x370edb)]},'children':[{'text':_0xe3d25a['to'](_0x1fd654(0xf0),_0x2e5d66=>_0x2e5d66?_0x277971(_0x9d5f82,_0x1fd654(0xff))+':\x20':_0x277971(_0x9d5f82,_0x1fd654(0x10b))+':\x20')}]},{'text':_0xe3d25a['to'](_0x1fd654(0x10e))}]},new _0x34590c(),{'tag':_0x1fd654(0x101),'attributes':{'class':[_0x1fd654(0xf2)]},'children':[_0x35d675,_0x6dfc8f]}]});}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module revision-history/ui/revisionviewer/revisionviewerloadingoverlay
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x55f2ba=_0x31c5;(function(_0x40e092,_0x1334be){const _0x30d91c=_0x31c5,_0x2b800d=_0x40e092();while(!![]){try{const _0x20d769=parseInt(_0x30d91c(0x162))/0x1*(-parseInt(_0x30d91c(0x16c))/0x2)+-parseInt(_0x30d91c(0x158))/0x3+parseInt(_0x30d91c(0x160))/0x4*(parseInt(_0x30d91c(0x16d))/0x5)+parseInt(_0x30d91c(0x163))/0x6*(parseInt(_0x30d91c(0x167))/0x7)+-parseInt(_0x30d91c(0x168))/0x8*(parseInt(_0x30d91c(0x170))/0x9)+-parseInt(_0x30d91c(0x15e))/0xa+parseInt(_0x30d91c(0x165))/0xb*(parseInt(_0x30d91c(0x16e))/0xc);if(_0x20d769===_0x1334be)break;else _0x2b800d['push'](_0x2b800d['shift']());}catch(_0x548b1d){_0x2b800d['push'](_0x2b800d['shift']());}}}(_0x318c,0x5d41d));import{Plugin as _0x3d8f40}from'ckeditor5/src/core.js';const le=_0x55f2ba(0x161);function _0x318c(){const _0x12d0ce=['view','126jQPdPc','1706056cfnXyD','isOfficialPlugin','pluginName','removeClass','6NJYALm','130SXCSjI','1284rTRNSF','isPremiumPlugin','27oQhkkF','RevisionViewerLoadingOverlay','hide','1195659ONSKko','show','editor','roots','addClass','editing','4493370zCplsc','document','45780tomKgL','ck-editor__editable__loading-overlay','23857MtINcO','172632JDTZXu','change','115731YDmVJN'];_0x318c=function(){return _0x12d0ce;};return _0x318c();}function _0x31c5(_0x140357,_0x3be06a){const _0x318c13=_0x318c();return _0x31c5=function(_0x31c5a7,_0x492c54){_0x31c5a7=_0x31c5a7-0x158;let _0x42ab7e=_0x318c13[_0x31c5a7];return _0x42ab7e;},_0x31c5(_0x140357,_0x3be06a);}import'../../../theme/revisionviewerloadingoverlay.css';export default class de extends _0x3d8f40{static get[_0x55f2ba(0x16a)](){const _0x2849ed=_0x55f2ba;return _0x2849ed(0x171);}static get[_0x55f2ba(0x169)](){return!0x0;}static get[_0x55f2ba(0x16f)](){return!0x0;}[_0x55f2ba(0x159)](){const _0xbd4614=_0x55f2ba,_0x1215c3=this[_0xbd4614(0x15a)][_0xbd4614(0x15d)][_0xbd4614(0x166)];_0x1215c3[_0xbd4614(0x164)](_0x6c7907=>{const _0x443faf=_0xbd4614;for(const _0x24df43 of _0x1215c3[_0x443faf(0x15f)][_0x443faf(0x15b)])_0x6c7907[_0x443faf(0x15c)](le,_0x24df43);});}[_0x55f2ba(0x172)](){const _0x1769b4=_0x55f2ba,_0x119d0a=this[_0x1769b4(0x15a)][_0x1769b4(0x15d)][_0x1769b4(0x166)];_0x119d0a[_0x1769b4(0x164)](_0x2ca0a2=>{const _0x1a5e03=_0x1769b4;for(const _0x509697 of _0x119d0a[_0x1a5e03(0x15f)][_0x1a5e03(0x15b)])_0x2ca0a2[_0x1a5e03(0x16b)](le,_0x509697);});}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module revision-history/ui/revisionviewer/revisionviewerui
|