@ckeditor/ckeditor5-comments 47.2.0-alpha.1 → 47.2.0-alpha.3
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 _0x567710=_0x2b43;(function(_0x4a8b45,_0x5d2cca){const _0xf8c9e=_0x2b43,_0x22bdde=_0x4a8b45();while(!![]){try{const _0x4401de=-parseInt(_0xf8c9e(0xc0))/0x1*(-parseInt(_0xf8c9e(0xde))/0x2)+-parseInt(_0xf8c9e(0xe4))/0x3*(-parseInt(_0xf8c9e(0xbc))/0x4)+-parseInt(_0xf8c9e(0xda))/0x5*(-parseInt(_0xf8c9e(0x104))/0x6)+parseInt(_0xf8c9e(0xc8))/0x7*(-parseInt(_0xf8c9e(0x105))/0x8)+parseInt(_0xf8c9e(0xdd))/0x9+-parseInt(_0xf8c9e(0xb2))/0xa*(parseInt(_0xf8c9e(0xc1))/0xb)+parseInt(_0xf8c9e(0xc7))/0xc*(-parseInt(_0xf8c9e(0x101))/0xd);if(_0x4401de===_0x5d2cca)break;else _0x22bdde['push'](_0x22bdde['shift']());}catch(_0x1bde10){_0x22bdde['push'](_0x22bdde['shift']());}}}(_0x3cd1,0x6045b));import{ContextPlugin as _0x3abdee}from'ckeditor5/src/core.js';import{Rect as _0x11db08,CKEditorError as _0xf33466}from'ckeditor5/src/utils.js';function _0x3cd1(){const _0x52f6da=['get','_attachToContainer','_detachFromContainer','_activeAnnotation','max','minHeight','4bLhvkh','init','targetRect','sidebar-setcontainer-invalid-element','12991YamaYX','382701fcVwOz','change:bottom','_annotationToSidebarItemView','push','change:top','_sidebarItemViewToAnnotation','864CPfHcN','189oqYvoi','target','_createSidebarView','_getItemBefore','_recalculateBuffer','change:targetRect','_getMaxAvailableTop','unbind','locale','_alignForBottomChange','content','stopListening','_getTargetTop','listenTo','_targetTop','sidebar.preventScrollOutOfView','isAnimationDisabled','Sidebar','3135TsuTfN','_alignAfterItem','_updateLastItem','166914roShZC','20XhuAnN','class','last','appendChild','length','bind','1009893RrdXBy','context','_spaceBetweenItems','addAnnotation','_alignForTopChange','updateHeight','remove','_setItemTop','height','isOfficialPlugin','_recalculate','setContainer','isActive','set','change:_lastItem','render','destroy','config','_lastItem','add','_getItemAfter','sidebar-attachtocontainer-missing-container','pluginName','object','_destroySidebarItemView','refresh','_alignBeforeItem','sidebar.container','top','5408iIAnkW','delete','nodeType','2256zTOFJM','77560ODrsbZ','container','_annotations','isPremiumPlugin','define','element','getSidebarItemView','view','list','clear','rearrange','10UMOLzC','getIndex','bottom','_alignToTargetRect'];_0x3cd1=function(){return _0x52f6da;};return _0x3cd1();}import{AnnotationsSidebarView as _0x46a8d3}from'./view/sidebarview.js';function _0x2b43(_0x9c2939,_0x33747d){const _0x3cd145=_0x3cd1();return _0x2b43=function(_0x2b43bc,_0x4a7f69){_0x2b43bc=_0x2b43bc-0xaf;let _0xe8a897=_0x3cd145[_0x2b43bc];return _0xe8a897;},_0x2b43(_0x9c2939,_0x33747d);}import{AnnotationsSidebarItemView as _0x572bcc}from'./view/sidebaritemview.js';export class Sidebar extends _0x3abdee{[_0x567710(0x10c)];[_0x567710(0xb9)];[_0x567710(0x107)];[_0x567710(0xe6)];[_0x567710(0xc6)];[_0x567710(0xc3)];[_0x567710(0xcc)];static get[_0x567710(0xfa)](){const _0x2d7909=_0x567710;return _0x2d7909(0xd9);}static get[_0x567710(0xed)](){return!0x0;}static get[_0x567710(0x108)](){return!0x0;}constructor(_0x3f8eb9){const _0x38eb7b=_0x567710;super(_0x3f8eb9),this[_0x38eb7b(0xf1)](_0x38eb7b(0xf6),void 0x0),this[_0x38eb7b(0x10c)]=this[_0x38eb7b(0xca)](),this[_0x38eb7b(0xf1)](_0x38eb7b(0x106),null),this[_0x38eb7b(0xe6)]=0x19,this[_0x38eb7b(0xc6)]=new Map(),this[_0x38eb7b(0xc3)]=new Map(),this[_0x38eb7b(0xe5)][_0x38eb7b(0xf5)][_0x38eb7b(0x109)](_0x38eb7b(0xd7),!0x1),this[_0x38eb7b(0x107)]=null,this[_0x38eb7b(0xb9)]=null,this[_0x38eb7b(0xcc)]=[];}[_0x567710(0xbd)](){const _0x1f2af3=_0x567710,_0x1d37d9=this[_0x1f2af3(0xe5)][_0x1f2af3(0xf5)][_0x1f2af3(0xb6)](_0x1f2af3(0xff));_0x1d37d9&&this[_0x1f2af3(0xef)](_0x1d37d9);}[_0x567710(0xef)](_0x353a4c){const _0x5e32ac=_0x567710;if(!g(_0x353a4c))throw new _0xf33466(_0x5e32ac(0xbf));this[_0x5e32ac(0x106)]=_0x353a4c;}[_0x567710(0xb7)]({viewClass:_0x3c98b5='',spaceBetweenItems:_0xd832f3=0x19}={}){const _0x43cc03=_0x567710;if(!g(this[_0x43cc03(0x106)]))throw new _0xf33466(_0x43cc03(0xf9),this);this[_0x43cc03(0x106)][_0x43cc03(0xe1)](this[_0x43cc03(0x10c)][_0x43cc03(0x10a)]),this[_0x43cc03(0x10c)][_0x43cc03(0xdf)]=_0x3c98b5,this[_0x43cc03(0xe6)]=_0xd832f3;}[_0x567710(0xb1)]({removedAnnotation:_0x4c5027,previousAnnotation:_0x510af8,nextAnnotation:_0x139e07}){const _0x283240=_0x567710,_0x2a2ccb=this[_0x283240(0x10b)](_0x4c5027);this[_0x283240(0x10c)][_0x283240(0xaf)][_0x283240(0xea)](_0x2a2ccb),this[_0x283240(0xfc)](_0x4c5027),_0x510af8&&this[_0x283240(0xb5)](this[_0x283240(0x10b)](_0x510af8)),_0x139e07&&this[_0x283240(0xb5)](this[_0x283240(0x10b)](_0x139e07)),this[_0x283240(0xdc)]();}[_0x567710(0xfd)]({blurredAnnotation:_0x19f7ca,activatedAnnotation:_0x25cd2,disableAnimationOnActivatedAnnotation:_0x50c7c6}){const _0x5379a6=_0x567710;if(this[_0x5379a6(0xb9)]=_0x25cd2,_0x19f7ca){_0x19f7ca[_0x5379a6(0xf0)]=!0x1;const _0x12995c=this[_0x5379a6(0x10b)](_0x19f7ca);_0x12995c&&_0x50c7c6&&(_0x12995c[_0x5379a6(0xd8)]=!0x1);}if(_0x25cd2){const _0x261173=this[_0x5379a6(0x10b)](_0x25cd2);_0x261173&&(_0x25cd2[_0x5379a6(0xf0)]=!0x0,_0x50c7c6&&(_0x261173[_0x5379a6(0xd8)]=!0x0,_0x261173[_0x5379a6(0x100)]+=0x1),this[_0x5379a6(0xb5)](_0x261173));}}[_0x567710(0xb8)](_0x2db9d1){const _0x4b15e9=_0x567710;if(this[_0x4b15e9(0x10c)][_0x4b15e9(0x10a)][_0x4b15e9(0xea)](),_0x2db9d1){for(const _0x46c994 of _0x2db9d1)this[_0x4b15e9(0xfc)](_0x46c994);}this[_0x4b15e9(0x10c)][_0x4b15e9(0xaf)][_0x4b15e9(0xb0)](),this[_0x4b15e9(0x10c)][_0x4b15e9(0xdf)]='',this[_0x4b15e9(0xf6)]=null;}[_0x567710(0xe7)](_0x4bf537,_0x2fb212){const _0x42080c=_0x567710;_0x2fb212||(_0x2fb212=_0x4bf537[_0x42080c(0x10c)]);const _0x2f88ba=new _0x572bcc(this[_0x42080c(0xe5)][_0x42080c(0xd0)]);this[_0x42080c(0xc6)][_0x42080c(0xf1)](_0x2f88ba,_0x4bf537),this[_0x42080c(0xc3)][_0x42080c(0xf1)](_0x4bf537,_0x2f88ba),_0x2f88ba[_0x42080c(0xd2)][_0x42080c(0xf7)](_0x2fb212),this[_0x42080c(0xd5)](_0x4bf537[_0x42080c(0x10c)],_0x42080c(0xcd),(_0x3db007,_0x290d57,_0x385951)=>{const _0x38e188=_0x42080c,_0x1bd3d0=this[_0x38e188(0xd4)](_0x4bf537,_0x385951);_0x2f88ba[_0x38e188(0xd6)]!=_0x1bd3d0&&(_0x2f88ba[_0x38e188(0xd6)]=_0x1bd3d0,this[_0x38e188(0xeb)](_0x2f88ba,_0x1bd3d0));}),this[_0x42080c(0xd5)](_0x2f88ba,_0x42080c(0xc5),()=>{const _0x2d3b0b=_0x42080c;this[_0x2d3b0b(0xee)](_0x2f88ba,_0x2d3b0b(0x100));}),this[_0x42080c(0xd5)](_0x2f88ba,_0x42080c(0xc2),()=>{const _0x2ce7c1=_0x42080c;this[_0x2ce7c1(0xee)](_0x2f88ba,_0x2ce7c1(0xb4));}),this[_0x42080c(0xb5)](_0x2f88ba);const _0x457233=this[_0x42080c(0xcb)](_0x2f88ba);if(_0x457233)this[_0x42080c(0xdb)](_0x457233,_0x2f88ba)||this[_0x42080c(0xb5)](_0x2f88ba);else this[_0x42080c(0xb5)](_0x2f88ba);return this[_0x42080c(0xdc)](),this[_0x42080c(0x10c)][_0x42080c(0xaf)][_0x42080c(0xf7)](_0x2f88ba),_0x2f88ba;}[_0x567710(0xe8)](_0x10d74a){const _0x3cb188=_0x567710;if(!_0x10d74a[_0x3cb188(0xd2)][_0x3cb188(0xe2)])return;const _0x263845=this[_0x3cb188(0xcb)](_0x10d74a);if(!_0x263845)return;const _0x13066c=this[_0x3cb188(0xc6)][_0x3cb188(0xb6)](_0x263845),_0xde2880=this[_0x3cb188(0xb9)];_0xde2880&&_0xde2880===_0x13066c?this[_0x3cb188(0xdb)](_0x263845,_0x10d74a):this[_0x3cb188(0xfe)](_0x10d74a,_0x263845);}[_0x567710(0xd1)](_0x1f55ca){const _0x474473=_0x567710;if(!_0x1f55ca[_0x474473(0xd2)][_0x474473(0xe2)])return;const _0x3f4007=this[_0x474473(0xf8)](_0x1f55ca);if(!_0x3f4007)return;const _0x4f0c33=this[_0x474473(0xc6)][_0x474473(0xb6)](_0x3f4007),_0x23bb76=this[_0x474473(0xe5)][_0x474473(0xf5)][_0x474473(0xb6)](_0x474473(0xd7)),_0xbc52de=this[_0x474473(0xb9)];_0xbc52de&&_0xbc52de===_0x4f0c33&&_0x23bb76?(this[_0x474473(0xfe)](_0x3f4007,_0x1f55ca),this[_0x474473(0xdb)](_0x1f55ca,_0x3f4007)):_0xbc52de&&_0xbc52de===_0x4f0c33?this[_0x474473(0xfe)](_0x3f4007,_0x1f55ca):this[_0x474473(0xdb)](_0x1f55ca,_0x3f4007);}[_0x567710(0xee)](_0x1776d3,_0x32ab1f){const _0x341410=_0x567710;0x0===this[_0x341410(0xcc)][_0x341410(0xe2)]&&setTimeout(()=>{const _0x198303=_0x341410;for(const {sidebarItemView:_0x340215,changedProp:_0x1cfd19}of this[_0x198303(0xcc)])_0x198303(0x100)===_0x1cfd19?this[_0x198303(0xe8)](_0x340215):this[_0x198303(0xd1)](_0x340215);this[_0x198303(0xcc)]=[];},0xa),this[_0x341410(0xcc)][_0x341410(0xc4)]({'sidebarItemView':_0x1776d3,'changedProp':_0x32ab1f});}[_0x567710(0x10b)](_0x252539){const _0x333dbc=_0x567710;return this[_0x333dbc(0xc3)][_0x333dbc(0xb6)](_0x252539);}[_0x567710(0xf4)](){const _0x3b6246=_0x567710;this[_0x3b6246(0xd3)](),this[_0x3b6246(0x10c)][_0x3b6246(0xf4)]();}[_0x567710(0xfc)](_0x34325b){const _0x33a0a7=_0x567710,_0x3d58d3=this[_0x33a0a7(0x10b)](_0x34325b);this[_0x33a0a7(0xd3)](_0x3d58d3),this[_0x33a0a7(0xd3)](_0x34325b[_0x33a0a7(0x10c)]),_0x3d58d3[_0x33a0a7(0xf4)](),this[_0x33a0a7(0xc3)][_0x33a0a7(0x102)](_0x34325b),this[_0x33a0a7(0xc6)][_0x33a0a7(0x102)](_0x3d58d3);}[_0x567710(0xca)](){const _0x1e6a0f=_0x567710,_0x1f173a=new _0x46a8d3(this[_0x1e6a0f(0xe5)][_0x1e6a0f(0xd0)]);return _0x1f173a[_0x1e6a0f(0xf3)](),this['on'](_0x1e6a0f(0xf2),(_0x25a3c5,_0xd86f54,_0x22fda9,_0x7679f8)=>{const _0x5afe32=_0x1e6a0f;_0x7679f8&&_0x1f173a[_0x5afe32(0xcf)](_0x5afe32(0xbb)),_0x22fda9?_0x1f173a[_0x5afe32(0xe3)](_0x5afe32(0xbb))['to'](_0x22fda9,_0x5afe32(0xb4)):_0x1f173a[_0x5afe32(0xbb)]=null;}),_0x1f173a;}[_0x567710(0xdc)](){const _0x33b99e=_0x567710;this[_0x33b99e(0xf6)]=this[_0x33b99e(0x107)]?.[_0x33b99e(0xe0)]?this[_0x33b99e(0x10b)](this[_0x33b99e(0x107)][_0x33b99e(0xe0)]):null;}[_0x567710(0xcb)](_0x49fb9){const _0x3fee83=_0x567710,_0x4a1f08=this[_0x3fee83(0xc6)][_0x3fee83(0xb6)](_0x49fb9),_0xdc4239=_0x4a1f08&&this[_0x3fee83(0x107)]?.[_0x3fee83(0xb6)](this[_0x3fee83(0x107)][_0x3fee83(0xb3)](_0x4a1f08)-0x1);return _0xdc4239&&this[_0x3fee83(0x10b)](_0xdc4239)||null;}[_0x567710(0xf8)](_0x2692d5){const _0x296d8a=_0x567710,_0x14c597=this[_0x296d8a(0xc6)][_0x296d8a(0xb6)](_0x2692d5),_0x574dd9=_0x14c597&&this[_0x296d8a(0x107)]?.[_0x296d8a(0xb6)](this[_0x296d8a(0x107)][_0x296d8a(0xb3)](_0x14c597)+0x1);return _0x574dd9&&this[_0x296d8a(0x10b)](_0x574dd9)||null;}[_0x567710(0xfe)](_0xa219ec,_0x55531c){const _0x1b8579=_0x567710;_0xa219ec[_0x1b8579(0xe9)]();const _0x43bcfa=G(_0x55531c[_0x1b8579(0xb4)]+this[_0x1b8579(0xe6)],_0xa219ec[_0x1b8579(0x100)]);return!!_0x43bcfa&&(this[_0x1b8579(0xeb)](_0x55531c,_0x55531c[_0x1b8579(0x100)]-_0x43bcfa),!0x0);}[_0x567710(0xdb)](_0x14a026,_0x96a11e){const _0x3918a6=_0x567710;_0x14a026[_0x3918a6(0xe9)]();const _0x30318c=G(_0x14a026[_0x3918a6(0xb4)]+this[_0x3918a6(0xe6)],_0x96a11e[_0x3918a6(0x100)]);return!!_0x30318c&&(this[_0x3918a6(0xeb)](_0x96a11e,_0x96a11e[_0x3918a6(0x100)]+_0x30318c,!0x1),!0x0);}[_0x567710(0xb5)](_0x187a78){const _0x34de47=_0x567710,_0x3774a3=this[_0x34de47(0xc6)][_0x34de47(0xb6)](_0x187a78);if(!_0x3774a3||!_0x3774a3[_0x34de47(0xc9)]||!_0x3774a3[_0x34de47(0xbe)])return;const _0x4a027e=this[_0x34de47(0xd4)](_0x3774a3,_0x3774a3[_0x34de47(0xbe)]);this[_0x34de47(0xeb)](_0x187a78,_0x4a027e);}[_0x567710(0xd4)](_0x61812f,_0x398ab4){const _0x2a0cc9=_0x567710;if(null===_0x398ab4)return 0x0;if(_0x61812f[_0x2a0cc9(0xc9)]instanceof _0x11db08)return _0x398ab4[_0x2a0cc9(0x100)];{const _0x4145d6=new _0x11db08(this[_0x2a0cc9(0x10c)][_0x2a0cc9(0x10a)])[_0x2a0cc9(0x100)];return _0x398ab4[_0x2a0cc9(0x100)]-_0x4145d6;}}[_0x567710(0xeb)](_0x317c4f,_0x81a8a3,_0x3c35fb=this[_0x567710(0xe5)][_0x567710(0xf5)][_0x567710(0xb6)](_0x567710(0xd7))){const _0xc5dcf2=_0x567710;_0x3c35fb&&(_0x81a8a3=Math[_0xc5dcf2(0xba)](_0x81a8a3,this[_0xc5dcf2(0xce)](_0x317c4f))),_0x317c4f[_0xc5dcf2(0x100)]=_0x81a8a3;}[_0x567710(0xce)](_0x188bde){const _0x58c983=_0x567710;let _0x17788b=this[_0x58c983(0xcb)](_0x188bde),_0x564837=0x0;for(;_0x17788b;)_0x17788b[_0x58c983(0xe9)](),_0x564837+=this[_0x58c983(0xe6)]+_0x17788b[_0x58c983(0xec)],_0x17788b=this[_0x58c983(0xcb)](_0x17788b);return _0x564837;}}function G(_0xae0c24,_0x2c9add){const _0x31e144=_0x567710;return Math[_0x31e144(0xba)](_0xae0c24-_0x2c9add,0x0);}function g(_0x46fca3){const _0x273414=_0x567710;return null!==_0x46fca3&&_0x273414(0xfb)==typeof _0x46fca3&&0x1===_0x46fca3[_0x273414(0x103)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a68df=_0x5099;(function(_0xd15fcb,_0x575ffa){const _0x52385a=_0x5099,_0x51b372=_0xd15fcb();while(!![]){try{const _0x1c5db0=parseInt(_0x52385a(0x154))/0x1+parseInt(_0x52385a(0x14e))/0x2+parseInt(_0x52385a(0x161))/0x3*(parseInt(_0x52385a(0x155))/0x4)+parseInt(_0x52385a(0x159))/0x5+parseInt(_0x52385a(0x157))/0x6+parseInt(_0x52385a(0x15e))/0x7+parseInt(_0x52385a(0x158))/0x8*(-parseInt(_0x52385a(0x15c))/0x9);if(_0x1c5db0===_0x575ffa)break;else _0x51b372['push'](_0x51b372['shift']());}catch(_0x3c21e2){_0x51b372['push'](_0x51b372['shift']());}}}(_0x459f,0x72476));function _0x5099(_0x27e616,_0x29141a){const _0x459f0c=_0x459f();return _0x5099=function(_0x5099bf,_0x5c6cb0){_0x5099bf=_0x5099bf-0x14a;let _0x1feed6=_0x459f0c[_0x5099bf];return _0x1feed6;},_0x5099(_0x27e616,_0x29141a);}import{ButtonView as _0x3262dd,View as _0x56b718}from'ckeditor5/src/ui.js';function _0x459f(){const _0x4f836a=['span','toString','isDirty','1033532iinvFG','...','bindTemplate','ck-annotation-counter__badge--','ck-annotation-counter__badge','ck-annotation-counter','727141ZQvBuu','4onatBU','extendTemplate','953538ewBjDt','15671600eWlXTu','497230oamYzM','ck-annotation-counter__badge--edit-mode','counterView','9GaIqIg','number','3005261biYlar','annotationType','icon','1486311BXkhDo','children','_badge','add','set','setTemplate','bind'];_0x459f=function(){return _0x4f836a;};return _0x459f();}import{IconAddComment as _0x3ef845}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x3262dd{[_0x2a68df(0x15b)];constructor(_0x3759f2){const _0x2b2f2c=_0x2a68df;super(_0x3759f2);const _0x4092f2=this[_0x2b2f2c(0x150)];this[_0x2b2f2c(0x165)](_0x2b2f2c(0x14d),!0x1),this[_0x2b2f2c(0x165)](_0x2b2f2c(0x15d),0x0),this[_0x2b2f2c(0x14a)](_0x2b2f2c(0x163))['to'](this,_0x2b2f2c(0x14d),this,_0x2b2f2c(0x15d),(_0x3ce0db,_0xa4ae46)=>_0x3ce0db?_0x2b2f2c(0x14f):_0xa4ae46[_0x2b2f2c(0x14c)]()),this[_0x2b2f2c(0x165)](_0x2b2f2c(0x15f),''),this[_0x2b2f2c(0x160)]=_0x3ef845,this[_0x2b2f2c(0x156)]({'attributes':{'class':[_0x2b2f2c(0x153)]}}),this[_0x2b2f2c(0x15b)]=new _0x56b718(),this[_0x2b2f2c(0x15b)][_0x2b2f2c(0x166)]({'tag':_0x2b2f2c(0x14b),'attributes':{'class':[_0x2b2f2c(0x152),_0x4092f2['to'](_0x2b2f2c(0x15f),_0x4c2c5f=>_0x2b2f2c(0x151)+_0x4c2c5f),_0x4092f2['if'](_0x2b2f2c(0x14d),_0x2b2f2c(0x15a))]},'children':[{'text':_0x4092f2['to'](_0x2b2f2c(0x163))}]}),this[_0x2b2f2c(0x162)][_0x2b2f2c(0x164)](this[_0x2b2f2c(0x15b)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x421d66=_0xc50a;(function(_0x3f05db,_0x3b0b2d){const _0x109d93=_0xc50a,_0x1a748a=_0x3f05db();while(!![]){try{const _0x430b40=-parseInt(_0x109d93(0x1c7))/0x1*(parseInt(_0x109d93(0x1ce))/0x2)+parseInt(_0x109d93(0x1df))/0x3*(-parseInt(_0x109d93(0x1c2))/0x4)+-parseInt(_0x109d93(0x1e6))/0x5*(parseInt(_0x109d93(0x1d5))/0x6)+-parseInt(_0x109d93(0x1c9))/0x7*(parseInt(_0x109d93(0x1e3))/0x8)+-parseInt(_0x109d93(0x1d0))/0x9*(parseInt(_0x109d93(0x1c3))/0xa)+-parseInt(_0x109d93(0x1d4))/0xb+parseInt(_0x109d93(0x1f1))/0xc;if(_0x430b40===_0x3b0b2d)break;else _0x1a748a['push'](_0x1a748a['shift']());}catch(_0x5142ec){_0x1a748a['push'](_0x1a748a['shift']());}}}(_0x569e,0x7c3c3));import{View as _0x364b5b}from'ckeditor5/src/ui.js';function _0xc50a(_0x218cdb,_0xb54bcc){const _0x569ee2=_0x569e();return _0xc50a=function(_0xc50ad0,_0x306de1){_0xc50ad0=_0xc50ad0-0x1c1;let _0x57569b=_0x569ee2[_0xc50ad0];return _0x57569b;},_0xc50a(_0x218cdb,_0xb54bcc);}import{FocusTracker as _0x5d5d0f,KeystrokeHandler as _0x5ebd01,uid as _0x2d50db}from'ckeditor5/src/utils.js';function _0x569e(){const _0x14db46=['div','arrowup','focus','7003491zpCCDq','36vWbPaK','length','element','targetRect','clientHeight','destroy','isDirty','fire','attach','add','70779TDVJbx','setTemplate','_updateHeight','render','125944wMPAnf','focusTracker','ck-rounded-corners','719735ktDJxX','ck-annotation-wrapper--active','bindTemplate','Esc','isActive','arrowdown','first','keystrokes','createCollection','content','mainView','49696608zKDerA','set','84LNaIPB','1511090cLMqRs','presentation','delegate','height','84921FyymyV','type','434VjLIih','listenTo','detach','clear','ck-annotation-wrapper','12RXQPRw','_mutationObserver','9ifHfaX'];_0x569e=function(){return _0x14db46;};return _0x569e();}import{createMutationObserver as _0x1d5eac}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x364b5b{[_0x421d66(0x1e4)];['id'];[_0x421d66(0x1ed)];[_0x421d66(0x1ef)];[_0x421d66(0x1f0)];[_0x421d66(0x1cf)];constructor(_0x54d208,_0x5b416d){const _0x9cb38=_0x421d66;super(_0x54d208),this['id']=_0x2d50db(),this[_0x9cb38(0x1e4)]=new _0x5d5d0f(),this[_0x9cb38(0x1ed)]=new _0x5ebd01(),this[_0x9cb38(0x1ed)][_0x9cb38(0x1c1)](_0x9cb38(0x1e9),(_0x2d1868,_0xa95b01)=>this[_0x9cb38(0x1dc)](_0x9cb38(0x1e9),_0xa95b01)),this[_0x9cb38(0x1c1)](_0x9cb38(0x1d8),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x9cb38(0x1c1)](_0x9cb38(0x1c6),0x0),this[_0x9cb38(0x1c1)](_0x9cb38(0x1ea),!0x1),this[_0x9cb38(0x1c1)](_0x9cb38(0x1db),!0x1),this[_0x9cb38(0x1c1)](_0x9cb38(0x1d6),0x0),this[_0x9cb38(0x1c1)](_0x9cb38(0x1c8),''),this[_0x9cb38(0x1cf)]=_0x1d5eac(()=>this[_0x9cb38(0x1e1)]()),this[_0x9cb38(0x1ef)]=this[_0x9cb38(0x1ee)](),this[_0x9cb38(0x1ef)][_0x9cb38(0x1c5)](_0x9cb38(0x1d2),_0x9cb38(0x1eb))['to'](this),this[_0x9cb38(0x1ef)][_0x9cb38(0x1de)](_0x5b416d),this[_0x9cb38(0x1f0)]=_0x5b416d;const _0x518774=this[_0x9cb38(0x1e8)];this[_0x9cb38(0x1e0)]({'tag':_0x9cb38(0x1d1),'attributes':{'class':['ck',_0x9cb38(0x1cd),_0x9cb38(0x1e5),_0x518774['if'](_0x9cb38(0x1ea),_0x9cb38(0x1e7))],'role':_0x9cb38(0x1c4)},'children':this[_0x9cb38(0x1ef)]});}[_0x421d66(0x1e2)](){const _0x5158b9=_0x421d66;super[_0x5158b9(0x1e2)](),this[_0x5158b9(0x1e4)][_0x5158b9(0x1de)](this[_0x5158b9(0x1d7)]),this[_0x5158b9(0x1ed)][_0x5158b9(0x1ca)](this[_0x5158b9(0x1d7)]),this[_0x5158b9(0x1cf)][_0x5158b9(0x1dd)](this[_0x5158b9(0x1d7)]);}[_0x421d66(0x1da)](){const _0x17da97=_0x421d66;this[_0x17da97(0x1ef)][_0x17da97(0x1cc)](),this[_0x17da97(0x1ed)][_0x17da97(0x1da)](),this[_0x17da97(0x1e4)][_0x17da97(0x1da)](),this[_0x17da97(0x1cf)][_0x17da97(0x1cb)](),super[_0x17da97(0x1da)]();}[_0x421d66(0x1d3)](){const _0x21a37f=_0x421d66;this[_0x21a37f(0x1ef)][_0x21a37f(0x1ec)]&&this[_0x21a37f(0x1ef)][_0x21a37f(0x1ec)][_0x21a37f(0x1d3)]();}[_0x421d66(0x1e1)](){const _0x27dc57=_0x421d66,_0x1e04b3=this[_0x27dc57(0x1d7)][_0x27dc57(0x1d9)];_0x1e04b3&&(this[_0x27dc57(0x1c6)]=_0x1e04b3);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x5b3b(){const _0x201b47=['top','destroy','885479FcqNMd','render','height','807072LjZaql','86607pwznXW','bottom','51018bcUyXj','presentation','ck-sidebar-item--no-animation','updateHeight','270lLPVaZ','focus','1501234dnuuEK','clear','first','40sNqcWW','set','bind','setTemplate','delegate','createCollection','ck-sidebar-item','355YiNAPr','arrowup','bindTemplate','arrowdown','isAnimationDisabled','div','detach','3175416abqNyM','2117808rBlEYm','_mutationObserver','content','_targetTop','element','attach','clientHeight'];_0x5b3b=function(){return _0x201b47;};return _0x5b3b();}function _0x597c(_0x4d1965,_0x58c436){const _0x5b3bd8=_0x5b3b();return _0x597c=function(_0x597cdc,_0x5f2e8b){_0x597cdc=_0x597cdc-0x85;let _0xfd7cd3=_0x5b3bd8[_0x597cdc];return _0xfd7cd3;},_0x597c(_0x4d1965,_0x58c436);}const _0x310f85=_0x597c;(function(_0x555305,_0x2735ef){const _0x4816f0=_0x597c,_0x3362ca=_0x555305();while(!![]){try{const _0x2c4e6b=parseInt(_0x4816f0(0x8a))/0x1+parseInt(_0x4816f0(0xa8))/0x2+parseInt(_0x4816f0(0x8d))/0x3+-parseInt(_0x4816f0(0xa7))/0x4+-parseInt(_0x4816f0(0xa0))/0x5*(-parseInt(_0x4816f0(0x90))/0x6)+-parseInt(_0x4816f0(0x96))/0x7*(parseInt(_0x4816f0(0x99))/0x8)+-parseInt(_0x4816f0(0x8e))/0x9*(parseInt(_0x4816f0(0x94))/0xa);if(_0x2c4e6b===_0x2735ef)break;else _0x3362ca['push'](_0x3362ca['shift']());}catch(_0x9070c){_0x3362ca['push'](_0x3362ca['shift']());}}}(_0x5b3b,0xa8bbf));import{View as _0x143d9a}from'ckeditor5/src/ui.js';import{toUnit as _0x5d0f97}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x4e1d44}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5d0f97('px');export class AnnotationsSidebarItemView extends _0x143d9a{[_0x310f85(0xaa)];[_0x310f85(0xab)];[_0x310f85(0xa9)];constructor(_0x231164){const _0x2feade=_0x310f85;super(_0x231164),this[_0x2feade(0x9a)](_0x2feade(0x88),0x0),this[_0x2feade(0x9a)](_0x2feade(0x8c),0x0),this[_0x2feade(0x9b)](_0x2feade(0x8f))['to'](this,_0x2feade(0x88),this,_0x2feade(0x8c),(_0x2a034f,_0x58e539)=>_0x2a034f+_0x58e539),this[_0x2feade(0x9a)](_0x2feade(0xa4),!0x1),this[_0x2feade(0xa9)]=_0x4e1d44(()=>this[_0x2feade(0x93)]()),this[_0x2feade(0xab)]=null,this[_0x2feade(0xaa)]=this[_0x2feade(0x9e)](),this[_0x2feade(0xaa)][_0x2feade(0x9d)](_0x2feade(0xa1),_0x2feade(0xa3))['to'](this);const _0x51a44b=this[_0x2feade(0xa2)];this[_0x2feade(0x9c)]({'tag':_0x2feade(0xa5),'attributes':{'class':[_0x2feade(0x9f),_0x51a44b['to'](_0x2feade(0xa4),_0x1865ea=>_0x1865ea?_0x2feade(0x92):'')],'style':{'top':_0x51a44b['to'](_0x2feade(0x88),_0x59579a=>Ot(_0x59579a))},'role':_0x2feade(0x91)},'children':this[_0x2feade(0xaa)]});}[_0x310f85(0x8b)](){const _0x4c34e6=_0x310f85;super[_0x4c34e6(0x8b)](),this[_0x4c34e6(0xa9)][_0x4c34e6(0x86)](this[_0x4c34e6(0x85)]);}[_0x310f85(0x95)](){const _0x4b21c6=_0x310f85;this[_0x4b21c6(0xaa)][_0x4b21c6(0x98)]&&this[_0x4b21c6(0xaa)][_0x4b21c6(0x98)][_0x4b21c6(0x95)]();}[_0x310f85(0x93)](){const _0x359344=_0x310f85,_0x3ae9bc=this[_0x359344(0x85)][_0x359344(0x87)];_0x3ae9bc&&(this[_0x359344(0x8c)]=_0x3ae9bc);}[_0x310f85(0x89)](){const _0x319855=_0x310f85;this[_0x319855(0xaa)][_0x319855(0x97)](),this[_0x319855(0xa9)][_0x319855(0xa6)](),super[_0x319855(0x89)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3e3c4c=_0x2988;(function(_0x13f64d,_0x2e0227){const _0x3d5203=_0x2988,_0x5a1985=_0x13f64d();while(!![]){try{const _0xf20866=parseInt(_0x3d5203(0x1a7))/0x1*(parseInt(_0x3d5203(0x1be))/0x2)+parseInt(_0x3d5203(0x1c6))/0x3*(-parseInt(_0x3d5203(0x1ab))/0x4)+-parseInt(_0x3d5203(0x1bb))/0x5*(parseInt(_0x3d5203(0x1d1))/0x6)+parseInt(_0x3d5203(0x1c1))/0x7+-parseInt(_0x3d5203(0x1a8))/0x8+-parseInt(_0x3d5203(0x1b3))/0x9+parseInt(_0x3d5203(0x1bd))/0xa;if(_0xf20866===_0x2e0227)break;else _0x5a1985['push'](_0x5a1985['shift']());}catch(_0x1d2a87){_0x5a1985['push'](_0x5a1985['shift']());}}}(_0x3461,0xdff75));import{View as _0x25fefb,FocusCycler as _0x5d4f49}from'ckeditor5/src/ui.js';function _0x2988(_0x316d1c,_0x46db84){const _0x346100=_0x3461();return _0x2988=function(_0x29883d,_0x7cf352){_0x29883d=_0x29883d-0x1a0;let _0x5b520f=_0x346100[_0x29883d];return _0x5b520f;},_0x2988(_0x316d1c,_0x46db84);}import{FocusTracker as _0x460225,toUnit as _0x32dbd8}from'ckeditor5/src/utils.js';import{getTranslation as _0x4a6cfa}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x32dbd8('px');export class AnnotationsSidebarView extends _0x25fefb{[_0x3e3c4c(0x1b8)];[_0x3e3c4c(0x1a5)];[_0x3e3c4c(0x1ad)];[_0x3e3c4c(0x1b7)];constructor(_0x37aa36){const _0x416f98=_0x3e3c4c;super(_0x37aa36);const _0x27f4ba=this[_0x416f98(0x1c4)];this[_0x416f98(0x1aa)](_0x416f98(0x1c2),0x0),this[_0x416f98(0x1aa)](_0x416f98(0x1a4),''),this[_0x416f98(0x1b8)]=this[_0x416f98(0x1a0)](),this[_0x416f98(0x1a5)]=this[_0x416f98(0x1a0)](),this[_0x416f98(0x1b8)][_0x416f98(0x1cd)](_0x416f98(0x1d2),_0x416f98(0x1cb))['to'](this),this[_0x416f98(0x1ad)]=new _0x460225(),this[_0x416f98(0x1b7)]=new _0x5d4f49({'focusables':this[_0x416f98(0x1a5)],'focusTracker':this[_0x416f98(0x1ad)]}),this[_0x416f98(0x1b9)]({'tag':_0x416f98(0x1c9),'attributes':{'class':['ck',_0x416f98(0x1ca),_0x416f98(0x1c3),_0x27f4ba['to'](_0x416f98(0x1a4))],'style':{'minHeight':_0x27f4ba['to'](_0x416f98(0x1c2),_0x18d01c=>_0x416f98(0x1ce)==typeof _0x18d01c?Ot(_0x18d01c+0xa):null)},'dir':_0x37aa36[_0x416f98(0x1b5)],'role':_0x416f98(0x1a2),'aria-label':_0x4a6cfa(_0x37aa36,_0x416f98(0x1a6)),'tabindex':0x0},'children':[{'tag':_0x416f98(0x1c9),'attributes':{'role':_0x416f98(0x1b8),'aria-label':_0x4a6cfa(_0x37aa36,_0x416f98(0x1c5))},'children':this[_0x416f98(0x1b8)]}]});}[_0x3e3c4c(0x1c8)](){const _0x218aa6=_0x3e3c4c;super[_0x218aa6(0x1c8)](),this[_0x218aa6(0x1bc)]();}[_0x3e3c4c(0x1d0)](){const _0x1c8cc2=_0x3e3c4c;this[_0x1c8cc2(0x1b7)][_0x1c8cc2(0x1b4)]();}[_0x3e3c4c(0x1bc)](){const _0x547adb=_0x3e3c4c;this[_0x547adb(0x1b8)][_0x547adb(0x1cd)](_0x547adb(0x1b1))['to'](this),this['on'](_0x547adb(0x1b1),_0x2ca79f=>{const _0x2dc396=_0x547adb;this[_0x2dc396(0x1b6)](_0x2ca79f[_0x2dc396(0x1ac)]);}),this[_0x547adb(0x1b8)][_0x547adb(0x1b0)](_0x2a37b6=>{const _0x301e81=_0x547adb;this[_0x301e81(0x1ad)][_0x301e81(0x1bf)](_0x2a37b6[_0x301e81(0x1ae)]),this[_0x301e81(0x1b6)](_0x2a37b6);}),this[_0x547adb(0x1b8)]['on'](_0x547adb(0x1a9),(_0x4d1995,_0x20c067)=>{const _0x4feefb=_0x547adb;for(const _0x16d296 of _0x20c067[_0x4feefb(0x1c0)])this[_0x4feefb(0x1ad)][_0x4feefb(0x1a1)](_0x16d296[_0x4feefb(0x1ae)]),this[_0x4feefb(0x1a5)][_0x4feefb(0x1a1)](_0x16d296);for(const _0x12db12 of _0x20c067[_0x4feefb(0x1a3)])this[_0x4feefb(0x1ad)][_0x4feefb(0x1bf)](_0x12db12[_0x4feefb(0x1ae)]),this[_0x4feefb(0x1b6)](_0x12db12);}),this['on'](_0x547adb(0x1d2),()=>{const _0x406830=_0x547adb;this[_0x406830(0x1b7)][_0x406830(0x1cc)]();}),this['on'](_0x547adb(0x1cb),()=>{const _0x1bd07e=_0x547adb;this[_0x1bd07e(0x1b7)][_0x1bd07e(0x1c7)]();}),this[_0x547adb(0x1ba)](this[_0x547adb(0x1ae)],_0x547adb(0x1d0),()=>{const _0x270ea0=_0x547adb;this[_0x270ea0(0x1d0)]();});}[_0x3e3c4c(0x1b6)](_0xfb2122){const _0x3ee931=_0x3e3c4c,_0x179318=this[_0x3ee931(0x1a5)][_0x3ee931(0x1af)](_0xfb2122);let _0x5a7d38,_0x97239;for(const _0x3afe47 of this[_0x3ee931(0x1a5)])if(_0xfb2122[_0x3ee931(0x1cf)]<_0x3afe47[_0x3ee931(0x1cf)]){_0x5a7d38=_0x3afe47;break;}if(_0x97239=_0x5a7d38?this[_0x3ee931(0x1a5)][_0x3ee931(0x1af)](_0x5a7d38):this[_0x3ee931(0x1a5)][_0x3ee931(0x1b2)],-0x1!==_0x179318){if(_0x179318===_0x97239-0x1)return;this[_0x3ee931(0x1a5)][_0x3ee931(0x1a1)](_0xfb2122),_0x97239=_0x5a7d38?this[_0x3ee931(0x1a5)][_0x3ee931(0x1af)](_0x5a7d38):this[_0x3ee931(0x1a5)][_0x3ee931(0x1b2)];}this[_0x3ee931(0x1a5)][_0x3ee931(0x1bf)](_0xfb2122,_0x97239);}}function _0x3461(){const _0x1156d3=['682vzVOLp','12197328qinxtP','change','set','97756wpyGFk','source','focusTracker','element','getIndex','forEach','change:top','length','14851890XPSDbn','focusFirst','uiLanguageDirection','_updateItemPositionInFocusables','focusCycler','list','setTemplate','listenTo','15165uVChDD','_setupKeyboardNavigation','58849980XstIfy','2258MFfDEF','add','removed','1255730XNofiL','minHeight','ck-reset','bindTemplate','Annotations\x20list','213YvAfuP','focusNext','render','div','ck-sidebar','arrowdown','focusPrevious','delegate','number','top','focus','1992ILvRas','arrowup','createCollection','remove','application','added','class','focusables','Annotations\x20sidebar'];_0x3461=function(){return _0x1156d3;};return _0x3461();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d6340=_0x5822;(function(_0x3e85ae,_0x2d3444){const _0x299edc=_0x5822,_0x4768c0=_0x3e85ae();while(!![]){try{const _0x41af83=parseInt(_0x299edc(0xdf))/0x1+-parseInt(_0x299edc(0xd0))/0x2*(-parseInt(_0x299edc(0xb6))/0x3)+-parseInt(_0x299edc(0xe6))/0x4*(-parseInt(_0x299edc(0xc6))/0x5)+-parseInt(_0x299edc(0xcb))/0x6*(-parseInt(_0x299edc(0xe9))/0x7)+parseInt(_0x299edc(0xbe))/0x8+parseInt(_0x299edc(0xcd))/0x9*(-parseInt(_0x299edc(0xd8))/0xa)+-parseInt(_0x299edc(0xe3))/0xb;if(_0x41af83===_0x2d3444)break;else _0x4768c0['push'](_0x4768c0['shift']());}catch(_0x41b5f3){_0x4768c0['push'](_0x4768c0['shift']());}}}(_0x465d,0x1f754));import{ContextPlugin as _0x3202fc,Context as _0x2ab3bf}from'ckeditor5/src/core.js';function _0x5822(_0x1a7ff9,_0x2ca89c){const _0x465dfc=_0x465d();return _0x5822=function(_0x58228f,_0x49a69a){_0x58228f=_0x58228f-0xa2;let _0x98616d=_0x465dfc[_0x58228f];return _0x98616d;},_0x5822(_0x1a7ff9,_0x2ca89c);}import{AnnotationsUIs as _0x85e28e}from'./annotationsuis.js';import{Sidebar as _0x2d468d}from'./sidebar.js';import{CKEditorError as _0x238a9e,Collection as _0xb5faf3}from'ckeditor5/src/utils.js';import{debounce as _0x49f666}from'es-toolkit/compat';export class WideSidebar extends _0x3202fc{[_0x3d6340(0xbd)];[_0x3d6340(0xa2)];[_0x3d6340(0xb3)];[_0x3d6340(0xe8)];static get[_0x3d6340(0xac)](){return[_0x2d468d,_0x85e28e];}static get[_0x3d6340(0xd5)](){const _0x1b81a9=_0x3d6340;return _0x1b81a9(0xbb);}static get[_0x3d6340(0xc1)](){return!0x0;}static get[_0x3d6340(0xcc)](){return!0x0;}constructor(_0x4627ec){const _0x14604d=_0x3d6340;super(_0x4627ec),this[_0x14604d(0xbd)]=!0x1,this[_0x14604d(0xe2)](_0x14604d(0xe1),null),this[_0x14604d(0xa2)]=null,this[_0x14604d(0xb3)]=new _0xb5faf3(),this[_0x14604d(0xe8)]=_0x49f666(()=>{const _0x4b2035=_0x14604d;_0x4627ec[_0x4b2035(0xb7)][_0x4b2035(0xb9)](_0x4b2035(0xc4))[_0x4b2035(0xba)](),this[_0x4b2035(0xa2)][_0x4b2035(0xb8)]();},0xfa,{'leading':!0x1});}[_0x3d6340(0xb4)](){const _0x14cc44=_0x3d6340,_0x2fbdae=this[_0x14cc44(0xd4)][_0x14cc44(0xb7)][_0x14cc44(0xb9)](_0x85e28e),_0x535661=this[_0x14cc44(0xd4)][_0x14cc44(0xb7)][_0x14cc44(0xb9)](_0x2d468d);_0x2fbdae[_0x14cc44(0xd3)](_0x14cc44(0xa3),this),_0x535661[_0x14cc44(0xbc)]&&_0x2fbdae[_0x14cc44(0xbf)](_0x14cc44(0xa3));}[_0x3d6340(0xc2)](_0x4ec34a){const _0xdd6bf7=_0x3d6340;if(_0x4ec34a===this[_0xdd6bf7(0xe1)])return;const _0x26d20c=this[_0xdd6bf7(0xd4)][_0xdd6bf7(0xb7)][_0xdd6bf7(0xb9)](_0x2d468d);_0x26d20c[_0xdd6bf7(0xa8)]=_0x4ec34a;const _0x5a835a=this[_0xdd6bf7(0xe1)];_0x26d20c[_0xdd6bf7(0xea)]({'blurredAnnotation':_0x5a835a,'activatedAnnotation':_0x4ec34a}),this[_0xdd6bf7(0xe1)]=_0x4ec34a;}[_0x3d6340(0xc3)](_0x5eb76b){const _0x51f587=_0x3d6340;this[_0x51f587(0xa2)]=_0x5eb76b;const _0x56d46d=this[_0x51f587(0xd4)][_0x51f587(0xb7)][_0x51f587(0xb9)](_0x2d468d);if(_0x56d46d[_0x51f587(0xdb)]=_0x5eb76b,this[_0x51f587(0xbd)])throw new _0x238a9e(_0x51f587(0xe5),this);this[_0x51f587(0xbd)]=!0x0,this[_0x51f587(0xd7)](_0x56d46d,_0x51f587(0xaa),()=>{const _0x5ed639=_0x51f587;this[_0x5ed639(0xc8)](),this[_0x5ed639(0xd7)](_0x56d46d,_0x5ed639(0xa5),_0x1d0824=>{const _0x570c67=_0x5ed639;_0x1d0824[_0x570c67(0xe7)](),this[_0x570c67(0xc3)](_0x5eb76b);});}),_0x56d46d[_0x51f587(0xcf)]({'viewClass':_0x51f587(0xe4)});const _0x7ba867=_0x80eb62=>{const _0x15a800=_0x51f587;_0x80eb62[_0x15a800(0xde)](),_0x56d46d[_0x15a800(0xe0)](_0x80eb62);};for(const _0x1037eb of _0x5eb76b)_0x7ba867(_0x1037eb);this[_0x51f587(0xd7)](_0x5eb76b,_0x51f587(0xd9),(_0x9344d7,_0x52284b)=>{_0x7ba867(_0x52284b);}),this[_0x51f587(0xd7)](_0x5eb76b,_0x51f587(0xda),(_0x3845a9,_0x1ca4b4,_0x4880eb)=>{const _0x4fcc85=_0x51f587;_0x56d46d[_0x4fcc85(0xa7)]({'removedAnnotation':_0x1ca4b4,'previousAnnotation':_0x5eb76b[_0x4fcc85(0xb9)](_0x4880eb-0x1),'nextAnnotation':_0x5eb76b[_0x4fcc85(0xb9)](_0x4880eb+0x1)}),_0x1ca4b4===this[_0x4fcc85(0xe1)]&&this[_0x4fcc85(0xc2)](null);},{'priority':_0x51f587(0xd6)}),this[_0x51f587(0xd7)](_0x5eb76b,_0x51f587(0xc7),(_0x53a38a,_0x2b98c2)=>{const _0x21f79f=_0x51f587;this[_0x21f79f(0xc2)](_0x2b98c2);}),this[_0x51f587(0xd7)](_0x5eb76b,_0x51f587(0xb2),()=>{const _0x59026d=_0x51f587;this[_0x59026d(0xc2)](null);});const _0x263074=this[_0x51f587(0xd4)]instanceof _0x2ab3bf?this[_0x51f587(0xd4)][_0x51f587(0xc9)]:new _0xb5faf3([this[_0x51f587(0xd4)]]);for(const _0x3e09d9 of _0x263074)this[_0x51f587(0xca)](_0x3e09d9);this[_0x51f587(0xd7)](_0x263074,_0x51f587(0xd9),(_0x23c1c9,_0x11ce61)=>{const _0x55302e=_0x51f587;this[_0x55302e(0xd7)](_0x11ce61,_0x55302e(0xce),()=>{const _0x53876c=_0x55302e;this[_0x53876c(0xca)](_0x11ce61);});}),this[_0x51f587(0xd7)](_0x263074,_0x51f587(0xda),(_0x5326a6,_0x2400fd)=>{const _0x4a11a6=_0x51f587;_0x2400fd[_0x4a11a6(0xb7)][_0x4a11a6(0xaf)](_0x4a11a6(0xad))&&this[_0x4a11a6(0xd1)](_0x2400fd[_0x4a11a6(0xb7)][_0x4a11a6(0xb9)](_0x4a11a6(0xad)));}),window[_0x51f587(0xdc)](_0x51f587(0xc0),this[_0x51f587(0xe8)]),this[_0x51f587(0xd4)][_0x51f587(0xb7)][_0x51f587(0xb9)](_0x51f587(0xc4))[_0x51f587(0xba)](),this[_0x51f587(0xa2)][_0x51f587(0xb8)]();}[_0x3d6340(0xc8)](){const _0x59736d=_0x3d6340;if(!this[_0x59736d(0xbd)])throw new _0x238a9e(_0x59736d(0xb1),this);this[_0x59736d(0xc2)](null);const _0x19415d=this[_0x59736d(0xd4)][_0x59736d(0xb7)][_0x59736d(0xb9)](_0x2d468d);_0x19415d[_0x59736d(0xa9)](this[_0x59736d(0xa2)]),this[_0x59736d(0xdd)](_0x19415d),this[_0x59736d(0xdd)](this[_0x59736d(0xa2)]),this[_0x59736d(0xd4)]instanceof _0x2ab3bf&&this[_0x59736d(0xdd)](this[_0x59736d(0xd4)][_0x59736d(0xc9)]);for(const _0x424721 of Array[_0x59736d(0xae)](this[_0x59736d(0xb3)]))this[_0x59736d(0xd1)](_0x424721);window[_0x59736d(0xa6)](_0x59736d(0xc0),this[_0x59736d(0xe8)]),this[_0x59736d(0xe8)][_0x59736d(0xab)](),this[_0x59736d(0xe1)]=null,this[_0x59736d(0xbd)]=!0x1,this[_0x59736d(0xa2)]=null;}[_0x3d6340(0xb5)](){const _0x24addb=_0x3d6340;this[_0x24addb(0xbd)]&&this[_0x24addb(0xc8)]();}[_0x3d6340(0xca)](_0x20d6b7){const _0x240b65=_0x3d6340;if(!_0x20d6b7[_0x240b65(0xb7)][_0x240b65(0xaf)](_0x240b65(0xad)))return;const _0x13a26b=_0x20d6b7[_0x240b65(0xb7)][_0x240b65(0xb9)](_0x240b65(0xad)),_0x180d4f=()=>{const _0x295a50=_0x240b65,_0x314ee7=_0x13a26b[_0x295a50(0xb0)]({'annotations':this[_0x295a50(0xa2)],'activeAnnotation':this[_0x295a50(0xe1)]});this[_0x295a50(0xc2)](_0x314ee7[0x0]||null);};this[_0x240b65(0xd7)](_0x13a26b,_0x240b65(0xea),_0x180d4f),this[_0x240b65(0xd7)](_0x13a26b,_0x240b65(0xb2),(_0x1f6022,{isAnnotationTracked:_0x1ea584})=>{const _0x92303f=_0x240b65;this[_0x92303f(0xe1)]&&_0x1ea584(this[_0x92303f(0xe1)])&&this[_0x92303f(0xc2)](null);}),this[_0x240b65(0xd7)](_0x13a26b,_0x240b65(0xa4),()=>{const _0x3c639b=_0x240b65;this[_0x3c639b(0xe8)]();}),this[_0x240b65(0xd7)](this[_0x240b65(0xa2)],_0x240b65(0xb2),_0x54b12f=>{const _0x255f59=_0x240b65;_0x13a26b[_0x255f59(0xc5)]()&&(_0x180d4f(),_0x54b12f[_0x255f59(0xd2)]());},{'priority':_0x240b65(0xd6)}),this[_0x240b65(0xb3)][_0x240b65(0xd9)](_0x13a26b);}[_0x3d6340(0xd1)](_0x1d5fb5){const _0x1f1cfd=_0x3d6340;this[_0x1f1cfd(0xdd)](_0x1d5fb5),this[_0x1f1cfd(0xb3)][_0x1f1cfd(0xda)](_0x1d5fb5);}}function _0x465d(){const _0x3ccd9c=['_integrateWithEditorAnnotations','156126qTjfSh','isPremiumPlugin','175914fQqTgc','ready','_attachToContainer','42832BUtXIZ','_destroyEditorAnnotationsIntegration','stop','register','context','pluginName','high','listenTo','80eCDPJS','add','remove','_annotations','addEventListener','stopListening','updateTargetRect','66657ApnieL','addAnnotation','activeAnnotation','set','1967130hwcDaz','ck-sidebar--wide','widesidebar-attach-already-attached','338036hdszOV','off','_refreshPositioningDebounced','21rdRyvp','refresh','annotations','wideSidebar','uiUpdate','change:container','removeEventListener','rearrange','_activeAnnotation','_detachFromContainer','set:container','cancel','requires','EditorAnnotations','from','has','getOrderedSelectedAnnotations','widesidebar-detach-not-attached','blur','_editorAnnotations','init','destroy','6bzjuzw','plugins','refreshPositioning','get','refreshVisibility','WideSidebar','container','isAttached','1535912wBRnyi','switchTo','resize','isOfficialPlugin','setActiveAnnotation','attach','Annotations','hasDomSelection','5wtzJOX','focus','detach','editors'];_0x465d=function(){return _0x3ccd9c;};return _0x465d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x39cb(){const _0x910150=['editor','hasContent','_trimToContent','backward','substr','get','item','CommentsRepository','from','execute','4344KLLyra','plugins','923460hpDBct','model','document','_createCommentThread','784504FjPBew','getRanges','selection','schema','createRange','element','_hasContent','9IFhkzN','refresh','isEnabled','1248711arZtTP','addMarker','455UrbyHl','getLastMatchingPosition','Users','$textProxy','24lninLi','set','change','push','addcommentthreadcommand-user-not-found','end','tableCell','219544uoMWMV','comment:','_itemIsContent','isObject','4562144htrMHa','collaboration.channelId','getItems','addCommentThread','addcommentthreadcommand-incorrect-ranges','start','23576500QyuzYf','config','length','_createMarkersFromRanges'];_0x39cb=function(){return _0x910150;};return _0x39cb();}const _0x1ca8a1=_0xe36e;function _0xe36e(_0x35ccb5,_0x31dba8){const _0x39cb8d=_0x39cb();return _0xe36e=function(_0xe36e07,_0x313482){_0xe36e07=_0xe36e07-0x1d4;let _0x16f522=_0x39cb8d[_0xe36e07];return _0x16f522;},_0xe36e(_0x35ccb5,_0x31dba8);}(function(_0x1f7652,_0x1ce257){const _0x45f9ce=_0xe36e,_0x101fe7=_0x1f7652();while(!![]){try{const _0x3cff0b=parseInt(_0x45f9ce(0x1d8))/0x1+-parseInt(_0x45f9ce(0x1e5))/0x2*(-parseInt(_0x45f9ce(0x1de))/0x3)+parseInt(_0x45f9ce(0x1e9))/0x4+-parseInt(_0x45f9ce(0x1ff))/0x5+-parseInt(_0x45f9ce(0x1fd))/0x6*(parseInt(_0x45f9ce(0x1da))/0x7)+-parseInt(_0x45f9ce(0x203))/0x8*(-parseInt(_0x45f9ce(0x1d5))/0x9)+-parseInt(_0x45f9ce(0x1ef))/0xa;if(_0x3cff0b===_0x1ce257)break;else _0x101fe7['push'](_0x101fe7['shift']());}catch(_0x20933e){_0x101fe7['push'](_0x101fe7['shift']());}}}(_0x39cb,0xbd794));import{Command as _0x215eeb}from'ckeditor5/src/core.js';import{uid as _0x4c37d4,CKEditorError as _0x5bb011}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x215eeb{constructor(_0x11f856){const _0x278f74=_0xe36e;super(_0x11f856),this[_0x278f74(0x1df)](_0x278f74(0x1f4),!0x1);}[_0x1ca8a1(0x1d6)](){const _0x32bbb9=_0x1ca8a1,_0x3933fa=this[_0x32bbb9(0x1f3)][_0x32bbb9(0x200)][_0x32bbb9(0x201)][_0x32bbb9(0x205)];this[_0x32bbb9(0x1d7)]=!0x0,this[_0x32bbb9(0x1f4)]=!0x1;for(const _0x423a20 of _0x3933fa[_0x32bbb9(0x204)]())if(this[_0x32bbb9(0x1d4)](_0x423a20))return void(this[_0x32bbb9(0x1f4)]=!0x0);}[_0x1ca8a1(0x1fc)]({threadId:_0x4002e5=_0x4c37d4(),ranges:_0x23c1f7,comment:_0x314076}={}){const _0x2f27c3=_0x1ca8a1,_0x5a0d63=this[_0x2f27c3(0x1f3)][_0x2f27c3(0x200)],_0x26b2cb=_0x23c1f7??Array[_0x2f27c3(0x1fb)](_0x5a0d63[_0x2f27c3(0x201)][_0x2f27c3(0x205)][_0x2f27c3(0x204)]()),_0x452fbe=[];for(const _0x5590fa of _0x26b2cb)this[_0x2f27c3(0x1d4)](_0x5590fa)&&_0x452fbe[_0x2f27c3(0x1e1)](this[_0x2f27c3(0x1f5)](_0x5590fa));if(!_0x452fbe[_0x2f27c3(0x1f1)])throw new _0x5bb011(_0x2f27c3(0x1ed),null);_0x314076&&this[_0x2f27c3(0x202)](_0x4002e5,_0x314076),this[_0x2f27c3(0x1f2)](_0x4002e5,_0x452fbe,!!_0x314076);}[_0x1ca8a1(0x1f2)](_0x15e12e,_0x3a90c3,_0x7ebf9){const _0x46a42a=_0x1ca8a1;this[_0x46a42a(0x1f3)][_0x46a42a(0x200)][_0x46a42a(0x1e0)](_0x36a2b6=>{const _0xf487d3=_0x46a42a;for(const _0x12f15e of _0x3a90c3){const _0x4e8403=_0x4c37d4()[_0xf487d3(0x1f7)](0x1,0x5),_0x376c04=_0xf487d3(0x1e6)+_0x15e12e+':'+_0x4e8403;_0x36a2b6[_0xf487d3(0x1d9)](_0x376c04,{'range':_0x12f15e,'usingOperation':_0x7ebf9,'affectsData':_0x7ebf9});}});}[_0x1ca8a1(0x202)](_0x4a008f,_0x1a57a7){const _0x267e39=_0x1ca8a1,_0x364b58=this[_0x267e39(0x1f3)][_0x267e39(0x1fe)][_0x267e39(0x1f8)](_0x267e39(0x1fa)),_0x385c17=this[_0x267e39(0x1f3)][_0x267e39(0x1f0)][_0x267e39(0x1f8)](_0x267e39(0x1ea)),_0x443c93=this[_0x267e39(0x1f3)][_0x267e39(0x1fe)][_0x267e39(0x1f8)](_0x267e39(0x1dc))['me'];if(!_0x443c93)throw new _0x5bb011(_0x267e39(0x1e2),null);_0x364b58[_0x267e39(0x1ec)]({'threadId':_0x4a008f,'channelId':_0x385c17,'comments':[{'authorId':_0x443c93['id'],'content':_0x1a57a7,'createdAt':new Date(),'attributes':{}}]});}[_0x1ca8a1(0x1d4)](_0xee68ac){const _0x2f8dc1=_0x1ca8a1;for(const _0x32608d of _0xee68ac[_0x2f8dc1(0x1eb)]())if(this[_0x2f8dc1(0x1e7)](_0x32608d))return!0x0;return!0x1;}[_0x1ca8a1(0x1e7)](_0x55e5ac){const _0x502561=_0x1ca8a1;return _0x55e5ac['is'](_0x502561(0x1dd))||this[_0x502561(0x1f3)][_0x502561(0x200)][_0x502561(0x206)][_0x502561(0x1e8)](_0x55e5ac)&&!_0x55e5ac['is'](_0x502561(0x208),_0x502561(0x1e4));}[_0x1ca8a1(0x1f5)](_0x174e5e){const _0x2a2aac=_0x1ca8a1,_0x5e2248=_0x183294=>!this[_0x2a2aac(0x1e7)](_0x183294[_0x2a2aac(0x1f9)]),_0x101bde=_0x174e5e[_0x2a2aac(0x1ee)][_0x2a2aac(0x1db)](_0x5e2248),_0x3ac31b=_0x174e5e[_0x2a2aac(0x1e3)][_0x2a2aac(0x1db)](_0x5e2248,{'direction':_0x2a2aac(0x1f6)});return this[_0x2a2aac(0x1f3)][_0x2a2aac(0x200)][_0x2a2aac(0x207)](_0x101bde,_0x3ac31b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5cf1(_0x3d5db0,_0x51c91e){const _0x387f65=_0x387f();return _0x5cf1=function(_0x5cf1dd,_0x52107b){_0x5cf1dd=_0x5cf1dd-0x1de;let _0xe5121d=_0x387f65[_0x5cf1dd];return _0xe5121d;},_0x5cf1(_0x3d5db0,_0x51c91e);}function _0x387f(){const _0x5f2858=['12hoRMUd','requires','CommentsArchive','11219761MvrqqD','plugins','remove','init','length','isPremiumPlugin','isOfficialPlugin','listenTo','2718232MRjvcS','context','findIndex','change:archivedAt','addCommentThread','pluginName','2871060EnplYd','archivedAt','add','getCommentThread','2170535rCQNLm','_calculatePosition','isActive','focus','18ZiTFRA','highest','588908GIyiLS','stopListening','6194610aHfbXV','archivedThreads','activate','removeCommentThread','get','1052612fNAgmc','has','collection','isVisible'];_0x387f=function(){return _0x5f2858;};return _0x387f();}const _0x810847=_0x5cf1;(function(_0x303660,_0x6d1c8a){const _0x1a8163=_0x5cf1,_0x20a58e=_0x303660();while(!![]){try{const _0x5743a9=parseInt(_0x1a8163(0x1f5))/0x1+-parseInt(_0x1a8163(0x1ee))/0x2*(-parseInt(_0x1a8163(0x1f9))/0x3)+-parseInt(_0x1a8163(0x1e4))/0x4+-parseInt(_0x1a8163(0x1e8))/0x5*(-parseInt(_0x1a8163(0x1ec))/0x6)+-parseInt(_0x1a8163(0x1fc))/0x7+parseInt(_0x1a8163(0x1de))/0x8+-parseInt(_0x1a8163(0x1f0))/0x9;if(_0x5743a9===_0x6d1c8a)break;else _0x20a58e['push'](_0x20a58e['shift']());}catch(_0x4396aa){_0x20a58e['push'](_0x20a58e['shift']());}}}(_0x387f,0xd2da2));import{ContextPlugin as _0x4a0b0d}from'ckeditor5/src/core.js';import{Collection as _0x29a540}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x2a0ad2}from'./commentsrepository.js';import{Annotations as _0x11be85}from'../annotations/annotations.js';export class CommentsArchive extends _0x4a0b0d{static get[_0x810847(0x1e3)](){const _0x539e38=_0x810847;return _0x539e38(0x1fb);}static get[_0x810847(0x202)](){return!0x0;}static get[_0x810847(0x201)](){return!0x0;}static get[_0x810847(0x1fa)](){return[_0x2a0ad2,_0x11be85];}constructor(_0x3b243a){const _0x5a043a=_0x810847;super(_0x3b243a),this[_0x5a043a(0x1f1)]=new _0x29a540();}[_0x810847(0x1ff)](){const _0x1fe16c=_0x810847,_0x1a707d=this[_0x1fe16c(0x1df)],_0x597b61=_0x1a707d[_0x1fe16c(0x1fd)][_0x1fe16c(0x1f4)](_0x2a0ad2),_0x4d26dd=_0x1a707d[_0x1fe16c(0x1fd)][_0x1fe16c(0x1f4)](_0x11be85);this[_0x1fe16c(0x203)](_0x597b61,_0x1fe16c(0x1e2),(_0xbb33a2,{threadId:_0x175492})=>{const _0x373ed8=_0x1fe16c,_0x4049bc=_0x597b61[_0x373ed8(0x1e7)](_0x175492);_0x4049bc[_0x373ed8(0x1e5)]&&this[_0x373ed8(0x1f1)][_0x373ed8(0x1e6)](_0x4049bc,this[_0x373ed8(0x1e9)](_0x4049bc[_0x373ed8(0x1e5)])),this[_0x373ed8(0x203)](_0x4049bc,_0x373ed8(0x1e1),(_0x3139bf,_0x48b379,_0x3fb3f1)=>{const _0x370a7d=_0x373ed8;_0x3fb3f1?this[_0x370a7d(0x1f1)][_0x370a7d(0x1f6)](_0x4049bc)||this[_0x370a7d(0x1f1)][_0x370a7d(0x1e6)](_0x4049bc,this[_0x370a7d(0x1e9)](_0x4049bc[_0x370a7d(0x1e5)])):this[_0x370a7d(0x1f1)][_0x370a7d(0x1f6)](_0x4049bc)&&this[_0x370a7d(0x1f1)][_0x370a7d(0x1fe)](_0x4049bc);});}),this[_0x1fe16c(0x203)](_0x597b61,_0x1fe16c(0x1f3),(_0x5b6195,{threadId:_0x1c8665})=>{const _0x34ff98=_0x1fe16c,_0xf9ef57=_0x597b61[_0x34ff98(0x1e7)](_0x1c8665);this[_0x34ff98(0x1ef)](_0xf9ef57),this[_0x34ff98(0x1f1)][_0x34ff98(0x1f6)](_0xf9ef57)&&this[_0x34ff98(0x1f1)][_0x34ff98(0x1fe)](_0xf9ef57);},{'priority':_0x1fe16c(0x1ed)}),this[_0x1fe16c(0x203)](_0x4d26dd[_0x1fe16c(0x1f7)],_0x1fe16c(0x1eb),(_0x4a4e82,_0x364f71)=>{const _0x3793a2=_0x1fe16c;_0x364f71[_0x3793a2(0x1f8)]||(_0x364f71[_0x3793a2(0x1ea)]=!0x0,_0x4d26dd[_0x3793a2(0x1f2)](_0x364f71));});}[_0x810847(0x1e9)](_0xa4cece){const _0x2a24c5=_0x810847,_0x2752d2=[...this[_0x2a24c5(0x1f1)]][_0x2a24c5(0x1e0)](_0x1641e5=>_0x1641e5[_0x2a24c5(0x1e5)]<_0xa4cece);return _0x2752d2>-0x1?_0x2752d2:this[_0x2a24c5(0x1f1)][_0x2a24c5(0x200)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x166f75=_0x1184;(function(_0x11d6f2,_0xc3d14f){const _0x265606=_0x1184,_0x4b3944=_0x11d6f2();while(!![]){try{const _0x30cb37=-parseInt(_0x265606(0xde))/0x1*(-parseInt(_0x265606(0xd3))/0x2)+-parseInt(_0x265606(0xca))/0x3+-parseInt(_0x265606(0xea))/0x4+parseInt(_0x265606(0xdf))/0x5+-parseInt(_0x265606(0xb2))/0x6*(parseInt(_0x265606(0xbe))/0x7)+-parseInt(_0x265606(0x9f))/0x8*(-parseInt(_0x265606(0xad))/0x9)+parseInt(_0x265606(0xcb))/0xa;if(_0x30cb37===_0xc3d14f)break;else _0x4b3944['push'](_0x4b3944['shift']());}catch(_0x117ef4){_0x4b3944['push'](_0x4b3944['shift']());}}}(_0x49e5,0x7f646));import'../../theme/commentsarchive.css';function _0x49e5(){const _0x374813=['_addAnnotationToArchive','locale','isEnabled','includes','remove','forEach','pluginName','_hideDialogOnAnnotationEscape','_threadToController','30499tXbdDs','archivedAt','menuitemcheckbox','tooltip','_calculatePosition','isOn','set','CommentsRepository','isPremiumPlugin','execute','editor','add','2326692uDVMEq','12733930DKXvfc','EDITOR_TOP_SIDE','collection','_pendingThreads','show','set:isVisible','init','hide','12290UZRaub','Dialog','push','get','archivedThreads','Annotations','COMMENTS_ARCHIVE','innerView','filter','bind','CommentsArchiveUI','129bGoBXw','4584205ylHRTr','commentsArchive','_toggleDialog','isOpen','getByInnerView','listenTo','componentFactory','_visibleAnnotations','return','stopListening','plugins','4170396PZeJqC','splice','focusableElements','requires','8mcyfdS','source','isOfficialPlugin','_handleNewThread','isVisible','annotationViews','indexOf','findIndex','commentsArchiveView','collaboration.channelId','config','menuBar:commentsArchive','find','has','2957697hHfIXS','stop','length','channelId','_createCommentsArchiveButton','1338gnGJxL','view','escape'];_0x49e5=function(){return _0x374813;};return _0x49e5();}import{Plugin as _0x433d24}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x5a089e}from'ckeditor5/src/icons.js';import{ViewCollection as _0x26f642,MenuBarMenuListItemButtonView as _0x1e47f9,ButtonView as _0xbfa37c,Dialog as _0xd392ef,DialogViewPosition as _0x29742d}from'ckeditor5/src/ui.js';import{getTranslation as _0x4e005d}from'../utils/common-translations.js';import{CommentsArchiveView as _0x8506bd}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x41fc4a}from'./commentsarchive.js';function _0x1184(_0x573f1e,_0x460647){const _0x49e589=_0x49e5();return _0x1184=function(_0x11849f,_0x129442){_0x11849f=_0x11849f-0x9e;let _0x3cd986=_0x49e589[_0x11849f];return _0x3cd986;},_0x1184(_0x573f1e,_0x460647);}export class CommentsArchiveUI extends _0x433d24{[_0x166f75(0xa7)];[_0x166f75(0xa4)];[_0x166f75(0xce)];static get[_0x166f75(0xbb)](){const _0x44c3eb=_0x166f75;return _0x44c3eb(0xdd);}static get[_0x166f75(0xa1)](){return!0x0;}static get[_0x166f75(0xc6)](){return!0x0;}static get[_0x166f75(0x9e)](){return[_0x41fc4a,_0xd392ef];}constructor(_0x1688c2){const _0x4240c2=_0x166f75;super(_0x1688c2),this[_0x4240c2(0xa4)]=new _0x26f642(),this[_0x4240c2(0xce)]=[];}[_0x166f75(0xd1)](){const _0x4c9ef1=_0x166f75,_0x3de8ef=this[_0x4c9ef1(0xc8)],_0x162eff=this[_0x4c9ef1(0xbc)][_0x4c9ef1(0xdc)](this);_0x3de8ef['ui'][_0x4c9ef1(0xe5)][_0x4c9ef1(0xc9)](_0x4c9ef1(0xe0),()=>this[_0x4c9ef1(0xb1)](_0xbfa37c,!0x0)),_0x3de8ef['ui'][_0x4c9ef1(0xe5)][_0x4c9ef1(0xc9)](_0x4c9ef1(0xaa),()=>{const _0x383074=_0x4c9ef1,_0x5bb124=this[_0x383074(0xb1)](_0x1e47f9);return _0x5bb124[_0x383074(0xc4)]({'role':_0x383074(0xc0)}),_0x5bb124;});const _0x2955e7=_0x3de8ef[_0x4c9ef1(0xe9)][_0x4c9ef1(0xd6)](_0x41fc4a),_0x1ebbaf=_0x3de8ef[_0x4c9ef1(0xe9)][_0x4c9ef1(0xd6)](_0x4c9ef1(0xd8)),_0x2f48fe=_0x3de8ef[_0x4c9ef1(0xe9)][_0x4c9ef1(0xd6)](_0x4c9ef1(0xc5));_0x2955e7[_0x4c9ef1(0xd7)][_0x4c9ef1(0xba)](_0x2db60e=>{const _0x39bcc5=_0x4c9ef1;this[_0x39bcc5(0xa2)](_0x2db60e);}),this[_0x4c9ef1(0xe4)](_0x2955e7[_0x4c9ef1(0xd7)],_0x4c9ef1(0xc9),(_0x1fc38f,_0xd69d6c)=>{const _0x695221=_0x4c9ef1;this[_0x695221(0xa2)](_0xd69d6c);}),this[_0x4c9ef1(0xe4)](_0x1ebbaf[_0x4c9ef1(0xcd)],_0x4c9ef1(0xc9),(_0x29a122,_0x42efa8)=>{const _0x4a30df=_0x4c9ef1,_0x2a1a75=this[_0x4a30df(0xce)][_0x4a30df(0xab)](_0x576f69=>{const _0x4148a7=_0x4a30df,_0x55c77e=_0x2f48fe[_0x4148a7(0xbd)][_0x4148a7(0xd6)](_0x576f69);return _0x55c77e&&_0x42efa8[_0x4148a7(0xda)]===_0x55c77e[_0x4148a7(0xb3)];});if(_0x2a1a75){const _0x485692=this[_0x4a30df(0xc2)](_0x2a1a75[_0x4a30df(0xbf)]);this[_0x4a30df(0xb5)](_0x42efa8,_0x485692),this[_0x4a30df(0xce)][_0x4a30df(0xeb)](this[_0x4a30df(0xce)][_0x4a30df(0xa5)](_0x2a1a75),0x1);}}),this[_0x4c9ef1(0xe4)](_0x2955e7[_0x4c9ef1(0xd7)],_0x4c9ef1(0xb9),(_0x20b6ea,_0xcbd004)=>{const _0x111278=_0x4c9ef1,_0x1751ec=_0x3de8ef[_0x111278(0xa9)][_0x111278(0xd6)](_0x111278(0xa8));if(!_0x1751ec||_0xcbd004[_0x111278(0xb0)]===_0x1751ec){if(this[_0x111278(0xce)][_0x111278(0xb8)](_0xcbd004))this[_0x111278(0xce)][_0x111278(0xeb)](this[_0x111278(0xce)][_0x111278(0xa5)](_0xcbd004),0x1);else{const _0x45efb1=_0x2f48fe[_0x111278(0xbd)][_0x111278(0xd6)](_0xcbd004),_0x94bfab=_0x1ebbaf[_0x111278(0xe3)](_0x45efb1[_0x111278(0xb3)]);this[_0x111278(0xa4)][_0x111278(0xb9)](_0x94bfab[_0x111278(0xb3)]),this[_0x111278(0xe8)](_0x94bfab),this[_0x111278(0xe8)](_0x94bfab[_0x111278(0xec)]);}}}),this[_0x4c9ef1(0xe4)](_0x1ebbaf[_0x4c9ef1(0xcd)],_0x4c9ef1(0xc9),(_0x14a1fa,_0x4bed2f)=>{const _0x2be0d8=_0x4c9ef1;this[_0x2be0d8(0xe4)](_0x4bed2f,_0x2be0d8(0xb4),_0x162eff);}),this[_0x4c9ef1(0xe4)](_0x1ebbaf[_0x4c9ef1(0xcd)],_0x4c9ef1(0xb9),(_0x3d2836,_0x3a2c9e)=>{const _0x35a30e=_0x4c9ef1;this[_0x35a30e(0xe8)](_0x3a2c9e,_0x35a30e(0xb4),_0x162eff);});}[_0x166f75(0xb5)](_0x4e0628,_0x4248b4){const _0x252bd3=_0x166f75;this[_0x252bd3(0xe4)](_0x4e0628,_0x252bd3(0xd0),_0x532b05=>{const _0x2cd241=_0x252bd3;_0x532b05[_0x2cd241(0xe7)]=!0x1,_0x532b05[_0x2cd241(0xae)]();}),this[_0x252bd3(0xa4)][_0x252bd3(0xc9)](_0x4e0628[_0x252bd3(0xb3)],_0x4248b4);}[_0x166f75(0xa2)](_0x565a75){const _0x36a504=_0x166f75,_0x36dc25=this[_0x36a504(0xc8)][_0x36a504(0xe9)][_0x36a504(0xd6)](_0x36a504(0xc5)),_0x347980=this[_0x36a504(0xc8)][_0x36a504(0xe9)][_0x36a504(0xd6)](_0x36a504(0xd8)),_0x9bc091=this[_0x36a504(0xc8)][_0x36a504(0xa9)][_0x36a504(0xd6)](_0x36a504(0xa8));if(!_0x9bc091||_0x565a75[_0x36a504(0xb0)]===_0x9bc091){const _0x13edba=_0x36dc25[_0x36a504(0xbd)][_0x36a504(0xd6)](_0x565a75);if(!_0x13edba)return void this[_0x36a504(0xce)][_0x36a504(0xd5)](_0x565a75);const _0x143c70=this[_0x36a504(0xc2)](_0x565a75[_0x36a504(0xbf)]),_0xbb730b=_0x347980[_0x36a504(0xe3)](_0x13edba[_0x36a504(0xb3)]);_0xbb730b[_0x36a504(0xa3)]&&_0x347980[_0x36a504(0xe6)][_0x36a504(0xb9)](_0xbb730b),this[_0x36a504(0xb5)](_0xbb730b,_0x143c70);}}[_0x166f75(0xc2)](_0x4f7004){const _0x284abb=_0x166f75,_0x118960=this[_0x284abb(0xc8)][_0x284abb(0xa9)][_0x284abb(0xd6)](_0x284abb(0xa8)),_0x197760=[...this[_0x284abb(0xc8)][_0x284abb(0xe9)][_0x284abb(0xd6)](_0x41fc4a)[_0x284abb(0xd7)]][_0x284abb(0xdb)](_0x3568d9=>_0x3568d9[_0x284abb(0xb0)]===_0x118960)[_0x284abb(0xa6)](_0xe5f330=>_0xe5f330[_0x284abb(0xbf)]<_0x4f7004);return _0x197760<0x0||_0x197760>this[_0x284abb(0xa4)][_0x284abb(0xaf)]?this[_0x284abb(0xa4)][_0x284abb(0xaf)]:_0x197760-0x1;}[_0x166f75(0xe1)](){const _0x141bc5=_0x166f75,_0x313580=this[_0x141bc5(0xc8)],_0x398806=_0x313580[_0x141bc5(0xe9)][_0x141bc5(0xd6)](_0x141bc5(0xd4));this[_0x141bc5(0xa7)]||(this[_0x141bc5(0xa7)]=new _0x8506bd(_0x313580[_0x141bc5(0xb6)],this[_0x141bc5(0xa4)])),_0x141bc5(0xe0)===_0x398806['id']?_0x398806[_0x141bc5(0xd2)]():_0x398806[_0x141bc5(0xcf)]({'id':_0x141bc5(0xe0),'title':_0x4e005d(_0x313580[_0x141bc5(0xb6)],_0x141bc5(0xd9)),'icon':_0x5a089e,'hasCloseButton':!0x0,'content':this[_0x141bc5(0xa7)],'position':_0x29742d[_0x141bc5(0xcc)]});}[_0x166f75(0xb1)](_0x12fb1e,_0xd584f3=!0x1){const _0x460bc3=_0x166f75,_0x34967c=this[_0x460bc3(0xc8)][_0x460bc3(0xb6)],_0x28e34a=this[_0x460bc3(0xc8)][_0x460bc3(0xe9)][_0x460bc3(0xd6)](_0x460bc3(0xd4)),_0x3d93fc=new _0x12fb1e(_0x34967c);return _0x3d93fc[_0x460bc3(0xdc)](_0x460bc3(0xb7))['to'](this,_0x460bc3(0xb7)),_0x3d93fc[_0x460bc3(0xdc)](_0x460bc3(0xc3))['to'](_0x28e34a,'id',_0x422221=>_0x460bc3(0xe0)===_0x422221),_0x3d93fc[_0x460bc3(0xc4)]({'label':_0x4e005d(_0x34967c,_0x460bc3(0xd9)),'icon':_0x5a089e,'isToggleable':!0x0}),_0xd584f3&&(_0x3d93fc[_0x460bc3(0xc1)]=!0x0),this[_0x460bc3(0xe4)](_0x3d93fc,_0x460bc3(0xc7),()=>this[_0x460bc3(0xe1)]()),_0x3d93fc;}[_0x166f75(0xbc)]=_0x2a7dd0=>{const _0x553885=_0x166f75,_0x3dade0=_0x2a7dd0[_0x553885(0xa0)];if(!this[_0x553885(0xa4)][_0x553885(0xac)](_0x3dade0[_0x553885(0xb3)]))return;const _0x51739e=this[_0x553885(0xc8)][_0x553885(0xe9)][_0x553885(0xd6)](_0x553885(0xd4));_0x51739e[_0x553885(0xe2)]&&_0x553885(0xe0)===_0x51739e['id']&&(_0x51739e[_0x553885(0xd2)](),_0x2a7dd0[_0x553885(0xae)]());};}
|