@ckeditor/ckeditor5-comments 44.0.0-alpha.9 → 44.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/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 _0x430314=_0x55f9;(function(_0x493230,_0x414ecb){const _0x381f06=_0x55f9,_0x1fb95d=_0x493230();while(!![]){try{const _0x3498cd=-parseInt(_0x381f06(0x1ad))/0x1*(-parseInt(_0x381f06(0x19e))/0x2)+-parseInt(_0x381f06(0x1c3))/0x3*(parseInt(_0x381f06(0x188))/0x4)+parseInt(_0x381f06(0x183))/0x5*(-parseInt(_0x381f06(0x1d5))/0x6)+-parseInt(_0x381f06(0x1b1))/0x7*(-parseInt(_0x381f06(0x1ed))/0x8)+-parseInt(_0x381f06(0x1f1))/0x9+parseInt(_0x381f06(0x1de))/0xa*(-parseInt(_0x381f06(0x19c))/0xb)+-parseInt(_0x381f06(0x1a3))/0xc*(-parseInt(_0x381f06(0x17d))/0xd);if(_0x3498cd===_0x414ecb)break;else _0x1fb95d['push'](_0x1fb95d['shift']());}catch(_0x5beff5){_0x1fb95d['push'](_0x1fb95d['shift']());}}}(_0x28f1,0x3bec6));import{ContextPlugin as _0x1c6310,Context as _0x3bb56c}from'ckeditor5/src/core.js';import _0x3855f4 from'./annotationsuis.js';import _0x5ab8db from'./sidebar.js';function _0x28f1(){const _0x4317fe=['find','248IhuYnW','destroy','Esc','_attachListeners','addAnnotation','values','narrowSidebar','activeAnnotation','requires','mousedown','defaultPositions','view','unpin','change:height','_showBalloon','number','_annotations','plugins','getByView','type','2068YXgVgI','isPremiumPlugin','168caTDdK','isAttached','annotationType','_destroyEditorAnnotationsIntegration','EditorAnnotations','6747288YjxbAU','change:container','content','set:container','off','create','NarrowSidebar','focusableElements','_manuallyClosedAnnotationViews','northArrowSouthWest','778eBdDrG','add','delete','keydown','7nyDpEW','uiUpdate','isOfficialPlugin','keyCode','refresh','locale','element','hasDomSelection','_integrateWithEditorAnnotations','attach','resize','first','southArrowNorthEast','blur','_domEmitter','northArrowSouthEast','focus','low','14997CyjzLJ','stop','from','includes','bodyCollection','balloonPanelView','setActiveAnnotation','removeEventListener','remove','narrowsidebar-attach-already-attached','pin','target','_refreshPositioning','southArrowNorthWest','annotations','init','getSidebarItemView','esc','1506hLzGOq','_editorAnnotations','addEventListener','pluginName','_updateBalloonPosition','isVisible','editors','narrowsidebar-detach-not-attached','ck-sidebar--narrow','17630Dlwoek','execute','_detachFromContainer','_selectedAnnotations','register','northArrowSouth','clear','bind','southArrowNorth','set','preventDefault','ready','has','attachToDom','stopPropagation','991552lCkfTQ','getOrderedSelectedAnnotations','high','_attachToContainer','2989242NVOBSX','_refreshPositioningDebounced','preventClosingBalloon','isDirty','_annotationToNarrowView','_detachListeners','context','stopListening','rearrange','detach','contains','26xnVslK','length','detachFromDom','get','listenTo','refreshPositioning','1890VEEwqN','_hideBalloon','_setSelectedAnnotations','cancel'];_0x28f1=function(){return _0x4317fe;};return _0x28f1();}import _0x5d20eb from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x2d10c5,BodyCollection as _0x296e07}from'ckeditor5/src/ui.js';import{CKEditorError as _0x4c772b,DomEmitterMixin as _0x2297ff,keyCodes as _0x3dfc13,Collection as _0x263ab5}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x554055}from'lodash-es';function _0x55f9(_0x39700c,_0x3029d5){const _0x28f1ff=_0x28f1();return _0x55f9=function(_0x55f9ba,_0x541962){_0x55f9ba=_0x55f9ba-0x179;let _0x2dbab0=_0x28f1ff[_0x55f9ba];return _0x2dbab0;},_0x55f9(_0x39700c,_0x3029d5);}export default class n extends _0x1c6310{static get[_0x430314(0x190)](){return[_0x5ab8db,_0x3855f4];}static get[_0x430314(0x1d8)](){const _0x4c5fe2=_0x430314;return _0x4c5fe2(0x1a9);}static get[_0x430314(0x1b3)](){return!0x0;}static get[_0x430314(0x19d)](){return!0x0;}constructor(_0x17d3c9){const _0x5375e0=_0x430314;super(_0x17d3c9),this[_0x5375e0(0x19f)]=!0x1,this[_0x5375e0(0x1ab)]=new Set(),this[_0x5375e0(0x1bf)]=Object[_0x5375e0(0x1a8)](_0x2297ff),this[_0x5375e0(0x1f5)]=new Map(),this[_0x5375e0(0x1e7)](_0x5375e0(0x18f),null),this[_0x5375e0(0x1d1)]=null,this[_0x5375e0(0x1e1)]=[],this[_0x5375e0(0x1d6)]=new _0x263ab5(),this[_0x5375e0(0x1f2)]=_0x554055(()=>{const _0x496b7f=_0x5375e0;this[_0x496b7f(0x1cf)]();},0xfa,{'leading':!0x1});}[_0x430314(0x1d2)](){const _0x55c3a0=_0x430314;this[_0x55c3a0(0x1f7)][_0x55c3a0(0x199)][_0x55c3a0(0x180)](_0x3855f4)[_0x55c3a0(0x1e2)](_0x55c3a0(0x18e),this),this[_0x55c3a0(0x1c7)]=new _0x296e07(this[_0x55c3a0(0x1f7)][_0x55c3a0(0x1b6)]),this[_0x55c3a0(0x1c8)]=new _0x2d10c5(this[_0x55c3a0(0x1f7)][_0x55c3a0(0x1b6)]),this[_0x55c3a0(0x1c7)][_0x55c3a0(0x1eb)](),this[_0x55c3a0(0x1c7)][_0x55c3a0(0x1ae)](this[_0x55c3a0(0x1c8)]);}[_0x430314(0x1ba)](_0x9b0d7a){const _0x5eb8c2=_0x430314;this[_0x5eb8c2(0x1d1)]=_0x9b0d7a;const _0x4fe957=this[_0x5eb8c2(0x1f7)][_0x5eb8c2(0x199)][_0x5eb8c2(0x180)](_0x5ab8db),_0x29e2b6=this[_0x5eb8c2(0x1c8)];if(_0x4fe957[_0x5eb8c2(0x198)]=_0x9b0d7a,this[_0x5eb8c2(0x19f)])throw new _0x4c772b(_0x5eb8c2(0x1cc),this);this[_0x5eb8c2(0x19f)]=!0x0,this[_0x5eb8c2(0x181)](_0x4fe957,_0x5eb8c2(0x1a6),()=>{const _0xab81c1=_0x5eb8c2;this[_0xab81c1(0x17b)](),this[_0xab81c1(0x181)](_0x4fe957,_0xab81c1(0x1a4),_0x2b5c8f=>{const _0x318fc8=_0xab81c1;_0x2b5c8f[_0x318fc8(0x1a7)](),this[_0x318fc8(0x1ba)](_0x9b0d7a);});}),_0x4fe957[_0x5eb8c2(0x1f0)]({'viewClass':_0x5eb8c2(0x1dd),'spaceBetweenItems':0x5});const _0x32e6ce=_0xceed6e=>{const _0x59741b=_0x5eb8c2,_0x42710f=new _0x5d20eb(this[_0x59741b(0x1f7)][_0x59741b(0x1b6)]);_0x4fe957[_0x59741b(0x18c)](_0xceed6e,_0x42710f),this[_0x59741b(0x1f5)][_0x59741b(0x1e7)](_0xceed6e,_0x42710f),_0x42710f[_0x59741b(0x1e5)](_0x59741b(0x1f4),_0x59741b(0x1a0),_0x59741b(0x197))['to'](_0xceed6e[_0x59741b(0x193)],_0x59741b(0x1f4),_0x59741b(0x19b),_0x59741b(0x17e)),_0x42710f['on'](_0x59741b(0x1df),()=>{const _0x3bbce0=_0x59741b;this[_0x3bbce0(0x1ab)][_0x3bbce0(0x1e4)](),_0x29e2b6[_0x3bbce0(0x1a5)][_0x3bbce0(0x1bc)]!==_0xceed6e[_0x3bbce0(0x193)]?(this[_0x3bbce0(0x196)](_0xceed6e),_0xceed6e[_0x3bbce0(0x193)][_0x3bbce0(0x1b7)][_0x3bbce0(0x1c1)](),this[_0x3bbce0(0x1c9)](_0xceed6e)):this[_0x3bbce0(0x1c9)](null);});};for(const _0x5d9ba4 of _0x9b0d7a)_0x32e6ce(_0x5d9ba4);this[_0x5eb8c2(0x181)](_0x9b0d7a,_0x5eb8c2(0x1ae),(_0x5d7c5e,_0x3dd89e)=>{_0x32e6ce(_0x3dd89e);}),this[_0x5eb8c2(0x181)](_0x9b0d7a,_0x5eb8c2(0x1cb),(_0x4c2130,_0x4bc006,_0x191ac9)=>{const _0x4a4f97=_0x5eb8c2;this[_0x4a4f97(0x1f5)][_0x4a4f97(0x180)](_0x4bc006)[_0x4a4f97(0x189)](),this[_0x4a4f97(0x1f5)][_0x4a4f97(0x1af)](_0x4bc006),_0x4fe957[_0x4a4f97(0x17a)]({'removedAnnotation':_0x4bc006,'previousAnnotation':_0x9b0d7a[_0x4a4f97(0x180)](_0x191ac9-0x1),'nextAnnotation':_0x9b0d7a[_0x4a4f97(0x180)](_0x191ac9+0x1)}),_0x4bc006===this[_0x4a4f97(0x18f)]&&this[_0x4a4f97(0x1c9)](null);},{'priority':_0x5eb8c2(0x1c2)}),this[_0x5eb8c2(0x181)](_0x9b0d7a,_0x5eb8c2(0x1c1),(_0x3f3f6e,_0x410c4b)=>{const _0x190058=_0x5eb8c2;this[_0x190058(0x1c9)](_0x410c4b);}),this[_0x5eb8c2(0x181)](_0x9b0d7a,_0x5eb8c2(0x1be),()=>{const _0x213990=_0x5eb8c2;this[_0x213990(0x1c9)](null);}),this[_0x5eb8c2(0x1bf)][_0x5eb8c2(0x181)](document,_0x5eb8c2(0x1b0),(_0x397d17,_0x12decb)=>{const _0x19c739=_0x5eb8c2;_0x12decb[_0x19c739(0x1b4)]===_0x3dfc13[_0x19c739(0x1d4)]&&_0x29e2b6[_0x19c739(0x1da)]&&(this[_0x19c739(0x1ab)][_0x19c739(0x1ae)](_0x29e2b6[_0x19c739(0x1a5)][_0x19c739(0x1bc)]),this[_0x19c739(0x184)](),_0x12decb[_0x19c739(0x1ec)](),_0x12decb[_0x19c739(0x1e8)]());}),this[_0x5eb8c2(0x1bf)][_0x5eb8c2(0x181)](document,_0x5eb8c2(0x191),(_0x514767,_0x4a6688)=>{const _0x4e824e=_0x5eb8c2,_0x5eaf1b=_0x4a6688[_0x4e824e(0x1ce)];_0x29e2b6[_0x4e824e(0x1da)]&&_0x29e2b6[_0x4e824e(0x1b7)][_0x4e824e(0x17c)](_0x5eaf1b)||_0x4fe957[_0x4e824e(0x193)][_0x4e824e(0x1b7)][_0x4e824e(0x17c)](_0x5eaf1b)||_0x514767[_0x4e824e(0x1f3)]||this[_0x4e824e(0x18f)]&&this[_0x4e824e(0x18f)][_0x4e824e(0x1aa)][_0x4e824e(0x187)](_0x3caae8=>_0x3caae8[_0x4e824e(0x17c)](_0x5eaf1b))||(this[_0x4e824e(0x1ab)][_0x4e824e(0x1e4)](),this[_0x4e824e(0x184)](),this[_0x4e824e(0x1c9)](null));});const _0x119357=this[_0x5eb8c2(0x1f7)]instanceof _0x3bb56c?this[_0x5eb8c2(0x1f7)][_0x5eb8c2(0x1db)]:new _0x263ab5([this[_0x5eb8c2(0x1f7)]]);for(const _0x49b0e0 of _0x119357)this[_0x5eb8c2(0x1b9)](_0x49b0e0);this[_0x5eb8c2(0x181)](_0x119357,_0x5eb8c2(0x1ae),(_0x180a45,_0x30d375)=>{const _0x52311e=_0x5eb8c2;this[_0x52311e(0x181)](_0x30d375,_0x52311e(0x1e9),()=>{const _0x165187=_0x52311e;this[_0x165187(0x1b9)](_0x30d375);});}),this[_0x5eb8c2(0x181)](_0x119357,_0x5eb8c2(0x1cb),(_0xdca50d,_0x3761e5)=>{const _0xcec480=_0x5eb8c2;_0x3761e5[_0xcec480(0x199)][_0xcec480(0x1ea)](_0xcec480(0x1a2))&&this[_0xcec480(0x1a1)](_0x3761e5[_0xcec480(0x199)][_0xcec480(0x180)](_0xcec480(0x1a2)));}),window[_0x5eb8c2(0x1d7)](_0x5eb8c2(0x1bb),this[_0x5eb8c2(0x1f2)]),this[_0x5eb8c2(0x1cf)]();}[_0x430314(0x1c9)](_0x18275a){const _0xb4b7f0=_0x430314;if(_0x18275a===this[_0xb4b7f0(0x18f)])return;const _0x4921f5=this[_0xb4b7f0(0x1f7)][_0xb4b7f0(0x199)][_0xb4b7f0(0x180)](_0x5ab8db);if(_0x4921f5[_0xb4b7f0(0x1b5)]({'blurredAnnotation':this[_0xb4b7f0(0x18f)],'activatedAnnotation':_0x18275a,'disableAnimationOnActivatedAnnotation':!0x0}),_0x18275a)_0x4921f5[_0xb4b7f0(0x1d3)](_0x18275a)?this[_0xb4b7f0(0x196)](_0x18275a):this[_0xb4b7f0(0x184)]();else this[_0xb4b7f0(0x184)]();this[_0xb4b7f0(0x18f)]=_0x18275a;}[_0x430314(0x17b)](){const _0x51a515=_0x430314;if(!this[_0x51a515(0x19f)])throw new _0x4c772b(_0x51a515(0x1dc),this);this[_0x51a515(0x1c9)](null);const _0x37e0e9=this[_0x51a515(0x1f7)][_0x51a515(0x199)][_0x51a515(0x180)](_0x5ab8db);this[_0x51a515(0x184)](),Array[_0x51a515(0x1c5)](this[_0x51a515(0x1f5)][_0x51a515(0x18d)](),_0x4ef02e=>_0x4ef02e[_0x51a515(0x189)]()),this[_0x51a515(0x1f5)][_0x51a515(0x1e4)](),_0x37e0e9[_0x51a515(0x1e0)](this[_0x51a515(0x1d1)]),this[_0x51a515(0x179)](),this[_0x51a515(0x1bf)][_0x51a515(0x179)](),this[_0x51a515(0x1f7)]instanceof _0x3bb56c&&this[_0x51a515(0x179)](this[_0x51a515(0x1f7)][_0x51a515(0x1db)]);for(const _0x221f68 of Array[_0x51a515(0x1c5)](this[_0x51a515(0x1d6)]))this[_0x51a515(0x1a1)](_0x221f68);window[_0x51a515(0x1ca)](_0x51a515(0x1bb),this[_0x51a515(0x1f2)]),this[_0x51a515(0x1f2)][_0x51a515(0x186)](),this[_0x51a515(0x1e1)]=[],this[_0x51a515(0x19f)]=!0x1,this[_0x51a515(0x1d1)]=null;}[_0x430314(0x189)](){const _0x928c3a=_0x430314;this[_0x928c3a(0x19f)]&&this[_0x928c3a(0x17b)](),this[_0x928c3a(0x1c7)][_0x928c3a(0x17f)]();}[_0x430314(0x1b9)](_0xf9e61e){const _0x47cb92=_0x430314;if(!_0xf9e61e[_0x47cb92(0x199)][_0x47cb92(0x1ea)](_0x47cb92(0x1a2)))return;const _0x64a1b0=_0xf9e61e[_0x47cb92(0x199)][_0x47cb92(0x180)](_0x47cb92(0x1a2)),_0x1c7d1e=this[_0x47cb92(0x1f7)][_0x47cb92(0x199)][_0x47cb92(0x180)](_0x5ab8db),_0x3cca57=this[_0x47cb92(0x1d1)],_0x2428dd=this[_0x47cb92(0x1c8)],_0x1bb6b0=()=>{const _0x332116=_0x47cb92,_0x588ea2=_0x64a1b0[_0x332116(0x1ee)]({'annotations':this[_0x332116(0x1d1)],'activeAnnotation':this[_0x332116(0x18f)]});this[_0x332116(0x185)](_0x588ea2),this[_0x332116(0x1c9)](_0x588ea2[0x0]||null);};this[_0x47cb92(0x181)](_0x64a1b0,_0x47cb92(0x1b5),_0x1bb6b0),this[_0x47cb92(0x181)](_0x64a1b0,_0x47cb92(0x1be),(_0x4593b3,{isAnnotationTracked:_0x2c010e})=>{const _0x397727=_0x47cb92;this[_0x397727(0x18f)]&&_0x2c010e(this[_0x397727(0x18f)])&&(this[_0x397727(0x185)]([]),this[_0x397727(0x1c9)](null));}),this[_0x47cb92(0x181)](_0x64a1b0,_0x47cb92(0x1b2),()=>{const _0x42b7f8=_0x47cb92;this[_0x42b7f8(0x1f2)]();}),this[_0x47cb92(0x181)](_0x3cca57,_0x47cb92(0x1be),_0x490439=>{const _0x30aa51=_0x47cb92;_0x64a1b0[_0x30aa51(0x1b8)]()&&_0x490439[_0x30aa51(0x1c4)]();},{'priority':_0x47cb92(0x1ef)}),this[_0x47cb92(0x181)](this[_0x47cb92(0x1bf)],_0x47cb92(0x191),(_0x2d6c17,_0x2338d4)=>{const _0x2a8ba6=_0x47cb92,_0x313ebd=_0x2338d4[_0x2a8ba6(0x1ce)];_0x2428dd[_0x2a8ba6(0x1da)]&&_0x2428dd[_0x2a8ba6(0x1b7)][_0x2a8ba6(0x17c)](_0x313ebd)||_0x1c7d1e[_0x2a8ba6(0x193)][_0x2a8ba6(0x1b7)][_0x2a8ba6(0x17c)](_0x313ebd)||this[_0x2a8ba6(0x18f)]&&_0x64a1b0[_0x2a8ba6(0x1b8)]()&&(_0x1bb6b0(),_0x2d6c17[_0x2a8ba6(0x1f3)]=!0x0);},{'priority':_0x47cb92(0x1ef)}),this[_0x47cb92(0x1d6)][_0x47cb92(0x1ae)](_0x64a1b0);}[_0x430314(0x1a1)](_0x12cf18){const _0x33ce14=_0x430314;_0x12cf18&&(this[_0x33ce14(0x179)](_0x12cf18),this[_0x33ce14(0x1d6)][_0x33ce14(0x1cb)](_0x12cf18));}[_0x430314(0x185)](_0x2f7174){const _0x27725e=_0x430314;for(const _0x3a819e of this[_0x27725e(0x1e1)])_0x2f7174[_0x27725e(0x1c6)](_0x3a819e)||this[_0x27725e(0x1ab)][_0x27725e(0x1af)](_0x3a819e[_0x27725e(0x193)]);this[_0x27725e(0x1e1)]=_0x2f7174;}[_0x430314(0x1cf)](){const _0x19607f=_0x430314,_0x2d98a9=this[_0x19607f(0x1c8)];this[_0x19607f(0x1d1)][_0x19607f(0x182)](),_0x2d98a9[_0x19607f(0x1da)]&&this[_0x19607f(0x1d9)]();}[_0x430314(0x196)](_0x17d515){const _0x1aa8d9=_0x430314;if(this[_0x1aa8d9(0x1ab)][_0x1aa8d9(0x1ea)](_0x17d515[_0x1aa8d9(0x193)]))return;const _0x46602f=this[_0x1aa8d9(0x1c8)][_0x1aa8d9(0x1a5)][_0x1aa8d9(0x1bc)];_0x46602f!==_0x17d515[_0x1aa8d9(0x193)]?(_0x46602f&&this[_0x1aa8d9(0x1f6)](_0x46602f),this[_0x1aa8d9(0x18b)](_0x17d515[_0x1aa8d9(0x193)]),this[_0x1aa8d9(0x1c8)][_0x1aa8d9(0x1a5)][_0x1aa8d9(0x1e4)](),this[_0x1aa8d9(0x1c8)][_0x1aa8d9(0x1a5)][_0x1aa8d9(0x1ae)](_0x17d515[_0x1aa8d9(0x193)]),this[_0x1aa8d9(0x1d9)]()):this[_0x1aa8d9(0x1d9)]();}[_0x430314(0x1d9)](){const _0x35cbaa=_0x430314,_0x526c10=this[_0x35cbaa(0x1c8)][_0x35cbaa(0x1a5)][_0x35cbaa(0x1bc)],_0x4745ba=_0x526c10&&this[_0x35cbaa(0x1d1)][_0x35cbaa(0x19a)](_0x526c10);if(!_0x4745ba||!this[_0x35cbaa(0x1f5)][_0x35cbaa(0x1ea)](_0x4745ba))return;const _0x67ab89=this[_0x35cbaa(0x1f5)][_0x35cbaa(0x180)](_0x4745ba)[_0x35cbaa(0x1b7)],_0x1e2213=(function(){const _0x2f3171=_0x35cbaa,_0x508992=_0x2d10c5[_0x2f3171(0x192)];return[_0x508992[_0x2f3171(0x1bd)],_0x508992[_0x2f3171(0x1c0)],_0x508992[_0x2f3171(0x1e6)],_0x508992[_0x2f3171(0x1e3)],_0x508992[_0x2f3171(0x1d0)],_0x508992[_0x2f3171(0x1ac)]];}());this[_0x35cbaa(0x1c8)][_0x35cbaa(0x1cd)]({'target':_0x67ab89,'positions':_0x1e2213});}[_0x430314(0x184)](){const _0x250bdd=_0x430314,_0x36c7aa=this[_0x250bdd(0x1c8)],_0x50bc4f=_0x36c7aa[_0x250bdd(0x1a5)][_0x250bdd(0x1bc)];_0x50bc4f&&(this[_0x250bdd(0x1f6)](_0x50bc4f),_0x36c7aa[_0x250bdd(0x194)](),_0x36c7aa[_0x250bdd(0x1a5)][_0x250bdd(0x1e4)]());}[_0x430314(0x18b)](_0xfe56ed){const _0x4774a8=_0x430314;this[_0x4774a8(0x181)](_0xfe56ed,_0x4774a8(0x195),()=>this[_0x4774a8(0x1d9)]()),this[_0x4774a8(0x181)](_0xfe56ed,_0x4774a8(0x18a),(_0x2ceedb,_0x24d0fd)=>{const _0x3b4420=_0x4774a8;this[_0x3b4420(0x1ab)][_0x3b4420(0x1ae)](_0xfe56ed),this[_0x3b4420(0x184)](),_0x24d0fd();});}[_0x430314(0x1f6)](_0x2945fe){const _0x56f343=_0x430314;this[_0x56f343(0x179)](_0x2945fe);}}
|
|
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 _0x7695cc=_0xd462;(function(_0x211929,_0x3ec68c){const _0x247150=_0xd462,_0x132f20=_0x211929();while(!![]){try{const _0x1dc9fc=parseInt(_0x247150(0x1b1))/0x1*(parseInt(_0x247150(0x1a3))/0x2)+parseInt(_0x247150(0x185))/0x3+-parseInt(_0x247150(0x1a0))/0x4+-parseInt(_0x247150(0x1a8))/0x5*(parseInt(_0x247150(0x1a6))/0x6)+parseInt(_0x247150(0x16f))/0x7+parseInt(_0x247150(0x17a))/0x8*(parseInt(_0x247150(0x17b))/0x9)+parseInt(_0x247150(0x186))/0xa*(-parseInt(_0x247150(0x193))/0xb);if(_0x1dc9fc===_0x3ec68c)break;else _0x132f20['push'](_0x132f20['shift']());}catch(_0x395a6a){_0x132f20['push'](_0x132f20['shift']());}}}(_0x1dba,0x203fd));import{ContextPlugin as _0x52b5f5}from'ckeditor5/src/core.js';import{Rect as _0x56908c,CKEditorError as _0xaabcfe}from'ckeditor5/src/utils.js';import _0x290d28 from'./view/sidebarview.js';import _0x2680d6 from'./view/sidebaritemview.js';export default class z extends _0x52b5f5{static get[_0x7695cc(0x17e)](){const _0x300efe=_0x7695cc;return _0x300efe(0x184);}static get[_0x7695cc(0x177)](){return!0x0;}static get[_0x7695cc(0x182)](){return!0x0;}constructor(_0x32ef19){const _0x585074=_0x7695cc;super(_0x32ef19),this[_0x585074(0x1ae)](_0x585074(0x191),void 0x0),this[_0x585074(0x1b6)]=this[_0x585074(0x19e)](),this[_0x585074(0x1ae)](_0x585074(0x16c),null),this[_0x585074(0x1a4)]=0x19,this[_0x585074(0x1c2)]=new Map(),this[_0x585074(0x1bd)]=new Map(),this[_0x585074(0x1c3)][_0x585074(0x173)][_0x585074(0x18d)](_0x585074(0x174),!0x1),this[_0x585074(0x1b4)]=null,this[_0x585074(0x1b7)]=null,this[_0x585074(0x17f)]=[];}[_0x7695cc(0x1c5)](){const _0x384b23=_0x7695cc,_0x888cdd=this[_0x384b23(0x1c3)][_0x384b23(0x173)][_0x384b23(0x1aa)](_0x384b23(0x183));_0x888cdd&&this[_0x384b23(0x1a1)](_0x888cdd);}[_0x7695cc(0x1a1)](_0x3fb3b0){const _0x231ee6=_0x7695cc;if(!y(_0x3fb3b0))throw new _0xaabcfe(_0x231ee6(0x175));this[_0x231ee6(0x16c)]=_0x3fb3b0;}[_0x7695cc(0x170)]({viewClass:_0x2c3b25='',spaceBetweenItems:_0x486db9=0x19}={}){const _0x1a8229=_0x7695cc;if(!y(this[_0x1a8229(0x16c)]))throw new _0xaabcfe(_0x1a8229(0x1ba),this);this[_0x1a8229(0x16c)][_0x1a8229(0x17c)](this[_0x1a8229(0x1b6)][_0x1a8229(0x1a9)]),this[_0x1a8229(0x1b6)][_0x1a8229(0x1b5)]=_0x2c3b25,this[_0x1a8229(0x1a4)]=_0x486db9;}[_0x7695cc(0x1b3)]({removedAnnotation:_0x5dae7c,previousAnnotation:_0xf634ce,nextAnnotation:_0x187fc4}){const _0x4889b8=_0x7695cc,_0x4ad02a=this[_0x4889b8(0x18f)](_0x5dae7c);this[_0x4889b8(0x1b6)][_0x4889b8(0x172)][_0x4889b8(0x1be)](_0x4ad02a),this[_0x4889b8(0x19c)](_0x5dae7c),_0xf634ce&&this[_0x4889b8(0x1bf)](this[_0x4889b8(0x18f)](_0xf634ce)),_0x187fc4&&this[_0x4889b8(0x1bf)](this[_0x4889b8(0x18f)](_0x187fc4)),this[_0x4889b8(0x1c6)]();}[_0x7695cc(0x181)]({blurredAnnotation:_0x4a71d6,activatedAnnotation:_0x5087e0,disableAnimationOnActivatedAnnotation:_0x4b3b4d}){const _0x34ff3c=_0x7695cc;if(this[_0x34ff3c(0x1b7)]=_0x5087e0,_0x4a71d6){_0x4a71d6[_0x34ff3c(0x198)]=!0x1;const _0x24593b=this[_0x34ff3c(0x18f)](_0x4a71d6);_0x24593b&&_0x4b3b4d&&(_0x24593b[_0x34ff3c(0x187)]=!0x1);}if(_0x5087e0){const _0x3d2034=this[_0x34ff3c(0x18f)](_0x5087e0);_0x3d2034&&(_0x5087e0[_0x34ff3c(0x198)]=!0x0,_0x4b3b4d&&(_0x3d2034[_0x34ff3c(0x187)]=!0x0,_0x3d2034[_0x34ff3c(0x19b)]+=0x1),this[_0x34ff3c(0x1bf)](_0x3d2034));}}[_0x7695cc(0x197)](_0x444aad){const _0x4c95f4=_0x7695cc;if(this[_0x4c95f4(0x1b6)][_0x4c95f4(0x1a9)][_0x4c95f4(0x1be)](),_0x444aad){for(const _0x46ddfe of _0x444aad)this[_0x4c95f4(0x19c)](_0x46ddfe);}this[_0x4c95f4(0x1b6)][_0x4c95f4(0x172)][_0x4c95f4(0x1ac)](),this[_0x4c95f4(0x1b6)][_0x4c95f4(0x1b5)]='',this[_0x4c95f4(0x191)]=null;}[_0x7695cc(0x19d)](_0x10eafb,_0x4bb375){const _0x5f43ad=_0x7695cc;_0x4bb375||(_0x4bb375=_0x10eafb[_0x5f43ad(0x1b6)]);const _0x5a1bbf=new _0x2680d6(this[_0x5f43ad(0x1c3)][_0x5f43ad(0x199)]);this[_0x5f43ad(0x1c2)][_0x5f43ad(0x1ae)](_0x5a1bbf,_0x10eafb),this[_0x5f43ad(0x1bd)][_0x5f43ad(0x1ae)](_0x10eafb,_0x5a1bbf),_0x5a1bbf[_0x5f43ad(0x1c4)][_0x5f43ad(0x18c)](_0x4bb375),this[_0x5f43ad(0x1a2)](_0x10eafb[_0x5f43ad(0x1b6)],_0x5f43ad(0x1b9),(_0x465c56,_0x1c80bd,_0x5d866f)=>{const _0x19bd60=_0x5f43ad,_0x44d694=this[_0x19bd60(0x1c7)](_0x10eafb,_0x5d866f);_0x5a1bbf[_0x19bd60(0x1b2)]!=_0x44d694&&(_0x5a1bbf[_0x19bd60(0x1b2)]=_0x44d694,this[_0x19bd60(0x19f)](_0x5a1bbf,_0x44d694));}),this[_0x5f43ad(0x1a2)](_0x5a1bbf,_0x5f43ad(0x180),()=>{const _0x364ccf=_0x5f43ad;this[_0x364ccf(0x18b)](_0x5a1bbf,_0x364ccf(0x19b));}),this[_0x5f43ad(0x1a2)](_0x5a1bbf,_0x5f43ad(0x18e),()=>{const _0x4a9eda=_0x5f43ad;this[_0x4a9eda(0x18b)](_0x5a1bbf,_0x4a9eda(0x1c0));}),this[_0x5f43ad(0x1bf)](_0x5a1bbf);const _0x3b1072=this[_0x5f43ad(0x19a)](_0x5a1bbf);if(_0x3b1072)this[_0x5f43ad(0x1bb)](_0x3b1072,_0x5a1bbf)||this[_0x5f43ad(0x1bf)](_0x5a1bbf);else this[_0x5f43ad(0x1bf)](_0x5a1bbf);return this[_0x5f43ad(0x1c6)](),this[_0x5f43ad(0x1b6)][_0x5f43ad(0x172)][_0x5f43ad(0x18c)](_0x5a1bbf),_0x5a1bbf;}[_0x7695cc(0x1ad)](_0x54a9ee){const _0x5408e4=_0x7695cc;if(!_0x54a9ee[_0x5408e4(0x1c4)][_0x5408e4(0x189)])return;const _0x1057cc=this[_0x5408e4(0x19a)](_0x54a9ee);if(!_0x1057cc)return;const _0x3e317d=this[_0x5408e4(0x1c2)][_0x5408e4(0x1aa)](_0x1057cc),_0x49582e=this[_0x5408e4(0x1b7)];_0x49582e&&_0x49582e===_0x3e317d?this[_0x5408e4(0x1bb)](_0x1057cc,_0x54a9ee):this[_0x5408e4(0x176)](_0x54a9ee,_0x1057cc);}[_0x7695cc(0x196)](_0x545cbe){const _0x507ea7=_0x7695cc;if(!_0x545cbe[_0x507ea7(0x1c4)][_0x507ea7(0x189)])return;const _0x41a2e3=this[_0x507ea7(0x16e)](_0x545cbe);if(!_0x41a2e3)return;const _0xd22add=this[_0x507ea7(0x1c2)][_0x507ea7(0x1aa)](_0x41a2e3),_0x5b217=this[_0x507ea7(0x1c3)][_0x507ea7(0x173)][_0x507ea7(0x1aa)](_0x507ea7(0x174)),_0x4d573f=this[_0x507ea7(0x1b7)];_0x4d573f&&_0x4d573f===_0xd22add&&_0x5b217?(this[_0x507ea7(0x176)](_0x41a2e3,_0x545cbe),this[_0x507ea7(0x1bb)](_0x545cbe,_0x41a2e3)):_0x4d573f&&_0x4d573f===_0xd22add?this[_0x507ea7(0x176)](_0x41a2e3,_0x545cbe):this[_0x507ea7(0x1bb)](_0x545cbe,_0x41a2e3);}[_0x7695cc(0x18b)](_0x1489f5,_0x16eeff){const _0x56d983=_0x7695cc;0x0===this[_0x56d983(0x17f)][_0x56d983(0x189)]&&setTimeout(()=>{const _0x23e8ce=_0x56d983;for(const {sidebarItemView:_0x50e990,changedProp:_0x534d99}of this[_0x23e8ce(0x17f)])_0x23e8ce(0x19b)===_0x534d99?this[_0x23e8ce(0x1ad)](_0x50e990):this[_0x23e8ce(0x196)](_0x50e990);this[_0x23e8ce(0x17f)]=[];},0xa),this[_0x56d983(0x17f)][_0x56d983(0x18a)]({'sidebarItemView':_0x1489f5,'changedProp':_0x16eeff});}[_0x7695cc(0x18f)](_0x2fbc58){const _0x5906be=_0x7695cc;return this[_0x5906be(0x1bd)][_0x5906be(0x1aa)](_0x2fbc58);}[_0x7695cc(0x1a7)](){const _0x536f97=_0x7695cc;this[_0x536f97(0x1b8)](),this[_0x536f97(0x1b6)][_0x536f97(0x1a7)]();}[_0x7695cc(0x19c)](_0x5e5fe0){const _0x5b386b=_0x7695cc,_0x17201f=this[_0x5b386b(0x18f)](_0x5e5fe0);this[_0x5b386b(0x1b8)](_0x17201f),this[_0x5b386b(0x1b8)](_0x5e5fe0[_0x5b386b(0x1b6)]),_0x17201f[_0x5b386b(0x1a7)](),this[_0x5b386b(0x1bd)][_0x5b386b(0x194)](_0x5e5fe0),this[_0x5b386b(0x1c2)][_0x5b386b(0x194)](_0x17201f);}[_0x7695cc(0x19e)](){const _0x400083=_0x7695cc,_0x23224d=new _0x290d28(this[_0x400083(0x1c3)][_0x400083(0x199)]);return _0x23224d[_0x400083(0x171)](),this['on'](_0x400083(0x1b0),(_0x1aea0e,_0x3aec16,_0xad6838,_0x46e9d0)=>{const _0x3c3fa5=_0x400083;_0x46e9d0&&_0x23224d[_0x3c3fa5(0x178)](_0x3c3fa5(0x179)),_0xad6838?_0x23224d[_0x3c3fa5(0x16d)](_0x3c3fa5(0x179))['to'](_0xad6838,_0x3c3fa5(0x1c0)):_0x23224d[_0x3c3fa5(0x179)]=null;}),_0x23224d;}[_0x7695cc(0x1c6)](){const _0x285626=_0x7695cc;var _0x1d1f8d;this[_0x285626(0x191)]=(null===(_0x1d1f8d=this[_0x285626(0x1b4)])||void 0x0===_0x1d1f8d?void 0x0:_0x1d1f8d[_0x285626(0x17d)])?this[_0x285626(0x18f)](this[_0x285626(0x1b4)][_0x285626(0x17d)]):null;}[_0x7695cc(0x19a)](_0x5590d1){const _0x5ead76=_0x7695cc;var _0x3e0c98;const _0x36ff6c=this[_0x5ead76(0x1c2)][_0x5ead76(0x1aa)](_0x5590d1),_0x41f650=_0x36ff6c&&(null===(_0x3e0c98=this[_0x5ead76(0x1b4)])||void 0x0===_0x3e0c98?void 0x0:_0x3e0c98[_0x5ead76(0x1aa)](this[_0x5ead76(0x1b4)][_0x5ead76(0x195)](_0x36ff6c)-0x1));return _0x41f650&&this[_0x5ead76(0x18f)](_0x41f650)||null;}[_0x7695cc(0x16e)](_0x1ab14b){const _0x2d380f=_0x7695cc;var _0x475b7c;const _0x4dd4f0=this[_0x2d380f(0x1c2)][_0x2d380f(0x1aa)](_0x1ab14b),_0x1717ea=_0x4dd4f0&&(null===(_0x475b7c=this[_0x2d380f(0x1b4)])||void 0x0===_0x475b7c?void 0x0:_0x475b7c[_0x2d380f(0x1aa)](this[_0x2d380f(0x1b4)][_0x2d380f(0x195)](_0x4dd4f0)+0x1));return _0x1717ea&&this[_0x2d380f(0x18f)](_0x1717ea)||null;}[_0x7695cc(0x176)](_0x17e1d5,_0x3560a0){const _0x5d1c19=_0x7695cc;_0x17e1d5[_0x5d1c19(0x1c1)]();const _0x468b0e=R(_0x3560a0[_0x5d1c19(0x1c0)]+this[_0x5d1c19(0x1a4)],_0x17e1d5[_0x5d1c19(0x19b)]);return!!_0x468b0e&&(this[_0x5d1c19(0x19f)](_0x3560a0,_0x3560a0[_0x5d1c19(0x19b)]-_0x468b0e),!0x0);}[_0x7695cc(0x1bb)](_0x3c1ea7,_0x5266da){const _0x4f8a48=_0x7695cc;_0x3c1ea7[_0x4f8a48(0x1c1)]();const _0x2c6423=R(_0x3c1ea7[_0x4f8a48(0x1c0)]+this[_0x4f8a48(0x1a4)],_0x5266da[_0x4f8a48(0x19b)]);return!!_0x2c6423&&(this[_0x4f8a48(0x19f)](_0x5266da,_0x5266da[_0x4f8a48(0x19b)]+_0x2c6423,!0x1),!0x0);}[_0x7695cc(0x1bf)](_0x37d0e7){const _0x353398=_0x7695cc,_0x318595=this[_0x353398(0x1c2)][_0x353398(0x1aa)](_0x37d0e7);if(!_0x318595||!_0x318595[_0x353398(0x192)]||!_0x318595[_0x353398(0x188)])return;const _0x3c514c=this[_0x353398(0x1c7)](_0x318595,_0x318595[_0x353398(0x188)]);this[_0x353398(0x19f)](_0x37d0e7,_0x3c514c);}[_0x7695cc(0x1c7)](_0x469c39,_0x295a1f){const _0x8a076f=_0x7695cc;if(null===_0x295a1f)return 0x0;if(_0x469c39[_0x8a076f(0x192)]instanceof _0x56908c)return _0x295a1f[_0x8a076f(0x19b)];{const _0xec1d69=new _0x56908c(this[_0x8a076f(0x1b6)][_0x8a076f(0x1a9)])[_0x8a076f(0x19b)];return _0x295a1f[_0x8a076f(0x19b)]-_0xec1d69;}}[_0x7695cc(0x19f)](_0x4f0e32,_0x468295,_0x18d843=this[_0x7695cc(0x1c3)][_0x7695cc(0x173)][_0x7695cc(0x1aa)](_0x7695cc(0x174))){const _0x106aea=_0x7695cc;_0x18d843&&(_0x468295=Math[_0x106aea(0x1af)](_0x468295,this[_0x106aea(0x1ab)](_0x4f0e32))),_0x4f0e32[_0x106aea(0x19b)]=_0x468295;}[_0x7695cc(0x1ab)](_0x3cee6f){const _0x2d7fe9=_0x7695cc;let _0x5b8bed=this[_0x2d7fe9(0x19a)](_0x3cee6f),_0x376626=0x0;for(;_0x5b8bed;)_0x5b8bed[_0x2d7fe9(0x1c1)](),_0x376626+=this[_0x2d7fe9(0x1a4)]+_0x5b8bed[_0x2d7fe9(0x1a5)],_0x5b8bed=this[_0x2d7fe9(0x19a)](_0x5b8bed);return _0x376626;}}function _0xd462(_0xe9a9e3,_0xa4ed8c){const _0x1dbab3=_0x1dba();return _0xd462=function(_0xd46279,_0x21b0b9){_0xd46279=_0xd46279-0x16c;let _0x3d29dd=_0x1dbab3[_0xd46279];return _0x3d29dd;},_0xd462(_0xe9a9e3,_0xa4ed8c);}function R(_0x3de2fd,_0x3eaefb){const _0x17cce5=_0x7695cc;return Math[_0x17cce5(0x1af)](_0x3de2fd-_0x3eaefb,0x0);}function _0x1dba(){const _0x54b51b=['_getMaxAvailableTop','clear','_alignForTopChange','set','max','change:_lastItem','92462ApKhFG','_targetTop','rearrange','_annotations','class','view','_activeAnnotation','stopListening','change:targetRect','sidebar-attachtocontainer-missing-container','_alignAfterItem','nodeType','_annotationToSidebarItemView','remove','_alignToTargetRect','bottom','updateHeight','_sidebarItemViewToAnnotation','context','content','init','_updateLastItem','_getTargetTop','container','bind','_getItemAfter','1074640bUFbLC','_attachToContainer','render','list','config','sidebar.preventScrollOutOfView','sidebar-setcontainer-invalid-element','_alignBeforeItem','isOfficialPlugin','unbind','minHeight','1560EuHXrb','10458zOrZbM','appendChild','last','pluginName','_recalculateBuffer','change:top','refresh','isPremiumPlugin','sidebar.container','Sidebar','752865KPHfxb','799790ktgBhp','isAnimationDisabled','targetRect','length','push','_recalculate','add','define','change:bottom','getSidebarItemView','object','_lastItem','target','55whCWtU','delete','getIndex','_alignForBottomChange','_detachFromContainer','isActive','locale','_getItemBefore','top','_destroySidebarItemView','addAnnotation','_createSidebarView','_setItemTop','615472iTRzlb','setContainer','listenTo','4XaiHyM','_spaceBetweenItems','height','6zQPAVB','destroy','650665RomiSD','element','get'];_0x1dba=function(){return _0x54b51b;};return _0x1dba();}function y(_0x56a580){const _0x356272=_0x7695cc;return null!==_0x56a580&&_0x356272(0x190)==typeof _0x56a580&&0x1===_0x56a580[_0x356272(0x1bc)];}
|
|
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
|
-
|
|
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
|
-
const
|
|
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
|