@ckeditor/ckeditor5-comments 46.0.2-alpha.1 → 46.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3c06(_0x2b8472,_0x203727){const _0x4dc88f=_0x4dc8();return _0x3c06=function(_0x3c0697,_0x4a6b9f){_0x3c0697=_0x3c0697-0x1e7;let _0x1d7ea6=_0x4dc88f[_0x3c0697];return _0x1d7ea6;},_0x3c06(_0x2b8472,_0x203727);}function _0x4dc8(){const _0x2f044c=['change:targetRect','max','stopListening','Sidebar','bind','locale','_annotationToSidebarItemView','view','unbind','_recalculateBuffer','sidebar-attachtocontainer-missing-container','isOfficialPlugin','_alignBeforeItem','_updateLastItem','appendChild','10233480nXFnaz','list','minHeight','setContainer','sidebar.container','updateHeight','_destroySidebarItemView','last','class','bottom','element','target','_getItemAfter','init','targetRect','context','define','_getItemBefore','nodeType','isActive','length','_lastItem','_alignToTargetRect','isAnimationDisabled','_detachFromContainer','_setItemTop','pluginName','clear','delete','height','1428505NKDAKV','getIndex','set','getSidebarItemView','remove','189cagccZ','destroy','_spaceBetweenItems','change:_lastItem','container','change:top','741404MFoWTH','change:bottom','40776CmLsxv','sidebar-setcontainer-invalid-element','get','_alignForTopChange','30LTNMHi','_activeAnnotation','_annotations','add','refresh','3DuBoLq','sidebar.preventScrollOutOfView','_attachToContainer','_recalculate','_getTargetTop','_alignAfterItem','render','config','push','addAnnotation','_getMaxAvailableTop','_sidebarItemViewToAnnotation','469497SaGtZS','_targetTop','265816fkQcZg','113890CbVOhe','_createSidebarView','listenTo','object','rearrange','_alignForBottomChange','isPremiumPlugin','content','top'];_0x4dc8=function(){return _0x2f044c;};return _0x4dc8();}const _0x2f01b7=_0x3c06;(function(_0x52cf3c,_0xaca1f9){const _0x2a0d93=_0x3c06,_0x2b4a21=_0x52cf3c();while(!![]){try{const _0x13e9a6=-parseInt(_0x2a0d93(0x210))/0x1+-parseInt(_0x2a0d93(0x212))/0x2+parseInt(_0x2a0d93(0x204))/0x3*(parseInt(_0x2a0d93(0x1f9))/0x4)+-parseInt(_0x2a0d93(0x1ee))/0x5+parseInt(_0x2a0d93(0x1ff))/0x6*(parseInt(_0x2a0d93(0x213))/0x7)+-parseInt(_0x2a0d93(0x1fb))/0x8*(parseInt(_0x2a0d93(0x1f3))/0x9)+parseInt(_0x2a0d93(0x22b))/0xa;if(_0x13e9a6===_0xaca1f9)break;else _0x2b4a21['push'](_0x2b4a21['shift']());}catch(_0x3ebbae){_0x2b4a21['push'](_0x2b4a21['shift']());}}}(_0x4dc8,0x47ffa));import{ContextPlugin as _0x247935}from'ckeditor5/src/core.js';import{Rect as _0x417b37,CKEditorError as _0x3890b6}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x23feb2}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x578767}from'./view/sidebaritemview.js';export class Sidebar extends _0x247935{[_0x2f01b7(0x223)];[_0x2f01b7(0x200)];[_0x2f01b7(0x201)];[_0x2f01b7(0x1f5)];[_0x2f01b7(0x20f)];[_0x2f01b7(0x222)];[_0x2f01b7(0x225)];static get[_0x2f01b7(0x1ea)](){const _0x236e4b=_0x2f01b7;return _0x236e4b(0x21f);}static get[_0x2f01b7(0x227)](){return!0x0;}static get[_0x2f01b7(0x219)](){return!0x0;}constructor(_0x29277f){const _0x57bc99=_0x2f01b7;super(_0x29277f),this[_0x57bc99(0x1f0)](_0x57bc99(0x240),void 0x0),this[_0x57bc99(0x223)]=this[_0x57bc99(0x214)](),this[_0x57bc99(0x1f0)](_0x57bc99(0x1f7),null),this[_0x57bc99(0x1f5)]=0x19,this[_0x57bc99(0x20f)]=new Map(),this[_0x57bc99(0x222)]=new Map(),this[_0x57bc99(0x23a)][_0x57bc99(0x20b)][_0x57bc99(0x23b)](_0x57bc99(0x205),!0x1),this[_0x57bc99(0x201)]=null,this[_0x57bc99(0x200)]=null,this[_0x57bc99(0x225)]=[];}[_0x2f01b7(0x238)](){const _0x1f8eb1=_0x2f01b7,_0x3cfbf8=this[_0x1f8eb1(0x23a)][_0x1f8eb1(0x20b)][_0x1f8eb1(0x1fd)](_0x1f8eb1(0x22f));_0x3cfbf8&&this[_0x1f8eb1(0x22e)](_0x3cfbf8);}[_0x2f01b7(0x22e)](_0x3e3ee6){const _0x320b8f=_0x2f01b7;if(!g(_0x3e3ee6))throw new _0x3890b6(_0x320b8f(0x1fc));this[_0x320b8f(0x1f7)]=_0x3e3ee6;}[_0x2f01b7(0x206)]({viewClass:_0x34a051='',spaceBetweenItems:_0x4fa9c2=0x19}={}){const _0x48960e=_0x2f01b7;if(!g(this[_0x48960e(0x1f7)]))throw new _0x3890b6(_0x48960e(0x226),this);this[_0x48960e(0x1f7)][_0x48960e(0x22a)](this[_0x48960e(0x223)][_0x48960e(0x235)]),this[_0x48960e(0x223)][_0x48960e(0x233)]=_0x34a051,this[_0x48960e(0x1f5)]=_0x4fa9c2;}[_0x2f01b7(0x217)]({removedAnnotation:_0x2274ec,previousAnnotation:_0x53c173,nextAnnotation:_0x114ce8}){const _0x18e6d8=_0x2f01b7,_0x101fdb=this[_0x18e6d8(0x1f1)](_0x2274ec);this[_0x18e6d8(0x223)][_0x18e6d8(0x22c)][_0x18e6d8(0x1f2)](_0x101fdb),this[_0x18e6d8(0x231)](_0x2274ec),_0x53c173&&this[_0x18e6d8(0x241)](this[_0x18e6d8(0x1f1)](_0x53c173)),_0x114ce8&&this[_0x18e6d8(0x241)](this[_0x18e6d8(0x1f1)](_0x114ce8)),this[_0x18e6d8(0x229)]();}[_0x2f01b7(0x203)]({blurredAnnotation:_0x396307,activatedAnnotation:_0x470465,disableAnimationOnActivatedAnnotation:_0x441cb8}){const _0x488103=_0x2f01b7;if(this[_0x488103(0x200)]=_0x470465,_0x396307){_0x396307[_0x488103(0x23e)]=!0x1;const _0x189ea7=this[_0x488103(0x1f1)](_0x396307);_0x189ea7&&_0x441cb8&&(_0x189ea7[_0x488103(0x1e7)]=!0x1);}if(_0x470465){const _0x289200=this[_0x488103(0x1f1)](_0x470465);_0x289200&&(_0x470465[_0x488103(0x23e)]=!0x0,_0x441cb8&&(_0x289200[_0x488103(0x1e7)]=!0x0,_0x289200[_0x488103(0x21b)]+=0x1),this[_0x488103(0x241)](_0x289200));}}[_0x2f01b7(0x1e8)](_0x101274){const _0x206d84=_0x2f01b7;if(this[_0x206d84(0x223)][_0x206d84(0x235)][_0x206d84(0x1f2)](),_0x101274){for(const _0x3bf475 of _0x101274)this[_0x206d84(0x231)](_0x3bf475);}this[_0x206d84(0x223)][_0x206d84(0x22c)][_0x206d84(0x1eb)](),this[_0x206d84(0x223)][_0x206d84(0x233)]='',this[_0x206d84(0x240)]=null;}[_0x2f01b7(0x20d)](_0x4397a0,_0x513ffb){const _0x5c2d7e=_0x2f01b7;_0x513ffb||(_0x513ffb=_0x4397a0[_0x5c2d7e(0x223)]);const _0x49f5a0=new _0x578767(this[_0x5c2d7e(0x23a)][_0x5c2d7e(0x221)]);this[_0x5c2d7e(0x20f)][_0x5c2d7e(0x1f0)](_0x49f5a0,_0x4397a0),this[_0x5c2d7e(0x222)][_0x5c2d7e(0x1f0)](_0x4397a0,_0x49f5a0),_0x49f5a0[_0x5c2d7e(0x21a)][_0x5c2d7e(0x202)](_0x513ffb),this[_0x5c2d7e(0x215)](_0x4397a0[_0x5c2d7e(0x223)],_0x5c2d7e(0x21c),(_0x32588c,_0x1eae1b,_0x28d7c7)=>{const _0x37bd65=_0x5c2d7e,_0x33a9a8=this[_0x37bd65(0x208)](_0x4397a0,_0x28d7c7);_0x49f5a0[_0x37bd65(0x211)]!=_0x33a9a8&&(_0x49f5a0[_0x37bd65(0x211)]=_0x33a9a8,this[_0x37bd65(0x1e9)](_0x49f5a0,_0x33a9a8));}),this[_0x5c2d7e(0x215)](_0x49f5a0,_0x5c2d7e(0x1f8),()=>{const _0x38e590=_0x5c2d7e;this[_0x38e590(0x207)](_0x49f5a0,_0x38e590(0x21b));}),this[_0x5c2d7e(0x215)](_0x49f5a0,_0x5c2d7e(0x1fa),()=>{const _0x34aa81=_0x5c2d7e;this[_0x34aa81(0x207)](_0x49f5a0,_0x34aa81(0x234));}),this[_0x5c2d7e(0x241)](_0x49f5a0);const _0x150c60=this[_0x5c2d7e(0x23c)](_0x49f5a0);if(_0x150c60)this[_0x5c2d7e(0x209)](_0x150c60,_0x49f5a0)||this[_0x5c2d7e(0x241)](_0x49f5a0);else this[_0x5c2d7e(0x241)](_0x49f5a0);return this[_0x5c2d7e(0x229)](),this[_0x5c2d7e(0x223)][_0x5c2d7e(0x22c)][_0x5c2d7e(0x202)](_0x49f5a0),_0x49f5a0;}[_0x2f01b7(0x1fe)](_0x19a4fc){const _0x29927c=_0x2f01b7;if(!_0x19a4fc[_0x29927c(0x21a)][_0x29927c(0x23f)])return;const _0x145f87=this[_0x29927c(0x23c)](_0x19a4fc);if(!_0x145f87)return;const _0x364a44=this[_0x29927c(0x20f)][_0x29927c(0x1fd)](_0x145f87),_0x46e316=this[_0x29927c(0x200)];_0x46e316&&_0x46e316===_0x364a44?this[_0x29927c(0x209)](_0x145f87,_0x19a4fc):this[_0x29927c(0x228)](_0x19a4fc,_0x145f87);}[_0x2f01b7(0x218)](_0x52249a){const _0x2b3c9d=_0x2f01b7;if(!_0x52249a[_0x2b3c9d(0x21a)][_0x2b3c9d(0x23f)])return;const _0x7d6749=this[_0x2b3c9d(0x237)](_0x52249a);if(!_0x7d6749)return;const _0x409e89=this[_0x2b3c9d(0x20f)][_0x2b3c9d(0x1fd)](_0x7d6749),_0x20bf0a=this[_0x2b3c9d(0x23a)][_0x2b3c9d(0x20b)][_0x2b3c9d(0x1fd)](_0x2b3c9d(0x205)),_0x29b04e=this[_0x2b3c9d(0x200)];_0x29b04e&&_0x29b04e===_0x409e89&&_0x20bf0a?(this[_0x2b3c9d(0x228)](_0x7d6749,_0x52249a),this[_0x2b3c9d(0x209)](_0x52249a,_0x7d6749)):_0x29b04e&&_0x29b04e===_0x409e89?this[_0x2b3c9d(0x228)](_0x7d6749,_0x52249a):this[_0x2b3c9d(0x209)](_0x52249a,_0x7d6749);}[_0x2f01b7(0x207)](_0x5e93f0,_0xc97af1){const _0x552d4b=_0x2f01b7;0x0===this[_0x552d4b(0x225)][_0x552d4b(0x23f)]&&setTimeout(()=>{const _0x4d8775=_0x552d4b;for(const {sidebarItemView:_0x3fe65a,changedProp:_0x893f66}of this[_0x4d8775(0x225)])_0x4d8775(0x21b)===_0x893f66?this[_0x4d8775(0x1fe)](_0x3fe65a):this[_0x4d8775(0x218)](_0x3fe65a);this[_0x4d8775(0x225)]=[];},0xa),this[_0x552d4b(0x225)][_0x552d4b(0x20c)]({'sidebarItemView':_0x5e93f0,'changedProp':_0xc97af1});}[_0x2f01b7(0x1f1)](_0x3048c3){const _0x17f7aa=_0x2f01b7;return this[_0x17f7aa(0x222)][_0x17f7aa(0x1fd)](_0x3048c3);}[_0x2f01b7(0x1f4)](){const _0x16c462=_0x2f01b7;this[_0x16c462(0x21e)](),this[_0x16c462(0x223)][_0x16c462(0x1f4)]();}[_0x2f01b7(0x231)](_0x5f31b3){const _0x27b866=_0x2f01b7,_0x58cefc=this[_0x27b866(0x1f1)](_0x5f31b3);this[_0x27b866(0x21e)](_0x58cefc),this[_0x27b866(0x21e)](_0x5f31b3[_0x27b866(0x223)]),_0x58cefc[_0x27b866(0x1f4)](),this[_0x27b866(0x222)][_0x27b866(0x1ec)](_0x5f31b3),this[_0x27b866(0x20f)][_0x27b866(0x1ec)](_0x58cefc);}[_0x2f01b7(0x214)](){const _0x4b5bd9=_0x2f01b7,_0x4977aa=new _0x23feb2(this[_0x4b5bd9(0x23a)][_0x4b5bd9(0x221)]);return _0x4977aa[_0x4b5bd9(0x20a)](),this['on'](_0x4b5bd9(0x1f6),(_0x1bcb1c,_0x397d20,_0x2b294d,_0x27b3e4)=>{const _0x38b154=_0x4b5bd9;_0x27b3e4&&_0x4977aa[_0x38b154(0x224)](_0x38b154(0x22d)),_0x2b294d?_0x4977aa[_0x38b154(0x220)](_0x38b154(0x22d))['to'](_0x2b294d,_0x38b154(0x234)):_0x4977aa[_0x38b154(0x22d)]=null;}),_0x4977aa;}[_0x2f01b7(0x229)](){const _0x3f394a=_0x2f01b7;this[_0x3f394a(0x240)]=this[_0x3f394a(0x201)]?.[_0x3f394a(0x232)]?this[_0x3f394a(0x1f1)](this[_0x3f394a(0x201)][_0x3f394a(0x232)]):null;}[_0x2f01b7(0x23c)](_0x1116d5){const _0x6e5237=_0x2f01b7,_0x2a24ff=this[_0x6e5237(0x20f)][_0x6e5237(0x1fd)](_0x1116d5),_0x6bdd35=_0x2a24ff&&this[_0x6e5237(0x201)]?.[_0x6e5237(0x1fd)](this[_0x6e5237(0x201)][_0x6e5237(0x1ef)](_0x2a24ff)-0x1);return _0x6bdd35&&this[_0x6e5237(0x1f1)](_0x6bdd35)||null;}[_0x2f01b7(0x237)](_0x5f3576){const _0x15b7c3=_0x2f01b7,_0x393066=this[_0x15b7c3(0x20f)][_0x15b7c3(0x1fd)](_0x5f3576),_0x3e42b5=_0x393066&&this[_0x15b7c3(0x201)]?.[_0x15b7c3(0x1fd)](this[_0x15b7c3(0x201)][_0x15b7c3(0x1ef)](_0x393066)+0x1);return _0x3e42b5&&this[_0x15b7c3(0x1f1)](_0x3e42b5)||null;}[_0x2f01b7(0x228)](_0x521dbf,_0x373821){const _0x70018=_0x2f01b7;_0x521dbf[_0x70018(0x230)]();const _0x3f7c9e=G(_0x373821[_0x70018(0x234)]+this[_0x70018(0x1f5)],_0x521dbf[_0x70018(0x21b)]);return!!_0x3f7c9e&&(this[_0x70018(0x1e9)](_0x373821,_0x373821[_0x70018(0x21b)]-_0x3f7c9e),!0x0);}[_0x2f01b7(0x209)](_0x66616b,_0x176157){const _0x234e0a=_0x2f01b7;_0x66616b[_0x234e0a(0x230)]();const _0x4b29e6=G(_0x66616b[_0x234e0a(0x234)]+this[_0x234e0a(0x1f5)],_0x176157[_0x234e0a(0x21b)]);return!!_0x4b29e6&&(this[_0x234e0a(0x1e9)](_0x176157,_0x176157[_0x234e0a(0x21b)]+_0x4b29e6,!0x1),!0x0);}[_0x2f01b7(0x241)](_0x55b608){const _0x6ab307=_0x2f01b7,_0x213023=this[_0x6ab307(0x20f)][_0x6ab307(0x1fd)](_0x55b608);if(!_0x213023||!_0x213023[_0x6ab307(0x236)]||!_0x213023[_0x6ab307(0x239)])return;const _0x51f11d=this[_0x6ab307(0x208)](_0x213023,_0x213023[_0x6ab307(0x239)]);this[_0x6ab307(0x1e9)](_0x55b608,_0x51f11d);}[_0x2f01b7(0x208)](_0x50771e,_0x83e67b){const _0x83808f=_0x2f01b7;if(null===_0x83e67b)return 0x0;if(_0x50771e[_0x83808f(0x236)]instanceof _0x417b37)return _0x83e67b[_0x83808f(0x21b)];{const _0x2d131a=new _0x417b37(this[_0x83808f(0x223)][_0x83808f(0x235)])[_0x83808f(0x21b)];return _0x83e67b[_0x83808f(0x21b)]-_0x2d131a;}}[_0x2f01b7(0x1e9)](_0x2a89f4,_0xdf9e9a,_0x4b3668=this[_0x2f01b7(0x23a)][_0x2f01b7(0x20b)][_0x2f01b7(0x1fd)](_0x2f01b7(0x205))){const _0xf12b1c=_0x2f01b7;_0x4b3668&&(_0xdf9e9a=Math[_0xf12b1c(0x21d)](_0xdf9e9a,this[_0xf12b1c(0x20e)](_0x2a89f4))),_0x2a89f4[_0xf12b1c(0x21b)]=_0xdf9e9a;}[_0x2f01b7(0x20e)](_0x4c57c){const _0x3ce561=_0x2f01b7;let _0x2a9e26=this[_0x3ce561(0x23c)](_0x4c57c),_0x34a8b2=0x0;for(;_0x2a9e26;)_0x2a9e26[_0x3ce561(0x230)](),_0x34a8b2+=this[_0x3ce561(0x1f5)]+_0x2a9e26[_0x3ce561(0x1ed)],_0x2a9e26=this[_0x3ce561(0x23c)](_0x2a9e26);return _0x34a8b2;}}function G(_0x50b2ee,_0x509a4c){const _0x5dab53=_0x2f01b7;return Math[_0x5dab53(0x21d)](_0x50b2ee-_0x509a4c,0x0);}function g(_0xf328b8){const _0x3d252a=_0x2f01b7;return null!==_0xf328b8&&_0x3d252a(0x216)==typeof _0xf328b8&&0x1===_0xf328b8[_0x3d252a(0x23d)];}
|
|
23
|
+
const _0x504c4f=_0x2721;(function(_0x165144,_0x471e0f){const _0x35f18c=_0x2721,_0x67b34a=_0x165144();while(!![]){try{const _0x35037e=parseInt(_0x35f18c(0x19a))/0x1*(-parseInt(_0x35f18c(0x1a8))/0x2)+-parseInt(_0x35f18c(0x1cd))/0x3*(parseInt(_0x35f18c(0x1a4))/0x4)+parseInt(_0x35f18c(0x1c1))/0x5+-parseInt(_0x35f18c(0x1ca))/0x6*(parseInt(_0x35f18c(0x19d))/0x7)+parseInt(_0x35f18c(0x1d8))/0x8+parseInt(_0x35f18c(0x19c))/0x9*(-parseInt(_0x35f18c(0x1a2))/0xa)+-parseInt(_0x35f18c(0x1b2))/0xb*(-parseInt(_0x35f18c(0x196))/0xc);if(_0x35037e===_0x471e0f)break;else _0x67b34a['push'](_0x67b34a['shift']());}catch(_0x4068bb){_0x67b34a['push'](_0x67b34a['shift']());}}}(_0x2db0,0x5ac02));import{ContextPlugin as _0x3c4e38}from'ckeditor5/src/core.js';import{Rect as _0x4981ad,CKEditorError as _0x56286b}from'ckeditor5/src/utils.js';function _0x2721(_0x5e41c1,_0x3c9769){const _0x2db011=_0x2db0();return _0x2721=function(_0x272164,_0x1b567e){_0x272164=_0x272164-0x17e;let _0x1549ff=_0x2db011[_0x272164];return _0x1549ff;},_0x2721(_0x5e41c1,_0x3c9769);}import{AnnotationsSidebarView as _0x15f2b0}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x57a75}from'./view/sidebaritemview.js';export class Sidebar extends _0x3c4e38{[_0x504c4f(0x1d7)];[_0x504c4f(0x1ab)];[_0x504c4f(0x198)];[_0x504c4f(0x1c3)];[_0x504c4f(0x18d)];[_0x504c4f(0x1a1)];[_0x504c4f(0x1d4)];static get[_0x504c4f(0x17f)](){const _0x17ce04=_0x504c4f;return _0x17ce04(0x1c0);}static get[_0x504c4f(0x18e)](){return!0x0;}static get[_0x504c4f(0x181)](){return!0x0;}constructor(_0x111d3c){const _0x2dae96=_0x504c4f;super(_0x111d3c),this[_0x2dae96(0x1a3)](_0x2dae96(0x1d3),void 0x0),this[_0x2dae96(0x1d7)]=this[_0x2dae96(0x1a9)](),this[_0x2dae96(0x1a3)](_0x2dae96(0x192),null),this[_0x2dae96(0x1c3)]=0x19,this[_0x2dae96(0x18d)]=new Map(),this[_0x2dae96(0x1a1)]=new Map(),this[_0x2dae96(0x184)][_0x2dae96(0x1d0)][_0x2dae96(0x189)](_0x2dae96(0x199),!0x1),this[_0x2dae96(0x198)]=null,this[_0x2dae96(0x1ab)]=null,this[_0x2dae96(0x1d4)]=[];}[_0x504c4f(0x185)](){const _0x158deb=_0x504c4f,_0x5c1a25=this[_0x158deb(0x184)][_0x158deb(0x1d0)][_0x158deb(0x1c7)](_0x158deb(0x1bd));_0x5c1a25&&this[_0x158deb(0x18f)](_0x5c1a25);}[_0x504c4f(0x18f)](_0x594250){const _0x35e4ae=_0x504c4f;if(!g(_0x594250))throw new _0x56286b(_0x35e4ae(0x182));this[_0x35e4ae(0x192)]=_0x594250;}[_0x504c4f(0x1c9)]({viewClass:_0x465cc1='',spaceBetweenItems:_0x5d016e=0x19}={}){const _0x43eb57=_0x504c4f;if(!g(this[_0x43eb57(0x192)]))throw new _0x56286b(_0x43eb57(0x193),this);this[_0x43eb57(0x192)][_0x43eb57(0x1c4)](this[_0x43eb57(0x1d7)][_0x43eb57(0x180)]),this[_0x43eb57(0x1d7)][_0x43eb57(0x1b9)]=_0x465cc1,this[_0x43eb57(0x1c3)]=_0x5d016e;}[_0x504c4f(0x191)]({removedAnnotation:_0x3c01c0,previousAnnotation:_0x42fd6c,nextAnnotation:_0x5f0a82}){const _0x39e32a=_0x504c4f,_0x46cd21=this[_0x39e32a(0x187)](_0x3c01c0);this[_0x39e32a(0x1d7)][_0x39e32a(0x1ad)][_0x39e32a(0x1c5)](_0x46cd21),this[_0x39e32a(0x1c8)](_0x3c01c0),_0x42fd6c&&this[_0x39e32a(0x1b4)](this[_0x39e32a(0x187)](_0x42fd6c)),_0x5f0a82&&this[_0x39e32a(0x1b4)](this[_0x39e32a(0x187)](_0x5f0a82)),this[_0x39e32a(0x1b3)]();}[_0x504c4f(0x1b5)]({blurredAnnotation:_0x11ec26,activatedAnnotation:_0x4e6298,disableAnimationOnActivatedAnnotation:_0x281e91}){const _0x2027bb=_0x504c4f;if(this[_0x2027bb(0x1ab)]=_0x4e6298,_0x11ec26){_0x11ec26[_0x2027bb(0x19f)]=!0x1;const _0x5889b0=this[_0x2027bb(0x187)](_0x11ec26);_0x5889b0&&_0x281e91&&(_0x5889b0[_0x2027bb(0x1ce)]=!0x1);}if(_0x4e6298){const _0x336a86=this[_0x2027bb(0x187)](_0x4e6298);_0x336a86&&(_0x4e6298[_0x2027bb(0x19f)]=!0x0,_0x281e91&&(_0x336a86[_0x2027bb(0x1ce)]=!0x0,_0x336a86[_0x2027bb(0x1be)]+=0x1),this[_0x2027bb(0x1b4)](_0x336a86));}}[_0x504c4f(0x1d6)](_0x3387ad){const _0x39e69e=_0x504c4f;if(this[_0x39e69e(0x1d7)][_0x39e69e(0x180)][_0x39e69e(0x1c5)](),_0x3387ad){for(const _0x5284b0 of _0x3387ad)this[_0x39e69e(0x1c8)](_0x5284b0);}this[_0x39e69e(0x1d7)][_0x39e69e(0x1ad)][_0x39e69e(0x1b7)](),this[_0x39e69e(0x1d7)][_0x39e69e(0x1b9)]='',this[_0x39e69e(0x1d3)]=null;}[_0x504c4f(0x190)](_0x17dc6a,_0x36bda8){const _0x4399cf=_0x504c4f;_0x36bda8||(_0x36bda8=_0x17dc6a[_0x4399cf(0x1d7)]);const _0x14eca7=new _0x57a75(this[_0x4399cf(0x184)][_0x4399cf(0x1a6)]);this[_0x4399cf(0x18d)][_0x4399cf(0x1a3)](_0x14eca7,_0x17dc6a),this[_0x4399cf(0x1a1)][_0x4399cf(0x1a3)](_0x17dc6a,_0x14eca7),_0x14eca7[_0x4399cf(0x1c2)][_0x4399cf(0x18b)](_0x36bda8),this[_0x4399cf(0x1da)](_0x17dc6a[_0x4399cf(0x1d7)],_0x4399cf(0x1bc),(_0x285724,_0x206737,_0x36d737)=>{const _0x2f30a4=_0x4399cf,_0x53744d=this[_0x2f30a4(0x1b8)](_0x17dc6a,_0x36d737);_0x14eca7[_0x2f30a4(0x195)]!=_0x53744d&&(_0x14eca7[_0x2f30a4(0x195)]=_0x53744d,this[_0x2f30a4(0x1cf)](_0x14eca7,_0x53744d));}),this[_0x4399cf(0x1da)](_0x14eca7,_0x4399cf(0x1bb),()=>{const _0x5b91bd=_0x4399cf;this[_0x5b91bd(0x194)](_0x14eca7,_0x5b91bd(0x1be));}),this[_0x4399cf(0x1da)](_0x14eca7,_0x4399cf(0x1ae),()=>{const _0x36004c=_0x4399cf;this[_0x36004c(0x194)](_0x14eca7,_0x36004c(0x1a7));}),this[_0x4399cf(0x1b4)](_0x14eca7);const _0x7d67ab=this[_0x4399cf(0x1a0)](_0x14eca7);if(_0x7d67ab)this[_0x4399cf(0x1c6)](_0x7d67ab,_0x14eca7)||this[_0x4399cf(0x1b4)](_0x14eca7);else this[_0x4399cf(0x1b4)](_0x14eca7);return this[_0x4399cf(0x1b3)](),this[_0x4399cf(0x1d7)][_0x4399cf(0x1ad)][_0x4399cf(0x18b)](_0x14eca7),_0x14eca7;}[_0x504c4f(0x1cc)](_0x5dc013){const _0x55e39a=_0x504c4f;if(!_0x5dc013[_0x55e39a(0x1c2)][_0x55e39a(0x1ba)])return;const _0x41e2e7=this[_0x55e39a(0x1a0)](_0x5dc013);if(!_0x41e2e7)return;const _0x2e63ee=this[_0x55e39a(0x18d)][_0x55e39a(0x1c7)](_0x41e2e7),_0x331917=this[_0x55e39a(0x1ab)];_0x331917&&_0x331917===_0x2e63ee?this[_0x55e39a(0x1c6)](_0x41e2e7,_0x5dc013):this[_0x55e39a(0x19e)](_0x5dc013,_0x41e2e7);}[_0x504c4f(0x19b)](_0x19e0ca){const _0x16bec1=_0x504c4f;if(!_0x19e0ca[_0x16bec1(0x1c2)][_0x16bec1(0x1ba)])return;const _0x251b55=this[_0x16bec1(0x1d1)](_0x19e0ca);if(!_0x251b55)return;const _0x45db53=this[_0x16bec1(0x18d)][_0x16bec1(0x1c7)](_0x251b55),_0x402c62=this[_0x16bec1(0x184)][_0x16bec1(0x1d0)][_0x16bec1(0x1c7)](_0x16bec1(0x199)),_0x4ec7fb=this[_0x16bec1(0x1ab)];_0x4ec7fb&&_0x4ec7fb===_0x45db53&&_0x402c62?(this[_0x16bec1(0x19e)](_0x251b55,_0x19e0ca),this[_0x16bec1(0x1c6)](_0x19e0ca,_0x251b55)):_0x4ec7fb&&_0x4ec7fb===_0x45db53?this[_0x16bec1(0x19e)](_0x251b55,_0x19e0ca):this[_0x16bec1(0x1c6)](_0x19e0ca,_0x251b55);}[_0x504c4f(0x194)](_0x511d5d,_0x3ff70c){const _0x24662d=_0x504c4f;0x0===this[_0x24662d(0x1d4)][_0x24662d(0x1ba)]&&setTimeout(()=>{const _0x574487=_0x24662d;for(const {sidebarItemView:_0x5b2f02,changedProp:_0x346fb0}of this[_0x574487(0x1d4)])_0x574487(0x1be)===_0x346fb0?this[_0x574487(0x1cc)](_0x5b2f02):this[_0x574487(0x19b)](_0x5b2f02);this[_0x574487(0x1d4)]=[];},0xa),this[_0x24662d(0x1d4)][_0x24662d(0x1cb)]({'sidebarItemView':_0x511d5d,'changedProp':_0x3ff70c});}[_0x504c4f(0x187)](_0x4030d9){const _0xb4ffeb=_0x504c4f;return this[_0xb4ffeb(0x1a1)][_0xb4ffeb(0x1c7)](_0x4030d9);}[_0x504c4f(0x1af)](){const _0x2cecb6=_0x504c4f;this[_0x2cecb6(0x17e)](),this[_0x2cecb6(0x1d7)][_0x2cecb6(0x1af)]();}[_0x504c4f(0x1c8)](_0x34b75e){const _0x1ee069=_0x504c4f,_0x290f54=this[_0x1ee069(0x187)](_0x34b75e);this[_0x1ee069(0x17e)](_0x290f54),this[_0x1ee069(0x17e)](_0x34b75e[_0x1ee069(0x1d7)]),_0x290f54[_0x1ee069(0x1af)](),this[_0x1ee069(0x1a1)][_0x1ee069(0x186)](_0x34b75e),this[_0x1ee069(0x18d)][_0x1ee069(0x186)](_0x290f54);}[_0x504c4f(0x1a9)](){const _0x12e0e4=_0x504c4f,_0x4e0c59=new _0x15f2b0(this[_0x12e0e4(0x184)][_0x12e0e4(0x1a6)]);return _0x4e0c59[_0x12e0e4(0x188)](),this['on'](_0x12e0e4(0x1b1),(_0x1c2972,_0x4c8884,_0x42cc7b,_0x3e8f02)=>{const _0x4b3a34=_0x12e0e4;_0x3e8f02&&_0x4e0c59[_0x4b3a34(0x1aa)](_0x4b3a34(0x1bf)),_0x42cc7b?_0x4e0c59[_0x4b3a34(0x1a5)](_0x4b3a34(0x1bf))['to'](_0x42cc7b,_0x4b3a34(0x1a7)):_0x4e0c59[_0x4b3a34(0x1bf)]=null;}),_0x4e0c59;}[_0x504c4f(0x1b3)](){const _0x5c75ac=_0x504c4f;this[_0x5c75ac(0x1d3)]=this[_0x5c75ac(0x198)]?.[_0x5c75ac(0x18a)]?this[_0x5c75ac(0x187)](this[_0x5c75ac(0x198)][_0x5c75ac(0x18a)]):null;}[_0x504c4f(0x1a0)](_0x50e78b){const _0x103817=_0x504c4f,_0x25c74c=this[_0x103817(0x18d)][_0x103817(0x1c7)](_0x50e78b),_0xbe7423=_0x25c74c&&this[_0x103817(0x198)]?.[_0x103817(0x1c7)](this[_0x103817(0x198)][_0x103817(0x1d2)](_0x25c74c)-0x1);return _0xbe7423&&this[_0x103817(0x187)](_0xbe7423)||null;}[_0x504c4f(0x1d1)](_0x543722){const _0x2d41a7=_0x504c4f,_0x16c308=this[_0x2d41a7(0x18d)][_0x2d41a7(0x1c7)](_0x543722),_0x16ab75=_0x16c308&&this[_0x2d41a7(0x198)]?.[_0x2d41a7(0x1c7)](this[_0x2d41a7(0x198)][_0x2d41a7(0x1d2)](_0x16c308)+0x1);return _0x16ab75&&this[_0x2d41a7(0x187)](_0x16ab75)||null;}[_0x504c4f(0x19e)](_0x486cd7,_0xbb5d79){const _0x41b23d=_0x504c4f;_0x486cd7[_0x41b23d(0x183)]();const _0x50c0ec=G(_0xbb5d79[_0x41b23d(0x1a7)]+this[_0x41b23d(0x1c3)],_0x486cd7[_0x41b23d(0x1be)]);return!!_0x50c0ec&&(this[_0x41b23d(0x1cf)](_0xbb5d79,_0xbb5d79[_0x41b23d(0x1be)]-_0x50c0ec),!0x0);}[_0x504c4f(0x1c6)](_0x4c348c,_0x5c39bd){const _0x3ffde5=_0x504c4f;_0x4c348c[_0x3ffde5(0x183)]();const _0x559b85=G(_0x4c348c[_0x3ffde5(0x1a7)]+this[_0x3ffde5(0x1c3)],_0x5c39bd[_0x3ffde5(0x1be)]);return!!_0x559b85&&(this[_0x3ffde5(0x1cf)](_0x5c39bd,_0x5c39bd[_0x3ffde5(0x1be)]+_0x559b85,!0x1),!0x0);}[_0x504c4f(0x1b4)](_0x3b909f){const _0x15922d=_0x504c4f,_0x28ca52=this[_0x15922d(0x18d)][_0x15922d(0x1c7)](_0x3b909f);if(!_0x28ca52||!_0x28ca52[_0x15922d(0x197)]||!_0x28ca52[_0x15922d(0x1ac)])return;const _0x4c5005=this[_0x15922d(0x1b8)](_0x28ca52,_0x28ca52[_0x15922d(0x1ac)]);this[_0x15922d(0x1cf)](_0x3b909f,_0x4c5005);}[_0x504c4f(0x1b8)](_0x1f6494,_0x3e434d){const _0x492bf1=_0x504c4f;if(null===_0x3e434d)return 0x0;if(_0x1f6494[_0x492bf1(0x197)]instanceof _0x4981ad)return _0x3e434d[_0x492bf1(0x1be)];{const _0x5e8753=new _0x4981ad(this[_0x492bf1(0x1d7)][_0x492bf1(0x180)])[_0x492bf1(0x1be)];return _0x3e434d[_0x492bf1(0x1be)]-_0x5e8753;}}[_0x504c4f(0x1cf)](_0x5bd6c1,_0x4bd922,_0x421057=this[_0x504c4f(0x184)][_0x504c4f(0x1d0)][_0x504c4f(0x1c7)](_0x504c4f(0x199))){const _0x1e8be2=_0x504c4f;_0x421057&&(_0x4bd922=Math[_0x1e8be2(0x18c)](_0x4bd922,this[_0x1e8be2(0x1d5)](_0x5bd6c1))),_0x5bd6c1[_0x1e8be2(0x1be)]=_0x4bd922;}[_0x504c4f(0x1d5)](_0x248c17){const _0x2d6615=_0x504c4f;let _0xe02680=this[_0x2d6615(0x1a0)](_0x248c17),_0x3e0dcd=0x0;for(;_0xe02680;)_0xe02680[_0x2d6615(0x183)](),_0x3e0dcd+=this[_0x2d6615(0x1c3)]+_0xe02680[_0x2d6615(0x1d9)],_0xe02680=this[_0x2d6615(0x1a0)](_0xe02680);return _0x3e0dcd;}}function _0x2db0(){const _0x4a604b=['appendChild','remove','_alignAfterItem','get','_destroySidebarItemView','_attachToContainer','2332194zkpJQJ','push','_alignForTopChange','17709xKyefA','isAnimationDisabled','_setItemTop','config','_getItemAfter','getIndex','_lastItem','_recalculateBuffer','_getMaxAvailableTop','_detachFromContainer','view','2200648FJxSxa','height','listenTo','stopListening','pluginName','element','isPremiumPlugin','sidebar-setcontainer-invalid-element','updateHeight','context','init','delete','getSidebarItemView','render','define','last','add','max','_sidebarItemViewToAnnotation','isOfficialPlugin','setContainer','addAnnotation','rearrange','container','sidebar-attachtocontainer-missing-container','_recalculate','_targetTop','12iDQJKy','target','_annotations','sidebar.preventScrollOutOfView','120821iMBerG','_alignForBottomChange','1411119odHsSU','7bqaTEZ','_alignBeforeItem','isActive','_getItemBefore','_annotationToSidebarItemView','10IXKyCy','set','420DuOCsa','bind','locale','bottom','2pfwIRC','_createSidebarView','unbind','_activeAnnotation','targetRect','list','change:bottom','destroy','object','change:_lastItem','13545796BggPnr','_updateLastItem','_alignToTargetRect','refresh','nodeType','clear','_getTargetTop','class','length','change:top','change:targetRect','sidebar.container','top','minHeight','Sidebar','756615hsXbAx','content','_spaceBetweenItems'];_0x2db0=function(){return _0x4a604b;};return _0x2db0();}function G(_0xb62383,_0x4bf6fc){const _0x4c61ed=_0x504c4f;return Math[_0x4c61ed(0x18c)](_0xb62383-_0x4bf6fc,0x0);}function g(_0x48eba5){const _0x5c181e=_0x504c4f;return null!==_0x48eba5&&_0x5c181e(0x1b0)==typeof _0x48eba5&&0x1===_0x48eba5[_0x5c181e(0x1b6)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1cc5(){const _0x3cd426=['_badge','setTemplate','1530700bJRRIR','add','extendTemplate','ck-annotation-counter','ck-annotation-counter__badge','set','bindTemplate','995373qPTmTn','isDirty','ck-annotation-counter__badge--edit-mode','ck-annotation-counter__badge--','656654RDZMCN','span','3cNmeOV','1868805vvZzEz','icon','children','toString','...','bind','1017527ZlXIsv','annotationType','1104528cpudUP','counterView','32sfzSny','number','550913EgUQXb'];_0x1cc5=function(){return _0x3cd426;};return _0x1cc5();}const _0x18fe60=_0x2073;function _0x2073(_0x141d50,_0x408e37){const _0x1cc56b=_0x1cc5();return _0x2073=function(_0x207389,_0x47a47e){_0x207389=_0x207389-0x1d6;let _0x3f4dd6=_0x1cc56b[_0x207389];return _0x3f4dd6;},_0x2073(_0x141d50,_0x408e37);}(function(_0x32708b,_0x3ec138){const _0x58455b=_0x2073,_0x27278c=_0x32708b();while(!![]){try{const _0x410f2e=parseInt(_0x58455b(0x1f2))/0x1+-parseInt(_0x58455b(0x1e3))/0x2+parseInt(_0x58455b(0x1e5))/0x3*(parseInt(_0x58455b(0x1d8))/0x4)+-parseInt(_0x58455b(0x1e6))/0x5+parseInt(_0x58455b(0x1ee))/0x6+-parseInt(_0x58455b(0x1ec))/0x7+parseInt(_0x58455b(0x1f0))/0x8*(parseInt(_0x58455b(0x1df))/0x9);if(_0x410f2e===_0x3ec138)break;else _0x27278c['push'](_0x27278c['shift']());}catch(_0x1a35dd){_0x27278c['push'](_0x27278c['shift']());}}}(_0x1cc5,0xadfa7));import{ButtonView as _0x2a5981,View as _0x2fdec4}from'ckeditor5/src/ui.js';import{IconAddComment as _0x3fe27b}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x2a5981{[_0x18fe60(0x1ef)];constructor(_0x1e306c){const _0x3beae2=_0x18fe60;super(_0x1e306c);const _0x4760a7=this[_0x3beae2(0x1de)];this[_0x3beae2(0x1dd)](_0x3beae2(0x1e0),!0x1),this[_0x3beae2(0x1dd)](_0x3beae2(0x1f1),0x0),this[_0x3beae2(0x1eb)](_0x3beae2(0x1d6))['to'](this,_0x3beae2(0x1e0),this,_0x3beae2(0x1f1),(_0x496105,_0x66e240)=>_0x496105?_0x3beae2(0x1ea):_0x66e240[_0x3beae2(0x1e9)]()),this[_0x3beae2(0x1dd)](_0x3beae2(0x1ed),''),this[_0x3beae2(0x1e7)]=_0x3fe27b,this[_0x3beae2(0x1da)]({'attributes':{'class':[_0x3beae2(0x1db)]}}),this[_0x3beae2(0x1ef)]=new _0x2fdec4(),this[_0x3beae2(0x1ef)][_0x3beae2(0x1d7)]({'tag':_0x3beae2(0x1e4),'attributes':{'class':[_0x3beae2(0x1dc),_0x4760a7['to'](_0x3beae2(0x1ed),_0xe9c593=>_0x3beae2(0x1e2)+_0xe9c593),_0x4760a7['if'](_0x3beae2(0x1e0),_0x3beae2(0x1e1))]},'children':[{'text':_0x4760a7['to'](_0x3beae2(0x1d6))}]}),this[_0x3beae2(0x1e8)][_0x3beae2(0x1d9)](this[_0x3beae2(0x1ef)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15ca14=_0x265c;(function(_0x25ad1a,_0x268e87){const _0x4653d1=_0x265c,_0xb3e804=_0x25ad1a();while(!![]){try{const _0x518bbe=parseInt(_0x4653d1(0x1cf))/0x1+parseInt(_0x4653d1(0x1d0))/0x2+-parseInt(_0x4653d1(0x1d5))/0x3+-parseInt(_0x4653d1(0x1e5))/0x4*(-parseInt(_0x4653d1(0x1ba))/0x5)+parseInt(_0x4653d1(0x1db))/0x6*(-parseInt(_0x4653d1(0x1bf))/0x7)+-parseInt(_0x4653d1(0x1c6))/0x8*(parseInt(_0x4653d1(0x1d3))/0x9)+parseInt(_0x4653d1(0x1d6))/0xa*(parseInt(_0x4653d1(0x1c9))/0xb);if(_0x518bbe===_0x268e87)break;else _0xb3e804['push'](_0xb3e804['shift']());}catch(_0x53ebd1){_0xb3e804['push'](_0xb3e804['shift']());}}}(_0x551a,0x1db70));import{View as _0x83e834}from'ckeditor5/src/ui.js';import{FocusTracker as _0x25ff2b,KeystrokeHandler as _0x5325bb,uid as _0x587a4e}from'ckeditor5/src/utils.js';function _0x551a(){const _0x347f0d=['presentation','arrowup','destroy','584XddTAA','type','ck-annotation-wrapper--active','attach','clientHeight','1855iXQgbb','_updateHeight','setTemplate','isDirty','Esc','107303RjfZKv','bindTemplate','length','ck-rounded-corners','focusTracker','listenTo','add','8ETAZrn','div','keystrokes','44kmHHYO','content','detach','clear','arrowdown','element','133297GRGaje','20518lqzico','mainView','delegate','1523556yPJskF','first','54459BJoeOO','776760VzVrtx','_mutationObserver','set','height','isActive','78tIZCAn','focus','createCollection','render','targetRect','fire','ck-annotation-wrapper'];_0x551a=function(){return _0x347f0d;};return _0x551a();}import{createMutationObserver as _0x46e6eb}from'../../utils/createmutationobserver.js';function _0x265c(_0x18d611,_0x55e648){const _0x551af3=_0x551a();return _0x265c=function(_0x265c4a,_0x21ad78){_0x265c4a=_0x265c4a-0x1b7;let _0x2c0cff=_0x551af3[_0x265c4a];return _0x2c0cff;},_0x265c(_0x18d611,_0x55e648);}import'../../../theme/annotation.css';export class AnnotationView extends _0x83e834{[_0x15ca14(0x1c3)];['id'];[_0x15ca14(0x1c8)];[_0x15ca14(0x1ca)];[_0x15ca14(0x1d1)];[_0x15ca14(0x1d7)];constructor(_0x367e9c,_0x1151e1){const _0x280a1c=_0x15ca14;super(_0x367e9c),this['id']=_0x587a4e(),this[_0x280a1c(0x1c3)]=new _0x25ff2b(),this[_0x280a1c(0x1c8)]=new _0x5325bb(),this[_0x280a1c(0x1c8)][_0x280a1c(0x1d8)](_0x280a1c(0x1be),(_0xc20b4d,_0x46a0a9)=>this[_0x280a1c(0x1e0)](_0x280a1c(0x1be),_0x46a0a9)),this[_0x280a1c(0x1d8)](_0x280a1c(0x1df),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x280a1c(0x1d8)](_0x280a1c(0x1d9),0x0),this[_0x280a1c(0x1d8)](_0x280a1c(0x1da),!0x1),this[_0x280a1c(0x1d8)](_0x280a1c(0x1bd),!0x1),this[_0x280a1c(0x1d8)](_0x280a1c(0x1c1),0x0),this[_0x280a1c(0x1d8)](_0x280a1c(0x1e6),''),this[_0x280a1c(0x1d7)]=_0x46e6eb(()=>this[_0x280a1c(0x1bb)]()),this[_0x280a1c(0x1ca)]=this[_0x280a1c(0x1dd)](),this[_0x280a1c(0x1ca)][_0x280a1c(0x1d2)](_0x280a1c(0x1e3),_0x280a1c(0x1cd))['to'](this),this[_0x280a1c(0x1ca)][_0x280a1c(0x1c5)](_0x1151e1),this[_0x280a1c(0x1d1)]=_0x1151e1;const _0x4ae9aa=this[_0x280a1c(0x1c0)];this[_0x280a1c(0x1bc)]({'tag':_0x280a1c(0x1c7),'attributes':{'class':['ck',_0x280a1c(0x1e1),_0x280a1c(0x1c2),_0x4ae9aa['if'](_0x280a1c(0x1da),_0x280a1c(0x1b7))],'role':_0x280a1c(0x1e2)},'children':this[_0x280a1c(0x1ca)]});}[_0x15ca14(0x1de)](){const _0xa59416=_0x15ca14;super[_0xa59416(0x1de)](),this[_0xa59416(0x1c3)][_0xa59416(0x1c5)](this[_0xa59416(0x1ce)]),this[_0xa59416(0x1c8)][_0xa59416(0x1c4)](this[_0xa59416(0x1ce)]),this[_0xa59416(0x1d7)][_0xa59416(0x1b8)](this[_0xa59416(0x1ce)]);}[_0x15ca14(0x1e4)](){const _0x384aaa=_0x15ca14;this[_0x384aaa(0x1ca)][_0x384aaa(0x1cc)](),this[_0x384aaa(0x1c8)][_0x384aaa(0x1e4)](),this[_0x384aaa(0x1c3)][_0x384aaa(0x1e4)](),this[_0x384aaa(0x1d7)][_0x384aaa(0x1cb)](),super[_0x384aaa(0x1e4)]();}[_0x15ca14(0x1dc)](){const _0x181ac2=_0x15ca14;this[_0x181ac2(0x1ca)][_0x181ac2(0x1d4)]&&this[_0x181ac2(0x1ca)][_0x181ac2(0x1d4)][_0x181ac2(0x1dc)]();}[_0x15ca14(0x1bb)](){const _0x24fc90=_0x15ca14,_0x33284d=this[_0x24fc90(0x1ce)][_0x24fc90(0x1b9)];_0x33284d&&(this[_0x24fc90(0x1d9)]=_0x33284d);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x35e937=_0x4dd2;(function(_0x4777f7,_0x1af38f){const _0x28d0ca=_0x4dd2,_0x3041bf=_0x4777f7();while(!![]){try{const _0x138f04=-parseInt(_0x28d0ca(0x19c))/0x1+-parseInt(_0x28d0ca(0x1ac))/0x2+-parseInt(_0x28d0ca(0x18c))/0x3+-parseInt(_0x28d0ca(0x18b))/0x4+-parseInt(_0x28d0ca(0x1a1))/0x5*(-parseInt(_0x28d0ca(0x19a))/0x6)+parseInt(_0x28d0ca(0x1ab))/0x7+parseInt(_0x28d0ca(0x18d))/0x8*(parseInt(_0x28d0ca(0x1a0))/0x9);if(_0x138f04===_0x1af38f)break;else _0x3041bf['push'](_0x3041bf['shift']());}catch(_0xdf06b1){_0x3041bf['push'](_0x3041bf['shift']());}}}(_0x1bab,0xee558));import{View as _0x1f74fa}from'ckeditor5/src/ui.js';import{toUnit as _0x1063ad}from'ckeditor5/src/utils.js';function _0x4dd2(_0x288a95,_0x3dc712){const _0x1bab23=_0x1bab();return _0x4dd2=function(_0x4dd26c,_0x2f3705){_0x4dd26c=_0x4dd26c-0x188;let _0x4fa279=_0x1bab23[_0x4dd26c];return _0x4fa279;},_0x4dd2(_0x288a95,_0x3dc712);}import{createMutationObserver as _0x17f08a}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1063ad('px');function _0x1bab(){const _0x2cec9f=['arrowup','detach','render','div','content','focus','presentation','bottom','_mutationObserver','clientHeight','attach','6sVZYcy','bindTemplate','1321831nQrCwf','_targetTop','isAnimationDisabled','element','37996623bXWYfI','2825995dffuEU','height','arrowdown','set','first','bind','ck-sidebar-item--no-animation','ck-sidebar-item','setTemplate','top','2706970sqvMPl','779526LFaDup','createCollection','clear','delegate','destroy','3226248DTGTUq','5038152OyiJDm','8sKSICm','updateHeight'];_0x1bab=function(){return _0x2cec9f;};return _0x1bab();}export class AnnotationsSidebarItemView extends _0x1f74fa{[_0x35e937(0x193)];[_0x35e937(0x19d)];[_0x35e937(0x197)];constructor(_0x5ad61a){const _0x419a77=_0x35e937;super(_0x5ad61a),this[_0x419a77(0x1a4)](_0x419a77(0x1aa),0x0),this[_0x419a77(0x1a4)](_0x419a77(0x1a2),0x0),this[_0x419a77(0x1a6)](_0x419a77(0x196))['to'](this,_0x419a77(0x1aa),this,_0x419a77(0x1a2),(_0x17af7b,_0x5f57c1)=>_0x17af7b+_0x5f57c1),this[_0x419a77(0x1a4)](_0x419a77(0x19e),!0x1),this[_0x419a77(0x197)]=_0x17f08a(()=>this[_0x419a77(0x18e)]()),this[_0x419a77(0x19d)]=null,this[_0x419a77(0x193)]=this[_0x419a77(0x1ad)](),this[_0x419a77(0x193)][_0x419a77(0x189)](_0x419a77(0x18f),_0x419a77(0x1a3))['to'](this);const _0x2e44ca=this[_0x419a77(0x19b)];this[_0x419a77(0x1a9)]({'tag':_0x419a77(0x192),'attributes':{'class':[_0x419a77(0x1a8),_0x2e44ca['to'](_0x419a77(0x19e),_0x145472=>_0x145472?_0x419a77(0x1a7):'')],'style':{'top':_0x2e44ca['to'](_0x419a77(0x1aa),_0x251d19=>Ot(_0x251d19))},'role':_0x419a77(0x195)},'children':this[_0x419a77(0x193)]});}[_0x35e937(0x191)](){const _0x190369=_0x35e937;super[_0x190369(0x191)](),this[_0x190369(0x197)][_0x190369(0x199)](this[_0x190369(0x19f)]);}[_0x35e937(0x194)](){const _0xcb91f6=_0x35e937;this[_0xcb91f6(0x193)][_0xcb91f6(0x1a5)]&&this[_0xcb91f6(0x193)][_0xcb91f6(0x1a5)][_0xcb91f6(0x194)]();}[_0x35e937(0x18e)](){const _0x5a8a2e=_0x35e937,_0x1b59f1=this[_0x5a8a2e(0x19f)][_0x5a8a2e(0x198)];_0x1b59f1&&(this[_0x5a8a2e(0x1a2)]=_0x1b59f1);}[_0x35e937(0x18a)](){const _0x7c3fbe=_0x35e937;this[_0x7c3fbe(0x193)][_0x7c3fbe(0x188)](),this[_0x7c3fbe(0x197)][_0x7c3fbe(0x190)](),super[_0x7c3fbe(0x18a)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x4b34(_0xcd675e,_0xfdd1dd){const _0x101dc6=_0x101d();return _0x4b34=function(_0x4b3413,_0x22332a){_0x4b3413=_0x4b3413-0x1e4;let _0x308cc5=_0x101dc6[_0x4b3413];return _0x308cc5;},_0x4b34(_0xcd675e,_0xfdd1dd);}const _0x1147a8=_0x4b34;(function(_0x3fcfe4,_0x5f0e83){const _0x123a53=_0x4b34,_0x470cb7=_0x3fcfe4();while(!![]){try{const _0x51b650=parseInt(_0x123a53(0x20d))/0x1*(-parseInt(_0x123a53(0x201))/0x2)+parseInt(_0x123a53(0x1f5))/0x3*(-parseInt(_0x123a53(0x1f0))/0x4)+parseInt(_0x123a53(0x213))/0x5*(parseInt(_0x123a53(0x208))/0x6)+-parseInt(_0x123a53(0x1ec))/0x7*(parseInt(_0x123a53(0x1f7))/0x8)+parseInt(_0x123a53(0x20c))/0x9*(parseInt(_0x123a53(0x203))/0xa)+-parseInt(_0x123a53(0x1f3))/0xb*(-parseInt(_0x123a53(0x1e6))/0xc)+parseInt(_0x123a53(0x217))/0xd*(parseInt(_0x123a53(0x209))/0xe);if(_0x51b650===_0x5f0e83)break;else _0x470cb7['push'](_0x470cb7['shift']());}catch(_0x41b713){_0x470cb7['push'](_0x470cb7['shift']());}}}(_0x101d,0x6d919));import{View as _0xdbb48d,FocusCycler as _0x1b10ba}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2807ee,toUnit as _0x50eaf2}from'ckeditor5/src/utils.js';import{getTranslation as _0x1fcaf5}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x50eaf2('px');function _0x101d(){const _0x18a43a=['minHeight','focusPrevious','9VsWCZP','1feCuhE','set','getIndex','top','setTemplate','arrowdown','3165005uwnuGh','div','added','class','52PunCyy','uiLanguageDirection','focusFirst','source','createCollection','ck-sidebar','48RiYXWb','removed','focusNext','focusTracker','application','list','189vbFnBf','length','change:top','listenTo','1425196rdDbKv','Annotations\x20list','focusCycler','1331077xEmTKM','focus','6JZnCNk','change','66448btXzpg','delegate','_setupKeyboardNavigation','remove','focusables','forEach','add','number','bindTemplate','_updateItemPositionInFocusables','1433858vJwaIC','arrowup','6284770bfjMSL','Annotations\x20sidebar','ck-reset','element','render','6Pmulsq','1249766zMbSjL'];_0x101d=function(){return _0x18a43a;};return _0x101d();}export class AnnotationsSidebarView extends _0xdbb48d{[_0x1147a8(0x1eb)];[_0x1147a8(0x1fb)];[_0x1147a8(0x1e9)];[_0x1147a8(0x1f2)];constructor(_0x22730e){const _0x2ec7bb=_0x1147a8;super(_0x22730e);const _0x51afce=this[_0x2ec7bb(0x1ff)];this[_0x2ec7bb(0x20e)](_0x2ec7bb(0x20a),0x0),this[_0x2ec7bb(0x20e)](_0x2ec7bb(0x216),''),this[_0x2ec7bb(0x1eb)]=this[_0x2ec7bb(0x1e4)](),this[_0x2ec7bb(0x1fb)]=this[_0x2ec7bb(0x1e4)](),this[_0x2ec7bb(0x1eb)][_0x2ec7bb(0x1f8)](_0x2ec7bb(0x202),_0x2ec7bb(0x212))['to'](this),this[_0x2ec7bb(0x1e9)]=new _0x2807ee(),this[_0x2ec7bb(0x1f2)]=new _0x1b10ba({'focusables':this[_0x2ec7bb(0x1fb)],'focusTracker':this[_0x2ec7bb(0x1e9)]}),this[_0x2ec7bb(0x211)]({'tag':_0x2ec7bb(0x214),'attributes':{'class':['ck',_0x2ec7bb(0x1e5),_0x2ec7bb(0x205),_0x51afce['to'](_0x2ec7bb(0x216))],'style':{'minHeight':_0x51afce['to'](_0x2ec7bb(0x20a),_0x3f358f=>_0x2ec7bb(0x1fe)==typeof _0x3f358f?Ot(_0x3f358f+0xa):null)},'dir':_0x22730e[_0x2ec7bb(0x218)],'role':_0x2ec7bb(0x1ea),'aria-label':_0x1fcaf5(_0x22730e,_0x2ec7bb(0x204)),'tabindex':0x0},'children':[{'tag':_0x2ec7bb(0x214),'attributes':{'role':_0x2ec7bb(0x1eb),'aria-label':_0x1fcaf5(_0x22730e,_0x2ec7bb(0x1f1))},'children':this[_0x2ec7bb(0x1eb)]}]});}[_0x1147a8(0x207)](){const _0x252a75=_0x1147a8;super[_0x252a75(0x207)](),this[_0x252a75(0x1f9)]();}[_0x1147a8(0x1f4)](){const _0x4090df=_0x1147a8;this[_0x4090df(0x1f2)][_0x4090df(0x219)]();}[_0x1147a8(0x1f9)](){const _0x2a80dc=_0x1147a8;this[_0x2a80dc(0x1eb)][_0x2a80dc(0x1f8)](_0x2a80dc(0x1ee))['to'](this),this['on'](_0x2a80dc(0x1ee),_0x167b8f=>{const _0x4b931f=_0x2a80dc;this[_0x4b931f(0x200)](_0x167b8f[_0x4b931f(0x21a)]);}),this[_0x2a80dc(0x1eb)][_0x2a80dc(0x1fc)](_0x26e31b=>{const _0x263c13=_0x2a80dc;this[_0x263c13(0x1e9)][_0x263c13(0x1fd)](_0x26e31b[_0x263c13(0x206)]),this[_0x263c13(0x200)](_0x26e31b);}),this[_0x2a80dc(0x1eb)]['on'](_0x2a80dc(0x1f6),(_0x55a7a6,_0x259168)=>{const _0x29ca35=_0x2a80dc;for(const _0xb7bc of _0x259168[_0x29ca35(0x1e7)])this[_0x29ca35(0x1e9)][_0x29ca35(0x1fa)](_0xb7bc[_0x29ca35(0x206)]),this[_0x29ca35(0x1fb)][_0x29ca35(0x1fa)](_0xb7bc);for(const _0x14d33a of _0x259168[_0x29ca35(0x215)])this[_0x29ca35(0x1e9)][_0x29ca35(0x1fd)](_0x14d33a[_0x29ca35(0x206)]),this[_0x29ca35(0x200)](_0x14d33a);}),this['on'](_0x2a80dc(0x202),()=>{const _0x2d4416=_0x2a80dc;this[_0x2d4416(0x1f2)][_0x2d4416(0x20b)]();}),this['on'](_0x2a80dc(0x212),()=>{const _0x4cbb36=_0x2a80dc;this[_0x4cbb36(0x1f2)][_0x4cbb36(0x1e8)]();}),this[_0x2a80dc(0x1ef)](this[_0x2a80dc(0x206)],_0x2a80dc(0x1f4),()=>{const _0x170969=_0x2a80dc;this[_0x170969(0x1f4)]();});}[_0x1147a8(0x200)](_0x2294bc){const _0x3b908a=_0x1147a8,_0x3c2fc1=this[_0x3b908a(0x1fb)][_0x3b908a(0x20f)](_0x2294bc);let _0x2dcd6f,_0xb84a0e;for(const _0x199505 of this[_0x3b908a(0x1fb)])if(_0x2294bc[_0x3b908a(0x210)]<_0x199505[_0x3b908a(0x210)]){_0x2dcd6f=_0x199505;break;}if(_0xb84a0e=_0x2dcd6f?this[_0x3b908a(0x1fb)][_0x3b908a(0x20f)](_0x2dcd6f):this[_0x3b908a(0x1fb)][_0x3b908a(0x1ed)],-0x1!==_0x3c2fc1){if(_0x3c2fc1===_0xb84a0e-0x1)return;this[_0x3b908a(0x1fb)][_0x3b908a(0x1fa)](_0x2294bc),_0xb84a0e=_0x2dcd6f?this[_0x3b908a(0x1fb)][_0x3b908a(0x20f)](_0x2dcd6f):this[_0x3b908a(0x1fb)][_0x3b908a(0x1ed)];}this[_0x3b908a(0x1fb)][_0x3b908a(0x1fd)](_0x2294bc,_0xb84a0e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5288f7=_0x3406;(function(_0x23ef44,_0x414b78){const _0x24e0c3=_0x3406,_0x72a224=_0x23ef44();while(!![]){try{const _0x313177=parseInt(_0x24e0c3(0x232))/0x1*(parseInt(_0x24e0c3(0x214))/0x2)+-parseInt(_0x24e0c3(0x23b))/0x3*(parseInt(_0x24e0c3(0x22e))/0x4)+parseInt(_0x24e0c3(0x207))/0x5*(parseInt(_0x24e0c3(0x22b))/0x6)+parseInt(_0x24e0c3(0x20f))/0x7*(parseInt(_0x24e0c3(0x204))/0x8)+-parseInt(_0x24e0c3(0x205))/0x9+parseInt(_0x24e0c3(0x20d))/0xa*(parseInt(_0x24e0c3(0x229))/0xb)+parseInt(_0x24e0c3(0x231))/0xc;if(_0x313177===_0x414b78)break;else _0x72a224['push'](_0x72a224['shift']());}catch(_0x54c459){_0x72a224['push'](_0x72a224['shift']());}}}(_0x164d,0x8f99c));function _0x164d(){const _0x7aee73=['high','1536888Mtxjbb','9397620RkzaWs','_integrateWithEditorAnnotations','95CCujYR','refresh','hasDomSelection','_destroyEditorAnnotationsIntegration','rearrange','EditorAnnotations','10eQitAR','widesidebar-attach-already-attached','28XzOlnX','set:container','widesidebar-detach-not-attached','requires','change:container','86vTcCxF','Annotations','off','resize','stop','listenTo','blur','wideSidebar','_activeAnnotation','add','isOfficialPlugin','addEventListener','context','detach','set','has','cancel','refreshPositioning','annotations','activeAnnotation','plugins','4537632TuIAJL','attach','87276CswvfQ','updateTargetRect','_detachFromContainer','655660QWxCSO','setActiveAnnotation','get','3889860TjVnkX','23216gYGohL','register','isPremiumPlugin','addAnnotation','refreshVisibility','uiUpdate','stopListening','init','container','21bvddDf','editors','WideSidebar','isAttached','_attachToContainer','switchTo','ck-sidebar--wide','from','destroy','focus','_editorAnnotations','ready','_refreshPositioningDebounced','_annotations','remove','removeEventListener','pluginName','getOrderedSelectedAnnotations'];_0x164d=function(){return _0x7aee73;};return _0x164d();}import{ContextPlugin as _0x38f415,Context as _0x2b24c6}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x257b14}from'./annotationsuis.js';import{Sidebar as _0x4d9b0e}from'./sidebar.js';import{CKEditorError as _0x1b2a57,Collection as _0x147342}from'ckeditor5/src/utils.js';function _0x3406(_0x263086,_0x16dbb1){const _0x164d4b=_0x164d();return _0x3406=function(_0x340671,_0x3dd5fe){_0x340671=_0x340671-0x1f2;let _0x4dc5bf=_0x164d4b[_0x340671];return _0x4dc5bf;},_0x3406(_0x263086,_0x16dbb1);}import{debounce as _0x5b57aa}from'es-toolkit/compat';export class WideSidebar extends _0x38f415{[_0x5288f7(0x1f4)];[_0x5288f7(0x226)];[_0x5288f7(0x1fb)];[_0x5288f7(0x1fd)];static get[_0x5288f7(0x212)](){return[_0x4d9b0e,_0x257b14];}static get[_0x5288f7(0x201)](){const _0x4c57f0=_0x5288f7;return _0x4c57f0(0x1f3);}static get[_0x5288f7(0x21e)](){return!0x0;}static get[_0x5288f7(0x234)](){return!0x0;}constructor(_0x25e81e){const _0x2d2f48=_0x5288f7;super(_0x25e81e),this[_0x2d2f48(0x1f4)]=!0x1,this[_0x2d2f48(0x222)](_0x2d2f48(0x227),null),this[_0x2d2f48(0x226)]=null,this[_0x2d2f48(0x1fb)]=new _0x147342(),this[_0x2d2f48(0x1fd)]=_0x5b57aa(()=>{const _0xfe5af4=_0x2d2f48;_0x25e81e[_0xfe5af4(0x228)][_0xfe5af4(0x230)](_0xfe5af4(0x215))[_0xfe5af4(0x236)](),this[_0xfe5af4(0x226)][_0xfe5af4(0x225)]();},0xfa,{'leading':!0x1});}[_0x5288f7(0x239)](){const _0x2d11dd=_0x5288f7,_0xc61167=this[_0x2d11dd(0x220)][_0x2d11dd(0x228)][_0x2d11dd(0x230)](_0x257b14),_0x5054e2=this[_0x2d11dd(0x220)][_0x2d11dd(0x228)][_0x2d11dd(0x230)](_0x4d9b0e);_0xc61167[_0x2d11dd(0x233)](_0x2d11dd(0x21b),this),_0x5054e2[_0x2d11dd(0x23a)]&&_0xc61167[_0x2d11dd(0x1f6)](_0x2d11dd(0x21b));}[_0x5288f7(0x22f)](_0x335261){const _0x344a0d=_0x5288f7;if(_0x335261===this[_0x344a0d(0x227)])return;const _0x19fb4f=this[_0x344a0d(0x220)][_0x344a0d(0x228)][_0x344a0d(0x230)](_0x4d9b0e);_0x19fb4f[_0x344a0d(0x21c)]=_0x335261;const _0x263b01=this[_0x344a0d(0x227)];_0x19fb4f[_0x344a0d(0x208)]({'blurredAnnotation':_0x263b01,'activatedAnnotation':_0x335261}),this[_0x344a0d(0x227)]=_0x335261;}[_0x5288f7(0x22a)](_0x59e33c){const _0x3c1d8b=_0x5288f7;this[_0x3c1d8b(0x226)]=_0x59e33c;const _0x33b3d0=this[_0x3c1d8b(0x220)][_0x3c1d8b(0x228)][_0x3c1d8b(0x230)](_0x4d9b0e);if(_0x33b3d0[_0x3c1d8b(0x1fe)]=_0x59e33c,this[_0x3c1d8b(0x1f4)])throw new _0x1b2a57(_0x3c1d8b(0x20e),this);this[_0x3c1d8b(0x1f4)]=!0x0,this[_0x3c1d8b(0x219)](_0x33b3d0,_0x3c1d8b(0x210),()=>{const _0x3ebfb2=_0x3c1d8b;this[_0x3ebfb2(0x221)](),this[_0x3ebfb2(0x219)](_0x33b3d0,_0x3ebfb2(0x213),_0x6ff27=>{const _0x7bec84=_0x3ebfb2;_0x6ff27[_0x7bec84(0x216)](),this[_0x7bec84(0x22a)](_0x59e33c);});}),_0x33b3d0[_0x3c1d8b(0x1f5)]({'viewClass':_0x3c1d8b(0x1f7)});const _0x13bedf=_0x5f06a5=>{const _0x540047=_0x3c1d8b;_0x5f06a5[_0x540047(0x22c)](),_0x33b3d0[_0x540047(0x235)](_0x5f06a5);};for(const _0x53ef7e of _0x59e33c)_0x13bedf(_0x53ef7e);this[_0x3c1d8b(0x219)](_0x59e33c,_0x3c1d8b(0x21d),(_0x248b0e,_0x789a9c)=>{_0x13bedf(_0x789a9c);}),this[_0x3c1d8b(0x219)](_0x59e33c,_0x3c1d8b(0x1ff),(_0x2d9b64,_0x3e4095,_0x465fe7)=>{const _0x2246ee=_0x3c1d8b;_0x33b3d0[_0x2246ee(0x20b)]({'removedAnnotation':_0x3e4095,'previousAnnotation':_0x59e33c[_0x2246ee(0x230)](_0x465fe7-0x1),'nextAnnotation':_0x59e33c[_0x2246ee(0x230)](_0x465fe7+0x1)}),_0x3e4095===this[_0x2246ee(0x227)]&&this[_0x2246ee(0x22f)](null);},{'priority':_0x3c1d8b(0x203)}),this[_0x3c1d8b(0x219)](_0x59e33c,_0x3c1d8b(0x1fa),(_0x5d7540,_0x16c47e)=>{const _0x1339d2=_0x3c1d8b;this[_0x1339d2(0x22f)](_0x16c47e);}),this[_0x3c1d8b(0x219)](_0x59e33c,_0x3c1d8b(0x21a),()=>{const _0x1972b7=_0x3c1d8b;this[_0x1972b7(0x22f)](null);});const _0x2e1e6d=this[_0x3c1d8b(0x220)]instanceof _0x2b24c6?this[_0x3c1d8b(0x220)][_0x3c1d8b(0x1f2)]:new _0x147342([this[_0x3c1d8b(0x220)]]);for(const _0xb542f7 of _0x2e1e6d)this[_0x3c1d8b(0x206)](_0xb542f7);this[_0x3c1d8b(0x219)](_0x2e1e6d,_0x3c1d8b(0x21d),(_0x588fd3,_0x54cd72)=>{const _0xa77d6c=_0x3c1d8b;this[_0xa77d6c(0x219)](_0x54cd72,_0xa77d6c(0x1fc),()=>{const _0x4a9d38=_0xa77d6c;this[_0x4a9d38(0x206)](_0x54cd72);});}),this[_0x3c1d8b(0x219)](_0x2e1e6d,_0x3c1d8b(0x1ff),(_0x4bac04,_0x515ce2)=>{const _0x329745=_0x3c1d8b;_0x515ce2[_0x329745(0x228)][_0x329745(0x223)](_0x329745(0x20c))&&this[_0x329745(0x20a)](_0x515ce2[_0x329745(0x228)][_0x329745(0x230)](_0x329745(0x20c)));}),window[_0x3c1d8b(0x21f)](_0x3c1d8b(0x217),this[_0x3c1d8b(0x1fd)]),this[_0x3c1d8b(0x220)][_0x3c1d8b(0x228)][_0x3c1d8b(0x230)](_0x3c1d8b(0x215))[_0x3c1d8b(0x236)](),this[_0x3c1d8b(0x226)][_0x3c1d8b(0x225)]();}[_0x5288f7(0x221)](){const _0x17c829=_0x5288f7;if(!this[_0x17c829(0x1f4)])throw new _0x1b2a57(_0x17c829(0x211),this);this[_0x17c829(0x22f)](null);const _0x1626fd=this[_0x17c829(0x220)][_0x17c829(0x228)][_0x17c829(0x230)](_0x4d9b0e);_0x1626fd[_0x17c829(0x22d)](this[_0x17c829(0x226)]),this[_0x17c829(0x238)](_0x1626fd),this[_0x17c829(0x238)](this[_0x17c829(0x226)]),this[_0x17c829(0x220)]instanceof _0x2b24c6&&this[_0x17c829(0x238)](this[_0x17c829(0x220)][_0x17c829(0x1f2)]);for(const _0x225d20 of Array[_0x17c829(0x1f8)](this[_0x17c829(0x1fb)]))this[_0x17c829(0x20a)](_0x225d20);window[_0x17c829(0x200)](_0x17c829(0x217),this[_0x17c829(0x1fd)]),this[_0x17c829(0x1fd)][_0x17c829(0x224)](),this[_0x17c829(0x227)]=null,this[_0x17c829(0x1f4)]=!0x1,this[_0x17c829(0x226)]=null;}[_0x5288f7(0x1f9)](){const _0x542c12=_0x5288f7;this[_0x542c12(0x1f4)]&&this[_0x542c12(0x221)]();}[_0x5288f7(0x206)](_0x469cc5){const _0x11a1f3=_0x5288f7;if(!_0x469cc5[_0x11a1f3(0x228)][_0x11a1f3(0x223)](_0x11a1f3(0x20c)))return;const _0x2ebd72=_0x469cc5[_0x11a1f3(0x228)][_0x11a1f3(0x230)](_0x11a1f3(0x20c)),_0x3e0232=()=>{const _0x19d12c=_0x11a1f3,_0x44a4bd=_0x2ebd72[_0x19d12c(0x202)]({'annotations':this[_0x19d12c(0x226)],'activeAnnotation':this[_0x19d12c(0x227)]});this[_0x19d12c(0x22f)](_0x44a4bd[0x0]||null);};this[_0x11a1f3(0x219)](_0x2ebd72,_0x11a1f3(0x208),_0x3e0232),this[_0x11a1f3(0x219)](_0x2ebd72,_0x11a1f3(0x21a),(_0x621041,{isAnnotationTracked:_0x3af335})=>{const _0x7069d3=_0x11a1f3;this[_0x7069d3(0x227)]&&_0x3af335(this[_0x7069d3(0x227)])&&this[_0x7069d3(0x22f)](null);}),this[_0x11a1f3(0x219)](_0x2ebd72,_0x11a1f3(0x237),()=>{const _0xf6b2a4=_0x11a1f3;this[_0xf6b2a4(0x1fd)]();}),this[_0x11a1f3(0x219)](this[_0x11a1f3(0x226)],_0x11a1f3(0x21a),_0x57c5cc=>{const _0x1f08c5=_0x11a1f3;_0x2ebd72[_0x1f08c5(0x209)]()&&(_0x3e0232(),_0x57c5cc[_0x1f08c5(0x218)]());},{'priority':_0x11a1f3(0x203)}),this[_0x11a1f3(0x1fb)][_0x11a1f3(0x21d)](_0x2ebd72);}[_0x5288f7(0x20a)](_0x45c70d){const _0x2c026c=_0x5288f7;this[_0x2c026c(0x238)](_0x45c70d),this[_0x2c026c(0x1fb)][_0x2c026c(0x1ff)](_0x45c70d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c352a=_0x5b95;(function(_0x197030,_0x5cc6e7){const _0x3d0668=_0x5b95,_0x1d1d35=_0x197030();while(!![]){try{const _0x441aff=-parseInt(_0x3d0668(0x1ab))/0x1+-parseInt(_0x3d0668(0x1b7))/0x2+-parseInt(_0x3d0668(0x1be))/0x3+parseInt(_0x3d0668(0x1ae))/0x4+-parseInt(_0x3d0668(0x1c7))/0x5+parseInt(_0x3d0668(0x1d4))/0x6+-parseInt(_0x3d0668(0x1bb))/0x7*(-parseInt(_0x3d0668(0x1a7))/0x8);if(_0x441aff===_0x5cc6e7)break;else _0x1d1d35['push'](_0x1d1d35['shift']());}catch(_0x2da2ca){_0x1d1d35['push'](_0x1d1d35['shift']());}}}(_0xabe6,0x3c158));import{Command as _0x332d05}from'ckeditor5/src/core.js';import{uid as _0x26fff2,CKEditorError as _0x1547f7}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x332d05{constructor(_0x2dad0d){const _0xdeaa3f=_0x5b95;super(_0x2dad0d),this[_0xdeaa3f(0x1bc)](_0xdeaa3f(0x1c2),!0x1);}[_0x4c352a(0x1aa)](){const _0x253eca=_0x4c352a,_0x502b27=this[_0x253eca(0x1b4)][_0x253eca(0x1cf)][_0x253eca(0x1a6)][_0x253eca(0x1d2)];this[_0x253eca(0x1ca)]=!0x0,this[_0x253eca(0x1c2)]=!0x1;for(const _0x4ec5de of _0x502b27[_0x253eca(0x1c8)]())if(this[_0x253eca(0x1c5)](_0x4ec5de))return void(this[_0x253eca(0x1c2)]=!0x0);}[_0x4c352a(0x1a9)]({threadId:_0x332392=_0x26fff2(),ranges:_0x2676c6,comment:_0x203a3f}={}){const _0x40f955=_0x4c352a,_0x2def25=this[_0x40f955(0x1b4)][_0x40f955(0x1cf)],_0x2abfc2=_0x2676c6??Array[_0x40f955(0x1c6)](_0x2def25[_0x40f955(0x1a6)][_0x40f955(0x1d2)][_0x40f955(0x1c8)]()),_0x432523=[];for(const _0x3b8447 of _0x2abfc2)this[_0x40f955(0x1c5)](_0x3b8447)&&_0x432523[_0x40f955(0x1c0)](this[_0x40f955(0x1c9)](_0x3b8447));if(!_0x432523[_0x40f955(0x1cd)])throw new _0x1547f7(_0x40f955(0x1b3),null);_0x203a3f&&this[_0x40f955(0x1d1)](_0x332392,_0x203a3f),this[_0x40f955(0x1d5)](_0x332392,_0x432523,!!_0x203a3f);}[_0x4c352a(0x1d5)](_0x3f6fc2,_0x28e5ab,_0x5e4884){const _0x17c87b=_0x4c352a;this[_0x17c87b(0x1b4)][_0x17c87b(0x1cf)][_0x17c87b(0x1b5)](_0x487a3f=>{const _0x36758d=_0x17c87b;for(const _0x5b4da3 of _0x28e5ab){const _0x222917=_0x26fff2()[_0x36758d(0x1ac)](0x1,0x5),_0x2034f1=_0x36758d(0x1c3)+_0x3f6fc2+':'+_0x222917;_0x487a3f[_0x36758d(0x1b0)](_0x2034f1,{'range':_0x5b4da3,'usingOperation':_0x5e4884,'affectsData':_0x5e4884});}});}[_0x4c352a(0x1d1)](_0x43d1b4,_0x22dfd2){const _0x5aa106=_0x4c352a,_0x536969=this[_0x5aa106(0x1b4)][_0x5aa106(0x1ad)][_0x5aa106(0x1af)](_0x5aa106(0x1bd)),_0x17cc19=this[_0x5aa106(0x1b4)][_0x5aa106(0x1cb)][_0x5aa106(0x1af)](_0x5aa106(0x1b1)),_0x461205=this[_0x5aa106(0x1b4)][_0x5aa106(0x1ad)][_0x5aa106(0x1af)](_0x5aa106(0x1ce))['me'];if(!_0x461205)throw new _0x1547f7(_0x5aa106(0x1c1),null);_0x536969[_0x5aa106(0x1a4)]({'threadId':_0x43d1b4,'channelId':_0x17cc19,'comments':[{'authorId':_0x461205['id'],'content':_0x22dfd2,'createdAt':new Date(),'attributes':{}}]});}[_0x4c352a(0x1c5)](_0x56ccff){const _0x5a81d4=_0x4c352a;for(const _0x375ad1 of _0x56ccff[_0x5a81d4(0x1b8)]())if(this[_0x5a81d4(0x1b2)](_0x375ad1))return!0x0;return!0x1;}[_0x4c352a(0x1b2)](_0x30e3cc){const _0x65827e=_0x4c352a;return _0x30e3cc['is'](_0x65827e(0x1d0))||this[_0x65827e(0x1b4)][_0x65827e(0x1cf)][_0x65827e(0x1c4)][_0x65827e(0x1cc)](_0x30e3cc)&&!_0x30e3cc['is'](_0x65827e(0x1a8),_0x65827e(0x1d6));}[_0x4c352a(0x1c9)](_0x51268f){const _0x48dc43=_0x4c352a,_0x5dbf2d=_0xd912a0=>!this[_0x48dc43(0x1b2)](_0xd912a0[_0x48dc43(0x1b9)]),_0xe2776=_0x51268f[_0x48dc43(0x1d3)][_0x48dc43(0x1b6)](_0x5dbf2d),_0x2eaa17=_0x51268f[_0x48dc43(0x1ba)][_0x48dc43(0x1b6)](_0x5dbf2d,{'direction':_0x48dc43(0x1bf)});return this[_0x48dc43(0x1b4)][_0x48dc43(0x1cf)][_0x48dc43(0x1a5)](_0xe2776,_0x2eaa17);}}function _0x5b95(_0x3bac4c,_0x8422af){const _0xabe6ed=_0xabe6();return _0x5b95=function(_0x5b95c9,_0x4784e9){_0x5b95c9=_0x5b95c9-0x1a4;let _0x5178e1=_0xabe6ed[_0x5b95c9];return _0x5178e1;},_0x5b95(_0x3bac4c,_0x8422af);}function _0xabe6(){const _0x360c2e=['getItems','item','end','441oAZCMN','set','CommentsRepository','1074093POQSKV','backward','push','addcommentthreadcommand-user-not-found','hasContent','comment:','schema','_hasContent','from','2418965WWjzJF','getRanges','_trimToContent','isEnabled','config','isObject','length','Users','model','$textProxy','_createCommentThread','selection','start','2474712nmKfIp','_createMarkersFromRanges','tableCell','addCommentThread','createRange','document','157808TcVzfd','element','execute','refresh','473384nNrDtf','substr','plugins','488664BIQSGF','get','addMarker','collaboration.channelId','_itemIsContent','addcommentthreadcommand-incorrect-ranges','editor','change','getLastMatchingPosition','432088UUqBPZ'];_0xabe6=function(){return _0x360c2e;};return _0xabe6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc45998=_0x19be;(function(_0xf3209c,_0xc54720){const _0x22c131=_0x19be,_0x499753=_0xf3209c();while(!![]){try{const _0xad6ef7=parseInt(_0x22c131(0x212))/0x1+parseInt(_0x22c131(0x1ff))/0x2*(-parseInt(_0x22c131(0x20f))/0x3)+-parseInt(_0x22c131(0x1f6))/0x4*(-parseInt(_0x22c131(0x1ee))/0x5)+parseInt(_0x22c131(0x215))/0x6*(-parseInt(_0x22c131(0x1fd))/0x7)+parseInt(_0x22c131(0x20c))/0x8+parseInt(_0x22c131(0x211))/0x9*(parseInt(_0x22c131(0x1fb))/0xa)+-parseInt(_0x22c131(0x208))/0xb*(parseInt(_0x22c131(0x1f0))/0xc);if(_0xad6ef7===_0xc54720)break;else _0x499753['push'](_0x499753['shift']());}catch(_0x24754d){_0x499753['push'](_0x499753['shift']());}}}(_0x252d,0x98e7f));import{ContextPlugin as _0x59b148}from'ckeditor5/src/core.js';import{Collection as _0x3fc4cf}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x5b8193}from'./commentsrepository.js';import{Annotations as _0x22aad9}from'../annotations/annotations.js';export class CommentsArchive extends _0x59b148{static get[_0xc45998(0x1f1)](){const _0x59317c=_0xc45998;return _0x59317c(0x207);}static get[_0xc45998(0x1fc)](){return!0x0;}static get[_0xc45998(0x203)](){return!0x0;}static get[_0xc45998(0x20b)](){return[_0x5b8193,_0x22aad9];}constructor(_0x5e2446){const _0x1841b6=_0xc45998;super(_0x5e2446),this[_0x1841b6(0x1f5)]=new _0x3fc4cf();}[_0xc45998(0x1f4)](){const _0x22dcc4=_0xc45998,_0x1086f8=this[_0x22dcc4(0x1fe)],_0x1621d1=_0x1086f8[_0x22dcc4(0x213)][_0x22dcc4(0x216)](_0x5b8193),_0x22ca1b=_0x1086f8[_0x22dcc4(0x213)][_0x22dcc4(0x216)](_0x22aad9);this[_0x22dcc4(0x1f8)](_0x1621d1,_0x22dcc4(0x1f2),(_0x2af5d6,{threadId:_0x404215})=>{const _0x22b6c0=_0x22dcc4,_0x3ffb85=_0x1621d1[_0x22b6c0(0x214)](_0x404215);_0x3ffb85[_0x22b6c0(0x1fa)]&&this[_0x22b6c0(0x1f5)][_0x22b6c0(0x202)](_0x3ffb85,this[_0x22b6c0(0x20a)](_0x3ffb85[_0x22b6c0(0x1fa)])),this[_0x22b6c0(0x1f8)](_0x3ffb85,_0x22b6c0(0x210),(_0x43774a,_0x2a4542,_0x5c6f30)=>{const _0xfb8bed=_0x22b6c0;_0x5c6f30?this[_0xfb8bed(0x1f5)][_0xfb8bed(0x201)](_0x3ffb85)||this[_0xfb8bed(0x1f5)][_0xfb8bed(0x202)](_0x3ffb85,this[_0xfb8bed(0x20a)](_0x3ffb85[_0xfb8bed(0x1fa)])):this[_0xfb8bed(0x1f5)][_0xfb8bed(0x201)](_0x3ffb85)&&this[_0xfb8bed(0x1f5)][_0xfb8bed(0x200)](_0x3ffb85);});}),this[_0x22dcc4(0x1f8)](_0x1621d1,_0x22dcc4(0x209),(_0x16f3b9,{threadId:_0x4a9aff})=>{const _0x258a32=_0x22dcc4,_0xa09c18=_0x1621d1[_0x258a32(0x214)](_0x4a9aff);this[_0x258a32(0x205)](_0xa09c18),this[_0x258a32(0x1f5)][_0x258a32(0x201)](_0xa09c18)&&this[_0x258a32(0x1f5)][_0x258a32(0x200)](_0xa09c18);},{'priority':_0x22dcc4(0x204)}),this[_0x22dcc4(0x1f8)](_0x22ca1b[_0x22dcc4(0x1f9)],_0x22dcc4(0x206),(_0x1a90b9,_0x5f3453)=>{const _0x12506b=_0x22dcc4;_0x5f3453[_0x12506b(0x1f7)]||(_0x5f3453[_0x12506b(0x1ef)]=!0x0,_0x22ca1b[_0x12506b(0x1f3)](_0x5f3453));});}[_0xc45998(0x20a)](_0x320c8f){const _0xd5fc4f=_0xc45998,_0x528718=[...this[_0xd5fc4f(0x1f5)]][_0xd5fc4f(0x20d)](_0x133088=>_0x133088[_0xd5fc4f(0x1fa)]<_0x320c8f);return _0x528718>-0x1?_0x528718:this[_0xd5fc4f(0x1f5)][_0xd5fc4f(0x20e)];}}function _0x19be(_0x22c39a,_0x489406){const _0x252d45=_0x252d();return _0x19be=function(_0x19beaa,_0x171fe7){_0x19beaa=_0x19beaa-0x1ee;let _0x4f1487=_0x252d45[_0x19beaa];return _0x4f1487;},_0x19be(_0x22c39a,_0x489406);}function _0x252d(){const _0x639eac=['stopListening','focus','CommentsArchive','12895069aPqMie','removeCommentThread','_calculatePosition','requires','1844680efiWMV','findIndex','length','529377ygNtom','change:archivedAt','10683135zmHNrw','577005FNUqYa','plugins','getCommentThread','81684BIBWbe','get','1725IHMdla','isActive','12JJEGcg','pluginName','addCommentThread','activate','init','archivedThreads','6864pwdsRp','isVisible','listenTo','collection','archivedAt','10CUZUqY','isOfficialPlugin','133SjzMAe','context','6cHMimp','remove','has','add','isPremiumPlugin','highest'];_0x252d=function(){return _0x639eac;};return _0x252d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xa898b5=_0x1764;(function(_0x2ae940,_0x1d41bf){const _0x5a93c9=_0x1764,_0x18ad4e=_0x2ae940();while(!![]){try{const _0x21d210=parseInt(_0x5a93c9(0x19e))/0x1+-parseInt(_0x5a93c9(0x186))/0x2+-parseInt(_0x5a93c9(0x17f))/0x3*(parseInt(_0x5a93c9(0x179))/0x4)+-parseInt(_0x5a93c9(0x196))/0x5+parseInt(_0x5a93c9(0x174))/0x6+-parseInt(_0x5a93c9(0x170))/0x7*(-parseInt(_0x5a93c9(0x16d))/0x8)+parseInt(_0x5a93c9(0x1a9))/0x9;if(_0x21d210===_0x1d41bf)break;else _0x18ad4e['push'](_0x18ad4e['shift']());}catch(_0x4ae2f8){_0x18ad4e['push'](_0x18ad4e['shift']());}}}(_0x401d,0x925d3));import'../../theme/commentsarchive.css';import{Plugin as _0x5a23d1}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x2a8369}from'ckeditor5/src/icons.js';function _0x401d(){const _0x37740c=['source','includes','_addAnnotationToArchive','config','2944ClBLxN','find','focusableElements','644ZfRnjm','archivedAt','commentsArchive','add','1173186mWjMHO','isOn','requires','init','getByInnerView','12MXtauY','escape','pluginName','_threadToController','CommentsRepository','channelId','890607uYmZSk','execute','length','has','_createCommentsArchiveButton','filter','Annotations','1771842luhdrR','innerView','isOfficialPlugin','stop','menuitemcheckbox','Dialog','locale','_calculatePosition','componentFactory','tooltip','collection','_pendingThreads','_toggleDialog','remove','_hideDialogOnAnnotationEscape','plugins','1281310UvranM','forEach','stopListening','bind','collaboration.channelId','commentsArchiveView','isVisible','editor','758102vFLgyz','EDITOR_TOP_SIDE','_handleNewThread','COMMENTS_ARCHIVE','set:isVisible','push','hide','findIndex','splice','indexOf','annotationViews','14803272KBHlmQ','isEnabled','archivedThreads','view','set','listenTo','CommentsArchiveUI','menuBar:commentsArchive','get','return','_visibleAnnotations','show','isPremiumPlugin','isOpen'];_0x401d=function(){return _0x37740c;};return _0x401d();}import{ViewCollection as _0x3a8300,MenuBarMenuListItemButtonView as _0x4f23ee,ButtonView as _0x5d6b50,Dialog as _0x1b38ca,DialogViewPosition as _0x46fdbc}from'ckeditor5/src/ui.js';import{getTranslation as _0x22a9cc}from'../utils/common-translations.js';import{CommentsArchiveView as _0x410585}from'./ui/view/commentsarchiveview.js';function _0x1764(_0x4c0aef,_0x32f4bf){const _0x401d87=_0x401d();return _0x1764=function(_0x176406,_0x1c6c3f){_0x176406=_0x176406-0x16d;let _0x10885e=_0x401d87[_0x176406];return _0x10885e;},_0x1764(_0x4c0aef,_0x32f4bf);}import{CommentsArchive as _0x5c23ce}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x5a23d1{[_0xa898b5(0x19b)];[_0xa898b5(0x1a8)];[_0xa898b5(0x191)];static get[_0xa898b5(0x17b)](){const _0x54dc6f=_0xa898b5;return _0x54dc6f(0x1af);}static get[_0xa898b5(0x188)](){return!0x0;}static get[_0xa898b5(0x1b5)](){return!0x0;}static get[_0xa898b5(0x176)](){return[_0x5c23ce,_0x1b38ca];}constructor(_0x399b8a){const _0x217907=_0xa898b5;super(_0x399b8a),this[_0x217907(0x1a8)]=new _0x3a8300(),this[_0x217907(0x191)]=[];}[_0xa898b5(0x177)](){const _0x461c91=_0xa898b5,_0x292b34=this[_0x461c91(0x19d)],_0xc70ae9=this[_0x461c91(0x194)][_0x461c91(0x199)](this);_0x292b34['ui'][_0x461c91(0x18e)][_0x461c91(0x173)](_0x461c91(0x172),()=>this[_0x461c91(0x183)](_0x5d6b50,!0x0)),_0x292b34['ui'][_0x461c91(0x18e)][_0x461c91(0x173)](_0x461c91(0x1b0),()=>{const _0x12b534=_0x461c91,_0x341781=this[_0x12b534(0x183)](_0x4f23ee);return _0x341781[_0x12b534(0x1ad)]({'role':_0x12b534(0x18a)}),_0x341781;});const _0x39e3e8=_0x292b34[_0x461c91(0x195)][_0x461c91(0x1b1)](_0x5c23ce),_0xd6a8b0=_0x292b34[_0x461c91(0x195)][_0x461c91(0x1b1)](_0x461c91(0x185)),_0x15a2a9=_0x292b34[_0x461c91(0x195)][_0x461c91(0x1b1)](_0x461c91(0x17d));_0x39e3e8[_0x461c91(0x1ab)][_0x461c91(0x197)](_0x1e3cee=>{const _0xc3b475=_0x461c91;this[_0xc3b475(0x1a0)](_0x1e3cee);}),this[_0x461c91(0x1ae)](_0x39e3e8[_0x461c91(0x1ab)],_0x461c91(0x173),(_0x25af8e,_0x4b49ba)=>{const _0x24042f=_0x461c91;this[_0x24042f(0x1a0)](_0x4b49ba);}),this[_0x461c91(0x1ae)](_0xd6a8b0[_0x461c91(0x190)],_0x461c91(0x173),(_0x5e1e77,_0x2b1703)=>{const _0x1814e5=_0x461c91,_0x5118fa=this[_0x1814e5(0x191)][_0x1814e5(0x16e)](_0x552da8=>{const _0x5dc1d2=_0x1814e5,_0x2e79f3=_0x15a2a9[_0x5dc1d2(0x17c)][_0x5dc1d2(0x1b1)](_0x552da8);return _0x2e79f3&&_0x2b1703[_0x5dc1d2(0x187)]===_0x2e79f3[_0x5dc1d2(0x1ac)];});if(_0x5118fa){const _0x336b4b=this[_0x1814e5(0x18d)](_0x5118fa[_0x1814e5(0x171)]);this[_0x1814e5(0x1b9)](_0x2b1703,_0x336b4b),this[_0x1814e5(0x191)][_0x1814e5(0x1a6)](this[_0x1814e5(0x191)][_0x1814e5(0x1a7)](_0x5118fa),0x1);}}),this[_0x461c91(0x1ae)](_0x39e3e8[_0x461c91(0x1ab)],_0x461c91(0x193),(_0x5a80bb,_0x52655d)=>{const _0x58c59d=_0x461c91,_0x2bccf6=_0x292b34[_0x58c59d(0x1ba)][_0x58c59d(0x1b1)](_0x58c59d(0x19a));if(!_0x2bccf6||_0x52655d[_0x58c59d(0x17e)]===_0x2bccf6){if(this[_0x58c59d(0x191)][_0x58c59d(0x1b8)](_0x52655d))this[_0x58c59d(0x191)][_0x58c59d(0x1a6)](this[_0x58c59d(0x191)][_0x58c59d(0x1a7)](_0x52655d),0x1);else{const _0x5a1cd6=_0x15a2a9[_0x58c59d(0x17c)][_0x58c59d(0x1b1)](_0x52655d),_0x403aa1=_0xd6a8b0[_0x58c59d(0x178)](_0x5a1cd6[_0x58c59d(0x1ac)]);this[_0x58c59d(0x1a8)][_0x58c59d(0x193)](_0x403aa1[_0x58c59d(0x1ac)]),this[_0x58c59d(0x198)](_0x403aa1),this[_0x58c59d(0x198)](_0x403aa1[_0x58c59d(0x16f)]);}}}),this[_0x461c91(0x1ae)](_0xd6a8b0[_0x461c91(0x190)],_0x461c91(0x173),(_0x3ced2a,_0x162c6d)=>{const _0x4a8868=_0x461c91;this[_0x4a8868(0x1ae)](_0x162c6d,_0x4a8868(0x17a),_0xc70ae9);}),this[_0x461c91(0x1ae)](_0xd6a8b0[_0x461c91(0x190)],_0x461c91(0x193),(_0x21b017,_0x2752fe)=>{const _0x1eefd4=_0x461c91;this[_0x1eefd4(0x198)](_0x2752fe,_0x1eefd4(0x17a),_0xc70ae9);});}[_0xa898b5(0x1b9)](_0x4dffda,_0x57979d){const _0x540f17=_0xa898b5;this[_0x540f17(0x1ae)](_0x4dffda,_0x540f17(0x1a2),_0x49c915=>{const _0x210fe6=_0x540f17;_0x49c915[_0x210fe6(0x1b2)]=!0x1,_0x49c915[_0x210fe6(0x189)]();}),this[_0x540f17(0x1a8)][_0x540f17(0x173)](_0x4dffda[_0x540f17(0x1ac)],_0x57979d);}[_0xa898b5(0x1a0)](_0x12b3b3){const _0x2e78d3=_0xa898b5,_0x44c50c=this[_0x2e78d3(0x19d)][_0x2e78d3(0x195)][_0x2e78d3(0x1b1)](_0x2e78d3(0x17d)),_0x2cfd8d=this[_0x2e78d3(0x19d)][_0x2e78d3(0x195)][_0x2e78d3(0x1b1)](_0x2e78d3(0x185)),_0xc45020=this[_0x2e78d3(0x19d)][_0x2e78d3(0x1ba)][_0x2e78d3(0x1b1)](_0x2e78d3(0x19a));if(!_0xc45020||_0x12b3b3[_0x2e78d3(0x17e)]===_0xc45020){const _0x127670=_0x44c50c[_0x2e78d3(0x17c)][_0x2e78d3(0x1b1)](_0x12b3b3);if(!_0x127670)return void this[_0x2e78d3(0x191)][_0x2e78d3(0x1a3)](_0x12b3b3);const _0x565179=this[_0x2e78d3(0x18d)](_0x12b3b3[_0x2e78d3(0x171)]),_0x2a6842=_0x2cfd8d[_0x2e78d3(0x178)](_0x127670[_0x2e78d3(0x1ac)]);_0x2a6842[_0x2e78d3(0x19c)]&&_0x2cfd8d[_0x2e78d3(0x1b3)][_0x2e78d3(0x193)](_0x2a6842),this[_0x2e78d3(0x1b9)](_0x2a6842,_0x565179);}}[_0xa898b5(0x18d)](_0x561eeb){const _0x376bce=_0xa898b5,_0x4af6cf=this[_0x376bce(0x19d)][_0x376bce(0x1ba)][_0x376bce(0x1b1)](_0x376bce(0x19a)),_0x32fb49=[...this[_0x376bce(0x19d)][_0x376bce(0x195)][_0x376bce(0x1b1)](_0x5c23ce)[_0x376bce(0x1ab)]][_0x376bce(0x184)](_0x46ee99=>_0x46ee99[_0x376bce(0x17e)]===_0x4af6cf)[_0x376bce(0x1a5)](_0x37bbf4=>_0x37bbf4[_0x376bce(0x171)]<_0x561eeb);return _0x32fb49<0x0||_0x32fb49>this[_0x376bce(0x1a8)][_0x376bce(0x181)]?this[_0x376bce(0x1a8)][_0x376bce(0x181)]:_0x32fb49-0x1;}[_0xa898b5(0x192)](){const _0x3d7e3b=_0xa898b5,_0x54d0f9=this[_0x3d7e3b(0x19d)],_0x344638=_0x54d0f9[_0x3d7e3b(0x195)][_0x3d7e3b(0x1b1)](_0x3d7e3b(0x18b));this[_0x3d7e3b(0x19b)]||(this[_0x3d7e3b(0x19b)]=new _0x410585(_0x54d0f9[_0x3d7e3b(0x18c)],this[_0x3d7e3b(0x1a8)])),_0x3d7e3b(0x172)===_0x344638['id']?_0x344638[_0x3d7e3b(0x1a4)]():_0x344638[_0x3d7e3b(0x1b4)]({'id':_0x3d7e3b(0x172),'title':_0x22a9cc(_0x54d0f9[_0x3d7e3b(0x18c)],_0x3d7e3b(0x1a1)),'icon':_0x2a8369,'hasCloseButton':!0x0,'content':this[_0x3d7e3b(0x19b)],'position':_0x46fdbc[_0x3d7e3b(0x19f)]});}[_0xa898b5(0x183)](_0x37d294,_0x5da44a=!0x1){const _0x367e11=_0xa898b5,_0x5f20ec=this[_0x367e11(0x19d)][_0x367e11(0x18c)],_0x4dc6e3=this[_0x367e11(0x19d)][_0x367e11(0x195)][_0x367e11(0x1b1)](_0x367e11(0x18b)),_0x86fdb6=new _0x37d294(_0x5f20ec);return _0x86fdb6[_0x367e11(0x199)](_0x367e11(0x1aa))['to'](this,_0x367e11(0x1aa)),_0x86fdb6[_0x367e11(0x199)](_0x367e11(0x175))['to'](_0x4dc6e3,'id',_0x24d81d=>_0x367e11(0x172)===_0x24d81d),_0x86fdb6[_0x367e11(0x1ad)]({'label':_0x22a9cc(_0x5f20ec,_0x367e11(0x1a1)),'icon':_0x2a8369,'isToggleable':!0x0}),_0x5da44a&&(_0x86fdb6[_0x367e11(0x18f)]=!0x0),this[_0x367e11(0x1ae)](_0x86fdb6,_0x367e11(0x180),()=>this[_0x367e11(0x192)]()),_0x86fdb6;}[_0xa898b5(0x194)]=_0x4fd1ce=>{const _0x35db71=_0xa898b5,_0x5cd299=_0x4fd1ce[_0x35db71(0x1b7)];if(!this[_0x35db71(0x1a8)][_0x35db71(0x182)](_0x5cd299[_0x35db71(0x1ac)]))return;const _0x5566bb=this[_0x35db71(0x19d)][_0x35db71(0x195)][_0x35db71(0x1b1)](_0x35db71(0x18b));_0x5566bb[_0x35db71(0x1b6)]&&_0x35db71(0x172)===_0x5566bb['id']&&(_0x5566bb[_0x35db71(0x1a4)](),_0x4fd1ce[_0x35db71(0x189)]());};}
|