@ckeditor/ckeditor5-comments 47.4.0 → 47.5.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/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 +20 -20
- 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
|
-
function _0x30bf(){const _0x210455=['object','_sidebarItemViewToAnnotation','container','refresh','sidebar.container','destroy','_alignAfterItem','add','_alignToTargetRect','_annotations','set','_getMaxAvailableTop','length','last','locale','_createSidebarView','560741iIASrb','_recalculateBuffer','_getItemBefore','_detachFromContainer','change:targetRect','render','delete','pluginName','rearrange','stopListening','sidebar.preventScrollOutOfView','setContainer','getSidebarItemView','listenTo','2480608dSynuW','isOfficialPlugin','2271606ErrcfA','_lastItem','isActive','minHeight','target','1541772fJsovg','_setItemTop','sidebar-attachtocontainer-missing-container','define','init','bottom','430922pEVrtG','_attachToContainer','max','updateHeight','1378868MFYiCi','context','appendChild','_getTargetTop','targetRect','_destroySidebarItemView','remove','Sidebar','bind','config','unbind','_getItemAfter','_alignForTopChange','change:_lastItem','view','clear','change:top','addAnnotation','isPremiumPlugin','_recalculate','sidebar-setcontainer-invalid-element','_spaceBetweenItems','get','height','push','_updateLastItem','content','change:bottom','15IPqaLc','_alignForBottomChange','element','7sOfZtv','isAnimationDisabled','getIndex','_alignBeforeItem','list','class','_annotationToSidebarItemView','_activeAnnotation','2706369cLURtl','top','nodeType','_targetTop'];_0x30bf=function(){return _0x210455;};return _0x30bf();}function _0x4152(_0x4c70fc,_0x5a4895){const _0x30bfd9=_0x30bf();return _0x4152=function(_0x41529a,_0x3fa2d1){_0x41529a=_0x41529a-0xb7;let _0x2dd273=_0x30bfd9[_0x41529a];return _0x2dd273;},_0x4152(_0x4c70fc,_0x5a4895);}const _0x947f69=_0x4152;(function(_0x5f11e7,_0x1d4185){const _0x277c9a=_0x4152,_0x429a23=_0x5f11e7();while(!![]){try{const _0x36be3a=-parseInt(_0x277c9a(0xf8))/0x1+-parseInt(_0x277c9a(0xb9))/0x2+parseInt(_0x277c9a(0xe4))/0x3+parseInt(_0x277c9a(0xbd))/0x4*(parseInt(_0x277c9a(0xd9))/0x5)+-parseInt(_0x277c9a(0x108))/0x6*(parseInt(_0x277c9a(0xdc))/0x7)+-parseInt(_0x277c9a(0x106))/0x8+parseInt(_0x277c9a(0x10d))/0x9;if(_0x36be3a===_0x1d4185)break;else _0x429a23['push'](_0x429a23['shift']());}catch(_0x1803f3){_0x429a23['push'](_0x429a23['shift']());}}}(_0x30bf,0x9ce8f));import{ContextPlugin as _0xc647c5}from'ckeditor5/src/core.js';import{Rect as _0x543ca8,CKEditorError as _0x21d4bd}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x57efce}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x143b2f}from'./view/sidebaritemview.js';export class Sidebar extends _0xc647c5{[_0x947f69(0xcb)];[_0x947f69(0xe3)];[_0x947f69(0xf1)];[_0x947f69(0xd2)];[_0x947f69(0xe9)];[_0x947f69(0xe2)];[_0x947f69(0xf9)];static get[_0x947f69(0xff)](){const _0x1a523b=_0x947f69;return _0x1a523b(0xc4);}static get[_0x947f69(0x107)](){return!0x0;}static get[_0x947f69(0xcf)](){return!0x0;}constructor(_0x3c4b10){const _0x1fe444=_0x947f69;super(_0x3c4b10),this[_0x1fe444(0xf2)](_0x1fe444(0x109),void 0x0),this[_0x1fe444(0xcb)]=this[_0x1fe444(0xf7)](),this[_0x1fe444(0xf2)](_0x1fe444(0xea),null),this[_0x1fe444(0xd2)]=0x19,this[_0x1fe444(0xe9)]=new Map(),this[_0x1fe444(0xe2)]=new Map(),this[_0x1fe444(0xbe)][_0x1fe444(0xc6)][_0x1fe444(0x110)](_0x1fe444(0x102),!0x1),this[_0x1fe444(0xf1)]=null,this[_0x1fe444(0xe3)]=null,this[_0x1fe444(0xf9)]=[];}[_0x947f69(0xb7)](){const _0x4a4ab4=_0x947f69,_0x77625b=this[_0x4a4ab4(0xbe)][_0x4a4ab4(0xc6)][_0x4a4ab4(0xd3)](_0x4a4ab4(0xec));_0x77625b&&this[_0x4a4ab4(0x103)](_0x77625b);}[_0x947f69(0x103)](_0x1e8447){const _0x4b89aa=_0x947f69;if(!g(_0x1e8447))throw new _0x21d4bd(_0x4b89aa(0xd1));this[_0x4b89aa(0xea)]=_0x1e8447;}[_0x947f69(0xba)]({viewClass:_0x107349='',spaceBetweenItems:_0x5ce337=0x19}={}){const _0x34e2ea=_0x947f69;if(!g(this[_0x34e2ea(0xea)]))throw new _0x21d4bd(_0x34e2ea(0x10f),this);this[_0x34e2ea(0xea)][_0x34e2ea(0xbf)](this[_0x34e2ea(0xcb)][_0x34e2ea(0xdb)]),this[_0x34e2ea(0xcb)][_0x34e2ea(0xe1)]=_0x107349,this[_0x34e2ea(0xd2)]=_0x5ce337;}[_0x947f69(0x100)]({removedAnnotation:_0x2e25b7,previousAnnotation:_0x3d5e7f,nextAnnotation:_0x544c23}){const _0x17ae96=_0x947f69,_0x2ee2db=this[_0x17ae96(0x104)](_0x2e25b7);this[_0x17ae96(0xcb)][_0x17ae96(0xe0)][_0x17ae96(0xc3)](_0x2ee2db),this[_0x17ae96(0xc2)](_0x2e25b7),_0x3d5e7f&&this[_0x17ae96(0xf0)](this[_0x17ae96(0x104)](_0x3d5e7f)),_0x544c23&&this[_0x17ae96(0xf0)](this[_0x17ae96(0x104)](_0x544c23)),this[_0x17ae96(0xd6)]();}[_0x947f69(0xeb)]({blurredAnnotation:_0x42b95e,activatedAnnotation:_0x8d21d9,disableAnimationOnActivatedAnnotation:_0x5af29f}){const _0x4d7f67=_0x947f69;if(this[_0x4d7f67(0xe3)]=_0x8d21d9,_0x42b95e){_0x42b95e[_0x4d7f67(0x10a)]=!0x1;const _0x223df2=this[_0x4d7f67(0x104)](_0x42b95e);_0x223df2&&_0x5af29f&&(_0x223df2[_0x4d7f67(0xdd)]=!0x1);}if(_0x8d21d9){const _0x2897a9=this[_0x4d7f67(0x104)](_0x8d21d9);_0x2897a9&&(_0x8d21d9[_0x4d7f67(0x10a)]=!0x0,_0x5af29f&&(_0x2897a9[_0x4d7f67(0xdd)]=!0x0,_0x2897a9[_0x4d7f67(0xe5)]+=0x1),this[_0x4d7f67(0xf0)](_0x2897a9));}}[_0x947f69(0xfb)](_0x119149){const _0x2585e3=_0x947f69;if(this[_0x2585e3(0xcb)][_0x2585e3(0xdb)][_0x2585e3(0xc3)](),_0x119149){for(const _0xe50a6b of _0x119149)this[_0x2585e3(0xc2)](_0xe50a6b);}this[_0x2585e3(0xcb)][_0x2585e3(0xe0)][_0x2585e3(0xcc)](),this[_0x2585e3(0xcb)][_0x2585e3(0xe1)]='',this[_0x2585e3(0x109)]=null;}[_0x947f69(0xce)](_0x368b2d,_0xe4efa7){const _0x37eb56=_0x947f69;_0xe4efa7||(_0xe4efa7=_0x368b2d[_0x37eb56(0xcb)]);const _0x1472d1=new _0x143b2f(this[_0x37eb56(0xbe)][_0x37eb56(0xf6)]);this[_0x37eb56(0xe9)][_0x37eb56(0xf2)](_0x1472d1,_0x368b2d),this[_0x37eb56(0xe2)][_0x37eb56(0xf2)](_0x368b2d,_0x1472d1),_0x1472d1[_0x37eb56(0xd7)][_0x37eb56(0xef)](_0xe4efa7),this[_0x37eb56(0x105)](_0x368b2d[_0x37eb56(0xcb)],_0x37eb56(0xfc),(_0x3ce970,_0x1c1975,_0x5e91fc)=>{const _0x5a9f3b=_0x37eb56,_0x35cc33=this[_0x5a9f3b(0xc0)](_0x368b2d,_0x5e91fc);_0x1472d1[_0x5a9f3b(0xe7)]!=_0x35cc33&&(_0x1472d1[_0x5a9f3b(0xe7)]=_0x35cc33,this[_0x5a9f3b(0x10e)](_0x1472d1,_0x35cc33));}),this[_0x37eb56(0x105)](_0x1472d1,_0x37eb56(0xcd),()=>{const _0x3aaf45=_0x37eb56;this[_0x3aaf45(0xd0)](_0x1472d1,_0x3aaf45(0xe5));}),this[_0x37eb56(0x105)](_0x1472d1,_0x37eb56(0xd8),()=>{const _0x11ec77=_0x37eb56;this[_0x11ec77(0xd0)](_0x1472d1,_0x11ec77(0xb8));}),this[_0x37eb56(0xf0)](_0x1472d1);const _0x2879f5=this[_0x37eb56(0xfa)](_0x1472d1);if(_0x2879f5)this[_0x37eb56(0xee)](_0x2879f5,_0x1472d1)||this[_0x37eb56(0xf0)](_0x1472d1);else this[_0x37eb56(0xf0)](_0x1472d1);return this[_0x37eb56(0xd6)](),this[_0x37eb56(0xcb)][_0x37eb56(0xe0)][_0x37eb56(0xef)](_0x1472d1),_0x1472d1;}[_0x947f69(0xc9)](_0x3d551f){const _0x3cbe7f=_0x947f69;if(!_0x3d551f[_0x3cbe7f(0xd7)][_0x3cbe7f(0xf4)])return;const _0x3701ce=this[_0x3cbe7f(0xfa)](_0x3d551f);if(!_0x3701ce)return;const _0x175193=this[_0x3cbe7f(0xe9)][_0x3cbe7f(0xd3)](_0x3701ce),_0x198c8a=this[_0x3cbe7f(0xe3)];_0x198c8a&&_0x198c8a===_0x175193?this[_0x3cbe7f(0xee)](_0x3701ce,_0x3d551f):this[_0x3cbe7f(0xdf)](_0x3d551f,_0x3701ce);}[_0x947f69(0xda)](_0x1ae7f3){const _0xd2aa2e=_0x947f69;if(!_0x1ae7f3[_0xd2aa2e(0xd7)][_0xd2aa2e(0xf4)])return;const _0x4fcc01=this[_0xd2aa2e(0xc8)](_0x1ae7f3);if(!_0x4fcc01)return;const _0x39f7ac=this[_0xd2aa2e(0xe9)][_0xd2aa2e(0xd3)](_0x4fcc01),_0x3e1700=this[_0xd2aa2e(0xbe)][_0xd2aa2e(0xc6)][_0xd2aa2e(0xd3)](_0xd2aa2e(0x102)),_0x582255=this[_0xd2aa2e(0xe3)];_0x582255&&_0x582255===_0x39f7ac&&_0x3e1700?(this[_0xd2aa2e(0xdf)](_0x4fcc01,_0x1ae7f3),this[_0xd2aa2e(0xee)](_0x1ae7f3,_0x4fcc01)):_0x582255&&_0x582255===_0x39f7ac?this[_0xd2aa2e(0xdf)](_0x4fcc01,_0x1ae7f3):this[_0xd2aa2e(0xee)](_0x1ae7f3,_0x4fcc01);}[_0x947f69(0xd0)](_0x5b1428,_0x27f706){const _0x1b9dae=_0x947f69;0x0===this[_0x1b9dae(0xf9)][_0x1b9dae(0xf4)]&&setTimeout(()=>{const _0x34fb7a=_0x1b9dae;for(const {sidebarItemView:_0x40358d,changedProp:_0x459db2}of this[_0x34fb7a(0xf9)])_0x34fb7a(0xe5)===_0x459db2?this[_0x34fb7a(0xc9)](_0x40358d):this[_0x34fb7a(0xda)](_0x40358d);this[_0x34fb7a(0xf9)]=[];},0xa),this[_0x1b9dae(0xf9)][_0x1b9dae(0xd5)]({'sidebarItemView':_0x5b1428,'changedProp':_0x27f706});}[_0x947f69(0x104)](_0x22077b){const _0x598154=_0x947f69;return this[_0x598154(0xe2)][_0x598154(0xd3)](_0x22077b);}[_0x947f69(0xed)](){const _0x3347a4=_0x947f69;this[_0x3347a4(0x101)](),this[_0x3347a4(0xcb)][_0x3347a4(0xed)]();}[_0x947f69(0xc2)](_0x743f5e){const _0x6cfb86=_0x947f69,_0x5aff22=this[_0x6cfb86(0x104)](_0x743f5e);this[_0x6cfb86(0x101)](_0x5aff22),this[_0x6cfb86(0x101)](_0x743f5e[_0x6cfb86(0xcb)]),_0x5aff22[_0x6cfb86(0xed)](),this[_0x6cfb86(0xe2)][_0x6cfb86(0xfe)](_0x743f5e),this[_0x6cfb86(0xe9)][_0x6cfb86(0xfe)](_0x5aff22);}[_0x947f69(0xf7)](){const _0x4d6f63=_0x947f69,_0x34ad79=new _0x57efce(this[_0x4d6f63(0xbe)][_0x4d6f63(0xf6)]);return _0x34ad79[_0x4d6f63(0xfd)](),this['on'](_0x4d6f63(0xca),(_0x4fcac9,_0x44f11a,_0x3d8627,_0x4e6164)=>{const _0x204e0a=_0x4d6f63;_0x4e6164&&_0x34ad79[_0x204e0a(0xc7)](_0x204e0a(0x10b)),_0x3d8627?_0x34ad79[_0x204e0a(0xc5)](_0x204e0a(0x10b))['to'](_0x3d8627,_0x204e0a(0xb8)):_0x34ad79[_0x204e0a(0x10b)]=null;}),_0x34ad79;}[_0x947f69(0xd6)](){const _0x336781=_0x947f69;this[_0x336781(0x109)]=this[_0x336781(0xf1)]?.[_0x336781(0xf5)]?this[_0x336781(0x104)](this[_0x336781(0xf1)][_0x336781(0xf5)]):null;}[_0x947f69(0xfa)](_0x3472fc){const _0x1952e2=_0x947f69,_0x286949=this[_0x1952e2(0xe9)][_0x1952e2(0xd3)](_0x3472fc),_0x2f777f=_0x286949&&this[_0x1952e2(0xf1)]?.[_0x1952e2(0xd3)](this[_0x1952e2(0xf1)][_0x1952e2(0xde)](_0x286949)-0x1);return _0x2f777f&&this[_0x1952e2(0x104)](_0x2f777f)||null;}[_0x947f69(0xc8)](_0x38d04c){const _0x5ce815=_0x947f69,_0x1c2847=this[_0x5ce815(0xe9)][_0x5ce815(0xd3)](_0x38d04c),_0x5e95a4=_0x1c2847&&this[_0x5ce815(0xf1)]?.[_0x5ce815(0xd3)](this[_0x5ce815(0xf1)][_0x5ce815(0xde)](_0x1c2847)+0x1);return _0x5e95a4&&this[_0x5ce815(0x104)](_0x5e95a4)||null;}[_0x947f69(0xdf)](_0x383fb7,_0x39e484){const _0x431fef=_0x947f69;_0x383fb7[_0x431fef(0xbc)]();const _0x56964f=G(_0x39e484[_0x431fef(0xb8)]+this[_0x431fef(0xd2)],_0x383fb7[_0x431fef(0xe5)]);return!!_0x56964f&&(this[_0x431fef(0x10e)](_0x39e484,_0x39e484[_0x431fef(0xe5)]-_0x56964f),!0x0);}[_0x947f69(0xee)](_0x89e994,_0x16f776){const _0x2d6fcc=_0x947f69;_0x89e994[_0x2d6fcc(0xbc)]();const _0x238814=G(_0x89e994[_0x2d6fcc(0xb8)]+this[_0x2d6fcc(0xd2)],_0x16f776[_0x2d6fcc(0xe5)]);return!!_0x238814&&(this[_0x2d6fcc(0x10e)](_0x16f776,_0x16f776[_0x2d6fcc(0xe5)]+_0x238814,!0x1),!0x0);}[_0x947f69(0xf0)](_0x58567e){const _0xa7ecf0=_0x947f69,_0x30ba88=this[_0xa7ecf0(0xe9)][_0xa7ecf0(0xd3)](_0x58567e);if(!_0x30ba88||!_0x30ba88[_0xa7ecf0(0x10c)]||!_0x30ba88[_0xa7ecf0(0xc1)])return;const _0x17bcfe=this[_0xa7ecf0(0xc0)](_0x30ba88,_0x30ba88[_0xa7ecf0(0xc1)]);this[_0xa7ecf0(0x10e)](_0x58567e,_0x17bcfe);}[_0x947f69(0xc0)](_0x4b6975,_0x548f93){const _0x52c7fb=_0x947f69;if(null===_0x548f93)return 0x0;if(_0x4b6975[_0x52c7fb(0x10c)]instanceof _0x543ca8)return _0x548f93[_0x52c7fb(0xe5)];{const _0x33693a=new _0x543ca8(this[_0x52c7fb(0xcb)][_0x52c7fb(0xdb)])[_0x52c7fb(0xe5)];return _0x548f93[_0x52c7fb(0xe5)]-_0x33693a;}}[_0x947f69(0x10e)](_0x1d723c,_0x5c0ae8,_0x439c49=this[_0x947f69(0xbe)][_0x947f69(0xc6)][_0x947f69(0xd3)](_0x947f69(0x102))){const _0x3e529c=_0x947f69;_0x439c49&&(_0x5c0ae8=Math[_0x3e529c(0xbb)](_0x5c0ae8,this[_0x3e529c(0xf3)](_0x1d723c))),_0x1d723c[_0x3e529c(0xe5)]=_0x5c0ae8;}[_0x947f69(0xf3)](_0x42d6e1){const _0x21d21d=_0x947f69;let _0x32e0cc=this[_0x21d21d(0xfa)](_0x42d6e1),_0x55175c=0x0;for(;_0x32e0cc;)_0x32e0cc[_0x21d21d(0xbc)](),_0x55175c+=this[_0x21d21d(0xd2)]+_0x32e0cc[_0x21d21d(0xd4)],_0x32e0cc=this[_0x21d21d(0xfa)](_0x32e0cc);return _0x55175c;}}function G(_0x375594,_0x19e98a){const _0x5213d6=_0x947f69;return Math[_0x5213d6(0xbb)](_0x375594-_0x19e98a,0x0);}function g(_0x17e4de){const _0x2dba68=_0x947f69;return null!==_0x17e4de&&_0x2dba68(0xe8)==typeof _0x17e4de&&0x1===_0x17e4de[_0x2dba68(0xe6)];}
|
|
23
|
+
const _0x46c0e2=_0x1ad0;function _0x5e2a(){const _0xd3d80a=['container','_setItemTop','nodeType','_alignToTargetRect','sidebar.container','updateHeight','height','_getItemAfter','_destroySidebarItemView','sidebar-attachtocontainer-missing-container','isPremiumPlugin','rearrange','max','isAnimationDisabled','change:_lastItem','_recalculateBuffer','push','_getItemBefore','1858563wVYcSG','remove','bottom','change:targetRect','_recalculate','appendChild','4742931VAcVWK','addAnnotation','clear','context','top','object','listenTo','class','_lastItem','_alignForBottomChange','target','sidebar-setcontainer-invalid-element','length','_detachFromContainer','_updateLastItem','isActive','_getTargetTop','config','_getMaxAvailableTop','add','1253378CHIBaF','setContainer','_annotations','824ExCqPL','sidebar.preventScrollOutOfView','_attachToContainer','_alignBeforeItem','_alignAfterItem','unbind','set','1705370KtNvWW','12UOKQQy','pluginName','stopListening','_alignForTopChange','view','last','576103ppGRHG','_createSidebarView','bind','_targetTop','define','get','getIndex','_activeAnnotation','render','getSidebarItemView','_spaceBetweenItems','init','element','4dySzax','locale','isOfficialPlugin','content','_sidebarItemViewToAnnotation','refresh','_annotationToSidebarItemView','minHeight','27063670hqVGxC','Sidebar','targetRect','delete','4095lptGSe','change:bottom','change:top','list','destroy'];_0x5e2a=function(){return _0xd3d80a;};return _0x5e2a();}function _0x1ad0(_0xa49bf,_0x713f01){const _0x5e2a7c=_0x5e2a();return _0x1ad0=function(_0x1ad042,_0x3d3648){_0x1ad042=_0x1ad042-0x1c4;let _0x4f08f8=_0x5e2a7c[_0x1ad042];return _0x4f08f8;},_0x1ad0(_0xa49bf,_0x713f01);}(function(_0x3c1db8,_0xc4f5a2){const _0x328ae9=_0x1ad0,_0x45869e=_0x3c1db8();while(!![]){try{const _0x56df25=-parseInt(_0x328ae9(0x1d7))/0x1+parseInt(_0x328ae9(0x1c6))/0x2+-parseInt(_0x328ae9(0x20d))/0x3*(parseInt(_0x328ae9(0x1e4))/0x4)+-parseInt(_0x328ae9(0x1d0))/0x5*(parseInt(_0x328ae9(0x1d1))/0x6)+parseInt(_0x328ae9(0x207))/0x7+-parseInt(_0x328ae9(0x1c9))/0x8*(-parseInt(_0x328ae9(0x1f0))/0x9)+parseInt(_0x328ae9(0x1ec))/0xa;if(_0x56df25===_0xc4f5a2)break;else _0x45869e['push'](_0x45869e['shift']());}catch(_0x5c65e1){_0x45869e['push'](_0x45869e['shift']());}}}(_0x5e2a,0xc4d3a));import{ContextPlugin as _0x34f9ed}from'ckeditor5/src/core.js';import{Rect as _0x1f6639,CKEditorError as _0x1b7974}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x59dd51}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x27dedd}from'./view/sidebaritemview.js';export class Sidebar extends _0x34f9ed{[_0x46c0e2(0x1d5)];[_0x46c0e2(0x1de)];[_0x46c0e2(0x1c8)];[_0x46c0e2(0x1e1)];[_0x46c0e2(0x1e8)];[_0x46c0e2(0x1ea)];[_0x46c0e2(0x204)];static get[_0x46c0e2(0x1d2)](){const _0x1c3805=_0x46c0e2;return _0x1c3805(0x1ed);}static get[_0x46c0e2(0x1e6)](){return!0x0;}static get[_0x46c0e2(0x1ff)](){return!0x0;}constructor(_0x4620e4){const _0x19bddd=_0x46c0e2;super(_0x4620e4),this[_0x19bddd(0x1cf)](_0x19bddd(0x215),void 0x0),this[_0x19bddd(0x1d5)]=this[_0x19bddd(0x1d8)](),this[_0x19bddd(0x1cf)](_0x19bddd(0x1f5),null),this[_0x19bddd(0x1e1)]=0x19,this[_0x19bddd(0x1e8)]=new Map(),this[_0x19bddd(0x1ea)]=new Map(),this[_0x19bddd(0x210)][_0x19bddd(0x21e)][_0x19bddd(0x1db)](_0x19bddd(0x1ca),!0x1),this[_0x19bddd(0x1c8)]=null,this[_0x19bddd(0x1de)]=null,this[_0x19bddd(0x204)]=[];}[_0x46c0e2(0x1e2)](){const _0x3feab2=_0x46c0e2,_0x172636=this[_0x3feab2(0x210)][_0x3feab2(0x21e)][_0x3feab2(0x1dc)](_0x3feab2(0x1f9));_0x172636&&this[_0x3feab2(0x1c7)](_0x172636);}[_0x46c0e2(0x1c7)](_0x3c9353){const _0x2366f1=_0x46c0e2;if(!g(_0x3c9353))throw new _0x1b7974(_0x2366f1(0x218));this[_0x2366f1(0x1f5)]=_0x3c9353;}[_0x46c0e2(0x1cb)]({viewClass:_0x1cde23='',spaceBetweenItems:_0x3a90b1=0x19}={}){const _0x5eb22c=_0x46c0e2;if(!g(this[_0x5eb22c(0x1f5)]))throw new _0x1b7974(_0x5eb22c(0x1fe),this);this[_0x5eb22c(0x1f5)][_0x5eb22c(0x20c)](this[_0x5eb22c(0x1d5)][_0x5eb22c(0x1e3)]),this[_0x5eb22c(0x1d5)][_0x5eb22c(0x214)]=_0x1cde23,this[_0x5eb22c(0x1e1)]=_0x3a90b1;}[_0x46c0e2(0x200)]({removedAnnotation:_0x382135,previousAnnotation:_0x33c6e5,nextAnnotation:_0x27af75}){const _0x16e1d4=_0x46c0e2,_0x3ea773=this[_0x16e1d4(0x1e0)](_0x382135);this[_0x16e1d4(0x1d5)][_0x16e1d4(0x1f3)][_0x16e1d4(0x208)](_0x3ea773),this[_0x16e1d4(0x1fd)](_0x382135),_0x33c6e5&&this[_0x16e1d4(0x1f8)](this[_0x16e1d4(0x1e0)](_0x33c6e5)),_0x27af75&&this[_0x16e1d4(0x1f8)](this[_0x16e1d4(0x1e0)](_0x27af75)),this[_0x16e1d4(0x21b)]();}[_0x46c0e2(0x1e9)]({blurredAnnotation:_0x4deae6,activatedAnnotation:_0x54a3bd,disableAnimationOnActivatedAnnotation:_0x56893d}){const _0x2f4d7e=_0x46c0e2;if(this[_0x2f4d7e(0x1de)]=_0x54a3bd,_0x4deae6){_0x4deae6[_0x2f4d7e(0x21c)]=!0x1;const _0x8428e9=this[_0x2f4d7e(0x1e0)](_0x4deae6);_0x8428e9&&_0x56893d&&(_0x8428e9[_0x2f4d7e(0x202)]=!0x1);}if(_0x54a3bd){const _0x13d58c=this[_0x2f4d7e(0x1e0)](_0x54a3bd);_0x13d58c&&(_0x54a3bd[_0x2f4d7e(0x21c)]=!0x0,_0x56893d&&(_0x13d58c[_0x2f4d7e(0x202)]=!0x0,_0x13d58c[_0x2f4d7e(0x211)]+=0x1),this[_0x2f4d7e(0x1f8)](_0x13d58c));}}[_0x46c0e2(0x21a)](_0x37d687){const _0x134b88=_0x46c0e2;if(this[_0x134b88(0x1d5)][_0x134b88(0x1e3)][_0x134b88(0x208)](),_0x37d687){for(const _0x472c54 of _0x37d687)this[_0x134b88(0x1fd)](_0x472c54);}this[_0x134b88(0x1d5)][_0x134b88(0x1f3)][_0x134b88(0x20f)](),this[_0x134b88(0x1d5)][_0x134b88(0x214)]='',this[_0x134b88(0x215)]=null;}[_0x46c0e2(0x20e)](_0x24860b,_0x25b7b6){const _0x11eef2=_0x46c0e2;_0x25b7b6||(_0x25b7b6=_0x24860b[_0x11eef2(0x1d5)]);const _0x186fbf=new _0x27dedd(this[_0x11eef2(0x210)][_0x11eef2(0x1e5)]);this[_0x11eef2(0x1e8)][_0x11eef2(0x1cf)](_0x186fbf,_0x24860b),this[_0x11eef2(0x1ea)][_0x11eef2(0x1cf)](_0x24860b,_0x186fbf),_0x186fbf[_0x11eef2(0x1e7)][_0x11eef2(0x1c5)](_0x25b7b6),this[_0x11eef2(0x213)](_0x24860b[_0x11eef2(0x1d5)],_0x11eef2(0x20a),(_0x3ba8f8,_0x2480d6,_0xd9465d)=>{const _0x4440a7=_0x11eef2,_0x2d0521=this[_0x4440a7(0x21d)](_0x24860b,_0xd9465d);_0x186fbf[_0x4440a7(0x1da)]!=_0x2d0521&&(_0x186fbf[_0x4440a7(0x1da)]=_0x2d0521,this[_0x4440a7(0x1f6)](_0x186fbf,_0x2d0521));}),this[_0x11eef2(0x213)](_0x186fbf,_0x11eef2(0x1f2),()=>{const _0x5a4f6f=_0x11eef2;this[_0x5a4f6f(0x20b)](_0x186fbf,_0x5a4f6f(0x211));}),this[_0x11eef2(0x213)](_0x186fbf,_0x11eef2(0x1f1),()=>{const _0x354b15=_0x11eef2;this[_0x354b15(0x20b)](_0x186fbf,_0x354b15(0x209));}),this[_0x11eef2(0x1f8)](_0x186fbf);const _0x54848b=this[_0x11eef2(0x206)](_0x186fbf);if(_0x54848b)this[_0x11eef2(0x1cd)](_0x54848b,_0x186fbf)||this[_0x11eef2(0x1f8)](_0x186fbf);else this[_0x11eef2(0x1f8)](_0x186fbf);return this[_0x11eef2(0x21b)](),this[_0x11eef2(0x1d5)][_0x11eef2(0x1f3)][_0x11eef2(0x1c5)](_0x186fbf),_0x186fbf;}[_0x46c0e2(0x1d4)](_0x3fdcad){const _0x1ed0cb=_0x46c0e2;if(!_0x3fdcad[_0x1ed0cb(0x1e7)][_0x1ed0cb(0x219)])return;const _0x19bb88=this[_0x1ed0cb(0x206)](_0x3fdcad);if(!_0x19bb88)return;const _0x509f7d=this[_0x1ed0cb(0x1e8)][_0x1ed0cb(0x1dc)](_0x19bb88),_0x18594b=this[_0x1ed0cb(0x1de)];_0x18594b&&_0x18594b===_0x509f7d?this[_0x1ed0cb(0x1cd)](_0x19bb88,_0x3fdcad):this[_0x1ed0cb(0x1cc)](_0x3fdcad,_0x19bb88);}[_0x46c0e2(0x216)](_0x5bfeb2){const _0x431a=_0x46c0e2;if(!_0x5bfeb2[_0x431a(0x1e7)][_0x431a(0x219)])return;const _0x2f11db=this[_0x431a(0x1fc)](_0x5bfeb2);if(!_0x2f11db)return;const _0x4aab8e=this[_0x431a(0x1e8)][_0x431a(0x1dc)](_0x2f11db),_0x231b2e=this[_0x431a(0x210)][_0x431a(0x21e)][_0x431a(0x1dc)](_0x431a(0x1ca)),_0x58bbeb=this[_0x431a(0x1de)];_0x58bbeb&&_0x58bbeb===_0x4aab8e&&_0x231b2e?(this[_0x431a(0x1cc)](_0x2f11db,_0x5bfeb2),this[_0x431a(0x1cd)](_0x5bfeb2,_0x2f11db)):_0x58bbeb&&_0x58bbeb===_0x4aab8e?this[_0x431a(0x1cc)](_0x2f11db,_0x5bfeb2):this[_0x431a(0x1cd)](_0x5bfeb2,_0x2f11db);}[_0x46c0e2(0x20b)](_0xf06d5c,_0x52d337){const _0x291b02=_0x46c0e2;0x0===this[_0x291b02(0x204)][_0x291b02(0x219)]&&setTimeout(()=>{const _0x4dff10=_0x291b02;for(const {sidebarItemView:_0x2d3a18,changedProp:_0x5b15fa}of this[_0x4dff10(0x204)])_0x4dff10(0x211)===_0x5b15fa?this[_0x4dff10(0x1d4)](_0x2d3a18):this[_0x4dff10(0x216)](_0x2d3a18);this[_0x4dff10(0x204)]=[];},0xa),this[_0x291b02(0x204)][_0x291b02(0x205)]({'sidebarItemView':_0xf06d5c,'changedProp':_0x52d337});}[_0x46c0e2(0x1e0)](_0x57e501){const _0x3b80e3=_0x46c0e2;return this[_0x3b80e3(0x1ea)][_0x3b80e3(0x1dc)](_0x57e501);}[_0x46c0e2(0x1f4)](){const _0x28dd28=_0x46c0e2;this[_0x28dd28(0x1d3)](),this[_0x28dd28(0x1d5)][_0x28dd28(0x1f4)]();}[_0x46c0e2(0x1fd)](_0x4d9536){const _0x58226d=_0x46c0e2,_0x5b57c2=this[_0x58226d(0x1e0)](_0x4d9536);this[_0x58226d(0x1d3)](_0x5b57c2),this[_0x58226d(0x1d3)](_0x4d9536[_0x58226d(0x1d5)]),_0x5b57c2[_0x58226d(0x1f4)](),this[_0x58226d(0x1ea)][_0x58226d(0x1ef)](_0x4d9536),this[_0x58226d(0x1e8)][_0x58226d(0x1ef)](_0x5b57c2);}[_0x46c0e2(0x1d8)](){const _0x5c4770=_0x46c0e2,_0x40ea66=new _0x59dd51(this[_0x5c4770(0x210)][_0x5c4770(0x1e5)]);return _0x40ea66[_0x5c4770(0x1df)](),this['on'](_0x5c4770(0x203),(_0x85b99f,_0x57088d,_0x3b4979,_0x27094e)=>{const _0xaec03e=_0x5c4770;_0x27094e&&_0x40ea66[_0xaec03e(0x1ce)](_0xaec03e(0x1eb)),_0x3b4979?_0x40ea66[_0xaec03e(0x1d9)](_0xaec03e(0x1eb))['to'](_0x3b4979,_0xaec03e(0x209)):_0x40ea66[_0xaec03e(0x1eb)]=null;}),_0x40ea66;}[_0x46c0e2(0x21b)](){const _0xfea157=_0x46c0e2;this[_0xfea157(0x215)]=this[_0xfea157(0x1c8)]?.[_0xfea157(0x1d6)]?this[_0xfea157(0x1e0)](this[_0xfea157(0x1c8)][_0xfea157(0x1d6)]):null;}[_0x46c0e2(0x206)](_0x4ae0fd){const _0x47557d=_0x46c0e2,_0x5a577a=this[_0x47557d(0x1e8)][_0x47557d(0x1dc)](_0x4ae0fd),_0x68c436=_0x5a577a&&this[_0x47557d(0x1c8)]?.[_0x47557d(0x1dc)](this[_0x47557d(0x1c8)][_0x47557d(0x1dd)](_0x5a577a)-0x1);return _0x68c436&&this[_0x47557d(0x1e0)](_0x68c436)||null;}[_0x46c0e2(0x1fc)](_0x13387d){const _0x2775d3=_0x46c0e2,_0x38691a=this[_0x2775d3(0x1e8)][_0x2775d3(0x1dc)](_0x13387d),_0x317bc0=_0x38691a&&this[_0x2775d3(0x1c8)]?.[_0x2775d3(0x1dc)](this[_0x2775d3(0x1c8)][_0x2775d3(0x1dd)](_0x38691a)+0x1);return _0x317bc0&&this[_0x2775d3(0x1e0)](_0x317bc0)||null;}[_0x46c0e2(0x1cc)](_0x9e6aa5,_0x10de47){const _0x181268=_0x46c0e2;_0x9e6aa5[_0x181268(0x1fa)]();const _0x52208d=G(_0x10de47[_0x181268(0x209)]+this[_0x181268(0x1e1)],_0x9e6aa5[_0x181268(0x211)]);return!!_0x52208d&&(this[_0x181268(0x1f6)](_0x10de47,_0x10de47[_0x181268(0x211)]-_0x52208d),!0x0);}[_0x46c0e2(0x1cd)](_0x28096c,_0x39e4e7){const _0x2d9ae5=_0x46c0e2;_0x28096c[_0x2d9ae5(0x1fa)]();const _0x76b3e5=G(_0x28096c[_0x2d9ae5(0x209)]+this[_0x2d9ae5(0x1e1)],_0x39e4e7[_0x2d9ae5(0x211)]);return!!_0x76b3e5&&(this[_0x2d9ae5(0x1f6)](_0x39e4e7,_0x39e4e7[_0x2d9ae5(0x211)]+_0x76b3e5,!0x1),!0x0);}[_0x46c0e2(0x1f8)](_0x3fcce2){const _0x3f1408=_0x46c0e2,_0x9f1131=this[_0x3f1408(0x1e8)][_0x3f1408(0x1dc)](_0x3fcce2);if(!_0x9f1131||!_0x9f1131[_0x3f1408(0x217)]||!_0x9f1131[_0x3f1408(0x1ee)])return;const _0x1b45b0=this[_0x3f1408(0x21d)](_0x9f1131,_0x9f1131[_0x3f1408(0x1ee)]);this[_0x3f1408(0x1f6)](_0x3fcce2,_0x1b45b0);}[_0x46c0e2(0x21d)](_0xc151f6,_0x3aed7f){const _0x19707a=_0x46c0e2;if(null===_0x3aed7f)return 0x0;if(_0xc151f6[_0x19707a(0x217)]instanceof _0x1f6639)return _0x3aed7f[_0x19707a(0x211)];{const _0x24864f=new _0x1f6639(this[_0x19707a(0x1d5)][_0x19707a(0x1e3)])[_0x19707a(0x211)];return _0x3aed7f[_0x19707a(0x211)]-_0x24864f;}}[_0x46c0e2(0x1f6)](_0x344595,_0x4792e0,_0x4f16f4=this[_0x46c0e2(0x210)][_0x46c0e2(0x21e)][_0x46c0e2(0x1dc)](_0x46c0e2(0x1ca))){const _0x36fdd7=_0x46c0e2;_0x4f16f4&&(_0x4792e0=Math[_0x36fdd7(0x201)](_0x4792e0,this[_0x36fdd7(0x1c4)](_0x344595))),_0x344595[_0x36fdd7(0x211)]=_0x4792e0;}[_0x46c0e2(0x1c4)](_0x185216){const _0x21adef=_0x46c0e2;let _0x308402=this[_0x21adef(0x206)](_0x185216),_0x16d6c5=0x0;for(;_0x308402;)_0x308402[_0x21adef(0x1fa)](),_0x16d6c5+=this[_0x21adef(0x1e1)]+_0x308402[_0x21adef(0x1fb)],_0x308402=this[_0x21adef(0x206)](_0x308402);return _0x16d6c5;}}function G(_0x4c64bc,_0x3fd03e){const _0x1329d3=_0x46c0e2;return Math[_0x1329d3(0x201)](_0x4c64bc-_0x3fd03e,0x0);}function g(_0x33449c){const _0x21f6fe=_0x46c0e2;return null!==_0x33449c&&_0x21f6fe(0x212)==typeof _0x33449c&&0x1===_0x33449c[_0x21f6fe(0x1f7)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4b6746=_0x23e6;function _0x43a1(){const _0x510a40=['counterView','_badge','2929WKirIf','annotationType','144980mHkcqA','set','toString','bindTemplate','9852WJxpRG','9IdhHJI','add','305090CGgCnF','ck-annotation-counter','isDirty','ck-annotation-counter__badge--','791256MWfnfT','4917HxxUpz','446980ZNMSyG','18RJkPHz','extendTemplate','children','109424YdAgyz','...','148jCTtBe','ck-annotation-counter__badge','icon','setTemplate','span','bind','ck-annotation-counter__badge--edit-mode','number','3ggUjCv'];_0x43a1=function(){return _0x510a40;};return _0x43a1();}(function(_0x496359,_0x28eacc){const _0x2f16a1=_0x23e6,_0x564ed2=_0x496359();while(!![]){try{const _0x48c891=-parseInt(_0x2f16a1(0xfe))/0x1*(parseInt(_0x2f16a1(0x113))/0x2)+parseInt(_0x2f16a1(0xfb))/0x3*(parseInt(_0x2f16a1(0x100))/0x4)+-parseInt(_0x2f16a1(0x10d))/0x5+-parseInt(_0x2f16a1(0x10e))/0x6*(parseInt(_0x2f16a1(0x111))/0x7)+-parseInt(_0x2f16a1(0x10b))/0x8*(-parseInt(_0x2f16a1(0x105))/0x9)+-parseInt(_0x2f16a1(0x107))/0xa+-parseInt(_0x2f16a1(0x10c))/0xb*(-parseInt(_0x2f16a1(0x104))/0xc);if(_0x48c891===_0x28eacc)break;else _0x564ed2['push'](_0x564ed2['shift']());}catch(_0x31a63a){_0x564ed2['push'](_0x564ed2['shift']());}}}(_0x43a1,0x1cf40));import{ButtonView as _0x3441dc,View as _0x342b24}from'ckeditor5/src/ui.js';import{IconAddComment as _0x407d4b}from'ckeditor5/src/icons.js';function _0x23e6(_0x32dd4d,_0x310787){const _0x43a1c2=_0x43a1();return _0x23e6=function(_0x23e6f1,_0x37aba4){_0x23e6f1=_0x23e6f1-0xfa;let _0x3c5630=_0x43a1c2[_0x23e6f1];return _0x3c5630;},_0x23e6(_0x32dd4d,_0x310787);}export class AnnotationCounterButtonView extends _0x3441dc{[_0x4b6746(0xfc)];constructor(_0x2097b9){const _0x1e3324=_0x4b6746;super(_0x2097b9);const _0x15c18c=this[_0x1e3324(0x103)];this[_0x1e3324(0x101)](_0x1e3324(0x109),!0x1),this[_0x1e3324(0x101)](_0x1e3324(0xfa),0x0),this[_0x1e3324(0x118)](_0x1e3324(0xfd))['to'](this,_0x1e3324(0x109),this,_0x1e3324(0xfa),(_0x1c2b09,_0x3e97bf)=>_0x1c2b09?_0x1e3324(0x112):_0x3e97bf[_0x1e3324(0x102)]()),this[_0x1e3324(0x101)](_0x1e3324(0xff),''),this[_0x1e3324(0x115)]=_0x407d4b,this[_0x1e3324(0x10f)]({'attributes':{'class':[_0x1e3324(0x108)]}}),this[_0x1e3324(0xfc)]=new _0x342b24(),this[_0x1e3324(0xfc)][_0x1e3324(0x116)]({'tag':_0x1e3324(0x117),'attributes':{'class':[_0x1e3324(0x114),_0x15c18c['to'](_0x1e3324(0xff),_0x2ec716=>_0x1e3324(0x10a)+_0x2ec716),_0x15c18c['if'](_0x1e3324(0x109),_0x1e3324(0x119))]},'children':[{'text':_0x15c18c['to'](_0x1e3324(0xfd))}]}),this[_0x1e3324(0x110)][_0x1e3324(0x106)](this[_0x1e3324(0xfc)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34bf8b=_0x5c53;(function(_0x2fa6db,_0x445124){const _0x17df3d=_0x5c53,_0x3e3ffe=_0x2fa6db();while(!![]){try{const _0x170634=-parseInt(_0x17df3d(0x112))/0x1*(-parseInt(_0x17df3d(0x10b))/0x2)+parseInt(_0x17df3d(0x10f))/0x3+-parseInt(_0x17df3d(0x116))/0x4+parseInt(_0x17df3d(0x10a))/0x5+parseInt(_0x17df3d(0xfe))/0x6+parseInt(_0x17df3d(0x111))/0x7+-parseInt(_0x17df3d(0xfa))/0x8;if(_0x170634===_0x445124)break;else _0x3e3ffe['push'](_0x3e3ffe['shift']());}catch(_0x97b0f2){_0x3e3ffe['push'](_0x3e3ffe['shift']());}}}(_0xf7a9,0xe1836));import{View as _0x238e02}from'ckeditor5/src/ui.js';function _0x5c53(_0x4ee065,_0x54a9e0){const _0xf7a9d8=_0xf7a9();return _0x5c53=function(_0x5c535f,_0x2eee73){_0x5c535f=_0x5c535f-0xf8;let _0x248c33=_0xf7a9d8[_0x5c535f];return _0x248c33;},_0x5c53(_0x4ee065,_0x54a9e0);}function _0xf7a9(){const _0x30ebf0=['clientHeight','isActive','Esc','targetRect','isDirty','ck-rounded-corners','mainView','arrowdown','_updateHeight','content','29863016pxmmJm','element','div','render','8433714fiXisB','arrowup','height','ck-annotation-wrapper','set','clear','presentation','keystrokes','delegate','attach','detach','_mutationObserver','1699710JgqeaE','1239114MgveYn','fire','focusTracker','ck-annotation-wrapper--active','4760595ddDcYB','first','12697657odxWDF','1JLnAhl','bindTemplate','createCollection','listenTo','4437420WnLTeV','setTemplate','destroy','length','add','type','focus'];_0xf7a9=function(){return _0x30ebf0;};return _0xf7a9();}import{FocusTracker as _0x72b4f7,KeystrokeHandler as _0x229e12,uid as _0x2b0e3f}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x515abe}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x238e02{[_0x34bf8b(0x10d)];['id'];[_0x34bf8b(0x105)];[_0x34bf8b(0xf9)];[_0x34bf8b(0x123)];[_0x34bf8b(0x109)];constructor(_0x34580e,_0xaca276){const _0x9c3fd0=_0x34bf8b;super(_0x34580e),this['id']=_0x2b0e3f(),this[_0x9c3fd0(0x10d)]=new _0x72b4f7(),this[_0x9c3fd0(0x105)]=new _0x229e12(),this[_0x9c3fd0(0x105)][_0x9c3fd0(0x102)](_0x9c3fd0(0x11f),(_0xe1d00f,_0x3da12e)=>this[_0x9c3fd0(0x10c)](_0x9c3fd0(0x11f),_0x3da12e)),this[_0x9c3fd0(0x102)](_0x9c3fd0(0x120),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x9c3fd0(0x102)](_0x9c3fd0(0x100),0x0),this[_0x9c3fd0(0x102)](_0x9c3fd0(0x11e),!0x1),this[_0x9c3fd0(0x102)](_0x9c3fd0(0x121),!0x1),this[_0x9c3fd0(0x102)](_0x9c3fd0(0x119),0x0),this[_0x9c3fd0(0x102)](_0x9c3fd0(0x11b),''),this[_0x9c3fd0(0x109)]=_0x515abe(()=>this[_0x9c3fd0(0xf8)]()),this[_0x9c3fd0(0xf9)]=this[_0x9c3fd0(0x114)](),this[_0x9c3fd0(0xf9)][_0x9c3fd0(0x106)](_0x9c3fd0(0xff),_0x9c3fd0(0x124))['to'](this),this[_0x9c3fd0(0xf9)][_0x9c3fd0(0x11a)](_0xaca276),this[_0x9c3fd0(0x123)]=_0xaca276;const _0x3f9ef2=this[_0x9c3fd0(0x113)];this[_0x9c3fd0(0x117)]({'tag':_0x9c3fd0(0xfc),'attributes':{'class':['ck',_0x9c3fd0(0x101),_0x9c3fd0(0x122),_0x3f9ef2['if'](_0x9c3fd0(0x11e),_0x9c3fd0(0x10e))],'role':_0x9c3fd0(0x104)},'children':this[_0x9c3fd0(0xf9)]});}[_0x34bf8b(0xfd)](){const _0x34b76f=_0x34bf8b;super[_0x34b76f(0xfd)](),this[_0x34b76f(0x10d)][_0x34b76f(0x11a)](this[_0x34b76f(0xfb)]),this[_0x34b76f(0x105)][_0x34b76f(0x115)](this[_0x34b76f(0xfb)]),this[_0x34b76f(0x109)][_0x34b76f(0x107)](this[_0x34b76f(0xfb)]);}[_0x34bf8b(0x118)](){const _0x52f9d9=_0x34bf8b;this[_0x52f9d9(0xf9)][_0x52f9d9(0x103)](),this[_0x52f9d9(0x105)][_0x52f9d9(0x118)](),this[_0x52f9d9(0x10d)][_0x52f9d9(0x118)](),this[_0x52f9d9(0x109)][_0x52f9d9(0x108)](),super[_0x52f9d9(0x118)]();}[_0x34bf8b(0x11c)](){const _0x59dcc8=_0x34bf8b;this[_0x59dcc8(0xf9)][_0x59dcc8(0x110)]&&this[_0x59dcc8(0xf9)][_0x59dcc8(0x110)][_0x59dcc8(0x11c)]();}[_0x34bf8b(0xf8)](){const _0x3bb1b7=_0x34bf8b,_0x41d9a1=this[_0x3bb1b7(0xfb)][_0x3bb1b7(0x11d)];_0x41d9a1&&(this[_0x3bb1b7(0x100)]=_0x41d9a1);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x18d67b=_0x4834;(function(_0x28d696,_0x431232){const _0x59900=_0x4834,_0x2162cd=_0x28d696();while(!![]){try{const _0x20509c=parseInt(_0x59900(0x1ab))/0x1*(parseInt(_0x59900(0x18d))/0x2)+parseInt(_0x59900(0x189))/0x3+-parseInt(_0x59900(0x18b))/0x4+-parseInt(_0x59900(0x1a1))/0x5*(parseInt(_0x59900(0x1a2))/0x6)+parseInt(_0x59900(0x19c))/0x7+parseInt(_0x59900(0x198))/0x8*(-parseInt(_0x59900(0x197))/0x9)+-parseInt(_0x59900(0x18e))/0xa*(-parseInt(_0x59900(0x195))/0xb);if(_0x20509c===_0x431232)break;else _0x2162cd['push'](_0x2162cd['shift']());}catch(_0xf8e27b){_0x2162cd['push'](_0x2162cd['shift']());}}}(_0xf7f8,0x40cdb));import{View as _0x11f6f3}from'ckeditor5/src/ui.js';import{toUnit as _0x315a0b}from'ckeditor5/src/utils.js';function _0x4834(_0x5254bb,_0x34c26b){const _0xf7f852=_0xf7f8();return _0x4834=function(_0x4834ce,_0x4b26e0){_0x4834ce=_0x4834ce-0x184;let _0x132a27=_0xf7f852[_0x4834ce];return _0x132a27;},_0x4834(_0x5254bb,_0x34c26b);}function _0xf7f8(){const _0x17495c=['114184hRXHto','set','ck-sidebar-item','presentation','2087330ABKxPI','top','delegate','clientHeight','detach','187310omVgIQ','6csXWFB','element','focus','bottom','arrowup','height','updateHeight','first','div','661XemUJi','render','_targetTop','content','clear','_mutationObserver','533172azounN','attach','1893460qgqduq','arrowdown','118iVJSvu','2898950PogBQG','bindTemplate','setTemplate','isAnimationDisabled','bind','destroy','ck-sidebar-item--no-animation','11GfoEZw','createCollection','18qOvyri'];_0xf7f8=function(){return _0x17495c;};return _0xf7f8();}import{createMutationObserver as _0x2c9f4c}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x315a0b('px');export class AnnotationsSidebarItemView extends _0x11f6f3{[_0x18d67b(0x186)];[_0x18d67b(0x185)];[_0x18d67b(0x188)];constructor(_0x178579){const _0x5e0e3b=_0x18d67b;super(_0x178579),this[_0x5e0e3b(0x199)](_0x5e0e3b(0x19d),0x0),this[_0x5e0e3b(0x199)](_0x5e0e3b(0x1a7),0x0),this[_0x5e0e3b(0x192)](_0x5e0e3b(0x1a5))['to'](this,_0x5e0e3b(0x19d),this,_0x5e0e3b(0x1a7),(_0x12a917,_0x50a172)=>_0x12a917+_0x50a172),this[_0x5e0e3b(0x199)](_0x5e0e3b(0x191),!0x1),this[_0x5e0e3b(0x188)]=_0x2c9f4c(()=>this[_0x5e0e3b(0x1a8)]()),this[_0x5e0e3b(0x185)]=null,this[_0x5e0e3b(0x186)]=this[_0x5e0e3b(0x196)](),this[_0x5e0e3b(0x186)][_0x5e0e3b(0x19e)](_0x5e0e3b(0x1a6),_0x5e0e3b(0x18c))['to'](this);const _0x4934a=this[_0x5e0e3b(0x18f)];this[_0x5e0e3b(0x190)]({'tag':_0x5e0e3b(0x1aa),'attributes':{'class':[_0x5e0e3b(0x19a),_0x4934a['to'](_0x5e0e3b(0x191),_0x6ac05=>_0x6ac05?_0x5e0e3b(0x194):'')],'style':{'top':_0x4934a['to'](_0x5e0e3b(0x19d),_0x2bb27d=>Ot(_0x2bb27d))},'role':_0x5e0e3b(0x19b)},'children':this[_0x5e0e3b(0x186)]});}[_0x18d67b(0x184)](){const _0x16e71e=_0x18d67b;super[_0x16e71e(0x184)](),this[_0x16e71e(0x188)][_0x16e71e(0x18a)](this[_0x16e71e(0x1a3)]);}[_0x18d67b(0x1a4)](){const _0x39301c=_0x18d67b;this[_0x39301c(0x186)][_0x39301c(0x1a9)]&&this[_0x39301c(0x186)][_0x39301c(0x1a9)][_0x39301c(0x1a4)]();}[_0x18d67b(0x1a8)](){const _0x741357=_0x18d67b,_0x47a775=this[_0x741357(0x1a3)][_0x741357(0x19f)];_0x47a775&&(this[_0x741357(0x1a7)]=_0x47a775);}[_0x18d67b(0x193)](){const _0x52780c=_0x18d67b;this[_0x52780c(0x186)][_0x52780c(0x187)](),this[_0x52780c(0x188)][_0x52780c(0x1a0)](),super[_0x52780c(0x193)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x20e104=_0x4d62;(function(_0x536415,_0x3aec39){const _0x25fba4=_0x4d62,_0x3a0347=_0x536415();while(!![]){try{const _0x2bf1dc=-parseInt(_0x25fba4(0x1b2))/0x1*(-parseInt(_0x25fba4(0x1a6))/0x2)+parseInt(_0x25fba4(0x1ac))/0x3*(-parseInt(_0x25fba4(0x1b6))/0x4)+parseInt(_0x25fba4(0x197))/0x5*(parseInt(_0x25fba4(0x191))/0x6)+-parseInt(_0x25fba4(0x1a7))/0x7+parseInt(_0x25fba4(0x199))/0x8*(-parseInt(_0x25fba4(0x18f))/0x9)+parseInt(_0x25fba4(0x19d))/0xa+-parseInt(_0x25fba4(0x1b3))/0xb*(-parseInt(_0x25fba4(0x1ae))/0xc);if(_0x2bf1dc===_0x3aec39)break;else _0x3a0347['push'](_0x3a0347['shift']());}catch(_0x53e05e){_0x3a0347['push'](_0x3a0347['shift']());}}}(_0x4a62,0x6adca));import{View as _0x459c53,FocusCycler as _0xc00500}from'ckeditor5/src/ui.js';import{FocusTracker as _0x180de0,toUnit as _0x565e9e}from'ckeditor5/src/utils.js';import{getTranslation as _0x261ec4}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';function _0x4d62(_0x200d3e,_0xf17794){const _0x4a6231=_0x4a62();return _0x4d62=function(_0x4d621b,_0x4cf8e6){_0x4d621b=_0x4d621b-0x18e;let _0x15c480=_0x4a6231[_0x4d621b];return _0x15c480;},_0x4d62(_0x200d3e,_0xf17794);}function _0x4a62(){const _0x2b6d36=['arrowup','arrowdown','forEach','number','element','ck-sidebar','focusables','2vOUTsl','4628708iAZLhZ','bindTemplate','_updateItemPositionInFocusables','minHeight','ck-reset','54Xxewrj','set','4114788txwkCy','Annotations\x20sidebar','focusCycler','_setupKeyboardNavigation','824197jQhlhg','22rKpIwE','application','list','186344BPwNNc','added','div','remove','listenTo','change','setTemplate','focusTracker','top','focus','getIndex','source','delegate','class','9fiAcVo','Annotations\x20list','1585308knGmpm','removed','focusPrevious','uiLanguageDirection','change:top','focusNext','5MjLiLj','render','5241992LvaDcC','focusFirst','length','createCollection','8185340ziygwZ','add'];_0x4a62=function(){return _0x2b6d36;};return _0x4a62();}const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x565e9e('px');export class AnnotationsSidebarView extends _0x459c53{[_0x20e104(0x1b5)];[_0x20e104(0x1a5)];[_0x20e104(0x1bd)];[_0x20e104(0x1b0)];constructor(_0xea8280){const _0x2ea90a=_0x20e104;super(_0xea8280);const _0x62608a=this[_0x2ea90a(0x1a8)];this[_0x2ea90a(0x1ad)](_0x2ea90a(0x1aa),0x0),this[_0x2ea90a(0x1ad)](_0x2ea90a(0x18e),''),this[_0x2ea90a(0x1b5)]=this[_0x2ea90a(0x19c)](),this[_0x2ea90a(0x1a5)]=this[_0x2ea90a(0x19c)](),this[_0x2ea90a(0x1b5)][_0x2ea90a(0x1c2)](_0x2ea90a(0x19f),_0x2ea90a(0x1a0))['to'](this),this[_0x2ea90a(0x1bd)]=new _0x180de0(),this[_0x2ea90a(0x1b0)]=new _0xc00500({'focusables':this[_0x2ea90a(0x1a5)],'focusTracker':this[_0x2ea90a(0x1bd)]}),this[_0x2ea90a(0x1bc)]({'tag':_0x2ea90a(0x1b8),'attributes':{'class':['ck',_0x2ea90a(0x1a4),_0x2ea90a(0x1ab),_0x62608a['to'](_0x2ea90a(0x18e))],'style':{'minHeight':_0x62608a['to'](_0x2ea90a(0x1aa),_0x59f9cc=>_0x2ea90a(0x1a2)==typeof _0x59f9cc?Ot(_0x59f9cc+0xa):null)},'dir':_0xea8280[_0x2ea90a(0x194)],'role':_0x2ea90a(0x1b4),'aria-label':_0x261ec4(_0xea8280,_0x2ea90a(0x1af)),'tabindex':0x0},'children':[{'tag':_0x2ea90a(0x1b8),'attributes':{'role':_0x2ea90a(0x1b5),'aria-label':_0x261ec4(_0xea8280,_0x2ea90a(0x190))},'children':this[_0x2ea90a(0x1b5)]}]});}[_0x20e104(0x198)](){const _0x107b90=_0x20e104;super[_0x107b90(0x198)](),this[_0x107b90(0x1b1)]();}[_0x20e104(0x1bf)](){const _0x56cdaf=_0x20e104;this[_0x56cdaf(0x1b0)][_0x56cdaf(0x19a)]();}[_0x20e104(0x1b1)](){const _0x34adcd=_0x20e104;this[_0x34adcd(0x1b5)][_0x34adcd(0x1c2)](_0x34adcd(0x195))['to'](this),this['on'](_0x34adcd(0x195),_0x23efdf=>{const _0x280879=_0x34adcd;this[_0x280879(0x1a9)](_0x23efdf[_0x280879(0x1c1)]);}),this[_0x34adcd(0x1b5)][_0x34adcd(0x1a1)](_0x486a65=>{const _0x260192=_0x34adcd;this[_0x260192(0x1bd)][_0x260192(0x19e)](_0x486a65[_0x260192(0x1a3)]),this[_0x260192(0x1a9)](_0x486a65);}),this[_0x34adcd(0x1b5)]['on'](_0x34adcd(0x1bb),(_0x3540fb,_0x121044)=>{const _0x34410a=_0x34adcd;for(const _0x51deed of _0x121044[_0x34410a(0x192)])this[_0x34410a(0x1bd)][_0x34410a(0x1b9)](_0x51deed[_0x34410a(0x1a3)]),this[_0x34410a(0x1a5)][_0x34410a(0x1b9)](_0x51deed);for(const _0x801069 of _0x121044[_0x34410a(0x1b7)])this[_0x34410a(0x1bd)][_0x34410a(0x19e)](_0x801069[_0x34410a(0x1a3)]),this[_0x34410a(0x1a9)](_0x801069);}),this['on'](_0x34adcd(0x19f),()=>{const _0x73be06=_0x34adcd;this[_0x73be06(0x1b0)][_0x73be06(0x193)]();}),this['on'](_0x34adcd(0x1a0),()=>{const _0x2f2dfa=_0x34adcd;this[_0x2f2dfa(0x1b0)][_0x2f2dfa(0x196)]();}),this[_0x34adcd(0x1ba)](this[_0x34adcd(0x1a3)],_0x34adcd(0x1bf),()=>{const _0x1db862=_0x34adcd;this[_0x1db862(0x1bf)]();});}[_0x20e104(0x1a9)](_0x5c6fa6){const _0x50361a=_0x20e104,_0x452d96=this[_0x50361a(0x1a5)][_0x50361a(0x1c0)](_0x5c6fa6);let _0x4cdd69,_0x9518f2;for(const _0x9b3be of this[_0x50361a(0x1a5)])if(_0x5c6fa6[_0x50361a(0x1be)]<_0x9b3be[_0x50361a(0x1be)]){_0x4cdd69=_0x9b3be;break;}if(_0x9518f2=_0x4cdd69?this[_0x50361a(0x1a5)][_0x50361a(0x1c0)](_0x4cdd69):this[_0x50361a(0x1a5)][_0x50361a(0x19b)],-0x1!==_0x452d96){if(_0x452d96===_0x9518f2-0x1)return;this[_0x50361a(0x1a5)][_0x50361a(0x1b9)](_0x5c6fa6),_0x9518f2=_0x4cdd69?this[_0x50361a(0x1a5)][_0x50361a(0x1c0)](_0x4cdd69):this[_0x50361a(0x1a5)][_0x50361a(0x19b)];}this[_0x50361a(0x1a5)][_0x50361a(0x19e)](_0x5c6fa6,_0x9518f2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xcb913a=_0x39f7;(function(_0x3de847,_0x3742f1){const _0x4f6a46=_0x39f7,_0x5915b6=_0x3de847();while(!![]){try{const _0x103e2d=parseInt(_0x4f6a46(0x117))/0x1+-parseInt(_0x4f6a46(0x111))/0x2+parseInt(_0x4f6a46(0x154))/0x3*(-parseInt(_0x4f6a46(0x13a))/0x4)+parseInt(_0x4f6a46(0x11a))/0x5+parseInt(_0x4f6a46(0x14b))/0x6+-parseInt(_0x4f6a46(0x132))/0x7+-parseInt(_0x4f6a46(0x141))/0x8*(-parseInt(_0x4f6a46(0x11f))/0x9);if(_0x103e2d===_0x3742f1)break;else _0x5915b6['push'](_0x5915b6['shift']());}catch(_0x3c5aed){_0x5915b6['push'](_0x5915b6['shift']());}}}(_0xb3fb,0x80b92));import{ContextPlugin as _0x51ae6b,Context as _0x2a5339}from'ckeditor5/src/core.js';function _0xb3fb(){const _0x36a27d=['switchTo','stopListening','updateTargetRect','964107kBEaJh','focus','WideSidebar','refresh','_detachFromContainer','change:container','remove','isPremiumPlugin','has','pluginName','ck-sidebar--wide','register','widesidebar-detach-not-attached','widesidebar-attach-already-attached','_refreshPositioningDebounced','high','cancel','off','activeAnnotation','1167495CboKPL','editors','refreshPositioning','context','refreshVisibility','_attachToContainer','from','set','3837116qjdITt','annotations','isOfficialPlugin','hasDomSelection','setActiveAnnotation','wideSidebar','getOrderedSelectedAnnotations','72Tlzias','plugins','destroy','isAttached','addAnnotation','ready','add','removeEventListener','set:container','detach','1703064chMUuw','get','resize','requires','addEventListener','_editorAnnotations','EditorAnnotations','_destroyEditorAnnotationsIntegration','Annotations','3RNxYuD','_integrateWithEditorAnnotations','blur','_annotations','1214870TYUlhm','listenTo','stop','attach','_activeAnnotation','uiUpdate','856747MFhNOS','container','rearrange','780255MnmAgZ','init'];_0xb3fb=function(){return _0x36a27d;};return _0xb3fb();}import{AnnotationsUIs as _0x907d93}from'./annotationsuis.js';import{Sidebar as _0x2cddb0}from'./sidebar.js';import{CKEditorError as _0x197f60,Collection as _0xc45ad9}from'ckeditor5/src/utils.js';function _0x39f7(_0x20740f,_0x26b271){const _0xb3fb13=_0xb3fb();return _0x39f7=function(_0x39f7de,_0x51b3fd){_0x39f7de=_0x39f7de-0x10e;let _0x41b10f=_0xb3fb13[_0x39f7de];return _0x41b10f;},_0x39f7(_0x20740f,_0x26b271);}import{debounce as _0x2e2507}from'es-toolkit/compat';export class WideSidebar extends _0x51ae6b{[_0xcb913a(0x144)];[_0xcb913a(0x13b)];[_0xcb913a(0x150)];[_0xcb913a(0x12d)];static get[_0xcb913a(0x14e)](){return[_0x2cddb0,_0x907d93];}static get[_0xcb913a(0x128)](){const _0x2a5869=_0xcb913a;return _0x2a5869(0x121);}static get[_0xcb913a(0x13c)](){return!0x0;}static get[_0xcb913a(0x126)](){return!0x0;}constructor(_0x5acdc4){const _0x46ef44=_0xcb913a;super(_0x5acdc4),this[_0x46ef44(0x144)]=!0x1,this[_0x46ef44(0x139)](_0x46ef44(0x131),null),this[_0x46ef44(0x13b)]=null,this[_0x46ef44(0x150)]=new _0xc45ad9(),this[_0x46ef44(0x12d)]=_0x2e2507(()=>{const _0x559741=_0x46ef44;_0x5acdc4[_0x559741(0x142)][_0x559741(0x14c)](_0x559741(0x153))[_0x559741(0x136)](),this[_0x559741(0x13b)][_0x559741(0x134)]();},0xfa,{'leading':!0x1});}[_0xcb913a(0x11b)](){const _0x2cf000=_0xcb913a,_0x55d4f8=this[_0x2cf000(0x135)][_0x2cf000(0x142)][_0x2cf000(0x14c)](_0x907d93),_0x5370ba=this[_0x2cf000(0x135)][_0x2cf000(0x142)][_0x2cf000(0x14c)](_0x2cddb0);_0x55d4f8[_0x2cf000(0x12a)](_0x2cf000(0x13f),this),_0x5370ba[_0x2cf000(0x118)]&&_0x55d4f8[_0x2cf000(0x11c)](_0x2cf000(0x13f));}[_0xcb913a(0x13e)](_0x22d2ed){const _0x5121be=_0xcb913a;if(_0x22d2ed===this[_0x5121be(0x131)])return;const _0x5b45b7=this[_0x5121be(0x135)][_0x5121be(0x142)][_0x5121be(0x14c)](_0x2cddb0);_0x5b45b7[_0x5121be(0x115)]=_0x22d2ed;const _0x51ae1e=this[_0x5121be(0x131)];_0x5b45b7[_0x5121be(0x122)]({'blurredAnnotation':_0x51ae1e,'activatedAnnotation':_0x22d2ed}),this[_0x5121be(0x131)]=_0x22d2ed;}[_0xcb913a(0x114)](_0x58d876){const _0x2f85e7=_0xcb913a;this[_0x2f85e7(0x13b)]=_0x58d876;const _0x4d42b4=this[_0x2f85e7(0x135)][_0x2f85e7(0x142)][_0x2f85e7(0x14c)](_0x2cddb0);if(_0x4d42b4[_0x2f85e7(0x110)]=_0x58d876,this[_0x2f85e7(0x144)])throw new _0x197f60(_0x2f85e7(0x12c),this);this[_0x2f85e7(0x144)]=!0x0,this[_0x2f85e7(0x112)](_0x4d42b4,_0x2f85e7(0x149),()=>{const _0x1defc3=_0x2f85e7;this[_0x1defc3(0x14a)](),this[_0x1defc3(0x112)](_0x4d42b4,_0x1defc3(0x124),_0x229fe6=>{const _0x5e3ed7=_0x1defc3;_0x229fe6[_0x5e3ed7(0x130)](),this[_0x5e3ed7(0x114)](_0x58d876);});}),_0x4d42b4[_0x2f85e7(0x137)]({'viewClass':_0x2f85e7(0x129)});const _0x503599=_0x11464c=>{const _0x30ab97=_0x2f85e7;_0x11464c[_0x30ab97(0x11e)](),_0x4d42b4[_0x30ab97(0x145)](_0x11464c);};for(const _0x4a654e of _0x58d876)_0x503599(_0x4a654e);this[_0x2f85e7(0x112)](_0x58d876,_0x2f85e7(0x147),(_0x3fcbf1,_0x97399c)=>{_0x503599(_0x97399c);}),this[_0x2f85e7(0x112)](_0x58d876,_0x2f85e7(0x125),(_0x25c50c,_0x54517a,_0x477d0e)=>{const _0x49a8f4=_0x2f85e7;_0x4d42b4[_0x49a8f4(0x119)]({'removedAnnotation':_0x54517a,'previousAnnotation':_0x58d876[_0x49a8f4(0x14c)](_0x477d0e-0x1),'nextAnnotation':_0x58d876[_0x49a8f4(0x14c)](_0x477d0e+0x1)}),_0x54517a===this[_0x49a8f4(0x131)]&&this[_0x49a8f4(0x13e)](null);},{'priority':_0x2f85e7(0x12e)}),this[_0x2f85e7(0x112)](_0x58d876,_0x2f85e7(0x120),(_0x3b3051,_0x380bc2)=>{const _0x2395ca=_0x2f85e7;this[_0x2395ca(0x13e)](_0x380bc2);}),this[_0x2f85e7(0x112)](_0x58d876,_0x2f85e7(0x10f),()=>{const _0x57e49b=_0x2f85e7;this[_0x57e49b(0x13e)](null);});const _0x11898e=this[_0x2f85e7(0x135)]instanceof _0x2a5339?this[_0x2f85e7(0x135)][_0x2f85e7(0x133)]:new _0xc45ad9([this[_0x2f85e7(0x135)]]);for(const _0x5b8609 of _0x11898e)this[_0x2f85e7(0x10e)](_0x5b8609);this[_0x2f85e7(0x112)](_0x11898e,_0x2f85e7(0x147),(_0x63467,_0x1610b3)=>{const _0x9e9f8c=_0x2f85e7;this[_0x9e9f8c(0x112)](_0x1610b3,_0x9e9f8c(0x146),()=>{const _0x3ce2d9=_0x9e9f8c;this[_0x3ce2d9(0x10e)](_0x1610b3);});}),this[_0x2f85e7(0x112)](_0x11898e,_0x2f85e7(0x125),(_0x2cd160,_0xa67492)=>{const _0x570fdf=_0x2f85e7;_0xa67492[_0x570fdf(0x142)][_0x570fdf(0x127)](_0x570fdf(0x151))&&this[_0x570fdf(0x152)](_0xa67492[_0x570fdf(0x142)][_0x570fdf(0x14c)](_0x570fdf(0x151)));}),window[_0x2f85e7(0x14f)](_0x2f85e7(0x14d),this[_0x2f85e7(0x12d)]),this[_0x2f85e7(0x135)][_0x2f85e7(0x142)][_0x2f85e7(0x14c)](_0x2f85e7(0x153))[_0x2f85e7(0x136)](),this[_0x2f85e7(0x13b)][_0x2f85e7(0x134)]();}[_0xcb913a(0x14a)](){const _0x316a8d=_0xcb913a;if(!this[_0x316a8d(0x144)])throw new _0x197f60(_0x316a8d(0x12b),this);this[_0x316a8d(0x13e)](null);const _0x51c9e8=this[_0x316a8d(0x135)][_0x316a8d(0x142)][_0x316a8d(0x14c)](_0x2cddb0);_0x51c9e8[_0x316a8d(0x123)](this[_0x316a8d(0x13b)]),this[_0x316a8d(0x11d)](_0x51c9e8),this[_0x316a8d(0x11d)](this[_0x316a8d(0x13b)]),this[_0x316a8d(0x135)]instanceof _0x2a5339&&this[_0x316a8d(0x11d)](this[_0x316a8d(0x135)][_0x316a8d(0x133)]);for(const _0x284943 of Array[_0x316a8d(0x138)](this[_0x316a8d(0x150)]))this[_0x316a8d(0x152)](_0x284943);window[_0x316a8d(0x148)](_0x316a8d(0x14d),this[_0x316a8d(0x12d)]),this[_0x316a8d(0x12d)][_0x316a8d(0x12f)](),this[_0x316a8d(0x131)]=null,this[_0x316a8d(0x144)]=!0x1,this[_0x316a8d(0x13b)]=null;}[_0xcb913a(0x143)](){const _0x3eff20=_0xcb913a;this[_0x3eff20(0x144)]&&this[_0x3eff20(0x14a)]();}[_0xcb913a(0x10e)](_0x1b3404){const _0x19b6b8=_0xcb913a;if(!_0x1b3404[_0x19b6b8(0x142)][_0x19b6b8(0x127)](_0x19b6b8(0x151)))return;const _0x28f565=_0x1b3404[_0x19b6b8(0x142)][_0x19b6b8(0x14c)](_0x19b6b8(0x151)),_0xe751a4=()=>{const _0x2e5821=_0x19b6b8,_0x36d7d8=_0x28f565[_0x2e5821(0x140)]({'annotations':this[_0x2e5821(0x13b)],'activeAnnotation':this[_0x2e5821(0x131)]});this[_0x2e5821(0x13e)](_0x36d7d8[0x0]||null);};this[_0x19b6b8(0x112)](_0x28f565,_0x19b6b8(0x122),_0xe751a4),this[_0x19b6b8(0x112)](_0x28f565,_0x19b6b8(0x10f),(_0x1841dc,{isAnnotationTracked:_0x460f26})=>{const _0x3ec6fa=_0x19b6b8;this[_0x3ec6fa(0x131)]&&_0x460f26(this[_0x3ec6fa(0x131)])&&this[_0x3ec6fa(0x13e)](null);}),this[_0x19b6b8(0x112)](_0x28f565,_0x19b6b8(0x116),()=>{const _0xe94a1a=_0x19b6b8;this[_0xe94a1a(0x12d)]();}),this[_0x19b6b8(0x112)](this[_0x19b6b8(0x13b)],_0x19b6b8(0x10f),_0x3902be=>{const _0x14c7e5=_0x19b6b8;_0x28f565[_0x14c7e5(0x13d)]()&&(_0xe751a4(),_0x3902be[_0x14c7e5(0x113)]());},{'priority':_0x19b6b8(0x12e)}),this[_0x19b6b8(0x150)][_0x19b6b8(0x147)](_0x28f565);}[_0xcb913a(0x152)](_0x2b6ce3){const _0x20f402=_0xcb913a;this[_0x20f402(0x11d)](_0x2b6ce3),this[_0x20f402(0x150)][_0x20f402(0x125)](_0x2b6ce3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x194946=_0x2d09;(function(_0x331f82,_0x17b3d9){const _0xd55c04=_0x2d09,_0x81bbdc=_0x331f82();while(!![]){try{const _0x252571=-parseInt(_0xd55c04(0x1a5))/0x1*(parseInt(_0xd55c04(0x1b7))/0x2)+parseInt(_0xd55c04(0x1bf))/0x3*(parseInt(_0xd55c04(0x19b))/0x4)+parseInt(_0xd55c04(0x1cf))/0x5*(parseInt(_0xd55c04(0x1c6))/0x6)+parseInt(_0xd55c04(0x1be))/0x7+parseInt(_0xd55c04(0x1c4))/0x8*(parseInt(_0xd55c04(0x1c7))/0x9)+parseInt(_0xd55c04(0x1bb))/0xa+-parseInt(_0xd55c04(0x1aa))/0xb;if(_0x252571===_0x17b3d9)break;else _0x81bbdc['push'](_0x81bbdc['shift']());}catch(_0x3a075e){_0x81bbdc['push'](_0x81bbdc['shift']());}}}(_0x1e81,0xc1ea8));function _0x2d09(_0x2107a3,_0x3913a1){const _0x1e81f0=_0x1e81();return _0x2d09=function(_0x2d09f2,_0x2184cd){_0x2d09f2=_0x2d09f2-0x19b;let _0x14629b=_0x1e81f0[_0x2d09f2];return _0x14629b;},_0x2d09(_0x2107a3,_0x3913a1);}import{Command as _0x4957e3}from'ckeditor5/src/core.js';import{uid as _0x4d8f14,CKEditorError as _0x597e69}from'ckeditor5/src/utils.js';function _0x1e81(){const _0x2a3a85=['item','$textProxy','addcommentthreadcommand-user-not-found','1409793pQWBDw','tableCell','execute','start','document','Users','change','get','push','_hasContent','length','_createMarkersFromRanges','end','246022ONOkSb','_trimToContent','comment:','isObject','2142300iCGAol','createRange','addCommentThread','7710458xwtyit','177hgLCnU','model','from','backward','editor','3224HDKntA','substr','18OIDgWu','4761AnhmQT','isEnabled','_itemIsContent','getLastMatchingPosition','CommentsRepository','getItems','plugins','addMarker','459545ORYXZp','config','6908PLvVpO','collaboration.channelId','selection','set','refresh','addcommentthreadcommand-incorrect-ranges','schema','element','_createCommentThread','hasContent','8rRvgUB','getRanges'];_0x1e81=function(){return _0x2a3a85;};return _0x1e81();}export class AddCommentThreadCommand extends _0x4957e3{constructor(_0x22df06){const _0x4c0c81=_0x2d09;super(_0x22df06),this[_0x4c0c81(0x19e)](_0x4c0c81(0x1a4),!0x1);}[_0x194946(0x19f)](){const _0x56c690=_0x194946,_0x38784d=this[_0x56c690(0x1c3)][_0x56c690(0x1c0)][_0x56c690(0x1ae)][_0x56c690(0x19d)];this[_0x56c690(0x1c8)]=!0x0,this[_0x56c690(0x1a4)]=!0x1;for(const _0x542dda of _0x38784d[_0x56c690(0x1a6)]())if(this[_0x56c690(0x1b3)](_0x542dda))return void(this[_0x56c690(0x1a4)]=!0x0);}[_0x194946(0x1ac)]({threadId:_0x166728=_0x4d8f14(),ranges:_0x5a42fc,comment:_0x588100}={}){const _0x1f4877=_0x194946,_0x5884a8=this[_0x1f4877(0x1c3)][_0x1f4877(0x1c0)],_0x1dcae7=_0x5a42fc??Array[_0x1f4877(0x1c1)](_0x5884a8[_0x1f4877(0x1ae)][_0x1f4877(0x19d)][_0x1f4877(0x1a6)]()),_0x12ba9d=[];for(const _0x1043dc of _0x1dcae7)this[_0x1f4877(0x1b3)](_0x1043dc)&&_0x12ba9d[_0x1f4877(0x1b2)](this[_0x1f4877(0x1b8)](_0x1043dc));if(!_0x12ba9d[_0x1f4877(0x1b4)])throw new _0x597e69(_0x1f4877(0x1a0),null);_0x588100&&this[_0x1f4877(0x1a3)](_0x166728,_0x588100),this[_0x1f4877(0x1b5)](_0x166728,_0x12ba9d,!!_0x588100);}[_0x194946(0x1b5)](_0x542462,_0x277124,_0x5796a6){const _0x145cc2=_0x194946;this[_0x145cc2(0x1c3)][_0x145cc2(0x1c0)][_0x145cc2(0x1b0)](_0x2c7bba=>{const _0x4b46dd=_0x145cc2;for(const _0x1ff3ad of _0x277124){const _0x1d1f0=_0x4d8f14()[_0x4b46dd(0x1c5)](0x1,0x5),_0x5810e4=_0x4b46dd(0x1b9)+_0x542462+':'+_0x1d1f0;_0x2c7bba[_0x4b46dd(0x1ce)](_0x5810e4,{'range':_0x1ff3ad,'usingOperation':_0x5796a6,'affectsData':_0x5796a6});}});}[_0x194946(0x1a3)](_0xe9ec07,_0x43092d){const _0xa68442=_0x194946,_0x570814=this[_0xa68442(0x1c3)][_0xa68442(0x1cd)][_0xa68442(0x1b1)](_0xa68442(0x1cb)),_0x4b705a=this[_0xa68442(0x1c3)][_0xa68442(0x1d0)][_0xa68442(0x1b1)](_0xa68442(0x19c)),_0x2be1fa=this[_0xa68442(0x1c3)][_0xa68442(0x1cd)][_0xa68442(0x1b1)](_0xa68442(0x1af))['me'];if(!_0x2be1fa)throw new _0x597e69(_0xa68442(0x1a9),null);_0x570814[_0xa68442(0x1bd)]({'threadId':_0xe9ec07,'channelId':_0x4b705a,'comments':[{'authorId':_0x2be1fa['id'],'content':_0x43092d,'createdAt':new Date(),'attributes':{}}]});}[_0x194946(0x1b3)](_0x4e7f8c){const _0x327b3d=_0x194946;for(const _0x236fd9 of _0x4e7f8c[_0x327b3d(0x1cc)]())if(this[_0x327b3d(0x1c9)](_0x236fd9))return!0x0;return!0x1;}[_0x194946(0x1c9)](_0x480852){const _0x4f57ff=_0x194946;return _0x480852['is'](_0x4f57ff(0x1a8))||this[_0x4f57ff(0x1c3)][_0x4f57ff(0x1c0)][_0x4f57ff(0x1a1)][_0x4f57ff(0x1ba)](_0x480852)&&!_0x480852['is'](_0x4f57ff(0x1a2),_0x4f57ff(0x1ab));}[_0x194946(0x1b8)](_0x5d063a){const _0x5801a7=_0x194946,_0x9d1079=_0x5da59f=>!this[_0x5801a7(0x1c9)](_0x5da59f[_0x5801a7(0x1a7)]),_0x26a2f2=_0x5d063a[_0x5801a7(0x1ad)][_0x5801a7(0x1ca)](_0x9d1079),_0x468c28=_0x5d063a[_0x5801a7(0x1b6)][_0x5801a7(0x1ca)](_0x9d1079,{'direction':_0x5801a7(0x1c2)});return this[_0x5801a7(0x1c3)][_0x5801a7(0x1c0)][_0x5801a7(0x1bc)](_0x26a2f2,_0x468c28);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1261(_0xda69bb,_0x595000){const _0xa361ae=_0xa361();return _0x1261=function(_0x1261b4,_0x78ec1a){_0x1261b4=_0x1261b4-0x175;let _0x2399ed=_0xa361ae[_0x1261b4];return _0x2399ed;},_0x1261(_0xda69bb,_0x595000);}const _0x3dc3d8=_0x1261;(function(_0x321a9c,_0x5c3066){const _0x2d0b35=_0x1261,_0x2339f6=_0x321a9c();while(!![]){try{const _0x17da48=parseInt(_0x2d0b35(0x193))/0x1+parseInt(_0x2d0b35(0x19b))/0x2*(-parseInt(_0x2d0b35(0x177))/0x3)+-parseInt(_0x2d0b35(0x185))/0x4*(-parseInt(_0x2d0b35(0x192))/0x5)+-parseInt(_0x2d0b35(0x195))/0x6+parseInt(_0x2d0b35(0x187))/0x7*(-parseInt(_0x2d0b35(0x188))/0x8)+parseInt(_0x2d0b35(0x186))/0x9+parseInt(_0x2d0b35(0x199))/0xa;if(_0x17da48===_0x5c3066)break;else _0x2339f6['push'](_0x2339f6['shift']());}catch(_0x5cea89){_0x2339f6['push'](_0x2339f6['shift']());}}}(_0xa361,0x3038d));function _0xa361(){const _0x574342=['isActive','588730vbGVfw','CommentsArchive','get','3ZQwZYn','archivedThreads','remove','requires','isVisible','isPremiumPlugin','addCommentThread','has','highest','context','getCommentThread','isOfficialPlugin','listenTo','plugins','4fKIiPt','1156734jwARuP','49tpskGZ','436232sJglmr','focus','add','activate','findIndex','pluginName','removeCommentThread','change:archivedAt','collection','length','1491240OPZKQA','81884pxmGjU','stopListening','1854726aejvCy','init','_calculatePosition','archivedAt','6740480MWxlql'];_0xa361=function(){return _0x574342;};return _0xa361();}import{ContextPlugin as _0x57cf3a}from'ckeditor5/src/core.js';import{Collection as _0x3c0377}from'ckeditor5/src/utils.js';import{CommentsRepository as _0xcb31a6}from'./commentsrepository.js';import{Annotations as _0x356394}from'../annotations/annotations.js';export class CommentsArchive extends _0x57cf3a{static get[_0x3dc3d8(0x18d)](){const _0x5461be=_0x3dc3d8;return _0x5461be(0x175);}static get[_0x3dc3d8(0x182)](){return!0x0;}static get[_0x3dc3d8(0x17c)](){return!0x0;}static get[_0x3dc3d8(0x17a)](){return[_0xcb31a6,_0x356394];}constructor(_0x3cd825){const _0x2722ba=_0x3dc3d8;super(_0x3cd825),this[_0x2722ba(0x178)]=new _0x3c0377();}[_0x3dc3d8(0x196)](){const _0x4633d8=_0x3dc3d8,_0x2a5300=this[_0x4633d8(0x180)],_0x23710b=_0x2a5300[_0x4633d8(0x184)][_0x4633d8(0x176)](_0xcb31a6),_0x2a4fc9=_0x2a5300[_0x4633d8(0x184)][_0x4633d8(0x176)](_0x356394);this[_0x4633d8(0x183)](_0x23710b,_0x4633d8(0x17d),(_0x57b26e,{threadId:_0x1d509})=>{const _0x5e2414=_0x4633d8,_0x462366=_0x23710b[_0x5e2414(0x181)](_0x1d509);_0x462366[_0x5e2414(0x198)]&&this[_0x5e2414(0x178)][_0x5e2414(0x18a)](_0x462366,this[_0x5e2414(0x197)](_0x462366[_0x5e2414(0x198)])),this[_0x5e2414(0x183)](_0x462366,_0x5e2414(0x18f),(_0x39bf9a,_0x4f3f02,_0x1fc883)=>{const _0x5119c5=_0x5e2414;_0x1fc883?this[_0x5119c5(0x178)][_0x5119c5(0x17e)](_0x462366)||this[_0x5119c5(0x178)][_0x5119c5(0x18a)](_0x462366,this[_0x5119c5(0x197)](_0x462366[_0x5119c5(0x198)])):this[_0x5119c5(0x178)][_0x5119c5(0x17e)](_0x462366)&&this[_0x5119c5(0x178)][_0x5119c5(0x179)](_0x462366);});}),this[_0x4633d8(0x183)](_0x23710b,_0x4633d8(0x18e),(_0x329516,{threadId:_0x160819})=>{const _0x52533d=_0x4633d8,_0x4cbea5=_0x23710b[_0x52533d(0x181)](_0x160819);this[_0x52533d(0x194)](_0x4cbea5),this[_0x52533d(0x178)][_0x52533d(0x17e)](_0x4cbea5)&&this[_0x52533d(0x178)][_0x52533d(0x179)](_0x4cbea5);},{'priority':_0x4633d8(0x17f)}),this[_0x4633d8(0x183)](_0x2a4fc9[_0x4633d8(0x190)],_0x4633d8(0x189),(_0x3ef86d,_0x3e6d77)=>{const _0xf7c6d5=_0x4633d8;_0x3e6d77[_0xf7c6d5(0x17b)]||(_0x3e6d77[_0xf7c6d5(0x19a)]=!0x0,_0x2a4fc9[_0xf7c6d5(0x18b)](_0x3e6d77));});}[_0x3dc3d8(0x197)](_0x20f4e4){const _0x1856cb=_0x3dc3d8,_0x3ffda6=[...this[_0x1856cb(0x178)]][_0x1856cb(0x18c)](_0x1f4861=>_0x1f4861[_0x1856cb(0x198)]<_0x20f4e4);return _0x3ffda6>-0x1?_0x3ffda6:this[_0x1856cb(0x178)][_0x1856cb(0x191)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x148373=_0x5cea;(function(_0x5dd8d3,_0x4f42ae){const _0x2c0759=_0x5cea,_0x4f62ca=_0x5dd8d3();while(!![]){try{const _0x4bd47d=parseInt(_0x2c0759(0x153))/0x1+-parseInt(_0x2c0759(0x120))/0x2+parseInt(_0x2c0759(0x132))/0x3*(parseInt(_0x2c0759(0x12a))/0x4)+parseInt(_0x2c0759(0x160))/0x5+parseInt(_0x2c0759(0x12b))/0x6+parseInt(_0x2c0759(0x127))/0x7*(parseInt(_0x2c0759(0x168))/0x8)+-parseInt(_0x2c0759(0x141))/0x9*(parseInt(_0x2c0759(0x13f))/0xa);if(_0x4bd47d===_0x4f42ae)break;else _0x4f62ca['push'](_0x4f62ca['shift']());}catch(_0x3bf7dc){_0x4f62ca['push'](_0x4f62ca['shift']());}}}(_0x3a2a,0x3e015));import'../../theme/commentsarchive.css';import{Plugin as _0x238b6e}from'ckeditor5/src/core.js';function _0x5cea(_0xe811b6,_0x4201e8){const _0x3a2aac=_0x3a2a();return _0x5cea=function(_0x5cea24,_0x34a309){_0x5cea24=_0x5cea24-0x11d;let _0x314017=_0x3a2aac[_0x5cea24];return _0x314017;},_0x5cea(_0xe811b6,_0x4201e8);}function _0x3a2a(){const _0x5157da=['22840teRoWY','Annotations','add','isOfficialPlugin','_handleNewThread','isOn','set:isVisible','516588RskdoW','length','tooltip','return','_calculatePosition','escape','commentsArchive','175RJQsMw','find','splice','1696704vesXhw','995310yyqlpJ','has','_addAnnotationToArchive','commentsArchiveView','listenTo','remove','locale','3XvZBEA','requires','stopListening','_createCommentsArchiveButton','view','CommentsArchiveUI','editor','Dialog','source','init','indexOf','menuBar:commentsArchive','pluginName','3169070YislXB','componentFactory','18JQbLuy','_hideDialogOnAnnotationEscape','_threadToController','stop','findIndex','COMMENTS_ARCHIVE','show','_toggleDialog','innerView','annotationViews','isEnabled','_visibleAnnotations','archivedAt','forEach','CommentsRepository','includes','getByInnerView','channelId','405496dMAPtC','archivedThreads','menuitemcheckbox','collaboration.channelId','isOpen','hide','config','execute','_pendingThreads','set','get','collection','focusableElements','395745QyPYHi','isVisible','isPremiumPlugin','bind','filter','plugins','push','EDITOR_TOP_SIDE'];_0x3a2a=function(){return _0x5157da;};return _0x3a2a();}import{IconCommentsArchive as _0x162879}from'ckeditor5/src/icons.js';import{ViewCollection as _0xf84e96,MenuBarMenuListItemButtonView as _0x3bc6b4,ButtonView as _0x4edbf2,Dialog as _0x4ca31e,DialogViewPosition as _0x1e96b8}from'ckeditor5/src/ui.js';import{getTranslation as _0x4c87ff}from'../utils/common-translations.js';import{CommentsArchiveView as _0x5ddcf3}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x320c1a}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x238b6e{[_0x148373(0x12e)];[_0x148373(0x14a)];[_0x148373(0x15b)];static get[_0x148373(0x13e)](){const _0x42f371=_0x148373;return _0x42f371(0x137);}static get[_0x148373(0x16b)](){return!0x0;}static get[_0x148373(0x162)](){return!0x0;}static get[_0x148373(0x133)](){return[_0x320c1a,_0x4ca31e];}constructor(_0x487871){const _0x42ef87=_0x148373;super(_0x487871),this[_0x42ef87(0x14a)]=new _0xf84e96(),this[_0x42ef87(0x15b)]=[];}[_0x148373(0x13b)](){const _0x195587=_0x148373,_0xf6ca4c=this[_0x195587(0x138)],_0x2c708e=this[_0x195587(0x142)][_0x195587(0x163)](this);_0xf6ca4c['ui'][_0x195587(0x140)][_0x195587(0x16a)](_0x195587(0x126),()=>this[_0x195587(0x135)](_0x4edbf2,!0x0)),_0xf6ca4c['ui'][_0x195587(0x140)][_0x195587(0x16a)](_0x195587(0x13d),()=>{const _0xec9c2f=_0x195587,_0x3c72eb=this[_0xec9c2f(0x135)](_0x3bc6b4);return _0x3c72eb[_0xec9c2f(0x15c)]({'role':_0xec9c2f(0x155)}),_0x3c72eb;});const _0x3b948d=_0xf6ca4c[_0x195587(0x165)][_0x195587(0x15d)](_0x320c1a),_0x4657ea=_0xf6ca4c[_0x195587(0x165)][_0x195587(0x15d)](_0x195587(0x169)),_0x18ea1a=_0xf6ca4c[_0x195587(0x165)][_0x195587(0x15d)](_0x195587(0x14f));_0x3b948d[_0x195587(0x154)][_0x195587(0x14e)](_0xd4b4ed=>{const _0x7d175=_0x195587;this[_0x7d175(0x11d)](_0xd4b4ed);}),this[_0x195587(0x12f)](_0x3b948d[_0x195587(0x154)],_0x195587(0x16a),(_0x4a677a,_0x3eeabd)=>{const _0x56548c=_0x195587;this[_0x56548c(0x11d)](_0x3eeabd);}),this[_0x195587(0x12f)](_0x4657ea[_0x195587(0x15e)],_0x195587(0x16a),(_0x1b1839,_0x31364c)=>{const _0x1bda24=_0x195587,_0x180bcf=this[_0x1bda24(0x15b)][_0x1bda24(0x128)](_0x3b8161=>{const _0x35acc1=_0x1bda24,_0x43dba4=_0x18ea1a[_0x35acc1(0x143)][_0x35acc1(0x15d)](_0x3b8161);return _0x43dba4&&_0x31364c[_0x35acc1(0x149)]===_0x43dba4[_0x35acc1(0x136)];});if(_0x180bcf){const _0x407712=this[_0x1bda24(0x124)](_0x180bcf[_0x1bda24(0x14d)]);this[_0x1bda24(0x12d)](_0x31364c,_0x407712),this[_0x1bda24(0x15b)][_0x1bda24(0x129)](this[_0x1bda24(0x15b)][_0x1bda24(0x13c)](_0x180bcf),0x1);}}),this[_0x195587(0x12f)](_0x3b948d[_0x195587(0x154)],_0x195587(0x130),(_0x29a1b5,_0x4f567f)=>{const _0x5a796d=_0x195587,_0x59c80f=_0xf6ca4c[_0x5a796d(0x159)][_0x5a796d(0x15d)](_0x5a796d(0x156));if(!_0x59c80f||_0x4f567f[_0x5a796d(0x152)]===_0x59c80f){if(this[_0x5a796d(0x15b)][_0x5a796d(0x150)](_0x4f567f))this[_0x5a796d(0x15b)][_0x5a796d(0x129)](this[_0x5a796d(0x15b)][_0x5a796d(0x13c)](_0x4f567f),0x1);else{const _0x344454=_0x18ea1a[_0x5a796d(0x143)][_0x5a796d(0x15d)](_0x4f567f),_0x53cac3=_0x4657ea[_0x5a796d(0x151)](_0x344454[_0x5a796d(0x136)]);this[_0x5a796d(0x14a)][_0x5a796d(0x130)](_0x53cac3[_0x5a796d(0x136)]),this[_0x5a796d(0x134)](_0x53cac3),this[_0x5a796d(0x134)](_0x53cac3[_0x5a796d(0x15f)]);}}}),this[_0x195587(0x12f)](_0x4657ea[_0x195587(0x15e)],_0x195587(0x16a),(_0x1b6330,_0x53ee4d)=>{const _0x3e8a03=_0x195587;this[_0x3e8a03(0x12f)](_0x53ee4d,_0x3e8a03(0x125),_0x2c708e);}),this[_0x195587(0x12f)](_0x4657ea[_0x195587(0x15e)],_0x195587(0x130),(_0x267ad6,_0x25c403)=>{const _0x165086=_0x195587;this[_0x165086(0x134)](_0x25c403,_0x165086(0x125),_0x2c708e);});}[_0x148373(0x12d)](_0x11e1a6,_0x20b90a){const _0x159773=_0x148373;this[_0x159773(0x12f)](_0x11e1a6,_0x159773(0x11f),_0x1ff8ba=>{const _0x56d8aa=_0x159773;_0x1ff8ba[_0x56d8aa(0x123)]=!0x1,_0x1ff8ba[_0x56d8aa(0x144)]();}),this[_0x159773(0x14a)][_0x159773(0x16a)](_0x11e1a6[_0x159773(0x136)],_0x20b90a);}[_0x148373(0x11d)](_0x3e07fe){const _0x5335b4=_0x148373,_0x5cbbdc=this[_0x5335b4(0x138)][_0x5335b4(0x165)][_0x5335b4(0x15d)](_0x5335b4(0x14f)),_0x265a61=this[_0x5335b4(0x138)][_0x5335b4(0x165)][_0x5335b4(0x15d)](_0x5335b4(0x169)),_0x5cd940=this[_0x5335b4(0x138)][_0x5335b4(0x159)][_0x5335b4(0x15d)](_0x5335b4(0x156));if(!_0x5cd940||_0x3e07fe[_0x5335b4(0x152)]===_0x5cd940){const _0xb22fac=_0x5cbbdc[_0x5335b4(0x143)][_0x5335b4(0x15d)](_0x3e07fe);if(!_0xb22fac)return void this[_0x5335b4(0x15b)][_0x5335b4(0x166)](_0x3e07fe);const _0x51f851=this[_0x5335b4(0x124)](_0x3e07fe[_0x5335b4(0x14d)]),_0x107658=_0x265a61[_0x5335b4(0x151)](_0xb22fac[_0x5335b4(0x136)]);_0x107658[_0x5335b4(0x161)]&&_0x265a61[_0x5335b4(0x14c)][_0x5335b4(0x130)](_0x107658),this[_0x5335b4(0x12d)](_0x107658,_0x51f851);}}[_0x148373(0x124)](_0x566fcc){const _0x4ccb5b=_0x148373,_0x5484f2=this[_0x4ccb5b(0x138)][_0x4ccb5b(0x159)][_0x4ccb5b(0x15d)](_0x4ccb5b(0x156)),_0x17fd9f=[...this[_0x4ccb5b(0x138)][_0x4ccb5b(0x165)][_0x4ccb5b(0x15d)](_0x320c1a)[_0x4ccb5b(0x154)]][_0x4ccb5b(0x164)](_0x3d2053=>_0x3d2053[_0x4ccb5b(0x152)]===_0x5484f2)[_0x4ccb5b(0x145)](_0x1636d7=>_0x1636d7[_0x4ccb5b(0x14d)]<_0x566fcc);return _0x17fd9f<0x0||_0x17fd9f>this[_0x4ccb5b(0x14a)][_0x4ccb5b(0x121)]?this[_0x4ccb5b(0x14a)][_0x4ccb5b(0x121)]:_0x17fd9f-0x1;}[_0x148373(0x148)](){const _0xce739=_0x148373,_0x284d55=this[_0xce739(0x138)],_0x524eea=_0x284d55[_0xce739(0x165)][_0xce739(0x15d)](_0xce739(0x139));this[_0xce739(0x12e)]||(this[_0xce739(0x12e)]=new _0x5ddcf3(_0x284d55[_0xce739(0x131)],this[_0xce739(0x14a)])),_0xce739(0x126)===_0x524eea['id']?_0x524eea[_0xce739(0x158)]():_0x524eea[_0xce739(0x147)]({'id':_0xce739(0x126),'title':_0x4c87ff(_0x284d55[_0xce739(0x131)],_0xce739(0x146)),'icon':_0x162879,'hasCloseButton':!0x0,'content':this[_0xce739(0x12e)],'position':_0x1e96b8[_0xce739(0x167)]});}[_0x148373(0x135)](_0x3dc121,_0x3f5f77=!0x1){const _0x12cbe4=_0x148373,_0x424d34=this[_0x12cbe4(0x138)][_0x12cbe4(0x131)],_0x5af451=this[_0x12cbe4(0x138)][_0x12cbe4(0x165)][_0x12cbe4(0x15d)](_0x12cbe4(0x139)),_0x211f70=new _0x3dc121(_0x424d34);return _0x211f70[_0x12cbe4(0x163)](_0x12cbe4(0x14b))['to'](this,_0x12cbe4(0x14b)),_0x211f70[_0x12cbe4(0x163)](_0x12cbe4(0x11e))['to'](_0x5af451,'id',_0x53a2c8=>_0x12cbe4(0x126)===_0x53a2c8),_0x211f70[_0x12cbe4(0x15c)]({'label':_0x4c87ff(_0x424d34,_0x12cbe4(0x146)),'icon':_0x162879,'isToggleable':!0x0}),_0x3f5f77&&(_0x211f70[_0x12cbe4(0x122)]=!0x0),this[_0x12cbe4(0x12f)](_0x211f70,_0x12cbe4(0x15a),()=>this[_0x12cbe4(0x148)]()),_0x211f70;}[_0x148373(0x142)]=_0x120799=>{const _0x141958=_0x148373,_0x385afe=_0x120799[_0x141958(0x13a)];if(!this[_0x141958(0x14a)][_0x141958(0x12c)](_0x385afe[_0x141958(0x136)]))return;const _0xdf218b=this[_0x141958(0x138)][_0x141958(0x165)][_0x141958(0x15d)](_0x141958(0x139));_0xdf218b[_0x141958(0x157)]&&_0x141958(0x126)===_0xdf218b['id']&&(_0xdf218b[_0x141958(0x158)](),_0x120799[_0x141958(0x144)]());};}
|