@ckeditor/ckeditor5-comments 47.2.0-alpha.1 → 47.2.0-alpha.2
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 _0x3fbf5e=_0x2fc7;(function(_0x2bba9f,_0x4df8b2){const _0x3e0e7b=_0x2fc7,_0x40fb24=_0x2bba9f();while(!![]){try{const _0xe61387=-parseInt(_0x3e0e7b(0x210))/0x1+-parseInt(_0x3e0e7b(0x1f6))/0x2*(parseInt(_0x3e0e7b(0x232))/0x3)+parseInt(_0x3e0e7b(0x227))/0x4+-parseInt(_0x3e0e7b(0x216))/0x5*(parseInt(_0x3e0e7b(0x21c))/0x6)+-parseInt(_0x3e0e7b(0x224))/0x7*(parseInt(_0x3e0e7b(0x1fc))/0x8)+-parseInt(_0x3e0e7b(0x1f5))/0x9*(parseInt(_0x3e0e7b(0x1f2))/0xa)+parseInt(_0x3e0e7b(0x203))/0xb;if(_0xe61387===_0x4df8b2)break;else _0x40fb24['push'](_0x40fb24['shift']());}catch(_0x4b9f18){_0x40fb24['push'](_0x40fb24['shift']());}}}(_0x23a7,0xa7507));function _0x23a7(){const _0x528bcb=['unbind','top','91670jJzcYx','appendChild','_recalculate','108ZvkjPc','141580KwWMBU','isActive','change:bottom','clear','set','length','848JKpFQJ','change:targetRect','_alignForTopChange','isOfficialPlugin','Sidebar','object','sidebar.preventScrollOutOfView','27652504qPAWNb','sidebar.container','_annotationToSidebarItemView','locale','change:_lastItem','_getTargetTop','getIndex','_updateLastItem','_activeAnnotation','define','isAnimationDisabled','rearrange','stopListening','1257769gPvKqq','_spaceBetweenItems','init','config','max','addAnnotation','2640plXRbF','get','change:top','add','refresh','nodeType','492vcofnX','minHeight','pluginName','_alignAfterItem','setContainer','_getItemAfter','updateHeight','_attachToContainer','45773UBXKUN','element','targetRect','1385792cVwCGt','_alignForBottomChange','_recalculateBuffer','listenTo','_alignToTargetRect','_sidebarItemViewToAnnotation','list','_annotations','sidebar-setcontainer-invalid-element','content','_detachFromContainer','3eHDpWd','bottom','isPremiumPlugin','destroy','push','_setItemTop','render','_alignBeforeItem','container','_createSidebarView','target','_getMaxAvailableTop','class','_destroySidebarItemView','bind','_getItemBefore','last','_targetTop','context','view','height','sidebar-attachtocontainer-missing-container','remove','getSidebarItemView','delete','_lastItem'];_0x23a7=function(){return _0x528bcb;};return _0x23a7();}import{ContextPlugin as _0x2e059d}from'ckeditor5/src/core.js';import{Rect as _0x5bbf57,CKEditorError as _0x43576f}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x51d822}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x51dc3c}from'./view/sidebaritemview.js';export class Sidebar extends _0x2e059d{[_0x3fbf5e(0x245)];[_0x3fbf5e(0x20b)];[_0x3fbf5e(0x22e)];[_0x3fbf5e(0x211)];[_0x3fbf5e(0x22c)];[_0x3fbf5e(0x205)];[_0x3fbf5e(0x229)];static get[_0x3fbf5e(0x21e)](){const _0x1b64d8=_0x3fbf5e;return _0x1b64d8(0x200);}static get[_0x3fbf5e(0x1ff)](){return!0x0;}static get[_0x3fbf5e(0x234)](){return!0x0;}constructor(_0xd6fc0a){const _0x209e40=_0x3fbf5e;super(_0xd6fc0a),this[_0x209e40(0x1fa)](_0x209e40(0x1ef),void 0x0),this[_0x209e40(0x245)]=this[_0x209e40(0x23b)](),this[_0x209e40(0x1fa)](_0x209e40(0x23a),null),this[_0x209e40(0x211)]=0x19,this[_0x209e40(0x22c)]=new Map(),this[_0x209e40(0x205)]=new Map(),this[_0x209e40(0x244)][_0x209e40(0x213)][_0x209e40(0x20c)](_0x209e40(0x202),!0x1),this[_0x209e40(0x22e)]=null,this[_0x209e40(0x20b)]=null,this[_0x209e40(0x229)]=[];}[_0x3fbf5e(0x212)](){const _0x44264d=_0x3fbf5e,_0x3809d1=this[_0x44264d(0x244)][_0x44264d(0x213)][_0x44264d(0x217)](_0x44264d(0x204));_0x3809d1&&this[_0x44264d(0x220)](_0x3809d1);}[_0x3fbf5e(0x220)](_0x1dd9d4){const _0x22a463=_0x3fbf5e;if(!g(_0x1dd9d4))throw new _0x43576f(_0x22a463(0x22f));this[_0x22a463(0x23a)]=_0x1dd9d4;}[_0x3fbf5e(0x223)]({viewClass:_0x1f23a6='',spaceBetweenItems:_0x26686a=0x19}={}){const _0x134200=_0x3fbf5e;if(!g(this[_0x134200(0x23a)]))throw new _0x43576f(_0x134200(0x247),this);this[_0x134200(0x23a)][_0x134200(0x1f3)](this[_0x134200(0x245)][_0x134200(0x225)]),this[_0x134200(0x245)][_0x134200(0x23e)]=_0x1f23a6,this[_0x134200(0x211)]=_0x26686a;}[_0x3fbf5e(0x20e)]({removedAnnotation:_0x1697ef,previousAnnotation:_0x3ba324,nextAnnotation:_0x45149f}){const _0x510063=_0x3fbf5e,_0x591abe=this[_0x510063(0x249)](_0x1697ef);this[_0x510063(0x245)][_0x510063(0x22d)][_0x510063(0x248)](_0x591abe),this[_0x510063(0x23f)](_0x1697ef),_0x3ba324&&this[_0x510063(0x22b)](this[_0x510063(0x249)](_0x3ba324)),_0x45149f&&this[_0x510063(0x22b)](this[_0x510063(0x249)](_0x45149f)),this[_0x510063(0x20a)]();}[_0x3fbf5e(0x21a)]({blurredAnnotation:_0x1b2b44,activatedAnnotation:_0x39543f,disableAnimationOnActivatedAnnotation:_0xbc557}){const _0x3b946f=_0x3fbf5e;if(this[_0x3b946f(0x20b)]=_0x39543f,_0x1b2b44){_0x1b2b44[_0x3b946f(0x1f7)]=!0x1;const _0x7f40d7=this[_0x3b946f(0x249)](_0x1b2b44);_0x7f40d7&&_0xbc557&&(_0x7f40d7[_0x3b946f(0x20d)]=!0x1);}if(_0x39543f){const _0x4076f4=this[_0x3b946f(0x249)](_0x39543f);_0x4076f4&&(_0x39543f[_0x3b946f(0x1f7)]=!0x0,_0xbc557&&(_0x4076f4[_0x3b946f(0x20d)]=!0x0,_0x4076f4[_0x3b946f(0x1f1)]+=0x1),this[_0x3b946f(0x22b)](_0x4076f4));}}[_0x3fbf5e(0x231)](_0x1e52ee){const _0x4d09c4=_0x3fbf5e;if(this[_0x4d09c4(0x245)][_0x4d09c4(0x225)][_0x4d09c4(0x248)](),_0x1e52ee){for(const _0x11c280 of _0x1e52ee)this[_0x4d09c4(0x23f)](_0x11c280);}this[_0x4d09c4(0x245)][_0x4d09c4(0x22d)][_0x4d09c4(0x1f9)](),this[_0x4d09c4(0x245)][_0x4d09c4(0x23e)]='',this[_0x4d09c4(0x1ef)]=null;}[_0x3fbf5e(0x215)](_0x13fb1e,_0x88134d){const _0x184ee6=_0x3fbf5e;_0x88134d||(_0x88134d=_0x13fb1e[_0x184ee6(0x245)]);const _0x19b93d=new _0x51dc3c(this[_0x184ee6(0x244)][_0x184ee6(0x206)]);this[_0x184ee6(0x22c)][_0x184ee6(0x1fa)](_0x19b93d,_0x13fb1e),this[_0x184ee6(0x205)][_0x184ee6(0x1fa)](_0x13fb1e,_0x19b93d),_0x19b93d[_0x184ee6(0x230)][_0x184ee6(0x219)](_0x88134d),this[_0x184ee6(0x22a)](_0x13fb1e[_0x184ee6(0x245)],_0x184ee6(0x1fd),(_0x5bfb4e,_0x2498bd,_0x561d7f)=>{const _0x16c3b5=_0x184ee6,_0x131277=this[_0x16c3b5(0x208)](_0x13fb1e,_0x561d7f);_0x19b93d[_0x16c3b5(0x243)]!=_0x131277&&(_0x19b93d[_0x16c3b5(0x243)]=_0x131277,this[_0x16c3b5(0x237)](_0x19b93d,_0x131277));}),this[_0x184ee6(0x22a)](_0x19b93d,_0x184ee6(0x218),()=>{const _0x5a45dc=_0x184ee6;this[_0x5a45dc(0x1f4)](_0x19b93d,_0x5a45dc(0x1f1));}),this[_0x184ee6(0x22a)](_0x19b93d,_0x184ee6(0x1f8),()=>{const _0x2d50d=_0x184ee6;this[_0x2d50d(0x1f4)](_0x19b93d,_0x2d50d(0x233));}),this[_0x184ee6(0x22b)](_0x19b93d);const _0x598795=this[_0x184ee6(0x241)](_0x19b93d);if(_0x598795)this[_0x184ee6(0x21f)](_0x598795,_0x19b93d)||this[_0x184ee6(0x22b)](_0x19b93d);else this[_0x184ee6(0x22b)](_0x19b93d);return this[_0x184ee6(0x20a)](),this[_0x184ee6(0x245)][_0x184ee6(0x22d)][_0x184ee6(0x219)](_0x19b93d),_0x19b93d;}[_0x3fbf5e(0x1fe)](_0x3ab96a){const _0x2384a0=_0x3fbf5e;if(!_0x3ab96a[_0x2384a0(0x230)][_0x2384a0(0x1fb)])return;const _0x895f82=this[_0x2384a0(0x241)](_0x3ab96a);if(!_0x895f82)return;const _0x28c28e=this[_0x2384a0(0x22c)][_0x2384a0(0x217)](_0x895f82),_0x1ec048=this[_0x2384a0(0x20b)];_0x1ec048&&_0x1ec048===_0x28c28e?this[_0x2384a0(0x21f)](_0x895f82,_0x3ab96a):this[_0x2384a0(0x239)](_0x3ab96a,_0x895f82);}[_0x3fbf5e(0x228)](_0x24c452){const _0x5656a5=_0x3fbf5e;if(!_0x24c452[_0x5656a5(0x230)][_0x5656a5(0x1fb)])return;const _0x259dca=this[_0x5656a5(0x221)](_0x24c452);if(!_0x259dca)return;const _0x457ea5=this[_0x5656a5(0x22c)][_0x5656a5(0x217)](_0x259dca),_0x13726c=this[_0x5656a5(0x244)][_0x5656a5(0x213)][_0x5656a5(0x217)](_0x5656a5(0x202)),_0x931cd=this[_0x5656a5(0x20b)];_0x931cd&&_0x931cd===_0x457ea5&&_0x13726c?(this[_0x5656a5(0x239)](_0x259dca,_0x24c452),this[_0x5656a5(0x21f)](_0x24c452,_0x259dca)):_0x931cd&&_0x931cd===_0x457ea5?this[_0x5656a5(0x239)](_0x259dca,_0x24c452):this[_0x5656a5(0x21f)](_0x24c452,_0x259dca);}[_0x3fbf5e(0x1f4)](_0x3c1fd8,_0x549f51){const _0x417956=_0x3fbf5e;0x0===this[_0x417956(0x229)][_0x417956(0x1fb)]&&setTimeout(()=>{const _0x21ace8=_0x417956;for(const {sidebarItemView:_0x40cc64,changedProp:_0x8f41f8}of this[_0x21ace8(0x229)])_0x21ace8(0x1f1)===_0x8f41f8?this[_0x21ace8(0x1fe)](_0x40cc64):this[_0x21ace8(0x228)](_0x40cc64);this[_0x21ace8(0x229)]=[];},0xa),this[_0x417956(0x229)][_0x417956(0x236)]({'sidebarItemView':_0x3c1fd8,'changedProp':_0x549f51});}[_0x3fbf5e(0x249)](_0x286443){const _0x549bb2=_0x3fbf5e;return this[_0x549bb2(0x205)][_0x549bb2(0x217)](_0x286443);}[_0x3fbf5e(0x235)](){const _0x39907b=_0x3fbf5e;this[_0x39907b(0x20f)](),this[_0x39907b(0x245)][_0x39907b(0x235)]();}[_0x3fbf5e(0x23f)](_0x3dae93){const _0x414bc3=_0x3fbf5e,_0x27b965=this[_0x414bc3(0x249)](_0x3dae93);this[_0x414bc3(0x20f)](_0x27b965),this[_0x414bc3(0x20f)](_0x3dae93[_0x414bc3(0x245)]),_0x27b965[_0x414bc3(0x235)](),this[_0x414bc3(0x205)][_0x414bc3(0x24a)](_0x3dae93),this[_0x414bc3(0x22c)][_0x414bc3(0x24a)](_0x27b965);}[_0x3fbf5e(0x23b)](){const _0x39d4b8=_0x3fbf5e,_0x4da7ff=new _0x51d822(this[_0x39d4b8(0x244)][_0x39d4b8(0x206)]);return _0x4da7ff[_0x39d4b8(0x238)](),this['on'](_0x39d4b8(0x207),(_0x441b6d,_0x306b74,_0x344109,_0x50397e)=>{const _0x4e71c0=_0x39d4b8;_0x50397e&&_0x4da7ff[_0x4e71c0(0x1f0)](_0x4e71c0(0x21d)),_0x344109?_0x4da7ff[_0x4e71c0(0x240)](_0x4e71c0(0x21d))['to'](_0x344109,_0x4e71c0(0x233)):_0x4da7ff[_0x4e71c0(0x21d)]=null;}),_0x4da7ff;}[_0x3fbf5e(0x20a)](){const _0x417be6=_0x3fbf5e;this[_0x417be6(0x1ef)]=this[_0x417be6(0x22e)]?.[_0x417be6(0x242)]?this[_0x417be6(0x249)](this[_0x417be6(0x22e)][_0x417be6(0x242)]):null;}[_0x3fbf5e(0x241)](_0x47527a){const _0x44d135=_0x3fbf5e,_0x710e49=this[_0x44d135(0x22c)][_0x44d135(0x217)](_0x47527a),_0x213277=_0x710e49&&this[_0x44d135(0x22e)]?.[_0x44d135(0x217)](this[_0x44d135(0x22e)][_0x44d135(0x209)](_0x710e49)-0x1);return _0x213277&&this[_0x44d135(0x249)](_0x213277)||null;}[_0x3fbf5e(0x221)](_0x5cfa35){const _0x5f058b=_0x3fbf5e,_0x5701f1=this[_0x5f058b(0x22c)][_0x5f058b(0x217)](_0x5cfa35),_0x163b0b=_0x5701f1&&this[_0x5f058b(0x22e)]?.[_0x5f058b(0x217)](this[_0x5f058b(0x22e)][_0x5f058b(0x209)](_0x5701f1)+0x1);return _0x163b0b&&this[_0x5f058b(0x249)](_0x163b0b)||null;}[_0x3fbf5e(0x239)](_0xb9fbc4,_0x5eb882){const _0x31d4c1=_0x3fbf5e;_0xb9fbc4[_0x31d4c1(0x222)]();const _0x48649c=G(_0x5eb882[_0x31d4c1(0x233)]+this[_0x31d4c1(0x211)],_0xb9fbc4[_0x31d4c1(0x1f1)]);return!!_0x48649c&&(this[_0x31d4c1(0x237)](_0x5eb882,_0x5eb882[_0x31d4c1(0x1f1)]-_0x48649c),!0x0);}[_0x3fbf5e(0x21f)](_0x5868a6,_0x543b61){const _0x553837=_0x3fbf5e;_0x5868a6[_0x553837(0x222)]();const _0x5d9ae2=G(_0x5868a6[_0x553837(0x233)]+this[_0x553837(0x211)],_0x543b61[_0x553837(0x1f1)]);return!!_0x5d9ae2&&(this[_0x553837(0x237)](_0x543b61,_0x543b61[_0x553837(0x1f1)]+_0x5d9ae2,!0x1),!0x0);}[_0x3fbf5e(0x22b)](_0x1a3c1a){const _0x4772a7=_0x3fbf5e,_0x46a5be=this[_0x4772a7(0x22c)][_0x4772a7(0x217)](_0x1a3c1a);if(!_0x46a5be||!_0x46a5be[_0x4772a7(0x23c)]||!_0x46a5be[_0x4772a7(0x226)])return;const _0x42b1c0=this[_0x4772a7(0x208)](_0x46a5be,_0x46a5be[_0x4772a7(0x226)]);this[_0x4772a7(0x237)](_0x1a3c1a,_0x42b1c0);}[_0x3fbf5e(0x208)](_0x2a1779,_0x2dfc19){const _0x36336e=_0x3fbf5e;if(null===_0x2dfc19)return 0x0;if(_0x2a1779[_0x36336e(0x23c)]instanceof _0x5bbf57)return _0x2dfc19[_0x36336e(0x1f1)];{const _0xcb7b6e=new _0x5bbf57(this[_0x36336e(0x245)][_0x36336e(0x225)])[_0x36336e(0x1f1)];return _0x2dfc19[_0x36336e(0x1f1)]-_0xcb7b6e;}}[_0x3fbf5e(0x237)](_0x2d9fe4,_0x4385a4,_0x4fe3cb=this[_0x3fbf5e(0x244)][_0x3fbf5e(0x213)][_0x3fbf5e(0x217)](_0x3fbf5e(0x202))){const _0x4073af=_0x3fbf5e;_0x4fe3cb&&(_0x4385a4=Math[_0x4073af(0x214)](_0x4385a4,this[_0x4073af(0x23d)](_0x2d9fe4))),_0x2d9fe4[_0x4073af(0x1f1)]=_0x4385a4;}[_0x3fbf5e(0x23d)](_0x52b99d){const _0xb6bcad=_0x3fbf5e;let _0x35a03b=this[_0xb6bcad(0x241)](_0x52b99d),_0x5528e8=0x0;for(;_0x35a03b;)_0x35a03b[_0xb6bcad(0x222)](),_0x5528e8+=this[_0xb6bcad(0x211)]+_0x35a03b[_0xb6bcad(0x246)],_0x35a03b=this[_0xb6bcad(0x241)](_0x35a03b);return _0x5528e8;}}function G(_0x5e0035,_0x2fac70){const _0x5ca985=_0x3fbf5e;return Math[_0x5ca985(0x214)](_0x5e0035-_0x2fac70,0x0);}function _0x2fc7(_0x16e7da,_0x33389c){const _0x23a7d2=_0x23a7();return _0x2fc7=function(_0x2fc76e,_0x102405){_0x2fc76e=_0x2fc76e-0x1ef;let _0x299249=_0x23a7d2[_0x2fc76e];return _0x299249;},_0x2fc7(_0x16e7da,_0x33389c);}function g(_0x54f378){const _0x186980=_0x3fbf5e;return null!==_0x54f378&&_0x186980(0x201)==typeof _0x54f378&&0x1===_0x54f378[_0x186980(0x21b)];}
|
|
23
|
+
const _0x4d6e0a=_0x743c;(function(_0x3ef507,_0x1321e6){const _0xe85d6b=_0x743c,_0x3641c8=_0x3ef507();while(!![]){try{const _0x262a51=parseInt(_0xe85d6b(0x22c))/0x1+-parseInt(_0xe85d6b(0x20e))/0x2*(parseInt(_0xe85d6b(0x242))/0x3)+-parseInt(_0xe85d6b(0x21a))/0x4*(-parseInt(_0xe85d6b(0x1f3))/0x5)+-parseInt(_0xe85d6b(0x238))/0x6*(parseInt(_0xe85d6b(0x21f))/0x7)+-parseInt(_0xe85d6b(0x211))/0x8*(parseInt(_0xe85d6b(0x241))/0x9)+parseInt(_0xe85d6b(0x1fd))/0xa*(-parseInt(_0xe85d6b(0x233))/0xb)+parseInt(_0xe85d6b(0x222))/0xc;if(_0x262a51===_0x1321e6)break;else _0x3641c8['push'](_0x3641c8['shift']());}catch(_0x236b37){_0x3641c8['push'](_0x3641c8['shift']());}}}(_0xb5c2,0x80143));import{ContextPlugin as _0x5d0725}from'ckeditor5/src/core.js';import{Rect as _0x358fe0,CKEditorError as _0x48408a}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x42c6ff}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x3eb5bd}from'./view/sidebaritemview.js';export class Sidebar extends _0x5d0725{[_0x4d6e0a(0x225)];[_0x4d6e0a(0x213)];[_0x4d6e0a(0x206)];[_0x4d6e0a(0x23e)];[_0x4d6e0a(0x1ff)];[_0x4d6e0a(0x248)];[_0x4d6e0a(0x23b)];static get[_0x4d6e0a(0x231)](){const _0x4dc4b9=_0x4d6e0a;return _0x4dc4b9(0x239);}static get[_0x4d6e0a(0x200)](){return!0x0;}static get[_0x4d6e0a(0x216)](){return!0x0;}constructor(_0x7dbbec){const _0x545d7f=_0x4d6e0a;super(_0x7dbbec),this[_0x545d7f(0x244)](_0x545d7f(0x24c),void 0x0),this[_0x545d7f(0x225)]=this[_0x545d7f(0x235)](),this[_0x545d7f(0x244)](_0x545d7f(0x201),null),this[_0x545d7f(0x23e)]=0x19,this[_0x545d7f(0x1ff)]=new Map(),this[_0x545d7f(0x248)]=new Map(),this[_0x545d7f(0x215)][_0x545d7f(0x1f7)][_0x545d7f(0x1f5)](_0x545d7f(0x202),!0x1),this[_0x545d7f(0x206)]=null,this[_0x545d7f(0x213)]=null,this[_0x545d7f(0x23b)]=[];}[_0x4d6e0a(0x20d)](){const _0x571d14=_0x4d6e0a,_0x1c1b35=this[_0x571d14(0x215)][_0x571d14(0x1f7)][_0x571d14(0x1f6)](_0x571d14(0x24d));_0x1c1b35&&this[_0x571d14(0x240)](_0x1c1b35);}[_0x4d6e0a(0x240)](_0x24e15d){const _0x28eefc=_0x4d6e0a;if(!g(_0x24e15d))throw new _0x48408a(_0x28eefc(0x236));this[_0x28eefc(0x201)]=_0x24e15d;}[_0x4d6e0a(0x203)]({viewClass:_0xc22ca6='',spaceBetweenItems:_0x2ad313=0x19}={}){const _0x14d8f2=_0x4d6e0a;if(!g(this[_0x14d8f2(0x201)]))throw new _0x48408a(_0x14d8f2(0x20c),this);this[_0x14d8f2(0x201)][_0x14d8f2(0x1f9)](this[_0x14d8f2(0x225)][_0x14d8f2(0x249)]),this[_0x14d8f2(0x225)][_0x14d8f2(0x22d)]=_0xc22ca6,this[_0x14d8f2(0x23e)]=_0x2ad313;}[_0x4d6e0a(0x226)]({removedAnnotation:_0x410f92,previousAnnotation:_0x176359,nextAnnotation:_0x4c31de}){const _0x56245b=_0x4d6e0a,_0x5c4e91=this[_0x56245b(0x224)](_0x410f92);this[_0x56245b(0x225)][_0x56245b(0x212)][_0x56245b(0x237)](_0x5c4e91),this[_0x56245b(0x229)](_0x410f92),_0x176359&&this[_0x56245b(0x1f4)](this[_0x56245b(0x224)](_0x176359)),_0x4c31de&&this[_0x56245b(0x1f4)](this[_0x56245b(0x224)](_0x4c31de)),this[_0x56245b(0x23f)]();}[_0x4d6e0a(0x22f)]({blurredAnnotation:_0x35efdd,activatedAnnotation:_0x2fab53,disableAnimationOnActivatedAnnotation:_0x5e8eec}){const _0x25c754=_0x4d6e0a;if(this[_0x25c754(0x213)]=_0x2fab53,_0x35efdd){_0x35efdd[_0x25c754(0x24a)]=!0x1;const _0x20df03=this[_0x25c754(0x224)](_0x35efdd);_0x20df03&&_0x5e8eec&&(_0x20df03[_0x25c754(0x219)]=!0x1);}if(_0x2fab53){const _0x5273e8=this[_0x25c754(0x224)](_0x2fab53);_0x5273e8&&(_0x2fab53[_0x25c754(0x24a)]=!0x0,_0x5e8eec&&(_0x5273e8[_0x25c754(0x219)]=!0x0,_0x5273e8[_0x25c754(0x223)]+=0x1),this[_0x25c754(0x1f4)](_0x5273e8));}}[_0x4d6e0a(0x21b)](_0x5ba934){const _0x1bd7f3=_0x4d6e0a;if(this[_0x1bd7f3(0x225)][_0x1bd7f3(0x249)][_0x1bd7f3(0x237)](),_0x5ba934){for(const _0x5f21e3 of _0x5ba934)this[_0x1bd7f3(0x229)](_0x5f21e3);}this[_0x1bd7f3(0x225)][_0x1bd7f3(0x212)][_0x1bd7f3(0x21e)](),this[_0x1bd7f3(0x225)][_0x1bd7f3(0x22d)]='',this[_0x1bd7f3(0x24c)]=null;}[_0x4d6e0a(0x234)](_0x25a76c,_0x4e5539){const _0x4885f3=_0x4d6e0a;_0x4e5539||(_0x4e5539=_0x25a76c[_0x4885f3(0x225)]);const _0x41f782=new _0x3eb5bd(this[_0x4885f3(0x215)][_0x4885f3(0x21d)]);this[_0x4885f3(0x1ff)][_0x4885f3(0x244)](_0x41f782,_0x25a76c),this[_0x4885f3(0x248)][_0x4885f3(0x244)](_0x25a76c,_0x41f782),_0x41f782[_0x4885f3(0x23d)][_0x4885f3(0x20a)](_0x4e5539),this[_0x4885f3(0x218)](_0x25a76c[_0x4885f3(0x225)],_0x4885f3(0x20f),(_0x12fbf6,_0x5d6515,_0x13f3fb)=>{const _0x56129c=_0x4885f3,_0x4196e4=this[_0x56129c(0x20b)](_0x25a76c,_0x13f3fb);_0x41f782[_0x56129c(0x22b)]!=_0x4196e4&&(_0x41f782[_0x56129c(0x22b)]=_0x4196e4,this[_0x56129c(0x1fa)](_0x41f782,_0x4196e4));}),this[_0x4885f3(0x218)](_0x41f782,_0x4885f3(0x1f1),()=>{const _0x4023d2=_0x4885f3;this[_0x4023d2(0x221)](_0x41f782,_0x4023d2(0x223));}),this[_0x4885f3(0x218)](_0x41f782,_0x4885f3(0x232),()=>{const _0x4a145e=_0x4885f3;this[_0x4a145e(0x221)](_0x41f782,_0x4a145e(0x220));}),this[_0x4885f3(0x1f4)](_0x41f782);const _0x53740e=this[_0x4885f3(0x1fb)](_0x41f782);if(_0x53740e)this[_0x4885f3(0x227)](_0x53740e,_0x41f782)||this[_0x4885f3(0x1f4)](_0x41f782);else this[_0x4885f3(0x1f4)](_0x41f782);return this[_0x4885f3(0x23f)](),this[_0x4885f3(0x225)][_0x4885f3(0x212)][_0x4885f3(0x20a)](_0x41f782),_0x41f782;}[_0x4d6e0a(0x1f8)](_0xe90a7b){const _0x31faef=_0x4d6e0a;if(!_0xe90a7b[_0x31faef(0x23d)][_0x31faef(0x214)])return;const _0x4031d1=this[_0x31faef(0x1fb)](_0xe90a7b);if(!_0x4031d1)return;const _0x3daf8b=this[_0x31faef(0x1ff)][_0x31faef(0x1f6)](_0x4031d1),_0x50f6e4=this[_0x31faef(0x213)];_0x50f6e4&&_0x50f6e4===_0x3daf8b?this[_0x31faef(0x227)](_0x4031d1,_0xe90a7b):this[_0x31faef(0x1fe)](_0xe90a7b,_0x4031d1);}[_0x4d6e0a(0x207)](_0x34594f){const _0x566f14=_0x4d6e0a;if(!_0x34594f[_0x566f14(0x23d)][_0x566f14(0x214)])return;const _0x48acd1=this[_0x566f14(0x205)](_0x34594f);if(!_0x48acd1)return;const _0xe62846=this[_0x566f14(0x1ff)][_0x566f14(0x1f6)](_0x48acd1),_0x18fb35=this[_0x566f14(0x215)][_0x566f14(0x1f7)][_0x566f14(0x1f6)](_0x566f14(0x202)),_0xa4be9c=this[_0x566f14(0x213)];_0xa4be9c&&_0xa4be9c===_0xe62846&&_0x18fb35?(this[_0x566f14(0x1fe)](_0x48acd1,_0x34594f),this[_0x566f14(0x227)](_0x34594f,_0x48acd1)):_0xa4be9c&&_0xa4be9c===_0xe62846?this[_0x566f14(0x1fe)](_0x48acd1,_0x34594f):this[_0x566f14(0x227)](_0x34594f,_0x48acd1);}[_0x4d6e0a(0x221)](_0x35e26c,_0x34bd68){const _0x5443c7=_0x4d6e0a;0x0===this[_0x5443c7(0x23b)][_0x5443c7(0x214)]&&setTimeout(()=>{const _0x4b0d6f=_0x5443c7;for(const {sidebarItemView:_0x56f040,changedProp:_0x3c41c1}of this[_0x4b0d6f(0x23b)])_0x4b0d6f(0x223)===_0x3c41c1?this[_0x4b0d6f(0x1f8)](_0x56f040):this[_0x4b0d6f(0x207)](_0x56f040);this[_0x4b0d6f(0x23b)]=[];},0xa),this[_0x5443c7(0x23b)][_0x5443c7(0x23a)]({'sidebarItemView':_0x35e26c,'changedProp':_0x34bd68});}[_0x4d6e0a(0x224)](_0x229235){const _0x3a6b81=_0x4d6e0a;return this[_0x3a6b81(0x248)][_0x3a6b81(0x1f6)](_0x229235);}[_0x4d6e0a(0x22a)](){const _0xa9388c=_0x4d6e0a;this[_0xa9388c(0x245)](),this[_0xa9388c(0x225)][_0xa9388c(0x22a)]();}[_0x4d6e0a(0x229)](_0x4cde20){const _0x5977ec=_0x4d6e0a,_0xdfbc40=this[_0x5977ec(0x224)](_0x4cde20);this[_0x5977ec(0x245)](_0xdfbc40),this[_0x5977ec(0x245)](_0x4cde20[_0x5977ec(0x225)]),_0xdfbc40[_0x5977ec(0x22a)](),this[_0x5977ec(0x248)][_0x5977ec(0x247)](_0x4cde20),this[_0x5977ec(0x1ff)][_0x5977ec(0x247)](_0xdfbc40);}[_0x4d6e0a(0x235)](){const _0x4f6902=_0x4d6e0a,_0x2d3370=new _0x42c6ff(this[_0x4f6902(0x215)][_0x4f6902(0x21d)]);return _0x2d3370[_0x4f6902(0x24b)](),this['on'](_0x4f6902(0x21c),(_0x3e3520,_0x4e1698,_0x563b5b,_0x188a74)=>{const _0x5a53c2=_0x4f6902;_0x188a74&&_0x2d3370[_0x5a53c2(0x204)](_0x5a53c2(0x1f2)),_0x563b5b?_0x2d3370[_0x5a53c2(0x246)](_0x5a53c2(0x1f2))['to'](_0x563b5b,_0x5a53c2(0x220)):_0x2d3370[_0x5a53c2(0x1f2)]=null;}),_0x2d3370;}[_0x4d6e0a(0x23f)](){const _0x2230b5=_0x4d6e0a;this[_0x2230b5(0x24c)]=this[_0x2230b5(0x206)]?.[_0x2230b5(0x22e)]?this[_0x2230b5(0x224)](this[_0x2230b5(0x206)][_0x2230b5(0x22e)]):null;}[_0x4d6e0a(0x1fb)](_0x4d183b){const _0x3eff5a=_0x4d6e0a,_0xe5c876=this[_0x3eff5a(0x1ff)][_0x3eff5a(0x1f6)](_0x4d183b),_0x2dc79b=_0xe5c876&&this[_0x3eff5a(0x206)]?.[_0x3eff5a(0x1f6)](this[_0x3eff5a(0x206)][_0x3eff5a(0x217)](_0xe5c876)-0x1);return _0x2dc79b&&this[_0x3eff5a(0x224)](_0x2dc79b)||null;}[_0x4d6e0a(0x205)](_0x577763){const _0x2e0a33=_0x4d6e0a,_0x1acc90=this[_0x2e0a33(0x1ff)][_0x2e0a33(0x1f6)](_0x577763),_0x2d23e5=_0x1acc90&&this[_0x2e0a33(0x206)]?.[_0x2e0a33(0x1f6)](this[_0x2e0a33(0x206)][_0x2e0a33(0x217)](_0x1acc90)+0x1);return _0x2d23e5&&this[_0x2e0a33(0x224)](_0x2d23e5)||null;}[_0x4d6e0a(0x1fe)](_0x3478c9,_0x3c0c4d){const _0x7e45ad=_0x4d6e0a;_0x3478c9[_0x7e45ad(0x209)]();const _0x17aab8=G(_0x3c0c4d[_0x7e45ad(0x220)]+this[_0x7e45ad(0x23e)],_0x3478c9[_0x7e45ad(0x223)]);return!!_0x17aab8&&(this[_0x7e45ad(0x1fa)](_0x3c0c4d,_0x3c0c4d[_0x7e45ad(0x223)]-_0x17aab8),!0x0);}[_0x4d6e0a(0x227)](_0x454beb,_0x2e1e62){const _0x13c9d8=_0x4d6e0a;_0x454beb[_0x13c9d8(0x209)]();const _0x475721=G(_0x454beb[_0x13c9d8(0x220)]+this[_0x13c9d8(0x23e)],_0x2e1e62[_0x13c9d8(0x223)]);return!!_0x475721&&(this[_0x13c9d8(0x1fa)](_0x2e1e62,_0x2e1e62[_0x13c9d8(0x223)]+_0x475721,!0x1),!0x0);}[_0x4d6e0a(0x1f4)](_0x47e551){const _0x27465e=_0x4d6e0a,_0x33e675=this[_0x27465e(0x1ff)][_0x27465e(0x1f6)](_0x47e551);if(!_0x33e675||!_0x33e675[_0x27465e(0x228)]||!_0x33e675[_0x27465e(0x23c)])return;const _0x25da58=this[_0x27465e(0x20b)](_0x33e675,_0x33e675[_0x27465e(0x23c)]);this[_0x27465e(0x1fa)](_0x47e551,_0x25da58);}[_0x4d6e0a(0x20b)](_0x8b3edb,_0x26b7e7){const _0x32dafe=_0x4d6e0a;if(null===_0x26b7e7)return 0x0;if(_0x8b3edb[_0x32dafe(0x228)]instanceof _0x358fe0)return _0x26b7e7[_0x32dafe(0x223)];{const _0x17fd96=new _0x358fe0(this[_0x32dafe(0x225)][_0x32dafe(0x249)])[_0x32dafe(0x223)];return _0x26b7e7[_0x32dafe(0x223)]-_0x17fd96;}}[_0x4d6e0a(0x1fa)](_0x1e48b5,_0x4db284,_0x4cde45=this[_0x4d6e0a(0x215)][_0x4d6e0a(0x1f7)][_0x4d6e0a(0x1f6)](_0x4d6e0a(0x202))){const _0x1b302a=_0x4d6e0a;_0x4cde45&&(_0x4db284=Math[_0x1b302a(0x210)](_0x4db284,this[_0x1b302a(0x208)](_0x1e48b5))),_0x1e48b5[_0x1b302a(0x223)]=_0x4db284;}[_0x4d6e0a(0x208)](_0x48639e){const _0x2c662c=_0x4d6e0a;let _0x23aa49=this[_0x2c662c(0x1fb)](_0x48639e),_0x408a0c=0x0;for(;_0x23aa49;)_0x23aa49[_0x2c662c(0x209)](),_0x408a0c+=this[_0x2c662c(0x23e)]+_0x23aa49[_0x2c662c(0x243)],_0x23aa49=this[_0x2c662c(0x1fb)](_0x23aa49);return _0x408a0c;}}function _0x743c(_0x2399da,_0x26d40f){const _0xb5c24=_0xb5c2();return _0x743c=function(_0x743c4d,_0xf6df18){_0x743c4d=_0x743c4d-0x1f1;let _0x1e467e=_0xb5c24[_0x743c4d];return _0x1e467e;},_0x743c(_0x2399da,_0x26d40f);}function G(_0x51b2f5,_0x8d4a53){const _0x891be6=_0x4d6e0a;return Math[_0x891be6(0x210)](_0x51b2f5-_0x8d4a53,0x0);}function g(_0x5c4877){const _0x397ec0=_0x4d6e0a;return null!==_0x5c4877&&_0x397ec0(0x230)==typeof _0x5c4877&&0x1===_0x5c4877[_0x397ec0(0x1fc)];}function _0xb5c2(){const _0x17216f=['_destroySidebarItemView','destroy','_targetTop','738218NuaEJt','class','last','refresh','object','pluginName','change:bottom','11211530eprWRD','addAnnotation','_createSidebarView','sidebar-setcontainer-invalid-element','remove','78ymbjIh','Sidebar','push','_recalculateBuffer','targetRect','content','_spaceBetweenItems','_updateLastItem','setContainer','2785851QrPppF','1854042gbPoxs','height','set','stopListening','bind','delete','_annotationToSidebarItemView','element','isActive','render','_lastItem','sidebar.container','change:top','minHeight','10rtwljS','_alignToTargetRect','define','get','config','_alignForTopChange','appendChild','_setItemTop','_getItemBefore','nodeType','10HWmdpX','_alignBeforeItem','_sidebarItemViewToAnnotation','isOfficialPlugin','container','sidebar.preventScrollOutOfView','_attachToContainer','unbind','_getItemAfter','_annotations','_alignForBottomChange','_getMaxAvailableTop','updateHeight','add','_getTargetTop','sidebar-attachtocontainer-missing-container','init','2RmSBoY','change:targetRect','max','24rNVmPt','list','_activeAnnotation','length','context','isPremiumPlugin','getIndex','listenTo','isAnimationDisabled','647660myGsRF','_detachFromContainer','change:_lastItem','locale','clear','256361JbzaWv','bottom','_recalculate','30054276KJqtvx','top','getSidebarItemView','view','rearrange','_alignAfterItem','target'];_0xb5c2=function(){return _0x17216f;};return _0xb5c2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x431e75=_0x40ee;(function(_0x433cd4,_0xbe0d96){const _0x5e78ec=_0x40ee,_0x32285f=_0x433cd4();while(!![]){try{const _0x58c970=-parseInt(_0x5e78ec(0x127))/0x1*(parseInt(_0x5e78ec(0x119))/0x2)+parseInt(_0x5e78ec(0x112))/0x3*(-parseInt(_0x5e78ec(0x12e))/0x4)+parseInt(_0x5e78ec(0x121))/0x5+parseInt(_0x5e78ec(0x117))/0x6*(parseInt(_0x5e78ec(0x111))/0x7)+-parseInt(_0x5e78ec(0x12d))/0x8+parseInt(_0x5e78ec(0x128))/0x9+parseInt(_0x5e78ec(0x115))/0xa;if(_0x58c970===_0xbe0d96)break;else _0x32285f['push'](_0x32285f['shift']());}catch(_0x45445d){_0x32285f['push'](_0x32285f['shift']());}}}(_0x2f2d,0x6488a));function _0x40ee(_0x23a714,_0xe75c4){const _0x2f2d5f=_0x2f2d();return _0x40ee=function(_0x40ee0a,_0x1db93a){_0x40ee0a=_0x40ee0a-0x111;let _0x4c2c2c=_0x2f2d5f[_0x40ee0a];return _0x4c2c2c;},_0x40ee(_0x23a714,_0xe75c4);}import{ButtonView as _0x12bf30,View as _0x183e62}from'ckeditor5/src/ui.js';import{IconAddComment as _0xdf8596}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x12bf30{[_0x431e75(0x113)];constructor(_0x35ec2d){const _0x2c2ce7=_0x431e75;super(_0x35ec2d);const _0x1de979=this[_0x2c2ce7(0x120)];this[_0x2c2ce7(0x11a)](_0x2c2ce7(0x116),!0x1),this[_0x2c2ce7(0x11a)](_0x2c2ce7(0x12b),0x0),this[_0x2c2ce7(0x12c)](_0x2c2ce7(0x124))['to'](this,_0x2c2ce7(0x116),this,_0x2c2ce7(0x12b),(_0x3f6d86,_0x49f783)=>_0x3f6d86?_0x2c2ce7(0x11b):_0x49f783[_0x2c2ce7(0x11d)]()),this[_0x2c2ce7(0x11a)](_0x2c2ce7(0x11c),''),this[_0x2c2ce7(0x11f)]=_0xdf8596,this[_0x2c2ce7(0x126)]({'attributes':{'class':[_0x2c2ce7(0x129)]}}),this[_0x2c2ce7(0x113)]=new _0x183e62(),this[_0x2c2ce7(0x113)][_0x2c2ce7(0x122)]({'tag':_0x2c2ce7(0x11e),'attributes':{'class':[_0x2c2ce7(0x12a),_0x1de979['to'](_0x2c2ce7(0x11c),_0x1a1f67=>_0x2c2ce7(0x125)+_0x1a1f67),_0x1de979['if'](_0x2c2ce7(0x116),_0x2c2ce7(0x114))]},'children':[{'text':_0x1de979['to'](_0x2c2ce7(0x124))}]}),this[_0x2c2ce7(0x123)][_0x2c2ce7(0x118)](this[_0x2c2ce7(0x113)]);}}function _0x2f2d(){const _0xbe06c8=['132010UUAbZz','setTemplate','children','_badge','ck-annotation-counter__badge--','extendTemplate','9yWiBMo','5922873HpnwiJ','ck-annotation-counter','ck-annotation-counter__badge','number','bind','1848760BNZCqP','1860564LZIRQV','291053nCjMDm','3kvlNFE','counterView','ck-annotation-counter__badge--edit-mode','6476060mjwDjB','isDirty','6pslJBV','add','59036GDnhlQ','set','...','annotationType','toString','span','icon','bindTemplate'];_0x2f2d=function(){return _0xbe06c8;};return _0x2f2d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x385a71=_0xbffe;(function(_0x4ffe24,_0x2553af){const _0x2d75f1=_0xbffe,_0x1299fd=_0x4ffe24();while(!![]){try{const _0x303c28=parseInt(_0x2d75f1(0x11d))/0x1+parseInt(_0x2d75f1(0x126))/0x2+parseInt(_0x2d75f1(0x127))/0x3+-parseInt(_0x2d75f1(0x130))/0x4+parseInt(_0x2d75f1(0x125))/0x5*(parseInt(_0x2d75f1(0x146))/0x6)+-parseInt(_0x2d75f1(0x12a))/0x7+-parseInt(_0x2d75f1(0x141))/0x8;if(_0x303c28===_0x2553af)break;else _0x1299fd['push'](_0x1299fd['shift']());}catch(_0x41abaa){_0x1299fd['push'](_0x1299fd['shift']());}}}(_0x1944,0xbbf6a));import{View as _0x40c79c}from'ckeditor5/src/ui.js';import{FocusTracker as _0xf822c4,KeystrokeHandler as _0x537a5b,uid as _0x30ac77}from'ckeditor5/src/utils.js';function _0xbffe(_0x1a6c91,_0x414114){const _0x194458=_0x1944();return _0xbffe=function(_0xbffe5f,_0x4b94d0){_0xbffe5f=_0xbffe5f-0x11b;let _0x44ea27=_0x194458[_0xbffe5f];return _0x44ea27;},_0xbffe(_0x1a6c91,_0x414114);}import{createMutationObserver as _0x1ce2da}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x40c79c{[_0x385a71(0x131)];['id'];[_0x385a71(0x138)];[_0x385a71(0x139)];[_0x385a71(0x13e)];[_0x385a71(0x129)];constructor(_0x118618,_0x4aa4c3){const _0x272fc3=_0x385a71;super(_0x118618),this['id']=_0x30ac77(),this[_0x272fc3(0x131)]=new _0xf822c4(),this[_0x272fc3(0x138)]=new _0x537a5b(),this[_0x272fc3(0x138)][_0x272fc3(0x13d)](_0x272fc3(0x147),(_0x212567,_0x536cde)=>this[_0x272fc3(0x11b)](_0x272fc3(0x147),_0x536cde)),this[_0x272fc3(0x13d)](_0x272fc3(0x13b),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x272fc3(0x13d)](_0x272fc3(0x132),0x0),this[_0x272fc3(0x13d)](_0x272fc3(0x11e),!0x1),this[_0x272fc3(0x13d)](_0x272fc3(0x12c),!0x1),this[_0x272fc3(0x13d)](_0x272fc3(0x142),0x0),this[_0x272fc3(0x13d)](_0x272fc3(0x128),''),this[_0x272fc3(0x129)]=_0x1ce2da(()=>this[_0x272fc3(0x136)]()),this[_0x272fc3(0x139)]=this[_0x272fc3(0x140)](),this[_0x272fc3(0x139)][_0x272fc3(0x12e)](_0x272fc3(0x121),_0x272fc3(0x13f))['to'](this),this[_0x272fc3(0x139)][_0x272fc3(0x124)](_0x4aa4c3),this[_0x272fc3(0x13e)]=_0x4aa4c3;const _0x5603f5=this[_0x272fc3(0x120)];this[_0x272fc3(0x13a)]({'tag':_0x272fc3(0x12b),'attributes':{'class':['ck',_0x272fc3(0x144),_0x272fc3(0x11f),_0x5603f5['if'](_0x272fc3(0x11e),_0x272fc3(0x134))],'role':_0x272fc3(0x12d)},'children':this[_0x272fc3(0x139)]});}[_0x385a71(0x133)](){const _0x1aa1b3=_0x385a71;super[_0x1aa1b3(0x133)](),this[_0x1aa1b3(0x131)][_0x1aa1b3(0x124)](this[_0x1aa1b3(0x122)]),this[_0x1aa1b3(0x138)][_0x1aa1b3(0x11c)](this[_0x1aa1b3(0x122)]),this[_0x1aa1b3(0x129)][_0x1aa1b3(0x123)](this[_0x1aa1b3(0x122)]);}[_0x385a71(0x145)](){const _0x26c3de=_0x385a71;this[_0x26c3de(0x139)][_0x26c3de(0x13c)](),this[_0x26c3de(0x138)][_0x26c3de(0x145)](),this[_0x26c3de(0x131)][_0x26c3de(0x145)](),this[_0x26c3de(0x129)][_0x26c3de(0x137)](),super[_0x26c3de(0x145)]();}[_0x385a71(0x135)](){const _0x1f2187=_0x385a71;this[_0x1f2187(0x139)][_0x1f2187(0x12f)]&&this[_0x1f2187(0x139)][_0x1f2187(0x12f)][_0x1f2187(0x135)]();}[_0x385a71(0x136)](){const _0x92c372=_0x385a71,_0x45aa91=this[_0x92c372(0x122)][_0x92c372(0x143)];_0x45aa91&&(this[_0x92c372(0x132)]=_0x45aa91);}}function _0x1944(){const _0x38935b=['3038784ytwdEN','div','isDirty','presentation','delegate','first','2951468WZHQtm','focusTracker','height','render','ck-annotation-wrapper--active','focus','_updateHeight','detach','keystrokes','content','setTemplate','targetRect','clear','set','mainView','arrowdown','createCollection','5716600TqeHjj','length','clientHeight','ck-annotation-wrapper','destroy','156bZypyZ','Esc','fire','listenTo','20546qEmdjM','isActive','ck-rounded-corners','bindTemplate','arrowup','element','attach','add','232555oHANju','1283250uvkrEA','2354985SOserX','type','_mutationObserver'];_0x1944=function(){return _0x38935b;};return _0x1944();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x4fe120=_0x7554;(function(_0x126f3c,_0x47b237){const _0xbdf912=_0x7554,_0x3c950b=_0x126f3c();while(!![]){try{const _0x36d9b9=-parseInt(_0xbdf912(0x11d))/0x1+-parseInt(_0xbdf912(0x127))/0x2+-parseInt(_0xbdf912(0x121))/0x3+-parseInt(_0xbdf912(0x135))/0x4*(-parseInt(_0xbdf912(0x13e))/0x5)+parseInt(_0xbdf912(0x11b))/0x6+parseInt(_0xbdf912(0x125))/0x7+-parseInt(_0xbdf912(0x132))/0x8*(-parseInt(_0xbdf912(0x137))/0x9);if(_0x36d9b9===_0x47b237)break;else _0x3c950b['push'](_0x3c950b['shift']());}catch(_0x5137b3){_0x3c950b['push'](_0x3c950b['shift']());}}}(_0x3a7a,0xa2e34));import{View as _0x8726d6}from'ckeditor5/src/ui.js';import{toUnit as _0x21a97f}from'ckeditor5/src/utils.js';function _0x3a7a(){const _0x335f11=['bottom','9cOYvcg','delegate','element','ck-sidebar-item','div','set','createCollection','105FuUhlH','focus','arrowup','4976568FDHWjT','height','1319656hcvXBw','arrowdown','detach','clientHeight','2138391FOerGa','render','bind','top','1062565RwyuSH','ck-sidebar-item--no-animation','1905016IkhElo','isAnimationDisabled','attach','destroy','_targetTop','clear','bindTemplate','content','first','presentation','_mutationObserver','11977720PTzDhN','setTemplate','updateHeight','223564YPYIEE'];_0x3a7a=function(){return _0x335f11;};return _0x3a7a();}function _0x7554(_0x16a345,_0x12de54){const _0x3a7a8c=_0x3a7a();return _0x7554=function(_0x7554cd,_0x4b0262){_0x7554cd=_0x7554cd-0x11b;let _0x50af2e=_0x3a7a8c[_0x7554cd];return _0x50af2e;},_0x7554(_0x16a345,_0x12de54);}import{createMutationObserver as _0x1bd634}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x21a97f('px');export class AnnotationsSidebarItemView extends _0x8726d6{[_0x4fe120(0x12e)];[_0x4fe120(0x12b)];[_0x4fe120(0x131)];constructor(_0x4e9b46){const _0x1630e2=_0x4fe120;super(_0x4e9b46),this[_0x1630e2(0x13c)](_0x1630e2(0x124),0x0),this[_0x1630e2(0x13c)](_0x1630e2(0x11c),0x0),this[_0x1630e2(0x123)](_0x1630e2(0x136))['to'](this,_0x1630e2(0x124),this,_0x1630e2(0x11c),(_0x2278b7,_0x239dd8)=>_0x2278b7+_0x239dd8),this[_0x1630e2(0x13c)](_0x1630e2(0x128),!0x1),this[_0x1630e2(0x131)]=_0x1bd634(()=>this[_0x1630e2(0x134)]()),this[_0x1630e2(0x12b)]=null,this[_0x1630e2(0x12e)]=this[_0x1630e2(0x13d)](),this[_0x1630e2(0x12e)][_0x1630e2(0x138)](_0x1630e2(0x140),_0x1630e2(0x11e))['to'](this);const _0xe2c165=this[_0x1630e2(0x12d)];this[_0x1630e2(0x133)]({'tag':_0x1630e2(0x13b),'attributes':{'class':[_0x1630e2(0x13a),_0xe2c165['to'](_0x1630e2(0x128),_0xfed2e1=>_0xfed2e1?_0x1630e2(0x126):'')],'style':{'top':_0xe2c165['to'](_0x1630e2(0x124),_0x20bd2a=>Ot(_0x20bd2a))},'role':_0x1630e2(0x130)},'children':this[_0x1630e2(0x12e)]});}[_0x4fe120(0x122)](){const _0x12af87=_0x4fe120;super[_0x12af87(0x122)](),this[_0x12af87(0x131)][_0x12af87(0x129)](this[_0x12af87(0x139)]);}[_0x4fe120(0x13f)](){const _0x196294=_0x4fe120;this[_0x196294(0x12e)][_0x196294(0x12f)]&&this[_0x196294(0x12e)][_0x196294(0x12f)][_0x196294(0x13f)]();}[_0x4fe120(0x134)](){const _0x25440c=_0x4fe120,_0x4fa67b=this[_0x25440c(0x139)][_0x25440c(0x120)];_0x4fa67b&&(this[_0x25440c(0x11c)]=_0x4fa67b);}[_0x4fe120(0x12a)](){const _0x5cea68=_0x4fe120;this[_0x5cea68(0x12e)][_0x5cea68(0x12c)](),this[_0x5cea68(0x131)][_0x5cea68(0x11f)](),super[_0x5cea68(0x12a)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x1809(){const _0x2a30c3=['10837700WdXCnX','Annotations\x20sidebar','8WZnmJM','1759275IqImgI','add','class','change:top','render','set','removed','_updateItemPositionInFocusables','uiLanguageDirection','653361ZtOEuJ','ck-reset','length','focusFirst','change','remove','bindTemplate','listenTo','arrowdown','235KBvriG','focusables','element','top','ck-sidebar','1199005IDhLrS','focusPrevious','focusNext','added','Annotations\x20list','_setupKeyboardNavigation','forEach','minHeight','setTemplate','delegate','arrowup','focusCycler','div','application','list','source','958KTZJOA','6xQOzug','focusTracker','631708txyElK','createCollection','number','1676934bHCaGU','getIndex','focus'];_0x1809=function(){return _0x2a30c3;};return _0x1809();}const _0x129b80=_0x3ea7;(function(_0x2a8873,_0x12ab95){const _0x1139e6=_0x3ea7,_0x237f60=_0x2a8873();while(!![]){try{const _0x160281=-parseInt(_0x1139e6(0x188))/0x1*(-parseInt(_0x1139e6(0x19d))/0x2)+-parseInt(_0x1139e6(0x17f))/0x3+-parseInt(_0x1139e6(0x1a0))/0x4+-parseInt(_0x1139e6(0x18d))/0x5*(parseInt(_0x1139e6(0x19e))/0x6)+-parseInt(_0x1139e6(0x1a9))/0x7+parseInt(_0x1139e6(0x1a8))/0x8*(-parseInt(_0x1139e6(0x1a3))/0x9)+parseInt(_0x1139e6(0x1a6))/0xa;if(_0x160281===_0x12ab95)break;else _0x237f60['push'](_0x237f60['shift']());}catch(_0x59ad12){_0x237f60['push'](_0x237f60['shift']());}}}(_0x1809,0x22f41));function _0x3ea7(_0x55ff5d,_0x38d41a){const _0x180916=_0x1809();return _0x3ea7=function(_0x3ea746,_0x466998){_0x3ea746=_0x3ea746-0x17f;let _0x156ba8=_0x180916[_0x3ea746];return _0x156ba8;},_0x3ea7(_0x55ff5d,_0x38d41a);}import{View as _0x2d08ce,FocusCycler as _0x4ee122}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4a475d,toUnit as _0x31eeaf}from'ckeditor5/src/utils.js';import{getTranslation as _0x580fff}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x31eeaf('px');export class AnnotationsSidebarView extends _0x2d08ce{[_0x129b80(0x19b)];[_0x129b80(0x189)];[_0x129b80(0x19f)];[_0x129b80(0x198)];constructor(_0x43aa64){const _0x2fb4fb=_0x129b80;super(_0x43aa64);const _0x394dc9=this[_0x2fb4fb(0x185)];this[_0x2fb4fb(0x1ae)](_0x2fb4fb(0x194),0x0),this[_0x2fb4fb(0x1ae)](_0x2fb4fb(0x1ab),''),this[_0x2fb4fb(0x19b)]=this[_0x2fb4fb(0x1a1)](),this[_0x2fb4fb(0x189)]=this[_0x2fb4fb(0x1a1)](),this[_0x2fb4fb(0x19b)][_0x2fb4fb(0x196)](_0x2fb4fb(0x197),_0x2fb4fb(0x187))['to'](this),this[_0x2fb4fb(0x19f)]=new _0x4a475d(),this[_0x2fb4fb(0x198)]=new _0x4ee122({'focusables':this[_0x2fb4fb(0x189)],'focusTracker':this[_0x2fb4fb(0x19f)]}),this[_0x2fb4fb(0x195)]({'tag':_0x2fb4fb(0x199),'attributes':{'class':['ck',_0x2fb4fb(0x18c),_0x2fb4fb(0x180),_0x394dc9['to'](_0x2fb4fb(0x1ab))],'style':{'minHeight':_0x394dc9['to'](_0x2fb4fb(0x194),_0x12a748=>_0x2fb4fb(0x1a2)==typeof _0x12a748?Ot(_0x12a748+0xa):null)},'dir':_0x43aa64[_0x2fb4fb(0x1b1)],'role':_0x2fb4fb(0x19a),'aria-label':_0x580fff(_0x43aa64,_0x2fb4fb(0x1a7)),'tabindex':0x0},'children':[{'tag':_0x2fb4fb(0x199),'attributes':{'role':_0x2fb4fb(0x19b),'aria-label':_0x580fff(_0x43aa64,_0x2fb4fb(0x191))},'children':this[_0x2fb4fb(0x19b)]}]});}[_0x129b80(0x1ad)](){const _0x432366=_0x129b80;super[_0x432366(0x1ad)](),this[_0x432366(0x192)]();}[_0x129b80(0x1a5)](){const _0x4c78f3=_0x129b80;this[_0x4c78f3(0x198)][_0x4c78f3(0x182)]();}[_0x129b80(0x192)](){const _0xf86f5c=_0x129b80;this[_0xf86f5c(0x19b)][_0xf86f5c(0x196)](_0xf86f5c(0x1ac))['to'](this),this['on'](_0xf86f5c(0x1ac),_0x5d32fc=>{const _0x453a59=_0xf86f5c;this[_0x453a59(0x1b0)](_0x5d32fc[_0x453a59(0x19c)]);}),this[_0xf86f5c(0x19b)][_0xf86f5c(0x193)](_0x13e945=>{const _0x4b1dc3=_0xf86f5c;this[_0x4b1dc3(0x19f)][_0x4b1dc3(0x1aa)](_0x13e945[_0x4b1dc3(0x18a)]),this[_0x4b1dc3(0x1b0)](_0x13e945);}),this[_0xf86f5c(0x19b)]['on'](_0xf86f5c(0x183),(_0x3e8a10,_0x47e435)=>{const _0x1ec344=_0xf86f5c;for(const _0x14cb42 of _0x47e435[_0x1ec344(0x1af)])this[_0x1ec344(0x19f)][_0x1ec344(0x184)](_0x14cb42[_0x1ec344(0x18a)]),this[_0x1ec344(0x189)][_0x1ec344(0x184)](_0x14cb42);for(const _0x436d31 of _0x47e435[_0x1ec344(0x190)])this[_0x1ec344(0x19f)][_0x1ec344(0x1aa)](_0x436d31[_0x1ec344(0x18a)]),this[_0x1ec344(0x1b0)](_0x436d31);}),this['on'](_0xf86f5c(0x197),()=>{const _0x5d61f3=_0xf86f5c;this[_0x5d61f3(0x198)][_0x5d61f3(0x18e)]();}),this['on'](_0xf86f5c(0x187),()=>{const _0x3930a3=_0xf86f5c;this[_0x3930a3(0x198)][_0x3930a3(0x18f)]();}),this[_0xf86f5c(0x186)](this[_0xf86f5c(0x18a)],_0xf86f5c(0x1a5),()=>{const _0x3fe342=_0xf86f5c;this[_0x3fe342(0x1a5)]();});}[_0x129b80(0x1b0)](_0x340248){const _0x380b5d=_0x129b80,_0x3fa942=this[_0x380b5d(0x189)][_0x380b5d(0x1a4)](_0x340248);let _0x217316,_0x1549e1;for(const _0x27831a of this[_0x380b5d(0x189)])if(_0x340248[_0x380b5d(0x18b)]<_0x27831a[_0x380b5d(0x18b)]){_0x217316=_0x27831a;break;}if(_0x1549e1=_0x217316?this[_0x380b5d(0x189)][_0x380b5d(0x1a4)](_0x217316):this[_0x380b5d(0x189)][_0x380b5d(0x181)],-0x1!==_0x3fa942){if(_0x3fa942===_0x1549e1-0x1)return;this[_0x380b5d(0x189)][_0x380b5d(0x184)](_0x340248),_0x1549e1=_0x217316?this[_0x380b5d(0x189)][_0x380b5d(0x1a4)](_0x217316):this[_0x380b5d(0x189)][_0x380b5d(0x181)];}this[_0x380b5d(0x189)][_0x380b5d(0x1aa)](_0x340248,_0x1549e1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4a0e(_0x52e5bb,_0x2f5443){const _0x4a2336=_0x4a23();return _0x4a0e=function(_0x4a0eda,_0x2b0752){_0x4a0eda=_0x4a0eda-0x1a7;let _0x190ec4=_0x4a2336[_0x4a0eda];return _0x190ec4;},_0x4a0e(_0x52e5bb,_0x2f5443);}const _0x5b12af=_0x4a0e;(function(_0x2e3b3a,_0x390e67){const _0x9ee534=_0x4a0e,_0x4bad5f=_0x2e3b3a();while(!![]){try{const _0x4ae14e=parseInt(_0x9ee534(0x1ed))/0x1*(-parseInt(_0x9ee534(0x1c4))/0x2)+parseInt(_0x9ee534(0x1d1))/0x3*(parseInt(_0x9ee534(0x1d6))/0x4)+-parseInt(_0x9ee534(0x1c9))/0x5*(-parseInt(_0x9ee534(0x1ab))/0x6)+-parseInt(_0x9ee534(0x1b6))/0x7+-parseInt(_0x9ee534(0x1b8))/0x8*(parseInt(_0x9ee534(0x1c8))/0x9)+parseInt(_0x9ee534(0x1e4))/0xa+parseInt(_0x9ee534(0x1be))/0xb;if(_0x4ae14e===_0x390e67)break;else _0x4bad5f['push'](_0x4bad5f['shift']());}catch(_0x28ff84){_0x4bad5f['push'](_0x4bad5f['shift']());}}}(_0x4a23,0x88339));import{ContextPlugin as _0x6b1aa5,Context as _0x457ce2}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x28d530}from'./annotationsuis.js';import{Sidebar as _0x42ce47}from'./sidebar.js';import{CKEditorError as _0x36d015,Collection as _0xd598d1}from'ckeditor5/src/utils.js';import{debounce as _0x44727b}from'es-toolkit/compat';export class WideSidebar extends _0x6b1aa5{[_0x5b12af(0x1dd)];[_0x5b12af(0x1c3)];[_0x5b12af(0x1e2)];[_0x5b12af(0x1ca)];static get[_0x5b12af(0x1b3)](){return[_0x42ce47,_0x28d530];}static get[_0x5b12af(0x1bf)](){const _0x895374=_0x5b12af;return _0x895374(0x1dc);}static get[_0x5b12af(0x1b5)](){return!0x0;}static get[_0x5b12af(0x1bb)](){return!0x0;}constructor(_0xcd8c0c){const _0x3cce10=_0x5b12af;super(_0xcd8c0c),this[_0x3cce10(0x1dd)]=!0x1,this[_0x3cce10(0x1d8)](_0x3cce10(0x1d2),null),this[_0x3cce10(0x1c3)]=null,this[_0x3cce10(0x1e2)]=new _0xd598d1(),this[_0x3cce10(0x1ca)]=_0x44727b(()=>{const _0x3b69d9=_0x3cce10;_0xcd8c0c[_0x3b69d9(0x1e0)][_0x3b69d9(0x1c2)](_0x3b69d9(0x1bd))[_0x3b69d9(0x1d9)](),this[_0x3b69d9(0x1c3)][_0x3b69d9(0x1e6)]();},0xfa,{'leading':!0x1});}[_0x5b12af(0x1b9)](){const _0x42a895=_0x5b12af,_0x2ad887=this[_0x42a895(0x1d5)][_0x42a895(0x1e0)][_0x42a895(0x1c2)](_0x28d530),_0x3965d9=this[_0x42a895(0x1d5)][_0x42a895(0x1e0)][_0x42a895(0x1c2)](_0x42ce47);_0x2ad887[_0x42a895(0x1ba)](_0x42a895(0x1a7),this),_0x3965d9[_0x42a895(0x1bc)]&&_0x2ad887[_0x42a895(0x1b0)](_0x42a895(0x1a7));}[_0x5b12af(0x1cc)](_0x596bc3){const _0x57e522=_0x5b12af;if(_0x596bc3===this[_0x57e522(0x1d2)])return;const _0x36022a=this[_0x57e522(0x1d5)][_0x57e522(0x1e0)][_0x57e522(0x1c2)](_0x42ce47);_0x36022a[_0x57e522(0x1af)]=_0x596bc3;const _0x2dee46=this[_0x57e522(0x1d2)];_0x36022a[_0x57e522(0x1ef)]({'blurredAnnotation':_0x2dee46,'activatedAnnotation':_0x596bc3}),this[_0x57e522(0x1d2)]=_0x596bc3;}[_0x5b12af(0x1e9)](_0x148d3b){const _0x5d7961=_0x5b12af;this[_0x5d7961(0x1c3)]=_0x148d3b;const _0x11135d=this[_0x5d7961(0x1d5)][_0x5d7961(0x1e0)][_0x5d7961(0x1c2)](_0x42ce47);if(_0x11135d[_0x5d7961(0x1b7)]=_0x148d3b,this[_0x5d7961(0x1dd)])throw new _0x36d015(_0x5d7961(0x1a8),this);this[_0x5d7961(0x1dd)]=!0x0,this[_0x5d7961(0x1e5)](_0x11135d,_0x5d7961(0x1aa),()=>{const _0x6f5d2d=_0x5d7961;this[_0x6f5d2d(0x1ae)](),this[_0x6f5d2d(0x1e5)](_0x11135d,_0x6f5d2d(0x1b2),_0x1db6b9=>{const _0x133e59=_0x6f5d2d;_0x1db6b9[_0x133e59(0x1eb)](),this[_0x133e59(0x1e9)](_0x148d3b);});}),_0x11135d[_0x5d7961(0x1db)]({'viewClass':_0x5d7961(0x1d4)});const _0x143e46=_0xfee446=>{const _0x3db575=_0x5d7961;_0xfee446[_0x3db575(0x1c7)](),_0x11135d[_0x3db575(0x1cd)](_0xfee446);};for(const _0x4e0d5 of _0x148d3b)_0x143e46(_0x4e0d5);this[_0x5d7961(0x1e5)](_0x148d3b,_0x5d7961(0x1de),(_0x3da3ce,_0x352c6a)=>{_0x143e46(_0x352c6a);}),this[_0x5d7961(0x1e5)](_0x148d3b,_0x5d7961(0x1d7),(_0x1a0516,_0x363ee9,_0x84dd64)=>{const _0x5784eb=_0x5d7961;_0x11135d[_0x5784eb(0x1ea)]({'removedAnnotation':_0x363ee9,'previousAnnotation':_0x148d3b[_0x5784eb(0x1c2)](_0x84dd64-0x1),'nextAnnotation':_0x148d3b[_0x5784eb(0x1c2)](_0x84dd64+0x1)}),_0x363ee9===this[_0x5784eb(0x1d2)]&&this[_0x5784eb(0x1cc)](null);},{'priority':_0x5d7961(0x1ac)}),this[_0x5d7961(0x1e5)](_0x148d3b,_0x5d7961(0x1e7),(_0x2344b6,_0x16c199)=>{const _0x316d5b=_0x5d7961;this[_0x316d5b(0x1cc)](_0x16c199);}),this[_0x5d7961(0x1e5)](_0x148d3b,_0x5d7961(0x1ad),()=>{const _0x3330cf=_0x5d7961;this[_0x3330cf(0x1cc)](null);});const _0x1559ae=this[_0x5d7961(0x1d5)]instanceof _0x457ce2?this[_0x5d7961(0x1d5)][_0x5d7961(0x1c1)]:new _0xd598d1([this[_0x5d7961(0x1d5)]]);for(const _0x13d9cf of _0x1559ae)this[_0x5d7961(0x1e1)](_0x13d9cf);this[_0x5d7961(0x1e5)](_0x1559ae,_0x5d7961(0x1de),(_0x4b0be3,_0xa806f4)=>{const _0x546bfc=_0x5d7961;this[_0x546bfc(0x1e5)](_0xa806f4,_0x546bfc(0x1a9),()=>{const _0x416cba=_0x546bfc;this[_0x416cba(0x1e1)](_0xa806f4);});}),this[_0x5d7961(0x1e5)](_0x1559ae,_0x5d7961(0x1d7),(_0x272854,_0x3f9d59)=>{const _0x3a49bf=_0x5d7961;_0x3f9d59[_0x3a49bf(0x1e0)][_0x3a49bf(0x1b4)](_0x3a49bf(0x1ce))&&this[_0x3a49bf(0x1ee)](_0x3f9d59[_0x3a49bf(0x1e0)][_0x3a49bf(0x1c2)](_0x3a49bf(0x1ce)));}),window[_0x5d7961(0x1c6)](_0x5d7961(0x1e8),this[_0x5d7961(0x1ca)]),this[_0x5d7961(0x1d5)][_0x5d7961(0x1e0)][_0x5d7961(0x1c2)](_0x5d7961(0x1bd))[_0x5d7961(0x1d9)](),this[_0x5d7961(0x1c3)][_0x5d7961(0x1e6)]();}[_0x5b12af(0x1ae)](){const _0x3672d5=_0x5b12af;if(!this[_0x3672d5(0x1dd)])throw new _0x36d015(_0x3672d5(0x1c5),this);this[_0x3672d5(0x1cc)](null);const _0x254f82=this[_0x3672d5(0x1d5)][_0x3672d5(0x1e0)][_0x3672d5(0x1c2)](_0x42ce47);_0x254f82[_0x3672d5(0x1cb)](this[_0x3672d5(0x1c3)]),this[_0x3672d5(0x1cf)](_0x254f82),this[_0x3672d5(0x1cf)](this[_0x3672d5(0x1c3)]),this[_0x3672d5(0x1d5)]instanceof _0x457ce2&&this[_0x3672d5(0x1cf)](this[_0x3672d5(0x1d5)][_0x3672d5(0x1c1)]);for(const _0x3ee227 of Array[_0x3672d5(0x1df)](this[_0x3672d5(0x1e2)]))this[_0x3672d5(0x1ee)](_0x3ee227);window[_0x3672d5(0x1d3)](_0x3672d5(0x1e8),this[_0x3672d5(0x1ca)]),this[_0x3672d5(0x1ca)][_0x3672d5(0x1e3)](),this[_0x3672d5(0x1d2)]=null,this[_0x3672d5(0x1dd)]=!0x1,this[_0x3672d5(0x1c3)]=null;}[_0x5b12af(0x1b1)](){const _0x2f9923=_0x5b12af;this[_0x2f9923(0x1dd)]&&this[_0x2f9923(0x1ae)]();}[_0x5b12af(0x1e1)](_0x355b66){const _0x17f0c0=_0x5b12af;if(!_0x355b66[_0x17f0c0(0x1e0)][_0x17f0c0(0x1b4)](_0x17f0c0(0x1ce)))return;const _0x4da98c=_0x355b66[_0x17f0c0(0x1e0)][_0x17f0c0(0x1c2)](_0x17f0c0(0x1ce)),_0x3b154e=()=>{const _0xbd9310=_0x17f0c0,_0x21431a=_0x4da98c[_0xbd9310(0x1ec)]({'annotations':this[_0xbd9310(0x1c3)],'activeAnnotation':this[_0xbd9310(0x1d2)]});this[_0xbd9310(0x1cc)](_0x21431a[0x0]||null);};this[_0x17f0c0(0x1e5)](_0x4da98c,_0x17f0c0(0x1ef),_0x3b154e),this[_0x17f0c0(0x1e5)](_0x4da98c,_0x17f0c0(0x1ad),(_0x5ec486,{isAnnotationTracked:_0x4f01b3})=>{const _0xf8867d=_0x17f0c0;this[_0xf8867d(0x1d2)]&&_0x4f01b3(this[_0xf8867d(0x1d2)])&&this[_0xf8867d(0x1cc)](null);}),this[_0x17f0c0(0x1e5)](_0x4da98c,_0x17f0c0(0x1c0),()=>{const _0x39f71c=_0x17f0c0;this[_0x39f71c(0x1ca)]();}),this[_0x17f0c0(0x1e5)](this[_0x17f0c0(0x1c3)],_0x17f0c0(0x1ad),_0x4b4354=>{const _0x246687=_0x17f0c0;_0x4da98c[_0x246687(0x1da)]()&&(_0x3b154e(),_0x4b4354[_0x246687(0x1d0)]());},{'priority':_0x17f0c0(0x1ac)}),this[_0x17f0c0(0x1e2)][_0x17f0c0(0x1de)](_0x4da98c);}[_0x5b12af(0x1ee)](_0x22b181){const _0x4b89a8=_0x5b12af;this[_0x4b89a8(0x1cf)](_0x22b181),this[_0x4b89a8(0x1e2)][_0x4b89a8(0x1d7)](_0x22b181);}}function _0x4a23(){const _0x4dfa4d=['_destroyEditorAnnotationsIntegration','refresh','wideSidebar','widesidebar-attach-already-attached','ready','set:container','30zaEORY','high','blur','detach','_activeAnnotation','switchTo','destroy','change:container','requires','has','isOfficialPlugin','5858349slKFTs','_annotations','40WKKUsv','init','register','isPremiumPlugin','container','Annotations','6194111rswkSp','pluginName','uiUpdate','editors','get','annotations','1261838WnbNJl','widesidebar-detach-not-attached','addEventListener','updateTargetRect','834147AjrhWd','91765lwCVRV','_refreshPositioningDebounced','_detachFromContainer','setActiveAnnotation','addAnnotation','EditorAnnotations','stopListening','stop','102FWRCGC','activeAnnotation','removeEventListener','ck-sidebar--wide','context','130536czzzPz','remove','set','refreshVisibility','hasDomSelection','_attachToContainer','WideSidebar','isAttached','add','from','plugins','_integrateWithEditorAnnotations','_editorAnnotations','cancel','7247000FhIjHu','listenTo','refreshPositioning','focus','resize','attach','rearrange','off','getOrderedSelectedAnnotations','1JhfMIM'];_0x4a23=function(){return _0x4dfa4d;};return _0x4a23();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4906fe=_0x393e;(function(_0x25e7f8,_0x3702d9){const _0x4e9b04=_0x393e,_0x457aaf=_0x25e7f8();while(!![]){try{const _0x1ed6b8=parseInt(_0x4e9b04(0x15f))/0x1+-parseInt(_0x4e9b04(0x157))/0x2+-parseInt(_0x4e9b04(0x167))/0x3+parseInt(_0x4e9b04(0x173))/0x4*(parseInt(_0x4e9b04(0x175))/0x5)+parseInt(_0x4e9b04(0x181))/0x6*(-parseInt(_0x4e9b04(0x15c))/0x7)+parseInt(_0x4e9b04(0x158))/0x8*(-parseInt(_0x4e9b04(0x183))/0x9)+parseInt(_0x4e9b04(0x15d))/0xa;if(_0x1ed6b8===_0x3702d9)break;else _0x457aaf['push'](_0x457aaf['shift']());}catch(_0x5b9f89){_0x457aaf['push'](_0x457aaf['shift']());}}}(_0x42cf,0xbef32));function _0x42cf(){const _0x1b9ce5=['33054840ZxwmvO','plugins','65366PyJHba','Users','CommentsRepository','set','document','schema','length','push','3910977kgAwCo','end','addcommentthreadcommand-user-not-found','getLastMatchingPosition','item','backward','from','change','isObject','model','getItems','_createCommentThread','4pHCkyr','get','1940065tYqjWa','$textProxy','_itemIsContent','selection','isEnabled','editor','hasContent','execute','getRanges','refresh','element','_hasContent','29622gmxNto','config','1662813DmUrex','createRange','addCommentThread','addMarker','tableCell','substr','start','comment:','collaboration.channelId','2217858ZLbQAB','24kEJJmf','_trimToContent','_createMarkersFromRanges','addcommentthreadcommand-incorrect-ranges','14NskndS'];_0x42cf=function(){return _0x1b9ce5;};return _0x42cf();}import{Command as _0x1dc7d0}from'ckeditor5/src/core.js';function _0x393e(_0xdf1a34,_0x1961d1){const _0x42cfe0=_0x42cf();return _0x393e=function(_0x393e2d,_0x2fd405){_0x393e2d=_0x393e2d-0x150;let _0x3754e5=_0x42cfe0[_0x393e2d];return _0x3754e5;},_0x393e(_0xdf1a34,_0x1961d1);}import{uid as _0x5b47e1,CKEditorError as _0x2b5b44}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x1dc7d0{constructor(_0xaeae45){const _0x1c1a13=_0x393e;super(_0xaeae45),this[_0x1c1a13(0x162)](_0x1c1a13(0x17b),!0x1);}[_0x4906fe(0x17e)](){const _0x29fb23=_0x4906fe,_0x24f23e=this[_0x29fb23(0x17a)][_0x29fb23(0x170)][_0x29fb23(0x163)][_0x29fb23(0x178)];this[_0x29fb23(0x179)]=!0x0,this[_0x29fb23(0x17b)]=!0x1;for(const _0x165012 of _0x24f23e[_0x29fb23(0x17d)]())if(this[_0x29fb23(0x180)](_0x165012))return void(this[_0x29fb23(0x17b)]=!0x0);}[_0x4906fe(0x17c)]({threadId:_0x3219f5=_0x5b47e1(),ranges:_0x50893d,comment:_0x4166f5}={}){const _0x1c5012=_0x4906fe,_0x55f9b5=this[_0x1c5012(0x17a)][_0x1c5012(0x170)],_0x126424=_0x50893d??Array[_0x1c5012(0x16d)](_0x55f9b5[_0x1c5012(0x163)][_0x1c5012(0x178)][_0x1c5012(0x17d)]()),_0x8f135=[];for(const _0x23e20f of _0x126424)this[_0x1c5012(0x180)](_0x23e20f)&&_0x8f135[_0x1c5012(0x166)](this[_0x1c5012(0x159)](_0x23e20f));if(!_0x8f135[_0x1c5012(0x165)])throw new _0x2b5b44(_0x1c5012(0x15b),null);_0x4166f5&&this[_0x1c5012(0x172)](_0x3219f5,_0x4166f5),this[_0x1c5012(0x15a)](_0x3219f5,_0x8f135,!!_0x4166f5);}[_0x4906fe(0x15a)](_0xd9ae0e,_0x72f503,_0x4cf898){const _0x58ddde=_0x4906fe;this[_0x58ddde(0x17a)][_0x58ddde(0x170)][_0x58ddde(0x16e)](_0x571f64=>{const _0x29a1ac=_0x58ddde;for(const _0xce9687 of _0x72f503){const _0x47bb43=_0x5b47e1()[_0x29a1ac(0x153)](0x1,0x5),_0x2d98d1=_0x29a1ac(0x155)+_0xd9ae0e+':'+_0x47bb43;_0x571f64[_0x29a1ac(0x151)](_0x2d98d1,{'range':_0xce9687,'usingOperation':_0x4cf898,'affectsData':_0x4cf898});}});}[_0x4906fe(0x172)](_0xacf20b,_0x45cd0c){const _0x3d19b0=_0x4906fe,_0x110dfd=this[_0x3d19b0(0x17a)][_0x3d19b0(0x15e)][_0x3d19b0(0x174)](_0x3d19b0(0x161)),_0x1aa912=this[_0x3d19b0(0x17a)][_0x3d19b0(0x182)][_0x3d19b0(0x174)](_0x3d19b0(0x156)),_0xfa3e2c=this[_0x3d19b0(0x17a)][_0x3d19b0(0x15e)][_0x3d19b0(0x174)](_0x3d19b0(0x160))['me'];if(!_0xfa3e2c)throw new _0x2b5b44(_0x3d19b0(0x169),null);_0x110dfd[_0x3d19b0(0x150)]({'threadId':_0xacf20b,'channelId':_0x1aa912,'comments':[{'authorId':_0xfa3e2c['id'],'content':_0x45cd0c,'createdAt':new Date(),'attributes':{}}]});}[_0x4906fe(0x180)](_0x2671c1){const _0x298a9b=_0x4906fe;for(const _0x1e52e1 of _0x2671c1[_0x298a9b(0x171)]())if(this[_0x298a9b(0x177)](_0x1e52e1))return!0x0;return!0x1;}[_0x4906fe(0x177)](_0x2cf583){const _0x345720=_0x4906fe;return _0x2cf583['is'](_0x345720(0x176))||this[_0x345720(0x17a)][_0x345720(0x170)][_0x345720(0x164)][_0x345720(0x16f)](_0x2cf583)&&!_0x2cf583['is'](_0x345720(0x17f),_0x345720(0x152));}[_0x4906fe(0x159)](_0x27bc40){const _0x367689=_0x4906fe,_0x558214=_0xf2fb99=>!this[_0x367689(0x177)](_0xf2fb99[_0x367689(0x16b)]),_0x204c90=_0x27bc40[_0x367689(0x154)][_0x367689(0x16a)](_0x558214),_0x417666=_0x27bc40[_0x367689(0x168)][_0x367689(0x16a)](_0x558214,{'direction':_0x367689(0x16c)});return this[_0x367689(0x17a)][_0x367689(0x170)][_0x367689(0x184)](_0x204c90,_0x417666);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe963ac=_0x4d7b;(function(_0x2b0469,_0xc3c35c){const _0x577ca7=_0x4d7b,_0x91073e=_0x2b0469();while(!![]){try{const _0x1d0ecc=parseInt(_0x577ca7(0x158))/0x1+-parseInt(_0x577ca7(0x155))/0x2*(-parseInt(_0x577ca7(0x143))/0x3)+parseInt(_0x577ca7(0x14c))/0x4*(-parseInt(_0x577ca7(0x159))/0x5)+parseInt(_0x577ca7(0x148))/0x6*(-parseInt(_0x577ca7(0x146))/0x7)+-parseInt(_0x577ca7(0x150))/0x8*(-parseInt(_0x577ca7(0x154))/0x9)+-parseInt(_0x577ca7(0x144))/0xa*(parseInt(_0x577ca7(0x14a))/0xb)+parseInt(_0x577ca7(0x13f))/0xc*(parseInt(_0x577ca7(0x137))/0xd);if(_0x1d0ecc===_0xc3c35c)break;else _0x91073e['push'](_0x91073e['shift']());}catch(_0x4d5371){_0x91073e['push'](_0x91073e['shift']());}}}(_0x4fe6,0xa3ef2));import{ContextPlugin as _0x5102c2}from'ckeditor5/src/core.js';import{Collection as _0x2473fc}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x3b1385}from'./commentsrepository.js';import{Annotations as _0x4656e1}from'../annotations/annotations.js';export class CommentsArchive extends _0x5102c2{static get[_0xe963ac(0x139)](){const _0x19a516=_0xe963ac;return _0x19a516(0x157);}static get[_0xe963ac(0x145)](){return!0x0;}static get[_0xe963ac(0x135)](){return!0x0;}static get[_0xe963ac(0x142)](){return[_0x3b1385,_0x4656e1];}constructor(_0x127a1d){const _0x333d3b=_0xe963ac;super(_0x127a1d),this[_0x333d3b(0x151)]=new _0x2473fc();}[_0xe963ac(0x136)](){const _0x30b76e=_0xe963ac,_0x3b4d75=this[_0x30b76e(0x14f)],_0x158128=_0x3b4d75[_0x30b76e(0x138)][_0x30b76e(0x147)](_0x3b1385),_0x55005e=_0x3b4d75[_0x30b76e(0x138)][_0x30b76e(0x147)](_0x4656e1);this[_0x30b76e(0x149)](_0x158128,_0x30b76e(0x152),(_0x88457e,{threadId:_0x4bcfbd})=>{const _0x5e8474=_0x30b76e,_0x29b3fd=_0x158128[_0x5e8474(0x131)](_0x4bcfbd);_0x29b3fd[_0x5e8474(0x14b)]&&this[_0x5e8474(0x151)][_0x5e8474(0x13a)](_0x29b3fd,this[_0x5e8474(0x140)](_0x29b3fd[_0x5e8474(0x14b)])),this[_0x5e8474(0x149)](_0x29b3fd,_0x5e8474(0x13b),(_0x1b6792,_0x353dc3,_0x30ab5e)=>{const _0x462e78=_0x5e8474;_0x30ab5e?this[_0x462e78(0x151)][_0x462e78(0x14e)](_0x29b3fd)||this[_0x462e78(0x151)][_0x462e78(0x13a)](_0x29b3fd,this[_0x462e78(0x140)](_0x29b3fd[_0x462e78(0x14b)])):this[_0x462e78(0x151)][_0x462e78(0x14e)](_0x29b3fd)&&this[_0x462e78(0x151)][_0x462e78(0x13e)](_0x29b3fd);});}),this[_0x30b76e(0x149)](_0x158128,_0x30b76e(0x15a),(_0x5c8504,{threadId:_0x5e1088})=>{const _0x51f2cd=_0x30b76e,_0x1a8c59=_0x158128[_0x51f2cd(0x131)](_0x5e1088);this[_0x51f2cd(0x153)](_0x1a8c59),this[_0x51f2cd(0x151)][_0x51f2cd(0x14e)](_0x1a8c59)&&this[_0x51f2cd(0x151)][_0x51f2cd(0x13e)](_0x1a8c59);},{'priority':_0x30b76e(0x156)}),this[_0x30b76e(0x149)](_0x55005e[_0x30b76e(0x13c)],_0x30b76e(0x13d),(_0x1bacfc,_0x3d3059)=>{const _0x17f265=_0x30b76e;_0x3d3059[_0x17f265(0x134)]||(_0x3d3059[_0x17f265(0x141)]=!0x0,_0x55005e[_0x17f265(0x132)](_0x3d3059));});}[_0xe963ac(0x140)](_0x2157c6){const _0x137c53=_0xe963ac,_0x3757a7=[...this[_0x137c53(0x151)]][_0x137c53(0x133)](_0x59924a=>_0x59924a[_0x137c53(0x14b)]<_0x2157c6);return _0x3757a7>-0x1?_0x3757a7:this[_0x137c53(0x151)][_0x137c53(0x14d)];}}function _0x4d7b(_0x39a634,_0x3868f6){const _0x4fe6ae=_0x4fe6();return _0x4d7b=function(_0x4d7b40,_0x5d9544){_0x4d7b40=_0x4d7b40-0x131;let _0x31bb76=_0x4fe6ae[_0x4d7b40];return _0x31bb76;},_0x4d7b(_0x39a634,_0x3868f6);}function _0x4fe6(){const _0x202813=['pluginName','add','change:archivedAt','collection','focus','remove','138852mvozZU','_calculatePosition','isActive','requires','3wYlqww','20LXtfCr','isOfficialPlugin','14GWIuBx','get','2644158RIQHMw','listenTo','3404929izQyBV','archivedAt','4nhddwI','length','has','context','21544PQpila','archivedThreads','addCommentThread','stopListening','1017zvYAqo','1108598mGBrUs','highest','CommentsArchive','262666zYoPbi','4061335NsxElr','removeCommentThread','getCommentThread','activate','findIndex','isVisible','isPremiumPlugin','init','2093SQHgKS','plugins'];_0x4fe6=function(){return _0x202813;};return _0x4fe6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5402be=_0x331f;function _0x575e(){const _0x585dcd=['isOn','has','527365FlyYba','pluginName','show','findIndex','stopListening','splice','EDITOR_TOP_SIDE','isPremiumPlugin','14sUeKMD','menuBar:commentsArchive','collaboration.channelId','_calculatePosition','8HIMfRj','add','isOpen','indexOf','find','plugins','isEnabled','549905rSpzoV','forEach','length','channelId','archivedThreads','return','view','isVisible','init','4182474LWUpwf','tooltip','source','innerView','isOfficialPlugin','componentFactory','editor','_visibleAnnotations','push','_threadToController','CommentsRepository','set:isVisible','config','archivedAt','2028904HcDDTc','focusableElements','filter','hide','getByInnerView','locale','listenTo','stop','_addAnnotationToArchive','1486302APkgJQ','commentsArchiveView','remove','Dialog','set','menuitemcheckbox','includes','_pendingThreads','_createCommentsArchiveButton','_handleNewThread','execute','12591414uDDsrW','_toggleDialog','escape','COMMENTS_ARCHIVE','969128iqjNQV','commentsArchive','Annotations','requires','_hideDialogOnAnnotationEscape','collection','bind','CommentsArchiveUI','annotationViews','get'];_0x575e=function(){return _0x585dcd;};return _0x575e();}(function(_0x48cbfa,_0x28c965){const _0x284ebd=_0x331f,_0x20b39a=_0x48cbfa();while(!![]){try{const _0x532354=-parseInt(_0x284ebd(0x1a3))/0x1+parseInt(_0x284ebd(0x1e5))/0x2+parseInt(_0x284ebd(0x1d6))/0x3*(parseInt(_0x284ebd(0x1af))/0x4)+parseInt(_0x284ebd(0x1b6))/0x5+parseInt(_0x284ebd(0x1bf))/0x6*(parseInt(_0x284ebd(0x1ab))/0x7)+-parseInt(_0x284ebd(0x1cd))/0x8+-parseInt(_0x284ebd(0x1e1))/0x9;if(_0x532354===_0x28c965)break;else _0x20b39a['push'](_0x20b39a['shift']());}catch(_0x504c86){_0x20b39a['push'](_0x20b39a['shift']());}}}(_0x575e,0xc333b));import'../../theme/commentsarchive.css';import{Plugin as _0x3b321d}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x4810f1}from'ckeditor5/src/icons.js';function _0x331f(_0x3f9a09,_0x4a068d){const _0x575e32=_0x575e();return _0x331f=function(_0x331f8b,_0x3e4230){_0x331f8b=_0x331f8b-0x1a2;let _0x1ecf6a=_0x575e32[_0x331f8b];return _0x1ecf6a;},_0x331f(_0x3f9a09,_0x4a068d);}import{ViewCollection as _0x2024c4,MenuBarMenuListItemButtonView as _0x13e754,ButtonView as _0x305ccf,Dialog as _0x1e7d4f,DialogViewPosition as _0x3c1fea}from'ckeditor5/src/ui.js';import{getTranslation as _0x80cce6}from'../utils/common-translations.js';import{CommentsArchiveView as _0x299649}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x15d84c}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x3b321d{[_0x5402be(0x1d7)];[_0x5402be(0x1ed)];[_0x5402be(0x1dd)];static get[_0x5402be(0x1a4)](){const _0x9dccb5=_0x5402be;return _0x9dccb5(0x1ec);}static get[_0x5402be(0x1c3)](){return!0x0;}static get[_0x5402be(0x1aa)](){return!0x0;}static get[_0x5402be(0x1e8)](){return[_0x15d84c,_0x1e7d4f];}constructor(_0x304582){const _0x34d080=_0x5402be;super(_0x304582),this[_0x34d080(0x1ed)]=new _0x2024c4(),this[_0x34d080(0x1dd)]=[];}[_0x5402be(0x1be)](){const _0x579033=_0x5402be,_0x43d94c=this[_0x579033(0x1c5)],_0x3cc6b2=this[_0x579033(0x1e9)][_0x579033(0x1eb)](this);_0x43d94c['ui'][_0x579033(0x1c4)][_0x579033(0x1b0)](_0x579033(0x1e6),()=>this[_0x579033(0x1de)](_0x305ccf,!0x0)),_0x43d94c['ui'][_0x579033(0x1c4)][_0x579033(0x1b0)](_0x579033(0x1ac),()=>{const _0x23f53d=_0x579033,_0x32025e=this[_0x23f53d(0x1de)](_0x13e754);return _0x32025e[_0x23f53d(0x1da)]({'role':_0x23f53d(0x1db)}),_0x32025e;});const _0x2922d7=_0x43d94c[_0x579033(0x1b4)][_0x579033(0x1ee)](_0x15d84c),_0x1604a9=_0x43d94c[_0x579033(0x1b4)][_0x579033(0x1ee)](_0x579033(0x1e7)),_0x13a4bc=_0x43d94c[_0x579033(0x1b4)][_0x579033(0x1ee)](_0x579033(0x1c9));_0x2922d7[_0x579033(0x1ba)][_0x579033(0x1b7)](_0x5928f2=>{const _0x4ebc38=_0x579033;this[_0x4ebc38(0x1df)](_0x5928f2);}),this[_0x579033(0x1d3)](_0x2922d7[_0x579033(0x1ba)],_0x579033(0x1b0),(_0x1e9205,_0x39a840)=>{const _0x266089=_0x579033;this[_0x266089(0x1df)](_0x39a840);}),this[_0x579033(0x1d3)](_0x1604a9[_0x579033(0x1ea)],_0x579033(0x1b0),(_0x1a35ac,_0x15229b)=>{const _0x569782=_0x579033,_0x59d087=this[_0x569782(0x1dd)][_0x569782(0x1b3)](_0x179cc9=>{const _0x26fd27=_0x569782,_0x249901=_0x13a4bc[_0x26fd27(0x1c8)][_0x26fd27(0x1ee)](_0x179cc9);return _0x249901&&_0x15229b[_0x26fd27(0x1c2)]===_0x249901[_0x26fd27(0x1bc)];});if(_0x59d087){const _0x5acc91=this[_0x569782(0x1ae)](_0x59d087[_0x569782(0x1cc)]);this[_0x569782(0x1d5)](_0x15229b,_0x5acc91),this[_0x569782(0x1dd)][_0x569782(0x1a8)](this[_0x569782(0x1dd)][_0x569782(0x1b2)](_0x59d087),0x1);}}),this[_0x579033(0x1d3)](_0x2922d7[_0x579033(0x1ba)],_0x579033(0x1d8),(_0x1cf492,_0x1054ee)=>{const _0x3a723f=_0x579033,_0x2d8ff3=_0x43d94c[_0x3a723f(0x1cb)][_0x3a723f(0x1ee)](_0x3a723f(0x1ad));if(!_0x2d8ff3||_0x1054ee[_0x3a723f(0x1b9)]===_0x2d8ff3){if(this[_0x3a723f(0x1dd)][_0x3a723f(0x1dc)](_0x1054ee))this[_0x3a723f(0x1dd)][_0x3a723f(0x1a8)](this[_0x3a723f(0x1dd)][_0x3a723f(0x1b2)](_0x1054ee),0x1);else{const _0x5a7d8f=_0x13a4bc[_0x3a723f(0x1c8)][_0x3a723f(0x1ee)](_0x1054ee),_0x107a15=_0x1604a9[_0x3a723f(0x1d1)](_0x5a7d8f[_0x3a723f(0x1bc)]);this[_0x3a723f(0x1ed)][_0x3a723f(0x1d8)](_0x107a15[_0x3a723f(0x1bc)]),this[_0x3a723f(0x1a7)](_0x107a15),this[_0x3a723f(0x1a7)](_0x107a15[_0x3a723f(0x1ce)]);}}}),this[_0x579033(0x1d3)](_0x1604a9[_0x579033(0x1ea)],_0x579033(0x1b0),(_0x576e3b,_0x38318c)=>{const _0x471472=_0x579033;this[_0x471472(0x1d3)](_0x38318c,_0x471472(0x1e3),_0x3cc6b2);}),this[_0x579033(0x1d3)](_0x1604a9[_0x579033(0x1ea)],_0x579033(0x1d8),(_0x5aaf61,_0xa82694)=>{const _0x5d1b82=_0x579033;this[_0x5d1b82(0x1a7)](_0xa82694,_0x5d1b82(0x1e3),_0x3cc6b2);});}[_0x5402be(0x1d5)](_0x204d33,_0xd91e58){const _0x2f79db=_0x5402be;this[_0x2f79db(0x1d3)](_0x204d33,_0x2f79db(0x1ca),_0x2504b0=>{const _0x19dde0=_0x2f79db;_0x2504b0[_0x19dde0(0x1bb)]=!0x1,_0x2504b0[_0x19dde0(0x1d4)]();}),this[_0x2f79db(0x1ed)][_0x2f79db(0x1b0)](_0x204d33[_0x2f79db(0x1bc)],_0xd91e58);}[_0x5402be(0x1df)](_0x22d8b9){const _0x177714=_0x5402be,_0x1c10a3=this[_0x177714(0x1c5)][_0x177714(0x1b4)][_0x177714(0x1ee)](_0x177714(0x1c9)),_0x44a386=this[_0x177714(0x1c5)][_0x177714(0x1b4)][_0x177714(0x1ee)](_0x177714(0x1e7)),_0x58f47d=this[_0x177714(0x1c5)][_0x177714(0x1cb)][_0x177714(0x1ee)](_0x177714(0x1ad));if(!_0x58f47d||_0x22d8b9[_0x177714(0x1b9)]===_0x58f47d){const _0x4ebc1a=_0x1c10a3[_0x177714(0x1c8)][_0x177714(0x1ee)](_0x22d8b9);if(!_0x4ebc1a)return void this[_0x177714(0x1dd)][_0x177714(0x1c7)](_0x22d8b9);const _0xb15e54=this[_0x177714(0x1ae)](_0x22d8b9[_0x177714(0x1cc)]),_0x352a30=_0x44a386[_0x177714(0x1d1)](_0x4ebc1a[_0x177714(0x1bc)]);_0x352a30[_0x177714(0x1bd)]&&_0x44a386[_0x177714(0x1c6)][_0x177714(0x1d8)](_0x352a30),this[_0x177714(0x1d5)](_0x352a30,_0xb15e54);}}[_0x5402be(0x1ae)](_0x542825){const _0x2c3780=_0x5402be,_0x331e66=this[_0x2c3780(0x1c5)][_0x2c3780(0x1cb)][_0x2c3780(0x1ee)](_0x2c3780(0x1ad)),_0x145dee=[...this[_0x2c3780(0x1c5)][_0x2c3780(0x1b4)][_0x2c3780(0x1ee)](_0x15d84c)[_0x2c3780(0x1ba)]][_0x2c3780(0x1cf)](_0x503a97=>_0x503a97[_0x2c3780(0x1b9)]===_0x331e66)[_0x2c3780(0x1a6)](_0x4f0df1=>_0x4f0df1[_0x2c3780(0x1cc)]<_0x542825);return _0x145dee<0x0||_0x145dee>this[_0x2c3780(0x1ed)][_0x2c3780(0x1b8)]?this[_0x2c3780(0x1ed)][_0x2c3780(0x1b8)]:_0x145dee-0x1;}[_0x5402be(0x1e2)](){const _0x56801a=_0x5402be,_0x248636=this[_0x56801a(0x1c5)],_0x20b9cd=_0x248636[_0x56801a(0x1b4)][_0x56801a(0x1ee)](_0x56801a(0x1d9));this[_0x56801a(0x1d7)]||(this[_0x56801a(0x1d7)]=new _0x299649(_0x248636[_0x56801a(0x1d2)],this[_0x56801a(0x1ed)])),_0x56801a(0x1e6)===_0x20b9cd['id']?_0x20b9cd[_0x56801a(0x1d0)]():_0x20b9cd[_0x56801a(0x1a5)]({'id':_0x56801a(0x1e6),'title':_0x80cce6(_0x248636[_0x56801a(0x1d2)],_0x56801a(0x1e4)),'icon':_0x4810f1,'hasCloseButton':!0x0,'content':this[_0x56801a(0x1d7)],'position':_0x3c1fea[_0x56801a(0x1a9)]});}[_0x5402be(0x1de)](_0x1e23ae,_0x4f7ee5=!0x1){const _0x38f335=_0x5402be,_0x390fe6=this[_0x38f335(0x1c5)][_0x38f335(0x1d2)],_0x5cf3bc=this[_0x38f335(0x1c5)][_0x38f335(0x1b4)][_0x38f335(0x1ee)](_0x38f335(0x1d9)),_0x2654cc=new _0x1e23ae(_0x390fe6);return _0x2654cc[_0x38f335(0x1eb)](_0x38f335(0x1b5))['to'](this,_0x38f335(0x1b5)),_0x2654cc[_0x38f335(0x1eb)](_0x38f335(0x1ef))['to'](_0x5cf3bc,'id',_0x1cedce=>_0x38f335(0x1e6)===_0x1cedce),_0x2654cc[_0x38f335(0x1da)]({'label':_0x80cce6(_0x390fe6,_0x38f335(0x1e4)),'icon':_0x4810f1,'isToggleable':!0x0}),_0x4f7ee5&&(_0x2654cc[_0x38f335(0x1c0)]=!0x0),this[_0x38f335(0x1d3)](_0x2654cc,_0x38f335(0x1e0),()=>this[_0x38f335(0x1e2)]()),_0x2654cc;}[_0x5402be(0x1e9)]=_0x2c6969=>{const _0x7cd43b=_0x5402be,_0x2fd82f=_0x2c6969[_0x7cd43b(0x1c1)];if(!this[_0x7cd43b(0x1ed)][_0x7cd43b(0x1a2)](_0x2fd82f[_0x7cd43b(0x1bc)]))return;const _0x28b9ba=this[_0x7cd43b(0x1c5)][_0x7cd43b(0x1b4)][_0x7cd43b(0x1ee)](_0x7cd43b(0x1d9));_0x28b9ba[_0x7cd43b(0x1b1)]&&_0x7cd43b(0x1e6)===_0x28b9ba['id']&&(_0x28b9ba[_0x7cd43b(0x1d0)](),_0x2c6969[_0x7cd43b(0x1d4)]());};}
|