@ckeditor/ckeditor5-comments 47.1.0 → 47.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3192a6=_0x356c;(function(_0x5bd78e,_0x26b9b5){const _0xe97d6f=_0x356c,_0x106e39=_0x5bd78e();while(!![]){try{const _0x1da8a0=-parseInt(_0xe97d6f(0x1d5))/0x1+-parseInt(_0xe97d6f(0x1d4))/0x2+parseInt(_0xe97d6f(0x1e6))/0x3+parseInt(_0xe97d6f(0x1cf))/0x4*(-parseInt(_0xe97d6f(0x1e3))/0x5)+-parseInt(_0xe97d6f(0x1cb))/0x6+-parseInt(_0xe97d6f(0x1df))/0x7+parseInt(_0xe97d6f(0x1ad))/0x8*(parseInt(_0xe97d6f(0x1cd))/0x9);if(_0x1da8a0===_0x26b9b5)break;else _0x106e39['push'](_0x106e39['shift']());}catch(_0x1a6fce){_0x106e39['push'](_0x106e39['shift']());}}}(_0x43f4,0x1ecfa));import{ContextPlugin as _0x185177}from'ckeditor5/src/core.js';function _0x43f4(){const _0x5760db=['isAnimationDisabled','_getTargetTop','1405788EyvWTk','_alignForBottomChange','18FzmgLM','change:top','852nMWvgY','list','change:_lastItem','remove','push','77486dVnDlb','225961flcFgU','_alignForTopChange','context','config','updateHeight','_lastItem','clear','isPremiumPlugin','setContainer','_getMaxAvailableTop','505806hjjpuR','_destroySidebarItemView','_spaceBetweenItems','view','5000OkTuiV','container','bind','481032SNTlUQ','_updateLastItem','isOfficialPlugin','_annotations','init','_attachToContainer','height','listenTo','rearrange','locale','_detachFromContainer','_alignBeforeItem','_recalculate','max','getIndex','_targetTop','sidebar-attachtocontainer-missing-container','render','target','bottom','set','get','destroy','isActive','_setItemTop','_annotationToSidebarItemView','_getItemAfter','change:bottom','top','_recalculateBuffer','addAnnotation','targetRect','class','3000472zpNUKv','sidebar-setcontainer-invalid-element','last','sidebar.preventScrollOutOfView','_alignToTargetRect','define','pluginName','object','add','Sidebar','_getItemBefore','change:targetRect','_sidebarItemViewToAnnotation','_createSidebarView','length','delete','sidebar.container','nodeType','getSidebarItemView','appendChild','_alignAfterItem','minHeight','unbind','refresh','stopListening','_activeAnnotation','content','element'];_0x43f4=function(){return _0x5760db;};return _0x43f4();}import{Rect as _0x304fe1,CKEditorError as _0x11c500}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x2e0366}from'./view/sidebarview.js';function _0x356c(_0x561614,_0x2bc5fd){const _0x43f43b=_0x43f4();return _0x356c=function(_0x356c01,_0x2eeb24){_0x356c01=_0x356c01-0x194;let _0xa84238=_0x43f43b[_0x356c01];return _0xa84238;},_0x356c(_0x561614,_0x2bc5fd);}import{AnnotationsSidebarItemView as _0x656db5}from'./view/sidebaritemview.js';export class Sidebar extends _0x185177{[_0x3192a6(0x1e2)];[_0x3192a6(0x1c6)];[_0x3192a6(0x1e9)];[_0x3192a6(0x1e1)];[_0x3192a6(0x1b9)];[_0x3192a6(0x1a5)];[_0x3192a6(0x1a9)];static get[_0x3192a6(0x1b3)](){const _0x579c75=_0x3192a6;return _0x579c75(0x1b6);}static get[_0x3192a6(0x1e8)](){return!0x0;}static get[_0x3192a6(0x1dc)](){return!0x0;}constructor(_0x149494){const _0x15eaf5=_0x3192a6;super(_0x149494),this[_0x15eaf5(0x1a0)](_0x15eaf5(0x1da),void 0x0),this[_0x15eaf5(0x1e2)]=this[_0x15eaf5(0x1ba)](),this[_0x15eaf5(0x1a0)](_0x15eaf5(0x1e4),null),this[_0x15eaf5(0x1e1)]=0x19,this[_0x15eaf5(0x1b9)]=new Map(),this[_0x15eaf5(0x1a5)]=new Map(),this[_0x15eaf5(0x1d7)][_0x15eaf5(0x1d8)][_0x15eaf5(0x1b2)](_0x15eaf5(0x1b0),!0x1),this[_0x15eaf5(0x1e9)]=null,this[_0x15eaf5(0x1c6)]=null,this[_0x15eaf5(0x1a9)]=[];}[_0x3192a6(0x1ea)](){const _0x5c9f3f=_0x3192a6,_0x3e76ac=this[_0x5c9f3f(0x1d7)][_0x5c9f3f(0x1d8)][_0x5c9f3f(0x1a1)](_0x5c9f3f(0x1bd));_0x3e76ac&&this[_0x5c9f3f(0x1dd)](_0x3e76ac);}[_0x3192a6(0x1dd)](_0x91e32b){const _0x2c77b7=_0x3192a6;if(!g(_0x91e32b))throw new _0x11c500(_0x2c77b7(0x1ae));this[_0x2c77b7(0x1e4)]=_0x91e32b;}[_0x3192a6(0x1eb)]({viewClass:_0x419e6a='',spaceBetweenItems:_0x2d7080=0x19}={}){const _0x559a56=_0x3192a6;if(!g(this[_0x559a56(0x1e4)]))throw new _0x11c500(_0x559a56(0x19c),this);this[_0x559a56(0x1e4)][_0x559a56(0x1c0)](this[_0x559a56(0x1e2)][_0x559a56(0x1c8)]),this[_0x559a56(0x1e2)][_0x559a56(0x1ac)]=_0x419e6a,this[_0x559a56(0x1e1)]=_0x2d7080;}[_0x3192a6(0x194)]({removedAnnotation:_0x4a53d5,previousAnnotation:_0x449047,nextAnnotation:_0x2f0a92}){const _0x370d9=_0x3192a6,_0x3fe1aa=this[_0x370d9(0x1bf)](_0x4a53d5);this[_0x370d9(0x1e2)][_0x370d9(0x1d0)][_0x370d9(0x1d2)](_0x3fe1aa),this[_0x370d9(0x1e0)](_0x4a53d5),_0x449047&&this[_0x370d9(0x1b1)](this[_0x370d9(0x1bf)](_0x449047)),_0x2f0a92&&this[_0x370d9(0x1b1)](this[_0x370d9(0x1bf)](_0x2f0a92)),this[_0x370d9(0x1e7)]();}[_0x3192a6(0x1c4)]({blurredAnnotation:_0x40e7d9,activatedAnnotation:_0x5c6942,disableAnimationOnActivatedAnnotation:_0xecdb56}){const _0x3e468a=_0x3192a6;if(this[_0x3e468a(0x1c6)]=_0x5c6942,_0x40e7d9){_0x40e7d9[_0x3e468a(0x1a3)]=!0x1;const _0x1785ad=this[_0x3e468a(0x1bf)](_0x40e7d9);_0x1785ad&&_0xecdb56&&(_0x1785ad[_0x3e468a(0x1c9)]=!0x1);}if(_0x5c6942){const _0x4ffc03=this[_0x3e468a(0x1bf)](_0x5c6942);_0x4ffc03&&(_0x5c6942[_0x3e468a(0x1a3)]=!0x0,_0xecdb56&&(_0x4ffc03[_0x3e468a(0x1c9)]=!0x0,_0x4ffc03[_0x3e468a(0x1a8)]+=0x1),this[_0x3e468a(0x1b1)](_0x4ffc03));}}[_0x3192a6(0x196)](_0x5d6734){const _0x4f45bb=_0x3192a6;if(this[_0x4f45bb(0x1e2)][_0x4f45bb(0x1c8)][_0x4f45bb(0x1d2)](),_0x5d6734){for(const _0x13f30b of _0x5d6734)this[_0x4f45bb(0x1e0)](_0x13f30b);}this[_0x4f45bb(0x1e2)][_0x4f45bb(0x1d0)][_0x4f45bb(0x1db)](),this[_0x4f45bb(0x1e2)][_0x4f45bb(0x1ac)]='',this[_0x4f45bb(0x1da)]=null;}[_0x3192a6(0x1aa)](_0x3d668d,_0x5c544b){const _0xf04e=_0x3192a6;_0x5c544b||(_0x5c544b=_0x3d668d[_0xf04e(0x1e2)]);const _0x414fd2=new _0x656db5(this[_0xf04e(0x1d7)][_0xf04e(0x195)]);this[_0xf04e(0x1b9)][_0xf04e(0x1a0)](_0x414fd2,_0x3d668d),this[_0xf04e(0x1a5)][_0xf04e(0x1a0)](_0x3d668d,_0x414fd2),_0x414fd2[_0xf04e(0x1c7)][_0xf04e(0x1b5)](_0x5c544b),this[_0xf04e(0x1ed)](_0x3d668d[_0xf04e(0x1e2)],_0xf04e(0x1b8),(_0x281bb9,_0x256049,_0x498b10)=>{const _0x117e80=_0xf04e,_0x39610f=this[_0x117e80(0x1ca)](_0x3d668d,_0x498b10);_0x414fd2[_0x117e80(0x19b)]!=_0x39610f&&(_0x414fd2[_0x117e80(0x19b)]=_0x39610f,this[_0x117e80(0x1a4)](_0x414fd2,_0x39610f));}),this[_0xf04e(0x1ed)](_0x414fd2,_0xf04e(0x1ce),()=>{const _0x18d041=_0xf04e;this[_0x18d041(0x198)](_0x414fd2,_0x18d041(0x1a8));}),this[_0xf04e(0x1ed)](_0x414fd2,_0xf04e(0x1a7),()=>{const _0x3a0a02=_0xf04e;this[_0x3a0a02(0x198)](_0x414fd2,_0x3a0a02(0x19f));}),this[_0xf04e(0x1b1)](_0x414fd2);const _0x3140ed=this[_0xf04e(0x1b7)](_0x414fd2);if(_0x3140ed)this[_0xf04e(0x1c1)](_0x3140ed,_0x414fd2)||this[_0xf04e(0x1b1)](_0x414fd2);else this[_0xf04e(0x1b1)](_0x414fd2);return this[_0xf04e(0x1e7)](),this[_0xf04e(0x1e2)][_0xf04e(0x1d0)][_0xf04e(0x1b5)](_0x414fd2),_0x414fd2;}[_0x3192a6(0x1d6)](_0x281678){const _0x2bbdd0=_0x3192a6;if(!_0x281678[_0x2bbdd0(0x1c7)][_0x2bbdd0(0x1bb)])return;const _0x5bcc67=this[_0x2bbdd0(0x1b7)](_0x281678);if(!_0x5bcc67)return;const _0x3f900e=this[_0x2bbdd0(0x1b9)][_0x2bbdd0(0x1a1)](_0x5bcc67),_0x5abaf7=this[_0x2bbdd0(0x1c6)];_0x5abaf7&&_0x5abaf7===_0x3f900e?this[_0x2bbdd0(0x1c1)](_0x5bcc67,_0x281678):this[_0x2bbdd0(0x197)](_0x281678,_0x5bcc67);}[_0x3192a6(0x1cc)](_0x5abf33){const _0x158ac9=_0x3192a6;if(!_0x5abf33[_0x158ac9(0x1c7)][_0x158ac9(0x1bb)])return;const _0x38ed04=this[_0x158ac9(0x1a6)](_0x5abf33);if(!_0x38ed04)return;const _0x4d4d2e=this[_0x158ac9(0x1b9)][_0x158ac9(0x1a1)](_0x38ed04),_0x26c3c4=this[_0x158ac9(0x1d7)][_0x158ac9(0x1d8)][_0x158ac9(0x1a1)](_0x158ac9(0x1b0)),_0x1c908f=this[_0x158ac9(0x1c6)];_0x1c908f&&_0x1c908f===_0x4d4d2e&&_0x26c3c4?(this[_0x158ac9(0x197)](_0x38ed04,_0x5abf33),this[_0x158ac9(0x1c1)](_0x5abf33,_0x38ed04)):_0x1c908f&&_0x1c908f===_0x4d4d2e?this[_0x158ac9(0x197)](_0x38ed04,_0x5abf33):this[_0x158ac9(0x1c1)](_0x5abf33,_0x38ed04);}[_0x3192a6(0x198)](_0x408fab,_0x10e405){const _0x158dda=_0x3192a6;0x0===this[_0x158dda(0x1a9)][_0x158dda(0x1bb)]&&setTimeout(()=>{const _0x318597=_0x158dda;for(const {sidebarItemView:_0x3f3892,changedProp:_0x5afbc0}of this[_0x318597(0x1a9)])_0x318597(0x1a8)===_0x5afbc0?this[_0x318597(0x1d6)](_0x3f3892):this[_0x318597(0x1cc)](_0x3f3892);this[_0x318597(0x1a9)]=[];},0xa),this[_0x158dda(0x1a9)][_0x158dda(0x1d3)]({'sidebarItemView':_0x408fab,'changedProp':_0x10e405});}[_0x3192a6(0x1bf)](_0x1eb8e0){const _0x5f4725=_0x3192a6;return this[_0x5f4725(0x1a5)][_0x5f4725(0x1a1)](_0x1eb8e0);}[_0x3192a6(0x1a2)](){const _0x15d48a=_0x3192a6;this[_0x15d48a(0x1c5)](),this[_0x15d48a(0x1e2)][_0x15d48a(0x1a2)]();}[_0x3192a6(0x1e0)](_0x303212){const _0x428735=_0x3192a6,_0x3aedfc=this[_0x428735(0x1bf)](_0x303212);this[_0x428735(0x1c5)](_0x3aedfc),this[_0x428735(0x1c5)](_0x303212[_0x428735(0x1e2)]),_0x3aedfc[_0x428735(0x1a2)](),this[_0x428735(0x1a5)][_0x428735(0x1bc)](_0x303212),this[_0x428735(0x1b9)][_0x428735(0x1bc)](_0x3aedfc);}[_0x3192a6(0x1ba)](){const _0x1e5f0b=_0x3192a6,_0x3463ba=new _0x2e0366(this[_0x1e5f0b(0x1d7)][_0x1e5f0b(0x195)]);return _0x3463ba[_0x1e5f0b(0x19d)](),this['on'](_0x1e5f0b(0x1d1),(_0x1cddf7,_0x1f9924,_0x45734c,_0x2190a9)=>{const _0x301ea0=_0x1e5f0b;_0x2190a9&&_0x3463ba[_0x301ea0(0x1c3)](_0x301ea0(0x1c2)),_0x45734c?_0x3463ba[_0x301ea0(0x1e5)](_0x301ea0(0x1c2))['to'](_0x45734c,_0x301ea0(0x19f)):_0x3463ba[_0x301ea0(0x1c2)]=null;}),_0x3463ba;}[_0x3192a6(0x1e7)](){const _0x42e87d=_0x3192a6;this[_0x42e87d(0x1da)]=this[_0x42e87d(0x1e9)]?.[_0x42e87d(0x1af)]?this[_0x42e87d(0x1bf)](this[_0x42e87d(0x1e9)][_0x42e87d(0x1af)]):null;}[_0x3192a6(0x1b7)](_0x25ca0a){const _0x58faf4=_0x3192a6,_0x3c4fc5=this[_0x58faf4(0x1b9)][_0x58faf4(0x1a1)](_0x25ca0a),_0x493d57=_0x3c4fc5&&this[_0x58faf4(0x1e9)]?.[_0x58faf4(0x1a1)](this[_0x58faf4(0x1e9)][_0x58faf4(0x19a)](_0x3c4fc5)-0x1);return _0x493d57&&this[_0x58faf4(0x1bf)](_0x493d57)||null;}[_0x3192a6(0x1a6)](_0x51be57){const _0xa91a76=_0x3192a6,_0xab0b9c=this[_0xa91a76(0x1b9)][_0xa91a76(0x1a1)](_0x51be57),_0x4674a5=_0xab0b9c&&this[_0xa91a76(0x1e9)]?.[_0xa91a76(0x1a1)](this[_0xa91a76(0x1e9)][_0xa91a76(0x19a)](_0xab0b9c)+0x1);return _0x4674a5&&this[_0xa91a76(0x1bf)](_0x4674a5)||null;}[_0x3192a6(0x197)](_0x2444f0,_0x4d5b50){const _0x19fab3=_0x3192a6;_0x2444f0[_0x19fab3(0x1d9)]();const _0x32c0c9=G(_0x4d5b50[_0x19fab3(0x19f)]+this[_0x19fab3(0x1e1)],_0x2444f0[_0x19fab3(0x1a8)]);return!!_0x32c0c9&&(this[_0x19fab3(0x1a4)](_0x4d5b50,_0x4d5b50[_0x19fab3(0x1a8)]-_0x32c0c9),!0x0);}[_0x3192a6(0x1c1)](_0x208f39,_0x575aea){const _0xde03d4=_0x3192a6;_0x208f39[_0xde03d4(0x1d9)]();const _0x592d92=G(_0x208f39[_0xde03d4(0x19f)]+this[_0xde03d4(0x1e1)],_0x575aea[_0xde03d4(0x1a8)]);return!!_0x592d92&&(this[_0xde03d4(0x1a4)](_0x575aea,_0x575aea[_0xde03d4(0x1a8)]+_0x592d92,!0x1),!0x0);}[_0x3192a6(0x1b1)](_0x597db4){const _0x5af783=_0x3192a6,_0xb5d6ae=this[_0x5af783(0x1b9)][_0x5af783(0x1a1)](_0x597db4);if(!_0xb5d6ae||!_0xb5d6ae[_0x5af783(0x19e)]||!_0xb5d6ae[_0x5af783(0x1ab)])return;const _0x117779=this[_0x5af783(0x1ca)](_0xb5d6ae,_0xb5d6ae[_0x5af783(0x1ab)]);this[_0x5af783(0x1a4)](_0x597db4,_0x117779);}[_0x3192a6(0x1ca)](_0xedb25,_0x397ee0){const _0x567779=_0x3192a6;if(null===_0x397ee0)return 0x0;if(_0xedb25[_0x567779(0x19e)]instanceof _0x304fe1)return _0x397ee0[_0x567779(0x1a8)];{const _0x3a7bbd=new _0x304fe1(this[_0x567779(0x1e2)][_0x567779(0x1c8)])[_0x567779(0x1a8)];return _0x397ee0[_0x567779(0x1a8)]-_0x3a7bbd;}}[_0x3192a6(0x1a4)](_0x514d1e,_0x1fe8e6,_0x20366f=this[_0x3192a6(0x1d7)][_0x3192a6(0x1d8)][_0x3192a6(0x1a1)](_0x3192a6(0x1b0))){const _0x4dfcfc=_0x3192a6;_0x20366f&&(_0x1fe8e6=Math[_0x4dfcfc(0x199)](_0x1fe8e6,this[_0x4dfcfc(0x1de)](_0x514d1e))),_0x514d1e[_0x4dfcfc(0x1a8)]=_0x1fe8e6;}[_0x3192a6(0x1de)](_0x2551ce){const _0x4b6a19=_0x3192a6;let _0x538f3d=this[_0x4b6a19(0x1b7)](_0x2551ce),_0x16d528=0x0;for(;_0x538f3d;)_0x538f3d[_0x4b6a19(0x1d9)](),_0x16d528+=this[_0x4b6a19(0x1e1)]+_0x538f3d[_0x4b6a19(0x1ec)],_0x538f3d=this[_0x4b6a19(0x1b7)](_0x538f3d);return _0x16d528;}}function G(_0x36b960,_0x6c6588){const _0x475a4b=_0x3192a6;return Math[_0x475a4b(0x199)](_0x36b960-_0x6c6588,0x0);}function g(_0x46479a){const _0x2d1846=_0x3192a6;return null!==_0x46479a&&_0x2d1846(0x1b4)==typeof _0x46479a&&0x1===_0x46479a[_0x2d1846(0x1be)];}
|
|
23
|
+
const _0x3fbf5e=_0x2fc7;(function(_0x2bba9f,_0x4df8b2){const _0x3e0e7b=_0x2fc7,_0x40fb24=_0x2bba9f();while(!![]){try{const _0xe61387=-parseInt(_0x3e0e7b(0x210))/0x1+-parseInt(_0x3e0e7b(0x1f6))/0x2*(parseInt(_0x3e0e7b(0x232))/0x3)+parseInt(_0x3e0e7b(0x227))/0x4+-parseInt(_0x3e0e7b(0x216))/0x5*(parseInt(_0x3e0e7b(0x21c))/0x6)+-parseInt(_0x3e0e7b(0x224))/0x7*(parseInt(_0x3e0e7b(0x1fc))/0x8)+-parseInt(_0x3e0e7b(0x1f5))/0x9*(parseInt(_0x3e0e7b(0x1f2))/0xa)+parseInt(_0x3e0e7b(0x203))/0xb;if(_0xe61387===_0x4df8b2)break;else _0x40fb24['push'](_0x40fb24['shift']());}catch(_0x4b9f18){_0x40fb24['push'](_0x40fb24['shift']());}}}(_0x23a7,0xa7507));function _0x23a7(){const _0x528bcb=['unbind','top','91670jJzcYx','appendChild','_recalculate','108ZvkjPc','141580KwWMBU','isActive','change:bottom','clear','set','length','848JKpFQJ','change:targetRect','_alignForTopChange','isOfficialPlugin','Sidebar','object','sidebar.preventScrollOutOfView','27652504qPAWNb','sidebar.container','_annotationToSidebarItemView','locale','change:_lastItem','_getTargetTop','getIndex','_updateLastItem','_activeAnnotation','define','isAnimationDisabled','rearrange','stopListening','1257769gPvKqq','_spaceBetweenItems','init','config','max','addAnnotation','2640plXRbF','get','change:top','add','refresh','nodeType','492vcofnX','minHeight','pluginName','_alignAfterItem','setContainer','_getItemAfter','updateHeight','_attachToContainer','45773UBXKUN','element','targetRect','1385792cVwCGt','_alignForBottomChange','_recalculateBuffer','listenTo','_alignToTargetRect','_sidebarItemViewToAnnotation','list','_annotations','sidebar-setcontainer-invalid-element','content','_detachFromContainer','3eHDpWd','bottom','isPremiumPlugin','destroy','push','_setItemTop','render','_alignBeforeItem','container','_createSidebarView','target','_getMaxAvailableTop','class','_destroySidebarItemView','bind','_getItemBefore','last','_targetTop','context','view','height','sidebar-attachtocontainer-missing-container','remove','getSidebarItemView','delete','_lastItem'];_0x23a7=function(){return _0x528bcb;};return _0x23a7();}import{ContextPlugin as _0x2e059d}from'ckeditor5/src/core.js';import{Rect as _0x5bbf57,CKEditorError as _0x43576f}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x51d822}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x51dc3c}from'./view/sidebaritemview.js';export class Sidebar extends _0x2e059d{[_0x3fbf5e(0x245)];[_0x3fbf5e(0x20b)];[_0x3fbf5e(0x22e)];[_0x3fbf5e(0x211)];[_0x3fbf5e(0x22c)];[_0x3fbf5e(0x205)];[_0x3fbf5e(0x229)];static get[_0x3fbf5e(0x21e)](){const _0x1b64d8=_0x3fbf5e;return _0x1b64d8(0x200);}static get[_0x3fbf5e(0x1ff)](){return!0x0;}static get[_0x3fbf5e(0x234)](){return!0x0;}constructor(_0xd6fc0a){const _0x209e40=_0x3fbf5e;super(_0xd6fc0a),this[_0x209e40(0x1fa)](_0x209e40(0x1ef),void 0x0),this[_0x209e40(0x245)]=this[_0x209e40(0x23b)](),this[_0x209e40(0x1fa)](_0x209e40(0x23a),null),this[_0x209e40(0x211)]=0x19,this[_0x209e40(0x22c)]=new Map(),this[_0x209e40(0x205)]=new Map(),this[_0x209e40(0x244)][_0x209e40(0x213)][_0x209e40(0x20c)](_0x209e40(0x202),!0x1),this[_0x209e40(0x22e)]=null,this[_0x209e40(0x20b)]=null,this[_0x209e40(0x229)]=[];}[_0x3fbf5e(0x212)](){const _0x44264d=_0x3fbf5e,_0x3809d1=this[_0x44264d(0x244)][_0x44264d(0x213)][_0x44264d(0x217)](_0x44264d(0x204));_0x3809d1&&this[_0x44264d(0x220)](_0x3809d1);}[_0x3fbf5e(0x220)](_0x1dd9d4){const _0x22a463=_0x3fbf5e;if(!g(_0x1dd9d4))throw new _0x43576f(_0x22a463(0x22f));this[_0x22a463(0x23a)]=_0x1dd9d4;}[_0x3fbf5e(0x223)]({viewClass:_0x1f23a6='',spaceBetweenItems:_0x26686a=0x19}={}){const _0x134200=_0x3fbf5e;if(!g(this[_0x134200(0x23a)]))throw new _0x43576f(_0x134200(0x247),this);this[_0x134200(0x23a)][_0x134200(0x1f3)](this[_0x134200(0x245)][_0x134200(0x225)]),this[_0x134200(0x245)][_0x134200(0x23e)]=_0x1f23a6,this[_0x134200(0x211)]=_0x26686a;}[_0x3fbf5e(0x20e)]({removedAnnotation:_0x1697ef,previousAnnotation:_0x3ba324,nextAnnotation:_0x45149f}){const _0x510063=_0x3fbf5e,_0x591abe=this[_0x510063(0x249)](_0x1697ef);this[_0x510063(0x245)][_0x510063(0x22d)][_0x510063(0x248)](_0x591abe),this[_0x510063(0x23f)](_0x1697ef),_0x3ba324&&this[_0x510063(0x22b)](this[_0x510063(0x249)](_0x3ba324)),_0x45149f&&this[_0x510063(0x22b)](this[_0x510063(0x249)](_0x45149f)),this[_0x510063(0x20a)]();}[_0x3fbf5e(0x21a)]({blurredAnnotation:_0x1b2b44,activatedAnnotation:_0x39543f,disableAnimationOnActivatedAnnotation:_0xbc557}){const _0x3b946f=_0x3fbf5e;if(this[_0x3b946f(0x20b)]=_0x39543f,_0x1b2b44){_0x1b2b44[_0x3b946f(0x1f7)]=!0x1;const _0x7f40d7=this[_0x3b946f(0x249)](_0x1b2b44);_0x7f40d7&&_0xbc557&&(_0x7f40d7[_0x3b946f(0x20d)]=!0x1);}if(_0x39543f){const _0x4076f4=this[_0x3b946f(0x249)](_0x39543f);_0x4076f4&&(_0x39543f[_0x3b946f(0x1f7)]=!0x0,_0xbc557&&(_0x4076f4[_0x3b946f(0x20d)]=!0x0,_0x4076f4[_0x3b946f(0x1f1)]+=0x1),this[_0x3b946f(0x22b)](_0x4076f4));}}[_0x3fbf5e(0x231)](_0x1e52ee){const _0x4d09c4=_0x3fbf5e;if(this[_0x4d09c4(0x245)][_0x4d09c4(0x225)][_0x4d09c4(0x248)](),_0x1e52ee){for(const _0x11c280 of _0x1e52ee)this[_0x4d09c4(0x23f)](_0x11c280);}this[_0x4d09c4(0x245)][_0x4d09c4(0x22d)][_0x4d09c4(0x1f9)](),this[_0x4d09c4(0x245)][_0x4d09c4(0x23e)]='',this[_0x4d09c4(0x1ef)]=null;}[_0x3fbf5e(0x215)](_0x13fb1e,_0x88134d){const _0x184ee6=_0x3fbf5e;_0x88134d||(_0x88134d=_0x13fb1e[_0x184ee6(0x245)]);const _0x19b93d=new _0x51dc3c(this[_0x184ee6(0x244)][_0x184ee6(0x206)]);this[_0x184ee6(0x22c)][_0x184ee6(0x1fa)](_0x19b93d,_0x13fb1e),this[_0x184ee6(0x205)][_0x184ee6(0x1fa)](_0x13fb1e,_0x19b93d),_0x19b93d[_0x184ee6(0x230)][_0x184ee6(0x219)](_0x88134d),this[_0x184ee6(0x22a)](_0x13fb1e[_0x184ee6(0x245)],_0x184ee6(0x1fd),(_0x5bfb4e,_0x2498bd,_0x561d7f)=>{const _0x16c3b5=_0x184ee6,_0x131277=this[_0x16c3b5(0x208)](_0x13fb1e,_0x561d7f);_0x19b93d[_0x16c3b5(0x243)]!=_0x131277&&(_0x19b93d[_0x16c3b5(0x243)]=_0x131277,this[_0x16c3b5(0x237)](_0x19b93d,_0x131277));}),this[_0x184ee6(0x22a)](_0x19b93d,_0x184ee6(0x218),()=>{const _0x5a45dc=_0x184ee6;this[_0x5a45dc(0x1f4)](_0x19b93d,_0x5a45dc(0x1f1));}),this[_0x184ee6(0x22a)](_0x19b93d,_0x184ee6(0x1f8),()=>{const _0x2d50d=_0x184ee6;this[_0x2d50d(0x1f4)](_0x19b93d,_0x2d50d(0x233));}),this[_0x184ee6(0x22b)](_0x19b93d);const _0x598795=this[_0x184ee6(0x241)](_0x19b93d);if(_0x598795)this[_0x184ee6(0x21f)](_0x598795,_0x19b93d)||this[_0x184ee6(0x22b)](_0x19b93d);else this[_0x184ee6(0x22b)](_0x19b93d);return this[_0x184ee6(0x20a)](),this[_0x184ee6(0x245)][_0x184ee6(0x22d)][_0x184ee6(0x219)](_0x19b93d),_0x19b93d;}[_0x3fbf5e(0x1fe)](_0x3ab96a){const _0x2384a0=_0x3fbf5e;if(!_0x3ab96a[_0x2384a0(0x230)][_0x2384a0(0x1fb)])return;const _0x895f82=this[_0x2384a0(0x241)](_0x3ab96a);if(!_0x895f82)return;const _0x28c28e=this[_0x2384a0(0x22c)][_0x2384a0(0x217)](_0x895f82),_0x1ec048=this[_0x2384a0(0x20b)];_0x1ec048&&_0x1ec048===_0x28c28e?this[_0x2384a0(0x21f)](_0x895f82,_0x3ab96a):this[_0x2384a0(0x239)](_0x3ab96a,_0x895f82);}[_0x3fbf5e(0x228)](_0x24c452){const _0x5656a5=_0x3fbf5e;if(!_0x24c452[_0x5656a5(0x230)][_0x5656a5(0x1fb)])return;const _0x259dca=this[_0x5656a5(0x221)](_0x24c452);if(!_0x259dca)return;const _0x457ea5=this[_0x5656a5(0x22c)][_0x5656a5(0x217)](_0x259dca),_0x13726c=this[_0x5656a5(0x244)][_0x5656a5(0x213)][_0x5656a5(0x217)](_0x5656a5(0x202)),_0x931cd=this[_0x5656a5(0x20b)];_0x931cd&&_0x931cd===_0x457ea5&&_0x13726c?(this[_0x5656a5(0x239)](_0x259dca,_0x24c452),this[_0x5656a5(0x21f)](_0x24c452,_0x259dca)):_0x931cd&&_0x931cd===_0x457ea5?this[_0x5656a5(0x239)](_0x259dca,_0x24c452):this[_0x5656a5(0x21f)](_0x24c452,_0x259dca);}[_0x3fbf5e(0x1f4)](_0x3c1fd8,_0x549f51){const _0x417956=_0x3fbf5e;0x0===this[_0x417956(0x229)][_0x417956(0x1fb)]&&setTimeout(()=>{const _0x21ace8=_0x417956;for(const {sidebarItemView:_0x40cc64,changedProp:_0x8f41f8}of this[_0x21ace8(0x229)])_0x21ace8(0x1f1)===_0x8f41f8?this[_0x21ace8(0x1fe)](_0x40cc64):this[_0x21ace8(0x228)](_0x40cc64);this[_0x21ace8(0x229)]=[];},0xa),this[_0x417956(0x229)][_0x417956(0x236)]({'sidebarItemView':_0x3c1fd8,'changedProp':_0x549f51});}[_0x3fbf5e(0x249)](_0x286443){const _0x549bb2=_0x3fbf5e;return this[_0x549bb2(0x205)][_0x549bb2(0x217)](_0x286443);}[_0x3fbf5e(0x235)](){const _0x39907b=_0x3fbf5e;this[_0x39907b(0x20f)](),this[_0x39907b(0x245)][_0x39907b(0x235)]();}[_0x3fbf5e(0x23f)](_0x3dae93){const _0x414bc3=_0x3fbf5e,_0x27b965=this[_0x414bc3(0x249)](_0x3dae93);this[_0x414bc3(0x20f)](_0x27b965),this[_0x414bc3(0x20f)](_0x3dae93[_0x414bc3(0x245)]),_0x27b965[_0x414bc3(0x235)](),this[_0x414bc3(0x205)][_0x414bc3(0x24a)](_0x3dae93),this[_0x414bc3(0x22c)][_0x414bc3(0x24a)](_0x27b965);}[_0x3fbf5e(0x23b)](){const _0x39d4b8=_0x3fbf5e,_0x4da7ff=new _0x51d822(this[_0x39d4b8(0x244)][_0x39d4b8(0x206)]);return _0x4da7ff[_0x39d4b8(0x238)](),this['on'](_0x39d4b8(0x207),(_0x441b6d,_0x306b74,_0x344109,_0x50397e)=>{const _0x4e71c0=_0x39d4b8;_0x50397e&&_0x4da7ff[_0x4e71c0(0x1f0)](_0x4e71c0(0x21d)),_0x344109?_0x4da7ff[_0x4e71c0(0x240)](_0x4e71c0(0x21d))['to'](_0x344109,_0x4e71c0(0x233)):_0x4da7ff[_0x4e71c0(0x21d)]=null;}),_0x4da7ff;}[_0x3fbf5e(0x20a)](){const _0x417be6=_0x3fbf5e;this[_0x417be6(0x1ef)]=this[_0x417be6(0x22e)]?.[_0x417be6(0x242)]?this[_0x417be6(0x249)](this[_0x417be6(0x22e)][_0x417be6(0x242)]):null;}[_0x3fbf5e(0x241)](_0x47527a){const _0x44d135=_0x3fbf5e,_0x710e49=this[_0x44d135(0x22c)][_0x44d135(0x217)](_0x47527a),_0x213277=_0x710e49&&this[_0x44d135(0x22e)]?.[_0x44d135(0x217)](this[_0x44d135(0x22e)][_0x44d135(0x209)](_0x710e49)-0x1);return _0x213277&&this[_0x44d135(0x249)](_0x213277)||null;}[_0x3fbf5e(0x221)](_0x5cfa35){const _0x5f058b=_0x3fbf5e,_0x5701f1=this[_0x5f058b(0x22c)][_0x5f058b(0x217)](_0x5cfa35),_0x163b0b=_0x5701f1&&this[_0x5f058b(0x22e)]?.[_0x5f058b(0x217)](this[_0x5f058b(0x22e)][_0x5f058b(0x209)](_0x5701f1)+0x1);return _0x163b0b&&this[_0x5f058b(0x249)](_0x163b0b)||null;}[_0x3fbf5e(0x239)](_0xb9fbc4,_0x5eb882){const _0x31d4c1=_0x3fbf5e;_0xb9fbc4[_0x31d4c1(0x222)]();const _0x48649c=G(_0x5eb882[_0x31d4c1(0x233)]+this[_0x31d4c1(0x211)],_0xb9fbc4[_0x31d4c1(0x1f1)]);return!!_0x48649c&&(this[_0x31d4c1(0x237)](_0x5eb882,_0x5eb882[_0x31d4c1(0x1f1)]-_0x48649c),!0x0);}[_0x3fbf5e(0x21f)](_0x5868a6,_0x543b61){const _0x553837=_0x3fbf5e;_0x5868a6[_0x553837(0x222)]();const _0x5d9ae2=G(_0x5868a6[_0x553837(0x233)]+this[_0x553837(0x211)],_0x543b61[_0x553837(0x1f1)]);return!!_0x5d9ae2&&(this[_0x553837(0x237)](_0x543b61,_0x543b61[_0x553837(0x1f1)]+_0x5d9ae2,!0x1),!0x0);}[_0x3fbf5e(0x22b)](_0x1a3c1a){const _0x4772a7=_0x3fbf5e,_0x46a5be=this[_0x4772a7(0x22c)][_0x4772a7(0x217)](_0x1a3c1a);if(!_0x46a5be||!_0x46a5be[_0x4772a7(0x23c)]||!_0x46a5be[_0x4772a7(0x226)])return;const _0x42b1c0=this[_0x4772a7(0x208)](_0x46a5be,_0x46a5be[_0x4772a7(0x226)]);this[_0x4772a7(0x237)](_0x1a3c1a,_0x42b1c0);}[_0x3fbf5e(0x208)](_0x2a1779,_0x2dfc19){const _0x36336e=_0x3fbf5e;if(null===_0x2dfc19)return 0x0;if(_0x2a1779[_0x36336e(0x23c)]instanceof _0x5bbf57)return _0x2dfc19[_0x36336e(0x1f1)];{const _0xcb7b6e=new _0x5bbf57(this[_0x36336e(0x245)][_0x36336e(0x225)])[_0x36336e(0x1f1)];return _0x2dfc19[_0x36336e(0x1f1)]-_0xcb7b6e;}}[_0x3fbf5e(0x237)](_0x2d9fe4,_0x4385a4,_0x4fe3cb=this[_0x3fbf5e(0x244)][_0x3fbf5e(0x213)][_0x3fbf5e(0x217)](_0x3fbf5e(0x202))){const _0x4073af=_0x3fbf5e;_0x4fe3cb&&(_0x4385a4=Math[_0x4073af(0x214)](_0x4385a4,this[_0x4073af(0x23d)](_0x2d9fe4))),_0x2d9fe4[_0x4073af(0x1f1)]=_0x4385a4;}[_0x3fbf5e(0x23d)](_0x52b99d){const _0xb6bcad=_0x3fbf5e;let _0x35a03b=this[_0xb6bcad(0x241)](_0x52b99d),_0x5528e8=0x0;for(;_0x35a03b;)_0x35a03b[_0xb6bcad(0x222)](),_0x5528e8+=this[_0xb6bcad(0x211)]+_0x35a03b[_0xb6bcad(0x246)],_0x35a03b=this[_0xb6bcad(0x241)](_0x35a03b);return _0x5528e8;}}function G(_0x5e0035,_0x2fac70){const _0x5ca985=_0x3fbf5e;return Math[_0x5ca985(0x214)](_0x5e0035-_0x2fac70,0x0);}function _0x2fc7(_0x16e7da,_0x33389c){const _0x23a7d2=_0x23a7();return _0x2fc7=function(_0x2fc76e,_0x102405){_0x2fc76e=_0x2fc76e-0x1ef;let _0x299249=_0x23a7d2[_0x2fc76e];return _0x299249;},_0x2fc7(_0x16e7da,_0x33389c);}function g(_0x54f378){const _0x186980=_0x3fbf5e;return null!==_0x54f378&&_0x186980(0x201)==typeof _0x54f378&&0x1===_0x54f378[_0x186980(0x21b)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a3ada=_0x2646;(function(_0x3d8313,_0x2c0f46){const _0x21f9af=_0x2646,_0x14fea0=_0x3d8313();while(!![]){try{const _0x156d86=-parseInt(_0x21f9af(0x149))/0x1+parseInt(_0x21f9af(0x15d))/0x2*(parseInt(_0x21f9af(0x157))/0x3)+parseInt(_0x21f9af(0x158))/0x4*(parseInt(_0x21f9af(0x153))/0x5)+-parseInt(_0x21f9af(0x159))/0x6+-parseInt(_0x21f9af(0x150))/0x7*(parseInt(_0x21f9af(0x164))/0x8)+parseInt(_0x21f9af(0x15b))/0x9+-parseInt(_0x21f9af(0x162))/0xa*(-parseInt(_0x21f9af(0x165))/0xb);if(_0x156d86===_0x2c0f46)break;else _0x14fea0['push'](_0x14fea0['shift']());}catch(_0x123403){_0x14fea0['push'](_0x14fea0['shift']());}}}(_0x3ec6,0x52fe1));import{ButtonView as _0x4cd337,View as _0x118a6d}from'ckeditor5/src/ui.js';import{IconAddComment as _0x435ea3}from'ckeditor5/src/icons.js';function _0x3ec6(){const _0x3571ce=['ck-annotation-counter__badge--edit-mode','counterView','annotationType','ck-annotation-counter__badge','1971570cnjWIF','span','8aSdcAr','33egwKbI','ck-annotation-counter','children','235584LpLtNL','bind','number','add','...','extendTemplate','ck-annotation-counter__badge--','4438931MTXzOA','set','bindTemplate','2631415lzkZJl','setTemplate','isDirty','icon','37665itNsYR','4kLPVfg','3587394OgZpXs','_badge','3270321xtckrG','toString','52jXQBpE'];_0x3ec6=function(){return _0x3571ce;};return _0x3ec6();}function _0x2646(_0x121e06,_0x492222){const _0x3ec617=_0x3ec6();return _0x2646=function(_0x264624,_0x410450){_0x264624=_0x264624-0x147;let _0x30ccb7=_0x3ec617[_0x264624];return _0x30ccb7;},_0x2646(_0x121e06,_0x492222);}export class AnnotationCounterButtonView extends _0x4cd337{[_0x5a3ada(0x15f)];constructor(_0x229892){const _0x5503e9=_0x5a3ada;super(_0x229892);const _0x5d781d=this[_0x5503e9(0x152)];this[_0x5503e9(0x151)](_0x5503e9(0x155),!0x1),this[_0x5503e9(0x151)](_0x5503e9(0x14b),0x0),this[_0x5503e9(0x14a)](_0x5503e9(0x15a))['to'](this,_0x5503e9(0x155),this,_0x5503e9(0x14b),(_0x29734a,_0x2e5e8a)=>_0x29734a?_0x5503e9(0x14d):_0x2e5e8a[_0x5503e9(0x15c)]()),this[_0x5503e9(0x151)](_0x5503e9(0x160),''),this[_0x5503e9(0x156)]=_0x435ea3,this[_0x5503e9(0x14e)]({'attributes':{'class':[_0x5503e9(0x147)]}}),this[_0x5503e9(0x15f)]=new _0x118a6d(),this[_0x5503e9(0x15f)][_0x5503e9(0x154)]({'tag':_0x5503e9(0x163),'attributes':{'class':[_0x5503e9(0x161),_0x5d781d['to'](_0x5503e9(0x160),_0x59e159=>_0x5503e9(0x14f)+_0x59e159),_0x5d781d['if'](_0x5503e9(0x155),_0x5503e9(0x15e))]},'children':[{'text':_0x5d781d['to'](_0x5503e9(0x15a))}]}),this[_0x5503e9(0x148)][_0x5503e9(0x14c)](this[_0x5503e9(0x15f)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x21d4fd=_0x4751;(function(_0x1804c4,_0x4846c6){const _0x32b34b=_0x4751,_0x1e6e23=_0x1804c4();while(!![]){try{const _0x606a41=-parseInt(_0x32b34b(0x13e))/0x1+parseInt(_0x32b34b(0x148))/0x2+-parseInt(_0x32b34b(0x12a))/0x3+parseInt(_0x32b34b(0x11e))/0x4+-parseInt(_0x32b34b(0x125))/0x5*(-parseInt(_0x32b34b(0x139))/0x6)+parseInt(_0x32b34b(0x123))/0x7*(-parseInt(_0x32b34b(0x13c))/0x8)+-parseInt(_0x32b34b(0x12e))/0x9*(-parseInt(_0x32b34b(0x120))/0xa);if(_0x606a41===_0x4846c6)break;else _0x1e6e23['push'](_0x1e6e23['shift']());}catch(_0x5aa0a5){_0x1e6e23['push'](_0x1e6e23['shift']());}}}(_0x4804,0xafc1b));import{View as _0x181243}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2830fd,KeystrokeHandler as _0x4f2b88,uid as _0xb44c54}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x5638f5}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';function _0x4751(_0x5de9a5,_0x28f3ef){const _0x48048f=_0x4804();return _0x4751=function(_0x475182,_0x5a4b7c){_0x475182=_0x475182-0x11b;let _0x577010=_0x48048f[_0x475182];return _0x577010;},_0x4751(_0x5de9a5,_0x28f3ef);}export class AnnotationView extends _0x181243{[_0x21d4fd(0x132)];['id'];[_0x21d4fd(0x11b)];[_0x21d4fd(0x133)];[_0x21d4fd(0x126)];[_0x21d4fd(0x137)];constructor(_0x4e1fde,_0x11363e){const _0x11423b=_0x21d4fd;super(_0x4e1fde),this['id']=_0xb44c54(),this[_0x11423b(0x132)]=new _0x2830fd(),this[_0x11423b(0x11b)]=new _0x4f2b88(),this[_0x11423b(0x11b)][_0x11423b(0x130)](_0x11423b(0x13d),(_0x15a7ba,_0x377833)=>this[_0x11423b(0x13f)](_0x11423b(0x13d),_0x377833)),this[_0x11423b(0x130)](_0x11423b(0x131),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x11423b(0x130)](_0x11423b(0x128),0x0),this[_0x11423b(0x130)](_0x11423b(0x134),!0x1),this[_0x11423b(0x130)](_0x11423b(0x146),!0x1),this[_0x11423b(0x130)](_0x11423b(0x145),0x0),this[_0x11423b(0x130)](_0x11423b(0x12d),''),this[_0x11423b(0x137)]=_0x5638f5(()=>this[_0x11423b(0x124)]()),this[_0x11423b(0x133)]=this[_0x11423b(0x11f)](),this[_0x11423b(0x133)][_0x11423b(0x144)](_0x11423b(0x140),_0x11423b(0x12f))['to'](this),this[_0x11423b(0x133)][_0x11423b(0x13a)](_0x11363e),this[_0x11423b(0x126)]=_0x11363e;const _0x10e635=this[_0x11423b(0x12c)];this[_0x11423b(0x147)]({'tag':_0x11423b(0x129),'attributes':{'class':['ck',_0x11423b(0x11d),_0x11423b(0x122),_0x10e635['if'](_0x11423b(0x134),_0x11423b(0x135))],'role':_0x11423b(0x149)},'children':this[_0x11423b(0x133)]});}[_0x21d4fd(0x141)](){const _0x27ccb3=_0x21d4fd;super[_0x27ccb3(0x141)](),this[_0x27ccb3(0x132)][_0x27ccb3(0x13a)](this[_0x27ccb3(0x138)]),this[_0x27ccb3(0x11b)][_0x27ccb3(0x143)](this[_0x27ccb3(0x138)]),this[_0x27ccb3(0x137)][_0x27ccb3(0x142)](this[_0x27ccb3(0x138)]);}[_0x21d4fd(0x12b)](){const _0x3dfbf3=_0x21d4fd;this[_0x3dfbf3(0x133)][_0x3dfbf3(0x121)](),this[_0x3dfbf3(0x11b)][_0x3dfbf3(0x12b)](),this[_0x3dfbf3(0x132)][_0x3dfbf3(0x12b)](),this[_0x3dfbf3(0x137)][_0x3dfbf3(0x136)](),super[_0x3dfbf3(0x12b)]();}[_0x21d4fd(0x11c)](){const _0x431be1=_0x21d4fd;this[_0x431be1(0x133)][_0x431be1(0x127)]&&this[_0x431be1(0x133)][_0x431be1(0x127)][_0x431be1(0x11c)]();}[_0x21d4fd(0x124)](){const _0x282545=_0x21d4fd,_0x1d68e0=this[_0x282545(0x138)][_0x282545(0x13b)];_0x1d68e0&&(this[_0x282545(0x128)]=_0x1d68e0);}}function _0x4804(){const _0x4d0a31=['div','3399045MfHOIe','destroy','bindTemplate','type','11740617wdVUdV','arrowdown','set','targetRect','focusTracker','content','isActive','ck-annotation-wrapper--active','detach','_mutationObserver','element','6rykRaj','add','clientHeight','56VZqREw','Esc','851038OJkZjG','fire','arrowup','render','attach','listenTo','delegate','length','isDirty','setTemplate','508120WiKEBt','presentation','keystrokes','focus','ck-annotation-wrapper','1870392PlKDdK','createCollection','10vWzSZA','clear','ck-rounded-corners','18298cFOhkd','_updateHeight','3480395QPJLkL','mainView','first','height'];_0x4804=function(){return _0x4d0a31;};return _0x4804();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x3dd2(_0x38f286,_0x46c7a9){const _0x2385d2=_0x2385();return _0x3dd2=function(_0x3dd2fc,_0x5b3d32){_0x3dd2fc=_0x3dd2fc-0x165;let _0x5740a5=_0x2385d2[_0x3dd2fc];return _0x5740a5;},_0x3dd2(_0x38f286,_0x46c7a9);}function _0x2385(){const _0x2c43f2=['createCollection','2301968vOVqxt','ck-sidebar-item--no-animation','element','height','bottom','ck-sidebar-item','first','16EKwQJI','bindTemplate','top','attach','78zMQIkJ','_targetTop','content','clientHeight','detach','1119852zxOkNG','focus','93963PXnMwb','190435UCZOTl','bind','6779421sHyMLt','53570lsrMuc','presentation','delegate','arrowup','clear','_mutationObserver','render','updateHeight','destroy','arrowdown','setTemplate','36022vfBnIg','set','div','isAnimationDisabled'];_0x2385=function(){return _0x2c43f2;};return _0x2385();}const _0x2f92ef=_0x3dd2;(function(_0x2296ac,_0x796c6){const _0x315c30=_0x3dd2,_0xd9da3a=_0x2296ac();while(!![]){try{const _0x353a7b=parseInt(_0x315c30(0x181))/0x1+parseInt(_0x315c30(0x172))/0x2*(parseInt(_0x315c30(0x17d))/0x3)+parseInt(_0x315c30(0x17b))/0x4+-parseInt(_0x315c30(0x17e))/0x5+parseInt(_0x315c30(0x176))/0x6*(parseInt(_0x315c30(0x166))/0x7)+parseInt(_0x315c30(0x16b))/0x8+-parseInt(_0x315c30(0x180))/0x9;if(_0x353a7b===_0x796c6)break;else _0xd9da3a['push'](_0xd9da3a['shift']());}catch(_0x2b7444){_0xd9da3a['push'](_0xd9da3a['shift']());}}}(_0x2385,0x23fbd));import{View as _0x509d0a}from'ckeditor5/src/ui.js';import{toUnit as _0x512411}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x5eec14}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x512411('px');export class AnnotationsSidebarItemView extends _0x509d0a{[_0x2f92ef(0x178)];[_0x2f92ef(0x177)];[_0x2f92ef(0x186)];constructor(_0x1531a2){const _0x51e01b=_0x2f92ef;super(_0x1531a2),this[_0x51e01b(0x167)](_0x51e01b(0x174),0x0),this[_0x51e01b(0x167)](_0x51e01b(0x16e),0x0),this[_0x51e01b(0x17f)](_0x51e01b(0x16f))['to'](this,_0x51e01b(0x174),this,_0x51e01b(0x16e),(_0x353291,_0x3c38c1)=>_0x353291+_0x3c38c1),this[_0x51e01b(0x167)](_0x51e01b(0x169),!0x1),this[_0x51e01b(0x186)]=_0x5eec14(()=>this[_0x51e01b(0x188)]()),this[_0x51e01b(0x177)]=null,this[_0x51e01b(0x178)]=this[_0x51e01b(0x16a)](),this[_0x51e01b(0x178)][_0x51e01b(0x183)](_0x51e01b(0x184),_0x51e01b(0x18a))['to'](this);const _0x2cebd6=this[_0x51e01b(0x173)];this[_0x51e01b(0x165)]({'tag':_0x51e01b(0x168),'attributes':{'class':[_0x51e01b(0x170),_0x2cebd6['to'](_0x51e01b(0x169),_0x4e172f=>_0x4e172f?_0x51e01b(0x16c):'')],'style':{'top':_0x2cebd6['to'](_0x51e01b(0x174),_0x52ce61=>Ot(_0x52ce61))},'role':_0x51e01b(0x182)},'children':this[_0x51e01b(0x178)]});}[_0x2f92ef(0x187)](){const _0x5ae75c=_0x2f92ef;super[_0x5ae75c(0x187)](),this[_0x5ae75c(0x186)][_0x5ae75c(0x175)](this[_0x5ae75c(0x16d)]);}[_0x2f92ef(0x17c)](){const _0x60d315=_0x2f92ef;this[_0x60d315(0x178)][_0x60d315(0x171)]&&this[_0x60d315(0x178)][_0x60d315(0x171)][_0x60d315(0x17c)]();}[_0x2f92ef(0x188)](){const _0x248d6d=_0x2f92ef,_0x2057bb=this[_0x248d6d(0x16d)][_0x248d6d(0x179)];_0x2057bb&&(this[_0x248d6d(0x16e)]=_0x2057bb);}[_0x2f92ef(0x189)](){const _0x17d727=_0x2f92ef;this[_0x17d727(0x178)][_0x17d727(0x185)](),this[_0x17d727(0x186)][_0x17d727(0x17a)](),super[_0x17d727(0x189)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x34b5d9=_0xdca8;(function(_0x9d0be7,_0x49af17){const _0x2004b1=_0xdca8,_0x611ce4=_0x9d0be7();while(!![]){try{const _0x430c9a=parseInt(_0x2004b1(0xc6))/0x1+-parseInt(_0x2004b1(0xcb))/0x2+parseInt(_0x2004b1(0xbc))/0x3*(-parseInt(_0x2004b1(0xb7))/0x4)+-parseInt(_0x2004b1(0xdb))/0x5*(-parseInt(_0x2004b1(0xc7))/0x6)+-parseInt(_0x2004b1(0xd2))/0x7*(parseInt(_0x2004b1(0xb5))/0x8)+-parseInt(_0x2004b1(0xd1))/0x9*(-parseInt(_0x2004b1(0xce))/0xa)+parseInt(_0x2004b1(0xd3))/0xb;if(_0x430c9a===_0x49af17)break;else _0x611ce4['push'](_0x611ce4['shift']());}catch(_0x4abc2e){_0x611ce4['push'](_0x611ce4['shift']());}}}(_0x32ae,0x5d717));function _0xdca8(_0x37115c,_0x3107f1){const _0x32ae41=_0x32ae();return _0xdca8=function(_0xdca86e,_0x1bcc8a){_0xdca86e=_0xdca86e-0xb1;let _0x3f2c83=_0x32ae41[_0xdca86e];return _0x3f2c83;},_0xdca8(_0x37115c,_0x3107f1);}import{View as _0x153bee,FocusCycler as _0x409592}from'ckeditor5/src/ui.js';import{FocusTracker as _0x307c44,toUnit as _0x43acf0}from'ckeditor5/src/utils.js';import{getTranslation as _0x2f542d}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x43acf0('px');export class AnnotationsSidebarView extends _0x153bee{[_0x34b5d9(0xb6)];[_0x34b5d9(0xd0)];[_0x34b5d9(0xd8)];[_0x34b5d9(0xd6)];constructor(_0xa2df0a){const _0x519e60=_0x34b5d9;super(_0xa2df0a);const _0xc8bcbd=this[_0x519e60(0xc0)];this[_0x519e60(0xbd)](_0x519e60(0xe2),0x0),this[_0x519e60(0xbd)](_0x519e60(0xc2),''),this[_0x519e60(0xb6)]=this[_0x519e60(0xdf)](),this[_0x519e60(0xd0)]=this[_0x519e60(0xdf)](),this[_0x519e60(0xb6)][_0x519e60(0xe1)](_0x519e60(0xde),_0x519e60(0xb4))['to'](this),this[_0x519e60(0xd8)]=new _0x307c44(),this[_0x519e60(0xd6)]=new _0x409592({'focusables':this[_0x519e60(0xd0)],'focusTracker':this[_0x519e60(0xd8)]}),this[_0x519e60(0xba)]({'tag':_0x519e60(0xdd),'attributes':{'class':['ck',_0x519e60(0xbe),_0x519e60(0xb2),_0xc8bcbd['to'](_0x519e60(0xc2))],'style':{'minHeight':_0xc8bcbd['to'](_0x519e60(0xe2),_0x359210=>_0x519e60(0xb3)==typeof _0x359210?Ot(_0x359210+0xa):null)},'dir':_0xa2df0a[_0x519e60(0xe3)],'role':_0x519e60(0xd4),'aria-label':_0x2f542d(_0xa2df0a,_0x519e60(0xda)),'tabindex':0x0},'children':[{'tag':_0x519e60(0xdd),'attributes':{'role':_0x519e60(0xb6),'aria-label':_0x2f542d(_0xa2df0a,_0x519e60(0xb9))},'children':this[_0x519e60(0xb6)]}]});}[_0x34b5d9(0xdc)](){const _0xdd85c0=_0x34b5d9;super[_0xdd85c0(0xdc)](),this[_0xdd85c0(0xc5)]();}[_0x34b5d9(0xbf)](){const _0x3d3e73=_0x34b5d9;this[_0x3d3e73(0xd6)][_0x3d3e73(0xc8)]();}[_0x34b5d9(0xc5)](){const _0x109248=_0x34b5d9;this[_0x109248(0xb6)][_0x109248(0xe1)](_0x109248(0xbb))['to'](this),this['on'](_0x109248(0xbb),_0x3e5455=>{const _0x1a80bc=_0x109248;this[_0x1a80bc(0xca)](_0x3e5455[_0x1a80bc(0xe4)]);}),this[_0x109248(0xb6)][_0x109248(0xcd)](_0x505e80=>{const _0x573b5e=_0x109248;this[_0x573b5e(0xd8)][_0x573b5e(0xd5)](_0x505e80[_0x573b5e(0xc1)]),this[_0x573b5e(0xca)](_0x505e80);}),this[_0x109248(0xb6)]['on'](_0x109248(0xd7),(_0x3709e1,_0x1970e3)=>{const _0x47d1d7=_0x109248;for(const _0x3751f9 of _0x1970e3[_0x47d1d7(0xb8)])this[_0x47d1d7(0xd8)][_0x47d1d7(0xcc)](_0x3751f9[_0x47d1d7(0xc1)]),this[_0x47d1d7(0xd0)][_0x47d1d7(0xcc)](_0x3751f9);for(const _0x5ef0de of _0x1970e3[_0x47d1d7(0xc9)])this[_0x47d1d7(0xd8)][_0x47d1d7(0xd5)](_0x5ef0de[_0x47d1d7(0xc1)]),this[_0x47d1d7(0xca)](_0x5ef0de);}),this['on'](_0x109248(0xde),()=>{const _0x5d272c=_0x109248;this[_0x5d272c(0xd6)][_0x5d272c(0xcf)]();}),this['on'](_0x109248(0xb4),()=>{const _0x3be2e7=_0x109248;this[_0x3be2e7(0xd6)][_0x3be2e7(0xb1)]();}),this[_0x109248(0xe0)](this[_0x109248(0xc1)],_0x109248(0xbf),()=>{const _0x4578c1=_0x109248;this[_0x4578c1(0xbf)]();});}[_0x34b5d9(0xca)](_0x5a3a6f){const _0x1ca282=_0x34b5d9,_0x4a0705=this[_0x1ca282(0xd0)][_0x1ca282(0xd9)](_0x5a3a6f);let _0x442b64,_0x1557ff;for(const _0x5559e9 of this[_0x1ca282(0xd0)])if(_0x5a3a6f[_0x1ca282(0xc3)]<_0x5559e9[_0x1ca282(0xc3)]){_0x442b64=_0x5559e9;break;}if(_0x1557ff=_0x442b64?this[_0x1ca282(0xd0)][_0x1ca282(0xd9)](_0x442b64):this[_0x1ca282(0xd0)][_0x1ca282(0xc4)],-0x1!==_0x4a0705){if(_0x4a0705===_0x1557ff-0x1)return;this[_0x1ca282(0xd0)][_0x1ca282(0xcc)](_0x5a3a6f),_0x1557ff=_0x442b64?this[_0x1ca282(0xd0)][_0x1ca282(0xd9)](_0x442b64):this[_0x1ca282(0xd0)][_0x1ca282(0xc4)];}this[_0x1ca282(0xd0)][_0x1ca282(0xd5)](_0x5a3a6f,_0x1557ff);}}function _0x32ae(){const _0x5620e7=['251461VzHwqn','6vMfNPa','focusFirst','added','_updateItemPositionInFocusables','585938OCHIuT','remove','forEach','5850tnurbr','focusPrevious','focusables','3663xPjglj','17829bCbntM','8223820ffHAtu','application','add','focusCycler','change','focusTracker','getIndex','Annotations\x20sidebar','915195vTmOKA','render','div','arrowup','createCollection','listenTo','delegate','minHeight','uiLanguageDirection','source','focusNext','ck-reset','number','arrowdown','440kFbiFs','list','2417672NMlfSA','removed','Annotations\x20list','setTemplate','change:top','3LRYgfD','set','ck-sidebar','focus','bindTemplate','element','class','top','length','_setupKeyboardNavigation'];_0x32ae=function(){return _0x5620e7;};return _0x32ae();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7295ad=_0x3e7a;(function(_0x4b9d8c,_0x58b881){const _0x3e7e28=_0x3e7a,_0x4c9037=_0x4b9d8c();while(!![]){try{const _0x4b134f=-parseInt(_0x3e7e28(0x1d9))/0x1*(parseInt(_0x3e7e28(0x1c0))/0x2)+parseInt(_0x3e7e28(0x1c9))/0x3*(-parseInt(_0x3e7e28(0x1cf))/0x4)+parseInt(_0x3e7e28(0x1aa))/0x5+-parseInt(_0x3e7e28(0x1b1))/0x6+parseInt(_0x3e7e28(0x1c6))/0x7*(-parseInt(_0x3e7e28(0x1dc))/0x8)+parseInt(_0x3e7e28(0x1d8))/0x9*(-parseInt(_0x3e7e28(0x19c))/0xa)+parseInt(_0x3e7e28(0x1d7))/0xb;if(_0x4b134f===_0x58b881)break;else _0x4c9037['push'](_0x4c9037['shift']());}catch(_0x531957){_0x4c9037['push'](_0x4c9037['shift']());}}}(_0x1b81,0x3601b));import{ContextPlugin as _0x178460,Context as _0x3d04d7}from'ckeditor5/src/core.js';function _0x3e7a(_0x309f46,_0x519078){const _0x1b81cc=_0x1b81();return _0x3e7a=function(_0x3e7a52,_0x189a40){_0x3e7a52=_0x3e7a52-0x198;let _0x136643=_0x1b81cc[_0x3e7a52];return _0x136643;},_0x3e7a(_0x309f46,_0x519078);}import{AnnotationsUIs as _0x33b22b}from'./annotationsuis.js';import{Sidebar as _0x2117ca}from'./sidebar.js';import{CKEditorError as _0x4c0b80,Collection as _0x264841}from'ckeditor5/src/utils.js';import{debounce as _0x52c646}from'es-toolkit/compat';function _0x1b81(){const _0x55fd47=['cancel','detach','isAttached','off','EditorAnnotations','stopListening','init','417524TfvjAz','addEventListener','_activeAnnotation','editors','high','refresh','1807519qjRoPa','getOrderedSelectedAnnotations','setActiveAnnotation','6xBIFuV','stop','refreshPositioning','Annotations','isPremiumPlugin','_destroyEditorAnnotationsIntegration','756916VdrqKC','focus','from','change:container','_attachToContainer','_refreshPositioningDebounced','pluginName','hasDomSelection','16644837yRFYKC','866610sXotvq','2uwVhwc','set:container','ck-sidebar--wide','8lceSeb','register','context','add','listenTo','destroy','WideSidebar','uiUpdate','widesidebar-attach-already-attached','10cDoSXk','resize','switchTo','refreshVisibility','remove','requires','set','_editorAnnotations','has','removeEventListener','addAnnotation','annotations','_detachFromContainer','container','105045FCEtmI','blur','widesidebar-detach-not-attached','_annotations','wideSidebar','rearrange','plugins','974856MrCCjc','activeAnnotation','updateTargetRect','get','_integrateWithEditorAnnotations','ready','isOfficialPlugin','attach'];_0x1b81=function(){return _0x55fd47;};return _0x1b81();}export class WideSidebar extends _0x178460{[_0x7295ad(0x1bb)];[_0x7295ad(0x1a7)];[_0x7295ad(0x1a3)];[_0x7295ad(0x1d4)];static get[_0x7295ad(0x1a1)](){return[_0x2117ca,_0x33b22b];}static get[_0x7295ad(0x1d5)](){const _0x385a31=_0x7295ad;return _0x385a31(0x199);}static get[_0x7295ad(0x1b7)](){return!0x0;}static get[_0x7295ad(0x1cd)](){return!0x0;}constructor(_0x145a51){const _0x3dacd2=_0x7295ad;super(_0x145a51),this[_0x3dacd2(0x1bb)]=!0x1,this[_0x3dacd2(0x1a2)](_0x3dacd2(0x1b2),null),this[_0x3dacd2(0x1a7)]=null,this[_0x3dacd2(0x1a3)]=new _0x264841(),this[_0x3dacd2(0x1d4)]=_0x52c646(()=>{const _0xd05ba0=_0x3dacd2;_0x145a51[_0xd05ba0(0x1b0)][_0xd05ba0(0x1b4)](_0xd05ba0(0x1cc))[_0xd05ba0(0x19f)](),this[_0xd05ba0(0x1a7)][_0xd05ba0(0x1cb)]();},0xfa,{'leading':!0x1});}[_0x7295ad(0x1bf)](){const _0x497e40=_0x7295ad,_0x4345e2=this[_0x497e40(0x1de)][_0x497e40(0x1b0)][_0x497e40(0x1b4)](_0x33b22b),_0x3cfe96=this[_0x497e40(0x1de)][_0x497e40(0x1b0)][_0x497e40(0x1b4)](_0x2117ca);_0x4345e2[_0x497e40(0x1dd)](_0x497e40(0x1ae),this),_0x3cfe96[_0x497e40(0x1a9)]&&_0x4345e2[_0x497e40(0x19e)](_0x497e40(0x1ae));}[_0x7295ad(0x1c8)](_0x2ea83f){const _0x48b56f=_0x7295ad;if(_0x2ea83f===this[_0x48b56f(0x1b2)])return;const _0x31fd1c=this[_0x48b56f(0x1de)][_0x48b56f(0x1b0)][_0x48b56f(0x1b4)](_0x2117ca);_0x31fd1c[_0x48b56f(0x1c2)]=_0x2ea83f;const _0x3fb5e6=this[_0x48b56f(0x1b2)];_0x31fd1c[_0x48b56f(0x1c5)]({'blurredAnnotation':_0x3fb5e6,'activatedAnnotation':_0x2ea83f}),this[_0x48b56f(0x1b2)]=_0x2ea83f;}[_0x7295ad(0x1b8)](_0x46f9ac){const _0x1285ab=_0x7295ad;this[_0x1285ab(0x1a7)]=_0x46f9ac;const _0x7c521d=this[_0x1285ab(0x1de)][_0x1285ab(0x1b0)][_0x1285ab(0x1b4)](_0x2117ca);if(_0x7c521d[_0x1285ab(0x1ad)]=_0x46f9ac,this[_0x1285ab(0x1bb)])throw new _0x4c0b80(_0x1285ab(0x19b),this);this[_0x1285ab(0x1bb)]=!0x0,this[_0x1285ab(0x1e0)](_0x7c521d,_0x1285ab(0x1da),()=>{const _0x4d294f=_0x1285ab;this[_0x4d294f(0x1ba)](),this[_0x4d294f(0x1e0)](_0x7c521d,_0x4d294f(0x1d2),_0x3046c5=>{const _0x227135=_0x4d294f;_0x3046c5[_0x227135(0x1bc)](),this[_0x227135(0x1b8)](_0x46f9ac);});}),_0x7c521d[_0x1285ab(0x1d3)]({'viewClass':_0x1285ab(0x1db)});const _0x5e06bf=_0x17d6a6=>{const _0x58cafc=_0x1285ab;_0x17d6a6[_0x58cafc(0x1b3)](),_0x7c521d[_0x58cafc(0x1a6)](_0x17d6a6);};for(const _0x55fc7c of _0x46f9ac)_0x5e06bf(_0x55fc7c);this[_0x1285ab(0x1e0)](_0x46f9ac,_0x1285ab(0x1df),(_0x3f05b2,_0x6d0a6d)=>{_0x5e06bf(_0x6d0a6d);}),this[_0x1285ab(0x1e0)](_0x46f9ac,_0x1285ab(0x1a0),(_0x2da6df,_0x217cbf,_0x361e5e)=>{const _0x558af6=_0x1285ab;_0x7c521d[_0x558af6(0x1af)]({'removedAnnotation':_0x217cbf,'previousAnnotation':_0x46f9ac[_0x558af6(0x1b4)](_0x361e5e-0x1),'nextAnnotation':_0x46f9ac[_0x558af6(0x1b4)](_0x361e5e+0x1)}),_0x217cbf===this[_0x558af6(0x1b2)]&&this[_0x558af6(0x1c8)](null);},{'priority':_0x1285ab(0x1c4)}),this[_0x1285ab(0x1e0)](_0x46f9ac,_0x1285ab(0x1d0),(_0x4996c9,_0x2ff3d4)=>{const _0x201fb7=_0x1285ab;this[_0x201fb7(0x1c8)](_0x2ff3d4);}),this[_0x1285ab(0x1e0)](_0x46f9ac,_0x1285ab(0x1ab),()=>{const _0x3f95e1=_0x1285ab;this[_0x3f95e1(0x1c8)](null);});const _0x3024ce=this[_0x1285ab(0x1de)]instanceof _0x3d04d7?this[_0x1285ab(0x1de)][_0x1285ab(0x1c3)]:new _0x264841([this[_0x1285ab(0x1de)]]);for(const _0x584de1 of _0x3024ce)this[_0x1285ab(0x1b5)](_0x584de1);this[_0x1285ab(0x1e0)](_0x3024ce,_0x1285ab(0x1df),(_0x556536,_0x33c451)=>{const _0x19f72c=_0x1285ab;this[_0x19f72c(0x1e0)](_0x33c451,_0x19f72c(0x1b6),()=>{const _0x476af4=_0x19f72c;this[_0x476af4(0x1b5)](_0x33c451);});}),this[_0x1285ab(0x1e0)](_0x3024ce,_0x1285ab(0x1a0),(_0x513f17,_0x215028)=>{const _0x33898e=_0x1285ab;_0x215028[_0x33898e(0x1b0)][_0x33898e(0x1a4)](_0x33898e(0x1bd))&&this[_0x33898e(0x1ce)](_0x215028[_0x33898e(0x1b0)][_0x33898e(0x1b4)](_0x33898e(0x1bd)));}),window[_0x1285ab(0x1c1)](_0x1285ab(0x19d),this[_0x1285ab(0x1d4)]),this[_0x1285ab(0x1de)][_0x1285ab(0x1b0)][_0x1285ab(0x1b4)](_0x1285ab(0x1cc))[_0x1285ab(0x19f)](),this[_0x1285ab(0x1a7)][_0x1285ab(0x1cb)]();}[_0x7295ad(0x1ba)](){const _0x46ccf3=_0x7295ad;if(!this[_0x46ccf3(0x1bb)])throw new _0x4c0b80(_0x46ccf3(0x1ac),this);this[_0x46ccf3(0x1c8)](null);const _0x3bf5f1=this[_0x46ccf3(0x1de)][_0x46ccf3(0x1b0)][_0x46ccf3(0x1b4)](_0x2117ca);_0x3bf5f1[_0x46ccf3(0x1a8)](this[_0x46ccf3(0x1a7)]),this[_0x46ccf3(0x1be)](_0x3bf5f1),this[_0x46ccf3(0x1be)](this[_0x46ccf3(0x1a7)]),this[_0x46ccf3(0x1de)]instanceof _0x3d04d7&&this[_0x46ccf3(0x1be)](this[_0x46ccf3(0x1de)][_0x46ccf3(0x1c3)]);for(const _0x4160af of Array[_0x46ccf3(0x1d1)](this[_0x46ccf3(0x1a3)]))this[_0x46ccf3(0x1ce)](_0x4160af);window[_0x46ccf3(0x1a5)](_0x46ccf3(0x19d),this[_0x46ccf3(0x1d4)]),this[_0x46ccf3(0x1d4)][_0x46ccf3(0x1b9)](),this[_0x46ccf3(0x1b2)]=null,this[_0x46ccf3(0x1bb)]=!0x1,this[_0x46ccf3(0x1a7)]=null;}[_0x7295ad(0x198)](){const _0x3a14ab=_0x7295ad;this[_0x3a14ab(0x1bb)]&&this[_0x3a14ab(0x1ba)]();}[_0x7295ad(0x1b5)](_0x57d833){const _0x483844=_0x7295ad;if(!_0x57d833[_0x483844(0x1b0)][_0x483844(0x1a4)](_0x483844(0x1bd)))return;const _0x2c8853=_0x57d833[_0x483844(0x1b0)][_0x483844(0x1b4)](_0x483844(0x1bd)),_0x28f561=()=>{const _0x1379ff=_0x483844,_0x16499b=_0x2c8853[_0x1379ff(0x1c7)]({'annotations':this[_0x1379ff(0x1a7)],'activeAnnotation':this[_0x1379ff(0x1b2)]});this[_0x1379ff(0x1c8)](_0x16499b[0x0]||null);};this[_0x483844(0x1e0)](_0x2c8853,_0x483844(0x1c5),_0x28f561),this[_0x483844(0x1e0)](_0x2c8853,_0x483844(0x1ab),(_0x31ac3c,{isAnnotationTracked:_0x3d0ff3})=>{const _0x391c90=_0x483844;this[_0x391c90(0x1b2)]&&_0x3d0ff3(this[_0x391c90(0x1b2)])&&this[_0x391c90(0x1c8)](null);}),this[_0x483844(0x1e0)](_0x2c8853,_0x483844(0x19a),()=>{const _0x6bd8f7=_0x483844;this[_0x6bd8f7(0x1d4)]();}),this[_0x483844(0x1e0)](this[_0x483844(0x1a7)],_0x483844(0x1ab),_0x3bf533=>{const _0x5f4b2=_0x483844;_0x2c8853[_0x5f4b2(0x1d6)]()&&(_0x28f561(),_0x3bf533[_0x5f4b2(0x1ca)]());},{'priority':_0x483844(0x1c4)}),this[_0x483844(0x1a3)][_0x483844(0x1df)](_0x2c8853);}[_0x7295ad(0x1ce)](_0x2d308f){const _0x4b55f8=_0x7295ad;this[_0x4b55f8(0x1be)](_0x2d308f),this[_0x4b55f8(0x1a3)][_0x4b55f8(0x1a0)](_0x2d308f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x365e1f=_0x30d7;function _0x162e(){const _0x576c7a=['get','_hasContent','addCommentThread','push','item','length','refresh','start','$textProxy','end','createRange','45382ZdbTJX','getLastMatchingPosition','16907280ZZdUTb','element','_itemIsContent','4685750SyWwPm','_createCommentThread','document','config','CommentsRepository','backward','model','addMarker','4GbJaop','collaboration.channelId','isObject','9MKxwUX','getItems','isEnabled','getRanges','700688UtgUdv','editor','_trimToContent','30oCZTzi','714320nHRWZJ','56KZtJXT','tableCell','addcommentthreadcommand-user-not-found','change','2819559VmowIJ','Users','set','execute','addcommentthreadcommand-incorrect-ranges','schema','hasContent','53rgmjCH','9108055AdXreJ','substr','comment:','_createMarkersFromRanges','plugins','selection','from'];_0x162e=function(){return _0x576c7a;};return _0x162e();}function _0x30d7(_0x41e48d,_0x398d53){const _0x162e1b=_0x162e();return _0x30d7=function(_0x30d73d,_0x411bd6){_0x30d73d=_0x30d73d-0xf4;let _0x491c84=_0x162e1b[_0x30d73d];return _0x491c84;},_0x30d7(_0x41e48d,_0x398d53);}(function(_0x4a61e7,_0x204bad){const _0x3dd65a=_0x30d7,_0xef990d=_0x4a61e7();while(!![]){try{const _0x2bbbd9=parseInt(_0x3dd65a(0x119))/0x1*(-parseInt(_0x3dd65a(0xf5))/0x2)+parseInt(_0x3dd65a(0x112))/0x3*(parseInt(_0x3dd65a(0x102))/0x4)+parseInt(_0x3dd65a(0x10d))/0x5*(-parseInt(_0x3dd65a(0x10c))/0x6)+parseInt(_0x3dd65a(0x10e))/0x7*(parseInt(_0x3dd65a(0x109))/0x8)+-parseInt(_0x3dd65a(0x105))/0x9*(-parseInt(_0x3dd65a(0xfa))/0xa)+-parseInt(_0x3dd65a(0x11a))/0xb+parseInt(_0x3dd65a(0xf7))/0xc;if(_0x2bbbd9===_0x204bad)break;else _0xef990d['push'](_0xef990d['shift']());}catch(_0x5e5002){_0xef990d['push'](_0xef990d['shift']());}}}(_0x162e,0xbcbf4));import{Command as _0x5a4982}from'ckeditor5/src/core.js';import{uid as _0x252c75,CKEditorError as _0xa69510}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x5a4982{constructor(_0x261768){const _0xdc4662=_0x30d7;super(_0x261768),this[_0xdc4662(0x114)](_0xdc4662(0x118),!0x1);}[_0x365e1f(0x127)](){const _0x3708a6=_0x365e1f,_0x3377f9=this[_0x3708a6(0x10a)][_0x3708a6(0x100)][_0x3708a6(0xfc)][_0x3708a6(0x11f)];this[_0x3708a6(0x107)]=!0x0,this[_0x3708a6(0x118)]=!0x1;for(const _0x1ad915 of _0x3377f9[_0x3708a6(0x108)]())if(this[_0x3708a6(0x122)](_0x1ad915))return void(this[_0x3708a6(0x118)]=!0x0);}[_0x365e1f(0x115)]({threadId:_0x31a652=_0x252c75(),ranges:_0x518124,comment:_0xe4ceaa}={}){const _0x4d7fdc=_0x365e1f,_0x3a86e5=this[_0x4d7fdc(0x10a)][_0x4d7fdc(0x100)],_0x3ce6d9=_0x518124??Array[_0x4d7fdc(0x120)](_0x3a86e5[_0x4d7fdc(0xfc)][_0x4d7fdc(0x11f)][_0x4d7fdc(0x108)]()),_0x365858=[];for(const _0x8e7374 of _0x3ce6d9)this[_0x4d7fdc(0x122)](_0x8e7374)&&_0x365858[_0x4d7fdc(0x124)](this[_0x4d7fdc(0x10b)](_0x8e7374));if(!_0x365858[_0x4d7fdc(0x126)])throw new _0xa69510(_0x4d7fdc(0x116),null);_0xe4ceaa&&this[_0x4d7fdc(0xfb)](_0x31a652,_0xe4ceaa),this[_0x4d7fdc(0x11d)](_0x31a652,_0x365858,!!_0xe4ceaa);}[_0x365e1f(0x11d)](_0x13dbdc,_0x4d8e4d,_0x19c06c){const _0x497655=_0x365e1f;this[_0x497655(0x10a)][_0x497655(0x100)][_0x497655(0x111)](_0x1e3d1d=>{const _0x3b65e9=_0x497655;for(const _0x521ef8 of _0x4d8e4d){const _0x28ca2b=_0x252c75()[_0x3b65e9(0x11b)](0x1,0x5),_0x204f46=_0x3b65e9(0x11c)+_0x13dbdc+':'+_0x28ca2b;_0x1e3d1d[_0x3b65e9(0x101)](_0x204f46,{'range':_0x521ef8,'usingOperation':_0x19c06c,'affectsData':_0x19c06c});}});}[_0x365e1f(0xfb)](_0x3c5c36,_0x1a9502){const _0x20ecf5=_0x365e1f,_0x58f18e=this[_0x20ecf5(0x10a)][_0x20ecf5(0x11e)][_0x20ecf5(0x121)](_0x20ecf5(0xfe)),_0xbfb587=this[_0x20ecf5(0x10a)][_0x20ecf5(0xfd)][_0x20ecf5(0x121)](_0x20ecf5(0x103)),_0x3efe5f=this[_0x20ecf5(0x10a)][_0x20ecf5(0x11e)][_0x20ecf5(0x121)](_0x20ecf5(0x113))['me'];if(!_0x3efe5f)throw new _0xa69510(_0x20ecf5(0x110),null);_0x58f18e[_0x20ecf5(0x123)]({'threadId':_0x3c5c36,'channelId':_0xbfb587,'comments':[{'authorId':_0x3efe5f['id'],'content':_0x1a9502,'createdAt':new Date(),'attributes':{}}]});}[_0x365e1f(0x122)](_0x1dac87){const _0x2f7421=_0x365e1f;for(const _0x558da3 of _0x1dac87[_0x2f7421(0x106)]())if(this[_0x2f7421(0xf9)](_0x558da3))return!0x0;return!0x1;}[_0x365e1f(0xf9)](_0x1f7002){const _0x4024bc=_0x365e1f;return _0x1f7002['is'](_0x4024bc(0x129))||this[_0x4024bc(0x10a)][_0x4024bc(0x100)][_0x4024bc(0x117)][_0x4024bc(0x104)](_0x1f7002)&&!_0x1f7002['is'](_0x4024bc(0xf8),_0x4024bc(0x10f));}[_0x365e1f(0x10b)](_0x8a2641){const _0x59c81e=_0x365e1f,_0xaa6ec2=_0x231b58=>!this[_0x59c81e(0xf9)](_0x231b58[_0x59c81e(0x125)]),_0x189e8e=_0x8a2641[_0x59c81e(0x128)][_0x59c81e(0xf6)](_0xaa6ec2),_0x3525c3=_0x8a2641[_0x59c81e(0x12a)][_0x59c81e(0xf6)](_0xaa6ec2,{'direction':_0x59c81e(0xff)});return this[_0x59c81e(0x10a)][_0x59c81e(0x100)][_0x59c81e(0xf4)](_0x189e8e,_0x3525c3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x58aadb=_0x16e3;(function(_0x2ba672,_0x302231){const _0x41368b=_0x16e3,_0x375e52=_0x2ba672();while(!![]){try{const _0x35e45a=parseInt(_0x41368b(0x1c7))/0x1+parseInt(_0x41368b(0x1b1))/0x2+parseInt(_0x41368b(0x1c4))/0x3+-parseInt(_0x41368b(0x1ca))/0x4*(-parseInt(_0x41368b(0x1c3))/0x5)+parseInt(_0x41368b(0x1b8))/0x6+parseInt(_0x41368b(0x1cc))/0x7*(parseInt(_0x41368b(0x1c2))/0x8)+-parseInt(_0x41368b(0x1d3))/0x9;if(_0x35e45a===_0x302231)break;else _0x375e52['push'](_0x375e52['shift']());}catch(_0x163629){_0x375e52['push'](_0x375e52['shift']());}}}(_0x4707,0x1f538));import{ContextPlugin as _0x3f7967}from'ckeditor5/src/core.js';import{Collection as _0x2ca8e1}from'ckeditor5/src/utils.js';function _0x16e3(_0x16cae1,_0x2b6015){const _0x4707f8=_0x4707();return _0x16e3=function(_0x16e308,_0x23efec){_0x16e308=_0x16e308-0x1af;let _0x5c55f6=_0x4707f8[_0x16e308];return _0x5c55f6;},_0x16e3(_0x16cae1,_0x2b6015);}import{CommentsRepository as _0x125461}from'./commentsrepository.js';import{Annotations as _0x487468}from'../annotations/annotations.js';function _0x4707(){const _0x77f4a6=['context','get','5312817BfZBTS','length','getCommentThread','CommentsArchive','63704eOSxKj','isPremiumPlugin','archivedAt','has','archivedThreads','plugins','listenTo','1510494woBjSF','isOfficialPlugin','isVisible','findIndex','addCommentThread','add','_calculatePosition','requires','pluginName','removeCommentThread','400gvNvTW','1272475WVWdjm','39987WJtLsK','stopListening','collection','157000BrVkpG','init','isActive','4eChgPl','remove','1428FnymBv','focus','change:archivedAt','activate','highest'];_0x4707=function(){return _0x77f4a6;};return _0x4707();}export class CommentsArchive extends _0x3f7967{static get[_0x58aadb(0x1c0)](){const _0x38efaa=_0x58aadb;return _0x38efaa(0x1b0);}static get[_0x58aadb(0x1b9)](){return!0x0;}static get[_0x58aadb(0x1b2)](){return!0x0;}static get[_0x58aadb(0x1bf)](){return[_0x125461,_0x487468];}constructor(_0x1f0118){const _0x586649=_0x58aadb;super(_0x1f0118),this[_0x586649(0x1b5)]=new _0x2ca8e1();}[_0x58aadb(0x1c8)](){const _0x402dcc=_0x58aadb,_0x2c420e=this[_0x402dcc(0x1d1)],_0xbaaf29=_0x2c420e[_0x402dcc(0x1b6)][_0x402dcc(0x1d2)](_0x125461),_0x1d79fe=_0x2c420e[_0x402dcc(0x1b6)][_0x402dcc(0x1d2)](_0x487468);this[_0x402dcc(0x1b7)](_0xbaaf29,_0x402dcc(0x1bc),(_0x5bcc8a,{threadId:_0x39ecd3})=>{const _0x14324a=_0x402dcc,_0x68d813=_0xbaaf29[_0x14324a(0x1af)](_0x39ecd3);_0x68d813[_0x14324a(0x1b3)]&&this[_0x14324a(0x1b5)][_0x14324a(0x1bd)](_0x68d813,this[_0x14324a(0x1be)](_0x68d813[_0x14324a(0x1b3)])),this[_0x14324a(0x1b7)](_0x68d813,_0x14324a(0x1ce),(_0x25cafd,_0x5ac864,_0x38e109)=>{const _0x385e75=_0x14324a;_0x38e109?this[_0x385e75(0x1b5)][_0x385e75(0x1b4)](_0x68d813)||this[_0x385e75(0x1b5)][_0x385e75(0x1bd)](_0x68d813,this[_0x385e75(0x1be)](_0x68d813[_0x385e75(0x1b3)])):this[_0x385e75(0x1b5)][_0x385e75(0x1b4)](_0x68d813)&&this[_0x385e75(0x1b5)][_0x385e75(0x1cb)](_0x68d813);});}),this[_0x402dcc(0x1b7)](_0xbaaf29,_0x402dcc(0x1c1),(_0x44c6c7,{threadId:_0x2b1153})=>{const _0x1cb93a=_0x402dcc,_0xffb7a7=_0xbaaf29[_0x1cb93a(0x1af)](_0x2b1153);this[_0x1cb93a(0x1c5)](_0xffb7a7),this[_0x1cb93a(0x1b5)][_0x1cb93a(0x1b4)](_0xffb7a7)&&this[_0x1cb93a(0x1b5)][_0x1cb93a(0x1cb)](_0xffb7a7);},{'priority':_0x402dcc(0x1d0)}),this[_0x402dcc(0x1b7)](_0x1d79fe[_0x402dcc(0x1c6)],_0x402dcc(0x1cd),(_0x17e1c0,_0x3223cd)=>{const _0x1eca6d=_0x402dcc;_0x3223cd[_0x1eca6d(0x1ba)]||(_0x3223cd[_0x1eca6d(0x1c9)]=!0x0,_0x1d79fe[_0x1eca6d(0x1cf)](_0x3223cd));});}[_0x58aadb(0x1be)](_0x89468b){const _0x1347af=_0x58aadb,_0x15f4ad=[...this[_0x1347af(0x1b5)]][_0x1347af(0x1bb)](_0x23609c=>_0x23609c[_0x1347af(0x1b3)]<_0x89468b);return _0x15f4ad>-0x1?_0x15f4ad:this[_0x1347af(0x1b5)][_0x1347af(0x1d4)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27b951=_0x1960;function _0x1960(_0x47ff48,_0x3e1224){const _0x5c9a5e=_0x5c9a();return _0x1960=function(_0x1960cb,_0x44bb34){_0x1960cb=_0x1960cb-0x1d7;let _0x41f9bd=_0x5c9a5e[_0x1960cb];return _0x41f9bd;},_0x1960(_0x47ff48,_0x3e1224);}(function(_0xe8a306,_0x3b30e2){const _0x47fc7e=_0x1960,_0x17d8ad=_0xe8a306();while(!![]){try{const _0x1d5ddd=-parseInt(_0x47fc7e(0x1dd))/0x1*(parseInt(_0x47fc7e(0x1d9))/0x2)+-parseInt(_0x47fc7e(0x222))/0x3+parseInt(_0x47fc7e(0x200))/0x4*(parseInt(_0x47fc7e(0x223))/0x5)+-parseInt(_0x47fc7e(0x208))/0x6+parseInt(_0x47fc7e(0x1de))/0x7*(-parseInt(_0x47fc7e(0x1f5))/0x8)+-parseInt(_0x47fc7e(0x21a))/0x9*(-parseInt(_0x47fc7e(0x1d8))/0xa)+parseInt(_0x47fc7e(0x211))/0xb;if(_0x1d5ddd===_0x3b30e2)break;else _0x17d8ad['push'](_0x17d8ad['shift']());}catch(_0x528f23){_0x17d8ad['push'](_0x17d8ad['shift']());}}}(_0x5c9a,0x9bd28));import'../../theme/commentsarchive.css';function _0x5c9a(){const _0x162cbf=['Dialog','4188720YtqDun','isEnabled','set','_threadToController','escape','_createCommentsArchiveButton','channelId','init','stopListening','20662268rERoCy','_pendingThreads','indexOf','pluginName','forEach','commentsArchiveView','menuitemcheckbox','has','findIndex','135ElXspR','splice','add','execute','isVisible','remove','annotationViews','_hideDialogOnAnnotationEscape','2527509PjxrIR','4012620rhWGVk','set:isVisible','show','collaboration.channelId','EDITOR_TOP_SIDE','303910fLGyUo','62knajVB','requires','isOpen','hide','27466lalaFS','74522xTDtGj','filter','archivedThreads','COMMENTS_ARCHIVE','isOfficialPlugin','push','stop','Annotations','listenTo','_addAnnotationToArchive','isPremiumPlugin','config','componentFactory','CommentsArchiveUI','commentsArchive','bind','CommentsRepository','find','focusableElements','return','collection','_handleNewThread','view','80RSTHSv','isOn','innerView','editor','menuBar:commentsArchive','source','get','_toggleDialog','plugins','_calculatePosition','archivedAt','4WDPYgp','tooltip','_visibleAnnotations','length','locale','includes','getByInnerView'];_0x5c9a=function(){return _0x162cbf;};return _0x5c9a();}import{Plugin as _0x3a5de3}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x309550}from'ckeditor5/src/icons.js';import{ViewCollection as _0xb426a7,MenuBarMenuListItemButtonView as _0x12a77d,ButtonView as _0x3d100d,Dialog as _0x3558bf,DialogViewPosition as _0xa32c96}from'ckeditor5/src/ui.js';import{getTranslation as _0x214155}from'../utils/common-translations.js';import{CommentsArchiveView as _0xa5e8c8}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x4fd0d8}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x3a5de3{[_0x27b951(0x216)];[_0x27b951(0x220)];[_0x27b951(0x212)];static get[_0x27b951(0x214)](){const _0xef9495=_0x27b951;return _0xef9495(0x1eb);}static get[_0x27b951(0x1e2)](){return!0x0;}static get[_0x27b951(0x1e8)](){return!0x0;}static get[_0x27b951(0x1da)](){return[_0x4fd0d8,_0x3558bf];}constructor(_0xaedd40){const _0x4d7fad=_0x27b951;super(_0xaedd40),this[_0x4d7fad(0x220)]=new _0xb426a7(),this[_0x4d7fad(0x212)]=[];}[_0x27b951(0x20f)](){const _0x23b78a=_0x27b951,_0x5acd71=this[_0x23b78a(0x1f8)],_0x5d894e=this[_0x23b78a(0x221)][_0x23b78a(0x1ed)](this);_0x5acd71['ui'][_0x23b78a(0x1ea)][_0x23b78a(0x21c)](_0x23b78a(0x1ec),()=>this[_0x23b78a(0x20d)](_0x3d100d,!0x0)),_0x5acd71['ui'][_0x23b78a(0x1ea)][_0x23b78a(0x21c)](_0x23b78a(0x1f9),()=>{const _0x323083=_0x23b78a,_0x2d4025=this[_0x323083(0x20d)](_0x12a77d);return _0x2d4025[_0x323083(0x20a)]({'role':_0x323083(0x217)}),_0x2d4025;});const _0x442980=_0x5acd71[_0x23b78a(0x1fd)][_0x23b78a(0x1fb)](_0x4fd0d8),_0x346b1a=_0x5acd71[_0x23b78a(0x1fd)][_0x23b78a(0x1fb)](_0x23b78a(0x1e5)),_0x534335=_0x5acd71[_0x23b78a(0x1fd)][_0x23b78a(0x1fb)](_0x23b78a(0x1ee));_0x442980[_0x23b78a(0x1e0)][_0x23b78a(0x215)](_0x5ac3bb=>{const _0x5180e4=_0x23b78a;this[_0x5180e4(0x1f3)](_0x5ac3bb);}),this[_0x23b78a(0x1e6)](_0x442980[_0x23b78a(0x1e0)],_0x23b78a(0x21c),(_0x176f5d,_0x2cb2bd)=>{const _0x5e785b=_0x23b78a;this[_0x5e785b(0x1f3)](_0x2cb2bd);}),this[_0x23b78a(0x1e6)](_0x346b1a[_0x23b78a(0x1f2)],_0x23b78a(0x21c),(_0x42fe22,_0x5e711e)=>{const _0x5c2c35=_0x23b78a,_0x1c7235=this[_0x5c2c35(0x212)][_0x5c2c35(0x1ef)](_0x560d22=>{const _0x67702=_0x5c2c35,_0x54efd0=_0x534335[_0x67702(0x20b)][_0x67702(0x1fb)](_0x560d22);return _0x54efd0&&_0x5e711e[_0x67702(0x1f7)]===_0x54efd0[_0x67702(0x1f4)];});if(_0x1c7235){const _0x751daa=this[_0x5c2c35(0x1fe)](_0x1c7235[_0x5c2c35(0x1ff)]);this[_0x5c2c35(0x1e7)](_0x5e711e,_0x751daa),this[_0x5c2c35(0x212)][_0x5c2c35(0x21b)](this[_0x5c2c35(0x212)][_0x5c2c35(0x213)](_0x1c7235),0x1);}}),this[_0x23b78a(0x1e6)](_0x442980[_0x23b78a(0x1e0)],_0x23b78a(0x21f),(_0x23e06f,_0x1e0008)=>{const _0x186e38=_0x23b78a,_0x45d2f0=_0x5acd71[_0x186e38(0x1e9)][_0x186e38(0x1fb)](_0x186e38(0x226));if(!_0x45d2f0||_0x1e0008[_0x186e38(0x20e)]===_0x45d2f0){if(this[_0x186e38(0x212)][_0x186e38(0x205)](_0x1e0008))this[_0x186e38(0x212)][_0x186e38(0x21b)](this[_0x186e38(0x212)][_0x186e38(0x213)](_0x1e0008),0x1);else{const _0x3ef980=_0x534335[_0x186e38(0x20b)][_0x186e38(0x1fb)](_0x1e0008),_0x4a726e=_0x346b1a[_0x186e38(0x206)](_0x3ef980[_0x186e38(0x1f4)]);this[_0x186e38(0x220)][_0x186e38(0x21f)](_0x4a726e[_0x186e38(0x1f4)]),this[_0x186e38(0x210)](_0x4a726e),this[_0x186e38(0x210)](_0x4a726e[_0x186e38(0x1f0)]);}}}),this[_0x23b78a(0x1e6)](_0x346b1a[_0x23b78a(0x1f2)],_0x23b78a(0x21c),(_0x54b72b,_0x59cf03)=>{const _0x2261df=_0x23b78a;this[_0x2261df(0x1e6)](_0x59cf03,_0x2261df(0x20c),_0x5d894e);}),this[_0x23b78a(0x1e6)](_0x346b1a[_0x23b78a(0x1f2)],_0x23b78a(0x21f),(_0x23a449,_0x1a4d3a)=>{const _0x52d2ab=_0x23b78a;this[_0x52d2ab(0x210)](_0x1a4d3a,_0x52d2ab(0x20c),_0x5d894e);});}[_0x27b951(0x1e7)](_0x480e71,_0x40f43f){const _0x8110d2=_0x27b951;this[_0x8110d2(0x1e6)](_0x480e71,_0x8110d2(0x224),_0x1cb088=>{const _0x319811=_0x8110d2;_0x1cb088[_0x319811(0x1f1)]=!0x1,_0x1cb088[_0x319811(0x1e4)]();}),this[_0x8110d2(0x220)][_0x8110d2(0x21c)](_0x480e71[_0x8110d2(0x1f4)],_0x40f43f);}[_0x27b951(0x1f3)](_0x3d44e0){const _0x5d8d6a=_0x27b951,_0xef978e=this[_0x5d8d6a(0x1f8)][_0x5d8d6a(0x1fd)][_0x5d8d6a(0x1fb)](_0x5d8d6a(0x1ee)),_0x2cc111=this[_0x5d8d6a(0x1f8)][_0x5d8d6a(0x1fd)][_0x5d8d6a(0x1fb)](_0x5d8d6a(0x1e5)),_0x107fef=this[_0x5d8d6a(0x1f8)][_0x5d8d6a(0x1e9)][_0x5d8d6a(0x1fb)](_0x5d8d6a(0x226));if(!_0x107fef||_0x3d44e0[_0x5d8d6a(0x20e)]===_0x107fef){const _0x356206=_0xef978e[_0x5d8d6a(0x20b)][_0x5d8d6a(0x1fb)](_0x3d44e0);if(!_0x356206)return void this[_0x5d8d6a(0x212)][_0x5d8d6a(0x1e3)](_0x3d44e0);const _0xb5503e=this[_0x5d8d6a(0x1fe)](_0x3d44e0[_0x5d8d6a(0x1ff)]),_0x458b16=_0x2cc111[_0x5d8d6a(0x206)](_0x356206[_0x5d8d6a(0x1f4)]);_0x458b16[_0x5d8d6a(0x21e)]&&_0x2cc111[_0x5d8d6a(0x202)][_0x5d8d6a(0x21f)](_0x458b16),this[_0x5d8d6a(0x1e7)](_0x458b16,_0xb5503e);}}[_0x27b951(0x1fe)](_0x384d17){const _0x51cf13=_0x27b951,_0x359227=this[_0x51cf13(0x1f8)][_0x51cf13(0x1e9)][_0x51cf13(0x1fb)](_0x51cf13(0x226)),_0x230155=[...this[_0x51cf13(0x1f8)][_0x51cf13(0x1fd)][_0x51cf13(0x1fb)](_0x4fd0d8)[_0x51cf13(0x1e0)]][_0x51cf13(0x1df)](_0x5ef779=>_0x5ef779[_0x51cf13(0x20e)]===_0x359227)[_0x51cf13(0x219)](_0x125a0b=>_0x125a0b[_0x51cf13(0x1ff)]<_0x384d17);return _0x230155<0x0||_0x230155>this[_0x51cf13(0x220)][_0x51cf13(0x203)]?this[_0x51cf13(0x220)][_0x51cf13(0x203)]:_0x230155-0x1;}[_0x27b951(0x1fc)](){const _0xefea86=_0x27b951,_0x2809e7=this[_0xefea86(0x1f8)],_0x832c3e=_0x2809e7[_0xefea86(0x1fd)][_0xefea86(0x1fb)](_0xefea86(0x207));this[_0xefea86(0x216)]||(this[_0xefea86(0x216)]=new _0xa5e8c8(_0x2809e7[_0xefea86(0x204)],this[_0xefea86(0x220)])),_0xefea86(0x1ec)===_0x832c3e['id']?_0x832c3e[_0xefea86(0x1dc)]():_0x832c3e[_0xefea86(0x225)]({'id':_0xefea86(0x1ec),'title':_0x214155(_0x2809e7[_0xefea86(0x204)],_0xefea86(0x1e1)),'icon':_0x309550,'hasCloseButton':!0x0,'content':this[_0xefea86(0x216)],'position':_0xa32c96[_0xefea86(0x1d7)]});}[_0x27b951(0x20d)](_0x416502,_0x457524=!0x1){const _0x516169=_0x27b951,_0x3c2783=this[_0x516169(0x1f8)][_0x516169(0x204)],_0xa358c5=this[_0x516169(0x1f8)][_0x516169(0x1fd)][_0x516169(0x1fb)](_0x516169(0x207)),_0x46fa55=new _0x416502(_0x3c2783);return _0x46fa55[_0x516169(0x1ed)](_0x516169(0x209))['to'](this,_0x516169(0x209)),_0x46fa55[_0x516169(0x1ed)](_0x516169(0x1f6))['to'](_0xa358c5,'id',_0x227520=>_0x516169(0x1ec)===_0x227520),_0x46fa55[_0x516169(0x20a)]({'label':_0x214155(_0x3c2783,_0x516169(0x1e1)),'icon':_0x309550,'isToggleable':!0x0}),_0x457524&&(_0x46fa55[_0x516169(0x201)]=!0x0),this[_0x516169(0x1e6)](_0x46fa55,_0x516169(0x21d),()=>this[_0x516169(0x1fc)]()),_0x46fa55;}[_0x27b951(0x221)]=_0x44258e=>{const _0x121cab=_0x27b951,_0x3d395a=_0x44258e[_0x121cab(0x1fa)];if(!this[_0x121cab(0x220)][_0x121cab(0x218)](_0x3d395a[_0x121cab(0x1f4)]))return;const _0x2843b4=this[_0x121cab(0x1f8)][_0x121cab(0x1fd)][_0x121cab(0x1fb)](_0x121cab(0x207));_0x2843b4[_0x121cab(0x1db)]&&_0x121cab(0x1ec)===_0x2843b4['id']&&(_0x2843b4[_0x121cab(0x1dc)](),_0x44258e[_0x121cab(0x1e4)]());};}
|