@ckeditor/ckeditor5-comments 44.0.0 → 44.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/annotations/annotation.d.ts +1 -1
- package/dist/annotations/annotationcollection.d.ts +1 -1
- package/dist/annotations/annotations.d.ts +1 -1
- package/dist/annotations/annotationsuis.d.ts +1 -1
- package/dist/annotations/editorannotations.d.ts +1 -1
- package/dist/annotations/inlineannotations.d.ts +1 -1
- package/dist/annotations/narrowsidebar.d.ts +1 -1
- package/dist/annotations/sidebar.d.ts +1 -1
- package/dist/annotations/view/annotationcounterbuttonview.d.ts +1 -1
- package/dist/annotations/view/annotationview.d.ts +1 -1
- package/dist/annotations/view/sidebaritemview.d.ts +1 -1
- package/dist/annotations/view/sidebarview.d.ts +1 -1
- package/dist/annotations/widesidebar.d.ts +1 -1
- package/dist/augmentation.d.ts +1 -1
- package/dist/comments/addcommentthreadcommand.d.ts +1 -1
- package/dist/comments/commentsarchive.d.ts +1 -1
- package/dist/comments/commentsarchiveui.d.ts +1 -1
- package/dist/comments/commentsediting.d.ts +3 -2
- package/dist/comments/commentsrepository.d.ts +1 -1
- package/dist/comments/commentsui.d.ts +1 -1
- package/dist/comments/integrations/clipboard.d.ts +1 -1
- package/dist/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
- package/dist/comments/integrations/importword.d.ts +1 -1
- package/dist/comments/integrations/showcommenthighlights.d.ts +23 -0
- package/dist/comments/ui/commenteditor/commenteditor.d.ts +1 -1
- package/dist/comments/ui/commenteditor/commenteditorui.d.ts +1 -1
- package/dist/comments/ui/commenteditor/commenteditoruiview.d.ts +1 -1
- package/dist/comments/ui/commentthreadcontroller.d.ts +1 -1
- package/dist/comments/ui/view/basecommentthreadview.d.ts +1 -1
- package/dist/comments/ui/view/basecommentview.d.ts +1 -1
- package/dist/comments/ui/view/collapsedcommentsview.d.ts +1 -1
- package/dist/comments/ui/view/commentcontentview.d.ts +1 -1
- package/dist/comments/ui/view/commentinputview.d.ts +1 -1
- package/dist/comments/ui/view/commentsarchiveview.d.ts +1 -1
- package/dist/comments/ui/view/commentslistview.d.ts +1 -1
- package/dist/comments/ui/view/commentthreadheadercontextview.d.ts +1 -1
- package/dist/comments/ui/view/commentthreadheaderview.d.ts +1 -1
- package/dist/comments/ui/view/commentthreadinputview.d.ts +1 -1
- package/dist/comments/ui/view/commentthreadview.d.ts +1 -1
- package/dist/comments/ui/view/commentview.d.ts +1 -1
- package/dist/comments.d.ts +1 -1
- package/dist/commentsonly.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/index-content.css +30 -0
- package/dist/index-editor.css +0 -27
- package/dist/index.css +19 -19
- package/dist/index.d.ts +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/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/utils/common-translations.d.ts +1 -1
- package/dist/utils/createmutationobserver.d.ts +1 -1
- package/package.json +16 -15
- package/src/annotations/annotation.d.ts +1 -1
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.d.ts +1 -1
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.d.ts +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.d.ts +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.d.ts +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.d.ts +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.d.ts +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.d.ts +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.d.ts +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.d.ts +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.d.ts +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.d.ts +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.d.ts +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/augmentation.d.ts +1 -1
- package/src/comments/addcommentthreadcommand.d.ts +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.d.ts +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.d.ts +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.d.ts +3 -2
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.d.ts +1 -1
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.d.ts +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.d.ts +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.d.ts +19 -0
- package/src/comments/integrations/showcommenthighlights.js +23 -0
- package/src/comments/ui/commenteditor/commenteditor.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.d.ts +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.d.ts +1 -1
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.d.ts +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.d.ts +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.d.ts +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.d.ts +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.d.ts +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.d.ts +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.d.ts +1 -1
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.d.ts +1 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.d.ts +1 -1
- package/src/commentsonly.js +1 -1
- package/src/config.d.ts +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.d.ts +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/annotation-inline.css +1 -1
- package/theme/annotation.css +1 -1
- package/theme/comment.css +1 -1
- package/theme/commentinput.css +1 -1
- package/theme/commentmarker.css +3 -3
- package/theme/commentsarchive.css +1 -1
- package/theme/commentthread.css +1 -1
- package/theme/sidebar-narrow.css +1 -1
- package/theme/sidebar.css +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4e274d=_0x3882;(function(_0x1a1260,_0x5c68b5){const _0x4b07f8=_0x3882,_0x1fd111=_0x1a1260();while(!![]){try{const _0x3f8f96=parseInt(_0x4b07f8(0x139))/0x1+parseInt(_0x4b07f8(0x16a))/0x2+parseInt(_0x4b07f8(0x172))/0x3*(parseInt(_0x4b07f8(0x15f))/0x4)+-parseInt(_0x4b07f8(0x147))/0x5+-parseInt(_0x4b07f8(0x16d))/0x6+-parseInt(_0x4b07f8(0x136))/0x7*(-parseInt(_0x4b07f8(0x126))/0x8)+parseInt(_0x4b07f8(0x15b))/0x9;if(_0x3f8f96===_0x5c68b5)break;else _0x1fd111['push'](_0x1fd111['shift']());}catch(_0x35c5c9){_0x1fd111['push'](_0x1fd111['shift']());}}}(_0x3567,0xb7e40));import{ContextPlugin as _0x390159,Context as _0x333cfe}from'ckeditor5/src/core.js';function _0x3567(){const _0x24e2c1=['_destroyEditorAnnotationsIntegration','execute','1149849SOEmGb','isPremiumPlugin','_refreshPositioning','Esc','1401820DzodmL','context','southArrowNorthWest','annotationType','narrowsidebar-detach-not-attached','refreshPositioning','preventClosingBalloon','preventDefault','_domEmitter','from','low','1163022weZKXf','getSidebarItemView','resize','1293546XKEViq','ck-sidebar--narrow','southArrowNorthEast','narrowSidebar','_detachFromContainer','3ZxcDQd','remove','_detachListeners','esc','values','length','balloonPanelView','keydown','_attachListeners','attachToDom','focus','requires','init','_annotations','annotations','activeAnnotation','_manuallyClosedAnnotationViews','delete','narrowsidebar-attach-already-attached','number','type','destroy','isAttached','bind','get','addAnnotation','_refreshPositioningDebounced','target','getOrderedSelectedAnnotations','stopPropagation','set','_showBalloon','listenTo','addEventListener','northArrowSouthWest','clear','EditorAnnotations','add','pluginName','editors','keyCode','removeEventListener','bodyCollection','set:container','getByView','cancel','detach','159416JMmRVK','includes','defaultPositions','NarrowSidebar','detachFromDom','off','_annotationToNarrowView','_editorAnnotations','find','northArrowSouthEast','refresh','_hideBalloon','mousedown','contains','register','rearrange','329xQUQWi','change:height','isVisible','404094AYgEtL','setActiveAnnotation','isOfficialPlugin','locale','element','attach','_integrateWithEditorAnnotations','first','change:container','_updateBalloonPosition','blur','view','unpin','focusableElements','7157915KzAoOP','high','uiUpdate','northArrowSouth','content','_selectedAnnotations','create','pin','_attachToContainer','isDirty','hasDomSelection','_setSelectedAnnotations','ready','plugins','has','stopListening','southArrowNorth','stop'];_0x3567=function(){return _0x24e2c1;};return _0x3567();}import _0x56d087 from'./annotationsuis.js';import _0x119b27 from'./sidebar.js';import _0x3ad2e9 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x51fac2,BodyCollection as _0x5b31f1}from'ckeditor5/src/ui.js';import{CKEditorError as _0x52c2bc,DomEmitterMixin as _0x20facb,keyCodes as _0x8753f4,Collection as _0x161d2a}from'ckeditor5/src/utils.js';function _0x3882(_0x26a829,_0x3111a7){const _0x3567ff=_0x3567();return _0x3882=function(_0x3882bf,_0x19412f){_0x3882bf=_0x3882bf-0x113;let _0x44073c=_0x3567ff[_0x3882bf];return _0x44073c;},_0x3882(_0x26a829,_0x3111a7);}import'../../theme/sidebar-narrow.css';import{debounce as _0x334885}from'lodash-es';export default class n extends _0x390159{static get[_0x4e274d(0x17d)](){return[_0x119b27,_0x56d087];}static get[_0x4e274d(0x11d)](){const _0xa55ed4=_0x4e274d;return _0xa55ed4(0x129);}static get[_0x4e274d(0x13b)](){return!0x0;}static get[_0x4e274d(0x15c)](){return!0x0;}constructor(_0xc4ed74){const _0x5dac1d=_0x4e274d;super(_0xc4ed74),this[_0x5dac1d(0x188)]=!0x1,this[_0x5dac1d(0x182)]=new Set(),this[_0x5dac1d(0x167)]=Object[_0x5dac1d(0x14d)](_0x20facb),this[_0x5dac1d(0x12c)]=new Map(),this[_0x5dac1d(0x115)](_0x5dac1d(0x181),null),this[_0x5dac1d(0x180)]=null,this[_0x5dac1d(0x14c)]=[],this[_0x5dac1d(0x12d)]=new _0x161d2a(),this[_0x5dac1d(0x18c)]=_0x334885(()=>{const _0x5c43cb=_0x5dac1d;this[_0x5c43cb(0x15d)]();},0xfa,{'leading':!0x1});}[_0x4e274d(0x17e)](){const _0x9989a4=_0x4e274d;this[_0x9989a4(0x160)][_0x9989a4(0x154)][_0x9989a4(0x18a)](_0x56d087)[_0x9989a4(0x134)](_0x9989a4(0x170),this),this[_0x9989a4(0x121)]=new _0x5b31f1(this[_0x9989a4(0x160)][_0x9989a4(0x13c)]),this[_0x9989a4(0x178)]=new _0x51fac2(this[_0x9989a4(0x160)][_0x9989a4(0x13c)]),this[_0x9989a4(0x121)][_0x9989a4(0x17b)](),this[_0x9989a4(0x121)][_0x9989a4(0x11c)](this[_0x9989a4(0x178)]);}[_0x4e274d(0x13e)](_0x386cca){const _0x3fd08c=_0x4e274d;this[_0x3fd08c(0x180)]=_0x386cca;const _0x22ba94=this[_0x3fd08c(0x160)][_0x3fd08c(0x154)][_0x3fd08c(0x18a)](_0x119b27),_0x2f4acb=this[_0x3fd08c(0x178)];if(_0x22ba94[_0x3fd08c(0x17f)]=_0x386cca,this[_0x3fd08c(0x188)])throw new _0x52c2bc(_0x3fd08c(0x184),this);this[_0x3fd08c(0x188)]=!0x0,this[_0x3fd08c(0x117)](_0x22ba94,_0x3fd08c(0x122),()=>{const _0x51da04=_0x3fd08c;this[_0x51da04(0x125)](),this[_0x51da04(0x117)](_0x22ba94,_0x51da04(0x141),_0x27cfa9=>{const _0x17d32c=_0x51da04;_0x27cfa9[_0x17d32c(0x12b)](),this[_0x17d32c(0x13e)](_0x386cca);});}),_0x22ba94[_0x3fd08c(0x14f)]({'viewClass':_0x3fd08c(0x16e),'spaceBetweenItems':0x5});const _0xadca0=_0x5b03ec=>{const _0x32e535=_0x3fd08c,_0x201d47=new _0x3ad2e9(this[_0x32e535(0x160)][_0x32e535(0x13c)]);_0x22ba94[_0x32e535(0x18b)](_0x5b03ec,_0x201d47),this[_0x32e535(0x12c)][_0x32e535(0x115)](_0x5b03ec,_0x201d47),_0x201d47[_0x32e535(0x189)](_0x32e535(0x150),_0x32e535(0x162),_0x32e535(0x185))['to'](_0x5b03ec[_0x32e535(0x144)],_0x32e535(0x150),_0x32e535(0x186),_0x32e535(0x177)),_0x201d47['on'](_0x32e535(0x15a),()=>{const _0x257373=_0x32e535;this[_0x257373(0x182)][_0x257373(0x11a)](),_0x2f4acb[_0x257373(0x14b)][_0x257373(0x140)]!==_0x5b03ec[_0x257373(0x144)]?(this[_0x257373(0x116)](_0x5b03ec),_0x5b03ec[_0x257373(0x144)][_0x257373(0x13d)][_0x257373(0x17c)](),this[_0x257373(0x13a)](_0x5b03ec)):this[_0x257373(0x13a)](null);});};for(const _0x2ad051 of _0x386cca)_0xadca0(_0x2ad051);this[_0x3fd08c(0x117)](_0x386cca,_0x3fd08c(0x11c),(_0x2906b4,_0x232187)=>{_0xadca0(_0x232187);}),this[_0x3fd08c(0x117)](_0x386cca,_0x3fd08c(0x173),(_0x5116b9,_0x486ef3,_0x21dc86)=>{const _0x293509=_0x3fd08c;this[_0x293509(0x12c)][_0x293509(0x18a)](_0x486ef3)[_0x293509(0x187)](),this[_0x293509(0x12c)][_0x293509(0x183)](_0x486ef3),_0x22ba94[_0x293509(0x135)]({'removedAnnotation':_0x486ef3,'previousAnnotation':_0x386cca[_0x293509(0x18a)](_0x21dc86-0x1),'nextAnnotation':_0x386cca[_0x293509(0x18a)](_0x21dc86+0x1)}),_0x486ef3===this[_0x293509(0x181)]&&this[_0x293509(0x13a)](null);},{'priority':_0x3fd08c(0x169)}),this[_0x3fd08c(0x117)](_0x386cca,_0x3fd08c(0x17c),(_0x5d1be5,_0x1d519f)=>{const _0x402e75=_0x3fd08c;this[_0x402e75(0x13a)](_0x1d519f);}),this[_0x3fd08c(0x117)](_0x386cca,_0x3fd08c(0x143),()=>{const _0x45fc9d=_0x3fd08c;this[_0x45fc9d(0x13a)](null);}),this[_0x3fd08c(0x167)][_0x3fd08c(0x117)](document,_0x3fd08c(0x179),(_0x1860d5,_0x1dfbfd)=>{const _0x5a4808=_0x3fd08c;_0x1dfbfd[_0x5a4808(0x11f)]===_0x8753f4[_0x5a4808(0x175)]&&_0x2f4acb[_0x5a4808(0x138)]&&(this[_0x5a4808(0x182)][_0x5a4808(0x11c)](_0x2f4acb[_0x5a4808(0x14b)][_0x5a4808(0x140)]),this[_0x5a4808(0x131)](),_0x1dfbfd[_0x5a4808(0x114)](),_0x1dfbfd[_0x5a4808(0x166)]());}),this[_0x3fd08c(0x167)][_0x3fd08c(0x117)](document,_0x3fd08c(0x132),(_0x34e39f,_0x5ddf65)=>{const _0x2b5560=_0x3fd08c,_0x2d92ca=_0x5ddf65[_0x2b5560(0x18d)];_0x2f4acb[_0x2b5560(0x138)]&&_0x2f4acb[_0x2b5560(0x13d)][_0x2b5560(0x133)](_0x2d92ca)||_0x22ba94[_0x2b5560(0x144)][_0x2b5560(0x13d)][_0x2b5560(0x133)](_0x2d92ca)||_0x34e39f[_0x2b5560(0x165)]||this[_0x2b5560(0x181)]&&this[_0x2b5560(0x181)][_0x2b5560(0x146)][_0x2b5560(0x12e)](_0x4d6a92=>_0x4d6a92[_0x2b5560(0x133)](_0x2d92ca))||(this[_0x2b5560(0x182)][_0x2b5560(0x11a)](),this[_0x2b5560(0x131)](),this[_0x2b5560(0x13a)](null));});const _0x21b15a=this[_0x3fd08c(0x160)]instanceof _0x333cfe?this[_0x3fd08c(0x160)][_0x3fd08c(0x11e)]:new _0x161d2a([this[_0x3fd08c(0x160)]]);for(const _0x294d8e of _0x21b15a)this[_0x3fd08c(0x13f)](_0x294d8e);this[_0x3fd08c(0x117)](_0x21b15a,_0x3fd08c(0x11c),(_0x4c5085,_0xe6763b)=>{const _0x448c61=_0x3fd08c;this[_0x448c61(0x117)](_0xe6763b,_0x448c61(0x153),()=>{const _0x1bc4c1=_0x448c61;this[_0x1bc4c1(0x13f)](_0xe6763b);});}),this[_0x3fd08c(0x117)](_0x21b15a,_0x3fd08c(0x173),(_0x1571c8,_0xcc376c)=>{const _0x2c5af8=_0x3fd08c;_0xcc376c[_0x2c5af8(0x154)][_0x2c5af8(0x155)](_0x2c5af8(0x11b))&&this[_0x2c5af8(0x159)](_0xcc376c[_0x2c5af8(0x154)][_0x2c5af8(0x18a)](_0x2c5af8(0x11b)));}),window[_0x3fd08c(0x118)](_0x3fd08c(0x16c),this[_0x3fd08c(0x18c)]),this[_0x3fd08c(0x15d)]();}[_0x4e274d(0x13a)](_0x4357b2){const _0x458acc=_0x4e274d;if(_0x4357b2===this[_0x458acc(0x181)])return;const _0x1e4739=this[_0x458acc(0x160)][_0x458acc(0x154)][_0x458acc(0x18a)](_0x119b27);if(_0x1e4739[_0x458acc(0x130)]({'blurredAnnotation':this[_0x458acc(0x181)],'activatedAnnotation':_0x4357b2,'disableAnimationOnActivatedAnnotation':!0x0}),_0x4357b2)_0x1e4739[_0x458acc(0x16b)](_0x4357b2)?this[_0x458acc(0x116)](_0x4357b2):this[_0x458acc(0x131)]();else this[_0x458acc(0x131)]();this[_0x458acc(0x181)]=_0x4357b2;}[_0x4e274d(0x125)](){const _0x4962c1=_0x4e274d;if(!this[_0x4962c1(0x188)])throw new _0x52c2bc(_0x4962c1(0x163),this);this[_0x4962c1(0x13a)](null);const _0x25a756=this[_0x4962c1(0x160)][_0x4962c1(0x154)][_0x4962c1(0x18a)](_0x119b27);this[_0x4962c1(0x131)](),Array[_0x4962c1(0x168)](this[_0x4962c1(0x12c)][_0x4962c1(0x176)](),_0x59fbea=>_0x59fbea[_0x4962c1(0x187)]()),this[_0x4962c1(0x12c)][_0x4962c1(0x11a)](),_0x25a756[_0x4962c1(0x171)](this[_0x4962c1(0x180)]),this[_0x4962c1(0x156)](),this[_0x4962c1(0x167)][_0x4962c1(0x156)](),this[_0x4962c1(0x160)]instanceof _0x333cfe&&this[_0x4962c1(0x156)](this[_0x4962c1(0x160)][_0x4962c1(0x11e)]);for(const _0x580690 of Array[_0x4962c1(0x168)](this[_0x4962c1(0x12d)]))this[_0x4962c1(0x159)](_0x580690);window[_0x4962c1(0x120)](_0x4962c1(0x16c),this[_0x4962c1(0x18c)]),this[_0x4962c1(0x18c)][_0x4962c1(0x124)](),this[_0x4962c1(0x14c)]=[],this[_0x4962c1(0x188)]=!0x1,this[_0x4962c1(0x180)]=null;}[_0x4e274d(0x187)](){const _0x5b343e=_0x4e274d;this[_0x5b343e(0x188)]&&this[_0x5b343e(0x125)](),this[_0x5b343e(0x121)][_0x5b343e(0x12a)]();}[_0x4e274d(0x13f)](_0x4c2a17){const _0x469be9=_0x4e274d;if(!_0x4c2a17[_0x469be9(0x154)][_0x469be9(0x155)](_0x469be9(0x11b)))return;const _0x561aef=_0x4c2a17[_0x469be9(0x154)][_0x469be9(0x18a)](_0x469be9(0x11b)),_0x54eaac=this[_0x469be9(0x160)][_0x469be9(0x154)][_0x469be9(0x18a)](_0x119b27),_0x5f2cdf=this[_0x469be9(0x180)],_0x573ed5=this[_0x469be9(0x178)],_0x2db7e8=()=>{const _0x4e370f=_0x469be9,_0x40660e=_0x561aef[_0x4e370f(0x113)]({'annotations':this[_0x4e370f(0x180)],'activeAnnotation':this[_0x4e370f(0x181)]});this[_0x4e370f(0x152)](_0x40660e),this[_0x4e370f(0x13a)](_0x40660e[0x0]||null);};this[_0x469be9(0x117)](_0x561aef,_0x469be9(0x130),_0x2db7e8),this[_0x469be9(0x117)](_0x561aef,_0x469be9(0x143),(_0x4170fa,{isAnnotationTracked:_0x1a48eb})=>{const _0x1c2c26=_0x469be9;this[_0x1c2c26(0x181)]&&_0x1a48eb(this[_0x1c2c26(0x181)])&&(this[_0x1c2c26(0x152)]([]),this[_0x1c2c26(0x13a)](null));}),this[_0x469be9(0x117)](_0x561aef,_0x469be9(0x149),()=>{const _0x4981d8=_0x469be9;this[_0x4981d8(0x18c)]();}),this[_0x469be9(0x117)](_0x5f2cdf,_0x469be9(0x143),_0x1a2490=>{const _0x3118cc=_0x469be9;_0x561aef[_0x3118cc(0x151)]()&&_0x1a2490[_0x3118cc(0x158)]();},{'priority':_0x469be9(0x148)}),this[_0x469be9(0x117)](this[_0x469be9(0x167)],_0x469be9(0x132),(_0xbbe7b7,_0x5c26d3)=>{const _0x34fb6a=_0x469be9,_0x398c48=_0x5c26d3[_0x34fb6a(0x18d)];_0x573ed5[_0x34fb6a(0x138)]&&_0x573ed5[_0x34fb6a(0x13d)][_0x34fb6a(0x133)](_0x398c48)||_0x54eaac[_0x34fb6a(0x144)][_0x34fb6a(0x13d)][_0x34fb6a(0x133)](_0x398c48)||this[_0x34fb6a(0x181)]&&_0x561aef[_0x34fb6a(0x151)]()&&(_0x2db7e8(),_0xbbe7b7[_0x34fb6a(0x165)]=!0x0);},{'priority':_0x469be9(0x148)}),this[_0x469be9(0x12d)][_0x469be9(0x11c)](_0x561aef);}[_0x4e274d(0x159)](_0xd3b771){const _0x555f47=_0x4e274d;_0xd3b771&&(this[_0x555f47(0x156)](_0xd3b771),this[_0x555f47(0x12d)][_0x555f47(0x173)](_0xd3b771));}[_0x4e274d(0x152)](_0x4e65ae){const _0xce58d1=_0x4e274d;for(const _0x138588 of this[_0xce58d1(0x14c)])_0x4e65ae[_0xce58d1(0x127)](_0x138588)||this[_0xce58d1(0x182)][_0xce58d1(0x183)](_0x138588[_0xce58d1(0x144)]);this[_0xce58d1(0x14c)]=_0x4e65ae;}[_0x4e274d(0x15d)](){const _0x3011c8=_0x4e274d,_0x38c2ee=this[_0x3011c8(0x178)];this[_0x3011c8(0x180)][_0x3011c8(0x164)](),_0x38c2ee[_0x3011c8(0x138)]&&this[_0x3011c8(0x142)]();}[_0x4e274d(0x116)](_0x35b25f){const _0x5ef0a6=_0x4e274d;if(this[_0x5ef0a6(0x182)][_0x5ef0a6(0x155)](_0x35b25f[_0x5ef0a6(0x144)]))return;const _0x1d9f3b=this[_0x5ef0a6(0x178)][_0x5ef0a6(0x14b)][_0x5ef0a6(0x140)];_0x1d9f3b!==_0x35b25f[_0x5ef0a6(0x144)]?(_0x1d9f3b&&this[_0x5ef0a6(0x174)](_0x1d9f3b),this[_0x5ef0a6(0x17a)](_0x35b25f[_0x5ef0a6(0x144)]),this[_0x5ef0a6(0x178)][_0x5ef0a6(0x14b)][_0x5ef0a6(0x11a)](),this[_0x5ef0a6(0x178)][_0x5ef0a6(0x14b)][_0x5ef0a6(0x11c)](_0x35b25f[_0x5ef0a6(0x144)]),this[_0x5ef0a6(0x142)]()):this[_0x5ef0a6(0x142)]();}[_0x4e274d(0x142)](){const _0x520411=_0x4e274d,_0x318a3d=this[_0x520411(0x178)][_0x520411(0x14b)][_0x520411(0x140)],_0x200f72=_0x318a3d&&this[_0x520411(0x180)][_0x520411(0x123)](_0x318a3d);if(!_0x200f72||!this[_0x520411(0x12c)][_0x520411(0x155)](_0x200f72))return;const _0x930177=this[_0x520411(0x12c)][_0x520411(0x18a)](_0x200f72)[_0x520411(0x13d)],_0x3d6aa0=(function(){const _0xca1302=_0x520411,_0x5df97c=_0x51fac2[_0xca1302(0x128)];return[_0x5df97c[_0xca1302(0x16f)],_0x5df97c[_0xca1302(0x12f)],_0x5df97c[_0xca1302(0x157)],_0x5df97c[_0xca1302(0x14a)],_0x5df97c[_0xca1302(0x161)],_0x5df97c[_0xca1302(0x119)]];}());this[_0x520411(0x178)][_0x520411(0x14e)]({'target':_0x930177,'positions':_0x3d6aa0});}[_0x4e274d(0x131)](){const _0x3e8a32=_0x4e274d,_0x183c94=this[_0x3e8a32(0x178)],_0x4ff8a7=_0x183c94[_0x3e8a32(0x14b)][_0x3e8a32(0x140)];_0x4ff8a7&&(this[_0x3e8a32(0x174)](_0x4ff8a7),_0x183c94[_0x3e8a32(0x145)](),_0x183c94[_0x3e8a32(0x14b)][_0x3e8a32(0x11a)]());}[_0x4e274d(0x17a)](_0x354f7b){const _0x2c009e=_0x4e274d;this[_0x2c009e(0x117)](_0x354f7b,_0x2c009e(0x137),()=>this[_0x2c009e(0x142)]()),this[_0x2c009e(0x117)](_0x354f7b,_0x2c009e(0x15e),(_0x469d56,_0x22b218)=>{const _0x2849c9=_0x2c009e;this[_0x2849c9(0x182)][_0x2849c9(0x11c)](_0x354f7b),this[_0x2849c9(0x131)](),_0x22b218();});}[_0x4e274d(0x174)](_0x4628da){const _0x27d279=_0x4e274d;this[_0x27d279(0x156)](_0x4628da);}}
|
|
23
|
+
const _0x1997ba=_0x2554;(function(_0x243dc1,_0x57ae47){const _0x3a2b4d=_0x2554,_0xa4245c=_0x243dc1();while(!![]){try{const _0x5dcb9f=-parseInt(_0x3a2b4d(0x115))/0x1*(-parseInt(_0x3a2b4d(0x14d))/0x2)+parseInt(_0x3a2b4d(0x178))/0x3+-parseInt(_0x3a2b4d(0x10a))/0x4*(-parseInt(_0x3a2b4d(0x128))/0x5)+-parseInt(_0x3a2b4d(0x121))/0x6*(parseInt(_0x3a2b4d(0x17a))/0x7)+-parseInt(_0x3a2b4d(0x153))/0x8*(parseInt(_0x3a2b4d(0x107))/0x9)+parseInt(_0x3a2b4d(0x133))/0xa+parseInt(_0x3a2b4d(0x155))/0xb*(parseInt(_0x3a2b4d(0x170))/0xc);if(_0x5dcb9f===_0x57ae47)break;else _0xa4245c['push'](_0xa4245c['shift']());}catch(_0x36f2d1){_0xa4245c['push'](_0xa4245c['shift']());}}}(_0x534d,0x1bbb3));import{ContextPlugin as _0x33737e,Context as _0x37c070}from'ckeditor5/src/core.js';import _0x5cf125 from'./annotationsuis.js';import _0x57a684 from'./sidebar.js';import _0x351325 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x4b4fa2,BodyCollection as _0x1993f1}from'ckeditor5/src/ui.js';import{CKEditorError as _0x2a7264,DomEmitterMixin as _0x1e3a04,keyCodes as _0x26db6c,Collection as _0x3f61d2}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';function _0x534d(){const _0x5b3534=['first','rearrange','_editorAnnotations','init','114Expztr','_attachListeners','_refreshPositioning','activeAnnotation','register','from','_updateBalloonPosition','5RAjUvT','pin','delete','content','unpin','_attachToContainer','resize','context','isOfficialPlugin','add','_refreshPositioningDebounced','202250DikGkN','refreshPositioning','annotations','_destroyEditorAnnotationsIntegration','destroy','southArrowNorthEast','isVisible','element','Esc','off','get','requires','defaultPositions','create','listenTo','_selectedAnnotations','preventClosingBalloon','stop','EditorAnnotations','execute','number','includes','isDirty','southArrowNorthWest','contains','change:height','56YBssTs','ck-sidebar--narrow','find','pluginName','_integrateWithEditorAnnotations','set:container','392VygGFW','northArrowSouthEast','10824pDrPqb','isAttached','cancel','_detachListeners','type','_hideBalloon','plugins','removeEventListener','getSidebarItemView','set','northArrowSouth','attach','_domEmitter','uiUpdate','has','bind','stopPropagation','editors','_detachFromContainer','annotationType','low','northArrowSouthWest','setActiveAnnotation','_manuallyClosedAnnotationViews','bodyCollection','isPremiumPlugin','_annotations','1872bShkna','getOrderedSelectedAnnotations','high','locale','blur','narrowsidebar-attach-already-attached','attachToDom','detachFromDom','71880Cjdzab','ready','71813YTjXli','values','preventDefault','addAnnotation','southArrowNorth','target','narrowSidebar','narrowsidebar-detach-not-attached','NarrowSidebar','mousedown','getByView','7956siQpVH','_showBalloon','keydown','340796gzjBIe','stopListening','remove','hasDomSelection','_annotationToNarrowView','detach','balloonPanelView','view','keyCode','focus','focusableElements','2462pYGpwv','addEventListener','refresh','change:container','length','esc','_setSelectedAnnotations','clear'];_0x534d=function(){return _0x5b3534;};return _0x534d();}function _0x2554(_0x490258,_0x81d50e){const _0x534d51=_0x534d();return _0x2554=function(_0x2554eb,_0x11819a){_0x2554eb=_0x2554eb-0x107;let _0x3341b6=_0x534d51[_0x2554eb];return _0x3341b6;},_0x2554(_0x490258,_0x81d50e);}import{debounce as _0x1ec820}from'lodash-es';export default class n extends _0x33737e{static get[_0x1997ba(0x13e)](){return[_0x57a684,_0x5cf125];}static get[_0x1997ba(0x150)](){const _0x1df740=_0x1997ba;return _0x1df740(0x182);}static get[_0x1997ba(0x130)](){return!0x0;}static get[_0x1997ba(0x16e)](){return!0x0;}constructor(_0x260ad9){const _0x3d174c=_0x1997ba;super(_0x260ad9),this[_0x3d174c(0x156)]=!0x1,this[_0x3d174c(0x16c)]=new Set(),this[_0x3d174c(0x161)]=Object[_0x3d174c(0x140)](_0x1e3a04),this[_0x3d174c(0x10e)]=new Map(),this[_0x3d174c(0x15e)](_0x3d174c(0x124),null),this[_0x3d174c(0x135)]=null,this[_0x3d174c(0x142)]=[],this[_0x3d174c(0x11f)]=new _0x3f61d2(),this[_0x3d174c(0x132)]=_0x1ec820(()=>{const _0x47b2ed=_0x3d174c;this[_0x47b2ed(0x123)]();},0xfa,{'leading':!0x1});}[_0x1997ba(0x120)](){const _0x65aa9d=_0x1997ba;this[_0x65aa9d(0x12f)][_0x65aa9d(0x15b)][_0x65aa9d(0x13d)](_0x5cf125)[_0x65aa9d(0x125)](_0x65aa9d(0x180),this),this[_0x65aa9d(0x16d)]=new _0x1993f1(this[_0x65aa9d(0x12f)][_0x65aa9d(0x173)]),this[_0x65aa9d(0x110)]=new _0x4b4fa2(this[_0x65aa9d(0x12f)][_0x65aa9d(0x173)]),this[_0x65aa9d(0x16d)][_0x65aa9d(0x176)](),this[_0x65aa9d(0x16d)][_0x65aa9d(0x131)](this[_0x65aa9d(0x110)]);}[_0x1997ba(0x160)](_0x595696){const _0x4ef4a7=_0x1997ba;this[_0x4ef4a7(0x135)]=_0x595696;const _0xdc9e35=this[_0x4ef4a7(0x12f)][_0x4ef4a7(0x15b)][_0x4ef4a7(0x13d)](_0x57a684),_0x18d5b5=this[_0x4ef4a7(0x110)];if(_0xdc9e35[_0x4ef4a7(0x16f)]=_0x595696,this[_0x4ef4a7(0x156)])throw new _0x2a7264(_0x4ef4a7(0x175),this);this[_0x4ef4a7(0x156)]=!0x0,this[_0x4ef4a7(0x141)](_0xdc9e35,_0x4ef4a7(0x152),()=>{const _0x281e2f=_0x4ef4a7;this[_0x281e2f(0x10f)](),this[_0x281e2f(0x141)](_0xdc9e35,_0x281e2f(0x118),_0x22bf2c=>{const _0x396289=_0x281e2f;_0x22bf2c[_0x396289(0x13c)](),this[_0x396289(0x160)](_0x595696);});}),_0xdc9e35[_0x4ef4a7(0x12d)]({'viewClass':_0x4ef4a7(0x14e),'spaceBetweenItems':0x5});const _0x33de58=_0x5d1f0e=>{const _0x38630b=_0x4ef4a7,_0x197679=new _0x351325(this[_0x38630b(0x12f)][_0x38630b(0x173)]);_0xdc9e35[_0x38630b(0x17d)](_0x5d1f0e,_0x197679),this[_0x38630b(0x10e)][_0x38630b(0x15e)](_0x5d1f0e,_0x197679),_0x197679[_0x38630b(0x164)](_0x38630b(0x149),_0x38630b(0x168),_0x38630b(0x147))['to'](_0x5d1f0e[_0x38630b(0x111)],_0x38630b(0x149),_0x38630b(0x159),_0x38630b(0x119)),_0x197679['on'](_0x38630b(0x146),()=>{const _0xc87689=_0x38630b;this[_0xc87689(0x16c)][_0xc87689(0x11c)](),_0x18d5b5[_0xc87689(0x12b)][_0xc87689(0x11d)]!==_0x5d1f0e[_0xc87689(0x111)]?(this[_0xc87689(0x108)](_0x5d1f0e),_0x5d1f0e[_0xc87689(0x111)][_0xc87689(0x13a)][_0xc87689(0x113)](),this[_0xc87689(0x16b)](_0x5d1f0e)):this[_0xc87689(0x16b)](null);});};for(const _0x42dc45 of _0x595696)_0x33de58(_0x42dc45);this[_0x4ef4a7(0x141)](_0x595696,_0x4ef4a7(0x131),(_0x558d54,_0x45d06a)=>{_0x33de58(_0x45d06a);}),this[_0x4ef4a7(0x141)](_0x595696,_0x4ef4a7(0x10c),(_0x20c9ea,_0x4704b2,_0x3ddd09)=>{const _0x5a9ff5=_0x4ef4a7;this[_0x5a9ff5(0x10e)][_0x5a9ff5(0x13d)](_0x4704b2)[_0x5a9ff5(0x137)](),this[_0x5a9ff5(0x10e)][_0x5a9ff5(0x12a)](_0x4704b2),_0xdc9e35[_0x5a9ff5(0x11e)]({'removedAnnotation':_0x4704b2,'previousAnnotation':_0x595696[_0x5a9ff5(0x13d)](_0x3ddd09-0x1),'nextAnnotation':_0x595696[_0x5a9ff5(0x13d)](_0x3ddd09+0x1)}),_0x4704b2===this[_0x5a9ff5(0x124)]&&this[_0x5a9ff5(0x16b)](null);},{'priority':_0x4ef4a7(0x169)}),this[_0x4ef4a7(0x141)](_0x595696,_0x4ef4a7(0x113),(_0x4c09b0,_0x56fa73)=>{const _0x233843=_0x4ef4a7;this[_0x233843(0x16b)](_0x56fa73);}),this[_0x4ef4a7(0x141)](_0x595696,_0x4ef4a7(0x174),()=>{const _0x50ec48=_0x4ef4a7;this[_0x50ec48(0x16b)](null);}),this[_0x4ef4a7(0x161)][_0x4ef4a7(0x141)](document,_0x4ef4a7(0x109),(_0x14e30c,_0x956e10)=>{const _0x4f72b3=_0x4ef4a7;_0x956e10[_0x4f72b3(0x112)]===_0x26db6c[_0x4f72b3(0x11a)]&&_0x18d5b5[_0x4f72b3(0x139)]&&(this[_0x4f72b3(0x16c)][_0x4f72b3(0x131)](_0x18d5b5[_0x4f72b3(0x12b)][_0x4f72b3(0x11d)]),this[_0x4f72b3(0x15a)](),_0x956e10[_0x4f72b3(0x165)](),_0x956e10[_0x4f72b3(0x17c)]());}),this[_0x4ef4a7(0x161)][_0x4ef4a7(0x141)](document,_0x4ef4a7(0x183),(_0x2cf862,_0x14cd63)=>{const _0x3bed3d=_0x4ef4a7,_0x27c262=_0x14cd63[_0x3bed3d(0x17f)];_0x18d5b5[_0x3bed3d(0x139)]&&_0x18d5b5[_0x3bed3d(0x13a)][_0x3bed3d(0x14b)](_0x27c262)||_0xdc9e35[_0x3bed3d(0x111)][_0x3bed3d(0x13a)][_0x3bed3d(0x14b)](_0x27c262)||_0x2cf862[_0x3bed3d(0x143)]||this[_0x3bed3d(0x124)]&&this[_0x3bed3d(0x124)][_0x3bed3d(0x114)][_0x3bed3d(0x14f)](_0x4634a0=>_0x4634a0[_0x3bed3d(0x14b)](_0x27c262))||(this[_0x3bed3d(0x16c)][_0x3bed3d(0x11c)](),this[_0x3bed3d(0x15a)](),this[_0x3bed3d(0x16b)](null));});const _0x53c748=this[_0x4ef4a7(0x12f)]instanceof _0x37c070?this[_0x4ef4a7(0x12f)][_0x4ef4a7(0x166)]:new _0x3f61d2([this[_0x4ef4a7(0x12f)]]);for(const _0x4068fc of _0x53c748)this[_0x4ef4a7(0x151)](_0x4068fc);this[_0x4ef4a7(0x141)](_0x53c748,_0x4ef4a7(0x131),(_0x432797,_0x529acb)=>{const _0x173374=_0x4ef4a7;this[_0x173374(0x141)](_0x529acb,_0x173374(0x179),()=>{const _0x454054=_0x173374;this[_0x454054(0x151)](_0x529acb);});}),this[_0x4ef4a7(0x141)](_0x53c748,_0x4ef4a7(0x10c),(_0xf0edf8,_0x474419)=>{const _0x694553=_0x4ef4a7;_0x474419[_0x694553(0x15b)][_0x694553(0x163)](_0x694553(0x145))&&this[_0x694553(0x136)](_0x474419[_0x694553(0x15b)][_0x694553(0x13d)](_0x694553(0x145)));}),window[_0x4ef4a7(0x116)](_0x4ef4a7(0x12e),this[_0x4ef4a7(0x132)]),this[_0x4ef4a7(0x123)]();}[_0x1997ba(0x16b)](_0x3c5131){const _0x3ad68f=_0x1997ba;if(_0x3c5131===this[_0x3ad68f(0x124)])return;const _0x56fbaa=this[_0x3ad68f(0x12f)][_0x3ad68f(0x15b)][_0x3ad68f(0x13d)](_0x57a684);if(_0x56fbaa[_0x3ad68f(0x117)]({'blurredAnnotation':this[_0x3ad68f(0x124)],'activatedAnnotation':_0x3c5131,'disableAnimationOnActivatedAnnotation':!0x0}),_0x3c5131)_0x56fbaa[_0x3ad68f(0x15d)](_0x3c5131)?this[_0x3ad68f(0x108)](_0x3c5131):this[_0x3ad68f(0x15a)]();else this[_0x3ad68f(0x15a)]();this[_0x3ad68f(0x124)]=_0x3c5131;}[_0x1997ba(0x10f)](){const _0x5dbbc4=_0x1997ba;if(!this[_0x5dbbc4(0x156)])throw new _0x2a7264(_0x5dbbc4(0x181),this);this[_0x5dbbc4(0x16b)](null);const _0x51855d=this[_0x5dbbc4(0x12f)][_0x5dbbc4(0x15b)][_0x5dbbc4(0x13d)](_0x57a684);this[_0x5dbbc4(0x15a)](),Array[_0x5dbbc4(0x126)](this[_0x5dbbc4(0x10e)][_0x5dbbc4(0x17b)](),_0x55d0bd=>_0x55d0bd[_0x5dbbc4(0x137)]()),this[_0x5dbbc4(0x10e)][_0x5dbbc4(0x11c)](),_0x51855d[_0x5dbbc4(0x167)](this[_0x5dbbc4(0x135)]),this[_0x5dbbc4(0x10b)](),this[_0x5dbbc4(0x161)][_0x5dbbc4(0x10b)](),this[_0x5dbbc4(0x12f)]instanceof _0x37c070&&this[_0x5dbbc4(0x10b)](this[_0x5dbbc4(0x12f)][_0x5dbbc4(0x166)]);for(const _0x383e18 of Array[_0x5dbbc4(0x126)](this[_0x5dbbc4(0x11f)]))this[_0x5dbbc4(0x136)](_0x383e18);window[_0x5dbbc4(0x15c)](_0x5dbbc4(0x12e),this[_0x5dbbc4(0x132)]),this[_0x5dbbc4(0x132)][_0x5dbbc4(0x157)](),this[_0x5dbbc4(0x142)]=[],this[_0x5dbbc4(0x156)]=!0x1,this[_0x5dbbc4(0x135)]=null;}[_0x1997ba(0x137)](){const _0x4e0eb8=_0x1997ba;this[_0x4e0eb8(0x156)]&&this[_0x4e0eb8(0x10f)](),this[_0x4e0eb8(0x16d)][_0x4e0eb8(0x177)]();}[_0x1997ba(0x151)](_0x5c432f){const _0x21ff4b=_0x1997ba;if(!_0x5c432f[_0x21ff4b(0x15b)][_0x21ff4b(0x163)](_0x21ff4b(0x145)))return;const _0x523505=_0x5c432f[_0x21ff4b(0x15b)][_0x21ff4b(0x13d)](_0x21ff4b(0x145)),_0x2d07f5=this[_0x21ff4b(0x12f)][_0x21ff4b(0x15b)][_0x21ff4b(0x13d)](_0x57a684),_0x337a7c=this[_0x21ff4b(0x135)],_0x1481e4=this[_0x21ff4b(0x110)],_0x34ffdf=()=>{const _0x35d6d0=_0x21ff4b,_0x5a9642=_0x523505[_0x35d6d0(0x171)]({'annotations':this[_0x35d6d0(0x135)],'activeAnnotation':this[_0x35d6d0(0x124)]});this[_0x35d6d0(0x11b)](_0x5a9642),this[_0x35d6d0(0x16b)](_0x5a9642[0x0]||null);};this[_0x21ff4b(0x141)](_0x523505,_0x21ff4b(0x117),_0x34ffdf),this[_0x21ff4b(0x141)](_0x523505,_0x21ff4b(0x174),(_0x424b15,{isAnnotationTracked:_0x5a457e})=>{const _0x2e4b26=_0x21ff4b;this[_0x2e4b26(0x124)]&&_0x5a457e(this[_0x2e4b26(0x124)])&&(this[_0x2e4b26(0x11b)]([]),this[_0x2e4b26(0x16b)](null));}),this[_0x21ff4b(0x141)](_0x523505,_0x21ff4b(0x162),()=>{const _0x961b=_0x21ff4b;this[_0x961b(0x132)]();}),this[_0x21ff4b(0x141)](_0x337a7c,_0x21ff4b(0x174),_0x1630da=>{const _0x1efe30=_0x21ff4b;_0x523505[_0x1efe30(0x10d)]()&&_0x1630da[_0x1efe30(0x144)]();},{'priority':_0x21ff4b(0x172)}),this[_0x21ff4b(0x141)](this[_0x21ff4b(0x161)],_0x21ff4b(0x183),(_0xb567f0,_0x507702)=>{const _0x1b7c64=_0x21ff4b,_0x30c14d=_0x507702[_0x1b7c64(0x17f)];_0x1481e4[_0x1b7c64(0x139)]&&_0x1481e4[_0x1b7c64(0x13a)][_0x1b7c64(0x14b)](_0x30c14d)||_0x2d07f5[_0x1b7c64(0x111)][_0x1b7c64(0x13a)][_0x1b7c64(0x14b)](_0x30c14d)||this[_0x1b7c64(0x124)]&&_0x523505[_0x1b7c64(0x10d)]()&&(_0x34ffdf(),_0xb567f0[_0x1b7c64(0x143)]=!0x0);},{'priority':_0x21ff4b(0x172)}),this[_0x21ff4b(0x11f)][_0x21ff4b(0x131)](_0x523505);}[_0x1997ba(0x136)](_0x4ea958){const _0x1d95c6=_0x1997ba;_0x4ea958&&(this[_0x1d95c6(0x10b)](_0x4ea958),this[_0x1d95c6(0x11f)][_0x1d95c6(0x10c)](_0x4ea958));}[_0x1997ba(0x11b)](_0x4ddca3){const _0x55cf88=_0x1997ba;for(const _0x37885c of this[_0x55cf88(0x142)])_0x4ddca3[_0x55cf88(0x148)](_0x37885c)||this[_0x55cf88(0x16c)][_0x55cf88(0x12a)](_0x37885c[_0x55cf88(0x111)]);this[_0x55cf88(0x142)]=_0x4ddca3;}[_0x1997ba(0x123)](){const _0xc8232c=_0x1997ba,_0x2ca546=this[_0xc8232c(0x110)];this[_0xc8232c(0x135)][_0xc8232c(0x134)](),_0x2ca546[_0xc8232c(0x139)]&&this[_0xc8232c(0x127)]();}[_0x1997ba(0x108)](_0x158890){const _0x4a7416=_0x1997ba;if(this[_0x4a7416(0x16c)][_0x4a7416(0x163)](_0x158890[_0x4a7416(0x111)]))return;const _0x4d82bb=this[_0x4a7416(0x110)][_0x4a7416(0x12b)][_0x4a7416(0x11d)];_0x4d82bb!==_0x158890[_0x4a7416(0x111)]?(_0x4d82bb&&this[_0x4a7416(0x158)](_0x4d82bb),this[_0x4a7416(0x122)](_0x158890[_0x4a7416(0x111)]),this[_0x4a7416(0x110)][_0x4a7416(0x12b)][_0x4a7416(0x11c)](),this[_0x4a7416(0x110)][_0x4a7416(0x12b)][_0x4a7416(0x131)](_0x158890[_0x4a7416(0x111)]),this[_0x4a7416(0x127)]()):this[_0x4a7416(0x127)]();}[_0x1997ba(0x127)](){const _0x394f6d=_0x1997ba,_0x39e49b=this[_0x394f6d(0x110)][_0x394f6d(0x12b)][_0x394f6d(0x11d)],_0x43a671=_0x39e49b&&this[_0x394f6d(0x135)][_0x394f6d(0x184)](_0x39e49b);if(!_0x43a671||!this[_0x394f6d(0x10e)][_0x394f6d(0x163)](_0x43a671))return;const _0x431187=this[_0x394f6d(0x10e)][_0x394f6d(0x13d)](_0x43a671)[_0x394f6d(0x13a)],_0x59b109=(function(){const _0xfc85f1=_0x394f6d,_0x2ba792=_0x4b4fa2[_0xfc85f1(0x13f)];return[_0x2ba792[_0xfc85f1(0x138)],_0x2ba792[_0xfc85f1(0x154)],_0x2ba792[_0xfc85f1(0x17e)],_0x2ba792[_0xfc85f1(0x15f)],_0x2ba792[_0xfc85f1(0x14a)],_0x2ba792[_0xfc85f1(0x16a)]];}());this[_0x394f6d(0x110)][_0x394f6d(0x129)]({'target':_0x431187,'positions':_0x59b109});}[_0x1997ba(0x15a)](){const _0x149c37=_0x1997ba,_0x2e70bc=this[_0x149c37(0x110)],_0x1d1570=_0x2e70bc[_0x149c37(0x12b)][_0x149c37(0x11d)];_0x1d1570&&(this[_0x149c37(0x158)](_0x1d1570),_0x2e70bc[_0x149c37(0x12c)](),_0x2e70bc[_0x149c37(0x12b)][_0x149c37(0x11c)]());}[_0x1997ba(0x122)](_0x124fbf){const _0x255f28=_0x1997ba;this[_0x255f28(0x141)](_0x124fbf,_0x255f28(0x14c),()=>this[_0x255f28(0x127)]()),this[_0x255f28(0x141)](_0x124fbf,_0x255f28(0x13b),(_0x1bf4b7,_0x3d98c7)=>{const _0x4b9f8d=_0x255f28;this[_0x4b9f8d(0x16c)][_0x4b9f8d(0x131)](_0x124fbf),this[_0x4b9f8d(0x15a)](),_0x3d98c7();});}[_0x1997ba(0x158)](_0x5af3b9){const _0xa49d29=_0x1997ba;this[_0xa49d29(0x10b)](_0x5af3b9);}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/annotations/sidebar
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5d42ac=_0x5256;(function(_0x1f6ead,_0x194809){const _0x4584a0=_0x5256,_0x729262=_0x1f6ead();while(!![]){try{const _0x4cd5a6=parseInt(_0x4584a0(0x1be))/0x1*(parseInt(_0x4584a0(0x1cb))/0x2)+-parseInt(_0x4584a0(0x1f1))/0x3*(-parseInt(_0x4584a0(0x1f7))/0x4)+parseInt(_0x4584a0(0x1ed))/0x5*(parseInt(_0x4584a0(0x1e3))/0x6)+-parseInt(_0x4584a0(0x1dc))/0x7+-parseInt(_0x4584a0(0x1eb))/0x8*(parseInt(_0x4584a0(0x1f9))/0x9)+-parseInt(_0x4584a0(0x1c8))/0xa+-parseInt(_0x4584a0(0x203))/0xb;if(_0x4cd5a6===_0x194809)break;else _0x729262['push'](_0x729262['shift']());}catch(_0xa8bd50){_0x729262['push'](_0x729262['shift']());}}}(_0x3b02,0x99985));import{ContextPlugin as _0x3714dd}from'ckeditor5/src/core.js';function _0x5256(_0x100616,_0x1dbf1e){const _0x3b022b=_0x3b02();return _0x5256=function(_0x5256b4,_0x4482fb){_0x5256b4=_0x5256b4-0x1b4;let _0x44f363=_0x3b022b[_0x5256b4];return _0x44f363;},_0x5256(_0x100616,_0x1dbf1e);}import{Rect as _0x58e01b,CKEditorError as _0x1cce46}from'ckeditor5/src/utils.js';import _0x524399 from'./view/sidebarview.js';import _0x4ed351 from'./view/sidebaritemview.js';export default class z extends _0x3714dd{static get[_0x5d42ac(0x1ce)](){const _0x322c57=_0x5d42ac;return _0x322c57(0x20f);}static get[_0x5d42ac(0x1e9)](){return!0x0;}static get[_0x5d42ac(0x1e7)](){return!0x0;}constructor(_0x3f6ce1){const _0x2c2167=_0x5d42ac;super(_0x3f6ce1),this[_0x2c2167(0x1bf)](_0x2c2167(0x1e6),void 0x0),this[_0x2c2167(0x1ee)]=this[_0x2c2167(0x208)](),this[_0x2c2167(0x1bf)](_0x2c2167(0x1dd),null),this[_0x2c2167(0x1f3)]=0x19,this[_0x2c2167(0x20b)]=new Map(),this[_0x2c2167(0x1b6)]=new Map(),this[_0x2c2167(0x1ff)][_0x2c2167(0x1c3)][_0x2c2167(0x1db)](_0x2c2167(0x1e5),!0x1),this[_0x2c2167(0x1b5)]=null,this[_0x2c2167(0x1e0)]=null,this[_0x2c2167(0x1d4)]=[];}[_0x5d42ac(0x1bb)](){const _0x4c5da0=_0x5d42ac,_0x1336b1=this[_0x4c5da0(0x1ff)][_0x4c5da0(0x1c3)][_0x4c5da0(0x1e2)](_0x4c5da0(0x1f4));_0x1336b1&&this[_0x4c5da0(0x1c7)](_0x1336b1);}[_0x5d42ac(0x1c7)](_0x3192db){const _0x1f1559=_0x5d42ac;if(!y(_0x3192db))throw new _0x1cce46(_0x1f1559(0x1bd));this[_0x1f1559(0x1dd)]=_0x3192db;}[_0x5d42ac(0x1b7)]({viewClass:_0x1e14c3='',spaceBetweenItems:_0xb47cfb=0x19}={}){const _0x19ced5=_0x5d42ac;if(!y(this[_0x19ced5(0x1dd)]))throw new _0x1cce46(_0x19ced5(0x1ec),this);this[_0x19ced5(0x1dd)][_0x19ced5(0x1d7)](this[_0x19ced5(0x1ee)][_0x19ced5(0x1c0)]),this[_0x19ced5(0x1ee)][_0x19ced5(0x1f5)]=_0x1e14c3,this[_0x19ced5(0x1f3)]=_0xb47cfb;}[_0x5d42ac(0x1cf)]({removedAnnotation:_0x632fb2,previousAnnotation:_0x5b0250,nextAnnotation:_0x4b1157}){const _0x229416=_0x5d42ac,_0x3181b0=this[_0x229416(0x209)](_0x632fb2);this[_0x229416(0x1ee)][_0x229416(0x1e4)][_0x229416(0x1de)](_0x3181b0),this[_0x229416(0x1d5)](_0x632fb2),_0x5b0250&&this[_0x229416(0x1ca)](this[_0x229416(0x209)](_0x5b0250)),_0x4b1157&&this[_0x229416(0x1ca)](this[_0x229416(0x209)](_0x4b1157)),this[_0x229416(0x20a)]();}[_0x5d42ac(0x1fb)]({blurredAnnotation:_0x1e16fe,activatedAnnotation:_0x1da8cc,disableAnimationOnActivatedAnnotation:_0x4678a2}){const _0x57dde0=_0x5d42ac;if(this[_0x57dde0(0x1e0)]=_0x1da8cc,_0x1e16fe){_0x1e16fe[_0x57dde0(0x1d8)]=!0x1;const _0x10f0a7=this[_0x57dde0(0x209)](_0x1e16fe);_0x10f0a7&&_0x4678a2&&(_0x10f0a7[_0x57dde0(0x20c)]=!0x1);}if(_0x1da8cc){const _0x590746=this[_0x57dde0(0x209)](_0x1da8cc);_0x590746&&(_0x1da8cc[_0x57dde0(0x1d8)]=!0x0,_0x4678a2&&(_0x590746[_0x57dde0(0x20c)]=!0x0,_0x590746[_0x57dde0(0x204)]+=0x1),this[_0x57dde0(0x1ca)](_0x590746));}}[_0x5d42ac(0x1df)](_0x21ddf4){const _0x49427b=_0x5d42ac;if(this[_0x49427b(0x1ee)][_0x49427b(0x1c0)][_0x49427b(0x1de)](),_0x21ddf4){for(const _0x16effe of _0x21ddf4)this[_0x49427b(0x1d5)](_0x16effe);}this[_0x49427b(0x1ee)][_0x49427b(0x1e4)][_0x49427b(0x1fc)](),this[_0x49427b(0x1ee)][_0x49427b(0x1f5)]='',this[_0x49427b(0x1e6)]=null;}[_0x5d42ac(0x20d)](_0x442b81,_0x56f635){const _0x14b2c7=_0x5d42ac;_0x56f635||(_0x56f635=_0x442b81[_0x14b2c7(0x1ee)]);const _0x1dab1e=new _0x4ed351(this[_0x14b2c7(0x1ff)][_0x14b2c7(0x1c9)]);this[_0x14b2c7(0x20b)][_0x14b2c7(0x1bf)](_0x1dab1e,_0x442b81),this[_0x14b2c7(0x1b6)][_0x14b2c7(0x1bf)](_0x442b81,_0x1dab1e),_0x1dab1e[_0x14b2c7(0x1c5)][_0x14b2c7(0x1f6)](_0x56f635),this[_0x14b2c7(0x1d0)](_0x442b81[_0x14b2c7(0x1ee)],_0x14b2c7(0x201),(_0x5e5c35,_0x3e03d7,_0x5a4114)=>{const _0x579969=_0x14b2c7,_0x19deb5=this[_0x579969(0x1d6)](_0x442b81,_0x5a4114);_0x1dab1e[_0x579969(0x1c1)]!=_0x19deb5&&(_0x1dab1e[_0x579969(0x1c1)]=_0x19deb5,this[_0x579969(0x1c4)](_0x1dab1e,_0x19deb5));}),this[_0x14b2c7(0x1d0)](_0x1dab1e,_0x14b2c7(0x200),()=>{const _0x4d6746=_0x14b2c7;this[_0x4d6746(0x1d2)](_0x1dab1e,_0x4d6746(0x204));}),this[_0x14b2c7(0x1d0)](_0x1dab1e,_0x14b2c7(0x1ef),()=>{const _0x5ea589=_0x14b2c7;this[_0x5ea589(0x1d2)](_0x1dab1e,_0x5ea589(0x202));}),this[_0x14b2c7(0x1ca)](_0x1dab1e);const _0x39571e=this[_0x14b2c7(0x1cd)](_0x1dab1e);if(_0x39571e)this[_0x14b2c7(0x1fa)](_0x39571e,_0x1dab1e)||this[_0x14b2c7(0x1ca)](_0x1dab1e);else this[_0x14b2c7(0x1ca)](_0x1dab1e);return this[_0x14b2c7(0x20a)](),this[_0x14b2c7(0x1ee)][_0x14b2c7(0x1e4)][_0x14b2c7(0x1f6)](_0x1dab1e),_0x1dab1e;}[_0x5d42ac(0x206)](_0x670fbf){const _0x4b8573=_0x5d42ac;if(!_0x670fbf[_0x4b8573(0x1c5)][_0x4b8573(0x205)])return;const _0x4fb27e=this[_0x4b8573(0x1cd)](_0x670fbf);if(!_0x4fb27e)return;const _0xc0c02c=this[_0x4b8573(0x20b)][_0x4b8573(0x1e2)](_0x4fb27e),_0x1f24c3=this[_0x4b8573(0x1e0)];_0x1f24c3&&_0x1f24c3===_0xc0c02c?this[_0x4b8573(0x1fa)](_0x4fb27e,_0x670fbf):this[_0x4b8573(0x1e8)](_0x670fbf,_0x4fb27e);}[_0x5d42ac(0x1b8)](_0xe0e1a6){const _0x574947=_0x5d42ac;if(!_0xe0e1a6[_0x574947(0x1c5)][_0x574947(0x205)])return;const _0xf33e2=this[_0x574947(0x1ba)](_0xe0e1a6);if(!_0xf33e2)return;const _0x42a5fc=this[_0x574947(0x20b)][_0x574947(0x1e2)](_0xf33e2),_0x9e0ff8=this[_0x574947(0x1ff)][_0x574947(0x1c3)][_0x574947(0x1e2)](_0x574947(0x1e5)),_0x26a014=this[_0x574947(0x1e0)];_0x26a014&&_0x26a014===_0x42a5fc&&_0x9e0ff8?(this[_0x574947(0x1e8)](_0xf33e2,_0xe0e1a6),this[_0x574947(0x1fa)](_0xe0e1a6,_0xf33e2)):_0x26a014&&_0x26a014===_0x42a5fc?this[_0x574947(0x1e8)](_0xf33e2,_0xe0e1a6):this[_0x574947(0x1fa)](_0xe0e1a6,_0xf33e2);}[_0x5d42ac(0x1d2)](_0x41312c,_0x283871){const _0xd5a51d=_0x5d42ac;0x0===this[_0xd5a51d(0x1d4)][_0xd5a51d(0x205)]&&setTimeout(()=>{const _0x37ced7=_0xd5a51d;for(const {sidebarItemView:_0x58a65f,changedProp:_0x38e764}of this[_0x37ced7(0x1d4)])_0x37ced7(0x204)===_0x38e764?this[_0x37ced7(0x206)](_0x58a65f):this[_0x37ced7(0x1b8)](_0x58a65f);this[_0x37ced7(0x1d4)]=[];},0xa),this[_0xd5a51d(0x1d4)][_0xd5a51d(0x1c2)]({'sidebarItemView':_0x41312c,'changedProp':_0x283871});}[_0x5d42ac(0x209)](_0x462073){const _0x3d6950=_0x5d42ac;return this[_0x3d6950(0x1b6)][_0x3d6950(0x1e2)](_0x462073);}[_0x5d42ac(0x1ea)](){const _0x2e4163=_0x5d42ac;this[_0x2e4163(0x1bc)](),this[_0x2e4163(0x1ee)][_0x2e4163(0x1ea)]();}[_0x5d42ac(0x1d5)](_0x1ff244){const _0x6f44a6=_0x5d42ac,_0x1e6414=this[_0x6f44a6(0x209)](_0x1ff244);this[_0x6f44a6(0x1bc)](_0x1e6414),this[_0x6f44a6(0x1bc)](_0x1ff244[_0x6f44a6(0x1ee)]),_0x1e6414[_0x6f44a6(0x1ea)](),this[_0x6f44a6(0x1b6)][_0x6f44a6(0x1fd)](_0x1ff244),this[_0x6f44a6(0x20b)][_0x6f44a6(0x1fd)](_0x1e6414);}[_0x5d42ac(0x208)](){const _0x530318=_0x5d42ac,_0x1fe32b=new _0x524399(this[_0x530318(0x1ff)][_0x530318(0x1c9)]);return _0x1fe32b[_0x530318(0x1d3)](),this['on'](_0x530318(0x1d9),(_0x287908,_0x23c3a9,_0x43dfa2,_0x5caebe)=>{const _0x22a351=_0x530318;_0x5caebe&&_0x1fe32b[_0x22a351(0x1e1)](_0x22a351(0x1b9)),_0x43dfa2?_0x1fe32b[_0x22a351(0x1f2)](_0x22a351(0x1b9))['to'](_0x43dfa2,_0x22a351(0x202)):_0x1fe32b[_0x22a351(0x1b9)]=null;}),_0x1fe32b;}[_0x5d42ac(0x20a)](){const _0x508586=_0x5d42ac;var _0x5a7347;this[_0x508586(0x1e6)]=(null===(_0x5a7347=this[_0x508586(0x1b5)])||void 0x0===_0x5a7347?void 0x0:_0x5a7347[_0x508586(0x20e)])?this[_0x508586(0x209)](this[_0x508586(0x1b5)][_0x508586(0x20e)]):null;}[_0x5d42ac(0x1cd)](_0x114933){const _0x1a5642=_0x5d42ac;var _0x4dcb9f;const _0x5141b7=this[_0x1a5642(0x20b)][_0x1a5642(0x1e2)](_0x114933),_0x2527c5=_0x5141b7&&(null===(_0x4dcb9f=this[_0x1a5642(0x1b5)])||void 0x0===_0x4dcb9f?void 0x0:_0x4dcb9f[_0x1a5642(0x1e2)](this[_0x1a5642(0x1b5)][_0x1a5642(0x1c6)](_0x5141b7)-0x1));return _0x2527c5&&this[_0x1a5642(0x209)](_0x2527c5)||null;}[_0x5d42ac(0x1ba)](_0x4dd7f9){const _0xf73140=_0x5d42ac;var _0x306a33;const _0x340c78=this[_0xf73140(0x20b)][_0xf73140(0x1e2)](_0x4dd7f9),_0x2c1dfa=_0x340c78&&(null===(_0x306a33=this[_0xf73140(0x1b5)])||void 0x0===_0x306a33?void 0x0:_0x306a33[_0xf73140(0x1e2)](this[_0xf73140(0x1b5)][_0xf73140(0x1c6)](_0x340c78)+0x1));return _0x2c1dfa&&this[_0xf73140(0x209)](_0x2c1dfa)||null;}[_0x5d42ac(0x1e8)](_0x1027e3,_0x418cb8){const _0x4779e3=_0x5d42ac;_0x1027e3[_0x4779e3(0x1cc)]();const _0x25f910=R(_0x418cb8[_0x4779e3(0x202)]+this[_0x4779e3(0x1f3)],_0x1027e3[_0x4779e3(0x204)]);return!!_0x25f910&&(this[_0x4779e3(0x1c4)](_0x418cb8,_0x418cb8[_0x4779e3(0x204)]-_0x25f910),!0x0);}[_0x5d42ac(0x1fa)](_0x1e143d,_0xe0b73e){const _0x23c3a4=_0x5d42ac;_0x1e143d[_0x23c3a4(0x1cc)]();const _0x1aafda=R(_0x1e143d[_0x23c3a4(0x202)]+this[_0x23c3a4(0x1f3)],_0xe0b73e[_0x23c3a4(0x204)]);return!!_0x1aafda&&(this[_0x23c3a4(0x1c4)](_0xe0b73e,_0xe0b73e[_0x23c3a4(0x204)]+_0x1aafda,!0x1),!0x0);}[_0x5d42ac(0x1ca)](_0x596237){const _0x52d89e=_0x5d42ac,_0x4c3f2d=this[_0x52d89e(0x20b)][_0x52d89e(0x1e2)](_0x596237);if(!_0x4c3f2d||!_0x4c3f2d[_0x52d89e(0x1f0)]||!_0x4c3f2d[_0x52d89e(0x1da)])return;const _0x41709e=this[_0x52d89e(0x1d6)](_0x4c3f2d,_0x4c3f2d[_0x52d89e(0x1da)]);this[_0x52d89e(0x1c4)](_0x596237,_0x41709e);}[_0x5d42ac(0x1d6)](_0x363497,_0x350d40){const _0x2258f6=_0x5d42ac;if(null===_0x350d40)return 0x0;if(_0x363497[_0x2258f6(0x1f0)]instanceof _0x58e01b)return _0x350d40[_0x2258f6(0x204)];{const _0x2e7c4c=new _0x58e01b(this[_0x2258f6(0x1ee)][_0x2258f6(0x1c0)])[_0x2258f6(0x204)];return _0x350d40[_0x2258f6(0x204)]-_0x2e7c4c;}}[_0x5d42ac(0x1c4)](_0x8d9d7,_0x4f9c84,_0x213f61=this[_0x5d42ac(0x1ff)][_0x5d42ac(0x1c3)][_0x5d42ac(0x1e2)](_0x5d42ac(0x1e5))){const _0x40f514=_0x5d42ac;_0x213f61&&(_0x4f9c84=Math[_0x40f514(0x1d1)](_0x4f9c84,this[_0x40f514(0x1f8)](_0x8d9d7))),_0x8d9d7[_0x40f514(0x204)]=_0x4f9c84;}[_0x5d42ac(0x1f8)](_0x2aedc4){const _0x4d5fb7=_0x5d42ac;let _0x229750=this[_0x4d5fb7(0x1cd)](_0x2aedc4),_0x585935=0x0;for(;_0x229750;)_0x229750[_0x4d5fb7(0x1cc)](),_0x585935+=this[_0x4d5fb7(0x1f3)]+_0x229750[_0x4d5fb7(0x1fe)],_0x229750=this[_0x4d5fb7(0x1cd)](_0x229750);return _0x585935;}}function R(_0x27ee0b,_0x10ed47){const _0x4e2094=_0x5d42ac;return Math[_0x4e2094(0x1d1)](_0x27ee0b-_0x10ed47,0x0);}function _0x3b02(){const _0x324a9f=['6HBnvkS','bind','_spaceBetweenItems','sidebar.container','class','add','2419668QafTaY','_getMaxAvailableTop','351lPUYdl','_alignAfterItem','refresh','clear','delete','height','context','change:top','change:targetRect','bottom','533544jYKiav','top','length','_alignForTopChange','object','_createSidebarView','getSidebarItemView','_updateLastItem','_sidebarItemViewToAnnotation','isAnimationDisabled','addAnnotation','last','Sidebar','nodeType','_annotations','_annotationToSidebarItemView','_attachToContainer','_alignForBottomChange','minHeight','_getItemAfter','init','stopListening','sidebar-setcontainer-invalid-element','5vaQblL','set','element','_targetTop','push','config','_setItemTop','content','getIndex','setContainer','8033940QgVSds','locale','_alignToTargetRect','277076QawxuT','updateHeight','_getItemBefore','pluginName','rearrange','listenTo','max','_recalculate','render','_recalculateBuffer','_destroySidebarItemView','_getTargetTop','appendChild','isActive','change:_lastItem','targetRect','define','2556246zqqznY','container','remove','_detachFromContainer','_activeAnnotation','unbind','get','200562vEvpmx','list','sidebar.preventScrollOutOfView','_lastItem','isPremiumPlugin','_alignBeforeItem','isOfficialPlugin','destroy','66408QxwvIr','sidebar-attachtocontainer-missing-container','40oBLviz','view','change:bottom','target'];_0x3b02=function(){return _0x324a9f;};return _0x3b02();}function y(_0x97baf5){const _0x4ea527=_0x5d42ac;return null!==_0x97baf5&&_0x4ea527(0x207)==typeof _0x97baf5&&0x1===_0x97baf5[_0x4ea527(0x1b4)];}
|
|
23
|
+
const _0x3a6e86=_0xb8cc;(function(_0x389d2b,_0x94ca7d){const _0x50720f=_0xb8cc,_0x49720f=_0x389d2b();while(!![]){try{const _0x122d34=-parseInt(_0x50720f(0xd1))/0x1*(-parseInt(_0x50720f(0xda))/0x2)+parseInt(_0x50720f(0x9e))/0x3+parseInt(_0x50720f(0x9f))/0x4+-parseInt(_0x50720f(0xa7))/0x5*(parseInt(_0x50720f(0xf1))/0x6)+parseInt(_0x50720f(0xa3))/0x7+parseInt(_0x50720f(0xe1))/0x8*(-parseInt(_0x50720f(0x9c))/0x9)+-parseInt(_0x50720f(0xc2))/0xa;if(_0x122d34===_0x94ca7d)break;else _0x49720f['push'](_0x49720f['shift']());}catch(_0x3d6fcf){_0x49720f['push'](_0x49720f['shift']());}}}(_0x4e4b,0x80a59));import{ContextPlugin as _0x9a1dd}from'ckeditor5/src/core.js';import{Rect as _0x16638b,CKEditorError as _0x4468b2}from'ckeditor5/src/utils.js';function _0xb8cc(_0x3b3257,_0x265c68){const _0x4e4bdf=_0x4e4b();return _0xb8cc=function(_0xb8cc4b,_0x4a964a){_0xb8cc4b=_0xb8cc4b-0x98;let _0x5e3d5b=_0x4e4bdf[_0xb8cc4b];return _0x5e3d5b;},_0xb8cc(_0x3b3257,_0x265c68);}import _0x1a6d0f from'./view/sidebarview.js';import _0x567651 from'./view/sidebaritemview.js';export default class z extends _0x9a1dd{static get[_0x3a6e86(0xa0)](){const _0x4959ae=_0x3a6e86;return _0x4959ae(0xea);}static get[_0x3a6e86(0xc0)](){return!0x0;}static get[_0x3a6e86(0xa6)](){return!0x0;}constructor(_0x1d4d5f){const _0x5a8093=_0x3a6e86;super(_0x1d4d5f),this[_0x5a8093(0xb3)](_0x5a8093(0xcd),void 0x0),this[_0x5a8093(0xe7)]=this[_0x5a8093(0xe6)](),this[_0x5a8093(0xb3)](_0x5a8093(0xdc),null),this[_0x5a8093(0xdf)]=0x19,this[_0x5a8093(0xa8)]=new Map(),this[_0x5a8093(0xe0)]=new Map(),this[_0x5a8093(0xa2)][_0x5a8093(0xc9)][_0x5a8093(0xec)](_0x5a8093(0xb0),!0x1),this[_0x5a8093(0xf2)]=null,this[_0x5a8093(0xa9)]=null,this[_0x5a8093(0xe3)]=[];}[_0x3a6e86(0xcf)](){const _0x33e22b=_0x3a6e86,_0x33b678=this[_0x33e22b(0xa2)][_0x33e22b(0xc9)][_0x33e22b(0xd0)](_0x33e22b(0xc1));_0x33b678&&this[_0x33e22b(0xe5)](_0x33b678);}[_0x3a6e86(0xe5)](_0x2981fb){const _0x227287=_0x3a6e86;if(!y(_0x2981fb))throw new _0x4468b2(_0x227287(0xae));this[_0x227287(0xdc)]=_0x2981fb;}[_0x3a6e86(0xc7)]({viewClass:_0x16bdb0='',spaceBetweenItems:_0x577e02=0x19}={}){const _0x30ab26=_0x3a6e86;if(!y(this[_0x30ab26(0xdc)]))throw new _0x4468b2(_0x30ab26(0xad),this);this[_0x30ab26(0xdc)][_0x30ab26(0xd4)](this[_0x30ab26(0xe7)][_0x30ab26(0xbf)]),this[_0x30ab26(0xe7)][_0x30ab26(0xd5)]=_0x16bdb0,this[_0x30ab26(0xdf)]=_0x577e02;}[_0x3a6e86(0xee)]({removedAnnotation:_0x7b1d2a,previousAnnotation:_0x48dc66,nextAnnotation:_0x1ddae5}){const _0x48fec6=_0x3a6e86,_0x2a9b25=this[_0x48fec6(0xde)](_0x7b1d2a);this[_0x48fec6(0xe7)][_0x48fec6(0xbb)][_0x48fec6(0xb8)](_0x2a9b25),this[_0x48fec6(0xa4)](_0x7b1d2a),_0x48dc66&&this[_0x48fec6(0x9b)](this[_0x48fec6(0xde)](_0x48dc66)),_0x1ddae5&&this[_0x48fec6(0x9b)](this[_0x48fec6(0xde)](_0x1ddae5)),this[_0x48fec6(0xcb)]();}[_0x3a6e86(0xac)]({blurredAnnotation:_0x4a5c5b,activatedAnnotation:_0x59c65c,disableAnimationOnActivatedAnnotation:_0x557055}){const _0x583df5=_0x3a6e86;if(this[_0x583df5(0xa9)]=_0x59c65c,_0x4a5c5b){_0x4a5c5b[_0x583df5(0xb4)]=!0x1;const _0x11cbc1=this[_0x583df5(0xde)](_0x4a5c5b);_0x11cbc1&&_0x557055&&(_0x11cbc1[_0x583df5(0xe4)]=!0x1);}if(_0x59c65c){const _0x313d0e=this[_0x583df5(0xde)](_0x59c65c);_0x313d0e&&(_0x59c65c[_0x583df5(0xb4)]=!0x0,_0x557055&&(_0x313d0e[_0x583df5(0xe4)]=!0x0,_0x313d0e[_0x583df5(0xbe)]+=0x1),this[_0x583df5(0x9b)](_0x313d0e));}}[_0x3a6e86(0xc6)](_0x32503d){const _0x5458c2=_0x3a6e86;if(this[_0x5458c2(0xe7)][_0x5458c2(0xbf)][_0x5458c2(0xb8)](),_0x32503d){for(const _0x430a65 of _0x32503d)this[_0x5458c2(0xa4)](_0x430a65);}this[_0x5458c2(0xe7)][_0x5458c2(0xbb)][_0x5458c2(0xb1)](),this[_0x5458c2(0xe7)][_0x5458c2(0xd5)]='',this[_0x5458c2(0xcd)]=null;}[_0x3a6e86(0xab)](_0x246ae3,_0x4aebdb){const _0x164ae5=_0x3a6e86;_0x4aebdb||(_0x4aebdb=_0x246ae3[_0x164ae5(0xe7)]);const _0x4db146=new _0x567651(this[_0x164ae5(0xa2)][_0x164ae5(0xc8)]);this[_0x164ae5(0xa8)][_0x164ae5(0xb3)](_0x4db146,_0x246ae3),this[_0x164ae5(0xe0)][_0x164ae5(0xb3)](_0x246ae3,_0x4db146),_0x4db146[_0x164ae5(0xaa)][_0x164ae5(0xd7)](_0x4aebdb),this[_0x164ae5(0xd3)](_0x246ae3[_0x164ae5(0xe7)],_0x164ae5(0xbc),(_0x30cb3a,_0x9f7cab,_0xa24145)=>{const _0x3f744f=_0x164ae5,_0x3f31c9=this[_0x3f744f(0xe9)](_0x246ae3,_0xa24145);_0x4db146[_0x3f744f(0xce)]!=_0x3f31c9&&(_0x4db146[_0x3f744f(0xce)]=_0x3f31c9,this[_0x3f744f(0xeb)](_0x4db146,_0x3f31c9));}),this[_0x164ae5(0xd3)](_0x4db146,_0x164ae5(0xd8),()=>{const _0x42854e=_0x164ae5;this[_0x42854e(0xe8)](_0x4db146,_0x42854e(0xbe));}),this[_0x164ae5(0xd3)](_0x4db146,_0x164ae5(0xb6),()=>{const _0x598171=_0x164ae5;this[_0x598171(0xe8)](_0x4db146,_0x598171(0xf0));}),this[_0x164ae5(0x9b)](_0x4db146);const _0x42057e=this[_0x164ae5(0xb2)](_0x4db146);if(_0x42057e)this[_0x164ae5(0xbd)](_0x42057e,_0x4db146)||this[_0x164ae5(0x9b)](_0x4db146);else this[_0x164ae5(0x9b)](_0x4db146);return this[_0x164ae5(0xcb)](),this[_0x164ae5(0xe7)][_0x164ae5(0xbb)][_0x164ae5(0xd7)](_0x4db146),_0x4db146;}[_0x3a6e86(0xef)](_0x5a0ec0){const _0x871976=_0x3a6e86;if(!_0x5a0ec0[_0x871976(0xaa)][_0x871976(0xb5)])return;const _0x1b62bc=this[_0x871976(0xb2)](_0x5a0ec0);if(!_0x1b62bc)return;const _0x5a75ea=this[_0x871976(0xa8)][_0x871976(0xd0)](_0x1b62bc),_0xc77d17=this[_0x871976(0xa9)];_0xc77d17&&_0xc77d17===_0x5a75ea?this[_0x871976(0xbd)](_0x1b62bc,_0x5a0ec0):this[_0x871976(0xaf)](_0x5a0ec0,_0x1b62bc);}[_0x3a6e86(0xdd)](_0x1e834f){const _0x3367d0=_0x3a6e86;if(!_0x1e834f[_0x3367d0(0xaa)][_0x3367d0(0xb5)])return;const _0x4ebc59=this[_0x3367d0(0x98)](_0x1e834f);if(!_0x4ebc59)return;const _0x17f56a=this[_0x3367d0(0xa8)][_0x3367d0(0xd0)](_0x4ebc59),_0x5f1f74=this[_0x3367d0(0xa2)][_0x3367d0(0xc9)][_0x3367d0(0xd0)](_0x3367d0(0xb0)),_0x4ef762=this[_0x3367d0(0xa9)];_0x4ef762&&_0x4ef762===_0x17f56a&&_0x5f1f74?(this[_0x3367d0(0xaf)](_0x4ebc59,_0x1e834f),this[_0x3367d0(0xbd)](_0x1e834f,_0x4ebc59)):_0x4ef762&&_0x4ef762===_0x17f56a?this[_0x3367d0(0xaf)](_0x4ebc59,_0x1e834f):this[_0x3367d0(0xbd)](_0x1e834f,_0x4ebc59);}[_0x3a6e86(0xe8)](_0x4b16e7,_0x4c6bfe){const _0x5f1789=_0x3a6e86;0x0===this[_0x5f1789(0xe3)][_0x5f1789(0xb5)]&&setTimeout(()=>{const _0x1db044=_0x5f1789;for(const {sidebarItemView:_0x3bb828,changedProp:_0x493e62}of this[_0x1db044(0xe3)])_0x1db044(0xbe)===_0x493e62?this[_0x1db044(0xef)](_0x3bb828):this[_0x1db044(0xdd)](_0x3bb828);this[_0x1db044(0xe3)]=[];},0xa),this[_0x5f1789(0xe3)][_0x5f1789(0xb7)]({'sidebarItemView':_0x4b16e7,'changedProp':_0x4c6bfe});}[_0x3a6e86(0xde)](_0x3a52b6){const _0x19d092=_0x3a6e86;return this[_0x19d092(0xe0)][_0x19d092(0xd0)](_0x3a52b6);}[_0x3a6e86(0xd9)](){const _0x13522b=_0x3a6e86;this[_0x13522b(0xd6)](),this[_0x13522b(0xe7)][_0x13522b(0xd9)]();}[_0x3a6e86(0xa4)](_0x2b1509){const _0x5a18fb=_0x3a6e86,_0x1b60f9=this[_0x5a18fb(0xde)](_0x2b1509);this[_0x5a18fb(0xd6)](_0x1b60f9),this[_0x5a18fb(0xd6)](_0x2b1509[_0x5a18fb(0xe7)]),_0x1b60f9[_0x5a18fb(0xd9)](),this[_0x5a18fb(0xe0)][_0x5a18fb(0xc3)](_0x2b1509),this[_0x5a18fb(0xa8)][_0x5a18fb(0xc3)](_0x1b60f9);}[_0x3a6e86(0xe6)](){const _0x170c01=_0x3a6e86,_0x3db64e=new _0x1a6d0f(this[_0x170c01(0xa2)][_0x170c01(0xc8)]);return _0x3db64e[_0x170c01(0xed)](),this['on'](_0x170c01(0xdb),(_0x291052,_0x570a9d,_0x53f82b,_0x356b4f)=>{const _0x386f4d=_0x170c01;_0x356b4f&&_0x3db64e[_0x386f4d(0x9a)](_0x386f4d(0x99)),_0x53f82b?_0x3db64e[_0x386f4d(0xba)](_0x386f4d(0x99))['to'](_0x53f82b,_0x386f4d(0xf0)):_0x3db64e[_0x386f4d(0x99)]=null;}),_0x3db64e;}[_0x3a6e86(0xcb)](){const _0x318c2f=_0x3a6e86;var _0x3a5e0a;this[_0x318c2f(0xcd)]=(null===(_0x3a5e0a=this[_0x318c2f(0xf2)])||void 0x0===_0x3a5e0a?void 0x0:_0x3a5e0a[_0x318c2f(0x9d)])?this[_0x318c2f(0xde)](this[_0x318c2f(0xf2)][_0x318c2f(0x9d)]):null;}[_0x3a6e86(0xb2)](_0x35b7f){const _0x44f5e7=_0x3a6e86;var _0x50a495;const _0x17c3a1=this[_0x44f5e7(0xa8)][_0x44f5e7(0xd0)](_0x35b7f),_0x783d27=_0x17c3a1&&(null===(_0x50a495=this[_0x44f5e7(0xf2)])||void 0x0===_0x50a495?void 0x0:_0x50a495[_0x44f5e7(0xd0)](this[_0x44f5e7(0xf2)][_0x44f5e7(0xb9)](_0x17c3a1)-0x1));return _0x783d27&&this[_0x44f5e7(0xde)](_0x783d27)||null;}[_0x3a6e86(0x98)](_0x5623d8){const _0x278a96=_0x3a6e86;var _0x23d935;const _0x5b3f61=this[_0x278a96(0xa8)][_0x278a96(0xd0)](_0x5623d8),_0x40c267=_0x5b3f61&&(null===(_0x23d935=this[_0x278a96(0xf2)])||void 0x0===_0x23d935?void 0x0:_0x23d935[_0x278a96(0xd0)](this[_0x278a96(0xf2)][_0x278a96(0xb9)](_0x5b3f61)+0x1));return _0x40c267&&this[_0x278a96(0xde)](_0x40c267)||null;}[_0x3a6e86(0xaf)](_0x5e7365,_0x563bc4){const _0x54cefc=_0x3a6e86;_0x5e7365[_0x54cefc(0xd2)]();const _0x59fce9=R(_0x563bc4[_0x54cefc(0xf0)]+this[_0x54cefc(0xdf)],_0x5e7365[_0x54cefc(0xbe)]);return!!_0x59fce9&&(this[_0x54cefc(0xeb)](_0x563bc4,_0x563bc4[_0x54cefc(0xbe)]-_0x59fce9),!0x0);}[_0x3a6e86(0xbd)](_0x2e9a9c,_0x5279bc){const _0x4419b7=_0x3a6e86;_0x2e9a9c[_0x4419b7(0xd2)]();const _0x3264d5=R(_0x2e9a9c[_0x4419b7(0xf0)]+this[_0x4419b7(0xdf)],_0x5279bc[_0x4419b7(0xbe)]);return!!_0x3264d5&&(this[_0x4419b7(0xeb)](_0x5279bc,_0x5279bc[_0x4419b7(0xbe)]+_0x3264d5,!0x1),!0x0);}[_0x3a6e86(0x9b)](_0x3927f9){const _0x35be25=_0x3a6e86,_0x4f5f06=this[_0x35be25(0xa8)][_0x35be25(0xd0)](_0x3927f9);if(!_0x4f5f06||!_0x4f5f06[_0x35be25(0xcc)]||!_0x4f5f06[_0x35be25(0xc4)])return;const _0x315ed6=this[_0x35be25(0xe9)](_0x4f5f06,_0x4f5f06[_0x35be25(0xc4)]);this[_0x35be25(0xeb)](_0x3927f9,_0x315ed6);}[_0x3a6e86(0xe9)](_0xb12822,_0x363a2d){const _0x55d30f=_0x3a6e86;if(null===_0x363a2d)return 0x0;if(_0xb12822[_0x55d30f(0xcc)]instanceof _0x16638b)return _0x363a2d[_0x55d30f(0xbe)];{const _0x1ccd1b=new _0x16638b(this[_0x55d30f(0xe7)][_0x55d30f(0xbf)])[_0x55d30f(0xbe)];return _0x363a2d[_0x55d30f(0xbe)]-_0x1ccd1b;}}[_0x3a6e86(0xeb)](_0x3b47e1,_0x11d9ce,_0x2452d9=this[_0x3a6e86(0xa2)][_0x3a6e86(0xc9)][_0x3a6e86(0xd0)](_0x3a6e86(0xb0))){const _0x535872=_0x3a6e86;_0x2452d9&&(_0x11d9ce=Math[_0x535872(0xe2)](_0x11d9ce,this[_0x535872(0xca)](_0x3b47e1))),_0x3b47e1[_0x535872(0xbe)]=_0x11d9ce;}[_0x3a6e86(0xca)](_0x25a125){const _0x295d2e=_0x3a6e86;let _0x2664b4=this[_0x295d2e(0xb2)](_0x25a125),_0x27c731=0x0;for(;_0x2664b4;)_0x2664b4[_0x295d2e(0xd2)](),_0x27c731+=this[_0x295d2e(0xdf)]+_0x2664b4[_0x295d2e(0xa1)],_0x2664b4=this[_0x295d2e(0xb2)](_0x2664b4);return _0x27c731;}}function R(_0x22dd45,_0x31678e){const _0x5c414f=_0x3a6e86;return Math[_0x5c414f(0xe2)](_0x22dd45-_0x31678e,0x0);}function y(_0x48d63c){const _0x2dbafa=_0x3a6e86;return null!==_0x48d63c&&_0x2dbafa(0xa5)==typeof _0x48d63c&&0x1===_0x48d63c[_0x2dbafa(0xc5)];}function _0x4e4b(){const _0x8a082f=['content','addAnnotation','refresh','sidebar-attachtocontainer-missing-container','sidebar-setcontainer-invalid-element','_alignBeforeItem','sidebar.preventScrollOutOfView','clear','_getItemBefore','set','isActive','length','change:bottom','push','remove','getIndex','bind','list','change:targetRect','_alignAfterItem','top','element','isOfficialPlugin','sidebar.container','6710790ZWdVfT','delete','targetRect','nodeType','_detachFromContainer','_attachToContainer','locale','config','_getMaxAvailableTop','_updateLastItem','target','_lastItem','_targetTop','init','get','1TJONWh','updateHeight','listenTo','appendChild','class','stopListening','add','change:top','destroy','946712nwOQFe','change:_lastItem','container','_alignForBottomChange','getSidebarItemView','_spaceBetweenItems','_annotationToSidebarItemView','1015336yQsBww','max','_recalculateBuffer','isAnimationDisabled','setContainer','_createSidebarView','view','_recalculate','_getTargetTop','Sidebar','_setItemTop','define','render','rearrange','_alignForTopChange','bottom','30AtRgTX','_annotations','_getItemAfter','minHeight','unbind','_alignToTargetRect','27NBRVSi','last','2803686RNEhZh','54384duwJdL','pluginName','height','context','2211076bLypsR','_destroySidebarItemView','object','isPremiumPlugin','158615bVjITj','_sidebarItemViewToAnnotation','_activeAnnotation'];_0x4e4b=function(){return _0x8a082f;};return _0x4e4b();}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/annotations/view/annotationcounterbuttonview
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4b0d(){const _0x5bb006=['extendTemplate','52dRMhEU','11zIolUb','1164630sjtJTO','children','78087olESde','ck-annotation-counter__badge','944nfOvYT','isDirty','bind','annotationType','bindTemplate','1liodYz','icon','8379012RIdDSl','span','505812iQsoHJ','add','_badge','setTemplate','set','...','756242FWZnzz','26978qHEQSA','counterView','toString','ck-annotation-counter','ck-annotation-counter__badge--','ck-annotation-counter__badge--edit-mode','2718665XkvkpU','18JZJviL','number'];_0x4b0d=function(){return _0x5bb006;};return _0x4b0d();}function _0x12e6(_0xaf83ae,_0x3a9cfa){const _0x4b0d2e=_0x4b0d();return _0x12e6=function(_0x12e637,_0x427970){_0x12e637=_0x12e637-0xb1;let _0xe061db=_0x4b0d2e[_0x12e637];return _0xe061db;},_0x12e6(_0xaf83ae,_0x3a9cfa);}(function(_0x4e8095,_0x1230ce){const _0x2f4de5=_0x12e6,_0x1994b8=_0x4e8095();while(!![]){try{const _0xa3977a=parseInt(_0x2f4de5(0xc2))/0x1*(parseInt(_0x2f4de5(0xcc))/0x2)+-parseInt(_0x2f4de5(0xbb))/0x3*(parseInt(_0x2f4de5(0xb7))/0x4)+-parseInt(_0x2f4de5(0xb3))/0x5+-parseInt(_0x2f4de5(0xc6))/0x6+-parseInt(_0x2f4de5(0xcd))/0x7*(-parseInt(_0x2f4de5(0xbd))/0x8)+-parseInt(_0x2f4de5(0xb4))/0x9*(parseInt(_0x2f4de5(0xb9))/0xa)+parseInt(_0x2f4de5(0xb8))/0xb*(parseInt(_0x2f4de5(0xc4))/0xc);if(_0xa3977a===_0x1230ce)break;else _0x1994b8['push'](_0x1994b8['shift']());}catch(_0x143197){_0x1994b8['push'](_0x1994b8['shift']());}}}(_0x4b0d,0x5101e));import{ButtonView as _0x1bc464,View as _0x4b9492}from'ckeditor5/src/ui.js';import _0x5989fd from'../../../theme/icons/add-comment.svg';export default class D extends _0x1bc464{constructor(_0x137e25){const _0x511ced=_0x12e6;super(_0x137e25);const _0x35880a=this[_0x511ced(0xc1)];this[_0x511ced(0xca)](_0x511ced(0xbe),!0x1),this[_0x511ced(0xca)](_0x511ced(0xb5),0x0),this[_0x511ced(0xbf)](_0x511ced(0xc8))['to'](this,_0x511ced(0xbe),this,_0x511ced(0xb5),(_0x3eb0d0,_0x341063)=>_0x3eb0d0?_0x511ced(0xcb):_0x341063[_0x511ced(0xcf)]()),this[_0x511ced(0xca)](_0x511ced(0xc0),''),this[_0x511ced(0xc3)]=_0x5989fd,this[_0x511ced(0xb6)]({'attributes':{'class':[_0x511ced(0xd0)]}}),this[_0x511ced(0xce)]=new _0x4b9492(),this[_0x511ced(0xce)][_0x511ced(0xc9)]({'tag':_0x511ced(0xc5),'attributes':{'class':[_0x511ced(0xbc),_0x35880a['to'](_0x511ced(0xc0),_0x39add3=>_0x511ced(0xb1)+_0x39add3),_0x35880a['if'](_0x511ced(0xbe),_0x511ced(0xb2))]},'children':[{'text':_0x35880a['to'](_0x511ced(0xc8))}]}),this[_0x511ced(0xba)][_0x511ced(0xc7)](this[_0x511ced(0xce)]);}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/annotations/view/annotationview
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2322(){const _0x9d5b21=['element','ck-rounded-corners','6388515EmqNgc','detach','type','presentation','ck-annotation-wrapper','712tidADi','height','attach','listenTo','div','first','createCollection','_updateHeight','486466VQYNKM','length','arrowdown','clear','isActive','clientHeight','Esc','targetRect','arrowup','ck-annotation-wrapper--active','fire','mainView','delegate','isDirty','setTemplate','content','render','3883024ueYFXO','keystrokes','5dowpts','35441YkUiiP','focusTracker','354mObfKC','10ekYJDW','set','428087yaMlfP','_mutationObserver','20134FuIkoW','focus','add','7477578mmlbUA','bindTemplate','destroy'];_0x2322=function(){return _0x9d5b21;};return _0x2322();}const _0x357a96=_0x86fe;(function(_0x7794fb,_0x420521){const _0x32828d=_0x86fe,_0x4e623=_0x7794fb();while(!![]){try{const _0x21bd4e=parseInt(_0x32828d(0xe7))/0x1+-parseInt(_0x32828d(0x102))/0x2*(-parseInt(_0x32828d(0xfd))/0x3)+parseInt(_0x32828d(0xf8))/0x4*(-parseInt(_0x32828d(0xfa))/0x5)+-parseInt(_0x32828d(0xd5))/0x6+parseInt(_0x32828d(0xfb))/0x7*(parseInt(_0x32828d(0xdf))/0x8)+parseInt(_0x32828d(0xda))/0x9+parseInt(_0x32828d(0xfe))/0xa*(parseInt(_0x32828d(0x100))/0xb);if(_0x21bd4e===_0x420521)break;else _0x4e623['push'](_0x4e623['shift']());}catch(_0xf48706){_0x4e623['push'](_0x4e623['shift']());}}}(_0x2322,0xa0548));import{View as _0x3bdb2f}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4e1bfb,KeystrokeHandler as _0x3e7100,uid as _0x57531d}from'ckeditor5/src/utils.js';import _0x213e4e from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';function _0x86fe(_0x279fa7,_0x240452){const _0x2322c3=_0x2322();return _0x86fe=function(_0x86fe08,_0x2d3f64){_0x86fe08=_0x86fe08-0xd5;let _0x5a08df=_0x2322c3[_0x86fe08];return _0x5a08df;},_0x86fe(_0x279fa7,_0x240452);}export default class T extends _0x3bdb2f{constructor(_0x1824ae,_0x37ab2e){const _0x5241bc=_0x86fe;super(_0x1824ae),this['id']=_0x57531d(),this[_0x5241bc(0xfc)]=new _0x4e1bfb(),this[_0x5241bc(0xf9)]=new _0x3e7100(),this[_0x5241bc(0xf9)][_0x5241bc(0xff)](_0x5241bc(0xed),(_0x6f42b1,_0x265fd1)=>this[_0x5241bc(0xf1)](_0x5241bc(0xed),_0x265fd1)),this[_0x5241bc(0xff)](_0x5241bc(0xee),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x5241bc(0xff)](_0x5241bc(0xe0),0x0),this[_0x5241bc(0xff)](_0x5241bc(0xeb),!0x1),this[_0x5241bc(0xff)](_0x5241bc(0xf4),!0x1),this[_0x5241bc(0xff)](_0x5241bc(0xe8),0x0),this[_0x5241bc(0xff)](_0x5241bc(0xdc),''),this[_0x5241bc(0x101)]=_0x213e4e(()=>this[_0x5241bc(0xe6)]()),this[_0x5241bc(0xf6)]=this[_0x5241bc(0xe5)](),this[_0x5241bc(0xf6)][_0x5241bc(0xf3)](_0x5241bc(0xef),_0x5241bc(0xe9))['to'](this),this[_0x5241bc(0xf6)][_0x5241bc(0x104)](_0x37ab2e),this[_0x5241bc(0xf2)]=_0x37ab2e;const _0x2b9711=this[_0x5241bc(0xd6)];this[_0x5241bc(0xf5)]({'tag':_0x5241bc(0xe3),'attributes':{'class':['ck',_0x5241bc(0xde),_0x5241bc(0xd9),_0x2b9711['if'](_0x5241bc(0xeb),_0x5241bc(0xf0))],'role':_0x5241bc(0xdd)},'children':this[_0x5241bc(0xf6)]});}[_0x357a96(0xf7)](){const _0x15d9b1=_0x357a96;super[_0x15d9b1(0xf7)](),this[_0x15d9b1(0xfc)][_0x15d9b1(0x104)](this[_0x15d9b1(0xd8)]),this[_0x15d9b1(0xf9)][_0x15d9b1(0xe2)](this[_0x15d9b1(0xd8)]),this[_0x15d9b1(0x101)][_0x15d9b1(0xe1)](this[_0x15d9b1(0xd8)]);}[_0x357a96(0xd7)](){const _0xa25894=_0x357a96;this[_0xa25894(0xf6)][_0xa25894(0xea)](),this[_0xa25894(0xf9)][_0xa25894(0xd7)](),this[_0xa25894(0xfc)][_0xa25894(0xd7)](),this[_0xa25894(0x101)][_0xa25894(0xdb)](),super[_0xa25894(0xd7)]();}[_0x357a96(0x103)](){const _0x10c7cb=_0x357a96;this[_0x10c7cb(0xf6)][_0x10c7cb(0xe4)]&&this[_0x10c7cb(0xf6)][_0x10c7cb(0xe4)][_0x10c7cb(0x103)]();}[_0x357a96(0xe6)](){const _0x61ae3a=_0x357a96,_0x3ca3ac=this[_0x61ae3a(0xd8)][_0x61ae3a(0xec)];_0x3ca3ac&&(this[_0x61ae3a(0xe0)]=_0x3ca3ac);}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/annotations/view/sidebaritemview
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x433c71=_0x5ac7;(function(_0x258a0f,_0x5e0e00){const _0x419d86=_0x5ac7,_0xe1dabc=_0x258a0f();while(!![]){try{const _0x4cb0d1=-parseInt(_0x419d86(0x1a9))/0x1+-parseInt(_0x419d86(0x19f))/0x2+parseInt(_0x419d86(0x1ae))/0x3*(-parseInt(_0x419d86(0x1a2))/0x4)+-parseInt(_0x419d86(0x1bd))/0x5+parseInt(_0x419d86(0x1bb))/0x6+-parseInt(_0x419d86(0x1c2))/0x7*(parseInt(_0x419d86(0x1b6))/0x8)+parseInt(_0x419d86(0x1b5))/0x9*(parseInt(_0x419d86(0x19e))/0xa);if(_0x4cb0d1===_0x5e0e00)break;else _0xe1dabc['push'](_0xe1dabc['shift']());}catch(_0x44f282){_0xe1dabc['push'](_0xe1dabc['shift']());}}}(_0x2a61,0x18cf4));function _0x2a61(){const _0x15322a=['presentation','1089498LizXmh','setTemplate','537850aWWSnl','isAnimationDisabled','arrowup','updateHeight','clientHeight','14XMQHdq','height','first','4140370cPBepI','221272YsfBKW','delegate','set','4fQdxuP','detach','destroy','bindTemplate','clear','bottom','attach','125966OGkFBm','ck-sidebar-item--no-animation','focus','_mutationObserver','render','436398QIMdBb','top','content','_targetTop','arrowdown','createCollection','element','9NcpPor','17448FJWWLd','ck-sidebar-item','bind','div'];_0x2a61=function(){return _0x15322a;};return _0x2a61();}import{View as _0x4e6814}from'ckeditor5/src/ui.js';import{toUnit as _0x399273}from'ckeditor5/src/utils.js';function _0x5ac7(_0x4dd048,_0x17fa8a){const _0x2a617d=_0x2a61();return _0x5ac7=function(_0x5ac7e0,_0x4af72a){_0x5ac7e0=_0x5ac7e0-0x19e;let _0x27d17c=_0x2a617d[_0x5ac7e0];return _0x27d17c;},_0x5ac7(_0x4dd048,_0x17fa8a);}import _0xcad295 from'../../utils/createmutationobserver.js';const qt=_0x399273('px');export default class H extends _0x4e6814{constructor(_0x1fe57e){const _0x17d722=_0x5ac7;super(_0x1fe57e),this[_0x17d722(0x1a1)](_0x17d722(0x1af),0x0),this[_0x17d722(0x1a1)](_0x17d722(0x1c3),0x0),this[_0x17d722(0x1b8)](_0x17d722(0x1a7))['to'](this,_0x17d722(0x1af),this,_0x17d722(0x1c3),(_0x1f8613,_0xe0caeb)=>_0x1f8613+_0xe0caeb),this[_0x17d722(0x1a1)](_0x17d722(0x1be),!0x1),this[_0x17d722(0x1ac)]=_0xcad295(()=>this[_0x17d722(0x1c0)]()),this[_0x17d722(0x1b1)]=null,this[_0x17d722(0x1b0)]=this[_0x17d722(0x1b3)](),this[_0x17d722(0x1b0)][_0x17d722(0x1a0)](_0x17d722(0x1bf),_0x17d722(0x1b2))['to'](this);const _0x5696bc=this[_0x17d722(0x1a5)];this[_0x17d722(0x1bc)]({'tag':_0x17d722(0x1b9),'attributes':{'class':[_0x17d722(0x1b7),_0x5696bc['to'](_0x17d722(0x1be),_0x4b1ff9=>_0x4b1ff9?_0x17d722(0x1aa):'')],'style':{'top':_0x5696bc['to'](_0x17d722(0x1af),_0x3cc455=>qt(_0x3cc455))},'role':_0x17d722(0x1ba)},'children':this[_0x17d722(0x1b0)]});}[_0x433c71(0x1ad)](){const _0x128c95=_0x433c71;super[_0x128c95(0x1ad)](),this[_0x128c95(0x1ac)][_0x128c95(0x1a8)](this[_0x128c95(0x1b4)]);}[_0x433c71(0x1ab)](){const _0x1df832=_0x433c71;this[_0x1df832(0x1b0)][_0x1df832(0x1c4)]&&this[_0x1df832(0x1b0)][_0x1df832(0x1c4)][_0x1df832(0x1ab)]();}[_0x433c71(0x1c0)](){const _0x424ed4=_0x433c71,_0x34c4dd=this[_0x424ed4(0x1b4)][_0x424ed4(0x1c1)];_0x34c4dd&&(this[_0x424ed4(0x1c3)]=_0x34c4dd);}[_0x433c71(0x1a4)](){const _0x2bf920=_0x433c71;this[_0x2bf920(0x1b0)][_0x2bf920(0x1a6)](),this[_0x2bf920(0x1ac)][_0x2bf920(0x1a3)](),super[_0x2bf920(0x1a4)]();}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/annotations/view/sidebarview
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c62d3=_0x5c6d;function _0x5c6d(_0x14b0e1,_0x1b532a){const _0x69d1e6=_0x69d1();return _0x5c6d=function(_0x5c6dcf,_0x71e2f0){_0x5c6dcf=_0x5c6dcf-0x94;let _0x8596c1=_0x69d1e6[_0x5c6dcf];return _0x8596c1;},_0x5c6d(_0x14b0e1,_0x1b532a);}(function(_0x13611f,_0x2aa3e2){const _0x1dcfde=_0x5c6d,_0x2963c5=_0x13611f();while(!![]){try{const _0x21b12d=parseInt(_0x1dcfde(0xb9))/0x1*(-parseInt(_0x1dcfde(0x98))/0x2)+parseInt(_0x1dcfde(0xa5))/0x3+parseInt(_0x1dcfde(0x9e))/0x4*(-parseInt(_0x1dcfde(0xb6))/0x5)+parseInt(_0x1dcfde(0xaf))/0x6*(parseInt(_0x1dcfde(0xaa))/0x7)+parseInt(_0x1dcfde(0x97))/0x8+-parseInt(_0x1dcfde(0xbe))/0x9*(-parseInt(_0x1dcfde(0xac))/0xa)+parseInt(_0x1dcfde(0x9d))/0xb*(-parseInt(_0x1dcfde(0xc3))/0xc);if(_0x21b12d===_0x2aa3e2)break;else _0x2963c5['push'](_0x2963c5['shift']());}catch(_0x57868b){_0x2963c5['push'](_0x2963c5['shift']());}}}(_0x69d1,0x1cc1f));import{View as _0x1a8495,FocusCycler as _0xdf1321}from'ckeditor5/src/ui.js';function _0x69d1(){const _0x55bd7d=['890HkVEZl','_updateItemPositionInFocusables','element','1sHJCOh','div','removed','forEach','getIndex','2017089UcCFEh','length','focusFirst','top','change:top','24DUnwWz','source','arrowdown','focusCycler','focusTracker','change','focus','arrowup','added','505176IMuYLp','196150ABxxBN','class','bindTemplate','delegate','listenTo','2308812jgXpZZ','704CzaHjF','add','ck-reset','number','set','focusPrevious','focusables','476994sLiqtF','Annotations\x20list','list','_setupKeyboardNavigation','uiLanguageDirection','2632MvVqRS','application','10hilKhf','render','focusNext','3522rkCchF','createCollection','remove','minHeight','setTemplate','Annotations\x20sidebar','ck-sidebar'];_0x69d1=function(){return _0x55bd7d;};return _0x69d1();}import{FocusTracker as _0x399dea,toUnit as _0x1ffde2}from'ckeditor5/src/utils.js';import{getTranslation as _0x462c7c}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const qt=_0x1ffde2('px');export default class V extends _0x1a8495{constructor(_0x44ca40){const _0x15d6c4=_0x5c6d;super(_0x44ca40);const _0xed85d8=this[_0x15d6c4(0x9a)];this[_0x15d6c4(0xa2)](_0x15d6c4(0xb2),0x0),this[_0x15d6c4(0xa2)](_0x15d6c4(0x99),''),this[_0x15d6c4(0xa7)]=this[_0x15d6c4(0xb0)](),this[_0x15d6c4(0xa4)]=this[_0x15d6c4(0xb0)](),this[_0x15d6c4(0xa7)][_0x15d6c4(0x9b)](_0x15d6c4(0x95),_0x15d6c4(0xc5))['to'](this),this[_0x15d6c4(0xc7)]=new _0x399dea(),this[_0x15d6c4(0xc6)]=new _0xdf1321({'focusables':this[_0x15d6c4(0xa4)],'focusTracker':this[_0x15d6c4(0xc7)]}),this[_0x15d6c4(0xb3)]({'tag':_0x15d6c4(0xba),'attributes':{'class':['ck',_0x15d6c4(0xb5),_0x15d6c4(0xa0),_0xed85d8['to'](_0x15d6c4(0x99))],'style':{'minHeight':_0xed85d8['to'](_0x15d6c4(0xb2),_0x5b06f0=>_0x15d6c4(0xa1)==typeof _0x5b06f0?qt(_0x5b06f0+0xa):null)},'dir':_0x44ca40[_0x15d6c4(0xa9)],'role':_0x15d6c4(0xab),'aria-label':_0x462c7c(_0x44ca40,_0x15d6c4(0xb4)),'tabindex':0x0},'children':[{'tag':_0x15d6c4(0xba),'attributes':{'role':_0x15d6c4(0xa7),'aria-label':_0x462c7c(_0x44ca40,_0x15d6c4(0xa6))},'children':this[_0x15d6c4(0xa7)]}]});}[_0x1c62d3(0xad)](){const _0x2add6b=_0x1c62d3;super[_0x2add6b(0xad)](),this[_0x2add6b(0xa8)]();}[_0x1c62d3(0x94)](){const _0x133d93=_0x1c62d3;this[_0x133d93(0xc6)][_0x133d93(0xc0)]();}[_0x1c62d3(0xa8)](){const _0x4a5562=_0x1c62d3;this[_0x4a5562(0xa7)][_0x4a5562(0x9b)](_0x4a5562(0xc2))['to'](this),this['on'](_0x4a5562(0xc2),_0x1dac56=>{const _0xa36644=_0x4a5562;this[_0xa36644(0xb7)](_0x1dac56[_0xa36644(0xc4)]);}),this[_0x4a5562(0xa7)][_0x4a5562(0xbc)](_0x1e49f9=>{const _0x57998d=_0x4a5562;this[_0x57998d(0xc7)][_0x57998d(0x9f)](_0x1e49f9[_0x57998d(0xb8)]),this[_0x57998d(0xb7)](_0x1e49f9);}),this[_0x4a5562(0xa7)]['on'](_0x4a5562(0xc8),(_0x4a0a56,_0x764bd)=>{const _0x1fce0e=_0x4a5562;for(const _0xc58434 of _0x764bd[_0x1fce0e(0xbb)])this[_0x1fce0e(0xc7)][_0x1fce0e(0xb1)](_0xc58434[_0x1fce0e(0xb8)]),this[_0x1fce0e(0xa4)][_0x1fce0e(0xb1)](_0xc58434);for(const _0x2d3576 of _0x764bd[_0x1fce0e(0x96)])this[_0x1fce0e(0xc7)][_0x1fce0e(0x9f)](_0x2d3576[_0x1fce0e(0xb8)]),this[_0x1fce0e(0xb7)](_0x2d3576);}),this['on'](_0x4a5562(0x95),()=>{const _0x498a9b=_0x4a5562;this[_0x498a9b(0xc6)][_0x498a9b(0xa3)]();}),this['on'](_0x4a5562(0xc5),()=>{const _0x33a84f=_0x4a5562;this[_0x33a84f(0xc6)][_0x33a84f(0xae)]();}),this[_0x4a5562(0x9c)](this[_0x4a5562(0xb8)],_0x4a5562(0x94),()=>{const _0x251de4=_0x4a5562;this[_0x251de4(0x94)]();});}[_0x1c62d3(0xb7)](_0x32d1b8){const _0x5a4205=_0x1c62d3,_0x50a5de=this[_0x5a4205(0xa4)][_0x5a4205(0xbd)](_0x32d1b8);let _0x143b3f,_0x1c1bc4;for(const _0x582433 of this[_0x5a4205(0xa4)])if(_0x32d1b8[_0x5a4205(0xc1)]<_0x582433[_0x5a4205(0xc1)]){_0x143b3f=_0x582433;break;}if(_0x1c1bc4=_0x143b3f?this[_0x5a4205(0xa4)][_0x5a4205(0xbd)](_0x143b3f):this[_0x5a4205(0xa4)][_0x5a4205(0xbf)],-0x1!==_0x50a5de){if(_0x50a5de===_0x1c1bc4-0x1)return;this[_0x5a4205(0xa4)][_0x5a4205(0xb1)](_0x32d1b8),_0x1c1bc4=_0x143b3f?this[_0x5a4205(0xa4)][_0x5a4205(0xbd)](_0x143b3f):this[_0x5a4205(0xa4)][_0x5a4205(0xbf)];}this[_0x5a4205(0xa4)][_0x5a4205(0x9f)](_0x32d1b8,_0x1c1bc4);}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/annotations/widesidebar
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x21ce9a=_0x2d47;(function(_0x427944,_0xe52770){const _0x4b15b3=_0x2d47,_0xf83d72=_0x427944();while(!![]){try{const _0x58bcb5=parseInt(_0x4b15b3(0x1e0))/0x1+-parseInt(_0x4b15b3(0x1c4))/0x2*(parseInt(_0x4b15b3(0x1dc))/0x3)+-parseInt(_0x4b15b3(0x1b8))/0x4*(parseInt(_0x4b15b3(0x1ba))/0x5)+-parseInt(_0x4b15b3(0x1b9))/0x6*(-parseInt(_0x4b15b3(0x1b7))/0x7)+parseInt(_0x4b15b3(0x1aa))/0x8+parseInt(_0x4b15b3(0x1e1))/0x9+-parseInt(_0x4b15b3(0x1a7))/0xa;if(_0x58bcb5===_0xe52770)break;else _0xf83d72['push'](_0xf83d72['shift']());}catch(_0x33af77){_0xf83d72['push'](_0xf83d72['shift']());}}}(_0x5d43,0x5de8c));import{ContextPlugin as _0x4478ce,Context as _0x82c9a9}from'ckeditor5/src/core.js';function _0x5d43(){const _0x5a35d2=['context','widesidebar-detach-not-attached','pluginName','_editorAnnotations','updateTargetRect','init','register','listenTo','annotations','EditorAnnotations','set:container','wideSidebar','removeEventListener','off','change:container','isAttached','_refreshPositioningDebounced','refreshPositioning','plugins','WideSidebar','178239EvRjGl','_attachToContainer','resize','_detachFromContainer','292818YBGApF','5014674OARabL','destroy','add','hasDomSelection','_annotations','remove','high','stopListening','rearrange','detach','cancel','widesidebar-attach-already-attached','9002140eREKxX','uiUpdate','switchTo','5458848ThtzEv','getOrderedSelectedAnnotations','focus','attach','_activeAnnotation','ready','isPremiumPlugin','addEventListener','addAnnotation','requires','ck-sidebar--wide','has','blur','1307299GIWEfc','10636neWpkG','18jycGpU','290ZINFJH','_destroyEditorAnnotationsIntegration','get','isOfficialPlugin','set','activeAnnotation','refresh','from','container','stop','22aSZrLK','setActiveAnnotation','_integrateWithEditorAnnotations','editors'];_0x5d43=function(){return _0x5a35d2;};return _0x5d43();}import _0x66eb37 from'./annotationsuis.js';import _0x50d894 from'./sidebar.js';import{CKEditorError as _0x300b9c,Collection as _0x5d1228}from'ckeditor5/src/utils.js';import{debounce as _0x4701c7}from'lodash-es';function _0x2d47(_0x1cfc7c,_0x500779){const _0x5d43ea=_0x5d43();return _0x2d47=function(_0x2d4750,_0x1308ec){_0x2d4750=_0x2d4750-0x1a4;let _0x49428f=_0x5d43ea[_0x2d4750];return _0x49428f;},_0x2d47(_0x1cfc7c,_0x500779);}export default class e extends _0x4478ce{static get[_0x21ce9a(0x1b3)](){return[_0x50d894,_0x66eb37];}static get[_0x21ce9a(0x1ca)](){const _0x593d02=_0x21ce9a;return _0x593d02(0x1db);}static get[_0x21ce9a(0x1bd)](){return!0x0;}static get[_0x21ce9a(0x1b0)](){return!0x0;}constructor(_0x55ec3e){const _0x4eae52=_0x21ce9a;super(_0x55ec3e),this[_0x4eae52(0x1d7)]=!0x1,this[_0x4eae52(0x1be)](_0x4eae52(0x1bf),null),this[_0x4eae52(0x1d0)]=null,this[_0x4eae52(0x1cb)]=new _0x5d1228(),this[_0x4eae52(0x1d8)]=_0x4701c7(()=>{const _0x1b2893=_0x4eae52;this[_0x1b2893(0x1d0)][_0x1b2893(0x1d9)]();},0xfa,{'leading':!0x1});}[_0x21ce9a(0x1cd)](){const _0x3f41d3=_0x21ce9a,_0xc82db6=this[_0x3f41d3(0x1c8)][_0x3f41d3(0x1da)][_0x3f41d3(0x1bc)](_0x66eb37),_0x3dbb74=this[_0x3f41d3(0x1c8)][_0x3f41d3(0x1da)][_0x3f41d3(0x1bc)](_0x50d894);_0xc82db6[_0x3f41d3(0x1ce)](_0x3f41d3(0x1d3),this),_0x3dbb74[_0x3f41d3(0x1c2)]&&_0xc82db6[_0x3f41d3(0x1a9)](_0x3f41d3(0x1d3));}[_0x21ce9a(0x1c5)](_0x30da5c){const _0x3db7e4=_0x21ce9a;if(_0x30da5c===this[_0x3db7e4(0x1bf)])return;const _0x31949f=this[_0x3db7e4(0x1c8)][_0x3db7e4(0x1da)][_0x3db7e4(0x1bc)](_0x50d894);_0x31949f[_0x3db7e4(0x1ae)]=_0x30da5c;const _0x5b61d2=this[_0x3db7e4(0x1bf)];this[_0x3db7e4(0x1bf)]=_0x30da5c,_0x31949f[_0x3db7e4(0x1c0)]({'blurredAnnotation':_0x5b61d2,'activatedAnnotation':this[_0x3db7e4(0x1bf)]});}[_0x21ce9a(0x1ad)](_0x55febd){const _0x150328=_0x21ce9a;this[_0x150328(0x1d0)]=_0x55febd;const _0x27a38b=this[_0x150328(0x1c8)][_0x150328(0x1da)][_0x150328(0x1bc)](_0x50d894);if(_0x27a38b[_0x150328(0x1e5)]=_0x55febd,this[_0x150328(0x1d7)])throw new _0x300b9c(_0x150328(0x1a6),this);this[_0x150328(0x1d7)]=!0x0,this[_0x150328(0x1cf)](_0x27a38b,_0x150328(0x1d2),()=>{const _0x1ff326=_0x150328;this[_0x1ff326(0x1a4)](),this[_0x1ff326(0x1cf)](_0x27a38b,_0x1ff326(0x1d6),_0x3933ff=>{const _0x426734=_0x1ff326;_0x3933ff[_0x426734(0x1d5)](),this[_0x426734(0x1ad)](_0x55febd);});}),_0x27a38b[_0x150328(0x1dd)]({'viewClass':_0x150328(0x1b4)});const _0x3dd52b=_0x3a16ec=>{const _0x114e2c=_0x150328;_0x3a16ec[_0x114e2c(0x1cc)](),_0x27a38b[_0x114e2c(0x1b2)](_0x3a16ec);};for(const _0x2f4cd5 of _0x55febd)_0x3dd52b(_0x2f4cd5);this[_0x150328(0x1cf)](_0x55febd,_0x150328(0x1e3),(_0x5714d9,_0x16beae)=>{_0x3dd52b(_0x16beae);}),this[_0x150328(0x1cf)](_0x55febd,_0x150328(0x1e6),(_0x5ea882,_0x3ff471,_0x1abad9)=>{const _0x37e9ab=_0x150328;_0x27a38b[_0x37e9ab(0x1e9)]({'removedAnnotation':_0x3ff471,'previousAnnotation':_0x55febd[_0x37e9ab(0x1bc)](_0x1abad9-0x1),'nextAnnotation':_0x55febd[_0x37e9ab(0x1bc)](_0x1abad9+0x1)}),_0x3ff471===this[_0x37e9ab(0x1bf)]&&this[_0x37e9ab(0x1c5)](null);},{'priority':_0x150328(0x1e7)}),this[_0x150328(0x1cf)](_0x55febd,_0x150328(0x1ac),(_0x58c087,_0x563c6c)=>{const _0x3bf7e3=_0x150328;this[_0x3bf7e3(0x1c5)](_0x563c6c);}),this[_0x150328(0x1cf)](_0x55febd,_0x150328(0x1b6),()=>{const _0x2d4377=_0x150328;this[_0x2d4377(0x1c5)](null);});const _0x2edae5=this[_0x150328(0x1c8)]instanceof _0x82c9a9?this[_0x150328(0x1c8)][_0x150328(0x1c7)]:new _0x5d1228([this[_0x150328(0x1c8)]]);for(const _0x274989 of _0x2edae5)this[_0x150328(0x1c6)](_0x274989);this[_0x150328(0x1cf)](_0x2edae5,_0x150328(0x1e3),(_0x22edac,_0x16d156)=>{const _0x1d4fbc=_0x150328;this[_0x1d4fbc(0x1cf)](_0x16d156,_0x1d4fbc(0x1af),()=>{const _0x4d0ac7=_0x1d4fbc;this[_0x4d0ac7(0x1c6)](_0x16d156);});}),this[_0x150328(0x1cf)](_0x2edae5,_0x150328(0x1e6),(_0xbf9703,_0x45eb57)=>{const _0x3fc7b8=_0x150328;_0x45eb57[_0x3fc7b8(0x1da)][_0x3fc7b8(0x1b5)](_0x3fc7b8(0x1d1))&&this[_0x3fc7b8(0x1bb)](_0x45eb57[_0x3fc7b8(0x1da)][_0x3fc7b8(0x1bc)](_0x3fc7b8(0x1d1)));}),window[_0x150328(0x1b1)](_0x150328(0x1de),this[_0x150328(0x1d8)]),this[_0x150328(0x1d0)][_0x150328(0x1d9)]();}[_0x21ce9a(0x1a4)](){const _0x33a380=_0x21ce9a;if(!this[_0x33a380(0x1d7)])throw new _0x300b9c(_0x33a380(0x1c9),this);this[_0x33a380(0x1c5)](null);const _0xb2e66e=this[_0x33a380(0x1c8)][_0x33a380(0x1da)][_0x33a380(0x1bc)](_0x50d894);_0xb2e66e[_0x33a380(0x1df)](this[_0x33a380(0x1d0)]),this[_0x33a380(0x1e8)](_0xb2e66e),this[_0x33a380(0x1e8)](this[_0x33a380(0x1d0)]),this[_0x33a380(0x1c8)]instanceof _0x82c9a9&&this[_0x33a380(0x1e8)](this[_0x33a380(0x1c8)][_0x33a380(0x1c7)]);for(const _0x5bbd6c of Array[_0x33a380(0x1c1)](this[_0x33a380(0x1cb)]))this[_0x33a380(0x1bb)](_0x5bbd6c);window[_0x33a380(0x1d4)](_0x33a380(0x1de),this[_0x33a380(0x1d8)]),this[_0x33a380(0x1d8)][_0x33a380(0x1a5)](),this[_0x33a380(0x1bf)]=null,this[_0x33a380(0x1d7)]=!0x1,this[_0x33a380(0x1d0)]=null;}[_0x21ce9a(0x1e2)](){const _0x3384ba=_0x21ce9a;this[_0x3384ba(0x1d7)]&&this[_0x3384ba(0x1a4)]();}[_0x21ce9a(0x1c6)](_0x34933c){const _0x16d336=_0x21ce9a;if(!_0x34933c[_0x16d336(0x1da)][_0x16d336(0x1b5)](_0x16d336(0x1d1)))return;const _0xcb0b2d=_0x34933c[_0x16d336(0x1da)][_0x16d336(0x1bc)](_0x16d336(0x1d1)),_0x244bc2=()=>{const _0x1c7a91=_0x16d336,_0x81fe3e=_0xcb0b2d[_0x1c7a91(0x1ab)]({'annotations':this[_0x1c7a91(0x1d0)],'activeAnnotation':this[_0x1c7a91(0x1bf)]});this[_0x1c7a91(0x1c5)](_0x81fe3e[0x0]||null);};this[_0x16d336(0x1cf)](_0xcb0b2d,_0x16d336(0x1c0),_0x244bc2),this[_0x16d336(0x1cf)](_0xcb0b2d,_0x16d336(0x1b6),(_0x143d35,{isAnnotationTracked:_0x21ede3})=>{const _0x1dc0db=_0x16d336;this[_0x1dc0db(0x1bf)]&&_0x21ede3(this[_0x1dc0db(0x1bf)])&&this[_0x1dc0db(0x1c5)](null);}),this[_0x16d336(0x1cf)](_0xcb0b2d,_0x16d336(0x1a8),()=>{const _0x597555=_0x16d336;this[_0x597555(0x1d8)]();}),this[_0x16d336(0x1cf)](this[_0x16d336(0x1d0)],_0x16d336(0x1b6),_0x18d65f=>{const _0xa9a3ef=_0x16d336;_0xcb0b2d[_0xa9a3ef(0x1e4)]()&&(_0x244bc2(),_0x18d65f[_0xa9a3ef(0x1c3)]());},{'priority':_0x16d336(0x1e7)}),this[_0x16d336(0x1cb)][_0x16d336(0x1e3)](_0xcb0b2d);}[_0x21ce9a(0x1bb)](_0x34ab7d){const _0x28e277=_0x21ce9a;this[_0x28e277(0x1e8)](_0x34ab7d),this[_0x28e277(0x1cb)][_0x28e277(0x1e6)](_0x34ab7d);}}
|
package/src/augmentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import type { CommentsConfig, SidebarConfig, Annotations, AnnotationsUIs, EditorAnnotations, InlineAnnotations, WideSidebar, NarrowSidebar, Comments, CommentsRepository, CommentsUI, CommentsOnly, CommentsArchive, CommentsArchiveUI } from './index.js';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/comments/addcommentthreadcommand
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x289c7d=_0x8cb1;(function(_0x45f2c6,_0x35f131){const _0x140673=_0x8cb1,_0x275f57=_0x45f2c6();while(!![]){try{const _0x69f8d1=-parseInt(_0x140673(0x86))/0x1*(parseInt(_0x140673(0x7c))/0x2)+-parseInt(_0x140673(0x81))/0x3*(-parseInt(_0x140673(0x80))/0x4)+-parseInt(_0x140673(0x8f))/0x5*(parseInt(_0x140673(0x8b))/0x6)+parseInt(_0x140673(0x7b))/0x7+parseInt(_0x140673(0x8e))/0x8+parseInt(_0x140673(0x74))/0x9*(-parseInt(_0x140673(0x98))/0xa)+parseInt(_0x140673(0x91))/0xb;if(_0x69f8d1===_0x35f131)break;else _0x275f57['push'](_0x275f57['shift']());}catch(_0x1f0f82){_0x275f57['push'](_0x275f57['shift']());}}}(_0x1950,0xc3a4b));import{Command as _0x33d6cd}from'ckeditor5/src/core.js';import{uid as _0x144e31}from'ckeditor5/src/utils.js';function _0x8cb1(_0x2519bd,_0x5d0263){const _0x195036=_0x1950();return _0x8cb1=function(_0x8cb15b,_0x461ed9){_0x8cb15b=_0x8cb15b-0x74;let _0x116a48=_0x195036[_0x8cb15b];return _0x116a48;},_0x8cb1(_0x2519bd,_0x5d0263);}function _0x1950(){const _0x933f1e=['schema','71950hJLXTo','model','substr','1836tIMnKH','createRange','execute','backward','addMarker','getLastMatchingPosition','document','1937390dvWSwb','206796unTNgt','getRanges','_itemIsContent','push','4pbfRbV','981177QWXSzp','isEnabled','element','selection','tableCell','11oBDwom','item','$textProxy','editor','start','18fOjuoH','refresh','_trimToContent','10156480APytYl','982510weXKZv','comment:','23348930xdRgjY','change','isObject','_hasContent','end','getItems'];_0x1950=function(){return _0x933f1e;};return _0x1950();}export default class J extends _0x33d6cd{[_0x289c7d(0x8c)](){const _0x4e3790=_0x289c7d,_0x410f77=this[_0x4e3790(0x89)][_0x4e3790(0x99)][_0x4e3790(0x7a)][_0x4e3790(0x84)];for(const _0x59e1c4 of _0x410f77[_0x4e3790(0x7d)]())if(this[_0x4e3790(0x94)](_0x59e1c4))return void(this[_0x4e3790(0x82)]=!0x0);this[_0x4e3790(0x82)]=!0x1;}[_0x289c7d(0x76)]({threadId:_0x6b9ef3=_0x144e31()}={}){const _0x1ae2e2=_0x289c7d,_0x4f99fb=this[_0x1ae2e2(0x89)][_0x1ae2e2(0x99)],_0x482c6e=[];for(const _0x4fa37c of _0x4f99fb[_0x1ae2e2(0x7a)][_0x1ae2e2(0x84)][_0x1ae2e2(0x7d)]())this[_0x1ae2e2(0x94)](_0x4fa37c)&&_0x482c6e[_0x1ae2e2(0x7f)](this[_0x1ae2e2(0x8d)](_0x4fa37c));_0x4f99fb[_0x1ae2e2(0x92)](_0x4d1924=>{const _0x508593=_0x1ae2e2;for(const _0x43e3f1 of _0x482c6e){const _0x3c4e2f=_0x144e31()[_0x508593(0x9a)](0x1,0x5),_0x2070bf=_0x508593(0x90)+_0x6b9ef3+':'+_0x3c4e2f;_0x4d1924[_0x508593(0x78)](_0x2070bf,{'range':_0x43e3f1,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x289c7d(0x94)](_0x29d328){const _0x4a5c9d=_0x289c7d;for(const _0x4d4e72 of _0x29d328[_0x4a5c9d(0x96)]())if(this[_0x4a5c9d(0x7e)](_0x4d4e72))return!0x0;return!0x1;}[_0x289c7d(0x7e)](_0x3bb299){const _0x57a00f=_0x289c7d;return _0x3bb299['is'](_0x57a00f(0x88))||this[_0x57a00f(0x89)][_0x57a00f(0x99)][_0x57a00f(0x97)][_0x57a00f(0x93)](_0x3bb299)&&!_0x3bb299['is'](_0x57a00f(0x83),_0x57a00f(0x85));}[_0x289c7d(0x8d)](_0x4cd4f3){const _0x5ab8d8=_0x289c7d,_0x511597=_0x1555ac=>!this[_0x5ab8d8(0x7e)](_0x1555ac[_0x5ab8d8(0x87)]),_0x54cf92=_0x4cd4f3[_0x5ab8d8(0x8a)][_0x5ab8d8(0x79)](_0x511597),_0x53ad06=_0x4cd4f3[_0x5ab8d8(0x95)][_0x5ab8d8(0x79)](_0x511597,{'direction':_0x5ab8d8(0x77)});return this[_0x5ab8d8(0x89)][_0x5ab8d8(0x99)][_0x5ab8d8(0x75)](_0x54cf92,_0x53ad06);}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/comments/commentsarchive
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x242b59=_0x22a3;(function(_0x47e2a6,_0x57f5ba){const _0x2654ec=_0x22a3,_0x51c3f0=_0x47e2a6();while(!![]){try{const _0x2faecc=parseInt(_0x2654ec(0xbb))/0x1*(-parseInt(_0x2654ec(0x9b))/0x2)+parseInt(_0x2654ec(0xa0))/0x3+-parseInt(_0x2654ec(0xb3))/0x4+parseInt(_0x2654ec(0x9e))/0x5+parseInt(_0x2654ec(0x98))/0x6*(parseInt(_0x2654ec(0xa2))/0x7)+-parseInt(_0x2654ec(0xb6))/0x8*(-parseInt(_0x2654ec(0xb1))/0x9)+-parseInt(_0x2654ec(0x9c))/0xa*(parseInt(_0x2654ec(0xb9))/0xb);if(_0x2faecc===_0x57f5ba)break;else _0x51c3f0['push'](_0x51c3f0['shift']());}catch(_0x22152f){_0x51c3f0['push'](_0x51c3f0['shift']());}}}(_0x57be,0x5264e));function _0x57be(){const _0x37a52f=['requires','getCommentThread','2066301cRgxvm','stopListening','50468rVRkIs','findIndex','remove','16LdIhzr','isActive','listenTo','5885XYTfUC','add','116879WaVnfy','change:archivedAt','get','isPremiumPlugin','_calculatePosition','2439516Xllkwv','has','context','2vDkNJu','21220ieeqCo','removeCommentThread','1843490gWeXYy','length','1103370WUQAgM','addCommentThread','7EyFvDX','init','activate','archivedAt','focus','collection','pluginName','CommentsArchive','plugins','isOfficialPlugin','isVisible','highest','archivedThreads'];_0x57be=function(){return _0x37a52f;};return _0x57be();}function _0x22a3(_0x4c76df,_0x4a634c){const _0x57bee7=_0x57be();return _0x22a3=function(_0x22a3d9,_0x2798d0){_0x22a3d9=_0x22a3d9-0x96;let _0xca311=_0x57bee7[_0x22a3d9];return _0xca311;},_0x22a3(_0x4c76df,_0x4a634c);}import{ContextPlugin as _0x249db3}from'ckeditor5/src/core.js';import{Collection as _0x3bad65}from'ckeditor5/src/utils.js';import _0x4d9cc3 from'./commentsrepository.js';import _0x2d786c from'../annotations/annotations.js';export default class f extends _0x249db3{static get[_0x242b59(0xa8)](){const _0x2ce247=_0x242b59;return _0x2ce247(0xa9);}static get[_0x242b59(0xab)](){return!0x0;}static get[_0x242b59(0x96)](){return!0x0;}static get[_0x242b59(0xaf)](){return[_0x4d9cc3,_0x2d786c];}constructor(_0x257134){const _0x40a83e=_0x242b59;super(_0x257134),this[_0x40a83e(0xae)]=new _0x3bad65();}[_0x242b59(0xa3)](){const _0x260930=_0x242b59,_0x1fa12a=this[_0x260930(0x9a)],_0x512ad3=_0x1fa12a[_0x260930(0xaa)][_0x260930(0xbd)](_0x4d9cc3),_0x4cc557=_0x1fa12a[_0x260930(0xaa)][_0x260930(0xbd)](_0x2d786c);this[_0x260930(0xb8)](_0x512ad3,_0x260930(0xa1),(_0x5252e5,{threadId:_0x4598e3})=>{const _0x39918b=_0x260930,_0x26d748=_0x512ad3[_0x39918b(0xb0)](_0x4598e3);_0x26d748[_0x39918b(0xa5)]&&this[_0x39918b(0xae)][_0x39918b(0xba)](_0x26d748,this[_0x39918b(0x97)](_0x26d748[_0x39918b(0xa5)])),this[_0x39918b(0xb8)](_0x26d748,_0x39918b(0xbc),(_0x47b693,_0x3973a9,_0xbd14f2)=>{const _0xa409f3=_0x39918b;_0xbd14f2?this[_0xa409f3(0xae)][_0xa409f3(0x99)](_0x26d748)||this[_0xa409f3(0xae)][_0xa409f3(0xba)](_0x26d748,this[_0xa409f3(0x97)](_0x26d748[_0xa409f3(0xa5)])):this[_0xa409f3(0xae)][_0xa409f3(0x99)](_0x26d748)&&this[_0xa409f3(0xae)][_0xa409f3(0xb5)](_0x26d748);});}),this[_0x260930(0xb8)](_0x512ad3,_0x260930(0x9d),(_0xd12e27,{threadId:_0x382ce9})=>{const _0x577a4d=_0x260930,_0x3f1ff1=_0x512ad3[_0x577a4d(0xb0)](_0x382ce9);this[_0x577a4d(0xb2)](_0x3f1ff1),this[_0x577a4d(0xae)][_0x577a4d(0x99)](_0x3f1ff1)&&this[_0x577a4d(0xae)][_0x577a4d(0xb5)](_0x3f1ff1);},{'priority':_0x260930(0xad)}),this[_0x260930(0xb8)](_0x4cc557[_0x260930(0xa7)],_0x260930(0xa6),(_0x2686cf,_0xf666b5)=>{const _0x2b016c=_0x260930;_0xf666b5[_0x2b016c(0xac)]||(_0xf666b5[_0x2b016c(0xb7)]=!0x0,_0x4cc557[_0x2b016c(0xa4)](_0xf666b5));});}[_0x242b59(0x97)](_0x53a5e8){const _0xa741e3=_0x242b59,_0x263226=[...this[_0xa741e3(0xae)]][_0xa741e3(0xb4)](_0x514484=>_0x514484[_0xa741e3(0xa5)]<_0x53a5e8);return _0x263226>-0x1?_0x263226:this[_0xa741e3(0xae)][_0xa741e3(0x9f)];}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/comments/commentsarchiveui
|