@ckeditor/ckeditor5-comments 43.3.1-alpha.0 → 44.0.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/README.md +16 -6
- package/build/comments.js +1 -1
- package/dist/augmentation.d.ts +8 -1
- package/dist/comments/commentsarchiveui.d.ts +7 -0
- package/dist/comments/commentsediting.d.ts +4 -0
- package/dist/comments/commentsrepository.d.ts +1 -6
- package/dist/comments/commentsui.d.ts +4 -0
- package/dist/index-editor.css +37 -37
- package/dist/index.css +46 -46
- package/dist/index.d.ts +1 -0
- package/dist/index.js +9 -9
- 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/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 +15 -15
- 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 +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/augmentation.d.ts +8 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.d.ts +7 -0
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.d.ts +4 -0
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +1 -6
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.d.ts +4 -0
- 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/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.d.ts +1 -0
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1fd8ea=_0x5820;(function(_0x2c71a6,_0x5626ab){const _0x22ead0=_0x5820,_0x175363=_0x2c71a6();while(!![]){try{const _0x50ed14=parseInt(_0x22ead0(0x19d))/0x1*(parseInt(_0x22ead0(0x186))/0x2)+parseInt(_0x22ead0(0x195))/0x3*(-parseInt(_0x22ead0(0x1be))/0x4)+parseInt(_0x22ead0(0x19f))/0x5*(parseInt(_0x22ead0(0x170))/0x6)+parseInt(_0x22ead0(0x17a))/0x7*(-parseInt(_0x22ead0(0x16c))/0x8)+-parseInt(_0x22ead0(0x182))/0x9+-parseInt(_0x22ead0(0x1b3))/0xa*(-parseInt(_0x22ead0(0x197))/0xb)+-parseInt(_0x22ead0(0x1a9))/0xc;if(_0x50ed14===_0x5626ab)break;else _0x175363['push'](_0x175363['shift']());}catch(_0x5986ae){_0x175363['push'](_0x175363['shift']());}}}(_0x138d,0x36df3));function _0x138d(){const _0x1df36f=['8pCnglL','_recalculate','_alignForTopChange','_lastItem','129840gENBEs','view','sidebar-setcontainer-invalid-element','context','Sidebar','_attachToContainer','updateHeight','clear','_alignToTargetRect','get','1078077xZcRQR','bind','getIndex','_destroySidebarItemView','isPremiumPlugin','delete','change:_lastItem','object','3155292CBSLmL','class','_spaceBetweenItems','config','2kUjzyf','top','refresh','setContainer','_getItemBefore','_annotations','_alignForBottomChange','length','define','minHeight','isActive','_targetTop','unbind','addAnnotation','render','3QipWdN','locale','56056YAKcbc','add','targetRect','getSidebarItemView','listenTo','content','428658IDtRkU','isOfficialPlugin','50NjNnKo','_getTargetTop','_detachFromContainer','push','_alignBeforeItem','_setItemTop','sidebar.preventScrollOutOfView','remove','destroy','sidebar-attachtocontainer-missing-container','155496JqMHYB','change:targetRect','_alignAfterItem','change:top','height','rearrange','pluginName','_annotationToSidebarItemView','_recalculateBuffer','container','470dMxJur','appendChild','_sidebarItemViewToAnnotation','list','_getItemAfter','_createSidebarView','element','max','_updateLastItem','bottom','_activeAnnotation','569032MkAQtH','last','init','isAnimationDisabled','_getMaxAvailableTop','change:bottom','sidebar.container','stopListening','set','nodeType','target'];_0x138d=function(){return _0x1df36f;};return _0x138d();}import{ContextPlugin as _0x3490ef}from'ckeditor5/src/core.js';function _0x5820(_0x4966a5,_0x476eb8){const _0x138d9c=_0x138d();return _0x5820=function(_0x582048,_0x39f4b0){_0x582048=_0x582048-0x169;let _0x53a14d=_0x138d9c[_0x582048];return _0x53a14d;},_0x5820(_0x4966a5,_0x476eb8);}import{Rect as _0x54091d,CKEditorError as _0x32cad2}from'ckeditor5/src/utils.js';import _0x136bbb from'./view/sidebarview.js';import _0xb0b1fb from'./view/sidebaritemview.js';export default class z extends _0x3490ef{static get[_0x1fd8ea(0x1af)](){const _0x4b8154=_0x1fd8ea;return _0x4b8154(0x174);}static get[_0x1fd8ea(0x19e)](){return!0x0;}static get[_0x1fd8ea(0x17e)](){return!0x0;}constructor(_0x393ac5){const _0x257ac4=_0x1fd8ea;super(_0x393ac5),this[_0x257ac4(0x169)](_0x257ac4(0x16f),void 0x0),this[_0x257ac4(0x171)]=this[_0x257ac4(0x1b8)](),this[_0x257ac4(0x169)](_0x257ac4(0x1b2),null),this[_0x257ac4(0x184)]=0x19,this[_0x257ac4(0x1b5)]=new Map(),this[_0x257ac4(0x1b0)]=new Map(),this[_0x257ac4(0x173)][_0x257ac4(0x185)][_0x257ac4(0x18e)](_0x257ac4(0x1a5),!0x1),this[_0x257ac4(0x18b)]=null,this[_0x257ac4(0x1bd)]=null,this[_0x257ac4(0x1b1)]=[];}[_0x1fd8ea(0x1c0)](){const _0x1395b1=_0x1fd8ea,_0x3d8da3=this[_0x1395b1(0x173)][_0x1395b1(0x185)][_0x1395b1(0x179)](_0x1395b1(0x1c4));_0x3d8da3&&this[_0x1395b1(0x189)](_0x3d8da3);}[_0x1fd8ea(0x189)](_0x2523d9){const _0x5e6d56=_0x1fd8ea;if(!y(_0x2523d9))throw new _0x32cad2(_0x5e6d56(0x172));this[_0x5e6d56(0x1b2)]=_0x2523d9;}[_0x1fd8ea(0x175)]({viewClass:_0x28bc38='',spaceBetweenItems:_0x3d60c4=0x19}={}){const _0x1926ff=_0x1fd8ea;if(!y(this[_0x1926ff(0x1b2)]))throw new _0x32cad2(_0x1926ff(0x1a8),this);this[_0x1926ff(0x1b2)][_0x1926ff(0x1b4)](this[_0x1926ff(0x171)][_0x1926ff(0x1b9)]),this[_0x1926ff(0x171)][_0x1926ff(0x183)]=_0x28bc38,this[_0x1926ff(0x184)]=_0x3d60c4;}[_0x1fd8ea(0x1ae)]({removedAnnotation:_0x416ee0,previousAnnotation:_0x3c4fb5,nextAnnotation:_0x3ba4cb}){const _0x44c883=_0x1fd8ea,_0x104152=this[_0x44c883(0x19a)](_0x416ee0);this[_0x44c883(0x171)][_0x44c883(0x1b6)][_0x44c883(0x1a6)](_0x104152),this[_0x44c883(0x17d)](_0x416ee0),_0x3c4fb5&&this[_0x44c883(0x178)](this[_0x44c883(0x19a)](_0x3c4fb5)),_0x3ba4cb&&this[_0x44c883(0x178)](this[_0x44c883(0x19a)](_0x3ba4cb)),this[_0x44c883(0x1bb)]();}[_0x1fd8ea(0x188)]({blurredAnnotation:_0x110fff,activatedAnnotation:_0x5b0cc9,disableAnimationOnActivatedAnnotation:_0x55ccca}){const _0x6039e8=_0x1fd8ea;if(this[_0x6039e8(0x1bd)]=_0x5b0cc9,_0x110fff){_0x110fff[_0x6039e8(0x190)]=!0x1;const _0x4ad2a2=this[_0x6039e8(0x19a)](_0x110fff);_0x4ad2a2&&_0x55ccca&&(_0x4ad2a2[_0x6039e8(0x1c1)]=!0x1);}if(_0x5b0cc9){const _0x472a79=this[_0x6039e8(0x19a)](_0x5b0cc9);_0x472a79&&(_0x5b0cc9[_0x6039e8(0x190)]=!0x0,_0x55ccca&&(_0x472a79[_0x6039e8(0x1c1)]=!0x0,_0x472a79[_0x6039e8(0x187)]+=0x1),this[_0x6039e8(0x178)](_0x472a79));}}[_0x1fd8ea(0x1a1)](_0xd715b){const _0x5f2463=_0x1fd8ea;if(this[_0x5f2463(0x171)][_0x5f2463(0x1b9)][_0x5f2463(0x1a6)](),_0xd715b){for(const _0x463422 of _0xd715b)this[_0x5f2463(0x17d)](_0x463422);}this[_0x5f2463(0x171)][_0x5f2463(0x1b6)][_0x5f2463(0x177)](),this[_0x5f2463(0x171)][_0x5f2463(0x183)]='',this[_0x5f2463(0x16f)]=null;}[_0x1fd8ea(0x193)](_0x15dfb9,_0x576845){const _0xb4547e=_0x1fd8ea;_0x576845||(_0x576845=_0x15dfb9[_0xb4547e(0x171)]);const _0xb0e50b=new _0xb0b1fb(this[_0xb4547e(0x173)][_0xb4547e(0x196)]);this[_0xb4547e(0x1b5)][_0xb4547e(0x169)](_0xb0e50b,_0x15dfb9),this[_0xb4547e(0x1b0)][_0xb4547e(0x169)](_0x15dfb9,_0xb0e50b),_0xb0e50b[_0xb4547e(0x19c)][_0xb4547e(0x198)](_0x576845),this[_0xb4547e(0x19b)](_0x15dfb9[_0xb4547e(0x171)],_0xb4547e(0x1aa),(_0x5252c7,_0x2f7e35,_0x6fb162)=>{const _0x935fc9=_0xb4547e,_0x14adb1=this[_0x935fc9(0x1a0)](_0x15dfb9,_0x6fb162);_0xb0e50b[_0x935fc9(0x191)]!=_0x14adb1&&(_0xb0e50b[_0x935fc9(0x191)]=_0x14adb1,this[_0x935fc9(0x1a4)](_0xb0e50b,_0x14adb1));}),this[_0xb4547e(0x19b)](_0xb0e50b,_0xb4547e(0x1ac),()=>{const _0x3d5c2a=_0xb4547e;this[_0x3d5c2a(0x16d)](_0xb0e50b,_0x3d5c2a(0x187));}),this[_0xb4547e(0x19b)](_0xb0e50b,_0xb4547e(0x1c3),()=>{const _0x1048f2=_0xb4547e;this[_0x1048f2(0x16d)](_0xb0e50b,_0x1048f2(0x1bc));}),this[_0xb4547e(0x178)](_0xb0e50b);const _0x11c835=this[_0xb4547e(0x18a)](_0xb0e50b);if(_0x11c835)this[_0xb4547e(0x1ab)](_0x11c835,_0xb0e50b)||this[_0xb4547e(0x178)](_0xb0e50b);else this[_0xb4547e(0x178)](_0xb0e50b);return this[_0xb4547e(0x1bb)](),this[_0xb4547e(0x171)][_0xb4547e(0x1b6)][_0xb4547e(0x198)](_0xb0e50b),_0xb0e50b;}[_0x1fd8ea(0x16e)](_0x550951){const _0x3ed9eb=_0x1fd8ea;if(!_0x550951[_0x3ed9eb(0x19c)][_0x3ed9eb(0x18d)])return;const _0x51afed=this[_0x3ed9eb(0x18a)](_0x550951);if(!_0x51afed)return;const _0x374707=this[_0x3ed9eb(0x1b5)][_0x3ed9eb(0x179)](_0x51afed),_0x52b8ca=this[_0x3ed9eb(0x1bd)];_0x52b8ca&&_0x52b8ca===_0x374707?this[_0x3ed9eb(0x1ab)](_0x51afed,_0x550951):this[_0x3ed9eb(0x1a3)](_0x550951,_0x51afed);}[_0x1fd8ea(0x18c)](_0xc5b9b7){const _0x28c04b=_0x1fd8ea;if(!_0xc5b9b7[_0x28c04b(0x19c)][_0x28c04b(0x18d)])return;const _0x5808d5=this[_0x28c04b(0x1b7)](_0xc5b9b7);if(!_0x5808d5)return;const _0x2bd025=this[_0x28c04b(0x1b5)][_0x28c04b(0x179)](_0x5808d5),_0x568f46=this[_0x28c04b(0x173)][_0x28c04b(0x185)][_0x28c04b(0x179)](_0x28c04b(0x1a5)),_0x5a6f42=this[_0x28c04b(0x1bd)];_0x5a6f42&&_0x5a6f42===_0x2bd025&&_0x568f46?(this[_0x28c04b(0x1a3)](_0x5808d5,_0xc5b9b7),this[_0x28c04b(0x1ab)](_0xc5b9b7,_0x5808d5)):_0x5a6f42&&_0x5a6f42===_0x2bd025?this[_0x28c04b(0x1a3)](_0x5808d5,_0xc5b9b7):this[_0x28c04b(0x1ab)](_0xc5b9b7,_0x5808d5);}[_0x1fd8ea(0x16d)](_0x145572,_0x3f1340){const _0x504a8c=_0x1fd8ea;0x0===this[_0x504a8c(0x1b1)][_0x504a8c(0x18d)]&&setTimeout(()=>{const _0x15577e=_0x504a8c;for(const {sidebarItemView:_0x316c5a,changedProp:_0x34a645}of this[_0x15577e(0x1b1)])_0x15577e(0x187)===_0x34a645?this[_0x15577e(0x16e)](_0x316c5a):this[_0x15577e(0x18c)](_0x316c5a);this[_0x15577e(0x1b1)]=[];},0xa),this[_0x504a8c(0x1b1)][_0x504a8c(0x1a2)]({'sidebarItemView':_0x145572,'changedProp':_0x3f1340});}[_0x1fd8ea(0x19a)](_0x2fdf3b){const _0x2a6514=_0x1fd8ea;return this[_0x2a6514(0x1b0)][_0x2a6514(0x179)](_0x2fdf3b);}[_0x1fd8ea(0x1a7)](){const _0x185a2d=_0x1fd8ea;this[_0x185a2d(0x1c5)](),this[_0x185a2d(0x171)][_0x185a2d(0x1a7)]();}[_0x1fd8ea(0x17d)](_0x296da1){const _0x31dfe4=_0x1fd8ea,_0x2f4b34=this[_0x31dfe4(0x19a)](_0x296da1);this[_0x31dfe4(0x1c5)](_0x2f4b34),this[_0x31dfe4(0x1c5)](_0x296da1[_0x31dfe4(0x171)]),_0x2f4b34[_0x31dfe4(0x1a7)](),this[_0x31dfe4(0x1b0)][_0x31dfe4(0x17f)](_0x296da1),this[_0x31dfe4(0x1b5)][_0x31dfe4(0x17f)](_0x2f4b34);}[_0x1fd8ea(0x1b8)](){const _0x2c35b1=_0x1fd8ea,_0x582e3a=new _0x136bbb(this[_0x2c35b1(0x173)][_0x2c35b1(0x196)]);return _0x582e3a[_0x2c35b1(0x194)](),this['on'](_0x2c35b1(0x180),(_0x3b9892,_0x5a78ac,_0x4b0728,_0x39344c)=>{const _0x361b94=_0x2c35b1;_0x39344c&&_0x582e3a[_0x361b94(0x192)](_0x361b94(0x18f)),_0x4b0728?_0x582e3a[_0x361b94(0x17b)](_0x361b94(0x18f))['to'](_0x4b0728,_0x361b94(0x1bc)):_0x582e3a[_0x361b94(0x18f)]=null;}),_0x582e3a;}[_0x1fd8ea(0x1bb)](){const _0x5ae512=_0x1fd8ea;var _0x4ed881;this[_0x5ae512(0x16f)]=(null===(_0x4ed881=this[_0x5ae512(0x18b)])||void 0x0===_0x4ed881?void 0x0:_0x4ed881[_0x5ae512(0x1bf)])?this[_0x5ae512(0x19a)](this[_0x5ae512(0x18b)][_0x5ae512(0x1bf)]):null;}[_0x1fd8ea(0x18a)](_0x205eb9){const _0x226f14=_0x1fd8ea;var _0x44f341;const _0x83ee01=this[_0x226f14(0x1b5)][_0x226f14(0x179)](_0x205eb9),_0x38e54a=_0x83ee01&&(null===(_0x44f341=this[_0x226f14(0x18b)])||void 0x0===_0x44f341?void 0x0:_0x44f341[_0x226f14(0x179)](this[_0x226f14(0x18b)][_0x226f14(0x17c)](_0x83ee01)-0x1));return _0x38e54a&&this[_0x226f14(0x19a)](_0x38e54a)||null;}[_0x1fd8ea(0x1b7)](_0x9be8b){const _0x300f37=_0x1fd8ea;var _0x48940a;const _0x2d46c7=this[_0x300f37(0x1b5)][_0x300f37(0x179)](_0x9be8b),_0x4903b9=_0x2d46c7&&(null===(_0x48940a=this[_0x300f37(0x18b)])||void 0x0===_0x48940a?void 0x0:_0x48940a[_0x300f37(0x179)](this[_0x300f37(0x18b)][_0x300f37(0x17c)](_0x2d46c7)+0x1));return _0x4903b9&&this[_0x300f37(0x19a)](_0x4903b9)||null;}[_0x1fd8ea(0x1a3)](_0x375609,_0x1fe6c6){const _0x25469d=_0x1fd8ea;_0x375609[_0x25469d(0x176)]();const _0x5789ed=R(_0x1fe6c6[_0x25469d(0x1bc)]+this[_0x25469d(0x184)],_0x375609[_0x25469d(0x187)]);return!!_0x5789ed&&(this[_0x25469d(0x1a4)](_0x1fe6c6,_0x1fe6c6[_0x25469d(0x187)]-_0x5789ed),!0x0);}[_0x1fd8ea(0x1ab)](_0x4edf9c,_0x463095){const _0x3ba2a2=_0x1fd8ea;_0x4edf9c[_0x3ba2a2(0x176)]();const _0x24baaf=R(_0x4edf9c[_0x3ba2a2(0x1bc)]+this[_0x3ba2a2(0x184)],_0x463095[_0x3ba2a2(0x187)]);return!!_0x24baaf&&(this[_0x3ba2a2(0x1a4)](_0x463095,_0x463095[_0x3ba2a2(0x187)]+_0x24baaf,!0x1),!0x0);}[_0x1fd8ea(0x178)](_0x133ff4){const _0x4b7248=_0x1fd8ea,_0x11add7=this[_0x4b7248(0x1b5)][_0x4b7248(0x179)](_0x133ff4);if(!_0x11add7||!_0x11add7[_0x4b7248(0x16b)]||!_0x11add7[_0x4b7248(0x199)])return;const _0xdd4a7=this[_0x4b7248(0x1a0)](_0x11add7,_0x11add7[_0x4b7248(0x199)]);this[_0x4b7248(0x1a4)](_0x133ff4,_0xdd4a7);}[_0x1fd8ea(0x1a0)](_0x11faab,_0x4ffb53){const _0x3c9cfb=_0x1fd8ea;if(null===_0x4ffb53)return 0x0;if(_0x11faab[_0x3c9cfb(0x16b)]instanceof _0x54091d)return _0x4ffb53[_0x3c9cfb(0x187)];{const _0x43fbec=new _0x54091d(this[_0x3c9cfb(0x171)][_0x3c9cfb(0x1b9)])[_0x3c9cfb(0x187)];return _0x4ffb53[_0x3c9cfb(0x187)]-_0x43fbec;}}[_0x1fd8ea(0x1a4)](_0x58f84c,_0x1167f3,_0x2a3643=this[_0x1fd8ea(0x173)][_0x1fd8ea(0x185)][_0x1fd8ea(0x179)](_0x1fd8ea(0x1a5))){const _0x4d4eef=_0x1fd8ea;_0x2a3643&&(_0x1167f3=Math[_0x4d4eef(0x1ba)](_0x1167f3,this[_0x4d4eef(0x1c2)](_0x58f84c))),_0x58f84c[_0x4d4eef(0x187)]=_0x1167f3;}[_0x1fd8ea(0x1c2)](_0x2553f6){const _0x5081bd=_0x1fd8ea;let _0x1a8b69=this[_0x5081bd(0x18a)](_0x2553f6),_0x1d33be=0x0;for(;_0x1a8b69;)_0x1a8b69[_0x5081bd(0x176)](),_0x1d33be+=this[_0x5081bd(0x184)]+_0x1a8b69[_0x5081bd(0x1ad)],_0x1a8b69=this[_0x5081bd(0x18a)](_0x1a8b69);return _0x1d33be;}}function R(_0x364af0,_0x40bafd){const _0x2ca727=_0x1fd8ea;return Math[_0x2ca727(0x1ba)](_0x364af0-_0x40bafd,0x0);}function y(_0x625210){const _0x133a05=_0x1fd8ea;return null!==_0x625210&&_0x133a05(0x181)==typeof _0x625210&&0x1===_0x625210[_0x133a05(0x16a)];}
|
|
23
|
+
const _0x69b57b=_0x34fe;(function(_0x4ffad3,_0x25b763){const _0x2be9ee=_0x34fe,_0x3638a5=_0x4ffad3();while(!![]){try{const _0x52fb12=-parseInt(_0x2be9ee(0x1c5))/0x1*(-parseInt(_0x2be9ee(0x1e8))/0x2)+-parseInt(_0x2be9ee(0x217))/0x3+parseInt(_0x2be9ee(0x1cb))/0x4*(parseInt(_0x2be9ee(0x1fd))/0x5)+parseInt(_0x2be9ee(0x1dc))/0x6*(parseInt(_0x2be9ee(0x20c))/0x7)+-parseInt(_0x2be9ee(0x1e9))/0x8*(parseInt(_0x2be9ee(0x1fc))/0x9)+parseInt(_0x2be9ee(0x1df))/0xa+-parseInt(_0x2be9ee(0x1ce))/0xb*(parseInt(_0x2be9ee(0x1f2))/0xc);if(_0x52fb12===_0x25b763)break;else _0x3638a5['push'](_0x3638a5['shift']());}catch(_0x5e045f){_0x3638a5['push'](_0x3638a5['shift']());}}}(_0x148f,0x74ca7));import{ContextPlugin as _0x27b93f}from'ckeditor5/src/core.js';function _0x34fe(_0x29e98f,_0x5a2d00){const _0x148f7c=_0x148f();return _0x34fe=function(_0x34fe67,_0x127657){_0x34fe67=_0x34fe67-0x1be;let _0xbb96f9=_0x148f7c[_0x34fe67];return _0xbb96f9;},_0x34fe(_0x29e98f,_0x5a2d00);}import{Rect as _0x134c82,CKEditorError as _0x21e503}from'ckeditor5/src/utils.js';import _0x11870c from'./view/sidebarview.js';import _0x5ae7b0 from'./view/sidebaritemview.js';export default class z extends _0x27b93f{static get[_0x69b57b(0x1c4)](){const _0x368d38=_0x69b57b;return _0x368d38(0x1e6);}static get[_0x69b57b(0x203)](){return!0x0;}static get[_0x69b57b(0x1e7)](){return!0x0;}constructor(_0x1df204){const _0x1a61c5=_0x69b57b;super(_0x1df204),this[_0x1a61c5(0x1f1)](_0x1a61c5(0x1fa),void 0x0),this[_0x1a61c5(0x1d1)]=this[_0x1a61c5(0x1e2)](),this[_0x1a61c5(0x1f1)](_0x1a61c5(0x1c6),null),this[_0x1a61c5(0x1c3)]=0x19,this[_0x1a61c5(0x1be)]=new Map(),this[_0x1a61c5(0x1dd)]=new Map(),this[_0x1a61c5(0x1c9)][_0x1a61c5(0x1de)][_0x1a61c5(0x215)](_0x1a61c5(0x1f3),!0x1),this[_0x1a61c5(0x1d6)]=null,this[_0x1a61c5(0x20a)]=null,this[_0x1a61c5(0x200)]=[];}[_0x69b57b(0x214)](){const _0x412de4=_0x69b57b,_0x2107ed=this[_0x412de4(0x1c9)][_0x412de4(0x1de)][_0x412de4(0x20b)](_0x412de4(0x1db));_0x2107ed&&this[_0x412de4(0x20f)](_0x2107ed);}[_0x69b57b(0x20f)](_0x207c3a){const _0x273246=_0x69b57b;if(!y(_0x207c3a))throw new _0x21e503(_0x273246(0x1ee));this[_0x273246(0x1c6)]=_0x207c3a;}[_0x69b57b(0x1f8)]({viewClass:_0x2e7c4d='',spaceBetweenItems:_0x2fcccb=0x19}={}){const _0x10b6d1=_0x69b57b;if(!y(this[_0x10b6d1(0x1c6)]))throw new _0x21e503(_0x10b6d1(0x1ca),this);this[_0x10b6d1(0x1c6)][_0x10b6d1(0x201)](this[_0x10b6d1(0x1d1)][_0x10b6d1(0x1ff)]),this[_0x10b6d1(0x1d1)][_0x10b6d1(0x1f6)]=_0x2e7c4d,this[_0x10b6d1(0x1c3)]=_0x2fcccb;}[_0x69b57b(0x210)]({removedAnnotation:_0x1fffa7,previousAnnotation:_0x2a49e7,nextAnnotation:_0x37b65d}){const _0x3a0cf0=_0x69b57b,_0x2dd5a5=this[_0x3a0cf0(0x1fb)](_0x1fffa7);this[_0x3a0cf0(0x1d1)][_0x3a0cf0(0x1d7)][_0x3a0cf0(0x1f4)](_0x2dd5a5),this[_0x3a0cf0(0x1f9)](_0x1fffa7),_0x2a49e7&&this[_0x3a0cf0(0x1d2)](this[_0x3a0cf0(0x1fb)](_0x2a49e7)),_0x37b65d&&this[_0x3a0cf0(0x1d2)](this[_0x3a0cf0(0x1fb)](_0x37b65d)),this[_0x3a0cf0(0x1d9)]();}[_0x69b57b(0x209)]({blurredAnnotation:_0x578cff,activatedAnnotation:_0xa9078f,disableAnimationOnActivatedAnnotation:_0x334d3c}){const _0x2e4489=_0x69b57b;if(this[_0x2e4489(0x20a)]=_0xa9078f,_0x578cff){_0x578cff[_0x2e4489(0x205)]=!0x1;const _0x44f2cd=this[_0x2e4489(0x1fb)](_0x578cff);_0x44f2cd&&_0x334d3c&&(_0x44f2cd[_0x2e4489(0x206)]=!0x1);}if(_0xa9078f){const _0x3c1940=this[_0x2e4489(0x1fb)](_0xa9078f);_0x3c1940&&(_0xa9078f[_0x2e4489(0x205)]=!0x0,_0x334d3c&&(_0x3c1940[_0x2e4489(0x206)]=!0x0,_0x3c1940[_0x2e4489(0x213)]+=0x1),this[_0x2e4489(0x1d2)](_0x3c1940));}}[_0x69b57b(0x1cc)](_0x49fe6c){const _0x95091e=_0x69b57b;if(this[_0x95091e(0x1d1)][_0x95091e(0x1ff)][_0x95091e(0x1f4)](),_0x49fe6c){for(const _0x3c8440 of _0x49fe6c)this[_0x95091e(0x1f9)](_0x3c8440);}this[_0x95091e(0x1d1)][_0x95091e(0x1d7)][_0x95091e(0x1c7)](),this[_0x95091e(0x1d1)][_0x95091e(0x1f6)]='',this[_0x95091e(0x1fa)]=null;}[_0x69b57b(0x1da)](_0x5691e1,_0x2d4865){const _0x22a02e=_0x69b57b;_0x2d4865||(_0x2d4865=_0x5691e1[_0x22a02e(0x1d1)]);const _0x57e4d1=new _0x5ae7b0(this[_0x22a02e(0x1c9)][_0x22a02e(0x204)]);this[_0x22a02e(0x1be)][_0x22a02e(0x1f1)](_0x57e4d1,_0x5691e1),this[_0x22a02e(0x1dd)][_0x22a02e(0x1f1)](_0x5691e1,_0x57e4d1),_0x57e4d1[_0x22a02e(0x1f0)][_0x22a02e(0x218)](_0x2d4865),this[_0x22a02e(0x1f7)](_0x5691e1[_0x22a02e(0x1d1)],_0x22a02e(0x1c2),(_0x245d98,_0x579f79,_0x23a009)=>{const _0x4920c2=_0x22a02e,_0x4c7e4c=this[_0x4920c2(0x1bf)](_0x5691e1,_0x23a009);_0x57e4d1[_0x4920c2(0x211)]!=_0x4c7e4c&&(_0x57e4d1[_0x4920c2(0x211)]=_0x4c7e4c,this[_0x4920c2(0x1c0)](_0x57e4d1,_0x4c7e4c));}),this[_0x22a02e(0x1f7)](_0x57e4d1,_0x22a02e(0x219),()=>{const _0x2e6404=_0x22a02e;this[_0x2e6404(0x20d)](_0x57e4d1,_0x2e6404(0x213));}),this[_0x22a02e(0x1f7)](_0x57e4d1,_0x22a02e(0x1fe),()=>{const _0xb4f81c=_0x22a02e;this[_0xb4f81c(0x20d)](_0x57e4d1,_0xb4f81c(0x1d4));}),this[_0x22a02e(0x1d2)](_0x57e4d1);const _0x52647b=this[_0x22a02e(0x1c1)](_0x57e4d1);if(_0x52647b)this[_0x22a02e(0x1eb)](_0x52647b,_0x57e4d1)||this[_0x22a02e(0x1d2)](_0x57e4d1);else this[_0x22a02e(0x1d2)](_0x57e4d1);return this[_0x22a02e(0x1d9)](),this[_0x22a02e(0x1d1)][_0x22a02e(0x1d7)][_0x22a02e(0x218)](_0x57e4d1),_0x57e4d1;}[_0x69b57b(0x1d5)](_0x389826){const _0x216a45=_0x69b57b;if(!_0x389826[_0x216a45(0x1f0)][_0x216a45(0x1d0)])return;const _0x575e3a=this[_0x216a45(0x1c1)](_0x389826);if(!_0x575e3a)return;const _0x7fb87=this[_0x216a45(0x1be)][_0x216a45(0x20b)](_0x575e3a),_0x134ce3=this[_0x216a45(0x20a)];_0x134ce3&&_0x134ce3===_0x7fb87?this[_0x216a45(0x1eb)](_0x575e3a,_0x389826):this[_0x216a45(0x212)](_0x389826,_0x575e3a);}[_0x69b57b(0x1ef)](_0x43eb41){const _0x4e42d3=_0x69b57b;if(!_0x43eb41[_0x4e42d3(0x1f0)][_0x4e42d3(0x1d0)])return;const _0x25fe67=this[_0x4e42d3(0x202)](_0x43eb41);if(!_0x25fe67)return;const _0x3cc6a9=this[_0x4e42d3(0x1be)][_0x4e42d3(0x20b)](_0x25fe67),_0x947c75=this[_0x4e42d3(0x1c9)][_0x4e42d3(0x1de)][_0x4e42d3(0x20b)](_0x4e42d3(0x1f3)),_0x21acaf=this[_0x4e42d3(0x20a)];_0x21acaf&&_0x21acaf===_0x3cc6a9&&_0x947c75?(this[_0x4e42d3(0x212)](_0x25fe67,_0x43eb41),this[_0x4e42d3(0x1eb)](_0x43eb41,_0x25fe67)):_0x21acaf&&_0x21acaf===_0x3cc6a9?this[_0x4e42d3(0x212)](_0x25fe67,_0x43eb41):this[_0x4e42d3(0x1eb)](_0x43eb41,_0x25fe67);}[_0x69b57b(0x20d)](_0x2e14bb,_0x2032f5){const _0x37c517=_0x69b57b;0x0===this[_0x37c517(0x200)][_0x37c517(0x1d0)]&&setTimeout(()=>{const _0x1ded06=_0x37c517;for(const {sidebarItemView:_0x5b386a,changedProp:_0x5f47a4}of this[_0x1ded06(0x200)])_0x1ded06(0x213)===_0x5f47a4?this[_0x1ded06(0x1d5)](_0x5b386a):this[_0x1ded06(0x1ef)](_0x5b386a);this[_0x1ded06(0x200)]=[];},0xa),this[_0x37c517(0x200)][_0x37c517(0x1e3)]({'sidebarItemView':_0x2e14bb,'changedProp':_0x2032f5});}[_0x69b57b(0x1fb)](_0x388094){const _0x84d27f=_0x69b57b;return this[_0x84d27f(0x1dd)][_0x84d27f(0x20b)](_0x388094);}[_0x69b57b(0x1e1)](){const _0x2ad538=_0x69b57b;this[_0x2ad538(0x207)](),this[_0x2ad538(0x1d1)][_0x2ad538(0x1e1)]();}[_0x69b57b(0x1f9)](_0x1ab3c3){const _0x4fea13=_0x69b57b,_0x8d639=this[_0x4fea13(0x1fb)](_0x1ab3c3);this[_0x4fea13(0x207)](_0x8d639),this[_0x4fea13(0x207)](_0x1ab3c3[_0x4fea13(0x1d1)]),_0x8d639[_0x4fea13(0x1e1)](),this[_0x4fea13(0x1dd)][_0x4fea13(0x1cd)](_0x1ab3c3),this[_0x4fea13(0x1be)][_0x4fea13(0x1cd)](_0x8d639);}[_0x69b57b(0x1e2)](){const _0x3877ba=_0x69b57b,_0x371ef8=new _0x11870c(this[_0x3877ba(0x1c9)][_0x3877ba(0x204)]);return _0x371ef8[_0x3877ba(0x1e5)](),this['on'](_0x3877ba(0x1e0),(_0x39ecb1,_0x537ead,_0x3dfede,_0x34e1a5)=>{const _0x62a554=_0x3877ba;_0x34e1a5&&_0x371ef8[_0x62a554(0x1e4)](_0x62a554(0x1d8)),_0x3dfede?_0x371ef8[_0x62a554(0x1ec)](_0x62a554(0x1d8))['to'](_0x3dfede,_0x62a554(0x1d4)):_0x371ef8[_0x62a554(0x1d8)]=null;}),_0x371ef8;}[_0x69b57b(0x1d9)](){const _0x169648=_0x69b57b;var _0x49b72d;this[_0x169648(0x1fa)]=(null===(_0x49b72d=this[_0x169648(0x1d6)])||void 0x0===_0x49b72d?void 0x0:_0x49b72d[_0x169648(0x216)])?this[_0x169648(0x1fb)](this[_0x169648(0x1d6)][_0x169648(0x216)]):null;}[_0x69b57b(0x1c1)](_0x3c4a7e){const _0x5c626a=_0x69b57b;var _0x49fd32;const _0x56b40b=this[_0x5c626a(0x1be)][_0x5c626a(0x20b)](_0x3c4a7e),_0x3a2545=_0x56b40b&&(null===(_0x49fd32=this[_0x5c626a(0x1d6)])||void 0x0===_0x49fd32?void 0x0:_0x49fd32[_0x5c626a(0x20b)](this[_0x5c626a(0x1d6)][_0x5c626a(0x20e)](_0x56b40b)-0x1));return _0x3a2545&&this[_0x5c626a(0x1fb)](_0x3a2545)||null;}[_0x69b57b(0x202)](_0x1605e7){const _0x4f91fe=_0x69b57b;var _0x2098b2;const _0x14d662=this[_0x4f91fe(0x1be)][_0x4f91fe(0x20b)](_0x1605e7),_0x3888e5=_0x14d662&&(null===(_0x2098b2=this[_0x4f91fe(0x1d6)])||void 0x0===_0x2098b2?void 0x0:_0x2098b2[_0x4f91fe(0x20b)](this[_0x4f91fe(0x1d6)][_0x4f91fe(0x20e)](_0x14d662)+0x1));return _0x3888e5&&this[_0x4f91fe(0x1fb)](_0x3888e5)||null;}[_0x69b57b(0x212)](_0x591df7,_0x32a7d5){const _0x46ac31=_0x69b57b;_0x591df7[_0x46ac31(0x1ed)]();const _0x47f068=R(_0x32a7d5[_0x46ac31(0x1d4)]+this[_0x46ac31(0x1c3)],_0x591df7[_0x46ac31(0x213)]);return!!_0x47f068&&(this[_0x46ac31(0x1c0)](_0x32a7d5,_0x32a7d5[_0x46ac31(0x213)]-_0x47f068),!0x0);}[_0x69b57b(0x1eb)](_0x388a47,_0x4eb379){const _0x3b086c=_0x69b57b;_0x388a47[_0x3b086c(0x1ed)]();const _0xe3f6e2=R(_0x388a47[_0x3b086c(0x1d4)]+this[_0x3b086c(0x1c3)],_0x4eb379[_0x3b086c(0x213)]);return!!_0xe3f6e2&&(this[_0x3b086c(0x1c0)](_0x4eb379,_0x4eb379[_0x3b086c(0x213)]+_0xe3f6e2,!0x1),!0x0);}[_0x69b57b(0x1d2)](_0x405e3a){const _0x55efd5=_0x69b57b,_0xf49e2c=this[_0x55efd5(0x1be)][_0x55efd5(0x20b)](_0x405e3a);if(!_0xf49e2c||!_0xf49e2c[_0x55efd5(0x21a)]||!_0xf49e2c[_0x55efd5(0x1c8)])return;const _0x189483=this[_0x55efd5(0x1bf)](_0xf49e2c,_0xf49e2c[_0x55efd5(0x1c8)]);this[_0x55efd5(0x1c0)](_0x405e3a,_0x189483);}[_0x69b57b(0x1bf)](_0x4c60c6,_0x599152){const _0x1ba51a=_0x69b57b;if(null===_0x599152)return 0x0;if(_0x4c60c6[_0x1ba51a(0x21a)]instanceof _0x134c82)return _0x599152[_0x1ba51a(0x213)];{const _0xc07d19=new _0x134c82(this[_0x1ba51a(0x1d1)][_0x1ba51a(0x1ff)])[_0x1ba51a(0x213)];return _0x599152[_0x1ba51a(0x213)]-_0xc07d19;}}[_0x69b57b(0x1c0)](_0x4309c1,_0x550926,_0x1b3f92=this[_0x69b57b(0x1c9)][_0x69b57b(0x1de)][_0x69b57b(0x20b)](_0x69b57b(0x1f3))){const _0x1b3310=_0x69b57b;_0x1b3f92&&(_0x550926=Math[_0x1b3310(0x208)](_0x550926,this[_0x1b3310(0x1d3)](_0x4309c1))),_0x4309c1[_0x1b3310(0x213)]=_0x550926;}[_0x69b57b(0x1d3)](_0x362de0){const _0x29db32=_0x69b57b;let _0x48d00a=this[_0x29db32(0x1c1)](_0x362de0),_0x531891=0x0;for(;_0x48d00a;)_0x48d00a[_0x29db32(0x1ed)](),_0x531891+=this[_0x29db32(0x1c3)]+_0x48d00a[_0x29db32(0x1ea)],_0x48d00a=this[_0x29db32(0x1c1)](_0x48d00a);return _0x531891;}}function R(_0x18f0f3,_0x1dcb09){const _0x5f5a68=_0x69b57b;return Math[_0x5f5a68(0x208)](_0x18f0f3-_0x1dcb09,0x0);}function _0x148f(){const _0xb19b88=['_targetTop','_alignBeforeItem','top','init','define','last','1616154PjRNyL','add','change:top','target','_sidebarItemViewToAnnotation','_getTargetTop','_setItemTop','_getItemBefore','change:targetRect','_spaceBetweenItems','pluginName','22061WoODJe','container','clear','targetRect','context','sidebar-attachtocontainer-missing-container','4OKjcRG','_detachFromContainer','delete','21934ltvskt','nodeType','length','view','_alignToTargetRect','_getMaxAvailableTop','bottom','_alignForTopChange','_annotations','list','minHeight','_updateLastItem','addAnnotation','sidebar.container','105582lmGQqH','_annotationToSidebarItemView','config','6138550AMVPvi','change:_lastItem','destroy','_createSidebarView','push','unbind','render','Sidebar','isPremiumPlugin','66iPwwBu','8PHtDlj','height','_alignAfterItem','bind','updateHeight','sidebar-setcontainer-invalid-element','_alignForBottomChange','content','set','5844xRdHrv','sidebar.preventScrollOutOfView','remove','object','class','listenTo','_attachToContainer','_destroySidebarItemView','_lastItem','getSidebarItemView','1754469XJsTtc','1918610KpbfLL','change:bottom','element','_recalculateBuffer','appendChild','_getItemAfter','isOfficialPlugin','locale','isActive','isAnimationDisabled','stopListening','max','refresh','_activeAnnotation','get','182UvjHtU','_recalculate','getIndex','setContainer','rearrange'];_0x148f=function(){return _0xb19b88;};return _0x148f();}function y(_0x186bcd){const _0x174d5b=_0x69b57b;return null!==_0x186bcd&&_0x174d5b(0x1f5)==typeof _0x186bcd&&0x1===_0x186bcd[_0x174d5b(0x1cf)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x749abc,_0x4af7ab){const _0x360deb=_0x4ad2,_0x210c2c=_0x749abc();while(!![]){try{const _0x45c036=-parseInt(_0x360deb(0xa4))/0x1*(-parseInt(_0x360deb(0xb6))/0x2)+parseInt(_0x360deb(0xae))/0x3*(parseInt(_0x360deb(0xad))/0x4)+-parseInt(_0x360deb(0xbd))/0x5+parseInt(_0x360deb(0x9e))/0x6*(-parseInt(_0x360deb(0xa9))/0x7)+parseInt(_0x360deb(0xa2))/0x8+-parseInt(_0x360deb(0xbc))/0x9*(-parseInt(_0x360deb(0xb8))/0xa)+parseInt(_0x360deb(0xb0))/0xb*(-parseInt(_0x360deb(0xb3))/0xc);if(_0x45c036===_0x4af7ab)break;else _0x210c2c['push'](_0x210c2c['shift']());}catch(_0x5b77ce){_0x210c2c['push'](_0x210c2c['shift']());}}}(_0x4b4f,0xd8321));import{ButtonView as _0x20514e,View as _0x9b1f6}from'ckeditor5/src/ui.js';import _0x50eb05 from'../../../theme/icons/add-comment.svg';function _0x4ad2(_0x163a27,_0x26055e){const _0x4b4f34=_0x4b4f();return _0x4ad2=function(_0x4ad283,_0x4747ab){_0x4ad283=_0x4ad283-0x9e;let _0x22e1c2=_0x4b4f34[_0x4ad283];return _0x22e1c2;},_0x4ad2(_0x163a27,_0x26055e);}export default class D extends _0x20514e{constructor(_0x1f7fe0){const _0x25df22=_0x4ad2;super(_0x1f7fe0);const _0x6a4104=this[_0x25df22(0xa1)];this[_0x25df22(0xa6)](_0x25df22(0xb7),!0x1),this[_0x25df22(0xa6)](_0x25df22(0xaa),0x0),this[_0x25df22(0xaf)](_0x25df22(0xac))['to'](this,_0x25df22(0xb7),this,_0x25df22(0xaa),(_0x500f3c,_0xf4dbb6)=>_0x500f3c?_0x25df22(0x9f):_0xf4dbb6[_0x25df22(0xa0)]()),this[_0x25df22(0xa6)](_0x25df22(0xb4),''),this[_0x25df22(0xa5)]=_0x50eb05,this[_0x25df22(0xa3)]({'attributes':{'class':[_0x25df22(0xa7)]}}),this[_0x25df22(0xb1)]=new _0x9b1f6(),this[_0x25df22(0xb1)][_0x25df22(0xa8)]({'tag':_0x25df22(0xba),'attributes':{'class':[_0x25df22(0xb9),_0x6a4104['to'](_0x25df22(0xb4),_0x12aa1=>_0x25df22(0xb2)+_0x12aa1),_0x6a4104['if'](_0x25df22(0xb7),_0x25df22(0xbb))]},'children':[{'text':_0x6a4104['to'](_0x25df22(0xac))}]}),this[_0x25df22(0xb5)][_0x25df22(0xab)](this[_0x25df22(0xb1)]);}}function _0x4b4f(){const _0x68e8b3=['ck-annotation-counter','setTemplate','7147651uNCnks','number','add','_badge','13108QjDHDI','597CQFgVg','bind','16896cJLbdi','counterView','ck-annotation-counter__badge--','13128gKpGQz','annotationType','children','138954mJPZiQ','isDirty','5650930dzrATM','ck-annotation-counter__badge','span','ck-annotation-counter__badge--edit-mode','18SgGkIi','3592300ONTPkz','6ShAVyp','...','toString','bindTemplate','12959712QjsoDX','extendTemplate','13yUkwlX','icon','set'];_0x4b4f=function(){return _0x68e8b3;};return _0x4b4f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9b0465=_0x4849;(function(_0x26f362,_0x358d9e){const _0x29b4b7=_0x4849,_0x3c0347=_0x26f362();while(!![]){try{const _0x2349fc=-parseInt(_0x29b4b7(0x1c2))/0x1+parseInt(_0x29b4b7(0x1ea))/0x2*(parseInt(_0x29b4b7(0x1c7))/0x3)+-parseInt(_0x29b4b7(0x1cf))/0x4*(parseInt(_0x29b4b7(0x1d0))/0x5)+parseInt(_0x29b4b7(0x1df))/0x6+parseInt(_0x29b4b7(0x1cd))/0x7*(-parseInt(_0x29b4b7(0x1db))/0x8)+-parseInt(_0x29b4b7(0x1ed))/0x9+parseInt(_0x29b4b7(0x1e8))/0xa*(parseInt(_0x29b4b7(0x1e0))/0xb);if(_0x2349fc===_0x358d9e)break;else _0x3c0347['push'](_0x3c0347['shift']());}catch(_0x19f79c){_0x3c0347['push'](_0x3c0347['shift']());}}}(_0x35a2,0xa80c4));import{View as _0x31f668}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4d1e38,KeystrokeHandler as _0x5bb812,uid as _0x5e7339}from'ckeditor5/src/utils.js';import _0x560923 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class T extends _0x31f668{constructor(_0x404f19,_0x5db77f){const _0x5e7f4c=_0x4849;super(_0x404f19),this['id']=_0x5e7339(),this[_0x5e7f4c(0x1ca)]=new _0x4d1e38(),this[_0x5e7f4c(0x1d3)]=new _0x5bb812(),this[_0x5e7f4c(0x1d3)][_0x5e7f4c(0x1d7)](_0x5e7f4c(0x1da),(_0x2d5eff,_0x549c24)=>this[_0x5e7f4c(0x1dd)](_0x5e7f4c(0x1da),_0x549c24)),this[_0x5e7f4c(0x1d7)](_0x5e7f4c(0x1ee),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x5e7f4c(0x1d7)](_0x5e7f4c(0x1d6),0x0),this[_0x5e7f4c(0x1d7)](_0x5e7f4c(0x1ec),!0x1),this[_0x5e7f4c(0x1d7)](_0x5e7f4c(0x1c3),!0x1),this[_0x5e7f4c(0x1d7)](_0x5e7f4c(0x1d1),0x0),this[_0x5e7f4c(0x1d7)](_0x5e7f4c(0x1c5),''),this[_0x5e7f4c(0x1c9)]=_0x560923(()=>this[_0x5e7f4c(0x1e7)]()),this[_0x5e7f4c(0x1f1)]=this[_0x5e7f4c(0x1d2)](),this[_0x5e7f4c(0x1f1)][_0x5e7f4c(0x1c8)](_0x5e7f4c(0x1c4),_0x5e7f4c(0x1c6))['to'](this),this[_0x5e7f4c(0x1f1)][_0x5e7f4c(0x1d9)](_0x5db77f),this[_0x5e7f4c(0x1f0)]=_0x5db77f;const _0x3cd6d7=this[_0x5e7f4c(0x1eb)];this[_0x5e7f4c(0x1ce)]({'tag':_0x5e7f4c(0x1e1),'attributes':{'class':['ck',_0x5e7f4c(0x1e9),_0x5e7f4c(0x1dc),_0x3cd6d7['if'](_0x5e7f4c(0x1ec),_0x5e7f4c(0x1cc))],'role':_0x5e7f4c(0x1ef)},'children':this[_0x5e7f4c(0x1f1)]});}[_0x9b0465(0x1e3)](){const _0x7bfb8a=_0x9b0465;super[_0x7bfb8a(0x1e3)](),this[_0x7bfb8a(0x1ca)][_0x7bfb8a(0x1d9)](this[_0x7bfb8a(0x1d4)]),this[_0x7bfb8a(0x1d3)][_0x7bfb8a(0x1cb)](this[_0x7bfb8a(0x1d4)]),this[_0x7bfb8a(0x1c9)][_0x7bfb8a(0x1d8)](this[_0x7bfb8a(0x1d4)]);}[_0x9b0465(0x1e2)](){const _0x52c9a7=_0x9b0465;this[_0x52c9a7(0x1f1)][_0x52c9a7(0x1d5)](),this[_0x52c9a7(0x1d3)][_0x52c9a7(0x1e2)](),this[_0x52c9a7(0x1ca)][_0x52c9a7(0x1e2)](),this[_0x52c9a7(0x1c9)][_0x52c9a7(0x1de)](),super[_0x52c9a7(0x1e2)]();}[_0x9b0465(0x1e4)](){const _0x434d72=_0x9b0465;this[_0x434d72(0x1f1)][_0x434d72(0x1e6)]&&this[_0x434d72(0x1f1)][_0x434d72(0x1e6)][_0x434d72(0x1e4)]();}[_0x9b0465(0x1e7)](){const _0x1f8eb1=_0x9b0465,_0x2e5e92=this[_0x1f8eb1(0x1d4)][_0x1f8eb1(0x1e5)];_0x2e5e92&&(this[_0x1f8eb1(0x1d6)]=_0x2e5e92);}}function _0x4849(_0x30dc25,_0xbabaa1){const _0x35a297=_0x35a2();return _0x4849=function(_0x484946,_0x56d5ba){_0x484946=_0x484946-0x1c2;let _0x1cac71=_0x35a297[_0x484946];return _0x1cac71;},_0x4849(_0x30dc25,_0xbabaa1);}function _0x35a2(){const _0x64f6af=['4978eYCqJl','bindTemplate','isActive','6040818XvXIam','targetRect','presentation','mainView','content','466715egRBap','isDirty','arrowup','type','arrowdown','492udgXOg','delegate','_mutationObserver','focusTracker','listenTo','ck-annotation-wrapper--active','2746828ZNlWuN','setTemplate','4YmJdDO','767185MDbNeJ','length','createCollection','keystrokes','element','clear','height','set','attach','add','Esc','16bVTVoH','ck-rounded-corners','fire','detach','6799848pKetLn','6726401JrVfuP','div','destroy','render','focus','clientHeight','first','_updateHeight','20dlsUHR','ck-annotation-wrapper'];_0x35a2=function(){return _0x64f6af;};return _0x35a2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3c84(_0x3885a6,_0x59fa7a){const _0x407114=_0x4071();return _0x3c84=function(_0x3c848c,_0xeb720b){_0x3c848c=_0x3c848c-0x120;let _0x5df88f=_0x407114[_0x3c848c];return _0x5df88f;},_0x3c84(_0x3885a6,_0x59fa7a);}const _0x5cc525=_0x3c84;(function(_0x4e739e,_0x4d6ad6){const _0x5074eb=_0x3c84,_0x296d61=_0x4e739e();while(!![]){try{const _0x543e92=-parseInt(_0x5074eb(0x12d))/0x1+parseInt(_0x5074eb(0x133))/0x2*(parseInt(_0x5074eb(0x12f))/0x3)+parseInt(_0x5074eb(0x122))/0x4*(-parseInt(_0x5074eb(0x125))/0x5)+parseInt(_0x5074eb(0x136))/0x6+parseInt(_0x5074eb(0x12a))/0x7+parseInt(_0x5074eb(0x132))/0x8+-parseInt(_0x5074eb(0x12c))/0x9*(parseInt(_0x5074eb(0x131))/0xa);if(_0x543e92===_0x4d6ad6)break;else _0x296d61['push'](_0x296d61['shift']());}catch(_0x4a8d28){_0x296d61['push'](_0x296d61['shift']());}}}(_0x4071,0x81640));import{View as _0x185af7}from'ckeditor5/src/ui.js';import{toUnit as _0x105712}from'ckeditor5/src/utils.js';import _0x23f26d from'../../utils/createmutationobserver.js';function _0x4071(){const _0x3190ca=['element','focus','_mutationObserver','delegate','2656115PbjIUl','ck-sidebar-item','4499415FUeibb','367852lyiMdS','detach','3HcuMtN','ck-sidebar-item--no-animation','20aQgzoQ','5777408ACRTpJ','1689162tgiijl','bottom','createCollection','4139982aZGgcZ','_targetTop','first','presentation','render','arrowdown','clientHeight','destroy','div','bindTemplate','clear','set','attach','updateHeight','isAnimationDisabled','height','arrowup','bind','setTemplate','28dnqVvG','top','content','527495blBcsc'];_0x4071=function(){return _0x3190ca;};return _0x4071();}const qt=_0x105712('px');export default class H extends _0x185af7{constructor(_0x49db8c){const _0xc9733e=_0x3c84;super(_0x49db8c),this[_0xc9733e(0x141)](_0xc9733e(0x123),0x0),this[_0xc9733e(0x141)](_0xc9733e(0x145),0x0),this[_0xc9733e(0x120)](_0xc9733e(0x134))['to'](this,_0xc9733e(0x123),this,_0xc9733e(0x145),(_0x2631f1,_0x167082)=>_0x2631f1+_0x167082),this[_0xc9733e(0x141)](_0xc9733e(0x144),!0x1),this[_0xc9733e(0x128)]=_0x23f26d(()=>this[_0xc9733e(0x143)]()),this[_0xc9733e(0x137)]=null,this[_0xc9733e(0x124)]=this[_0xc9733e(0x135)](),this[_0xc9733e(0x124)][_0xc9733e(0x129)](_0xc9733e(0x146),_0xc9733e(0x13b))['to'](this);const _0x5a80f5=this[_0xc9733e(0x13f)];this[_0xc9733e(0x121)]({'tag':_0xc9733e(0x13e),'attributes':{'class':[_0xc9733e(0x12b),_0x5a80f5['to'](_0xc9733e(0x144),_0x157bd0=>_0x157bd0?_0xc9733e(0x130):'')],'style':{'top':_0x5a80f5['to'](_0xc9733e(0x123),_0x373a7b=>qt(_0x373a7b))},'role':_0xc9733e(0x139)},'children':this[_0xc9733e(0x124)]});}[_0x5cc525(0x13a)](){const _0x1b0b9c=_0x5cc525;super[_0x1b0b9c(0x13a)](),this[_0x1b0b9c(0x128)][_0x1b0b9c(0x142)](this[_0x1b0b9c(0x126)]);}[_0x5cc525(0x127)](){const _0xa9c369=_0x5cc525;this[_0xa9c369(0x124)][_0xa9c369(0x138)]&&this[_0xa9c369(0x124)][_0xa9c369(0x138)][_0xa9c369(0x127)]();}[_0x5cc525(0x143)](){const _0x474940=_0x5cc525,_0x30db02=this[_0x474940(0x126)][_0x474940(0x13c)];_0x30db02&&(this[_0x474940(0x145)]=_0x30db02);}[_0x5cc525(0x13d)](){const _0x3e2d13=_0x5cc525;this[_0x3e2d13(0x124)][_0x3e2d13(0x140)](),this[_0x3e2d13(0x128)][_0x3e2d13(0x12e)](),super[_0x3e2d13(0x13d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x76f68a=_0x3fc1;(function(_0x414b14,_0x52b77e){const _0x36f1eb=_0x3fc1,_0x301492=_0x414b14();while(!![]){try{const _0x3ae4aa=-parseInt(_0x36f1eb(0xa4))/0x1*(-parseInt(_0x36f1eb(0x86))/0x2)+-parseInt(_0x36f1eb(0x95))/0x3*(-parseInt(_0x36f1eb(0x7b))/0x4)+-parseInt(_0x36f1eb(0xaa))/0x5*(parseInt(_0x36f1eb(0x85))/0x6)+-parseInt(_0x36f1eb(0x76))/0x7*(-parseInt(_0x36f1eb(0x98))/0x8)+-parseInt(_0x36f1eb(0xa6))/0x9+parseInt(_0x36f1eb(0xa1))/0xa*(parseInt(_0x36f1eb(0x91))/0xb)+-parseInt(_0x36f1eb(0x96))/0xc*(parseInt(_0x36f1eb(0xa2))/0xd);if(_0x3ae4aa===_0x52b77e)break;else _0x301492['push'](_0x301492['shift']());}catch(_0x2c5bc8){_0x301492['push'](_0x301492['shift']());}}}(_0x4a89,0x9c52d));import{View as _0x30c09,FocusCycler as _0x5bdae8}from'ckeditor5/src/ui.js';function _0x4a89(){const _0x22307c=['render','list','delegate','bindTemplate','26412KCJEzL','removed','focus','focusCycler','setTemplate','number','forEach','focusables','arrowup','Annotations\x20list','254532tKMRwh','8zYeViz','change:top','added','element','arrowdown','change','focusNext','top','ck-sidebar','_updateItemPositionInFocusables','ck-reset','50303eiFnsM','focusFirst','application','class','489SVXbYz','192cRYBKu','remove','3204856VhwahF','createCollection','length','source','getIndex','uiLanguageDirection','_setupKeyboardNavigation','div','minHeight','460cwyBap','1224184OYUsUj','focusPrevious','215366QaQElA','add','9681093qMLCRz','Annotations\x20sidebar','set','listenTo','15IxOdPV','focusTracker','21awdTpl'];_0x4a89=function(){return _0x22307c;};return _0x4a89();}import{FocusTracker as _0x4157fc,toUnit as _0xde89b8}from'ckeditor5/src/utils.js';function _0x3fc1(_0x46847a,_0xa472cf){const _0x4a89d0=_0x4a89();return _0x3fc1=function(_0x3fc1ce,_0x584373){_0x3fc1ce=_0x3fc1ce-0x76;let _0x4d18fe=_0x4a89d0[_0x3fc1ce];return _0x4d18fe;},_0x3fc1(_0x46847a,_0xa472cf);}import{getTranslation as _0x5ca84a}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const qt=_0xde89b8('px');export default class V extends _0x30c09{constructor(_0x480bd9){const _0x32d79c=_0x3fc1;super(_0x480bd9);const _0x403f1f=this[_0x32d79c(0x7a)];this[_0x32d79c(0xa8)](_0x32d79c(0xa0),0x0),this[_0x32d79c(0xa8)](_0x32d79c(0x94),''),this[_0x32d79c(0x78)]=this[_0x32d79c(0x99)](),this[_0x32d79c(0x82)]=this[_0x32d79c(0x99)](),this[_0x32d79c(0x78)][_0x32d79c(0x79)](_0x32d79c(0x83),_0x32d79c(0x8a))['to'](this),this[_0x32d79c(0xab)]=new _0x4157fc(),this[_0x32d79c(0x7e)]=new _0x5bdae8({'focusables':this[_0x32d79c(0x82)],'focusTracker':this[_0x32d79c(0xab)]}),this[_0x32d79c(0x7f)]({'tag':_0x32d79c(0x9f),'attributes':{'class':['ck',_0x32d79c(0x8e),_0x32d79c(0x90),_0x403f1f['to'](_0x32d79c(0x94))],'style':{'minHeight':_0x403f1f['to'](_0x32d79c(0xa0),_0x18330b=>_0x32d79c(0x80)==typeof _0x18330b?qt(_0x18330b+0xa):null)},'dir':_0x480bd9[_0x32d79c(0x9d)],'role':_0x32d79c(0x93),'aria-label':_0x5ca84a(_0x480bd9,_0x32d79c(0xa7)),'tabindex':0x0},'children':[{'tag':_0x32d79c(0x9f),'attributes':{'role':_0x32d79c(0x78),'aria-label':_0x5ca84a(_0x480bd9,_0x32d79c(0x84))},'children':this[_0x32d79c(0x78)]}]});}[_0x76f68a(0x77)](){const _0x2901ec=_0x76f68a;super[_0x2901ec(0x77)](),this[_0x2901ec(0x9e)]();}[_0x76f68a(0x7d)](){const _0x4b36ff=_0x76f68a;this[_0x4b36ff(0x7e)][_0x4b36ff(0x92)]();}[_0x76f68a(0x9e)](){const _0x25c358=_0x76f68a;this[_0x25c358(0x78)][_0x25c358(0x79)](_0x25c358(0x87))['to'](this),this['on'](_0x25c358(0x87),_0x444884=>{const _0x3e1aba=_0x25c358;this[_0x3e1aba(0x8f)](_0x444884[_0x3e1aba(0x9b)]);}),this[_0x25c358(0x78)][_0x25c358(0x81)](_0x4b2573=>{const _0x54abe0=_0x25c358;this[_0x54abe0(0xab)][_0x54abe0(0xa5)](_0x4b2573[_0x54abe0(0x89)]),this[_0x54abe0(0x8f)](_0x4b2573);}),this[_0x25c358(0x78)]['on'](_0x25c358(0x8b),(_0x68b549,_0x50440c)=>{const _0x3e68ac=_0x25c358;for(const _0x43c389 of _0x50440c[_0x3e68ac(0x7c)])this[_0x3e68ac(0xab)][_0x3e68ac(0x97)](_0x43c389[_0x3e68ac(0x89)]),this[_0x3e68ac(0x82)][_0x3e68ac(0x97)](_0x43c389);for(const _0x43d1e2 of _0x50440c[_0x3e68ac(0x88)])this[_0x3e68ac(0xab)][_0x3e68ac(0xa5)](_0x43d1e2[_0x3e68ac(0x89)]),this[_0x3e68ac(0x8f)](_0x43d1e2);}),this['on'](_0x25c358(0x83),()=>{const _0x4507ae=_0x25c358;this[_0x4507ae(0x7e)][_0x4507ae(0xa3)]();}),this['on'](_0x25c358(0x8a),()=>{const _0x5bb796=_0x25c358;this[_0x5bb796(0x7e)][_0x5bb796(0x8c)]();}),this[_0x25c358(0xa9)](this[_0x25c358(0x89)],_0x25c358(0x7d),()=>{const _0x46d2e0=_0x25c358;this[_0x46d2e0(0x7d)]();});}[_0x76f68a(0x8f)](_0x40567b){const _0x4921f1=_0x76f68a,_0x5723e6=this[_0x4921f1(0x82)][_0x4921f1(0x9c)](_0x40567b);let _0x388c98,_0x557768;for(const _0x326f9f of this[_0x4921f1(0x82)])if(_0x40567b[_0x4921f1(0x8d)]<_0x326f9f[_0x4921f1(0x8d)]){_0x388c98=_0x326f9f;break;}if(_0x557768=_0x388c98?this[_0x4921f1(0x82)][_0x4921f1(0x9c)](_0x388c98):this[_0x4921f1(0x82)][_0x4921f1(0x9a)],-0x1!==_0x5723e6){if(_0x5723e6===_0x557768-0x1)return;this[_0x4921f1(0x82)][_0x4921f1(0x97)](_0x40567b),_0x557768=_0x388c98?this[_0x4921f1(0x82)][_0x4921f1(0x9c)](_0x388c98):this[_0x4921f1(0x82)][_0x4921f1(0x9a)];}this[_0x4921f1(0x82)][_0x4921f1(0xa5)](_0x40567b,_0x557768);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15e881=_0x1b6f;(function(_0x203604,_0x1005bd){const _0x183b44=_0x1b6f,_0x281c61=_0x203604();while(!![]){try{const _0x14e2fb=parseInt(_0x183b44(0x1d9))/0x1+-parseInt(_0x183b44(0x1bd))/0x2*(parseInt(_0x183b44(0x1e7))/0x3)+parseInt(_0x183b44(0x1f3))/0x4+-parseInt(_0x183b44(0x1bb))/0x5*(-parseInt(_0x183b44(0x1be))/0x6)+parseInt(_0x183b44(0x1e1))/0x7*(parseInt(_0x183b44(0x1b5))/0x8)+-parseInt(_0x183b44(0x1e3))/0x9+-parseInt(_0x183b44(0x1cc))/0xa*(parseInt(_0x183b44(0x1ca))/0xb);if(_0x14e2fb===_0x1005bd)break;else _0x281c61['push'](_0x281c61['shift']());}catch(_0x493e61){_0x281c61['push'](_0x281c61['shift']());}}}(_0x5eac,0x87760));import{ContextPlugin as _0x2dd816,Context as _0x44c085}from'ckeditor5/src/core.js';import _0x348689 from'./annotationsuis.js';import _0x2b8677 from'./sidebar.js';import{CKEditorError as _0x5ac2a4,Collection as _0x565e02}from'ckeditor5/src/utils.js';import{debounce as _0x4d41d2}from'lodash-es';export default class e extends _0x2dd816{static get[_0x15e881(0x1f9)](){return[_0x2b8677,_0x348689];}static get[_0x15e881(0x1f1)](){const _0x49fd7a=_0x15e881;return _0x49fd7a(0x1d8);}static get[_0x15e881(0x1f6)](){return!0x0;}static get[_0x15e881(0x1c1)](){return!0x0;}constructor(_0x140eaf){const _0x11c727=_0x15e881;super(_0x140eaf),this[_0x11c727(0x1cf)]=!0x1,this[_0x11c727(0x1b9)](_0x11c727(0x1ea),null),this[_0x11c727(0x1c6)]=null,this[_0x11c727(0x1d1)]=new _0x565e02(),this[_0x11c727(0x1d7)]=_0x4d41d2(()=>{const _0x3fcede=_0x11c727;this[_0x3fcede(0x1c6)][_0x3fcede(0x1ce)]();},0xfa,{'leading':!0x1});}[_0x15e881(0x1ee)](){const _0x3932fb=_0x15e881,_0x8b96fd=this[_0x3932fb(0x1b6)][_0x3932fb(0x1b8)][_0x3932fb(0x1ed)](_0x348689),_0x52254a=this[_0x3932fb(0x1b6)][_0x3932fb(0x1b8)][_0x3932fb(0x1ed)](_0x2b8677);_0x8b96fd[_0x3932fb(0x1da)](_0x3932fb(0x1f4),this),_0x52254a[_0x3932fb(0x1f8)]&&_0x8b96fd[_0x3932fb(0x1bf)](_0x3932fb(0x1f4));}[_0x15e881(0x1e2)](_0x119eb8){const _0x1cd2b3=_0x15e881;if(_0x119eb8===this[_0x1cd2b3(0x1ea)])return;const _0x1fdf0a=this[_0x1cd2b3(0x1b6)][_0x1cd2b3(0x1b8)][_0x1cd2b3(0x1ed)](_0x2b8677);_0x1fdf0a[_0x1cd2b3(0x1c7)]=_0x119eb8;const _0x3ae5e5=this[_0x1cd2b3(0x1ea)];this[_0x1cd2b3(0x1ea)]=_0x119eb8,_0x1fdf0a[_0x1cd2b3(0x1ec)]({'blurredAnnotation':_0x3ae5e5,'activatedAnnotation':this[_0x1cd2b3(0x1ea)]});}[_0x15e881(0x1f0)](_0x14f8b7){const _0x5bece3=_0x15e881;this[_0x5bece3(0x1c6)]=_0x14f8b7;const _0x44e222=this[_0x5bece3(0x1b6)][_0x5bece3(0x1b8)][_0x5bece3(0x1ed)](_0x2b8677);if(_0x44e222[_0x5bece3(0x1d0)]=_0x14f8b7,this[_0x5bece3(0x1cf)])throw new _0x5ac2a4(_0x5bece3(0x1d4),this);this[_0x5bece3(0x1cf)]=!0x0,this[_0x5bece3(0x1c4)](_0x44e222,_0x5bece3(0x1e4),()=>{const _0x5ed6c7=_0x5bece3;this[_0x5ed6c7(0x1c5)](),this[_0x5ed6c7(0x1c4)](_0x44e222,_0x5ed6c7(0x1f2),_0x2c699f=>{const _0x590592=_0x5ed6c7;_0x2c699f[_0x590592(0x1ba)](),this[_0x590592(0x1f0)](_0x14f8b7);});}),_0x44e222[_0x5bece3(0x1e8)]({'viewClass':_0x5bece3(0x1fa)});const _0x19e14d=_0x25fcba=>{const _0x4e7a6a=_0x5bece3;_0x25fcba[_0x4e7a6a(0x1ef)](),_0x44e222[_0x4e7a6a(0x1f5)](_0x25fcba);};for(const _0x5a5173 of _0x14f8b7)_0x19e14d(_0x5a5173);this[_0x5bece3(0x1c4)](_0x14f8b7,_0x5bece3(0x1e6),(_0x5d41a1,_0x4a183c)=>{_0x19e14d(_0x4a183c);}),this[_0x5bece3(0x1c4)](_0x14f8b7,_0x5bece3(0x1d5),(_0x45e8e8,_0x57d0ba,_0x26069e)=>{const _0x4621ea=_0x5bece3;_0x44e222[_0x4621ea(0x1dd)]({'removedAnnotation':_0x57d0ba,'previousAnnotation':_0x14f8b7[_0x4621ea(0x1ed)](_0x26069e-0x1),'nextAnnotation':_0x14f8b7[_0x4621ea(0x1ed)](_0x26069e+0x1)}),_0x57d0ba===this[_0x4621ea(0x1ea)]&&this[_0x4621ea(0x1e2)](null);},{'priority':_0x5bece3(0x1b4)}),this[_0x5bece3(0x1c4)](_0x14f8b7,_0x5bece3(0x1cb),(_0x3512a9,_0x46c1b6)=>{const _0x4905a9=_0x5bece3;this[_0x4905a9(0x1e2)](_0x46c1b6);}),this[_0x5bece3(0x1c4)](_0x14f8b7,_0x5bece3(0x1eb),()=>{const _0x25a352=_0x5bece3;this[_0x25a352(0x1e2)](null);});const _0x1e42c8=this[_0x5bece3(0x1b6)]instanceof _0x44c085?this[_0x5bece3(0x1b6)][_0x5bece3(0x1e9)]:new _0x565e02([this[_0x5bece3(0x1b6)]]);for(const _0x26c79e of _0x1e42c8)this[_0x5bece3(0x1df)](_0x26c79e);this[_0x5bece3(0x1c4)](_0x1e42c8,_0x5bece3(0x1e6),(_0x1eab32,_0x583e7b)=>{const _0x434cd0=_0x5bece3;this[_0x434cd0(0x1c4)](_0x583e7b,_0x434cd0(0x1cd),()=>{const _0x9a4400=_0x434cd0;this[_0x9a4400(0x1df)](_0x583e7b);});}),this[_0x5bece3(0x1c4)](_0x1e42c8,_0x5bece3(0x1d5),(_0xcf9d40,_0x33527a)=>{const _0x38d956=_0x5bece3;_0x33527a[_0x38d956(0x1b8)][_0x38d956(0x1db)](_0x38d956(0x1c9))&&this[_0x38d956(0x1e0)](_0x33527a[_0x38d956(0x1b8)][_0x38d956(0x1ed)](_0x38d956(0x1c9)));}),window[_0x5bece3(0x1c3)](_0x5bece3(0x1c2),this[_0x5bece3(0x1d7)]),this[_0x5bece3(0x1c6)][_0x5bece3(0x1ce)]();}[_0x15e881(0x1c5)](){const _0x5da6cb=_0x15e881;if(!this[_0x5da6cb(0x1cf)])throw new _0x5ac2a4(_0x5da6cb(0x1dc),this);this[_0x5da6cb(0x1e2)](null);const _0x1adfba=this[_0x5da6cb(0x1b6)][_0x5da6cb(0x1b8)][_0x5da6cb(0x1ed)](_0x2b8677);_0x1adfba[_0x5da6cb(0x1d2)](this[_0x5da6cb(0x1c6)]),this[_0x5da6cb(0x1de)](_0x1adfba),this[_0x5da6cb(0x1de)](this[_0x5da6cb(0x1c6)]),this[_0x5da6cb(0x1b6)]instanceof _0x44c085&&this[_0x5da6cb(0x1de)](this[_0x5da6cb(0x1b6)][_0x5da6cb(0x1e9)]);for(const _0x198400 of Array[_0x5da6cb(0x1f7)](this[_0x5da6cb(0x1d1)]))this[_0x5da6cb(0x1e0)](_0x198400);window[_0x5da6cb(0x1c0)](_0x5da6cb(0x1c2),this[_0x5da6cb(0x1d7)]),this[_0x5da6cb(0x1d7)][_0x5da6cb(0x1d6)](),this[_0x5da6cb(0x1ea)]=null,this[_0x5da6cb(0x1cf)]=!0x1,this[_0x5da6cb(0x1c6)]=null;}[_0x15e881(0x1d3)](){const _0xca0c83=_0x15e881;this[_0xca0c83(0x1cf)]&&this[_0xca0c83(0x1c5)]();}[_0x15e881(0x1df)](_0x5bdcb1){const _0x10cb64=_0x15e881;if(!_0x5bdcb1[_0x10cb64(0x1b8)][_0x10cb64(0x1db)](_0x10cb64(0x1c9)))return;const _0x44deba=_0x5bdcb1[_0x10cb64(0x1b8)][_0x10cb64(0x1ed)](_0x10cb64(0x1c9)),_0x2a7b6e=()=>{const _0x5c33e8=_0x10cb64,_0x5769b8=_0x44deba[_0x5c33e8(0x1e5)]({'annotations':this[_0x5c33e8(0x1c6)],'activeAnnotation':this[_0x5c33e8(0x1ea)]});this[_0x5c33e8(0x1e2)](_0x5769b8[0x0]||null);};this[_0x10cb64(0x1c4)](_0x44deba,_0x10cb64(0x1ec),_0x2a7b6e),this[_0x10cb64(0x1c4)](_0x44deba,_0x10cb64(0x1eb),(_0xbd1564,{isAnnotationTracked:_0x9e32c5})=>{const _0x3763c9=_0x10cb64;this[_0x3763c9(0x1ea)]&&_0x9e32c5(this[_0x3763c9(0x1ea)])&&this[_0x3763c9(0x1e2)](null);}),this[_0x10cb64(0x1c4)](_0x44deba,_0x10cb64(0x1c8),()=>{const _0x54e5af=_0x10cb64;this[_0x54e5af(0x1d7)]();}),this[_0x10cb64(0x1c4)](this[_0x10cb64(0x1c6)],_0x10cb64(0x1eb),_0x6cf2dc=>{const _0x33669e=_0x10cb64;_0x44deba[_0x33669e(0x1bc)]()&&(_0x2a7b6e(),_0x6cf2dc[_0x33669e(0x1b7)]());},{'priority':_0x10cb64(0x1b4)}),this[_0x10cb64(0x1d1)][_0x10cb64(0x1e6)](_0x44deba);}[_0x15e881(0x1e0)](_0x89be11){const _0x21b9af=_0x15e881;this[_0x21b9af(0x1de)](_0x89be11),this[_0x21b9af(0x1d1)][_0x21b9af(0x1d5)](_0x89be11);}}function _0x1b6f(_0x10f0df,_0x497932){const _0x5eac85=_0x5eac();return _0x1b6f=function(_0x1b6fd9,_0x464c44){_0x1b6fd9=_0x1b6fd9-0x1b4;let _0x266f09=_0x5eac85[_0x1b6fd9];return _0x266f09;},_0x1b6f(_0x10f0df,_0x497932);}function _0x5eac(){const _0x42999b=['annotations','_activeAnnotation','uiUpdate','EditorAnnotations','15699123HUjuvJ','focus','10yMCfIa','ready','refreshPositioning','isAttached','_annotations','_editorAnnotations','_detachFromContainer','destroy','widesidebar-attach-already-attached','remove','cancel','_refreshPositioningDebounced','WideSidebar','894077WknaKQ','register','has','widesidebar-detach-not-attached','rearrange','stopListening','_integrateWithEditorAnnotations','_destroyEditorAnnotationsIntegration','3361813CQGlSG','setActiveAnnotation','2830725hHvLka','set:container','getOrderedSelectedAnnotations','add','16797Ybeifv','_attachToContainer','editors','activeAnnotation','blur','refresh','get','init','updateTargetRect','attach','pluginName','change:container','2668268egziXh','wideSidebar','addAnnotation','isOfficialPlugin','from','container','requires','ck-sidebar--wide','high','8XnpQTt','context','stop','plugins','set','off','9190uWcyhH','hasDomSelection','94enyNrl','1692ufsrjZ','switchTo','removeEventListener','isPremiumPlugin','resize','addEventListener','listenTo','detach'];_0x5eac=function(){return _0x42999b;};return _0x5eac();}
|
package/src/augmentation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import type { CommentsConfig, SidebarConfig, Annotations, AnnotationsUIs, EditorAnnotations, CommentsRepository, CommentsUI } from './index.js';
|
|
5
|
+
import type { CommentsConfig, SidebarConfig, Annotations, AnnotationsUIs, EditorAnnotations, InlineAnnotations, WideSidebar, NarrowSidebar, Comments, CommentsRepository, CommentsUI, CommentsOnly, CommentsArchive, CommentsArchiveUI } from './index.js';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
|
7
7
|
interface EditorConfig {
|
|
8
8
|
/**
|
|
@@ -46,7 +46,14 @@ declare module '@ckeditor/ckeditor5-core' {
|
|
|
46
46
|
[Annotations.pluginName]: Annotations;
|
|
47
47
|
[AnnotationsUIs.pluginName]: AnnotationsUIs;
|
|
48
48
|
[EditorAnnotations.pluginName]: EditorAnnotations;
|
|
49
|
+
[InlineAnnotations.pluginName]: InlineAnnotations;
|
|
50
|
+
[WideSidebar.pluginName]: WideSidebar;
|
|
51
|
+
[NarrowSidebar.pluginName]: NarrowSidebar;
|
|
52
|
+
[Comments.pluginName]: Comments;
|
|
49
53
|
[CommentsRepository.pluginName]: CommentsRepository;
|
|
50
54
|
[CommentsUI.pluginName]: CommentsUI;
|
|
55
|
+
[CommentsOnly.pluginName]: CommentsOnly;
|
|
56
|
+
[CommentsArchive.pluginName]: CommentsArchive;
|
|
57
|
+
[CommentsArchiveUI.pluginName]: CommentsArchiveUI;
|
|
51
58
|
}
|
|
52
59
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5a0004=_0x270e;(function(_0x3a3011,_0x12930a){const _0x3942d9=_0x270e,_0x378448=_0x3a3011();while(!![]){try{const _0x11aded=-parseInt(_0x3942d9(0xed))/0x1+parseInt(_0x3942d9(0xcc))/0x2*(-parseInt(_0x3942d9(0xea))/0x3)+-parseInt(_0x3942d9(0xe9))/0x4*(-parseInt(_0x3942d9(0xe3))/0x5)+parseInt(_0x3942d9(0xd9))/0x6*(-parseInt(_0x3942d9(0xde))/0x7)+parseInt(_0x3942d9(0xdd))/0x8*(parseInt(_0x3942d9(0xe1))/0x9)+parseInt(_0x3942d9(0xe6))/0xa+parseInt(_0x3942d9(0xe2))/0xb;if(_0x11aded===_0x12930a)break;else _0x378448['push'](_0x378448['shift']());}catch(_0x3aee00){_0x378448['push'](_0x378448['shift']());}}}(_0x2a0b,0xd9916));function _0x270e(_0x148ac4,_0x16f151){const _0x2a0bce=_0x2a0b();return _0x270e=function(_0x270e27,_0xfe77b8){_0x270e27=_0x270e27-0xc9;let _0x555c9f=_0x2a0bce[_0x270e27];return _0x555c9f;},_0x270e(_0x148ac4,_0x16f151);}import{Command as _0x391423}from'ckeditor5/src/core.js';import{uid as _0x502a0f}from'ckeditor5/src/utils.js';function _0x2a0b(){const _0xe5b737=['761890HxFsOX','editor','_trimToContent','9888360QToOnZ','comment:','_hasContent','20REfUIW','7974wMBaDX','getRanges','substr','1283276vemUpC','execute','element','isObject','document','start','338bnMWTW','$textProxy','item','change','isEnabled','schema','push','getItems','model','createRange','selection','getLastMatchingPosition','backward','822ycGfdZ','tableCell','refresh','addMarker','1984816NuaiWE','19985bxpdxc','_itemIsContent','end','18KAbGWo','8446251nGtQfc'];_0x2a0b=function(){return _0xe5b737;};return _0x2a0b();}export default class J extends _0x391423{[_0x5a0004(0xdb)](){const _0x50b1cd=_0x5a0004,_0x4cf0a5=this[_0x50b1cd(0xe4)][_0x50b1cd(0xd4)][_0x50b1cd(0xca)][_0x50b1cd(0xd6)];for(const _0x1abe1c of _0x4cf0a5[_0x50b1cd(0xeb)]())if(this[_0x50b1cd(0xe8)](_0x1abe1c))return void(this[_0x50b1cd(0xd0)]=!0x0);this[_0x50b1cd(0xd0)]=!0x1;}[_0x5a0004(0xee)]({threadId:_0x269f68=_0x502a0f()}={}){const _0x555ce4=_0x5a0004,_0x3ed7c2=this[_0x555ce4(0xe4)][_0x555ce4(0xd4)],_0x39ccc3=[];for(const _0x50e264 of _0x3ed7c2[_0x555ce4(0xca)][_0x555ce4(0xd6)][_0x555ce4(0xeb)]())this[_0x555ce4(0xe8)](_0x50e264)&&_0x39ccc3[_0x555ce4(0xd2)](this[_0x555ce4(0xe5)](_0x50e264));_0x3ed7c2[_0x555ce4(0xcf)](_0x2bc16e=>{const _0x2101e5=_0x555ce4;for(const _0x2dd079 of _0x39ccc3){const _0x5eaec1=_0x502a0f()[_0x2101e5(0xec)](0x1,0x5),_0x4292a6=_0x2101e5(0xe7)+_0x269f68+':'+_0x5eaec1;_0x2bc16e[_0x2101e5(0xdc)](_0x4292a6,{'range':_0x2dd079,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x5a0004(0xe8)](_0x112cb3){const _0xb07198=_0x5a0004;for(const _0x1359b1 of _0x112cb3[_0xb07198(0xd3)]())if(this[_0xb07198(0xdf)](_0x1359b1))return!0x0;return!0x1;}[_0x5a0004(0xdf)](_0xe6b0b3){const _0x9ba16d=_0x5a0004;return _0xe6b0b3['is'](_0x9ba16d(0xcd))||this[_0x9ba16d(0xe4)][_0x9ba16d(0xd4)][_0x9ba16d(0xd1)][_0x9ba16d(0xc9)](_0xe6b0b3)&&!_0xe6b0b3['is'](_0x9ba16d(0xef),_0x9ba16d(0xda));}[_0x5a0004(0xe5)](_0x1e883b){const _0x4d8369=_0x5a0004,_0x5619e5=_0x32b7bc=>!this[_0x4d8369(0xdf)](_0x32b7bc[_0x4d8369(0xce)]),_0x19267d=_0x1e883b[_0x4d8369(0xcb)][_0x4d8369(0xd7)](_0x5619e5),_0x5f4d98=_0x1e883b[_0x4d8369(0xe0)][_0x4d8369(0xd7)](_0x5619e5,{'direction':_0x4d8369(0xd8)});return this[_0x4d8369(0xe4)][_0x4d8369(0xd4)][_0x4d8369(0xd5)](_0x19267d,_0x5f4d98);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3de3ba=_0x2499;(function(_0x7749c2,_0x518a4c){const _0x3a47ab=_0x2499,_0x3b01c5=_0x7749c2();while(!![]){try{const _0x20f8a4=parseInt(_0x3a47ab(0x129))/0x1+parseInt(_0x3a47ab(0x12e))/0x2+-parseInt(_0x3a47ab(0x12b))/0x3*(-parseInt(_0x3a47ab(0x138))/0x4)+parseInt(_0x3a47ab(0x116))/0x5*(parseInt(_0x3a47ab(0x11c))/0x6)+parseInt(_0x3a47ab(0x137))/0x7+parseInt(_0x3a47ab(0x11a))/0x8+-parseInt(_0x3a47ab(0x117))/0x9;if(_0x20f8a4===_0x518a4c)break;else _0x3b01c5['push'](_0x3b01c5['shift']());}catch(_0x37f5b6){_0x3b01c5['push'](_0x3b01c5['shift']());}}}(_0x1606,0x65f1b));import{ContextPlugin as _0x2701ba}from'ckeditor5/src/core.js';import{Collection as _0x3131d5}from'ckeditor5/src/utils.js';function _0x1606(){const _0x5940ad=['get','collection','1452828Yrsppy','length','CommentsArchive','isActive','plugins','stopListening','_calculatePosition','isPremiumPlugin','findIndex','1747669XEthUk','593204dJizzp','removeCommentThread','highest','getCommentThread','260vyCHpA','21192786bwVOQr','activate','init','5098408oiQZkU','isVisible','54102zQFmFH','pluginName','focus','listenTo','context','remove','change:archivedAt','add','has','isOfficialPlugin','archivedAt','addCommentThread','archivedThreads','245148iWMjxB','requires','9ZWwgeQ'];_0x1606=function(){return _0x5940ad;};return _0x1606();}import _0x311d66 from'./commentsrepository.js';import _0x915788 from'../annotations/annotations.js';function _0x2499(_0x4091eb,_0x3abce8){const _0x160686=_0x1606();return _0x2499=function(_0x2499b0,_0x3d7935){_0x2499b0=_0x2499b0-0x114;let _0x2cf7fd=_0x160686[_0x2499b0];return _0x2cf7fd;},_0x2499(_0x4091eb,_0x3abce8);}export default class f extends _0x2701ba{static get[_0x3de3ba(0x11d)](){const _0xa07d5c=_0x3de3ba;return _0xa07d5c(0x130);}static get[_0x3de3ba(0x125)](){return!0x0;}static get[_0x3de3ba(0x135)](){return!0x0;}static get[_0x3de3ba(0x12a)](){return[_0x311d66,_0x915788];}constructor(_0x3ffba3){const _0x83bc27=_0x3de3ba;super(_0x3ffba3),this[_0x83bc27(0x128)]=new _0x3131d5();}[_0x3de3ba(0x119)](){const _0x45586a=_0x3de3ba,_0xcbb949=this[_0x45586a(0x120)],_0x2d5e0b=_0xcbb949[_0x45586a(0x132)][_0x45586a(0x12c)](_0x311d66),_0x53c5eb=_0xcbb949[_0x45586a(0x132)][_0x45586a(0x12c)](_0x915788);this[_0x45586a(0x11f)](_0x2d5e0b,_0x45586a(0x127),(_0x5a15ab,{threadId:_0xaccfd9})=>{const _0x5c2184=_0x45586a,_0x21da3d=_0x2d5e0b[_0x5c2184(0x115)](_0xaccfd9);_0x21da3d[_0x5c2184(0x126)]&&this[_0x5c2184(0x128)][_0x5c2184(0x123)](_0x21da3d,this[_0x5c2184(0x134)](_0x21da3d[_0x5c2184(0x126)])),this[_0x5c2184(0x11f)](_0x21da3d,_0x5c2184(0x122),(_0x2f371a,_0x50779c,_0x258692)=>{const _0x3168fd=_0x5c2184;_0x258692?this[_0x3168fd(0x128)][_0x3168fd(0x124)](_0x21da3d)||this[_0x3168fd(0x128)][_0x3168fd(0x123)](_0x21da3d,this[_0x3168fd(0x134)](_0x21da3d[_0x3168fd(0x126)])):this[_0x3168fd(0x128)][_0x3168fd(0x124)](_0x21da3d)&&this[_0x3168fd(0x128)][_0x3168fd(0x121)](_0x21da3d);});}),this[_0x45586a(0x11f)](_0x2d5e0b,_0x45586a(0x139),(_0x3d6b5f,{threadId:_0x4a40b6})=>{const _0x4e3a6b=_0x45586a,_0x4963e2=_0x2d5e0b[_0x4e3a6b(0x115)](_0x4a40b6);this[_0x4e3a6b(0x133)](_0x4963e2),this[_0x4e3a6b(0x128)][_0x4e3a6b(0x124)](_0x4963e2)&&this[_0x4e3a6b(0x128)][_0x4e3a6b(0x121)](_0x4963e2);},{'priority':_0x45586a(0x114)}),this[_0x45586a(0x11f)](_0x53c5eb[_0x45586a(0x12d)],_0x45586a(0x11e),(_0x230742,_0x4ce36d)=>{const _0xebec7=_0x45586a;_0x4ce36d[_0xebec7(0x11b)]||(_0x4ce36d[_0xebec7(0x131)]=!0x0,_0x53c5eb[_0xebec7(0x118)](_0x4ce36d));});}[_0x3de3ba(0x134)](_0x48fc27){const _0x894778=_0x3de3ba,_0x18a201=[...this[_0x894778(0x128)]][_0x894778(0x136)](_0x52862a=>_0x52862a[_0x894778(0x126)]<_0x48fc27);return _0x18a201>-0x1?_0x18a201:this[_0x894778(0x128)][_0x894778(0x12f)];}}
|
|
@@ -17,7 +17,14 @@ import type AnnotationView from '../annotations/view/annotationview.js';
|
|
|
17
17
|
* archived comment thread annotation views.
|
|
18
18
|
*/
|
|
19
19
|
export default class CommentsArchiveUI extends Plugin {
|
|
20
|
+
/**
|
|
21
|
+
* The view that is rendered in the dialog.
|
|
22
|
+
*/
|
|
20
23
|
commentsArchiveView: CommentsArchiveView | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* The view collection of {@link module:comments/annotations/view/annotationview~AnnotationView}
|
|
26
|
+
* that is displayed inside {@link #commentsArchiveView}.
|
|
27
|
+
*/
|
|
21
28
|
annotationViews: ViewCollection<AnnotationView>;
|
|
22
29
|
/**
|
|
23
30
|
* @inheritDoc
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1864af=_0x2172;(function(_0x47ac49,_0x1bae73){const _0x201efa=_0x2172,_0x593e80=_0x47ac49();while(!![]){try{const _0x55fa0e=-parseInt(_0x201efa(0x79))/0x1*(parseInt(_0x201efa(0x97))/0x2)+parseInt(_0x201efa(0x6b))/0x3*(parseInt(_0x201efa(0xaa))/0x4)+parseInt(_0x201efa(0x69))/0x5*(-parseInt(_0x201efa(0x82))/0x6)+parseInt(_0x201efa(0x83))/0x7*(parseInt(_0x201efa(0x74))/0x8)+parseInt(_0x201efa(0xa9))/0x9+-parseInt(_0x201efa(0x84))/0xa*(-parseInt(_0x201efa(0xab))/0xb)+-parseInt(_0x201efa(0x8a))/0xc*(-parseInt(_0x201efa(0x9b))/0xd);if(_0x55fa0e===_0x1bae73)break;else _0x593e80['push'](_0x593e80['shift']());}catch(_0x1898ae){_0x593e80['push'](_0x593e80['shift']());}}}(_0x5bec,0x71acc));function _0x5bec(){const _0x197e2c=['menuBar:commentsArchive','escape','indexOf','427232FtazAx','isOfficialPlugin','findIndex','editor','set','541kIuxwl','listenTo','_createCommentsArchiveButton','add','config','locale','execute','view','collection','12yPLKei','14xngpwS','8600zjXBvA','push','EDITOR_TOP_SIDE','isEnabled','has','_pendingThreads','238944pZFGte','Annotations','commentsArchiveView','show','get','_toggleDialog','requires','CommentsRepository','isPremiumPlugin','innerView','Dialog','stopListening','focusableElements','2250KRMVWV','COMMENTS_ARCHIVE','filter','collaboration.channelId','559OXYbEC','menuitemcheckbox','_threadToController','plugins','tooltip','stop','isOpen','bind','CommentsArchiveUI','isVisible','isOn','length','componentFactory','_hideDialogOnAnnotationEscape','3254373FVuvaH','65096Kxtufo','1947WlLcGB','find','archivedThreads','annotationViews','pluginName','init','source','remove','channelId','commentsArchive','2267745QIhCHF','archivedAt','93UNTFrt','hide','splice','_calculatePosition','_visibleAnnotations','getByInnerView'];_0x5bec=function(){return _0x197e2c;};return _0x5bec();}import'../../theme/commentsarchive.css';import{Plugin as _0x9835a4}from'ckeditor5/src/core.js';import{ViewCollection as _0x372f00,MenuBarMenuListItemButtonView as _0x2d8cb5,ButtonView as _0x4ff092,Dialog as _0x13abd3,DialogViewPosition as _0x56955a}from'ckeditor5/src/ui.js';function _0x2172(_0xf6fcac,_0x35fdd2){const _0x5bec68=_0x5bec();return _0x2172=function(_0x21728c,_0x5ac241){_0x21728c=_0x21728c-0x64;let _0x14dc40=_0x5bec68[_0x21728c];return _0x14dc40;},_0x2172(_0xf6fcac,_0x35fdd2);}import _0x550fab from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x8604f0}from'../utils/common-translations.js';import _0x586761 from'./ui/view/commentsarchiveview.js';import _0x41ee35 from'./commentsarchive.js';export default class a extends _0x9835a4{static get[_0x1864af(0xaf)](){const _0x4fb799=_0x1864af;return _0x4fb799(0xa3);}static get[_0x1864af(0x75)](){return!0x0;}static get[_0x1864af(0x92)](){return!0x0;}static get[_0x1864af(0x90)](){return[_0x41ee35,_0x13abd3];}constructor(_0x2ffe5f){const _0x34bc44=_0x1864af;super(_0x2ffe5f),this[_0x34bc44(0xa8)]=_0xcf497f=>{const _0xd6ecf4=_0x34bc44,_0x3e67e6=_0xcf497f[_0xd6ecf4(0x65)];if(!this[_0xd6ecf4(0xae)][_0xd6ecf4(0x88)](_0x3e67e6[_0xd6ecf4(0x80)]))return;const _0x16433b=this[_0xd6ecf4(0x77)][_0xd6ecf4(0x9e)][_0xd6ecf4(0x8e)](_0xd6ecf4(0x94));_0x16433b[_0xd6ecf4(0xa1)]&&_0xd6ecf4(0x68)===_0x16433b['id']&&(_0x16433b[_0xd6ecf4(0x6c)](),_0xcf497f[_0xd6ecf4(0xa0)]());},this[_0x34bc44(0xae)]=new _0x372f00(),this[_0x34bc44(0x89)]=[];}[_0x1864af(0x64)](){const _0x41d0d6=_0x1864af,_0x3b6791=this[_0x41d0d6(0x77)],_0xfa2e80=this[_0x41d0d6(0xa8)][_0x41d0d6(0xa2)](this);_0x3b6791['ui'][_0x41d0d6(0xa7)][_0x41d0d6(0x7c)](_0x41d0d6(0x68),()=>this[_0x41d0d6(0x7b)](_0x4ff092,!0x0)),_0x3b6791['ui'][_0x41d0d6(0xa7)][_0x41d0d6(0x7c)](_0x41d0d6(0x71),()=>{const _0x3dee69=_0x41d0d6,_0x41360b=this[_0x3dee69(0x7b)](_0x2d8cb5);return _0x41360b[_0x3dee69(0x78)]({'role':_0x3dee69(0x9c)}),_0x41360b;});const _0x57b9b6=_0x3b6791[_0x41d0d6(0x9e)][_0x41d0d6(0x8e)](_0x41ee35),_0x28c748=_0x3b6791[_0x41d0d6(0x9e)][_0x41d0d6(0x8e)](_0x41d0d6(0x8b)),_0x3a8eac=_0x3b6791[_0x41d0d6(0x9e)][_0x41d0d6(0x8e)](_0x41d0d6(0x91));this[_0x41d0d6(0x7a)](_0x57b9b6[_0x41d0d6(0xad)],_0x41d0d6(0x7c),(_0x490978,_0x158ecf)=>{const _0x1f4b71=_0x41d0d6,_0x291336=_0x3b6791[_0x1f4b71(0x7d)][_0x1f4b71(0x8e)](_0x1f4b71(0x9a));if(!_0x291336||_0x158ecf[_0x1f4b71(0x67)]===_0x291336){const _0xd449dd=_0x3a8eac[_0x1f4b71(0x9d)][_0x1f4b71(0x8e)](_0x158ecf);if(!_0xd449dd)return void this[_0x1f4b71(0x89)][_0x1f4b71(0x85)](_0x158ecf);const _0x387ba8=this[_0x1f4b71(0x6e)](_0x158ecf[_0x1f4b71(0x6a)]),_0x205052=_0x28c748[_0x1f4b71(0x70)](_0xd449dd[_0x1f4b71(0x80)]);_0x205052[_0x1f4b71(0xa4)]&&_0x28c748[_0x1f4b71(0x6f)][_0x1f4b71(0x66)](_0x205052),this[_0x1f4b71(0xae)][_0x1f4b71(0x7c)](_0x205052[_0x1f4b71(0x80)],_0x387ba8);}}),this[_0x41d0d6(0x7a)](_0x28c748[_0x41d0d6(0x81)],_0x41d0d6(0x7c),(_0x1d2862,_0x5bdce3)=>{const _0xd3e8c8=_0x41d0d6,_0x53c4ca=this[_0xd3e8c8(0x89)][_0xd3e8c8(0xac)](_0x2ed63b=>{const _0x66df4c=_0xd3e8c8,_0x1a8a2c=_0x3a8eac[_0x66df4c(0x9d)][_0x66df4c(0x8e)](_0x2ed63b);return _0x1a8a2c&&_0x5bdce3[_0x66df4c(0x93)]===_0x1a8a2c[_0x66df4c(0x80)];});if(_0x53c4ca){const _0x26f762=this[_0xd3e8c8(0x6e)](_0x53c4ca[_0xd3e8c8(0x6a)]);this[_0xd3e8c8(0xae)][_0xd3e8c8(0x7c)](_0x5bdce3[_0xd3e8c8(0x80)],_0x26f762),this[_0xd3e8c8(0x89)][_0xd3e8c8(0x6d)](this[_0xd3e8c8(0x89)][_0xd3e8c8(0x73)](_0x53c4ca),0x1);}}),this[_0x41d0d6(0x7a)](_0x57b9b6[_0x41d0d6(0xad)],_0x41d0d6(0x66),(_0x5aaf0c,_0x33a3c6)=>{const _0x57d218=_0x41d0d6,_0x1bfc66=_0x3b6791[_0x57d218(0x7d)][_0x57d218(0x8e)](_0x57d218(0x9a));if(!_0x1bfc66||_0x33a3c6[_0x57d218(0x67)]===_0x1bfc66){const _0x6677cd=_0x3a8eac[_0x57d218(0x9d)][_0x57d218(0x8e)](_0x33a3c6),_0x14b1b6=_0x28c748[_0x57d218(0x70)](_0x6677cd[_0x57d218(0x80)]);this[_0x57d218(0xae)][_0x57d218(0x66)](_0x14b1b6[_0x57d218(0x80)]),this[_0x57d218(0x95)](_0x14b1b6[_0x57d218(0x96)]);}}),this[_0x41d0d6(0x7a)](_0x28c748[_0x41d0d6(0x81)],_0x41d0d6(0x7c),(_0x2855fa,_0x4646f8)=>{const _0x46f958=_0x41d0d6;this[_0x46f958(0x7a)](_0x4646f8,_0x46f958(0x72),_0xfa2e80);}),this[_0x41d0d6(0x7a)](_0x28c748[_0x41d0d6(0x81)],_0x41d0d6(0x66),(_0x5f10d2,_0x3d7451)=>{const _0x285618=_0x41d0d6;this[_0x285618(0x95)](_0x3d7451,_0x285618(0x72),_0xfa2e80);});}[_0x1864af(0x6e)](_0x4394c4){const _0x5c4161=_0x1864af,_0x42d570=this[_0x5c4161(0x77)][_0x5c4161(0x7d)][_0x5c4161(0x8e)](_0x5c4161(0x9a)),_0x3d503a=[...this[_0x5c4161(0x77)][_0x5c4161(0x9e)][_0x5c4161(0x8e)](_0x41ee35)[_0x5c4161(0xad)]][_0x5c4161(0x99)](_0xcc4da3=>_0xcc4da3[_0x5c4161(0x67)]===_0x42d570)[_0x5c4161(0x76)](_0x20b3f7=>_0x20b3f7[_0x5c4161(0x6a)]<_0x4394c4);return _0x3d503a<0x0||_0x3d503a>this[_0x5c4161(0xae)][_0x5c4161(0xa6)]?this[_0x5c4161(0xae)][_0x5c4161(0xa6)]:_0x3d503a-0x1;}[_0x1864af(0x8f)](){const _0x2fe9cc=_0x1864af,_0x39ed8c=this[_0x2fe9cc(0x77)],_0x239cce=_0x39ed8c[_0x2fe9cc(0x9e)][_0x2fe9cc(0x8e)](_0x2fe9cc(0x94));this[_0x2fe9cc(0x8c)]||(this[_0x2fe9cc(0x8c)]=new _0x586761(_0x39ed8c[_0x2fe9cc(0x7e)],this[_0x2fe9cc(0xae)])),_0x2fe9cc(0x68)===_0x239cce['id']?_0x239cce[_0x2fe9cc(0x6c)]():_0x239cce[_0x2fe9cc(0x8d)]({'id':_0x2fe9cc(0x68),'title':_0x8604f0(_0x39ed8c[_0x2fe9cc(0x7e)],_0x2fe9cc(0x98)),'icon':_0x550fab,'hasCloseButton':!0x0,'content':this[_0x2fe9cc(0x8c)],'position':_0x56955a[_0x2fe9cc(0x86)]});}[_0x1864af(0x7b)](_0x1b1bda,_0x379283=!0x1){const _0x3bde45=_0x1864af,_0x5e7a9f=this[_0x3bde45(0x77)][_0x3bde45(0x7e)],_0x293b98=this[_0x3bde45(0x77)][_0x3bde45(0x9e)][_0x3bde45(0x8e)](_0x3bde45(0x94)),_0x26f753=new _0x1b1bda(_0x5e7a9f);return _0x26f753[_0x3bde45(0xa2)](_0x3bde45(0x87))['to'](this,_0x3bde45(0x87)),_0x26f753[_0x3bde45(0xa2)](_0x3bde45(0xa5))['to'](_0x293b98,'id',_0x23a119=>_0x3bde45(0x68)===_0x23a119),_0x26f753[_0x3bde45(0x78)]({'label':_0x8604f0(_0x5e7a9f,_0x3bde45(0x98)),'icon':_0x550fab,'isToggleable':!0x0}),_0x379283&&(_0x26f753[_0x3bde45(0x9f)]=!0x0),this[_0x3bde45(0x7a)](_0x26f753,_0x3bde45(0x7f),()=>this[_0x3bde45(0x8f)]()),_0x26f753;}}
|