@ckeditor/ckeditor5-comments 47.2.0-alpha.6 → 47.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x47d8f1=_0x170a;function _0x170a(_0x84f26c,_0x27bf3f){const _0x2ec465=_0x2ec4();return _0x170a=function(_0x170a65,_0x347373){_0x170a65=_0x170a65-0x1d6;let _0x5b1041=_0x2ec465[_0x170a65];return _0x5b1041;},_0x170a(_0x84f26c,_0x27bf3f);}(function(_0x8cbea2,_0xe6cf3c){const _0x218a71=_0x170a,_0xf6cca0=_0x8cbea2();while(!![]){try{const _0x57cee1=-parseInt(_0x218a71(0x231))/0x1*(parseInt(_0x218a71(0x201))/0x2)+parseInt(_0x218a71(0x20e))/0x3*(parseInt(_0x218a71(0x214))/0x4)+parseInt(_0x218a71(0x211))/0x5*(parseInt(_0x218a71(0x22f))/0x6)+-parseInt(_0x218a71(0x1e3))/0x7+-parseInt(_0x218a71(0x215))/0x8+-parseInt(_0x218a71(0x20d))/0x9*(parseInt(_0x218a71(0x221))/0xa)+-parseInt(_0x218a71(0x1db))/0xb*(-parseInt(_0x218a71(0x205))/0xc);if(_0x57cee1===_0xe6cf3c)break;else _0xf6cca0['push'](_0xf6cca0['shift']());}catch(_0x46f8f0){_0xf6cca0['push'](_0xf6cca0['shift']());}}}(_0x2ec4,0xc5b29));import{ContextPlugin as _0x320356}from'ckeditor5/src/core.js';function _0x2ec4(){const _0x1220e0=['appendChild','length','_setItemTop','9162524xLoHDm','_sidebarItemViewToAnnotation','_destroySidebarItemView','render','unbind','addAnnotation','_updateLastItem','targetRect','height','element','isOfficialPlugin','rearrange','_detachFromContainer','sidebar.preventScrollOutOfView','change:targetRect','_alignToTargetRect','_getItemAfter','nodeType','content','change:top','_getItemBefore','_alignBeforeItem','isActive','_activeAnnotation','_lastItem','get','_annotations','_recalculate','class','refresh','674xYDBie','_createSidebarView','define','updateHeight','12EEpARo','target','getSidebarItemView','container','object','locale','max','Sidebar','198DFcNIO','3peFvpx','_targetTop','last','3070NrvoEm','add','getIndex','4272044TDrPYo','1630336DvJUcO','setContainer','push','sidebar-attachtocontainer-missing-container','view','_spaceBetweenItems','_alignForTopChange','_alignForBottomChange','_getMaxAvailableTop','delete','stopListening','sidebar-setcontainer-invalid-element','241880qLCChX','sidebar.container','_annotationToSidebarItemView','isPremiumPlugin','change:_lastItem','top','minHeight','_getTargetTop','remove','clear','change:bottom','list','pluginName','config','11574IITBHT','init','653ADQjBl','listenTo','bind','bottom','isAnimationDisabled','context','_recalculateBuffer','9045003KJLkAW','destroy','_alignAfterItem','set','_attachToContainer'];_0x2ec4=function(){return _0x1220e0;};return _0x2ec4();}import{Rect as _0x1caef8,CKEditorError as _0x4b1495}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x44b670}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x57dfee}from'./view/sidebaritemview.js';export class Sidebar extends _0x320356{[_0x47d8f1(0x219)];[_0x47d8f1(0x1fa)];[_0x47d8f1(0x1fd)];[_0x47d8f1(0x21a)];[_0x47d8f1(0x1e4)];[_0x47d8f1(0x223)];[_0x47d8f1(0x1da)];static get[_0x47d8f1(0x22d)](){const _0xeb9298=_0x47d8f1;return _0xeb9298(0x20c);}static get[_0x47d8f1(0x1ed)](){return!0x0;}static get[_0x47d8f1(0x224)](){return!0x0;}constructor(_0x1c0017){const _0x348003=_0x47d8f1;super(_0x1c0017),this[_0x348003(0x1de)](_0x348003(0x1fb),void 0x0),this[_0x348003(0x219)]=this[_0x348003(0x202)](),this[_0x348003(0x1de)](_0x348003(0x208),null),this[_0x348003(0x21a)]=0x19,this[_0x348003(0x1e4)]=new Map(),this[_0x348003(0x223)]=new Map(),this[_0x348003(0x1d9)][_0x348003(0x22e)][_0x348003(0x203)](_0x348003(0x1f0),!0x1),this[_0x348003(0x1fd)]=null,this[_0x348003(0x1fa)]=null,this[_0x348003(0x1da)]=[];}[_0x47d8f1(0x230)](){const _0x228b16=_0x47d8f1,_0x5b2a13=this[_0x228b16(0x1d9)][_0x228b16(0x22e)][_0x228b16(0x1fc)](_0x228b16(0x222));_0x5b2a13&&this[_0x228b16(0x216)](_0x5b2a13);}[_0x47d8f1(0x216)](_0x4c2bb7){const _0x5e4bd5=_0x47d8f1;if(!g(_0x4c2bb7))throw new _0x4b1495(_0x5e4bd5(0x220));this[_0x5e4bd5(0x208)]=_0x4c2bb7;}[_0x47d8f1(0x1df)]({viewClass:_0x24cf7f='',spaceBetweenItems:_0x3a005f=0x19}={}){const _0xcacacd=_0x47d8f1;if(!g(this[_0xcacacd(0x208)]))throw new _0x4b1495(_0xcacacd(0x218),this);this[_0xcacacd(0x208)][_0xcacacd(0x1e0)](this[_0xcacacd(0x219)][_0xcacacd(0x1ec)]),this[_0xcacacd(0x219)][_0xcacacd(0x1ff)]=_0x24cf7f,this[_0xcacacd(0x21a)]=_0x3a005f;}[_0x47d8f1(0x1ee)]({removedAnnotation:_0x31bec2,previousAnnotation:_0xde835d,nextAnnotation:_0x47d209}){const _0x5101af=_0x47d8f1,_0x2daa2f=this[_0x5101af(0x207)](_0x31bec2);this[_0x5101af(0x219)][_0x5101af(0x22c)][_0x5101af(0x229)](_0x2daa2f),this[_0x5101af(0x1e5)](_0x31bec2),_0xde835d&&this[_0x5101af(0x1f2)](this[_0x5101af(0x207)](_0xde835d)),_0x47d209&&this[_0x5101af(0x1f2)](this[_0x5101af(0x207)](_0x47d209)),this[_0x5101af(0x1e9)]();}[_0x47d8f1(0x200)]({blurredAnnotation:_0x52240e,activatedAnnotation:_0x3207b9,disableAnimationOnActivatedAnnotation:_0x1c8f3f}){const _0x2490e2=_0x47d8f1;if(this[_0x2490e2(0x1fa)]=_0x3207b9,_0x52240e){_0x52240e[_0x2490e2(0x1f9)]=!0x1;const _0xd14a6=this[_0x2490e2(0x207)](_0x52240e);_0xd14a6&&_0x1c8f3f&&(_0xd14a6[_0x2490e2(0x1d8)]=!0x1);}if(_0x3207b9){const _0x9530e7=this[_0x2490e2(0x207)](_0x3207b9);_0x9530e7&&(_0x3207b9[_0x2490e2(0x1f9)]=!0x0,_0x1c8f3f&&(_0x9530e7[_0x2490e2(0x1d8)]=!0x0,_0x9530e7[_0x2490e2(0x226)]+=0x1),this[_0x2490e2(0x1f2)](_0x9530e7));}}[_0x47d8f1(0x1ef)](_0x52af9a){const _0x119db6=_0x47d8f1;if(this[_0x119db6(0x219)][_0x119db6(0x1ec)][_0x119db6(0x229)](),_0x52af9a){for(const _0x549e04 of _0x52af9a)this[_0x119db6(0x1e5)](_0x549e04);}this[_0x119db6(0x219)][_0x119db6(0x22c)][_0x119db6(0x22a)](),this[_0x119db6(0x219)][_0x119db6(0x1ff)]='',this[_0x119db6(0x1fb)]=null;}[_0x47d8f1(0x1e8)](_0x1a4a2c,_0x46aafb){const _0x377745=_0x47d8f1;_0x46aafb||(_0x46aafb=_0x1a4a2c[_0x377745(0x219)]);const _0x12bc5d=new _0x57dfee(this[_0x377745(0x1d9)][_0x377745(0x20a)]);this[_0x377745(0x1e4)][_0x377745(0x1de)](_0x12bc5d,_0x1a4a2c),this[_0x377745(0x223)][_0x377745(0x1de)](_0x1a4a2c,_0x12bc5d),_0x12bc5d[_0x377745(0x1f5)][_0x377745(0x212)](_0x46aafb),this[_0x377745(0x232)](_0x1a4a2c[_0x377745(0x219)],_0x377745(0x1f1),(_0x1cb5c5,_0x10b5ad,_0x10725f)=>{const _0x555b94=_0x377745,_0x390971=this[_0x555b94(0x228)](_0x1a4a2c,_0x10725f);_0x12bc5d[_0x555b94(0x20f)]!=_0x390971&&(_0x12bc5d[_0x555b94(0x20f)]=_0x390971,this[_0x555b94(0x1e2)](_0x12bc5d,_0x390971));}),this[_0x377745(0x232)](_0x12bc5d,_0x377745(0x1f6),()=>{const _0x19e3cb=_0x377745;this[_0x19e3cb(0x1fe)](_0x12bc5d,_0x19e3cb(0x226));}),this[_0x377745(0x232)](_0x12bc5d,_0x377745(0x22b),()=>{const _0x578f90=_0x377745;this[_0x578f90(0x1fe)](_0x12bc5d,_0x578f90(0x1d7));}),this[_0x377745(0x1f2)](_0x12bc5d);const _0x34efe1=this[_0x377745(0x1f7)](_0x12bc5d);if(_0x34efe1)this[_0x377745(0x1dd)](_0x34efe1,_0x12bc5d)||this[_0x377745(0x1f2)](_0x12bc5d);else this[_0x377745(0x1f2)](_0x12bc5d);return this[_0x377745(0x1e9)](),this[_0x377745(0x219)][_0x377745(0x22c)][_0x377745(0x212)](_0x12bc5d),_0x12bc5d;}[_0x47d8f1(0x21b)](_0x1a9afb){const _0x1e8ca2=_0x47d8f1;if(!_0x1a9afb[_0x1e8ca2(0x1f5)][_0x1e8ca2(0x1e1)])return;const _0x5249f1=this[_0x1e8ca2(0x1f7)](_0x1a9afb);if(!_0x5249f1)return;const _0x409594=this[_0x1e8ca2(0x1e4)][_0x1e8ca2(0x1fc)](_0x5249f1),_0x1f8654=this[_0x1e8ca2(0x1fa)];_0x1f8654&&_0x1f8654===_0x409594?this[_0x1e8ca2(0x1dd)](_0x5249f1,_0x1a9afb):this[_0x1e8ca2(0x1f8)](_0x1a9afb,_0x5249f1);}[_0x47d8f1(0x21c)](_0x5aa622){const _0x2320df=_0x47d8f1;if(!_0x5aa622[_0x2320df(0x1f5)][_0x2320df(0x1e1)])return;const _0x10f355=this[_0x2320df(0x1f3)](_0x5aa622);if(!_0x10f355)return;const _0x39949b=this[_0x2320df(0x1e4)][_0x2320df(0x1fc)](_0x10f355),_0xd14a85=this[_0x2320df(0x1d9)][_0x2320df(0x22e)][_0x2320df(0x1fc)](_0x2320df(0x1f0)),_0x2abcf9=this[_0x2320df(0x1fa)];_0x2abcf9&&_0x2abcf9===_0x39949b&&_0xd14a85?(this[_0x2320df(0x1f8)](_0x10f355,_0x5aa622),this[_0x2320df(0x1dd)](_0x5aa622,_0x10f355)):_0x2abcf9&&_0x2abcf9===_0x39949b?this[_0x2320df(0x1f8)](_0x10f355,_0x5aa622):this[_0x2320df(0x1dd)](_0x5aa622,_0x10f355);}[_0x47d8f1(0x1fe)](_0x454eea,_0x3dfef1){const _0x3daa17=_0x47d8f1;0x0===this[_0x3daa17(0x1da)][_0x3daa17(0x1e1)]&&setTimeout(()=>{const _0x519beb=_0x3daa17;for(const {sidebarItemView:_0x26f81d,changedProp:_0x37eda5}of this[_0x519beb(0x1da)])_0x519beb(0x226)===_0x37eda5?this[_0x519beb(0x21b)](_0x26f81d):this[_0x519beb(0x21c)](_0x26f81d);this[_0x519beb(0x1da)]=[];},0xa),this[_0x3daa17(0x1da)][_0x3daa17(0x217)]({'sidebarItemView':_0x454eea,'changedProp':_0x3dfef1});}[_0x47d8f1(0x207)](_0x45683d){const _0x4eabb9=_0x47d8f1;return this[_0x4eabb9(0x223)][_0x4eabb9(0x1fc)](_0x45683d);}[_0x47d8f1(0x1dc)](){const _0x53b74b=_0x47d8f1;this[_0x53b74b(0x21f)](),this[_0x53b74b(0x219)][_0x53b74b(0x1dc)]();}[_0x47d8f1(0x1e5)](_0x997f7){const _0x52ec42=_0x47d8f1,_0x5f5a8e=this[_0x52ec42(0x207)](_0x997f7);this[_0x52ec42(0x21f)](_0x5f5a8e),this[_0x52ec42(0x21f)](_0x997f7[_0x52ec42(0x219)]),_0x5f5a8e[_0x52ec42(0x1dc)](),this[_0x52ec42(0x223)][_0x52ec42(0x21e)](_0x997f7),this[_0x52ec42(0x1e4)][_0x52ec42(0x21e)](_0x5f5a8e);}[_0x47d8f1(0x202)](){const _0x5bce6a=_0x47d8f1,_0x41ffbc=new _0x44b670(this[_0x5bce6a(0x1d9)][_0x5bce6a(0x20a)]);return _0x41ffbc[_0x5bce6a(0x1e6)](),this['on'](_0x5bce6a(0x225),(_0x176a6c,_0x17e173,_0x3e6ab0,_0x1630fd)=>{const _0xe91397=_0x5bce6a;_0x1630fd&&_0x41ffbc[_0xe91397(0x1e7)](_0xe91397(0x227)),_0x3e6ab0?_0x41ffbc[_0xe91397(0x1d6)](_0xe91397(0x227))['to'](_0x3e6ab0,_0xe91397(0x1d7)):_0x41ffbc[_0xe91397(0x227)]=null;}),_0x41ffbc;}[_0x47d8f1(0x1e9)](){const _0x467c9f=_0x47d8f1;this[_0x467c9f(0x1fb)]=this[_0x467c9f(0x1fd)]?.[_0x467c9f(0x210)]?this[_0x467c9f(0x207)](this[_0x467c9f(0x1fd)][_0x467c9f(0x210)]):null;}[_0x47d8f1(0x1f7)](_0x1e0ef8){const _0x4f1b6c=_0x47d8f1,_0x584bc=this[_0x4f1b6c(0x1e4)][_0x4f1b6c(0x1fc)](_0x1e0ef8),_0x40fafe=_0x584bc&&this[_0x4f1b6c(0x1fd)]?.[_0x4f1b6c(0x1fc)](this[_0x4f1b6c(0x1fd)][_0x4f1b6c(0x213)](_0x584bc)-0x1);return _0x40fafe&&this[_0x4f1b6c(0x207)](_0x40fafe)||null;}[_0x47d8f1(0x1f3)](_0x20e2e2){const _0xbb900a=_0x47d8f1,_0x5ad791=this[_0xbb900a(0x1e4)][_0xbb900a(0x1fc)](_0x20e2e2),_0x19ac0d=_0x5ad791&&this[_0xbb900a(0x1fd)]?.[_0xbb900a(0x1fc)](this[_0xbb900a(0x1fd)][_0xbb900a(0x213)](_0x5ad791)+0x1);return _0x19ac0d&&this[_0xbb900a(0x207)](_0x19ac0d)||null;}[_0x47d8f1(0x1f8)](_0x26f5e3,_0x5ea2d2){const _0x352611=_0x47d8f1;_0x26f5e3[_0x352611(0x204)]();const _0xa281fb=G(_0x5ea2d2[_0x352611(0x1d7)]+this[_0x352611(0x21a)],_0x26f5e3[_0x352611(0x226)]);return!!_0xa281fb&&(this[_0x352611(0x1e2)](_0x5ea2d2,_0x5ea2d2[_0x352611(0x226)]-_0xa281fb),!0x0);}[_0x47d8f1(0x1dd)](_0x2ec4b2,_0x1ed476){const _0x4d40f4=_0x47d8f1;_0x2ec4b2[_0x4d40f4(0x204)]();const _0x4022a2=G(_0x2ec4b2[_0x4d40f4(0x1d7)]+this[_0x4d40f4(0x21a)],_0x1ed476[_0x4d40f4(0x226)]);return!!_0x4022a2&&(this[_0x4d40f4(0x1e2)](_0x1ed476,_0x1ed476[_0x4d40f4(0x226)]+_0x4022a2,!0x1),!0x0);}[_0x47d8f1(0x1f2)](_0x2b517d){const _0x13f336=_0x47d8f1,_0x335b20=this[_0x13f336(0x1e4)][_0x13f336(0x1fc)](_0x2b517d);if(!_0x335b20||!_0x335b20[_0x13f336(0x206)]||!_0x335b20[_0x13f336(0x1ea)])return;const _0x1349c9=this[_0x13f336(0x228)](_0x335b20,_0x335b20[_0x13f336(0x1ea)]);this[_0x13f336(0x1e2)](_0x2b517d,_0x1349c9);}[_0x47d8f1(0x228)](_0x4e5891,_0x1528bd){const _0x488e01=_0x47d8f1;if(null===_0x1528bd)return 0x0;if(_0x4e5891[_0x488e01(0x206)]instanceof _0x1caef8)return _0x1528bd[_0x488e01(0x226)];{const _0x1f08ee=new _0x1caef8(this[_0x488e01(0x219)][_0x488e01(0x1ec)])[_0x488e01(0x226)];return _0x1528bd[_0x488e01(0x226)]-_0x1f08ee;}}[_0x47d8f1(0x1e2)](_0x3a32c3,_0x6a3ee5,_0x122a62=this[_0x47d8f1(0x1d9)][_0x47d8f1(0x22e)][_0x47d8f1(0x1fc)](_0x47d8f1(0x1f0))){const _0x9a17a6=_0x47d8f1;_0x122a62&&(_0x6a3ee5=Math[_0x9a17a6(0x20b)](_0x6a3ee5,this[_0x9a17a6(0x21d)](_0x3a32c3))),_0x3a32c3[_0x9a17a6(0x226)]=_0x6a3ee5;}[_0x47d8f1(0x21d)](_0x6a56d8){const _0x43783b=_0x47d8f1;let _0x3531a0=this[_0x43783b(0x1f7)](_0x6a56d8),_0xb8c651=0x0;for(;_0x3531a0;)_0x3531a0[_0x43783b(0x204)](),_0xb8c651+=this[_0x43783b(0x21a)]+_0x3531a0[_0x43783b(0x1eb)],_0x3531a0=this[_0x43783b(0x1f7)](_0x3531a0);return _0xb8c651;}}function G(_0x2e2d06,_0x4370e8){const _0x820080=_0x47d8f1;return Math[_0x820080(0x20b)](_0x2e2d06-_0x4370e8,0x0);}function g(_0x3d2805){const _0x2adb58=_0x47d8f1;return null!==_0x3d2805&&_0x2adb58(0x209)==typeof _0x3d2805&&0x1===_0x3d2805[_0x2adb58(0x1f4)];}
|
|
23
|
+
const _0xf78925=_0xc20f;(function(_0x26b307,_0x2155d0){const _0x2b2712=_0xc20f,_0x50e187=_0x26b307();while(!![]){try{const _0x14fe11=parseInt(_0x2b2712(0x203))/0x1*(-parseInt(_0x2b2712(0x204))/0x2)+-parseInt(_0x2b2712(0x1e2))/0x3*(parseInt(_0x2b2712(0x22d))/0x4)+parseInt(_0x2b2712(0x22a))/0x5+parseInt(_0x2b2712(0x219))/0x6+-parseInt(_0x2b2712(0x1ff))/0x7*(-parseInt(_0x2b2712(0x21d))/0x8)+-parseInt(_0x2b2712(0x202))/0x9+-parseInt(_0x2b2712(0x20f))/0xa*(-parseInt(_0x2b2712(0x1f0))/0xb);if(_0x14fe11===_0x2155d0)break;else _0x50e187['push'](_0x50e187['shift']());}catch(_0x1abef7){_0x50e187['push'](_0x50e187['shift']());}}}(_0x6194,0xd449b));import{ContextPlugin as _0x393f43}from'ckeditor5/src/core.js';function _0x6194(){const _0xca3319=['_recalculate','class','content','_updateLastItem','change:targetRect','remove','add','15701rlrtci','change:_lastItem','target','6611256brWHoU','1yYkMed','668194QnwvFI','_attachToContainer','Sidebar','getIndex','isOfficialPlugin','_annotationToSidebarItemView','locale','addAnnotation','sidebar.container','top','height','835330UMYRzE','_activeAnnotation','set','minHeight','_lastItem','bind','nodeType','pluginName','object','_detachFromContainer','8161710kNqdVz','_alignForBottomChange','length','updateHeight','488fQTvwJ','unbind','sidebar-setcontainer-invalid-element','_spaceBetweenItems','_getTargetTop','isActive','sidebar.preventScrollOutOfView','isPremiumPlugin','init','change:bottom','refresh','context','define','4725660XaDRjZ','_alignToTargetRect','get','180788mVzxHS','appendChild','render','max','isAnimationDisabled','view','_targetTop','_alignAfterItem','last','listenTo','sidebar-attachtocontainer-missing-container','_getItemAfter','_alignBeforeItem','_setItemTop','delete','_recalculateBuffer','setContainer','39RfmHpT','push','stopListening','list','bottom','clear','getSidebarItemView','_createSidebarView','container','_getItemBefore','_destroySidebarItemView','_getMaxAvailableTop','_alignForTopChange','element','11AZlcIq','rearrange','_sidebarItemViewToAnnotation','destroy','change:top','targetRect','_annotations','config'];_0x6194=function(){return _0xca3319;};return _0x6194();}import{Rect as _0x13e7cd,CKEditorError as _0x64e0bb}from'ckeditor5/src/utils.js';function _0xc20f(_0x39f752,_0x4328b4){const _0x619407=_0x6194();return _0xc20f=function(_0xc20fdf,_0x50bae3){_0xc20fdf=_0xc20fdf-0x1d3;let _0xf85be6=_0x619407[_0xc20fdf];return _0xf85be6;},_0xc20f(_0x39f752,_0x4328b4);}import{AnnotationsSidebarView as _0x12c0c2}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x39fec0}from'./view/sidebaritemview.js';export class Sidebar extends _0x393f43{[_0xf78925(0x1d6)];[_0xf78925(0x210)];[_0xf78925(0x1f6)];[_0xf78925(0x220)];[_0xf78925(0x1f2)];[_0xf78925(0x209)];[_0xf78925(0x1e0)];static get[_0xf78925(0x216)](){const _0x42d1af=_0xf78925;return _0x42d1af(0x206);}static get[_0xf78925(0x208)](){return!0x0;}static get[_0xf78925(0x224)](){return!0x0;}constructor(_0x23d670){const _0x1636c3=_0xf78925;super(_0x23d670),this[_0x1636c3(0x211)](_0x1636c3(0x213),void 0x0),this[_0x1636c3(0x1d6)]=this[_0x1636c3(0x1e9)](),this[_0x1636c3(0x211)](_0x1636c3(0x1ea),null),this[_0x1636c3(0x220)]=0x19,this[_0x1636c3(0x1f2)]=new Map(),this[_0x1636c3(0x209)]=new Map(),this[_0x1636c3(0x228)][_0x1636c3(0x1f7)][_0x1636c3(0x229)](_0x1636c3(0x223),!0x1),this[_0x1636c3(0x1f6)]=null,this[_0x1636c3(0x210)]=null,this[_0x1636c3(0x1e0)]=[];}[_0xf78925(0x225)](){const _0x5e18e5=_0xf78925,_0x4cd5b4=this[_0x5e18e5(0x228)][_0x5e18e5(0x1f7)][_0x5e18e5(0x22c)](_0x5e18e5(0x20c));_0x4cd5b4&&this[_0x5e18e5(0x1e1)](_0x4cd5b4);}[_0xf78925(0x1e1)](_0x1935cb){const _0x13fa84=_0xf78925;if(!g(_0x1935cb))throw new _0x64e0bb(_0x13fa84(0x21f));this[_0x13fa84(0x1ea)]=_0x1935cb;}[_0xf78925(0x205)]({viewClass:_0x18a747='',spaceBetweenItems:_0x2c4224=0x19}={}){const _0x3a33bf=_0xf78925;if(!g(this[_0x3a33bf(0x1ea)]))throw new _0x64e0bb(_0x3a33bf(0x1db),this);this[_0x3a33bf(0x1ea)][_0x3a33bf(0x22e)](this[_0x3a33bf(0x1d6)][_0x3a33bf(0x1ef)]),this[_0x3a33bf(0x1d6)][_0x3a33bf(0x1f9)]=_0x18a747,this[_0x3a33bf(0x220)]=_0x2c4224;}[_0xf78925(0x1f1)]({removedAnnotation:_0xce2a04,previousAnnotation:_0xa74c7f,nextAnnotation:_0x503af2}){const _0x41ffb2=_0xf78925,_0x4d7bd0=this[_0x41ffb2(0x1e8)](_0xce2a04);this[_0x41ffb2(0x1d6)][_0x41ffb2(0x1e5)][_0x41ffb2(0x1fd)](_0x4d7bd0),this[_0x41ffb2(0x1ec)](_0xce2a04),_0xa74c7f&&this[_0x41ffb2(0x22b)](this[_0x41ffb2(0x1e8)](_0xa74c7f)),_0x503af2&&this[_0x41ffb2(0x22b)](this[_0x41ffb2(0x1e8)](_0x503af2)),this[_0x41ffb2(0x1fb)]();}[_0xf78925(0x227)]({blurredAnnotation:_0x1806da,activatedAnnotation:_0x116100,disableAnimationOnActivatedAnnotation:_0x20e5ca}){const _0x239f96=_0xf78925;if(this[_0x239f96(0x210)]=_0x116100,_0x1806da){_0x1806da[_0x239f96(0x222)]=!0x1;const _0x59cafd=this[_0x239f96(0x1e8)](_0x1806da);_0x59cafd&&_0x20e5ca&&(_0x59cafd[_0x239f96(0x1d5)]=!0x1);}if(_0x116100){const _0x3a65cb=this[_0x239f96(0x1e8)](_0x116100);_0x3a65cb&&(_0x116100[_0x239f96(0x222)]=!0x0,_0x20e5ca&&(_0x3a65cb[_0x239f96(0x1d5)]=!0x0,_0x3a65cb[_0x239f96(0x20d)]+=0x1),this[_0x239f96(0x22b)](_0x3a65cb));}}[_0xf78925(0x218)](_0x2bae91){const _0x33d629=_0xf78925;if(this[_0x33d629(0x1d6)][_0x33d629(0x1ef)][_0x33d629(0x1fd)](),_0x2bae91){for(const _0x5a1be7 of _0x2bae91)this[_0x33d629(0x1ec)](_0x5a1be7);}this[_0x33d629(0x1d6)][_0x33d629(0x1e5)][_0x33d629(0x1e7)](),this[_0x33d629(0x1d6)][_0x33d629(0x1f9)]='',this[_0x33d629(0x213)]=null;}[_0xf78925(0x20b)](_0x5345a,_0x4eae6a){const _0x5c6d0c=_0xf78925;_0x4eae6a||(_0x4eae6a=_0x5345a[_0x5c6d0c(0x1d6)]);const _0x8d054c=new _0x39fec0(this[_0x5c6d0c(0x228)][_0x5c6d0c(0x20a)]);this[_0x5c6d0c(0x1f2)][_0x5c6d0c(0x211)](_0x8d054c,_0x5345a),this[_0x5c6d0c(0x209)][_0x5c6d0c(0x211)](_0x5345a,_0x8d054c),_0x8d054c[_0x5c6d0c(0x1fa)][_0x5c6d0c(0x1fe)](_0x4eae6a),this[_0x5c6d0c(0x1da)](_0x5345a[_0x5c6d0c(0x1d6)],_0x5c6d0c(0x1fc),(_0x11bcb7,_0x30214e,_0x49adf7)=>{const _0x2e07c1=_0x5c6d0c,_0x5d3f7d=this[_0x2e07c1(0x221)](_0x5345a,_0x49adf7);_0x8d054c[_0x2e07c1(0x1d7)]!=_0x5d3f7d&&(_0x8d054c[_0x2e07c1(0x1d7)]=_0x5d3f7d,this[_0x2e07c1(0x1de)](_0x8d054c,_0x5d3f7d));}),this[_0x5c6d0c(0x1da)](_0x8d054c,_0x5c6d0c(0x1f4),()=>{const _0x158466=_0x5c6d0c;this[_0x158466(0x1f8)](_0x8d054c,_0x158466(0x20d));}),this[_0x5c6d0c(0x1da)](_0x8d054c,_0x5c6d0c(0x226),()=>{const _0x26ab73=_0x5c6d0c;this[_0x26ab73(0x1f8)](_0x8d054c,_0x26ab73(0x1e6));}),this[_0x5c6d0c(0x22b)](_0x8d054c);const _0x350c20=this[_0x5c6d0c(0x1eb)](_0x8d054c);if(_0x350c20)this[_0x5c6d0c(0x1d8)](_0x350c20,_0x8d054c)||this[_0x5c6d0c(0x22b)](_0x8d054c);else this[_0x5c6d0c(0x22b)](_0x8d054c);return this[_0x5c6d0c(0x1fb)](),this[_0x5c6d0c(0x1d6)][_0x5c6d0c(0x1e5)][_0x5c6d0c(0x1fe)](_0x8d054c),_0x8d054c;}[_0xf78925(0x1ee)](_0x4781a4){const _0xaf8a55=_0xf78925;if(!_0x4781a4[_0xaf8a55(0x1fa)][_0xaf8a55(0x21b)])return;const _0x192922=this[_0xaf8a55(0x1eb)](_0x4781a4);if(!_0x192922)return;const _0xb072c7=this[_0xaf8a55(0x1f2)][_0xaf8a55(0x22c)](_0x192922),_0x2050fe=this[_0xaf8a55(0x210)];_0x2050fe&&_0x2050fe===_0xb072c7?this[_0xaf8a55(0x1d8)](_0x192922,_0x4781a4):this[_0xaf8a55(0x1dd)](_0x4781a4,_0x192922);}[_0xf78925(0x21a)](_0x590918){const _0x67bc03=_0xf78925;if(!_0x590918[_0x67bc03(0x1fa)][_0x67bc03(0x21b)])return;const _0xc7c1f7=this[_0x67bc03(0x1dc)](_0x590918);if(!_0xc7c1f7)return;const _0x5d3d94=this[_0x67bc03(0x1f2)][_0x67bc03(0x22c)](_0xc7c1f7),_0x1d36af=this[_0x67bc03(0x228)][_0x67bc03(0x1f7)][_0x67bc03(0x22c)](_0x67bc03(0x223)),_0x3abbd8=this[_0x67bc03(0x210)];_0x3abbd8&&_0x3abbd8===_0x5d3d94&&_0x1d36af?(this[_0x67bc03(0x1dd)](_0xc7c1f7,_0x590918),this[_0x67bc03(0x1d8)](_0x590918,_0xc7c1f7)):_0x3abbd8&&_0x3abbd8===_0x5d3d94?this[_0x67bc03(0x1dd)](_0xc7c1f7,_0x590918):this[_0x67bc03(0x1d8)](_0x590918,_0xc7c1f7);}[_0xf78925(0x1f8)](_0x461921,_0x3098f2){const _0x2e6055=_0xf78925;0x0===this[_0x2e6055(0x1e0)][_0x2e6055(0x21b)]&&setTimeout(()=>{const _0x2a5bd5=_0x2e6055;for(const {sidebarItemView:_0x3f37ee,changedProp:_0x29a09f}of this[_0x2a5bd5(0x1e0)])_0x2a5bd5(0x20d)===_0x29a09f?this[_0x2a5bd5(0x1ee)](_0x3f37ee):this[_0x2a5bd5(0x21a)](_0x3f37ee);this[_0x2a5bd5(0x1e0)]=[];},0xa),this[_0x2e6055(0x1e0)][_0x2e6055(0x1e3)]({'sidebarItemView':_0x461921,'changedProp':_0x3098f2});}[_0xf78925(0x1e8)](_0x4ba482){const _0x45ade7=_0xf78925;return this[_0x45ade7(0x209)][_0x45ade7(0x22c)](_0x4ba482);}[_0xf78925(0x1f3)](){const _0x290794=_0xf78925;this[_0x290794(0x1e4)](),this[_0x290794(0x1d6)][_0x290794(0x1f3)]();}[_0xf78925(0x1ec)](_0x128d7a){const _0x2c77f7=_0xf78925,_0x544d45=this[_0x2c77f7(0x1e8)](_0x128d7a);this[_0x2c77f7(0x1e4)](_0x544d45),this[_0x2c77f7(0x1e4)](_0x128d7a[_0x2c77f7(0x1d6)]),_0x544d45[_0x2c77f7(0x1f3)](),this[_0x2c77f7(0x209)][_0x2c77f7(0x1df)](_0x128d7a),this[_0x2c77f7(0x1f2)][_0x2c77f7(0x1df)](_0x544d45);}[_0xf78925(0x1e9)](){const _0x2226df=_0xf78925,_0x5cc49f=new _0x12c0c2(this[_0x2226df(0x228)][_0x2226df(0x20a)]);return _0x5cc49f[_0x2226df(0x1d3)](),this['on'](_0x2226df(0x200),(_0x3986e0,_0x3f4f20,_0x4c798e,_0x1b38f6)=>{const _0x37d040=_0x2226df;_0x1b38f6&&_0x5cc49f[_0x37d040(0x21e)](_0x37d040(0x212)),_0x4c798e?_0x5cc49f[_0x37d040(0x214)](_0x37d040(0x212))['to'](_0x4c798e,_0x37d040(0x1e6)):_0x5cc49f[_0x37d040(0x212)]=null;}),_0x5cc49f;}[_0xf78925(0x1fb)](){const _0xddf48=_0xf78925;this[_0xddf48(0x213)]=this[_0xddf48(0x1f6)]?.[_0xddf48(0x1d9)]?this[_0xddf48(0x1e8)](this[_0xddf48(0x1f6)][_0xddf48(0x1d9)]):null;}[_0xf78925(0x1eb)](_0x289960){const _0x4da26d=_0xf78925,_0x20ec43=this[_0x4da26d(0x1f2)][_0x4da26d(0x22c)](_0x289960),_0x42eb02=_0x20ec43&&this[_0x4da26d(0x1f6)]?.[_0x4da26d(0x22c)](this[_0x4da26d(0x1f6)][_0x4da26d(0x207)](_0x20ec43)-0x1);return _0x42eb02&&this[_0x4da26d(0x1e8)](_0x42eb02)||null;}[_0xf78925(0x1dc)](_0x436594){const _0x44b38f=_0xf78925,_0x6b15ac=this[_0x44b38f(0x1f2)][_0x44b38f(0x22c)](_0x436594),_0x2d587e=_0x6b15ac&&this[_0x44b38f(0x1f6)]?.[_0x44b38f(0x22c)](this[_0x44b38f(0x1f6)][_0x44b38f(0x207)](_0x6b15ac)+0x1);return _0x2d587e&&this[_0x44b38f(0x1e8)](_0x2d587e)||null;}[_0xf78925(0x1dd)](_0x32816c,_0x2293e9){const _0x52e6ef=_0xf78925;_0x32816c[_0x52e6ef(0x21c)]();const _0x1d7e60=G(_0x2293e9[_0x52e6ef(0x1e6)]+this[_0x52e6ef(0x220)],_0x32816c[_0x52e6ef(0x20d)]);return!!_0x1d7e60&&(this[_0x52e6ef(0x1de)](_0x2293e9,_0x2293e9[_0x52e6ef(0x20d)]-_0x1d7e60),!0x0);}[_0xf78925(0x1d8)](_0x28ba62,_0x4f83a6){const _0x425743=_0xf78925;_0x28ba62[_0x425743(0x21c)]();const _0x1db225=G(_0x28ba62[_0x425743(0x1e6)]+this[_0x425743(0x220)],_0x4f83a6[_0x425743(0x20d)]);return!!_0x1db225&&(this[_0x425743(0x1de)](_0x4f83a6,_0x4f83a6[_0x425743(0x20d)]+_0x1db225,!0x1),!0x0);}[_0xf78925(0x22b)](_0x4da01f){const _0xc389b3=_0xf78925,_0x3310d3=this[_0xc389b3(0x1f2)][_0xc389b3(0x22c)](_0x4da01f);if(!_0x3310d3||!_0x3310d3[_0xc389b3(0x201)]||!_0x3310d3[_0xc389b3(0x1f5)])return;const _0xd8df4d=this[_0xc389b3(0x221)](_0x3310d3,_0x3310d3[_0xc389b3(0x1f5)]);this[_0xc389b3(0x1de)](_0x4da01f,_0xd8df4d);}[_0xf78925(0x221)](_0x3c91e9,_0x1af16f){const _0x31c73f=_0xf78925;if(null===_0x1af16f)return 0x0;if(_0x3c91e9[_0x31c73f(0x201)]instanceof _0x13e7cd)return _0x1af16f[_0x31c73f(0x20d)];{const _0x5f14b6=new _0x13e7cd(this[_0x31c73f(0x1d6)][_0x31c73f(0x1ef)])[_0x31c73f(0x20d)];return _0x1af16f[_0x31c73f(0x20d)]-_0x5f14b6;}}[_0xf78925(0x1de)](_0x54b2be,_0x21d33b,_0x394baf=this[_0xf78925(0x228)][_0xf78925(0x1f7)][_0xf78925(0x22c)](_0xf78925(0x223))){const _0x5f5bee=_0xf78925;_0x394baf&&(_0x21d33b=Math[_0x5f5bee(0x1d4)](_0x21d33b,this[_0x5f5bee(0x1ed)](_0x54b2be))),_0x54b2be[_0x5f5bee(0x20d)]=_0x21d33b;}[_0xf78925(0x1ed)](_0x3880fa){const _0x2eabd9=_0xf78925;let _0xcf29cd=this[_0x2eabd9(0x1eb)](_0x3880fa),_0x13c4a2=0x0;for(;_0xcf29cd;)_0xcf29cd[_0x2eabd9(0x21c)](),_0x13c4a2+=this[_0x2eabd9(0x220)]+_0xcf29cd[_0x2eabd9(0x20e)],_0xcf29cd=this[_0x2eabd9(0x1eb)](_0xcf29cd);return _0x13c4a2;}}function G(_0x49bd2d,_0x3978eb){const _0x438db7=_0xf78925;return Math[_0x438db7(0x1d4)](_0x49bd2d-_0x3978eb,0x0);}function g(_0x2d9fec){const _0x4489a3=_0xf78925;return null!==_0x2d9fec&&_0x4489a3(0x217)==typeof _0x2d9fec&&0x1===_0x2d9fec[_0x4489a3(0x215)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4286(_0x5ef2a9,_0x4e81d7){const _0x14cc88=_0x14cc();return _0x4286=function(_0x428627,_0x3189cb){_0x428627=_0x428627-0x1e5;let _0x531dad=_0x14cc88[_0x428627];return _0x531dad;},_0x4286(_0x5ef2a9,_0x4e81d7);}const _0x5549c2=_0x4286;function _0x14cc(){const _0x371d22=['bindTemplate','ck-annotation-counter__badge--edit-mode','extendTemplate','21010irfktq','add','...','18BKhnqJ','setTemplate','children','isDirty','number','2241HNwlAV','ck-annotation-counter__badge','ck-annotation-counter__badge--','5980248fcNqmx','2051493joRSZd','set','_badge','span','1377292jmdFuU','1916upmEWi','icon','bind','toString','counterView','annotationType','8690DLwrIQ','396462lUSfao','ck-annotation-counter','564774QvMuTp'];_0x14cc=function(){return _0x371d22;};return _0x14cc();}(function(_0x598b9a,_0x16c588){const _0xb0cc6e=_0x4286,_0x5c6a77=_0x598b9a();while(!![]){try{const _0x324184=-parseInt(_0xb0cc6e(0x1e5))/0x1+parseInt(_0xb0cc6e(0x1e7))/0x2+parseInt(_0xb0cc6e(0x1f7))/0x3+parseInt(_0xb0cc6e(0x1fc))/0x4*(parseInt(_0xb0cc6e(0x202))/0x5)+-parseInt(_0xb0cc6e(0x1ee))/0x6*(-parseInt(_0xb0cc6e(0x1fb))/0x7)+-parseInt(_0xb0cc6e(0x1f6))/0x8+-parseInt(_0xb0cc6e(0x1f3))/0x9*(parseInt(_0xb0cc6e(0x1eb))/0xa);if(_0x324184===_0x16c588)break;else _0x5c6a77['push'](_0x5c6a77['shift']());}catch(_0x42accf){_0x5c6a77['push'](_0x5c6a77['shift']());}}}(_0x14cc,0xb03b6));import{ButtonView as _0x556895,View as _0x435a2f}from'ckeditor5/src/ui.js';import{IconAddComment as _0x184f0d}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x556895{[_0x5549c2(0x200)];constructor(_0x5202e7){const _0x4679ed=_0x5549c2;super(_0x5202e7);const _0x16302c=this[_0x4679ed(0x1e8)];this[_0x4679ed(0x1f8)](_0x4679ed(0x1f1),!0x1),this[_0x4679ed(0x1f8)](_0x4679ed(0x1f2),0x0),this[_0x4679ed(0x1fe)](_0x4679ed(0x1f9))['to'](this,_0x4679ed(0x1f1),this,_0x4679ed(0x1f2),(_0xe7d443,_0x2c8866)=>_0xe7d443?_0x4679ed(0x1ed):_0x2c8866[_0x4679ed(0x1ff)]()),this[_0x4679ed(0x1f8)](_0x4679ed(0x201),''),this[_0x4679ed(0x1fd)]=_0x184f0d,this[_0x4679ed(0x1ea)]({'attributes':{'class':[_0x4679ed(0x1e6)]}}),this[_0x4679ed(0x200)]=new _0x435a2f(),this[_0x4679ed(0x200)][_0x4679ed(0x1ef)]({'tag':_0x4679ed(0x1fa),'attributes':{'class':[_0x4679ed(0x1f4),_0x16302c['to'](_0x4679ed(0x201),_0x31a172=>_0x4679ed(0x1f5)+_0x31a172),_0x16302c['if'](_0x4679ed(0x1f1),_0x4679ed(0x1e9))]},'children':[{'text':_0x16302c['to'](_0x4679ed(0x1f9))}]}),this[_0x4679ed(0x1f0)][_0x4679ed(0x1ec)](this[_0x4679ed(0x200)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52dacc=_0x34da;(function(_0x1a94df,_0x1e51a9){const _0x339d4a=_0x34da,_0x363a60=_0x1a94df();while(!![]){try{const _0x31dfd9=parseInt(_0x339d4a(0x16e))/0x1+-parseInt(_0x339d4a(0x172))/0x2+-parseInt(_0x339d4a(0x176))/0x3*(-parseInt(_0x339d4a(0x166))/0x4)+parseInt(_0x339d4a(0x17a))/0x5*(parseInt(_0x339d4a(0x16f))/0x6)+parseInt(_0x339d4a(0x17e))/0x7+parseInt(_0x339d4a(0x161))/0x8*(parseInt(_0x339d4a(0x16b))/0x9)+-parseInt(_0x339d4a(0x185))/0xa;if(_0x31dfd9===_0x1e51a9)break;else _0x363a60['push'](_0x363a60['shift']());}catch(_0x184372){_0x363a60['push'](_0x363a60['shift']());}}}(_0xe9d8,0xdeb48));import{View as _0xd7c877}from'ckeditor5/src/ui.js';import{FocusTracker as _0x51954b,KeystrokeHandler as _0x261950,uid as _0x30dc94}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x1251b5}from'../../utils/createmutationobserver.js';function _0x34da(_0x2b6a66,_0x45ea17){const _0xe9d897=_0xe9d8();return _0x34da=function(_0x34dae0,_0x5c6fc1){_0x34dae0=_0x34dae0-0x160;let _0x57997b=_0xe9d897[_0x34dae0];return _0x57997b;},_0x34da(_0x2b6a66,_0x45ea17);}function _0xe9d8(){const _0x11b7eb=['element','content','1023182RjWWAp','1338ilSbDF','keystrokes','_updateHeight','2964624DXDxni','set','arrowdown','Esc','3PxFJTC','clientHeight','ck-annotation-wrapper','presentation','23125BXutBr','first','type','clear','9308376eUhtkC','destroy','length','attach','createCollection','mainView','add','25619780ahtASt','detach','setTemplate','ck-rounded-corners','isDirty','isActive','fire','listenTo','arrowup','_mutationObserver','focusTracker','16xzQnvm','ck-annotation-wrapper--active','focus','height','render','4045948XWUPMf','div','targetRect','delegate','bindTemplate','2523051rcMpCM'];_0xe9d8=function(){return _0x11b7eb;};return _0xe9d8();}import'../../../theme/annotation.css';export class AnnotationView extends _0xd7c877{[_0x52dacc(0x160)];['id'];[_0x52dacc(0x170)];[_0x52dacc(0x16d)];[_0x52dacc(0x183)];[_0x52dacc(0x18e)];constructor(_0x2903c0,_0x3eb73f){const _0x1bd46f=_0x52dacc;super(_0x2903c0),this['id']=_0x30dc94(),this[_0x1bd46f(0x160)]=new _0x51954b(),this[_0x1bd46f(0x170)]=new _0x261950(),this[_0x1bd46f(0x170)][_0x1bd46f(0x173)](_0x1bd46f(0x175),(_0xce424f,_0x568bde)=>this[_0x1bd46f(0x18b)](_0x1bd46f(0x175),_0x568bde)),this[_0x1bd46f(0x173)](_0x1bd46f(0x168),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x1bd46f(0x173)](_0x1bd46f(0x164),0x0),this[_0x1bd46f(0x173)](_0x1bd46f(0x18a),!0x1),this[_0x1bd46f(0x173)](_0x1bd46f(0x189),!0x1),this[_0x1bd46f(0x173)](_0x1bd46f(0x180),0x0),this[_0x1bd46f(0x173)](_0x1bd46f(0x17c),''),this[_0x1bd46f(0x18e)]=_0x1251b5(()=>this[_0x1bd46f(0x171)]()),this[_0x1bd46f(0x16d)]=this[_0x1bd46f(0x182)](),this[_0x1bd46f(0x16d)][_0x1bd46f(0x169)](_0x1bd46f(0x18d),_0x1bd46f(0x174))['to'](this),this[_0x1bd46f(0x16d)][_0x1bd46f(0x184)](_0x3eb73f),this[_0x1bd46f(0x183)]=_0x3eb73f;const _0x2368ba=this[_0x1bd46f(0x16a)];this[_0x1bd46f(0x187)]({'tag':_0x1bd46f(0x167),'attributes':{'class':['ck',_0x1bd46f(0x178),_0x1bd46f(0x188),_0x2368ba['if'](_0x1bd46f(0x18a),_0x1bd46f(0x162))],'role':_0x1bd46f(0x179)},'children':this[_0x1bd46f(0x16d)]});}[_0x52dacc(0x165)](){const _0x42b53d=_0x52dacc;super[_0x42b53d(0x165)](),this[_0x42b53d(0x160)][_0x42b53d(0x184)](this[_0x42b53d(0x16c)]),this[_0x42b53d(0x170)][_0x42b53d(0x18c)](this[_0x42b53d(0x16c)]),this[_0x42b53d(0x18e)][_0x42b53d(0x181)](this[_0x42b53d(0x16c)]);}[_0x52dacc(0x17f)](){const _0x249024=_0x52dacc;this[_0x249024(0x16d)][_0x249024(0x17d)](),this[_0x249024(0x170)][_0x249024(0x17f)](),this[_0x249024(0x160)][_0x249024(0x17f)](),this[_0x249024(0x18e)][_0x249024(0x186)](),super[_0x249024(0x17f)]();}[_0x52dacc(0x163)](){const _0x379dd6=_0x52dacc;this[_0x379dd6(0x16d)][_0x379dd6(0x17b)]&&this[_0x379dd6(0x16d)][_0x379dd6(0x17b)][_0x379dd6(0x163)]();}[_0x52dacc(0x171)](){const _0x19e4b9=_0x52dacc,_0x4f9c11=this[_0x19e4b9(0x16c)][_0x19e4b9(0x177)];_0x4f9c11&&(this[_0x19e4b9(0x164)]=_0x4f9c11);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x18b95a=_0x2942;(function(_0x4c33cc,_0x5ac8ef){const _0x57a9d1=_0x2942,_0xa248a=_0x4c33cc();while(!![]){try{const _0x1f5439=-parseInt(_0x57a9d1(0x159))/0x1+parseInt(_0x57a9d1(0x155))/0x2+-parseInt(_0x57a9d1(0x170))/0x3+parseInt(_0x57a9d1(0x179))/0x4*(parseInt(_0x57a9d1(0x158))/0x5)+-parseInt(_0x57a9d1(0x15a))/0x6*(parseInt(_0x57a9d1(0x175))/0x7)+-parseInt(_0x57a9d1(0x17b))/0x8*(-parseInt(_0x57a9d1(0x16a))/0x9)+-parseInt(_0x57a9d1(0x16d))/0xa*(parseInt(_0x57a9d1(0x15e))/0xb);if(_0x1f5439===_0x5ac8ef)break;else _0xa248a['push'](_0xa248a['shift']());}catch(_0xb618b2){_0xa248a['push'](_0xa248a['shift']());}}}(_0x49a0,0x49022));function _0x49a0(){const _0x4345a3=['delegate','div','ck-sidebar-item--no-animation','_mutationObserver','createCollection','element','isAnimationDisabled','arrowup','clear','clientHeight','9jnrDcW','arrowdown','first','10CvWDfT','updateHeight','focus','174024vxxfDm','bind','attach','render','_targetTop','7YkRGzy','ck-sidebar-item','detach','destroy','72NQXFLt','content','4105192PFVHQm','bottom','915802nRPrBk','height','presentation','117695LzlEDx','486765FpvftX','347838NMylLh','setTemplate','top','bindTemplate','5422604MzNqvA','set'];_0x49a0=function(){return _0x4345a3;};return _0x49a0();}import{View as _0x4d4e47}from'ckeditor5/src/ui.js';import{toUnit as _0x3a511d}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x5b6c03}from'../../utils/createmutationobserver.js';function _0x2942(_0x181b9e,_0x3eb031){const _0x49a023=_0x49a0();return _0x2942=function(_0x29427e,_0x1aee39){_0x29427e=_0x29427e-0x155;let _0x2410dc=_0x49a023[_0x29427e];return _0x2410dc;},_0x2942(_0x181b9e,_0x3eb031);}const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3a511d('px');export class AnnotationsSidebarItemView extends _0x4d4e47{[_0x18b95a(0x17a)];[_0x18b95a(0x174)];[_0x18b95a(0x163)];constructor(_0x238cc6){const _0xba4e9c=_0x18b95a;super(_0x238cc6),this[_0xba4e9c(0x15f)](_0xba4e9c(0x15c),0x0),this[_0xba4e9c(0x15f)](_0xba4e9c(0x156),0x0),this[_0xba4e9c(0x171)](_0xba4e9c(0x17c))['to'](this,_0xba4e9c(0x15c),this,_0xba4e9c(0x156),(_0x9c8ed3,_0x3369d1)=>_0x9c8ed3+_0x3369d1),this[_0xba4e9c(0x15f)](_0xba4e9c(0x166),!0x1),this[_0xba4e9c(0x163)]=_0x5b6c03(()=>this[_0xba4e9c(0x16e)]()),this[_0xba4e9c(0x174)]=null,this[_0xba4e9c(0x17a)]=this[_0xba4e9c(0x164)](),this[_0xba4e9c(0x17a)][_0xba4e9c(0x160)](_0xba4e9c(0x167),_0xba4e9c(0x16b))['to'](this);const _0x4fe11a=this[_0xba4e9c(0x15d)];this[_0xba4e9c(0x15b)]({'tag':_0xba4e9c(0x161),'attributes':{'class':[_0xba4e9c(0x176),_0x4fe11a['to'](_0xba4e9c(0x166),_0x1745ef=>_0x1745ef?_0xba4e9c(0x162):'')],'style':{'top':_0x4fe11a['to'](_0xba4e9c(0x15c),_0x8ec543=>Ot(_0x8ec543))},'role':_0xba4e9c(0x157)},'children':this[_0xba4e9c(0x17a)]});}[_0x18b95a(0x173)](){const _0x2efe8e=_0x18b95a;super[_0x2efe8e(0x173)](),this[_0x2efe8e(0x163)][_0x2efe8e(0x172)](this[_0x2efe8e(0x165)]);}[_0x18b95a(0x16f)](){const _0x1331e0=_0x18b95a;this[_0x1331e0(0x17a)][_0x1331e0(0x16c)]&&this[_0x1331e0(0x17a)][_0x1331e0(0x16c)][_0x1331e0(0x16f)]();}[_0x18b95a(0x16e)](){const _0x2b85c9=_0x18b95a,_0x410dbf=this[_0x2b85c9(0x165)][_0x2b85c9(0x169)];_0x410dbf&&(this[_0x2b85c9(0x156)]=_0x410dbf);}[_0x18b95a(0x178)](){const _0x21f3e9=_0x18b95a;this[_0x21f3e9(0x17a)][_0x21f3e9(0x168)](),this[_0x21f3e9(0x163)][_0x21f3e9(0x177)](),super[_0x21f3e9(0x178)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5a35e5=_0x1f26;(function(_0x62660,_0x52a9a3){const _0x3fcce3=_0x1f26,_0x3b19bc=_0x62660();while(!![]){try{const _0x563e2a=parseInt(_0x3fcce3(0xf2))/0x1*(parseInt(_0x3fcce3(0xfb))/0x2)+parseInt(_0x3fcce3(0xd1))/0x3+parseInt(_0x3fcce3(0xee))/0x4+-parseInt(_0x3fcce3(0xf1))/0x5*(-parseInt(_0x3fcce3(0xfd))/0x6)+parseInt(_0x3fcce3(0xdc))/0x7*(parseInt(_0x3fcce3(0xf8))/0x8)+parseInt(_0x3fcce3(0xf9))/0x9+parseInt(_0x3fcce3(0xd7))/0xa*(-parseInt(_0x3fcce3(0xdb))/0xb);if(_0x563e2a===_0x52a9a3)break;else _0x3b19bc['push'](_0x3b19bc['shift']());}catch(_0x1f1d77){_0x3b19bc['push'](_0x3b19bc['shift']());}}}(_0x2d1a,0xaf758));function _0x2d1a(){const _0x317a37=['focusNext','534bCgPGp','change','createCollection','uiLanguageDirection','listenTo','remove','set','arrowup','2027307eccHVp','focusables','added','focusTracker','focusPrevious','focusFirst','168740qYXgIA','ck-reset','list','source','3454POaCUL','314153QkpgCR','bindTemplate','length','Annotations\x20list','div','getIndex','minHeight','removed','element','focusCycler','number','delegate','_updateItemPositionInFocusables','ck-sidebar','class','arrowdown','application','change:top','5290572etxKyk','add','_setupKeyboardNavigation','26005XSsHkW','26717biewVq','forEach','top','Annotations\x20sidebar','render','focus','184wiTjuk','11651544ZjBrMP','setTemplate','92HkIfju'];_0x2d1a=function(){return _0x317a37;};return _0x2d1a();}import{View as _0x5c6578,FocusCycler as _0x4d0c40}from'ckeditor5/src/ui.js';import{FocusTracker as _0x253007,toUnit as _0xc11125}from'ckeditor5/src/utils.js';function _0x1f26(_0x4f421f,_0x51b734){const _0x2d1afb=_0x2d1a();return _0x1f26=function(_0x1f2601,_0x2cd3fc){_0x1f2601=_0x1f2601-0xca;let _0x344ec3=_0x2d1afb[_0x1f2601];return _0x344ec3;},_0x1f26(_0x4f421f,_0x51b734);}import{getTranslation as _0x5af796}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xc11125('px');export class AnnotationsSidebarView extends _0x5c6578{[_0x5a35e5(0xd9)];[_0x5a35e5(0xd2)];[_0x5a35e5(0xd4)];[_0x5a35e5(0xe5)];constructor(_0x368089){const _0x464b60=_0x5a35e5;super(_0x368089);const _0x931018=this[_0x464b60(0xdd)];this[_0x464b60(0xcf)](_0x464b60(0xe2),0x0),this[_0x464b60(0xcf)](_0x464b60(0xea),''),this[_0x464b60(0xd9)]=this[_0x464b60(0xcb)](),this[_0x464b60(0xd2)]=this[_0x464b60(0xcb)](),this[_0x464b60(0xd9)][_0x464b60(0xe7)](_0x464b60(0xd0),_0x464b60(0xeb))['to'](this),this[_0x464b60(0xd4)]=new _0x253007(),this[_0x464b60(0xe5)]=new _0x4d0c40({'focusables':this[_0x464b60(0xd2)],'focusTracker':this[_0x464b60(0xd4)]}),this[_0x464b60(0xfa)]({'tag':_0x464b60(0xe0),'attributes':{'class':['ck',_0x464b60(0xe9),_0x464b60(0xd8),_0x931018['to'](_0x464b60(0xea))],'style':{'minHeight':_0x931018['to'](_0x464b60(0xe2),_0x19f5de=>_0x464b60(0xe6)==typeof _0x19f5de?Ot(_0x19f5de+0xa):null)},'dir':_0x368089[_0x464b60(0xcc)],'role':_0x464b60(0xec),'aria-label':_0x5af796(_0x368089,_0x464b60(0xf5)),'tabindex':0x0},'children':[{'tag':_0x464b60(0xe0),'attributes':{'role':_0x464b60(0xd9),'aria-label':_0x5af796(_0x368089,_0x464b60(0xdf))},'children':this[_0x464b60(0xd9)]}]});}[_0x5a35e5(0xf6)](){const _0x16fb9e=_0x5a35e5;super[_0x16fb9e(0xf6)](),this[_0x16fb9e(0xf0)]();}[_0x5a35e5(0xf7)](){const _0x380c76=_0x5a35e5;this[_0x380c76(0xe5)][_0x380c76(0xd6)]();}[_0x5a35e5(0xf0)](){const _0x37b829=_0x5a35e5;this[_0x37b829(0xd9)][_0x37b829(0xe7)](_0x37b829(0xed))['to'](this),this['on'](_0x37b829(0xed),_0x5042e7=>{const _0x54984c=_0x37b829;this[_0x54984c(0xe8)](_0x5042e7[_0x54984c(0xda)]);}),this[_0x37b829(0xd9)][_0x37b829(0xf3)](_0x30b913=>{const _0x4e7558=_0x37b829;this[_0x4e7558(0xd4)][_0x4e7558(0xef)](_0x30b913[_0x4e7558(0xe4)]),this[_0x4e7558(0xe8)](_0x30b913);}),this[_0x37b829(0xd9)]['on'](_0x37b829(0xca),(_0x4f60f6,_0x15570f)=>{const _0x39dd97=_0x37b829;for(const _0x50d5ad of _0x15570f[_0x39dd97(0xe3)])this[_0x39dd97(0xd4)][_0x39dd97(0xce)](_0x50d5ad[_0x39dd97(0xe4)]),this[_0x39dd97(0xd2)][_0x39dd97(0xce)](_0x50d5ad);for(const _0x49c338 of _0x15570f[_0x39dd97(0xd3)])this[_0x39dd97(0xd4)][_0x39dd97(0xef)](_0x49c338[_0x39dd97(0xe4)]),this[_0x39dd97(0xe8)](_0x49c338);}),this['on'](_0x37b829(0xd0),()=>{const _0x5affec=_0x37b829;this[_0x5affec(0xe5)][_0x5affec(0xd5)]();}),this['on'](_0x37b829(0xeb),()=>{const _0x349dd6=_0x37b829;this[_0x349dd6(0xe5)][_0x349dd6(0xfc)]();}),this[_0x37b829(0xcd)](this[_0x37b829(0xe4)],_0x37b829(0xf7),()=>{const _0x29d782=_0x37b829;this[_0x29d782(0xf7)]();});}[_0x5a35e5(0xe8)](_0x272441){const _0x59628e=_0x5a35e5,_0x1c0143=this[_0x59628e(0xd2)][_0x59628e(0xe1)](_0x272441);let _0x3dfbd4,_0x19e4e0;for(const _0x63eed8 of this[_0x59628e(0xd2)])if(_0x272441[_0x59628e(0xf4)]<_0x63eed8[_0x59628e(0xf4)]){_0x3dfbd4=_0x63eed8;break;}if(_0x19e4e0=_0x3dfbd4?this[_0x59628e(0xd2)][_0x59628e(0xe1)](_0x3dfbd4):this[_0x59628e(0xd2)][_0x59628e(0xde)],-0x1!==_0x1c0143){if(_0x1c0143===_0x19e4e0-0x1)return;this[_0x59628e(0xd2)][_0x59628e(0xce)](_0x272441),_0x19e4e0=_0x3dfbd4?this[_0x59628e(0xd2)][_0x59628e(0xe1)](_0x3dfbd4):this[_0x59628e(0xd2)][_0x59628e(0xde)];}this[_0x59628e(0xd2)][_0x59628e(0xef)](_0x272441,_0x19e4e0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x35de(){const _0x369b35=['_destroyEditorAnnotationsIntegration','Annotations','from','3803350KubVzE','rearrange','stopListening','refresh','removeEventListener','_activeAnnotation','1836798plOsrA','WideSidebar','context','1669246VULfJL','widesidebar-detach-not-attached','has','_detachFromContainer','change:container','get','24250FVWlgq','resize','EditorAnnotations','ck-sidebar--wide','6946576QasDnz','isAttached','isPremiumPlugin','requires','set','off','activeAnnotation','switchTo','widesidebar-attach-already-attached','add','addEventListener','high','remove','261XcuaOX','hasDomSelection','refreshPositioning','setActiveAnnotation','pluginName','init','blur','attach','detach','_editorAnnotations','uiUpdate','_refreshPositioningDebounced','58040VOFIXO','isOfficialPlugin','getOrderedSelectedAnnotations','ready','434979ntTZvW','register','listenTo','container','plugins','set:container','addAnnotation','focus','652pGlHmK','_integrateWithEditorAnnotations','stop','updateTargetRect','1idvIwt','editors','_attachToContainer','annotations','_annotations','cancel','destroy','wideSidebar','refreshVisibility'];_0x35de=function(){return _0x369b35;};return _0x35de();}const _0x1f971e=_0x36ff;function _0x36ff(_0x25b52e,_0x392a86){const _0x35de92=_0x35de();return _0x36ff=function(_0x36ff0a,_0x1bd315){_0x36ff0a=_0x36ff0a-0x103;let _0xb51a0a=_0x35de92[_0x36ff0a];return _0xb51a0a;},_0x36ff(_0x25b52e,_0x392a86);}(function(_0x2586f3,_0x9187c8){const _0x5f1985=_0x36ff,_0x1025ce=_0x2586f3();while(!![]){try{const _0x4eab1c=-parseInt(_0x5f1985(0x11f))/0x1*(parseInt(_0x5f1985(0x134))/0x2)+-parseInt(_0x5f1985(0x113))/0x3+-parseInt(_0x5f1985(0x11b))/0x4*(-parseInt(_0x5f1985(0x13a))/0x5)+parseInt(_0x5f1985(0x131))/0x6+parseInt(_0x5f1985(0x13e))/0x7+-parseInt(_0x5f1985(0x10f))/0x8*(parseInt(_0x5f1985(0x103))/0x9)+-parseInt(_0x5f1985(0x12b))/0xa;if(_0x4eab1c===_0x9187c8)break;else _0x1025ce['push'](_0x1025ce['shift']());}catch(_0x2ed361){_0x1025ce['push'](_0x1025ce['shift']());}}}(_0x35de,0x7ea31));import{ContextPlugin as _0x49c765,Context as _0x28cebb}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x424554}from'./annotationsuis.js';import{Sidebar as _0x57d5ac}from'./sidebar.js';import{CKEditorError as _0xa2a59e,Collection as _0x412db3}from'ckeditor5/src/utils.js';import{debounce as _0x33b306}from'es-toolkit/compat';export class WideSidebar extends _0x49c765{[_0x1f971e(0x13f)];[_0x1f971e(0x122)];[_0x1f971e(0x10c)];[_0x1f971e(0x10e)];static get[_0x1f971e(0x141)](){return[_0x57d5ac,_0x424554];}static get[_0x1f971e(0x107)](){const _0x37831a=_0x1f971e;return _0x37831a(0x132);}static get[_0x1f971e(0x110)](){return!0x0;}static get[_0x1f971e(0x140)](){return!0x0;}constructor(_0x4c4c9c){const _0x19133f=_0x1f971e;super(_0x4c4c9c),this[_0x19133f(0x13f)]=!0x1,this[_0x19133f(0x142)](_0x19133f(0x144),null),this[_0x19133f(0x122)]=null,this[_0x19133f(0x10c)]=new _0x412db3(),this[_0x19133f(0x10e)]=_0x33b306(()=>{const _0x316c45=_0x19133f;_0x4c4c9c[_0x316c45(0x117)][_0x316c45(0x139)](_0x316c45(0x129))[_0x316c45(0x127)](),this[_0x316c45(0x122)][_0x316c45(0x105)]();},0xfa,{'leading':!0x1});}[_0x1f971e(0x108)](){const _0x204b8c=_0x1f971e,_0x437eda=this[_0x204b8c(0x133)][_0x204b8c(0x117)][_0x204b8c(0x139)](_0x424554),_0x519d5e=this[_0x204b8c(0x133)][_0x204b8c(0x117)][_0x204b8c(0x139)](_0x57d5ac);_0x437eda[_0x204b8c(0x114)](_0x204b8c(0x126),this),_0x519d5e[_0x204b8c(0x116)]&&_0x437eda[_0x204b8c(0x145)](_0x204b8c(0x126));}[_0x1f971e(0x106)](_0x23fba5){const _0x32f5da=_0x1f971e;if(_0x23fba5===this[_0x32f5da(0x144)])return;const _0x56986b=this[_0x32f5da(0x133)][_0x32f5da(0x117)][_0x32f5da(0x139)](_0x57d5ac);_0x56986b[_0x32f5da(0x130)]=_0x23fba5;const _0x578c76=this[_0x32f5da(0x144)];_0x56986b[_0x32f5da(0x12e)]({'blurredAnnotation':_0x578c76,'activatedAnnotation':_0x23fba5}),this[_0x32f5da(0x144)]=_0x23fba5;}[_0x1f971e(0x10a)](_0x2b4fd2){const _0x48046d=_0x1f971e;this[_0x48046d(0x122)]=_0x2b4fd2;const _0x279b1f=this[_0x48046d(0x133)][_0x48046d(0x117)][_0x48046d(0x139)](_0x57d5ac);if(_0x279b1f[_0x48046d(0x123)]=_0x2b4fd2,this[_0x48046d(0x13f)])throw new _0xa2a59e(_0x48046d(0x146),this);this[_0x48046d(0x13f)]=!0x0,this[_0x48046d(0x115)](_0x279b1f,_0x48046d(0x118),()=>{const _0x442727=_0x48046d;this[_0x442727(0x10b)](),this[_0x442727(0x115)](_0x279b1f,_0x442727(0x138),_0x22fdde=>{const _0x453a77=_0x442727;_0x22fdde[_0x453a77(0x143)](),this[_0x453a77(0x10a)](_0x2b4fd2);});}),_0x279b1f[_0x48046d(0x121)]({'viewClass':_0x48046d(0x13d)});const _0x44f86f=_0x12edde=>{const _0x212ed9=_0x48046d;_0x12edde[_0x212ed9(0x11e)](),_0x279b1f[_0x212ed9(0x119)](_0x12edde);};for(const _0x22de32 of _0x2b4fd2)_0x44f86f(_0x22de32);this[_0x48046d(0x115)](_0x2b4fd2,_0x48046d(0x147),(_0x2563da,_0x39d99b)=>{_0x44f86f(_0x39d99b);}),this[_0x48046d(0x115)](_0x2b4fd2,_0x48046d(0x14a),(_0x2ad7b4,_0x10babe,_0x5ebaaf)=>{const _0x28dab9=_0x48046d;_0x279b1f[_0x28dab9(0x12c)]({'removedAnnotation':_0x10babe,'previousAnnotation':_0x2b4fd2[_0x28dab9(0x139)](_0x5ebaaf-0x1),'nextAnnotation':_0x2b4fd2[_0x28dab9(0x139)](_0x5ebaaf+0x1)}),_0x10babe===this[_0x28dab9(0x144)]&&this[_0x28dab9(0x106)](null);},{'priority':_0x48046d(0x149)}),this[_0x48046d(0x115)](_0x2b4fd2,_0x48046d(0x11a),(_0x385311,_0x35d4a5)=>{const _0x5453a0=_0x48046d;this[_0x5453a0(0x106)](_0x35d4a5);}),this[_0x48046d(0x115)](_0x2b4fd2,_0x48046d(0x109),()=>{const _0x31af6c=_0x48046d;this[_0x31af6c(0x106)](null);});const _0x197653=this[_0x48046d(0x133)]instanceof _0x28cebb?this[_0x48046d(0x133)][_0x48046d(0x120)]:new _0x412db3([this[_0x48046d(0x133)]]);for(const _0xaf449e of _0x197653)this[_0x48046d(0x11c)](_0xaf449e);this[_0x48046d(0x115)](_0x197653,_0x48046d(0x147),(_0x543255,_0x112309)=>{const _0x11ad62=_0x48046d;this[_0x11ad62(0x115)](_0x112309,_0x11ad62(0x112),()=>{const _0x50d487=_0x11ad62;this[_0x50d487(0x11c)](_0x112309);});}),this[_0x48046d(0x115)](_0x197653,_0x48046d(0x14a),(_0xcbbe44,_0x220e9b)=>{const _0x507483=_0x48046d;_0x220e9b[_0x507483(0x117)][_0x507483(0x136)](_0x507483(0x13c))&&this[_0x507483(0x128)](_0x220e9b[_0x507483(0x117)][_0x507483(0x139)](_0x507483(0x13c)));}),window[_0x48046d(0x148)](_0x48046d(0x13b),this[_0x48046d(0x10e)]),this[_0x48046d(0x133)][_0x48046d(0x117)][_0x48046d(0x139)](_0x48046d(0x129))[_0x48046d(0x127)](),this[_0x48046d(0x122)][_0x48046d(0x105)]();}[_0x1f971e(0x10b)](){const _0x3d7b57=_0x1f971e;if(!this[_0x3d7b57(0x13f)])throw new _0xa2a59e(_0x3d7b57(0x135),this);this[_0x3d7b57(0x106)](null);const _0x1fe488=this[_0x3d7b57(0x133)][_0x3d7b57(0x117)][_0x3d7b57(0x139)](_0x57d5ac);_0x1fe488[_0x3d7b57(0x137)](this[_0x3d7b57(0x122)]),this[_0x3d7b57(0x12d)](_0x1fe488),this[_0x3d7b57(0x12d)](this[_0x3d7b57(0x122)]),this[_0x3d7b57(0x133)]instanceof _0x28cebb&&this[_0x3d7b57(0x12d)](this[_0x3d7b57(0x133)][_0x3d7b57(0x120)]);for(const _0x41d5fd of Array[_0x3d7b57(0x12a)](this[_0x3d7b57(0x10c)]))this[_0x3d7b57(0x128)](_0x41d5fd);window[_0x3d7b57(0x12f)](_0x3d7b57(0x13b),this[_0x3d7b57(0x10e)]),this[_0x3d7b57(0x10e)][_0x3d7b57(0x124)](),this[_0x3d7b57(0x144)]=null,this[_0x3d7b57(0x13f)]=!0x1,this[_0x3d7b57(0x122)]=null;}[_0x1f971e(0x125)](){const _0x33eb5f=_0x1f971e;this[_0x33eb5f(0x13f)]&&this[_0x33eb5f(0x10b)]();}[_0x1f971e(0x11c)](_0xae3985){const _0x21b369=_0x1f971e;if(!_0xae3985[_0x21b369(0x117)][_0x21b369(0x136)](_0x21b369(0x13c)))return;const _0x5d3da3=_0xae3985[_0x21b369(0x117)][_0x21b369(0x139)](_0x21b369(0x13c)),_0x31f052=()=>{const _0x23b221=_0x21b369,_0x259451=_0x5d3da3[_0x23b221(0x111)]({'annotations':this[_0x23b221(0x122)],'activeAnnotation':this[_0x23b221(0x144)]});this[_0x23b221(0x106)](_0x259451[0x0]||null);};this[_0x21b369(0x115)](_0x5d3da3,_0x21b369(0x12e),_0x31f052),this[_0x21b369(0x115)](_0x5d3da3,_0x21b369(0x109),(_0x57f843,{isAnnotationTracked:_0x477f24})=>{const _0x587f9d=_0x21b369;this[_0x587f9d(0x144)]&&_0x477f24(this[_0x587f9d(0x144)])&&this[_0x587f9d(0x106)](null);}),this[_0x21b369(0x115)](_0x5d3da3,_0x21b369(0x10d),()=>{const _0xeadfdd=_0x21b369;this[_0xeadfdd(0x10e)]();}),this[_0x21b369(0x115)](this[_0x21b369(0x122)],_0x21b369(0x109),_0x58b4b0=>{const _0x30007e=_0x21b369;_0x5d3da3[_0x30007e(0x104)]()&&(_0x31f052(),_0x58b4b0[_0x30007e(0x11d)]());},{'priority':_0x21b369(0x149)}),this[_0x21b369(0x10c)][_0x21b369(0x147)](_0x5d3da3);}[_0x1f971e(0x128)](_0x28e294){const _0x53fe16=_0x1f971e;this[_0x53fe16(0x12d)](_0x28e294),this[_0x53fe16(0x10c)][_0x53fe16(0x14a)](_0x28e294);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3af2(_0x421d3d,_0x17b961){const _0x2e8f0a=_0x2e8f();return _0x3af2=function(_0x3af20e,_0x4d2f02){_0x3af20e=_0x3af20e-0xc5;let _0x3988e3=_0x2e8f0a[_0x3af20e];return _0x3988e3;},_0x3af2(_0x421d3d,_0x17b961);}function _0x2e8f(){const _0x1cd45c=['createRange','addcommentthreadcommand-user-not-found','comment:','41355zZuvhH','addcommentthreadcommand-incorrect-ranges','64278Vkcfur','collaboration.channelId','4034680VfBLpm','item','CommentsRepository','1LsNkdV','change','backward','42DiOJjY','6230ZblEIv','716768vOBVLI','_trimToContent','substr','start','from','addCommentThread','640989wVzbKf','getRanges','selection','set','hasContent','model','tableCell','isEnabled','_createMarkersFromRanges','getLastMatchingPosition','_hasContent','_itemIsContent','addMarker','plugins','config','document','42021ctHCer','7301952lYQByd','length','$textProxy','getItems','_createCommentThread','get','schema','push','element','isObject','execute','editor','Users','refresh','end'];_0x2e8f=function(){return _0x1cd45c;};return _0x2e8f();}const _0x1cc592=_0x3af2;(function(_0x57ba6f,_0x495ed4){const _0x30c472=_0x3af2,_0xc435cd=_0x57ba6f();while(!![]){try{const _0x1bf72f=parseInt(_0x30c472(0xe1))/0x1*(-parseInt(_0x30c472(0xdc))/0x2)+-parseInt(_0x30c472(0xec))/0x3+-parseInt(_0x30c472(0xde))/0x4+parseInt(_0x30c472(0xda))/0x5*(parseInt(_0x30c472(0xe4))/0x6)+-parseInt(_0x30c472(0xc8))/0x7+-parseInt(_0x30c472(0xe6))/0x8+parseInt(_0x30c472(0xc7))/0x9*(parseInt(_0x30c472(0xe5))/0xa);if(_0x1bf72f===_0x495ed4)break;else _0xc435cd['push'](_0xc435cd['shift']());}catch(_0x45633b){_0xc435cd['push'](_0xc435cd['shift']());}}}(_0x2e8f,0x8d798));import{Command as _0x113e20}from'ckeditor5/src/core.js';import{uid as _0x5f457f,CKEditorError as _0xc4e757}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x113e20{constructor(_0x38d1d1){const _0x5ac09a=_0x3af2;super(_0x38d1d1),this[_0x5ac09a(0xef)](_0x5ac09a(0xf0),!0x1);}[_0x1cc592(0xd5)](){const _0x5900f8=_0x1cc592,_0x4b370f=this[_0x5900f8(0xd3)][_0x5900f8(0xf1)][_0x5900f8(0xc6)][_0x5900f8(0xee)];this[_0x5900f8(0xf3)]=!0x0,this[_0x5900f8(0xf0)]=!0x1;for(const _0x42571d of _0x4b370f[_0x5900f8(0xed)]())if(this[_0x5900f8(0xf6)](_0x42571d))return void(this[_0x5900f8(0xf0)]=!0x0);}[_0x1cc592(0xd2)]({threadId:_0x294537=_0x5f457f(),ranges:_0x4e0f64,comment:_0x4fe353}={}){const _0x7b3d6c=_0x1cc592,_0xd1d6d5=this[_0x7b3d6c(0xd3)][_0x7b3d6c(0xf1)],_0x3ba137=_0x4e0f64??Array[_0x7b3d6c(0xea)](_0xd1d6d5[_0x7b3d6c(0xc6)][_0x7b3d6c(0xee)][_0x7b3d6c(0xed)]()),_0x54ac34=[];for(const _0x30b1cc of _0x3ba137)this[_0x7b3d6c(0xf6)](_0x30b1cc)&&_0x54ac34[_0x7b3d6c(0xcf)](this[_0x7b3d6c(0xe7)](_0x30b1cc));if(!_0x54ac34[_0x7b3d6c(0xc9)])throw new _0xc4e757(_0x7b3d6c(0xdb),null);_0x4fe353&&this[_0x7b3d6c(0xcc)](_0x294537,_0x4fe353),this[_0x7b3d6c(0xf4)](_0x294537,_0x54ac34,!!_0x4fe353);}[_0x1cc592(0xf4)](_0x510d26,_0x29af19,_0x40f8c4){const _0x226982=_0x1cc592;this[_0x226982(0xd3)][_0x226982(0xf1)][_0x226982(0xe2)](_0x10f4e1=>{const _0x52af24=_0x226982;for(const _0x3adeb2 of _0x29af19){const _0x45c2fa=_0x5f457f()[_0x52af24(0xe8)](0x1,0x5),_0x4b7347=_0x52af24(0xd9)+_0x510d26+':'+_0x45c2fa;_0x10f4e1[_0x52af24(0xf8)](_0x4b7347,{'range':_0x3adeb2,'usingOperation':_0x40f8c4,'affectsData':_0x40f8c4});}});}[_0x1cc592(0xcc)](_0x2c24f1,_0x57ca50){const _0x519760=_0x1cc592,_0x299d9c=this[_0x519760(0xd3)][_0x519760(0xf9)][_0x519760(0xcd)](_0x519760(0xe0)),_0x59282f=this[_0x519760(0xd3)][_0x519760(0xc5)][_0x519760(0xcd)](_0x519760(0xdd)),_0x126d08=this[_0x519760(0xd3)][_0x519760(0xf9)][_0x519760(0xcd)](_0x519760(0xd4))['me'];if(!_0x126d08)throw new _0xc4e757(_0x519760(0xd8),null);_0x299d9c[_0x519760(0xeb)]({'threadId':_0x2c24f1,'channelId':_0x59282f,'comments':[{'authorId':_0x126d08['id'],'content':_0x57ca50,'createdAt':new Date(),'attributes':{}}]});}[_0x1cc592(0xf6)](_0x4304e0){const _0x543fa3=_0x1cc592;for(const _0x5e72df of _0x4304e0[_0x543fa3(0xcb)]())if(this[_0x543fa3(0xf7)](_0x5e72df))return!0x0;return!0x1;}[_0x1cc592(0xf7)](_0x221c5a){const _0x291e6c=_0x1cc592;return _0x221c5a['is'](_0x291e6c(0xca))||this[_0x291e6c(0xd3)][_0x291e6c(0xf1)][_0x291e6c(0xce)][_0x291e6c(0xd1)](_0x221c5a)&&!_0x221c5a['is'](_0x291e6c(0xd0),_0x291e6c(0xf2));}[_0x1cc592(0xe7)](_0x141ed5){const _0x12235a=_0x1cc592,_0x2cb3ec=_0x418a4d=>!this[_0x12235a(0xf7)](_0x418a4d[_0x12235a(0xdf)]),_0x134d65=_0x141ed5[_0x12235a(0xe9)][_0x12235a(0xf5)](_0x2cb3ec),_0x183a40=_0x141ed5[_0x12235a(0xd6)][_0x12235a(0xf5)](_0x2cb3ec,{'direction':_0x12235a(0xe3)});return this[_0x12235a(0xd3)][_0x12235a(0xf1)][_0x12235a(0xd7)](_0x134d65,_0x183a40);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3644(_0x54236c,_0x25d100){const _0x95a8eb=_0x95a8();return _0x3644=function(_0x364498,_0x10dd7a){_0x364498=_0x364498-0x1df;let _0x157db4=_0x95a8eb[_0x364498];return _0x157db4;},_0x3644(_0x54236c,_0x25d100);}function _0x95a8(){const _0x563b04=['length','stopListening','activate','1418559VSYlEq','476501XTLBUs','isVisible','findIndex','isPremiumPlugin','requires','913060IpvXFi','add','isOfficialPlugin','264FcHhzc','change:archivedAt','166149RUEXRW','227015opbbvq','102cppWAQ','540108iGLEMN','archivedThreads','addCommentThread','archivedAt','has','isActive','listenTo','getCommentThread','init','removeCommentThread','remove','collection','1481802LUvUNc','CommentsArchive','pluginName','focus','plugins','highest','_calculatePosition','get','context'];_0x95a8=function(){return _0x563b04;};return _0x95a8();}const _0x4f0304=_0x3644;(function(_0x39add4,_0x472969){const _0xd974d5=_0x3644,_0x8284a5=_0x39add4();while(!![]){try{const _0x98a657=parseInt(_0xd974d5(0x1e5))/0x1+parseInt(_0xd974d5(0x1ea))/0x2+-parseInt(_0xd974d5(0x1e4))/0x3+parseInt(_0xd974d5(0x1f2))/0x4+-parseInt(_0xd974d5(0x1f0))/0x5*(-parseInt(_0xd974d5(0x1f1))/0x6)+-parseInt(_0xd974d5(0x1fe))/0x7+-parseInt(_0xd974d5(0x1ed))/0x8*(parseInt(_0xd974d5(0x1ef))/0x9);if(_0x98a657===_0x472969)break;else _0x8284a5['push'](_0x8284a5['shift']());}catch(_0x499f9a){_0x8284a5['push'](_0x8284a5['shift']());}}}(_0x95a8,0x8556d));import{ContextPlugin as _0x5163de}from'ckeditor5/src/core.js';import{Collection as _0x522012}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x542226}from'./commentsrepository.js';import{Annotations as _0x37a7a5}from'../annotations/annotations.js';export class CommentsArchive extends _0x5163de{static get[_0x4f0304(0x200)](){const _0x187bd8=_0x4f0304;return _0x187bd8(0x1ff);}static get[_0x4f0304(0x1ec)](){return!0x0;}static get[_0x4f0304(0x1e8)](){return!0x0;}static get[_0x4f0304(0x1e9)](){return[_0x542226,_0x37a7a5];}constructor(_0x14015d){const _0x4305cb=_0x4f0304;super(_0x14015d),this[_0x4305cb(0x1f3)]=new _0x522012();}[_0x4f0304(0x1fa)](){const _0x4fb612=_0x4f0304,_0x4a8c1c=this[_0x4fb612(0x1e0)],_0x25cade=_0x4a8c1c[_0x4fb612(0x202)][_0x4fb612(0x1df)](_0x542226),_0x467f49=_0x4a8c1c[_0x4fb612(0x202)][_0x4fb612(0x1df)](_0x37a7a5);this[_0x4fb612(0x1f8)](_0x25cade,_0x4fb612(0x1f4),(_0x3ffa1f,{threadId:_0x5128b7})=>{const _0xb765b7=_0x4fb612,_0x1862f8=_0x25cade[_0xb765b7(0x1f9)](_0x5128b7);_0x1862f8[_0xb765b7(0x1f5)]&&this[_0xb765b7(0x1f3)][_0xb765b7(0x1eb)](_0x1862f8,this[_0xb765b7(0x204)](_0x1862f8[_0xb765b7(0x1f5)])),this[_0xb765b7(0x1f8)](_0x1862f8,_0xb765b7(0x1ee),(_0x44c8b4,_0x378134,_0x4d6b2d)=>{const _0x11e17d=_0xb765b7;_0x4d6b2d?this[_0x11e17d(0x1f3)][_0x11e17d(0x1f6)](_0x1862f8)||this[_0x11e17d(0x1f3)][_0x11e17d(0x1eb)](_0x1862f8,this[_0x11e17d(0x204)](_0x1862f8[_0x11e17d(0x1f5)])):this[_0x11e17d(0x1f3)][_0x11e17d(0x1f6)](_0x1862f8)&&this[_0x11e17d(0x1f3)][_0x11e17d(0x1fc)](_0x1862f8);});}),this[_0x4fb612(0x1f8)](_0x25cade,_0x4fb612(0x1fb),(_0x59f831,{threadId:_0x28ca90})=>{const _0x1de25d=_0x4fb612,_0xf0e341=_0x25cade[_0x1de25d(0x1f9)](_0x28ca90);this[_0x1de25d(0x1e2)](_0xf0e341),this[_0x1de25d(0x1f3)][_0x1de25d(0x1f6)](_0xf0e341)&&this[_0x1de25d(0x1f3)][_0x1de25d(0x1fc)](_0xf0e341);},{'priority':_0x4fb612(0x203)}),this[_0x4fb612(0x1f8)](_0x467f49[_0x4fb612(0x1fd)],_0x4fb612(0x201),(_0x282d6d,_0x31934b)=>{const _0x2c17bf=_0x4fb612;_0x31934b[_0x2c17bf(0x1e6)]||(_0x31934b[_0x2c17bf(0x1f7)]=!0x0,_0x467f49[_0x2c17bf(0x1e3)](_0x31934b));});}[_0x4f0304(0x204)](_0x493da8){const _0x58b497=_0x4f0304,_0x42b72c=[...this[_0x58b497(0x1f3)]][_0x58b497(0x1e7)](_0x470baf=>_0x470baf[_0x58b497(0x1f5)]<_0x493da8);return _0x42b72c>-0x1?_0x42b72c:this[_0x58b497(0x1f3)][_0x58b497(0x1e1)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1cb385=_0x5456;(function(_0x299885,_0x3c9b31){const _0x56c652=_0x5456,_0x2fcb4a=_0x299885();while(!![]){try{const _0xfe951e=parseInt(_0x56c652(0x219))/0x1*(parseInt(_0x56c652(0x231))/0x2)+parseInt(_0x56c652(0x1f2))/0x3+parseInt(_0x56c652(0x1ef))/0x4+-parseInt(_0x56c652(0x20a))/0x5+parseInt(_0x56c652(0x20b))/0x6*(-parseInt(_0x56c652(0x214))/0x7)+parseInt(_0x56c652(0x225))/0x8+-parseInt(_0x56c652(0x229))/0x9;if(_0xfe951e===_0x3c9b31)break;else _0x2fcb4a['push'](_0x2fcb4a['shift']());}catch(_0x483326){_0x2fcb4a['push'](_0x2fcb4a['shift']());}}}(_0x56ea,0x81de3));import'../../theme/commentsarchive.css';import{Plugin as _0x40e70a}from'ckeditor5/src/core.js';function _0x5456(_0x1f1dc3,_0x1f2b5e){const _0x56eaae=_0x56ea();return _0x5456=function(_0x5456fe,_0x5d0643){_0x5456fe=_0x5456fe-0x1ef;let _0x28e2d9=_0x56eaae[_0x5456fe];return _0x28e2d9;},_0x5456(_0x1f1dc3,_0x1f2b5e);}import{IconCommentsArchive as _0x5c9330}from'ckeditor5/src/icons.js';import{ViewCollection as _0x5d4e18,MenuBarMenuListItemButtonView as _0x2867f0,ButtonView as _0x40a814,Dialog as _0x2a5b1c,DialogViewPosition as _0x37c0a6}from'ckeditor5/src/ui.js';function _0x56ea(){const _0x241e76=['init','getByInnerView','innerView','listenTo','findIndex','get','escape','indexOf','focusableElements','358485DDPJbz','669054KjNaVJ','_toggleDialog','_pendingThreads','view','splice','collection','_calculatePosition','menuBar:commentsArchive','includes','7GfHVyP','annotationViews','show','add','menuitemcheckbox','1aFkGdG','bind','commentsArchiveView','archivedAt','archivedThreads','set:isVisible','_handleNewThread','forEach','has','push','_threadToController','channelId','3286392ozTRws','_addAnnotationToArchive','EDITOR_TOP_SIDE','_hideDialogOnAnnotationEscape','16494615JTDMQw','_createCommentsArchiveButton','stop','commentsArchive','return','tooltip','plugins','Annotations','662566CaCWsC','pluginName','requires','locale','isOn','CommentsArchiveUI','length','isOfficialPlugin','isEnabled','COMMENTS_ARCHIVE','editor','collaboration.channelId','4090688DSpsHi','execute','config','2349378hQxRzP','source','hide','componentFactory','isOpen','filter','stopListening','find','isVisible','set','isPremiumPlugin','remove','CommentsRepository','_visibleAnnotations','Dialog'];_0x56ea=function(){return _0x241e76;};return _0x56ea();}import{getTranslation as _0x5ebf45}from'../utils/common-translations.js';import{CommentsArchiveView as _0x157320}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x521a91}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x40e70a{[_0x1cb385(0x21b)];[_0x1cb385(0x215)];[_0x1cb385(0x20d)];static get[_0x1cb385(0x232)](){const _0x27d928=_0x1cb385;return _0x27d928(0x236);}static get[_0x1cb385(0x238)](){return!0x0;}static get[_0x1cb385(0x1fc)](){return!0x0;}static get[_0x1cb385(0x233)](){return[_0x521a91,_0x2a5b1c];}constructor(_0xa31e45){const _0x438351=_0x1cb385;super(_0xa31e45),this[_0x438351(0x215)]=new _0x5d4e18(),this[_0x438351(0x20d)]=[];}[_0x1cb385(0x201)](){const _0x5007ed=_0x1cb385,_0x5d4737=this[_0x5007ed(0x23b)],_0x40cb09=this[_0x5007ed(0x228)][_0x5007ed(0x21a)](this);_0x5d4737['ui'][_0x5007ed(0x1f5)][_0x5007ed(0x217)](_0x5007ed(0x22c),()=>this[_0x5007ed(0x22a)](_0x40a814,!0x0)),_0x5d4737['ui'][_0x5007ed(0x1f5)][_0x5007ed(0x217)](_0x5007ed(0x212),()=>{const _0x2e313b=_0x5007ed,_0x1bb5aa=this[_0x2e313b(0x22a)](_0x2867f0);return _0x1bb5aa[_0x2e313b(0x1fb)]({'role':_0x2e313b(0x218)}),_0x1bb5aa;});const _0x30c20a=_0x5d4737[_0x5007ed(0x22f)][_0x5007ed(0x206)](_0x521a91),_0x8f8599=_0x5d4737[_0x5007ed(0x22f)][_0x5007ed(0x206)](_0x5007ed(0x230)),_0x5baa59=_0x5d4737[_0x5007ed(0x22f)][_0x5007ed(0x206)](_0x5007ed(0x1fe));_0x30c20a[_0x5007ed(0x21d)][_0x5007ed(0x220)](_0x5198af=>{const _0x1574ed=_0x5007ed;this[_0x1574ed(0x21f)](_0x5198af);}),this[_0x5007ed(0x204)](_0x30c20a[_0x5007ed(0x21d)],_0x5007ed(0x217),(_0x1fd77e,_0x274ea4)=>{const _0x3fe61a=_0x5007ed;this[_0x3fe61a(0x21f)](_0x274ea4);}),this[_0x5007ed(0x204)](_0x8f8599[_0x5007ed(0x210)],_0x5007ed(0x217),(_0x4ab5af,_0x59cefd)=>{const _0xf70c3b=_0x5007ed,_0x12930f=this[_0xf70c3b(0x20d)][_0xf70c3b(0x1f9)](_0x258713=>{const _0x154747=_0xf70c3b,_0x419e1f=_0x5baa59[_0x154747(0x223)][_0x154747(0x206)](_0x258713);return _0x419e1f&&_0x59cefd[_0x154747(0x203)]===_0x419e1f[_0x154747(0x20e)];});if(_0x12930f){const _0x349654=this[_0xf70c3b(0x211)](_0x12930f[_0xf70c3b(0x21c)]);this[_0xf70c3b(0x226)](_0x59cefd,_0x349654),this[_0xf70c3b(0x20d)][_0xf70c3b(0x20f)](this[_0xf70c3b(0x20d)][_0xf70c3b(0x208)](_0x12930f),0x1);}}),this[_0x5007ed(0x204)](_0x30c20a[_0x5007ed(0x21d)],_0x5007ed(0x1fd),(_0x418eea,_0xa06b77)=>{const _0x4f71b0=_0x5007ed,_0x284e7c=_0x5d4737[_0x4f71b0(0x1f1)][_0x4f71b0(0x206)](_0x4f71b0(0x23c));if(!_0x284e7c||_0xa06b77[_0x4f71b0(0x224)]===_0x284e7c){if(this[_0x4f71b0(0x20d)][_0x4f71b0(0x213)](_0xa06b77))this[_0x4f71b0(0x20d)][_0x4f71b0(0x20f)](this[_0x4f71b0(0x20d)][_0x4f71b0(0x208)](_0xa06b77),0x1);else{const _0x16766c=_0x5baa59[_0x4f71b0(0x223)][_0x4f71b0(0x206)](_0xa06b77),_0x32eeb8=_0x8f8599[_0x4f71b0(0x202)](_0x16766c[_0x4f71b0(0x20e)]);this[_0x4f71b0(0x215)][_0x4f71b0(0x1fd)](_0x32eeb8[_0x4f71b0(0x20e)]),this[_0x4f71b0(0x1f8)](_0x32eeb8),this[_0x4f71b0(0x1f8)](_0x32eeb8[_0x4f71b0(0x209)]);}}}),this[_0x5007ed(0x204)](_0x8f8599[_0x5007ed(0x210)],_0x5007ed(0x217),(_0x3c136f,_0x5d2b74)=>{const _0x3f0ce6=_0x5007ed;this[_0x3f0ce6(0x204)](_0x5d2b74,_0x3f0ce6(0x207),_0x40cb09);}),this[_0x5007ed(0x204)](_0x8f8599[_0x5007ed(0x210)],_0x5007ed(0x1fd),(_0x489a35,_0x560f3f)=>{const _0x13edfd=_0x5007ed;this[_0x13edfd(0x1f8)](_0x560f3f,_0x13edfd(0x207),_0x40cb09);});}[_0x1cb385(0x226)](_0x13de67,_0x3cccd6){const _0x324695=_0x1cb385;this[_0x324695(0x204)](_0x13de67,_0x324695(0x21e),_0x4f18fb=>{const _0x336571=_0x324695;_0x4f18fb[_0x336571(0x22d)]=!0x1,_0x4f18fb[_0x336571(0x22b)]();}),this[_0x324695(0x215)][_0x324695(0x217)](_0x13de67[_0x324695(0x20e)],_0x3cccd6);}[_0x1cb385(0x21f)](_0x43105f){const _0x349e16=_0x1cb385,_0x49dbaf=this[_0x349e16(0x23b)][_0x349e16(0x22f)][_0x349e16(0x206)](_0x349e16(0x1fe)),_0x145db1=this[_0x349e16(0x23b)][_0x349e16(0x22f)][_0x349e16(0x206)](_0x349e16(0x230)),_0x121f22=this[_0x349e16(0x23b)][_0x349e16(0x1f1)][_0x349e16(0x206)](_0x349e16(0x23c));if(!_0x121f22||_0x43105f[_0x349e16(0x224)]===_0x121f22){const _0x7e9c15=_0x49dbaf[_0x349e16(0x223)][_0x349e16(0x206)](_0x43105f);if(!_0x7e9c15)return void this[_0x349e16(0x20d)][_0x349e16(0x222)](_0x43105f);const _0x370a3b=this[_0x349e16(0x211)](_0x43105f[_0x349e16(0x21c)]),_0x35dbcf=_0x145db1[_0x349e16(0x202)](_0x7e9c15[_0x349e16(0x20e)]);_0x35dbcf[_0x349e16(0x1fa)]&&_0x145db1[_0x349e16(0x1ff)][_0x349e16(0x1fd)](_0x35dbcf),this[_0x349e16(0x226)](_0x35dbcf,_0x370a3b);}}[_0x1cb385(0x211)](_0x43bdb8){const _0x4ea457=_0x1cb385,_0x4229ad=this[_0x4ea457(0x23b)][_0x4ea457(0x1f1)][_0x4ea457(0x206)](_0x4ea457(0x23c)),_0x1ffe20=[...this[_0x4ea457(0x23b)][_0x4ea457(0x22f)][_0x4ea457(0x206)](_0x521a91)[_0x4ea457(0x21d)]][_0x4ea457(0x1f7)](_0x16827d=>_0x16827d[_0x4ea457(0x224)]===_0x4229ad)[_0x4ea457(0x205)](_0x671a3b=>_0x671a3b[_0x4ea457(0x21c)]<_0x43bdb8);return _0x1ffe20<0x0||_0x1ffe20>this[_0x4ea457(0x215)][_0x4ea457(0x237)]?this[_0x4ea457(0x215)][_0x4ea457(0x237)]:_0x1ffe20-0x1;}[_0x1cb385(0x20c)](){const _0x288218=_0x1cb385,_0x4dd403=this[_0x288218(0x23b)],_0x506991=_0x4dd403[_0x288218(0x22f)][_0x288218(0x206)](_0x288218(0x200));this[_0x288218(0x21b)]||(this[_0x288218(0x21b)]=new _0x157320(_0x4dd403[_0x288218(0x234)],this[_0x288218(0x215)])),_0x288218(0x22c)===_0x506991['id']?_0x506991[_0x288218(0x1f4)]():_0x506991[_0x288218(0x216)]({'id':_0x288218(0x22c),'title':_0x5ebf45(_0x4dd403[_0x288218(0x234)],_0x288218(0x23a)),'icon':_0x5c9330,'hasCloseButton':!0x0,'content':this[_0x288218(0x21b)],'position':_0x37c0a6[_0x288218(0x227)]});}[_0x1cb385(0x22a)](_0x3b994d,_0x30306d=!0x1){const _0x24726b=_0x1cb385,_0x497545=this[_0x24726b(0x23b)][_0x24726b(0x234)],_0x160f06=this[_0x24726b(0x23b)][_0x24726b(0x22f)][_0x24726b(0x206)](_0x24726b(0x200)),_0x571791=new _0x3b994d(_0x497545);return _0x571791[_0x24726b(0x21a)](_0x24726b(0x239))['to'](this,_0x24726b(0x239)),_0x571791[_0x24726b(0x21a)](_0x24726b(0x235))['to'](_0x160f06,'id',_0x2a7da2=>_0x24726b(0x22c)===_0x2a7da2),_0x571791[_0x24726b(0x1fb)]({'label':_0x5ebf45(_0x497545,_0x24726b(0x23a)),'icon':_0x5c9330,'isToggleable':!0x0}),_0x30306d&&(_0x571791[_0x24726b(0x22e)]=!0x0),this[_0x24726b(0x204)](_0x571791,_0x24726b(0x1f0),()=>this[_0x24726b(0x20c)]()),_0x571791;}[_0x1cb385(0x228)]=_0x2378cc=>{const _0x58dfd4=_0x1cb385,_0x10770b=_0x2378cc[_0x58dfd4(0x1f3)];if(!this[_0x58dfd4(0x215)][_0x58dfd4(0x221)](_0x10770b[_0x58dfd4(0x20e)]))return;const _0x243eb2=this[_0x58dfd4(0x23b)][_0x58dfd4(0x22f)][_0x58dfd4(0x206)](_0x58dfd4(0x200));_0x243eb2[_0x58dfd4(0x1f6)]&&_0x58dfd4(0x22c)===_0x243eb2['id']&&(_0x243eb2[_0x58dfd4(0x1f4)](),_0x2378cc[_0x58dfd4(0x22b)]());};}
|