@ckeditor/ckeditor5-comments 47.6.1 → 47.6.2-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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 _0x2751b5=_0x7650;function _0x1f88(){const _0x338b19=['getSidebarItemView','sidebar.container','config','push','height','_spaceBetweenItems','_alignToTargetRect','object','_getTargetTop','3279MIKRHg','sidebar-setcontainer-invalid-element','982344jCoyub','add','_alignBeforeItem','_annotations','_updateLastItem','refresh','bottom','setContainer','Sidebar','258gwrhSa','set','isActive','rearrange','nodeType','element','init','target','2054530UBQvdm','bind','pluginName','appendChild','targetRect','88QtHeaI','205709qnEsWb','_setItemTop','change:top','listenTo','destroy','_attachToContainer','updateHeight','_sidebarItemViewToAnnotation','_recalculate','change:_lastItem','unbind','sidebar-attachtocontainer-missing-container','_detachFromContainer','addAnnotation','_destroySidebarItemView','minHeight','_alignForTopChange','view','content','_targetTop','delete','locale','remove','context','clear','list','_recalculateBuffer','max','_activeAnnotation','sidebar.preventScrollOutOfView','isPremiumPlugin','stopListening','change:bottom','308hEgUBz','_alignForBottomChange','_lastItem','_getMaxAvailableTop','_alignAfterItem','11410skOBkd','class','8TbOoEP','top','1638189lzMpNf','_getItemAfter','_annotationToSidebarItemView','isOfficialPlugin','length','define','change:targetRect','render','last','isAnimationDisabled','get','_createSidebarView','_getItemBefore','getIndex','container','305NwhPZF'];_0x1f88=function(){return _0x338b19;};return _0x1f88();}(function(_0x11a6d6,_0xfe9002){const _0x5adacb=_0x7650,_0x36d8b3=_0x11a6d6();while(!![]){try{const _0x10af4d=parseInt(_0x5adacb(0x123))/0x1+parseInt(_0x5adacb(0x122))/0x2*(-parseInt(_0x5adacb(0x10a))/0x3)+parseInt(_0x5adacb(0xe8))/0x4*(-parseInt(_0x5adacb(0x100))/0x5)+parseInt(_0x5adacb(0x115))/0x6*(parseInt(_0x5adacb(0xed))/0x7)+parseInt(_0x5adacb(0xef))/0x8*(parseInt(_0x5adacb(0xf1))/0x9)+-parseInt(_0x5adacb(0x11d))/0xa+-parseInt(_0x5adacb(0x10c))/0xb;if(_0x10af4d===_0xfe9002)break;else _0x36d8b3['push'](_0x36d8b3['shift']());}catch(_0x13b0e7){_0x36d8b3['push'](_0x36d8b3['shift']());}}}(_0x1f88,0x1aec2));import{ContextPlugin as _0x554979}from'ckeditor5/src/core.js';import{Rect as _0x57a329,CKEditorError as _0x173bdb}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x4e390e}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x18f178}from'./view/sidebaritemview.js';function _0x7650(_0x78bcba,_0x3ef021){const _0x1f886e=_0x1f88();return _0x7650=function(_0x7650ec,_0x310a8c){_0x7650ec=_0x7650ec-0xe3;let _0x342eb2=_0x1f886e[_0x7650ec];return _0x342eb2;},_0x7650(_0x78bcba,_0x3ef021);}export class Sidebar extends _0x554979{[_0x2751b5(0x134)];[_0x2751b5(0xe3)];[_0x2751b5(0x10f)];[_0x2751b5(0x106)];[_0x2751b5(0x12a)];[_0x2751b5(0xf3)];[_0x2751b5(0x13d)];static get[_0x2751b5(0x11f)](){const _0x48a222=_0x2751b5;return _0x48a222(0x114);}static get[_0x2751b5(0xf4)](){return!0x0;}static get[_0x2751b5(0xe5)](){return!0x0;}constructor(_0x59ac84){const _0x47a7aa=_0x2751b5;super(_0x59ac84),this[_0x47a7aa(0x116)](_0x47a7aa(0xea),void 0x0),this[_0x47a7aa(0x134)]=this[_0x47a7aa(0xfc)](),this[_0x47a7aa(0x116)](_0x47a7aa(0xff),null),this[_0x47a7aa(0x106)]=0x19,this[_0x47a7aa(0x12a)]=new Map(),this[_0x47a7aa(0xf3)]=new Map(),this[_0x47a7aa(0x13a)][_0x47a7aa(0x103)][_0x47a7aa(0xf6)](_0x47a7aa(0xe4),!0x1),this[_0x47a7aa(0x10f)]=null,this[_0x47a7aa(0xe3)]=null,this[_0x47a7aa(0x13d)]=[];}[_0x2751b5(0x11b)](){const _0xb5908f=_0x2751b5,_0xd040fc=this[_0xb5908f(0x13a)][_0xb5908f(0x103)][_0xb5908f(0xfb)](_0xb5908f(0x102));_0xd040fc&&this[_0xb5908f(0x113)](_0xd040fc);}[_0x2751b5(0x113)](_0x18c5bb){const _0x7698a2=_0x2751b5;if(!g(_0x18c5bb))throw new _0x173bdb(_0x7698a2(0x10b));this[_0x7698a2(0xff)]=_0x18c5bb;}[_0x2751b5(0x128)]({viewClass:_0x1e6a35='',spaceBetweenItems:_0x1928b0=0x19}={}){const _0x510e1d=_0x2751b5;if(!g(this[_0x510e1d(0xff)]))throw new _0x173bdb(_0x510e1d(0x12e),this);this[_0x510e1d(0xff)][_0x510e1d(0x120)](this[_0x510e1d(0x134)][_0x510e1d(0x11a)]),this[_0x510e1d(0x134)][_0x510e1d(0xee)]=_0x1e6a35,this[_0x510e1d(0x106)]=_0x1928b0;}[_0x2751b5(0x118)]({removedAnnotation:_0x4f2864,previousAnnotation:_0x42360a,nextAnnotation:_0x50ad62}){const _0x29a121=_0x2751b5,_0xb9e271=this[_0x29a121(0x101)](_0x4f2864);this[_0x29a121(0x134)][_0x29a121(0x13c)][_0x29a121(0x139)](_0xb9e271),this[_0x29a121(0x131)](_0x4f2864),_0x42360a&&this[_0x29a121(0x107)](this[_0x29a121(0x101)](_0x42360a)),_0x50ad62&&this[_0x29a121(0x107)](this[_0x29a121(0x101)](_0x50ad62)),this[_0x29a121(0x110)]();}[_0x2751b5(0x111)]({blurredAnnotation:_0x1aaaad,activatedAnnotation:_0x147905,disableAnimationOnActivatedAnnotation:_0x297fbe}){const _0x3870b9=_0x2751b5;if(this[_0x3870b9(0xe3)]=_0x147905,_0x1aaaad){_0x1aaaad[_0x3870b9(0x117)]=!0x1;const _0x1067ba=this[_0x3870b9(0x101)](_0x1aaaad);_0x1067ba&&_0x297fbe&&(_0x1067ba[_0x3870b9(0xfa)]=!0x1);}if(_0x147905){const _0x1ac08b=this[_0x3870b9(0x101)](_0x147905);_0x1ac08b&&(_0x147905[_0x3870b9(0x117)]=!0x0,_0x297fbe&&(_0x1ac08b[_0x3870b9(0xfa)]=!0x0,_0x1ac08b[_0x3870b9(0xf0)]+=0x1),this[_0x3870b9(0x107)](_0x1ac08b));}}[_0x2751b5(0x12f)](_0x5625c4){const _0x366c7c=_0x2751b5;if(this[_0x366c7c(0x134)][_0x366c7c(0x11a)][_0x366c7c(0x139)](),_0x5625c4){for(const _0x237f91 of _0x5625c4)this[_0x366c7c(0x131)](_0x237f91);}this[_0x366c7c(0x134)][_0x366c7c(0x13c)][_0x366c7c(0x13b)](),this[_0x366c7c(0x134)][_0x366c7c(0xee)]='',this[_0x366c7c(0xea)]=null;}[_0x2751b5(0x130)](_0x4d3fe6,_0x5be840){const _0x184b7b=_0x2751b5;_0x5be840||(_0x5be840=_0x4d3fe6[_0x184b7b(0x134)]);const _0x467327=new _0x18f178(this[_0x184b7b(0x13a)][_0x184b7b(0x138)]);this[_0x184b7b(0x12a)][_0x184b7b(0x116)](_0x467327,_0x4d3fe6),this[_0x184b7b(0xf3)][_0x184b7b(0x116)](_0x4d3fe6,_0x467327),_0x467327[_0x184b7b(0x135)][_0x184b7b(0x10d)](_0x5be840),this[_0x184b7b(0x126)](_0x4d3fe6[_0x184b7b(0x134)],_0x184b7b(0xf7),(_0x5b7e59,_0x18ecf0,_0x325162)=>{const _0x37e0ff=_0x184b7b,_0x402ee2=this[_0x37e0ff(0x109)](_0x4d3fe6,_0x325162);_0x467327[_0x37e0ff(0x136)]!=_0x402ee2&&(_0x467327[_0x37e0ff(0x136)]=_0x402ee2,this[_0x37e0ff(0x124)](_0x467327,_0x402ee2));}),this[_0x184b7b(0x126)](_0x467327,_0x184b7b(0x125),()=>{const _0x5a8ae6=_0x184b7b;this[_0x5a8ae6(0x12b)](_0x467327,_0x5a8ae6(0xf0));}),this[_0x184b7b(0x126)](_0x467327,_0x184b7b(0xe7),()=>{const _0x194d7c=_0x184b7b;this[_0x194d7c(0x12b)](_0x467327,_0x194d7c(0x112));}),this[_0x184b7b(0x107)](_0x467327);const _0x3b107e=this[_0x184b7b(0xfd)](_0x467327);if(_0x3b107e)this[_0x184b7b(0xec)](_0x3b107e,_0x467327)||this[_0x184b7b(0x107)](_0x467327);else this[_0x184b7b(0x107)](_0x467327);return this[_0x184b7b(0x110)](),this[_0x184b7b(0x134)][_0x184b7b(0x13c)][_0x184b7b(0x10d)](_0x467327),_0x467327;}[_0x2751b5(0x133)](_0x5dc3ea){const _0x845000=_0x2751b5;if(!_0x5dc3ea[_0x845000(0x135)][_0x845000(0xf5)])return;const _0x4d574d=this[_0x845000(0xfd)](_0x5dc3ea);if(!_0x4d574d)return;const _0x470103=this[_0x845000(0x12a)][_0x845000(0xfb)](_0x4d574d),_0x4d3e9b=this[_0x845000(0xe3)];_0x4d3e9b&&_0x4d3e9b===_0x470103?this[_0x845000(0xec)](_0x4d574d,_0x5dc3ea):this[_0x845000(0x10e)](_0x5dc3ea,_0x4d574d);}[_0x2751b5(0xe9)](_0x90f41a){const _0x5582ff=_0x2751b5;if(!_0x90f41a[_0x5582ff(0x135)][_0x5582ff(0xf5)])return;const _0x61b8f1=this[_0x5582ff(0xf2)](_0x90f41a);if(!_0x61b8f1)return;const _0x43a5f5=this[_0x5582ff(0x12a)][_0x5582ff(0xfb)](_0x61b8f1),_0xe37d7f=this[_0x5582ff(0x13a)][_0x5582ff(0x103)][_0x5582ff(0xfb)](_0x5582ff(0xe4)),_0x3e9f16=this[_0x5582ff(0xe3)];_0x3e9f16&&_0x3e9f16===_0x43a5f5&&_0xe37d7f?(this[_0x5582ff(0x10e)](_0x61b8f1,_0x90f41a),this[_0x5582ff(0xec)](_0x90f41a,_0x61b8f1)):_0x3e9f16&&_0x3e9f16===_0x43a5f5?this[_0x5582ff(0x10e)](_0x61b8f1,_0x90f41a):this[_0x5582ff(0xec)](_0x90f41a,_0x61b8f1);}[_0x2751b5(0x12b)](_0x2c0a4a,_0x5ab2c5){const _0x46862b=_0x2751b5;0x0===this[_0x46862b(0x13d)][_0x46862b(0xf5)]&&setTimeout(()=>{const _0x26f29e=_0x46862b;for(const {sidebarItemView:_0x177c07,changedProp:_0x462959}of this[_0x26f29e(0x13d)])_0x26f29e(0xf0)===_0x462959?this[_0x26f29e(0x133)](_0x177c07):this[_0x26f29e(0xe9)](_0x177c07);this[_0x26f29e(0x13d)]=[];},0xa),this[_0x46862b(0x13d)][_0x46862b(0x104)]({'sidebarItemView':_0x2c0a4a,'changedProp':_0x5ab2c5});}[_0x2751b5(0x101)](_0x495acf){const _0x4769ec=_0x2751b5;return this[_0x4769ec(0xf3)][_0x4769ec(0xfb)](_0x495acf);}[_0x2751b5(0x127)](){const _0x147ebf=_0x2751b5;this[_0x147ebf(0xe6)](),this[_0x147ebf(0x134)][_0x147ebf(0x127)]();}[_0x2751b5(0x131)](_0x16e5da){const _0x4975b2=_0x2751b5,_0x124692=this[_0x4975b2(0x101)](_0x16e5da);this[_0x4975b2(0xe6)](_0x124692),this[_0x4975b2(0xe6)](_0x16e5da[_0x4975b2(0x134)]),_0x124692[_0x4975b2(0x127)](),this[_0x4975b2(0xf3)][_0x4975b2(0x137)](_0x16e5da),this[_0x4975b2(0x12a)][_0x4975b2(0x137)](_0x124692);}[_0x2751b5(0xfc)](){const _0x4427f4=_0x2751b5,_0x455b83=new _0x4e390e(this[_0x4427f4(0x13a)][_0x4427f4(0x138)]);return _0x455b83[_0x4427f4(0xf8)](),this['on'](_0x4427f4(0x12c),(_0x1a24f1,_0x4a84c4,_0x3d4fde,_0x2c5673)=>{const _0x76f485=_0x4427f4;_0x2c5673&&_0x455b83[_0x76f485(0x12d)](_0x76f485(0x132)),_0x3d4fde?_0x455b83[_0x76f485(0x11e)](_0x76f485(0x132))['to'](_0x3d4fde,_0x76f485(0x112)):_0x455b83[_0x76f485(0x132)]=null;}),_0x455b83;}[_0x2751b5(0x110)](){const _0x5e330f=_0x2751b5;this[_0x5e330f(0xea)]=this[_0x5e330f(0x10f)]?.[_0x5e330f(0xf9)]?this[_0x5e330f(0x101)](this[_0x5e330f(0x10f)][_0x5e330f(0xf9)]):null;}[_0x2751b5(0xfd)](_0x40f2ea){const _0x4a43c2=_0x2751b5,_0x134940=this[_0x4a43c2(0x12a)][_0x4a43c2(0xfb)](_0x40f2ea),_0x5e38a3=_0x134940&&this[_0x4a43c2(0x10f)]?.[_0x4a43c2(0xfb)](this[_0x4a43c2(0x10f)][_0x4a43c2(0xfe)](_0x134940)-0x1);return _0x5e38a3&&this[_0x4a43c2(0x101)](_0x5e38a3)||null;}[_0x2751b5(0xf2)](_0x3f222e){const _0xc45089=_0x2751b5,_0x2e02d5=this[_0xc45089(0x12a)][_0xc45089(0xfb)](_0x3f222e),_0x4dc054=_0x2e02d5&&this[_0xc45089(0x10f)]?.[_0xc45089(0xfb)](this[_0xc45089(0x10f)][_0xc45089(0xfe)](_0x2e02d5)+0x1);return _0x4dc054&&this[_0xc45089(0x101)](_0x4dc054)||null;}[_0x2751b5(0x10e)](_0x2048a3,_0x4ee041){const _0x37d3f1=_0x2751b5;_0x2048a3[_0x37d3f1(0x129)]();const _0x5ac737=G(_0x4ee041[_0x37d3f1(0x112)]+this[_0x37d3f1(0x106)],_0x2048a3[_0x37d3f1(0xf0)]);return!!_0x5ac737&&(this[_0x37d3f1(0x124)](_0x4ee041,_0x4ee041[_0x37d3f1(0xf0)]-_0x5ac737),!0x0);}[_0x2751b5(0xec)](_0x49b449,_0x370301){const _0x482549=_0x2751b5;_0x49b449[_0x482549(0x129)]();const _0x12b907=G(_0x49b449[_0x482549(0x112)]+this[_0x482549(0x106)],_0x370301[_0x482549(0xf0)]);return!!_0x12b907&&(this[_0x482549(0x124)](_0x370301,_0x370301[_0x482549(0xf0)]+_0x12b907,!0x1),!0x0);}[_0x2751b5(0x107)](_0x184f14){const _0x3683c1=_0x2751b5,_0x3c0508=this[_0x3683c1(0x12a)][_0x3683c1(0xfb)](_0x184f14);if(!_0x3c0508||!_0x3c0508[_0x3683c1(0x11c)]||!_0x3c0508[_0x3683c1(0x121)])return;const _0x57b814=this[_0x3683c1(0x109)](_0x3c0508,_0x3c0508[_0x3683c1(0x121)]);this[_0x3683c1(0x124)](_0x184f14,_0x57b814);}[_0x2751b5(0x109)](_0x25acfb,_0x2dfc6a){const _0x2bf676=_0x2751b5;if(null===_0x2dfc6a)return 0x0;if(_0x25acfb[_0x2bf676(0x11c)]instanceof _0x57a329)return _0x2dfc6a[_0x2bf676(0xf0)];{const _0x55a922=new _0x57a329(this[_0x2bf676(0x134)][_0x2bf676(0x11a)])[_0x2bf676(0xf0)];return _0x2dfc6a[_0x2bf676(0xf0)]-_0x55a922;}}[_0x2751b5(0x124)](_0x296714,_0x56da4c,_0x54bc48=this[_0x2751b5(0x13a)][_0x2751b5(0x103)][_0x2751b5(0xfb)](_0x2751b5(0xe4))){const _0x26799b=_0x2751b5;_0x54bc48&&(_0x56da4c=Math[_0x26799b(0x13e)](_0x56da4c,this[_0x26799b(0xeb)](_0x296714))),_0x296714[_0x26799b(0xf0)]=_0x56da4c;}[_0x2751b5(0xeb)](_0x5ba8d4){const _0x5af62e=_0x2751b5;let _0x57451b=this[_0x5af62e(0xfd)](_0x5ba8d4),_0x232904=0x0;for(;_0x57451b;)_0x57451b[_0x5af62e(0x129)](),_0x232904+=this[_0x5af62e(0x106)]+_0x57451b[_0x5af62e(0x105)],_0x57451b=this[_0x5af62e(0xfd)](_0x57451b);return _0x232904;}}function G(_0xa9d5a4,_0x76e18d){const _0x28819b=_0x2751b5;return Math[_0x28819b(0x13e)](_0xa9d5a4-_0x76e18d,0x0);}function g(_0x2dc247){const _0x2a88ef=_0x2751b5;return null!==_0x2dc247&&_0x2a88ef(0x108)==typeof _0x2dc247&&0x1===_0x2dc247[_0x2a88ef(0x119)];}
|
|
23
|
+
const _0xab1553=_0x3ee8;(function(_0x25ba68,_0x2279e8){const _0x260364=_0x3ee8,_0x29cab8=_0x25ba68();while(!![]){try{const _0x354d46=parseInt(_0x260364(0xaa))/0x1+parseInt(_0x260364(0xb0))/0x2*(parseInt(_0x260364(0xc5))/0x3)+-parseInt(_0x260364(0x94))/0x4*(parseInt(_0x260364(0x9c))/0x5)+parseInt(_0x260364(0xc2))/0x6*(-parseInt(_0x260364(0x82))/0x7)+-parseInt(_0x260364(0x88))/0x8+parseInt(_0x260364(0x96))/0x9*(-parseInt(_0x260364(0xcb))/0xa)+parseInt(_0x260364(0xb1))/0xb;if(_0x354d46===_0x2279e8)break;else _0x29cab8['push'](_0x29cab8['shift']());}catch(_0x4cd27d){_0x29cab8['push'](_0x29cab8['shift']());}}}(_0x1261,0xeeb62));import{ContextPlugin as _0x414711}from'ckeditor5/src/core.js';function _0x1261(){const _0x5afccb=['_recalculateBuffer','define','object','config','_alignToTargetRect','10gocUMR','getIndex','isAnimationDisabled','change:_lastItem','clear','_annotationToSidebarItemView','container','isOfficialPlugin','appendChild','_alignBeforeItem','height','max','context','set','1602049YUJOqO','get','_destroySidebarItemView','add','render','isPremiumPlugin','2203888yhjGFK','39867113icrYfi','class','sidebar-setcontainer-invalid-element','_createSidebarView','addAnnotation','target','length','_getMaxAvailableTop','change:top','locale','sidebar-attachtocontainer-missing-container','setContainer','sidebar.container','_updateLastItem','listenTo','_setItemTop','_activeAnnotation','6dihwFu','targetRect','_sidebarItemViewToAnnotation','3xzzbOV','_attachToContainer','content','_spaceBetweenItems','_getItemAfter','push','3410QofBTl','remove','getSidebarItemView','updateHeight','change:targetRect','_getTargetTop','isActive','_annotations','_alignForBottomChange','pluginName','_recalculate','sidebar.preventScrollOutOfView','_alignAfterItem','change:bottom','list','rearrange','top','element','_getItemBefore','10637186lVxHZa','nodeType','refresh','bind','stopListening','unbind','14421160vFQpTB','_lastItem','init','view','destroy','Sidebar','delete','_targetTop','_detachFromContainer','last','bottom','minHeight','1520184IVQgRS','_alignForTopChange','33471QzmslN'];_0x1261=function(){return _0x5afccb;};return _0x1261();}import{Rect as _0x14e414,CKEditorError as _0x11415a}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x282f95}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x4b648d}from'./view/sidebaritemview.js';function _0x3ee8(_0x4fbaa9,_0x279b34){const _0x126128=_0x1261();return _0x3ee8=function(_0x3ee88e,_0x16c8d9){_0x3ee88e=_0x3ee88e-0x76;let _0x4c99f8=_0x126128[_0x3ee88e];return _0x4c99f8;},_0x3ee8(_0x4fbaa9,_0x279b34);}export class Sidebar extends _0x414711{[_0xab1553(0x8b)];[_0xab1553(0xc1)];[_0xab1553(0x76)];[_0xab1553(0xc8)];[_0xab1553(0xc4)];[_0xab1553(0xa1)];[_0xab1553(0x97)];static get[_0xab1553(0x78)](){const _0x3370de=_0xab1553;return _0x3370de(0x8d);}static get[_0xab1553(0xa3)](){return!0x0;}static get[_0xab1553(0xaf)](){return!0x0;}constructor(_0x40409e){const _0x2f3365=_0xab1553;super(_0x40409e),this[_0x2f3365(0xa9)](_0x2f3365(0x89),void 0x0),this[_0x2f3365(0x8b)]=this[_0x2f3365(0xb4)](),this[_0x2f3365(0xa9)](_0x2f3365(0xa2),null),this[_0x2f3365(0xc8)]=0x19,this[_0x2f3365(0xc4)]=new Map(),this[_0x2f3365(0xa1)]=new Map(),this[_0x2f3365(0xa8)][_0x2f3365(0x9a)][_0x2f3365(0x98)](_0x2f3365(0x7a),!0x1),this[_0x2f3365(0x76)]=null,this[_0x2f3365(0xc1)]=null,this[_0x2f3365(0x97)]=[];}[_0xab1553(0x8a)](){const _0xd479dc=_0xab1553,_0x5ea85f=this[_0xd479dc(0xa8)][_0xd479dc(0x9a)][_0xd479dc(0xab)](_0xd479dc(0xbd));_0x5ea85f&&this[_0xd479dc(0xbc)](_0x5ea85f);}[_0xab1553(0xbc)](_0x67a6cc){const _0x1f79bf=_0xab1553;if(!g(_0x67a6cc))throw new _0x11415a(_0x1f79bf(0xb3));this[_0x1f79bf(0xa2)]=_0x67a6cc;}[_0xab1553(0xc6)]({viewClass:_0x434aeb='',spaceBetweenItems:_0x51881c=0x19}={}){const _0x286391=_0xab1553;if(!g(this[_0x286391(0xa2)]))throw new _0x11415a(_0x286391(0xbb),this);this[_0x286391(0xa2)][_0x286391(0xa4)](this[_0x286391(0x8b)][_0x286391(0x80)]),this[_0x286391(0x8b)][_0x286391(0xb2)]=_0x434aeb,this[_0x286391(0xc8)]=_0x51881c;}[_0xab1553(0x7e)]({removedAnnotation:_0x366ec3,previousAnnotation:_0x56d72d,nextAnnotation:_0x8bde26}){const _0x57264e=_0xab1553,_0x1f9247=this[_0x57264e(0xcd)](_0x366ec3);this[_0x57264e(0x8b)][_0x57264e(0x7d)][_0x57264e(0xcc)](_0x1f9247),this[_0x57264e(0xac)](_0x366ec3),_0x56d72d&&this[_0x57264e(0x9b)](this[_0x57264e(0xcd)](_0x56d72d)),_0x8bde26&&this[_0x57264e(0x9b)](this[_0x57264e(0xcd)](_0x8bde26)),this[_0x57264e(0xbe)]();}[_0xab1553(0x84)]({blurredAnnotation:_0x1563f8,activatedAnnotation:_0x518756,disableAnimationOnActivatedAnnotation:_0x5f353e}){const _0x382358=_0xab1553;if(this[_0x382358(0xc1)]=_0x518756,_0x1563f8){_0x1563f8[_0x382358(0xd1)]=!0x1;const _0x9d9fc8=this[_0x382358(0xcd)](_0x1563f8);_0x9d9fc8&&_0x5f353e&&(_0x9d9fc8[_0x382358(0x9e)]=!0x1);}if(_0x518756){const _0x31c010=this[_0x382358(0xcd)](_0x518756);_0x31c010&&(_0x518756[_0x382358(0xd1)]=!0x0,_0x5f353e&&(_0x31c010[_0x382358(0x9e)]=!0x0,_0x31c010[_0x382358(0x7f)]+=0x1),this[_0x382358(0x9b)](_0x31c010));}}[_0xab1553(0x90)](_0x5ada23){const _0x415a09=_0xab1553;if(this[_0x415a09(0x8b)][_0x415a09(0x80)][_0x415a09(0xcc)](),_0x5ada23){for(const _0x4bb3b3 of _0x5ada23)this[_0x415a09(0xac)](_0x4bb3b3);}this[_0x415a09(0x8b)][_0x415a09(0x7d)][_0x415a09(0xa0)](),this[_0x415a09(0x8b)][_0x415a09(0xb2)]='',this[_0x415a09(0x89)]=null;}[_0xab1553(0xb5)](_0x1ae076,_0x2c44ee){const _0x3dc38c=_0xab1553;_0x2c44ee||(_0x2c44ee=_0x1ae076[_0x3dc38c(0x8b)]);const _0x2767c8=new _0x4b648d(this[_0x3dc38c(0xa8)][_0x3dc38c(0xba)]);this[_0x3dc38c(0xc4)][_0x3dc38c(0xa9)](_0x2767c8,_0x1ae076),this[_0x3dc38c(0xa1)][_0x3dc38c(0xa9)](_0x1ae076,_0x2767c8),_0x2767c8[_0x3dc38c(0xc7)][_0x3dc38c(0xad)](_0x2c44ee),this[_0x3dc38c(0xbf)](_0x1ae076[_0x3dc38c(0x8b)],_0x3dc38c(0xcf),(_0x5b84cc,_0x2d55c6,_0x39210e)=>{const _0x4a579a=_0x3dc38c,_0x1101fd=this[_0x4a579a(0xd0)](_0x1ae076,_0x39210e);_0x2767c8[_0x4a579a(0x8f)]!=_0x1101fd&&(_0x2767c8[_0x4a579a(0x8f)]=_0x1101fd,this[_0x4a579a(0xc0)](_0x2767c8,_0x1101fd));}),this[_0x3dc38c(0xbf)](_0x2767c8,_0x3dc38c(0xb9),()=>{const _0x13d844=_0x3dc38c;this[_0x13d844(0x79)](_0x2767c8,_0x13d844(0x7f));}),this[_0x3dc38c(0xbf)](_0x2767c8,_0x3dc38c(0x7c),()=>{const _0x351d77=_0x3dc38c;this[_0x351d77(0x79)](_0x2767c8,_0x351d77(0x92));}),this[_0x3dc38c(0x9b)](_0x2767c8);const _0x5d0642=this[_0x3dc38c(0x81)](_0x2767c8);if(_0x5d0642)this[_0x3dc38c(0x7b)](_0x5d0642,_0x2767c8)||this[_0x3dc38c(0x9b)](_0x2767c8);else this[_0x3dc38c(0x9b)](_0x2767c8);return this[_0x3dc38c(0xbe)](),this[_0x3dc38c(0x8b)][_0x3dc38c(0x7d)][_0x3dc38c(0xad)](_0x2767c8),_0x2767c8;}[_0xab1553(0x95)](_0x174050){const _0x41e259=_0xab1553;if(!_0x174050[_0x41e259(0xc7)][_0x41e259(0xb7)])return;const _0x3a40df=this[_0x41e259(0x81)](_0x174050);if(!_0x3a40df)return;const _0x538f60=this[_0x41e259(0xc4)][_0x41e259(0xab)](_0x3a40df),_0x30c683=this[_0x41e259(0xc1)];_0x30c683&&_0x30c683===_0x538f60?this[_0x41e259(0x7b)](_0x3a40df,_0x174050):this[_0x41e259(0xa5)](_0x174050,_0x3a40df);}[_0xab1553(0x77)](_0x498185){const _0x5ab241=_0xab1553;if(!_0x498185[_0x5ab241(0xc7)][_0x5ab241(0xb7)])return;const _0xf57f85=this[_0x5ab241(0xc9)](_0x498185);if(!_0xf57f85)return;const _0xa6e87e=this[_0x5ab241(0xc4)][_0x5ab241(0xab)](_0xf57f85),_0x1d4b61=this[_0x5ab241(0xa8)][_0x5ab241(0x9a)][_0x5ab241(0xab)](_0x5ab241(0x7a)),_0x805c94=this[_0x5ab241(0xc1)];_0x805c94&&_0x805c94===_0xa6e87e&&_0x1d4b61?(this[_0x5ab241(0xa5)](_0xf57f85,_0x498185),this[_0x5ab241(0x7b)](_0x498185,_0xf57f85)):_0x805c94&&_0x805c94===_0xa6e87e?this[_0x5ab241(0xa5)](_0xf57f85,_0x498185):this[_0x5ab241(0x7b)](_0x498185,_0xf57f85);}[_0xab1553(0x79)](_0x473f68,_0x427bdc){const _0x4f5aaa=_0xab1553;0x0===this[_0x4f5aaa(0x97)][_0x4f5aaa(0xb7)]&&setTimeout(()=>{const _0x5dbd22=_0x4f5aaa;for(const {sidebarItemView:_0x5d4e02,changedProp:_0x39fec2}of this[_0x5dbd22(0x97)])_0x5dbd22(0x7f)===_0x39fec2?this[_0x5dbd22(0x95)](_0x5d4e02):this[_0x5dbd22(0x77)](_0x5d4e02);this[_0x5dbd22(0x97)]=[];},0xa),this[_0x4f5aaa(0x97)][_0x4f5aaa(0xca)]({'sidebarItemView':_0x473f68,'changedProp':_0x427bdc});}[_0xab1553(0xcd)](_0x371aaf){const _0x558eb4=_0xab1553;return this[_0x558eb4(0xa1)][_0x558eb4(0xab)](_0x371aaf);}[_0xab1553(0x8c)](){const _0x35b8d1=_0xab1553;this[_0x35b8d1(0x86)](),this[_0x35b8d1(0x8b)][_0x35b8d1(0x8c)]();}[_0xab1553(0xac)](_0x1e8e29){const _0x2d5040=_0xab1553,_0x4bdbea=this[_0x2d5040(0xcd)](_0x1e8e29);this[_0x2d5040(0x86)](_0x4bdbea),this[_0x2d5040(0x86)](_0x1e8e29[_0x2d5040(0x8b)]),_0x4bdbea[_0x2d5040(0x8c)](),this[_0x2d5040(0xa1)][_0x2d5040(0x8e)](_0x1e8e29),this[_0x2d5040(0xc4)][_0x2d5040(0x8e)](_0x4bdbea);}[_0xab1553(0xb4)](){const _0x36e1d5=_0xab1553,_0x373756=new _0x282f95(this[_0x36e1d5(0xa8)][_0x36e1d5(0xba)]);return _0x373756[_0x36e1d5(0xae)](),this['on'](_0x36e1d5(0x9f),(_0x575371,_0x62a45d,_0x469681,_0x408aea)=>{const _0x29e642=_0x36e1d5;_0x408aea&&_0x373756[_0x29e642(0x87)](_0x29e642(0x93)),_0x469681?_0x373756[_0x29e642(0x85)](_0x29e642(0x93))['to'](_0x469681,_0x29e642(0x92)):_0x373756[_0x29e642(0x93)]=null;}),_0x373756;}[_0xab1553(0xbe)](){const _0x111ac9=_0xab1553;this[_0x111ac9(0x89)]=this[_0x111ac9(0x76)]?.[_0x111ac9(0x91)]?this[_0x111ac9(0xcd)](this[_0x111ac9(0x76)][_0x111ac9(0x91)]):null;}[_0xab1553(0x81)](_0x5a2ff5){const _0xd82c87=_0xab1553,_0x172222=this[_0xd82c87(0xc4)][_0xd82c87(0xab)](_0x5a2ff5),_0x412fdb=_0x172222&&this[_0xd82c87(0x76)]?.[_0xd82c87(0xab)](this[_0xd82c87(0x76)][_0xd82c87(0x9d)](_0x172222)-0x1);return _0x412fdb&&this[_0xd82c87(0xcd)](_0x412fdb)||null;}[_0xab1553(0xc9)](_0x3e2313){const _0x40337b=_0xab1553,_0x23e2dc=this[_0x40337b(0xc4)][_0x40337b(0xab)](_0x3e2313),_0x41f5d1=_0x23e2dc&&this[_0x40337b(0x76)]?.[_0x40337b(0xab)](this[_0x40337b(0x76)][_0x40337b(0x9d)](_0x23e2dc)+0x1);return _0x41f5d1&&this[_0x40337b(0xcd)](_0x41f5d1)||null;}[_0xab1553(0xa5)](_0x566f1f,_0x58d47e){const _0x190df7=_0xab1553;_0x566f1f[_0x190df7(0xce)]();const _0x495327=G(_0x58d47e[_0x190df7(0x92)]+this[_0x190df7(0xc8)],_0x566f1f[_0x190df7(0x7f)]);return!!_0x495327&&(this[_0x190df7(0xc0)](_0x58d47e,_0x58d47e[_0x190df7(0x7f)]-_0x495327),!0x0);}[_0xab1553(0x7b)](_0x284610,_0xf715db){const _0x4a97db=_0xab1553;_0x284610[_0x4a97db(0xce)]();const _0x2eb3e7=G(_0x284610[_0x4a97db(0x92)]+this[_0x4a97db(0xc8)],_0xf715db[_0x4a97db(0x7f)]);return!!_0x2eb3e7&&(this[_0x4a97db(0xc0)](_0xf715db,_0xf715db[_0x4a97db(0x7f)]+_0x2eb3e7,!0x1),!0x0);}[_0xab1553(0x9b)](_0x5b68ef){const _0x5f0db6=_0xab1553,_0x1b9fc6=this[_0x5f0db6(0xc4)][_0x5f0db6(0xab)](_0x5b68ef);if(!_0x1b9fc6||!_0x1b9fc6[_0x5f0db6(0xb6)]||!_0x1b9fc6[_0x5f0db6(0xc3)])return;const _0x304e9c=this[_0x5f0db6(0xd0)](_0x1b9fc6,_0x1b9fc6[_0x5f0db6(0xc3)]);this[_0x5f0db6(0xc0)](_0x5b68ef,_0x304e9c);}[_0xab1553(0xd0)](_0x87e33a,_0x29b30c){const _0x4623e3=_0xab1553;if(null===_0x29b30c)return 0x0;if(_0x87e33a[_0x4623e3(0xb6)]instanceof _0x14e414)return _0x29b30c[_0x4623e3(0x7f)];{const _0x479bf8=new _0x14e414(this[_0x4623e3(0x8b)][_0x4623e3(0x80)])[_0x4623e3(0x7f)];return _0x29b30c[_0x4623e3(0x7f)]-_0x479bf8;}}[_0xab1553(0xc0)](_0x5c888d,_0xd1d33b,_0x15cf96=this[_0xab1553(0xa8)][_0xab1553(0x9a)][_0xab1553(0xab)](_0xab1553(0x7a))){const _0xbe452f=_0xab1553;_0x15cf96&&(_0xd1d33b=Math[_0xbe452f(0xa7)](_0xd1d33b,this[_0xbe452f(0xb8)](_0x5c888d))),_0x5c888d[_0xbe452f(0x7f)]=_0xd1d33b;}[_0xab1553(0xb8)](_0x283c76){const _0x192704=_0xab1553;let _0xf9eb1a=this[_0x192704(0x81)](_0x283c76),_0x5646cf=0x0;for(;_0xf9eb1a;)_0xf9eb1a[_0x192704(0xce)](),_0x5646cf+=this[_0x192704(0xc8)]+_0xf9eb1a[_0x192704(0xa6)],_0xf9eb1a=this[_0x192704(0x81)](_0xf9eb1a);return _0x5646cf;}}function G(_0x1583a2,_0x19e7a2){const _0x11ef30=_0xab1553;return Math[_0x11ef30(0xa7)](_0x1583a2-_0x19e7a2,0x0);}function g(_0x1bfd50){const _0x2dfe24=_0xab1553;return null!==_0x1bfd50&&_0x2dfe24(0x99)==typeof _0x1bfd50&&0x1===_0x1bfd50[_0x2dfe24(0x83)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x554b(_0x49b487,_0x32f2d4){const _0x1ff7ce=_0x1ff7();return _0x554b=function(_0x554be2,_0x5e9837){_0x554be2=_0x554be2-0x1e2;let _0x510932=_0x1ff7ce[_0x554be2];return _0x510932;},_0x554b(_0x49b487,_0x32f2d4);}const _0x14617b=_0x554b;(function(_0x354a9e,_0x4bd22d){const _0x512975=_0x554b,_0x5c9ed0=_0x354a9e();while(!![]){try{const _0x347a30=parseInt(_0x512975(0x200))/0x1*(parseInt(_0x512975(0x1fe))/0x2)+parseInt(_0x512975(0x1e2))/0x3+-parseInt(_0x512975(0x1f9))/0x4+parseInt(_0x512975(0x1f0))/0x5+parseInt(_0x512975(0x1f1))/0x6*(-parseInt(_0x512975(0x1f7))/0x7)+parseInt(_0x512975(0x1fd))/0x8*(parseInt(_0x512975(0x1ed))/0x9)+parseInt(_0x512975(0x1ef))/0xa*(-parseInt(_0x512975(0x1f5))/0xb);if(_0x347a30===_0x4bd22d)break;else _0x5c9ed0['push'](_0x5c9ed0['shift']());}catch(_0x4ccde1){_0x5c9ed0['push'](_0x5c9ed0['shift']());}}}(_0x1ff7,0x9421d));import{ButtonView as _0x46752b,View as _0x3d306c}from'ckeditor5/src/ui.js';function _0x1ff7(){const _0x1d388c=['...','ck-annotation-counter__badge--edit-mode','ck-annotation-counter__badge--','toString','1269486IJUhqV','add','428210gMxFoz','5909135qrglPL','2967834KharGF','bind','span','ck-annotation-counter','209UtSvsp','bindTemplate','7RkomST','_badge','3094140uVisKS','isDirty','extendTemplate','annotationType','32JfXYFz','464518PYYpot','ck-annotation-counter__badge','2LwtQQB','1433883OiUyIw','setTemplate','set','counterView','icon','number','children'];_0x1ff7=function(){return _0x1d388c;};return _0x1ff7();}import{IconAddComment as _0x49f1ed}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x46752b{[_0x14617b(0x1e5)];constructor(_0x206284){const _0x3a907f=_0x14617b;super(_0x206284);const _0x5ba569=this[_0x3a907f(0x1f6)];this[_0x3a907f(0x1e4)](_0x3a907f(0x1fa),!0x1),this[_0x3a907f(0x1e4)](_0x3a907f(0x1e7),0x0),this[_0x3a907f(0x1f2)](_0x3a907f(0x1f8))['to'](this,_0x3a907f(0x1fa),this,_0x3a907f(0x1e7),(_0x3a2f4b,_0x1f7f46)=>_0x3a2f4b?_0x3a907f(0x1e9):_0x1f7f46[_0x3a907f(0x1ec)]()),this[_0x3a907f(0x1e4)](_0x3a907f(0x1fc),''),this[_0x3a907f(0x1e6)]=_0x49f1ed,this[_0x3a907f(0x1fb)]({'attributes':{'class':[_0x3a907f(0x1f4)]}}),this[_0x3a907f(0x1e5)]=new _0x3d306c(),this[_0x3a907f(0x1e5)][_0x3a907f(0x1e3)]({'tag':_0x3a907f(0x1f3),'attributes':{'class':[_0x3a907f(0x1ff),_0x5ba569['to'](_0x3a907f(0x1fc),_0x288163=>_0x3a907f(0x1eb)+_0x288163),_0x5ba569['if'](_0x3a907f(0x1fa),_0x3a907f(0x1ea))]},'children':[{'text':_0x5ba569['to'](_0x3a907f(0x1f8))}]}),this[_0x3a907f(0x1e8)][_0x3a907f(0x1ee)](this[_0x3a907f(0x1e5)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15268a=_0x4bbb;(function(_0x598ec4,_0xcabb9){const _0x17d3a2=_0x4bbb,_0x5a60cc=_0x598ec4();while(!![]){try{const _0x124395=parseInt(_0x17d3a2(0x1dd))/0x1*(-parseInt(_0x17d3a2(0x1d5))/0x2)+parseInt(_0x17d3a2(0x1fe))/0x3+parseInt(_0x17d3a2(0x1f9))/0x4*(-parseInt(_0x17d3a2(0x1ff))/0x5)+parseInt(_0x17d3a2(0x1f7))/0x6+-parseInt(_0x17d3a2(0x1d3))/0x7*(parseInt(_0x17d3a2(0x1d0))/0x8)+parseInt(_0x17d3a2(0x1ee))/0x9*(parseInt(_0x17d3a2(0x1f2))/0xa)+parseInt(_0x17d3a2(0x1f0))/0xb;if(_0x124395===_0xcabb9)break;else _0x5a60cc['push'](_0x5a60cc['shift']());}catch(_0x352a64){_0x5a60cc['push'](_0x5a60cc['shift']());}}}(_0x53db,0xb5423));import{View as _0x2e6069}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4e8bb4,KeystrokeHandler as _0x142606,uid as _0x2baaf3}from'ckeditor5/src/utils.js';function _0x4bbb(_0x1e2e36,_0x599cfc){const _0x53db8f=_0x53db();return _0x4bbb=function(_0x4bbb89,_0x1bd871){_0x4bbb89=_0x4bbb89-0x1d0;let _0x42531c=_0x53db8f[_0x4bbb89];return _0x42531c;},_0x4bbb(_0x1e2e36,_0x599cfc);}import{createMutationObserver as _0x52c66f}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x2e6069{[_0x15268a(0x1f3)];['id'];[_0x15268a(0x1e8)];[_0x15268a(0x1fc)];[_0x15268a(0x1d9)];[_0x15268a(0x1d8)];constructor(_0x1777ea,_0xa659de){const _0x2424a8=_0x15268a;super(_0x1777ea),this['id']=_0x2baaf3(),this[_0x2424a8(0x1f3)]=new _0x4e8bb4(),this[_0x2424a8(0x1e8)]=new _0x142606(),this[_0x2424a8(0x1e8)][_0x2424a8(0x1f5)](_0x2424a8(0x1f6),(_0x3cf65d,_0x2d173c)=>this[_0x2424a8(0x1e4)](_0x2424a8(0x1f6),_0x2d173c)),this[_0x2424a8(0x1f5)](_0x2424a8(0x1f4),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x2424a8(0x1f5)](_0x2424a8(0x1fa),0x0),this[_0x2424a8(0x1f5)](_0x2424a8(0x1eb),!0x1),this[_0x2424a8(0x1f5)](_0x2424a8(0x1e0),!0x1),this[_0x2424a8(0x1f5)](_0x2424a8(0x1ea),0x0),this[_0x2424a8(0x1f5)](_0x2424a8(0x1ed),''),this[_0x2424a8(0x1d8)]=_0x52c66f(()=>this[_0x2424a8(0x1e3)]()),this[_0x2424a8(0x1fc)]=this[_0x2424a8(0x1d2)](),this[_0x2424a8(0x1fc)][_0x2424a8(0x1de)](_0x2424a8(0x1e6),_0x2424a8(0x1dc))['to'](this),this[_0x2424a8(0x1fc)][_0x2424a8(0x1e9)](_0xa659de),this[_0x2424a8(0x1d9)]=_0xa659de;const _0x379d01=this[_0x2424a8(0x1d6)];this[_0x2424a8(0x1e5)]({'tag':_0x2424a8(0x1fd),'attributes':{'class':['ck',_0x2424a8(0x1ec),_0x2424a8(0x1da),_0x379d01['if'](_0x2424a8(0x1eb),_0x2424a8(0x1ef))],'role':_0x2424a8(0x1e1)},'children':this[_0x2424a8(0x1fc)]});}[_0x15268a(0x1d4)](){const _0x185aeb=_0x15268a;super[_0x185aeb(0x1d4)](),this[_0x185aeb(0x1f3)][_0x185aeb(0x1e9)](this[_0x185aeb(0x1df)]),this[_0x185aeb(0x1e8)][_0x185aeb(0x1f8)](this[_0x185aeb(0x1df)]),this[_0x185aeb(0x1d8)][_0x185aeb(0x1f1)](this[_0x185aeb(0x1df)]);}[_0x15268a(0x1e7)](){const _0x2b26fc=_0x15268a;this[_0x2b26fc(0x1fc)][_0x2b26fc(0x1db)](),this[_0x2b26fc(0x1e8)][_0x2b26fc(0x1e7)](),this[_0x2b26fc(0x1f3)][_0x2b26fc(0x1e7)](),this[_0x2b26fc(0x1d8)][_0x2b26fc(0x1d7)](),super[_0x2b26fc(0x1e7)]();}[_0x15268a(0x1e2)](){const _0x1b2094=_0x15268a;this[_0x1b2094(0x1fc)][_0x1b2094(0x1fb)]&&this[_0x1b2094(0x1fc)][_0x1b2094(0x1fb)][_0x1b2094(0x1e2)]();}[_0x15268a(0x1e3)](){const _0xc1a4cf=_0x15268a,_0x285d39=this[_0xc1a4cf(0x1df)][_0xc1a4cf(0x1d1)];_0x285d39&&(this[_0xc1a4cf(0x1fa)]=_0x285d39);}}function _0x53db(){const _0x25d62b=['focus','_updateHeight','fire','setTemplate','arrowup','destroy','keystrokes','add','length','isActive','ck-annotation-wrapper','type','8760699vkHznV','ck-annotation-wrapper--active','13062368VVqaXO','attach','10YFhNlK','focusTracker','targetRect','set','Esc','7111290gCkfHG','listenTo','28RaqoaI','height','first','content','div','1000869gkKlLH','874475bxLosV','1041688FOVSVg','clientHeight','createCollection','14GRQtRG','render','25710FZHWKi','bindTemplate','detach','_mutationObserver','mainView','ck-rounded-corners','clear','arrowdown','113WmXQzv','delegate','element','isDirty','presentation'];_0x53db=function(){return _0x25d62b;};return _0x53db();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5c31f7=_0x1be9;function _0x4b67(){const _0x4db10c=['2844816FaMCQp','attach','first','focus','12930336oFXsuA','setTemplate','detach','ck-sidebar-item--no-animation','createCollection','90XSfUNi','arrowdown','element','695453BJkwZH','_targetTop','ck-sidebar-item','35SZdGmB','delegate','clear','updateHeight','bindTemplate','10904334DNNKMg','bottom','8081850Cqjtat','content','bind','render','isAnimationDisabled','9151ZlVBSu','destroy','top','presentation','height','_mutationObserver','set','4HBiZXE','arrowup','76dKJflR','1650279LnDxtR','div','clientHeight'];_0x4b67=function(){return _0x4db10c;};return _0x4b67();}function _0x1be9(_0x4e8fef,_0x4a5e01){const _0x4b6736=_0x4b67();return _0x1be9=function(_0x1be9d3,_0x31f512){_0x1be9d3=_0x1be9d3-0x197;let _0x103225=_0x4b6736[_0x1be9d3];return _0x103225;},_0x1be9(_0x4e8fef,_0x4a5e01);}(function(_0x1a094a,_0x183077){const _0x3b40c5=_0x1be9,_0x518cdd=_0x1a094a();while(!![]){try{const _0x354bd1=parseInt(_0x3b40c5(0x1a1))/0x1*(parseInt(_0x3b40c5(0x1aa))/0x2)+parseInt(_0x3b40c5(0x1ab))/0x3*(-parseInt(_0x3b40c5(0x1a8))/0x4)+-parseInt(_0x3b40c5(0x19c))/0x5+parseInt(_0x3b40c5(0x19a))/0x6+-parseInt(_0x3b40c5(0x1bd))/0x7*(-parseInt(_0x3b40c5(0x1ae))/0x8)+-parseInt(_0x3b40c5(0x1b2))/0x9+-parseInt(_0x3b40c5(0x1b7))/0xa*(-parseInt(_0x3b40c5(0x1ba))/0xb);if(_0x354bd1===_0x183077)break;else _0x518cdd['push'](_0x518cdd['shift']());}catch(_0x121c16){_0x518cdd['push'](_0x518cdd['shift']());}}}(_0x4b67,0xddeb1));import{View as _0x280cf2}from'ckeditor5/src/ui.js';import{toUnit as _0x35f7b4}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x50f01f}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x35f7b4('px');export class AnnotationsSidebarItemView extends _0x280cf2{[_0x5c31f7(0x19d)];[_0x5c31f7(0x1bb)];[_0x5c31f7(0x1a6)];constructor(_0x314c3d){const _0x3dae6b=_0x5c31f7;super(_0x314c3d),this[_0x3dae6b(0x1a7)](_0x3dae6b(0x1a3),0x0),this[_0x3dae6b(0x1a7)](_0x3dae6b(0x1a5),0x0),this[_0x3dae6b(0x19e)](_0x3dae6b(0x19b))['to'](this,_0x3dae6b(0x1a3),this,_0x3dae6b(0x1a5),(_0x3d83d1,_0x5f0806)=>_0x3d83d1+_0x5f0806),this[_0x3dae6b(0x1a7)](_0x3dae6b(0x1a0),!0x1),this[_0x3dae6b(0x1a6)]=_0x50f01f(()=>this[_0x3dae6b(0x198)]()),this[_0x3dae6b(0x1bb)]=null,this[_0x3dae6b(0x19d)]=this[_0x3dae6b(0x1b6)](),this[_0x3dae6b(0x19d)][_0x3dae6b(0x1be)](_0x3dae6b(0x1a9),_0x3dae6b(0x1b8))['to'](this);const _0x3cf47b=this[_0x3dae6b(0x199)];this[_0x3dae6b(0x1b3)]({'tag':_0x3dae6b(0x1ac),'attributes':{'class':[_0x3dae6b(0x1bc),_0x3cf47b['to'](_0x3dae6b(0x1a0),_0x3eeff8=>_0x3eeff8?_0x3dae6b(0x1b5):'')],'style':{'top':_0x3cf47b['to'](_0x3dae6b(0x1a3),_0x46e54d=>Ot(_0x46e54d))},'role':_0x3dae6b(0x1a4)},'children':this[_0x3dae6b(0x19d)]});}[_0x5c31f7(0x19f)](){const _0x10988c=_0x5c31f7;super[_0x10988c(0x19f)](),this[_0x10988c(0x1a6)][_0x10988c(0x1af)](this[_0x10988c(0x1b9)]);}[_0x5c31f7(0x1b1)](){const _0x12b6e3=_0x5c31f7;this[_0x12b6e3(0x19d)][_0x12b6e3(0x1b0)]&&this[_0x12b6e3(0x19d)][_0x12b6e3(0x1b0)][_0x12b6e3(0x1b1)]();}[_0x5c31f7(0x198)](){const _0x5f0c50=_0x5c31f7,_0x12705b=this[_0x5f0c50(0x1b9)][_0x5f0c50(0x1ad)];_0x12705b&&(this[_0x5f0c50(0x1a5)]=_0x12705b);}[_0x5c31f7(0x1a2)](){const _0x48c88e=_0x5c31f7;this[_0x48c88e(0x19d)][_0x48c88e(0x197)](),this[_0x48c88e(0x1a6)][_0x48c88e(0x1b4)](),super[_0x48c88e(0x1a2)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3d6a0a=_0x34f3;(function(_0x46aa3d,_0x56300b){const _0x26275e=_0x34f3,_0x15bde4=_0x46aa3d();while(!![]){try{const _0x2d0c33=parseInt(_0x26275e(0x1f4))/0x1+parseInt(_0x26275e(0x203))/0x2+parseInt(_0x26275e(0x214))/0x3*(parseInt(_0x26275e(0x213))/0x4)+-parseInt(_0x26275e(0x20e))/0x5+parseInt(_0x26275e(0x1fd))/0x6+-parseInt(_0x26275e(0x209))/0x7+parseInt(_0x26275e(0x1f6))/0x8*(-parseInt(_0x26275e(0x1ff))/0x9);if(_0x2d0c33===_0x56300b)break;else _0x15bde4['push'](_0x15bde4['shift']());}catch(_0x5cc2e0){_0x15bde4['push'](_0x15bde4['shift']());}}}(_0xab30,0x54104));import{View as _0x51466f,FocusCycler as _0x4c8d73}from'ckeditor5/src/ui.js';function _0xab30(){const _0xcb188a=['ck-reset','4114512znkYXJ','div','3215349zGPtrt','top','add','render','694716LQRVza','focusPrevious','list','source','focusCycler','listenTo','968023kmztfR','class','length','delegate','createCollection','64995dhKfyR','Annotations\x20list','application','focusables','focus','60404GSPQOP','30WkGMNC','Annotations\x20sidebar','getIndex','_updateItemPositionInFocusables','arrowup','remove','change:top','change','added','focusTracker','arrowdown','removed','forEach','element','number','ck-sidebar','focusFirst','focusNext','26014GBxhQs','setTemplate','16RdxUxH','_setupKeyboardNavigation','set','uiLanguageDirection','bindTemplate','minHeight'];_0xab30=function(){return _0xcb188a;};return _0xab30();}import{FocusTracker as _0x109eae,toUnit as _0x34d393}from'ckeditor5/src/utils.js';import{getTranslation as _0x57be65}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';function _0x34f3(_0x13a7ed,_0x48c9b5){const _0xab3025=_0xab30();return _0x34f3=function(_0x34f3ed,_0x53bda2){_0x34f3ed=_0x34f3ed-0x1e4;let _0x24ac3f=_0xab3025[_0x34f3ed];return _0x24ac3f;},_0x34f3(_0x13a7ed,_0x48c9b5);}const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x34d393('px');export class AnnotationsSidebarView extends _0x51466f{[_0x3d6a0a(0x205)];[_0x3d6a0a(0x211)];[_0x3d6a0a(0x1eb)];[_0x3d6a0a(0x207)];constructor(_0x5a125c){const _0x46cd6d=_0x3d6a0a;super(_0x5a125c);const _0x19f168=this[_0x46cd6d(0x1fa)];this[_0x46cd6d(0x1f8)](_0x46cd6d(0x1fb),0x0),this[_0x46cd6d(0x1f8)](_0x46cd6d(0x20a),''),this[_0x46cd6d(0x205)]=this[_0x46cd6d(0x20d)](),this[_0x46cd6d(0x211)]=this[_0x46cd6d(0x20d)](),this[_0x46cd6d(0x205)][_0x46cd6d(0x20c)](_0x46cd6d(0x1e6),_0x46cd6d(0x1ec))['to'](this),this[_0x46cd6d(0x1eb)]=new _0x109eae(),this[_0x46cd6d(0x207)]=new _0x4c8d73({'focusables':this[_0x46cd6d(0x211)],'focusTracker':this[_0x46cd6d(0x1eb)]}),this[_0x46cd6d(0x1f5)]({'tag':_0x46cd6d(0x1fe),'attributes':{'class':['ck',_0x46cd6d(0x1f1),_0x46cd6d(0x1fc),_0x19f168['to'](_0x46cd6d(0x20a))],'style':{'minHeight':_0x19f168['to'](_0x46cd6d(0x1fb),_0x3b971a=>_0x46cd6d(0x1f0)==typeof _0x3b971a?Ot(_0x3b971a+0xa):null)},'dir':_0x5a125c[_0x46cd6d(0x1f9)],'role':_0x46cd6d(0x210),'aria-label':_0x57be65(_0x5a125c,_0x46cd6d(0x215)),'tabindex':0x0},'children':[{'tag':_0x46cd6d(0x1fe),'attributes':{'role':_0x46cd6d(0x205),'aria-label':_0x57be65(_0x5a125c,_0x46cd6d(0x20f))},'children':this[_0x46cd6d(0x205)]}]});}[_0x3d6a0a(0x202)](){const _0x3da4b7=_0x3d6a0a;super[_0x3da4b7(0x202)](),this[_0x3da4b7(0x1f7)]();}[_0x3d6a0a(0x212)](){const _0x413d12=_0x3d6a0a;this[_0x413d12(0x207)][_0x413d12(0x1f2)]();}[_0x3d6a0a(0x1f7)](){const _0x23108a=_0x3d6a0a;this[_0x23108a(0x205)][_0x23108a(0x20c)](_0x23108a(0x1e8))['to'](this),this['on'](_0x23108a(0x1e8),_0x3bc940=>{const _0xe84747=_0x23108a;this[_0xe84747(0x1e5)](_0x3bc940[_0xe84747(0x206)]);}),this[_0x23108a(0x205)][_0x23108a(0x1ee)](_0x160ada=>{const _0x35c1e9=_0x23108a;this[_0x35c1e9(0x1eb)][_0x35c1e9(0x201)](_0x160ada[_0x35c1e9(0x1ef)]),this[_0x35c1e9(0x1e5)](_0x160ada);}),this[_0x23108a(0x205)]['on'](_0x23108a(0x1e9),(_0x221ac3,_0x226985)=>{const _0x235fc3=_0x23108a;for(const _0x9ae69f of _0x226985[_0x235fc3(0x1ed)])this[_0x235fc3(0x1eb)][_0x235fc3(0x1e7)](_0x9ae69f[_0x235fc3(0x1ef)]),this[_0x235fc3(0x211)][_0x235fc3(0x1e7)](_0x9ae69f);for(const _0x10d463 of _0x226985[_0x235fc3(0x1ea)])this[_0x235fc3(0x1eb)][_0x235fc3(0x201)](_0x10d463[_0x235fc3(0x1ef)]),this[_0x235fc3(0x1e5)](_0x10d463);}),this['on'](_0x23108a(0x1e6),()=>{const _0x20ea55=_0x23108a;this[_0x20ea55(0x207)][_0x20ea55(0x204)]();}),this['on'](_0x23108a(0x1ec),()=>{const _0x1bba51=_0x23108a;this[_0x1bba51(0x207)][_0x1bba51(0x1f3)]();}),this[_0x23108a(0x208)](this[_0x23108a(0x1ef)],_0x23108a(0x212),()=>{const _0x320c79=_0x23108a;this[_0x320c79(0x212)]();});}[_0x3d6a0a(0x1e5)](_0x45331b){const _0x2f9dfd=_0x3d6a0a,_0x25cb07=this[_0x2f9dfd(0x211)][_0x2f9dfd(0x1e4)](_0x45331b);let _0x18f0f6,_0x45bf69;for(const _0x194061 of this[_0x2f9dfd(0x211)])if(_0x45331b[_0x2f9dfd(0x200)]<_0x194061[_0x2f9dfd(0x200)]){_0x18f0f6=_0x194061;break;}if(_0x45bf69=_0x18f0f6?this[_0x2f9dfd(0x211)][_0x2f9dfd(0x1e4)](_0x18f0f6):this[_0x2f9dfd(0x211)][_0x2f9dfd(0x20b)],-0x1!==_0x25cb07){if(_0x25cb07===_0x45bf69-0x1)return;this[_0x2f9dfd(0x211)][_0x2f9dfd(0x1e7)](_0x45331b),_0x45bf69=_0x18f0f6?this[_0x2f9dfd(0x211)][_0x2f9dfd(0x1e4)](_0x18f0f6):this[_0x2f9dfd(0x211)][_0x2f9dfd(0x20b)];}this[_0x2f9dfd(0x211)][_0x2f9dfd(0x201)](_0x45331b,_0x45bf69);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x874421=_0x259e;(function(_0x1eb403,_0x1dad7b){const _0x370128=_0x259e,_0x5774b8=_0x1eb403();while(!![]){try{const _0x16ef41=-parseInt(_0x370128(0x1da))/0x1+-parseInt(_0x370128(0x1f2))/0x2*(parseInt(_0x370128(0x1ec))/0x3)+-parseInt(_0x370128(0x1f8))/0x4*(-parseInt(_0x370128(0x1fb))/0x5)+parseInt(_0x370128(0x1d3))/0x6+-parseInt(_0x370128(0x1c9))/0x7+parseInt(_0x370128(0x1ee))/0x8+parseInt(_0x370128(0x1e7))/0x9*(parseInt(_0x370128(0x1f7))/0xa);if(_0x16ef41===_0x1dad7b)break;else _0x5774b8['push'](_0x5774b8['shift']());}catch(_0x5f0714){_0x5774b8['push'](_0x5774b8['shift']());}}}(_0x57d5,0x5696b));import{ContextPlugin as _0x3f38a0,Context as _0x1c3c5f}from'ckeditor5/src/core.js';function _0x259e(_0x3349da,_0x2dd5e3){const _0x57d5cb=_0x57d5();return _0x259e=function(_0x259e54,_0x380d0c){_0x259e54=_0x259e54-0x1bb;let _0x555c97=_0x57d5cb[_0x259e54];return _0x555c97;},_0x259e(_0x3349da,_0x2dd5e3);}import{AnnotationsUIs as _0x3e10c3}from'./annotationsuis.js';import{Sidebar as _0x4459d9}from'./sidebar.js';import{CKEditorError as _0x54d013,Collection as _0x56cb9b}from'ckeditor5/src/utils.js';function _0x57d5(){const _0x348515=['isAttached','_activeAnnotation','669620dHngmG','refresh','has','getOrderedSelectedAnnotations','stopListening','_refreshPositioningDebounced','attach','requires','stop','high','2891688SdvACx','blur','_attachToContainer','pluginName','uiUpdate','_detachFromContainer','resize','537989FTcpic','ready','activeAnnotation','_editorAnnotations','rearrange','detach','add','remove','annotations','editors','destroy','_destroyEditorAnnotationsIntegration','get','1908639QoBbZX','Annotations','_annotations','isOfficialPlugin','hasDomSelection','266397hwaTEn','updateTargetRect','1815360YTzCRc','listenTo','refreshVisibility','EditorAnnotations','6kzLkEt','plugins','switchTo','setActiveAnnotation','register','10ATtWKO','28Kxecub','init','refreshPositioning','238410kqozOV','addAnnotation','off','focus','isPremiumPlugin','wideSidebar','_integrateWithEditorAnnotations','addEventListener','set','container','ck-sidebar--wide','set:container','WideSidebar','change:container','widesidebar-attach-already-attached','cancel','widesidebar-detach-not-attached','removeEventListener','context','from'];_0x57d5=function(){return _0x348515;};return _0x57d5();}import{debounce as _0x1e9ed5}from'es-toolkit/compat';export class WideSidebar extends _0x3f38a0{[_0x874421(0x1c7)];[_0x874421(0x1e2)];[_0x874421(0x1dd)];[_0x874421(0x1ce)];static get[_0x874421(0x1d0)](){return[_0x4459d9,_0x3e10c3];}static get[_0x874421(0x1d6)](){const _0x2eab2d=_0x874421;return _0x2eab2d(0x1bf);}static get[_0x874421(0x1ea)](){return!0x0;}static get[_0x874421(0x1ff)](){return!0x0;}constructor(_0x4f8e68){const _0x3cee59=_0x874421;super(_0x4f8e68),this[_0x3cee59(0x1c7)]=!0x1,this[_0x3cee59(0x1bb)](_0x3cee59(0x1dc),null),this[_0x3cee59(0x1e2)]=null,this[_0x3cee59(0x1dd)]=new _0x56cb9b(),this[_0x3cee59(0x1ce)]=_0x1e9ed5(()=>{const _0x210cd2=_0x3cee59;_0x4f8e68[_0x210cd2(0x1f3)][_0x210cd2(0x1e6)](_0x210cd2(0x1e8))[_0x210cd2(0x1f0)](),this[_0x210cd2(0x1e2)][_0x210cd2(0x1fa)]();},0xfa,{'leading':!0x1});}[_0x874421(0x1f9)](){const _0x17ef6b=_0x874421,_0x268d09=this[_0x17ef6b(0x1c5)][_0x17ef6b(0x1f3)][_0x17ef6b(0x1e6)](_0x3e10c3),_0x5c40bb=this[_0x17ef6b(0x1c5)][_0x17ef6b(0x1f3)][_0x17ef6b(0x1e6)](_0x4459d9);_0x268d09[_0x17ef6b(0x1f6)](_0x17ef6b(0x200),this),_0x5c40bb[_0x17ef6b(0x1bc)]&&_0x268d09[_0x17ef6b(0x1f4)](_0x17ef6b(0x200));}[_0x874421(0x1f5)](_0x4ab962){const _0x63fec2=_0x874421;if(_0x4ab962===this[_0x63fec2(0x1dc)])return;const _0x5db07a=this[_0x63fec2(0x1c5)][_0x63fec2(0x1f3)][_0x63fec2(0x1e6)](_0x4459d9);_0x5db07a[_0x63fec2(0x1c8)]=_0x4ab962;const _0x5d1712=this[_0x63fec2(0x1dc)];_0x5db07a[_0x63fec2(0x1ca)]({'blurredAnnotation':_0x5d1712,'activatedAnnotation':_0x4ab962}),this[_0x63fec2(0x1dc)]=_0x4ab962;}[_0x874421(0x1cf)](_0x5c5e0d){const _0xa7a998=_0x874421;this[_0xa7a998(0x1e2)]=_0x5c5e0d;const _0x557e49=this[_0xa7a998(0x1c5)][_0xa7a998(0x1f3)][_0xa7a998(0x1e6)](_0x4459d9);if(_0x557e49[_0xa7a998(0x1e9)]=_0x5c5e0d,this[_0xa7a998(0x1c7)])throw new _0x54d013(_0xa7a998(0x1c1),this);this[_0xa7a998(0x1c7)]=!0x0,this[_0xa7a998(0x1ef)](_0x557e49,_0xa7a998(0x1be),()=>{const _0xc6d95=_0xa7a998;this[_0xc6d95(0x1df)](),this[_0xc6d95(0x1ef)](_0x557e49,_0xc6d95(0x1c0),_0x4af750=>{const _0x3401d7=_0xc6d95;_0x4af750[_0x3401d7(0x1fd)](),this[_0x3401d7(0x1cf)](_0x5c5e0d);});}),_0x557e49[_0xa7a998(0x1d5)]({'viewClass':_0xa7a998(0x1bd)});const _0x1374f6=_0x292bd9=>{const _0x42c8c3=_0xa7a998;_0x292bd9[_0x42c8c3(0x1ed)](),_0x557e49[_0x42c8c3(0x1fc)](_0x292bd9);};for(const _0x529cf3 of _0x5c5e0d)_0x1374f6(_0x529cf3);this[_0xa7a998(0x1ef)](_0x5c5e0d,_0xa7a998(0x1e0),(_0x2bf7b2,_0x38e69e)=>{_0x1374f6(_0x38e69e);}),this[_0xa7a998(0x1ef)](_0x5c5e0d,_0xa7a998(0x1e1),(_0x33fb09,_0xfa8a02,_0x552e82)=>{const _0x35731e=_0xa7a998;_0x557e49[_0x35731e(0x1de)]({'removedAnnotation':_0xfa8a02,'previousAnnotation':_0x5c5e0d[_0x35731e(0x1e6)](_0x552e82-0x1),'nextAnnotation':_0x5c5e0d[_0x35731e(0x1e6)](_0x552e82+0x1)}),_0xfa8a02===this[_0x35731e(0x1dc)]&&this[_0x35731e(0x1f5)](null);},{'priority':_0xa7a998(0x1d2)}),this[_0xa7a998(0x1ef)](_0x5c5e0d,_0xa7a998(0x1fe),(_0x52437c,_0x56aac5)=>{const _0x579887=_0xa7a998;this[_0x579887(0x1f5)](_0x56aac5);}),this[_0xa7a998(0x1ef)](_0x5c5e0d,_0xa7a998(0x1d4),()=>{const _0xbe8030=_0xa7a998;this[_0xbe8030(0x1f5)](null);});const _0x325be3=this[_0xa7a998(0x1c5)]instanceof _0x1c3c5f?this[_0xa7a998(0x1c5)][_0xa7a998(0x1e3)]:new _0x56cb9b([this[_0xa7a998(0x1c5)]]);for(const _0x4a6a4c of _0x325be3)this[_0xa7a998(0x201)](_0x4a6a4c);this[_0xa7a998(0x1ef)](_0x325be3,_0xa7a998(0x1e0),(_0x337bab,_0x327f48)=>{const _0x441c06=_0xa7a998;this[_0x441c06(0x1ef)](_0x327f48,_0x441c06(0x1db),()=>{const _0x5a98d6=_0x441c06;this[_0x5a98d6(0x201)](_0x327f48);});}),this[_0xa7a998(0x1ef)](_0x325be3,_0xa7a998(0x1e1),(_0x3ee87a,_0xeda2fe)=>{const _0x3f3b61=_0xa7a998;_0xeda2fe[_0x3f3b61(0x1f3)][_0x3f3b61(0x1cb)](_0x3f3b61(0x1f1))&&this[_0x3f3b61(0x1e5)](_0xeda2fe[_0x3f3b61(0x1f3)][_0x3f3b61(0x1e6)](_0x3f3b61(0x1f1)));}),window[_0xa7a998(0x202)](_0xa7a998(0x1d9),this[_0xa7a998(0x1ce)]),this[_0xa7a998(0x1c5)][_0xa7a998(0x1f3)][_0xa7a998(0x1e6)](_0xa7a998(0x1e8))[_0xa7a998(0x1f0)](),this[_0xa7a998(0x1e2)][_0xa7a998(0x1fa)]();}[_0x874421(0x1df)](){const _0x3ab34e=_0x874421;if(!this[_0x3ab34e(0x1c7)])throw new _0x54d013(_0x3ab34e(0x1c3),this);this[_0x3ab34e(0x1f5)](null);const _0x7e8885=this[_0x3ab34e(0x1c5)][_0x3ab34e(0x1f3)][_0x3ab34e(0x1e6)](_0x4459d9);_0x7e8885[_0x3ab34e(0x1d8)](this[_0x3ab34e(0x1e2)]),this[_0x3ab34e(0x1cd)](_0x7e8885),this[_0x3ab34e(0x1cd)](this[_0x3ab34e(0x1e2)]),this[_0x3ab34e(0x1c5)]instanceof _0x1c3c5f&&this[_0x3ab34e(0x1cd)](this[_0x3ab34e(0x1c5)][_0x3ab34e(0x1e3)]);for(const _0x406eaa of Array[_0x3ab34e(0x1c6)](this[_0x3ab34e(0x1dd)]))this[_0x3ab34e(0x1e5)](_0x406eaa);window[_0x3ab34e(0x1c4)](_0x3ab34e(0x1d9),this[_0x3ab34e(0x1ce)]),this[_0x3ab34e(0x1ce)][_0x3ab34e(0x1c2)](),this[_0x3ab34e(0x1dc)]=null,this[_0x3ab34e(0x1c7)]=!0x1,this[_0x3ab34e(0x1e2)]=null;}[_0x874421(0x1e4)](){const _0x3abbf4=_0x874421;this[_0x3abbf4(0x1c7)]&&this[_0x3abbf4(0x1df)]();}[_0x874421(0x201)](_0x5b08bb){const _0x439a04=_0x874421;if(!_0x5b08bb[_0x439a04(0x1f3)][_0x439a04(0x1cb)](_0x439a04(0x1f1)))return;const _0xc1c21e=_0x5b08bb[_0x439a04(0x1f3)][_0x439a04(0x1e6)](_0x439a04(0x1f1)),_0x3a155d=()=>{const _0x276ae2=_0x439a04,_0x3f5c43=_0xc1c21e[_0x276ae2(0x1cc)]({'annotations':this[_0x276ae2(0x1e2)],'activeAnnotation':this[_0x276ae2(0x1dc)]});this[_0x276ae2(0x1f5)](_0x3f5c43[0x0]||null);};this[_0x439a04(0x1ef)](_0xc1c21e,_0x439a04(0x1ca),_0x3a155d),this[_0x439a04(0x1ef)](_0xc1c21e,_0x439a04(0x1d4),(_0x3b3df3,{isAnnotationTracked:_0x41b5d0})=>{const _0x154cd1=_0x439a04;this[_0x154cd1(0x1dc)]&&_0x41b5d0(this[_0x154cd1(0x1dc)])&&this[_0x154cd1(0x1f5)](null);}),this[_0x439a04(0x1ef)](_0xc1c21e,_0x439a04(0x1d7),()=>{const _0x4c4687=_0x439a04;this[_0x4c4687(0x1ce)]();}),this[_0x439a04(0x1ef)](this[_0x439a04(0x1e2)],_0x439a04(0x1d4),_0x29aaf0=>{const _0x54004e=_0x439a04;_0xc1c21e[_0x54004e(0x1eb)]()&&(_0x3a155d(),_0x29aaf0[_0x54004e(0x1d1)]());},{'priority':_0x439a04(0x1d2)}),this[_0x439a04(0x1dd)][_0x439a04(0x1e0)](_0xc1c21e);}[_0x874421(0x1e5)](_0x2216d1){const _0x29cec4=_0x874421;this[_0x29cec4(0x1cd)](_0x2216d1),this[_0x29cec4(0x1dd)][_0x29cec4(0x1e1)](_0x2216d1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x173ec1=_0x5855;(function(_0x3d9a97,_0x4a7469){const _0x578576=_0x5855,_0x139fa8=_0x3d9a97();while(!![]){try{const _0x2321f5=-parseInt(_0x578576(0x8a))/0x1+-parseInt(_0x578576(0x8d))/0x2+-parseInt(_0x578576(0x73))/0x3+-parseInt(_0x578576(0x81))/0x4+parseInt(_0x578576(0x6c))/0x5*(parseInt(_0x578576(0x6e))/0x6)+parseInt(_0x578576(0x8f))/0x7+parseInt(_0x578576(0x6d))/0x8;if(_0x2321f5===_0x4a7469)break;else _0x139fa8['push'](_0x139fa8['shift']());}catch(_0x5d4778){_0x139fa8['push'](_0x139fa8['shift']());}}}(_0x214e,0xbf8a0));import{Command as _0x53322f}from'ckeditor5/src/core.js';import{uid as _0x17715e,CKEditorError as _0x9e8dc0}from'ckeditor5/src/utils.js';function _0x214e(){const _0x11ceea=['Users','change','element','item','plugins','isObject','editor','collaboration.channelId','addMarker','length','set','_trimToContent','substr','1781364mPSgaG','schema','_itemIsContent','config','addCommentThread','from','_hasContent','document','execute','29664BPMKdd','addcommentthreadcommand-incorrect-ranges','getRanges','2887944RBTQBQ','selection','6716178fThdXp','tableCell','isEnabled','start','refresh','CommentsRepository','model','createRange','_createMarkersFromRanges','hasContent','addcommentthreadcommand-user-not-found','_createCommentThread','getItems','push','comment:','end','10pYZQrq','10456624BpdgCj','1619736gkMswb','get','backward','$textProxy','getLastMatchingPosition','308769LjgtFq'];_0x214e=function(){return _0x11ceea;};return _0x214e();}function _0x5855(_0x1f7231,_0xc11be1){const _0x214eac=_0x214e();return _0x5855=function(_0x58554b,_0x56b702){_0x58554b=_0x58554b-0x6b;let _0x2d64be=_0x214eac[_0x58554b];return _0x2d64be;},_0x5855(_0x1f7231,_0xc11be1);}export class AddCommentThreadCommand extends _0x53322f{constructor(_0x15651f){const _0xf0b516=_0x5855;super(_0x15651f),this[_0xf0b516(0x7e)](_0xf0b516(0x98),!0x1);}[_0x173ec1(0x93)](){const _0x318821=_0x173ec1,_0x5f462f=this[_0x318821(0x7a)][_0x318821(0x95)][_0x318821(0x88)][_0x318821(0x8e)];this[_0x318821(0x91)]=!0x0,this[_0x318821(0x98)]=!0x1;for(const _0x5c412f of _0x5f462f[_0x318821(0x8c)]())if(this[_0x318821(0x87)](_0x5c412f))return void(this[_0x318821(0x98)]=!0x0);}[_0x173ec1(0x89)]({threadId:_0x571244=_0x17715e(),ranges:_0x2684a8,comment:_0x56f281}={}){const _0x2f78a8=_0x173ec1,_0x2357c7=this[_0x2f78a8(0x7a)][_0x2f78a8(0x95)],_0x4cabf9=_0x2684a8??Array[_0x2f78a8(0x86)](_0x2357c7[_0x2f78a8(0x88)][_0x2f78a8(0x8e)][_0x2f78a8(0x8c)]()),_0x1c325b=[];for(const _0x15d171 of _0x4cabf9)this[_0x2f78a8(0x87)](_0x15d171)&&_0x1c325b[_0x2f78a8(0x9c)](this[_0x2f78a8(0x7f)](_0x15d171));if(!_0x1c325b[_0x2f78a8(0x7d)])throw new _0x9e8dc0(_0x2f78a8(0x8b),null);_0x56f281&&this[_0x2f78a8(0x9a)](_0x571244,_0x56f281),this[_0x2f78a8(0x97)](_0x571244,_0x1c325b,!!_0x56f281);}[_0x173ec1(0x97)](_0x3138cd,_0x252715,_0x16e739){const _0x4c6c9b=_0x173ec1;this[_0x4c6c9b(0x7a)][_0x4c6c9b(0x95)][_0x4c6c9b(0x75)](_0x57e5db=>{const _0xbc3ad0=_0x4c6c9b;for(const _0x380226 of _0x252715){const _0x552f31=_0x17715e()[_0xbc3ad0(0x80)](0x1,0x5),_0x153500=_0xbc3ad0(0x9d)+_0x3138cd+':'+_0x552f31;_0x57e5db[_0xbc3ad0(0x7c)](_0x153500,{'range':_0x380226,'usingOperation':_0x16e739,'affectsData':_0x16e739});}});}[_0x173ec1(0x9a)](_0x5c3014,_0x3709ef){const _0x3507ef=_0x173ec1,_0x173919=this[_0x3507ef(0x7a)][_0x3507ef(0x78)][_0x3507ef(0x6f)](_0x3507ef(0x94)),_0x4f939f=this[_0x3507ef(0x7a)][_0x3507ef(0x84)][_0x3507ef(0x6f)](_0x3507ef(0x7b)),_0x14488f=this[_0x3507ef(0x7a)][_0x3507ef(0x78)][_0x3507ef(0x6f)](_0x3507ef(0x74))['me'];if(!_0x14488f)throw new _0x9e8dc0(_0x3507ef(0x99),null);_0x173919[_0x3507ef(0x85)]({'threadId':_0x5c3014,'channelId':_0x4f939f,'comments':[{'authorId':_0x14488f['id'],'content':_0x3709ef,'createdAt':new Date(),'attributes':{}}]});}[_0x173ec1(0x87)](_0x5a3cf4){const _0x2ec418=_0x173ec1;for(const _0xd4ad8a of _0x5a3cf4[_0x2ec418(0x9b)]())if(this[_0x2ec418(0x83)](_0xd4ad8a))return!0x0;return!0x1;}[_0x173ec1(0x83)](_0x4da833){const _0x3435f6=_0x173ec1;return _0x4da833['is'](_0x3435f6(0x71))||this[_0x3435f6(0x7a)][_0x3435f6(0x95)][_0x3435f6(0x82)][_0x3435f6(0x79)](_0x4da833)&&!_0x4da833['is'](_0x3435f6(0x76),_0x3435f6(0x90));}[_0x173ec1(0x7f)](_0x171b13){const _0x47f625=_0x173ec1,_0x33bca6=_0x9a736c=>!this[_0x47f625(0x83)](_0x9a736c[_0x47f625(0x77)]),_0x3f63d0=_0x171b13[_0x47f625(0x92)][_0x47f625(0x72)](_0x33bca6),_0x2189c7=_0x171b13[_0x47f625(0x6b)][_0x47f625(0x72)](_0x33bca6,{'direction':_0x47f625(0x70)});return this[_0x47f625(0x7a)][_0x47f625(0x95)][_0x47f625(0x96)](_0x3f63d0,_0x2189c7);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x54c4(_0x3c0d5a,_0x5ca111){const _0x373eab=_0x373e();return _0x54c4=function(_0x54c4a3,_0x3be189){_0x54c4a3=_0x54c4a3-0x16f;let _0x2cb161=_0x373eab[_0x54c4a3];return _0x2cb161;},_0x54c4(_0x3c0d5a,_0x5ca111);}const _0x218322=_0x54c4;(function(_0xbb7587,_0x40f980){const _0x418c16=_0x54c4,_0x16bc0f=_0xbb7587();while(!![]){try{const _0x33e481=-parseInt(_0x418c16(0x187))/0x1+parseInt(_0x418c16(0x176))/0x2+parseInt(_0x418c16(0x170))/0x3*(-parseInt(_0x418c16(0x193))/0x4)+parseInt(_0x418c16(0x181))/0x5+parseInt(_0x418c16(0x174))/0x6*(-parseInt(_0x418c16(0x180))/0x7)+-parseInt(_0x418c16(0x17f))/0x8+parseInt(_0x418c16(0x182))/0x9;if(_0x33e481===_0x40f980)break;else _0x16bc0f['push'](_0x16bc0f['shift']());}catch(_0x3fa6c6){_0x16bc0f['push'](_0x16bc0f['shift']());}}}(_0x373e,0xc8ada));import{ContextPlugin as _0x1aff42}from'ckeditor5/src/core.js';import{Collection as _0x52acf1}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x9e0b7}from'./commentsrepository.js';import{Annotations as _0x4780ba}from'../annotations/annotations.js';function _0x373e(){const _0x58a14d=['2099876XQwBvU','add','listenTo','3IVEkTG','get','findIndex','archivedAt','11946bXeEhd','collection','1245792dKyQkQ','length','requires','stopListening','activate','isOfficialPlugin','addCommentThread','isPremiumPlugin','highest','3079824wfwsFU','1407CbzvWS','3274440PlhslZ','19778157KdLBxt','context','isActive','init','change:archivedAt','1343241YutBuF','CommentsArchive','getCommentThread','_calculatePosition','has','pluginName','removeCommentThread','plugins','archivedThreads','focus','isVisible','remove'];_0x373e=function(){return _0x58a14d;};return _0x373e();}export class CommentsArchive extends _0x1aff42{static get[_0x218322(0x18c)](){const _0x95249c=_0x218322;return _0x95249c(0x188);}static get[_0x218322(0x17b)](){return!0x0;}static get[_0x218322(0x17d)](){return!0x0;}static get[_0x218322(0x178)](){return[_0x9e0b7,_0x4780ba];}constructor(_0x244210){const _0xe1d9b6=_0x218322;super(_0x244210),this[_0xe1d9b6(0x18f)]=new _0x52acf1();}[_0x218322(0x185)](){const _0x30b0c3=_0x218322,_0x14bcc5=this[_0x30b0c3(0x183)],_0x370147=_0x14bcc5[_0x30b0c3(0x18e)][_0x30b0c3(0x171)](_0x9e0b7),_0x1e3fd2=_0x14bcc5[_0x30b0c3(0x18e)][_0x30b0c3(0x171)](_0x4780ba);this[_0x30b0c3(0x16f)](_0x370147,_0x30b0c3(0x17c),(_0xbb57f1,{threadId:_0x54f35d})=>{const _0x4c31b4=_0x30b0c3,_0x543a15=_0x370147[_0x4c31b4(0x189)](_0x54f35d);_0x543a15[_0x4c31b4(0x173)]&&this[_0x4c31b4(0x18f)][_0x4c31b4(0x194)](_0x543a15,this[_0x4c31b4(0x18a)](_0x543a15[_0x4c31b4(0x173)])),this[_0x4c31b4(0x16f)](_0x543a15,_0x4c31b4(0x186),(_0x31d331,_0x212aec,_0x3545b3)=>{const _0x511495=_0x4c31b4;_0x3545b3?this[_0x511495(0x18f)][_0x511495(0x18b)](_0x543a15)||this[_0x511495(0x18f)][_0x511495(0x194)](_0x543a15,this[_0x511495(0x18a)](_0x543a15[_0x511495(0x173)])):this[_0x511495(0x18f)][_0x511495(0x18b)](_0x543a15)&&this[_0x511495(0x18f)][_0x511495(0x192)](_0x543a15);});}),this[_0x30b0c3(0x16f)](_0x370147,_0x30b0c3(0x18d),(_0x17efcb,{threadId:_0x279cd9})=>{const _0x2cd0d5=_0x30b0c3,_0x30cc45=_0x370147[_0x2cd0d5(0x189)](_0x279cd9);this[_0x2cd0d5(0x179)](_0x30cc45),this[_0x2cd0d5(0x18f)][_0x2cd0d5(0x18b)](_0x30cc45)&&this[_0x2cd0d5(0x18f)][_0x2cd0d5(0x192)](_0x30cc45);},{'priority':_0x30b0c3(0x17e)}),this[_0x30b0c3(0x16f)](_0x1e3fd2[_0x30b0c3(0x175)],_0x30b0c3(0x190),(_0x5094a2,_0x16ee98)=>{const _0x3d17a5=_0x30b0c3;_0x16ee98[_0x3d17a5(0x191)]||(_0x16ee98[_0x3d17a5(0x184)]=!0x0,_0x1e3fd2[_0x3d17a5(0x17a)](_0x16ee98));});}[_0x218322(0x18a)](_0xa83a63){const _0x32931e=_0x218322,_0x263000=[...this[_0x32931e(0x18f)]][_0x32931e(0x172)](_0x5f3893=>_0x5f3893[_0x32931e(0x173)]<_0xa83a63);return _0x263000>-0x1?_0x263000:this[_0x32931e(0x18f)][_0x32931e(0x177)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x83db6f=_0x48bb;(function(_0x325f60,_0x330ac0){const _0xebdc7f=_0x48bb,_0x186b1f=_0x325f60();while(!![]){try{const _0x35fa6c=parseInt(_0xebdc7f(0x15c))/0x1+-parseInt(_0xebdc7f(0x162))/0x2+-parseInt(_0xebdc7f(0x144))/0x3+parseInt(_0xebdc7f(0x151))/0x4+parseInt(_0xebdc7f(0x166))/0x5+-parseInt(_0xebdc7f(0x17a))/0x6+-parseInt(_0xebdc7f(0x14a))/0x7;if(_0x35fa6c===_0x330ac0)break;else _0x186b1f['push'](_0x186b1f['shift']());}catch(_0x440df7){_0x186b1f['push'](_0x186b1f['shift']());}}}(_0x4413,0x20238));function _0x4413(){const _0x5dc8fd=['forEach','componentFactory','_hideDialogOnAnnotationEscape','execute','isOpen','get','isOfficialPlugin','1109604jajiDc','hide','channelId','config','stopListening','return','view','_createCommentsArchiveButton','has','indexOf','isEnabled','show','splice','isVisible','innerView','find','_toggleDialog','remove','add','filter','archivedAt','length','316416IIDONp','_threadToController','Dialog','_pendingThreads','EDITOR_TOP_SIDE','bind','1382395Qraeer','Annotations','init','isPremiumPlugin','tooltip','COMMENTS_ARCHIVE','plugins','970396viFdxn','commentsArchiveView','includes','stop','requires','locale','_addAnnotationToArchive','listenTo','CommentsArchiveUI','menuBar:commentsArchive','source','256731MIaHZW','set:isVisible','_handleNewThread','isOn','getByInnerView','archivedThreads','137502iUdbSG','_calculatePosition','collection','focusableElements','944760XhGxfi','push','escape','collaboration.channelId','_visibleAnnotations','menuitemcheckbox','set','pluginName','CommentsRepository','commentsArchive','annotationViews','editor','findIndex'];_0x4413=function(){return _0x5dc8fd;};return _0x4413();}import'../../theme/commentsarchive.css';import{Plugin as _0x56e364}from'ckeditor5/src/core.js';function _0x48bb(_0x5def7b,_0x19a62c){const _0x441336=_0x4413();return _0x48bb=function(_0x48bb35,_0x4bae3a){_0x48bb35=_0x48bb35-0x133;let _0x36ed62=_0x441336[_0x48bb35];return _0x36ed62;},_0x48bb(_0x5def7b,_0x19a62c);}import{IconCommentsArchive as _0x42e1c7}from'ckeditor5/src/icons.js';import{ViewCollection as _0x2b1a6c,MenuBarMenuListItemButtonView as _0x44d980,ButtonView as _0x3f98c6,Dialog as _0xab5ae3,DialogViewPosition as _0x5e9556}from'ckeditor5/src/ui.js';import{getTranslation as _0x46e0dc}from'../utils/common-translations.js';import{CommentsArchiveView as _0x4c1ec9}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x53bbd8}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x56e364{[_0x83db6f(0x152)];[_0x83db6f(0x170)];[_0x83db6f(0x147)];static get[_0x83db6f(0x16d)](){const _0x36df1d=_0x83db6f;return _0x36df1d(0x159);}static get[_0x83db6f(0x179)](){return!0x0;}static get[_0x83db6f(0x14d)](){return!0x0;}static get[_0x83db6f(0x155)](){return[_0x53bbd8,_0xab5ae3];}constructor(_0x3a75c2){const _0x336566=_0x83db6f;super(_0x3a75c2),this[_0x336566(0x170)]=new _0x2b1a6c(),this[_0x336566(0x147)]=[];}[_0x83db6f(0x14c)](){const _0x3c73ec=_0x83db6f,_0x1cf1d2=this[_0x3c73ec(0x171)],_0x39ae20=this[_0x3c73ec(0x175)][_0x3c73ec(0x149)](this);_0x1cf1d2['ui'][_0x3c73ec(0x174)][_0x3c73ec(0x140)](_0x3c73ec(0x16f),()=>this[_0x3c73ec(0x135)](_0x3f98c6,!0x0)),_0x1cf1d2['ui'][_0x3c73ec(0x174)][_0x3c73ec(0x140)](_0x3c73ec(0x15a),()=>{const _0x479646=_0x3c73ec,_0x1e4917=this[_0x479646(0x135)](_0x44d980);return _0x1e4917[_0x479646(0x16c)]({'role':_0x479646(0x16b)}),_0x1e4917;});const _0xd9d6b4=_0x1cf1d2[_0x3c73ec(0x150)][_0x3c73ec(0x178)](_0x53bbd8),_0x4ecb00=_0x1cf1d2[_0x3c73ec(0x150)][_0x3c73ec(0x178)](_0x3c73ec(0x14b)),_0x25d3da=_0x1cf1d2[_0x3c73ec(0x150)][_0x3c73ec(0x178)](_0x3c73ec(0x16e));_0xd9d6b4[_0x3c73ec(0x161)][_0x3c73ec(0x173)](_0x1ade25=>{const _0xd1a01a=_0x3c73ec;this[_0xd1a01a(0x15e)](_0x1ade25);}),this[_0x3c73ec(0x158)](_0xd9d6b4[_0x3c73ec(0x161)],_0x3c73ec(0x140),(_0x326025,_0x2df1a8)=>{const _0x540b0e=_0x3c73ec;this[_0x540b0e(0x15e)](_0x2df1a8);}),this[_0x3c73ec(0x158)](_0x4ecb00[_0x3c73ec(0x164)],_0x3c73ec(0x140),(_0x1c5ad4,_0x2815e3)=>{const _0x3df19e=_0x3c73ec,_0x3b30f1=this[_0x3df19e(0x147)][_0x3df19e(0x13d)](_0x223825=>{const _0x5d93c3=_0x3df19e,_0x489996=_0x25d3da[_0x5d93c3(0x145)][_0x5d93c3(0x178)](_0x223825);return _0x489996&&_0x2815e3[_0x5d93c3(0x13c)]===_0x489996[_0x5d93c3(0x134)];});if(_0x3b30f1){const _0x99535=this[_0x3df19e(0x163)](_0x3b30f1[_0x3df19e(0x142)]);this[_0x3df19e(0x157)](_0x2815e3,_0x99535),this[_0x3df19e(0x147)][_0x3df19e(0x13a)](this[_0x3df19e(0x147)][_0x3df19e(0x137)](_0x3b30f1),0x1);}}),this[_0x3c73ec(0x158)](_0xd9d6b4[_0x3c73ec(0x161)],_0x3c73ec(0x13f),(_0xba56c1,_0x357401)=>{const _0x292750=_0x3c73ec,_0x1b0087=_0x1cf1d2[_0x292750(0x17d)][_0x292750(0x178)](_0x292750(0x169));if(!_0x1b0087||_0x357401[_0x292750(0x17c)]===_0x1b0087){if(this[_0x292750(0x147)][_0x292750(0x153)](_0x357401))this[_0x292750(0x147)][_0x292750(0x13a)](this[_0x292750(0x147)][_0x292750(0x137)](_0x357401),0x1);else{const _0x15f5d8=_0x25d3da[_0x292750(0x145)][_0x292750(0x178)](_0x357401),_0x3e4223=_0x4ecb00[_0x292750(0x160)](_0x15f5d8[_0x292750(0x134)]);this[_0x292750(0x170)][_0x292750(0x13f)](_0x3e4223[_0x292750(0x134)]),this[_0x292750(0x17e)](_0x3e4223),this[_0x292750(0x17e)](_0x3e4223[_0x292750(0x165)]);}}}),this[_0x3c73ec(0x158)](_0x4ecb00[_0x3c73ec(0x164)],_0x3c73ec(0x140),(_0x1afaae,_0x17a731)=>{const _0x73ec11=_0x3c73ec;this[_0x73ec11(0x158)](_0x17a731,_0x73ec11(0x168),_0x39ae20);}),this[_0x3c73ec(0x158)](_0x4ecb00[_0x3c73ec(0x164)],_0x3c73ec(0x13f),(_0x45873a,_0x3dd9b6)=>{const _0x28afaf=_0x3c73ec;this[_0x28afaf(0x17e)](_0x3dd9b6,_0x28afaf(0x168),_0x39ae20);});}[_0x83db6f(0x157)](_0x58ed2a,_0x1bdd62){const _0x54f442=_0x83db6f;this[_0x54f442(0x158)](_0x58ed2a,_0x54f442(0x15d),_0x1129e7=>{const _0x17e4cb=_0x54f442;_0x1129e7[_0x17e4cb(0x133)]=!0x1,_0x1129e7[_0x17e4cb(0x154)]();}),this[_0x54f442(0x170)][_0x54f442(0x140)](_0x58ed2a[_0x54f442(0x134)],_0x1bdd62);}[_0x83db6f(0x15e)](_0x566664){const _0x5ef898=_0x83db6f,_0x10e206=this[_0x5ef898(0x171)][_0x5ef898(0x150)][_0x5ef898(0x178)](_0x5ef898(0x16e)),_0x2527d5=this[_0x5ef898(0x171)][_0x5ef898(0x150)][_0x5ef898(0x178)](_0x5ef898(0x14b)),_0x486088=this[_0x5ef898(0x171)][_0x5ef898(0x17d)][_0x5ef898(0x178)](_0x5ef898(0x169));if(!_0x486088||_0x566664[_0x5ef898(0x17c)]===_0x486088){const _0x43dc11=_0x10e206[_0x5ef898(0x145)][_0x5ef898(0x178)](_0x566664);if(!_0x43dc11)return void this[_0x5ef898(0x147)][_0x5ef898(0x167)](_0x566664);const _0x31686b=this[_0x5ef898(0x163)](_0x566664[_0x5ef898(0x142)]),_0x3d2f29=_0x2527d5[_0x5ef898(0x160)](_0x43dc11[_0x5ef898(0x134)]);_0x3d2f29[_0x5ef898(0x13b)]&&_0x2527d5[_0x5ef898(0x16a)][_0x5ef898(0x13f)](_0x3d2f29),this[_0x5ef898(0x157)](_0x3d2f29,_0x31686b);}}[_0x83db6f(0x163)](_0x2dd0f4){const _0x73f7fb=_0x83db6f,_0xc6cab3=this[_0x73f7fb(0x171)][_0x73f7fb(0x17d)][_0x73f7fb(0x178)](_0x73f7fb(0x169)),_0x412b95=[...this[_0x73f7fb(0x171)][_0x73f7fb(0x150)][_0x73f7fb(0x178)](_0x53bbd8)[_0x73f7fb(0x161)]][_0x73f7fb(0x141)](_0x51ade9=>_0x51ade9[_0x73f7fb(0x17c)]===_0xc6cab3)[_0x73f7fb(0x172)](_0x13556a=>_0x13556a[_0x73f7fb(0x142)]<_0x2dd0f4);return _0x412b95<0x0||_0x412b95>this[_0x73f7fb(0x170)][_0x73f7fb(0x143)]?this[_0x73f7fb(0x170)][_0x73f7fb(0x143)]:_0x412b95-0x1;}[_0x83db6f(0x13e)](){const _0x180c90=_0x83db6f,_0xfc519c=this[_0x180c90(0x171)],_0xa1c0a4=_0xfc519c[_0x180c90(0x150)][_0x180c90(0x178)](_0x180c90(0x146));this[_0x180c90(0x152)]||(this[_0x180c90(0x152)]=new _0x4c1ec9(_0xfc519c[_0x180c90(0x156)],this[_0x180c90(0x170)])),_0x180c90(0x16f)===_0xa1c0a4['id']?_0xa1c0a4[_0x180c90(0x17b)]():_0xa1c0a4[_0x180c90(0x139)]({'id':_0x180c90(0x16f),'title':_0x46e0dc(_0xfc519c[_0x180c90(0x156)],_0x180c90(0x14f)),'icon':_0x42e1c7,'hasCloseButton':!0x0,'content':this[_0x180c90(0x152)],'position':_0x5e9556[_0x180c90(0x148)]});}[_0x83db6f(0x135)](_0x554385,_0x125da2=!0x1){const _0x218056=_0x83db6f,_0xb2f0ee=this[_0x218056(0x171)][_0x218056(0x156)],_0x430d33=this[_0x218056(0x171)][_0x218056(0x150)][_0x218056(0x178)](_0x218056(0x146)),_0x2c46c8=new _0x554385(_0xb2f0ee);return _0x2c46c8[_0x218056(0x149)](_0x218056(0x138))['to'](this,_0x218056(0x138)),_0x2c46c8[_0x218056(0x149)](_0x218056(0x15f))['to'](_0x430d33,'id',_0x903589=>_0x218056(0x16f)===_0x903589),_0x2c46c8[_0x218056(0x16c)]({'label':_0x46e0dc(_0xb2f0ee,_0x218056(0x14f)),'icon':_0x42e1c7,'isToggleable':!0x0}),_0x125da2&&(_0x2c46c8[_0x218056(0x14e)]=!0x0),this[_0x218056(0x158)](_0x2c46c8,_0x218056(0x176),()=>this[_0x218056(0x13e)]()),_0x2c46c8;}[_0x83db6f(0x175)]=_0x34e199=>{const _0x3a1bc8=_0x83db6f,_0x31987e=_0x34e199[_0x3a1bc8(0x15b)];if(!this[_0x3a1bc8(0x170)][_0x3a1bc8(0x136)](_0x31987e[_0x3a1bc8(0x134)]))return;const _0x78a348=this[_0x3a1bc8(0x171)][_0x3a1bc8(0x150)][_0x3a1bc8(0x178)](_0x3a1bc8(0x146));_0x78a348[_0x3a1bc8(0x177)]&&_0x3a1bc8(0x16f)===_0x78a348['id']&&(_0x78a348[_0x3a1bc8(0x17b)](),_0x34e199[_0x3a1bc8(0x154)]());};}
|