@ckeditor/ckeditor5-comments 47.2.0 → 47.3.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +4 -4
- 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 +19 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xf78925=_0xc20f;(function(_0x26b307,_0x2155d0){const _0x2b2712=_0xc20f,_0x50e187=_0x26b307();while(!![]){try{const _0x14fe11=parseInt(_0x2b2712(0x203))/0x1*(-parseInt(_0x2b2712(0x204))/0x2)+-parseInt(_0x2b2712(0x1e2))/0x3*(parseInt(_0x2b2712(0x22d))/0x4)+parseInt(_0x2b2712(0x22a))/0x5+parseInt(_0x2b2712(0x219))/0x6+-parseInt(_0x2b2712(0x1ff))/0x7*(-parseInt(_0x2b2712(0x21d))/0x8)+-parseInt(_0x2b2712(0x202))/0x9+-parseInt(_0x2b2712(0x20f))/0xa*(-parseInt(_0x2b2712(0x1f0))/0xb);if(_0x14fe11===_0x2155d0)break;else _0x50e187['push'](_0x50e187['shift']());}catch(_0x1abef7){_0x50e187['push'](_0x50e187['shift']());}}}(_0x6194,0xd449b));import{ContextPlugin as _0x393f43}from'ckeditor5/src/core.js';function _0x6194(){const _0xca3319=['_recalculate','class','content','_updateLastItem','change:targetRect','remove','add','15701rlrtci','change:_lastItem','target','6611256brWHoU','1yYkMed','668194QnwvFI','_attachToContainer','Sidebar','getIndex','isOfficialPlugin','_annotationToSidebarItemView','locale','addAnnotation','sidebar.container','top','height','835330UMYRzE','_activeAnnotation','set','minHeight','_lastItem','bind','nodeType','pluginName','object','_detachFromContainer','8161710kNqdVz','_alignForBottomChange','length','updateHeight','488fQTvwJ','unbind','sidebar-setcontainer-invalid-element','_spaceBetweenItems','_getTargetTop','isActive','sidebar.preventScrollOutOfView','isPremiumPlugin','init','change:bottom','refresh','context','define','4725660XaDRjZ','_alignToTargetRect','get','180788mVzxHS','appendChild','render','max','isAnimationDisabled','view','_targetTop','_alignAfterItem','last','listenTo','sidebar-attachtocontainer-missing-container','_getItemAfter','_alignBeforeItem','_setItemTop','delete','_recalculateBuffer','setContainer','39RfmHpT','push','stopListening','list','bottom','clear','getSidebarItemView','_createSidebarView','container','_getItemBefore','_destroySidebarItemView','_getMaxAvailableTop','_alignForTopChange','element','11AZlcIq','rearrange','_sidebarItemViewToAnnotation','destroy','change:top','targetRect','_annotations','config'];_0x6194=function(){return _0xca3319;};return _0x6194();}import{Rect as _0x13e7cd,CKEditorError as _0x64e0bb}from'ckeditor5/src/utils.js';function _0xc20f(_0x39f752,_0x4328b4){const _0x619407=_0x6194();return _0xc20f=function(_0xc20fdf,_0x50bae3){_0xc20fdf=_0xc20fdf-0x1d3;let _0xf85be6=_0x619407[_0xc20fdf];return _0xf85be6;},_0xc20f(_0x39f752,_0x4328b4);}import{AnnotationsSidebarView as _0x12c0c2}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x39fec0}from'./view/sidebaritemview.js';export class Sidebar extends _0x393f43{[_0xf78925(0x1d6)];[_0xf78925(0x210)];[_0xf78925(0x1f6)];[_0xf78925(0x220)];[_0xf78925(0x1f2)];[_0xf78925(0x209)];[_0xf78925(0x1e0)];static get[_0xf78925(0x216)](){const _0x42d1af=_0xf78925;return _0x42d1af(0x206);}static get[_0xf78925(0x208)](){return!0x0;}static get[_0xf78925(0x224)](){return!0x0;}constructor(_0x23d670){const _0x1636c3=_0xf78925;super(_0x23d670),this[_0x1636c3(0x211)](_0x1636c3(0x213),void 0x0),this[_0x1636c3(0x1d6)]=this[_0x1636c3(0x1e9)](),this[_0x1636c3(0x211)](_0x1636c3(0x1ea),null),this[_0x1636c3(0x220)]=0x19,this[_0x1636c3(0x1f2)]=new Map(),this[_0x1636c3(0x209)]=new Map(),this[_0x1636c3(0x228)][_0x1636c3(0x1f7)][_0x1636c3(0x229)](_0x1636c3(0x223),!0x1),this[_0x1636c3(0x1f6)]=null,this[_0x1636c3(0x210)]=null,this[_0x1636c3(0x1e0)]=[];}[_0xf78925(0x225)](){const _0x5e18e5=_0xf78925,_0x4cd5b4=this[_0x5e18e5(0x228)][_0x5e18e5(0x1f7)][_0x5e18e5(0x22c)](_0x5e18e5(0x20c));_0x4cd5b4&&this[_0x5e18e5(0x1e1)](_0x4cd5b4);}[_0xf78925(0x1e1)](_0x1935cb){const _0x13fa84=_0xf78925;if(!g(_0x1935cb))throw new _0x64e0bb(_0x13fa84(0x21f));this[_0x13fa84(0x1ea)]=_0x1935cb;}[_0xf78925(0x205)]({viewClass:_0x18a747='',spaceBetweenItems:_0x2c4224=0x19}={}){const _0x3a33bf=_0xf78925;if(!g(this[_0x3a33bf(0x1ea)]))throw new _0x64e0bb(_0x3a33bf(0x1db),this);this[_0x3a33bf(0x1ea)][_0x3a33bf(0x22e)](this[_0x3a33bf(0x1d6)][_0x3a33bf(0x1ef)]),this[_0x3a33bf(0x1d6)][_0x3a33bf(0x1f9)]=_0x18a747,this[_0x3a33bf(0x220)]=_0x2c4224;}[_0xf78925(0x1f1)]({removedAnnotation:_0xce2a04,previousAnnotation:_0xa74c7f,nextAnnotation:_0x503af2}){const _0x41ffb2=_0xf78925,_0x4d7bd0=this[_0x41ffb2(0x1e8)](_0xce2a04);this[_0x41ffb2(0x1d6)][_0x41ffb2(0x1e5)][_0x41ffb2(0x1fd)](_0x4d7bd0),this[_0x41ffb2(0x1ec)](_0xce2a04),_0xa74c7f&&this[_0x41ffb2(0x22b)](this[_0x41ffb2(0x1e8)](_0xa74c7f)),_0x503af2&&this[_0x41ffb2(0x22b)](this[_0x41ffb2(0x1e8)](_0x503af2)),this[_0x41ffb2(0x1fb)]();}[_0xf78925(0x227)]({blurredAnnotation:_0x1806da,activatedAnnotation:_0x116100,disableAnimationOnActivatedAnnotation:_0x20e5ca}){const _0x239f96=_0xf78925;if(this[_0x239f96(0x210)]=_0x116100,_0x1806da){_0x1806da[_0x239f96(0x222)]=!0x1;const _0x59cafd=this[_0x239f96(0x1e8)](_0x1806da);_0x59cafd&&_0x20e5ca&&(_0x59cafd[_0x239f96(0x1d5)]=!0x1);}if(_0x116100){const _0x3a65cb=this[_0x239f96(0x1e8)](_0x116100);_0x3a65cb&&(_0x116100[_0x239f96(0x222)]=!0x0,_0x20e5ca&&(_0x3a65cb[_0x239f96(0x1d5)]=!0x0,_0x3a65cb[_0x239f96(0x20d)]+=0x1),this[_0x239f96(0x22b)](_0x3a65cb));}}[_0xf78925(0x218)](_0x2bae91){const _0x33d629=_0xf78925;if(this[_0x33d629(0x1d6)][_0x33d629(0x1ef)][_0x33d629(0x1fd)](),_0x2bae91){for(const _0x5a1be7 of _0x2bae91)this[_0x33d629(0x1ec)](_0x5a1be7);}this[_0x33d629(0x1d6)][_0x33d629(0x1e5)][_0x33d629(0x1e7)](),this[_0x33d629(0x1d6)][_0x33d629(0x1f9)]='',this[_0x33d629(0x213)]=null;}[_0xf78925(0x20b)](_0x5345a,_0x4eae6a){const _0x5c6d0c=_0xf78925;_0x4eae6a||(_0x4eae6a=_0x5345a[_0x5c6d0c(0x1d6)]);const _0x8d054c=new _0x39fec0(this[_0x5c6d0c(0x228)][_0x5c6d0c(0x20a)]);this[_0x5c6d0c(0x1f2)][_0x5c6d0c(0x211)](_0x8d054c,_0x5345a),this[_0x5c6d0c(0x209)][_0x5c6d0c(0x211)](_0x5345a,_0x8d054c),_0x8d054c[_0x5c6d0c(0x1fa)][_0x5c6d0c(0x1fe)](_0x4eae6a),this[_0x5c6d0c(0x1da)](_0x5345a[_0x5c6d0c(0x1d6)],_0x5c6d0c(0x1fc),(_0x11bcb7,_0x30214e,_0x49adf7)=>{const _0x2e07c1=_0x5c6d0c,_0x5d3f7d=this[_0x2e07c1(0x221)](_0x5345a,_0x49adf7);_0x8d054c[_0x2e07c1(0x1d7)]!=_0x5d3f7d&&(_0x8d054c[_0x2e07c1(0x1d7)]=_0x5d3f7d,this[_0x2e07c1(0x1de)](_0x8d054c,_0x5d3f7d));}),this[_0x5c6d0c(0x1da)](_0x8d054c,_0x5c6d0c(0x1f4),()=>{const _0x158466=_0x5c6d0c;this[_0x158466(0x1f8)](_0x8d054c,_0x158466(0x20d));}),this[_0x5c6d0c(0x1da)](_0x8d054c,_0x5c6d0c(0x226),()=>{const _0x26ab73=_0x5c6d0c;this[_0x26ab73(0x1f8)](_0x8d054c,_0x26ab73(0x1e6));}),this[_0x5c6d0c(0x22b)](_0x8d054c);const _0x350c20=this[_0x5c6d0c(0x1eb)](_0x8d054c);if(_0x350c20)this[_0x5c6d0c(0x1d8)](_0x350c20,_0x8d054c)||this[_0x5c6d0c(0x22b)](_0x8d054c);else this[_0x5c6d0c(0x22b)](_0x8d054c);return this[_0x5c6d0c(0x1fb)](),this[_0x5c6d0c(0x1d6)][_0x5c6d0c(0x1e5)][_0x5c6d0c(0x1fe)](_0x8d054c),_0x8d054c;}[_0xf78925(0x1ee)](_0x4781a4){const _0xaf8a55=_0xf78925;if(!_0x4781a4[_0xaf8a55(0x1fa)][_0xaf8a55(0x21b)])return;const _0x192922=this[_0xaf8a55(0x1eb)](_0x4781a4);if(!_0x192922)return;const _0xb072c7=this[_0xaf8a55(0x1f2)][_0xaf8a55(0x22c)](_0x192922),_0x2050fe=this[_0xaf8a55(0x210)];_0x2050fe&&_0x2050fe===_0xb072c7?this[_0xaf8a55(0x1d8)](_0x192922,_0x4781a4):this[_0xaf8a55(0x1dd)](_0x4781a4,_0x192922);}[_0xf78925(0x21a)](_0x590918){const _0x67bc03=_0xf78925;if(!_0x590918[_0x67bc03(0x1fa)][_0x67bc03(0x21b)])return;const _0xc7c1f7=this[_0x67bc03(0x1dc)](_0x590918);if(!_0xc7c1f7)return;const _0x5d3d94=this[_0x67bc03(0x1f2)][_0x67bc03(0x22c)](_0xc7c1f7),_0x1d36af=this[_0x67bc03(0x228)][_0x67bc03(0x1f7)][_0x67bc03(0x22c)](_0x67bc03(0x223)),_0x3abbd8=this[_0x67bc03(0x210)];_0x3abbd8&&_0x3abbd8===_0x5d3d94&&_0x1d36af?(this[_0x67bc03(0x1dd)](_0xc7c1f7,_0x590918),this[_0x67bc03(0x1d8)](_0x590918,_0xc7c1f7)):_0x3abbd8&&_0x3abbd8===_0x5d3d94?this[_0x67bc03(0x1dd)](_0xc7c1f7,_0x590918):this[_0x67bc03(0x1d8)](_0x590918,_0xc7c1f7);}[_0xf78925(0x1f8)](_0x461921,_0x3098f2){const _0x2e6055=_0xf78925;0x0===this[_0x2e6055(0x1e0)][_0x2e6055(0x21b)]&&setTimeout(()=>{const _0x2a5bd5=_0x2e6055;for(const {sidebarItemView:_0x3f37ee,changedProp:_0x29a09f}of this[_0x2a5bd5(0x1e0)])_0x2a5bd5(0x20d)===_0x29a09f?this[_0x2a5bd5(0x1ee)](_0x3f37ee):this[_0x2a5bd5(0x21a)](_0x3f37ee);this[_0x2a5bd5(0x1e0)]=[];},0xa),this[_0x2e6055(0x1e0)][_0x2e6055(0x1e3)]({'sidebarItemView':_0x461921,'changedProp':_0x3098f2});}[_0xf78925(0x1e8)](_0x4ba482){const _0x45ade7=_0xf78925;return this[_0x45ade7(0x209)][_0x45ade7(0x22c)](_0x4ba482);}[_0xf78925(0x1f3)](){const _0x290794=_0xf78925;this[_0x290794(0x1e4)](),this[_0x290794(0x1d6)][_0x290794(0x1f3)]();}[_0xf78925(0x1ec)](_0x128d7a){const _0x2c77f7=_0xf78925,_0x544d45=this[_0x2c77f7(0x1e8)](_0x128d7a);this[_0x2c77f7(0x1e4)](_0x544d45),this[_0x2c77f7(0x1e4)](_0x128d7a[_0x2c77f7(0x1d6)]),_0x544d45[_0x2c77f7(0x1f3)](),this[_0x2c77f7(0x209)][_0x2c77f7(0x1df)](_0x128d7a),this[_0x2c77f7(0x1f2)][_0x2c77f7(0x1df)](_0x544d45);}[_0xf78925(0x1e9)](){const _0x2226df=_0xf78925,_0x5cc49f=new _0x12c0c2(this[_0x2226df(0x228)][_0x2226df(0x20a)]);return _0x5cc49f[_0x2226df(0x1d3)](),this['on'](_0x2226df(0x200),(_0x3986e0,_0x3f4f20,_0x4c798e,_0x1b38f6)=>{const _0x37d040=_0x2226df;_0x1b38f6&&_0x5cc49f[_0x37d040(0x21e)](_0x37d040(0x212)),_0x4c798e?_0x5cc49f[_0x37d040(0x214)](_0x37d040(0x212))['to'](_0x4c798e,_0x37d040(0x1e6)):_0x5cc49f[_0x37d040(0x212)]=null;}),_0x5cc49f;}[_0xf78925(0x1fb)](){const _0xddf48=_0xf78925;this[_0xddf48(0x213)]=this[_0xddf48(0x1f6)]?.[_0xddf48(0x1d9)]?this[_0xddf48(0x1e8)](this[_0xddf48(0x1f6)][_0xddf48(0x1d9)]):null;}[_0xf78925(0x1eb)](_0x289960){const _0x4da26d=_0xf78925,_0x20ec43=this[_0x4da26d(0x1f2)][_0x4da26d(0x22c)](_0x289960),_0x42eb02=_0x20ec43&&this[_0x4da26d(0x1f6)]?.[_0x4da26d(0x22c)](this[_0x4da26d(0x1f6)][_0x4da26d(0x207)](_0x20ec43)-0x1);return _0x42eb02&&this[_0x4da26d(0x1e8)](_0x42eb02)||null;}[_0xf78925(0x1dc)](_0x436594){const _0x44b38f=_0xf78925,_0x6b15ac=this[_0x44b38f(0x1f2)][_0x44b38f(0x22c)](_0x436594),_0x2d587e=_0x6b15ac&&this[_0x44b38f(0x1f6)]?.[_0x44b38f(0x22c)](this[_0x44b38f(0x1f6)][_0x44b38f(0x207)](_0x6b15ac)+0x1);return _0x2d587e&&this[_0x44b38f(0x1e8)](_0x2d587e)||null;}[_0xf78925(0x1dd)](_0x32816c,_0x2293e9){const _0x52e6ef=_0xf78925;_0x32816c[_0x52e6ef(0x21c)]();const _0x1d7e60=G(_0x2293e9[_0x52e6ef(0x1e6)]+this[_0x52e6ef(0x220)],_0x32816c[_0x52e6ef(0x20d)]);return!!_0x1d7e60&&(this[_0x52e6ef(0x1de)](_0x2293e9,_0x2293e9[_0x52e6ef(0x20d)]-_0x1d7e60),!0x0);}[_0xf78925(0x1d8)](_0x28ba62,_0x4f83a6){const _0x425743=_0xf78925;_0x28ba62[_0x425743(0x21c)]();const _0x1db225=G(_0x28ba62[_0x425743(0x1e6)]+this[_0x425743(0x220)],_0x4f83a6[_0x425743(0x20d)]);return!!_0x1db225&&(this[_0x425743(0x1de)](_0x4f83a6,_0x4f83a6[_0x425743(0x20d)]+_0x1db225,!0x1),!0x0);}[_0xf78925(0x22b)](_0x4da01f){const _0xc389b3=_0xf78925,_0x3310d3=this[_0xc389b3(0x1f2)][_0xc389b3(0x22c)](_0x4da01f);if(!_0x3310d3||!_0x3310d3[_0xc389b3(0x201)]||!_0x3310d3[_0xc389b3(0x1f5)])return;const _0xd8df4d=this[_0xc389b3(0x221)](_0x3310d3,_0x3310d3[_0xc389b3(0x1f5)]);this[_0xc389b3(0x1de)](_0x4da01f,_0xd8df4d);}[_0xf78925(0x221)](_0x3c91e9,_0x1af16f){const _0x31c73f=_0xf78925;if(null===_0x1af16f)return 0x0;if(_0x3c91e9[_0x31c73f(0x201)]instanceof _0x13e7cd)return _0x1af16f[_0x31c73f(0x20d)];{const _0x5f14b6=new _0x13e7cd(this[_0x31c73f(0x1d6)][_0x31c73f(0x1ef)])[_0x31c73f(0x20d)];return _0x1af16f[_0x31c73f(0x20d)]-_0x5f14b6;}}[_0xf78925(0x1de)](_0x54b2be,_0x21d33b,_0x394baf=this[_0xf78925(0x228)][_0xf78925(0x1f7)][_0xf78925(0x22c)](_0xf78925(0x223))){const _0x5f5bee=_0xf78925;_0x394baf&&(_0x21d33b=Math[_0x5f5bee(0x1d4)](_0x21d33b,this[_0x5f5bee(0x1ed)](_0x54b2be))),_0x54b2be[_0x5f5bee(0x20d)]=_0x21d33b;}[_0xf78925(0x1ed)](_0x3880fa){const _0x2eabd9=_0xf78925;let _0xcf29cd=this[_0x2eabd9(0x1eb)](_0x3880fa),_0x13c4a2=0x0;for(;_0xcf29cd;)_0xcf29cd[_0x2eabd9(0x21c)](),_0x13c4a2+=this[_0x2eabd9(0x220)]+_0xcf29cd[_0x2eabd9(0x20e)],_0xcf29cd=this[_0x2eabd9(0x1eb)](_0xcf29cd);return _0x13c4a2;}}function G(_0x49bd2d,_0x3978eb){const _0x438db7=_0xf78925;return Math[_0x438db7(0x1d4)](_0x49bd2d-_0x3978eb,0x0);}function g(_0x2d9fec){const _0x4489a3=_0xf78925;return null!==_0x2d9fec&&_0x4489a3(0x217)==typeof _0x2d9fec&&0x1===_0x2d9fec[_0x4489a3(0x215)];}
|
|
23
|
+
const _0x321284=_0x54e0;(function(_0x17ffb4,_0x58c9b0){const _0x201034=_0x54e0,_0x33743c=_0x17ffb4();while(!![]){try{const _0x306cbd=-parseInt(_0x201034(0xbd))/0x1+-parseInt(_0x201034(0x8e))/0x2*(-parseInt(_0x201034(0xa1))/0x3)+parseInt(_0x201034(0x96))/0x4*(-parseInt(_0x201034(0x85))/0x5)+parseInt(_0x201034(0x89))/0x6+parseInt(_0x201034(0xca))/0x7*(-parseInt(_0x201034(0x8a))/0x8)+parseInt(_0x201034(0xbf))/0x9+-parseInt(_0x201034(0x82))/0xa*(parseInt(_0x201034(0xa6))/0xb);if(_0x306cbd===_0x58c9b0)break;else _0x33743c['push'](_0x33743c['shift']());}catch(_0x44293c){_0x33743c['push'](_0x33743c['shift']());}}}(_0x1aee,0xaf1e2));import{ContextPlugin as _0x2e9529}from'ckeditor5/src/core.js';import{Rect as _0xaf16a9,CKEditorError as _0x37e455}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x5f018a}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x1d848b}from'./view/sidebaritemview.js';function _0x1aee(){const _0xa3025=['get','change:targetRect','destroy','601139NynVJk','top','_alignForTopChange','_setItemTop','push','appendChild','bind','_destroySidebarItemView','isActive','context','getIndex','stopListening','isPremiumPlugin','_getTargetTop','pluginName','element','_alignToTargetRect','define','rearrange','targetRect','container','change:bottom','isOfficialPlugin','860011UTICBh','nodeType','1020762AFZdtC','render','_attachToContainer','view','content','_getItemBefore','isAnimationDisabled','_createSidebarView','_spaceBetweenItems','setContainer','_alignAfterItem','21uRkujH','change:_lastItem','list','config','object','refresh','_targetTop','_alignBeforeItem','_recalculate','Sidebar','getSidebarItemView','_detachFromContainer','addAnnotation','unbind','minHeight','_alignForBottomChange','sidebar-attachtocontainer-missing-container','height','class','last','10JceZeW','_annotationToSidebarItemView','sidebar.preventScrollOutOfView','1465pKMJzC','change:top','listenTo','add','6064374XXhmGB','183696YpDYpJ','max','_annotations','_sidebarItemViewToAnnotation','2485340adOYqe','length','_lastItem','_recalculateBuffer','delete','sidebar.container','_updateLastItem','sidebar-setcontainer-invalid-element','9092TmPEuL','locale','remove','set','target','updateHeight','_activeAnnotation','clear','bottom','_getMaxAvailableTop','init','3sTjcWu','_getItemAfter'];_0x1aee=function(){return _0xa3025;};return _0x1aee();}export class Sidebar extends _0x2e9529{[_0x321284(0xc2)];[_0x321284(0x9c)];[_0x321284(0x8c)];[_0x321284(0xc7)];[_0x321284(0x8d)];[_0x321284(0x83)];[_0x321284(0x91)];static get[_0x321284(0xb4)](){const _0x2eea4e=_0x321284;return _0x2eea4e(0xd3);}static get[_0x321284(0xbc)](){return!0x0;}static get[_0x321284(0xb2)](){return!0x0;}constructor(_0x3d2bc2){const _0x56f430=_0x321284;super(_0x3d2bc2),this[_0x56f430(0x99)](_0x56f430(0x90),void 0x0),this[_0x56f430(0xc2)]=this[_0x56f430(0xc6)](),this[_0x56f430(0x99)](_0x56f430(0xba),null),this[_0x56f430(0xc7)]=0x19,this[_0x56f430(0x8d)]=new Map(),this[_0x56f430(0x83)]=new Map(),this[_0x56f430(0xaf)][_0x56f430(0xcd)][_0x56f430(0xb7)](_0x56f430(0x84),!0x1),this[_0x56f430(0x8c)]=null,this[_0x56f430(0x9c)]=null,this[_0x56f430(0x91)]=[];}[_0x321284(0xa0)](){const _0x2dba29=_0x321284,_0x36a7cd=this[_0x2dba29(0xaf)][_0x2dba29(0xcd)][_0x2dba29(0xa3)](_0x2dba29(0x93));_0x36a7cd&&this[_0x2dba29(0xc8)](_0x36a7cd);}[_0x321284(0xc8)](_0x22a607){const _0x5ddf11=_0x321284;if(!g(_0x22a607))throw new _0x37e455(_0x5ddf11(0x95));this[_0x5ddf11(0xba)]=_0x22a607;}[_0x321284(0xc1)]({viewClass:_0x2227d2='',spaceBetweenItems:_0x4677e0=0x19}={}){const _0x5a8a36=_0x321284;if(!g(this[_0x5a8a36(0xba)]))throw new _0x37e455(_0x5a8a36(0x7e),this);this[_0x5a8a36(0xba)][_0x5a8a36(0xab)](this[_0x5a8a36(0xc2)][_0x5a8a36(0xb5)]),this[_0x5a8a36(0xc2)][_0x5a8a36(0x80)]=_0x2227d2,this[_0x5a8a36(0xc7)]=_0x4677e0;}[_0x321284(0xb8)]({removedAnnotation:_0x3e1369,previousAnnotation:_0x10e36f,nextAnnotation:_0x286c2d}){const _0x2168a5=_0x321284,_0x4948f0=this[_0x2168a5(0xd4)](_0x3e1369);this[_0x2168a5(0xc2)][_0x2168a5(0xcc)][_0x2168a5(0x98)](_0x4948f0),this[_0x2168a5(0xad)](_0x3e1369),_0x10e36f&&this[_0x2168a5(0xb6)](this[_0x2168a5(0xd4)](_0x10e36f)),_0x286c2d&&this[_0x2168a5(0xb6)](this[_0x2168a5(0xd4)](_0x286c2d)),this[_0x2168a5(0x94)]();}[_0x321284(0xcf)]({blurredAnnotation:_0x7d0616,activatedAnnotation:_0x13a54b,disableAnimationOnActivatedAnnotation:_0x5bc153}){const _0x479466=_0x321284;if(this[_0x479466(0x9c)]=_0x13a54b,_0x7d0616){_0x7d0616[_0x479466(0xae)]=!0x1;const _0x4f6b45=this[_0x479466(0xd4)](_0x7d0616);_0x4f6b45&&_0x5bc153&&(_0x4f6b45[_0x479466(0xc5)]=!0x1);}if(_0x13a54b){const _0x19ea08=this[_0x479466(0xd4)](_0x13a54b);_0x19ea08&&(_0x13a54b[_0x479466(0xae)]=!0x0,_0x5bc153&&(_0x19ea08[_0x479466(0xc5)]=!0x0,_0x19ea08[_0x479466(0xa7)]+=0x1),this[_0x479466(0xb6)](_0x19ea08));}}[_0x321284(0xd5)](_0x1ca8fa){const _0x51f52b=_0x321284;if(this[_0x51f52b(0xc2)][_0x51f52b(0xb5)][_0x51f52b(0x98)](),_0x1ca8fa){for(const _0x435236 of _0x1ca8fa)this[_0x51f52b(0xad)](_0x435236);}this[_0x51f52b(0xc2)][_0x51f52b(0xcc)][_0x51f52b(0x9d)](),this[_0x51f52b(0xc2)][_0x51f52b(0x80)]='',this[_0x51f52b(0x90)]=null;}[_0x321284(0xd6)](_0x221b8f,_0x4999f6){const _0x5f0e39=_0x321284;_0x4999f6||(_0x4999f6=_0x221b8f[_0x5f0e39(0xc2)]);const _0x51d767=new _0x1d848b(this[_0x5f0e39(0xaf)][_0x5f0e39(0x97)]);this[_0x5f0e39(0x8d)][_0x5f0e39(0x99)](_0x51d767,_0x221b8f),this[_0x5f0e39(0x83)][_0x5f0e39(0x99)](_0x221b8f,_0x51d767),_0x51d767[_0x5f0e39(0xc3)][_0x5f0e39(0x88)](_0x4999f6),this[_0x5f0e39(0x87)](_0x221b8f[_0x5f0e39(0xc2)],_0x5f0e39(0xa4),(_0x19dc7e,_0x1db1af,_0x156cd8)=>{const _0x467626=_0x5f0e39,_0xd376e4=this[_0x467626(0xb3)](_0x221b8f,_0x156cd8);_0x51d767[_0x467626(0xd0)]!=_0xd376e4&&(_0x51d767[_0x467626(0xd0)]=_0xd376e4,this[_0x467626(0xa9)](_0x51d767,_0xd376e4));}),this[_0x5f0e39(0x87)](_0x51d767,_0x5f0e39(0x86),()=>{const _0x5099d1=_0x5f0e39;this[_0x5099d1(0xd2)](_0x51d767,_0x5099d1(0xa7));}),this[_0x5f0e39(0x87)](_0x51d767,_0x5f0e39(0xbb),()=>{const _0x2cd9cb=_0x5f0e39;this[_0x2cd9cb(0xd2)](_0x51d767,_0x2cd9cb(0x9e));}),this[_0x5f0e39(0xb6)](_0x51d767);const _0x467405=this[_0x5f0e39(0xc4)](_0x51d767);if(_0x467405)this[_0x5f0e39(0xc9)](_0x467405,_0x51d767)||this[_0x5f0e39(0xb6)](_0x51d767);else this[_0x5f0e39(0xb6)](_0x51d767);return this[_0x5f0e39(0x94)](),this[_0x5f0e39(0xc2)][_0x5f0e39(0xcc)][_0x5f0e39(0x88)](_0x51d767),_0x51d767;}[_0x321284(0xa8)](_0x14fd11){const _0x2f07e6=_0x321284;if(!_0x14fd11[_0x2f07e6(0xc3)][_0x2f07e6(0x8f)])return;const _0x2d9d3a=this[_0x2f07e6(0xc4)](_0x14fd11);if(!_0x2d9d3a)return;const _0x3491a0=this[_0x2f07e6(0x8d)][_0x2f07e6(0xa3)](_0x2d9d3a),_0x1e87b1=this[_0x2f07e6(0x9c)];_0x1e87b1&&_0x1e87b1===_0x3491a0?this[_0x2f07e6(0xc9)](_0x2d9d3a,_0x14fd11):this[_0x2f07e6(0xd1)](_0x14fd11,_0x2d9d3a);}[_0x321284(0xd9)](_0x52abb8){const _0x3a6dfd=_0x321284;if(!_0x52abb8[_0x3a6dfd(0xc3)][_0x3a6dfd(0x8f)])return;const _0xe27686=this[_0x3a6dfd(0xa2)](_0x52abb8);if(!_0xe27686)return;const _0x442993=this[_0x3a6dfd(0x8d)][_0x3a6dfd(0xa3)](_0xe27686),_0x595696=this[_0x3a6dfd(0xaf)][_0x3a6dfd(0xcd)][_0x3a6dfd(0xa3)](_0x3a6dfd(0x84)),_0x2da05b=this[_0x3a6dfd(0x9c)];_0x2da05b&&_0x2da05b===_0x442993&&_0x595696?(this[_0x3a6dfd(0xd1)](_0xe27686,_0x52abb8),this[_0x3a6dfd(0xc9)](_0x52abb8,_0xe27686)):_0x2da05b&&_0x2da05b===_0x442993?this[_0x3a6dfd(0xd1)](_0xe27686,_0x52abb8):this[_0x3a6dfd(0xc9)](_0x52abb8,_0xe27686);}[_0x321284(0xd2)](_0x299245,_0x5a616e){const _0x24ddf6=_0x321284;0x0===this[_0x24ddf6(0x91)][_0x24ddf6(0x8f)]&&setTimeout(()=>{const _0x306acd=_0x24ddf6;for(const {sidebarItemView:_0x1c08f7,changedProp:_0x2223ab}of this[_0x306acd(0x91)])_0x306acd(0xa7)===_0x2223ab?this[_0x306acd(0xa8)](_0x1c08f7):this[_0x306acd(0xd9)](_0x1c08f7);this[_0x306acd(0x91)]=[];},0xa),this[_0x24ddf6(0x91)][_0x24ddf6(0xaa)]({'sidebarItemView':_0x299245,'changedProp':_0x5a616e});}[_0x321284(0xd4)](_0x5dc4aa){const _0x487b3a=_0x321284;return this[_0x487b3a(0x83)][_0x487b3a(0xa3)](_0x5dc4aa);}[_0x321284(0xa5)](){const _0xaaa957=_0x321284;this[_0xaaa957(0xb1)](),this[_0xaaa957(0xc2)][_0xaaa957(0xa5)]();}[_0x321284(0xad)](_0x13f56d){const _0x38071e=_0x321284,_0x4e757a=this[_0x38071e(0xd4)](_0x13f56d);this[_0x38071e(0xb1)](_0x4e757a),this[_0x38071e(0xb1)](_0x13f56d[_0x38071e(0xc2)]),_0x4e757a[_0x38071e(0xa5)](),this[_0x38071e(0x83)][_0x38071e(0x92)](_0x13f56d),this[_0x38071e(0x8d)][_0x38071e(0x92)](_0x4e757a);}[_0x321284(0xc6)](){const _0x224221=_0x321284,_0x9ab91f=new _0x5f018a(this[_0x224221(0xaf)][_0x224221(0x97)]);return _0x9ab91f[_0x224221(0xc0)](),this['on'](_0x224221(0xcb),(_0x56a738,_0x2f0d8d,_0x1afe0a,_0x260ebc)=>{const _0x403e3c=_0x224221;_0x260ebc&&_0x9ab91f[_0x403e3c(0xd7)](_0x403e3c(0xd8)),_0x1afe0a?_0x9ab91f[_0x403e3c(0xac)](_0x403e3c(0xd8))['to'](_0x1afe0a,_0x403e3c(0x9e)):_0x9ab91f[_0x403e3c(0xd8)]=null;}),_0x9ab91f;}[_0x321284(0x94)](){const _0x1d1442=_0x321284;this[_0x1d1442(0x90)]=this[_0x1d1442(0x8c)]?.[_0x1d1442(0x81)]?this[_0x1d1442(0xd4)](this[_0x1d1442(0x8c)][_0x1d1442(0x81)]):null;}[_0x321284(0xc4)](_0x33ec49){const _0x51bce5=_0x321284,_0x226ee2=this[_0x51bce5(0x8d)][_0x51bce5(0xa3)](_0x33ec49),_0x466243=_0x226ee2&&this[_0x51bce5(0x8c)]?.[_0x51bce5(0xa3)](this[_0x51bce5(0x8c)][_0x51bce5(0xb0)](_0x226ee2)-0x1);return _0x466243&&this[_0x51bce5(0xd4)](_0x466243)||null;}[_0x321284(0xa2)](_0x3aa674){const _0x53ce0a=_0x321284,_0x535caa=this[_0x53ce0a(0x8d)][_0x53ce0a(0xa3)](_0x3aa674),_0xf793d1=_0x535caa&&this[_0x53ce0a(0x8c)]?.[_0x53ce0a(0xa3)](this[_0x53ce0a(0x8c)][_0x53ce0a(0xb0)](_0x535caa)+0x1);return _0xf793d1&&this[_0x53ce0a(0xd4)](_0xf793d1)||null;}[_0x321284(0xd1)](_0xaae156,_0x53a54c){const _0x21cba3=_0x321284;_0xaae156[_0x21cba3(0x9b)]();const _0x11fa3e=G(_0x53a54c[_0x21cba3(0x9e)]+this[_0x21cba3(0xc7)],_0xaae156[_0x21cba3(0xa7)]);return!!_0x11fa3e&&(this[_0x21cba3(0xa9)](_0x53a54c,_0x53a54c[_0x21cba3(0xa7)]-_0x11fa3e),!0x0);}[_0x321284(0xc9)](_0x160436,_0x5eac7a){const _0x58ff33=_0x321284;_0x160436[_0x58ff33(0x9b)]();const _0x368111=G(_0x160436[_0x58ff33(0x9e)]+this[_0x58ff33(0xc7)],_0x5eac7a[_0x58ff33(0xa7)]);return!!_0x368111&&(this[_0x58ff33(0xa9)](_0x5eac7a,_0x5eac7a[_0x58ff33(0xa7)]+_0x368111,!0x1),!0x0);}[_0x321284(0xb6)](_0x3a124d){const _0x4aa8bb=_0x321284,_0x23718f=this[_0x4aa8bb(0x8d)][_0x4aa8bb(0xa3)](_0x3a124d);if(!_0x23718f||!_0x23718f[_0x4aa8bb(0x9a)]||!_0x23718f[_0x4aa8bb(0xb9)])return;const _0x377c84=this[_0x4aa8bb(0xb3)](_0x23718f,_0x23718f[_0x4aa8bb(0xb9)]);this[_0x4aa8bb(0xa9)](_0x3a124d,_0x377c84);}[_0x321284(0xb3)](_0x3a63a8,_0x16113b){const _0x443326=_0x321284;if(null===_0x16113b)return 0x0;if(_0x3a63a8[_0x443326(0x9a)]instanceof _0xaf16a9)return _0x16113b[_0x443326(0xa7)];{const _0x3fdeb9=new _0xaf16a9(this[_0x443326(0xc2)][_0x443326(0xb5)])[_0x443326(0xa7)];return _0x16113b[_0x443326(0xa7)]-_0x3fdeb9;}}[_0x321284(0xa9)](_0x2361d7,_0x24610f,_0x4f4f03=this[_0x321284(0xaf)][_0x321284(0xcd)][_0x321284(0xa3)](_0x321284(0x84))){const _0x326b20=_0x321284;_0x4f4f03&&(_0x24610f=Math[_0x326b20(0x8b)](_0x24610f,this[_0x326b20(0x9f)](_0x2361d7))),_0x2361d7[_0x326b20(0xa7)]=_0x24610f;}[_0x321284(0x9f)](_0x4de479){const _0x44be23=_0x321284;let _0x39fc06=this[_0x44be23(0xc4)](_0x4de479),_0x1e53a0=0x0;for(;_0x39fc06;)_0x39fc06[_0x44be23(0x9b)](),_0x1e53a0+=this[_0x44be23(0xc7)]+_0x39fc06[_0x44be23(0x7f)],_0x39fc06=this[_0x44be23(0xc4)](_0x39fc06);return _0x1e53a0;}}function G(_0x1ba7ff,_0x43499e){const _0x1fd22d=_0x321284;return Math[_0x1fd22d(0x8b)](_0x1ba7ff-_0x43499e,0x0);}function _0x54e0(_0x5a52e1,_0xfe1b5c){const _0x1aee8d=_0x1aee();return _0x54e0=function(_0x54e021,_0x43ea8d){_0x54e021=_0x54e021-0x7e;let _0x592b11=_0x1aee8d[_0x54e021];return _0x592b11;},_0x54e0(_0x5a52e1,_0xfe1b5c);}function g(_0xcaa874){const _0x33117a=_0x321284;return null!==_0xcaa874&&_0x33117a(0xce)==typeof _0xcaa874&&0x1===_0xcaa874[_0x33117a(0xbe)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x51fa(_0x1eb4da,_0x40c1fd){const _0x5135cd=_0x5135();return _0x51fa=function(_0x51fab9,_0x601288){_0x51fab9=_0x51fab9-0x137;let _0x5f120b=_0x5135cd[_0x51fab9];return _0x5f120b;},_0x51fa(_0x1eb4da,_0x40c1fd);}const _0x272fe7=_0x51fa;(function(_0x1fb8b0,_0x13c7bd){const _0x2e0131=_0x51fa,_0x3abbea=_0x1fb8b0();while(!![]){try{const _0x27664a=parseInt(_0x2e0131(0x147))/0x1+parseInt(_0x2e0131(0x13a))/0x2+-parseInt(_0x2e0131(0x14c))/0x3+-parseInt(_0x2e0131(0x13c))/0x4*(parseInt(_0x2e0131(0x14e))/0x5)+parseInt(_0x2e0131(0x142))/0x6+-parseInt(_0x2e0131(0x14d))/0x7+parseInt(_0x2e0131(0x14f))/0x8;if(_0x27664a===_0x13c7bd)break;else _0x3abbea['push'](_0x3abbea['shift']());}catch(_0x3f8807){_0x3abbea['push'](_0x3abbea['shift']());}}}(_0x5135,0x891ce));function _0x5135(){const _0x427c17=['annotationType','ck-annotation-counter__badge','282989UgZyRQ','span','children','ck-annotation-counter__badge--edit-mode','toString','2204253qIugTX','4644794faxMsE','740uyNmTm','6447808lqYeOs','isDirty','bindTemplate','icon','extendTemplate','bind','counterView','1556688fNJWPV','ck-annotation-counter__badge--','25472oQvHZP','ck-annotation-counter','set','...','add','number','6210372lbaNvZ','setTemplate','_badge'];_0x5135=function(){return _0x427c17;};return _0x5135();}import{ButtonView as _0x1c5f84,View as _0xfd65ff}from'ckeditor5/src/ui.js';import{IconAddComment as _0x54ea40}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x1c5f84{[_0x272fe7(0x139)];constructor(_0x44ca30){const _0x237fe2=_0x272fe7;super(_0x44ca30);const _0x165e51=this[_0x237fe2(0x151)];this[_0x237fe2(0x13e)](_0x237fe2(0x150),!0x1),this[_0x237fe2(0x13e)](_0x237fe2(0x141),0x0),this[_0x237fe2(0x138)](_0x237fe2(0x144))['to'](this,_0x237fe2(0x150),this,_0x237fe2(0x141),(_0x390f42,_0x47ee35)=>_0x390f42?_0x237fe2(0x13f):_0x47ee35[_0x237fe2(0x14b)]()),this[_0x237fe2(0x13e)](_0x237fe2(0x145),''),this[_0x237fe2(0x152)]=_0x54ea40,this[_0x237fe2(0x137)]({'attributes':{'class':[_0x237fe2(0x13d)]}}),this[_0x237fe2(0x139)]=new _0xfd65ff(),this[_0x237fe2(0x139)][_0x237fe2(0x143)]({'tag':_0x237fe2(0x148),'attributes':{'class':[_0x237fe2(0x146),_0x165e51['to'](_0x237fe2(0x145),_0x502a16=>_0x237fe2(0x13b)+_0x502a16),_0x165e51['if'](_0x237fe2(0x150),_0x237fe2(0x14a))]},'children':[{'text':_0x165e51['to'](_0x237fe2(0x144))}]}),this[_0x237fe2(0x149)][_0x237fe2(0x140)](this[_0x237fe2(0x139)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5db4dc=_0xbac9;(function(_0x4de238,_0x281cc2){const _0x142d16=_0xbac9,_0x221489=_0x4de238();while(!![]){try{const _0x18e4a2=-parseInt(_0x142d16(0xe7))/0x1+-parseInt(_0x142d16(0xec))/0x2+-parseInt(_0x142d16(0xd9))/0x3+-parseInt(_0x142d16(0xc9))/0x4*(parseInt(_0x142d16(0xef))/0x5)+-parseInt(_0x142d16(0xc7))/0x6+-parseInt(_0x142d16(0xde))/0x7*(-parseInt(_0x142d16(0xcd))/0x8)+-parseInt(_0x142d16(0xf2))/0x9*(-parseInt(_0x142d16(0xdb))/0xa);if(_0x18e4a2===_0x281cc2)break;else _0x221489['push'](_0x221489['shift']());}catch(_0x39fadc){_0x221489['push'](_0x221489['shift']());}}}(_0x15e0,0x6486f));function _0xbac9(_0x51fcbb,_0x50bc9d){const _0x15e0ee=_0x15e0();return _0xbac9=function(_0xbac90,_0x20f3d8){_0xbac90=_0xbac90-0xc5;let _0x45bf6e=_0x15e0ee[_0xbac90];return _0x45bf6e;},_0xbac9(_0x51fcbb,_0x50bc9d);}import{View as _0x2ef4a2}from'ckeditor5/src/ui.js';function _0x15e0(){const _0x42449a=['18ATrmCB','set','type','Esc','3116412KDWvLJ','content','424aOSIZH','attach','focus','height','1219704EhxDfI','_mutationObserver','clientHeight','targetRect','focusTracker','arrowup','delegate','mainView','destroy','ck-rounded-corners','add','clear','2412423vZbNit','render','13665410ekeRWB','isDirty','keystrokes','21VgHoGp','isActive','first','element','setTemplate','arrowdown','ck-annotation-wrapper--active','length','_updateHeight','275520ZyJDAy','createCollection','fire','bindTemplate','ck-annotation-wrapper','1635530BYzZxL','div','detach','17070sVVpPY','listenTo','presentation'];_0x15e0=function(){return _0x42449a;};return _0x15e0();}import{FocusTracker as _0xc557e,KeystrokeHandler as _0x2cec4e,uid as _0x155a8e}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x1a5bfe}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x2ef4a2{[_0x5db4dc(0xd1)];['id'];[_0x5db4dc(0xdd)];[_0x5db4dc(0xc8)];[_0x5db4dc(0xd4)];[_0x5db4dc(0xce)];constructor(_0x3e311f,_0x4bacbb){const _0x48e7c8=_0x5db4dc;super(_0x3e311f),this['id']=_0x155a8e(),this[_0x48e7c8(0xd1)]=new _0xc557e(),this[_0x48e7c8(0xdd)]=new _0x2cec4e(),this[_0x48e7c8(0xdd)][_0x48e7c8(0xf3)](_0x48e7c8(0xc6),(_0x5cbf26,_0x55fe7b)=>this[_0x48e7c8(0xe9)](_0x48e7c8(0xc6),_0x55fe7b)),this[_0x48e7c8(0xf3)](_0x48e7c8(0xd0),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x48e7c8(0xf3)](_0x48e7c8(0xcc),0x0),this[_0x48e7c8(0xf3)](_0x48e7c8(0xdf),!0x1),this[_0x48e7c8(0xf3)](_0x48e7c8(0xdc),!0x1),this[_0x48e7c8(0xf3)](_0x48e7c8(0xe5),0x0),this[_0x48e7c8(0xf3)](_0x48e7c8(0xc5),''),this[_0x48e7c8(0xce)]=_0x1a5bfe(()=>this[_0x48e7c8(0xe6)]()),this[_0x48e7c8(0xc8)]=this[_0x48e7c8(0xe8)](),this[_0x48e7c8(0xc8)][_0x48e7c8(0xd3)](_0x48e7c8(0xd2),_0x48e7c8(0xe3))['to'](this),this[_0x48e7c8(0xc8)][_0x48e7c8(0xd7)](_0x4bacbb),this[_0x48e7c8(0xd4)]=_0x4bacbb;const _0x4ea014=this[_0x48e7c8(0xea)];this[_0x48e7c8(0xe2)]({'tag':_0x48e7c8(0xed),'attributes':{'class':['ck',_0x48e7c8(0xeb),_0x48e7c8(0xd6),_0x4ea014['if'](_0x48e7c8(0xdf),_0x48e7c8(0xe4))],'role':_0x48e7c8(0xf1)},'children':this[_0x48e7c8(0xc8)]});}[_0x5db4dc(0xda)](){const _0x4e9ff5=_0x5db4dc;super[_0x4e9ff5(0xda)](),this[_0x4e9ff5(0xd1)][_0x4e9ff5(0xd7)](this[_0x4e9ff5(0xe1)]),this[_0x4e9ff5(0xdd)][_0x4e9ff5(0xf0)](this[_0x4e9ff5(0xe1)]),this[_0x4e9ff5(0xce)][_0x4e9ff5(0xca)](this[_0x4e9ff5(0xe1)]);}[_0x5db4dc(0xd5)](){const _0x1a4f01=_0x5db4dc;this[_0x1a4f01(0xc8)][_0x1a4f01(0xd8)](),this[_0x1a4f01(0xdd)][_0x1a4f01(0xd5)](),this[_0x1a4f01(0xd1)][_0x1a4f01(0xd5)](),this[_0x1a4f01(0xce)][_0x1a4f01(0xee)](),super[_0x1a4f01(0xd5)]();}[_0x5db4dc(0xcb)](){const _0x389562=_0x5db4dc;this[_0x389562(0xc8)][_0x389562(0xe0)]&&this[_0x389562(0xc8)][_0x389562(0xe0)][_0x389562(0xcb)]();}[_0x5db4dc(0xe6)](){const _0x33654f=_0x5db4dc,_0x135761=this[_0x33654f(0xe1)][_0x33654f(0xcf)];_0x135761&&(this[_0x33654f(0xcc)]=_0x135761);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x6ca1a6=_0x8ed0;function _0x8ed0(_0x30f82a,_0x5ea94f){const _0x3c687a=_0x3c68();return _0x8ed0=function(_0x8ed0a7,_0x234972){_0x8ed0a7=_0x8ed0a7-0x1c2;let _0x59e973=_0x3c687a[_0x8ed0a7];return _0x59e973;},_0x8ed0(_0x30f82a,_0x5ea94f);}(function(_0x421d09,_0xe8e7e9){const _0x1d313f=_0x8ed0,_0x3f531e=_0x421d09();while(!![]){try{const _0x4ecfb9=parseInt(_0x1d313f(0x1e5))/0x1*(-parseInt(_0x1d313f(0x1da))/0x2)+parseInt(_0x1d313f(0x1cb))/0x3*(parseInt(_0x1d313f(0x1ea))/0x4)+parseInt(_0x1d313f(0x1c3))/0x5+parseInt(_0x1d313f(0x1db))/0x6*(-parseInt(_0x1d313f(0x1e6))/0x7)+parseInt(_0x1d313f(0x1c9))/0x8*(-parseInt(_0x1d313f(0x1dd))/0x9)+-parseInt(_0x1d313f(0x1d6))/0xa*(parseInt(_0x1d313f(0x1d7))/0xb)+parseInt(_0x1d313f(0x1c6))/0xc;if(_0x4ecfb9===_0xe8e7e9)break;else _0x3f531e['push'](_0x3f531e['shift']());}catch(_0x4e8129){_0x3f531e['push'](_0x3f531e['shift']());}}}(_0x3c68,0x794cd));import{View as _0x48ad91}from'ckeditor5/src/ui.js';import{toUnit as _0x43275a}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x37bf4e}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x43275a('px');function _0x3c68(){const _0x5501b8=['1YhwoUt','957257bffeWD','div','arrowup','presentation','1384HyBNQp','ck-sidebar-item','1621255XXwMrP','top','focus','18380100OJFAAw','destroy','createCollection','6154472THyEig','arrowdown','7677UCOvDN','bind','_targetTop','element','clear','bottom','attach','setTemplate','detach','set','bindTemplate','3000290aGouEO','22PwlGgB','_mutationObserver','clientHeight','929750LDFPtO','18SYiGID','isAnimationDisabled','9IoMiOG','height','render','content','ck-sidebar-item--no-animation','delegate','updateHeight','first'];_0x3c68=function(){return _0x5501b8;};return _0x3c68();}export class AnnotationsSidebarItemView extends _0x48ad91{[_0x6ca1a6(0x1e0)];[_0x6ca1a6(0x1cd)];[_0x6ca1a6(0x1d8)];constructor(_0x68918){const _0x4935a5=_0x6ca1a6;super(_0x68918),this[_0x4935a5(0x1d4)](_0x4935a5(0x1c4),0x0),this[_0x4935a5(0x1d4)](_0x4935a5(0x1de),0x0),this[_0x4935a5(0x1cc)](_0x4935a5(0x1d0))['to'](this,_0x4935a5(0x1c4),this,_0x4935a5(0x1de),(_0x459ffe,_0x5d5992)=>_0x459ffe+_0x5d5992),this[_0x4935a5(0x1d4)](_0x4935a5(0x1dc),!0x1),this[_0x4935a5(0x1d8)]=_0x37bf4e(()=>this[_0x4935a5(0x1e3)]()),this[_0x4935a5(0x1cd)]=null,this[_0x4935a5(0x1e0)]=this[_0x4935a5(0x1c8)](),this[_0x4935a5(0x1e0)][_0x4935a5(0x1e2)](_0x4935a5(0x1e8),_0x4935a5(0x1ca))['to'](this);const _0x222ec4=this[_0x4935a5(0x1d5)];this[_0x4935a5(0x1d2)]({'tag':_0x4935a5(0x1e7),'attributes':{'class':[_0x4935a5(0x1c2),_0x222ec4['to'](_0x4935a5(0x1dc),_0x1d2814=>_0x1d2814?_0x4935a5(0x1e1):'')],'style':{'top':_0x222ec4['to'](_0x4935a5(0x1c4),_0x4162ad=>Ot(_0x4162ad))},'role':_0x4935a5(0x1e9)},'children':this[_0x4935a5(0x1e0)]});}[_0x6ca1a6(0x1df)](){const _0x5d4115=_0x6ca1a6;super[_0x5d4115(0x1df)](),this[_0x5d4115(0x1d8)][_0x5d4115(0x1d1)](this[_0x5d4115(0x1ce)]);}[_0x6ca1a6(0x1c5)](){const _0x4e8cd7=_0x6ca1a6;this[_0x4e8cd7(0x1e0)][_0x4e8cd7(0x1e4)]&&this[_0x4e8cd7(0x1e0)][_0x4e8cd7(0x1e4)][_0x4e8cd7(0x1c5)]();}[_0x6ca1a6(0x1e3)](){const _0x2f52fa=_0x6ca1a6,_0x17556a=this[_0x2f52fa(0x1ce)][_0x2f52fa(0x1d9)];_0x17556a&&(this[_0x2f52fa(0x1de)]=_0x17556a);}[_0x6ca1a6(0x1c7)](){const _0x4caa75=_0x6ca1a6;this[_0x4caa75(0x1e0)][_0x4caa75(0x1cf)](),this[_0x4caa75(0x1d8)][_0x4caa75(0x1d3)](),super[_0x4caa75(0x1c7)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x4e0ef1=_0x5532;function _0x5532(_0x295ec0,_0x29dc4f){const _0x58720d=_0x5872();return _0x5532=function(_0x5532ec,_0x2ec7a4){_0x5532ec=_0x5532ec-0x11b;let _0x4fe621=_0x58720d[_0x5532ec];return _0x4fe621;},_0x5532(_0x295ec0,_0x29dc4f);}(function(_0xf837bc,_0x52a747){const _0x3aa733=_0x5532,_0x1860dd=_0xf837bc();while(!![]){try{const _0x179d7a=-parseInt(_0x3aa733(0x13d))/0x1+parseInt(_0x3aa733(0x144))/0x2*(-parseInt(_0x3aa733(0x133))/0x3)+parseInt(_0x3aa733(0x13c))/0x4+parseInt(_0x3aa733(0x11b))/0x5+-parseInt(_0x3aa733(0x140))/0x6+parseInt(_0x3aa733(0x147))/0x7+parseInt(_0x3aa733(0x129))/0x8*(parseInt(_0x3aa733(0x14a))/0x9);if(_0x179d7a===_0x52a747)break;else _0x1860dd['push'](_0x1860dd['shift']());}catch(_0x5697e0){_0x1860dd['push'](_0x1860dd['shift']());}}}(_0x5872,0xaa293));import{View as _0x47e415,FocusCycler as _0x140efa}from'ckeditor5/src/ui.js';import{FocusTracker as _0x139bc4,toUnit as _0x478239}from'ckeditor5/src/utils.js';import{getTranslation as _0x35355e}from'../../utils/common-translations.js';function _0x5872(){const _0x46340e=['focusNext','listenTo','setTemplate','Annotations\x20list','source','removed','3821124gTKsXy','893545BRuUmJ','_setupKeyboardNavigation','remove','6035100QVgBgn','ck-reset','set','application','185714msyiis','forEach','div','5722661CgSitO','top','minHeight','1629171ALbVjN','number','arrowup','1960750dsFNTX','getIndex','added','arrowdown','_updateItemPositionInFocusables','focusPrevious','focusFirst','render','createCollection','ck-sidebar','change','length','class','focusables','56YuBTcE','delegate','element','list','focusTracker','focusCycler','Annotations\x20sidebar','bindTemplate','change:top','add','27ShhOaR','focus','uiLanguageDirection'];_0x5872=function(){return _0x46340e;};return _0x5872();}import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x478239('px');export class AnnotationsSidebarView extends _0x47e415{[_0x4e0ef1(0x12c)];[_0x4e0ef1(0x128)];[_0x4e0ef1(0x12d)];[_0x4e0ef1(0x12e)];constructor(_0x270b9b){const _0x2df357=_0x4e0ef1;super(_0x270b9b);const _0x8f21d4=this[_0x2df357(0x130)];this[_0x2df357(0x142)](_0x2df357(0x149),0x0),this[_0x2df357(0x142)](_0x2df357(0x127),''),this[_0x2df357(0x12c)]=this[_0x2df357(0x123)](),this[_0x2df357(0x128)]=this[_0x2df357(0x123)](),this[_0x2df357(0x12c)][_0x2df357(0x12a)](_0x2df357(0x14c),_0x2df357(0x11e))['to'](this),this[_0x2df357(0x12d)]=new _0x139bc4(),this[_0x2df357(0x12e)]=new _0x140efa({'focusables':this[_0x2df357(0x128)],'focusTracker':this[_0x2df357(0x12d)]}),this[_0x2df357(0x138)]({'tag':_0x2df357(0x146),'attributes':{'class':['ck',_0x2df357(0x124),_0x2df357(0x141),_0x8f21d4['to'](_0x2df357(0x127))],'style':{'minHeight':_0x8f21d4['to'](_0x2df357(0x149),_0x509f03=>_0x2df357(0x14b)==typeof _0x509f03?Ot(_0x509f03+0xa):null)},'dir':_0x270b9b[_0x2df357(0x135)],'role':_0x2df357(0x143),'aria-label':_0x35355e(_0x270b9b,_0x2df357(0x12f)),'tabindex':0x0},'children':[{'tag':_0x2df357(0x146),'attributes':{'role':_0x2df357(0x12c),'aria-label':_0x35355e(_0x270b9b,_0x2df357(0x139))},'children':this[_0x2df357(0x12c)]}]});}[_0x4e0ef1(0x122)](){const _0x11e2e1=_0x4e0ef1;super[_0x11e2e1(0x122)](),this[_0x11e2e1(0x13e)]();}[_0x4e0ef1(0x134)](){const _0x161a9f=_0x4e0ef1;this[_0x161a9f(0x12e)][_0x161a9f(0x121)]();}[_0x4e0ef1(0x13e)](){const _0x53712a=_0x4e0ef1;this[_0x53712a(0x12c)][_0x53712a(0x12a)](_0x53712a(0x131))['to'](this),this['on'](_0x53712a(0x131),_0x10ed3d=>{const _0x1a418e=_0x53712a;this[_0x1a418e(0x11f)](_0x10ed3d[_0x1a418e(0x13a)]);}),this[_0x53712a(0x12c)][_0x53712a(0x145)](_0x960889=>{const _0x4d8e10=_0x53712a;this[_0x4d8e10(0x12d)][_0x4d8e10(0x132)](_0x960889[_0x4d8e10(0x12b)]),this[_0x4d8e10(0x11f)](_0x960889);}),this[_0x53712a(0x12c)]['on'](_0x53712a(0x125),(_0x28d47a,_0x28f905)=>{const _0x50efdb=_0x53712a;for(const _0x267db3 of _0x28f905[_0x50efdb(0x13b)])this[_0x50efdb(0x12d)][_0x50efdb(0x13f)](_0x267db3[_0x50efdb(0x12b)]),this[_0x50efdb(0x128)][_0x50efdb(0x13f)](_0x267db3);for(const _0x5e6112 of _0x28f905[_0x50efdb(0x11d)])this[_0x50efdb(0x12d)][_0x50efdb(0x132)](_0x5e6112[_0x50efdb(0x12b)]),this[_0x50efdb(0x11f)](_0x5e6112);}),this['on'](_0x53712a(0x14c),()=>{const _0x528370=_0x53712a;this[_0x528370(0x12e)][_0x528370(0x120)]();}),this['on'](_0x53712a(0x11e),()=>{const _0x589d38=_0x53712a;this[_0x589d38(0x12e)][_0x589d38(0x136)]();}),this[_0x53712a(0x137)](this[_0x53712a(0x12b)],_0x53712a(0x134),()=>{const _0x1a3d3a=_0x53712a;this[_0x1a3d3a(0x134)]();});}[_0x4e0ef1(0x11f)](_0x22ab08){const _0x2fccc3=_0x4e0ef1,_0x2ab337=this[_0x2fccc3(0x128)][_0x2fccc3(0x11c)](_0x22ab08);let _0x4f56fa,_0x479928;for(const _0x52cc8f of this[_0x2fccc3(0x128)])if(_0x22ab08[_0x2fccc3(0x148)]<_0x52cc8f[_0x2fccc3(0x148)]){_0x4f56fa=_0x52cc8f;break;}if(_0x479928=_0x4f56fa?this[_0x2fccc3(0x128)][_0x2fccc3(0x11c)](_0x4f56fa):this[_0x2fccc3(0x128)][_0x2fccc3(0x126)],-0x1!==_0x2ab337){if(_0x2ab337===_0x479928-0x1)return;this[_0x2fccc3(0x128)][_0x2fccc3(0x13f)](_0x22ab08),_0x479928=_0x4f56fa?this[_0x2fccc3(0x128)][_0x2fccc3(0x11c)](_0x4f56fa):this[_0x2fccc3(0x128)][_0x2fccc3(0x126)];}this[_0x2fccc3(0x128)][_0x2fccc3(0x132)](_0x22ab08,_0x479928);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x130a(){const _0x3831a8=['getOrderedSelectedAnnotations','set','register','12351157EXPOOt','listenTo','stop','_annotations','removeEventListener','remove','get','cancel','setActiveAnnotation','blur','_destroyEditorAnnotationsIntegration','has','4947612WPrgrd','requires','widesidebar-attach-already-attached','add','updateTargetRect','hasDomSelection','2152454hXoaTz','annotations','6OqCSaw','isAttached','high','detach','editors','from','5143804dctPTQ','uiUpdate','17273368qwoafC','_editorAnnotations','refresh','change:container','_attachToContainer','refreshPositioning','activeAnnotation','set:container','1300814LfhVhf','isOfficialPlugin','pluginName','refreshVisibility','ready','focus','ck-sidebar--wide','wideSidebar','attach','addAnnotation','EditorAnnotations','widesidebar-detach-not-attached','_refreshPositioningDebounced','_detachFromContainer','_integrateWithEditorAnnotations','resize','switchTo','stopListening','_activeAnnotation','rearrange','off','init','plugins','context','destroy','addEventListener','isPremiumPlugin','WideSidebar','container','Annotations','3460440ujhGEi'];_0x130a=function(){return _0x3831a8;};return _0x130a();}const _0x5303b5=_0x1552;(function(_0x51c9d4,_0x37b1a5){const _0x1d29b2=_0x1552,_0x2fbc3f=_0x51c9d4();while(!![]){try{const _0x4fdeed=parseInt(_0x1d29b2(0x1d1))/0x1+-parseInt(_0x1d29b2(0x205))/0x2+parseInt(_0x1d29b2(0x1ff))/0x3+-parseInt(_0x1d29b2(0x1c7))/0x4+parseInt(_0x1d29b2(0x1ef))/0x5+parseInt(_0x1d29b2(0x207))/0x6*(parseInt(_0x1d29b2(0x1f3))/0x7)+-parseInt(_0x1d29b2(0x1c9))/0x8;if(_0x4fdeed===_0x37b1a5)break;else _0x2fbc3f['push'](_0x2fbc3f['shift']());}catch(_0x1dabfa){_0x2fbc3f['push'](_0x2fbc3f['shift']());}}}(_0x130a,0xd81d8));function _0x1552(_0x4bf620,_0x27423a){const _0x130a70=_0x130a();return _0x1552=function(_0x155249,_0x1a4de4){_0x155249=_0x155249-0x1c2;let _0x45484c=_0x130a70[_0x155249];return _0x45484c;},_0x1552(_0x4bf620,_0x27423a);}import{ContextPlugin as _0x1759c0,Context as _0x17e89b}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x125e58}from'./annotationsuis.js';import{Sidebar as _0x3249be}from'./sidebar.js';import{CKEditorError as _0x111be5,Collection as _0x4dcdd3}from'ckeditor5/src/utils.js';import{debounce as _0x1a9ec7}from'es-toolkit/compat';export class WideSidebar extends _0x1759c0{[_0x5303b5(0x1c2)];[_0x5303b5(0x206)];[_0x5303b5(0x1ca)];[_0x5303b5(0x1dd)];static get[_0x5303b5(0x200)](){return[_0x3249be,_0x125e58];}static get[_0x5303b5(0x1d3)](){const _0x2652ba=_0x5303b5;return _0x2652ba(0x1ec);}static get[_0x5303b5(0x1d2)](){return!0x0;}static get[_0x5303b5(0x1eb)](){return!0x0;}constructor(_0x37845f){const _0x2a5ba7=_0x5303b5;super(_0x37845f),this[_0x2a5ba7(0x1c2)]=!0x1,this[_0x2a5ba7(0x1f1)](_0x2a5ba7(0x1cf),null),this[_0x2a5ba7(0x206)]=null,this[_0x2a5ba7(0x1ca)]=new _0x4dcdd3(),this[_0x2a5ba7(0x1dd)]=_0x1a9ec7(()=>{const _0x56fa8a=_0x2a5ba7;_0x37845f[_0x56fa8a(0x1e7)][_0x56fa8a(0x1f9)](_0x56fa8a(0x1ee))[_0x56fa8a(0x1d4)](),this[_0x56fa8a(0x206)][_0x56fa8a(0x1ce)]();},0xfa,{'leading':!0x1});}[_0x5303b5(0x1e6)](){const _0x16e35d=_0x5303b5,_0x22c0f7=this[_0x16e35d(0x1e8)][_0x16e35d(0x1e7)][_0x16e35d(0x1f9)](_0x125e58),_0x4c128e=this[_0x16e35d(0x1e8)][_0x16e35d(0x1e7)][_0x16e35d(0x1f9)](_0x3249be);_0x22c0f7[_0x16e35d(0x1f2)](_0x16e35d(0x1d8),this),_0x4c128e[_0x16e35d(0x1ed)]&&_0x22c0f7[_0x16e35d(0x1e1)](_0x16e35d(0x1d8));}[_0x5303b5(0x1fb)](_0x311bdc){const _0x54b2dc=_0x5303b5;if(_0x311bdc===this[_0x54b2dc(0x1cf)])return;const _0x2047d6=this[_0x54b2dc(0x1e8)][_0x54b2dc(0x1e7)][_0x54b2dc(0x1f9)](_0x3249be);_0x2047d6[_0x54b2dc(0x1e3)]=_0x311bdc;const _0x107fa5=this[_0x54b2dc(0x1cf)];_0x2047d6[_0x54b2dc(0x1cb)]({'blurredAnnotation':_0x107fa5,'activatedAnnotation':_0x311bdc}),this[_0x54b2dc(0x1cf)]=_0x311bdc;}[_0x5303b5(0x1d9)](_0x984135){const _0x3466cf=_0x5303b5;this[_0x3466cf(0x206)]=_0x984135;const _0x3ca434=this[_0x3466cf(0x1e8)][_0x3466cf(0x1e7)][_0x3466cf(0x1f9)](_0x3249be);if(_0x3ca434[_0x3466cf(0x1f6)]=_0x984135,this[_0x3466cf(0x1c2)])throw new _0x111be5(_0x3466cf(0x201),this);this[_0x3466cf(0x1c2)]=!0x0,this[_0x3466cf(0x1f4)](_0x3ca434,_0x3466cf(0x1d0),()=>{const _0x2b545c=_0x3466cf;this[_0x2b545c(0x1c4)](),this[_0x2b545c(0x1f4)](_0x3ca434,_0x2b545c(0x1cc),_0x203e73=>{const _0x4ad901=_0x2b545c;_0x203e73[_0x4ad901(0x1e5)](),this[_0x4ad901(0x1d9)](_0x984135);});}),_0x3ca434[_0x3466cf(0x1cd)]({'viewClass':_0x3466cf(0x1d7)});const _0x1901c6=_0x3b27f4=>{const _0x3f42ce=_0x3466cf;_0x3b27f4[_0x3f42ce(0x203)](),_0x3ca434[_0x3f42ce(0x1da)](_0x3b27f4);};for(const _0x14c3e3 of _0x984135)_0x1901c6(_0x14c3e3);this[_0x3466cf(0x1f4)](_0x984135,_0x3466cf(0x202),(_0x46be42,_0x574cc6)=>{_0x1901c6(_0x574cc6);}),this[_0x3466cf(0x1f4)](_0x984135,_0x3466cf(0x1f8),(_0xcc475a,_0x293721,_0x4b6066)=>{const _0x4dc0ff=_0x3466cf;_0x3ca434[_0x4dc0ff(0x1e4)]({'removedAnnotation':_0x293721,'previousAnnotation':_0x984135[_0x4dc0ff(0x1f9)](_0x4b6066-0x1),'nextAnnotation':_0x984135[_0x4dc0ff(0x1f9)](_0x4b6066+0x1)}),_0x293721===this[_0x4dc0ff(0x1cf)]&&this[_0x4dc0ff(0x1fb)](null);},{'priority':_0x3466cf(0x1c3)}),this[_0x3466cf(0x1f4)](_0x984135,_0x3466cf(0x1d6),(_0x5f2226,_0x1e3a14)=>{const _0x58efff=_0x3466cf;this[_0x58efff(0x1fb)](_0x1e3a14);}),this[_0x3466cf(0x1f4)](_0x984135,_0x3466cf(0x1fc),()=>{const _0x2fbc2e=_0x3466cf;this[_0x2fbc2e(0x1fb)](null);});const _0x4eff58=this[_0x3466cf(0x1e8)]instanceof _0x17e89b?this[_0x3466cf(0x1e8)][_0x3466cf(0x1c5)]:new _0x4dcdd3([this[_0x3466cf(0x1e8)]]);for(const _0x2ffff8 of _0x4eff58)this[_0x3466cf(0x1df)](_0x2ffff8);this[_0x3466cf(0x1f4)](_0x4eff58,_0x3466cf(0x202),(_0x496250,_0x10e51c)=>{const _0x545849=_0x3466cf;this[_0x545849(0x1f4)](_0x10e51c,_0x545849(0x1d5),()=>{const _0x44c2fa=_0x545849;this[_0x44c2fa(0x1df)](_0x10e51c);});}),this[_0x3466cf(0x1f4)](_0x4eff58,_0x3466cf(0x1f8),(_0x56dc42,_0x1a32d6)=>{const _0x3cde51=_0x3466cf;_0x1a32d6[_0x3cde51(0x1e7)][_0x3cde51(0x1fe)](_0x3cde51(0x1db))&&this[_0x3cde51(0x1fd)](_0x1a32d6[_0x3cde51(0x1e7)][_0x3cde51(0x1f9)](_0x3cde51(0x1db)));}),window[_0x3466cf(0x1ea)](_0x3466cf(0x1e0),this[_0x3466cf(0x1dd)]),this[_0x3466cf(0x1e8)][_0x3466cf(0x1e7)][_0x3466cf(0x1f9)](_0x3466cf(0x1ee))[_0x3466cf(0x1d4)](),this[_0x3466cf(0x206)][_0x3466cf(0x1ce)]();}[_0x5303b5(0x1c4)](){const _0x862fb1=_0x5303b5;if(!this[_0x862fb1(0x1c2)])throw new _0x111be5(_0x862fb1(0x1dc),this);this[_0x862fb1(0x1fb)](null);const _0x2bea7d=this[_0x862fb1(0x1e8)][_0x862fb1(0x1e7)][_0x862fb1(0x1f9)](_0x3249be);_0x2bea7d[_0x862fb1(0x1de)](this[_0x862fb1(0x206)]),this[_0x862fb1(0x1e2)](_0x2bea7d),this[_0x862fb1(0x1e2)](this[_0x862fb1(0x206)]),this[_0x862fb1(0x1e8)]instanceof _0x17e89b&&this[_0x862fb1(0x1e2)](this[_0x862fb1(0x1e8)][_0x862fb1(0x1c5)]);for(const _0x378a40 of Array[_0x862fb1(0x1c6)](this[_0x862fb1(0x1ca)]))this[_0x862fb1(0x1fd)](_0x378a40);window[_0x862fb1(0x1f7)](_0x862fb1(0x1e0),this[_0x862fb1(0x1dd)]),this[_0x862fb1(0x1dd)][_0x862fb1(0x1fa)](),this[_0x862fb1(0x1cf)]=null,this[_0x862fb1(0x1c2)]=!0x1,this[_0x862fb1(0x206)]=null;}[_0x5303b5(0x1e9)](){const _0x2b067e=_0x5303b5;this[_0x2b067e(0x1c2)]&&this[_0x2b067e(0x1c4)]();}[_0x5303b5(0x1df)](_0x5be857){const _0x84c96b=_0x5303b5;if(!_0x5be857[_0x84c96b(0x1e7)][_0x84c96b(0x1fe)](_0x84c96b(0x1db)))return;const _0x34625c=_0x5be857[_0x84c96b(0x1e7)][_0x84c96b(0x1f9)](_0x84c96b(0x1db)),_0x4bc542=()=>{const _0x502d71=_0x84c96b,_0x57f4c1=_0x34625c[_0x502d71(0x1f0)]({'annotations':this[_0x502d71(0x206)],'activeAnnotation':this[_0x502d71(0x1cf)]});this[_0x502d71(0x1fb)](_0x57f4c1[0x0]||null);};this[_0x84c96b(0x1f4)](_0x34625c,_0x84c96b(0x1cb),_0x4bc542),this[_0x84c96b(0x1f4)](_0x34625c,_0x84c96b(0x1fc),(_0x544b98,{isAnnotationTracked:_0x1185d})=>{const _0x32d531=_0x84c96b;this[_0x32d531(0x1cf)]&&_0x1185d(this[_0x32d531(0x1cf)])&&this[_0x32d531(0x1fb)](null);}),this[_0x84c96b(0x1f4)](_0x34625c,_0x84c96b(0x1c8),()=>{const _0x1bf2a8=_0x84c96b;this[_0x1bf2a8(0x1dd)]();}),this[_0x84c96b(0x1f4)](this[_0x84c96b(0x206)],_0x84c96b(0x1fc),_0x3ead8f=>{const _0x5cb543=_0x84c96b;_0x34625c[_0x5cb543(0x204)]()&&(_0x4bc542(),_0x3ead8f[_0x5cb543(0x1f5)]());},{'priority':_0x84c96b(0x1c3)}),this[_0x84c96b(0x1ca)][_0x84c96b(0x202)](_0x34625c);}[_0x5303b5(0x1fd)](_0x1489f8){const _0x18e87f=_0x5303b5;this[_0x18e87f(0x1e2)](_0x1489f8),this[_0x18e87f(0x1ca)][_0x18e87f(0x1f8)](_0x1489f8);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2d1d(){const _0x1f5507=['_hasContent','$textProxy','CommentsRepository','getLastMatchingPosition','comment:','9058920BzwLTe','1772603mUzKln','1026990ePFawZ','2483140AmDWyo','getRanges','addCommentThread','isEnabled','config','isObject','execute','end','selection','set','schema','backward','getItems','plugins','_trimToContent','substr','element','Users','refresh','865600dnnfXw','_createMarkersFromRanges','from','item','hasContent','model','start','createRange','23172HlRhzR','editor','get','collaboration.channelId','tableCell','_createCommentThread','_itemIsContent','change','document','length','push','76hrEXYs','addMarker','295747rMQxcq','addcommentthreadcommand-user-not-found','addcommentthreadcommand-incorrect-ranges'];_0x2d1d=function(){return _0x1f5507;};return _0x2d1d();}const _0x6215ba=_0x28a3;(function(_0xc805ed,_0x50b571){const _0x2e9604=_0x28a3,_0x55fbfb=_0xc805ed();while(!![]){try{const _0x8881b0=-parseInt(_0x2e9604(0x1d1))/0x1+-parseInt(_0x2e9604(0x1ef))/0x2+-parseInt(_0x2e9604(0x1f7))/0x3*(parseInt(_0x2e9604(0x1cf))/0x4)+parseInt(_0x2e9604(0x1dc))/0x5+-parseInt(_0x2e9604(0x1db))/0x6+-parseInt(_0x2e9604(0x1da))/0x7+parseInt(_0x2e9604(0x1d9))/0x8;if(_0x8881b0===_0x50b571)break;else _0x55fbfb['push'](_0x55fbfb['shift']());}catch(_0x291fb5){_0x55fbfb['push'](_0x55fbfb['shift']());}}}(_0x2d1d,0x50650));import{Command as _0x14c8ef}from'ckeditor5/src/core.js';import{uid as _0x319d4e,CKEditorError as _0x2547c7}from'ckeditor5/src/utils.js';function _0x28a3(_0x3c4026,_0x335550){const _0x2d1d47=_0x2d1d();return _0x28a3=function(_0x28a355,_0x2e4f8a){_0x28a355=_0x28a355-0x1cd;let _0x9fa9dd=_0x2d1d47[_0x28a355];return _0x9fa9dd;},_0x28a3(_0x3c4026,_0x335550);}export class AddCommentThreadCommand extends _0x14c8ef{constructor(_0x5e34a7){const _0xd8162f=_0x28a3;super(_0x5e34a7),this[_0xd8162f(0x1e5)](_0xd8162f(0x1f3),!0x1);}[_0x6215ba(0x1ee)](){const _0x55f677=_0x6215ba,_0x48f59e=this[_0x55f677(0x1f8)][_0x55f677(0x1f4)][_0x55f677(0x1ff)][_0x55f677(0x1e4)];this[_0x55f677(0x1df)]=!0x0,this[_0x55f677(0x1f3)]=!0x1;for(const _0x3517ba of _0x48f59e[_0x55f677(0x1dd)]())if(this[_0x55f677(0x1d4)](_0x3517ba))return void(this[_0x55f677(0x1f3)]=!0x0);}[_0x6215ba(0x1e2)]({threadId:_0x5ca76d=_0x319d4e(),ranges:_0x3ef520,comment:_0x4c750a}={}){const _0x22671d=_0x6215ba,_0x260952=this[_0x22671d(0x1f8)][_0x22671d(0x1f4)],_0x549a61=_0x3ef520??Array[_0x22671d(0x1f1)](_0x260952[_0x22671d(0x1ff)][_0x22671d(0x1e4)][_0x22671d(0x1dd)]()),_0x5d6e69=[];for(const _0x5b5017 of _0x549a61)this[_0x22671d(0x1d4)](_0x5b5017)&&_0x5d6e69[_0x22671d(0x1ce)](this[_0x22671d(0x1ea)](_0x5b5017));if(!_0x5d6e69[_0x22671d(0x1cd)])throw new _0x2547c7(_0x22671d(0x1d3),null);_0x4c750a&&this[_0x22671d(0x1fc)](_0x5ca76d,_0x4c750a),this[_0x22671d(0x1f0)](_0x5ca76d,_0x5d6e69,!!_0x4c750a);}[_0x6215ba(0x1f0)](_0x5a4b48,_0x2c4fcf,_0x508995){const _0x42f2d2=_0x6215ba;this[_0x42f2d2(0x1f8)][_0x42f2d2(0x1f4)][_0x42f2d2(0x1fe)](_0x1bbece=>{const _0x423114=_0x42f2d2;for(const _0x10fd8c of _0x2c4fcf){const _0x51e057=_0x319d4e()[_0x423114(0x1eb)](0x1,0x5),_0x44e478=_0x423114(0x1d8)+_0x5a4b48+':'+_0x51e057;_0x1bbece[_0x423114(0x1d0)](_0x44e478,{'range':_0x10fd8c,'usingOperation':_0x508995,'affectsData':_0x508995});}});}[_0x6215ba(0x1fc)](_0x4d6aa5,_0x3d0fa6){const _0x358d74=_0x6215ba,_0x27d8fb=this[_0x358d74(0x1f8)][_0x358d74(0x1e9)][_0x358d74(0x1f9)](_0x358d74(0x1d6)),_0x218803=this[_0x358d74(0x1f8)][_0x358d74(0x1e0)][_0x358d74(0x1f9)](_0x358d74(0x1fa)),_0x2eefef=this[_0x358d74(0x1f8)][_0x358d74(0x1e9)][_0x358d74(0x1f9)](_0x358d74(0x1ed))['me'];if(!_0x2eefef)throw new _0x2547c7(_0x358d74(0x1d2),null);_0x27d8fb[_0x358d74(0x1de)]({'threadId':_0x4d6aa5,'channelId':_0x218803,'comments':[{'authorId':_0x2eefef['id'],'content':_0x3d0fa6,'createdAt':new Date(),'attributes':{}}]});}[_0x6215ba(0x1d4)](_0x40eb68){const _0x581edf=_0x6215ba;for(const _0x3c658a of _0x40eb68[_0x581edf(0x1e8)]())if(this[_0x581edf(0x1fd)](_0x3c658a))return!0x0;return!0x1;}[_0x6215ba(0x1fd)](_0x421268){const _0x455b32=_0x6215ba;return _0x421268['is'](_0x455b32(0x1d5))||this[_0x455b32(0x1f8)][_0x455b32(0x1f4)][_0x455b32(0x1e6)][_0x455b32(0x1e1)](_0x421268)&&!_0x421268['is'](_0x455b32(0x1ec),_0x455b32(0x1fb));}[_0x6215ba(0x1ea)](_0x12a16e){const _0x5ddc05=_0x6215ba,_0x4fee74=_0x223a16=>!this[_0x5ddc05(0x1fd)](_0x223a16[_0x5ddc05(0x1f2)]),_0x286187=_0x12a16e[_0x5ddc05(0x1f5)][_0x5ddc05(0x1d7)](_0x4fee74),_0x45c7d9=_0x12a16e[_0x5ddc05(0x1e3)][_0x5ddc05(0x1d7)](_0x4fee74,{'direction':_0x5ddc05(0x1e7)});return this[_0x5ddc05(0x1f8)][_0x5ddc05(0x1f4)][_0x5ddc05(0x1f6)](_0x286187,_0x45c7d9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x540e(_0x26db96,_0x1777ef){const _0x5c3c21=_0x5c3c();return _0x540e=function(_0x540e44,_0x1dc758){_0x540e44=_0x540e44-0x17d;let _0x488183=_0x5c3c21[_0x540e44];return _0x488183;},_0x540e(_0x26db96,_0x1777ef);}function _0x5c3c(){const _0x5133e3=['stopListening','archivedAt','isOfficialPlugin','1867400xWJujg','_calculatePosition','832606jVReCV','1750074giKFeZ','isActive','change:archivedAt','findIndex','add','focus','init','addCommentThread','10NFcqUJ','91616UJMulq','collection','length','remove','highest','6440166qHIwnB','321hoGRyW','pluginName','removeCommentThread','requires','plugins','isPremiumPlugin','isVisible','has','context','getCommentThread','14LwSals','CommentsArchive','21016FDURAF','8964984AEjTNX','listenTo','archivedThreads','get','activate'];_0x5c3c=function(){return _0x5133e3;};return _0x5c3c();}const _0x507e0b=_0x540e;(function(_0x863b6a,_0x2897db){const _0x1c32ac=_0x540e,_0x1a42d2=_0x863b6a();while(!![]){try{const _0x41dbcf=-parseInt(_0x1c32ac(0x180))/0x1+parseInt(_0x1c32ac(0x18a))/0x2+-parseInt(_0x1c32ac(0x190))/0x3*(-parseInt(_0x1c32ac(0x19c))/0x4)+-parseInt(_0x1c32ac(0x17e))/0x5+-parseInt(_0x1c32ac(0x181))/0x6*(parseInt(_0x1c32ac(0x19a))/0x7)+parseInt(_0x1c32ac(0x19d))/0x8+-parseInt(_0x1c32ac(0x18f))/0x9*(-parseInt(_0x1c32ac(0x189))/0xa);if(_0x41dbcf===_0x2897db)break;else _0x1a42d2['push'](_0x1a42d2['shift']());}catch(_0x267043){_0x1a42d2['push'](_0x1a42d2['shift']());}}}(_0x5c3c,0x9fd93));import{ContextPlugin as _0x4e3e5b}from'ckeditor5/src/core.js';import{Collection as _0x2a0cf8}from'ckeditor5/src/utils.js';import{CommentsRepository as _0xc62108}from'./commentsrepository.js';import{Annotations as _0x5d617f}from'../annotations/annotations.js';export class CommentsArchive extends _0x4e3e5b{static get[_0x507e0b(0x191)](){const _0x144510=_0x507e0b;return _0x144510(0x19b);}static get[_0x507e0b(0x17d)](){return!0x0;}static get[_0x507e0b(0x195)](){return!0x0;}static get[_0x507e0b(0x193)](){return[_0xc62108,_0x5d617f];}constructor(_0x1b9518){const _0x2bbd49=_0x507e0b;super(_0x1b9518),this[_0x2bbd49(0x19f)]=new _0x2a0cf8();}[_0x507e0b(0x187)](){const _0x386836=_0x507e0b,_0x5ccdfe=this[_0x386836(0x198)],_0x8a3454=_0x5ccdfe[_0x386836(0x194)][_0x386836(0x1a0)](_0xc62108),_0x2af675=_0x5ccdfe[_0x386836(0x194)][_0x386836(0x1a0)](_0x5d617f);this[_0x386836(0x19e)](_0x8a3454,_0x386836(0x188),(_0x2d18d9,{threadId:_0x454c41})=>{const _0xf8f5c6=_0x386836,_0x5db003=_0x8a3454[_0xf8f5c6(0x199)](_0x454c41);_0x5db003[_0xf8f5c6(0x1a3)]&&this[_0xf8f5c6(0x19f)][_0xf8f5c6(0x185)](_0x5db003,this[_0xf8f5c6(0x17f)](_0x5db003[_0xf8f5c6(0x1a3)])),this[_0xf8f5c6(0x19e)](_0x5db003,_0xf8f5c6(0x183),(_0xc73068,_0xb89c9d,_0x8fae15)=>{const _0x34cd93=_0xf8f5c6;_0x8fae15?this[_0x34cd93(0x19f)][_0x34cd93(0x197)](_0x5db003)||this[_0x34cd93(0x19f)][_0x34cd93(0x185)](_0x5db003,this[_0x34cd93(0x17f)](_0x5db003[_0x34cd93(0x1a3)])):this[_0x34cd93(0x19f)][_0x34cd93(0x197)](_0x5db003)&&this[_0x34cd93(0x19f)][_0x34cd93(0x18d)](_0x5db003);});}),this[_0x386836(0x19e)](_0x8a3454,_0x386836(0x192),(_0x198fee,{threadId:_0xface00})=>{const _0x53b292=_0x386836,_0x252afa=_0x8a3454[_0x53b292(0x199)](_0xface00);this[_0x53b292(0x1a2)](_0x252afa),this[_0x53b292(0x19f)][_0x53b292(0x197)](_0x252afa)&&this[_0x53b292(0x19f)][_0x53b292(0x18d)](_0x252afa);},{'priority':_0x386836(0x18e)}),this[_0x386836(0x19e)](_0x2af675[_0x386836(0x18b)],_0x386836(0x186),(_0x19b449,_0x3109dc)=>{const _0x44c85c=_0x386836;_0x3109dc[_0x44c85c(0x196)]||(_0x3109dc[_0x44c85c(0x182)]=!0x0,_0x2af675[_0x44c85c(0x1a1)](_0x3109dc));});}[_0x507e0b(0x17f)](_0xe83bad){const _0x406351=_0x507e0b,_0x211300=[...this[_0x406351(0x19f)]][_0x406351(0x184)](_0x1d9751=>_0x1d9751[_0x406351(0x1a3)]<_0xe83bad);return _0x211300>-0x1?_0x211300:this[_0x406351(0x19f)][_0x406351(0x18c)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe20d7f=_0x4c96;(function(_0x3134e4,_0x4c0487){const _0x1d0c62=_0x4c96,_0x121fa8=_0x3134e4();while(!![]){try{const _0x49015f=-parseInt(_0x1d0c62(0x178))/0x1*(-parseInt(_0x1d0c62(0x16d))/0x2)+-parseInt(_0x1d0c62(0x174))/0x3*(parseInt(_0x1d0c62(0x17d))/0x4)+parseInt(_0x1d0c62(0x18d))/0x5*(-parseInt(_0x1d0c62(0x144))/0x6)+parseInt(_0x1d0c62(0x14a))/0x7*(-parseInt(_0x1d0c62(0x152))/0x8)+parseInt(_0x1d0c62(0x186))/0x9+-parseInt(_0x1d0c62(0x177))/0xa+parseInt(_0x1d0c62(0x15b))/0xb;if(_0x49015f===_0x4c0487)break;else _0x121fa8['push'](_0x121fa8['shift']());}catch(_0x523366){_0x121fa8['push'](_0x121fa8['shift']());}}}(_0x3704,0x8cdda));function _0x4c96(_0x34560f,_0x497a9e){const _0x3704f2=_0x3704();return _0x4c96=function(_0x4c9674,_0x1dcf39){_0x4c9674=_0x4c9674-0x140;let _0x593145=_0x3704f2[_0x4c9674];return _0x593145;},_0x4c96(_0x34560f,_0x497a9e);}import'../../theme/commentsarchive.css';import{Plugin as _0x2e0ee8}from'ckeditor5/src/core.js';function _0x3704(){const _0x47dcf9=['commentsArchiveView','return','isOn','332346vobCkn','findIndex','add','remove','_toggleDialog','channelId','7OXPmfo','focusableElements','plugins','locale','set:isVisible','tooltip','Dialog','isPremiumPlugin','9071432ENciOs','EDITOR_TOP_SIDE','indexOf','has','CommentsRepository','archivedAt','show','menuBar:commentsArchive','_hideDialogOnAnnotationEscape','19277038UhUXXK','view','config','isOfficialPlugin','editor','menuitemcheckbox','stopListening','execute','componentFactory','_createCommentsArchiveButton','listenTo','CommentsArchiveUI','source','_visibleAnnotations','archivedThreads','splice','stop','isVisible','26hKpZxz','forEach','includes','annotationViews','collection','collaboration.channelId','get','40089HFXTwo','_calculatePosition','set','10093640WhVVWg','74104eGJrVr','requires','length','_pendingThreads','isEnabled','12EovZHV','escape','getByInnerView','commentsArchive','_handleNewThread','_addAnnotationToArchive','COMMENTS_ARCHIVE','init','_threadToController','899541sKvtMY','innerView','bind','isOpen','Annotations','filter','push','5NBsOOa','pluginName','hide','find'];_0x3704=function(){return _0x47dcf9;};return _0x3704();}import{IconCommentsArchive as _0xb8b362}from'ckeditor5/src/icons.js';import{ViewCollection as _0x50e718,MenuBarMenuListItemButtonView as _0x15733b,ButtonView as _0x2a2320,Dialog as _0x5f2453,DialogViewPosition as _0x57ff7b}from'ckeditor5/src/ui.js';import{getTranslation as _0x1a2b46}from'../utils/common-translations.js';import{CommentsArchiveView as _0x42def0}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x3acbe9}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x2e0ee8{[_0xe20d7f(0x141)];[_0xe20d7f(0x170)];[_0xe20d7f(0x17b)];static get[_0xe20d7f(0x18e)](){const _0x1629be=_0xe20d7f;return _0x1629be(0x166);}static get[_0xe20d7f(0x15e)](){return!0x0;}static get[_0xe20d7f(0x151)](){return!0x0;}static get[_0xe20d7f(0x179)](){return[_0x3acbe9,_0x5f2453];}constructor(_0x22bf12){const _0xea4db1=_0xe20d7f;super(_0x22bf12),this[_0xea4db1(0x170)]=new _0x50e718(),this[_0xea4db1(0x17b)]=[];}[_0xe20d7f(0x184)](){const _0x3e099a=_0xe20d7f,_0x3a5d1d=this[_0x3e099a(0x15f)],_0x5eba97=this[_0x3e099a(0x15a)][_0x3e099a(0x188)](this);_0x3a5d1d['ui'][_0x3e099a(0x163)][_0x3e099a(0x146)](_0x3e099a(0x180),()=>this[_0x3e099a(0x164)](_0x2a2320,!0x0)),_0x3a5d1d['ui'][_0x3e099a(0x163)][_0x3e099a(0x146)](_0x3e099a(0x159),()=>{const _0x276d95=_0x3e099a,_0x5d2f41=this[_0x276d95(0x164)](_0x15733b);return _0x5d2f41[_0x276d95(0x176)]({'role':_0x276d95(0x160)}),_0x5d2f41;});const _0x135b38=_0x3a5d1d[_0x3e099a(0x14c)][_0x3e099a(0x173)](_0x3acbe9),_0x138a57=_0x3a5d1d[_0x3e099a(0x14c)][_0x3e099a(0x173)](_0x3e099a(0x18a)),_0x58889c=_0x3a5d1d[_0x3e099a(0x14c)][_0x3e099a(0x173)](_0x3e099a(0x156));_0x135b38[_0x3e099a(0x169)][_0x3e099a(0x16e)](_0x2a00e9=>{const _0x1dfb72=_0x3e099a;this[_0x1dfb72(0x181)](_0x2a00e9);}),this[_0x3e099a(0x165)](_0x135b38[_0x3e099a(0x169)],_0x3e099a(0x146),(_0x2d8e47,_0x41d64f)=>{const _0x308fd3=_0x3e099a;this[_0x308fd3(0x181)](_0x41d64f);}),this[_0x3e099a(0x165)](_0x138a57[_0x3e099a(0x171)],_0x3e099a(0x146),(_0x714090,_0x21f91e)=>{const _0x4d8410=_0x3e099a,_0xe2b2a=this[_0x4d8410(0x17b)][_0x4d8410(0x140)](_0x3f90e0=>{const _0x53c2da=_0x4d8410,_0x39f16c=_0x58889c[_0x53c2da(0x185)][_0x53c2da(0x173)](_0x3f90e0);return _0x39f16c&&_0x21f91e[_0x53c2da(0x187)]===_0x39f16c[_0x53c2da(0x15c)];});if(_0xe2b2a){const _0x3736ee=this[_0x4d8410(0x175)](_0xe2b2a[_0x4d8410(0x157)]);this[_0x4d8410(0x182)](_0x21f91e,_0x3736ee),this[_0x4d8410(0x17b)][_0x4d8410(0x16a)](this[_0x4d8410(0x17b)][_0x4d8410(0x154)](_0xe2b2a),0x1);}}),this[_0x3e099a(0x165)](_0x135b38[_0x3e099a(0x169)],_0x3e099a(0x147),(_0x34fdbe,_0x1bdc53)=>{const _0x3bba17=_0x3e099a,_0x1befa1=_0x3a5d1d[_0x3bba17(0x15d)][_0x3bba17(0x173)](_0x3bba17(0x172));if(!_0x1befa1||_0x1bdc53[_0x3bba17(0x149)]===_0x1befa1){if(this[_0x3bba17(0x17b)][_0x3bba17(0x16f)](_0x1bdc53))this[_0x3bba17(0x17b)][_0x3bba17(0x16a)](this[_0x3bba17(0x17b)][_0x3bba17(0x154)](_0x1bdc53),0x1);else{const _0x2cd216=_0x58889c[_0x3bba17(0x185)][_0x3bba17(0x173)](_0x1bdc53),_0x1c0e8b=_0x138a57[_0x3bba17(0x17f)](_0x2cd216[_0x3bba17(0x15c)]);this[_0x3bba17(0x170)][_0x3bba17(0x147)](_0x1c0e8b[_0x3bba17(0x15c)]),this[_0x3bba17(0x161)](_0x1c0e8b),this[_0x3bba17(0x161)](_0x1c0e8b[_0x3bba17(0x14b)]);}}}),this[_0x3e099a(0x165)](_0x138a57[_0x3e099a(0x171)],_0x3e099a(0x146),(_0x5c2b31,_0x9dbf18)=>{const _0x37be6b=_0x3e099a;this[_0x37be6b(0x165)](_0x9dbf18,_0x37be6b(0x17e),_0x5eba97);}),this[_0x3e099a(0x165)](_0x138a57[_0x3e099a(0x171)],_0x3e099a(0x147),(_0x37961f,_0x38128c)=>{const _0x4c239f=_0x3e099a;this[_0x4c239f(0x161)](_0x38128c,_0x4c239f(0x17e),_0x5eba97);});}[_0xe20d7f(0x182)](_0x257605,_0x20c8e9){const _0x5124a0=_0xe20d7f;this[_0x5124a0(0x165)](_0x257605,_0x5124a0(0x14e),_0x2a00af=>{const _0x4c69ba=_0x5124a0;_0x2a00af[_0x4c69ba(0x142)]=!0x1,_0x2a00af[_0x4c69ba(0x16b)]();}),this[_0x5124a0(0x170)][_0x5124a0(0x146)](_0x257605[_0x5124a0(0x15c)],_0x20c8e9);}[_0xe20d7f(0x181)](_0x69dd49){const _0x5a7bb2=_0xe20d7f,_0x1591f6=this[_0x5a7bb2(0x15f)][_0x5a7bb2(0x14c)][_0x5a7bb2(0x173)](_0x5a7bb2(0x156)),_0x3423c3=this[_0x5a7bb2(0x15f)][_0x5a7bb2(0x14c)][_0x5a7bb2(0x173)](_0x5a7bb2(0x18a)),_0x2ace9b=this[_0x5a7bb2(0x15f)][_0x5a7bb2(0x15d)][_0x5a7bb2(0x173)](_0x5a7bb2(0x172));if(!_0x2ace9b||_0x69dd49[_0x5a7bb2(0x149)]===_0x2ace9b){const _0x2d7f1f=_0x1591f6[_0x5a7bb2(0x185)][_0x5a7bb2(0x173)](_0x69dd49);if(!_0x2d7f1f)return void this[_0x5a7bb2(0x17b)][_0x5a7bb2(0x18c)](_0x69dd49);const _0x211f1c=this[_0x5a7bb2(0x175)](_0x69dd49[_0x5a7bb2(0x157)]),_0x2898fd=_0x3423c3[_0x5a7bb2(0x17f)](_0x2d7f1f[_0x5a7bb2(0x15c)]);_0x2898fd[_0x5a7bb2(0x16c)]&&_0x3423c3[_0x5a7bb2(0x168)][_0x5a7bb2(0x147)](_0x2898fd),this[_0x5a7bb2(0x182)](_0x2898fd,_0x211f1c);}}[_0xe20d7f(0x175)](_0x544910){const _0x3f2730=_0xe20d7f,_0x1ccc2f=this[_0x3f2730(0x15f)][_0x3f2730(0x15d)][_0x3f2730(0x173)](_0x3f2730(0x172)),_0x208dc1=[...this[_0x3f2730(0x15f)][_0x3f2730(0x14c)][_0x3f2730(0x173)](_0x3acbe9)[_0x3f2730(0x169)]][_0x3f2730(0x18b)](_0x531059=>_0x531059[_0x3f2730(0x149)]===_0x1ccc2f)[_0x3f2730(0x145)](_0x106dca=>_0x106dca[_0x3f2730(0x157)]<_0x544910);return _0x208dc1<0x0||_0x208dc1>this[_0x3f2730(0x170)][_0x3f2730(0x17a)]?this[_0x3f2730(0x170)][_0x3f2730(0x17a)]:_0x208dc1-0x1;}[_0xe20d7f(0x148)](){const _0x3618ad=_0xe20d7f,_0x28528a=this[_0x3618ad(0x15f)],_0x504d71=_0x28528a[_0x3618ad(0x14c)][_0x3618ad(0x173)](_0x3618ad(0x150));this[_0x3618ad(0x141)]||(this[_0x3618ad(0x141)]=new _0x42def0(_0x28528a[_0x3618ad(0x14d)],this[_0x3618ad(0x170)])),_0x3618ad(0x180)===_0x504d71['id']?_0x504d71[_0x3618ad(0x18f)]():_0x504d71[_0x3618ad(0x158)]({'id':_0x3618ad(0x180),'title':_0x1a2b46(_0x28528a[_0x3618ad(0x14d)],_0x3618ad(0x183)),'icon':_0xb8b362,'hasCloseButton':!0x0,'content':this[_0x3618ad(0x141)],'position':_0x57ff7b[_0x3618ad(0x153)]});}[_0xe20d7f(0x164)](_0x46d150,_0xce5d38=!0x1){const _0xbfc4db=_0xe20d7f,_0xd827cb=this[_0xbfc4db(0x15f)][_0xbfc4db(0x14d)],_0x115e08=this[_0xbfc4db(0x15f)][_0xbfc4db(0x14c)][_0xbfc4db(0x173)](_0xbfc4db(0x150)),_0x3acff0=new _0x46d150(_0xd827cb);return _0x3acff0[_0xbfc4db(0x188)](_0xbfc4db(0x17c))['to'](this,_0xbfc4db(0x17c)),_0x3acff0[_0xbfc4db(0x188)](_0xbfc4db(0x143))['to'](_0x115e08,'id',_0x1828d5=>_0xbfc4db(0x180)===_0x1828d5),_0x3acff0[_0xbfc4db(0x176)]({'label':_0x1a2b46(_0xd827cb,_0xbfc4db(0x183)),'icon':_0xb8b362,'isToggleable':!0x0}),_0xce5d38&&(_0x3acff0[_0xbfc4db(0x14f)]=!0x0),this[_0xbfc4db(0x165)](_0x3acff0,_0xbfc4db(0x162),()=>this[_0xbfc4db(0x148)]()),_0x3acff0;}[_0xe20d7f(0x15a)]=_0x25de66=>{const _0x38b688=_0xe20d7f,_0xfe6cfd=_0x25de66[_0x38b688(0x167)];if(!this[_0x38b688(0x170)][_0x38b688(0x155)](_0xfe6cfd[_0x38b688(0x15c)]))return;const _0x436f18=this[_0x38b688(0x15f)][_0x38b688(0x14c)][_0x38b688(0x173)](_0x38b688(0x150));_0x436f18[_0x38b688(0x189)]&&_0x38b688(0x180)===_0x436f18['id']&&(_0x436f18[_0x38b688(0x18f)](),_0x25de66[_0x38b688(0x16b)]());};}
|