@ckeditor/ckeditor5-comments 46.1.0-alpha.0 → 46.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- 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 +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5ff413=_0x701c;(function(_0x4ba0ab,_0x10fbdf){const _0x3cfa42=_0x701c,_0x5a1c22=_0x4ba0ab();while(!![]){try{const _0x91bdc4=-parseInt(_0x3cfa42(0xf1))/0x1+parseInt(_0x3cfa42(0x135))/0x2*(parseInt(_0x3cfa42(0xfe))/0x3)+-parseInt(_0x3cfa42(0xef))/0x4+-parseInt(_0x3cfa42(0x120))/0x5*(-parseInt(_0x3cfa42(0xf2))/0x6)+-parseInt(_0x3cfa42(0x125))/0x7+-parseInt(_0x3cfa42(0x116))/0x8+parseInt(_0x3cfa42(0x123))/0x9*(parseInt(_0x3cfa42(0x105))/0xa);if(_0x91bdc4===_0x10fbdf)break;else _0x5a1c22['push'](_0x5a1c22['shift']());}catch(_0x46c083){_0x5a1c22['push'](_0x5a1c22['shift']());}}}(_0x2f58,0xe6a9f));import{ContextPlugin as _0x1ef35c}from'ckeditor5/src/core.js';import{Rect as _0x253abb,CKEditorError as _0x5bd6ce}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x458768}from'./view/sidebarview.js';function _0x701c(_0x5d00e5,_0x4c68e0){const _0x2f58bc=_0x2f58();return _0x701c=function(_0x701ca0,_0x3dcd62){_0x701ca0=_0x701ca0-0xed;let _0x2fdfd0=_0x2f58bc[_0x701ca0];return _0x2fdfd0;},_0x701c(_0x5d00e5,_0x4c68e0);}import{AnnotationsSidebarItemView as _0x291147}from'./view/sidebaritemview.js';function _0x2f58(){const _0x4e9d81=['isOfficialPlugin','last','context','_destroySidebarItemView','length','updateHeight','height','_alignAfterItem','delete','view','change:top','nodeType','change:bottom','7299044XnFfRf','sidebar-setcontainer-invalid-element','1104458XzgGkN','18ljeeVm','_attachToContainer','bottom','appendChild','add','sidebar-attachtocontainer-missing-container','class','Sidebar','get','locale','_setItemTop','isPremiumPlugin','19491fyRiAt','change:targetRect','_sidebarItemViewToAnnotation','_alignToTargetRect','_alignBeforeItem','_getTargetTop','clear','16988650uXLnNL','unbind','_annotations','_updateLastItem','rearrange','addAnnotation','isActive','_getItemBefore','sidebar.preventScrollOutOfView','_detachFromContainer','_recalculate','minHeight','config','change:_lastItem','sidebar.container','stopListening','list','7126552iyPbSG','init','refresh','_getItemAfter','element','getIndex','object','_targetTop','pluginName','set','3060850nrbPPx','_annotationToSidebarItemView','isAnimationDisabled','9KAKMaI','push','1717499GUZBWv','_alignForBottomChange','listenTo','getSidebarItemView','define','top','_recalculateBuffer','remove','_activeAnnotation','container','_createSidebarView','setContainer','destroy','bind','targetRect','render','454JkdTUR','target','max','_getMaxAvailableTop','_alignForTopChange','_lastItem','content','_spaceBetweenItems'];_0x2f58=function(){return _0x4e9d81;};return _0x2f58();}export class Sidebar extends _0x1ef35c{[_0x5ff413(0x146)];[_0x5ff413(0x12d)];[_0x5ff413(0x107)];[_0x5ff413(0x13c)];[_0x5ff413(0x100)];[_0x5ff413(0x121)];[_0x5ff413(0x12b)];static get[_0x5ff413(0x11e)](){const _0x17e805=_0x5ff413;return _0x17e805(0xf9);}static get[_0x5ff413(0x13d)](){return!0x0;}static get[_0x5ff413(0xfd)](){return!0x0;}constructor(_0x161dce){const _0x508d66=_0x5ff413;super(_0x161dce),this[_0x508d66(0x11f)](_0x508d66(0x13a),void 0x0),this[_0x508d66(0x146)]=this[_0x508d66(0x12f)](),this[_0x508d66(0x11f)](_0x508d66(0x12e),null),this[_0x508d66(0x13c)]=0x19,this[_0x508d66(0x100)]=new Map(),this[_0x508d66(0x121)]=new Map(),this[_0x508d66(0x13f)][_0x508d66(0x111)][_0x508d66(0x129)](_0x508d66(0x10d),!0x1),this[_0x508d66(0x107)]=null,this[_0x508d66(0x12d)]=null,this[_0x508d66(0x12b)]=[];}[_0x5ff413(0x117)](){const _0x5bad7e=_0x5ff413,_0x414f62=this[_0x5bad7e(0x13f)][_0x5bad7e(0x111)][_0x5bad7e(0xfa)](_0x5bad7e(0x113));_0x414f62&&this[_0x5bad7e(0x130)](_0x414f62);}[_0x5ff413(0x130)](_0x2a6442){const _0x4a075a=_0x5ff413;if(!g(_0x2a6442))throw new _0x5bd6ce(_0x4a075a(0xf0));this[_0x4a075a(0x12e)]=_0x2a6442;}[_0x5ff413(0xf3)]({viewClass:_0x17c119='',spaceBetweenItems:_0x49e7b3=0x19}={}){const _0x3903f7=_0x5ff413;if(!g(this[_0x3903f7(0x12e)]))throw new _0x5bd6ce(_0x3903f7(0xf7),this);this[_0x3903f7(0x12e)][_0x3903f7(0xf5)](this[_0x3903f7(0x146)][_0x3903f7(0x11a)]),this[_0x3903f7(0x146)][_0x3903f7(0xf8)]=_0x17c119,this[_0x3903f7(0x13c)]=_0x49e7b3;}[_0x5ff413(0x109)]({removedAnnotation:_0x4798b4,previousAnnotation:_0x3b62ca,nextAnnotation:_0x43b881}){const _0x73347a=_0x5ff413,_0x2b4071=this[_0x73347a(0x128)](_0x4798b4);this[_0x73347a(0x146)][_0x73347a(0x115)][_0x73347a(0x12c)](_0x2b4071),this[_0x73347a(0x140)](_0x4798b4),_0x3b62ca&&this[_0x73347a(0x101)](this[_0x73347a(0x128)](_0x3b62ca)),_0x43b881&&this[_0x73347a(0x101)](this[_0x73347a(0x128)](_0x43b881)),this[_0x73347a(0x108)]();}[_0x5ff413(0x118)]({blurredAnnotation:_0x24b72c,activatedAnnotation:_0xe122e6,disableAnimationOnActivatedAnnotation:_0x4d9cd3}){const _0xd23a2e=_0x5ff413;if(this[_0xd23a2e(0x12d)]=_0xe122e6,_0x24b72c){_0x24b72c[_0xd23a2e(0x10b)]=!0x1;const _0x6c0012=this[_0xd23a2e(0x128)](_0x24b72c);_0x6c0012&&_0x4d9cd3&&(_0x6c0012[_0xd23a2e(0x122)]=!0x1);}if(_0xe122e6){const _0x599f30=this[_0xd23a2e(0x128)](_0xe122e6);_0x599f30&&(_0xe122e6[_0xd23a2e(0x10b)]=!0x0,_0x4d9cd3&&(_0x599f30[_0xd23a2e(0x122)]=!0x0,_0x599f30[_0xd23a2e(0x12a)]+=0x1),this[_0xd23a2e(0x101)](_0x599f30));}}[_0x5ff413(0x10e)](_0x5ecb75){const _0x4b1324=_0x5ff413;if(this[_0x4b1324(0x146)][_0x4b1324(0x11a)][_0x4b1324(0x12c)](),_0x5ecb75){for(const _0x2fb10b of _0x5ecb75)this[_0x4b1324(0x140)](_0x2fb10b);}this[_0x4b1324(0x146)][_0x4b1324(0x115)][_0x4b1324(0x104)](),this[_0x4b1324(0x146)][_0x4b1324(0xf8)]='',this[_0x4b1324(0x13a)]=null;}[_0x5ff413(0x10a)](_0x393cda,_0x5c539c){const _0x19e18c=_0x5ff413;_0x5c539c||(_0x5c539c=_0x393cda[_0x19e18c(0x146)]);const _0x18004a=new _0x291147(this[_0x19e18c(0x13f)][_0x19e18c(0xfb)]);this[_0x19e18c(0x100)][_0x19e18c(0x11f)](_0x18004a,_0x393cda),this[_0x19e18c(0x121)][_0x19e18c(0x11f)](_0x393cda,_0x18004a),_0x18004a[_0x19e18c(0x13b)][_0x19e18c(0xf6)](_0x5c539c),this[_0x19e18c(0x127)](_0x393cda[_0x19e18c(0x146)],_0x19e18c(0xff),(_0x14b952,_0x171e4f,_0x480607)=>{const _0x4d9a2a=_0x19e18c,_0x4cdc74=this[_0x4d9a2a(0x103)](_0x393cda,_0x480607);_0x18004a[_0x4d9a2a(0x11d)]!=_0x4cdc74&&(_0x18004a[_0x4d9a2a(0x11d)]=_0x4cdc74,this[_0x4d9a2a(0xfc)](_0x18004a,_0x4cdc74));}),this[_0x19e18c(0x127)](_0x18004a,_0x19e18c(0x147),()=>{const _0x5ab7c9=_0x19e18c;this[_0x5ab7c9(0x10f)](_0x18004a,_0x5ab7c9(0x12a));}),this[_0x19e18c(0x127)](_0x18004a,_0x19e18c(0xee),()=>{const _0x271e2d=_0x19e18c;this[_0x271e2d(0x10f)](_0x18004a,_0x271e2d(0xf4));}),this[_0x19e18c(0x101)](_0x18004a);const _0x1a964a=this[_0x19e18c(0x10c)](_0x18004a);if(_0x1a964a)this[_0x19e18c(0x144)](_0x1a964a,_0x18004a)||this[_0x19e18c(0x101)](_0x18004a);else this[_0x19e18c(0x101)](_0x18004a);return this[_0x19e18c(0x108)](),this[_0x19e18c(0x146)][_0x19e18c(0x115)][_0x19e18c(0xf6)](_0x18004a),_0x18004a;}[_0x5ff413(0x139)](_0x5ade92){const _0x2b83a9=_0x5ff413;if(!_0x5ade92[_0x2b83a9(0x13b)][_0x2b83a9(0x141)])return;const _0x3168d9=this[_0x2b83a9(0x10c)](_0x5ade92);if(!_0x3168d9)return;const _0x113a77=this[_0x2b83a9(0x100)][_0x2b83a9(0xfa)](_0x3168d9),_0xeb5605=this[_0x2b83a9(0x12d)];_0xeb5605&&_0xeb5605===_0x113a77?this[_0x2b83a9(0x144)](_0x3168d9,_0x5ade92):this[_0x2b83a9(0x102)](_0x5ade92,_0x3168d9);}[_0x5ff413(0x126)](_0x333f11){const _0x816003=_0x5ff413;if(!_0x333f11[_0x816003(0x13b)][_0x816003(0x141)])return;const _0x24e1e6=this[_0x816003(0x119)](_0x333f11);if(!_0x24e1e6)return;const _0x4d4b8f=this[_0x816003(0x100)][_0x816003(0xfa)](_0x24e1e6),_0x1c71e0=this[_0x816003(0x13f)][_0x816003(0x111)][_0x816003(0xfa)](_0x816003(0x10d)),_0x1e0d65=this[_0x816003(0x12d)];_0x1e0d65&&_0x1e0d65===_0x4d4b8f&&_0x1c71e0?(this[_0x816003(0x102)](_0x24e1e6,_0x333f11),this[_0x816003(0x144)](_0x333f11,_0x24e1e6)):_0x1e0d65&&_0x1e0d65===_0x4d4b8f?this[_0x816003(0x102)](_0x24e1e6,_0x333f11):this[_0x816003(0x144)](_0x333f11,_0x24e1e6);}[_0x5ff413(0x10f)](_0x4f2f10,_0x28f77f){const _0x35e711=_0x5ff413;0x0===this[_0x35e711(0x12b)][_0x35e711(0x141)]&&setTimeout(()=>{const _0x4d6a20=_0x35e711;for(const {sidebarItemView:_0xc65b2,changedProp:_0x4eae1f}of this[_0x4d6a20(0x12b)])_0x4d6a20(0x12a)===_0x4eae1f?this[_0x4d6a20(0x139)](_0xc65b2):this[_0x4d6a20(0x126)](_0xc65b2);this[_0x4d6a20(0x12b)]=[];},0xa),this[_0x35e711(0x12b)][_0x35e711(0x124)]({'sidebarItemView':_0x4f2f10,'changedProp':_0x28f77f});}[_0x5ff413(0x128)](_0x3a44d6){const _0x4986bc=_0x5ff413;return this[_0x4986bc(0x121)][_0x4986bc(0xfa)](_0x3a44d6);}[_0x5ff413(0x131)](){const _0x17f68b=_0x5ff413;this[_0x17f68b(0x114)](),this[_0x17f68b(0x146)][_0x17f68b(0x131)]();}[_0x5ff413(0x140)](_0xe306f8){const _0x288906=_0x5ff413,_0x463621=this[_0x288906(0x128)](_0xe306f8);this[_0x288906(0x114)](_0x463621),this[_0x288906(0x114)](_0xe306f8[_0x288906(0x146)]),_0x463621[_0x288906(0x131)](),this[_0x288906(0x121)][_0x288906(0x145)](_0xe306f8),this[_0x288906(0x100)][_0x288906(0x145)](_0x463621);}[_0x5ff413(0x12f)](){const _0x54de50=_0x5ff413,_0xe13ba4=new _0x458768(this[_0x54de50(0x13f)][_0x54de50(0xfb)]);return _0xe13ba4[_0x54de50(0x134)](),this['on'](_0x54de50(0x112),(_0x1b3839,_0x3f34b4,_0x232444,_0x3a3518)=>{const _0x5f2022=_0x54de50;_0x3a3518&&_0xe13ba4[_0x5f2022(0x106)](_0x5f2022(0x110)),_0x232444?_0xe13ba4[_0x5f2022(0x132)](_0x5f2022(0x110))['to'](_0x232444,_0x5f2022(0xf4)):_0xe13ba4[_0x5f2022(0x110)]=null;}),_0xe13ba4;}[_0x5ff413(0x108)](){const _0x5395de=_0x5ff413;this[_0x5395de(0x13a)]=this[_0x5395de(0x107)]?.[_0x5395de(0x13e)]?this[_0x5395de(0x128)](this[_0x5395de(0x107)][_0x5395de(0x13e)]):null;}[_0x5ff413(0x10c)](_0x4f7a89){const _0x1358fd=_0x5ff413,_0x2bc09d=this[_0x1358fd(0x100)][_0x1358fd(0xfa)](_0x4f7a89),_0x1d2bca=_0x2bc09d&&this[_0x1358fd(0x107)]?.[_0x1358fd(0xfa)](this[_0x1358fd(0x107)][_0x1358fd(0x11b)](_0x2bc09d)-0x1);return _0x1d2bca&&this[_0x1358fd(0x128)](_0x1d2bca)||null;}[_0x5ff413(0x119)](_0x513e04){const _0x19e021=_0x5ff413,_0x50b68e=this[_0x19e021(0x100)][_0x19e021(0xfa)](_0x513e04),_0x540900=_0x50b68e&&this[_0x19e021(0x107)]?.[_0x19e021(0xfa)](this[_0x19e021(0x107)][_0x19e021(0x11b)](_0x50b68e)+0x1);return _0x540900&&this[_0x19e021(0x128)](_0x540900)||null;}[_0x5ff413(0x102)](_0x3a5f6e,_0x80a4df){const _0x5b78fa=_0x5ff413;_0x3a5f6e[_0x5b78fa(0x142)]();const _0x54883f=G(_0x80a4df[_0x5b78fa(0xf4)]+this[_0x5b78fa(0x13c)],_0x3a5f6e[_0x5b78fa(0x12a)]);return!!_0x54883f&&(this[_0x5b78fa(0xfc)](_0x80a4df,_0x80a4df[_0x5b78fa(0x12a)]-_0x54883f),!0x0);}[_0x5ff413(0x144)](_0x529ddd,_0x5e09bf){const _0x1b12f1=_0x5ff413;_0x529ddd[_0x1b12f1(0x142)]();const _0x3b5f4a=G(_0x529ddd[_0x1b12f1(0xf4)]+this[_0x1b12f1(0x13c)],_0x5e09bf[_0x1b12f1(0x12a)]);return!!_0x3b5f4a&&(this[_0x1b12f1(0xfc)](_0x5e09bf,_0x5e09bf[_0x1b12f1(0x12a)]+_0x3b5f4a,!0x1),!0x0);}[_0x5ff413(0x101)](_0x3a927f){const _0x4db006=_0x5ff413,_0x58a57c=this[_0x4db006(0x100)][_0x4db006(0xfa)](_0x3a927f);if(!_0x58a57c||!_0x58a57c[_0x4db006(0x136)]||!_0x58a57c[_0x4db006(0x133)])return;const _0x529972=this[_0x4db006(0x103)](_0x58a57c,_0x58a57c[_0x4db006(0x133)]);this[_0x4db006(0xfc)](_0x3a927f,_0x529972);}[_0x5ff413(0x103)](_0x3a0ed7,_0x5cb89e){const _0x49be23=_0x5ff413;if(null===_0x5cb89e)return 0x0;if(_0x3a0ed7[_0x49be23(0x136)]instanceof _0x253abb)return _0x5cb89e[_0x49be23(0x12a)];{const _0x522a3c=new _0x253abb(this[_0x49be23(0x146)][_0x49be23(0x11a)])[_0x49be23(0x12a)];return _0x5cb89e[_0x49be23(0x12a)]-_0x522a3c;}}[_0x5ff413(0xfc)](_0x42d7e3,_0x69d6ec,_0x3ba10b=this[_0x5ff413(0x13f)][_0x5ff413(0x111)][_0x5ff413(0xfa)](_0x5ff413(0x10d))){const _0x49f436=_0x5ff413;_0x3ba10b&&(_0x69d6ec=Math[_0x49f436(0x137)](_0x69d6ec,this[_0x49f436(0x138)](_0x42d7e3))),_0x42d7e3[_0x49f436(0x12a)]=_0x69d6ec;}[_0x5ff413(0x138)](_0xb0f3bf){const _0x4c56c6=_0x5ff413;let _0x43c16e=this[_0x4c56c6(0x10c)](_0xb0f3bf),_0x3e0593=0x0;for(;_0x43c16e;)_0x43c16e[_0x4c56c6(0x142)](),_0x3e0593+=this[_0x4c56c6(0x13c)]+_0x43c16e[_0x4c56c6(0x143)],_0x43c16e=this[_0x4c56c6(0x10c)](_0x43c16e);return _0x3e0593;}}function G(_0x278a50,_0x274bf7){const _0x397bc9=_0x5ff413;return Math[_0x397bc9(0x137)](_0x278a50-_0x274bf7,0x0);}function g(_0x9305b1){const _0x18afcd=_0x5ff413;return null!==_0x9305b1&&_0x18afcd(0x11c)==typeof _0x9305b1&&0x1===_0x9305b1[_0x18afcd(0xed)];}
|
|
23
|
+
function _0x2902(_0x1a0a35,_0x201838){const _0x160d12=_0x160d();return _0x2902=function(_0x290244,_0x11d02c){_0x290244=_0x290244-0x11e;let _0x16f22c=_0x160d12[_0x290244];return _0x16f22c;},_0x2902(_0x1a0a35,_0x201838);}const _0x1ae288=_0x2902;(function(_0x4a4960,_0x492342){const _0x123bd1=_0x2902,_0x45aa11=_0x4a4960();while(!![]){try{const _0x48b6a6=-parseInt(_0x123bd1(0x15d))/0x1*(-parseInt(_0x123bd1(0x15b))/0x2)+-parseInt(_0x123bd1(0x14c))/0x3*(-parseInt(_0x123bd1(0x15e))/0x4)+-parseInt(_0x123bd1(0x179))/0x5+-parseInt(_0x123bd1(0x133))/0x6*(parseInt(_0x123bd1(0x145))/0x7)+-parseInt(_0x123bd1(0x151))/0x8*(parseInt(_0x123bd1(0x13b))/0x9)+parseInt(_0x123bd1(0x159))/0xa+parseInt(_0x123bd1(0x168))/0xb*(parseInt(_0x123bd1(0x122))/0xc);if(_0x48b6a6===_0x492342)break;else _0x45aa11['push'](_0x45aa11['shift']());}catch(_0x4faf30){_0x45aa11['push'](_0x45aa11['shift']());}}}(_0x160d,0x50e33));import{ContextPlugin as _0x25728f}from'ckeditor5/src/core.js';import{Rect as _0x21cb25,CKEditorError as _0x4f078a}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x1056be}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x2e837e}from'./view/sidebaritemview.js';export class Sidebar extends _0x25728f{[_0x1ae288(0x14a)];[_0x1ae288(0x146)];[_0x1ae288(0x171)];[_0x1ae288(0x11e)];[_0x1ae288(0x12b)];[_0x1ae288(0x176)];[_0x1ae288(0x131)];static get[_0x1ae288(0x143)](){const _0x196445=_0x1ae288;return _0x196445(0x166);}static get[_0x1ae288(0x15f)](){return!0x0;}static get[_0x1ae288(0x136)](){return!0x0;}constructor(_0x10eed0){const _0x10a55a=_0x1ae288;super(_0x10eed0),this[_0x10a55a(0x132)](_0x10a55a(0x16e),void 0x0),this[_0x10a55a(0x14a)]=this[_0x10a55a(0x165)](),this[_0x10a55a(0x132)](_0x10a55a(0x12d),null),this[_0x10a55a(0x11e)]=0x19,this[_0x10a55a(0x12b)]=new Map(),this[_0x10a55a(0x176)]=new Map(),this[_0x10a55a(0x169)][_0x10a55a(0x174)][_0x10a55a(0x137)](_0x10a55a(0x141),!0x1),this[_0x10a55a(0x171)]=null,this[_0x10a55a(0x146)]=null,this[_0x10a55a(0x131)]=[];}[_0x1ae288(0x15a)](){const _0x36b044=_0x1ae288,_0x8a9d16=this[_0x36b044(0x169)][_0x36b044(0x174)][_0x36b044(0x15c)](_0x36b044(0x13c));_0x8a9d16&&this[_0x36b044(0x17a)](_0x8a9d16);}[_0x1ae288(0x17a)](_0x27cd7f){const _0x13179b=_0x1ae288;if(!g(_0x27cd7f))throw new _0x4f078a(_0x13179b(0x154));this[_0x13179b(0x12d)]=_0x27cd7f;}[_0x1ae288(0x129)]({viewClass:_0x13fcd4='',spaceBetweenItems:_0x1cc60a=0x19}={}){const _0xb5a9c0=_0x1ae288;if(!g(this[_0xb5a9c0(0x12d)]))throw new _0x4f078a(_0xb5a9c0(0x140),this);this[_0xb5a9c0(0x12d)][_0xb5a9c0(0x173)](this[_0xb5a9c0(0x14a)][_0xb5a9c0(0x14d)]),this[_0xb5a9c0(0x14a)][_0xb5a9c0(0x11f)]=_0x13fcd4,this[_0xb5a9c0(0x11e)]=_0x1cc60a;}[_0x1ae288(0x16c)]({removedAnnotation:_0x4af004,previousAnnotation:_0x4e397a,nextAnnotation:_0x129027}){const _0xbbeaea=_0x1ae288,_0x39a733=this[_0xbbeaea(0x134)](_0x4af004);this[_0xbbeaea(0x14a)][_0xbbeaea(0x126)][_0xbbeaea(0x13e)](_0x39a733),this[_0xbbeaea(0x175)](_0x4af004),_0x4e397a&&this[_0xbbeaea(0x177)](this[_0xbbeaea(0x134)](_0x4e397a)),_0x129027&&this[_0xbbeaea(0x177)](this[_0xbbeaea(0x134)](_0x129027)),this[_0xbbeaea(0x152)]();}[_0x1ae288(0x148)]({blurredAnnotation:_0x31c27e,activatedAnnotation:_0xaf008a,disableAnimationOnActivatedAnnotation:_0x1a5387}){const _0x5c0b36=_0x1ae288;if(this[_0x5c0b36(0x146)]=_0xaf008a,_0x31c27e){_0x31c27e[_0x5c0b36(0x16b)]=!0x1;const _0x22d84b=this[_0x5c0b36(0x134)](_0x31c27e);_0x22d84b&&_0x1a5387&&(_0x22d84b[_0x5c0b36(0x149)]=!0x1);}if(_0xaf008a){const _0x41c656=this[_0x5c0b36(0x134)](_0xaf008a);_0x41c656&&(_0xaf008a[_0x5c0b36(0x16b)]=!0x0,_0x1a5387&&(_0x41c656[_0x5c0b36(0x149)]=!0x0,_0x41c656[_0x5c0b36(0x16d)]+=0x1),this[_0x5c0b36(0x177)](_0x41c656));}}[_0x1ae288(0x13d)](_0x51159c){const _0x29e466=_0x1ae288;if(this[_0x29e466(0x14a)][_0x29e466(0x14d)][_0x29e466(0x13e)](),_0x51159c){for(const _0x15aa45 of _0x51159c)this[_0x29e466(0x175)](_0x15aa45);}this[_0x29e466(0x14a)][_0x29e466(0x126)][_0x29e466(0x14b)](),this[_0x29e466(0x14a)][_0x29e466(0x11f)]='',this[_0x29e466(0x16e)]=null;}[_0x1ae288(0x172)](_0x499aea,_0x3c3808){const _0x5573b7=_0x1ae288;_0x3c3808||(_0x3c3808=_0x499aea[_0x5573b7(0x14a)]);const _0x4c8dfb=new _0x2e837e(this[_0x5573b7(0x169)][_0x5573b7(0x142)]);this[_0x5573b7(0x12b)][_0x5573b7(0x132)](_0x4c8dfb,_0x499aea),this[_0x5573b7(0x176)][_0x5573b7(0x132)](_0x499aea,_0x4c8dfb),_0x4c8dfb[_0x5573b7(0x161)][_0x5573b7(0x14f)](_0x3c3808),this[_0x5573b7(0x128)](_0x499aea[_0x5573b7(0x14a)],_0x5573b7(0x157),(_0x53b70f,_0xd3abea,_0x1af5e8)=>{const _0x37481d=_0x5573b7,_0x2a0e94=this[_0x37481d(0x130)](_0x499aea,_0x1af5e8);_0x4c8dfb[_0x37481d(0x178)]!=_0x2a0e94&&(_0x4c8dfb[_0x37481d(0x178)]=_0x2a0e94,this[_0x37481d(0x12a)](_0x4c8dfb,_0x2a0e94));}),this[_0x5573b7(0x128)](_0x4c8dfb,_0x5573b7(0x167),()=>{const _0x28b79b=_0x5573b7;this[_0x28b79b(0x123)](_0x4c8dfb,_0x28b79b(0x16d));}),this[_0x5573b7(0x128)](_0x4c8dfb,_0x5573b7(0x13f),()=>{const _0x2fbb0c=_0x5573b7;this[_0x2fbb0c(0x123)](_0x4c8dfb,_0x2fbb0c(0x153));}),this[_0x5573b7(0x177)](_0x4c8dfb);const _0x1fd0fc=this[_0x5573b7(0x138)](_0x4c8dfb);if(_0x1fd0fc)this[_0x5573b7(0x14e)](_0x1fd0fc,_0x4c8dfb)||this[_0x5573b7(0x177)](_0x4c8dfb);else this[_0x5573b7(0x177)](_0x4c8dfb);return this[_0x5573b7(0x152)](),this[_0x5573b7(0x14a)][_0x5573b7(0x126)][_0x5573b7(0x14f)](_0x4c8dfb),_0x4c8dfb;}[_0x1ae288(0x163)](_0x50def4){const _0x4c0cce=_0x1ae288;if(!_0x50def4[_0x4c0cce(0x161)][_0x4c0cce(0x12f)])return;const _0x11af6d=this[_0x4c0cce(0x138)](_0x50def4);if(!_0x11af6d)return;const _0x18887d=this[_0x4c0cce(0x12b)][_0x4c0cce(0x15c)](_0x11af6d),_0x25b76f=this[_0x4c0cce(0x146)];_0x25b76f&&_0x25b76f===_0x18887d?this[_0x4c0cce(0x14e)](_0x11af6d,_0x50def4):this[_0x4c0cce(0x162)](_0x50def4,_0x11af6d);}[_0x1ae288(0x16f)](_0x37c97b){const _0x45a0ca=_0x1ae288;if(!_0x37c97b[_0x45a0ca(0x161)][_0x45a0ca(0x12f)])return;const _0x36e7d2=this[_0x45a0ca(0x155)](_0x37c97b);if(!_0x36e7d2)return;const _0xcf04f=this[_0x45a0ca(0x12b)][_0x45a0ca(0x15c)](_0x36e7d2),_0x3b0a14=this[_0x45a0ca(0x169)][_0x45a0ca(0x174)][_0x45a0ca(0x15c)](_0x45a0ca(0x141)),_0x35e97d=this[_0x45a0ca(0x146)];_0x35e97d&&_0x35e97d===_0xcf04f&&_0x3b0a14?(this[_0x45a0ca(0x162)](_0x36e7d2,_0x37c97b),this[_0x45a0ca(0x14e)](_0x37c97b,_0x36e7d2)):_0x35e97d&&_0x35e97d===_0xcf04f?this[_0x45a0ca(0x162)](_0x36e7d2,_0x37c97b):this[_0x45a0ca(0x14e)](_0x37c97b,_0x36e7d2);}[_0x1ae288(0x123)](_0x317f36,_0x18b053){const _0x3180f3=_0x1ae288;0x0===this[_0x3180f3(0x131)][_0x3180f3(0x12f)]&&setTimeout(()=>{const _0x4c43f9=_0x3180f3;for(const {sidebarItemView:_0xcb1a44,changedProp:_0x170fbe}of this[_0x4c43f9(0x131)])_0x4c43f9(0x16d)===_0x170fbe?this[_0x4c43f9(0x163)](_0xcb1a44):this[_0x4c43f9(0x16f)](_0xcb1a44);this[_0x4c43f9(0x131)]=[];},0xa),this[_0x3180f3(0x131)][_0x3180f3(0x121)]({'sidebarItemView':_0x317f36,'changedProp':_0x18b053});}[_0x1ae288(0x134)](_0x12e924){const _0x12b149=_0x1ae288;return this[_0x12b149(0x176)][_0x12b149(0x15c)](_0x12e924);}[_0x1ae288(0x12e)](){const _0x17edad=_0x1ae288;this[_0x17edad(0x170)](),this[_0x17edad(0x14a)][_0x17edad(0x12e)]();}[_0x1ae288(0x175)](_0x3ee4c5){const _0x324a97=_0x1ae288,_0x3133a6=this[_0x324a97(0x134)](_0x3ee4c5);this[_0x324a97(0x170)](_0x3133a6),this[_0x324a97(0x170)](_0x3ee4c5[_0x324a97(0x14a)]),_0x3133a6[_0x324a97(0x12e)](),this[_0x324a97(0x176)][_0x324a97(0x12c)](_0x3ee4c5),this[_0x324a97(0x12b)][_0x324a97(0x12c)](_0x3133a6);}[_0x1ae288(0x165)](){const _0x557c2f=_0x1ae288,_0x503194=new _0x1056be(this[_0x557c2f(0x169)][_0x557c2f(0x142)]);return _0x503194[_0x557c2f(0x164)](),this['on'](_0x557c2f(0x16a),(_0x135430,_0x4d4aec,_0x43a3a3,_0x5319c0)=>{const _0x307745=_0x557c2f;_0x5319c0&&_0x503194[_0x307745(0x13a)](_0x307745(0x125)),_0x43a3a3?_0x503194[_0x307745(0x139)](_0x307745(0x125))['to'](_0x43a3a3,_0x307745(0x153)):_0x503194[_0x307745(0x125)]=null;}),_0x503194;}[_0x1ae288(0x152)](){const _0x1ca115=_0x1ae288;this[_0x1ca115(0x16e)]=this[_0x1ca115(0x171)]?.[_0x1ca115(0x144)]?this[_0x1ca115(0x134)](this[_0x1ca115(0x171)][_0x1ca115(0x144)]):null;}[_0x1ae288(0x138)](_0x6450f2){const _0x51ea01=_0x1ae288,_0x473da4=this[_0x51ea01(0x12b)][_0x51ea01(0x15c)](_0x6450f2),_0x6d37f4=_0x473da4&&this[_0x51ea01(0x171)]?.[_0x51ea01(0x15c)](this[_0x51ea01(0x171)][_0x51ea01(0x120)](_0x473da4)-0x1);return _0x6d37f4&&this[_0x51ea01(0x134)](_0x6d37f4)||null;}[_0x1ae288(0x155)](_0x5d0677){const _0x31fe3a=_0x1ae288,_0x5da529=this[_0x31fe3a(0x12b)][_0x31fe3a(0x15c)](_0x5d0677),_0x26c5e4=_0x5da529&&this[_0x31fe3a(0x171)]?.[_0x31fe3a(0x15c)](this[_0x31fe3a(0x171)][_0x31fe3a(0x120)](_0x5da529)+0x1);return _0x26c5e4&&this[_0x31fe3a(0x134)](_0x26c5e4)||null;}[_0x1ae288(0x162)](_0xcd68a0,_0x31a17e){const _0x5047b9=_0x1ae288;_0xcd68a0[_0x5047b9(0x158)]();const _0x53827e=G(_0x31a17e[_0x5047b9(0x153)]+this[_0x5047b9(0x11e)],_0xcd68a0[_0x5047b9(0x16d)]);return!!_0x53827e&&(this[_0x5047b9(0x12a)](_0x31a17e,_0x31a17e[_0x5047b9(0x16d)]-_0x53827e),!0x0);}[_0x1ae288(0x14e)](_0x28d132,_0x141893){const _0x611d6f=_0x1ae288;_0x28d132[_0x611d6f(0x158)]();const _0x3ea76c=G(_0x28d132[_0x611d6f(0x153)]+this[_0x611d6f(0x11e)],_0x141893[_0x611d6f(0x16d)]);return!!_0x3ea76c&&(this[_0x611d6f(0x12a)](_0x141893,_0x141893[_0x611d6f(0x16d)]+_0x3ea76c,!0x1),!0x0);}[_0x1ae288(0x177)](_0x1a2b5a){const _0x463466=_0x1ae288,_0xa60d93=this[_0x463466(0x12b)][_0x463466(0x15c)](_0x1a2b5a);if(!_0xa60d93||!_0xa60d93[_0x463466(0x147)]||!_0xa60d93[_0x463466(0x156)])return;const _0x596257=this[_0x463466(0x130)](_0xa60d93,_0xa60d93[_0x463466(0x156)]);this[_0x463466(0x12a)](_0x1a2b5a,_0x596257);}[_0x1ae288(0x130)](_0x3f8411,_0x26fc6b){const _0x5f31de=_0x1ae288;if(null===_0x26fc6b)return 0x0;if(_0x3f8411[_0x5f31de(0x147)]instanceof _0x21cb25)return _0x26fc6b[_0x5f31de(0x16d)];{const _0x10a9a1=new _0x21cb25(this[_0x5f31de(0x14a)][_0x5f31de(0x14d)])[_0x5f31de(0x16d)];return _0x26fc6b[_0x5f31de(0x16d)]-_0x10a9a1;}}[_0x1ae288(0x12a)](_0x116378,_0x54c8b4,_0x2fcfc7=this[_0x1ae288(0x169)][_0x1ae288(0x174)][_0x1ae288(0x15c)](_0x1ae288(0x141))){const _0xe88991=_0x1ae288;_0x2fcfc7&&(_0x54c8b4=Math[_0xe88991(0x160)](_0x54c8b4,this[_0xe88991(0x150)](_0x116378))),_0x116378[_0xe88991(0x16d)]=_0x54c8b4;}[_0x1ae288(0x150)](_0x4e1131){const _0x8803d3=_0x1ae288;let _0x297ad5=this[_0x8803d3(0x138)](_0x4e1131),_0x32e6ff=0x0;for(;_0x297ad5;)_0x297ad5[_0x8803d3(0x158)](),_0x32e6ff+=this[_0x8803d3(0x11e)]+_0x297ad5[_0x8803d3(0x127)],_0x297ad5=this[_0x8803d3(0x138)](_0x297ad5);return _0x32e6ff;}}function _0x160d(){const _0x58af74=['change:bottom','sidebar-attachtocontainer-missing-container','sidebar.preventScrollOutOfView','locale','pluginName','last','371vQowZZ','_activeAnnotation','target','refresh','isAnimationDisabled','view','clear','3qnIcfT','element','_alignAfterItem','add','_getMaxAvailableTop','112RcLUlx','_updateLastItem','bottom','sidebar-setcontainer-invalid-element','_getItemAfter','targetRect','change:targetRect','updateHeight','507940DFBvFe','init','66284qguWrb','get','1YYyWfJ','2636252uRVrng','isOfficialPlugin','max','content','_alignBeforeItem','_alignForTopChange','render','_createSidebarView','Sidebar','change:top','22IpGYwO','context','change:_lastItem','isActive','rearrange','top','_lastItem','_alignForBottomChange','stopListening','_annotations','addAnnotation','appendChild','config','_destroySidebarItemView','_annotationToSidebarItemView','_alignToTargetRect','_targetTop','285260WcafTu','setContainer','_spaceBetweenItems','class','getIndex','push','4437288LtCaJW','_recalculate','nodeType','minHeight','list','height','listenTo','_attachToContainer','_setItemTop','_sidebarItemViewToAnnotation','delete','container','destroy','length','_getTargetTop','_recalculateBuffer','set','60348lyTBue','getSidebarItemView','object','isPremiumPlugin','define','_getItemBefore','bind','unbind','360711oFRXvO','sidebar.container','_detachFromContainer','remove'];_0x160d=function(){return _0x58af74;};return _0x160d();}function G(_0x1c93ef,_0x325c19){const _0x255b59=_0x1ae288;return Math[_0x255b59(0x160)](_0x1c93ef-_0x325c19,0x0);}function g(_0x3e740e){const _0x1d1cf6=_0x1ae288;return null!==_0x3e740e&&_0x1d1cf6(0x135)==typeof _0x3e740e&&0x1===_0x3e740e[_0x1d1cf6(0x124)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1ab7(_0x5aea2d,_0x29058f){const _0x1c54d6=_0x1c54();return _0x1ab7=function(_0x1ab7f6,_0x4891e8){_0x1ab7f6=_0x1ab7f6-0xfe;let _0x5b0908=_0x1c54d6[_0x1ab7f6];return _0x5b0908;},_0x1ab7(_0x5aea2d,_0x29058f);}const _0x50467e=_0x1ab7;(function(_0x3e6953,_0x23aede){const _0x281441=_0x1ab7,_0x45f9ce=_0x3e6953();while(!![]){try{const _0x116e52=-parseInt(_0x281441(0x10a))/0x1*(parseInt(_0x281441(0xfe))/0x2)+parseInt(_0x281441(0x100))/0x3*(parseInt(_0x281441(0xff))/0x4)+-parseInt(_0x281441(0x105))/0x5*(-parseInt(_0x281441(0x10e))/0x6)+parseInt(_0x281441(0x103))/0x7*(parseInt(_0x281441(0x108))/0x8)+-parseInt(_0x281441(0x10d))/0x9*(-parseInt(_0x281441(0x102))/0xa)+parseInt(_0x281441(0x109))/0xb*(-parseInt(_0x281441(0x11b))/0xc)+-parseInt(_0x281441(0x11c))/0xd;if(_0x116e52===_0x23aede)break;else _0x45f9ce['push'](_0x45f9ce['shift']());}catch(_0x3b5d6d){_0x45f9ce['push'](_0x45f9ce['shift']());}}}(_0x1c54,0xf1103));function _0x1c54(){const _0x44a99b=['464872tlkgxU','33EABzVM','1503SdKJuz','annotationType','isDirty','27wTtfUO','2208QGYNOm','bind','ck-annotation-counter','ck-annotation-counter__badge--edit-mode','icon','toString','_badge','add','extendTemplate','...','setTemplate','set','children','6111348SjhFpv','19932315FAsEKj','ck-annotation-counter__badge','bindTemplate','466JiXwaV','4dZblXn','5597076NrkmZb','span','5308360FIppex','98AGIVuo','number','1725FZbvOW','counterView','ck-annotation-counter__badge--'];_0x1c54=function(){return _0x44a99b;};return _0x1c54();}import{ButtonView as _0x96b9fc,View as _0x16d75e}from'ckeditor5/src/ui.js';import{IconAddComment as _0x572071}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x96b9fc{[_0x50467e(0x106)];constructor(_0x194529){const _0x3167bb=_0x50467e;super(_0x194529);const _0x4593d7=this[_0x3167bb(0x11e)];this[_0x3167bb(0x119)](_0x3167bb(0x10c),!0x1),this[_0x3167bb(0x119)](_0x3167bb(0x104),0x0),this[_0x3167bb(0x10f)](_0x3167bb(0x114))['to'](this,_0x3167bb(0x10c),this,_0x3167bb(0x104),(_0x30e110,_0xda9fcc)=>_0x30e110?_0x3167bb(0x117):_0xda9fcc[_0x3167bb(0x113)]()),this[_0x3167bb(0x119)](_0x3167bb(0x10b),''),this[_0x3167bb(0x112)]=_0x572071,this[_0x3167bb(0x116)]({'attributes':{'class':[_0x3167bb(0x110)]}}),this[_0x3167bb(0x106)]=new _0x16d75e(),this[_0x3167bb(0x106)][_0x3167bb(0x118)]({'tag':_0x3167bb(0x101),'attributes':{'class':[_0x3167bb(0x11d),_0x4593d7['to'](_0x3167bb(0x10b),_0x2c15be=>_0x3167bb(0x107)+_0x2c15be),_0x4593d7['if'](_0x3167bb(0x10c),_0x3167bb(0x111))]},'children':[{'text':_0x4593d7['to'](_0x3167bb(0x114))}]}),this[_0x3167bb(0x11a)][_0x3167bb(0x115)](this[_0x3167bb(0x106)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c9aa5=_0x52a6;(function(_0x4a3bb9,_0x18555f){const _0x466d18=_0x52a6,_0x1cfb06=_0x4a3bb9();while(!![]){try{const _0x5e88f5=parseInt(_0x466d18(0xf2))/0x1+parseInt(_0x466d18(0xf4))/0x2*(-parseInt(_0x466d18(0xe1))/0x3)+-parseInt(_0x466d18(0xe5))/0x4+parseInt(_0x466d18(0xda))/0x5*(parseInt(_0x466d18(0xe2))/0x6)+-parseInt(_0x466d18(0xee))/0x7*(parseInt(_0x466d18(0xdc))/0x8)+parseInt(_0x466d18(0xd8))/0x9*(parseInt(_0x466d18(0xe9))/0xa)+-parseInt(_0x466d18(0xdf))/0xb*(-parseInt(_0x466d18(0xec))/0xc);if(_0x5e88f5===_0x18555f)break;else _0x1cfb06['push'](_0x1cfb06['shift']());}catch(_0x419b7d){_0x1cfb06['push'](_0x1cfb06['shift']());}}}(_0x47c2,0x9ee6b));import{View as _0x3292d9}from'ckeditor5/src/ui.js';import{FocusTracker as _0x25c1ff,KeystrokeHandler as _0xd3444,uid as _0x1759e6}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x46ad7e}from'../../utils/createmutationobserver.js';function _0x47c2(){const _0x56d50e=['render','focus','_mutationObserver','mainView','createCollection','setTemplate','element','targetRect','ck-annotation-wrapper','height','listenTo','keystrokes','div','type','attach','9HJtJwR','add','40slDctv','arrowdown','44000chBvMF','bindTemplate','focusTracker','946IDedON','isActive','3TIRNcy','116778vGBDYr','content','_updateHeight','5144084rqQdOc','length','detach','clientHeight','7997830sbMMvf','ck-annotation-wrapper--active','ck-rounded-corners','260088UchLiz','set','595XUlnnE','destroy','presentation','arrowup','710383ZeljeH','fire','2250908zEsPfz','first','isDirty','clear','delegate','Esc'];_0x47c2=function(){return _0x56d50e;};return _0x47c2();}function _0x52a6(_0x2e1607,_0x5c3c5b){const _0x47c225=_0x47c2();return _0x52a6=function(_0x52a6fe,_0x3d7c83){_0x52a6fe=_0x52a6fe-0xcd;let _0x4d1251=_0x47c225[_0x52a6fe];return _0x4d1251;},_0x52a6(_0x2e1607,_0x5c3c5b);}import'../../../theme/annotation.css';export class AnnotationView extends _0x3292d9{[_0x3c9aa5(0xde)];['id'];[_0x3c9aa5(0xd4)];[_0x3c9aa5(0xe3)];[_0x3c9aa5(0xfd)];[_0x3c9aa5(0xfc)];constructor(_0x2025f6,_0x2d12cd){const _0x3c2580=_0x3c9aa5;super(_0x2025f6),this['id']=_0x1759e6(),this[_0x3c2580(0xde)]=new _0x25c1ff(),this[_0x3c2580(0xd4)]=new _0xd3444(),this[_0x3c2580(0xd4)][_0x3c2580(0xed)](_0x3c2580(0xf9),(_0x810047,_0x1f1f9f)=>this[_0x3c2580(0xf3)](_0x3c2580(0xf9),_0x1f1f9f)),this[_0x3c2580(0xed)](_0x3c2580(0xd0),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x3c2580(0xed)](_0x3c2580(0xd2),0x0),this[_0x3c2580(0xed)](_0x3c2580(0xe0),!0x1),this[_0x3c2580(0xed)](_0x3c2580(0xf6),!0x1),this[_0x3c2580(0xed)](_0x3c2580(0xe6),0x0),this[_0x3c2580(0xed)](_0x3c2580(0xd6),''),this[_0x3c2580(0xfc)]=_0x46ad7e(()=>this[_0x3c2580(0xe4)]()),this[_0x3c2580(0xe3)]=this[_0x3c2580(0xcd)](),this[_0x3c2580(0xe3)][_0x3c2580(0xf8)](_0x3c2580(0xf1),_0x3c2580(0xdb))['to'](this),this[_0x3c2580(0xe3)][_0x3c2580(0xd9)](_0x2d12cd),this[_0x3c2580(0xfd)]=_0x2d12cd;const _0x518d36=this[_0x3c2580(0xdd)];this[_0x3c2580(0xce)]({'tag':_0x3c2580(0xd5),'attributes':{'class':['ck',_0x3c2580(0xd1),_0x3c2580(0xeb),_0x518d36['if'](_0x3c2580(0xe0),_0x3c2580(0xea))],'role':_0x3c2580(0xf0)},'children':this[_0x3c2580(0xe3)]});}[_0x3c9aa5(0xfa)](){const _0x4fd3f3=_0x3c9aa5;super[_0x4fd3f3(0xfa)](),this[_0x4fd3f3(0xde)][_0x4fd3f3(0xd9)](this[_0x4fd3f3(0xcf)]),this[_0x4fd3f3(0xd4)][_0x4fd3f3(0xd3)](this[_0x4fd3f3(0xcf)]),this[_0x4fd3f3(0xfc)][_0x4fd3f3(0xd7)](this[_0x4fd3f3(0xcf)]);}[_0x3c9aa5(0xef)](){const _0x17953b=_0x3c9aa5;this[_0x17953b(0xe3)][_0x17953b(0xf7)](),this[_0x17953b(0xd4)][_0x17953b(0xef)](),this[_0x17953b(0xde)][_0x17953b(0xef)](),this[_0x17953b(0xfc)][_0x17953b(0xe7)](),super[_0x17953b(0xef)]();}[_0x3c9aa5(0xfb)](){const _0x427c37=_0x3c9aa5;this[_0x427c37(0xe3)][_0x427c37(0xf5)]&&this[_0x427c37(0xe3)][_0x427c37(0xf5)][_0x427c37(0xfb)]();}[_0x3c9aa5(0xe4)](){const _0x1a64e6=_0x3c9aa5,_0x5ba271=this[_0x1a64e6(0xcf)][_0x1a64e6(0xe8)];_0x5ba271&&(this[_0x1a64e6(0xd2)]=_0x5ba271);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2c1054=_0x1ca7;function _0x1ca7(_0x496f0d,_0x528740){const _0xc6d631=_0xc6d6();return _0x1ca7=function(_0x1ca793,_0x39aa9e){_0x1ca793=_0x1ca793-0xef;let _0x43325b=_0xc6d631[_0x1ca793];return _0x43325b;},_0x1ca7(_0x496f0d,_0x528740);}(function(_0x4efc8e,_0x2a6e61){const _0x54d7bd=_0x1ca7,_0x48f17d=_0x4efc8e();while(!![]){try{const _0x4b231a=-parseInt(_0x54d7bd(0x110))/0x1+parseInt(_0x54d7bd(0x10c))/0x2*(-parseInt(_0x54d7bd(0xfd))/0x3)+-parseInt(_0x54d7bd(0xf7))/0x4+-parseInt(_0x54d7bd(0x10e))/0x5+parseInt(_0x54d7bd(0xfc))/0x6+-parseInt(_0x54d7bd(0xef))/0x7*(-parseInt(_0x54d7bd(0x105))/0x8)+parseInt(_0x54d7bd(0xf1))/0x9;if(_0x4b231a===_0x2a6e61)break;else _0x48f17d['push'](_0x48f17d['shift']());}catch(_0x4b7db7){_0x48f17d['push'](_0x48f17d['shift']());}}}(_0xc6d6,0x500a2));import{View as _0x12ccd2}from'ckeditor5/src/ui.js';function _0xc6d6(){const _0x56b68d=['bindTemplate','set','3396126ceysKI','354cOiEMK','bottom','isAnimationDisabled','arrowdown','element','content','bind','presentation','303760sLJbja','clear','detach','ck-sidebar-item--no-animation','setTemplate','_mutationObserver','createCollection','1502yxNDlQ','arrowup','2873055WdLPQi','ck-sidebar-item','281187hgdpWg','destroy','top','first','div','28DFWNYl','updateHeight','6987420aikeCe','clientHeight','focus','render','attach','_targetTop','888092jDjMeI','delegate','height'];_0xc6d6=function(){return _0x56b68d;};return _0xc6d6();}import{toUnit as _0x37b228}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x196113}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x37b228('px');export class AnnotationsSidebarItemView extends _0x12ccd2{[_0x2c1054(0x102)];[_0x2c1054(0xf6)];[_0x2c1054(0x10a)];constructor(_0x1333e6){const _0x47a628=_0x2c1054;super(_0x1333e6),this[_0x47a628(0xfb)](_0x47a628(0x112),0x0),this[_0x47a628(0xfb)](_0x47a628(0xf9),0x0),this[_0x47a628(0x103)](_0x47a628(0xfe))['to'](this,_0x47a628(0x112),this,_0x47a628(0xf9),(_0x51c03f,_0x2a12a7)=>_0x51c03f+_0x2a12a7),this[_0x47a628(0xfb)](_0x47a628(0xff),!0x1),this[_0x47a628(0x10a)]=_0x196113(()=>this[_0x47a628(0xf0)]()),this[_0x47a628(0xf6)]=null,this[_0x47a628(0x102)]=this[_0x47a628(0x10b)](),this[_0x47a628(0x102)][_0x47a628(0xf8)](_0x47a628(0x10d),_0x47a628(0x100))['to'](this);const _0x51bd78=this[_0x47a628(0xfa)];this[_0x47a628(0x109)]({'tag':_0x47a628(0x114),'attributes':{'class':[_0x47a628(0x10f),_0x51bd78['to'](_0x47a628(0xff),_0x4d99a5=>_0x4d99a5?_0x47a628(0x108):'')],'style':{'top':_0x51bd78['to'](_0x47a628(0x112),_0x1c830b=>Ot(_0x1c830b))},'role':_0x47a628(0x104)},'children':this[_0x47a628(0x102)]});}[_0x2c1054(0xf4)](){const _0x33748b=_0x2c1054;super[_0x33748b(0xf4)](),this[_0x33748b(0x10a)][_0x33748b(0xf5)](this[_0x33748b(0x101)]);}[_0x2c1054(0xf3)](){const _0x156279=_0x2c1054;this[_0x156279(0x102)][_0x156279(0x113)]&&this[_0x156279(0x102)][_0x156279(0x113)][_0x156279(0xf3)]();}[_0x2c1054(0xf0)](){const _0x1d8798=_0x2c1054,_0x45b5b0=this[_0x1d8798(0x101)][_0x1d8798(0xf2)];_0x45b5b0&&(this[_0x1d8798(0xf9)]=_0x45b5b0);}[_0x2c1054(0x111)](){const _0x31c428=_0x2c1054;this[_0x31c428(0x102)][_0x31c428(0x106)](),this[_0x31c428(0x10a)][_0x31c428(0x107)](),super[_0x31c428(0x111)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xd2c99=_0x5106;(function(_0x5260e4,_0x43a621){const _0x4be145=_0x5106,_0x4c9371=_0x5260e4();while(!![]){try{const _0x948326=parseInt(_0x4be145(0x177))/0x1+parseInt(_0x4be145(0x147))/0x2*(-parseInt(_0x4be145(0x14f))/0x3)+parseInt(_0x4be145(0x15a))/0x4*(-parseInt(_0x4be145(0x171))/0x5)+parseInt(_0x4be145(0x164))/0x6*(parseInt(_0x4be145(0x146))/0x7)+parseInt(_0x4be145(0x144))/0x8+parseInt(_0x4be145(0x14e))/0x9+parseInt(_0x4be145(0x16e))/0xa*(-parseInt(_0x4be145(0x16d))/0xb);if(_0x948326===_0x43a621)break;else _0x4c9371['push'](_0x4c9371['shift']());}catch(_0x6e9ec7){_0x4c9371['push'](_0x4c9371['shift']());}}}(_0x2e23,0xdaacd));import{View as _0x42ff97,FocusCycler as _0x436b1c}from'ckeditor5/src/ui.js';import{FocusTracker as _0x41cbaf,toUnit as _0x4a733e}from'ckeditor5/src/utils.js';import{getTranslation as _0x38beb7}from'../../utils/common-translations.js';function _0x2e23(){const _0x13478e=['uiLanguageDirection','delegate','focusables','removed','div','application','196nHOsIX','focusPrevious','setTemplate','forEach','render','ck-reset','remove','_updateItemPositionInFocusables','source','focusTracker','3950652IkmviF','listenTo','added','minHeight','number','set','focusNext','add','ck-sidebar','11XNlMqv','980650hmOxpX','list','_setupKeyboardNavigation','173945uWsNCr','top','class','element','Annotations\x20sidebar','change','1698489PAXqzf','2022328aAcmpJ','Annotations\x20list','7FhdPCX','1104pbjXGu','focusCycler','arrowdown','getIndex','createCollection','arrowup','focusFirst','7986969EIdPLU','4341VPUesS','change:top','focus','bindTemplate','length'];_0x2e23=function(){return _0x13478e;};return _0x2e23();}function _0x5106(_0x2b5b60,_0x132ad0){const _0x2e2381=_0x2e23();return _0x5106=function(_0x51061e,_0xd95f33){_0x51061e=_0x51061e-0x144;let _0x6da116=_0x2e2381[_0x51061e];return _0x6da116;},_0x5106(_0x2b5b60,_0x132ad0);}import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4a733e('px');export class AnnotationsSidebarView extends _0x42ff97{[_0xd2c99(0x16f)];[_0xd2c99(0x156)];[_0xd2c99(0x163)];[_0xd2c99(0x148)];constructor(_0x3dcc73){const _0x3cd04f=_0xd2c99;super(_0x3dcc73);const _0x20618e=this[_0x3cd04f(0x152)];this[_0x3cd04f(0x169)](_0x3cd04f(0x167),0x0),this[_0x3cd04f(0x169)](_0x3cd04f(0x173),''),this[_0x3cd04f(0x16f)]=this[_0x3cd04f(0x14b)](),this[_0x3cd04f(0x156)]=this[_0x3cd04f(0x14b)](),this[_0x3cd04f(0x16f)][_0x3cd04f(0x155)](_0x3cd04f(0x14c),_0x3cd04f(0x149))['to'](this),this[_0x3cd04f(0x163)]=new _0x41cbaf(),this[_0x3cd04f(0x148)]=new _0x436b1c({'focusables':this[_0x3cd04f(0x156)],'focusTracker':this[_0x3cd04f(0x163)]}),this[_0x3cd04f(0x15c)]({'tag':_0x3cd04f(0x158),'attributes':{'class':['ck',_0x3cd04f(0x16c),_0x3cd04f(0x15f),_0x20618e['to'](_0x3cd04f(0x173))],'style':{'minHeight':_0x20618e['to'](_0x3cd04f(0x167),_0x4427c0=>_0x3cd04f(0x168)==typeof _0x4427c0?Ot(_0x4427c0+0xa):null)},'dir':_0x3dcc73[_0x3cd04f(0x154)],'role':_0x3cd04f(0x159),'aria-label':_0x38beb7(_0x3dcc73,_0x3cd04f(0x175)),'tabindex':0x0},'children':[{'tag':_0x3cd04f(0x158),'attributes':{'role':_0x3cd04f(0x16f),'aria-label':_0x38beb7(_0x3dcc73,_0x3cd04f(0x145))},'children':this[_0x3cd04f(0x16f)]}]});}[_0xd2c99(0x15e)](){const _0x918be6=_0xd2c99;super[_0x918be6(0x15e)](),this[_0x918be6(0x170)]();}[_0xd2c99(0x151)](){const _0x3cf371=_0xd2c99;this[_0x3cf371(0x148)][_0x3cf371(0x14d)]();}[_0xd2c99(0x170)](){const _0x5c0379=_0xd2c99;this[_0x5c0379(0x16f)][_0x5c0379(0x155)](_0x5c0379(0x150))['to'](this),this['on'](_0x5c0379(0x150),_0x291db2=>{const _0x27effc=_0x5c0379;this[_0x27effc(0x161)](_0x291db2[_0x27effc(0x162)]);}),this[_0x5c0379(0x16f)][_0x5c0379(0x15d)](_0x1e9f40=>{const _0x312aaf=_0x5c0379;this[_0x312aaf(0x163)][_0x312aaf(0x16b)](_0x1e9f40[_0x312aaf(0x174)]),this[_0x312aaf(0x161)](_0x1e9f40);}),this[_0x5c0379(0x16f)]['on'](_0x5c0379(0x176),(_0x429b6b,_0x4ea07a)=>{const _0x324b29=_0x5c0379;for(const _0x4f36be of _0x4ea07a[_0x324b29(0x157)])this[_0x324b29(0x163)][_0x324b29(0x160)](_0x4f36be[_0x324b29(0x174)]),this[_0x324b29(0x156)][_0x324b29(0x160)](_0x4f36be);for(const _0x50c871 of _0x4ea07a[_0x324b29(0x166)])this[_0x324b29(0x163)][_0x324b29(0x16b)](_0x50c871[_0x324b29(0x174)]),this[_0x324b29(0x161)](_0x50c871);}),this['on'](_0x5c0379(0x14c),()=>{const _0x6c250c=_0x5c0379;this[_0x6c250c(0x148)][_0x6c250c(0x15b)]();}),this['on'](_0x5c0379(0x149),()=>{const _0x1f681f=_0x5c0379;this[_0x1f681f(0x148)][_0x1f681f(0x16a)]();}),this[_0x5c0379(0x165)](this[_0x5c0379(0x174)],_0x5c0379(0x151),()=>{const _0x33446c=_0x5c0379;this[_0x33446c(0x151)]();});}[_0xd2c99(0x161)](_0x58f80f){const _0x4112e0=_0xd2c99,_0x52b589=this[_0x4112e0(0x156)][_0x4112e0(0x14a)](_0x58f80f);let _0x3998de,_0x2b45c4;for(const _0x1a084b of this[_0x4112e0(0x156)])if(_0x58f80f[_0x4112e0(0x172)]<_0x1a084b[_0x4112e0(0x172)]){_0x3998de=_0x1a084b;break;}if(_0x2b45c4=_0x3998de?this[_0x4112e0(0x156)][_0x4112e0(0x14a)](_0x3998de):this[_0x4112e0(0x156)][_0x4112e0(0x153)],-0x1!==_0x52b589){if(_0x52b589===_0x2b45c4-0x1)return;this[_0x4112e0(0x156)][_0x4112e0(0x160)](_0x58f80f),_0x2b45c4=_0x3998de?this[_0x4112e0(0x156)][_0x4112e0(0x14a)](_0x3998de):this[_0x4112e0(0x156)][_0x4112e0(0x153)];}this[_0x4112e0(0x156)][_0x4112e0(0x16b)](_0x58f80f,_0x2b45c4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40ae99=_0x3f2e;(function(_0x2c1cc3,_0x1ddbfe){const _0x1deee8=_0x3f2e,_0x1091b3=_0x2c1cc3();while(!![]){try{const _0x94bbed=parseInt(_0x1deee8(0xf0))/0x1*(-parseInt(_0x1deee8(0xee))/0x2)+parseInt(_0x1deee8(0x103))/0x3+-parseInt(_0x1deee8(0x10c))/0x4*(-parseInt(_0x1deee8(0x117))/0x5)+parseInt(_0x1deee8(0xea))/0x6*(-parseInt(_0x1deee8(0x124))/0x7)+-parseInt(_0x1deee8(0xf2))/0x8*(parseInt(_0x1deee8(0x116))/0x9)+-parseInt(_0x1deee8(0xfa))/0xa+parseInt(_0x1deee8(0x10e))/0xb;if(_0x94bbed===_0x1ddbfe)break;else _0x1091b3['push'](_0x1091b3['shift']());}catch(_0x4ce0d0){_0x1091b3['push'](_0x1091b3['shift']());}}}(_0x2d19,0x1ca9b));import{ContextPlugin as _0x27562a,Context as _0x1c609a}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x408779}from'./annotationsuis.js';import{Sidebar as _0x160e36}from'./sidebar.js';import{CKEditorError as _0xc3b931,Collection as _0x28f953}from'ckeditor5/src/utils.js';import{debounce as _0x10fe52}from'es-toolkit/compat';function _0x3f2e(_0x2d24e8,_0x105904){const _0x2d199a=_0x2d19();return _0x3f2e=function(_0x3f2e0c,_0x3694e4){_0x3f2e0c=_0x3f2e0c-0xe3;let _0x1b555c=_0x2d199a[_0x3f2e0c];return _0x1b555c;},_0x3f2e(_0x2d24e8,_0x105904);}function _0x2d19(){const _0x488627=['attach','_detachFromContainer','276669VtgJED','61785SttwST','hasDomSelection','wideSidebar','_activeAnnotation','container','high','EditorAnnotations','ck-sidebar--wide','destroy','activeAnnotation','stopListening','_integrateWithEditorAnnotations','getOrderedSelectedAnnotations','63bdWqIn','Annotations','pluginName','requires','remove','cancel','ready','isPremiumPlugin','detach','_refreshPositioningDebounced','isAttached','isOfficialPlugin','stop','setActiveAnnotation','refreshVisibility','52494HJRSQJ','addEventListener','set:container','refresh','134gDErMR','switchTo','2175lPCHTV','register','32eSGsGp','add','_editorAnnotations','editors','blur','refreshPositioning','listenTo','addAnnotation','946220fyJzKi','off','_attachToContainer','widesidebar-detach-not-attached','context','set','rearrange','from','annotations','610461tMPNTj','_annotations','updateTargetRect','plugins','init','widesidebar-attach-already-attached','_destroyEditorAnnotationsIntegration','change:container','has','68iKslHB','resize','1604889whGAXL','uiUpdate','focus','WideSidebar','removeEventListener','get'];_0x2d19=function(){return _0x488627;};return _0x2d19();}export class WideSidebar extends _0x27562a{[_0x40ae99(0xe5)];[_0x40ae99(0x102)];[_0x40ae99(0xf4)];[_0x40ae99(0xe4)];static get[_0x40ae99(0x127)](){return[_0x160e36,_0x408779];}static get[_0x40ae99(0x126)](){const _0x43537d=_0x40ae99;return _0x43537d(0x111);}static get[_0x40ae99(0xe6)](){return!0x0;}static get[_0x40ae99(0x12b)](){return!0x0;}constructor(_0x591613){const _0x4ab2d=_0x40ae99;super(_0x591613),this[_0x4ab2d(0xe5)]=!0x1,this[_0x4ab2d(0xff)](_0x4ab2d(0x120),null),this[_0x4ab2d(0x102)]=null,this[_0x4ab2d(0xf4)]=new _0x28f953(),this[_0x4ab2d(0xe4)]=_0x10fe52(()=>{const _0x117b50=_0x4ab2d;_0x591613[_0x117b50(0x106)][_0x117b50(0x113)](_0x117b50(0x125))[_0x117b50(0xe9)](),this[_0x117b50(0x102)][_0x117b50(0xf7)]();},0xfa,{'leading':!0x1});}[_0x40ae99(0x107)](){const _0x1bb3b5=_0x40ae99,_0x4ec756=this[_0x1bb3b5(0xfe)][_0x1bb3b5(0x106)][_0x1bb3b5(0x113)](_0x408779),_0x1fcac4=this[_0x1bb3b5(0xfe)][_0x1bb3b5(0x106)][_0x1bb3b5(0x113)](_0x160e36);_0x4ec756[_0x1bb3b5(0xf1)](_0x1bb3b5(0x119),this),_0x1fcac4[_0x1bb3b5(0x11b)]&&_0x4ec756[_0x1bb3b5(0xef)](_0x1bb3b5(0x119));}[_0x40ae99(0xe8)](_0x53c92f){const _0x1367e7=_0x40ae99;if(_0x53c92f===this[_0x1367e7(0x120)])return;const _0x33cf0d=this[_0x1367e7(0xfe)][_0x1367e7(0x106)][_0x1367e7(0x113)](_0x160e36);_0x33cf0d[_0x1367e7(0x11a)]=_0x53c92f;const _0x2c1456=this[_0x1367e7(0x120)];_0x33cf0d[_0x1367e7(0xed)]({'blurredAnnotation':_0x2c1456,'activatedAnnotation':_0x53c92f}),this[_0x1367e7(0x120)]=_0x53c92f;}[_0x40ae99(0x114)](_0x25d0a9){const _0x5adc73=_0x40ae99;this[_0x5adc73(0x102)]=_0x25d0a9;const _0x5d1cab=this[_0x5adc73(0xfe)][_0x5adc73(0x106)][_0x5adc73(0x113)](_0x160e36);if(_0x5d1cab[_0x5adc73(0x104)]=_0x25d0a9,this[_0x5adc73(0xe5)])throw new _0xc3b931(_0x5adc73(0x108),this);this[_0x5adc73(0xe5)]=!0x0,this[_0x5adc73(0xf8)](_0x5d1cab,_0x5adc73(0xec),()=>{const _0x3c0a6e=_0x5adc73;this[_0x3c0a6e(0xe3)](),this[_0x3c0a6e(0xf8)](_0x5d1cab,_0x3c0a6e(0x10a),_0x28e942=>{const _0x45bb87=_0x3c0a6e;_0x28e942[_0x45bb87(0xfb)](),this[_0x45bb87(0x114)](_0x25d0a9);});}),_0x5d1cab[_0x5adc73(0xfc)]({'viewClass':_0x5adc73(0x11e)});const _0xb2f392=_0x40a861=>{const _0xae37a1=_0x5adc73;_0x40a861[_0xae37a1(0x105)](),_0x5d1cab[_0xae37a1(0xf9)](_0x40a861);};for(const _0x142099 of _0x25d0a9)_0xb2f392(_0x142099);this[_0x5adc73(0xf8)](_0x25d0a9,_0x5adc73(0xf3),(_0x2711ee,_0x4749bb)=>{_0xb2f392(_0x4749bb);}),this[_0x5adc73(0xf8)](_0x25d0a9,_0x5adc73(0x128),(_0x5c7da3,_0x120568,_0x436688)=>{const _0x497498=_0x5adc73;_0x5d1cab[_0x497498(0x100)]({'removedAnnotation':_0x120568,'previousAnnotation':_0x25d0a9[_0x497498(0x113)](_0x436688-0x1),'nextAnnotation':_0x25d0a9[_0x497498(0x113)](_0x436688+0x1)}),_0x120568===this[_0x497498(0x120)]&&this[_0x497498(0xe8)](null);},{'priority':_0x5adc73(0x11c)}),this[_0x5adc73(0xf8)](_0x25d0a9,_0x5adc73(0x110),(_0x1aab48,_0x2d069c)=>{const _0x52d055=_0x5adc73;this[_0x52d055(0xe8)](_0x2d069c);}),this[_0x5adc73(0xf8)](_0x25d0a9,_0x5adc73(0xf6),()=>{const _0x439d19=_0x5adc73;this[_0x439d19(0xe8)](null);});const _0x27f89c=this[_0x5adc73(0xfe)]instanceof _0x1c609a?this[_0x5adc73(0xfe)][_0x5adc73(0xf5)]:new _0x28f953([this[_0x5adc73(0xfe)]]);for(const _0x5e95d9 of _0x27f89c)this[_0x5adc73(0x122)](_0x5e95d9);this[_0x5adc73(0xf8)](_0x27f89c,_0x5adc73(0xf3),(_0x4c7ab9,_0x4c3780)=>{const _0x325288=_0x5adc73;this[_0x325288(0xf8)](_0x4c3780,_0x325288(0x12a),()=>{const _0x456181=_0x325288;this[_0x456181(0x122)](_0x4c3780);});}),this[_0x5adc73(0xf8)](_0x27f89c,_0x5adc73(0x128),(_0x23d2e1,_0x324a73)=>{const _0x13daf9=_0x5adc73;_0x324a73[_0x13daf9(0x106)][_0x13daf9(0x10b)](_0x13daf9(0x11d))&&this[_0x13daf9(0x109)](_0x324a73[_0x13daf9(0x106)][_0x13daf9(0x113)](_0x13daf9(0x11d)));}),window[_0x5adc73(0xeb)](_0x5adc73(0x10d),this[_0x5adc73(0xe4)]),this[_0x5adc73(0xfe)][_0x5adc73(0x106)][_0x5adc73(0x113)](_0x5adc73(0x125))[_0x5adc73(0xe9)](),this[_0x5adc73(0x102)][_0x5adc73(0xf7)]();}[_0x40ae99(0xe3)](){const _0x40956b=_0x40ae99;if(!this[_0x40956b(0xe5)])throw new _0xc3b931(_0x40956b(0xfd),this);this[_0x40956b(0xe8)](null);const _0x58dc96=this[_0x40956b(0xfe)][_0x40956b(0x106)][_0x40956b(0x113)](_0x160e36);_0x58dc96[_0x40956b(0x115)](this[_0x40956b(0x102)]),this[_0x40956b(0x121)](_0x58dc96),this[_0x40956b(0x121)](this[_0x40956b(0x102)]),this[_0x40956b(0xfe)]instanceof _0x1c609a&&this[_0x40956b(0x121)](this[_0x40956b(0xfe)][_0x40956b(0xf5)]);for(const _0x102d9 of Array[_0x40956b(0x101)](this[_0x40956b(0xf4)]))this[_0x40956b(0x109)](_0x102d9);window[_0x40956b(0x112)](_0x40956b(0x10d),this[_0x40956b(0xe4)]),this[_0x40956b(0xe4)][_0x40956b(0x129)](),this[_0x40956b(0x120)]=null,this[_0x40956b(0xe5)]=!0x1,this[_0x40956b(0x102)]=null;}[_0x40ae99(0x11f)](){const _0x514f81=_0x40ae99;this[_0x514f81(0xe5)]&&this[_0x514f81(0xe3)]();}[_0x40ae99(0x122)](_0x8a2575){const _0x1646dd=_0x40ae99;if(!_0x8a2575[_0x1646dd(0x106)][_0x1646dd(0x10b)](_0x1646dd(0x11d)))return;const _0x37f7c9=_0x8a2575[_0x1646dd(0x106)][_0x1646dd(0x113)](_0x1646dd(0x11d)),_0x1628aa=()=>{const _0x5d7902=_0x1646dd,_0x42d522=_0x37f7c9[_0x5d7902(0x123)]({'annotations':this[_0x5d7902(0x102)],'activeAnnotation':this[_0x5d7902(0x120)]});this[_0x5d7902(0xe8)](_0x42d522[0x0]||null);};this[_0x1646dd(0xf8)](_0x37f7c9,_0x1646dd(0xed),_0x1628aa),this[_0x1646dd(0xf8)](_0x37f7c9,_0x1646dd(0xf6),(_0x35a365,{isAnnotationTracked:_0x50124f})=>{const _0x3c3e02=_0x1646dd;this[_0x3c3e02(0x120)]&&_0x50124f(this[_0x3c3e02(0x120)])&&this[_0x3c3e02(0xe8)](null);}),this[_0x1646dd(0xf8)](_0x37f7c9,_0x1646dd(0x10f),()=>{const _0x46de34=_0x1646dd;this[_0x46de34(0xe4)]();}),this[_0x1646dd(0xf8)](this[_0x1646dd(0x102)],_0x1646dd(0xf6),_0x6cb86=>{const _0xced16a=_0x1646dd;_0x37f7c9[_0xced16a(0x118)]()&&(_0x1628aa(),_0x6cb86[_0xced16a(0xe7)]());},{'priority':_0x1646dd(0x11c)}),this[_0x1646dd(0xf4)][_0x1646dd(0xf3)](_0x37f7c9);}[_0x40ae99(0x109)](_0x2eb604){const _0x385111=_0x40ae99;this[_0x385111(0x121)](_0x2eb604),this[_0x385111(0xf4)][_0x385111(0x128)](_0x2eb604);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x315e64=_0x6ad8;(function(_0xa1bf11,_0x2c1bd4){const _0x4ea6c3=_0x6ad8,_0x2fd95b=_0xa1bf11();while(!![]){try{const _0x499c5=parseInt(_0x4ea6c3(0x217))/0x1*(parseInt(_0x4ea6c3(0x20d))/0x2)+-parseInt(_0x4ea6c3(0x1f7))/0x3+parseInt(_0x4ea6c3(0x1f1))/0x4+-parseInt(_0x4ea6c3(0x215))/0x5*(-parseInt(_0x4ea6c3(0x206))/0x6)+-parseInt(_0x4ea6c3(0x202))/0x7+parseInt(_0x4ea6c3(0x1fe))/0x8+parseInt(_0x4ea6c3(0x21a))/0x9*(-parseInt(_0x4ea6c3(0x1fa))/0xa);if(_0x499c5===_0x2c1bd4)break;else _0x2fd95b['push'](_0x2fd95b['shift']());}catch(_0x50a8f7){_0x2fd95b['push'](_0x2fd95b['shift']());}}}(_0xf747,0xdfac7));import{Command as _0x49fdad}from'ckeditor5/src/core.js';function _0x6ad8(_0x412266,_0x3c0bb8){const _0xf74769=_0xf747();return _0x6ad8=function(_0x6ad877,_0x1b2338){_0x6ad877=_0x6ad877-0x1e8;let _0x32691a=_0xf74769[_0x6ad877];return _0x32691a;},_0x6ad8(_0x412266,_0x3c0bb8);}import{uid as _0x189d53,CKEditorError as _0x1130c4}from'ckeditor5/src/utils.js';function _0xf747(){const _0x287084=['get','getRanges','set','push','item','from','5kKiWSB','createRange','132XfltQc','_createMarkersFromRanges','addMarker','145062ehXghq','plugins','substr','getItems','collaboration.channelId','addCommentThread','Users','comment:','backward','tableCell','isEnabled','schema','5086820GlvdAy','element','end','_itemIsContent','start','execute','4322217DuvLih','addcommentthreadcommand-incorrect-ranges','selection','1390nAEVCQ','CommentsRepository','hasContent','_hasContent','12472360nWYdxn','editor','_createCommentThread','getLastMatchingPosition','7505274hNsUNz','document','_trimToContent','length','10983936aKDriW','config','addcommentthreadcommand-user-not-found','refresh','$textProxy','isObject','model','15274jNlhid','change'];_0xf747=function(){return _0x287084;};return _0xf747();}export class AddCommentThreadCommand extends _0x49fdad{constructor(_0x5cdbb7){const _0x365e2e=_0x6ad8;super(_0x5cdbb7),this[_0x365e2e(0x211)](_0x365e2e(0x1fc),!0x1);}[_0x315e64(0x209)](){const _0x25b986=_0x315e64,_0x213d3a=this[_0x25b986(0x1ff)][_0x25b986(0x20c)][_0x25b986(0x203)][_0x25b986(0x1f9)];this[_0x25b986(0x1ef)]=!0x0,this[_0x25b986(0x1fc)]=!0x1;for(const _0x9c8566 of _0x213d3a[_0x25b986(0x210)]())if(this[_0x25b986(0x1fd)](_0x9c8566))return void(this[_0x25b986(0x1fc)]=!0x0);}[_0x315e64(0x1f6)]({threadId:_0x4a2da7=_0x189d53(),ranges:_0xb6f28f,comment:_0x9e2402}={}){const _0x4ef2ae=_0x315e64,_0x40d65b=this[_0x4ef2ae(0x1ff)][_0x4ef2ae(0x20c)],_0xb294fa=_0xb6f28f??Array[_0x4ef2ae(0x214)](_0x40d65b[_0x4ef2ae(0x203)][_0x4ef2ae(0x1f9)][_0x4ef2ae(0x210)]()),_0xfc9938=[];for(const _0x592ffa of _0xb294fa)this[_0x4ef2ae(0x1fd)](_0x592ffa)&&_0xfc9938[_0x4ef2ae(0x212)](this[_0x4ef2ae(0x204)](_0x592ffa));if(!_0xfc9938[_0x4ef2ae(0x205)])throw new _0x1130c4(_0x4ef2ae(0x1f8),null);_0x9e2402&&this[_0x4ef2ae(0x200)](_0x4a2da7,_0x9e2402),this[_0x4ef2ae(0x218)](_0x4a2da7,_0xfc9938,!!_0x9e2402);}[_0x315e64(0x218)](_0x297e9a,_0x5a7cd2,_0x2f0b96){const _0x5487de=_0x315e64;this[_0x5487de(0x1ff)][_0x5487de(0x20c)][_0x5487de(0x20e)](_0x34f979=>{const _0x245477=_0x5487de;for(const _0xb19cf5 of _0x5a7cd2){const _0x5c41b9=_0x189d53()[_0x245477(0x21c)](0x1,0x5),_0x24ab62=_0x245477(0x1ec)+_0x297e9a+':'+_0x5c41b9;_0x34f979[_0x245477(0x219)](_0x24ab62,{'range':_0xb19cf5,'usingOperation':_0x2f0b96,'affectsData':_0x2f0b96});}});}[_0x315e64(0x200)](_0x7671bc,_0x1fe459){const _0x1bfab5=_0x315e64,_0x41c375=this[_0x1bfab5(0x1ff)][_0x1bfab5(0x21b)][_0x1bfab5(0x20f)](_0x1bfab5(0x1fb)),_0xd0de28=this[_0x1bfab5(0x1ff)][_0x1bfab5(0x207)][_0x1bfab5(0x20f)](_0x1bfab5(0x1e9)),_0x1f0600=this[_0x1bfab5(0x1ff)][_0x1bfab5(0x21b)][_0x1bfab5(0x20f)](_0x1bfab5(0x1eb))['me'];if(!_0x1f0600)throw new _0x1130c4(_0x1bfab5(0x208),null);_0x41c375[_0x1bfab5(0x1ea)]({'threadId':_0x7671bc,'channelId':_0xd0de28,'comments':[{'authorId':_0x1f0600['id'],'content':_0x1fe459,'createdAt':new Date(),'attributes':{}}]});}[_0x315e64(0x1fd)](_0x4b6eae){const _0x5b443d=_0x315e64;for(const _0x53629e of _0x4b6eae[_0x5b443d(0x1e8)]())if(this[_0x5b443d(0x1f4)](_0x53629e))return!0x0;return!0x1;}[_0x315e64(0x1f4)](_0x67c93f){const _0x167bf8=_0x315e64;return _0x67c93f['is'](_0x167bf8(0x20a))||this[_0x167bf8(0x1ff)][_0x167bf8(0x20c)][_0x167bf8(0x1f0)][_0x167bf8(0x20b)](_0x67c93f)&&!_0x67c93f['is'](_0x167bf8(0x1f2),_0x167bf8(0x1ee));}[_0x315e64(0x204)](_0x51ce9a){const _0x2d1552=_0x315e64,_0xf8ee33=_0x5749e6=>!this[_0x2d1552(0x1f4)](_0x5749e6[_0x2d1552(0x213)]),_0x27a393=_0x51ce9a[_0x2d1552(0x1f5)][_0x2d1552(0x201)](_0xf8ee33),_0x3a3179=_0x51ce9a[_0x2d1552(0x1f3)][_0x2d1552(0x201)](_0xf8ee33,{'direction':_0x2d1552(0x1ed)});return this[_0x2d1552(0x1ff)][_0x2d1552(0x20c)][_0x2d1552(0x216)](_0x27a393,_0x3a3179);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x21bc05=_0x4eb9;(function(_0x11bdb7,_0x349d9a){const _0xfd9631=_0x4eb9,_0x161e5f=_0x11bdb7();while(!![]){try{const _0x4c7fd4=-parseInt(_0xfd9631(0xa7))/0x1*(-parseInt(_0xfd9631(0xb6))/0x2)+-parseInt(_0xfd9631(0xc6))/0x3+-parseInt(_0xfd9631(0xac))/0x4+-parseInt(_0xfd9631(0xb5))/0x5*(-parseInt(_0xfd9631(0xcf))/0x6)+parseInt(_0xfd9631(0xc0))/0x7*(-parseInt(_0xfd9631(0xcb))/0x8)+parseInt(_0xfd9631(0xae))/0x9*(-parseInt(_0xfd9631(0xce))/0xa)+parseInt(_0xfd9631(0xad))/0xb*(parseInt(_0xfd9631(0xb3))/0xc);if(_0x4c7fd4===_0x349d9a)break;else _0x161e5f['push'](_0x161e5f['shift']());}catch(_0x23f5e0){_0x161e5f['push'](_0x161e5f['shift']());}}}(_0x5159,0x79c4a));function _0x4eb9(_0x98f2f2,_0x456fe2){const _0x51596a=_0x5159();return _0x4eb9=function(_0x4eb9e6,_0x3d59ba){_0x4eb9e6=_0x4eb9e6-0xa7;let _0x5808b7=_0x51596a[_0x4eb9e6];return _0x5808b7;},_0x4eb9(_0x98f2f2,_0x456fe2);}import{ContextPlugin as _0x1fc270}from'ckeditor5/src/core.js';import{Collection as _0x5a80da}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x967b2c}from'./commentsrepository.js';function _0x5159(){const _0x32400f=['archivedAt','7592rGeVAC','isPremiumPlugin','archivedThreads','10RYeYsl','6NtEXVU','58018NnAqpn','pluginName','addCommentThread','has','findIndex','3350028qcZnUt','44ibZsLy','6742854miGYGM','activate','focus','stopListening','removeCommentThread','7873704HPexcB','isOfficialPlugin','2143175UWnPta','6jnUCpe','requires','isVisible','length','listenTo','init','remove','collection','getCommentThread','change:archivedAt','5677LbVfep','_calculatePosition','add','context','get','isActive','1116429IgIObQ','plugins','highest','CommentsArchive'];_0x5159=function(){return _0x32400f;};return _0x5159();}import{Annotations as _0x3780ad}from'../annotations/annotations.js';export class CommentsArchive extends _0x1fc270{static get[_0x21bc05(0xa8)](){const _0x5b7425=_0x21bc05;return _0x5b7425(0xc9);}static get[_0x21bc05(0xb4)](){return!0x0;}static get[_0x21bc05(0xcc)](){return!0x0;}static get[_0x21bc05(0xb7)](){return[_0x967b2c,_0x3780ad];}constructor(_0x5c75d6){const _0x52cbf4=_0x21bc05;super(_0x5c75d6),this[_0x52cbf4(0xcd)]=new _0x5a80da();}[_0x21bc05(0xbb)](){const _0x2643f2=_0x21bc05,_0x121c1c=this[_0x2643f2(0xc3)],_0x219230=_0x121c1c[_0x2643f2(0xc7)][_0x2643f2(0xc4)](_0x967b2c),_0x32ba0f=_0x121c1c[_0x2643f2(0xc7)][_0x2643f2(0xc4)](_0x3780ad);this[_0x2643f2(0xba)](_0x219230,_0x2643f2(0xa9),(_0x28d9fe,{threadId:_0x947adc})=>{const _0x19d92d=_0x2643f2,_0x252a9=_0x219230[_0x19d92d(0xbe)](_0x947adc);_0x252a9[_0x19d92d(0xca)]&&this[_0x19d92d(0xcd)][_0x19d92d(0xc2)](_0x252a9,this[_0x19d92d(0xc1)](_0x252a9[_0x19d92d(0xca)])),this[_0x19d92d(0xba)](_0x252a9,_0x19d92d(0xbf),(_0x26dc4b,_0xff2149,_0x64bf81)=>{const _0x145c7b=_0x19d92d;_0x64bf81?this[_0x145c7b(0xcd)][_0x145c7b(0xaa)](_0x252a9)||this[_0x145c7b(0xcd)][_0x145c7b(0xc2)](_0x252a9,this[_0x145c7b(0xc1)](_0x252a9[_0x145c7b(0xca)])):this[_0x145c7b(0xcd)][_0x145c7b(0xaa)](_0x252a9)&&this[_0x145c7b(0xcd)][_0x145c7b(0xbc)](_0x252a9);});}),this[_0x2643f2(0xba)](_0x219230,_0x2643f2(0xb2),(_0x1c49b0,{threadId:_0x387be6})=>{const _0x32b9a3=_0x2643f2,_0x308be8=_0x219230[_0x32b9a3(0xbe)](_0x387be6);this[_0x32b9a3(0xb1)](_0x308be8),this[_0x32b9a3(0xcd)][_0x32b9a3(0xaa)](_0x308be8)&&this[_0x32b9a3(0xcd)][_0x32b9a3(0xbc)](_0x308be8);},{'priority':_0x2643f2(0xc8)}),this[_0x2643f2(0xba)](_0x32ba0f[_0x2643f2(0xbd)],_0x2643f2(0xb0),(_0x163a88,_0x13fde6)=>{const _0x26ebfe=_0x2643f2;_0x13fde6[_0x26ebfe(0xb8)]||(_0x13fde6[_0x26ebfe(0xc5)]=!0x0,_0x32ba0f[_0x26ebfe(0xaf)](_0x13fde6));});}[_0x21bc05(0xc1)](_0x2c07c2){const _0x4c37e9=_0x21bc05,_0x296ff1=[...this[_0x4c37e9(0xcd)]][_0x4c37e9(0xab)](_0x2365f5=>_0x2365f5[_0x4c37e9(0xca)]<_0x2c07c2);return _0x296ff1>-0x1?_0x296ff1:this[_0x4c37e9(0xcd)][_0x4c37e9(0xb9)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38200d=_0x1fcb;(function(_0x24b055,_0x5473d9){const _0x1b4c64=_0x1fcb,_0x4d3697=_0x24b055();while(!![]){try{const _0x3e9f0c=-parseInt(_0x1b4c64(0xac))/0x1*(-parseInt(_0x1b4c64(0xe8))/0x2)+-parseInt(_0x1b4c64(0xcd))/0x3+-parseInt(_0x1b4c64(0xd7))/0x4+parseInt(_0x1b4c64(0xd9))/0x5+parseInt(_0x1b4c64(0xc1))/0x6+parseInt(_0x1b4c64(0xe5))/0x7+parseInt(_0x1b4c64(0xb4))/0x8;if(_0x3e9f0c===_0x5473d9)break;else _0x4d3697['push'](_0x4d3697['shift']());}catch(_0xb46c81){_0x4d3697['push'](_0x4d3697['shift']());}}}(_0x3773,0xe7d1e));import'../../theme/commentsarchive.css';function _0x3773(){const _0x3c63c4=['3422120ZzWYbL','show','menuBar:commentsArchive','isVisible','commentsArchiveView','CommentsArchiveUI','_visibleAnnotations','forEach','isEnabled','editor','innerView','filter','43491MJBzMC','stop','_threadToController','446374PAvWpD','_createCommentsArchiveButton','EDITOR_TOP_SIDE','isOpen','splice','includes','tooltip','componentFactory','set','_toggleDialog','isPremiumPlugin','has','requires','return','_calculatePosition','listenTo','_hideDialogOnAnnotationEscape','4kQsXNz','locale','set:isVisible','findIndex','pluginName','_pendingThreads','push','view','10924128nJNKhm','annotationViews','_handleNewThread','menuitemcheckbox','bind','length','remove','isOn','isOfficialPlugin','source','CommentsRepository','collaboration.channelId','getByInnerView','5076012bMggtr','focusableElements','execute','stopListening','COMMENTS_ARCHIVE','archivedThreads','channelId','_addAnnotationToArchive','Annotations','get','escape','plugins','3086172UVmEjl','indexOf','archivedAt','collection','find','init','Dialog','add','commentsArchive','config','7266580IIFbEX','hide'];_0x3773=function(){return _0x3c63c4;};return _0x3773();}import{Plugin as _0xa75f7d}from'ckeditor5/src/core.js';function _0x1fcb(_0x30fed4,_0x3e013d){const _0x377332=_0x3773();return _0x1fcb=function(_0x1fcb17,_0x372028){_0x1fcb17=_0x1fcb17-0xa7;let _0x3597f5=_0x377332[_0x1fcb17];return _0x3597f5;},_0x1fcb(_0x30fed4,_0x3e013d);}import{IconCommentsArchive as _0x59353f}from'ckeditor5/src/icons.js';import{ViewCollection as _0x32f0f9,MenuBarMenuListItemButtonView as _0x59c82c,ButtonView as _0x2576a9,Dialog as _0x56431c,DialogViewPosition as _0x4845dc}from'ckeditor5/src/ui.js';import{getTranslation as _0x312531}from'../utils/common-translations.js';import{CommentsArchiveView as _0xa9e7c1}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x1aebb8}from'./commentsarchive.js';export class CommentsArchiveUI extends _0xa75f7d{[_0x38200d(0xdd)];[_0x38200d(0xb5)];[_0x38200d(0xb1)];static get[_0x38200d(0xb0)](){const _0x396eec=_0x38200d;return _0x396eec(0xde);}static get[_0x38200d(0xbc)](){return!0x0;}static get[_0x38200d(0xf2)](){return!0x0;}static get[_0x38200d(0xa7)](){return[_0x1aebb8,_0x56431c];}constructor(_0x2d1207){const _0x481cfb=_0x38200d;super(_0x2d1207),this[_0x481cfb(0xb5)]=new _0x32f0f9(),this[_0x481cfb(0xb1)]=[];}[_0x38200d(0xd2)](){const _0xec29b4=_0x38200d,_0x1e446e=this[_0xec29b4(0xe2)],_0x2c5b18=this[_0xec29b4(0xab)][_0xec29b4(0xb8)](this);_0x1e446e['ui'][_0xec29b4(0xef)][_0xec29b4(0xd4)](_0xec29b4(0xd5),()=>this[_0xec29b4(0xe9)](_0x2576a9,!0x0)),_0x1e446e['ui'][_0xec29b4(0xef)][_0xec29b4(0xd4)](_0xec29b4(0xdb),()=>{const _0x3b40a3=_0xec29b4,_0x7810a6=this[_0x3b40a3(0xe9)](_0x59c82c);return _0x7810a6[_0x3b40a3(0xf0)]({'role':_0x3b40a3(0xb7)}),_0x7810a6;});const _0x28ff7c=_0x1e446e[_0xec29b4(0xcc)][_0xec29b4(0xca)](_0x1aebb8),_0x28b325=_0x1e446e[_0xec29b4(0xcc)][_0xec29b4(0xca)](_0xec29b4(0xc9)),_0x5129d8=_0x1e446e[_0xec29b4(0xcc)][_0xec29b4(0xca)](_0xec29b4(0xbe));_0x28ff7c[_0xec29b4(0xc6)][_0xec29b4(0xe0)](_0x5954bd=>{const _0x47a285=_0xec29b4;this[_0x47a285(0xb6)](_0x5954bd);}),this[_0xec29b4(0xaa)](_0x28ff7c[_0xec29b4(0xc6)],_0xec29b4(0xd4),(_0x57e52a,_0x5cc464)=>{const _0x1ac850=_0xec29b4;this[_0x1ac850(0xb6)](_0x5cc464);}),this[_0xec29b4(0xaa)](_0x28b325[_0xec29b4(0xd0)],_0xec29b4(0xd4),(_0x504327,_0x10fda3)=>{const _0x4c2e12=_0xec29b4,_0x419d5a=this[_0x4c2e12(0xb1)][_0x4c2e12(0xd1)](_0x2c8e4d=>{const _0x2b2c56=_0x4c2e12,_0x50c80f=_0x5129d8[_0x2b2c56(0xe7)][_0x2b2c56(0xca)](_0x2c8e4d);return _0x50c80f&&_0x10fda3[_0x2b2c56(0xe3)]===_0x50c80f[_0x2b2c56(0xb3)];});if(_0x419d5a){const _0xe02509=this[_0x4c2e12(0xa9)](_0x419d5a[_0x4c2e12(0xcf)]);this[_0x4c2e12(0xc8)](_0x10fda3,_0xe02509),this[_0x4c2e12(0xb1)][_0x4c2e12(0xec)](this[_0x4c2e12(0xb1)][_0x4c2e12(0xce)](_0x419d5a),0x1);}}),this[_0xec29b4(0xaa)](_0x28ff7c[_0xec29b4(0xc6)],_0xec29b4(0xba),(_0x886bf7,_0x4608bd)=>{const _0x23038e=_0xec29b4,_0x2c0a00=_0x1e446e[_0x23038e(0xd6)][_0x23038e(0xca)](_0x23038e(0xbf));if(!_0x2c0a00||_0x4608bd[_0x23038e(0xc7)]===_0x2c0a00){if(this[_0x23038e(0xb1)][_0x23038e(0xed)](_0x4608bd))this[_0x23038e(0xb1)][_0x23038e(0xec)](this[_0x23038e(0xb1)][_0x23038e(0xce)](_0x4608bd),0x1);else{const _0x217535=_0x5129d8[_0x23038e(0xe7)][_0x23038e(0xca)](_0x4608bd),_0x5353b7=_0x28b325[_0x23038e(0xc0)](_0x217535[_0x23038e(0xb3)]);this[_0x23038e(0xb5)][_0x23038e(0xba)](_0x5353b7[_0x23038e(0xb3)]),this[_0x23038e(0xc4)](_0x5353b7),this[_0x23038e(0xc4)](_0x5353b7[_0x23038e(0xc2)]);}}}),this[_0xec29b4(0xaa)](_0x28b325[_0xec29b4(0xd0)],_0xec29b4(0xd4),(_0x25024a,_0x434a7b)=>{const _0x4e682f=_0xec29b4;this[_0x4e682f(0xaa)](_0x434a7b,_0x4e682f(0xcb),_0x2c5b18);}),this[_0xec29b4(0xaa)](_0x28b325[_0xec29b4(0xd0)],_0xec29b4(0xba),(_0xbbd20c,_0x8b8131)=>{const _0x54a718=_0xec29b4;this[_0x54a718(0xc4)](_0x8b8131,_0x54a718(0xcb),_0x2c5b18);});}[_0x38200d(0xc8)](_0x5461ff,_0x53790b){const _0x1fdf02=_0x38200d;this[_0x1fdf02(0xaa)](_0x5461ff,_0x1fdf02(0xae),_0x29dfe1=>{const _0x8a652b=_0x1fdf02;_0x29dfe1[_0x8a652b(0xa8)]=!0x1,_0x29dfe1[_0x8a652b(0xe6)]();}),this[_0x1fdf02(0xb5)][_0x1fdf02(0xd4)](_0x5461ff[_0x1fdf02(0xb3)],_0x53790b);}[_0x38200d(0xb6)](_0x1f006f){const _0x52d473=_0x38200d,_0x39b437=this[_0x52d473(0xe2)][_0x52d473(0xcc)][_0x52d473(0xca)](_0x52d473(0xbe)),_0x24be14=this[_0x52d473(0xe2)][_0x52d473(0xcc)][_0x52d473(0xca)](_0x52d473(0xc9)),_0x3843ad=this[_0x52d473(0xe2)][_0x52d473(0xd6)][_0x52d473(0xca)](_0x52d473(0xbf));if(!_0x3843ad||_0x1f006f[_0x52d473(0xc7)]===_0x3843ad){const _0x54b996=_0x39b437[_0x52d473(0xe7)][_0x52d473(0xca)](_0x1f006f);if(!_0x54b996)return void this[_0x52d473(0xb1)][_0x52d473(0xb2)](_0x1f006f);const _0x1aa825=this[_0x52d473(0xa9)](_0x1f006f[_0x52d473(0xcf)]),_0x38f3df=_0x24be14[_0x52d473(0xc0)](_0x54b996[_0x52d473(0xb3)]);_0x38f3df[_0x52d473(0xdc)]&&_0x24be14[_0x52d473(0xdf)][_0x52d473(0xba)](_0x38f3df),this[_0x52d473(0xc8)](_0x38f3df,_0x1aa825);}}[_0x38200d(0xa9)](_0x75c398){const _0x2b197e=_0x38200d,_0x4f1804=this[_0x2b197e(0xe2)][_0x2b197e(0xd6)][_0x2b197e(0xca)](_0x2b197e(0xbf)),_0x113f8e=[...this[_0x2b197e(0xe2)][_0x2b197e(0xcc)][_0x2b197e(0xca)](_0x1aebb8)[_0x2b197e(0xc6)]][_0x2b197e(0xe4)](_0x29459a=>_0x29459a[_0x2b197e(0xc7)]===_0x4f1804)[_0x2b197e(0xaf)](_0x50ddaf=>_0x50ddaf[_0x2b197e(0xcf)]<_0x75c398);return _0x113f8e<0x0||_0x113f8e>this[_0x2b197e(0xb5)][_0x2b197e(0xb9)]?this[_0x2b197e(0xb5)][_0x2b197e(0xb9)]:_0x113f8e-0x1;}[_0x38200d(0xf1)](){const _0x2d4b91=_0x38200d,_0x25f449=this[_0x2d4b91(0xe2)],_0x13d11c=_0x25f449[_0x2d4b91(0xcc)][_0x2d4b91(0xca)](_0x2d4b91(0xd3));this[_0x2d4b91(0xdd)]||(this[_0x2d4b91(0xdd)]=new _0xa9e7c1(_0x25f449[_0x2d4b91(0xad)],this[_0x2d4b91(0xb5)])),_0x2d4b91(0xd5)===_0x13d11c['id']?_0x13d11c[_0x2d4b91(0xd8)]():_0x13d11c[_0x2d4b91(0xda)]({'id':_0x2d4b91(0xd5),'title':_0x312531(_0x25f449[_0x2d4b91(0xad)],_0x2d4b91(0xc5)),'icon':_0x59353f,'hasCloseButton':!0x0,'content':this[_0x2d4b91(0xdd)],'position':_0x4845dc[_0x2d4b91(0xea)]});}[_0x38200d(0xe9)](_0x570a5b,_0x22c5dd=!0x1){const _0xdd0aa3=_0x38200d,_0x5c9ee2=this[_0xdd0aa3(0xe2)][_0xdd0aa3(0xad)],_0x1b7b60=this[_0xdd0aa3(0xe2)][_0xdd0aa3(0xcc)][_0xdd0aa3(0xca)](_0xdd0aa3(0xd3)),_0x325032=new _0x570a5b(_0x5c9ee2);return _0x325032[_0xdd0aa3(0xb8)](_0xdd0aa3(0xe1))['to'](this,_0xdd0aa3(0xe1)),_0x325032[_0xdd0aa3(0xb8)](_0xdd0aa3(0xbb))['to'](_0x1b7b60,'id',_0x1517cc=>_0xdd0aa3(0xd5)===_0x1517cc),_0x325032[_0xdd0aa3(0xf0)]({'label':_0x312531(_0x5c9ee2,_0xdd0aa3(0xc5)),'icon':_0x59353f,'isToggleable':!0x0}),_0x22c5dd&&(_0x325032[_0xdd0aa3(0xee)]=!0x0),this[_0xdd0aa3(0xaa)](_0x325032,_0xdd0aa3(0xc3),()=>this[_0xdd0aa3(0xf1)]()),_0x325032;}[_0x38200d(0xab)]=_0x3d7171=>{const _0x1e920d=_0x38200d,_0x394ab1=_0x3d7171[_0x1e920d(0xbd)];if(!this[_0x1e920d(0xb5)][_0x1e920d(0xf3)](_0x394ab1[_0x1e920d(0xb3)]))return;const _0x4be583=this[_0x1e920d(0xe2)][_0x1e920d(0xcc)][_0x1e920d(0xca)](_0x1e920d(0xd3));_0x4be583[_0x1e920d(0xeb)]&&_0x1e920d(0xd5)===_0x4be583['id']&&(_0x4be583[_0x1e920d(0xd8)](),_0x3d7171[_0x1e920d(0xe6)]());};}
|