@ckeditor/ckeditor5-comments 46.1.1-alpha.0 → 46.1.1-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x562f1d=_0x3ad1;(function(_0x4ea3a5,_0x3dea24){const _0x347aab=_0x3ad1,_0x2544aa=_0x4ea3a5();while(!![]){try{const _0x4e9fda=parseInt(_0x347aab(0x1e4))/0x1*(parseInt(_0x347aab(0x1d0))/0x2)+-parseInt(_0x347aab(0x1f5))/0x3*(-parseInt(_0x347aab(0x1ba))/0x4)+parseInt(_0x347aab(0x1c5))/0x5*(-parseInt(_0x347aab(0x200))/0x6)+parseInt(_0x347aab(0x1df))/0x7+parseInt(_0x347aab(0x1d6))/0x8*(parseInt(_0x347aab(0x1ea))/0x9)+parseInt(_0x347aab(0x1d8))/0xa+-parseInt(_0x347aab(0x1fe))/0xb;if(_0x4e9fda===_0x3dea24)break;else _0x2544aa['push'](_0x2544aa['shift']());}catch(_0x175578){_0x2544aa['push'](_0x2544aa['shift']());}}}(_0x1222,0x7a11c));import{ContextPlugin as _0x83c5bd}from'ckeditor5/src/core.js';function _0x3ad1(_0x2dd58e,_0x2c138c){const _0x122236=_0x1222();return _0x3ad1=function(_0x3ad131,_0x326725){_0x3ad131=_0x3ad131-0x1a9;let _0x35c02e=_0x122236[_0x3ad131];return _0x35c02e;},_0x3ad1(_0x2dd58e,_0x2c138c);}import{Rect as _0x1586de,CKEditorError as _0x235b43}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x533ae4}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x1e45ea}from'./view/sidebaritemview.js';function _0x1222(){const _0x582ae7=['_alignBeforeItem','add','change:top','pluginName','context','_destroySidebarItemView','rearrange','destroy','_recalculateBuffer','5tbYlEq','minHeight','init','_setItemTop','object','unbind','max','setContainer','content','bind','last','4QKSJjZ','get','isAnimationDisabled','_targetTop','list','remove','39344VGayYx','_alignToTargetRect','4613820LlrFfd','isOfficialPlugin','class','view','getIndex','stopListening','_annotations','4132681ORDLVL','sidebar.container','change:_lastItem','_getItemBefore','Sidebar','93103pTJgPU','appendChild','_createSidebarView','_alignAfterItem','change:targetRect','nodeType','711pQFmNZ','_alignForBottomChange','clear','render','_spaceBetweenItems','container','push','_recalculate','_detachFromContainer','updateHeight','_alignForTopChange','51sXkWyX','sidebar-setcontainer-invalid-element','set','locale','_attachToContainer','bottom','change:bottom','isActive','top','14053303oVCVvz','delete','399858ZfbXqc','isPremiumPlugin','_lastItem','getSidebarItemView','_getTargetTop','refresh','target','element','_annotationToSidebarItemView','_updateLastItem','listenTo','_getMaxAvailableTop','_sidebarItemViewToAnnotation','sidebar.preventScrollOutOfView','config','define','length','sidebar-attachtocontainer-missing-container','_getItemAfter','_activeAnnotation','addAnnotation','targetRect','51228byLEpq','height'];_0x1222=function(){return _0x582ae7;};return _0x1222();}export class Sidebar extends _0x83c5bd{[_0x562f1d(0x1db)];[_0x562f1d(0x1b7)];[_0x562f1d(0x1de)];[_0x562f1d(0x1ee)];[_0x562f1d(0x1b0)];[_0x562f1d(0x1ac)];[_0x562f1d(0x1c4)];static get[_0x562f1d(0x1bf)](){const _0x47ace9=_0x562f1d;return _0x47ace9(0x1e3);}static get[_0x562f1d(0x1d9)](){return!0x0;}static get[_0x562f1d(0x201)](){return!0x0;}constructor(_0x52da35){const _0x5f18b8=_0x562f1d;super(_0x52da35),this[_0x5f18b8(0x1f7)](_0x5f18b8(0x202),void 0x0),this[_0x5f18b8(0x1db)]=this[_0x5f18b8(0x1e6)](),this[_0x5f18b8(0x1f7)](_0x5f18b8(0x1ef),null),this[_0x5f18b8(0x1ee)]=0x19,this[_0x5f18b8(0x1b0)]=new Map(),this[_0x5f18b8(0x1ac)]=new Map(),this[_0x5f18b8(0x1c0)][_0x5f18b8(0x1b2)][_0x5f18b8(0x1b3)](_0x5f18b8(0x1b1),!0x1),this[_0x5f18b8(0x1de)]=null,this[_0x5f18b8(0x1b7)]=null,this[_0x5f18b8(0x1c4)]=[];}[_0x562f1d(0x1c7)](){const _0x50f7d9=_0x562f1d,_0x2756c5=this[_0x50f7d9(0x1c0)][_0x50f7d9(0x1b2)][_0x50f7d9(0x1d1)](_0x50f7d9(0x1e0));_0x2756c5&&this[_0x50f7d9(0x1cc)](_0x2756c5);}[_0x562f1d(0x1cc)](_0x43c719){const _0x9a05a1=_0x562f1d;if(!g(_0x43c719))throw new _0x235b43(_0x9a05a1(0x1f6));this[_0x9a05a1(0x1ef)]=_0x43c719;}[_0x562f1d(0x1f9)]({viewClass:_0x592075='',spaceBetweenItems:_0x2b8c19=0x19}={}){const _0x4faf9e=_0x562f1d;if(!g(this[_0x4faf9e(0x1ef)]))throw new _0x235b43(_0x4faf9e(0x1b5),this);this[_0x4faf9e(0x1ef)][_0x4faf9e(0x1e5)](this[_0x4faf9e(0x1db)][_0x4faf9e(0x1ab)]),this[_0x4faf9e(0x1db)][_0x4faf9e(0x1da)]=_0x592075,this[_0x4faf9e(0x1ee)]=_0x2b8c19;}[_0x562f1d(0x1c2)]({removedAnnotation:_0x192e9a,previousAnnotation:_0x48415f,nextAnnotation:_0x4450ef}){const _0x5a8640=_0x562f1d,_0x4c2a3e=this[_0x5a8640(0x203)](_0x192e9a);this[_0x5a8640(0x1db)][_0x5a8640(0x1d4)][_0x5a8640(0x1d5)](_0x4c2a3e),this[_0x5a8640(0x1c1)](_0x192e9a),_0x48415f&&this[_0x5a8640(0x1d7)](this[_0x5a8640(0x203)](_0x48415f)),_0x4450ef&&this[_0x5a8640(0x1d7)](this[_0x5a8640(0x203)](_0x4450ef)),this[_0x5a8640(0x1ad)]();}[_0x562f1d(0x1a9)]({blurredAnnotation:_0x4d5210,activatedAnnotation:_0x35bde7,disableAnimationOnActivatedAnnotation:_0x290c55}){const _0x3ff5e8=_0x562f1d;if(this[_0x3ff5e8(0x1b7)]=_0x35bde7,_0x4d5210){_0x4d5210[_0x3ff5e8(0x1fc)]=!0x1;const _0x53be8d=this[_0x3ff5e8(0x203)](_0x4d5210);_0x53be8d&&_0x290c55&&(_0x53be8d[_0x3ff5e8(0x1d2)]=!0x1);}if(_0x35bde7){const _0x300b0f=this[_0x3ff5e8(0x203)](_0x35bde7);_0x300b0f&&(_0x35bde7[_0x3ff5e8(0x1fc)]=!0x0,_0x290c55&&(_0x300b0f[_0x3ff5e8(0x1d2)]=!0x0,_0x300b0f[_0x3ff5e8(0x1fd)]+=0x1),this[_0x3ff5e8(0x1d7)](_0x300b0f));}}[_0x562f1d(0x1f2)](_0x5353a8){const _0x3a2824=_0x562f1d;if(this[_0x3a2824(0x1db)][_0x3a2824(0x1ab)][_0x3a2824(0x1d5)](),_0x5353a8){for(const _0x2e404d of _0x5353a8)this[_0x3a2824(0x1c1)](_0x2e404d);}this[_0x3a2824(0x1db)][_0x3a2824(0x1d4)][_0x3a2824(0x1ec)](),this[_0x3a2824(0x1db)][_0x3a2824(0x1da)]='',this[_0x3a2824(0x202)]=null;}[_0x562f1d(0x1b8)](_0x2c4165,_0x24d02a){const _0x42b3e6=_0x562f1d;_0x24d02a||(_0x24d02a=_0x2c4165[_0x42b3e6(0x1db)]);const _0x5cda3e=new _0x1e45ea(this[_0x42b3e6(0x1c0)][_0x42b3e6(0x1f8)]);this[_0x42b3e6(0x1b0)][_0x42b3e6(0x1f7)](_0x5cda3e,_0x2c4165),this[_0x42b3e6(0x1ac)][_0x42b3e6(0x1f7)](_0x2c4165,_0x5cda3e),_0x5cda3e[_0x42b3e6(0x1cd)][_0x42b3e6(0x1bd)](_0x24d02a),this[_0x42b3e6(0x1ae)](_0x2c4165[_0x42b3e6(0x1db)],_0x42b3e6(0x1e8),(_0x9c819b,_0x4e73a1,_0x5b7c68)=>{const _0x4ef25a=_0x42b3e6,_0x1de158=this[_0x4ef25a(0x204)](_0x2c4165,_0x5b7c68);_0x5cda3e[_0x4ef25a(0x1d3)]!=_0x1de158&&(_0x5cda3e[_0x4ef25a(0x1d3)]=_0x1de158,this[_0x4ef25a(0x1c8)](_0x5cda3e,_0x1de158));}),this[_0x42b3e6(0x1ae)](_0x5cda3e,_0x42b3e6(0x1be),()=>{const _0x49de60=_0x42b3e6;this[_0x49de60(0x1f1)](_0x5cda3e,_0x49de60(0x1fd));}),this[_0x42b3e6(0x1ae)](_0x5cda3e,_0x42b3e6(0x1fb),()=>{const _0x46dfc4=_0x42b3e6;this[_0x46dfc4(0x1f1)](_0x5cda3e,_0x46dfc4(0x1fa));}),this[_0x42b3e6(0x1d7)](_0x5cda3e);const _0x325c5c=this[_0x42b3e6(0x1e2)](_0x5cda3e);if(_0x325c5c)this[_0x42b3e6(0x1e7)](_0x325c5c,_0x5cda3e)||this[_0x42b3e6(0x1d7)](_0x5cda3e);else this[_0x42b3e6(0x1d7)](_0x5cda3e);return this[_0x42b3e6(0x1ad)](),this[_0x42b3e6(0x1db)][_0x42b3e6(0x1d4)][_0x42b3e6(0x1bd)](_0x5cda3e),_0x5cda3e;}[_0x562f1d(0x1f4)](_0x5b2735){const _0x46b387=_0x562f1d;if(!_0x5b2735[_0x46b387(0x1cd)][_0x46b387(0x1b4)])return;const _0x19f7c3=this[_0x46b387(0x1e2)](_0x5b2735);if(!_0x19f7c3)return;const _0x56add3=this[_0x46b387(0x1b0)][_0x46b387(0x1d1)](_0x19f7c3),_0x33df6b=this[_0x46b387(0x1b7)];_0x33df6b&&_0x33df6b===_0x56add3?this[_0x46b387(0x1e7)](_0x19f7c3,_0x5b2735):this[_0x46b387(0x1bc)](_0x5b2735,_0x19f7c3);}[_0x562f1d(0x1eb)](_0x5ebe79){const _0x2383a9=_0x562f1d;if(!_0x5ebe79[_0x2383a9(0x1cd)][_0x2383a9(0x1b4)])return;const _0x21cccd=this[_0x2383a9(0x1b6)](_0x5ebe79);if(!_0x21cccd)return;const _0x1d6a6a=this[_0x2383a9(0x1b0)][_0x2383a9(0x1d1)](_0x21cccd),_0x550fac=this[_0x2383a9(0x1c0)][_0x2383a9(0x1b2)][_0x2383a9(0x1d1)](_0x2383a9(0x1b1)),_0x456e11=this[_0x2383a9(0x1b7)];_0x456e11&&_0x456e11===_0x1d6a6a&&_0x550fac?(this[_0x2383a9(0x1bc)](_0x21cccd,_0x5ebe79),this[_0x2383a9(0x1e7)](_0x5ebe79,_0x21cccd)):_0x456e11&&_0x456e11===_0x1d6a6a?this[_0x2383a9(0x1bc)](_0x21cccd,_0x5ebe79):this[_0x2383a9(0x1e7)](_0x5ebe79,_0x21cccd);}[_0x562f1d(0x1f1)](_0x1db934,_0x708ed0){const _0x1632e9=_0x562f1d;0x0===this[_0x1632e9(0x1c4)][_0x1632e9(0x1b4)]&&setTimeout(()=>{const _0x4fc447=_0x1632e9;for(const {sidebarItemView:_0x55dd6d,changedProp:_0x9e5608}of this[_0x4fc447(0x1c4)])_0x4fc447(0x1fd)===_0x9e5608?this[_0x4fc447(0x1f4)](_0x55dd6d):this[_0x4fc447(0x1eb)](_0x55dd6d);this[_0x4fc447(0x1c4)]=[];},0xa),this[_0x1632e9(0x1c4)][_0x1632e9(0x1f0)]({'sidebarItemView':_0x1db934,'changedProp':_0x708ed0});}[_0x562f1d(0x203)](_0x129184){const _0x59cb10=_0x562f1d;return this[_0x59cb10(0x1ac)][_0x59cb10(0x1d1)](_0x129184);}[_0x562f1d(0x1c3)](){const _0x3f1e92=_0x562f1d;this[_0x3f1e92(0x1dd)](),this[_0x3f1e92(0x1db)][_0x3f1e92(0x1c3)]();}[_0x562f1d(0x1c1)](_0x5d8bfa){const _0x5c2132=_0x562f1d,_0x5a209b=this[_0x5c2132(0x203)](_0x5d8bfa);this[_0x5c2132(0x1dd)](_0x5a209b),this[_0x5c2132(0x1dd)](_0x5d8bfa[_0x5c2132(0x1db)]),_0x5a209b[_0x5c2132(0x1c3)](),this[_0x5c2132(0x1ac)][_0x5c2132(0x1ff)](_0x5d8bfa),this[_0x5c2132(0x1b0)][_0x5c2132(0x1ff)](_0x5a209b);}[_0x562f1d(0x1e6)](){const _0x1dd620=_0x562f1d,_0x331fa2=new _0x533ae4(this[_0x1dd620(0x1c0)][_0x1dd620(0x1f8)]);return _0x331fa2[_0x1dd620(0x1ed)](),this['on'](_0x1dd620(0x1e1),(_0x4f5140,_0x552ed9,_0x4e4e12,_0x27f5db)=>{const _0xaf5fe4=_0x1dd620;_0x27f5db&&_0x331fa2[_0xaf5fe4(0x1ca)](_0xaf5fe4(0x1c6)),_0x4e4e12?_0x331fa2[_0xaf5fe4(0x1ce)](_0xaf5fe4(0x1c6))['to'](_0x4e4e12,_0xaf5fe4(0x1fa)):_0x331fa2[_0xaf5fe4(0x1c6)]=null;}),_0x331fa2;}[_0x562f1d(0x1ad)](){const _0x926f8e=_0x562f1d;this[_0x926f8e(0x202)]=this[_0x926f8e(0x1de)]?.[_0x926f8e(0x1cf)]?this[_0x926f8e(0x203)](this[_0x926f8e(0x1de)][_0x926f8e(0x1cf)]):null;}[_0x562f1d(0x1e2)](_0x1d20a5){const _0x31911d=_0x562f1d,_0x26b03f=this[_0x31911d(0x1b0)][_0x31911d(0x1d1)](_0x1d20a5),_0x4480f5=_0x26b03f&&this[_0x31911d(0x1de)]?.[_0x31911d(0x1d1)](this[_0x31911d(0x1de)][_0x31911d(0x1dc)](_0x26b03f)-0x1);return _0x4480f5&&this[_0x31911d(0x203)](_0x4480f5)||null;}[_0x562f1d(0x1b6)](_0x1fda23){const _0x98a2cf=_0x562f1d,_0x2a638b=this[_0x98a2cf(0x1b0)][_0x98a2cf(0x1d1)](_0x1fda23),_0x17c45b=_0x2a638b&&this[_0x98a2cf(0x1de)]?.[_0x98a2cf(0x1d1)](this[_0x98a2cf(0x1de)][_0x98a2cf(0x1dc)](_0x2a638b)+0x1);return _0x17c45b&&this[_0x98a2cf(0x203)](_0x17c45b)||null;}[_0x562f1d(0x1bc)](_0x433c30,_0x5264e1){const _0x35fdd0=_0x562f1d;_0x433c30[_0x35fdd0(0x1f3)]();const _0x4c2bc0=G(_0x5264e1[_0x35fdd0(0x1fa)]+this[_0x35fdd0(0x1ee)],_0x433c30[_0x35fdd0(0x1fd)]);return!!_0x4c2bc0&&(this[_0x35fdd0(0x1c8)](_0x5264e1,_0x5264e1[_0x35fdd0(0x1fd)]-_0x4c2bc0),!0x0);}[_0x562f1d(0x1e7)](_0x38d84d,_0x2422c6){const _0xd9b480=_0x562f1d;_0x38d84d[_0xd9b480(0x1f3)]();const _0x4702f3=G(_0x38d84d[_0xd9b480(0x1fa)]+this[_0xd9b480(0x1ee)],_0x2422c6[_0xd9b480(0x1fd)]);return!!_0x4702f3&&(this[_0xd9b480(0x1c8)](_0x2422c6,_0x2422c6[_0xd9b480(0x1fd)]+_0x4702f3,!0x1),!0x0);}[_0x562f1d(0x1d7)](_0x30c883){const _0x97844f=_0x562f1d,_0xe48751=this[_0x97844f(0x1b0)][_0x97844f(0x1d1)](_0x30c883);if(!_0xe48751||!_0xe48751[_0x97844f(0x1aa)]||!_0xe48751[_0x97844f(0x1b9)])return;const _0x58cd23=this[_0x97844f(0x204)](_0xe48751,_0xe48751[_0x97844f(0x1b9)]);this[_0x97844f(0x1c8)](_0x30c883,_0x58cd23);}[_0x562f1d(0x204)](_0x38c408,_0x122982){const _0x4d630c=_0x562f1d;if(null===_0x122982)return 0x0;if(_0x38c408[_0x4d630c(0x1aa)]instanceof _0x1586de)return _0x122982[_0x4d630c(0x1fd)];{const _0x3d8c9d=new _0x1586de(this[_0x4d630c(0x1db)][_0x4d630c(0x1ab)])[_0x4d630c(0x1fd)];return _0x122982[_0x4d630c(0x1fd)]-_0x3d8c9d;}}[_0x562f1d(0x1c8)](_0x31fab6,_0x3bb1e5,_0x329d29=this[_0x562f1d(0x1c0)][_0x562f1d(0x1b2)][_0x562f1d(0x1d1)](_0x562f1d(0x1b1))){const _0x1ee106=_0x562f1d;_0x329d29&&(_0x3bb1e5=Math[_0x1ee106(0x1cb)](_0x3bb1e5,this[_0x1ee106(0x1af)](_0x31fab6))),_0x31fab6[_0x1ee106(0x1fd)]=_0x3bb1e5;}[_0x562f1d(0x1af)](_0xdde71a){const _0x27e582=_0x562f1d;let _0xe1de90=this[_0x27e582(0x1e2)](_0xdde71a),_0x2fdebf=0x0;for(;_0xe1de90;)_0xe1de90[_0x27e582(0x1f3)](),_0x2fdebf+=this[_0x27e582(0x1ee)]+_0xe1de90[_0x27e582(0x1bb)],_0xe1de90=this[_0x27e582(0x1e2)](_0xe1de90);return _0x2fdebf;}}function G(_0x1679e5,_0x3961c3){const _0x3f2eae=_0x562f1d;return Math[_0x3f2eae(0x1cb)](_0x1679e5-_0x3961c3,0x0);}function g(_0x4b5a98){const _0x37421d=_0x562f1d;return null!==_0x4b5a98&&_0x37421d(0x1c9)==typeof _0x4b5a98&&0x1===_0x4b5a98[_0x37421d(0x1e9)];}
|
|
23
|
+
const _0xb35ced=_0x36ed;(function(_0x333f7d,_0x31c3b9){const _0x5a989b=_0x36ed,_0x30ce43=_0x333f7d();while(!![]){try{const _0x246341=-parseInt(_0x5a989b(0x118))/0x1*(parseInt(_0x5a989b(0x11c))/0x2)+parseInt(_0x5a989b(0x105))/0x3+-parseInt(_0x5a989b(0xd6))/0x4+parseInt(_0x5a989b(0xed))/0x5*(-parseInt(_0x5a989b(0xef))/0x6)+-parseInt(_0x5a989b(0x110))/0x7*(-parseInt(_0x5a989b(0xfa))/0x8)+-parseInt(_0x5a989b(0xcd))/0x9+parseInt(_0x5a989b(0x101))/0xa;if(_0x246341===_0x31c3b9)break;else _0x30ce43['push'](_0x30ce43['shift']());}catch(_0x1b3914){_0x30ce43['push'](_0x30ce43['shift']());}}}(_0x4639,0xed92d));function _0x36ed(_0x5cce2c,_0x45ea5a){const _0x463961=_0x4639();return _0x36ed=function(_0x36ed99,_0x13df48){_0x36ed99=_0x36ed99-0xc7;let _0x4ef66d=_0x463961[_0x36ed99];return _0x4ef66d;},_0x36ed(_0x5cce2c,_0x45ea5a);}import{ContextPlugin as _0x4d294d}from'ckeditor5/src/core.js';import{Rect as _0x5a5ca2,CKEditorError as _0xfc3708}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x23c630}from'./view/sidebarview.js';function _0x4639(){const _0x518f26=['set','change:_lastItem','39703870PZpiGF','stopListening','bottom','change:bottom','4169031GnfWYp','setContainer','target','sidebar-setcontainer-invalid-element','listenTo','add','refresh','Sidebar','targetRect','list','_detachFromContainer','14RsUXIN','delete','_lastItem','element','_activeAnnotation','isOfficialPlugin','minHeight','destroy','1604261pDCxVz','push','_annotationToSidebarItemView','last','2FbAXzG','isActive','length','_spaceBetweenItems','_annotations','clear','_alignAfterItem','object','getIndex','init','unbind','_setItemTop','11573226HfDNoh','_alignToTargetRect','_alignBeforeItem','_getItemBefore','_recalculate','updateHeight','content','height','config','3099380WgMXmB','change:top','_getItemAfter','getSidebarItemView','_createSidebarView','view','isPremiumPlugin','remove','_recalculateBuffer','container','bind','rearrange','_updateLastItem','class','_sidebarItemViewToAnnotation','appendChild','sidebar-attachtocontainer-missing-container','sidebar.container','top','_alignForBottomChange','get','_destroySidebarItemView','_attachToContainer','23995XQotyt','addAnnotation','2154sPVWHd','nodeType','_alignForTopChange','max','isAnimationDisabled','_getTargetTop','define','context','_targetTop','render','_getMaxAvailableTop','4003592CTkPyX','change:targetRect','locale','sidebar.preventScrollOutOfView','pluginName'];_0x4639=function(){return _0x518f26;};return _0x4639();}import{AnnotationsSidebarItemView as _0xb88623}from'./view/sidebaritemview.js';export class Sidebar extends _0x4d294d{[_0xb35ced(0xdb)];[_0xb35ced(0x114)];[_0xb35ced(0x120)];[_0xb35ced(0x11f)];[_0xb35ced(0xe4)];[_0xb35ced(0x11a)];[_0xb35ced(0xde)];static get[_0xb35ced(0xfe)](){const _0x15d313=_0xb35ced;return _0x15d313(0x10c);}static get[_0xb35ced(0x115)](){return!0x0;}static get[_0xb35ced(0xdc)](){return!0x0;}constructor(_0x5ef5f7){const _0x37f6af=_0xb35ced;super(_0x5ef5f7),this[_0x37f6af(0xff)](_0x37f6af(0x112),void 0x0),this[_0x37f6af(0xdb)]=this[_0x37f6af(0xda)](),this[_0x37f6af(0xff)](_0x37f6af(0xdf),null),this[_0x37f6af(0x11f)]=0x19,this[_0x37f6af(0xe4)]=new Map(),this[_0x37f6af(0x11a)]=new Map(),this[_0x37f6af(0xf6)][_0x37f6af(0xd5)][_0x37f6af(0xf5)](_0x37f6af(0xfd),!0x1),this[_0x37f6af(0x120)]=null,this[_0x37f6af(0x114)]=null,this[_0x37f6af(0xde)]=[];}[_0xb35ced(0xca)](){const _0x11aacc=_0xb35ced,_0xefb4ac=this[_0x11aacc(0xf6)][_0x11aacc(0xd5)][_0x11aacc(0xea)](_0x11aacc(0xe7));_0xefb4ac&&this[_0x11aacc(0x106)](_0xefb4ac);}[_0xb35ced(0x106)](_0x73e980){const _0xf179e8=_0xb35ced;if(!g(_0x73e980))throw new _0xfc3708(_0xf179e8(0x108));this[_0xf179e8(0xdf)]=_0x73e980;}[_0xb35ced(0xec)]({viewClass:_0x267a6c='',spaceBetweenItems:_0x3677ec=0x19}={}){const _0x1a41b2=_0xb35ced;if(!g(this[_0x1a41b2(0xdf)]))throw new _0xfc3708(_0x1a41b2(0xe6),this);this[_0x1a41b2(0xdf)][_0x1a41b2(0xe5)](this[_0x1a41b2(0xdb)][_0x1a41b2(0x113)]),this[_0x1a41b2(0xdb)][_0x1a41b2(0xe3)]=_0x267a6c,this[_0x1a41b2(0x11f)]=_0x3677ec;}[_0xb35ced(0xe1)]({removedAnnotation:_0x369b22,previousAnnotation:_0x99541f,nextAnnotation:_0x1a6001}){const _0x5280e5=_0xb35ced,_0x360ea6=this[_0x5280e5(0xd9)](_0x369b22);this[_0x5280e5(0xdb)][_0x5280e5(0x10e)][_0x5280e5(0xdd)](_0x360ea6),this[_0x5280e5(0xeb)](_0x369b22),_0x99541f&&this[_0x5280e5(0xce)](this[_0x5280e5(0xd9)](_0x99541f)),_0x1a6001&&this[_0x5280e5(0xce)](this[_0x5280e5(0xd9)](_0x1a6001)),this[_0x5280e5(0xe2)]();}[_0xb35ced(0x10b)]({blurredAnnotation:_0x54fd96,activatedAnnotation:_0xd847fc,disableAnimationOnActivatedAnnotation:_0x5e7936}){const _0x176266=_0xb35ced;if(this[_0x176266(0x114)]=_0xd847fc,_0x54fd96){_0x54fd96[_0x176266(0x11d)]=!0x1;const _0x2713d4=this[_0x176266(0xd9)](_0x54fd96);_0x2713d4&&_0x5e7936&&(_0x2713d4[_0x176266(0xf3)]=!0x1);}if(_0xd847fc){const _0x38b877=this[_0x176266(0xd9)](_0xd847fc);_0x38b877&&(_0xd847fc[_0x176266(0x11d)]=!0x0,_0x5e7936&&(_0x38b877[_0x176266(0xf3)]=!0x0,_0x38b877[_0x176266(0xe8)]+=0x1),this[_0x176266(0xce)](_0x38b877));}}[_0xb35ced(0x10f)](_0x2c93e3){const _0x4053f=_0xb35ced;if(this[_0x4053f(0xdb)][_0x4053f(0x113)][_0x4053f(0xdd)](),_0x2c93e3){for(const _0x5d8bd4 of _0x2c93e3)this[_0x4053f(0xeb)](_0x5d8bd4);}this[_0x4053f(0xdb)][_0x4053f(0x10e)][_0x4053f(0x121)](),this[_0x4053f(0xdb)][_0x4053f(0xe3)]='',this[_0x4053f(0x112)]=null;}[_0xb35ced(0xee)](_0x22fce5,_0x2572a4){const _0x24d6cd=_0xb35ced;_0x2572a4||(_0x2572a4=_0x22fce5[_0x24d6cd(0xdb)]);const _0x468bbc=new _0xb88623(this[_0x24d6cd(0xf6)][_0x24d6cd(0xfc)]);this[_0x24d6cd(0xe4)][_0x24d6cd(0xff)](_0x468bbc,_0x22fce5),this[_0x24d6cd(0x11a)][_0x24d6cd(0xff)](_0x22fce5,_0x468bbc),_0x468bbc[_0x24d6cd(0xd3)][_0x24d6cd(0x10a)](_0x2572a4),this[_0x24d6cd(0x109)](_0x22fce5[_0x24d6cd(0xdb)],_0x24d6cd(0xfb),(_0x2f2c3d,_0x513521,_0xd8b7ce)=>{const _0x29fc5b=_0x24d6cd,_0x176dad=this[_0x29fc5b(0xf4)](_0x22fce5,_0xd8b7ce);_0x468bbc[_0x29fc5b(0xf7)]!=_0x176dad&&(_0x468bbc[_0x29fc5b(0xf7)]=_0x176dad,this[_0x29fc5b(0xcc)](_0x468bbc,_0x176dad));}),this[_0x24d6cd(0x109)](_0x468bbc,_0x24d6cd(0xd7),()=>{const _0x1f0856=_0x24d6cd;this[_0x1f0856(0xd1)](_0x468bbc,_0x1f0856(0xe8));}),this[_0x24d6cd(0x109)](_0x468bbc,_0x24d6cd(0x104),()=>{const _0x240e78=_0x24d6cd;this[_0x240e78(0xd1)](_0x468bbc,_0x240e78(0x103));}),this[_0x24d6cd(0xce)](_0x468bbc);const _0x29061c=this[_0x24d6cd(0xd0)](_0x468bbc);if(_0x29061c)this[_0x24d6cd(0xc7)](_0x29061c,_0x468bbc)||this[_0x24d6cd(0xce)](_0x468bbc);else this[_0x24d6cd(0xce)](_0x468bbc);return this[_0x24d6cd(0xe2)](),this[_0x24d6cd(0xdb)][_0x24d6cd(0x10e)][_0x24d6cd(0x10a)](_0x468bbc),_0x468bbc;}[_0xb35ced(0xf1)](_0x4471d5){const _0x1b3c2f=_0xb35ced;if(!_0x4471d5[_0x1b3c2f(0xd3)][_0x1b3c2f(0x11e)])return;const _0x28eff8=this[_0x1b3c2f(0xd0)](_0x4471d5);if(!_0x28eff8)return;const _0x1e0300=this[_0x1b3c2f(0xe4)][_0x1b3c2f(0xea)](_0x28eff8),_0x4b30ef=this[_0x1b3c2f(0x114)];_0x4b30ef&&_0x4b30ef===_0x1e0300?this[_0x1b3c2f(0xc7)](_0x28eff8,_0x4471d5):this[_0x1b3c2f(0xcf)](_0x4471d5,_0x28eff8);}[_0xb35ced(0xe9)](_0x2ce9ca){const _0x80d3dd=_0xb35ced;if(!_0x2ce9ca[_0x80d3dd(0xd3)][_0x80d3dd(0x11e)])return;const _0xdd81d6=this[_0x80d3dd(0xd8)](_0x2ce9ca);if(!_0xdd81d6)return;const _0x3f7bcd=this[_0x80d3dd(0xe4)][_0x80d3dd(0xea)](_0xdd81d6),_0x12e7aa=this[_0x80d3dd(0xf6)][_0x80d3dd(0xd5)][_0x80d3dd(0xea)](_0x80d3dd(0xfd)),_0x30a277=this[_0x80d3dd(0x114)];_0x30a277&&_0x30a277===_0x3f7bcd&&_0x12e7aa?(this[_0x80d3dd(0xcf)](_0xdd81d6,_0x2ce9ca),this[_0x80d3dd(0xc7)](_0x2ce9ca,_0xdd81d6)):_0x30a277&&_0x30a277===_0x3f7bcd?this[_0x80d3dd(0xcf)](_0xdd81d6,_0x2ce9ca):this[_0x80d3dd(0xc7)](_0x2ce9ca,_0xdd81d6);}[_0xb35ced(0xd1)](_0x46007c,_0x3d4b1d){const _0x4e4657=_0xb35ced;0x0===this[_0x4e4657(0xde)][_0x4e4657(0x11e)]&&setTimeout(()=>{const _0xf9024a=_0x4e4657;for(const {sidebarItemView:_0x44c3d5,changedProp:_0x5c53b8}of this[_0xf9024a(0xde)])_0xf9024a(0xe8)===_0x5c53b8?this[_0xf9024a(0xf1)](_0x44c3d5):this[_0xf9024a(0xe9)](_0x44c3d5);this[_0xf9024a(0xde)]=[];},0xa),this[_0x4e4657(0xde)][_0x4e4657(0x119)]({'sidebarItemView':_0x46007c,'changedProp':_0x3d4b1d});}[_0xb35ced(0xd9)](_0x1619b9){const _0x55bc01=_0xb35ced;return this[_0x55bc01(0x11a)][_0x55bc01(0xea)](_0x1619b9);}[_0xb35ced(0x117)](){const _0x23db9e=_0xb35ced;this[_0x23db9e(0x102)](),this[_0x23db9e(0xdb)][_0x23db9e(0x117)]();}[_0xb35ced(0xeb)](_0xa1f722){const _0x4c35e7=_0xb35ced,_0x5cdc12=this[_0x4c35e7(0xd9)](_0xa1f722);this[_0x4c35e7(0x102)](_0x5cdc12),this[_0x4c35e7(0x102)](_0xa1f722[_0x4c35e7(0xdb)]),_0x5cdc12[_0x4c35e7(0x117)](),this[_0x4c35e7(0x11a)][_0x4c35e7(0x111)](_0xa1f722),this[_0x4c35e7(0xe4)][_0x4c35e7(0x111)](_0x5cdc12);}[_0xb35ced(0xda)](){const _0x5bf4ee=_0xb35ced,_0x2785db=new _0x23c630(this[_0x5bf4ee(0xf6)][_0x5bf4ee(0xfc)]);return _0x2785db[_0x5bf4ee(0xf8)](),this['on'](_0x5bf4ee(0x100),(_0x5f3116,_0x4c6426,_0x5eb1c5,_0x7b7a0c)=>{const _0x1e566f=_0x5bf4ee;_0x7b7a0c&&_0x2785db[_0x1e566f(0xcb)](_0x1e566f(0x116)),_0x5eb1c5?_0x2785db[_0x1e566f(0xe0)](_0x1e566f(0x116))['to'](_0x5eb1c5,_0x1e566f(0x103)):_0x2785db[_0x1e566f(0x116)]=null;}),_0x2785db;}[_0xb35ced(0xe2)](){const _0x5c867c=_0xb35ced;this[_0x5c867c(0x112)]=this[_0x5c867c(0x120)]?.[_0x5c867c(0x11b)]?this[_0x5c867c(0xd9)](this[_0x5c867c(0x120)][_0x5c867c(0x11b)]):null;}[_0xb35ced(0xd0)](_0x5629db){const _0x126ce7=_0xb35ced,_0x5a11d9=this[_0x126ce7(0xe4)][_0x126ce7(0xea)](_0x5629db),_0x558f80=_0x5a11d9&&this[_0x126ce7(0x120)]?.[_0x126ce7(0xea)](this[_0x126ce7(0x120)][_0x126ce7(0xc9)](_0x5a11d9)-0x1);return _0x558f80&&this[_0x126ce7(0xd9)](_0x558f80)||null;}[_0xb35ced(0xd8)](_0x3d32c3){const _0x19108d=_0xb35ced,_0x1ea901=this[_0x19108d(0xe4)][_0x19108d(0xea)](_0x3d32c3),_0x5c0ece=_0x1ea901&&this[_0x19108d(0x120)]?.[_0x19108d(0xea)](this[_0x19108d(0x120)][_0x19108d(0xc9)](_0x1ea901)+0x1);return _0x5c0ece&&this[_0x19108d(0xd9)](_0x5c0ece)||null;}[_0xb35ced(0xcf)](_0x5aa78e,_0x2feed6){const _0x20314c=_0xb35ced;_0x5aa78e[_0x20314c(0xd2)]();const _0x35bbc9=G(_0x2feed6[_0x20314c(0x103)]+this[_0x20314c(0x11f)],_0x5aa78e[_0x20314c(0xe8)]);return!!_0x35bbc9&&(this[_0x20314c(0xcc)](_0x2feed6,_0x2feed6[_0x20314c(0xe8)]-_0x35bbc9),!0x0);}[_0xb35ced(0xc7)](_0x5a49a2,_0x5cbb9e){const _0x1af17d=_0xb35ced;_0x5a49a2[_0x1af17d(0xd2)]();const _0x342399=G(_0x5a49a2[_0x1af17d(0x103)]+this[_0x1af17d(0x11f)],_0x5cbb9e[_0x1af17d(0xe8)]);return!!_0x342399&&(this[_0x1af17d(0xcc)](_0x5cbb9e,_0x5cbb9e[_0x1af17d(0xe8)]+_0x342399,!0x1),!0x0);}[_0xb35ced(0xce)](_0x15959c){const _0x1006be=_0xb35ced,_0x223a20=this[_0x1006be(0xe4)][_0x1006be(0xea)](_0x15959c);if(!_0x223a20||!_0x223a20[_0x1006be(0x107)]||!_0x223a20[_0x1006be(0x10d)])return;const _0x4166f6=this[_0x1006be(0xf4)](_0x223a20,_0x223a20[_0x1006be(0x10d)]);this[_0x1006be(0xcc)](_0x15959c,_0x4166f6);}[_0xb35ced(0xf4)](_0x542b83,_0x41d3cd){const _0x14d99b=_0xb35ced;if(null===_0x41d3cd)return 0x0;if(_0x542b83[_0x14d99b(0x107)]instanceof _0x5a5ca2)return _0x41d3cd[_0x14d99b(0xe8)];{const _0x230e45=new _0x5a5ca2(this[_0x14d99b(0xdb)][_0x14d99b(0x113)])[_0x14d99b(0xe8)];return _0x41d3cd[_0x14d99b(0xe8)]-_0x230e45;}}[_0xb35ced(0xcc)](_0x1f0090,_0x11f75c,_0x1d23d6=this[_0xb35ced(0xf6)][_0xb35ced(0xd5)][_0xb35ced(0xea)](_0xb35ced(0xfd))){const _0x3e3590=_0xb35ced;_0x1d23d6&&(_0x11f75c=Math[_0x3e3590(0xf2)](_0x11f75c,this[_0x3e3590(0xf9)](_0x1f0090))),_0x1f0090[_0x3e3590(0xe8)]=_0x11f75c;}[_0xb35ced(0xf9)](_0x4d7f21){const _0x5663c3=_0xb35ced;let _0x3de6ec=this[_0x5663c3(0xd0)](_0x4d7f21),_0x1736dd=0x0;for(;_0x3de6ec;)_0x3de6ec[_0x5663c3(0xd2)](),_0x1736dd+=this[_0x5663c3(0x11f)]+_0x3de6ec[_0x5663c3(0xd4)],_0x3de6ec=this[_0x5663c3(0xd0)](_0x3de6ec);return _0x1736dd;}}function G(_0x1760da,_0x547fa4){const _0x26997d=_0xb35ced;return Math[_0x26997d(0xf2)](_0x1760da-_0x547fa4,0x0);}function g(_0x114ba7){const _0x320b77=_0xb35ced;return null!==_0x114ba7&&_0x320b77(0xc8)==typeof _0x114ba7&&0x1===_0x114ba7[_0x320b77(0xf0)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20f517=_0x3865;(function(_0x192785,_0x7e88b9){const _0x8211ba=_0x3865,_0x5e5a0e=_0x192785();while(!![]){try{const _0x5a2e0d=parseInt(_0x8211ba(0x182))/0x1+-parseInt(_0x8211ba(0x17b))/0x2+-parseInt(_0x8211ba(0x18d))/0x3*(-parseInt(_0x8211ba(0x184))/0x4)+-parseInt(_0x8211ba(0x18e))/0x5*(parseInt(_0x8211ba(0x178))/0x6)+-parseInt(_0x8211ba(0x192))/0x7*(parseInt(_0x8211ba(0x190))/0x8)+-parseInt(_0x8211ba(0x18f))/0x9+parseInt(_0x8211ba(0x18a))/0xa*(parseInt(_0x8211ba(0x185))/0xb);if(_0x5a2e0d===_0x7e88b9)break;else _0x5e5a0e['push'](_0x5e5a0e['shift']());}catch(_0x345fd9){_0x5e5a0e['push'](_0x5e5a0e['shift']());}}}(_0x2a02,0x9c9b1));function _0x3865(_0x53ead8,_0x506a29){const _0x2a0245=_0x2a02();return _0x3865=function(_0x3865aa,_0x1caccf){_0x3865aa=_0x3865aa-0x177;let _0x2524dd=_0x2a0245[_0x3865aa];return _0x2524dd;},_0x3865(_0x53ead8,_0x506a29);}import{ButtonView as _0x5d56ae,View as _0x1bbe9c}from'ckeditor5/src/ui.js';import{IconAddComment as _0x4c3edf}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x5d56ae{[_0x20f517(0x17a)];constructor(_0x4fd2fa){const _0xdafeec=_0x20f517;super(_0x4fd2fa);const _0x5bb6f7=this[_0xdafeec(0x18b)];this[_0xdafeec(0x183)](_0xdafeec(0x17e),!0x1),this[_0xdafeec(0x183)](_0xdafeec(0x187),0x0),this[_0xdafeec(0x189)](_0xdafeec(0x193))['to'](this,_0xdafeec(0x17e),this,_0xdafeec(0x187),(_0x20080e,_0x3aa525)=>_0x20080e?_0xdafeec(0x17f):_0x3aa525[_0xdafeec(0x17d)]()),this[_0xdafeec(0x183)](_0xdafeec(0x194),''),this[_0xdafeec(0x188)]=_0x4c3edf,this[_0xdafeec(0x186)]({'attributes':{'class':[_0xdafeec(0x191)]}}),this[_0xdafeec(0x17a)]=new _0x1bbe9c(),this[_0xdafeec(0x17a)][_0xdafeec(0x179)]({'tag':_0xdafeec(0x180),'attributes':{'class':[_0xdafeec(0x18c),_0x5bb6f7['to'](_0xdafeec(0x194),_0x5939f1=>_0xdafeec(0x17c)+_0x5939f1),_0x5bb6f7['if'](_0xdafeec(0x17e),_0xdafeec(0x195))]},'children':[{'text':_0x5bb6f7['to'](_0xdafeec(0x193))}]}),this[_0xdafeec(0x177)][_0xdafeec(0x181)](this[_0xdafeec(0x17a)]);}}function _0x2a02(){const _0x1effba=['3718576Wxdjjc','ck-annotation-counter','14AFFVNN','_badge','annotationType','ck-annotation-counter__badge--edit-mode','children','21972GRtPCK','setTemplate','counterView','1054092QPkkSX','ck-annotation-counter__badge--','toString','isDirty','...','span','add','1200343qMVPLy','set','428348KqsHAa','11bjgGcH','extendTemplate','number','icon','bind','22888010DwcupH','bindTemplate','ck-annotation-counter__badge','12NSWvaU','1450KwHbOU','6816285DXTYHd'];_0x2a02=function(){return _0x1effba;};return _0x2a02();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x522983=_0x3d7e;function _0x568a(){const _0x5701aa=['arrowup','set','clientHeight','createCollection','isDirty','length','add','targetRect','height','_updateHeight','mainView','2JSxOfT','destroy','bindTemplate','element','clear','fire','11844243TTtNsJ','ck-annotation-wrapper--active','setTemplate','4521314GrwANj','arrowdown','focus','content','_mutationObserver','presentation','focusTracker','keystrokes','12546750tjgrbh','detach','attach','180ztVHVv','render','first','Esc','2148174uqMGvW','listenTo','732051ZFDPTz','div','ck-rounded-corners','1315059fWHiKX','ck-annotation-wrapper','type','isActive','8eJGeGd','81388hNthYn','delegate'];_0x568a=function(){return _0x5701aa;};return _0x568a();}(function(_0x20b510,_0x248e86){const _0x2ba8dc=_0x3d7e,_0x1bdd39=_0x20b510();while(!![]){try{const _0x423d05=-parseInt(_0x2ba8dc(0x1ef))/0x1+parseInt(_0x2ba8dc(0x1d5))/0x2*(parseInt(_0x2ba8dc(0x1f2))/0x3)+-parseInt(_0x2ba8dc(0x1f7))/0x4*(-parseInt(_0x2ba8dc(0x1e9))/0x5)+-parseInt(_0x2ba8dc(0x1ed))/0x6+parseInt(_0x2ba8dc(0x1de))/0x7+-parseInt(_0x2ba8dc(0x1f6))/0x8*(parseInt(_0x2ba8dc(0x1db))/0x9)+parseInt(_0x2ba8dc(0x1e6))/0xa;if(_0x423d05===_0x248e86)break;else _0x1bdd39['push'](_0x1bdd39['shift']());}catch(_0x209b4b){_0x1bdd39['push'](_0x1bdd39['shift']());}}}(_0x568a,0xa26e3));import{View as _0x109e97}from'ckeditor5/src/ui.js';function _0x3d7e(_0x43b983,_0xef843b){const _0x568ada=_0x568a();return _0x3d7e=function(_0x3d7e24,_0x54f049){_0x3d7e24=_0x3d7e24-0x1cb;let _0x9b36cd=_0x568ada[_0x3d7e24];return _0x9b36cd;},_0x3d7e(_0x43b983,_0xef843b);}import{FocusTracker as _0x1d6fc6,KeystrokeHandler as _0x4c777a,uid as _0x54a921}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x3fd926}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x109e97{[_0x522983(0x1e4)];['id'];[_0x522983(0x1e5)];[_0x522983(0x1e1)];[_0x522983(0x1d4)];[_0x522983(0x1e2)];constructor(_0x43a3d7,_0xa81e74){const _0x25f84f=_0x522983;super(_0x43a3d7),this['id']=_0x54a921(),this[_0x25f84f(0x1e4)]=new _0x1d6fc6(),this[_0x25f84f(0x1e5)]=new _0x4c777a(),this[_0x25f84f(0x1e5)][_0x25f84f(0x1cb)](_0x25f84f(0x1ec),(_0x2fac05,_0x5132cb)=>this[_0x25f84f(0x1da)](_0x25f84f(0x1ec),_0x5132cb)),this[_0x25f84f(0x1cb)](_0x25f84f(0x1d1),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x25f84f(0x1cb)](_0x25f84f(0x1d2),0x0),this[_0x25f84f(0x1cb)](_0x25f84f(0x1f5),!0x1),this[_0x25f84f(0x1cb)](_0x25f84f(0x1ce),!0x1),this[_0x25f84f(0x1cb)](_0x25f84f(0x1cf),0x0),this[_0x25f84f(0x1cb)](_0x25f84f(0x1f4),''),this[_0x25f84f(0x1e2)]=_0x3fd926(()=>this[_0x25f84f(0x1d3)]()),this[_0x25f84f(0x1e1)]=this[_0x25f84f(0x1cd)](),this[_0x25f84f(0x1e1)][_0x25f84f(0x1f8)](_0x25f84f(0x1f9),_0x25f84f(0x1df))['to'](this),this[_0x25f84f(0x1e1)][_0x25f84f(0x1d0)](_0xa81e74),this[_0x25f84f(0x1d4)]=_0xa81e74;const _0x106910=this[_0x25f84f(0x1d7)];this[_0x25f84f(0x1dd)]({'tag':_0x25f84f(0x1f0),'attributes':{'class':['ck',_0x25f84f(0x1f3),_0x25f84f(0x1f1),_0x106910['if'](_0x25f84f(0x1f5),_0x25f84f(0x1dc))],'role':_0x25f84f(0x1e3)},'children':this[_0x25f84f(0x1e1)]});}[_0x522983(0x1ea)](){const _0x5258da=_0x522983;super[_0x5258da(0x1ea)](),this[_0x5258da(0x1e4)][_0x5258da(0x1d0)](this[_0x5258da(0x1d8)]),this[_0x5258da(0x1e5)][_0x5258da(0x1ee)](this[_0x5258da(0x1d8)]),this[_0x5258da(0x1e2)][_0x5258da(0x1e8)](this[_0x5258da(0x1d8)]);}[_0x522983(0x1d6)](){const _0x4d57b9=_0x522983;this[_0x4d57b9(0x1e1)][_0x4d57b9(0x1d9)](),this[_0x4d57b9(0x1e5)][_0x4d57b9(0x1d6)](),this[_0x4d57b9(0x1e4)][_0x4d57b9(0x1d6)](),this[_0x4d57b9(0x1e2)][_0x4d57b9(0x1e7)](),super[_0x4d57b9(0x1d6)]();}[_0x522983(0x1e0)](){const _0x34ce58=_0x522983;this[_0x34ce58(0x1e1)][_0x34ce58(0x1eb)]&&this[_0x34ce58(0x1e1)][_0x34ce58(0x1eb)][_0x34ce58(0x1e0)]();}[_0x522983(0x1d3)](){const _0x6b1c2c=_0x522983,_0x2f2aa4=this[_0x6b1c2c(0x1d8)][_0x6b1c2c(0x1cc)];_0x2f2aa4&&(this[_0x6b1c2c(0x1d2)]=_0x2f2aa4);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x26c794=_0x2e50;function _0x2e50(_0x46ce66,_0x109c50){const _0xb591ef=_0xb591();return _0x2e50=function(_0x2e500f,_0x2c1c07){_0x2e500f=_0x2e500f-0x8e;let _0x104f34=_0xb591ef[_0x2e500f];return _0x104f34;},_0x2e50(_0x46ce66,_0x109c50);}(function(_0x18ef6c,_0x4ba7a8){const _0x1c6bfd=_0x2e50,_0x3b7d5b=_0x18ef6c();while(!![]){try{const _0x4f8f54=-parseInt(_0x1c6bfd(0x96))/0x1+-parseInt(_0x1c6bfd(0x92))/0x2+-parseInt(_0x1c6bfd(0x9d))/0x3+-parseInt(_0x1c6bfd(0x8e))/0x4*(-parseInt(_0x1c6bfd(0x93))/0x5)+-parseInt(_0x1c6bfd(0xa5))/0x6*(parseInt(_0x1c6bfd(0x9c))/0x7)+-parseInt(_0x1c6bfd(0x99))/0x8+-parseInt(_0x1c6bfd(0xa9))/0x9*(-parseInt(_0x1c6bfd(0xb3))/0xa);if(_0x4f8f54===_0x4ba7a8)break;else _0x3b7d5b['push'](_0x3b7d5b['shift']());}catch(_0x3d0c1a){_0x3b7d5b['push'](_0x3b7d5b['shift']());}}}(_0xb591,0xdf815));import{View as _0x11eff}from'ckeditor5/src/ui.js';import{toUnit as _0x143841}from'ckeditor5/src/utils.js';import{createMutationObserver as _0xf5751f}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x143841('px');function _0xb591(){const _0x6b78ef=['createCollection','bind','height','776646aLjXQT','element','arrowdown','destroy','attach','updateHeight','set','ck-sidebar-item','focus','div','560PExIBU','clear','4CPPKyy','detach','content','_targetTop','1991464tkxZHs','3558265HdbniH','delegate','isAnimationDisabled','353117cEiIJM','render','bindTemplate','9356840BYOleW','ck-sidebar-item--no-animation','first','7ZBaejf','2545251iAiWsC','_mutationObserver','setTemplate','top','clientHeight','bottom','arrowup','presentation','7570614YvFHqy'];_0xb591=function(){return _0x6b78ef;};return _0xb591();}export class AnnotationsSidebarItemView extends _0x11eff{[_0x26c794(0x90)];[_0x26c794(0x91)];[_0x26c794(0x9e)];constructor(_0x50083b){const _0x34644c=_0x26c794;super(_0x50083b),this[_0x34644c(0xaf)](_0x34644c(0xa0),0x0),this[_0x34644c(0xaf)](_0x34644c(0xa8),0x0),this[_0x34644c(0xa7)](_0x34644c(0xa2))['to'](this,_0x34644c(0xa0),this,_0x34644c(0xa8),(_0x9ec624,_0x149406)=>_0x9ec624+_0x149406),this[_0x34644c(0xaf)](_0x34644c(0x95),!0x1),this[_0x34644c(0x9e)]=_0xf5751f(()=>this[_0x34644c(0xae)]()),this[_0x34644c(0x91)]=null,this[_0x34644c(0x90)]=this[_0x34644c(0xa6)](),this[_0x34644c(0x90)][_0x34644c(0x94)](_0x34644c(0xa3),_0x34644c(0xab))['to'](this);const _0x10a3e9=this[_0x34644c(0x98)];this[_0x34644c(0x9f)]({'tag':_0x34644c(0xb2),'attributes':{'class':[_0x34644c(0xb0),_0x10a3e9['to'](_0x34644c(0x95),_0x6cec0f=>_0x6cec0f?_0x34644c(0x9a):'')],'style':{'top':_0x10a3e9['to'](_0x34644c(0xa0),_0x75ea20=>Ot(_0x75ea20))},'role':_0x34644c(0xa4)},'children':this[_0x34644c(0x90)]});}[_0x26c794(0x97)](){const _0x32592a=_0x26c794;super[_0x32592a(0x97)](),this[_0x32592a(0x9e)][_0x32592a(0xad)](this[_0x32592a(0xaa)]);}[_0x26c794(0xb1)](){const _0xbd889b=_0x26c794;this[_0xbd889b(0x90)][_0xbd889b(0x9b)]&&this[_0xbd889b(0x90)][_0xbd889b(0x9b)][_0xbd889b(0xb1)]();}[_0x26c794(0xae)](){const _0x3dece2=_0x26c794,_0x311eb6=this[_0x3dece2(0xaa)][_0x3dece2(0xa1)];_0x311eb6&&(this[_0x3dece2(0xa8)]=_0x311eb6);}[_0x26c794(0xac)](){const _0x1dc5a5=_0x26c794;this[_0x1dc5a5(0x90)][_0x1dc5a5(0xb4)](),this[_0x1dc5a5(0x9e)][_0x1dc5a5(0x8f)](),super[_0x1dc5a5(0xac)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0xbd07(){const _0xd0d9f4=['list','minHeight','render','1482DPhqyj','226161KzNerW','Annotations\x20sidebar','change','top','length','526427PoOHzE','set','focusCycler','_setupKeyboardNavigation','uiLanguageDirection','focusPrevious','2409arsDFD','3404292EKBsAB','add','removed','change:top','focusTracker','arrowdown','focusNext','3107762ErGGTl','added','createCollection','focusFirst','bindTemplate','delegate','ck-sidebar','focusables','Annotations\x20list','remove','getIndex','ck-reset','element','focus','arrowup','number','class','568160tsVDbt','setTemplate','forEach','_updateItemPositionInFocusables','div','application','listenTo','40JOKvRy','4454540ydoaJm','source','20VIehIs'];_0xbd07=function(){return _0xd0d9f4;};return _0xbd07();}const _0x1285b9=_0x2c3c;(function(_0x258555,_0x1fb722){const _0x3f34d2=_0x2c3c,_0x38109b=_0x258555();while(!![]){try{const _0x327962=parseInt(_0x3f34d2(0x12a))/0x1+parseInt(_0x3f34d2(0x124))/0x2*(parseInt(_0x3f34d2(0x130))/0x3)+-parseInt(_0x3f34d2(0x149))/0x4*(-parseInt(_0x3f34d2(0x120))/0x5)+-parseInt(_0x3f34d2(0x131))/0x6+-parseInt(_0x3f34d2(0x138))/0x7+parseInt(_0x3f34d2(0x11d))/0x8*(parseInt(_0x3f34d2(0x125))/0x9)+-parseInt(_0x3f34d2(0x11e))/0xa;if(_0x327962===_0x1fb722)break;else _0x38109b['push'](_0x38109b['shift']());}catch(_0x5c5638){_0x38109b['push'](_0x38109b['shift']());}}}(_0xbd07,0x57835));import{View as _0x18282b,FocusCycler as _0x30cd53}from'ckeditor5/src/ui.js';function _0x2c3c(_0x1620b6,_0xa1d862){const _0xbd0784=_0xbd07();return _0x2c3c=function(_0x2c3cc0,_0x3687b2){_0x2c3cc0=_0x2c3cc0-0x119;let _0x51e6f0=_0xbd0784[_0x2c3cc0];return _0x51e6f0;},_0x2c3c(_0x1620b6,_0xa1d862);}import{FocusTracker as _0x36a334,toUnit as _0x31c32e}from'ckeditor5/src/utils.js';import{getTranslation as _0x45da97}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x31c32e('px');export class AnnotationsSidebarView extends _0x18282b{[_0x1285b9(0x121)];[_0x1285b9(0x13f)];[_0x1285b9(0x135)];[_0x1285b9(0x12c)];constructor(_0x347dfd){const _0x1283f9=_0x1285b9;super(_0x347dfd);const _0x2abd97=this[_0x1283f9(0x13c)];this[_0x1283f9(0x12b)](_0x1283f9(0x122),0x0),this[_0x1283f9(0x12b)](_0x1283f9(0x148),''),this[_0x1283f9(0x121)]=this[_0x1283f9(0x13a)](),this[_0x1283f9(0x13f)]=this[_0x1283f9(0x13a)](),this[_0x1283f9(0x121)][_0x1283f9(0x13d)](_0x1283f9(0x146),_0x1283f9(0x136))['to'](this),this[_0x1283f9(0x135)]=new _0x36a334(),this[_0x1283f9(0x12c)]=new _0x30cd53({'focusables':this[_0x1283f9(0x13f)],'focusTracker':this[_0x1283f9(0x135)]}),this[_0x1283f9(0x14a)]({'tag':_0x1283f9(0x11a),'attributes':{'class':['ck',_0x1283f9(0x13e),_0x1283f9(0x143),_0x2abd97['to'](_0x1283f9(0x148))],'style':{'minHeight':_0x2abd97['to'](_0x1283f9(0x122),_0x4d2b63=>_0x1283f9(0x147)==typeof _0x4d2b63?Ot(_0x4d2b63+0xa):null)},'dir':_0x347dfd[_0x1283f9(0x12e)],'role':_0x1283f9(0x11b),'aria-label':_0x45da97(_0x347dfd,_0x1283f9(0x126)),'tabindex':0x0},'children':[{'tag':_0x1283f9(0x11a),'attributes':{'role':_0x1283f9(0x121),'aria-label':_0x45da97(_0x347dfd,_0x1283f9(0x140))},'children':this[_0x1283f9(0x121)]}]});}[_0x1285b9(0x123)](){const _0x3949d3=_0x1285b9;super[_0x3949d3(0x123)](),this[_0x3949d3(0x12d)]();}[_0x1285b9(0x145)](){const _0x105854=_0x1285b9;this[_0x105854(0x12c)][_0x105854(0x13b)]();}[_0x1285b9(0x12d)](){const _0x30dcf2=_0x1285b9;this[_0x30dcf2(0x121)][_0x30dcf2(0x13d)](_0x30dcf2(0x134))['to'](this),this['on'](_0x30dcf2(0x134),_0x467410=>{const _0x27efc5=_0x30dcf2;this[_0x27efc5(0x119)](_0x467410[_0x27efc5(0x11f)]);}),this[_0x30dcf2(0x121)][_0x30dcf2(0x14b)](_0x49f397=>{const _0x14b2a2=_0x30dcf2;this[_0x14b2a2(0x135)][_0x14b2a2(0x132)](_0x49f397[_0x14b2a2(0x144)]),this[_0x14b2a2(0x119)](_0x49f397);}),this[_0x30dcf2(0x121)]['on'](_0x30dcf2(0x127),(_0x47bfd7,_0x4ce8aa)=>{const _0x409a1d=_0x30dcf2;for(const _0x43cdd4 of _0x4ce8aa[_0x409a1d(0x133)])this[_0x409a1d(0x135)][_0x409a1d(0x141)](_0x43cdd4[_0x409a1d(0x144)]),this[_0x409a1d(0x13f)][_0x409a1d(0x141)](_0x43cdd4);for(const _0x1cb5f4 of _0x4ce8aa[_0x409a1d(0x139)])this[_0x409a1d(0x135)][_0x409a1d(0x132)](_0x1cb5f4[_0x409a1d(0x144)]),this[_0x409a1d(0x119)](_0x1cb5f4);}),this['on'](_0x30dcf2(0x146),()=>{const _0x270137=_0x30dcf2;this[_0x270137(0x12c)][_0x270137(0x12f)]();}),this['on'](_0x30dcf2(0x136),()=>{const _0x16d28d=_0x30dcf2;this[_0x16d28d(0x12c)][_0x16d28d(0x137)]();}),this[_0x30dcf2(0x11c)](this[_0x30dcf2(0x144)],_0x30dcf2(0x145),()=>{const _0x440052=_0x30dcf2;this[_0x440052(0x145)]();});}[_0x1285b9(0x119)](_0x18f283){const _0x2b21b4=_0x1285b9,_0x335e01=this[_0x2b21b4(0x13f)][_0x2b21b4(0x142)](_0x18f283);let _0x1bdb82,_0x2747e0;for(const _0x42a25b of this[_0x2b21b4(0x13f)])if(_0x18f283[_0x2b21b4(0x128)]<_0x42a25b[_0x2b21b4(0x128)]){_0x1bdb82=_0x42a25b;break;}if(_0x2747e0=_0x1bdb82?this[_0x2b21b4(0x13f)][_0x2b21b4(0x142)](_0x1bdb82):this[_0x2b21b4(0x13f)][_0x2b21b4(0x129)],-0x1!==_0x335e01){if(_0x335e01===_0x2747e0-0x1)return;this[_0x2b21b4(0x13f)][_0x2b21b4(0x141)](_0x18f283),_0x2747e0=_0x1bdb82?this[_0x2b21b4(0x13f)][_0x2b21b4(0x142)](_0x1bdb82):this[_0x2b21b4(0x13f)][_0x2b21b4(0x129)];}this[_0x2b21b4(0x13f)][_0x2b21b4(0x132)](_0x18f283,_0x2747e0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5694c4=_0x5df8;(function(_0x740b3d,_0x2afab2){const _0x2a124a=_0x5df8,_0x44280a=_0x740b3d();while(!![]){try{const _0x4c6793=parseInt(_0x2a124a(0x203))/0x1*(-parseInt(_0x2a124a(0x1d6))/0x2)+parseInt(_0x2a124a(0x200))/0x3+parseInt(_0x2a124a(0x1fb))/0x4+-parseInt(_0x2a124a(0x1e3))/0x5*(-parseInt(_0x2a124a(0x1c7))/0x6)+parseInt(_0x2a124a(0x1ea))/0x7+-parseInt(_0x2a124a(0x1f3))/0x8+parseInt(_0x2a124a(0x1e4))/0x9*(-parseInt(_0x2a124a(0x1e5))/0xa);if(_0x4c6793===_0x2afab2)break;else _0x44280a['push'](_0x44280a['shift']());}catch(_0x2688b3){_0x44280a['push'](_0x44280a['shift']());}}}(_0x1fc6,0x85d2d));import{ContextPlugin as _0x3a3610,Context as _0xd10756}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x50dce9}from'./annotationsuis.js';function _0x1fc6(){const _0x44a6f2=['set','init','high','950DdRifG','482661dJEwxt','50FKdheF','isAttached','attach','isOfficialPlugin','uiUpdate','5863319tgsRFE','updateTargetRect','_detachFromContainer','refreshVisibility','addAnnotation','stop','plugins','resize','Annotations','4578976mDdVQS','_attachToContainer','_destroyEditorAnnotationsIntegration','requires','addEventListener','listenTo','ck-sidebar--wide','getOrderedSelectedAnnotations','1218920VcmuIW','widesidebar-attach-already-attached','refresh','change:container','remove','2255583jaSKyh','WideSidebar','_refreshPositioningDebounced','500155OiPssj','focus','isPremiumPlugin','_integrateWithEditorAnnotations','register','EditorAnnotations','rearrange','blur','get','container','removeEventListener','stopListening','15624cFvlQZ','context','switchTo','refreshPositioning','wideSidebar','annotations','_editorAnnotations','cancel','setActiveAnnotation','hasDomSelection','detach','_annotations','editors','add','off','4OSjmOl','destroy','widesidebar-detach-not-attached','ready','activeAnnotation','from','_activeAnnotation','has','pluginName','set:container'];_0x1fc6=function(){return _0x44a6f2;};return _0x1fc6();}import{Sidebar as _0x5c1843}from'./sidebar.js';import{CKEditorError as _0x59bf6a,Collection as _0x40d4bc}from'ckeditor5/src/utils.js';function _0x5df8(_0x14ad27,_0x262307){const _0x1fc652=_0x1fc6();return _0x5df8=function(_0x5df867,_0x3a6846){_0x5df867=_0x5df867-0x1be;let _0x2fb3a9=_0x1fc652[_0x5df867];return _0x2fb3a9;},_0x5df8(_0x14ad27,_0x262307);}import{debounce as _0x817371}from'es-toolkit/compat';export class WideSidebar extends _0x3a3610{[_0x5694c4(0x1e6)];[_0x5694c4(0x1cc)];[_0x5694c4(0x1cd)];[_0x5694c4(0x202)];static get[_0x5694c4(0x1f6)](){return[_0x5c1843,_0x50dce9];}static get[_0x5694c4(0x1de)](){const _0x4ee155=_0x5694c4;return _0x4ee155(0x201);}static get[_0x5694c4(0x1e8)](){return!0x0;}static get[_0x5694c4(0x205)](){return!0x0;}constructor(_0x158f7b){const _0x5d9ee4=_0x5694c4;super(_0x158f7b),this[_0x5d9ee4(0x1e6)]=!0x1,this[_0x5d9ee4(0x1e0)](_0x5d9ee4(0x1da),null),this[_0x5d9ee4(0x1cc)]=null,this[_0x5d9ee4(0x1cd)]=new _0x40d4bc(),this[_0x5d9ee4(0x202)]=_0x817371(()=>{const _0x55c698=_0x5d9ee4;_0x158f7b[_0x55c698(0x1f0)][_0x55c698(0x1c3)](_0x55c698(0x1f2))[_0x55c698(0x1ed)](),this[_0x55c698(0x1cc)][_0x55c698(0x1ca)]();},0xfa,{'leading':!0x1});}[_0x5694c4(0x1e1)](){const _0x225b84=_0x5694c4,_0x2a0e31=this[_0x225b84(0x1c8)][_0x225b84(0x1f0)][_0x225b84(0x1c3)](_0x50dce9),_0x2c5767=this[_0x225b84(0x1c8)][_0x225b84(0x1f0)][_0x225b84(0x1c3)](_0x5c1843);_0x2a0e31[_0x225b84(0x1bf)](_0x225b84(0x1cb),this),_0x2c5767[_0x225b84(0x1c4)]&&_0x2a0e31[_0x225b84(0x1c9)](_0x225b84(0x1cb));}[_0x5694c4(0x1cf)](_0x3e3271){const _0x33c661=_0x5694c4;if(_0x3e3271===this[_0x33c661(0x1da)])return;const _0x7381b4=this[_0x33c661(0x1c8)][_0x33c661(0x1f0)][_0x33c661(0x1c3)](_0x5c1843);_0x7381b4[_0x33c661(0x1dc)]=_0x3e3271;const _0x44ad79=this[_0x33c661(0x1da)];_0x7381b4[_0x33c661(0x1fd)]({'blurredAnnotation':_0x44ad79,'activatedAnnotation':_0x3e3271}),this[_0x33c661(0x1da)]=_0x3e3271;}[_0x5694c4(0x1e7)](_0x58f207){const _0x529572=_0x5694c4;this[_0x529572(0x1cc)]=_0x58f207;const _0x5a0172=this[_0x529572(0x1c8)][_0x529572(0x1f0)][_0x529572(0x1c3)](_0x5c1843);if(_0x5a0172[_0x529572(0x1d2)]=_0x58f207,this[_0x529572(0x1e6)])throw new _0x59bf6a(_0x529572(0x1fc),this);this[_0x529572(0x1e6)]=!0x0,this[_0x529572(0x1f8)](_0x5a0172,_0x529572(0x1df),()=>{const _0xd7d441=_0x529572;this[_0xd7d441(0x1d1)](),this[_0xd7d441(0x1f8)](_0x5a0172,_0xd7d441(0x1fe),_0x3d7c9d=>{const _0x4dd240=_0xd7d441;_0x3d7c9d[_0x4dd240(0x1d5)](),this[_0x4dd240(0x1e7)](_0x58f207);});}),_0x5a0172[_0x529572(0x1f4)]({'viewClass':_0x529572(0x1f9)});const _0x2d47a1=_0x35b4ac=>{const _0x3d60f0=_0x529572;_0x35b4ac[_0x3d60f0(0x1eb)](),_0x5a0172[_0x3d60f0(0x1ee)](_0x35b4ac);};for(const _0x9d9ebe of _0x58f207)_0x2d47a1(_0x9d9ebe);this[_0x529572(0x1f8)](_0x58f207,_0x529572(0x1d4),(_0x1b08fe,_0x5c8a18)=>{_0x2d47a1(_0x5c8a18);}),this[_0x529572(0x1f8)](_0x58f207,_0x529572(0x1ff),(_0x58f506,_0x9e7bce,_0x2b3492)=>{const _0xe996d6=_0x529572;_0x5a0172[_0xe996d6(0x1c1)]({'removedAnnotation':_0x9e7bce,'previousAnnotation':_0x58f207[_0xe996d6(0x1c3)](_0x2b3492-0x1),'nextAnnotation':_0x58f207[_0xe996d6(0x1c3)](_0x2b3492+0x1)}),_0x9e7bce===this[_0xe996d6(0x1da)]&&this[_0xe996d6(0x1cf)](null);},{'priority':_0x529572(0x1e2)}),this[_0x529572(0x1f8)](_0x58f207,_0x529572(0x204),(_0x4ceb2e,_0x26ad17)=>{const _0x520376=_0x529572;this[_0x520376(0x1cf)](_0x26ad17);}),this[_0x529572(0x1f8)](_0x58f207,_0x529572(0x1c2),()=>{const _0x4cf3ce=_0x529572;this[_0x4cf3ce(0x1cf)](null);});const _0x2abcb8=this[_0x529572(0x1c8)]instanceof _0xd10756?this[_0x529572(0x1c8)][_0x529572(0x1d3)]:new _0x40d4bc([this[_0x529572(0x1c8)]]);for(const _0x4e6b2d of _0x2abcb8)this[_0x529572(0x1be)](_0x4e6b2d);this[_0x529572(0x1f8)](_0x2abcb8,_0x529572(0x1d4),(_0x3387f7,_0x24032e)=>{const _0x3bf496=_0x529572;this[_0x3bf496(0x1f8)](_0x24032e,_0x3bf496(0x1d9),()=>{const _0x4129fd=_0x3bf496;this[_0x4129fd(0x1be)](_0x24032e);});}),this[_0x529572(0x1f8)](_0x2abcb8,_0x529572(0x1ff),(_0xa398de,_0x365f6a)=>{const _0x120808=_0x529572;_0x365f6a[_0x120808(0x1f0)][_0x120808(0x1dd)](_0x120808(0x1c0))&&this[_0x120808(0x1f5)](_0x365f6a[_0x120808(0x1f0)][_0x120808(0x1c3)](_0x120808(0x1c0)));}),window[_0x529572(0x1f7)](_0x529572(0x1f1),this[_0x529572(0x202)]),this[_0x529572(0x1c8)][_0x529572(0x1f0)][_0x529572(0x1c3)](_0x529572(0x1f2))[_0x529572(0x1ed)](),this[_0x529572(0x1cc)][_0x529572(0x1ca)]();}[_0x5694c4(0x1d1)](){const _0x55968f=_0x5694c4;if(!this[_0x55968f(0x1e6)])throw new _0x59bf6a(_0x55968f(0x1d8),this);this[_0x55968f(0x1cf)](null);const _0x3b3f3b=this[_0x55968f(0x1c8)][_0x55968f(0x1f0)][_0x55968f(0x1c3)](_0x5c1843);_0x3b3f3b[_0x55968f(0x1ec)](this[_0x55968f(0x1cc)]),this[_0x55968f(0x1c6)](_0x3b3f3b),this[_0x55968f(0x1c6)](this[_0x55968f(0x1cc)]),this[_0x55968f(0x1c8)]instanceof _0xd10756&&this[_0x55968f(0x1c6)](this[_0x55968f(0x1c8)][_0x55968f(0x1d3)]);for(const _0x5c2d3d of Array[_0x55968f(0x1db)](this[_0x55968f(0x1cd)]))this[_0x55968f(0x1f5)](_0x5c2d3d);window[_0x55968f(0x1c5)](_0x55968f(0x1f1),this[_0x55968f(0x202)]),this[_0x55968f(0x202)][_0x55968f(0x1ce)](),this[_0x55968f(0x1da)]=null,this[_0x55968f(0x1e6)]=!0x1,this[_0x55968f(0x1cc)]=null;}[_0x5694c4(0x1d7)](){const _0xea279e=_0x5694c4;this[_0xea279e(0x1e6)]&&this[_0xea279e(0x1d1)]();}[_0x5694c4(0x1be)](_0x1ec8bf){const _0x3d70ac=_0x5694c4;if(!_0x1ec8bf[_0x3d70ac(0x1f0)][_0x3d70ac(0x1dd)](_0x3d70ac(0x1c0)))return;const _0x3f3195=_0x1ec8bf[_0x3d70ac(0x1f0)][_0x3d70ac(0x1c3)](_0x3d70ac(0x1c0)),_0x1252d8=()=>{const _0x5d13b2=_0x3d70ac,_0x3f212a=_0x3f3195[_0x5d13b2(0x1fa)]({'annotations':this[_0x5d13b2(0x1cc)],'activeAnnotation':this[_0x5d13b2(0x1da)]});this[_0x5d13b2(0x1cf)](_0x3f212a[0x0]||null);};this[_0x3d70ac(0x1f8)](_0x3f3195,_0x3d70ac(0x1fd),_0x1252d8),this[_0x3d70ac(0x1f8)](_0x3f3195,_0x3d70ac(0x1c2),(_0x1ed9fe,{isAnnotationTracked:_0x17b48e})=>{const _0x13a2de=_0x3d70ac;this[_0x13a2de(0x1da)]&&_0x17b48e(this[_0x13a2de(0x1da)])&&this[_0x13a2de(0x1cf)](null);}),this[_0x3d70ac(0x1f8)](_0x3f3195,_0x3d70ac(0x1e9),()=>{const _0x27f8d9=_0x3d70ac;this[_0x27f8d9(0x202)]();}),this[_0x3d70ac(0x1f8)](this[_0x3d70ac(0x1cc)],_0x3d70ac(0x1c2),_0x3bf2b2=>{const _0x566456=_0x3d70ac;_0x3f3195[_0x566456(0x1d0)]()&&(_0x1252d8(),_0x3bf2b2[_0x566456(0x1ef)]());},{'priority':_0x3d70ac(0x1e2)}),this[_0x3d70ac(0x1cd)][_0x3d70ac(0x1d4)](_0x3f3195);}[_0x5694c4(0x1f5)](_0x33df4d){const _0x50126b=_0x5694c4;this[_0x50126b(0x1c6)](_0x33df4d),this[_0x50126b(0x1cd)][_0x50126b(0x1ff)](_0x33df4d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x298f66=_0x4d3d;(function(_0x1b39e7,_0x123127){const _0x44aea1=_0x4d3d,_0x4d4cc0=_0x1b39e7();while(!![]){try{const _0x1b8619=-parseInt(_0x44aea1(0x101))/0x1+-parseInt(_0x44aea1(0xde))/0x2+parseInt(_0x44aea1(0xea))/0x3*(parseInt(_0x44aea1(0x112))/0x4)+parseInt(_0x44aea1(0xec))/0x5+-parseInt(_0x44aea1(0x106))/0x6*(-parseInt(_0x44aea1(0xf4))/0x7)+-parseInt(_0x44aea1(0xf5))/0x8+-parseInt(_0x44aea1(0x107))/0x9*(-parseInt(_0x44aea1(0x100))/0xa);if(_0x1b8619===_0x123127)break;else _0x4d4cc0['push'](_0x4d4cc0['shift']());}catch(_0x6a61d9){_0x4d4cc0['push'](_0x4d4cc0['shift']());}}}(_0x20af,0xee102));import{Command as _0x3c1a6d}from'ckeditor5/src/core.js';import{uid as _0x4d0afb,CKEditorError as _0x599b32}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x3c1a6d{constructor(_0x214f80){const _0x195206=_0x4d3d;super(_0x214f80),this[_0x195206(0x105)](_0x195206(0x10c),!0x1);}[_0x298f66(0x10b)](){const _0x3d1c03=_0x298f66,_0x448474=this[_0x3d1c03(0xed)][_0x3d1c03(0xe3)][_0x3d1c03(0xe7)][_0x3d1c03(0xe4)];this[_0x3d1c03(0xf0)]=!0x0,this[_0x3d1c03(0x10c)]=!0x1;for(const _0x47225c of _0x448474[_0x3d1c03(0xe5)]())if(this[_0x3d1c03(0xf6)](_0x47225c))return void(this[_0x3d1c03(0x10c)]=!0x0);}[_0x298f66(0xe9)]({threadId:_0x65c486=_0x4d0afb(),ranges:_0x2d4206,comment:_0x305daa}={}){const _0x2178b6=_0x298f66,_0x28e938=this[_0x2178b6(0xed)][_0x2178b6(0xe3)],_0x37c71e=_0x2d4206??Array[_0x2178b6(0x10f)](_0x28e938[_0x2178b6(0xe7)][_0x2178b6(0xe4)][_0x2178b6(0xe5)]()),_0x3a5fd=[];for(const _0x2198c9 of _0x37c71e)this[_0x2178b6(0xf6)](_0x2198c9)&&_0x3a5fd[_0x2178b6(0xf8)](this[_0x2178b6(0x111)](_0x2198c9));if(!_0x3a5fd[_0x2178b6(0xfe)])throw new _0x599b32(_0x2178b6(0x10a),null);_0x305daa&&this[_0x2178b6(0xfb)](_0x65c486,_0x305daa),this[_0x2178b6(0x104)](_0x65c486,_0x3a5fd,!!_0x305daa);}[_0x298f66(0x104)](_0x2c8ab1,_0x20c6b0,_0x2d1cc6){const _0x4e60d7=_0x298f66;this[_0x4e60d7(0xed)][_0x4e60d7(0xe3)][_0x4e60d7(0xfd)](_0xb2d33a=>{const _0x499374=_0x4e60d7;for(const _0x1d14bd of _0x20c6b0){const _0x140890=_0x4d0afb()[_0x499374(0x10e)](0x1,0x5),_0x54f15e=_0x499374(0xf7)+_0x2c8ab1+':'+_0x140890;_0xb2d33a[_0x499374(0xf9)](_0x54f15e,{'range':_0x1d14bd,'usingOperation':_0x2d1cc6,'affectsData':_0x2d1cc6});}});}[_0x298f66(0xfb)](_0x2e2b5a,_0x1836ca){const _0x15b80d=_0x298f66,_0xb1a5bb=this[_0x15b80d(0xed)][_0x15b80d(0xe6)][_0x15b80d(0xe1)](_0x15b80d(0xe0)),_0x3d36a9=this[_0x15b80d(0xed)][_0x15b80d(0xee)][_0x15b80d(0xe1)](_0x15b80d(0x109)),_0x585e28=this[_0x15b80d(0xed)][_0x15b80d(0xe6)][_0x15b80d(0xe1)](_0x15b80d(0xfc))['me'];if(!_0x585e28)throw new _0x599b32(_0x15b80d(0xff),null);_0xb1a5bb[_0x15b80d(0xef)]({'threadId':_0x2e2b5a,'channelId':_0x3d36a9,'comments':[{'authorId':_0x585e28['id'],'content':_0x1836ca,'createdAt':new Date(),'attributes':{}}]});}[_0x298f66(0xf6)](_0x51e2e1){const _0x5767b9=_0x298f66;for(const _0x43250d of _0x51e2e1[_0x5767b9(0xe8)]())if(this[_0x5767b9(0xf3)](_0x43250d))return!0x0;return!0x1;}[_0x298f66(0xf3)](_0x286bf3){const _0x182207=_0x298f66;return _0x286bf3['is'](_0x182207(0x108))||this[_0x182207(0xed)][_0x182207(0xe3)][_0x182207(0xfa)][_0x182207(0x110)](_0x286bf3)&&!_0x286bf3['is'](_0x182207(0xf1),_0x182207(0x102));}[_0x298f66(0x111)](_0x3b0c59){const _0x49fd85=_0x298f66,_0x4a5f49=_0x56bb6e=>!this[_0x49fd85(0xf3)](_0x56bb6e[_0x49fd85(0xf2)]),_0xb497a2=_0x3b0c59[_0x49fd85(0x103)][_0x49fd85(0xeb)](_0x4a5f49),_0x2d4708=_0x3b0c59[_0x49fd85(0xe2)][_0x49fd85(0xeb)](_0x4a5f49,{'direction':_0x49fd85(0xdf)});return this[_0x49fd85(0xed)][_0x49fd85(0xe3)][_0x49fd85(0x10d)](_0xb497a2,_0x2d4708);}}function _0x4d3d(_0x3063b8,_0x3bc04b){const _0x20af6a=_0x20af();return _0x4d3d=function(_0x4d3d86,_0x50d3e1){_0x4d3d86=_0x4d3d86-0xde;let _0x5539ba=_0x20af6a[_0x4d3d86];return _0x5539ba;},_0x4d3d(_0x3063b8,_0x3bc04b);}function _0x20af(){const _0x2d20f0=['addcommentthreadcommand-incorrect-ranges','refresh','hasContent','createRange','substr','from','isObject','_trimToContent','4Ocrssu','2910754MwxDKt','backward','CommentsRepository','get','end','model','selection','getRanges','plugins','document','getItems','execute','4939779kYldmx','getLastMatchingPosition','2381250dzXmHt','editor','config','addCommentThread','isEnabled','element','item','_itemIsContent','147VfbmeB','7278024idMxaV','_hasContent','comment:','push','addMarker','schema','_createCommentThread','Users','change','length','addcommentthreadcommand-user-not-found','880mrpNYY','1908993uURklT','tableCell','start','_createMarkersFromRanges','set','342348daQpXC','197199LJvRlv','$textProxy','collaboration.channelId'];_0x20af=function(){return _0x2d20f0;};return _0x20af();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d90cc=_0x57a4;(function(_0x4a0909,_0x2bd398){const _0x5d39e0=_0x57a4,_0x334ed1=_0x4a0909();while(!![]){try{const _0x568c9b=-parseInt(_0x5d39e0(0x1ce))/0x1*(parseInt(_0x5d39e0(0x1cf))/0x2)+-parseInt(_0x5d39e0(0x1bd))/0x3*(-parseInt(_0x5d39e0(0x1cc))/0x4)+parseInt(_0x5d39e0(0x1aa))/0x5+parseInt(_0x5d39e0(0x1c6))/0x6*(parseInt(_0x5d39e0(0x1a9))/0x7)+-parseInt(_0x5d39e0(0x1ae))/0x8+-parseInt(_0x5d39e0(0x1b3))/0x9*(-parseInt(_0x5d39e0(0x1af))/0xa)+-parseInt(_0x5d39e0(0x1b1))/0xb*(parseInt(_0x5d39e0(0x1d0))/0xc);if(_0x568c9b===_0x2bd398)break;else _0x334ed1['push'](_0x334ed1['shift']());}catch(_0x9c441a){_0x334ed1['push'](_0x334ed1['shift']());}}}(_0x465e,0xb9b67));import{ContextPlugin as _0x2b1810}from'ckeditor5/src/core.js';function _0x57a4(_0x388448,_0x36a76c){const _0x465e1c=_0x465e();return _0x57a4=function(_0x57a412,_0x112c5c){_0x57a412=_0x57a412-0x1a8;let _0xeb2dcb=_0x465e1c[_0x57a412];return _0xeb2dcb;},_0x57a4(_0x388448,_0x36a76c);}import{Collection as _0x4e73c4}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x4c31eb}from'./commentsrepository.js';function _0x465e(){const _0x222e08=['isPremiumPlugin','plugins','isOfficialPlugin','6169008aZClOL','7278270jjFauw','get','44suxcrB','highest','9tzsZPS','activate','add','findIndex','archivedThreads','_calculatePosition','listenTo','focus','change:archivedAt','CommentsArchive','2961213nPyFuu','length','isVisible','has','init','requires','getCommentThread','archivedAt','addCommentThread','1812RDZLac','remove','stopListening','collection','pluginName','removeCommentThread','4hPNrQu','context','2DmYHjB','1096514MWTOZR','5615772doTNEa','isActive','33866JCHdfZ','6621345AVsQAa'];_0x465e=function(){return _0x222e08;};return _0x465e();}import{Annotations as _0x437518}from'../annotations/annotations.js';export class CommentsArchive extends _0x2b1810{static get[_0x2d90cc(0x1ca)](){const _0x54e6ab=_0x2d90cc;return _0x54e6ab(0x1bc);}static get[_0x2d90cc(0x1ad)](){return!0x0;}static get[_0x2d90cc(0x1ab)](){return!0x0;}static get[_0x2d90cc(0x1c2)](){return[_0x4c31eb,_0x437518];}constructor(_0x3dbd70){const _0x49673b=_0x2d90cc;super(_0x3dbd70),this[_0x49673b(0x1b7)]=new _0x4e73c4();}[_0x2d90cc(0x1c1)](){const _0x3cf8de=_0x2d90cc,_0x475cf7=this[_0x3cf8de(0x1cd)],_0x3ec203=_0x475cf7[_0x3cf8de(0x1ac)][_0x3cf8de(0x1b0)](_0x4c31eb),_0x5966c1=_0x475cf7[_0x3cf8de(0x1ac)][_0x3cf8de(0x1b0)](_0x437518);this[_0x3cf8de(0x1b9)](_0x3ec203,_0x3cf8de(0x1c5),(_0x9debb0,{threadId:_0x459456})=>{const _0x1d04d6=_0x3cf8de,_0x2e5588=_0x3ec203[_0x1d04d6(0x1c3)](_0x459456);_0x2e5588[_0x1d04d6(0x1c4)]&&this[_0x1d04d6(0x1b7)][_0x1d04d6(0x1b5)](_0x2e5588,this[_0x1d04d6(0x1b8)](_0x2e5588[_0x1d04d6(0x1c4)])),this[_0x1d04d6(0x1b9)](_0x2e5588,_0x1d04d6(0x1bb),(_0x2ffc17,_0x11be5f,_0x1d6ab0)=>{const _0x17643f=_0x1d04d6;_0x1d6ab0?this[_0x17643f(0x1b7)][_0x17643f(0x1c0)](_0x2e5588)||this[_0x17643f(0x1b7)][_0x17643f(0x1b5)](_0x2e5588,this[_0x17643f(0x1b8)](_0x2e5588[_0x17643f(0x1c4)])):this[_0x17643f(0x1b7)][_0x17643f(0x1c0)](_0x2e5588)&&this[_0x17643f(0x1b7)][_0x17643f(0x1c7)](_0x2e5588);});}),this[_0x3cf8de(0x1b9)](_0x3ec203,_0x3cf8de(0x1cb),(_0x541532,{threadId:_0x22a464})=>{const _0x1f1d2c=_0x3cf8de,_0x4e3f8c=_0x3ec203[_0x1f1d2c(0x1c3)](_0x22a464);this[_0x1f1d2c(0x1c8)](_0x4e3f8c),this[_0x1f1d2c(0x1b7)][_0x1f1d2c(0x1c0)](_0x4e3f8c)&&this[_0x1f1d2c(0x1b7)][_0x1f1d2c(0x1c7)](_0x4e3f8c);},{'priority':_0x3cf8de(0x1b2)}),this[_0x3cf8de(0x1b9)](_0x5966c1[_0x3cf8de(0x1c9)],_0x3cf8de(0x1ba),(_0x205d17,_0x4f1051)=>{const _0x5e8480=_0x3cf8de;_0x4f1051[_0x5e8480(0x1bf)]||(_0x4f1051[_0x5e8480(0x1a8)]=!0x0,_0x5966c1[_0x5e8480(0x1b4)](_0x4f1051));});}[_0x2d90cc(0x1b8)](_0x59c9fb){const _0x4eeff9=_0x2d90cc,_0x5e1ef9=[...this[_0x4eeff9(0x1b7)]][_0x4eeff9(0x1b6)](_0x3475c2=>_0x3475c2[_0x4eeff9(0x1c4)]<_0x59c9fb);return _0x5e1ef9>-0x1?_0x5e1ef9:this[_0x4eeff9(0x1b7)][_0x4eeff9(0x1be)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xfd0f71=_0x984b;function _0x984b(_0x4439ba,_0x15006f){const _0xd31aa8=_0xd31a();return _0x984b=function(_0x984b7,_0x3fc72c){_0x984b7=_0x984b7-0xd5;let _0x2ac5ff=_0xd31aa8[_0x984b7];return _0x2ac5ff;},_0x984b(_0x4439ba,_0x15006f);}(function(_0x40255a,_0x3db95e){const _0x2e2136=_0x984b,_0x184e02=_0x40255a();while(!![]){try{const _0x35b3c7=parseInt(_0x2e2136(0xf7))/0x1*(-parseInt(_0x2e2136(0xe9))/0x2)+parseInt(_0x2e2136(0x10f))/0x3+-parseInt(_0x2e2136(0xdf))/0x4+parseInt(_0x2e2136(0xf5))/0x5+-parseInt(_0x2e2136(0xdb))/0x6+-parseInt(_0x2e2136(0x11a))/0x7+-parseInt(_0x2e2136(0xe7))/0x8*(-parseInt(_0x2e2136(0x117))/0x9);if(_0x35b3c7===_0x3db95e)break;else _0x184e02['push'](_0x184e02['shift']());}catch(_0x4626dd){_0x184e02['push'](_0x184e02['shift']());}}}(_0xd31a,0x655f6));import'../../theme/commentsarchive.css';import{Plugin as _0x50355f}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x4f7bb8}from'ckeditor5/src/icons.js';import{ViewCollection as _0x30adf9,MenuBarMenuListItemButtonView as _0x515fe0,ButtonView as _0x45ee46,Dialog as _0x2e4733,DialogViewPosition as _0x1abce6}from'ckeditor5/src/ui.js';import{getTranslation as _0x45bb24}from'../utils/common-translations.js';function _0xd31a(){const _0xa76db5=['1503198PCMdjq','focusableElements','_pendingThreads','_toggleDialog','config','commentsArchiveView','stopListening','escape','54hjksoc','includes','menuBar:commentsArchive','4835600MpFLjk','forEach','archivedThreads','isOn','set:isVisible','collaboration.channelId','init','push','_visibleAnnotations','stop','isOfficialPlugin','source','execute','plugins','length','2477070ZYuiYt','splice','requires','channelId','561700acVVyZ','EDITOR_TOP_SIDE','tooltip','return','_addAnnotationToArchive','CommentsArchiveUI','isPremiumPlugin','CommentsRepository','897216jhidiJ','collection','2PdNZjl','Annotations','listenTo','indexOf','archivedAt','_createCommentsArchiveButton','editor','_threadToController','locale','isEnabled','_calculatePosition','COMMENTS_ARCHIVE','2521735cdKeoG','findIndex','19033uezGYu','has','remove','_hideDialogOnAnnotationEscape','add','set','isVisible','show','find','hide','view','_handleNewThread','annotationViews','filter','commentsArchive','componentFactory','menuitemcheckbox','isOpen','bind','get','Dialog','innerView','pluginName','getByInnerView'];_0xd31a=function(){return _0xa76db5;};return _0xd31a();}import{CommentsArchiveView as _0x1b8d8a}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x52caf8}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x50355f{[_0xfd0f71(0x114)];[_0xfd0f71(0x103)];[_0xfd0f71(0x111)];static get[_0xfd0f71(0x10d)](){const _0x194381=_0xfd0f71;return _0x194381(0xe4);}static get[_0xfd0f71(0xd6)](){return!0x0;}static get[_0xfd0f71(0xe5)](){return!0x0;}static get[_0xfd0f71(0xdd)](){return[_0x52caf8,_0x2e4733];}constructor(_0x43fa06){const _0x52144d=_0xfd0f71;super(_0x43fa06),this[_0x52144d(0x103)]=new _0x30adf9(),this[_0x52144d(0x111)]=[];}[_0xfd0f71(0x120)](){const _0x3e5997=_0xfd0f71,_0x4b0382=this[_0x3e5997(0xef)],_0x11260c=this[_0x3e5997(0xfa)][_0x3e5997(0x109)](this);_0x4b0382['ui'][_0x3e5997(0x106)][_0x3e5997(0xfb)](_0x3e5997(0x105),()=>this[_0x3e5997(0xee)](_0x45ee46,!0x0)),_0x4b0382['ui'][_0x3e5997(0x106)][_0x3e5997(0xfb)](_0x3e5997(0x119),()=>{const _0x2e6b24=_0x3e5997,_0x736e72=this[_0x2e6b24(0xee)](_0x515fe0);return _0x736e72[_0x2e6b24(0xfc)]({'role':_0x2e6b24(0x107)}),_0x736e72;});const _0x59c443=_0x4b0382[_0x3e5997(0xd9)][_0x3e5997(0x10a)](_0x52caf8),_0x2d6aab=_0x4b0382[_0x3e5997(0xd9)][_0x3e5997(0x10a)](_0x3e5997(0xea)),_0x2390f0=_0x4b0382[_0x3e5997(0xd9)][_0x3e5997(0x10a)](_0x3e5997(0xe6));_0x59c443[_0x3e5997(0x11c)][_0x3e5997(0x11b)](_0x102b0b=>{const _0x5b17cf=_0x3e5997;this[_0x5b17cf(0x102)](_0x102b0b);}),this[_0x3e5997(0xeb)](_0x59c443[_0x3e5997(0x11c)],_0x3e5997(0xfb),(_0x58a0df,_0x1a61fc)=>{const _0x1d77ec=_0x3e5997;this[_0x1d77ec(0x102)](_0x1a61fc);}),this[_0x3e5997(0xeb)](_0x2d6aab[_0x3e5997(0xe8)],_0x3e5997(0xfb),(_0x407462,_0x4b1dd1)=>{const _0x5586a1=_0x3e5997,_0x430731=this[_0x5586a1(0x111)][_0x5586a1(0xff)](_0x36d613=>{const _0x40b76c=_0x5586a1,_0x1b35cc=_0x2390f0[_0x40b76c(0xf0)][_0x40b76c(0x10a)](_0x36d613);return _0x1b35cc&&_0x4b1dd1[_0x40b76c(0x10c)]===_0x1b35cc[_0x40b76c(0x101)];});if(_0x430731){const _0xd2e81a=this[_0x5586a1(0xf3)](_0x430731[_0x5586a1(0xed)]);this[_0x5586a1(0xe3)](_0x4b1dd1,_0xd2e81a),this[_0x5586a1(0x111)][_0x5586a1(0xdc)](this[_0x5586a1(0x111)][_0x5586a1(0xec)](_0x430731),0x1);}}),this[_0x3e5997(0xeb)](_0x59c443[_0x3e5997(0x11c)],_0x3e5997(0xf9),(_0x4d4a77,_0x1c225b)=>{const _0x38a8b=_0x3e5997,_0x53a463=_0x4b0382[_0x38a8b(0x113)][_0x38a8b(0x10a)](_0x38a8b(0x11f));if(!_0x53a463||_0x1c225b[_0x38a8b(0xde)]===_0x53a463){if(this[_0x38a8b(0x111)][_0x38a8b(0x118)](_0x1c225b))this[_0x38a8b(0x111)][_0x38a8b(0xdc)](this[_0x38a8b(0x111)][_0x38a8b(0xec)](_0x1c225b),0x1);else{const _0x37ed62=_0x2390f0[_0x38a8b(0xf0)][_0x38a8b(0x10a)](_0x1c225b),_0x491284=_0x2d6aab[_0x38a8b(0x10e)](_0x37ed62[_0x38a8b(0x101)]);this[_0x38a8b(0x103)][_0x38a8b(0xf9)](_0x491284[_0x38a8b(0x101)]),this[_0x38a8b(0x115)](_0x491284),this[_0x38a8b(0x115)](_0x491284[_0x38a8b(0x110)]);}}}),this[_0x3e5997(0xeb)](_0x2d6aab[_0x3e5997(0xe8)],_0x3e5997(0xfb),(_0x4eeb8e,_0x13373c)=>{const _0x1e776c=_0x3e5997;this[_0x1e776c(0xeb)](_0x13373c,_0x1e776c(0x116),_0x11260c);}),this[_0x3e5997(0xeb)](_0x2d6aab[_0x3e5997(0xe8)],_0x3e5997(0xf9),(_0x52e797,_0x54e83a)=>{const _0x24cd5d=_0x3e5997;this[_0x24cd5d(0x115)](_0x54e83a,_0x24cd5d(0x116),_0x11260c);});}[_0xfd0f71(0xe3)](_0x2133e9,_0x6f880b){const _0x4c5891=_0xfd0f71;this[_0x4c5891(0xeb)](_0x2133e9,_0x4c5891(0x11e),_0x1f0a7d=>{const _0xd58108=_0x4c5891;_0x1f0a7d[_0xd58108(0xe2)]=!0x1,_0x1f0a7d[_0xd58108(0xd5)]();}),this[_0x4c5891(0x103)][_0x4c5891(0xfb)](_0x2133e9[_0x4c5891(0x101)],_0x6f880b);}[_0xfd0f71(0x102)](_0x17b508){const _0x2656f2=_0xfd0f71,_0x84ade0=this[_0x2656f2(0xef)][_0x2656f2(0xd9)][_0x2656f2(0x10a)](_0x2656f2(0xe6)),_0x5ca4b9=this[_0x2656f2(0xef)][_0x2656f2(0xd9)][_0x2656f2(0x10a)](_0x2656f2(0xea)),_0x289aa9=this[_0x2656f2(0xef)][_0x2656f2(0x113)][_0x2656f2(0x10a)](_0x2656f2(0x11f));if(!_0x289aa9||_0x17b508[_0x2656f2(0xde)]===_0x289aa9){const _0x1d4510=_0x84ade0[_0x2656f2(0xf0)][_0x2656f2(0x10a)](_0x17b508);if(!_0x1d4510)return void this[_0x2656f2(0x111)][_0x2656f2(0x121)](_0x17b508);const _0x2bcc31=this[_0x2656f2(0xf3)](_0x17b508[_0x2656f2(0xed)]),_0x2cbf88=_0x5ca4b9[_0x2656f2(0x10e)](_0x1d4510[_0x2656f2(0x101)]);_0x2cbf88[_0x2656f2(0xfd)]&&_0x5ca4b9[_0x2656f2(0x122)][_0x2656f2(0xf9)](_0x2cbf88),this[_0x2656f2(0xe3)](_0x2cbf88,_0x2bcc31);}}[_0xfd0f71(0xf3)](_0x978347){const _0x34695c=_0xfd0f71,_0x200911=this[_0x34695c(0xef)][_0x34695c(0x113)][_0x34695c(0x10a)](_0x34695c(0x11f)),_0x486ab8=[...this[_0x34695c(0xef)][_0x34695c(0xd9)][_0x34695c(0x10a)](_0x52caf8)[_0x34695c(0x11c)]][_0x34695c(0x104)](_0x5197d9=>_0x5197d9[_0x34695c(0xde)]===_0x200911)[_0x34695c(0xf6)](_0x5374c6=>_0x5374c6[_0x34695c(0xed)]<_0x978347);return _0x486ab8<0x0||_0x486ab8>this[_0x34695c(0x103)][_0x34695c(0xda)]?this[_0x34695c(0x103)][_0x34695c(0xda)]:_0x486ab8-0x1;}[_0xfd0f71(0x112)](){const _0x333373=_0xfd0f71,_0x5aebf2=this[_0x333373(0xef)],_0x55bc67=_0x5aebf2[_0x333373(0xd9)][_0x333373(0x10a)](_0x333373(0x10b));this[_0x333373(0x114)]||(this[_0x333373(0x114)]=new _0x1b8d8a(_0x5aebf2[_0x333373(0xf1)],this[_0x333373(0x103)])),_0x333373(0x105)===_0x55bc67['id']?_0x55bc67[_0x333373(0x100)]():_0x55bc67[_0x333373(0xfe)]({'id':_0x333373(0x105),'title':_0x45bb24(_0x5aebf2[_0x333373(0xf1)],_0x333373(0xf4)),'icon':_0x4f7bb8,'hasCloseButton':!0x0,'content':this[_0x333373(0x114)],'position':_0x1abce6[_0x333373(0xe0)]});}[_0xfd0f71(0xee)](_0x4f448b,_0x1f5867=!0x1){const _0x43b0cc=_0xfd0f71,_0xec1081=this[_0x43b0cc(0xef)][_0x43b0cc(0xf1)],_0x2352dd=this[_0x43b0cc(0xef)][_0x43b0cc(0xd9)][_0x43b0cc(0x10a)](_0x43b0cc(0x10b)),_0x366b63=new _0x4f448b(_0xec1081);return _0x366b63[_0x43b0cc(0x109)](_0x43b0cc(0xf2))['to'](this,_0x43b0cc(0xf2)),_0x366b63[_0x43b0cc(0x109)](_0x43b0cc(0x11d))['to'](_0x2352dd,'id',_0x5675e5=>_0x43b0cc(0x105)===_0x5675e5),_0x366b63[_0x43b0cc(0xfc)]({'label':_0x45bb24(_0xec1081,_0x43b0cc(0xf4)),'icon':_0x4f7bb8,'isToggleable':!0x0}),_0x1f5867&&(_0x366b63[_0x43b0cc(0xe1)]=!0x0),this[_0x43b0cc(0xeb)](_0x366b63,_0x43b0cc(0xd8),()=>this[_0x43b0cc(0x112)]()),_0x366b63;}[_0xfd0f71(0xfa)]=_0x1f93c9=>{const _0x141e37=_0xfd0f71,_0xf5c1a3=_0x1f93c9[_0x141e37(0xd7)];if(!this[_0x141e37(0x103)][_0x141e37(0xf8)](_0xf5c1a3[_0x141e37(0x101)]))return;const _0x2d34dc=this[_0x141e37(0xef)][_0x141e37(0xd9)][_0x141e37(0x10a)](_0x141e37(0x10b));_0x2d34dc[_0x141e37(0x108)]&&_0x141e37(0x105)===_0x2d34dc['id']&&(_0x2d34dc[_0x141e37(0x100)](),_0x1f93c9[_0x141e37(0xd5)]());};}
|