@ckeditor/ckeditor5-comments 46.0.1 → 46.0.2-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x566335=_0x52a1;(function(_0x2fdaa2,_0x51763e){const _0x1ad660=_0x52a1,_0xa727c=_0x2fdaa2();while(!![]){try{const _0x3f7218=-parseInt(_0x1ad660(0xf8))/0x1*(-parseInt(_0x1ad660(0xf5))/0x2)+parseInt(_0x1ad660(0x10c))/0x3*(-parseInt(_0x1ad660(0x113))/0x4)+parseInt(_0x1ad660(0xd2))/0x5+parseInt(_0x1ad660(0xe6))/0x6+-parseInt(_0x1ad660(0xd8))/0x7*(parseInt(_0x1ad660(0x114))/0x8)+parseInt(_0x1ad660(0xee))/0x9*(-parseInt(_0x1ad660(0x120))/0xa)+parseInt(_0x1ad660(0x116))/0xb;if(_0x3f7218===_0x51763e)break;else _0xa727c['push'](_0xa727c['shift']());}catch(_0x499b76){_0xa727c['push'](_0xa727c['shift']());}}}(_0x2c30,0x78759));import{ContextPlugin as _0x4c23fa}from'ckeditor5/src/core.js';import{Rect as _0x5dff84,CKEditorError as _0x3b5b05}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x2e2d78}from'./view/sidebarview.js';function _0x2c30(){const _0x5043da=['object','delete','change:targetRect','_setItemTop','Sidebar','rearrange','3480020NdnWxk','_destroySidebarItemView','_recalculateBuffer','init','push','_alignForTopChange','_sidebarItemViewToAnnotation','add','_getTargetTop','unbind','_targetTop','sidebar-attachtocontainer-missing-container','_spaceBetweenItems','class','108215dzkkTx','_attachToContainer','container','pluginName','config','isOfficialPlugin','98OlRKAn','_activeAnnotation','target','locale','_alignForBottomChange','setContainer','element','listenTo','_annotations','max','remove','_annotationToSidebarItemView','isAnimationDisabled','stopListening','2848008cdeEFR','_getMaxAvailableTop','list','getIndex','appendChild','refresh','change:bottom','minHeight','9fqbgNW','render','destroy','_detachFromContainer','_getItemBefore','height','last','1498232VSumAo','top','change:_lastItem','1pQPzWr','targetRect','sidebar.container','length','set','context','content','isPremiumPlugin','_getItemAfter','get','sidebar.preventScrollOutOfView','_createSidebarView','nodeType','_updateLastItem','bind','bottom','addAnnotation','_alignBeforeItem','isActive','change:top','9732HwduVb','define','_alignAfterItem','sidebar-setcontainer-invalid-element','getSidebarItemView','_lastItem','_recalculate','224cPKFaf','309688oyoElV','_alignToTargetRect','3515534KWBkqN','view','updateHeight','clear'];_0x2c30=function(){return _0x5043da;};return _0x2c30();}import{AnnotationsSidebarItemView as _0x220ec3}from'./view/sidebaritemview.js';export class Sidebar extends _0x4c23fa{[_0x566335(0x117)];[_0x566335(0xd9)];[_0x566335(0xe0)];[_0x566335(0xd0)];[_0x566335(0x126)];[_0x566335(0xe3)];[_0x566335(0x122)];static get[_0x566335(0xd5)](){const _0x63e944=_0x566335;return _0x63e944(0x11e);}static get[_0x566335(0xd7)](){return!0x0;}static get[_0x566335(0xff)](){return!0x0;}constructor(_0x1e78d0){const _0x6a8575=_0x566335;super(_0x1e78d0),this[_0x6a8575(0xfc)](_0x6a8575(0x111),void 0x0),this[_0x6a8575(0x117)]=this[_0x6a8575(0x103)](),this[_0x6a8575(0xfc)](_0x6a8575(0xd4),null),this[_0x6a8575(0xd0)]=0x19,this[_0x6a8575(0x126)]=new Map(),this[_0x6a8575(0xe3)]=new Map(),this[_0x6a8575(0xfd)][_0x6a8575(0xd6)][_0x6a8575(0x10d)](_0x6a8575(0x102),!0x1),this[_0x6a8575(0xe0)]=null,this[_0x6a8575(0xd9)]=null,this[_0x6a8575(0x122)]=[];}[_0x566335(0x123)](){const _0x56c26b=_0x566335,_0x23091e=this[_0x56c26b(0xfd)][_0x56c26b(0xd6)][_0x56c26b(0x101)](_0x56c26b(0xfa));_0x23091e&&this[_0x56c26b(0xdd)](_0x23091e);}[_0x566335(0xdd)](_0x232e3a){const _0x15abc1=_0x566335;if(!g(_0x232e3a))throw new _0x3b5b05(_0x15abc1(0x10f));this[_0x15abc1(0xd4)]=_0x232e3a;}[_0x566335(0xd3)]({viewClass:_0x421e4d='',spaceBetweenItems:_0x2bc836=0x19}={}){const _0x536344=_0x566335;if(!g(this[_0x536344(0xd4)]))throw new _0x3b5b05(_0x536344(0xcf),this);this[_0x536344(0xd4)][_0x536344(0xea)](this[_0x536344(0x117)][_0x536344(0xde)]),this[_0x536344(0x117)][_0x536344(0xd1)]=_0x421e4d,this[_0x536344(0xd0)]=_0x2bc836;}[_0x566335(0x11f)]({removedAnnotation:_0x3568ca,previousAnnotation:_0x1afc0d,nextAnnotation:_0xc938bd}){const _0x3e5183=_0x566335,_0x46f5d9=this[_0x3e5183(0x110)](_0x3568ca);this[_0x3e5183(0x117)][_0x3e5183(0xe8)][_0x3e5183(0xe2)](_0x46f5d9),this[_0x3e5183(0x121)](_0x3568ca),_0x1afc0d&&this[_0x3e5183(0x115)](this[_0x3e5183(0x110)](_0x1afc0d)),_0xc938bd&&this[_0x3e5183(0x115)](this[_0x3e5183(0x110)](_0xc938bd)),this[_0x3e5183(0x105)]();}[_0x566335(0xeb)]({blurredAnnotation:_0x4c7a1d,activatedAnnotation:_0x57f7b9,disableAnimationOnActivatedAnnotation:_0x5765cc}){const _0x2fa1bd=_0x566335;if(this[_0x2fa1bd(0xd9)]=_0x57f7b9,_0x4c7a1d){_0x4c7a1d[_0x2fa1bd(0x10a)]=!0x1;const _0x58cbdd=this[_0x2fa1bd(0x110)](_0x4c7a1d);_0x58cbdd&&_0x5765cc&&(_0x58cbdd[_0x2fa1bd(0xe4)]=!0x1);}if(_0x57f7b9){const _0x3949c7=this[_0x2fa1bd(0x110)](_0x57f7b9);_0x3949c7&&(_0x57f7b9[_0x2fa1bd(0x10a)]=!0x0,_0x5765cc&&(_0x3949c7[_0x2fa1bd(0xe4)]=!0x0,_0x3949c7[_0x2fa1bd(0xf6)]+=0x1),this[_0x2fa1bd(0x115)](_0x3949c7));}}[_0x566335(0xf1)](_0x325eb6){const _0xdea16=_0x566335;if(this[_0xdea16(0x117)][_0xdea16(0xde)][_0xdea16(0xe2)](),_0x325eb6){for(const _0x4bbc21 of _0x325eb6)this[_0xdea16(0x121)](_0x4bbc21);}this[_0xdea16(0x117)][_0xdea16(0xe8)][_0xdea16(0x119)](),this[_0xdea16(0x117)][_0xdea16(0xd1)]='',this[_0xdea16(0x111)]=null;}[_0x566335(0x108)](_0x180d04,_0x7cc07f){const _0x3f5fe5=_0x566335;_0x7cc07f||(_0x7cc07f=_0x180d04[_0x3f5fe5(0x117)]);const _0x5195b4=new _0x220ec3(this[_0x3f5fe5(0xfd)][_0x3f5fe5(0xdb)]);this[_0x3f5fe5(0x126)][_0x3f5fe5(0xfc)](_0x5195b4,_0x180d04),this[_0x3f5fe5(0xe3)][_0x3f5fe5(0xfc)](_0x180d04,_0x5195b4),_0x5195b4[_0x3f5fe5(0xfe)][_0x3f5fe5(0x127)](_0x7cc07f),this[_0x3f5fe5(0xdf)](_0x180d04[_0x3f5fe5(0x117)],_0x3f5fe5(0x11c),(_0x208f4e,_0x88f8a7,_0xd9390b)=>{const _0x1fdd0b=_0x3f5fe5,_0x167b02=this[_0x1fdd0b(0x128)](_0x180d04,_0xd9390b);_0x5195b4[_0x1fdd0b(0x12a)]!=_0x167b02&&(_0x5195b4[_0x1fdd0b(0x12a)]=_0x167b02,this[_0x1fdd0b(0x11d)](_0x5195b4,_0x167b02));}),this[_0x3f5fe5(0xdf)](_0x5195b4,_0x3f5fe5(0x10b),()=>{const _0x564863=_0x3f5fe5;this[_0x564863(0x112)](_0x5195b4,_0x564863(0xf6));}),this[_0x3f5fe5(0xdf)](_0x5195b4,_0x3f5fe5(0xec),()=>{const _0x47964f=_0x3f5fe5;this[_0x47964f(0x112)](_0x5195b4,_0x47964f(0x107));}),this[_0x3f5fe5(0x115)](_0x5195b4);const _0x3870b2=this[_0x3f5fe5(0xf2)](_0x5195b4);if(_0x3870b2)this[_0x3f5fe5(0x10e)](_0x3870b2,_0x5195b4)||this[_0x3f5fe5(0x115)](_0x5195b4);else this[_0x3f5fe5(0x115)](_0x5195b4);return this[_0x3f5fe5(0x105)](),this[_0x3f5fe5(0x117)][_0x3f5fe5(0xe8)][_0x3f5fe5(0x127)](_0x5195b4),_0x5195b4;}[_0x566335(0x125)](_0x8fc09b){const _0x2701a0=_0x566335;if(!_0x8fc09b[_0x2701a0(0xfe)][_0x2701a0(0xfb)])return;const _0x21c0d0=this[_0x2701a0(0xf2)](_0x8fc09b);if(!_0x21c0d0)return;const _0x4f7959=this[_0x2701a0(0x126)][_0x2701a0(0x101)](_0x21c0d0),_0x51a763=this[_0x2701a0(0xd9)];_0x51a763&&_0x51a763===_0x4f7959?this[_0x2701a0(0x10e)](_0x21c0d0,_0x8fc09b):this[_0x2701a0(0x109)](_0x8fc09b,_0x21c0d0);}[_0x566335(0xdc)](_0x2b4909){const _0x51ce99=_0x566335;if(!_0x2b4909[_0x51ce99(0xfe)][_0x51ce99(0xfb)])return;const _0xc9a541=this[_0x51ce99(0x100)](_0x2b4909);if(!_0xc9a541)return;const _0x342b60=this[_0x51ce99(0x126)][_0x51ce99(0x101)](_0xc9a541),_0x39bd51=this[_0x51ce99(0xfd)][_0x51ce99(0xd6)][_0x51ce99(0x101)](_0x51ce99(0x102)),_0x1141a0=this[_0x51ce99(0xd9)];_0x1141a0&&_0x1141a0===_0x342b60&&_0x39bd51?(this[_0x51ce99(0x109)](_0xc9a541,_0x2b4909),this[_0x51ce99(0x10e)](_0x2b4909,_0xc9a541)):_0x1141a0&&_0x1141a0===_0x342b60?this[_0x51ce99(0x109)](_0xc9a541,_0x2b4909):this[_0x51ce99(0x10e)](_0x2b4909,_0xc9a541);}[_0x566335(0x112)](_0x5c87ae,_0x1b9e2d){const _0x1e9247=_0x566335;0x0===this[_0x1e9247(0x122)][_0x1e9247(0xfb)]&&setTimeout(()=>{const _0xff77de=_0x1e9247;for(const {sidebarItemView:_0x4f2e8c,changedProp:_0x325bf4}of this[_0xff77de(0x122)])_0xff77de(0xf6)===_0x325bf4?this[_0xff77de(0x125)](_0x4f2e8c):this[_0xff77de(0xdc)](_0x4f2e8c);this[_0xff77de(0x122)]=[];},0xa),this[_0x1e9247(0x122)][_0x1e9247(0x124)]({'sidebarItemView':_0x5c87ae,'changedProp':_0x1b9e2d});}[_0x566335(0x110)](_0x2b1dd7){const _0xd1522c=_0x566335;return this[_0xd1522c(0xe3)][_0xd1522c(0x101)](_0x2b1dd7);}[_0x566335(0xf0)](){const _0x4b7686=_0x566335;this[_0x4b7686(0xe5)](),this[_0x4b7686(0x117)][_0x4b7686(0xf0)]();}[_0x566335(0x121)](_0x277791){const _0x4fb8ed=_0x566335,_0x52e98c=this[_0x4fb8ed(0x110)](_0x277791);this[_0x4fb8ed(0xe5)](_0x52e98c),this[_0x4fb8ed(0xe5)](_0x277791[_0x4fb8ed(0x117)]),_0x52e98c[_0x4fb8ed(0xf0)](),this[_0x4fb8ed(0xe3)][_0x4fb8ed(0x11b)](_0x277791),this[_0x4fb8ed(0x126)][_0x4fb8ed(0x11b)](_0x52e98c);}[_0x566335(0x103)](){const _0x5d737f=_0x566335,_0x343b0a=new _0x2e2d78(this[_0x5d737f(0xfd)][_0x5d737f(0xdb)]);return _0x343b0a[_0x5d737f(0xef)](),this['on'](_0x5d737f(0xf7),(_0x403059,_0x21d968,_0x4b93e3,_0x365a91)=>{const _0x81bbd2=_0x5d737f;_0x365a91&&_0x343b0a[_0x81bbd2(0x129)](_0x81bbd2(0xed)),_0x4b93e3?_0x343b0a[_0x81bbd2(0x106)](_0x81bbd2(0xed))['to'](_0x4b93e3,_0x81bbd2(0x107)):_0x343b0a[_0x81bbd2(0xed)]=null;}),_0x343b0a;}[_0x566335(0x105)](){const _0x5a564c=_0x566335;this[_0x5a564c(0x111)]=this[_0x5a564c(0xe0)]?.[_0x5a564c(0xf4)]?this[_0x5a564c(0x110)](this[_0x5a564c(0xe0)][_0x5a564c(0xf4)]):null;}[_0x566335(0xf2)](_0x40dfc1){const _0x36e9f4=_0x566335,_0x432328=this[_0x36e9f4(0x126)][_0x36e9f4(0x101)](_0x40dfc1),_0x3c0c93=_0x432328&&this[_0x36e9f4(0xe0)]?.[_0x36e9f4(0x101)](this[_0x36e9f4(0xe0)][_0x36e9f4(0xe9)](_0x432328)-0x1);return _0x3c0c93&&this[_0x36e9f4(0x110)](_0x3c0c93)||null;}[_0x566335(0x100)](_0x38bb03){const _0x1e2b28=_0x566335,_0x33c081=this[_0x1e2b28(0x126)][_0x1e2b28(0x101)](_0x38bb03),_0x23bb6b=_0x33c081&&this[_0x1e2b28(0xe0)]?.[_0x1e2b28(0x101)](this[_0x1e2b28(0xe0)][_0x1e2b28(0xe9)](_0x33c081)+0x1);return _0x23bb6b&&this[_0x1e2b28(0x110)](_0x23bb6b)||null;}[_0x566335(0x109)](_0x1fa591,_0x5af885){const _0x556b8a=_0x566335;_0x1fa591[_0x556b8a(0x118)]();const _0x4dd19=G(_0x5af885[_0x556b8a(0x107)]+this[_0x556b8a(0xd0)],_0x1fa591[_0x556b8a(0xf6)]);return!!_0x4dd19&&(this[_0x556b8a(0x11d)](_0x5af885,_0x5af885[_0x556b8a(0xf6)]-_0x4dd19),!0x0);}[_0x566335(0x10e)](_0x14a286,_0x792f07){const _0x4ba3db=_0x566335;_0x14a286[_0x4ba3db(0x118)]();const _0x5a8bba=G(_0x14a286[_0x4ba3db(0x107)]+this[_0x4ba3db(0xd0)],_0x792f07[_0x4ba3db(0xf6)]);return!!_0x5a8bba&&(this[_0x4ba3db(0x11d)](_0x792f07,_0x792f07[_0x4ba3db(0xf6)]+_0x5a8bba,!0x1),!0x0);}[_0x566335(0x115)](_0x3660c1){const _0x5f001d=_0x566335,_0x2c71a4=this[_0x5f001d(0x126)][_0x5f001d(0x101)](_0x3660c1);if(!_0x2c71a4||!_0x2c71a4[_0x5f001d(0xda)]||!_0x2c71a4[_0x5f001d(0xf9)])return;const _0xbbc054=this[_0x5f001d(0x128)](_0x2c71a4,_0x2c71a4[_0x5f001d(0xf9)]);this[_0x5f001d(0x11d)](_0x3660c1,_0xbbc054);}[_0x566335(0x128)](_0x4047bb,_0xfe23c7){const _0x5384b5=_0x566335;if(null===_0xfe23c7)return 0x0;if(_0x4047bb[_0x5384b5(0xda)]instanceof _0x5dff84)return _0xfe23c7[_0x5384b5(0xf6)];{const _0x1ef4c3=new _0x5dff84(this[_0x5384b5(0x117)][_0x5384b5(0xde)])[_0x5384b5(0xf6)];return _0xfe23c7[_0x5384b5(0xf6)]-_0x1ef4c3;}}[_0x566335(0x11d)](_0x5992d3,_0x5016e,_0x45bff2=this[_0x566335(0xfd)][_0x566335(0xd6)][_0x566335(0x101)](_0x566335(0x102))){const _0x1c5dbb=_0x566335;_0x45bff2&&(_0x5016e=Math[_0x1c5dbb(0xe1)](_0x5016e,this[_0x1c5dbb(0xe7)](_0x5992d3))),_0x5992d3[_0x1c5dbb(0xf6)]=_0x5016e;}[_0x566335(0xe7)](_0x415dda){const _0x143b64=_0x566335;let _0x1fc0ce=this[_0x143b64(0xf2)](_0x415dda),_0x356111=0x0;for(;_0x1fc0ce;)_0x1fc0ce[_0x143b64(0x118)](),_0x356111+=this[_0x143b64(0xd0)]+_0x1fc0ce[_0x143b64(0xf3)],_0x1fc0ce=this[_0x143b64(0xf2)](_0x1fc0ce);return _0x356111;}}function _0x52a1(_0x5a7a9a,_0x4172cf){const _0x2c30b2=_0x2c30();return _0x52a1=function(_0x52a11d,_0x48b06c){_0x52a11d=_0x52a11d-0xcf;let _0x1b92b0=_0x2c30b2[_0x52a11d];return _0x1b92b0;},_0x52a1(_0x5a7a9a,_0x4172cf);}function G(_0x1061a2,_0x4c4ffc){const _0x16d006=_0x566335;return Math[_0x16d006(0xe1)](_0x1061a2-_0x4c4ffc,0x0);}function g(_0x49c6c7){const _0x462a3c=_0x566335;return null!==_0x49c6c7&&_0x462a3c(0x11a)==typeof _0x49c6c7&&0x1===_0x49c6c7[_0x462a3c(0x104)];}
|
|
23
|
+
function _0x3c06(_0x2b8472,_0x203727){const _0x4dc88f=_0x4dc8();return _0x3c06=function(_0x3c0697,_0x4a6b9f){_0x3c0697=_0x3c0697-0x1e7;let _0x1d7ea6=_0x4dc88f[_0x3c0697];return _0x1d7ea6;},_0x3c06(_0x2b8472,_0x203727);}function _0x4dc8(){const _0x2f044c=['change:targetRect','max','stopListening','Sidebar','bind','locale','_annotationToSidebarItemView','view','unbind','_recalculateBuffer','sidebar-attachtocontainer-missing-container','isOfficialPlugin','_alignBeforeItem','_updateLastItem','appendChild','10233480nXFnaz','list','minHeight','setContainer','sidebar.container','updateHeight','_destroySidebarItemView','last','class','bottom','element','target','_getItemAfter','init','targetRect','context','define','_getItemBefore','nodeType','isActive','length','_lastItem','_alignToTargetRect','isAnimationDisabled','_detachFromContainer','_setItemTop','pluginName','clear','delete','height','1428505NKDAKV','getIndex','set','getSidebarItemView','remove','189cagccZ','destroy','_spaceBetweenItems','change:_lastItem','container','change:top','741404MFoWTH','change:bottom','40776CmLsxv','sidebar-setcontainer-invalid-element','get','_alignForTopChange','30LTNMHi','_activeAnnotation','_annotations','add','refresh','3DuBoLq','sidebar.preventScrollOutOfView','_attachToContainer','_recalculate','_getTargetTop','_alignAfterItem','render','config','push','addAnnotation','_getMaxAvailableTop','_sidebarItemViewToAnnotation','469497SaGtZS','_targetTop','265816fkQcZg','113890CbVOhe','_createSidebarView','listenTo','object','rearrange','_alignForBottomChange','isPremiumPlugin','content','top'];_0x4dc8=function(){return _0x2f044c;};return _0x4dc8();}const _0x2f01b7=_0x3c06;(function(_0x52cf3c,_0xaca1f9){const _0x2a0d93=_0x3c06,_0x2b4a21=_0x52cf3c();while(!![]){try{const _0x13e9a6=-parseInt(_0x2a0d93(0x210))/0x1+-parseInt(_0x2a0d93(0x212))/0x2+parseInt(_0x2a0d93(0x204))/0x3*(parseInt(_0x2a0d93(0x1f9))/0x4)+-parseInt(_0x2a0d93(0x1ee))/0x5+parseInt(_0x2a0d93(0x1ff))/0x6*(parseInt(_0x2a0d93(0x213))/0x7)+-parseInt(_0x2a0d93(0x1fb))/0x8*(parseInt(_0x2a0d93(0x1f3))/0x9)+parseInt(_0x2a0d93(0x22b))/0xa;if(_0x13e9a6===_0xaca1f9)break;else _0x2b4a21['push'](_0x2b4a21['shift']());}catch(_0x3ebbae){_0x2b4a21['push'](_0x2b4a21['shift']());}}}(_0x4dc8,0x47ffa));import{ContextPlugin as _0x247935}from'ckeditor5/src/core.js';import{Rect as _0x417b37,CKEditorError as _0x3890b6}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x23feb2}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x578767}from'./view/sidebaritemview.js';export class Sidebar extends _0x247935{[_0x2f01b7(0x223)];[_0x2f01b7(0x200)];[_0x2f01b7(0x201)];[_0x2f01b7(0x1f5)];[_0x2f01b7(0x20f)];[_0x2f01b7(0x222)];[_0x2f01b7(0x225)];static get[_0x2f01b7(0x1ea)](){const _0x236e4b=_0x2f01b7;return _0x236e4b(0x21f);}static get[_0x2f01b7(0x227)](){return!0x0;}static get[_0x2f01b7(0x219)](){return!0x0;}constructor(_0x29277f){const _0x57bc99=_0x2f01b7;super(_0x29277f),this[_0x57bc99(0x1f0)](_0x57bc99(0x240),void 0x0),this[_0x57bc99(0x223)]=this[_0x57bc99(0x214)](),this[_0x57bc99(0x1f0)](_0x57bc99(0x1f7),null),this[_0x57bc99(0x1f5)]=0x19,this[_0x57bc99(0x20f)]=new Map(),this[_0x57bc99(0x222)]=new Map(),this[_0x57bc99(0x23a)][_0x57bc99(0x20b)][_0x57bc99(0x23b)](_0x57bc99(0x205),!0x1),this[_0x57bc99(0x201)]=null,this[_0x57bc99(0x200)]=null,this[_0x57bc99(0x225)]=[];}[_0x2f01b7(0x238)](){const _0x1f8eb1=_0x2f01b7,_0x3cfbf8=this[_0x1f8eb1(0x23a)][_0x1f8eb1(0x20b)][_0x1f8eb1(0x1fd)](_0x1f8eb1(0x22f));_0x3cfbf8&&this[_0x1f8eb1(0x22e)](_0x3cfbf8);}[_0x2f01b7(0x22e)](_0x3e3ee6){const _0x320b8f=_0x2f01b7;if(!g(_0x3e3ee6))throw new _0x3890b6(_0x320b8f(0x1fc));this[_0x320b8f(0x1f7)]=_0x3e3ee6;}[_0x2f01b7(0x206)]({viewClass:_0x34a051='',spaceBetweenItems:_0x4fa9c2=0x19}={}){const _0x48960e=_0x2f01b7;if(!g(this[_0x48960e(0x1f7)]))throw new _0x3890b6(_0x48960e(0x226),this);this[_0x48960e(0x1f7)][_0x48960e(0x22a)](this[_0x48960e(0x223)][_0x48960e(0x235)]),this[_0x48960e(0x223)][_0x48960e(0x233)]=_0x34a051,this[_0x48960e(0x1f5)]=_0x4fa9c2;}[_0x2f01b7(0x217)]({removedAnnotation:_0x2274ec,previousAnnotation:_0x53c173,nextAnnotation:_0x114ce8}){const _0x18e6d8=_0x2f01b7,_0x101fdb=this[_0x18e6d8(0x1f1)](_0x2274ec);this[_0x18e6d8(0x223)][_0x18e6d8(0x22c)][_0x18e6d8(0x1f2)](_0x101fdb),this[_0x18e6d8(0x231)](_0x2274ec),_0x53c173&&this[_0x18e6d8(0x241)](this[_0x18e6d8(0x1f1)](_0x53c173)),_0x114ce8&&this[_0x18e6d8(0x241)](this[_0x18e6d8(0x1f1)](_0x114ce8)),this[_0x18e6d8(0x229)]();}[_0x2f01b7(0x203)]({blurredAnnotation:_0x396307,activatedAnnotation:_0x470465,disableAnimationOnActivatedAnnotation:_0x441cb8}){const _0x488103=_0x2f01b7;if(this[_0x488103(0x200)]=_0x470465,_0x396307){_0x396307[_0x488103(0x23e)]=!0x1;const _0x189ea7=this[_0x488103(0x1f1)](_0x396307);_0x189ea7&&_0x441cb8&&(_0x189ea7[_0x488103(0x1e7)]=!0x1);}if(_0x470465){const _0x289200=this[_0x488103(0x1f1)](_0x470465);_0x289200&&(_0x470465[_0x488103(0x23e)]=!0x0,_0x441cb8&&(_0x289200[_0x488103(0x1e7)]=!0x0,_0x289200[_0x488103(0x21b)]+=0x1),this[_0x488103(0x241)](_0x289200));}}[_0x2f01b7(0x1e8)](_0x101274){const _0x206d84=_0x2f01b7;if(this[_0x206d84(0x223)][_0x206d84(0x235)][_0x206d84(0x1f2)](),_0x101274){for(const _0x3bf475 of _0x101274)this[_0x206d84(0x231)](_0x3bf475);}this[_0x206d84(0x223)][_0x206d84(0x22c)][_0x206d84(0x1eb)](),this[_0x206d84(0x223)][_0x206d84(0x233)]='',this[_0x206d84(0x240)]=null;}[_0x2f01b7(0x20d)](_0x4397a0,_0x513ffb){const _0x5c2d7e=_0x2f01b7;_0x513ffb||(_0x513ffb=_0x4397a0[_0x5c2d7e(0x223)]);const _0x49f5a0=new _0x578767(this[_0x5c2d7e(0x23a)][_0x5c2d7e(0x221)]);this[_0x5c2d7e(0x20f)][_0x5c2d7e(0x1f0)](_0x49f5a0,_0x4397a0),this[_0x5c2d7e(0x222)][_0x5c2d7e(0x1f0)](_0x4397a0,_0x49f5a0),_0x49f5a0[_0x5c2d7e(0x21a)][_0x5c2d7e(0x202)](_0x513ffb),this[_0x5c2d7e(0x215)](_0x4397a0[_0x5c2d7e(0x223)],_0x5c2d7e(0x21c),(_0x32588c,_0x1eae1b,_0x28d7c7)=>{const _0x37bd65=_0x5c2d7e,_0x33a9a8=this[_0x37bd65(0x208)](_0x4397a0,_0x28d7c7);_0x49f5a0[_0x37bd65(0x211)]!=_0x33a9a8&&(_0x49f5a0[_0x37bd65(0x211)]=_0x33a9a8,this[_0x37bd65(0x1e9)](_0x49f5a0,_0x33a9a8));}),this[_0x5c2d7e(0x215)](_0x49f5a0,_0x5c2d7e(0x1f8),()=>{const _0x38e590=_0x5c2d7e;this[_0x38e590(0x207)](_0x49f5a0,_0x38e590(0x21b));}),this[_0x5c2d7e(0x215)](_0x49f5a0,_0x5c2d7e(0x1fa),()=>{const _0x34aa81=_0x5c2d7e;this[_0x34aa81(0x207)](_0x49f5a0,_0x34aa81(0x234));}),this[_0x5c2d7e(0x241)](_0x49f5a0);const _0x150c60=this[_0x5c2d7e(0x23c)](_0x49f5a0);if(_0x150c60)this[_0x5c2d7e(0x209)](_0x150c60,_0x49f5a0)||this[_0x5c2d7e(0x241)](_0x49f5a0);else this[_0x5c2d7e(0x241)](_0x49f5a0);return this[_0x5c2d7e(0x229)](),this[_0x5c2d7e(0x223)][_0x5c2d7e(0x22c)][_0x5c2d7e(0x202)](_0x49f5a0),_0x49f5a0;}[_0x2f01b7(0x1fe)](_0x19a4fc){const _0x29927c=_0x2f01b7;if(!_0x19a4fc[_0x29927c(0x21a)][_0x29927c(0x23f)])return;const _0x145f87=this[_0x29927c(0x23c)](_0x19a4fc);if(!_0x145f87)return;const _0x364a44=this[_0x29927c(0x20f)][_0x29927c(0x1fd)](_0x145f87),_0x46e316=this[_0x29927c(0x200)];_0x46e316&&_0x46e316===_0x364a44?this[_0x29927c(0x209)](_0x145f87,_0x19a4fc):this[_0x29927c(0x228)](_0x19a4fc,_0x145f87);}[_0x2f01b7(0x218)](_0x52249a){const _0x2b3c9d=_0x2f01b7;if(!_0x52249a[_0x2b3c9d(0x21a)][_0x2b3c9d(0x23f)])return;const _0x7d6749=this[_0x2b3c9d(0x237)](_0x52249a);if(!_0x7d6749)return;const _0x409e89=this[_0x2b3c9d(0x20f)][_0x2b3c9d(0x1fd)](_0x7d6749),_0x20bf0a=this[_0x2b3c9d(0x23a)][_0x2b3c9d(0x20b)][_0x2b3c9d(0x1fd)](_0x2b3c9d(0x205)),_0x29b04e=this[_0x2b3c9d(0x200)];_0x29b04e&&_0x29b04e===_0x409e89&&_0x20bf0a?(this[_0x2b3c9d(0x228)](_0x7d6749,_0x52249a),this[_0x2b3c9d(0x209)](_0x52249a,_0x7d6749)):_0x29b04e&&_0x29b04e===_0x409e89?this[_0x2b3c9d(0x228)](_0x7d6749,_0x52249a):this[_0x2b3c9d(0x209)](_0x52249a,_0x7d6749);}[_0x2f01b7(0x207)](_0x5e93f0,_0xc97af1){const _0x552d4b=_0x2f01b7;0x0===this[_0x552d4b(0x225)][_0x552d4b(0x23f)]&&setTimeout(()=>{const _0x4d8775=_0x552d4b;for(const {sidebarItemView:_0x3fe65a,changedProp:_0x893f66}of this[_0x4d8775(0x225)])_0x4d8775(0x21b)===_0x893f66?this[_0x4d8775(0x1fe)](_0x3fe65a):this[_0x4d8775(0x218)](_0x3fe65a);this[_0x4d8775(0x225)]=[];},0xa),this[_0x552d4b(0x225)][_0x552d4b(0x20c)]({'sidebarItemView':_0x5e93f0,'changedProp':_0xc97af1});}[_0x2f01b7(0x1f1)](_0x3048c3){const _0x17f7aa=_0x2f01b7;return this[_0x17f7aa(0x222)][_0x17f7aa(0x1fd)](_0x3048c3);}[_0x2f01b7(0x1f4)](){const _0x16c462=_0x2f01b7;this[_0x16c462(0x21e)](),this[_0x16c462(0x223)][_0x16c462(0x1f4)]();}[_0x2f01b7(0x231)](_0x5f31b3){const _0x27b866=_0x2f01b7,_0x58cefc=this[_0x27b866(0x1f1)](_0x5f31b3);this[_0x27b866(0x21e)](_0x58cefc),this[_0x27b866(0x21e)](_0x5f31b3[_0x27b866(0x223)]),_0x58cefc[_0x27b866(0x1f4)](),this[_0x27b866(0x222)][_0x27b866(0x1ec)](_0x5f31b3),this[_0x27b866(0x20f)][_0x27b866(0x1ec)](_0x58cefc);}[_0x2f01b7(0x214)](){const _0x4b5bd9=_0x2f01b7,_0x4977aa=new _0x23feb2(this[_0x4b5bd9(0x23a)][_0x4b5bd9(0x221)]);return _0x4977aa[_0x4b5bd9(0x20a)](),this['on'](_0x4b5bd9(0x1f6),(_0x1bcb1c,_0x397d20,_0x2b294d,_0x27b3e4)=>{const _0x38b154=_0x4b5bd9;_0x27b3e4&&_0x4977aa[_0x38b154(0x224)](_0x38b154(0x22d)),_0x2b294d?_0x4977aa[_0x38b154(0x220)](_0x38b154(0x22d))['to'](_0x2b294d,_0x38b154(0x234)):_0x4977aa[_0x38b154(0x22d)]=null;}),_0x4977aa;}[_0x2f01b7(0x229)](){const _0x3f394a=_0x2f01b7;this[_0x3f394a(0x240)]=this[_0x3f394a(0x201)]?.[_0x3f394a(0x232)]?this[_0x3f394a(0x1f1)](this[_0x3f394a(0x201)][_0x3f394a(0x232)]):null;}[_0x2f01b7(0x23c)](_0x1116d5){const _0x6e5237=_0x2f01b7,_0x2a24ff=this[_0x6e5237(0x20f)][_0x6e5237(0x1fd)](_0x1116d5),_0x6bdd35=_0x2a24ff&&this[_0x6e5237(0x201)]?.[_0x6e5237(0x1fd)](this[_0x6e5237(0x201)][_0x6e5237(0x1ef)](_0x2a24ff)-0x1);return _0x6bdd35&&this[_0x6e5237(0x1f1)](_0x6bdd35)||null;}[_0x2f01b7(0x237)](_0x5f3576){const _0x15b7c3=_0x2f01b7,_0x393066=this[_0x15b7c3(0x20f)][_0x15b7c3(0x1fd)](_0x5f3576),_0x3e42b5=_0x393066&&this[_0x15b7c3(0x201)]?.[_0x15b7c3(0x1fd)](this[_0x15b7c3(0x201)][_0x15b7c3(0x1ef)](_0x393066)+0x1);return _0x3e42b5&&this[_0x15b7c3(0x1f1)](_0x3e42b5)||null;}[_0x2f01b7(0x228)](_0x521dbf,_0x373821){const _0x70018=_0x2f01b7;_0x521dbf[_0x70018(0x230)]();const _0x3f7c9e=G(_0x373821[_0x70018(0x234)]+this[_0x70018(0x1f5)],_0x521dbf[_0x70018(0x21b)]);return!!_0x3f7c9e&&(this[_0x70018(0x1e9)](_0x373821,_0x373821[_0x70018(0x21b)]-_0x3f7c9e),!0x0);}[_0x2f01b7(0x209)](_0x66616b,_0x176157){const _0x234e0a=_0x2f01b7;_0x66616b[_0x234e0a(0x230)]();const _0x4b29e6=G(_0x66616b[_0x234e0a(0x234)]+this[_0x234e0a(0x1f5)],_0x176157[_0x234e0a(0x21b)]);return!!_0x4b29e6&&(this[_0x234e0a(0x1e9)](_0x176157,_0x176157[_0x234e0a(0x21b)]+_0x4b29e6,!0x1),!0x0);}[_0x2f01b7(0x241)](_0x55b608){const _0x6ab307=_0x2f01b7,_0x213023=this[_0x6ab307(0x20f)][_0x6ab307(0x1fd)](_0x55b608);if(!_0x213023||!_0x213023[_0x6ab307(0x236)]||!_0x213023[_0x6ab307(0x239)])return;const _0x51f11d=this[_0x6ab307(0x208)](_0x213023,_0x213023[_0x6ab307(0x239)]);this[_0x6ab307(0x1e9)](_0x55b608,_0x51f11d);}[_0x2f01b7(0x208)](_0x50771e,_0x83e67b){const _0x83808f=_0x2f01b7;if(null===_0x83e67b)return 0x0;if(_0x50771e[_0x83808f(0x236)]instanceof _0x417b37)return _0x83e67b[_0x83808f(0x21b)];{const _0x2d131a=new _0x417b37(this[_0x83808f(0x223)][_0x83808f(0x235)])[_0x83808f(0x21b)];return _0x83e67b[_0x83808f(0x21b)]-_0x2d131a;}}[_0x2f01b7(0x1e9)](_0x2a89f4,_0xdf9e9a,_0x4b3668=this[_0x2f01b7(0x23a)][_0x2f01b7(0x20b)][_0x2f01b7(0x1fd)](_0x2f01b7(0x205))){const _0xf12b1c=_0x2f01b7;_0x4b3668&&(_0xdf9e9a=Math[_0xf12b1c(0x21d)](_0xdf9e9a,this[_0xf12b1c(0x20e)](_0x2a89f4))),_0x2a89f4[_0xf12b1c(0x21b)]=_0xdf9e9a;}[_0x2f01b7(0x20e)](_0x4c57c){const _0x3ce561=_0x2f01b7;let _0x2a9e26=this[_0x3ce561(0x23c)](_0x4c57c),_0x34a8b2=0x0;for(;_0x2a9e26;)_0x2a9e26[_0x3ce561(0x230)](),_0x34a8b2+=this[_0x3ce561(0x1f5)]+_0x2a9e26[_0x3ce561(0x1ed)],_0x2a9e26=this[_0x3ce561(0x23c)](_0x2a9e26);return _0x34a8b2;}}function G(_0x50b2ee,_0x509a4c){const _0x5dab53=_0x2f01b7;return Math[_0x5dab53(0x21d)](_0x50b2ee-_0x509a4c,0x0);}function g(_0xf328b8){const _0x3d252a=_0x2f01b7;return null!==_0xf328b8&&_0x3d252a(0x216)==typeof _0xf328b8&&0x1===_0xf328b8[_0x3d252a(0x23d)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30eae6=_0x1fd9;function _0x1fd9(_0x55c374,_0x13aa5f){const _0x3a4708=_0x3a47();return _0x1fd9=function(_0x1fd95a,_0x215b24){_0x1fd95a=_0x1fd95a-0x1cd;let _0x55d183=_0x3a4708[_0x1fd95a];return _0x55d183;},_0x1fd9(_0x55c374,_0x13aa5f);}(function(_0x26e581,_0x1f088b){const _0x378132=_0x1fd9,_0x21febd=_0x26e581();while(!![]){try{const _0x41780d=-parseInt(_0x378132(0x1df))/0x1+-parseInt(_0x378132(0x1ce))/0x2*(-parseInt(_0x378132(0x1d5))/0x3)+-parseInt(_0x378132(0x1d4))/0x4+-parseInt(_0x378132(0x1e2))/0x5+-parseInt(_0x378132(0x1cd))/0x6*(-parseInt(_0x378132(0x1e9))/0x7)+-parseInt(_0x378132(0x1e4))/0x8+-parseInt(_0x378132(0x1ea))/0x9*(-parseInt(_0x378132(0x1e3))/0xa);if(_0x41780d===_0x1f088b)break;else _0x21febd['push'](_0x21febd['shift']());}catch(_0x39d0dd){_0x21febd['push'](_0x21febd['shift']());}}}(_0x3a47,0x7e96b));function _0x3a47(){const _0xc83fb6=['icon','ck-annotation-counter__badge--edit-mode','bindTemplate','1536224qeXwEN','51399NrZGjs','add','counterView','extendTemplate','span','ck-annotation-counter','isDirty','ck-annotation-counter__badge--','toString','children','678704tiQLBH','annotationType','ck-annotation-counter__badge','2696605JJABRv','21677860vqoWWz','6626672RChtyd','set','number','_badge','...','2349746OTrSas','9IcizgM','6mdQLHr','52vhnkMx','setTemplate','bind'];_0x3a47=function(){return _0xc83fb6;};return _0x3a47();}import{ButtonView as _0x19db68,View as _0x1da618}from'ckeditor5/src/ui.js';import{IconAddComment as _0x237b40}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x19db68{[_0x30eae6(0x1d7)];constructor(_0xf1006b){const _0x258bf5=_0x30eae6;super(_0xf1006b);const _0x2c8a78=this[_0x258bf5(0x1d3)];this[_0x258bf5(0x1e5)](_0x258bf5(0x1db),!0x1),this[_0x258bf5(0x1e5)](_0x258bf5(0x1e6),0x0),this[_0x258bf5(0x1d0)](_0x258bf5(0x1e7))['to'](this,_0x258bf5(0x1db),this,_0x258bf5(0x1e6),(_0x29a8a1,_0x348fab)=>_0x29a8a1?_0x258bf5(0x1e8):_0x348fab[_0x258bf5(0x1dd)]()),this[_0x258bf5(0x1e5)](_0x258bf5(0x1e0),''),this[_0x258bf5(0x1d1)]=_0x237b40,this[_0x258bf5(0x1d8)]({'attributes':{'class':[_0x258bf5(0x1da)]}}),this[_0x258bf5(0x1d7)]=new _0x1da618(),this[_0x258bf5(0x1d7)][_0x258bf5(0x1cf)]({'tag':_0x258bf5(0x1d9),'attributes':{'class':[_0x258bf5(0x1e1),_0x2c8a78['to'](_0x258bf5(0x1e0),_0x4fd246=>_0x258bf5(0x1dc)+_0x4fd246),_0x2c8a78['if'](_0x258bf5(0x1db),_0x258bf5(0x1d2))]},'children':[{'text':_0x2c8a78['to'](_0x258bf5(0x1e7))}]}),this[_0x258bf5(0x1de)][_0x258bf5(0x1d6)](this[_0x258bf5(0x1d7)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15186a=_0x4562;function _0x4562(_0x5d9f72,_0x159ba8){const _0x431d38=_0x431d();return _0x4562=function(_0x456232,_0x3236c7){_0x456232=_0x456232-0x16e;let _0x18aec6=_0x431d38[_0x456232];return _0x18aec6;},_0x4562(_0x5d9f72,_0x159ba8);}(function(_0x1819aa,_0x4f4f52){const _0x3e1eb0=_0x4562,_0x26f5f2=_0x1819aa();while(!![]){try{const _0x548eea=-parseInt(_0x3e1eb0(0x171))/0x1+parseInt(_0x3e1eb0(0x184))/0x2*(parseInt(_0x3e1eb0(0x178))/0x3)+parseInt(_0x3e1eb0(0x190))/0x4*(-parseInt(_0x3e1eb0(0x188))/0x5)+-parseInt(_0x3e1eb0(0x17a))/0x6*(-parseInt(_0x3e1eb0(0x182))/0x7)+parseInt(_0x3e1eb0(0x19c))/0x8+parseInt(_0x3e1eb0(0x16e))/0x9*(parseInt(_0x3e1eb0(0x17b))/0xa)+parseInt(_0x3e1eb0(0x179))/0xb*(-parseInt(_0x3e1eb0(0x196))/0xc);if(_0x548eea===_0x4f4f52)break;else _0x26f5f2['push'](_0x26f5f2['shift']());}catch(_0x30f683){_0x26f5f2['push'](_0x26f5f2['shift']());}}}(_0x431d,0x5f67f));import{View as _0x301bcd}from'ckeditor5/src/ui.js';import{FocusTracker as _0x53e604,KeystrokeHandler as _0x2a4c71,uid as _0x35935e}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x2af604}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';function _0x431d(){const _0x5ea47d=['content','destroy','_mutationObserver','3FzVumR','11DUuzQv','4500NOrKoO','10svtYoq','Esc','ck-annotation-wrapper--active','delegate','first','_updateHeight','presentation','3339lRrsBl','div','1460346cwaUNK','add','fire','render','251920zZxxlF','targetRect','ck-rounded-corners','isActive','isDirty','setTemplate','clear','type','28ZBYmOz','height','arrowup','bindTemplate','createCollection','detach','7275504QEZZIB','listenTo','attach','focus','arrowdown','focusTracker','679552wzuytG','set','length','3815676qkIHzZ','element','clientHeight','247068GMLAJb','keystrokes','ck-annotation-wrapper','mainView'];_0x431d=function(){return _0x5ea47d;};return _0x431d();}export class AnnotationView extends _0x301bcd{[_0x15186a(0x19b)];['id'];[_0x15186a(0x172)];[_0x15186a(0x175)];[_0x15186a(0x174)];[_0x15186a(0x177)];constructor(_0x20e62d,_0x41a89b){const _0x24541f=_0x15186a;super(_0x20e62d),this['id']=_0x35935e(),this[_0x24541f(0x19b)]=new _0x53e604(),this[_0x24541f(0x172)]=new _0x2a4c71(),this[_0x24541f(0x172)][_0x24541f(0x19d)](_0x24541f(0x17c),(_0x545d5b,_0x4c8c77)=>this[_0x24541f(0x186)](_0x24541f(0x17c),_0x4c8c77)),this[_0x24541f(0x19d)](_0x24541f(0x189),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x24541f(0x19d)](_0x24541f(0x191),0x0),this[_0x24541f(0x19d)](_0x24541f(0x18b),!0x1),this[_0x24541f(0x19d)](_0x24541f(0x18c),!0x1),this[_0x24541f(0x19d)](_0x24541f(0x19e),0x0),this[_0x24541f(0x19d)](_0x24541f(0x18f),''),this[_0x24541f(0x177)]=_0x2af604(()=>this[_0x24541f(0x180)]()),this[_0x24541f(0x175)]=this[_0x24541f(0x194)](),this[_0x24541f(0x175)][_0x24541f(0x17e)](_0x24541f(0x192),_0x24541f(0x19a))['to'](this),this[_0x24541f(0x175)][_0x24541f(0x185)](_0x41a89b),this[_0x24541f(0x174)]=_0x41a89b;const _0x1f2c3c=this[_0x24541f(0x193)];this[_0x24541f(0x18d)]({'tag':_0x24541f(0x183),'attributes':{'class':['ck',_0x24541f(0x173),_0x24541f(0x18a),_0x1f2c3c['if'](_0x24541f(0x18b),_0x24541f(0x17d))],'role':_0x24541f(0x181)},'children':this[_0x24541f(0x175)]});}[_0x15186a(0x187)](){const _0x1d6c5f=_0x15186a;super[_0x1d6c5f(0x187)](),this[_0x1d6c5f(0x19b)][_0x1d6c5f(0x185)](this[_0x1d6c5f(0x16f)]),this[_0x1d6c5f(0x172)][_0x1d6c5f(0x197)](this[_0x1d6c5f(0x16f)]),this[_0x1d6c5f(0x177)][_0x1d6c5f(0x198)](this[_0x1d6c5f(0x16f)]);}[_0x15186a(0x176)](){const _0x433af7=_0x15186a;this[_0x433af7(0x175)][_0x433af7(0x18e)](),this[_0x433af7(0x172)][_0x433af7(0x176)](),this[_0x433af7(0x19b)][_0x433af7(0x176)](),this[_0x433af7(0x177)][_0x433af7(0x195)](),super[_0x433af7(0x176)]();}[_0x15186a(0x199)](){const _0x1bb717=_0x15186a;this[_0x1bb717(0x175)][_0x1bb717(0x17f)]&&this[_0x1bb717(0x175)][_0x1bb717(0x17f)][_0x1bb717(0x199)]();}[_0x15186a(0x180)](){const _0x46360d=_0x15186a,_0x583c07=this[_0x46360d(0x16f)][_0x46360d(0x170)];_0x583c07&&(this[_0x46360d(0x191)]=_0x583c07);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2be264=_0x2f84;(function(_0x3de3d7,_0x301260){const _0xff9c64=_0x2f84,_0x14912e=_0x3de3d7();while(!![]){try{const _0x10206c=-parseInt(_0xff9c64(0x108))/0x1*(-parseInt(_0xff9c64(0x117))/0x2)+parseInt(_0xff9c64(0x10e))/0x3*(parseInt(_0xff9c64(0xfa))/0x4)+parseInt(_0xff9c64(0x10a))/0x5*(parseInt(_0xff9c64(0x114))/0x6)+parseInt(_0xff9c64(0x11e))/0x7+-parseInt(_0xff9c64(0x109))/0x8+-parseInt(_0xff9c64(0x105))/0x9*(-parseInt(_0xff9c64(0x100))/0xa)+-parseInt(_0xff9c64(0x116))/0xb;if(_0x10206c===_0x301260)break;else _0x14912e['push'](_0x14912e['shift']());}catch(_0x50cedf){_0x14912e['push'](_0x14912e['shift']());}}}(_0x1d78,0x8aafa));import{View as _0xe613b2}from'ckeditor5/src/ui.js';function _0x2f84(_0x116877,_0x214149){const _0x1d78a2=_0x1d78();return _0x2f84=function(_0x2f8401,_0x24b2b7){_0x2f8401=_0x2f8401-0xf9;let _0x31b594=_0x1d78a2[_0x2f8401];return _0x31b594;},_0x2f84(_0x116877,_0x214149);}import{toUnit as _0x4d95cd}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x4649f5}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4d95cd('px');export class AnnotationsSidebarItemView extends _0xe613b2{[_0x2be264(0x11f)];[_0x2be264(0x10f)];[_0x2be264(0xfe)];constructor(_0x590cbf){const _0x569da8=_0x2be264;super(_0x590cbf),this[_0x569da8(0x115)](_0x569da8(0xfb),0x0),this[_0x569da8(0x115)](_0x569da8(0x118),0x0),this[_0x569da8(0x11a)](_0x569da8(0x119))['to'](this,_0x569da8(0xfb),this,_0x569da8(0x118),(_0x1aca66,_0x1b3bfc)=>_0x1aca66+_0x1b3bfc),this[_0x569da8(0x115)](_0x569da8(0x110),!0x1),this[_0x569da8(0xfe)]=_0x4649f5(()=>this[_0x569da8(0x101)]()),this[_0x569da8(0x10f)]=null,this[_0x569da8(0x11f)]=this[_0x569da8(0x10b)](),this[_0x569da8(0x11f)][_0x569da8(0x120)](_0x569da8(0x103),_0x569da8(0x111))['to'](this);const _0x13b543=this[_0x569da8(0x102)];this[_0x569da8(0xff)]({'tag':_0x569da8(0xfd),'attributes':{'class':[_0x569da8(0x10d),_0x13b543['to'](_0x569da8(0x110),_0x39de48=>_0x39de48?_0x569da8(0xfc):'')],'style':{'top':_0x13b543['to'](_0x569da8(0xfb),_0x18ce59=>Ot(_0x18ce59))},'role':_0x569da8(0x104)},'children':this[_0x569da8(0x11f)]});}[_0x2be264(0x107)](){const _0x10f927=_0x2be264;super[_0x10f927(0x107)](),this[_0x10f927(0xfe)][_0x10f927(0x11d)](this[_0x10f927(0x11b)]);}[_0x2be264(0x106)](){const _0x469855=_0x2be264;this[_0x469855(0x11f)][_0x469855(0xf9)]&&this[_0x469855(0x11f)][_0x469855(0xf9)][_0x469855(0x106)]();}[_0x2be264(0x101)](){const _0xf20c4d=_0x2be264,_0x26ee5b=this[_0xf20c4d(0x11b)][_0xf20c4d(0x11c)];_0x26ee5b&&(this[_0xf20c4d(0x118)]=_0x26ee5b);}[_0x2be264(0x10c)](){const _0x1ae3cd=_0x2be264;this[_0x1ae3cd(0x11f)][_0x1ae3cd(0x112)](),this[_0x1ae3cd(0xfe)][_0x1ae3cd(0x113)](),super[_0x1ae3cd(0x10c)]();}}function _0x1d78(){const _0x519aca=['arrowdown','clear','detach','5016738OdlfYi','set','13821038LeVYsz','29934nmvtXB','height','bottom','bind','element','clientHeight','attach','4469626bScwZz','content','delegate','first','11584aWucUa','top','ck-sidebar-item--no-animation','div','_mutationObserver','setTemplate','50fFNCJD','updateHeight','bindTemplate','arrowup','presentation','566271pkctHu','focus','render','1wKcXiT','8316984kueFqw','5TpGwqE','createCollection','destroy','ck-sidebar-item','1098cCHyGp','_targetTop','isAnimationDisabled'];_0x1d78=function(){return _0x519aca;};return _0x1d78();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x2480(_0x21647f,_0x2dd85e){const _0xf5c689=_0xf5c6();return _0x2480=function(_0x2480a3,_0x8f003c){_0x2480a3=_0x2480a3-0xa5;let _0x338eab=_0xf5c689[_0x2480a3];return _0x338eab;},_0x2480(_0x21647f,_0x2dd85e);}function _0xf5c6(){const _0xaf27ee=['render','focusCycler','focusables','element','arrowup','1702197nYGZNf','length','change','remove','focusTracker','focus','source','uiLanguageDirection','top','_updateItemPositionInFocusables','listenTo','858120nKVjfW','2645loZeea','add','added','focusNext','forEach','3104629DzQAyW','focusPrevious','2796008GQSKLI','bindTemplate','set','ck-reset','div','focusFirst','getIndex','list','155416zjfdjl','9hhKzzM','656duNLFI','Annotations\x20sidebar','createCollection','arrowdown','_setupKeyboardNavigation','29208BdiHjZ','Annotations\x20list','application','delegate','ck-sidebar','setTemplate','removed','minHeight','class','6kzgUMT','1495zswaUO','33AGMtrZ','number','30nZcgon','change:top'];_0xf5c6=function(){return _0xaf27ee;};return _0xf5c6();}const _0x4c281f=_0x2480;(function(_0x46d13a,_0x330614){const _0x5f5be1=_0x2480,_0x299fbc=_0x46d13a();while(!![]){try{const _0x550463=-parseInt(_0x5f5be1(0xd5))/0x1*(-parseInt(_0x5f5be1(0xb0))/0x2)+-parseInt(_0x5f5be1(0xc0))/0x3*(-parseInt(_0x5f5be1(0xae))/0x4)+-parseInt(_0x5f5be1(0xd4))/0x5+-parseInt(_0x5f5be1(0xbe))/0x6*(-parseInt(_0x5f5be1(0xc9))/0x7)+-parseInt(_0x5f5be1(0xa6))/0x8*(parseInt(_0x5f5be1(0xaf))/0x9)+-parseInt(_0x5f5be1(0xc2))/0xa*(parseInt(_0x5f5be1(0xda))/0xb)+parseInt(_0x5f5be1(0xb5))/0xc*(parseInt(_0x5f5be1(0xbf))/0xd);if(_0x550463===_0x330614)break;else _0x299fbc['push'](_0x299fbc['shift']());}catch(_0x25c391){_0x299fbc['push'](_0x299fbc['shift']());}}}(_0xf5c6,0x6de91));import{View as _0x51050a,FocusCycler as _0x4cae00}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4a761e,toUnit as _0x3ee8b7}from'ckeditor5/src/utils.js';import{getTranslation as _0xfa9ecf}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3ee8b7('px');export class AnnotationsSidebarView extends _0x51050a{[_0x4c281f(0xad)];[_0x4c281f(0xc6)];[_0x4c281f(0xcd)];[_0x4c281f(0xc5)];constructor(_0x43738d){const _0x34bfbe=_0x4c281f;super(_0x43738d);const _0x1c3b74=this[_0x34bfbe(0xa7)];this[_0x34bfbe(0xa8)](_0x34bfbe(0xbc),0x0),this[_0x34bfbe(0xa8)](_0x34bfbe(0xbd),''),this[_0x34bfbe(0xad)]=this[_0x34bfbe(0xb2)](),this[_0x34bfbe(0xc6)]=this[_0x34bfbe(0xb2)](),this[_0x34bfbe(0xad)][_0x34bfbe(0xb8)](_0x34bfbe(0xc8),_0x34bfbe(0xb3))['to'](this),this[_0x34bfbe(0xcd)]=new _0x4a761e(),this[_0x34bfbe(0xc5)]=new _0x4cae00({'focusables':this[_0x34bfbe(0xc6)],'focusTracker':this[_0x34bfbe(0xcd)]}),this[_0x34bfbe(0xba)]({'tag':_0x34bfbe(0xaa),'attributes':{'class':['ck',_0x34bfbe(0xb9),_0x34bfbe(0xa9),_0x1c3b74['to'](_0x34bfbe(0xbd))],'style':{'minHeight':_0x1c3b74['to'](_0x34bfbe(0xbc),_0x13f1bb=>_0x34bfbe(0xc1)==typeof _0x13f1bb?Ot(_0x13f1bb+0xa):null)},'dir':_0x43738d[_0x34bfbe(0xd0)],'role':_0x34bfbe(0xb7),'aria-label':_0xfa9ecf(_0x43738d,_0x34bfbe(0xb1)),'tabindex':0x0},'children':[{'tag':_0x34bfbe(0xaa),'attributes':{'role':_0x34bfbe(0xad),'aria-label':_0xfa9ecf(_0x43738d,_0x34bfbe(0xb6))},'children':this[_0x34bfbe(0xad)]}]});}[_0x4c281f(0xc4)](){const _0x38129b=_0x4c281f;super[_0x38129b(0xc4)](),this[_0x38129b(0xb4)]();}[_0x4c281f(0xce)](){const _0x59b832=_0x4c281f;this[_0x59b832(0xc5)][_0x59b832(0xab)]();}[_0x4c281f(0xb4)](){const _0x2c36f7=_0x4c281f;this[_0x2c36f7(0xad)][_0x2c36f7(0xb8)](_0x2c36f7(0xc3))['to'](this),this['on'](_0x2c36f7(0xc3),_0x4a4f6f=>{const _0x328731=_0x2c36f7;this[_0x328731(0xd2)](_0x4a4f6f[_0x328731(0xcf)]);}),this[_0x2c36f7(0xad)][_0x2c36f7(0xd9)](_0x3be8b2=>{const _0xabf732=_0x2c36f7;this[_0xabf732(0xcd)][_0xabf732(0xd6)](_0x3be8b2[_0xabf732(0xc7)]),this[_0xabf732(0xd2)](_0x3be8b2);}),this[_0x2c36f7(0xad)]['on'](_0x2c36f7(0xcb),(_0x15d344,_0x57f991)=>{const _0x316e3a=_0x2c36f7;for(const _0xfa6bf6 of _0x57f991[_0x316e3a(0xbb)])this[_0x316e3a(0xcd)][_0x316e3a(0xcc)](_0xfa6bf6[_0x316e3a(0xc7)]),this[_0x316e3a(0xc6)][_0x316e3a(0xcc)](_0xfa6bf6);for(const _0x51d300 of _0x57f991[_0x316e3a(0xd7)])this[_0x316e3a(0xcd)][_0x316e3a(0xd6)](_0x51d300[_0x316e3a(0xc7)]),this[_0x316e3a(0xd2)](_0x51d300);}),this['on'](_0x2c36f7(0xc8),()=>{const _0x524645=_0x2c36f7;this[_0x524645(0xc5)][_0x524645(0xa5)]();}),this['on'](_0x2c36f7(0xb3),()=>{const _0x116561=_0x2c36f7;this[_0x116561(0xc5)][_0x116561(0xd8)]();}),this[_0x2c36f7(0xd3)](this[_0x2c36f7(0xc7)],_0x2c36f7(0xce),()=>{const _0x76f5ea=_0x2c36f7;this[_0x76f5ea(0xce)]();});}[_0x4c281f(0xd2)](_0x588d34){const _0x270147=_0x4c281f,_0x32d2ca=this[_0x270147(0xc6)][_0x270147(0xac)](_0x588d34);let _0xbd347f,_0x154829;for(const _0xb17cff of this[_0x270147(0xc6)])if(_0x588d34[_0x270147(0xd1)]<_0xb17cff[_0x270147(0xd1)]){_0xbd347f=_0xb17cff;break;}if(_0x154829=_0xbd347f?this[_0x270147(0xc6)][_0x270147(0xac)](_0xbd347f):this[_0x270147(0xc6)][_0x270147(0xca)],-0x1!==_0x32d2ca){if(_0x32d2ca===_0x154829-0x1)return;this[_0x270147(0xc6)][_0x270147(0xcc)](_0x588d34),_0x154829=_0xbd347f?this[_0x270147(0xc6)][_0x270147(0xac)](_0xbd347f):this[_0x270147(0xc6)][_0x270147(0xca)];}this[_0x270147(0xc6)][_0x270147(0xd6)](_0x588d34,_0x154829);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x24e0e6=_0x4674;(function(_0x58b958,_0x4ee791){const _0x44eb8f=_0x4674,_0x11f402=_0x58b958();while(!![]){try{const _0x274bc4=-parseInt(_0x44eb8f(0x197))/0x1+parseInt(_0x44eb8f(0x190))/0x2*(parseInt(_0x44eb8f(0x1ad))/0x3)+parseInt(_0x44eb8f(0x1b5))/0x4*(-parseInt(_0x44eb8f(0x1a8))/0x5)+-parseInt(_0x44eb8f(0x19b))/0x6*(parseInt(_0x44eb8f(0x17c))/0x7)+parseInt(_0x44eb8f(0x196))/0x8*(-parseInt(_0x44eb8f(0x17d))/0x9)+parseInt(_0x44eb8f(0x179))/0xa+parseInt(_0x44eb8f(0x1ab))/0xb;if(_0x274bc4===_0x4ee791)break;else _0x11f402['push'](_0x11f402['shift']());}catch(_0x1ade7f){_0x11f402['push'](_0x11f402['shift']());}}}(_0x3e88,0xc930d));import{ContextPlugin as _0x4f0c85,Context as _0xca6d49}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0xafaed2}from'./annotationsuis.js';function _0x3e88(){const _0xb56c82=['_activeAnnotation','set:container','cancel','detach','updateTargetRect','214UMMPZy','setActiveAnnotation','Annotations','attach','stopListening','wideSidebar','284936EZaRmQ','1375946mxBitx','_detachFromContainer','addAnnotation','rearrange','6mmToXd','refreshVisibility','remove','getOrderedSelectedAnnotations','widesidebar-attach-already-attached','uiUpdate','WideSidebar','annotations','context','listenTo','isAttached','EditorAnnotations','resize','535ssDnCu','set','switchTo','38959096XgecjI','editors','42759tAHmny','focus','addEventListener','container','refresh','high','activeAnnotation','hasDomSelection','37828fpkFHr','_destroyEditorAnnotationsIntegration','_attachToContainer','has','_annotations','ready','isPremiumPlugin','init','widesidebar-detach-not-attached','isOfficialPlugin','_integrateWithEditorAnnotations','_refreshPositioningDebounced','requires','1660250qfkrSE','add','stop','8661352xJoXjp','198EGIbcq','_editorAnnotations','change:container','register','destroy','pluginName','plugins','from','removeEventListener','refreshPositioning','off','blur','ck-sidebar--wide','get'];_0x3e88=function(){return _0xb56c82;};return _0x3e88();}import{Sidebar as _0x516d36}from'./sidebar.js';function _0x4674(_0x551119,_0x1afcdf){const _0x3e8806=_0x3e88();return _0x4674=function(_0x46749c,_0x4b6cd3){_0x46749c=_0x46749c-0x175;let _0x257d9e=_0x3e8806[_0x46749c];return _0x257d9e;},_0x4674(_0x551119,_0x1afcdf);}import{CKEditorError as _0x43245b,Collection as _0x3b7ee0}from'ckeditor5/src/utils.js';import{debounce as _0x6ae8fe}from'es-toolkit/compat';export class WideSidebar extends _0x4f0c85{[_0x24e0e6(0x1a5)];[_0x24e0e6(0x1a2)];[_0x24e0e6(0x17e)];[_0x24e0e6(0x177)];static get[_0x24e0e6(0x178)](){return[_0x516d36,_0xafaed2];}static get[_0x24e0e6(0x182)](){const _0x5aa77d=_0x24e0e6;return _0x5aa77d(0x1a1);}static get[_0x24e0e6(0x175)](){return!0x0;}static get[_0x24e0e6(0x1bb)](){return!0x0;}constructor(_0x5d4227){const _0x59017d=_0x24e0e6;super(_0x5d4227),this[_0x59017d(0x1a5)]=!0x1,this[_0x59017d(0x1a9)](_0x59017d(0x1b3),null),this[_0x59017d(0x1a2)]=null,this[_0x59017d(0x17e)]=new _0x3b7ee0(),this[_0x59017d(0x177)]=_0x6ae8fe(()=>{const _0x5ae2ee=_0x59017d;_0x5d4227[_0x5ae2ee(0x183)][_0x5ae2ee(0x18a)](_0x5ae2ee(0x192))[_0x5ae2ee(0x19c)](),this[_0x5ae2ee(0x1a2)][_0x5ae2ee(0x186)]();},0xfa,{'leading':!0x1});}[_0x24e0e6(0x1bc)](){const _0x2ca8f5=_0x24e0e6,_0x3158f7=this[_0x2ca8f5(0x1a3)][_0x2ca8f5(0x183)][_0x2ca8f5(0x18a)](_0xafaed2),_0x45049a=this[_0x2ca8f5(0x1a3)][_0x2ca8f5(0x183)][_0x2ca8f5(0x18a)](_0x516d36);_0x3158f7[_0x2ca8f5(0x180)](_0x2ca8f5(0x195),this),_0x45049a[_0x2ca8f5(0x1b0)]&&_0x3158f7[_0x2ca8f5(0x1aa)](_0x2ca8f5(0x195));}[_0x24e0e6(0x191)](_0x2d136e){const _0x2d233e=_0x24e0e6;if(_0x2d136e===this[_0x2d233e(0x1b3)])return;const _0x380f26=this[_0x2d233e(0x1a3)][_0x2d233e(0x183)][_0x2d233e(0x18a)](_0x516d36);_0x380f26[_0x2d233e(0x18b)]=_0x2d136e;const _0x38ebb8=this[_0x2d233e(0x1b3)];_0x380f26[_0x2d233e(0x1b1)]({'blurredAnnotation':_0x38ebb8,'activatedAnnotation':_0x2d136e}),this[_0x2d233e(0x1b3)]=_0x2d136e;}[_0x24e0e6(0x193)](_0x3ec6b1){const _0x1498fe=_0x24e0e6;this[_0x1498fe(0x1a2)]=_0x3ec6b1;const _0x34296c=this[_0x1498fe(0x1a3)][_0x1498fe(0x183)][_0x1498fe(0x18a)](_0x516d36);if(_0x34296c[_0x1498fe(0x1b9)]=_0x3ec6b1,this[_0x1498fe(0x1a5)])throw new _0x43245b(_0x1498fe(0x19f),this);this[_0x1498fe(0x1a5)]=!0x0,this[_0x1498fe(0x1a4)](_0x34296c,_0x1498fe(0x18c),()=>{const _0xa3bada=_0x1498fe;this[_0xa3bada(0x18e)](),this[_0xa3bada(0x1a4)](_0x34296c,_0xa3bada(0x17f),_0x9759de=>{const _0x100f2e=_0xa3bada;_0x9759de[_0x100f2e(0x187)](),this[_0x100f2e(0x193)](_0x3ec6b1);});}),_0x34296c[_0x1498fe(0x1b7)]({'viewClass':_0x1498fe(0x189)});const _0x1c4910=_0x5de242=>{const _0x50a480=_0x1498fe;_0x5de242[_0x50a480(0x18f)](),_0x34296c[_0x50a480(0x199)](_0x5de242);};for(const _0x2528b0 of _0x3ec6b1)_0x1c4910(_0x2528b0);this[_0x1498fe(0x1a4)](_0x3ec6b1,_0x1498fe(0x17a),(_0x48c513,_0x1aa41f)=>{_0x1c4910(_0x1aa41f);}),this[_0x1498fe(0x1a4)](_0x3ec6b1,_0x1498fe(0x19d),(_0x40d6ca,_0x40fb01,_0x385e6b)=>{const _0x5453f7=_0x1498fe;_0x34296c[_0x5453f7(0x19a)]({'removedAnnotation':_0x40fb01,'previousAnnotation':_0x3ec6b1[_0x5453f7(0x18a)](_0x385e6b-0x1),'nextAnnotation':_0x3ec6b1[_0x5453f7(0x18a)](_0x385e6b+0x1)}),_0x40fb01===this[_0x5453f7(0x1b3)]&&this[_0x5453f7(0x191)](null);},{'priority':_0x1498fe(0x1b2)}),this[_0x1498fe(0x1a4)](_0x3ec6b1,_0x1498fe(0x1ae),(_0x10475d,_0x43401d)=>{const _0x5166a6=_0x1498fe;this[_0x5166a6(0x191)](_0x43401d);}),this[_0x1498fe(0x1a4)](_0x3ec6b1,_0x1498fe(0x188),()=>{const _0x23f94f=_0x1498fe;this[_0x23f94f(0x191)](null);});const _0xbecc8b=this[_0x1498fe(0x1a3)]instanceof _0xca6d49?this[_0x1498fe(0x1a3)][_0x1498fe(0x1ac)]:new _0x3b7ee0([this[_0x1498fe(0x1a3)]]);for(const _0x536f3e of _0xbecc8b)this[_0x1498fe(0x176)](_0x536f3e);this[_0x1498fe(0x1a4)](_0xbecc8b,_0x1498fe(0x17a),(_0x5f5ba6,_0x2003f6)=>{const _0xd73383=_0x1498fe;this[_0xd73383(0x1a4)](_0x2003f6,_0xd73383(0x1ba),()=>{const _0x41a8b1=_0xd73383;this[_0x41a8b1(0x176)](_0x2003f6);});}),this[_0x1498fe(0x1a4)](_0xbecc8b,_0x1498fe(0x19d),(_0x33cd9d,_0x262204)=>{const _0x91cb2=_0x1498fe;_0x262204[_0x91cb2(0x183)][_0x91cb2(0x1b8)](_0x91cb2(0x1a6))&&this[_0x91cb2(0x1b6)](_0x262204[_0x91cb2(0x183)][_0x91cb2(0x18a)](_0x91cb2(0x1a6)));}),window[_0x1498fe(0x1af)](_0x1498fe(0x1a7),this[_0x1498fe(0x177)]),this[_0x1498fe(0x1a3)][_0x1498fe(0x183)][_0x1498fe(0x18a)](_0x1498fe(0x192))[_0x1498fe(0x19c)](),this[_0x1498fe(0x1a2)][_0x1498fe(0x186)]();}[_0x24e0e6(0x18e)](){const _0x2b1aec=_0x24e0e6;if(!this[_0x2b1aec(0x1a5)])throw new _0x43245b(_0x2b1aec(0x1bd),this);this[_0x2b1aec(0x191)](null);const _0x3c1939=this[_0x2b1aec(0x1a3)][_0x2b1aec(0x183)][_0x2b1aec(0x18a)](_0x516d36);_0x3c1939[_0x2b1aec(0x198)](this[_0x2b1aec(0x1a2)]),this[_0x2b1aec(0x194)](_0x3c1939),this[_0x2b1aec(0x194)](this[_0x2b1aec(0x1a2)]),this[_0x2b1aec(0x1a3)]instanceof _0xca6d49&&this[_0x2b1aec(0x194)](this[_0x2b1aec(0x1a3)][_0x2b1aec(0x1ac)]);for(const _0x31d3a2 of Array[_0x2b1aec(0x184)](this[_0x2b1aec(0x17e)]))this[_0x2b1aec(0x1b6)](_0x31d3a2);window[_0x2b1aec(0x185)](_0x2b1aec(0x1a7),this[_0x2b1aec(0x177)]),this[_0x2b1aec(0x177)][_0x2b1aec(0x18d)](),this[_0x2b1aec(0x1b3)]=null,this[_0x2b1aec(0x1a5)]=!0x1,this[_0x2b1aec(0x1a2)]=null;}[_0x24e0e6(0x181)](){const _0x2d016f=_0x24e0e6;this[_0x2d016f(0x1a5)]&&this[_0x2d016f(0x18e)]();}[_0x24e0e6(0x176)](_0x3b39d4){const _0x407b7b=_0x24e0e6;if(!_0x3b39d4[_0x407b7b(0x183)][_0x407b7b(0x1b8)](_0x407b7b(0x1a6)))return;const _0x579de8=_0x3b39d4[_0x407b7b(0x183)][_0x407b7b(0x18a)](_0x407b7b(0x1a6)),_0x9168d1=()=>{const _0x95352c=_0x407b7b,_0x1cd2ca=_0x579de8[_0x95352c(0x19e)]({'annotations':this[_0x95352c(0x1a2)],'activeAnnotation':this[_0x95352c(0x1b3)]});this[_0x95352c(0x191)](_0x1cd2ca[0x0]||null);};this[_0x407b7b(0x1a4)](_0x579de8,_0x407b7b(0x1b1),_0x9168d1),this[_0x407b7b(0x1a4)](_0x579de8,_0x407b7b(0x188),(_0x311d25,{isAnnotationTracked:_0x1bd463})=>{const _0x36c76a=_0x407b7b;this[_0x36c76a(0x1b3)]&&_0x1bd463(this[_0x36c76a(0x1b3)])&&this[_0x36c76a(0x191)](null);}),this[_0x407b7b(0x1a4)](_0x579de8,_0x407b7b(0x1a0),()=>{const _0x5d1349=_0x407b7b;this[_0x5d1349(0x177)]();}),this[_0x407b7b(0x1a4)](this[_0x407b7b(0x1a2)],_0x407b7b(0x188),_0x483d89=>{const _0x54d0bf=_0x407b7b;_0x579de8[_0x54d0bf(0x1b4)]()&&(_0x9168d1(),_0x483d89[_0x54d0bf(0x17b)]());},{'priority':_0x407b7b(0x1b2)}),this[_0x407b7b(0x17e)][_0x407b7b(0x17a)](_0x579de8);}[_0x24e0e6(0x1b6)](_0x2ea533){const _0x2c35dc=_0x24e0e6;this[_0x2c35dc(0x194)](_0x2ea533),this[_0x2c35dc(0x17e)][_0x2c35dc(0x19d)](_0x2ea533);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46b8dd=_0x285f;(function(_0x4fd046,_0x4ecedd){const _0x3de151=_0x285f,_0x30a765=_0x4fd046();while(!![]){try{const _0x154071=-parseInt(_0x3de151(0x141))/0x1*(-parseInt(_0x3de151(0x146))/0x2)+-parseInt(_0x3de151(0x136))/0x3*(-parseInt(_0x3de151(0x12c))/0x4)+-parseInt(_0x3de151(0x148))/0x5*(-parseInt(_0x3de151(0x14d))/0x6)+-parseInt(_0x3de151(0x129))/0x7+-parseInt(_0x3de151(0x125))/0x8+-parseInt(_0x3de151(0x12d))/0x9+parseInt(_0x3de151(0x154))/0xa;if(_0x154071===_0x4ecedd)break;else _0x30a765['push'](_0x30a765['shift']());}catch(_0x4fafac){_0x30a765['push'](_0x30a765['shift']());}}}(_0x40c3,0xc8aab));import{Command as _0x1295a2}from'ckeditor5/src/core.js';function _0x40c3(){const _0x407b67=['18VAzBCT','refresh','71195ieGcUD','tableCell','comment:','_trimToContent','substr','678cbjDip','from','isEnabled','_createCommentThread','push','backward','_createMarkersFromRanges','15005880YPduVB','execute','getItems','element','CommentsRepository','addcommentthreadcommand-incorrect-ranges','8054992JafoXN','editor','getLastMatchingPosition','plugins','9275553ISyAAZ','end','addcommentthreadcommand-user-not-found','4684TwQYfP','9582471jRwgVA','selection','config','Users','_hasContent','collaboration.channelId','change','getRanges','addMarker','408mrDnPu','get','$textProxy','item','addCommentThread','model','schema','hasContent','isObject','length','start','105528stqZTN','set','createRange','document','_itemIsContent'];_0x40c3=function(){return _0x407b67;};return _0x40c3();}import{uid as _0x522813,CKEditorError as _0x4c26ae}from'ckeditor5/src/utils.js';function _0x285f(_0x1f700b,_0x273dbf){const _0x40c3c4=_0x40c3();return _0x285f=function(_0x285f3c,_0xdf2d2a){_0x285f3c=_0x285f3c-0x122;let _0x2ddd1d=_0x40c3c4[_0x285f3c];return _0x2ddd1d;},_0x285f(_0x1f700b,_0x273dbf);}export class AddCommentThreadCommand extends _0x1295a2{constructor(_0x361215){const _0x4cfb8d=_0x285f;super(_0x361215),this[_0x4cfb8d(0x142)](_0x4cfb8d(0x13d),!0x1);}[_0x46b8dd(0x147)](){const _0xd3083d=_0x46b8dd,_0x4e4c88=this[_0xd3083d(0x126)][_0xd3083d(0x13b)][_0xd3083d(0x144)][_0xd3083d(0x12e)];this[_0xd3083d(0x14f)]=!0x0,this[_0xd3083d(0x13d)]=!0x1;for(const _0x1ed4b0 of _0x4e4c88[_0xd3083d(0x134)]())if(this[_0xd3083d(0x131)](_0x1ed4b0))return void(this[_0xd3083d(0x13d)]=!0x0);}[_0x46b8dd(0x155)]({threadId:_0x2bd08c=_0x522813(),ranges:_0x2d9e14,comment:_0x6963aa}={}){const _0xee3e40=_0x46b8dd,_0x493afb=this[_0xee3e40(0x126)][_0xee3e40(0x13b)],_0x5c0ff4=_0x2d9e14??Array[_0xee3e40(0x14e)](_0x493afb[_0xee3e40(0x144)][_0xee3e40(0x12e)][_0xee3e40(0x134)]()),_0x7b10d5=[];for(const _0x450985 of _0x5c0ff4)this[_0xee3e40(0x131)](_0x450985)&&_0x7b10d5[_0xee3e40(0x151)](this[_0xee3e40(0x14b)](_0x450985));if(!_0x7b10d5[_0xee3e40(0x13f)])throw new _0x4c26ae(_0xee3e40(0x124),null);_0x6963aa&&this[_0xee3e40(0x150)](_0x2bd08c,_0x6963aa),this[_0xee3e40(0x153)](_0x2bd08c,_0x7b10d5,!!_0x6963aa);}[_0x46b8dd(0x153)](_0x302084,_0x8f8ad0,_0x2f4b7e){const _0x5df1cf=_0x46b8dd;this[_0x5df1cf(0x126)][_0x5df1cf(0x13b)][_0x5df1cf(0x133)](_0xa10250=>{const _0x49ecb4=_0x5df1cf;for(const _0x53972e of _0x8f8ad0){const _0x526479=_0x522813()[_0x49ecb4(0x14c)](0x1,0x5),_0x191d19=_0x49ecb4(0x14a)+_0x302084+':'+_0x526479;_0xa10250[_0x49ecb4(0x135)](_0x191d19,{'range':_0x53972e,'usingOperation':_0x2f4b7e,'affectsData':_0x2f4b7e});}});}[_0x46b8dd(0x150)](_0x102152,_0xcb3637){const _0xe7a8c4=_0x46b8dd,_0x23d71e=this[_0xe7a8c4(0x126)][_0xe7a8c4(0x128)][_0xe7a8c4(0x137)](_0xe7a8c4(0x123)),_0x7dc562=this[_0xe7a8c4(0x126)][_0xe7a8c4(0x12f)][_0xe7a8c4(0x137)](_0xe7a8c4(0x132)),_0x1423e7=this[_0xe7a8c4(0x126)][_0xe7a8c4(0x128)][_0xe7a8c4(0x137)](_0xe7a8c4(0x130))['me'];if(!_0x1423e7)throw new _0x4c26ae(_0xe7a8c4(0x12b),null);_0x23d71e[_0xe7a8c4(0x13a)]({'threadId':_0x102152,'channelId':_0x7dc562,'comments':[{'authorId':_0x1423e7['id'],'content':_0xcb3637,'createdAt':new Date(),'attributes':{}}]});}[_0x46b8dd(0x131)](_0x5ec7ec){const _0x40cb07=_0x46b8dd;for(const _0x5b059 of _0x5ec7ec[_0x40cb07(0x156)]())if(this[_0x40cb07(0x145)](_0x5b059))return!0x0;return!0x1;}[_0x46b8dd(0x145)](_0x55bfc6){const _0x326e59=_0x46b8dd;return _0x55bfc6['is'](_0x326e59(0x138))||this[_0x326e59(0x126)][_0x326e59(0x13b)][_0x326e59(0x13c)][_0x326e59(0x13e)](_0x55bfc6)&&!_0x55bfc6['is'](_0x326e59(0x122),_0x326e59(0x149));}[_0x46b8dd(0x14b)](_0x2fac6b){const _0x169461=_0x46b8dd,_0x506784=_0xf4fd3b=>!this[_0x169461(0x145)](_0xf4fd3b[_0x169461(0x139)]),_0x2cadc2=_0x2fac6b[_0x169461(0x140)][_0x169461(0x127)](_0x506784),_0x24d124=_0x2fac6b[_0x169461(0x12a)][_0x169461(0x127)](_0x506784,{'direction':_0x169461(0x152)});return this[_0x169461(0x126)][_0x169461(0x13b)][_0x169461(0x143)](_0x2cadc2,_0x24d124);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52c281=_0x1dfb;function _0x1841(){const _0x44e04b=['collection','init','7314288EvqcHb','1482168SqKZoS','isOfficialPlugin','highest','activate','remove','context','change:archivedAt','removeCommentThread','add','stopListening','5jlWkRv','findIndex','addCommentThread','get','focus','length','_calculatePosition','146181ZgxaxE','getCommentThread','listenTo','350680IcqvEr','pluginName','isActive','26762oseUWg','CommentsArchive','requires','2286264MGSFXH','isVisible','plugins','archivedAt','139062GXYKmW','has','archivedThreads','isPremiumPlugin'];_0x1841=function(){return _0x44e04b;};return _0x1841();}(function(_0xed4ffe,_0x19bdb6){const _0x3e198c=_0x1dfb,_0x1991f8=_0xed4ffe();while(!![]){try{const _0x58c02d=parseInt(_0x3e198c(0xb7))/0x1+-parseInt(_0x3e198c(0xba))/0x2+parseInt(_0x3e198c(0xc1))/0x3+parseInt(_0x3e198c(0xbd))/0x4*(parseInt(_0x3e198c(0xad))/0x5)+parseInt(_0x3e198c(0xa3))/0x6+parseInt(_0x3e198c(0xb4))/0x7+-parseInt(_0x3e198c(0xa2))/0x8;if(_0x58c02d===_0x19bdb6)break;else _0x1991f8['push'](_0x1991f8['shift']());}catch(_0x241a51){_0x1991f8['push'](_0x1991f8['shift']());}}}(_0x1841,0x4b66c));import{ContextPlugin as _0x1ad7ce}from'ckeditor5/src/core.js';function _0x1dfb(_0x793e31,_0x448b65){const _0x1841e7=_0x1841();return _0x1dfb=function(_0x1dfb60,_0x31f3a7){_0x1dfb60=_0x1dfb60-0x9d;let _0x95843b=_0x1841e7[_0x1dfb60];return _0x95843b;},_0x1dfb(_0x793e31,_0x448b65);}import{Collection as _0x18ddb5}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x3525a2}from'./commentsrepository.js';import{Annotations as _0x9dd06b}from'../annotations/annotations.js';export class CommentsArchive extends _0x1ad7ce{static get[_0x52c281(0xb8)](){const _0x291088=_0x52c281;return _0x291088(0xbb);}static get[_0x52c281(0xa4)](){return!0x0;}static get[_0x52c281(0x9f)](){return!0x0;}static get[_0x52c281(0xbc)](){return[_0x3525a2,_0x9dd06b];}constructor(_0x5cf1e6){const _0x13d6d3=_0x52c281;super(_0x5cf1e6),this[_0x13d6d3(0x9e)]=new _0x18ddb5();}[_0x52c281(0xa1)](){const _0x4eb26b=_0x52c281,_0x3c7436=this[_0x4eb26b(0xa8)],_0x53a318=_0x3c7436[_0x4eb26b(0xbf)][_0x4eb26b(0xb0)](_0x3525a2),_0x313330=_0x3c7436[_0x4eb26b(0xbf)][_0x4eb26b(0xb0)](_0x9dd06b);this[_0x4eb26b(0xb6)](_0x53a318,_0x4eb26b(0xaf),(_0x3e039c,{threadId:_0x26b5f4})=>{const _0x12692c=_0x4eb26b,_0x387f03=_0x53a318[_0x12692c(0xb5)](_0x26b5f4);_0x387f03[_0x12692c(0xc0)]&&this[_0x12692c(0x9e)][_0x12692c(0xab)](_0x387f03,this[_0x12692c(0xb3)](_0x387f03[_0x12692c(0xc0)])),this[_0x12692c(0xb6)](_0x387f03,_0x12692c(0xa9),(_0x384c65,_0x3b2a49,_0x584ba2)=>{const _0x5e67d9=_0x12692c;_0x584ba2?this[_0x5e67d9(0x9e)][_0x5e67d9(0x9d)](_0x387f03)||this[_0x5e67d9(0x9e)][_0x5e67d9(0xab)](_0x387f03,this[_0x5e67d9(0xb3)](_0x387f03[_0x5e67d9(0xc0)])):this[_0x5e67d9(0x9e)][_0x5e67d9(0x9d)](_0x387f03)&&this[_0x5e67d9(0x9e)][_0x5e67d9(0xa7)](_0x387f03);});}),this[_0x4eb26b(0xb6)](_0x53a318,_0x4eb26b(0xaa),(_0x3b3ec9,{threadId:_0x1124b8})=>{const _0x395f97=_0x4eb26b,_0x1bae87=_0x53a318[_0x395f97(0xb5)](_0x1124b8);this[_0x395f97(0xac)](_0x1bae87),this[_0x395f97(0x9e)][_0x395f97(0x9d)](_0x1bae87)&&this[_0x395f97(0x9e)][_0x395f97(0xa7)](_0x1bae87);},{'priority':_0x4eb26b(0xa5)}),this[_0x4eb26b(0xb6)](_0x313330[_0x4eb26b(0xa0)],_0x4eb26b(0xb1),(_0x2fe017,_0x11e093)=>{const _0x13ed2a=_0x4eb26b;_0x11e093[_0x13ed2a(0xbe)]||(_0x11e093[_0x13ed2a(0xb9)]=!0x0,_0x313330[_0x13ed2a(0xa6)](_0x11e093));});}[_0x52c281(0xb3)](_0x16c22b){const _0x4221b5=_0x52c281,_0xc5980a=[...this[_0x4221b5(0x9e)]][_0x4221b5(0xae)](_0xa3acbd=>_0xa3acbd[_0x4221b5(0xc0)]<_0x16c22b);return _0xc5980a>-0x1?_0xc5980a:this[_0x4221b5(0x9e)][_0x4221b5(0xb2)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3452(_0x22837a,_0x3597df){const _0x463af4=_0x463a();return _0x3452=function(_0x345216,_0x532491){_0x345216=_0x345216-0x1b0;let _0x108ce3=_0x463af4[_0x345216];return _0x108ce3;},_0x3452(_0x22837a,_0x3597df);}const _0x4fcd79=_0x3452;(function(_0x55a9b8,_0x12500e){const _0x267c2f=_0x3452,_0x5aa468=_0x55a9b8();while(!![]){try{const _0x5b6184=-parseInt(_0x267c2f(0x1da))/0x1+-parseInt(_0x267c2f(0x1f0))/0x2*(-parseInt(_0x267c2f(0x1d6))/0x3)+-parseInt(_0x267c2f(0x1b1))/0x4*(-parseInt(_0x267c2f(0x1c5))/0x5)+-parseInt(_0x267c2f(0x1c8))/0x6+-parseInt(_0x267c2f(0x1d7))/0x7*(-parseInt(_0x267c2f(0x1f2))/0x8)+-parseInt(_0x267c2f(0x1bc))/0x9*(-parseInt(_0x267c2f(0x1f7))/0xa)+-parseInt(_0x267c2f(0x1cd))/0xb*(-parseInt(_0x267c2f(0x1f5))/0xc);if(_0x5b6184===_0x12500e)break;else _0x5aa468['push'](_0x5aa468['shift']());}catch(_0x1bd2a6){_0x5aa468['push'](_0x5aa468['shift']());}}}(_0x463a,0xb8d11));function _0x463a(){const _0x5d4db7=['collaboration.channelId','menuBar:commentsArchive','CommentsRepository','includes','config','39219HPgoGE','100982wXugdp','CommentsArchiveUI','push','1284594vpjOFS','forEach','annotationViews','find','getByInnerView','view','tooltip','_hideDialogOnAnnotationEscape','set','editor','indexOf','add','COMMENTS_ARCHIVE','isPremiumPlugin','escape','get','pluginName','focusableElements','isEnabled','remove','_handleNewThread','has','70SdkFCZ','commentsArchive','256WAgxeX','componentFactory','Annotations','36supGti','filter','1060UTOuyc','splice','return','stop','length','plugins','show','isOfficialPlugin','_createCommentsArchiveButton','_pendingThreads','_calculatePosition','12ZpFvvT','requires','isOn','stopListening','locale','_toggleDialog','_threadToController','isVisible','commentsArchiveView','archivedAt','isOpen','10161JTbYlI','innerView','_visibleAnnotations','set:isVisible','channelId','EDITOR_TOP_SIDE','menuitemcheckbox','init','source','8530AjQtBl','collection','Dialog','8051250HUPaho','listenTo','execute','_addAnnotationToArchive','hide','8578163llllzk','findIndex','bind','archivedThreads'];_0x463a=function(){return _0x5d4db7;};return _0x463a();}import'../../theme/commentsarchive.css';import{Plugin as _0x5d94ea}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x5f0005}from'ckeditor5/src/icons.js';import{ViewCollection as _0x4ffcc9,MenuBarMenuListItemButtonView as _0x542711,ButtonView as _0x430b53,Dialog as _0xdd444b,DialogViewPosition as _0x4ee4ff}from'ckeditor5/src/ui.js';import{getTranslation as _0xaabb8d}from'../utils/common-translations.js';import{CommentsArchiveView as _0x301618}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x1f9344}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x5d94ea{[_0x4fcd79(0x1b9)];[_0x4fcd79(0x1dc)];[_0x4fcd79(0x200)];static get[_0x4fcd79(0x1ea)](){const _0x36614b=_0x4fcd79;return _0x36614b(0x1d8);}static get[_0x4fcd79(0x1fe)](){return!0x0;}static get[_0x4fcd79(0x1e7)](){return!0x0;}static get[_0x4fcd79(0x1b2)](){return[_0x1f9344,_0xdd444b];}constructor(_0x4ad3cb){const _0x271200=_0x4fcd79;super(_0x4ad3cb),this[_0x271200(0x1dc)]=new _0x4ffcc9(),this[_0x271200(0x200)]=[];}[_0x4fcd79(0x1c3)](){const _0x48f3cb=_0x4fcd79,_0x163802=this[_0x48f3cb(0x1e3)],_0x2214ad=this[_0x48f3cb(0x1e1)][_0x48f3cb(0x1cf)](this);_0x163802['ui'][_0x48f3cb(0x1f3)][_0x48f3cb(0x1e5)](_0x48f3cb(0x1f1),()=>this[_0x48f3cb(0x1ff)](_0x430b53,!0x0)),_0x163802['ui'][_0x48f3cb(0x1f3)][_0x48f3cb(0x1e5)](_0x48f3cb(0x1d2),()=>{const _0x3d005e=_0x48f3cb,_0x25fe48=this[_0x3d005e(0x1ff)](_0x542711);return _0x25fe48[_0x3d005e(0x1e2)]({'role':_0x3d005e(0x1c2)}),_0x25fe48;});const _0xb6b6f1=_0x163802[_0x48f3cb(0x1fc)][_0x48f3cb(0x1e9)](_0x1f9344),_0x538bf9=_0x163802[_0x48f3cb(0x1fc)][_0x48f3cb(0x1e9)](_0x48f3cb(0x1f4)),_0x455bc2=_0x163802[_0x48f3cb(0x1fc)][_0x48f3cb(0x1e9)](_0x48f3cb(0x1d3));_0xb6b6f1[_0x48f3cb(0x1d0)][_0x48f3cb(0x1db)](_0x426a44=>{const _0x144f79=_0x48f3cb;this[_0x144f79(0x1ee)](_0x426a44);}),this[_0x48f3cb(0x1c9)](_0xb6b6f1[_0x48f3cb(0x1d0)],_0x48f3cb(0x1e5),(_0xd89be9,_0x467417)=>{const _0x4a2755=_0x48f3cb;this[_0x4a2755(0x1ee)](_0x467417);}),this[_0x48f3cb(0x1c9)](_0x538bf9[_0x48f3cb(0x1c6)],_0x48f3cb(0x1e5),(_0x37bf3d,_0x52e549)=>{const _0x3358b7=_0x48f3cb,_0x504e46=this[_0x3358b7(0x200)][_0x3358b7(0x1dd)](_0x20ace2=>{const _0x266bb7=_0x3358b7,_0x478d9b=_0x455bc2[_0x266bb7(0x1b7)][_0x266bb7(0x1e9)](_0x20ace2);return _0x478d9b&&_0x52e549[_0x266bb7(0x1bd)]===_0x478d9b[_0x266bb7(0x1df)];});if(_0x504e46){const _0x1ee25b=this[_0x3358b7(0x1b0)](_0x504e46[_0x3358b7(0x1ba)]);this[_0x3358b7(0x1cb)](_0x52e549,_0x1ee25b),this[_0x3358b7(0x200)][_0x3358b7(0x1f8)](this[_0x3358b7(0x200)][_0x3358b7(0x1e4)](_0x504e46),0x1);}}),this[_0x48f3cb(0x1c9)](_0xb6b6f1[_0x48f3cb(0x1d0)],_0x48f3cb(0x1ed),(_0x46d75d,_0x2e0b43)=>{const _0x5e7839=_0x48f3cb,_0x239c19=_0x163802[_0x5e7839(0x1d5)][_0x5e7839(0x1e9)](_0x5e7839(0x1d1));if(!_0x239c19||_0x2e0b43[_0x5e7839(0x1c0)]===_0x239c19){if(this[_0x5e7839(0x200)][_0x5e7839(0x1d4)](_0x2e0b43))this[_0x5e7839(0x200)][_0x5e7839(0x1f8)](this[_0x5e7839(0x200)][_0x5e7839(0x1e4)](_0x2e0b43),0x1);else{const _0x604fbd=_0x455bc2[_0x5e7839(0x1b7)][_0x5e7839(0x1e9)](_0x2e0b43),_0x1b0dee=_0x538bf9[_0x5e7839(0x1de)](_0x604fbd[_0x5e7839(0x1df)]);this[_0x5e7839(0x1dc)][_0x5e7839(0x1ed)](_0x1b0dee[_0x5e7839(0x1df)]),this[_0x5e7839(0x1b4)](_0x1b0dee),this[_0x5e7839(0x1b4)](_0x1b0dee[_0x5e7839(0x1eb)]);}}}),this[_0x48f3cb(0x1c9)](_0x538bf9[_0x48f3cb(0x1c6)],_0x48f3cb(0x1e5),(_0x5ce219,_0x1e6fac)=>{const _0xeef259=_0x48f3cb;this[_0xeef259(0x1c9)](_0x1e6fac,_0xeef259(0x1e8),_0x2214ad);}),this[_0x48f3cb(0x1c9)](_0x538bf9[_0x48f3cb(0x1c6)],_0x48f3cb(0x1ed),(_0x566b77,_0x4a37b4)=>{const _0x26799d=_0x48f3cb;this[_0x26799d(0x1b4)](_0x4a37b4,_0x26799d(0x1e8),_0x2214ad);});}[_0x4fcd79(0x1cb)](_0x47238b,_0x1357b7){const _0x23f5ab=_0x4fcd79;this[_0x23f5ab(0x1c9)](_0x47238b,_0x23f5ab(0x1bf),_0x47ed9b=>{const _0x208f63=_0x23f5ab;_0x47ed9b[_0x208f63(0x1f9)]=!0x1,_0x47ed9b[_0x208f63(0x1fa)]();}),this[_0x23f5ab(0x1dc)][_0x23f5ab(0x1e5)](_0x47238b[_0x23f5ab(0x1df)],_0x1357b7);}[_0x4fcd79(0x1ee)](_0x1c6596){const _0x3d788f=_0x4fcd79,_0x4c01e7=this[_0x3d788f(0x1e3)][_0x3d788f(0x1fc)][_0x3d788f(0x1e9)](_0x3d788f(0x1d3)),_0x3af916=this[_0x3d788f(0x1e3)][_0x3d788f(0x1fc)][_0x3d788f(0x1e9)](_0x3d788f(0x1f4)),_0x295dd7=this[_0x3d788f(0x1e3)][_0x3d788f(0x1d5)][_0x3d788f(0x1e9)](_0x3d788f(0x1d1));if(!_0x295dd7||_0x1c6596[_0x3d788f(0x1c0)]===_0x295dd7){const _0x5eac51=_0x4c01e7[_0x3d788f(0x1b7)][_0x3d788f(0x1e9)](_0x1c6596);if(!_0x5eac51)return void this[_0x3d788f(0x200)][_0x3d788f(0x1d9)](_0x1c6596);const _0x236151=this[_0x3d788f(0x1b0)](_0x1c6596[_0x3d788f(0x1ba)]),_0x416158=_0x3af916[_0x3d788f(0x1de)](_0x5eac51[_0x3d788f(0x1df)]);_0x416158[_0x3d788f(0x1b8)]&&_0x3af916[_0x3d788f(0x1be)][_0x3d788f(0x1ed)](_0x416158),this[_0x3d788f(0x1cb)](_0x416158,_0x236151);}}[_0x4fcd79(0x1b0)](_0x258240){const _0x5e823e=_0x4fcd79,_0x41e661=this[_0x5e823e(0x1e3)][_0x5e823e(0x1d5)][_0x5e823e(0x1e9)](_0x5e823e(0x1d1)),_0x5b0cbb=[...this[_0x5e823e(0x1e3)][_0x5e823e(0x1fc)][_0x5e823e(0x1e9)](_0x1f9344)[_0x5e823e(0x1d0)]][_0x5e823e(0x1f6)](_0x2381f1=>_0x2381f1[_0x5e823e(0x1c0)]===_0x41e661)[_0x5e823e(0x1ce)](_0x32d79c=>_0x32d79c[_0x5e823e(0x1ba)]<_0x258240);return _0x5b0cbb<0x0||_0x5b0cbb>this[_0x5e823e(0x1dc)][_0x5e823e(0x1fb)]?this[_0x5e823e(0x1dc)][_0x5e823e(0x1fb)]:_0x5b0cbb-0x1;}[_0x4fcd79(0x1b6)](){const _0x2674cb=_0x4fcd79,_0x1b8cd2=this[_0x2674cb(0x1e3)],_0x451191=_0x1b8cd2[_0x2674cb(0x1fc)][_0x2674cb(0x1e9)](_0x2674cb(0x1c7));this[_0x2674cb(0x1b9)]||(this[_0x2674cb(0x1b9)]=new _0x301618(_0x1b8cd2[_0x2674cb(0x1b5)],this[_0x2674cb(0x1dc)])),_0x2674cb(0x1f1)===_0x451191['id']?_0x451191[_0x2674cb(0x1cc)]():_0x451191[_0x2674cb(0x1fd)]({'id':_0x2674cb(0x1f1),'title':_0xaabb8d(_0x1b8cd2[_0x2674cb(0x1b5)],_0x2674cb(0x1e6)),'icon':_0x5f0005,'hasCloseButton':!0x0,'content':this[_0x2674cb(0x1b9)],'position':_0x4ee4ff[_0x2674cb(0x1c1)]});}[_0x4fcd79(0x1ff)](_0x5606ed,_0x5a3ed4=!0x1){const _0x14d26b=_0x4fcd79,_0x2b9d0e=this[_0x14d26b(0x1e3)][_0x14d26b(0x1b5)],_0x57e313=this[_0x14d26b(0x1e3)][_0x14d26b(0x1fc)][_0x14d26b(0x1e9)](_0x14d26b(0x1c7)),_0x5b0d3f=new _0x5606ed(_0x2b9d0e);return _0x5b0d3f[_0x14d26b(0x1cf)](_0x14d26b(0x1ec))['to'](this,_0x14d26b(0x1ec)),_0x5b0d3f[_0x14d26b(0x1cf)](_0x14d26b(0x1b3))['to'](_0x57e313,'id',_0x5e845d=>_0x14d26b(0x1f1)===_0x5e845d),_0x5b0d3f[_0x14d26b(0x1e2)]({'label':_0xaabb8d(_0x2b9d0e,_0x14d26b(0x1e6)),'icon':_0x5f0005,'isToggleable':!0x0}),_0x5a3ed4&&(_0x5b0d3f[_0x14d26b(0x1e0)]=!0x0),this[_0x14d26b(0x1c9)](_0x5b0d3f,_0x14d26b(0x1ca),()=>this[_0x14d26b(0x1b6)]()),_0x5b0d3f;}[_0x4fcd79(0x1e1)]=_0x2a0bc7=>{const _0x2578ad=_0x4fcd79,_0x1320cd=_0x2a0bc7[_0x2578ad(0x1c4)];if(!this[_0x2578ad(0x1dc)][_0x2578ad(0x1ef)](_0x1320cd[_0x2578ad(0x1df)]))return;const _0x31a86e=this[_0x2578ad(0x1e3)][_0x2578ad(0x1fc)][_0x2578ad(0x1e9)](_0x2578ad(0x1c7));_0x31a86e[_0x2578ad(0x1bb)]&&_0x2578ad(0x1f1)===_0x31a86e['id']&&(_0x31a86e[_0x2578ad(0x1cc)](),_0x2a0bc7[_0x2578ad(0x1fa)]());};}
|