@ckeditor/ckeditor5-comments 47.0.0-alpha.2 → 47.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3c4671=_0x1df8;(function(_0x565f7f,_0x55ec72){const _0x4afaf7=_0x1df8,_0x868005=_0x565f7f();while(!![]){try{const _0x856b05=parseInt(_0x4afaf7(0x13c))/0x1*(-parseInt(_0x4afaf7(0x115))/0x2)+-parseInt(_0x4afaf7(0x11d))/0x3*(-parseInt(_0x4afaf7(0x11a))/0x4)+parseInt(_0x4afaf7(0x125))/0x5+parseInt(_0x4afaf7(0xf6))/0x6*(parseInt(_0x4afaf7(0x13d))/0x7)+-parseInt(_0x4afaf7(0x12f))/0x8+parseInt(_0x4afaf7(0xf1))/0x9*(-parseInt(_0x4afaf7(0x136))/0xa)+-parseInt(_0x4afaf7(0x120))/0xb*(-parseInt(_0x4afaf7(0x108))/0xc);if(_0x856b05===_0x55ec72)break;else _0x868005['push'](_0x868005['shift']());}catch(_0x17d19d){_0x868005['push'](_0x868005['shift']());}}}(_0x5adf,0x583d4));import{ContextPlugin as _0x241812}from'ckeditor5/src/core.js';import{Rect as _0x3e4de6,CKEditorError as _0x4a591d}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x2c44ae}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x138316}from'./view/sidebaritemview.js';export class Sidebar extends _0x241812{[_0x3c4671(0xf2)];[_0x3c4671(0x112)];[_0x3c4671(0x12d)];[_0x3c4671(0x124)];[_0x3c4671(0x111)];[_0x3c4671(0x138)];[_0x3c4671(0x122)];static get[_0x3c4671(0x126)](){const _0x27b5b7=_0x3c4671;return _0x27b5b7(0x117);}static get[_0x3c4671(0x116)](){return!0x0;}static get[_0x3c4671(0x143)](){return!0x0;}constructor(_0x1e4d50){const _0x4cec42=_0x3c4671;super(_0x1e4d50),this[_0x4cec42(0xff)](_0x4cec42(0x140),void 0x0),this[_0x4cec42(0xf2)]=this[_0x4cec42(0x131)](),this[_0x4cec42(0xff)](_0x4cec42(0xf7),null),this[_0x4cec42(0x124)]=0x19,this[_0x4cec42(0x111)]=new Map(),this[_0x4cec42(0x138)]=new Map(),this[_0x4cec42(0x123)][_0x4cec42(0x109)][_0x4cec42(0xfb)](_0x4cec42(0x144),!0x1),this[_0x4cec42(0x12d)]=null,this[_0x4cec42(0x112)]=null,this[_0x4cec42(0x122)]=[];}[_0x3c4671(0x10b)](){const _0x28b013=_0x3c4671,_0x2d5655=this[_0x28b013(0x123)][_0x28b013(0x109)][_0x28b013(0x14a)](_0x28b013(0x135));_0x2d5655&&this[_0x28b013(0x10f)](_0x2d5655);}[_0x3c4671(0x10f)](_0x50d006){const _0x448ddf=_0x3c4671;if(!g(_0x50d006))throw new _0x4a591d(_0x448ddf(0x105));this[_0x448ddf(0xf7)]=_0x50d006;}[_0x3c4671(0x110)]({viewClass:_0x23e1cb='',spaceBetweenItems:_0x2908ad=0x19}={}){const _0x6dc8=_0x3c4671;if(!g(this[_0x6dc8(0xf7)]))throw new _0x4a591d(_0x6dc8(0x139),this);this[_0x6dc8(0xf7)][_0x6dc8(0x103)](this[_0x6dc8(0xf2)][_0x6dc8(0x145)]),this[_0x6dc8(0xf2)][_0x6dc8(0xf4)]=_0x23e1cb,this[_0x6dc8(0x124)]=_0x2908ad;}[_0x3c4671(0x14b)]({removedAnnotation:_0x4ef2fc,previousAnnotation:_0x1b82c9,nextAnnotation:_0x1c9daa}){const _0x46faa8=_0x3c4671,_0x4cb3c9=this[_0x46faa8(0x118)](_0x4ef2fc);this[_0x46faa8(0xf2)][_0x46faa8(0x11c)][_0x46faa8(0x12a)](_0x4cb3c9),this[_0x46faa8(0x147)](_0x4ef2fc),_0x1b82c9&&this[_0x46faa8(0x12c)](this[_0x46faa8(0x118)](_0x1b82c9)),_0x1c9daa&&this[_0x46faa8(0x12c)](this[_0x46faa8(0x118)](_0x1c9daa)),this[_0x46faa8(0x106)]();}[_0x3c4671(0x10a)]({blurredAnnotation:_0xc414a2,activatedAnnotation:_0x13f6c8,disableAnimationOnActivatedAnnotation:_0x4c7175}){const _0x3cac75=_0x3c4671;if(this[_0x3cac75(0x112)]=_0x13f6c8,_0xc414a2){_0xc414a2[_0x3cac75(0x13e)]=!0x1;const _0x5bce01=this[_0x3cac75(0x118)](_0xc414a2);_0x5bce01&&_0x4c7175&&(_0x5bce01[_0x3cac75(0x13f)]=!0x1);}if(_0x13f6c8){const _0x3a2b0a=this[_0x3cac75(0x118)](_0x13f6c8);_0x3a2b0a&&(_0x13f6c8[_0x3cac75(0x13e)]=!0x0,_0x4c7175&&(_0x3a2b0a[_0x3cac75(0x13f)]=!0x0,_0x3a2b0a[_0x3cac75(0x10e)]+=0x1),this[_0x3cac75(0x12c)](_0x3a2b0a));}}[_0x3c4671(0x104)](_0xaa0576){const _0x37d102=_0x3c4671;if(this[_0x37d102(0xf2)][_0x37d102(0x145)][_0x37d102(0x12a)](),_0xaa0576){for(const _0x17a3ac of _0xaa0576)this[_0x37d102(0x147)](_0x17a3ac);}this[_0x37d102(0xf2)][_0x37d102(0x11c)][_0x37d102(0x114)](),this[_0x37d102(0xf2)][_0x37d102(0xf4)]='',this[_0x37d102(0x140)]=null;}[_0x3c4671(0xf3)](_0x5bff3e,_0x4da1f0){const _0x5cd352=_0x3c4671;_0x4da1f0||(_0x4da1f0=_0x5bff3e[_0x5cd352(0xf2)]);const _0x47d8f6=new _0x138316(this[_0x5cd352(0x123)][_0x5cd352(0x12e)]);this[_0x5cd352(0x111)][_0x5cd352(0xff)](_0x47d8f6,_0x5bff3e),this[_0x5cd352(0x138)][_0x5cd352(0xff)](_0x5bff3e,_0x47d8f6),_0x47d8f6[_0x5cd352(0x137)][_0x5cd352(0x148)](_0x4da1f0),this[_0x5cd352(0xfd)](_0x5bff3e[_0x5cd352(0xf2)],_0x5cd352(0xfe),(_0x2b6316,_0x261d94,_0x19328e)=>{const _0x2db499=_0x5cd352,_0x27e419=this[_0x2db499(0x121)](_0x5bff3e,_0x19328e);_0x47d8f6[_0x2db499(0x13b)]!=_0x27e419&&(_0x47d8f6[_0x2db499(0x13b)]=_0x27e419,this[_0x2db499(0x134)](_0x47d8f6,_0x27e419));}),this[_0x5cd352(0xfd)](_0x47d8f6,_0x5cd352(0x133),()=>{const _0x19f0fa=_0x5cd352;this[_0x19f0fa(0x149)](_0x47d8f6,_0x19f0fa(0x10e));}),this[_0x5cd352(0xfd)](_0x47d8f6,_0x5cd352(0x11b),()=>{const _0x598024=_0x5cd352;this[_0x598024(0x149)](_0x47d8f6,_0x598024(0x102));}),this[_0x5cd352(0x12c)](_0x47d8f6);const _0x2d16c5=this[_0x5cd352(0x14c)](_0x47d8f6);if(_0x2d16c5)this[_0x5cd352(0x10c)](_0x2d16c5,_0x47d8f6)||this[_0x5cd352(0x12c)](_0x47d8f6);else this[_0x5cd352(0x12c)](_0x47d8f6);return this[_0x5cd352(0x106)](),this[_0x5cd352(0xf2)][_0x5cd352(0x11c)][_0x5cd352(0x148)](_0x47d8f6),_0x47d8f6;}[_0x3c4671(0x101)](_0x3c7c5e){const _0xf6fdbe=_0x3c4671;if(!_0x3c7c5e[_0xf6fdbe(0x137)][_0xf6fdbe(0x142)])return;const _0x39b7f2=this[_0xf6fdbe(0x14c)](_0x3c7c5e);if(!_0x39b7f2)return;const _0xb134e7=this[_0xf6fdbe(0x111)][_0xf6fdbe(0x14a)](_0x39b7f2),_0x7ca060=this[_0xf6fdbe(0x112)];_0x7ca060&&_0x7ca060===_0xb134e7?this[_0xf6fdbe(0x10c)](_0x39b7f2,_0x3c7c5e):this[_0xf6fdbe(0x13a)](_0x3c7c5e,_0x39b7f2);}[_0x3c4671(0x12b)](_0x288811){const _0x682986=_0x3c4671;if(!_0x288811[_0x682986(0x137)][_0x682986(0x142)])return;const _0x9467b8=this[_0x682986(0x113)](_0x288811);if(!_0x9467b8)return;const _0x94fd85=this[_0x682986(0x111)][_0x682986(0x14a)](_0x9467b8),_0xd0156c=this[_0x682986(0x123)][_0x682986(0x109)][_0x682986(0x14a)](_0x682986(0x144)),_0x112805=this[_0x682986(0x112)];_0x112805&&_0x112805===_0x94fd85&&_0xd0156c?(this[_0x682986(0x13a)](_0x9467b8,_0x288811),this[_0x682986(0x10c)](_0x288811,_0x9467b8)):_0x112805&&_0x112805===_0x94fd85?this[_0x682986(0x13a)](_0x9467b8,_0x288811):this[_0x682986(0x10c)](_0x288811,_0x9467b8);}[_0x3c4671(0x149)](_0x15e901,_0x52a499){const _0x35a63e=_0x3c4671;0x0===this[_0x35a63e(0x122)][_0x35a63e(0x142)]&&setTimeout(()=>{const _0x46a4ee=_0x35a63e;for(const {sidebarItemView:_0x19ceef,changedProp:_0x2c1a2f}of this[_0x46a4ee(0x122)])_0x46a4ee(0x10e)===_0x2c1a2f?this[_0x46a4ee(0x101)](_0x19ceef):this[_0x46a4ee(0x12b)](_0x19ceef);this[_0x46a4ee(0x122)]=[];},0xa),this[_0x35a63e(0x122)][_0x35a63e(0x132)]({'sidebarItemView':_0x15e901,'changedProp':_0x52a499});}[_0x3c4671(0x118)](_0x1bd394){const _0x18561a=_0x3c4671;return this[_0x18561a(0x138)][_0x18561a(0x14a)](_0x1bd394);}[_0x3c4671(0x10d)](){const _0x247ecc=_0x3c4671;this[_0x247ecc(0x119)](),this[_0x247ecc(0xf2)][_0x247ecc(0x10d)]();}[_0x3c4671(0x147)](_0x22911c){const _0x77ea86=_0x3c4671,_0x516c40=this[_0x77ea86(0x118)](_0x22911c);this[_0x77ea86(0x119)](_0x516c40),this[_0x77ea86(0x119)](_0x22911c[_0x77ea86(0xf2)]),_0x516c40[_0x77ea86(0x10d)](),this[_0x77ea86(0x138)][_0x77ea86(0x141)](_0x22911c),this[_0x77ea86(0x111)][_0x77ea86(0x141)](_0x516c40);}[_0x3c4671(0x131)](){const _0x28fe54=_0x3c4671,_0x37e861=new _0x2c44ae(this[_0x28fe54(0x123)][_0x28fe54(0x12e)]);return _0x37e861[_0x28fe54(0x128)](),this['on'](_0x28fe54(0x107),(_0x5040e2,_0x46564d,_0x4ea5b9,_0xf1c235)=>{const _0x2c33f3=_0x28fe54;_0xf1c235&&_0x37e861[_0x2c33f3(0xf9)](_0x2c33f3(0x11f)),_0x4ea5b9?_0x37e861[_0x2c33f3(0xfc)](_0x2c33f3(0x11f))['to'](_0x4ea5b9,_0x2c33f3(0x102)):_0x37e861[_0x2c33f3(0x11f)]=null;}),_0x37e861;}[_0x3c4671(0x106)](){const _0x9ddc03=_0x3c4671;this[_0x9ddc03(0x140)]=this[_0x9ddc03(0x12d)]?.[_0x9ddc03(0x100)]?this[_0x9ddc03(0x118)](this[_0x9ddc03(0x12d)][_0x9ddc03(0x100)]):null;}[_0x3c4671(0x14c)](_0x299e3e){const _0x4ab3de=_0x3c4671,_0x745e9a=this[_0x4ab3de(0x111)][_0x4ab3de(0x14a)](_0x299e3e),_0x5a1652=_0x745e9a&&this[_0x4ab3de(0x12d)]?.[_0x4ab3de(0x14a)](this[_0x4ab3de(0x12d)][_0x4ab3de(0x130)](_0x745e9a)-0x1);return _0x5a1652&&this[_0x4ab3de(0x118)](_0x5a1652)||null;}[_0x3c4671(0x113)](_0x204b4e){const _0x2500d5=_0x3c4671,_0x24a199=this[_0x2500d5(0x111)][_0x2500d5(0x14a)](_0x204b4e),_0x3a1474=_0x24a199&&this[_0x2500d5(0x12d)]?.[_0x2500d5(0x14a)](this[_0x2500d5(0x12d)][_0x2500d5(0x130)](_0x24a199)+0x1);return _0x3a1474&&this[_0x2500d5(0x118)](_0x3a1474)||null;}[_0x3c4671(0x13a)](_0x59b658,_0x2d295d){const _0x597054=_0x3c4671;_0x59b658[_0x597054(0x146)]();const _0x4b870b=G(_0x2d295d[_0x597054(0x102)]+this[_0x597054(0x124)],_0x59b658[_0x597054(0x10e)]);return!!_0x4b870b&&(this[_0x597054(0x134)](_0x2d295d,_0x2d295d[_0x597054(0x10e)]-_0x4b870b),!0x0);}[_0x3c4671(0x10c)](_0x7e62e1,_0xac41b7){const _0x4fcd6b=_0x3c4671;_0x7e62e1[_0x4fcd6b(0x146)]();const _0xa92408=G(_0x7e62e1[_0x4fcd6b(0x102)]+this[_0x4fcd6b(0x124)],_0xac41b7[_0x4fcd6b(0x10e)]);return!!_0xa92408&&(this[_0x4fcd6b(0x134)](_0xac41b7,_0xac41b7[_0x4fcd6b(0x10e)]+_0xa92408,!0x1),!0x0);}[_0x3c4671(0x12c)](_0x2d4fb1){const _0x49da8a=_0x3c4671,_0x574074=this[_0x49da8a(0x111)][_0x49da8a(0x14a)](_0x2d4fb1);if(!_0x574074||!_0x574074[_0x49da8a(0x129)]||!_0x574074[_0x49da8a(0x127)])return;const _0x21a42c=this[_0x49da8a(0x121)](_0x574074,_0x574074[_0x49da8a(0x127)]);this[_0x49da8a(0x134)](_0x2d4fb1,_0x21a42c);}[_0x3c4671(0x121)](_0x568e05,_0x3997a8){const _0xa159b8=_0x3c4671;if(null===_0x3997a8)return 0x0;if(_0x568e05[_0xa159b8(0x129)]instanceof _0x3e4de6)return _0x3997a8[_0xa159b8(0x10e)];{const _0x436921=new _0x3e4de6(this[_0xa159b8(0xf2)][_0xa159b8(0x145)])[_0xa159b8(0x10e)];return _0x3997a8[_0xa159b8(0x10e)]-_0x436921;}}[_0x3c4671(0x134)](_0x211939,_0x2d0f64,_0x1cb411=this[_0x3c4671(0x123)][_0x3c4671(0x109)][_0x3c4671(0x14a)](_0x3c4671(0x144))){const _0x2111b=_0x3c4671;_0x1cb411&&(_0x2d0f64=Math[_0x2111b(0xf5)](_0x2d0f64,this[_0x2111b(0xf8)](_0x211939))),_0x211939[_0x2111b(0x10e)]=_0x2d0f64;}[_0x3c4671(0xf8)](_0x85833d){const _0x477142=_0x3c4671;let _0xee6398=this[_0x477142(0x14c)](_0x85833d),_0x2d99cc=0x0;for(;_0xee6398;)_0xee6398[_0x477142(0x146)](),_0x2d99cc+=this[_0x477142(0x124)]+_0xee6398[_0x477142(0xf0)],_0xee6398=this[_0x477142(0x14c)](_0xee6398);return _0x2d99cc;}}function _0x5adf(){const _0x5f5a43=['37455mZuOjz','_getTargetTop','_recalculateBuffer','context','_spaceBetweenItems','2283570cVMcEb','pluginName','targetRect','render','target','remove','_alignForBottomChange','_alignToTargetRect','_annotations','locale','1295464srycOX','getIndex','_createSidebarView','push','change:top','_setItemTop','sidebar.container','10ahYMpO','content','_annotationToSidebarItemView','sidebar-attachtocontainer-missing-container','_alignBeforeItem','_targetTop','613KBMTzg','75705bfVKHC','isActive','isAnimationDisabled','_lastItem','delete','length','isPremiumPlugin','sidebar.preventScrollOutOfView','element','updateHeight','_destroySidebarItemView','add','_recalculate','get','rearrange','_getItemBefore','height','4512132klWjEf','view','addAnnotation','class','max','288MgEYLl','container','_getMaxAvailableTop','unbind','object','define','bind','listenTo','change:targetRect','set','last','_alignForTopChange','bottom','appendChild','_detachFromContainer','sidebar-setcontainer-invalid-element','_updateLastItem','change:_lastItem','12FIIzOz','config','refresh','init','_alignAfterItem','destroy','top','setContainer','_attachToContainer','_sidebarItemViewToAnnotation','_activeAnnotation','_getItemAfter','clear','1422wYWZVi','isOfficialPlugin','Sidebar','getSidebarItemView','stopListening','66388xQnlvy','change:bottom','list','87bCiZWY','nodeType','minHeight'];_0x5adf=function(){return _0x5f5a43;};return _0x5adf();}function _0x1df8(_0x31095e,_0x697fb1){const _0x5adf1b=_0x5adf();return _0x1df8=function(_0x1df88d,_0x1f303f){_0x1df88d=_0x1df88d-0xf0;let _0x2d17e8=_0x5adf1b[_0x1df88d];return _0x2d17e8;},_0x1df8(_0x31095e,_0x697fb1);}function G(_0x20a2ba,_0x20140){const _0x50bde9=_0x3c4671;return Math[_0x50bde9(0xf5)](_0x20a2ba-_0x20140,0x0);}function g(_0x3237f9){const _0x3edc6f=_0x3c4671;return null!==_0x3237f9&&_0x3edc6f(0xfa)==typeof _0x3237f9&&0x1===_0x3237f9[_0x3edc6f(0x11e)];}
|
|
23
|
+
const _0x1e5242=_0x43ea;function _0x2348(){const _0x26fc5f=['isActive','config','nodeType','_destroySidebarItemView','_alignForBottomChange','bind','setContainer','get','_alignBeforeItem','destroy','clear','delete','change:_lastItem','push','_updateLastItem','1dJMQZN','minHeight','_detachFromContainer','_alignAfterItem','sidebar-setcontainer-invalid-element','unbind','602lrVJuG','list','_annotations','class','_attachToContainer','view','_getTargetTop','refresh','_spaceBetweenItems','isAnimationDisabled','targetRect','content','8YUKNwj','object','1144326yyJIWR','_recalculate','stopListening','render','addAnnotation','change:top','bottom','listenTo','change:targetRect','_recalculateBuffer','_activeAnnotation','59240IQPfSC','_createSidebarView','578700dEtOIJ','pluginName','sidebar.container','sidebar.preventScrollOutOfView','set','sidebar-attachtocontainer-missing-container','rearrange','776915WaFzVv','locale','init','10452lBHIvn','appendChild','target','2629lqGcJR','_sidebarItemViewToAnnotation','top','change:bottom','1083351YsgOoi','30YavdCc','element','length','container','_alignToTargetRect','_lastItem','_setItemTop','_annotationToSidebarItemView','_targetTop','max','_getItemBefore','updateHeight','isOfficialPlugin','getIndex','add','last','_getMaxAvailableTop','remove','define','height','context','Sidebar','getSidebarItemView','_alignForTopChange','_getItemAfter','1066374AZdGIS','isPremiumPlugin'];_0x2348=function(){return _0x26fc5f;};return _0x2348();}(function(_0x3df856,_0x158298){const _0x2e9c77=_0x43ea,_0x463b34=_0x3df856();while(!![]){try{const _0x43cf89=-parseInt(_0x2e9c77(0xd0))/0x1*(-parseInt(_0x2e9c77(0x87))/0x2)+-parseInt(_0x2e9c77(0xa5))/0x3+parseInt(_0x2e9c77(0x85))/0x4*(parseInt(_0x2e9c77(0x9b))/0x5)+-parseInt(_0x2e9c77(0x94))/0x6+-parseInt(_0x2e9c77(0xd6))/0x7*(parseInt(_0x2e9c77(0x92))/0x8)+-parseInt(_0x2e9c77(0xbf))/0x9*(-parseInt(_0x2e9c77(0xa6))/0xa)+-parseInt(_0x2e9c77(0xa1))/0xb*(-parseInt(_0x2e9c77(0x9e))/0xc);if(_0x43cf89===_0x158298)break;else _0x463b34['push'](_0x463b34['shift']());}catch(_0x50dfe0){_0x463b34['push'](_0x463b34['shift']());}}}(_0x2348,0x55f9f));import{ContextPlugin as _0x108796}from'ckeditor5/src/core.js';import{Rect as _0x3cf8aa,CKEditorError as _0x2ce338}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x2f762c}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x35ce74}from'./view/sidebaritemview.js';export class Sidebar extends _0x108796{[_0x1e5242(0xdb)];[_0x1e5242(0x91)];[_0x1e5242(0xd8)];[_0x1e5242(0x81)];[_0x1e5242(0xa2)];[_0x1e5242(0xad)];[_0x1e5242(0x90)];static get[_0x1e5242(0x95)](){const _0x1659b5=_0x1e5242;return _0x1659b5(0xbb);}static get[_0x1e5242(0xb2)](){return!0x0;}static get[_0x1e5242(0xc0)](){return!0x0;}constructor(_0x5c498c){const _0x22df61=_0x1e5242;super(_0x5c498c),this[_0x22df61(0x98)](_0x22df61(0xab),void 0x0),this[_0x22df61(0xdb)]=this[_0x22df61(0x93)](),this[_0x22df61(0x98)](_0x22df61(0xa9),null),this[_0x22df61(0x81)]=0x19,this[_0x22df61(0xa2)]=new Map(),this[_0x22df61(0xad)]=new Map(),this[_0x22df61(0xba)][_0x22df61(0xc2)][_0x22df61(0xb8)](_0x22df61(0x97),!0x1),this[_0x22df61(0xd8)]=null,this[_0x22df61(0x91)]=null,this[_0x22df61(0x90)]=[];}[_0x1e5242(0x9d)](){const _0x545db2=_0x1e5242,_0xd5efe2=this[_0x545db2(0xba)][_0x545db2(0xc2)][_0x545db2(0xc8)](_0x545db2(0x96));_0xd5efe2&&this[_0x545db2(0xc7)](_0xd5efe2);}[_0x1e5242(0xc7)](_0xf422f6){const _0x251f10=_0x1e5242;if(!g(_0xf422f6))throw new _0x2ce338(_0x251f10(0xd4));this[_0x251f10(0xa9)]=_0xf422f6;}[_0x1e5242(0xda)]({viewClass:_0x26c9c4='',spaceBetweenItems:_0x2d4f85=0x19}={}){const _0x2dea31=_0x1e5242;if(!g(this[_0x2dea31(0xa9)]))throw new _0x2ce338(_0x2dea31(0x99),this);this[_0x2dea31(0xa9)][_0x2dea31(0x9f)](this[_0x2dea31(0xdb)][_0x2dea31(0xa7)]),this[_0x2dea31(0xdb)][_0x2dea31(0xd9)]=_0x26c9c4,this[_0x2dea31(0x81)]=_0x2d4f85;}[_0x1e5242(0x9a)]({removedAnnotation:_0x519ad2,previousAnnotation:_0x177cbc,nextAnnotation:_0x207879}){const _0x59b61a=_0x1e5242,_0xc18e63=this[_0x59b61a(0xbc)](_0x519ad2);this[_0x59b61a(0xdb)][_0x59b61a(0xd7)][_0x59b61a(0xb7)](_0xc18e63),this[_0x59b61a(0xc4)](_0x519ad2),_0x177cbc&&this[_0x59b61a(0xaa)](this[_0x59b61a(0xbc)](_0x177cbc)),_0x207879&&this[_0x59b61a(0xaa)](this[_0x59b61a(0xbc)](_0x207879)),this[_0x59b61a(0xcf)]();}[_0x1e5242(0x80)]({blurredAnnotation:_0x499732,activatedAnnotation:_0xeb4aab,disableAnimationOnActivatedAnnotation:_0x34442f}){const _0x1c2e83=_0x1e5242;if(this[_0x1c2e83(0x91)]=_0xeb4aab,_0x499732){_0x499732[_0x1c2e83(0xc1)]=!0x1;const _0x4601e0=this[_0x1c2e83(0xbc)](_0x499732);_0x4601e0&&_0x34442f&&(_0x4601e0[_0x1c2e83(0x82)]=!0x1);}if(_0xeb4aab){const _0x1fbb30=this[_0x1c2e83(0xbc)](_0xeb4aab);_0x1fbb30&&(_0xeb4aab[_0x1c2e83(0xc1)]=!0x0,_0x34442f&&(_0x1fbb30[_0x1c2e83(0x82)]=!0x0,_0x1fbb30[_0x1c2e83(0xa3)]+=0x1),this[_0x1c2e83(0xaa)](_0x1fbb30));}}[_0x1e5242(0xd2)](_0x350993){const _0x5d0b61=_0x1e5242;if(this[_0x5d0b61(0xdb)][_0x5d0b61(0xa7)][_0x5d0b61(0xb7)](),_0x350993){for(const _0x81fca7 of _0x350993)this[_0x5d0b61(0xc4)](_0x81fca7);}this[_0x5d0b61(0xdb)][_0x5d0b61(0xd7)][_0x5d0b61(0xcb)](),this[_0x5d0b61(0xdb)][_0x5d0b61(0xd9)]='',this[_0x5d0b61(0xab)]=null;}[_0x1e5242(0x8b)](_0x2b0133,_0x360eb2){const _0x5dc302=_0x1e5242;_0x360eb2||(_0x360eb2=_0x2b0133[_0x5dc302(0xdb)]);const _0x479628=new _0x35ce74(this[_0x5dc302(0xba)][_0x5dc302(0x9c)]);this[_0x5dc302(0xa2)][_0x5dc302(0x98)](_0x479628,_0x2b0133),this[_0x5dc302(0xad)][_0x5dc302(0x98)](_0x2b0133,_0x479628),_0x479628[_0x5dc302(0x84)][_0x5dc302(0xb4)](_0x360eb2),this[_0x5dc302(0x8e)](_0x2b0133[_0x5dc302(0xdb)],_0x5dc302(0x8f),(_0x3da6cf,_0x2e69ee,_0xa693c7)=>{const _0x302d62=_0x5dc302,_0x1648e7=this[_0x302d62(0xdc)](_0x2b0133,_0xa693c7);_0x479628[_0x302d62(0xae)]!=_0x1648e7&&(_0x479628[_0x302d62(0xae)]=_0x1648e7,this[_0x302d62(0xac)](_0x479628,_0x1648e7));}),this[_0x5dc302(0x8e)](_0x479628,_0x5dc302(0x8c),()=>{const _0x53c3b5=_0x5dc302;this[_0x53c3b5(0x88)](_0x479628,_0x53c3b5(0xa3));}),this[_0x5dc302(0x8e)](_0x479628,_0x5dc302(0xa4),()=>{const _0x455528=_0x5dc302;this[_0x455528(0x88)](_0x479628,_0x455528(0x8d));}),this[_0x5dc302(0xaa)](_0x479628);const _0x3b69ae=this[_0x5dc302(0xb0)](_0x479628);if(_0x3b69ae)this[_0x5dc302(0xd3)](_0x3b69ae,_0x479628)||this[_0x5dc302(0xaa)](_0x479628);else this[_0x5dc302(0xaa)](_0x479628);return this[_0x5dc302(0xcf)](),this[_0x5dc302(0xdb)][_0x5dc302(0xd7)][_0x5dc302(0xb4)](_0x479628),_0x479628;}[_0x1e5242(0xbd)](_0x23dc4e){const _0x1acc6e=_0x1e5242;if(!_0x23dc4e[_0x1acc6e(0x84)][_0x1acc6e(0xa8)])return;const _0x59d31b=this[_0x1acc6e(0xb0)](_0x23dc4e);if(!_0x59d31b)return;const _0x36ca29=this[_0x1acc6e(0xa2)][_0x1acc6e(0xc8)](_0x59d31b),_0x95638b=this[_0x1acc6e(0x91)];_0x95638b&&_0x95638b===_0x36ca29?this[_0x1acc6e(0xd3)](_0x59d31b,_0x23dc4e):this[_0x1acc6e(0xc9)](_0x23dc4e,_0x59d31b);}[_0x1e5242(0xc5)](_0x3d7521){const _0x35d572=_0x1e5242;if(!_0x3d7521[_0x35d572(0x84)][_0x35d572(0xa8)])return;const _0x3e1fd0=this[_0x35d572(0xbe)](_0x3d7521);if(!_0x3e1fd0)return;const _0x8e0eb6=this[_0x35d572(0xa2)][_0x35d572(0xc8)](_0x3e1fd0),_0x38b19f=this[_0x35d572(0xba)][_0x35d572(0xc2)][_0x35d572(0xc8)](_0x35d572(0x97)),_0x2da497=this[_0x35d572(0x91)];_0x2da497&&_0x2da497===_0x8e0eb6&&_0x38b19f?(this[_0x35d572(0xc9)](_0x3e1fd0,_0x3d7521),this[_0x35d572(0xd3)](_0x3d7521,_0x3e1fd0)):_0x2da497&&_0x2da497===_0x8e0eb6?this[_0x35d572(0xc9)](_0x3e1fd0,_0x3d7521):this[_0x35d572(0xd3)](_0x3d7521,_0x3e1fd0);}[_0x1e5242(0x88)](_0x440321,_0x205ba7){const _0x4b37be=_0x1e5242;0x0===this[_0x4b37be(0x90)][_0x4b37be(0xa8)]&&setTimeout(()=>{const _0x30aaa8=_0x4b37be;for(const {sidebarItemView:_0x3eac08,changedProp:_0x4b74e3}of this[_0x30aaa8(0x90)])_0x30aaa8(0xa3)===_0x4b74e3?this[_0x30aaa8(0xbd)](_0x3eac08):this[_0x30aaa8(0xc5)](_0x3eac08);this[_0x30aaa8(0x90)]=[];},0xa),this[_0x4b37be(0x90)][_0x4b37be(0xce)]({'sidebarItemView':_0x440321,'changedProp':_0x205ba7});}[_0x1e5242(0xbc)](_0x215a9a){const _0xe5b3bc=_0x1e5242;return this[_0xe5b3bc(0xad)][_0xe5b3bc(0xc8)](_0x215a9a);}[_0x1e5242(0xca)](){const _0x5f55bb=_0x1e5242;this[_0x5f55bb(0x89)](),this[_0x5f55bb(0xdb)][_0x5f55bb(0xca)]();}[_0x1e5242(0xc4)](_0x5c9fd0){const _0x4a05a7=_0x1e5242,_0x221e7b=this[_0x4a05a7(0xbc)](_0x5c9fd0);this[_0x4a05a7(0x89)](_0x221e7b),this[_0x4a05a7(0x89)](_0x5c9fd0[_0x4a05a7(0xdb)]),_0x221e7b[_0x4a05a7(0xca)](),this[_0x4a05a7(0xad)][_0x4a05a7(0xcc)](_0x5c9fd0),this[_0x4a05a7(0xa2)][_0x4a05a7(0xcc)](_0x221e7b);}[_0x1e5242(0x93)](){const _0x2163aa=_0x1e5242,_0x5190e9=new _0x2f762c(this[_0x2163aa(0xba)][_0x2163aa(0x9c)]);return _0x5190e9[_0x2163aa(0x8a)](),this['on'](_0x2163aa(0xcd),(_0x5cfb76,_0x4a1cdf,_0x4c821e,_0x4387cd)=>{const _0x4f7ca0=_0x2163aa;_0x4387cd&&_0x5190e9[_0x4f7ca0(0xd5)](_0x4f7ca0(0xd1)),_0x4c821e?_0x5190e9[_0x4f7ca0(0xc6)](_0x4f7ca0(0xd1))['to'](_0x4c821e,_0x4f7ca0(0x8d)):_0x5190e9[_0x4f7ca0(0xd1)]=null;}),_0x5190e9;}[_0x1e5242(0xcf)](){const _0xb7764b=_0x1e5242;this[_0xb7764b(0xab)]=this[_0xb7764b(0xd8)]?.[_0xb7764b(0xb5)]?this[_0xb7764b(0xbc)](this[_0xb7764b(0xd8)][_0xb7764b(0xb5)]):null;}[_0x1e5242(0xb0)](_0x6b86a){const _0x1cd98f=_0x1e5242,_0x394f40=this[_0x1cd98f(0xa2)][_0x1cd98f(0xc8)](_0x6b86a),_0x508389=_0x394f40&&this[_0x1cd98f(0xd8)]?.[_0x1cd98f(0xc8)](this[_0x1cd98f(0xd8)][_0x1cd98f(0xb3)](_0x394f40)-0x1);return _0x508389&&this[_0x1cd98f(0xbc)](_0x508389)||null;}[_0x1e5242(0xbe)](_0x5a8865){const _0x280910=_0x1e5242,_0x5b938d=this[_0x280910(0xa2)][_0x280910(0xc8)](_0x5a8865),_0x137178=_0x5b938d&&this[_0x280910(0xd8)]?.[_0x280910(0xc8)](this[_0x280910(0xd8)][_0x280910(0xb3)](_0x5b938d)+0x1);return _0x137178&&this[_0x280910(0xbc)](_0x137178)||null;}[_0x1e5242(0xc9)](_0x10dd75,_0x5e38b4){const _0x4a143f=_0x1e5242;_0x10dd75[_0x4a143f(0xb1)]();const _0x2c10b0=G(_0x5e38b4[_0x4a143f(0x8d)]+this[_0x4a143f(0x81)],_0x10dd75[_0x4a143f(0xa3)]);return!!_0x2c10b0&&(this[_0x4a143f(0xac)](_0x5e38b4,_0x5e38b4[_0x4a143f(0xa3)]-_0x2c10b0),!0x0);}[_0x1e5242(0xd3)](_0x596be5,_0x597641){const _0x22bc46=_0x1e5242;_0x596be5[_0x22bc46(0xb1)]();const _0x2b4899=G(_0x596be5[_0x22bc46(0x8d)]+this[_0x22bc46(0x81)],_0x597641[_0x22bc46(0xa3)]);return!!_0x2b4899&&(this[_0x22bc46(0xac)](_0x597641,_0x597641[_0x22bc46(0xa3)]+_0x2b4899,!0x1),!0x0);}[_0x1e5242(0xaa)](_0x56b102){const _0x6397b8=_0x1e5242,_0x5e375f=this[_0x6397b8(0xa2)][_0x6397b8(0xc8)](_0x56b102);if(!_0x5e375f||!_0x5e375f[_0x6397b8(0xa0)]||!_0x5e375f[_0x6397b8(0x83)])return;const _0x1bd1b4=this[_0x6397b8(0xdc)](_0x5e375f,_0x5e375f[_0x6397b8(0x83)]);this[_0x6397b8(0xac)](_0x56b102,_0x1bd1b4);}[_0x1e5242(0xdc)](_0x449e0d,_0x1c3812){const _0x1d5c9a=_0x1e5242;if(null===_0x1c3812)return 0x0;if(_0x449e0d[_0x1d5c9a(0xa0)]instanceof _0x3cf8aa)return _0x1c3812[_0x1d5c9a(0xa3)];{const _0x592baf=new _0x3cf8aa(this[_0x1d5c9a(0xdb)][_0x1d5c9a(0xa7)])[_0x1d5c9a(0xa3)];return _0x1c3812[_0x1d5c9a(0xa3)]-_0x592baf;}}[_0x1e5242(0xac)](_0x4d7dbc,_0x423429,_0x56836d=this[_0x1e5242(0xba)][_0x1e5242(0xc2)][_0x1e5242(0xc8)](_0x1e5242(0x97))){const _0x469f68=_0x1e5242;_0x56836d&&(_0x423429=Math[_0x469f68(0xaf)](_0x423429,this[_0x469f68(0xb6)](_0x4d7dbc))),_0x4d7dbc[_0x469f68(0xa3)]=_0x423429;}[_0x1e5242(0xb6)](_0x2fffa3){const _0x1e6633=_0x1e5242;let _0x389775=this[_0x1e6633(0xb0)](_0x2fffa3),_0x1581d0=0x0;for(;_0x389775;)_0x389775[_0x1e6633(0xb1)](),_0x1581d0+=this[_0x1e6633(0x81)]+_0x389775[_0x1e6633(0xb9)],_0x389775=this[_0x1e6633(0xb0)](_0x389775);return _0x1581d0;}}function _0x43ea(_0x41eb1f,_0x59c067){const _0x234890=_0x2348();return _0x43ea=function(_0x43ea47,_0x4575fa){_0x43ea47=_0x43ea47-0x80;let _0x447c76=_0x234890[_0x43ea47];return _0x447c76;},_0x43ea(_0x41eb1f,_0x59c067);}function G(_0x1e05bc,_0x2298ff){const _0x2740b0=_0x1e5242;return Math[_0x2740b0(0xaf)](_0x1e05bc-_0x2298ff,0x0);}function g(_0x3ea9ad){const _0xf7e36c=_0x1e5242;return null!==_0x3ea9ad&&_0xf7e36c(0x86)==typeof _0x3ea9ad&&0x1===_0x3ea9ad[_0xf7e36c(0xc3)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x39ee03=_0x4794;(function(_0x576d4c,_0x558604){const _0x475d3e=_0x4794,_0x3dc24a=_0x576d4c();while(!![]){try{const _0x18766a=-parseInt(_0x475d3e(0x180))/0x1+parseInt(_0x475d3e(0x178))/0x2*(-parseInt(_0x475d3e(0x175))/0x3)+-parseInt(_0x475d3e(0x171))/0x4+parseInt(_0x475d3e(0x174))/0x5*(-parseInt(_0x475d3e(0x18a))/0x6)+-parseInt(_0x475d3e(0x182))/0x7*(-parseInt(_0x475d3e(0x17d))/0x8)+-parseInt(_0x475d3e(0x172))/0x9+parseInt(_0x475d3e(0x184))/0xa;if(_0x18766a===_0x558604)break;else _0x3dc24a['push'](_0x3dc24a['shift']());}catch(_0x4cd274){_0x3dc24a['push'](_0x3dc24a['shift']());}}}(_0x91f9,0xc88ba));function _0x91f9(){const _0x1807ca=['3318476fkogvs','13738437dciJUh','isDirty','23950EeeGSh','30657Qgwqza','counterView','setTemplate','92uskibU','_badge','ck-annotation-counter__badge','...','span','53320gFQPoy','extendTemplate','icon','1248807VorOTm','add','77VfFAwP','annotationType','51200920glHHyv','toString','ck-annotation-counter__badge--','children','number','bindTemplate','372PdNjSi','set','ck-annotation-counter__badge--edit-mode','bind','ck-annotation-counter'];_0x91f9=function(){return _0x1807ca;};return _0x91f9();}import{ButtonView as _0x3ac2ce,View as _0x2a1196}from'ckeditor5/src/ui.js';function _0x4794(_0x10ea45,_0x3f0f3d){const _0x91f96c=_0x91f9();return _0x4794=function(_0x479476,_0x475571){_0x479476=_0x479476-0x171;let _0x40699a=_0x91f96c[_0x479476];return _0x40699a;},_0x4794(_0x10ea45,_0x3f0f3d);}import{IconAddComment as _0xde4a78}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x3ac2ce{[_0x39ee03(0x176)];constructor(_0x20192a){const _0x331e40=_0x39ee03;super(_0x20192a);const _0x3c889d=this[_0x331e40(0x189)];this[_0x331e40(0x18b)](_0x331e40(0x173),!0x1),this[_0x331e40(0x18b)](_0x331e40(0x188),0x0),this[_0x331e40(0x18d)](_0x331e40(0x179))['to'](this,_0x331e40(0x173),this,_0x331e40(0x188),(_0x252684,_0x570576)=>_0x252684?_0x331e40(0x17b):_0x570576[_0x331e40(0x185)]()),this[_0x331e40(0x18b)](_0x331e40(0x183),''),this[_0x331e40(0x17f)]=_0xde4a78,this[_0x331e40(0x17e)]({'attributes':{'class':[_0x331e40(0x18e)]}}),this[_0x331e40(0x176)]=new _0x2a1196(),this[_0x331e40(0x176)][_0x331e40(0x177)]({'tag':_0x331e40(0x17c),'attributes':{'class':[_0x331e40(0x17a),_0x3c889d['to'](_0x331e40(0x183),_0x3e7585=>_0x331e40(0x186)+_0x3e7585),_0x3c889d['if'](_0x331e40(0x173),_0x331e40(0x18c))]},'children':[{'text':_0x3c889d['to'](_0x331e40(0x179))}]}),this[_0x331e40(0x187)][_0x331e40(0x181)](this[_0x331e40(0x176)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x34e9(_0x493299,_0x3f35db){const _0x1614a7=_0x1614();return _0x34e9=function(_0x34e904,_0x3d6e13){_0x34e904=_0x34e904-0x125;let _0x37da32=_0x1614a7[_0x34e904];return _0x37da32;},_0x34e9(_0x493299,_0x3f35db);}const _0x550c73=_0x34e9;(function(_0x55b371,_0x3cd167){const _0x36684e=_0x34e9,_0x17b8cb=_0x55b371();while(!![]){try{const _0x195c96=parseInt(_0x36684e(0x12b))/0x1+parseInt(_0x36684e(0x13c))/0x2*(-parseInt(_0x36684e(0x127))/0x3)+-parseInt(_0x36684e(0x130))/0x4+-parseInt(_0x36684e(0x137))/0x5+-parseInt(_0x36684e(0x13f))/0x6+-parseInt(_0x36684e(0x13b))/0x7+parseInt(_0x36684e(0x133))/0x8;if(_0x195c96===_0x3cd167)break;else _0x17b8cb['push'](_0x17b8cb['shift']());}catch(_0x37a6e1){_0x17b8cb['push'](_0x17b8cb['shift']());}}}(_0x1614,0x932f0));function _0x1614(){const _0x594f21=['attach','ck-rounded-corners','5091468fBAMyx','createCollection','length','isDirty','bindTemplate','arrowdown','delegate','height','_mutationObserver','render','targetRect','Esc','content','listenTo','element','clientHeight','setTemplate','detach','add','keystrokes','set','3RDjUXe','fire','_updateHeight','focus','872612FoOmuE','div','isActive','first','arrowup','2895040WUGzzn','ck-annotation-wrapper--active','mainView','19474768eOZxHN','destroy','type','presentation','1301045HATyCc','ck-annotation-wrapper','focusTracker','clear','1480983yAJVCu','1319956PGXBaH'];_0x1614=function(){return _0x594f21;};return _0x1614();}import{View as _0x116e30}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1a723f,KeystrokeHandler as _0x852f41,uid as _0x14b603}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x9d4d5a}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x116e30{[_0x550c73(0x139)];['id'];[_0x550c73(0x125)];[_0x550c73(0x14b)];[_0x550c73(0x132)];[_0x550c73(0x147)];constructor(_0x199294,_0xb85271){const _0x340db1=_0x550c73;super(_0x199294),this['id']=_0x14b603(),this[_0x340db1(0x139)]=new _0x1a723f(),this[_0x340db1(0x125)]=new _0x852f41(),this[_0x340db1(0x125)][_0x340db1(0x126)](_0x340db1(0x14a),(_0x3dfda0,_0x1ccc24)=>this[_0x340db1(0x128)](_0x340db1(0x14a),_0x1ccc24)),this[_0x340db1(0x126)](_0x340db1(0x149),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x340db1(0x126)](_0x340db1(0x146),0x0),this[_0x340db1(0x126)](_0x340db1(0x12d),!0x1),this[_0x340db1(0x126)](_0x340db1(0x142),!0x1),this[_0x340db1(0x126)](_0x340db1(0x141),0x0),this[_0x340db1(0x126)](_0x340db1(0x135),''),this[_0x340db1(0x147)]=_0x9d4d5a(()=>this[_0x340db1(0x129)]()),this[_0x340db1(0x14b)]=this[_0x340db1(0x140)](),this[_0x340db1(0x14b)][_0x340db1(0x145)](_0x340db1(0x12f),_0x340db1(0x144))['to'](this),this[_0x340db1(0x14b)][_0x340db1(0x151)](_0xb85271),this[_0x340db1(0x132)]=_0xb85271;const _0x3e4759=this[_0x340db1(0x143)];this[_0x340db1(0x14f)]({'tag':_0x340db1(0x12c),'attributes':{'class':['ck',_0x340db1(0x138),_0x340db1(0x13e),_0x3e4759['if'](_0x340db1(0x12d),_0x340db1(0x131))],'role':_0x340db1(0x136)},'children':this[_0x340db1(0x14b)]});}[_0x550c73(0x148)](){const _0xd30c93=_0x550c73;super[_0xd30c93(0x148)](),this[_0xd30c93(0x139)][_0xd30c93(0x151)](this[_0xd30c93(0x14d)]),this[_0xd30c93(0x125)][_0xd30c93(0x14c)](this[_0xd30c93(0x14d)]),this[_0xd30c93(0x147)][_0xd30c93(0x13d)](this[_0xd30c93(0x14d)]);}[_0x550c73(0x134)](){const _0x5b880c=_0x550c73;this[_0x5b880c(0x14b)][_0x5b880c(0x13a)](),this[_0x5b880c(0x125)][_0x5b880c(0x134)](),this[_0x5b880c(0x139)][_0x5b880c(0x134)](),this[_0x5b880c(0x147)][_0x5b880c(0x150)](),super[_0x5b880c(0x134)]();}[_0x550c73(0x12a)](){const _0x189618=_0x550c73;this[_0x189618(0x14b)][_0x189618(0x12e)]&&this[_0x189618(0x14b)][_0x189618(0x12e)][_0x189618(0x12a)]();}[_0x550c73(0x129)](){const _0x2f9e00=_0x550c73,_0x51c6cb=this[_0x2f9e00(0x14d)][_0x2f9e00(0x14e)];_0x51c6cb&&(this[_0x2f9e00(0x146)]=_0x51c6cb);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0xd6ca(){const _0x5e8f69=['bindTemplate','2SwAJrj','updateHeight','render','content','ck-sidebar-item','clientHeight','clear','destroy','top','18120cmBaWL','element','_mutationObserver','1799MpmRxv','_targetTop','4wykCOD','presentation','13217268bLzFqN','bottom','9712sFVRqN','div','10vNRCjp','395160CYafdu','90bSiwVR','ck-sidebar-item--no-animation','first','detach','1806885JQIDyb','setTemplate','height','delegate','isAnimationDisabled','arrowup','2085743eaFOHf','bind','set','createCollection','attach','1955166fHdGnP','focus','arrowdown'];_0xd6ca=function(){return _0x5e8f69;};return _0xd6ca();}const _0x13fc5d=_0x3683;(function(_0x2b9e0a,_0xe96d70){const _0x10d811=_0x3683,_0x46a73f=_0x2b9e0a();while(!![]){try{const _0x1a0567=-parseInt(_0x10d811(0xa6))/0x1*(parseInt(_0x10d811(0xba))/0x2)+-parseInt(_0x10d811(0xb6))/0x3*(-parseInt(_0x10d811(0xc8))/0x4)+-parseInt(_0x10d811(0xab))/0x5+parseInt(_0x10d811(0xc3))/0x6*(-parseInt(_0x10d811(0xc6))/0x7)+parseInt(_0x10d811(0xa3))/0x8*(-parseInt(_0x10d811(0xa7))/0x9)+parseInt(_0x10d811(0xa5))/0xa*(parseInt(_0x10d811(0xb1))/0xb)+parseInt(_0x10d811(0xca))/0xc;if(_0x1a0567===_0xe96d70)break;else _0x46a73f['push'](_0x46a73f['shift']());}catch(_0xa2a208){_0x46a73f['push'](_0x46a73f['shift']());}}}(_0xd6ca,0x61285));import{View as _0x3e40d7}from'ckeditor5/src/ui.js';function _0x3683(_0xb5f9ff,_0x12a099){const _0xd6ca3=_0xd6ca();return _0x3683=function(_0x3683dd,_0x237ba2){_0x3683dd=_0x3683dd-0xa3;let _0x456be9=_0xd6ca3[_0x3683dd];return _0x456be9;},_0x3683(_0xb5f9ff,_0x12a099);}import{toUnit as _0x3b0525}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x3cb0ab}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3b0525('px');export class AnnotationsSidebarItemView extends _0x3e40d7{[_0x13fc5d(0xbd)];[_0x13fc5d(0xc7)];[_0x13fc5d(0xc5)];constructor(_0x5c02a3){const _0x22ad44=_0x13fc5d;super(_0x5c02a3),this[_0x22ad44(0xb3)](_0x22ad44(0xc2),0x0),this[_0x22ad44(0xb3)](_0x22ad44(0xad),0x0),this[_0x22ad44(0xb2)](_0x22ad44(0xcb))['to'](this,_0x22ad44(0xc2),this,_0x22ad44(0xad),(_0x28413b,_0x55cbd1)=>_0x28413b+_0x55cbd1),this[_0x22ad44(0xb3)](_0x22ad44(0xaf),!0x1),this[_0x22ad44(0xc5)]=_0x3cb0ab(()=>this[_0x22ad44(0xbb)]()),this[_0x22ad44(0xc7)]=null,this[_0x22ad44(0xbd)]=this[_0x22ad44(0xb4)](),this[_0x22ad44(0xbd)][_0x22ad44(0xae)](_0x22ad44(0xb0),_0x22ad44(0xb8))['to'](this);const _0x22461e=this[_0x22ad44(0xb9)];this[_0x22ad44(0xac)]({'tag':_0x22ad44(0xa4),'attributes':{'class':[_0x22ad44(0xbe),_0x22461e['to'](_0x22ad44(0xaf),_0x4d5325=>_0x4d5325?_0x22ad44(0xa8):'')],'style':{'top':_0x22461e['to'](_0x22ad44(0xc2),_0x4e4060=>Ot(_0x4e4060))},'role':_0x22ad44(0xc9)},'children':this[_0x22ad44(0xbd)]});}[_0x13fc5d(0xbc)](){const _0x286e93=_0x13fc5d;super[_0x286e93(0xbc)](),this[_0x286e93(0xc5)][_0x286e93(0xb5)](this[_0x286e93(0xc4)]);}[_0x13fc5d(0xb7)](){const _0x3785bf=_0x13fc5d;this[_0x3785bf(0xbd)][_0x3785bf(0xa9)]&&this[_0x3785bf(0xbd)][_0x3785bf(0xa9)][_0x3785bf(0xb7)]();}[_0x13fc5d(0xbb)](){const _0x3200df=_0x13fc5d,_0x3bc76e=this[_0x3200df(0xc4)][_0x3200df(0xbf)];_0x3bc76e&&(this[_0x3200df(0xad)]=_0x3bc76e);}[_0x13fc5d(0xc1)](){const _0x11ac1b=_0x13fc5d;this[_0x11ac1b(0xbd)][_0x11ac1b(0xc0)](),this[_0x11ac1b(0xc5)][_0x11ac1b(0xaa)](),super[_0x11ac1b(0xc1)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x43c3(_0x2f7981,_0x4077eb){const _0x114ee4=_0x114e();return _0x43c3=function(_0x43c361,_0x44c8fb){_0x43c361=_0x43c361-0x8a;let _0x17b3fc=_0x114ee4[_0x43c361];return _0x17b3fc;},_0x43c3(_0x2f7981,_0x4077eb);}const _0x58ca48=_0x43c3;(function(_0x484531,_0xc4e3da){const _0x264d2e=_0x43c3,_0x5aa7b7=_0x484531();while(!![]){try{const _0x2a57af=-parseInt(_0x264d2e(0x8e))/0x1*(-parseInt(_0x264d2e(0xa8))/0x2)+-parseInt(_0x264d2e(0x93))/0x3+parseInt(_0x264d2e(0x9b))/0x4*(-parseInt(_0x264d2e(0xbd))/0x5)+-parseInt(_0x264d2e(0xbb))/0x6+-parseInt(_0x264d2e(0x9e))/0x7*(parseInt(_0x264d2e(0xa2))/0x8)+-parseInt(_0x264d2e(0xb6))/0x9*(parseInt(_0x264d2e(0x9c))/0xa)+parseInt(_0x264d2e(0xab))/0xb;if(_0x2a57af===_0xc4e3da)break;else _0x5aa7b7['push'](_0x5aa7b7['shift']());}catch(_0x17555a){_0x5aa7b7['push'](_0x5aa7b7['shift']());}}}(_0x114e,0xf14f8));import{View as _0x15a87f,FocusCycler as _0x18c8e6}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3ece41,toUnit as _0x179a27}from'ckeditor5/src/utils.js';import{getTranslation as _0x527957}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';function _0x114e(){const _0x39e4f8=['set','16959591awSbAG','render','remove','Annotations\x20sidebar','getIndex','9412428GScnjg','forEach','10HBlTZF','focusPrevious','number','delegate','length','785159gwxEhK','change:top','added','element','source','3599409WhXDgc','setTemplate','ck-sidebar','Annotations\x20list','focusFirst','focusNext','div','add','379352nbMDZP','10OYuulC','_updateItemPositionInFocusables','791JEQrMp','minHeight','change','focus','31424zBkJuu','top','listenTo','class','removed','uiLanguageDirection','4tUSbId','ck-reset','arrowup','51750270MThQgd','createCollection','arrowdown','focusCycler','_setupKeyboardNavigation','application','list','focusables','focusTracker','bindTemplate'];_0x114e=function(){return _0x39e4f8;};return _0x114e();}const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x179a27('px');export class AnnotationsSidebarView extends _0x15a87f{[_0x58ca48(0xb1)];[_0x58ca48(0xb2)];[_0x58ca48(0xb3)];[_0x58ca48(0xae)];constructor(_0x1c9945){const _0x371a3f=_0x58ca48;super(_0x1c9945);const _0x14fb49=this[_0x371a3f(0xb4)];this[_0x371a3f(0xb5)](_0x371a3f(0x9f),0x0),this[_0x371a3f(0xb5)](_0x371a3f(0xa5),''),this[_0x371a3f(0xb1)]=this[_0x371a3f(0xac)](),this[_0x371a3f(0xb2)]=this[_0x371a3f(0xac)](),this[_0x371a3f(0xb1)][_0x371a3f(0x8c)](_0x371a3f(0xaa),_0x371a3f(0xad))['to'](this),this[_0x371a3f(0xb3)]=new _0x3ece41(),this[_0x371a3f(0xae)]=new _0x18c8e6({'focusables':this[_0x371a3f(0xb2)],'focusTracker':this[_0x371a3f(0xb3)]}),this[_0x371a3f(0x94)]({'tag':_0x371a3f(0x99),'attributes':{'class':['ck',_0x371a3f(0x95),_0x371a3f(0xa9),_0x14fb49['to'](_0x371a3f(0xa5))],'style':{'minHeight':_0x14fb49['to'](_0x371a3f(0x9f),_0x2a16e7=>_0x371a3f(0x8b)==typeof _0x2a16e7?Ot(_0x2a16e7+0xa):null)},'dir':_0x1c9945[_0x371a3f(0xa7)],'role':_0x371a3f(0xb0),'aria-label':_0x527957(_0x1c9945,_0x371a3f(0xb9)),'tabindex':0x0},'children':[{'tag':_0x371a3f(0x99),'attributes':{'role':_0x371a3f(0xb1),'aria-label':_0x527957(_0x1c9945,_0x371a3f(0x96))},'children':this[_0x371a3f(0xb1)]}]});}[_0x58ca48(0xb7)](){const _0x215510=_0x58ca48;super[_0x215510(0xb7)](),this[_0x215510(0xaf)]();}[_0x58ca48(0xa1)](){const _0x5ae25d=_0x58ca48;this[_0x5ae25d(0xae)][_0x5ae25d(0x97)]();}[_0x58ca48(0xaf)](){const _0x2cd077=_0x58ca48;this[_0x2cd077(0xb1)][_0x2cd077(0x8c)](_0x2cd077(0x8f))['to'](this),this['on'](_0x2cd077(0x8f),_0x2b9a24=>{const _0x34bfa1=_0x2cd077;this[_0x34bfa1(0x9d)](_0x2b9a24[_0x34bfa1(0x92)]);}),this[_0x2cd077(0xb1)][_0x2cd077(0xbc)](_0x22d37e=>{const _0x4c52dd=_0x2cd077;this[_0x4c52dd(0xb3)][_0x4c52dd(0x9a)](_0x22d37e[_0x4c52dd(0x91)]),this[_0x4c52dd(0x9d)](_0x22d37e);}),this[_0x2cd077(0xb1)]['on'](_0x2cd077(0xa0),(_0x20df2f,_0x163881)=>{const _0x3a29b5=_0x2cd077;for(const _0x13478f of _0x163881[_0x3a29b5(0xa6)])this[_0x3a29b5(0xb3)][_0x3a29b5(0xb8)](_0x13478f[_0x3a29b5(0x91)]),this[_0x3a29b5(0xb2)][_0x3a29b5(0xb8)](_0x13478f);for(const _0x1d599a of _0x163881[_0x3a29b5(0x90)])this[_0x3a29b5(0xb3)][_0x3a29b5(0x9a)](_0x1d599a[_0x3a29b5(0x91)]),this[_0x3a29b5(0x9d)](_0x1d599a);}),this['on'](_0x2cd077(0xaa),()=>{const _0x5cc90d=_0x2cd077;this[_0x5cc90d(0xae)][_0x5cc90d(0x8a)]();}),this['on'](_0x2cd077(0xad),()=>{const _0x529603=_0x2cd077;this[_0x529603(0xae)][_0x529603(0x98)]();}),this[_0x2cd077(0xa4)](this[_0x2cd077(0x91)],_0x2cd077(0xa1),()=>{const _0x139f89=_0x2cd077;this[_0x139f89(0xa1)]();});}[_0x58ca48(0x9d)](_0x3a2ab6){const _0x1f18b6=_0x58ca48,_0xf1d939=this[_0x1f18b6(0xb2)][_0x1f18b6(0xba)](_0x3a2ab6);let _0x5a6ff2,_0x1921a4;for(const _0xfcf843 of this[_0x1f18b6(0xb2)])if(_0x3a2ab6[_0x1f18b6(0xa3)]<_0xfcf843[_0x1f18b6(0xa3)]){_0x5a6ff2=_0xfcf843;break;}if(_0x1921a4=_0x5a6ff2?this[_0x1f18b6(0xb2)][_0x1f18b6(0xba)](_0x5a6ff2):this[_0x1f18b6(0xb2)][_0x1f18b6(0x8d)],-0x1!==_0xf1d939){if(_0xf1d939===_0x1921a4-0x1)return;this[_0x1f18b6(0xb2)][_0x1f18b6(0xb8)](_0x3a2ab6),_0x1921a4=_0x5a6ff2?this[_0x1f18b6(0xb2)][_0x1f18b6(0xba)](_0x5a6ff2):this[_0x1f18b6(0xb2)][_0x1f18b6(0x8d)];}this[_0x1f18b6(0xb2)][_0x1f18b6(0x9a)](_0x3a2ab6,_0x1921a4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10833d=_0xa130;(function(_0x567ad4,_0x4d9690){const _0xb07ff3=_0xa130,_0xaaeb2e=_0x567ad4();while(!![]){try{const _0x4af85c=parseInt(_0xb07ff3(0x164))/0x1*(-parseInt(_0xb07ff3(0x16f))/0x2)+-parseInt(_0xb07ff3(0x154))/0x3*(parseInt(_0xb07ff3(0x17d))/0x4)+parseInt(_0xb07ff3(0x15b))/0x5+parseInt(_0xb07ff3(0x17a))/0x6+parseInt(_0xb07ff3(0x15a))/0x7+-parseInt(_0xb07ff3(0x145))/0x8*(-parseInt(_0xb07ff3(0x17b))/0x9)+-parseInt(_0xb07ff3(0x17f))/0xa;if(_0x4af85c===_0x4d9690)break;else _0xaaeb2e['push'](_0xaaeb2e['shift']());}catch(_0x363df8){_0xaaeb2e['push'](_0xaaeb2e['shift']());}}}(_0x159c,0x624ac));import{ContextPlugin as _0x22ed37,Context as _0x5072c5}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x59a486}from'./annotationsuis.js';function _0xa130(_0xee6d08,_0x136c22){const _0x159c37=_0x159c();return _0xa130=function(_0xa1301c,_0x2842ad){_0xa1301c=_0xa1301c-0x145;let _0x2b3620=_0x159c37[_0xa1301c];return _0x2b3620;},_0xa130(_0xee6d08,_0x136c22);}import{Sidebar as _0x2f43eb}from'./sidebar.js';import{CKEditorError as _0x2a3c71,Collection as _0x729388}from'ckeditor5/src/utils.js';import{debounce as _0x3efc92}from'es-toolkit/compat';function _0x159c(){const _0xde4bc1=['off','listenTo','stopListening','cancel','blur','has','add','from','set','detach','widesidebar-attach-already-attached','set:container','updateTargetRect','33typasi','wideSidebar','refresh','_annotations','plugins','destroy','2467927KAjqBg','1947995HFpcvp','isAttached','change:container','requires','addAnnotation','register','rearrange','focus','get','134513fCJXFC','isPremiumPlugin','EditorAnnotations','resize','_destroyEditorAnnotationsIntegration','hasDomSelection','setActiveAnnotation','ck-sidebar--wide','init','activeAnnotation','remove','8dgYSjJ','ready','high','Annotations','container','removeEventListener','refreshVisibility','_activeAnnotation','refreshPositioning','getOrderedSelectedAnnotations','pluginName','3933918MEAaKv','765xjhZkp','attach','264696eYJQSh','stop','5280730AREgfz','_attachToContainer','_detachFromContainer','widesidebar-detach-not-attached','_refreshPositioningDebounced','_editorAnnotations','switchTo','isOfficialPlugin','WideSidebar','addEventListener','editors','context','uiUpdate','_integrateWithEditorAnnotations','75184WfFIPS','annotations'];_0x159c=function(){return _0xde4bc1;};return _0x159c();}export class WideSidebar extends _0x22ed37{[_0x10833d(0x15c)];[_0x10833d(0x146)];[_0x10833d(0x184)];[_0x10833d(0x183)];static get[_0x10833d(0x15e)](){return[_0x2f43eb,_0x59a486];}static get[_0x10833d(0x179)](){const _0x32a404=_0x10833d;return _0x32a404(0x187);}static get[_0x10833d(0x186)](){return!0x0;}static get[_0x10833d(0x165)](){return!0x0;}constructor(_0x4aaa60){const _0x10aae2=_0x10833d;super(_0x4aaa60),this[_0x10aae2(0x15c)]=!0x1,this[_0x10aae2(0x14f)](_0x10aae2(0x16d),null),this[_0x10aae2(0x146)]=null,this[_0x10aae2(0x184)]=new _0x729388(),this[_0x10aae2(0x183)]=_0x3efc92(()=>{const _0x3c8d63=_0x10aae2;_0x4aaa60[_0x3c8d63(0x158)][_0x3c8d63(0x163)](_0x3c8d63(0x172))[_0x3c8d63(0x175)](),this[_0x3c8d63(0x146)][_0x3c8d63(0x177)]();},0xfa,{'leading':!0x1});}[_0x10833d(0x16c)](){const _0x171cf0=_0x10833d,_0x3d7d74=this[_0x171cf0(0x18a)][_0x171cf0(0x158)][_0x171cf0(0x163)](_0x59a486),_0x3ca6a7=this[_0x171cf0(0x18a)][_0x171cf0(0x158)][_0x171cf0(0x163)](_0x2f43eb);_0x3d7d74[_0x171cf0(0x160)](_0x171cf0(0x155),this),_0x3ca6a7[_0x171cf0(0x173)]&&_0x3d7d74[_0x171cf0(0x185)](_0x171cf0(0x155));}[_0x10833d(0x16a)](_0x40dd2c){const _0x4b5f05=_0x10833d;if(_0x40dd2c===this[_0x4b5f05(0x16d)])return;const _0x38061a=this[_0x4b5f05(0x18a)][_0x4b5f05(0x158)][_0x4b5f05(0x163)](_0x2f43eb);_0x38061a[_0x4b5f05(0x176)]=_0x40dd2c;const _0x47730f=this[_0x4b5f05(0x16d)];_0x38061a[_0x4b5f05(0x156)]({'blurredAnnotation':_0x47730f,'activatedAnnotation':_0x40dd2c}),this[_0x4b5f05(0x16d)]=_0x40dd2c;}[_0x10833d(0x17c)](_0x542357){const _0x507187=_0x10833d;this[_0x507187(0x146)]=_0x542357;const _0x318522=this[_0x507187(0x18a)][_0x507187(0x158)][_0x507187(0x163)](_0x2f43eb);if(_0x318522[_0x507187(0x157)]=_0x542357,this[_0x507187(0x15c)])throw new _0x2a3c71(_0x507187(0x151),this);this[_0x507187(0x15c)]=!0x0,this[_0x507187(0x148)](_0x318522,_0x507187(0x152),()=>{const _0x9ff179=_0x507187;this[_0x9ff179(0x150)](),this[_0x9ff179(0x148)](_0x318522,_0x9ff179(0x15d),_0x20b3b2=>{const _0x5d48a3=_0x9ff179;_0x20b3b2[_0x5d48a3(0x147)](),this[_0x5d48a3(0x17c)](_0x542357);});}),_0x318522[_0x507187(0x180)]({'viewClass':_0x507187(0x16b)});const _0x2a80a0=_0x27b76d=>{const _0x54f02f=_0x507187;_0x27b76d[_0x54f02f(0x153)](),_0x318522[_0x54f02f(0x15f)](_0x27b76d);};for(const _0x113fe0 of _0x542357)_0x2a80a0(_0x113fe0);this[_0x507187(0x148)](_0x542357,_0x507187(0x14d),(_0xdfeb,_0x38e900)=>{_0x2a80a0(_0x38e900);}),this[_0x507187(0x148)](_0x542357,_0x507187(0x16e),(_0x1d6152,_0x385b49,_0x5bfac7)=>{const _0x433aea=_0x507187;_0x318522[_0x433aea(0x161)]({'removedAnnotation':_0x385b49,'previousAnnotation':_0x542357[_0x433aea(0x163)](_0x5bfac7-0x1),'nextAnnotation':_0x542357[_0x433aea(0x163)](_0x5bfac7+0x1)}),_0x385b49===this[_0x433aea(0x16d)]&&this[_0x433aea(0x16a)](null);},{'priority':_0x507187(0x171)}),this[_0x507187(0x148)](_0x542357,_0x507187(0x162),(_0x24edc5,_0x35adbd)=>{const _0x344abd=_0x507187;this[_0x344abd(0x16a)](_0x35adbd);}),this[_0x507187(0x148)](_0x542357,_0x507187(0x14b),()=>{const _0x9de287=_0x507187;this[_0x9de287(0x16a)](null);});const _0x27c43a=this[_0x507187(0x18a)]instanceof _0x5072c5?this[_0x507187(0x18a)][_0x507187(0x189)]:new _0x729388([this[_0x507187(0x18a)]]);for(const _0x19507b of _0x27c43a)this[_0x507187(0x18c)](_0x19507b);this[_0x507187(0x148)](_0x27c43a,_0x507187(0x14d),(_0x276a05,_0x24d308)=>{const _0x22e570=_0x507187;this[_0x22e570(0x148)](_0x24d308,_0x22e570(0x170),()=>{const _0xafdc45=_0x22e570;this[_0xafdc45(0x18c)](_0x24d308);});}),this[_0x507187(0x148)](_0x27c43a,_0x507187(0x16e),(_0x45a4fd,_0x15d7b7)=>{const _0x525438=_0x507187;_0x15d7b7[_0x525438(0x158)][_0x525438(0x14c)](_0x525438(0x166))&&this[_0x525438(0x168)](_0x15d7b7[_0x525438(0x158)][_0x525438(0x163)](_0x525438(0x166)));}),window[_0x507187(0x188)](_0x507187(0x167),this[_0x507187(0x183)]),this[_0x507187(0x18a)][_0x507187(0x158)][_0x507187(0x163)](_0x507187(0x172))[_0x507187(0x175)](),this[_0x507187(0x146)][_0x507187(0x177)]();}[_0x10833d(0x150)](){const _0x254902=_0x10833d;if(!this[_0x254902(0x15c)])throw new _0x2a3c71(_0x254902(0x182),this);this[_0x254902(0x16a)](null);const _0x19d00a=this[_0x254902(0x18a)][_0x254902(0x158)][_0x254902(0x163)](_0x2f43eb);_0x19d00a[_0x254902(0x181)](this[_0x254902(0x146)]),this[_0x254902(0x149)](_0x19d00a),this[_0x254902(0x149)](this[_0x254902(0x146)]),this[_0x254902(0x18a)]instanceof _0x5072c5&&this[_0x254902(0x149)](this[_0x254902(0x18a)][_0x254902(0x189)]);for(const _0x44aadd of Array[_0x254902(0x14e)](this[_0x254902(0x184)]))this[_0x254902(0x168)](_0x44aadd);window[_0x254902(0x174)](_0x254902(0x167),this[_0x254902(0x183)]),this[_0x254902(0x183)][_0x254902(0x14a)](),this[_0x254902(0x16d)]=null,this[_0x254902(0x15c)]=!0x1,this[_0x254902(0x146)]=null;}[_0x10833d(0x159)](){const _0x4a8e80=_0x10833d;this[_0x4a8e80(0x15c)]&&this[_0x4a8e80(0x150)]();}[_0x10833d(0x18c)](_0x216203){const _0x31cbf2=_0x10833d;if(!_0x216203[_0x31cbf2(0x158)][_0x31cbf2(0x14c)](_0x31cbf2(0x166)))return;const _0x2b15dd=_0x216203[_0x31cbf2(0x158)][_0x31cbf2(0x163)](_0x31cbf2(0x166)),_0x311ea3=()=>{const _0x176a4d=_0x31cbf2,_0x1fc44d=_0x2b15dd[_0x176a4d(0x178)]({'annotations':this[_0x176a4d(0x146)],'activeAnnotation':this[_0x176a4d(0x16d)]});this[_0x176a4d(0x16a)](_0x1fc44d[0x0]||null);};this[_0x31cbf2(0x148)](_0x2b15dd,_0x31cbf2(0x156),_0x311ea3),this[_0x31cbf2(0x148)](_0x2b15dd,_0x31cbf2(0x14b),(_0x50e360,{isAnnotationTracked:_0x33054b})=>{const _0x507041=_0x31cbf2;this[_0x507041(0x16d)]&&_0x33054b(this[_0x507041(0x16d)])&&this[_0x507041(0x16a)](null);}),this[_0x31cbf2(0x148)](_0x2b15dd,_0x31cbf2(0x18b),()=>{const _0x2c2621=_0x31cbf2;this[_0x2c2621(0x183)]();}),this[_0x31cbf2(0x148)](this[_0x31cbf2(0x146)],_0x31cbf2(0x14b),_0x1beb3f=>{const _0x1fca1b=_0x31cbf2;_0x2b15dd[_0x1fca1b(0x169)]()&&(_0x311ea3(),_0x1beb3f[_0x1fca1b(0x17e)]());},{'priority':_0x31cbf2(0x171)}),this[_0x31cbf2(0x184)][_0x31cbf2(0x14d)](_0x2b15dd);}[_0x10833d(0x168)](_0xe9330f){const _0x52de6d=_0x10833d;this[_0x52de6d(0x149)](_0xe9330f),this[_0x52de6d(0x184)][_0x52de6d(0x16e)](_0xe9330f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16da81=_0x37ce;(function(_0x72d0ac,_0x4f5511){const _0x5abccb=_0x37ce,_0x496725=_0x72d0ac();while(!![]){try{const _0x2ff8ba=parseInt(_0x5abccb(0x9f))/0x1+-parseInt(_0x5abccb(0x93))/0x2*(-parseInt(_0x5abccb(0x83))/0x3)+-parseInt(_0x5abccb(0x7f))/0x4+parseInt(_0x5abccb(0x89))/0x5+-parseInt(_0x5abccb(0x9b))/0x6*(parseInt(_0x5abccb(0x82))/0x7)+parseInt(_0x5abccb(0x84))/0x8*(parseInt(_0x5abccb(0x8f))/0x9)+-parseInt(_0x5abccb(0x91))/0xa;if(_0x2ff8ba===_0x4f5511)break;else _0x496725['push'](_0x496725['shift']());}catch(_0x18bdcc){_0x496725['push'](_0x496725['shift']());}}}(_0x374f,0x18769));function _0x37ce(_0x5682b1,_0x19be27){const _0x374f25=_0x374f();return _0x37ce=function(_0x37cea2,_0xe55333){_0x37cea2=_0x37cea2-0x6d;let _0x4c3228=_0x374f25[_0x37cea2];return _0x4c3228;},_0x37ce(_0x5682b1,_0x19be27);}function _0x374f(){const _0x40d07f=['element','_itemIsContent','backward','582wDQNIy','_createMarkersFromRanges','createRange','plugins','38163dJQpQN','length','document','isObject','getItems','tableCell','hasContent','Users','execute','addcommentthreadcommand-user-not-found','addMarker','addcommentthreadcommand-incorrect-ranges','isEnabled','from','substr','_trimToContent','schema','config','selection','set','_createCommentThread','153356jYYbob','model','comment:','5201HqSTkz','14103uclXZa','8qNjtVC','get','_hasContent','refresh','$textProxy','983770uyMtlj','collaboration.channelId','editor','start','CommentsRepository','end','1359216vPTQSo','addCommentThread','3680710XddnAv','getRanges','82pqitvL','change','item','push','getLastMatchingPosition'];_0x374f=function(){return _0x40d07f;};return _0x374f();}import{Command as _0x51d37f}from'ckeditor5/src/core.js';import{uid as _0x936ce1,CKEditorError as _0x53ffb8}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x51d37f{constructor(_0x585f3a){const _0x14c224=_0x37ce;super(_0x585f3a),this[_0x14c224(0x7d)](_0x14c224(0x70),!0x1);}[_0x16da81(0x87)](){const _0xdf2b9b=_0x16da81,_0x263f91=this[_0xdf2b9b(0x8b)][_0xdf2b9b(0x80)][_0xdf2b9b(0xa1)][_0xdf2b9b(0x7c)];this[_0xdf2b9b(0x76)]=!0x0,this[_0xdf2b9b(0x70)]=!0x1;for(const _0x147aaa of _0x263f91[_0xdf2b9b(0x92)]())if(this[_0xdf2b9b(0x86)](_0x147aaa))return void(this[_0xdf2b9b(0x70)]=!0x0);}[_0x16da81(0x72)]({threadId:_0x4c0e8d=_0x936ce1(),ranges:_0x1f3fa9,comment:_0x31687e}={}){const _0x50add0=_0x16da81,_0x499a99=this[_0x50add0(0x8b)][_0x50add0(0x80)],_0x2f132c=_0x1f3fa9??Array[_0x50add0(0x77)](_0x499a99[_0x50add0(0xa1)][_0x50add0(0x7c)][_0x50add0(0x92)]()),_0x50dc1e=[];for(const _0x17fa9f of _0x2f132c)this[_0x50add0(0x86)](_0x17fa9f)&&_0x50dc1e[_0x50add0(0x96)](this[_0x50add0(0x79)](_0x17fa9f));if(!_0x50dc1e[_0x50add0(0xa0)])throw new _0x53ffb8(_0x50add0(0x75),null);_0x31687e&&this[_0x50add0(0x7e)](_0x4c0e8d,_0x31687e),this[_0x50add0(0x9c)](_0x4c0e8d,_0x50dc1e,!!_0x31687e);}[_0x16da81(0x9c)](_0x11ec9e,_0x1e0c97,_0x3e05de){const _0x169495=_0x16da81;this[_0x169495(0x8b)][_0x169495(0x80)][_0x169495(0x94)](_0x32b1f8=>{const _0x466d83=_0x169495;for(const _0x2ad11d of _0x1e0c97){const _0x66c77a=_0x936ce1()[_0x466d83(0x78)](0x1,0x5),_0x201fc7=_0x466d83(0x81)+_0x11ec9e+':'+_0x66c77a;_0x32b1f8[_0x466d83(0x74)](_0x201fc7,{'range':_0x2ad11d,'usingOperation':_0x3e05de,'affectsData':_0x3e05de});}});}[_0x16da81(0x7e)](_0x34490a,_0x375e0f){const _0x14d4a0=_0x16da81,_0x177a13=this[_0x14d4a0(0x8b)][_0x14d4a0(0x9e)][_0x14d4a0(0x85)](_0x14d4a0(0x8d)),_0x2d4742=this[_0x14d4a0(0x8b)][_0x14d4a0(0x7b)][_0x14d4a0(0x85)](_0x14d4a0(0x8a)),_0x2b6f00=this[_0x14d4a0(0x8b)][_0x14d4a0(0x9e)][_0x14d4a0(0x85)](_0x14d4a0(0x71))['me'];if(!_0x2b6f00)throw new _0x53ffb8(_0x14d4a0(0x73),null);_0x177a13[_0x14d4a0(0x90)]({'threadId':_0x34490a,'channelId':_0x2d4742,'comments':[{'authorId':_0x2b6f00['id'],'content':_0x375e0f,'createdAt':new Date(),'attributes':{}}]});}[_0x16da81(0x86)](_0x141a9d){const _0x7586ca=_0x16da81;for(const _0x175ec7 of _0x141a9d[_0x7586ca(0x6e)]())if(this[_0x7586ca(0x99)](_0x175ec7))return!0x0;return!0x1;}[_0x16da81(0x99)](_0x52e4ec){const _0x318a9e=_0x16da81;return _0x52e4ec['is'](_0x318a9e(0x88))||this[_0x318a9e(0x8b)][_0x318a9e(0x80)][_0x318a9e(0x7a)][_0x318a9e(0x6d)](_0x52e4ec)&&!_0x52e4ec['is'](_0x318a9e(0x98),_0x318a9e(0x6f));}[_0x16da81(0x79)](_0x354610){const _0x1110c8=_0x16da81,_0x697f4a=_0x1598e6=>!this[_0x1110c8(0x99)](_0x1598e6[_0x1110c8(0x95)]),_0x409990=_0x354610[_0x1110c8(0x8c)][_0x1110c8(0x97)](_0x697f4a),_0x3d2211=_0x354610[_0x1110c8(0x8e)][_0x1110c8(0x97)](_0x697f4a,{'direction':_0x1110c8(0x9a)});return this[_0x1110c8(0x8b)][_0x1110c8(0x80)][_0x1110c8(0x9d)](_0x409990,_0x3d2211);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x592af3=_0x41a1;(function(_0x588b8e,_0x50a159){const _0x4908ed=_0x41a1,_0x13abb9=_0x588b8e();while(!![]){try{const _0x35885d=-parseInt(_0x4908ed(0x146))/0x1*(-parseInt(_0x4908ed(0x15e))/0x2)+parseInt(_0x4908ed(0x14c))/0x3*(-parseInt(_0x4908ed(0x165))/0x4)+parseInt(_0x4908ed(0x161))/0x5*(parseInt(_0x4908ed(0x15d))/0x6)+-parseInt(_0x4908ed(0x158))/0x7*(parseInt(_0x4908ed(0x14f))/0x8)+-parseInt(_0x4908ed(0x153))/0x9+-parseInt(_0x4908ed(0x16b))/0xa+-parseInt(_0x4908ed(0x15c))/0xb*(-parseInt(_0x4908ed(0x14b))/0xc);if(_0x35885d===_0x50a159)break;else _0x13abb9['push'](_0x13abb9['shift']());}catch(_0x54d499){_0x13abb9['push'](_0x13abb9['shift']());}}}(_0x15a5,0xd28db));function _0x41a1(_0x24757f,_0x9d3182){const _0x15a5b0=_0x15a5();return _0x41a1=function(_0x41a1a2,_0x2ff9ec){_0x41a1a2=_0x41a1a2-0x145;let _0x561487=_0x15a5b0[_0x41a1a2];return _0x561487;},_0x41a1(_0x24757f,_0x9d3182);}import{ContextPlugin as _0x5de504}from'ckeditor5/src/core.js';import{Collection as _0x4989c7}from'ckeditor5/src/utils.js';function _0x15a5(){const _0x16dedf=['10208240pDmrlk','findIndex','removeCommentThread','archivedThreads','986035yaWsky','CommentsArchive','has','activate','get','25719132cvKBpk','663PTYGOY','remove','isVisible','582352HeoAzg','highest','listenTo','isActive','14861268XapBrB','stopListening','change:archivedAt','isPremiumPlugin','pluginName','28YZamWq','collection','focus','getCommentThread','11JEdjdH','4202166BaqSye','2DMXIfQ','init','archivedAt','5vuKgEK','_calculatePosition','isOfficialPlugin','context','72YLvRfC','addCommentThread','length','requires','add','plugins'];_0x15a5=function(){return _0x16dedf;};return _0x15a5();}import{CommentsRepository as _0x26e280}from'./commentsrepository.js';import{Annotations as _0x124019}from'../annotations/annotations.js';export class CommentsArchive extends _0x5de504{static get[_0x592af3(0x157)](){const _0x18aa00=_0x592af3;return _0x18aa00(0x147);}static get[_0x592af3(0x163)](){return!0x0;}static get[_0x592af3(0x156)](){return!0x0;}static get[_0x592af3(0x168)](){return[_0x26e280,_0x124019];}constructor(_0x5130b2){const _0x3e0326=_0x592af3;super(_0x5130b2),this[_0x3e0326(0x145)]=new _0x4989c7();}[_0x592af3(0x15f)](){const _0x371fbf=_0x592af3,_0x46eb39=this[_0x371fbf(0x164)],_0x167159=_0x46eb39[_0x371fbf(0x16a)][_0x371fbf(0x14a)](_0x26e280),_0x4bb442=_0x46eb39[_0x371fbf(0x16a)][_0x371fbf(0x14a)](_0x124019);this[_0x371fbf(0x151)](_0x167159,_0x371fbf(0x166),(_0x2c771b,{threadId:_0x3daf2e})=>{const _0x564b7c=_0x371fbf,_0x568a51=_0x167159[_0x564b7c(0x15b)](_0x3daf2e);_0x568a51[_0x564b7c(0x160)]&&this[_0x564b7c(0x145)][_0x564b7c(0x169)](_0x568a51,this[_0x564b7c(0x162)](_0x568a51[_0x564b7c(0x160)])),this[_0x564b7c(0x151)](_0x568a51,_0x564b7c(0x155),(_0x162f4c,_0x2f06fd,_0x536e75)=>{const _0x291418=_0x564b7c;_0x536e75?this[_0x291418(0x145)][_0x291418(0x148)](_0x568a51)||this[_0x291418(0x145)][_0x291418(0x169)](_0x568a51,this[_0x291418(0x162)](_0x568a51[_0x291418(0x160)])):this[_0x291418(0x145)][_0x291418(0x148)](_0x568a51)&&this[_0x291418(0x145)][_0x291418(0x14d)](_0x568a51);});}),this[_0x371fbf(0x151)](_0x167159,_0x371fbf(0x16d),(_0x23d8b8,{threadId:_0xd8ef2c})=>{const _0x3c4220=_0x371fbf,_0x517588=_0x167159[_0x3c4220(0x15b)](_0xd8ef2c);this[_0x3c4220(0x154)](_0x517588),this[_0x3c4220(0x145)][_0x3c4220(0x148)](_0x517588)&&this[_0x3c4220(0x145)][_0x3c4220(0x14d)](_0x517588);},{'priority':_0x371fbf(0x150)}),this[_0x371fbf(0x151)](_0x4bb442[_0x371fbf(0x159)],_0x371fbf(0x15a),(_0x101762,_0x56e929)=>{const _0x1e6b3a=_0x371fbf;_0x56e929[_0x1e6b3a(0x14e)]||(_0x56e929[_0x1e6b3a(0x152)]=!0x0,_0x4bb442[_0x1e6b3a(0x149)](_0x56e929));});}[_0x592af3(0x162)](_0x55cdd4){const _0x13e5af=_0x592af3,_0x309c0d=[...this[_0x13e5af(0x145)]][_0x13e5af(0x16c)](_0x4ce349=>_0x4ce349[_0x13e5af(0x160)]<_0x55cdd4);return _0x309c0d>-0x1?_0x309c0d:this[_0x13e5af(0x145)][_0x13e5af(0x167)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x519cbe=_0x55d8;(function(_0x45036e,_0x51c1a4){const _0x1adb00=_0x55d8,_0x4b1c03=_0x45036e();while(!![]){try{const _0x299c84=-parseInt(_0x1adb00(0x19f))/0x1*(-parseInt(_0x1adb00(0x19d))/0x2)+-parseInt(_0x1adb00(0x1c4))/0x3*(-parseInt(_0x1adb00(0x1ab))/0x4)+-parseInt(_0x1adb00(0x1ce))/0x5+-parseInt(_0x1adb00(0x1ca))/0x6+parseInt(_0x1adb00(0x1bd))/0x7+-parseInt(_0x1adb00(0x193))/0x8*(-parseInt(_0x1adb00(0x18a))/0x9)+-parseInt(_0x1adb00(0x18f))/0xa*(parseInt(_0x1adb00(0x1a4))/0xb);if(_0x299c84===_0x51c1a4)break;else _0x4b1c03['push'](_0x4b1c03['shift']());}catch(_0x3121d4){_0x4b1c03['push'](_0x4b1c03['shift']());}}}(_0x14fa,0xd89da));import'../../theme/commentsarchive.css';import{Plugin as _0x3c69a6}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x13ff0f}from'ckeditor5/src/icons.js';function _0x14fa(){const _0x7bbbbe=['_calculatePosition','_toggleDialog','includes','274504rnEILF','focusableElements','escape','isOfficialPlugin','isPremiumPlugin','get','CommentsRepository','commentsArchiveView','Dialog','requires','2jeDNJC','filter','1486354Jvokrw','set:isVisible','config','bind','isEnabled','22sfTeWd','execute','EDITOR_TOP_SIDE','componentFactory','menuBar:commentsArchive','forEach','has','200YXkDxp','editor','collaboration.channelId','_addAnnotationToArchive','_handleNewThread','init','view','collection','commentsArchive','getByInnerView','locale','add','plugins','archivedAt','indexOf','tooltip','pluginName','set','11170131aSRySz','hide','innerView','isOn','_visibleAnnotations','splice','archivedThreads','90633ABrpAq','findIndex','_threadToController','remove','annotationViews','_pendingThreads','4722648pJdRfH','_hideDialogOnAnnotationEscape','_createCommentsArchiveButton','channelId','6482890WwRunx','isOpen','find','Annotations','stop','show','push','listenTo','stopListening','isVisible','COMMENTS_ARCHIVE','source','261RNxMwl','menuitemcheckbox','CommentsArchiveUI','length','return','13083850kQkdIE'];_0x14fa=function(){return _0x7bbbbe;};return _0x14fa();}import{ViewCollection as _0x2afae3,MenuBarMenuListItemButtonView as _0x2d4393,ButtonView as _0x265334,Dialog as _0x146869,DialogViewPosition as _0x1b1668}from'ckeditor5/src/ui.js';function _0x55d8(_0x2cf0e8,_0x49d44f){const _0x14fa6b=_0x14fa();return _0x55d8=function(_0x55d8a3,_0x45ebbb){_0x55d8a3=_0x55d8a3-0x185;let _0x411b2f=_0x14fa6b[_0x55d8a3];return _0x411b2f;},_0x55d8(_0x2cf0e8,_0x49d44f);}import{getTranslation as _0x75c799}from'../utils/common-translations.js';import{CommentsArchiveView as _0x2e468d}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x371bff}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x3c69a6{[_0x519cbe(0x19a)];[_0x519cbe(0x1c8)];[_0x519cbe(0x1c9)];static get[_0x519cbe(0x1bb)](){const _0x42dd35=_0x519cbe;return _0x42dd35(0x18c);}static get[_0x519cbe(0x196)](){return!0x0;}static get[_0x519cbe(0x197)](){return!0x0;}static get[_0x519cbe(0x19c)](){return[_0x371bff,_0x146869];}constructor(_0x448662){const _0x2bac04=_0x519cbe;super(_0x448662),this[_0x2bac04(0x1c8)]=new _0x2afae3(),this[_0x2bac04(0x1c9)]=[];}[_0x519cbe(0x1b0)](){const _0x4ed2cf=_0x519cbe,_0xe3fcc6=this[_0x4ed2cf(0x1ac)],_0x485472=this[_0x4ed2cf(0x1cb)][_0x4ed2cf(0x1a2)](this);_0xe3fcc6['ui'][_0x4ed2cf(0x1a7)][_0x4ed2cf(0x1b6)](_0x4ed2cf(0x1b3),()=>this[_0x4ed2cf(0x1cc)](_0x265334,!0x0)),_0xe3fcc6['ui'][_0x4ed2cf(0x1a7)][_0x4ed2cf(0x1b6)](_0x4ed2cf(0x1a8),()=>{const _0x5caf06=_0x4ed2cf,_0x2b9bca=this[_0x5caf06(0x1cc)](_0x2d4393);return _0x2b9bca[_0x5caf06(0x1bc)]({'role':_0x5caf06(0x18b)}),_0x2b9bca;});const _0x4ab909=_0xe3fcc6[_0x4ed2cf(0x1b7)][_0x4ed2cf(0x198)](_0x371bff),_0x5dd959=_0xe3fcc6[_0x4ed2cf(0x1b7)][_0x4ed2cf(0x198)](_0x4ed2cf(0x1d1)),_0xaca2a9=_0xe3fcc6[_0x4ed2cf(0x1b7)][_0x4ed2cf(0x198)](_0x4ed2cf(0x199));_0x4ab909[_0x4ed2cf(0x1c3)][_0x4ed2cf(0x1a9)](_0x22b0c5=>{const _0x4f340c=_0x4ed2cf;this[_0x4f340c(0x1af)](_0x22b0c5);}),this[_0x4ed2cf(0x185)](_0x4ab909[_0x4ed2cf(0x1c3)],_0x4ed2cf(0x1b6),(_0x58f994,_0x48215a)=>{const _0x5095ac=_0x4ed2cf;this[_0x5095ac(0x1af)](_0x48215a);}),this[_0x4ed2cf(0x185)](_0x5dd959[_0x4ed2cf(0x1b2)],_0x4ed2cf(0x1b6),(_0x428278,_0x10e062)=>{const _0x73bdab=_0x4ed2cf,_0x3d41b4=this[_0x73bdab(0x1c9)][_0x73bdab(0x1d0)](_0x29052f=>{const _0x376f61=_0x73bdab,_0x29b007=_0xaca2a9[_0x376f61(0x1c6)][_0x376f61(0x198)](_0x29052f);return _0x29b007&&_0x10e062[_0x376f61(0x1bf)]===_0x29b007[_0x376f61(0x1b1)];});if(_0x3d41b4){const _0x4cb672=this[_0x73bdab(0x190)](_0x3d41b4[_0x73bdab(0x1b8)]);this[_0x73bdab(0x1ae)](_0x10e062,_0x4cb672),this[_0x73bdab(0x1c9)][_0x73bdab(0x1c2)](this[_0x73bdab(0x1c9)][_0x73bdab(0x1b9)](_0x3d41b4),0x1);}}),this[_0x4ed2cf(0x185)](_0x4ab909[_0x4ed2cf(0x1c3)],_0x4ed2cf(0x1c7),(_0x3b7813,_0x29122c)=>{const _0xd4c1d2=_0x4ed2cf,_0x3161d1=_0xe3fcc6[_0xd4c1d2(0x1a1)][_0xd4c1d2(0x198)](_0xd4c1d2(0x1ad));if(!_0x3161d1||_0x29122c[_0xd4c1d2(0x1cd)]===_0x3161d1){if(this[_0xd4c1d2(0x1c9)][_0xd4c1d2(0x192)](_0x29122c))this[_0xd4c1d2(0x1c9)][_0xd4c1d2(0x1c2)](this[_0xd4c1d2(0x1c9)][_0xd4c1d2(0x1b9)](_0x29122c),0x1);else{const _0xae190d=_0xaca2a9[_0xd4c1d2(0x1c6)][_0xd4c1d2(0x198)](_0x29122c),_0x16bc42=_0x5dd959[_0xd4c1d2(0x1b4)](_0xae190d[_0xd4c1d2(0x1b1)]);this[_0xd4c1d2(0x1c8)][_0xd4c1d2(0x1c7)](_0x16bc42[_0xd4c1d2(0x1b1)]),this[_0xd4c1d2(0x186)](_0x16bc42),this[_0xd4c1d2(0x186)](_0x16bc42[_0xd4c1d2(0x194)]);}}}),this[_0x4ed2cf(0x185)](_0x5dd959[_0x4ed2cf(0x1b2)],_0x4ed2cf(0x1b6),(_0x3f5d23,_0xf521a6)=>{const _0x2d3aee=_0x4ed2cf;this[_0x2d3aee(0x185)](_0xf521a6,_0x2d3aee(0x195),_0x485472);}),this[_0x4ed2cf(0x185)](_0x5dd959[_0x4ed2cf(0x1b2)],_0x4ed2cf(0x1c7),(_0x538b51,_0x3bca06)=>{const _0x5ee34c=_0x4ed2cf;this[_0x5ee34c(0x186)](_0x3bca06,_0x5ee34c(0x195),_0x485472);});}[_0x519cbe(0x1ae)](_0x48bfac,_0x49165a){const _0x555b0e=_0x519cbe;this[_0x555b0e(0x185)](_0x48bfac,_0x555b0e(0x1a0),_0x37742d=>{const _0x9e5e5a=_0x555b0e;_0x37742d[_0x9e5e5a(0x18e)]=!0x1,_0x37742d[_0x9e5e5a(0x1d2)]();}),this[_0x555b0e(0x1c8)][_0x555b0e(0x1b6)](_0x48bfac[_0x555b0e(0x1b1)],_0x49165a);}[_0x519cbe(0x1af)](_0x41eecb){const _0x44d2b1=_0x519cbe,_0x285860=this[_0x44d2b1(0x1ac)][_0x44d2b1(0x1b7)][_0x44d2b1(0x198)](_0x44d2b1(0x199)),_0x42504e=this[_0x44d2b1(0x1ac)][_0x44d2b1(0x1b7)][_0x44d2b1(0x198)](_0x44d2b1(0x1d1)),_0x1de438=this[_0x44d2b1(0x1ac)][_0x44d2b1(0x1a1)][_0x44d2b1(0x198)](_0x44d2b1(0x1ad));if(!_0x1de438||_0x41eecb[_0x44d2b1(0x1cd)]===_0x1de438){const _0x444059=_0x285860[_0x44d2b1(0x1c6)][_0x44d2b1(0x198)](_0x41eecb);if(!_0x444059)return void this[_0x44d2b1(0x1c9)][_0x44d2b1(0x1d4)](_0x41eecb);const _0x3fbaaf=this[_0x44d2b1(0x190)](_0x41eecb[_0x44d2b1(0x1b8)]),_0x118416=_0x42504e[_0x44d2b1(0x1b4)](_0x444059[_0x44d2b1(0x1b1)]);_0x118416[_0x44d2b1(0x187)]&&_0x42504e[_0x44d2b1(0x1c1)][_0x44d2b1(0x1c7)](_0x118416),this[_0x44d2b1(0x1ae)](_0x118416,_0x3fbaaf);}}[_0x519cbe(0x190)](_0x282b58){const _0x4cf667=_0x519cbe,_0x50c664=this[_0x4cf667(0x1ac)][_0x4cf667(0x1a1)][_0x4cf667(0x198)](_0x4cf667(0x1ad)),_0x44924e=[...this[_0x4cf667(0x1ac)][_0x4cf667(0x1b7)][_0x4cf667(0x198)](_0x371bff)[_0x4cf667(0x1c3)]][_0x4cf667(0x19e)](_0xed7982=>_0xed7982[_0x4cf667(0x1cd)]===_0x50c664)[_0x4cf667(0x1c5)](_0x4b2728=>_0x4b2728[_0x4cf667(0x1b8)]<_0x282b58);return _0x44924e<0x0||_0x44924e>this[_0x4cf667(0x1c8)][_0x4cf667(0x18d)]?this[_0x4cf667(0x1c8)][_0x4cf667(0x18d)]:_0x44924e-0x1;}[_0x519cbe(0x191)](){const _0x3a629d=_0x519cbe,_0xf4d96b=this[_0x3a629d(0x1ac)],_0x26c50f=_0xf4d96b[_0x3a629d(0x1b7)][_0x3a629d(0x198)](_0x3a629d(0x19b));this[_0x3a629d(0x19a)]||(this[_0x3a629d(0x19a)]=new _0x2e468d(_0xf4d96b[_0x3a629d(0x1b5)],this[_0x3a629d(0x1c8)])),_0x3a629d(0x1b3)===_0x26c50f['id']?_0x26c50f[_0x3a629d(0x1be)]():_0x26c50f[_0x3a629d(0x1d3)]({'id':_0x3a629d(0x1b3),'title':_0x75c799(_0xf4d96b[_0x3a629d(0x1b5)],_0x3a629d(0x188)),'icon':_0x13ff0f,'hasCloseButton':!0x0,'content':this[_0x3a629d(0x19a)],'position':_0x1b1668[_0x3a629d(0x1a6)]});}[_0x519cbe(0x1cc)](_0x21fb79,_0x4c090c=!0x1){const _0xf9e414=_0x519cbe,_0x49e037=this[_0xf9e414(0x1ac)][_0xf9e414(0x1b5)],_0x21c12d=this[_0xf9e414(0x1ac)][_0xf9e414(0x1b7)][_0xf9e414(0x198)](_0xf9e414(0x19b)),_0x368a3e=new _0x21fb79(_0x49e037);return _0x368a3e[_0xf9e414(0x1a2)](_0xf9e414(0x1a3))['to'](this,_0xf9e414(0x1a3)),_0x368a3e[_0xf9e414(0x1a2)](_0xf9e414(0x1c0))['to'](_0x21c12d,'id',_0xb378b9=>_0xf9e414(0x1b3)===_0xb378b9),_0x368a3e[_0xf9e414(0x1bc)]({'label':_0x75c799(_0x49e037,_0xf9e414(0x188)),'icon':_0x13ff0f,'isToggleable':!0x0}),_0x4c090c&&(_0x368a3e[_0xf9e414(0x1ba)]=!0x0),this[_0xf9e414(0x185)](_0x368a3e,_0xf9e414(0x1a5),()=>this[_0xf9e414(0x191)]()),_0x368a3e;}[_0x519cbe(0x1cb)]=_0xd5265=>{const _0x22ba92=_0x519cbe,_0x3a1fb3=_0xd5265[_0x22ba92(0x189)];if(!this[_0x22ba92(0x1c8)][_0x22ba92(0x1aa)](_0x3a1fb3[_0x22ba92(0x1b1)]))return;const _0x659abd=this[_0x22ba92(0x1ac)][_0x22ba92(0x1b7)][_0x22ba92(0x198)](_0x22ba92(0x19b));_0x659abd[_0x22ba92(0x1cf)]&&_0x22ba92(0x1b3)===_0x659abd['id']&&(_0x659abd[_0x22ba92(0x1be)](),_0xd5265[_0x22ba92(0x1d2)]());};}
|