@ckeditor/ckeditor5-comments 47.4.0-alpha.1 → 47.4.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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
|
-
|
|
23
|
+
const _0x48d17b=_0x5c9e;(function(_0x3b7dfd,_0x36fe93){const _0x265078=_0x5c9e,_0x3bf5d4=_0x3b7dfd();while(!![]){try{const _0x23d1b2=parseInt(_0x265078(0x1d3))/0x1+parseInt(_0x265078(0x1d4))/0x2*(parseInt(_0x265078(0x1cb))/0x3)+-parseInt(_0x265078(0x1d0))/0x4*(-parseInt(_0x265078(0x1db))/0x5)+-parseInt(_0x265078(0x1d2))/0x6*(-parseInt(_0x265078(0x1e0))/0x7)+parseInt(_0x265078(0x1e9))/0x8*(-parseInt(_0x265078(0x1e4))/0x9)+parseInt(_0x265078(0x1cd))/0xa*(parseInt(_0x265078(0x1cc))/0xb)+-parseInt(_0x265078(0x1cf))/0xc*(parseInt(_0x265078(0x1dd))/0xd);if(_0x23d1b2===_0x36fe93)break;else _0x3bf5d4['push'](_0x3bf5d4['shift']());}catch(_0x5e0e09){_0x3bf5d4['push'](_0x3bf5d4['shift']());}}}(_0x1e5f,0x96dda));function _0x1e5f(){const _0x413964=['ck-annotation-counter__badge--','icon','isDirty','5agWyBZ','ck-annotation-counter__badge','137202SqIatf','...','annotationType','14oxhfnW','number','_badge','counterView','109746aklkvP','add','children','bindTemplate','toString','536cLPTrk','bind','setTemplate','32652IhmZMY','11MiFZHn','2496090xMiafn','set','1812yqOFHp','3820276hQoaJD','extendTemplate','2339088YwroTL','859196AMiqfW','34aZZQNE','ck-annotation-counter','span','ck-annotation-counter__badge--edit-mode'];_0x1e5f=function(){return _0x413964;};return _0x1e5f();}import{ButtonView as _0x14649c,View as _0x74353}from'ckeditor5/src/ui.js';import{IconAddComment as _0x159efa}from'ckeditor5/src/icons.js';function _0x5c9e(_0x5c1474,_0x3a3a09){const _0x1e5f8b=_0x1e5f();return _0x5c9e=function(_0x5c9e11,_0x46d22a){_0x5c9e11=_0x5c9e11-0x1cb;let _0x59d602=_0x1e5f8b[_0x5c9e11];return _0x59d602;},_0x5c9e(_0x5c1474,_0x3a3a09);}export class AnnotationCounterButtonView extends _0x14649c{[_0x48d17b(0x1e3)];constructor(_0x18652c){const _0x529fcd=_0x48d17b;super(_0x18652c);const _0xf3df81=this[_0x529fcd(0x1e7)];this[_0x529fcd(0x1ce)](_0x529fcd(0x1da),!0x1),this[_0x529fcd(0x1ce)](_0x529fcd(0x1e1),0x0),this[_0x529fcd(0x1ea)](_0x529fcd(0x1e2))['to'](this,_0x529fcd(0x1da),this,_0x529fcd(0x1e1),(_0x18cd0c,_0x215b88)=>_0x18cd0c?_0x529fcd(0x1de):_0x215b88[_0x529fcd(0x1e8)]()),this[_0x529fcd(0x1ce)](_0x529fcd(0x1df),''),this[_0x529fcd(0x1d9)]=_0x159efa,this[_0x529fcd(0x1d1)]({'attributes':{'class':[_0x529fcd(0x1d5)]}}),this[_0x529fcd(0x1e3)]=new _0x74353(),this[_0x529fcd(0x1e3)][_0x529fcd(0x1eb)]({'tag':_0x529fcd(0x1d6),'attributes':{'class':[_0x529fcd(0x1dc),_0xf3df81['to'](_0x529fcd(0x1df),_0x1f6ccf=>_0x529fcd(0x1d8)+_0x1f6ccf),_0xf3df81['if'](_0x529fcd(0x1da),_0x529fcd(0x1d7))]},'children':[{'text':_0xf3df81['to'](_0x529fcd(0x1e2))}]}),this[_0x529fcd(0x1e6)][_0x529fcd(0x1e5)](this[_0x529fcd(0x1e3)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1d9e53=_0x9008;(function(_0x1152cb,_0x532fc7){const _0x3885cf=_0x9008,_0x3774a8=_0x1152cb();while(!![]){try{const _0x16b2c0=-parseInt(_0x3885cf(0x1f8))/0x1+-parseInt(_0x3885cf(0x1cf))/0x2*(parseInt(_0x3885cf(0x1e6))/0x3)+parseInt(_0x3885cf(0x1d5))/0x4*(-parseInt(_0x3885cf(0x1e5))/0x5)+-parseInt(_0x3885cf(0x1ee))/0x6*(parseInt(_0x3885cf(0x1fc))/0x7)+parseInt(_0x3885cf(0x1f6))/0x8*(-parseInt(_0x3885cf(0x1dc))/0x9)+parseInt(_0x3885cf(0x1e0))/0xa+parseInt(_0x3885cf(0x1df))/0xb*(parseInt(_0x3885cf(0x1d6))/0xc);if(_0x16b2c0===_0x532fc7)break;else _0x3774a8['push'](_0x3774a8['shift']());}catch(_0x2e86f2){_0x3774a8['push'](_0x3774a8['shift']());}}}(_0x4b28,0x80de2));import{View as _0x57af81}from'ckeditor5/src/ui.js';import{FocusTracker as _0x138a72,KeystrokeHandler as _0x543978,uid as _0x42f3db}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x3fe241}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x57af81{[_0x1d9e53(0x1d1)];['id'];[_0x1d9e53(0x1f5)];[_0x1d9e53(0x1eb)];[_0x1d9e53(0x1e2)];[_0x1d9e53(0x1dd)];constructor(_0x888559,_0x13a7e4){const _0x45b7bc=_0x1d9e53;super(_0x888559),this['id']=_0x42f3db(),this[_0x45b7bc(0x1d1)]=new _0x138a72(),this[_0x45b7bc(0x1f5)]=new _0x543978(),this[_0x45b7bc(0x1f5)][_0x45b7bc(0x1f1)](_0x45b7bc(0x1e7),(_0x4dbc64,_0x274409)=>this[_0x45b7bc(0x1d9)](_0x45b7bc(0x1e7),_0x274409)),this[_0x45b7bc(0x1f1)](_0x45b7bc(0x1fb),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x45b7bc(0x1f1)](_0x45b7bc(0x1e1),0x0),this[_0x45b7bc(0x1f1)](_0x45b7bc(0x1f7),!0x1),this[_0x45b7bc(0x1f1)](_0x45b7bc(0x1da),!0x1),this[_0x45b7bc(0x1f1)](_0x45b7bc(0x1d8),0x0),this[_0x45b7bc(0x1f1)](_0x45b7bc(0x1ec),''),this[_0x45b7bc(0x1dd)]=_0x3fe241(()=>this[_0x45b7bc(0x1ed)]()),this[_0x45b7bc(0x1eb)]=this[_0x45b7bc(0x1ce)](),this[_0x45b7bc(0x1eb)][_0x45b7bc(0x1f3)](_0x45b7bc(0x1f4),_0x45b7bc(0x1d3))['to'](this),this[_0x45b7bc(0x1eb)][_0x45b7bc(0x1de)](_0x13a7e4),this[_0x45b7bc(0x1e2)]=_0x13a7e4;const _0x34a99c=this[_0x45b7bc(0x1fa)];this[_0x45b7bc(0x1d7)]({'tag':_0x45b7bc(0x1f9),'attributes':{'class':['ck',_0x45b7bc(0x1e9),_0x45b7bc(0x1cc),_0x34a99c['if'](_0x45b7bc(0x1f7),_0x45b7bc(0x1f0))],'role':_0x45b7bc(0x1d2)},'children':this[_0x45b7bc(0x1eb)]});}[_0x1d9e53(0x1e4)](){const _0x54f49b=_0x1d9e53;super[_0x54f49b(0x1e4)](),this[_0x54f49b(0x1d1)][_0x54f49b(0x1de)](this[_0x54f49b(0x1e8)]),this[_0x54f49b(0x1f5)][_0x54f49b(0x1d4)](this[_0x54f49b(0x1e8)]),this[_0x54f49b(0x1dd)][_0x54f49b(0x1e3)](this[_0x54f49b(0x1e8)]);}[_0x1d9e53(0x1ea)](){const _0x101dc3=_0x1d9e53;this[_0x101dc3(0x1eb)][_0x101dc3(0x1d0)](),this[_0x101dc3(0x1f5)][_0x101dc3(0x1ea)](),this[_0x101dc3(0x1d1)][_0x101dc3(0x1ea)](),this[_0x101dc3(0x1dd)][_0x101dc3(0x1cd)](),super[_0x101dc3(0x1ea)]();}[_0x1d9e53(0x1db)](){const _0x294377=_0x1d9e53;this[_0x294377(0x1eb)][_0x294377(0x1f2)]&&this[_0x294377(0x1eb)][_0x294377(0x1f2)][_0x294377(0x1db)]();}[_0x1d9e53(0x1ed)](){const _0x26d84e=_0x1d9e53,_0x5c66e3=this[_0x26d84e(0x1e8)][_0x26d84e(0x1ef)];_0x5c66e3&&(this[_0x26d84e(0x1e1)]=_0x5c66e3);}}function _0x9008(_0x4a48a9,_0x583fc4){const _0x4b288a=_0x4b28();return _0x9008=function(_0x900871,_0xd249ec){_0x900871=_0x900871-0x1cc;let _0x2dbacd=_0x4b288a[_0x900871];return _0x2dbacd;},_0x9008(_0x4a48a9,_0x583fc4);}function _0x4b28(){const _0x5c0f64=['bindTemplate','targetRect','21BKvHPa','ck-rounded-corners','detach','createCollection','1119340vtBLdq','clear','focusTracker','presentation','arrowdown','listenTo','4MsIUJo','36SCbnxr','setTemplate','length','fire','isDirty','focus','8629218zVMkUF','_mutationObserver','add','14334881yKuYvu','800190itWsBb','height','mainView','attach','render','2844085MIuwNC','3bbCpPC','Esc','element','ck-annotation-wrapper','destroy','content','type','_updateHeight','1758918VuxbQW','clientHeight','ck-annotation-wrapper--active','set','first','delegate','arrowup','keystrokes','8CABQhz','isActive','494942HGHdtf','div'];_0x4b28=function(){return _0x5c0f64;};return _0x4b28();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3a2b52=_0x2053;(function(_0x9351bb,_0x515dd6){const _0x11f278=_0x2053,_0x95a0c5=_0x9351bb();while(!![]){try{const _0x15c261=-parseInt(_0x11f278(0x206))/0x1*(parseInt(_0x11f278(0x1f8))/0x2)+-parseInt(_0x11f278(0x203))/0x3+-parseInt(_0x11f278(0x215))/0x4*(-parseInt(_0x11f278(0x212))/0x5)+parseInt(_0x11f278(0x1ff))/0x6+-parseInt(_0x11f278(0x217))/0x7*(parseInt(_0x11f278(0x1f3))/0x8)+parseInt(_0x11f278(0x201))/0x9*(parseInt(_0x11f278(0x202))/0xa)+-parseInt(_0x11f278(0x20c))/0xb;if(_0x15c261===_0x515dd6)break;else _0x95a0c5['push'](_0x95a0c5['shift']());}catch(_0x58d868){_0x95a0c5['push'](_0x95a0c5['shift']());}}}(_0x14a8,0x2f1d1));function _0x14a8(){const _0x53154f=['focus','content','render','5ZyEKmr','_mutationObserver','updateHeight','987876ezSNNM','arrowdown','63zEvmon','bind','bottom','setTemplate','276656KdENqx','top','ck-sidebar-item','createCollection','presentation','2YBWRXj','delegate','ck-sidebar-item--no-animation','_targetTop','div','isAnimationDisabled','attach','2279310BsmZhP','first','14679OVsyDw','530PPbHPd','57000zRBHGi','element','clear','48036AWpaEe','destroy','height','arrowup','detach','bindTemplate','1562506Hnesjf','clientHeight','set'];_0x14a8=function(){return _0x53154f;};return _0x14a8();}import{View as _0x55fac6}from'ckeditor5/src/ui.js';import{toUnit as _0x2ebb4d}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x449cca}from'../../utils/createmutationobserver.js';const Ht=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2ebb4d('px');function _0x2053(_0x1e6bf0,_0x2af8ec){const _0x14a8a1=_0x14a8();return _0x2053=function(_0x2053bf,_0x43f9e4){_0x2053bf=_0x2053bf-0x1f2;let _0x49febc=_0x14a8a1[_0x2053bf];return _0x49febc;},_0x2053(_0x1e6bf0,_0x2af8ec);}export class AnnotationsSidebarItemView extends _0x55fac6{[_0x3a2b52(0x210)];[_0x3a2b52(0x1fb)];[_0x3a2b52(0x213)];constructor(_0x120810){const _0x1d0115=_0x3a2b52;super(_0x120810),this[_0x1d0115(0x20e)](_0x1d0115(0x1f4),0x0),this[_0x1d0115(0x20e)](_0x1d0115(0x208),0x0),this[_0x1d0115(0x218)](_0x1d0115(0x219))['to'](this,_0x1d0115(0x1f4),this,_0x1d0115(0x208),(_0x502b5d,_0x48ab9c)=>_0x502b5d+_0x48ab9c),this[_0x1d0115(0x20e)](_0x1d0115(0x1fd),!0x1),this[_0x1d0115(0x213)]=_0x449cca(()=>this[_0x1d0115(0x214)]()),this[_0x1d0115(0x1fb)]=null,this[_0x1d0115(0x210)]=this[_0x1d0115(0x1f6)](),this[_0x1d0115(0x210)][_0x1d0115(0x1f9)](_0x1d0115(0x209),_0x1d0115(0x216))['to'](this);const _0x38f798=this[_0x1d0115(0x20b)];this[_0x1d0115(0x1f2)]({'tag':_0x1d0115(0x1fc),'attributes':{'class':[_0x1d0115(0x1f5),_0x38f798['to'](_0x1d0115(0x1fd),_0x2cf921=>_0x2cf921?_0x1d0115(0x1fa):'')],'style':{'top':_0x38f798['to'](_0x1d0115(0x1f4),_0xb9d106=>Ht(_0xb9d106))},'role':_0x1d0115(0x1f7)},'children':this[_0x1d0115(0x210)]});}[_0x3a2b52(0x211)](){const _0x11ec5e=_0x3a2b52;super[_0x11ec5e(0x211)](),this[_0x11ec5e(0x213)][_0x11ec5e(0x1fe)](this[_0x11ec5e(0x204)]);}[_0x3a2b52(0x20f)](){const _0x377f27=_0x3a2b52;this[_0x377f27(0x210)][_0x377f27(0x200)]&&this[_0x377f27(0x210)][_0x377f27(0x200)][_0x377f27(0x20f)]();}[_0x3a2b52(0x214)](){const _0x2143c8=_0x3a2b52,_0x52bd9d=this[_0x2143c8(0x204)][_0x2143c8(0x20d)];_0x52bd9d&&(this[_0x2143c8(0x208)]=_0x52bd9d);}[_0x3a2b52(0x207)](){const _0x4b474c=_0x3a2b52;this[_0x4b474c(0x210)][_0x4b474c(0x205)](),this[_0x4b474c(0x213)][_0x4b474c(0x20a)](),super[_0x4b474c(0x207)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x135a(){const _0x20e270=['element','focusCycler','createCollection','setTemplate','1375gzMUhq','ck-reset','class','focusTracker','number','arrowup','Annotations\x20sidebar','forEach','delegate','change:top','div','21OHowWi','_setupKeyboardNavigation','list','length','listenTo','26516LrtibT','1955048BXJUIn','minHeight','render','remove','focusNext','1159uenltk','top','added','_updateItemPositionInFocusables','focusables','bindTemplate','change','Annotations\x20list','34120tCmHCK','446GRCOLD','getIndex','focusFirst','7WrIrdd','988146zhhQoV','1751256QZhzPU','source','focus','focusPrevious','1573565jxtgKW','set','ck-sidebar','add','arrowdown','removed','application','uiLanguageDirection'];_0x135a=function(){return _0x20e270;};return _0x135a();}const _0x36d5c0=_0x2b0e;(function(_0x37b10b,_0x79b83a){const _0x4819a3=_0x2b0e,_0xce59b1=_0x37b10b();while(!![]){try{const _0x4b3aaa=parseInt(_0x4819a3(0xf8))/0x1*(-parseInt(_0x4819a3(0x101))/0x2)+-parseInt(_0x4819a3(0x121))/0x3*(parseInt(_0x4819a3(0x126))/0x4)+parseInt(_0x4819a3(0x10a))/0x5+parseInt(_0x4819a3(0x105))/0x6+parseInt(_0x4819a3(0x104))/0x7*(-parseInt(_0x4819a3(0xf3))/0x8)+-parseInt(_0x4819a3(0x106))/0x9+parseInt(_0x4819a3(0x100))/0xa*(parseInt(_0x4819a3(0x116))/0xb);if(_0x4b3aaa===_0x79b83a)break;else _0xce59b1['push'](_0xce59b1['shift']());}catch(_0x20c679){_0xce59b1['push'](_0xce59b1['shift']());}}}(_0x135a,0x2791f));import{View as _0x75f8e6,FocusCycler as _0x5c3098}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3798f3,toUnit as _0x3d77aa}from'ckeditor5/src/utils.js';function _0x2b0e(_0x58b621,_0xd124e5){const _0x135a3a=_0x135a();return _0x2b0e=function(_0x2b0e37,_0x1c8e93){_0x2b0e37=_0x2b0e37-0xf3;let _0x111b43=_0x135a3a[_0x2b0e37];return _0x111b43;},_0x2b0e(_0x58b621,_0xd124e5);}import{getTranslation as _0x5a2fcd}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ht=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3d77aa('px');export class AnnotationsSidebarView extends _0x75f8e6{[_0x36d5c0(0x123)];[_0x36d5c0(0xfc)];[_0x36d5c0(0x119)];[_0x36d5c0(0x113)];constructor(_0x357951){const _0x3a1704=_0x36d5c0;super(_0x357951);const _0x514f9e=this[_0x3a1704(0xfd)];this[_0x3a1704(0x10b)](_0x3a1704(0xf4),0x0),this[_0x3a1704(0x10b)](_0x3a1704(0x118),''),this[_0x3a1704(0x123)]=this[_0x3a1704(0x114)](),this[_0x3a1704(0xfc)]=this[_0x3a1704(0x114)](),this[_0x3a1704(0x123)][_0x3a1704(0x11e)](_0x3a1704(0x11b),_0x3a1704(0x10e))['to'](this),this[_0x3a1704(0x119)]=new _0x3798f3(),this[_0x3a1704(0x113)]=new _0x5c3098({'focusables':this[_0x3a1704(0xfc)],'focusTracker':this[_0x3a1704(0x119)]}),this[_0x3a1704(0x115)]({'tag':_0x3a1704(0x120),'attributes':{'class':['ck',_0x3a1704(0x10c),_0x3a1704(0x117),_0x514f9e['to'](_0x3a1704(0x118))],'style':{'minHeight':_0x514f9e['to'](_0x3a1704(0xf4),_0x39f6dd=>_0x3a1704(0x11a)==typeof _0x39f6dd?Ht(_0x39f6dd+0xa):null)},'dir':_0x357951[_0x3a1704(0x111)],'role':_0x3a1704(0x110),'aria-label':_0x5a2fcd(_0x357951,_0x3a1704(0x11c)),'tabindex':0x0},'children':[{'tag':_0x3a1704(0x120),'attributes':{'role':_0x3a1704(0x123),'aria-label':_0x5a2fcd(_0x357951,_0x3a1704(0xff))},'children':this[_0x3a1704(0x123)]}]});}[_0x36d5c0(0xf5)](){const _0x31ab04=_0x36d5c0;super[_0x31ab04(0xf5)](),this[_0x31ab04(0x122)]();}[_0x36d5c0(0x108)](){const _0x343dd1=_0x36d5c0;this[_0x343dd1(0x113)][_0x343dd1(0x103)]();}[_0x36d5c0(0x122)](){const _0x1949bf=_0x36d5c0;this[_0x1949bf(0x123)][_0x1949bf(0x11e)](_0x1949bf(0x11f))['to'](this),this['on'](_0x1949bf(0x11f),_0x37edca=>{const _0x2faf88=_0x1949bf;this[_0x2faf88(0xfb)](_0x37edca[_0x2faf88(0x107)]);}),this[_0x1949bf(0x123)][_0x1949bf(0x11d)](_0x39d977=>{const _0x422100=_0x1949bf;this[_0x422100(0x119)][_0x422100(0x10d)](_0x39d977[_0x422100(0x112)]),this[_0x422100(0xfb)](_0x39d977);}),this[_0x1949bf(0x123)]['on'](_0x1949bf(0xfe),(_0x2afea8,_0x1a0757)=>{const _0x28925a=_0x1949bf;for(const _0x30e649 of _0x1a0757[_0x28925a(0x10f)])this[_0x28925a(0x119)][_0x28925a(0xf6)](_0x30e649[_0x28925a(0x112)]),this[_0x28925a(0xfc)][_0x28925a(0xf6)](_0x30e649);for(const _0x3f938a of _0x1a0757[_0x28925a(0xfa)])this[_0x28925a(0x119)][_0x28925a(0x10d)](_0x3f938a[_0x28925a(0x112)]),this[_0x28925a(0xfb)](_0x3f938a);}),this['on'](_0x1949bf(0x11b),()=>{const _0x40e587=_0x1949bf;this[_0x40e587(0x113)][_0x40e587(0x109)]();}),this['on'](_0x1949bf(0x10e),()=>{const _0x49bb91=_0x1949bf;this[_0x49bb91(0x113)][_0x49bb91(0xf7)]();}),this[_0x1949bf(0x125)](this[_0x1949bf(0x112)],_0x1949bf(0x108),()=>{const _0x306a97=_0x1949bf;this[_0x306a97(0x108)]();});}[_0x36d5c0(0xfb)](_0x1a261f){const _0x2b0ec4=_0x36d5c0,_0x4c7145=this[_0x2b0ec4(0xfc)][_0x2b0ec4(0x102)](_0x1a261f);let _0x38b413,_0x47b9ec;for(const _0x29afff of this[_0x2b0ec4(0xfc)])if(_0x1a261f[_0x2b0ec4(0xf9)]<_0x29afff[_0x2b0ec4(0xf9)]){_0x38b413=_0x29afff;break;}if(_0x47b9ec=_0x38b413?this[_0x2b0ec4(0xfc)][_0x2b0ec4(0x102)](_0x38b413):this[_0x2b0ec4(0xfc)][_0x2b0ec4(0x124)],-0x1!==_0x4c7145){if(_0x4c7145===_0x47b9ec-0x1)return;this[_0x2b0ec4(0xfc)][_0x2b0ec4(0xf6)](_0x1a261f),_0x47b9ec=_0x38b413?this[_0x2b0ec4(0xfc)][_0x2b0ec4(0x102)](_0x38b413):this[_0x2b0ec4(0xfc)][_0x2b0ec4(0x124)];}this[_0x2b0ec4(0xfc)][_0x2b0ec4(0x10d)](_0x1a261f,_0x47b9ec);}}
|
|
@@ -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 _0x4fee03=_0x786c;(function(_0x523031,_0x5c891a){const _0x26d150=_0x786c,_0x10df53=_0x523031();while(!![]){try{const _0x5623d5=parseInt(_0x26d150(0x110))/0x1+parseInt(_0x26d150(0x10e))/0x2*(-parseInt(_0x26d150(0x113))/0x3)+parseInt(_0x26d150(0x130))/0x4+parseInt(_0x26d150(0x13a))/0x5*(-parseInt(_0x26d150(0x10c))/0x6)+parseInt(_0x26d150(0x12b))/0x7+parseInt(_0x26d150(0x132))/0x8+-parseInt(_0x26d150(0x142))/0x9*(parseInt(_0x26d150(0x140))/0xa);if(_0x5623d5===_0x5c891a)break;else _0x10df53['push'](_0x10df53['shift']());}catch(_0x5eb09b){_0x10df53['push'](_0x10df53['shift']());}}}(_0x2e05,0x255cb));import'../../theme/commentsarchive.css';function _0x786c(_0x37ccbf,_0x30999f){const _0x2e057f=_0x2e05();return _0x786c=function(_0x786c07,_0x46d035){_0x786c07=_0x786c07-0xf7;let _0x5ad11b=_0x2e057f[_0x786c07];return _0x5ad11b;},_0x786c(_0x37ccbf,_0x30999f);}import{Plugin as _0x4ff2a0}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x1b3695}from'ckeditor5/src/icons.js';import{ViewCollection as _0x304ba5,MenuBarMenuListItemButtonView as _0x290dc8,ButtonView as _0x86f95b,Dialog as _0x4a1d89,DialogViewPosition as _0x3ce4c3}from'ckeditor5/src/ui.js';import{getTranslation as _0x316065}from'../utils/common-translations.js';function _0x2e05(){const _0x2e95b7=['_hideDialogOnAnnotationEscape','add','editor','menuBar:commentsArchive','includes','execute','_pendingThreads','_toggleDialog','hide','12haAtXW','return','554AleueV','forEach','148036dRpBds','length','pluginName','2265cseNSe','CommentsArchiveUI','has','plugins','annotationViews','indexOf','find','tooltip','source','commentsArchive','locale','bind','requires','componentFactory','init','isOfficialPlugin','_addAnnotationToArchive','_visibleAnnotations','EDITOR_TOP_SIDE','isOpen','getByInnerView','stop','filter','collection','777763AclTIf','config','show','COMMENTS_ARCHIVE','listenTo','1063228aCmTGC','commentsArchiveView','731976WtCMQu','isEnabled','isVisible','Dialog','archivedThreads','push','splice','stopListening','528335MIWzBZ','isPremiumPlugin','CommentsRepository','set:isVisible','get','view','1050sQzeXK','_threadToController','3681ooLAPg','Annotations','escape','isOn','menuitemcheckbox','innerView','_createCommentsArchiveButton','collaboration.channelId','remove','channelId','focusableElements','findIndex','_handleNewThread','_calculatePosition','archivedAt','set'];_0x2e05=function(){return _0x2e95b7;};return _0x2e05();}import{CommentsArchiveView as _0x12403}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x1dafea}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x4ff2a0{[_0x4fee03(0x131)];[_0x4fee03(0x117)];[_0x4fee03(0x109)];static get[_0x4fee03(0x112)](){const _0xe1ceab=_0x4fee03;return _0xe1ceab(0x114);}static get[_0x4fee03(0x122)](){return!0x0;}static get[_0x4fee03(0x13b)](){return!0x0;}static get[_0x4fee03(0x11f)](){return[_0x1dafea,_0x4a1d89];}constructor(_0x5058b3){const _0x53baa3=_0x4fee03;super(_0x5058b3),this[_0x53baa3(0x117)]=new _0x304ba5(),this[_0x53baa3(0x109)]=[];}[_0x4fee03(0x121)](){const _0x1657e1=_0x4fee03,_0x57a015=this[_0x1657e1(0x105)],_0x405f67=this[_0x1657e1(0x103)][_0x1657e1(0x11e)](this);_0x57a015['ui'][_0x1657e1(0x120)][_0x1657e1(0x104)](_0x1657e1(0x11c),()=>this[_0x1657e1(0xf9)](_0x86f95b,!0x0)),_0x57a015['ui'][_0x1657e1(0x120)][_0x1657e1(0x104)](_0x1657e1(0x106),()=>{const _0x3da60a=_0x1657e1,_0x259d84=this[_0x3da60a(0xf9)](_0x290dc8);return _0x259d84[_0x3da60a(0x102)]({'role':_0x3da60a(0xf7)}),_0x259d84;});const _0x1918d6=_0x57a015[_0x1657e1(0x116)][_0x1657e1(0x13e)](_0x1dafea),_0x583485=_0x57a015[_0x1657e1(0x116)][_0x1657e1(0x13e)](_0x1657e1(0x143)),_0x19e9d5=_0x57a015[_0x1657e1(0x116)][_0x1657e1(0x13e)](_0x1657e1(0x13c));_0x1918d6[_0x1657e1(0x136)][_0x1657e1(0x10f)](_0x394ed6=>{const _0x47494b=_0x1657e1;this[_0x47494b(0xff)](_0x394ed6);}),this[_0x1657e1(0x12f)](_0x1918d6[_0x1657e1(0x136)],_0x1657e1(0x104),(_0x48ca04,_0x1821fd)=>{const _0x1c690d=_0x1657e1;this[_0x1c690d(0xff)](_0x1821fd);}),this[_0x1657e1(0x12f)](_0x583485[_0x1657e1(0x12a)],_0x1657e1(0x104),(_0x53668d,_0x1b4ce7)=>{const _0x30f6f2=_0x1657e1,_0x42db73=this[_0x30f6f2(0x109)][_0x30f6f2(0x119)](_0x1be7df=>{const _0x3bbee7=_0x30f6f2,_0x311cac=_0x19e9d5[_0x3bbee7(0x141)][_0x3bbee7(0x13e)](_0x1be7df);return _0x311cac&&_0x1b4ce7[_0x3bbee7(0xf8)]===_0x311cac[_0x3bbee7(0x13f)];});if(_0x42db73){const _0x5de496=this[_0x30f6f2(0x100)](_0x42db73[_0x30f6f2(0x101)]);this[_0x30f6f2(0x123)](_0x1b4ce7,_0x5de496),this[_0x30f6f2(0x109)][_0x30f6f2(0x138)](this[_0x30f6f2(0x109)][_0x30f6f2(0x118)](_0x42db73),0x1);}}),this[_0x1657e1(0x12f)](_0x1918d6[_0x1657e1(0x136)],_0x1657e1(0xfb),(_0x2c279b,_0x1da481)=>{const _0x51ab7e=_0x1657e1,_0xc63713=_0x57a015[_0x51ab7e(0x12c)][_0x51ab7e(0x13e)](_0x51ab7e(0xfa));if(!_0xc63713||_0x1da481[_0x51ab7e(0xfc)]===_0xc63713){if(this[_0x51ab7e(0x109)][_0x51ab7e(0x107)](_0x1da481))this[_0x51ab7e(0x109)][_0x51ab7e(0x138)](this[_0x51ab7e(0x109)][_0x51ab7e(0x118)](_0x1da481),0x1);else{const _0x5a38f4=_0x19e9d5[_0x51ab7e(0x141)][_0x51ab7e(0x13e)](_0x1da481),_0x249d3b=_0x583485[_0x51ab7e(0x127)](_0x5a38f4[_0x51ab7e(0x13f)]);this[_0x51ab7e(0x117)][_0x51ab7e(0xfb)](_0x249d3b[_0x51ab7e(0x13f)]),this[_0x51ab7e(0x139)](_0x249d3b),this[_0x51ab7e(0x139)](_0x249d3b[_0x51ab7e(0xfd)]);}}}),this[_0x1657e1(0x12f)](_0x583485[_0x1657e1(0x12a)],_0x1657e1(0x104),(_0x5d4bf7,_0x978b60)=>{const _0x124c24=_0x1657e1;this[_0x124c24(0x12f)](_0x978b60,_0x124c24(0x144),_0x405f67);}),this[_0x1657e1(0x12f)](_0x583485[_0x1657e1(0x12a)],_0x1657e1(0xfb),(_0x47fd64,_0x89e536)=>{const _0x32fa8e=_0x1657e1;this[_0x32fa8e(0x139)](_0x89e536,_0x32fa8e(0x144),_0x405f67);});}[_0x4fee03(0x123)](_0x443b2a,_0x520fbc){const _0x812a79=_0x4fee03;this[_0x812a79(0x12f)](_0x443b2a,_0x812a79(0x13d),_0x344299=>{const _0x3d50ff=_0x812a79;_0x344299[_0x3d50ff(0x10d)]=!0x1,_0x344299[_0x3d50ff(0x128)]();}),this[_0x812a79(0x117)][_0x812a79(0x104)](_0x443b2a[_0x812a79(0x13f)],_0x520fbc);}[_0x4fee03(0xff)](_0x374b59){const _0x31eb60=_0x4fee03,_0x5192d1=this[_0x31eb60(0x105)][_0x31eb60(0x116)][_0x31eb60(0x13e)](_0x31eb60(0x13c)),_0x1301c9=this[_0x31eb60(0x105)][_0x31eb60(0x116)][_0x31eb60(0x13e)](_0x31eb60(0x143)),_0x2e8733=this[_0x31eb60(0x105)][_0x31eb60(0x12c)][_0x31eb60(0x13e)](_0x31eb60(0xfa));if(!_0x2e8733||_0x374b59[_0x31eb60(0xfc)]===_0x2e8733){const _0x20a4c1=_0x5192d1[_0x31eb60(0x141)][_0x31eb60(0x13e)](_0x374b59);if(!_0x20a4c1)return void this[_0x31eb60(0x109)][_0x31eb60(0x137)](_0x374b59);const _0x162792=this[_0x31eb60(0x100)](_0x374b59[_0x31eb60(0x101)]),_0x458505=_0x1301c9[_0x31eb60(0x127)](_0x20a4c1[_0x31eb60(0x13f)]);_0x458505[_0x31eb60(0x134)]&&_0x1301c9[_0x31eb60(0x124)][_0x31eb60(0xfb)](_0x458505),this[_0x31eb60(0x123)](_0x458505,_0x162792);}}[_0x4fee03(0x100)](_0x4326ae){const _0x488cfe=_0x4fee03,_0x164cfe=this[_0x488cfe(0x105)][_0x488cfe(0x12c)][_0x488cfe(0x13e)](_0x488cfe(0xfa)),_0x20d95c=[...this[_0x488cfe(0x105)][_0x488cfe(0x116)][_0x488cfe(0x13e)](_0x1dafea)[_0x488cfe(0x136)]][_0x488cfe(0x129)](_0x5eb0e1=>_0x5eb0e1[_0x488cfe(0xfc)]===_0x164cfe)[_0x488cfe(0xfe)](_0x429252=>_0x429252[_0x488cfe(0x101)]<_0x4326ae);return _0x20d95c<0x0||_0x20d95c>this[_0x488cfe(0x117)][_0x488cfe(0x111)]?this[_0x488cfe(0x117)][_0x488cfe(0x111)]:_0x20d95c-0x1;}[_0x4fee03(0x10a)](){const _0x1e7fbf=_0x4fee03,_0x4aca7f=this[_0x1e7fbf(0x105)],_0x2cf0fa=_0x4aca7f[_0x1e7fbf(0x116)][_0x1e7fbf(0x13e)](_0x1e7fbf(0x135));this[_0x1e7fbf(0x131)]||(this[_0x1e7fbf(0x131)]=new _0x12403(_0x4aca7f[_0x1e7fbf(0x11d)],this[_0x1e7fbf(0x117)])),_0x1e7fbf(0x11c)===_0x2cf0fa['id']?_0x2cf0fa[_0x1e7fbf(0x10b)]():_0x2cf0fa[_0x1e7fbf(0x12d)]({'id':_0x1e7fbf(0x11c),'title':_0x316065(_0x4aca7f[_0x1e7fbf(0x11d)],_0x1e7fbf(0x12e)),'icon':_0x1b3695,'hasCloseButton':!0x0,'content':this[_0x1e7fbf(0x131)],'position':_0x3ce4c3[_0x1e7fbf(0x125)]});}[_0x4fee03(0xf9)](_0x10672f,_0x1a9de6=!0x1){const _0x295bfe=_0x4fee03,_0x5a04ee=this[_0x295bfe(0x105)][_0x295bfe(0x11d)],_0x179321=this[_0x295bfe(0x105)][_0x295bfe(0x116)][_0x295bfe(0x13e)](_0x295bfe(0x135)),_0x1dbca0=new _0x10672f(_0x5a04ee);return _0x1dbca0[_0x295bfe(0x11e)](_0x295bfe(0x133))['to'](this,_0x295bfe(0x133)),_0x1dbca0[_0x295bfe(0x11e)](_0x295bfe(0x145))['to'](_0x179321,'id',_0x3a3a5f=>_0x295bfe(0x11c)===_0x3a3a5f),_0x1dbca0[_0x295bfe(0x102)]({'label':_0x316065(_0x5a04ee,_0x295bfe(0x12e)),'icon':_0x1b3695,'isToggleable':!0x0}),_0x1a9de6&&(_0x1dbca0[_0x295bfe(0x11a)]=!0x0),this[_0x295bfe(0x12f)](_0x1dbca0,_0x295bfe(0x108),()=>this[_0x295bfe(0x10a)]()),_0x1dbca0;}[_0x4fee03(0x103)]=_0x5e61dd=>{const _0x2c4c19=_0x4fee03,_0x325060=_0x5e61dd[_0x2c4c19(0x11b)];if(!this[_0x2c4c19(0x117)][_0x2c4c19(0x115)](_0x325060[_0x2c4c19(0x13f)]))return;const _0x288d38=this[_0x2c4c19(0x105)][_0x2c4c19(0x116)][_0x2c4c19(0x13e)](_0x2c4c19(0x135));_0x288d38[_0x2c4c19(0x126)]&&_0x2c4c19(0x11c)===_0x288d38['id']&&(_0x288d38[_0x2c4c19(0x10b)](),_0x5e61dd[_0x2c4c19(0x128)]());};}
|