@ckeditor/ckeditor5-comments 46.0.0-alpha.2 → 46.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x22c9c7=_0x5d6e;function _0x5d6e(_0x2752b5,_0x35bea6){const _0x1ffe80=_0x1ffe();return _0x5d6e=function(_0x5d6efe,_0x539dc7){_0x5d6efe=_0x5d6efe-0x183;let _0x1ff0e9=_0x1ffe80[_0x5d6efe];return _0x1ff0e9;},_0x5d6e(_0x2752b5,_0x35bea6);}(function(_0x297acb,_0x2d1822){const _0x8b1179=_0x5d6e,_0x161ae1=_0x297acb();while(!![]){try{const _0x51d178=parseInt(_0x8b1179(0x183))/0x1*(-parseInt(_0x8b1179(0x1a7))/0x2)+parseInt(_0x8b1179(0x1d6))/0x3*(parseInt(_0x8b1179(0x1cd))/0x4)+-parseInt(_0x8b1179(0x1b9))/0x5+parseInt(_0x8b1179(0x1cb))/0x6+-parseInt(_0x8b1179(0x196))/0x7+parseInt(_0x8b1179(0x1af))/0x8+-parseInt(_0x8b1179(0x184))/0x9*(-parseInt(_0x8b1179(0x1a8))/0xa);if(_0x51d178===_0x2d1822)break;else _0x161ae1['push'](_0x161ae1['shift']());}catch(_0x58f569){_0x161ae1['push'](_0x161ae1['shift']());}}}(_0x1ffe,0x7291b));import{ContextPlugin as _0x46042a}from'ckeditor5/src/core.js';import{Rect as _0x94206e,CKEditorError as _0x111e65}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x3783b7}from'./view/sidebarview.js';function _0x1ffe(){const _0x1e23a5=['push','refresh','updateHeight','config','Sidebar','max','_setItemTop','sidebar-setcontainer-invalid-element','_recalculate','set','add','define','_annotationToSidebarItemView','nodeType','229971iQVLeA','sidebar-attachtocontainer-missing-container','container','view','isOfficialPlugin','isActive','change:targetRect','length','_updateLastItem','change:top','_alignAfterItem','_alignBeforeItem','isAnimationDisabled','_spaceBetweenItems','_lastItem','isPremiumPlugin','targetRect','89954KHVChH','57430RmLgzD','unbind','render','_getMaxAvailableTop','object','pluginName','change:_lastItem','1566976nIHIQn','top','_annotations','_alignForTopChange','content','context','rearrange','sidebar.preventScrollOutOfView','addAnnotation','height','1211035HVjEhc','locale','list','sidebar.container','_recalculateBuffer','last','minHeight','getIndex','_alignToTargetRect','_activeAnnotation','_getTargetTop','bind','_getItemAfter','setContainer','_detachFromContainer','bottom','remove','_alignForBottomChange','1741548kVIPNe','_createSidebarView','424moWUGp','delete','stopListening','listenTo','destroy','_destroySidebarItemView','_getItemBefore','_targetTop','init','9147DgAJCn','target','element','clear','class','change:bottom','_sidebarItemViewToAnnotation','get','10GfyXjo','603hckUnH','getSidebarItemView','_attachToContainer','appendChild'];_0x1ffe=function(){return _0x1e23a5;};return _0x1ffe();}import{AnnotationsSidebarItemView as _0x4bd2bb}from'./view/sidebaritemview.js';export class Sidebar extends _0x46042a{[_0x22c9c7(0x199)];[_0x22c9c7(0x1c2)];[_0x22c9c7(0x1b1)];[_0x22c9c7(0x1a3)];[_0x22c9c7(0x1dc)];[_0x22c9c7(0x194)];[_0x22c9c7(0x1bd)];static get[_0x22c9c7(0x1ad)](){const _0x2a36ba=_0x22c9c7;return _0x2a36ba(0x18c);}static get[_0x22c9c7(0x19a)](){return!0x0;}static get[_0x22c9c7(0x1a5)](){return!0x0;}constructor(_0xe4f75b){const _0x5b141c=_0x22c9c7;super(_0xe4f75b),this[_0x5b141c(0x191)](_0x5b141c(0x1a4),void 0x0),this[_0x5b141c(0x199)]=this[_0x5b141c(0x1cc)](),this[_0x5b141c(0x191)](_0x5b141c(0x198),null),this[_0x5b141c(0x1a3)]=0x19,this[_0x5b141c(0x1dc)]=new Map(),this[_0x5b141c(0x194)]=new Map(),this[_0x5b141c(0x1b4)][_0x5b141c(0x18b)][_0x5b141c(0x193)](_0x5b141c(0x1b6),!0x1),this[_0x5b141c(0x1b1)]=null,this[_0x5b141c(0x1c2)]=null,this[_0x5b141c(0x1bd)]=[];}[_0x22c9c7(0x1d5)](){const _0x5d1835=_0x22c9c7,_0x1a143=this[_0x5d1835(0x1b4)][_0x5d1835(0x18b)][_0x5d1835(0x1dd)](_0x5d1835(0x1bc));_0x1a143&&this[_0x5d1835(0x1c6)](_0x1a143);}[_0x22c9c7(0x1c6)](_0x45747b){const _0x40403c=_0x22c9c7;if(!g(_0x45747b))throw new _0x111e65(_0x40403c(0x18f));this[_0x40403c(0x198)]=_0x45747b;}[_0x22c9c7(0x186)]({viewClass:_0x1813a6='',spaceBetweenItems:_0x1557c7=0x19}={}){const _0x5f1bfd=_0x22c9c7;if(!g(this[_0x5f1bfd(0x198)]))throw new _0x111e65(_0x5f1bfd(0x197),this);this[_0x5f1bfd(0x198)][_0x5f1bfd(0x187)](this[_0x5f1bfd(0x199)][_0x5f1bfd(0x1d8)]),this[_0x5f1bfd(0x199)][_0x5f1bfd(0x1da)]=_0x1813a6,this[_0x5f1bfd(0x1a3)]=_0x1557c7;}[_0x22c9c7(0x1b5)]({removedAnnotation:_0x59c4d0,previousAnnotation:_0x5865f3,nextAnnotation:_0xf2913b}){const _0x103af6=_0x22c9c7,_0x4aed49=this[_0x103af6(0x185)](_0x59c4d0);this[_0x103af6(0x199)][_0x103af6(0x1bb)][_0x103af6(0x1c9)](_0x4aed49),this[_0x103af6(0x1d2)](_0x59c4d0),_0x5865f3&&this[_0x103af6(0x1c1)](this[_0x103af6(0x185)](_0x5865f3)),_0xf2913b&&this[_0x103af6(0x1c1)](this[_0x103af6(0x185)](_0xf2913b)),this[_0x103af6(0x19e)]();}[_0x22c9c7(0x189)]({blurredAnnotation:_0x86b9b1,activatedAnnotation:_0x27d3e5,disableAnimationOnActivatedAnnotation:_0x15f08a}){const _0x5a76f4=_0x22c9c7;if(this[_0x5a76f4(0x1c2)]=_0x27d3e5,_0x86b9b1){_0x86b9b1[_0x5a76f4(0x19b)]=!0x1;const _0x3b02dd=this[_0x5a76f4(0x185)](_0x86b9b1);_0x3b02dd&&_0x15f08a&&(_0x3b02dd[_0x5a76f4(0x1a2)]=!0x1);}if(_0x27d3e5){const _0x14ac39=this[_0x5a76f4(0x185)](_0x27d3e5);_0x14ac39&&(_0x27d3e5[_0x5a76f4(0x19b)]=!0x0,_0x15f08a&&(_0x14ac39[_0x5a76f4(0x1a2)]=!0x0,_0x14ac39[_0x5a76f4(0x1b0)]+=0x1),this[_0x5a76f4(0x1c1)](_0x14ac39));}}[_0x22c9c7(0x1c7)](_0x8b9025){const _0x42f319=_0x22c9c7;if(this[_0x42f319(0x199)][_0x42f319(0x1d8)][_0x42f319(0x1c9)](),_0x8b9025){for(const _0x50b280 of _0x8b9025)this[_0x42f319(0x1d2)](_0x50b280);}this[_0x42f319(0x199)][_0x42f319(0x1bb)][_0x42f319(0x1d9)](),this[_0x42f319(0x199)][_0x42f319(0x1da)]='',this[_0x42f319(0x1a4)]=null;}[_0x22c9c7(0x1b7)](_0x1662dc,_0x3d9c73){const _0x264791=_0x22c9c7;_0x3d9c73||(_0x3d9c73=_0x1662dc[_0x264791(0x199)]);const _0x14c3ec=new _0x4bd2bb(this[_0x264791(0x1b4)][_0x264791(0x1ba)]);this[_0x264791(0x1dc)][_0x264791(0x191)](_0x14c3ec,_0x1662dc),this[_0x264791(0x194)][_0x264791(0x191)](_0x1662dc,_0x14c3ec),_0x14c3ec[_0x264791(0x1b3)][_0x264791(0x192)](_0x3d9c73),this[_0x264791(0x1d0)](_0x1662dc[_0x264791(0x199)],_0x264791(0x19c),(_0x283ce5,_0x339e6b,_0x522b9a)=>{const _0xcdffad=_0x264791,_0x4fdfdf=this[_0xcdffad(0x1c3)](_0x1662dc,_0x522b9a);_0x14c3ec[_0xcdffad(0x1d4)]!=_0x4fdfdf&&(_0x14c3ec[_0xcdffad(0x1d4)]=_0x4fdfdf,this[_0xcdffad(0x18e)](_0x14c3ec,_0x4fdfdf));}),this[_0x264791(0x1d0)](_0x14c3ec,_0x264791(0x19f),()=>{const _0x538fa4=_0x264791;this[_0x538fa4(0x190)](_0x14c3ec,_0x538fa4(0x1b0));}),this[_0x264791(0x1d0)](_0x14c3ec,_0x264791(0x1db),()=>{const _0x3e5b63=_0x264791;this[_0x3e5b63(0x190)](_0x14c3ec,_0x3e5b63(0x1c8));}),this[_0x264791(0x1c1)](_0x14c3ec);const _0x3e2c90=this[_0x264791(0x1d3)](_0x14c3ec);if(_0x3e2c90)this[_0x264791(0x1a0)](_0x3e2c90,_0x14c3ec)||this[_0x264791(0x1c1)](_0x14c3ec);else this[_0x264791(0x1c1)](_0x14c3ec);return this[_0x264791(0x19e)](),this[_0x264791(0x199)][_0x264791(0x1bb)][_0x264791(0x192)](_0x14c3ec),_0x14c3ec;}[_0x22c9c7(0x1b2)](_0x111bd5){const _0x395fab=_0x22c9c7;if(!_0x111bd5[_0x395fab(0x1b3)][_0x395fab(0x19d)])return;const _0x20973f=this[_0x395fab(0x1d3)](_0x111bd5);if(!_0x20973f)return;const _0x4a108c=this[_0x395fab(0x1dc)][_0x395fab(0x1dd)](_0x20973f),_0x3bce8f=this[_0x395fab(0x1c2)];_0x3bce8f&&_0x3bce8f===_0x4a108c?this[_0x395fab(0x1a0)](_0x20973f,_0x111bd5):this[_0x395fab(0x1a1)](_0x111bd5,_0x20973f);}[_0x22c9c7(0x1ca)](_0xd5bd2b){const _0x218b93=_0x22c9c7;if(!_0xd5bd2b[_0x218b93(0x1b3)][_0x218b93(0x19d)])return;const _0x3574dc=this[_0x218b93(0x1c5)](_0xd5bd2b);if(!_0x3574dc)return;const _0x530903=this[_0x218b93(0x1dc)][_0x218b93(0x1dd)](_0x3574dc),_0x37eb63=this[_0x218b93(0x1b4)][_0x218b93(0x18b)][_0x218b93(0x1dd)](_0x218b93(0x1b6)),_0x10e8c7=this[_0x218b93(0x1c2)];_0x10e8c7&&_0x10e8c7===_0x530903&&_0x37eb63?(this[_0x218b93(0x1a1)](_0x3574dc,_0xd5bd2b),this[_0x218b93(0x1a0)](_0xd5bd2b,_0x3574dc)):_0x10e8c7&&_0x10e8c7===_0x530903?this[_0x218b93(0x1a1)](_0x3574dc,_0xd5bd2b):this[_0x218b93(0x1a0)](_0xd5bd2b,_0x3574dc);}[_0x22c9c7(0x190)](_0x14f7ea,_0x5809cc){const _0x57064f=_0x22c9c7;0x0===this[_0x57064f(0x1bd)][_0x57064f(0x19d)]&&setTimeout(()=>{const _0x188d8e=_0x57064f;for(const {sidebarItemView:_0x5a8d85,changedProp:_0x20a430}of this[_0x188d8e(0x1bd)])_0x188d8e(0x1b0)===_0x20a430?this[_0x188d8e(0x1b2)](_0x5a8d85):this[_0x188d8e(0x1ca)](_0x5a8d85);this[_0x188d8e(0x1bd)]=[];},0xa),this[_0x57064f(0x1bd)][_0x57064f(0x188)]({'sidebarItemView':_0x14f7ea,'changedProp':_0x5809cc});}[_0x22c9c7(0x185)](_0x20fc51){const _0x4bdecf=_0x22c9c7;return this[_0x4bdecf(0x194)][_0x4bdecf(0x1dd)](_0x20fc51);}[_0x22c9c7(0x1d1)](){const _0x257750=_0x22c9c7;this[_0x257750(0x1cf)](),this[_0x257750(0x199)][_0x257750(0x1d1)]();}[_0x22c9c7(0x1d2)](_0x5676ae){const _0x5af548=_0x22c9c7,_0x40ae9f=this[_0x5af548(0x185)](_0x5676ae);this[_0x5af548(0x1cf)](_0x40ae9f),this[_0x5af548(0x1cf)](_0x5676ae[_0x5af548(0x199)]),_0x40ae9f[_0x5af548(0x1d1)](),this[_0x5af548(0x194)][_0x5af548(0x1ce)](_0x5676ae),this[_0x5af548(0x1dc)][_0x5af548(0x1ce)](_0x40ae9f);}[_0x22c9c7(0x1cc)](){const _0x5dcb1b=_0x22c9c7,_0x1aed02=new _0x3783b7(this[_0x5dcb1b(0x1b4)][_0x5dcb1b(0x1ba)]);return _0x1aed02[_0x5dcb1b(0x1aa)](),this['on'](_0x5dcb1b(0x1ae),(_0x533116,_0x3870d6,_0x22d28e,_0x1c754d)=>{const _0x1db1c0=_0x5dcb1b;_0x1c754d&&_0x1aed02[_0x1db1c0(0x1a9)](_0x1db1c0(0x1bf)),_0x22d28e?_0x1aed02[_0x1db1c0(0x1c4)](_0x1db1c0(0x1bf))['to'](_0x22d28e,_0x1db1c0(0x1c8)):_0x1aed02[_0x1db1c0(0x1bf)]=null;}),_0x1aed02;}[_0x22c9c7(0x19e)](){const _0x536f68=_0x22c9c7;this[_0x536f68(0x1a4)]=this[_0x536f68(0x1b1)]?.[_0x536f68(0x1be)]?this[_0x536f68(0x185)](this[_0x536f68(0x1b1)][_0x536f68(0x1be)]):null;}[_0x22c9c7(0x1d3)](_0x5183dd){const _0xdf9438=_0x22c9c7,_0x40ae64=this[_0xdf9438(0x1dc)][_0xdf9438(0x1dd)](_0x5183dd),_0x1662e0=_0x40ae64&&this[_0xdf9438(0x1b1)]?.[_0xdf9438(0x1dd)](this[_0xdf9438(0x1b1)][_0xdf9438(0x1c0)](_0x40ae64)-0x1);return _0x1662e0&&this[_0xdf9438(0x185)](_0x1662e0)||null;}[_0x22c9c7(0x1c5)](_0x2119ef){const _0x39b3c9=_0x22c9c7,_0x23147c=this[_0x39b3c9(0x1dc)][_0x39b3c9(0x1dd)](_0x2119ef),_0x43340d=_0x23147c&&this[_0x39b3c9(0x1b1)]?.[_0x39b3c9(0x1dd)](this[_0x39b3c9(0x1b1)][_0x39b3c9(0x1c0)](_0x23147c)+0x1);return _0x43340d&&this[_0x39b3c9(0x185)](_0x43340d)||null;}[_0x22c9c7(0x1a1)](_0x94eb14,_0x4fbc06){const _0x4ff3ed=_0x22c9c7;_0x94eb14[_0x4ff3ed(0x18a)]();const _0x4aa92c=G(_0x4fbc06[_0x4ff3ed(0x1c8)]+this[_0x4ff3ed(0x1a3)],_0x94eb14[_0x4ff3ed(0x1b0)]);return!!_0x4aa92c&&(this[_0x4ff3ed(0x18e)](_0x4fbc06,_0x4fbc06[_0x4ff3ed(0x1b0)]-_0x4aa92c),!0x0);}[_0x22c9c7(0x1a0)](_0x35e8b3,_0x34e017){const _0x245694=_0x22c9c7;_0x35e8b3[_0x245694(0x18a)]();const _0x50d3ac=G(_0x35e8b3[_0x245694(0x1c8)]+this[_0x245694(0x1a3)],_0x34e017[_0x245694(0x1b0)]);return!!_0x50d3ac&&(this[_0x245694(0x18e)](_0x34e017,_0x34e017[_0x245694(0x1b0)]+_0x50d3ac,!0x1),!0x0);}[_0x22c9c7(0x1c1)](_0x2bf835){const _0x32d56d=_0x22c9c7,_0x5d74c8=this[_0x32d56d(0x1dc)][_0x32d56d(0x1dd)](_0x2bf835);if(!_0x5d74c8||!_0x5d74c8[_0x32d56d(0x1d7)]||!_0x5d74c8[_0x32d56d(0x1a6)])return;const _0x207a81=this[_0x32d56d(0x1c3)](_0x5d74c8,_0x5d74c8[_0x32d56d(0x1a6)]);this[_0x32d56d(0x18e)](_0x2bf835,_0x207a81);}[_0x22c9c7(0x1c3)](_0x26663b,_0x3692ca){const _0x2d21f5=_0x22c9c7;if(null===_0x3692ca)return 0x0;if(_0x26663b[_0x2d21f5(0x1d7)]instanceof _0x94206e)return _0x3692ca[_0x2d21f5(0x1b0)];{const _0x338d59=new _0x94206e(this[_0x2d21f5(0x199)][_0x2d21f5(0x1d8)])[_0x2d21f5(0x1b0)];return _0x3692ca[_0x2d21f5(0x1b0)]-_0x338d59;}}[_0x22c9c7(0x18e)](_0x1ab755,_0x4f1414,_0x497562=this[_0x22c9c7(0x1b4)][_0x22c9c7(0x18b)][_0x22c9c7(0x1dd)](_0x22c9c7(0x1b6))){const _0x1420a8=_0x22c9c7;_0x497562&&(_0x4f1414=Math[_0x1420a8(0x18d)](_0x4f1414,this[_0x1420a8(0x1ab)](_0x1ab755))),_0x1ab755[_0x1420a8(0x1b0)]=_0x4f1414;}[_0x22c9c7(0x1ab)](_0xd2a670){const _0xc4ec6d=_0x22c9c7;let _0xebeb6b=this[_0xc4ec6d(0x1d3)](_0xd2a670),_0x3dbb10=0x0;for(;_0xebeb6b;)_0xebeb6b[_0xc4ec6d(0x18a)](),_0x3dbb10+=this[_0xc4ec6d(0x1a3)]+_0xebeb6b[_0xc4ec6d(0x1b8)],_0xebeb6b=this[_0xc4ec6d(0x1d3)](_0xebeb6b);return _0x3dbb10;}}function G(_0x2c31d3,_0x48c6ed){const _0x565211=_0x22c9c7;return Math[_0x565211(0x18d)](_0x2c31d3-_0x48c6ed,0x0);}function g(_0x4c0299){const _0x488194=_0x22c9c7;return null!==_0x4c0299&&_0x488194(0x1ac)==typeof _0x4c0299&&0x1===_0x4c0299[_0x488194(0x195)];}
|
|
23
|
+
const _0x3b0dd1=_0x2084;(function(_0x2bfd97,_0x5e6d5c){const _0x484451=_0x2084,_0x181104=_0x2bfd97();while(!![]){try{const _0xf39a53=-parseInt(_0x484451(0xac))/0x1+-parseInt(_0x484451(0xd8))/0x2+parseInt(_0x484451(0xe1))/0x3+parseInt(_0x484451(0xd4))/0x4+parseInt(_0x484451(0xe2))/0x5*(-parseInt(_0x484451(0xb8))/0x6)+-parseInt(_0x484451(0xf7))/0x7+parseInt(_0x484451(0xc7))/0x8;if(_0xf39a53===_0x5e6d5c)break;else _0x181104['push'](_0x181104['shift']());}catch(_0x5bedea){_0x181104['push'](_0x181104['shift']());}}}(_0x4af2,0x70570));import{ContextPlugin as _0xf4f1c2}from'ckeditor5/src/core.js';import{Rect as _0x34a4f7,CKEditorError as _0x3f6b6b}from'ckeditor5/src/utils.js';function _0x4af2(){const _0x6f5dce=['sidebar-attachtocontainer-missing-container','content','element','_createSidebarView','add','_alignBeforeItem','setContainer','30hICNeb','define','addAnnotation','_getMaxAvailableTop','object','refresh','_activeAnnotation','unbind','_targetTop','_setItemTop','_alignToTargetRect','push','set','view','_getItemBefore','15040208YDJGSv','class','init','render','remove','length','getIndex','destroy','sidebar.container','updateHeight','getSidebarItemView','bottom','Sidebar','2672644PYHdtQ','top','locale','_sidebarItemViewToAnnotation','1825972QVYXDc','isOfficialPlugin','_destroySidebarItemView','rearrange','pluginName','appendChild','_recalculate','clear','isPremiumPlugin','2303697pcUwwA','639710maAwkf','get','_annotations','delete','_annotationToSidebarItemView','_updateLastItem','sidebar.preventScrollOutOfView','targetRect','_recalculateBuffer','_alignForTopChange','minHeight','_attachToContainer','isAnimationDisabled','_detachFromContainer','nodeType','_alignForBottomChange','max','last','_spaceBetweenItems','change:bottom','config','3086503FgxTef','list','change:top','stopListening','_getItemAfter','bind','height','change:targetRect','sidebar-setcontainer-invalid-element','listenTo','isActive','_getTargetTop','change:_lastItem','target','862317UGPUPa','_alignAfterItem','_lastItem','container','context'];_0x4af2=function(){return _0x6f5dce;};return _0x4af2();}function _0x2084(_0x374c50,_0x508a29){const _0x4af277=_0x4af2();return _0x2084=function(_0x208430,_0x512eea){_0x208430=_0x208430-0xa6;let _0x341a5c=_0x4af277[_0x208430];return _0x341a5c;},_0x2084(_0x374c50,_0x508a29);}import{AnnotationsSidebarView as _0x7ffcd6}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x4cb45c}from'./view/sidebaritemview.js';export class Sidebar extends _0xf4f1c2{[_0x3b0dd1(0xc5)];[_0x3b0dd1(0xbe)];[_0x3b0dd1(0xe4)];[_0x3b0dd1(0xf4)];[_0x3b0dd1(0xd7)];[_0x3b0dd1(0xe6)];[_0x3b0dd1(0xea)];static get[_0x3b0dd1(0xdc)](){const _0x2ddf2a=_0x3b0dd1;return _0x2ddf2a(0xd3);}static get[_0x3b0dd1(0xd9)](){return!0x0;}static get[_0x3b0dd1(0xe0)](){return!0x0;}constructor(_0x13eccf){const _0x473a65=_0x3b0dd1;super(_0x13eccf),this[_0x473a65(0xc4)](_0x473a65(0xae),void 0x0),this[_0x473a65(0xc5)]=this[_0x473a65(0xb4)](),this[_0x473a65(0xc4)](_0x473a65(0xaf),null),this[_0x473a65(0xf4)]=0x19,this[_0x473a65(0xd7)]=new Map(),this[_0x473a65(0xe6)]=new Map(),this[_0x473a65(0xb0)][_0x473a65(0xf6)][_0x473a65(0xb9)](_0x473a65(0xe8),!0x1),this[_0x473a65(0xe4)]=null,this[_0x473a65(0xbe)]=null,this[_0x473a65(0xea)]=[];}[_0x3b0dd1(0xc9)](){const _0x23b3ab=_0x3b0dd1,_0x1cf467=this[_0x23b3ab(0xb0)][_0x23b3ab(0xf6)][_0x23b3ab(0xe3)](_0x23b3ab(0xcf));_0x1cf467&&this[_0x23b3ab(0xb7)](_0x1cf467);}[_0x3b0dd1(0xb7)](_0x5dbcd6){const _0x4de664=_0x3b0dd1;if(!g(_0x5dbcd6))throw new _0x3f6b6b(_0x4de664(0xa6));this[_0x4de664(0xaf)]=_0x5dbcd6;}[_0x3b0dd1(0xed)]({viewClass:_0x4f9b02='',spaceBetweenItems:_0x34f4b4=0x19}={}){const _0x8726a=_0x3b0dd1;if(!g(this[_0x8726a(0xaf)]))throw new _0x3f6b6b(_0x8726a(0xb1),this);this[_0x8726a(0xaf)][_0x8726a(0xdd)](this[_0x8726a(0xc5)][_0x8726a(0xb3)]),this[_0x8726a(0xc5)][_0x8726a(0xc8)]=_0x4f9b02,this[_0x8726a(0xf4)]=_0x34f4b4;}[_0x3b0dd1(0xdb)]({removedAnnotation:_0xd7c530,previousAnnotation:_0x2df6df,nextAnnotation:_0x23bc10}){const _0x2456ec=_0x3b0dd1,_0x596a42=this[_0x2456ec(0xd1)](_0xd7c530);this[_0x2456ec(0xc5)][_0x2456ec(0xf8)][_0x2456ec(0xcb)](_0x596a42),this[_0x2456ec(0xda)](_0xd7c530),_0x2df6df&&this[_0x2456ec(0xc2)](this[_0x2456ec(0xd1)](_0x2df6df)),_0x23bc10&&this[_0x2456ec(0xc2)](this[_0x2456ec(0xd1)](_0x23bc10)),this[_0x2456ec(0xe7)]();}[_0x3b0dd1(0xbd)]({blurredAnnotation:_0x590294,activatedAnnotation:_0x15e000,disableAnimationOnActivatedAnnotation:_0x121ba9}){const _0x270570=_0x3b0dd1;if(this[_0x270570(0xbe)]=_0x15e000,_0x590294){_0x590294[_0x270570(0xa8)]=!0x1;const _0x370139=this[_0x270570(0xd1)](_0x590294);_0x370139&&_0x121ba9&&(_0x370139[_0x270570(0xee)]=!0x1);}if(_0x15e000){const _0x8c7694=this[_0x270570(0xd1)](_0x15e000);_0x8c7694&&(_0x15e000[_0x270570(0xa8)]=!0x0,_0x121ba9&&(_0x8c7694[_0x270570(0xee)]=!0x0,_0x8c7694[_0x270570(0xd5)]+=0x1),this[_0x270570(0xc2)](_0x8c7694));}}[_0x3b0dd1(0xef)](_0x331ec7){const _0x49a641=_0x3b0dd1;if(this[_0x49a641(0xc5)][_0x49a641(0xb3)][_0x49a641(0xcb)](),_0x331ec7){for(const _0x1b018f of _0x331ec7)this[_0x49a641(0xda)](_0x1b018f);}this[_0x49a641(0xc5)][_0x49a641(0xf8)][_0x49a641(0xdf)](),this[_0x49a641(0xc5)][_0x49a641(0xc8)]='',this[_0x49a641(0xae)]=null;}[_0x3b0dd1(0xba)](_0x450d13,_0x3bf0f7){const _0x3a05a3=_0x3b0dd1;_0x3bf0f7||(_0x3bf0f7=_0x450d13[_0x3a05a3(0xc5)]);const _0xd1bd=new _0x4cb45c(this[_0x3a05a3(0xb0)][_0x3a05a3(0xd6)]);this[_0x3a05a3(0xd7)][_0x3a05a3(0xc4)](_0xd1bd,_0x450d13),this[_0x3a05a3(0xe6)][_0x3a05a3(0xc4)](_0x450d13,_0xd1bd),_0xd1bd[_0x3a05a3(0xb2)][_0x3a05a3(0xb5)](_0x3bf0f7),this[_0x3a05a3(0xa7)](_0x450d13[_0x3a05a3(0xc5)],_0x3a05a3(0xfe),(_0x41e547,_0x3252ae,_0x1c2f23)=>{const _0x41ef6b=_0x3a05a3,_0x5243d3=this[_0x41ef6b(0xa9)](_0x450d13,_0x1c2f23);_0xd1bd[_0x41ef6b(0xc0)]!=_0x5243d3&&(_0xd1bd[_0x41ef6b(0xc0)]=_0x5243d3,this[_0x41ef6b(0xc1)](_0xd1bd,_0x5243d3));}),this[_0x3a05a3(0xa7)](_0xd1bd,_0x3a05a3(0xf9),()=>{const _0x1c92e9=_0x3a05a3;this[_0x1c92e9(0xde)](_0xd1bd,_0x1c92e9(0xd5));}),this[_0x3a05a3(0xa7)](_0xd1bd,_0x3a05a3(0xf5),()=>{const _0x50e13c=_0x3a05a3;this[_0x50e13c(0xde)](_0xd1bd,_0x50e13c(0xd2));}),this[_0x3a05a3(0xc2)](_0xd1bd);const _0x45fdbd=this[_0x3a05a3(0xc6)](_0xd1bd);if(_0x45fdbd)this[_0x3a05a3(0xad)](_0x45fdbd,_0xd1bd)||this[_0x3a05a3(0xc2)](_0xd1bd);else this[_0x3a05a3(0xc2)](_0xd1bd);return this[_0x3a05a3(0xe7)](),this[_0x3a05a3(0xc5)][_0x3a05a3(0xf8)][_0x3a05a3(0xb5)](_0xd1bd),_0xd1bd;}[_0x3b0dd1(0xeb)](_0x154f7c){const _0x719586=_0x3b0dd1;if(!_0x154f7c[_0x719586(0xb2)][_0x719586(0xcc)])return;const _0x5e8fa1=this[_0x719586(0xc6)](_0x154f7c);if(!_0x5e8fa1)return;const _0x1d3ddc=this[_0x719586(0xd7)][_0x719586(0xe3)](_0x5e8fa1),_0x1c9bb6=this[_0x719586(0xbe)];_0x1c9bb6&&_0x1c9bb6===_0x1d3ddc?this[_0x719586(0xad)](_0x5e8fa1,_0x154f7c):this[_0x719586(0xb6)](_0x154f7c,_0x5e8fa1);}[_0x3b0dd1(0xf1)](_0x470676){const _0x53eb08=_0x3b0dd1;if(!_0x470676[_0x53eb08(0xb2)][_0x53eb08(0xcc)])return;const _0x5c0cd1=this[_0x53eb08(0xfb)](_0x470676);if(!_0x5c0cd1)return;const _0x51fd19=this[_0x53eb08(0xd7)][_0x53eb08(0xe3)](_0x5c0cd1),_0x340ee9=this[_0x53eb08(0xb0)][_0x53eb08(0xf6)][_0x53eb08(0xe3)](_0x53eb08(0xe8)),_0x1fe434=this[_0x53eb08(0xbe)];_0x1fe434&&_0x1fe434===_0x51fd19&&_0x340ee9?(this[_0x53eb08(0xb6)](_0x5c0cd1,_0x470676),this[_0x53eb08(0xad)](_0x470676,_0x5c0cd1)):_0x1fe434&&_0x1fe434===_0x51fd19?this[_0x53eb08(0xb6)](_0x5c0cd1,_0x470676):this[_0x53eb08(0xad)](_0x470676,_0x5c0cd1);}[_0x3b0dd1(0xde)](_0x3b48f4,_0x5d82dd){const _0x4b1624=_0x3b0dd1;0x0===this[_0x4b1624(0xea)][_0x4b1624(0xcc)]&&setTimeout(()=>{const _0x598506=_0x4b1624;for(const {sidebarItemView:_0x426e40,changedProp:_0x1a4215}of this[_0x598506(0xea)])_0x598506(0xd5)===_0x1a4215?this[_0x598506(0xeb)](_0x426e40):this[_0x598506(0xf1)](_0x426e40);this[_0x598506(0xea)]=[];},0xa),this[_0x4b1624(0xea)][_0x4b1624(0xc3)]({'sidebarItemView':_0x3b48f4,'changedProp':_0x5d82dd});}[_0x3b0dd1(0xd1)](_0x12500f){const _0x18474b=_0x3b0dd1;return this[_0x18474b(0xe6)][_0x18474b(0xe3)](_0x12500f);}[_0x3b0dd1(0xce)](){const _0x10c81f=_0x3b0dd1;this[_0x10c81f(0xfa)](),this[_0x10c81f(0xc5)][_0x10c81f(0xce)]();}[_0x3b0dd1(0xda)](_0x1e263f){const _0x54f307=_0x3b0dd1,_0x25c73c=this[_0x54f307(0xd1)](_0x1e263f);this[_0x54f307(0xfa)](_0x25c73c),this[_0x54f307(0xfa)](_0x1e263f[_0x54f307(0xc5)]),_0x25c73c[_0x54f307(0xce)](),this[_0x54f307(0xe6)][_0x54f307(0xe5)](_0x1e263f),this[_0x54f307(0xd7)][_0x54f307(0xe5)](_0x25c73c);}[_0x3b0dd1(0xb4)](){const _0x2146ad=_0x3b0dd1,_0x3087c1=new _0x7ffcd6(this[_0x2146ad(0xb0)][_0x2146ad(0xd6)]);return _0x3087c1[_0x2146ad(0xca)](),this['on'](_0x2146ad(0xaa),(_0x47955c,_0x302717,_0x321172,_0x8258f7)=>{const _0x41e126=_0x2146ad;_0x8258f7&&_0x3087c1[_0x41e126(0xbf)](_0x41e126(0xec)),_0x321172?_0x3087c1[_0x41e126(0xfc)](_0x41e126(0xec))['to'](_0x321172,_0x41e126(0xd2)):_0x3087c1[_0x41e126(0xec)]=null;}),_0x3087c1;}[_0x3b0dd1(0xe7)](){const _0x2cdaec=_0x3b0dd1;this[_0x2cdaec(0xae)]=this[_0x2cdaec(0xe4)]?.[_0x2cdaec(0xf3)]?this[_0x2cdaec(0xd1)](this[_0x2cdaec(0xe4)][_0x2cdaec(0xf3)]):null;}[_0x3b0dd1(0xc6)](_0x4a5ab2){const _0x13a2f4=_0x3b0dd1,_0x5b3736=this[_0x13a2f4(0xd7)][_0x13a2f4(0xe3)](_0x4a5ab2),_0x4c5107=_0x5b3736&&this[_0x13a2f4(0xe4)]?.[_0x13a2f4(0xe3)](this[_0x13a2f4(0xe4)][_0x13a2f4(0xcd)](_0x5b3736)-0x1);return _0x4c5107&&this[_0x13a2f4(0xd1)](_0x4c5107)||null;}[_0x3b0dd1(0xfb)](_0x592b3a){const _0x3a0fea=_0x3b0dd1,_0xbd9c9d=this[_0x3a0fea(0xd7)][_0x3a0fea(0xe3)](_0x592b3a),_0x253f97=_0xbd9c9d&&this[_0x3a0fea(0xe4)]?.[_0x3a0fea(0xe3)](this[_0x3a0fea(0xe4)][_0x3a0fea(0xcd)](_0xbd9c9d)+0x1);return _0x253f97&&this[_0x3a0fea(0xd1)](_0x253f97)||null;}[_0x3b0dd1(0xb6)](_0x4f0795,_0x52c53d){const _0x5d2f77=_0x3b0dd1;_0x4f0795[_0x5d2f77(0xd0)]();const _0x1e4818=G(_0x52c53d[_0x5d2f77(0xd2)]+this[_0x5d2f77(0xf4)],_0x4f0795[_0x5d2f77(0xd5)]);return!!_0x1e4818&&(this[_0x5d2f77(0xc1)](_0x52c53d,_0x52c53d[_0x5d2f77(0xd5)]-_0x1e4818),!0x0);}[_0x3b0dd1(0xad)](_0x40983f,_0x2922bf){const _0x3d93e1=_0x3b0dd1;_0x40983f[_0x3d93e1(0xd0)]();const _0x57cafe=G(_0x40983f[_0x3d93e1(0xd2)]+this[_0x3d93e1(0xf4)],_0x2922bf[_0x3d93e1(0xd5)]);return!!_0x57cafe&&(this[_0x3d93e1(0xc1)](_0x2922bf,_0x2922bf[_0x3d93e1(0xd5)]+_0x57cafe,!0x1),!0x0);}[_0x3b0dd1(0xc2)](_0x56696f){const _0x3eb76d=_0x3b0dd1,_0x17a607=this[_0x3eb76d(0xd7)][_0x3eb76d(0xe3)](_0x56696f);if(!_0x17a607||!_0x17a607[_0x3eb76d(0xab)]||!_0x17a607[_0x3eb76d(0xe9)])return;const _0x2a17b2=this[_0x3eb76d(0xa9)](_0x17a607,_0x17a607[_0x3eb76d(0xe9)]);this[_0x3eb76d(0xc1)](_0x56696f,_0x2a17b2);}[_0x3b0dd1(0xa9)](_0x4b651a,_0x779a4d){const _0x4bc0e3=_0x3b0dd1;if(null===_0x779a4d)return 0x0;if(_0x4b651a[_0x4bc0e3(0xab)]instanceof _0x34a4f7)return _0x779a4d[_0x4bc0e3(0xd5)];{const _0x4da5bb=new _0x34a4f7(this[_0x4bc0e3(0xc5)][_0x4bc0e3(0xb3)])[_0x4bc0e3(0xd5)];return _0x779a4d[_0x4bc0e3(0xd5)]-_0x4da5bb;}}[_0x3b0dd1(0xc1)](_0x20ef0b,_0x1a6f3e,_0xe4fbe6=this[_0x3b0dd1(0xb0)][_0x3b0dd1(0xf6)][_0x3b0dd1(0xe3)](_0x3b0dd1(0xe8))){const _0x1f0997=_0x3b0dd1;_0xe4fbe6&&(_0x1a6f3e=Math[_0x1f0997(0xf2)](_0x1a6f3e,this[_0x1f0997(0xbb)](_0x20ef0b))),_0x20ef0b[_0x1f0997(0xd5)]=_0x1a6f3e;}[_0x3b0dd1(0xbb)](_0x337d42){const _0x191b03=_0x3b0dd1;let _0x3f0b4c=this[_0x191b03(0xc6)](_0x337d42),_0x3d5b6b=0x0;for(;_0x3f0b4c;)_0x3f0b4c[_0x191b03(0xd0)](),_0x3d5b6b+=this[_0x191b03(0xf4)]+_0x3f0b4c[_0x191b03(0xfd)],_0x3f0b4c=this[_0x191b03(0xc6)](_0x3f0b4c);return _0x3d5b6b;}}function G(_0x1928fc,_0x4f06fb){const _0x20e7e7=_0x3b0dd1;return Math[_0x20e7e7(0xf2)](_0x1928fc-_0x4f06fb,0x0);}function g(_0x3b70fd){const _0x3dadd1=_0x3b0dd1;return null!==_0x3b70fd&&_0x3dadd1(0xbc)==typeof _0x3b70fd&&0x1===_0x3b70fd[_0x3dadd1(0xf0)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x141798=_0x3666;function _0x3666(_0x273293,_0x1eaa98){const _0x36529d=_0x3652();return _0x3666=function(_0x366641,_0x5962ee){_0x366641=_0x366641-0x1f0;let _0x33e878=_0x36529d[_0x366641];return _0x33e878;},_0x3666(_0x273293,_0x1eaa98);}(function(_0x1b1756,_0x337927){const _0x3cb892=_0x3666,_0x365ac2=_0x1b1756();while(!![]){try{const _0x2203dd=-parseInt(_0x3cb892(0x1fc))/0x1*(parseInt(_0x3cb892(0x20a))/0x2)+-parseInt(_0x3cb892(0x1f5))/0x3*(-parseInt(_0x3cb892(0x1f0))/0x4)+-parseInt(_0x3cb892(0x206))/0x5+-parseInt(_0x3cb892(0x201))/0x6+parseInt(_0x3cb892(0x209))/0x7+-parseInt(_0x3cb892(0x1f6))/0x8*(parseInt(_0x3cb892(0x1f4))/0x9)+-parseInt(_0x3cb892(0x1f2))/0xa*(-parseInt(_0x3cb892(0x205))/0xb);if(_0x2203dd===_0x337927)break;else _0x365ac2['push'](_0x365ac2['shift']());}catch(_0x2f002c){_0x365ac2['push'](_0x365ac2['shift']());}}}(_0x3652,0x3f0c4));function _0x3652(){const _0x557a52=['bind','counterView','945329zMaNuO','1256cgrkBr','ck-annotation-counter__badge','extendTemplate','add','children','1197948TYuBim','...','1631810dznHqu','bindTemplate','336195lSoikh','3BpkkeY','8oATDcx','toString','set','ck-annotation-counter','span','isDirty','17JmBRwH','ck-annotation-counter__badge--edit-mode','annotationType','number','_badge','1800678ggDNlf','ck-annotation-counter__badge--','icon','setTemplate','33kxvrRg','1588445IGCTsp'];_0x3652=function(){return _0x557a52;};return _0x3652();}import{ButtonView as _0x3644e7,View as _0x3a4c2f}from'ckeditor5/src/ui.js';import{IconAddComment as _0x52420c}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x3644e7{[_0x141798(0x208)];constructor(_0x27368b){const _0x2f9df3=_0x141798;super(_0x27368b);const _0x59ee6a=this[_0x2f9df3(0x1f3)];this[_0x2f9df3(0x1f8)](_0x2f9df3(0x1fb),!0x1),this[_0x2f9df3(0x1f8)](_0x2f9df3(0x1ff),0x0),this[_0x2f9df3(0x207)](_0x2f9df3(0x200))['to'](this,_0x2f9df3(0x1fb),this,_0x2f9df3(0x1ff),(_0xf5140b,_0x51c862)=>_0xf5140b?_0x2f9df3(0x1f1):_0x51c862[_0x2f9df3(0x1f7)]()),this[_0x2f9df3(0x1f8)](_0x2f9df3(0x1fe),''),this[_0x2f9df3(0x203)]=_0x52420c,this[_0x2f9df3(0x20c)]({'attributes':{'class':[_0x2f9df3(0x1f9)]}}),this[_0x2f9df3(0x208)]=new _0x3a4c2f(),this[_0x2f9df3(0x208)][_0x2f9df3(0x204)]({'tag':_0x2f9df3(0x1fa),'attributes':{'class':[_0x2f9df3(0x20b),_0x59ee6a['to'](_0x2f9df3(0x1fe),_0x4c624f=>_0x2f9df3(0x202)+_0x4c624f),_0x59ee6a['if'](_0x2f9df3(0x1fb),_0x2f9df3(0x1fd))]},'children':[{'text':_0x59ee6a['to'](_0x2f9df3(0x200))}]}),this[_0x2f9df3(0x20e)][_0x2f9df3(0x20d)](this[_0x2f9df3(0x208)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x506b0b=_0x89f9;(function(_0x17d6f4,_0x3a66aa){const _0x887fd3=_0x89f9,_0x4cc8f8=_0x17d6f4();while(!![]){try{const _0x21c736=-parseInt(_0x887fd3(0x1ec))/0x1*(parseInt(_0x887fd3(0x1f7))/0x2)+-parseInt(_0x887fd3(0x1f4))/0x3*(-parseInt(_0x887fd3(0x1d7))/0x4)+-parseInt(_0x887fd3(0x200))/0x5+parseInt(_0x887fd3(0x1d4))/0x6+-parseInt(_0x887fd3(0x1fe))/0x7*(-parseInt(_0x887fd3(0x1ff))/0x8)+-parseInt(_0x887fd3(0x1d8))/0x9+parseInt(_0x887fd3(0x1ee))/0xa;if(_0x21c736===_0x3a66aa)break;else _0x4cc8f8['push'](_0x4cc8f8['shift']());}catch(_0x5c7433){_0x4cc8f8['push'](_0x4cc8f8['shift']());}}}(_0x36a1,0xa0b7e));import{View as _0x41c5df}from'ckeditor5/src/ui.js';function _0x89f9(_0x2915ce,_0x4c8d8e){const _0x36a1e4=_0x36a1();return _0x89f9=function(_0x89f929,_0x369242){_0x89f929=_0x89f929-0x1d4;let _0x18735b=_0x36a1e4[_0x89f929];return _0x18735b;},_0x89f9(_0x2915ce,_0x4c8d8e);}import{FocusTracker as _0x494d6d,KeystrokeHandler as _0x66c2d2,uid as _0x4f4673}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x360108}from'../../utils/createmutationobserver.js';function _0x36a1(){const _0x2f7647=['arrowup','ck-rounded-corners','set','bindTemplate','mainView','ck-annotation-wrapper','7302995fcNHMU','8kQFyjT','2534000dfHNhM','Esc','setTemplate','4363998jpKZvJ','keystrokes','arrowdown','545332yHMkGX','5724864QDZewX','height','detach','content','attach','div','first','_updateHeight','type','add','fire','createCollection','render','clear','ck-annotation-wrapper--active','length','focus','element','destroy','clientHeight','461974SrYAKK','isActive','6818620vjRASK','delegate','focusTracker','listenTo','_mutationObserver','targetRect','6GvCbhN','isDirty','presentation','4xAObDJ'];_0x36a1=function(){return _0x2f7647;};return _0x36a1();}import'../../../theme/annotation.css';export class AnnotationView extends _0x41c5df{[_0x506b0b(0x1f0)];['id'];[_0x506b0b(0x1d5)];[_0x506b0b(0x1db)];[_0x506b0b(0x1fc)];[_0x506b0b(0x1f2)];constructor(_0x3512a6,_0xc347f){const _0x57876d=_0x506b0b;super(_0x3512a6),this['id']=_0x4f4673(),this[_0x57876d(0x1f0)]=new _0x494d6d(),this[_0x57876d(0x1d5)]=new _0x66c2d2(),this[_0x57876d(0x1d5)][_0x57876d(0x1fa)](_0x57876d(0x201),(_0x5c689a,_0x5a857c)=>this[_0x57876d(0x1e2)](_0x57876d(0x201),_0x5a857c)),this[_0x57876d(0x1fa)](_0x57876d(0x1f3),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x57876d(0x1fa)](_0x57876d(0x1d9),0x0),this[_0x57876d(0x1fa)](_0x57876d(0x1ed),!0x1),this[_0x57876d(0x1fa)](_0x57876d(0x1f5),!0x1),this[_0x57876d(0x1fa)](_0x57876d(0x1e7),0x0),this[_0x57876d(0x1fa)](_0x57876d(0x1e0),''),this[_0x57876d(0x1f2)]=_0x360108(()=>this[_0x57876d(0x1df)]()),this[_0x57876d(0x1db)]=this[_0x57876d(0x1e3)](),this[_0x57876d(0x1db)][_0x57876d(0x1ef)](_0x57876d(0x1f8),_0x57876d(0x1d6))['to'](this),this[_0x57876d(0x1db)][_0x57876d(0x1e1)](_0xc347f),this[_0x57876d(0x1fc)]=_0xc347f;const _0x3694ca=this[_0x57876d(0x1fb)];this[_0x57876d(0x202)]({'tag':_0x57876d(0x1dd),'attributes':{'class':['ck',_0x57876d(0x1fd),_0x57876d(0x1f9),_0x3694ca['if'](_0x57876d(0x1ed),_0x57876d(0x1e6))],'role':_0x57876d(0x1f6)},'children':this[_0x57876d(0x1db)]});}[_0x506b0b(0x1e4)](){const _0x38e74d=_0x506b0b;super[_0x38e74d(0x1e4)](),this[_0x38e74d(0x1f0)][_0x38e74d(0x1e1)](this[_0x38e74d(0x1e9)]),this[_0x38e74d(0x1d5)][_0x38e74d(0x1f1)](this[_0x38e74d(0x1e9)]),this[_0x38e74d(0x1f2)][_0x38e74d(0x1dc)](this[_0x38e74d(0x1e9)]);}[_0x506b0b(0x1ea)](){const _0x3ce7ad=_0x506b0b;this[_0x3ce7ad(0x1db)][_0x3ce7ad(0x1e5)](),this[_0x3ce7ad(0x1d5)][_0x3ce7ad(0x1ea)](),this[_0x3ce7ad(0x1f0)][_0x3ce7ad(0x1ea)](),this[_0x3ce7ad(0x1f2)][_0x3ce7ad(0x1da)](),super[_0x3ce7ad(0x1ea)]();}[_0x506b0b(0x1e8)](){const _0x52e01d=_0x506b0b;this[_0x52e01d(0x1db)][_0x52e01d(0x1de)]&&this[_0x52e01d(0x1db)][_0x52e01d(0x1de)][_0x52e01d(0x1e8)]();}[_0x506b0b(0x1df)](){const _0x50b905=_0x506b0b,_0x415e12=this[_0x50b905(0x1e9)][_0x50b905(0x1eb)];_0x415e12&&(this[_0x50b905(0x1d9)]=_0x415e12);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x6c0310=_0x5162;(function(_0xc9eb9b,_0x561dc4){const _0x4f2c7d=_0x5162,_0x5eb852=_0xc9eb9b();while(!![]){try{const _0x39ded0=-parseInt(_0x4f2c7d(0x12c))/0x1+parseInt(_0x4f2c7d(0x11b))/0x2+parseInt(_0x4f2c7d(0x117))/0x3*(-parseInt(_0x4f2c7d(0x131))/0x4)+parseInt(_0x4f2c7d(0x121))/0x5+parseInt(_0x4f2c7d(0x137))/0x6*(-parseInt(_0x4f2c7d(0x12d))/0x7)+-parseInt(_0x4f2c7d(0x134))/0x8*(-parseInt(_0x4f2c7d(0x11d))/0x9)+parseInt(_0x4f2c7d(0x124))/0xa;if(_0x39ded0===_0x561dc4)break;else _0x5eb852['push'](_0x5eb852['shift']());}catch(_0x4b3243){_0x5eb852['push'](_0x5eb852['shift']());}}}(_0x10e1,0xe2426));import{View as _0x261f36}from'ckeditor5/src/ui.js';import{toUnit as _0x48b09f}from'ckeditor5/src/utils.js';function _0x5162(_0x218fda,_0x3f5844){const _0x10e1c9=_0x10e1();return _0x5162=function(_0x516255,_0x2f4d8e){_0x516255=_0x516255-0x111;let _0x58c4ea=_0x10e1c9[_0x516255];return _0x58c4ea;},_0x5162(_0x218fda,_0x3f5844);}function _0x10e1(){const _0xfe45ea=['isAnimationDisabled','presentation','ck-sidebar-item--no-animation','bottom','destroy','height','12imgJNI','createCollection','content','setTemplate','2059542XCBRRQ','clear','63WYzRbb','first','_targetTop','focus','627310SQpkuQ','detach','set','27553220fvGREN','_mutationObserver','ck-sidebar-item','arrowdown','element','top','render','bindTemplate','281361QQocdI','8205141psGdua','div','attach','updateHeight','1580120lmebgk','delegate','clientHeight','56968Xifgrr','bind','arrowup','6iEkbag'];_0x10e1=function(){return _0xfe45ea;};return _0x10e1();}import{createMutationObserver as _0x4f3b85}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x48b09f('px');export class AnnotationsSidebarItemView extends _0x261f36{[_0x6c0310(0x119)];[_0x6c0310(0x11f)];[_0x6c0310(0x125)];constructor(_0x4d915d){const _0x81a9b5=_0x6c0310;super(_0x4d915d),this[_0x81a9b5(0x123)](_0x81a9b5(0x129),0x0),this[_0x81a9b5(0x123)](_0x81a9b5(0x116),0x0),this[_0x81a9b5(0x135)](_0x81a9b5(0x114))['to'](this,_0x81a9b5(0x129),this,_0x81a9b5(0x116),(_0x594d1e,_0x35b151)=>_0x594d1e+_0x35b151),this[_0x81a9b5(0x123)](_0x81a9b5(0x111),!0x1),this[_0x81a9b5(0x125)]=_0x4f3b85(()=>this[_0x81a9b5(0x130)]()),this[_0x81a9b5(0x11f)]=null,this[_0x81a9b5(0x119)]=this[_0x81a9b5(0x118)](),this[_0x81a9b5(0x119)][_0x81a9b5(0x132)](_0x81a9b5(0x136),_0x81a9b5(0x127))['to'](this);const _0x4a62e9=this[_0x81a9b5(0x12b)];this[_0x81a9b5(0x11a)]({'tag':_0x81a9b5(0x12e),'attributes':{'class':[_0x81a9b5(0x126),_0x4a62e9['to'](_0x81a9b5(0x111),_0x1950e2=>_0x1950e2?_0x81a9b5(0x113):'')],'style':{'top':_0x4a62e9['to'](_0x81a9b5(0x129),_0x353e54=>Ot(_0x353e54))},'role':_0x81a9b5(0x112)},'children':this[_0x81a9b5(0x119)]});}[_0x6c0310(0x12a)](){const _0x5a4509=_0x6c0310;super[_0x5a4509(0x12a)](),this[_0x5a4509(0x125)][_0x5a4509(0x12f)](this[_0x5a4509(0x128)]);}[_0x6c0310(0x120)](){const _0x13a073=_0x6c0310;this[_0x13a073(0x119)][_0x13a073(0x11e)]&&this[_0x13a073(0x119)][_0x13a073(0x11e)][_0x13a073(0x120)]();}[_0x6c0310(0x130)](){const _0x501bf2=_0x6c0310,_0x3b19c6=this[_0x501bf2(0x128)][_0x501bf2(0x133)];_0x3b19c6&&(this[_0x501bf2(0x116)]=_0x3b19c6);}[_0x6c0310(0x115)](){const _0x1cf7ec=_0x6c0310;this[_0x1cf7ec(0x119)][_0x1cf7ec(0x11c)](),this[_0x1cf7ec(0x125)][_0x1cf7ec(0x122)](),super[_0x1cf7ec(0x115)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x48f32a=_0x3ebe;(function(_0x50dbae,_0x1f70a4){const _0x1aa83e=_0x3ebe,_0xb8bfcb=_0x50dbae();while(!![]){try{const _0x151859=-parseInt(_0x1aa83e(0x19a))/0x1*(parseInt(_0x1aa83e(0x1b8))/0x2)+-parseInt(_0x1aa83e(0x1a7))/0x3*(parseInt(_0x1aa83e(0x18c))/0x4)+-parseInt(_0x1aa83e(0x1ac))/0x5*(parseInt(_0x1aa83e(0x194))/0x6)+-parseInt(_0x1aa83e(0x196))/0x7+parseInt(_0x1aa83e(0x1b5))/0x8+parseInt(_0x1aa83e(0x191))/0x9*(parseInt(_0x1aa83e(0x1b9))/0xa)+-parseInt(_0x1aa83e(0x1aa))/0xb*(-parseInt(_0x1aa83e(0x19b))/0xc);if(_0x151859===_0x1f70a4)break;else _0xb8bfcb['push'](_0xb8bfcb['shift']());}catch(_0x379b86){_0xb8bfcb['push'](_0xb8bfcb['shift']());}}}(_0x4339,0x9ac14));import{View as _0x3a3cae,FocusCycler as _0x3bb6e8}from'ckeditor5/src/ui.js';import{FocusTracker as _0xd49a27,toUnit as _0x3ec2e5}from'ckeditor5/src/utils.js';import{getTranslation as _0x159f46}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';function _0x4339(){const _0x5523ad=['Annotations\x20sidebar','class','set','source','add','uiLanguageDirection','element','render','arrowdown','_updateItemPositionInFocusables','focusTracker','9KcDIvl','number','application','11LqaKaC','top','10iXDRSr','length','bindTemplate','setTemplate','remove','arrowup','ck-sidebar','_setupKeyboardNavigation','ck-reset','7710048FeeOEd','div','getIndex','2jCJwKN','4181230STkGER','removed','forEach','delegate','Annotations\x20list','listenTo','added','change:top','984736UrNuCE','focusables','focusCycler','list','change','18uskqRP','focus','minHeight','2480454YWGnnl','createCollection','8583106emzmMG','focusNext','focusPrevious','focusFirst','14879IXmmAl','19683372vuPYXj'];_0x4339=function(){return _0x5523ad;};return _0x4339();}function _0x3ebe(_0x51010f,_0x253b74){const _0x43391b=_0x4339();return _0x3ebe=function(_0x3ebe66,_0x332c57){_0x3ebe66=_0x3ebe66-0x18c;let _0x50d3fc=_0x43391b[_0x3ebe66];return _0x50d3fc;},_0x3ebe(_0x51010f,_0x253b74);}const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3ec2e5('px');export class AnnotationsSidebarView extends _0x3a3cae{[_0x48f32a(0x18f)];[_0x48f32a(0x18d)];[_0x48f32a(0x1a6)];[_0x48f32a(0x18e)];constructor(_0x40b531){const _0x136b84=_0x48f32a;super(_0x40b531);const _0x1c3273=this[_0x136b84(0x1ae)];this[_0x136b84(0x19e)](_0x136b84(0x193),0x0),this[_0x136b84(0x19e)](_0x136b84(0x19d),''),this[_0x136b84(0x18f)]=this[_0x136b84(0x195)](),this[_0x136b84(0x18d)]=this[_0x136b84(0x195)](),this[_0x136b84(0x18f)][_0x136b84(0x1bc)](_0x136b84(0x1b1),_0x136b84(0x1a4))['to'](this),this[_0x136b84(0x1a6)]=new _0xd49a27(),this[_0x136b84(0x18e)]=new _0x3bb6e8({'focusables':this[_0x136b84(0x18d)],'focusTracker':this[_0x136b84(0x1a6)]}),this[_0x136b84(0x1af)]({'tag':_0x136b84(0x1b6),'attributes':{'class':['ck',_0x136b84(0x1b2),_0x136b84(0x1b4),_0x1c3273['to'](_0x136b84(0x19d))],'style':{'minHeight':_0x1c3273['to'](_0x136b84(0x193),_0xa9448=>_0x136b84(0x1a8)==typeof _0xa9448?Ot(_0xa9448+0xa):null)},'dir':_0x40b531[_0x136b84(0x1a1)],'role':_0x136b84(0x1a9),'aria-label':_0x159f46(_0x40b531,_0x136b84(0x19c)),'tabindex':0x0},'children':[{'tag':_0x136b84(0x1b6),'attributes':{'role':_0x136b84(0x18f),'aria-label':_0x159f46(_0x40b531,_0x136b84(0x1bd))},'children':this[_0x136b84(0x18f)]}]});}[_0x48f32a(0x1a3)](){const _0x4cc05e=_0x48f32a;super[_0x4cc05e(0x1a3)](),this[_0x4cc05e(0x1b3)]();}[_0x48f32a(0x192)](){const _0x332295=_0x48f32a;this[_0x332295(0x18e)][_0x332295(0x199)]();}[_0x48f32a(0x1b3)](){const _0x24ea28=_0x48f32a;this[_0x24ea28(0x18f)][_0x24ea28(0x1bc)](_0x24ea28(0x1c0))['to'](this),this['on'](_0x24ea28(0x1c0),_0x1594fa=>{const _0x226253=_0x24ea28;this[_0x226253(0x1a5)](_0x1594fa[_0x226253(0x19f)]);}),this[_0x24ea28(0x18f)][_0x24ea28(0x1bb)](_0x2dc7c8=>{const _0x379c49=_0x24ea28;this[_0x379c49(0x1a6)][_0x379c49(0x1a0)](_0x2dc7c8[_0x379c49(0x1a2)]),this[_0x379c49(0x1a5)](_0x2dc7c8);}),this[_0x24ea28(0x18f)]['on'](_0x24ea28(0x190),(_0x492783,_0xff0330)=>{const _0x5b9afb=_0x24ea28;for(const _0x104a2d of _0xff0330[_0x5b9afb(0x1ba)])this[_0x5b9afb(0x1a6)][_0x5b9afb(0x1b0)](_0x104a2d[_0x5b9afb(0x1a2)]),this[_0x5b9afb(0x18d)][_0x5b9afb(0x1b0)](_0x104a2d);for(const _0x4d24e9 of _0xff0330[_0x5b9afb(0x1bf)])this[_0x5b9afb(0x1a6)][_0x5b9afb(0x1a0)](_0x4d24e9[_0x5b9afb(0x1a2)]),this[_0x5b9afb(0x1a5)](_0x4d24e9);}),this['on'](_0x24ea28(0x1b1),()=>{const _0xab225=_0x24ea28;this[_0xab225(0x18e)][_0xab225(0x198)]();}),this['on'](_0x24ea28(0x1a4),()=>{const _0x3db7a1=_0x24ea28;this[_0x3db7a1(0x18e)][_0x3db7a1(0x197)]();}),this[_0x24ea28(0x1be)](this[_0x24ea28(0x1a2)],_0x24ea28(0x192),()=>{const _0x244445=_0x24ea28;this[_0x244445(0x192)]();});}[_0x48f32a(0x1a5)](_0x16184a){const _0x35c935=_0x48f32a,_0x47e217=this[_0x35c935(0x18d)][_0x35c935(0x1b7)](_0x16184a);let _0x4e42ec,_0x1463c8;for(const _0x4503ed of this[_0x35c935(0x18d)])if(_0x16184a[_0x35c935(0x1ab)]<_0x4503ed[_0x35c935(0x1ab)]){_0x4e42ec=_0x4503ed;break;}if(_0x1463c8=_0x4e42ec?this[_0x35c935(0x18d)][_0x35c935(0x1b7)](_0x4e42ec):this[_0x35c935(0x18d)][_0x35c935(0x1ad)],-0x1!==_0x47e217){if(_0x47e217===_0x1463c8-0x1)return;this[_0x35c935(0x18d)][_0x35c935(0x1b0)](_0x16184a),_0x1463c8=_0x4e42ec?this[_0x35c935(0x18d)][_0x35c935(0x1b7)](_0x4e42ec):this[_0x35c935(0x18d)][_0x35c935(0x1ad)];}this[_0x35c935(0x18d)][_0x35c935(0x1a0)](_0x16184a,_0x1463c8);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3114db=_0x4603;(function(_0x433be1,_0x567c6c){const _0x9f7f65=_0x4603,_0x379982=_0x433be1();while(!![]){try{const _0x27cd16=-parseInt(_0x9f7f65(0x201))/0x1*(parseInt(_0x9f7f65(0x213))/0x2)+parseInt(_0x9f7f65(0x1f2))/0x3*(-parseInt(_0x9f7f65(0x1e9))/0x4)+parseInt(_0x9f7f65(0x218))/0x5*(parseInt(_0x9f7f65(0x20e))/0x6)+parseInt(_0x9f7f65(0x1fd))/0x7+parseInt(_0x9f7f65(0x1f0))/0x8*(-parseInt(_0x9f7f65(0x1f5))/0x9)+parseInt(_0x9f7f65(0x1ed))/0xa*(parseInt(_0x9f7f65(0x1ef))/0xb)+parseInt(_0x9f7f65(0x1eb))/0xc;if(_0x27cd16===_0x567c6c)break;else _0x379982['push'](_0x379982['shift']());}catch(_0x2ed5bf){_0x379982['push'](_0x379982['shift']());}}}(_0x14ad,0xa1999));import{ContextPlugin as _0x59ee83,Context as _0x3eff8e}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x3a3edb}from'./annotationsuis.js';import{Sidebar as _0x36c255}from'./sidebar.js';import{CKEditorError as _0x2f158d,Collection as _0x2f8781}from'ckeditor5/src/utils.js';import{debounce as _0x53758f}from'es-toolkit/compat';function _0x4603(_0x4d5c8b,_0xe275d6){const _0x14ad9e=_0x14ad();return _0x4603=function(_0x4603f9,_0x158818){_0x4603f9=_0x4603f9-0x1d8;let _0x531be5=_0x14ad9e[_0x4603f9];return _0x531be5;},_0x4603(_0x4d5c8b,_0xe275d6);}function _0x14ad(){const _0x452fab=['hasDomSelection','_annotations','removeEventListener','off','from','switchTo','container','init','wideSidebar','change:container','setActiveAnnotation','1026828JWYziR','editors','8091012sdDgAD','stopListening','10YJgbef','uiUpdate','8630171igsiDh','3093976sKsFzw','WideSidebar','3tSDRqt','detach','EditorAnnotations','18OzfDLm','_refreshPositioningDebounced','requires','_integrateWithEditorAnnotations','_activeAnnotation','widesidebar-attach-already-attached','get','ready','1300180vmaJnV','resize','remove','add','159JmeOVU','has','pluginName','addAnnotation','annotations','attach','context','refreshPositioning','register','ck-sidebar--wide','stop','high','set','6aCkfZz','_detachFromContainer','getOrderedSelectedAnnotations','isPremiumPlugin','blur','7286sExaCe','_attachToContainer','focus','destroy','addEventListener','3133995cXOVtG','plugins','updateTargetRect','_destroyEditorAnnotationsIntegration','set:container','isOfficialPlugin','_editorAnnotations','isAttached','activeAnnotation','cancel','refresh','widesidebar-detach-not-attached','listenTo','rearrange'];_0x14ad=function(){return _0x452fab;};return _0x14ad();}export class WideSidebar extends _0x59ee83{[_0x3114db(0x21f)];[_0x3114db(0x205)];[_0x3114db(0x21e)];[_0x3114db(0x1f6)];static get[_0x3114db(0x1f7)](){return[_0x36c255,_0x3a3edb];}static get[_0x3114db(0x203)](){const _0x599ed5=_0x3114db;return _0x599ed5(0x1f1);}static get[_0x3114db(0x21d)](){return!0x0;}static get[_0x3114db(0x211)](){return!0x0;}constructor(_0x5e5fae){const _0xd032b=_0x3114db;super(_0x5e5fae),this[_0xd032b(0x21f)]=!0x1,this[_0xd032b(0x20d)](_0xd032b(0x1d8),null),this[_0xd032b(0x205)]=null,this[_0xd032b(0x21e)]=new _0x2f8781(),this[_0xd032b(0x1f6)]=_0x53758f(()=>{const _0x20f041=_0xd032b;this[_0x20f041(0x205)][_0x20f041(0x208)]();},0xfa,{'leading':!0x1});}[_0x3114db(0x1e5)](){const _0x58612c=_0x3114db,_0x230312=this[_0x58612c(0x207)][_0x58612c(0x219)][_0x58612c(0x1fb)](_0x3a3edb),_0x5d31d7=this[_0x58612c(0x207)][_0x58612c(0x219)][_0x58612c(0x1fb)](_0x36c255);_0x230312[_0x58612c(0x209)](_0x58612c(0x1e6),this),_0x5d31d7[_0x58612c(0x1e4)]&&_0x230312[_0x58612c(0x1e3)](_0x58612c(0x1e6));}[_0x3114db(0x1e8)](_0x1e3696){const _0x4c6182=_0x3114db;if(_0x1e3696===this[_0x4c6182(0x1d8)])return;const _0xa8e095=this[_0x4c6182(0x207)][_0x4c6182(0x219)][_0x4c6182(0x1fb)](_0x36c255);_0xa8e095[_0x4c6182(0x1f9)]=_0x1e3696;const _0x2e971b=this[_0x4c6182(0x1d8)];_0xa8e095[_0x4c6182(0x1da)]({'blurredAnnotation':_0x2e971b,'activatedAnnotation':_0x1e3696}),this[_0x4c6182(0x1d8)]=_0x1e3696;}[_0x3114db(0x206)](_0x34c3d1){const _0x35d395=_0x3114db;this[_0x35d395(0x205)]=_0x34c3d1;const _0x578b4e=this[_0x35d395(0x207)][_0x35d395(0x219)][_0x35d395(0x1fb)](_0x36c255);if(_0x578b4e[_0x35d395(0x1df)]=_0x34c3d1,this[_0x35d395(0x21f)])throw new _0x2f158d(_0x35d395(0x1fa),this);this[_0x35d395(0x21f)]=!0x0,this[_0x35d395(0x1dc)](_0x578b4e,_0x35d395(0x21c),()=>{const _0x4061a2=_0x35d395;this[_0x4061a2(0x1f3)](),this[_0x4061a2(0x1dc)](_0x578b4e,_0x4061a2(0x1e7),_0x50a9b9=>{const _0x3e2ea3=_0x4061a2;_0x50a9b9[_0x3e2ea3(0x1e1)](),this[_0x3e2ea3(0x206)](_0x34c3d1);});}),_0x578b4e[_0x35d395(0x214)]({'viewClass':_0x35d395(0x20a)});const _0x413426=_0x4781ad=>{const _0x4d8279=_0x35d395;_0x4781ad[_0x4d8279(0x21a)](),_0x578b4e[_0x4d8279(0x204)](_0x4781ad);};for(const _0x247611 of _0x34c3d1)_0x413426(_0x247611);this[_0x35d395(0x1dc)](_0x34c3d1,_0x35d395(0x200),(_0x2264d5,_0x407511)=>{_0x413426(_0x407511);}),this[_0x35d395(0x1dc)](_0x34c3d1,_0x35d395(0x1ff),(_0x5be075,_0x4ebd17,_0x40ab01)=>{const _0x2bc8e7=_0x35d395;_0x578b4e[_0x2bc8e7(0x1dd)]({'removedAnnotation':_0x4ebd17,'previousAnnotation':_0x34c3d1[_0x2bc8e7(0x1fb)](_0x40ab01-0x1),'nextAnnotation':_0x34c3d1[_0x2bc8e7(0x1fb)](_0x40ab01+0x1)}),_0x4ebd17===this[_0x2bc8e7(0x1d8)]&&this[_0x2bc8e7(0x1e8)](null);},{'priority':_0x35d395(0x20c)}),this[_0x35d395(0x1dc)](_0x34c3d1,_0x35d395(0x215),(_0xc48a24,_0x2e22e5)=>{const _0xdd4a8c=_0x35d395;this[_0xdd4a8c(0x1e8)](_0x2e22e5);}),this[_0x35d395(0x1dc)](_0x34c3d1,_0x35d395(0x212),()=>{const _0x2f2727=_0x35d395;this[_0x2f2727(0x1e8)](null);});const _0x30eb29=this[_0x35d395(0x207)]instanceof _0x3eff8e?this[_0x35d395(0x207)][_0x35d395(0x1ea)]:new _0x2f8781([this[_0x35d395(0x207)]]);for(const _0x1fc1b8 of _0x30eb29)this[_0x35d395(0x1f8)](_0x1fc1b8);this[_0x35d395(0x1dc)](_0x30eb29,_0x35d395(0x200),(_0x3c1c1b,_0x2c6cf6)=>{const _0x52b407=_0x35d395;this[_0x52b407(0x1dc)](_0x2c6cf6,_0x52b407(0x1fc),()=>{const _0x30fc47=_0x52b407;this[_0x30fc47(0x1f8)](_0x2c6cf6);});}),this[_0x35d395(0x1dc)](_0x30eb29,_0x35d395(0x1ff),(_0x5ef490,_0x273b12)=>{const _0x28b6c8=_0x35d395;_0x273b12[_0x28b6c8(0x219)][_0x28b6c8(0x202)](_0x28b6c8(0x1f4))&&this[_0x28b6c8(0x21b)](_0x273b12[_0x28b6c8(0x219)][_0x28b6c8(0x1fb)](_0x28b6c8(0x1f4)));}),window[_0x35d395(0x217)](_0x35d395(0x1fe),this[_0x35d395(0x1f6)]),this[_0x35d395(0x205)][_0x35d395(0x208)]();}[_0x3114db(0x1f3)](){const _0x2ee63b=_0x3114db;if(!this[_0x2ee63b(0x21f)])throw new _0x2f158d(_0x2ee63b(0x1db),this);this[_0x2ee63b(0x1e8)](null);const _0x50b07c=this[_0x2ee63b(0x207)][_0x2ee63b(0x219)][_0x2ee63b(0x1fb)](_0x36c255);_0x50b07c[_0x2ee63b(0x20f)](this[_0x2ee63b(0x205)]),this[_0x2ee63b(0x1ec)](_0x50b07c),this[_0x2ee63b(0x1ec)](this[_0x2ee63b(0x205)]),this[_0x2ee63b(0x207)]instanceof _0x3eff8e&&this[_0x2ee63b(0x1ec)](this[_0x2ee63b(0x207)][_0x2ee63b(0x1ea)]);for(const _0xa77922 of Array[_0x2ee63b(0x1e2)](this[_0x2ee63b(0x21e)]))this[_0x2ee63b(0x21b)](_0xa77922);window[_0x2ee63b(0x1e0)](_0x2ee63b(0x1fe),this[_0x2ee63b(0x1f6)]),this[_0x2ee63b(0x1f6)][_0x2ee63b(0x1d9)](),this[_0x2ee63b(0x1d8)]=null,this[_0x2ee63b(0x21f)]=!0x1,this[_0x2ee63b(0x205)]=null;}[_0x3114db(0x216)](){const _0x1e9055=_0x3114db;this[_0x1e9055(0x21f)]&&this[_0x1e9055(0x1f3)]();}[_0x3114db(0x1f8)](_0x4a87d9){const _0x35033e=_0x3114db;if(!_0x4a87d9[_0x35033e(0x219)][_0x35033e(0x202)](_0x35033e(0x1f4)))return;const _0x2db8c0=_0x4a87d9[_0x35033e(0x219)][_0x35033e(0x1fb)](_0x35033e(0x1f4)),_0x59c5e0=()=>{const _0x150976=_0x35033e,_0x137b8b=_0x2db8c0[_0x150976(0x210)]({'annotations':this[_0x150976(0x205)],'activeAnnotation':this[_0x150976(0x1d8)]});this[_0x150976(0x1e8)](_0x137b8b[0x0]||null);};this[_0x35033e(0x1dc)](_0x2db8c0,_0x35033e(0x1da),_0x59c5e0),this[_0x35033e(0x1dc)](_0x2db8c0,_0x35033e(0x212),(_0x2c7ec3,{isAnnotationTracked:_0x3b9860})=>{const _0x2f121a=_0x35033e;this[_0x2f121a(0x1d8)]&&_0x3b9860(this[_0x2f121a(0x1d8)])&&this[_0x2f121a(0x1e8)](null);}),this[_0x35033e(0x1dc)](_0x2db8c0,_0x35033e(0x1ee),()=>{const _0x4585c6=_0x35033e;this[_0x4585c6(0x1f6)]();}),this[_0x35033e(0x1dc)](this[_0x35033e(0x205)],_0x35033e(0x212),_0x144275=>{const _0x4165fb=_0x35033e;_0x2db8c0[_0x4165fb(0x1de)]()&&(_0x59c5e0(),_0x144275[_0x4165fb(0x20b)]());},{'priority':_0x35033e(0x20c)}),this[_0x35033e(0x21e)][_0x35033e(0x200)](_0x2db8c0);}[_0x3114db(0x21b)](_0xff71de){const _0x2d9aa3=_0x3114db;this[_0x2d9aa3(0x1ec)](_0xff71de),this[_0x2d9aa3(0x21e)][_0x2d9aa3(0x1ff)](_0xff71de);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50f734=_0x51c2;(function(_0x30e809,_0x37fbf4){const _0x122884=_0x51c2,_0x170861=_0x30e809();while(!![]){try{const _0x4602c7=-parseInt(_0x122884(0x10a))/0x1+-parseInt(_0x122884(0x10c))/0x2*(parseInt(_0x122884(0x102))/0x3)+-parseInt(_0x122884(0x122))/0x4*(parseInt(_0x122884(0x113))/0x5)+parseInt(_0x122884(0x129))/0x6*(-parseInt(_0x122884(0x121))/0x7)+-parseInt(_0x122884(0x11c))/0x8*(parseInt(_0x122884(0x100))/0x9)+-parseInt(_0x122884(0xf9))/0xa+-parseInt(_0x122884(0x116))/0xb*(-parseInt(_0x122884(0xff))/0xc);if(_0x4602c7===_0x37fbf4)break;else _0x170861['push'](_0x170861['shift']());}catch(_0xa534aa){_0x170861['push'](_0x170861['shift']());}}}(_0x504d,0xaf075));function _0x51c2(_0x5b4ed8,_0x195bc8){const _0x504d2e=_0x504d();return _0x51c2=function(_0x51c2a0,_0x4dafa9){_0x51c2a0=_0x51c2a0-0xf3;let _0x17d1bb=_0x504d2e[_0x51c2a0];return _0x17d1bb;},_0x51c2(_0x5b4ed8,_0x195bc8);}import{Command as _0xc638d7}from'ckeditor5/src/core.js';import{uid as _0x422416,CKEditorError as _0x8cc42b}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0xc638d7{constructor(_0x5b6eed){const _0x29c82c=_0x51c2;super(_0x5b6eed),this[_0x29c82c(0x126)](_0x29c82c(0x115),!0x1);}[_0x50f734(0xf5)](){const _0x3c468a=_0x50f734,_0x4f477b=this[_0x3c468a(0x11a)][_0x3c468a(0x107)][_0x3c468a(0xfa)][_0x3c468a(0x10e)];this[_0x3c468a(0xf4)]=!0x0,this[_0x3c468a(0x115)]=!0x1;for(const _0x260d82 of _0x4f477b[_0x3c468a(0x10f)]())if(this[_0x3c468a(0x11e)](_0x260d82))return void(this[_0x3c468a(0x115)]=!0x0);}[_0x50f734(0x101)]({threadId:_0x587666=_0x422416(),ranges:_0x44bdaa,comment:_0x54c9eb}={}){const _0x140b52=_0x50f734,_0x179e6f=this[_0x140b52(0x11a)][_0x140b52(0x107)],_0x126ecb=_0x44bdaa??Array[_0x140b52(0x125)](_0x179e6f[_0x140b52(0xfa)][_0x140b52(0x10e)][_0x140b52(0x10f)]()),_0x590c6f=[];for(const _0x50bf4a of _0x126ecb)this[_0x140b52(0x11e)](_0x50bf4a)&&_0x590c6f[_0x140b52(0x127)](this[_0x140b52(0x106)](_0x50bf4a));if(!_0x590c6f[_0x140b52(0xfe)])throw new _0x8cc42b(_0x140b52(0x10b),null);_0x54c9eb&&this[_0x140b52(0x11d)](_0x587666,_0x54c9eb),this[_0x140b52(0xf7)](_0x587666,_0x590c6f,!!_0x54c9eb);}[_0x50f734(0xf7)](_0xef7a43,_0x466c2e,_0x1b8f04){const _0x22828b=_0x50f734;this[_0x22828b(0x11a)][_0x22828b(0x107)][_0x22828b(0xf8)](_0x19f9a0=>{const _0x28aadf=_0x22828b;for(const _0x25ed02 of _0x466c2e){const _0x2dc04c=_0x422416()[_0x28aadf(0x111)](0x1,0x5),_0x507739=_0x28aadf(0x120)+_0xef7a43+':'+_0x2dc04c;_0x19f9a0[_0x28aadf(0x123)](_0x507739,{'range':_0x25ed02,'usingOperation':_0x1b8f04,'affectsData':_0x1b8f04});}});}[_0x50f734(0x11d)](_0x5ac369,_0x17fa01){const _0x22a5d2=_0x50f734,_0x4c374f=this[_0x22a5d2(0x11a)][_0x22a5d2(0xf3)][_0x22a5d2(0x11b)](_0x22a5d2(0xfc)),_0x4e96de=this[_0x22a5d2(0x11a)][_0x22a5d2(0x11f)][_0x22a5d2(0x11b)](_0x22a5d2(0x103)),_0x529d4e=this[_0x22a5d2(0x11a)][_0x22a5d2(0xf3)][_0x22a5d2(0x11b)](_0x22a5d2(0x112))['me'];if(!_0x529d4e)throw new _0x8cc42b(_0x22a5d2(0x110),null);_0x4c374f[_0x22a5d2(0x114)]({'threadId':_0x5ac369,'channelId':_0x4e96de,'comments':[{'authorId':_0x529d4e['id'],'content':_0x17fa01,'createdAt':new Date(),'attributes':{}}]});}[_0x50f734(0x11e)](_0x2fdb54){const _0x3ae566=_0x50f734;for(const _0x29c5f3 of _0x2fdb54[_0x3ae566(0x117)]())if(this[_0x3ae566(0x108)](_0x29c5f3))return!0x0;return!0x1;}[_0x50f734(0x108)](_0x7b7320){const _0x2c904c=_0x50f734;return _0x7b7320['is'](_0x2c904c(0x118))||this[_0x2c904c(0x11a)][_0x2c904c(0x107)][_0x2c904c(0xfd)][_0x2c904c(0x104)](_0x7b7320)&&!_0x7b7320['is'](_0x2c904c(0x10d),_0x2c904c(0x124));}[_0x50f734(0x106)](_0x572e92){const _0x3c0988=_0x50f734,_0x278b11=_0x347c33=>!this[_0x3c0988(0x108)](_0x347c33[_0x3c0988(0x119)]),_0x44d4d7=_0x572e92[_0x3c0988(0xf6)][_0x3c0988(0xfb)](_0x278b11),_0x502a94=_0x572e92[_0x3c0988(0x128)][_0x3c0988(0xfb)](_0x278b11,{'direction':_0x3c0988(0x109)});return this[_0x3c0988(0x11a)][_0x3c0988(0x107)][_0x3c0988(0x105)](_0x44d4d7,_0x502a94);}}function _0x504d(){const _0x3347fe=['isObject','createRange','_trimToContent','model','_itemIsContent','backward','1089105vWpJUa','addcommentthreadcommand-incorrect-ranges','4BCeBLT','element','selection','getRanges','addcommentthreadcommand-user-not-found','substr','Users','3091645TrOXBD','addCommentThread','hasContent','11363VOUkZV','getItems','$textProxy','item','editor','get','17576KDXzGy','_createCommentThread','_hasContent','config','comment:','217UdViMN','8vWKipA','addMarker','tableCell','from','set','push','end','128442vTcoUQ','plugins','isEnabled','refresh','start','_createMarkersFromRanges','change','8431030xpXBDC','document','getLastMatchingPosition','CommentsRepository','schema','length','65304Pebdjp','1134RUGwHe','execute','1193046IHROIU','collaboration.channelId'];_0x504d=function(){return _0x3347fe;};return _0x504d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4547d6=_0xb2b6;(function(_0x206459,_0x383932){const _0x58afbf=_0xb2b6,_0x360d5b=_0x206459();while(!![]){try{const _0x443615=-parseInt(_0x58afbf(0x114))/0x1+-parseInt(_0x58afbf(0x11d))/0x2*(parseInt(_0x58afbf(0x111))/0x3)+parseInt(_0x58afbf(0x121))/0x4*(parseInt(_0x58afbf(0x112))/0x5)+parseInt(_0x58afbf(0x101))/0x6+-parseInt(_0x58afbf(0x10a))/0x7*(-parseInt(_0x58afbf(0xfd))/0x8)+-parseInt(_0x58afbf(0x10f))/0x9*(parseInt(_0x58afbf(0xfe))/0xa)+parseInt(_0x58afbf(0x11e))/0xb*(parseInt(_0x58afbf(0x119))/0xc);if(_0x443615===_0x383932)break;else _0x360d5b['push'](_0x360d5b['shift']());}catch(_0x57f429){_0x360d5b['push'](_0x360d5b['shift']());}}}(_0x35c4,0x207a4));function _0x35c4(){const _0x1ce1ce=['isOfficialPlugin','get','activate','18TZbFeO','has','33xerUxn','636085zPLQRp','requires','187958yjOALh','removeCommentThread','listenTo','pluginName','focus','1378440RazSDD','_calculatePosition','add','isActive','14414wDPODv','44KYnYPD','plugins','remove','4QKVUcF','addCommentThread','archivedAt','archivedThreads','getCommentThread','11912KuFQEq','1240270IlPwHo','change:archivedAt','collection','39162yTgCXL','init','CommentsArchive','highest','length','stopListening','findIndex','context','isVisible','259NXIOFt','isPremiumPlugin'];_0x35c4=function(){return _0x1ce1ce;};return _0x35c4();}import{ContextPlugin as _0xd321bd}from'ckeditor5/src/core.js';import{Collection as _0x52c3c9}from'ckeditor5/src/utils.js';import{CommentsRepository as _0xbf231}from'./commentsrepository.js';function _0xb2b6(_0x21b006,_0x527592){const _0x35c4c3=_0x35c4();return _0xb2b6=function(_0xb2b630,_0x917b36){_0xb2b630=_0xb2b630-0xfb;let _0x578bdc=_0x35c4c3[_0xb2b630];return _0x578bdc;},_0xb2b6(_0x21b006,_0x527592);}import{Annotations as _0x295a82}from'../annotations/annotations.js';export class CommentsArchive extends _0xd321bd{static get[_0x4547d6(0x117)](){const _0x41d14c=_0x4547d6;return _0x41d14c(0x103);}static get[_0x4547d6(0x10c)](){return!0x0;}static get[_0x4547d6(0x10b)](){return!0x0;}static get[_0x4547d6(0x113)](){return[_0xbf231,_0x295a82];}constructor(_0x432d0a){const _0x83eeaf=_0x4547d6;super(_0x432d0a),this[_0x83eeaf(0xfb)]=new _0x52c3c9();}[_0x4547d6(0x102)](){const _0x1d3203=_0x4547d6,_0x410c05=this[_0x1d3203(0x108)],_0x2c9edd=_0x410c05[_0x1d3203(0x11f)][_0x1d3203(0x10d)](_0xbf231),_0x50b5c2=_0x410c05[_0x1d3203(0x11f)][_0x1d3203(0x10d)](_0x295a82);this[_0x1d3203(0x116)](_0x2c9edd,_0x1d3203(0x122),(_0x129de6,{threadId:_0x100051})=>{const _0x3d7783=_0x1d3203,_0x4e724a=_0x2c9edd[_0x3d7783(0xfc)](_0x100051);_0x4e724a[_0x3d7783(0x123)]&&this[_0x3d7783(0xfb)][_0x3d7783(0x11b)](_0x4e724a,this[_0x3d7783(0x11a)](_0x4e724a[_0x3d7783(0x123)])),this[_0x3d7783(0x116)](_0x4e724a,_0x3d7783(0xff),(_0x1d688b,_0x102d70,_0x688c4a)=>{const _0x5a1047=_0x3d7783;_0x688c4a?this[_0x5a1047(0xfb)][_0x5a1047(0x110)](_0x4e724a)||this[_0x5a1047(0xfb)][_0x5a1047(0x11b)](_0x4e724a,this[_0x5a1047(0x11a)](_0x4e724a[_0x5a1047(0x123)])):this[_0x5a1047(0xfb)][_0x5a1047(0x110)](_0x4e724a)&&this[_0x5a1047(0xfb)][_0x5a1047(0x120)](_0x4e724a);});}),this[_0x1d3203(0x116)](_0x2c9edd,_0x1d3203(0x115),(_0x44cf4d,{threadId:_0x1314ae})=>{const _0x491776=_0x1d3203,_0x4a6771=_0x2c9edd[_0x491776(0xfc)](_0x1314ae);this[_0x491776(0x106)](_0x4a6771),this[_0x491776(0xfb)][_0x491776(0x110)](_0x4a6771)&&this[_0x491776(0xfb)][_0x491776(0x120)](_0x4a6771);},{'priority':_0x1d3203(0x104)}),this[_0x1d3203(0x116)](_0x50b5c2[_0x1d3203(0x100)],_0x1d3203(0x118),(_0x4f79ab,_0x569b33)=>{const _0xb303d7=_0x1d3203;_0x569b33[_0xb303d7(0x109)]||(_0x569b33[_0xb303d7(0x11c)]=!0x0,_0x50b5c2[_0xb303d7(0x10e)](_0x569b33));});}[_0x4547d6(0x11a)](_0x2f20b9){const _0x12ae5d=_0x4547d6,_0x556fc6=[...this[_0x12ae5d(0xfb)]][_0x12ae5d(0x107)](_0x1d43df=>_0x1d43df[_0x12ae5d(0x123)]<_0x2f20b9);return _0x556fc6>-0x1?_0x556fc6:this[_0x12ae5d(0xfb)][_0x12ae5d(0x105)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3715cb=_0x2665;(function(_0x1eacdc,_0x24c0ef){const _0x45a538=_0x2665,_0x27f396=_0x1eacdc();while(!![]){try{const _0x208534=parseInt(_0x45a538(0x12a))/0x1+parseInt(_0x45a538(0x123))/0x2+-parseInt(_0x45a538(0x13e))/0x3*(parseInt(_0x45a538(0x14a))/0x4)+-parseInt(_0x45a538(0x155))/0x5*(-parseInt(_0x45a538(0x12c))/0x6)+parseInt(_0x45a538(0x150))/0x7*(-parseInt(_0x45a538(0x11c))/0x8)+parseInt(_0x45a538(0x129))/0x9+-parseInt(_0x45a538(0x147))/0xa*(parseInt(_0x45a538(0x140))/0xb);if(_0x208534===_0x24c0ef)break;else _0x27f396['push'](_0x27f396['shift']());}catch(_0x16db46){_0x27f396['push'](_0x27f396['shift']());}}}(_0x2737,0xa00df));import'../../theme/commentsarchive.css';import{Plugin as _0x469991}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x2396a3}from'ckeditor5/src/icons.js';import{ViewCollection as _0x463597,MenuBarMenuListItemButtonView as _0xe07ef9,ButtonView as _0x118143,Dialog as _0x19872f,DialogViewPosition as _0x19a445}from'ckeditor5/src/ui.js';import{getTranslation as _0x17ef94}from'../utils/common-translations.js';function _0x2737(){const _0x26dba6=['isPremiumPlugin','16myJIQQ','menuitemcheckbox','isEnabled','componentFactory','collection','indexOf','6695731ZjimFb','editor','_visibleAnnotations','push','requires','15dxGpfW','length','listenTo','execute','getByInnerView','annotationViews','innerView','collaboration.channelId','hide','commentsArchiveView','remove','init','focusableElements','escape','add','splice','stop','_toggleDialog','bind','Annotations','8pouWlH','set','archivedAt','_createCommentsArchiveButton','_calculatePosition','_handleNewThread','tooltip','876502eSkviq','find','CommentsRepository','_pendingThreads','commentsArchive','filter','10519245JVfoYb','280615dxByrc','menuBar:commentsArchive','2073702MIgDhY','isOfficialPlugin','_hideDialogOnAnnotationEscape','forEach','CommentsArchiveUI','show','Dialog','isOn','source','_threadToController','view','EDITOR_TOP_SIDE','get','pluginName','config','findIndex','stopListening','COMMENTS_ARCHIVE','887454DmljRg','has','1420474slptXz','locale','archivedThreads','plugins','isOpen','channelId','isVisible','10OkqFvI','includes'];_0x2737=function(){return _0x26dba6;};return _0x2737();}import{CommentsArchiveView as _0x352770}from'./ui/view/commentsarchiveview.js';function _0x2665(_0x4bef0a,_0xa11be1){const _0x273787=_0x2737();return _0x2665=function(_0x2665af,_0xbda7bf){_0x2665af=_0x2665af-0x115;let _0x20f6af=_0x273787[_0x2665af];return _0x20f6af;},_0x2665(_0x4bef0a,_0xa11be1);}import{CommentsArchive as _0x1c448e}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x469991{[_0x3715cb(0x15e)];[_0x3715cb(0x15a)];[_0x3715cb(0x126)];static get[_0x3715cb(0x139)](){const _0x594cde=_0x3715cb;return _0x594cde(0x130);}static get[_0x3715cb(0x12d)](){return!0x0;}static get[_0x3715cb(0x149)](){return!0x0;}static get[_0x3715cb(0x154)](){return[_0x1c448e,_0x19872f];}constructor(_0x5d38dc){const _0x4a87fa=_0x3715cb;super(_0x5d38dc),this[_0x4a87fa(0x15a)]=new _0x463597(),this[_0x4a87fa(0x126)]=[];}[_0x3715cb(0x160)](){const _0x46bd99=_0x3715cb,_0x2ac8cf=this[_0x46bd99(0x151)],_0x50fc1a=this[_0x46bd99(0x12e)][_0x46bd99(0x11a)](this);_0x2ac8cf['ui'][_0x46bd99(0x14d)][_0x46bd99(0x116)](_0x46bd99(0x127),()=>this[_0x46bd99(0x11f)](_0x118143,!0x0)),_0x2ac8cf['ui'][_0x46bd99(0x14d)][_0x46bd99(0x116)](_0x46bd99(0x12b),()=>{const _0x35fe25=_0x46bd99,_0x301106=this[_0x35fe25(0x11f)](_0xe07ef9);return _0x301106[_0x35fe25(0x11d)]({'role':_0x35fe25(0x14b)}),_0x301106;});const _0x37b7a8=_0x2ac8cf[_0x46bd99(0x143)][_0x46bd99(0x138)](_0x1c448e),_0x4b4d17=_0x2ac8cf[_0x46bd99(0x143)][_0x46bd99(0x138)](_0x46bd99(0x11b)),_0x2ad531=_0x2ac8cf[_0x46bd99(0x143)][_0x46bd99(0x138)](_0x46bd99(0x125));_0x37b7a8[_0x46bd99(0x142)][_0x46bd99(0x12f)](_0x25bde6=>{const _0xeba103=_0x46bd99;this[_0xeba103(0x121)](_0x25bde6);}),this[_0x46bd99(0x157)](_0x37b7a8[_0x46bd99(0x142)],_0x46bd99(0x116),(_0x2897ab,_0x2fe1e4)=>{const _0x1cf3b9=_0x46bd99;this[_0x1cf3b9(0x121)](_0x2fe1e4);}),this[_0x46bd99(0x157)](_0x4b4d17[_0x46bd99(0x14e)],_0x46bd99(0x116),(_0x4729fa,_0x43e054)=>{const _0x17ecee=_0x46bd99,_0x292e8b=this[_0x17ecee(0x126)][_0x17ecee(0x124)](_0x45061d=>{const _0x28fd1=_0x17ecee,_0x901e22=_0x2ad531[_0x28fd1(0x135)][_0x28fd1(0x138)](_0x45061d);return _0x901e22&&_0x43e054[_0x28fd1(0x15b)]===_0x901e22[_0x28fd1(0x136)];});if(_0x292e8b){const _0x12c7a4=this[_0x17ecee(0x120)](_0x292e8b[_0x17ecee(0x11e)]);this[_0x17ecee(0x15a)][_0x17ecee(0x116)](_0x43e054[_0x17ecee(0x136)],_0x12c7a4),this[_0x17ecee(0x126)][_0x17ecee(0x117)](this[_0x17ecee(0x126)][_0x17ecee(0x14f)](_0x292e8b),0x1);}}),this[_0x46bd99(0x157)](_0x37b7a8[_0x46bd99(0x142)],_0x46bd99(0x15f),(_0x49ca25,_0x2b042c)=>{const _0xe81fe6=_0x46bd99,_0x5a3390=_0x2ac8cf[_0xe81fe6(0x13a)][_0xe81fe6(0x138)](_0xe81fe6(0x15c));if(!_0x5a3390||_0x2b042c[_0xe81fe6(0x145)]===_0x5a3390){if(this[_0xe81fe6(0x126)][_0xe81fe6(0x148)](_0x2b042c))this[_0xe81fe6(0x126)][_0xe81fe6(0x117)](this[_0xe81fe6(0x126)][_0xe81fe6(0x14f)](_0x2b042c),0x1);else{const _0x35a69e=_0x2ad531[_0xe81fe6(0x135)][_0xe81fe6(0x138)](_0x2b042c),_0x16a5b5=_0x4b4d17[_0xe81fe6(0x159)](_0x35a69e[_0xe81fe6(0x136)]);this[_0xe81fe6(0x15a)][_0xe81fe6(0x15f)](_0x16a5b5[_0xe81fe6(0x136)]),this[_0xe81fe6(0x13c)](_0x16a5b5[_0xe81fe6(0x161)]);}}}),this[_0x46bd99(0x157)](_0x4b4d17[_0x46bd99(0x14e)],_0x46bd99(0x116),(_0xe7fb69,_0x34f88a)=>{const _0x400de9=_0x46bd99;this[_0x400de9(0x157)](_0x34f88a,_0x400de9(0x115),_0x50fc1a);}),this[_0x46bd99(0x157)](_0x4b4d17[_0x46bd99(0x14e)],_0x46bd99(0x15f),(_0x85a424,_0x24655f)=>{const _0x429429=_0x46bd99;this[_0x429429(0x13c)](_0x24655f,_0x429429(0x115),_0x50fc1a);});}[_0x3715cb(0x121)](_0x453db9){const _0x276f74=_0x3715cb,_0x5972a7=this[_0x276f74(0x151)][_0x276f74(0x143)][_0x276f74(0x138)](_0x276f74(0x125)),_0x807fba=this[_0x276f74(0x151)][_0x276f74(0x143)][_0x276f74(0x138)](_0x276f74(0x11b)),_0x3bc0fe=this[_0x276f74(0x151)][_0x276f74(0x13a)][_0x276f74(0x138)](_0x276f74(0x15c));if(!_0x3bc0fe||_0x453db9[_0x276f74(0x145)]===_0x3bc0fe){const _0x331289=_0x5972a7[_0x276f74(0x135)][_0x276f74(0x138)](_0x453db9);if(!_0x331289)return void this[_0x276f74(0x126)][_0x276f74(0x153)](_0x453db9);const _0x5ef712=this[_0x276f74(0x120)](_0x453db9[_0x276f74(0x11e)]),_0x58daa0=_0x807fba[_0x276f74(0x159)](_0x331289[_0x276f74(0x136)]);_0x58daa0[_0x276f74(0x146)]&&_0x807fba[_0x276f74(0x152)][_0x276f74(0x15f)](_0x58daa0),this[_0x276f74(0x15a)][_0x276f74(0x116)](_0x58daa0[_0x276f74(0x136)],_0x5ef712);}}[_0x3715cb(0x120)](_0x2629fb){const _0x38e053=_0x3715cb,_0x11c87b=this[_0x38e053(0x151)][_0x38e053(0x13a)][_0x38e053(0x138)](_0x38e053(0x15c)),_0x6a47a3=[...this[_0x38e053(0x151)][_0x38e053(0x143)][_0x38e053(0x138)](_0x1c448e)[_0x38e053(0x142)]][_0x38e053(0x128)](_0x3a2e2b=>_0x3a2e2b[_0x38e053(0x145)]===_0x11c87b)[_0x38e053(0x13b)](_0x2a5c59=>_0x2a5c59[_0x38e053(0x11e)]<_0x2629fb);return _0x6a47a3<0x0||_0x6a47a3>this[_0x38e053(0x15a)][_0x38e053(0x156)]?this[_0x38e053(0x15a)][_0x38e053(0x156)]:_0x6a47a3-0x1;}[_0x3715cb(0x119)](){const _0x119de5=_0x3715cb,_0x45c122=this[_0x119de5(0x151)],_0x4b857f=_0x45c122[_0x119de5(0x143)][_0x119de5(0x138)](_0x119de5(0x132));this[_0x119de5(0x15e)]||(this[_0x119de5(0x15e)]=new _0x352770(_0x45c122[_0x119de5(0x141)],this[_0x119de5(0x15a)])),_0x119de5(0x127)===_0x4b857f['id']?_0x4b857f[_0x119de5(0x15d)]():_0x4b857f[_0x119de5(0x131)]({'id':_0x119de5(0x127),'title':_0x17ef94(_0x45c122[_0x119de5(0x141)],_0x119de5(0x13d)),'icon':_0x2396a3,'hasCloseButton':!0x0,'content':this[_0x119de5(0x15e)],'position':_0x19a445[_0x119de5(0x137)]});}[_0x3715cb(0x11f)](_0x503964,_0x44a5d3=!0x1){const _0x1e07b5=_0x3715cb,_0x17f458=this[_0x1e07b5(0x151)][_0x1e07b5(0x141)],_0x194b6f=this[_0x1e07b5(0x151)][_0x1e07b5(0x143)][_0x1e07b5(0x138)](_0x1e07b5(0x132)),_0xd739f6=new _0x503964(_0x17f458);return _0xd739f6[_0x1e07b5(0x11a)](_0x1e07b5(0x14c))['to'](this,_0x1e07b5(0x14c)),_0xd739f6[_0x1e07b5(0x11a)](_0x1e07b5(0x133))['to'](_0x194b6f,'id',_0x5a6d4d=>_0x1e07b5(0x127)===_0x5a6d4d),_0xd739f6[_0x1e07b5(0x11d)]({'label':_0x17ef94(_0x17f458,_0x1e07b5(0x13d)),'icon':_0x2396a3,'isToggleable':!0x0}),_0x44a5d3&&(_0xd739f6[_0x1e07b5(0x122)]=!0x0),this[_0x1e07b5(0x157)](_0xd739f6,_0x1e07b5(0x158),()=>this[_0x1e07b5(0x119)]()),_0xd739f6;}[_0x3715cb(0x12e)]=_0x20a631=>{const _0x589b44=_0x3715cb,_0x17e5bc=_0x20a631[_0x589b44(0x134)];if(!this[_0x589b44(0x15a)][_0x589b44(0x13f)](_0x17e5bc[_0x589b44(0x136)]))return;const _0x43bd1e=this[_0x589b44(0x151)][_0x589b44(0x143)][_0x589b44(0x138)](_0x589b44(0x132));_0x43bd1e[_0x589b44(0x144)]&&_0x589b44(0x127)===_0x43bd1e['id']&&(_0x43bd1e[_0x589b44(0x15d)](),_0x20a631[_0x589b44(0x118)]());};}
|