@ckeditor/ckeditor5-comments 42.0.0-alpha.0 → 42.0.0-alpha.10
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 +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/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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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 +3 -3
- 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/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/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/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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5d719f=_0x387a;(function(_0x50ca95,_0x1e6822){const _0x4ce3f4=_0x387a,_0x5a6d73=_0x50ca95();while(!![]){try{const _0x27100f=parseInt(_0x4ce3f4(0xe2))/0x1+parseInt(_0x4ce3f4(0xee))/0x2+-parseInt(_0x4ce3f4(0x12a))/0x3*(-parseInt(_0x4ce3f4(0xf7))/0x4)+parseInt(_0x4ce3f4(0x128))/0x5+parseInt(_0x4ce3f4(0x132))/0x6*(-parseInt(_0x4ce3f4(0x118))/0x7)+parseInt(_0x4ce3f4(0x114))/0x8*(-parseInt(_0x4ce3f4(0x104))/0x9)+-parseInt(_0x4ce3f4(0x11b))/0xa;if(_0x27100f===_0x1e6822)break;else _0x5a6d73['push'](_0x5a6d73['shift']());}catch(_0x18669e){_0x5a6d73['push'](_0x5a6d73['shift']());}}}(_0x1ce5,0xb8438));function _0x1ce5(){const _0x43db4a=['width','get','right','blur','add','map','addObserver','visibleView','pluginName','_balloon','length','plugins','9OPfVrf','hasView','_closeAnnotation','inlineannotations-not-allowed-with-context','destroy','selection','find','getOrderedSelectedAnnotations','change:height','inlineannotations-attach-already-attached','editableElement','targetRect','isFocused','every','_getBalloonTargetForAnnotation','afterInit','3614056xxsmlh','_manuallyClosed','switchTo','mousedown','298263zzGyHl','getClientRects','domConverter','8049000qcoaZF','register','init','context','_forceRefresh','_setSelectedAnnotations','bottom','isActive','getFirstRange','update','collapse','showStack','document','530210vTnJEl','has','6hlLrXu','fromRect','Esc','_addedAnnotations','top','getByView','left','clear','30XEHqXv','focus','inline','activeAnnotation','_selectedAnnotations','_addAnnotationToBalloon','remove','_removeAnnotationFromBalloon','set','updatePosition','view','viewRangeToDom','attach','InlineAnnotations','listenTo','annotations','target','847200bVEBkn','inlineannotations-detach-not-attached','change:isFocused','stopListening','keystrokes','editing','from','change:visibleView','editor','detach','isAttached','setActiveAnnotation','1599516bYxruu','hasActive','push','requires','refresh','focusTracker','delete','getBoundingClientRect','includes','942892HHDTmE'];_0x1ce5=function(){return _0x43db4a;};return _0x1ce5();}import{Plugin as _0x28f93f}from'ckeditor5/src/core.js';import _0x3e2e42 from'./annotationsuis.js';import _0x372c98 from'./editorannotations.js';import{ContextualBalloon as _0x485217}from'ckeditor5/src/ui.js';import{MouseObserver as _0x1c0a2a}from'ckeditor5/src/engine.js';import{CKEditorError as _0x5eb800,Rect as _0x1c2a1f}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';function _0x387a(_0x2b1113,_0x26959b){const _0x1ce578=_0x1ce5();return _0x387a=function(_0x387af5,_0x34f5cb){_0x387af5=_0x387af5-0xd6;let _0x4fde51=_0x1ce578[_0x387af5];return _0x4fde51;},_0x387a(_0x2b1113,_0x26959b);}export default class c extends _0x28f93f{static get[_0x5d719f(0xf1)](){return[_0x372c98,_0x485217,_0x3e2e42];}static get[_0x5d719f(0x100)](){const _0x5cbeee=_0x5d719f;return _0x5cbeee(0xde);}constructor(_0x5a0830){const _0x8ab3a2=_0x5d719f;super(_0x5a0830),_0x5a0830[_0x8ab3a2(0xe7)][_0x8ab3a2(0xdb)][_0x8ab3a2(0xfe)](_0x1c0a2a),this[_0x8ab3a2(0xec)]=!0x1,this[_0x8ab3a2(0xd9)](_0x8ab3a2(0x135),null),this[_0x8ab3a2(0xe0)]=null,this[_0x8ab3a2(0x115)]=new Set(),this[_0x8ab3a2(0x101)]=_0x5a0830[_0x8ab3a2(0x103)][_0x8ab3a2(0xf9)](_0x485217),this[_0x8ab3a2(0x12d)]=new Set(),this[_0x8ab3a2(0x136)]=[],this[_0x8ab3a2(0x11f)]=!0x1;}[_0x5d719f(0x11d)](){const _0x574844=_0x5d719f,_0x17cf8a=this[_0x574844(0xea)][_0x574844(0x103)][_0x574844(0xf9)](_0x3e2e42);_0x17cf8a[_0x574844(0x11e)]===this[_0x574844(0xea)]&&(_0x17cf8a[_0x574844(0x11c)](_0x574844(0x134),this),this[_0x574844(0xea)][_0x574844(0xe6)][_0x574844(0xd9)](_0x574844(0x12c),(_0x33c782,_0x5a6da3)=>{const _0x42aa3a=_0x574844,_0x372993=this[_0x42aa3a(0x101)];if(this[_0x42aa3a(0xec)]&&_0x372993[_0x42aa3a(0xff)]){const _0xfad35b=this[_0x42aa3a(0xe0)][_0x42aa3a(0x12f)](_0x372993[_0x42aa3a(0xff)]);_0xfad35b&&this[_0x42aa3a(0x106)](_0xfad35b),_0x5a6da3();}}));}[_0x5d719f(0x113)](){const _0x53c299=_0x5d719f,_0xb30a28=this[_0x53c299(0xea)][_0x53c299(0x103)][_0x53c299(0xf9)](_0x3e2e42);_0xb30a28[_0x53c299(0x11e)]===this[_0x53c299(0xea)]&&(_0xb30a28[_0x53c299(0xef)]()||_0xb30a28[_0x53c299(0x116)](_0x53c299(0x134)));}[_0x5d719f(0xed)](_0x3ce62b){const _0x1fd553=_0x5d719f;_0x3ce62b!==this[_0x1fd553(0x135)]&&(this[_0x1fd553(0x135)]&&(this[_0x1fd553(0x135)][_0x1fd553(0x122)]=!0x1),_0x3ce62b&&this[_0x1fd553(0xea)]['ui'][_0x1fd553(0xf3)][_0x1fd553(0x110)]&&(this[_0x1fd553(0xe0)][_0x1fd553(0x129)](_0x3ce62b)&&this[_0x1fd553(0xd6)](_0x3ce62b,!0x0),_0x3ce62b[_0x1fd553(0x122)]=!0x0),_0x3ce62b||this[_0x1fd553(0x120)]([]),this[_0x1fd553(0x135)]=_0x3ce62b);}[_0x5d719f(0xdd)](_0x4b264b){const _0x3aca78=_0x5d719f;this[_0x3aca78(0xe0)]=_0x4b264b;const _0x536584=this[_0x3aca78(0xea)][_0x3aca78(0x103)][_0x3aca78(0xf9)](_0x3e2e42),_0x4d6b96=this[_0x3aca78(0x101)];if(this[_0x3aca78(0xec)])throw new _0x5eb800(_0x3aca78(0x10d),this);if(_0x536584[_0x3aca78(0x11e)]!==this[_0x3aca78(0xea)])throw new _0x5eb800(_0x3aca78(0x107),this);const _0x24482c=this[_0x3aca78(0xea)][_0x3aca78(0x103)][_0x3aca78(0xf9)](_0x372c98);this[_0x3aca78(0xdf)](_0x24482c,_0x3aca78(0xf2),()=>{const _0x198d1f=_0x3aca78,_0x53bc51=_0x24482c[_0x198d1f(0x10b)]({'annotations':this[_0x198d1f(0xe0)],'activeAnnotation':this[_0x198d1f(0x135)]});var _0x2b01e9,_0x1d4a66;!this[_0x198d1f(0x11f)]&&(_0x2b01e9=_0x53bc51,_0x1d4a66=this[_0x198d1f(0x136)],_0x2b01e9[_0x198d1f(0x102)]===_0x1d4a66[_0x198d1f(0x102)]&&_0x2b01e9[_0x198d1f(0x111)](_0xf2c2bf=>_0x1d4a66[_0x198d1f(0xf6)](_0xf2c2bf)))||(this[_0x198d1f(0x11f)]=!0x1,this[_0x198d1f(0x120)](_0x53bc51),this[_0x198d1f(0xed)](_0x53bc51[0x0]||null));}),this[_0x3aca78(0xdf)](_0x24482c,_0x3aca78(0xfb),(_0x4b5fc9,{isAnnotationTracked:_0x358aae})=>{const _0x4eca5c=_0x3aca78;this[_0x4eca5c(0x135)]&&_0x358aae(this[_0x4eca5c(0x135)])&&(this[_0x4eca5c(0x120)]([]),this[_0x4eca5c(0xed)](null));}),this[_0x3aca78(0xdf)](this[_0x3aca78(0xea)]['ui'][_0x3aca78(0xf3)],_0x3aca78(0xe4),(_0x3850a2,_0x513de0,_0x172de6)=>{const _0x502bcd=_0x3aca78;_0x172de6||this[_0x502bcd(0xed)](null);}),this[_0x3aca78(0xdf)](_0x4b264b,_0x3aca78(0xd7),(_0x5c2afa,_0x1bbd81)=>{const _0x227159=_0x3aca78;this[_0x227159(0xd8)](_0x1bbd81),_0x1bbd81===this[_0x227159(0x135)]&&this[_0x227159(0xed)](null);}),this[_0x3aca78(0xdf)](_0x4d6b96,_0x3aca78(0xe9),(_0x593027,_0x3d5245,_0x8239bb,_0x1780b1)=>{const _0x6f6fcd=_0x3aca78;_0x1780b1&&this[_0x6f6fcd(0xe5)](_0x1780b1);const _0x543c14=_0x4b264b[_0x6f6fcd(0x12f)](_0x8239bb);_0x8239bb&&_0x543c14&&(this[_0x6f6fcd(0xdf)](_0x8239bb,_0x6f6fcd(0x10c),()=>{const _0x5682cf=_0x6f6fcd;_0x4d6b96[_0x5682cf(0xda)]();}),this[_0x6f6fcd(0xdf)](_0x8239bb,_0x6f6fcd(0x12c),()=>{const _0x2d615e=_0x6f6fcd;this[_0x2d615e(0x106)](_0x543c14),this[_0x2d615e(0xea)][_0x2d615e(0xe7)][_0x2d615e(0xdb)][_0x2d615e(0x133)]();}),this[_0x6f6fcd(0x135)]!==_0x543c14&&this[_0x6f6fcd(0xed)](_0x543c14));}),this[_0x3aca78(0xdf)](this[_0x3aca78(0xea)]['ui'],_0x3aca78(0x124),()=>{const _0x4920cf=_0x3aca78;_0x4d6b96[_0x4920cf(0xff)]&&(_0x4b264b[_0x4920cf(0x12f)](_0x4d6b96[_0x4920cf(0xff)])&&_0x4d6b96[_0x4920cf(0xda)]());}),this[_0x3aca78(0xdf)](this[_0x3aca78(0xea)][_0x3aca78(0xe7)][_0x3aca78(0xdb)][_0x3aca78(0x127)],_0x3aca78(0x117),()=>{const _0x40539c=_0x3aca78;this[_0x40539c(0x11f)]=!0x0,this[_0x40539c(0x115)][_0x40539c(0x131)]();}),this[_0x3aca78(0xea)][_0x3aca78(0xe7)][_0x3aca78(0xdb)][_0x3aca78(0x127)][_0x3aca78(0x109)][_0x3aca78(0x10e)]&&this[_0x3aca78(0xea)][_0x3aca78(0xe7)][_0x3aca78(0xdb)][_0x3aca78(0x133)](),this[_0x3aca78(0xec)]=!0x0;}[_0x5d719f(0xeb)](){const _0x49c7e4=_0x5d719f;if(!this[_0x49c7e4(0xec)])throw new _0x5eb800(_0x49c7e4(0xe3),this);this[_0x49c7e4(0xed)](null);for(const _0x240a1b of this[_0x49c7e4(0x12d)])this[_0x49c7e4(0xd8)](_0x240a1b);this[_0x49c7e4(0xe5)](),this[_0x49c7e4(0xec)]=!0x1,this[_0x49c7e4(0xe0)]=null;}[_0x5d719f(0x108)](){const _0x2917c0=_0x5d719f;this[_0x2917c0(0xec)]&&this[_0x2917c0(0xeb)]();}[_0x5d719f(0x120)](_0x74b6a0){const _0x5abaef=_0x5d719f;for(const _0xd2c30b of this[_0x5abaef(0x136)])_0x74b6a0[_0x5abaef(0xf6)](_0xd2c30b)||this[_0x5abaef(0x115)][_0x5abaef(0xf4)](_0xd2c30b);for(const _0x52695e of this[_0x5abaef(0xe0)])_0x74b6a0[_0x5abaef(0xf6)](_0x52695e)||this[_0x5abaef(0xd8)](_0x52695e);if(this[_0x5abaef(0xea)]['ui'][_0x5abaef(0xf3)][_0x5abaef(0x110)]){for(const _0x136392 of _0x74b6a0)this[_0x5abaef(0xd6)](_0x136392);}this[_0x5abaef(0x136)]=_0x74b6a0;}[_0x5d719f(0xd6)](_0x3ce235,_0x28fe22=!0x1){const _0x2f5063=_0x5d719f;this[_0x2f5063(0x115)][_0x2f5063(0x129)](_0x3ce235)||(this[_0x2f5063(0x12d)][_0x2f5063(0x129)](_0x3ce235)||this[_0x2f5063(0x101)][_0x2f5063(0x105)](_0x3ce235[_0x2f5063(0xdb)])||(this[_0x2f5063(0x12d)][_0x2f5063(0xfc)](_0x3ce235),this[_0x2f5063(0x101)][_0x2f5063(0xfc)]({'stackId':_0x3ce235[_0x2f5063(0xdb)]['id'],'view':_0x3ce235[_0x2f5063(0xdb)],'position':{'target':()=>this[_0x2f5063(0x112)](_0x3ce235)}})),_0x28fe22&&this[_0x2f5063(0x101)][_0x2f5063(0x126)](_0x3ce235[_0x2f5063(0xdb)]['id']));}[_0x5d719f(0x112)](_0x715361){const _0x42e110=_0x5d719f,_0x24bbac=_0x715361[_0x42e110(0xe1)],_0x16d3d2=this[_0x42e110(0xea)][_0x42e110(0xe7)][_0x42e110(0xdb)],_0x2889fa=_0x16d3d2[_0x42e110(0x127)][_0x42e110(0x109)][_0x42e110(0x123)](),_0xc7d625=_0x16d3d2[_0x42e110(0x11a)][_0x42e110(0xdc)](_0x2889fa);if(_0xc7d625[_0x42e110(0x125)](!0x0),_0x24bbac){if(_0x24bbac instanceof _0x1c2a1f)return _0x24bbac;let _0x4b5cac=[];for(const _0x461534 of _0x24bbac)_0x4b5cac[_0x42e110(0xf0)](...(_0x828145=_0x461534[_0x42e110(0x119)](),Array[_0x42e110(0xe8)](_0x828145)[_0x42e110(0xfd)](DOMRect[_0x42e110(0x12b)])));_0x4b5cac=function(_0x5c402b){const _0x44f3d1=_0x42e110,_0x2fb9bf=[];let _0x1ea9ae=_0x5c402b[0x0];for(let _0xd27895=0x1;_0xd27895<_0x5c402b[_0x44f3d1(0x102)];_0xd27895++)F(_0x1ea9ae,_0x5c402b[_0xd27895])?_0x1ea9ae[_0x44f3d1(0xf8)]+=_0x5c402b[_0xd27895][_0x44f3d1(0xf8)]:(_0x2fb9bf[_0x44f3d1(0xf0)](_0x1ea9ae),_0x1ea9ae=_0x5c402b[_0xd27895]);return _0x2fb9bf[_0x44f3d1(0xf0)](_0x1ea9ae),_0x2fb9bf;}(_0x4b5cac);const _0x1ab7f0=_0xc7d625[_0x42e110(0xf5)]();return _0x4b5cac[_0x42e110(0x10a)](_0x481882=>_0x481882[_0x42e110(0x12e)]<=_0x1ab7f0[_0x42e110(0x12e)]&&_0x481882[_0x42e110(0x121)]>=_0x1ab7f0[_0x42e110(0x121)]&&_0x481882[_0x42e110(0x130)]<=_0x1ab7f0[_0x42e110(0x130)]&&_0x481882[_0x42e110(0xfa)]>=_0x1ab7f0[_0x42e110(0xfa)])||_0x4b5cac[0x0];}var _0x828145;return _0x715361[_0x42e110(0x10f)]||_0xc7d625;}[_0x5d719f(0xd8)](_0x5bd527){const _0x5c41c1=_0x5d719f;this[_0x5c41c1(0x12d)][_0x5c41c1(0x129)](_0x5bd527)&&this[_0x5c41c1(0x101)][_0x5c41c1(0x105)](_0x5bd527[_0x5c41c1(0xdb)])&&(this[_0x5c41c1(0x12d)][_0x5c41c1(0xf4)](_0x5bd527),this[_0x5c41c1(0x101)][_0x5c41c1(0xd7)](_0x5bd527[_0x5c41c1(0xdb)]));}[_0x5d719f(0x106)](_0x1c183a){const _0x7991a1=_0x5d719f;this[_0x7991a1(0x115)][_0x7991a1(0xfc)](_0x1c183a),this[_0x7991a1(0xd8)](_0x1c183a);}}function F(_0x529ea1,_0x3512e6){const _0x4609ad=_0x5d719f;return _0x529ea1[_0x4609ad(0x12e)]===_0x3512e6[_0x4609ad(0x12e)]&&_0x529ea1[_0x4609ad(0x121)]===_0x3512e6[_0x4609ad(0x121)]&&_0x529ea1[_0x4609ad(0xfa)]===_0x3512e6[_0x4609ad(0x130)];}
|
|
23
|
+
function _0x21d5(_0x186b6f,_0x3cd35a){const _0x596c24=_0x596c();return _0x21d5=function(_0x21d521,_0x2b127c){_0x21d521=_0x21d521-0x12f;let _0x31ecbe=_0x596c24[_0x21d521];return _0x31ecbe;},_0x21d5(_0x186b6f,_0x3cd35a);}const _0x23cd00=_0x21d5;(function(_0x3a58c2,_0x203f48){const _0x43650c=_0x21d5,_0x3cf18d=_0x3a58c2();while(!![]){try{const _0x197023=parseInt(_0x43650c(0x186))/0x1+-parseInt(_0x43650c(0x17e))/0x2+parseInt(_0x43650c(0x133))/0x3*(parseInt(_0x43650c(0x14a))/0x4)+parseInt(_0x43650c(0x16b))/0x5+parseInt(_0x43650c(0x147))/0x6*(parseInt(_0x43650c(0x149))/0x7)+-parseInt(_0x43650c(0x148))/0x8+parseInt(_0x43650c(0x150))/0x9*(parseInt(_0x43650c(0x17c))/0xa);if(_0x197023===_0x203f48)break;else _0x3cf18d['push'](_0x3cf18d['shift']());}catch(_0x566642){_0x3cf18d['push'](_0x3cf18d['shift']());}}}(_0x596c,0x60fdb));import{Plugin as _0x172a3c}from'ckeditor5/src/core.js';import _0x328b00 from'./annotationsuis.js';import _0x557277 from'./editorannotations.js';import{ContextualBalloon as _0x3d1588}from'ckeditor5/src/ui.js';import{MouseObserver as _0x285852}from'ckeditor5/src/engine.js';import{CKEditorError as _0x282e96,Rect as _0x5ad886}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x172a3c{static get[_0x23cd00(0x15c)](){return[_0x557277,_0x3d1588,_0x328b00];}static get[_0x23cd00(0x173)](){const _0x275cd3=_0x23cd00;return _0x275cd3(0x185);}constructor(_0x184a72){const _0x4add77=_0x23cd00;super(_0x184a72),_0x184a72[_0x4add77(0x156)][_0x4add77(0x14b)][_0x4add77(0x12f)](_0x285852),this[_0x4add77(0x13d)]=!0x1,this[_0x4add77(0x140)](_0x4add77(0x18d),null),this[_0x4add77(0x178)]=null,this[_0x4add77(0x18c)]=new Set(),this[_0x4add77(0x187)]=_0x184a72[_0x4add77(0x154)][_0x4add77(0x188)](_0x3d1588),this[_0x4add77(0x170)]=new Set(),this[_0x4add77(0x18e)]=[],this[_0x4add77(0x17f)]=!0x1;}[_0x23cd00(0x163)](){const _0xc4aab3=_0x23cd00,_0x336242=this[_0xc4aab3(0x141)][_0xc4aab3(0x154)][_0xc4aab3(0x188)](_0x328b00);_0x336242[_0xc4aab3(0x18a)]===this[_0xc4aab3(0x141)]&&(_0x336242[_0xc4aab3(0x177)](_0xc4aab3(0x168),this),this[_0xc4aab3(0x141)][_0xc4aab3(0x132)][_0xc4aab3(0x140)](_0xc4aab3(0x169),(_0x298b9b,_0x50adfe)=>{const _0x5b8a6f=_0xc4aab3,_0x2f4f18=this[_0x5b8a6f(0x187)];if(this[_0x5b8a6f(0x13d)]&&_0x2f4f18[_0x5b8a6f(0x183)]){const _0x19d72f=this[_0x5b8a6f(0x178)][_0x5b8a6f(0x131)](_0x2f4f18[_0x5b8a6f(0x183)]);_0x19d72f&&this[_0x5b8a6f(0x16e)](_0x19d72f),_0x50adfe();}}));}[_0x23cd00(0x146)](){const _0x4d64fd=_0x23cd00,_0x1d746b=this[_0x4d64fd(0x141)][_0x4d64fd(0x154)][_0x4d64fd(0x188)](_0x328b00);_0x1d746b[_0x4d64fd(0x18a)]===this[_0x4d64fd(0x141)]&&(_0x1d746b[_0x4d64fd(0x14e)]()||_0x1d746b[_0x4d64fd(0x15f)](_0x4d64fd(0x168)));}[_0x23cd00(0x16d)](_0x3235d5){const _0x3d6dfd=_0x23cd00;_0x3235d5!==this[_0x3d6dfd(0x18d)]&&(this[_0x3d6dfd(0x18d)]&&(this[_0x3d6dfd(0x18d)][_0x3d6dfd(0x180)]=!0x1),_0x3235d5&&this[_0x3d6dfd(0x141)]['ui'][_0x3d6dfd(0x144)][_0x3d6dfd(0x176)]&&(this[_0x3d6dfd(0x178)][_0x3d6dfd(0x17a)](_0x3235d5)&&this[_0x3d6dfd(0x17d)](_0x3235d5,!0x0),_0x3235d5[_0x3d6dfd(0x180)]=!0x0),_0x3235d5||this[_0x3d6dfd(0x157)]([]),this[_0x3d6dfd(0x18d)]=_0x3235d5);}[_0x23cd00(0x179)](_0x4043f4){const _0x391a95=_0x23cd00;this[_0x391a95(0x178)]=_0x4043f4;const _0x161fa2=this[_0x391a95(0x141)][_0x391a95(0x154)][_0x391a95(0x188)](_0x328b00),_0x156ae9=this[_0x391a95(0x187)];if(this[_0x391a95(0x13d)])throw new _0x282e96(_0x391a95(0x13a),this);if(_0x161fa2[_0x391a95(0x18a)]!==this[_0x391a95(0x141)])throw new _0x282e96(_0x391a95(0x164),this);const _0x55035d=this[_0x391a95(0x141)][_0x391a95(0x154)][_0x391a95(0x188)](_0x557277);this[_0x391a95(0x155)](_0x55035d,_0x391a95(0x159),()=>{const _0x555f74=_0x391a95,_0x3b08bc=_0x55035d[_0x555f74(0x162)]({'annotations':this[_0x555f74(0x178)],'activeAnnotation':this[_0x555f74(0x18d)]});var _0x5142cb,_0x68bbaa;!this[_0x555f74(0x17f)]&&(_0x5142cb=_0x3b08bc,_0x68bbaa=this[_0x555f74(0x18e)],_0x5142cb[_0x555f74(0x13c)]===_0x68bbaa[_0x555f74(0x13c)]&&_0x5142cb[_0x555f74(0x135)](_0xa29548=>_0x68bbaa[_0x555f74(0x15e)](_0xa29548)))||(this[_0x555f74(0x17f)]=!0x1,this[_0x555f74(0x157)](_0x3b08bc),this[_0x555f74(0x16d)](_0x3b08bc[0x0]||null));}),this[_0x391a95(0x155)](_0x55035d,_0x391a95(0x160),(_0x2b4d56,{isAnnotationTracked:_0x512afb})=>{const _0x295547=_0x391a95;this[_0x295547(0x18d)]&&_0x512afb(this[_0x295547(0x18d)])&&(this[_0x295547(0x157)]([]),this[_0x295547(0x16d)](null));}),this[_0x391a95(0x155)](this[_0x391a95(0x141)]['ui'][_0x391a95(0x144)],_0x391a95(0x158),(_0x294dc9,_0x33bc0c,_0x228ead)=>{const _0x25709b=_0x391a95;_0x228ead||this[_0x25709b(0x16d)](null);}),this[_0x391a95(0x155)](_0x4043f4,_0x391a95(0x172),(_0x3713d8,_0x54c15a)=>{const _0x229579=_0x391a95;this[_0x229579(0x134)](_0x54c15a),_0x54c15a===this[_0x229579(0x18d)]&&this[_0x229579(0x16d)](null);}),this[_0x391a95(0x155)](_0x156ae9,_0x391a95(0x171),(_0x41fc0b,_0x5af876,_0x4e8830,_0x5bb845)=>{const _0x5aef0f=_0x391a95;_0x5bb845&&this[_0x5aef0f(0x152)](_0x5bb845);const _0x2a06f4=_0x4043f4[_0x5aef0f(0x131)](_0x4e8830);_0x4e8830&&_0x2a06f4&&(this[_0x5aef0f(0x155)](_0x4e8830,_0x5aef0f(0x16f),()=>{const _0x14290c=_0x5aef0f;_0x156ae9[_0x14290c(0x174)]();}),this[_0x5aef0f(0x155)](_0x4e8830,_0x5aef0f(0x169),()=>{const _0x229d55=_0x5aef0f;this[_0x229d55(0x16e)](_0x2a06f4),this[_0x229d55(0x141)][_0x229d55(0x156)][_0x229d55(0x14b)][_0x229d55(0x13e)]();}),this[_0x5aef0f(0x18d)]!==_0x2a06f4&&this[_0x5aef0f(0x16d)](_0x2a06f4));}),this[_0x391a95(0x155)](this[_0x391a95(0x141)]['ui'],_0x391a95(0x18f),()=>{const _0x584fb3=_0x391a95;_0x156ae9[_0x584fb3(0x183)]&&(_0x4043f4[_0x584fb3(0x131)](_0x156ae9[_0x584fb3(0x183)])&&_0x156ae9[_0x584fb3(0x174)]());}),this[_0x391a95(0x155)](this[_0x391a95(0x141)][_0x391a95(0x156)][_0x391a95(0x14b)][_0x391a95(0x13f)],_0x391a95(0x182),()=>{const _0x250ce5=_0x391a95;this[_0x250ce5(0x17f)]=!0x0,this[_0x250ce5(0x18c)][_0x250ce5(0x166)]();}),this[_0x391a95(0x141)][_0x391a95(0x156)][_0x391a95(0x14b)][_0x391a95(0x13f)][_0x391a95(0x14d)][_0x391a95(0x16c)]&&this[_0x391a95(0x141)][_0x391a95(0x156)][_0x391a95(0x14b)][_0x391a95(0x13e)](),this[_0x391a95(0x13d)]=!0x0;}[_0x23cd00(0x14f)](){const _0x1d1ce4=_0x23cd00;if(!this[_0x1d1ce4(0x13d)])throw new _0x282e96(_0x1d1ce4(0x138),this);this[_0x1d1ce4(0x16d)](null);for(const _0x262d5e of this[_0x1d1ce4(0x170)])this[_0x1d1ce4(0x134)](_0x262d5e);this[_0x1d1ce4(0x152)](),this[_0x1d1ce4(0x13d)]=!0x1,this[_0x1d1ce4(0x178)]=null;}[_0x23cd00(0x161)](){const _0xeca9f4=_0x23cd00;this[_0xeca9f4(0x13d)]&&this[_0xeca9f4(0x14f)]();}[_0x23cd00(0x157)](_0x487a15){const _0x31ca4d=_0x23cd00;for(const _0x1f33f7 of this[_0x31ca4d(0x18e)])_0x487a15[_0x31ca4d(0x15e)](_0x1f33f7)||this[_0x31ca4d(0x18c)][_0x31ca4d(0x151)](_0x1f33f7);for(const _0x41bc09 of this[_0x31ca4d(0x178)])_0x487a15[_0x31ca4d(0x15e)](_0x41bc09)||this[_0x31ca4d(0x134)](_0x41bc09);if(this[_0x31ca4d(0x141)]['ui'][_0x31ca4d(0x144)][_0x31ca4d(0x176)]){for(const _0x1a1a5a of _0x487a15)this[_0x31ca4d(0x17d)](_0x1a1a5a);}this[_0x31ca4d(0x18e)]=_0x487a15;}[_0x23cd00(0x17d)](_0x442225,_0x15b040=!0x1){const _0x384284=_0x23cd00;this[_0x384284(0x18c)][_0x384284(0x17a)](_0x442225)||(this[_0x384284(0x170)][_0x384284(0x17a)](_0x442225)||this[_0x384284(0x187)][_0x384284(0x17b)](_0x442225[_0x384284(0x14b)])||(this[_0x384284(0x170)][_0x384284(0x13b)](_0x442225),this[_0x384284(0x187)][_0x384284(0x13b)]({'stackId':_0x442225[_0x384284(0x14b)]['id'],'view':_0x442225[_0x384284(0x14b)],'position':{'target':()=>this[_0x384284(0x14c)](_0x442225)}})),_0x15b040&&this[_0x384284(0x187)][_0x384284(0x15b)](_0x442225[_0x384284(0x14b)]['id']));}[_0x23cd00(0x14c)](_0x58b52e){const _0x335573=_0x23cd00,_0x49e8b1=_0x58b52e[_0x335573(0x175)],_0x1a1354=this[_0x335573(0x141)][_0x335573(0x156)][_0x335573(0x14b)],_0x2ab286=_0x1a1354[_0x335573(0x13f)][_0x335573(0x14d)][_0x335573(0x142)](),_0x3e8190=_0x1a1354[_0x335573(0x130)][_0x335573(0x18b)](_0x2ab286);if(_0x3e8190[_0x335573(0x165)](!0x0),_0x49e8b1){if(_0x49e8b1 instanceof _0x5ad886)return _0x49e8b1;let _0x43147a=[];for(const _0x287c01 of _0x49e8b1)_0x43147a[_0x335573(0x137)](...(_0x3d8cd0=_0x287c01[_0x335573(0x184)](),Array[_0x335573(0x136)](_0x3d8cd0)[_0x335573(0x167)](DOMRect[_0x335573(0x15d)])));_0x43147a=function(_0x1d03c5){const _0x309b9a=_0x335573,_0x2e21fd=[];let _0x489346=_0x1d03c5[0x0];for(let _0x3f5bc9=0x1;_0x3f5bc9<_0x1d03c5[_0x309b9a(0x13c)];_0x3f5bc9++)F(_0x489346,_0x1d03c5[_0x3f5bc9])?_0x489346[_0x309b9a(0x15a)]+=_0x1d03c5[_0x3f5bc9][_0x309b9a(0x15a)]:(_0x2e21fd[_0x309b9a(0x137)](_0x489346),_0x489346=_0x1d03c5[_0x3f5bc9]);return _0x2e21fd[_0x309b9a(0x137)](_0x489346),_0x2e21fd;}(_0x43147a);const _0x1490d8=_0x3e8190[_0x335573(0x181)]();return _0x43147a[_0x335573(0x16a)](_0x34a230=>_0x34a230[_0x335573(0x153)]<=_0x1490d8[_0x335573(0x153)]&&_0x34a230[_0x335573(0x143)]>=_0x1490d8[_0x335573(0x143)]&&_0x34a230[_0x335573(0x139)]<=_0x1490d8[_0x335573(0x139)]&&_0x34a230[_0x335573(0x189)]>=_0x1490d8[_0x335573(0x189)])||_0x43147a[0x0];}var _0x3d8cd0;return _0x58b52e[_0x335573(0x145)]||_0x3e8190;}[_0x23cd00(0x134)](_0x11ce3b){const _0x281f58=_0x23cd00;this[_0x281f58(0x170)][_0x281f58(0x17a)](_0x11ce3b)&&this[_0x281f58(0x187)][_0x281f58(0x17b)](_0x11ce3b[_0x281f58(0x14b)])&&(this[_0x281f58(0x170)][_0x281f58(0x151)](_0x11ce3b),this[_0x281f58(0x187)][_0x281f58(0x172)](_0x11ce3b[_0x281f58(0x14b)]));}[_0x23cd00(0x16e)](_0x3a226d){const _0x4a74f5=_0x23cd00;this[_0x4a74f5(0x18c)][_0x4a74f5(0x13b)](_0x3a226d),this[_0x4a74f5(0x134)](_0x3a226d);}}function _0x596c(){const _0x306379=['collapse','clear','map','inline','Esc','find','2513515gnWRWR','editableElement','setActiveAnnotation','_closeAnnotation','change:height','_addedAnnotations','change:visibleView','remove','pluginName','updatePosition','target','isFocused','register','annotations','attach','has','hasView','345100ztsSjl','_addAnnotationToBalloon','849936fRYTap','_forceRefresh','isActive','getBoundingClientRect','mousedown','visibleView','getClientRects','InlineAnnotations','228544LIubSa','_balloon','get','right','context','viewRangeToDom','_manuallyClosed','activeAnnotation','_selectedAnnotations','update','addObserver','domConverter','getByView','keystrokes','21OjFOft','_removeAnnotationFromBalloon','every','from','push','inlineannotations-detach-not-attached','left','inlineannotations-attach-already-attached','add','length','isAttached','focus','document','set','editor','getFirstRange','bottom','focusTracker','targetRect','afterInit','764310RhXCoJ','4977808tFSAOj','7NJMVTr','19244OLdhZo','view','_getBalloonTargetForAnnotation','selection','hasActive','detach','144PaSInG','delete','stopListening','top','plugins','listenTo','editing','_setSelectedAnnotations','change:isFocused','refresh','width','showStack','requires','fromRect','includes','switchTo','blur','destroy','getOrderedSelectedAnnotations','init','inlineannotations-not-allowed-with-context'];_0x596c=function(){return _0x306379;};return _0x596c();}function F(_0x2bf6da,_0x412cd6){const _0x546f32=_0x23cd00;return _0x2bf6da[_0x546f32(0x153)]===_0x412cd6[_0x546f32(0x153)]&&_0x2bf6da[_0x546f32(0x143)]===_0x412cd6[_0x546f32(0x143)]&&_0x2bf6da[_0x546f32(0x189)]===_0x412cd6[_0x546f32(0x139)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5851c6=_0x2613;(function(_0x20656a,_0x9ef4f){const _0x3f878f=_0x2613,_0x331d6b=_0x20656a();while(!![]){try{const _0x41e9fc=-parseInt(_0x3f878f(0x18d))/0x1+parseInt(_0x3f878f(0x1c3))/0x2*(parseInt(_0x3f878f(0x1c5))/0x3)+parseInt(_0x3f878f(0x1c0))/0x4+parseInt(_0x3f878f(0x187))/0x5*(parseInt(_0x3f878f(0x16d))/0x6)+-parseInt(_0x3f878f(0x1d2))/0x7*(-parseInt(_0x3f878f(0x18a))/0x8)+parseInt(_0x3f878f(0x1a9))/0x9*(-parseInt(_0x3f878f(0x1c8))/0xa)+-parseInt(_0x3f878f(0x1ae))/0xb;if(_0x41e9fc===_0x9ef4f)break;else _0x331d6b['push'](_0x331d6b['shift']());}catch(_0x4e2b55){_0x331d6b['push'](_0x331d6b['shift']());}}}(_0x2ff1,0xb5274));import{ContextPlugin as _0x394867,Context as _0x2c6ecc}from'ckeditor5/src/core.js';import _0x2ea6fd from'./annotationsuis.js';function _0x2ff1(){const _0x255025=['_annotations','4530MywudG','attach','_detachFromContainer','ck-sidebar--narrow','change:height','balloonPanelView','create','hasDomSelection','listenTo','_selectedAnnotations','preventClosingBalloon','northArrowSouth','_detachListeners','addAnnotation','first','target','resize','find','isVisible','low','_updateBalloonPosition','register','stop','rearrange','off','type','6145CTLuke','removeEventListener','init','161928cTmQEe','_setSelectedAnnotations','set','311783OVgpsi','NarrowSidebar','_hideBalloon','bind','locale','focus','_showBalloon','isAttached','set:container','northArrowSouthEast','pluginName','context','uiUpdate','narrowSidebar','attachToDom','refreshPositioning','activeAnnotation','from','southArrowNorthEast','ready','content','blur','keydown','plugins','detach','Esc','element','stopPropagation','18bQiLfX','annotationType','refresh','_manuallyClosedAnnotationViews','unpin','29104130OEtPDX','requires','execute','preventDefault','isDirty','number','getByView','_refreshPositioning','EditorAnnotations','setActiveAnnotation','contains','narrowsidebar-attach-already-attached','delete','southArrowNorthWest','keyCode','length','annotations','esc','5560620eAKFhF','change:container','detachFromDom','2478vTscnZ','focusableElements','2670FrCTgb','cancel','_domEmitter','731020mKgxKi','_refreshPositioningDebounced','add','high','pin','narrowsidebar-detach-not-attached','destroy','mousedown','editors','northArrowSouthWest','147DWrIwl','_integrateWithEditorAnnotations','_annotationToNarrowView','getOrderedSelectedAnnotations','includes','southArrowNorth','remove','_attachListeners','_attachToContainer','_editorAnnotations','stopListening','defaultPositions','clear','has','addEventListener','bodyCollection','getSidebarItemView','values','_destroyEditorAnnotationsIntegration','get','view'];_0x2ff1=function(){return _0x255025;};return _0x2ff1();}import _0x406662 from'./sidebar.js';import _0x3848c8 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x4f884e,BodyCollection as _0x129670}from'ckeditor5/src/ui.js';import{CKEditorError as _0x233791,DomEmitterMixin as _0x19ecad,keyCodes as _0x2619d6,Collection as _0x287f04}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x3e4dd7}from'lodash-es';import _0x2dd28f from'./editorannotations.js';function _0x2613(_0x1247a7,_0x5edbd7){const _0x2ff1d4=_0x2ff1();return _0x2613=function(_0x2613f1,_0x2757a9){_0x2613f1=_0x2613f1-0x163;let _0x5b9b20=_0x2ff1d4[_0x2613f1];return _0x5b9b20;},_0x2613(_0x1247a7,_0x5edbd7);}export default class i extends _0x394867{static get[_0x5851c6(0x1af)](){return[_0x406662,_0x2ea6fd];}static get[_0x5851c6(0x197)](){const _0x2884e5=_0x5851c6;return _0x2884e5(0x18e);}constructor(_0x4c9a57){const _0x4d1753=_0x5851c6;super(_0x4c9a57),this[_0x4d1753(0x194)]=!0x1,this[_0x4d1753(0x1ac)]=new Set(),this[_0x4d1753(0x1c7)]=Object[_0x4d1753(0x173)](_0x19ecad),this[_0x4d1753(0x1d4)]=new Map(),this[_0x4d1753(0x18c)](_0x4d1753(0x19d),null),this[_0x4d1753(0x1be)]=null,this[_0x4d1753(0x176)]=[],this[_0x4d1753(0x1db)]=new _0x287f04(),this[_0x4d1753(0x1c9)]=_0x3e4dd7(()=>{const _0x2b5eab=_0x4d1753;this[_0x2b5eab(0x1b5)]();},0xfa,{'leading':!0x1});}[_0x5851c6(0x189)](){const _0xd1c827=_0x5851c6;this[_0xd1c827(0x198)][_0xd1c827(0x1a4)][_0xd1c827(0x16a)](_0x2ea6fd)[_0xd1c827(0x182)](_0xd1c827(0x19a),this),this[_0xd1c827(0x166)]=new _0x129670(this[_0xd1c827(0x198)][_0xd1c827(0x191)]),this[_0xd1c827(0x172)]=new _0x4f884e(this[_0xd1c827(0x198)][_0xd1c827(0x191)]),this[_0xd1c827(0x166)][_0xd1c827(0x19b)](),this[_0xd1c827(0x166)][_0xd1c827(0x1ca)](this[_0xd1c827(0x172)]);}[_0x5851c6(0x16e)](_0x21d14b){const _0x4d2025=_0x5851c6;this[_0x4d2025(0x1be)]=_0x21d14b;const _0x25d72f=this[_0x4d2025(0x198)][_0x4d2025(0x1a4)][_0x4d2025(0x16a)](_0x406662),_0x204f0f=this[_0x4d2025(0x172)];if(_0x25d72f[_0x4d2025(0x16c)]=_0x21d14b,this[_0x4d2025(0x194)])throw new _0x233791(_0x4d2025(0x1b9),this);this[_0x4d2025(0x194)]=!0x0,this[_0x4d2025(0x175)](_0x25d72f,_0x4d2025(0x195),()=>{const _0xf1e802=_0x4d2025;this[_0xf1e802(0x1a5)](),this[_0xf1e802(0x175)](_0x25d72f,_0xf1e802(0x1c1),_0x5aacef=>{const _0x2fdb41=_0xf1e802;_0x5aacef[_0x2fdb41(0x185)](),this[_0x2fdb41(0x16e)](_0x21d14b);});}),_0x25d72f[_0x4d2025(0x1da)]({'viewClass':_0x4d2025(0x170),'spaceBetweenItems':0x5});const _0x29d7b4=_0x1e3a0a=>{const _0x1c6b5e=_0x4d2025,_0x268127=new _0x3848c8(this[_0x1c6b5e(0x198)][_0x1c6b5e(0x191)]);_0x25d72f[_0x1c6b5e(0x17a)](_0x1e3a0a,_0x268127),this[_0x1c6b5e(0x1d4)][_0x1c6b5e(0x18c)](_0x1e3a0a,_0x268127),_0x268127[_0x1c6b5e(0x190)](_0x1c6b5e(0x1b2),_0x1c6b5e(0x1aa),_0x1c6b5e(0x1b3))['to'](_0x1e3a0a[_0x1c6b5e(0x16b)],_0x1c6b5e(0x1b2),_0x1c6b5e(0x186),_0x1c6b5e(0x1bd)),_0x268127['on'](_0x1c6b5e(0x1b0),()=>{const _0x5b2785=_0x1c6b5e;this[_0x5b2785(0x1ac)][_0x5b2785(0x163)](),_0x204f0f[_0x5b2785(0x1a1)][_0x5b2785(0x17b)]!==_0x1e3a0a[_0x5b2785(0x16b)]?(this[_0x5b2785(0x193)](_0x1e3a0a),_0x1e3a0a[_0x5b2785(0x16b)][_0x5b2785(0x1a7)][_0x5b2785(0x192)](),this[_0x5b2785(0x1b7)](_0x1e3a0a)):this[_0x5b2785(0x1b7)](null);});};for(const _0x3a4248 of _0x21d14b)_0x29d7b4(_0x3a4248);this[_0x4d2025(0x175)](_0x21d14b,_0x4d2025(0x1ca),(_0x447ea6,_0x9d2410)=>{_0x29d7b4(_0x9d2410);}),this[_0x4d2025(0x175)](_0x21d14b,_0x4d2025(0x1d8),(_0x527e08,_0xbbfd9c,_0x58ecb6)=>{const _0x3bc015=_0x4d2025;this[_0x3bc015(0x1d4)][_0x3bc015(0x16a)](_0xbbfd9c)[_0x3bc015(0x1ce)](),this[_0x3bc015(0x1d4)][_0x3bc015(0x1ba)](_0xbbfd9c),_0x25d72f[_0x3bc015(0x184)]({'removedAnnotation':_0xbbfd9c,'previousAnnotation':_0x21d14b[_0x3bc015(0x16a)](_0x58ecb6-0x1),'nextAnnotation':_0x21d14b[_0x3bc015(0x16a)](_0x58ecb6+0x1)}),_0xbbfd9c===this[_0x3bc015(0x19d)]&&this[_0x3bc015(0x1b7)](null);},{'priority':_0x4d2025(0x180)}),this[_0x4d2025(0x175)](_0x21d14b,_0x4d2025(0x192),(_0x36def4,_0x4caf58)=>{const _0x59f53b=_0x4d2025;this[_0x59f53b(0x1b7)](_0x4caf58);}),this[_0x4d2025(0x175)](_0x21d14b,_0x4d2025(0x1a2),()=>{const _0x58b1d7=_0x4d2025;this[_0x58b1d7(0x1b7)](null);}),this[_0x4d2025(0x1c7)][_0x4d2025(0x175)](document,_0x4d2025(0x1a3),(_0x11fd83,_0x2961ab)=>{const _0x443356=_0x4d2025;_0x2961ab[_0x443356(0x1bc)]===_0x2619d6[_0x443356(0x1bf)]&&_0x204f0f[_0x443356(0x17f)]&&(this[_0x443356(0x1ac)][_0x443356(0x1ca)](_0x204f0f[_0x443356(0x1a1)][_0x443356(0x17b)]),this[_0x443356(0x18f)](),_0x2961ab[_0x443356(0x1a8)](),_0x2961ab[_0x443356(0x1b1)]());}),this[_0x4d2025(0x1c7)][_0x4d2025(0x175)](document,_0x4d2025(0x1cf),(_0x306b24,_0x3ae1db)=>{const _0x472c7e=_0x4d2025,_0x2010e4=_0x3ae1db[_0x472c7e(0x17c)];_0x204f0f[_0x472c7e(0x17f)]&&_0x204f0f[_0x472c7e(0x1a7)][_0x472c7e(0x1b8)](_0x2010e4)||_0x25d72f[_0x472c7e(0x16b)][_0x472c7e(0x1a7)][_0x472c7e(0x1b8)](_0x2010e4)||_0x306b24[_0x472c7e(0x177)]||this[_0x472c7e(0x19d)]&&this[_0x472c7e(0x19d)][_0x472c7e(0x1c4)][_0x472c7e(0x17e)](_0x4bd748=>_0x4bd748[_0x472c7e(0x1b8)](_0x2010e4))||(this[_0x472c7e(0x1ac)][_0x472c7e(0x163)](),this[_0x472c7e(0x18f)](),this[_0x472c7e(0x1b7)](null));});const _0x5227fb=this[_0x4d2025(0x198)]instanceof _0x2c6ecc?this[_0x4d2025(0x198)][_0x4d2025(0x1d0)]:new _0x287f04([this[_0x4d2025(0x198)]]);for(const _0x10f5df of _0x5227fb)this[_0x4d2025(0x1d3)](_0x10f5df);this[_0x4d2025(0x175)](_0x5227fb,_0x4d2025(0x1ca),(_0x4fa92f,_0x517e49)=>{const _0x423ff7=_0x4d2025;this[_0x423ff7(0x175)](_0x517e49,_0x423ff7(0x1a0),()=>{const _0x7047f=_0x423ff7;this[_0x7047f(0x1d3)](_0x517e49);});}),this[_0x4d2025(0x175)](_0x5227fb,_0x4d2025(0x1d8),(_0x5623f8,_0x2005cd)=>{const _0x4ec506=_0x4d2025;_0x2005cd[_0x4ec506(0x1a4)][_0x4ec506(0x164)](_0x4ec506(0x1b6))&&this[_0x4ec506(0x169)](_0x2005cd[_0x4ec506(0x1a4)][_0x4ec506(0x16a)](_0x4ec506(0x1b6)));}),window[_0x4d2025(0x165)](_0x4d2025(0x17d),this[_0x4d2025(0x1c9)]),this[_0x4d2025(0x1b5)]();}[_0x5851c6(0x1b7)](_0x52a2d0){const _0x186be8=_0x5851c6;if(_0x52a2d0===this[_0x186be8(0x19d)])return;const _0x243d0a=this[_0x186be8(0x198)][_0x186be8(0x1a4)][_0x186be8(0x16a)](_0x406662);if(_0x243d0a[_0x186be8(0x1ab)]({'blurredAnnotation':this[_0x186be8(0x19d)],'activatedAnnotation':_0x52a2d0,'disableAnimationOnActivatedAnnotation':!0x0}),_0x52a2d0)_0x243d0a[_0x186be8(0x167)](_0x52a2d0)?this[_0x186be8(0x193)](_0x52a2d0):this[_0x186be8(0x18f)]();else this[_0x186be8(0x18f)]();this[_0x186be8(0x19d)]=_0x52a2d0;}[_0x5851c6(0x1a5)](){const _0x4d0900=_0x5851c6;if(!this[_0x4d0900(0x194)])throw new _0x233791(_0x4d0900(0x1cd),this);this[_0x4d0900(0x1b7)](null);const _0x4da389=this[_0x4d0900(0x198)][_0x4d0900(0x1a4)][_0x4d0900(0x16a)](_0x406662);this[_0x4d0900(0x18f)](),Array[_0x4d0900(0x19e)](this[_0x4d0900(0x1d4)][_0x4d0900(0x168)](),_0x47df18=>_0x47df18[_0x4d0900(0x1ce)]()),this[_0x4d0900(0x1d4)][_0x4d0900(0x163)](),_0x4da389[_0x4d0900(0x16f)](this[_0x4d0900(0x1be)]),this[_0x4d0900(0x1dc)](),this[_0x4d0900(0x1c7)][_0x4d0900(0x1dc)](),this[_0x4d0900(0x198)]instanceof _0x2c6ecc&&this[_0x4d0900(0x1dc)](this[_0x4d0900(0x198)][_0x4d0900(0x1d0)]);for(const _0x1a99be of Array[_0x4d0900(0x19e)](this[_0x4d0900(0x1db)]))this[_0x4d0900(0x169)](_0x1a99be);window[_0x4d0900(0x188)](_0x4d0900(0x17d),this[_0x4d0900(0x1c9)]),this[_0x4d0900(0x1c9)][_0x4d0900(0x1c6)](),this[_0x4d0900(0x176)]=[],this[_0x4d0900(0x194)]=!0x1,this[_0x4d0900(0x1be)]=null;}[_0x5851c6(0x1ce)](){const _0x1beefa=_0x5851c6;this[_0x1beefa(0x194)]&&this[_0x1beefa(0x1a5)](),this[_0x1beefa(0x166)][_0x1beefa(0x1c2)]();}[_0x5851c6(0x1d3)](_0x53db6d){const _0x332b3b=_0x5851c6,_0x2b542e=_0x53db6d[_0x332b3b(0x1a4)][_0x332b3b(0x16a)](_0x2dd28f),_0x4969e6=this[_0x332b3b(0x198)][_0x332b3b(0x1a4)][_0x332b3b(0x16a)](_0x406662),_0x5edba1=this[_0x332b3b(0x1be)],_0x2a2209=this[_0x332b3b(0x172)],_0x2ae67c=()=>{const _0x16435d=_0x332b3b,_0x513d9f=_0x2b542e[_0x16435d(0x1d5)]({'annotations':this[_0x16435d(0x1be)],'activeAnnotation':this[_0x16435d(0x19d)]});this[_0x16435d(0x18b)](_0x513d9f),this[_0x16435d(0x1b7)](_0x513d9f[0x0]||null);};this[_0x332b3b(0x175)](_0x2b542e,_0x332b3b(0x1ab),_0x2ae67c),this[_0x332b3b(0x175)](_0x2b542e,_0x332b3b(0x1a2),(_0x1c7fa7,{isAnnotationTracked:_0x524b60})=>{const _0x222268=_0x332b3b;this[_0x222268(0x19d)]&&_0x524b60(this[_0x222268(0x19d)])&&(this[_0x222268(0x18b)]([]),this[_0x222268(0x1b7)](null));}),this[_0x332b3b(0x175)](_0x2b542e,_0x332b3b(0x199),()=>{const _0x26b78a=_0x332b3b;this[_0x26b78a(0x1c9)]();}),this[_0x332b3b(0x175)](_0x5edba1,_0x332b3b(0x1a2),_0x29ceef=>{const _0x1ee188=_0x332b3b;_0x2b542e[_0x1ee188(0x174)]()&&_0x29ceef[_0x1ee188(0x183)]();},{'priority':_0x332b3b(0x1cb)}),this[_0x332b3b(0x175)](this[_0x332b3b(0x1c7)],_0x332b3b(0x1cf),(_0x3b1da0,_0x3d94e9)=>{const _0x3a9c71=_0x332b3b,_0xeb7234=_0x3d94e9[_0x3a9c71(0x17c)];_0x2a2209[_0x3a9c71(0x17f)]&&_0x2a2209[_0x3a9c71(0x1a7)][_0x3a9c71(0x1b8)](_0xeb7234)||_0x4969e6[_0x3a9c71(0x16b)][_0x3a9c71(0x1a7)][_0x3a9c71(0x1b8)](_0xeb7234)||this[_0x3a9c71(0x19d)]&&_0x2b542e[_0x3a9c71(0x174)]()&&(_0x2ae67c(),_0x3b1da0[_0x3a9c71(0x177)]=!0x0);},{'priority':_0x332b3b(0x1cb)}),this[_0x332b3b(0x1db)][_0x332b3b(0x1ca)](_0x2b542e);}[_0x5851c6(0x169)](_0x2096dc){const _0x1b8976=_0x5851c6;_0x2096dc&&(this[_0x1b8976(0x1dc)](_0x2096dc),this[_0x1b8976(0x1db)][_0x1b8976(0x1d8)](_0x2096dc));}[_0x5851c6(0x18b)](_0x2341b8){const _0x5b782b=_0x5851c6;for(const _0x205a19 of this[_0x5b782b(0x176)])_0x2341b8[_0x5b782b(0x1d6)](_0x205a19)||this[_0x5b782b(0x1ac)][_0x5b782b(0x1ba)](_0x205a19[_0x5b782b(0x16b)]);this[_0x5b782b(0x176)]=_0x2341b8;}[_0x5851c6(0x1b5)](){const _0x276657=_0x5851c6,_0x503349=this[_0x276657(0x172)];this[_0x276657(0x1be)][_0x276657(0x19c)](),_0x503349[_0x276657(0x17f)]&&this[_0x276657(0x181)]();}[_0x5851c6(0x193)](_0x5b4de1){const _0xd7bb76=_0x5851c6;if(this[_0xd7bb76(0x1ac)][_0xd7bb76(0x164)](_0x5b4de1[_0xd7bb76(0x16b)]))return;const _0x336679=this[_0xd7bb76(0x172)][_0xd7bb76(0x1a1)][_0xd7bb76(0x17b)];_0x336679!==_0x5b4de1[_0xd7bb76(0x16b)]?(_0x336679&&this[_0xd7bb76(0x179)](_0x336679),this[_0xd7bb76(0x1d9)](_0x5b4de1[_0xd7bb76(0x16b)]),this[_0xd7bb76(0x172)][_0xd7bb76(0x1a1)][_0xd7bb76(0x163)](),this[_0xd7bb76(0x172)][_0xd7bb76(0x1a1)][_0xd7bb76(0x1ca)](_0x5b4de1[_0xd7bb76(0x16b)]),this[_0xd7bb76(0x181)]()):this[_0xd7bb76(0x181)]();}[_0x5851c6(0x181)](){const _0x429566=_0x5851c6,_0x7a65f8=this[_0x429566(0x172)][_0x429566(0x1a1)][_0x429566(0x17b)],_0x59482c=_0x7a65f8&&this[_0x429566(0x1be)][_0x429566(0x1b4)](_0x7a65f8);if(!_0x59482c||!this[_0x429566(0x1d4)][_0x429566(0x164)](_0x59482c))return;const _0x460825=this[_0x429566(0x1d4)][_0x429566(0x16a)](_0x59482c)[_0x429566(0x1a7)],_0x5917c9=(function(){const _0x5d26dc=_0x429566,_0x2a11a4=_0x4f884e[_0x5d26dc(0x1dd)];return[_0x2a11a4[_0x5d26dc(0x19f)],_0x2a11a4[_0x5d26dc(0x196)],_0x2a11a4[_0x5d26dc(0x1d7)],_0x2a11a4[_0x5d26dc(0x178)],_0x2a11a4[_0x5d26dc(0x1bb)],_0x2a11a4[_0x5d26dc(0x1d1)]];}());this[_0x429566(0x172)][_0x429566(0x1cc)]({'target':_0x460825,'positions':_0x5917c9});}[_0x5851c6(0x18f)](){const _0x228844=_0x5851c6,_0x4d4903=this[_0x228844(0x172)],_0x2560cf=_0x4d4903[_0x228844(0x1a1)][_0x228844(0x17b)];_0x2560cf&&(this[_0x228844(0x179)](_0x2560cf),_0x4d4903[_0x228844(0x1ad)](),_0x4d4903[_0x228844(0x1a1)][_0x228844(0x163)]());}[_0x5851c6(0x1d9)](_0x31b720){const _0x16dc21=_0x5851c6;this[_0x16dc21(0x175)](_0x31b720,_0x16dc21(0x171),()=>this[_0x16dc21(0x181)]()),this[_0x16dc21(0x175)](_0x31b720,_0x16dc21(0x1a6),(_0x30bac3,_0x47e8f2)=>{const _0x15504f=_0x16dc21;this[_0x15504f(0x1ac)][_0x15504f(0x1ca)](_0x31b720),this[_0x15504f(0x18f)](),_0x47e8f2();});}[_0x5851c6(0x179)](_0x314a6e){const _0x1dc023=_0x5851c6;this[_0x1dc023(0x1dc)](_0x314a6e);}}
|
|
23
|
+
const _0x35242d=_0x201e;(function(_0x4ff785,_0x44c004){const _0x1e7b73=_0x201e,_0x16f333=_0x4ff785();while(!![]){try{const _0x13bb3a=-parseInt(_0x1e7b73(0x168))/0x1+parseInt(_0x1e7b73(0x147))/0x2*(-parseInt(_0x1e7b73(0x160))/0x3)+parseInt(_0x1e7b73(0x1a3))/0x4+-parseInt(_0x1e7b73(0x144))/0x5*(parseInt(_0x1e7b73(0x173))/0x6)+parseInt(_0x1e7b73(0x148))/0x7*(parseInt(_0x1e7b73(0x16b))/0x8)+parseInt(_0x1e7b73(0x12f))/0x9*(-parseInt(_0x1e7b73(0x1a0))/0xa)+parseInt(_0x1e7b73(0x192))/0xb*(parseInt(_0x1e7b73(0x19c))/0xc);if(_0x13bb3a===_0x44c004)break;else _0x16f333['push'](_0x16f333['shift']());}catch(_0x357c63){_0x16f333['push'](_0x16f333['shift']());}}}(_0x14d2,0x1a178));import{ContextPlugin as _0x5ce416,Context as _0x20733c}from'ckeditor5/src/core.js';function _0x201e(_0x7be3d3,_0x4ec1f5){const _0x14d211=_0x14d2();return _0x201e=function(_0x201e0f,_0x303dc2){_0x201e0f=_0x201e0f-0x12b;let _0x189699=_0x14d211[_0x201e0f];return _0x189699;},_0x201e(_0x7be3d3,_0x4ec1f5);}import _0x7aa03f from'./annotationsuis.js';import _0x2cc007 from'./sidebar.js';import _0xf2c3c9 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x6c8045,BodyCollection as _0x16c553}from'ckeditor5/src/ui.js';import{CKEditorError as _0x21508e,DomEmitterMixin as _0xd88853,keyCodes as _0x3ef874,Collection as _0x2ca45d}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x548815}from'lodash-es';import _0x4f82ef from'./editorannotations.js';function _0x14d2(){const _0x3029d3=['includes','8460zrNTFi','bind','southArrowNorthEast','ck-sidebar--narrow','type','setActiveAnnotation','addEventListener','editors','getByView','_domEmitter','rearrange','requires','detachFromDom','delete','_attachListeners','_showBalloon','_updateBalloonPosition','hasDomSelection','ready','_annotations','keydown','5TyxpPr','init','cancel','200kEjUyz','563143BQefrd','bodyCollection','register','getOrderedSelectedAnnotations','_refreshPositioning','add','first','blur','attachToDom','_hideBalloon','northArrowSouth','from','pluginName','_setSelectedAnnotations','resize','has','_destroyEditorAnnotationsIntegration','EditorAnnotations','set:container','_integrateWithEditorAnnotations','preventClosingBalloon','removeEventListener','high','contains','270oDaIbf','southArrowNorth','getSidebarItemView','annotations','listenTo','annotationType','plugins','destroy','44433OnhMRi','_annotationToNarrowView','_refreshPositioningDebounced','16lCivAl','target','refreshPositioning','focusableElements','detach','set','attach','pin','180582CdkIbf','off','northArrowSouthEast','_detachFromContainer','addAnnotation','stop','low','preventDefault','change:height','southArrowNorthWest','change:container','balloonPanelView','stopPropagation','number','element','mousedown','narrowSidebar','_attachToContainer','defaultPositions','isAttached','_detachListeners','remove','keyCode','clear','find','NarrowSidebar','context','esc','create','content','stopListening','1252460UaWsdA','refresh','isDirty','_manuallyClosedAnnotationViews','narrowsidebar-detach-not-attached','locale','execute','activeAnnotation','get','northArrowSouthWest','24ZbDdBZ','values','isVisible','unpin','2230LzcWGk','_editorAnnotations','narrowsidebar-attach-already-attached','45616OUnYFV','_selectedAnnotations','Esc','length','view','uiUpdate','focus'];_0x14d2=function(){return _0x3029d3;};return _0x14d2();}export default class i extends _0x5ce416{static get[_0x35242d(0x13a)](){return[_0x2cc007,_0x7aa03f];}static get[_0x35242d(0x154)](){const _0x2fde61=_0x35242d;return _0x2fde61(0x18c);}constructor(_0xbe0175){const _0x2688fb=_0x35242d;super(_0xbe0175),this[_0x2688fb(0x186)]=!0x1,this[_0x2688fb(0x195)]=new Set(),this[_0x2688fb(0x138)]=Object[_0x2688fb(0x18f)](_0xd88853),this[_0x2688fb(0x169)]=new Map(),this[_0x2688fb(0x170)](_0x2688fb(0x199),null),this[_0x2688fb(0x163)]=null,this[_0x2688fb(0x1a4)]=[],this[_0x2688fb(0x1a1)]=new _0x2ca45d(),this[_0x2688fb(0x16a)]=_0x548815(()=>{const _0xc9be6c=_0x2688fb;this[_0xc9be6c(0x14c)]();},0xfa,{'leading':!0x1});}[_0x35242d(0x145)](){const _0x9db96b=_0x35242d;this[_0x9db96b(0x18d)][_0x9db96b(0x166)][_0x9db96b(0x19a)](_0x7aa03f)[_0x9db96b(0x14a)](_0x9db96b(0x183),this),this[_0x9db96b(0x149)]=new _0x16c553(this[_0x9db96b(0x18d)][_0x9db96b(0x197)]),this[_0x9db96b(0x17e)]=new _0x6c8045(this[_0x9db96b(0x18d)][_0x9db96b(0x197)]),this[_0x9db96b(0x149)][_0x9db96b(0x150)](),this[_0x9db96b(0x149)][_0x9db96b(0x14d)](this[_0x9db96b(0x17e)]);}[_0x35242d(0x171)](_0x4db9e7){const _0x5aada6=_0x35242d;this[_0x5aada6(0x163)]=_0x4db9e7;const _0x51e023=this[_0x5aada6(0x18d)][_0x5aada6(0x166)][_0x5aada6(0x19a)](_0x2cc007),_0x2bb730=this[_0x5aada6(0x17e)];if(_0x51e023[_0x5aada6(0x142)]=_0x4db9e7,this[_0x5aada6(0x186)])throw new _0x21508e(_0x5aada6(0x1a2),this);this[_0x5aada6(0x186)]=!0x0,this[_0x5aada6(0x164)](_0x51e023,_0x5aada6(0x15a),()=>{const _0x2d6d35=_0x5aada6;this[_0x2d6d35(0x16f)](),this[_0x2d6d35(0x164)](_0x51e023,_0x2d6d35(0x17d),_0x159dfe=>{const _0x44e2f3=_0x2d6d35;_0x159dfe[_0x44e2f3(0x174)](),this[_0x44e2f3(0x171)](_0x4db9e7);});}),_0x51e023[_0x5aada6(0x184)]({'viewClass':_0x5aada6(0x132),'spaceBetweenItems':0x5});const _0x51cc13=_0x3434ab=>{const _0x5297d2=_0x5aada6,_0x1b9569=new _0xf2c3c9(this[_0x5297d2(0x18d)][_0x5297d2(0x197)]);_0x51e023[_0x5297d2(0x177)](_0x3434ab,_0x1b9569),this[_0x5297d2(0x169)][_0x5297d2(0x170)](_0x3434ab,_0x1b9569),_0x1b9569[_0x5297d2(0x130)](_0x5297d2(0x194),_0x5297d2(0x165),_0x5297d2(0x180))['to'](_0x3434ab[_0x5297d2(0x12b)],_0x5297d2(0x194),_0x5297d2(0x133),_0x5297d2(0x1a6)),_0x1b9569['on'](_0x5297d2(0x198),()=>{const _0xfadb00=_0x5297d2;this[_0xfadb00(0x195)][_0xfadb00(0x18a)](),_0x2bb730[_0xfadb00(0x190)][_0xfadb00(0x14e)]!==_0x3434ab[_0xfadb00(0x12b)]?(this[_0xfadb00(0x13e)](_0x3434ab),_0x3434ab[_0xfadb00(0x12b)][_0xfadb00(0x181)][_0xfadb00(0x12d)](),this[_0xfadb00(0x134)](_0x3434ab)):this[_0xfadb00(0x134)](null);});};for(const _0x5689a5 of _0x4db9e7)_0x51cc13(_0x5689a5);this[_0x5aada6(0x164)](_0x4db9e7,_0x5aada6(0x14d),(_0x344fca,_0x796933)=>{_0x51cc13(_0x796933);}),this[_0x5aada6(0x164)](_0x4db9e7,_0x5aada6(0x188),(_0xc64274,_0x3e17d3,_0x2c0223)=>{const _0x1fb0b3=_0x5aada6;this[_0x1fb0b3(0x169)][_0x1fb0b3(0x19a)](_0x3e17d3)[_0x1fb0b3(0x167)](),this[_0x1fb0b3(0x169)][_0x1fb0b3(0x13c)](_0x3e17d3),_0x51e023[_0x1fb0b3(0x139)]({'removedAnnotation':_0x3e17d3,'previousAnnotation':_0x4db9e7[_0x1fb0b3(0x19a)](_0x2c0223-0x1),'nextAnnotation':_0x4db9e7[_0x1fb0b3(0x19a)](_0x2c0223+0x1)}),_0x3e17d3===this[_0x1fb0b3(0x199)]&&this[_0x1fb0b3(0x134)](null);},{'priority':_0x5aada6(0x179)}),this[_0x5aada6(0x164)](_0x4db9e7,_0x5aada6(0x12d),(_0x2c24fa,_0x427af9)=>{const _0x19ce45=_0x5aada6;this[_0x19ce45(0x134)](_0x427af9);}),this[_0x5aada6(0x164)](_0x4db9e7,_0x5aada6(0x14f),()=>{const _0x383e6b=_0x5aada6;this[_0x383e6b(0x134)](null);}),this[_0x5aada6(0x138)][_0x5aada6(0x164)](document,_0x5aada6(0x143),(_0x33aad8,_0x3b33b3)=>{const _0x4ccf79=_0x5aada6;_0x3b33b3[_0x4ccf79(0x189)]===_0x3ef874[_0x4ccf79(0x18e)]&&_0x2bb730[_0x4ccf79(0x19e)]&&(this[_0x4ccf79(0x195)][_0x4ccf79(0x14d)](_0x2bb730[_0x4ccf79(0x190)][_0x4ccf79(0x14e)]),this[_0x4ccf79(0x151)](),_0x3b33b3[_0x4ccf79(0x17f)](),_0x3b33b3[_0x4ccf79(0x17a)]());}),this[_0x5aada6(0x138)][_0x5aada6(0x164)](document,_0x5aada6(0x182),(_0x33473d,_0x98f942)=>{const _0xcc1165=_0x5aada6,_0x163d51=_0x98f942[_0xcc1165(0x16c)];_0x2bb730[_0xcc1165(0x19e)]&&_0x2bb730[_0xcc1165(0x181)][_0xcc1165(0x15f)](_0x163d51)||_0x51e023[_0xcc1165(0x12b)][_0xcc1165(0x181)][_0xcc1165(0x15f)](_0x163d51)||_0x33473d[_0xcc1165(0x15c)]||this[_0xcc1165(0x199)]&&this[_0xcc1165(0x199)][_0xcc1165(0x16e)][_0xcc1165(0x18b)](_0x2f69ab=>_0x2f69ab[_0xcc1165(0x15f)](_0x163d51))||(this[_0xcc1165(0x195)][_0xcc1165(0x18a)](),this[_0xcc1165(0x151)](),this[_0xcc1165(0x134)](null));});const _0x5b936a=this[_0x5aada6(0x18d)]instanceof _0x20733c?this[_0x5aada6(0x18d)][_0x5aada6(0x136)]:new _0x2ca45d([this[_0x5aada6(0x18d)]]);for(const _0x3b41a8 of _0x5b936a)this[_0x5aada6(0x15b)](_0x3b41a8);this[_0x5aada6(0x164)](_0x5b936a,_0x5aada6(0x14d),(_0x4e942c,_0x560ed8)=>{const _0x1723df=_0x5aada6;this[_0x1723df(0x164)](_0x560ed8,_0x1723df(0x141),()=>{const _0x26372c=_0x1723df;this[_0x26372c(0x15b)](_0x560ed8);});}),this[_0x5aada6(0x164)](_0x5b936a,_0x5aada6(0x188),(_0x37f4e5,_0x34bb3b)=>{const _0x5eec27=_0x5aada6;_0x34bb3b[_0x5eec27(0x166)][_0x5eec27(0x157)](_0x5eec27(0x159))&&this[_0x5eec27(0x158)](_0x34bb3b[_0x5eec27(0x166)][_0x5eec27(0x19a)](_0x5eec27(0x159)));}),window[_0x5aada6(0x135)](_0x5aada6(0x156),this[_0x5aada6(0x16a)]),this[_0x5aada6(0x14c)]();}[_0x35242d(0x134)](_0x5f4c7e){const _0x15ddcb=_0x35242d;if(_0x5f4c7e===this[_0x15ddcb(0x199)])return;const _0x11aeb0=this[_0x15ddcb(0x18d)][_0x15ddcb(0x166)][_0x15ddcb(0x19a)](_0x2cc007);if(_0x11aeb0[_0x15ddcb(0x193)]({'blurredAnnotation':this[_0x15ddcb(0x199)],'activatedAnnotation':_0x5f4c7e,'disableAnimationOnActivatedAnnotation':!0x0}),_0x5f4c7e)_0x11aeb0[_0x15ddcb(0x162)](_0x5f4c7e)?this[_0x15ddcb(0x13e)](_0x5f4c7e):this[_0x15ddcb(0x151)]();else this[_0x15ddcb(0x151)]();this[_0x15ddcb(0x199)]=_0x5f4c7e;}[_0x35242d(0x16f)](){const _0x5f373f=_0x35242d;if(!this[_0x5f373f(0x186)])throw new _0x21508e(_0x5f373f(0x196),this);this[_0x5f373f(0x134)](null);const _0x510487=this[_0x5f373f(0x18d)][_0x5f373f(0x166)][_0x5f373f(0x19a)](_0x2cc007);this[_0x5f373f(0x151)](),Array[_0x5f373f(0x153)](this[_0x5f373f(0x169)][_0x5f373f(0x19d)](),_0x526c30=>_0x526c30[_0x5f373f(0x167)]()),this[_0x5f373f(0x169)][_0x5f373f(0x18a)](),_0x510487[_0x5f373f(0x176)](this[_0x5f373f(0x163)]),this[_0x5f373f(0x191)](),this[_0x5f373f(0x138)][_0x5f373f(0x191)](),this[_0x5f373f(0x18d)]instanceof _0x20733c&&this[_0x5f373f(0x191)](this[_0x5f373f(0x18d)][_0x5f373f(0x136)]);for(const _0x3f9119 of Array[_0x5f373f(0x153)](this[_0x5f373f(0x1a1)]))this[_0x5f373f(0x158)](_0x3f9119);window[_0x5f373f(0x15d)](_0x5f373f(0x156),this[_0x5f373f(0x16a)]),this[_0x5f373f(0x16a)][_0x5f373f(0x146)](),this[_0x5f373f(0x1a4)]=[],this[_0x5f373f(0x186)]=!0x1,this[_0x5f373f(0x163)]=null;}[_0x35242d(0x167)](){const _0x44d8be=_0x35242d;this[_0x44d8be(0x186)]&&this[_0x44d8be(0x16f)](),this[_0x44d8be(0x149)][_0x44d8be(0x13b)]();}[_0x35242d(0x15b)](_0x40415e){const _0x516d80=_0x35242d,_0x270776=_0x40415e[_0x516d80(0x166)][_0x516d80(0x19a)](_0x4f82ef),_0x4c5c72=this[_0x516d80(0x18d)][_0x516d80(0x166)][_0x516d80(0x19a)](_0x2cc007),_0x28148f=this[_0x516d80(0x163)],_0x35ab31=this[_0x516d80(0x17e)],_0x1cbae5=()=>{const _0x101e73=_0x516d80,_0x54a035=_0x270776[_0x101e73(0x14b)]({'annotations':this[_0x101e73(0x163)],'activeAnnotation':this[_0x101e73(0x199)]});this[_0x101e73(0x155)](_0x54a035),this[_0x101e73(0x134)](_0x54a035[0x0]||null);};this[_0x516d80(0x164)](_0x270776,_0x516d80(0x193),_0x1cbae5),this[_0x516d80(0x164)](_0x270776,_0x516d80(0x14f),(_0xaba34e,{isAnnotationTracked:_0x227f6b})=>{const _0x4cf338=_0x516d80;this[_0x4cf338(0x199)]&&_0x227f6b(this[_0x4cf338(0x199)])&&(this[_0x4cf338(0x155)]([]),this[_0x4cf338(0x134)](null));}),this[_0x516d80(0x164)](_0x270776,_0x516d80(0x12c),()=>{const _0x477602=_0x516d80;this[_0x477602(0x16a)]();}),this[_0x516d80(0x164)](_0x28148f,_0x516d80(0x14f),_0x16a4db=>{const _0x1a1c29=_0x516d80;_0x270776[_0x1a1c29(0x140)]()&&_0x16a4db[_0x1a1c29(0x178)]();},{'priority':_0x516d80(0x15e)}),this[_0x516d80(0x164)](this[_0x516d80(0x138)],_0x516d80(0x182),(_0x2d2982,_0x392d69)=>{const _0x2a0cd5=_0x516d80,_0x763e16=_0x392d69[_0x2a0cd5(0x16c)];_0x35ab31[_0x2a0cd5(0x19e)]&&_0x35ab31[_0x2a0cd5(0x181)][_0x2a0cd5(0x15f)](_0x763e16)||_0x4c5c72[_0x2a0cd5(0x12b)][_0x2a0cd5(0x181)][_0x2a0cd5(0x15f)](_0x763e16)||this[_0x2a0cd5(0x199)]&&_0x270776[_0x2a0cd5(0x140)]()&&(_0x1cbae5(),_0x2d2982[_0x2a0cd5(0x15c)]=!0x0);},{'priority':_0x516d80(0x15e)}),this[_0x516d80(0x1a1)][_0x516d80(0x14d)](_0x270776);}[_0x35242d(0x158)](_0x18d8e8){const _0x2b3ae5=_0x35242d;_0x18d8e8&&(this[_0x2b3ae5(0x191)](_0x18d8e8),this[_0x2b3ae5(0x1a1)][_0x2b3ae5(0x188)](_0x18d8e8));}[_0x35242d(0x155)](_0x147470){const _0x181625=_0x35242d;for(const _0x2e2c92 of this[_0x181625(0x1a4)])_0x147470[_0x181625(0x12e)](_0x2e2c92)||this[_0x181625(0x195)][_0x181625(0x13c)](_0x2e2c92[_0x181625(0x12b)]);this[_0x181625(0x1a4)]=_0x147470;}[_0x35242d(0x14c)](){const _0x31eaa6=_0x35242d,_0x5cfae3=this[_0x31eaa6(0x17e)];this[_0x31eaa6(0x163)][_0x31eaa6(0x16d)](),_0x5cfae3[_0x31eaa6(0x19e)]&&this[_0x31eaa6(0x13f)]();}[_0x35242d(0x13e)](_0x2fd3c3){const _0x5673c6=_0x35242d;if(this[_0x5673c6(0x195)][_0x5673c6(0x157)](_0x2fd3c3[_0x5673c6(0x12b)]))return;const _0x16fee5=this[_0x5673c6(0x17e)][_0x5673c6(0x190)][_0x5673c6(0x14e)];_0x16fee5!==_0x2fd3c3[_0x5673c6(0x12b)]?(_0x16fee5&&this[_0x5673c6(0x187)](_0x16fee5),this[_0x5673c6(0x13d)](_0x2fd3c3[_0x5673c6(0x12b)]),this[_0x5673c6(0x17e)][_0x5673c6(0x190)][_0x5673c6(0x18a)](),this[_0x5673c6(0x17e)][_0x5673c6(0x190)][_0x5673c6(0x14d)](_0x2fd3c3[_0x5673c6(0x12b)]),this[_0x5673c6(0x13f)]()):this[_0x5673c6(0x13f)]();}[_0x35242d(0x13f)](){const _0x2dad4b=_0x35242d,_0x517547=this[_0x2dad4b(0x17e)][_0x2dad4b(0x190)][_0x2dad4b(0x14e)],_0x16669f=_0x517547&&this[_0x2dad4b(0x163)][_0x2dad4b(0x137)](_0x517547);if(!_0x16669f||!this[_0x2dad4b(0x169)][_0x2dad4b(0x157)](_0x16669f))return;const _0x3f8c9a=this[_0x2dad4b(0x169)][_0x2dad4b(0x19a)](_0x16669f)[_0x2dad4b(0x181)],_0x535508=(function(){const _0x54b42a=_0x2dad4b,_0x189136=_0x6c8045[_0x54b42a(0x185)];return[_0x189136[_0x54b42a(0x131)],_0x189136[_0x54b42a(0x175)],_0x189136[_0x54b42a(0x161)],_0x189136[_0x54b42a(0x152)],_0x189136[_0x54b42a(0x17c)],_0x189136[_0x54b42a(0x19b)]];}());this[_0x2dad4b(0x17e)][_0x2dad4b(0x172)]({'target':_0x3f8c9a,'positions':_0x535508});}[_0x35242d(0x151)](){const _0x58b080=_0x35242d,_0x3c5339=this[_0x58b080(0x17e)],_0x585bd3=_0x3c5339[_0x58b080(0x190)][_0x58b080(0x14e)];_0x585bd3&&(this[_0x58b080(0x187)](_0x585bd3),_0x3c5339[_0x58b080(0x19f)](),_0x3c5339[_0x58b080(0x190)][_0x58b080(0x18a)]());}[_0x35242d(0x13d)](_0x49efea){const _0x30881f=_0x35242d;this[_0x30881f(0x164)](_0x49efea,_0x30881f(0x17b),()=>this[_0x30881f(0x13f)]()),this[_0x30881f(0x164)](_0x49efea,_0x30881f(0x1a5),(_0x49b1aa,_0x528f5e)=>{const _0x19656a=_0x30881f;this[_0x19656a(0x195)][_0x19656a(0x14d)](_0x49efea),this[_0x19656a(0x151)](),_0x528f5e();});}[_0x35242d(0x187)](_0x5a9d46){const _0x20bb3f=_0x35242d;this[_0x20bb3f(0x191)](_0x5a9d46);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5103ec=_0x1a9f;(function(_0x238a7c,_0x1f1ace){const _0xd36d7a=_0x1a9f,_0x229201=_0x238a7c();while(!![]){try{const _0xe38bd7=parseInt(_0xd36d7a(0x19d))/0x1*(-parseInt(_0xd36d7a(0x1ab))/0x2)+parseInt(_0xd36d7a(0x19c))/0x3*(parseInt(_0xd36d7a(0x1b3))/0x4)+-parseInt(_0xd36d7a(0x196))/0x5*(-parseInt(_0xd36d7a(0x1ca))/0x6)+parseInt(_0xd36d7a(0x1d5))/0x7*(-parseInt(_0xd36d7a(0x194))/0x8)+-parseInt(_0xd36d7a(0x1b4))/0x9+-parseInt(_0xd36d7a(0x19e))/0xa+parseInt(_0xd36d7a(0x1c2))/0xb;if(_0xe38bd7===_0x1f1ace)break;else _0x229201['push'](_0x229201['shift']());}catch(_0x2738f5){_0x229201['push'](_0x229201['shift']());}}}(_0x4580,0x47396));import{ContextPlugin as _0x207610}from'ckeditor5/src/core.js';function _0x4580(){const _0x203998=['_getItemAfter','4753606RyvVrz','sidebar.container','top','_sidebarItemViewToAnnotation','updateHeight','locale','isActive','stopListening','438MemXIs','nodeType','_alignBeforeItem','bind','targetRect','_getTargetTop','max','_attachToContainer','define','change:targetRect','_spaceBetweenItems','7WTbPXn','setContainer','delete','_targetTop','last','set','content','_setItemTop','appendChild','change:_lastItem','sidebar-attachtocontainer-missing-container','list','destroy','remove','bottom','_activeAnnotation','add','_getItemBefore','addAnnotation','Sidebar','sidebar.preventScrollOutOfView','_lastItem','change:bottom','sidebar-setcontainer-invalid-element','target','205672TjjvNk','get','16705xIdzAl','length','class','isAnimationDisabled','_updateLastItem','_alignForTopChange','1202358fzPsFG','5PMhxHJ','2086210mDmSnY','_alignAfterItem','listenTo','_recalculateBuffer','_createSidebarView','init','pluginName','view','render','getSidebarItemView','_destroySidebarItemView','clear','_alignToTargetRect','140824ywdYqw','_detachFromContainer','object','_alignForBottomChange','change:top','unbind','_getMaxAvailableTop','element','4bPjLAE','1788309ErcvAo','container','_annotations','refresh','getIndex','config','rearrange','height','_recalculate','_annotationToSidebarItemView','push','minHeight','context'];_0x4580=function(){return _0x203998;};return _0x4580();}import{Rect as _0x3150cc,CKEditorError as _0x53e2e5}from'ckeditor5/src/utils.js';function _0x1a9f(_0x2106b1,_0x17862d){const _0x45800f=_0x4580();return _0x1a9f=function(_0x1a9f3a,_0x2f9c74){_0x1a9f3a=_0x1a9f3a-0x17d;let _0x3446cd=_0x45800f[_0x1a9f3a];return _0x3446cd;},_0x1a9f(_0x2106b1,_0x17862d);}import _0x5c1377 from'./view/sidebarview.js';import _0x1d061b from'./view/sidebaritemview.js';export default class z extends _0x207610{static get[_0x5103ec(0x1a4)](){const _0x14eb33=_0x5103ec;return _0x14eb33(0x18e);}constructor(_0x932460){const _0x58c5fb=_0x5103ec;super(_0x932460),this[_0x58c5fb(0x180)](_0x58c5fb(0x190),void 0x0),this[_0x58c5fb(0x1a5)]=this[_0x58c5fb(0x1a2)](),this[_0x58c5fb(0x180)](_0x58c5fb(0x1b5),null),this[_0x58c5fb(0x1d4)]=0x19,this[_0x58c5fb(0x1c5)]=new Map(),this[_0x58c5fb(0x1bd)]=new Map(),this[_0x58c5fb(0x1c0)][_0x58c5fb(0x1b9)][_0x58c5fb(0x1d2)](_0x58c5fb(0x18f),!0x1),this[_0x58c5fb(0x1b6)]=null,this[_0x58c5fb(0x18a)]=null,this[_0x58c5fb(0x1a1)]=[];}[_0x5103ec(0x1a3)](){const _0x4da866=_0x5103ec,_0xa93236=this[_0x4da866(0x1c0)][_0x4da866(0x1b9)][_0x4da866(0x195)](_0x4da866(0x1c3));_0xa93236&&this[_0x4da866(0x1d6)](_0xa93236);}[_0x5103ec(0x1d6)](_0x38c934){const _0x3cbfd5=_0x5103ec;if(!y(_0x38c934))throw new _0x53e2e5(_0x3cbfd5(0x192));this[_0x3cbfd5(0x1b5)]=_0x38c934;}[_0x5103ec(0x1d1)]({viewClass:_0x188016='',spaceBetweenItems:_0x48556c=0x19}={}){const _0x19ee30=_0x5103ec;if(!y(this[_0x19ee30(0x1b5)]))throw new _0x53e2e5(_0x19ee30(0x185),this);this[_0x19ee30(0x1b5)][_0x19ee30(0x183)](this[_0x19ee30(0x1a5)][_0x19ee30(0x1b2)]),this[_0x19ee30(0x1a5)][_0x19ee30(0x198)]=_0x188016,this[_0x19ee30(0x1d4)]=_0x48556c;}[_0x5103ec(0x1ba)]({removedAnnotation:_0x57032e,previousAnnotation:_0x4723e9,nextAnnotation:_0x20acaa}){const _0x2cf244=_0x5103ec,_0x2f542a=this[_0x2cf244(0x1a7)](_0x57032e);this[_0x2cf244(0x1a5)][_0x2cf244(0x186)][_0x2cf244(0x188)](_0x2f542a),this[_0x2cf244(0x1a8)](_0x57032e),_0x4723e9&&this[_0x2cf244(0x1aa)](this[_0x2cf244(0x1a7)](_0x4723e9)),_0x20acaa&&this[_0x2cf244(0x1aa)](this[_0x2cf244(0x1a7)](_0x20acaa)),this[_0x2cf244(0x19a)]();}[_0x5103ec(0x1b7)]({blurredAnnotation:_0x271f10,activatedAnnotation:_0x119b35,disableAnimationOnActivatedAnnotation:_0x53e594}){const _0x151656=_0x5103ec;if(this[_0x151656(0x18a)]=_0x119b35,_0x271f10){_0x271f10[_0x151656(0x1c8)]=!0x1;const _0x210f32=this[_0x151656(0x1a7)](_0x271f10);_0x210f32&&_0x53e594&&(_0x210f32[_0x151656(0x199)]=!0x1);}if(_0x119b35){const _0x3a0fe9=this[_0x151656(0x1a7)](_0x119b35);_0x3a0fe9&&(_0x119b35[_0x151656(0x1c8)]=!0x0,_0x53e594&&(_0x3a0fe9[_0x151656(0x199)]=!0x0,_0x3a0fe9[_0x151656(0x1c4)]+=0x1),this[_0x151656(0x1aa)](_0x3a0fe9));}}[_0x5103ec(0x1ac)](_0x2187d4){const _0x5cdaea=_0x5103ec;if(this[_0x5cdaea(0x1a5)][_0x5cdaea(0x1b2)][_0x5cdaea(0x188)](),_0x2187d4){for(const _0x501e9d of _0x2187d4)this[_0x5cdaea(0x1a8)](_0x501e9d);}this[_0x5cdaea(0x1a5)][_0x5cdaea(0x186)][_0x5cdaea(0x1a9)](),this[_0x5cdaea(0x1a5)][_0x5cdaea(0x198)]='',this[_0x5cdaea(0x190)]=null;}[_0x5103ec(0x18d)](_0x55bfb7,_0x14dc43){const _0x1ee196=_0x5103ec;_0x14dc43||(_0x14dc43=_0x55bfb7[_0x1ee196(0x1a5)]);const _0x273733=new _0x1d061b(this[_0x1ee196(0x1c0)][_0x1ee196(0x1c7)]);this[_0x1ee196(0x1c5)][_0x1ee196(0x180)](_0x273733,_0x55bfb7),this[_0x1ee196(0x1bd)][_0x1ee196(0x180)](_0x55bfb7,_0x273733),_0x273733[_0x1ee196(0x181)][_0x1ee196(0x18b)](_0x14dc43),this[_0x1ee196(0x1a0)](_0x55bfb7[_0x1ee196(0x1a5)],_0x1ee196(0x1d3),(_0x115d98,_0x24e543,_0xc597b4)=>{const _0x22d4d3=_0x1ee196,_0x449c9e=this[_0x22d4d3(0x1cf)](_0x55bfb7,_0xc597b4);_0x273733[_0x22d4d3(0x17e)]!=_0x449c9e&&(_0x273733[_0x22d4d3(0x17e)]=_0x449c9e,this[_0x22d4d3(0x182)](_0x273733,_0x449c9e));}),this[_0x1ee196(0x1a0)](_0x273733,_0x1ee196(0x1af),()=>{const _0x117114=_0x1ee196;this[_0x117114(0x1bc)](_0x273733,_0x117114(0x1c4));}),this[_0x1ee196(0x1a0)](_0x273733,_0x1ee196(0x191),()=>{const _0x119640=_0x1ee196;this[_0x119640(0x1bc)](_0x273733,_0x119640(0x189));}),this[_0x1ee196(0x1aa)](_0x273733);const _0x4eaada=this[_0x1ee196(0x18c)](_0x273733);if(_0x4eaada)this[_0x1ee196(0x19f)](_0x4eaada,_0x273733)||this[_0x1ee196(0x1aa)](_0x273733);else this[_0x1ee196(0x1aa)](_0x273733);return this[_0x1ee196(0x19a)](),this[_0x1ee196(0x1a5)][_0x1ee196(0x186)][_0x1ee196(0x18b)](_0x273733),_0x273733;}[_0x5103ec(0x19b)](_0x357b4b){const _0x1a0c2b=_0x5103ec;if(!_0x357b4b[_0x1a0c2b(0x181)][_0x1a0c2b(0x197)])return;const _0x6c8af=this[_0x1a0c2b(0x18c)](_0x357b4b);if(!_0x6c8af)return;const _0x2fcb5b=this[_0x1a0c2b(0x1c5)][_0x1a0c2b(0x195)](_0x6c8af),_0x2184b3=this[_0x1a0c2b(0x18a)];_0x2184b3&&_0x2184b3===_0x2fcb5b?this[_0x1a0c2b(0x19f)](_0x6c8af,_0x357b4b):this[_0x1a0c2b(0x1cc)](_0x357b4b,_0x6c8af);}[_0x5103ec(0x1ae)](_0x2f9b32){const _0x3dd6e8=_0x5103ec;if(!_0x2f9b32[_0x3dd6e8(0x181)][_0x3dd6e8(0x197)])return;const _0x4135e9=this[_0x3dd6e8(0x1c1)](_0x2f9b32);if(!_0x4135e9)return;const _0x4e3cd8=this[_0x3dd6e8(0x1c5)][_0x3dd6e8(0x195)](_0x4135e9),_0x207786=this[_0x3dd6e8(0x1c0)][_0x3dd6e8(0x1b9)][_0x3dd6e8(0x195)](_0x3dd6e8(0x18f)),_0x20f947=this[_0x3dd6e8(0x18a)];_0x20f947&&_0x20f947===_0x4e3cd8&&_0x207786?(this[_0x3dd6e8(0x1cc)](_0x4135e9,_0x2f9b32),this[_0x3dd6e8(0x19f)](_0x2f9b32,_0x4135e9)):_0x20f947&&_0x20f947===_0x4e3cd8?this[_0x3dd6e8(0x1cc)](_0x4135e9,_0x2f9b32):this[_0x3dd6e8(0x19f)](_0x2f9b32,_0x4135e9);}[_0x5103ec(0x1bc)](_0x310644,_0x332b99){const _0x3f84bc=_0x5103ec;0x0===this[_0x3f84bc(0x1a1)][_0x3f84bc(0x197)]&&setTimeout(()=>{const _0x488cdc=_0x3f84bc;for(const {sidebarItemView:_0x5c722c,changedProp:_0x3c1fc4}of this[_0x488cdc(0x1a1)])_0x488cdc(0x1c4)===_0x3c1fc4?this[_0x488cdc(0x19b)](_0x5c722c):this[_0x488cdc(0x1ae)](_0x5c722c);this[_0x488cdc(0x1a1)]=[];},0xa),this[_0x3f84bc(0x1a1)][_0x3f84bc(0x1be)]({'sidebarItemView':_0x310644,'changedProp':_0x332b99});}[_0x5103ec(0x1a7)](_0x4ea20d){const _0x4a0a59=_0x5103ec;return this[_0x4a0a59(0x1bd)][_0x4a0a59(0x195)](_0x4ea20d);}[_0x5103ec(0x187)](){const _0x4712b0=_0x5103ec;this[_0x4712b0(0x1c9)](),this[_0x4712b0(0x1a5)][_0x4712b0(0x187)]();}[_0x5103ec(0x1a8)](_0xd66dc){const _0x4ad4d0=_0x5103ec,_0x1600ab=this[_0x4ad4d0(0x1a7)](_0xd66dc);this[_0x4ad4d0(0x1c9)](_0x1600ab),this[_0x4ad4d0(0x1c9)](_0xd66dc[_0x4ad4d0(0x1a5)]),_0x1600ab[_0x4ad4d0(0x187)](),this[_0x4ad4d0(0x1bd)][_0x4ad4d0(0x17d)](_0xd66dc),this[_0x4ad4d0(0x1c5)][_0x4ad4d0(0x17d)](_0x1600ab);}[_0x5103ec(0x1a2)](){const _0x446bbb=_0x5103ec,_0x17a02d=new _0x5c1377(this[_0x446bbb(0x1c0)][_0x446bbb(0x1c7)]);return _0x17a02d[_0x446bbb(0x1a6)](),this['on'](_0x446bbb(0x184),(_0x3097ff,_0x39c20f,_0x201951,_0x9fd70c)=>{const _0x23ca74=_0x446bbb;_0x9fd70c&&_0x17a02d[_0x23ca74(0x1b0)](_0x23ca74(0x1bf)),_0x201951?_0x17a02d[_0x23ca74(0x1cd)](_0x23ca74(0x1bf))['to'](_0x201951,_0x23ca74(0x189)):_0x17a02d[_0x23ca74(0x1bf)]=null;}),_0x17a02d;}[_0x5103ec(0x19a)](){const _0x3f44d7=_0x5103ec;var _0x20a6dd;this[_0x3f44d7(0x190)]=(null===(_0x20a6dd=this[_0x3f44d7(0x1b6)])||void 0x0===_0x20a6dd?void 0x0:_0x20a6dd[_0x3f44d7(0x17f)])?this[_0x3f44d7(0x1a7)](this[_0x3f44d7(0x1b6)][_0x3f44d7(0x17f)]):null;}[_0x5103ec(0x18c)](_0x1dc41d){const _0x19af1e=_0x5103ec;var _0x37bf3f;const _0x20b6d9=this[_0x19af1e(0x1c5)][_0x19af1e(0x195)](_0x1dc41d),_0x275061=_0x20b6d9&&(null===(_0x37bf3f=this[_0x19af1e(0x1b6)])||void 0x0===_0x37bf3f?void 0x0:_0x37bf3f[_0x19af1e(0x195)](this[_0x19af1e(0x1b6)][_0x19af1e(0x1b8)](_0x20b6d9)-0x1));return _0x275061&&this[_0x19af1e(0x1a7)](_0x275061)||null;}[_0x5103ec(0x1c1)](_0x50d01a){const _0x147f42=_0x5103ec;var _0x1a5b11;const _0x1938ba=this[_0x147f42(0x1c5)][_0x147f42(0x195)](_0x50d01a),_0x101d12=_0x1938ba&&(null===(_0x1a5b11=this[_0x147f42(0x1b6)])||void 0x0===_0x1a5b11?void 0x0:_0x1a5b11[_0x147f42(0x195)](this[_0x147f42(0x1b6)][_0x147f42(0x1b8)](_0x1938ba)+0x1));return _0x101d12&&this[_0x147f42(0x1a7)](_0x101d12)||null;}[_0x5103ec(0x1cc)](_0x480225,_0x2d923b){const _0x403da6=_0x5103ec;_0x480225[_0x403da6(0x1c6)]();const _0x46dffe=M(_0x2d923b[_0x403da6(0x189)]+this[_0x403da6(0x1d4)],_0x480225[_0x403da6(0x1c4)]);return!!_0x46dffe&&(this[_0x403da6(0x182)](_0x2d923b,_0x2d923b[_0x403da6(0x1c4)]-_0x46dffe),!0x0);}[_0x5103ec(0x19f)](_0x40eaf3,_0x5d6a0c){const _0x26f4cd=_0x5103ec;_0x40eaf3[_0x26f4cd(0x1c6)]();const _0x5dae98=M(_0x40eaf3[_0x26f4cd(0x189)]+this[_0x26f4cd(0x1d4)],_0x5d6a0c[_0x26f4cd(0x1c4)]);return!!_0x5dae98&&(this[_0x26f4cd(0x182)](_0x5d6a0c,_0x5d6a0c[_0x26f4cd(0x1c4)]+_0x5dae98,!0x1),!0x0);}[_0x5103ec(0x1aa)](_0x1c4818){const _0x397a23=_0x5103ec,_0x6c9670=this[_0x397a23(0x1c5)][_0x397a23(0x195)](_0x1c4818);if(!_0x6c9670||!_0x6c9670[_0x397a23(0x193)]||!_0x6c9670[_0x397a23(0x1ce)])return;const _0x3fab0f=this[_0x397a23(0x1cf)](_0x6c9670,_0x6c9670[_0x397a23(0x1ce)]);this[_0x397a23(0x182)](_0x1c4818,_0x3fab0f);}[_0x5103ec(0x1cf)](_0xd9e1b5,_0x289fe6){const _0x55e729=_0x5103ec;if(null===_0x289fe6)return 0x0;if(_0xd9e1b5[_0x55e729(0x193)]instanceof _0x3150cc)return _0x289fe6[_0x55e729(0x1c4)];{const _0x279841=new _0x3150cc(this[_0x55e729(0x1a5)][_0x55e729(0x1b2)])[_0x55e729(0x1c4)];return _0x289fe6[_0x55e729(0x1c4)]-_0x279841;}}[_0x5103ec(0x182)](_0x17d88c,_0x31ae18,_0x2eda42=this[_0x5103ec(0x1c0)][_0x5103ec(0x1b9)][_0x5103ec(0x195)](_0x5103ec(0x18f))){const _0x185be5=_0x5103ec;_0x2eda42&&(_0x31ae18=Math[_0x185be5(0x1d0)](_0x31ae18,this[_0x185be5(0x1b1)](_0x17d88c))),_0x17d88c[_0x185be5(0x1c4)]=_0x31ae18;}[_0x5103ec(0x1b1)](_0x158559){const _0x301000=_0x5103ec;let _0x5ae4af=this[_0x301000(0x18c)](_0x158559),_0x256535=0x0;for(;_0x5ae4af;)_0x5ae4af[_0x301000(0x1c6)](),_0x256535+=this[_0x301000(0x1d4)]+_0x5ae4af[_0x301000(0x1bb)],_0x5ae4af=this[_0x301000(0x18c)](_0x5ae4af);return _0x256535;}}function M(_0x177bba,_0x278b25){const _0x444d52=_0x5103ec;return Math[_0x444d52(0x1d0)](_0x177bba-_0x278b25,0x0);}function y(_0xad9f52){const _0x4eb8dc=_0x5103ec;return null!==_0xad9f52&&_0x4eb8dc(0x1ad)==typeof _0xad9f52&&0x1===_0xad9f52[_0x4eb8dc(0x1cb)];}
|
|
23
|
+
const _0x11bd1d=_0x276b;(function(_0x473798,_0x47040b){const _0x3e8756=_0x276b,_0x4d576b=_0x473798();while(!![]){try{const _0x46d8ac=-parseInt(_0x3e8756(0x1c8))/0x1+-parseInt(_0x3e8756(0x1a8))/0x2*(parseInt(_0x3e8756(0x1d0))/0x3)+-parseInt(_0x3e8756(0x1f5))/0x4+-parseInt(_0x3e8756(0x1d5))/0x5*(-parseInt(_0x3e8756(0x1a6))/0x6)+parseInt(_0x3e8756(0x1e1))/0x7*(-parseInt(_0x3e8756(0x1f3))/0x8)+-parseInt(_0x3e8756(0x1cd))/0x9+parseInt(_0x3e8756(0x1ca))/0xa;if(_0x46d8ac===_0x47040b)break;else _0x4d576b['push'](_0x4d576b['shift']());}catch(_0x48b6a1){_0x4d576b['push'](_0x4d576b['shift']());}}}(_0x3dc4,0xb20c5));import{ContextPlugin as _0x16d8b7}from'ckeditor5/src/core.js';function _0x3dc4(){const _0x497d8c=['_alignForTopChange','bind','_spaceBetweenItems','_alignAfterItem','107904VvTdMw','refresh','6yThRuy','setContainer','_updateLastItem','container','appendChild','rearrange','context','Sidebar','isAnimationDisabled','render','_destroySidebarItemView','change:_lastItem','change:top','minHeight','change:targetRect','_targetTop','target','sidebar-setcontainer-invalid-element','remove','add','init','_sidebarItemViewToAnnotation','view','getSidebarItemView','unbind','element','_setItemTop','max','delete','getIndex','content','set','317441ULMsxX','_alignToTargetRect','29844670LctZji','height','last','10847907ZrpHrf','get','define','681189zHoloA','pluginName','sidebar.container','change:bottom','_getItemAfter','320YgNbrR','isActive','length','_recalculate','_activeAnnotation','_recalculateBuffer','addAnnotation','_lastItem','locale','destroy','push','top','49ovUgXX','_alignBeforeItem','object','sidebar.preventScrollOutOfView','clear','_createSidebarView','list','bottom','sidebar-attachtocontainer-missing-container','config','_detachFromContainer','_getMaxAvailableTop','nodeType','updateHeight','_annotations','_alignForBottomChange','_getTargetTop','_attachToContainer','57432byJveB','class','4607808wcmmfO','targetRect','_getItemBefore','_annotationToSidebarItemView','listenTo','stopListening'];_0x3dc4=function(){return _0x497d8c;};return _0x3dc4();}function _0x276b(_0x2db55b,_0x2af266){const _0x3dc400=_0x3dc4();return _0x276b=function(_0x276b1c,_0x196234){_0x276b1c=_0x276b1c-0x1a6;let _0x31ae73=_0x3dc400[_0x276b1c];return _0x31ae73;},_0x276b(_0x2db55b,_0x2af266);}import{Rect as _0x244678,CKEditorError as _0x3cbd35}from'ckeditor5/src/utils.js';import _0x12aad0 from'./view/sidebarview.js';import _0x5c88ed from'./view/sidebaritemview.js';export default class z extends _0x16d8b7{static get[_0x11bd1d(0x1d1)](){const _0x3b123c=_0x11bd1d;return _0x3b123c(0x1af);}constructor(_0x326087){const _0x7d6966=_0x11bd1d;super(_0x326087),this[_0x7d6966(0x1c7)](_0x7d6966(0x1dc),void 0x0),this[_0x7d6966(0x1be)]=this[_0x7d6966(0x1e6)](),this[_0x7d6966(0x1c7)](_0x7d6966(0x1ab),null),this[_0x7d6966(0x1fd)]=0x19,this[_0x7d6966(0x1bd)]=new Map(),this[_0x7d6966(0x1f8)]=new Map(),this[_0x7d6966(0x1ae)][_0x7d6966(0x1ea)][_0x7d6966(0x1cf)](_0x7d6966(0x1e4),!0x1),this[_0x7d6966(0x1ef)]=null,this[_0x7d6966(0x1d9)]=null,this[_0x7d6966(0x1da)]=[];}[_0x11bd1d(0x1bc)](){const _0x366134=_0x11bd1d,_0x1b8779=this[_0x366134(0x1ae)][_0x366134(0x1ea)][_0x366134(0x1ce)](_0x366134(0x1d2));_0x1b8779&&this[_0x366134(0x1a9)](_0x1b8779);}[_0x11bd1d(0x1a9)](_0x1740cf){const _0x42ea5e=_0x11bd1d;if(!y(_0x1740cf))throw new _0x3cbd35(_0x42ea5e(0x1b9));this[_0x42ea5e(0x1ab)]=_0x1740cf;}[_0x11bd1d(0x1f2)]({viewClass:_0x3806f6='',spaceBetweenItems:_0x1d08b0=0x19}={}){const _0x3588cf=_0x11bd1d;if(!y(this[_0x3588cf(0x1ab)]))throw new _0x3cbd35(_0x3588cf(0x1e9),this);this[_0x3588cf(0x1ab)][_0x3588cf(0x1ac)](this[_0x3588cf(0x1be)][_0x3588cf(0x1c1)]),this[_0x3588cf(0x1be)][_0x3588cf(0x1f4)]=_0x3806f6,this[_0x3588cf(0x1fd)]=_0x1d08b0;}[_0x11bd1d(0x1ad)]({removedAnnotation:_0x4a4466,previousAnnotation:_0x2cd612,nextAnnotation:_0x3abf66}){const _0x41a5f6=_0x11bd1d,_0x471d81=this[_0x41a5f6(0x1bf)](_0x4a4466);this[_0x41a5f6(0x1be)][_0x41a5f6(0x1e7)][_0x41a5f6(0x1ba)](_0x471d81),this[_0x41a5f6(0x1b2)](_0x4a4466),_0x2cd612&&this[_0x41a5f6(0x1c9)](this[_0x41a5f6(0x1bf)](_0x2cd612)),_0x3abf66&&this[_0x41a5f6(0x1c9)](this[_0x41a5f6(0x1bf)](_0x3abf66)),this[_0x41a5f6(0x1aa)]();}[_0x11bd1d(0x1a7)]({blurredAnnotation:_0x1a5507,activatedAnnotation:_0x4337f2,disableAnimationOnActivatedAnnotation:_0x29337e}){const _0x3d681a=_0x11bd1d;if(this[_0x3d681a(0x1d9)]=_0x4337f2,_0x1a5507){_0x1a5507[_0x3d681a(0x1d6)]=!0x1;const _0x131ca5=this[_0x3d681a(0x1bf)](_0x1a5507);_0x131ca5&&_0x29337e&&(_0x131ca5[_0x3d681a(0x1b0)]=!0x1);}if(_0x4337f2){const _0x54b0b3=this[_0x3d681a(0x1bf)](_0x4337f2);_0x54b0b3&&(_0x4337f2[_0x3d681a(0x1d6)]=!0x0,_0x29337e&&(_0x54b0b3[_0x3d681a(0x1b0)]=!0x0,_0x54b0b3[_0x3d681a(0x1e0)]+=0x1),this[_0x3d681a(0x1c9)](_0x54b0b3));}}[_0x11bd1d(0x1eb)](_0x353663){const _0x4bc0cb=_0x11bd1d;if(this[_0x4bc0cb(0x1be)][_0x4bc0cb(0x1c1)][_0x4bc0cb(0x1ba)](),_0x353663){for(const _0x527595 of _0x353663)this[_0x4bc0cb(0x1b2)](_0x527595);}this[_0x4bc0cb(0x1be)][_0x4bc0cb(0x1e7)][_0x4bc0cb(0x1e5)](),this[_0x4bc0cb(0x1be)][_0x4bc0cb(0x1f4)]='',this[_0x4bc0cb(0x1dc)]=null;}[_0x11bd1d(0x1db)](_0x16d8dd,_0x37e2b1){const _0x3969e2=_0x11bd1d;_0x37e2b1||(_0x37e2b1=_0x16d8dd[_0x3969e2(0x1be)]);const _0x5550d3=new _0x5c88ed(this[_0x3969e2(0x1ae)][_0x3969e2(0x1dd)]);this[_0x3969e2(0x1bd)][_0x3969e2(0x1c7)](_0x5550d3,_0x16d8dd),this[_0x3969e2(0x1f8)][_0x3969e2(0x1c7)](_0x16d8dd,_0x5550d3),_0x5550d3[_0x3969e2(0x1c6)][_0x3969e2(0x1bb)](_0x37e2b1),this[_0x3969e2(0x1f9)](_0x16d8dd[_0x3969e2(0x1be)],_0x3969e2(0x1b6),(_0xc4e5d0,_0x35b448,_0x2019b2)=>{const _0x2c0253=_0x3969e2,_0x1c0d09=this[_0x2c0253(0x1f1)](_0x16d8dd,_0x2019b2);_0x5550d3[_0x2c0253(0x1b7)]!=_0x1c0d09&&(_0x5550d3[_0x2c0253(0x1b7)]=_0x1c0d09,this[_0x2c0253(0x1c2)](_0x5550d3,_0x1c0d09));}),this[_0x3969e2(0x1f9)](_0x5550d3,_0x3969e2(0x1b4),()=>{const _0x1ca59c=_0x3969e2;this[_0x1ca59c(0x1d8)](_0x5550d3,_0x1ca59c(0x1e0));}),this[_0x3969e2(0x1f9)](_0x5550d3,_0x3969e2(0x1d3),()=>{const _0x2cbcac=_0x3969e2;this[_0x2cbcac(0x1d8)](_0x5550d3,_0x2cbcac(0x1e8));}),this[_0x3969e2(0x1c9)](_0x5550d3);const _0x3ea3a4=this[_0x3969e2(0x1f7)](_0x5550d3);if(_0x3ea3a4)this[_0x3969e2(0x1fe)](_0x3ea3a4,_0x5550d3)||this[_0x3969e2(0x1c9)](_0x5550d3);else this[_0x3969e2(0x1c9)](_0x5550d3);return this[_0x3969e2(0x1aa)](),this[_0x3969e2(0x1be)][_0x3969e2(0x1e7)][_0x3969e2(0x1bb)](_0x5550d3),_0x5550d3;}[_0x11bd1d(0x1fb)](_0x5d6933){const _0xfe48e9=_0x11bd1d;if(!_0x5d6933[_0xfe48e9(0x1c6)][_0xfe48e9(0x1d7)])return;const _0x5b40d2=this[_0xfe48e9(0x1f7)](_0x5d6933);if(!_0x5b40d2)return;const _0x42c3e0=this[_0xfe48e9(0x1bd)][_0xfe48e9(0x1ce)](_0x5b40d2),_0x492b72=this[_0xfe48e9(0x1d9)];_0x492b72&&_0x492b72===_0x42c3e0?this[_0xfe48e9(0x1fe)](_0x5b40d2,_0x5d6933):this[_0xfe48e9(0x1e2)](_0x5d6933,_0x5b40d2);}[_0x11bd1d(0x1f0)](_0x4e7a05){const _0x24a486=_0x11bd1d;if(!_0x4e7a05[_0x24a486(0x1c6)][_0x24a486(0x1d7)])return;const _0x221faa=this[_0x24a486(0x1d4)](_0x4e7a05);if(!_0x221faa)return;const _0x3175d0=this[_0x24a486(0x1bd)][_0x24a486(0x1ce)](_0x221faa),_0x17d88f=this[_0x24a486(0x1ae)][_0x24a486(0x1ea)][_0x24a486(0x1ce)](_0x24a486(0x1e4)),_0x356df1=this[_0x24a486(0x1d9)];_0x356df1&&_0x356df1===_0x3175d0&&_0x17d88f?(this[_0x24a486(0x1e2)](_0x221faa,_0x4e7a05),this[_0x24a486(0x1fe)](_0x4e7a05,_0x221faa)):_0x356df1&&_0x356df1===_0x3175d0?this[_0x24a486(0x1e2)](_0x221faa,_0x4e7a05):this[_0x24a486(0x1fe)](_0x4e7a05,_0x221faa);}[_0x11bd1d(0x1d8)](_0x52a001,_0x3b583c){const _0x1e33ef=_0x11bd1d;0x0===this[_0x1e33ef(0x1da)][_0x1e33ef(0x1d7)]&&setTimeout(()=>{const _0x20372f=_0x1e33ef;for(const {sidebarItemView:_0x1d9d2d,changedProp:_0x5cc0e7}of this[_0x20372f(0x1da)])_0x20372f(0x1e0)===_0x5cc0e7?this[_0x20372f(0x1fb)](_0x1d9d2d):this[_0x20372f(0x1f0)](_0x1d9d2d);this[_0x20372f(0x1da)]=[];},0xa),this[_0x1e33ef(0x1da)][_0x1e33ef(0x1df)]({'sidebarItemView':_0x52a001,'changedProp':_0x3b583c});}[_0x11bd1d(0x1bf)](_0x502bcd){const _0x15f1bd=_0x11bd1d;return this[_0x15f1bd(0x1f8)][_0x15f1bd(0x1ce)](_0x502bcd);}[_0x11bd1d(0x1de)](){const _0x12903e=_0x11bd1d;this[_0x12903e(0x1fa)](),this[_0x12903e(0x1be)][_0x12903e(0x1de)]();}[_0x11bd1d(0x1b2)](_0x54aa93){const _0x2ce2f1=_0x11bd1d,_0x5c4ec1=this[_0x2ce2f1(0x1bf)](_0x54aa93);this[_0x2ce2f1(0x1fa)](_0x5c4ec1),this[_0x2ce2f1(0x1fa)](_0x54aa93[_0x2ce2f1(0x1be)]),_0x5c4ec1[_0x2ce2f1(0x1de)](),this[_0x2ce2f1(0x1f8)][_0x2ce2f1(0x1c4)](_0x54aa93),this[_0x2ce2f1(0x1bd)][_0x2ce2f1(0x1c4)](_0x5c4ec1);}[_0x11bd1d(0x1e6)](){const _0x8abd7f=_0x11bd1d,_0x2f5666=new _0x12aad0(this[_0x8abd7f(0x1ae)][_0x8abd7f(0x1dd)]);return _0x2f5666[_0x8abd7f(0x1b1)](),this['on'](_0x8abd7f(0x1b3),(_0x408ecf,_0x46953b,_0x14eaac,_0x1094f1)=>{const _0x114f0a=_0x8abd7f;_0x1094f1&&_0x2f5666[_0x114f0a(0x1c0)](_0x114f0a(0x1b5)),_0x14eaac?_0x2f5666[_0x114f0a(0x1fc)](_0x114f0a(0x1b5))['to'](_0x14eaac,_0x114f0a(0x1e8)):_0x2f5666[_0x114f0a(0x1b5)]=null;}),_0x2f5666;}[_0x11bd1d(0x1aa)](){const _0x240796=_0x11bd1d;var _0x236db6;this[_0x240796(0x1dc)]=(null===(_0x236db6=this[_0x240796(0x1ef)])||void 0x0===_0x236db6?void 0x0:_0x236db6[_0x240796(0x1cc)])?this[_0x240796(0x1bf)](this[_0x240796(0x1ef)][_0x240796(0x1cc)]):null;}[_0x11bd1d(0x1f7)](_0x43f033){const _0x51422e=_0x11bd1d;var _0x5df2f7;const _0x7fa038=this[_0x51422e(0x1bd)][_0x51422e(0x1ce)](_0x43f033),_0x4984a7=_0x7fa038&&(null===(_0x5df2f7=this[_0x51422e(0x1ef)])||void 0x0===_0x5df2f7?void 0x0:_0x5df2f7[_0x51422e(0x1ce)](this[_0x51422e(0x1ef)][_0x51422e(0x1c5)](_0x7fa038)-0x1));return _0x4984a7&&this[_0x51422e(0x1bf)](_0x4984a7)||null;}[_0x11bd1d(0x1d4)](_0x195d80){const _0x13012c=_0x11bd1d;var _0x1e21ab;const _0x50efa2=this[_0x13012c(0x1bd)][_0x13012c(0x1ce)](_0x195d80),_0x99e4aa=_0x50efa2&&(null===(_0x1e21ab=this[_0x13012c(0x1ef)])||void 0x0===_0x1e21ab?void 0x0:_0x1e21ab[_0x13012c(0x1ce)](this[_0x13012c(0x1ef)][_0x13012c(0x1c5)](_0x50efa2)+0x1));return _0x99e4aa&&this[_0x13012c(0x1bf)](_0x99e4aa)||null;}[_0x11bd1d(0x1e2)](_0x28c432,_0x341639){const _0x1323af=_0x11bd1d;_0x28c432[_0x1323af(0x1ee)]();const _0x358455=M(_0x341639[_0x1323af(0x1e8)]+this[_0x1323af(0x1fd)],_0x28c432[_0x1323af(0x1e0)]);return!!_0x358455&&(this[_0x1323af(0x1c2)](_0x341639,_0x341639[_0x1323af(0x1e0)]-_0x358455),!0x0);}[_0x11bd1d(0x1fe)](_0x2fd699,_0xa32f6c){const _0x430dba=_0x11bd1d;_0x2fd699[_0x430dba(0x1ee)]();const _0x27f13f=M(_0x2fd699[_0x430dba(0x1e8)]+this[_0x430dba(0x1fd)],_0xa32f6c[_0x430dba(0x1e0)]);return!!_0x27f13f&&(this[_0x430dba(0x1c2)](_0xa32f6c,_0xa32f6c[_0x430dba(0x1e0)]+_0x27f13f,!0x1),!0x0);}[_0x11bd1d(0x1c9)](_0x4ba225){const _0x1b19d3=_0x11bd1d,_0x2aab9a=this[_0x1b19d3(0x1bd)][_0x1b19d3(0x1ce)](_0x4ba225);if(!_0x2aab9a||!_0x2aab9a[_0x1b19d3(0x1b8)]||!_0x2aab9a[_0x1b19d3(0x1f6)])return;const _0x5e7be4=this[_0x1b19d3(0x1f1)](_0x2aab9a,_0x2aab9a[_0x1b19d3(0x1f6)]);this[_0x1b19d3(0x1c2)](_0x4ba225,_0x5e7be4);}[_0x11bd1d(0x1f1)](_0x48a56c,_0x19fa1a){const _0x2e9893=_0x11bd1d;if(null===_0x19fa1a)return 0x0;if(_0x48a56c[_0x2e9893(0x1b8)]instanceof _0x244678)return _0x19fa1a[_0x2e9893(0x1e0)];{const _0x586af5=new _0x244678(this[_0x2e9893(0x1be)][_0x2e9893(0x1c1)])[_0x2e9893(0x1e0)];return _0x19fa1a[_0x2e9893(0x1e0)]-_0x586af5;}}[_0x11bd1d(0x1c2)](_0x37bc35,_0x3ca406,_0x67bdab=this[_0x11bd1d(0x1ae)][_0x11bd1d(0x1ea)][_0x11bd1d(0x1ce)](_0x11bd1d(0x1e4))){const _0x481976=_0x11bd1d;_0x67bdab&&(_0x3ca406=Math[_0x481976(0x1c3)](_0x3ca406,this[_0x481976(0x1ec)](_0x37bc35))),_0x37bc35[_0x481976(0x1e0)]=_0x3ca406;}[_0x11bd1d(0x1ec)](_0x3a5b0e){const _0x4aefe1=_0x11bd1d;let _0x56efdd=this[_0x4aefe1(0x1f7)](_0x3a5b0e),_0x58e82a=0x0;for(;_0x56efdd;)_0x56efdd[_0x4aefe1(0x1ee)](),_0x58e82a+=this[_0x4aefe1(0x1fd)]+_0x56efdd[_0x4aefe1(0x1cb)],_0x56efdd=this[_0x4aefe1(0x1f7)](_0x56efdd);return _0x58e82a;}}function M(_0x9e3c85,_0x516a1e){const _0x1c4365=_0x11bd1d;return Math[_0x1c4365(0x1c3)](_0x9e3c85-_0x516a1e,0x0);}function y(_0x13bfdc){const _0x2497b8=_0x11bd1d;return null!==_0x13bfdc&&_0x2497b8(0x1e3)==typeof _0x13bfdc&&0x1===_0x13bfdc[_0x2497b8(0x1ed)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1d49(_0x5e7a3a,_0x4e4bd4){const _0x1e3780=_0x1e37();return _0x1d49=function(_0x1d4956,_0x478ae2){_0x1d4956=_0x1d4956-0x142;let _0x3ebd8c=_0x1e3780[_0x1d4956];return _0x3ebd8c;},_0x1d49(_0x5e7a3a,_0x4e4bd4);}function _0x1e37(){const _0x104c2d=['ck-annotation-counter','ck-annotation-counter__badge--','305021BpeZdk','icon','...','2809608OSntjn','ck-annotation-counter__badge--edit-mode','56dSsaYJ','ck-annotation-counter__badge','214626eGEHAL','2917460CnkptX','counterView','set','setTemplate','1227200chfWCl','_badge','span','add','extendTemplate','bind','88194GeGuif','annotationType','children','toString','isDirty','bindTemplate','2867136gkoVCX','number'];_0x1e37=function(){return _0x104c2d;};return _0x1e37();}(function(_0x31dbab,_0x1445a1){const _0x33ce3f=_0x1d49,_0x4298d9=_0x31dbab();while(!![]){try{const _0x2c6952=-parseInt(_0x33ce3f(0x158))/0x1+-parseInt(_0x33ce3f(0x143))/0x2+parseInt(_0x33ce3f(0x14e))/0x3*(parseInt(_0x33ce3f(0x15d))/0x4)+-parseInt(_0x33ce3f(0x148))/0x5+parseInt(_0x33ce3f(0x15b))/0x6+parseInt(_0x33ce3f(0x144))/0x7+-parseInt(_0x33ce3f(0x154))/0x8;if(_0x2c6952===_0x1445a1)break;else _0x4298d9['push'](_0x4298d9['shift']());}catch(_0x486920){_0x4298d9['push'](_0x4298d9['shift']());}}}(_0x1e37,0x44786));import{ButtonView as _0x50ce62,View as _0x2aaac9}from'ckeditor5/src/ui.js';import _0x5556fd from'../../../theme/icons/add-comment.svg';export default class D extends _0x50ce62{constructor(_0x590d61){const _0x1adb2e=_0x1d49;super(_0x590d61);const _0x4adc05=this[_0x1adb2e(0x153)];this[_0x1adb2e(0x146)](_0x1adb2e(0x152),!0x1),this[_0x1adb2e(0x146)](_0x1adb2e(0x155),0x0),this[_0x1adb2e(0x14d)](_0x1adb2e(0x149))['to'](this,_0x1adb2e(0x152),this,_0x1adb2e(0x155),(_0x1b8270,_0x651866)=>_0x1b8270?_0x1adb2e(0x15a):_0x651866[_0x1adb2e(0x151)]()),this[_0x1adb2e(0x146)](_0x1adb2e(0x14f),''),this[_0x1adb2e(0x159)]=_0x5556fd,this[_0x1adb2e(0x14c)]({'attributes':{'class':[_0x1adb2e(0x156)]}}),this[_0x1adb2e(0x145)]=new _0x2aaac9(),this[_0x1adb2e(0x145)][_0x1adb2e(0x147)]({'tag':_0x1adb2e(0x14a),'attributes':{'class':[_0x1adb2e(0x142),_0x4adc05['to'](_0x1adb2e(0x14f),_0x174167=>_0x1adb2e(0x157)+_0x174167),_0x4adc05['if'](_0x1adb2e(0x152),_0x1adb2e(0x15c))]},'children':[{'text':_0x4adc05['to'](_0x1adb2e(0x149))}]}),this[_0x1adb2e(0x150)][_0x1adb2e(0x14b)](this[_0x1adb2e(0x145)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3a8e01=_0x4ee0;(function(_0x1d4c38,_0x45f12c){const _0x11309a=_0x4ee0,_0x38e4d5=_0x1d4c38();while(!![]){try{const _0x197086=parseInt(_0x11309a(0x12c))/0x1*(parseInt(_0x11309a(0x11e))/0x2)+parseInt(_0x11309a(0x138))/0x3+parseInt(_0x11309a(0x12b))/0x4+parseInt(_0x11309a(0x129))/0x5+-parseInt(_0x11309a(0x141))/0x6+parseInt(_0x11309a(0x126))/0x7+-parseInt(_0x11309a(0x133))/0x8*(parseInt(_0x11309a(0x120))/0x9);if(_0x197086===_0x45f12c)break;else _0x38e4d5['push'](_0x38e4d5['shift']());}catch(_0xd15f89){_0x38e4d5['push'](_0x38e4d5['shift']());}}}(_0x7351,0xdd519));import{View as _0x494f7d}from'ckeditor5/src/ui.js';function _0x7351(){const _0x56c3ab=['clear','292560qtvNWS','41YQsLrt','targetRect','element','detach','focusTracker','setTemplate','createCollection','8ZbvjrM','ck-annotation-wrapper--active','add','div','mainView','5163225mboGXl','clientHeight','isActive','length','ck-rounded-corners','bindTemplate','render','_updateHeight','destroy','4208568QwIfeM','focus','Esc','listenTo','content','_mutationObserver','19898VpPHvG','attach','17403921EaMGRO','height','set','fire','keystrokes','type','6041770Qpatix','isDirty','ck-annotation-wrapper','2382420nNNcAM'];_0x7351=function(){return _0x56c3ab;};return _0x7351();}import{FocusTracker as _0x1c6565,KeystrokeHandler as _0x1afeb7,uid as _0x1bd0b0}from'ckeditor5/src/utils.js';function _0x4ee0(_0x3f8d57,_0x43d11d){const _0x7351f2=_0x7351();return _0x4ee0=function(_0x4ee0e2,_0x5ac230){_0x4ee0e2=_0x4ee0e2-0x11c;let _0x5eb490=_0x7351f2[_0x4ee0e2];return _0x5eb490;},_0x4ee0(_0x3f8d57,_0x43d11d);}import _0x4d2970 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class V extends _0x494f7d{constructor(_0x426eb2,_0x5ba557){const _0x55c688=_0x4ee0;super(_0x426eb2),this['id']=_0x1bd0b0(),this[_0x55c688(0x130)]=new _0x1c6565(),this[_0x55c688(0x124)]=new _0x1afeb7(),this[_0x55c688(0x124)][_0x55c688(0x122)](_0x55c688(0x143),(_0x3353af,_0x28ed90)=>this[_0x55c688(0x123)](_0x55c688(0x143),_0x28ed90)),this[_0x55c688(0x122)](_0x55c688(0x12d),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x55c688(0x122)](_0x55c688(0x121),0x0),this[_0x55c688(0x122)](_0x55c688(0x13a),!0x1),this[_0x55c688(0x122)](_0x55c688(0x127),!0x1),this[_0x55c688(0x122)](_0x55c688(0x13b),0x0),this[_0x55c688(0x122)](_0x55c688(0x125),''),this[_0x55c688(0x11d)]=_0x4d2970(()=>this[_0x55c688(0x13f)]()),this[_0x55c688(0x11c)]=this[_0x55c688(0x132)](),this[_0x55c688(0x11c)][_0x55c688(0x135)](_0x5ba557),this[_0x55c688(0x137)]=_0x5ba557;const _0x11fbe7=this[_0x55c688(0x13d)];this[_0x55c688(0x131)]({'tag':_0x55c688(0x136),'attributes':{'class':['ck',_0x55c688(0x128),_0x55c688(0x13c),_0x11fbe7['if'](_0x55c688(0x13a),_0x55c688(0x134))],'tabindex':-0x1},'children':this[_0x55c688(0x11c)]});}[_0x3a8e01(0x13e)](){const _0x3ed479=_0x3a8e01;super[_0x3ed479(0x13e)](),this[_0x3ed479(0x130)][_0x3ed479(0x135)](this[_0x3ed479(0x12e)]),this[_0x3ed479(0x124)][_0x3ed479(0x144)](this[_0x3ed479(0x12e)]),this[_0x3ed479(0x11d)][_0x3ed479(0x11f)](this[_0x3ed479(0x12e)]);}[_0x3a8e01(0x140)](){const _0x5e8ff2=_0x3a8e01;this[_0x5e8ff2(0x11c)][_0x5e8ff2(0x12a)](),this[_0x5e8ff2(0x124)][_0x5e8ff2(0x140)](),this[_0x5e8ff2(0x130)][_0x5e8ff2(0x140)](),this[_0x5e8ff2(0x11d)][_0x5e8ff2(0x12f)](),super[_0x5e8ff2(0x140)]();}[_0x3a8e01(0x142)](){const _0x47dc94=_0x3a8e01;this[_0x47dc94(0x12e)][_0x47dc94(0x142)]();}[_0x3a8e01(0x13f)](){const _0x263705=_0x3a8e01,_0x18e6a0=this[_0x263705(0x12e)][_0x263705(0x139)];_0x18e6a0&&(this[_0x263705(0x121)]=_0x18e6a0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3083c0=_0x156f;(function(_0x512bf5,_0x365ec8){const _0x4dd4c4=_0x156f,_0x55638e=_0x512bf5();while(!![]){try{const _0x4db9d0=parseInt(_0x4dd4c4(0x1c8))/0x1+parseInt(_0x4dd4c4(0x1c2))/0x2+-parseInt(_0x4dd4c4(0x1ac))/0x3+-parseInt(_0x4dd4c4(0x1c6))/0x4*(-parseInt(_0x4dd4c4(0x1b8))/0x5)+parseInt(_0x4dd4c4(0x1ae))/0x6*(-parseInt(_0x4dd4c4(0x1bb))/0x7)+parseInt(_0x4dd4c4(0x1c0))/0x8*(parseInt(_0x4dd4c4(0x1b3))/0x9)+-parseInt(_0x4dd4c4(0x1c9))/0xa;if(_0x4db9d0===_0x365ec8)break;else _0x55638e['push'](_0x55638e['shift']());}catch(_0x155f7a){_0x55638e['push'](_0x55638e['shift']());}}}(_0x5f01,0x8d895));function _0x156f(_0x3704d2,_0x397c69){const _0x5f0174=_0x5f01();return _0x156f=function(_0x156f3e,_0x1f1abf){_0x156f3e=_0x156f3e-0x1aa;let _0x41a0c6=_0x5f0174[_0x156f3e];return _0x41a0c6;},_0x156f(_0x3704d2,_0x397c69);}import{View as _0x4b1149}from'ckeditor5/src/ui.js';import{toUnit as _0x467800}from'ckeditor5/src/utils.js';import _0x20ec16 from'../../utils/createmutationobserver.js';function _0x5f01(){const _0x4cc7fb=['clientHeight','14960BPUGBK','bind','1718224PDRSYg','_targetTop','bottom','attach','8tUFWYM','destroy','443595xmOmKm','21836260aWbALN','ck-sidebar-item--no-animation','ck-sidebar-item','updateHeight','632478fJiYAt','createCollection','215148ZTDTQu','set','element','bindTemplate','detach','4311GiQJcz','_mutationObserver','content','render','div','2477240KuWPcs','setTemplate','height','42ztiKwg','clear','isAnimationDisabled','top'];_0x5f01=function(){return _0x4cc7fb;};return _0x5f01();}const qt=_0x467800('px');export default class C extends _0x4b1149{constructor(_0x2b260d){const _0x308507=_0x156f;super(_0x2b260d),this[_0x308507(0x1af)](_0x308507(0x1be),0x0),this[_0x308507(0x1af)](_0x308507(0x1ba),0x0),this[_0x308507(0x1c1)](_0x308507(0x1c4))['to'](this,_0x308507(0x1be),this,_0x308507(0x1ba),(_0x148548,_0x1a0ce0)=>_0x148548+_0x1a0ce0),this[_0x308507(0x1af)](_0x308507(0x1bd),!0x1),this[_0x308507(0x1b4)]=_0x20ec16(()=>this[_0x308507(0x1ab)]()),this[_0x308507(0x1c3)]=null,this[_0x308507(0x1b5)]=this[_0x308507(0x1ad)]();const _0x3a437a=this[_0x308507(0x1b1)];this[_0x308507(0x1b9)]({'tag':_0x308507(0x1b7),'attributes':{'class':[_0x308507(0x1aa),_0x3a437a['to'](_0x308507(0x1bd),_0x11b950=>_0x11b950?_0x308507(0x1ca):'')],'style':{'top':_0x3a437a['to'](_0x308507(0x1be),_0x704d11=>qt(_0x704d11))}},'children':this[_0x308507(0x1b5)]});}[_0x3083c0(0x1b6)](){const _0x5b4965=_0x3083c0;super[_0x5b4965(0x1b6)](),this[_0x5b4965(0x1b4)][_0x5b4965(0x1c5)](this[_0x5b4965(0x1b0)]);}[_0x3083c0(0x1ab)](){const _0x155c9f=_0x3083c0,_0x4d3fef=this[_0x155c9f(0x1b0)][_0x155c9f(0x1bf)];_0x4d3fef&&(this[_0x155c9f(0x1ba)]=_0x4d3fef);}[_0x3083c0(0x1c7)](){const _0x4535ac=_0x3083c0;this[_0x4535ac(0x1b5)][_0x4535ac(0x1bc)](),this[_0x4535ac(0x1b4)][_0x4535ac(0x1b2)](),super[_0x4535ac(0x1c7)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x564ba2,_0x2f81a9){const _0x18d588=_0x4ff3,_0x125206=_0x564ba2();while(!![]){try{const _0x3ca4fa=parseInt(_0x18d588(0x1c2))/0x1*(-parseInt(_0x18d588(0x1bc))/0x2)+parseInt(_0x18d588(0x1c6))/0x3*(-parseInt(_0x18d588(0x1cc))/0x4)+-parseInt(_0x18d588(0x1be))/0x5+-parseInt(_0x18d588(0x1c8))/0x6+-parseInt(_0x18d588(0x1c5))/0x7+-parseInt(_0x18d588(0x1cd))/0x8+parseInt(_0x18d588(0x1ca))/0x9;if(_0x3ca4fa===_0x2f81a9)break;else _0x125206['push'](_0x125206['shift']());}catch(_0x17105b){_0x125206['push'](_0x125206['shift']());}}}(_0x3f54,0xb1e0a));import{View as _0x2ede87}from'ckeditor5/src/ui.js';import{toUnit as _0x2c6e7c}from'ckeditor5/src/utils.js';function _0x4ff3(_0x21c3b4,_0x4e6935){const _0x3f5487=_0x3f54();return _0x4ff3=function(_0x4ff38b,_0x365cd3){_0x4ff38b=_0x4ff38b-0x1ba;let _0x112590=_0x3f5487[_0x4ff38b];return _0x112590;},_0x4ff3(_0x21c3b4,_0x4e6935);}import'../../../theme/sidebar.css';function _0x3f54(){const _0x5f3452=['list','5140dlOUwv','5320728lBPmLz','ck-sidebar','set','724ffPXmW','number','4238525RGKnyI','minHeight','class','createCollection','2243SQllJs','setTemplate','bindTemplate','8135127tTjXhL','24UPfWzP','div','8072106nwGaqW','ck-reset','50140260RPGGux'];_0x3f54=function(){return _0x5f3452;};return _0x3f54();}const qt=_0x2c6e7c('px');export default class T extends _0x2ede87{constructor(_0x56d99c){const _0x161214=_0x4ff3;super(_0x56d99c);const _0x12ee95=this[_0x161214(0x1c4)];this[_0x161214(0x1bb)](_0x161214(0x1bf),0x0),this[_0x161214(0x1bb)](_0x161214(0x1c0),''),this[_0x161214(0x1cb)]=this[_0x161214(0x1c1)](),this[_0x161214(0x1c3)]({'tag':_0x161214(0x1c7),'attributes':{'class':['ck',_0x161214(0x1ba),_0x161214(0x1c9),_0x12ee95['to'](_0x161214(0x1c0))],'style':{'minHeight':_0x12ee95['to'](_0x161214(0x1bf),_0x511880=>_0x161214(0x1bd)==typeof _0x511880?qt(_0x511880+0xa):null)}},'children':this[_0x161214(0x1cb)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x237878=_0x193f;(function(_0x3e0fa8,_0x4d1d84){const _0x5dcd8d=_0x193f,_0x925e13=_0x3e0fa8();while(!![]){try{const _0x34cbcc=-parseInt(_0x5dcd8d(0x1a0))/0x1+parseInt(_0x5dcd8d(0x19f))/0x2*(-parseInt(_0x5dcd8d(0x1ba))/0x3)+-parseInt(_0x5dcd8d(0x1c3))/0x4+parseInt(_0x5dcd8d(0x1be))/0x5+parseInt(_0x5dcd8d(0x1a4))/0x6+-parseInt(_0x5dcd8d(0x1d0))/0x7*(-parseInt(_0x5dcd8d(0x1cd))/0x8)+parseInt(_0x5dcd8d(0x1a9))/0x9;if(_0x34cbcc===_0x4d1d84)break;else _0x925e13['push'](_0x925e13['shift']());}catch(_0x8a53ad){_0x925e13['push'](_0x925e13['shift']());}}}(_0x5b7e,0x99808));import{ContextPlugin as _0xe89911,Context as _0x6fbdaa}from'ckeditor5/src/core.js';function _0x193f(_0x37e566,_0x14e4d6){const _0x5b7eac=_0x5b7e();return _0x193f=function(_0x193faa,_0x7b20d4){_0x193faa=_0x193faa-0x19c;let _0x3d117a=_0x5b7eac[_0x193faa];return _0x3d117a;},_0x193f(_0x37e566,_0x14e4d6);}function _0x5b7e(){const _0xc35373=['_integrateWithEditorAnnotations','EditorAnnotations','stopListening','ck-sidebar--wide','requires','refreshPositioning','add','1743603jBgjWl','has','resize','change:container','2910385lMtkXV','detach','isAttached','off','uiUpdate','1883984uGbECJ','wideSidebar','high','pluginName','from','activeAnnotation','blur','switchTo','_activeAnnotation','_attachToContainer','6012920QPJKud','_annotations','init','7GmdePF','addAnnotation','plugins','focus','remove','destroy','addEventListener','register','removeEventListener','_detachFromContainer','set','set:container','editors','stop','widesidebar-attach-already-attached','annotations','context','refresh','2HoeJLS','1070295eMyStF','container','_destroyEditorAnnotationsIntegration','widesidebar-detach-not-attached','3656220RClvau','updateTargetRect','attach','getOrderedSelectedAnnotations','cancel','7273566MEjCet','WideSidebar','_refreshPositioningDebounced','get','rearrange','listenTo','_editorAnnotations','hasDomSelection','setActiveAnnotation','ready'];_0x5b7e=function(){return _0xc35373;};return _0x5b7e();}import _0x26f2fd from'./annotationsuis.js';import _0x42b5e9 from'./sidebar.js';import{CKEditorError as _0x349a6c,Collection as _0x2f4735}from'ckeditor5/src/utils.js';import{debounce as _0x272959}from'lodash-es';import _0xca3ef9 from'./editorannotations.js';export default class n extends _0xe89911{static get[_0x237878(0x1b7)](){return[_0x42b5e9,_0x26f2fd];}static get[_0x237878(0x1c6)](){const _0x3af283=_0x237878;return _0x3af283(0x1aa);}constructor(_0x12c360){const _0x5e4b03=_0x237878;super(_0x12c360),this[_0x5e4b03(0x1c0)]=!0x1,this[_0x5e4b03(0x1da)](_0x5e4b03(0x1c8),null),this[_0x5e4b03(0x19c)]=null,this[_0x5e4b03(0x1af)]=new _0x2f4735(),this[_0x5e4b03(0x1ab)]=_0x272959(()=>{const _0x51c1d8=_0x5e4b03;this[_0x51c1d8(0x19c)][_0x51c1d8(0x1b8)]();},0xfa,{'leading':!0x1});}[_0x237878(0x1cf)](){const _0xcfef78=_0x237878,_0x43b92d=this[_0xcfef78(0x19d)][_0xcfef78(0x1d2)][_0xcfef78(0x1ac)](_0x26f2fd),_0x12cc01=this[_0xcfef78(0x19d)][_0xcfef78(0x1d2)][_0xcfef78(0x1ac)](_0x42b5e9);_0x43b92d[_0xcfef78(0x1d7)](_0xcfef78(0x1c4),this),_0x12cc01[_0xcfef78(0x1a1)]&&_0x43b92d[_0xcfef78(0x1ca)](_0xcfef78(0x1c4));}[_0x237878(0x1b1)](_0x2a510c){const _0x4aa75f=_0x237878;if(_0x2a510c===this[_0x4aa75f(0x1c8)])return;const _0x219ba7=this[_0x4aa75f(0x19d)][_0x4aa75f(0x1d2)][_0x4aa75f(0x1ac)](_0x42b5e9);_0x219ba7[_0x4aa75f(0x1cb)]=_0x2a510c;const _0x22deca=this[_0x4aa75f(0x1c8)];this[_0x4aa75f(0x1c8)]=_0x2a510c,_0x219ba7[_0x4aa75f(0x19e)]({'blurredAnnotation':_0x22deca,'activatedAnnotation':this[_0x4aa75f(0x1c8)]});}[_0x237878(0x1a6)](_0x262b72){const _0x524641=_0x237878;this[_0x524641(0x19c)]=_0x262b72;const _0x1a1932=this[_0x524641(0x19d)][_0x524641(0x1d2)][_0x524641(0x1ac)](_0x42b5e9);if(_0x1a1932[_0x524641(0x1ce)]=_0x262b72,this[_0x524641(0x1c0)])throw new _0x349a6c(_0x524641(0x1de),this);this[_0x524641(0x1c0)]=!0x0,this[_0x524641(0x1ae)](_0x1a1932,_0x524641(0x1db),()=>{const _0x24e9c3=_0x524641;this[_0x24e9c3(0x1bf)](),this[_0x24e9c3(0x1ae)](_0x1a1932,_0x24e9c3(0x1bd),_0x48b8fa=>{const _0x5df028=_0x24e9c3;_0x48b8fa[_0x5df028(0x1c1)](),this[_0x5df028(0x1a6)](_0x262b72);});}),_0x1a1932[_0x524641(0x1cc)]({'viewClass':_0x524641(0x1b6)});const _0x5a7982=_0x5b9948=>{const _0x40b501=_0x524641;_0x5b9948[_0x40b501(0x1a5)](),_0x1a1932[_0x40b501(0x1d1)](_0x5b9948);};for(const _0x3caca3 of _0x262b72)_0x5a7982(_0x3caca3);this[_0x524641(0x1ae)](_0x262b72,_0x524641(0x1b9),(_0x2910cc,_0x379b30)=>{_0x5a7982(_0x379b30);}),this[_0x524641(0x1ae)](_0x262b72,_0x524641(0x1d4),(_0x36cf30,_0x149361,_0x1df325)=>{const _0x4cc892=_0x524641;_0x1a1932[_0x4cc892(0x1ad)]({'removedAnnotation':_0x149361,'previousAnnotation':_0x262b72[_0x4cc892(0x1ac)](_0x1df325-0x1),'nextAnnotation':_0x262b72[_0x4cc892(0x1ac)](_0x1df325+0x1)}),_0x149361===this[_0x4cc892(0x1c8)]&&this[_0x4cc892(0x1b1)](null);},{'priority':_0x524641(0x1c5)}),this[_0x524641(0x1ae)](_0x262b72,_0x524641(0x1d3),(_0x94b4a4,_0x14de28)=>{const _0x10123f=_0x524641;this[_0x10123f(0x1b1)](_0x14de28);}),this[_0x524641(0x1ae)](_0x262b72,_0x524641(0x1c9),()=>{const _0xc5214c=_0x524641;this[_0xc5214c(0x1b1)](null);});const _0x132eba=this[_0x524641(0x19d)]instanceof _0x6fbdaa?this[_0x524641(0x19d)][_0x524641(0x1dc)]:new _0x2f4735([this[_0x524641(0x19d)]]);for(const _0x5d95f5 of _0x132eba)this[_0x524641(0x1b3)](_0x5d95f5);this[_0x524641(0x1ae)](_0x132eba,_0x524641(0x1b9),(_0x46290d,_0x21030b)=>{const _0x21999e=_0x524641;this[_0x21999e(0x1ae)](_0x21030b,_0x21999e(0x1b2),()=>{const _0x5c0667=_0x21999e;this[_0x5c0667(0x1b3)](_0x21030b);});}),this[_0x524641(0x1ae)](_0x132eba,_0x524641(0x1d4),(_0x577319,_0x5541ef)=>{const _0xe36097=_0x524641;_0x5541ef[_0xe36097(0x1d2)][_0xe36097(0x1bb)](_0xe36097(0x1b4))&&this[_0xe36097(0x1a2)](_0x5541ef[_0xe36097(0x1d2)][_0xe36097(0x1ac)](_0xe36097(0x1b4)));}),window[_0x524641(0x1d6)](_0x524641(0x1bc),this[_0x524641(0x1ab)]),this[_0x524641(0x19c)][_0x524641(0x1b8)]();}[_0x237878(0x1bf)](){const _0x4f53d9=_0x237878;if(!this[_0x4f53d9(0x1c0)])throw new _0x349a6c(_0x4f53d9(0x1a3),this);this[_0x4f53d9(0x1b1)](null);const _0x3c2789=this[_0x4f53d9(0x19d)][_0x4f53d9(0x1d2)][_0x4f53d9(0x1ac)](_0x42b5e9);_0x3c2789[_0x4f53d9(0x1d9)](this[_0x4f53d9(0x19c)]),this[_0x4f53d9(0x1b5)](_0x3c2789),this[_0x4f53d9(0x1b5)](this[_0x4f53d9(0x19c)]),this[_0x4f53d9(0x19d)]instanceof _0x6fbdaa&&this[_0x4f53d9(0x1b5)](this[_0x4f53d9(0x19d)][_0x4f53d9(0x1dc)]);for(const _0x4cfba3 of Array[_0x4f53d9(0x1c7)](this[_0x4f53d9(0x1af)]))this[_0x4f53d9(0x1a2)](_0x4cfba3);window[_0x4f53d9(0x1d8)](_0x4f53d9(0x1bc),this[_0x4f53d9(0x1ab)]),this[_0x4f53d9(0x1ab)][_0x4f53d9(0x1a8)](),this[_0x4f53d9(0x1c8)]=null,this[_0x4f53d9(0x1c0)]=!0x1,this[_0x4f53d9(0x19c)]=null;}[_0x237878(0x1d5)](){const _0x536b86=_0x237878;this[_0x536b86(0x1c0)]&&this[_0x536b86(0x1bf)]();}[_0x237878(0x1b3)](_0x9bee82){const _0x10f795=_0x237878,_0x360795=_0x9bee82[_0x10f795(0x1d2)][_0x10f795(0x1ac)](_0xca3ef9);if(!_0x360795)return;const _0x4c625a=()=>{const _0x12f466=_0x10f795,_0x3c50e4=_0x360795[_0x12f466(0x1a7)]({'annotations':this[_0x12f466(0x19c)],'activeAnnotation':this[_0x12f466(0x1c8)]});this[_0x12f466(0x1b1)](_0x3c50e4[0x0]||null);};this[_0x10f795(0x1ae)](_0x360795,_0x10f795(0x19e),_0x4c625a),this[_0x10f795(0x1ae)](_0x360795,_0x10f795(0x1c9),(_0x5e1b5e,{isAnnotationTracked:_0x213980})=>{const _0x579e17=_0x10f795;this[_0x579e17(0x1c8)]&&_0x213980(this[_0x579e17(0x1c8)])&&this[_0x579e17(0x1b1)](null);}),this[_0x10f795(0x1ae)](_0x360795,_0x10f795(0x1c2),()=>{const _0x5e59f1=_0x10f795;this[_0x5e59f1(0x1ab)]();}),this[_0x10f795(0x1ae)](this[_0x10f795(0x19c)],_0x10f795(0x1c9),_0x3482ce=>{const _0x1d735f=_0x10f795;_0x360795[_0x1d735f(0x1b0)]()&&(_0x4c625a(),_0x3482ce[_0x1d735f(0x1dd)]());},{'priority':_0x10f795(0x1c5)}),this[_0x10f795(0x1af)][_0x10f795(0x1b9)](_0x360795);}[_0x237878(0x1a2)](_0x24dcff){const _0x4dabf0=_0x237878;this[_0x4dabf0(0x1b5)](_0x24dcff),this[_0x4dabf0(0x1af)][_0x4dabf0(0x1d4)](_0x24dcff);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5920(_0x20d783,_0x21da86){const _0x5ce8c9=_0x5ce8();return _0x5920=function(_0x592087,_0x30422b){_0x592087=_0x592087-0xee;let _0x16cc29=_0x5ce8c9[_0x592087];return _0x16cc29;},_0x5920(_0x20d783,_0x21da86);}const _0x56c52a=_0x5920;(function(_0x288566,_0x134bdc){const _0x34378e=_0x5920,_0x3906c3=_0x288566();while(!![]){try{const _0x3d8842=parseInt(_0x34378e(0xfd))/0x1+parseInt(_0x34378e(0xf2))/0x2*(parseInt(_0x34378e(0xf3))/0x3)+-parseInt(_0x34378e(0x101))/0x4+parseInt(_0x34378e(0xf0))/0x5*(parseInt(_0x34378e(0x115))/0x6)+parseInt(_0x34378e(0x111))/0x7*(-parseInt(_0x34378e(0xfe))/0x8)+-parseInt(_0x34378e(0x102))/0x9*(parseInt(_0x34378e(0x10e))/0xa)+parseInt(_0x34378e(0xf7))/0xb*(-parseInt(_0x34378e(0xfa))/0xc);if(_0x3d8842===_0x134bdc)break;else _0x3906c3['push'](_0x3906c3['shift']());}catch(_0x3be376){_0x3906c3['push'](_0x3906c3['shift']());}}}(_0x5ce8,0x3c7ac));import{Command as _0x4949f4}from'ckeditor5/src/core.js';import{uid as _0x530ea6}from'ckeditor5/src/utils.js';export default class G extends _0x4949f4{[_0x56c52a(0xf8)](){const _0x5a21ab=_0x56c52a,_0x3ef3b1=this[_0x5a21ab(0xf5)][_0x5a21ab(0x109)][_0x5a21ab(0xfb)][_0x5a21ab(0xf1)];for(const _0x6f5bd0 of _0x3ef3b1[_0x5a21ab(0x113)]())if(this[_0x5a21ab(0xfc)](_0x6f5bd0))return void(this[_0x5a21ab(0x107)]=!0x0);this[_0x5a21ab(0x107)]=!0x1;}[_0x56c52a(0xf6)]({threadId:_0x4000c0=_0x530ea6()}={}){const _0x2e2868=_0x56c52a,_0x6f854b=this[_0x2e2868(0xf5)][_0x2e2868(0x109)],_0x231ef6=[];for(const _0x1168f3 of _0x6f854b[_0x2e2868(0xfb)][_0x2e2868(0xf1)][_0x2e2868(0x113)]())this[_0x2e2868(0xfc)](_0x1168f3)&&_0x231ef6[_0x2e2868(0x10d)](this[_0x2e2868(0x110)](_0x1168f3));_0x6f854b[_0x2e2868(0x103)](_0x35b2fb=>{const _0x343ec1=_0x2e2868;for(const _0x446d4c of _0x231ef6){const _0x81b917=_0x530ea6()[_0x343ec1(0x10c)](0x1,0x5),_0x44111c=_0x343ec1(0x112)+_0x4000c0+':'+_0x81b917;_0x35b2fb[_0x343ec1(0x114)](_0x44111c,{'range':_0x446d4c,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x56c52a(0xfc)](_0x416eac){const _0x2a00e3=_0x56c52a;for(const _0x11af72 of _0x416eac[_0x2a00e3(0x106)]())if(this[_0x2a00e3(0x105)](_0x11af72))return!0x0;return!0x1;}[_0x56c52a(0x105)](_0x3b9855){const _0xc83df5=_0x56c52a;return _0x3b9855['is'](_0xc83df5(0xf9))||this[_0xc83df5(0xf5)][_0xc83df5(0x109)][_0xc83df5(0x104)][_0xc83df5(0xff)](_0x3b9855)&&!_0x3b9855['is'](_0xc83df5(0x10a),_0xc83df5(0xee));}[_0x56c52a(0x110)](_0x5d92f1){const _0x55bdf0=_0x56c52a,_0x495a3c=_0x5e808c=>!this[_0x55bdf0(0x105)](_0x5e808c[_0x55bdf0(0x100)]),_0xed6592=_0x5d92f1[_0x55bdf0(0xf4)][_0x55bdf0(0x10b)](_0x495a3c),_0x277d03=_0x5d92f1[_0x55bdf0(0xef)][_0x55bdf0(0x10b)](_0x495a3c,{'direction':_0x55bdf0(0x10f)});return this[_0x55bdf0(0xf5)][_0x55bdf0(0x109)][_0x55bdf0(0x108)](_0xed6592,_0x277d03);}}function _0x5ce8(){const _0x50e0ac=['editor','execute','1001iyCYeE','refresh','$textProxy','62412FLAktG','document','_hasContent','460046dupjaW','8PgXsxP','isObject','item','1625424SNqeGT','59283dcdGPn','change','schema','_itemIsContent','getItems','isEnabled','createRange','model','element','getLastMatchingPosition','substr','push','70mutJUg','backward','_trimToContent','359247OKsESH','comment:','getRanges','addMarker','42VMqbuK','tableCell','end','276095sOiUbm','selection','58188VUnapg','39gqadoc','start'];_0x5ce8=function(){return _0x50e0ac;};return _0x5ce8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f3e52=_0x2938;(function(_0x49da46,_0x22e70a){const _0x2e772d=_0x2938,_0x23c77b=_0x49da46();while(!![]){try{const _0x51e864=-parseInt(_0x2e772d(0x15d))/0x1*(-parseInt(_0x2e772d(0x169))/0x2)+parseInt(_0x2e772d(0x145))/0x3*(-parseInt(_0x2e772d(0x15f))/0x4)+parseInt(_0x2e772d(0x157))/0x5*(parseInt(_0x2e772d(0x15a))/0x6)+parseInt(_0x2e772d(0x14c))/0x7*(-parseInt(_0x2e772d(0x144))/0x8)+parseInt(_0x2e772d(0x155))/0x9*(-parseInt(_0x2e772d(0x158))/0xa)+-parseInt(_0x2e772d(0x161))/0xb*(-parseInt(_0x2e772d(0x152))/0xc)+parseInt(_0x2e772d(0x156))/0xd;if(_0x51e864===_0x22e70a)break;else _0x23c77b['push'](_0x23c77b['shift']());}catch(_0x1ddf3d){_0x23c77b['push'](_0x23c77b['shift']());}}}(_0x2605,0x37062));import{ContextPlugin as _0xddf5dc}from'ckeditor5/src/core.js';function _0x2938(_0x321c27,_0x4ad1f4){const _0x260539=_0x2605();return _0x2938=function(_0x293882,_0x3d52bb){_0x293882=_0x293882-0x143;let _0x2104dd=_0x260539[_0x293882];return _0x2104dd;},_0x2938(_0x321c27,_0x4ad1f4);}import{Collection as _0x45046d}from'ckeditor5/src/utils.js';import _0x438abe from'./commentsrepository.js';import _0x48a2b3 from'../annotations/annotations.js';function _0x2605(){const _0x228857=['focus','7fzuvyE','addCommentThread','init','get','collection','pluginName','12DQGjoN','stopListening','removeCommentThread','2052peERPZ','805831rtKHtz','75TeHZze','1460QZanHZ','length','155904xnoeGx','archivedThreads','context','13UzSpdB','activate','124SisUef','requires','4219853tAoQXp','isActive','plugins','_calculatePosition','archivedAt','listenTo','remove','has','10006gvOPtp','findIndex','2675272FYGruo','29742tLJeky','add','getCommentThread','highest','CommentsArchive','change:archivedAt'];_0x2605=function(){return _0x228857;};return _0x2605();}export default class p extends _0xddf5dc{static get[_0x1f3e52(0x151)](){const _0x59ce17=_0x1f3e52;return _0x59ce17(0x149);}static get[_0x1f3e52(0x160)](){return[_0x438abe,_0x48a2b3];}constructor(_0x260ff4){const _0x5841a0=_0x1f3e52;super(_0x260ff4),this[_0x5841a0(0x15b)]=new _0x45046d();}[_0x1f3e52(0x14e)](){const _0x227e09=_0x1f3e52,_0x17dd5e=this[_0x227e09(0x15c)],_0x4f2771=_0x17dd5e[_0x227e09(0x163)][_0x227e09(0x14f)](_0x438abe),_0x504e7=_0x17dd5e[_0x227e09(0x163)][_0x227e09(0x14f)](_0x48a2b3);this[_0x227e09(0x166)](_0x4f2771,_0x227e09(0x14d),(_0x4ca521,{threadId:_0xfd5f15})=>{const _0x294c38=_0x227e09,_0x2ba120=_0x4f2771[_0x294c38(0x147)](_0xfd5f15);_0x2ba120[_0x294c38(0x165)]&&this[_0x294c38(0x15b)][_0x294c38(0x146)](_0x2ba120,this[_0x294c38(0x164)](_0x2ba120[_0x294c38(0x165)])),this[_0x294c38(0x166)](_0x2ba120,_0x294c38(0x14a),(_0x476fcb,_0x2767aa,_0xd57253)=>{const _0x24315c=_0x294c38;_0xd57253?this[_0x24315c(0x15b)][_0x24315c(0x168)](_0x2ba120)||this[_0x24315c(0x15b)][_0x24315c(0x146)](_0x2ba120,this[_0x24315c(0x164)](_0x2ba120[_0x24315c(0x165)])):this[_0x24315c(0x15b)][_0x24315c(0x168)](_0x2ba120)&&this[_0x24315c(0x15b)][_0x24315c(0x167)](_0x2ba120);});}),this[_0x227e09(0x166)](_0x4f2771,_0x227e09(0x154),(_0x4d1392,{threadId:_0x3db531})=>{const _0x533f77=_0x227e09,_0x1d1621=_0x4f2771[_0x533f77(0x147)](_0x3db531);this[_0x533f77(0x153)](_0x1d1621),this[_0x533f77(0x15b)][_0x533f77(0x168)](_0x1d1621)&&this[_0x533f77(0x15b)][_0x533f77(0x167)](_0x1d1621);},{'priority':_0x227e09(0x148)}),this[_0x227e09(0x166)](_0x504e7[_0x227e09(0x150)],_0x227e09(0x14b),(_0x3668b7,_0x446be1)=>{const _0x1352ac=_0x227e09;_0x446be1[_0x1352ac(0x162)]=!0x0,_0x504e7[_0x1352ac(0x15e)](_0x446be1);});}[_0x1f3e52(0x164)](_0x4a1743){const _0x5b9d04=_0x1f3e52,_0x3b5a86=[...this[_0x5b9d04(0x15b)]][_0x5b9d04(0x143)](_0x921e5a=>_0x921e5a[_0x5b9d04(0x165)]<_0x4a1743);return _0x3b5a86>-0x1?_0x3b5a86:this[_0x5b9d04(0x15b)][_0x5b9d04(0x159)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f5260=_0xcc59;(function(_0x379975,_0x22c74b){const _0x53b4f7=_0xcc59,_0x38879d=_0x379975();while(!![]){try{const _0x30e4d6=-parseInt(_0x53b4f7(0x188))/0x1*(-parseInt(_0x53b4f7(0x1a5))/0x2)+-parseInt(_0x53b4f7(0x1a4))/0x3*(parseInt(_0x53b4f7(0x191))/0x4)+-parseInt(_0x53b4f7(0x1a0))/0x5+-parseInt(_0x53b4f7(0x194))/0x6*(-parseInt(_0x53b4f7(0x1af))/0x7)+parseInt(_0x53b4f7(0x18f))/0x8+-parseInt(_0x53b4f7(0x19c))/0x9*(-parseInt(_0x53b4f7(0x1b6))/0xa)+parseInt(_0x53b4f7(0x183))/0xb;if(_0x30e4d6===_0x22c74b)break;else _0x38879d['push'](_0x38879d['shift']());}catch(_0x239ee4){_0x38879d['push'](_0x38879d['shift']());}}}(_0x2083,0xd6cb7));import'../../theme/commentsarchive.css';function _0xcc59(_0x567455,_0x8a8f17){const _0x208366=_0x2083();return _0xcc59=function(_0xcc59e,_0x1d497d){_0xcc59e=_0xcc59e-0x177;let _0x5dfda4=_0x208366[_0xcc59e];return _0x5dfda4;},_0xcc59(_0x567455,_0x8a8f17);}import{Plugin as _0x2e4231}from'ckeditor5/src/core.js';function _0x2083(){const _0xfa4362=['execute','collection','focusableElements','channelId','collaboration.channelId','1039384eTgMdC','archivedAt','621932pSLbqs','EDITOR_TOP_SIDE','show','48DJZlCb','hide','add','remove','init','Dialog','locale','_pendingThreads','391329Qqlgis','getByInnerView','_visibleAnnotations','pluginName','7519865bzlUos','commentsArchive','_toggleDialog','config','33nZeOAA','322OvbNPm','isVisible','_createCommentsArchiveButton','commentsArchiveView','Annotations','COMMENTS_ARCHIVE','requires','indexOf','bind','CommentsRepository','531139LUKqgC','view','findIndex','splice','annotationViews','push','find','360wSLxNf','stopListening','archivedThreads','componentFactory','_calculatePosition','tooltip','menuBar:commentsArchive','filter','get','CommentsArchiveUI','set','_threadToController','listenTo','12248907woHBSn','innerView','length','editor','isEnabled','4213WsERAy','plugins'];_0x2083=function(){return _0xfa4362;};return _0x2083();}import{ViewCollection as _0x259a97,MenuBarMenuListItemButtonView as _0x593b2a,ButtonView as _0x4e0739,Dialog as _0x222895,DialogViewPosition as _0x3e0cd6}from'ckeditor5/src/ui.js';import _0x537c14 from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x140a3a}from'../utils/common-translations.js';import _0x5949cd from'./ui/view/commentsarchiveview.js';import _0x45cbde from'./commentsarchive.js';export default class a extends _0x2e4231{static get[_0x2f5260(0x19f)](){const _0x40ac45=_0x2f5260;return _0x40ac45(0x17f);}static get[_0x2f5260(0x1ab)](){return[_0x45cbde,_0x222895];}constructor(_0x2af5e6){const _0x40780c=_0x2f5260;super(_0x2af5e6),this[_0x40780c(0x1b3)]=new _0x259a97(),this[_0x40780c(0x19b)]=[];}[_0x2f5260(0x198)](){const _0x336293=_0x2f5260;this[_0x336293(0x186)]['ui'][_0x336293(0x179)][_0x336293(0x196)](_0x336293(0x1a1),()=>this[_0x336293(0x1a7)](_0x4e0739,!0x0)),this[_0x336293(0x186)]['ui'][_0x336293(0x179)][_0x336293(0x196)](_0x336293(0x17c),()=>this[_0x336293(0x1a7)](_0x593b2a));const _0x2aea87=this[_0x336293(0x186)][_0x336293(0x189)][_0x336293(0x17e)](_0x45cbde),_0x44dd0c=this[_0x336293(0x186)][_0x336293(0x189)][_0x336293(0x17e)](_0x336293(0x1a9)),_0x3d2e7f=this[_0x336293(0x186)][_0x336293(0x189)][_0x336293(0x17e)](_0x336293(0x1ae));this[_0x336293(0x182)](_0x2aea87[_0x336293(0x178)],_0x336293(0x196),(_0x19746f,_0x42d32d)=>{const _0x1b1043=_0x336293,_0x2db7e4=this[_0x1b1043(0x186)][_0x1b1043(0x1a3)][_0x1b1043(0x17e)](_0x1b1043(0x18e));if(!_0x2db7e4||_0x42d32d[_0x1b1043(0x18d)]===_0x2db7e4){const _0xb68624=_0x3d2e7f[_0x1b1043(0x181)][_0x1b1043(0x17e)](_0x42d32d);if(!_0xb68624)return void this[_0x1b1043(0x19b)][_0x1b1043(0x1b4)](_0x42d32d);const _0xa5f4ff=this[_0x1b1043(0x17a)](_0x42d32d[_0x1b1043(0x190)]),_0x3f84ab=_0x44dd0c[_0x1b1043(0x19d)](_0xb68624[_0x1b1043(0x1b0)]);_0x3f84ab[_0x1b1043(0x1a6)]&&_0x44dd0c[_0x1b1043(0x19e)][_0x1b1043(0x197)](_0x3f84ab),this[_0x1b1043(0x1b3)][_0x1b1043(0x196)](_0x3f84ab[_0x1b1043(0x1b0)],_0xa5f4ff);}}),this[_0x336293(0x182)](_0x44dd0c[_0x336293(0x18b)],_0x336293(0x196),(_0x5adfd7,_0xadd052)=>{const _0xcc0c50=_0x336293,_0x13da8f=this[_0xcc0c50(0x19b)][_0xcc0c50(0x1b5)](_0x508b9d=>{const _0x30cf62=_0xcc0c50,_0x4d8ba6=_0x3d2e7f[_0x30cf62(0x181)][_0x30cf62(0x17e)](_0x508b9d);return _0x4d8ba6&&_0xadd052[_0x30cf62(0x184)]===_0x4d8ba6[_0x30cf62(0x1b0)];});if(_0x13da8f){const _0x2b5dab=this[_0xcc0c50(0x17a)](_0x13da8f[_0xcc0c50(0x190)]);this[_0xcc0c50(0x1b3)][_0xcc0c50(0x196)](_0xadd052[_0xcc0c50(0x1b0)],_0x2b5dab),this[_0xcc0c50(0x19b)][_0xcc0c50(0x1b2)](this[_0xcc0c50(0x19b)][_0xcc0c50(0x1ac)](_0x13da8f),0x1);}}),this[_0x336293(0x182)](_0x2aea87[_0x336293(0x178)],_0x336293(0x197),(_0x4f6342,_0x4cf5e2)=>{const _0x3f3e9d=_0x336293,_0x571e5d=this[_0x3f3e9d(0x186)][_0x3f3e9d(0x1a3)][_0x3f3e9d(0x17e)](_0x3f3e9d(0x18e));if(!_0x571e5d||_0x4cf5e2[_0x3f3e9d(0x18d)]===_0x571e5d){const _0x22d3ef=_0x3d2e7f[_0x3f3e9d(0x181)][_0x3f3e9d(0x17e)](_0x4cf5e2),_0x38f8f4=_0x44dd0c[_0x3f3e9d(0x19d)](_0x22d3ef[_0x3f3e9d(0x1b0)]);this[_0x3f3e9d(0x1b3)][_0x3f3e9d(0x197)](_0x38f8f4[_0x3f3e9d(0x1b0)]),this[_0x3f3e9d(0x177)](_0x38f8f4[_0x3f3e9d(0x18c)]);}});}[_0x2f5260(0x17a)](_0xa321f8){const _0x55b18d=_0x2f5260,_0xaabc67=this[_0x55b18d(0x186)][_0x55b18d(0x1a3)][_0x55b18d(0x17e)](_0x55b18d(0x18e)),_0x4ff574=[...this[_0x55b18d(0x186)][_0x55b18d(0x189)][_0x55b18d(0x17e)](_0x45cbde)[_0x55b18d(0x178)]][_0x55b18d(0x17d)](_0x184bbe=>_0x184bbe[_0x55b18d(0x18d)]===_0xaabc67)[_0x55b18d(0x1b1)](_0x4b7a2c=>_0x4b7a2c[_0x55b18d(0x190)]<_0xa321f8);return _0x4ff574<0x0||_0x4ff574>this[_0x55b18d(0x1b3)][_0x55b18d(0x185)]?this[_0x55b18d(0x1b3)][_0x55b18d(0x185)]:_0x4ff574-0x1;}[_0x2f5260(0x1a2)](){const _0x500360=_0x2f5260,_0x196969=this[_0x500360(0x186)],_0x38f21d=_0x196969[_0x500360(0x189)][_0x500360(0x17e)](_0x500360(0x199));this[_0x500360(0x1a8)]||(this[_0x500360(0x1a8)]=new _0x5949cd(_0x196969[_0x500360(0x19a)],this[_0x500360(0x1b3)])),_0x500360(0x1a1)===_0x38f21d['id']?_0x38f21d[_0x500360(0x195)]():_0x38f21d[_0x500360(0x193)]({'id':_0x500360(0x1a1),'title':_0x140a3a(_0x196969[_0x500360(0x19a)],_0x500360(0x1aa)),'icon':_0x537c14,'hasCloseButton':!0x0,'content':this[_0x500360(0x1a8)],'position':_0x3e0cd6[_0x500360(0x192)]});}[_0x2f5260(0x1a7)](_0x274363,_0x32ab4c=!0x1){const _0x4ffb24=_0x2f5260,_0x2932e8=this[_0x4ffb24(0x186)][_0x4ffb24(0x19a)],_0x14ea3=new _0x274363(_0x2932e8);return _0x14ea3[_0x4ffb24(0x1ad)](_0x4ffb24(0x187))['to'](this,_0x4ffb24(0x187)),_0x14ea3[_0x4ffb24(0x180)]({'label':_0x140a3a(_0x2932e8,_0x4ffb24(0x1aa)),'icon':_0x537c14}),_0x32ab4c&&(_0x14ea3[_0x4ffb24(0x17b)]=!0x0),this[_0x4ffb24(0x182)](_0x14ea3,_0x4ffb24(0x18a),()=>this[_0x4ffb24(0x1a2)]()),_0x14ea3;}}
|