@ckeditor/ckeditor5-comments 47.4.0-alpha.0 → 47.4.0-alpha.2
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 +19 -19
- 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 _0x33f554=_0x249d;(function(_0x43ea64,_0x4d5493){const _0x1a2c94=_0x249d,_0x2f9006=_0x43ea64();while(!![]){try{const _0x371104=parseInt(_0x1a2c94(0x1b8))/0x1*(parseInt(_0x1a2c94(0x1e3))/0x2)+parseInt(_0x1a2c94(0x1ed))/0x3*(parseInt(_0x1a2c94(0x1fe))/0x4)+-parseInt(_0x1a2c94(0x20b))/0x5*(-parseInt(_0x1a2c94(0x20e))/0x6)+-parseInt(_0x1a2c94(0x1b9))/0x7*(parseInt(_0x1a2c94(0x1d2))/0x8)+-parseInt(_0x1a2c94(0x204))/0x9*(-parseInt(_0x1a2c94(0x1fb))/0xa)+parseInt(_0x1a2c94(0x1ef))/0xb+parseInt(_0x1a2c94(0x1dc))/0xc*(-parseInt(_0x1a2c94(0x1b5))/0xd);if(_0x371104===_0x4d5493)break;else _0x2f9006['push'](_0x2f9006['shift']());}catch(_0x5b74f2){_0x2f9006['push'](_0x2f9006['shift']());}}}(_0x54c0,0xde03d));import{ContextPlugin as _0x5a9217}from'ckeditor5/src/core.js';import{Rect as _0x129dd0,CKEditorError as _0x726253}from'ckeditor5/src/utils.js';function _0x54c0(){const _0x39688f=['change:_lastItem','isOfficialPlugin','pluginName','10mELQAU','element','_setItemTop','701772seGKrD','init','content','_getItemAfter','updateHeight','max','26991ZXSgBa','delete','_targetTop','add','define','bottom','_alignForBottomChange','85EDQUGo','setContainer','list','105840KEdHSx','_activeAnnotation','appendChild','height','_recalculateBuffer','8460946BDgqTs','view','_alignAfterItem','71356UUWhGt','12478571cCnZcI','bind','last','getIndex','config','remove','_annotationToSidebarItemView','context','locale','change:bottom','_spaceBetweenItems','_alignForTopChange','minHeight','target','sidebar.preventScrollOutOfView','_detachFromContainer','listenTo','sidebar.container','_getTargetTop','_lastItem','unbind','getSidebarItemView','change:targetRect','nodeType','addAnnotation','8XlJDki','sidebar-attachtocontainer-missing-container','change:top','class','isPremiumPlugin','object','render','_getMaxAvailableTop','length','_alignToTargetRect','12BSVbrf','rearrange','_sidebarItemViewToAnnotation','_alignBeforeItem','set','_recalculate','sidebar-setcontainer-invalid-element','44onVfvq','clear','_attachToContainer','push','_annotations','_updateLastItem','get','isActive','_createSidebarView','_getItemBefore','15OjxbmQ','_destroySidebarItemView','6522362RlfzSz','refresh','destroy','top','isAnimationDisabled','targetRect','container','Sidebar','stopListening'];_0x54c0=function(){return _0x39688f;};return _0x54c0();}function _0x249d(_0x489b12,_0x3a7bd2){const _0x54c0c2=_0x54c0();return _0x249d=function(_0x249d5b,_0x5a7865){_0x249d5b=_0x249d5b-0x1b3;let _0x7617d5=_0x54c0c2[_0x249d5b];return _0x7617d5;},_0x249d(_0x489b12,_0x3a7bd2);}import{AnnotationsSidebarView as _0x242e49}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x376113}from'./view/sidebaritemview.js';export class Sidebar extends _0x5a9217{[_0x33f554(0x1b6)];[_0x33f554(0x20f)];[_0x33f554(0x1e7)];[_0x33f554(0x1c3)];[_0x33f554(0x1de)];[_0x33f554(0x1bf)];[_0x33f554(0x1b4)];static get[_0x33f554(0x1fa)](){const _0x498fe9=_0x33f554;return _0x498fe9(0x1f6);}static get[_0x33f554(0x1f9)](){return!0x0;}static get[_0x33f554(0x1d6)](){return!0x0;}constructor(_0x3bf621){const _0x4eb9cb=_0x33f554;super(_0x3bf621),this[_0x4eb9cb(0x1e0)](_0x4eb9cb(0x1cc),void 0x0),this[_0x4eb9cb(0x1b6)]=this[_0x4eb9cb(0x1eb)](),this[_0x4eb9cb(0x1e0)](_0x4eb9cb(0x1f5),null),this[_0x4eb9cb(0x1c3)]=0x19,this[_0x4eb9cb(0x1de)]=new Map(),this[_0x4eb9cb(0x1bf)]=new Map(),this[_0x4eb9cb(0x1c0)][_0x4eb9cb(0x1bd)][_0x4eb9cb(0x208)](_0x4eb9cb(0x1c7),!0x1),this[_0x4eb9cb(0x1e7)]=null,this[_0x4eb9cb(0x20f)]=null,this[_0x4eb9cb(0x1b4)]=[];}[_0x33f554(0x1ff)](){const _0x1ec8e2=_0x33f554,_0x2610ad=this[_0x1ec8e2(0x1c0)][_0x1ec8e2(0x1bd)][_0x1ec8e2(0x1e9)](_0x1ec8e2(0x1ca));_0x2610ad&&this[_0x1ec8e2(0x20c)](_0x2610ad);}[_0x33f554(0x20c)](_0x5b7c11){const _0x5f0172=_0x33f554;if(!g(_0x5b7c11))throw new _0x726253(_0x5f0172(0x1e2));this[_0x5f0172(0x1f5)]=_0x5b7c11;}[_0x33f554(0x1e5)]({viewClass:_0x416a16='',spaceBetweenItems:_0x2fd672=0x19}={}){const _0x126f8d=_0x33f554;if(!g(this[_0x126f8d(0x1f5)]))throw new _0x726253(_0x126f8d(0x1d3),this);this[_0x126f8d(0x1f5)][_0x126f8d(0x210)](this[_0x126f8d(0x1b6)][_0x126f8d(0x1fc)]),this[_0x126f8d(0x1b6)][_0x126f8d(0x1d5)]=_0x416a16,this[_0x126f8d(0x1c3)]=_0x2fd672;}[_0x33f554(0x1dd)]({removedAnnotation:_0x3cbeb8,previousAnnotation:_0x3f5b87,nextAnnotation:_0x1061c3}){const _0x393530=_0x33f554,_0x683cc4=this[_0x393530(0x1ce)](_0x3cbeb8);this[_0x393530(0x1b6)][_0x393530(0x20d)][_0x393530(0x1be)](_0x683cc4),this[_0x393530(0x1ee)](_0x3cbeb8),_0x3f5b87&&this[_0x393530(0x1db)](this[_0x393530(0x1ce)](_0x3f5b87)),_0x1061c3&&this[_0x393530(0x1db)](this[_0x393530(0x1ce)](_0x1061c3)),this[_0x393530(0x1e8)]();}[_0x33f554(0x1f0)]({blurredAnnotation:_0x3e4d60,activatedAnnotation:_0x129e33,disableAnimationOnActivatedAnnotation:_0x21b17e}){const _0x15fde0=_0x33f554;if(this[_0x15fde0(0x20f)]=_0x129e33,_0x3e4d60){_0x3e4d60[_0x15fde0(0x1ea)]=!0x1;const _0x2f2ecb=this[_0x15fde0(0x1ce)](_0x3e4d60);_0x2f2ecb&&_0x21b17e&&(_0x2f2ecb[_0x15fde0(0x1f3)]=!0x1);}if(_0x129e33){const _0x59f45f=this[_0x15fde0(0x1ce)](_0x129e33);_0x59f45f&&(_0x129e33[_0x15fde0(0x1ea)]=!0x0,_0x21b17e&&(_0x59f45f[_0x15fde0(0x1f3)]=!0x0,_0x59f45f[_0x15fde0(0x1f2)]+=0x1),this[_0x15fde0(0x1db)](_0x59f45f));}}[_0x33f554(0x1c8)](_0x58849a){const _0xe638b9=_0x33f554;if(this[_0xe638b9(0x1b6)][_0xe638b9(0x1fc)][_0xe638b9(0x1be)](),_0x58849a){for(const _0x55927f of _0x58849a)this[_0xe638b9(0x1ee)](_0x55927f);}this[_0xe638b9(0x1b6)][_0xe638b9(0x20d)][_0xe638b9(0x1e4)](),this[_0xe638b9(0x1b6)][_0xe638b9(0x1d5)]='',this[_0xe638b9(0x1cc)]=null;}[_0x33f554(0x1d1)](_0x2d8816,_0x178b18){const _0x236a33=_0x33f554;_0x178b18||(_0x178b18=_0x2d8816[_0x236a33(0x1b6)]);const _0x4d3ac9=new _0x376113(this[_0x236a33(0x1c0)][_0x236a33(0x1c1)]);this[_0x236a33(0x1de)][_0x236a33(0x1e0)](_0x4d3ac9,_0x2d8816),this[_0x236a33(0x1bf)][_0x236a33(0x1e0)](_0x2d8816,_0x4d3ac9),_0x4d3ac9[_0x236a33(0x200)][_0x236a33(0x207)](_0x178b18),this[_0x236a33(0x1c9)](_0x2d8816[_0x236a33(0x1b6)],_0x236a33(0x1cf),(_0x4bde2a,_0x49acb1,_0x38599e)=>{const _0x5df2ca=_0x236a33,_0x1b5b27=this[_0x5df2ca(0x1cb)](_0x2d8816,_0x38599e);_0x4d3ac9[_0x5df2ca(0x206)]!=_0x1b5b27&&(_0x4d3ac9[_0x5df2ca(0x206)]=_0x1b5b27,this[_0x5df2ca(0x1fd)](_0x4d3ac9,_0x1b5b27));}),this[_0x236a33(0x1c9)](_0x4d3ac9,_0x236a33(0x1d4),()=>{const _0x180e74=_0x236a33;this[_0x180e74(0x1e1)](_0x4d3ac9,_0x180e74(0x1f2));}),this[_0x236a33(0x1c9)](_0x4d3ac9,_0x236a33(0x1c2),()=>{const _0x237e82=_0x236a33;this[_0x237e82(0x1e1)](_0x4d3ac9,_0x237e82(0x209));}),this[_0x236a33(0x1db)](_0x4d3ac9);const _0x34ff2e=this[_0x236a33(0x1ec)](_0x4d3ac9);if(_0x34ff2e)this[_0x236a33(0x1b7)](_0x34ff2e,_0x4d3ac9)||this[_0x236a33(0x1db)](_0x4d3ac9);else this[_0x236a33(0x1db)](_0x4d3ac9);return this[_0x236a33(0x1e8)](),this[_0x236a33(0x1b6)][_0x236a33(0x20d)][_0x236a33(0x207)](_0x4d3ac9),_0x4d3ac9;}[_0x33f554(0x1c4)](_0x150fe7){const _0x50f4a0=_0x33f554;if(!_0x150fe7[_0x50f4a0(0x200)][_0x50f4a0(0x1da)])return;const _0x145bde=this[_0x50f4a0(0x1ec)](_0x150fe7);if(!_0x145bde)return;const _0x3b4acd=this[_0x50f4a0(0x1de)][_0x50f4a0(0x1e9)](_0x145bde),_0x160bda=this[_0x50f4a0(0x20f)];_0x160bda&&_0x160bda===_0x3b4acd?this[_0x50f4a0(0x1b7)](_0x145bde,_0x150fe7):this[_0x50f4a0(0x1df)](_0x150fe7,_0x145bde);}[_0x33f554(0x20a)](_0x431aaa){const _0x3c75a7=_0x33f554;if(!_0x431aaa[_0x3c75a7(0x200)][_0x3c75a7(0x1da)])return;const _0x1210d6=this[_0x3c75a7(0x201)](_0x431aaa);if(!_0x1210d6)return;const _0x418dd1=this[_0x3c75a7(0x1de)][_0x3c75a7(0x1e9)](_0x1210d6),_0x2fcab6=this[_0x3c75a7(0x1c0)][_0x3c75a7(0x1bd)][_0x3c75a7(0x1e9)](_0x3c75a7(0x1c7)),_0x49c0ac=this[_0x3c75a7(0x20f)];_0x49c0ac&&_0x49c0ac===_0x418dd1&&_0x2fcab6?(this[_0x3c75a7(0x1df)](_0x1210d6,_0x431aaa),this[_0x3c75a7(0x1b7)](_0x431aaa,_0x1210d6)):_0x49c0ac&&_0x49c0ac===_0x418dd1?this[_0x3c75a7(0x1df)](_0x1210d6,_0x431aaa):this[_0x3c75a7(0x1b7)](_0x431aaa,_0x1210d6);}[_0x33f554(0x1e1)](_0x31012a,_0x2680d1){const _0x15550d=_0x33f554;0x0===this[_0x15550d(0x1b4)][_0x15550d(0x1da)]&&setTimeout(()=>{const _0x3a7612=_0x15550d;for(const {sidebarItemView:_0x47514b,changedProp:_0x23299d}of this[_0x3a7612(0x1b4)])_0x3a7612(0x1f2)===_0x23299d?this[_0x3a7612(0x1c4)](_0x47514b):this[_0x3a7612(0x20a)](_0x47514b);this[_0x3a7612(0x1b4)]=[];},0xa),this[_0x15550d(0x1b4)][_0x15550d(0x1e6)]({'sidebarItemView':_0x31012a,'changedProp':_0x2680d1});}[_0x33f554(0x1ce)](_0x347023){const _0x989d2f=_0x33f554;return this[_0x989d2f(0x1bf)][_0x989d2f(0x1e9)](_0x347023);}[_0x33f554(0x1f1)](){const _0x3f08c0=_0x33f554;this[_0x3f08c0(0x1f7)](),this[_0x3f08c0(0x1b6)][_0x3f08c0(0x1f1)]();}[_0x33f554(0x1ee)](_0x977a8a){const _0x1f9e34=_0x33f554,_0x1f47be=this[_0x1f9e34(0x1ce)](_0x977a8a);this[_0x1f9e34(0x1f7)](_0x1f47be),this[_0x1f9e34(0x1f7)](_0x977a8a[_0x1f9e34(0x1b6)]),_0x1f47be[_0x1f9e34(0x1f1)](),this[_0x1f9e34(0x1bf)][_0x1f9e34(0x205)](_0x977a8a),this[_0x1f9e34(0x1de)][_0x1f9e34(0x205)](_0x1f47be);}[_0x33f554(0x1eb)](){const _0x4a9f90=_0x33f554,_0x4fcf20=new _0x242e49(this[_0x4a9f90(0x1c0)][_0x4a9f90(0x1c1)]);return _0x4fcf20[_0x4a9f90(0x1d8)](),this['on'](_0x4a9f90(0x1f8),(_0x40fae8,_0x528aa5,_0x3380c0,_0x5a364e)=>{const _0x31da3c=_0x4a9f90;_0x5a364e&&_0x4fcf20[_0x31da3c(0x1cd)](_0x31da3c(0x1c5)),_0x3380c0?_0x4fcf20[_0x31da3c(0x1ba)](_0x31da3c(0x1c5))['to'](_0x3380c0,_0x31da3c(0x209)):_0x4fcf20[_0x31da3c(0x1c5)]=null;}),_0x4fcf20;}[_0x33f554(0x1e8)](){const _0x4685cc=_0x33f554;this[_0x4685cc(0x1cc)]=this[_0x4685cc(0x1e7)]?.[_0x4685cc(0x1bb)]?this[_0x4685cc(0x1ce)](this[_0x4685cc(0x1e7)][_0x4685cc(0x1bb)]):null;}[_0x33f554(0x1ec)](_0x755689){const _0x17d6d2=_0x33f554,_0x56d220=this[_0x17d6d2(0x1de)][_0x17d6d2(0x1e9)](_0x755689),_0x4e242f=_0x56d220&&this[_0x17d6d2(0x1e7)]?.[_0x17d6d2(0x1e9)](this[_0x17d6d2(0x1e7)][_0x17d6d2(0x1bc)](_0x56d220)-0x1);return _0x4e242f&&this[_0x17d6d2(0x1ce)](_0x4e242f)||null;}[_0x33f554(0x201)](_0x19a3de){const _0x1b972f=_0x33f554,_0x188cb9=this[_0x1b972f(0x1de)][_0x1b972f(0x1e9)](_0x19a3de),_0x5d1974=_0x188cb9&&this[_0x1b972f(0x1e7)]?.[_0x1b972f(0x1e9)](this[_0x1b972f(0x1e7)][_0x1b972f(0x1bc)](_0x188cb9)+0x1);return _0x5d1974&&this[_0x1b972f(0x1ce)](_0x5d1974)||null;}[_0x33f554(0x1df)](_0x549b8e,_0xa196bc){const _0x1f6773=_0x33f554;_0x549b8e[_0x1f6773(0x202)]();const _0x2e6d2d=G(_0xa196bc[_0x1f6773(0x209)]+this[_0x1f6773(0x1c3)],_0x549b8e[_0x1f6773(0x1f2)]);return!!_0x2e6d2d&&(this[_0x1f6773(0x1fd)](_0xa196bc,_0xa196bc[_0x1f6773(0x1f2)]-_0x2e6d2d),!0x0);}[_0x33f554(0x1b7)](_0xffa1d5,_0x8d52ce){const _0x4baa74=_0x33f554;_0xffa1d5[_0x4baa74(0x202)]();const _0x568876=G(_0xffa1d5[_0x4baa74(0x209)]+this[_0x4baa74(0x1c3)],_0x8d52ce[_0x4baa74(0x1f2)]);return!!_0x568876&&(this[_0x4baa74(0x1fd)](_0x8d52ce,_0x8d52ce[_0x4baa74(0x1f2)]+_0x568876,!0x1),!0x0);}[_0x33f554(0x1db)](_0x44c6b9){const _0x5a4dff=_0x33f554,_0x242737=this[_0x5a4dff(0x1de)][_0x5a4dff(0x1e9)](_0x44c6b9);if(!_0x242737||!_0x242737[_0x5a4dff(0x1c6)]||!_0x242737[_0x5a4dff(0x1f4)])return;const _0x5762c9=this[_0x5a4dff(0x1cb)](_0x242737,_0x242737[_0x5a4dff(0x1f4)]);this[_0x5a4dff(0x1fd)](_0x44c6b9,_0x5762c9);}[_0x33f554(0x1cb)](_0x549f0b,_0x381432){const _0x2041d3=_0x33f554;if(null===_0x381432)return 0x0;if(_0x549f0b[_0x2041d3(0x1c6)]instanceof _0x129dd0)return _0x381432[_0x2041d3(0x1f2)];{const _0x50fcb3=new _0x129dd0(this[_0x2041d3(0x1b6)][_0x2041d3(0x1fc)])[_0x2041d3(0x1f2)];return _0x381432[_0x2041d3(0x1f2)]-_0x50fcb3;}}[_0x33f554(0x1fd)](_0x473f28,_0x1efd7b,_0xbb08a5=this[_0x33f554(0x1c0)][_0x33f554(0x1bd)][_0x33f554(0x1e9)](_0x33f554(0x1c7))){const _0x40560e=_0x33f554;_0xbb08a5&&(_0x1efd7b=Math[_0x40560e(0x203)](_0x1efd7b,this[_0x40560e(0x1d9)](_0x473f28))),_0x473f28[_0x40560e(0x1f2)]=_0x1efd7b;}[_0x33f554(0x1d9)](_0x22a06a){const _0xdb5e16=_0x33f554;let _0x375bec=this[_0xdb5e16(0x1ec)](_0x22a06a),_0xb4ccf0=0x0;for(;_0x375bec;)_0x375bec[_0xdb5e16(0x202)](),_0xb4ccf0+=this[_0xdb5e16(0x1c3)]+_0x375bec[_0xdb5e16(0x1b3)],_0x375bec=this[_0xdb5e16(0x1ec)](_0x375bec);return _0xb4ccf0;}}function G(_0x3a8265,_0x3da8ad){const _0x2353b9=_0x33f554;return Math[_0x2353b9(0x203)](_0x3a8265-_0x3da8ad,0x0);}function g(_0x13c80a){const _0x289197=_0x33f554;return null!==_0x13c80a&&_0x289197(0x1d7)==typeof _0x13c80a&&0x1===_0x13c80a[_0x289197(0x1d0)];}
|
|
23
|
+
function _0x135f(){const _0x46c3ce=['set','height','updateHeight','content','nodeType','bottom','class','config','Sidebar','change:_lastItem','_detachFromContainer','pluginName','length','690864mahUtd','stopListening','1707768ceCLHs','bind','clear','_updateLastItem','10064450qbHauM','_attachToContainer','change:top','190gsYDqt','isPremiumPlugin','sidebar.container','_getItemBefore','change:targetRect','rearrange','4LgUJKh','define','_destroySidebarItemView','1301106TjCZxT','_spaceBetweenItems','49ehbhHc','170MMQOWy','get','_alignForTopChange','_annotationToSidebarItemView','change:bottom','_getItemAfter','_activeAnnotation','_recalculate','element','sidebar-setcontainer-invalid-element','max','363183afLLpS','unbind','delete','appendChild','sidebar.preventScrollOutOfView','isOfficialPlugin','sidebar-attachtocontainer-missing-container','add','303165WmRvYL','getSidebarItemView','getIndex','setContainer','view','minHeight','targetRect','context','listenTo','refresh','addAnnotation','destroy','init','last','object','_alignForBottomChange','_alignToTargetRect','_annotations','container','render','_alignBeforeItem','locale','_getMaxAvailableTop','_createSidebarView','isActive','_getTargetTop','_sidebarItemViewToAnnotation','target','top','_targetTop','remove','_alignAfterItem','push','_setItemTop','list','_recalculateBuffer','72412tQhfUv','isAnimationDisabled','_lastItem'];_0x135f=function(){return _0x46c3ce;};return _0x135f();}const _0x2e8c7f=_0x5a17;(function(_0x3acdf1,_0x472c14){const _0x25a8cf=_0x5a17,_0x2425cf=_0x3acdf1();while(!![]){try{const _0x2f1728=-parseInt(_0x25a8cf(0x107))/0x1+parseInt(_0x25a8cf(0xf6))/0x2*(parseInt(_0x25a8cf(0xf9))/0x3)+parseInt(_0x25a8cf(0xd7))/0x4*(parseInt(_0x25a8cf(0xfc))/0x5)+parseInt(_0x25a8cf(0xe9))/0x6+-parseInt(_0x25a8cf(0xfb))/0x7*(parseInt(_0x25a8cf(0xe7))/0x8)+parseInt(_0x25a8cf(0x10f))/0x9*(parseInt(_0x25a8cf(0xf0))/0xa)+-parseInt(_0x25a8cf(0xed))/0xb;if(_0x2f1728===_0x472c14)break;else _0x2425cf['push'](_0x2425cf['shift']());}catch(_0x47f820){_0x2425cf['push'](_0x2425cf['shift']());}}}(_0x135f,0x8026e));function _0x5a17(_0x272376,_0xe76145){const _0x135f53=_0x135f();return _0x5a17=function(_0x5a175d,_0x5df7a4){_0x5a175d=_0x5a175d-0xca;let _0x1bdd59=_0x135f53[_0x5a175d];return _0x1bdd59;},_0x5a17(_0x272376,_0xe76145);}import{ContextPlugin as _0x141cc9}from'ckeditor5/src/core.js';import{Rect as _0x244743,CKEditorError as _0x13c4a4}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x51e93e}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x1ff576}from'./view/sidebaritemview.js';export class Sidebar extends _0x141cc9{[_0x2e8c7f(0x113)];[_0x2e8c7f(0x102)];[_0x2e8c7f(0x120)];[_0x2e8c7f(0xfa)];[_0x2e8c7f(0xcd)];[_0x2e8c7f(0xff)];[_0x2e8c7f(0xd6)];static get[_0x2e8c7f(0xe5)](){const _0x2036b2=_0x2e8c7f;return _0x2036b2(0xe2);}static get[_0x2e8c7f(0x10c)](){return!0x0;}static get[_0x2e8c7f(0xf1)](){return!0x0;}constructor(_0x2f9652){const _0x5d4c21=_0x2e8c7f;super(_0x2f9652),this[_0x5d4c21(0xda)](_0x5d4c21(0xd9),void 0x0),this[_0x5d4c21(0x113)]=this[_0x5d4c21(0xca)](),this[_0x5d4c21(0xda)](_0x5d4c21(0x121),null),this[_0x5d4c21(0xfa)]=0x19,this[_0x5d4c21(0xcd)]=new Map(),this[_0x5d4c21(0xff)]=new Map(),this[_0x5d4c21(0x116)][_0x5d4c21(0xe1)][_0x5d4c21(0xf7)](_0x5d4c21(0x10b),!0x1),this[_0x5d4c21(0x120)]=null,this[_0x5d4c21(0x102)]=null,this[_0x5d4c21(0xd6)]=[];}[_0x2e8c7f(0x11b)](){const _0x4fac66=_0x2e8c7f,_0x7af99b=this[_0x4fac66(0x116)][_0x4fac66(0xe1)][_0x4fac66(0xfd)](_0x4fac66(0xf2));_0x7af99b&&this[_0x4fac66(0x112)](_0x7af99b);}[_0x2e8c7f(0x112)](_0x70751e){const _0x5a3550=_0x2e8c7f;if(!g(_0x70751e))throw new _0x13c4a4(_0x5a3550(0x105));this[_0x5a3550(0x121)]=_0x70751e;}[_0x2e8c7f(0xee)]({viewClass:_0x28f957='',spaceBetweenItems:_0x5b40aa=0x19}={}){const _0xb294a4=_0x2e8c7f;if(!g(this[_0xb294a4(0x121)]))throw new _0x13c4a4(_0xb294a4(0x10d),this);this[_0xb294a4(0x121)][_0xb294a4(0x10a)](this[_0xb294a4(0x113)][_0xb294a4(0x104)]),this[_0xb294a4(0x113)][_0xb294a4(0xe0)]=_0x28f957,this[_0xb294a4(0xfa)]=_0x5b40aa;}[_0x2e8c7f(0xf5)]({removedAnnotation:_0x35e1ab,previousAnnotation:_0x530948,nextAnnotation:_0x3acca3}){const _0x359cb8=_0x2e8c7f,_0x28f301=this[_0x359cb8(0x110)](_0x35e1ab);this[_0x359cb8(0x113)][_0x359cb8(0xd5)][_0x359cb8(0xd1)](_0x28f301),this[_0x359cb8(0xf8)](_0x35e1ab),_0x530948&&this[_0x359cb8(0x11f)](this[_0x359cb8(0x110)](_0x530948)),_0x3acca3&&this[_0x359cb8(0x11f)](this[_0x359cb8(0x110)](_0x3acca3)),this[_0x359cb8(0xec)]();}[_0x2e8c7f(0x118)]({blurredAnnotation:_0xee0303,activatedAnnotation:_0x1ac2cc,disableAnimationOnActivatedAnnotation:_0x309732}){const _0x35a9da=_0x2e8c7f;if(this[_0x35a9da(0x102)]=_0x1ac2cc,_0xee0303){_0xee0303[_0x35a9da(0xcb)]=!0x1;const _0x475760=this[_0x35a9da(0x110)](_0xee0303);_0x475760&&_0x309732&&(_0x475760[_0x35a9da(0xd8)]=!0x1);}if(_0x1ac2cc){const _0x45099f=this[_0x35a9da(0x110)](_0x1ac2cc);_0x45099f&&(_0x1ac2cc[_0x35a9da(0xcb)]=!0x0,_0x309732&&(_0x45099f[_0x35a9da(0xd8)]=!0x0,_0x45099f[_0x35a9da(0xcf)]+=0x1),this[_0x35a9da(0x11f)](_0x45099f));}}[_0x2e8c7f(0xe4)](_0x3e4002){const _0x4ce1e5=_0x2e8c7f;if(this[_0x4ce1e5(0x113)][_0x4ce1e5(0x104)][_0x4ce1e5(0xd1)](),_0x3e4002){for(const _0x23a883 of _0x3e4002)this[_0x4ce1e5(0xf8)](_0x23a883);}this[_0x4ce1e5(0x113)][_0x4ce1e5(0xd5)][_0x4ce1e5(0xeb)](),this[_0x4ce1e5(0x113)][_0x4ce1e5(0xe0)]='',this[_0x4ce1e5(0xd9)]=null;}[_0x2e8c7f(0x119)](_0x446367,_0x5b67c0){const _0x39c5ce=_0x2e8c7f;_0x5b67c0||(_0x5b67c0=_0x446367[_0x39c5ce(0x113)]);const _0x49a483=new _0x1ff576(this[_0x39c5ce(0x116)][_0x39c5ce(0x124)]);this[_0x39c5ce(0xcd)][_0x39c5ce(0xda)](_0x49a483,_0x446367),this[_0x39c5ce(0xff)][_0x39c5ce(0xda)](_0x446367,_0x49a483),_0x49a483[_0x39c5ce(0xdd)][_0x39c5ce(0x10e)](_0x5b67c0),this[_0x39c5ce(0x117)](_0x446367[_0x39c5ce(0x113)],_0x39c5ce(0xf4),(_0x357e8d,_0x40bcda,_0x40d30d)=>{const _0x7c3ab7=_0x39c5ce,_0x48a777=this[_0x7c3ab7(0xcc)](_0x446367,_0x40d30d);_0x49a483[_0x7c3ab7(0xd0)]!=_0x48a777&&(_0x49a483[_0x7c3ab7(0xd0)]=_0x48a777,this[_0x7c3ab7(0xd4)](_0x49a483,_0x48a777));}),this[_0x39c5ce(0x117)](_0x49a483,_0x39c5ce(0xef),()=>{const _0x3be64a=_0x39c5ce;this[_0x3be64a(0x103)](_0x49a483,_0x3be64a(0xcf));}),this[_0x39c5ce(0x117)](_0x49a483,_0x39c5ce(0x100),()=>{const _0x16a8e6=_0x39c5ce;this[_0x16a8e6(0x103)](_0x49a483,_0x16a8e6(0xdf));}),this[_0x39c5ce(0x11f)](_0x49a483);const _0xb65220=this[_0x39c5ce(0xf3)](_0x49a483);if(_0xb65220)this[_0x39c5ce(0xd2)](_0xb65220,_0x49a483)||this[_0x39c5ce(0x11f)](_0x49a483);else this[_0x39c5ce(0x11f)](_0x49a483);return this[_0x39c5ce(0xec)](),this[_0x39c5ce(0x113)][_0x39c5ce(0xd5)][_0x39c5ce(0x10e)](_0x49a483),_0x49a483;}[_0x2e8c7f(0xfe)](_0x1368f2){const _0x59db6f=_0x2e8c7f;if(!_0x1368f2[_0x59db6f(0xdd)][_0x59db6f(0xe6)])return;const _0x1b0eb9=this[_0x59db6f(0xf3)](_0x1368f2);if(!_0x1b0eb9)return;const _0x1d4442=this[_0x59db6f(0xcd)][_0x59db6f(0xfd)](_0x1b0eb9),_0x3262f9=this[_0x59db6f(0x102)];_0x3262f9&&_0x3262f9===_0x1d4442?this[_0x59db6f(0xd2)](_0x1b0eb9,_0x1368f2):this[_0x59db6f(0x123)](_0x1368f2,_0x1b0eb9);}[_0x2e8c7f(0x11e)](_0x346dd0){const _0x4e6ff3=_0x2e8c7f;if(!_0x346dd0[_0x4e6ff3(0xdd)][_0x4e6ff3(0xe6)])return;const _0x1eb60c=this[_0x4e6ff3(0x101)](_0x346dd0);if(!_0x1eb60c)return;const _0x23aa1e=this[_0x4e6ff3(0xcd)][_0x4e6ff3(0xfd)](_0x1eb60c),_0x2365b1=this[_0x4e6ff3(0x116)][_0x4e6ff3(0xe1)][_0x4e6ff3(0xfd)](_0x4e6ff3(0x10b)),_0x4e9e2a=this[_0x4e6ff3(0x102)];_0x4e9e2a&&_0x4e9e2a===_0x23aa1e&&_0x2365b1?(this[_0x4e6ff3(0x123)](_0x1eb60c,_0x346dd0),this[_0x4e6ff3(0xd2)](_0x346dd0,_0x1eb60c)):_0x4e9e2a&&_0x4e9e2a===_0x23aa1e?this[_0x4e6ff3(0x123)](_0x1eb60c,_0x346dd0):this[_0x4e6ff3(0xd2)](_0x346dd0,_0x1eb60c);}[_0x2e8c7f(0x103)](_0x3e802a,_0x307cd1){const _0x1c7b87=_0x2e8c7f;0x0===this[_0x1c7b87(0xd6)][_0x1c7b87(0xe6)]&&setTimeout(()=>{const _0x2e6dac=_0x1c7b87;for(const {sidebarItemView:_0x1ffcb3,changedProp:_0x34b996}of this[_0x2e6dac(0xd6)])_0x2e6dac(0xcf)===_0x34b996?this[_0x2e6dac(0xfe)](_0x1ffcb3):this[_0x2e6dac(0x11e)](_0x1ffcb3);this[_0x2e6dac(0xd6)]=[];},0xa),this[_0x1c7b87(0xd6)][_0x1c7b87(0xd3)]({'sidebarItemView':_0x3e802a,'changedProp':_0x307cd1});}[_0x2e8c7f(0x110)](_0x790ca1){const _0x17fc39=_0x2e8c7f;return this[_0x17fc39(0xff)][_0x17fc39(0xfd)](_0x790ca1);}[_0x2e8c7f(0x11a)](){const _0x2d75f7=_0x2e8c7f;this[_0x2d75f7(0xe8)](),this[_0x2d75f7(0x113)][_0x2d75f7(0x11a)]();}[_0x2e8c7f(0xf8)](_0x2c26c5){const _0x101c70=_0x2e8c7f,_0x58c2b2=this[_0x101c70(0x110)](_0x2c26c5);this[_0x101c70(0xe8)](_0x58c2b2),this[_0x101c70(0xe8)](_0x2c26c5[_0x101c70(0x113)]),_0x58c2b2[_0x101c70(0x11a)](),this[_0x101c70(0xff)][_0x101c70(0x109)](_0x2c26c5),this[_0x101c70(0xcd)][_0x101c70(0x109)](_0x58c2b2);}[_0x2e8c7f(0xca)](){const _0x461411=_0x2e8c7f,_0x53bf27=new _0x51e93e(this[_0x461411(0x116)][_0x461411(0x124)]);return _0x53bf27[_0x461411(0x122)](),this['on'](_0x461411(0xe3),(_0x54f046,_0x327ed0,_0x235474,_0xdac231)=>{const _0x284b33=_0x461411;_0xdac231&&_0x53bf27[_0x284b33(0x108)](_0x284b33(0x114)),_0x235474?_0x53bf27[_0x284b33(0xea)](_0x284b33(0x114))['to'](_0x235474,_0x284b33(0xdf)):_0x53bf27[_0x284b33(0x114)]=null;}),_0x53bf27;}[_0x2e8c7f(0xec)](){const _0x30d342=_0x2e8c7f;this[_0x30d342(0xd9)]=this[_0x30d342(0x120)]?.[_0x30d342(0x11c)]?this[_0x30d342(0x110)](this[_0x30d342(0x120)][_0x30d342(0x11c)]):null;}[_0x2e8c7f(0xf3)](_0x430742){const _0x279b79=_0x2e8c7f,_0x3c8f9c=this[_0x279b79(0xcd)][_0x279b79(0xfd)](_0x430742),_0x5c529d=_0x3c8f9c&&this[_0x279b79(0x120)]?.[_0x279b79(0xfd)](this[_0x279b79(0x120)][_0x279b79(0x111)](_0x3c8f9c)-0x1);return _0x5c529d&&this[_0x279b79(0x110)](_0x5c529d)||null;}[_0x2e8c7f(0x101)](_0x34528a){const _0x50aad1=_0x2e8c7f,_0x2e8bfb=this[_0x50aad1(0xcd)][_0x50aad1(0xfd)](_0x34528a),_0x2cad5f=_0x2e8bfb&&this[_0x50aad1(0x120)]?.[_0x50aad1(0xfd)](this[_0x50aad1(0x120)][_0x50aad1(0x111)](_0x2e8bfb)+0x1);return _0x2cad5f&&this[_0x50aad1(0x110)](_0x2cad5f)||null;}[_0x2e8c7f(0x123)](_0x1b41b2,_0x3d55bf){const _0x3d8f2a=_0x2e8c7f;_0x1b41b2[_0x3d8f2a(0xdc)]();const _0x17c07b=G(_0x3d55bf[_0x3d8f2a(0xdf)]+this[_0x3d8f2a(0xfa)],_0x1b41b2[_0x3d8f2a(0xcf)]);return!!_0x17c07b&&(this[_0x3d8f2a(0xd4)](_0x3d55bf,_0x3d55bf[_0x3d8f2a(0xcf)]-_0x17c07b),!0x0);}[_0x2e8c7f(0xd2)](_0x2816fd,_0xf62d39){const _0x5ebf89=_0x2e8c7f;_0x2816fd[_0x5ebf89(0xdc)]();const _0x4c26bb=G(_0x2816fd[_0x5ebf89(0xdf)]+this[_0x5ebf89(0xfa)],_0xf62d39[_0x5ebf89(0xcf)]);return!!_0x4c26bb&&(this[_0x5ebf89(0xd4)](_0xf62d39,_0xf62d39[_0x5ebf89(0xcf)]+_0x4c26bb,!0x1),!0x0);}[_0x2e8c7f(0x11f)](_0xfc87dc){const _0x4416c5=_0x2e8c7f,_0x27340f=this[_0x4416c5(0xcd)][_0x4416c5(0xfd)](_0xfc87dc);if(!_0x27340f||!_0x27340f[_0x4416c5(0xce)]||!_0x27340f[_0x4416c5(0x115)])return;const _0x1cd5bd=this[_0x4416c5(0xcc)](_0x27340f,_0x27340f[_0x4416c5(0x115)]);this[_0x4416c5(0xd4)](_0xfc87dc,_0x1cd5bd);}[_0x2e8c7f(0xcc)](_0x1aabda,_0x7195ed){const _0x3efba1=_0x2e8c7f;if(null===_0x7195ed)return 0x0;if(_0x1aabda[_0x3efba1(0xce)]instanceof _0x244743)return _0x7195ed[_0x3efba1(0xcf)];{const _0x4a4096=new _0x244743(this[_0x3efba1(0x113)][_0x3efba1(0x104)])[_0x3efba1(0xcf)];return _0x7195ed[_0x3efba1(0xcf)]-_0x4a4096;}}[_0x2e8c7f(0xd4)](_0x1fec18,_0x48d08e,_0x1172eb=this[_0x2e8c7f(0x116)][_0x2e8c7f(0xe1)][_0x2e8c7f(0xfd)](_0x2e8c7f(0x10b))){const _0x4aeba0=_0x2e8c7f;_0x1172eb&&(_0x48d08e=Math[_0x4aeba0(0x106)](_0x48d08e,this[_0x4aeba0(0x125)](_0x1fec18))),_0x1fec18[_0x4aeba0(0xcf)]=_0x48d08e;}[_0x2e8c7f(0x125)](_0x6afc1a){const _0x29fb15=_0x2e8c7f;let _0x104d6b=this[_0x29fb15(0xf3)](_0x6afc1a),_0x21adfd=0x0;for(;_0x104d6b;)_0x104d6b[_0x29fb15(0xdc)](),_0x21adfd+=this[_0x29fb15(0xfa)]+_0x104d6b[_0x29fb15(0xdb)],_0x104d6b=this[_0x29fb15(0xf3)](_0x104d6b);return _0x21adfd;}}function G(_0x468800,_0x10d99e){const _0x13f376=_0x2e8c7f;return Math[_0x13f376(0x106)](_0x468800-_0x10d99e,0x0);}function g(_0x4dc228){const _0x3b214f=_0x2e8c7f;return null!==_0x4dc228&&_0x3b214f(0x11d)==typeof _0x4dc228&&0x1===_0x4dc228[_0x3b214f(0xde)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c335e=_0x3476;function _0x3476(_0x504cef,_0x392a81){const _0x518410=_0x5184();return _0x3476=function(_0x347697,_0x31a192){_0x347697=_0x347697-0x100;let _0x5db731=_0x518410[_0x347697];return _0x5db731;},_0x3476(_0x504cef,_0x392a81);}(function(_0xcc54fb,_0x4dfc09){const _0x49d232=_0x3476,_0x5677fc=_0xcc54fb();while(!![]){try{const _0x42765e=-parseInt(_0x49d232(0x104))/0x1*(parseInt(_0x49d232(0x119))/0x2)+-parseInt(_0x49d232(0x111))/0x3+parseInt(_0x49d232(0x101))/0x4+-parseInt(_0x49d232(0x108))/0x5*(parseInt(_0x49d232(0x117))/0x6)+parseInt(_0x49d232(0x115))/0x7+parseInt(_0x49d232(0x118))/0x8*(-parseInt(_0x49d232(0x10a))/0x9)+parseInt(_0x49d232(0x10b))/0xa;if(_0x42765e===_0x4dfc09)break;else _0x5677fc['push'](_0x5677fc['shift']());}catch(_0x5482a6){_0x5677fc['push'](_0x5677fc['shift']());}}}(_0x5184,0x9114c));import{ButtonView as _0x2f684b,View as _0x437e08}from'ckeditor5/src/ui.js';function _0x5184(){const _0x1b7f99=['252timXFj','6764960LSIewA','...','children','counterView','ck-annotation-counter__badge--edit-mode','bindTemplate','1292031aDgLyI','_badge','isDirty','set','1520330BUKotB','icon','140586CZpDfn','4744ojpkTe','269102aMqPPX','extendTemplate','add','setTemplate','toString','ck-annotation-counter__badge','4101784fMpcli','number','ck-annotation-counter','6lBfhMc','bind','annotationType','ck-annotation-counter__badge--','15tghtOT','span'];_0x5184=function(){return _0x1b7f99;};return _0x5184();}import{IconAddComment as _0x239eae}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x2f684b{[_0x5c335e(0x10e)];constructor(_0x3c410d){const _0x130443=_0x5c335e;super(_0x3c410d);const _0x518a54=this[_0x130443(0x110)];this[_0x130443(0x114)](_0x130443(0x113),!0x1),this[_0x130443(0x114)](_0x130443(0x102),0x0),this[_0x130443(0x105)](_0x130443(0x112))['to'](this,_0x130443(0x113),this,_0x130443(0x102),(_0x3e006e,_0x4b66e3)=>_0x3e006e?_0x130443(0x10c):_0x4b66e3[_0x130443(0x11d)]()),this[_0x130443(0x114)](_0x130443(0x106),''),this[_0x130443(0x116)]=_0x239eae,this[_0x130443(0x11a)]({'attributes':{'class':[_0x130443(0x103)]}}),this[_0x130443(0x10e)]=new _0x437e08(),this[_0x130443(0x10e)][_0x130443(0x11c)]({'tag':_0x130443(0x109),'attributes':{'class':[_0x130443(0x100),_0x518a54['to'](_0x130443(0x106),_0x56d235=>_0x130443(0x107)+_0x56d235),_0x518a54['if'](_0x130443(0x113),_0x130443(0x10f))]},'children':[{'text':_0x518a54['to'](_0x130443(0x112))}]}),this[_0x130443(0x10d)][_0x130443(0x11b)](this[_0x130443(0x10e)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x300861=_0x1342;(function(_0xfab583,_0x31666a){const _0x4ddf3b=_0x1342,_0x2aff8e=_0xfab583();while(!![]){try{const _0x2677b4=-parseInt(_0x4ddf3b(0x11b))/0x1+parseInt(_0x4ddf3b(0xf1))/0x2+-parseInt(_0x4ddf3b(0xf7))/0x3*(parseInt(_0x4ddf3b(0xf2))/0x4)+-parseInt(_0x4ddf3b(0x10c))/0x5+-parseInt(_0x4ddf3b(0xfc))/0x6*(parseInt(_0x4ddf3b(0xfa))/0x7)+parseInt(_0x4ddf3b(0xf5))/0x8+parseInt(_0x4ddf3b(0x108))/0x9;if(_0x2677b4===_0x31666a)break;else _0x2aff8e['push'](_0x2aff8e['shift']());}catch(_0x4097e8){_0x2aff8e['push'](_0x2aff8e['shift']());}}}(_0x1178,0xcd127));import{View as _0x43ffa7}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4ca454,KeystrokeHandler as _0x5ed610,uid as _0x61891d}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x1a2f61}from'../../utils/createmutationobserver.js';function _0x1342(_0x469ce8,_0x4049dd){const _0x117843=_0x1178();return _0x1342=function(_0x13422b,_0xb74c42){_0x13422b=_0x13422b-0xee;let _0x1c0d90=_0x117843[_0x13422b];return _0x1c0d90;},_0x1342(_0x469ce8,_0x4049dd);}function _0x1178(){const _0xac0cab=['attach','bindTemplate','_mutationObserver','listenTo','focusTracker','_updateHeight','set','render','focus','delegate','keystrokes','createCollection','height','625827yVtnYN','detach','arrowup','ck-annotation-wrapper--active','794394xSQjUh','20ioMswe','first','clear','7516328WGUxeZ','div','30963SCdcxj','presentation','type','108059tudTpW','add','42IodRsP','setTemplate','clientHeight','isActive','Esc','content','ck-rounded-corners','isDirty','arrowdown','destroy','ck-annotation-wrapper','mainView','5315103AXjAHB','targetRect','element','length','1509195DsFaog','fire'];_0x1178=function(){return _0xac0cab;};return _0x1178();}import'../../../theme/annotation.css';export class AnnotationView extends _0x43ffa7{[_0x300861(0x112)];['id'];[_0x300861(0x118)];[_0x300861(0x101)];[_0x300861(0x107)];[_0x300861(0x110)];constructor(_0x581f09,_0x5bb31b){const _0x3a7c15=_0x300861;super(_0x581f09),this['id']=_0x61891d(),this[_0x3a7c15(0x112)]=new _0x4ca454(),this[_0x3a7c15(0x118)]=new _0x5ed610(),this[_0x3a7c15(0x118)][_0x3a7c15(0x114)](_0x3a7c15(0x100),(_0x343c53,_0x44ba9d)=>this[_0x3a7c15(0x10d)](_0x3a7c15(0x100),_0x44ba9d)),this[_0x3a7c15(0x114)](_0x3a7c15(0x109),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x3a7c15(0x114)](_0x3a7c15(0x11a),0x0),this[_0x3a7c15(0x114)](_0x3a7c15(0xff),!0x1),this[_0x3a7c15(0x114)](_0x3a7c15(0x103),!0x1),this[_0x3a7c15(0x114)](_0x3a7c15(0x10b),0x0),this[_0x3a7c15(0x114)](_0x3a7c15(0xf9),''),this[_0x3a7c15(0x110)]=_0x1a2f61(()=>this[_0x3a7c15(0x113)]()),this[_0x3a7c15(0x101)]=this[_0x3a7c15(0x119)](),this[_0x3a7c15(0x101)][_0x3a7c15(0x117)](_0x3a7c15(0xef),_0x3a7c15(0x104))['to'](this),this[_0x3a7c15(0x101)][_0x3a7c15(0xfb)](_0x5bb31b),this[_0x3a7c15(0x107)]=_0x5bb31b;const _0x199675=this[_0x3a7c15(0x10f)];this[_0x3a7c15(0xfd)]({'tag':_0x3a7c15(0xf6),'attributes':{'class':['ck',_0x3a7c15(0x106),_0x3a7c15(0x102),_0x199675['if'](_0x3a7c15(0xff),_0x3a7c15(0xf0))],'role':_0x3a7c15(0xf8)},'children':this[_0x3a7c15(0x101)]});}[_0x300861(0x115)](){const _0x444031=_0x300861;super[_0x444031(0x115)](),this[_0x444031(0x112)][_0x444031(0xfb)](this[_0x444031(0x10a)]),this[_0x444031(0x118)][_0x444031(0x111)](this[_0x444031(0x10a)]),this[_0x444031(0x110)][_0x444031(0x10e)](this[_0x444031(0x10a)]);}[_0x300861(0x105)](){const _0x5f6dfb=_0x300861;this[_0x5f6dfb(0x101)][_0x5f6dfb(0xf4)](),this[_0x5f6dfb(0x118)][_0x5f6dfb(0x105)](),this[_0x5f6dfb(0x112)][_0x5f6dfb(0x105)](),this[_0x5f6dfb(0x110)][_0x5f6dfb(0xee)](),super[_0x5f6dfb(0x105)]();}[_0x300861(0x116)](){const _0x21ae63=_0x300861;this[_0x21ae63(0x101)][_0x21ae63(0xf3)]&&this[_0x21ae63(0x101)][_0x21ae63(0xf3)][_0x21ae63(0x116)]();}[_0x300861(0x113)](){const _0x45a45a=_0x300861,_0x460ceb=this[_0x45a45a(0x10a)][_0x45a45a(0xfe)];_0x460ceb&&(this[_0x45a45a(0x11a)]=_0x460ceb);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x39af(_0xd30e0e,_0x5979a4){const _0x1a0f12=_0x1a0f();return _0x39af=function(_0x39af37,_0x115ef0){_0x39af37=_0x39af37-0x155;let _0x25ce1d=_0x1a0f12[_0x39af37];return _0x25ce1d;},_0x39af(_0xd30e0e,_0x5979a4);}const _0x57fa3c=_0x39af;(function(_0x4b99d0,_0x1e1a62){const _0x1b8e76=_0x39af,_0x53d595=_0x4b99d0();while(!![]){try{const _0x250d7e=-parseInt(_0x1b8e76(0x168))/0x1*(-parseInt(_0x1b8e76(0x179))/0x2)+-parseInt(_0x1b8e76(0x15e))/0x3+-parseInt(_0x1b8e76(0x158))/0x4*(-parseInt(_0x1b8e76(0x15f))/0x5)+parseInt(_0x1b8e76(0x16a))/0x6+parseInt(_0x1b8e76(0x173))/0x7*(parseInt(_0x1b8e76(0x16f))/0x8)+parseInt(_0x1b8e76(0x172))/0x9*(parseInt(_0x1b8e76(0x170))/0xa)+-parseInt(_0x1b8e76(0x159))/0xb*(parseInt(_0x1b8e76(0x15b))/0xc);if(_0x250d7e===_0x1e1a62)break;else _0x53d595['push'](_0x53d595['shift']());}catch(_0xfea130){_0x53d595['push'](_0x53d595['shift']());}}}(_0x1a0f,0xc8ccc));import{View as _0x1d3fad}from'ckeditor5/src/ui.js';function _0x1a0f(){const _0x17c172=['_mutationObserver','arrowdown','first','destroy','856414xLOwIx','attach','5050146HFuqHz','top','height','focus','render','88sWNurw','7610bDXsCr','presentation','19071kbyArl','564557GiSmWv','detach','set','delegate','element','div','2fjmOiW','bind','ck-sidebar-item','arrowup','setTemplate','bottom','bindTemplate','isAnimationDisabled','96qGIOVY','16581609woMTmC','clear','24wkVhEb','content','_targetTop','1638525fNHvYH','38680ZMtUsD','updateHeight','clientHeight','createCollection','ck-sidebar-item--no-animation'];_0x1a0f=function(){return _0x17c172;};return _0x1a0f();}import{toUnit as _0xe5edf4}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x1ec940}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xe5edf4('px');export class AnnotationsSidebarItemView extends _0x1d3fad{[_0x57fa3c(0x15c)];[_0x57fa3c(0x15d)];[_0x57fa3c(0x164)];constructor(_0xfabec2){const _0x405c0f=_0x57fa3c;super(_0xfabec2),this[_0x405c0f(0x175)](_0x405c0f(0x16b),0x0),this[_0x405c0f(0x175)](_0x405c0f(0x16c),0x0),this[_0x405c0f(0x17a)](_0x405c0f(0x155))['to'](this,_0x405c0f(0x16b),this,_0x405c0f(0x16c),(_0x1c660f,_0x374f48)=>_0x1c660f+_0x374f48),this[_0x405c0f(0x175)](_0x405c0f(0x157),!0x1),this[_0x405c0f(0x164)]=_0x1ec940(()=>this[_0x405c0f(0x160)]()),this[_0x405c0f(0x15d)]=null,this[_0x405c0f(0x15c)]=this[_0x405c0f(0x162)](),this[_0x405c0f(0x15c)][_0x405c0f(0x176)](_0x405c0f(0x17c),_0x405c0f(0x165))['to'](this);const _0x2b5626=this[_0x405c0f(0x156)];this[_0x405c0f(0x17d)]({'tag':_0x405c0f(0x178),'attributes':{'class':[_0x405c0f(0x17b),_0x2b5626['to'](_0x405c0f(0x157),_0x1f51bd=>_0x1f51bd?_0x405c0f(0x163):'')],'style':{'top':_0x2b5626['to'](_0x405c0f(0x16b),_0xa4b226=>Ot(_0xa4b226))},'role':_0x405c0f(0x171)},'children':this[_0x405c0f(0x15c)]});}[_0x57fa3c(0x16e)](){const _0x4d857=_0x57fa3c;super[_0x4d857(0x16e)](),this[_0x4d857(0x164)][_0x4d857(0x169)](this[_0x4d857(0x177)]);}[_0x57fa3c(0x16d)](){const _0x592151=_0x57fa3c;this[_0x592151(0x15c)][_0x592151(0x166)]&&this[_0x592151(0x15c)][_0x592151(0x166)][_0x592151(0x16d)]();}[_0x57fa3c(0x160)](){const _0x413ce5=_0x57fa3c,_0x236502=this[_0x413ce5(0x177)][_0x413ce5(0x161)];_0x236502&&(this[_0x413ce5(0x16c)]=_0x236502);}[_0x57fa3c(0x167)](){const _0x2b619c=_0x57fa3c;this[_0x2b619c(0x15c)][_0x2b619c(0x15a)](),this[_0x2b619c(0x164)][_0x2b619c(0x174)](),super[_0x2b619c(0x167)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x4b3017=_0x497d;(function(_0x303e13,_0x4fcd2a){const _0x2c5625=_0x497d,_0x16c21c=_0x303e13();while(!![]){try{const _0x4d1281=-parseInt(_0x2c5625(0xc6))/0x1*(-parseInt(_0x2c5625(0xca))/0x2)+-parseInt(_0x2c5625(0xf3))/0x3*(parseInt(_0x2c5625(0xd0))/0x4)+parseInt(_0x2c5625(0xd7))/0x5*(parseInt(_0x2c5625(0xe8))/0x6)+-parseInt(_0x2c5625(0xe1))/0x7*(-parseInt(_0x2c5625(0xc8))/0x8)+-parseInt(_0x2c5625(0xd9))/0x9*(parseInt(_0x2c5625(0xef))/0xa)+-parseInt(_0x2c5625(0xe4))/0xb*(-parseInt(_0x2c5625(0xda))/0xc)+-parseInt(_0x2c5625(0xce))/0xd*(-parseInt(_0x2c5625(0xe0))/0xe);if(_0x4d1281===_0x4fcd2a)break;else _0x16c21c['push'](_0x16c21c['shift']());}catch(_0x4ab2a8){_0x16c21c['push'](_0x16c21c['shift']());}}}(_0x573f,0x2b578));import{View as _0x59b850,FocusCycler as _0x39017c}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3f9f09,toUnit as _0x5329fd}from'ckeditor5/src/utils.js';import{getTranslation as _0x5370f2}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5329fd('px');function _0x573f(){const _0xffa5b9=['forEach','focusables','minHeight','getIndex','uiLanguageDirection','Annotations\x20list','list','ck-reset','1OOJRNg','number','1295288rsvfjd','application','273794rbaUlu','createCollection','_setupKeyboardNavigation','listenTo','56589ZdrJnC','focusNext','4XpzoWw','div','_updateItemPositionInFocusables','ck-sidebar','removed','remove','source','85gEkMLt','top','60993SBrTSP','324yBSMMO','focus','Annotations\x20sidebar','change','add','delegate','966RZlTYB','7uuHadf','focusPrevious','focusFirst','36839DZhMdk','element','arrowdown','focusTracker','4266ZBkRTc','bindTemplate','render','length','arrowup','focusCycler','added','470DsuyJJ','set','setTemplate','class','616884rRmdUi','change:top'];_0x573f=function(){return _0xffa5b9;};return _0x573f();}function _0x497d(_0x49e3a7,_0x323789){const _0x573fd0=_0x573f();return _0x497d=function(_0x497d21,_0x4223cb){_0x497d21=_0x497d21-0xc1;let _0x4f6157=_0x573fd0[_0x497d21];return _0x4f6157;},_0x497d(_0x49e3a7,_0x323789);}export class AnnotationsSidebarView extends _0x59b850{[_0x4b3017(0xc4)];[_0x4b3017(0xf6)];[_0x4b3017(0xe7)];[_0x4b3017(0xed)];constructor(_0x423669){const _0x9ce8d4=_0x4b3017;super(_0x423669);const _0x3638c8=this[_0x9ce8d4(0xe9)];this[_0x9ce8d4(0xf0)](_0x9ce8d4(0xf7),0x0),this[_0x9ce8d4(0xf0)](_0x9ce8d4(0xf2),''),this[_0x9ce8d4(0xc4)]=this[_0x9ce8d4(0xcb)](),this[_0x9ce8d4(0xf6)]=this[_0x9ce8d4(0xcb)](),this[_0x9ce8d4(0xc4)][_0x9ce8d4(0xdf)](_0x9ce8d4(0xec),_0x9ce8d4(0xe6))['to'](this),this[_0x9ce8d4(0xe7)]=new _0x3f9f09(),this[_0x9ce8d4(0xed)]=new _0x39017c({'focusables':this[_0x9ce8d4(0xf6)],'focusTracker':this[_0x9ce8d4(0xe7)]}),this[_0x9ce8d4(0xf1)]({'tag':_0x9ce8d4(0xd1),'attributes':{'class':['ck',_0x9ce8d4(0xd3),_0x9ce8d4(0xc5),_0x3638c8['to'](_0x9ce8d4(0xf2))],'style':{'minHeight':_0x3638c8['to'](_0x9ce8d4(0xf7),_0x43b7ce=>_0x9ce8d4(0xc7)==typeof _0x43b7ce?Ot(_0x43b7ce+0xa):null)},'dir':_0x423669[_0x9ce8d4(0xc2)],'role':_0x9ce8d4(0xc9),'aria-label':_0x5370f2(_0x423669,_0x9ce8d4(0xdc)),'tabindex':0x0},'children':[{'tag':_0x9ce8d4(0xd1),'attributes':{'role':_0x9ce8d4(0xc4),'aria-label':_0x5370f2(_0x423669,_0x9ce8d4(0xc3))},'children':this[_0x9ce8d4(0xc4)]}]});}[_0x4b3017(0xea)](){const _0x448917=_0x4b3017;super[_0x448917(0xea)](),this[_0x448917(0xcc)]();}[_0x4b3017(0xdb)](){const _0x3e2335=_0x4b3017;this[_0x3e2335(0xed)][_0x3e2335(0xe3)]();}[_0x4b3017(0xcc)](){const _0x4ce807=_0x4b3017;this[_0x4ce807(0xc4)][_0x4ce807(0xdf)](_0x4ce807(0xf4))['to'](this),this['on'](_0x4ce807(0xf4),_0x4e6062=>{const _0x35b228=_0x4ce807;this[_0x35b228(0xd2)](_0x4e6062[_0x35b228(0xd6)]);}),this[_0x4ce807(0xc4)][_0x4ce807(0xf5)](_0x27a489=>{const _0xd2d4c2=_0x4ce807;this[_0xd2d4c2(0xe7)][_0xd2d4c2(0xde)](_0x27a489[_0xd2d4c2(0xe5)]),this[_0xd2d4c2(0xd2)](_0x27a489);}),this[_0x4ce807(0xc4)]['on'](_0x4ce807(0xdd),(_0x33e9cc,_0x47bdf5)=>{const _0x4d1655=_0x4ce807;for(const _0x308e13 of _0x47bdf5[_0x4d1655(0xd4)])this[_0x4d1655(0xe7)][_0x4d1655(0xd5)](_0x308e13[_0x4d1655(0xe5)]),this[_0x4d1655(0xf6)][_0x4d1655(0xd5)](_0x308e13);for(const _0x144a5d of _0x47bdf5[_0x4d1655(0xee)])this[_0x4d1655(0xe7)][_0x4d1655(0xde)](_0x144a5d[_0x4d1655(0xe5)]),this[_0x4d1655(0xd2)](_0x144a5d);}),this['on'](_0x4ce807(0xec),()=>{const _0x284897=_0x4ce807;this[_0x284897(0xed)][_0x284897(0xe2)]();}),this['on'](_0x4ce807(0xe6),()=>{const _0x11d4c1=_0x4ce807;this[_0x11d4c1(0xed)][_0x11d4c1(0xcf)]();}),this[_0x4ce807(0xcd)](this[_0x4ce807(0xe5)],_0x4ce807(0xdb),()=>{const _0x4f5758=_0x4ce807;this[_0x4f5758(0xdb)]();});}[_0x4b3017(0xd2)](_0x1caf1a){const _0x1be2ce=_0x4b3017,_0xd509e7=this[_0x1be2ce(0xf6)][_0x1be2ce(0xc1)](_0x1caf1a);let _0x3021a2,_0xe3293c;for(const _0x265094 of this[_0x1be2ce(0xf6)])if(_0x1caf1a[_0x1be2ce(0xd8)]<_0x265094[_0x1be2ce(0xd8)]){_0x3021a2=_0x265094;break;}if(_0xe3293c=_0x3021a2?this[_0x1be2ce(0xf6)][_0x1be2ce(0xc1)](_0x3021a2):this[_0x1be2ce(0xf6)][_0x1be2ce(0xeb)],-0x1!==_0xd509e7){if(_0xd509e7===_0xe3293c-0x1)return;this[_0x1be2ce(0xf6)][_0x1be2ce(0xd5)](_0x1caf1a),_0xe3293c=_0x3021a2?this[_0x1be2ce(0xf6)][_0x1be2ce(0xc1)](_0x3021a2):this[_0x1be2ce(0xf6)][_0x1be2ce(0xeb)];}this[_0x1be2ce(0xf6)][_0x1be2ce(0xde)](_0x1caf1a,_0xe3293c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf00fa2=_0x2705;(function(_0x26b1f4,_0x36dc34){const _0x7c3da6=_0x2705,_0x122b85=_0x26b1f4();while(!![]){try{const _0x582a0b=-parseInt(_0x7c3da6(0x13b))/0x1*(parseInt(_0x7c3da6(0x139))/0x2)+-parseInt(_0x7c3da6(0x105))/0x3*(parseInt(_0x7c3da6(0x10e))/0x4)+-parseInt(_0x7c3da6(0x112))/0x5+-parseInt(_0x7c3da6(0x144))/0x6+-parseInt(_0x7c3da6(0x142))/0x7+parseInt(_0x7c3da6(0x135))/0x8+-parseInt(_0x7c3da6(0x130))/0x9*(-parseInt(_0x7c3da6(0x104))/0xa);if(_0x582a0b===_0x36dc34)break;else _0x122b85['push'](_0x122b85['shift']());}catch(_0x6ef4e6){_0x122b85['push'](_0x122b85['shift']());}}}(_0xf925,0x326c7));function _0x2705(_0x279a1f,_0x593c81){const _0xf925e3=_0xf925();return _0x2705=function(_0x2705bc,_0x40d33e){_0x2705bc=_0x2705bc-0xff;let _0xebd5f0=_0xf925e3[_0x2705bc];return _0xebd5f0;},_0x2705(_0x279a1f,_0x593c81);}import{ContextPlugin as _0x482aad,Context as _0x155fcc}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x1ed6c8}from'./annotationsuis.js';import{Sidebar as _0x3b0718}from'./sidebar.js';import{CKEditorError as _0x20e5cf,Collection as _0x3c94c4}from'ckeditor5/src/utils.js';function _0xf925(){const _0x4b4287=['widesidebar-detach-not-attached','WideSidebar','cancel','attach','_activeAnnotation','addEventListener','_attachToContainer','switchTo','hasDomSelection','Annotations','_detachFromContainer','pluginName','wideSidebar','uiUpdate','isPremiumPlugin','requires','removeEventListener','blur','isAttached','activeAnnotation','EditorAnnotations','_editorAnnotations','refreshVisibility','addAnnotation','widesidebar-attach-already-attached','9757323VSSMXd','high','getOrderedSelectedAnnotations','rearrange','_refreshPositioningDebounced','547440zQkJea','register','get','focus','14778HkVnIr','annotations','14ZwegsN','resize','stopListening','_integrateWithEditorAnnotations','container','refreshPositioning','off','1443848ebaKaq','from','579516pdlRNi','remove','has','destroy','set:container','listenTo','ck-sidebar--wide','isOfficialPlugin','10IuPmau','15gnRCnm','updateTargetRect','detach','change:container','stop','add','init','_destroyEditorAnnotationsIntegration','refresh','302208Phesew','_annotations','setActiveAnnotation','plugins','809930eDRXuy','set','editors','ready','context'];_0xf925=function(){return _0x4b4287;};return _0xf925();}import{debounce as _0x3b87d2}from'es-toolkit/compat';export class WideSidebar extends _0x482aad{[_0xf00fa2(0x129)];[_0xf00fa2(0x13a)];[_0xf00fa2(0x12c)];[_0xf00fa2(0x134)];static get[_0xf00fa2(0x126)](){return[_0x3b0718,_0x1ed6c8];}static get[_0xf00fa2(0x122)](){const _0x207202=_0xf00fa2;return _0x207202(0x118);}static get[_0xf00fa2(0x103)](){return!0x0;}static get[_0xf00fa2(0x125)](){return!0x0;}constructor(_0x2f3e28){const _0x1726bf=_0xf00fa2;super(_0x2f3e28),this[_0x1726bf(0x129)]=!0x1,this[_0x1726bf(0x113)](_0x1726bf(0x12a),null),this[_0x1726bf(0x13a)]=null,this[_0x1726bf(0x12c)]=new _0x3c94c4(),this[_0x1726bf(0x134)]=_0x3b87d2(()=>{const _0x5cb9e4=_0x1726bf;_0x2f3e28[_0x5cb9e4(0x111)][_0x5cb9e4(0x137)](_0x5cb9e4(0x120))[_0x5cb9e4(0x12d)](),this[_0x5cb9e4(0x13a)][_0x5cb9e4(0x140)]();},0xfa,{'leading':!0x1});}[_0xf00fa2(0x10b)](){const _0x393af7=_0xf00fa2,_0x26483b=this[_0x393af7(0x116)][_0x393af7(0x111)][_0x393af7(0x137)](_0x1ed6c8),_0x234915=this[_0x393af7(0x116)][_0x393af7(0x111)][_0x393af7(0x137)](_0x3b0718);_0x26483b[_0x393af7(0x136)](_0x393af7(0x123),this),_0x234915[_0x393af7(0x13f)]&&_0x26483b[_0x393af7(0x11e)](_0x393af7(0x123));}[_0xf00fa2(0x110)](_0x34eb37){const _0x402ed6=_0xf00fa2;if(_0x34eb37===this[_0x402ed6(0x12a)])return;const _0x58f30e=this[_0x402ed6(0x116)][_0x402ed6(0x111)][_0x402ed6(0x137)](_0x3b0718);_0x58f30e[_0x402ed6(0x11b)]=_0x34eb37;const _0xd10ec8=this[_0x402ed6(0x12a)];_0x58f30e[_0x402ed6(0x10d)]({'blurredAnnotation':_0xd10ec8,'activatedAnnotation':_0x34eb37}),this[_0x402ed6(0x12a)]=_0x34eb37;}[_0xf00fa2(0x11a)](_0x55ed8a){const _0xc191a5=_0xf00fa2;this[_0xc191a5(0x13a)]=_0x55ed8a;const _0x116b35=this[_0xc191a5(0x116)][_0xc191a5(0x111)][_0xc191a5(0x137)](_0x3b0718);if(_0x116b35[_0xc191a5(0x10f)]=_0x55ed8a,this[_0xc191a5(0x129)])throw new _0x20e5cf(_0xc191a5(0x12f),this);this[_0xc191a5(0x129)]=!0x0,this[_0xc191a5(0x101)](_0x116b35,_0xc191a5(0x100),()=>{const _0x417e88=_0xc191a5;this[_0x417e88(0x107)](),this[_0x417e88(0x101)](_0x116b35,_0x417e88(0x108),_0x43ff7e=>{const _0xa630d2=_0x417e88;_0x43ff7e[_0xa630d2(0x141)](),this[_0xa630d2(0x11a)](_0x55ed8a);});}),_0x116b35[_0xc191a5(0x11d)]({'viewClass':_0xc191a5(0x102)});const _0x32e2ea=_0x4dd61b=>{const _0x4dace3=_0xc191a5;_0x4dd61b[_0x4dace3(0x106)](),_0x116b35[_0x4dace3(0x12e)](_0x4dd61b);};for(const _0xdad319 of _0x55ed8a)_0x32e2ea(_0xdad319);this[_0xc191a5(0x101)](_0x55ed8a,_0xc191a5(0x10a),(_0x380a25,_0x192b34)=>{_0x32e2ea(_0x192b34);}),this[_0xc191a5(0x101)](_0x55ed8a,_0xc191a5(0x145),(_0xdb3c11,_0x28d875,_0x157a95)=>{const _0x3eded9=_0xc191a5;_0x116b35[_0x3eded9(0x133)]({'removedAnnotation':_0x28d875,'previousAnnotation':_0x55ed8a[_0x3eded9(0x137)](_0x157a95-0x1),'nextAnnotation':_0x55ed8a[_0x3eded9(0x137)](_0x157a95+0x1)}),_0x28d875===this[_0x3eded9(0x12a)]&&this[_0x3eded9(0x110)](null);},{'priority':_0xc191a5(0x131)}),this[_0xc191a5(0x101)](_0x55ed8a,_0xc191a5(0x138),(_0x556072,_0x13d330)=>{const _0x6d411d=_0xc191a5;this[_0x6d411d(0x110)](_0x13d330);}),this[_0xc191a5(0x101)](_0x55ed8a,_0xc191a5(0x128),()=>{const _0x1f710a=_0xc191a5;this[_0x1f710a(0x110)](null);});const _0x1a584e=this[_0xc191a5(0x116)]instanceof _0x155fcc?this[_0xc191a5(0x116)][_0xc191a5(0x114)]:new _0x3c94c4([this[_0xc191a5(0x116)]]);for(const _0x2216fa of _0x1a584e)this[_0xc191a5(0x13e)](_0x2216fa);this[_0xc191a5(0x101)](_0x1a584e,_0xc191a5(0x10a),(_0x42c843,_0x46857d)=>{const _0x129ab3=_0xc191a5;this[_0x129ab3(0x101)](_0x46857d,_0x129ab3(0x115),()=>{const _0x3e92d9=_0x129ab3;this[_0x3e92d9(0x13e)](_0x46857d);});}),this[_0xc191a5(0x101)](_0x1a584e,_0xc191a5(0x145),(_0x5368a3,_0x59c377)=>{const _0x55adeb=_0xc191a5;_0x59c377[_0x55adeb(0x111)][_0x55adeb(0x146)](_0x55adeb(0x12b))&&this[_0x55adeb(0x10c)](_0x59c377[_0x55adeb(0x111)][_0x55adeb(0x137)](_0x55adeb(0x12b)));}),window[_0xc191a5(0x11c)](_0xc191a5(0x13c),this[_0xc191a5(0x134)]),this[_0xc191a5(0x116)][_0xc191a5(0x111)][_0xc191a5(0x137)](_0xc191a5(0x120))[_0xc191a5(0x12d)](),this[_0xc191a5(0x13a)][_0xc191a5(0x140)]();}[_0xf00fa2(0x107)](){const _0x31a6a0=_0xf00fa2;if(!this[_0x31a6a0(0x129)])throw new _0x20e5cf(_0x31a6a0(0x117),this);this[_0x31a6a0(0x110)](null);const _0x49090f=this[_0x31a6a0(0x116)][_0x31a6a0(0x111)][_0x31a6a0(0x137)](_0x3b0718);_0x49090f[_0x31a6a0(0x121)](this[_0x31a6a0(0x13a)]),this[_0x31a6a0(0x13d)](_0x49090f),this[_0x31a6a0(0x13d)](this[_0x31a6a0(0x13a)]),this[_0x31a6a0(0x116)]instanceof _0x155fcc&&this[_0x31a6a0(0x13d)](this[_0x31a6a0(0x116)][_0x31a6a0(0x114)]);for(const _0x4aef0d of Array[_0x31a6a0(0x143)](this[_0x31a6a0(0x12c)]))this[_0x31a6a0(0x10c)](_0x4aef0d);window[_0x31a6a0(0x127)](_0x31a6a0(0x13c),this[_0x31a6a0(0x134)]),this[_0x31a6a0(0x134)][_0x31a6a0(0x119)](),this[_0x31a6a0(0x12a)]=null,this[_0x31a6a0(0x129)]=!0x1,this[_0x31a6a0(0x13a)]=null;}[_0xf00fa2(0xff)](){const _0x2c0e71=_0xf00fa2;this[_0x2c0e71(0x129)]&&this[_0x2c0e71(0x107)]();}[_0xf00fa2(0x13e)](_0x43e656){const _0x121793=_0xf00fa2;if(!_0x43e656[_0x121793(0x111)][_0x121793(0x146)](_0x121793(0x12b)))return;const _0x419257=_0x43e656[_0x121793(0x111)][_0x121793(0x137)](_0x121793(0x12b)),_0x257515=()=>{const _0x3d799c=_0x121793,_0x190cc9=_0x419257[_0x3d799c(0x132)]({'annotations':this[_0x3d799c(0x13a)],'activeAnnotation':this[_0x3d799c(0x12a)]});this[_0x3d799c(0x110)](_0x190cc9[0x0]||null);};this[_0x121793(0x101)](_0x419257,_0x121793(0x10d),_0x257515),this[_0x121793(0x101)](_0x419257,_0x121793(0x128),(_0x2892f7,{isAnnotationTracked:_0x24155b})=>{const _0x3417c1=_0x121793;this[_0x3417c1(0x12a)]&&_0x24155b(this[_0x3417c1(0x12a)])&&this[_0x3417c1(0x110)](null);}),this[_0x121793(0x101)](_0x419257,_0x121793(0x124),()=>{const _0x1ac892=_0x121793;this[_0x1ac892(0x134)]();}),this[_0x121793(0x101)](this[_0x121793(0x13a)],_0x121793(0x128),_0x3ff15b=>{const _0x5f221e=_0x121793;_0x419257[_0x5f221e(0x11f)]()&&(_0x257515(),_0x3ff15b[_0x5f221e(0x109)]());},{'priority':_0x121793(0x131)}),this[_0x121793(0x12c)][_0x121793(0x10a)](_0x419257);}[_0xf00fa2(0x10c)](_0x5f57c1){const _0x2b577a=_0xf00fa2;this[_0x2b577a(0x13d)](_0x5f57c1),this[_0x2b577a(0x12c)][_0x2b577a(0x145)](_0x5f57c1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x478a(_0x4e297c,_0x301961){const _0x3aecb7=_0x3aec();return _0x478a=function(_0x478aaf,_0x52e283){_0x478aaf=_0x478aaf-0x1a7;let _0x526d07=_0x3aecb7[_0x478aaf];return _0x526d07;},_0x478a(_0x4e297c,_0x301961);}const _0x333d68=_0x478a;(function(_0x52bf17,_0x45c296){const _0x43276c=_0x478a,_0x46fa86=_0x52bf17();while(!![]){try{const _0x1bc6d5=-parseInt(_0x43276c(0x1b9))/0x1*(-parseInt(_0x43276c(0x1bc))/0x2)+parseInt(_0x43276c(0x1b7))/0x3+-parseInt(_0x43276c(0x1be))/0x4*(-parseInt(_0x43276c(0x1d7))/0x5)+parseInt(_0x43276c(0x1ae))/0x6+parseInt(_0x43276c(0x1c1))/0x7*(-parseInt(_0x43276c(0x1a9))/0x8)+parseInt(_0x43276c(0x1ce))/0x9+parseInt(_0x43276c(0x1b0))/0xa*(-parseInt(_0x43276c(0x1c2))/0xb);if(_0x1bc6d5===_0x45c296)break;else _0x46fa86['push'](_0x46fa86['shift']());}catch(_0x234f47){_0x46fa86['push'](_0x46fa86['shift']());}}}(_0x3aec,0x21eb4));import{Command as _0x55602b}from'ckeditor5/src/core.js';import{uid as _0x5b86df,CKEditorError as _0x49461b}from'ckeditor5/src/utils.js';function _0x3aec(){const _0x1c568f=['config','plugins','tableCell','64432tJtxEQ','isEnabled','length','createRange','editor','445056AwCXju','element','50590gRjGlX','start','_trimToContent','isObject','substr','collaboration.channelId','addMarker','220782udiPAG','execute','148598aKzqJV','model','change','2tfMbsq','get','2932nJJRfs','_itemIsContent','_createCommentThread','7ADohCl','1133cyxsMB','CommentsRepository','_hasContent','addcommentthreadcommand-incorrect-ranges','comment:','end','schema','addcommentthreadcommand-user-not-found','getRanges','getLastMatchingPosition','hasContent','Users','2085228xHstKk','_createMarkersFromRanges','item','document','from','getItems','$textProxy','refresh','backward','955GMEKBa','push','selection','set','addCommentThread'];_0x3aec=function(){return _0x1c568f;};return _0x3aec();}export class AddCommentThreadCommand extends _0x55602b{constructor(_0xbf65b6){const _0x4c2e74=_0x478a;super(_0xbf65b6),this[_0x4c2e74(0x1da)](_0x4c2e74(0x1cc),!0x1);}[_0x333d68(0x1d5)](){const _0x3a1340=_0x333d68,_0xe3d46a=this[_0x3a1340(0x1ad)][_0x3a1340(0x1ba)][_0x3a1340(0x1d1)][_0x3a1340(0x1d9)];this[_0x3a1340(0x1aa)]=!0x0,this[_0x3a1340(0x1cc)]=!0x1;for(const _0x3e52cb of _0xe3d46a[_0x3a1340(0x1ca)]())if(this[_0x3a1340(0x1c4)](_0x3e52cb))return void(this[_0x3a1340(0x1cc)]=!0x0);}[_0x333d68(0x1b8)]({threadId:_0x13fded=_0x5b86df(),ranges:_0x565421,comment:_0xbd7422}={}){const _0x5a5bb6=_0x333d68,_0x4bb8b6=this[_0x5a5bb6(0x1ad)][_0x5a5bb6(0x1ba)],_0x12349a=_0x565421??Array[_0x5a5bb6(0x1d2)](_0x4bb8b6[_0x5a5bb6(0x1d1)][_0x5a5bb6(0x1d9)][_0x5a5bb6(0x1ca)]()),_0x317a7f=[];for(const _0xdc6eab of _0x12349a)this[_0x5a5bb6(0x1c4)](_0xdc6eab)&&_0x317a7f[_0x5a5bb6(0x1d8)](this[_0x5a5bb6(0x1b2)](_0xdc6eab));if(!_0x317a7f[_0x5a5bb6(0x1ab)])throw new _0x49461b(_0x5a5bb6(0x1c5),null);_0xbd7422&&this[_0x5a5bb6(0x1c0)](_0x13fded,_0xbd7422),this[_0x5a5bb6(0x1cf)](_0x13fded,_0x317a7f,!!_0xbd7422);}[_0x333d68(0x1cf)](_0x26b96b,_0x3b86f5,_0x3e0e2f){const _0x3a4dbb=_0x333d68;this[_0x3a4dbb(0x1ad)][_0x3a4dbb(0x1ba)][_0x3a4dbb(0x1bb)](_0x5dc719=>{const _0x3eb662=_0x3a4dbb;for(const _0x507bd1 of _0x3b86f5){const _0x333b1e=_0x5b86df()[_0x3eb662(0x1b4)](0x1,0x5),_0x350b80=_0x3eb662(0x1c6)+_0x26b96b+':'+_0x333b1e;_0x5dc719[_0x3eb662(0x1b6)](_0x350b80,{'range':_0x507bd1,'usingOperation':_0x3e0e2f,'affectsData':_0x3e0e2f});}});}[_0x333d68(0x1c0)](_0xdd6bc1,_0x556e67){const _0xc4b533=_0x333d68,_0x4c93c8=this[_0xc4b533(0x1ad)][_0xc4b533(0x1a7)][_0xc4b533(0x1bd)](_0xc4b533(0x1c3)),_0x400b98=this[_0xc4b533(0x1ad)][_0xc4b533(0x1dc)][_0xc4b533(0x1bd)](_0xc4b533(0x1b5)),_0x2af13a=this[_0xc4b533(0x1ad)][_0xc4b533(0x1a7)][_0xc4b533(0x1bd)](_0xc4b533(0x1cd))['me'];if(!_0x2af13a)throw new _0x49461b(_0xc4b533(0x1c9),null);_0x4c93c8[_0xc4b533(0x1db)]({'threadId':_0xdd6bc1,'channelId':_0x400b98,'comments':[{'authorId':_0x2af13a['id'],'content':_0x556e67,'createdAt':new Date(),'attributes':{}}]});}[_0x333d68(0x1c4)](_0x45fe71){const _0x9d336c=_0x333d68;for(const _0x55ca44 of _0x45fe71[_0x9d336c(0x1d3)]())if(this[_0x9d336c(0x1bf)](_0x55ca44))return!0x0;return!0x1;}[_0x333d68(0x1bf)](_0x21c60d){const _0x2955ce=_0x333d68;return _0x21c60d['is'](_0x2955ce(0x1d4))||this[_0x2955ce(0x1ad)][_0x2955ce(0x1ba)][_0x2955ce(0x1c8)][_0x2955ce(0x1b3)](_0x21c60d)&&!_0x21c60d['is'](_0x2955ce(0x1af),_0x2955ce(0x1a8));}[_0x333d68(0x1b2)](_0x4f72d0){const _0x3c25ef=_0x333d68,_0xe71ec4=_0x217efe=>!this[_0x3c25ef(0x1bf)](_0x217efe[_0x3c25ef(0x1d0)]),_0x32e7f5=_0x4f72d0[_0x3c25ef(0x1b1)][_0x3c25ef(0x1cb)](_0xe71ec4),_0x3edaf6=_0x4f72d0[_0x3c25ef(0x1c7)][_0x3c25ef(0x1cb)](_0xe71ec4,{'direction':_0x3c25ef(0x1d6)});return this[_0x3c25ef(0x1ad)][_0x3c25ef(0x1ba)][_0x3c25ef(0x1ac)](_0x32e7f5,_0x3edaf6);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1b7d91=_0x39f7;(function(_0x1b4b01,_0x5d9357){const _0x3429e4=_0x39f7,_0x4f1b12=_0x1b4b01();while(!![]){try{const _0x58a9de=-parseInt(_0x3429e4(0x13c))/0x1+parseInt(_0x3429e4(0x14b))/0x2+-parseInt(_0x3429e4(0x155))/0x3+-parseInt(_0x3429e4(0x146))/0x4+-parseInt(_0x3429e4(0x141))/0x5*(-parseInt(_0x3429e4(0x159))/0x6)+parseInt(_0x3429e4(0x13b))/0x7+-parseInt(_0x3429e4(0x147))/0x8*(-parseInt(_0x3429e4(0x143))/0x9);if(_0x58a9de===_0x5d9357)break;else _0x4f1b12['push'](_0x4f1b12['shift']());}catch(_0x411924){_0x4f1b12['push'](_0x4f1b12['shift']());}}}(_0x2092,0x20aaf));function _0x39f7(_0x5eaec8,_0xdab1e8){const _0x209270=_0x2092();return _0x39f7=function(_0x39f7d3,_0x82875c){_0x39f7d3=_0x39f7d3-0x136;let _0x521f47=_0x209270[_0x39f7d3];return _0x521f47;},_0x39f7(_0x5eaec8,_0xdab1e8);}import{ContextPlugin as _0x3c54b4}from'ckeditor5/src/core.js';import{Collection as _0x3fd221}from'ckeditor5/src/utils.js';function _0x2092(){const _0x5b8358=['collection','_calculatePosition','CommentsArchive','length','archivedAt','change:archivedAt','isOfficialPlugin','isActive','removeCommentThread','570312Hydecy','has','remove','activate','981246OnxUid','plugins','findIndex','pluginName','init','requires','isVisible','highest','1336244oFiBwV','262218wuHxhW','addCommentThread','get','listenTo','archivedThreads','5ZlcJDJ','context','9GmYeQC','getCommentThread','stopListening','153976zVgknv','966904osshFo','isPremiumPlugin','add','focus','298654NQHTgF'];_0x2092=function(){return _0x5b8358;};return _0x2092();}import{CommentsRepository as _0x1ef96e}from'./commentsrepository.js';import{Annotations as _0x23fe98}from'../annotations/annotations.js';export class CommentsArchive extends _0x3c54b4{static get[_0x1b7d91(0x136)](){const _0x521e73=_0x1b7d91;return _0x521e73(0x14e);}static get[_0x1b7d91(0x152)](){return!0x0;}static get[_0x1b7d91(0x148)](){return!0x0;}static get[_0x1b7d91(0x138)](){return[_0x1ef96e,_0x23fe98];}constructor(_0x221b6b){const _0x4beb61=_0x1b7d91;super(_0x221b6b),this[_0x4beb61(0x140)]=new _0x3fd221();}[_0x1b7d91(0x137)](){const _0x228673=_0x1b7d91,_0x3232a3=this[_0x228673(0x142)],_0x34d28b=_0x3232a3[_0x228673(0x15a)][_0x228673(0x13e)](_0x1ef96e),_0x3b05b1=_0x3232a3[_0x228673(0x15a)][_0x228673(0x13e)](_0x23fe98);this[_0x228673(0x13f)](_0x34d28b,_0x228673(0x13d),(_0x2196b6,{threadId:_0xb03821})=>{const _0x40c4a5=_0x228673,_0x29922c=_0x34d28b[_0x40c4a5(0x144)](_0xb03821);_0x29922c[_0x40c4a5(0x150)]&&this[_0x40c4a5(0x140)][_0x40c4a5(0x149)](_0x29922c,this[_0x40c4a5(0x14d)](_0x29922c[_0x40c4a5(0x150)])),this[_0x40c4a5(0x13f)](_0x29922c,_0x40c4a5(0x151),(_0x26097c,_0x5e7679,_0x2a2f38)=>{const _0x528b22=_0x40c4a5;_0x2a2f38?this[_0x528b22(0x140)][_0x528b22(0x156)](_0x29922c)||this[_0x528b22(0x140)][_0x528b22(0x149)](_0x29922c,this[_0x528b22(0x14d)](_0x29922c[_0x528b22(0x150)])):this[_0x528b22(0x140)][_0x528b22(0x156)](_0x29922c)&&this[_0x528b22(0x140)][_0x528b22(0x157)](_0x29922c);});}),this[_0x228673(0x13f)](_0x34d28b,_0x228673(0x154),(_0x53088a,{threadId:_0x2c2a85})=>{const _0x23b084=_0x228673,_0x19403d=_0x34d28b[_0x23b084(0x144)](_0x2c2a85);this[_0x23b084(0x145)](_0x19403d),this[_0x23b084(0x140)][_0x23b084(0x156)](_0x19403d)&&this[_0x23b084(0x140)][_0x23b084(0x157)](_0x19403d);},{'priority':_0x228673(0x13a)}),this[_0x228673(0x13f)](_0x3b05b1[_0x228673(0x14c)],_0x228673(0x14a),(_0x16ca5c,_0x5820d4)=>{const _0x42c2c6=_0x228673;_0x5820d4[_0x42c2c6(0x139)]||(_0x5820d4[_0x42c2c6(0x153)]=!0x0,_0x3b05b1[_0x42c2c6(0x158)](_0x5820d4));});}[_0x1b7d91(0x14d)](_0x3a22ba){const _0x2faf2d=_0x1b7d91,_0x2a4516=[...this[_0x2faf2d(0x140)]][_0x2faf2d(0x15b)](_0xff86d1=>_0xff86d1[_0x2faf2d(0x150)]<_0x3a22ba);return _0x2a4516>-0x1?_0x2a4516:this[_0x2faf2d(0x140)][_0x2faf2d(0x14f)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a3b21=_0x5d12;(function(_0x1265a6,_0xca6e98){const _0x1b079d=_0x5d12,_0x25e00b=_0x1265a6();while(!![]){try{const _0x204281=-parseInt(_0x1b079d(0x189))/0x1+-parseInt(_0x1b079d(0x19e))/0x2*(-parseInt(_0x1b079d(0x1ad))/0x3)+parseInt(_0x1b079d(0x178))/0x4*(-parseInt(_0x1b079d(0x174))/0x5)+parseInt(_0x1b079d(0x167))/0x6*(parseInt(_0x1b079d(0x195))/0x7)+parseInt(_0x1b079d(0x1af))/0x8+-parseInt(_0x1b079d(0x179))/0x9+-parseInt(_0x1b079d(0x16e))/0xa*(-parseInt(_0x1b079d(0x1a8))/0xb);if(_0x204281===_0xca6e98)break;else _0x25e00b['push'](_0x25e00b['shift']());}catch(_0x2286bf){_0x25e00b['push'](_0x25e00b['shift']());}}}(_0x1091,0x1ecbf));import'../../theme/commentsarchive.css';function _0x1091(){const _0xfeeee6=['getByInnerView','archivedThreads','findIndex','_createCommentsArchiveButton','11XJlWUJ','includes','remove','Annotations','COMMENTS_ARCHIVE','87haZxUo','_handleNewThread','405056wOKmVH','listenTo','_visibleAnnotations','menuBar:commentsArchive','_hideDialogOnAnnotationEscape','length','get','find','97044lTFHbG','_toggleDialog','menuitemcheckbox','stop','locale','isVisible','escape','232730hwurkD','set','isPremiumPlugin','editor','set:isVisible','tooltip','145uYGCqn','CommentsArchiveUI','EDITOR_TOP_SIDE','_pendingThreads','5968rtkWAg','1012896OQilRu','show','isEnabled','commentsArchiveView','pluginName','filter','collaboration.channelId','channelId','bind','push','splice','focusableElements','forEach','return','CommentsRepository','stopListening','90623uayxdA','add','commentsArchive','plugins','isOpen','source','isOfficialPlugin','Dialog','_threadToController','innerView','componentFactory','archivedAt','49hAvWvc','collection','annotationViews','isOn','config','hide','execute','view','requires','12790GlezVP','_calculatePosition','has','indexOf','init','_addAnnotationToArchive'];_0x1091=function(){return _0xfeeee6;};return _0x1091();}import{Plugin as _0x25e92d}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x1a1483}from'ckeditor5/src/icons.js';import{ViewCollection as _0x5c0063,MenuBarMenuListItemButtonView as _0x52b862,ButtonView as _0x57d6d3,Dialog as _0x484fd3,DialogViewPosition as _0x1ae3dd}from'ckeditor5/src/ui.js';import{getTranslation as _0xd0f3d8}from'../utils/common-translations.js';function _0x5d12(_0x4ed5a6,_0x29d5c3){const _0x1091b9=_0x1091();return _0x5d12=function(_0x5d12c3,_0x58e96c){_0x5d12c3=_0x5d12c3-0x160;let _0x340758=_0x1091b9[_0x5d12c3];return _0x340758;},_0x5d12(_0x4ed5a6,_0x29d5c3);}import{CommentsArchiveView as _0x2148c0}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x16b61b}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x25e92d{[_0x5a3b21(0x17c)];[_0x5a3b21(0x197)];[_0x5a3b21(0x177)];static get[_0x5a3b21(0x17d)](){const _0x13a204=_0x5a3b21;return _0x13a204(0x175);}static get[_0x5a3b21(0x18f)](){return!0x0;}static get[_0x5a3b21(0x170)](){return!0x0;}static get[_0x5a3b21(0x19d)](){return[_0x16b61b,_0x484fd3];}constructor(_0x335e3d){const _0x63bcf=_0x5a3b21;super(_0x335e3d),this[_0x63bcf(0x197)]=new _0x5c0063(),this[_0x63bcf(0x177)]=[];}[_0x5a3b21(0x1a2)](){const _0x51b7b5=_0x5a3b21,_0x3aa535=this[_0x51b7b5(0x171)],_0x4bff68=this[_0x51b7b5(0x163)][_0x51b7b5(0x181)](this);_0x3aa535['ui'][_0x51b7b5(0x193)][_0x51b7b5(0x18a)](_0x51b7b5(0x18b),()=>this[_0x51b7b5(0x1a7)](_0x57d6d3,!0x0)),_0x3aa535['ui'][_0x51b7b5(0x193)][_0x51b7b5(0x18a)](_0x51b7b5(0x162),()=>{const _0x2a0baa=_0x51b7b5,_0x58332b=this[_0x2a0baa(0x1a7)](_0x52b862);return _0x58332b[_0x2a0baa(0x16f)]({'role':_0x2a0baa(0x169)}),_0x58332b;});const _0x23f19e=_0x3aa535[_0x51b7b5(0x18c)][_0x51b7b5(0x165)](_0x16b61b),_0x42f79f=_0x3aa535[_0x51b7b5(0x18c)][_0x51b7b5(0x165)](_0x51b7b5(0x1ab)),_0x1de419=_0x3aa535[_0x51b7b5(0x18c)][_0x51b7b5(0x165)](_0x51b7b5(0x187));_0x23f19e[_0x51b7b5(0x1a5)][_0x51b7b5(0x185)](_0xba05cf=>{const _0x31065c=_0x51b7b5;this[_0x31065c(0x1ae)](_0xba05cf);}),this[_0x51b7b5(0x160)](_0x23f19e[_0x51b7b5(0x1a5)],_0x51b7b5(0x18a),(_0x308fdb,_0x409f3d)=>{const _0x5ff082=_0x51b7b5;this[_0x5ff082(0x1ae)](_0x409f3d);}),this[_0x51b7b5(0x160)](_0x42f79f[_0x51b7b5(0x196)],_0x51b7b5(0x18a),(_0x369099,_0x4637c2)=>{const _0x49c331=_0x51b7b5,_0x46c0cf=this[_0x49c331(0x177)][_0x49c331(0x166)](_0x3645b9=>{const _0x236d34=_0x49c331,_0x4214af=_0x1de419[_0x236d34(0x191)][_0x236d34(0x165)](_0x3645b9);return _0x4214af&&_0x4637c2[_0x236d34(0x192)]===_0x4214af[_0x236d34(0x19c)];});if(_0x46c0cf){const _0x4398a0=this[_0x49c331(0x19f)](_0x46c0cf[_0x49c331(0x194)]);this[_0x49c331(0x1a3)](_0x4637c2,_0x4398a0),this[_0x49c331(0x177)][_0x49c331(0x183)](this[_0x49c331(0x177)][_0x49c331(0x1a1)](_0x46c0cf),0x1);}}),this[_0x51b7b5(0x160)](_0x23f19e[_0x51b7b5(0x1a5)],_0x51b7b5(0x1aa),(_0x313aec,_0x360456)=>{const _0x484582=_0x51b7b5,_0x3fdb5a=_0x3aa535[_0x484582(0x199)][_0x484582(0x165)](_0x484582(0x17f));if(!_0x3fdb5a||_0x360456[_0x484582(0x180)]===_0x3fdb5a){if(this[_0x484582(0x177)][_0x484582(0x1a9)](_0x360456))this[_0x484582(0x177)][_0x484582(0x183)](this[_0x484582(0x177)][_0x484582(0x1a1)](_0x360456),0x1);else{const _0x42fae9=_0x1de419[_0x484582(0x191)][_0x484582(0x165)](_0x360456),_0x46c9ca=_0x42f79f[_0x484582(0x1a4)](_0x42fae9[_0x484582(0x19c)]);this[_0x484582(0x197)][_0x484582(0x1aa)](_0x46c9ca[_0x484582(0x19c)]),this[_0x484582(0x188)](_0x46c9ca),this[_0x484582(0x188)](_0x46c9ca[_0x484582(0x184)]);}}}),this[_0x51b7b5(0x160)](_0x42f79f[_0x51b7b5(0x196)],_0x51b7b5(0x18a),(_0x220704,_0x1de7ac)=>{const _0x55fdda=_0x51b7b5;this[_0x55fdda(0x160)](_0x1de7ac,_0x55fdda(0x16d),_0x4bff68);}),this[_0x51b7b5(0x160)](_0x42f79f[_0x51b7b5(0x196)],_0x51b7b5(0x1aa),(_0x507b9d,_0x365303)=>{const _0x3772bf=_0x51b7b5;this[_0x3772bf(0x188)](_0x365303,_0x3772bf(0x16d),_0x4bff68);});}[_0x5a3b21(0x1a3)](_0x3a6b53,_0x254004){const _0x47ae1f=_0x5a3b21;this[_0x47ae1f(0x160)](_0x3a6b53,_0x47ae1f(0x172),_0x34c240=>{const _0xcde75=_0x47ae1f;_0x34c240[_0xcde75(0x186)]=!0x1,_0x34c240[_0xcde75(0x16a)]();}),this[_0x47ae1f(0x197)][_0x47ae1f(0x18a)](_0x3a6b53[_0x47ae1f(0x19c)],_0x254004);}[_0x5a3b21(0x1ae)](_0x4bdffc){const _0x4d2b26=_0x5a3b21,_0x8e3188=this[_0x4d2b26(0x171)][_0x4d2b26(0x18c)][_0x4d2b26(0x165)](_0x4d2b26(0x187)),_0x2cf3cd=this[_0x4d2b26(0x171)][_0x4d2b26(0x18c)][_0x4d2b26(0x165)](_0x4d2b26(0x1ab)),_0x54b216=this[_0x4d2b26(0x171)][_0x4d2b26(0x199)][_0x4d2b26(0x165)](_0x4d2b26(0x17f));if(!_0x54b216||_0x4bdffc[_0x4d2b26(0x180)]===_0x54b216){const _0x2befbe=_0x8e3188[_0x4d2b26(0x191)][_0x4d2b26(0x165)](_0x4bdffc);if(!_0x2befbe)return void this[_0x4d2b26(0x177)][_0x4d2b26(0x182)](_0x4bdffc);const _0x1d8943=this[_0x4d2b26(0x19f)](_0x4bdffc[_0x4d2b26(0x194)]),_0x26025a=_0x2cf3cd[_0x4d2b26(0x1a4)](_0x2befbe[_0x4d2b26(0x19c)]);_0x26025a[_0x4d2b26(0x16c)]&&_0x2cf3cd[_0x4d2b26(0x161)][_0x4d2b26(0x1aa)](_0x26025a),this[_0x4d2b26(0x1a3)](_0x26025a,_0x1d8943);}}[_0x5a3b21(0x19f)](_0x53f0f5){const _0x36ddf3=_0x5a3b21,_0x2cf9af=this[_0x36ddf3(0x171)][_0x36ddf3(0x199)][_0x36ddf3(0x165)](_0x36ddf3(0x17f)),_0x2a242e=[...this[_0x36ddf3(0x171)][_0x36ddf3(0x18c)][_0x36ddf3(0x165)](_0x16b61b)[_0x36ddf3(0x1a5)]][_0x36ddf3(0x17e)](_0x4b4c5d=>_0x4b4c5d[_0x36ddf3(0x180)]===_0x2cf9af)[_0x36ddf3(0x1a6)](_0x5bf89f=>_0x5bf89f[_0x36ddf3(0x194)]<_0x53f0f5);return _0x2a242e<0x0||_0x2a242e>this[_0x36ddf3(0x197)][_0x36ddf3(0x164)]?this[_0x36ddf3(0x197)][_0x36ddf3(0x164)]:_0x2a242e-0x1;}[_0x5a3b21(0x168)](){const _0x4a9193=_0x5a3b21,_0x4c8a5d=this[_0x4a9193(0x171)],_0x1f956c=_0x4c8a5d[_0x4a9193(0x18c)][_0x4a9193(0x165)](_0x4a9193(0x190));this[_0x4a9193(0x17c)]||(this[_0x4a9193(0x17c)]=new _0x2148c0(_0x4c8a5d[_0x4a9193(0x16b)],this[_0x4a9193(0x197)])),_0x4a9193(0x18b)===_0x1f956c['id']?_0x1f956c[_0x4a9193(0x19a)]():_0x1f956c[_0x4a9193(0x17a)]({'id':_0x4a9193(0x18b),'title':_0xd0f3d8(_0x4c8a5d[_0x4a9193(0x16b)],_0x4a9193(0x1ac)),'icon':_0x1a1483,'hasCloseButton':!0x0,'content':this[_0x4a9193(0x17c)],'position':_0x1ae3dd[_0x4a9193(0x176)]});}[_0x5a3b21(0x1a7)](_0x57f6c0,_0x4b3504=!0x1){const _0x3f59ad=_0x5a3b21,_0x229e20=this[_0x3f59ad(0x171)][_0x3f59ad(0x16b)],_0x4c63c3=this[_0x3f59ad(0x171)][_0x3f59ad(0x18c)][_0x3f59ad(0x165)](_0x3f59ad(0x190)),_0x25f9ae=new _0x57f6c0(_0x229e20);return _0x25f9ae[_0x3f59ad(0x181)](_0x3f59ad(0x17b))['to'](this,_0x3f59ad(0x17b)),_0x25f9ae[_0x3f59ad(0x181)](_0x3f59ad(0x198))['to'](_0x4c63c3,'id',_0x574081=>_0x3f59ad(0x18b)===_0x574081),_0x25f9ae[_0x3f59ad(0x16f)]({'label':_0xd0f3d8(_0x229e20,_0x3f59ad(0x1ac)),'icon':_0x1a1483,'isToggleable':!0x0}),_0x4b3504&&(_0x25f9ae[_0x3f59ad(0x173)]=!0x0),this[_0x3f59ad(0x160)](_0x25f9ae,_0x3f59ad(0x19b),()=>this[_0x3f59ad(0x168)]()),_0x25f9ae;}[_0x5a3b21(0x163)]=_0x33be07=>{const _0x2d6d2b=_0x5a3b21,_0x116120=_0x33be07[_0x2d6d2b(0x18e)];if(!this[_0x2d6d2b(0x197)][_0x2d6d2b(0x1a0)](_0x116120[_0x2d6d2b(0x19c)]))return;const _0x1d6cb5=this[_0x2d6d2b(0x171)][_0x2d6d2b(0x18c)][_0x2d6d2b(0x165)](_0x2d6d2b(0x190));_0x1d6cb5[_0x2d6d2b(0x18d)]&&_0x2d6d2b(0x18b)===_0x1d6cb5['id']&&(_0x1d6cb5[_0x2d6d2b(0x19a)](),_0x33be07[_0x2d6d2b(0x16a)]());};}
|