@ckeditor/ckeditor5-comments 47.7.3 → 47.7.5-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/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 +20 -20
- 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 _0x3a488f=_0x1d58;(function(_0x10fd1b,_0xdc5d75){const _0x375a14=_0x1d58,_0x480ef4=_0x10fd1b();while(!![]){try{const _0xa23c4b=parseInt(_0x375a14(0x103))/0x1*(parseInt(_0x375a14(0x10f))/0x2)+parseInt(_0x375a14(0x145))/0x3+parseInt(_0x375a14(0x143))/0x4+parseInt(_0x375a14(0x13e))/0x5*(parseInt(_0x375a14(0x133))/0x6)+-parseInt(_0x375a14(0x104))/0x7+parseInt(_0x375a14(0x11a))/0x8*(-parseInt(_0x375a14(0x117))/0x9)+-parseInt(_0x375a14(0x127))/0xa*(parseInt(_0x375a14(0x129))/0xb);if(_0xa23c4b===_0xdc5d75)break;else _0x480ef4['push'](_0x480ef4['shift']());}catch(_0x39c7ff){_0x480ef4['push'](_0x480ef4['shift']());}}}(_0x2e00,0xd62d7));import{ContextPlugin as _0x26d32f}from'ckeditor5/src/core.js';import{Rect as _0x38fa03,CKEditorError as _0xb0cd39}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x37ad9f}from'./view/sidebarview.js';function _0x2e00(){const _0x80116b=['getIndex','setContainer','refresh','add','get','config','content','_alignForTopChange','unbind','context','_annotations','destroy','change:bottom','bind','nodeType','targetRect','delete','rearrange','_spaceBetweenItems','_createSidebarView','_destroySidebarItemView','isActive','isOfficialPlugin','_getItemBefore','1YzOBCE','9287817ReOAcU','change:targetRect','listenTo','_updateLastItem','stopListening','Sidebar','updateHeight','target','sidebar-setcontainer-invalid-element','appendChild','object','3158928fRAWEm','init','push','_getMaxAvailableTop','locale','clear','_setItemTop','getSidebarItemView','18rRhlCS','remove','_activeAnnotation','1549528dShIqs','_annotationToSidebarItemView','sidebar.container','class','pluginName','_targetTop','_getItemAfter','_attachToContainer','_alignBeforeItem','set','last','change:top','_recalculate','80460yfrXky','top','2816FYAIbT','_detachFromContainer','isAnimationDisabled','height','render','sidebar.preventScrollOutOfView','container','list','_alignForBottomChange','minHeight','3264aiPDIJ','max','change:_lastItem','element','addAnnotation','isPremiumPlugin','view','length','_lastItem','_getTargetTop','sidebar-attachtocontainer-missing-container','12515JxAUyQ','_alignAfterItem','define','_recalculateBuffer','_sidebarItemViewToAnnotation','6725324Adzwci','bottom','86499fPnukZ','_alignToTargetRect'];_0x2e00=function(){return _0x80116b;};return _0x2e00();}import{AnnotationsSidebarItemView as _0x53d8bb}from'./view/sidebaritemview.js';export class Sidebar extends _0x26d32f{[_0x3a488f(0x139)];[_0x3a488f(0x119)];[_0x3a488f(0x151)];[_0x3a488f(0xfd)];[_0x3a488f(0x142)];[_0x3a488f(0x11b)];[_0x3a488f(0x141)];static get[_0x3a488f(0x11e)](){const _0x4c62cf=_0x3a488f;return _0x4c62cf(0x109);}static get[_0x3a488f(0x101)](){return!0x0;}static get[_0x3a488f(0x138)](){return!0x0;}constructor(_0x4d711c){const _0xd7a02d=_0x3a488f;super(_0x4d711c),this[_0xd7a02d(0x123)](_0xd7a02d(0x13b),void 0x0),this[_0xd7a02d(0x139)]=this[_0xd7a02d(0xfe)](),this[_0xd7a02d(0x123)](_0xd7a02d(0x12f),null),this[_0xd7a02d(0xfd)]=0x19,this[_0xd7a02d(0x142)]=new Map(),this[_0xd7a02d(0x11b)]=new Map(),this[_0xd7a02d(0x150)][_0xd7a02d(0x14c)][_0xd7a02d(0x140)](_0xd7a02d(0x12e),!0x1),this[_0xd7a02d(0x151)]=null,this[_0xd7a02d(0x119)]=null,this[_0xd7a02d(0x141)]=[];}[_0x3a488f(0x110)](){const _0x5b6872=_0x3a488f,_0x2dbde0=this[_0x5b6872(0x150)][_0x5b6872(0x14c)][_0x5b6872(0x14b)](_0x5b6872(0x11c));_0x2dbde0&&this[_0x5b6872(0x148)](_0x2dbde0);}[_0x3a488f(0x148)](_0x4066e2){const _0x156668=_0x3a488f;if(!g(_0x4066e2))throw new _0xb0cd39(_0x156668(0x10c));this[_0x156668(0x12f)]=_0x4066e2;}[_0x3a488f(0x121)]({viewClass:_0x491800='',spaceBetweenItems:_0x3ac522=0x19}={}){const _0x2a9cf6=_0x3a488f;if(!g(this[_0x2a9cf6(0x12f)]))throw new _0xb0cd39(_0x2a9cf6(0x13d),this);this[_0x2a9cf6(0x12f)][_0x2a9cf6(0x10d)](this[_0x2a9cf6(0x139)][_0x2a9cf6(0x136)]),this[_0x2a9cf6(0x139)][_0x2a9cf6(0x11d)]=_0x491800,this[_0x2a9cf6(0xfd)]=_0x3ac522;}[_0x3a488f(0xfc)]({removedAnnotation:_0x3e2db1,previousAnnotation:_0xed8fdd,nextAnnotation:_0x1317b3}){const _0x52b6f8=_0x3a488f,_0x6abeed=this[_0x52b6f8(0x116)](_0x3e2db1);this[_0x52b6f8(0x139)][_0x52b6f8(0x130)][_0x52b6f8(0x118)](_0x6abeed),this[_0x52b6f8(0xff)](_0x3e2db1),_0xed8fdd&&this[_0x52b6f8(0x146)](this[_0x52b6f8(0x116)](_0xed8fdd)),_0x1317b3&&this[_0x52b6f8(0x146)](this[_0x52b6f8(0x116)](_0x1317b3)),this[_0x52b6f8(0x107)]();}[_0x3a488f(0x149)]({blurredAnnotation:_0x4468b3,activatedAnnotation:_0x10702b,disableAnimationOnActivatedAnnotation:_0x5d8584}){const _0x16d5a2=_0x3a488f;if(this[_0x16d5a2(0x119)]=_0x10702b,_0x4468b3){_0x4468b3[_0x16d5a2(0x100)]=!0x1;const _0x23e654=this[_0x16d5a2(0x116)](_0x4468b3);_0x23e654&&_0x5d8584&&(_0x23e654[_0x16d5a2(0x12b)]=!0x1);}if(_0x10702b){const _0x2684af=this[_0x16d5a2(0x116)](_0x10702b);_0x2684af&&(_0x10702b[_0x16d5a2(0x100)]=!0x0,_0x5d8584&&(_0x2684af[_0x16d5a2(0x12b)]=!0x0,_0x2684af[_0x16d5a2(0x128)]+=0x1),this[_0x16d5a2(0x146)](_0x2684af));}}[_0x3a488f(0x12a)](_0x228c98){const _0x4ef154=_0x3a488f;if(this[_0x4ef154(0x139)][_0x4ef154(0x136)][_0x4ef154(0x118)](),_0x228c98){for(const _0x1dbcfe of _0x228c98)this[_0x4ef154(0xff)](_0x1dbcfe);}this[_0x4ef154(0x139)][_0x4ef154(0x130)][_0x4ef154(0x114)](),this[_0x4ef154(0x139)][_0x4ef154(0x11d)]='',this[_0x4ef154(0x13b)]=null;}[_0x3a488f(0x137)](_0x5dba7e,_0x26f6bb){const _0x59d0b4=_0x3a488f;_0x26f6bb||(_0x26f6bb=_0x5dba7e[_0x59d0b4(0x139)]);const _0x1da04e=new _0x53d8bb(this[_0x59d0b4(0x150)][_0x59d0b4(0x113)]);this[_0x59d0b4(0x142)][_0x59d0b4(0x123)](_0x1da04e,_0x5dba7e),this[_0x59d0b4(0x11b)][_0x59d0b4(0x123)](_0x5dba7e,_0x1da04e),_0x1da04e[_0x59d0b4(0x14d)][_0x59d0b4(0x14a)](_0x26f6bb),this[_0x59d0b4(0x106)](_0x5dba7e[_0x59d0b4(0x139)],_0x59d0b4(0x105),(_0x570aee,_0x58ad76,_0x200376)=>{const _0x133ac7=_0x59d0b4,_0x12e5b0=this[_0x133ac7(0x13c)](_0x5dba7e,_0x200376);_0x1da04e[_0x133ac7(0x11f)]!=_0x12e5b0&&(_0x1da04e[_0x133ac7(0x11f)]=_0x12e5b0,this[_0x133ac7(0x115)](_0x1da04e,_0x12e5b0));}),this[_0x59d0b4(0x106)](_0x1da04e,_0x59d0b4(0x125),()=>{const _0x30ee72=_0x59d0b4;this[_0x30ee72(0x126)](_0x1da04e,_0x30ee72(0x128));}),this[_0x59d0b4(0x106)](_0x1da04e,_0x59d0b4(0x153),()=>{const _0x19e07a=_0x59d0b4;this[_0x19e07a(0x126)](_0x1da04e,_0x19e07a(0x144));}),this[_0x59d0b4(0x146)](_0x1da04e);const _0xea04ff=this[_0x59d0b4(0x102)](_0x1da04e);if(_0xea04ff)this[_0x59d0b4(0x13f)](_0xea04ff,_0x1da04e)||this[_0x59d0b4(0x146)](_0x1da04e);else this[_0x59d0b4(0x146)](_0x1da04e);return this[_0x59d0b4(0x107)](),this[_0x59d0b4(0x139)][_0x59d0b4(0x130)][_0x59d0b4(0x14a)](_0x1da04e),_0x1da04e;}[_0x3a488f(0x14e)](_0x28c73a){const _0x29efe7=_0x3a488f;if(!_0x28c73a[_0x29efe7(0x14d)][_0x29efe7(0x13a)])return;const _0x3e864f=this[_0x29efe7(0x102)](_0x28c73a);if(!_0x3e864f)return;const _0x99b836=this[_0x29efe7(0x142)][_0x29efe7(0x14b)](_0x3e864f),_0x37210b=this[_0x29efe7(0x119)];_0x37210b&&_0x37210b===_0x99b836?this[_0x29efe7(0x13f)](_0x3e864f,_0x28c73a):this[_0x29efe7(0x122)](_0x28c73a,_0x3e864f);}[_0x3a488f(0x131)](_0x58a3de){const _0x479a81=_0x3a488f;if(!_0x58a3de[_0x479a81(0x14d)][_0x479a81(0x13a)])return;const _0x45cda9=this[_0x479a81(0x120)](_0x58a3de);if(!_0x45cda9)return;const _0x14187b=this[_0x479a81(0x142)][_0x479a81(0x14b)](_0x45cda9),_0x33a9c7=this[_0x479a81(0x150)][_0x479a81(0x14c)][_0x479a81(0x14b)](_0x479a81(0x12e)),_0x5e8862=this[_0x479a81(0x119)];_0x5e8862&&_0x5e8862===_0x14187b&&_0x33a9c7?(this[_0x479a81(0x122)](_0x45cda9,_0x58a3de),this[_0x479a81(0x13f)](_0x58a3de,_0x45cda9)):_0x5e8862&&_0x5e8862===_0x14187b?this[_0x479a81(0x122)](_0x45cda9,_0x58a3de):this[_0x479a81(0x13f)](_0x58a3de,_0x45cda9);}[_0x3a488f(0x126)](_0x4ad787,_0x4caf6d){const _0x19ed5b=_0x3a488f;0x0===this[_0x19ed5b(0x141)][_0x19ed5b(0x13a)]&&setTimeout(()=>{const _0x2f8475=_0x19ed5b;for(const {sidebarItemView:_0x2719ff,changedProp:_0x224b37}of this[_0x2f8475(0x141)])_0x2f8475(0x128)===_0x224b37?this[_0x2f8475(0x14e)](_0x2719ff):this[_0x2f8475(0x131)](_0x2719ff);this[_0x2f8475(0x141)]=[];},0xa),this[_0x19ed5b(0x141)][_0x19ed5b(0x111)]({'sidebarItemView':_0x4ad787,'changedProp':_0x4caf6d});}[_0x3a488f(0x116)](_0x5ca3eb){const _0x3254dd=_0x3a488f;return this[_0x3254dd(0x11b)][_0x3254dd(0x14b)](_0x5ca3eb);}[_0x3a488f(0x152)](){const _0x9b782a=_0x3a488f;this[_0x9b782a(0x108)](),this[_0x9b782a(0x139)][_0x9b782a(0x152)]();}[_0x3a488f(0xff)](_0x52cca2){const _0x5c2af8=_0x3a488f,_0x3635ab=this[_0x5c2af8(0x116)](_0x52cca2);this[_0x5c2af8(0x108)](_0x3635ab),this[_0x5c2af8(0x108)](_0x52cca2[_0x5c2af8(0x139)]),_0x3635ab[_0x5c2af8(0x152)](),this[_0x5c2af8(0x11b)][_0x5c2af8(0xfb)](_0x52cca2),this[_0x5c2af8(0x142)][_0x5c2af8(0xfb)](_0x3635ab);}[_0x3a488f(0xfe)](){const _0x4b8763=_0x3a488f,_0x497edd=new _0x37ad9f(this[_0x4b8763(0x150)][_0x4b8763(0x113)]);return _0x497edd[_0x4b8763(0x12d)](),this['on'](_0x4b8763(0x135),(_0x276750,_0x1d5c1b,_0x108981,_0x458828)=>{const _0x236ea9=_0x4b8763;_0x458828&&_0x497edd[_0x236ea9(0x14f)](_0x236ea9(0x132)),_0x108981?_0x497edd[_0x236ea9(0x154)](_0x236ea9(0x132))['to'](_0x108981,_0x236ea9(0x144)):_0x497edd[_0x236ea9(0x132)]=null;}),_0x497edd;}[_0x3a488f(0x107)](){const _0x203383=_0x3a488f;this[_0x203383(0x13b)]=this[_0x203383(0x151)]?.[_0x203383(0x124)]?this[_0x203383(0x116)](this[_0x203383(0x151)][_0x203383(0x124)]):null;}[_0x3a488f(0x102)](_0xf4ac95){const _0x280a73=_0x3a488f,_0x5b0c06=this[_0x280a73(0x142)][_0x280a73(0x14b)](_0xf4ac95),_0x342925=_0x5b0c06&&this[_0x280a73(0x151)]?.[_0x280a73(0x14b)](this[_0x280a73(0x151)][_0x280a73(0x147)](_0x5b0c06)-0x1);return _0x342925&&this[_0x280a73(0x116)](_0x342925)||null;}[_0x3a488f(0x120)](_0x2f2b77){const _0x4713bd=_0x3a488f,_0x728b72=this[_0x4713bd(0x142)][_0x4713bd(0x14b)](_0x2f2b77),_0x41a702=_0x728b72&&this[_0x4713bd(0x151)]?.[_0x4713bd(0x14b)](this[_0x4713bd(0x151)][_0x4713bd(0x147)](_0x728b72)+0x1);return _0x41a702&&this[_0x4713bd(0x116)](_0x41a702)||null;}[_0x3a488f(0x122)](_0x14b2bc,_0xd526be){const _0x2ae882=_0x3a488f;_0x14b2bc[_0x2ae882(0x10a)]();const _0x5e3d78=G(_0xd526be[_0x2ae882(0x144)]+this[_0x2ae882(0xfd)],_0x14b2bc[_0x2ae882(0x128)]);return!!_0x5e3d78&&(this[_0x2ae882(0x115)](_0xd526be,_0xd526be[_0x2ae882(0x128)]-_0x5e3d78),!0x0);}[_0x3a488f(0x13f)](_0x129aec,_0x52e44d){const _0x47a4a9=_0x3a488f;_0x129aec[_0x47a4a9(0x10a)]();const _0x5c2160=G(_0x129aec[_0x47a4a9(0x144)]+this[_0x47a4a9(0xfd)],_0x52e44d[_0x47a4a9(0x128)]);return!!_0x5c2160&&(this[_0x47a4a9(0x115)](_0x52e44d,_0x52e44d[_0x47a4a9(0x128)]+_0x5c2160,!0x1),!0x0);}[_0x3a488f(0x146)](_0x3a7c19){const _0x936c61=_0x3a488f,_0x52825f=this[_0x936c61(0x142)][_0x936c61(0x14b)](_0x3a7c19);if(!_0x52825f||!_0x52825f[_0x936c61(0x10b)]||!_0x52825f[_0x936c61(0x156)])return;const _0x3d80b8=this[_0x936c61(0x13c)](_0x52825f,_0x52825f[_0x936c61(0x156)]);this[_0x936c61(0x115)](_0x3a7c19,_0x3d80b8);}[_0x3a488f(0x13c)](_0x1525eb,_0x2f726b){const _0x36f56b=_0x3a488f;if(null===_0x2f726b)return 0x0;if(_0x1525eb[_0x36f56b(0x10b)]instanceof _0x38fa03)return _0x2f726b[_0x36f56b(0x128)];{const _0x2a02f0=new _0x38fa03(this[_0x36f56b(0x139)][_0x36f56b(0x136)])[_0x36f56b(0x128)];return _0x2f726b[_0x36f56b(0x128)]-_0x2a02f0;}}[_0x3a488f(0x115)](_0x40c4fa,_0x3d5884,_0x40205b=this[_0x3a488f(0x150)][_0x3a488f(0x14c)][_0x3a488f(0x14b)](_0x3a488f(0x12e))){const _0x4d7ef1=_0x3a488f;_0x40205b&&(_0x3d5884=Math[_0x4d7ef1(0x134)](_0x3d5884,this[_0x4d7ef1(0x112)](_0x40c4fa))),_0x40c4fa[_0x4d7ef1(0x128)]=_0x3d5884;}[_0x3a488f(0x112)](_0x216c2c){const _0x259b75=_0x3a488f;let _0x264cb8=this[_0x259b75(0x102)](_0x216c2c),_0x1fd892=0x0;for(;_0x264cb8;)_0x264cb8[_0x259b75(0x10a)](),_0x1fd892+=this[_0x259b75(0xfd)]+_0x264cb8[_0x259b75(0x12c)],_0x264cb8=this[_0x259b75(0x102)](_0x264cb8);return _0x1fd892;}}function _0x1d58(_0x4304a4,_0x4e8baf){const _0x2e0010=_0x2e00();return _0x1d58=function(_0x1d58af,_0x416fc6){_0x1d58af=_0x1d58af-0xfb;let _0x4f3028=_0x2e0010[_0x1d58af];return _0x4f3028;},_0x1d58(_0x4304a4,_0x4e8baf);}function G(_0x3325ee,_0xa55b2d){const _0xa4a47b=_0x3a488f;return Math[_0xa4a47b(0x134)](_0x3325ee-_0xa55b2d,0x0);}function g(_0x4431d6){const _0x3e0e76=_0x3a488f;return null!==_0x4431d6&&_0x3e0e76(0x10e)==typeof _0x4431d6&&0x1===_0x4431d6[_0x3e0e76(0x155)];}
|
|
23
|
+
const _0x43a1aa=_0x5214;(function(_0x59fb35,_0x28e2ce){const _0x5e8f99=_0x5214,_0x1c95e7=_0x59fb35();while(!![]){try{const _0x2a3d55=parseInt(_0x5e8f99(0x1e1))/0x1+-parseInt(_0x5e8f99(0x1d4))/0x2+parseInt(_0x5e8f99(0x1e0))/0x3+-parseInt(_0x5e8f99(0x1c3))/0x4+parseInt(_0x5e8f99(0x1dd))/0x5+parseInt(_0x5e8f99(0x1f7))/0x6+parseInt(_0x5e8f99(0x1f2))/0x7*(-parseInt(_0x5e8f99(0x1ee))/0x8);if(_0x2a3d55===_0x28e2ce)break;else _0x1c95e7['push'](_0x1c95e7['shift']());}catch(_0x32d100){_0x1c95e7['push'](_0x1c95e7['shift']());}}}(_0xe84a,0x8cefb));function _0x5214(_0x49b80a,_0x137e96){const _0xe84ad2=_0xe84a();return _0x5214=function(_0x521480,_0x5de71c){_0x521480=_0x521480-0x19f;let _0x3e6f2b=_0xe84ad2[_0x521480];return _0x3e6f2b;},_0x5214(_0x49b80a,_0x137e96);}import{ContextPlugin as _0x8beccd}from'ckeditor5/src/core.js';import{Rect as _0x4c8e46,CKEditorError as _0x3a9917}from'ckeditor5/src/utils.js';function _0xe84a(){const _0x1cd9e1=['_getTargetTop','addAnnotation','2481192TtmTvU','destroy','define','_recalculate','28RNmhPA','_updateLastItem','change:_lastItem','_activeAnnotation','targetRect','437472pCLAaQ','unbind','class','_setItemTop','top','delete','add','init','change:top','setContainer','sidebar.container','content','isPremiumPlugin','refresh','config','_annotationToSidebarItemView','_detachFromContainer','_recalculateBuffer','listenTo','container','context','length','pluginName','_annotations','_lastItem','target','_destroySidebarItemView','isOfficialPlugin','push','rearrange','max','_alignAfterItem','bottom','minHeight','get','remove','sidebar-setcontainer-invalid-element','247192adRikY','Sidebar','_sidebarItemViewToAnnotation','change:targetRect','sidebar.preventScrollOutOfView','appendChild','_alignForTopChange','clear','height','updateHeight','render','object','last','_getItemAfter','bind','nodeType','isActive','373844jpBBcP','_alignToTargetRect','set','_getMaxAvailableTop','locale','getIndex','_spaceBetweenItems','change:bottom','_createSidebarView','572440yOiyTf','view','_targetTop','2495952yrZeJX','1047207DeAXeL','_alignForBottomChange','_alignBeforeItem','stopListening','getSidebarItemView','isAnimationDisabled','sidebar-attachtocontainer-missing-container','_attachToContainer','list','_getItemBefore','element'];_0xe84a=function(){return _0x1cd9e1;};return _0xe84a();}import{AnnotationsSidebarView as _0x585e1f}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x36ae32}from'./view/sidebaritemview.js';export class Sidebar extends _0x8beccd{[_0x43a1aa(0x1de)];[_0x43a1aa(0x1f5)];[_0x43a1aa(0x1b5)];[_0x43a1aa(0x1da)];[_0x43a1aa(0x1c5)];[_0x43a1aa(0x1ad)];[_0x43a1aa(0x1af)];static get[_0x43a1aa(0x1b4)](){const _0x496aac=_0x43a1aa;return _0x496aac(0x1c4);}static get[_0x43a1aa(0x1b9)](){return!0x0;}static get[_0x43a1aa(0x1aa)](){return!0x0;}constructor(_0xccbaa0){const _0x39a02e=_0x43a1aa;super(_0xccbaa0),this[_0x39a02e(0x1d6)](_0x39a02e(0x1b6),void 0x0),this[_0x39a02e(0x1de)]=this[_0x39a02e(0x1dc)](),this[_0x39a02e(0x1d6)](_0x39a02e(0x1b1),null),this[_0x39a02e(0x1da)]=0x19,this[_0x39a02e(0x1c5)]=new Map(),this[_0x39a02e(0x1ad)]=new Map(),this[_0x39a02e(0x1b2)][_0x39a02e(0x1ac)][_0x39a02e(0x1f0)](_0x39a02e(0x1c7),!0x1),this[_0x39a02e(0x1b5)]=null,this[_0x39a02e(0x1f5)]=null,this[_0x39a02e(0x1af)]=[];}[_0x43a1aa(0x1a5)](){const _0x50fd76=_0x43a1aa,_0xc1a73b=this[_0x50fd76(0x1b2)][_0x50fd76(0x1ac)][_0x50fd76(0x1c0)](_0x50fd76(0x1a8));_0xc1a73b&&this[_0x50fd76(0x1a7)](_0xc1a73b);}[_0x43a1aa(0x1a7)](_0x375bc2){const _0x543723=_0x43a1aa;if(!g(_0x375bc2))throw new _0x3a9917(_0x543723(0x1c2));this[_0x543723(0x1b1)]=_0x375bc2;}[_0x43a1aa(0x1e8)]({viewClass:_0x8ca1cc='',spaceBetweenItems:_0x22ae3d=0x19}={}){const _0x43b916=_0x43a1aa;if(!g(this[_0x43b916(0x1b1)]))throw new _0x3a9917(_0x43b916(0x1e7),this);this[_0x43b916(0x1b1)][_0x43b916(0x1c8)](this[_0x43b916(0x1de)][_0x43b916(0x1eb)]),this[_0x43b916(0x1de)][_0x43b916(0x1a0)]=_0x8ca1cc,this[_0x43b916(0x1da)]=_0x22ae3d;}[_0x43a1aa(0x1bb)]({removedAnnotation:_0x260baf,previousAnnotation:_0xe0403,nextAnnotation:_0x10e3d0}){const _0x2c5103=_0x43a1aa,_0x265110=this[_0x2c5103(0x1e5)](_0x260baf);this[_0x2c5103(0x1de)][_0x2c5103(0x1e9)][_0x2c5103(0x1c1)](_0x265110),this[_0x2c5103(0x1b8)](_0x260baf),_0xe0403&&this[_0x2c5103(0x1d5)](this[_0x2c5103(0x1e5)](_0xe0403)),_0x10e3d0&&this[_0x2c5103(0x1d5)](this[_0x2c5103(0x1e5)](_0x10e3d0)),this[_0x2c5103(0x1f3)]();}[_0x43a1aa(0x1ab)]({blurredAnnotation:_0x382d8a,activatedAnnotation:_0xa3e0aa,disableAnimationOnActivatedAnnotation:_0x21462c}){const _0x5920ae=_0x43a1aa;if(this[_0x5920ae(0x1f5)]=_0xa3e0aa,_0x382d8a){_0x382d8a[_0x5920ae(0x1d3)]=!0x1;const _0x2202aa=this[_0x5920ae(0x1e5)](_0x382d8a);_0x2202aa&&_0x21462c&&(_0x2202aa[_0x5920ae(0x1e6)]=!0x1);}if(_0xa3e0aa){const _0x5805e1=this[_0x5920ae(0x1e5)](_0xa3e0aa);_0x5805e1&&(_0xa3e0aa[_0x5920ae(0x1d3)]=!0x0,_0x21462c&&(_0x5805e1[_0x5920ae(0x1e6)]=!0x0,_0x5805e1[_0x5920ae(0x1a2)]+=0x1),this[_0x5920ae(0x1d5)](_0x5805e1));}}[_0x43a1aa(0x1ae)](_0x153788){const _0x55f0f5=_0x43a1aa;if(this[_0x55f0f5(0x1de)][_0x55f0f5(0x1eb)][_0x55f0f5(0x1c1)](),_0x153788){for(const _0x5e951e of _0x153788)this[_0x55f0f5(0x1b8)](_0x5e951e);}this[_0x55f0f5(0x1de)][_0x55f0f5(0x1e9)][_0x55f0f5(0x1ca)](),this[_0x55f0f5(0x1de)][_0x55f0f5(0x1a0)]='',this[_0x55f0f5(0x1b6)]=null;}[_0x43a1aa(0x1ed)](_0x23d8e5,_0x3a49ec){const _0x585e54=_0x43a1aa;_0x3a49ec||(_0x3a49ec=_0x23d8e5[_0x585e54(0x1de)]);const _0x104023=new _0x36ae32(this[_0x585e54(0x1b2)][_0x585e54(0x1d8)]);this[_0x585e54(0x1c5)][_0x585e54(0x1d6)](_0x104023,_0x23d8e5),this[_0x585e54(0x1ad)][_0x585e54(0x1d6)](_0x23d8e5,_0x104023),_0x104023[_0x585e54(0x1a9)][_0x585e54(0x1a4)](_0x3a49ec),this[_0x585e54(0x1b0)](_0x23d8e5[_0x585e54(0x1de)],_0x585e54(0x1c6),(_0x405837,_0x31420b,_0x22d0c5)=>{const _0x4ad551=_0x585e54,_0x27020b=this[_0x4ad551(0x1ec)](_0x23d8e5,_0x22d0c5);_0x104023[_0x4ad551(0x1df)]!=_0x27020b&&(_0x104023[_0x4ad551(0x1df)]=_0x27020b,this[_0x4ad551(0x1a1)](_0x104023,_0x27020b));}),this[_0x585e54(0x1b0)](_0x104023,_0x585e54(0x1a6),()=>{const _0x42a1f2=_0x585e54;this[_0x42a1f2(0x1f1)](_0x104023,_0x42a1f2(0x1a2));}),this[_0x585e54(0x1b0)](_0x104023,_0x585e54(0x1db),()=>{const _0x22b2e9=_0x585e54;this[_0x22b2e9(0x1f1)](_0x104023,_0x22b2e9(0x1be));}),this[_0x585e54(0x1d5)](_0x104023);const _0x1e09b4=this[_0x585e54(0x1ea)](_0x104023);if(_0x1e09b4)this[_0x585e54(0x1bd)](_0x1e09b4,_0x104023)||this[_0x585e54(0x1d5)](_0x104023);else this[_0x585e54(0x1d5)](_0x104023);return this[_0x585e54(0x1f3)](),this[_0x585e54(0x1de)][_0x585e54(0x1e9)][_0x585e54(0x1a4)](_0x104023),_0x104023;}[_0x43a1aa(0x1c9)](_0x4e7175){const _0x31da5f=_0x43a1aa;if(!_0x4e7175[_0x31da5f(0x1a9)][_0x31da5f(0x1b3)])return;const _0xaa9e48=this[_0x31da5f(0x1ea)](_0x4e7175);if(!_0xaa9e48)return;const _0x43ef58=this[_0x31da5f(0x1c5)][_0x31da5f(0x1c0)](_0xaa9e48),_0x596796=this[_0x31da5f(0x1f5)];_0x596796&&_0x596796===_0x43ef58?this[_0x31da5f(0x1bd)](_0xaa9e48,_0x4e7175):this[_0x31da5f(0x1e3)](_0x4e7175,_0xaa9e48);}[_0x43a1aa(0x1e2)](_0x4bcbf8){const _0x3ae888=_0x43a1aa;if(!_0x4bcbf8[_0x3ae888(0x1a9)][_0x3ae888(0x1b3)])return;const _0xf7a71a=this[_0x3ae888(0x1d0)](_0x4bcbf8);if(!_0xf7a71a)return;const _0x260f1a=this[_0x3ae888(0x1c5)][_0x3ae888(0x1c0)](_0xf7a71a),_0x1d62f7=this[_0x3ae888(0x1b2)][_0x3ae888(0x1ac)][_0x3ae888(0x1c0)](_0x3ae888(0x1c7)),_0x44b3f4=this[_0x3ae888(0x1f5)];_0x44b3f4&&_0x44b3f4===_0x260f1a&&_0x1d62f7?(this[_0x3ae888(0x1e3)](_0xf7a71a,_0x4bcbf8),this[_0x3ae888(0x1bd)](_0x4bcbf8,_0xf7a71a)):_0x44b3f4&&_0x44b3f4===_0x260f1a?this[_0x3ae888(0x1e3)](_0xf7a71a,_0x4bcbf8):this[_0x3ae888(0x1bd)](_0x4bcbf8,_0xf7a71a);}[_0x43a1aa(0x1f1)](_0x144461,_0x5bd91e){const _0x47bae3=_0x43a1aa;0x0===this[_0x47bae3(0x1af)][_0x47bae3(0x1b3)]&&setTimeout(()=>{const _0x259cfa=_0x47bae3;for(const {sidebarItemView:_0x8c6ae8,changedProp:_0x3a3909}of this[_0x259cfa(0x1af)])_0x259cfa(0x1a2)===_0x3a3909?this[_0x259cfa(0x1c9)](_0x8c6ae8):this[_0x259cfa(0x1e2)](_0x8c6ae8);this[_0x259cfa(0x1af)]=[];},0xa),this[_0x47bae3(0x1af)][_0x47bae3(0x1ba)]({'sidebarItemView':_0x144461,'changedProp':_0x5bd91e});}[_0x43a1aa(0x1e5)](_0x1ace59){const _0x50ee93=_0x43a1aa;return this[_0x50ee93(0x1ad)][_0x50ee93(0x1c0)](_0x1ace59);}[_0x43a1aa(0x1ef)](){const _0x5e1397=_0x43a1aa;this[_0x5e1397(0x1e4)](),this[_0x5e1397(0x1de)][_0x5e1397(0x1ef)]();}[_0x43a1aa(0x1b8)](_0x51ed94){const _0x456eac=_0x43a1aa,_0x5c52f1=this[_0x456eac(0x1e5)](_0x51ed94);this[_0x456eac(0x1e4)](_0x5c52f1),this[_0x456eac(0x1e4)](_0x51ed94[_0x456eac(0x1de)]),_0x5c52f1[_0x456eac(0x1ef)](),this[_0x456eac(0x1ad)][_0x456eac(0x1a3)](_0x51ed94),this[_0x456eac(0x1c5)][_0x456eac(0x1a3)](_0x5c52f1);}[_0x43a1aa(0x1dc)](){const _0x5c04cb=_0x43a1aa,_0x38ad61=new _0x585e1f(this[_0x5c04cb(0x1b2)][_0x5c04cb(0x1d8)]);return _0x38ad61[_0x5c04cb(0x1cd)](),this['on'](_0x5c04cb(0x1f4),(_0x2b959f,_0x533dd0,_0x46155f,_0x464f3a)=>{const _0x4238cb=_0x5c04cb;_0x464f3a&&_0x38ad61[_0x4238cb(0x19f)](_0x4238cb(0x1bf)),_0x46155f?_0x38ad61[_0x4238cb(0x1d1)](_0x4238cb(0x1bf))['to'](_0x46155f,_0x4238cb(0x1be)):_0x38ad61[_0x4238cb(0x1bf)]=null;}),_0x38ad61;}[_0x43a1aa(0x1f3)](){const _0x5e6b43=_0x43a1aa;this[_0x5e6b43(0x1b6)]=this[_0x5e6b43(0x1b5)]?.[_0x5e6b43(0x1cf)]?this[_0x5e6b43(0x1e5)](this[_0x5e6b43(0x1b5)][_0x5e6b43(0x1cf)]):null;}[_0x43a1aa(0x1ea)](_0x5002dd){const _0x5b6081=_0x43a1aa,_0x33efe0=this[_0x5b6081(0x1c5)][_0x5b6081(0x1c0)](_0x5002dd),_0x7a0c51=_0x33efe0&&this[_0x5b6081(0x1b5)]?.[_0x5b6081(0x1c0)](this[_0x5b6081(0x1b5)][_0x5b6081(0x1d9)](_0x33efe0)-0x1);return _0x7a0c51&&this[_0x5b6081(0x1e5)](_0x7a0c51)||null;}[_0x43a1aa(0x1d0)](_0xfbbb5f){const _0x38175a=_0x43a1aa,_0x33eb50=this[_0x38175a(0x1c5)][_0x38175a(0x1c0)](_0xfbbb5f),_0x297a78=_0x33eb50&&this[_0x38175a(0x1b5)]?.[_0x38175a(0x1c0)](this[_0x38175a(0x1b5)][_0x38175a(0x1d9)](_0x33eb50)+0x1);return _0x297a78&&this[_0x38175a(0x1e5)](_0x297a78)||null;}[_0x43a1aa(0x1e3)](_0x1933bf,_0x3efb87){const _0x14f68e=_0x43a1aa;_0x1933bf[_0x14f68e(0x1cc)]();const _0xb4e829=G(_0x3efb87[_0x14f68e(0x1be)]+this[_0x14f68e(0x1da)],_0x1933bf[_0x14f68e(0x1a2)]);return!!_0xb4e829&&(this[_0x14f68e(0x1a1)](_0x3efb87,_0x3efb87[_0x14f68e(0x1a2)]-_0xb4e829),!0x0);}[_0x43a1aa(0x1bd)](_0x43af53,_0xb2503b){const _0x4af4be=_0x43a1aa;_0x43af53[_0x4af4be(0x1cc)]();const _0x8f0f16=G(_0x43af53[_0x4af4be(0x1be)]+this[_0x4af4be(0x1da)],_0xb2503b[_0x4af4be(0x1a2)]);return!!_0x8f0f16&&(this[_0x4af4be(0x1a1)](_0xb2503b,_0xb2503b[_0x4af4be(0x1a2)]+_0x8f0f16,!0x1),!0x0);}[_0x43a1aa(0x1d5)](_0x1bf42a){const _0x36b022=_0x43a1aa,_0x1441e8=this[_0x36b022(0x1c5)][_0x36b022(0x1c0)](_0x1bf42a);if(!_0x1441e8||!_0x1441e8[_0x36b022(0x1b7)]||!_0x1441e8[_0x36b022(0x1f6)])return;const _0x471ee9=this[_0x36b022(0x1ec)](_0x1441e8,_0x1441e8[_0x36b022(0x1f6)]);this[_0x36b022(0x1a1)](_0x1bf42a,_0x471ee9);}[_0x43a1aa(0x1ec)](_0x4dfb0d,_0x3570ea){const _0x3cb6a5=_0x43a1aa;if(null===_0x3570ea)return 0x0;if(_0x4dfb0d[_0x3cb6a5(0x1b7)]instanceof _0x4c8e46)return _0x3570ea[_0x3cb6a5(0x1a2)];{const _0x39fc71=new _0x4c8e46(this[_0x3cb6a5(0x1de)][_0x3cb6a5(0x1eb)])[_0x3cb6a5(0x1a2)];return _0x3570ea[_0x3cb6a5(0x1a2)]-_0x39fc71;}}[_0x43a1aa(0x1a1)](_0x4d6020,_0x3e71d4,_0x273899=this[_0x43a1aa(0x1b2)][_0x43a1aa(0x1ac)][_0x43a1aa(0x1c0)](_0x43a1aa(0x1c7))){const _0xaed7c=_0x43a1aa;_0x273899&&(_0x3e71d4=Math[_0xaed7c(0x1bc)](_0x3e71d4,this[_0xaed7c(0x1d7)](_0x4d6020))),_0x4d6020[_0xaed7c(0x1a2)]=_0x3e71d4;}[_0x43a1aa(0x1d7)](_0x4f1bcb){const _0x5413dd=_0x43a1aa;let _0x3e0dc5=this[_0x5413dd(0x1ea)](_0x4f1bcb),_0x3f6687=0x0;for(;_0x3e0dc5;)_0x3e0dc5[_0x5413dd(0x1cc)](),_0x3f6687+=this[_0x5413dd(0x1da)]+_0x3e0dc5[_0x5413dd(0x1cb)],_0x3e0dc5=this[_0x5413dd(0x1ea)](_0x3e0dc5);return _0x3f6687;}}function G(_0x561868,_0x4551c7){const _0x269803=_0x43a1aa;return Math[_0x269803(0x1bc)](_0x561868-_0x4551c7,0x0);}function g(_0x3f881b){const _0xa1613a=_0x43a1aa;return null!==_0x3f881b&&_0xa1613a(0x1ce)==typeof _0x3f881b&&0x1===_0x3f881b[_0xa1613a(0x1d2)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x189a(){const _0xbe41f2=['number','toString','icon','ck-annotation-counter__badge--edit-mode','set','ck-annotation-counter','bindTemplate','10ReOAxH','ck-annotation-counter__badge','add','1415Dtdzks','ck-annotation-counter__badge--','2158815ETSUMc','children','1240510YmoXKZ','616030HftIHj','_badge','setTemplate','...','1177896CYgkDn','isDirty','15670323ZUenfW','counterView','annotationType','7310742jeamqU','extendTemplate','span','7804fjCoKJ','49zQRqrm','bind'];_0x189a=function(){return _0xbe41f2;};return _0x189a();}const _0x12fd3f=_0x490f;(function(_0x776d8c,_0x6e1108){const _0x4812d2=_0x490f,_0x5855fc=_0x776d8c();while(!![]){try{const _0x5046ac=-parseInt(_0x4812d2(0x85))/0x1+parseInt(_0x4812d2(0x84))/0x2+parseInt(_0x4812d2(0x82))/0x3+-parseInt(_0x4812d2(0x91))/0x4*(parseInt(_0x4812d2(0x9e))/0x5)+parseInt(_0x4812d2(0x8e))/0x6+-parseInt(_0x4812d2(0x92))/0x7*(-parseInt(_0x4812d2(0x89))/0x8)+parseInt(_0x4812d2(0x8b))/0x9*(-parseInt(_0x4812d2(0x9b))/0xa);if(_0x5046ac===_0x6e1108)break;else _0x5855fc['push'](_0x5855fc['shift']());}catch(_0x14644a){_0x5855fc['push'](_0x5855fc['shift']());}}}(_0x189a,0xa5ef2));function _0x490f(_0x1c5ab0,_0x1543ad){const _0x189a14=_0x189a();return _0x490f=function(_0x490f98,_0x34721a){_0x490f98=_0x490f98-0x81;let _0x30acfd=_0x189a14[_0x490f98];return _0x30acfd;},_0x490f(_0x1c5ab0,_0x1543ad);}import{ButtonView as _0x5c2420,View as _0x2afa02}from'ckeditor5/src/ui.js';import{IconAddComment as _0x4b912d}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x5c2420{[_0x12fd3f(0x8c)];constructor(_0x3d272b){const _0x4c1691=_0x12fd3f;super(_0x3d272b);const _0x9082cb=this[_0x4c1691(0x9a)];this[_0x4c1691(0x98)](_0x4c1691(0x8a),!0x1),this[_0x4c1691(0x98)](_0x4c1691(0x94),0x0),this[_0x4c1691(0x93)](_0x4c1691(0x86))['to'](this,_0x4c1691(0x8a),this,_0x4c1691(0x94),(_0x1c63b4,_0x38af10)=>_0x1c63b4?_0x4c1691(0x88):_0x38af10[_0x4c1691(0x95)]()),this[_0x4c1691(0x98)](_0x4c1691(0x8d),''),this[_0x4c1691(0x96)]=_0x4b912d,this[_0x4c1691(0x8f)]({'attributes':{'class':[_0x4c1691(0x99)]}}),this[_0x4c1691(0x8c)]=new _0x2afa02(),this[_0x4c1691(0x8c)][_0x4c1691(0x87)]({'tag':_0x4c1691(0x90),'attributes':{'class':[_0x4c1691(0x9c),_0x9082cb['to'](_0x4c1691(0x8d),_0x593bd4=>_0x4c1691(0x81)+_0x593bd4),_0x9082cb['if'](_0x4c1691(0x8a),_0x4c1691(0x97))]},'children':[{'text':_0x9082cb['to'](_0x4c1691(0x86))}]}),this[_0x4c1691(0x83)][_0x4c1691(0x9d)](this[_0x4c1691(0x8c)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f81d6=_0x24be;function _0x4bd1(){const _0xccea72=['2914152XPtdfQ','targetRect','keystrokes','Esc','height','_updateHeight','type','ck-annotation-wrapper--active','fire','6187218ivkkmb','169503qKqCrx','ck-rounded-corners','mainView','content','div','bindTemplate','clientHeight','2276766fvYCMJ','first','render','arrowup','length','presentation','167104YlRXdh','listenTo','10BhPnKm','arrowdown','destroy','7BLmdpp','focusTracker','attach','element','setTemplate','isActive','isDirty','delegate','6077595PGUpgR','createCollection','add','detach','_mutationObserver','focus','ck-annotation-wrapper','7025912EWAgVG','clear','38rHrDdD','set'];_0x4bd1=function(){return _0xccea72;};return _0x4bd1();}(function(_0x1d57e6,_0x56674){const _0x30f465=_0x24be,_0x1aa4ea=_0x1d57e6();while(!![]){try{const _0x56600d=-parseInt(_0x30f465(0x1d1))/0x1+parseInt(_0x30f465(0x1b8))/0x2*(parseInt(_0x30f465(0x1c4))/0x3)+-parseInt(_0x30f465(0x1ba))/0x4+-parseInt(_0x30f465(0x1af))/0x5+parseInt(_0x30f465(0x1c3))/0x6*(parseInt(_0x30f465(0x1a7))/0x7)+parseInt(_0x30f465(0x1b6))/0x8+-parseInt(_0x30f465(0x1cb))/0x9*(parseInt(_0x30f465(0x1d3))/0xa);if(_0x56600d===_0x56674)break;else _0x1aa4ea['push'](_0x1aa4ea['shift']());}catch(_0x50551d){_0x1aa4ea['push'](_0x1aa4ea['shift']());}}}(_0x4bd1,0x9714a));import{View as _0xf756d7}from'ckeditor5/src/ui.js';function _0x24be(_0xc57fb,_0x122805){const _0x4bd1df=_0x4bd1();return _0x24be=function(_0x24beb0,_0x1d6067){_0x24beb0=_0x24beb0-0x1a5;let _0x336abf=_0x4bd1df[_0x24beb0];return _0x336abf;},_0x24be(_0xc57fb,_0x122805);}import{FocusTracker as _0x9f62d4,KeystrokeHandler as _0x2a1ca5,uid as _0x3430db}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x5b9e8c}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0xf756d7{[_0x2f81d6(0x1a8)];['id'];[_0x2f81d6(0x1bc)];[_0x2f81d6(0x1c7)];[_0x2f81d6(0x1c6)];[_0x2f81d6(0x1b3)];constructor(_0x2266c1,_0x6b5334){const _0x2b5d4b=_0x2f81d6;super(_0x2266c1),this['id']=_0x3430db(),this[_0x2b5d4b(0x1a8)]=new _0x9f62d4(),this[_0x2b5d4b(0x1bc)]=new _0x2a1ca5(),this[_0x2b5d4b(0x1bc)][_0x2b5d4b(0x1b9)](_0x2b5d4b(0x1bd),(_0x9f2011,_0x4125b6)=>this[_0x2b5d4b(0x1c2)](_0x2b5d4b(0x1bd),_0x4125b6)),this[_0x2b5d4b(0x1b9)](_0x2b5d4b(0x1bb),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x2b5d4b(0x1b9)](_0x2b5d4b(0x1be),0x0),this[_0x2b5d4b(0x1b9)](_0x2b5d4b(0x1ac),!0x1),this[_0x2b5d4b(0x1b9)](_0x2b5d4b(0x1ad),!0x1),this[_0x2b5d4b(0x1b9)](_0x2b5d4b(0x1cf),0x0),this[_0x2b5d4b(0x1b9)](_0x2b5d4b(0x1c0),''),this[_0x2b5d4b(0x1b3)]=_0x5b9e8c(()=>this[_0x2b5d4b(0x1bf)]()),this[_0x2b5d4b(0x1c7)]=this[_0x2b5d4b(0x1b0)](),this[_0x2b5d4b(0x1c7)][_0x2b5d4b(0x1ae)](_0x2b5d4b(0x1ce),_0x2b5d4b(0x1a5))['to'](this),this[_0x2b5d4b(0x1c7)][_0x2b5d4b(0x1b1)](_0x6b5334),this[_0x2b5d4b(0x1c6)]=_0x6b5334;const _0x5c171a=this[_0x2b5d4b(0x1c9)];this[_0x2b5d4b(0x1ab)]({'tag':_0x2b5d4b(0x1c8),'attributes':{'class':['ck',_0x2b5d4b(0x1b5),_0x2b5d4b(0x1c5),_0x5c171a['if'](_0x2b5d4b(0x1ac),_0x2b5d4b(0x1c1))],'role':_0x2b5d4b(0x1d0)},'children':this[_0x2b5d4b(0x1c7)]});}[_0x2f81d6(0x1cd)](){const _0x45a35b=_0x2f81d6;super[_0x45a35b(0x1cd)](),this[_0x45a35b(0x1a8)][_0x45a35b(0x1b1)](this[_0x45a35b(0x1aa)]),this[_0x45a35b(0x1bc)][_0x45a35b(0x1d2)](this[_0x45a35b(0x1aa)]),this[_0x45a35b(0x1b3)][_0x45a35b(0x1a9)](this[_0x45a35b(0x1aa)]);}[_0x2f81d6(0x1a6)](){const _0x1f52ef=_0x2f81d6;this[_0x1f52ef(0x1c7)][_0x1f52ef(0x1b7)](),this[_0x1f52ef(0x1bc)][_0x1f52ef(0x1a6)](),this[_0x1f52ef(0x1a8)][_0x1f52ef(0x1a6)](),this[_0x1f52ef(0x1b3)][_0x1f52ef(0x1b2)](),super[_0x1f52ef(0x1a6)]();}[_0x2f81d6(0x1b4)](){const _0x5dfaec=_0x2f81d6;this[_0x5dfaec(0x1c7)][_0x5dfaec(0x1cc)]&&this[_0x5dfaec(0x1c7)][_0x5dfaec(0x1cc)][_0x5dfaec(0x1b4)]();}[_0x2f81d6(0x1bf)](){const _0x314cce=_0x2f81d6,_0x35533c=this[_0x314cce(0x1aa)][_0x314cce(0x1ca)];_0x35533c&&(this[_0x314cce(0x1be)]=_0x35533c);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x50c8e5=_0x40fc;(function(_0x4eea7c,_0xa05920){const _0x59b8a3=_0x40fc,_0xde0b2f=_0x4eea7c();while(!![]){try{const _0x168f4a=parseInt(_0x59b8a3(0x142))/0x1+parseInt(_0x59b8a3(0x13d))/0x2*(parseInt(_0x59b8a3(0x137))/0x3)+parseInt(_0x59b8a3(0x139))/0x4+parseInt(_0x59b8a3(0x141))/0x5*(parseInt(_0x59b8a3(0x13a))/0x6)+parseInt(_0x59b8a3(0x144))/0x7*(parseInt(_0x59b8a3(0x131))/0x8)+parseInt(_0x59b8a3(0x149))/0x9+parseInt(_0x59b8a3(0x148))/0xa*(-parseInt(_0x59b8a3(0x14d))/0xb);if(_0x168f4a===_0xa05920)break;else _0xde0b2f['push'](_0xde0b2f['shift']());}catch(_0x6722b4){_0xde0b2f['push'](_0xde0b2f['shift']());}}}(_0x904b,0x86aa0));import{View as _0x225e0a}from'ckeditor5/src/ui.js';function _0x40fc(_0x1a9bee,_0x2d6c9f){const _0x904bdc=_0x904b();return _0x40fc=function(_0x40fca6,_0x2209b6){_0x40fca6=_0x40fca6-0x126;let _0x43e636=_0x904bdc[_0x40fca6];return _0x43e636;},_0x40fc(_0x1a9bee,_0x2d6c9f);}function _0x904b(){const _0x278e38=['delegate','11okjdAX','detach','element','first','clientHeight','ck-sidebar-item','updateHeight','clear','bindTemplate','focus','render','bottom','6992696rGDvtH','attach','presentation','bind','setTemplate','_mutationObserver','1161RFMybL','set','2856608DAUeSW','611022JJXozF','destroy','ck-sidebar-item--no-animation','2038vIAIAq','_targetTop','arrowdown','div','30VKjueF','531080lPULAv','content','7vpMpJh','createCollection','isAnimationDisabled','height','27623290WDBhml','1702971sjtPQa','arrowup','top'];_0x904b=function(){return _0x278e38;};return _0x904b();}import{toUnit as _0xd53362}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x1da936}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xd53362('px');export class AnnotationsSidebarItemView extends _0x225e0a{[_0x50c8e5(0x143)];[_0x50c8e5(0x13e)];[_0x50c8e5(0x136)];constructor(_0xefd628){const _0xa60e15=_0x50c8e5;super(_0xefd628),this[_0xa60e15(0x138)](_0xa60e15(0x14b),0x0),this[_0xa60e15(0x138)](_0xa60e15(0x147),0x0),this[_0xa60e15(0x134)](_0xa60e15(0x130))['to'](this,_0xa60e15(0x14b),this,_0xa60e15(0x147),(_0x318b2f,_0x2ff1cd)=>_0x318b2f+_0x2ff1cd),this[_0xa60e15(0x138)](_0xa60e15(0x146),!0x1),this[_0xa60e15(0x136)]=_0x1da936(()=>this[_0xa60e15(0x12b)]()),this[_0xa60e15(0x13e)]=null,this[_0xa60e15(0x143)]=this[_0xa60e15(0x145)](),this[_0xa60e15(0x143)][_0xa60e15(0x14c)](_0xa60e15(0x14a),_0xa60e15(0x13f))['to'](this);const _0x3ac7ae=this[_0xa60e15(0x12d)];this[_0xa60e15(0x135)]({'tag':_0xa60e15(0x140),'attributes':{'class':[_0xa60e15(0x12a),_0x3ac7ae['to'](_0xa60e15(0x146),_0x50abd4=>_0x50abd4?_0xa60e15(0x13c):'')],'style':{'top':_0x3ac7ae['to'](_0xa60e15(0x14b),_0x4a7439=>Ot(_0x4a7439))},'role':_0xa60e15(0x133)},'children':this[_0xa60e15(0x143)]});}[_0x50c8e5(0x12f)](){const _0x5b758b=_0x50c8e5;super[_0x5b758b(0x12f)](),this[_0x5b758b(0x136)][_0x5b758b(0x132)](this[_0x5b758b(0x127)]);}[_0x50c8e5(0x12e)](){const _0x297bae=_0x50c8e5;this[_0x297bae(0x143)][_0x297bae(0x128)]&&this[_0x297bae(0x143)][_0x297bae(0x128)][_0x297bae(0x12e)]();}[_0x50c8e5(0x12b)](){const _0x43d775=_0x50c8e5,_0x1c3314=this[_0x43d775(0x127)][_0x43d775(0x129)];_0x1c3314&&(this[_0x43d775(0x147)]=_0x1c3314);}[_0x50c8e5(0x13b)](){const _0x4acdb5=_0x50c8e5;this[_0x4acdb5(0x143)][_0x4acdb5(0x12c)](),this[_0x4acdb5(0x136)][_0x4acdb5(0x126)](),super[_0x4acdb5(0x13b)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2f8a3a=_0x41b8;(function(_0x22b311,_0x134d68){const _0x5309a5=_0x41b8,_0x165585=_0x22b311();while(!![]){try{const _0x2a9eed=parseInt(_0x5309a5(0xbb))/0x1*(-parseInt(_0x5309a5(0x9f))/0x2)+parseInt(_0x5309a5(0x8c))/0x3+-parseInt(_0x5309a5(0x9b))/0x4*(parseInt(_0x5309a5(0xa9))/0x5)+parseInt(_0x5309a5(0xb2))/0x6*(-parseInt(_0x5309a5(0xb0))/0x7)+-parseInt(_0x5309a5(0xa8))/0x8+-parseInt(_0x5309a5(0x93))/0x9*(parseInt(_0x5309a5(0x94))/0xa)+parseInt(_0x5309a5(0xa5))/0xb;if(_0x2a9eed===_0x134d68)break;else _0x165585['push'](_0x165585['shift']());}catch(_0x4cb53f){_0x165585['push'](_0x165585['shift']());}}}(_0x33de,0x80be1));import{View as _0x5c0746,FocusCycler as _0x29d99d}from'ckeditor5/src/ui.js';function _0x33de(){const _0x1fcdbf=['Annotations\x20list','4963GDNKDz','_updateItemPositionInFocusables','4530AJgyab','bindTemplate','focusCycler','class','add','removed','top','length','_setupKeyboardNavigation','213154QUdsua','forEach','getIndex','focusPrevious','minHeight','2408709HluTxQ','listenTo','added','focusTracker','number','focusables','focusNext','1503LVshtN','9780HqmXyd','delegate','setTemplate','focusFirst','arrowup','source','element','71268XaMkfh','render','change','Annotations\x20sidebar','6oneoez','div','remove','application','createCollection','ck-sidebar','19619391MXbypm','ck-reset','set','3060392osFHbg','95uZuwjN','arrowdown','change:top','uiLanguageDirection','list','focus'];_0x33de=function(){return _0x1fcdbf;};return _0x33de();}import{FocusTracker as _0x474a70,toUnit as _0x17f50b}from'ckeditor5/src/utils.js';import{getTranslation as _0x138564}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';function _0x41b8(_0x1b507d,_0x444ef4){const _0x33de0a=_0x33de();return _0x41b8=function(_0x41b87e,_0xe04ad7){_0x41b87e=_0x41b87e-0x8c;let _0xee9c69=_0x33de0a[_0x41b87e];return _0xee9c69;},_0x41b8(_0x1b507d,_0x444ef4);}const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x17f50b('px');export class AnnotationsSidebarView extends _0x5c0746{[_0x2f8a3a(0xad)];[_0x2f8a3a(0x91)];[_0x2f8a3a(0x8f)];[_0x2f8a3a(0xb4)];constructor(_0x4eacf3){const _0x3ea019=_0x2f8a3a;super(_0x4eacf3);const _0x17dfd8=this[_0x3ea019(0xb3)];this[_0x3ea019(0xa7)](_0x3ea019(0xbf),0x0),this[_0x3ea019(0xa7)](_0x3ea019(0xb5),''),this[_0x3ea019(0xad)]=this[_0x3ea019(0xa3)](),this[_0x3ea019(0x91)]=this[_0x3ea019(0xa3)](),this[_0x3ea019(0xad)][_0x3ea019(0x95)](_0x3ea019(0x98),_0x3ea019(0xaa))['to'](this),this[_0x3ea019(0x8f)]=new _0x474a70(),this[_0x3ea019(0xb4)]=new _0x29d99d({'focusables':this[_0x3ea019(0x91)],'focusTracker':this[_0x3ea019(0x8f)]}),this[_0x3ea019(0x96)]({'tag':_0x3ea019(0xa0),'attributes':{'class':['ck',_0x3ea019(0xa4),_0x3ea019(0xa6),_0x17dfd8['to'](_0x3ea019(0xb5))],'style':{'minHeight':_0x17dfd8['to'](_0x3ea019(0xbf),_0x3c8ee3=>_0x3ea019(0x90)==typeof _0x3c8ee3?Ot(_0x3c8ee3+0xa):null)},'dir':_0x4eacf3[_0x3ea019(0xac)],'role':_0x3ea019(0xa2),'aria-label':_0x138564(_0x4eacf3,_0x3ea019(0x9e)),'tabindex':0x0},'children':[{'tag':_0x3ea019(0xa0),'attributes':{'role':_0x3ea019(0xad),'aria-label':_0x138564(_0x4eacf3,_0x3ea019(0xaf))},'children':this[_0x3ea019(0xad)]}]});}[_0x2f8a3a(0x9c)](){const _0x3e87a2=_0x2f8a3a;super[_0x3e87a2(0x9c)](),this[_0x3e87a2(0xba)]();}[_0x2f8a3a(0xae)](){const _0x34caa4=_0x2f8a3a;this[_0x34caa4(0xb4)][_0x34caa4(0x97)]();}[_0x2f8a3a(0xba)](){const _0x1e8e93=_0x2f8a3a;this[_0x1e8e93(0xad)][_0x1e8e93(0x95)](_0x1e8e93(0xab))['to'](this),this['on'](_0x1e8e93(0xab),_0x2f3f74=>{const _0x2a1b74=_0x1e8e93;this[_0x2a1b74(0xb1)](_0x2f3f74[_0x2a1b74(0x99)]);}),this[_0x1e8e93(0xad)][_0x1e8e93(0xbc)](_0x9c0c26=>{const _0x2bf398=_0x1e8e93;this[_0x2bf398(0x8f)][_0x2bf398(0xb6)](_0x9c0c26[_0x2bf398(0x9a)]),this[_0x2bf398(0xb1)](_0x9c0c26);}),this[_0x1e8e93(0xad)]['on'](_0x1e8e93(0x9d),(_0x5e78df,_0x573a86)=>{const _0x4d09fb=_0x1e8e93;for(const _0x253026 of _0x573a86[_0x4d09fb(0xb7)])this[_0x4d09fb(0x8f)][_0x4d09fb(0xa1)](_0x253026[_0x4d09fb(0x9a)]),this[_0x4d09fb(0x91)][_0x4d09fb(0xa1)](_0x253026);for(const _0x3eea56 of _0x573a86[_0x4d09fb(0x8e)])this[_0x4d09fb(0x8f)][_0x4d09fb(0xb6)](_0x3eea56[_0x4d09fb(0x9a)]),this[_0x4d09fb(0xb1)](_0x3eea56);}),this['on'](_0x1e8e93(0x98),()=>{const _0x204514=_0x1e8e93;this[_0x204514(0xb4)][_0x204514(0xbe)]();}),this['on'](_0x1e8e93(0xaa),()=>{const _0x15a500=_0x1e8e93;this[_0x15a500(0xb4)][_0x15a500(0x92)]();}),this[_0x1e8e93(0x8d)](this[_0x1e8e93(0x9a)],_0x1e8e93(0xae),()=>{const _0x4cbceb=_0x1e8e93;this[_0x4cbceb(0xae)]();});}[_0x2f8a3a(0xb1)](_0x3331e1){const _0x3e9e41=_0x2f8a3a,_0x3a48f8=this[_0x3e9e41(0x91)][_0x3e9e41(0xbd)](_0x3331e1);let _0x401981,_0x3d6f42;for(const _0x17858a of this[_0x3e9e41(0x91)])if(_0x3331e1[_0x3e9e41(0xb8)]<_0x17858a[_0x3e9e41(0xb8)]){_0x401981=_0x17858a;break;}if(_0x3d6f42=_0x401981?this[_0x3e9e41(0x91)][_0x3e9e41(0xbd)](_0x401981):this[_0x3e9e41(0x91)][_0x3e9e41(0xb9)],-0x1!==_0x3a48f8){if(_0x3a48f8===_0x3d6f42-0x1)return;this[_0x3e9e41(0x91)][_0x3e9e41(0xa1)](_0x3331e1),_0x3d6f42=_0x401981?this[_0x3e9e41(0x91)][_0x3e9e41(0xbd)](_0x401981):this[_0x3e9e41(0x91)][_0x3e9e41(0xb9)];}this[_0x3e9e41(0x91)][_0x3e9e41(0xb6)](_0x3331e1,_0x3d6f42);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a926e=_0x7571;(function(_0x19d701,_0x2066c9){const _0x25d3b8=_0x7571,_0x3a506a=_0x19d701();while(!![]){try{const _0x5ec856=parseInt(_0x25d3b8(0x108))/0x1*(-parseInt(_0x25d3b8(0x103))/0x2)+-parseInt(_0x25d3b8(0xee))/0x3+parseInt(_0x25d3b8(0xd7))/0x4+parseInt(_0x25d3b8(0x107))/0x5+parseInt(_0x25d3b8(0xcb))/0x6+-parseInt(_0x25d3b8(0xc3))/0x7*(-parseInt(_0x25d3b8(0xd1))/0x8)+parseInt(_0x25d3b8(0xcc))/0x9;if(_0x5ec856===_0x2066c9)break;else _0x3a506a['push'](_0x3a506a['shift']());}catch(_0x1bc06d){_0x3a506a['push'](_0x3a506a['shift']());}}}(_0x4ea9,0x672f9));import{ContextPlugin as _0x3363e8,Context as _0x35d62f}from'ckeditor5/src/core.js';function _0x7571(_0x225271,_0xc738f2){const _0x4ea9c5=_0x4ea9();return _0x7571=function(_0x75711,_0xf422ce){_0x75711=_0x75711-0xc2;let _0x51bb99=_0x4ea9c5[_0x75711];return _0x51bb99;},_0x7571(_0x225271,_0xc738f2);}import{AnnotationsUIs as _0x3b683a}from'./annotationsuis.js';function _0x4ea9(){const _0x2dca4f=['rearrange','addAnnotation','isAttached','1592379aqkoJP','_refreshPositioningDebounced','_destroyEditorAnnotationsIntegration','setActiveAnnotation','ready','set:container','stopListening','attach','high','blur','destroy','EditorAnnotations','widesidebar-attach-already-attached','requires','focus','plugins','cancel','uiUpdate','updateTargetRect','_detachFromContainer','isOfficialPlugin','8BkQFqm','hasDomSelection','from','get','2916290TXbjKa','65213DoOQKW','init','25746rTBQAj','listenTo','_editorAnnotations','container','Annotations','_activeAnnotation','editors','context','1258908qvlKsf','1927737zyHGUJ','refresh','refreshPositioning','wideSidebar','activeAnnotation','232ntuBQJ','change:container','pluginName','resize','addEventListener','isPremiumPlugin','401452CsjUcQ','ck-sidebar--wide','detach','widesidebar-detach-not-attached','annotations','_annotations','set','register','getOrderedSelectedAnnotations','WideSidebar','removeEventListener','remove','refreshVisibility','_integrateWithEditorAnnotations','stop','add','switchTo','_attachToContainer','off','has'];_0x4ea9=function(){return _0x2dca4f;};return _0x4ea9();}import{Sidebar as _0x324564}from'./sidebar.js';import{CKEditorError as _0x48b767,Collection as _0x428f64}from'ckeditor5/src/utils.js';import{debounce as _0x5bb30f}from'es-toolkit/compat';export class WideSidebar extends _0x3363e8{[_0x2a926e(0xed)];[_0x2a926e(0xdb)];[_0x2a926e(0xc5)];[_0x2a926e(0xef)];static get[_0x2a926e(0xfb)](){return[_0x324564,_0x3b683a];}static get[_0x2a926e(0xd3)](){const _0x18f52e=_0x2a926e;return _0x18f52e(0xe0);}static get[_0x2a926e(0x102)](){return!0x0;}static get[_0x2a926e(0xd6)](){return!0x0;}constructor(_0x5923f5){const _0x3907b6=_0x2a926e;super(_0x5923f5),this[_0x3907b6(0xed)]=!0x1,this[_0x3907b6(0xdd)](_0x3907b6(0xd0),null),this[_0x3907b6(0xdb)]=null,this[_0x3907b6(0xc5)]=new _0x428f64(),this[_0x3907b6(0xef)]=_0x5bb30f(()=>{const _0x56e3ed=_0x3907b6;_0x5923f5[_0x56e3ed(0xfd)][_0x56e3ed(0x106)](_0x56e3ed(0xc7))[_0x56e3ed(0xe3)](),this[_0x56e3ed(0xdb)][_0x56e3ed(0xce)]();},0xfa,{'leading':!0x1});}[_0x2a926e(0xc2)](){const _0x68433c=_0x2a926e,_0x8140ed=this[_0x68433c(0xca)][_0x68433c(0xfd)][_0x68433c(0x106)](_0x3b683a),_0x643d2b=this[_0x68433c(0xca)][_0x68433c(0xfd)][_0x68433c(0x106)](_0x324564);_0x8140ed[_0x68433c(0xde)](_0x68433c(0xcf),this),_0x643d2b[_0x68433c(0xc6)]&&_0x8140ed[_0x68433c(0xe7)](_0x68433c(0xcf));}[_0x2a926e(0xf1)](_0x15b718){const _0xd44f6c=_0x2a926e;if(_0x15b718===this[_0xd44f6c(0xd0)])return;const _0x3b06a5=this[_0xd44f6c(0xca)][_0xd44f6c(0xfd)][_0xd44f6c(0x106)](_0x324564);_0x3b06a5[_0xd44f6c(0xc8)]=_0x15b718;const _0x4d507c=this[_0xd44f6c(0xd0)];_0x3b06a5[_0xd44f6c(0xcd)]({'blurredAnnotation':_0x4d507c,'activatedAnnotation':_0x15b718}),this[_0xd44f6c(0xd0)]=_0x15b718;}[_0x2a926e(0xf5)](_0x30b643){const _0x38a6ee=_0x2a926e;this[_0x38a6ee(0xdb)]=_0x30b643;const _0xe7ce61=this[_0x38a6ee(0xca)][_0x38a6ee(0xfd)][_0x38a6ee(0x106)](_0x324564);if(_0xe7ce61[_0x38a6ee(0xdc)]=_0x30b643,this[_0x38a6ee(0xed)])throw new _0x48b767(_0x38a6ee(0xfa),this);this[_0x38a6ee(0xed)]=!0x0,this[_0x38a6ee(0xc4)](_0xe7ce61,_0x38a6ee(0xf3),()=>{const _0x1a51cc=_0x38a6ee;this[_0x1a51cc(0xd9)](),this[_0x1a51cc(0xc4)](_0xe7ce61,_0x1a51cc(0xd2),_0x48b0d2=>{const _0x555071=_0x1a51cc;_0x48b0d2[_0x555071(0xe9)](),this[_0x555071(0xf5)](_0x30b643);});}),_0xe7ce61[_0x38a6ee(0xe8)]({'viewClass':_0x38a6ee(0xd8)});const _0x1e5999=_0x9163f9=>{const _0x5bd29f=_0x38a6ee;_0x9163f9[_0x5bd29f(0x100)](),_0xe7ce61[_0x5bd29f(0xec)](_0x9163f9);};for(const _0x100635 of _0x30b643)_0x1e5999(_0x100635);this[_0x38a6ee(0xc4)](_0x30b643,_0x38a6ee(0xe6),(_0x424705,_0x576650)=>{_0x1e5999(_0x576650);}),this[_0x38a6ee(0xc4)](_0x30b643,_0x38a6ee(0xe2),(_0xb0b353,_0x3adec6,_0x1c58df)=>{const _0x13135c=_0x38a6ee;_0xe7ce61[_0x13135c(0xeb)]({'removedAnnotation':_0x3adec6,'previousAnnotation':_0x30b643[_0x13135c(0x106)](_0x1c58df-0x1),'nextAnnotation':_0x30b643[_0x13135c(0x106)](_0x1c58df+0x1)}),_0x3adec6===this[_0x13135c(0xd0)]&&this[_0x13135c(0xf1)](null);},{'priority':_0x38a6ee(0xf6)}),this[_0x38a6ee(0xc4)](_0x30b643,_0x38a6ee(0xfc),(_0x3d6d6b,_0x229ccb)=>{const _0x1afff0=_0x38a6ee;this[_0x1afff0(0xf1)](_0x229ccb);}),this[_0x38a6ee(0xc4)](_0x30b643,_0x38a6ee(0xf7),()=>{const _0x4a50dd=_0x38a6ee;this[_0x4a50dd(0xf1)](null);});const _0x176219=this[_0x38a6ee(0xca)]instanceof _0x35d62f?this[_0x38a6ee(0xca)][_0x38a6ee(0xc9)]:new _0x428f64([this[_0x38a6ee(0xca)]]);for(const _0x1d946e of _0x176219)this[_0x38a6ee(0xe4)](_0x1d946e);this[_0x38a6ee(0xc4)](_0x176219,_0x38a6ee(0xe6),(_0x2f7e5e,_0x15aa56)=>{const _0x103ac4=_0x38a6ee;this[_0x103ac4(0xc4)](_0x15aa56,_0x103ac4(0xf2),()=>{const _0x1cd4f9=_0x103ac4;this[_0x1cd4f9(0xe4)](_0x15aa56);});}),this[_0x38a6ee(0xc4)](_0x176219,_0x38a6ee(0xe2),(_0x45181d,_0x154543)=>{const _0x12afc1=_0x38a6ee;_0x154543[_0x12afc1(0xfd)][_0x12afc1(0xea)](_0x12afc1(0xf9))&&this[_0x12afc1(0xf0)](_0x154543[_0x12afc1(0xfd)][_0x12afc1(0x106)](_0x12afc1(0xf9)));}),window[_0x38a6ee(0xd5)](_0x38a6ee(0xd4),this[_0x38a6ee(0xef)]),this[_0x38a6ee(0xca)][_0x38a6ee(0xfd)][_0x38a6ee(0x106)](_0x38a6ee(0xc7))[_0x38a6ee(0xe3)](),this[_0x38a6ee(0xdb)][_0x38a6ee(0xce)]();}[_0x2a926e(0xd9)](){const _0x5f3e2e=_0x2a926e;if(!this[_0x5f3e2e(0xed)])throw new _0x48b767(_0x5f3e2e(0xda),this);this[_0x5f3e2e(0xf1)](null);const _0x51c009=this[_0x5f3e2e(0xca)][_0x5f3e2e(0xfd)][_0x5f3e2e(0x106)](_0x324564);_0x51c009[_0x5f3e2e(0x101)](this[_0x5f3e2e(0xdb)]),this[_0x5f3e2e(0xf4)](_0x51c009),this[_0x5f3e2e(0xf4)](this[_0x5f3e2e(0xdb)]),this[_0x5f3e2e(0xca)]instanceof _0x35d62f&&this[_0x5f3e2e(0xf4)](this[_0x5f3e2e(0xca)][_0x5f3e2e(0xc9)]);for(const _0x1ce134 of Array[_0x5f3e2e(0x105)](this[_0x5f3e2e(0xc5)]))this[_0x5f3e2e(0xf0)](_0x1ce134);window[_0x5f3e2e(0xe1)](_0x5f3e2e(0xd4),this[_0x5f3e2e(0xef)]),this[_0x5f3e2e(0xef)][_0x5f3e2e(0xfe)](),this[_0x5f3e2e(0xd0)]=null,this[_0x5f3e2e(0xed)]=!0x1,this[_0x5f3e2e(0xdb)]=null;}[_0x2a926e(0xf8)](){const _0x4668c5=_0x2a926e;this[_0x4668c5(0xed)]&&this[_0x4668c5(0xd9)]();}[_0x2a926e(0xe4)](_0x3e6466){const _0x2a60e7=_0x2a926e;if(!_0x3e6466[_0x2a60e7(0xfd)][_0x2a60e7(0xea)](_0x2a60e7(0xf9)))return;const _0x220795=_0x3e6466[_0x2a60e7(0xfd)][_0x2a60e7(0x106)](_0x2a60e7(0xf9)),_0x4d2613=()=>{const _0x5b75a3=_0x2a60e7,_0x4823c3=_0x220795[_0x5b75a3(0xdf)]({'annotations':this[_0x5b75a3(0xdb)],'activeAnnotation':this[_0x5b75a3(0xd0)]});this[_0x5b75a3(0xf1)](_0x4823c3[0x0]||null);};this[_0x2a60e7(0xc4)](_0x220795,_0x2a60e7(0xcd),_0x4d2613),this[_0x2a60e7(0xc4)](_0x220795,_0x2a60e7(0xf7),(_0xc1c9e7,{isAnnotationTracked:_0x1779bd})=>{const _0x4aa74b=_0x2a60e7;this[_0x4aa74b(0xd0)]&&_0x1779bd(this[_0x4aa74b(0xd0)])&&this[_0x4aa74b(0xf1)](null);}),this[_0x2a60e7(0xc4)](_0x220795,_0x2a60e7(0xff),()=>{const _0x39f3ab=_0x2a60e7;this[_0x39f3ab(0xef)]();}),this[_0x2a60e7(0xc4)](this[_0x2a60e7(0xdb)],_0x2a60e7(0xf7),_0x5e660f=>{const _0x3d8c62=_0x2a60e7;_0x220795[_0x3d8c62(0x104)]()&&(_0x4d2613(),_0x5e660f[_0x3d8c62(0xe5)]());},{'priority':_0x2a60e7(0xf6)}),this[_0x2a60e7(0xc5)][_0x2a60e7(0xe6)](_0x220795);}[_0x2a926e(0xf0)](_0x511c78){const _0x1e8ce1=_0x2a926e;this[_0x1e8ce1(0xf4)](_0x511c78),this[_0x1e8ce1(0xc5)][_0x1e8ce1(0xe2)](_0x511c78);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x58bb92=_0x188f;(function(_0x182d9e,_0x1c31d4){const _0x525169=_0x188f,_0x45f67b=_0x182d9e();while(!![]){try{const _0x2385ff=-parseInt(_0x525169(0x182))/0x1*(parseInt(_0x525169(0x15e))/0x2)+parseInt(_0x525169(0x171))/0x3*(parseInt(_0x525169(0x151))/0x4)+parseInt(_0x525169(0x16d))/0x5*(-parseInt(_0x525169(0x162))/0x6)+parseInt(_0x525169(0x156))/0x7+parseInt(_0x525169(0x184))/0x8+-parseInt(_0x525169(0x177))/0x9*(-parseInt(_0x525169(0x15a))/0xa)+-parseInt(_0x525169(0x15b))/0xb;if(_0x2385ff===_0x1c31d4)break;else _0x45f67b['push'](_0x45f67b['shift']());}catch(_0x471148){_0x45f67b['push'](_0x45f67b['shift']());}}}(_0x522e,0x8b753));function _0x188f(_0x3e1af1,_0x391a94){const _0x522e1d=_0x522e();return _0x188f=function(_0x188f13,_0x4de0b5){_0x188f13=_0x188f13-0x151;let _0xc49944=_0x522e1d[_0x188f13];return _0xc49944;},_0x188f(_0x3e1af1,_0x391a94);}import{Command as _0x2ab081}from'ckeditor5/src/core.js';import{uid as _0x6014d7,CKEditorError as _0x30366f}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x2ab081{constructor(_0xf6e37a){const _0x10a82b=_0x188f;super(_0xf6e37a),this[_0x10a82b(0x16f)](_0x10a82b(0x16e),!0x1);}[_0x58bb92(0x181)](){const _0x163205=_0x58bb92,_0x3a454e=this[_0x163205(0x180)][_0x163205(0x15f)][_0x163205(0x15d)][_0x163205(0x152)];this[_0x163205(0x17d)]=!0x0,this[_0x163205(0x16e)]=!0x1;for(const _0x464453 of _0x3a454e[_0x163205(0x179)]())if(this[_0x163205(0x160)](_0x464453))return void(this[_0x163205(0x16e)]=!0x0);}[_0x58bb92(0x17b)]({threadId:_0x4ffa0f=_0x6014d7(),ranges:_0x5f428f,comment:_0x3a49a6}={}){const _0x4c43fe=_0x58bb92,_0x2c87a6=this[_0x4c43fe(0x180)][_0x4c43fe(0x15f)],_0x324b50=_0x5f428f??Array[_0x4c43fe(0x166)](_0x2c87a6[_0x4c43fe(0x15d)][_0x4c43fe(0x152)][_0x4c43fe(0x179)]()),_0x3d8e44=[];for(const _0x4d5125 of _0x324b50)this[_0x4c43fe(0x160)](_0x4d5125)&&_0x3d8e44[_0x4c43fe(0x17c)](this[_0x4c43fe(0x159)](_0x4d5125));if(!_0x3d8e44[_0x4c43fe(0x154)])throw new _0x30366f(_0x4c43fe(0x17a),null);_0x3a49a6&&this[_0x4c43fe(0x158)](_0x4ffa0f,_0x3a49a6),this[_0x4c43fe(0x17f)](_0x4ffa0f,_0x3d8e44,!!_0x3a49a6);}[_0x58bb92(0x17f)](_0x20f87c,_0x2fbae6,_0x292c1a){const _0x81d820=_0x58bb92;this[_0x81d820(0x180)][_0x81d820(0x15f)][_0x81d820(0x16c)](_0x346a8a=>{const _0x13d233=_0x81d820;for(const _0x18d57a of _0x2fbae6){const _0x4981f5=_0x6014d7()[_0x13d233(0x178)](0x1,0x5),_0x32320e=_0x13d233(0x155)+_0x20f87c+':'+_0x4981f5;_0x346a8a[_0x13d233(0x174)](_0x32320e,{'range':_0x18d57a,'usingOperation':_0x292c1a,'affectsData':_0x292c1a});}});}[_0x58bb92(0x158)](_0x23ded0,_0x330c20){const _0x55fca9=_0x58bb92,_0x5c72b9=this[_0x55fca9(0x180)][_0x55fca9(0x176)][_0x55fca9(0x161)](_0x55fca9(0x173)),_0x4c68d0=this[_0x55fca9(0x180)][_0x55fca9(0x153)][_0x55fca9(0x161)](_0x55fca9(0x172)),_0x300ce7=this[_0x55fca9(0x180)][_0x55fca9(0x176)][_0x55fca9(0x161)](_0x55fca9(0x168))['me'];if(!_0x300ce7)throw new _0x30366f(_0x55fca9(0x183),null);_0x5c72b9[_0x55fca9(0x163)]({'threadId':_0x23ded0,'channelId':_0x4c68d0,'comments':[{'authorId':_0x300ce7['id'],'content':_0x330c20,'createdAt':new Date(),'attributes':{}}]});}[_0x58bb92(0x160)](_0x390c2f){const _0x2e1f88=_0x58bb92;for(const _0x3e3980 of _0x390c2f[_0x2e1f88(0x169)]())if(this[_0x2e1f88(0x185)](_0x3e3980))return!0x0;return!0x1;}[_0x58bb92(0x185)](_0x381ccf){const _0x2fa961=_0x58bb92;return _0x381ccf['is'](_0x2fa961(0x164))||this[_0x2fa961(0x180)][_0x2fa961(0x15f)][_0x2fa961(0x167)][_0x2fa961(0x175)](_0x381ccf)&&!_0x381ccf['is'](_0x2fa961(0x15c),_0x2fa961(0x17e));}[_0x58bb92(0x159)](_0x7854c8){const _0x89c42f=_0x58bb92,_0x226d77=_0x41c7a6=>!this[_0x89c42f(0x185)](_0x41c7a6[_0x89c42f(0x16b)]),_0x3fda75=_0x7854c8[_0x89c42f(0x186)][_0x89c42f(0x170)](_0x226d77),_0xd88dad=_0x7854c8[_0x89c42f(0x16a)][_0x89c42f(0x170)](_0x226d77,{'direction':_0x89c42f(0x165)});return this[_0x89c42f(0x180)][_0x89c42f(0x15f)][_0x89c42f(0x157)](_0x3fda75,_0xd88dad);}}function _0x522e(){const _0x22f923=['get','3342030YuriYV','addCommentThread','$textProxy','backward','from','schema','Users','getItems','end','item','change','5DxucsP','hasContent','set','getLastMatchingPosition','4191eeUIdV','collaboration.channelId','CommentsRepository','addMarker','isObject','plugins','70524GYlyWQ','substr','getRanges','addcommentthreadcommand-incorrect-ranges','execute','push','isEnabled','tableCell','_createMarkersFromRanges','editor','refresh','27WmEITh','addcommentthreadcommand-user-not-found','2409744MFUPFD','_itemIsContent','start','964JMevMN','selection','config','length','comment:','7736057LXrIvh','createRange','_createCommentThread','_trimToContent','140aUBfas','3425983KUYwHP','element','document','30598dVsOUn','model','_hasContent'];_0x522e=function(){return _0x22f923;};return _0x522e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34f48f=_0x15fc;function _0x15fc(_0x349112,_0x2b8f67){const _0x4b1400=_0x4b14();return _0x15fc=function(_0x15fc7d,_0x4f5a0a){_0x15fc7d=_0x15fc7d-0xed;let _0x3f3165=_0x4b1400[_0x15fc7d];return _0x3f3165;},_0x15fc(_0x349112,_0x2b8f67);}(function(_0xd64d82,_0x1c5b41){const _0x534375=_0x15fc,_0x81977e=_0xd64d82();while(!![]){try{const _0x49dc9e=parseInt(_0x534375(0xfc))/0x1*(-parseInt(_0x534375(0x109))/0x2)+parseInt(_0x534375(0xf3))/0x3*(parseInt(_0x534375(0x100))/0x4)+parseInt(_0x534375(0x114))/0x5*(parseInt(_0x534375(0x107))/0x6)+parseInt(_0x534375(0x10a))/0x7+-parseInt(_0x534375(0x110))/0x8+-parseInt(_0x534375(0x10b))/0x9*(-parseInt(_0x534375(0x106))/0xa)+-parseInt(_0x534375(0x102))/0xb;if(_0x49dc9e===_0x1c5b41)break;else _0x81977e['push'](_0x81977e['shift']());}catch(_0x5f4727){_0x81977e['push'](_0x81977e['shift']());}}}(_0x4b14,0x6114f));import{ContextPlugin as _0x123e34}from'ckeditor5/src/core.js';import{Collection as _0x26a266}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x28ec99}from'./commentsrepository.js';import{Annotations as _0x439328}from'../annotations/annotations.js';function _0x4b14(){const _0x271199=['isVisible','archivedAt','10JnahGj','1281198PlAmif','isOfficialPlugin','2ukyWBg','3079160OuyDxY','6974910arAwlx','get','highest','add','focus','5920064voTIan','listenTo','addCommentThread','has','5KUIwiW','findIndex','init','stopListening','_calculatePosition','getCommentThread','collection','141eHLDjI','length','isActive','requires','CommentsArchive','archivedThreads','pluginName','removeCommentThread','isPremiumPlugin','194197iImJjf','remove','context','plugins','11348iHSlGp','activate','2528790TsAsbX','change:archivedAt'];_0x4b14=function(){return _0x271199;};return _0x4b14();}export class CommentsArchive extends _0x123e34{static get[_0x34f48f(0xf9)](){const _0x3def77=_0x34f48f;return _0x3def77(0xf7);}static get[_0x34f48f(0x108)](){return!0x0;}static get[_0x34f48f(0xfb)](){return!0x0;}static get[_0x34f48f(0xf6)](){return[_0x28ec99,_0x439328];}constructor(_0x2246f8){const _0x4931b6=_0x34f48f;super(_0x2246f8),this[_0x4931b6(0xf8)]=new _0x26a266();}[_0x34f48f(0xee)](){const _0x1d9664=_0x34f48f,_0x2eb099=this[_0x1d9664(0xfe)],_0x57fa08=_0x2eb099[_0x1d9664(0xff)][_0x1d9664(0x10c)](_0x28ec99),_0x337dd6=_0x2eb099[_0x1d9664(0xff)][_0x1d9664(0x10c)](_0x439328);this[_0x1d9664(0x111)](_0x57fa08,_0x1d9664(0x112),(_0x5c10a5,{threadId:_0x9a8a60})=>{const _0x8860a2=_0x1d9664,_0x1e17b7=_0x57fa08[_0x8860a2(0xf1)](_0x9a8a60);_0x1e17b7[_0x8860a2(0x105)]&&this[_0x8860a2(0xf8)][_0x8860a2(0x10e)](_0x1e17b7,this[_0x8860a2(0xf0)](_0x1e17b7[_0x8860a2(0x105)])),this[_0x8860a2(0x111)](_0x1e17b7,_0x8860a2(0x103),(_0x50efc1,_0xe26455,_0x336350)=>{const _0x51f75d=_0x8860a2;_0x336350?this[_0x51f75d(0xf8)][_0x51f75d(0x113)](_0x1e17b7)||this[_0x51f75d(0xf8)][_0x51f75d(0x10e)](_0x1e17b7,this[_0x51f75d(0xf0)](_0x1e17b7[_0x51f75d(0x105)])):this[_0x51f75d(0xf8)][_0x51f75d(0x113)](_0x1e17b7)&&this[_0x51f75d(0xf8)][_0x51f75d(0xfd)](_0x1e17b7);});}),this[_0x1d9664(0x111)](_0x57fa08,_0x1d9664(0xfa),(_0x136f71,{threadId:_0xa1ea7b})=>{const _0x2be096=_0x1d9664,_0xdf227b=_0x57fa08[_0x2be096(0xf1)](_0xa1ea7b);this[_0x2be096(0xef)](_0xdf227b),this[_0x2be096(0xf8)][_0x2be096(0x113)](_0xdf227b)&&this[_0x2be096(0xf8)][_0x2be096(0xfd)](_0xdf227b);},{'priority':_0x1d9664(0x10d)}),this[_0x1d9664(0x111)](_0x337dd6[_0x1d9664(0xf2)],_0x1d9664(0x10f),(_0x39529f,_0x7bccdb)=>{const _0x5ad571=_0x1d9664;_0x7bccdb[_0x5ad571(0x104)]||(_0x7bccdb[_0x5ad571(0xf5)]=!0x0,_0x337dd6[_0x5ad571(0x101)](_0x7bccdb));});}[_0x34f48f(0xf0)](_0x4e7a25){const _0x177667=_0x34f48f,_0xf33a0e=[...this[_0x177667(0xf8)]][_0x177667(0xed)](_0x244b64=>_0x244b64[_0x177667(0x105)]<_0x4e7a25);return _0xf33a0e>-0x1?_0xf33a0e:this[_0x177667(0xf8)][_0x177667(0xf4)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd72e13=_0x57c3;(function(_0xf17f3f,_0x310273){const _0x5bbb2d=_0x57c3,_0x4385d2=_0xf17f3f();while(!![]){try{const _0x4a4e46=-parseInt(_0x5bbb2d(0xd0))/0x1*(parseInt(_0x5bbb2d(0xff))/0x2)+parseInt(_0x5bbb2d(0xe3))/0x3+-parseInt(_0x5bbb2d(0xd7))/0x4*(parseInt(_0x5bbb2d(0xcb))/0x5)+parseInt(_0x5bbb2d(0xce))/0x6*(parseInt(_0x5bbb2d(0xcc))/0x7)+parseInt(_0x5bbb2d(0xfe))/0x8+-parseInt(_0x5bbb2d(0x102))/0x9+parseInt(_0x5bbb2d(0xcf))/0xa;if(_0x4a4e46===_0x310273)break;else _0x4385d2['push'](_0x4385d2['shift']());}catch(_0x3eecc8){_0x4385d2['push'](_0x4385d2['shift']());}}}(_0x36d3,0x28813));import'../../theme/commentsarchive.css';function _0x36d3(){const _0x9ac31d=['innerView','archivedAt','isOfficialPlugin','CommentsRepository','get','source','collaboration.channelId','isVisible','COMMENTS_ARCHIVE','config','set:isVisible','pluginName','annotationViews','stop','isOn','forEach','Dialog','2529584vZcZYc','2pSHETr','_threadToController','isPremiumPlugin','2776257ewEjUr','_calculatePosition','EDITOR_TOP_SIDE','tooltip','editor','_toggleDialog','bind','filter','menuitemcheckbox','find','commentsArchive','includes','show','_pendingThreads','remove','length','_visibleAnnotations','_handleNewThread','_createCommentsArchiveButton','_addAnnotationToArchive','set','menuBar:commentsArchive','locale','listenTo','8725SGDBFl','15358VOYJJW','plugins','102xIHDdz','4568370xVFzEg','313448TQInxG','execute','splice','stopListening','getByInnerView','_hideDialogOnAnnotationEscape','Annotations','412cPKJSc','view','escape','isOpen','has','isEnabled','channelId','commentsArchiveView','collection','hide','requires','focusableElements','471690iyRGNK','CommentsArchiveUI','indexOf','init','return','componentFactory','findIndex','add','archivedThreads','push'];_0x36d3=function(){return _0x9ac31d;};return _0x36d3();}import{Plugin as _0x12421d}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x432be0}from'ckeditor5/src/icons.js';import{ViewCollection as _0x3986e3,MenuBarMenuListItemButtonView as _0x43937a,ButtonView as _0x2150fd,Dialog as _0x2d573d,DialogViewPosition as _0x5f3584}from'ckeditor5/src/ui.js';function _0x57c3(_0x3ba746,_0x38b0af){const _0x36d390=_0x36d3();return _0x57c3=function(_0x57c343,_0x3fa7db){_0x57c343=_0x57c343-0xbf;let _0x536374=_0x36d390[_0x57c343];return _0x536374;},_0x57c3(_0x3ba746,_0x38b0af);}import{getTranslation as _0x5d7f83}from'../utils/common-translations.js';import{CommentsArchiveView as _0x567ee5}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x3e3029}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x12421d{[_0xd72e13(0xde)];[_0xd72e13(0xf9)];[_0xd72e13(0xc0)];static get[_0xd72e13(0xf8)](){const _0x2ff681=_0xd72e13;return _0x2ff681(0xe4);}static get[_0xd72e13(0xef)](){return!0x0;}static get[_0xd72e13(0x101)](){return!0x0;}static get[_0xd72e13(0xe1)](){return[_0x3e3029,_0x2d573d];}constructor(_0x2e88b0){const _0x4526a4=_0xd72e13;super(_0x2e88b0),this[_0x4526a4(0xf9)]=new _0x3986e3(),this[_0x4526a4(0xc0)]=[];}[_0xd72e13(0xe6)](){const _0x18bdec=_0xd72e13,_0x33a308=this[_0x18bdec(0x106)],_0x438064=this[_0x18bdec(0xd5)][_0x18bdec(0x108)](this);_0x33a308['ui'][_0x18bdec(0xe8)][_0x18bdec(0xea)](_0x18bdec(0x10c),()=>this[_0x18bdec(0xc5)](_0x2150fd,!0x0)),_0x33a308['ui'][_0x18bdec(0xe8)][_0x18bdec(0xea)](_0x18bdec(0xc8),()=>{const _0x333757=_0x18bdec,_0x17396f=this[_0x333757(0xc5)](_0x43937a);return _0x17396f[_0x333757(0xc7)]({'role':_0x333757(0x10a)}),_0x17396f;});const _0x5f5695=_0x33a308[_0x18bdec(0xcd)][_0x18bdec(0xf1)](_0x3e3029),_0x2937b1=_0x33a308[_0x18bdec(0xcd)][_0x18bdec(0xf1)](_0x18bdec(0xd6)),_0x618952=_0x33a308[_0x18bdec(0xcd)][_0x18bdec(0xf1)](_0x18bdec(0xf0));_0x5f5695[_0x18bdec(0xeb)][_0x18bdec(0xfc)](_0x6d38b4=>{const _0x5d6632=_0x18bdec;this[_0x5d6632(0xc4)](_0x6d38b4);}),this[_0x18bdec(0xca)](_0x5f5695[_0x18bdec(0xeb)],_0x18bdec(0xea),(_0x5f203e,_0x13d060)=>{const _0x5cc37c=_0x18bdec;this[_0x5cc37c(0xc4)](_0x13d060);}),this[_0x18bdec(0xca)](_0x2937b1[_0x18bdec(0xdf)],_0x18bdec(0xea),(_0x15f82e,_0xd3169b)=>{const _0x499ac7=_0x18bdec,_0x556820=this[_0x499ac7(0xc0)][_0x499ac7(0x10b)](_0x4444cd=>{const _0x34e246=_0x499ac7,_0x5d59a6=_0x618952[_0x34e246(0x100)][_0x34e246(0xf1)](_0x4444cd);return _0x5d59a6&&_0xd3169b[_0x34e246(0xed)]===_0x5d59a6[_0x34e246(0xd8)];});if(_0x556820){const _0x5848a8=this[_0x499ac7(0x103)](_0x556820[_0x499ac7(0xee)]);this[_0x499ac7(0xc6)](_0xd3169b,_0x5848a8),this[_0x499ac7(0xc0)][_0x499ac7(0xd2)](this[_0x499ac7(0xc0)][_0x499ac7(0xe5)](_0x556820),0x1);}}),this[_0x18bdec(0xca)](_0x5f5695[_0x18bdec(0xeb)],_0x18bdec(0xc1),(_0x49e49c,_0x3a5e9e)=>{const _0x1be077=_0x18bdec,_0x43a22f=_0x33a308[_0x1be077(0xf6)][_0x1be077(0xf1)](_0x1be077(0xf3));if(!_0x43a22f||_0x3a5e9e[_0x1be077(0xdd)]===_0x43a22f){if(this[_0x1be077(0xc0)][_0x1be077(0x10d)](_0x3a5e9e))this[_0x1be077(0xc0)][_0x1be077(0xd2)](this[_0x1be077(0xc0)][_0x1be077(0xe5)](_0x3a5e9e),0x1);else{const _0x3b53bf=_0x618952[_0x1be077(0x100)][_0x1be077(0xf1)](_0x3a5e9e),_0xdad237=_0x2937b1[_0x1be077(0xd4)](_0x3b53bf[_0x1be077(0xd8)]);this[_0x1be077(0xf9)][_0x1be077(0xc1)](_0xdad237[_0x1be077(0xd8)]),this[_0x1be077(0xd3)](_0xdad237),this[_0x1be077(0xd3)](_0xdad237[_0x1be077(0xe2)]);}}}),this[_0x18bdec(0xca)](_0x2937b1[_0x18bdec(0xdf)],_0x18bdec(0xea),(_0x4ceaa2,_0x34e601)=>{const _0x318624=_0x18bdec;this[_0x318624(0xca)](_0x34e601,_0x318624(0xd9),_0x438064);}),this[_0x18bdec(0xca)](_0x2937b1[_0x18bdec(0xdf)],_0x18bdec(0xc1),(_0x12432f,_0x488d5b)=>{const _0x2ddc54=_0x18bdec;this[_0x2ddc54(0xd3)](_0x488d5b,_0x2ddc54(0xd9),_0x438064);});}[_0xd72e13(0xc6)](_0x314ccc,_0x23023f){const _0x2f33a0=_0xd72e13;this[_0x2f33a0(0xca)](_0x314ccc,_0x2f33a0(0xf7),_0x125d99=>{const _0xa622fd=_0x2f33a0;_0x125d99[_0xa622fd(0xe7)]=!0x1,_0x125d99[_0xa622fd(0xfa)]();}),this[_0x2f33a0(0xf9)][_0x2f33a0(0xea)](_0x314ccc[_0x2f33a0(0xd8)],_0x23023f);}[_0xd72e13(0xc4)](_0x4c0dc1){const _0x542164=_0xd72e13,_0x535d60=this[_0x542164(0x106)][_0x542164(0xcd)][_0x542164(0xf1)](_0x542164(0xf0)),_0x3f484b=this[_0x542164(0x106)][_0x542164(0xcd)][_0x542164(0xf1)](_0x542164(0xd6)),_0x190344=this[_0x542164(0x106)][_0x542164(0xf6)][_0x542164(0xf1)](_0x542164(0xf3));if(!_0x190344||_0x4c0dc1[_0x542164(0xdd)]===_0x190344){const _0x1b1fda=_0x535d60[_0x542164(0x100)][_0x542164(0xf1)](_0x4c0dc1);if(!_0x1b1fda)return void this[_0x542164(0xc0)][_0x542164(0xec)](_0x4c0dc1);const _0x3ed2ed=this[_0x542164(0x103)](_0x4c0dc1[_0x542164(0xee)]),_0x476339=_0x3f484b[_0x542164(0xd4)](_0x1b1fda[_0x542164(0xd8)]);_0x476339[_0x542164(0xf4)]&&_0x3f484b[_0x542164(0xc3)][_0x542164(0xc1)](_0x476339),this[_0x542164(0xc6)](_0x476339,_0x3ed2ed);}}[_0xd72e13(0x103)](_0x119f73){const _0x173caa=_0xd72e13,_0x624490=this[_0x173caa(0x106)][_0x173caa(0xf6)][_0x173caa(0xf1)](_0x173caa(0xf3)),_0x5db3ac=[...this[_0x173caa(0x106)][_0x173caa(0xcd)][_0x173caa(0xf1)](_0x3e3029)[_0x173caa(0xeb)]][_0x173caa(0x109)](_0x23928d=>_0x23928d[_0x173caa(0xdd)]===_0x624490)[_0x173caa(0xe9)](_0x90f90=>_0x90f90[_0x173caa(0xee)]<_0x119f73);return _0x5db3ac<0x0||_0x5db3ac>this[_0x173caa(0xf9)][_0x173caa(0xc2)]?this[_0x173caa(0xf9)][_0x173caa(0xc2)]:_0x5db3ac-0x1;}[_0xd72e13(0x107)](){const _0x23141b=_0xd72e13,_0x1c0a33=this[_0x23141b(0x106)],_0x575763=_0x1c0a33[_0x23141b(0xcd)][_0x23141b(0xf1)](_0x23141b(0xfd));this[_0x23141b(0xde)]||(this[_0x23141b(0xde)]=new _0x567ee5(_0x1c0a33[_0x23141b(0xc9)],this[_0x23141b(0xf9)])),_0x23141b(0x10c)===_0x575763['id']?_0x575763[_0x23141b(0xe0)]():_0x575763[_0x23141b(0xbf)]({'id':_0x23141b(0x10c),'title':_0x5d7f83(_0x1c0a33[_0x23141b(0xc9)],_0x23141b(0xf5)),'icon':_0x432be0,'hasCloseButton':!0x0,'content':this[_0x23141b(0xde)],'position':_0x5f3584[_0x23141b(0x104)]});}[_0xd72e13(0xc5)](_0x43b8d4,_0x34d3b6=!0x1){const _0x4b43d7=_0xd72e13,_0x3b967e=this[_0x4b43d7(0x106)][_0x4b43d7(0xc9)],_0x402ca1=this[_0x4b43d7(0x106)][_0x4b43d7(0xcd)][_0x4b43d7(0xf1)](_0x4b43d7(0xfd)),_0x4429d2=new _0x43b8d4(_0x3b967e);return _0x4429d2[_0x4b43d7(0x108)](_0x4b43d7(0xdc))['to'](this,_0x4b43d7(0xdc)),_0x4429d2[_0x4b43d7(0x108)](_0x4b43d7(0xfb))['to'](_0x402ca1,'id',_0x586ae7=>_0x4b43d7(0x10c)===_0x586ae7),_0x4429d2[_0x4b43d7(0xc7)]({'label':_0x5d7f83(_0x3b967e,_0x4b43d7(0xf5)),'icon':_0x432be0,'isToggleable':!0x0}),_0x34d3b6&&(_0x4429d2[_0x4b43d7(0x105)]=!0x0),this[_0x4b43d7(0xca)](_0x4429d2,_0x4b43d7(0xd1),()=>this[_0x4b43d7(0x107)]()),_0x4429d2;}[_0xd72e13(0xd5)]=_0x5b9315=>{const _0x4e0a06=_0xd72e13,_0x414966=_0x5b9315[_0x4e0a06(0xf2)];if(!this[_0x4e0a06(0xf9)][_0x4e0a06(0xdb)](_0x414966[_0x4e0a06(0xd8)]))return;const _0x2070c1=this[_0x4e0a06(0x106)][_0x4e0a06(0xcd)][_0x4e0a06(0xf1)](_0x4e0a06(0xfd));_0x2070c1[_0x4e0a06(0xda)]&&_0x4e0a06(0x10c)===_0x2070c1['id']&&(_0x2070c1[_0x4e0a06(0xe0)](),_0x5b9315[_0x4e0a06(0xfa)]());};}
|