@ckeditor/ckeditor5-comments 46.0.0-alpha.8 → 46.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xcb6ed0=_0x52b0;(function(_0x1781ad,_0x42ee7e){const _0x1082dc=_0x52b0,_0x3d762a=_0x1781ad();while(!![]){try{const _0x1b9225=parseInt(_0x1082dc(0x191))/0x1*(parseInt(_0x1082dc(0x14f))/0x2)+parseInt(_0x1082dc(0x17a))/0x3+parseInt(_0x1082dc(0x173))/0x4+parseInt(_0x1082dc(0x163))/0x5*(parseInt(_0x1082dc(0x149))/0x6)+parseInt(_0x1082dc(0x15b))/0x7*(parseInt(_0x1082dc(0x167))/0x8)+-parseInt(_0x1082dc(0x164))/0x9*(-parseInt(_0x1082dc(0x19b))/0xa)+-parseInt(_0x1082dc(0x18e))/0xb;if(_0x1b9225===_0x42ee7e)break;else _0x3d762a['push'](_0x3d762a['shift']());}catch(_0x361f4e){_0x3d762a['push'](_0x3d762a['shift']());}}}(_0x12ec,0x993e6));function _0x52b0(_0x8867bc,_0x192e1d){const _0x12ecf2=_0x12ec();return _0x52b0=function(_0x52b0db,_0x4e37bf){_0x52b0db=_0x52b0db-0x149;let _0x457847=_0x12ecf2[_0x52b0db];return _0x457847;},_0x52b0(_0x8867bc,_0x192e1d);}import{ContextPlugin as _0x549ec5}from'ckeditor5/src/core.js';import{Rect as _0x7ba7df,CKEditorError as _0x1d3bc5}from'ckeditor5/src/utils.js';function _0x12ec(){const _0x3fd963=['Sidebar','_getTargetTop','push','isAnimationDisabled','change:_lastItem','refresh','destroy','remove','_activeAnnotation','get','sidebar-attachtocontainer-missing-container','_recalculate','_targetTop','max','_annotations','_alignToTargetRect','top','bottom','32823417XcGhkR','addAnnotation','sidebar.preventScrollOutOfView','1TJABkA','view','isActive','sidebar-setcontainer-invalid-element','_sidebarItemViewToAnnotation','context','_annotationToSidebarItemView','element','_setItemTop','getSidebarItemView','10LYKcee','listenTo','_destroySidebarItemView','list','updateHeight','change:bottom','container','set','_recalculateBuffer','define','198PaxiPv','class','isOfficialPlugin','_getMaxAvailableTop','length','_createSidebarView','1931938gPLazc','render','delete','appendChild','_detachFromContainer','_spaceBetweenItems','change:top','locale','unbind','nodeType','_alignForBottomChange','_alignBeforeItem','294ziSeMW','minHeight','clear','pluginName','config','target','init','sidebar.container','103435vnDdIO','2544957bMsLwZ','change:targetRect','height','208024VBIyfd','_getItemBefore','targetRect','last','stopListening','isPremiumPlugin','add','_attachToContainer','content','bind','object','_lastItem','1187460msBkUG','_alignForTopChange','_updateLastItem','getIndex','rearrange','_alignAfterItem','_getItemAfter','873687jLPsqD','setContainer'];_0x12ec=function(){return _0x3fd963;};return _0x12ec();}import{AnnotationsSidebarView as _0x580bda}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x528694}from'./view/sidebaritemview.js';export class Sidebar extends _0x549ec5{[_0xcb6ed0(0x192)];[_0xcb6ed0(0x184)];[_0xcb6ed0(0x18a)];[_0xcb6ed0(0x154)];[_0xcb6ed0(0x195)];[_0xcb6ed0(0x197)];[_0xcb6ed0(0x1a3)];static get[_0xcb6ed0(0x15e)](){const _0xc0bdf8=_0xcb6ed0;return _0xc0bdf8(0x17c);}static get[_0xcb6ed0(0x14b)](){return!0x0;}static get[_0xcb6ed0(0x16c)](){return!0x0;}constructor(_0x105380){const _0x1c6657=_0xcb6ed0;super(_0x105380),this[_0x1c6657(0x1a2)](_0x1c6657(0x172),void 0x0),this[_0x1c6657(0x192)]=this[_0x1c6657(0x14e)](),this[_0x1c6657(0x1a2)](_0x1c6657(0x1a1),null),this[_0x1c6657(0x154)]=0x19,this[_0x1c6657(0x195)]=new Map(),this[_0x1c6657(0x197)]=new Map(),this[_0x1c6657(0x196)][_0x1c6657(0x15f)][_0x1c6657(0x1a4)](_0x1c6657(0x190),!0x1),this[_0x1c6657(0x18a)]=null,this[_0x1c6657(0x184)]=null,this[_0x1c6657(0x1a3)]=[];}[_0xcb6ed0(0x161)](){const _0x47f543=_0xcb6ed0,_0x49dbb7=this[_0x47f543(0x196)][_0x47f543(0x15f)][_0x47f543(0x185)](_0x47f543(0x162));_0x49dbb7&&this[_0x47f543(0x17b)](_0x49dbb7);}[_0xcb6ed0(0x17b)](_0x4997cd){const _0x589842=_0xcb6ed0;if(!g(_0x4997cd))throw new _0x1d3bc5(_0x589842(0x194));this[_0x589842(0x1a1)]=_0x4997cd;}[_0xcb6ed0(0x16e)]({viewClass:_0x49e132='',spaceBetweenItems:_0x2812e2=0x19}={}){const _0xb8aa4a=_0xcb6ed0;if(!g(this[_0xb8aa4a(0x1a1)]))throw new _0x1d3bc5(_0xb8aa4a(0x186),this);this[_0xb8aa4a(0x1a1)][_0xb8aa4a(0x152)](this[_0xb8aa4a(0x192)][_0xb8aa4a(0x198)]),this[_0xb8aa4a(0x192)][_0xb8aa4a(0x14a)]=_0x49e132,this[_0xb8aa4a(0x154)]=_0x2812e2;}[_0xcb6ed0(0x177)]({removedAnnotation:_0x375ab2,previousAnnotation:_0x1f908d,nextAnnotation:_0x54158c}){const _0x2a1990=_0xcb6ed0,_0x38214e=this[_0x2a1990(0x19a)](_0x375ab2);this[_0x2a1990(0x192)][_0x2a1990(0x19e)][_0x2a1990(0x183)](_0x38214e),this[_0x2a1990(0x19d)](_0x375ab2),_0x1f908d&&this[_0x2a1990(0x18b)](this[_0x2a1990(0x19a)](_0x1f908d)),_0x54158c&&this[_0x2a1990(0x18b)](this[_0x2a1990(0x19a)](_0x54158c)),this[_0x2a1990(0x175)]();}[_0xcb6ed0(0x181)]({blurredAnnotation:_0x518249,activatedAnnotation:_0x51bf15,disableAnimationOnActivatedAnnotation:_0x2cdf6c}){const _0x4de772=_0xcb6ed0;if(this[_0x4de772(0x184)]=_0x51bf15,_0x518249){_0x518249[_0x4de772(0x193)]=!0x1;const _0x195d11=this[_0x4de772(0x19a)](_0x518249);_0x195d11&&_0x2cdf6c&&(_0x195d11[_0x4de772(0x17f)]=!0x1);}if(_0x51bf15){const _0x545944=this[_0x4de772(0x19a)](_0x51bf15);_0x545944&&(_0x51bf15[_0x4de772(0x193)]=!0x0,_0x2cdf6c&&(_0x545944[_0x4de772(0x17f)]=!0x0,_0x545944[_0x4de772(0x18c)]+=0x1),this[_0x4de772(0x18b)](_0x545944));}}[_0xcb6ed0(0x153)](_0x27334e){const _0x10beff=_0xcb6ed0;if(this[_0x10beff(0x192)][_0x10beff(0x198)][_0x10beff(0x183)](),_0x27334e){for(const _0x4c193c of _0x27334e)this[_0x10beff(0x19d)](_0x4c193c);}this[_0x10beff(0x192)][_0x10beff(0x19e)][_0x10beff(0x15d)](),this[_0x10beff(0x192)][_0x10beff(0x14a)]='',this[_0x10beff(0x172)]=null;}[_0xcb6ed0(0x18f)](_0x54c84e,_0xb7173){const _0x474cc8=_0xcb6ed0;_0xb7173||(_0xb7173=_0x54c84e[_0x474cc8(0x192)]);const _0x41f804=new _0x528694(this[_0x474cc8(0x196)][_0x474cc8(0x156)]);this[_0x474cc8(0x195)][_0x474cc8(0x1a2)](_0x41f804,_0x54c84e),this[_0x474cc8(0x197)][_0x474cc8(0x1a2)](_0x54c84e,_0x41f804),_0x41f804[_0x474cc8(0x16f)][_0x474cc8(0x16d)](_0xb7173),this[_0x474cc8(0x19c)](_0x54c84e[_0x474cc8(0x192)],_0x474cc8(0x165),(_0x3cfd7b,_0x53062e,_0x455133)=>{const _0x555c77=_0x474cc8,_0x19bc1d=this[_0x555c77(0x17d)](_0x54c84e,_0x455133);_0x41f804[_0x555c77(0x188)]!=_0x19bc1d&&(_0x41f804[_0x555c77(0x188)]=_0x19bc1d,this[_0x555c77(0x199)](_0x41f804,_0x19bc1d));}),this[_0x474cc8(0x19c)](_0x41f804,_0x474cc8(0x155),()=>{const _0x5c9a30=_0x474cc8;this[_0x5c9a30(0x187)](_0x41f804,_0x5c9a30(0x18c));}),this[_0x474cc8(0x19c)](_0x41f804,_0x474cc8(0x1a0),()=>{const _0x3474cf=_0x474cc8;this[_0x3474cf(0x187)](_0x41f804,_0x3474cf(0x18d));}),this[_0x474cc8(0x18b)](_0x41f804);const _0x27344f=this[_0x474cc8(0x168)](_0x41f804);if(_0x27344f)this[_0x474cc8(0x178)](_0x27344f,_0x41f804)||this[_0x474cc8(0x18b)](_0x41f804);else this[_0x474cc8(0x18b)](_0x41f804);return this[_0x474cc8(0x175)](),this[_0x474cc8(0x192)][_0x474cc8(0x19e)][_0x474cc8(0x16d)](_0x41f804),_0x41f804;}[_0xcb6ed0(0x174)](_0x28cb16){const _0x11a235=_0xcb6ed0;if(!_0x28cb16[_0x11a235(0x16f)][_0x11a235(0x14d)])return;const _0x1ec384=this[_0x11a235(0x168)](_0x28cb16);if(!_0x1ec384)return;const _0x5a5215=this[_0x11a235(0x195)][_0x11a235(0x185)](_0x1ec384),_0xa6bc0d=this[_0x11a235(0x184)];_0xa6bc0d&&_0xa6bc0d===_0x5a5215?this[_0x11a235(0x178)](_0x1ec384,_0x28cb16):this[_0x11a235(0x15a)](_0x28cb16,_0x1ec384);}[_0xcb6ed0(0x159)](_0xfa5c1d){const _0x44c304=_0xcb6ed0;if(!_0xfa5c1d[_0x44c304(0x16f)][_0x44c304(0x14d)])return;const _0x287b3b=this[_0x44c304(0x179)](_0xfa5c1d);if(!_0x287b3b)return;const _0x15ffc5=this[_0x44c304(0x195)][_0x44c304(0x185)](_0x287b3b),_0x2b2b4c=this[_0x44c304(0x196)][_0x44c304(0x15f)][_0x44c304(0x185)](_0x44c304(0x190)),_0x36e2b7=this[_0x44c304(0x184)];_0x36e2b7&&_0x36e2b7===_0x15ffc5&&_0x2b2b4c?(this[_0x44c304(0x15a)](_0x287b3b,_0xfa5c1d),this[_0x44c304(0x178)](_0xfa5c1d,_0x287b3b)):_0x36e2b7&&_0x36e2b7===_0x15ffc5?this[_0x44c304(0x15a)](_0x287b3b,_0xfa5c1d):this[_0x44c304(0x178)](_0xfa5c1d,_0x287b3b);}[_0xcb6ed0(0x187)](_0x41807e,_0x1ea4c1){const _0x36929a=_0xcb6ed0;0x0===this[_0x36929a(0x1a3)][_0x36929a(0x14d)]&&setTimeout(()=>{const _0x5b1c21=_0x36929a;for(const {sidebarItemView:_0x2ec9a3,changedProp:_0x2b8de8}of this[_0x5b1c21(0x1a3)])_0x5b1c21(0x18c)===_0x2b8de8?this[_0x5b1c21(0x174)](_0x2ec9a3):this[_0x5b1c21(0x159)](_0x2ec9a3);this[_0x5b1c21(0x1a3)]=[];},0xa),this[_0x36929a(0x1a3)][_0x36929a(0x17e)]({'sidebarItemView':_0x41807e,'changedProp':_0x1ea4c1});}[_0xcb6ed0(0x19a)](_0x36efc8){const _0x4e972b=_0xcb6ed0;return this[_0x4e972b(0x197)][_0x4e972b(0x185)](_0x36efc8);}[_0xcb6ed0(0x182)](){const _0x22e7c3=_0xcb6ed0;this[_0x22e7c3(0x16b)](),this[_0x22e7c3(0x192)][_0x22e7c3(0x182)]();}[_0xcb6ed0(0x19d)](_0x5bced7){const _0x224949=_0xcb6ed0,_0x215c82=this[_0x224949(0x19a)](_0x5bced7);this[_0x224949(0x16b)](_0x215c82),this[_0x224949(0x16b)](_0x5bced7[_0x224949(0x192)]),_0x215c82[_0x224949(0x182)](),this[_0x224949(0x197)][_0x224949(0x151)](_0x5bced7),this[_0x224949(0x195)][_0x224949(0x151)](_0x215c82);}[_0xcb6ed0(0x14e)](){const _0x5c7339=_0xcb6ed0,_0x1fe1b9=new _0x580bda(this[_0x5c7339(0x196)][_0x5c7339(0x156)]);return _0x1fe1b9[_0x5c7339(0x150)](),this['on'](_0x5c7339(0x180),(_0x253125,_0x3b08e6,_0x211530,_0x57f06)=>{const _0x36a956=_0x5c7339;_0x57f06&&_0x1fe1b9[_0x36a956(0x157)](_0x36a956(0x15c)),_0x211530?_0x1fe1b9[_0x36a956(0x170)](_0x36a956(0x15c))['to'](_0x211530,_0x36a956(0x18d)):_0x1fe1b9[_0x36a956(0x15c)]=null;}),_0x1fe1b9;}[_0xcb6ed0(0x175)](){const _0x974e98=_0xcb6ed0;this[_0x974e98(0x172)]=this[_0x974e98(0x18a)]?.[_0x974e98(0x16a)]?this[_0x974e98(0x19a)](this[_0x974e98(0x18a)][_0x974e98(0x16a)]):null;}[_0xcb6ed0(0x168)](_0x61ec83){const _0x30843f=_0xcb6ed0,_0x4b67ce=this[_0x30843f(0x195)][_0x30843f(0x185)](_0x61ec83),_0x51817a=_0x4b67ce&&this[_0x30843f(0x18a)]?.[_0x30843f(0x185)](this[_0x30843f(0x18a)][_0x30843f(0x176)](_0x4b67ce)-0x1);return _0x51817a&&this[_0x30843f(0x19a)](_0x51817a)||null;}[_0xcb6ed0(0x179)](_0x190487){const _0x9259ee=_0xcb6ed0,_0x549918=this[_0x9259ee(0x195)][_0x9259ee(0x185)](_0x190487),_0x24f52d=_0x549918&&this[_0x9259ee(0x18a)]?.[_0x9259ee(0x185)](this[_0x9259ee(0x18a)][_0x9259ee(0x176)](_0x549918)+0x1);return _0x24f52d&&this[_0x9259ee(0x19a)](_0x24f52d)||null;}[_0xcb6ed0(0x15a)](_0x45edc0,_0x5015b0){const _0x4340fd=_0xcb6ed0;_0x45edc0[_0x4340fd(0x19f)]();const _0x5cad1b=G(_0x5015b0[_0x4340fd(0x18d)]+this[_0x4340fd(0x154)],_0x45edc0[_0x4340fd(0x18c)]);return!!_0x5cad1b&&(this[_0x4340fd(0x199)](_0x5015b0,_0x5015b0[_0x4340fd(0x18c)]-_0x5cad1b),!0x0);}[_0xcb6ed0(0x178)](_0x395251,_0x35fe42){const _0x1fc53a=_0xcb6ed0;_0x395251[_0x1fc53a(0x19f)]();const _0x36308b=G(_0x395251[_0x1fc53a(0x18d)]+this[_0x1fc53a(0x154)],_0x35fe42[_0x1fc53a(0x18c)]);return!!_0x36308b&&(this[_0x1fc53a(0x199)](_0x35fe42,_0x35fe42[_0x1fc53a(0x18c)]+_0x36308b,!0x1),!0x0);}[_0xcb6ed0(0x18b)](_0xad2cac){const _0x175cd2=_0xcb6ed0,_0x4fca7b=this[_0x175cd2(0x195)][_0x175cd2(0x185)](_0xad2cac);if(!_0x4fca7b||!_0x4fca7b[_0x175cd2(0x160)]||!_0x4fca7b[_0x175cd2(0x169)])return;const _0x1f01ea=this[_0x175cd2(0x17d)](_0x4fca7b,_0x4fca7b[_0x175cd2(0x169)]);this[_0x175cd2(0x199)](_0xad2cac,_0x1f01ea);}[_0xcb6ed0(0x17d)](_0x4efead,_0x20a073){const _0x49f018=_0xcb6ed0;if(null===_0x20a073)return 0x0;if(_0x4efead[_0x49f018(0x160)]instanceof _0x7ba7df)return _0x20a073[_0x49f018(0x18c)];{const _0x49801e=new _0x7ba7df(this[_0x49f018(0x192)][_0x49f018(0x198)])[_0x49f018(0x18c)];return _0x20a073[_0x49f018(0x18c)]-_0x49801e;}}[_0xcb6ed0(0x199)](_0x4ac1f9,_0x28bf1b,_0xcc62b9=this[_0xcb6ed0(0x196)][_0xcb6ed0(0x15f)][_0xcb6ed0(0x185)](_0xcb6ed0(0x190))){const _0x5a50ab=_0xcb6ed0;_0xcc62b9&&(_0x28bf1b=Math[_0x5a50ab(0x189)](_0x28bf1b,this[_0x5a50ab(0x14c)](_0x4ac1f9))),_0x4ac1f9[_0x5a50ab(0x18c)]=_0x28bf1b;}[_0xcb6ed0(0x14c)](_0xea85ea){const _0x37c4dc=_0xcb6ed0;let _0x170f67=this[_0x37c4dc(0x168)](_0xea85ea),_0x5ee173=0x0;for(;_0x170f67;)_0x170f67[_0x37c4dc(0x19f)](),_0x5ee173+=this[_0x37c4dc(0x154)]+_0x170f67[_0x37c4dc(0x166)],_0x170f67=this[_0x37c4dc(0x168)](_0x170f67);return _0x5ee173;}}function G(_0x49ba17,_0x48747f){const _0x4b717b=_0xcb6ed0;return Math[_0x4b717b(0x189)](_0x49ba17-_0x48747f,0x0);}function g(_0x452cd5){const _0x201206=_0xcb6ed0;return null!==_0x452cd5&&_0x201206(0x171)==typeof _0x452cd5&&0x1===_0x452cd5[_0x201206(0x158)];}
|
|
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)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4865a7=_0x5542;(function(_0x519430,_0x4f85dd){const _0x1f42a0=_0x5542,_0x34d04e=_0x519430();while(!![]){try{const _0x2cc4dc=parseInt(_0x1f42a0(0x129))/0x1+-parseInt(_0x1f42a0(0x145))/0x2+parseInt(_0x1f42a0(0x13f))/0x3*(parseInt(_0x1f42a0(0x143))/0x4)+parseInt(_0x1f42a0(0x133))/0x5+parseInt(_0x1f42a0(0x13c))/0x6*(-parseInt(_0x1f42a0(0x13e))/0x7)+-parseInt(_0x1f42a0(0x12c))/0x8*(-parseInt(_0x1f42a0(0x135))/0x9)+parseInt(_0x1f42a0(0x12a))/0xa;if(_0x2cc4dc===_0x4f85dd)break;else _0x34d04e['push'](_0x34d04e['shift']());}catch(_0x19ceff){_0x34d04e['push'](_0x34d04e['shift']());}}}(_0x88f9,0x6fa9b));import{ButtonView as _0x15ca4a,View as _0x5ae4c2}from'ckeditor5/src/ui.js';function _0x88f9(){const _0x3a455a=['ck-annotation-counter__badge--edit-mode','icon','4245220YgIcms','extendTemplate','3464523xzZiLD','ck-annotation-counter__badge--','children','...','counterView','add','ck-annotation-counter','1762668yesPBk','bind','7ykPKTV','3kiejUk','setTemplate','span','number','161924CSYuoo','toString','1418764ZkTcII','bindTemplate','31211euaMex','1548480pmjFio','set','8RUDGOS','isDirty','_badge','ck-annotation-counter__badge','annotationType'];_0x88f9=function(){return _0x3a455a;};return _0x88f9();}import{IconAddComment as _0x55e244}from'ckeditor5/src/icons.js';function _0x5542(_0x3c25cc,_0x5c2b0a){const _0x88f902=_0x88f9();return _0x5542=function(_0x55424a,_0xa796a2){_0x55424a=_0x55424a-0x128;let _0x3e1330=_0x88f902[_0x55424a];return _0x3e1330;},_0x5542(_0x3c25cc,_0x5c2b0a);}export class AnnotationCounterButtonView extends _0x15ca4a{[_0x4865a7(0x139)];constructor(_0x3c0134){const _0x3dfde2=_0x4865a7;super(_0x3c0134);const _0x5d2d5e=this[_0x3dfde2(0x128)];this[_0x3dfde2(0x12b)](_0x3dfde2(0x12d),!0x1),this[_0x3dfde2(0x12b)](_0x3dfde2(0x142),0x0),this[_0x3dfde2(0x13d)](_0x3dfde2(0x12e))['to'](this,_0x3dfde2(0x12d),this,_0x3dfde2(0x142),(_0x3546d3,_0x2739d4)=>_0x3546d3?_0x3dfde2(0x138):_0x2739d4[_0x3dfde2(0x144)]()),this[_0x3dfde2(0x12b)](_0x3dfde2(0x130),''),this[_0x3dfde2(0x132)]=_0x55e244,this[_0x3dfde2(0x134)]({'attributes':{'class':[_0x3dfde2(0x13b)]}}),this[_0x3dfde2(0x139)]=new _0x5ae4c2(),this[_0x3dfde2(0x139)][_0x3dfde2(0x140)]({'tag':_0x3dfde2(0x141),'attributes':{'class':[_0x3dfde2(0x12f),_0x5d2d5e['to'](_0x3dfde2(0x130),_0x537a21=>_0x3dfde2(0x136)+_0x537a21),_0x5d2d5e['if'](_0x3dfde2(0x12d),_0x3dfde2(0x131))]},'children':[{'text':_0x5d2d5e['to'](_0x3dfde2(0x12e))}]}),this[_0x3dfde2(0x137)][_0x3dfde2(0x13a)](this[_0x3dfde2(0x139)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x56a8(){const _0xf9285c=['_mutationObserver','ck-annotation-wrapper--active','content','104jQamWG','11142470CEXzOB','102402FfTyex','add','55953wNKspC','createCollection','ck-rounded-corners','attach','_updateHeight','1497868Ybpqnz','setTemplate','focusTracker','mainView','bindTemplate','ck-annotation-wrapper','targetRect','arrowup','div','3uyukct','presentation','focus','element','44140kVofBR','isDirty','fire','373147XlFcUE','Esc','listenTo','render','delegate','height','clientHeight','keystrokes','first','clear','destroy','63oNItfF','set','228538uJKhVC','arrowdown','length','type','detach','isActive'];_0x56a8=function(){return _0xf9285c;};return _0x56a8();}const _0x587676=_0x31a9;(function(_0x157e6f,_0x31994d){const _0x2911bc=_0x31a9,_0x1a1ac7=_0x157e6f();while(!![]){try{const _0x40d6e7=-parseInt(_0x2911bc(0xc5))/0x1+-parseInt(_0x2911bc(0xd2))/0x2*(parseInt(_0x2911bc(0xbe))/0x3)+-parseInt(_0x2911bc(0xb5))/0x4+parseInt(_0x2911bc(0xc2))/0x5+-parseInt(_0x2911bc(0xae))/0x6*(parseInt(_0x2911bc(0xd0))/0x7)+parseInt(_0x2911bc(0xac))/0x8*(parseInt(_0x2911bc(0xb0))/0x9)+parseInt(_0x2911bc(0xad))/0xa;if(_0x40d6e7===_0x31994d)break;else _0x1a1ac7['push'](_0x1a1ac7['shift']());}catch(_0x1aef65){_0x1a1ac7['push'](_0x1a1ac7['shift']());}}}(_0x56a8,0x2dffa));function _0x31a9(_0x4f5e6c,_0x150512){const _0x56a8a8=_0x56a8();return _0x31a9=function(_0x31a9df,_0x54f1eb){_0x31a9df=_0x31a9df-0xa8;let _0x15b0ce=_0x56a8a8[_0x31a9df];return _0x15b0ce;},_0x31a9(_0x4f5e6c,_0x150512);}import{View as _0x1ef965}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5ea26f,KeystrokeHandler as _0x445604,uid as _0x57a616}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x927534}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x1ef965{[_0x587676(0xb7)];['id'];[_0x587676(0xcc)];[_0x587676(0xab)];[_0x587676(0xb8)];[_0x587676(0xa9)];constructor(_0x404655,_0x198cbd){const _0x127132=_0x587676;super(_0x404655),this['id']=_0x57a616(),this[_0x127132(0xb7)]=new _0x5ea26f(),this[_0x127132(0xcc)]=new _0x445604(),this[_0x127132(0xcc)][_0x127132(0xd1)](_0x127132(0xc6),(_0x27e7e5,_0x1bee6b)=>this[_0x127132(0xc4)](_0x127132(0xc6),_0x1bee6b)),this[_0x127132(0xd1)](_0x127132(0xbb),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x127132(0xd1)](_0x127132(0xca),0x0),this[_0x127132(0xd1)](_0x127132(0xa8),!0x1),this[_0x127132(0xd1)](_0x127132(0xc3),!0x1),this[_0x127132(0xd1)](_0x127132(0xd4),0x0),this[_0x127132(0xd1)](_0x127132(0xd5),''),this[_0x127132(0xa9)]=_0x927534(()=>this[_0x127132(0xb4)]()),this[_0x127132(0xab)]=this[_0x127132(0xb1)](),this[_0x127132(0xab)][_0x127132(0xc9)](_0x127132(0xbc),_0x127132(0xd3))['to'](this),this[_0x127132(0xab)][_0x127132(0xaf)](_0x198cbd),this[_0x127132(0xb8)]=_0x198cbd;const _0x5bf160=this[_0x127132(0xb9)];this[_0x127132(0xb6)]({'tag':_0x127132(0xbd),'attributes':{'class':['ck',_0x127132(0xba),_0x127132(0xb2),_0x5bf160['if'](_0x127132(0xa8),_0x127132(0xaa))],'role':_0x127132(0xbf)},'children':this[_0x127132(0xab)]});}[_0x587676(0xc8)](){const _0x4ddccb=_0x587676;super[_0x4ddccb(0xc8)](),this[_0x4ddccb(0xb7)][_0x4ddccb(0xaf)](this[_0x4ddccb(0xc1)]),this[_0x4ddccb(0xcc)][_0x4ddccb(0xc7)](this[_0x4ddccb(0xc1)]),this[_0x4ddccb(0xa9)][_0x4ddccb(0xb3)](this[_0x4ddccb(0xc1)]);}[_0x587676(0xcf)](){const _0x188d28=_0x587676;this[_0x188d28(0xab)][_0x188d28(0xce)](),this[_0x188d28(0xcc)][_0x188d28(0xcf)](),this[_0x188d28(0xb7)][_0x188d28(0xcf)](),this[_0x188d28(0xa9)][_0x188d28(0xd6)](),super[_0x188d28(0xcf)]();}[_0x587676(0xc0)](){const _0x3c108b=_0x587676;this[_0x3c108b(0xab)][_0x3c108b(0xcd)]&&this[_0x3c108b(0xab)][_0x3c108b(0xcd)][_0x3c108b(0xc0)]();}[_0x587676(0xb4)](){const _0x525248=_0x587676,_0xffed4f=this[_0x525248(0xc1)][_0x525248(0xcb)];_0xffed4f&&(this[_0x525248(0xca)]=_0xffed4f);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x1ec8b8=_0x524e;(function(_0xe0c873,_0x2692df){const _0x49b1d8=_0x524e,_0x308fd7=_0xe0c873();while(!![]){try{const _0x370752=-parseInt(_0x49b1d8(0x207))/0x1*(-parseInt(_0x49b1d8(0x200))/0x2)+parseInt(_0x49b1d8(0x1e6))/0x3*(parseInt(_0x49b1d8(0x1fd))/0x4)+parseInt(_0x49b1d8(0x204))/0x5*(parseInt(_0x49b1d8(0x1e5))/0x6)+parseInt(_0x49b1d8(0x1f8))/0x7+parseInt(_0x49b1d8(0x206))/0x8*(-parseInt(_0x49b1d8(0x1e8))/0x9)+-parseInt(_0x49b1d8(0x1e2))/0xa+-parseInt(_0x49b1d8(0x1e4))/0xb;if(_0x370752===_0x2692df)break;else _0x308fd7['push'](_0x308fd7['shift']());}catch(_0x3ae8ba){_0x308fd7['push'](_0x308fd7['shift']());}}}(_0x2c29,0x4f76d));import{View as _0x3ce5d7}from'ckeditor5/src/ui.js';import{toUnit as _0x4675d4}from'ckeditor5/src/utils.js';function _0x524e(_0x33eccb,_0x40be54){const _0x2c2938=_0x2c29();return _0x524e=function(_0x524ebc,_0x510d69){_0x524ebc=_0x524ebc-0x1e2;let _0x5434a9=_0x2c2938[_0x524ebc];return _0x5434a9;},_0x524e(_0x33eccb,_0x40be54);}import{createMutationObserver as _0x2e1663}from'../../utils/createmutationobserver.js';function _0x2c29(){const _0x15676b=['bind','45gWadYT','content','setTemplate','createCollection','div','arrowup','updateHeight','bindTemplate','clientHeight','delegate','first','arrowdown','ck-sidebar-item','render','destroy','ck-sidebar-item--no-animation','1388436Jmnidv','height','clear','top','attach','31412ZLpbZa','_mutationObserver','bottom','4TenifD','isAnimationDisabled','detach','set','84795HztuCl','element','810184xgTfLE','286499hcDXrE','presentation','_targetTop','5034630lEDLLP','focus','1901625bcYcvr','144IQkTtV','126GCoWvx'];_0x2c29=function(){return _0x15676b;};return _0x2c29();}const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4675d4('px');export class AnnotationsSidebarItemView extends _0x3ce5d7{[_0x1ec8b8(0x1e9)];[_0x1ec8b8(0x209)];[_0x1ec8b8(0x1fe)];constructor(_0x1d3f2c){const _0x49ae81=_0x1ec8b8;super(_0x1d3f2c),this[_0x49ae81(0x203)](_0x49ae81(0x1fb),0x0),this[_0x49ae81(0x203)](_0x49ae81(0x1f9),0x0),this[_0x49ae81(0x1e7)](_0x49ae81(0x1ff))['to'](this,_0x49ae81(0x1fb),this,_0x49ae81(0x1f9),(_0x4d648e,_0x138ea6)=>_0x4d648e+_0x138ea6),this[_0x49ae81(0x203)](_0x49ae81(0x201),!0x1),this[_0x49ae81(0x1fe)]=_0x2e1663(()=>this[_0x49ae81(0x1ee)]()),this[_0x49ae81(0x209)]=null,this[_0x49ae81(0x1e9)]=this[_0x49ae81(0x1eb)](),this[_0x49ae81(0x1e9)][_0x49ae81(0x1f1)](_0x49ae81(0x1ed),_0x49ae81(0x1f3))['to'](this);const _0x26bcbf=this[_0x49ae81(0x1ef)];this[_0x49ae81(0x1ea)]({'tag':_0x49ae81(0x1ec),'attributes':{'class':[_0x49ae81(0x1f4),_0x26bcbf['to'](_0x49ae81(0x201),_0x14fa64=>_0x14fa64?_0x49ae81(0x1f7):'')],'style':{'top':_0x26bcbf['to'](_0x49ae81(0x1fb),_0x55d5ae=>Ot(_0x55d5ae))},'role':_0x49ae81(0x208)},'children':this[_0x49ae81(0x1e9)]});}[_0x1ec8b8(0x1f5)](){const _0x19a171=_0x1ec8b8;super[_0x19a171(0x1f5)](),this[_0x19a171(0x1fe)][_0x19a171(0x1fc)](this[_0x19a171(0x205)]);}[_0x1ec8b8(0x1e3)](){const _0x1999d8=_0x1ec8b8;this[_0x1999d8(0x1e9)][_0x1999d8(0x1f2)]&&this[_0x1999d8(0x1e9)][_0x1999d8(0x1f2)][_0x1999d8(0x1e3)]();}[_0x1ec8b8(0x1ee)](){const _0x2c554a=_0x1ec8b8,_0x1194e0=this[_0x2c554a(0x205)][_0x2c554a(0x1f0)];_0x1194e0&&(this[_0x2c554a(0x1f9)]=_0x1194e0);}[_0x1ec8b8(0x1f6)](){const _0x383352=_0x1ec8b8;this[_0x383352(0x1e9)][_0x383352(0x1fa)](),this[_0x383352(0x1fe)][_0x383352(0x202)](),super[_0x383352(0x1f6)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x343045=_0x995f;(function(_0x3fcf9f,_0x127def){const _0x407ac8=_0x995f,_0x154d08=_0x3fcf9f();while(!![]){try{const _0x5e9719=-parseInt(_0x407ac8(0x1f6))/0x1*(parseInt(_0x407ac8(0x1fe))/0x2)+-parseInt(_0x407ac8(0x20b))/0x3+parseInt(_0x407ac8(0x1f5))/0x4*(parseInt(_0x407ac8(0x1ee))/0x5)+parseInt(_0x407ac8(0x1ff))/0x6+parseInt(_0x407ac8(0x205))/0x7+parseInt(_0x407ac8(0x1f4))/0x8+parseInt(_0x407ac8(0x1ec))/0x9;if(_0x5e9719===_0x127def)break;else _0x154d08['push'](_0x154d08['shift']());}catch(_0x38ac83){_0x154d08['push'](_0x154d08['shift']());}}}(_0x1440,0x98289));import{View as _0x429a5e,FocusCycler as _0x513edc}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1f654e,toUnit as _0x186876}from'ckeditor5/src/utils.js';function _0x1440(){const _0x35ab29=['arrowdown','focusCycler','arrowup','focusTracker','2492371HOvRCm','number','add','change:top','setTemplate','bindTemplate','2430777ylElMK','removed','source','focus','uiLanguageDirection','class','Annotations\x20list','_updateItemPositionInFocusables','render','ck-sidebar','list','focusFirst','change','added','getIndex','createCollection','minHeight','ck-reset','delegate','7156062yNgRmF','div','25BkCOVO','length','focusPrevious','set','listenTo','focusables','3740944KfzdKW','41036vfhzBu','11341EEIyZj','element','Annotations\x20sidebar','forEach','remove','focusNext','_setupKeyboardNavigation','top','134VvLiEI','3139578LjSXHs','application'];_0x1440=function(){return _0x35ab29;};return _0x1440();}import{getTranslation as _0x3e25d1}from'../../utils/common-translations.js';function _0x995f(_0x37fd07,_0x1e283b){const _0x144039=_0x1440();return _0x995f=function(_0x995f0e,_0x51683b){_0x995f0e=_0x995f0e-0x1e4;let _0x2bffe0=_0x144039[_0x995f0e];return _0x2bffe0;},_0x995f(_0x37fd07,_0x1e283b);}import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x186876('px');export class AnnotationsSidebarView extends _0x429a5e{[_0x343045(0x215)];[_0x343045(0x1f3)];[_0x343045(0x204)];[_0x343045(0x202)];constructor(_0x1162e5){const _0x37ebec=_0x343045;super(_0x1162e5);const _0x43c37d=this[_0x37ebec(0x20a)];this[_0x37ebec(0x1f1)](_0x37ebec(0x1e9),0x0),this[_0x37ebec(0x1f1)](_0x37ebec(0x210),''),this[_0x37ebec(0x215)]=this[_0x37ebec(0x1e8)](),this[_0x37ebec(0x1f3)]=this[_0x37ebec(0x1e8)](),this[_0x37ebec(0x215)][_0x37ebec(0x1eb)](_0x37ebec(0x203),_0x37ebec(0x201))['to'](this),this[_0x37ebec(0x204)]=new _0x1f654e(),this[_0x37ebec(0x202)]=new _0x513edc({'focusables':this[_0x37ebec(0x1f3)],'focusTracker':this[_0x37ebec(0x204)]}),this[_0x37ebec(0x209)]({'tag':_0x37ebec(0x1ed),'attributes':{'class':['ck',_0x37ebec(0x214),_0x37ebec(0x1ea),_0x43c37d['to'](_0x37ebec(0x210))],'style':{'minHeight':_0x43c37d['to'](_0x37ebec(0x1e9),_0xd0cbdc=>_0x37ebec(0x206)==typeof _0xd0cbdc?Ot(_0xd0cbdc+0xa):null)},'dir':_0x1162e5[_0x37ebec(0x20f)],'role':_0x37ebec(0x200),'aria-label':_0x3e25d1(_0x1162e5,_0x37ebec(0x1f8)),'tabindex':0x0},'children':[{'tag':_0x37ebec(0x1ed),'attributes':{'role':_0x37ebec(0x215),'aria-label':_0x3e25d1(_0x1162e5,_0x37ebec(0x211))},'children':this[_0x37ebec(0x215)]}]});}[_0x343045(0x213)](){const _0x4f21d1=_0x343045;super[_0x4f21d1(0x213)](),this[_0x4f21d1(0x1fc)]();}[_0x343045(0x20e)](){const _0x3f6304=_0x343045;this[_0x3f6304(0x202)][_0x3f6304(0x1e4)]();}[_0x343045(0x1fc)](){const _0x2243bd=_0x343045;this[_0x2243bd(0x215)][_0x2243bd(0x1eb)](_0x2243bd(0x208))['to'](this),this['on'](_0x2243bd(0x208),_0x51b99b=>{const _0x2c7d92=_0x2243bd;this[_0x2c7d92(0x212)](_0x51b99b[_0x2c7d92(0x20d)]);}),this[_0x2243bd(0x215)][_0x2243bd(0x1f9)](_0x308b6d=>{const _0x57040a=_0x2243bd;this[_0x57040a(0x204)][_0x57040a(0x207)](_0x308b6d[_0x57040a(0x1f7)]),this[_0x57040a(0x212)](_0x308b6d);}),this[_0x2243bd(0x215)]['on'](_0x2243bd(0x1e5),(_0x3f1547,_0x50fe74)=>{const _0x6f03aa=_0x2243bd;for(const _0x5355ae of _0x50fe74[_0x6f03aa(0x20c)])this[_0x6f03aa(0x204)][_0x6f03aa(0x1fa)](_0x5355ae[_0x6f03aa(0x1f7)]),this[_0x6f03aa(0x1f3)][_0x6f03aa(0x1fa)](_0x5355ae);for(const _0x49a02a of _0x50fe74[_0x6f03aa(0x1e6)])this[_0x6f03aa(0x204)][_0x6f03aa(0x207)](_0x49a02a[_0x6f03aa(0x1f7)]),this[_0x6f03aa(0x212)](_0x49a02a);}),this['on'](_0x2243bd(0x203),()=>{const _0x55e649=_0x2243bd;this[_0x55e649(0x202)][_0x55e649(0x1f0)]();}),this['on'](_0x2243bd(0x201),()=>{const _0x214db9=_0x2243bd;this[_0x214db9(0x202)][_0x214db9(0x1fb)]();}),this[_0x2243bd(0x1f2)](this[_0x2243bd(0x1f7)],_0x2243bd(0x20e),()=>{const _0x35a3eb=_0x2243bd;this[_0x35a3eb(0x20e)]();});}[_0x343045(0x212)](_0x493d02){const _0x27e815=_0x343045,_0x377904=this[_0x27e815(0x1f3)][_0x27e815(0x1e7)](_0x493d02);let _0x2882b6,_0x49f333;for(const _0x839742 of this[_0x27e815(0x1f3)])if(_0x493d02[_0x27e815(0x1fd)]<_0x839742[_0x27e815(0x1fd)]){_0x2882b6=_0x839742;break;}if(_0x49f333=_0x2882b6?this[_0x27e815(0x1f3)][_0x27e815(0x1e7)](_0x2882b6):this[_0x27e815(0x1f3)][_0x27e815(0x1ef)],-0x1!==_0x377904){if(_0x377904===_0x49f333-0x1)return;this[_0x27e815(0x1f3)][_0x27e815(0x1fa)](_0x493d02),_0x49f333=_0x2882b6?this[_0x27e815(0x1f3)][_0x27e815(0x1e7)](_0x2882b6):this[_0x27e815(0x1f3)][_0x27e815(0x1ef)];}this[_0x27e815(0x1f3)][_0x27e815(0x207)](_0x493d02,_0x49f333);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x6afd(_0x2290cc,_0xae356f){const _0x2e520f=_0x2e52();return _0x6afd=function(_0x6afdea,_0x3bb8ff){_0x6afdea=_0x6afdea-0x1c8;let _0x3a7317=_0x2e520f[_0x6afdea];return _0x3a7317;},_0x6afd(_0x2290cc,_0xae356f);}const _0x486d41=_0x6afd;(function(_0x2300af,_0x54b5b9){const _0x2a23f7=_0x6afd,_0x3964af=_0x2300af();while(!![]){try{const _0x18a072=-parseInt(_0x2a23f7(0x1d0))/0x1*(-parseInt(_0x2a23f7(0x208))/0x2)+-parseInt(_0x2a23f7(0x1ee))/0x3*(-parseInt(_0x2a23f7(0x1ef))/0x4)+parseInt(_0x2a23f7(0x1cc))/0x5+parseInt(_0x2a23f7(0x1fc))/0x6+parseInt(_0x2a23f7(0x1e0))/0x7*(parseInt(_0x2a23f7(0x1e3))/0x8)+-parseInt(_0x2a23f7(0x1f0))/0x9+-parseInt(_0x2a23f7(0x1d2))/0xa;if(_0x18a072===_0x54b5b9)break;else _0x3964af['push'](_0x3964af['shift']());}catch(_0x5b1d02){_0x3964af['push'](_0x3964af['shift']());}}}(_0x2e52,0xe7146));import{ContextPlugin as _0x61596e,Context as _0x35af23}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x249377}from'./annotationsuis.js';import{Sidebar as _0x11e054}from'./sidebar.js';import{CKEditorError as _0x50cafe,Collection as _0x4b5224}from'ckeditor5/src/utils.js';import{debounce as _0x1103e7}from'es-toolkit/compat';function _0x2e52(){const _0xd14893=['6158375jVTuHv','remove','init','focus','2891clhQQn','_refreshPositioningDebounced','29823170IVBHsU','getOrderedSelectedAnnotations','WideSidebar','stopListening','attach','blur','isPremiumPlugin','updateTargetRect','ready','refreshPositioning','_annotations','change:container','_attachToContainer','addEventListener','11578msBssS','widesidebar-attach-already-attached','EditorAnnotations','4016kjqRiJ','rearrange','destroy','switchTo','listenTo','cancel','add','from','register','editors','removeEventListener','309SkzvZB','22868zgaQbQ','13151358zEZqaa','uiUpdate','_destroyEditorAnnotationsIntegration','activeAnnotation','setActiveAnnotation','_detachFromContainer','set','_editorAnnotations','ck-sidebar--wide','requires','detach','set:container','7970634wkfzhs','get','_integrateWithEditorAnnotations','_activeAnnotation','resize','isAttached','stop','addAnnotation','high','wideSidebar','hasDomSelection','refresh','976jqSdSA','widesidebar-detach-not-attached','pluginName','annotations','has','container','off','context','isOfficialPlugin','plugins'];_0x2e52=function(){return _0xd14893;};return _0x2e52();}export class WideSidebar extends _0x61596e{[_0x486d41(0x201)];[_0x486d41(0x20b)];[_0x486d41(0x1f7)];[_0x486d41(0x1d1)];static get[_0x486d41(0x1f9)](){return[_0x11e054,_0x249377];}static get[_0x486d41(0x20a)](){const _0x54df1b=_0x486d41;return _0x54df1b(0x1d4);}static get[_0x486d41(0x1ca)](){return!0x0;}static get[_0x486d41(0x1d8)](){return!0x0;}constructor(_0x5a980f){const _0x37179f=_0x486d41;super(_0x5a980f),this[_0x37179f(0x201)]=!0x1,this[_0x37179f(0x1f6)](_0x37179f(0x1f3),null),this[_0x37179f(0x20b)]=null,this[_0x37179f(0x1f7)]=new _0x4b5224(),this[_0x37179f(0x1d1)]=_0x1103e7(()=>{const _0x45e572=_0x37179f;this[_0x45e572(0x20b)][_0x45e572(0x1db)]();},0xfa,{'leading':!0x1});}[_0x486d41(0x1ce)](){const _0x21da8d=_0x486d41,_0x5c22e7=this[_0x21da8d(0x1c9)][_0x21da8d(0x1cb)][_0x21da8d(0x1fd)](_0x249377),_0x267006=this[_0x21da8d(0x1c9)][_0x21da8d(0x1cb)][_0x21da8d(0x1fd)](_0x11e054);_0x5c22e7[_0x21da8d(0x1eb)](_0x21da8d(0x205),this),_0x267006[_0x21da8d(0x20d)]&&_0x5c22e7[_0x21da8d(0x1e6)](_0x21da8d(0x205));}[_0x486d41(0x1f4)](_0x433d61){const _0x9eaf15=_0x486d41;if(_0x433d61===this[_0x9eaf15(0x1f3)])return;const _0x3bb697=this[_0x9eaf15(0x1c9)][_0x9eaf15(0x1cb)][_0x9eaf15(0x1fd)](_0x11e054);_0x3bb697[_0x9eaf15(0x1ff)]=_0x433d61;const _0x5da317=this[_0x9eaf15(0x1f3)];_0x3bb697[_0x9eaf15(0x207)]({'blurredAnnotation':_0x5da317,'activatedAnnotation':_0x433d61}),this[_0x9eaf15(0x1f3)]=_0x433d61;}[_0x486d41(0x1d6)](_0x230eed){const _0x40dbbf=_0x486d41;this[_0x40dbbf(0x20b)]=_0x230eed;const _0x21e7df=this[_0x40dbbf(0x1c9)][_0x40dbbf(0x1cb)][_0x40dbbf(0x1fd)](_0x11e054);if(_0x21e7df[_0x40dbbf(0x1dc)]=_0x230eed,this[_0x40dbbf(0x201)])throw new _0x50cafe(_0x40dbbf(0x1e1),this);this[_0x40dbbf(0x201)]=!0x0,this[_0x40dbbf(0x1e7)](_0x21e7df,_0x40dbbf(0x1fb),()=>{const _0x41204d=_0x40dbbf;this[_0x41204d(0x1fa)](),this[_0x41204d(0x1e7)](_0x21e7df,_0x41204d(0x1dd),_0x4eb0d4=>{const _0x9ac13d=_0x41204d;_0x4eb0d4[_0x9ac13d(0x1c8)](),this[_0x9ac13d(0x1d6)](_0x230eed);});}),_0x21e7df[_0x40dbbf(0x1de)]({'viewClass':_0x40dbbf(0x1f8)});const _0x1c02d3=_0x3bb56e=>{const _0x429cb1=_0x40dbbf;_0x3bb56e[_0x429cb1(0x1d9)](),_0x21e7df[_0x429cb1(0x203)](_0x3bb56e);};for(const _0x27d8b4 of _0x230eed)_0x1c02d3(_0x27d8b4);this[_0x40dbbf(0x1e7)](_0x230eed,_0x40dbbf(0x1e9),(_0x1315c6,_0x5cd711)=>{_0x1c02d3(_0x5cd711);}),this[_0x40dbbf(0x1e7)](_0x230eed,_0x40dbbf(0x1cd),(_0x56979,_0x11ebc2,_0xed74b1)=>{const _0x4b2221=_0x40dbbf;_0x21e7df[_0x4b2221(0x1e4)]({'removedAnnotation':_0x11ebc2,'previousAnnotation':_0x230eed[_0x4b2221(0x1fd)](_0xed74b1-0x1),'nextAnnotation':_0x230eed[_0x4b2221(0x1fd)](_0xed74b1+0x1)}),_0x11ebc2===this[_0x4b2221(0x1f3)]&&this[_0x4b2221(0x1f4)](null);},{'priority':_0x40dbbf(0x204)}),this[_0x40dbbf(0x1e7)](_0x230eed,_0x40dbbf(0x1cf),(_0x20e3aa,_0x122cc9)=>{const _0x388a72=_0x40dbbf;this[_0x388a72(0x1f4)](_0x122cc9);}),this[_0x40dbbf(0x1e7)](_0x230eed,_0x40dbbf(0x1d7),()=>{const _0x58daba=_0x40dbbf;this[_0x58daba(0x1f4)](null);});const _0x5c2b4d=this[_0x40dbbf(0x1c9)]instanceof _0x35af23?this[_0x40dbbf(0x1c9)][_0x40dbbf(0x1ec)]:new _0x4b5224([this[_0x40dbbf(0x1c9)]]);for(const _0x22f0b6 of _0x5c2b4d)this[_0x40dbbf(0x1fe)](_0x22f0b6);this[_0x40dbbf(0x1e7)](_0x5c2b4d,_0x40dbbf(0x1e9),(_0xf0b1bc,_0x1fb3f3)=>{const _0x1414b9=_0x40dbbf;this[_0x1414b9(0x1e7)](_0x1fb3f3,_0x1414b9(0x1da),()=>{const _0x5478c7=_0x1414b9;this[_0x5478c7(0x1fe)](_0x1fb3f3);});}),this[_0x40dbbf(0x1e7)](_0x5c2b4d,_0x40dbbf(0x1cd),(_0x52eb21,_0x3c4bb7)=>{const _0x2e65a6=_0x40dbbf;_0x3c4bb7[_0x2e65a6(0x1cb)][_0x2e65a6(0x20c)](_0x2e65a6(0x1e2))&&this[_0x2e65a6(0x1f2)](_0x3c4bb7[_0x2e65a6(0x1cb)][_0x2e65a6(0x1fd)](_0x2e65a6(0x1e2)));}),window[_0x40dbbf(0x1df)](_0x40dbbf(0x200),this[_0x40dbbf(0x1d1)]),this[_0x40dbbf(0x20b)][_0x40dbbf(0x1db)]();}[_0x486d41(0x1fa)](){const _0x36e0e8=_0x486d41;if(!this[_0x36e0e8(0x201)])throw new _0x50cafe(_0x36e0e8(0x209),this);this[_0x36e0e8(0x1f4)](null);const _0x321aeb=this[_0x36e0e8(0x1c9)][_0x36e0e8(0x1cb)][_0x36e0e8(0x1fd)](_0x11e054);_0x321aeb[_0x36e0e8(0x1f5)](this[_0x36e0e8(0x20b)]),this[_0x36e0e8(0x1d5)](_0x321aeb),this[_0x36e0e8(0x1d5)](this[_0x36e0e8(0x20b)]),this[_0x36e0e8(0x1c9)]instanceof _0x35af23&&this[_0x36e0e8(0x1d5)](this[_0x36e0e8(0x1c9)][_0x36e0e8(0x1ec)]);for(const _0x3459ee of Array[_0x36e0e8(0x1ea)](this[_0x36e0e8(0x1f7)]))this[_0x36e0e8(0x1f2)](_0x3459ee);window[_0x36e0e8(0x1ed)](_0x36e0e8(0x200),this[_0x36e0e8(0x1d1)]),this[_0x36e0e8(0x1d1)][_0x36e0e8(0x1e8)](),this[_0x36e0e8(0x1f3)]=null,this[_0x36e0e8(0x201)]=!0x1,this[_0x36e0e8(0x20b)]=null;}[_0x486d41(0x1e5)](){const _0x6a3cdf=_0x486d41;this[_0x6a3cdf(0x201)]&&this[_0x6a3cdf(0x1fa)]();}[_0x486d41(0x1fe)](_0x2d0652){const _0x11e49b=_0x486d41;if(!_0x2d0652[_0x11e49b(0x1cb)][_0x11e49b(0x20c)](_0x11e49b(0x1e2)))return;const _0x438792=_0x2d0652[_0x11e49b(0x1cb)][_0x11e49b(0x1fd)](_0x11e49b(0x1e2)),_0xc8d2c4=()=>{const _0xcd3813=_0x11e49b,_0x48f8c5=_0x438792[_0xcd3813(0x1d3)]({'annotations':this[_0xcd3813(0x20b)],'activeAnnotation':this[_0xcd3813(0x1f3)]});this[_0xcd3813(0x1f4)](_0x48f8c5[0x0]||null);};this[_0x11e49b(0x1e7)](_0x438792,_0x11e49b(0x207),_0xc8d2c4),this[_0x11e49b(0x1e7)](_0x438792,_0x11e49b(0x1d7),(_0xd62860,{isAnnotationTracked:_0xf887f7})=>{const _0x3fe147=_0x11e49b;this[_0x3fe147(0x1f3)]&&_0xf887f7(this[_0x3fe147(0x1f3)])&&this[_0x3fe147(0x1f4)](null);}),this[_0x11e49b(0x1e7)](_0x438792,_0x11e49b(0x1f1),()=>{const _0x1b61be=_0x11e49b;this[_0x1b61be(0x1d1)]();}),this[_0x11e49b(0x1e7)](this[_0x11e49b(0x20b)],_0x11e49b(0x1d7),_0x50d89c=>{const _0x10348a=_0x11e49b;_0x438792[_0x10348a(0x206)]()&&(_0xc8d2c4(),_0x50d89c[_0x10348a(0x202)]());},{'priority':_0x11e49b(0x204)}),this[_0x11e49b(0x1f7)][_0x11e49b(0x1e9)](_0x438792);}[_0x486d41(0x1f2)](_0x4f1106){const _0x49c3c4=_0x486d41;this[_0x49c3c4(0x1d5)](_0x4f1106),this[_0x49c3c4(0x1f7)][_0x49c3c4(0x1cd)](_0x4f1106);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c9cc3=_0x3130;(function(_0x744113,_0x4d04d9){const _0x35bf73=_0x3130,_0x33751e=_0x744113();while(!![]){try{const _0x518388=-parseInt(_0x35bf73(0x199))/0x1+-parseInt(_0x35bf73(0x178))/0x2*(parseInt(_0x35bf73(0x19b))/0x3)+parseInt(_0x35bf73(0x19e))/0x4*(-parseInt(_0x35bf73(0x16e))/0x5)+-parseInt(_0x35bf73(0x17a))/0x6*(parseInt(_0x35bf73(0x175))/0x7)+parseInt(_0x35bf73(0x16f))/0x8+-parseInt(_0x35bf73(0x18a))/0x9+-parseInt(_0x35bf73(0x182))/0xa*(-parseInt(_0x35bf73(0x17b))/0xb);if(_0x518388===_0x4d04d9)break;else _0x33751e['push'](_0x33751e['shift']());}catch(_0x45891b){_0x33751e['push'](_0x33751e['shift']());}}}(_0x19d9,0xb2f34));import{Command as _0x5e7578}from'ckeditor5/src/core.js';import{uid as _0x388bd7,CKEditorError as _0x6c06c4}from'ckeditor5/src/utils.js';function _0x3130(_0x2dd1da,_0x528925){const _0x19d9ab=_0x19d9();return _0x3130=function(_0x3130c1,_0x665ba6){_0x3130c1=_0x3130c1-0x169;let _0x350c56=_0x19d9ab[_0x3130c1];return _0x350c56;},_0x3130(_0x2dd1da,_0x528925);}export class AddCommentThreadCommand extends _0x5e7578{constructor(_0x245084){const _0x145df2=_0x3130;super(_0x245084),this[_0x145df2(0x173)](_0x145df2(0x18b),!0x1);}[_0x5c9cc3(0x169)](){const _0x41824d=_0x5c9cc3,_0x219979=this[_0x41824d(0x190)][_0x41824d(0x192)][_0x41824d(0x193)][_0x41824d(0x19a)];this[_0x41824d(0x171)]=!0x0,this[_0x41824d(0x18b)]=!0x1;for(const _0xdba320 of _0x219979[_0x41824d(0x181)]())if(this[_0x41824d(0x16d)](_0xdba320))return void(this[_0x41824d(0x18b)]=!0x0);}[_0x5c9cc3(0x17c)]({threadId:_0x59c229=_0x388bd7(),ranges:_0x2ee119,comment:_0x95117f}={}){const _0xb21010=_0x5c9cc3,_0x173ef6=this[_0xb21010(0x190)][_0xb21010(0x192)],_0x1487d7=_0x2ee119??Array[_0xb21010(0x172)](_0x173ef6[_0xb21010(0x193)][_0xb21010(0x19a)][_0xb21010(0x181)]()),_0xa7685b=[];for(const _0x82520f of _0x1487d7)this[_0xb21010(0x16d)](_0x82520f)&&_0xa7685b[_0xb21010(0x18c)](this[_0xb21010(0x186)](_0x82520f));if(!_0xa7685b[_0xb21010(0x179)])throw new _0x6c06c4(_0xb21010(0x194),null);_0x95117f&&this[_0xb21010(0x19c)](_0x59c229,_0x95117f),this[_0xb21010(0x17f)](_0x59c229,_0xa7685b,!!_0x95117f);}[_0x5c9cc3(0x17f)](_0x9af6e0,_0x3cc9ae,_0x314226){const _0x258deb=_0x5c9cc3;this[_0x258deb(0x190)][_0x258deb(0x192)][_0x258deb(0x16b)](_0x4336fc=>{const _0x71ef31=_0x258deb;for(const _0x2b5672 of _0x3cc9ae){const _0x4dca9f=_0x388bd7()[_0x71ef31(0x198)](0x1,0x5),_0x3c2dae=_0x71ef31(0x16c)+_0x9af6e0+':'+_0x4dca9f;_0x4336fc[_0x71ef31(0x196)](_0x3c2dae,{'range':_0x2b5672,'usingOperation':_0x314226,'affectsData':_0x314226});}});}[_0x5c9cc3(0x19c)](_0x30a442,_0xd75097){const _0x186cb2=_0x5c9cc3,_0x565826=this[_0x186cb2(0x190)][_0x186cb2(0x176)][_0x186cb2(0x180)](_0x186cb2(0x197)),_0x4c7898=this[_0x186cb2(0x190)][_0x186cb2(0x187)][_0x186cb2(0x180)](_0x186cb2(0x19d)),_0x216a6f=this[_0x186cb2(0x190)][_0x186cb2(0x176)][_0x186cb2(0x180)](_0x186cb2(0x174))['me'];if(!_0x216a6f)throw new _0x6c06c4(_0x186cb2(0x188),null);_0x565826[_0x186cb2(0x170)]({'threadId':_0x30a442,'channelId':_0x4c7898,'comments':[{'authorId':_0x216a6f['id'],'content':_0xd75097,'createdAt':new Date(),'attributes':{}}]});}[_0x5c9cc3(0x16d)](_0x81299c){const _0xeb2abb=_0x5c9cc3;for(const _0x4eb710 of _0x81299c[_0xeb2abb(0x185)]())if(this[_0xeb2abb(0x183)](_0x4eb710))return!0x0;return!0x1;}[_0x5c9cc3(0x183)](_0x13ae74){const _0x478cc2=_0x5c9cc3;return _0x13ae74['is'](_0x478cc2(0x18e))||this[_0x478cc2(0x190)][_0x478cc2(0x192)][_0x478cc2(0x184)][_0x478cc2(0x18f)](_0x13ae74)&&!_0x13ae74['is'](_0x478cc2(0x16a),_0x478cc2(0x189));}[_0x5c9cc3(0x186)](_0x4d2534){const _0x125187=_0x5c9cc3,_0x514573=_0xf2c4b8=>!this[_0x125187(0x183)](_0xf2c4b8[_0x125187(0x17d)]),_0x16e64e=_0x4d2534[_0x125187(0x191)][_0x125187(0x195)](_0x514573),_0x53cd20=_0x4d2534[_0x125187(0x17e)][_0x125187(0x195)](_0x514573,{'direction':_0x125187(0x18d)});return this[_0x125187(0x190)][_0x125187(0x192)][_0x125187(0x177)](_0x16e64e,_0x53cd20);}}function _0x19d9(){const _0x5cb743=['tableCell','1539927iRvDom','hasContent','push','backward','$textProxy','isObject','editor','start','model','document','addcommentthreadcommand-incorrect-ranges','getLastMatchingPosition','addMarker','CommentsRepository','substr','682338MOgVWE','selection','6TCOgKp','_createCommentThread','collaboration.channelId','17740uilstO','refresh','element','change','comment:','_hasContent','45hocCyD','10502648aCOtZl','addCommentThread','isEnabled','from','set','Users','1484dvxmRQ','plugins','createRange','699814uQlLiM','length','10938ByMFqw','4565oMiRKu','execute','item','end','_createMarkersFromRanges','get','getRanges','33730MKTfnf','_itemIsContent','schema','getItems','_trimToContent','config','addcommentthreadcommand-user-not-found'];_0x19d9=function(){return _0x5cb743;};return _0x19d9();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5466(){const _0x550010=['isActive','plugins','archivedAt','isPremiumPlugin','233DDojeS','4mOdHix','length','change:archivedAt','has','3706297onJOcq','focus','listenTo','4024mWmUYw','CommentsArchive','highest','405981jGcpts','addCommentThread','activate','isVisible','stopListening','_calculatePosition','getCommentThread','requires','init','archivedThreads','get','isOfficialPlugin','pluginName','953360GOSdGx','add','findIndex','1270731UElBGb','4056576MhXIpz','remove','context','3738948VmPBUX','collection','removeCommentThread'];_0x5466=function(){return _0x550010;};return _0x5466();}function _0x124c(_0x1cb5f0,_0x2596ff){const _0x546639=_0x5466();return _0x124c=function(_0x124c27,_0x640da9){_0x124c27=_0x124c27-0x135;let _0x22c618=_0x546639[_0x124c27];return _0x22c618;},_0x124c(_0x1cb5f0,_0x2596ff);}const _0x15291a=_0x124c;(function(_0x93b024,_0x5d2314){const _0x37143d=_0x124c,_0x4c22bb=_0x93b024();while(!![]){try{const _0x3ad339=parseInt(_0x37143d(0x135))/0x1*(parseInt(_0x37143d(0x13d))/0x2)+-parseInt(_0x37143d(0x150))/0x3*(-parseInt(_0x37143d(0x136))/0x4)+-parseInt(_0x37143d(0x14d))/0x5+parseInt(_0x37143d(0x154))/0x6+-parseInt(_0x37143d(0x13a))/0x7+-parseInt(_0x37143d(0x151))/0x8+parseInt(_0x37143d(0x140))/0x9;if(_0x3ad339===_0x5d2314)break;else _0x4c22bb['push'](_0x4c22bb['shift']());}catch(_0x4a78f6){_0x4c22bb['push'](_0x4c22bb['shift']());}}}(_0x5466,0x51671));import{ContextPlugin as _0x54b469}from'ckeditor5/src/core.js';import{Collection as _0x35ec35}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x23ff28}from'./commentsrepository.js';import{Annotations as _0x21c7b8}from'../annotations/annotations.js';export class CommentsArchive extends _0x54b469{static get[_0x15291a(0x14c)](){const _0x3eb733=_0x15291a;return _0x3eb733(0x13e);}static get[_0x15291a(0x14b)](){return!0x0;}static get[_0x15291a(0x15a)](){return!0x0;}static get[_0x15291a(0x147)](){return[_0x23ff28,_0x21c7b8];}constructor(_0x4e4075){const _0x1a3ca4=_0x15291a;super(_0x4e4075),this[_0x1a3ca4(0x149)]=new _0x35ec35();}[_0x15291a(0x148)](){const _0x19a912=_0x15291a,_0x39a616=this[_0x19a912(0x153)],_0x2dae2c=_0x39a616[_0x19a912(0x158)][_0x19a912(0x14a)](_0x23ff28),_0x3795d1=_0x39a616[_0x19a912(0x158)][_0x19a912(0x14a)](_0x21c7b8);this[_0x19a912(0x13c)](_0x2dae2c,_0x19a912(0x141),(_0x2a1ffc,{threadId:_0x3ce1bd})=>{const _0x24e828=_0x19a912,_0x1281ae=_0x2dae2c[_0x24e828(0x146)](_0x3ce1bd);_0x1281ae[_0x24e828(0x159)]&&this[_0x24e828(0x149)][_0x24e828(0x14e)](_0x1281ae,this[_0x24e828(0x145)](_0x1281ae[_0x24e828(0x159)])),this[_0x24e828(0x13c)](_0x1281ae,_0x24e828(0x138),(_0xe6211d,_0x13dddf,_0x37ce8b)=>{const _0x169717=_0x24e828;_0x37ce8b?this[_0x169717(0x149)][_0x169717(0x139)](_0x1281ae)||this[_0x169717(0x149)][_0x169717(0x14e)](_0x1281ae,this[_0x169717(0x145)](_0x1281ae[_0x169717(0x159)])):this[_0x169717(0x149)][_0x169717(0x139)](_0x1281ae)&&this[_0x169717(0x149)][_0x169717(0x152)](_0x1281ae);});}),this[_0x19a912(0x13c)](_0x2dae2c,_0x19a912(0x156),(_0x39b864,{threadId:_0x527a88})=>{const _0x477b97=_0x19a912,_0x54c1b0=_0x2dae2c[_0x477b97(0x146)](_0x527a88);this[_0x477b97(0x144)](_0x54c1b0),this[_0x477b97(0x149)][_0x477b97(0x139)](_0x54c1b0)&&this[_0x477b97(0x149)][_0x477b97(0x152)](_0x54c1b0);},{'priority':_0x19a912(0x13f)}),this[_0x19a912(0x13c)](_0x3795d1[_0x19a912(0x155)],_0x19a912(0x13b),(_0x25d3da,_0x3d0658)=>{const _0x49d6e1=_0x19a912;_0x3d0658[_0x49d6e1(0x143)]||(_0x3d0658[_0x49d6e1(0x157)]=!0x0,_0x3795d1[_0x49d6e1(0x142)](_0x3d0658));});}[_0x15291a(0x145)](_0x4ca5d3){const _0x1c418b=_0x15291a,_0x5cc888=[...this[_0x1c418b(0x149)]][_0x1c418b(0x14f)](_0x5e3bc6=>_0x5e3bc6[_0x1c418b(0x159)]<_0x4ca5d3);return _0x5cc888>-0x1?_0x5cc888:this[_0x1c418b(0x149)][_0x1c418b(0x137)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x359775=_0x1e52;(function(_0x4c2265,_0xed3d1a){const _0x4740eb=_0x1e52,_0x50c7c4=_0x4c2265();while(!![]){try{const _0x26b429=-parseInt(_0x4740eb(0x13d))/0x1+-parseInt(_0x4740eb(0x14f))/0x2*(-parseInt(_0x4740eb(0x130))/0x3)+-parseInt(_0x4740eb(0x13c))/0x4*(parseInt(_0x4740eb(0x11e))/0x5)+-parseInt(_0x4740eb(0x12a))/0x6+parseInt(_0x4740eb(0x128))/0x7+parseInt(_0x4740eb(0x143))/0x8*(parseInt(_0x4740eb(0x15e))/0x9)+-parseInt(_0x4740eb(0x142))/0xa;if(_0x26b429===_0xed3d1a)break;else _0x50c7c4['push'](_0x50c7c4['shift']());}catch(_0x12f5eb){_0x50c7c4['push'](_0x50c7c4['shift']());}}}(_0x583f,0xd75ad));function _0x1e52(_0x3550f1,_0x4cf2c9){const _0x583f71=_0x583f();return _0x1e52=function(_0x1e52c3,_0x562aa7){_0x1e52c3=_0x1e52c3-0x115;let _0x2ed4b3=_0x583f71[_0x1e52c3];return _0x2ed4b3;},_0x1e52(_0x3550f1,_0x4cf2c9);}import'../../theme/commentsarchive.css';import{Plugin as _0x529996}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x29de92}from'ckeditor5/src/icons.js';import{ViewCollection as _0x6bb33,MenuBarMenuListItemButtonView as _0x8cc732,ButtonView as _0x46e24c,Dialog as _0x3722a2,DialogViewPosition as _0xa9a3bf}from'ckeditor5/src/ui.js';function _0x583f(){const _0x15d2f0=['Dialog','_hideDialogOnAnnotationEscape','annotationViews','findIndex','collection','splice','4BPIeQX','188143KLjSDA','remove','source','pluginName','has','4905200vJTlmV','16ihscMv','componentFactory','add','EDITOR_TOP_SIDE','isOfficialPlugin','includes','getByInnerView','channelId','forEach','show','execute','tooltip','2081152RdLtPf','stopListening','CommentsArchiveUI','plugins','archivedAt','menuBar:commentsArchive','archivedThreads','escape','get','commentsArchive','locale','isOn','isVisible','_pendingThreads','find','3660651kTRyPj','_toggleDialog','COMMENTS_ARCHIVE','push','isEnabled','menuitemcheckbox','commentsArchiveView','requires','focusableElements','filter','set','_calculatePosition','543045kmpWuu','view','config','indexOf','listenTo','isOpen','_createCommentsArchiveButton','init','_threadToController','_visibleAnnotations','681730eJGjaV','collaboration.channelId','1692474AnrfZE','hide','_handleNewThread','CommentsRepository','Annotations','bind','3wNbcSX','innerView','editor','length','stop','isPremiumPlugin'];_0x583f=function(){return _0x15d2f0;};return _0x583f();}import{getTranslation as _0x1d6f2c}from'../utils/common-translations.js';import{CommentsArchiveView as _0x1f2d78}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x320117}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x529996{[_0x359775(0x118)];[_0x359775(0x138)];[_0x359775(0x15c)];static get[_0x359775(0x140)](){const _0x2af474=_0x359775;return _0x2af474(0x151);}static get[_0x359775(0x147)](){return!0x0;}static get[_0x359775(0x135)](){return!0x0;}static get[_0x359775(0x119)](){return[_0x320117,_0x3722a2];}constructor(_0x1f5058){const _0xe011ac=_0x359775;super(_0x1f5058),this[_0xe011ac(0x138)]=new _0x6bb33(),this[_0xe011ac(0x15c)]=[];}[_0x359775(0x125)](){const _0x416836=_0x359775,_0x1d1914=this[_0x416836(0x132)],_0x2c9b6c=this[_0x416836(0x137)][_0x416836(0x12f)](this);_0x1d1914['ui'][_0x416836(0x144)][_0x416836(0x145)](_0x416836(0x158),()=>this[_0x416836(0x124)](_0x46e24c,!0x0)),_0x1d1914['ui'][_0x416836(0x144)][_0x416836(0x145)](_0x416836(0x154),()=>{const _0x1157fb=_0x416836,_0x52a446=this[_0x1157fb(0x124)](_0x8cc732);return _0x52a446[_0x1157fb(0x11c)]({'role':_0x1157fb(0x117)}),_0x52a446;});const _0x2b16cc=_0x1d1914[_0x416836(0x152)][_0x416836(0x157)](_0x320117),_0xed61c4=_0x1d1914[_0x416836(0x152)][_0x416836(0x157)](_0x416836(0x12e)),_0x27fd2d=_0x1d1914[_0x416836(0x152)][_0x416836(0x157)](_0x416836(0x12d));_0x2b16cc[_0x416836(0x155)][_0x416836(0x14b)](_0x2083d9=>{const _0x47cacb=_0x416836;this[_0x47cacb(0x12c)](_0x2083d9);}),this[_0x416836(0x122)](_0x2b16cc[_0x416836(0x155)],_0x416836(0x145),(_0x13232e,_0x201a76)=>{const _0x55c7f8=_0x416836;this[_0x55c7f8(0x12c)](_0x201a76);}),this[_0x416836(0x122)](_0xed61c4[_0x416836(0x13a)],_0x416836(0x145),(_0x58473d,_0x2ecc27)=>{const _0x1019b4=_0x416836,_0x1b455d=this[_0x1019b4(0x15c)][_0x1019b4(0x15d)](_0x13bcb6=>{const _0x1bc8bd=_0x1019b4,_0x55b695=_0x27fd2d[_0x1bc8bd(0x126)][_0x1bc8bd(0x157)](_0x13bcb6);return _0x55b695&&_0x2ecc27[_0x1bc8bd(0x131)]===_0x55b695[_0x1bc8bd(0x11f)];});if(_0x1b455d){const _0x258c88=this[_0x1019b4(0x11d)](_0x1b455d[_0x1019b4(0x153)]);this[_0x1019b4(0x138)][_0x1019b4(0x145)](_0x2ecc27[_0x1019b4(0x11f)],_0x258c88),this[_0x1019b4(0x15c)][_0x1019b4(0x13b)](this[_0x1019b4(0x15c)][_0x1019b4(0x121)](_0x1b455d),0x1);}}),this[_0x416836(0x122)](_0x2b16cc[_0x416836(0x155)],_0x416836(0x13e),(_0x41ef4b,_0x47a808)=>{const _0x5373f2=_0x416836,_0x15ee01=_0x1d1914[_0x5373f2(0x120)][_0x5373f2(0x157)](_0x5373f2(0x129));if(!_0x15ee01||_0x47a808[_0x5373f2(0x14a)]===_0x15ee01){if(this[_0x5373f2(0x15c)][_0x5373f2(0x148)](_0x47a808))this[_0x5373f2(0x15c)][_0x5373f2(0x13b)](this[_0x5373f2(0x15c)][_0x5373f2(0x121)](_0x47a808),0x1);else{const _0x16de90=_0x27fd2d[_0x5373f2(0x126)][_0x5373f2(0x157)](_0x47a808),_0x222256=_0xed61c4[_0x5373f2(0x149)](_0x16de90[_0x5373f2(0x11f)]);this[_0x5373f2(0x138)][_0x5373f2(0x13e)](_0x222256[_0x5373f2(0x11f)]),this[_0x5373f2(0x150)](_0x222256[_0x5373f2(0x11a)]);}}}),this[_0x416836(0x122)](_0xed61c4[_0x416836(0x13a)],_0x416836(0x145),(_0x97a4bc,_0x155563)=>{const _0x84417c=_0x416836;this[_0x84417c(0x122)](_0x155563,_0x84417c(0x156),_0x2c9b6c);}),this[_0x416836(0x122)](_0xed61c4[_0x416836(0x13a)],_0x416836(0x13e),(_0x31ac63,_0x3ca4ba)=>{const _0x48776e=_0x416836;this[_0x48776e(0x150)](_0x3ca4ba,_0x48776e(0x156),_0x2c9b6c);});}[_0x359775(0x12c)](_0x5b5e30){const _0x18fed2=_0x359775,_0x497d05=this[_0x18fed2(0x132)][_0x18fed2(0x152)][_0x18fed2(0x157)](_0x18fed2(0x12d)),_0x9291dc=this[_0x18fed2(0x132)][_0x18fed2(0x152)][_0x18fed2(0x157)](_0x18fed2(0x12e)),_0x4eb4b5=this[_0x18fed2(0x132)][_0x18fed2(0x120)][_0x18fed2(0x157)](_0x18fed2(0x129));if(!_0x4eb4b5||_0x5b5e30[_0x18fed2(0x14a)]===_0x4eb4b5){const _0x10141a=_0x497d05[_0x18fed2(0x126)][_0x18fed2(0x157)](_0x5b5e30);if(!_0x10141a)return void this[_0x18fed2(0x15c)][_0x18fed2(0x115)](_0x5b5e30);const _0x24a7a3=this[_0x18fed2(0x11d)](_0x5b5e30[_0x18fed2(0x153)]),_0x4436b0=_0x9291dc[_0x18fed2(0x149)](_0x10141a[_0x18fed2(0x11f)]);_0x4436b0[_0x18fed2(0x15b)]&&_0x9291dc[_0x18fed2(0x127)][_0x18fed2(0x13e)](_0x4436b0),this[_0x18fed2(0x138)][_0x18fed2(0x145)](_0x4436b0[_0x18fed2(0x11f)],_0x24a7a3);}}[_0x359775(0x11d)](_0x1a1969){const _0x39a456=_0x359775,_0x427907=this[_0x39a456(0x132)][_0x39a456(0x120)][_0x39a456(0x157)](_0x39a456(0x129)),_0x5e3ffe=[...this[_0x39a456(0x132)][_0x39a456(0x152)][_0x39a456(0x157)](_0x320117)[_0x39a456(0x155)]][_0x39a456(0x11b)](_0x1868da=>_0x1868da[_0x39a456(0x14a)]===_0x427907)[_0x39a456(0x139)](_0x1b4064=>_0x1b4064[_0x39a456(0x153)]<_0x1a1969);return _0x5e3ffe<0x0||_0x5e3ffe>this[_0x39a456(0x138)][_0x39a456(0x133)]?this[_0x39a456(0x138)][_0x39a456(0x133)]:_0x5e3ffe-0x1;}[_0x359775(0x15f)](){const _0x1a01a1=_0x359775,_0x179c58=this[_0x1a01a1(0x132)],_0x44dcfa=_0x179c58[_0x1a01a1(0x152)][_0x1a01a1(0x157)](_0x1a01a1(0x136));this[_0x1a01a1(0x118)]||(this[_0x1a01a1(0x118)]=new _0x1f2d78(_0x179c58[_0x1a01a1(0x159)],this[_0x1a01a1(0x138)])),_0x1a01a1(0x158)===_0x44dcfa['id']?_0x44dcfa[_0x1a01a1(0x12b)]():_0x44dcfa[_0x1a01a1(0x14c)]({'id':_0x1a01a1(0x158),'title':_0x1d6f2c(_0x179c58[_0x1a01a1(0x159)],_0x1a01a1(0x160)),'icon':_0x29de92,'hasCloseButton':!0x0,'content':this[_0x1a01a1(0x118)],'position':_0xa9a3bf[_0x1a01a1(0x146)]});}[_0x359775(0x124)](_0x163c5a,_0x5276fe=!0x1){const _0x345792=_0x359775,_0x31ea9c=this[_0x345792(0x132)][_0x345792(0x159)],_0x1304f2=this[_0x345792(0x132)][_0x345792(0x152)][_0x345792(0x157)](_0x345792(0x136)),_0x1e436f=new _0x163c5a(_0x31ea9c);return _0x1e436f[_0x345792(0x12f)](_0x345792(0x116))['to'](this,_0x345792(0x116)),_0x1e436f[_0x345792(0x12f)](_0x345792(0x15a))['to'](_0x1304f2,'id',_0x3998b3=>_0x345792(0x158)===_0x3998b3),_0x1e436f[_0x345792(0x11c)]({'label':_0x1d6f2c(_0x31ea9c,_0x345792(0x160)),'icon':_0x29de92,'isToggleable':!0x0}),_0x5276fe&&(_0x1e436f[_0x345792(0x14e)]=!0x0),this[_0x345792(0x122)](_0x1e436f,_0x345792(0x14d),()=>this[_0x345792(0x15f)]()),_0x1e436f;}[_0x359775(0x137)]=_0x232e87=>{const _0x1c7599=_0x359775,_0x17ea2b=_0x232e87[_0x1c7599(0x13f)];if(!this[_0x1c7599(0x138)][_0x1c7599(0x141)](_0x17ea2b[_0x1c7599(0x11f)]))return;const _0x25ca4b=this[_0x1c7599(0x132)][_0x1c7599(0x152)][_0x1c7599(0x157)](_0x1c7599(0x136));_0x25ca4b[_0x1c7599(0x123)]&&_0x1c7599(0x158)===_0x25ca4b['id']&&(_0x25ca4b[_0x1c7599(0x12b)](),_0x232e87[_0x1c7599(0x134)]());};}
|