@ckeditor/ckeditor5-comments 46.1.1-alpha.2 → 46.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xb35ced=_0x36ed;(function(_0x333f7d,_0x31c3b9){const _0x5a989b=_0x36ed,_0x30ce43=_0x333f7d();while(!![]){try{const _0x246341=-parseInt(_0x5a989b(0x118))/0x1*(parseInt(_0x5a989b(0x11c))/0x2)+parseInt(_0x5a989b(0x105))/0x3+-parseInt(_0x5a989b(0xd6))/0x4+parseInt(_0x5a989b(0xed))/0x5*(-parseInt(_0x5a989b(0xef))/0x6)+-parseInt(_0x5a989b(0x110))/0x7*(-parseInt(_0x5a989b(0xfa))/0x8)+-parseInt(_0x5a989b(0xcd))/0x9+parseInt(_0x5a989b(0x101))/0xa;if(_0x246341===_0x31c3b9)break;else _0x30ce43['push'](_0x30ce43['shift']());}catch(_0x1b3914){_0x30ce43['push'](_0x30ce43['shift']());}}}(_0x4639,0xed92d));function _0x36ed(_0x5cce2c,_0x45ea5a){const _0x463961=_0x4639();return _0x36ed=function(_0x36ed99,_0x13df48){_0x36ed99=_0x36ed99-0xc7;let _0x4ef66d=_0x463961[_0x36ed99];return _0x4ef66d;},_0x36ed(_0x5cce2c,_0x45ea5a);}import{ContextPlugin as _0x4d294d}from'ckeditor5/src/core.js';import{Rect as _0x5a5ca2,CKEditorError as _0xfc3708}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x23c630}from'./view/sidebarview.js';function _0x4639(){const _0x518f26=['set','change:_lastItem','39703870PZpiGF','stopListening','bottom','change:bottom','4169031GnfWYp','setContainer','target','sidebar-setcontainer-invalid-element','listenTo','add','refresh','Sidebar','targetRect','list','_detachFromContainer','14RsUXIN','delete','_lastItem','element','_activeAnnotation','isOfficialPlugin','minHeight','destroy','1604261pDCxVz','push','_annotationToSidebarItemView','last','2FbAXzG','isActive','length','_spaceBetweenItems','_annotations','clear','_alignAfterItem','object','getIndex','init','unbind','_setItemTop','11573226HfDNoh','_alignToTargetRect','_alignBeforeItem','_getItemBefore','_recalculate','updateHeight','content','height','config','3099380WgMXmB','change:top','_getItemAfter','getSidebarItemView','_createSidebarView','view','isPremiumPlugin','remove','_recalculateBuffer','container','bind','rearrange','_updateLastItem','class','_sidebarItemViewToAnnotation','appendChild','sidebar-attachtocontainer-missing-container','sidebar.container','top','_alignForBottomChange','get','_destroySidebarItemView','_attachToContainer','23995XQotyt','addAnnotation','2154sPVWHd','nodeType','_alignForTopChange','max','isAnimationDisabled','_getTargetTop','define','context','_targetTop','render','_getMaxAvailableTop','4003592CTkPyX','change:targetRect','locale','sidebar.preventScrollOutOfView','pluginName'];_0x4639=function(){return _0x518f26;};return _0x4639();}import{AnnotationsSidebarItemView as _0xb88623}from'./view/sidebaritemview.js';export class Sidebar extends _0x4d294d{[_0xb35ced(0xdb)];[_0xb35ced(0x114)];[_0xb35ced(0x120)];[_0xb35ced(0x11f)];[_0xb35ced(0xe4)];[_0xb35ced(0x11a)];[_0xb35ced(0xde)];static get[_0xb35ced(0xfe)](){const _0x15d313=_0xb35ced;return _0x15d313(0x10c);}static get[_0xb35ced(0x115)](){return!0x0;}static get[_0xb35ced(0xdc)](){return!0x0;}constructor(_0x5ef5f7){const _0x37f6af=_0xb35ced;super(_0x5ef5f7),this[_0x37f6af(0xff)](_0x37f6af(0x112),void 0x0),this[_0x37f6af(0xdb)]=this[_0x37f6af(0xda)](),this[_0x37f6af(0xff)](_0x37f6af(0xdf),null),this[_0x37f6af(0x11f)]=0x19,this[_0x37f6af(0xe4)]=new Map(),this[_0x37f6af(0x11a)]=new Map(),this[_0x37f6af(0xf6)][_0x37f6af(0xd5)][_0x37f6af(0xf5)](_0x37f6af(0xfd),!0x1),this[_0x37f6af(0x120)]=null,this[_0x37f6af(0x114)]=null,this[_0x37f6af(0xde)]=[];}[_0xb35ced(0xca)](){const _0x11aacc=_0xb35ced,_0xefb4ac=this[_0x11aacc(0xf6)][_0x11aacc(0xd5)][_0x11aacc(0xea)](_0x11aacc(0xe7));_0xefb4ac&&this[_0x11aacc(0x106)](_0xefb4ac);}[_0xb35ced(0x106)](_0x73e980){const _0xf179e8=_0xb35ced;if(!g(_0x73e980))throw new _0xfc3708(_0xf179e8(0x108));this[_0xf179e8(0xdf)]=_0x73e980;}[_0xb35ced(0xec)]({viewClass:_0x267a6c='',spaceBetweenItems:_0x3677ec=0x19}={}){const _0x1a41b2=_0xb35ced;if(!g(this[_0x1a41b2(0xdf)]))throw new _0xfc3708(_0x1a41b2(0xe6),this);this[_0x1a41b2(0xdf)][_0x1a41b2(0xe5)](this[_0x1a41b2(0xdb)][_0x1a41b2(0x113)]),this[_0x1a41b2(0xdb)][_0x1a41b2(0xe3)]=_0x267a6c,this[_0x1a41b2(0x11f)]=_0x3677ec;}[_0xb35ced(0xe1)]({removedAnnotation:_0x369b22,previousAnnotation:_0x99541f,nextAnnotation:_0x1a6001}){const _0x5280e5=_0xb35ced,_0x360ea6=this[_0x5280e5(0xd9)](_0x369b22);this[_0x5280e5(0xdb)][_0x5280e5(0x10e)][_0x5280e5(0xdd)](_0x360ea6),this[_0x5280e5(0xeb)](_0x369b22),_0x99541f&&this[_0x5280e5(0xce)](this[_0x5280e5(0xd9)](_0x99541f)),_0x1a6001&&this[_0x5280e5(0xce)](this[_0x5280e5(0xd9)](_0x1a6001)),this[_0x5280e5(0xe2)]();}[_0xb35ced(0x10b)]({blurredAnnotation:_0x54fd96,activatedAnnotation:_0xd847fc,disableAnimationOnActivatedAnnotation:_0x5e7936}){const _0x176266=_0xb35ced;if(this[_0x176266(0x114)]=_0xd847fc,_0x54fd96){_0x54fd96[_0x176266(0x11d)]=!0x1;const _0x2713d4=this[_0x176266(0xd9)](_0x54fd96);_0x2713d4&&_0x5e7936&&(_0x2713d4[_0x176266(0xf3)]=!0x1);}if(_0xd847fc){const _0x38b877=this[_0x176266(0xd9)](_0xd847fc);_0x38b877&&(_0xd847fc[_0x176266(0x11d)]=!0x0,_0x5e7936&&(_0x38b877[_0x176266(0xf3)]=!0x0,_0x38b877[_0x176266(0xe8)]+=0x1),this[_0x176266(0xce)](_0x38b877));}}[_0xb35ced(0x10f)](_0x2c93e3){const _0x4053f=_0xb35ced;if(this[_0x4053f(0xdb)][_0x4053f(0x113)][_0x4053f(0xdd)](),_0x2c93e3){for(const _0x5d8bd4 of _0x2c93e3)this[_0x4053f(0xeb)](_0x5d8bd4);}this[_0x4053f(0xdb)][_0x4053f(0x10e)][_0x4053f(0x121)](),this[_0x4053f(0xdb)][_0x4053f(0xe3)]='',this[_0x4053f(0x112)]=null;}[_0xb35ced(0xee)](_0x22fce5,_0x2572a4){const _0x24d6cd=_0xb35ced;_0x2572a4||(_0x2572a4=_0x22fce5[_0x24d6cd(0xdb)]);const _0x468bbc=new _0xb88623(this[_0x24d6cd(0xf6)][_0x24d6cd(0xfc)]);this[_0x24d6cd(0xe4)][_0x24d6cd(0xff)](_0x468bbc,_0x22fce5),this[_0x24d6cd(0x11a)][_0x24d6cd(0xff)](_0x22fce5,_0x468bbc),_0x468bbc[_0x24d6cd(0xd3)][_0x24d6cd(0x10a)](_0x2572a4),this[_0x24d6cd(0x109)](_0x22fce5[_0x24d6cd(0xdb)],_0x24d6cd(0xfb),(_0x2f2c3d,_0x513521,_0xd8b7ce)=>{const _0x29fc5b=_0x24d6cd,_0x176dad=this[_0x29fc5b(0xf4)](_0x22fce5,_0xd8b7ce);_0x468bbc[_0x29fc5b(0xf7)]!=_0x176dad&&(_0x468bbc[_0x29fc5b(0xf7)]=_0x176dad,this[_0x29fc5b(0xcc)](_0x468bbc,_0x176dad));}),this[_0x24d6cd(0x109)](_0x468bbc,_0x24d6cd(0xd7),()=>{const _0x1f0856=_0x24d6cd;this[_0x1f0856(0xd1)](_0x468bbc,_0x1f0856(0xe8));}),this[_0x24d6cd(0x109)](_0x468bbc,_0x24d6cd(0x104),()=>{const _0x240e78=_0x24d6cd;this[_0x240e78(0xd1)](_0x468bbc,_0x240e78(0x103));}),this[_0x24d6cd(0xce)](_0x468bbc);const _0x29061c=this[_0x24d6cd(0xd0)](_0x468bbc);if(_0x29061c)this[_0x24d6cd(0xc7)](_0x29061c,_0x468bbc)||this[_0x24d6cd(0xce)](_0x468bbc);else this[_0x24d6cd(0xce)](_0x468bbc);return this[_0x24d6cd(0xe2)](),this[_0x24d6cd(0xdb)][_0x24d6cd(0x10e)][_0x24d6cd(0x10a)](_0x468bbc),_0x468bbc;}[_0xb35ced(0xf1)](_0x4471d5){const _0x1b3c2f=_0xb35ced;if(!_0x4471d5[_0x1b3c2f(0xd3)][_0x1b3c2f(0x11e)])return;const _0x28eff8=this[_0x1b3c2f(0xd0)](_0x4471d5);if(!_0x28eff8)return;const _0x1e0300=this[_0x1b3c2f(0xe4)][_0x1b3c2f(0xea)](_0x28eff8),_0x4b30ef=this[_0x1b3c2f(0x114)];_0x4b30ef&&_0x4b30ef===_0x1e0300?this[_0x1b3c2f(0xc7)](_0x28eff8,_0x4471d5):this[_0x1b3c2f(0xcf)](_0x4471d5,_0x28eff8);}[_0xb35ced(0xe9)](_0x2ce9ca){const _0x80d3dd=_0xb35ced;if(!_0x2ce9ca[_0x80d3dd(0xd3)][_0x80d3dd(0x11e)])return;const _0xdd81d6=this[_0x80d3dd(0xd8)](_0x2ce9ca);if(!_0xdd81d6)return;const _0x3f7bcd=this[_0x80d3dd(0xe4)][_0x80d3dd(0xea)](_0xdd81d6),_0x12e7aa=this[_0x80d3dd(0xf6)][_0x80d3dd(0xd5)][_0x80d3dd(0xea)](_0x80d3dd(0xfd)),_0x30a277=this[_0x80d3dd(0x114)];_0x30a277&&_0x30a277===_0x3f7bcd&&_0x12e7aa?(this[_0x80d3dd(0xcf)](_0xdd81d6,_0x2ce9ca),this[_0x80d3dd(0xc7)](_0x2ce9ca,_0xdd81d6)):_0x30a277&&_0x30a277===_0x3f7bcd?this[_0x80d3dd(0xcf)](_0xdd81d6,_0x2ce9ca):this[_0x80d3dd(0xc7)](_0x2ce9ca,_0xdd81d6);}[_0xb35ced(0xd1)](_0x46007c,_0x3d4b1d){const _0x4e4657=_0xb35ced;0x0===this[_0x4e4657(0xde)][_0x4e4657(0x11e)]&&setTimeout(()=>{const _0xf9024a=_0x4e4657;for(const {sidebarItemView:_0x44c3d5,changedProp:_0x5c53b8}of this[_0xf9024a(0xde)])_0xf9024a(0xe8)===_0x5c53b8?this[_0xf9024a(0xf1)](_0x44c3d5):this[_0xf9024a(0xe9)](_0x44c3d5);this[_0xf9024a(0xde)]=[];},0xa),this[_0x4e4657(0xde)][_0x4e4657(0x119)]({'sidebarItemView':_0x46007c,'changedProp':_0x3d4b1d});}[_0xb35ced(0xd9)](_0x1619b9){const _0x55bc01=_0xb35ced;return this[_0x55bc01(0x11a)][_0x55bc01(0xea)](_0x1619b9);}[_0xb35ced(0x117)](){const _0x23db9e=_0xb35ced;this[_0x23db9e(0x102)](),this[_0x23db9e(0xdb)][_0x23db9e(0x117)]();}[_0xb35ced(0xeb)](_0xa1f722){const _0x4c35e7=_0xb35ced,_0x5cdc12=this[_0x4c35e7(0xd9)](_0xa1f722);this[_0x4c35e7(0x102)](_0x5cdc12),this[_0x4c35e7(0x102)](_0xa1f722[_0x4c35e7(0xdb)]),_0x5cdc12[_0x4c35e7(0x117)](),this[_0x4c35e7(0x11a)][_0x4c35e7(0x111)](_0xa1f722),this[_0x4c35e7(0xe4)][_0x4c35e7(0x111)](_0x5cdc12);}[_0xb35ced(0xda)](){const _0x5bf4ee=_0xb35ced,_0x2785db=new _0x23c630(this[_0x5bf4ee(0xf6)][_0x5bf4ee(0xfc)]);return _0x2785db[_0x5bf4ee(0xf8)](),this['on'](_0x5bf4ee(0x100),(_0x5f3116,_0x4c6426,_0x5eb1c5,_0x7b7a0c)=>{const _0x1e566f=_0x5bf4ee;_0x7b7a0c&&_0x2785db[_0x1e566f(0xcb)](_0x1e566f(0x116)),_0x5eb1c5?_0x2785db[_0x1e566f(0xe0)](_0x1e566f(0x116))['to'](_0x5eb1c5,_0x1e566f(0x103)):_0x2785db[_0x1e566f(0x116)]=null;}),_0x2785db;}[_0xb35ced(0xe2)](){const _0x5c867c=_0xb35ced;this[_0x5c867c(0x112)]=this[_0x5c867c(0x120)]?.[_0x5c867c(0x11b)]?this[_0x5c867c(0xd9)](this[_0x5c867c(0x120)][_0x5c867c(0x11b)]):null;}[_0xb35ced(0xd0)](_0x5629db){const _0x126ce7=_0xb35ced,_0x5a11d9=this[_0x126ce7(0xe4)][_0x126ce7(0xea)](_0x5629db),_0x558f80=_0x5a11d9&&this[_0x126ce7(0x120)]?.[_0x126ce7(0xea)](this[_0x126ce7(0x120)][_0x126ce7(0xc9)](_0x5a11d9)-0x1);return _0x558f80&&this[_0x126ce7(0xd9)](_0x558f80)||null;}[_0xb35ced(0xd8)](_0x3d32c3){const _0x19108d=_0xb35ced,_0x1ea901=this[_0x19108d(0xe4)][_0x19108d(0xea)](_0x3d32c3),_0x5c0ece=_0x1ea901&&this[_0x19108d(0x120)]?.[_0x19108d(0xea)](this[_0x19108d(0x120)][_0x19108d(0xc9)](_0x1ea901)+0x1);return _0x5c0ece&&this[_0x19108d(0xd9)](_0x5c0ece)||null;}[_0xb35ced(0xcf)](_0x5aa78e,_0x2feed6){const _0x20314c=_0xb35ced;_0x5aa78e[_0x20314c(0xd2)]();const _0x35bbc9=G(_0x2feed6[_0x20314c(0x103)]+this[_0x20314c(0x11f)],_0x5aa78e[_0x20314c(0xe8)]);return!!_0x35bbc9&&(this[_0x20314c(0xcc)](_0x2feed6,_0x2feed6[_0x20314c(0xe8)]-_0x35bbc9),!0x0);}[_0xb35ced(0xc7)](_0x5a49a2,_0x5cbb9e){const _0x1af17d=_0xb35ced;_0x5a49a2[_0x1af17d(0xd2)]();const _0x342399=G(_0x5a49a2[_0x1af17d(0x103)]+this[_0x1af17d(0x11f)],_0x5cbb9e[_0x1af17d(0xe8)]);return!!_0x342399&&(this[_0x1af17d(0xcc)](_0x5cbb9e,_0x5cbb9e[_0x1af17d(0xe8)]+_0x342399,!0x1),!0x0);}[_0xb35ced(0xce)](_0x15959c){const _0x1006be=_0xb35ced,_0x223a20=this[_0x1006be(0xe4)][_0x1006be(0xea)](_0x15959c);if(!_0x223a20||!_0x223a20[_0x1006be(0x107)]||!_0x223a20[_0x1006be(0x10d)])return;const _0x4166f6=this[_0x1006be(0xf4)](_0x223a20,_0x223a20[_0x1006be(0x10d)]);this[_0x1006be(0xcc)](_0x15959c,_0x4166f6);}[_0xb35ced(0xf4)](_0x542b83,_0x41d3cd){const _0x14d99b=_0xb35ced;if(null===_0x41d3cd)return 0x0;if(_0x542b83[_0x14d99b(0x107)]instanceof _0x5a5ca2)return _0x41d3cd[_0x14d99b(0xe8)];{const _0x230e45=new _0x5a5ca2(this[_0x14d99b(0xdb)][_0x14d99b(0x113)])[_0x14d99b(0xe8)];return _0x41d3cd[_0x14d99b(0xe8)]-_0x230e45;}}[_0xb35ced(0xcc)](_0x1f0090,_0x11f75c,_0x1d23d6=this[_0xb35ced(0xf6)][_0xb35ced(0xd5)][_0xb35ced(0xea)](_0xb35ced(0xfd))){const _0x3e3590=_0xb35ced;_0x1d23d6&&(_0x11f75c=Math[_0x3e3590(0xf2)](_0x11f75c,this[_0x3e3590(0xf9)](_0x1f0090))),_0x1f0090[_0x3e3590(0xe8)]=_0x11f75c;}[_0xb35ced(0xf9)](_0x4d7f21){const _0x5663c3=_0xb35ced;let _0x3de6ec=this[_0x5663c3(0xd0)](_0x4d7f21),_0x1736dd=0x0;for(;_0x3de6ec;)_0x3de6ec[_0x5663c3(0xd2)](),_0x1736dd+=this[_0x5663c3(0x11f)]+_0x3de6ec[_0x5663c3(0xd4)],_0x3de6ec=this[_0x5663c3(0xd0)](_0x3de6ec);return _0x1736dd;}}function G(_0x1760da,_0x547fa4){const _0x26997d=_0xb35ced;return Math[_0x26997d(0xf2)](_0x1760da-_0x547fa4,0x0);}function g(_0x114ba7){const _0x320b77=_0xb35ced;return null!==_0x114ba7&&_0x320b77(0xc8)==typeof _0x114ba7&&0x1===_0x114ba7[_0x320b77(0xf0)];}
|
|
23
|
+
const _0x32c621=_0x4d4f;function _0x1425(){const _0xaf4c52=['add','element','setContainer','target','length','_alignForTopChange','_getTargetTop','_detachFromContainer','sidebar.container','listenTo','2lSOGdH','container','6785272lNZisM','_getItemBefore','sidebar.preventScrollOutOfView','822114gbedNl','clear','_setItemTop','updateHeight','object','1009290MGfDyL','init','bottom','targetRect','Sidebar','change:targetRect','change:bottom','bind','getSidebarItemView','top','sidebar-setcontainer-invalid-element','nodeType','_annotations','pluginName','_alignAfterItem','_annotationToSidebarItemView','_alignToTargetRect','isOfficialPlugin','_getMaxAvailableTop','_recalculateBuffer','isPremiumPlugin','331570nZpRcg','delete','config','minHeight','_updateLastItem','getIndex','render','_destroySidebarItemView','class','set','content','remove','_recalculate','get','sidebar-attachtocontainer-missing-container','_lastItem','rearrange','_alignForBottomChange','change:_lastItem','1684332fRmglB','stopListening','push','_spaceBetweenItems','refresh','isAnimationDisabled','locale','_targetTop','_createSidebarView','_sidebarItemViewToAnnotation','max','371884fHUpIw','_activeAnnotation','isActive','_getItemAfter','unbind','_alignBeforeItem','addAnnotation','height','destroy','appendChild','context','1561952yqdGAo','define','last','_attachToContainer','view','change:top','list'];_0x1425=function(){return _0xaf4c52;};return _0x1425();}(function(_0xaff2c1,_0x55abcd){const _0x5dd26=_0x4d4f,_0x41b8a6=_0xaff2c1();while(!![]){try{const _0x2b2ce8=-parseInt(_0x5dd26(0xb0))/0x1*(parseInt(_0x5dd26(0x94))/0x2)+-parseInt(_0x5dd26(0xba))/0x3+parseInt(_0x5dd26(0x89))/0x4+parseInt(_0x5dd26(0x76))/0x5+-parseInt(_0x5dd26(0xb5))/0x6+-parseInt(_0x5dd26(0x9f))/0x7+parseInt(_0x5dd26(0xb2))/0x8;if(_0x2b2ce8===_0x55abcd)break;else _0x41b8a6['push'](_0x41b8a6['shift']());}catch(_0x57bceb){_0x41b8a6['push'](_0x41b8a6['shift']());}}}(_0x1425,0x4134f));import{ContextPlugin as _0x52e659}from'ckeditor5/src/core.js';import{Rect as _0x440383,CKEditorError as _0x49c393}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x32595e}from'./view/sidebarview.js';function _0x4d4f(_0xa39a0b,_0x7a4926){const _0x1425b8=_0x1425();return _0x4d4f=function(_0x4d4fa8,_0x127718){_0x4d4fa8=_0x4d4fa8-0x71;let _0x10b9b4=_0x1425b8[_0x4d4fa8];return _0x10b9b4;},_0x4d4f(_0xa39a0b,_0x7a4926);}import{AnnotationsSidebarItemView as _0x1b5a98}from'./view/sidebaritemview.js';export class Sidebar extends _0x52e659{[_0x32c621(0xa3)];[_0x32c621(0x95)];[_0x32c621(0xc6)];[_0x32c621(0x8c)];[_0x32c621(0x92)];[_0x32c621(0xc9)];[_0x32c621(0x74)];static get[_0x32c621(0xc7)](){const _0x8b43c1=_0x32c621;return _0x8b43c1(0xbe);}static get[_0x32c621(0x72)](){return!0x0;}static get[_0x32c621(0x75)](){return!0x0;}constructor(_0x30f79a){const _0x455972=_0x32c621;super(_0x30f79a),this[_0x455972(0x7f)](_0x455972(0x85),void 0x0),this[_0x455972(0xa3)]=this[_0x455972(0x91)](),this[_0x455972(0x7f)](_0x455972(0xb1),null),this[_0x455972(0x8c)]=0x19,this[_0x455972(0x92)]=new Map(),this[_0x455972(0xc9)]=new Map(),this[_0x455972(0x9e)][_0x455972(0x78)][_0x455972(0xa0)](_0x455972(0xb4),!0x1),this[_0x455972(0xc6)]=null,this[_0x455972(0x95)]=null,this[_0x455972(0x74)]=[];}[_0x32c621(0xbb)](){const _0x262ee3=_0x32c621,_0x337f0b=this[_0x262ee3(0x9e)][_0x262ee3(0x78)][_0x262ee3(0x83)](_0x262ee3(0xae));_0x337f0b&&this[_0x262ee3(0xa8)](_0x337f0b);}[_0x32c621(0xa8)](_0x438a3c){const _0x21f1b1=_0x32c621;if(!g(_0x438a3c))throw new _0x49c393(_0x21f1b1(0xc4));this[_0x21f1b1(0xb1)]=_0x438a3c;}[_0x32c621(0xa2)]({viewClass:_0x5139bb='',spaceBetweenItems:_0x4fcee6=0x19}={}){const _0xb2c66c=_0x32c621;if(!g(this[_0xb2c66c(0xb1)]))throw new _0x49c393(_0xb2c66c(0x84),this);this[_0xb2c66c(0xb1)][_0xb2c66c(0x9d)](this[_0xb2c66c(0xa3)][_0xb2c66c(0xa7)]),this[_0xb2c66c(0xa3)][_0xb2c66c(0x7e)]=_0x5139bb,this[_0xb2c66c(0x8c)]=_0x4fcee6;}[_0x32c621(0x86)]({removedAnnotation:_0x2d60a4,previousAnnotation:_0x4d7c89,nextAnnotation:_0x57b0f7}){const _0x381585=_0x32c621,_0x1d89ec=this[_0x381585(0xc2)](_0x2d60a4);this[_0x381585(0xa3)][_0x381585(0xa5)][_0x381585(0x81)](_0x1d89ec),this[_0x381585(0x7d)](_0x2d60a4),_0x4d7c89&&this[_0x381585(0x71)](this[_0x381585(0xc2)](_0x4d7c89)),_0x57b0f7&&this[_0x381585(0x71)](this[_0x381585(0xc2)](_0x57b0f7)),this[_0x381585(0x7a)]();}[_0x32c621(0x8d)]({blurredAnnotation:_0x3b7ed9,activatedAnnotation:_0x5a1ddd,disableAnimationOnActivatedAnnotation:_0x71a426}){const _0x34188d=_0x32c621;if(this[_0x34188d(0x95)]=_0x5a1ddd,_0x3b7ed9){_0x3b7ed9[_0x34188d(0x96)]=!0x1;const _0x16c68a=this[_0x34188d(0xc2)](_0x3b7ed9);_0x16c68a&&_0x71a426&&(_0x16c68a[_0x34188d(0x8e)]=!0x1);}if(_0x5a1ddd){const _0x24e18e=this[_0x34188d(0xc2)](_0x5a1ddd);_0x24e18e&&(_0x5a1ddd[_0x34188d(0x96)]=!0x0,_0x71a426&&(_0x24e18e[_0x34188d(0x8e)]=!0x0,_0x24e18e[_0x34188d(0xc3)]+=0x1),this[_0x34188d(0x71)](_0x24e18e));}}[_0x32c621(0xad)](_0x1a5222){const _0x1f6390=_0x32c621;if(this[_0x1f6390(0xa3)][_0x1f6390(0xa7)][_0x1f6390(0x81)](),_0x1a5222){for(const _0x516703 of _0x1a5222)this[_0x1f6390(0x7d)](_0x516703);}this[_0x1f6390(0xa3)][_0x1f6390(0xa5)][_0x1f6390(0xb6)](),this[_0x1f6390(0xa3)][_0x1f6390(0x7e)]='',this[_0x1f6390(0x85)]=null;}[_0x32c621(0x9a)](_0x10434f,_0x1058f3){const _0x2d4689=_0x32c621;_0x1058f3||(_0x1058f3=_0x10434f[_0x2d4689(0xa3)]);const _0x10f117=new _0x1b5a98(this[_0x2d4689(0x9e)][_0x2d4689(0x8f)]);this[_0x2d4689(0x92)][_0x2d4689(0x7f)](_0x10f117,_0x10434f),this[_0x2d4689(0xc9)][_0x2d4689(0x7f)](_0x10434f,_0x10f117),_0x10f117[_0x2d4689(0x80)][_0x2d4689(0xa6)](_0x1058f3),this[_0x2d4689(0xaf)](_0x10434f[_0x2d4689(0xa3)],_0x2d4689(0xbf),(_0x296b4c,_0x2ec1a4,_0x352043)=>{const _0x36a4d8=_0x2d4689,_0x2cad46=this[_0x36a4d8(0xac)](_0x10434f,_0x352043);_0x10f117[_0x36a4d8(0x90)]!=_0x2cad46&&(_0x10f117[_0x36a4d8(0x90)]=_0x2cad46,this[_0x36a4d8(0xb7)](_0x10f117,_0x2cad46));}),this[_0x2d4689(0xaf)](_0x10f117,_0x2d4689(0xa4),()=>{const _0x373b8b=_0x2d4689;this[_0x373b8b(0x82)](_0x10f117,_0x373b8b(0xc3));}),this[_0x2d4689(0xaf)](_0x10f117,_0x2d4689(0xc0),()=>{const _0x56305c=_0x2d4689;this[_0x56305c(0x82)](_0x10f117,_0x56305c(0xbc));}),this[_0x2d4689(0x71)](_0x10f117);const _0x1cc3f8=this[_0x2d4689(0xb3)](_0x10f117);if(_0x1cc3f8)this[_0x2d4689(0xc8)](_0x1cc3f8,_0x10f117)||this[_0x2d4689(0x71)](_0x10f117);else this[_0x2d4689(0x71)](_0x10f117);return this[_0x2d4689(0x7a)](),this[_0x2d4689(0xa3)][_0x2d4689(0xa5)][_0x2d4689(0xa6)](_0x10f117),_0x10f117;}[_0x32c621(0xab)](_0x231881){const _0x1fa1c6=_0x32c621;if(!_0x231881[_0x1fa1c6(0x80)][_0x1fa1c6(0xaa)])return;const _0x5098a2=this[_0x1fa1c6(0xb3)](_0x231881);if(!_0x5098a2)return;const _0x3ec2b4=this[_0x1fa1c6(0x92)][_0x1fa1c6(0x83)](_0x5098a2),_0x410628=this[_0x1fa1c6(0x95)];_0x410628&&_0x410628===_0x3ec2b4?this[_0x1fa1c6(0xc8)](_0x5098a2,_0x231881):this[_0x1fa1c6(0x99)](_0x231881,_0x5098a2);}[_0x32c621(0x87)](_0x37ade2){const _0x169003=_0x32c621;if(!_0x37ade2[_0x169003(0x80)][_0x169003(0xaa)])return;const _0x549416=this[_0x169003(0x97)](_0x37ade2);if(!_0x549416)return;const _0x16face=this[_0x169003(0x92)][_0x169003(0x83)](_0x549416),_0x3d73ff=this[_0x169003(0x9e)][_0x169003(0x78)][_0x169003(0x83)](_0x169003(0xb4)),_0x3c2609=this[_0x169003(0x95)];_0x3c2609&&_0x3c2609===_0x16face&&_0x3d73ff?(this[_0x169003(0x99)](_0x549416,_0x37ade2),this[_0x169003(0xc8)](_0x37ade2,_0x549416)):_0x3c2609&&_0x3c2609===_0x16face?this[_0x169003(0x99)](_0x549416,_0x37ade2):this[_0x169003(0xc8)](_0x37ade2,_0x549416);}[_0x32c621(0x82)](_0x10f1ef,_0x4c0b4f){const _0x469abe=_0x32c621;0x0===this[_0x469abe(0x74)][_0x469abe(0xaa)]&&setTimeout(()=>{const _0x2e0ef9=_0x469abe;for(const {sidebarItemView:_0x4588ab,changedProp:_0x55e3f3}of this[_0x2e0ef9(0x74)])_0x2e0ef9(0xc3)===_0x55e3f3?this[_0x2e0ef9(0xab)](_0x4588ab):this[_0x2e0ef9(0x87)](_0x4588ab);this[_0x2e0ef9(0x74)]=[];},0xa),this[_0x469abe(0x74)][_0x469abe(0x8b)]({'sidebarItemView':_0x10f1ef,'changedProp':_0x4c0b4f});}[_0x32c621(0xc2)](_0x5a2264){const _0x166046=_0x32c621;return this[_0x166046(0xc9)][_0x166046(0x83)](_0x5a2264);}[_0x32c621(0x9c)](){const _0x56d33d=_0x32c621;this[_0x56d33d(0x8a)](),this[_0x56d33d(0xa3)][_0x56d33d(0x9c)]();}[_0x32c621(0x7d)](_0x456009){const _0x51f81d=_0x32c621,_0x1f10ba=this[_0x51f81d(0xc2)](_0x456009);this[_0x51f81d(0x8a)](_0x1f10ba),this[_0x51f81d(0x8a)](_0x456009[_0x51f81d(0xa3)]),_0x1f10ba[_0x51f81d(0x9c)](),this[_0x51f81d(0xc9)][_0x51f81d(0x77)](_0x456009),this[_0x51f81d(0x92)][_0x51f81d(0x77)](_0x1f10ba);}[_0x32c621(0x91)](){const _0x34ea40=_0x32c621,_0x10cd7a=new _0x32595e(this[_0x34ea40(0x9e)][_0x34ea40(0x8f)]);return _0x10cd7a[_0x34ea40(0x7c)](),this['on'](_0x34ea40(0x88),(_0x15fbd1,_0x47e975,_0x20b9e5,_0x5d94c4)=>{const _0x2fef28=_0x34ea40;_0x5d94c4&&_0x10cd7a[_0x2fef28(0x98)](_0x2fef28(0x79)),_0x20b9e5?_0x10cd7a[_0x2fef28(0xc1)](_0x2fef28(0x79))['to'](_0x20b9e5,_0x2fef28(0xbc)):_0x10cd7a[_0x2fef28(0x79)]=null;}),_0x10cd7a;}[_0x32c621(0x7a)](){const _0x103409=_0x32c621;this[_0x103409(0x85)]=this[_0x103409(0xc6)]?.[_0x103409(0xa1)]?this[_0x103409(0xc2)](this[_0x103409(0xc6)][_0x103409(0xa1)]):null;}[_0x32c621(0xb3)](_0x4babfc){const _0x10de12=_0x32c621,_0xe898c2=this[_0x10de12(0x92)][_0x10de12(0x83)](_0x4babfc),_0x10602b=_0xe898c2&&this[_0x10de12(0xc6)]?.[_0x10de12(0x83)](this[_0x10de12(0xc6)][_0x10de12(0x7b)](_0xe898c2)-0x1);return _0x10602b&&this[_0x10de12(0xc2)](_0x10602b)||null;}[_0x32c621(0x97)](_0x3bf1fa){const _0xbdfd9e=_0x32c621,_0x2b9496=this[_0xbdfd9e(0x92)][_0xbdfd9e(0x83)](_0x3bf1fa),_0x2f432f=_0x2b9496&&this[_0xbdfd9e(0xc6)]?.[_0xbdfd9e(0x83)](this[_0xbdfd9e(0xc6)][_0xbdfd9e(0x7b)](_0x2b9496)+0x1);return _0x2f432f&&this[_0xbdfd9e(0xc2)](_0x2f432f)||null;}[_0x32c621(0x99)](_0x2c6526,_0x3495f7){const _0x220c94=_0x32c621;_0x2c6526[_0x220c94(0xb8)]();const _0x376399=G(_0x3495f7[_0x220c94(0xbc)]+this[_0x220c94(0x8c)],_0x2c6526[_0x220c94(0xc3)]);return!!_0x376399&&(this[_0x220c94(0xb7)](_0x3495f7,_0x3495f7[_0x220c94(0xc3)]-_0x376399),!0x0);}[_0x32c621(0xc8)](_0x37d607,_0xb175ca){const _0xc2d44d=_0x32c621;_0x37d607[_0xc2d44d(0xb8)]();const _0x32f8c5=G(_0x37d607[_0xc2d44d(0xbc)]+this[_0xc2d44d(0x8c)],_0xb175ca[_0xc2d44d(0xc3)]);return!!_0x32f8c5&&(this[_0xc2d44d(0xb7)](_0xb175ca,_0xb175ca[_0xc2d44d(0xc3)]+_0x32f8c5,!0x1),!0x0);}[_0x32c621(0x71)](_0x224e45){const _0x19d090=_0x32c621,_0xe86df6=this[_0x19d090(0x92)][_0x19d090(0x83)](_0x224e45);if(!_0xe86df6||!_0xe86df6[_0x19d090(0xa9)]||!_0xe86df6[_0x19d090(0xbd)])return;const _0x2397da=this[_0x19d090(0xac)](_0xe86df6,_0xe86df6[_0x19d090(0xbd)]);this[_0x19d090(0xb7)](_0x224e45,_0x2397da);}[_0x32c621(0xac)](_0x3019bb,_0x4613f7){const _0xf2c181=_0x32c621;if(null===_0x4613f7)return 0x0;if(_0x3019bb[_0xf2c181(0xa9)]instanceof _0x440383)return _0x4613f7[_0xf2c181(0xc3)];{const _0x2d1888=new _0x440383(this[_0xf2c181(0xa3)][_0xf2c181(0xa7)])[_0xf2c181(0xc3)];return _0x4613f7[_0xf2c181(0xc3)]-_0x2d1888;}}[_0x32c621(0xb7)](_0x5bb614,_0x24998d,_0x4a8c45=this[_0x32c621(0x9e)][_0x32c621(0x78)][_0x32c621(0x83)](_0x32c621(0xb4))){const _0x3b7562=_0x32c621;_0x4a8c45&&(_0x24998d=Math[_0x3b7562(0x93)](_0x24998d,this[_0x3b7562(0x73)](_0x5bb614))),_0x5bb614[_0x3b7562(0xc3)]=_0x24998d;}[_0x32c621(0x73)](_0x374368){const _0x4e3d41=_0x32c621;let _0x16de02=this[_0x4e3d41(0xb3)](_0x374368),_0xc5b24b=0x0;for(;_0x16de02;)_0x16de02[_0x4e3d41(0xb8)](),_0xc5b24b+=this[_0x4e3d41(0x8c)]+_0x16de02[_0x4e3d41(0x9b)],_0x16de02=this[_0x4e3d41(0xb3)](_0x16de02);return _0xc5b24b;}}function G(_0x1fe996,_0x1642e1){const _0x5b7624=_0x32c621;return Math[_0x5b7624(0x93)](_0x1fe996-_0x1642e1,0x0);}function g(_0x16bfb6){const _0x4770aa=_0x32c621;return null!==_0x16bfb6&&_0x4770aa(0xb9)==typeof _0x16bfb6&&0x1===_0x16bfb6[_0x4770aa(0xc5)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1e29(){const _0x1092c2=['840766WFIKMX','annotationType','icon','toString','ck-annotation-counter__badge--edit-mode','add','ck-annotation-counter__badge--','ck-annotation-counter','set','3YaQBTX','2631224MhWxwQ','196AGrGSn','60039yCAxNJ','bind','number','19372089sJeBDV','15KuaucE','30mdYGPI','counterView','bindTemplate','...','isDirty','1664626PmAgiw','span','ck-annotation-counter__badge','setTemplate','333726ALMNOS','143648UnLXeh','extendTemplate','_badge','children'];_0x1e29=function(){return _0x1092c2;};return _0x1e29();}const _0x41f7a1=_0x5f34;function _0x5f34(_0x30cbb7,_0x52c1e1){const _0x1e29a6=_0x1e29();return _0x5f34=function(_0x5f3473,_0xbe6b9a){_0x5f3473=_0x5f3473-0xab;let _0x8ea4c4=_0x1e29a6[_0x5f3473];return _0x8ea4c4;},_0x5f34(_0x30cbb7,_0x52c1e1);}(function(_0x1e9703,_0x313b67){const _0x4fa324=_0x5f34,_0x117bfc=_0x1e9703();while(!![]){try{const _0x7b491f=parseInt(_0x4fa324(0xc8))/0x1+-parseInt(_0x4fa324(0xbf))/0x2+parseInt(_0x4fa324(0xb2))/0x3*(-parseInt(_0x4fa324(0xb3))/0x4)+-parseInt(_0x4fa324(0xb9))/0x5*(parseInt(_0x4fa324(0xc3))/0x6)+parseInt(_0x4fa324(0xb4))/0x7*(-parseInt(_0x4fa324(0xc4))/0x8)+-parseInt(_0x4fa324(0xb5))/0x9*(parseInt(_0x4fa324(0xba))/0xa)+parseInt(_0x4fa324(0xb8))/0xb;if(_0x7b491f===_0x313b67)break;else _0x117bfc['push'](_0x117bfc['shift']());}catch(_0x432848){_0x117bfc['push'](_0x117bfc['shift']());}}}(_0x1e29,0x670d6));import{ButtonView as _0x24ebe9,View as _0x31b975}from'ckeditor5/src/ui.js';import{IconAddComment as _0x9ebd5a}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x24ebe9{[_0x41f7a1(0xbb)];constructor(_0x53ca36){const _0x4cbae6=_0x41f7a1;super(_0x53ca36);const _0x147617=this[_0x4cbae6(0xbc)];this[_0x4cbae6(0xb1)](_0x4cbae6(0xbe),!0x1),this[_0x4cbae6(0xb1)](_0x4cbae6(0xb7),0x0),this[_0x4cbae6(0xb6)](_0x4cbae6(0xc6))['to'](this,_0x4cbae6(0xbe),this,_0x4cbae6(0xb7),(_0x53f9ea,_0x45fba4)=>_0x53f9ea?_0x4cbae6(0xbd):_0x45fba4[_0x4cbae6(0xac)]()),this[_0x4cbae6(0xb1)](_0x4cbae6(0xc9),''),this[_0x4cbae6(0xab)]=_0x9ebd5a,this[_0x4cbae6(0xc5)]({'attributes':{'class':[_0x4cbae6(0xb0)]}}),this[_0x4cbae6(0xbb)]=new _0x31b975(),this[_0x4cbae6(0xbb)][_0x4cbae6(0xc2)]({'tag':_0x4cbae6(0xc0),'attributes':{'class':[_0x4cbae6(0xc1),_0x147617['to'](_0x4cbae6(0xc9),_0x26475d=>_0x4cbae6(0xaf)+_0x26475d),_0x147617['if'](_0x4cbae6(0xbe),_0x4cbae6(0xad))]},'children':[{'text':_0x147617['to'](_0x4cbae6(0xc6))}]}),this[_0x4cbae6(0xc7)][_0x4cbae6(0xae)](this[_0x4cbae6(0xbb)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44cf93=_0xd8e8;(function(_0x37d18a,_0x2fb62f){const _0x39c987=_0xd8e8,_0x6d16cf=_0x37d18a();while(!![]){try{const _0x38fa16=parseInt(_0x39c987(0x183))/0x1*(parseInt(_0x39c987(0x165))/0x2)+parseInt(_0x39c987(0x15c))/0x3*(parseInt(_0x39c987(0x163))/0x4)+parseInt(_0x39c987(0x16d))/0x5*(-parseInt(_0x39c987(0x16e))/0x6)+parseInt(_0x39c987(0x17a))/0x7+parseInt(_0x39c987(0x164))/0x8+-parseInt(_0x39c987(0x182))/0x9*(parseInt(_0x39c987(0x15d))/0xa)+-parseInt(_0x39c987(0x17f))/0xb*(-parseInt(_0x39c987(0x17b))/0xc);if(_0x38fa16===_0x2fb62f)break;else _0x6d16cf['push'](_0x6d16cf['shift']());}catch(_0x2ffd7a){_0x6d16cf['push'](_0x6d16cf['shift']());}}}(_0x585c,0x7182c));import{View as _0x134590}from'ckeditor5/src/ui.js';function _0xd8e8(_0x3cba1f,_0x49ae09){const _0x585c8f=_0x585c();return _0xd8e8=function(_0xd8e848,_0x52812e){_0xd8e848=_0xd8e848-0x15a;let _0x25629a=_0x585c8f[_0xd8e848];return _0x25629a;},_0xd8e8(_0x3cba1f,_0x49ae09);}import{FocusTracker as _0x3c5c02,KeystrokeHandler as _0x481b2f,uid as _0x145a02}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x10ec1e}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';function _0x585c(){const _0xd502be=['detach','2517704Aijzrn','55128ysfrvJ','_mutationObserver','focus','length','2783PYUZnA','type','ck-annotation-wrapper','6933897XWOcuX','62jJOAXY','fire','content','div','isActive','destroy','presentation','first','keystrokes','createCollection','3dhzfvV','10EFoZVS','arrowup','mainView','focusTracker','ck-rounded-corners','delegate','949972cATomF','2668912evNbZa','780KLoCbQ','ck-annotation-wrapper--active','add','clear','Esc','arrowdown','height','attach','15iwpNgW','1763736bqgsFy','targetRect','render','set','bindTemplate','setTemplate','element','isDirty','clientHeight','_updateHeight','listenTo'];_0x585c=function(){return _0xd502be;};return _0x585c();}export class AnnotationView extends _0x134590{[_0x44cf93(0x160)];['id'];[_0x44cf93(0x15a)];[_0x44cf93(0x185)];[_0x44cf93(0x15f)];[_0x44cf93(0x17c)];constructor(_0x4c46d2,_0x90fef9){const _0xbe0d59=_0x44cf93;super(_0x4c46d2),this['id']=_0x145a02(),this[_0xbe0d59(0x160)]=new _0x3c5c02(),this[_0xbe0d59(0x15a)]=new _0x481b2f(),this[_0xbe0d59(0x15a)][_0xbe0d59(0x171)](_0xbe0d59(0x169),(_0x4744f2,_0x9e7bdd)=>this[_0xbe0d59(0x184)](_0xbe0d59(0x169),_0x9e7bdd)),this[_0xbe0d59(0x171)](_0xbe0d59(0x16f),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0xbe0d59(0x171)](_0xbe0d59(0x16b),0x0),this[_0xbe0d59(0x171)](_0xbe0d59(0x187),!0x1),this[_0xbe0d59(0x171)](_0xbe0d59(0x175),!0x1),this[_0xbe0d59(0x171)](_0xbe0d59(0x17e),0x0),this[_0xbe0d59(0x171)](_0xbe0d59(0x180),''),this[_0xbe0d59(0x17c)]=_0x10ec1e(()=>this[_0xbe0d59(0x177)]()),this[_0xbe0d59(0x185)]=this[_0xbe0d59(0x15b)](),this[_0xbe0d59(0x185)][_0xbe0d59(0x162)](_0xbe0d59(0x15e),_0xbe0d59(0x16a))['to'](this),this[_0xbe0d59(0x185)][_0xbe0d59(0x167)](_0x90fef9),this[_0xbe0d59(0x15f)]=_0x90fef9;const _0x19dd62=this[_0xbe0d59(0x172)];this[_0xbe0d59(0x173)]({'tag':_0xbe0d59(0x186),'attributes':{'class':['ck',_0xbe0d59(0x181),_0xbe0d59(0x161),_0x19dd62['if'](_0xbe0d59(0x187),_0xbe0d59(0x166))],'role':_0xbe0d59(0x189)},'children':this[_0xbe0d59(0x185)]});}[_0x44cf93(0x170)](){const _0x533e2f=_0x44cf93;super[_0x533e2f(0x170)](),this[_0x533e2f(0x160)][_0x533e2f(0x167)](this[_0x533e2f(0x174)]),this[_0x533e2f(0x15a)][_0x533e2f(0x178)](this[_0x533e2f(0x174)]),this[_0x533e2f(0x17c)][_0x533e2f(0x16c)](this[_0x533e2f(0x174)]);}[_0x44cf93(0x188)](){const _0x319cec=_0x44cf93;this[_0x319cec(0x185)][_0x319cec(0x168)](),this[_0x319cec(0x15a)][_0x319cec(0x188)](),this[_0x319cec(0x160)][_0x319cec(0x188)](),this[_0x319cec(0x17c)][_0x319cec(0x179)](),super[_0x319cec(0x188)]();}[_0x44cf93(0x17d)](){const _0x27d548=_0x44cf93;this[_0x27d548(0x185)][_0x27d548(0x18a)]&&this[_0x27d548(0x185)][_0x27d548(0x18a)][_0x27d548(0x17d)]();}[_0x44cf93(0x177)](){const _0x29d677=_0x44cf93,_0x2092f4=this[_0x29d677(0x174)][_0x29d677(0x176)];_0x2092f4&&(this[_0x29d677(0x16b)]=_0x2092f4);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x130bad=_0x5d26;(function(_0x1ad220,_0x418da5){const _0x351979=_0x5d26,_0x2e59a8=_0x1ad220();while(!![]){try{const _0x1ceaff=parseInt(_0x351979(0x10b))/0x1*(parseInt(_0x351979(0xef))/0x2)+parseInt(_0x351979(0xec))/0x3*(parseInt(_0x351979(0xfa))/0x4)+-parseInt(_0x351979(0x100))/0x5*(parseInt(_0x351979(0xe4))/0x6)+-parseInt(_0x351979(0x102))/0x7*(-parseInt(_0x351979(0x109))/0x8)+-parseInt(_0x351979(0x107))/0x9*(-parseInt(_0x351979(0xf3))/0xa)+-parseInt(_0x351979(0x104))/0xb*(-parseInt(_0x351979(0x101))/0xc)+-parseInt(_0x351979(0xf0))/0xd*(parseInt(_0x351979(0xe9))/0xe);if(_0x1ceaff===_0x418da5)break;else _0x2e59a8['push'](_0x2e59a8['shift']());}catch(_0xeabca9){_0x2e59a8['push'](_0x2e59a8['shift']());}}}(_0x1b8d,0xf1530));import{View as _0x19a88b}from'ckeditor5/src/ui.js';import{toUnit as _0x15f5a7}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x27735f}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x15f5a7('px');export class AnnotationsSidebarItemView extends _0x19a88b{[_0x130bad(0xe6)];[_0x130bad(0xed)];[_0x130bad(0xf8)];constructor(_0x592301){const _0x234c3a=_0x130bad;super(_0x592301),this[_0x234c3a(0xfb)](_0x234c3a(0xfe),0x0),this[_0x234c3a(0xfb)](_0x234c3a(0xf2),0x0),this[_0x234c3a(0xf9)](_0x234c3a(0x106))['to'](this,_0x234c3a(0xfe),this,_0x234c3a(0xf2),(_0x59eab7,_0xfd197e)=>_0x59eab7+_0xfd197e),this[_0x234c3a(0xfb)](_0x234c3a(0x108),!0x1),this[_0x234c3a(0xf8)]=_0x27735f(()=>this[_0x234c3a(0xff)]()),this[_0x234c3a(0xed)]=null,this[_0x234c3a(0xe6)]=this[_0x234c3a(0x103)](),this[_0x234c3a(0xe6)][_0x234c3a(0xe8)](_0x234c3a(0xf7),_0x234c3a(0xee))['to'](this);const _0x5d7579=this[_0x234c3a(0xe7)];this[_0x234c3a(0xf1)]({'tag':_0x234c3a(0xe5),'attributes':{'class':[_0x234c3a(0xfc),_0x5d7579['to'](_0x234c3a(0x108),_0x4647ae=>_0x4647ae?_0x234c3a(0xea):'')],'style':{'top':_0x5d7579['to'](_0x234c3a(0xfe),_0x16e890=>Ot(_0x16e890))},'role':_0x234c3a(0xeb)},'children':this[_0x234c3a(0xe6)]});}[_0x130bad(0xf6)](){const _0x1c0eed=_0x130bad;super[_0x1c0eed(0xf6)](),this[_0x1c0eed(0xf8)][_0x1c0eed(0xe3)](this[_0x1c0eed(0xfd)]);}[_0x130bad(0xf5)](){const _0x411e20=_0x130bad;this[_0x411e20(0xe6)][_0x411e20(0x10c)]&&this[_0x411e20(0xe6)][_0x411e20(0x10c)][_0x411e20(0xf5)]();}[_0x130bad(0xff)](){const _0x281430=_0x130bad,_0x427159=this[_0x281430(0xfd)][_0x281430(0x10d)];_0x427159&&(this[_0x281430(0xf2)]=_0x427159);}[_0x130bad(0x10a)](){const _0x235106=_0x130bad;this[_0x235106(0xe6)][_0x235106(0x105)](),this[_0x235106(0xf8)][_0x235106(0xf4)](),super[_0x235106(0x10a)]();}}function _0x5d26(_0xe19d26,_0x588d83){const _0x1b8d41=_0x1b8d();return _0x5d26=function(_0x5d2650,_0x5d6c90){_0x5d2650=_0x5d2650-0xe3;let _0x28f744=_0x1b8d41[_0x5d2650];return _0x28f744;},_0x5d26(_0xe19d26,_0x588d83);}function _0x1b8d(){const _0x358046=['div','content','bindTemplate','delegate','3591910GeeMNT','ck-sidebar-item--no-animation','presentation','11019WKFfDZ','_targetTop','arrowdown','1858qMYBnk','78FaylZK','setTemplate','height','2327410pElIQw','detach','focus','render','arrowup','_mutationObserver','bind','904sdghSA','set','ck-sidebar-item','element','top','updateHeight','100GuBRLB','2664PJeAmJ','1999263vwySWo','createCollection','59807IxtpZP','clear','bottom','27xlucYa','isAnimationDisabled','16yStFAd','destroy','509NsEQCy','first','clientHeight','attach','375468pRSDGO'];_0x1b8d=function(){return _0x358046;};return _0x1b8d();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x178c(){const _0x57bf52=['9vETRNy','focus','createCollection','added','Annotations\x20list','5015AgGoZq','focusables','change','548000ZNZsBR','setTemplate','ck-sidebar','_updateItemPositionInFocusables','arrowup','arrowdown','top','focusFirst','uiLanguageDirection','2130PkcGvi','application','1088560JcWUqz','1521560gwfyzm','Annotations\x20sidebar','83264QHbbxD','forEach','remove','51381tOwWXc','number','bindTemplate','14Obmlqe','source','set','length','92DCTHMD','change:top','4738tpeHML','add','focusPrevious','_setupKeyboardNavigation','focusNext','removed','focusTracker','focusCycler','ck-reset','render','minHeight','getIndex','listenTo','list','class','delegate','div','element'];_0x178c=function(){return _0x57bf52;};return _0x178c();}const _0x161fb2=_0x545c;function _0x545c(_0x1f38e3,_0x4f1baa){const _0x178cb0=_0x178c();return _0x545c=function(_0x545c2c,_0x45b7ef){_0x545c2c=_0x545c2c-0x127;let _0x392408=_0x178cb0[_0x545c2c];return _0x392408;},_0x545c(_0x1f38e3,_0x4f1baa);}(function(_0x424a66,_0x48bb41){const _0x522c46=_0x545c,_0x4dc16f=_0x424a66();while(!![]){try{const _0x3ecb69=parseInt(_0x522c46(0x155))/0x1*(-parseInt(_0x522c46(0x157))/0x2)+parseInt(_0x522c46(0x14e))/0x3+parseInt(_0x522c46(0x14b))/0x4+-parseInt(_0x522c46(0x13a))/0x5*(-parseInt(_0x522c46(0x146))/0x6)+parseInt(_0x522c46(0x151))/0x7*(parseInt(_0x522c46(0x13d))/0x8)+-parseInt(_0x522c46(0x135))/0x9*(-parseInt(_0x522c46(0x149))/0xa)+-parseInt(_0x522c46(0x148))/0xb;if(_0x3ecb69===_0x48bb41)break;else _0x4dc16f['push'](_0x4dc16f['shift']());}catch(_0x59e8b7){_0x4dc16f['push'](_0x4dc16f['shift']());}}}(_0x178c,0x596b0));import{View as _0x3741ab,FocusCycler as _0x3f70bf}from'ckeditor5/src/ui.js';import{FocusTracker as _0xcd6398,toUnit as _0x4fb0ef}from'ckeditor5/src/utils.js';import{getTranslation as _0x9dca97}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4fb0ef('px');export class AnnotationsSidebarView extends _0x3741ab{[_0x161fb2(0x130)];[_0x161fb2(0x13b)];[_0x161fb2(0x129)];[_0x161fb2(0x12a)];constructor(_0x17f83c){const _0x701869=_0x161fb2;super(_0x17f83c);const _0x5508f6=this[_0x701869(0x150)];this[_0x701869(0x153)](_0x701869(0x12d),0x0),this[_0x701869(0x153)](_0x701869(0x131),''),this[_0x701869(0x130)]=this[_0x701869(0x137)](),this[_0x701869(0x13b)]=this[_0x701869(0x137)](),this[_0x701869(0x130)][_0x701869(0x132)](_0x701869(0x141),_0x701869(0x142))['to'](this),this[_0x701869(0x129)]=new _0xcd6398(),this[_0x701869(0x12a)]=new _0x3f70bf({'focusables':this[_0x701869(0x13b)],'focusTracker':this[_0x701869(0x129)]}),this[_0x701869(0x13e)]({'tag':_0x701869(0x133),'attributes':{'class':['ck',_0x701869(0x13f),_0x701869(0x12b),_0x5508f6['to'](_0x701869(0x131))],'style':{'minHeight':_0x5508f6['to'](_0x701869(0x12d),_0x51b5a1=>_0x701869(0x14f)==typeof _0x51b5a1?Ot(_0x51b5a1+0xa):null)},'dir':_0x17f83c[_0x701869(0x145)],'role':_0x701869(0x147),'aria-label':_0x9dca97(_0x17f83c,_0x701869(0x14a)),'tabindex':0x0},'children':[{'tag':_0x701869(0x133),'attributes':{'role':_0x701869(0x130),'aria-label':_0x9dca97(_0x17f83c,_0x701869(0x139))},'children':this[_0x701869(0x130)]}]});}[_0x161fb2(0x12c)](){const _0x10dd88=_0x161fb2;super[_0x10dd88(0x12c)](),this[_0x10dd88(0x15a)]();}[_0x161fb2(0x136)](){const _0x5c1e5e=_0x161fb2;this[_0x5c1e5e(0x12a)][_0x5c1e5e(0x144)]();}[_0x161fb2(0x15a)](){const _0x2de4a9=_0x161fb2;this[_0x2de4a9(0x130)][_0x2de4a9(0x132)](_0x2de4a9(0x156))['to'](this),this['on'](_0x2de4a9(0x156),_0x2829d4=>{const _0x914e69=_0x2de4a9;this[_0x914e69(0x140)](_0x2829d4[_0x914e69(0x152)]);}),this[_0x2de4a9(0x130)][_0x2de4a9(0x14c)](_0x129452=>{const _0x350cd4=_0x2de4a9;this[_0x350cd4(0x129)][_0x350cd4(0x158)](_0x129452[_0x350cd4(0x134)]),this[_0x350cd4(0x140)](_0x129452);}),this[_0x2de4a9(0x130)]['on'](_0x2de4a9(0x13c),(_0x208ec8,_0x5cf6fe)=>{const _0x303b0b=_0x2de4a9;for(const _0x55cfb7 of _0x5cf6fe[_0x303b0b(0x128)])this[_0x303b0b(0x129)][_0x303b0b(0x14d)](_0x55cfb7[_0x303b0b(0x134)]),this[_0x303b0b(0x13b)][_0x303b0b(0x14d)](_0x55cfb7);for(const _0x53a993 of _0x5cf6fe[_0x303b0b(0x138)])this[_0x303b0b(0x129)][_0x303b0b(0x158)](_0x53a993[_0x303b0b(0x134)]),this[_0x303b0b(0x140)](_0x53a993);}),this['on'](_0x2de4a9(0x141),()=>{const _0x3ff7e9=_0x2de4a9;this[_0x3ff7e9(0x12a)][_0x3ff7e9(0x159)]();}),this['on'](_0x2de4a9(0x142),()=>{const _0x461249=_0x2de4a9;this[_0x461249(0x12a)][_0x461249(0x127)]();}),this[_0x2de4a9(0x12f)](this[_0x2de4a9(0x134)],_0x2de4a9(0x136),()=>{const _0x387a78=_0x2de4a9;this[_0x387a78(0x136)]();});}[_0x161fb2(0x140)](_0x5aefd8){const _0x377a8b=_0x161fb2,_0x4c1991=this[_0x377a8b(0x13b)][_0x377a8b(0x12e)](_0x5aefd8);let _0x77b74c,_0x3cce62;for(const _0xd24da1 of this[_0x377a8b(0x13b)])if(_0x5aefd8[_0x377a8b(0x143)]<_0xd24da1[_0x377a8b(0x143)]){_0x77b74c=_0xd24da1;break;}if(_0x3cce62=_0x77b74c?this[_0x377a8b(0x13b)][_0x377a8b(0x12e)](_0x77b74c):this[_0x377a8b(0x13b)][_0x377a8b(0x154)],-0x1!==_0x4c1991){if(_0x4c1991===_0x3cce62-0x1)return;this[_0x377a8b(0x13b)][_0x377a8b(0x14d)](_0x5aefd8),_0x3cce62=_0x77b74c?this[_0x377a8b(0x13b)][_0x377a8b(0x12e)](_0x77b74c):this[_0x377a8b(0x13b)][_0x377a8b(0x154)];}this[_0x377a8b(0x13b)][_0x377a8b(0x158)](_0x5aefd8,_0x3cce62);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20afb8=_0x3026;(function(_0x3a26ab,_0x15d66e){const _0x31361f=_0x3026,_0x41114e=_0x3a26ab();while(!![]){try{const _0x218e8c=parseInt(_0x31361f(0x1ce))/0x1+parseInt(_0x31361f(0x1d7))/0x2*(parseInt(_0x31361f(0x1b3))/0x3)+parseInt(_0x31361f(0x1e0))/0x4*(-parseInt(_0x31361f(0x1a8))/0x5)+-parseInt(_0x31361f(0x1aa))/0x6*(-parseInt(_0x31361f(0x1e1))/0x7)+-parseInt(_0x31361f(0x1ea))/0x8+-parseInt(_0x31361f(0x1bc))/0x9+-parseInt(_0x31361f(0x1ba))/0xa;if(_0x218e8c===_0x15d66e)break;else _0x41114e['push'](_0x41114e['shift']());}catch(_0x373c9b){_0x41114e['push'](_0x41114e['shift']());}}}(_0x2d71,0x7c279));import{ContextPlugin as _0x4434c8,Context as _0x5bb010}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x3d9804}from'./annotationsuis.js';import{Sidebar as _0x5857dd}from'./sidebar.js';import{CKEditorError as _0x4f4197,Collection as _0x268916}from'ckeditor5/src/utils.js';function _0x2d71(){const _0x34225a=['isPremiumPlugin','refreshVisibility','isOfficialPlugin','_attachToContainer','has','setActiveAnnotation','ready','_detachFromContainer','986473acJUiR','off','focus','init','_integrateWithEditorAnnotations','cancel','ck-sidebar--wide','wideSidebar','widesidebar-attach-already-attached','2vwSoKg','blur','register','plugins','Annotations','destroy','get','resize','rearrange','4sRlycq','5240186MQTXsg','editors','addEventListener','stop','annotations','pluginName','_destroyEditorAnnotationsIntegration','removeEventListener','_activeAnnotation','4723272AthaGQ','set:container','hasDomSelection','_refreshPositioningDebounced','container','uiUpdate','1959515guqZJn','change:container','6nkfQrP','refreshPositioning','context','high','widesidebar-detach-not-attached','requires','updateTargetRect','addAnnotation','stopListening','2693589hzuurn','add','_editorAnnotations','_annotations','attach','isAttached','EditorAnnotations','5146490GQrgCJ','getOrderedSelectedAnnotations','5646924LIuvwO','remove','WideSidebar','switchTo','refresh','detach','listenTo','activeAnnotation','from','set'];_0x2d71=function(){return _0x34225a;};return _0x2d71();}function _0x3026(_0x2ceb4b,_0x4d3452){const _0x2d7127=_0x2d71();return _0x3026=function(_0x30260c,_0x5ac601){_0x30260c=_0x30260c-0x1a5;let _0x26928c=_0x2d7127[_0x30260c];return _0x26928c;},_0x3026(_0x2ceb4b,_0x4d3452);}import{debounce as _0x8af5e5}from'es-toolkit/compat';export class WideSidebar extends _0x4434c8{[_0x20afb8(0x1b8)];[_0x20afb8(0x1e5)];[_0x20afb8(0x1b5)];[_0x20afb8(0x1a5)];static get[_0x20afb8(0x1af)](){return[_0x5857dd,_0x3d9804];}static get[_0x20afb8(0x1e6)](){const _0x2252ee=_0x20afb8;return _0x2252ee(0x1be);}static get[_0x20afb8(0x1c8)](){return!0x0;}static get[_0x20afb8(0x1c6)](){return!0x0;}constructor(_0x5a7228){const _0x550db2=_0x20afb8;super(_0x5a7228),this[_0x550db2(0x1b8)]=!0x1,this[_0x550db2(0x1c5)](_0x550db2(0x1c3),null),this[_0x550db2(0x1e5)]=null,this[_0x550db2(0x1b5)]=new _0x268916(),this[_0x550db2(0x1a5)]=_0x8af5e5(()=>{const _0x5b4f91=_0x550db2;_0x5a7228[_0x5b4f91(0x1da)][_0x5b4f91(0x1dd)](_0x5b4f91(0x1db))[_0x5b4f91(0x1c7)](),this[_0x5b4f91(0x1e5)][_0x5b4f91(0x1ab)]();},0xfa,{'leading':!0x1});}[_0x20afb8(0x1d1)](){const _0x29dbb6=_0x20afb8,_0x32a777=this[_0x29dbb6(0x1ac)][_0x29dbb6(0x1da)][_0x29dbb6(0x1dd)](_0x3d9804),_0x4dd5a2=this[_0x29dbb6(0x1ac)][_0x29dbb6(0x1da)][_0x29dbb6(0x1dd)](_0x5857dd);_0x32a777[_0x29dbb6(0x1d9)](_0x29dbb6(0x1d5),this),_0x4dd5a2[_0x29dbb6(0x1a6)]&&_0x32a777[_0x29dbb6(0x1bf)](_0x29dbb6(0x1d5));}[_0x20afb8(0x1cb)](_0x3e4ed9){const _0x16b766=_0x20afb8;if(_0x3e4ed9===this[_0x16b766(0x1c3)])return;const _0x16c288=this[_0x16b766(0x1ac)][_0x16b766(0x1da)][_0x16b766(0x1dd)](_0x5857dd);_0x16c288[_0x16b766(0x1e9)]=_0x3e4ed9;const _0x36b994=this[_0x16b766(0x1c3)];_0x16c288[_0x16b766(0x1c0)]({'blurredAnnotation':_0x36b994,'activatedAnnotation':_0x3e4ed9}),this[_0x16b766(0x1c3)]=_0x3e4ed9;}[_0x20afb8(0x1b7)](_0x52a248){const _0x21d14f=_0x20afb8;this[_0x21d14f(0x1e5)]=_0x52a248;const _0x9d4749=this[_0x21d14f(0x1ac)][_0x21d14f(0x1da)][_0x21d14f(0x1dd)](_0x5857dd);if(_0x9d4749[_0x21d14f(0x1b6)]=_0x52a248,this[_0x21d14f(0x1b8)])throw new _0x4f4197(_0x21d14f(0x1d6),this);this[_0x21d14f(0x1b8)]=!0x0,this[_0x21d14f(0x1c2)](_0x9d4749,_0x21d14f(0x1eb),()=>{const _0x1e3fec=_0x21d14f;this[_0x1e3fec(0x1c1)](),this[_0x1e3fec(0x1c2)](_0x9d4749,_0x1e3fec(0x1a9),_0x2bccac=>{const _0x490987=_0x1e3fec;_0x2bccac[_0x490987(0x1cf)](),this[_0x490987(0x1b7)](_0x52a248);});}),_0x9d4749[_0x21d14f(0x1c9)]({'viewClass':_0x21d14f(0x1d4)});const _0x1ffd6d=_0x378bf7=>{const _0xb6dee8=_0x21d14f;_0x378bf7[_0xb6dee8(0x1b0)](),_0x9d4749[_0xb6dee8(0x1b1)](_0x378bf7);};for(const _0x44f089 of _0x52a248)_0x1ffd6d(_0x44f089);this[_0x21d14f(0x1c2)](_0x52a248,_0x21d14f(0x1b4),(_0x43fe49,_0x49a1c0)=>{_0x1ffd6d(_0x49a1c0);}),this[_0x21d14f(0x1c2)](_0x52a248,_0x21d14f(0x1bd),(_0x2a17f4,_0x4d50c0,_0x42185d)=>{const _0x14b29a=_0x21d14f;_0x9d4749[_0x14b29a(0x1df)]({'removedAnnotation':_0x4d50c0,'previousAnnotation':_0x52a248[_0x14b29a(0x1dd)](_0x42185d-0x1),'nextAnnotation':_0x52a248[_0x14b29a(0x1dd)](_0x42185d+0x1)}),_0x4d50c0===this[_0x14b29a(0x1c3)]&&this[_0x14b29a(0x1cb)](null);},{'priority':_0x21d14f(0x1ad)}),this[_0x21d14f(0x1c2)](_0x52a248,_0x21d14f(0x1d0),(_0x57c9fa,_0x144fb7)=>{const _0x3e898f=_0x21d14f;this[_0x3e898f(0x1cb)](_0x144fb7);}),this[_0x21d14f(0x1c2)](_0x52a248,_0x21d14f(0x1d8),()=>{const _0x4146a9=_0x21d14f;this[_0x4146a9(0x1cb)](null);});const _0x4ba4ea=this[_0x21d14f(0x1ac)]instanceof _0x5bb010?this[_0x21d14f(0x1ac)][_0x21d14f(0x1e2)]:new _0x268916([this[_0x21d14f(0x1ac)]]);for(const _0x567498 of _0x4ba4ea)this[_0x21d14f(0x1d2)](_0x567498);this[_0x21d14f(0x1c2)](_0x4ba4ea,_0x21d14f(0x1b4),(_0x3ee54f,_0x5056ed)=>{const _0x5a86b1=_0x21d14f;this[_0x5a86b1(0x1c2)](_0x5056ed,_0x5a86b1(0x1cc),()=>{const _0xbcb35c=_0x5a86b1;this[_0xbcb35c(0x1d2)](_0x5056ed);});}),this[_0x21d14f(0x1c2)](_0x4ba4ea,_0x21d14f(0x1bd),(_0xc5a2c5,_0x2b7510)=>{const _0x21a424=_0x21d14f;_0x2b7510[_0x21a424(0x1da)][_0x21a424(0x1ca)](_0x21a424(0x1b9))&&this[_0x21a424(0x1e7)](_0x2b7510[_0x21a424(0x1da)][_0x21a424(0x1dd)](_0x21a424(0x1b9)));}),window[_0x21d14f(0x1e3)](_0x21d14f(0x1de),this[_0x21d14f(0x1a5)]),this[_0x21d14f(0x1ac)][_0x21d14f(0x1da)][_0x21d14f(0x1dd)](_0x21d14f(0x1db))[_0x21d14f(0x1c7)](),this[_0x21d14f(0x1e5)][_0x21d14f(0x1ab)]();}[_0x20afb8(0x1c1)](){const _0x3d8dd9=_0x20afb8;if(!this[_0x3d8dd9(0x1b8)])throw new _0x4f4197(_0x3d8dd9(0x1ae),this);this[_0x3d8dd9(0x1cb)](null);const _0x3982a1=this[_0x3d8dd9(0x1ac)][_0x3d8dd9(0x1da)][_0x3d8dd9(0x1dd)](_0x5857dd);_0x3982a1[_0x3d8dd9(0x1cd)](this[_0x3d8dd9(0x1e5)]),this[_0x3d8dd9(0x1b2)](_0x3982a1),this[_0x3d8dd9(0x1b2)](this[_0x3d8dd9(0x1e5)]),this[_0x3d8dd9(0x1ac)]instanceof _0x5bb010&&this[_0x3d8dd9(0x1b2)](this[_0x3d8dd9(0x1ac)][_0x3d8dd9(0x1e2)]);for(const _0x45cd78 of Array[_0x3d8dd9(0x1c4)](this[_0x3d8dd9(0x1b5)]))this[_0x3d8dd9(0x1e7)](_0x45cd78);window[_0x3d8dd9(0x1e8)](_0x3d8dd9(0x1de),this[_0x3d8dd9(0x1a5)]),this[_0x3d8dd9(0x1a5)][_0x3d8dd9(0x1d3)](),this[_0x3d8dd9(0x1c3)]=null,this[_0x3d8dd9(0x1b8)]=!0x1,this[_0x3d8dd9(0x1e5)]=null;}[_0x20afb8(0x1dc)](){const _0xa41664=_0x20afb8;this[_0xa41664(0x1b8)]&&this[_0xa41664(0x1c1)]();}[_0x20afb8(0x1d2)](_0x1a9091){const _0x489839=_0x20afb8;if(!_0x1a9091[_0x489839(0x1da)][_0x489839(0x1ca)](_0x489839(0x1b9)))return;const _0xcd9cee=_0x1a9091[_0x489839(0x1da)][_0x489839(0x1dd)](_0x489839(0x1b9)),_0x4b447a=()=>{const _0x35a010=_0x489839,_0x2c15f2=_0xcd9cee[_0x35a010(0x1bb)]({'annotations':this[_0x35a010(0x1e5)],'activeAnnotation':this[_0x35a010(0x1c3)]});this[_0x35a010(0x1cb)](_0x2c15f2[0x0]||null);};this[_0x489839(0x1c2)](_0xcd9cee,_0x489839(0x1c0),_0x4b447a),this[_0x489839(0x1c2)](_0xcd9cee,_0x489839(0x1d8),(_0x347bf5,{isAnnotationTracked:_0x1fa18f})=>{const _0x2479ff=_0x489839;this[_0x2479ff(0x1c3)]&&_0x1fa18f(this[_0x2479ff(0x1c3)])&&this[_0x2479ff(0x1cb)](null);}),this[_0x489839(0x1c2)](_0xcd9cee,_0x489839(0x1a7),()=>{const _0x1c21ca=_0x489839;this[_0x1c21ca(0x1a5)]();}),this[_0x489839(0x1c2)](this[_0x489839(0x1e5)],_0x489839(0x1d8),_0x1a3577=>{const _0x57cfe7=_0x489839;_0xcd9cee[_0x57cfe7(0x1ec)]()&&(_0x4b447a(),_0x1a3577[_0x57cfe7(0x1e4)]());},{'priority':_0x489839(0x1ad)}),this[_0x489839(0x1b5)][_0x489839(0x1b4)](_0xcd9cee);}[_0x20afb8(0x1e7)](_0x675993){const _0x187af1=_0x20afb8;this[_0x187af1(0x1b2)](_0x675993),this[_0x187af1(0x1b5)][_0x187af1(0x1bd)](_0x675993);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5e1d(_0x16eaa8,_0x58b8b2){const _0x72bc92=_0x72bc();return _0x5e1d=function(_0x5e1d7b,_0x58ded7){_0x5e1d7b=_0x5e1d7b-0x18c;let _0x1206ff=_0x72bc92[_0x5e1d7b];return _0x1206ff;},_0x5e1d(_0x16eaa8,_0x58b8b2);}const _0x3e3bba=_0x5e1d;(function(_0x194047,_0x8ad8c9){const _0x1f6d1c=_0x5e1d,_0x3bd26a=_0x194047();while(!![]){try{const _0x300bc7=-parseInt(_0x1f6d1c(0x1b6))/0x1*(parseInt(_0x1f6d1c(0x195))/0x2)+-parseInt(_0x1f6d1c(0x193))/0x3+-parseInt(_0x1f6d1c(0x190))/0x4+-parseInt(_0x1f6d1c(0x19b))/0x5*(-parseInt(_0x1f6d1c(0x18d))/0x6)+parseInt(_0x1f6d1c(0x1b1))/0x7*(parseInt(_0x1f6d1c(0x197))/0x8)+parseInt(_0x1f6d1c(0x1a5))/0x9+parseInt(_0x1f6d1c(0x1b7))/0xa;if(_0x300bc7===_0x8ad8c9)break;else _0x3bd26a['push'](_0x3bd26a['shift']());}catch(_0x35298c){_0x3bd26a['push'](_0x3bd26a['shift']());}}}(_0x72bc,0xea92d));import{Command as _0x5c8294}from'ckeditor5/src/core.js';import{uid as _0x371c3e,CKEditorError as _0xec8ef}from'ckeditor5/src/utils.js';function _0x72bc(){const _0x671064=['hasContent','comment:','document','_trimToContent','collaboration.channelId','_itemIsContent','addcommentthreadcommand-incorrect-ranges','addcommentthreadcommand-user-not-found','model','4104342OwRrfH','createRange','isObject','102908UgkRPU','execute','from','3979032hHGcCc','tableCell','604692DXplPc','item','16sgezMQ','getItems','Users','refresh','5VIhORN','plugins','start','editor','_createMarkersFromRanges','_hasContent','isEnabled','push','substr','_createCommentThread','4536684MEqYpF','addCommentThread','element','end','getRanges','config','addMarker','$textProxy','selection','schema','getLastMatchingPosition','set','5595527zhlayk','length','CommentsRepository','get','backward','3UAJQtX','4330670kobgwk','change'];_0x72bc=function(){return _0x671064;};return _0x72bc();}export class AddCommentThreadCommand extends _0x5c8294{constructor(_0x1968e0){const _0x19335c=_0x5e1d;super(_0x1968e0),this[_0x19335c(0x1b0)](_0x19335c(0x1b9),!0x1);}[_0x3e3bba(0x19a)](){const _0x1a1441=_0x3e3bba,_0x44c93b=this[_0x1a1441(0x19e)][_0x1a1441(0x18c)][_0x1a1441(0x1bb)][_0x1a1441(0x1ad)];this[_0x1a1441(0x1a1)]=!0x0,this[_0x1a1441(0x1b9)]=!0x1;for(const _0x208919 of _0x44c93b[_0x1a1441(0x1a9)]())if(this[_0x1a1441(0x1a0)](_0x208919))return void(this[_0x1a1441(0x1b9)]=!0x0);}[_0x3e3bba(0x191)]({threadId:_0x593b92=_0x371c3e(),ranges:_0x74946c,comment:_0x1b8c8d}={}){const _0x460280=_0x3e3bba,_0x389f8c=this[_0x460280(0x19e)][_0x460280(0x18c)],_0x595c63=_0x74946c??Array[_0x460280(0x192)](_0x389f8c[_0x460280(0x1bb)][_0x460280(0x1ad)][_0x460280(0x1a9)]()),_0x52e0b6=[];for(const _0x3d8666 of _0x595c63)this[_0x460280(0x1a0)](_0x3d8666)&&_0x52e0b6[_0x460280(0x1a2)](this[_0x460280(0x1bc)](_0x3d8666));if(!_0x52e0b6[_0x460280(0x1b2)])throw new _0xec8ef(_0x460280(0x1bf),null);_0x1b8c8d&&this[_0x460280(0x1a4)](_0x593b92,_0x1b8c8d),this[_0x460280(0x19f)](_0x593b92,_0x52e0b6,!!_0x1b8c8d);}[_0x3e3bba(0x19f)](_0x8f71d1,_0x183f47,_0x390c00){const _0x163df1=_0x3e3bba;this[_0x163df1(0x19e)][_0x163df1(0x18c)][_0x163df1(0x1b8)](_0x4fe5c4=>{const _0x5eaebb=_0x163df1;for(const _0x26d0ab of _0x183f47){const _0x1e12f8=_0x371c3e()[_0x5eaebb(0x1a3)](0x1,0x5),_0xb48371=_0x5eaebb(0x1ba)+_0x8f71d1+':'+_0x1e12f8;_0x4fe5c4[_0x5eaebb(0x1ab)](_0xb48371,{'range':_0x26d0ab,'usingOperation':_0x390c00,'affectsData':_0x390c00});}});}[_0x3e3bba(0x1a4)](_0xc151c2,_0x312f20){const _0x510776=_0x3e3bba,_0x2a57dc=this[_0x510776(0x19e)][_0x510776(0x19c)][_0x510776(0x1b4)](_0x510776(0x1b3)),_0x430a34=this[_0x510776(0x19e)][_0x510776(0x1aa)][_0x510776(0x1b4)](_0x510776(0x1bd)),_0x28c572=this[_0x510776(0x19e)][_0x510776(0x19c)][_0x510776(0x1b4)](_0x510776(0x199))['me'];if(!_0x28c572)throw new _0xec8ef(_0x510776(0x1c0),null);_0x2a57dc[_0x510776(0x1a6)]({'threadId':_0xc151c2,'channelId':_0x430a34,'comments':[{'authorId':_0x28c572['id'],'content':_0x312f20,'createdAt':new Date(),'attributes':{}}]});}[_0x3e3bba(0x1a0)](_0x44f578){const _0x5e60cd=_0x3e3bba;for(const _0x11b928 of _0x44f578[_0x5e60cd(0x198)]())if(this[_0x5e60cd(0x1be)](_0x11b928))return!0x0;return!0x1;}[_0x3e3bba(0x1be)](_0x25233e){const _0x364b7f=_0x3e3bba;return _0x25233e['is'](_0x364b7f(0x1ac))||this[_0x364b7f(0x19e)][_0x364b7f(0x18c)][_0x364b7f(0x1ae)][_0x364b7f(0x18f)](_0x25233e)&&!_0x25233e['is'](_0x364b7f(0x1a7),_0x364b7f(0x194));}[_0x3e3bba(0x1bc)](_0x2dd6dc){const _0x4da3b2=_0x3e3bba,_0x3d10f3=_0x400e4b=>!this[_0x4da3b2(0x1be)](_0x400e4b[_0x4da3b2(0x196)]),_0x34b497=_0x2dd6dc[_0x4da3b2(0x19d)][_0x4da3b2(0x1af)](_0x3d10f3),_0x14b2fe=_0x2dd6dc[_0x4da3b2(0x1a8)][_0x4da3b2(0x1af)](_0x3d10f3,{'direction':_0x4da3b2(0x1b5)});return this[_0x4da3b2(0x19e)][_0x4da3b2(0x18c)][_0x4da3b2(0x18e)](_0x34b497,_0x14b2fe);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x303d72=_0x1290;function _0x5c0b(){const _0x549205=['getCommentThread','remove','11697460bXvIqc','CommentsArchive','archivedAt','isActive','length','isOfficialPlugin','listenTo','archivedThreads','findIndex','highest','30078UbdlNe','get','_calculatePosition','isVisible','collection','57tepRVt','has','requires','change:archivedAt','3949184VBfsGG','1694852yfgtrM','86604eLwdVI','stopListening','addCommentThread','init','removeCommentThread','isPremiumPlugin','activate','plugins','pluginName','context','2998152mDMsLZ','649921HqGxfn','add','focus','174dYNZWJ','5heDZMG'];_0x5c0b=function(){return _0x549205;};return _0x5c0b();}(function(_0x203780,_0x3021db){const _0x24fe0e=_0x1290,_0x4c3aff=_0x203780();while(!![]){try{const _0x492a91=-parseInt(_0x24fe0e(0xdb))/0x1+parseInt(_0x24fe0e(0xec))/0x2*(-parseInt(_0x24fe0e(0xf1))/0x3)+parseInt(_0x24fe0e(0xf6))/0x4*(-parseInt(_0x24fe0e(0xdf))/0x5)+-parseInt(_0x24fe0e(0xde))/0x6*(-parseInt(_0x24fe0e(0xf7))/0x7)+parseInt(_0x24fe0e(0xf5))/0x8+-parseInt(_0x24fe0e(0xda))/0x9+parseInt(_0x24fe0e(0xe2))/0xa;if(_0x492a91===_0x3021db)break;else _0x4c3aff['push'](_0x4c3aff['shift']());}catch(_0x5bbf50){_0x4c3aff['push'](_0x4c3aff['shift']());}}}(_0x5c0b,0x507cf));function _0x1290(_0x2ae6e8,_0x505d7c){const _0x5c0bb9=_0x5c0b();return _0x1290=function(_0x12907d,_0x237e23){_0x12907d=_0x12907d-0xd2;let _0x565437=_0x5c0bb9[_0x12907d];return _0x565437;},_0x1290(_0x2ae6e8,_0x505d7c);}import{ContextPlugin as _0xb3976b}from'ckeditor5/src/core.js';import{Collection as _0x40dc03}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x19b07c}from'./commentsrepository.js';import{Annotations as _0x579787}from'../annotations/annotations.js';export class CommentsArchive extends _0xb3976b{static get[_0x303d72(0xd8)](){const _0x266773=_0x303d72;return _0x266773(0xe3);}static get[_0x303d72(0xe7)](){return!0x0;}static get[_0x303d72(0xd5)](){return!0x0;}static get[_0x303d72(0xf3)](){return[_0x19b07c,_0x579787];}constructor(_0x1ff4a8){const _0x5e866d=_0x303d72;super(_0x1ff4a8),this[_0x5e866d(0xe9)]=new _0x40dc03();}[_0x303d72(0xd3)](){const _0x415461=_0x303d72,_0x25721e=this[_0x415461(0xd9)],_0x197b53=_0x25721e[_0x415461(0xd7)][_0x415461(0xed)](_0x19b07c),_0x4cc740=_0x25721e[_0x415461(0xd7)][_0x415461(0xed)](_0x579787);this[_0x415461(0xe8)](_0x197b53,_0x415461(0xd2),(_0x5d50bc,{threadId:_0x34e95a})=>{const _0x50c499=_0x415461,_0x187ef4=_0x197b53[_0x50c499(0xe0)](_0x34e95a);_0x187ef4[_0x50c499(0xe4)]&&this[_0x50c499(0xe9)][_0x50c499(0xdc)](_0x187ef4,this[_0x50c499(0xee)](_0x187ef4[_0x50c499(0xe4)])),this[_0x50c499(0xe8)](_0x187ef4,_0x50c499(0xf4),(_0x2d0b42,_0x4695c8,_0x4965a9)=>{const _0x39db41=_0x50c499;_0x4965a9?this[_0x39db41(0xe9)][_0x39db41(0xf2)](_0x187ef4)||this[_0x39db41(0xe9)][_0x39db41(0xdc)](_0x187ef4,this[_0x39db41(0xee)](_0x187ef4[_0x39db41(0xe4)])):this[_0x39db41(0xe9)][_0x39db41(0xf2)](_0x187ef4)&&this[_0x39db41(0xe9)][_0x39db41(0xe1)](_0x187ef4);});}),this[_0x415461(0xe8)](_0x197b53,_0x415461(0xd4),(_0x31a2dc,{threadId:_0x21d04c})=>{const _0x7b67ed=_0x415461,_0x592df7=_0x197b53[_0x7b67ed(0xe0)](_0x21d04c);this[_0x7b67ed(0xf8)](_0x592df7),this[_0x7b67ed(0xe9)][_0x7b67ed(0xf2)](_0x592df7)&&this[_0x7b67ed(0xe9)][_0x7b67ed(0xe1)](_0x592df7);},{'priority':_0x415461(0xeb)}),this[_0x415461(0xe8)](_0x4cc740[_0x415461(0xf0)],_0x415461(0xdd),(_0x372540,_0x4c1d91)=>{const _0x23e6e0=_0x415461;_0x4c1d91[_0x23e6e0(0xef)]||(_0x4c1d91[_0x23e6e0(0xe5)]=!0x0,_0x4cc740[_0x23e6e0(0xd6)](_0x4c1d91));});}[_0x303d72(0xee)](_0x51997e){const _0x434f10=_0x303d72,_0x4a0654=[...this[_0x434f10(0xe9)]][_0x434f10(0xea)](_0x1943bc=>_0x1943bc[_0x434f10(0xe4)]<_0x51997e);return _0x4a0654>-0x1?_0x4a0654:this[_0x434f10(0xe9)][_0x434f10(0xe6)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a102e=_0xd7e5;(function(_0x368fbf,_0xe2fded){const _0x40d546=_0xd7e5,_0x28539b=_0x368fbf();while(!![]){try{const _0x5d8b27=-parseInt(_0x40d546(0x176))/0x1+-parseInt(_0x40d546(0x146))/0x2+parseInt(_0x40d546(0x14b))/0x3*(parseInt(_0x40d546(0x162))/0x4)+parseInt(_0x40d546(0x12e))/0x5*(-parseInt(_0x40d546(0x13f))/0x6)+-parseInt(_0x40d546(0x14c))/0x7*(parseInt(_0x40d546(0x152))/0x8)+parseInt(_0x40d546(0x170))/0x9+parseInt(_0x40d546(0x156))/0xa;if(_0x5d8b27===_0xe2fded)break;else _0x28539b['push'](_0x28539b['shift']());}catch(_0x6a1aac){_0x28539b['push'](_0x28539b['shift']());}}}(_0xe7be,0x5beab));import'../../theme/commentsarchive.css';function _0xd7e5(_0x532308,_0x130102){const _0xe7be67=_0xe7be();return _0xd7e5=function(_0xd7e52c,_0x2b1de5){_0xd7e52c=_0xd7e52c-0x12a;let _0xd86539=_0xe7be67[_0xd7e52c];return _0xd86539;},_0xd7e5(_0x532308,_0x130102);}import{Plugin as _0x155f48}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x4ee7a6}from'ckeditor5/src/icons.js';function _0xe7be(){const _0x154474=['119776LWDviW','set','Annotations','return','16843870ZTDDTi','_handleNewThread','menuitemcheckbox','includes','find','_visibleAnnotations','bind','isEnabled','forEach','plugins','componentFactory','focusableElements','77068FpGozB','collection','Dialog','source','stop','_toggleDialog','commentsArchive','channelId','splice','_pendingThreads','escape','archivedThreads','set:isVisible','requires','2437371iYKifU','isVisible','COMMENTS_ARCHIVE','length','getByInnerView','_addAnnotationToArchive','505267UnpCDm','CommentsArchiveUI','findIndex','init','isOn','CommentsRepository','_hideDialogOnAnnotationEscape','10PayZaE','execute','config','annotationViews','pluginName','_createCommentsArchiveButton','archivedAt','indexOf','show','push','add','EDITOR_TOP_SIDE','commentsArchiveView','remove','_threadToController','collaboration.channelId','editor','1227426sNEBMu','isOpen','_calculatePosition','get','stopListening','view','innerView','665912dbMkQJ','filter','hide','menuBar:commentsArchive','locale','30JPTttL','245vmoakA','listenTo','has','tooltip','isPremiumPlugin','isOfficialPlugin'];_0xe7be=function(){return _0x154474;};return _0xe7be();}import{ViewCollection as _0x3bb5ab,MenuBarMenuListItemButtonView as _0x116a75,ButtonView as _0x194fba,Dialog as _0x2c2da0,DialogViewPosition as _0x59b2a0}from'ckeditor5/src/ui.js';import{getTranslation as _0x53ef26}from'../utils/common-translations.js';import{CommentsArchiveView as _0x2384ab}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x245ec3}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x155f48{[_0x3a102e(0x13a)];[_0x3a102e(0x131)];[_0x3a102e(0x16b)];static get[_0x3a102e(0x132)](){const _0x2ee895=_0x3a102e;return _0x2ee895(0x177);}static get[_0x3a102e(0x151)](){return!0x0;}static get[_0x3a102e(0x150)](){return!0x0;}static get[_0x3a102e(0x16f)](){return[_0x245ec3,_0x2c2da0];}constructor(_0x2eb339){const _0x177305=_0x3a102e;super(_0x2eb339),this[_0x177305(0x131)]=new _0x3bb5ab(),this[_0x177305(0x16b)]=[];}[_0x3a102e(0x12a)](){const _0x590c76=_0x3a102e,_0x24364e=this[_0x590c76(0x13e)],_0x442e69=this[_0x590c76(0x12d)][_0x590c76(0x15c)](this);_0x24364e['ui'][_0x590c76(0x160)][_0x590c76(0x138)](_0x590c76(0x168),()=>this[_0x590c76(0x133)](_0x194fba,!0x0)),_0x24364e['ui'][_0x590c76(0x160)][_0x590c76(0x138)](_0x590c76(0x149),()=>{const _0xbdfec5=_0x590c76,_0x54ec12=this[_0xbdfec5(0x133)](_0x116a75);return _0x54ec12[_0xbdfec5(0x153)]({'role':_0xbdfec5(0x158)}),_0x54ec12;});const _0x42b63f=_0x24364e[_0x590c76(0x15f)][_0x590c76(0x142)](_0x245ec3),_0x5730a0=_0x24364e[_0x590c76(0x15f)][_0x590c76(0x142)](_0x590c76(0x154)),_0x56b723=_0x24364e[_0x590c76(0x15f)][_0x590c76(0x142)](_0x590c76(0x12c));_0x42b63f[_0x590c76(0x16d)][_0x590c76(0x15e)](_0x3b9209=>{const _0x5d44da=_0x590c76;this[_0x5d44da(0x157)](_0x3b9209);}),this[_0x590c76(0x14d)](_0x42b63f[_0x590c76(0x16d)],_0x590c76(0x138),(_0x55b465,_0x4aa77d)=>{const _0x4e886e=_0x590c76;this[_0x4e886e(0x157)](_0x4aa77d);}),this[_0x590c76(0x14d)](_0x5730a0[_0x590c76(0x163)],_0x590c76(0x138),(_0x208ac7,_0x5d48dd)=>{const _0x299165=_0x590c76,_0x3530f2=this[_0x299165(0x16b)][_0x299165(0x15a)](_0x3b47f1=>{const _0x164f72=_0x299165,_0x3e2fb5=_0x56b723[_0x164f72(0x13c)][_0x164f72(0x142)](_0x3b47f1);return _0x3e2fb5&&_0x5d48dd[_0x164f72(0x145)]===_0x3e2fb5[_0x164f72(0x144)];});if(_0x3530f2){const _0x5cbb9a=this[_0x299165(0x141)](_0x3530f2[_0x299165(0x134)]);this[_0x299165(0x175)](_0x5d48dd,_0x5cbb9a),this[_0x299165(0x16b)][_0x299165(0x16a)](this[_0x299165(0x16b)][_0x299165(0x135)](_0x3530f2),0x1);}}),this[_0x590c76(0x14d)](_0x42b63f[_0x590c76(0x16d)],_0x590c76(0x13b),(_0x1b04a6,_0xa92f78)=>{const _0x4b921c=_0x590c76,_0x44aadf=_0x24364e[_0x4b921c(0x130)][_0x4b921c(0x142)](_0x4b921c(0x13d));if(!_0x44aadf||_0xa92f78[_0x4b921c(0x169)]===_0x44aadf){if(this[_0x4b921c(0x16b)][_0x4b921c(0x159)](_0xa92f78))this[_0x4b921c(0x16b)][_0x4b921c(0x16a)](this[_0x4b921c(0x16b)][_0x4b921c(0x135)](_0xa92f78),0x1);else{const _0x4a91d7=_0x56b723[_0x4b921c(0x13c)][_0x4b921c(0x142)](_0xa92f78),_0x3ff331=_0x5730a0[_0x4b921c(0x174)](_0x4a91d7[_0x4b921c(0x144)]);this[_0x4b921c(0x131)][_0x4b921c(0x13b)](_0x3ff331[_0x4b921c(0x144)]),this[_0x4b921c(0x143)](_0x3ff331),this[_0x4b921c(0x143)](_0x3ff331[_0x4b921c(0x161)]);}}}),this[_0x590c76(0x14d)](_0x5730a0[_0x590c76(0x163)],_0x590c76(0x138),(_0x801a5c,_0x2581de)=>{const _0x4869c7=_0x590c76;this[_0x4869c7(0x14d)](_0x2581de,_0x4869c7(0x16c),_0x442e69);}),this[_0x590c76(0x14d)](_0x5730a0[_0x590c76(0x163)],_0x590c76(0x13b),(_0x260656,_0x1bd358)=>{const _0x4d45a8=_0x590c76;this[_0x4d45a8(0x143)](_0x1bd358,_0x4d45a8(0x16c),_0x442e69);});}[_0x3a102e(0x175)](_0x196dd,_0x2c5be0){const _0x572290=_0x3a102e;this[_0x572290(0x14d)](_0x196dd,_0x572290(0x16e),_0x15a7dd=>{const _0x102e39=_0x572290;_0x15a7dd[_0x102e39(0x155)]=!0x1,_0x15a7dd[_0x102e39(0x166)]();}),this[_0x572290(0x131)][_0x572290(0x138)](_0x196dd[_0x572290(0x144)],_0x2c5be0);}[_0x3a102e(0x157)](_0x5552a9){const _0x32bfb8=_0x3a102e,_0x452ca5=this[_0x32bfb8(0x13e)][_0x32bfb8(0x15f)][_0x32bfb8(0x142)](_0x32bfb8(0x12c)),_0x698a4a=this[_0x32bfb8(0x13e)][_0x32bfb8(0x15f)][_0x32bfb8(0x142)](_0x32bfb8(0x154)),_0xda9129=this[_0x32bfb8(0x13e)][_0x32bfb8(0x130)][_0x32bfb8(0x142)](_0x32bfb8(0x13d));if(!_0xda9129||_0x5552a9[_0x32bfb8(0x169)]===_0xda9129){const _0x1b4ace=_0x452ca5[_0x32bfb8(0x13c)][_0x32bfb8(0x142)](_0x5552a9);if(!_0x1b4ace)return void this[_0x32bfb8(0x16b)][_0x32bfb8(0x137)](_0x5552a9);const _0x4d4d07=this[_0x32bfb8(0x141)](_0x5552a9[_0x32bfb8(0x134)]),_0x32276a=_0x698a4a[_0x32bfb8(0x174)](_0x1b4ace[_0x32bfb8(0x144)]);_0x32276a[_0x32bfb8(0x171)]&&_0x698a4a[_0x32bfb8(0x15b)][_0x32bfb8(0x13b)](_0x32276a),this[_0x32bfb8(0x175)](_0x32276a,_0x4d4d07);}}[_0x3a102e(0x141)](_0x261d51){const _0x500ae1=_0x3a102e,_0x3cf2c5=this[_0x500ae1(0x13e)][_0x500ae1(0x130)][_0x500ae1(0x142)](_0x500ae1(0x13d)),_0x446577=[...this[_0x500ae1(0x13e)][_0x500ae1(0x15f)][_0x500ae1(0x142)](_0x245ec3)[_0x500ae1(0x16d)]][_0x500ae1(0x147)](_0x14cc02=>_0x14cc02[_0x500ae1(0x169)]===_0x3cf2c5)[_0x500ae1(0x178)](_0x10a8bd=>_0x10a8bd[_0x500ae1(0x134)]<_0x261d51);return _0x446577<0x0||_0x446577>this[_0x500ae1(0x131)][_0x500ae1(0x173)]?this[_0x500ae1(0x131)][_0x500ae1(0x173)]:_0x446577-0x1;}[_0x3a102e(0x167)](){const _0x145d77=_0x3a102e,_0x5f27f8=this[_0x145d77(0x13e)],_0x4bc0fb=_0x5f27f8[_0x145d77(0x15f)][_0x145d77(0x142)](_0x145d77(0x164));this[_0x145d77(0x13a)]||(this[_0x145d77(0x13a)]=new _0x2384ab(_0x5f27f8[_0x145d77(0x14a)],this[_0x145d77(0x131)])),_0x145d77(0x168)===_0x4bc0fb['id']?_0x4bc0fb[_0x145d77(0x148)]():_0x4bc0fb[_0x145d77(0x136)]({'id':_0x145d77(0x168),'title':_0x53ef26(_0x5f27f8[_0x145d77(0x14a)],_0x145d77(0x172)),'icon':_0x4ee7a6,'hasCloseButton':!0x0,'content':this[_0x145d77(0x13a)],'position':_0x59b2a0[_0x145d77(0x139)]});}[_0x3a102e(0x133)](_0x259024,_0x26c97b=!0x1){const _0x93a59=_0x3a102e,_0xd9466=this[_0x93a59(0x13e)][_0x93a59(0x14a)],_0x146c38=this[_0x93a59(0x13e)][_0x93a59(0x15f)][_0x93a59(0x142)](_0x93a59(0x164)),_0x57122c=new _0x259024(_0xd9466);return _0x57122c[_0x93a59(0x15c)](_0x93a59(0x15d))['to'](this,_0x93a59(0x15d)),_0x57122c[_0x93a59(0x15c)](_0x93a59(0x12b))['to'](_0x146c38,'id',_0x15ced0=>_0x93a59(0x168)===_0x15ced0),_0x57122c[_0x93a59(0x153)]({'label':_0x53ef26(_0xd9466,_0x93a59(0x172)),'icon':_0x4ee7a6,'isToggleable':!0x0}),_0x26c97b&&(_0x57122c[_0x93a59(0x14f)]=!0x0),this[_0x93a59(0x14d)](_0x57122c,_0x93a59(0x12f),()=>this[_0x93a59(0x167)]()),_0x57122c;}[_0x3a102e(0x12d)]=_0x163cfd=>{const _0x157ff1=_0x3a102e,_0x45b1b4=_0x163cfd[_0x157ff1(0x165)];if(!this[_0x157ff1(0x131)][_0x157ff1(0x14e)](_0x45b1b4[_0x157ff1(0x144)]))return;const _0x300745=this[_0x157ff1(0x13e)][_0x157ff1(0x15f)][_0x157ff1(0x142)](_0x157ff1(0x164));_0x300745[_0x157ff1(0x140)]&&_0x157ff1(0x168)===_0x300745['id']&&(_0x300745[_0x157ff1(0x148)](),_0x163cfd[_0x157ff1(0x166)]());};}
|