@ckeditor/ckeditor5-comments 46.0.2 → 46.1.0-alpha.0
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 _0x5ff413=_0x701c;(function(_0x4ba0ab,_0x10fbdf){const _0x3cfa42=_0x701c,_0x5a1c22=_0x4ba0ab();while(!![]){try{const _0x91bdc4=-parseInt(_0x3cfa42(0xf1))/0x1+parseInt(_0x3cfa42(0x135))/0x2*(parseInt(_0x3cfa42(0xfe))/0x3)+-parseInt(_0x3cfa42(0xef))/0x4+-parseInt(_0x3cfa42(0x120))/0x5*(-parseInt(_0x3cfa42(0xf2))/0x6)+-parseInt(_0x3cfa42(0x125))/0x7+-parseInt(_0x3cfa42(0x116))/0x8+parseInt(_0x3cfa42(0x123))/0x9*(parseInt(_0x3cfa42(0x105))/0xa);if(_0x91bdc4===_0x10fbdf)break;else _0x5a1c22['push'](_0x5a1c22['shift']());}catch(_0x46c083){_0x5a1c22['push'](_0x5a1c22['shift']());}}}(_0x2f58,0xe6a9f));import{ContextPlugin as _0x1ef35c}from'ckeditor5/src/core.js';import{Rect as _0x253abb,CKEditorError as _0x5bd6ce}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x458768}from'./view/sidebarview.js';function _0x701c(_0x5d00e5,_0x4c68e0){const _0x2f58bc=_0x2f58();return _0x701c=function(_0x701ca0,_0x3dcd62){_0x701ca0=_0x701ca0-0xed;let _0x2fdfd0=_0x2f58bc[_0x701ca0];return _0x2fdfd0;},_0x701c(_0x5d00e5,_0x4c68e0);}import{AnnotationsSidebarItemView as _0x291147}from'./view/sidebaritemview.js';function _0x2f58(){const _0x4e9d81=['isOfficialPlugin','last','context','_destroySidebarItemView','length','updateHeight','height','_alignAfterItem','delete','view','change:top','nodeType','change:bottom','7299044XnFfRf','sidebar-setcontainer-invalid-element','1104458XzgGkN','18ljeeVm','_attachToContainer','bottom','appendChild','add','sidebar-attachtocontainer-missing-container','class','Sidebar','get','locale','_setItemTop','isPremiumPlugin','19491fyRiAt','change:targetRect','_sidebarItemViewToAnnotation','_alignToTargetRect','_alignBeforeItem','_getTargetTop','clear','16988650uXLnNL','unbind','_annotations','_updateLastItem','rearrange','addAnnotation','isActive','_getItemBefore','sidebar.preventScrollOutOfView','_detachFromContainer','_recalculate','minHeight','config','change:_lastItem','sidebar.container','stopListening','list','7126552iyPbSG','init','refresh','_getItemAfter','element','getIndex','object','_targetTop','pluginName','set','3060850nrbPPx','_annotationToSidebarItemView','isAnimationDisabled','9KAKMaI','push','1717499GUZBWv','_alignForBottomChange','listenTo','getSidebarItemView','define','top','_recalculateBuffer','remove','_activeAnnotation','container','_createSidebarView','setContainer','destroy','bind','targetRect','render','454JkdTUR','target','max','_getMaxAvailableTop','_alignForTopChange','_lastItem','content','_spaceBetweenItems'];_0x2f58=function(){return _0x4e9d81;};return _0x2f58();}export class Sidebar extends _0x1ef35c{[_0x5ff413(0x146)];[_0x5ff413(0x12d)];[_0x5ff413(0x107)];[_0x5ff413(0x13c)];[_0x5ff413(0x100)];[_0x5ff413(0x121)];[_0x5ff413(0x12b)];static get[_0x5ff413(0x11e)](){const _0x17e805=_0x5ff413;return _0x17e805(0xf9);}static get[_0x5ff413(0x13d)](){return!0x0;}static get[_0x5ff413(0xfd)](){return!0x0;}constructor(_0x161dce){const _0x508d66=_0x5ff413;super(_0x161dce),this[_0x508d66(0x11f)](_0x508d66(0x13a),void 0x0),this[_0x508d66(0x146)]=this[_0x508d66(0x12f)](),this[_0x508d66(0x11f)](_0x508d66(0x12e),null),this[_0x508d66(0x13c)]=0x19,this[_0x508d66(0x100)]=new Map(),this[_0x508d66(0x121)]=new Map(),this[_0x508d66(0x13f)][_0x508d66(0x111)][_0x508d66(0x129)](_0x508d66(0x10d),!0x1),this[_0x508d66(0x107)]=null,this[_0x508d66(0x12d)]=null,this[_0x508d66(0x12b)]=[];}[_0x5ff413(0x117)](){const _0x5bad7e=_0x5ff413,_0x414f62=this[_0x5bad7e(0x13f)][_0x5bad7e(0x111)][_0x5bad7e(0xfa)](_0x5bad7e(0x113));_0x414f62&&this[_0x5bad7e(0x130)](_0x414f62);}[_0x5ff413(0x130)](_0x2a6442){const _0x4a075a=_0x5ff413;if(!g(_0x2a6442))throw new _0x5bd6ce(_0x4a075a(0xf0));this[_0x4a075a(0x12e)]=_0x2a6442;}[_0x5ff413(0xf3)]({viewClass:_0x17c119='',spaceBetweenItems:_0x49e7b3=0x19}={}){const _0x3903f7=_0x5ff413;if(!g(this[_0x3903f7(0x12e)]))throw new _0x5bd6ce(_0x3903f7(0xf7),this);this[_0x3903f7(0x12e)][_0x3903f7(0xf5)](this[_0x3903f7(0x146)][_0x3903f7(0x11a)]),this[_0x3903f7(0x146)][_0x3903f7(0xf8)]=_0x17c119,this[_0x3903f7(0x13c)]=_0x49e7b3;}[_0x5ff413(0x109)]({removedAnnotation:_0x4798b4,previousAnnotation:_0x3b62ca,nextAnnotation:_0x43b881}){const _0x73347a=_0x5ff413,_0x2b4071=this[_0x73347a(0x128)](_0x4798b4);this[_0x73347a(0x146)][_0x73347a(0x115)][_0x73347a(0x12c)](_0x2b4071),this[_0x73347a(0x140)](_0x4798b4),_0x3b62ca&&this[_0x73347a(0x101)](this[_0x73347a(0x128)](_0x3b62ca)),_0x43b881&&this[_0x73347a(0x101)](this[_0x73347a(0x128)](_0x43b881)),this[_0x73347a(0x108)]();}[_0x5ff413(0x118)]({blurredAnnotation:_0x24b72c,activatedAnnotation:_0xe122e6,disableAnimationOnActivatedAnnotation:_0x4d9cd3}){const _0xd23a2e=_0x5ff413;if(this[_0xd23a2e(0x12d)]=_0xe122e6,_0x24b72c){_0x24b72c[_0xd23a2e(0x10b)]=!0x1;const _0x6c0012=this[_0xd23a2e(0x128)](_0x24b72c);_0x6c0012&&_0x4d9cd3&&(_0x6c0012[_0xd23a2e(0x122)]=!0x1);}if(_0xe122e6){const _0x599f30=this[_0xd23a2e(0x128)](_0xe122e6);_0x599f30&&(_0xe122e6[_0xd23a2e(0x10b)]=!0x0,_0x4d9cd3&&(_0x599f30[_0xd23a2e(0x122)]=!0x0,_0x599f30[_0xd23a2e(0x12a)]+=0x1),this[_0xd23a2e(0x101)](_0x599f30));}}[_0x5ff413(0x10e)](_0x5ecb75){const _0x4b1324=_0x5ff413;if(this[_0x4b1324(0x146)][_0x4b1324(0x11a)][_0x4b1324(0x12c)](),_0x5ecb75){for(const _0x2fb10b of _0x5ecb75)this[_0x4b1324(0x140)](_0x2fb10b);}this[_0x4b1324(0x146)][_0x4b1324(0x115)][_0x4b1324(0x104)](),this[_0x4b1324(0x146)][_0x4b1324(0xf8)]='',this[_0x4b1324(0x13a)]=null;}[_0x5ff413(0x10a)](_0x393cda,_0x5c539c){const _0x19e18c=_0x5ff413;_0x5c539c||(_0x5c539c=_0x393cda[_0x19e18c(0x146)]);const _0x18004a=new _0x291147(this[_0x19e18c(0x13f)][_0x19e18c(0xfb)]);this[_0x19e18c(0x100)][_0x19e18c(0x11f)](_0x18004a,_0x393cda),this[_0x19e18c(0x121)][_0x19e18c(0x11f)](_0x393cda,_0x18004a),_0x18004a[_0x19e18c(0x13b)][_0x19e18c(0xf6)](_0x5c539c),this[_0x19e18c(0x127)](_0x393cda[_0x19e18c(0x146)],_0x19e18c(0xff),(_0x14b952,_0x171e4f,_0x480607)=>{const _0x4d9a2a=_0x19e18c,_0x4cdc74=this[_0x4d9a2a(0x103)](_0x393cda,_0x480607);_0x18004a[_0x4d9a2a(0x11d)]!=_0x4cdc74&&(_0x18004a[_0x4d9a2a(0x11d)]=_0x4cdc74,this[_0x4d9a2a(0xfc)](_0x18004a,_0x4cdc74));}),this[_0x19e18c(0x127)](_0x18004a,_0x19e18c(0x147),()=>{const _0x5ab7c9=_0x19e18c;this[_0x5ab7c9(0x10f)](_0x18004a,_0x5ab7c9(0x12a));}),this[_0x19e18c(0x127)](_0x18004a,_0x19e18c(0xee),()=>{const _0x271e2d=_0x19e18c;this[_0x271e2d(0x10f)](_0x18004a,_0x271e2d(0xf4));}),this[_0x19e18c(0x101)](_0x18004a);const _0x1a964a=this[_0x19e18c(0x10c)](_0x18004a);if(_0x1a964a)this[_0x19e18c(0x144)](_0x1a964a,_0x18004a)||this[_0x19e18c(0x101)](_0x18004a);else this[_0x19e18c(0x101)](_0x18004a);return this[_0x19e18c(0x108)](),this[_0x19e18c(0x146)][_0x19e18c(0x115)][_0x19e18c(0xf6)](_0x18004a),_0x18004a;}[_0x5ff413(0x139)](_0x5ade92){const _0x2b83a9=_0x5ff413;if(!_0x5ade92[_0x2b83a9(0x13b)][_0x2b83a9(0x141)])return;const _0x3168d9=this[_0x2b83a9(0x10c)](_0x5ade92);if(!_0x3168d9)return;const _0x113a77=this[_0x2b83a9(0x100)][_0x2b83a9(0xfa)](_0x3168d9),_0xeb5605=this[_0x2b83a9(0x12d)];_0xeb5605&&_0xeb5605===_0x113a77?this[_0x2b83a9(0x144)](_0x3168d9,_0x5ade92):this[_0x2b83a9(0x102)](_0x5ade92,_0x3168d9);}[_0x5ff413(0x126)](_0x333f11){const _0x816003=_0x5ff413;if(!_0x333f11[_0x816003(0x13b)][_0x816003(0x141)])return;const _0x24e1e6=this[_0x816003(0x119)](_0x333f11);if(!_0x24e1e6)return;const _0x4d4b8f=this[_0x816003(0x100)][_0x816003(0xfa)](_0x24e1e6),_0x1c71e0=this[_0x816003(0x13f)][_0x816003(0x111)][_0x816003(0xfa)](_0x816003(0x10d)),_0x1e0d65=this[_0x816003(0x12d)];_0x1e0d65&&_0x1e0d65===_0x4d4b8f&&_0x1c71e0?(this[_0x816003(0x102)](_0x24e1e6,_0x333f11),this[_0x816003(0x144)](_0x333f11,_0x24e1e6)):_0x1e0d65&&_0x1e0d65===_0x4d4b8f?this[_0x816003(0x102)](_0x24e1e6,_0x333f11):this[_0x816003(0x144)](_0x333f11,_0x24e1e6);}[_0x5ff413(0x10f)](_0x4f2f10,_0x28f77f){const _0x35e711=_0x5ff413;0x0===this[_0x35e711(0x12b)][_0x35e711(0x141)]&&setTimeout(()=>{const _0x4d6a20=_0x35e711;for(const {sidebarItemView:_0xc65b2,changedProp:_0x4eae1f}of this[_0x4d6a20(0x12b)])_0x4d6a20(0x12a)===_0x4eae1f?this[_0x4d6a20(0x139)](_0xc65b2):this[_0x4d6a20(0x126)](_0xc65b2);this[_0x4d6a20(0x12b)]=[];},0xa),this[_0x35e711(0x12b)][_0x35e711(0x124)]({'sidebarItemView':_0x4f2f10,'changedProp':_0x28f77f});}[_0x5ff413(0x128)](_0x3a44d6){const _0x4986bc=_0x5ff413;return this[_0x4986bc(0x121)][_0x4986bc(0xfa)](_0x3a44d6);}[_0x5ff413(0x131)](){const _0x17f68b=_0x5ff413;this[_0x17f68b(0x114)](),this[_0x17f68b(0x146)][_0x17f68b(0x131)]();}[_0x5ff413(0x140)](_0xe306f8){const _0x288906=_0x5ff413,_0x463621=this[_0x288906(0x128)](_0xe306f8);this[_0x288906(0x114)](_0x463621),this[_0x288906(0x114)](_0xe306f8[_0x288906(0x146)]),_0x463621[_0x288906(0x131)](),this[_0x288906(0x121)][_0x288906(0x145)](_0xe306f8),this[_0x288906(0x100)][_0x288906(0x145)](_0x463621);}[_0x5ff413(0x12f)](){const _0x54de50=_0x5ff413,_0xe13ba4=new _0x458768(this[_0x54de50(0x13f)][_0x54de50(0xfb)]);return _0xe13ba4[_0x54de50(0x134)](),this['on'](_0x54de50(0x112),(_0x1b3839,_0x3f34b4,_0x232444,_0x3a3518)=>{const _0x5f2022=_0x54de50;_0x3a3518&&_0xe13ba4[_0x5f2022(0x106)](_0x5f2022(0x110)),_0x232444?_0xe13ba4[_0x5f2022(0x132)](_0x5f2022(0x110))['to'](_0x232444,_0x5f2022(0xf4)):_0xe13ba4[_0x5f2022(0x110)]=null;}),_0xe13ba4;}[_0x5ff413(0x108)](){const _0x5395de=_0x5ff413;this[_0x5395de(0x13a)]=this[_0x5395de(0x107)]?.[_0x5395de(0x13e)]?this[_0x5395de(0x128)](this[_0x5395de(0x107)][_0x5395de(0x13e)]):null;}[_0x5ff413(0x10c)](_0x4f7a89){const _0x1358fd=_0x5ff413,_0x2bc09d=this[_0x1358fd(0x100)][_0x1358fd(0xfa)](_0x4f7a89),_0x1d2bca=_0x2bc09d&&this[_0x1358fd(0x107)]?.[_0x1358fd(0xfa)](this[_0x1358fd(0x107)][_0x1358fd(0x11b)](_0x2bc09d)-0x1);return _0x1d2bca&&this[_0x1358fd(0x128)](_0x1d2bca)||null;}[_0x5ff413(0x119)](_0x513e04){const _0x19e021=_0x5ff413,_0x50b68e=this[_0x19e021(0x100)][_0x19e021(0xfa)](_0x513e04),_0x540900=_0x50b68e&&this[_0x19e021(0x107)]?.[_0x19e021(0xfa)](this[_0x19e021(0x107)][_0x19e021(0x11b)](_0x50b68e)+0x1);return _0x540900&&this[_0x19e021(0x128)](_0x540900)||null;}[_0x5ff413(0x102)](_0x3a5f6e,_0x80a4df){const _0x5b78fa=_0x5ff413;_0x3a5f6e[_0x5b78fa(0x142)]();const _0x54883f=G(_0x80a4df[_0x5b78fa(0xf4)]+this[_0x5b78fa(0x13c)],_0x3a5f6e[_0x5b78fa(0x12a)]);return!!_0x54883f&&(this[_0x5b78fa(0xfc)](_0x80a4df,_0x80a4df[_0x5b78fa(0x12a)]-_0x54883f),!0x0);}[_0x5ff413(0x144)](_0x529ddd,_0x5e09bf){const _0x1b12f1=_0x5ff413;_0x529ddd[_0x1b12f1(0x142)]();const _0x3b5f4a=G(_0x529ddd[_0x1b12f1(0xf4)]+this[_0x1b12f1(0x13c)],_0x5e09bf[_0x1b12f1(0x12a)]);return!!_0x3b5f4a&&(this[_0x1b12f1(0xfc)](_0x5e09bf,_0x5e09bf[_0x1b12f1(0x12a)]+_0x3b5f4a,!0x1),!0x0);}[_0x5ff413(0x101)](_0x3a927f){const _0x4db006=_0x5ff413,_0x58a57c=this[_0x4db006(0x100)][_0x4db006(0xfa)](_0x3a927f);if(!_0x58a57c||!_0x58a57c[_0x4db006(0x136)]||!_0x58a57c[_0x4db006(0x133)])return;const _0x529972=this[_0x4db006(0x103)](_0x58a57c,_0x58a57c[_0x4db006(0x133)]);this[_0x4db006(0xfc)](_0x3a927f,_0x529972);}[_0x5ff413(0x103)](_0x3a0ed7,_0x5cb89e){const _0x49be23=_0x5ff413;if(null===_0x5cb89e)return 0x0;if(_0x3a0ed7[_0x49be23(0x136)]instanceof _0x253abb)return _0x5cb89e[_0x49be23(0x12a)];{const _0x522a3c=new _0x253abb(this[_0x49be23(0x146)][_0x49be23(0x11a)])[_0x49be23(0x12a)];return _0x5cb89e[_0x49be23(0x12a)]-_0x522a3c;}}[_0x5ff413(0xfc)](_0x42d7e3,_0x69d6ec,_0x3ba10b=this[_0x5ff413(0x13f)][_0x5ff413(0x111)][_0x5ff413(0xfa)](_0x5ff413(0x10d))){const _0x49f436=_0x5ff413;_0x3ba10b&&(_0x69d6ec=Math[_0x49f436(0x137)](_0x69d6ec,this[_0x49f436(0x138)](_0x42d7e3))),_0x42d7e3[_0x49f436(0x12a)]=_0x69d6ec;}[_0x5ff413(0x138)](_0xb0f3bf){const _0x4c56c6=_0x5ff413;let _0x43c16e=this[_0x4c56c6(0x10c)](_0xb0f3bf),_0x3e0593=0x0;for(;_0x43c16e;)_0x43c16e[_0x4c56c6(0x142)](),_0x3e0593+=this[_0x4c56c6(0x13c)]+_0x43c16e[_0x4c56c6(0x143)],_0x43c16e=this[_0x4c56c6(0x10c)](_0x43c16e);return _0x3e0593;}}function G(_0x278a50,_0x274bf7){const _0x397bc9=_0x5ff413;return Math[_0x397bc9(0x137)](_0x278a50-_0x274bf7,0x0);}function g(_0x9305b1){const _0x18afcd=_0x5ff413;return null!==_0x9305b1&&_0x18afcd(0x11c)==typeof _0x9305b1&&0x1===_0x9305b1[_0x18afcd(0xed)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x943244=_0x3fdf;(function(_0x5c2bdd,_0xc3b140){const _0x4263dd=_0x3fdf,_0xfe2e46=_0x5c2bdd();while(!![]){try{const _0x3ac30a=parseInt(_0x4263dd(0xd5))/0x1+parseInt(_0x4263dd(0xde))/0x2+-parseInt(_0x4263dd(0xe1))/0x3*(parseInt(_0x4263dd(0xd8))/0x4)+parseInt(_0x4263dd(0xd1))/0x5*(parseInt(_0x4263dd(0xd3))/0x6)+parseInt(_0x4263dd(0xd2))/0x7+parseInt(_0x4263dd(0xd6))/0x8*(-parseInt(_0x4263dd(0xeb))/0x9)+-parseInt(_0x4263dd(0xe5))/0xa;if(_0x3ac30a===_0xc3b140)break;else _0xfe2e46['push'](_0xfe2e46['shift']());}catch(_0x17ba67){_0xfe2e46['push'](_0xfe2e46['shift']());}}}(_0x4211,0xf2bcc));import{ButtonView as _0x393bdf,View as _0x54fdae}from'ckeditor5/src/ui.js';import{IconAddComment as _0x32bc3d}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x393bdf{[_0x943244(0xd7)];constructor(_0x57ccab){const _0x539fdf=_0x943244;super(_0x57ccab);const _0x2a41d=this[_0x539fdf(0xe4)];this[_0x539fdf(0xd4)](_0x539fdf(0xdc),!0x1),this[_0x539fdf(0xd4)](_0x539fdf(0xe3),0x0),this[_0x539fdf(0xcf)](_0x539fdf(0xd9))['to'](this,_0x539fdf(0xdc),this,_0x539fdf(0xe3),(_0x11251f,_0x36ec24)=>_0x11251f?_0x539fdf(0xea):_0x36ec24[_0x539fdf(0xdb)]()),this[_0x539fdf(0xd4)](_0x539fdf(0xe2),''),this[_0x539fdf(0xe6)]=_0x32bc3d,this[_0x539fdf(0xce)]({'attributes':{'class':[_0x539fdf(0xdd)]}}),this[_0x539fdf(0xd7)]=new _0x54fdae(),this[_0x539fdf(0xd7)][_0x539fdf(0xda)]({'tag':_0x539fdf(0xdf),'attributes':{'class':[_0x539fdf(0xe7),_0x2a41d['to'](_0x539fdf(0xe2),_0x5259da=>_0x539fdf(0xe8)+_0x5259da),_0x2a41d['if'](_0x539fdf(0xdc),_0x539fdf(0xd0))]},'children':[{'text':_0x2a41d['to'](_0x539fdf(0xd9))}]}),this[_0x539fdf(0xe9)][_0x539fdf(0xe0)](this[_0x539fdf(0xd7)]);}}function _0x3fdf(_0x537198,_0x45d9f2){const _0x421157=_0x4211();return _0x3fdf=function(_0x3fdf15,_0x1a60b2){_0x3fdf15=_0x3fdf15-0xce;let _0x23bdc5=_0x421157[_0x3fdf15];return _0x23bdc5;},_0x3fdf(_0x537198,_0x45d9f2);}function _0x4211(){const _0x556446=['icon','ck-annotation-counter__badge','ck-annotation-counter__badge--','children','...','9FlPBCp','extendTemplate','bind','ck-annotation-counter__badge--edit-mode','82040eMBVur','297745qHJtKo','138aZoNMG','set','540664YeKjQQ','5574512eGHTCl','counterView','4916DwNvAK','_badge','setTemplate','toString','isDirty','ck-annotation-counter','2558214NJNwel','span','add','1272wFNppJ','annotationType','number','bindTemplate','275280ERQEmR'];_0x4211=function(){return _0x556446;};return _0x4211();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22b3a6=_0x2d62;(function(_0x120ff6,_0x57c8dd){const _0x195f1f=_0x2d62,_0x5b01b1=_0x120ff6();while(!![]){try{const _0x5435ed=parseInt(_0x195f1f(0x169))/0x1+parseInt(_0x195f1f(0x184))/0x2+parseInt(_0x195f1f(0x177))/0x3+parseInt(_0x195f1f(0x165))/0x4*(-parseInt(_0x195f1f(0x161))/0x5)+-parseInt(_0x195f1f(0x181))/0x6*(-parseInt(_0x195f1f(0x166))/0x7)+-parseInt(_0x195f1f(0x171))/0x8*(parseInt(_0x195f1f(0x15d))/0x9)+parseInt(_0x195f1f(0x183))/0xa;if(_0x5435ed===_0x57c8dd)break;else _0x5b01b1['push'](_0x5b01b1['shift']());}catch(_0xe5ba0d){_0x5b01b1['push'](_0x5b01b1['shift']());}}}(_0x2664,0x695f6));import{View as _0x2ca58e}from'ckeditor5/src/ui.js';function _0x2664(){const _0x366a20=['fire','ck-annotation-wrapper--active','presentation','8NMWvTB','set','targetRect','keystrokes','isDirty','delegate','1185948jyUlfQ','element','length','arrowdown','type','_updateHeight','clear','_mutationObserver','ck-annotation-wrapper','height','6MVcbMb','content','6166800llGDwv','686316bsHaUv','setTemplate','listenTo','first','arrowup','add','focus','destroy','7623279vZqUdC','clientHeight','createCollection','Esc','40nqnYwH','detach','mainView','isActive','361708JIdcVV','3018862HIDxCS','render','div','215633phglVD','attach','bindTemplate','focusTracker','ck-rounded-corners'];_0x2664=function(){return _0x366a20;};return _0x2664();}function _0x2d62(_0x29e6fd,_0x4637c0){const _0x2664be=_0x2664();return _0x2d62=function(_0x2d62ce,_0xdbf658){_0x2d62ce=_0x2d62ce-0x15a;let _0x5814e3=_0x2664be[_0x2d62ce];return _0x5814e3;},_0x2d62(_0x29e6fd,_0x4637c0);}import{FocusTracker as _0x5631fb,KeystrokeHandler as _0x342e7f,uid as _0x1984cf}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x3ac4ae}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x2ca58e{[_0x22b3a6(0x16c)];['id'];[_0x22b3a6(0x174)];[_0x22b3a6(0x182)];[_0x22b3a6(0x163)];[_0x22b3a6(0x17e)];constructor(_0x45e745,_0x48ab48){const _0x366847=_0x22b3a6;super(_0x45e745),this['id']=_0x1984cf(),this[_0x366847(0x16c)]=new _0x5631fb(),this[_0x366847(0x174)]=new _0x342e7f(),this[_0x366847(0x174)][_0x366847(0x172)](_0x366847(0x160),(_0x1e53c3,_0xe761b3)=>this[_0x366847(0x16e)](_0x366847(0x160),_0xe761b3)),this[_0x366847(0x172)](_0x366847(0x173),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x366847(0x172)](_0x366847(0x180),0x0),this[_0x366847(0x172)](_0x366847(0x164),!0x1),this[_0x366847(0x172)](_0x366847(0x175),!0x1),this[_0x366847(0x172)](_0x366847(0x179),0x0),this[_0x366847(0x172)](_0x366847(0x17b),''),this[_0x366847(0x17e)]=_0x3ac4ae(()=>this[_0x366847(0x17c)]()),this[_0x366847(0x182)]=this[_0x366847(0x15f)](),this[_0x366847(0x182)][_0x366847(0x176)](_0x366847(0x188),_0x366847(0x17a))['to'](this),this[_0x366847(0x182)][_0x366847(0x15a)](_0x48ab48),this[_0x366847(0x163)]=_0x48ab48;const _0x552a3f=this[_0x366847(0x16b)];this[_0x366847(0x185)]({'tag':_0x366847(0x168),'attributes':{'class':['ck',_0x366847(0x17f),_0x366847(0x16d),_0x552a3f['if'](_0x366847(0x164),_0x366847(0x16f))],'role':_0x366847(0x170)},'children':this[_0x366847(0x182)]});}[_0x22b3a6(0x167)](){const _0x42d2a7=_0x22b3a6;super[_0x42d2a7(0x167)](),this[_0x42d2a7(0x16c)][_0x42d2a7(0x15a)](this[_0x42d2a7(0x178)]),this[_0x42d2a7(0x174)][_0x42d2a7(0x186)](this[_0x42d2a7(0x178)]),this[_0x42d2a7(0x17e)][_0x42d2a7(0x16a)](this[_0x42d2a7(0x178)]);}[_0x22b3a6(0x15c)](){const _0x33fc79=_0x22b3a6;this[_0x33fc79(0x182)][_0x33fc79(0x17d)](),this[_0x33fc79(0x174)][_0x33fc79(0x15c)](),this[_0x33fc79(0x16c)][_0x33fc79(0x15c)](),this[_0x33fc79(0x17e)][_0x33fc79(0x162)](),super[_0x33fc79(0x15c)]();}[_0x22b3a6(0x15b)](){const _0xb6698b=_0x22b3a6;this[_0xb6698b(0x182)][_0xb6698b(0x187)]&&this[_0xb6698b(0x182)][_0xb6698b(0x187)][_0xb6698b(0x15b)]();}[_0x22b3a6(0x17c)](){const _0x5316cc=_0x22b3a6,_0x3d84df=this[_0x5316cc(0x178)][_0x5316cc(0x15e)];_0x3d84df&&(this[_0x5316cc(0x180)]=_0x3d84df);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xffcd0c=_0x22e9;(function(_0x2b1c13,_0x484da9){const _0x1ced43=_0x22e9,_0x1941d7=_0x2b1c13();while(!![]){try{const _0x4e8146=parseInt(_0x1ced43(0x190))/0x1+parseInt(_0x1ced43(0x193))/0x2*(-parseInt(_0x1ced43(0x173))/0x3)+-parseInt(_0x1ced43(0x17c))/0x4+parseInt(_0x1ced43(0x174))/0x5+-parseInt(_0x1ced43(0x175))/0x6+parseInt(_0x1ced43(0x18f))/0x7*(-parseInt(_0x1ced43(0x186))/0x8)+parseInt(_0x1ced43(0x176))/0x9;if(_0x4e8146===_0x484da9)break;else _0x1941d7['push'](_0x1941d7['shift']());}catch(_0x1db2b3){_0x1941d7['push'](_0x1941d7['shift']());}}}(_0x2f0e,0xeb77a));import{View as _0x56ce88}from'ckeditor5/src/ui.js';function _0x2f0e(){const _0x3585d8=['bindTemplate','4654101QogqGS','8328305gBlJMu','2366670tygPwC','8692434YhaJPd','ck-sidebar-item','clientHeight','_targetTop','arrowup','height','242920aUKWZL','attach','clear','render','div','set','first','createCollection','arrowdown','presentation','4952sHFYPt','isAnimationDisabled','_mutationObserver','element','content','updateHeight','setTemplate','destroy','bind','10703GWKBCC','1285980BoATma','delegate','focus','2NJzLKi','top','ck-sidebar-item--no-animation','bottom','detach'];_0x2f0e=function(){return _0x3585d8;};return _0x2f0e();}import{toUnit as _0x17fa19}from'ckeditor5/src/utils.js';function _0x22e9(_0x53dda0,_0x306e43){const _0x2f0e78=_0x2f0e();return _0x22e9=function(_0x22e9a9,_0x4832f4){_0x22e9a9=_0x22e9a9-0x16f;let _0xb6758d=_0x2f0e78[_0x22e9a9];return _0xb6758d;},_0x22e9(_0x53dda0,_0x306e43);}import{createMutationObserver as _0x4d5db5}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x17fa19('px');export class AnnotationsSidebarItemView extends _0x56ce88{[_0xffcd0c(0x18a)];[_0xffcd0c(0x179)];[_0xffcd0c(0x188)];constructor(_0x44b0e2){const _0xda0d4c=_0xffcd0c;super(_0x44b0e2),this[_0xda0d4c(0x181)](_0xda0d4c(0x194),0x0),this[_0xda0d4c(0x181)](_0xda0d4c(0x17b),0x0),this[_0xda0d4c(0x18e)](_0xda0d4c(0x170))['to'](this,_0xda0d4c(0x194),this,_0xda0d4c(0x17b),(_0x499574,_0x23f141)=>_0x499574+_0x23f141),this[_0xda0d4c(0x181)](_0xda0d4c(0x187),!0x1),this[_0xda0d4c(0x188)]=_0x4d5db5(()=>this[_0xda0d4c(0x18b)]()),this[_0xda0d4c(0x179)]=null,this[_0xda0d4c(0x18a)]=this[_0xda0d4c(0x183)](),this[_0xda0d4c(0x18a)][_0xda0d4c(0x191)](_0xda0d4c(0x17a),_0xda0d4c(0x184))['to'](this);const _0x421100=this[_0xda0d4c(0x172)];this[_0xda0d4c(0x18c)]({'tag':_0xda0d4c(0x180),'attributes':{'class':[_0xda0d4c(0x177),_0x421100['to'](_0xda0d4c(0x187),_0x1ca307=>_0x1ca307?_0xda0d4c(0x16f):'')],'style':{'top':_0x421100['to'](_0xda0d4c(0x194),_0xb6142f=>Ot(_0xb6142f))},'role':_0xda0d4c(0x185)},'children':this[_0xda0d4c(0x18a)]});}[_0xffcd0c(0x17f)](){const _0x21f981=_0xffcd0c;super[_0x21f981(0x17f)](),this[_0x21f981(0x188)][_0x21f981(0x17d)](this[_0x21f981(0x189)]);}[_0xffcd0c(0x192)](){const _0x493a37=_0xffcd0c;this[_0x493a37(0x18a)][_0x493a37(0x182)]&&this[_0x493a37(0x18a)][_0x493a37(0x182)][_0x493a37(0x192)]();}[_0xffcd0c(0x18b)](){const _0x23d262=_0xffcd0c,_0x1a38ad=this[_0x23d262(0x189)][_0x23d262(0x178)];_0x1a38ad&&(this[_0x23d262(0x17b)]=_0x1a38ad);}[_0xffcd0c(0x18d)](){const _0x177d37=_0xffcd0c;this[_0x177d37(0x18a)][_0x177d37(0x17e)](),this[_0x177d37(0x188)][_0x177d37(0x171)](),super[_0x177d37(0x18d)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x239c45=_0x4ca2;(function(_0x264ce5,_0x5c0ce9){const _0x8e2485=_0x4ca2,_0x27f14c=_0x264ce5();while(!![]){try{const _0x3f00b2=-parseInt(_0x8e2485(0x195))/0x1+-parseInt(_0x8e2485(0x1a7))/0x2+-parseInt(_0x8e2485(0x196))/0x3*(parseInt(_0x8e2485(0x197))/0x4)+-parseInt(_0x8e2485(0x1a9))/0x5+parseInt(_0x8e2485(0x1b2))/0x6*(-parseInt(_0x8e2485(0x17f))/0x7)+parseInt(_0x8e2485(0x182))/0x8*(-parseInt(_0x8e2485(0x1a4))/0x9)+parseInt(_0x8e2485(0x190))/0xa*(parseInt(_0x8e2485(0x191))/0xb);if(_0x3f00b2===_0x5c0ce9)break;else _0x27f14c['push'](_0x27f14c['shift']());}catch(_0x28a02a){_0x27f14c['push'](_0x27f14c['shift']());}}}(_0x1ef5,0x6c3f1));import{View as _0x287f43,FocusCycler as _0x4ec9f6}from'ckeditor5/src/ui.js';function _0x1ef5(){const _0x345ce1=['list','render','6jAQAnV','459893gJOZjO','added','listenTo','1458312cxReXh','top','class','focus','delegate','Annotations\x20sidebar','application','createCollection','ck-reset','number','focusPrevious','focusTracker','element','set','10AAajkm','22961983gaJOtt','remove','focusFirst','_setupKeyboardNavigation','499136GjQGtZ','879ICjWMk','9068XhJkkY','div','source','minHeight','arrowdown','getIndex','ck-sidebar','focusables','arrowup','_updateItemPositionInFocusables','change:top','add','focusCycler','9iUeKTh','change','removed','345324kAsUzL','focusNext','300295FMmpzS','setTemplate','uiLanguageDirection','length','bindTemplate','Annotations\x20list','forEach'];_0x1ef5=function(){return _0x345ce1;};return _0x1ef5();}function _0x4ca2(_0x275e54,_0x3e7bb2){const _0x1ef5d3=_0x1ef5();return _0x4ca2=function(_0x4ca27b,_0x4db5a5){_0x4ca27b=_0x4ca27b-0x17f;let _0x46f532=_0x1ef5d3[_0x4ca27b];return _0x46f532;},_0x4ca2(_0x275e54,_0x3e7bb2);}import{FocusTracker as _0x7dc2d2,toUnit as _0x298be3}from'ckeditor5/src/utils.js';import{getTranslation as _0x520f77}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x298be3('px');export class AnnotationsSidebarView extends _0x287f43{[_0x239c45(0x1b0)];[_0x239c45(0x19e)];[_0x239c45(0x18d)];[_0x239c45(0x1a3)];constructor(_0x167ddf){const _0x4ddd7f=_0x239c45;super(_0x167ddf);const _0x3396a2=this[_0x4ddd7f(0x1ad)];this[_0x4ddd7f(0x18f)](_0x4ddd7f(0x19a),0x0),this[_0x4ddd7f(0x18f)](_0x4ddd7f(0x184),''),this[_0x4ddd7f(0x1b0)]=this[_0x4ddd7f(0x189)](),this[_0x4ddd7f(0x19e)]=this[_0x4ddd7f(0x189)](),this[_0x4ddd7f(0x1b0)][_0x4ddd7f(0x186)](_0x4ddd7f(0x19f),_0x4ddd7f(0x19b))['to'](this),this[_0x4ddd7f(0x18d)]=new _0x7dc2d2(),this[_0x4ddd7f(0x1a3)]=new _0x4ec9f6({'focusables':this[_0x4ddd7f(0x19e)],'focusTracker':this[_0x4ddd7f(0x18d)]}),this[_0x4ddd7f(0x1aa)]({'tag':_0x4ddd7f(0x198),'attributes':{'class':['ck',_0x4ddd7f(0x19d),_0x4ddd7f(0x18a),_0x3396a2['to'](_0x4ddd7f(0x184))],'style':{'minHeight':_0x3396a2['to'](_0x4ddd7f(0x19a),_0x52be12=>_0x4ddd7f(0x18b)==typeof _0x52be12?Ot(_0x52be12+0xa):null)},'dir':_0x167ddf[_0x4ddd7f(0x1ab)],'role':_0x4ddd7f(0x188),'aria-label':_0x520f77(_0x167ddf,_0x4ddd7f(0x187)),'tabindex':0x0},'children':[{'tag':_0x4ddd7f(0x198),'attributes':{'role':_0x4ddd7f(0x1b0),'aria-label':_0x520f77(_0x167ddf,_0x4ddd7f(0x1ae))},'children':this[_0x4ddd7f(0x1b0)]}]});}[_0x239c45(0x1b1)](){const _0x8a8687=_0x239c45;super[_0x8a8687(0x1b1)](),this[_0x8a8687(0x194)]();}[_0x239c45(0x185)](){const _0x5904bb=_0x239c45;this[_0x5904bb(0x1a3)][_0x5904bb(0x193)]();}[_0x239c45(0x194)](){const _0x53d4e9=_0x239c45;this[_0x53d4e9(0x1b0)][_0x53d4e9(0x186)](_0x53d4e9(0x1a1))['to'](this),this['on'](_0x53d4e9(0x1a1),_0x5a6635=>{const _0x8b982b=_0x53d4e9;this[_0x8b982b(0x1a0)](_0x5a6635[_0x8b982b(0x199)]);}),this[_0x53d4e9(0x1b0)][_0x53d4e9(0x1af)](_0x3bda33=>{const _0x11bf32=_0x53d4e9;this[_0x11bf32(0x18d)][_0x11bf32(0x1a2)](_0x3bda33[_0x11bf32(0x18e)]),this[_0x11bf32(0x1a0)](_0x3bda33);}),this[_0x53d4e9(0x1b0)]['on'](_0x53d4e9(0x1a5),(_0xa64ce4,_0x224527)=>{const _0x407f45=_0x53d4e9;for(const _0x52201b of _0x224527[_0x407f45(0x1a6)])this[_0x407f45(0x18d)][_0x407f45(0x192)](_0x52201b[_0x407f45(0x18e)]),this[_0x407f45(0x19e)][_0x407f45(0x192)](_0x52201b);for(const _0x33f5f4 of _0x224527[_0x407f45(0x180)])this[_0x407f45(0x18d)][_0x407f45(0x1a2)](_0x33f5f4[_0x407f45(0x18e)]),this[_0x407f45(0x1a0)](_0x33f5f4);}),this['on'](_0x53d4e9(0x19f),()=>{const _0xb4fa7c=_0x53d4e9;this[_0xb4fa7c(0x1a3)][_0xb4fa7c(0x18c)]();}),this['on'](_0x53d4e9(0x19b),()=>{const _0x4925c7=_0x53d4e9;this[_0x4925c7(0x1a3)][_0x4925c7(0x1a8)]();}),this[_0x53d4e9(0x181)](this[_0x53d4e9(0x18e)],_0x53d4e9(0x185),()=>{const _0x59c0c4=_0x53d4e9;this[_0x59c0c4(0x185)]();});}[_0x239c45(0x1a0)](_0x2a0860){const _0x53f19d=_0x239c45,_0x16ccb9=this[_0x53f19d(0x19e)][_0x53f19d(0x19c)](_0x2a0860);let _0x489729,_0x43c901;for(const _0x5ce35a of this[_0x53f19d(0x19e)])if(_0x2a0860[_0x53f19d(0x183)]<_0x5ce35a[_0x53f19d(0x183)]){_0x489729=_0x5ce35a;break;}if(_0x43c901=_0x489729?this[_0x53f19d(0x19e)][_0x53f19d(0x19c)](_0x489729):this[_0x53f19d(0x19e)][_0x53f19d(0x1ac)],-0x1!==_0x16ccb9){if(_0x16ccb9===_0x43c901-0x1)return;this[_0x53f19d(0x19e)][_0x53f19d(0x192)](_0x2a0860),_0x43c901=_0x489729?this[_0x53f19d(0x19e)][_0x53f19d(0x19c)](_0x489729):this[_0x53f19d(0x19e)][_0x53f19d(0x1ac)];}this[_0x53f19d(0x19e)][_0x53f19d(0x1a2)](_0x2a0860,_0x43c901);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x375fbf=_0x5071;(function(_0xf05f7e,_0x454a0d){const _0x155c76=_0x5071,_0x4f2cc8=_0xf05f7e();while(!![]){try{const _0x74d4c=-parseInt(_0x155c76(0x1fe))/0x1*(parseInt(_0x155c76(0x22e))/0x2)+-parseInt(_0x155c76(0x221))/0x3+-parseInt(_0x155c76(0x1f4))/0x4+-parseInt(_0x155c76(0x1f3))/0x5+parseInt(_0x155c76(0x205))/0x6+-parseInt(_0x155c76(0x211))/0x7+-parseInt(_0x155c76(0x21b))/0x8*(-parseInt(_0x155c76(0x20e))/0x9);if(_0x74d4c===_0x454a0d)break;else _0x4f2cc8['push'](_0x4f2cc8['shift']());}catch(_0x50fba5){_0x4f2cc8['push'](_0x4f2cc8['shift']());}}}(_0x3623,0x2c74b));import{ContextPlugin as _0x4b8ea3,Context as _0x33df9f}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x53574f}from'./annotationsuis.js';function _0x5071(_0x1c00d9,_0x17e4f4){const _0x362348=_0x3623();return _0x5071=function(_0x5071d0,_0xfb7149){_0x5071d0=_0x5071d0-0x1ee;let _0x39b7bf=_0x362348[_0x5071d0];return _0x39b7bf;},_0x5071(_0x1c00d9,_0x17e4f4);}import{Sidebar as _0x5a2286}from'./sidebar.js';import{CKEditorError as _0x315fa6,Collection as _0x50ae3a}from'ckeditor5/src/utils.js';function _0x3623(){const _0x492146=['_editorAnnotations','isAttached','_activeAnnotation','_integrateWithEditorAnnotations','130033ekAelQ','cancel','register','_destroyEditorAnnotationsIntegration','wideSidebar','setActiveAnnotation','attach','1071846MrWiFa','switchTo','set','detach','get','ck-sidebar--wide','ready','EditorAnnotations','removeEventListener','954sKmUvD','uiUpdate','isOfficialPlugin','2044448ioJAJN','editors','annotations','remove','_attachToContainer','addEventListener','Annotations','widesidebar-attach-already-attached','pluginName','getOrderedSelectedAnnotations','83464FwbHNo','listenTo','container','hasDomSelection','refreshPositioning','from','250080hxqsYs','resize','plugins','context','off','activeAnnotation','destroy','add','WideSidebar','stop','requires','blur','refresh','2xjMLgK','has','_detachFromContainer','focus','change:container','set:container','widesidebar-detach-not-attached','rearrange','_annotations','init','isPremiumPlugin','stopListening','1167465ChAMqR','1453992uiJSqU','refreshVisibility','_refreshPositioningDebounced','high','addAnnotation','updateTargetRect'];_0x3623=function(){return _0x492146;};return _0x3623();}import{debounce as _0x532b4f}from'es-toolkit/compat';export class WideSidebar extends _0x4b8ea3{[_0x375fbf(0x1fb)];[_0x375fbf(0x213)];[_0x375fbf(0x1fa)];[_0x375fbf(0x1f6)];static get[_0x375fbf(0x22b)](){return[_0x5a2286,_0x53574f];}static get[_0x375fbf(0x219)](){const _0x13e458=_0x375fbf;return _0x13e458(0x229);}static get[_0x375fbf(0x210)](){return!0x0;}static get[_0x375fbf(0x1f1)](){return!0x0;}constructor(_0x5083a0){const _0x4df1b8=_0x375fbf;super(_0x5083a0),this[_0x4df1b8(0x1fb)]=!0x1,this[_0x4df1b8(0x207)](_0x4df1b8(0x226),null),this[_0x4df1b8(0x213)]=null,this[_0x4df1b8(0x1fa)]=new _0x50ae3a(),this[_0x4df1b8(0x1f6)]=_0x532b4f(()=>{const _0x4842f6=_0x4df1b8;_0x5083a0[_0x4842f6(0x223)][_0x4842f6(0x209)](_0x4842f6(0x217))[_0x4842f6(0x1f5)](),this[_0x4842f6(0x213)][_0x4842f6(0x21f)]();},0xfa,{'leading':!0x1});}[_0x375fbf(0x1f0)](){const _0x55b67b=_0x375fbf,_0x376042=this[_0x55b67b(0x224)][_0x55b67b(0x223)][_0x55b67b(0x209)](_0x53574f),_0x1ede67=this[_0x55b67b(0x224)][_0x55b67b(0x223)][_0x55b67b(0x209)](_0x5a2286);_0x376042[_0x55b67b(0x200)](_0x55b67b(0x202),this),_0x1ede67[_0x55b67b(0x21d)]&&_0x376042[_0x55b67b(0x206)](_0x55b67b(0x202));}[_0x375fbf(0x203)](_0x577f49){const _0x4b7bb8=_0x375fbf;if(_0x577f49===this[_0x4b7bb8(0x226)])return;const _0x3f2b0b=this[_0x4b7bb8(0x224)][_0x4b7bb8(0x223)][_0x4b7bb8(0x209)](_0x5a2286);_0x3f2b0b[_0x4b7bb8(0x1fc)]=_0x577f49;const _0x181c4a=this[_0x4b7bb8(0x226)];_0x3f2b0b[_0x4b7bb8(0x22d)]({'blurredAnnotation':_0x181c4a,'activatedAnnotation':_0x577f49}),this[_0x4b7bb8(0x226)]=_0x577f49;}[_0x375fbf(0x204)](_0x5f30e5){const _0x37df7f=_0x375fbf;this[_0x37df7f(0x213)]=_0x5f30e5;const _0x44fc8d=this[_0x37df7f(0x224)][_0x37df7f(0x223)][_0x37df7f(0x209)](_0x5a2286);if(_0x44fc8d[_0x37df7f(0x1ef)]=_0x5f30e5,this[_0x37df7f(0x1fb)])throw new _0x315fa6(_0x37df7f(0x218),this);this[_0x37df7f(0x1fb)]=!0x0,this[_0x37df7f(0x21c)](_0x44fc8d,_0x37df7f(0x233),()=>{const _0x46da12=_0x37df7f;this[_0x46da12(0x208)](),this[_0x46da12(0x21c)](_0x44fc8d,_0x46da12(0x232),_0x16b529=>{const _0x1256d4=_0x46da12;_0x16b529[_0x1256d4(0x225)](),this[_0x1256d4(0x204)](_0x5f30e5);});}),_0x44fc8d[_0x37df7f(0x215)]({'viewClass':_0x37df7f(0x20a)});const _0x5bbfb8=_0x5ef325=>{const _0x140d98=_0x37df7f;_0x5ef325[_0x140d98(0x1f9)](),_0x44fc8d[_0x140d98(0x1f8)](_0x5ef325);};for(const _0x532b73 of _0x5f30e5)_0x5bbfb8(_0x532b73);this[_0x37df7f(0x21c)](_0x5f30e5,_0x37df7f(0x228),(_0x272d62,_0x34965c)=>{_0x5bbfb8(_0x34965c);}),this[_0x37df7f(0x21c)](_0x5f30e5,_0x37df7f(0x214),(_0x1b7e7c,_0x342ff3,_0x42d7c5)=>{const _0x4cc50e=_0x37df7f;_0x44fc8d[_0x4cc50e(0x1ee)]({'removedAnnotation':_0x342ff3,'previousAnnotation':_0x5f30e5[_0x4cc50e(0x209)](_0x42d7c5-0x1),'nextAnnotation':_0x5f30e5[_0x4cc50e(0x209)](_0x42d7c5+0x1)}),_0x342ff3===this[_0x4cc50e(0x226)]&&this[_0x4cc50e(0x203)](null);},{'priority':_0x37df7f(0x1f7)}),this[_0x37df7f(0x21c)](_0x5f30e5,_0x37df7f(0x231),(_0x1684ba,_0x59e21b)=>{const _0x4c6acf=_0x37df7f;this[_0x4c6acf(0x203)](_0x59e21b);}),this[_0x37df7f(0x21c)](_0x5f30e5,_0x37df7f(0x22c),()=>{const _0x484b1c=_0x37df7f;this[_0x484b1c(0x203)](null);});const _0x56c667=this[_0x37df7f(0x224)]instanceof _0x33df9f?this[_0x37df7f(0x224)][_0x37df7f(0x212)]:new _0x50ae3a([this[_0x37df7f(0x224)]]);for(const _0x5697e1 of _0x56c667)this[_0x37df7f(0x1fd)](_0x5697e1);this[_0x37df7f(0x21c)](_0x56c667,_0x37df7f(0x228),(_0xc7b055,_0x24a336)=>{const _0x5338ff=_0x37df7f;this[_0x5338ff(0x21c)](_0x24a336,_0x5338ff(0x20b),()=>{const _0x467af9=_0x5338ff;this[_0x467af9(0x1fd)](_0x24a336);});}),this[_0x37df7f(0x21c)](_0x56c667,_0x37df7f(0x214),(_0x251f05,_0x4fa79a)=>{const _0x5a1f63=_0x37df7f;_0x4fa79a[_0x5a1f63(0x223)][_0x5a1f63(0x22f)](_0x5a1f63(0x20c))&&this[_0x5a1f63(0x201)](_0x4fa79a[_0x5a1f63(0x223)][_0x5a1f63(0x209)](_0x5a1f63(0x20c)));}),window[_0x37df7f(0x216)](_0x37df7f(0x222),this[_0x37df7f(0x1f6)]),this[_0x37df7f(0x224)][_0x37df7f(0x223)][_0x37df7f(0x209)](_0x37df7f(0x217))[_0x37df7f(0x1f5)](),this[_0x37df7f(0x213)][_0x37df7f(0x21f)]();}[_0x375fbf(0x208)](){const _0x194131=_0x375fbf;if(!this[_0x194131(0x1fb)])throw new _0x315fa6(_0x194131(0x234),this);this[_0x194131(0x203)](null);const _0x5e5258=this[_0x194131(0x224)][_0x194131(0x223)][_0x194131(0x209)](_0x5a2286);_0x5e5258[_0x194131(0x230)](this[_0x194131(0x213)]),this[_0x194131(0x1f2)](_0x5e5258),this[_0x194131(0x1f2)](this[_0x194131(0x213)]),this[_0x194131(0x224)]instanceof _0x33df9f&&this[_0x194131(0x1f2)](this[_0x194131(0x224)][_0x194131(0x212)]);for(const _0x5b5696 of Array[_0x194131(0x220)](this[_0x194131(0x1fa)]))this[_0x194131(0x201)](_0x5b5696);window[_0x194131(0x20d)](_0x194131(0x222),this[_0x194131(0x1f6)]),this[_0x194131(0x1f6)][_0x194131(0x1ff)](),this[_0x194131(0x226)]=null,this[_0x194131(0x1fb)]=!0x1,this[_0x194131(0x213)]=null;}[_0x375fbf(0x227)](){const _0x1ec5d6=_0x375fbf;this[_0x1ec5d6(0x1fb)]&&this[_0x1ec5d6(0x208)]();}[_0x375fbf(0x1fd)](_0x2f328c){const _0x331b21=_0x375fbf;if(!_0x2f328c[_0x331b21(0x223)][_0x331b21(0x22f)](_0x331b21(0x20c)))return;const _0x1506b3=_0x2f328c[_0x331b21(0x223)][_0x331b21(0x209)](_0x331b21(0x20c)),_0x168768=()=>{const _0xa881cf=_0x331b21,_0x2eb7ff=_0x1506b3[_0xa881cf(0x21a)]({'annotations':this[_0xa881cf(0x213)],'activeAnnotation':this[_0xa881cf(0x226)]});this[_0xa881cf(0x203)](_0x2eb7ff[0x0]||null);};this[_0x331b21(0x21c)](_0x1506b3,_0x331b21(0x22d),_0x168768),this[_0x331b21(0x21c)](_0x1506b3,_0x331b21(0x22c),(_0x1afdf0,{isAnnotationTracked:_0x1a738f})=>{const _0x3e11fd=_0x331b21;this[_0x3e11fd(0x226)]&&_0x1a738f(this[_0x3e11fd(0x226)])&&this[_0x3e11fd(0x203)](null);}),this[_0x331b21(0x21c)](_0x1506b3,_0x331b21(0x20f),()=>{const _0x5ecb9f=_0x331b21;this[_0x5ecb9f(0x1f6)]();}),this[_0x331b21(0x21c)](this[_0x331b21(0x213)],_0x331b21(0x22c),_0x154ba1=>{const _0x384c33=_0x331b21;_0x1506b3[_0x384c33(0x21e)]()&&(_0x168768(),_0x154ba1[_0x384c33(0x22a)]());},{'priority':_0x331b21(0x1f7)}),this[_0x331b21(0x1fa)][_0x331b21(0x228)](_0x1506b3);}[_0x375fbf(0x201)](_0x1ad11c){const _0x5acccb=_0x375fbf;this[_0x5acccb(0x1f2)](_0x1ad11c),this[_0x5acccb(0x1fa)][_0x5acccb(0x214)](_0x1ad11c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa0ec6a=_0x2137;function _0x2137(_0x39b25d,_0x2f93f3){const _0x59db05=_0x59db();return _0x2137=function(_0x21377a,_0x322fb2){_0x21377a=_0x21377a-0xf7;let _0x14a086=_0x59db05[_0x21377a];return _0x14a086;},_0x2137(_0x39b25d,_0x2f93f3);}(function(_0x6b3752,_0x569eaa){const _0x48ec4a=_0x2137,_0x15ebee=_0x6b3752();while(!![]){try{const _0x399e28=-parseInt(_0x48ec4a(0x10e))/0x1+-parseInt(_0x48ec4a(0xfd))/0x2+parseInt(_0x48ec4a(0xf8))/0x3*(parseInt(_0x48ec4a(0xf7))/0x4)+parseInt(_0x48ec4a(0xfc))/0x5+-parseInt(_0x48ec4a(0x11e))/0x6*(-parseInt(_0x48ec4a(0x11b))/0x7)+-parseInt(_0x48ec4a(0x105))/0x8*(-parseInt(_0x48ec4a(0x113))/0x9)+parseInt(_0x48ec4a(0x125))/0xa;if(_0x399e28===_0x569eaa)break;else _0x15ebee['push'](_0x15ebee['shift']());}catch(_0x5cef61){_0x15ebee['push'](_0x15ebee['shift']());}}}(_0x59db,0x933df));import{Command as _0x5b8656}from'ckeditor5/src/core.js';function _0x59db(){const _0xa3931b=['selection','end','push','_hasContent','editor','addMarker','1162316sCfvKr','_itemIsContent','document','item','change','1746gfcNHY','CommentsRepository','element','addCommentThread','_createCommentThread','collaboration.channelId','_createMarkersFromRanges','Users','14DCEAkl','from','getItems','913092gARzuE','start','addcommentthreadcommand-incorrect-ranges','plugins','$textProxy','_trimToContent','backward','1909320MZlTVc','getLastMatchingPosition','set','schema','execute','tableCell','config','3064xmLMnX','2412lCsVkG','addcommentthreadcommand-user-not-found','getRanges','hasContent','5063625HHHxlM','745644KsEAyc','get','createRange','model','comment:','refresh','substr','isEnabled','592ZFECiG','length','isObject'];_0x59db=function(){return _0xa3931b;};return _0x59db();}import{uid as _0x12c936,CKEditorError as _0x4306ca}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x5b8656{constructor(_0xa8461b){const _0x37b626=_0x2137;super(_0xa8461b),this[_0x37b626(0x127)](_0x37b626(0xfb),!0x1);}[_0xa0ec6a(0x102)](){const _0x21e332=_0xa0ec6a,_0x75b58d=this[_0x21e332(0x10c)][_0x21e332(0x100)][_0x21e332(0x110)][_0x21e332(0x108)];this[_0x21e332(0x104)]=!0x0,this[_0x21e332(0xfb)]=!0x1;for(const _0x5db9c4 of _0x75b58d[_0x21e332(0xfa)]())if(this[_0x21e332(0x10b)](_0x5db9c4))return void(this[_0x21e332(0xfb)]=!0x0);}[_0xa0ec6a(0x129)]({threadId:_0x24bd62=_0x12c936(),ranges:_0x104b41,comment:_0x410fc6}={}){const _0x17838f=_0xa0ec6a,_0x4747da=this[_0x17838f(0x10c)][_0x17838f(0x100)],_0xa77a9e=_0x104b41??Array[_0x17838f(0x11c)](_0x4747da[_0x17838f(0x110)][_0x17838f(0x108)][_0x17838f(0xfa)]()),_0x14b0e0=[];for(const _0x4a6a20 of _0xa77a9e)this[_0x17838f(0x10b)](_0x4a6a20)&&_0x14b0e0[_0x17838f(0x10a)](this[_0x17838f(0x123)](_0x4a6a20));if(!_0x14b0e0[_0x17838f(0x106)])throw new _0x4306ca(_0x17838f(0x120),null);_0x410fc6&&this[_0x17838f(0x117)](_0x24bd62,_0x410fc6),this[_0x17838f(0x119)](_0x24bd62,_0x14b0e0,!!_0x410fc6);}[_0xa0ec6a(0x119)](_0x52dfec,_0x5ac249,_0x56117c){const _0x4d872e=_0xa0ec6a;this[_0x4d872e(0x10c)][_0x4d872e(0x100)][_0x4d872e(0x112)](_0x52ff20=>{const _0x2d3579=_0x4d872e;for(const _0x1fd22c of _0x5ac249){const _0x24af20=_0x12c936()[_0x2d3579(0x103)](0x1,0x5),_0x3a75be=_0x2d3579(0x101)+_0x52dfec+':'+_0x24af20;_0x52ff20[_0x2d3579(0x10d)](_0x3a75be,{'range':_0x1fd22c,'usingOperation':_0x56117c,'affectsData':_0x56117c});}});}[_0xa0ec6a(0x117)](_0x543b4e,_0x5be125){const _0xe87e2e=_0xa0ec6a,_0xb9909f=this[_0xe87e2e(0x10c)][_0xe87e2e(0x121)][_0xe87e2e(0xfe)](_0xe87e2e(0x114)),_0x2ba52e=this[_0xe87e2e(0x10c)][_0xe87e2e(0x12b)][_0xe87e2e(0xfe)](_0xe87e2e(0x118)),_0x2bd978=this[_0xe87e2e(0x10c)][_0xe87e2e(0x121)][_0xe87e2e(0xfe)](_0xe87e2e(0x11a))['me'];if(!_0x2bd978)throw new _0x4306ca(_0xe87e2e(0xf9),null);_0xb9909f[_0xe87e2e(0x116)]({'threadId':_0x543b4e,'channelId':_0x2ba52e,'comments':[{'authorId':_0x2bd978['id'],'content':_0x5be125,'createdAt':new Date(),'attributes':{}}]});}[_0xa0ec6a(0x10b)](_0x361eda){const _0x35f20d=_0xa0ec6a;for(const _0x57c4c5 of _0x361eda[_0x35f20d(0x11d)]())if(this[_0x35f20d(0x10f)](_0x57c4c5))return!0x0;return!0x1;}[_0xa0ec6a(0x10f)](_0x41f27d){const _0x32bc3e=_0xa0ec6a;return _0x41f27d['is'](_0x32bc3e(0x122))||this[_0x32bc3e(0x10c)][_0x32bc3e(0x100)][_0x32bc3e(0x128)][_0x32bc3e(0x107)](_0x41f27d)&&!_0x41f27d['is'](_0x32bc3e(0x115),_0x32bc3e(0x12a));}[_0xa0ec6a(0x123)](_0xd0ae9b){const _0x1ad68e=_0xa0ec6a,_0x2329ab=_0x138235=>!this[_0x1ad68e(0x10f)](_0x138235[_0x1ad68e(0x111)]),_0x8bba05=_0xd0ae9b[_0x1ad68e(0x11f)][_0x1ad68e(0x126)](_0x2329ab),_0x2fd367=_0xd0ae9b[_0x1ad68e(0x109)][_0x1ad68e(0x126)](_0x2329ab,{'direction':_0x1ad68e(0x124)});return this[_0x1ad68e(0x10c)][_0x1ad68e(0x100)][_0x1ad68e(0xff)](_0x8bba05,_0x2fd367);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xeaddff=_0x11c3;(function(_0x2455a4,_0x4010a4){const _0x124f1c=_0x11c3,_0x1b3fd3=_0x2455a4();while(!![]){try{const _0x3d6805=parseInt(_0x124f1c(0x1ea))/0x1*(parseInt(_0x124f1c(0x1fa))/0x2)+-parseInt(_0x124f1c(0x1ff))/0x3+-parseInt(_0x124f1c(0x1ed))/0x4*(-parseInt(_0x124f1c(0x1f8))/0x5)+parseInt(_0x124f1c(0x20b))/0x6+parseInt(_0x124f1c(0x20f))/0x7*(parseInt(_0x124f1c(0x207))/0x8)+-parseInt(_0x124f1c(0x1f3))/0x9*(-parseInt(_0x124f1c(0x200))/0xa)+-parseInt(_0x124f1c(0x202))/0xb;if(_0x3d6805===_0x4010a4)break;else _0x1b3fd3['push'](_0x1b3fd3['shift']());}catch(_0x27b8eb){_0x1b3fd3['push'](_0x1b3fd3['shift']());}}}(_0x53aa,0x50263));import{ContextPlugin as _0x8ab499}from'ckeditor5/src/core.js';import{Collection as _0x54e82b}from'ckeditor5/src/utils.js';function _0x11c3(_0x381133,_0xfddb71){const _0x53aa6a=_0x53aa();return _0x11c3=function(_0x11c39c,_0x1a7130){_0x11c39c=_0x11c39c-0x1e8;let _0x47f3ad=_0x53aa6a[_0x11c39c];return _0x47f3ad;},_0x11c3(_0x381133,_0xfddb71);}import{CommentsRepository as _0x4fc9ef}from'./commentsrepository.js';import{Annotations as _0x3cf8c4}from'../annotations/annotations.js';export class CommentsArchive extends _0x8ab499{static get[_0xeaddff(0x208)](){const _0x3482b2=_0xeaddff;return _0x3482b2(0x1f5);}static get[_0xeaddff(0x1e8)](){return!0x0;}static get[_0xeaddff(0x1ef)](){return!0x0;}static get[_0xeaddff(0x1fd)](){return[_0x4fc9ef,_0x3cf8c4];}constructor(_0xad8eb5){const _0x2269c4=_0xeaddff;super(_0xad8eb5),this[_0x2269c4(0x1f1)]=new _0x54e82b();}[_0xeaddff(0x1fe)](){const _0x12d293=_0xeaddff,_0x5c1737=this[_0x12d293(0x1ee)],_0x178500=_0x5c1737[_0x12d293(0x205)][_0x12d293(0x20d)](_0x4fc9ef),_0x393bfb=_0x5c1737[_0x12d293(0x205)][_0x12d293(0x20d)](_0x3cf8c4);this[_0x12d293(0x1f4)](_0x178500,_0x12d293(0x1eb),(_0xe778a4,{threadId:_0x5ec002})=>{const _0x3f0257=_0x12d293,_0x3bf0c5=_0x178500[_0x3f0257(0x1f0)](_0x5ec002);_0x3bf0c5[_0x3f0257(0x1f2)]&&this[_0x3f0257(0x1f1)][_0x3f0257(0x1f6)](_0x3bf0c5,this[_0x3f0257(0x201)](_0x3bf0c5[_0x3f0257(0x1f2)])),this[_0x3f0257(0x1f4)](_0x3bf0c5,_0x3f0257(0x20e),(_0x496195,_0x1231f1,_0x4027bc)=>{const _0x275d4a=_0x3f0257;_0x4027bc?this[_0x275d4a(0x1f1)][_0x275d4a(0x1fc)](_0x3bf0c5)||this[_0x275d4a(0x1f1)][_0x275d4a(0x1f6)](_0x3bf0c5,this[_0x275d4a(0x201)](_0x3bf0c5[_0x275d4a(0x1f2)])):this[_0x275d4a(0x1f1)][_0x275d4a(0x1fc)](_0x3bf0c5)&&this[_0x275d4a(0x1f1)][_0x275d4a(0x1ec)](_0x3bf0c5);});}),this[_0x12d293(0x1f4)](_0x178500,_0x12d293(0x209),(_0x52b7be,{threadId:_0x1b8090})=>{const _0xaef5ce=_0x12d293,_0x3e3841=_0x178500[_0xaef5ce(0x1f0)](_0x1b8090);this[_0xaef5ce(0x1f7)](_0x3e3841),this[_0xaef5ce(0x1f1)][_0xaef5ce(0x1fc)](_0x3e3841)&&this[_0xaef5ce(0x1f1)][_0xaef5ce(0x1ec)](_0x3e3841);},{'priority':_0x12d293(0x203)}),this[_0x12d293(0x1f4)](_0x393bfb[_0x12d293(0x20a)],_0x12d293(0x1f9),(_0x13fac5,_0x44b72e)=>{const _0x5b1292=_0x12d293;_0x44b72e[_0x5b1292(0x204)]||(_0x44b72e[_0x5b1292(0x1e9)]=!0x0,_0x393bfb[_0x5b1292(0x206)](_0x44b72e));});}[_0xeaddff(0x201)](_0x1c1d00){const _0x47885c=_0xeaddff,_0x274428=[...this[_0x47885c(0x1f1)]][_0x47885c(0x20c)](_0x42d5c4=>_0x42d5c4[_0x47885c(0x1f2)]<_0x1c1d00);return _0x274428>-0x1?_0x274428:this[_0x47885c(0x1f1)][_0x47885c(0x1fb)];}}function _0x53aa(){const _0x52f78c=['isPremiumPlugin','getCommentThread','archivedThreads','archivedAt','918clgfJs','listenTo','CommentsArchive','add','stopListening','5UTzbpu','focus','43882IeaHRR','length','has','requires','init','1159812fJicyF','34130YEsdYJ','_calculatePosition','9333654bFctPy','highest','isVisible','plugins','activate','25640gwcQFx','pluginName','removeCommentThread','collection','1006218gvDfmr','findIndex','get','change:archivedAt','994VEsSku','isOfficialPlugin','isActive','21TwUlrO','addCommentThread','remove','526836RvADtt','context'];_0x53aa=function(){return _0x52f78c;};return _0x53aa();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x343693=_0x5342;(function(_0x31d547,_0x12ac6f){const _0x1403ff=_0x5342,_0x152f3f=_0x31d547();while(!![]){try{const _0x1d29fb=-parseInt(_0x1403ff(0x102))/0x1*(-parseInt(_0x1403ff(0x120))/0x2)+parseInt(_0x1403ff(0x125))/0x3*(-parseInt(_0x1403ff(0xf8))/0x4)+parseInt(_0x1403ff(0x11e))/0x5*(parseInt(_0x1403ff(0x13d))/0x6)+parseInt(_0x1403ff(0x106))/0x7+parseInt(_0x1403ff(0x104))/0x8+parseInt(_0x1403ff(0x108))/0x9*(parseInt(_0x1403ff(0x12c))/0xa)+-parseInt(_0x1403ff(0x12d))/0xb;if(_0x1d29fb===_0x12ac6f)break;else _0x152f3f['push'](_0x152f3f['shift']());}catch(_0x48ddfc){_0x152f3f['push'](_0x152f3f['shift']());}}}(_0x26e2,0x8c492));import'../../theme/commentsarchive.css';function _0x26e2(){const _0x232de2=['isVisible','259242HyjPCy','collaboration.channelId','CommentsRepository','annotationViews','_threadToController','EDITOR_TOP_SIDE','commentsArchiveView','focusableElements','filter','get','_handleNewThread','14860CeCkFx','archivedAt','_hideDialogOnAnnotationEscape','length','push','componentFactory','show','indexOf','COMMENTS_ARCHIVE','execute','185366BJfnFZ','Annotations','1385824RKjhag','find','1086470sbwFUg','init','8095500NkNZjC','isOn','forEach','commentsArchive','add','includes','_visibleAnnotations','channelId','_toggleDialog','stop','requires','locale','Dialog','findIndex','has','stopListening','CommentsArchiveUI','collection','remove','menuitemcheckbox','_calculatePosition','_addAnnotationToArchive','35hZPmAr','_pendingThreads','6iPcIAQ','getByInnerView','config','isOpen','archivedThreads','861ywDiSh','isOfficialPlugin','_createCommentsArchiveButton','plugins','return','editor','bind','10ZjgyoX','4902370SNPGZQ','tooltip','menuBar:commentsArchive','hide','pluginName','listenTo','isEnabled','view','escape','splice','isPremiumPlugin','innerView','set:isVisible','source','set'];_0x26e2=function(){return _0x232de2;};return _0x26e2();}import{Plugin as _0x34d643}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x46f67f}from'ckeditor5/src/icons.js';import{ViewCollection as _0x43ceb6,MenuBarMenuListItemButtonView as _0x53885b,ButtonView as _0x1674e8,Dialog as _0x2359ff,DialogViewPosition as _0x49b579}from'ckeditor5/src/ui.js';function _0x5342(_0x3c3ca6,_0x17c0aa){const _0x26e252=_0x26e2();return _0x5342=function(_0x534266,_0x21535d){_0x534266=_0x534266-0xf4;let _0x5f5b2a=_0x26e252[_0x534266];return _0x5f5b2a;},_0x5342(_0x3c3ca6,_0x17c0aa);}import{getTranslation as _0x1e9e28}from'../utils/common-translations.js';import{CommentsArchiveView as _0x193ab8}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x3bba17}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x34d643{[_0x343693(0x143)];[_0x343693(0x140)];[_0x343693(0x11f)];static get[_0x343693(0x131)](){const _0x13a72b=_0x343693;return _0x13a72b(0x118);}static get[_0x343693(0x126)](){return!0x0;}static get[_0x343693(0x137)](){return!0x0;}static get[_0x343693(0x112)](){return[_0x3bba17,_0x2359ff];}constructor(_0x1f0641){const _0xd85198=_0x343693;super(_0x1f0641),this[_0xd85198(0x140)]=new _0x43ceb6(),this[_0xd85198(0x11f)]=[];}[_0x343693(0x107)](){const _0x35cba2=_0x343693,_0x376678=this[_0x35cba2(0x12a)],_0x41924b=this[_0x35cba2(0xfa)][_0x35cba2(0x12b)](this);_0x376678['ui'][_0x35cba2(0xfd)][_0x35cba2(0x10c)](_0x35cba2(0x10b),()=>this[_0x35cba2(0x127)](_0x1674e8,!0x0)),_0x376678['ui'][_0x35cba2(0xfd)][_0x35cba2(0x10c)](_0x35cba2(0x12f),()=>{const _0x1b1352=_0x35cba2,_0x1b3b58=this[_0x1b1352(0x127)](_0x53885b);return _0x1b3b58[_0x1b1352(0x13b)]({'role':_0x1b1352(0x11b)}),_0x1b3b58;});const _0x2b98c8=_0x376678[_0x35cba2(0x128)][_0x35cba2(0xf6)](_0x3bba17),_0x4c2a27=_0x376678[_0x35cba2(0x128)][_0x35cba2(0xf6)](_0x35cba2(0x103)),_0x125ade=_0x376678[_0x35cba2(0x128)][_0x35cba2(0xf6)](_0x35cba2(0x13f));_0x2b98c8[_0x35cba2(0x124)][_0x35cba2(0x10a)](_0x5b6016=>{const _0x1a3af0=_0x35cba2;this[_0x1a3af0(0xf7)](_0x5b6016);}),this[_0x35cba2(0x132)](_0x2b98c8[_0x35cba2(0x124)],_0x35cba2(0x10c),(_0x31edcc,_0xa55f25)=>{const _0x2ed690=_0x35cba2;this[_0x2ed690(0xf7)](_0xa55f25);}),this[_0x35cba2(0x132)](_0x4c2a27[_0x35cba2(0x119)],_0x35cba2(0x10c),(_0x474ee3,_0x514884)=>{const _0x2451c8=_0x35cba2,_0x2d817f=this[_0x2451c8(0x11f)][_0x2451c8(0x105)](_0x440a1a=>{const _0x2ded7e=_0x2451c8,_0x52d103=_0x125ade[_0x2ded7e(0x141)][_0x2ded7e(0xf6)](_0x440a1a);return _0x52d103&&_0x514884[_0x2ded7e(0x138)]===_0x52d103[_0x2ded7e(0x134)];});if(_0x2d817f){const _0x455c6f=this[_0x2451c8(0x11c)](_0x2d817f[_0x2451c8(0xf9)]);this[_0x2451c8(0x11d)](_0x514884,_0x455c6f),this[_0x2451c8(0x11f)][_0x2451c8(0x136)](this[_0x2451c8(0x11f)][_0x2451c8(0xff)](_0x2d817f),0x1);}}),this[_0x35cba2(0x132)](_0x2b98c8[_0x35cba2(0x124)],_0x35cba2(0x11a),(_0x276606,_0x736c56)=>{const _0x4316af=_0x35cba2,_0xd78f04=_0x376678[_0x4316af(0x122)][_0x4316af(0xf6)](_0x4316af(0x13e));if(!_0xd78f04||_0x736c56[_0x4316af(0x10f)]===_0xd78f04){if(this[_0x4316af(0x11f)][_0x4316af(0x10d)](_0x736c56))this[_0x4316af(0x11f)][_0x4316af(0x136)](this[_0x4316af(0x11f)][_0x4316af(0xff)](_0x736c56),0x1);else{const _0x51a686=_0x125ade[_0x4316af(0x141)][_0x4316af(0xf6)](_0x736c56),_0x1acd3e=_0x4c2a27[_0x4316af(0x121)](_0x51a686[_0x4316af(0x134)]);this[_0x4316af(0x140)][_0x4316af(0x11a)](_0x1acd3e[_0x4316af(0x134)]),this[_0x4316af(0x117)](_0x1acd3e),this[_0x4316af(0x117)](_0x1acd3e[_0x4316af(0xf4)]);}}}),this[_0x35cba2(0x132)](_0x4c2a27[_0x35cba2(0x119)],_0x35cba2(0x10c),(_0x1a304d,_0x357bf0)=>{const _0x1d57cc=_0x35cba2;this[_0x1d57cc(0x132)](_0x357bf0,_0x1d57cc(0x135),_0x41924b);}),this[_0x35cba2(0x132)](_0x4c2a27[_0x35cba2(0x119)],_0x35cba2(0x11a),(_0x4619fb,_0x2eaa91)=>{const _0x5bbfca=_0x35cba2;this[_0x5bbfca(0x117)](_0x2eaa91,_0x5bbfca(0x135),_0x41924b);});}[_0x343693(0x11d)](_0x149f37,_0x1807bd){const _0x58085b=_0x343693;this[_0x58085b(0x132)](_0x149f37,_0x58085b(0x139),_0x42e594=>{const _0xaf02eb=_0x58085b;_0x42e594[_0xaf02eb(0x129)]=!0x1,_0x42e594[_0xaf02eb(0x111)]();}),this[_0x58085b(0x140)][_0x58085b(0x10c)](_0x149f37[_0x58085b(0x134)],_0x1807bd);}[_0x343693(0xf7)](_0x31b68c){const _0x458a9b=_0x343693,_0x1afcd0=this[_0x458a9b(0x12a)][_0x458a9b(0x128)][_0x458a9b(0xf6)](_0x458a9b(0x13f)),_0x1edcf4=this[_0x458a9b(0x12a)][_0x458a9b(0x128)][_0x458a9b(0xf6)](_0x458a9b(0x103)),_0x1a475f=this[_0x458a9b(0x12a)][_0x458a9b(0x122)][_0x458a9b(0xf6)](_0x458a9b(0x13e));if(!_0x1a475f||_0x31b68c[_0x458a9b(0x10f)]===_0x1a475f){const _0xb8931f=_0x1afcd0[_0x458a9b(0x141)][_0x458a9b(0xf6)](_0x31b68c);if(!_0xb8931f)return void this[_0x458a9b(0x11f)][_0x458a9b(0xfc)](_0x31b68c);const _0x3f147f=this[_0x458a9b(0x11c)](_0x31b68c[_0x458a9b(0xf9)]),_0x349c5e=_0x1edcf4[_0x458a9b(0x121)](_0xb8931f[_0x458a9b(0x134)]);_0x349c5e[_0x458a9b(0x13c)]&&_0x1edcf4[_0x458a9b(0x10e)][_0x458a9b(0x11a)](_0x349c5e),this[_0x458a9b(0x11d)](_0x349c5e,_0x3f147f);}}[_0x343693(0x11c)](_0x36e04a){const _0x1cf2ed=_0x343693,_0x15738e=this[_0x1cf2ed(0x12a)][_0x1cf2ed(0x122)][_0x1cf2ed(0xf6)](_0x1cf2ed(0x13e)),_0x5819b7=[...this[_0x1cf2ed(0x12a)][_0x1cf2ed(0x128)][_0x1cf2ed(0xf6)](_0x3bba17)[_0x1cf2ed(0x124)]][_0x1cf2ed(0xf5)](_0x4bb7ca=>_0x4bb7ca[_0x1cf2ed(0x10f)]===_0x15738e)[_0x1cf2ed(0x115)](_0x170450=>_0x170450[_0x1cf2ed(0xf9)]<_0x36e04a);return _0x5819b7<0x0||_0x5819b7>this[_0x1cf2ed(0x140)][_0x1cf2ed(0xfb)]?this[_0x1cf2ed(0x140)][_0x1cf2ed(0xfb)]:_0x5819b7-0x1;}[_0x343693(0x110)](){const _0x3ffeea=_0x343693,_0x3b6fef=this[_0x3ffeea(0x12a)],_0x2f4c83=_0x3b6fef[_0x3ffeea(0x128)][_0x3ffeea(0xf6)](_0x3ffeea(0x114));this[_0x3ffeea(0x143)]||(this[_0x3ffeea(0x143)]=new _0x193ab8(_0x3b6fef[_0x3ffeea(0x113)],this[_0x3ffeea(0x140)])),_0x3ffeea(0x10b)===_0x2f4c83['id']?_0x2f4c83[_0x3ffeea(0x130)]():_0x2f4c83[_0x3ffeea(0xfe)]({'id':_0x3ffeea(0x10b),'title':_0x1e9e28(_0x3b6fef[_0x3ffeea(0x113)],_0x3ffeea(0x100)),'icon':_0x46f67f,'hasCloseButton':!0x0,'content':this[_0x3ffeea(0x143)],'position':_0x49b579[_0x3ffeea(0x142)]});}[_0x343693(0x127)](_0x5805db,_0x3534f7=!0x1){const _0x5ecf68=_0x343693,_0xf2ac7d=this[_0x5ecf68(0x12a)][_0x5ecf68(0x113)],_0x4b1c8d=this[_0x5ecf68(0x12a)][_0x5ecf68(0x128)][_0x5ecf68(0xf6)](_0x5ecf68(0x114)),_0x452158=new _0x5805db(_0xf2ac7d);return _0x452158[_0x5ecf68(0x12b)](_0x5ecf68(0x133))['to'](this,_0x5ecf68(0x133)),_0x452158[_0x5ecf68(0x12b)](_0x5ecf68(0x109))['to'](_0x4b1c8d,'id',_0x34eb6b=>_0x5ecf68(0x10b)===_0x34eb6b),_0x452158[_0x5ecf68(0x13b)]({'label':_0x1e9e28(_0xf2ac7d,_0x5ecf68(0x100)),'icon':_0x46f67f,'isToggleable':!0x0}),_0x3534f7&&(_0x452158[_0x5ecf68(0x12e)]=!0x0),this[_0x5ecf68(0x132)](_0x452158,_0x5ecf68(0x101),()=>this[_0x5ecf68(0x110)]()),_0x452158;}[_0x343693(0xfa)]=_0xc11da3=>{const _0x11eb0c=_0x343693,_0x13b314=_0xc11da3[_0x11eb0c(0x13a)];if(!this[_0x11eb0c(0x140)][_0x11eb0c(0x116)](_0x13b314[_0x11eb0c(0x134)]))return;const _0x4b9912=this[_0x11eb0c(0x12a)][_0x11eb0c(0x128)][_0x11eb0c(0xf6)](_0x11eb0c(0x114));_0x4b9912[_0x11eb0c(0x123)]&&_0x11eb0c(0x10b)===_0x4b9912['id']&&(_0x4b9912[_0x11eb0c(0x130)](),_0xc11da3[_0x11eb0c(0x111)]());};}
|