@ckeditor/ckeditor5-comments 44.2.0-alpha.2 → 44.2.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 +9 -9
- 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/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 +17 -17
- 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 +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- 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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1a0818=_0x57af;(function(_0x506a89,_0x58130f){const _0x3a1671=_0x57af,_0x14e833=_0x506a89();while(!![]){try{const _0x3aad20=-parseInt(_0x3a1671(0x15d))/0x1+-parseInt(_0x3a1671(0x156))/0x2*(parseInt(_0x3a1671(0x181))/0x3)+-parseInt(_0x3a1671(0x164))/0x4+-parseInt(_0x3a1671(0x161))/0x5*(parseInt(_0x3a1671(0x197))/0x6)+-parseInt(_0x3a1671(0x173))/0x7*(parseInt(_0x3a1671(0x18f))/0x8)+-parseInt(_0x3a1671(0x1a6))/0x9+parseInt(_0x3a1671(0x17c))/0xa*(parseInt(_0x3a1671(0x1a7))/0xb);if(_0x3aad20===_0x58130f)break;else _0x14e833['push'](_0x14e833['shift']());}catch(_0x1bf3bc){_0x14e833['push'](_0x14e833['shift']());}}}(_0x5d34,0x99900));import{ContextPlugin as _0xe6deeb}from'ckeditor5/src/core.js';import{Rect as _0x2bef79,CKEditorError as _0x48b4d9}from'ckeditor5/src/utils.js';import _0x1c8054 from'./view/sidebarview.js';function _0x5d34(){const _0x36c9cd=['_detachFromContainer','length','_getItemBefore','locale','define','_setItemTop','clear','8MxNAHO','_getItemAfter','_createSidebarView','_updateLastItem','object','change:_lastItem','_getTargetTop','unbind','1646196FdrMgP','isActive','Sidebar','top','_alignAfterItem','height','refresh','minHeight','element','content','getIndex','change:targetRect','render','bottom','rearrange','9285390fRUwOt','127897oGZOEH','_sidebarItemViewToAnnotation','view','change:bottom','_getMaxAvailableTop','updateHeight','_lastItem','_annotations','_activeAnnotation','_attachToContainer','bind','2CjORpt','sidebar.preventScrollOutOfView','nodeType','sidebar.container','list','addAnnotation','isPremiumPlugin','283881dCZmpy','_spaceBetweenItems','_targetTop','context','5MhRXxI','config','last','2690716qOhzfA','delete','add','listenTo','_alignForBottomChange','sidebar-attachtocontainer-missing-container','_alignBeforeItem','isAnimationDisabled','get','targetRect','_alignForTopChange','container','pluginName','push','stopListening','7456617EqXVHd','target','change:top','_annotationToSidebarItemView','remove','destroy','set','_destroySidebarItemView','isOfficialPlugin','3410yEUfdN','appendChild','max','getSidebarItemView','class','23844mDTGQl','sidebar-setcontainer-invalid-element','_alignToTargetRect','_recalculateBuffer','setContainer','_recalculate','init'];_0x5d34=function(){return _0x36c9cd;};return _0x5d34();}import _0x5e38d5 from'./view/sidebaritemview.js';export default class z extends _0xe6deeb{static get[_0x1a0818(0x170)](){const _0x597145=_0x1a0818;return _0x597145(0x199);}static get[_0x1a0818(0x17b)](){return!0x0;}static get[_0x1a0818(0x15c)](){return!0x0;}constructor(_0x478552){const _0x2ad975=_0x1a0818;super(_0x478552),this[_0x2ad975(0x179)](_0x2ad975(0x1ad),void 0x0),this[_0x2ad975(0x1a9)]=this[_0x2ad975(0x191)](),this[_0x2ad975(0x179)](_0x2ad975(0x16f),null),this[_0x2ad975(0x15e)]=0x19,this[_0x2ad975(0x1a8)]=new Map(),this[_0x2ad975(0x176)]=new Map(),this[_0x2ad975(0x160)][_0x2ad975(0x162)][_0x2ad975(0x18c)](_0x2ad975(0x157),!0x1),this[_0x2ad975(0x1ae)]=null,this[_0x2ad975(0x1af)]=null,this[_0x2ad975(0x184)]=[];}[_0x1a0818(0x187)](){const _0x593a2d=_0x1a0818,_0x27920b=this[_0x593a2d(0x160)][_0x593a2d(0x162)][_0x593a2d(0x16c)](_0x593a2d(0x159));_0x27920b&&this[_0x593a2d(0x185)](_0x27920b);}[_0x1a0818(0x185)](_0xd40034){const _0x3914a8=_0x1a0818;if(!y(_0xd40034))throw new _0x48b4d9(_0x3914a8(0x182));this[_0x3914a8(0x16f)]=_0xd40034;}[_0x1a0818(0x1b0)]({viewClass:_0x58fa23='',spaceBetweenItems:_0x1ff34d=0x19}={}){const _0x48e746=_0x1a0818;if(!y(this[_0x48e746(0x16f)]))throw new _0x48b4d9(_0x48e746(0x169),this);this[_0x48e746(0x16f)][_0x48e746(0x17d)](this[_0x48e746(0x1a9)][_0x48e746(0x19f)]),this[_0x48e746(0x1a9)][_0x48e746(0x180)]=_0x58fa23,this[_0x48e746(0x15e)]=_0x1ff34d;}[_0x1a0818(0x1a5)]({removedAnnotation:_0x48f2d7,previousAnnotation:_0x45297d,nextAnnotation:_0x47a8f1}){const _0x221b59=_0x1a0818,_0x40c658=this[_0x221b59(0x17f)](_0x48f2d7);this[_0x221b59(0x1a9)][_0x221b59(0x15a)][_0x221b59(0x177)](_0x40c658),this[_0x221b59(0x17a)](_0x48f2d7),_0x45297d&&this[_0x221b59(0x183)](this[_0x221b59(0x17f)](_0x45297d)),_0x47a8f1&&this[_0x221b59(0x183)](this[_0x221b59(0x17f)](_0x47a8f1)),this[_0x221b59(0x192)]();}[_0x1a0818(0x19d)]({blurredAnnotation:_0x4dfe1c,activatedAnnotation:_0x37e490,disableAnimationOnActivatedAnnotation:_0xb20e22}){const _0x143478=_0x1a0818;if(this[_0x143478(0x1af)]=_0x37e490,_0x4dfe1c){_0x4dfe1c[_0x143478(0x198)]=!0x1;const _0x5c3dc7=this[_0x143478(0x17f)](_0x4dfe1c);_0x5c3dc7&&_0xb20e22&&(_0x5c3dc7[_0x143478(0x16b)]=!0x1);}if(_0x37e490){const _0x46dc19=this[_0x143478(0x17f)](_0x37e490);_0x46dc19&&(_0x37e490[_0x143478(0x198)]=!0x0,_0xb20e22&&(_0x46dc19[_0x143478(0x16b)]=!0x0,_0x46dc19[_0x143478(0x19a)]+=0x1),this[_0x143478(0x183)](_0x46dc19));}}[_0x1a0818(0x188)](_0x339cff){const _0x473832=_0x1a0818;if(this[_0x473832(0x1a9)][_0x473832(0x19f)][_0x473832(0x177)](),_0x339cff){for(const _0x2ae6e1 of _0x339cff)this[_0x473832(0x17a)](_0x2ae6e1);}this[_0x473832(0x1a9)][_0x473832(0x15a)][_0x473832(0x18e)](),this[_0x473832(0x1a9)][_0x473832(0x180)]='',this[_0x473832(0x1ad)]=null;}[_0x1a0818(0x15b)](_0x46819c,_0x3a265a){const _0xa652b3=_0x1a0818;_0x3a265a||(_0x3a265a=_0x46819c[_0xa652b3(0x1a9)]);const _0x3b245f=new _0x5e38d5(this[_0xa652b3(0x160)][_0xa652b3(0x18b)]);this[_0xa652b3(0x1a8)][_0xa652b3(0x179)](_0x3b245f,_0x46819c),this[_0xa652b3(0x176)][_0xa652b3(0x179)](_0x46819c,_0x3b245f),_0x3b245f[_0xa652b3(0x1a0)][_0xa652b3(0x166)](_0x3a265a),this[_0xa652b3(0x167)](_0x46819c[_0xa652b3(0x1a9)],_0xa652b3(0x1a2),(_0x2ca8fc,_0x3208f6,_0x513db9)=>{const _0x577488=_0xa652b3,_0x1d9eb3=this[_0x577488(0x195)](_0x46819c,_0x513db9);_0x3b245f[_0x577488(0x15f)]!=_0x1d9eb3&&(_0x3b245f[_0x577488(0x15f)]=_0x1d9eb3,this[_0x577488(0x18d)](_0x3b245f,_0x1d9eb3));}),this[_0xa652b3(0x167)](_0x3b245f,_0xa652b3(0x175),()=>{const _0x409757=_0xa652b3;this[_0x409757(0x186)](_0x3b245f,_0x409757(0x19a));}),this[_0xa652b3(0x167)](_0x3b245f,_0xa652b3(0x1aa),()=>{const _0x37970e=_0xa652b3;this[_0x37970e(0x186)](_0x3b245f,_0x37970e(0x1a4));}),this[_0xa652b3(0x183)](_0x3b245f);const _0x1bc31c=this[_0xa652b3(0x18a)](_0x3b245f);if(_0x1bc31c)this[_0xa652b3(0x19b)](_0x1bc31c,_0x3b245f)||this[_0xa652b3(0x183)](_0x3b245f);else this[_0xa652b3(0x183)](_0x3b245f);return this[_0xa652b3(0x192)](),this[_0xa652b3(0x1a9)][_0xa652b3(0x15a)][_0xa652b3(0x166)](_0x3b245f),_0x3b245f;}[_0x1a0818(0x16e)](_0x1d4c08){const _0x1d1432=_0x1a0818;if(!_0x1d4c08[_0x1d1432(0x1a0)][_0x1d1432(0x189)])return;const _0x25bf3a=this[_0x1d1432(0x18a)](_0x1d4c08);if(!_0x25bf3a)return;const _0x51f099=this[_0x1d1432(0x1a8)][_0x1d1432(0x16c)](_0x25bf3a),_0x12e14b=this[_0x1d1432(0x1af)];_0x12e14b&&_0x12e14b===_0x51f099?this[_0x1d1432(0x19b)](_0x25bf3a,_0x1d4c08):this[_0x1d1432(0x16a)](_0x1d4c08,_0x25bf3a);}[_0x1a0818(0x168)](_0x59158f){const _0x705a76=_0x1a0818;if(!_0x59158f[_0x705a76(0x1a0)][_0x705a76(0x189)])return;const _0x3f11f2=this[_0x705a76(0x190)](_0x59158f);if(!_0x3f11f2)return;const _0x6edf1e=this[_0x705a76(0x1a8)][_0x705a76(0x16c)](_0x3f11f2),_0x5e0faa=this[_0x705a76(0x160)][_0x705a76(0x162)][_0x705a76(0x16c)](_0x705a76(0x157)),_0x4f698b=this[_0x705a76(0x1af)];_0x4f698b&&_0x4f698b===_0x6edf1e&&_0x5e0faa?(this[_0x705a76(0x16a)](_0x3f11f2,_0x59158f),this[_0x705a76(0x19b)](_0x59158f,_0x3f11f2)):_0x4f698b&&_0x4f698b===_0x6edf1e?this[_0x705a76(0x16a)](_0x3f11f2,_0x59158f):this[_0x705a76(0x19b)](_0x59158f,_0x3f11f2);}[_0x1a0818(0x186)](_0x95c9a2,_0x1bfc43){const _0x50c3a0=_0x1a0818;0x0===this[_0x50c3a0(0x184)][_0x50c3a0(0x189)]&&setTimeout(()=>{const _0x53b823=_0x50c3a0;for(const {sidebarItemView:_0x292585,changedProp:_0x4c0566}of this[_0x53b823(0x184)])_0x53b823(0x19a)===_0x4c0566?this[_0x53b823(0x16e)](_0x292585):this[_0x53b823(0x168)](_0x292585);this[_0x53b823(0x184)]=[];},0xa),this[_0x50c3a0(0x184)][_0x50c3a0(0x171)]({'sidebarItemView':_0x95c9a2,'changedProp':_0x1bfc43});}[_0x1a0818(0x17f)](_0xce7e73){const _0x2247ae=_0x1a0818;return this[_0x2247ae(0x176)][_0x2247ae(0x16c)](_0xce7e73);}[_0x1a0818(0x178)](){const _0x3d273a=_0x1a0818;this[_0x3d273a(0x172)](),this[_0x3d273a(0x1a9)][_0x3d273a(0x178)]();}[_0x1a0818(0x17a)](_0x30a39c){const _0x165110=_0x1a0818,_0x160bdd=this[_0x165110(0x17f)](_0x30a39c);this[_0x165110(0x172)](_0x160bdd),this[_0x165110(0x172)](_0x30a39c[_0x165110(0x1a9)]),_0x160bdd[_0x165110(0x178)](),this[_0x165110(0x176)][_0x165110(0x165)](_0x30a39c),this[_0x165110(0x1a8)][_0x165110(0x165)](_0x160bdd);}[_0x1a0818(0x191)](){const _0x3d0a56=_0x1a0818,_0x16aa82=new _0x1c8054(this[_0x3d0a56(0x160)][_0x3d0a56(0x18b)]);return _0x16aa82[_0x3d0a56(0x1a3)](),this['on'](_0x3d0a56(0x194),(_0x34ddfa,_0x455f61,_0x252229,_0x33c1cf)=>{const _0x2972a1=_0x3d0a56;_0x33c1cf&&_0x16aa82[_0x2972a1(0x196)](_0x2972a1(0x19e)),_0x252229?_0x16aa82[_0x2972a1(0x155)](_0x2972a1(0x19e))['to'](_0x252229,_0x2972a1(0x1a4)):_0x16aa82[_0x2972a1(0x19e)]=null;}),_0x16aa82;}[_0x1a0818(0x192)](){const _0x229454=_0x1a0818;var _0x4482b7;this[_0x229454(0x1ad)]=(null===(_0x4482b7=this[_0x229454(0x1ae)])||void 0x0===_0x4482b7?void 0x0:_0x4482b7[_0x229454(0x163)])?this[_0x229454(0x17f)](this[_0x229454(0x1ae)][_0x229454(0x163)]):null;}[_0x1a0818(0x18a)](_0x6de027){const _0x5e2333=_0x1a0818;var _0x209793;const _0x4e6cbc=this[_0x5e2333(0x1a8)][_0x5e2333(0x16c)](_0x6de027),_0x2cabc5=_0x4e6cbc&&(null===(_0x209793=this[_0x5e2333(0x1ae)])||void 0x0===_0x209793?void 0x0:_0x209793[_0x5e2333(0x16c)](this[_0x5e2333(0x1ae)][_0x5e2333(0x1a1)](_0x4e6cbc)-0x1));return _0x2cabc5&&this[_0x5e2333(0x17f)](_0x2cabc5)||null;}[_0x1a0818(0x190)](_0x328952){const _0x1691a9=_0x1a0818;var _0x1e5afc;const _0x6bbefe=this[_0x1691a9(0x1a8)][_0x1691a9(0x16c)](_0x328952),_0x55630a=_0x6bbefe&&(null===(_0x1e5afc=this[_0x1691a9(0x1ae)])||void 0x0===_0x1e5afc?void 0x0:_0x1e5afc[_0x1691a9(0x16c)](this[_0x1691a9(0x1ae)][_0x1691a9(0x1a1)](_0x6bbefe)+0x1));return _0x55630a&&this[_0x1691a9(0x17f)](_0x55630a)||null;}[_0x1a0818(0x16a)](_0x312dca,_0x467772){const _0x16072b=_0x1a0818;_0x312dca[_0x16072b(0x1ac)]();const _0x471737=R(_0x467772[_0x16072b(0x1a4)]+this[_0x16072b(0x15e)],_0x312dca[_0x16072b(0x19a)]);return!!_0x471737&&(this[_0x16072b(0x18d)](_0x467772,_0x467772[_0x16072b(0x19a)]-_0x471737),!0x0);}[_0x1a0818(0x19b)](_0x3aca7e,_0x1b90e3){const _0x8d717a=_0x1a0818;_0x3aca7e[_0x8d717a(0x1ac)]();const _0x4e63c4=R(_0x3aca7e[_0x8d717a(0x1a4)]+this[_0x8d717a(0x15e)],_0x1b90e3[_0x8d717a(0x19a)]);return!!_0x4e63c4&&(this[_0x8d717a(0x18d)](_0x1b90e3,_0x1b90e3[_0x8d717a(0x19a)]+_0x4e63c4,!0x1),!0x0);}[_0x1a0818(0x183)](_0x14eedd){const _0x3786e6=_0x1a0818,_0x56cab5=this[_0x3786e6(0x1a8)][_0x3786e6(0x16c)](_0x14eedd);if(!_0x56cab5||!_0x56cab5[_0x3786e6(0x174)]||!_0x56cab5[_0x3786e6(0x16d)])return;const _0x41ade4=this[_0x3786e6(0x195)](_0x56cab5,_0x56cab5[_0x3786e6(0x16d)]);this[_0x3786e6(0x18d)](_0x14eedd,_0x41ade4);}[_0x1a0818(0x195)](_0x94af53,_0x1b28e8){const _0x3164b1=_0x1a0818;if(null===_0x1b28e8)return 0x0;if(_0x94af53[_0x3164b1(0x174)]instanceof _0x2bef79)return _0x1b28e8[_0x3164b1(0x19a)];{const _0x838cec=new _0x2bef79(this[_0x3164b1(0x1a9)][_0x3164b1(0x19f)])[_0x3164b1(0x19a)];return _0x1b28e8[_0x3164b1(0x19a)]-_0x838cec;}}[_0x1a0818(0x18d)](_0x2f29d8,_0x40b8ed,_0x28536f=this[_0x1a0818(0x160)][_0x1a0818(0x162)][_0x1a0818(0x16c)](_0x1a0818(0x157))){const _0x40cbb4=_0x1a0818;_0x28536f&&(_0x40b8ed=Math[_0x40cbb4(0x17e)](_0x40b8ed,this[_0x40cbb4(0x1ab)](_0x2f29d8))),_0x2f29d8[_0x40cbb4(0x19a)]=_0x40b8ed;}[_0x1a0818(0x1ab)](_0x54c66a){const _0x394bd5=_0x1a0818;let _0x13fb37=this[_0x394bd5(0x18a)](_0x54c66a),_0x3502b1=0x0;for(;_0x13fb37;)_0x13fb37[_0x394bd5(0x1ac)](),_0x3502b1+=this[_0x394bd5(0x15e)]+_0x13fb37[_0x394bd5(0x19c)],_0x13fb37=this[_0x394bd5(0x18a)](_0x13fb37);return _0x3502b1;}}function _0x57af(_0x3a230b,_0x5b9284){const _0x5d349f=_0x5d34();return _0x57af=function(_0x57affa,_0xbe0406){_0x57affa=_0x57affa-0x155;let _0xd03d4c=_0x5d349f[_0x57affa];return _0xd03d4c;},_0x57af(_0x3a230b,_0x5b9284);}function R(_0x5d4118,_0x462363){const _0x22c716=_0x1a0818;return Math[_0x22c716(0x17e)](_0x5d4118-_0x462363,0x0);}function y(_0x2642e5){const _0x2eddea=_0x1a0818;return null!==_0x2642e5&&_0x2eddea(0x193)==typeof _0x2642e5&&0x1===_0x2642e5[_0x2eddea(0x158)];}
|
|
23
|
+
const _0x3a384b=_0x28e0;function _0xe090(){const _0x2f23f1=['_getItemBefore','sidebar-attachtocontainer-missing-container','_createSidebarView','4770660LXckLS','change:bottom','_setItemTop','updateHeight','3128910EFTKNu','20330OVhLSI','isActive','sidebar-setcontainer-invalid-element','sidebar.preventScrollOutOfView','destroy','rearrange','_alignBeforeItem','push','render','_annotations','last','1457162LxRLOr','view','getIndex','isAnimationDisabled','2MeROkC','_recalculateBuffer','define','_getItemAfter','max','locale','change:targetRect','_recalculate','40xunmAi','context','setContainer','_alignAfterItem','element','_getTargetTop','Sidebar','sidebar.container','set','target','add','height','380549UYBXYn','_annotationToSidebarItemView','top','bind','_attachToContainer','content','isPremiumPlugin','length','remove','change:_lastItem','unbind','clear','pluginName','_getMaxAvailableTop','stopListening','_sidebarItemViewToAnnotation','targetRect','83136JreFVA','get','class','refresh','getSidebarItemView','_activeAnnotation','bottom','container','listenTo','_detachFromContainer','_lastItem','2799mdygwm','addAnnotation','change:top','636hlFOiE','object','_alignToTargetRect','nodeType','delete','_updateLastItem','266508fNNxbZ','_alignForBottomChange','init','list','config','_destroySidebarItemView','56Jngxor','isOfficialPlugin','_spaceBetweenItems','_alignForTopChange','appendChild','_targetTop','minHeight'];_0xe090=function(){return _0x2f23f1;};return _0xe090();}(function(_0x51302e,_0x5d5342){const _0x204b4e=_0x28e0,_0x91ce82=_0x51302e();while(!![]){try{const _0x1e92cb=parseInt(_0x204b4e(0x156))/0x1+-parseInt(_0x204b4e(0x142))/0x2*(parseInt(_0x204b4e(0x18f))/0x3)+parseInt(_0x204b4e(0x18b))/0x4+-parseInt(_0x204b4e(0x14a))/0x5*(parseInt(_0x204b4e(0x167))/0x6)+-parseInt(_0x204b4e(0x13e))/0x7*(parseInt(_0x204b4e(0x181))/0x8)+parseInt(_0x204b4e(0x172))/0x9*(parseInt(_0x204b4e(0x190))/0xa)+-parseInt(_0x204b4e(0x17b))/0xb*(-parseInt(_0x204b4e(0x175))/0xc);if(_0x1e92cb===_0x5d5342)break;else _0x91ce82['push'](_0x91ce82['shift']());}catch(_0x172c2e){_0x91ce82['push'](_0x91ce82['shift']());}}}(_0xe090,0xd67f5));import{ContextPlugin as _0x992a6a}from'ckeditor5/src/core.js';import{Rect as _0x18271f,CKEditorError as _0x22812d}from'ckeditor5/src/utils.js';import _0x383a90 from'./view/sidebarview.js';import _0x5b4bcb from'./view/sidebaritemview.js';function _0x28e0(_0x4ea223,_0x43a5f0){const _0xe090be=_0xe090();return _0x28e0=function(_0x28e07b,_0x3acd67){_0x28e07b=_0x28e07b-0x139;let _0xee62d7=_0xe090be[_0x28e07b];return _0xee62d7;},_0x28e0(_0x4ea223,_0x43a5f0);}export default class z extends _0x992a6a{static get[_0x3a384b(0x162)](){const _0x1c614a=_0x3a384b;return _0x1c614a(0x150);}static get[_0x3a384b(0x182)](){return!0x0;}static get[_0x3a384b(0x15c)](){return!0x0;}constructor(_0x10ebec){const _0x6de7f3=_0x3a384b;super(_0x10ebec),this[_0x6de7f3(0x152)](_0x6de7f3(0x171),void 0x0),this[_0x6de7f3(0x13f)]=this[_0x6de7f3(0x18a)](),this[_0x6de7f3(0x152)](_0x6de7f3(0x16e),null),this[_0x6de7f3(0x183)]=0x19,this[_0x6de7f3(0x165)]=new Map(),this[_0x6de7f3(0x157)]=new Map(),this[_0x6de7f3(0x14b)][_0x6de7f3(0x17f)][_0x6de7f3(0x144)](_0x6de7f3(0x193),!0x1),this[_0x6de7f3(0x13c)]=null,this[_0x6de7f3(0x16c)]=null,this[_0x6de7f3(0x143)]=[];}[_0x3a384b(0x17d)](){const _0x175d7b=_0x3a384b,_0x3f3984=this[_0x175d7b(0x14b)][_0x175d7b(0x17f)][_0x175d7b(0x168)](_0x175d7b(0x151));_0x3f3984&&this[_0x175d7b(0x14c)](_0x3f3984);}[_0x3a384b(0x14c)](_0x3ee6b9){const _0xe4ee7a=_0x3a384b;if(!y(_0x3ee6b9))throw new _0x22812d(_0xe4ee7a(0x192));this[_0xe4ee7a(0x16e)]=_0x3ee6b9;}[_0x3a384b(0x15a)]({viewClass:_0x481256='',spaceBetweenItems:_0x172c1e=0x19}={}){const _0x40fef1=_0x3a384b;if(!y(this[_0x40fef1(0x16e)]))throw new _0x22812d(_0x40fef1(0x189),this);this[_0x40fef1(0x16e)][_0x40fef1(0x185)](this[_0x40fef1(0x13f)][_0x40fef1(0x14e)]),this[_0x40fef1(0x13f)][_0x40fef1(0x169)]=_0x481256,this[_0x40fef1(0x183)]=_0x172c1e;}[_0x3a384b(0x195)]({removedAnnotation:_0x39b2ae,previousAnnotation:_0x431644,nextAnnotation:_0x40228b}){const _0x24c768=_0x3a384b,_0x1d0fbc=this[_0x24c768(0x16b)](_0x39b2ae);this[_0x24c768(0x13f)][_0x24c768(0x17e)][_0x24c768(0x15e)](_0x1d0fbc),this[_0x24c768(0x180)](_0x39b2ae),_0x431644&&this[_0x24c768(0x177)](this[_0x24c768(0x16b)](_0x431644)),_0x40228b&&this[_0x24c768(0x177)](this[_0x24c768(0x16b)](_0x40228b)),this[_0x24c768(0x17a)]();}[_0x3a384b(0x16a)]({blurredAnnotation:_0xa01664,activatedAnnotation:_0x42cf98,disableAnimationOnActivatedAnnotation:_0x3e821c}){const _0x2c911c=_0x3a384b;if(this[_0x2c911c(0x16c)]=_0x42cf98,_0xa01664){_0xa01664[_0x2c911c(0x191)]=!0x1;const _0xcbfb33=this[_0x2c911c(0x16b)](_0xa01664);_0xcbfb33&&_0x3e821c&&(_0xcbfb33[_0x2c911c(0x141)]=!0x1);}if(_0x42cf98){const _0x518490=this[_0x2c911c(0x16b)](_0x42cf98);_0x518490&&(_0x42cf98[_0x2c911c(0x191)]=!0x0,_0x3e821c&&(_0x518490[_0x2c911c(0x141)]=!0x0,_0x518490[_0x2c911c(0x158)]+=0x1),this[_0x2c911c(0x177)](_0x518490));}}[_0x3a384b(0x170)](_0x5b1e51){const _0x60454c=_0x3a384b;if(this[_0x60454c(0x13f)][_0x60454c(0x14e)][_0x60454c(0x15e)](),_0x5b1e51){for(const _0x208099 of _0x5b1e51)this[_0x60454c(0x180)](_0x208099);}this[_0x60454c(0x13f)][_0x60454c(0x17e)][_0x60454c(0x161)](),this[_0x60454c(0x13f)][_0x60454c(0x169)]='',this[_0x60454c(0x171)]=null;}[_0x3a384b(0x173)](_0x4384e1,_0xb754e2){const _0x26f0cf=_0x3a384b;_0xb754e2||(_0xb754e2=_0x4384e1[_0x26f0cf(0x13f)]);const _0x4dacf6=new _0x5b4bcb(this[_0x26f0cf(0x14b)][_0x26f0cf(0x147)]);this[_0x26f0cf(0x165)][_0x26f0cf(0x152)](_0x4dacf6,_0x4384e1),this[_0x26f0cf(0x157)][_0x26f0cf(0x152)](_0x4384e1,_0x4dacf6),_0x4dacf6[_0x26f0cf(0x15b)][_0x26f0cf(0x154)](_0xb754e2),this[_0x26f0cf(0x16f)](_0x4384e1[_0x26f0cf(0x13f)],_0x26f0cf(0x148),(_0x1bbbf9,_0x153558,_0x185c41)=>{const _0x4d092b=_0x26f0cf,_0x37ec68=this[_0x4d092b(0x14f)](_0x4384e1,_0x185c41);_0x4dacf6[_0x4d092b(0x186)]!=_0x37ec68&&(_0x4dacf6[_0x4d092b(0x186)]=_0x37ec68,this[_0x4d092b(0x18d)](_0x4dacf6,_0x37ec68));}),this[_0x26f0cf(0x16f)](_0x4dacf6,_0x26f0cf(0x174),()=>{const _0x56d523=_0x26f0cf;this[_0x56d523(0x149)](_0x4dacf6,_0x56d523(0x158));}),this[_0x26f0cf(0x16f)](_0x4dacf6,_0x26f0cf(0x18c),()=>{const _0x146e2a=_0x26f0cf;this[_0x146e2a(0x149)](_0x4dacf6,_0x146e2a(0x16d));}),this[_0x26f0cf(0x177)](_0x4dacf6);const _0x5960b7=this[_0x26f0cf(0x188)](_0x4dacf6);if(_0x5960b7)this[_0x26f0cf(0x14d)](_0x5960b7,_0x4dacf6)||this[_0x26f0cf(0x177)](_0x4dacf6);else this[_0x26f0cf(0x177)](_0x4dacf6);return this[_0x26f0cf(0x17a)](),this[_0x26f0cf(0x13f)][_0x26f0cf(0x17e)][_0x26f0cf(0x154)](_0x4dacf6),_0x4dacf6;}[_0x3a384b(0x184)](_0x2a329a){const _0x4eba4e=_0x3a384b;if(!_0x2a329a[_0x4eba4e(0x15b)][_0x4eba4e(0x15d)])return;const _0x1142d5=this[_0x4eba4e(0x188)](_0x2a329a);if(!_0x1142d5)return;const _0x2a1e29=this[_0x4eba4e(0x165)][_0x4eba4e(0x168)](_0x1142d5),_0xbb6844=this[_0x4eba4e(0x16c)];_0xbb6844&&_0xbb6844===_0x2a1e29?this[_0x4eba4e(0x14d)](_0x1142d5,_0x2a329a):this[_0x4eba4e(0x139)](_0x2a329a,_0x1142d5);}[_0x3a384b(0x17c)](_0x5a964e){const _0x3a3f28=_0x3a384b;if(!_0x5a964e[_0x3a3f28(0x15b)][_0x3a3f28(0x15d)])return;const _0x2541ad=this[_0x3a3f28(0x145)](_0x5a964e);if(!_0x2541ad)return;const _0xa6169=this[_0x3a3f28(0x165)][_0x3a3f28(0x168)](_0x2541ad),_0x59d941=this[_0x3a3f28(0x14b)][_0x3a3f28(0x17f)][_0x3a3f28(0x168)](_0x3a3f28(0x193)),_0x67e332=this[_0x3a3f28(0x16c)];_0x67e332&&_0x67e332===_0xa6169&&_0x59d941?(this[_0x3a3f28(0x139)](_0x2541ad,_0x5a964e),this[_0x3a3f28(0x14d)](_0x5a964e,_0x2541ad)):_0x67e332&&_0x67e332===_0xa6169?this[_0x3a3f28(0x139)](_0x2541ad,_0x5a964e):this[_0x3a3f28(0x14d)](_0x5a964e,_0x2541ad);}[_0x3a384b(0x149)](_0x109743,_0x4d033a){const _0xfbad2b=_0x3a384b;0x0===this[_0xfbad2b(0x143)][_0xfbad2b(0x15d)]&&setTimeout(()=>{const _0x3cc683=_0xfbad2b;for(const {sidebarItemView:_0x1f8893,changedProp:_0x453af6}of this[_0x3cc683(0x143)])_0x3cc683(0x158)===_0x453af6?this[_0x3cc683(0x184)](_0x1f8893):this[_0x3cc683(0x17c)](_0x1f8893);this[_0x3cc683(0x143)]=[];},0xa),this[_0xfbad2b(0x143)][_0xfbad2b(0x13a)]({'sidebarItemView':_0x109743,'changedProp':_0x4d033a});}[_0x3a384b(0x16b)](_0x4b8a5c){const _0x1443f7=_0x3a384b;return this[_0x1443f7(0x157)][_0x1443f7(0x168)](_0x4b8a5c);}[_0x3a384b(0x194)](){const _0x36d213=_0x3a384b;this[_0x36d213(0x164)](),this[_0x36d213(0x13f)][_0x36d213(0x194)]();}[_0x3a384b(0x180)](_0x49e361){const _0x3ec045=_0x3a384b,_0x1e0c52=this[_0x3ec045(0x16b)](_0x49e361);this[_0x3ec045(0x164)](_0x1e0c52),this[_0x3ec045(0x164)](_0x49e361[_0x3ec045(0x13f)]),_0x1e0c52[_0x3ec045(0x194)](),this[_0x3ec045(0x157)][_0x3ec045(0x179)](_0x49e361),this[_0x3ec045(0x165)][_0x3ec045(0x179)](_0x1e0c52);}[_0x3a384b(0x18a)](){const _0x388130=_0x3a384b,_0x48e53a=new _0x383a90(this[_0x388130(0x14b)][_0x388130(0x147)]);return _0x48e53a[_0x388130(0x13b)](),this['on'](_0x388130(0x15f),(_0x391e8c,_0x21dd0c,_0x9d83c0,_0x4ecf58)=>{const _0x35ca63=_0x388130;_0x4ecf58&&_0x48e53a[_0x35ca63(0x160)](_0x35ca63(0x187)),_0x9d83c0?_0x48e53a[_0x35ca63(0x159)](_0x35ca63(0x187))['to'](_0x9d83c0,_0x35ca63(0x16d)):_0x48e53a[_0x35ca63(0x187)]=null;}),_0x48e53a;}[_0x3a384b(0x17a)](){const _0x152ed2=_0x3a384b;var _0x401cf0;this[_0x152ed2(0x171)]=(null===(_0x401cf0=this[_0x152ed2(0x13c)])||void 0x0===_0x401cf0?void 0x0:_0x401cf0[_0x152ed2(0x13d)])?this[_0x152ed2(0x16b)](this[_0x152ed2(0x13c)][_0x152ed2(0x13d)]):null;}[_0x3a384b(0x188)](_0x582cc0){const _0x5c69cf=_0x3a384b;var _0x3d6f30;const _0x10b186=this[_0x5c69cf(0x165)][_0x5c69cf(0x168)](_0x582cc0),_0x43269d=_0x10b186&&(null===(_0x3d6f30=this[_0x5c69cf(0x13c)])||void 0x0===_0x3d6f30?void 0x0:_0x3d6f30[_0x5c69cf(0x168)](this[_0x5c69cf(0x13c)][_0x5c69cf(0x140)](_0x10b186)-0x1));return _0x43269d&&this[_0x5c69cf(0x16b)](_0x43269d)||null;}[_0x3a384b(0x145)](_0x2ae72a){const _0x5407d3=_0x3a384b;var _0x1e6491;const _0x17c50f=this[_0x5407d3(0x165)][_0x5407d3(0x168)](_0x2ae72a),_0x32c0f1=_0x17c50f&&(null===(_0x1e6491=this[_0x5407d3(0x13c)])||void 0x0===_0x1e6491?void 0x0:_0x1e6491[_0x5407d3(0x168)](this[_0x5407d3(0x13c)][_0x5407d3(0x140)](_0x17c50f)+0x1));return _0x32c0f1&&this[_0x5407d3(0x16b)](_0x32c0f1)||null;}[_0x3a384b(0x139)](_0x394823,_0x48a9cb){const _0x4e77eb=_0x3a384b;_0x394823[_0x4e77eb(0x18e)]();const _0x55595a=R(_0x48a9cb[_0x4e77eb(0x16d)]+this[_0x4e77eb(0x183)],_0x394823[_0x4e77eb(0x158)]);return!!_0x55595a&&(this[_0x4e77eb(0x18d)](_0x48a9cb,_0x48a9cb[_0x4e77eb(0x158)]-_0x55595a),!0x0);}[_0x3a384b(0x14d)](_0x3d1cd3,_0x199266){const _0x589ffe=_0x3a384b;_0x3d1cd3[_0x589ffe(0x18e)]();const _0x30463f=R(_0x3d1cd3[_0x589ffe(0x16d)]+this[_0x589ffe(0x183)],_0x199266[_0x589ffe(0x158)]);return!!_0x30463f&&(this[_0x589ffe(0x18d)](_0x199266,_0x199266[_0x589ffe(0x158)]+_0x30463f,!0x1),!0x0);}[_0x3a384b(0x177)](_0x43a4aa){const _0x5b9410=_0x3a384b,_0xd6e100=this[_0x5b9410(0x165)][_0x5b9410(0x168)](_0x43a4aa);if(!_0xd6e100||!_0xd6e100[_0x5b9410(0x153)]||!_0xd6e100[_0x5b9410(0x166)])return;const _0x2511e0=this[_0x5b9410(0x14f)](_0xd6e100,_0xd6e100[_0x5b9410(0x166)]);this[_0x5b9410(0x18d)](_0x43a4aa,_0x2511e0);}[_0x3a384b(0x14f)](_0x2d58e8,_0x530cda){const _0x4c36a3=_0x3a384b;if(null===_0x530cda)return 0x0;if(_0x2d58e8[_0x4c36a3(0x153)]instanceof _0x18271f)return _0x530cda[_0x4c36a3(0x158)];{const _0x592933=new _0x18271f(this[_0x4c36a3(0x13f)][_0x4c36a3(0x14e)])[_0x4c36a3(0x158)];return _0x530cda[_0x4c36a3(0x158)]-_0x592933;}}[_0x3a384b(0x18d)](_0x368e97,_0x54a51d,_0x243176=this[_0x3a384b(0x14b)][_0x3a384b(0x17f)][_0x3a384b(0x168)](_0x3a384b(0x193))){const _0x555d06=_0x3a384b;_0x243176&&(_0x54a51d=Math[_0x555d06(0x146)](_0x54a51d,this[_0x555d06(0x163)](_0x368e97))),_0x368e97[_0x555d06(0x158)]=_0x54a51d;}[_0x3a384b(0x163)](_0x3b9a38){const _0x331915=_0x3a384b;let _0x1d77c0=this[_0x331915(0x188)](_0x3b9a38),_0x2aff4f=0x0;for(;_0x1d77c0;)_0x1d77c0[_0x331915(0x18e)](),_0x2aff4f+=this[_0x331915(0x183)]+_0x1d77c0[_0x331915(0x155)],_0x1d77c0=this[_0x331915(0x188)](_0x1d77c0);return _0x2aff4f;}}function R(_0x40422d,_0x18ab76){const _0x41a608=_0x3a384b;return Math[_0x41a608(0x146)](_0x40422d-_0x18ab76,0x0);}function y(_0x100d39){const _0x2c0eb1=_0x3a384b;return null!==_0x100d39&&_0x2c0eb1(0x176)==typeof _0x100d39&&0x1===_0x100d39[_0x2c0eb1(0x178)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1719(){const _0x226aa7=['878255EilafC','304tDuMAv','...','counterView','bind','1921zAERir','3200710vqPiqs','1346LWprHt','ck-annotation-counter__badge--edit-mode','set','371fNDGbX','_badge','annotationType','extendTemplate','add','ck-annotation-counter','36402zIIWKx','231320KLWDKb','setTemplate','10065407auEhSI','icon','6JDUCpu','children','27rnMZfK','9392124vjbveu','bindTemplate','span','ck-annotation-counter__badge','isDirty','ck-annotation-counter__badge--','number','toString'];_0x1719=function(){return _0x226aa7;};return _0x1719();}(function(_0x2aa440,_0x22278c){const _0x1f0e88=_0x4af6,_0x12bd4d=_0x2aa440();while(!![]){try{const _0x3c249f=-parseInt(_0x1f0e88(0x106))/0x1*(-parseInt(_0x1f0e88(0x108))/0x2)+-parseInt(_0x1f0e88(0x111))/0x3*(parseInt(_0x1f0e88(0x102))/0x4)+parseInt(_0x1f0e88(0x101))/0x5*(-parseInt(_0x1f0e88(0x116))/0x6)+parseInt(_0x1f0e88(0x10b))/0x7*(parseInt(_0x1f0e88(0x112))/0x8)+parseInt(_0x1f0e88(0x118))/0x9*(-parseInt(_0x1f0e88(0x107))/0xa)+parseInt(_0x1f0e88(0x114))/0xb+-parseInt(_0x1f0e88(0x119))/0xc;if(_0x3c249f===_0x22278c)break;else _0x12bd4d['push'](_0x12bd4d['shift']());}catch(_0x38ca20){_0x12bd4d['push'](_0x12bd4d['shift']());}}}(_0x1719,0xdba38));import{ButtonView as _0x3fd21c,View as _0x263f5b}from'ckeditor5/src/ui.js';import _0x1ed00e from'../../../theme/icons/add-comment.svg';function _0x4af6(_0x50f872,_0x223bd0){const _0x171932=_0x1719();return _0x4af6=function(_0x4af60a,_0x278322){_0x4af60a=_0x4af60a-0xfa;let _0x7a104b=_0x171932[_0x4af60a];return _0x7a104b;},_0x4af6(_0x50f872,_0x223bd0);}export default class D extends _0x3fd21c{constructor(_0x18c8c4){const _0x64050c=_0x4af6;super(_0x18c8c4);const _0x404435=this[_0x64050c(0xfa)];this[_0x64050c(0x10a)](_0x64050c(0xfd),!0x1),this[_0x64050c(0x10a)](_0x64050c(0xff),0x0),this[_0x64050c(0x105)](_0x64050c(0x10c))['to'](this,_0x64050c(0xfd),this,_0x64050c(0xff),(_0x53124b,_0x1a5ac2)=>_0x53124b?_0x64050c(0x103):_0x1a5ac2[_0x64050c(0x100)]()),this[_0x64050c(0x10a)](_0x64050c(0x10d),''),this[_0x64050c(0x115)]=_0x1ed00e,this[_0x64050c(0x10e)]({'attributes':{'class':[_0x64050c(0x110)]}}),this[_0x64050c(0x104)]=new _0x263f5b(),this[_0x64050c(0x104)][_0x64050c(0x113)]({'tag':_0x64050c(0xfb),'attributes':{'class':[_0x64050c(0xfc),_0x404435['to'](_0x64050c(0x10d),_0x2e5e81=>_0x64050c(0xfe)+_0x2e5e81),_0x404435['if'](_0x64050c(0xfd),_0x64050c(0x109))]},'children':[{'text':_0x404435['to'](_0x64050c(0x10c))}]}),this[_0x64050c(0x117)][_0x64050c(0x10f)](this[_0x64050c(0x104)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x350eb4=_0x895b;function _0x1693(){const _0x18f383=['2079uYHmlK','createCollection','196712gfEvnT','isActive','first','2084220DrQqiC','1VDDGWZ','ck-annotation-wrapper','content','isDirty','8368veJSAN','arrowup','div','listenTo','ck-annotation-wrapper--active','fire','arrowdown','906395YDpBHA','delegate','_updateHeight','focusTracker','43372eomkWJ','focus','812YgFFnu','clientHeight','destroy','targetRect','6GhmZpG','type','length','attach','Esc','_mutationObserver','195ETLOlQ','detach','mainView','presentation','1008528GZjOFH','setTemplate','set','add','height','render','99AZMuRY','bindTemplate','element','keystrokes','ck-rounded-corners','clear'];_0x1693=function(){return _0x18f383;};return _0x1693();}(function(_0x51a991,_0x3103a3){const _0x49d799=_0x895b,_0x4d503d=_0x51a991();while(!![]){try{const _0x33d246=parseInt(_0x49d799(0xf3))/0x1*(parseInt(_0x49d799(0xef))/0x2)+parseInt(_0x49d799(0x10e))/0x3*(parseInt(_0x49d799(0x104))/0x4)+-parseInt(_0x49d799(0xfe))/0x5+-parseInt(_0x49d799(0x108))/0x6*(parseInt(_0x49d799(0x102))/0x7)+parseInt(_0x49d799(0xf7))/0x8*(-parseInt(_0x49d799(0xed))/0x9)+-parseInt(_0x49d799(0xf2))/0xa+-parseInt(_0x49d799(0x118))/0xb*(-parseInt(_0x49d799(0x112))/0xc);if(_0x33d246===_0x3103a3)break;else _0x4d503d['push'](_0x4d503d['shift']());}catch(_0x2e6a7c){_0x4d503d['push'](_0x4d503d['shift']());}}}(_0x1693,0x38418));import{View as _0x4e3de5}from'ckeditor5/src/ui.js';import{FocusTracker as _0x8de90e,KeystrokeHandler as _0x5bc3d4,uid as _0x4f243a}from'ckeditor5/src/utils.js';import _0x3cf708 from'../../utils/createmutationobserver.js';function _0x895b(_0x326b38,_0x33b89d){const _0x16936a=_0x1693();return _0x895b=function(_0x895ba8,_0xa0dae4){_0x895ba8=_0x895ba8-0xe9;let _0x1e2232=_0x16936a[_0x895ba8];return _0x1e2232;},_0x895b(_0x326b38,_0x33b89d);}import'../../../theme/annotation.css';export default class T extends _0x4e3de5{constructor(_0x283073,_0x54d6bb){const _0x230583=_0x895b;super(_0x283073),this['id']=_0x4f243a(),this[_0x230583(0x101)]=new _0x8de90e(),this[_0x230583(0xea)]=new _0x5bc3d4(),this[_0x230583(0xea)][_0x230583(0x114)](_0x230583(0x10c),(_0x28b54f,_0x24d39d)=>this[_0x230583(0xfc)](_0x230583(0x10c),_0x24d39d)),this[_0x230583(0x114)](_0x230583(0x107),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x230583(0x114)](_0x230583(0x116),0x0),this[_0x230583(0x114)](_0x230583(0xf0),!0x1),this[_0x230583(0x114)](_0x230583(0xf6),!0x1),this[_0x230583(0x114)](_0x230583(0x10a),0x0),this[_0x230583(0x114)](_0x230583(0x109),''),this[_0x230583(0x10d)]=_0x3cf708(()=>this[_0x230583(0x100)]()),this[_0x230583(0xf5)]=this[_0x230583(0xee)](),this[_0x230583(0xf5)][_0x230583(0xff)](_0x230583(0xf8),_0x230583(0xfd))['to'](this),this[_0x230583(0xf5)][_0x230583(0x115)](_0x54d6bb),this[_0x230583(0x110)]=_0x54d6bb;const _0x33d412=this[_0x230583(0x119)];this[_0x230583(0x113)]({'tag':_0x230583(0xf9),'attributes':{'class':['ck',_0x230583(0xf4),_0x230583(0xeb),_0x33d412['if'](_0x230583(0xf0),_0x230583(0xfb))],'role':_0x230583(0x111)},'children':this[_0x230583(0xf5)]});}[_0x350eb4(0x117)](){const _0x1c6af4=_0x350eb4;super[_0x1c6af4(0x117)](),this[_0x1c6af4(0x101)][_0x1c6af4(0x115)](this[_0x1c6af4(0xe9)]),this[_0x1c6af4(0xea)][_0x1c6af4(0xfa)](this[_0x1c6af4(0xe9)]),this[_0x1c6af4(0x10d)][_0x1c6af4(0x10b)](this[_0x1c6af4(0xe9)]);}[_0x350eb4(0x106)](){const _0x1f2d77=_0x350eb4;this[_0x1f2d77(0xf5)][_0x1f2d77(0xec)](),this[_0x1f2d77(0xea)][_0x1f2d77(0x106)](),this[_0x1f2d77(0x101)][_0x1f2d77(0x106)](),this[_0x1f2d77(0x10d)][_0x1f2d77(0x10f)](),super[_0x1f2d77(0x106)]();}[_0x350eb4(0x103)](){const _0x50d05b=_0x350eb4;this[_0x50d05b(0xf5)][_0x50d05b(0xf1)]&&this[_0x50d05b(0xf5)][_0x50d05b(0xf1)][_0x50d05b(0x103)]();}[_0x350eb4(0x100)](){const _0x4563b0=_0x350eb4,_0x13b085=this[_0x4563b0(0xe9)][_0x4563b0(0x105)];_0x13b085&&(this[_0x4563b0(0x116)]=_0x13b085);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12e657=_0x590e;function _0x590e(_0x43ef55,_0x4114f9){const _0x581601=_0x5816();return _0x590e=function(_0x590e6a,_0x5b0bf4){_0x590e6a=_0x590e6a-0x18d;let _0x105b36=_0x581601[_0x590e6a];return _0x105b36;},_0x590e(_0x43ef55,_0x4114f9);}(function(_0x28e61d,_0x3d4a0c){const _0x9339fb=_0x590e,_0x40f5e6=_0x28e61d();while(!![]){try{const _0x1e299b=parseInt(_0x9339fb(0x19f))/0x1+parseInt(_0x9339fb(0x1aa))/0x2+parseInt(_0x9339fb(0x1ae))/0x3+-parseInt(_0x9339fb(0x1ac))/0x4+-parseInt(_0x9339fb(0x19b))/0x5*(parseInt(_0x9339fb(0x1a5))/0x6)+parseInt(_0x9339fb(0x197))/0x7+-parseInt(_0x9339fb(0x19e))/0x8;if(_0x1e299b===_0x3d4a0c)break;else _0x40f5e6['push'](_0x40f5e6['shift']());}catch(_0x3cae60){_0x40f5e6['push'](_0x40f5e6['shift']());}}}(_0x5816,0xa1fc8));import{View as _0x2a9c3a}from'ckeditor5/src/ui.js';import{toUnit as _0x36a7f3}from'ckeditor5/src/utils.js';import _0x2a8f7d from'../../utils/createmutationobserver.js';function _0x5816(){const _0x427ce2=['bindTemplate','attach','focus','1194lbfWAN','set','top','height','updateHeight','1671458QRqrpp','bottom','1404388TebkEW','detach','916959ZiDrto','ck-sidebar-item--no-animation','ck-sidebar-item','delegate','_mutationObserver','clear','_targetTop','clientHeight','createCollection','element','arrowup','arrowdown','first','div','7364434KhYUBc','render','presentation','isAnimationDisabled','23200MYQISK','destroy','setTemplate','2645008eGxLZW','75135ZyQAFO','content','bind'];_0x5816=function(){return _0x427ce2;};return _0x5816();}const qt=_0x36a7f3('px');export default class H extends _0x2a9c3a{constructor(_0x3eec99){const _0x25372a=_0x590e;super(_0x3eec99),this[_0x25372a(0x1a6)](_0x25372a(0x1a7),0x0),this[_0x25372a(0x1a6)](_0x25372a(0x1a8),0x0),this[_0x25372a(0x1a1)](_0x25372a(0x1ab))['to'](this,_0x25372a(0x1a7),this,_0x25372a(0x1a8),(_0x44e8d8,_0x465e95)=>_0x44e8d8+_0x465e95),this[_0x25372a(0x1a6)](_0x25372a(0x19a),!0x1),this[_0x25372a(0x18d)]=_0x2a8f7d(()=>this[_0x25372a(0x1a9)]()),this[_0x25372a(0x18f)]=null,this[_0x25372a(0x1a0)]=this[_0x25372a(0x191)](),this[_0x25372a(0x1a0)][_0x25372a(0x1b1)](_0x25372a(0x193),_0x25372a(0x194))['to'](this);const _0x2fda5f=this[_0x25372a(0x1a2)];this[_0x25372a(0x19d)]({'tag':_0x25372a(0x196),'attributes':{'class':[_0x25372a(0x1b0),_0x2fda5f['to'](_0x25372a(0x19a),_0xb119a2=>_0xb119a2?_0x25372a(0x1af):'')],'style':{'top':_0x2fda5f['to'](_0x25372a(0x1a7),_0x331c4d=>qt(_0x331c4d))},'role':_0x25372a(0x199)},'children':this[_0x25372a(0x1a0)]});}[_0x12e657(0x198)](){const _0x5ba8f4=_0x12e657;super[_0x5ba8f4(0x198)](),this[_0x5ba8f4(0x18d)][_0x5ba8f4(0x1a3)](this[_0x5ba8f4(0x192)]);}[_0x12e657(0x1a4)](){const _0x7284f8=_0x12e657;this[_0x7284f8(0x1a0)][_0x7284f8(0x195)]&&this[_0x7284f8(0x1a0)][_0x7284f8(0x195)][_0x7284f8(0x1a4)]();}[_0x12e657(0x1a9)](){const _0x58bbfe=_0x12e657,_0x26b3c4=this[_0x58bbfe(0x192)][_0x58bbfe(0x190)];_0x26b3c4&&(this[_0x58bbfe(0x1a8)]=_0x26b3c4);}[_0x12e657(0x19c)](){const _0x4eed1c=_0x12e657;this[_0x4eed1c(0x1a0)][_0x4eed1c(0x18e)](),this[_0x4eed1c(0x18d)][_0x4eed1c(0x1ad)](),super[_0x4eed1c(0x19c)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2b0177=_0x21fd;function _0x21fd(_0x4f47e7,_0x5e2e1a){const _0x366d79=_0x366d();return _0x21fd=function(_0x21fd5c,_0x48040a){_0x21fd5c=_0x21fd5c-0x1dd;let _0x40add3=_0x366d79[_0x21fd5c];return _0x40add3;},_0x21fd(_0x4f47e7,_0x5e2e1a);}(function(_0x57d5a8,_0x400623){const _0x5db68e=_0x21fd,_0x17e058=_0x57d5a8();while(!![]){try{const _0x1b0e8c=-parseInt(_0x5db68e(0x1e2))/0x1+parseInt(_0x5db68e(0x1f9))/0x2*(-parseInt(_0x5db68e(0x1e8))/0x3)+parseInt(_0x5db68e(0x20d))/0x4*(-parseInt(_0x5db68e(0x203))/0x5)+parseInt(_0x5db68e(0x1f0))/0x6+parseInt(_0x5db68e(0x200))/0x7+-parseInt(_0x5db68e(0x1ec))/0x8*(parseInt(_0x5db68e(0x20b))/0x9)+parseInt(_0x5db68e(0x1df))/0xa;if(_0x1b0e8c===_0x400623)break;else _0x17e058['push'](_0x17e058['shift']());}catch(_0x12b673){_0x17e058['push'](_0x17e058['shift']());}}}(_0x366d,0x3ecad));import{View as _0x485818,FocusCycler as _0x1ae1b0}from'ckeditor5/src/ui.js';import{FocusTracker as _0x110ab6,toUnit as _0x5c002d}from'ckeditor5/src/utils.js';import{getTranslation as _0x21102a}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';function _0x366d(){const _0x36467f=['33hGXNwo','element','setTemplate','ck-sidebar','8MRkGft','delegate','added','change:top','2130810IxIMEA','div','listenTo','ck-reset','focusTracker','createCollection','getIndex','number','Annotations\x20list','9206xxnbYi','focus','_setupKeyboardNavigation','focusPrevious','class','remove','forEach','2908115FqaOrH','focusFirst','focusables','5aojGPe','length','render','add','focusNext','removed','minHeight','list','1752579ocEKhA','Annotations\x20sidebar','1019304gXVIgJ','change','_updateItemPositionInFocusables','uiLanguageDirection','arrowdown','2477810rBCMnz','source','focusCycler','260974lKIsSJ','set','arrowup','application','top','bindTemplate'];_0x366d=function(){return _0x36467f;};return _0x366d();}const qt=_0x5c002d('px');export default class V extends _0x485818{constructor(_0x2af711){const _0x27ced0=_0x21fd;super(_0x2af711);const _0x4b2fdd=this[_0x27ced0(0x1e7)];this[_0x27ced0(0x1e3)](_0x27ced0(0x209),0x0),this[_0x27ced0(0x1e3)](_0x27ced0(0x1fd),''),this[_0x27ced0(0x20a)]=this[_0x27ced0(0x1f5)](),this[_0x27ced0(0x202)]=this[_0x27ced0(0x1f5)](),this[_0x27ced0(0x20a)][_0x27ced0(0x1ed)](_0x27ced0(0x1e4),_0x27ced0(0x1de))['to'](this),this[_0x27ced0(0x1f4)]=new _0x110ab6(),this[_0x27ced0(0x1e1)]=new _0x1ae1b0({'focusables':this[_0x27ced0(0x202)],'focusTracker':this[_0x27ced0(0x1f4)]}),this[_0x27ced0(0x1ea)]({'tag':_0x27ced0(0x1f1),'attributes':{'class':['ck',_0x27ced0(0x1eb),_0x27ced0(0x1f3),_0x4b2fdd['to'](_0x27ced0(0x1fd))],'style':{'minHeight':_0x4b2fdd['to'](_0x27ced0(0x209),_0x4e4097=>_0x27ced0(0x1f7)==typeof _0x4e4097?qt(_0x4e4097+0xa):null)},'dir':_0x2af711[_0x27ced0(0x1dd)],'role':_0x27ced0(0x1e5),'aria-label':_0x21102a(_0x2af711,_0x27ced0(0x20c)),'tabindex':0x0},'children':[{'tag':_0x27ced0(0x1f1),'attributes':{'role':_0x27ced0(0x20a),'aria-label':_0x21102a(_0x2af711,_0x27ced0(0x1f8))},'children':this[_0x27ced0(0x20a)]}]});}[_0x2b0177(0x205)](){const _0x49c1c2=_0x2b0177;super[_0x49c1c2(0x205)](),this[_0x49c1c2(0x1fb)]();}[_0x2b0177(0x1fa)](){const _0x57722b=_0x2b0177;this[_0x57722b(0x1e1)][_0x57722b(0x201)]();}[_0x2b0177(0x1fb)](){const _0x4b6e41=_0x2b0177;this[_0x4b6e41(0x20a)][_0x4b6e41(0x1ed)](_0x4b6e41(0x1ef))['to'](this),this['on'](_0x4b6e41(0x1ef),_0x222376=>{const _0x17baae=_0x4b6e41;this[_0x17baae(0x20f)](_0x222376[_0x17baae(0x1e0)]);}),this[_0x4b6e41(0x20a)][_0x4b6e41(0x1ff)](_0x22d815=>{const _0x53a762=_0x4b6e41;this[_0x53a762(0x1f4)][_0x53a762(0x206)](_0x22d815[_0x53a762(0x1e9)]),this[_0x53a762(0x20f)](_0x22d815);}),this[_0x4b6e41(0x20a)]['on'](_0x4b6e41(0x20e),(_0x54da6e,_0x22b3c0)=>{const _0x5c1b9c=_0x4b6e41;for(const _0x48f074 of _0x22b3c0[_0x5c1b9c(0x208)])this[_0x5c1b9c(0x1f4)][_0x5c1b9c(0x1fe)](_0x48f074[_0x5c1b9c(0x1e9)]),this[_0x5c1b9c(0x202)][_0x5c1b9c(0x1fe)](_0x48f074);for(const _0x182cd4 of _0x22b3c0[_0x5c1b9c(0x1ee)])this[_0x5c1b9c(0x1f4)][_0x5c1b9c(0x206)](_0x182cd4[_0x5c1b9c(0x1e9)]),this[_0x5c1b9c(0x20f)](_0x182cd4);}),this['on'](_0x4b6e41(0x1e4),()=>{const _0x310f69=_0x4b6e41;this[_0x310f69(0x1e1)][_0x310f69(0x1fc)]();}),this['on'](_0x4b6e41(0x1de),()=>{const _0x197548=_0x4b6e41;this[_0x197548(0x1e1)][_0x197548(0x207)]();}),this[_0x4b6e41(0x1f2)](this[_0x4b6e41(0x1e9)],_0x4b6e41(0x1fa),()=>{const _0x2599e1=_0x4b6e41;this[_0x2599e1(0x1fa)]();});}[_0x2b0177(0x20f)](_0x4e400f){const _0x3946be=_0x2b0177,_0x1d1e4c=this[_0x3946be(0x202)][_0x3946be(0x1f6)](_0x4e400f);let _0x1c6816,_0x4ac72d;for(const _0x2ddb72 of this[_0x3946be(0x202)])if(_0x4e400f[_0x3946be(0x1e6)]<_0x2ddb72[_0x3946be(0x1e6)]){_0x1c6816=_0x2ddb72;break;}if(_0x4ac72d=_0x1c6816?this[_0x3946be(0x202)][_0x3946be(0x1f6)](_0x1c6816):this[_0x3946be(0x202)][_0x3946be(0x204)],-0x1!==_0x1d1e4c){if(_0x1d1e4c===_0x4ac72d-0x1)return;this[_0x3946be(0x202)][_0x3946be(0x1fe)](_0x4e400f),_0x4ac72d=_0x1c6816?this[_0x3946be(0x202)][_0x3946be(0x1f6)](_0x1c6816):this[_0x3946be(0x202)][_0x3946be(0x204)];}this[_0x3946be(0x202)][_0x3946be(0x206)](_0x4e400f,_0x4ac72d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x393b(){const _0x2468c1=['wideSidebar','refresh','high','_detachFromContainer','requires','stopListening','isOfficialPlugin','get','annotations','_integrateWithEditorAnnotations','widesidebar-attach-already-attached','_editorAnnotations','switchTo','set:container','isPremiumPlugin','remove','_annotations','off','has','pluginName','widesidebar-detach-not-attached','detach','cancel','getOrderedSelectedAnnotations','stop','blur','7333275XBMudT','focus','plugins','WideSidebar','add','updateTargetRect','destroy','activeAnnotation','listenTo','resize','rearrange','context','425429kTNtUP','refreshPositioning','29750giujxb','set','hasDomSelection','from','_destroyEditorAnnotationsIntegration','732KMormM','init','11KLotUo','addAnnotation','addEventListener','ck-sidebar--wide','68fGDOBQ','27599796saFcrn','register','uiUpdate','218745dWlDLt','EditorAnnotations','setActiveAnnotation','isAttached','attach','removeEventListener','ready','editors','7099710MmbSAW','_attachToContainer','_activeAnnotation','change:container','_refreshPositioningDebounced','711YYVdus','20744okKWJt','container','6qWNeGC'];_0x393b=function(){return _0x2468c1;};return _0x393b();}const _0x526c88=_0x25f5;(function(_0x2c05dd,_0x565181){const _0x3f18ec=_0x25f5,_0x35d75f=_0x2c05dd();while(!![]){try{const _0x1135e7=-parseInt(_0x3f18ec(0x237))/0x1*(-parseInt(_0x3f18ec(0x210))/0x2)+-parseInt(_0x3f18ec(0x200))/0x3*(parseInt(_0x3f18ec(0x1fc))/0x4)+-parseInt(_0x3f18ec(0x22b))/0x5+parseInt(_0x3f18ec(0x1f6))/0x6*(-parseInt(_0x3f18ec(0x1f1))/0x7)+parseInt(_0x3f18ec(0x20e))/0x8*(-parseInt(_0x3f18ec(0x20d))/0x9)+-parseInt(_0x3f18ec(0x208))/0xa*(-parseInt(_0x3f18ec(0x1f8))/0xb)+parseInt(_0x3f18ec(0x1fd))/0xc;if(_0x1135e7===_0x565181)break;else _0x35d75f['push'](_0x35d75f['shift']());}catch(_0x57332a){_0x35d75f['push'](_0x35d75f['shift']());}}}(_0x393b,0xd126c));import{ContextPlugin as _0x2b3c96,Context as _0x1f5c06}from'ckeditor5/src/core.js';import _0x3677fe from'./annotationsuis.js';import _0x40b00b from'./sidebar.js';import{CKEditorError as _0x500d82,Collection as _0x2c4a1b}from'ckeditor5/src/utils.js';function _0x25f5(_0x5f4f50,_0x38c599){const _0x393bf9=_0x393b();return _0x25f5=function(_0x25f590,_0x20697f){_0x25f590=_0x25f590-0x1f1;let _0x4c20a5=_0x393bf9[_0x25f590];return _0x4c20a5;},_0x25f5(_0x5f4f50,_0x38c599);}import{debounce as _0xada346}from'lodash-es';export default class e extends _0x2b3c96{static get[_0x526c88(0x215)](){return[_0x40b00b,_0x3677fe];}static get[_0x526c88(0x224)](){const _0x32f605=_0x526c88;return _0x32f605(0x22e);}static get[_0x526c88(0x217)](){return!0x0;}static get[_0x526c88(0x21f)](){return!0x0;}constructor(_0x31855d){const _0x1df0b8=_0x526c88;super(_0x31855d),this[_0x1df0b8(0x203)]=!0x1,this[_0x1df0b8(0x1f2)](_0x1df0b8(0x232),null),this[_0x1df0b8(0x219)]=null,this[_0x1df0b8(0x21c)]=new _0x2c4a1b(),this[_0x1df0b8(0x20c)]=_0xada346(()=>{const _0x2726db=_0x1df0b8;this[_0x2726db(0x219)][_0x2726db(0x238)]();},0xfa,{'leading':!0x1});}[_0x526c88(0x1f7)](){const _0x5aec53=_0x526c88,_0x4dc877=this[_0x5aec53(0x236)][_0x5aec53(0x22d)][_0x5aec53(0x218)](_0x3677fe),_0x165ef7=this[_0x5aec53(0x236)][_0x5aec53(0x22d)][_0x5aec53(0x218)](_0x40b00b);_0x4dc877[_0x5aec53(0x1fe)](_0x5aec53(0x211),this),_0x165ef7[_0x5aec53(0x20f)]&&_0x4dc877[_0x5aec53(0x21d)](_0x5aec53(0x211));}[_0x526c88(0x202)](_0x85f90c){const _0x2150db=_0x526c88;if(_0x85f90c===this[_0x2150db(0x232)])return;const _0x4a5314=this[_0x2150db(0x236)][_0x2150db(0x22d)][_0x2150db(0x218)](_0x40b00b);_0x4a5314[_0x2150db(0x20a)]=_0x85f90c;const _0x36c5e8=this[_0x2150db(0x232)];_0x4a5314[_0x2150db(0x212)]({'blurredAnnotation':_0x36c5e8,'activatedAnnotation':_0x85f90c}),this[_0x2150db(0x232)]=_0x85f90c;}[_0x526c88(0x204)](_0x39004c){const _0x1366e1=_0x526c88;this[_0x1366e1(0x219)]=_0x39004c;const _0x305bab=this[_0x1366e1(0x236)][_0x1366e1(0x22d)][_0x1366e1(0x218)](_0x40b00b);if(_0x305bab[_0x1366e1(0x221)]=_0x39004c,this[_0x1366e1(0x203)])throw new _0x500d82(_0x1366e1(0x21b),this);this[_0x1366e1(0x203)]=!0x0,this[_0x1366e1(0x233)](_0x305bab,_0x1366e1(0x21e),()=>{const _0x21d534=_0x1366e1;this[_0x21d534(0x226)](),this[_0x21d534(0x233)](_0x305bab,_0x21d534(0x20b),_0x52a81d=>{const _0x843db=_0x21d534;_0x52a81d[_0x843db(0x222)](),this[_0x843db(0x204)](_0x39004c);});}),_0x305bab[_0x1366e1(0x209)]({'viewClass':_0x1366e1(0x1fb)});const _0x47c3b8=_0x15d939=>{const _0x5e7143=_0x1366e1;_0x15d939[_0x5e7143(0x230)](),_0x305bab[_0x5e7143(0x1f9)](_0x15d939);};for(const _0x403567 of _0x39004c)_0x47c3b8(_0x403567);this[_0x1366e1(0x233)](_0x39004c,_0x1366e1(0x22f),(_0x2db82c,_0x1eac8a)=>{_0x47c3b8(_0x1eac8a);}),this[_0x1366e1(0x233)](_0x39004c,_0x1366e1(0x220),(_0x5ba97d,_0xf95475,_0x169789)=>{const _0x7f53d5=_0x1366e1;_0x305bab[_0x7f53d5(0x235)]({'removedAnnotation':_0xf95475,'previousAnnotation':_0x39004c[_0x7f53d5(0x218)](_0x169789-0x1),'nextAnnotation':_0x39004c[_0x7f53d5(0x218)](_0x169789+0x1)}),_0xf95475===this[_0x7f53d5(0x232)]&&this[_0x7f53d5(0x202)](null);},{'priority':_0x1366e1(0x213)}),this[_0x1366e1(0x233)](_0x39004c,_0x1366e1(0x22c),(_0x46cc3f,_0x1efc8c)=>{const _0x28bc8c=_0x1366e1;this[_0x28bc8c(0x202)](_0x1efc8c);}),this[_0x1366e1(0x233)](_0x39004c,_0x1366e1(0x22a),()=>{const _0x4c00a5=_0x1366e1;this[_0x4c00a5(0x202)](null);});const _0x560be3=this[_0x1366e1(0x236)]instanceof _0x1f5c06?this[_0x1366e1(0x236)][_0x1366e1(0x207)]:new _0x2c4a1b([this[_0x1366e1(0x236)]]);for(const _0x30588f of _0x560be3)this[_0x1366e1(0x21a)](_0x30588f);this[_0x1366e1(0x233)](_0x560be3,_0x1366e1(0x22f),(_0x2179ca,_0x2ed979)=>{const _0x2c6da9=_0x1366e1;this[_0x2c6da9(0x233)](_0x2ed979,_0x2c6da9(0x206),()=>{const _0x213ad8=_0x2c6da9;this[_0x213ad8(0x21a)](_0x2ed979);});}),this[_0x1366e1(0x233)](_0x560be3,_0x1366e1(0x220),(_0xb4075b,_0xadb1d3)=>{const _0x18f15b=_0x1366e1;_0xadb1d3[_0x18f15b(0x22d)][_0x18f15b(0x223)](_0x18f15b(0x201))&&this[_0x18f15b(0x1f5)](_0xadb1d3[_0x18f15b(0x22d)][_0x18f15b(0x218)](_0x18f15b(0x201)));}),window[_0x1366e1(0x1fa)](_0x1366e1(0x234),this[_0x1366e1(0x20c)]),this[_0x1366e1(0x219)][_0x1366e1(0x238)]();}[_0x526c88(0x226)](){const _0x2e2e3b=_0x526c88;if(!this[_0x2e2e3b(0x203)])throw new _0x500d82(_0x2e2e3b(0x225),this);this[_0x2e2e3b(0x202)](null);const _0x4bc14e=this[_0x2e2e3b(0x236)][_0x2e2e3b(0x22d)][_0x2e2e3b(0x218)](_0x40b00b);_0x4bc14e[_0x2e2e3b(0x214)](this[_0x2e2e3b(0x219)]),this[_0x2e2e3b(0x216)](_0x4bc14e),this[_0x2e2e3b(0x216)](this[_0x2e2e3b(0x219)]),this[_0x2e2e3b(0x236)]instanceof _0x1f5c06&&this[_0x2e2e3b(0x216)](this[_0x2e2e3b(0x236)][_0x2e2e3b(0x207)]);for(const _0x5dc3bb of Array[_0x2e2e3b(0x1f4)](this[_0x2e2e3b(0x21c)]))this[_0x2e2e3b(0x1f5)](_0x5dc3bb);window[_0x2e2e3b(0x205)](_0x2e2e3b(0x234),this[_0x2e2e3b(0x20c)]),this[_0x2e2e3b(0x20c)][_0x2e2e3b(0x227)](),this[_0x2e2e3b(0x232)]=null,this[_0x2e2e3b(0x203)]=!0x1,this[_0x2e2e3b(0x219)]=null;}[_0x526c88(0x231)](){const _0x23f1f6=_0x526c88;this[_0x23f1f6(0x203)]&&this[_0x23f1f6(0x226)]();}[_0x526c88(0x21a)](_0x5dc2d7){const _0x12a17b=_0x526c88;if(!_0x5dc2d7[_0x12a17b(0x22d)][_0x12a17b(0x223)](_0x12a17b(0x201)))return;const _0x5d6a54=_0x5dc2d7[_0x12a17b(0x22d)][_0x12a17b(0x218)](_0x12a17b(0x201)),_0xb1f2c3=()=>{const _0x49c0b2=_0x12a17b,_0x4ab52e=_0x5d6a54[_0x49c0b2(0x228)]({'annotations':this[_0x49c0b2(0x219)],'activeAnnotation':this[_0x49c0b2(0x232)]});this[_0x49c0b2(0x202)](_0x4ab52e[0x0]||null);};this[_0x12a17b(0x233)](_0x5d6a54,_0x12a17b(0x212),_0xb1f2c3),this[_0x12a17b(0x233)](_0x5d6a54,_0x12a17b(0x22a),(_0x55fd81,{isAnnotationTracked:_0x276bcc})=>{const _0x5e5dfd=_0x12a17b;this[_0x5e5dfd(0x232)]&&_0x276bcc(this[_0x5e5dfd(0x232)])&&this[_0x5e5dfd(0x202)](null);}),this[_0x12a17b(0x233)](_0x5d6a54,_0x12a17b(0x1ff),()=>{const _0x385fe3=_0x12a17b;this[_0x385fe3(0x20c)]();}),this[_0x12a17b(0x233)](this[_0x12a17b(0x219)],_0x12a17b(0x22a),_0x3def14=>{const _0x1af9bd=_0x12a17b;_0x5d6a54[_0x1af9bd(0x1f3)]()&&(_0xb1f2c3(),_0x3def14[_0x1af9bd(0x229)]());},{'priority':_0x12a17b(0x213)}),this[_0x12a17b(0x21c)][_0x12a17b(0x22f)](_0x5d6a54);}[_0x526c88(0x1f5)](_0x29f08e){const _0xded233=_0x526c88;this[_0xded233(0x216)](_0x29f08e),this[_0xded233(0x21c)][_0xded233(0x220)](_0x29f08e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5542c3=_0x7cb0;(function(_0x4016e6,_0x5442d7){const _0x363dd3=_0x7cb0,_0x1de0d6=_0x4016e6();while(!![]){try{const _0x482cc9=-parseInt(_0x363dd3(0x1e7))/0x1+parseInt(_0x363dd3(0x1e8))/0x2*(parseInt(_0x363dd3(0x1e4))/0x3)+parseInt(_0x363dd3(0x1fe))/0x4+-parseInt(_0x363dd3(0x1e5))/0x5*(parseInt(_0x363dd3(0x1ea))/0x6)+-parseInt(_0x363dd3(0x1f8))/0x7*(-parseInt(_0x363dd3(0x1f6))/0x8)+parseInt(_0x363dd3(0x1ed))/0x9+-parseInt(_0x363dd3(0x1f3))/0xa*(-parseInt(_0x363dd3(0x1ec))/0xb);if(_0x482cc9===_0x5442d7)break;else _0x1de0d6['push'](_0x1de0d6['shift']());}catch(_0x5e99d6){_0x1de0d6['push'](_0x1de0d6['shift']());}}}(_0x2cf5,0x1c92b));import{Command as _0x5a1e30}from'ckeditor5/src/core.js';function _0x7cb0(_0xdb7cfb,_0xa69e2a){const _0x2cf5d5=_0x2cf5();return _0x7cb0=function(_0x7cb028,_0x1bc685){_0x7cb028=_0x7cb028-0x1de;let _0x1d053c=_0x2cf5d5[_0x7cb028];return _0x1d053c;},_0x7cb0(_0xdb7cfb,_0xa69e2a);}function _0x2cf5(){const _0x4c9df6=['selection','isEnabled','element','document','substr','backward','172311FHNWKu','11080fxHEZZ','model','121358VTJztR','2OegYoW','$textProxy','582IgfiIe','getRanges','22oapmAU','1705131RAdcww','start','item','_trimToContent','editor','getLastMatchingPosition','6220kzmmvq','isObject','createRange','1304wDhsDZ','tableCell','7595yTvUeN','end','_hasContent','schema','refresh','execute','113400TgOlPv','getItems','comment:','change','push','addMarker','_itemIsContent'];_0x2cf5=function(){return _0x4c9df6;};return _0x2cf5();}import{uid as _0x4406cc}from'ckeditor5/src/utils.js';export default class J extends _0x5a1e30{[_0x5542c3(0x1fc)](){const _0x37f841=_0x5542c3,_0x5b514c=this[_0x37f841(0x1f1)][_0x37f841(0x1e6)][_0x37f841(0x1e1)][_0x37f841(0x1de)];for(const _0x41b205 of _0x5b514c[_0x37f841(0x1eb)]())if(this[_0x37f841(0x1fa)](_0x41b205))return void(this[_0x37f841(0x1df)]=!0x0);this[_0x37f841(0x1df)]=!0x1;}[_0x5542c3(0x1fd)]({threadId:_0x25ea31=_0x4406cc()}={}){const _0x131f75=_0x5542c3,_0x5595f2=this[_0x131f75(0x1f1)][_0x131f75(0x1e6)],_0x580f93=[];for(const _0x4317c8 of _0x5595f2[_0x131f75(0x1e1)][_0x131f75(0x1de)][_0x131f75(0x1eb)]())this[_0x131f75(0x1fa)](_0x4317c8)&&_0x580f93[_0x131f75(0x202)](this[_0x131f75(0x1f0)](_0x4317c8));_0x5595f2[_0x131f75(0x201)](_0x464d8b=>{const _0x34b490=_0x131f75;for(const _0x207495 of _0x580f93){const _0x317666=_0x4406cc()[_0x34b490(0x1e2)](0x1,0x5),_0x283fcc=_0x34b490(0x200)+_0x25ea31+':'+_0x317666;_0x464d8b[_0x34b490(0x203)](_0x283fcc,{'range':_0x207495,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x5542c3(0x1fa)](_0x491cf6){const _0x471e33=_0x5542c3;for(const _0x4380d3 of _0x491cf6[_0x471e33(0x1ff)]())if(this[_0x471e33(0x204)](_0x4380d3))return!0x0;return!0x1;}[_0x5542c3(0x204)](_0x502b90){const _0x4422e8=_0x5542c3;return _0x502b90['is'](_0x4422e8(0x1e9))||this[_0x4422e8(0x1f1)][_0x4422e8(0x1e6)][_0x4422e8(0x1fb)][_0x4422e8(0x1f4)](_0x502b90)&&!_0x502b90['is'](_0x4422e8(0x1e0),_0x4422e8(0x1f7));}[_0x5542c3(0x1f0)](_0x1dbfff){const _0x1556ab=_0x5542c3,_0x3e6a12=_0x4b0b7f=>!this[_0x1556ab(0x204)](_0x4b0b7f[_0x1556ab(0x1ef)]),_0x138e2e=_0x1dbfff[_0x1556ab(0x1ee)][_0x1556ab(0x1f2)](_0x3e6a12),_0x1c4ab3=_0x1dbfff[_0x1556ab(0x1f9)][_0x1556ab(0x1f2)](_0x3e6a12,{'direction':_0x1556ab(0x1e3)});return this[_0x1556ab(0x1f1)][_0x1556ab(0x1e6)][_0x1556ab(0x1f5)](_0x138e2e,_0x1c4ab3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe6c03e=_0x1fe2;(function(_0x332bf5,_0x9b6e57){const _0x50200d=_0x1fe2,_0x1e435e=_0x332bf5();while(!![]){try{const _0x39d909=parseInt(_0x50200d(0xbf))/0x1*(-parseInt(_0x50200d(0xb7))/0x2)+parseInt(_0x50200d(0xa7))/0x3*(-parseInt(_0x50200d(0xb1))/0x4)+-parseInt(_0x50200d(0xb0))/0x5*(parseInt(_0x50200d(0xc3))/0x6)+-parseInt(_0x50200d(0xaa))/0x7*(-parseInt(_0x50200d(0xb6))/0x8)+parseInt(_0x50200d(0xc0))/0x9*(parseInt(_0x50200d(0xc2))/0xa)+-parseInt(_0x50200d(0xa8))/0xb*(parseInt(_0x50200d(0xca))/0xc)+parseInt(_0x50200d(0xb9))/0xd*(parseInt(_0x50200d(0xae))/0xe);if(_0x39d909===_0x9b6e57)break;else _0x1e435e['push'](_0x1e435e['shift']());}catch(_0x4a494c){_0x1e435e['push'](_0x1e435e['shift']());}}}(_0x4a1a,0xab975));import{ContextPlugin as _0x10ddf7}from'ckeditor5/src/core.js';import{Collection as _0x6f20af}from'ckeditor5/src/utils.js';function _0x4a1a(){const _0x1209d0=['24mpFJqu','highest','plugins','isPremiumPlugin','context','change:archivedAt','findIndex','getCommentThread','219756PLMyCt','1915628GtPBVE','listenTo','7pggLct','collection','requires','has','48447924vODCGU','pluginName','56435rEPpfU','68ScUUTJ','length','stopListening','archivedAt','_calculatePosition','924832uBFKhQ','2hJTSgp','isOfficialPlugin','13ilASok','focus','archivedThreads','removeCommentThread','init','get','646859jemwyB','3751173TMLrur','activate','10mkZrIe','558gQUUxv','CommentsArchive','isActive','isVisible','add','remove','addCommentThread'];_0x4a1a=function(){return _0x1209d0;};return _0x4a1a();}import _0x540d40 from'./commentsrepository.js';function _0x1fe2(_0x175fd8,_0x20eef7){const _0x4a1a72=_0x4a1a();return _0x1fe2=function(_0x1fe2c7,_0x157462){_0x1fe2c7=_0x1fe2c7-0xa7;let _0x26bb46=_0x4a1a72[_0x1fe2c7];return _0x26bb46;},_0x1fe2(_0x175fd8,_0x20eef7);}import _0x45ad37 from'../annotations/annotations.js';export default class f extends _0x10ddf7{static get[_0xe6c03e(0xaf)](){const _0x18312c=_0xe6c03e;return _0x18312c(0xc4);}static get[_0xe6c03e(0xb8)](){return!0x0;}static get[_0xe6c03e(0xcd)](){return!0x0;}static get[_0xe6c03e(0xac)](){return[_0x540d40,_0x45ad37];}constructor(_0x3c4091){const _0x3b288b=_0xe6c03e;super(_0x3c4091),this[_0x3b288b(0xbb)]=new _0x6f20af();}[_0xe6c03e(0xbd)](){const _0x361bc4=_0xe6c03e,_0x1404f6=this[_0x361bc4(0xce)],_0x397166=_0x1404f6[_0x361bc4(0xcc)][_0x361bc4(0xbe)](_0x540d40),_0xeca286=_0x1404f6[_0x361bc4(0xcc)][_0x361bc4(0xbe)](_0x45ad37);this[_0x361bc4(0xa9)](_0x397166,_0x361bc4(0xc9),(_0x39cb75,{threadId:_0x6ffd71})=>{const _0x1c210e=_0x361bc4,_0x2be05d=_0x397166[_0x1c210e(0xd1)](_0x6ffd71);_0x2be05d[_0x1c210e(0xb4)]&&this[_0x1c210e(0xbb)][_0x1c210e(0xc7)](_0x2be05d,this[_0x1c210e(0xb5)](_0x2be05d[_0x1c210e(0xb4)])),this[_0x1c210e(0xa9)](_0x2be05d,_0x1c210e(0xcf),(_0x4d989e,_0x28b867,_0x51dbc7)=>{const _0x45dc0c=_0x1c210e;_0x51dbc7?this[_0x45dc0c(0xbb)][_0x45dc0c(0xad)](_0x2be05d)||this[_0x45dc0c(0xbb)][_0x45dc0c(0xc7)](_0x2be05d,this[_0x45dc0c(0xb5)](_0x2be05d[_0x45dc0c(0xb4)])):this[_0x45dc0c(0xbb)][_0x45dc0c(0xad)](_0x2be05d)&&this[_0x45dc0c(0xbb)][_0x45dc0c(0xc8)](_0x2be05d);});}),this[_0x361bc4(0xa9)](_0x397166,_0x361bc4(0xbc),(_0x449c67,{threadId:_0xb3b960})=>{const _0x1d8c91=_0x361bc4,_0x42e356=_0x397166[_0x1d8c91(0xd1)](_0xb3b960);this[_0x1d8c91(0xb3)](_0x42e356),this[_0x1d8c91(0xbb)][_0x1d8c91(0xad)](_0x42e356)&&this[_0x1d8c91(0xbb)][_0x1d8c91(0xc8)](_0x42e356);},{'priority':_0x361bc4(0xcb)}),this[_0x361bc4(0xa9)](_0xeca286[_0x361bc4(0xab)],_0x361bc4(0xba),(_0x2933f6,_0x5d8c48)=>{const _0x2f4ecc=_0x361bc4;_0x5d8c48[_0x2f4ecc(0xc6)]||(_0x5d8c48[_0x2f4ecc(0xc5)]=!0x0,_0xeca286[_0x2f4ecc(0xc1)](_0x5d8c48));});}[_0xe6c03e(0xb5)](_0x18ec99){const _0x277727=_0xe6c03e,_0x4bd7e2=[...this[_0x277727(0xbb)]][_0x277727(0xd0)](_0x2c6103=>_0x2c6103[_0x277727(0xb4)]<_0x18ec99);return _0x4bd7e2>-0x1?_0x4bd7e2:this[_0x277727(0xbb)][_0x277727(0xb2)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x333f63=_0x57c7;(function(_0xdb74f1,_0x2551ec){const _0x5ce02a=_0x57c7,_0x3d0b2e=_0xdb74f1();while(!![]){try{const _0x4d95ee=-parseInt(_0x5ce02a(0x12a))/0x1*(parseInt(_0x5ce02a(0x135))/0x2)+parseInt(_0x5ce02a(0x10b))/0x3*(-parseInt(_0x5ce02a(0x127))/0x4)+-parseInt(_0x5ce02a(0x12c))/0x5*(-parseInt(_0x5ce02a(0x125))/0x6)+-parseInt(_0x5ce02a(0x119))/0x7*(-parseInt(_0x5ce02a(0x126))/0x8)+parseInt(_0x5ce02a(0xf7))/0x9+parseInt(_0x5ce02a(0x109))/0xa*(parseInt(_0x5ce02a(0x11e))/0xb)+parseInt(_0x5ce02a(0x10e))/0xc;if(_0x4d95ee===_0x2551ec)break;else _0x3d0b2e['push'](_0x3d0b2e['shift']());}catch(_0x52949e){_0x3d0b2e['push'](_0x3d0b2e['shift']());}}}(_0x2004,0xa0672));function _0x57c7(_0x178518,_0xa2024c){const _0x20040d=_0x2004();return _0x57c7=function(_0x57c788,_0x4ddfa5){_0x57c788=_0x57c788-0xf7;let _0x575f3c=_0x20040d[_0x57c788];return _0x575f3c;},_0x57c7(_0x178518,_0xa2024c);}import'../../theme/commentsarchive.css';import{Plugin as _0x4e1c80}from'ckeditor5/src/core.js';import{ViewCollection as _0x84777b,MenuBarMenuListItemButtonView as _0x2039ad,ButtonView as _0x3a683d,Dialog as _0x3680a4,DialogViewPosition as _0x19834a}from'ckeditor5/src/ui.js';import _0x5ed03f from'../../theme/icons/comments-archive.svg';import{getTranslation as _0xe2385b}from'../utils/common-translations.js';import _0x244714 from'./ui/view/commentsarchiveview.js';import _0x1c2d48 from'./commentsarchive.js';function _0x2004(){const _0xd7f33c=['33544aduMdN','12QBkRkq','plugins','length','56765jxDmVB','listenTo','602365tTCqBh','locale','collaboration.channelId','escape','focusableElements','config','_pendingThreads','editor','_handleNewThread','34kbyFzw','isPremiumPlugin','componentFactory','getByInnerView','isOn','annotationViews','add','indexOf','filter','commentsArchive','CommentsRepository','view','isOpen','forEach','_visibleAnnotations','2921904glpdUo','init','stop','isOfficialPlugin','pluginName','get','has','CommentsArchiveUI','Dialog','_hideDialogOnAnnotationEscape','tooltip','bind','isEnabled','_toggleDialog','find','Annotations','remove','set','629210iUIWNp','push','1182255MpnKpw','_calculatePosition','_threadToController','12763500oYwgXS','COMMENTS_ARCHIVE','commentsArchiveView','isVisible','stopListening','EDITOR_TOP_SIDE','requires','_createCommentsArchiveButton','execute','findIndex','source','623JGXEeJ','archivedAt','archivedThreads','channelId','collection','77bfYuWY','show','menuitemcheckbox','innerView','menuBar:commentsArchive','hide','splice','30aKJdqF'];_0x2004=function(){return _0xd7f33c;};return _0x2004();}export default class a extends _0x4e1c80{static get[_0x333f63(0xfb)](){const _0x4ea437=_0x333f63;return _0x4ea437(0xfe);}static get[_0x333f63(0xfa)](){return!0x0;}static get[_0x333f63(0x136)](){return!0x0;}static get[_0x333f63(0x114)](){return[_0x1c2d48,_0x3680a4];}constructor(_0x12d460){const _0x544759=_0x333f63;super(_0x12d460),this[_0x544759(0x100)]=_0x13147d=>{const _0x16ed9c=_0x544759,_0x6d87a3=_0x13147d[_0x16ed9c(0x118)];if(!this[_0x16ed9c(0x13a)][_0x16ed9c(0xfd)](_0x6d87a3[_0x16ed9c(0x140)]))return;const _0x1436d3=this[_0x16ed9c(0x133)][_0x16ed9c(0x128)][_0x16ed9c(0xfc)](_0x16ed9c(0xff));_0x1436d3[_0x16ed9c(0x141)]&&_0x16ed9c(0x13e)===_0x1436d3['id']&&(_0x1436d3[_0x16ed9c(0x123)](),_0x13147d[_0x16ed9c(0xf9)]());},this[_0x544759(0x13a)]=new _0x84777b(),this[_0x544759(0x132)]=[];}[_0x333f63(0xf8)](){const _0x4ae2f1=_0x333f63,_0x404f2d=this[_0x4ae2f1(0x133)],_0x1b5888=this[_0x4ae2f1(0x100)][_0x4ae2f1(0x102)](this);_0x404f2d['ui'][_0x4ae2f1(0x137)][_0x4ae2f1(0x13b)](_0x4ae2f1(0x13e),()=>this[_0x4ae2f1(0x115)](_0x3a683d,!0x0)),_0x404f2d['ui'][_0x4ae2f1(0x137)][_0x4ae2f1(0x13b)](_0x4ae2f1(0x122),()=>{const _0x14f68b=_0x4ae2f1,_0x11fab6=this[_0x14f68b(0x115)](_0x2039ad);return _0x11fab6[_0x14f68b(0x108)]({'role':_0x14f68b(0x120)}),_0x11fab6;});const _0x323bbb=_0x404f2d[_0x4ae2f1(0x128)][_0x4ae2f1(0xfc)](_0x1c2d48),_0x5f4cf2=_0x404f2d[_0x4ae2f1(0x128)][_0x4ae2f1(0xfc)](_0x4ae2f1(0x106)),_0x184b22=_0x404f2d[_0x4ae2f1(0x128)][_0x4ae2f1(0xfc)](_0x4ae2f1(0x13f));_0x323bbb[_0x4ae2f1(0x11b)][_0x4ae2f1(0x142)](_0x6994c5=>{const _0xb8869c=_0x4ae2f1;this[_0xb8869c(0x134)](_0x6994c5);}),this[_0x4ae2f1(0x12b)](_0x323bbb[_0x4ae2f1(0x11b)],_0x4ae2f1(0x13b),(_0x1a6383,_0x447dd4)=>{const _0x22b568=_0x4ae2f1;this[_0x22b568(0x134)](_0x447dd4);}),this[_0x4ae2f1(0x12b)](_0x5f4cf2[_0x4ae2f1(0x11d)],_0x4ae2f1(0x13b),(_0x45cf6c,_0x2db327)=>{const _0x247fb7=_0x4ae2f1,_0x44d238=this[_0x247fb7(0x132)][_0x247fb7(0x105)](_0x170a40=>{const _0xc0d051=_0x247fb7,_0x188b6f=_0x184b22[_0xc0d051(0x10d)][_0xc0d051(0xfc)](_0x170a40);return _0x188b6f&&_0x2db327[_0xc0d051(0x121)]===_0x188b6f[_0xc0d051(0x140)];});if(_0x44d238){const _0x5ca97c=this[_0x247fb7(0x10c)](_0x44d238[_0x247fb7(0x11a)]);this[_0x247fb7(0x13a)][_0x247fb7(0x13b)](_0x2db327[_0x247fb7(0x140)],_0x5ca97c),this[_0x247fb7(0x132)][_0x247fb7(0x124)](this[_0x247fb7(0x132)][_0x247fb7(0x13c)](_0x44d238),0x1);}}),this[_0x4ae2f1(0x12b)](_0x323bbb[_0x4ae2f1(0x11b)],_0x4ae2f1(0x107),(_0x4987bc,_0x7a0719)=>{const _0x1529fb=_0x4ae2f1,_0x36d783=_0x404f2d[_0x1529fb(0x131)][_0x1529fb(0xfc)](_0x1529fb(0x12e));if(!_0x36d783||_0x7a0719[_0x1529fb(0x11c)]===_0x36d783){const _0x35d45a=_0x184b22[_0x1529fb(0x10d)][_0x1529fb(0xfc)](_0x7a0719),_0x5ae537=_0x5f4cf2[_0x1529fb(0x138)](_0x35d45a[_0x1529fb(0x140)]);this[_0x1529fb(0x13a)][_0x1529fb(0x107)](_0x5ae537[_0x1529fb(0x140)]),this[_0x1529fb(0x112)](_0x5ae537[_0x1529fb(0x130)]);}}),this[_0x4ae2f1(0x12b)](_0x5f4cf2[_0x4ae2f1(0x11d)],_0x4ae2f1(0x13b),(_0x4ee05e,_0x8aa4bf)=>{const _0x176175=_0x4ae2f1;this[_0x176175(0x12b)](_0x8aa4bf,_0x176175(0x12f),_0x1b5888);}),this[_0x4ae2f1(0x12b)](_0x5f4cf2[_0x4ae2f1(0x11d)],_0x4ae2f1(0x107),(_0x527861,_0x46a26f)=>{const _0x208ac4=_0x4ae2f1;this[_0x208ac4(0x112)](_0x46a26f,_0x208ac4(0x12f),_0x1b5888);});}[_0x333f63(0x134)](_0x2e7e9f){const _0x31516b=_0x333f63,_0xbb72f3=this[_0x31516b(0x133)][_0x31516b(0x128)][_0x31516b(0xfc)](_0x31516b(0x13f)),_0x514309=this[_0x31516b(0x133)][_0x31516b(0x128)][_0x31516b(0xfc)](_0x31516b(0x106)),_0x499007=this[_0x31516b(0x133)][_0x31516b(0x131)][_0x31516b(0xfc)](_0x31516b(0x12e));if(!_0x499007||_0x2e7e9f[_0x31516b(0x11c)]===_0x499007){const _0x140567=_0xbb72f3[_0x31516b(0x10d)][_0x31516b(0xfc)](_0x2e7e9f);if(!_0x140567)return void this[_0x31516b(0x132)][_0x31516b(0x10a)](_0x2e7e9f);const _0x59238b=this[_0x31516b(0x10c)](_0x2e7e9f[_0x31516b(0x11a)]),_0x1b879a=_0x514309[_0x31516b(0x138)](_0x140567[_0x31516b(0x140)]);_0x1b879a[_0x31516b(0x111)]&&_0x514309[_0x31516b(0x143)][_0x31516b(0x107)](_0x1b879a),this[_0x31516b(0x13a)][_0x31516b(0x13b)](_0x1b879a[_0x31516b(0x140)],_0x59238b);}}[_0x333f63(0x10c)](_0x3b73f0){const _0x396213=_0x333f63,_0x497eb5=this[_0x396213(0x133)][_0x396213(0x131)][_0x396213(0xfc)](_0x396213(0x12e)),_0x7050a1=[...this[_0x396213(0x133)][_0x396213(0x128)][_0x396213(0xfc)](_0x1c2d48)[_0x396213(0x11b)]][_0x396213(0x13d)](_0x2e0ad6=>_0x2e0ad6[_0x396213(0x11c)]===_0x497eb5)[_0x396213(0x117)](_0xd43cda=>_0xd43cda[_0x396213(0x11a)]<_0x3b73f0);return _0x7050a1<0x0||_0x7050a1>this[_0x396213(0x13a)][_0x396213(0x129)]?this[_0x396213(0x13a)][_0x396213(0x129)]:_0x7050a1-0x1;}[_0x333f63(0x104)](){const _0x16088c=_0x333f63,_0x18bd5c=this[_0x16088c(0x133)],_0x473377=_0x18bd5c[_0x16088c(0x128)][_0x16088c(0xfc)](_0x16088c(0xff));this[_0x16088c(0x110)]||(this[_0x16088c(0x110)]=new _0x244714(_0x18bd5c[_0x16088c(0x12d)],this[_0x16088c(0x13a)])),_0x16088c(0x13e)===_0x473377['id']?_0x473377[_0x16088c(0x123)]():_0x473377[_0x16088c(0x11f)]({'id':_0x16088c(0x13e),'title':_0xe2385b(_0x18bd5c[_0x16088c(0x12d)],_0x16088c(0x10f)),'icon':_0x5ed03f,'hasCloseButton':!0x0,'content':this[_0x16088c(0x110)],'position':_0x19834a[_0x16088c(0x113)]});}[_0x333f63(0x115)](_0x242918,_0x5aa606=!0x1){const _0x399f43=_0x333f63,_0x60733c=this[_0x399f43(0x133)][_0x399f43(0x12d)],_0x57d8bd=this[_0x399f43(0x133)][_0x399f43(0x128)][_0x399f43(0xfc)](_0x399f43(0xff)),_0x150800=new _0x242918(_0x60733c);return _0x150800[_0x399f43(0x102)](_0x399f43(0x103))['to'](this,_0x399f43(0x103)),_0x150800[_0x399f43(0x102)](_0x399f43(0x139))['to'](_0x57d8bd,'id',_0x376fbe=>_0x399f43(0x13e)===_0x376fbe),_0x150800[_0x399f43(0x108)]({'label':_0xe2385b(_0x60733c,_0x399f43(0x10f)),'icon':_0x5ed03f,'isToggleable':!0x0}),_0x5aa606&&(_0x150800[_0x399f43(0x101)]=!0x0),this[_0x399f43(0x12b)](_0x150800,_0x399f43(0x116),()=>this[_0x399f43(0x104)]()),_0x150800;}}
|