@ckeditor/ckeditor5-comments 47.4.0 → 47.5.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.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 _0x2df9bf=_0x4901;(function(_0x1180c3,_0x18d589){const _0x3712df=_0x4901,_0x4c466f=_0x1180c3();while(!![]){try{const _0x5d9722=parseInt(_0x3712df(0xf2))/0x1+parseInt(_0x3712df(0x117))/0x2+parseInt(_0x3712df(0xfc))/0x3*(parseInt(_0x3712df(0x104))/0x4)+parseInt(_0x3712df(0x11e))/0x5*(parseInt(_0x3712df(0x114))/0x6)+parseInt(_0x3712df(0x136))/0x7*(parseInt(_0x3712df(0xfa))/0x8)+-parseInt(_0x3712df(0xeb))/0x9+-parseInt(_0x3712df(0x11d))/0xa;if(_0x5d9722===_0x18d589)break;else _0x4c466f['push'](_0x4c466f['shift']());}catch(_0x342333){_0x4c466f['push'](_0x4c466f['shift']());}}}(_0x3112,0x4aeea));import{ContextPlugin as _0x3e4e74}from'ckeditor5/src/core.js';import{Rect as _0xb2b928,CKEditorError as _0x596577}from'ckeditor5/src/utils.js';function _0x3112(){const _0xf62ca4=['_lastItem','rearrange','refresh','pluginName','change:_lastItem','get','target','_destroySidebarItemView','isAnimationDisabled','targetRect','listenTo','change:bottom','sidebar-setcontainer-invalid-element','object','_updateLastItem','height','minHeight','clear','_targetTop','appendChild','_getItemAfter','724864HhjdcH','Sidebar','stopListening','init','setContainer','_getTargetTop','change:targetRect','_annotations','_getMaxAvailableTop','addAnnotation','view','_setItemTop','nodeType','content','_alignToTargetRect','_annotationToSidebarItemView','366975PteucH','change:top','_getItemBefore','bind','getSidebarItemView','_detachFromContainer','remove','242710QzMhtC','_recalculate','list','_recalculateBuffer','add','_attachToContainer','isOfficialPlugin','bottom','32wxnwnQ','_createSidebarView','39OGuuRV','max','isPremiumPlugin','_alignForBottomChange','updateHeight','locale','isActive','sidebar.preventScrollOutOfView','128368PqhgZs','_alignAfterItem','render','_activeAnnotation','class','sidebar-attachtocontainer-missing-container','sidebar.container','_alignBeforeItem','last','push','getIndex','_sidebarItemViewToAnnotation','top','container','config','destroy','462SwBAJB','_alignForTopChange','length','168410YcpGEU','context','set','define','_spaceBetweenItems','unbind','11628200mgMDLV','22870BrIdHS','element','delete'];_0x3112=function(){return _0xf62ca4;};return _0x3112();}import{AnnotationsSidebarView as _0xd209b}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x36c3dc}from'./view/sidebaritemview.js';export class Sidebar extends _0x3e4e74{[_0x2df9bf(0x140)];[_0x2df9bf(0x107)];[_0x2df9bf(0x13d)];[_0x2df9bf(0x11b)];[_0x2df9bf(0x10f)];[_0x2df9bf(0xea)];[_0x2df9bf(0xf5)];static get[_0x2df9bf(0x124)](){const _0x5c1eb1=_0x2df9bf;return _0x5c1eb1(0x137);}static get[_0x2df9bf(0xf8)](){return!0x0;}static get[_0x2df9bf(0xfe)](){return!0x0;}constructor(_0x2eaf5b){const _0x38ebe3=_0x2df9bf;super(_0x2eaf5b),this[_0x38ebe3(0x119)](_0x38ebe3(0x121),void 0x0),this[_0x38ebe3(0x140)]=this[_0x38ebe3(0xfb)](),this[_0x38ebe3(0x119)](_0x38ebe3(0x111),null),this[_0x38ebe3(0x11b)]=0x19,this[_0x38ebe3(0x10f)]=new Map(),this[_0x38ebe3(0xea)]=new Map(),this[_0x38ebe3(0x118)][_0x38ebe3(0x112)][_0x38ebe3(0x11a)](_0x38ebe3(0x103),!0x1),this[_0x38ebe3(0x13d)]=null,this[_0x38ebe3(0x107)]=null,this[_0x38ebe3(0xf5)]=[];}[_0x2df9bf(0x139)](){const _0x23f0ae=_0x2df9bf,_0x446505=this[_0x23f0ae(0x118)][_0x23f0ae(0x112)][_0x23f0ae(0x126)](_0x23f0ae(0x10a));_0x446505&&this[_0x23f0ae(0x13a)](_0x446505);}[_0x2df9bf(0x13a)](_0x48a241){const _0x7eb8dc=_0x2df9bf;if(!g(_0x48a241))throw new _0x596577(_0x7eb8dc(0x12d));this[_0x7eb8dc(0x111)]=_0x48a241;}[_0x2df9bf(0xf7)]({viewClass:_0x545bab='',spaceBetweenItems:_0x2fdbab=0x19}={}){const _0x279968=_0x2df9bf;if(!g(this[_0x279968(0x111)]))throw new _0x596577(_0x279968(0x109),this);this[_0x279968(0x111)][_0x279968(0x134)](this[_0x279968(0x140)][_0x279968(0x11f)]),this[_0x279968(0x140)][_0x279968(0x108)]=_0x545bab,this[_0x279968(0x11b)]=_0x2fdbab;}[_0x2df9bf(0x122)]({removedAnnotation:_0xc91afe,previousAnnotation:_0x2c052b,nextAnnotation:_0x540d5d}){const _0x3f3827=_0x2df9bf,_0x35e185=this[_0x3f3827(0xef)](_0xc91afe);this[_0x3f3827(0x140)][_0x3f3827(0xf4)][_0x3f3827(0xf1)](_0x35e185),this[_0x3f3827(0x128)](_0xc91afe),_0x2c052b&&this[_0x3f3827(0xe9)](this[_0x3f3827(0xef)](_0x2c052b)),_0x540d5d&&this[_0x3f3827(0xe9)](this[_0x3f3827(0xef)](_0x540d5d)),this[_0x3f3827(0x12f)]();}[_0x2df9bf(0x123)]({blurredAnnotation:_0x433c02,activatedAnnotation:_0xeb1fdd,disableAnimationOnActivatedAnnotation:_0x3d8a1e}){const _0x15d87c=_0x2df9bf;if(this[_0x15d87c(0x107)]=_0xeb1fdd,_0x433c02){_0x433c02[_0x15d87c(0x102)]=!0x1;const _0x4b253d=this[_0x15d87c(0xef)](_0x433c02);_0x4b253d&&_0x3d8a1e&&(_0x4b253d[_0x15d87c(0x129)]=!0x1);}if(_0xeb1fdd){const _0x26c123=this[_0x15d87c(0xef)](_0xeb1fdd);_0x26c123&&(_0xeb1fdd[_0x15d87c(0x102)]=!0x0,_0x3d8a1e&&(_0x26c123[_0x15d87c(0x129)]=!0x0,_0x26c123[_0x15d87c(0x110)]+=0x1),this[_0x15d87c(0xe9)](_0x26c123));}}[_0x2df9bf(0xf0)](_0x319c35){const _0x5563c2=_0x2df9bf;if(this[_0x5563c2(0x140)][_0x5563c2(0x11f)][_0x5563c2(0xf1)](),_0x319c35){for(const _0xb60e5c of _0x319c35)this[_0x5563c2(0x128)](_0xb60e5c);}this[_0x5563c2(0x140)][_0x5563c2(0xf4)][_0x5563c2(0x132)](),this[_0x5563c2(0x140)][_0x5563c2(0x108)]='',this[_0x5563c2(0x121)]=null;}[_0x2df9bf(0x13f)](_0x50fddd,_0x484ee3){const _0x1354ff=_0x2df9bf;_0x484ee3||(_0x484ee3=_0x50fddd[_0x1354ff(0x140)]);const _0x1b56e2=new _0x36c3dc(this[_0x1354ff(0x118)][_0x1354ff(0x101)]);this[_0x1354ff(0x10f)][_0x1354ff(0x119)](_0x1b56e2,_0x50fddd),this[_0x1354ff(0xea)][_0x1354ff(0x119)](_0x50fddd,_0x1b56e2),_0x1b56e2[_0x1354ff(0xe8)][_0x1354ff(0xf6)](_0x484ee3),this[_0x1354ff(0x12b)](_0x50fddd[_0x1354ff(0x140)],_0x1354ff(0x13c),(_0x455e8f,_0x202c15,_0x597af5)=>{const _0x192aea=_0x1354ff,_0x56b470=this[_0x192aea(0x13b)](_0x50fddd,_0x597af5);_0x1b56e2[_0x192aea(0x133)]!=_0x56b470&&(_0x1b56e2[_0x192aea(0x133)]=_0x56b470,this[_0x192aea(0x141)](_0x1b56e2,_0x56b470));}),this[_0x1354ff(0x12b)](_0x1b56e2,_0x1354ff(0xec),()=>{const _0x4189c0=_0x1354ff;this[_0x4189c0(0xf3)](_0x1b56e2,_0x4189c0(0x110));}),this[_0x1354ff(0x12b)](_0x1b56e2,_0x1354ff(0x12c),()=>{const _0x4d97f4=_0x1354ff;this[_0x4d97f4(0xf3)](_0x1b56e2,_0x4d97f4(0xf9));}),this[_0x1354ff(0xe9)](_0x1b56e2);const _0x54f104=this[_0x1354ff(0xed)](_0x1b56e2);if(_0x54f104)this[_0x1354ff(0x105)](_0x54f104,_0x1b56e2)||this[_0x1354ff(0xe9)](_0x1b56e2);else this[_0x1354ff(0xe9)](_0x1b56e2);return this[_0x1354ff(0x12f)](),this[_0x1354ff(0x140)][_0x1354ff(0xf4)][_0x1354ff(0xf6)](_0x1b56e2),_0x1b56e2;}[_0x2df9bf(0x115)](_0x45a021){const _0xa4b09c=_0x2df9bf;if(!_0x45a021[_0xa4b09c(0xe8)][_0xa4b09c(0x116)])return;const _0x5270a6=this[_0xa4b09c(0xed)](_0x45a021);if(!_0x5270a6)return;const _0x2c500f=this[_0xa4b09c(0x10f)][_0xa4b09c(0x126)](_0x5270a6),_0x59e8ea=this[_0xa4b09c(0x107)];_0x59e8ea&&_0x59e8ea===_0x2c500f?this[_0xa4b09c(0x105)](_0x5270a6,_0x45a021):this[_0xa4b09c(0x10b)](_0x45a021,_0x5270a6);}[_0x2df9bf(0xff)](_0x4d0203){const _0x2e619=_0x2df9bf;if(!_0x4d0203[_0x2e619(0xe8)][_0x2e619(0x116)])return;const _0x7f0a41=this[_0x2e619(0x135)](_0x4d0203);if(!_0x7f0a41)return;const _0x128948=this[_0x2e619(0x10f)][_0x2e619(0x126)](_0x7f0a41),_0x217d00=this[_0x2e619(0x118)][_0x2e619(0x112)][_0x2e619(0x126)](_0x2e619(0x103)),_0x505ae5=this[_0x2e619(0x107)];_0x505ae5&&_0x505ae5===_0x128948&&_0x217d00?(this[_0x2e619(0x10b)](_0x7f0a41,_0x4d0203),this[_0x2e619(0x105)](_0x4d0203,_0x7f0a41)):_0x505ae5&&_0x505ae5===_0x128948?this[_0x2e619(0x10b)](_0x7f0a41,_0x4d0203):this[_0x2e619(0x105)](_0x4d0203,_0x7f0a41);}[_0x2df9bf(0xf3)](_0x3905a4,_0x4c36b2){const _0x5a9de0=_0x2df9bf;0x0===this[_0x5a9de0(0xf5)][_0x5a9de0(0x116)]&&setTimeout(()=>{const _0x562ed5=_0x5a9de0;for(const {sidebarItemView:_0x110e2d,changedProp:_0x49eae5}of this[_0x562ed5(0xf5)])_0x562ed5(0x110)===_0x49eae5?this[_0x562ed5(0x115)](_0x110e2d):this[_0x562ed5(0xff)](_0x110e2d);this[_0x562ed5(0xf5)]=[];},0xa),this[_0x5a9de0(0xf5)][_0x5a9de0(0x10d)]({'sidebarItemView':_0x3905a4,'changedProp':_0x4c36b2});}[_0x2df9bf(0xef)](_0x3f8ffb){const _0x1d4b4c=_0x2df9bf;return this[_0x1d4b4c(0xea)][_0x1d4b4c(0x126)](_0x3f8ffb);}[_0x2df9bf(0x113)](){const _0x5b350c=_0x2df9bf;this[_0x5b350c(0x138)](),this[_0x5b350c(0x140)][_0x5b350c(0x113)]();}[_0x2df9bf(0x128)](_0x2f431d){const _0x4d4431=_0x2df9bf,_0x250053=this[_0x4d4431(0xef)](_0x2f431d);this[_0x4d4431(0x138)](_0x250053),this[_0x4d4431(0x138)](_0x2f431d[_0x4d4431(0x140)]),_0x250053[_0x4d4431(0x113)](),this[_0x4d4431(0xea)][_0x4d4431(0x120)](_0x2f431d),this[_0x4d4431(0x10f)][_0x4d4431(0x120)](_0x250053);}[_0x2df9bf(0xfb)](){const _0x3b9a3a=_0x2df9bf,_0x5ad142=new _0xd209b(this[_0x3b9a3a(0x118)][_0x3b9a3a(0x101)]);return _0x5ad142[_0x3b9a3a(0x106)](),this['on'](_0x3b9a3a(0x125),(_0x1992ef,_0x3651ce,_0x21c454,_0x2e6beb)=>{const _0x5dd7df=_0x3b9a3a;_0x2e6beb&&_0x5ad142[_0x5dd7df(0x11c)](_0x5dd7df(0x131)),_0x21c454?_0x5ad142[_0x5dd7df(0xee)](_0x5dd7df(0x131))['to'](_0x21c454,_0x5dd7df(0xf9)):_0x5ad142[_0x5dd7df(0x131)]=null;}),_0x5ad142;}[_0x2df9bf(0x12f)](){const _0x4a26ee=_0x2df9bf;this[_0x4a26ee(0x121)]=this[_0x4a26ee(0x13d)]?.[_0x4a26ee(0x10c)]?this[_0x4a26ee(0xef)](this[_0x4a26ee(0x13d)][_0x4a26ee(0x10c)]):null;}[_0x2df9bf(0xed)](_0x1aa359){const _0x1ea4dc=_0x2df9bf,_0x42d478=this[_0x1ea4dc(0x10f)][_0x1ea4dc(0x126)](_0x1aa359),_0x29a2a9=_0x42d478&&this[_0x1ea4dc(0x13d)]?.[_0x1ea4dc(0x126)](this[_0x1ea4dc(0x13d)][_0x1ea4dc(0x10e)](_0x42d478)-0x1);return _0x29a2a9&&this[_0x1ea4dc(0xef)](_0x29a2a9)||null;}[_0x2df9bf(0x135)](_0x12fb4a){const _0x1af656=_0x2df9bf,_0x39d351=this[_0x1af656(0x10f)][_0x1af656(0x126)](_0x12fb4a),_0x43d322=_0x39d351&&this[_0x1af656(0x13d)]?.[_0x1af656(0x126)](this[_0x1af656(0x13d)][_0x1af656(0x10e)](_0x39d351)+0x1);return _0x43d322&&this[_0x1af656(0xef)](_0x43d322)||null;}[_0x2df9bf(0x10b)](_0x222878,_0x4d1a4a){const _0x3ec8e1=_0x2df9bf;_0x222878[_0x3ec8e1(0x100)]();const _0xc38d32=G(_0x4d1a4a[_0x3ec8e1(0xf9)]+this[_0x3ec8e1(0x11b)],_0x222878[_0x3ec8e1(0x110)]);return!!_0xc38d32&&(this[_0x3ec8e1(0x141)](_0x4d1a4a,_0x4d1a4a[_0x3ec8e1(0x110)]-_0xc38d32),!0x0);}[_0x2df9bf(0x105)](_0x206bcf,_0x28e572){const _0x2d676f=_0x2df9bf;_0x206bcf[_0x2d676f(0x100)]();const _0x3d2caa=G(_0x206bcf[_0x2d676f(0xf9)]+this[_0x2d676f(0x11b)],_0x28e572[_0x2d676f(0x110)]);return!!_0x3d2caa&&(this[_0x2d676f(0x141)](_0x28e572,_0x28e572[_0x2d676f(0x110)]+_0x3d2caa,!0x1),!0x0);}[_0x2df9bf(0xe9)](_0x5f05bc){const _0x541a4b=_0x2df9bf,_0x3a5a5a=this[_0x541a4b(0x10f)][_0x541a4b(0x126)](_0x5f05bc);if(!_0x3a5a5a||!_0x3a5a5a[_0x541a4b(0x127)]||!_0x3a5a5a[_0x541a4b(0x12a)])return;const _0x379c53=this[_0x541a4b(0x13b)](_0x3a5a5a,_0x3a5a5a[_0x541a4b(0x12a)]);this[_0x541a4b(0x141)](_0x5f05bc,_0x379c53);}[_0x2df9bf(0x13b)](_0x492bf1,_0x430ba7){const _0x56890c=_0x2df9bf;if(null===_0x430ba7)return 0x0;if(_0x492bf1[_0x56890c(0x127)]instanceof _0xb2b928)return _0x430ba7[_0x56890c(0x110)];{const _0x1ba2f1=new _0xb2b928(this[_0x56890c(0x140)][_0x56890c(0x11f)])[_0x56890c(0x110)];return _0x430ba7[_0x56890c(0x110)]-_0x1ba2f1;}}[_0x2df9bf(0x141)](_0x2f6116,_0x428053,_0x281b7d=this[_0x2df9bf(0x118)][_0x2df9bf(0x112)][_0x2df9bf(0x126)](_0x2df9bf(0x103))){const _0x70dbca=_0x2df9bf;_0x281b7d&&(_0x428053=Math[_0x70dbca(0xfd)](_0x428053,this[_0x70dbca(0x13e)](_0x2f6116))),_0x2f6116[_0x70dbca(0x110)]=_0x428053;}[_0x2df9bf(0x13e)](_0x2f44fe){const _0x591fbb=_0x2df9bf;let _0x5ca8f5=this[_0x591fbb(0xed)](_0x2f44fe),_0x1981dc=0x0;for(;_0x5ca8f5;)_0x5ca8f5[_0x591fbb(0x100)](),_0x1981dc+=this[_0x591fbb(0x11b)]+_0x5ca8f5[_0x591fbb(0x130)],_0x5ca8f5=this[_0x591fbb(0xed)](_0x5ca8f5);return _0x1981dc;}}function G(_0x2006f7,_0x2e9885){const _0x1c982f=_0x2df9bf;return Math[_0x1c982f(0xfd)](_0x2006f7-_0x2e9885,0x0);}function _0x4901(_0x32e8fc,_0x5b019f){const _0x311218=_0x3112();return _0x4901=function(_0x490118,_0x47084f){_0x490118=_0x490118-0xe8;let _0x2ee114=_0x311218[_0x490118];return _0x2ee114;},_0x4901(_0x32e8fc,_0x5b019f);}function g(_0x37fab3){const _0xb5150f=_0x2df9bf;return null!==_0x37fab3&&_0xb5150f(0x12e)==typeof _0x37fab3&&0x1===_0x37fab3[_0xb5150f(0x142)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5dfa9b=_0xd463;(function(_0x27351f,_0xe22cad){const _0x3057a2=_0xd463,_0x16be1f=_0x27351f();while(!![]){try{const _0x62d3c8=-parseInt(_0x3057a2(0x1dd))/0x1+-parseInt(_0x3057a2(0x1ed))/0x2+parseInt(_0x3057a2(0x1da))/0x3+parseInt(_0x3057a2(0x1e1))/0x4+-parseInt(_0x3057a2(0x1eb))/0x5*(-parseInt(_0x3057a2(0x1e5))/0x6)+-parseInt(_0x3057a2(0x1d4))/0x7+-parseInt(_0x3057a2(0x1d9))/0x8*(-parseInt(_0x3057a2(0x1d1))/0x9);if(_0x62d3c8===_0xe22cad)break;else _0x16be1f['push'](_0x16be1f['shift']());}catch(_0x766f75){_0x16be1f['push'](_0x16be1f['shift']());}}}(_0x50dd,0x9df42));import{ButtonView as _0xb3d4e3,View as _0x3f5376}from'ckeditor5/src/ui.js';function _0xd463(_0x2f56f2,_0xd5dcb7){const _0x50ddc2=_0x50dd();return _0xd463=function(_0xd4630f,_0x545b01){_0xd4630f=_0xd4630f-0x1d1;let _0x2597de=_0x50ddc2[_0xd4630f];return _0x2597de;},_0xd463(_0x2f56f2,_0xd5dcb7);}function _0x50dd(){const _0x161330=['extendTemplate','toString','15LMssxo','ck-annotation-counter__badge--','2108266ACAYku','135BVNUcB','number','bindTemplate','3593471cWpyUi','...','ck-annotation-counter','_badge','set','117736icQYyZ','2835021Rofaxj','icon','ck-annotation-counter__badge','46452tMsNPT','bind','counterView','isDirty','3224644rHYhlj','span','ck-annotation-counter__badge--edit-mode','setTemplate','577986HsaPRZ','children','add','annotationType'];_0x50dd=function(){return _0x161330;};return _0x50dd();}import{IconAddComment as _0x91f8f4}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0xb3d4e3{[_0x5dfa9b(0x1df)];constructor(_0x2ad4b0){const _0x4c3976=_0x5dfa9b;super(_0x2ad4b0);const _0x18d511=this[_0x4c3976(0x1d3)];this[_0x4c3976(0x1d8)](_0x4c3976(0x1e0),!0x1),this[_0x4c3976(0x1d8)](_0x4c3976(0x1d2),0x0),this[_0x4c3976(0x1de)](_0x4c3976(0x1d7))['to'](this,_0x4c3976(0x1e0),this,_0x4c3976(0x1d2),(_0x505c6b,_0x2a4af4)=>_0x505c6b?_0x4c3976(0x1d5):_0x2a4af4[_0x4c3976(0x1ea)]()),this[_0x4c3976(0x1d8)](_0x4c3976(0x1e8),''),this[_0x4c3976(0x1db)]=_0x91f8f4,this[_0x4c3976(0x1e9)]({'attributes':{'class':[_0x4c3976(0x1d6)]}}),this[_0x4c3976(0x1df)]=new _0x3f5376(),this[_0x4c3976(0x1df)][_0x4c3976(0x1e4)]({'tag':_0x4c3976(0x1e2),'attributes':{'class':[_0x4c3976(0x1dc),_0x18d511['to'](_0x4c3976(0x1e8),_0x3b3498=>_0x4c3976(0x1ec)+_0x3b3498),_0x18d511['if'](_0x4c3976(0x1e0),_0x4c3976(0x1e3))]},'children':[{'text':_0x18d511['to'](_0x4c3976(0x1d7))}]}),this[_0x4c3976(0x1e6)][_0x4c3976(0x1e7)](this[_0x4c3976(0x1df)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f0e66=_0x4871;(function(_0x195d41,_0x536662){const _0x14f71d=_0x4871,_0xbf1a53=_0x195d41();while(!![]){try{const _0x3d918f=parseInt(_0x14f71d(0x1eb))/0x1*(parseInt(_0x14f71d(0x1ea))/0x2)+parseInt(_0x14f71d(0x204))/0x3*(parseInt(_0x14f71d(0x1fd))/0x4)+parseInt(_0x14f71d(0x1d8))/0x5*(parseInt(_0x14f71d(0x1dc))/0x6)+parseInt(_0x14f71d(0x1fc))/0x7+-parseInt(_0x14f71d(0x1fb))/0x8+-parseInt(_0x14f71d(0x1e6))/0x9+-parseInt(_0x14f71d(0x1f7))/0xa;if(_0x3d918f===_0x536662)break;else _0xbf1a53['push'](_0xbf1a53['shift']());}catch(_0x4aa915){_0xbf1a53['push'](_0xbf1a53['shift']());}}}(_0x35e4,0xd3f98));function _0x35e4(){const _0x9cdcdc=['presentation','1505048uoIRgR','4615562WVpLRd','4NCIUWO','mainView','ck-rounded-corners','arrowup','focusTracker','clientHeight','clear','3956991qSuhUI','arrowdown','ck-annotation-wrapper--active','201945hUdEOq','element','targetRect','detach','18JErQyf','bindTemplate','listenTo','Esc','render','first','focus','keystrokes','add','isDirty','1347957jiCHup','_mutationObserver','isActive','type','10dBrRDd','332609XTnyMW','content','attach','fire','destroy','div','delegate','ck-annotation-wrapper','_updateHeight','setTemplate','length','createCollection','25564230pWoOfh','set','height'];_0x35e4=function(){return _0x9cdcdc;};return _0x35e4();}import{View as _0x19debf}from'ckeditor5/src/ui.js';function _0x4871(_0x4c3388,_0x20a10f){const _0x35e49b=_0x35e4();return _0x4871=function(_0x487154,_0x156f38){_0x487154=_0x487154-0x1d6;let _0x65596=_0x35e49b[_0x487154];return _0x65596;},_0x4871(_0x4c3388,_0x20a10f);}import{FocusTracker as _0x389ca3,KeystrokeHandler as _0x59751e,uid as _0xcdfa1e}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x40ea2c}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x19debf{[_0x3f0e66(0x201)];['id'];[_0x3f0e66(0x1e3)];[_0x3f0e66(0x1ec)];[_0x3f0e66(0x1fe)];[_0x3f0e66(0x1e7)];constructor(_0x478208,_0x5d3aaa){const _0x322c9b=_0x3f0e66;super(_0x478208),this['id']=_0xcdfa1e(),this[_0x322c9b(0x201)]=new _0x389ca3(),this[_0x322c9b(0x1e3)]=new _0x59751e(),this[_0x322c9b(0x1e3)][_0x322c9b(0x1f8)](_0x322c9b(0x1df),(_0x9edae7,_0x1b2e02)=>this[_0x322c9b(0x1ee)](_0x322c9b(0x1df),_0x1b2e02)),this[_0x322c9b(0x1f8)](_0x322c9b(0x1da),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x322c9b(0x1f8)](_0x322c9b(0x1f9),0x0),this[_0x322c9b(0x1f8)](_0x322c9b(0x1e8),!0x1),this[_0x322c9b(0x1f8)](_0x322c9b(0x1e5),!0x1),this[_0x322c9b(0x1f8)](_0x322c9b(0x1f5),0x0),this[_0x322c9b(0x1f8)](_0x322c9b(0x1e9),''),this[_0x322c9b(0x1e7)]=_0x40ea2c(()=>this[_0x322c9b(0x1f3)]()),this[_0x322c9b(0x1ec)]=this[_0x322c9b(0x1f6)](),this[_0x322c9b(0x1ec)][_0x322c9b(0x1f1)](_0x322c9b(0x200),_0x322c9b(0x1d6))['to'](this),this[_0x322c9b(0x1ec)][_0x322c9b(0x1e4)](_0x5d3aaa),this[_0x322c9b(0x1fe)]=_0x5d3aaa;const _0x534d9a=this[_0x322c9b(0x1dd)];this[_0x322c9b(0x1f4)]({'tag':_0x322c9b(0x1f0),'attributes':{'class':['ck',_0x322c9b(0x1f2),_0x322c9b(0x1ff),_0x534d9a['if'](_0x322c9b(0x1e8),_0x322c9b(0x1d7))],'role':_0x322c9b(0x1fa)},'children':this[_0x322c9b(0x1ec)]});}[_0x3f0e66(0x1e0)](){const _0x55b65b=_0x3f0e66;super[_0x55b65b(0x1e0)](),this[_0x55b65b(0x201)][_0x55b65b(0x1e4)](this[_0x55b65b(0x1d9)]),this[_0x55b65b(0x1e3)][_0x55b65b(0x1de)](this[_0x55b65b(0x1d9)]),this[_0x55b65b(0x1e7)][_0x55b65b(0x1ed)](this[_0x55b65b(0x1d9)]);}[_0x3f0e66(0x1ef)](){const _0x394327=_0x3f0e66;this[_0x394327(0x1ec)][_0x394327(0x203)](),this[_0x394327(0x1e3)][_0x394327(0x1ef)](),this[_0x394327(0x201)][_0x394327(0x1ef)](),this[_0x394327(0x1e7)][_0x394327(0x1db)](),super[_0x394327(0x1ef)]();}[_0x3f0e66(0x1e2)](){const _0x15797e=_0x3f0e66;this[_0x15797e(0x1ec)][_0x15797e(0x1e1)]&&this[_0x15797e(0x1ec)][_0x15797e(0x1e1)][_0x15797e(0x1e2)]();}[_0x3f0e66(0x1f3)](){const _0x40f8aa=_0x3f0e66,_0x1d6d46=this[_0x40f8aa(0x1d9)][_0x40f8aa(0x202)];_0x1d6d46&&(this[_0x40f8aa(0x1f9)]=_0x1d6d46);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2deef1=_0x531c;(function(_0x57e18a,_0x18af98){const _0x1f6854=_0x531c,_0x4a88e8=_0x57e18a();while(!![]){try{const _0x720217=parseInt(_0x1f6854(0xa8))/0x1+parseInt(_0x1f6854(0xa1))/0x2+parseInt(_0x1f6854(0x9e))/0x3*(parseInt(_0x1f6854(0x9b))/0x4)+parseInt(_0x1f6854(0xaa))/0x5*(parseInt(_0x1f6854(0xba))/0x6)+-parseInt(_0x1f6854(0x9d))/0x7*(-parseInt(_0x1f6854(0xae))/0x8)+parseInt(_0x1f6854(0xb9))/0x9*(-parseInt(_0x1f6854(0xa4))/0xa)+-parseInt(_0x1f6854(0xb2))/0xb*(parseInt(_0x1f6854(0xab))/0xc);if(_0x720217===_0x18af98)break;else _0x4a88e8['push'](_0x4a88e8['shift']());}catch(_0x19544d){_0x4a88e8['push'](_0x4a88e8['shift']());}}}(_0x579f,0xf3591));import{View as _0x31c2c6}from'ckeditor5/src/ui.js';function _0x579f(){const _0x283a1b=['413ctFxwL','3TmvUvu','setTemplate','arrowdown','315832NdWXGr','clear','top','2766810xFazCe','bottom','bind','clientHeight','196977efPwJz','presentation','8165580ShviqX','13165068cJGezK','_targetTop','element','39016PlUlDA','set','updateHeight','first','22ZsZaxj','createCollection','arrowup','delegate','ck-sidebar-item--no-animation','div','isAnimationDisabled','18dPIaFF','6sGgpyV','_mutationObserver','content','ck-sidebar-item','attach','render','height','bindTemplate','destroy','focus','5874164ayjcgC','detach'];_0x579f=function(){return _0x283a1b;};return _0x579f();}import{toUnit as _0x4b5a78}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x22f8f9}from'../../utils/createmutationobserver.js';function _0x531c(_0x1ef7c5,_0x2d323e){const _0x579fe6=_0x579f();return _0x531c=function(_0x531c75,_0x5d4dd9){_0x531c75=_0x531c75-0x95;let _0x7fb910=_0x579fe6[_0x531c75];return _0x7fb910;},_0x531c(_0x1ef7c5,_0x2d323e);}const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4b5a78('px');export class AnnotationsSidebarItemView extends _0x31c2c6{[_0x2deef1(0xbc)];[_0x2deef1(0xac)];[_0x2deef1(0xbb)];constructor(_0x32ceef){const _0x53ff29=_0x2deef1;super(_0x32ceef),this[_0x53ff29(0xaf)](_0x53ff29(0xa3),0x0),this[_0x53ff29(0xaf)](_0x53ff29(0x97),0x0),this[_0x53ff29(0xa6)](_0x53ff29(0xa5))['to'](this,_0x53ff29(0xa3),this,_0x53ff29(0x97),(_0x22a3a4,_0x4b6328)=>_0x22a3a4+_0x4b6328),this[_0x53ff29(0xaf)](_0x53ff29(0xb8),!0x1),this[_0x53ff29(0xbb)]=_0x22f8f9(()=>this[_0x53ff29(0xb0)]()),this[_0x53ff29(0xac)]=null,this[_0x53ff29(0xbc)]=this[_0x53ff29(0xb3)](),this[_0x53ff29(0xbc)][_0x53ff29(0xb5)](_0x53ff29(0xb4),_0x53ff29(0xa0))['to'](this);const _0x2a5c2a=this[_0x53ff29(0x98)];this[_0x53ff29(0x9f)]({'tag':_0x53ff29(0xb7),'attributes':{'class':[_0x53ff29(0xbd),_0x2a5c2a['to'](_0x53ff29(0xb8),_0x4fd034=>_0x4fd034?_0x53ff29(0xb6):'')],'style':{'top':_0x2a5c2a['to'](_0x53ff29(0xa3),_0x3b4a6c=>Ot(_0x3b4a6c))},'role':_0x53ff29(0xa9)},'children':this[_0x53ff29(0xbc)]});}[_0x2deef1(0x96)](){const _0x1dcd8b=_0x2deef1;super[_0x1dcd8b(0x96)](),this[_0x1dcd8b(0xbb)][_0x1dcd8b(0x95)](this[_0x1dcd8b(0xad)]);}[_0x2deef1(0x9a)](){const _0x115c7d=_0x2deef1;this[_0x115c7d(0xbc)][_0x115c7d(0xb1)]&&this[_0x115c7d(0xbc)][_0x115c7d(0xb1)][_0x115c7d(0x9a)]();}[_0x2deef1(0xb0)](){const _0x473bb8=_0x2deef1,_0x250dd5=this[_0x473bb8(0xad)][_0x473bb8(0xa7)];_0x250dd5&&(this[_0x473bb8(0x97)]=_0x250dd5);}[_0x2deef1(0x99)](){const _0x420dc7=_0x2deef1;this[_0x420dc7(0xbc)][_0x420dc7(0xa2)](),this[_0x420dc7(0xbb)][_0x420dc7(0x9c)](),super[_0x420dc7(0x99)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x32c85a=_0x1b31;(function(_0x5e7956,_0x26224a){const _0x5ad1d2=_0x1b31,_0x147088=_0x5e7956();while(!![]){try{const _0x20e634=parseInt(_0x5ad1d2(0x206))/0x1*(-parseInt(_0x5ad1d2(0x20e))/0x2)+parseInt(_0x5ad1d2(0x1f4))/0x3*(-parseInt(_0x5ad1d2(0x21c))/0x4)+parseInt(_0x5ad1d2(0x20c))/0x5*(-parseInt(_0x5ad1d2(0x200))/0x6)+-parseInt(_0x5ad1d2(0x1f1))/0x7*(parseInt(_0x5ad1d2(0x1ed))/0x8)+parseInt(_0x5ad1d2(0x1f5))/0x9+-parseInt(_0x5ad1d2(0x1fb))/0xa*(-parseInt(_0x5ad1d2(0x205))/0xb)+-parseInt(_0x5ad1d2(0x20b))/0xc*(-parseInt(_0x5ad1d2(0x1f2))/0xd);if(_0x20e634===_0x26224a)break;else _0x147088['push'](_0x147088['shift']());}catch(_0xdbfd81){_0x147088['push'](_0x147088['shift']());}}}(_0x2b69,0x61beb));import{View as _0x36a66b,FocusCycler as _0x33f271}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2c14b0,toUnit as _0x1f55d8}from'ckeditor5/src/utils.js';import{getTranslation as _0x3a79ce}from'../../utils/common-translations.js';function _0x2b69(){const _0xc9f282=['change','ck-sidebar','77912dYDaaY','focusCycler','change:top','set','371NqafMS','1885SnEvdP','focusNext','3jNJTjb','365841uuahcy','focusTracker','arrowup','list','_updateItemPositionInFocusables','focus','570sCYWBZ','added','Annotations\x20sidebar','minHeight','div','139566gaSKFj','bindTemplate','render','top','class','1265tRsBIg','583kEUJtu','ck-reset','source','removed','focusables','132468DHYsvS','115KgATPV','application','530cyhTMY','Annotations\x20list','getIndex','length','setTemplate','element','_setupKeyboardNavigation','delegate','focusFirst','arrowdown','listenTo','focusPrevious','remove','uiLanguageDirection','167324hQtiRu','add','createCollection','number','forEach'];_0x2b69=function(){return _0xc9f282;};return _0x2b69();}import'../../../theme/sidebar.css';function _0x1b31(_0x334c2b,_0x5d4859){const _0x2b699b=_0x2b69();return _0x1b31=function(_0x1b3199,_0x268999){_0x1b3199=_0x1b3199-0x1e9;let _0x5c79e8=_0x2b699b[_0x1b3199];return _0x5c79e8;},_0x1b31(_0x334c2b,_0x5d4859);}const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1f55d8('px');export class AnnotationsSidebarView extends _0x36a66b{[_0x32c85a(0x1f8)];[_0x32c85a(0x20a)];[_0x32c85a(0x1f6)];[_0x32c85a(0x1ee)];constructor(_0x1c5506){const _0x1898be=_0x32c85a;super(_0x1c5506);const _0x5b68eb=this[_0x1898be(0x201)];this[_0x1898be(0x1f0)](_0x1898be(0x1fe),0x0),this[_0x1898be(0x1f0)](_0x1898be(0x204),''),this[_0x1898be(0x1f8)]=this[_0x1898be(0x21e)](),this[_0x1898be(0x20a)]=this[_0x1898be(0x21e)](),this[_0x1898be(0x1f8)][_0x1898be(0x215)](_0x1898be(0x1f7),_0x1898be(0x217))['to'](this),this[_0x1898be(0x1f6)]=new _0x2c14b0(),this[_0x1898be(0x1ee)]=new _0x33f271({'focusables':this[_0x1898be(0x20a)],'focusTracker':this[_0x1898be(0x1f6)]}),this[_0x1898be(0x212)]({'tag':_0x1898be(0x1ff),'attributes':{'class':['ck',_0x1898be(0x1ec),_0x1898be(0x207),_0x5b68eb['to'](_0x1898be(0x204))],'style':{'minHeight':_0x5b68eb['to'](_0x1898be(0x1fe),_0x3fd4f4=>_0x1898be(0x1e9)==typeof _0x3fd4f4?Ot(_0x3fd4f4+0xa):null)},'dir':_0x1c5506[_0x1898be(0x21b)],'role':_0x1898be(0x20d),'aria-label':_0x3a79ce(_0x1c5506,_0x1898be(0x1fd)),'tabindex':0x0},'children':[{'tag':_0x1898be(0x1ff),'attributes':{'role':_0x1898be(0x1f8),'aria-label':_0x3a79ce(_0x1c5506,_0x1898be(0x20f))},'children':this[_0x1898be(0x1f8)]}]});}[_0x32c85a(0x202)](){const _0x642ff3=_0x32c85a;super[_0x642ff3(0x202)](),this[_0x642ff3(0x214)]();}[_0x32c85a(0x1fa)](){const _0x4694cf=_0x32c85a;this[_0x4694cf(0x1ee)][_0x4694cf(0x216)]();}[_0x32c85a(0x214)](){const _0x18dcdc=_0x32c85a;this[_0x18dcdc(0x1f8)][_0x18dcdc(0x215)](_0x18dcdc(0x1ef))['to'](this),this['on'](_0x18dcdc(0x1ef),_0x32d5ee=>{const _0x288fcb=_0x18dcdc;this[_0x288fcb(0x1f9)](_0x32d5ee[_0x288fcb(0x208)]);}),this[_0x18dcdc(0x1f8)][_0x18dcdc(0x1ea)](_0x757dc7=>{const _0x1f110c=_0x18dcdc;this[_0x1f110c(0x1f6)][_0x1f110c(0x21d)](_0x757dc7[_0x1f110c(0x213)]),this[_0x1f110c(0x1f9)](_0x757dc7);}),this[_0x18dcdc(0x1f8)]['on'](_0x18dcdc(0x1eb),(_0xfd87ea,_0x27254b)=>{const _0x4e48a8=_0x18dcdc;for(const _0x57a345 of _0x27254b[_0x4e48a8(0x209)])this[_0x4e48a8(0x1f6)][_0x4e48a8(0x21a)](_0x57a345[_0x4e48a8(0x213)]),this[_0x4e48a8(0x20a)][_0x4e48a8(0x21a)](_0x57a345);for(const _0x4f5cf3 of _0x27254b[_0x4e48a8(0x1fc)])this[_0x4e48a8(0x1f6)][_0x4e48a8(0x21d)](_0x4f5cf3[_0x4e48a8(0x213)]),this[_0x4e48a8(0x1f9)](_0x4f5cf3);}),this['on'](_0x18dcdc(0x1f7),()=>{const _0x423bb6=_0x18dcdc;this[_0x423bb6(0x1ee)][_0x423bb6(0x219)]();}),this['on'](_0x18dcdc(0x217),()=>{const _0x4b8fea=_0x18dcdc;this[_0x4b8fea(0x1ee)][_0x4b8fea(0x1f3)]();}),this[_0x18dcdc(0x218)](this[_0x18dcdc(0x213)],_0x18dcdc(0x1fa),()=>{const _0x2d9b70=_0x18dcdc;this[_0x2d9b70(0x1fa)]();});}[_0x32c85a(0x1f9)](_0x21f331){const _0x5b3bd1=_0x32c85a,_0x36941a=this[_0x5b3bd1(0x20a)][_0x5b3bd1(0x210)](_0x21f331);let _0x3543b2,_0x2b6440;for(const _0x65fbc3 of this[_0x5b3bd1(0x20a)])if(_0x21f331[_0x5b3bd1(0x203)]<_0x65fbc3[_0x5b3bd1(0x203)]){_0x3543b2=_0x65fbc3;break;}if(_0x2b6440=_0x3543b2?this[_0x5b3bd1(0x20a)][_0x5b3bd1(0x210)](_0x3543b2):this[_0x5b3bd1(0x20a)][_0x5b3bd1(0x211)],-0x1!==_0x36941a){if(_0x36941a===_0x2b6440-0x1)return;this[_0x5b3bd1(0x20a)][_0x5b3bd1(0x21a)](_0x21f331),_0x2b6440=_0x3543b2?this[_0x5b3bd1(0x20a)][_0x5b3bd1(0x210)](_0x3543b2):this[_0x5b3bd1(0x20a)][_0x5b3bd1(0x211)];}this[_0x5b3bd1(0x20a)][_0x5b3bd1(0x21d)](_0x21f331,_0x2b6440);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xbd7d82=_0x1c3b;function _0x2e92(){const _0x591dce=['widesidebar-detach-not-attached','isOfficialPlugin','register','4886330tcfpKZ','86244sdtxYt','from','listenTo','off','editors','plugins','context','Annotations','539168pcOeUp','refresh','_detachFromContainer','isPremiumPlugin','remove','766430MzFmmq','18DoPSKT','get','has','_integrateWithEditorAnnotations','isAttached','switchTo','_activeAnnotation','focus','_refreshPositioningDebounced','init','wideSidebar','WideSidebar','_annotations','change:container','uiUpdate','attach','stopListening','511231yNljzA','addEventListener','6EFHuBJ','annotations','392yTrpco','ck-sidebar--wide','cancel','activeAnnotation','updateTargetRect','addAnnotation','refreshVisibility','getOrderedSelectedAnnotations','EditorAnnotations','detach','resize','pluginName','set:container','setActiveAnnotation','removeEventListener','_editorAnnotations','260422bEWeDS','rearrange','high','_destroyEditorAnnotationsIntegration','add','stop','11lCmTNo','48330ephNYJ','hasDomSelection','set','widesidebar-attach-already-attached','ready','_attachToContainer','container','blur','requires','refreshPositioning','destroy'];_0x2e92=function(){return _0x591dce;};return _0x2e92();}(function(_0x55d805,_0x529956){const _0x2cc0b2=_0x1c3b,_0x221fa6=_0x55d805();while(!![]){try{const _0x27215f=-parseInt(_0x2cc0b2(0xad))/0x1+parseInt(_0x2cc0b2(0x82))/0x2+-parseInt(_0x2cc0b2(0x88))/0x3*(-parseInt(_0x2cc0b2(0x7a))/0x4)+-parseInt(_0x2cc0b2(0x87))/0x5+-parseInt(_0x2cc0b2(0x9b))/0x6*(parseInt(_0x2cc0b2(0x99))/0x7)+-parseInt(_0x2cc0b2(0x9d))/0x8*(parseInt(_0x2cc0b2(0xb4))/0x9)+-parseInt(_0x2cc0b2(0x79))/0xa*(-parseInt(_0x2cc0b2(0xb3))/0xb);if(_0x27215f===_0x529956)break;else _0x221fa6['push'](_0x221fa6['shift']());}catch(_0x25e64a){_0x221fa6['push'](_0x221fa6['shift']());}}}(_0x2e92,0x219f0));import{ContextPlugin as _0x559540,Context as _0x311512}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x98e61c}from'./annotationsuis.js';import{Sidebar as _0xd65ee3}from'./sidebar.js';import{CKEditorError as _0x3e441b,Collection as _0x40e2a0}from'ckeditor5/src/utils.js';function _0x1c3b(_0x7c1e90,_0x2a052e){const _0x2e92f2=_0x2e92();return _0x1c3b=function(_0x1c3bc0,_0x571082){_0x1c3bc0=_0x1c3bc0-0x79;let _0x178182=_0x2e92f2[_0x1c3bc0];return _0x178182;},_0x1c3b(_0x7c1e90,_0x2a052e);}import{debounce as _0x52966c}from'es-toolkit/compat';export class WideSidebar extends _0x559540{[_0xbd7d82(0x8c)];[_0xbd7d82(0x9c)];[_0xbd7d82(0xac)];[_0xbd7d82(0x90)];static get[_0xbd7d82(0xbc)](){return[_0xd65ee3,_0x98e61c];}static get[_0xbd7d82(0xa8)](){const _0x4d70dc=_0xbd7d82;return _0x4d70dc(0x93);}static get[_0xbd7d82(0xc0)](){return!0x0;}static get[_0xbd7d82(0x85)](){return!0x0;}constructor(_0x3b1807){const _0x2fb10a=_0xbd7d82;super(_0x3b1807),this[_0x2fb10a(0x8c)]=!0x1,this[_0x2fb10a(0xb6)](_0x2fb10a(0xa0),null),this[_0x2fb10a(0x9c)]=null,this[_0x2fb10a(0xac)]=new _0x40e2a0(),this[_0x2fb10a(0x90)]=_0x52966c(()=>{const _0x3d3ef1=_0x2fb10a;_0x3b1807[_0x3d3ef1(0x7f)][_0x3d3ef1(0x89)](_0x3d3ef1(0x81))[_0x3d3ef1(0xa3)](),this[_0x3d3ef1(0x9c)][_0x3d3ef1(0xbd)]();},0xfa,{'leading':!0x1});}[_0xbd7d82(0x91)](){const _0x508a21=_0xbd7d82,_0x42a5c0=this[_0x508a21(0x80)][_0x508a21(0x7f)][_0x508a21(0x89)](_0x98e61c),_0x5b3b09=this[_0x508a21(0x80)][_0x508a21(0x7f)][_0x508a21(0x89)](_0xd65ee3);_0x42a5c0[_0x508a21(0xc1)](_0x508a21(0x92),this),_0x5b3b09[_0x508a21(0xba)]&&_0x42a5c0[_0x508a21(0x8d)](_0x508a21(0x92));}[_0xbd7d82(0xaa)](_0x1b25e9){const _0x2e300c=_0xbd7d82;if(_0x1b25e9===this[_0x2e300c(0xa0)])return;const _0x544d7b=this[_0x2e300c(0x80)][_0x2e300c(0x7f)][_0x2e300c(0x89)](_0xd65ee3);_0x544d7b[_0x2e300c(0x8e)]=_0x1b25e9;const _0x40692d=this[_0x2e300c(0xa0)];_0x544d7b[_0x2e300c(0x83)]({'blurredAnnotation':_0x40692d,'activatedAnnotation':_0x1b25e9}),this[_0x2e300c(0xa0)]=_0x1b25e9;}[_0xbd7d82(0x97)](_0x42716b){const _0x230112=_0xbd7d82;this[_0x230112(0x9c)]=_0x42716b;const _0x52399a=this[_0x230112(0x80)][_0x230112(0x7f)][_0x230112(0x89)](_0xd65ee3);if(_0x52399a[_0x230112(0x94)]=_0x42716b,this[_0x230112(0x8c)])throw new _0x3e441b(_0x230112(0xb7),this);this[_0x230112(0x8c)]=!0x0,this[_0x230112(0x7c)](_0x52399a,_0x230112(0xa9),()=>{const _0x36180d=_0x230112;this[_0x36180d(0xa6)](),this[_0x36180d(0x7c)](_0x52399a,_0x36180d(0x95),_0x1b5f07=>{const _0x12c161=_0x36180d;_0x1b5f07[_0x12c161(0x7d)](),this[_0x12c161(0x97)](_0x42716b);});}),_0x52399a[_0x230112(0xb9)]({'viewClass':_0x230112(0x9e)});const _0x2ba80a=_0x174436=>{const _0x54d106=_0x230112;_0x174436[_0x54d106(0xa1)](),_0x52399a[_0x54d106(0xa2)](_0x174436);};for(const _0x508246 of _0x42716b)_0x2ba80a(_0x508246);this[_0x230112(0x7c)](_0x42716b,_0x230112(0xb1),(_0x496069,_0x2e4f5d)=>{_0x2ba80a(_0x2e4f5d);}),this[_0x230112(0x7c)](_0x42716b,_0x230112(0x86),(_0x3ff2df,_0x55061b,_0x151ce2)=>{const _0x44fff2=_0x230112;_0x52399a[_0x44fff2(0xae)]({'removedAnnotation':_0x55061b,'previousAnnotation':_0x42716b[_0x44fff2(0x89)](_0x151ce2-0x1),'nextAnnotation':_0x42716b[_0x44fff2(0x89)](_0x151ce2+0x1)}),_0x55061b===this[_0x44fff2(0xa0)]&&this[_0x44fff2(0xaa)](null);},{'priority':_0x230112(0xaf)}),this[_0x230112(0x7c)](_0x42716b,_0x230112(0x8f),(_0x2000aa,_0x417547)=>{const _0x3db924=_0x230112;this[_0x3db924(0xaa)](_0x417547);}),this[_0x230112(0x7c)](_0x42716b,_0x230112(0xbb),()=>{const _0x4304a1=_0x230112;this[_0x4304a1(0xaa)](null);});const _0xc953d3=this[_0x230112(0x80)]instanceof _0x311512?this[_0x230112(0x80)][_0x230112(0x7e)]:new _0x40e2a0([this[_0x230112(0x80)]]);for(const _0x2fb91a of _0xc953d3)this[_0x230112(0x8b)](_0x2fb91a);this[_0x230112(0x7c)](_0xc953d3,_0x230112(0xb1),(_0x58351c,_0x5c52a5)=>{const _0x511ee5=_0x230112;this[_0x511ee5(0x7c)](_0x5c52a5,_0x511ee5(0xb8),()=>{const _0x386d8e=_0x511ee5;this[_0x386d8e(0x8b)](_0x5c52a5);});}),this[_0x230112(0x7c)](_0xc953d3,_0x230112(0x86),(_0x5dc8b6,_0xedf4a2)=>{const _0x20ad64=_0x230112;_0xedf4a2[_0x20ad64(0x7f)][_0x20ad64(0x8a)](_0x20ad64(0xa5))&&this[_0x20ad64(0xb0)](_0xedf4a2[_0x20ad64(0x7f)][_0x20ad64(0x89)](_0x20ad64(0xa5)));}),window[_0x230112(0x9a)](_0x230112(0xa7),this[_0x230112(0x90)]),this[_0x230112(0x80)][_0x230112(0x7f)][_0x230112(0x89)](_0x230112(0x81))[_0x230112(0xa3)](),this[_0x230112(0x9c)][_0x230112(0xbd)]();}[_0xbd7d82(0xa6)](){const _0x11b587=_0xbd7d82;if(!this[_0x11b587(0x8c)])throw new _0x3e441b(_0x11b587(0xbf),this);this[_0x11b587(0xaa)](null);const _0xcc81b9=this[_0x11b587(0x80)][_0x11b587(0x7f)][_0x11b587(0x89)](_0xd65ee3);_0xcc81b9[_0x11b587(0x84)](this[_0x11b587(0x9c)]),this[_0x11b587(0x98)](_0xcc81b9),this[_0x11b587(0x98)](this[_0x11b587(0x9c)]),this[_0x11b587(0x80)]instanceof _0x311512&&this[_0x11b587(0x98)](this[_0x11b587(0x80)][_0x11b587(0x7e)]);for(const _0x599ea0 of Array[_0x11b587(0x7b)](this[_0x11b587(0xac)]))this[_0x11b587(0xb0)](_0x599ea0);window[_0x11b587(0xab)](_0x11b587(0xa7),this[_0x11b587(0x90)]),this[_0x11b587(0x90)][_0x11b587(0x9f)](),this[_0x11b587(0xa0)]=null,this[_0x11b587(0x8c)]=!0x1,this[_0x11b587(0x9c)]=null;}[_0xbd7d82(0xbe)](){const _0x1a14c6=_0xbd7d82;this[_0x1a14c6(0x8c)]&&this[_0x1a14c6(0xa6)]();}[_0xbd7d82(0x8b)](_0x2d118b){const _0x1d67f1=_0xbd7d82;if(!_0x2d118b[_0x1d67f1(0x7f)][_0x1d67f1(0x8a)](_0x1d67f1(0xa5)))return;const _0x43183d=_0x2d118b[_0x1d67f1(0x7f)][_0x1d67f1(0x89)](_0x1d67f1(0xa5)),_0x5a31ee=()=>{const _0x4ce88c=_0x1d67f1,_0x1905c4=_0x43183d[_0x4ce88c(0xa4)]({'annotations':this[_0x4ce88c(0x9c)],'activeAnnotation':this[_0x4ce88c(0xa0)]});this[_0x4ce88c(0xaa)](_0x1905c4[0x0]||null);};this[_0x1d67f1(0x7c)](_0x43183d,_0x1d67f1(0x83),_0x5a31ee),this[_0x1d67f1(0x7c)](_0x43183d,_0x1d67f1(0xbb),(_0xdb3e1d,{isAnnotationTracked:_0x234037})=>{const _0x2939c1=_0x1d67f1;this[_0x2939c1(0xa0)]&&_0x234037(this[_0x2939c1(0xa0)])&&this[_0x2939c1(0xaa)](null);}),this[_0x1d67f1(0x7c)](_0x43183d,_0x1d67f1(0x96),()=>{const _0x5918c6=_0x1d67f1;this[_0x5918c6(0x90)]();}),this[_0x1d67f1(0x7c)](this[_0x1d67f1(0x9c)],_0x1d67f1(0xbb),_0x3a7d9d=>{const _0x51f29b=_0x1d67f1;_0x43183d[_0x51f29b(0xb5)]()&&(_0x5a31ee(),_0x3a7d9d[_0x51f29b(0xb2)]());},{'priority':_0x1d67f1(0xaf)}),this[_0x1d67f1(0xac)][_0x1d67f1(0xb1)](_0x43183d);}[_0xbd7d82(0xb0)](_0x273125){const _0x4d596f=_0xbd7d82;this[_0x4d596f(0x98)](_0x273125),this[_0x4d596f(0xac)][_0x4d596f(0x86)](_0x273125);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x412fb5=_0x1a77;function _0x1a77(_0x5e142a,_0x14dada){const _0x363837=_0x3638();return _0x1a77=function(_0x1a7751,_0x3a9172){_0x1a7751=_0x1a7751-0x91;let _0x2d0540=_0x363837[_0x1a7751];return _0x2d0540;},_0x1a77(_0x5e142a,_0x14dada);}(function(_0x5cbc73,_0x4f46ed){const _0x20227d=_0x1a77,_0x31aace=_0x5cbc73();while(!![]){try{const _0x4970bd=-parseInt(_0x20227d(0xbe))/0x1+-parseInt(_0x20227d(0x9d))/0x2+-parseInt(_0x20227d(0xc0))/0x3*(-parseInt(_0x20227d(0xb4))/0x4)+-parseInt(_0x20227d(0xbf))/0x5+-parseInt(_0x20227d(0xaf))/0x6+-parseInt(_0x20227d(0xb2))/0x7+parseInt(_0x20227d(0xae))/0x8;if(_0x4970bd===_0x4f46ed)break;else _0x31aace['push'](_0x31aace['shift']());}catch(_0x4a0788){_0x31aace['push'](_0x31aace['shift']());}}}(_0x3638,0x3f537));import{Command as _0x5e34df}from'ckeditor5/src/core.js';import{uid as _0x1f795e,CKEditorError as _0x1f50d3}from'ckeditor5/src/utils.js';function _0x3638(){const _0x1ac14d=['_createCommentThread','28vwudpr','$textProxy','plugins','config','set','document','from','isEnabled','addCommentThread','length','192756NpLQpf','1741375CDvvau','29121EDOwuj','element','refresh','createRange','getLastMatchingPosition','_createMarkersFromRanges','backward','_hasContent','Users','addcommentthreadcommand-incorrect-ranges','start','execute','item','_itemIsContent','schema','change','696048tXCXDd','get','CommentsRepository','isObject','push','getItems','getRanges','addcommentthreadcommand-user-not-found','selection','_trimToContent','tableCell','comment:','hasContent','collaboration.channelId','editor','substr','addMarker','12813216JBCycf','847536WWZcQV','end','model','2659349uRpjoK'];_0x3638=function(){return _0x1ac14d;};return _0x3638();}export class AddCommentThreadCommand extends _0x5e34df{constructor(_0xf3c3af){const _0x2e1521=_0x1a77;super(_0xf3c3af),this[_0x2e1521(0xb8)](_0x2e1521(0xa9),!0x1);}[_0x412fb5(0xc2)](){const _0x105699=_0x412fb5,_0x2bceda=this[_0x105699(0xab)][_0x105699(0xb1)][_0x105699(0xb9)][_0x105699(0xa5)];this[_0x105699(0xbb)]=!0x0,this[_0x105699(0xa9)]=!0x1;for(const _0x2963a8 of _0x2bceda[_0x105699(0xa3)]())if(this[_0x105699(0x94)](_0x2963a8))return void(this[_0x105699(0xa9)]=!0x0);}[_0x412fb5(0x98)]({threadId:_0x179999=_0x1f795e(),ranges:_0x129a5,comment:_0x1a5677}={}){const _0x503270=_0x412fb5,_0x552103=this[_0x503270(0xab)][_0x503270(0xb1)],_0x1f3765=_0x129a5??Array[_0x503270(0xba)](_0x552103[_0x503270(0xb9)][_0x503270(0xa5)][_0x503270(0xa3)]()),_0x2079ba=[];for(const _0x1cfc94 of _0x1f3765)this[_0x503270(0x94)](_0x1cfc94)&&_0x2079ba[_0x503270(0xa1)](this[_0x503270(0xa6)](_0x1cfc94));if(!_0x2079ba[_0x503270(0xbd)])throw new _0x1f50d3(_0x503270(0x96),null);_0x1a5677&&this[_0x503270(0xb3)](_0x179999,_0x1a5677),this[_0x503270(0x92)](_0x179999,_0x2079ba,!!_0x1a5677);}[_0x412fb5(0x92)](_0x56ea46,_0x2fd28f,_0x188af1){const _0x1dd61b=_0x412fb5;this[_0x1dd61b(0xab)][_0x1dd61b(0xb1)][_0x1dd61b(0x9c)](_0x198e35=>{const _0x21d6e1=_0x1dd61b;for(const _0x2a8d4b of _0x2fd28f){const _0x4416c8=_0x1f795e()[_0x21d6e1(0xac)](0x1,0x5),_0x3faa35=_0x21d6e1(0xa8)+_0x56ea46+':'+_0x4416c8;_0x198e35[_0x21d6e1(0xad)](_0x3faa35,{'range':_0x2a8d4b,'usingOperation':_0x188af1,'affectsData':_0x188af1});}});}[_0x412fb5(0xb3)](_0x5d3634,_0x194156){const _0x1bf5e2=_0x412fb5,_0x19170c=this[_0x1bf5e2(0xab)][_0x1bf5e2(0xb6)][_0x1bf5e2(0x9e)](_0x1bf5e2(0x9f)),_0x3ff948=this[_0x1bf5e2(0xab)][_0x1bf5e2(0xb7)][_0x1bf5e2(0x9e)](_0x1bf5e2(0xaa)),_0x46b27a=this[_0x1bf5e2(0xab)][_0x1bf5e2(0xb6)][_0x1bf5e2(0x9e)](_0x1bf5e2(0x95))['me'];if(!_0x46b27a)throw new _0x1f50d3(_0x1bf5e2(0xa4),null);_0x19170c[_0x1bf5e2(0xbc)]({'threadId':_0x5d3634,'channelId':_0x3ff948,'comments':[{'authorId':_0x46b27a['id'],'content':_0x194156,'createdAt':new Date(),'attributes':{}}]});}[_0x412fb5(0x94)](_0x2d09a5){const _0x53e64f=_0x412fb5;for(const _0x12f0a2 of _0x2d09a5[_0x53e64f(0xa2)]())if(this[_0x53e64f(0x9a)](_0x12f0a2))return!0x0;return!0x1;}[_0x412fb5(0x9a)](_0x414ade){const _0x23a289=_0x412fb5;return _0x414ade['is'](_0x23a289(0xb5))||this[_0x23a289(0xab)][_0x23a289(0xb1)][_0x23a289(0x9b)][_0x23a289(0xa0)](_0x414ade)&&!_0x414ade['is'](_0x23a289(0xc1),_0x23a289(0xa7));}[_0x412fb5(0xa6)](_0x5aae3c){const _0x56afce=_0x412fb5,_0x56a946=_0xf3fa9b=>!this[_0x56afce(0x9a)](_0xf3fa9b[_0x56afce(0x99)]),_0x1b2b06=_0x5aae3c[_0x56afce(0x97)][_0x56afce(0x91)](_0x56a946),_0x5b43cb=_0x5aae3c[_0x56afce(0xb0)][_0x56afce(0x91)](_0x56a946,{'direction':_0x56afce(0x93)});return this[_0x56afce(0xab)][_0x56afce(0xb1)][_0x56afce(0xc3)](_0x1b2b06,_0x5b43cb);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3157d9=_0x40a0;(function(_0x11e638,_0x4b3c41){const _0xe21672=_0x40a0,_0x5bb629=_0x11e638();while(!![]){try{const _0x359d88=parseInt(_0xe21672(0x1d4))/0x1*(parseInt(_0xe21672(0x1d1))/0x2)+-parseInt(_0xe21672(0x1d6))/0x3*(parseInt(_0xe21672(0x1cf))/0x4)+-parseInt(_0xe21672(0x1c9))/0x5+parseInt(_0xe21672(0x1c6))/0x6*(-parseInt(_0xe21672(0x1d2))/0x7)+-parseInt(_0xe21672(0x1c8))/0x8+-parseInt(_0xe21672(0x1d0))/0x9+-parseInt(_0xe21672(0x1c0))/0xa*(-parseInt(_0xe21672(0x1e1))/0xb);if(_0x359d88===_0x4b3c41)break;else _0x5bb629['push'](_0x5bb629['shift']());}catch(_0x202b0b){_0x5bb629['push'](_0x5bb629['shift']());}}}(_0x2b3b,0xa566e));function _0x40a0(_0x573ed7,_0x5c3978){const _0x2b3bbe=_0x2b3b();return _0x40a0=function(_0x40a05b,_0x3728c0){_0x40a05b=_0x40a05b-0x1be;let _0x128be9=_0x2b3bbe[_0x40a05b];return _0x128be9;},_0x40a0(_0x573ed7,_0x5c3978);}import{ContextPlugin as _0x269587}from'ckeditor5/src/core.js';import{Collection as _0x540040}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x40a062}from'./commentsrepository.js';import{Annotations as _0x1c6b4f}from'../annotations/annotations.js';export class CommentsArchive extends _0x269587{static get[_0x3157d9(0x1e5)](){const _0xf04c6d=_0x3157d9;return _0xf04c6d(0x1c5);}static get[_0x3157d9(0x1c2)](){return!0x0;}static get[_0x3157d9(0x1d9)](){return!0x0;}static get[_0x3157d9(0x1d7)](){return[_0x40a062,_0x1c6b4f];}constructor(_0x17284b){const _0x29919c=_0x3157d9;super(_0x17284b),this[_0x29919c(0x1db)]=new _0x540040();}[_0x3157d9(0x1c7)](){const _0x6490d2=_0x3157d9,_0x3e3aa2=this[_0x6490d2(0x1dc)],_0x1459bb=_0x3e3aa2[_0x6490d2(0x1d3)][_0x6490d2(0x1cb)](_0x40a062),_0x30d947=_0x3e3aa2[_0x6490d2(0x1d3)][_0x6490d2(0x1cb)](_0x1c6b4f);this[_0x6490d2(0x1df)](_0x1459bb,_0x6490d2(0x1e2),(_0x1346e8,{threadId:_0x2dd331})=>{const _0x295098=_0x6490d2,_0x21952a=_0x1459bb[_0x295098(0x1be)](_0x2dd331);_0x21952a[_0x295098(0x1ce)]&&this[_0x295098(0x1db)][_0x295098(0x1c3)](_0x21952a,this[_0x295098(0x1dd)](_0x21952a[_0x295098(0x1ce)])),this[_0x295098(0x1df)](_0x21952a,_0x295098(0x1c4),(_0x162f98,_0x25877e,_0xee53db)=>{const _0x20da79=_0x295098;_0xee53db?this[_0x20da79(0x1db)][_0x20da79(0x1cc)](_0x21952a)||this[_0x20da79(0x1db)][_0x20da79(0x1c3)](_0x21952a,this[_0x20da79(0x1dd)](_0x21952a[_0x20da79(0x1ce)])):this[_0x20da79(0x1db)][_0x20da79(0x1cc)](_0x21952a)&&this[_0x20da79(0x1db)][_0x20da79(0x1cd)](_0x21952a);});}),this[_0x6490d2(0x1df)](_0x1459bb,_0x6490d2(0x1ca),(_0x4df3a3,{threadId:_0x35bbd4})=>{const _0x2a7bf1=_0x6490d2,_0x1432d3=_0x1459bb[_0x2a7bf1(0x1be)](_0x35bbd4);this[_0x2a7bf1(0x1da)](_0x1432d3),this[_0x2a7bf1(0x1db)][_0x2a7bf1(0x1cc)](_0x1432d3)&&this[_0x2a7bf1(0x1db)][_0x2a7bf1(0x1cd)](_0x1432d3);},{'priority':_0x6490d2(0x1e0)}),this[_0x6490d2(0x1df)](_0x30d947[_0x6490d2(0x1d8)],_0x6490d2(0x1bf),(_0x24bc65,_0x246c84)=>{const _0x2d0353=_0x6490d2;_0x246c84[_0x2d0353(0x1d5)]||(_0x246c84[_0x2d0353(0x1c1)]=!0x0,_0x30d947[_0x2d0353(0x1e4)](_0x246c84));});}[_0x3157d9(0x1dd)](_0x2cd228){const _0x2f64f5=_0x3157d9,_0x3c7f21=[...this[_0x2f64f5(0x1db)]][_0x2f64f5(0x1de)](_0x213dcf=>_0x213dcf[_0x2f64f5(0x1ce)]<_0x2cd228);return _0x3c7f21>-0x1?_0x3c7f21:this[_0x2f64f5(0x1db)][_0x2f64f5(0x1e3)];}}function _0x2b3b(){const _0x5686c2=['init','2938600YWtthl','5846645MNwwQL','removeCommentThread','get','has','remove','archivedAt','3336wgChjV','10581597cgvMNz','50NlblvH','17731PgldCu','plugins','6658RqZXtI','isVisible','3765FbtFwX','requires','collection','isPremiumPlugin','stopListening','archivedThreads','context','_calculatePosition','findIndex','listenTo','highest','4994xlaMjW','addCommentThread','length','activate','pluginName','getCommentThread','focus','99690vmmtOk','isActive','isOfficialPlugin','add','change:archivedAt','CommentsArchive','606ENTOdj'];_0x2b3b=function(){return _0x5686c2;};return _0x2b3b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1283ca=_0x1a61;(function(_0x2b3c6c,_0x384329){const _0x3c8d0a=_0x1a61,_0x2809c1=_0x2b3c6c();while(!![]){try{const _0x48b46e=parseInt(_0x3c8d0a(0x148))/0x1*(parseInt(_0x3c8d0a(0x154))/0x2)+-parseInt(_0x3c8d0a(0x16b))/0x3+parseInt(_0x3c8d0a(0x155))/0x4*(-parseInt(_0x3c8d0a(0x181))/0x5)+parseInt(_0x3c8d0a(0x152))/0x6+parseInt(_0x3c8d0a(0x18a))/0x7+parseInt(_0x3c8d0a(0x156))/0x8+-parseInt(_0x3c8d0a(0x161))/0x9*(-parseInt(_0x3c8d0a(0x149))/0xa);if(_0x48b46e===_0x384329)break;else _0x2809c1['push'](_0x2809c1['shift']());}catch(_0x50a236){_0x2809c1['push'](_0x2809c1['shift']());}}}(_0x3013,0x5b6e2));import'../../theme/commentsarchive.css';function _0x1a61(_0x53121e,_0xbc9dca){const _0x30130d=_0x3013();return _0x1a61=function(_0x1a616f,_0x3365b9){_0x1a616f=_0x1a616f-0x147;let _0x33a0b9=_0x30130d[_0x1a616f];return _0x33a0b9;},_0x1a61(_0x53121e,_0xbc9dca);}function _0x3013(){const _0x258c36=['splice','indexOf','collaboration.channelId','269995iIVvPm','archivedThreads','_createCommentsArchiveButton','listenTo','set:isVisible','editor','findIndex','forEach','isVisible','2557954hnwsxh','includes','length','menuBar:commentsArchive','set','isOfficialPlugin','config','stopListening','menuitemcheckbox','tooltip','find','escape','COMMENTS_ARCHIVE','152729KBYYYd','2630LwiSwn','Annotations','isOpen','isPremiumPlugin','push','commentsArchive','CommentsRepository','locale','_addAnnotationToArchive','2335014BmjvOG','collection','2GRpjcI','28NZBVGL','3512712VQYaux','_pendingThreads','_hideDialogOnAnnotationEscape','commentsArchiveView','isOn','_threadToController','hide','_calculatePosition','annotationViews','componentFactory','bind','4581MkxXkI','stop','view','init','return','isEnabled','_visibleAnnotations','EDITOR_TOP_SIDE','has','get','2183355Jwuvfj','CommentsArchiveUI','add','requires','show','focusableElements','remove','getByInnerView','innerView','source','execute','plugins','_toggleDialog','archivedAt','filter','pluginName','_handleNewThread','Dialog','channelId'];_0x3013=function(){return _0x258c36;};return _0x3013();}import{Plugin as _0x1dd149}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x57f779}from'ckeditor5/src/icons.js';import{ViewCollection as _0x1228cc,MenuBarMenuListItemButtonView as _0xe523d9,ButtonView as _0x57d47f,Dialog as _0x1a051d,DialogViewPosition as _0x52d0ed}from'ckeditor5/src/ui.js';import{getTranslation as _0x11b79b}from'../utils/common-translations.js';import{CommentsArchiveView as _0x31cf95}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x21535f}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x1dd149{[_0x1283ca(0x159)];[_0x1283ca(0x15e)];[_0x1283ca(0x157)];static get[_0x1283ca(0x17a)](){const _0x39d6c5=_0x1283ca;return _0x39d6c5(0x16c);}static get[_0x1283ca(0x18f)](){return!0x0;}static get[_0x1283ca(0x14c)](){return!0x0;}static get[_0x1283ca(0x16e)](){return[_0x21535f,_0x1a051d];}constructor(_0x254305){const _0x18e96c=_0x1283ca;super(_0x254305),this[_0x18e96c(0x15e)]=new _0x1228cc(),this[_0x18e96c(0x157)]=[];}[_0x1283ca(0x164)](){const _0x1e7204=_0x1283ca,_0x39bdaa=this[_0x1e7204(0x186)],_0xf8ecd4=this[_0x1e7204(0x158)][_0x1e7204(0x160)](this);_0x39bdaa['ui'][_0x1e7204(0x15f)][_0x1e7204(0x16d)](_0x1e7204(0x14e),()=>this[_0x1e7204(0x183)](_0x57d47f,!0x0)),_0x39bdaa['ui'][_0x1e7204(0x15f)][_0x1e7204(0x16d)](_0x1e7204(0x18d),()=>{const _0x28ebf7=_0x1e7204,_0x52d55a=this[_0x28ebf7(0x183)](_0xe523d9);return _0x52d55a[_0x28ebf7(0x18e)]({'role':_0x28ebf7(0x192)}),_0x52d55a;});const _0xdfe66a=_0x39bdaa[_0x1e7204(0x176)][_0x1e7204(0x16a)](_0x21535f),_0x6de5ed=_0x39bdaa[_0x1e7204(0x176)][_0x1e7204(0x16a)](_0x1e7204(0x14a)),_0x6a6229=_0x39bdaa[_0x1e7204(0x176)][_0x1e7204(0x16a)](_0x1e7204(0x14f));_0xdfe66a[_0x1e7204(0x182)][_0x1e7204(0x188)](_0x5c11d6=>{const _0xaf6b13=_0x1e7204;this[_0xaf6b13(0x17b)](_0x5c11d6);}),this[_0x1e7204(0x184)](_0xdfe66a[_0x1e7204(0x182)],_0x1e7204(0x16d),(_0x15b6b7,_0x51ab30)=>{const _0x2fccb8=_0x1e7204;this[_0x2fccb8(0x17b)](_0x51ab30);}),this[_0x1e7204(0x184)](_0x6de5ed[_0x1e7204(0x153)],_0x1e7204(0x16d),(_0x48be42,_0x269c33)=>{const _0xd1e979=_0x1e7204,_0x24b85b=this[_0xd1e979(0x157)][_0xd1e979(0x194)](_0x3b161a=>{const _0x5c121e=_0xd1e979,_0x1836ec=_0x6a6229[_0x5c121e(0x15b)][_0x5c121e(0x16a)](_0x3b161a);return _0x1836ec&&_0x269c33[_0x5c121e(0x173)]===_0x1836ec[_0x5c121e(0x163)];});if(_0x24b85b){const _0x476870=this[_0xd1e979(0x15d)](_0x24b85b[_0xd1e979(0x178)]);this[_0xd1e979(0x151)](_0x269c33,_0x476870),this[_0xd1e979(0x157)][_0xd1e979(0x17e)](this[_0xd1e979(0x157)][_0xd1e979(0x17f)](_0x24b85b),0x1);}}),this[_0x1e7204(0x184)](_0xdfe66a[_0x1e7204(0x182)],_0x1e7204(0x171),(_0x2563b6,_0x42cbc5)=>{const _0x164d1d=_0x1e7204,_0x2c3736=_0x39bdaa[_0x164d1d(0x190)][_0x164d1d(0x16a)](_0x164d1d(0x180));if(!_0x2c3736||_0x42cbc5[_0x164d1d(0x17d)]===_0x2c3736){if(this[_0x164d1d(0x157)][_0x164d1d(0x18b)](_0x42cbc5))this[_0x164d1d(0x157)][_0x164d1d(0x17e)](this[_0x164d1d(0x157)][_0x164d1d(0x17f)](_0x42cbc5),0x1);else{const _0xa8d671=_0x6a6229[_0x164d1d(0x15b)][_0x164d1d(0x16a)](_0x42cbc5),_0x34de34=_0x6de5ed[_0x164d1d(0x172)](_0xa8d671[_0x164d1d(0x163)]);this[_0x164d1d(0x15e)][_0x164d1d(0x171)](_0x34de34[_0x164d1d(0x163)]),this[_0x164d1d(0x191)](_0x34de34),this[_0x164d1d(0x191)](_0x34de34[_0x164d1d(0x170)]);}}}),this[_0x1e7204(0x184)](_0x6de5ed[_0x1e7204(0x153)],_0x1e7204(0x16d),(_0x496beb,_0x5c6506)=>{const _0x2a2284=_0x1e7204;this[_0x2a2284(0x184)](_0x5c6506,_0x2a2284(0x195),_0xf8ecd4);}),this[_0x1e7204(0x184)](_0x6de5ed[_0x1e7204(0x153)],_0x1e7204(0x171),(_0x2736a4,_0x4a965b)=>{const _0x2bf64b=_0x1e7204;this[_0x2bf64b(0x191)](_0x4a965b,_0x2bf64b(0x195),_0xf8ecd4);});}[_0x1283ca(0x151)](_0x1b9fa0,_0x14b675){const _0x18f42e=_0x1283ca;this[_0x18f42e(0x184)](_0x1b9fa0,_0x18f42e(0x185),_0x512e22=>{const _0x425097=_0x18f42e;_0x512e22[_0x425097(0x165)]=!0x1,_0x512e22[_0x425097(0x162)]();}),this[_0x18f42e(0x15e)][_0x18f42e(0x16d)](_0x1b9fa0[_0x18f42e(0x163)],_0x14b675);}[_0x1283ca(0x17b)](_0x12e91e){const _0x4e8180=_0x1283ca,_0x2d8917=this[_0x4e8180(0x186)][_0x4e8180(0x176)][_0x4e8180(0x16a)](_0x4e8180(0x14f)),_0x4bc023=this[_0x4e8180(0x186)][_0x4e8180(0x176)][_0x4e8180(0x16a)](_0x4e8180(0x14a)),_0x41ccd3=this[_0x4e8180(0x186)][_0x4e8180(0x190)][_0x4e8180(0x16a)](_0x4e8180(0x180));if(!_0x41ccd3||_0x12e91e[_0x4e8180(0x17d)]===_0x41ccd3){const _0x3ef19a=_0x2d8917[_0x4e8180(0x15b)][_0x4e8180(0x16a)](_0x12e91e);if(!_0x3ef19a)return void this[_0x4e8180(0x157)][_0x4e8180(0x14d)](_0x12e91e);const _0x3e218b=this[_0x4e8180(0x15d)](_0x12e91e[_0x4e8180(0x178)]),_0x58ea64=_0x4bc023[_0x4e8180(0x172)](_0x3ef19a[_0x4e8180(0x163)]);_0x58ea64[_0x4e8180(0x189)]&&_0x4bc023[_0x4e8180(0x167)][_0x4e8180(0x171)](_0x58ea64),this[_0x4e8180(0x151)](_0x58ea64,_0x3e218b);}}[_0x1283ca(0x15d)](_0x54f9d6){const _0x33824d=_0x1283ca,_0x19e235=this[_0x33824d(0x186)][_0x33824d(0x190)][_0x33824d(0x16a)](_0x33824d(0x180)),_0x5c7580=[...this[_0x33824d(0x186)][_0x33824d(0x176)][_0x33824d(0x16a)](_0x21535f)[_0x33824d(0x182)]][_0x33824d(0x179)](_0x3b5fe4=>_0x3b5fe4[_0x33824d(0x17d)]===_0x19e235)[_0x33824d(0x187)](_0x325a6e=>_0x325a6e[_0x33824d(0x178)]<_0x54f9d6);return _0x5c7580<0x0||_0x5c7580>this[_0x33824d(0x15e)][_0x33824d(0x18c)]?this[_0x33824d(0x15e)][_0x33824d(0x18c)]:_0x5c7580-0x1;}[_0x1283ca(0x177)](){const _0x196f6f=_0x1283ca,_0x5b9872=this[_0x196f6f(0x186)],_0x37262a=_0x5b9872[_0x196f6f(0x176)][_0x196f6f(0x16a)](_0x196f6f(0x17c));this[_0x196f6f(0x159)]||(this[_0x196f6f(0x159)]=new _0x31cf95(_0x5b9872[_0x196f6f(0x150)],this[_0x196f6f(0x15e)])),_0x196f6f(0x14e)===_0x37262a['id']?_0x37262a[_0x196f6f(0x15c)]():_0x37262a[_0x196f6f(0x16f)]({'id':_0x196f6f(0x14e),'title':_0x11b79b(_0x5b9872[_0x196f6f(0x150)],_0x196f6f(0x147)),'icon':_0x57f779,'hasCloseButton':!0x0,'content':this[_0x196f6f(0x159)],'position':_0x52d0ed[_0x196f6f(0x168)]});}[_0x1283ca(0x183)](_0x4541c3,_0x5df520=!0x1){const _0xb1cae5=_0x1283ca,_0x42bd1f=this[_0xb1cae5(0x186)][_0xb1cae5(0x150)],_0x410ed4=this[_0xb1cae5(0x186)][_0xb1cae5(0x176)][_0xb1cae5(0x16a)](_0xb1cae5(0x17c)),_0x46026f=new _0x4541c3(_0x42bd1f);return _0x46026f[_0xb1cae5(0x160)](_0xb1cae5(0x166))['to'](this,_0xb1cae5(0x166)),_0x46026f[_0xb1cae5(0x160)](_0xb1cae5(0x15a))['to'](_0x410ed4,'id',_0x350b1e=>_0xb1cae5(0x14e)===_0x350b1e),_0x46026f[_0xb1cae5(0x18e)]({'label':_0x11b79b(_0x42bd1f,_0xb1cae5(0x147)),'icon':_0x57f779,'isToggleable':!0x0}),_0x5df520&&(_0x46026f[_0xb1cae5(0x193)]=!0x0),this[_0xb1cae5(0x184)](_0x46026f,_0xb1cae5(0x175),()=>this[_0xb1cae5(0x177)]()),_0x46026f;}[_0x1283ca(0x158)]=_0x1d4bab=>{const _0x4ffacd=_0x1283ca,_0x8b26a5=_0x1d4bab[_0x4ffacd(0x174)];if(!this[_0x4ffacd(0x15e)][_0x4ffacd(0x169)](_0x8b26a5[_0x4ffacd(0x163)]))return;const _0x1de1cc=this[_0x4ffacd(0x186)][_0x4ffacd(0x176)][_0x4ffacd(0x16a)](_0x4ffacd(0x17c));_0x1de1cc[_0x4ffacd(0x14b)]&&_0x4ffacd(0x14e)===_0x1de1cc['id']&&(_0x1de1cc[_0x4ffacd(0x15c)](),_0x1d4bab[_0x4ffacd(0x162)]());};}
|