@ckeditor/ckeditor5-comments 47.1.0 → 47.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _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 _0x5d6499=_0x11aa;(function(_0x4f4752,_0x5549e6){const _0x246b11=_0x11aa,_0x18ae76=_0x4f4752();while(!![]){try{const _0x2db3c5=parseInt(_0x246b11(0x169))/0x1*(-parseInt(_0x246b11(0x15c))/0x2)+-parseInt(_0x246b11(0x129))/0x3+parseInt(_0x246b11(0x165))/0x4*(parseInt(_0x246b11(0x149))/0x5)+-parseInt(_0x246b11(0x17a))/0x6*(-parseInt(_0x246b11(0x127))/0x7)+parseInt(_0x246b11(0x135))/0x8*(parseInt(_0x246b11(0x146))/0x9)+-parseInt(_0x246b11(0x152))/0xa*(parseInt(_0x246b11(0x120))/0xb)+parseInt(_0x246b11(0x15d))/0xc*(parseInt(_0x246b11(0x12d))/0xd);if(_0x2db3c5===_0x5549e6)break;else _0x18ae76['push'](_0x18ae76['shift']());}catch(_0x57b1e6){_0x18ae76['push'](_0x18ae76['shift']());}}}(_0x562e,0xdcee8));import{ContextPlugin as _0x4827cd}from'ckeditor5/src/core.js';import{Rect as _0x504b59,CKEditorError as _0x3c707e}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x38643c}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x25fdad}from'./view/sidebaritemview.js';function _0x11aa(_0x5b8598,_0x516be7){const _0x562e7a=_0x562e();return _0x11aa=function(_0x11aa0a,_0x40b183){_0x11aa0a=_0x11aa0a-0x11e;let _0x5ac60c=_0x562e7a[_0x11aa0a];return _0x5ac60c;},_0x11aa(_0x5b8598,_0x516be7);}function _0x562e(){const _0x39c908=['addAnnotation','135515jADKhN','change:targetRect','_getItemAfter','_detachFromContainer','view','_updateLastItem','change:_lastItem','add','_targetTop','rearrange','context','content','set','sidebar.preventScrollOutOfView','targetRect','setContainer','_recalculateBuffer','6XsjIUA','Sidebar','_getMaxAvailableTop','updateHeight','460592BezONw','destroy','get','locale','_alignAfterItem','init','target','8007769TnHSlB','_attachToContainer','1252461gyiUmG','stopListening','length','_annotations','139399rCWldS','_spaceBetweenItems','define','_sidebarItemViewToAnnotation','bottom','_destroySidebarItemView','class','sidebar-attachtocontainer-missing-container','8InZdMB','getIndex','_alignForTopChange','_createSidebarView','element','clear','list','push','sidebar-setcontainer-invalid-element','container','isPremiumPlugin','_recalculate','listenTo','object','_annotationToSidebarItemView','bind','_alignForBottomChange','12308697HTaeIp','refresh','unbind','9765kxYNGC','change:top','max','appendChild','config','sidebar.container','_getItemBefore','nodeType','getSidebarItemView','310SZElre','_alignToTargetRect','isAnimationDisabled','remove','render','isActive','top','_lastItem','_alignBeforeItem','_activeAnnotation','10MPAYqQ','408gCULnv','height','change:bottom','delete','isOfficialPlugin','pluginName','last','minHeight','864vpfqxb','_setItemTop','_getTargetTop'];_0x562e=function(){return _0x39c908;};return _0x562e();}export class Sidebar extends _0x4827cd{[_0x5d6499(0x16d)];[_0x5d6499(0x15b)];[_0x5d6499(0x12c)];[_0x5d6499(0x12e)];[_0x5d6499(0x130)];[_0x5d6499(0x143)];[_0x5d6499(0x179)];static get[_0x5d6499(0x162)](){const _0x10db06=_0x5d6499;return _0x10db06(0x17b);}static get[_0x5d6499(0x161)](){return!0x0;}static get[_0x5d6499(0x13f)](){return!0x0;}constructor(_0x3300ed){const _0x29dfc0=_0x5d6499;super(_0x3300ed),this[_0x29dfc0(0x175)](_0x29dfc0(0x159),void 0x0),this[_0x29dfc0(0x16d)]=this[_0x29dfc0(0x138)](),this[_0x29dfc0(0x175)](_0x29dfc0(0x13e),null),this[_0x29dfc0(0x12e)]=0x19,this[_0x29dfc0(0x130)]=new Map(),this[_0x29dfc0(0x143)]=new Map(),this[_0x29dfc0(0x173)][_0x29dfc0(0x14d)][_0x29dfc0(0x12f)](_0x29dfc0(0x176),!0x1),this[_0x29dfc0(0x12c)]=null,this[_0x29dfc0(0x15b)]=null,this[_0x29dfc0(0x179)]=[];}[_0x5d6499(0x125)](){const _0x3c118b=_0x5d6499,_0x25ca1e=this[_0x3c118b(0x173)][_0x3c118b(0x14d)][_0x3c118b(0x122)](_0x3c118b(0x14e));_0x25ca1e&&this[_0x3c118b(0x178)](_0x25ca1e);}[_0x5d6499(0x178)](_0x108c75){const _0x230448=_0x5d6499;if(!g(_0x108c75))throw new _0x3c707e(_0x230448(0x13d));this[_0x230448(0x13e)]=_0x108c75;}[_0x5d6499(0x128)]({viewClass:_0x224da2='',spaceBetweenItems:_0x830e5c=0x19}={}){const _0x1ad527=_0x5d6499;if(!g(this[_0x1ad527(0x13e)]))throw new _0x3c707e(_0x1ad527(0x134),this);this[_0x1ad527(0x13e)][_0x1ad527(0x14c)](this[_0x1ad527(0x16d)][_0x1ad527(0x139)]),this[_0x1ad527(0x16d)][_0x1ad527(0x133)]=_0x224da2,this[_0x1ad527(0x12e)]=_0x830e5c;}[_0x5d6499(0x172)]({removedAnnotation:_0x330b25,previousAnnotation:_0xef2f67,nextAnnotation:_0x5c9da3}){const _0x15148e=_0x5d6499,_0x3f0076=this[_0x15148e(0x151)](_0x330b25);this[_0x15148e(0x16d)][_0x15148e(0x13b)][_0x15148e(0x155)](_0x3f0076),this[_0x15148e(0x132)](_0x330b25),_0xef2f67&&this[_0x15148e(0x153)](this[_0x15148e(0x151)](_0xef2f67)),_0x5c9da3&&this[_0x15148e(0x153)](this[_0x15148e(0x151)](_0x5c9da3)),this[_0x15148e(0x16e)]();}[_0x5d6499(0x147)]({blurredAnnotation:_0x4a8bb5,activatedAnnotation:_0x58e74b,disableAnimationOnActivatedAnnotation:_0xbb91e9}){const _0x448680=_0x5d6499;if(this[_0x448680(0x15b)]=_0x58e74b,_0x4a8bb5){_0x4a8bb5[_0x448680(0x157)]=!0x1;const _0x2f0bb9=this[_0x448680(0x151)](_0x4a8bb5);_0x2f0bb9&&_0xbb91e9&&(_0x2f0bb9[_0x448680(0x154)]=!0x1);}if(_0x58e74b){const _0x19f39c=this[_0x448680(0x151)](_0x58e74b);_0x19f39c&&(_0x58e74b[_0x448680(0x157)]=!0x0,_0xbb91e9&&(_0x19f39c[_0x448680(0x154)]=!0x0,_0x19f39c[_0x448680(0x158)]+=0x1),this[_0x448680(0x153)](_0x19f39c));}}[_0x5d6499(0x16c)](_0x2c2e4c){const _0x991397=_0x5d6499;if(this[_0x991397(0x16d)][_0x991397(0x139)][_0x991397(0x155)](),_0x2c2e4c){for(const _0x20a14b of _0x2c2e4c)this[_0x991397(0x132)](_0x20a14b);}this[_0x991397(0x16d)][_0x991397(0x13b)][_0x991397(0x13a)](),this[_0x991397(0x16d)][_0x991397(0x133)]='',this[_0x991397(0x159)]=null;}[_0x5d6499(0x168)](_0x2d05cc,_0x1338ef){const _0x2cd2e3=_0x5d6499;_0x1338ef||(_0x1338ef=_0x2d05cc[_0x2cd2e3(0x16d)]);const _0x4e7ee0=new _0x25fdad(this[_0x2cd2e3(0x173)][_0x2cd2e3(0x123)]);this[_0x2cd2e3(0x130)][_0x2cd2e3(0x175)](_0x4e7ee0,_0x2d05cc),this[_0x2cd2e3(0x143)][_0x2cd2e3(0x175)](_0x2d05cc,_0x4e7ee0),_0x4e7ee0[_0x2cd2e3(0x174)][_0x2cd2e3(0x170)](_0x1338ef),this[_0x2cd2e3(0x141)](_0x2d05cc[_0x2cd2e3(0x16d)],_0x2cd2e3(0x16a),(_0x40a750,_0x5d454a,_0x260bea)=>{const _0x40bb6f=_0x2cd2e3,_0x4d44b2=this[_0x40bb6f(0x167)](_0x2d05cc,_0x260bea);_0x4e7ee0[_0x40bb6f(0x171)]!=_0x4d44b2&&(_0x4e7ee0[_0x40bb6f(0x171)]=_0x4d44b2,this[_0x40bb6f(0x166)](_0x4e7ee0,_0x4d44b2));}),this[_0x2cd2e3(0x141)](_0x4e7ee0,_0x2cd2e3(0x14a),()=>{const _0x63265d=_0x2cd2e3;this[_0x63265d(0x140)](_0x4e7ee0,_0x63265d(0x158));}),this[_0x2cd2e3(0x141)](_0x4e7ee0,_0x2cd2e3(0x15f),()=>{const _0x502e6f=_0x2cd2e3;this[_0x502e6f(0x140)](_0x4e7ee0,_0x502e6f(0x131));}),this[_0x2cd2e3(0x153)](_0x4e7ee0);const _0x944bc1=this[_0x2cd2e3(0x14f)](_0x4e7ee0);if(_0x944bc1)this[_0x2cd2e3(0x124)](_0x944bc1,_0x4e7ee0)||this[_0x2cd2e3(0x153)](_0x4e7ee0);else this[_0x2cd2e3(0x153)](_0x4e7ee0);return this[_0x2cd2e3(0x16e)](),this[_0x2cd2e3(0x16d)][_0x2cd2e3(0x13b)][_0x2cd2e3(0x170)](_0x4e7ee0),_0x4e7ee0;}[_0x5d6499(0x137)](_0x1105d0){const _0x4a70b2=_0x5d6499;if(!_0x1105d0[_0x4a70b2(0x174)][_0x4a70b2(0x12b)])return;const _0x4b8472=this[_0x4a70b2(0x14f)](_0x1105d0);if(!_0x4b8472)return;const _0x58d946=this[_0x4a70b2(0x130)][_0x4a70b2(0x122)](_0x4b8472),_0x7b2fb=this[_0x4a70b2(0x15b)];_0x7b2fb&&_0x7b2fb===_0x58d946?this[_0x4a70b2(0x124)](_0x4b8472,_0x1105d0):this[_0x4a70b2(0x15a)](_0x1105d0,_0x4b8472);}[_0x5d6499(0x145)](_0x31a823){const _0x455c89=_0x5d6499;if(!_0x31a823[_0x455c89(0x174)][_0x455c89(0x12b)])return;const _0xc5feff=this[_0x455c89(0x16b)](_0x31a823);if(!_0xc5feff)return;const _0x708493=this[_0x455c89(0x130)][_0x455c89(0x122)](_0xc5feff),_0x24d098=this[_0x455c89(0x173)][_0x455c89(0x14d)][_0x455c89(0x122)](_0x455c89(0x176)),_0x280570=this[_0x455c89(0x15b)];_0x280570&&_0x280570===_0x708493&&_0x24d098?(this[_0x455c89(0x15a)](_0xc5feff,_0x31a823),this[_0x455c89(0x124)](_0x31a823,_0xc5feff)):_0x280570&&_0x280570===_0x708493?this[_0x455c89(0x15a)](_0xc5feff,_0x31a823):this[_0x455c89(0x124)](_0x31a823,_0xc5feff);}[_0x5d6499(0x140)](_0x4b2eb5,_0x1dea25){const _0x1f1fa0=_0x5d6499;0x0===this[_0x1f1fa0(0x179)][_0x1f1fa0(0x12b)]&&setTimeout(()=>{const _0x662c85=_0x1f1fa0;for(const {sidebarItemView:_0x37385d,changedProp:_0x5b1164}of this[_0x662c85(0x179)])_0x662c85(0x158)===_0x5b1164?this[_0x662c85(0x137)](_0x37385d):this[_0x662c85(0x145)](_0x37385d);this[_0x662c85(0x179)]=[];},0xa),this[_0x1f1fa0(0x179)][_0x1f1fa0(0x13c)]({'sidebarItemView':_0x4b2eb5,'changedProp':_0x1dea25});}[_0x5d6499(0x151)](_0x587532){const _0x64bd5a=_0x5d6499;return this[_0x64bd5a(0x143)][_0x64bd5a(0x122)](_0x587532);}[_0x5d6499(0x121)](){const _0x1e483d=_0x5d6499;this[_0x1e483d(0x12a)](),this[_0x1e483d(0x16d)][_0x1e483d(0x121)]();}[_0x5d6499(0x132)](_0x4f0a95){const _0x1f3db6=_0x5d6499,_0xd0ffb4=this[_0x1f3db6(0x151)](_0x4f0a95);this[_0x1f3db6(0x12a)](_0xd0ffb4),this[_0x1f3db6(0x12a)](_0x4f0a95[_0x1f3db6(0x16d)]),_0xd0ffb4[_0x1f3db6(0x121)](),this[_0x1f3db6(0x143)][_0x1f3db6(0x160)](_0x4f0a95),this[_0x1f3db6(0x130)][_0x1f3db6(0x160)](_0xd0ffb4);}[_0x5d6499(0x138)](){const _0x456dac=_0x5d6499,_0x5da75c=new _0x38643c(this[_0x456dac(0x173)][_0x456dac(0x123)]);return _0x5da75c[_0x456dac(0x156)](),this['on'](_0x456dac(0x16f),(_0x338b76,_0x133bd5,_0x19975e,_0x44245d)=>{const _0x583bef=_0x456dac;_0x44245d&&_0x5da75c[_0x583bef(0x148)](_0x583bef(0x164)),_0x19975e?_0x5da75c[_0x583bef(0x144)](_0x583bef(0x164))['to'](_0x19975e,_0x583bef(0x131)):_0x5da75c[_0x583bef(0x164)]=null;}),_0x5da75c;}[_0x5d6499(0x16e)](){const _0x53a69c=_0x5d6499;this[_0x53a69c(0x159)]=this[_0x53a69c(0x12c)]?.[_0x53a69c(0x163)]?this[_0x53a69c(0x151)](this[_0x53a69c(0x12c)][_0x53a69c(0x163)]):null;}[_0x5d6499(0x14f)](_0x3167cb){const _0x57fe81=_0x5d6499,_0x4e4487=this[_0x57fe81(0x130)][_0x57fe81(0x122)](_0x3167cb),_0x1c6901=_0x4e4487&&this[_0x57fe81(0x12c)]?.[_0x57fe81(0x122)](this[_0x57fe81(0x12c)][_0x57fe81(0x136)](_0x4e4487)-0x1);return _0x1c6901&&this[_0x57fe81(0x151)](_0x1c6901)||null;}[_0x5d6499(0x16b)](_0x5ba414){const _0x2705cd=_0x5d6499,_0x3c2691=this[_0x2705cd(0x130)][_0x2705cd(0x122)](_0x5ba414),_0x10d46b=_0x3c2691&&this[_0x2705cd(0x12c)]?.[_0x2705cd(0x122)](this[_0x2705cd(0x12c)][_0x2705cd(0x136)](_0x3c2691)+0x1);return _0x10d46b&&this[_0x2705cd(0x151)](_0x10d46b)||null;}[_0x5d6499(0x15a)](_0xbb9ea,_0x199ba0){const _0x192ca4=_0x5d6499;_0xbb9ea[_0x192ca4(0x11f)]();const _0x5ef8d6=G(_0x199ba0[_0x192ca4(0x131)]+this[_0x192ca4(0x12e)],_0xbb9ea[_0x192ca4(0x158)]);return!!_0x5ef8d6&&(this[_0x192ca4(0x166)](_0x199ba0,_0x199ba0[_0x192ca4(0x158)]-_0x5ef8d6),!0x0);}[_0x5d6499(0x124)](_0x1706c7,_0x24c39f){const _0x18a6cd=_0x5d6499;_0x1706c7[_0x18a6cd(0x11f)]();const _0x589b88=G(_0x1706c7[_0x18a6cd(0x131)]+this[_0x18a6cd(0x12e)],_0x24c39f[_0x18a6cd(0x158)]);return!!_0x589b88&&(this[_0x18a6cd(0x166)](_0x24c39f,_0x24c39f[_0x18a6cd(0x158)]+_0x589b88,!0x1),!0x0);}[_0x5d6499(0x153)](_0x79b814){const _0x57a34c=_0x5d6499,_0x3d3372=this[_0x57a34c(0x130)][_0x57a34c(0x122)](_0x79b814);if(!_0x3d3372||!_0x3d3372[_0x57a34c(0x126)]||!_0x3d3372[_0x57a34c(0x177)])return;const _0x1b284b=this[_0x57a34c(0x167)](_0x3d3372,_0x3d3372[_0x57a34c(0x177)]);this[_0x57a34c(0x166)](_0x79b814,_0x1b284b);}[_0x5d6499(0x167)](_0x4823f0,_0x588707){const _0x306d1b=_0x5d6499;if(null===_0x588707)return 0x0;if(_0x4823f0[_0x306d1b(0x126)]instanceof _0x504b59)return _0x588707[_0x306d1b(0x158)];{const _0x40be13=new _0x504b59(this[_0x306d1b(0x16d)][_0x306d1b(0x139)])[_0x306d1b(0x158)];return _0x588707[_0x306d1b(0x158)]-_0x40be13;}}[_0x5d6499(0x166)](_0x45e450,_0x2da83e,_0x2d1e50=this[_0x5d6499(0x173)][_0x5d6499(0x14d)][_0x5d6499(0x122)](_0x5d6499(0x176))){const _0x3dded5=_0x5d6499;_0x2d1e50&&(_0x2da83e=Math[_0x3dded5(0x14b)](_0x2da83e,this[_0x3dded5(0x11e)](_0x45e450))),_0x45e450[_0x3dded5(0x158)]=_0x2da83e;}[_0x5d6499(0x11e)](_0x2d690c){const _0x1d833f=_0x5d6499;let _0xd06239=this[_0x1d833f(0x14f)](_0x2d690c),_0x2b5536=0x0;for(;_0xd06239;)_0xd06239[_0x1d833f(0x11f)](),_0x2b5536+=this[_0x1d833f(0x12e)]+_0xd06239[_0x1d833f(0x15e)],_0xd06239=this[_0x1d833f(0x14f)](_0xd06239);return _0x2b5536;}}function G(_0x571a9c,_0x5d62f3){const _0x3d4ee8=_0x5d6499;return Math[_0x3d4ee8(0x14b)](_0x571a9c-_0x5d62f3,0x0);}function g(_0x2c0f56){const _0x13913b=_0x5d6499;return null!==_0x2c0f56&&_0x13913b(0x142)==typeof _0x2c0f56&&0x1===_0x2c0f56[_0x13913b(0x150)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35d3b9=_0x5d01;function _0x5d01(_0x23f814,_0x49f598){const _0x151c79=_0x151c();return _0x5d01=function(_0x5d01ca,_0x53e026){_0x5d01ca=_0x5d01ca-0x15c;let _0x168c3d=_0x151c79[_0x5d01ca];return _0x168c3d;},_0x5d01(_0x23f814,_0x49f598);}(function(_0x4afe05,_0x59e4b0){const _0x33b1a7=_0x5d01,_0x45143a=_0x4afe05();while(!![]){try{const _0x10062a=-parseInt(_0x33b1a7(0x169))/0x1*(-parseInt(_0x33b1a7(0x176))/0x2)+parseInt(_0x33b1a7(0x15e))/0x3+parseInt(_0x33b1a7(0x162))/0x4+parseInt(_0x33b1a7(0x164))/0x5*(parseInt(_0x33b1a7(0x166))/0x6)+-parseInt(_0x33b1a7(0x175))/0x7+parseInt(_0x33b1a7(0x161))/0x8+-parseInt(_0x33b1a7(0x16c))/0x9;if(_0x10062a===_0x59e4b0)break;else _0x45143a['push'](_0x45143a['shift']());}catch(_0x1b2bcf){_0x45143a['push'](_0x45143a['shift']());}}}(_0x151c,0xf2b42));import{ButtonView as _0x2db591,View as _0x2022ec}from'ckeditor5/src/ui.js';import{IconAddComment as _0x534edd}from'ckeditor5/src/icons.js';function _0x151c(){const _0xa6234f=['isDirty','ck-annotation-counter__badge','748496bMwtVm','7868236yNNYWV','number','16615pFKgvk','add','2868gFNEiI','annotationType','bind','5362zSBYxi','ck-annotation-counter__badge--','toString','26734212Lzupul','counterView','extendTemplate','ck-annotation-counter','_badge','setTemplate','icon','bindTemplate','set','13031774pKQpjI','146MFuDWv','...','span','children','ck-annotation-counter__badge--edit-mode','5357469NAGtAK'];_0x151c=function(){return _0xa6234f;};return _0x151c();}export class AnnotationCounterButtonView extends _0x2db591{[_0x35d3b9(0x16d)];constructor(_0x5997d8){const _0x1fa8be=_0x35d3b9;super(_0x5997d8);const _0x5c89ac=this[_0x1fa8be(0x173)];this[_0x1fa8be(0x174)](_0x1fa8be(0x15f),!0x1),this[_0x1fa8be(0x174)](_0x1fa8be(0x163),0x0),this[_0x1fa8be(0x168)](_0x1fa8be(0x170))['to'](this,_0x1fa8be(0x15f),this,_0x1fa8be(0x163),(_0xc77e4,_0xa4c887)=>_0xc77e4?_0x1fa8be(0x177):_0xa4c887[_0x1fa8be(0x16b)]()),this[_0x1fa8be(0x174)](_0x1fa8be(0x167),''),this[_0x1fa8be(0x172)]=_0x534edd,this[_0x1fa8be(0x16e)]({'attributes':{'class':[_0x1fa8be(0x16f)]}}),this[_0x1fa8be(0x16d)]=new _0x2022ec(),this[_0x1fa8be(0x16d)][_0x1fa8be(0x171)]({'tag':_0x1fa8be(0x178),'attributes':{'class':[_0x1fa8be(0x160),_0x5c89ac['to'](_0x1fa8be(0x167),_0x22b28f=>_0x1fa8be(0x16a)+_0x22b28f),_0x5c89ac['if'](_0x1fa8be(0x15f),_0x1fa8be(0x15d))]},'children':[{'text':_0x5c89ac['to'](_0x1fa8be(0x170))}]}),this[_0x1fa8be(0x15c)][_0x1fa8be(0x165)](this[_0x1fa8be(0x16d)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x50eaa8=_0x81ab;function _0xd5e8(){const _0x547406=['set','800257vuftAM','_mutationObserver','focusTracker','presentation','first','add','listenTo','Esc','isDirty','clear','clientHeight','bindTemplate','destroy','detach','isActive','fire','length','attach','delegate','15435KrKWEM','keystrokes','arrowdown','4300MzIVKo','19658375txHaej','68OIxTas','content','arrowup','render','div','focus','588160sgkftb','ck-rounded-corners','6QMfZVp','ck-annotation-wrapper','333834Fhenvo','height','createCollection','targetRect','92285UBofkL','63npJdHY','ck-annotation-wrapper--active','element','mainView','_updateHeight','type','71343jhfijR','setTemplate'];_0xd5e8=function(){return _0x547406;};return _0xd5e8();}(function(_0x37489f,_0x5139f9){const _0x478094=_0x81ab,_0x1679a4=_0x37489f();while(!![]){try{const _0x41c3e4=parseInt(_0x478094(0x90))/0x1+parseInt(_0x478094(0xb0))/0x2*(parseInt(_0x478094(0x8d))/0x3)+parseInt(_0x478094(0xa8))/0x4*(parseInt(_0x478094(0x86))/0x5)+parseInt(_0x478094(0xb2))/0x6*(parseInt(_0x478094(0x87))/0x7)+-parseInt(_0x478094(0xae))/0x8+parseInt(_0x478094(0xa3))/0x9*(parseInt(_0x478094(0xa6))/0xa)+-parseInt(_0x478094(0xa7))/0xb;if(_0x41c3e4===_0x5139f9)break;else _0x1679a4['push'](_0x1679a4['shift']());}catch(_0x2475c0){_0x1679a4['push'](_0x1679a4['shift']());}}}(_0xd5e8,0x896ed));import{View as _0x175e37}from'ckeditor5/src/ui.js';function _0x81ab(_0x5d971a,_0x38fa38){const _0xd5e8c6=_0xd5e8();return _0x81ab=function(_0x81ab55,_0x29e200){_0x81ab55=_0x81ab55-0x86;let _0x436f80=_0xd5e8c6[_0x81ab55];return _0x436f80;},_0x81ab(_0x5d971a,_0x38fa38);}import{FocusTracker as _0x4b48cb,KeystrokeHandler as _0x1edde8,uid as _0x50124e}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x1f2269}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x175e37{[_0x50eaa8(0x92)];['id'];[_0x50eaa8(0xa4)];[_0x50eaa8(0xa9)];[_0x50eaa8(0x8a)];[_0x50eaa8(0x91)];constructor(_0x37363a,_0x347759){const _0x50cc02=_0x50eaa8;super(_0x37363a),this['id']=_0x50124e(),this[_0x50cc02(0x92)]=new _0x4b48cb(),this[_0x50cc02(0xa4)]=new _0x1edde8(),this[_0x50cc02(0xa4)][_0x50cc02(0x8f)](_0x50cc02(0x97),(_0x107f62,_0x191d1a)=>this[_0x50cc02(0x9f)](_0x50cc02(0x97),_0x191d1a)),this[_0x50cc02(0x8f)](_0x50cc02(0xb5),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x50cc02(0x8f)](_0x50cc02(0xb3),0x0),this[_0x50cc02(0x8f)](_0x50cc02(0x9e),!0x1),this[_0x50cc02(0x8f)](_0x50cc02(0x98),!0x1),this[_0x50cc02(0x8f)](_0x50cc02(0xa0),0x0),this[_0x50cc02(0x8f)](_0x50cc02(0x8c),''),this[_0x50cc02(0x91)]=_0x1f2269(()=>this[_0x50cc02(0x8b)]()),this[_0x50cc02(0xa9)]=this[_0x50cc02(0xb4)](),this[_0x50cc02(0xa9)][_0x50cc02(0xa2)](_0x50cc02(0xaa),_0x50cc02(0xa5))['to'](this),this[_0x50cc02(0xa9)][_0x50cc02(0x95)](_0x347759),this[_0x50cc02(0x8a)]=_0x347759;const _0x415535=this[_0x50cc02(0x9b)];this[_0x50cc02(0x8e)]({'tag':_0x50cc02(0xac),'attributes':{'class':['ck',_0x50cc02(0xb1),_0x50cc02(0xaf),_0x415535['if'](_0x50cc02(0x9e),_0x50cc02(0x88))],'role':_0x50cc02(0x93)},'children':this[_0x50cc02(0xa9)]});}[_0x50eaa8(0xab)](){const _0x585411=_0x50eaa8;super[_0x585411(0xab)](),this[_0x585411(0x92)][_0x585411(0x95)](this[_0x585411(0x89)]),this[_0x585411(0xa4)][_0x585411(0x96)](this[_0x585411(0x89)]),this[_0x585411(0x91)][_0x585411(0xa1)](this[_0x585411(0x89)]);}[_0x50eaa8(0x9c)](){const _0x15b320=_0x50eaa8;this[_0x15b320(0xa9)][_0x15b320(0x99)](),this[_0x15b320(0xa4)][_0x15b320(0x9c)](),this[_0x15b320(0x92)][_0x15b320(0x9c)](),this[_0x15b320(0x91)][_0x15b320(0x9d)](),super[_0x15b320(0x9c)]();}[_0x50eaa8(0xad)](){const _0x3cf76c=_0x50eaa8;this[_0x3cf76c(0xa9)][_0x3cf76c(0x94)]&&this[_0x3cf76c(0xa9)][_0x3cf76c(0x94)][_0x3cf76c(0xad)]();}[_0x50eaa8(0x8b)](){const _0x1f9d98=_0x50eaa8,_0x4fc7d2=this[_0x1f9d98(0x89)][_0x1f9d98(0x9a)];_0x4fc7d2&&(this[_0x1f9d98(0xb3)]=_0x4fc7d2);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x3572(){const _0x37aa51=['4tSyUSi','detach','bind','updateHeight','attach','613044LiLaQK','ck-sidebar-item','106674JXIAGs','arrowdown','512UTtiLQ','21980ZwNFVx','set','destroy','clientHeight','focus','height','2170374JSCqvb','render','5418497TrIzkJ','2882lVDciO','_mutationObserver','presentation','top','createCollection','clear','ck-sidebar-item--no-animation','div','_targetTop','isAnimationDisabled','delegate','bottom','38196vJBILW','bindTemplate','element','641225gJBYkP','arrowup','content','first','setTemplate','30FhuwLr'];_0x3572=function(){return _0x37aa51;};return _0x3572();}const _0x56a927=_0x1397;(function(_0xa3d678,_0x5d45b7){const _0x518219=_0x1397,_0x2ed7a3=_0xa3d678();while(!![]){try{const _0x2daade=parseInt(_0x518219(0x158))/0x1+parseInt(_0x518219(0x156))/0x2+parseInt(_0x518219(0x161))/0x3*(parseInt(_0x518219(0x151))/0x4)+parseInt(_0x518219(0x14b))/0x5*(-parseInt(_0x518219(0x150))/0x6)+-parseInt(_0x518219(0x163))/0x7+parseInt(_0x518219(0x15a))/0x8*(parseInt(_0x518219(0x148))/0x9)+parseInt(_0x518219(0x15b))/0xa*(parseInt(_0x518219(0x164))/0xb);if(_0x2daade===_0x5d45b7)break;else _0x2ed7a3['push'](_0x2ed7a3['shift']());}catch(_0x4a6ac8){_0x2ed7a3['push'](_0x2ed7a3['shift']());}}}(_0x3572,0x8ae12));import{View as _0x5867ec}from'ckeditor5/src/ui.js';import{toUnit as _0x441714}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x2d1c8d}from'../../utils/createmutationobserver.js';function _0x1397(_0x4fb576,_0x3c8e5d){const _0x3572af=_0x3572();return _0x1397=function(_0x139756,_0x482a5f){_0x139756=_0x139756-0x145;let _0x18a907=_0x3572af[_0x139756];return _0x18a907;},_0x1397(_0x4fb576,_0x3c8e5d);}const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x441714('px');export class AnnotationsSidebarItemView extends _0x5867ec{[_0x56a927(0x14d)];[_0x56a927(0x16c)];[_0x56a927(0x165)];constructor(_0x5ab243){const _0x40e8ca=_0x56a927;super(_0x5ab243),this[_0x40e8ca(0x15c)](_0x40e8ca(0x167),0x0),this[_0x40e8ca(0x15c)](_0x40e8ca(0x160),0x0),this[_0x40e8ca(0x153)](_0x40e8ca(0x147))['to'](this,_0x40e8ca(0x167),this,_0x40e8ca(0x160),(_0x294534,_0x2cc1f7)=>_0x294534+_0x2cc1f7),this[_0x40e8ca(0x15c)](_0x40e8ca(0x145),!0x1),this[_0x40e8ca(0x165)]=_0x2d1c8d(()=>this[_0x40e8ca(0x154)]()),this[_0x40e8ca(0x16c)]=null,this[_0x40e8ca(0x14d)]=this[_0x40e8ca(0x168)](),this[_0x40e8ca(0x14d)][_0x40e8ca(0x146)](_0x40e8ca(0x14c),_0x40e8ca(0x159))['to'](this);const _0x1efb8c=this[_0x40e8ca(0x149)];this[_0x40e8ca(0x14f)]({'tag':_0x40e8ca(0x16b),'attributes':{'class':[_0x40e8ca(0x157),_0x1efb8c['to'](_0x40e8ca(0x145),_0x4319fb=>_0x4319fb?_0x40e8ca(0x16a):'')],'style':{'top':_0x1efb8c['to'](_0x40e8ca(0x167),_0x598eb3=>Ot(_0x598eb3))},'role':_0x40e8ca(0x166)},'children':this[_0x40e8ca(0x14d)]});}[_0x56a927(0x162)](){const _0x58b7e9=_0x56a927;super[_0x58b7e9(0x162)](),this[_0x58b7e9(0x165)][_0x58b7e9(0x155)](this[_0x58b7e9(0x14a)]);}[_0x56a927(0x15f)](){const _0xc5fa8c=_0x56a927;this[_0xc5fa8c(0x14d)][_0xc5fa8c(0x14e)]&&this[_0xc5fa8c(0x14d)][_0xc5fa8c(0x14e)][_0xc5fa8c(0x15f)]();}[_0x56a927(0x154)](){const _0x34d911=_0x56a927,_0x1a8157=this[_0x34d911(0x14a)][_0x34d911(0x15e)];_0x1a8157&&(this[_0x34d911(0x160)]=_0x1a8157);}[_0x56a927(0x15d)](){const _0x8db984=_0x56a927;this[_0x8db984(0x14d)][_0x8db984(0x169)](),this[_0x8db984(0x165)][_0x8db984(0x152)](),super[_0x8db984(0x15d)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x56e8(_0x4ecd0a,_0x3888cb){const _0x498408=_0x4984();return _0x56e8=function(_0x56e872,_0x9fbb32){_0x56e872=_0x56e872-0x9d;let _0xeabd32=_0x498408[_0x56e872];return _0xeabd32;},_0x56e8(_0x4ecd0a,_0x3888cb);}const _0x2f698b=_0x56e8;(function(_0x1d6f16,_0x200c38){const _0x369d34=_0x56e8,_0x1b9b35=_0x1d6f16();while(!![]){try{const _0x1b5a9a=parseInt(_0x369d34(0xbd))/0x1*(-parseInt(_0x369d34(0xa1))/0x2)+parseInt(_0x369d34(0xcb))/0x3*(-parseInt(_0x369d34(0xbb))/0x4)+parseInt(_0x369d34(0xa4))/0x5*(-parseInt(_0x369d34(0xbf))/0x6)+-parseInt(_0x369d34(0xcd))/0x7*(-parseInt(_0x369d34(0xc1))/0x8)+-parseInt(_0x369d34(0xb5))/0x9+-parseInt(_0x369d34(0xa8))/0xa*(parseInt(_0x369d34(0xb7))/0xb)+parseInt(_0x369d34(0xa5))/0xc;if(_0x1b5a9a===_0x200c38)break;else _0x1b9b35['push'](_0x1b9b35['shift']());}catch(_0x5f2ab3){_0x1b9b35['push'](_0x1b9b35['shift']());}}}(_0x4984,0xd7c4b));import{View as _0x4f6410,FocusCycler as _0x49a51d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2ccbd9,toUnit as _0x2bd072}from'ckeditor5/src/utils.js';import{getTranslation as _0x440cc0}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';function _0x4984(){const _0xe6656f=['length','557sGrSAh','element','27858VvAslU','uiLanguageDirection','12472136pYauEr','change','Annotations\x20sidebar','_updateItemPositionInFocusables','set','arrowup','list','getIndex','number','div','100641BRjQHv','added','7YVFGut','remove','delegate','ck-reset','_setupKeyboardNavigation','focus','source','class','render','872DganOw','focusNext','change:top','495uAZlWI','19011240kfEqqa','focusTracker','minHeight','70emtgem','focusPrevious','focusCycler','removed','Annotations\x20list','application','add','bindTemplate','forEach','createCollection','listenTo','arrowdown','top','991107mDZTGu','focusFirst','1482899QrWDgJ','focusables','ck-sidebar','setTemplate','60LLOBdk'];_0x4984=function(){return _0xe6656f;};return _0x4984();}const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2bd072('px');export class AnnotationsSidebarView extends _0x4f6410{[_0x2f698b(0xc7)];[_0x2f698b(0xb8)];[_0x2f698b(0xa6)];[_0x2f698b(0xaa)];constructor(_0x3844f3){const _0x1a9b9a=_0x2f698b;super(_0x3844f3);const _0x447984=this[_0x1a9b9a(0xaf)];this[_0x1a9b9a(0xc5)](_0x1a9b9a(0xa7),0x0),this[_0x1a9b9a(0xc5)](_0x1a9b9a(0x9f),''),this[_0x1a9b9a(0xc7)]=this[_0x1a9b9a(0xb1)](),this[_0x1a9b9a(0xb8)]=this[_0x1a9b9a(0xb1)](),this[_0x1a9b9a(0xc7)][_0x1a9b9a(0xcf)](_0x1a9b9a(0xc6),_0x1a9b9a(0xb3))['to'](this),this[_0x1a9b9a(0xa6)]=new _0x2ccbd9(),this[_0x1a9b9a(0xaa)]=new _0x49a51d({'focusables':this[_0x1a9b9a(0xb8)],'focusTracker':this[_0x1a9b9a(0xa6)]}),this[_0x1a9b9a(0xba)]({'tag':_0x1a9b9a(0xca),'attributes':{'class':['ck',_0x1a9b9a(0xb9),_0x1a9b9a(0xd0),_0x447984['to'](_0x1a9b9a(0x9f))],'style':{'minHeight':_0x447984['to'](_0x1a9b9a(0xa7),_0x5117b6=>_0x1a9b9a(0xc9)==typeof _0x5117b6?Ot(_0x5117b6+0xa):null)},'dir':_0x3844f3[_0x1a9b9a(0xc0)],'role':_0x1a9b9a(0xad),'aria-label':_0x440cc0(_0x3844f3,_0x1a9b9a(0xc3)),'tabindex':0x0},'children':[{'tag':_0x1a9b9a(0xca),'attributes':{'role':_0x1a9b9a(0xc7),'aria-label':_0x440cc0(_0x3844f3,_0x1a9b9a(0xac))},'children':this[_0x1a9b9a(0xc7)]}]});}[_0x2f698b(0xa0)](){const _0x2c755a=_0x2f698b;super[_0x2c755a(0xa0)](),this[_0x2c755a(0xd1)]();}[_0x2f698b(0x9d)](){const _0x5d3348=_0x2f698b;this[_0x5d3348(0xaa)][_0x5d3348(0xb6)]();}[_0x2f698b(0xd1)](){const _0x33089c=_0x2f698b;this[_0x33089c(0xc7)][_0x33089c(0xcf)](_0x33089c(0xa3))['to'](this),this['on'](_0x33089c(0xa3),_0x2aafeb=>{const _0x2786e2=_0x33089c;this[_0x2786e2(0xc4)](_0x2aafeb[_0x2786e2(0x9e)]);}),this[_0x33089c(0xc7)][_0x33089c(0xb0)](_0x20b16a=>{const _0x18cdee=_0x33089c;this[_0x18cdee(0xa6)][_0x18cdee(0xae)](_0x20b16a[_0x18cdee(0xbe)]),this[_0x18cdee(0xc4)](_0x20b16a);}),this[_0x33089c(0xc7)]['on'](_0x33089c(0xc2),(_0x3eec88,_0xeba9d7)=>{const _0x2c6dd0=_0x33089c;for(const _0x146505 of _0xeba9d7[_0x2c6dd0(0xab)])this[_0x2c6dd0(0xa6)][_0x2c6dd0(0xce)](_0x146505[_0x2c6dd0(0xbe)]),this[_0x2c6dd0(0xb8)][_0x2c6dd0(0xce)](_0x146505);for(const _0x44a1f6 of _0xeba9d7[_0x2c6dd0(0xcc)])this[_0x2c6dd0(0xa6)][_0x2c6dd0(0xae)](_0x44a1f6[_0x2c6dd0(0xbe)]),this[_0x2c6dd0(0xc4)](_0x44a1f6);}),this['on'](_0x33089c(0xc6),()=>{const _0x4b13c4=_0x33089c;this[_0x4b13c4(0xaa)][_0x4b13c4(0xa9)]();}),this['on'](_0x33089c(0xb3),()=>{const _0x5f2aa3=_0x33089c;this[_0x5f2aa3(0xaa)][_0x5f2aa3(0xa2)]();}),this[_0x33089c(0xb2)](this[_0x33089c(0xbe)],_0x33089c(0x9d),()=>{const _0x32746f=_0x33089c;this[_0x32746f(0x9d)]();});}[_0x2f698b(0xc4)](_0x4965c1){const _0x58f217=_0x2f698b,_0x432709=this[_0x58f217(0xb8)][_0x58f217(0xc8)](_0x4965c1);let _0x2757a4,_0x509fa3;for(const _0xfa0499 of this[_0x58f217(0xb8)])if(_0x4965c1[_0x58f217(0xb4)]<_0xfa0499[_0x58f217(0xb4)]){_0x2757a4=_0xfa0499;break;}if(_0x509fa3=_0x2757a4?this[_0x58f217(0xb8)][_0x58f217(0xc8)](_0x2757a4):this[_0x58f217(0xb8)][_0x58f217(0xbc)],-0x1!==_0x432709){if(_0x432709===_0x509fa3-0x1)return;this[_0x58f217(0xb8)][_0x58f217(0xce)](_0x4965c1),_0x509fa3=_0x2757a4?this[_0x58f217(0xb8)][_0x58f217(0xc8)](_0x2757a4):this[_0x58f217(0xb8)][_0x58f217(0xbc)];}this[_0x58f217(0xb8)][_0x58f217(0xae)](_0x4965c1,_0x509fa3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x532427=_0x2024;(function(_0x27c095,_0x2cbf17){const _0x3f0cdc=_0x2024,_0x9068bb=_0x27c095();while(!![]){try{const _0x3d4439=-parseInt(_0x3f0cdc(0xdf))/0x1*(-parseInt(_0x3f0cdc(0xf5))/0x2)+-parseInt(_0x3f0cdc(0xde))/0x3*(-parseInt(_0x3f0cdc(0xfb))/0x4)+-parseInt(_0x3f0cdc(0xc9))/0x5+-parseInt(_0x3f0cdc(0xe6))/0x6*(-parseInt(_0x3f0cdc(0xfa))/0x7)+-parseInt(_0x3f0cdc(0xc0))/0x8+-parseInt(_0x3f0cdc(0xf9))/0x9+-parseInt(_0x3f0cdc(0xf4))/0xa;if(_0x3d4439===_0x2cbf17)break;else _0x9068bb['push'](_0x9068bb['shift']());}catch(_0x234458){_0x9068bb['push'](_0x9068bb['shift']());}}}(_0x3564,0xef7f4));import{ContextPlugin as _0x3f9911,Context as _0x4c7837}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x5b5312}from'./annotationsuis.js';function _0x3564(){const _0x595731=['stopListening','stop','2184168MvuxuP','_editorAnnotations','Annotations','_detachFromContainer','remove','refreshPositioning','switchTo','init','updateTargetRect','2928960wkNcDG','cancel','ck-sidebar--wide','addAnnotation','has','_activeAnnotation','context','resize','isPremiumPlugin','detach','wideSidebar','attach','set','hasDomSelection','_integrateWithEditorAnnotations','focus','refreshVisibility','_destroyEditorAnnotationsIntegration','requires','removeEventListener','listenTo','441edqqqB','78iMJrMr','addEventListener','plugins','off','uiUpdate','EditorAnnotations','ready','6vtDAAG','widesidebar-detach-not-attached','pluginName','WideSidebar','widesidebar-attach-already-attached','isOfficialPlugin','isAttached','high','blur','_refreshPositioningDebounced','change:container','_annotations','activeAnnotation','rearrange','11354800DKKokl','43606SOtLMQ','container','editors','add','590238igdeee','4603900oLyPqt','18572zGjgow','annotations','set:container','_attachToContainer','destroy','refresh','get','from','register','getOrderedSelectedAnnotations','setActiveAnnotation'];_0x3564=function(){return _0x595731;};return _0x3564();}import{Sidebar as _0x48a9a0}from'./sidebar.js';function _0x2024(_0x50b27d,_0x10345d){const _0x356419=_0x3564();return _0x2024=function(_0x20242a,_0x35e9cb){_0x20242a=_0x20242a-0xb9;let _0x48ef5b=_0x356419[_0x20242a];return _0x48ef5b;},_0x2024(_0x50b27d,_0x10345d);}import{CKEditorError as _0x30ee39,Collection as _0x318751}from'ckeditor5/src/utils.js';import{debounce as _0x4d2fbd}from'es-toolkit/compat';export class WideSidebar extends _0x3f9911{[_0x532427(0xec)];[_0x532427(0xfc)];[_0x532427(0xc1)];[_0x532427(0xef)];static get[_0x532427(0xdb)](){return[_0x48a9a0,_0x5b5312];}static get[_0x532427(0xe8)](){const _0x5a9bd8=_0x532427;return _0x5a9bd8(0xe9);}static get[_0x532427(0xeb)](){return!0x0;}static get[_0x532427(0xd1)](){return!0x0;}constructor(_0x597457){const _0x5eaf94=_0x532427;super(_0x597457),this[_0x5eaf94(0xec)]=!0x1,this[_0x5eaf94(0xd5)](_0x5eaf94(0xf2),null),this[_0x5eaf94(0xfc)]=null,this[_0x5eaf94(0xc1)]=new _0x318751(),this[_0x5eaf94(0xef)]=_0x4d2fbd(()=>{const _0x4cfc34=_0x5eaf94;_0x597457[_0x4cfc34(0xe1)][_0x4cfc34(0xb9)](_0x4cfc34(0xc2))[_0x4cfc34(0xd9)](),this[_0x4cfc34(0xfc)][_0x4cfc34(0xc5)]();},0xfa,{'leading':!0x1});}[_0x532427(0xc7)](){const _0xab7312=_0x532427,_0x3cc703=this[_0xab7312(0xcf)][_0xab7312(0xe1)][_0xab7312(0xb9)](_0x5b5312),_0x2fc7e9=this[_0xab7312(0xcf)][_0xab7312(0xe1)][_0xab7312(0xb9)](_0x48a9a0);_0x3cc703[_0xab7312(0xbb)](_0xab7312(0xd3),this),_0x2fc7e9[_0xab7312(0xf6)]&&_0x3cc703[_0xab7312(0xc6)](_0xab7312(0xd3));}[_0x532427(0xbd)](_0x36ea2c){const _0x3f5b3a=_0x532427;if(_0x36ea2c===this[_0x3f5b3a(0xf2)])return;const _0x141a05=this[_0x3f5b3a(0xcf)][_0x3f5b3a(0xe1)][_0x3f5b3a(0xb9)](_0x48a9a0);_0x141a05[_0x3f5b3a(0xce)]=_0x36ea2c;const _0x292a95=this[_0x3f5b3a(0xf2)];_0x141a05[_0x3f5b3a(0x100)]({'blurredAnnotation':_0x292a95,'activatedAnnotation':_0x36ea2c}),this[_0x3f5b3a(0xf2)]=_0x36ea2c;}[_0x532427(0xd4)](_0x1a32a8){const _0x40de11=_0x532427;this[_0x40de11(0xfc)]=_0x1a32a8;const _0x3a2ce0=this[_0x40de11(0xcf)][_0x40de11(0xe1)][_0x40de11(0xb9)](_0x48a9a0);if(_0x3a2ce0[_0x40de11(0xf1)]=_0x1a32a8,this[_0x40de11(0xec)])throw new _0x30ee39(_0x40de11(0xea),this);this[_0x40de11(0xec)]=!0x0,this[_0x40de11(0xdd)](_0x3a2ce0,_0x40de11(0xfd),()=>{const _0x5c91a9=_0x40de11;this[_0x5c91a9(0xd2)](),this[_0x5c91a9(0xdd)](_0x3a2ce0,_0x5c91a9(0xf0),_0x54d130=>{const _0x10184b=_0x5c91a9;_0x54d130[_0x10184b(0xe2)](),this[_0x10184b(0xd4)](_0x1a32a8);});}),_0x3a2ce0[_0x40de11(0xfe)]({'viewClass':_0x40de11(0xcb)});const _0x23fc17=_0x2431da=>{const _0xa58e3e=_0x40de11;_0x2431da[_0xa58e3e(0xc8)](),_0x3a2ce0[_0xa58e3e(0xcc)](_0x2431da);};for(const _0x43d752 of _0x1a32a8)_0x23fc17(_0x43d752);this[_0x40de11(0xdd)](_0x1a32a8,_0x40de11(0xf8),(_0x2aa8fc,_0x53cc03)=>{_0x23fc17(_0x53cc03);}),this[_0x40de11(0xdd)](_0x1a32a8,_0x40de11(0xc4),(_0x5cab37,_0x2db0a6,_0x4168f6)=>{const _0x2e4404=_0x40de11;_0x3a2ce0[_0x2e4404(0xf3)]({'removedAnnotation':_0x2db0a6,'previousAnnotation':_0x1a32a8[_0x2e4404(0xb9)](_0x4168f6-0x1),'nextAnnotation':_0x1a32a8[_0x2e4404(0xb9)](_0x4168f6+0x1)}),_0x2db0a6===this[_0x2e4404(0xf2)]&&this[_0x2e4404(0xbd)](null);},{'priority':_0x40de11(0xed)}),this[_0x40de11(0xdd)](_0x1a32a8,_0x40de11(0xd8),(_0x3f2e18,_0x4948cb)=>{const _0x354b3b=_0x40de11;this[_0x354b3b(0xbd)](_0x4948cb);}),this[_0x40de11(0xdd)](_0x1a32a8,_0x40de11(0xee),()=>{const _0x5af662=_0x40de11;this[_0x5af662(0xbd)](null);});const _0x4c2b07=this[_0x40de11(0xcf)]instanceof _0x4c7837?this[_0x40de11(0xcf)][_0x40de11(0xf7)]:new _0x318751([this[_0x40de11(0xcf)]]);for(const _0x12759c of _0x4c2b07)this[_0x40de11(0xd7)](_0x12759c);this[_0x40de11(0xdd)](_0x4c2b07,_0x40de11(0xf8),(_0x1b1b6b,_0x22b03a)=>{const _0x2046ed=_0x40de11;this[_0x2046ed(0xdd)](_0x22b03a,_0x2046ed(0xe5),()=>{const _0x512478=_0x2046ed;this[_0x512478(0xd7)](_0x22b03a);});}),this[_0x40de11(0xdd)](_0x4c2b07,_0x40de11(0xc4),(_0x68bbab,_0x2ca3f4)=>{const _0xdfdde6=_0x40de11;_0x2ca3f4[_0xdfdde6(0xe1)][_0xdfdde6(0xcd)](_0xdfdde6(0xe4))&&this[_0xdfdde6(0xda)](_0x2ca3f4[_0xdfdde6(0xe1)][_0xdfdde6(0xb9)](_0xdfdde6(0xe4)));}),window[_0x40de11(0xe0)](_0x40de11(0xd0),this[_0x40de11(0xef)]),this[_0x40de11(0xcf)][_0x40de11(0xe1)][_0x40de11(0xb9)](_0x40de11(0xc2))[_0x40de11(0xd9)](),this[_0x40de11(0xfc)][_0x40de11(0xc5)]();}[_0x532427(0xd2)](){const _0x1221ec=_0x532427;if(!this[_0x1221ec(0xec)])throw new _0x30ee39(_0x1221ec(0xe7),this);this[_0x1221ec(0xbd)](null);const _0x4b9f09=this[_0x1221ec(0xcf)][_0x1221ec(0xe1)][_0x1221ec(0xb9)](_0x48a9a0);_0x4b9f09[_0x1221ec(0xc3)](this[_0x1221ec(0xfc)]),this[_0x1221ec(0xbe)](_0x4b9f09),this[_0x1221ec(0xbe)](this[_0x1221ec(0xfc)]),this[_0x1221ec(0xcf)]instanceof _0x4c7837&&this[_0x1221ec(0xbe)](this[_0x1221ec(0xcf)][_0x1221ec(0xf7)]);for(const _0x5b6e28 of Array[_0x1221ec(0xba)](this[_0x1221ec(0xc1)]))this[_0x1221ec(0xda)](_0x5b6e28);window[_0x1221ec(0xdc)](_0x1221ec(0xd0),this[_0x1221ec(0xef)]),this[_0x1221ec(0xef)][_0x1221ec(0xca)](),this[_0x1221ec(0xf2)]=null,this[_0x1221ec(0xec)]=!0x1,this[_0x1221ec(0xfc)]=null;}[_0x532427(0xff)](){const _0x49ef90=_0x532427;this[_0x49ef90(0xec)]&&this[_0x49ef90(0xd2)]();}[_0x532427(0xd7)](_0x43538d){const _0x1bdca4=_0x532427;if(!_0x43538d[_0x1bdca4(0xe1)][_0x1bdca4(0xcd)](_0x1bdca4(0xe4)))return;const _0x535725=_0x43538d[_0x1bdca4(0xe1)][_0x1bdca4(0xb9)](_0x1bdca4(0xe4)),_0x3fa999=()=>{const _0x5888c5=_0x1bdca4,_0x23de4c=_0x535725[_0x5888c5(0xbc)]({'annotations':this[_0x5888c5(0xfc)],'activeAnnotation':this[_0x5888c5(0xf2)]});this[_0x5888c5(0xbd)](_0x23de4c[0x0]||null);};this[_0x1bdca4(0xdd)](_0x535725,_0x1bdca4(0x100),_0x3fa999),this[_0x1bdca4(0xdd)](_0x535725,_0x1bdca4(0xee),(_0x5dbd48,{isAnnotationTracked:_0x4ffdf1})=>{const _0x8baf54=_0x1bdca4;this[_0x8baf54(0xf2)]&&_0x4ffdf1(this[_0x8baf54(0xf2)])&&this[_0x8baf54(0xbd)](null);}),this[_0x1bdca4(0xdd)](_0x535725,_0x1bdca4(0xe3),()=>{const _0x5b5007=_0x1bdca4;this[_0x5b5007(0xef)]();}),this[_0x1bdca4(0xdd)](this[_0x1bdca4(0xfc)],_0x1bdca4(0xee),_0x4fab8a=>{const _0x1fa165=_0x1bdca4;_0x535725[_0x1fa165(0xd6)]()&&(_0x3fa999(),_0x4fab8a[_0x1fa165(0xbf)]());},{'priority':_0x1bdca4(0xed)}),this[_0x1bdca4(0xc1)][_0x1bdca4(0xf8)](_0x535725);}[_0x532427(0xda)](_0x402937){const _0x2ff6d2=_0x532427;this[_0x2ff6d2(0xbe)](_0x402937),this[_0x2ff6d2(0xc1)][_0x2ff6d2(0xc4)](_0x402937);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d66af=_0x371b;(function(_0x35d73b,_0x2cdc5c){const _0x2c9b74=_0x371b,_0xb477a=_0x35d73b();while(!![]){try{const _0x5ac69e=-parseInt(_0x2c9b74(0x139))/0x1*(-parseInt(_0x2c9b74(0x141))/0x2)+parseInt(_0x2c9b74(0x12c))/0x3+parseInt(_0x2c9b74(0x125))/0x4*(parseInt(_0x2c9b74(0x134))/0x5)+-parseInt(_0x2c9b74(0x136))/0x6+-parseInt(_0x2c9b74(0x149))/0x7*(parseInt(_0x2c9b74(0x147))/0x8)+parseInt(_0x2c9b74(0x12e))/0x9+-parseInt(_0x2c9b74(0x12f))/0xa*(parseInt(_0x2c9b74(0x119))/0xb);if(_0x5ac69e===_0x2cdc5c)break;else _0xb477a['push'](_0xb477a['shift']());}catch(_0x2759a8){_0xb477a['push'](_0xb477a['shift']());}}}(_0x1d74,0xf086a));import{Command as _0x5cb7e7}from'ckeditor5/src/core.js';function _0x371b(_0x334b4e,_0x1f05b8){const _0x1d7406=_0x1d74();return _0x371b=function(_0x371b03,_0x173fb3){_0x371b03=_0x371b03-0x119;let _0x52e5db=_0x1d7406[_0x371b03];return _0x52e5db;},_0x371b(_0x334b4e,_0x1f05b8);}import{uid as _0x482982,CKEditorError as _0xd18897}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x5cb7e7{constructor(_0x3daef2){const _0x12cecb=_0x371b;super(_0x3daef2),this[_0x12cecb(0x120)](_0x12cecb(0x123),!0x1);}[_0x3d66af(0x130)](){const _0x2ceaec=_0x3d66af,_0x19358b=this[_0x2ceaec(0x138)][_0x2ceaec(0x13d)][_0x2ceaec(0x124)][_0x2ceaec(0x11e)];this[_0x2ceaec(0x143)]=!0x0,this[_0x2ceaec(0x123)]=!0x1;for(const _0x388d6a of _0x19358b[_0x2ceaec(0x11d)]())if(this[_0x2ceaec(0x14e)](_0x388d6a))return void(this[_0x2ceaec(0x123)]=!0x0);}[_0x3d66af(0x128)]({threadId:_0x508920=_0x482982(),ranges:_0x279026,comment:_0x13086a}={}){const _0xe41434=_0x3d66af,_0x36ab85=this[_0xe41434(0x138)][_0xe41434(0x13d)],_0x50f18f=_0x279026??Array[_0xe41434(0x148)](_0x36ab85[_0xe41434(0x124)][_0xe41434(0x11e)][_0xe41434(0x11d)]()),_0x135544=[];for(const _0x5598f1 of _0x50f18f)this[_0xe41434(0x14e)](_0x5598f1)&&_0x135544[_0xe41434(0x13c)](this[_0xe41434(0x13a)](_0x5598f1));if(!_0x135544[_0xe41434(0x13b)])throw new _0xd18897(_0xe41434(0x129),null);_0x13086a&&this[_0xe41434(0x121)](_0x508920,_0x13086a),this[_0xe41434(0x144)](_0x508920,_0x135544,!!_0x13086a);}[_0x3d66af(0x144)](_0x296533,_0x45af07,_0x67529e){const _0x9db54=_0x3d66af;this[_0x9db54(0x138)][_0x9db54(0x13d)][_0x9db54(0x12a)](_0x223584=>{const _0x26152e=_0x9db54;for(const _0x1ef21f of _0x45af07){const _0x4fc48f=_0x482982()[_0x26152e(0x140)](0x1,0x5),_0xdedce1=_0x26152e(0x14d)+_0x296533+':'+_0x4fc48f;_0x223584[_0x26152e(0x132)](_0xdedce1,{'range':_0x1ef21f,'usingOperation':_0x67529e,'affectsData':_0x67529e});}});}[_0x3d66af(0x121)](_0x58eb9f,_0x1ff7d6){const _0x46947e=_0x3d66af,_0x52a2a0=this[_0x46947e(0x138)][_0x46947e(0x133)][_0x46947e(0x13f)](_0x46947e(0x135)),_0x11b9e9=this[_0x46947e(0x138)][_0x46947e(0x13e)][_0x46947e(0x13f)](_0x46947e(0x11a)),_0x39edf6=this[_0x46947e(0x138)][_0x46947e(0x133)][_0x46947e(0x13f)](_0x46947e(0x145))['me'];if(!_0x39edf6)throw new _0xd18897(_0x46947e(0x14c),null);_0x52a2a0[_0x46947e(0x12b)]({'threadId':_0x58eb9f,'channelId':_0x11b9e9,'comments':[{'authorId':_0x39edf6['id'],'content':_0x1ff7d6,'createdAt':new Date(),'attributes':{}}]});}[_0x3d66af(0x14e)](_0x29c30c){const _0xfe993d=_0x3d66af;for(const _0x3fe134 of _0x29c30c[_0xfe993d(0x142)]())if(this[_0xfe993d(0x146)](_0x3fe134))return!0x0;return!0x1;}[_0x3d66af(0x146)](_0xe9d924){const _0x2cbfa5=_0x3d66af;return _0xe9d924['is'](_0x2cbfa5(0x11b))||this[_0x2cbfa5(0x138)][_0x2cbfa5(0x13d)][_0x2cbfa5(0x11c)][_0x2cbfa5(0x137)](_0xe9d924)&&!_0xe9d924['is'](_0x2cbfa5(0x127),_0x2cbfa5(0x14b));}[_0x3d66af(0x13a)](_0x4a95d3){const _0x14224c=_0x3d66af,_0x18a16e=_0x40d678=>!this[_0x14224c(0x146)](_0x40d678[_0x14224c(0x14a)]),_0x2a5f7e=_0x4a95d3[_0x14224c(0x131)][_0x14224c(0x122)](_0x18a16e),_0x3da72b=_0x4a95d3[_0x14224c(0x12d)][_0x14224c(0x122)](_0x18a16e,{'direction':_0x14224c(0x126)});return this[_0x14224c(0x138)][_0x14224c(0x13d)][_0x14224c(0x11f)](_0x2a5f7e,_0x3da72b);}}function _0x1d74(){const _0x5030dc=['1271207CYATqv','item','tableCell','addcommentthreadcommand-user-not-found','comment:','_hasContent','8023807dLKszU','collaboration.channelId','$textProxy','schema','getRanges','selection','createRange','set','_createCommentThread','getLastMatchingPosition','hasContent','document','738192akvqJa','backward','element','execute','addcommentthreadcommand-incorrect-ranges','change','addCommentThread','3467742crqsXv','end','16120737MeTWgR','20RJuXNB','refresh','start','addMarker','plugins','25uLCwob','CommentsRepository','11513904gjPWet','isObject','editor','6829uSNWaZ','_trimToContent','length','push','model','config','get','substr','304xiCULR','getItems','isEnabled','_createMarkersFromRanges','Users','_itemIsContent','24BJrgVA','from'];_0x1d74=function(){return _0x5030dc;};return _0x1d74();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53f226=_0x1afa;(function(_0x2b979e,_0x7df990){const _0x22613b=_0x1afa,_0x2c56ce=_0x2b979e();while(!![]){try{const _0x1dc644=-parseInt(_0x22613b(0x1f0))/0x1+parseInt(_0x22613b(0x1e3))/0x2*(-parseInt(_0x22613b(0x1f8))/0x3)+parseInt(_0x22613b(0x1ef))/0x4+parseInt(_0x22613b(0x1ee))/0x5+parseInt(_0x22613b(0x1dc))/0x6+parseInt(_0x22613b(0x1e2))/0x7+-parseInt(_0x22613b(0x1f3))/0x8*(-parseInt(_0x22613b(0x1eb))/0x9);if(_0x1dc644===_0x7df990)break;else _0x2c56ce['push'](_0x2c56ce['shift']());}catch(_0x130659){_0x2c56ce['push'](_0x2c56ce['shift']());}}}(_0x6e3b,0xd2218));import{ContextPlugin as _0xc50d78}from'ckeditor5/src/core.js';import{Collection as _0x7b0e31}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x29c493}from'./commentsrepository.js';function _0x1afa(_0x16bea4,_0x2cefc2){const _0x6e3bc=_0x6e3b();return _0x1afa=function(_0x1afa8c,_0x4764ed){_0x1afa8c=_0x1afa8c-0x1dc;let _0x3040d9=_0x6e3bc[_0x1afa8c];return _0x3040d9;},_0x1afa(_0x16bea4,_0x2cefc2);}import{Annotations as _0x3eb853}from'../annotations/annotations.js';function _0x6e3b(){const _0x33a515=['add','context','findIndex','isVisible','CommentsArchive','8671650GlsMYX','plugins','archivedAt','isPremiumPlugin','get','collection','337764PZqgee','3292970tlarZB','isActive','remove','stopListening','removeCommentThread','getCommentThread','pluginName','highest','5259213yvwmhS','change:archivedAt','has','1265715QIivxX','1081724HYmeKB','94277ZaDFcS','archivedThreads','isOfficialPlugin','8pKVCPj','addCommentThread','_calculatePosition','requires','init','3drOPbd','listenTo','activate','focus','length'];_0x6e3b=function(){return _0x33a515;};return _0x6e3b();}export class CommentsArchive extends _0xc50d78{static get[_0x53f226(0x1e9)](){const _0x456a6c=_0x53f226;return _0x456a6c(0x201);}static get[_0x53f226(0x1f2)](){return!0x0;}static get[_0x53f226(0x1df)](){return!0x0;}static get[_0x53f226(0x1f6)](){return[_0x29c493,_0x3eb853];}constructor(_0x2a0b8f){const _0x582800=_0x53f226;super(_0x2a0b8f),this[_0x582800(0x1f1)]=new _0x7b0e31();}[_0x53f226(0x1f7)](){const _0x2565ca=_0x53f226,_0x3ef9c7=this[_0x2565ca(0x1fe)],_0x119932=_0x3ef9c7[_0x2565ca(0x1dd)][_0x2565ca(0x1e0)](_0x29c493),_0x329840=_0x3ef9c7[_0x2565ca(0x1dd)][_0x2565ca(0x1e0)](_0x3eb853);this[_0x2565ca(0x1f9)](_0x119932,_0x2565ca(0x1f4),(_0x3d0073,{threadId:_0x21351c})=>{const _0x574ec5=_0x2565ca,_0x56cb82=_0x119932[_0x574ec5(0x1e8)](_0x21351c);_0x56cb82[_0x574ec5(0x1de)]&&this[_0x574ec5(0x1f1)][_0x574ec5(0x1fd)](_0x56cb82,this[_0x574ec5(0x1f5)](_0x56cb82[_0x574ec5(0x1de)])),this[_0x574ec5(0x1f9)](_0x56cb82,_0x574ec5(0x1ec),(_0x235339,_0x1122e7,_0xed1bd9)=>{const _0x3feaf1=_0x574ec5;_0xed1bd9?this[_0x3feaf1(0x1f1)][_0x3feaf1(0x1ed)](_0x56cb82)||this[_0x3feaf1(0x1f1)][_0x3feaf1(0x1fd)](_0x56cb82,this[_0x3feaf1(0x1f5)](_0x56cb82[_0x3feaf1(0x1de)])):this[_0x3feaf1(0x1f1)][_0x3feaf1(0x1ed)](_0x56cb82)&&this[_0x3feaf1(0x1f1)][_0x3feaf1(0x1e5)](_0x56cb82);});}),this[_0x2565ca(0x1f9)](_0x119932,_0x2565ca(0x1e7),(_0x82da23,{threadId:_0x55e3f5})=>{const _0x551198=_0x2565ca,_0x12d737=_0x119932[_0x551198(0x1e8)](_0x55e3f5);this[_0x551198(0x1e6)](_0x12d737),this[_0x551198(0x1f1)][_0x551198(0x1ed)](_0x12d737)&&this[_0x551198(0x1f1)][_0x551198(0x1e5)](_0x12d737);},{'priority':_0x2565ca(0x1ea)}),this[_0x2565ca(0x1f9)](_0x329840[_0x2565ca(0x1e1)],_0x2565ca(0x1fb),(_0x230c8d,_0x45a968)=>{const _0x1e729c=_0x2565ca;_0x45a968[_0x1e729c(0x200)]||(_0x45a968[_0x1e729c(0x1e4)]=!0x0,_0x329840[_0x1e729c(0x1fa)](_0x45a968));});}[_0x53f226(0x1f5)](_0x568d77){const _0x1b1201=_0x53f226,_0x42bf9c=[...this[_0x1b1201(0x1f1)]][_0x1b1201(0x1ff)](_0x1da17e=>_0x1da17e[_0x1b1201(0x1de)]<_0x568d77);return _0x42bf9c>-0x1?_0x42bf9c:this[_0x1b1201(0x1f1)][_0x1b1201(0x1fc)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b5640=_0x1e53;(function(_0x2ec4e1,_0x3ed1b3){const _0x2daa2a=_0x1e53,_0xca0c5b=_0x2ec4e1();while(!![]){try{const _0x87563d=-parseInt(_0x2daa2a(0xbb))/0x1+parseInt(_0x2daa2a(0xbd))/0x2+-parseInt(_0x2daa2a(0xc1))/0x3+parseInt(_0x2daa2a(0x9c))/0x4+parseInt(_0x2daa2a(0xda))/0x5*(parseInt(_0x2daa2a(0xd2))/0x6)+parseInt(_0x2daa2a(0xa5))/0x7+-parseInt(_0x2daa2a(0x93))/0x8;if(_0x87563d===_0x3ed1b3)break;else _0xca0c5b['push'](_0xca0c5b['shift']());}catch(_0x10f679){_0xca0c5b['push'](_0xca0c5b['shift']());}}}(_0x5649,0x68200));import'../../theme/commentsarchive.css';import{Plugin as _0x170f32}from'ckeditor5/src/core.js';function _0x5649(){const _0x5d4016=['componentFactory','archivedAt','findIndex','EDITOR_TOP_SIDE','stop','includes','plugins','3024184OgGixc','requires','channelId','listenTo','push','_addAnnotationToArchive','_handleNewThread','COMMENTS_ARCHIVE','splice','2509850UphrdO','focusableElements','_pendingThreads','execute','forEach','_visibleAnnotations','isEnabled','config','show','isOfficialPlugin','view','CommentsRepository','annotationViews','collection','Dialog','set','archivedThreads','_toggleDialog','add','length','source','_threadToController','735913RGbbCy','indexOf','1696278RazIbF','menuBar:commentsArchive','commentsArchiveView','bind','1113474LQOToX','getByInnerView','filter','set:isVisible','CommentsArchiveUI','isVisible','get','menuitemcheckbox','editor','_hideDialogOnAnnotationEscape','commentsArchive','return','innerView','tooltip','Annotations','locale','init','3794850CRpvwI','stopListening','isOn','has','escape','find','_calculatePosition','collaboration.channelId','5sZvOJY','isPremiumPlugin','pluginName','isOpen','_createCommentsArchiveButton','remove','8493144sHxdyQ','hide'];_0x5649=function(){return _0x5d4016;};return _0x5649();}import{IconCommentsArchive as _0xcf2848}from'ckeditor5/src/icons.js';import{ViewCollection as _0x2c49e9,MenuBarMenuListItemButtonView as _0xe46588,ButtonView as _0x5ed61d,Dialog as _0x24e804,DialogViewPosition as _0xc4528f}from'ckeditor5/src/ui.js';import{getTranslation as _0x5e177e}from'../utils/common-translations.js';import{CommentsArchiveView as _0x265adf}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x33f7f8}from'./commentsarchive.js';function _0x1e53(_0x61195e,_0x9504a1){const _0x5649b6=_0x5649();return _0x1e53=function(_0x1e537d,_0x2abfeb){_0x1e537d=_0x1e537d-0x92;let _0x4fd021=_0x5649b6[_0x1e537d];return _0x4fd021;},_0x1e53(_0x61195e,_0x9504a1);}export class CommentsArchiveUI extends _0x170f32{[_0x2b5640(0xbf)];[_0x2b5640(0xb1)];[_0x2b5640(0xa7)];static get[_0x2b5640(0xdc)](){const _0x34fd4d=_0x2b5640;return _0x34fd4d(0xc5);}static get[_0x2b5640(0xae)](){return!0x0;}static get[_0x2b5640(0xdb)](){return!0x0;}static get[_0x2b5640(0x9d)](){return[_0x33f7f8,_0x24e804];}constructor(_0x5acc1f){const _0x2bc1d9=_0x2b5640;super(_0x5acc1f),this[_0x2bc1d9(0xb1)]=new _0x2c49e9(),this[_0x2bc1d9(0xa7)]=[];}[_0x2b5640(0xd1)](){const _0xc65cb6=_0x2b5640,_0x20b909=this[_0xc65cb6(0xc9)],_0x3aac45=this[_0xc65cb6(0xca)][_0xc65cb6(0xc0)](this);_0x20b909['ui'][_0xc65cb6(0x95)][_0xc65cb6(0xb7)](_0xc65cb6(0xcb),()=>this[_0xc65cb6(0xde)](_0x5ed61d,!0x0)),_0x20b909['ui'][_0xc65cb6(0x95)][_0xc65cb6(0xb7)](_0xc65cb6(0xbe),()=>{const _0xefdec5=_0xc65cb6,_0x412f6f=this[_0xefdec5(0xde)](_0xe46588);return _0x412f6f[_0xefdec5(0xb4)]({'role':_0xefdec5(0xc8)}),_0x412f6f;});const _0x40689b=_0x20b909[_0xc65cb6(0x9b)][_0xc65cb6(0xc7)](_0x33f7f8),_0x29d6f5=_0x20b909[_0xc65cb6(0x9b)][_0xc65cb6(0xc7)](_0xc65cb6(0xcf)),_0x2bbc8e=_0x20b909[_0xc65cb6(0x9b)][_0xc65cb6(0xc7)](_0xc65cb6(0xb0));_0x40689b[_0xc65cb6(0xb5)][_0xc65cb6(0xa9)](_0x283f28=>{const _0x34197d=_0xc65cb6;this[_0x34197d(0xa2)](_0x283f28);}),this[_0xc65cb6(0x9f)](_0x40689b[_0xc65cb6(0xb5)],_0xc65cb6(0xb7),(_0x281af7,_0x441220)=>{const _0x5393d9=_0xc65cb6;this[_0x5393d9(0xa2)](_0x441220);}),this[_0xc65cb6(0x9f)](_0x29d6f5[_0xc65cb6(0xb2)],_0xc65cb6(0xb7),(_0x2e34e9,_0x1ccab0)=>{const _0x265488=_0xc65cb6,_0x1788a3=this[_0x265488(0xa7)][_0x265488(0xd7)](_0x33ceca=>{const _0x11ff73=_0x265488,_0x33c64d=_0x2bbc8e[_0x11ff73(0xba)][_0x11ff73(0xc7)](_0x33ceca);return _0x33c64d&&_0x1ccab0[_0x11ff73(0xcd)]===_0x33c64d[_0x11ff73(0xaf)];});if(_0x1788a3){const _0x24be75=this[_0x265488(0xd8)](_0x1788a3[_0x265488(0x96)]);this[_0x265488(0xa1)](_0x1ccab0,_0x24be75),this[_0x265488(0xa7)][_0x265488(0xa4)](this[_0x265488(0xa7)][_0x265488(0xbc)](_0x1788a3),0x1);}}),this[_0xc65cb6(0x9f)](_0x40689b[_0xc65cb6(0xb5)],_0xc65cb6(0x92),(_0x492dc1,_0xd0bcae)=>{const _0x52762b=_0xc65cb6,_0x1d9895=_0x20b909[_0x52762b(0xac)][_0x52762b(0xc7)](_0x52762b(0xd9));if(!_0x1d9895||_0xd0bcae[_0x52762b(0x9e)]===_0x1d9895){if(this[_0x52762b(0xa7)][_0x52762b(0x9a)](_0xd0bcae))this[_0x52762b(0xa7)][_0x52762b(0xa4)](this[_0x52762b(0xa7)][_0x52762b(0xbc)](_0xd0bcae),0x1);else{const _0xea5835=_0x2bbc8e[_0x52762b(0xba)][_0x52762b(0xc7)](_0xd0bcae),_0x18ed08=_0x29d6f5[_0x52762b(0xc2)](_0xea5835[_0x52762b(0xaf)]);this[_0x52762b(0xb1)][_0x52762b(0x92)](_0x18ed08[_0x52762b(0xaf)]),this[_0x52762b(0xd3)](_0x18ed08),this[_0x52762b(0xd3)](_0x18ed08[_0x52762b(0xa6)]);}}}),this[_0xc65cb6(0x9f)](_0x29d6f5[_0xc65cb6(0xb2)],_0xc65cb6(0xb7),(_0x5660df,_0x55cc34)=>{const _0x53ed2c=_0xc65cb6;this[_0x53ed2c(0x9f)](_0x55cc34,_0x53ed2c(0xd6),_0x3aac45);}),this[_0xc65cb6(0x9f)](_0x29d6f5[_0xc65cb6(0xb2)],_0xc65cb6(0x92),(_0x4f19e7,_0xbdb332)=>{const _0x24d761=_0xc65cb6;this[_0x24d761(0xd3)](_0xbdb332,_0x24d761(0xd6),_0x3aac45);});}[_0x2b5640(0xa1)](_0x110a6b,_0x2bd1ce){const _0xf2ebf1=_0x2b5640;this[_0xf2ebf1(0x9f)](_0x110a6b,_0xf2ebf1(0xc4),_0x4b2392=>{const _0x212570=_0xf2ebf1;_0x4b2392[_0x212570(0xcc)]=!0x1,_0x4b2392[_0x212570(0x99)]();}),this[_0xf2ebf1(0xb1)][_0xf2ebf1(0xb7)](_0x110a6b[_0xf2ebf1(0xaf)],_0x2bd1ce);}[_0x2b5640(0xa2)](_0x183b86){const _0x21ad40=_0x2b5640,_0x51118c=this[_0x21ad40(0xc9)][_0x21ad40(0x9b)][_0x21ad40(0xc7)](_0x21ad40(0xb0)),_0x4acedb=this[_0x21ad40(0xc9)][_0x21ad40(0x9b)][_0x21ad40(0xc7)](_0x21ad40(0xcf)),_0x4a8543=this[_0x21ad40(0xc9)][_0x21ad40(0xac)][_0x21ad40(0xc7)](_0x21ad40(0xd9));if(!_0x4a8543||_0x183b86[_0x21ad40(0x9e)]===_0x4a8543){const _0x47a846=_0x51118c[_0x21ad40(0xba)][_0x21ad40(0xc7)](_0x183b86);if(!_0x47a846)return void this[_0x21ad40(0xa7)][_0x21ad40(0xa0)](_0x183b86);const _0x551249=this[_0x21ad40(0xd8)](_0x183b86[_0x21ad40(0x96)]),_0x52b719=_0x4acedb[_0x21ad40(0xc2)](_0x47a846[_0x21ad40(0xaf)]);_0x52b719[_0x21ad40(0xc6)]&&_0x4acedb[_0x21ad40(0xaa)][_0x21ad40(0x92)](_0x52b719),this[_0x21ad40(0xa1)](_0x52b719,_0x551249);}}[_0x2b5640(0xd8)](_0x458ce1){const _0x8a0fb3=_0x2b5640,_0x41d82d=this[_0x8a0fb3(0xc9)][_0x8a0fb3(0xac)][_0x8a0fb3(0xc7)](_0x8a0fb3(0xd9)),_0x2aaeb2=[...this[_0x8a0fb3(0xc9)][_0x8a0fb3(0x9b)][_0x8a0fb3(0xc7)](_0x33f7f8)[_0x8a0fb3(0xb5)]][_0x8a0fb3(0xc3)](_0x5694f5=>_0x5694f5[_0x8a0fb3(0x9e)]===_0x41d82d)[_0x8a0fb3(0x97)](_0x34b2ff=>_0x34b2ff[_0x8a0fb3(0x96)]<_0x458ce1);return _0x2aaeb2<0x0||_0x2aaeb2>this[_0x8a0fb3(0xb1)][_0x8a0fb3(0xb8)]?this[_0x8a0fb3(0xb1)][_0x8a0fb3(0xb8)]:_0x2aaeb2-0x1;}[_0x2b5640(0xb6)](){const _0x3ab727=_0x2b5640,_0x4a25d1=this[_0x3ab727(0xc9)],_0x2127bf=_0x4a25d1[_0x3ab727(0x9b)][_0x3ab727(0xc7)](_0x3ab727(0xb3));this[_0x3ab727(0xbf)]||(this[_0x3ab727(0xbf)]=new _0x265adf(_0x4a25d1[_0x3ab727(0xd0)],this[_0x3ab727(0xb1)])),_0x3ab727(0xcb)===_0x2127bf['id']?_0x2127bf[_0x3ab727(0x94)]():_0x2127bf[_0x3ab727(0xad)]({'id':_0x3ab727(0xcb),'title':_0x5e177e(_0x4a25d1[_0x3ab727(0xd0)],_0x3ab727(0xa3)),'icon':_0xcf2848,'hasCloseButton':!0x0,'content':this[_0x3ab727(0xbf)],'position':_0xc4528f[_0x3ab727(0x98)]});}[_0x2b5640(0xde)](_0xa1cde7,_0x522ada=!0x1){const _0x30a5ec=_0x2b5640,_0x18b535=this[_0x30a5ec(0xc9)][_0x30a5ec(0xd0)],_0x3150d1=this[_0x30a5ec(0xc9)][_0x30a5ec(0x9b)][_0x30a5ec(0xc7)](_0x30a5ec(0xb3)),_0x3ca91d=new _0xa1cde7(_0x18b535);return _0x3ca91d[_0x30a5ec(0xc0)](_0x30a5ec(0xab))['to'](this,_0x30a5ec(0xab)),_0x3ca91d[_0x30a5ec(0xc0)](_0x30a5ec(0xd4))['to'](_0x3150d1,'id',_0xdcb0b6=>_0x30a5ec(0xcb)===_0xdcb0b6),_0x3ca91d[_0x30a5ec(0xb4)]({'label':_0x5e177e(_0x18b535,_0x30a5ec(0xa3)),'icon':_0xcf2848,'isToggleable':!0x0}),_0x522ada&&(_0x3ca91d[_0x30a5ec(0xce)]=!0x0),this[_0x30a5ec(0x9f)](_0x3ca91d,_0x30a5ec(0xa8),()=>this[_0x30a5ec(0xb6)]()),_0x3ca91d;}[_0x2b5640(0xca)]=_0x19f85d=>{const _0x226a56=_0x2b5640,_0x377dbe=_0x19f85d[_0x226a56(0xb9)];if(!this[_0x226a56(0xb1)][_0x226a56(0xd5)](_0x377dbe[_0x226a56(0xaf)]))return;const _0x3fa5cf=this[_0x226a56(0xc9)][_0x226a56(0x9b)][_0x226a56(0xc7)](_0x226a56(0xb3));_0x3fa5cf[_0x226a56(0xdd)]&&_0x226a56(0xcb)===_0x3fa5cf['id']&&(_0x3fa5cf[_0x226a56(0x94)](),_0x19f85d[_0x226a56(0x99)]());};}
|