@ckeditor/ckeditor5-comments 46.0.0 → 46.0.1-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-editor.css +5 -5
- package/dist/index.css +49 -49
- 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.d.ts +1 -8
- 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.d.ts +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.d.ts +12 -0
- package/src/utils/splitmarkername.js +23 -0
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x17a1(){const _0x5a87ef=['change:targetRect','_recalculateBuffer','getIndex','targetRect','max','init','locale','element','28qdBAjz','set','_alignForBottomChange','2643282TNujRT','nodeType','context','_spaceBetweenItems','_targetTop','add','destroy','delete','class','bind','config','appendChild','define','rearrange','render','get','setContainer','unbind','_getItemAfter','Sidebar','74298xaYESZ','_detachFromContainer','_alignForTopChange','last','view','sidebar.preventScrollOutOfView','_destroySidebarItemView','4158810MfrfJa','clear','_annotations','_createSidebarView','sidebar-setcontainer-invalid-element','_activeAnnotation','stopListening','addAnnotation','list','_getItemBefore','remove','1524162qgHyvt','minHeight','_sidebarItemViewToAnnotation','217hiHQoo','content','5QaIszf','sidebar.container','getSidebarItemView','_getTargetTop','isAnimationDisabled','_getMaxAvailableTop','672380WNTivj','updateHeight','target','pluginName','isActive','push','isPremiumPlugin','isOfficialPlugin','24616aflViS','container','_alignAfterItem','sidebar-attachtocontainer-missing-container','_alignToTargetRect','_attachToContainer','top','_setItemTop','bottom','_annotationToSidebarItemView','change:top','_recalculate','change:bottom','change:_lastItem','_updateLastItem','refresh','height','length','_alignBeforeItem','listenTo','582997vgVAlK','object','_lastItem'];_0x17a1=function(){return _0x5a87ef;};return _0x17a1();}const _0x3be1e3=_0x355b;(function(_0x2e2bd0,_0x2ea5f9){const _0x76dfb1=_0x355b,_0x1156aa=_0x2e2bd0();while(!![]){try{const _0x3aaf34=parseInt(_0x76dfb1(0x11c))/0x1+-parseInt(_0x76dfb1(0x127))/0x2*(parseInt(_0x76dfb1(0x13e))/0x3)+-parseInt(_0x76dfb1(0x100))/0x4+-parseInt(_0x76dfb1(0xfa))/0x5*(-parseInt(_0x76dfb1(0x150))/0x6)+parseInt(_0x76dfb1(0xf8))/0x7*(-parseInt(_0x76dfb1(0x108))/0x8)+-parseInt(_0x76dfb1(0x12a))/0x9+parseInt(_0x76dfb1(0x145))/0xa;if(_0x3aaf34===_0x2ea5f9)break;else _0x1156aa['push'](_0x1156aa['shift']());}catch(_0x4b42cc){_0x1156aa['push'](_0x1156aa['shift']());}}}(_0x17a1,0x55349));import{ContextPlugin as _0x55ed71}from'ckeditor5/src/core.js';import{Rect as _0x11d021,CKEditorError as _0x26c6f9}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0xed0bff}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x55e4e8}from'./view/sidebaritemview.js';function _0x355b(_0x51591e,_0x1c83f0){const _0x17a1ba=_0x17a1();return _0x355b=function(_0x355b87,_0x42fe2b){_0x355b87=_0x355b87-0xf6;let _0x4fa295=_0x17a1ba[_0x355b87];return _0x4fa295;},_0x355b(_0x51591e,_0x1c83f0);}export class Sidebar extends _0x55ed71{[_0x3be1e3(0x142)];[_0x3be1e3(0x14a)];[_0x3be1e3(0x147)];[_0x3be1e3(0x12d)];[_0x3be1e3(0xf7)];[_0x3be1e3(0x111)];[_0x3be1e3(0x120)];static get[_0x3be1e3(0x103)](){const _0x2fc203=_0x3be1e3;return _0x2fc203(0x13d);}static get[_0x3be1e3(0x107)](){return!0x0;}static get[_0x3be1e3(0x106)](){return!0x0;}constructor(_0x546dd2){const _0x1e199f=_0x3be1e3;super(_0x546dd2),this[_0x1e199f(0x128)](_0x1e199f(0x11e),void 0x0),this[_0x1e199f(0x142)]=this[_0x1e199f(0x148)](),this[_0x1e199f(0x128)](_0x1e199f(0x109),null),this[_0x1e199f(0x12d)]=0x19,this[_0x1e199f(0xf7)]=new Map(),this[_0x1e199f(0x111)]=new Map(),this[_0x1e199f(0x12c)][_0x1e199f(0x134)][_0x1e199f(0x136)](_0x1e199f(0x143),!0x1),this[_0x1e199f(0x147)]=null,this[_0x1e199f(0x14a)]=null,this[_0x1e199f(0x120)]=[];}[_0x3be1e3(0x124)](){const _0x48a0cc=_0x3be1e3,_0x4d671a=this[_0x48a0cc(0x12c)][_0x48a0cc(0x134)][_0x48a0cc(0x139)](_0x48a0cc(0xfb));_0x4d671a&&this[_0x48a0cc(0x13a)](_0x4d671a);}[_0x3be1e3(0x13a)](_0x1a9f8f){const _0x8282af=_0x3be1e3;if(!g(_0x1a9f8f))throw new _0x26c6f9(_0x8282af(0x149));this[_0x8282af(0x109)]=_0x1a9f8f;}[_0x3be1e3(0x10d)]({viewClass:_0x1fe959='',spaceBetweenItems:_0x96d7a4=0x19}={}){const _0xda5245=_0x3be1e3;if(!g(this[_0xda5245(0x109)]))throw new _0x26c6f9(_0xda5245(0x10b),this);this[_0xda5245(0x109)][_0xda5245(0x135)](this[_0xda5245(0x142)][_0xda5245(0x126)]),this[_0xda5245(0x142)][_0xda5245(0x132)]=_0x1fe959,this[_0xda5245(0x12d)]=_0x96d7a4;}[_0x3be1e3(0x137)]({removedAnnotation:_0x2b7249,previousAnnotation:_0x560f66,nextAnnotation:_0x10c982}){const _0x52214f=_0x3be1e3,_0x5832e1=this[_0x52214f(0xfc)](_0x2b7249);this[_0x52214f(0x142)][_0x52214f(0x14d)][_0x52214f(0x14f)](_0x5832e1),this[_0x52214f(0x144)](_0x2b7249),_0x560f66&&this[_0x52214f(0x10c)](this[_0x52214f(0xfc)](_0x560f66)),_0x10c982&&this[_0x52214f(0x10c)](this[_0x52214f(0xfc)](_0x10c982)),this[_0x52214f(0x116)]();}[_0x3be1e3(0x117)]({blurredAnnotation:_0xd8790d,activatedAnnotation:_0x336ed4,disableAnimationOnActivatedAnnotation:_0x5ca42c}){const _0x47e4b3=_0x3be1e3;if(this[_0x47e4b3(0x14a)]=_0x336ed4,_0xd8790d){_0xd8790d[_0x47e4b3(0x104)]=!0x1;const _0x4e6ee5=this[_0x47e4b3(0xfc)](_0xd8790d);_0x4e6ee5&&_0x5ca42c&&(_0x4e6ee5[_0x47e4b3(0xfe)]=!0x1);}if(_0x336ed4){const _0x1ee917=this[_0x47e4b3(0xfc)](_0x336ed4);_0x1ee917&&(_0x336ed4[_0x47e4b3(0x104)]=!0x0,_0x5ca42c&&(_0x1ee917[_0x47e4b3(0xfe)]=!0x0,_0x1ee917[_0x47e4b3(0x10e)]+=0x1),this[_0x47e4b3(0x10c)](_0x1ee917));}}[_0x3be1e3(0x13f)](_0x411c79){const _0xa882da=_0x3be1e3;if(this[_0xa882da(0x142)][_0xa882da(0x126)][_0xa882da(0x14f)](),_0x411c79){for(const _0x1a50f7 of _0x411c79)this[_0xa882da(0x144)](_0x1a50f7);}this[_0xa882da(0x142)][_0xa882da(0x14d)][_0xa882da(0x146)](),this[_0xa882da(0x142)][_0xa882da(0x132)]='',this[_0xa882da(0x11e)]=null;}[_0x3be1e3(0x14c)](_0x3f1582,_0xb9c7b2){const _0x45eeb1=_0x3be1e3;_0xb9c7b2||(_0xb9c7b2=_0x3f1582[_0x45eeb1(0x142)]);const _0x19c7dc=new _0x55e4e8(this[_0x45eeb1(0x12c)][_0x45eeb1(0x125)]);this[_0x45eeb1(0xf7)][_0x45eeb1(0x128)](_0x19c7dc,_0x3f1582),this[_0x45eeb1(0x111)][_0x45eeb1(0x128)](_0x3f1582,_0x19c7dc),_0x19c7dc[_0x45eeb1(0xf9)][_0x45eeb1(0x12f)](_0xb9c7b2),this[_0x45eeb1(0x11b)](_0x3f1582[_0x45eeb1(0x142)],_0x45eeb1(0x11f),(_0x28ae45,_0x3555a3,_0x2622a1)=>{const _0x18731e=_0x45eeb1,_0x4bd7c5=this[_0x18731e(0xfd)](_0x3f1582,_0x2622a1);_0x19c7dc[_0x18731e(0x12e)]!=_0x4bd7c5&&(_0x19c7dc[_0x18731e(0x12e)]=_0x4bd7c5,this[_0x18731e(0x10f)](_0x19c7dc,_0x4bd7c5));}),this[_0x45eeb1(0x11b)](_0x19c7dc,_0x45eeb1(0x112),()=>{const _0x4b81b7=_0x45eeb1;this[_0x4b81b7(0x113)](_0x19c7dc,_0x4b81b7(0x10e));}),this[_0x45eeb1(0x11b)](_0x19c7dc,_0x45eeb1(0x114),()=>{const _0x20be6e=_0x45eeb1;this[_0x20be6e(0x113)](_0x19c7dc,_0x20be6e(0x110));}),this[_0x45eeb1(0x10c)](_0x19c7dc);const _0x5a811c=this[_0x45eeb1(0x14e)](_0x19c7dc);if(_0x5a811c)this[_0x45eeb1(0x10a)](_0x5a811c,_0x19c7dc)||this[_0x45eeb1(0x10c)](_0x19c7dc);else this[_0x45eeb1(0x10c)](_0x19c7dc);return this[_0x45eeb1(0x116)](),this[_0x45eeb1(0x142)][_0x45eeb1(0x14d)][_0x45eeb1(0x12f)](_0x19c7dc),_0x19c7dc;}[_0x3be1e3(0x140)](_0x5719cf){const _0x1b66cc=_0x3be1e3;if(!_0x5719cf[_0x1b66cc(0xf9)][_0x1b66cc(0x119)])return;const _0x4785aa=this[_0x1b66cc(0x14e)](_0x5719cf);if(!_0x4785aa)return;const _0x197673=this[_0x1b66cc(0xf7)][_0x1b66cc(0x139)](_0x4785aa),_0x8c66f8=this[_0x1b66cc(0x14a)];_0x8c66f8&&_0x8c66f8===_0x197673?this[_0x1b66cc(0x10a)](_0x4785aa,_0x5719cf):this[_0x1b66cc(0x11a)](_0x5719cf,_0x4785aa);}[_0x3be1e3(0x129)](_0x2754f8){const _0x3032d3=_0x3be1e3;if(!_0x2754f8[_0x3032d3(0xf9)][_0x3032d3(0x119)])return;const _0x1410aa=this[_0x3032d3(0x13c)](_0x2754f8);if(!_0x1410aa)return;const _0x143ac8=this[_0x3032d3(0xf7)][_0x3032d3(0x139)](_0x1410aa),_0x22c71e=this[_0x3032d3(0x12c)][_0x3032d3(0x134)][_0x3032d3(0x139)](_0x3032d3(0x143)),_0x3d8630=this[_0x3032d3(0x14a)];_0x3d8630&&_0x3d8630===_0x143ac8&&_0x22c71e?(this[_0x3032d3(0x11a)](_0x1410aa,_0x2754f8),this[_0x3032d3(0x10a)](_0x2754f8,_0x1410aa)):_0x3d8630&&_0x3d8630===_0x143ac8?this[_0x3032d3(0x11a)](_0x1410aa,_0x2754f8):this[_0x3032d3(0x10a)](_0x2754f8,_0x1410aa);}[_0x3be1e3(0x113)](_0x474650,_0x51f172){const _0x117c2e=_0x3be1e3;0x0===this[_0x117c2e(0x120)][_0x117c2e(0x119)]&&setTimeout(()=>{const _0x3a969d=_0x117c2e;for(const {sidebarItemView:_0x4b4dd6,changedProp:_0xcc78df}of this[_0x3a969d(0x120)])_0x3a969d(0x10e)===_0xcc78df?this[_0x3a969d(0x140)](_0x4b4dd6):this[_0x3a969d(0x129)](_0x4b4dd6);this[_0x3a969d(0x120)]=[];},0xa),this[_0x117c2e(0x120)][_0x117c2e(0x105)]({'sidebarItemView':_0x474650,'changedProp':_0x51f172});}[_0x3be1e3(0xfc)](_0x3a1935){const _0x1bb97f=_0x3be1e3;return this[_0x1bb97f(0x111)][_0x1bb97f(0x139)](_0x3a1935);}[_0x3be1e3(0x130)](){const _0x437957=_0x3be1e3;this[_0x437957(0x14b)](),this[_0x437957(0x142)][_0x437957(0x130)]();}[_0x3be1e3(0x144)](_0x3dffd2){const _0x30492e=_0x3be1e3,_0x30ffef=this[_0x30492e(0xfc)](_0x3dffd2);this[_0x30492e(0x14b)](_0x30ffef),this[_0x30492e(0x14b)](_0x3dffd2[_0x30492e(0x142)]),_0x30ffef[_0x30492e(0x130)](),this[_0x30492e(0x111)][_0x30492e(0x131)](_0x3dffd2),this[_0x30492e(0xf7)][_0x30492e(0x131)](_0x30ffef);}[_0x3be1e3(0x148)](){const _0x1f5fe4=_0x3be1e3,_0x4cc3e6=new _0xed0bff(this[_0x1f5fe4(0x12c)][_0x1f5fe4(0x125)]);return _0x4cc3e6[_0x1f5fe4(0x138)](),this['on'](_0x1f5fe4(0x115),(_0x22432a,_0x511eb5,_0x1a5960,_0x2312c3)=>{const _0x139b67=_0x1f5fe4;_0x2312c3&&_0x4cc3e6[_0x139b67(0x13b)](_0x139b67(0xf6)),_0x1a5960?_0x4cc3e6[_0x139b67(0x133)](_0x139b67(0xf6))['to'](_0x1a5960,_0x139b67(0x110)):_0x4cc3e6[_0x139b67(0xf6)]=null;}),_0x4cc3e6;}[_0x3be1e3(0x116)](){const _0x4145d5=_0x3be1e3;this[_0x4145d5(0x11e)]=this[_0x4145d5(0x147)]?.[_0x4145d5(0x141)]?this[_0x4145d5(0xfc)](this[_0x4145d5(0x147)][_0x4145d5(0x141)]):null;}[_0x3be1e3(0x14e)](_0x5192ec){const _0x368b59=_0x3be1e3,_0x526adf=this[_0x368b59(0xf7)][_0x368b59(0x139)](_0x5192ec),_0x39d067=_0x526adf&&this[_0x368b59(0x147)]?.[_0x368b59(0x139)](this[_0x368b59(0x147)][_0x368b59(0x121)](_0x526adf)-0x1);return _0x39d067&&this[_0x368b59(0xfc)](_0x39d067)||null;}[_0x3be1e3(0x13c)](_0x2d4cc1){const _0x36a347=_0x3be1e3,_0x432215=this[_0x36a347(0xf7)][_0x36a347(0x139)](_0x2d4cc1),_0x28451c=_0x432215&&this[_0x36a347(0x147)]?.[_0x36a347(0x139)](this[_0x36a347(0x147)][_0x36a347(0x121)](_0x432215)+0x1);return _0x28451c&&this[_0x36a347(0xfc)](_0x28451c)||null;}[_0x3be1e3(0x11a)](_0x1fd204,_0x20d223){const _0x28b658=_0x3be1e3;_0x1fd204[_0x28b658(0x101)]();const _0x4fd8fd=G(_0x20d223[_0x28b658(0x110)]+this[_0x28b658(0x12d)],_0x1fd204[_0x28b658(0x10e)]);return!!_0x4fd8fd&&(this[_0x28b658(0x10f)](_0x20d223,_0x20d223[_0x28b658(0x10e)]-_0x4fd8fd),!0x0);}[_0x3be1e3(0x10a)](_0x4e4051,_0x3e10d7){const _0x1b6279=_0x3be1e3;_0x4e4051[_0x1b6279(0x101)]();const _0xaeb2c8=G(_0x4e4051[_0x1b6279(0x110)]+this[_0x1b6279(0x12d)],_0x3e10d7[_0x1b6279(0x10e)]);return!!_0xaeb2c8&&(this[_0x1b6279(0x10f)](_0x3e10d7,_0x3e10d7[_0x1b6279(0x10e)]+_0xaeb2c8,!0x1),!0x0);}[_0x3be1e3(0x10c)](_0x1c28ba){const _0x425dbb=_0x3be1e3,_0xa0df45=this[_0x425dbb(0xf7)][_0x425dbb(0x139)](_0x1c28ba);if(!_0xa0df45||!_0xa0df45[_0x425dbb(0x102)]||!_0xa0df45[_0x425dbb(0x122)])return;const _0x2cf422=this[_0x425dbb(0xfd)](_0xa0df45,_0xa0df45[_0x425dbb(0x122)]);this[_0x425dbb(0x10f)](_0x1c28ba,_0x2cf422);}[_0x3be1e3(0xfd)](_0x123909,_0x21bee6){const _0x5b22cb=_0x3be1e3;if(null===_0x21bee6)return 0x0;if(_0x123909[_0x5b22cb(0x102)]instanceof _0x11d021)return _0x21bee6[_0x5b22cb(0x10e)];{const _0xf8835=new _0x11d021(this[_0x5b22cb(0x142)][_0x5b22cb(0x126)])[_0x5b22cb(0x10e)];return _0x21bee6[_0x5b22cb(0x10e)]-_0xf8835;}}[_0x3be1e3(0x10f)](_0x520244,_0x5cca03,_0x163788=this[_0x3be1e3(0x12c)][_0x3be1e3(0x134)][_0x3be1e3(0x139)](_0x3be1e3(0x143))){const _0x20e7ed=_0x3be1e3;_0x163788&&(_0x5cca03=Math[_0x20e7ed(0x123)](_0x5cca03,this[_0x20e7ed(0xff)](_0x520244))),_0x520244[_0x20e7ed(0x10e)]=_0x5cca03;}[_0x3be1e3(0xff)](_0x1d40ab){const _0x220c0c=_0x3be1e3;let _0x105f42=this[_0x220c0c(0x14e)](_0x1d40ab),_0x172361=0x0;for(;_0x105f42;)_0x105f42[_0x220c0c(0x101)](),_0x172361+=this[_0x220c0c(0x12d)]+_0x105f42[_0x220c0c(0x118)],_0x105f42=this[_0x220c0c(0x14e)](_0x105f42);return _0x172361;}}function G(_0x1744b3,_0x571a09){const _0x48c025=_0x3be1e3;return Math[_0x48c025(0x123)](_0x1744b3-_0x571a09,0x0);}function g(_0x4ae0aa){const _0x9e85ee=_0x3be1e3;return null!==_0x4ae0aa&&_0x9e85ee(0x11d)==typeof _0x4ae0aa&&0x1===_0x4ae0aa[_0x9e85ee(0x12b)];}
|
|
23
|
+
const _0x5f2481=_0x4e2f;(function(_0x4c50ef,_0x45c5c2){const _0xf34a53=_0x4e2f,_0x1c1a5c=_0x4c50ef();while(!![]){try{const _0x2b78ad=parseInt(_0xf34a53(0xc0))/0x1*(parseInt(_0xf34a53(0x89))/0x2)+parseInt(_0xf34a53(0x7f))/0x3*(-parseInt(_0xf34a53(0xa0))/0x4)+parseInt(_0xf34a53(0xb0))/0x5*(parseInt(_0xf34a53(0x76))/0x6)+parseInt(_0xf34a53(0x7a))/0x7*(-parseInt(_0xf34a53(0xaa))/0x8)+-parseInt(_0xf34a53(0x74))/0x9*(parseInt(_0xf34a53(0xc7))/0xa)+parseInt(_0xf34a53(0xca))/0xb*(-parseInt(_0xf34a53(0xa1))/0xc)+parseInt(_0xf34a53(0x8e))/0xd;if(_0x2b78ad===_0x45c5c2)break;else _0x1c1a5c['push'](_0x1c1a5c['shift']());}catch(_0x6257d5){_0x1c1a5c['push'](_0x1c1a5c['shift']());}}}(_0x3118,0xe558e));function _0x3118(){const _0x4b3d09=['isPremiumPlugin','add','181180CLraQx','object','delete','71379kzNWLN','_alignToTargetRect','render','destroy','sidebar.preventScrollOutOfView','_destroySidebarItemView','locale','clear','225SinRCg','_lastItem','274224VbRCWS','change:_lastItem','_alignAfterItem','sidebar-setcontainer-invalid-element','7fkmitz','content','push','isAnimationDisabled','get','16107TewVuM','pluginName','change:top','_targetTop','minHeight','_alignBeforeItem','getSidebarItemView','nodeType','target','getIndex','653390EBNqzv','isActive','config','_updateLastItem','_createSidebarView','68193489VLAzmo','appendChild','remove','_sidebarItemViewToAnnotation','container','_detachFromContainer','max','_getTargetTop','init','_getItemAfter','_attachToContainer','_alignForBottomChange','setContainer','refresh','context','stopListening','_spaceBetweenItems','targetRect','1340ApgXCC','3228edrYYM','Sidebar','change:targetRect','_annotations','height','addAnnotation','_recalculate','unbind','change:bottom','14701392GxHGFS','element','top','length','sidebar.container','_setItemTop','60yYNtuY','last','class','_getItemBefore','set','isOfficialPlugin','rearrange','bottom','define','list','updateHeight','_getMaxAvailableTop','sidebar-attachtocontainer-missing-container','_alignForTopChange','_annotationToSidebarItemView','view','3dkaWrJ','_recalculateBuffer','listenTo','bind','_activeAnnotation'];_0x3118=function(){return _0x4b3d09;};return _0x3118();}import{ContextPlugin as _0x400a5b}from'ckeditor5/src/core.js';import{Rect as _0xb560c0,CKEditorError as _0x3e6ddc}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x1d9da8}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x39f7ba}from'./view/sidebaritemview.js';export class Sidebar extends _0x400a5b{[_0x5f2481(0xbf)];[_0x5f2481(0xc4)];[_0x5f2481(0xa4)];[_0x5f2481(0x9e)];[_0x5f2481(0x91)];[_0x5f2481(0xbe)];[_0x5f2481(0xc1)];static get[_0x5f2481(0x80)](){const _0x40f8f3=_0x5f2481;return _0x40f8f3(0xa2);}static get[_0x5f2481(0xb5)](){return!0x0;}static get[_0x5f2481(0xc5)](){return!0x0;}constructor(_0x3dd00f){const _0x136edb=_0x5f2481;super(_0x3dd00f),this[_0x136edb(0xb4)](_0x136edb(0x75),void 0x0),this[_0x136edb(0xbf)]=this[_0x136edb(0x8d)](),this[_0x136edb(0xb4)](_0x136edb(0x92),null),this[_0x136edb(0x9e)]=0x19,this[_0x136edb(0x91)]=new Map(),this[_0x136edb(0xbe)]=new Map(),this[_0x136edb(0x9c)][_0x136edb(0x8b)][_0x136edb(0xb8)](_0x136edb(0xce),!0x1),this[_0x136edb(0xa4)]=null,this[_0x136edb(0xc4)]=null,this[_0x136edb(0xc1)]=[];}[_0x5f2481(0x96)](){const _0x22a7f5=_0x5f2481,_0x26e124=this[_0x22a7f5(0x9c)][_0x22a7f5(0x8b)][_0x22a7f5(0x7e)](_0x22a7f5(0xae));_0x26e124&&this[_0x22a7f5(0x9a)](_0x26e124);}[_0x5f2481(0x9a)](_0x3b932c){const _0x2c4a2d=_0x5f2481;if(!g(_0x3b932c))throw new _0x3e6ddc(_0x2c4a2d(0x79));this[_0x2c4a2d(0x92)]=_0x3b932c;}[_0x5f2481(0x98)]({viewClass:_0x4bb011='',spaceBetweenItems:_0x593bd3=0x19}={}){const _0x558871=_0x5f2481;if(!g(this[_0x558871(0x92)]))throw new _0x3e6ddc(_0x558871(0xbc),this);this[_0x558871(0x92)][_0x558871(0x8f)](this[_0x558871(0xbf)][_0x558871(0xab)]),this[_0x558871(0xbf)][_0x558871(0xb2)]=_0x4bb011,this[_0x558871(0x9e)]=_0x593bd3;}[_0x5f2481(0xb6)]({removedAnnotation:_0x272589,previousAnnotation:_0x4cdffa,nextAnnotation:_0x31f73a}){const _0x4ea7ad=_0x5f2481,_0x21bb4c=this[_0x4ea7ad(0x85)](_0x272589);this[_0x4ea7ad(0xbf)][_0x4ea7ad(0xb9)][_0x4ea7ad(0x90)](_0x21bb4c),this[_0x4ea7ad(0x71)](_0x272589),_0x4cdffa&&this[_0x4ea7ad(0xcb)](this[_0x4ea7ad(0x85)](_0x4cdffa)),_0x31f73a&&this[_0x4ea7ad(0xcb)](this[_0x4ea7ad(0x85)](_0x31f73a)),this[_0x4ea7ad(0x8c)]();}[_0x5f2481(0x9b)]({blurredAnnotation:_0x396ac9,activatedAnnotation:_0x37cb03,disableAnimationOnActivatedAnnotation:_0x1495a4}){const _0x50b039=_0x5f2481;if(this[_0x50b039(0xc4)]=_0x37cb03,_0x396ac9){_0x396ac9[_0x50b039(0x8a)]=!0x1;const _0x5b87a2=this[_0x50b039(0x85)](_0x396ac9);_0x5b87a2&&_0x1495a4&&(_0x5b87a2[_0x50b039(0x7d)]=!0x1);}if(_0x37cb03){const _0x258784=this[_0x50b039(0x85)](_0x37cb03);_0x258784&&(_0x37cb03[_0x50b039(0x8a)]=!0x0,_0x1495a4&&(_0x258784[_0x50b039(0x7d)]=!0x0,_0x258784[_0x50b039(0xac)]+=0x1),this[_0x50b039(0xcb)](_0x258784));}}[_0x5f2481(0x93)](_0x2f0d73){const _0x553dad=_0x5f2481;if(this[_0x553dad(0xbf)][_0x553dad(0xab)][_0x553dad(0x90)](),_0x2f0d73){for(const _0x2abcf7 of _0x2f0d73)this[_0x553dad(0x71)](_0x2abcf7);}this[_0x553dad(0xbf)][_0x553dad(0xb9)][_0x553dad(0x73)](),this[_0x553dad(0xbf)][_0x553dad(0xb2)]='',this[_0x553dad(0x75)]=null;}[_0x5f2481(0xa6)](_0x22f83e,_0x55ce67){const _0x17d16f=_0x5f2481;_0x55ce67||(_0x55ce67=_0x22f83e[_0x17d16f(0xbf)]);const _0x23ccea=new _0x39f7ba(this[_0x17d16f(0x9c)][_0x17d16f(0x72)]);this[_0x17d16f(0x91)][_0x17d16f(0xb4)](_0x23ccea,_0x22f83e),this[_0x17d16f(0xbe)][_0x17d16f(0xb4)](_0x22f83e,_0x23ccea),_0x23ccea[_0x17d16f(0x7b)][_0x17d16f(0xc6)](_0x55ce67),this[_0x17d16f(0xc2)](_0x22f83e[_0x17d16f(0xbf)],_0x17d16f(0xa3),(_0x4b4957,_0x3b04fb,_0x4d4b85)=>{const _0x56f11e=_0x17d16f,_0x57690e=this[_0x56f11e(0x95)](_0x22f83e,_0x4d4b85);_0x23ccea[_0x56f11e(0x82)]!=_0x57690e&&(_0x23ccea[_0x56f11e(0x82)]=_0x57690e,this[_0x56f11e(0xaf)](_0x23ccea,_0x57690e));}),this[_0x17d16f(0xc2)](_0x23ccea,_0x17d16f(0x81),()=>{const _0x5bcec1=_0x17d16f;this[_0x5bcec1(0xa7)](_0x23ccea,_0x5bcec1(0xac));}),this[_0x17d16f(0xc2)](_0x23ccea,_0x17d16f(0xa9),()=>{const _0x2b9c69=_0x17d16f;this[_0x2b9c69(0xa7)](_0x23ccea,_0x2b9c69(0xb7));}),this[_0x17d16f(0xcb)](_0x23ccea);const _0x596ad0=this[_0x17d16f(0xb3)](_0x23ccea);if(_0x596ad0)this[_0x17d16f(0x78)](_0x596ad0,_0x23ccea)||this[_0x17d16f(0xcb)](_0x23ccea);else this[_0x17d16f(0xcb)](_0x23ccea);return this[_0x17d16f(0x8c)](),this[_0x17d16f(0xbf)][_0x17d16f(0xb9)][_0x17d16f(0xc6)](_0x23ccea),_0x23ccea;}[_0x5f2481(0xbd)](_0x4d8f43){const _0x3b20cb=_0x5f2481;if(!_0x4d8f43[_0x3b20cb(0x7b)][_0x3b20cb(0xad)])return;const _0x3fe298=this[_0x3b20cb(0xb3)](_0x4d8f43);if(!_0x3fe298)return;const _0x3ef993=this[_0x3b20cb(0x91)][_0x3b20cb(0x7e)](_0x3fe298),_0x47dbca=this[_0x3b20cb(0xc4)];_0x47dbca&&_0x47dbca===_0x3ef993?this[_0x3b20cb(0x78)](_0x3fe298,_0x4d8f43):this[_0x3b20cb(0x84)](_0x4d8f43,_0x3fe298);}[_0x5f2481(0x99)](_0xe234e){const _0x4bb87d=_0x5f2481;if(!_0xe234e[_0x4bb87d(0x7b)][_0x4bb87d(0xad)])return;const _0xf84265=this[_0x4bb87d(0x97)](_0xe234e);if(!_0xf84265)return;const _0xc95860=this[_0x4bb87d(0x91)][_0x4bb87d(0x7e)](_0xf84265),_0x39f98b=this[_0x4bb87d(0x9c)][_0x4bb87d(0x8b)][_0x4bb87d(0x7e)](_0x4bb87d(0xce)),_0x1a90b2=this[_0x4bb87d(0xc4)];_0x1a90b2&&_0x1a90b2===_0xc95860&&_0x39f98b?(this[_0x4bb87d(0x84)](_0xf84265,_0xe234e),this[_0x4bb87d(0x78)](_0xe234e,_0xf84265)):_0x1a90b2&&_0x1a90b2===_0xc95860?this[_0x4bb87d(0x84)](_0xf84265,_0xe234e):this[_0x4bb87d(0x78)](_0xe234e,_0xf84265);}[_0x5f2481(0xa7)](_0xa698,_0x20b93b){const _0x135a98=_0x5f2481;0x0===this[_0x135a98(0xc1)][_0x135a98(0xad)]&&setTimeout(()=>{const _0x555ffa=_0x135a98;for(const {sidebarItemView:_0xa0ecd0,changedProp:_0x17733f}of this[_0x555ffa(0xc1)])_0x555ffa(0xac)===_0x17733f?this[_0x555ffa(0xbd)](_0xa0ecd0):this[_0x555ffa(0x99)](_0xa0ecd0);this[_0x555ffa(0xc1)]=[];},0xa),this[_0x135a98(0xc1)][_0x135a98(0x7c)]({'sidebarItemView':_0xa698,'changedProp':_0x20b93b});}[_0x5f2481(0x85)](_0x1c3e80){const _0x1338d9=_0x5f2481;return this[_0x1338d9(0xbe)][_0x1338d9(0x7e)](_0x1c3e80);}[_0x5f2481(0xcd)](){const _0x423ccd=_0x5f2481;this[_0x423ccd(0x9d)](),this[_0x423ccd(0xbf)][_0x423ccd(0xcd)]();}[_0x5f2481(0x71)](_0x912e2){const _0x57b133=_0x5f2481,_0x3733ce=this[_0x57b133(0x85)](_0x912e2);this[_0x57b133(0x9d)](_0x3733ce),this[_0x57b133(0x9d)](_0x912e2[_0x57b133(0xbf)]),_0x3733ce[_0x57b133(0xcd)](),this[_0x57b133(0xbe)][_0x57b133(0xc9)](_0x912e2),this[_0x57b133(0x91)][_0x57b133(0xc9)](_0x3733ce);}[_0x5f2481(0x8d)](){const _0x38420a=_0x5f2481,_0x467895=new _0x1d9da8(this[_0x38420a(0x9c)][_0x38420a(0x72)]);return _0x467895[_0x38420a(0xcc)](),this['on'](_0x38420a(0x77),(_0x42170f,_0xdc9e83,_0x58606a,_0x267e09)=>{const _0x165fc3=_0x38420a;_0x267e09&&_0x467895[_0x165fc3(0xa8)](_0x165fc3(0x83)),_0x58606a?_0x467895[_0x165fc3(0xc3)](_0x165fc3(0x83))['to'](_0x58606a,_0x165fc3(0xb7)):_0x467895[_0x165fc3(0x83)]=null;}),_0x467895;}[_0x5f2481(0x8c)](){const _0x3f3afc=_0x5f2481;this[_0x3f3afc(0x75)]=this[_0x3f3afc(0xa4)]?.[_0x3f3afc(0xb1)]?this[_0x3f3afc(0x85)](this[_0x3f3afc(0xa4)][_0x3f3afc(0xb1)]):null;}[_0x5f2481(0xb3)](_0x2e7622){const _0x337f65=_0x5f2481,_0x19de4e=this[_0x337f65(0x91)][_0x337f65(0x7e)](_0x2e7622),_0x505ac1=_0x19de4e&&this[_0x337f65(0xa4)]?.[_0x337f65(0x7e)](this[_0x337f65(0xa4)][_0x337f65(0x88)](_0x19de4e)-0x1);return _0x505ac1&&this[_0x337f65(0x85)](_0x505ac1)||null;}[_0x5f2481(0x97)](_0x5105e6){const _0x3d73df=_0x5f2481,_0x4a75e7=this[_0x3d73df(0x91)][_0x3d73df(0x7e)](_0x5105e6),_0x4181e4=_0x4a75e7&&this[_0x3d73df(0xa4)]?.[_0x3d73df(0x7e)](this[_0x3d73df(0xa4)][_0x3d73df(0x88)](_0x4a75e7)+0x1);return _0x4181e4&&this[_0x3d73df(0x85)](_0x4181e4)||null;}[_0x5f2481(0x84)](_0x4e1d36,_0x2c2201){const _0x43a3ff=_0x5f2481;_0x4e1d36[_0x43a3ff(0xba)]();const _0x2e6d5f=G(_0x2c2201[_0x43a3ff(0xb7)]+this[_0x43a3ff(0x9e)],_0x4e1d36[_0x43a3ff(0xac)]);return!!_0x2e6d5f&&(this[_0x43a3ff(0xaf)](_0x2c2201,_0x2c2201[_0x43a3ff(0xac)]-_0x2e6d5f),!0x0);}[_0x5f2481(0x78)](_0x4a08d2,_0x1f5cee){const _0xa9f5c6=_0x5f2481;_0x4a08d2[_0xa9f5c6(0xba)]();const _0x3c90e6=G(_0x4a08d2[_0xa9f5c6(0xb7)]+this[_0xa9f5c6(0x9e)],_0x1f5cee[_0xa9f5c6(0xac)]);return!!_0x3c90e6&&(this[_0xa9f5c6(0xaf)](_0x1f5cee,_0x1f5cee[_0xa9f5c6(0xac)]+_0x3c90e6,!0x1),!0x0);}[_0x5f2481(0xcb)](_0x1c2f9b){const _0x486186=_0x5f2481,_0x3299e4=this[_0x486186(0x91)][_0x486186(0x7e)](_0x1c2f9b);if(!_0x3299e4||!_0x3299e4[_0x486186(0x87)]||!_0x3299e4[_0x486186(0x9f)])return;const _0x413622=this[_0x486186(0x95)](_0x3299e4,_0x3299e4[_0x486186(0x9f)]);this[_0x486186(0xaf)](_0x1c2f9b,_0x413622);}[_0x5f2481(0x95)](_0x167be1,_0x32f854){const _0x14ad65=_0x5f2481;if(null===_0x32f854)return 0x0;if(_0x167be1[_0x14ad65(0x87)]instanceof _0xb560c0)return _0x32f854[_0x14ad65(0xac)];{const _0x11334a=new _0xb560c0(this[_0x14ad65(0xbf)][_0x14ad65(0xab)])[_0x14ad65(0xac)];return _0x32f854[_0x14ad65(0xac)]-_0x11334a;}}[_0x5f2481(0xaf)](_0x18a5b3,_0x388700,_0x4178a3=this[_0x5f2481(0x9c)][_0x5f2481(0x8b)][_0x5f2481(0x7e)](_0x5f2481(0xce))){const _0x46226e=_0x5f2481;_0x4178a3&&(_0x388700=Math[_0x46226e(0x94)](_0x388700,this[_0x46226e(0xbb)](_0x18a5b3))),_0x18a5b3[_0x46226e(0xac)]=_0x388700;}[_0x5f2481(0xbb)](_0x49e41e){const _0x431609=_0x5f2481;let _0x8a1a19=this[_0x431609(0xb3)](_0x49e41e),_0x47a02d=0x0;for(;_0x8a1a19;)_0x8a1a19[_0x431609(0xba)](),_0x47a02d+=this[_0x431609(0x9e)]+_0x8a1a19[_0x431609(0xa5)],_0x8a1a19=this[_0x431609(0xb3)](_0x8a1a19);return _0x47a02d;}}function G(_0x5b4327,_0x553ee7){const _0x390f17=_0x5f2481;return Math[_0x390f17(0x94)](_0x5b4327-_0x553ee7,0x0);}function _0x4e2f(_0x27ae24,_0x34fec8){const _0x3118b4=_0x3118();return _0x4e2f=function(_0x4e2fe8,_0x48a2bd){_0x4e2fe8=_0x4e2fe8-0x71;let _0x5b09da=_0x3118b4[_0x4e2fe8];return _0x5b09da;},_0x4e2f(_0x27ae24,_0x34fec8);}function g(_0x28c6ac){const _0x365053=_0x5f2481;return null!==_0x28c6ac&&_0x365053(0xc8)==typeof _0x28c6ac&&0x1===_0x28c6ac[_0x365053(0x86)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x26ef(_0x58e771,_0x4a3246){const _0x286b14=_0x286b();return _0x26ef=function(_0x26efdc,_0x132ed7){_0x26efdc=_0x26efdc-0x189;let _0x2c6831=_0x286b14[_0x26efdc];return _0x2c6831;},_0x26ef(_0x58e771,_0x4a3246);}const _0x2d8b49=_0x26ef;(function(_0xa43f64,_0x6dc40b){const _0x1bc1be=_0x26ef,_0x2f8e96=_0xa43f64();while(!![]){try{const _0x46ea86=-parseInt(_0x1bc1be(0x1a1))/0x1*(-parseInt(_0x1bc1be(0x18a))/0x2)+-parseInt(_0x1bc1be(0x19b))/0x3+-parseInt(_0x1bc1be(0x1a5))/0x4+-parseInt(_0x1bc1be(0x189))/0x5+parseInt(_0x1bc1be(0x1a0))/0x6*(parseInt(_0x1bc1be(0x1a3))/0x7)+parseInt(_0x1bc1be(0x19a))/0x8+parseInt(_0x1bc1be(0x19f))/0x9;if(_0x46ea86===_0x6dc40b)break;else _0x2f8e96['push'](_0x2f8e96['shift']());}catch(_0x515a31){_0x2f8e96['push'](_0x2f8e96['shift']());}}}(_0x286b,0x44cd0));import{ButtonView as _0x44a142,View as _0x16c4d4}from'ckeditor5/src/ui.js';import{IconAddComment as _0x472c58}from'ckeditor5/src/icons.js';function _0x286b(){const _0x5e243c=['add','span','ck-annotation-counter__badge--','number','set','4330808huShCM','1116537BgIniX','counterView','_badge','ck-annotation-counter','4305915FQXFvp','810aMAMVA','17656jfNSkI','icon','15736PdFFGW','bindTemplate','1769272sVUwZs','2459005IFeFZG','30rijdSQ','...','bind','annotationType','extendTemplate','ck-annotation-counter__badge','children','setTemplate','isDirty','ck-annotation-counter__badge--edit-mode','toString'];_0x286b=function(){return _0x5e243c;};return _0x286b();}export class AnnotationCounterButtonView extends _0x44a142{[_0x2d8b49(0x19c)];constructor(_0x18b4fb){const _0xbe5806=_0x2d8b49;super(_0x18b4fb);const _0x4ac4e3=this[_0xbe5806(0x1a4)];this[_0xbe5806(0x199)](_0xbe5806(0x192),!0x1),this[_0xbe5806(0x199)](_0xbe5806(0x198),0x0),this[_0xbe5806(0x18c)](_0xbe5806(0x19d))['to'](this,_0xbe5806(0x192),this,_0xbe5806(0x198),(_0x242d01,_0x40b5bf)=>_0x242d01?_0xbe5806(0x18b):_0x40b5bf[_0xbe5806(0x194)]()),this[_0xbe5806(0x199)](_0xbe5806(0x18d),''),this[_0xbe5806(0x1a2)]=_0x472c58,this[_0xbe5806(0x18e)]({'attributes':{'class':[_0xbe5806(0x19e)]}}),this[_0xbe5806(0x19c)]=new _0x16c4d4(),this[_0xbe5806(0x19c)][_0xbe5806(0x191)]({'tag':_0xbe5806(0x196),'attributes':{'class':[_0xbe5806(0x18f),_0x4ac4e3['to'](_0xbe5806(0x18d),_0x15bf9c=>_0xbe5806(0x197)+_0x15bf9c),_0x4ac4e3['if'](_0xbe5806(0x192),_0xbe5806(0x193))]},'children':[{'text':_0x4ac4e3['to'](_0xbe5806(0x19d))}]}),this[_0xbe5806(0x190)][_0xbe5806(0x195)](this[_0xbe5806(0x19c)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x306a07=_0x5eec;(function(_0x472b98,_0x1d53a1){const _0x344e31=_0x5eec,_0x2bd656=_0x472b98();while(!![]){try{const _0x552ff6=parseInt(_0x344e31(0x1dc))/0x1*(-parseInt(_0x344e31(0x1dd))/0x2)+-parseInt(_0x344e31(0x1d4))/0x3+parseInt(_0x344e31(0x1c4))/0x4+parseInt(_0x344e31(0x1df))/0x5+parseInt(_0x344e31(0x1eb))/0x6+-parseInt(_0x344e31(0x1e6))/0x7+parseInt(_0x344e31(0x1ea))/0x8;if(_0x552ff6===_0x1d53a1)break;else _0x2bd656['push'](_0x2bd656['shift']());}catch(_0x96e084){_0x2bd656['push'](_0x2bd656['shift']());}}}(_0xd4b2,0x67a9c));import{View as _0x4b6acb}from'ckeditor5/src/ui.js';import{FocusTracker as _0x565b51,KeystrokeHandler as _0x1f9522,uid as _0x582584}from'ckeditor5/src/utils.js';function _0x5eec(_0x1c027a,_0x39606e){const _0xd4b25=_0xd4b2();return _0x5eec=function(_0x5eec40,_0x4e14a0){_0x5eec40=_0x5eec40-0x1c4;let _0x183ac3=_0xd4b25[_0x5eec40];return _0x183ac3;},_0x5eec(_0x1c027a,_0x39606e);}import{createMutationObserver as _0x1d6c3c}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';function _0xd4b2(){const _0x398408=['attach','ck-rounded-corners','11ImjdpV','104330xbAdev','first','834030jcnWtS','arrowup','render','div','element','bindTemplate','keystrokes','2614885lFDJKl','targetRect','content','clientHeight','11119776eDEXPZ','35202eFzNnw','clear','_mutationObserver','delegate','length','ck-annotation-wrapper--active','2479508LjMrpt','mainView','height','focusTracker','isActive','fire','setTemplate','Esc','arrowdown','detach','type','add','focus','presentation','createCollection','_updateHeight','2431644usgHNm','ck-annotation-wrapper','isDirty','listenTo','destroy','set'];_0xd4b2=function(){return _0x398408;};return _0xd4b2();}export class AnnotationView extends _0x4b6acb{[_0x306a07(0x1c7)];['id'];[_0x306a07(0x1e5)];[_0x306a07(0x1e8)];[_0x306a07(0x1c5)];[_0x306a07(0x1ed)];constructor(_0x4b7c93,_0x17674d){const _0x1f6be=_0x306a07;super(_0x4b7c93),this['id']=_0x582584(),this[_0x1f6be(0x1c7)]=new _0x565b51(),this[_0x1f6be(0x1e5)]=new _0x1f9522(),this[_0x1f6be(0x1e5)][_0x1f6be(0x1d9)](_0x1f6be(0x1cb),(_0x2e1f02,_0x113bff)=>this[_0x1f6be(0x1c9)](_0x1f6be(0x1cb),_0x113bff)),this[_0x1f6be(0x1d9)](_0x1f6be(0x1e7),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x1f6be(0x1d9)](_0x1f6be(0x1c6),0x0),this[_0x1f6be(0x1d9)](_0x1f6be(0x1c8),!0x1),this[_0x1f6be(0x1d9)](_0x1f6be(0x1d6),!0x1),this[_0x1f6be(0x1d9)](_0x1f6be(0x1ef),0x0),this[_0x1f6be(0x1d9)](_0x1f6be(0x1ce),''),this[_0x1f6be(0x1ed)]=_0x1d6c3c(()=>this[_0x1f6be(0x1d3)]()),this[_0x1f6be(0x1e8)]=this[_0x1f6be(0x1d2)](),this[_0x1f6be(0x1e8)][_0x1f6be(0x1ee)](_0x1f6be(0x1e0),_0x1f6be(0x1cc))['to'](this),this[_0x1f6be(0x1e8)][_0x1f6be(0x1cf)](_0x17674d),this[_0x1f6be(0x1c5)]=_0x17674d;const _0xced579=this[_0x1f6be(0x1e4)];this[_0x1f6be(0x1ca)]({'tag':_0x1f6be(0x1e2),'attributes':{'class':['ck',_0x1f6be(0x1d5),_0x1f6be(0x1db),_0xced579['if'](_0x1f6be(0x1c8),_0x1f6be(0x1f0))],'role':_0x1f6be(0x1d1)},'children':this[_0x1f6be(0x1e8)]});}[_0x306a07(0x1e1)](){const _0x10a32b=_0x306a07;super[_0x10a32b(0x1e1)](),this[_0x10a32b(0x1c7)][_0x10a32b(0x1cf)](this[_0x10a32b(0x1e3)]),this[_0x10a32b(0x1e5)][_0x10a32b(0x1d7)](this[_0x10a32b(0x1e3)]),this[_0x10a32b(0x1ed)][_0x10a32b(0x1da)](this[_0x10a32b(0x1e3)]);}[_0x306a07(0x1d8)](){const _0x52f7a6=_0x306a07;this[_0x52f7a6(0x1e8)][_0x52f7a6(0x1ec)](),this[_0x52f7a6(0x1e5)][_0x52f7a6(0x1d8)](),this[_0x52f7a6(0x1c7)][_0x52f7a6(0x1d8)](),this[_0x52f7a6(0x1ed)][_0x52f7a6(0x1cd)](),super[_0x52f7a6(0x1d8)]();}[_0x306a07(0x1d0)](){const _0x4c3ad9=_0x306a07;this[_0x4c3ad9(0x1e8)][_0x4c3ad9(0x1de)]&&this[_0x4c3ad9(0x1e8)][_0x4c3ad9(0x1de)][_0x4c3ad9(0x1d0)]();}[_0x306a07(0x1d3)](){const _0x13eede=_0x306a07,_0x103668=this[_0x13eede(0x1e3)][_0x13eede(0x1e9)];_0x103668&&(this[_0x13eede(0x1c6)]=_0x103668);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x1437(){const _0x5e89ad=['content','ck-sidebar-item','bind','first','top','clientHeight','element','arrowdown','setTemplate','presentation','358936XStnOo','set','arrowup','createCollection','updateHeight','focus','height','div','80659SWQQds','3WeTSIZ','12pWvDHQ','attach','render','6117906CdcXSc','_targetTop','clear','detach','27oxCbkB','819270NHkHRK','18uCOjMO','28929703AIwkom','2045956jUuywx','bindTemplate','ck-sidebar-item--no-animation','bottom','4706130cBkQdm','35KrdqtN','destroy','_mutationObserver','delegate','isAnimationDisabled'];_0x1437=function(){return _0x5e89ad;};return _0x1437();}const _0x1938ff=_0x56a9;(function(_0x52421c,_0x16a26e){const _0xb4fb05=_0x56a9,_0x33090b=_0x52421c();while(!![]){try{const _0x529ae5=parseInt(_0xb4fb05(0x1b8))/0x1*(parseInt(_0xb4fb05(0x1c3))/0x2)+-parseInt(_0xb4fb05(0x1b9))/0x3*(-parseInt(_0xb4fb05(0x1c5))/0x4)+parseInt(_0xb4fb05(0x1c9))/0x5+parseInt(_0xb4fb05(0x1bd))/0x6+parseInt(_0xb4fb05(0x1ca))/0x7*(-parseInt(_0xb4fb05(0x1d9))/0x8)+-parseInt(_0xb4fb05(0x1c1))/0x9*(-parseInt(_0xb4fb05(0x1c2))/0xa)+-parseInt(_0xb4fb05(0x1c4))/0xb*(parseInt(_0xb4fb05(0x1ba))/0xc);if(_0x529ae5===_0x16a26e)break;else _0x33090b['push'](_0x33090b['shift']());}catch(_0x4fe4a8){_0x33090b['push'](_0x33090b['shift']());}}}(_0x1437,0x8ffca));import{View as _0xbdc908}from'ckeditor5/src/ui.js';import{toUnit as _0x21ba07}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x38c59c}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x21ba07('px');function _0x56a9(_0x19ef1d,_0x3022a8){const _0x14375d=_0x1437();return _0x56a9=function(_0x56a9d9,_0x67f5be){_0x56a9d9=_0x56a9d9-0x1b6;let _0x3f7345=_0x14375d[_0x56a9d9];return _0x3f7345;},_0x56a9(_0x19ef1d,_0x3022a8);}export class AnnotationsSidebarItemView extends _0xbdc908{[_0x1938ff(0x1cf)];[_0x1938ff(0x1be)];[_0x1938ff(0x1cc)];constructor(_0x1b7521){const _0x595f12=_0x1938ff;super(_0x1b7521),this[_0x595f12(0x1da)](_0x595f12(0x1d3),0x0),this[_0x595f12(0x1da)](_0x595f12(0x1b6),0x0),this[_0x595f12(0x1d1)](_0x595f12(0x1c8))['to'](this,_0x595f12(0x1d3),this,_0x595f12(0x1b6),(_0x347944,_0x5555be)=>_0x347944+_0x5555be),this[_0x595f12(0x1da)](_0x595f12(0x1ce),!0x1),this[_0x595f12(0x1cc)]=_0x38c59c(()=>this[_0x595f12(0x1dd)]()),this[_0x595f12(0x1be)]=null,this[_0x595f12(0x1cf)]=this[_0x595f12(0x1dc)](),this[_0x595f12(0x1cf)][_0x595f12(0x1cd)](_0x595f12(0x1db),_0x595f12(0x1d6))['to'](this);const _0x368444=this[_0x595f12(0x1c6)];this[_0x595f12(0x1d7)]({'tag':_0x595f12(0x1b7),'attributes':{'class':[_0x595f12(0x1d0),_0x368444['to'](_0x595f12(0x1ce),_0x4f2078=>_0x4f2078?_0x595f12(0x1c7):'')],'style':{'top':_0x368444['to'](_0x595f12(0x1d3),_0xbcee18=>Ot(_0xbcee18))},'role':_0x595f12(0x1d8)},'children':this[_0x595f12(0x1cf)]});}[_0x1938ff(0x1bc)](){const _0x4db4df=_0x1938ff;super[_0x4db4df(0x1bc)](),this[_0x4db4df(0x1cc)][_0x4db4df(0x1bb)](this[_0x4db4df(0x1d5)]);}[_0x1938ff(0x1de)](){const _0x5c2379=_0x1938ff;this[_0x5c2379(0x1cf)][_0x5c2379(0x1d2)]&&this[_0x5c2379(0x1cf)][_0x5c2379(0x1d2)][_0x5c2379(0x1de)]();}[_0x1938ff(0x1dd)](){const _0x26326f=_0x1938ff,_0xc9462e=this[_0x26326f(0x1d5)][_0x26326f(0x1d4)];_0xc9462e&&(this[_0x26326f(0x1b6)]=_0xc9462e);}[_0x1938ff(0x1cb)](){const _0x252b4c=_0x1938ff;this[_0x252b4c(0x1cf)][_0x252b4c(0x1bf)](),this[_0x252b4c(0x1cc)][_0x252b4c(0x1c0)](),super[_0x252b4c(0x1cb)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x40f6(){const _0x510fc0=['focusCycler','list','change','_setupKeyboardNavigation','length','div','focusables','7209616eFockp','removed','add','ck-reset','listenTo','focusFirst','986854Gwuydv','element','application','ck-sidebar','24dGfrjq','13673540VbvnVv','bindTemplate','number','uiLanguageDirection','top','createCollection','getIndex','set','3961347TcUAIi','added','delegate','focusNext','focusTracker','Annotations\x20sidebar','8493291BqvxNZ','2ygkErK','1996fvxqCE','Annotations\x20list','focus','render','setTemplate','focusPrevious','_updateItemPositionInFocusables','arrowdown','minHeight','change:top','class','269458uXNuaf','remove','12115wXzhhT','source','forEach','arrowup'];_0x40f6=function(){return _0x510fc0;};return _0x40f6();}const _0x206c5f=_0x3b98;(function(_0x560b21,_0x50ca74){const _0x2f8071=_0x3b98,_0x25f127=_0x560b21();while(!![]){try{const _0x1247c1=parseInt(_0x2f8071(0x1ad))/0x1*(parseInt(_0x2f8071(0x1cc))/0x2)+parseInt(_0x2f8071(0x1a6))/0x3+parseInt(_0x2f8071(0x1ae))/0x4*(-parseInt(_0x2f8071(0x1bb))/0x5)+-parseInt(_0x2f8071(0x1d0))/0x6*(-parseInt(_0x2f8071(0x1b9))/0x7)+-parseInt(_0x2f8071(0x1c6))/0x8+-parseInt(_0x2f8071(0x1ac))/0x9+parseInt(_0x2f8071(0x1d1))/0xa;if(_0x1247c1===_0x50ca74)break;else _0x25f127['push'](_0x25f127['shift']());}catch(_0x318be4){_0x25f127['push'](_0x25f127['shift']());}}}(_0x40f6,0xbd1ff));import{View as _0x34a25c,FocusCycler as _0xe45631}from'ckeditor5/src/ui.js';import{FocusTracker as _0x52031b,toUnit as _0x2e8dd6}from'ckeditor5/src/utils.js';function _0x3b98(_0x53b981,_0x32ef8c){const _0x40f6b1=_0x40f6();return _0x3b98=function(_0x3b98f6,_0xcd8d02){_0x3b98f6=_0x3b98f6-0x1a4;let _0x4db895=_0x40f6b1[_0x3b98f6];return _0x4db895;},_0x3b98(_0x53b981,_0x32ef8c);}import{getTranslation as _0x171a28}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2e8dd6('px');export class AnnotationsSidebarView extends _0x34a25c{[_0x206c5f(0x1c0)];[_0x206c5f(0x1c5)];[_0x206c5f(0x1aa)];[_0x206c5f(0x1bf)];constructor(_0x2d3f1f){const _0x3012df=_0x206c5f;super(_0x2d3f1f);const _0x13444e=this[_0x3012df(0x1d2)];this[_0x3012df(0x1a5)](_0x3012df(0x1b6),0x0),this[_0x3012df(0x1a5)](_0x3012df(0x1b8),''),this[_0x3012df(0x1c0)]=this[_0x3012df(0x1d6)](),this[_0x3012df(0x1c5)]=this[_0x3012df(0x1d6)](),this[_0x3012df(0x1c0)][_0x3012df(0x1a8)](_0x3012df(0x1be),_0x3012df(0x1b5))['to'](this),this[_0x3012df(0x1aa)]=new _0x52031b(),this[_0x3012df(0x1bf)]=new _0xe45631({'focusables':this[_0x3012df(0x1c5)],'focusTracker':this[_0x3012df(0x1aa)]}),this[_0x3012df(0x1b2)]({'tag':_0x3012df(0x1c4),'attributes':{'class':['ck',_0x3012df(0x1cf),_0x3012df(0x1c9),_0x13444e['to'](_0x3012df(0x1b8))],'style':{'minHeight':_0x13444e['to'](_0x3012df(0x1b6),_0x3a01a4=>_0x3012df(0x1d3)==typeof _0x3a01a4?Ot(_0x3a01a4+0xa):null)},'dir':_0x2d3f1f[_0x3012df(0x1d4)],'role':_0x3012df(0x1ce),'aria-label':_0x171a28(_0x2d3f1f,_0x3012df(0x1ab)),'tabindex':0x0},'children':[{'tag':_0x3012df(0x1c4),'attributes':{'role':_0x3012df(0x1c0),'aria-label':_0x171a28(_0x2d3f1f,_0x3012df(0x1af))},'children':this[_0x3012df(0x1c0)]}]});}[_0x206c5f(0x1b1)](){const _0x2d2db0=_0x206c5f;super[_0x2d2db0(0x1b1)](),this[_0x2d2db0(0x1c2)]();}[_0x206c5f(0x1b0)](){const _0x5d2184=_0x206c5f;this[_0x5d2184(0x1bf)][_0x5d2184(0x1cb)]();}[_0x206c5f(0x1c2)](){const _0x193661=_0x206c5f;this[_0x193661(0x1c0)][_0x193661(0x1a8)](_0x193661(0x1b7))['to'](this),this['on'](_0x193661(0x1b7),_0x59ab29=>{const _0x499269=_0x193661;this[_0x499269(0x1b4)](_0x59ab29[_0x499269(0x1bc)]);}),this[_0x193661(0x1c0)][_0x193661(0x1bd)](_0x59431b=>{const _0x28999d=_0x193661;this[_0x28999d(0x1aa)][_0x28999d(0x1c8)](_0x59431b[_0x28999d(0x1cd)]),this[_0x28999d(0x1b4)](_0x59431b);}),this[_0x193661(0x1c0)]['on'](_0x193661(0x1c1),(_0x1a9f2e,_0x2409ac)=>{const _0x107bdb=_0x193661;for(const _0x56a3f9 of _0x2409ac[_0x107bdb(0x1c7)])this[_0x107bdb(0x1aa)][_0x107bdb(0x1ba)](_0x56a3f9[_0x107bdb(0x1cd)]),this[_0x107bdb(0x1c5)][_0x107bdb(0x1ba)](_0x56a3f9);for(const _0x178827 of _0x2409ac[_0x107bdb(0x1a7)])this[_0x107bdb(0x1aa)][_0x107bdb(0x1c8)](_0x178827[_0x107bdb(0x1cd)]),this[_0x107bdb(0x1b4)](_0x178827);}),this['on'](_0x193661(0x1be),()=>{const _0x577a17=_0x193661;this[_0x577a17(0x1bf)][_0x577a17(0x1b3)]();}),this['on'](_0x193661(0x1b5),()=>{const _0x3af066=_0x193661;this[_0x3af066(0x1bf)][_0x3af066(0x1a9)]();}),this[_0x193661(0x1ca)](this[_0x193661(0x1cd)],_0x193661(0x1b0),()=>{const _0xd1af7=_0x193661;this[_0xd1af7(0x1b0)]();});}[_0x206c5f(0x1b4)](_0x29cf60){const _0x35994c=_0x206c5f,_0x3e54c1=this[_0x35994c(0x1c5)][_0x35994c(0x1a4)](_0x29cf60);let _0x11cb8c,_0x358363;for(const _0x2a1a40 of this[_0x35994c(0x1c5)])if(_0x29cf60[_0x35994c(0x1d5)]<_0x2a1a40[_0x35994c(0x1d5)]){_0x11cb8c=_0x2a1a40;break;}if(_0x358363=_0x11cb8c?this[_0x35994c(0x1c5)][_0x35994c(0x1a4)](_0x11cb8c):this[_0x35994c(0x1c5)][_0x35994c(0x1c3)],-0x1!==_0x3e54c1){if(_0x3e54c1===_0x358363-0x1)return;this[_0x35994c(0x1c5)][_0x35994c(0x1ba)](_0x29cf60),_0x358363=_0x11cb8c?this[_0x35994c(0x1c5)][_0x35994c(0x1a4)](_0x11cb8c):this[_0x35994c(0x1c5)][_0x35994c(0x1c3)];}this[_0x35994c(0x1c5)][_0x35994c(0x1c8)](_0x29cf60,_0x358363);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5eeafc=_0x587e;function _0x3855(){const _0x315b7a=['4539588iltjVY','24gwTPTA','_annotations','stop','Annotations','addEventListener','init','setActiveAnnotation','isAttached','wideSidebar','_detachFromContainer','container','context','blur','stopListening','_attachToContainer','cancel','_refreshPositioningDebounced','plugins','widesidebar-detach-not-attached','uiUpdate','set','off','refreshVisibility','destroy','from','ready','WideSidebar','4638212kjWCpm','attach','refresh','_editorAnnotations','9690317gshSpd','_destroyEditorAnnotationsIntegration','9400419upmChD','add','editors','set:container','resize','isPremiumPlugin','_integrateWithEditorAnnotations','rearrange','removeEventListener','1VeTBBn','change:container','addAnnotation','getOrderedSelectedAnnotations','activeAnnotation','widesidebar-attach-already-attached','annotations','EditorAnnotations','listenTo','ck-sidebar--wide','high','has','refreshPositioning','2062972lyeaId','_activeAnnotation','2186106TUnmZJ','requires','register','2846820MlNNxZ','updateTargetRect','switchTo','get','hasDomSelection','detach','focus','isOfficialPlugin','pluginName','remove'];_0x3855=function(){return _0x315b7a;};return _0x3855();}(function(_0x2078fb,_0x4c5537){const _0x3fd039=_0x587e,_0x3a9060=_0x2078fb();while(!![]){try{const _0x3aa455=-parseInt(_0x3fd039(0xb1))/0x1*(parseInt(_0x3fd039(0xbe))/0x2)+parseInt(_0x3fd039(0xcd))/0x3+-parseInt(_0x3fd039(0xa2))/0x4+-parseInt(_0x3fd039(0xc3))/0x5+parseInt(_0x3fd039(0xc0))/0x6+-parseInt(_0x3fd039(0xa6))/0x7+parseInt(_0x3fd039(0xce))/0x8*(parseInt(_0x3fd039(0xa8))/0x9);if(_0x3aa455===_0x4c5537)break;else _0x3a9060['push'](_0x3a9060['shift']());}catch(_0x46fa69){_0x3a9060['push'](_0x3a9060['shift']());}}}(_0x3855,0xd37ee));import{ContextPlugin as _0x18cd8b,Context as _0x5f2f5a}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x2ad416}from'./annotationsuis.js';function _0x587e(_0x3e4c1f,_0x4151dc){const _0x3855f0=_0x3855();return _0x587e=function(_0x587e2a,_0x4dac20){_0x587e2a=_0x587e2a-0x9b;let _0x2be3f1=_0x3855f0[_0x587e2a];return _0x2be3f1;},_0x587e(_0x3e4c1f,_0x4151dc);}import{Sidebar as _0x1b27a7}from'./sidebar.js';import{CKEditorError as _0x6bf07f,Collection as _0x3c3ad0}from'ckeditor5/src/utils.js';import{debounce as _0x4032b4}from'es-toolkit/compat';export class WideSidebar extends _0x18cd8b{[_0x5eeafc(0xd5)];[_0x5eeafc(0xb7)];[_0x5eeafc(0xa5)];[_0x5eeafc(0xde)];static get[_0x5eeafc(0xc1)](){return[_0x1b27a7,_0x2ad416];}static get[_0x5eeafc(0xcb)](){const _0x272830=_0x5eeafc;return _0x272830(0xa1);}static get[_0x5eeafc(0xca)](){return!0x0;}static get[_0x5eeafc(0xad)](){return!0x0;}constructor(_0x45b96b){const _0x1d42d1=_0x5eeafc;super(_0x45b96b),this[_0x1d42d1(0xd5)]=!0x1,this[_0x1d42d1(0x9b)](_0x1d42d1(0xb5),null),this[_0x1d42d1(0xb7)]=null,this[_0x1d42d1(0xa5)]=new _0x3c3ad0(),this[_0x1d42d1(0xde)]=_0x4032b4(()=>{const _0x567484=_0x1d42d1;_0x45b96b[_0x567484(0xdf)][_0x567484(0xc6)](_0x567484(0xd1))[_0x567484(0x9d)](),this[_0x567484(0xb7)][_0x567484(0xbd)]();},0xfa,{'leading':!0x1});}[_0x5eeafc(0xd3)](){const _0x25016a=_0x5eeafc,_0x689420=this[_0x25016a(0xd9)][_0x25016a(0xdf)][_0x25016a(0xc6)](_0x2ad416),_0x60f184=this[_0x25016a(0xd9)][_0x25016a(0xdf)][_0x25016a(0xc6)](_0x1b27a7);_0x689420[_0x25016a(0xc2)](_0x25016a(0xd6),this),_0x60f184[_0x25016a(0xd8)]&&_0x689420[_0x25016a(0xc5)](_0x25016a(0xd6));}[_0x5eeafc(0xd4)](_0x13490a){const _0x5448d6=_0x5eeafc;if(_0x13490a===this[_0x5448d6(0xb5)])return;const _0x4be302=this[_0x5448d6(0xd9)][_0x5448d6(0xdf)][_0x5448d6(0xc6)](_0x1b27a7);_0x4be302[_0x5448d6(0xbf)]=_0x13490a;const _0xcecfec=this[_0x5448d6(0xb5)];_0x4be302[_0x5448d6(0xa4)]({'blurredAnnotation':_0xcecfec,'activatedAnnotation':_0x13490a}),this[_0x5448d6(0xb5)]=_0x13490a;}[_0x5eeafc(0xa3)](_0x5ed900){const _0x268d81=_0x5eeafc;this[_0x268d81(0xb7)]=_0x5ed900;const _0x5a7492=this[_0x268d81(0xd9)][_0x268d81(0xdf)][_0x268d81(0xc6)](_0x1b27a7);if(_0x5a7492[_0x268d81(0xcf)]=_0x5ed900,this[_0x268d81(0xd5)])throw new _0x6bf07f(_0x268d81(0xb6),this);this[_0x268d81(0xd5)]=!0x0,this[_0x268d81(0xb9)](_0x5a7492,_0x268d81(0xab),()=>{const _0xb8fb5a=_0x268d81;this[_0xb8fb5a(0xc8)](),this[_0xb8fb5a(0xb9)](_0x5a7492,_0xb8fb5a(0xb2),_0x761819=>{const _0x2685bd=_0xb8fb5a;_0x761819[_0x2685bd(0x9c)](),this[_0x2685bd(0xa3)](_0x5ed900);});}),_0x5a7492[_0x268d81(0xdc)]({'viewClass':_0x268d81(0xba)});const _0x3b33d0=_0x5ee2d0=>{const _0x34d7f1=_0x268d81;_0x5ee2d0[_0x34d7f1(0xc4)](),_0x5a7492[_0x34d7f1(0xb3)](_0x5ee2d0);};for(const _0x308cbc of _0x5ed900)_0x3b33d0(_0x308cbc);this[_0x268d81(0xb9)](_0x5ed900,_0x268d81(0xa9),(_0x4b183e,_0x12fdde)=>{_0x3b33d0(_0x12fdde);}),this[_0x268d81(0xb9)](_0x5ed900,_0x268d81(0xcc),(_0x56e1c5,_0x1d47ad,_0x261497)=>{const _0x35fecc=_0x268d81;_0x5a7492[_0x35fecc(0xaf)]({'removedAnnotation':_0x1d47ad,'previousAnnotation':_0x5ed900[_0x35fecc(0xc6)](_0x261497-0x1),'nextAnnotation':_0x5ed900[_0x35fecc(0xc6)](_0x261497+0x1)}),_0x1d47ad===this[_0x35fecc(0xb5)]&&this[_0x35fecc(0xd4)](null);},{'priority':_0x268d81(0xbb)}),this[_0x268d81(0xb9)](_0x5ed900,_0x268d81(0xc9),(_0x12ba27,_0x8f6945)=>{const _0x42b669=_0x268d81;this[_0x42b669(0xd4)](_0x8f6945);}),this[_0x268d81(0xb9)](_0x5ed900,_0x268d81(0xda),()=>{const _0x53cfa1=_0x268d81;this[_0x53cfa1(0xd4)](null);});const _0x1bf3ef=this[_0x268d81(0xd9)]instanceof _0x5f2f5a?this[_0x268d81(0xd9)][_0x268d81(0xaa)]:new _0x3c3ad0([this[_0x268d81(0xd9)]]);for(const _0x109ceb of _0x1bf3ef)this[_0x268d81(0xae)](_0x109ceb);this[_0x268d81(0xb9)](_0x1bf3ef,_0x268d81(0xa9),(_0x407a73,_0x31c626)=>{const _0x1559f7=_0x268d81;this[_0x1559f7(0xb9)](_0x31c626,_0x1559f7(0xa0),()=>{const _0x23fa9b=_0x1559f7;this[_0x23fa9b(0xae)](_0x31c626);});}),this[_0x268d81(0xb9)](_0x1bf3ef,_0x268d81(0xcc),(_0x3dc966,_0x3acd6f)=>{const _0x21b47c=_0x268d81;_0x3acd6f[_0x21b47c(0xdf)][_0x21b47c(0xbc)](_0x21b47c(0xb8))&&this[_0x21b47c(0xa7)](_0x3acd6f[_0x21b47c(0xdf)][_0x21b47c(0xc6)](_0x21b47c(0xb8)));}),window[_0x268d81(0xd2)](_0x268d81(0xac),this[_0x268d81(0xde)]),this[_0x268d81(0xd9)][_0x268d81(0xdf)][_0x268d81(0xc6)](_0x268d81(0xd1))[_0x268d81(0x9d)](),this[_0x268d81(0xb7)][_0x268d81(0xbd)]();}[_0x5eeafc(0xc8)](){const _0x5a2e40=_0x5eeafc;if(!this[_0x5a2e40(0xd5)])throw new _0x6bf07f(_0x5a2e40(0xe0),this);this[_0x5a2e40(0xd4)](null);const _0x3c1fcd=this[_0x5a2e40(0xd9)][_0x5a2e40(0xdf)][_0x5a2e40(0xc6)](_0x1b27a7);_0x3c1fcd[_0x5a2e40(0xd7)](this[_0x5a2e40(0xb7)]),this[_0x5a2e40(0xdb)](_0x3c1fcd),this[_0x5a2e40(0xdb)](this[_0x5a2e40(0xb7)]),this[_0x5a2e40(0xd9)]instanceof _0x5f2f5a&&this[_0x5a2e40(0xdb)](this[_0x5a2e40(0xd9)][_0x5a2e40(0xaa)]);for(const _0x57f78e of Array[_0x5a2e40(0x9f)](this[_0x5a2e40(0xa5)]))this[_0x5a2e40(0xa7)](_0x57f78e);window[_0x5a2e40(0xb0)](_0x5a2e40(0xac),this[_0x5a2e40(0xde)]),this[_0x5a2e40(0xde)][_0x5a2e40(0xdd)](),this[_0x5a2e40(0xb5)]=null,this[_0x5a2e40(0xd5)]=!0x1,this[_0x5a2e40(0xb7)]=null;}[_0x5eeafc(0x9e)](){const _0xc09f3c=_0x5eeafc;this[_0xc09f3c(0xd5)]&&this[_0xc09f3c(0xc8)]();}[_0x5eeafc(0xae)](_0x439084){const _0x34171a=_0x5eeafc;if(!_0x439084[_0x34171a(0xdf)][_0x34171a(0xbc)](_0x34171a(0xb8)))return;const _0x545d0c=_0x439084[_0x34171a(0xdf)][_0x34171a(0xc6)](_0x34171a(0xb8)),_0x17ba6c=()=>{const _0xd651d=_0x34171a,_0x5cecae=_0x545d0c[_0xd651d(0xb4)]({'annotations':this[_0xd651d(0xb7)],'activeAnnotation':this[_0xd651d(0xb5)]});this[_0xd651d(0xd4)](_0x5cecae[0x0]||null);};this[_0x34171a(0xb9)](_0x545d0c,_0x34171a(0xa4),_0x17ba6c),this[_0x34171a(0xb9)](_0x545d0c,_0x34171a(0xda),(_0x178aba,{isAnnotationTracked:_0x556f72})=>{const _0x3b6d1a=_0x34171a;this[_0x3b6d1a(0xb5)]&&_0x556f72(this[_0x3b6d1a(0xb5)])&&this[_0x3b6d1a(0xd4)](null);}),this[_0x34171a(0xb9)](_0x545d0c,_0x34171a(0xe1),()=>{const _0x4136c5=_0x34171a;this[_0x4136c5(0xde)]();}),this[_0x34171a(0xb9)](this[_0x34171a(0xb7)],_0x34171a(0xda),_0x6a3a79=>{const _0x23cab6=_0x34171a;_0x545d0c[_0x23cab6(0xc7)]()&&(_0x17ba6c(),_0x6a3a79[_0x23cab6(0xd0)]());},{'priority':_0x34171a(0xbb)}),this[_0x34171a(0xa5)][_0x34171a(0xa9)](_0x545d0c);}[_0x5eeafc(0xa7)](_0x4c5f1a){const _0x76fc71=_0x5eeafc;this[_0x76fc71(0xdb)](_0x4c5f1a),this[_0x76fc71(0xa5)][_0x76fc71(0xcc)](_0x4c5f1a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4dff(){const _0x246843=['4011824jeNwtZ','2iQeUTl','1744512ZRVXAX','length','plugins','Users','createRange','end','config','model','21lovdhX','isEnabled','substr','2490235hQcSZs','set','CommentsRepository','_trimToContent','hasContent','start','43961yMqprO','_createMarkersFromRanges','addMarker','get','_itemIsContent','tableCell','_hasContent','addcommentthreadcommand-user-not-found','getItems','getRanges','selection','647560EpvLhU','execute','addcommentthreadcommand-incorrect-ranges','document','_createCommentThread','addCommentThread','item','backward','editor','5538UyiggR','push','schema','getLastMatchingPosition','element','158930hJYOOk','$textProxy','collaboration.channelId','1026ZoXGny','comment:','refresh','from','isObject','change'];_0x4dff=function(){return _0x246843;};return _0x4dff();}const _0xac4035=_0x4560;(function(_0x1e3d7b,_0x249764){const _0x133dc1=_0x4560,_0x500a08=_0x1e3d7b();while(!![]){try{const _0xe5d4b8=-parseInt(_0x133dc1(0x1f2))/0x1*(parseInt(_0x133dc1(0x215))/0x2)+-parseInt(_0x133dc1(0x216))/0x3+parseInt(_0x133dc1(0x1fd))/0x4+-parseInt(_0x133dc1(0x221))/0x5+-parseInt(_0x133dc1(0x206))/0x6*(-parseInt(_0x133dc1(0x21e))/0x7)+-parseInt(_0x133dc1(0x214))/0x8+parseInt(_0x133dc1(0x20e))/0x9*(parseInt(_0x133dc1(0x20b))/0xa);if(_0xe5d4b8===_0x249764)break;else _0x500a08['push'](_0x500a08['shift']());}catch(_0x3f8e15){_0x500a08['push'](_0x500a08['shift']());}}}(_0x4dff,0x55cef));import{Command as _0x188621}from'ckeditor5/src/core.js';import{uid as _0x2cd9e6,CKEditorError as _0x49e1b4}from'ckeditor5/src/utils.js';function _0x4560(_0x5cc52e,_0x10ad78){const _0x4dff4b=_0x4dff();return _0x4560=function(_0x45605b,_0x22074e){_0x45605b=_0x45605b-0x1ed;let _0x46a164=_0x4dff4b[_0x45605b];return _0x46a164;},_0x4560(_0x5cc52e,_0x10ad78);}export class AddCommentThreadCommand extends _0x188621{constructor(_0x107cf9){const _0x577cb1=_0x4560;super(_0x107cf9),this[_0x577cb1(0x1ed)](_0x577cb1(0x1f0),!0x1);}[_0xac4035(0x210)](){const _0xe57f0f=_0xac4035,_0x5a2893=this[_0xe57f0f(0x205)][_0xe57f0f(0x21d)][_0xe57f0f(0x200)][_0xe57f0f(0x1fc)];this[_0xe57f0f(0x21f)]=!0x0,this[_0xe57f0f(0x1f0)]=!0x1;for(const _0x180899 of _0x5a2893[_0xe57f0f(0x1fb)]())if(this[_0xe57f0f(0x1f8)](_0x180899))return void(this[_0xe57f0f(0x1f0)]=!0x0);}[_0xac4035(0x1fe)]({threadId:_0x52a3d1=_0x2cd9e6(),ranges:_0x31bdcc,comment:_0xc9a2f4}={}){const _0x592e82=_0xac4035,_0x1050b1=this[_0x592e82(0x205)][_0x592e82(0x21d)],_0x428e91=_0x31bdcc??Array[_0x592e82(0x211)](_0x1050b1[_0x592e82(0x200)][_0x592e82(0x1fc)][_0x592e82(0x1fb)]()),_0x5375a9=[];for(const _0x3af3b5 of _0x428e91)this[_0x592e82(0x1f8)](_0x3af3b5)&&_0x5375a9[_0x592e82(0x207)](this[_0x592e82(0x1ef)](_0x3af3b5));if(!_0x5375a9[_0x592e82(0x217)])throw new _0x49e1b4(_0x592e82(0x1ff),null);_0xc9a2f4&&this[_0x592e82(0x201)](_0x52a3d1,_0xc9a2f4),this[_0x592e82(0x1f3)](_0x52a3d1,_0x5375a9,!!_0xc9a2f4);}[_0xac4035(0x1f3)](_0x153503,_0x191b18,_0x3b9f4d){const _0x37a8a5=_0xac4035;this[_0x37a8a5(0x205)][_0x37a8a5(0x21d)][_0x37a8a5(0x213)](_0x379c1d=>{const _0x364e07=_0x37a8a5;for(const _0x3697cc of _0x191b18){const _0x3401e3=_0x2cd9e6()[_0x364e07(0x220)](0x1,0x5),_0x450721=_0x364e07(0x20f)+_0x153503+':'+_0x3401e3;_0x379c1d[_0x364e07(0x1f4)](_0x450721,{'range':_0x3697cc,'usingOperation':_0x3b9f4d,'affectsData':_0x3b9f4d});}});}[_0xac4035(0x201)](_0x58fb65,_0x3296a4){const _0x225d10=_0xac4035,_0x20f5af=this[_0x225d10(0x205)][_0x225d10(0x218)][_0x225d10(0x1f5)](_0x225d10(0x1ee)),_0x129fc3=this[_0x225d10(0x205)][_0x225d10(0x21c)][_0x225d10(0x1f5)](_0x225d10(0x20d)),_0x296ce2=this[_0x225d10(0x205)][_0x225d10(0x218)][_0x225d10(0x1f5)](_0x225d10(0x219))['me'];if(!_0x296ce2)throw new _0x49e1b4(_0x225d10(0x1f9),null);_0x20f5af[_0x225d10(0x202)]({'threadId':_0x58fb65,'channelId':_0x129fc3,'comments':[{'authorId':_0x296ce2['id'],'content':_0x3296a4,'createdAt':new Date(),'attributes':{}}]});}[_0xac4035(0x1f8)](_0x2ce08b){const _0xc6a560=_0xac4035;for(const _0x9851b7 of _0x2ce08b[_0xc6a560(0x1fa)]())if(this[_0xc6a560(0x1f6)](_0x9851b7))return!0x0;return!0x1;}[_0xac4035(0x1f6)](_0x4d239c){const _0x3e4146=_0xac4035;return _0x4d239c['is'](_0x3e4146(0x20c))||this[_0x3e4146(0x205)][_0x3e4146(0x21d)][_0x3e4146(0x208)][_0x3e4146(0x212)](_0x4d239c)&&!_0x4d239c['is'](_0x3e4146(0x20a),_0x3e4146(0x1f7));}[_0xac4035(0x1ef)](_0x167379){const _0x8242d6=_0xac4035,_0x30263b=_0x414874=>!this[_0x8242d6(0x1f6)](_0x414874[_0x8242d6(0x203)]),_0x562cb6=_0x167379[_0x8242d6(0x1f1)][_0x8242d6(0x209)](_0x30263b),_0x4d529d=_0x167379[_0x8242d6(0x21b)][_0x8242d6(0x209)](_0x30263b,{'direction':_0x8242d6(0x204)});return this[_0x8242d6(0x205)][_0x8242d6(0x21d)][_0x8242d6(0x21a)](_0x562cb6,_0x4d529d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x19f49d=_0x54ed;function _0x54ed(_0x27743b,_0x22a73a){const _0x54f811=_0x54f8();return _0x54ed=function(_0x54ed42,_0x15c47d){_0x54ed42=_0x54ed42-0x195;let _0x23868c=_0x54f811[_0x54ed42];return _0x23868c;},_0x54ed(_0x27743b,_0x22a73a);}(function(_0x3a1962,_0x20a42c){const _0x3d3b1d=_0x54ed,_0x4a05d0=_0x3a1962();while(!![]){try{const _0x221f73=-parseInt(_0x3d3b1d(0x1b6))/0x1*(-parseInt(_0x3d3b1d(0x1b1))/0x2)+parseInt(_0x3d3b1d(0x199))/0x3*(-parseInt(_0x3d3b1d(0x1af))/0x4)+parseInt(_0x3d3b1d(0x1b7))/0x5*(parseInt(_0x3d3b1d(0x1ad))/0x6)+parseInt(_0x3d3b1d(0x1ac))/0x7*(-parseInt(_0x3d3b1d(0x1ab))/0x8)+parseInt(_0x3d3b1d(0x1a7))/0x9+parseInt(_0x3d3b1d(0x1a5))/0xa*(parseInt(_0x3d3b1d(0x1be))/0xb)+-parseInt(_0x3d3b1d(0x1b5))/0xc*(-parseInt(_0x3d3b1d(0x1a1))/0xd);if(_0x221f73===_0x20a42c)break;else _0x4a05d0['push'](_0x4a05d0['shift']());}catch(_0x29f594){_0x4a05d0['push'](_0x4a05d0['shift']());}}}(_0x54f8,0xe7637));function _0x54f8(){const _0x47928a=['isActive','collection','pluginName','findIndex','152570EVAuDf','plugins','addCommentThread','archivedThreads','getCommentThread','3vWFSgQ','context','listenTo','has','_calculatePosition','highest','requires','add','104TGYdgy','isOfficialPlugin','removeCommentThread','archivedAt','10RDYdlL','get','5718735NVKAUa','CommentsArchive','init','isVisible','12840352zKOMTZ','7gpvDvR','6AXypVd','change:archivedAt','5303824gYYxCS','focus','5890DqYCXN','activate','stopListening','remove','3059688plXucg','205FwXSKu','2929825NWuyvj','isPremiumPlugin','length'];_0x54f8=function(){return _0x47928a;};return _0x54f8();}import{ContextPlugin as _0x55116f}from'ckeditor5/src/core.js';import{Collection as _0x582097}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x39ecf5}from'./commentsrepository.js';import{Annotations as _0x4b5992}from'../annotations/annotations.js';export class CommentsArchive extends _0x55116f{static get[_0x19f49d(0x1bc)](){const _0x2e2528=_0x19f49d;return _0x2e2528(0x1a8);}static get[_0x19f49d(0x1a2)](){return!0x0;}static get[_0x19f49d(0x1b8)](){return!0x0;}static get[_0x19f49d(0x19f)](){return[_0x39ecf5,_0x4b5992];}constructor(_0x107d3c){const _0x5c06e6=_0x19f49d;super(_0x107d3c),this[_0x5c06e6(0x197)]=new _0x582097();}[_0x19f49d(0x1a9)](){const _0x58e59d=_0x19f49d,_0x22c851=this[_0x58e59d(0x19a)],_0x29167c=_0x22c851[_0x58e59d(0x195)][_0x58e59d(0x1a6)](_0x39ecf5),_0x3f26fa=_0x22c851[_0x58e59d(0x195)][_0x58e59d(0x1a6)](_0x4b5992);this[_0x58e59d(0x19b)](_0x29167c,_0x58e59d(0x196),(_0x35f0cc,{threadId:_0x4bdb09})=>{const _0x358e40=_0x58e59d,_0x4a0c5a=_0x29167c[_0x358e40(0x198)](_0x4bdb09);_0x4a0c5a[_0x358e40(0x1a4)]&&this[_0x358e40(0x197)][_0x358e40(0x1a0)](_0x4a0c5a,this[_0x358e40(0x19d)](_0x4a0c5a[_0x358e40(0x1a4)])),this[_0x358e40(0x19b)](_0x4a0c5a,_0x358e40(0x1ae),(_0x1ee64a,_0x26bc18,_0x236580)=>{const _0x5928a1=_0x358e40;_0x236580?this[_0x5928a1(0x197)][_0x5928a1(0x19c)](_0x4a0c5a)||this[_0x5928a1(0x197)][_0x5928a1(0x1a0)](_0x4a0c5a,this[_0x5928a1(0x19d)](_0x4a0c5a[_0x5928a1(0x1a4)])):this[_0x5928a1(0x197)][_0x5928a1(0x19c)](_0x4a0c5a)&&this[_0x5928a1(0x197)][_0x5928a1(0x1b4)](_0x4a0c5a);});}),this[_0x58e59d(0x19b)](_0x29167c,_0x58e59d(0x1a3),(_0x2a5cdd,{threadId:_0x3910cf})=>{const _0x50ef80=_0x58e59d,_0x44a39b=_0x29167c[_0x50ef80(0x198)](_0x3910cf);this[_0x50ef80(0x1b3)](_0x44a39b),this[_0x50ef80(0x197)][_0x50ef80(0x19c)](_0x44a39b)&&this[_0x50ef80(0x197)][_0x50ef80(0x1b4)](_0x44a39b);},{'priority':_0x58e59d(0x19e)}),this[_0x58e59d(0x19b)](_0x3f26fa[_0x58e59d(0x1bb)],_0x58e59d(0x1b0),(_0x47417f,_0x581290)=>{const _0x360ada=_0x58e59d;_0x581290[_0x360ada(0x1aa)]||(_0x581290[_0x360ada(0x1ba)]=!0x0,_0x3f26fa[_0x360ada(0x1b2)](_0x581290));});}[_0x19f49d(0x19d)](_0x3487b3){const _0x279724=_0x19f49d,_0x51a974=[...this[_0x279724(0x197)]][_0x279724(0x1bd)](_0x59441a=>_0x59441a[_0x279724(0x1a4)]<_0x3487b3);return _0x51a974>-0x1?_0x51a974:this[_0x279724(0x197)][_0x279724(0x1b9)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb701c=_0x21eb;(function(_0x305d38,_0x412499){const _0x33b5bc=_0x21eb,_0x26106f=_0x305d38();while(!![]){try{const _0x336585=parseInt(_0x33b5bc(0xee))/0x1+parseInt(_0x33b5bc(0xe4))/0x2*(parseInt(_0x33b5bc(0xf5))/0x3)+-parseInt(_0x33b5bc(0xf9))/0x4+-parseInt(_0x33b5bc(0xe6))/0x5+parseInt(_0x33b5bc(0x100))/0x6*(-parseInt(_0x33b5bc(0x11a))/0x7)+-parseInt(_0x33b5bc(0x10d))/0x8*(-parseInt(_0x33b5bc(0x117))/0x9)+parseInt(_0x33b5bc(0xd6))/0xa*(parseInt(_0x33b5bc(0xe9))/0xb);if(_0x336585===_0x412499)break;else _0x26106f['push'](_0x26106f['shift']());}catch(_0x31cbd6){_0x26106f['push'](_0x26106f['shift']());}}}(_0x1504,0x31908));import'../../theme/commentsarchive.css';import{Plugin as _0x4d86c7}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x4ac5af}from'ckeditor5/src/icons.js';import{ViewCollection as _0x27fe8d,MenuBarMenuListItemButtonView as _0x54cfda,ButtonView as _0x5b0993,Dialog as _0xd0d6ab,DialogViewPosition as _0x2adb17}from'ckeditor5/src/ui.js';function _0x21eb(_0x8eb6db,_0x111f78){const _0x150423=_0x1504();return _0x21eb=function(_0x21eb89,_0x246f20){_0x21eb89=_0x21eb89-0xcf;let _0x12f28d=_0x150423[_0x21eb89];return _0x12f28d;},_0x21eb(_0x8eb6db,_0x111f78);}import{getTranslation as _0x43bb7e}from'../utils/common-translations.js';import{CommentsArchiveView as _0xfa3758}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x4465f3}from'./commentsarchive.js';function _0x1504(){const _0x1fedd1=['_visibleAnnotations','getByInnerView','collaboration.channelId','init','view','commentsArchive','execute','8zhCMPy','innerView','isVisible','menuBar:commentsArchive','_createCommentsArchiveButton','filter','isOn','EDITOR_TOP_SIDE','_handleNewThread','commentsArchiveView','749781cDVyzp','source','config','208817iaMZeM','collection','set','listenTo','escape','forEach','locale','_toggleDialog','annotationViews','388120OvlaQF','add','length','isOfficialPlugin','has','plugins','_threadToController','componentFactory','archivedThreads','includes','archivedAt','remove','isPremiumPlugin','push','4HUFUmg','editor','1674305xXvyPY','focusableElements','Annotations','176VoMGYq','pluginName','find','hide','Dialog','274331rhwmTs','indexOf','requires','_calculatePosition','menuitemcheckbox','stopListening','CommentsArchiveUI','381096csHDev','splice','stop','tooltip','1466712zihVaH','isOpen','isEnabled','get','COMMENTS_ARCHIVE','channelId','_pendingThreads','66yRcalJ','findIndex','show','_hideDialogOnAnnotationEscape','CommentsRepository','bind'];_0x1504=function(){return _0x1fedd1;};return _0x1504();}export class CommentsArchiveUI extends _0x4d86c7{[_0xb701c(0x116)];[_0xb701c(0xd5)];[_0xb701c(0xff)];static get[_0xb701c(0xea)](){const _0x47046c=_0xb701c;return _0x47046c(0xf4);}static get[_0xb701c(0xd9)](){return!0x0;}static get[_0xb701c(0xe2)](){return!0x0;}static get[_0xb701c(0xf0)](){return[_0x4465f3,_0xd0d6ab];}constructor(_0x520e5f){const _0xfae671=_0xb701c;super(_0x520e5f),this[_0xfae671(0xd5)]=new _0x27fe8d(),this[_0xfae671(0xff)]=[];}[_0xb701c(0x109)](){const _0x35bcb7=_0xb701c,_0x3eb2c1=this[_0x35bcb7(0xe5)],_0x448034=this[_0x35bcb7(0x103)][_0x35bcb7(0x105)](this);_0x3eb2c1['ui'][_0x35bcb7(0xdd)][_0x35bcb7(0xd7)](_0x35bcb7(0x10b),()=>this[_0x35bcb7(0x111)](_0x5b0993,!0x0)),_0x3eb2c1['ui'][_0x35bcb7(0xdd)][_0x35bcb7(0xd7)](_0x35bcb7(0x110),()=>{const _0x18ebc2=_0x35bcb7,_0x12aa23=this[_0x18ebc2(0x111)](_0x54cfda);return _0x12aa23[_0x18ebc2(0xcf)]({'role':_0x18ebc2(0xf2)}),_0x12aa23;});const _0x153760=_0x3eb2c1[_0x35bcb7(0xdb)][_0x35bcb7(0xfc)](_0x4465f3),_0x192210=_0x3eb2c1[_0x35bcb7(0xdb)][_0x35bcb7(0xfc)](_0x35bcb7(0xe8)),_0x1755cb=_0x3eb2c1[_0x35bcb7(0xdb)][_0x35bcb7(0xfc)](_0x35bcb7(0x104));_0x153760[_0x35bcb7(0xde)][_0x35bcb7(0xd2)](_0x421f18=>{const _0x56bb8a=_0x35bcb7;this[_0x56bb8a(0x115)](_0x421f18);}),this[_0x35bcb7(0xd0)](_0x153760[_0x35bcb7(0xde)],_0x35bcb7(0xd7),(_0x4847c3,_0xd4ed65)=>{const _0x2cb2a8=_0x35bcb7;this[_0x2cb2a8(0x115)](_0xd4ed65);}),this[_0x35bcb7(0xd0)](_0x192210[_0x35bcb7(0x11b)],_0x35bcb7(0xd7),(_0x4fb535,_0x405244)=>{const _0x2beb10=_0x35bcb7,_0x2e7490=this[_0x2beb10(0xff)][_0x2beb10(0xeb)](_0x5a4df6=>{const _0x34ea70=_0x2beb10,_0x2433b9=_0x1755cb[_0x34ea70(0xdc)][_0x34ea70(0xfc)](_0x5a4df6);return _0x2433b9&&_0x405244[_0x34ea70(0x10e)]===_0x2433b9[_0x34ea70(0x10a)];});if(_0x2e7490){const _0x4cb457=this[_0x2beb10(0xf1)](_0x2e7490[_0x2beb10(0xe0)]);this[_0x2beb10(0xd5)][_0x2beb10(0xd7)](_0x405244[_0x2beb10(0x10a)],_0x4cb457),this[_0x2beb10(0xff)][_0x2beb10(0xf6)](this[_0x2beb10(0xff)][_0x2beb10(0xef)](_0x2e7490),0x1);}}),this[_0x35bcb7(0xd0)](_0x153760[_0x35bcb7(0xde)],_0x35bcb7(0xe1),(_0x276b43,_0x227036)=>{const _0xcd99ad=_0x35bcb7,_0x1a8bb0=_0x3eb2c1[_0xcd99ad(0x119)][_0xcd99ad(0xfc)](_0xcd99ad(0x108));if(!_0x1a8bb0||_0x227036[_0xcd99ad(0xfe)]===_0x1a8bb0){if(this[_0xcd99ad(0xff)][_0xcd99ad(0xdf)](_0x227036))this[_0xcd99ad(0xff)][_0xcd99ad(0xf6)](this[_0xcd99ad(0xff)][_0xcd99ad(0xef)](_0x227036),0x1);else{const _0x9f6b8a=_0x1755cb[_0xcd99ad(0xdc)][_0xcd99ad(0xfc)](_0x227036),_0x59c1cc=_0x192210[_0xcd99ad(0x107)](_0x9f6b8a[_0xcd99ad(0x10a)]);this[_0xcd99ad(0xd5)][_0xcd99ad(0xe1)](_0x59c1cc[_0xcd99ad(0x10a)]),this[_0xcd99ad(0xf3)](_0x59c1cc[_0xcd99ad(0xe7)]);}}}),this[_0x35bcb7(0xd0)](_0x192210[_0x35bcb7(0x11b)],_0x35bcb7(0xd7),(_0x296ccf,_0x33def1)=>{const _0x401de2=_0x35bcb7;this[_0x401de2(0xd0)](_0x33def1,_0x401de2(0xd1),_0x448034);}),this[_0x35bcb7(0xd0)](_0x192210[_0x35bcb7(0x11b)],_0x35bcb7(0xe1),(_0x1591de,_0x47f198)=>{const _0x30aa86=_0x35bcb7;this[_0x30aa86(0xf3)](_0x47f198,_0x30aa86(0xd1),_0x448034);});}[_0xb701c(0x115)](_0x2c4b67){const _0x19ec99=_0xb701c,_0x5185f9=this[_0x19ec99(0xe5)][_0x19ec99(0xdb)][_0x19ec99(0xfc)](_0x19ec99(0x104)),_0x4db4f2=this[_0x19ec99(0xe5)][_0x19ec99(0xdb)][_0x19ec99(0xfc)](_0x19ec99(0xe8)),_0x4bea1b=this[_0x19ec99(0xe5)][_0x19ec99(0x119)][_0x19ec99(0xfc)](_0x19ec99(0x108));if(!_0x4bea1b||_0x2c4b67[_0x19ec99(0xfe)]===_0x4bea1b){const _0x2b7fa9=_0x5185f9[_0x19ec99(0xdc)][_0x19ec99(0xfc)](_0x2c4b67);if(!_0x2b7fa9)return void this[_0x19ec99(0xff)][_0x19ec99(0xe3)](_0x2c4b67);const _0x59ca60=this[_0x19ec99(0xf1)](_0x2c4b67[_0x19ec99(0xe0)]),_0x52058b=_0x4db4f2[_0x19ec99(0x107)](_0x2b7fa9[_0x19ec99(0x10a)]);_0x52058b[_0x19ec99(0x10f)]&&_0x4db4f2[_0x19ec99(0x106)][_0x19ec99(0xe1)](_0x52058b),this[_0x19ec99(0xd5)][_0x19ec99(0xd7)](_0x52058b[_0x19ec99(0x10a)],_0x59ca60);}}[_0xb701c(0xf1)](_0x5e91ed){const _0x12cbdd=_0xb701c,_0x226d77=this[_0x12cbdd(0xe5)][_0x12cbdd(0x119)][_0x12cbdd(0xfc)](_0x12cbdd(0x108)),_0x5723bb=[...this[_0x12cbdd(0xe5)][_0x12cbdd(0xdb)][_0x12cbdd(0xfc)](_0x4465f3)[_0x12cbdd(0xde)]][_0x12cbdd(0x112)](_0x52a095=>_0x52a095[_0x12cbdd(0xfe)]===_0x226d77)[_0x12cbdd(0x101)](_0x5d7371=>_0x5d7371[_0x12cbdd(0xe0)]<_0x5e91ed);return _0x5723bb<0x0||_0x5723bb>this[_0x12cbdd(0xd5)][_0x12cbdd(0xd8)]?this[_0x12cbdd(0xd5)][_0x12cbdd(0xd8)]:_0x5723bb-0x1;}[_0xb701c(0xd4)](){const _0x440231=_0xb701c,_0x283377=this[_0x440231(0xe5)],_0x2c812a=_0x283377[_0x440231(0xdb)][_0x440231(0xfc)](_0x440231(0xed));this[_0x440231(0x116)]||(this[_0x440231(0x116)]=new _0xfa3758(_0x283377[_0x440231(0xd3)],this[_0x440231(0xd5)])),_0x440231(0x10b)===_0x2c812a['id']?_0x2c812a[_0x440231(0xec)]():_0x2c812a[_0x440231(0x102)]({'id':_0x440231(0x10b),'title':_0x43bb7e(_0x283377[_0x440231(0xd3)],_0x440231(0xfd)),'icon':_0x4ac5af,'hasCloseButton':!0x0,'content':this[_0x440231(0x116)],'position':_0x2adb17[_0x440231(0x114)]});}[_0xb701c(0x111)](_0x408839,_0x1a0f5c=!0x1){const _0x53e714=_0xb701c,_0x4b3620=this[_0x53e714(0xe5)][_0x53e714(0xd3)],_0x33167a=this[_0x53e714(0xe5)][_0x53e714(0xdb)][_0x53e714(0xfc)](_0x53e714(0xed)),_0x3232a5=new _0x408839(_0x4b3620);return _0x3232a5[_0x53e714(0x105)](_0x53e714(0xfb))['to'](this,_0x53e714(0xfb)),_0x3232a5[_0x53e714(0x105)](_0x53e714(0x113))['to'](_0x33167a,'id',_0x34faa7=>_0x53e714(0x10b)===_0x34faa7),_0x3232a5[_0x53e714(0xcf)]({'label':_0x43bb7e(_0x4b3620,_0x53e714(0xfd)),'icon':_0x4ac5af,'isToggleable':!0x0}),_0x1a0f5c&&(_0x3232a5[_0x53e714(0xf8)]=!0x0),this[_0x53e714(0xd0)](_0x3232a5,_0x53e714(0x10c),()=>this[_0x53e714(0xd4)]()),_0x3232a5;}[_0xb701c(0x103)]=_0x557138=>{const _0x7370cc=_0xb701c,_0x5eb86b=_0x557138[_0x7370cc(0x118)];if(!this[_0x7370cc(0xd5)][_0x7370cc(0xda)](_0x5eb86b[_0x7370cc(0x10a)]))return;const _0x3218ed=this[_0x7370cc(0xe5)][_0x7370cc(0xdb)][_0x7370cc(0xfc)](_0x7370cc(0xed));_0x3218ed[_0x7370cc(0xfa)]&&_0x7370cc(0x10b)===_0x3218ed['id']&&(_0x3218ed[_0x7370cc(0xec)](),_0x557138[_0x7370cc(0xf7)]());};}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/comments/commentsediting
|
|
7
|
+
* @publicApi
|
|
7
8
|
*/
|
|
8
9
|
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
9
10
|
import type { Marker } from 'ckeditor5/src/engine.js';
|
|
@@ -92,11 +93,3 @@ export declare class CommentsEditing extends Plugin {
|
|
|
92
93
|
*/
|
|
93
94
|
scrollToThreadMarker(threadId: string): void;
|
|
94
95
|
}
|
|
95
|
-
/**
|
|
96
|
-
* Returns marker name split to group and id.
|
|
97
|
-
*/
|
|
98
|
-
export declare function splitMarkerName(name: string): {
|
|
99
|
-
group: string;
|
|
100
|
-
id: string;
|
|
101
|
-
part: string;
|
|
102
|
-
};
|