@ckeditor/ckeditor5-comments 47.0.0 → 47.1.0-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 +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 _0x530bf3=_0x4eb8;(function(_0x420c71,_0x3caebb){const _0x3e7baf=_0x4eb8,_0xe579d=_0x420c71();while(!![]){try{const _0x160c0=parseInt(_0x3e7baf(0x1e6))/0x1+parseInt(_0x3e7baf(0x1cf))/0x2*(-parseInt(_0x3e7baf(0x21a))/0x3)+parseInt(_0x3e7baf(0x1c0))/0x4+-parseInt(_0x3e7baf(0x1f5))/0x5*(-parseInt(_0x3e7baf(0x1f1))/0x6)+parseInt(_0x3e7baf(0x1fc))/0x7*(-parseInt(_0x3e7baf(0x201))/0x8)+parseInt(_0x3e7baf(0x1e4))/0x9+parseInt(_0x3e7baf(0x20b))/0xa*(parseInt(_0x3e7baf(0x1ed))/0xb);if(_0x160c0===_0x3caebb)break;else _0xe579d['push'](_0xe579d['shift']());}catch(_0x458059){_0xe579d['push'](_0xe579d['shift']());}}}(_0x2b80,0x72c93));import{ContextPlugin as _0x5d0e47}from'ckeditor5/src/core.js';import{Rect as _0x872403,CKEditorError as _0x406ead}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x3a0404}from'./view/sidebarview.js';function _0x2b80(){const _0x27b947=['bind','_alignToTargetRect','_attachToContainer','710iPlmNc','_detachFromContainer','isAnimationDisabled','isActive','_getTargetTop','change:bottom','_sidebarItemViewToAnnotation','sidebar-attachtocontainer-missing-container','context','getSidebarItemView','destroy','_annotationToSidebarItemView','config','minHeight','height','3mhbVWM','_lastItem','900408jHxhEj','set','pluginName','_annotations','_alignBeforeItem','locale','push','target','_createSidebarView','sidebar.preventScrollOutOfView','clear','_targetTop','Sidebar','list','object','1720102lhVloI','delete','init','container','content','addAnnotation','_getItemBefore','_activeAnnotation','_recalculateBuffer','appendChild','change:targetRect','length','define','rearrange','_alignForTopChange','_recalculate','targetRect','add','refresh','remove','_destroySidebarItemView','7991541ymyZCg','bottom','13460DzAosC','unbind','view','sidebar.container','top','change:_lastItem','_spaceBetweenItems','140822REDXVM','_getMaxAvailableTop','element','sidebar-setcontainer-invalid-element','15546ezCAwM','_setItemTop','isOfficialPlugin','getIndex','230kqGieR','_updateLastItem','change:top','render','nodeType','listenTo','isPremiumPlugin','8575UYiJmY','class','last','_alignAfterItem','get','5384SUMvgd','updateHeight','_alignForBottomChange','max','_getItemAfter','stopListening','setContainer'];_0x2b80=function(){return _0x27b947;};return _0x2b80();}import{AnnotationsSidebarItemView as _0x37a0ec}from'./view/sidebaritemview.js';function _0x4eb8(_0x2518fa,_0x14510b){const _0x2b80a4=_0x2b80();return _0x4eb8=function(_0x4eb89d,_0x27db82){_0x4eb89d=_0x4eb89d-0x1c0;let _0x330f26=_0x2b80a4[_0x4eb89d];return _0x330f26;},_0x4eb8(_0x2518fa,_0x14510b);}export class Sidebar extends _0x5d0e47{[_0x530bf3(0x1e8)];[_0x530bf3(0x1d6)];[_0x530bf3(0x1c3)];[_0x530bf3(0x1ec)];[_0x530bf3(0x211)];[_0x530bf3(0x216)];[_0x530bf3(0x1d7)];static get[_0x530bf3(0x1c2)](){const _0x1e594c=_0x530bf3;return _0x1e594c(0x1cc);}static get[_0x530bf3(0x1f3)](){return!0x0;}static get[_0x530bf3(0x1fb)](){return!0x0;}constructor(_0x3a08a6){const _0x10fb61=_0x530bf3;super(_0x3a08a6),this[_0x10fb61(0x1c1)](_0x10fb61(0x21b),void 0x0),this[_0x10fb61(0x1e8)]=this[_0x10fb61(0x1c8)](),this[_0x10fb61(0x1c1)](_0x10fb61(0x1d2),null),this[_0x10fb61(0x1ec)]=0x19,this[_0x10fb61(0x211)]=new Map(),this[_0x10fb61(0x216)]=new Map(),this[_0x10fb61(0x213)][_0x10fb61(0x217)][_0x10fb61(0x1db)](_0x10fb61(0x1c9),!0x1),this[_0x10fb61(0x1c3)]=null,this[_0x10fb61(0x1d6)]=null,this[_0x10fb61(0x1d7)]=[];}[_0x530bf3(0x1d1)](){const _0x374887=_0x530bf3,_0x5b67e2=this[_0x374887(0x213)][_0x374887(0x217)][_0x374887(0x200)](_0x374887(0x1e9));_0x5b67e2&&this[_0x374887(0x207)](_0x5b67e2);}[_0x530bf3(0x207)](_0x463405){const _0x4572b6=_0x530bf3;if(!g(_0x463405))throw new _0x406ead(_0x4572b6(0x1f0));this[_0x4572b6(0x1d2)]=_0x463405;}[_0x530bf3(0x20a)]({viewClass:_0x102f11='',spaceBetweenItems:_0x60c097=0x19}={}){const _0x4b7095=_0x530bf3;if(!g(this[_0x4b7095(0x1d2)]))throw new _0x406ead(_0x4b7095(0x212),this);this[_0x4b7095(0x1d2)][_0x4b7095(0x1d8)](this[_0x4b7095(0x1e8)][_0x4b7095(0x1ef)]),this[_0x4b7095(0x1e8)][_0x4b7095(0x1fd)]=_0x102f11,this[_0x4b7095(0x1ec)]=_0x60c097;}[_0x530bf3(0x1dc)]({removedAnnotation:_0x4411b2,previousAnnotation:_0x26d367,nextAnnotation:_0x4633f3}){const _0x3fc492=_0x530bf3,_0x5859f2=this[_0x3fc492(0x214)](_0x4411b2);this[_0x3fc492(0x1e8)][_0x3fc492(0x1cd)][_0x3fc492(0x1e2)](_0x5859f2),this[_0x3fc492(0x1e3)](_0x4411b2),_0x26d367&&this[_0x3fc492(0x209)](this[_0x3fc492(0x214)](_0x26d367)),_0x4633f3&&this[_0x3fc492(0x209)](this[_0x3fc492(0x214)](_0x4633f3)),this[_0x3fc492(0x1f6)]();}[_0x530bf3(0x1e1)]({blurredAnnotation:_0x2ed6c3,activatedAnnotation:_0x26aa56,disableAnimationOnActivatedAnnotation:_0x535e58}){const _0x52c180=_0x530bf3;if(this[_0x52c180(0x1d6)]=_0x26aa56,_0x2ed6c3){_0x2ed6c3[_0x52c180(0x20e)]=!0x1;const _0x571567=this[_0x52c180(0x214)](_0x2ed6c3);_0x571567&&_0x535e58&&(_0x571567[_0x52c180(0x20d)]=!0x1);}if(_0x26aa56){const _0x55eb48=this[_0x52c180(0x214)](_0x26aa56);_0x55eb48&&(_0x26aa56[_0x52c180(0x20e)]=!0x0,_0x535e58&&(_0x55eb48[_0x52c180(0x20d)]=!0x0,_0x55eb48[_0x52c180(0x1ea)]+=0x1),this[_0x52c180(0x209)](_0x55eb48));}}[_0x530bf3(0x20c)](_0x312540){const _0x189c6f=_0x530bf3;if(this[_0x189c6f(0x1e8)][_0x189c6f(0x1ef)][_0x189c6f(0x1e2)](),_0x312540){for(const _0x20f5e1 of _0x312540)this[_0x189c6f(0x1e3)](_0x20f5e1);}this[_0x189c6f(0x1e8)][_0x189c6f(0x1cd)][_0x189c6f(0x1ca)](),this[_0x189c6f(0x1e8)][_0x189c6f(0x1fd)]='',this[_0x189c6f(0x21b)]=null;}[_0x530bf3(0x1d4)](_0x27d874,_0x3cac8e){const _0x3ec82f=_0x530bf3;_0x3cac8e||(_0x3cac8e=_0x27d874[_0x3ec82f(0x1e8)]);const _0x36a310=new _0x37a0ec(this[_0x3ec82f(0x213)][_0x3ec82f(0x1c5)]);this[_0x3ec82f(0x211)][_0x3ec82f(0x1c1)](_0x36a310,_0x27d874),this[_0x3ec82f(0x216)][_0x3ec82f(0x1c1)](_0x27d874,_0x36a310),_0x36a310[_0x3ec82f(0x1d3)][_0x3ec82f(0x1e0)](_0x3cac8e),this[_0x3ec82f(0x1fa)](_0x27d874[_0x3ec82f(0x1e8)],_0x3ec82f(0x1d9),(_0x621dd8,_0x4dfdd1,_0x570465)=>{const _0xebb5de=_0x3ec82f,_0x262180=this[_0xebb5de(0x20f)](_0x27d874,_0x570465);_0x36a310[_0xebb5de(0x1cb)]!=_0x262180&&(_0x36a310[_0xebb5de(0x1cb)]=_0x262180,this[_0xebb5de(0x1f2)](_0x36a310,_0x262180));}),this[_0x3ec82f(0x1fa)](_0x36a310,_0x3ec82f(0x1f7),()=>{const _0x12db96=_0x3ec82f;this[_0x12db96(0x1de)](_0x36a310,_0x12db96(0x1ea));}),this[_0x3ec82f(0x1fa)](_0x36a310,_0x3ec82f(0x210),()=>{const _0x3213c0=_0x3ec82f;this[_0x3213c0(0x1de)](_0x36a310,_0x3213c0(0x1e5));}),this[_0x3ec82f(0x209)](_0x36a310);const _0x3cdd13=this[_0x3ec82f(0x1d5)](_0x36a310);if(_0x3cdd13)this[_0x3ec82f(0x1ff)](_0x3cdd13,_0x36a310)||this[_0x3ec82f(0x209)](_0x36a310);else this[_0x3ec82f(0x209)](_0x36a310);return this[_0x3ec82f(0x1f6)](),this[_0x3ec82f(0x1e8)][_0x3ec82f(0x1cd)][_0x3ec82f(0x1e0)](_0x36a310),_0x36a310;}[_0x530bf3(0x1dd)](_0x5517d6){const _0x40a2d3=_0x530bf3;if(!_0x5517d6[_0x40a2d3(0x1d3)][_0x40a2d3(0x1da)])return;const _0xb67a80=this[_0x40a2d3(0x1d5)](_0x5517d6);if(!_0xb67a80)return;const _0xa3a040=this[_0x40a2d3(0x211)][_0x40a2d3(0x200)](_0xb67a80),_0x31ab96=this[_0x40a2d3(0x1d6)];_0x31ab96&&_0x31ab96===_0xa3a040?this[_0x40a2d3(0x1ff)](_0xb67a80,_0x5517d6):this[_0x40a2d3(0x1c4)](_0x5517d6,_0xb67a80);}[_0x530bf3(0x203)](_0x24e848){const _0x23e8a3=_0x530bf3;if(!_0x24e848[_0x23e8a3(0x1d3)][_0x23e8a3(0x1da)])return;const _0x55a8d7=this[_0x23e8a3(0x205)](_0x24e848);if(!_0x55a8d7)return;const _0x367f4f=this[_0x23e8a3(0x211)][_0x23e8a3(0x200)](_0x55a8d7),_0x4c3c68=this[_0x23e8a3(0x213)][_0x23e8a3(0x217)][_0x23e8a3(0x200)](_0x23e8a3(0x1c9)),_0x3a1c97=this[_0x23e8a3(0x1d6)];_0x3a1c97&&_0x3a1c97===_0x367f4f&&_0x4c3c68?(this[_0x23e8a3(0x1c4)](_0x55a8d7,_0x24e848),this[_0x23e8a3(0x1ff)](_0x24e848,_0x55a8d7)):_0x3a1c97&&_0x3a1c97===_0x367f4f?this[_0x23e8a3(0x1c4)](_0x55a8d7,_0x24e848):this[_0x23e8a3(0x1ff)](_0x24e848,_0x55a8d7);}[_0x530bf3(0x1de)](_0x41de27,_0x3f2f9a){const _0x592129=_0x530bf3;0x0===this[_0x592129(0x1d7)][_0x592129(0x1da)]&&setTimeout(()=>{const _0x127481=_0x592129;for(const {sidebarItemView:_0x3f06a9,changedProp:_0x28fab8}of this[_0x127481(0x1d7)])_0x127481(0x1ea)===_0x28fab8?this[_0x127481(0x1dd)](_0x3f06a9):this[_0x127481(0x203)](_0x3f06a9);this[_0x127481(0x1d7)]=[];},0xa),this[_0x592129(0x1d7)][_0x592129(0x1c6)]({'sidebarItemView':_0x41de27,'changedProp':_0x3f2f9a});}[_0x530bf3(0x214)](_0x3c415c){const _0x2d547f=_0x530bf3;return this[_0x2d547f(0x216)][_0x2d547f(0x200)](_0x3c415c);}[_0x530bf3(0x215)](){const _0x68864f=_0x530bf3;this[_0x68864f(0x206)](),this[_0x68864f(0x1e8)][_0x68864f(0x215)]();}[_0x530bf3(0x1e3)](_0x3cc641){const _0x313aed=_0x530bf3,_0x416d8b=this[_0x313aed(0x214)](_0x3cc641);this[_0x313aed(0x206)](_0x416d8b),this[_0x313aed(0x206)](_0x3cc641[_0x313aed(0x1e8)]),_0x416d8b[_0x313aed(0x215)](),this[_0x313aed(0x216)][_0x313aed(0x1d0)](_0x3cc641),this[_0x313aed(0x211)][_0x313aed(0x1d0)](_0x416d8b);}[_0x530bf3(0x1c8)](){const _0x45b00a=_0x530bf3,_0x3ef59c=new _0x3a0404(this[_0x45b00a(0x213)][_0x45b00a(0x1c5)]);return _0x3ef59c[_0x45b00a(0x1f8)](),this['on'](_0x45b00a(0x1eb),(_0x3ec47e,_0x1996d5,_0xdfd973,_0x441a2c)=>{const _0x2c6573=_0x45b00a;_0x441a2c&&_0x3ef59c[_0x2c6573(0x1e7)](_0x2c6573(0x218)),_0xdfd973?_0x3ef59c[_0x2c6573(0x208)](_0x2c6573(0x218))['to'](_0xdfd973,_0x2c6573(0x1e5)):_0x3ef59c[_0x2c6573(0x218)]=null;}),_0x3ef59c;}[_0x530bf3(0x1f6)](){const _0x3e2bc0=_0x530bf3;this[_0x3e2bc0(0x21b)]=this[_0x3e2bc0(0x1c3)]?.[_0x3e2bc0(0x1fe)]?this[_0x3e2bc0(0x214)](this[_0x3e2bc0(0x1c3)][_0x3e2bc0(0x1fe)]):null;}[_0x530bf3(0x1d5)](_0xf064b7){const _0x16d5ca=_0x530bf3,_0x4ee099=this[_0x16d5ca(0x211)][_0x16d5ca(0x200)](_0xf064b7),_0x3f7ec9=_0x4ee099&&this[_0x16d5ca(0x1c3)]?.[_0x16d5ca(0x200)](this[_0x16d5ca(0x1c3)][_0x16d5ca(0x1f4)](_0x4ee099)-0x1);return _0x3f7ec9&&this[_0x16d5ca(0x214)](_0x3f7ec9)||null;}[_0x530bf3(0x205)](_0x207628){const _0x141a3d=_0x530bf3,_0x4c2b62=this[_0x141a3d(0x211)][_0x141a3d(0x200)](_0x207628),_0x325f45=_0x4c2b62&&this[_0x141a3d(0x1c3)]?.[_0x141a3d(0x200)](this[_0x141a3d(0x1c3)][_0x141a3d(0x1f4)](_0x4c2b62)+0x1);return _0x325f45&&this[_0x141a3d(0x214)](_0x325f45)||null;}[_0x530bf3(0x1c4)](_0x3ab872,_0x3dd38f){const _0x426b3f=_0x530bf3;_0x3ab872[_0x426b3f(0x202)]();const _0x23935f=G(_0x3dd38f[_0x426b3f(0x1e5)]+this[_0x426b3f(0x1ec)],_0x3ab872[_0x426b3f(0x1ea)]);return!!_0x23935f&&(this[_0x426b3f(0x1f2)](_0x3dd38f,_0x3dd38f[_0x426b3f(0x1ea)]-_0x23935f),!0x0);}[_0x530bf3(0x1ff)](_0x16adb3,_0x369245){const _0x89ef40=_0x530bf3;_0x16adb3[_0x89ef40(0x202)]();const _0x3a807c=G(_0x16adb3[_0x89ef40(0x1e5)]+this[_0x89ef40(0x1ec)],_0x369245[_0x89ef40(0x1ea)]);return!!_0x3a807c&&(this[_0x89ef40(0x1f2)](_0x369245,_0x369245[_0x89ef40(0x1ea)]+_0x3a807c,!0x1),!0x0);}[_0x530bf3(0x209)](_0x5257b6){const _0x338207=_0x530bf3,_0x154cbf=this[_0x338207(0x211)][_0x338207(0x200)](_0x5257b6);if(!_0x154cbf||!_0x154cbf[_0x338207(0x1c7)]||!_0x154cbf[_0x338207(0x1df)])return;const _0x53b283=this[_0x338207(0x20f)](_0x154cbf,_0x154cbf[_0x338207(0x1df)]);this[_0x338207(0x1f2)](_0x5257b6,_0x53b283);}[_0x530bf3(0x20f)](_0x521cdc,_0x5ccf17){const _0x4f10d7=_0x530bf3;if(null===_0x5ccf17)return 0x0;if(_0x521cdc[_0x4f10d7(0x1c7)]instanceof _0x872403)return _0x5ccf17[_0x4f10d7(0x1ea)];{const _0x49c6a8=new _0x872403(this[_0x4f10d7(0x1e8)][_0x4f10d7(0x1ef)])[_0x4f10d7(0x1ea)];return _0x5ccf17[_0x4f10d7(0x1ea)]-_0x49c6a8;}}[_0x530bf3(0x1f2)](_0x2aaff9,_0x2d77ca,_0x4cfffd=this[_0x530bf3(0x213)][_0x530bf3(0x217)][_0x530bf3(0x200)](_0x530bf3(0x1c9))){const _0x5098ed=_0x530bf3;_0x4cfffd&&(_0x2d77ca=Math[_0x5098ed(0x204)](_0x2d77ca,this[_0x5098ed(0x1ee)](_0x2aaff9))),_0x2aaff9[_0x5098ed(0x1ea)]=_0x2d77ca;}[_0x530bf3(0x1ee)](_0x32e967){const _0x188d16=_0x530bf3;let _0x54ef6c=this[_0x188d16(0x1d5)](_0x32e967),_0x2920a8=0x0;for(;_0x54ef6c;)_0x54ef6c[_0x188d16(0x202)](),_0x2920a8+=this[_0x188d16(0x1ec)]+_0x54ef6c[_0x188d16(0x219)],_0x54ef6c=this[_0x188d16(0x1d5)](_0x54ef6c);return _0x2920a8;}}function G(_0x203a4a,_0x2b7c10){const _0xa3b107=_0x530bf3;return Math[_0xa3b107(0x204)](_0x203a4a-_0x2b7c10,0x0);}function g(_0x300533){const _0x5acb81=_0x530bf3;return null!==_0x300533&&_0x5acb81(0x1ce)==typeof _0x300533&&0x1===_0x300533[_0x5acb81(0x1f9)];}
|
|
23
|
+
const _0x1b2246=_0x411d;function _0x4276(){const _0x19857a=['sidebar-attachtocontainer-missing-container','_attachToContainer','isOfficialPlugin','config','_annotations','define','_updateLastItem','container','1254755Eclbfj','39084XrKikO','context','_alignForTopChange','bottom','minHeight','appendChild','Sidebar','nodeType','listenTo','targetRect','74oXLuuU','content','bind','max','9Ksznhi','_activeAnnotation','change:bottom','isAnimationDisabled','1941357ehdawC','_recalculateBuffer','_alignBeforeItem','element','_getItemBefore','change:targetRect','locale','_recalculate','_createSidebarView','7948010EgQONq','init','getSidebarItemView','destroy','isPremiumPlugin','_sidebarItemViewToAnnotation','5840024HMBrGw','_getItemAfter','_detachFromContainer','target','sidebar.container','addAnnotation','_targetTop','1764081zTPLZj','last','top','_alignToTargetRect','_lastItem','get','remove','set','view','5720wgoiUu','push','10EhNnfo','_getMaxAvailableTop','33389bEcjFs','unbind','6sxQpMU','render','getIndex','8cFkFpx','list','class','clear','refresh','change:top','object','delete','pluginName','updateHeight','_alignAfterItem','setContainer','length','sidebar.preventScrollOutOfView','_setItemTop','change:_lastItem','_alignForBottomChange','_annotationToSidebarItemView','sidebar-setcontainer-invalid-element','isActive','rearrange','_getTargetTop','add','height','_destroySidebarItemView','stopListening','_spaceBetweenItems'];_0x4276=function(){return _0x19857a;};return _0x4276();}(function(_0x3d1e21,_0x32ae8b){const _0x49b484=_0x411d,_0x5e8574=_0x3d1e21();while(!![]){try{const _0x14788f=parseInt(_0x49b484(0x153))/0x1*(-parseInt(_0x49b484(0x128))/0x2)+-parseInt(_0x49b484(0x130))/0x3*(-parseInt(_0x49b484(0x158))/0x4)+-parseInt(_0x49b484(0x17b))/0x5*(parseInt(_0x49b484(0x155))/0x6)+-parseInt(_0x49b484(0x139))/0x7+-parseInt(_0x49b484(0x13f))/0x8*(-parseInt(_0x49b484(0x12c))/0x9)+-parseInt(_0x49b484(0x151))/0xa*(parseInt(_0x49b484(0x146))/0xb)+-parseInt(_0x49b484(0x17c))/0xc*(-parseInt(_0x49b484(0x14f))/0xd);if(_0x14788f===_0x32ae8b)break;else _0x5e8574['push'](_0x5e8574['shift']());}catch(_0x2c76bc){_0x5e8574['push'](_0x5e8574['shift']());}}}(_0x4276,0xa4d68));import{ContextPlugin as _0x4ac936}from'ckeditor5/src/core.js';import{Rect as _0x3284de,CKEditorError as _0x17ab86}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x52f7f3}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x3a6531}from'./view/sidebaritemview.js';export class Sidebar extends _0x4ac936{[_0x1b2246(0x14e)];[_0x1b2246(0x12d)];[_0x1b2246(0x177)];[_0x1b2246(0x172)];[_0x1b2246(0x13e)];[_0x1b2246(0x169)];[_0x1b2246(0x131)];static get[_0x1b2246(0x160)](){const _0x58edbb=_0x1b2246;return _0x58edbb(0x182);}static get[_0x1b2246(0x175)](){return!0x0;}static get[_0x1b2246(0x13d)](){return!0x0;}constructor(_0x121544){const _0x3b88c8=_0x1b2246;super(_0x121544),this[_0x3b88c8(0x14d)](_0x3b88c8(0x14a),void 0x0),this[_0x3b88c8(0x14e)]=this[_0x3b88c8(0x138)](),this[_0x3b88c8(0x14d)](_0x3b88c8(0x17a),null),this[_0x3b88c8(0x172)]=0x19,this[_0x3b88c8(0x13e)]=new Map(),this[_0x3b88c8(0x169)]=new Map(),this[_0x3b88c8(0x17d)][_0x3b88c8(0x176)][_0x3b88c8(0x178)](_0x3b88c8(0x165),!0x1),this[_0x3b88c8(0x177)]=null,this[_0x3b88c8(0x12d)]=null,this[_0x3b88c8(0x131)]=[];}[_0x1b2246(0x13a)](){const _0x52a9ce=_0x1b2246,_0x12c01e=this[_0x52a9ce(0x17d)][_0x52a9ce(0x176)][_0x52a9ce(0x14b)](_0x52a9ce(0x143));_0x12c01e&&this[_0x52a9ce(0x163)](_0x12c01e);}[_0x1b2246(0x163)](_0x5bce06){const _0x32b580=_0x1b2246;if(!g(_0x5bce06))throw new _0x17ab86(_0x32b580(0x16a));this[_0x32b580(0x17a)]=_0x5bce06;}[_0x1b2246(0x174)]({viewClass:_0x93b33d='',spaceBetweenItems:_0x3daf8e=0x19}={}){const _0x2880c1=_0x1b2246;if(!g(this[_0x2880c1(0x17a)]))throw new _0x17ab86(_0x2880c1(0x173),this);this[_0x2880c1(0x17a)][_0x2880c1(0x181)](this[_0x2880c1(0x14e)][_0x2880c1(0x133)]),this[_0x2880c1(0x14e)][_0x2880c1(0x15a)]=_0x93b33d,this[_0x2880c1(0x172)]=_0x3daf8e;}[_0x1b2246(0x16c)]({removedAnnotation:_0x4bb44f,previousAnnotation:_0x1c2bb9,nextAnnotation:_0x1ce444}){const _0x16f311=_0x1b2246,_0x16ace1=this[_0x16f311(0x13b)](_0x4bb44f);this[_0x16f311(0x14e)][_0x16f311(0x159)][_0x16f311(0x14c)](_0x16ace1),this[_0x16f311(0x170)](_0x4bb44f),_0x1c2bb9&&this[_0x16f311(0x149)](this[_0x16f311(0x13b)](_0x1c2bb9)),_0x1ce444&&this[_0x16f311(0x149)](this[_0x16f311(0x13b)](_0x1ce444)),this[_0x16f311(0x179)]();}[_0x1b2246(0x15c)]({blurredAnnotation:_0x5cc383,activatedAnnotation:_0x575350,disableAnimationOnActivatedAnnotation:_0x104de6}){const _0x502889=_0x1b2246;if(this[_0x502889(0x12d)]=_0x575350,_0x5cc383){_0x5cc383[_0x502889(0x16b)]=!0x1;const _0x5080cc=this[_0x502889(0x13b)](_0x5cc383);_0x5080cc&&_0x104de6&&(_0x5080cc[_0x502889(0x12f)]=!0x1);}if(_0x575350){const _0x2ae22e=this[_0x502889(0x13b)](_0x575350);_0x2ae22e&&(_0x575350[_0x502889(0x16b)]=!0x0,_0x104de6&&(_0x2ae22e[_0x502889(0x12f)]=!0x0,_0x2ae22e[_0x502889(0x148)]+=0x1),this[_0x502889(0x149)](_0x2ae22e));}}[_0x1b2246(0x141)](_0x3d65a8){const _0x51f037=_0x1b2246;if(this[_0x51f037(0x14e)][_0x51f037(0x133)][_0x51f037(0x14c)](),_0x3d65a8){for(const _0x32561c of _0x3d65a8)this[_0x51f037(0x170)](_0x32561c);}this[_0x51f037(0x14e)][_0x51f037(0x159)][_0x51f037(0x15b)](),this[_0x51f037(0x14e)][_0x51f037(0x15a)]='',this[_0x51f037(0x14a)]=null;}[_0x1b2246(0x144)](_0x59ae38,_0x2413d6){const _0x252096=_0x1b2246;_0x2413d6||(_0x2413d6=_0x59ae38[_0x252096(0x14e)]);const _0x9da046=new _0x3a6531(this[_0x252096(0x17d)][_0x252096(0x136)]);this[_0x252096(0x13e)][_0x252096(0x14d)](_0x9da046,_0x59ae38),this[_0x252096(0x169)][_0x252096(0x14d)](_0x59ae38,_0x9da046),_0x9da046[_0x252096(0x129)][_0x252096(0x16e)](_0x2413d6),this[_0x252096(0x126)](_0x59ae38[_0x252096(0x14e)],_0x252096(0x135),(_0x11a46d,_0x1f42d1,_0x339120)=>{const _0x313193=_0x252096,_0x135a29=this[_0x313193(0x16d)](_0x59ae38,_0x339120);_0x9da046[_0x313193(0x145)]!=_0x135a29&&(_0x9da046[_0x313193(0x145)]=_0x135a29,this[_0x313193(0x166)](_0x9da046,_0x135a29));}),this[_0x252096(0x126)](_0x9da046,_0x252096(0x15d),()=>{const _0x427f64=_0x252096;this[_0x427f64(0x137)](_0x9da046,_0x427f64(0x148));}),this[_0x252096(0x126)](_0x9da046,_0x252096(0x12e),()=>{const _0x123d45=_0x252096;this[_0x123d45(0x137)](_0x9da046,_0x123d45(0x17f));}),this[_0x252096(0x149)](_0x9da046);const _0x2ae58d=this[_0x252096(0x134)](_0x9da046);if(_0x2ae58d)this[_0x252096(0x162)](_0x2ae58d,_0x9da046)||this[_0x252096(0x149)](_0x9da046);else this[_0x252096(0x149)](_0x9da046);return this[_0x252096(0x179)](),this[_0x252096(0x14e)][_0x252096(0x159)][_0x252096(0x16e)](_0x9da046),_0x9da046;}[_0x1b2246(0x17e)](_0x247bac){const _0x11b66d=_0x1b2246;if(!_0x247bac[_0x11b66d(0x129)][_0x11b66d(0x164)])return;const _0x1fc30f=this[_0x11b66d(0x134)](_0x247bac);if(!_0x1fc30f)return;const _0x3cfdb2=this[_0x11b66d(0x13e)][_0x11b66d(0x14b)](_0x1fc30f),_0x47c257=this[_0x11b66d(0x12d)];_0x47c257&&_0x47c257===_0x3cfdb2?this[_0x11b66d(0x162)](_0x1fc30f,_0x247bac):this[_0x11b66d(0x132)](_0x247bac,_0x1fc30f);}[_0x1b2246(0x168)](_0x14ab21){const _0x47b36d=_0x1b2246;if(!_0x14ab21[_0x47b36d(0x129)][_0x47b36d(0x164)])return;const _0xb7f75c=this[_0x47b36d(0x140)](_0x14ab21);if(!_0xb7f75c)return;const _0x465bdc=this[_0x47b36d(0x13e)][_0x47b36d(0x14b)](_0xb7f75c),_0x32cc54=this[_0x47b36d(0x17d)][_0x47b36d(0x176)][_0x47b36d(0x14b)](_0x47b36d(0x165)),_0x23b2b5=this[_0x47b36d(0x12d)];_0x23b2b5&&_0x23b2b5===_0x465bdc&&_0x32cc54?(this[_0x47b36d(0x132)](_0xb7f75c,_0x14ab21),this[_0x47b36d(0x162)](_0x14ab21,_0xb7f75c)):_0x23b2b5&&_0x23b2b5===_0x465bdc?this[_0x47b36d(0x132)](_0xb7f75c,_0x14ab21):this[_0x47b36d(0x162)](_0x14ab21,_0xb7f75c);}[_0x1b2246(0x137)](_0x51740b,_0x480ee9){const _0x53e05c=_0x1b2246;0x0===this[_0x53e05c(0x131)][_0x53e05c(0x164)]&&setTimeout(()=>{const _0x323c7e=_0x53e05c;for(const {sidebarItemView:_0x3e9604,changedProp:_0x367677}of this[_0x323c7e(0x131)])_0x323c7e(0x148)===_0x367677?this[_0x323c7e(0x17e)](_0x3e9604):this[_0x323c7e(0x168)](_0x3e9604);this[_0x323c7e(0x131)]=[];},0xa),this[_0x53e05c(0x131)][_0x53e05c(0x150)]({'sidebarItemView':_0x51740b,'changedProp':_0x480ee9});}[_0x1b2246(0x13b)](_0x15ef60){const _0x1ada5b=_0x1b2246;return this[_0x1ada5b(0x169)][_0x1ada5b(0x14b)](_0x15ef60);}[_0x1b2246(0x13c)](){const _0xe63add=_0x1b2246;this[_0xe63add(0x171)](),this[_0xe63add(0x14e)][_0xe63add(0x13c)]();}[_0x1b2246(0x170)](_0x52ea9b){const _0x27feee=_0x1b2246,_0x5c2734=this[_0x27feee(0x13b)](_0x52ea9b);this[_0x27feee(0x171)](_0x5c2734),this[_0x27feee(0x171)](_0x52ea9b[_0x27feee(0x14e)]),_0x5c2734[_0x27feee(0x13c)](),this[_0x27feee(0x169)][_0x27feee(0x15f)](_0x52ea9b),this[_0x27feee(0x13e)][_0x27feee(0x15f)](_0x5c2734);}[_0x1b2246(0x138)](){const _0x3a98a9=_0x1b2246,_0x56cffa=new _0x52f7f3(this[_0x3a98a9(0x17d)][_0x3a98a9(0x136)]);return _0x56cffa[_0x3a98a9(0x156)](),this['on'](_0x3a98a9(0x167),(_0x293588,_0x12ccdf,_0x1dac23,_0x56661c)=>{const _0x297328=_0x3a98a9;_0x56661c&&_0x56cffa[_0x297328(0x154)](_0x297328(0x180)),_0x1dac23?_0x56cffa[_0x297328(0x12a)](_0x297328(0x180))['to'](_0x1dac23,_0x297328(0x17f)):_0x56cffa[_0x297328(0x180)]=null;}),_0x56cffa;}[_0x1b2246(0x179)](){const _0x74e6af=_0x1b2246;this[_0x74e6af(0x14a)]=this[_0x74e6af(0x177)]?.[_0x74e6af(0x147)]?this[_0x74e6af(0x13b)](this[_0x74e6af(0x177)][_0x74e6af(0x147)]):null;}[_0x1b2246(0x134)](_0x28dbc7){const _0x4751f4=_0x1b2246,_0x567c8e=this[_0x4751f4(0x13e)][_0x4751f4(0x14b)](_0x28dbc7),_0x2975bf=_0x567c8e&&this[_0x4751f4(0x177)]?.[_0x4751f4(0x14b)](this[_0x4751f4(0x177)][_0x4751f4(0x157)](_0x567c8e)-0x1);return _0x2975bf&&this[_0x4751f4(0x13b)](_0x2975bf)||null;}[_0x1b2246(0x140)](_0x279681){const _0x3abd60=_0x1b2246,_0x2f840d=this[_0x3abd60(0x13e)][_0x3abd60(0x14b)](_0x279681),_0x113c63=_0x2f840d&&this[_0x3abd60(0x177)]?.[_0x3abd60(0x14b)](this[_0x3abd60(0x177)][_0x3abd60(0x157)](_0x2f840d)+0x1);return _0x113c63&&this[_0x3abd60(0x13b)](_0x113c63)||null;}[_0x1b2246(0x132)](_0x31e776,_0x7bea54){const _0x468c07=_0x1b2246;_0x31e776[_0x468c07(0x161)]();const _0x596256=G(_0x7bea54[_0x468c07(0x17f)]+this[_0x468c07(0x172)],_0x31e776[_0x468c07(0x148)]);return!!_0x596256&&(this[_0x468c07(0x166)](_0x7bea54,_0x7bea54[_0x468c07(0x148)]-_0x596256),!0x0);}[_0x1b2246(0x162)](_0x1dfe08,_0x17b092){const _0x55e601=_0x1b2246;_0x1dfe08[_0x55e601(0x161)]();const _0x34f9fb=G(_0x1dfe08[_0x55e601(0x17f)]+this[_0x55e601(0x172)],_0x17b092[_0x55e601(0x148)]);return!!_0x34f9fb&&(this[_0x55e601(0x166)](_0x17b092,_0x17b092[_0x55e601(0x148)]+_0x34f9fb,!0x1),!0x0);}[_0x1b2246(0x149)](_0x765761){const _0x54e067=_0x1b2246,_0x385665=this[_0x54e067(0x13e)][_0x54e067(0x14b)](_0x765761);if(!_0x385665||!_0x385665[_0x54e067(0x142)]||!_0x385665[_0x54e067(0x127)])return;const _0x3517cd=this[_0x54e067(0x16d)](_0x385665,_0x385665[_0x54e067(0x127)]);this[_0x54e067(0x166)](_0x765761,_0x3517cd);}[_0x1b2246(0x16d)](_0xe6f17a,_0x3f7d86){const _0x50b697=_0x1b2246;if(null===_0x3f7d86)return 0x0;if(_0xe6f17a[_0x50b697(0x142)]instanceof _0x3284de)return _0x3f7d86[_0x50b697(0x148)];{const _0x4546f3=new _0x3284de(this[_0x50b697(0x14e)][_0x50b697(0x133)])[_0x50b697(0x148)];return _0x3f7d86[_0x50b697(0x148)]-_0x4546f3;}}[_0x1b2246(0x166)](_0x1b6cf,_0x283425,_0x23ef30=this[_0x1b2246(0x17d)][_0x1b2246(0x176)][_0x1b2246(0x14b)](_0x1b2246(0x165))){const _0x3ecff4=_0x1b2246;_0x23ef30&&(_0x283425=Math[_0x3ecff4(0x12b)](_0x283425,this[_0x3ecff4(0x152)](_0x1b6cf))),_0x1b6cf[_0x3ecff4(0x148)]=_0x283425;}[_0x1b2246(0x152)](_0x43f70d){const _0x16430a=_0x1b2246;let _0x12cf97=this[_0x16430a(0x134)](_0x43f70d),_0x4b6049=0x0;for(;_0x12cf97;)_0x12cf97[_0x16430a(0x161)](),_0x4b6049+=this[_0x16430a(0x172)]+_0x12cf97[_0x16430a(0x16f)],_0x12cf97=this[_0x16430a(0x134)](_0x12cf97);return _0x4b6049;}}function _0x411d(_0x3dcf7c,_0x7d7f4c){const _0x4276ab=_0x4276();return _0x411d=function(_0x411d7c,_0x160fcd){_0x411d7c=_0x411d7c-0x126;let _0xc38e97=_0x4276ab[_0x411d7c];return _0xc38e97;},_0x411d(_0x3dcf7c,_0x7d7f4c);}function G(_0x3ff1bb,_0x306e59){const _0x3ef8ce=_0x1b2246;return Math[_0x3ef8ce(0x12b)](_0x3ff1bb-_0x306e59,0x0);}function g(_0x463dce){const _0x445906=_0x1b2246;return null!==_0x463dce&&_0x445906(0x15e)==typeof _0x463dce&&0x1===_0x463dce[_0x445906(0x183)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5acc(_0xbbbe7f,_0xb3c73f){const _0x18d572=_0x18d5();return _0x5acc=function(_0x5acc21,_0x4da02b){_0x5acc21=_0x5acc21-0xa1;let _0x262007=_0x18d572[_0x5acc21];return _0x262007;},_0x5acc(_0xbbbe7f,_0xb3c73f);}function _0x18d5(){const _0x21f9d3=['146FcLxSW','10965084AcWxpu','ck-annotation-counter','9dfyYND','ck-annotation-counter__badge--edit-mode','add','set','toString','7syvKwp','3422608NLkDqO','annotationType','...','counterView','bind','span','setTemplate','_badge','341pQzZkn','isDirty','2288932gqdHql','ck-annotation-counter__badge--','3375100giuBQz','icon','8486xVGrNG','bindTemplate','ck-annotation-counter__badge','children','5097006teiCcZ','extendTemplate','711130DAbprm','number'];_0x18d5=function(){return _0x21f9d3;};return _0x18d5();}const _0x4c81a2=_0x5acc;(function(_0x29f91e,_0x8d338e){const _0x25651b=_0x5acc,_0x432412=_0x29f91e();while(!![]){try{const _0x4b6f15=parseInt(_0x25651b(0xbf))/0x1*(-parseInt(_0x25651b(0xa8))/0x2)+parseInt(_0x25651b(0xab))/0x3*(parseInt(_0x25651b(0xbb))/0x4)+-parseInt(_0x25651b(0xbd))/0x5+-parseInt(_0x25651b(0xa9))/0x6+-parseInt(_0x25651b(0xb0))/0x7*(parseInt(_0x25651b(0xb1))/0x8)+parseInt(_0x25651b(0xa4))/0x9+-parseInt(_0x25651b(0xa6))/0xa*(-parseInt(_0x25651b(0xb9))/0xb);if(_0x4b6f15===_0x8d338e)break;else _0x432412['push'](_0x432412['shift']());}catch(_0x3d4456){_0x432412['push'](_0x432412['shift']());}}}(_0x18d5,0xe4ee2));import{ButtonView as _0x48f23f,View as _0x38d882}from'ckeditor5/src/ui.js';import{IconAddComment as _0x146f86}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x48f23f{[_0x4c81a2(0xb4)];constructor(_0x21fe41){const _0x512b96=_0x4c81a2;super(_0x21fe41);const _0x20aa96=this[_0x512b96(0xa1)];this[_0x512b96(0xae)](_0x512b96(0xba),!0x1),this[_0x512b96(0xae)](_0x512b96(0xa7),0x0),this[_0x512b96(0xb5)](_0x512b96(0xb8))['to'](this,_0x512b96(0xba),this,_0x512b96(0xa7),(_0x3371c3,_0x325eea)=>_0x3371c3?_0x512b96(0xb3):_0x325eea[_0x512b96(0xaf)]()),this[_0x512b96(0xae)](_0x512b96(0xb2),''),this[_0x512b96(0xbe)]=_0x146f86,this[_0x512b96(0xa5)]({'attributes':{'class':[_0x512b96(0xaa)]}}),this[_0x512b96(0xb4)]=new _0x38d882(),this[_0x512b96(0xb4)][_0x512b96(0xb7)]({'tag':_0x512b96(0xb6),'attributes':{'class':[_0x512b96(0xa2),_0x20aa96['to'](_0x512b96(0xb2),_0x3afc6d=>_0x512b96(0xbc)+_0x3afc6d),_0x20aa96['if'](_0x512b96(0xba),_0x512b96(0xac))]},'children':[{'text':_0x20aa96['to'](_0x512b96(0xb8))}]}),this[_0x512b96(0xa3)][_0x512b96(0xad)](this[_0x512b96(0xb4)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x26a9fb=_0x318f;function _0x318f(_0x1aec2f,_0x14b6c4){const _0x12c15d=_0x12c1();return _0x318f=function(_0x318f17,_0x305b03){_0x318f17=_0x318f17-0x182;let _0x327984=_0x12c15d[_0x318f17];return _0x327984;},_0x318f(_0x1aec2f,_0x14b6c4);}function _0x12c1(){const _0x5a70bb=['4018yuIzgC','4903746LtMDiG','ck-rounded-corners','listenTo','32890dpQTXz','arrowup','set','attach','targetRect','destroy','presentation','type','content','keystrokes','4800422TdPNuw','ck-annotation-wrapper--active','element','728703fkiUvg','detach','focus','2050024UOadsE','arrowdown','mainView','setTemplate','height','200wUJiuN','length','fire','delegate','focusTracker','1342200HuvWaW','add','_mutationObserver','isDirty','render','100SZvtdo','isActive','_updateHeight','906uvlDgt','ck-annotation-wrapper','bindTemplate','div','7XqTSSH','clear','clientHeight','createCollection','first','Esc','12rRhvHh'];_0x12c1=function(){return _0x5a70bb;};return _0x12c1();}(function(_0x170eab,_0x222717){const _0x5d4b51=_0x318f,_0x1ed748=_0x170eab();while(!![]){try{const _0x5c5a12=-parseInt(_0x5d4b51(0x187))/0x1*(-parseInt(_0x5d4b51(0x1aa))/0x2)+parseInt(_0x5d4b51(0x188))/0x3+parseInt(_0x5d4b51(0x1a5))/0x4+-parseInt(_0x5d4b51(0x18b))/0x5*(-parseInt(_0x5d4b51(0x1ad))/0x6)+-parseInt(_0x5d4b51(0x1b1))/0x7*(parseInt(_0x5d4b51(0x19b))/0x8)+parseInt(_0x5d4b51(0x198))/0x9*(-parseInt(_0x5d4b51(0x1a0))/0xa)+-parseInt(_0x5d4b51(0x195))/0xb*(parseInt(_0x5d4b51(0x186))/0xc);if(_0x5c5a12===_0x222717)break;else _0x1ed748['push'](_0x1ed748['shift']());}catch(_0x47a321){_0x1ed748['push'](_0x1ed748['shift']());}}}(_0x12c1,0xd015b));import{View as _0x396224}from'ckeditor5/src/ui.js';import{FocusTracker as _0x25690c,KeystrokeHandler as _0x277b41,uid as _0x27effb}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x2a228a}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x396224{[_0x26a9fb(0x1a4)];['id'];[_0x26a9fb(0x194)];[_0x26a9fb(0x193)];[_0x26a9fb(0x19d)];[_0x26a9fb(0x1a7)];constructor(_0x3d73d9,_0x219ecf){const _0x3aa9e4=_0x26a9fb;super(_0x3d73d9),this['id']=_0x27effb(),this[_0x3aa9e4(0x1a4)]=new _0x25690c(),this[_0x3aa9e4(0x194)]=new _0x277b41(),this[_0x3aa9e4(0x194)][_0x3aa9e4(0x18d)](_0x3aa9e4(0x185),(_0x224355,_0x24d261)=>this[_0x3aa9e4(0x1a2)](_0x3aa9e4(0x185),_0x24d261)),this[_0x3aa9e4(0x18d)](_0x3aa9e4(0x18f),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x3aa9e4(0x18d)](_0x3aa9e4(0x19f),0x0),this[_0x3aa9e4(0x18d)](_0x3aa9e4(0x1ab),!0x1),this[_0x3aa9e4(0x18d)](_0x3aa9e4(0x1a8),!0x1),this[_0x3aa9e4(0x18d)](_0x3aa9e4(0x1a1),0x0),this[_0x3aa9e4(0x18d)](_0x3aa9e4(0x192),''),this[_0x3aa9e4(0x1a7)]=_0x2a228a(()=>this[_0x3aa9e4(0x1ac)]()),this[_0x3aa9e4(0x193)]=this[_0x3aa9e4(0x183)](),this[_0x3aa9e4(0x193)][_0x3aa9e4(0x1a3)](_0x3aa9e4(0x18c),_0x3aa9e4(0x19c))['to'](this),this[_0x3aa9e4(0x193)][_0x3aa9e4(0x1a6)](_0x219ecf),this[_0x3aa9e4(0x19d)]=_0x219ecf;const _0x49b08c=this[_0x3aa9e4(0x1af)];this[_0x3aa9e4(0x19e)]({'tag':_0x3aa9e4(0x1b0),'attributes':{'class':['ck',_0x3aa9e4(0x1ae),_0x3aa9e4(0x189),_0x49b08c['if'](_0x3aa9e4(0x1ab),_0x3aa9e4(0x196))],'role':_0x3aa9e4(0x191)},'children':this[_0x3aa9e4(0x193)]});}[_0x26a9fb(0x1a9)](){const _0xb0ff97=_0x26a9fb;super[_0xb0ff97(0x1a9)](),this[_0xb0ff97(0x1a4)][_0xb0ff97(0x1a6)](this[_0xb0ff97(0x197)]),this[_0xb0ff97(0x194)][_0xb0ff97(0x18a)](this[_0xb0ff97(0x197)]),this[_0xb0ff97(0x1a7)][_0xb0ff97(0x18e)](this[_0xb0ff97(0x197)]);}[_0x26a9fb(0x190)](){const _0x7b6b5d=_0x26a9fb;this[_0x7b6b5d(0x193)][_0x7b6b5d(0x1b2)](),this[_0x7b6b5d(0x194)][_0x7b6b5d(0x190)](),this[_0x7b6b5d(0x1a4)][_0x7b6b5d(0x190)](),this[_0x7b6b5d(0x1a7)][_0x7b6b5d(0x199)](),super[_0x7b6b5d(0x190)]();}[_0x26a9fb(0x19a)](){const _0xe0d1e0=_0x26a9fb;this[_0xe0d1e0(0x193)][_0xe0d1e0(0x184)]&&this[_0xe0d1e0(0x193)][_0xe0d1e0(0x184)][_0xe0d1e0(0x19a)]();}[_0x26a9fb(0x1ac)](){const _0x447886=_0x26a9fb,_0x3fec6a=this[_0x447886(0x197)][_0x447886(0x182)];_0x3fec6a&&(this[_0x447886(0x19f)]=_0x3fec6a);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x471cf8=_0x5d1c;(function(_0x2ac0c5,_0x23f751){const _0x2d172e=_0x5d1c,_0x568962=_0x2ac0c5();while(!![]){try{const _0x479a63=-parseInt(_0x2d172e(0x1ba))/0x1+-parseInt(_0x2d172e(0x1b1))/0x2*(-parseInt(_0x2d172e(0x1ac))/0x3)+parseInt(_0x2d172e(0x1bc))/0x4*(parseInt(_0x2d172e(0x1ad))/0x5)+-parseInt(_0x2d172e(0x19d))/0x6*(-parseInt(_0x2d172e(0x1b0))/0x7)+parseInt(_0x2d172e(0x1af))/0x8*(-parseInt(_0x2d172e(0x19c))/0x9)+parseInt(_0x2d172e(0x1a6))/0xa*(-parseInt(_0x2d172e(0x1b9))/0xb)+parseInt(_0x2d172e(0x1c2))/0xc;if(_0x479a63===_0x23f751)break;else _0x568962['push'](_0x568962['shift']());}catch(_0x7fed2a){_0x568962['push'](_0x568962['shift']());}}}(_0x1334,0xc5b90));import{View as _0x2c2172}from'ckeditor5/src/ui.js';function _0x1334(){const _0x37adc4=['11849100MPFnEH','setTemplate','focus','10761903GShZUh','810AdDcqJ','delegate','createCollection','arrowdown','height','first','_mutationObserver','clear','content','50vgkSAc','_targetTop','div','bind','presentation','top','33uNacxg','33035kuZHpV','ck-sidebar-item--no-animation','8YcHZdc','73822pJaqOA','202136aExrJh','destroy','clientHeight','render','bindTemplate','isAnimationDisabled','updateHeight','detach','3192970cDIsvO','1578897ZhOlxL','ck-sidebar-item','916uFeRXK','set','attach','arrowup','element','bottom'];_0x1334=function(){return _0x37adc4;};return _0x1334();}import{toUnit as _0x1d7557}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x542780}from'../../utils/createmutationobserver.js';const Ht=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1d7557('px');function _0x5d1c(_0x2a10be,_0x373b5e){const _0x1334fd=_0x1334();return _0x5d1c=function(_0x5d1cc8,_0x3e9304){_0x5d1cc8=_0x5d1cc8-0x19b;let _0x57b70e=_0x1334fd[_0x5d1cc8];return _0x57b70e;},_0x5d1c(_0x2a10be,_0x373b5e);}export class AnnotationsSidebarItemView extends _0x2c2172{[_0x471cf8(0x1a5)];[_0x471cf8(0x1a7)];[_0x471cf8(0x1a3)];constructor(_0x2e6c84){const _0x56edc6=_0x471cf8;super(_0x2e6c84),this[_0x56edc6(0x1bd)](_0x56edc6(0x1ab),0x0),this[_0x56edc6(0x1bd)](_0x56edc6(0x1a1),0x0),this[_0x56edc6(0x1a9)](_0x56edc6(0x1c1))['to'](this,_0x56edc6(0x1ab),this,_0x56edc6(0x1a1),(_0x4f1d1b,_0x10cc49)=>_0x4f1d1b+_0x10cc49),this[_0x56edc6(0x1bd)](_0x56edc6(0x1b6),!0x1),this[_0x56edc6(0x1a3)]=_0x542780(()=>this[_0x56edc6(0x1b7)]()),this[_0x56edc6(0x1a7)]=null,this[_0x56edc6(0x1a5)]=this[_0x56edc6(0x19f)](),this[_0x56edc6(0x1a5)][_0x56edc6(0x19e)](_0x56edc6(0x1bf),_0x56edc6(0x1a0))['to'](this);const _0xea2a9c=this[_0x56edc6(0x1b5)];this[_0x56edc6(0x1c3)]({'tag':_0x56edc6(0x1a8),'attributes':{'class':[_0x56edc6(0x1bb),_0xea2a9c['to'](_0x56edc6(0x1b6),_0x27f436=>_0x27f436?_0x56edc6(0x1ae):'')],'style':{'top':_0xea2a9c['to'](_0x56edc6(0x1ab),_0x2fe9ae=>Ht(_0x2fe9ae))},'role':_0x56edc6(0x1aa)},'children':this[_0x56edc6(0x1a5)]});}[_0x471cf8(0x1b4)](){const _0x7e8b83=_0x471cf8;super[_0x7e8b83(0x1b4)](),this[_0x7e8b83(0x1a3)][_0x7e8b83(0x1be)](this[_0x7e8b83(0x1c0)]);}[_0x471cf8(0x19b)](){const _0x242478=_0x471cf8;this[_0x242478(0x1a5)][_0x242478(0x1a2)]&&this[_0x242478(0x1a5)][_0x242478(0x1a2)][_0x242478(0x19b)]();}[_0x471cf8(0x1b7)](){const _0x4421bc=_0x471cf8,_0x1430db=this[_0x4421bc(0x1c0)][_0x4421bc(0x1b3)];_0x1430db&&(this[_0x4421bc(0x1a1)]=_0x1430db);}[_0x471cf8(0x1b2)](){const _0x30dd79=_0x471cf8;this[_0x30dd79(0x1a5)][_0x30dd79(0x1a4)](),this[_0x30dd79(0x1a3)][_0x30dd79(0x1b8)](),super[_0x30dd79(0x1b2)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x44660d=_0x15d9;(function(_0x1375a7,_0x111834){const _0x340923=_0x15d9,_0x2eb770=_0x1375a7();while(!![]){try{const _0x431975=-parseInt(_0x340923(0x1c7))/0x1+-parseInt(_0x340923(0x1b4))/0x2+-parseInt(_0x340923(0x1bc))/0x3+parseInt(_0x340923(0x1ae))/0x4+parseInt(_0x340923(0x1a0))/0x5*(parseInt(_0x340923(0x1bb))/0x6)+-parseInt(_0x340923(0x1ca))/0x7*(-parseInt(_0x340923(0x1b1))/0x8)+parseInt(_0x340923(0x1c8))/0x9;if(_0x431975===_0x111834)break;else _0x2eb770['push'](_0x2eb770['shift']());}catch(_0x210057){_0x2eb770['push'](_0x2eb770['shift']());}}}(_0x1470,0x8bc60));import{View as _0x2fe9c8,FocusCycler as _0x17fe82}from'ckeditor5/src/ui.js';function _0x15d9(_0x382597,_0x293ab5){const _0x1470f6=_0x1470();return _0x15d9=function(_0x15d947,_0x33fcaf){_0x15d947=_0x15d947-0x1a0;let _0x2dfcbf=_0x1470f6[_0x15d947];return _0x2dfcbf;},_0x15d9(_0x382597,_0x293ab5);}import{FocusTracker as _0x15dfcd,toUnit as _0x116806}from'ckeditor5/src/utils.js';import{getTranslation as _0x1a0a67}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ht=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x116806('px');function _0x1470(){const _0x4e5337=['bindTemplate','ck-sidebar','3205976TyCMmJ','element','length','1785598hEYwmc','focusCycler','list','delegate','arrowdown','added','change:top','156UljEWu','2810826HDTzIQ','createCollection','change','focusNext','forEach','uiLanguageDirection','minHeight','focusFirst','_updateItemPositionInFocusables','remove','focusPrevious','562701bbATrw','18663579daoylr','focusTracker','14RsZbET','ck-reset','listenTo','setTemplate','Annotations\x20list','Annotations\x20sidebar','removed','class','3340ltrJTb','source','add','render','top','arrowup','focus','set','_setupKeyboardNavigation','number','div','focusables','getIndex','application','289444fOyuoA'];_0x1470=function(){return _0x4e5337;};return _0x1470();}export class AnnotationsSidebarView extends _0x2fe9c8{[_0x44660d(0x1b6)];[_0x44660d(0x1ab)];[_0x44660d(0x1c9)];[_0x44660d(0x1b5)];constructor(_0x133c8e){const _0x5018a8=_0x44660d;super(_0x133c8e);const _0x176a47=this[_0x5018a8(0x1af)];this[_0x5018a8(0x1a7)](_0x5018a8(0x1c2),0x0),this[_0x5018a8(0x1a7)](_0x5018a8(0x1d1),''),this[_0x5018a8(0x1b6)]=this[_0x5018a8(0x1bd)](),this[_0x5018a8(0x1ab)]=this[_0x5018a8(0x1bd)](),this[_0x5018a8(0x1b6)][_0x5018a8(0x1b7)](_0x5018a8(0x1a5),_0x5018a8(0x1b8))['to'](this),this[_0x5018a8(0x1c9)]=new _0x15dfcd(),this[_0x5018a8(0x1b5)]=new _0x17fe82({'focusables':this[_0x5018a8(0x1ab)],'focusTracker':this[_0x5018a8(0x1c9)]}),this[_0x5018a8(0x1cd)]({'tag':_0x5018a8(0x1aa),'attributes':{'class':['ck',_0x5018a8(0x1b0),_0x5018a8(0x1cb),_0x176a47['to'](_0x5018a8(0x1d1))],'style':{'minHeight':_0x176a47['to'](_0x5018a8(0x1c2),_0x472ce4=>_0x5018a8(0x1a9)==typeof _0x472ce4?Ht(_0x472ce4+0xa):null)},'dir':_0x133c8e[_0x5018a8(0x1c1)],'role':_0x5018a8(0x1ad),'aria-label':_0x1a0a67(_0x133c8e,_0x5018a8(0x1cf)),'tabindex':0x0},'children':[{'tag':_0x5018a8(0x1aa),'attributes':{'role':_0x5018a8(0x1b6),'aria-label':_0x1a0a67(_0x133c8e,_0x5018a8(0x1ce))},'children':this[_0x5018a8(0x1b6)]}]});}[_0x44660d(0x1a3)](){const _0x5ca1b6=_0x44660d;super[_0x5ca1b6(0x1a3)](),this[_0x5ca1b6(0x1a8)]();}[_0x44660d(0x1a6)](){const _0x3525c2=_0x44660d;this[_0x3525c2(0x1b5)][_0x3525c2(0x1c3)]();}[_0x44660d(0x1a8)](){const _0x3755c7=_0x44660d;this[_0x3755c7(0x1b6)][_0x3755c7(0x1b7)](_0x3755c7(0x1ba))['to'](this),this['on'](_0x3755c7(0x1ba),_0x21efaa=>{const _0x2100ff=_0x3755c7;this[_0x2100ff(0x1c4)](_0x21efaa[_0x2100ff(0x1a1)]);}),this[_0x3755c7(0x1b6)][_0x3755c7(0x1c0)](_0x3d4856=>{const _0x2a021d=_0x3755c7;this[_0x2a021d(0x1c9)][_0x2a021d(0x1a2)](_0x3d4856[_0x2a021d(0x1b2)]),this[_0x2a021d(0x1c4)](_0x3d4856);}),this[_0x3755c7(0x1b6)]['on'](_0x3755c7(0x1be),(_0x1ae758,_0x23fb1b)=>{const _0x177ac9=_0x3755c7;for(const _0xcbf60d of _0x23fb1b[_0x177ac9(0x1d0)])this[_0x177ac9(0x1c9)][_0x177ac9(0x1c5)](_0xcbf60d[_0x177ac9(0x1b2)]),this[_0x177ac9(0x1ab)][_0x177ac9(0x1c5)](_0xcbf60d);for(const _0x8fae13 of _0x23fb1b[_0x177ac9(0x1b9)])this[_0x177ac9(0x1c9)][_0x177ac9(0x1a2)](_0x8fae13[_0x177ac9(0x1b2)]),this[_0x177ac9(0x1c4)](_0x8fae13);}),this['on'](_0x3755c7(0x1a5),()=>{const _0xa5f813=_0x3755c7;this[_0xa5f813(0x1b5)][_0xa5f813(0x1c6)]();}),this['on'](_0x3755c7(0x1b8),()=>{const _0x5b9b48=_0x3755c7;this[_0x5b9b48(0x1b5)][_0x5b9b48(0x1bf)]();}),this[_0x3755c7(0x1cc)](this[_0x3755c7(0x1b2)],_0x3755c7(0x1a6),()=>{const _0x45ba54=_0x3755c7;this[_0x45ba54(0x1a6)]();});}[_0x44660d(0x1c4)](_0x1205f6){const _0x4c80fb=_0x44660d,_0x4708dd=this[_0x4c80fb(0x1ab)][_0x4c80fb(0x1ac)](_0x1205f6);let _0x5087d8,_0x201093;for(const _0x43da2d of this[_0x4c80fb(0x1ab)])if(_0x1205f6[_0x4c80fb(0x1a4)]<_0x43da2d[_0x4c80fb(0x1a4)]){_0x5087d8=_0x43da2d;break;}if(_0x201093=_0x5087d8?this[_0x4c80fb(0x1ab)][_0x4c80fb(0x1ac)](_0x5087d8):this[_0x4c80fb(0x1ab)][_0x4c80fb(0x1b3)],-0x1!==_0x4708dd){if(_0x4708dd===_0x201093-0x1)return;this[_0x4c80fb(0x1ab)][_0x4c80fb(0x1c5)](_0x1205f6),_0x201093=_0x5087d8?this[_0x4c80fb(0x1ab)][_0x4c80fb(0x1ac)](_0x5087d8):this[_0x4c80fb(0x1ab)][_0x4c80fb(0x1b3)];}this[_0x4c80fb(0x1ab)][_0x4c80fb(0x1a2)](_0x1205f6,_0x201093);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31c75c=_0x10a3;(function(_0x45c2db,_0x456bfd){const _0x3b3d1f=_0x10a3,_0x4ad137=_0x45c2db();while(!![]){try{const _0xcac755=-parseInt(_0x3b3d1f(0x21a))/0x1+parseInt(_0x3b3d1f(0x200))/0x2+parseInt(_0x3b3d1f(0x1f1))/0x3+-parseInt(_0x3b3d1f(0x21b))/0x4+parseInt(_0x3b3d1f(0x1eb))/0x5*(-parseInt(_0x3b3d1f(0x21c))/0x6)+parseInt(_0x3b3d1f(0x1fc))/0x7+-parseInt(_0x3b3d1f(0x1db))/0x8*(-parseInt(_0x3b3d1f(0x20c))/0x9);if(_0xcac755===_0x456bfd)break;else _0x4ad137['push'](_0x4ad137['shift']());}catch(_0x5cf63c){_0x4ad137['push'](_0x4ad137['shift']());}}}(_0x1eac,0x42c0d));import{ContextPlugin as _0x4d5696,Context as _0x1c0fc4}from'ckeditor5/src/core.js';function _0x1eac(){const _0x29ee30=['setActiveAnnotation','switchTo','_refreshPositioningDebounced','EditorAnnotations','listenTo','stop','_activeAnnotation','add','widesidebar-attach-already-attached','465462ixAdUR','1362340INaELl','513966QDchrT','ck-sidebar--wide','removeEventListener','get','remove','_integrateWithEditorAnnotations','56BdVLul','addEventListener','Annotations','change:container','refreshPositioning','pluginName','isPremiumPlugin','_destroyEditorAnnotationsIntegration','container','_editorAnnotations','set:container','detach','getOrderedSelectedAnnotations','destroy','hasDomSelection','activeAnnotation','5MbwcCX','isOfficialPlugin','_attachToContainer','uiUpdate','cancel','focus','772398RaBbwW','widesidebar-detach-not-attached','_detachFromContainer','isAttached','ready','off','set','refreshVisibility','updateTargetRect','addAnnotation','WideSidebar','3626084eTzuSX','attach','high','editors','641108rfakmE','resize','annotations','requires','refresh','plugins','context','blur','has','_annotations','rearrange','wideSidebar','88839xeYXAz','stopListening','register','from','init'];_0x1eac=function(){return _0x29ee30;};return _0x1eac();}import{AnnotationsUIs as _0x2e073d}from'./annotationsuis.js';import{Sidebar as _0x3edd57}from'./sidebar.js';import{CKEditorError as _0x574943,Collection as _0x4368d5}from'ckeditor5/src/utils.js';function _0x10a3(_0x4bb1b5,_0x4556b8){const _0x1eac39=_0x1eac();return _0x10a3=function(_0x10a3bd,_0x3d7b63){_0x10a3bd=_0x10a3bd-0x1d7;let _0x18884b=_0x1eac39[_0x10a3bd];return _0x18884b;},_0x10a3(_0x4bb1b5,_0x4556b8);}import{debounce as _0x3b0efa}from'es-toolkit/compat';export class WideSidebar extends _0x4d5696{[_0x31c75c(0x1f4)];[_0x31c75c(0x202)];[_0x31c75c(0x1e4)];[_0x31c75c(0x213)];static get[_0x31c75c(0x203)](){return[_0x3edd57,_0x2e073d];}static get[_0x31c75c(0x1e0)](){const _0x27e278=_0x31c75c;return _0x27e278(0x1fb);}static get[_0x31c75c(0x1ec)](){return!0x0;}static get[_0x31c75c(0x1e1)](){return!0x0;}constructor(_0x2cbba5){const _0x3fd943=_0x31c75c;super(_0x2cbba5),this[_0x3fd943(0x1f4)]=!0x1,this[_0x3fd943(0x1f7)](_0x3fd943(0x1ea),null),this[_0x3fd943(0x202)]=null,this[_0x3fd943(0x1e4)]=new _0x4368d5(),this[_0x3fd943(0x213)]=_0x3b0efa(()=>{const _0xfad8ae=_0x3fd943;_0x2cbba5[_0xfad8ae(0x205)][_0xfad8ae(0x1d8)](_0xfad8ae(0x1dd))[_0xfad8ae(0x1f8)](),this[_0xfad8ae(0x202)][_0xfad8ae(0x1df)]();},0xfa,{'leading':!0x1});}[_0x31c75c(0x210)](){const _0x36b005=_0x31c75c,_0x1a9c0e=this[_0x36b005(0x206)][_0x36b005(0x205)][_0x36b005(0x1d8)](_0x2e073d),_0x14f1b9=this[_0x36b005(0x206)][_0x36b005(0x205)][_0x36b005(0x1d8)](_0x3edd57);_0x1a9c0e[_0x36b005(0x20e)](_0x36b005(0x20b),this),_0x14f1b9[_0x36b005(0x1e3)]&&_0x1a9c0e[_0x36b005(0x212)](_0x36b005(0x20b));}[_0x31c75c(0x211)](_0x4e4f94){const _0x223a28=_0x31c75c;if(_0x4e4f94===this[_0x223a28(0x1ea)])return;const _0x27b12e=this[_0x223a28(0x206)][_0x223a28(0x205)][_0x223a28(0x1d8)](_0x3edd57);_0x27b12e[_0x223a28(0x217)]=_0x4e4f94;const _0x501926=this[_0x223a28(0x1ea)];_0x27b12e[_0x223a28(0x204)]({'blurredAnnotation':_0x501926,'activatedAnnotation':_0x4e4f94}),this[_0x223a28(0x1ea)]=_0x4e4f94;}[_0x31c75c(0x1fd)](_0x46f063){const _0x44a626=_0x31c75c;this[_0x44a626(0x202)]=_0x46f063;const _0x1ea8c0=this[_0x44a626(0x206)][_0x44a626(0x205)][_0x44a626(0x1d8)](_0x3edd57);if(_0x1ea8c0[_0x44a626(0x209)]=_0x46f063,this[_0x44a626(0x1f4)])throw new _0x574943(_0x44a626(0x219),this);this[_0x44a626(0x1f4)]=!0x0,this[_0x44a626(0x215)](_0x1ea8c0,_0x44a626(0x1e5),()=>{const _0x4de22b=_0x44a626;this[_0x4de22b(0x1e6)](),this[_0x4de22b(0x215)](_0x1ea8c0,_0x4de22b(0x1de),_0x34f762=>{const _0x346725=_0x4de22b;_0x34f762[_0x346725(0x1f6)](),this[_0x346725(0x1fd)](_0x46f063);});}),_0x1ea8c0[_0x44a626(0x1ed)]({'viewClass':_0x44a626(0x21d)});const _0x52cea6=_0x3b8ca1=>{const _0x147dac=_0x44a626;_0x3b8ca1[_0x147dac(0x1f9)](),_0x1ea8c0[_0x147dac(0x1fa)](_0x3b8ca1);};for(const _0x4b42b5 of _0x46f063)_0x52cea6(_0x4b42b5);this[_0x44a626(0x215)](_0x46f063,_0x44a626(0x218),(_0x50a7aa,_0x1f2ed7)=>{_0x52cea6(_0x1f2ed7);}),this[_0x44a626(0x215)](_0x46f063,_0x44a626(0x1d9),(_0x56bbc7,_0x2273e5,_0x55b672)=>{const _0x2e4b70=_0x44a626;_0x1ea8c0[_0x2e4b70(0x20a)]({'removedAnnotation':_0x2273e5,'previousAnnotation':_0x46f063[_0x2e4b70(0x1d8)](_0x55b672-0x1),'nextAnnotation':_0x46f063[_0x2e4b70(0x1d8)](_0x55b672+0x1)}),_0x2273e5===this[_0x2e4b70(0x1ea)]&&this[_0x2e4b70(0x211)](null);},{'priority':_0x44a626(0x1fe)}),this[_0x44a626(0x215)](_0x46f063,_0x44a626(0x1f0),(_0x3fd12d,_0x37a82c)=>{const _0x25fabd=_0x44a626;this[_0x25fabd(0x211)](_0x37a82c);}),this[_0x44a626(0x215)](_0x46f063,_0x44a626(0x207),()=>{const _0x86c847=_0x44a626;this[_0x86c847(0x211)](null);});const _0x288bc2=this[_0x44a626(0x206)]instanceof _0x1c0fc4?this[_0x44a626(0x206)][_0x44a626(0x1ff)]:new _0x4368d5([this[_0x44a626(0x206)]]);for(const _0x15b192 of _0x288bc2)this[_0x44a626(0x1da)](_0x15b192);this[_0x44a626(0x215)](_0x288bc2,_0x44a626(0x218),(_0x56b0de,_0x451eef)=>{const _0x453c95=_0x44a626;this[_0x453c95(0x215)](_0x451eef,_0x453c95(0x1f5),()=>{const _0x584f7a=_0x453c95;this[_0x584f7a(0x1da)](_0x451eef);});}),this[_0x44a626(0x215)](_0x288bc2,_0x44a626(0x1d9),(_0x46121d,_0x2964e6)=>{const _0x4d80d1=_0x44a626;_0x2964e6[_0x4d80d1(0x205)][_0x4d80d1(0x208)](_0x4d80d1(0x214))&&this[_0x4d80d1(0x1e2)](_0x2964e6[_0x4d80d1(0x205)][_0x4d80d1(0x1d8)](_0x4d80d1(0x214)));}),window[_0x44a626(0x1dc)](_0x44a626(0x201),this[_0x44a626(0x213)]),this[_0x44a626(0x206)][_0x44a626(0x205)][_0x44a626(0x1d8)](_0x44a626(0x1dd))[_0x44a626(0x1f8)](),this[_0x44a626(0x202)][_0x44a626(0x1df)]();}[_0x31c75c(0x1e6)](){const _0x37a9bc=_0x31c75c;if(!this[_0x37a9bc(0x1f4)])throw new _0x574943(_0x37a9bc(0x1f2),this);this[_0x37a9bc(0x211)](null);const _0x45b7fa=this[_0x37a9bc(0x206)][_0x37a9bc(0x205)][_0x37a9bc(0x1d8)](_0x3edd57);_0x45b7fa[_0x37a9bc(0x1f3)](this[_0x37a9bc(0x202)]),this[_0x37a9bc(0x20d)](_0x45b7fa),this[_0x37a9bc(0x20d)](this[_0x37a9bc(0x202)]),this[_0x37a9bc(0x206)]instanceof _0x1c0fc4&&this[_0x37a9bc(0x20d)](this[_0x37a9bc(0x206)][_0x37a9bc(0x1ff)]);for(const _0xd1be53 of Array[_0x37a9bc(0x20f)](this[_0x37a9bc(0x1e4)]))this[_0x37a9bc(0x1e2)](_0xd1be53);window[_0x37a9bc(0x1d7)](_0x37a9bc(0x201),this[_0x37a9bc(0x213)]),this[_0x37a9bc(0x213)][_0x37a9bc(0x1ef)](),this[_0x37a9bc(0x1ea)]=null,this[_0x37a9bc(0x1f4)]=!0x1,this[_0x37a9bc(0x202)]=null;}[_0x31c75c(0x1e8)](){const _0x5c4b22=_0x31c75c;this[_0x5c4b22(0x1f4)]&&this[_0x5c4b22(0x1e6)]();}[_0x31c75c(0x1da)](_0xeb048e){const _0x21b88d=_0x31c75c;if(!_0xeb048e[_0x21b88d(0x205)][_0x21b88d(0x208)](_0x21b88d(0x214)))return;const _0x1dc718=_0xeb048e[_0x21b88d(0x205)][_0x21b88d(0x1d8)](_0x21b88d(0x214)),_0x35c571=()=>{const _0x226a00=_0x21b88d,_0x4fa5f3=_0x1dc718[_0x226a00(0x1e7)]({'annotations':this[_0x226a00(0x202)],'activeAnnotation':this[_0x226a00(0x1ea)]});this[_0x226a00(0x211)](_0x4fa5f3[0x0]||null);};this[_0x21b88d(0x215)](_0x1dc718,_0x21b88d(0x204),_0x35c571),this[_0x21b88d(0x215)](_0x1dc718,_0x21b88d(0x207),(_0x26ecb6,{isAnnotationTracked:_0x513ca7})=>{const _0x35c64c=_0x21b88d;this[_0x35c64c(0x1ea)]&&_0x513ca7(this[_0x35c64c(0x1ea)])&&this[_0x35c64c(0x211)](null);}),this[_0x21b88d(0x215)](_0x1dc718,_0x21b88d(0x1ee),()=>{const _0x2281d2=_0x21b88d;this[_0x2281d2(0x213)]();}),this[_0x21b88d(0x215)](this[_0x21b88d(0x202)],_0x21b88d(0x207),_0x570fbd=>{const _0x3c6ebf=_0x21b88d;_0x1dc718[_0x3c6ebf(0x1e9)]()&&(_0x35c571(),_0x570fbd[_0x3c6ebf(0x216)]());},{'priority':_0x21b88d(0x1fe)}),this[_0x21b88d(0x1e4)][_0x21b88d(0x218)](_0x1dc718);}[_0x31c75c(0x1e2)](_0x3b3bcf){const _0x3c5c7f=_0x31c75c;this[_0x3c5c7f(0x20d)](_0x3b3bcf),this[_0x3c5c7f(0x1e4)][_0x3c5c7f(0x1d9)](_0x3b3bcf);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a5a28=_0xdda2;(function(_0x4b9e82,_0x38c19f){const _0x8992aa=_0xdda2,_0x1f7005=_0x4b9e82();while(!![]){try{const _0x567749=parseInt(_0x8992aa(0x1a5))/0x1*(parseInt(_0x8992aa(0x1a6))/0x2)+-parseInt(_0x8992aa(0x191))/0x3*(-parseInt(_0x8992aa(0x194))/0x4)+parseInt(_0x8992aa(0x1bf))/0x5*(-parseInt(_0x8992aa(0x1a1))/0x6)+parseInt(_0x8992aa(0x1bc))/0x7+-parseInt(_0x8992aa(0x19d))/0x8+parseInt(_0x8992aa(0x1a8))/0x9*(-parseInt(_0x8992aa(0x1ad))/0xa)+parseInt(_0x8992aa(0x19c))/0xb*(parseInt(_0x8992aa(0x19a))/0xc);if(_0x567749===_0x38c19f)break;else _0x1f7005['push'](_0x1f7005['shift']());}catch(_0x11b405){_0x1f7005['push'](_0x1f7005['shift']());}}}(_0xa189,0xc89e1));import{Command as _0x23fa1d}from'ckeditor5/src/core.js';import{uid as _0xa810b2,CKEditorError as _0x30b0ab}from'ckeditor5/src/utils.js';function _0xdda2(_0x178cff,_0x13d126){const _0xa1895=_0xa189();return _0xdda2=function(_0xdda2b9,_0x6013f0){_0xdda2b9=_0xdda2b9-0x190;let _0x46665c=_0xa1895[_0xdda2b9];return _0x46665c;},_0xdda2(_0x178cff,_0x13d126);}export class AddCommentThreadCommand extends _0x23fa1d{constructor(_0x977613){const _0x5408e0=_0xdda2;super(_0x977613),this[_0x5408e0(0x19b)](_0x5408e0(0x1aa),!0x1);}[_0x2a5a28(0x195)](){const _0x351d8b=_0x2a5a28,_0x20950e=this[_0x351d8b(0x1af)][_0x351d8b(0x1c3)][_0x351d8b(0x1ae)][_0x351d8b(0x1c1)];this[_0x351d8b(0x1a3)]=!0x0,this[_0x351d8b(0x1aa)]=!0x1;for(const _0x252e56 of _0x20950e[_0x351d8b(0x1b8)]())if(this[_0x351d8b(0x1c4)](_0x252e56))return void(this[_0x351d8b(0x1aa)]=!0x0);}[_0x2a5a28(0x19f)]({threadId:_0x570056=_0xa810b2(),ranges:_0x265992,comment:_0x236017}={}){const _0x4a97aa=_0x2a5a28,_0xc608e9=this[_0x4a97aa(0x1af)][_0x4a97aa(0x1c3)],_0x2be510=_0x265992??Array[_0x4a97aa(0x1b7)](_0xc608e9[_0x4a97aa(0x1ae)][_0x4a97aa(0x1c1)][_0x4a97aa(0x1b8)]()),_0x20d145=[];for(const _0x38d222 of _0x2be510)this[_0x4a97aa(0x1c4)](_0x38d222)&&_0x20d145[_0x4a97aa(0x1bb)](this[_0x4a97aa(0x1b4)](_0x38d222));if(!_0x20d145[_0x4a97aa(0x198)])throw new _0x30b0ab(_0x4a97aa(0x1b5),null);_0x236017&&this[_0x4a97aa(0x1a0)](_0x570056,_0x236017),this[_0x4a97aa(0x1c5)](_0x570056,_0x20d145,!!_0x236017);}[_0x2a5a28(0x1c5)](_0x45e593,_0x95b90c,_0x5aefa4){const _0x3079de=_0x2a5a28;this[_0x3079de(0x1af)][_0x3079de(0x1c3)][_0x3079de(0x199)](_0x2f6a2c=>{const _0x45dd3b=_0x3079de;for(const _0x41b753 of _0x95b90c){const _0x16a3a5=_0xa810b2()[_0x45dd3b(0x1b9)](0x1,0x5),_0xcb02b6=_0x45dd3b(0x197)+_0x45e593+':'+_0x16a3a5;_0x2f6a2c[_0x45dd3b(0x193)](_0xcb02b6,{'range':_0x41b753,'usingOperation':_0x5aefa4,'affectsData':_0x5aefa4});}});}[_0x2a5a28(0x1a0)](_0x16dc8a,_0x26ced8){const _0x278606=_0x2a5a28,_0x5bb56b=this[_0x278606(0x1af)][_0x278606(0x196)][_0x278606(0x1a4)](_0x278606(0x1be)),_0xbc357a=this[_0x278606(0x1af)][_0x278606(0x192)][_0x278606(0x1a4)](_0x278606(0x190)),_0x25288c=this[_0x278606(0x1af)][_0x278606(0x196)][_0x278606(0x1a4)](_0x278606(0x1b1))['me'];if(!_0x25288c)throw new _0x30b0ab(_0x278606(0x1bd),null);_0x5bb56b[_0x278606(0x1ab)]({'threadId':_0x16dc8a,'channelId':_0xbc357a,'comments':[{'authorId':_0x25288c['id'],'content':_0x26ced8,'createdAt':new Date(),'attributes':{}}]});}[_0x2a5a28(0x1c4)](_0x3eb54a){const _0x5c3572=_0x2a5a28;for(const _0x21510a of _0x3eb54a[_0x5c3572(0x1b0)]())if(this[_0x5c3572(0x1a9)](_0x21510a))return!0x0;return!0x1;}[_0x2a5a28(0x1a9)](_0x3a022e){const _0x432c08=_0x2a5a28;return _0x3a022e['is'](_0x432c08(0x1b6))||this[_0x432c08(0x1af)][_0x432c08(0x1c3)][_0x432c08(0x1c6)][_0x432c08(0x1a2)](_0x3a022e)&&!_0x3a022e['is'](_0x432c08(0x1ac),_0x432c08(0x1c0));}[_0x2a5a28(0x1b4)](_0xa944f2){const _0x58e7b4=_0x2a5a28,_0x4ba793=_0x3dc956=>!this[_0x58e7b4(0x1a9)](_0x3dc956[_0x58e7b4(0x1c2)]),_0x1fffd4=_0xa944f2[_0x58e7b4(0x1ba)][_0x58e7b4(0x1b3)](_0x4ba793),_0x2df884=_0xa944f2[_0x58e7b4(0x1b2)][_0x58e7b4(0x1b3)](_0x4ba793,{'direction':_0x58e7b4(0x1a7)});return this[_0x58e7b4(0x1af)][_0x58e7b4(0x1c3)][_0x58e7b4(0x19e)](_0x1fffd4,_0x2df884);}}function _0xa189(){const _0x53bcd1=['getRanges','substr','start','push','6394080aJoIkw','addcommentthreadcommand-user-not-found','CommentsRepository','11315GDIOGK','tableCell','selection','item','model','_hasContent','_createMarkersFromRanges','schema','collaboration.channelId','56859kEpnsl','config','addMarker','32RUOGMf','refresh','plugins','comment:','length','change','72INHZhJ','set','2846217DDNLha','10907080uXznIX','createRange','execute','_createCommentThread','270XXnPwX','isObject','isEnabled','get','8NIVuTd','80942ltZxJX','backward','45NooWWQ','_itemIsContent','hasContent','addCommentThread','element','1308730JPsbrx','document','editor','getItems','Users','end','getLastMatchingPosition','_trimToContent','addcommentthreadcommand-incorrect-ranges','$textProxy','from'];_0xa189=function(){return _0x53bcd1;};return _0xa189();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42a82d=_0x4dd6;(function(_0x2a5374,_0x3123d2){const _0x990133=_0x4dd6,_0x431be2=_0x2a5374();while(!![]){try{const _0x2f6f89=parseInt(_0x990133(0x1aa))/0x1+-parseInt(_0x990133(0x1ae))/0x2+-parseInt(_0x990133(0x1b2))/0x3*(-parseInt(_0x990133(0x1ba))/0x4)+-parseInt(_0x990133(0x1bb))/0x5*(parseInt(_0x990133(0x1b5))/0x6)+-parseInt(_0x990133(0x1c2))/0x7+-parseInt(_0x990133(0x1c9))/0x8+parseInt(_0x990133(0x1c1))/0x9;if(_0x2f6f89===_0x3123d2)break;else _0x431be2['push'](_0x431be2['shift']());}catch(_0x16765e){_0x431be2['push'](_0x431be2['shift']());}}}(_0xfd1b,0x6b2d1));function _0xfd1b(){const _0x3158b6=['requires','activate','isVisible','5675144LrrHfL','get','has','archivedAt','_calculatePosition','collection','pluginName','202993MwLzgk','remove','isOfficialPlugin','change:archivedAt','1624230pMYfft','length','addCommentThread','listenTo','26673fNCzpp','plugins','removeCommentThread','161394TGneRH','isPremiumPlugin','CommentsArchive','stopListening','getCommentThread','116IZoZDp','105ysRDVN','context','archivedThreads','findIndex','isActive','add','18987732flsOxd','316400oSXrRS','highest','focus','init'];_0xfd1b=function(){return _0x3158b6;};return _0xfd1b();}import{ContextPlugin as _0x491b1e}from'ckeditor5/src/core.js';import{Collection as _0x104daa}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x21fa87}from'./commentsrepository.js';import{Annotations as _0x38e3e1}from'../annotations/annotations.js';function _0x4dd6(_0x3ca474,_0x2c0dcf){const _0xfd1bf5=_0xfd1b();return _0x4dd6=function(_0x4dd631,_0x2d6fc1){_0x4dd631=_0x4dd631-0x1a9;let _0x423090=_0xfd1bf5[_0x4dd631];return _0x423090;},_0x4dd6(_0x3ca474,_0x2c0dcf);}export class CommentsArchive extends _0x491b1e{static get[_0x42a82d(0x1a9)](){const _0x24ac33=_0x42a82d;return _0x24ac33(0x1b7);}static get[_0x42a82d(0x1ac)](){return!0x0;}static get[_0x42a82d(0x1b6)](){return!0x0;}static get[_0x42a82d(0x1c6)](){return[_0x21fa87,_0x38e3e1];}constructor(_0x1fae56){const _0x1a586a=_0x42a82d;super(_0x1fae56),this[_0x1a586a(0x1bd)]=new _0x104daa();}[_0x42a82d(0x1c5)](){const _0xaac6b1=_0x42a82d,_0x1ddefd=this[_0xaac6b1(0x1bc)],_0x15448c=_0x1ddefd[_0xaac6b1(0x1b3)][_0xaac6b1(0x1ca)](_0x21fa87),_0xb24e4f=_0x1ddefd[_0xaac6b1(0x1b3)][_0xaac6b1(0x1ca)](_0x38e3e1);this[_0xaac6b1(0x1b1)](_0x15448c,_0xaac6b1(0x1b0),(_0x20752b,{threadId:_0x3e2c09})=>{const _0x1951c1=_0xaac6b1,_0x35f0a1=_0x15448c[_0x1951c1(0x1b9)](_0x3e2c09);_0x35f0a1[_0x1951c1(0x1cc)]&&this[_0x1951c1(0x1bd)][_0x1951c1(0x1c0)](_0x35f0a1,this[_0x1951c1(0x1cd)](_0x35f0a1[_0x1951c1(0x1cc)])),this[_0x1951c1(0x1b1)](_0x35f0a1,_0x1951c1(0x1ad),(_0x21aafa,_0x27ee09,_0x10fcc5)=>{const _0x41a0c6=_0x1951c1;_0x10fcc5?this[_0x41a0c6(0x1bd)][_0x41a0c6(0x1cb)](_0x35f0a1)||this[_0x41a0c6(0x1bd)][_0x41a0c6(0x1c0)](_0x35f0a1,this[_0x41a0c6(0x1cd)](_0x35f0a1[_0x41a0c6(0x1cc)])):this[_0x41a0c6(0x1bd)][_0x41a0c6(0x1cb)](_0x35f0a1)&&this[_0x41a0c6(0x1bd)][_0x41a0c6(0x1ab)](_0x35f0a1);});}),this[_0xaac6b1(0x1b1)](_0x15448c,_0xaac6b1(0x1b4),(_0x4ddbdc,{threadId:_0x1bcf36})=>{const _0x3f045a=_0xaac6b1,_0x3a44b4=_0x15448c[_0x3f045a(0x1b9)](_0x1bcf36);this[_0x3f045a(0x1b8)](_0x3a44b4),this[_0x3f045a(0x1bd)][_0x3f045a(0x1cb)](_0x3a44b4)&&this[_0x3f045a(0x1bd)][_0x3f045a(0x1ab)](_0x3a44b4);},{'priority':_0xaac6b1(0x1c3)}),this[_0xaac6b1(0x1b1)](_0xb24e4f[_0xaac6b1(0x1ce)],_0xaac6b1(0x1c4),(_0x2490af,_0x1d3c08)=>{const _0x2d7c46=_0xaac6b1;_0x1d3c08[_0x2d7c46(0x1c8)]||(_0x1d3c08[_0x2d7c46(0x1bf)]=!0x0,_0xb24e4f[_0x2d7c46(0x1c7)](_0x1d3c08));});}[_0x42a82d(0x1cd)](_0x1bfc22){const _0x32a21e=_0x42a82d,_0x1539a9=[...this[_0x32a21e(0x1bd)]][_0x32a21e(0x1be)](_0x4ebe51=>_0x4ebe51[_0x32a21e(0x1cc)]<_0x1bfc22);return _0x1539a9>-0x1?_0x1539a9:this[_0x32a21e(0x1bd)][_0x32a21e(0x1af)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x102dea=_0x1453;(function(_0x2147d9,_0x2427f2){const _0x4165ff=_0x1453,_0x45da7d=_0x2147d9();while(!![]){try{const _0x20eb1e=-parseInt(_0x4165ff(0x175))/0x1*(-parseInt(_0x4165ff(0x180))/0x2)+parseInt(_0x4165ff(0x172))/0x3+parseInt(_0x4165ff(0x15c))/0x4*(parseInt(_0x4165ff(0x143))/0x5)+parseInt(_0x4165ff(0x13c))/0x6*(-parseInt(_0x4165ff(0x144))/0x7)+-parseInt(_0x4165ff(0x15d))/0x8+parseInt(_0x4165ff(0x13a))/0x9*(parseInt(_0x4165ff(0x141))/0xa)+parseInt(_0x4165ff(0x13e))/0xb*(parseInt(_0x4165ff(0x14e))/0xc);if(_0x20eb1e===_0x2427f2)break;else _0x45da7d['push'](_0x45da7d['shift']());}catch(_0x3a87f7){_0x45da7d['push'](_0x45da7d['shift']());}}}(_0x3baf,0xdf962));import'../../theme/commentsarchive.css';function _0x3baf(){const _0x20e465=['requires','indexOf','set:isVisible','init','commentsArchive','tooltip','_threadToController','564140dcbXSE','add','_hideDialogOnAnnotationEscape','isVisible','_pendingThreads','hide','return','isEnabled','archivedAt','show','_addAnnotationToArchive','18yyCOAO','bind','521706CYhiWM','collection','946dADhoF','splice','isOfficialPlugin','5185300NctGxm','stopListening','5shBVHR','98pENjAO','get','length','CommentsRepository','EDITOR_TOP_SIDE','remove','Dialog','channelId','forEach','source','50352AiDrOo','Annotations','has','escape','_visibleAnnotations','menuBar:commentsArchive','collaboration.channelId','getByInnerView','_toggleDialog','focusableElements','_createCommentsArchiveButton','_handleNewThread','componentFactory','isOpen','1039800mloJiT','7744392WQYqUE','set','execute','locale','editor','isOn','isPremiumPlugin','plugins','findIndex','stop','annotationViews','COMMENTS_ARCHIVE','find','filter','_calculatePosition','commentsArchiveView','view','innerView','CommentsArchiveUI','pluginName','listenTo','1791291yQeWjY','push','includes','3Wtceyg','menuitemcheckbox','config','archivedThreads'];_0x3baf=function(){return _0x20e465;};return _0x3baf();}import{Plugin as _0x8e8a1f}from'ckeditor5/src/core.js';function _0x1453(_0x104dd2,_0x247e8c){const _0x3baf2b=_0x3baf();return _0x1453=function(_0x145364,_0x3623df){_0x145364=_0x145364-0x137;let _0x2f8c4b=_0x3baf2b[_0x145364];return _0x2f8c4b;},_0x1453(_0x104dd2,_0x247e8c);}import{IconCommentsArchive as _0x13f4e5}from'ckeditor5/src/icons.js';import{ViewCollection as _0x422d16,MenuBarMenuListItemButtonView as _0x3024bc,ButtonView as _0x586582,Dialog as _0x3a7319,DialogViewPosition as _0x408fa2}from'ckeditor5/src/ui.js';import{getTranslation as _0x3b6b16}from'../utils/common-translations.js';import{CommentsArchiveView as _0x5083db}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x21e29e}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x8e8a1f{[_0x102dea(0x16c)];[_0x102dea(0x167)];[_0x102dea(0x184)];static get[_0x102dea(0x170)](){const _0x2e8165=_0x102dea;return _0x2e8165(0x16f);}static get[_0x102dea(0x140)](){return!0x0;}static get[_0x102dea(0x163)](){return!0x0;}static get[_0x102dea(0x179)](){return[_0x21e29e,_0x3a7319];}constructor(_0x2a71fd){const _0x491f51=_0x102dea;super(_0x2a71fd),this[_0x491f51(0x167)]=new _0x422d16(),this[_0x491f51(0x184)]=[];}[_0x102dea(0x17c)](){const _0x4cb85b=_0x102dea,_0x2f228e=this[_0x4cb85b(0x161)],_0x3095f7=this[_0x4cb85b(0x182)][_0x4cb85b(0x13b)](this);_0x2f228e['ui'][_0x4cb85b(0x15a)][_0x4cb85b(0x181)](_0x4cb85b(0x17d),()=>this[_0x4cb85b(0x158)](_0x586582,!0x0)),_0x2f228e['ui'][_0x4cb85b(0x15a)][_0x4cb85b(0x181)](_0x4cb85b(0x153),()=>{const _0x2641cf=_0x4cb85b,_0x1f48c3=this[_0x2641cf(0x158)](_0x3024bc);return _0x1f48c3[_0x2641cf(0x15e)]({'role':_0x2641cf(0x176)}),_0x1f48c3;});const _0x17a5ac=_0x2f228e[_0x4cb85b(0x164)][_0x4cb85b(0x145)](_0x21e29e),_0x16009c=_0x2f228e[_0x4cb85b(0x164)][_0x4cb85b(0x145)](_0x4cb85b(0x14f)),_0x5b0119=_0x2f228e[_0x4cb85b(0x164)][_0x4cb85b(0x145)](_0x4cb85b(0x147));_0x17a5ac[_0x4cb85b(0x178)][_0x4cb85b(0x14c)](_0x591ee3=>{const _0x53474a=_0x4cb85b;this[_0x53474a(0x159)](_0x591ee3);}),this[_0x4cb85b(0x171)](_0x17a5ac[_0x4cb85b(0x178)],_0x4cb85b(0x181),(_0xba2557,_0x570dd4)=>{const _0x43b350=_0x4cb85b;this[_0x43b350(0x159)](_0x570dd4);}),this[_0x4cb85b(0x171)](_0x16009c[_0x4cb85b(0x13d)],_0x4cb85b(0x181),(_0x506a67,_0x4bb66b)=>{const _0x326ec0=_0x4cb85b,_0xf2fcc5=this[_0x326ec0(0x184)][_0x326ec0(0x169)](_0x2790bc=>{const _0x45831b=_0x326ec0,_0x19a601=_0x5b0119[_0x45831b(0x17f)][_0x45831b(0x145)](_0x2790bc);return _0x19a601&&_0x4bb66b[_0x45831b(0x16e)]===_0x19a601[_0x45831b(0x16d)];});if(_0xf2fcc5){const _0x420674=this[_0x326ec0(0x16b)](_0xf2fcc5[_0x326ec0(0x137)]);this[_0x326ec0(0x139)](_0x4bb66b,_0x420674),this[_0x326ec0(0x184)][_0x326ec0(0x13f)](this[_0x326ec0(0x184)][_0x326ec0(0x17a)](_0xf2fcc5),0x1);}}),this[_0x4cb85b(0x171)](_0x17a5ac[_0x4cb85b(0x178)],_0x4cb85b(0x149),(_0x263526,_0xf61622)=>{const _0x45d3db=_0x4cb85b,_0x191d0d=_0x2f228e[_0x45d3db(0x177)][_0x45d3db(0x145)](_0x45d3db(0x154));if(!_0x191d0d||_0xf61622[_0x45d3db(0x14b)]===_0x191d0d){if(this[_0x45d3db(0x184)][_0x45d3db(0x174)](_0xf61622))this[_0x45d3db(0x184)][_0x45d3db(0x13f)](this[_0x45d3db(0x184)][_0x45d3db(0x17a)](_0xf61622),0x1);else{const _0x47dd78=_0x5b0119[_0x45d3db(0x17f)][_0x45d3db(0x145)](_0xf61622),_0x3a6191=_0x16009c[_0x45d3db(0x155)](_0x47dd78[_0x45d3db(0x16d)]);this[_0x45d3db(0x167)][_0x45d3db(0x149)](_0x3a6191[_0x45d3db(0x16d)]),this[_0x45d3db(0x142)](_0x3a6191),this[_0x45d3db(0x142)](_0x3a6191[_0x45d3db(0x157)]);}}}),this[_0x4cb85b(0x171)](_0x16009c[_0x4cb85b(0x13d)],_0x4cb85b(0x181),(_0x3934d2,_0x4af3a3)=>{const _0x4748c6=_0x4cb85b;this[_0x4748c6(0x171)](_0x4af3a3,_0x4748c6(0x151),_0x3095f7);}),this[_0x4cb85b(0x171)](_0x16009c[_0x4cb85b(0x13d)],_0x4cb85b(0x149),(_0x110eee,_0x20e752)=>{const _0x4f990c=_0x4cb85b;this[_0x4f990c(0x142)](_0x20e752,_0x4f990c(0x151),_0x3095f7);});}[_0x102dea(0x139)](_0x211a83,_0x28478f){const _0x5d16f5=_0x102dea;this[_0x5d16f5(0x171)](_0x211a83,_0x5d16f5(0x17b),_0x379f57=>{const _0x4964da=_0x5d16f5;_0x379f57[_0x4964da(0x186)]=!0x1,_0x379f57[_0x4964da(0x166)]();}),this[_0x5d16f5(0x167)][_0x5d16f5(0x181)](_0x211a83[_0x5d16f5(0x16d)],_0x28478f);}[_0x102dea(0x159)](_0x2238a6){const _0xda111e=_0x102dea,_0x3bcba1=this[_0xda111e(0x161)][_0xda111e(0x164)][_0xda111e(0x145)](_0xda111e(0x147)),_0x461a9f=this[_0xda111e(0x161)][_0xda111e(0x164)][_0xda111e(0x145)](_0xda111e(0x14f)),_0x52fb47=this[_0xda111e(0x161)][_0xda111e(0x177)][_0xda111e(0x145)](_0xda111e(0x154));if(!_0x52fb47||_0x2238a6[_0xda111e(0x14b)]===_0x52fb47){const _0x13d8a4=_0x3bcba1[_0xda111e(0x17f)][_0xda111e(0x145)](_0x2238a6);if(!_0x13d8a4)return void this[_0xda111e(0x184)][_0xda111e(0x173)](_0x2238a6);const _0xf128b5=this[_0xda111e(0x16b)](_0x2238a6[_0xda111e(0x137)]),_0x297d46=_0x461a9f[_0xda111e(0x155)](_0x13d8a4[_0xda111e(0x16d)]);_0x297d46[_0xda111e(0x183)]&&_0x461a9f[_0xda111e(0x152)][_0xda111e(0x149)](_0x297d46),this[_0xda111e(0x139)](_0x297d46,_0xf128b5);}}[_0x102dea(0x16b)](_0x1fc4cb){const _0x2b9de6=_0x102dea,_0x4ba3e1=this[_0x2b9de6(0x161)][_0x2b9de6(0x177)][_0x2b9de6(0x145)](_0x2b9de6(0x154)),_0x5abeed=[...this[_0x2b9de6(0x161)][_0x2b9de6(0x164)][_0x2b9de6(0x145)](_0x21e29e)[_0x2b9de6(0x178)]][_0x2b9de6(0x16a)](_0x4b59ec=>_0x4b59ec[_0x2b9de6(0x14b)]===_0x4ba3e1)[_0x2b9de6(0x165)](_0x5a10de=>_0x5a10de[_0x2b9de6(0x137)]<_0x1fc4cb);return _0x5abeed<0x0||_0x5abeed>this[_0x2b9de6(0x167)][_0x2b9de6(0x146)]?this[_0x2b9de6(0x167)][_0x2b9de6(0x146)]:_0x5abeed-0x1;}[_0x102dea(0x156)](){const _0x453fb9=_0x102dea,_0x4568b7=this[_0x453fb9(0x161)],_0x616fa1=_0x4568b7[_0x453fb9(0x164)][_0x453fb9(0x145)](_0x453fb9(0x14a));this[_0x453fb9(0x16c)]||(this[_0x453fb9(0x16c)]=new _0x5083db(_0x4568b7[_0x453fb9(0x160)],this[_0x453fb9(0x167)])),_0x453fb9(0x17d)===_0x616fa1['id']?_0x616fa1[_0x453fb9(0x185)]():_0x616fa1[_0x453fb9(0x138)]({'id':_0x453fb9(0x17d),'title':_0x3b6b16(_0x4568b7[_0x453fb9(0x160)],_0x453fb9(0x168)),'icon':_0x13f4e5,'hasCloseButton':!0x0,'content':this[_0x453fb9(0x16c)],'position':_0x408fa2[_0x453fb9(0x148)]});}[_0x102dea(0x158)](_0x3a9ce5,_0x3147d5=!0x1){const _0x38bf5b=_0x102dea,_0x53bc5c=this[_0x38bf5b(0x161)][_0x38bf5b(0x160)],_0x1425bc=this[_0x38bf5b(0x161)][_0x38bf5b(0x164)][_0x38bf5b(0x145)](_0x38bf5b(0x14a)),_0x2b4872=new _0x3a9ce5(_0x53bc5c);return _0x2b4872[_0x38bf5b(0x13b)](_0x38bf5b(0x187))['to'](this,_0x38bf5b(0x187)),_0x2b4872[_0x38bf5b(0x13b)](_0x38bf5b(0x162))['to'](_0x1425bc,'id',_0x253b9b=>_0x38bf5b(0x17d)===_0x253b9b),_0x2b4872[_0x38bf5b(0x15e)]({'label':_0x3b6b16(_0x53bc5c,_0x38bf5b(0x168)),'icon':_0x13f4e5,'isToggleable':!0x0}),_0x3147d5&&(_0x2b4872[_0x38bf5b(0x17e)]=!0x0),this[_0x38bf5b(0x171)](_0x2b4872,_0x38bf5b(0x15f),()=>this[_0x38bf5b(0x156)]()),_0x2b4872;}[_0x102dea(0x182)]=_0x1843d8=>{const _0x1f328b=_0x102dea,_0x19aee3=_0x1843d8[_0x1f328b(0x14d)];if(!this[_0x1f328b(0x167)][_0x1f328b(0x150)](_0x19aee3[_0x1f328b(0x16d)]))return;const _0x2d3e03=this[_0x1f328b(0x161)][_0x1f328b(0x164)][_0x1f328b(0x145)](_0x1f328b(0x14a));_0x2d3e03[_0x1f328b(0x15b)]&&_0x1f328b(0x17d)===_0x2d3e03['id']&&(_0x2d3e03[_0x1f328b(0x185)](),_0x1843d8[_0x1f328b(0x166)]());};}
|