@ckeditor/ckeditor5-comments 44.1.0 → 44.2.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/LICENSE.md +1 -2
- package/README.md +1 -1
- package/build/comments.js +2 -2
- package/dist/index-content.css +2 -2
- package/dist/index-editor.css +2 -2
- package/dist/index.css +15 -15
- package/dist/index.js +10 -10
- package/dist/translations/af.d.ts +2 -2
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +2 -2
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +2 -2
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +2 -2
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/bg.d.ts +2 -2
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +2 -2
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +2 -2
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +2 -2
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +2 -2
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +2 -2
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +2 -2
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +2 -2
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +2 -2
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +2 -2
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +2 -2
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +2 -2
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +2 -2
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +2 -2
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +2 -2
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +2 -2
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +2 -2
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +2 -2
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +2 -2
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +2 -2
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +2 -2
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +2 -2
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +2 -2
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +2 -2
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +2 -2
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +2 -2
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +2 -2
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +2 -2
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +2 -2
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +2 -2
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +2 -2
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +2 -2
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +2 -2
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +2 -2
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +2 -2
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +2 -2
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +2 -2
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +2 -2
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +2 -2
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +2 -2
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +2 -2
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +2 -2
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +2 -2
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +2 -2
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +2 -2
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +2 -2
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +2 -2
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +2 -2
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +2 -2
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +2 -2
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +2 -2
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +2 -2
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +2 -2
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +2 -2
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +2 -2
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +2 -2
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +2 -2
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +2 -2
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +2 -2
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +2 -2
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +2 -2
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +2 -2
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +2 -2
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +2 -2
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +2 -2
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +2 -2
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +2 -2
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +2 -2
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/lang/translations/af.po +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/ast.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/eo.po +1 -1
- package/lang/translations/es-co.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/eu.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/gu.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/hy.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/kk.po +1 -1
- package/lang/translations/km.po +1 -1
- package/lang/translations/kn.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nb.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/oc.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/si.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/ti.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +39 -16
- package/src/annotations/annotation.d.ts +1 -1
- package/src/annotations/annotation.js +3 -3
- package/src/annotations/annotationcollection.d.ts +1 -1
- package/src/annotations/annotationcollection.js +2 -2
- package/src/annotations/annotations.d.ts +1 -1
- package/src/annotations/annotations.js +2 -2
- package/src/annotations/annotationsuis.d.ts +2 -2
- package/src/annotations/annotationsuis.js +2 -2
- package/src/annotations/editorannotations.d.ts +1 -1
- package/src/annotations/editorannotations.js +2 -2
- package/src/annotations/inlineannotations.d.ts +1 -1
- package/src/annotations/inlineannotations.js +2 -2
- package/src/annotations/narrowsidebar.d.ts +1 -1
- package/src/annotations/narrowsidebar.js +2 -2
- package/src/annotations/sidebar.d.ts +1 -1
- package/src/annotations/sidebar.js +2 -2
- package/src/annotations/view/annotationcounterbuttonview.d.ts +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +2 -2
- package/src/annotations/view/annotationview.d.ts +1 -1
- package/src/annotations/view/annotationview.js +2 -2
- package/src/annotations/view/sidebaritemview.d.ts +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.d.ts +1 -1
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.d.ts +1 -1
- package/src/annotations/widesidebar.js +2 -2
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/comments/addcommentthreadcommand.d.ts +1 -1
- package/src/comments/addcommentthreadcommand.js +2 -2
- package/src/comments/commentsarchive.d.ts +1 -1
- package/src/comments/commentsarchive.js +2 -2
- package/src/comments/commentsarchiveui.d.ts +1 -1
- package/src/comments/commentsarchiveui.js +2 -2
- package/src/comments/commentsediting.d.ts +1 -1
- package/src/comments/commentsediting.js +2 -2
- package/src/comments/commentsrepository.d.ts +1 -1
- package/src/comments/commentsrepository.js +4 -4
- package/src/comments/commentsui.d.ts +1 -1
- package/src/comments/commentsui.js +2 -2
- package/src/comments/integrations/clipboard.d.ts +1 -1
- package/src/comments/integrations/clipboard.js +2 -2
- package/src/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +2 -2
- package/src/comments/integrations/importword.d.ts +1 -1
- package/src/comments/integrations/importword.js +2 -2
- package/src/comments/integrations/showcommenthighlights.d.ts +1 -1
- package/src/comments/integrations/showcommenthighlights.js +2 -2
- package/src/comments/ui/commenteditor/commenteditor.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +3 -3
- package/src/comments/ui/commenteditor/commenteditorui.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +2 -2
- package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +2 -2
- package/src/comments/ui/commentthreadcontroller.d.ts +1 -1
- package/src/comments/ui/commentthreadcontroller.js +3 -3
- package/src/comments/ui/view/basecommentthreadview.d.ts +1 -1
- package/src/comments/ui/view/basecommentthreadview.js +2 -2
- package/src/comments/ui/view/basecommentview.d.ts +1 -1
- package/src/comments/ui/view/basecommentview.js +2 -2
- package/src/comments/ui/view/collapsedcommentsview.d.ts +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +2 -2
- package/src/comments/ui/view/commentcontentview.d.ts +1 -1
- package/src/comments/ui/view/commentcontentview.js +2 -2
- package/src/comments/ui/view/commentinputview.d.ts +1 -1
- package/src/comments/ui/view/commentinputview.js +2 -2
- package/src/comments/ui/view/commentsarchiveview.d.ts +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +2 -2
- package/src/comments/ui/view/commentslistview.d.ts +1 -1
- package/src/comments/ui/view/commentslistview.js +2 -2
- package/src/comments/ui/view/commentthreadheadercontextview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +2 -2
- package/src/comments/ui/view/commentthreadheaderview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +2 -2
- package/src/comments/ui/view/commentthreadinputview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +2 -2
- package/src/comments/ui/view/commentthreadview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadview.js +3 -3
- package/src/comments/ui/view/commentview.d.ts +1 -1
- package/src/comments/ui/view/commentview.js +3 -3
- package/src/comments.d.ts +1 -1
- package/src/comments.js +2 -2
- package/src/commentsonly.d.ts +1 -1
- package/src/commentsonly.js +2 -2
- package/src/config.d.ts +1 -1
- package/src/config.js +1 -1
- package/src/index.d.ts +2 -2
- package/src/index.js +2 -2
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +2 -2
- package/src/utils/createmutationobserver.d.ts +1 -1
- package/src/utils/createmutationobserver.js +2 -2
- 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 +1 -1
- package/theme/commentsarchive.css +1 -1
- package/theme/commentthread.css +1 -1
- package/theme/icons/add-comment.svg +1 -1
- package/theme/icons/comments-archive.svg +1 -1
- package/theme/icons/edit-comment.svg +1 -1
- package/theme/icons/remove-comment.svg +1 -1
- package/theme/sidebar-narrow.css +1 -1
- package/theme/sidebar.css +1 -1
- package/dist/annotations/annotation.d.ts +0 -101
- package/dist/annotations/annotationcollection.d.ts +0 -102
- package/dist/annotations/annotations.d.ts +0 -166
- package/dist/annotations/annotationsuis.d.ts +0 -244
- package/dist/annotations/editorannotations.d.ts +0 -79
- package/dist/annotations/inlineannotations.d.ts +0 -102
- package/dist/annotations/narrowsidebar.d.ts +0 -97
- package/dist/annotations/sidebar.d.ts +0 -112
- package/dist/annotations/view/annotationcounterbuttonview.d.ts +0 -33
- package/dist/annotations/view/annotationview.d.ts +0 -94
- package/dist/annotations/view/sidebaritemview.d.ts +0 -63
- package/dist/annotations/view/sidebarview.d.ts +0 -57
- package/dist/annotations/widesidebar.d.ts +0 -89
- package/dist/augmentation.d.ts +0 -63
- package/dist/comments/addcommentthreadcommand.d.ts +0 -39
- package/dist/comments/commentsarchive.d.ts +0 -43
- package/dist/comments/commentsarchiveui.d.ts +0 -57
- package/dist/comments/commentsediting.d.ts +0 -106
- package/dist/comments/commentsrepository.d.ts +0 -1137
- package/dist/comments/commentsui.d.ts +0 -49
- package/dist/comments/integrations/clipboard.d.ts +0 -30
- package/dist/comments/integrations/commentsrestrictededitingmode.d.ts +0 -21
- package/dist/comments/integrations/importword.d.ts +0 -25
- package/dist/comments/integrations/showcommenthighlights.d.ts +0 -23
- package/dist/comments/ui/commenteditor/commenteditor.d.ts +0 -40
- package/dist/comments/ui/commenteditor/commenteditorui.d.ts +0 -35
- package/dist/comments/ui/commenteditor/commenteditoruiview.d.ts +0 -40
- package/dist/comments/ui/commentthreadcontroller.d.ts +0 -68
- package/dist/comments/ui/view/basecommentthreadview.d.ts +0 -152
- package/dist/comments/ui/view/basecommentview.d.ts +0 -154
- package/dist/comments/ui/view/collapsedcommentsview.d.ts +0 -17
- package/dist/comments/ui/view/commentcontentview.d.ts +0 -18
- package/dist/comments/ui/view/commentinputview.d.ts +0 -105
- package/dist/comments/ui/view/commentsarchiveview.d.ts +0 -50
- package/dist/comments/ui/view/commentslistview.d.ts +0 -116
- package/dist/comments/ui/view/commentthreadheadercontextview.d.ts +0 -25
- package/dist/comments/ui/view/commentthreadheaderview.d.ts +0 -80
- package/dist/comments/ui/view/commentthreadinputview.d.ts +0 -60
- package/dist/comments/ui/view/commentthreadview.d.ts +0 -127
- package/dist/comments/ui/view/commentview.d.ts +0 -244
- package/dist/comments.d.ts +0 -47
- package/dist/commentsonly.d.ts +0 -45
- package/dist/config.d.ts +0 -199
- package/dist/index.d.ts +0 -33
- package/dist/utils/common-translations.d.ts +0 -13
- package/dist/utils/createmutationobserver.d.ts +0 -18
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -104,7 +104,7 @@ export default class AnnotationsUIs extends ContextPlugin {
|
|
|
104
104
|
* @param uiName The name of the annotations UI to activate.
|
|
105
105
|
* @param filter The annotation filter function. If not specified, the UI will use all annotations.
|
|
106
106
|
*/
|
|
107
|
-
activate(uiName: string, filter?: () => boolean): void;
|
|
107
|
+
activate(uiName: string, filter?: (annotation: Annotation) => boolean): void;
|
|
108
108
|
/**
|
|
109
109
|
* Deactivates annotations UI with given name.
|
|
110
110
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa7d8bf=_0x2fdf;(function(_0x1ab25c,_0x418c5d){const _0x449ae6=_0x2fdf,_0x7370de=_0x1ab25c();while(!![]){try{const _0x29ac82=parseInt(_0x449ae6(0x192))/0x1*(-parseInt(_0x449ae6(0x179))/0x2)+parseInt(_0x449ae6(0x15c))/0x3*(-parseInt(_0x449ae6(0x189))/0x4)+-parseInt(_0x449ae6(0x15e))/0x5*(-parseInt(_0x449ae6(0x159))/0x6)+parseInt(_0x449ae6(0x190))/0x7*(-parseInt(_0x449ae6(0x191))/0x8)+parseInt(_0x449ae6(0x158))/0x9*(-parseInt(_0x449ae6(0x15d))/0xa)+-parseInt(_0x449ae6(0x17c))/0xb+-parseInt(_0x449ae6(0x16a))/0xc*(-parseInt(_0x449ae6(0x174))/0xd);if(_0x29ac82===_0x418c5d)break;else _0x7370de['push'](_0x7370de['shift']());}catch(_0x2adc20){_0x7370de['push'](_0x7370de['shift']());}}}(_0x2bca,0x6714d));function _0x2fdf(_0x592480,_0x2a9a2b){const _0x2bcadf=_0x2bca();return _0x2fdf=function(_0x2fdffd,_0x3e5d88){_0x2fdffd=_0x2fdffd-0x155;let _0x217a33=_0x2bcadf[_0x2fdffd];return _0x217a33;},_0x2fdf(_0x592480,_0x2a9a2b);}import{ContextPlugin as _0x5b0edc}from'ckeditor5/src/core.js';function _0x2bca(){const _0x1f07d9=['isOfficialPlugin','annotationsuis-missing-ui','2586348DeuTAp','context','attach','remove','isActive','init','push','2373bgxZkD','1024vwrvui','16061IrTeEJ','switchTo','destroy','deactivateAll','_uis','stopListening','length','activeAnnotations','18ujfsCo','2787090fudggi','annotationsuis-register-already-registered','collection','3MKdiUT','3360510PbJBmZ','5OrqtBq','activeUIs','delete','listenTo','type','_addActiveAnnotation','deactivate','_visibleAnnotations','add','activate','_removeActiveAnnotation','requires','12JBhdVM','size','_activateAnnotation','function','AnnotationsUIs','detach','get','pluginName','isPremiumPlugin','refilterAnnotations','28384863EviPHZ','_setSelectedAnnotations','has','annotationsuis-register-invalid-interface','filter','20NDTVlj','_assertAnnotationDoesNotBelongToMultipleUIs','plugins','7733594czEYlD','register','from','_uisData','hasActive','change:activeAnnotation','annotationsuis-annotation-mismatch','_deactivateAllAnnotations','setActiveAnnotation','find','set'];_0x2bca=function(){return _0x1f07d9;};return _0x2bca();}import{CKEditorError as _0x521a3c}from'ckeditor5/src/utils.js';import _0x43f2e4,{bindAnnotationCollections as _0x37230b}from'./annotationcollection.js';import _0x35dd12 from'./annotations.js';export default class M extends _0x5b0edc{static get[_0xa7d8bf(0x169)](){return[_0x35dd12];}static get[_0xa7d8bf(0x171)](){const _0x427f96=_0xa7d8bf;return _0x427f96(0x16e);}static get[_0xa7d8bf(0x187)](){return!0x0;}static get[_0xa7d8bf(0x172)](){return!0x0;}constructor(_0x3d2f71){const _0x32ef5f=_0xa7d8bf;super(_0x3d2f71),this[_0x32ef5f(0x15f)]=new Set(),this[_0x32ef5f(0x196)]=new Map(),this[_0x32ef5f(0x17f)]=new Map();}[_0xa7d8bf(0x18e)](){const _0x5ab69a=_0xa7d8bf,_0x199f9e=this[_0x5ab69a(0x18a)][_0x5ab69a(0x17b)][_0x5ab69a(0x170)](_0x35dd12);this[_0x5ab69a(0x161)](_0x199f9e,_0x5ab69a(0x16c),(_0x55b7c3,_0x2b06e4)=>{const _0x4f0d05=_0x5ab69a;for(const _0x1596ea of this[_0x4f0d05(0x15f)]){const _0x33273d=this[_0x4f0d05(0x196)][_0x4f0d05(0x170)](_0x1596ea);(0x0,this[_0x4f0d05(0x17f)][_0x4f0d05(0x170)](_0x1596ea)[_0x4f0d05(0x178)])(_0x2b06e4)&&_0x33273d[_0x4f0d05(0x184)](_0x2b06e4);}}),this[_0x5ab69a(0x161)](_0x199f9e,_0x5ab69a(0x183),()=>{const _0x30732e=_0x5ab69a;for(const _0x4c1921 of this[_0x30732e(0x15f)]){this[_0x30732e(0x196)][_0x30732e(0x170)](_0x4c1921)[_0x30732e(0x184)](null);}}),this[_0x5ab69a(0x161)](_0x199f9e[_0x5ab69a(0x165)],_0x5ab69a(0x166),(_0x42d636,_0x1836d2)=>{const _0x560b69=_0x5ab69a;this[_0x560b69(0x17a)](_0x1836d2);});}[_0xa7d8bf(0x180)](){const _0x40a271=_0xa7d8bf;return this[_0x40a271(0x15f)][_0x40a271(0x16b)]>0x0;}[_0xa7d8bf(0x18d)](_0x8a93ec){const _0x2e8988=_0xa7d8bf;return this[_0x2e8988(0x15f)][_0x2e8988(0x176)](_0x8a93ec);}[_0xa7d8bf(0x167)](_0x56f7a8,_0x5c05a7=()=>!0x0){const _0x5a3831=_0xa7d8bf,_0x4187ea=this[_0x5a3831(0x18a)][_0x5a3831(0x17b)][_0x5a3831(0x170)](_0x35dd12);if(!this[_0x5a3831(0x196)][_0x5a3831(0x176)](_0x56f7a8))throw new _0x521a3c(_0x5a3831(0x188),this,{'uiName':_0x56f7a8});this[_0x5a3831(0x18d)](_0x56f7a8)&&this[_0x5a3831(0x164)](_0x56f7a8),this[_0x5a3831(0x15f)][_0x5a3831(0x166)](_0x56f7a8);const _0x17b501=new _0x43f2e4(),_0x53083d=_0x4187ea[_0x5a3831(0x165)];_0x37230b({'source':_0x53083d,'target':_0x17b501,'filter':_0x5c05a7}),this[_0x5a3831(0x17f)][_0x5a3831(0x186)](_0x56f7a8,{'collection':_0x17b501,'filter':_0x5c05a7});const _0x5a6e31=this[_0x5a3831(0x196)][_0x5a3831(0x170)](_0x56f7a8);_0x5a6e31[_0x5a3831(0x18b)](_0x17b501),this[_0x5a3831(0x161)](_0x5a6e31,_0x5a3831(0x181),(_0x1c1ebc,_0x2a5ff9,_0x179039,_0x4c6b5a)=>{const _0x562d43=_0x5a3831;_0x4c6b5a&&_0x4187ea[_0x562d43(0x168)](_0x4c6b5a),_0x179039&&_0x4187ea[_0x562d43(0x163)](_0x179039);});}[_0xa7d8bf(0x164)](_0x3d256d){const _0x143ab1=_0xa7d8bf;if(this[_0x143ab1(0x15f)][_0x143ab1(0x160)](_0x3d256d),!this[_0x143ab1(0x196)][_0x143ab1(0x176)](_0x3d256d))throw new _0x521a3c(_0x143ab1(0x188),this,{'uiName':_0x3d256d});const _0x9e4681=this[_0x143ab1(0x196)][_0x143ab1(0x170)](_0x3d256d);_0x9e4681[_0x143ab1(0x16f)](),this[_0x143ab1(0x155)](_0x9e4681),this[_0x143ab1(0x17f)][_0x143ab1(0x170)](_0x3d256d)[_0x143ab1(0x15b)][_0x143ab1(0x194)](),this[_0x143ab1(0x17f)][_0x143ab1(0x160)](_0x3d256d);}[_0xa7d8bf(0x193)](_0x4ee774){const _0x2f87cd=_0xa7d8bf;if(!this[_0x2f87cd(0x196)][_0x2f87cd(0x176)](_0x4ee774))throw new _0x521a3c(_0x2f87cd(0x188),this,{'uiName':_0x4ee774});const _0x2a4781=this[_0x2f87cd(0x18a)][_0x2f87cd(0x17b)][_0x2f87cd(0x170)](_0x35dd12),_0x4c1bd2=Array[_0x2f87cd(0x17e)](_0x2a4781[_0x2f87cd(0x157)])[0x0]||null;this[_0x2f87cd(0x195)](),this[_0x2f87cd(0x167)](_0x4ee774);const _0x31afd7=this[_0x2f87cd(0x196)][_0x2f87cd(0x170)](_0x4ee774);_0x31afd7[_0x2f87cd(0x184)](_0x4c1bd2),_0x31afd7[_0x2f87cd(0x175)]&&_0x4c1bd2&&_0x31afd7[_0x2f87cd(0x175)]([_0x4c1bd2]);}[_0xa7d8bf(0x195)](){const _0x1b430b=_0xa7d8bf;for(const _0x22e5af of this[_0x1b430b(0x15f)])this[_0x1b430b(0x164)](_0x22e5af);}[_0xa7d8bf(0x17d)](_0x55494f,_0x14d83b){const _0x1f4d9c=_0xa7d8bf;if(this[_0x1f4d9c(0x196)][_0x1f4d9c(0x176)](_0x55494f))throw new _0x521a3c(_0x1f4d9c(0x15a));if(_0x1f4d9c(0x16d)!=typeof _0x14d83b[_0x1f4d9c(0x18b)]||_0x1f4d9c(0x16d)!=typeof _0x14d83b[_0x1f4d9c(0x16f)]||_0x1f4d9c(0x16d)!=typeof _0x14d83b[_0x1f4d9c(0x184)])throw new _0x521a3c(_0x1f4d9c(0x177),null);this[_0x1f4d9c(0x196)][_0x1f4d9c(0x186)](_0x55494f,_0x14d83b);}[_0xa7d8bf(0x173)](){const _0x16f2cb=_0xa7d8bf,_0x1ad26a=this[_0x16f2cb(0x18a)][_0x16f2cb(0x17b)][_0x16f2cb(0x170)](_0x35dd12)[_0x16f2cb(0x15b)],_0x4b0020=new Map(),_0x2a15bf=Array[_0x16f2cb(0x17e)](this[_0x16f2cb(0x15f)]);for(const _0x5d98c4 of this[_0x16f2cb(0x15f)]){const _0x3f42dc=this[_0x16f2cb(0x17f)][_0x16f2cb(0x170)](_0x5d98c4)[_0x16f2cb(0x15b)];for(const _0x3150ec of _0x3f42dc)_0x4b0020[_0x16f2cb(0x186)](_0x3150ec,_0x5d98c4);}for(const _0x14d2e0 of _0x1ad26a){const _0x333adc=_0x4b0020[_0x16f2cb(0x170)](_0x14d2e0);this[_0x16f2cb(0x17a)](_0x14d2e0);const _0x5b798b=_0x2a15bf[_0x16f2cb(0x185)](_0x38b91d=>this[_0x16f2cb(0x17f)][_0x16f2cb(0x170)](_0x38b91d)[_0x16f2cb(0x178)](_0x14d2e0));_0x333adc!==_0x5b798b&&(_0x333adc&&this[_0x16f2cb(0x17f)][_0x16f2cb(0x170)](_0x333adc)[_0x16f2cb(0x15b)][_0x16f2cb(0x18c)](_0x14d2e0),_0x5b798b&&this[_0x16f2cb(0x17f)][_0x16f2cb(0x170)](_0x5b798b)[_0x16f2cb(0x15b)][_0x16f2cb(0x166)](_0x14d2e0));}}[_0xa7d8bf(0x194)](){const _0x5addea=_0xa7d8bf;this[_0x5addea(0x195)](),super[_0x5addea(0x194)]();}[_0xa7d8bf(0x17a)](_0x10d71b){const _0x289709=_0xa7d8bf,_0x2e5b30=[];for(const _0x520a19 of this[_0x289709(0x15f)]){(0x0,this[_0x289709(0x17f)][_0x289709(0x170)](_0x520a19)[_0x289709(0x178)])(_0x10d71b)&&_0x2e5b30[_0x289709(0x18f)](_0x520a19);}if(_0x2e5b30[_0x289709(0x156)]>0x1)throw new _0x521a3c(_0x289709(0x182),null,{'matchedUIs':_0x2e5b30,'annotationType':_0x10d71b[_0x289709(0x162)]});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x411b(){const _0x57dc34=['_editorAnnotationsData','_editorAnnotations','editorannotations-invalid-source-callback','getRanges','change:range','hasDomSelection','pluginName','getByInnerView','get','isPremiumPlugin','innerView','getOrderedSelectedAnnotations','directChange','562983ddYHWS','model','update','function','push','focusTracker','isOfficialPlugin','blur','addSourceCollector','listenTo','add','editor','view','25CadbII','uiUpdate','isCollapsed','refreshSelectedViews','922512DJPLEN','1340ljiEUu','fire','remove','map','registerAnnotation','annotation','range','document','56NMfnwn','19036170XnBisf','editing','3653672VCBIbN','isEqual','selection','collection','sort','change:isFocused','refresh','_dataCollectors','isReadOnly','init','has','plugins','cancel','containsRange','from','delete','798992uNFTDE','element','1252BSnUJR','set','requires','EditorAnnotations','11081502fxexno'];_0x411b=function(){return _0x57dc34;};return _0x411b();}const _0x2578ad=_0x15f0;(function(_0x41a132,_0x56870b){const _0x192a26=_0x15f0,_0x171595=_0x41a132();while(!![]){try{const _0x33c882=parseInt(_0x192a26(0x1f6))/0x1*(parseInt(_0x192a26(0x1d2))/0x2)+-parseInt(_0x192a26(0x1e4))/0x3+parseInt(_0x192a26(0x1d0))/0x4*(parseInt(_0x192a26(0x1f1))/0x5)+parseInt(_0x192a26(0x1f5))/0x6*(-parseInt(_0x192a26(0x1bd))/0x7)+-parseInt(_0x192a26(0x1c0))/0x8+-parseInt(_0x192a26(0x1d6))/0x9+parseInt(_0x192a26(0x1be))/0xa;if(_0x33c882===_0x56870b)break;else _0x171595['push'](_0x171595['shift']());}catch(_0x26c7e5){_0x171595['push'](_0x171595['shift']());}}}(_0x411b,0x9b28d));import{Plugin as _0x2fb395}from'ckeditor5/src/core.js';import{CKEditorError as _0x28aa4e}from'ckeditor5/src/utils.js';import{debounce as _0xa3cb74}from'lodash-es';import _0xad8b4e from'./annotations.js';function _0x15f0(_0x26ccd8,_0xf89cd0){const _0x411bbc=_0x411b();return _0x15f0=function(_0x15f045,_0x35d760){_0x15f045=_0x15f045-0x1bb;let _0x11f01b=_0x411bbc[_0x15f045];return _0x11f01b;},_0x15f0(_0x26ccd8,_0xf89cd0);}export default class P extends _0x2fb395{static get[_0x2578ad(0x1d4)](){return[_0xad8b4e];}static get[_0x2578ad(0x1dd)](){const _0x59283a=_0x2578ad;return _0x59283a(0x1d5);}static get[_0x2578ad(0x1ea)](){return!0x0;}static get[_0x2578ad(0x1e0)](){return!0x0;}constructor(_0x283f7f){const _0xcf8f6f=_0x2578ad;super(_0x283f7f),this[_0xcf8f6f(0x1c7)]=new Set(),this[_0xcf8f6f(0x1d8)]=new Set();}[_0x2578ad(0x1c9)](){const _0x550be5=_0x2578ad,_0x2a5e9b=this[_0x550be5(0x1ef)],_0x40cc1b=_0x2a5e9b[_0x550be5(0x1e5)][_0x550be5(0x1bc)][_0x550be5(0x1c2)],_0x1369e1=_0xa3cb74(()=>this[_0x550be5(0x1f4)](),0xa);_0x40cc1b['on'](_0x550be5(0x1db),(_0xc2b89d,_0x46212d)=>{const _0x5c3b38=_0x550be5;_0x46212d[_0x5c3b38(0x1e3)]&&(_0x1369e1[_0x5c3b38(0x1cc)](),this[_0x5c3b38(0x1f4)]());}),this[_0x550be5(0x1ed)](_0x2a5e9b[_0x550be5(0x1bf)][_0x550be5(0x1f0)][_0x550be5(0x1bc)],_0x550be5(0x1c5),(_0xad9eb,_0x400a0f,_0x31c3b2)=>{_0x31c3b2&&_0x1369e1();}),this[_0x550be5(0x1ed)](_0x2a5e9b['ui'][_0x550be5(0x1e9)],_0x550be5(0x1c5),(_0x492a58,_0x283d33,_0x2da486)=>{const _0x372941=_0x550be5;_0x2da486||_0x2a5e9b[_0x372941(0x1c8)]||this[_0x372941(0x1f7)](_0x372941(0x1eb),{'isAnnotationTracked':_0x27ecd8=>this[_0x372941(0x1d7)][_0x372941(0x1ca)](_0x27ecd8[_0x372941(0x1e1)])});}),this[_0x550be5(0x1ed)](this[_0x550be5(0x1ef)]['ui'],_0x550be5(0x1e6),()=>this[_0x550be5(0x1f7)](_0x550be5(0x1f2)));}[_0x2578ad(0x1fa)](_0x499f1b){const _0x541f0c=_0x2578ad;if(this[_0x541f0c(0x1d8)][_0x541f0c(0x1ca)](_0x499f1b[_0x541f0c(0x1f0)]))return;this[_0x541f0c(0x1d8)][_0x541f0c(0x1ee)](_0x499f1b[_0x541f0c(0x1f0)]),this[_0x541f0c(0x1ef)]['ui'][_0x541f0c(0x1e9)][_0x541f0c(0x1ee)](_0x499f1b[_0x541f0c(0x1f0)][_0x541f0c(0x1d1)]);const _0x231977=this[_0x541f0c(0x1ef)][_0x541f0c(0x1cb)][_0x541f0c(0x1df)](_0xad8b4e);this[_0x541f0c(0x1ed)](_0x231977[_0x541f0c(0x1c3)],_0x541f0c(0x1f8),(_0x43766a,_0x25e451)=>{const _0x2d8866=_0x541f0c;this[_0x2d8866(0x1ef)]['ui'][_0x2d8866(0x1e9)][_0x2d8866(0x1f8)](_0x25e451[_0x2d8866(0x1f0)][_0x2d8866(0x1d1)]),this[_0x2d8866(0x1d8)][_0x2d8866(0x1cf)](_0x25e451[_0x2d8866(0x1f0)]);});}[_0x2578ad(0x1dc)](){const _0x47ed9f=_0x2578ad;return this[_0x47ed9f(0x1ef)][_0x47ed9f(0x1bf)][_0x47ed9f(0x1f0)][_0x47ed9f(0x1dc)];}[_0x2578ad(0x1ec)](_0x5050fe){const _0xe12721=_0x2578ad;if(_0xe12721(0x1e7)!=typeof _0x5050fe)throw new _0x28aa4e(_0xe12721(0x1d9));this[_0xe12721(0x1c7)][_0xe12721(0x1ee)](_0x5050fe);}[_0x2578ad(0x1f4)](){const _0x254f07=_0x2578ad;this[_0x254f07(0x1f7)](_0x254f07(0x1c6));}[_0x2578ad(0x1e2)]({activeAnnotation:_0xa10918,annotations:_0x319a9b}){const _0x5beeea=_0x2578ad,_0x40f06d=[],_0x4ef9b5=this[_0x5beeea(0x1ef)][_0x5beeea(0x1e5)][_0x5beeea(0x1bc)][_0x5beeea(0x1c2)],_0xe5208f=Array[_0x5beeea(0x1ce)](_0x4ef9b5[_0x5beeea(0x1da)]());for(const [_0x28bc7e,_0x35ca5d]of this[_0x5beeea(0x1d7)]){const _0x44f02e=_0x322f05(_0x35ca5d),_0x216eab=_0x319a9b[_0x5beeea(0x1de)](_0x28bc7e);_0x44f02e&&_0x216eab&&_0x40f06d[_0x5beeea(0x1e8)]({'annotation':_0x216eab,'range':_0x44f02e});}function _0x322f05(_0x58c4e0){const _0x4ba27a=_0x5beeea;for(const _0x30a8a4 of _0x58c4e0)for(const _0x30cd9d of _0xe5208f)if(_0x30a8a4[_0x4ba27a(0x1cd)](_0x30cd9d,!_0x4ef9b5[_0x4ba27a(0x1f3)]))return _0x30a8a4;return null;}return _0x40f06d[_0x5beeea(0x1c4)]((_0x289650,_0x49dc05)=>{const _0x131c58=_0x5beeea,_0x48dd19=_0x289650[_0x131c58(0x1bb)],_0x16dc28=_0x49dc05[_0x131c58(0x1bb)];if(!_0x48dd19[_0x131c58(0x1c1)](_0x16dc28)){if(_0x48dd19[_0x131c58(0x1cd)](_0x16dc28,!0x0))return 0x1;if(_0x16dc28[_0x131c58(0x1cd)](_0x48dd19,!0x0))return-0x1;}return _0x289650[_0x131c58(0x1fb)]==_0xa10918?-0x1:_0x49dc05[_0x131c58(0x1fb)]==_0xa10918?0x1:0x0;})[_0x5beeea(0x1f9)](_0x2ed3cb=>_0x2ed3cb[_0x5beeea(0x1fb)]);}get[_0x2578ad(0x1d7)](){const _0x1f4fd0=_0x2578ad,_0x425392=new Map();for(const _0x5de356 of Array[_0x1f4fd0(0x1ce)](this[_0x1f4fd0(0x1c7)]))for(const [_0x30d304,_0x1a9ad7]of _0x5de356())_0x425392[_0x1f4fd0(0x1d3)](_0x30d304,_0x1a9ad7);return _0x425392;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x464e2d=_0x1146;(function(_0x48b631,_0x201ff8){const _0x4a47c0=_0x1146,_0x2a9376=_0x48b631();while(!![]){try{const _0x1b8538=-parseInt(_0x4a47c0(0x1b8))/0x1*(-parseInt(_0x4a47c0(0x1b6))/0x2)+-parseInt(_0x4a47c0(0x1d9))/0x3*(-parseInt(_0x4a47c0(0x1ef))/0x4)+-parseInt(_0x4a47c0(0x1ab))/0x5+-parseInt(_0x4a47c0(0x1a3))/0x6*(-parseInt(_0x4a47c0(0x19e))/0x7)+parseInt(_0x4a47c0(0x1a9))/0x8+-parseInt(_0x4a47c0(0x1aa))/0x9+parseInt(_0x4a47c0(0x1e0))/0xa;if(_0x1b8538===_0x201ff8)break;else _0x2a9376['push'](_0x2a9376['shift']());}catch(_0x102ed){_0x2a9376['push'](_0x2a9376['shift']());}}}(_0x3cd9,0x58698));import{Plugin as _0x302f5e}from'ckeditor5/src/core.js';import _0x2518f6 from'./annotationsuis.js';import _0x1f1a41 from'./editorannotations.js';import{ContextualBalloon as _0x2b2329}from'ckeditor5/src/ui.js';function _0x1146(_0x2843c4,_0x5ac90e){const _0x3cd9ea=_0x3cd9();return _0x1146=function(_0x114681,_0x54ecf4){_0x114681=_0x114681-0x193;let _0x40c8e9=_0x3cd9ea[_0x114681];return _0x40c8e9;},_0x1146(_0x2843c4,_0x5ac90e);}import{MouseObserver as _0x95c7ca}from'ckeditor5/src/engine.js';import{CKEditorError as _0x5df5a3,Rect as _0x40ce1f}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x302f5e{static get[_0x464e2d(0x1b4)](){return[_0x1f1a41,_0x2b2329,_0x2518f6];}static get[_0x464e2d(0x1c1)](){const _0x2d02b3=_0x464e2d;return _0x2d02b3(0x1f5);}static get[_0x464e2d(0x1e5)](){return!0x0;}static get[_0x464e2d(0x199)](){return!0x0;}constructor(_0x115ecd){const _0x31cda4=_0x464e2d;super(_0x115ecd),_0x115ecd[_0x31cda4(0x1bc)][_0x31cda4(0x1d4)][_0x31cda4(0x1e7)](_0x95c7ca),this[_0x31cda4(0x1b5)]=!0x1,this[_0x31cda4(0x1da)](_0x31cda4(0x1cd),null),this[_0x31cda4(0x1b2)]=null,this[_0x31cda4(0x198)]=new Set(),this[_0x31cda4(0x19f)]=_0x115ecd[_0x31cda4(0x1bb)][_0x31cda4(0x19d)](_0x2b2329),this[_0x31cda4(0x1ee)]=new Set(),this[_0x31cda4(0x1e9)]=[],this[_0x31cda4(0x1d6)]=!0x1;}[_0x464e2d(0x1af)](){const _0x59a1ee=_0x464e2d,_0x20f9e0=this[_0x59a1ee(0x1e1)][_0x59a1ee(0x1bb)][_0x59a1ee(0x19d)](_0x2518f6);_0x20f9e0[_0x59a1ee(0x1bd)]===this[_0x59a1ee(0x1e1)]&&(_0x20f9e0[_0x59a1ee(0x1b9)](_0x59a1ee(0x1c5),this),this[_0x59a1ee(0x1e1)][_0x59a1ee(0x1e6)][_0x59a1ee(0x1da)](_0x59a1ee(0x1a0),(_0x551679,_0x395f6f)=>{const _0x33782b=_0x59a1ee,_0x2d331b=this[_0x33782b(0x19f)];if(this[_0x33782b(0x1b5)]&&_0x2d331b[_0x33782b(0x1a6)]){const _0x2c3a1c=this[_0x33782b(0x1b2)][_0x33782b(0x1ce)](_0x2d331b[_0x33782b(0x1a6)]);_0x2c3a1c&&this[_0x33782b(0x1ca)](_0x2c3a1c),_0x395f6f();}}));}[_0x464e2d(0x1a7)](){const _0xa7ef61=_0x464e2d,_0xa8438a=this[_0xa7ef61(0x1e1)][_0xa7ef61(0x1bb)][_0xa7ef61(0x19d)](_0x2518f6);_0xa8438a[_0xa7ef61(0x1bd)]===this[_0xa7ef61(0x1e1)]&&(_0xa8438a[_0xa7ef61(0x1eb)]()||_0xa8438a[_0xa7ef61(0x1d2)](_0xa7ef61(0x1c5)));}[_0x464e2d(0x1c6)](_0x5f8ccf){const _0x411897=_0x464e2d;_0x5f8ccf!==this[_0x411897(0x1cd)]&&(this[_0x411897(0x1cd)]&&(this[_0x411897(0x1cd)][_0x411897(0x1a4)]=!0x1),_0x5f8ccf&&this[_0x411897(0x1e1)]['ui'][_0x411897(0x1ea)][_0x411897(0x1b0)]&&(this[_0x411897(0x1b2)][_0x411897(0x1cf)](_0x5f8ccf)&&this[_0x411897(0x1c2)](_0x5f8ccf,!0x0),_0x5f8ccf[_0x411897(0x1a4)]=!0x0),_0x5f8ccf||this[_0x411897(0x1dd)]([]),this[_0x411897(0x1cd)]=_0x5f8ccf);}[_0x464e2d(0x1db)](_0x3d4196){const _0x144e76=_0x464e2d;this[_0x144e76(0x1b2)]=_0x3d4196;const _0x13b212=this[_0x144e76(0x1e1)][_0x144e76(0x1bb)][_0x144e76(0x19d)](_0x2518f6),_0x4d86e6=this[_0x144e76(0x19f)];if(this[_0x144e76(0x1b5)])throw new _0x5df5a3(_0x144e76(0x1a5),this);if(_0x13b212[_0x144e76(0x1bd)]!==this[_0x144e76(0x1e1)])throw new _0x5df5a3(_0x144e76(0x1d1),this);const _0x12ff31=this[_0x144e76(0x1e1)][_0x144e76(0x1bb)][_0x144e76(0x19d)](_0x1f1a41);this[_0x144e76(0x1be)](_0x12ff31,_0x144e76(0x1f3),()=>{const _0x607f9e=_0x144e76,_0x45f8c4=_0x12ff31[_0x607f9e(0x1e8)]({'annotations':this[_0x607f9e(0x1b2)],'activeAnnotation':this[_0x607f9e(0x1cd)]});var _0x784b49,_0x201139;!this[_0x607f9e(0x1d6)]&&(_0x784b49=_0x45f8c4,_0x201139=this[_0x607f9e(0x1e9)],_0x784b49[_0x607f9e(0x1e3)]===_0x201139[_0x607f9e(0x1e3)]&&_0x784b49[_0x607f9e(0x1c9)](_0x355c06=>_0x201139[_0x607f9e(0x1b7)](_0x355c06)))||(this[_0x607f9e(0x1d6)]=!0x1,this[_0x607f9e(0x1dd)](_0x45f8c4),this[_0x607f9e(0x1c6)](_0x45f8c4[0x0]||null));}),this[_0x144e76(0x1be)](_0x12ff31,_0x144e76(0x196),(_0x59b731,{isAnnotationTracked:_0x298250})=>{const _0x34edd5=_0x144e76;this[_0x34edd5(0x1cd)]&&_0x298250(this[_0x34edd5(0x1cd)])&&(this[_0x34edd5(0x1dd)]([]),this[_0x34edd5(0x1c6)](null));}),this[_0x144e76(0x1be)](this[_0x144e76(0x1e1)]['ui'][_0x144e76(0x1ea)],_0x144e76(0x1e4),(_0x27d8f4,_0x3adb29,_0x43c241)=>{const _0x4f483a=_0x144e76;_0x43c241||this[_0x4f483a(0x1c6)](null);}),this[_0x144e76(0x1be)](_0x3d4196,_0x144e76(0x19b),(_0xe5da4e,_0x3992de)=>{const _0x395a19=_0x144e76;this[_0x395a19(0x1a1)](_0x3992de),_0x3992de===this[_0x395a19(0x1cd)]&&this[_0x395a19(0x1c6)](null);}),this[_0x144e76(0x1be)](_0x4d86e6,_0x144e76(0x1ae),(_0x559e7e,_0x294ca6,_0x3a02db,_0x11a454)=>{const _0x1f811f=_0x144e76;_0x11a454&&this[_0x1f811f(0x1d7)](_0x11a454);const _0xd8efec=_0x3d4196[_0x1f811f(0x1ce)](_0x3a02db);_0x3a02db&&_0xd8efec&&(this[_0x1f811f(0x1be)](_0x3a02db,_0x1f811f(0x197),()=>{const _0x136a45=_0x1f811f;_0x4d86e6[_0x136a45(0x1a8)]();}),this[_0x1f811f(0x1be)](_0x3a02db,_0x1f811f(0x1a0),()=>{const _0x2d70d9=_0x1f811f;this[_0x2d70d9(0x1ca)](_0xd8efec),this[_0x2d70d9(0x1e1)][_0x2d70d9(0x1bc)][_0x2d70d9(0x1d4)][_0x2d70d9(0x1ac)]();}),this[_0x1f811f(0x1cd)]!==_0xd8efec&&this[_0x1f811f(0x1c6)](_0xd8efec));}),this[_0x144e76(0x1be)](this[_0x144e76(0x1e1)]['ui'],_0x144e76(0x19a),()=>{const _0xea53a9=_0x144e76;_0x4d86e6[_0xea53a9(0x1a6)]&&(_0x3d4196[_0xea53a9(0x1ce)](_0x4d86e6[_0xea53a9(0x1a6)])&&_0x4d86e6[_0xea53a9(0x1a8)]());}),this[_0x144e76(0x1be)](this[_0x144e76(0x1e1)][_0x144e76(0x1bc)][_0x144e76(0x1d4)][_0x144e76(0x195)],_0x144e76(0x1cc),()=>{const _0x403639=_0x144e76;this[_0x403639(0x1d6)]=!0x0,this[_0x403639(0x198)][_0x403639(0x1a2)]();}),this[_0x144e76(0x1e1)][_0x144e76(0x1bc)][_0x144e76(0x1d4)][_0x144e76(0x195)][_0x144e76(0x1c0)][_0x144e76(0x1bf)]&&this[_0x144e76(0x1e1)][_0x144e76(0x1bc)][_0x144e76(0x1d4)][_0x144e76(0x1ac)](),this[_0x144e76(0x1b5)]=!0x0;}[_0x464e2d(0x1c3)](){const _0x320b90=_0x464e2d;if(!this[_0x320b90(0x1b5)])throw new _0x5df5a3(_0x320b90(0x1ec),this);this[_0x320b90(0x1c6)](null);for(const _0x2ab1c7 of this[_0x320b90(0x1ee)])this[_0x320b90(0x1a1)](_0x2ab1c7);this[_0x320b90(0x1d7)](),this[_0x320b90(0x1b5)]=!0x1,this[_0x320b90(0x1b2)]=null;}[_0x464e2d(0x1d3)](){const _0x2e4ac7=_0x464e2d;this[_0x2e4ac7(0x1b5)]&&this[_0x2e4ac7(0x1c3)]();}[_0x464e2d(0x1dd)](_0x2a99e5){const _0x311fb9=_0x464e2d;for(const _0x408e1e of this[_0x311fb9(0x1e9)])_0x2a99e5[_0x311fb9(0x1b7)](_0x408e1e)||this[_0x311fb9(0x198)][_0x311fb9(0x194)](_0x408e1e);for(const _0x5eccff of this[_0x311fb9(0x1b2)])_0x2a99e5[_0x311fb9(0x1b7)](_0x5eccff)||this[_0x311fb9(0x1a1)](_0x5eccff);if(this[_0x311fb9(0x1e1)]['ui'][_0x311fb9(0x1ea)][_0x311fb9(0x1b0)]){for(const _0x3a7644 of _0x2a99e5)this[_0x311fb9(0x1c2)](_0x3a7644);}this[_0x311fb9(0x1e9)]=_0x2a99e5;}[_0x464e2d(0x1c2)](_0x1fe5d9,_0x837d59=!0x1){const _0x17af03=_0x464e2d;this[_0x17af03(0x198)][_0x17af03(0x1cf)](_0x1fe5d9)||(this[_0x17af03(0x1ee)][_0x17af03(0x1cf)](_0x1fe5d9)||this[_0x17af03(0x19f)][_0x17af03(0x1f1)](_0x1fe5d9[_0x17af03(0x1d4)])||(this[_0x17af03(0x1ee)][_0x17af03(0x1f0)](_0x1fe5d9),this[_0x17af03(0x19f)][_0x17af03(0x1f0)]({'stackId':_0x1fe5d9[_0x17af03(0x1d4)]['id'],'view':_0x1fe5d9[_0x17af03(0x1d4)],'position':{'target':()=>this[_0x17af03(0x193)](_0x1fe5d9)}})),_0x837d59&&this[_0x17af03(0x19f)][_0x17af03(0x1df)](_0x1fe5d9[_0x17af03(0x1d4)]['id']));}[_0x464e2d(0x193)](_0x5cc8d3){const _0x31683f=_0x464e2d,_0x2f8922=_0x5cc8d3[_0x31683f(0x1c8)],_0x266e07=this[_0x31683f(0x1e1)][_0x31683f(0x1bc)][_0x31683f(0x1d4)],_0x575644=_0x266e07[_0x31683f(0x195)][_0x31683f(0x1c0)][_0x31683f(0x1cb)](),_0x1b5ae3=_0x266e07[_0x31683f(0x1f4)][_0x31683f(0x1d8)](_0x575644);if(_0x1b5ae3[_0x31683f(0x1ad)](!0x0),_0x2f8922){if(_0x2f8922 instanceof _0x40ce1f)return _0x2f8922;let _0x5cd5bb=[];for(const _0x194ab0 of _0x2f8922)_0x5cd5bb[_0x31683f(0x1ba)](...(_0xb826ae=_0x194ab0[_0x31683f(0x1de)](),Array[_0x31683f(0x1c4)](_0xb826ae)[_0x31683f(0x19c)](DOMRect[_0x31683f(0x1b1)])));_0x5cd5bb=function(_0x5166bb){const _0x4f4d29=_0x31683f,_0x19d327=[];let _0x13bff4=_0x5166bb[0x0];for(let _0x4d1056=0x1;_0x4d1056<_0x5166bb[_0x4f4d29(0x1e3)];_0x4d1056++)b(_0x13bff4,_0x5166bb[_0x4d1056])?_0x13bff4[_0x4f4d29(0x1b3)]+=_0x5166bb[_0x4d1056][_0x4f4d29(0x1b3)]:(_0x19d327[_0x4f4d29(0x1ba)](_0x13bff4),_0x13bff4=_0x5166bb[_0x4d1056]);return _0x19d327[_0x4f4d29(0x1ba)](_0x13bff4),_0x19d327;}(_0x5cd5bb);const _0x54b5ef=_0x1b5ae3[_0x31683f(0x1dc)]();return _0x5cd5bb[_0x31683f(0x1ed)](_0xcc4e49=>_0xcc4e49[_0x31683f(0x1d0)]<=_0x54b5ef[_0x31683f(0x1d0)]&&_0xcc4e49[_0x31683f(0x1c7)]>=_0x54b5ef[_0x31683f(0x1c7)]&&_0xcc4e49[_0x31683f(0x1d5)]<=_0x54b5ef[_0x31683f(0x1d5)]&&_0xcc4e49[_0x31683f(0x1f2)]>=_0x54b5ef[_0x31683f(0x1f2)])||_0x5cd5bb[0x0];}var _0xb826ae;return _0x5cc8d3[_0x31683f(0x1e2)]||_0x1b5ae3;}[_0x464e2d(0x1a1)](_0x4497da){const _0x254a0c=_0x464e2d;this[_0x254a0c(0x1ee)][_0x254a0c(0x1cf)](_0x4497da)&&this[_0x254a0c(0x19f)][_0x254a0c(0x1f1)](_0x4497da[_0x254a0c(0x1d4)])&&(this[_0x254a0c(0x1ee)][_0x254a0c(0x194)](_0x4497da),this[_0x254a0c(0x19f)][_0x254a0c(0x19b)](_0x4497da[_0x254a0c(0x1d4)]));}[_0x464e2d(0x1ca)](_0x240842){const _0x5942f6=_0x464e2d;this[_0x5942f6(0x198)][_0x5942f6(0x1f0)](_0x240842),this[_0x5942f6(0x1a1)](_0x240842);}}function b(_0x4eed1e,_0x310a51){const _0x34acd0=_0x464e2d;return _0x4eed1e[_0x34acd0(0x1d0)]===_0x310a51[_0x34acd0(0x1d0)]&&_0x4eed1e[_0x34acd0(0x1c7)]===_0x310a51[_0x34acd0(0x1c7)]&&_0x4eed1e[_0x34acd0(0x1f2)]===_0x310a51[_0x34acd0(0x1d5)];}function _0x3cd9(){const _0x101e4a=['targetRect','length','change:isFocused','isOfficialPlugin','keystrokes','addObserver','getOrderedSelectedAnnotations','_selectedAnnotations','focusTracker','hasActive','inlineannotations-detach-not-attached','find','_addedAnnotations','79400khvDnU','add','hasView','right','refresh','domConverter','InlineAnnotations','_getBalloonTargetForAnnotation','delete','document','blur','change:height','_manuallyClosed','isPremiumPlugin','update','remove','map','get','437339VrDnwi','_balloon','Esc','_removeAnnotationFromBalloon','clear','6Fehfgq','isActive','inlineannotations-attach-already-attached','visibleView','afterInit','updatePosition','476968vAlFhu','3268575FAdldg','3435480hOldBd','focus','collapse','change:visibleView','init','isFocused','fromRect','annotations','width','requires','isAttached','218078MEdfWZ','includes','1UCDgvY','register','push','plugins','editing','context','listenTo','editableElement','selection','pluginName','_addAnnotationToBalloon','detach','from','inline','setActiveAnnotation','bottom','target','every','_closeAnnotation','getFirstRange','mousedown','activeAnnotation','getByView','has','top','inlineannotations-not-allowed-with-context','switchTo','destroy','view','left','_forceRefresh','stopListening','viewRangeToDom','93zwVGsw','set','attach','getBoundingClientRect','_setSelectedAnnotations','getClientRects','showStack','5659200oDBmdx','editor'];_0x3cd9=function(){return _0x101e4a;};return _0x3cd9();}
|
|
23
|
+
const _0x12ba6a=_0x1db7;(function(_0x5b14f3,_0x3f7f6c){const _0x11abeb=_0x1db7,_0xdf8313=_0x5b14f3();while(!![]){try{const _0x4c352a=-parseInt(_0x11abeb(0x1f2))/0x1+-parseInt(_0x11abeb(0x1d7))/0x2+parseInt(_0x11abeb(0x216))/0x3*(-parseInt(_0x11abeb(0x21e))/0x4)+-parseInt(_0x11abeb(0x201))/0x5+-parseInt(_0x11abeb(0x20d))/0x6*(parseInt(_0x11abeb(0x22a))/0x7)+-parseInt(_0x11abeb(0x229))/0x8+-parseInt(_0x11abeb(0x223))/0x9*(-parseInt(_0x11abeb(0x21c))/0xa);if(_0x4c352a===_0x3f7f6c)break;else _0xdf8313['push'](_0xdf8313['shift']());}catch(_0xa18540){_0xdf8313['push'](_0xdf8313['shift']());}}}(_0x7f3b,0x9aa62));function _0x7f3b(){const _0x54e627=['plugins','clear','30606VRCCyQ','from','pluginName','detach','switchTo','includes','get','has','listenTo','918174RbNHNq','change:visibleView','hasActive','annotations','setActiveAnnotation','map','5830ZAzuVf','document','4ABZcAJ','width','change:isFocused','_getBalloonTargetForAnnotation','right','57258QvSFur','_selectedAnnotations','length','getByView','add','_setSelectedAnnotations','2529952Omhpxv','1498MtPXpP','isPremiumPlugin','_addAnnotationToBalloon','delete','showStack','editableElement','attach','_balloon','_manuallyClosed','remove','top','Esc','isFocused','set','requires','find','829190KfDMIW','getBoundingClientRect','afterInit','keystrokes','targetRect','inline','inlineannotations-detach-not-attached','destroy','stopListening','blur','editor','push','isActive','context','getFirstRange','editing','domConverter','visibleView','InlineAnnotations','inlineannotations-attach-already-attached','every','focus','viewRangeToDom','_removeAnnotationFromBalloon','fromRect','change:height','activeAnnotation','205621VsefTq','_addedAnnotations','left','_closeAnnotation','init','focusTracker','hasView','bottom','collapse','isAttached','target','getOrderedSelectedAnnotations','refresh','isOfficialPlugin','mousedown','3707360rhUEoP','selection','inlineannotations-not-allowed-with-context','_forceRefresh','register','view','update','addObserver','updatePosition','getClientRects'];_0x7f3b=function(){return _0x54e627;};return _0x7f3b();}import{Plugin as _0x49b63f}from'ckeditor5/src/core.js';import _0x53bc5f from'./annotationsuis.js';import _0x10245f from'./editorannotations.js';import{ContextualBalloon as _0x2e5f69}from'ckeditor5/src/ui.js';import{MouseObserver as _0x301394}from'ckeditor5/src/engine.js';import{CKEditorError as _0x1fea13,Rect as _0x4c5db8}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x49b63f{static get[_0x12ba6a(0x1d5)](){return[_0x10245f,_0x2e5f69,_0x53bc5f];}static get[_0x12ba6a(0x20f)](){const _0x4f2b4d=_0x12ba6a;return _0x4f2b4d(0x1e9);}static get[_0x12ba6a(0x1ff)](){return!0x0;}static get[_0x12ba6a(0x22b)](){return!0x0;}constructor(_0x589405){const _0x33bdfd=_0x12ba6a;super(_0x589405),_0x589405[_0x33bdfd(0x1e6)][_0x33bdfd(0x206)][_0x33bdfd(0x208)](_0x301394),this[_0x33bdfd(0x1fb)]=!0x1,this[_0x33bdfd(0x1d4)](_0x33bdfd(0x1f1),null),this[_0x33bdfd(0x219)]=null,this[_0x33bdfd(0x232)]=new Set(),this[_0x33bdfd(0x231)]=_0x589405[_0x33bdfd(0x20b)][_0x33bdfd(0x213)](_0x2e5f69),this[_0x33bdfd(0x1f3)]=new Set(),this[_0x33bdfd(0x224)]=[],this[_0x33bdfd(0x204)]=!0x1;}[_0x12ba6a(0x1f6)](){const _0x8741dd=_0x12ba6a,_0x29d6c8=this[_0x8741dd(0x1e1)][_0x8741dd(0x20b)][_0x8741dd(0x213)](_0x53bc5f);_0x29d6c8[_0x8741dd(0x1e4)]===this[_0x8741dd(0x1e1)]&&(_0x29d6c8[_0x8741dd(0x205)](_0x8741dd(0x1dc),this),this[_0x8741dd(0x1e1)][_0x8741dd(0x1da)][_0x8741dd(0x1d4)](_0x8741dd(0x1d2),(_0x22bb59,_0x309cb1)=>{const _0x1f3d7d=_0x8741dd,_0x4533cc=this[_0x1f3d7d(0x231)];if(this[_0x1f3d7d(0x1fb)]&&_0x4533cc[_0x1f3d7d(0x1e8)]){const _0x34c2fa=this[_0x1f3d7d(0x219)][_0x1f3d7d(0x226)](_0x4533cc[_0x1f3d7d(0x1e8)]);_0x34c2fa&&this[_0x1f3d7d(0x1f5)](_0x34c2fa),_0x309cb1();}}));}[_0x12ba6a(0x1d9)](){const _0x12cdf4=_0x12ba6a,_0x349a01=this[_0x12cdf4(0x1e1)][_0x12cdf4(0x20b)][_0x12cdf4(0x213)](_0x53bc5f);_0x349a01[_0x12cdf4(0x1e4)]===this[_0x12cdf4(0x1e1)]&&(_0x349a01[_0x12cdf4(0x218)]()||_0x349a01[_0x12cdf4(0x211)](_0x12cdf4(0x1dc)));}[_0x12ba6a(0x21a)](_0x232969){const _0x86f763=_0x12ba6a;_0x232969!==this[_0x86f763(0x1f1)]&&(this[_0x86f763(0x1f1)]&&(this[_0x86f763(0x1f1)][_0x86f763(0x1e3)]=!0x1),_0x232969&&this[_0x86f763(0x1e1)]['ui'][_0x86f763(0x1f7)][_0x86f763(0x1d3)]&&(this[_0x86f763(0x219)][_0x86f763(0x214)](_0x232969)&&this[_0x86f763(0x22c)](_0x232969,!0x0),_0x232969[_0x86f763(0x1e3)]=!0x0),_0x232969||this[_0x86f763(0x228)]([]),this[_0x86f763(0x1f1)]=_0x232969);}[_0x12ba6a(0x230)](_0x13fcd2){const _0xf6a5d9=_0x12ba6a;this[_0xf6a5d9(0x219)]=_0x13fcd2;const _0xeea8cb=this[_0xf6a5d9(0x1e1)][_0xf6a5d9(0x20b)][_0xf6a5d9(0x213)](_0x53bc5f),_0x35590b=this[_0xf6a5d9(0x231)];if(this[_0xf6a5d9(0x1fb)])throw new _0x1fea13(_0xf6a5d9(0x1ea),this);if(_0xeea8cb[_0xf6a5d9(0x1e4)]!==this[_0xf6a5d9(0x1e1)])throw new _0x1fea13(_0xf6a5d9(0x203),this);const _0x417447=this[_0xf6a5d9(0x1e1)][_0xf6a5d9(0x20b)][_0xf6a5d9(0x213)](_0x10245f);this[_0xf6a5d9(0x215)](_0x417447,_0xf6a5d9(0x1fe),()=>{const _0x1c7133=_0xf6a5d9,_0x15688c=_0x417447[_0x1c7133(0x1fd)]({'annotations':this[_0x1c7133(0x219)],'activeAnnotation':this[_0x1c7133(0x1f1)]});var _0x5f0b90,_0x239614;!this[_0x1c7133(0x204)]&&(_0x5f0b90=_0x15688c,_0x239614=this[_0x1c7133(0x224)],_0x5f0b90[_0x1c7133(0x225)]===_0x239614[_0x1c7133(0x225)]&&_0x5f0b90[_0x1c7133(0x1eb)](_0x14c46c=>_0x239614[_0x1c7133(0x212)](_0x14c46c)))||(this[_0x1c7133(0x204)]=!0x1,this[_0x1c7133(0x228)](_0x15688c),this[_0x1c7133(0x21a)](_0x15688c[0x0]||null));}),this[_0xf6a5d9(0x215)](_0x417447,_0xf6a5d9(0x1e0),(_0xba3a82,{isAnnotationTracked:_0x5a0397})=>{const _0x862d56=_0xf6a5d9;this[_0x862d56(0x1f1)]&&_0x5a0397(this[_0x862d56(0x1f1)])&&(this[_0x862d56(0x228)]([]),this[_0x862d56(0x21a)](null));}),this[_0xf6a5d9(0x215)](this[_0xf6a5d9(0x1e1)]['ui'][_0xf6a5d9(0x1f7)],_0xf6a5d9(0x220),(_0x249714,_0x41f68d,_0x405481)=>{const _0x1cd549=_0xf6a5d9;_0x405481||this[_0x1cd549(0x21a)](null);}),this[_0xf6a5d9(0x215)](_0x13fcd2,_0xf6a5d9(0x233),(_0x276cb8,_0x383243)=>{const _0x58a289=_0xf6a5d9;this[_0x58a289(0x1ee)](_0x383243),_0x383243===this[_0x58a289(0x1f1)]&&this[_0x58a289(0x21a)](null);}),this[_0xf6a5d9(0x215)](_0x35590b,_0xf6a5d9(0x217),(_0x4af46d,_0x15eaba,_0x3fab4a,_0x317f6f)=>{const _0xad2c16=_0xf6a5d9;_0x317f6f&&this[_0xad2c16(0x1df)](_0x317f6f);const _0x188344=_0x13fcd2[_0xad2c16(0x226)](_0x3fab4a);_0x3fab4a&&_0x188344&&(this[_0xad2c16(0x215)](_0x3fab4a,_0xad2c16(0x1f0),()=>{const _0x52f3cc=_0xad2c16;_0x35590b[_0x52f3cc(0x209)]();}),this[_0xad2c16(0x215)](_0x3fab4a,_0xad2c16(0x1d2),()=>{const _0x5d5c00=_0xad2c16;this[_0x5d5c00(0x1f5)](_0x188344),this[_0x5d5c00(0x1e1)][_0x5d5c00(0x1e6)][_0x5d5c00(0x206)][_0x5d5c00(0x1ec)]();}),this[_0xad2c16(0x1f1)]!==_0x188344&&this[_0xad2c16(0x21a)](_0x188344));}),this[_0xf6a5d9(0x215)](this[_0xf6a5d9(0x1e1)]['ui'],_0xf6a5d9(0x207),()=>{const _0x21da1e=_0xf6a5d9;_0x35590b[_0x21da1e(0x1e8)]&&(_0x13fcd2[_0x21da1e(0x226)](_0x35590b[_0x21da1e(0x1e8)])&&_0x35590b[_0x21da1e(0x209)]());}),this[_0xf6a5d9(0x215)](this[_0xf6a5d9(0x1e1)][_0xf6a5d9(0x1e6)][_0xf6a5d9(0x206)][_0xf6a5d9(0x21d)],_0xf6a5d9(0x200),()=>{const _0x36c26c=_0xf6a5d9;this[_0x36c26c(0x204)]=!0x0,this[_0x36c26c(0x232)][_0x36c26c(0x20c)]();}),this[_0xf6a5d9(0x1e1)][_0xf6a5d9(0x1e6)][_0xf6a5d9(0x206)][_0xf6a5d9(0x21d)][_0xf6a5d9(0x202)][_0xf6a5d9(0x22f)]&&this[_0xf6a5d9(0x1e1)][_0xf6a5d9(0x1e6)][_0xf6a5d9(0x206)][_0xf6a5d9(0x1ec)](),this[_0xf6a5d9(0x1fb)]=!0x0;}[_0x12ba6a(0x210)](){const _0xdc84ec=_0x12ba6a;if(!this[_0xdc84ec(0x1fb)])throw new _0x1fea13(_0xdc84ec(0x1dd),this);this[_0xdc84ec(0x21a)](null);for(const _0x5c562d of this[_0xdc84ec(0x1f3)])this[_0xdc84ec(0x1ee)](_0x5c562d);this[_0xdc84ec(0x1df)](),this[_0xdc84ec(0x1fb)]=!0x1,this[_0xdc84ec(0x219)]=null;}[_0x12ba6a(0x1de)](){const _0x5dd461=_0x12ba6a;this[_0x5dd461(0x1fb)]&&this[_0x5dd461(0x210)]();}[_0x12ba6a(0x228)](_0x5d917f){const _0x32364c=_0x12ba6a;for(const _0x586a0a of this[_0x32364c(0x224)])_0x5d917f[_0x32364c(0x212)](_0x586a0a)||this[_0x32364c(0x232)][_0x32364c(0x22d)](_0x586a0a);for(const _0x58ff97 of this[_0x32364c(0x219)])_0x5d917f[_0x32364c(0x212)](_0x58ff97)||this[_0x32364c(0x1ee)](_0x58ff97);if(this[_0x32364c(0x1e1)]['ui'][_0x32364c(0x1f7)][_0x32364c(0x1d3)]){for(const _0x114fd4 of _0x5d917f)this[_0x32364c(0x22c)](_0x114fd4);}this[_0x32364c(0x224)]=_0x5d917f;}[_0x12ba6a(0x22c)](_0x14307a,_0x4caf85=!0x1){const _0x678316=_0x12ba6a;this[_0x678316(0x232)][_0x678316(0x214)](_0x14307a)||(this[_0x678316(0x1f3)][_0x678316(0x214)](_0x14307a)||this[_0x678316(0x231)][_0x678316(0x1f8)](_0x14307a[_0x678316(0x206)])||(this[_0x678316(0x1f3)][_0x678316(0x227)](_0x14307a),this[_0x678316(0x231)][_0x678316(0x227)]({'stackId':_0x14307a[_0x678316(0x206)]['id'],'view':_0x14307a[_0x678316(0x206)],'position':{'target':()=>this[_0x678316(0x221)](_0x14307a)}})),_0x4caf85&&this[_0x678316(0x231)][_0x678316(0x22e)](_0x14307a[_0x678316(0x206)]['id']));}[_0x12ba6a(0x221)](_0x26a707){const _0x3ca88a=_0x12ba6a,_0x212dd4=_0x26a707[_0x3ca88a(0x1fc)],_0x13d2ec=this[_0x3ca88a(0x1e1)][_0x3ca88a(0x1e6)][_0x3ca88a(0x206)],_0x1607f1=_0x13d2ec[_0x3ca88a(0x21d)][_0x3ca88a(0x202)][_0x3ca88a(0x1e5)](),_0xbec31f=_0x13d2ec[_0x3ca88a(0x1e7)][_0x3ca88a(0x1ed)](_0x1607f1);if(_0xbec31f[_0x3ca88a(0x1fa)](!0x0),_0x212dd4){if(_0x212dd4 instanceof _0x4c5db8)return _0x212dd4;let _0x461748=[];for(const _0x55cdb8 of _0x212dd4)_0x461748[_0x3ca88a(0x1e2)](...(_0x21fc5f=_0x55cdb8[_0x3ca88a(0x20a)](),Array[_0x3ca88a(0x20e)](_0x21fc5f)[_0x3ca88a(0x21b)](DOMRect[_0x3ca88a(0x1ef)])));_0x461748=function(_0x24abdd){const _0x3a3f0a=_0x3ca88a,_0x5d2bbd=[];let _0x24009d=_0x24abdd[0x0];for(let _0x143cf7=0x1;_0x143cf7<_0x24abdd[_0x3a3f0a(0x225)];_0x143cf7++)b(_0x24009d,_0x24abdd[_0x143cf7])?_0x24009d[_0x3a3f0a(0x21f)]+=_0x24abdd[_0x143cf7][_0x3a3f0a(0x21f)]:(_0x5d2bbd[_0x3a3f0a(0x1e2)](_0x24009d),_0x24009d=_0x24abdd[_0x143cf7]);return _0x5d2bbd[_0x3a3f0a(0x1e2)](_0x24009d),_0x5d2bbd;}(_0x461748);const _0x5b72b1=_0xbec31f[_0x3ca88a(0x1d8)]();return _0x461748[_0x3ca88a(0x1d6)](_0x4df3a5=>_0x4df3a5[_0x3ca88a(0x1d1)]<=_0x5b72b1[_0x3ca88a(0x1d1)]&&_0x4df3a5[_0x3ca88a(0x1f9)]>=_0x5b72b1[_0x3ca88a(0x1f9)]&&_0x4df3a5[_0x3ca88a(0x1f4)]<=_0x5b72b1[_0x3ca88a(0x1f4)]&&_0x4df3a5[_0x3ca88a(0x222)]>=_0x5b72b1[_0x3ca88a(0x222)])||_0x461748[0x0];}var _0x21fc5f;return _0x26a707[_0x3ca88a(0x1db)]||_0xbec31f;}[_0x12ba6a(0x1ee)](_0x1be73a){const _0x207da8=_0x12ba6a;this[_0x207da8(0x1f3)][_0x207da8(0x214)](_0x1be73a)&&this[_0x207da8(0x231)][_0x207da8(0x1f8)](_0x1be73a[_0x207da8(0x206)])&&(this[_0x207da8(0x1f3)][_0x207da8(0x22d)](_0x1be73a),this[_0x207da8(0x231)][_0x207da8(0x233)](_0x1be73a[_0x207da8(0x206)]));}[_0x12ba6a(0x1f5)](_0x211a64){const _0x596a95=_0x12ba6a;this[_0x596a95(0x232)][_0x596a95(0x227)](_0x211a64),this[_0x596a95(0x1ee)](_0x211a64);}}function _0x1db7(_0x20353f,_0x3c1088){const _0x7f3bf7=_0x7f3b();return _0x1db7=function(_0x1db73b,_0x5ee31d){_0x1db73b=_0x1db73b-0x1d1;let _0x202391=_0x7f3bf7[_0x1db73b];return _0x202391;},_0x1db7(_0x20353f,_0x3c1088);}function b(_0x12f38b,_0x19ba5b){const _0x1c449c=_0x12ba6a;return _0x12f38b[_0x1c449c(0x1d1)]===_0x19ba5b[_0x1c449c(0x1d1)]&&_0x12f38b[_0x1c449c(0x1f9)]===_0x19ba5b[_0x1c449c(0x1f9)]&&_0x12f38b[_0x1c449c(0x222)]===_0x19ba5b[_0x1c449c(0x1f4)];}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4b5b3f=_0x518a;(function(_0x4f0a80,_0x50316f){const _0x520a95=_0x518a,_0x1ee0f1=_0x4f0a80();while(!![]){try{const _0x4ef113=-parseInt(_0x520a95(0x13c))/0x1+parseInt(_0x520a95(0x10f))/0x2*(parseInt(_0x520a95(0xf8))/0x3)+-parseInt(_0x520a95(0x151))/0x4*(parseInt(_0x520a95(0xe0))/0x5)+-parseInt(_0x520a95(0x103))/0x6*(parseInt(_0x520a95(0x12d))/0x7)+-parseInt(_0x520a95(0xec))/0x8+-parseInt(_0x520a95(0x146))/0x9*(-parseInt(_0x520a95(0x141))/0xa)+parseInt(_0x520a95(0x117))/0xb*(parseInt(_0x520a95(0xe5))/0xc);if(_0x4ef113===_0x50316f)break;else _0x1ee0f1['push'](_0x1ee0f1['shift']());}catch(_0x2f2d9c){_0x1ee0f1['push'](_0x1ee0f1['shift']());}}}(_0x42e6,0xdbd29));function _0x42e6(){const _0x9fbb8f=['hasDomSelection','set:container','14251932ZBVBYP','isAttached','attachToDom','create','southArrowNorthEast','target','element','editors','bodyCollection','preventDefault','keyCode','8hcLmCA','off','annotations','northArrowSouth','_integrateWithEditorAnnotations','focus','getByView','getOrderedSelectedAnnotations','ck-sidebar--narrow','narrowsidebar-detach-not-attached','stopListening','isDirty','length','1510840cMgIVU','ready','_domEmitter','delete','execute','12XEnQwh','low','get','balloonPanelView','cancel','register','isOfficialPlugin','9432184mWhjMJ','focusableElements','detach','_hideBalloon','detachFromDom','Esc','init','uiUpdate','context','rearrange','stop','defaultPositions','308259BXJAvj','esc','listenTo','bind','contains','attach','_editorAnnotations','isVisible','preventClosingBalloon','content','_refreshPositioningDebounced','18dFJIzv','_destroyEditorAnnotationsIntegration','mousedown','annotationType','unpin','view','_attachToContainer','_annotationToNarrowView','high','has','type','clear','10HpQCnF','number','_annotations','resize','plugins','getSidebarItemView','remove','narrowSidebar','16443757XfwYBJ','change:container','northArrowSouthEast','_setSelectedAnnotations','pluginName','find','set','_showBalloon','_updateBalloonPosition','EditorAnnotations','includes','requires','values','pin','southArrowNorth','NarrowSidebar','isPremiumPlugin','first','blur','change:height','northArrowSouthWest','southArrowNorthWest','1705389GEfGjC','_attachListeners','_refreshPositioning','_manuallyClosedAnnotationViews','add','destroy','keydown','activeAnnotation','stopPropagation','removeEventListener','from','narrowsidebar-attach-already-attached','_detachListeners','_selectedAnnotations','_detachFromContainer','177567qUMLQv','refreshPositioning','addEventListener','addAnnotation','locale','10sBZaWl','refresh','setActiveAnnotation'];_0x42e6=function(){return _0x9fbb8f;};return _0x42e6();}function _0x518a(_0x359f17,_0x4777cf){const _0x42e671=_0x42e6();return _0x518a=function(_0x518a74,_0x40e475){_0x518a74=_0x518a74-0xd8;let _0x748d53=_0x42e671[_0x518a74];return _0x748d53;},_0x518a(_0x359f17,_0x4777cf);}import{ContextPlugin as _0x459294,Context as _0x47a3db}from'ckeditor5/src/core.js';import _0x471048 from'./annotationsuis.js';import _0x5f2a0b from'./sidebar.js';import _0xf5874f from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x51e3af,BodyCollection as _0x13aeff}from'ckeditor5/src/ui.js';import{CKEditorError as _0x1792c1,DomEmitterMixin as _0x26d223,keyCodes as _0x3c6ecb,Collection as _0x1f238c}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x59a48d}from'lodash-es';export default class n extends _0x459294{static get[_0x4b5b3f(0x122)](){return[_0x5f2a0b,_0x471048];}static get[_0x4b5b3f(0x11b)](){const _0x39b960=_0x4b5b3f;return _0x39b960(0x126);}static get[_0x4b5b3f(0xeb)](){return!0x0;}static get[_0x4b5b3f(0x127)](){return!0x0;}constructor(_0x421c92){const _0x5b2cb0=_0x4b5b3f;super(_0x421c92),this[_0x5b2cb0(0x147)]=!0x1,this[_0x5b2cb0(0x130)]=new Set(),this[_0x5b2cb0(0xe2)]=Object[_0x5b2cb0(0x149)](_0x26d223),this[_0x5b2cb0(0x10a)]=new Map(),this[_0x5b2cb0(0x11d)](_0x5b2cb0(0x134),null),this[_0x5b2cb0(0x153)]=null,this[_0x5b2cb0(0x13a)]=[],this[_0x5b2cb0(0xfe)]=new _0x1f238c(),this[_0x5b2cb0(0x102)]=_0x59a48d(()=>{const _0x23126e=_0x5b2cb0;this[_0x23126e(0x12f)]();},0xfa,{'leading':!0x1});}[_0x4b5b3f(0xf2)](){const _0x1f496d=_0x4b5b3f;this[_0x1f496d(0xf4)][_0x1f496d(0x113)][_0x1f496d(0xe7)](_0x471048)[_0x1f496d(0xea)](_0x1f496d(0x116),this),this[_0x1f496d(0x14e)]=new _0x13aeff(this[_0x1f496d(0xf4)][_0x1f496d(0x140)]),this[_0x1f496d(0xe8)]=new _0x51e3af(this[_0x1f496d(0xf4)][_0x1f496d(0x140)]),this[_0x1f496d(0x14e)][_0x1f496d(0x148)](),this[_0x1f496d(0x14e)][_0x1f496d(0x131)](this[_0x1f496d(0xe8)]);}[_0x4b5b3f(0xfd)](_0x24e6ba){const _0x21bde2=_0x4b5b3f;this[_0x21bde2(0x153)]=_0x24e6ba;const _0x182e0d=this[_0x21bde2(0xf4)][_0x21bde2(0x113)][_0x21bde2(0xe7)](_0x5f2a0b),_0x240bfe=this[_0x21bde2(0xe8)];if(_0x182e0d[_0x21bde2(0x111)]=_0x24e6ba,this[_0x21bde2(0x147)])throw new _0x1792c1(_0x21bde2(0x138),this);this[_0x21bde2(0x147)]=!0x0,this[_0x21bde2(0xfa)](_0x182e0d,_0x21bde2(0x145),()=>{const _0x369520=_0x21bde2;this[_0x369520(0xee)](),this[_0x369520(0xfa)](_0x182e0d,_0x369520(0x118),_0x151b48=>{const _0x29273b=_0x369520;_0x151b48[_0x29273b(0x152)](),this[_0x29273b(0xfd)](_0x24e6ba);});}),_0x182e0d[_0x21bde2(0x109)]({'viewClass':_0x21bde2(0xdb),'spaceBetweenItems':0x5});const _0x4abe2c=_0x29f1d1=>{const _0x5b620e=_0x21bde2,_0x453b4e=new _0xf5874f(this[_0x5b620e(0xf4)][_0x5b620e(0x140)]);_0x182e0d[_0x5b620e(0x13f)](_0x29f1d1,_0x453b4e),this[_0x5b620e(0x10a)][_0x5b620e(0x11d)](_0x29f1d1,_0x453b4e),_0x453b4e[_0x5b620e(0xfb)](_0x5b620e(0xde),_0x5b620e(0x106),_0x5b620e(0x110))['to'](_0x29f1d1[_0x5b620e(0x108)],_0x5b620e(0xde),_0x5b620e(0x10d),_0x5b620e(0xdf)),_0x453b4e['on'](_0x5b620e(0xe4),()=>{const _0x141220=_0x5b620e;this[_0x141220(0x130)][_0x141220(0x10e)](),_0x240bfe[_0x141220(0x101)][_0x141220(0x128)]!==_0x29f1d1[_0x141220(0x108)]?(this[_0x141220(0x11e)](_0x29f1d1),_0x29f1d1[_0x141220(0x108)][_0x141220(0x14c)][_0x141220(0xd8)](),this[_0x141220(0x143)](_0x29f1d1)):this[_0x141220(0x143)](null);});};for(const _0x32fdf9 of _0x24e6ba)_0x4abe2c(_0x32fdf9);this[_0x21bde2(0xfa)](_0x24e6ba,_0x21bde2(0x131),(_0xe224e8,_0x2f8845)=>{_0x4abe2c(_0x2f8845);}),this[_0x21bde2(0xfa)](_0x24e6ba,_0x21bde2(0x115),(_0x4585da,_0xdff714,_0x352121)=>{const _0x2e05ae=_0x21bde2;this[_0x2e05ae(0x10a)][_0x2e05ae(0xe7)](_0xdff714)[_0x2e05ae(0x132)](),this[_0x2e05ae(0x10a)][_0x2e05ae(0xe3)](_0xdff714),_0x182e0d[_0x2e05ae(0xf5)]({'removedAnnotation':_0xdff714,'previousAnnotation':_0x24e6ba[_0x2e05ae(0xe7)](_0x352121-0x1),'nextAnnotation':_0x24e6ba[_0x2e05ae(0xe7)](_0x352121+0x1)}),_0xdff714===this[_0x2e05ae(0x134)]&&this[_0x2e05ae(0x143)](null);},{'priority':_0x21bde2(0xe6)}),this[_0x21bde2(0xfa)](_0x24e6ba,_0x21bde2(0xd8),(_0x5261e1,_0x29918f)=>{const _0x59c62f=_0x21bde2;this[_0x59c62f(0x143)](_0x29918f);}),this[_0x21bde2(0xfa)](_0x24e6ba,_0x21bde2(0x129),()=>{const _0x100be4=_0x21bde2;this[_0x100be4(0x143)](null);}),this[_0x21bde2(0xe2)][_0x21bde2(0xfa)](document,_0x21bde2(0x133),(_0x2886e1,_0x4ff573)=>{const _0x159567=_0x21bde2;_0x4ff573[_0x159567(0x150)]===_0x3c6ecb[_0x159567(0xf9)]&&_0x240bfe[_0x159567(0xff)]&&(this[_0x159567(0x130)][_0x159567(0x131)](_0x240bfe[_0x159567(0x101)][_0x159567(0x128)]),this[_0x159567(0xef)](),_0x4ff573[_0x159567(0x135)](),_0x4ff573[_0x159567(0x14f)]());}),this[_0x21bde2(0xe2)][_0x21bde2(0xfa)](document,_0x21bde2(0x105),(_0x3436f0,_0x50f43e)=>{const _0x30b4fd=_0x21bde2,_0x14ba82=_0x50f43e[_0x30b4fd(0x14b)];_0x240bfe[_0x30b4fd(0xff)]&&_0x240bfe[_0x30b4fd(0x14c)][_0x30b4fd(0xfc)](_0x14ba82)||_0x182e0d[_0x30b4fd(0x108)][_0x30b4fd(0x14c)][_0x30b4fd(0xfc)](_0x14ba82)||_0x3436f0[_0x30b4fd(0x100)]||this[_0x30b4fd(0x134)]&&this[_0x30b4fd(0x134)][_0x30b4fd(0xed)][_0x30b4fd(0x11c)](_0x37318a=>_0x37318a[_0x30b4fd(0xfc)](_0x14ba82))||(this[_0x30b4fd(0x130)][_0x30b4fd(0x10e)](),this[_0x30b4fd(0xef)](),this[_0x30b4fd(0x143)](null));});const _0x5519b2=this[_0x21bde2(0xf4)]instanceof _0x47a3db?this[_0x21bde2(0xf4)][_0x21bde2(0x14d)]:new _0x1f238c([this[_0x21bde2(0xf4)]]);for(const _0x3cdbcd of _0x5519b2)this[_0x21bde2(0x155)](_0x3cdbcd);this[_0x21bde2(0xfa)](_0x5519b2,_0x21bde2(0x131),(_0x47fae8,_0x1ac929)=>{const _0x354b1d=_0x21bde2;this[_0x354b1d(0xfa)](_0x1ac929,_0x354b1d(0xe1),()=>{const _0x229bdb=_0x354b1d;this[_0x229bdb(0x155)](_0x1ac929);});}),this[_0x21bde2(0xfa)](_0x5519b2,_0x21bde2(0x115),(_0x1ad86a,_0x57b0a9)=>{const _0x4e3145=_0x21bde2;_0x57b0a9[_0x4e3145(0x113)][_0x4e3145(0x10c)](_0x4e3145(0x120))&&this[_0x4e3145(0x104)](_0x57b0a9[_0x4e3145(0x113)][_0x4e3145(0xe7)](_0x4e3145(0x120)));}),window[_0x21bde2(0x13e)](_0x21bde2(0x112),this[_0x21bde2(0x102)]),this[_0x21bde2(0x12f)]();}[_0x4b5b3f(0x143)](_0x538025){const _0x41f448=_0x4b5b3f;if(_0x538025===this[_0x41f448(0x134)])return;const _0x45dbd6=this[_0x41f448(0xf4)][_0x41f448(0x113)][_0x41f448(0xe7)](_0x5f2a0b);if(_0x45dbd6[_0x41f448(0x142)]({'blurredAnnotation':this[_0x41f448(0x134)],'activatedAnnotation':_0x538025,'disableAnimationOnActivatedAnnotation':!0x0}),_0x538025)_0x45dbd6[_0x41f448(0x114)](_0x538025)?this[_0x41f448(0x11e)](_0x538025):this[_0x41f448(0xef)]();else this[_0x41f448(0xef)]();this[_0x41f448(0x134)]=_0x538025;}[_0x4b5b3f(0xee)](){const _0x11b324=_0x4b5b3f;if(!this[_0x11b324(0x147)])throw new _0x1792c1(_0x11b324(0xdc),this);this[_0x11b324(0x143)](null);const _0x228c53=this[_0x11b324(0xf4)][_0x11b324(0x113)][_0x11b324(0xe7)](_0x5f2a0b);this[_0x11b324(0xef)](),Array[_0x11b324(0x137)](this[_0x11b324(0x10a)][_0x11b324(0x123)](),_0x4b4d22=>_0x4b4d22[_0x11b324(0x132)]()),this[_0x11b324(0x10a)][_0x11b324(0x10e)](),_0x228c53[_0x11b324(0x13b)](this[_0x11b324(0x153)]),this[_0x11b324(0xdd)](),this[_0x11b324(0xe2)][_0x11b324(0xdd)](),this[_0x11b324(0xf4)]instanceof _0x47a3db&&this[_0x11b324(0xdd)](this[_0x11b324(0xf4)][_0x11b324(0x14d)]);for(const _0x38b495 of Array[_0x11b324(0x137)](this[_0x11b324(0xfe)]))this[_0x11b324(0x104)](_0x38b495);window[_0x11b324(0x136)](_0x11b324(0x112),this[_0x11b324(0x102)]),this[_0x11b324(0x102)][_0x11b324(0xe9)](),this[_0x11b324(0x13a)]=[],this[_0x11b324(0x147)]=!0x1,this[_0x11b324(0x153)]=null;}[_0x4b5b3f(0x132)](){const _0x1b4b2e=_0x4b5b3f;this[_0x1b4b2e(0x147)]&&this[_0x1b4b2e(0xee)](),this[_0x1b4b2e(0x14e)][_0x1b4b2e(0xf0)]();}[_0x4b5b3f(0x155)](_0x5932c7){const _0x50f9be=_0x4b5b3f;if(!_0x5932c7[_0x50f9be(0x113)][_0x50f9be(0x10c)](_0x50f9be(0x120)))return;const _0x1a062c=_0x5932c7[_0x50f9be(0x113)][_0x50f9be(0xe7)](_0x50f9be(0x120)),_0x407b45=this[_0x50f9be(0xf4)][_0x50f9be(0x113)][_0x50f9be(0xe7)](_0x5f2a0b),_0x5837d7=this[_0x50f9be(0x153)],_0x175309=this[_0x50f9be(0xe8)],_0x3658f7=()=>{const _0x2e7b41=_0x50f9be,_0x398422=_0x1a062c[_0x2e7b41(0xda)]({'annotations':this[_0x2e7b41(0x153)],'activeAnnotation':this[_0x2e7b41(0x134)]});this[_0x2e7b41(0x11a)](_0x398422),this[_0x2e7b41(0x143)](_0x398422[0x0]||null);};this[_0x50f9be(0xfa)](_0x1a062c,_0x50f9be(0x142),_0x3658f7),this[_0x50f9be(0xfa)](_0x1a062c,_0x50f9be(0x129),(_0x4fe617,{isAnnotationTracked:_0x2fca33})=>{const _0x171c44=_0x50f9be;this[_0x171c44(0x134)]&&_0x2fca33(this[_0x171c44(0x134)])&&(this[_0x171c44(0x11a)]([]),this[_0x171c44(0x143)](null));}),this[_0x50f9be(0xfa)](_0x1a062c,_0x50f9be(0xf3),()=>{const _0x5ab160=_0x50f9be;this[_0x5ab160(0x102)]();}),this[_0x50f9be(0xfa)](_0x5837d7,_0x50f9be(0x129),_0x28cb98=>{const _0x3260d9=_0x50f9be;_0x1a062c[_0x3260d9(0x144)]()&&_0x28cb98[_0x3260d9(0xf6)]();},{'priority':_0x50f9be(0x10b)}),this[_0x50f9be(0xfa)](this[_0x50f9be(0xe2)],_0x50f9be(0x105),(_0x204465,_0x2c2258)=>{const _0x7c29a0=_0x50f9be,_0x265825=_0x2c2258[_0x7c29a0(0x14b)];_0x175309[_0x7c29a0(0xff)]&&_0x175309[_0x7c29a0(0x14c)][_0x7c29a0(0xfc)](_0x265825)||_0x407b45[_0x7c29a0(0x108)][_0x7c29a0(0x14c)][_0x7c29a0(0xfc)](_0x265825)||this[_0x7c29a0(0x134)]&&_0x1a062c[_0x7c29a0(0x144)]()&&(_0x3658f7(),_0x204465[_0x7c29a0(0x100)]=!0x0);},{'priority':_0x50f9be(0x10b)}),this[_0x50f9be(0xfe)][_0x50f9be(0x131)](_0x1a062c);}[_0x4b5b3f(0x104)](_0x3d2f){const _0x18cabb=_0x4b5b3f;_0x3d2f&&(this[_0x18cabb(0xdd)](_0x3d2f),this[_0x18cabb(0xfe)][_0x18cabb(0x115)](_0x3d2f));}[_0x4b5b3f(0x11a)](_0x417efe){const _0x10701e=_0x4b5b3f;for(const _0x502fb6 of this[_0x10701e(0x13a)])_0x417efe[_0x10701e(0x121)](_0x502fb6)||this[_0x10701e(0x130)][_0x10701e(0xe3)](_0x502fb6[_0x10701e(0x108)]);this[_0x10701e(0x13a)]=_0x417efe;}[_0x4b5b3f(0x12f)](){const _0x2b6928=_0x4b5b3f,_0x59b6ea=this[_0x2b6928(0xe8)];this[_0x2b6928(0x153)][_0x2b6928(0x13d)](),_0x59b6ea[_0x2b6928(0xff)]&&this[_0x2b6928(0x11f)]();}[_0x4b5b3f(0x11e)](_0x4c3043){const _0x2852c4=_0x4b5b3f;if(this[_0x2852c4(0x130)][_0x2852c4(0x10c)](_0x4c3043[_0x2852c4(0x108)]))return;const _0xc84093=this[_0x2852c4(0xe8)][_0x2852c4(0x101)][_0x2852c4(0x128)];_0xc84093!==_0x4c3043[_0x2852c4(0x108)]?(_0xc84093&&this[_0x2852c4(0x139)](_0xc84093),this[_0x2852c4(0x12e)](_0x4c3043[_0x2852c4(0x108)]),this[_0x2852c4(0xe8)][_0x2852c4(0x101)][_0x2852c4(0x10e)](),this[_0x2852c4(0xe8)][_0x2852c4(0x101)][_0x2852c4(0x131)](_0x4c3043[_0x2852c4(0x108)]),this[_0x2852c4(0x11f)]()):this[_0x2852c4(0x11f)]();}[_0x4b5b3f(0x11f)](){const _0x584118=_0x4b5b3f,_0x5b6d19=this[_0x584118(0xe8)][_0x584118(0x101)][_0x584118(0x128)],_0x5c33ee=_0x5b6d19&&this[_0x584118(0x153)][_0x584118(0xd9)](_0x5b6d19);if(!_0x5c33ee||!this[_0x584118(0x10a)][_0x584118(0x10c)](_0x5c33ee))return;const _0x25efc2=this[_0x584118(0x10a)][_0x584118(0xe7)](_0x5c33ee)[_0x584118(0x14c)],_0x3b3f65=(function(){const _0x5040fb=_0x584118,_0x2268a2=_0x51e3af[_0x5040fb(0xf7)];return[_0x2268a2[_0x5040fb(0x14a)],_0x2268a2[_0x5040fb(0x119)],_0x2268a2[_0x5040fb(0x125)],_0x2268a2[_0x5040fb(0x154)],_0x2268a2[_0x5040fb(0x12c)],_0x2268a2[_0x5040fb(0x12b)]];}());this[_0x584118(0xe8)][_0x584118(0x124)]({'target':_0x25efc2,'positions':_0x3b3f65});}[_0x4b5b3f(0xef)](){const _0x384c12=_0x4b5b3f,_0x3f7146=this[_0x384c12(0xe8)],_0x47474b=_0x3f7146[_0x384c12(0x101)][_0x384c12(0x128)];_0x47474b&&(this[_0x384c12(0x139)](_0x47474b),_0x3f7146[_0x384c12(0x107)](),_0x3f7146[_0x384c12(0x101)][_0x384c12(0x10e)]());}[_0x4b5b3f(0x12e)](_0xf35ed9){const _0x13368d=_0x4b5b3f;this[_0x13368d(0xfa)](_0xf35ed9,_0x13368d(0x12a),()=>this[_0x13368d(0x11f)]()),this[_0x13368d(0xfa)](_0xf35ed9,_0x13368d(0xf1),(_0x58aec9,_0x9e71e4)=>{const _0x51cf38=_0x13368d;this[_0x51cf38(0x130)][_0x51cf38(0x131)](_0xf35ed9),this[_0x51cf38(0xef)](),_0x9e71e4();});}[_0x4b5b3f(0x139)](_0x40cced){const _0x51f0a7=_0x4b5b3f;this[_0x51f0a7(0xdd)](_0x40cced);}}
|
|
23
|
+
const _0x449d5b=_0x34d4;(function(_0x2fb4f,_0x40152c){const _0x4de9fd=_0x34d4,_0x2e8aef=_0x2fb4f();while(!![]){try{const _0x16394f=-parseInt(_0x4de9fd(0x22d))/0x1*(-parseInt(_0x4de9fd(0x24a))/0x2)+parseInt(_0x4de9fd(0x244))/0x3+-parseInt(_0x4de9fd(0x24f))/0x4+-parseInt(_0x4de9fd(0x1fc))/0x5+parseInt(_0x4de9fd(0x20e))/0x6*(-parseInt(_0x4de9fd(0x21f))/0x7)+parseInt(_0x4de9fd(0x250))/0x8*(-parseInt(_0x4de9fd(0x22b))/0x9)+parseInt(_0x4de9fd(0x23b))/0xa;if(_0x16394f===_0x40152c)break;else _0x2e8aef['push'](_0x2e8aef['shift']());}catch(_0x5747b4){_0x2e8aef['push'](_0x2e8aef['shift']());}}}(_0x3616,0xa4d15));import{ContextPlugin as _0x7589bd,Context as _0x3c24f7}from'ckeditor5/src/core.js';import _0x2be1b0 from'./annotationsuis.js';import _0x4fcf1b from'./sidebar.js';function _0x34d4(_0x29dd26,_0x4a3228){const _0x36168f=_0x3616();return _0x34d4=function(_0x34d453,_0x40340c){_0x34d453=_0x34d453-0x1ee;let _0x449a80=_0x36168f[_0x34d453];return _0x449a80;},_0x34d4(_0x29dd26,_0x4a3228);}import _0x1735ae from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x1b4749,BodyCollection as _0x3e18db}from'ckeditor5/src/ui.js';import{CKEditorError as _0x4fddeb,DomEmitterMixin as _0x223bd6,keyCodes as _0x6a1093,Collection as _0x372239}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';function _0x3616(){const _0x2b40a1=['1519302SYropj','northArrowSouth','isVisible','_hideBalloon','keydown','_selectedAnnotations','55802IjpoDn','off','pin','annotationType','destroy','853076WMSgbL','26744ZVTwjR','first','_refreshPositioningDebounced','isOfficialPlugin','_refreshPositioning','attachToDom','pluginName','activeAnnotation','set:container','_integrateWithEditorAnnotations','southArrowNorthWest','balloonPanelView','_showBalloon','defaultPositions','northArrowSouthEast','isPremiumPlugin','element','narrowsidebar-attach-already-attached','clear','_manuallyClosedAnnotationViews','isDirty','find','_detachListeners','values','mousedown','preventDefault','_destroyEditorAnnotationsIntegration','view','high','init','_updateBalloonPosition','removeEventListener','length','number','bind','ready','stopListening','content','focus','getSidebarItemView','5391300gcKzmY','context','setActiveAnnotation','type','esc','hasDomSelection','get','keyCode','southArrowNorthEast','northArrowSouthWest','annotations','refresh','southArrowNorth','plugins','delete','set','narrowsidebar-detach-not-attached','add','6RRrfiz','NarrowSidebar','_annotations','register','contains','_detachFromContainer','_domEmitter','bodyCollection','_setSelectedAnnotations','refreshPositioning','addEventListener','_annotationToNarrowView','requires','editors','from','low','narrowSidebar','643972zimlSb','Esc','focusableElements','listenTo','detachFromDom','preventClosingBalloon','change:container','resize','change:height','includes','create','_editorAnnotations','1629GLvAqo','locale','9KOFfqI','detach','_attachListeners','execute','target','getOrderedSelectedAnnotations','isAttached','EditorAnnotations','rearrange','cancel','remove','stop','stopPropagation','getByView','19061580VTcFrA','blur','unpin','has','attach','addAnnotation','_attachToContainer','uiUpdate','ck-sidebar--narrow'];_0x3616=function(){return _0x2b40a1;};return _0x3616();}import{debounce as _0x59f2c8}from'lodash-es';export default class n extends _0x7589bd{static get[_0x449d5b(0x21a)](){return[_0x4fcf1b,_0x2be1b0];}static get[_0x449d5b(0x256)](){const _0xe84bb8=_0x449d5b;return _0xe84bb8(0x20f);}static get[_0x449d5b(0x253)](){return!0x0;}static get[_0x449d5b(0x25f)](){return!0x0;}constructor(_0x5ae072){const _0x3ad1de=_0x449d5b;super(_0x5ae072),this[_0x3ad1de(0x233)]=!0x1,this[_0x3ad1de(0x263)]=new Set(),this[_0x3ad1de(0x214)]=Object[_0x3ad1de(0x229)](_0x223bd6),this[_0x3ad1de(0x219)]=new Map(),this[_0x3ad1de(0x20b)](_0x3ad1de(0x257),null),this[_0x3ad1de(0x206)]=null,this[_0x3ad1de(0x249)]=[],this[_0x3ad1de(0x22a)]=new _0x372239(),this[_0x3ad1de(0x252)]=_0x59f2c8(()=>{const _0x1f71d8=_0x3ad1de;this[_0x1f71d8(0x254)]();},0xfa,{'leading':!0x1});}[_0x449d5b(0x1f1)](){const _0xe6eb89=_0x449d5b;this[_0xe6eb89(0x1fd)][_0xe6eb89(0x209)][_0xe6eb89(0x202)](_0x2be1b0)[_0xe6eb89(0x211)](_0xe6eb89(0x21e),this),this[_0xe6eb89(0x215)]=new _0x3e18db(this[_0xe6eb89(0x1fd)][_0xe6eb89(0x22c)]),this[_0xe6eb89(0x25b)]=new _0x1b4749(this[_0xe6eb89(0x1fd)][_0xe6eb89(0x22c)]),this[_0xe6eb89(0x215)][_0xe6eb89(0x255)](),this[_0xe6eb89(0x215)][_0xe6eb89(0x20d)](this[_0xe6eb89(0x25b)]);}[_0x449d5b(0x23f)](_0x27ecdf){const _0x13ee42=_0x449d5b;this[_0x13ee42(0x206)]=_0x27ecdf;const _0x4fe4f3=this[_0x13ee42(0x1fd)][_0x13ee42(0x209)][_0x13ee42(0x202)](_0x4fcf1b),_0x51d542=this[_0x13ee42(0x25b)];if(_0x4fe4f3[_0x13ee42(0x210)]=_0x27ecdf,this[_0x13ee42(0x233)])throw new _0x4fddeb(_0x13ee42(0x261),this);this[_0x13ee42(0x233)]=!0x0,this[_0x13ee42(0x222)](_0x4fe4f3,_0x13ee42(0x258),()=>{const _0x2d2508=_0x13ee42;this[_0x2d2508(0x22e)](),this[_0x2d2508(0x222)](_0x4fe4f3,_0x2d2508(0x225),_0x585cdc=>{const _0x1a0ee0=_0x2d2508;_0x585cdc[_0x1a0ee0(0x24b)](),this[_0x1a0ee0(0x23f)](_0x27ecdf);});}),_0x4fe4f3[_0x13ee42(0x241)]({'viewClass':_0x13ee42(0x243),'spaceBetweenItems':0x5});const _0x5d9f5f=_0x2ec54a=>{const _0x1c9229=_0x13ee42,_0x5380ac=new _0x1735ae(this[_0x1c9229(0x1fd)][_0x1c9229(0x22c)]);_0x4fe4f3[_0x1c9229(0x240)](_0x2ec54a,_0x5380ac),this[_0x1c9229(0x219)][_0x1c9229(0x20b)](_0x2ec54a,_0x5380ac),_0x5380ac[_0x1c9229(0x1f6)](_0x1c9229(0x264),_0x1c9229(0x24d),_0x1c9229(0x1f5))['to'](_0x2ec54a[_0x1c9229(0x1ef)],_0x1c9229(0x264),_0x1c9229(0x1ff),_0x1c9229(0x1f4)),_0x5380ac['on'](_0x1c9229(0x230),()=>{const _0x2d1bb0=_0x1c9229;this[_0x2d1bb0(0x263)][_0x2d1bb0(0x262)](),_0x51d542[_0x2d1bb0(0x1f9)][_0x2d1bb0(0x251)]!==_0x2ec54a[_0x2d1bb0(0x1ef)]?(this[_0x2d1bb0(0x25c)](_0x2ec54a),_0x2ec54a[_0x2d1bb0(0x1ef)][_0x2d1bb0(0x260)][_0x2d1bb0(0x1fa)](),this[_0x2d1bb0(0x1fe)](_0x2ec54a)):this[_0x2d1bb0(0x1fe)](null);});};for(const _0x529945 of _0x27ecdf)_0x5d9f5f(_0x529945);this[_0x13ee42(0x222)](_0x27ecdf,_0x13ee42(0x20d),(_0x4be4de,_0x11f54f)=>{_0x5d9f5f(_0x11f54f);}),this[_0x13ee42(0x222)](_0x27ecdf,_0x13ee42(0x237),(_0x32accd,_0x1c9a17,_0x5b128e)=>{const _0x2cee28=_0x13ee42;this[_0x2cee28(0x219)][_0x2cee28(0x202)](_0x1c9a17)[_0x2cee28(0x24e)](),this[_0x2cee28(0x219)][_0x2cee28(0x20a)](_0x1c9a17),_0x4fe4f3[_0x2cee28(0x235)]({'removedAnnotation':_0x1c9a17,'previousAnnotation':_0x27ecdf[_0x2cee28(0x202)](_0x5b128e-0x1),'nextAnnotation':_0x27ecdf[_0x2cee28(0x202)](_0x5b128e+0x1)}),_0x1c9a17===this[_0x2cee28(0x257)]&&this[_0x2cee28(0x1fe)](null);},{'priority':_0x13ee42(0x21d)}),this[_0x13ee42(0x222)](_0x27ecdf,_0x13ee42(0x1fa),(_0x45737e,_0x803a83)=>{const _0x35da32=_0x13ee42;this[_0x35da32(0x1fe)](_0x803a83);}),this[_0x13ee42(0x222)](_0x27ecdf,_0x13ee42(0x23c),()=>{const _0x14befa=_0x13ee42;this[_0x14befa(0x1fe)](null);}),this[_0x13ee42(0x214)][_0x13ee42(0x222)](document,_0x13ee42(0x248),(_0x29f72c,_0x5bee44)=>{const _0x4dd2db=_0x13ee42;_0x5bee44[_0x4dd2db(0x203)]===_0x6a1093[_0x4dd2db(0x200)]&&_0x51d542[_0x4dd2db(0x246)]&&(this[_0x4dd2db(0x263)][_0x4dd2db(0x20d)](_0x51d542[_0x4dd2db(0x1f9)][_0x4dd2db(0x251)]),this[_0x4dd2db(0x247)](),_0x5bee44[_0x4dd2db(0x239)](),_0x5bee44[_0x4dd2db(0x269)]());}),this[_0x13ee42(0x214)][_0x13ee42(0x222)](document,_0x13ee42(0x268),(_0x278e2e,_0x3bfb67)=>{const _0x469f28=_0x13ee42,_0xccb1d7=_0x3bfb67[_0x469f28(0x231)];_0x51d542[_0x469f28(0x246)]&&_0x51d542[_0x469f28(0x260)][_0x469f28(0x212)](_0xccb1d7)||_0x4fe4f3[_0x469f28(0x1ef)][_0x469f28(0x260)][_0x469f28(0x212)](_0xccb1d7)||_0x278e2e[_0x469f28(0x224)]||this[_0x469f28(0x257)]&&this[_0x469f28(0x257)][_0x469f28(0x221)][_0x469f28(0x265)](_0x3d1380=>_0x3d1380[_0x469f28(0x212)](_0xccb1d7))||(this[_0x469f28(0x263)][_0x469f28(0x262)](),this[_0x469f28(0x247)](),this[_0x469f28(0x1fe)](null));});const _0x4ec425=this[_0x13ee42(0x1fd)]instanceof _0x3c24f7?this[_0x13ee42(0x1fd)][_0x13ee42(0x21b)]:new _0x372239([this[_0x13ee42(0x1fd)]]);for(const _0xfe0a7a of _0x4ec425)this[_0x13ee42(0x259)](_0xfe0a7a);this[_0x13ee42(0x222)](_0x4ec425,_0x13ee42(0x20d),(_0x7bdee4,_0x46f6b7)=>{const _0x22b1a0=_0x13ee42;this[_0x22b1a0(0x222)](_0x46f6b7,_0x22b1a0(0x1f7),()=>{const _0x35de61=_0x22b1a0;this[_0x35de61(0x259)](_0x46f6b7);});}),this[_0x13ee42(0x222)](_0x4ec425,_0x13ee42(0x237),(_0x2a764f,_0x3d53c5)=>{const _0x56132e=_0x13ee42;_0x3d53c5[_0x56132e(0x209)][_0x56132e(0x23e)](_0x56132e(0x234))&&this[_0x56132e(0x1ee)](_0x3d53c5[_0x56132e(0x209)][_0x56132e(0x202)](_0x56132e(0x234)));}),window[_0x13ee42(0x218)](_0x13ee42(0x226),this[_0x13ee42(0x252)]),this[_0x13ee42(0x254)]();}[_0x449d5b(0x1fe)](_0x3a4881){const _0x4e9145=_0x449d5b;if(_0x3a4881===this[_0x4e9145(0x257)])return;const _0x5edd3b=this[_0x4e9145(0x1fd)][_0x4e9145(0x209)][_0x4e9145(0x202)](_0x4fcf1b);if(_0x5edd3b[_0x4e9145(0x207)]({'blurredAnnotation':this[_0x4e9145(0x257)],'activatedAnnotation':_0x3a4881,'disableAnimationOnActivatedAnnotation':!0x0}),_0x3a4881)_0x5edd3b[_0x4e9145(0x1fb)](_0x3a4881)?this[_0x4e9145(0x25c)](_0x3a4881):this[_0x4e9145(0x247)]();else this[_0x4e9145(0x247)]();this[_0x4e9145(0x257)]=_0x3a4881;}[_0x449d5b(0x22e)](){const _0x13223b=_0x449d5b;if(!this[_0x13223b(0x233)])throw new _0x4fddeb(_0x13223b(0x20c),this);this[_0x13223b(0x1fe)](null);const _0x30d9c4=this[_0x13223b(0x1fd)][_0x13223b(0x209)][_0x13223b(0x202)](_0x4fcf1b);this[_0x13223b(0x247)](),Array[_0x13223b(0x21c)](this[_0x13223b(0x219)][_0x13223b(0x267)](),_0x3e038d=>_0x3e038d[_0x13223b(0x24e)]()),this[_0x13223b(0x219)][_0x13223b(0x262)](),_0x30d9c4[_0x13223b(0x213)](this[_0x13223b(0x206)]),this[_0x13223b(0x1f8)](),this[_0x13223b(0x214)][_0x13223b(0x1f8)](),this[_0x13223b(0x1fd)]instanceof _0x3c24f7&&this[_0x13223b(0x1f8)](this[_0x13223b(0x1fd)][_0x13223b(0x21b)]);for(const _0x447ca8 of Array[_0x13223b(0x21c)](this[_0x13223b(0x22a)]))this[_0x13223b(0x1ee)](_0x447ca8);window[_0x13223b(0x1f3)](_0x13223b(0x226),this[_0x13223b(0x252)]),this[_0x13223b(0x252)][_0x13223b(0x236)](),this[_0x13223b(0x249)]=[],this[_0x13223b(0x233)]=!0x1,this[_0x13223b(0x206)]=null;}[_0x449d5b(0x24e)](){const _0x3711ac=_0x449d5b;this[_0x3711ac(0x233)]&&this[_0x3711ac(0x22e)](),this[_0x3711ac(0x215)][_0x3711ac(0x223)]();}[_0x449d5b(0x259)](_0x5b794f){const _0x3ce531=_0x449d5b;if(!_0x5b794f[_0x3ce531(0x209)][_0x3ce531(0x23e)](_0x3ce531(0x234)))return;const _0x148d54=_0x5b794f[_0x3ce531(0x209)][_0x3ce531(0x202)](_0x3ce531(0x234)),_0x55c208=this[_0x3ce531(0x1fd)][_0x3ce531(0x209)][_0x3ce531(0x202)](_0x4fcf1b),_0x15a4de=this[_0x3ce531(0x206)],_0x21c6b0=this[_0x3ce531(0x25b)],_0x39fc47=()=>{const _0x2ba0c=_0x3ce531,_0x20b458=_0x148d54[_0x2ba0c(0x232)]({'annotations':this[_0x2ba0c(0x206)],'activeAnnotation':this[_0x2ba0c(0x257)]});this[_0x2ba0c(0x216)](_0x20b458),this[_0x2ba0c(0x1fe)](_0x20b458[0x0]||null);};this[_0x3ce531(0x222)](_0x148d54,_0x3ce531(0x207),_0x39fc47),this[_0x3ce531(0x222)](_0x148d54,_0x3ce531(0x23c),(_0x377aca,{isAnnotationTracked:_0x25b9fd})=>{const _0x5cc475=_0x3ce531;this[_0x5cc475(0x257)]&&_0x25b9fd(this[_0x5cc475(0x257)])&&(this[_0x5cc475(0x216)]([]),this[_0x5cc475(0x1fe)](null));}),this[_0x3ce531(0x222)](_0x148d54,_0x3ce531(0x242),()=>{const _0x3f8f52=_0x3ce531;this[_0x3f8f52(0x252)]();}),this[_0x3ce531(0x222)](_0x15a4de,_0x3ce531(0x23c),_0x114818=>{const _0x173f9e=_0x3ce531;_0x148d54[_0x173f9e(0x201)]()&&_0x114818[_0x173f9e(0x238)]();},{'priority':_0x3ce531(0x1f0)}),this[_0x3ce531(0x222)](this[_0x3ce531(0x214)],_0x3ce531(0x268),(_0x11be8b,_0x40080b)=>{const _0x1df331=_0x3ce531,_0xf6f0dc=_0x40080b[_0x1df331(0x231)];_0x21c6b0[_0x1df331(0x246)]&&_0x21c6b0[_0x1df331(0x260)][_0x1df331(0x212)](_0xf6f0dc)||_0x55c208[_0x1df331(0x1ef)][_0x1df331(0x260)][_0x1df331(0x212)](_0xf6f0dc)||this[_0x1df331(0x257)]&&_0x148d54[_0x1df331(0x201)]()&&(_0x39fc47(),_0x11be8b[_0x1df331(0x224)]=!0x0);},{'priority':_0x3ce531(0x1f0)}),this[_0x3ce531(0x22a)][_0x3ce531(0x20d)](_0x148d54);}[_0x449d5b(0x1ee)](_0x3cefbf){const _0x31d55e=_0x449d5b;_0x3cefbf&&(this[_0x31d55e(0x1f8)](_0x3cefbf),this[_0x31d55e(0x22a)][_0x31d55e(0x237)](_0x3cefbf));}[_0x449d5b(0x216)](_0x1bf3d4){const _0x2344ea=_0x449d5b;for(const _0x1d38ed of this[_0x2344ea(0x249)])_0x1bf3d4[_0x2344ea(0x228)](_0x1d38ed)||this[_0x2344ea(0x263)][_0x2344ea(0x20a)](_0x1d38ed[_0x2344ea(0x1ef)]);this[_0x2344ea(0x249)]=_0x1bf3d4;}[_0x449d5b(0x254)](){const _0x448742=_0x449d5b,_0x163167=this[_0x448742(0x25b)];this[_0x448742(0x206)][_0x448742(0x217)](),_0x163167[_0x448742(0x246)]&&this[_0x448742(0x1f2)]();}[_0x449d5b(0x25c)](_0x3543ed){const _0x5d9133=_0x449d5b;if(this[_0x5d9133(0x263)][_0x5d9133(0x23e)](_0x3543ed[_0x5d9133(0x1ef)]))return;const _0x51a1d2=this[_0x5d9133(0x25b)][_0x5d9133(0x1f9)][_0x5d9133(0x251)];_0x51a1d2!==_0x3543ed[_0x5d9133(0x1ef)]?(_0x51a1d2&&this[_0x5d9133(0x266)](_0x51a1d2),this[_0x5d9133(0x22f)](_0x3543ed[_0x5d9133(0x1ef)]),this[_0x5d9133(0x25b)][_0x5d9133(0x1f9)][_0x5d9133(0x262)](),this[_0x5d9133(0x25b)][_0x5d9133(0x1f9)][_0x5d9133(0x20d)](_0x3543ed[_0x5d9133(0x1ef)]),this[_0x5d9133(0x1f2)]()):this[_0x5d9133(0x1f2)]();}[_0x449d5b(0x1f2)](){const _0x5b6602=_0x449d5b,_0x19e251=this[_0x5b6602(0x25b)][_0x5b6602(0x1f9)][_0x5b6602(0x251)],_0x9c991d=_0x19e251&&this[_0x5b6602(0x206)][_0x5b6602(0x23a)](_0x19e251);if(!_0x9c991d||!this[_0x5b6602(0x219)][_0x5b6602(0x23e)](_0x9c991d))return;const _0x4cd389=this[_0x5b6602(0x219)][_0x5b6602(0x202)](_0x9c991d)[_0x5b6602(0x260)],_0x4ae342=(function(){const _0x15f07c=_0x5b6602,_0x4c5620=_0x1b4749[_0x15f07c(0x25d)];return[_0x4c5620[_0x15f07c(0x204)],_0x4c5620[_0x15f07c(0x25e)],_0x4c5620[_0x15f07c(0x208)],_0x4c5620[_0x15f07c(0x245)],_0x4c5620[_0x15f07c(0x25a)],_0x4c5620[_0x15f07c(0x205)]];}());this[_0x5b6602(0x25b)][_0x5b6602(0x24c)]({'target':_0x4cd389,'positions':_0x4ae342});}[_0x449d5b(0x247)](){const _0xe45672=_0x449d5b,_0x206756=this[_0xe45672(0x25b)],_0x4d8cfd=_0x206756[_0xe45672(0x1f9)][_0xe45672(0x251)];_0x4d8cfd&&(this[_0xe45672(0x266)](_0x4d8cfd),_0x206756[_0xe45672(0x23d)](),_0x206756[_0xe45672(0x1f9)][_0xe45672(0x262)]());}[_0x449d5b(0x22f)](_0x50a987){const _0xf48a33=_0x449d5b;this[_0xf48a33(0x222)](_0x50a987,_0xf48a33(0x227),()=>this[_0xf48a33(0x1f2)]()),this[_0xf48a33(0x222)](_0x50a987,_0xf48a33(0x220),(_0x199e09,_0x3ec398)=>{const _0x2dade7=_0xf48a33;this[_0x2dade7(0x263)][_0x2dade7(0x20d)](_0x50a987),this[_0x2dade7(0x247)](),_0x3ec398();});}[_0x449d5b(0x266)](_0x42dbea){const _0xbcf59a=_0x449d5b;this[_0xbcf59a(0x1f8)](_0x42dbea);}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3a7efc=_0x40eb;(function(_0x455f6e,_0x143b2a){const _0x14085a=_0x40eb,_0x49e4f2=_0x455f6e();while(!![]){try{const _0x26ec59=parseInt(_0x14085a(0x1b5))/0x1*(parseInt(_0x14085a(0x1cd))/0x2)+-parseInt(_0x14085a(0x1a7))/0x3+parseInt(_0x14085a(0x189))/0x4+-parseInt(_0x14085a(0x183))/0x5+parseInt(_0x14085a(0x17c))/0x6+-parseInt(_0x14085a(0x1af))/0x7+parseInt(_0x14085a(0x1cf))/0x8;if(_0x26ec59===_0x143b2a)break;else _0x49e4f2['push'](_0x49e4f2['shift']());}catch(_0x163245){_0x49e4f2['push'](_0x49e4f2['shift']());}}}(_0x228c,0x6f76e));import{ContextPlugin as _0x5053f8}from'ckeditor5/src/core.js';function _0x40eb(_0x5070dc,_0x10f22a){const _0x228cb3=_0x228c();return _0x40eb=function(_0x40eb50,_0x131945){_0x40eb50=_0x40eb50-0x17c;let _0x27e415=_0x228cb3[_0x40eb50];return _0x27e415;},_0x40eb(_0x5070dc,_0x10f22a);}import{Rect as _0xd98b4d,CKEditorError as _0x8c1cb}from'ckeditor5/src/utils.js';import _0x4687fc from'./view/sidebarview.js';import _0x81030a from'./view/sidebaritemview.js';export default class z extends _0x5053f8{static get[_0x3a7efc(0x1b8)](){const _0x3d3fc8=_0x3a7efc;return _0x3d3fc8(0x186);}static get[_0x3a7efc(0x1cb)](){return!0x0;}static get[_0x3a7efc(0x1b6)](){return!0x0;}constructor(_0x46ff0d){const _0x109d89=_0x3a7efc;super(_0x46ff0d),this[_0x109d89(0x1a2)](_0x109d89(0x18d),void 0x0),this[_0x109d89(0x1bc)]=this[_0x109d89(0x1c8)](),this[_0x109d89(0x1a2)](_0x109d89(0x1c2),null),this[_0x109d89(0x188)]=0x19,this[_0x109d89(0x1c9)]=new Map(),this[_0x109d89(0x180)]=new Map(),this[_0x109d89(0x1ba)][_0x109d89(0x1b9)][_0x109d89(0x1a5)](_0x109d89(0x181),!0x1),this[_0x109d89(0x1c5)]=null,this[_0x109d89(0x18f)]=null,this[_0x109d89(0x1a4)]=[];}[_0x3a7efc(0x1bb)](){const _0x3b487f=_0x3a7efc,_0x3090ff=this[_0x3b487f(0x1ba)][_0x3b487f(0x1b9)][_0x3b487f(0x1c4)](_0x3b487f(0x1b2));_0x3090ff&&this[_0x3b487f(0x1bd)](_0x3090ff);}[_0x3a7efc(0x1bd)](_0x53f561){const _0xaf55f1=_0x3a7efc;if(!y(_0x53f561))throw new _0x8c1cb(_0xaf55f1(0x19f));this[_0xaf55f1(0x1c2)]=_0x53f561;}[_0x3a7efc(0x1ac)]({viewClass:_0x3adc79='',spaceBetweenItems:_0x532e24=0x19}={}){const _0x2af552=_0x3a7efc;if(!y(this[_0x2af552(0x1c2)]))throw new _0x8c1cb(_0x2af552(0x1d1),this);this[_0x2af552(0x1c2)][_0x2af552(0x19c)](this[_0x2af552(0x1bc)][_0x2af552(0x18e)]),this[_0x2af552(0x1bc)][_0x2af552(0x1a6)]=_0x3adc79,this[_0x2af552(0x188)]=_0x532e24;}[_0x3a7efc(0x1d2)]({removedAnnotation:_0x4894b2,previousAnnotation:_0x5e8a42,nextAnnotation:_0x52737e}){const _0x31876a=_0x3a7efc,_0x50443d=this[_0x31876a(0x1b7)](_0x4894b2);this[_0x31876a(0x1bc)][_0x31876a(0x1cc)][_0x31876a(0x1d3)](_0x50443d),this[_0x31876a(0x1be)](_0x4894b2),_0x5e8a42&&this[_0x31876a(0x1b4)](this[_0x31876a(0x1b7)](_0x5e8a42)),_0x52737e&&this[_0x31876a(0x1b4)](this[_0x31876a(0x1b7)](_0x52737e)),this[_0x31876a(0x1a0)]();}[_0x3a7efc(0x190)]({blurredAnnotation:_0x481987,activatedAnnotation:_0x367545,disableAnimationOnActivatedAnnotation:_0x8eb19d}){const _0x1501c4=_0x3a7efc;if(this[_0x1501c4(0x18f)]=_0x367545,_0x481987){_0x481987[_0x1501c4(0x1a8)]=!0x1;const _0xa3b1a5=this[_0x1501c4(0x1b7)](_0x481987);_0xa3b1a5&&_0x8eb19d&&(_0xa3b1a5[_0x1501c4(0x1a9)]=!0x1);}if(_0x367545){const _0x371297=this[_0x1501c4(0x1b7)](_0x367545);_0x371297&&(_0x367545[_0x1501c4(0x1a8)]=!0x0,_0x8eb19d&&(_0x371297[_0x1501c4(0x1a9)]=!0x0,_0x371297[_0x1501c4(0x1a1)]+=0x1),this[_0x1501c4(0x1b4)](_0x371297));}}[_0x3a7efc(0x1d4)](_0x38e4d3){const _0x4844a8=_0x3a7efc;if(this[_0x4844a8(0x1bc)][_0x4844a8(0x18e)][_0x4844a8(0x1d3)](),_0x38e4d3){for(const _0x14823e of _0x38e4d3)this[_0x4844a8(0x1be)](_0x14823e);}this[_0x4844a8(0x1bc)][_0x4844a8(0x1cc)][_0x4844a8(0x1ca)](),this[_0x4844a8(0x1bc)][_0x4844a8(0x1a6)]='',this[_0x4844a8(0x18d)]=null;}[_0x3a7efc(0x193)](_0x59ba63,_0x14acf2){const _0x39ada4=_0x3a7efc;_0x14acf2||(_0x14acf2=_0x59ba63[_0x39ada4(0x1bc)]);const _0x172e48=new _0x81030a(this[_0x39ada4(0x1ba)][_0x39ada4(0x1ab)]);this[_0x39ada4(0x1c9)][_0x39ada4(0x1a2)](_0x172e48,_0x59ba63),this[_0x39ada4(0x180)][_0x39ada4(0x1a2)](_0x59ba63,_0x172e48),_0x172e48[_0x39ada4(0x1c3)][_0x39ada4(0x1bf)](_0x14acf2),this[_0x39ada4(0x182)](_0x59ba63[_0x39ada4(0x1bc)],_0x39ada4(0x1aa),(_0x2872cc,_0x1ef07a,_0x55b9e8)=>{const _0x42d08c=_0x39ada4,_0x50b7e6=this[_0x42d08c(0x19d)](_0x59ba63,_0x55b9e8);_0x172e48[_0x42d08c(0x1ce)]!=_0x50b7e6&&(_0x172e48[_0x42d08c(0x1ce)]=_0x50b7e6,this[_0x42d08c(0x185)](_0x172e48,_0x50b7e6));}),this[_0x39ada4(0x182)](_0x172e48,_0x39ada4(0x18c),()=>{const _0x10bba5=_0x39ada4;this[_0x10bba5(0x197)](_0x172e48,_0x10bba5(0x1a1));}),this[_0x39ada4(0x182)](_0x172e48,_0x39ada4(0x184),()=>{const _0x4025d5=_0x39ada4;this[_0x4025d5(0x197)](_0x172e48,_0x4025d5(0x1b1));}),this[_0x39ada4(0x1b4)](_0x172e48);const _0x1c75b1=this[_0x39ada4(0x18a)](_0x172e48);if(_0x1c75b1)this[_0x39ada4(0x196)](_0x1c75b1,_0x172e48)||this[_0x39ada4(0x1b4)](_0x172e48);else this[_0x39ada4(0x1b4)](_0x172e48);return this[_0x39ada4(0x1a0)](),this[_0x39ada4(0x1bc)][_0x39ada4(0x1cc)][_0x39ada4(0x1bf)](_0x172e48),_0x172e48;}[_0x3a7efc(0x19e)](_0x1d0199){const _0x545ecf=_0x3a7efc;if(!_0x1d0199[_0x545ecf(0x1c3)][_0x545ecf(0x192)])return;const _0x42ffe0=this[_0x545ecf(0x18a)](_0x1d0199);if(!_0x42ffe0)return;const _0x321dd3=this[_0x545ecf(0x1c9)][_0x545ecf(0x1c4)](_0x42ffe0),_0x1a2ec2=this[_0x545ecf(0x18f)];_0x1a2ec2&&_0x1a2ec2===_0x321dd3?this[_0x545ecf(0x196)](_0x42ffe0,_0x1d0199):this[_0x545ecf(0x1ad)](_0x1d0199,_0x42ffe0);}[_0x3a7efc(0x1c7)](_0x4ba085){const _0x45dace=_0x3a7efc;if(!_0x4ba085[_0x45dace(0x1c3)][_0x45dace(0x192)])return;const _0x7f816e=this[_0x45dace(0x1c1)](_0x4ba085);if(!_0x7f816e)return;const _0x22417f=this[_0x45dace(0x1c9)][_0x45dace(0x1c4)](_0x7f816e),_0x2c8282=this[_0x45dace(0x1ba)][_0x45dace(0x1b9)][_0x45dace(0x1c4)](_0x45dace(0x181)),_0x1a4090=this[_0x45dace(0x18f)];_0x1a4090&&_0x1a4090===_0x22417f&&_0x2c8282?(this[_0x45dace(0x1ad)](_0x7f816e,_0x4ba085),this[_0x45dace(0x196)](_0x4ba085,_0x7f816e)):_0x1a4090&&_0x1a4090===_0x22417f?this[_0x45dace(0x1ad)](_0x7f816e,_0x4ba085):this[_0x45dace(0x196)](_0x4ba085,_0x7f816e);}[_0x3a7efc(0x197)](_0x508feb,_0x284d44){const _0x507488=_0x3a7efc;0x0===this[_0x507488(0x1a4)][_0x507488(0x192)]&&setTimeout(()=>{const _0x36d128=_0x507488;for(const {sidebarItemView:_0x45d648,changedProp:_0x485e4b}of this[_0x36d128(0x1a4)])_0x36d128(0x1a1)===_0x485e4b?this[_0x36d128(0x19e)](_0x45d648):this[_0x36d128(0x1c7)](_0x45d648);this[_0x36d128(0x1a4)]=[];},0xa),this[_0x507488(0x1a4)][_0x507488(0x187)]({'sidebarItemView':_0x508feb,'changedProp':_0x284d44});}[_0x3a7efc(0x1b7)](_0x400fd4){const _0x1493f1=_0x3a7efc;return this[_0x1493f1(0x180)][_0x1493f1(0x1c4)](_0x400fd4);}[_0x3a7efc(0x18b)](){const _0x1503a6=_0x3a7efc;this[_0x1503a6(0x17e)](),this[_0x1503a6(0x1bc)][_0x1503a6(0x18b)]();}[_0x3a7efc(0x1be)](_0x55ca08){const _0xf9d973=_0x3a7efc,_0x4bdff8=this[_0xf9d973(0x1b7)](_0x55ca08);this[_0xf9d973(0x17e)](_0x4bdff8),this[_0xf9d973(0x17e)](_0x55ca08[_0xf9d973(0x1bc)]),_0x4bdff8[_0xf9d973(0x18b)](),this[_0xf9d973(0x180)][_0xf9d973(0x191)](_0x55ca08),this[_0xf9d973(0x1c9)][_0xf9d973(0x191)](_0x4bdff8);}[_0x3a7efc(0x1c8)](){const _0x3aaaf8=_0x3a7efc,_0x37c9db=new _0x4687fc(this[_0x3aaaf8(0x1ba)][_0x3aaaf8(0x1ab)]);return _0x37c9db[_0x3aaaf8(0x1ae)](),this['on'](_0x3aaaf8(0x19a),(_0x57eac0,_0x10eace,_0x3ac18b,_0x45330b)=>{const _0x5d2633=_0x3aaaf8;_0x45330b&&_0x37c9db[_0x5d2633(0x194)](_0x5d2633(0x195)),_0x3ac18b?_0x37c9db[_0x5d2633(0x1c6)](_0x5d2633(0x195))['to'](_0x3ac18b,_0x5d2633(0x1b1)):_0x37c9db[_0x5d2633(0x195)]=null;}),_0x37c9db;}[_0x3a7efc(0x1a0)](){const _0x5d33fe=_0x3a7efc;var _0x5bc1bb;this[_0x5d33fe(0x18d)]=(null===(_0x5bc1bb=this[_0x5d33fe(0x1c5)])||void 0x0===_0x5bc1bb?void 0x0:_0x5bc1bb[_0x5d33fe(0x199)])?this[_0x5d33fe(0x1b7)](this[_0x5d33fe(0x1c5)][_0x5d33fe(0x199)]):null;}[_0x3a7efc(0x18a)](_0x405fd3){const _0x4adae5=_0x3a7efc;var _0x42ea0c;const _0x4bcb57=this[_0x4adae5(0x1c9)][_0x4adae5(0x1c4)](_0x405fd3),_0x49d5fc=_0x4bcb57&&(null===(_0x42ea0c=this[_0x4adae5(0x1c5)])||void 0x0===_0x42ea0c?void 0x0:_0x42ea0c[_0x4adae5(0x1c4)](this[_0x4adae5(0x1c5)][_0x4adae5(0x17f)](_0x4bcb57)-0x1));return _0x49d5fc&&this[_0x4adae5(0x1b7)](_0x49d5fc)||null;}[_0x3a7efc(0x1c1)](_0x33e887){const _0x12e547=_0x3a7efc;var _0x3aae80;const _0x55d25c=this[_0x12e547(0x1c9)][_0x12e547(0x1c4)](_0x33e887),_0x1702cc=_0x55d25c&&(null===(_0x3aae80=this[_0x12e547(0x1c5)])||void 0x0===_0x3aae80?void 0x0:_0x3aae80[_0x12e547(0x1c4)](this[_0x12e547(0x1c5)][_0x12e547(0x17f)](_0x55d25c)+0x1));return _0x1702cc&&this[_0x12e547(0x1b7)](_0x1702cc)||null;}[_0x3a7efc(0x1ad)](_0xe61cf,_0x204d9b){const _0x36c97d=_0x3a7efc;_0xe61cf[_0x36c97d(0x17d)]();const _0x470429=R(_0x204d9b[_0x36c97d(0x1b1)]+this[_0x36c97d(0x188)],_0xe61cf[_0x36c97d(0x1a1)]);return!!_0x470429&&(this[_0x36c97d(0x185)](_0x204d9b,_0x204d9b[_0x36c97d(0x1a1)]-_0x470429),!0x0);}[_0x3a7efc(0x196)](_0x16d574,_0x526057){const _0x4d3a9a=_0x3a7efc;_0x16d574[_0x4d3a9a(0x17d)]();const _0x8433df=R(_0x16d574[_0x4d3a9a(0x1b1)]+this[_0x4d3a9a(0x188)],_0x526057[_0x4d3a9a(0x1a1)]);return!!_0x8433df&&(this[_0x4d3a9a(0x185)](_0x526057,_0x526057[_0x4d3a9a(0x1a1)]+_0x8433df,!0x1),!0x0);}[_0x3a7efc(0x1b4)](_0x2cb0cc){const _0x54f9a9=_0x3a7efc,_0x4add2c=this[_0x54f9a9(0x1c9)][_0x54f9a9(0x1c4)](_0x2cb0cc);if(!_0x4add2c||!_0x4add2c[_0x54f9a9(0x19b)]||!_0x4add2c[_0x54f9a9(0x1a3)])return;const _0x29e4e9=this[_0x54f9a9(0x19d)](_0x4add2c,_0x4add2c[_0x54f9a9(0x1a3)]);this[_0x54f9a9(0x185)](_0x2cb0cc,_0x29e4e9);}[_0x3a7efc(0x19d)](_0x14ca0d,_0x483d81){const _0x4d8579=_0x3a7efc;if(null===_0x483d81)return 0x0;if(_0x14ca0d[_0x4d8579(0x19b)]instanceof _0xd98b4d)return _0x483d81[_0x4d8579(0x1a1)];{const _0x1173cf=new _0xd98b4d(this[_0x4d8579(0x1bc)][_0x4d8579(0x18e)])[_0x4d8579(0x1a1)];return _0x483d81[_0x4d8579(0x1a1)]-_0x1173cf;}}[_0x3a7efc(0x185)](_0x3e469b,_0x1b6917,_0x2af064=this[_0x3a7efc(0x1ba)][_0x3a7efc(0x1b9)][_0x3a7efc(0x1c4)](_0x3a7efc(0x181))){const _0x5d6dec=_0x3a7efc;_0x2af064&&(_0x1b6917=Math[_0x5d6dec(0x1b3)](_0x1b6917,this[_0x5d6dec(0x1b0)](_0x3e469b))),_0x3e469b[_0x5d6dec(0x1a1)]=_0x1b6917;}[_0x3a7efc(0x1b0)](_0x3b6ecb){const _0x5f4609=_0x3a7efc;let _0x2ec2a9=this[_0x5f4609(0x18a)](_0x3b6ecb),_0x4caa9e=0x0;for(;_0x2ec2a9;)_0x2ec2a9[_0x5f4609(0x17d)](),_0x4caa9e+=this[_0x5f4609(0x188)]+_0x2ec2a9[_0x5f4609(0x198)],_0x2ec2a9=this[_0x5f4609(0x18a)](_0x2ec2a9);return _0x4caa9e;}}function R(_0x4edc52,_0x213c7f){const _0x31178a=_0x3a7efc;return Math[_0x31178a(0x1b3)](_0x4edc52-_0x213c7f,0x0);}function y(_0x5080da){const _0x2ea03f=_0x3a7efc;return null!==_0x5080da&&_0x2ea03f(0x1d0)==typeof _0x5080da&&0x1===_0x5080da[_0x2ea03f(0x1c0)];}function _0x228c(){const _0x448782=['_sidebarItemViewToAnnotation','clear','isOfficialPlugin','list','2lRwycS','_targetTop','7239120YhfMJc','object','sidebar-attachtocontainer-missing-container','rearrange','remove','_detachFromContainer','300780xfjohP','updateHeight','stopListening','getIndex','_annotationToSidebarItemView','sidebar.preventScrollOutOfView','listenTo','3502615zKeEVm','change:bottom','_setItemTop','Sidebar','push','_spaceBetweenItems','3001236ZXttvj','_getItemBefore','destroy','change:top','_lastItem','element','_activeAnnotation','refresh','delete','length','addAnnotation','unbind','minHeight','_alignAfterItem','_recalculate','height','last','change:_lastItem','target','appendChild','_getTargetTop','_alignForTopChange','sidebar-setcontainer-invalid-element','_updateLastItem','top','set','targetRect','_recalculateBuffer','define','class','1240689xaszlo','isActive','isAnimationDisabled','change:targetRect','locale','_attachToContainer','_alignBeforeItem','render','1644041FASkQL','_getMaxAvailableTop','bottom','sidebar.container','max','_alignToTargetRect','100178kxzmuT','isPremiumPlugin','getSidebarItemView','pluginName','config','context','init','view','setContainer','_destroySidebarItemView','add','nodeType','_getItemAfter','container','content','get','_annotations','bind','_alignForBottomChange','_createSidebarView'];_0x228c=function(){return _0x448782;};return _0x228c();}
|
|
23
|
+
const _0x317dc7=_0x4c2a;(function(_0x621522,_0x19bfdb){const _0x2b9522=_0x4c2a,_0x2e503b=_0x621522();while(!![]){try{const _0x35b3ea=-parseInt(_0x2b9522(0x19c))/0x1+-parseInt(_0x2b9522(0x156))/0x2+parseInt(_0x2b9522(0x1a6))/0x3*(-parseInt(_0x2b9522(0x19a))/0x4)+-parseInt(_0x2b9522(0x190))/0x5*(parseInt(_0x2b9522(0x18b))/0x6)+-parseInt(_0x2b9522(0x16a))/0x7+parseInt(_0x2b9522(0x179))/0x8+parseInt(_0x2b9522(0x19e))/0x9;if(_0x35b3ea===_0x19bfdb)break;else _0x2e503b['push'](_0x2e503b['shift']());}catch(_0x5d849e){_0x2e503b['push'](_0x2e503b['shift']());}}}(_0x506f,0xb554e));import{ContextPlugin as _0x3f3a34}from'ckeditor5/src/core.js';import{Rect as _0x4e5903,CKEditorError as _0x22630e}from'ckeditor5/src/utils.js';import _0x419bf6 from'./view/sidebarview.js';function _0x506f(){const _0x41e310=['_targetTop','render','isActive','listenTo','5720561PWnAUc','getSidebarItemView','destroy','Sidebar','nodeType','sidebar-attachtocontainer-missing-container','_alignAfterItem','_destroySidebarItemView','target','isOfficialPlugin','set','_getItemAfter','_recalculateBuffer','context','_activeAnnotation','8950208IuKotN','sidebar-setcontainer-invalid-element','_createSidebarView','unbind','change:top','pluginName','remove','isAnimationDisabled','length','clear','get','refresh','setContainer','_annotations','sidebar.container','_getTargetTop','content','view','6WgJdgU','appendChild','_alignForBottomChange','addAnnotation','_getItemBefore','2105465UbeNnu','change:targetRect','getIndex','bind','_recalculate','_annotationToSidebarItemView','minHeight','height','change:bottom','bottom','8fRGJqE','define','1184658EIdzIT','delete','23060412fXokau','_alignForTopChange','init','element','add','_getMaxAvailableTop','class','push','195150lTvjoF','targetRect','_alignBeforeItem','stopListening','updateHeight','last','_alignToTargetRect','_spaceBetweenItems','object','_lastItem','770472iBkMvl','isPremiumPlugin','_attachToContainer','_updateLastItem','change:_lastItem','list','sidebar.preventScrollOutOfView','config','top','container','rearrange','locale','_sidebarItemViewToAnnotation','_setItemTop','_detachFromContainer','max'];_0x506f=function(){return _0x41e310;};return _0x506f();}import _0x2a9add from'./view/sidebaritemview.js';export default class z extends _0x3f3a34{static get[_0x317dc7(0x17e)](){const _0x57230e=_0x317dc7;return _0x57230e(0x16d);}static get[_0x317dc7(0x173)](){return!0x0;}static get[_0x317dc7(0x157)](){return!0x0;}constructor(_0x4f5d6f){const _0x41b54a=_0x317dc7;super(_0x4f5d6f),this[_0x41b54a(0x174)](_0x41b54a(0x155),void 0x0),this[_0x41b54a(0x18a)]=this[_0x41b54a(0x17b)](),this[_0x41b54a(0x174)](_0x41b54a(0x15f),null),this[_0x41b54a(0x1ad)]=0x19,this[_0x41b54a(0x162)]=new Map(),this[_0x41b54a(0x195)]=new Map(),this[_0x41b54a(0x177)][_0x41b54a(0x15d)][_0x41b54a(0x19b)](_0x41b54a(0x15c),!0x1),this[_0x41b54a(0x186)]=null,this[_0x41b54a(0x178)]=null,this[_0x41b54a(0x176)]=[];}[_0x317dc7(0x1a0)](){const _0x31d0f4=_0x317dc7,_0x2a69ed=this[_0x31d0f4(0x177)][_0x31d0f4(0x15d)][_0x31d0f4(0x183)](_0x31d0f4(0x187));_0x2a69ed&&this[_0x31d0f4(0x185)](_0x2a69ed);}[_0x317dc7(0x185)](_0x5c021c){const _0x3ce4d2=_0x317dc7;if(!y(_0x5c021c))throw new _0x22630e(_0x3ce4d2(0x17a));this[_0x3ce4d2(0x15f)]=_0x5c021c;}[_0x317dc7(0x158)]({viewClass:_0x1bdb2d='',spaceBetweenItems:_0x112be6=0x19}={}){const _0x508763=_0x317dc7;if(!y(this[_0x508763(0x15f)]))throw new _0x22630e(_0x508763(0x16f),this);this[_0x508763(0x15f)][_0x508763(0x18c)](this[_0x508763(0x18a)][_0x508763(0x1a1)]),this[_0x508763(0x18a)][_0x508763(0x1a4)]=_0x1bdb2d,this[_0x508763(0x1ad)]=_0x112be6;}[_0x317dc7(0x160)]({removedAnnotation:_0x4817aa,previousAnnotation:_0x45fa3b,nextAnnotation:_0x5038b0}){const _0x113a6b=_0x317dc7,_0x1f3456=this[_0x113a6b(0x16b)](_0x4817aa);this[_0x113a6b(0x18a)][_0x113a6b(0x15b)][_0x113a6b(0x17f)](_0x1f3456),this[_0x113a6b(0x171)](_0x4817aa),_0x45fa3b&&this[_0x113a6b(0x1ac)](this[_0x113a6b(0x16b)](_0x45fa3b)),_0x5038b0&&this[_0x113a6b(0x1ac)](this[_0x113a6b(0x16b)](_0x5038b0)),this[_0x113a6b(0x159)]();}[_0x317dc7(0x184)]({blurredAnnotation:_0x2404c9,activatedAnnotation:_0x3d7749,disableAnimationOnActivatedAnnotation:_0x4843d8}){const _0x5871ce=_0x317dc7;if(this[_0x5871ce(0x178)]=_0x3d7749,_0x2404c9){_0x2404c9[_0x5871ce(0x168)]=!0x1;const _0x214786=this[_0x5871ce(0x16b)](_0x2404c9);_0x214786&&_0x4843d8&&(_0x214786[_0x5871ce(0x180)]=!0x1);}if(_0x3d7749){const _0x17bf4e=this[_0x5871ce(0x16b)](_0x3d7749);_0x17bf4e&&(_0x3d7749[_0x5871ce(0x168)]=!0x0,_0x4843d8&&(_0x17bf4e[_0x5871ce(0x180)]=!0x0,_0x17bf4e[_0x5871ce(0x15e)]+=0x1),this[_0x5871ce(0x1ac)](_0x17bf4e));}}[_0x317dc7(0x164)](_0x44faa8){const _0x46afaa=_0x317dc7;if(this[_0x46afaa(0x18a)][_0x46afaa(0x1a1)][_0x46afaa(0x17f)](),_0x44faa8){for(const _0x3bd9cf of _0x44faa8)this[_0x46afaa(0x171)](_0x3bd9cf);}this[_0x46afaa(0x18a)][_0x46afaa(0x15b)][_0x46afaa(0x182)](),this[_0x46afaa(0x18a)][_0x46afaa(0x1a4)]='',this[_0x46afaa(0x155)]=null;}[_0x317dc7(0x18e)](_0x5a06d8,_0x4e3adc){const _0x2e35f6=_0x317dc7;_0x4e3adc||(_0x4e3adc=_0x5a06d8[_0x2e35f6(0x18a)]);const _0x362172=new _0x2a9add(this[_0x2e35f6(0x177)][_0x2e35f6(0x161)]);this[_0x2e35f6(0x162)][_0x2e35f6(0x174)](_0x362172,_0x5a06d8),this[_0x2e35f6(0x195)][_0x2e35f6(0x174)](_0x5a06d8,_0x362172),_0x362172[_0x2e35f6(0x189)][_0x2e35f6(0x1a2)](_0x4e3adc),this[_0x2e35f6(0x169)](_0x5a06d8[_0x2e35f6(0x18a)],_0x2e35f6(0x191),(_0x84fd89,_0x3955b7,_0x1984a7)=>{const _0x31fc44=_0x2e35f6,_0xb32cea=this[_0x31fc44(0x188)](_0x5a06d8,_0x1984a7);_0x362172[_0x31fc44(0x166)]!=_0xb32cea&&(_0x362172[_0x31fc44(0x166)]=_0xb32cea,this[_0x31fc44(0x163)](_0x362172,_0xb32cea));}),this[_0x2e35f6(0x169)](_0x362172,_0x2e35f6(0x17d),()=>{const _0x256dee=_0x2e35f6;this[_0x256dee(0x194)](_0x362172,_0x256dee(0x15e));}),this[_0x2e35f6(0x169)](_0x362172,_0x2e35f6(0x198),()=>{const _0x4bab6=_0x2e35f6;this[_0x4bab6(0x194)](_0x362172,_0x4bab6(0x199));}),this[_0x2e35f6(0x1ac)](_0x362172);const _0x1efe39=this[_0x2e35f6(0x18f)](_0x362172);if(_0x1efe39)this[_0x2e35f6(0x170)](_0x1efe39,_0x362172)||this[_0x2e35f6(0x1ac)](_0x362172);else this[_0x2e35f6(0x1ac)](_0x362172);return this[_0x2e35f6(0x159)](),this[_0x2e35f6(0x18a)][_0x2e35f6(0x15b)][_0x2e35f6(0x1a2)](_0x362172),_0x362172;}[_0x317dc7(0x19f)](_0x5a1013){const _0x28ae09=_0x317dc7;if(!_0x5a1013[_0x28ae09(0x189)][_0x28ae09(0x181)])return;const _0x5792a7=this[_0x28ae09(0x18f)](_0x5a1013);if(!_0x5792a7)return;const _0x4ccf43=this[_0x28ae09(0x162)][_0x28ae09(0x183)](_0x5792a7),_0x20a5d6=this[_0x28ae09(0x178)];_0x20a5d6&&_0x20a5d6===_0x4ccf43?this[_0x28ae09(0x170)](_0x5792a7,_0x5a1013):this[_0x28ae09(0x1a8)](_0x5a1013,_0x5792a7);}[_0x317dc7(0x18d)](_0xbb2df5){const _0x526d74=_0x317dc7;if(!_0xbb2df5[_0x526d74(0x189)][_0x526d74(0x181)])return;const _0x59bed6=this[_0x526d74(0x175)](_0xbb2df5);if(!_0x59bed6)return;const _0x348e21=this[_0x526d74(0x162)][_0x526d74(0x183)](_0x59bed6),_0x904ecc=this[_0x526d74(0x177)][_0x526d74(0x15d)][_0x526d74(0x183)](_0x526d74(0x15c)),_0x36b5f9=this[_0x526d74(0x178)];_0x36b5f9&&_0x36b5f9===_0x348e21&&_0x904ecc?(this[_0x526d74(0x1a8)](_0x59bed6,_0xbb2df5),this[_0x526d74(0x170)](_0xbb2df5,_0x59bed6)):_0x36b5f9&&_0x36b5f9===_0x348e21?this[_0x526d74(0x1a8)](_0x59bed6,_0xbb2df5):this[_0x526d74(0x170)](_0xbb2df5,_0x59bed6);}[_0x317dc7(0x194)](_0x4bf90b,_0x2fa03f){const _0x70e490=_0x317dc7;0x0===this[_0x70e490(0x176)][_0x70e490(0x181)]&&setTimeout(()=>{const _0x4dddf7=_0x70e490;for(const {sidebarItemView:_0x286fb6,changedProp:_0x5b344e}of this[_0x4dddf7(0x176)])_0x4dddf7(0x15e)===_0x5b344e?this[_0x4dddf7(0x19f)](_0x286fb6):this[_0x4dddf7(0x18d)](_0x286fb6);this[_0x4dddf7(0x176)]=[];},0xa),this[_0x70e490(0x176)][_0x70e490(0x1a5)]({'sidebarItemView':_0x4bf90b,'changedProp':_0x2fa03f});}[_0x317dc7(0x16b)](_0x40ecb0){const _0x2e9e53=_0x317dc7;return this[_0x2e9e53(0x195)][_0x2e9e53(0x183)](_0x40ecb0);}[_0x317dc7(0x16c)](){const _0x4ae3fc=_0x317dc7;this[_0x4ae3fc(0x1a9)](),this[_0x4ae3fc(0x18a)][_0x4ae3fc(0x16c)]();}[_0x317dc7(0x171)](_0x54852f){const _0x51e036=_0x317dc7,_0x4484fb=this[_0x51e036(0x16b)](_0x54852f);this[_0x51e036(0x1a9)](_0x4484fb),this[_0x51e036(0x1a9)](_0x54852f[_0x51e036(0x18a)]),_0x4484fb[_0x51e036(0x16c)](),this[_0x51e036(0x195)][_0x51e036(0x19d)](_0x54852f),this[_0x51e036(0x162)][_0x51e036(0x19d)](_0x4484fb);}[_0x317dc7(0x17b)](){const _0x27d818=_0x317dc7,_0x1bc6d8=new _0x419bf6(this[_0x27d818(0x177)][_0x27d818(0x161)]);return _0x1bc6d8[_0x27d818(0x167)](),this['on'](_0x27d818(0x15a),(_0x22796d,_0x2091ce,_0x23ee87,_0xabeade)=>{const _0x3ce6cc=_0x27d818;_0xabeade&&_0x1bc6d8[_0x3ce6cc(0x17c)](_0x3ce6cc(0x196)),_0x23ee87?_0x1bc6d8[_0x3ce6cc(0x193)](_0x3ce6cc(0x196))['to'](_0x23ee87,_0x3ce6cc(0x199)):_0x1bc6d8[_0x3ce6cc(0x196)]=null;}),_0x1bc6d8;}[_0x317dc7(0x159)](){const _0x25219a=_0x317dc7;var _0x4e0899;this[_0x25219a(0x155)]=(null===(_0x4e0899=this[_0x25219a(0x186)])||void 0x0===_0x4e0899?void 0x0:_0x4e0899[_0x25219a(0x1ab)])?this[_0x25219a(0x16b)](this[_0x25219a(0x186)][_0x25219a(0x1ab)]):null;}[_0x317dc7(0x18f)](_0x4e2ce9){const _0x4e4f50=_0x317dc7;var _0x594afe;const _0xd8b60f=this[_0x4e4f50(0x162)][_0x4e4f50(0x183)](_0x4e2ce9),_0x1353f4=_0xd8b60f&&(null===(_0x594afe=this[_0x4e4f50(0x186)])||void 0x0===_0x594afe?void 0x0:_0x594afe[_0x4e4f50(0x183)](this[_0x4e4f50(0x186)][_0x4e4f50(0x192)](_0xd8b60f)-0x1));return _0x1353f4&&this[_0x4e4f50(0x16b)](_0x1353f4)||null;}[_0x317dc7(0x175)](_0x549df0){const _0x50b8a2=_0x317dc7;var _0x425fb3;const _0x149381=this[_0x50b8a2(0x162)][_0x50b8a2(0x183)](_0x549df0),_0x457030=_0x149381&&(null===(_0x425fb3=this[_0x50b8a2(0x186)])||void 0x0===_0x425fb3?void 0x0:_0x425fb3[_0x50b8a2(0x183)](this[_0x50b8a2(0x186)][_0x50b8a2(0x192)](_0x149381)+0x1));return _0x457030&&this[_0x50b8a2(0x16b)](_0x457030)||null;}[_0x317dc7(0x1a8)](_0x20341c,_0x38f0fc){const _0x10e703=_0x317dc7;_0x20341c[_0x10e703(0x1aa)]();const _0x77231f=R(_0x38f0fc[_0x10e703(0x199)]+this[_0x10e703(0x1ad)],_0x20341c[_0x10e703(0x15e)]);return!!_0x77231f&&(this[_0x10e703(0x163)](_0x38f0fc,_0x38f0fc[_0x10e703(0x15e)]-_0x77231f),!0x0);}[_0x317dc7(0x170)](_0x33facd,_0x2abf07){const _0x4ca72c=_0x317dc7;_0x33facd[_0x4ca72c(0x1aa)]();const _0x22d87f=R(_0x33facd[_0x4ca72c(0x199)]+this[_0x4ca72c(0x1ad)],_0x2abf07[_0x4ca72c(0x15e)]);return!!_0x22d87f&&(this[_0x4ca72c(0x163)](_0x2abf07,_0x2abf07[_0x4ca72c(0x15e)]+_0x22d87f,!0x1),!0x0);}[_0x317dc7(0x1ac)](_0x3dc9eb){const _0x371380=_0x317dc7,_0x556505=this[_0x371380(0x162)][_0x371380(0x183)](_0x3dc9eb);if(!_0x556505||!_0x556505[_0x371380(0x172)]||!_0x556505[_0x371380(0x1a7)])return;const _0x419b75=this[_0x371380(0x188)](_0x556505,_0x556505[_0x371380(0x1a7)]);this[_0x371380(0x163)](_0x3dc9eb,_0x419b75);}[_0x317dc7(0x188)](_0x2ec965,_0x335faf){const _0x1e5aa6=_0x317dc7;if(null===_0x335faf)return 0x0;if(_0x2ec965[_0x1e5aa6(0x172)]instanceof _0x4e5903)return _0x335faf[_0x1e5aa6(0x15e)];{const _0xb4ad51=new _0x4e5903(this[_0x1e5aa6(0x18a)][_0x1e5aa6(0x1a1)])[_0x1e5aa6(0x15e)];return _0x335faf[_0x1e5aa6(0x15e)]-_0xb4ad51;}}[_0x317dc7(0x163)](_0x13e10e,_0x27af83,_0x477c10=this[_0x317dc7(0x177)][_0x317dc7(0x15d)][_0x317dc7(0x183)](_0x317dc7(0x15c))){const _0x508b44=_0x317dc7;_0x477c10&&(_0x27af83=Math[_0x508b44(0x165)](_0x27af83,this[_0x508b44(0x1a3)](_0x13e10e))),_0x13e10e[_0x508b44(0x15e)]=_0x27af83;}[_0x317dc7(0x1a3)](_0x2db10e){const _0x1d56cd=_0x317dc7;let _0x1c03d0=this[_0x1d56cd(0x18f)](_0x2db10e),_0x69dcdd=0x0;for(;_0x1c03d0;)_0x1c03d0[_0x1d56cd(0x1aa)](),_0x69dcdd+=this[_0x1d56cd(0x1ad)]+_0x1c03d0[_0x1d56cd(0x197)],_0x1c03d0=this[_0x1d56cd(0x18f)](_0x1c03d0);return _0x69dcdd;}}function R(_0x2b8a2a,_0x311848){const _0x2aad8e=_0x317dc7;return Math[_0x2aad8e(0x165)](_0x2b8a2a-_0x311848,0x0);}function _0x4c2a(_0x629238,_0x3806e2){const _0x506f6a=_0x506f();return _0x4c2a=function(_0x4c2aa8,_0x4ba3ee){_0x4c2aa8=_0x4c2aa8-0x155;let _0x28766a=_0x506f6a[_0x4c2aa8];return _0x28766a;},_0x4c2a(_0x629238,_0x3806e2);}function y(_0x29c49c){const _0xd4a340=_0x317dc7;return null!==_0x29c49c&&_0xd4a340(0x1ae)==typeof _0x29c49c&&0x1===_0x29c49c[_0xd4a340(0x16e)];}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x11df(_0x5303ad,_0x535e9c){const _0x2b6521=_0x2b65();return _0x11df=function(_0x11df68,_0xa66e8a){_0x11df68=_0x11df68-0x129;let _0x51d192=_0x2b6521[_0x11df68];return _0x51d192;},_0x11df(_0x5303ad,_0x535e9c);}(function(_0x1bd2b9,_0x3787be){const _0x4be43c=_0x11df,_0x4ec57c=_0x1bd2b9();while(!![]){try{const _0x3f32f0=parseInt(_0x4be43c(0x13a))/0x1*(-parseInt(_0x4be43c(0x145))/0x2)+-parseInt(_0x4be43c(0x143))/0x3+parseInt(_0x4be43c(0x12f))/0x4+-parseInt(_0x4be43c(0x141))/0x5*(-parseInt(_0x4be43c(0x132))/0x6)+-parseInt(_0x4be43c(0x140))/0x7*(-parseInt(_0x4be43c(0x144))/0x8)+-parseInt(_0x4be43c(0x12b))/0x9+parseInt(_0x4be43c(0x131))/0xa;if(_0x3f32f0===_0x3787be)break;else _0x4ec57c['push'](_0x4ec57c['shift']());}catch(_0x46c109){_0x4ec57c['push'](_0x4ec57c['shift']());}}}(_0x2b65,0xeed2d));import{ButtonView as _0x311875,View as _0x1cb618}from'ckeditor5/src/ui.js';function _0x2b65(){const _0x5533f1=['1172600DHfluI','annotationType','8227850nqBvBX','807876PrfOeJ','ck-annotation-counter','span','bind','...','toString','ck-annotation-counter__badge','isDirty','1VXZiUZ','extendTemplate','counterView','children','add','bindTemplate','4119619XUopSk','20FvzHoR','setTemplate','1636932ukvLOT','16WMwqUy','584938yXZYRR','set','ck-annotation-counter__badge--edit-mode','_badge','9136971TRVeJa','ck-annotation-counter__badge--','icon','number'];_0x2b65=function(){return _0x5533f1;};return _0x2b65();}import _0x1ed67c from'../../../theme/icons/add-comment.svg';export default class D extends _0x311875{constructor(_0xf4b89){const _0x1dd4dd=_0x11df;super(_0xf4b89);const _0x453bb9=this[_0x1dd4dd(0x13f)];this[_0x1dd4dd(0x146)](_0x1dd4dd(0x139),!0x1),this[_0x1dd4dd(0x146)](_0x1dd4dd(0x12e),0x0),this[_0x1dd4dd(0x135)](_0x1dd4dd(0x12a))['to'](this,_0x1dd4dd(0x139),this,_0x1dd4dd(0x12e),(_0x2b3f07,_0x3949e7)=>_0x2b3f07?_0x1dd4dd(0x136):_0x3949e7[_0x1dd4dd(0x137)]()),this[_0x1dd4dd(0x146)](_0x1dd4dd(0x130),''),this[_0x1dd4dd(0x12d)]=_0x1ed67c,this[_0x1dd4dd(0x13b)]({'attributes':{'class':[_0x1dd4dd(0x133)]}}),this[_0x1dd4dd(0x13c)]=new _0x1cb618(),this[_0x1dd4dd(0x13c)][_0x1dd4dd(0x142)]({'tag':_0x1dd4dd(0x134),'attributes':{'class':[_0x1dd4dd(0x138),_0x453bb9['to'](_0x1dd4dd(0x130),_0x9d38d7=>_0x1dd4dd(0x12c)+_0x9d38d7),_0x453bb9['if'](_0x1dd4dd(0x139),_0x1dd4dd(0x129))]},'children':[{'text':_0x453bb9['to'](_0x1dd4dd(0x12a))}]}),this[_0x1dd4dd(0x13d)][_0x1dd4dd(0x13e)](this[_0x1dd4dd(0x13c)]);}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5380(){const _0x5dfc3b=['2450BYiahA','5111784pEZfiX','_mutationObserver','detach','presentation','height','1MBHPut','keystrokes','render','arrowup','825070fCFJeD','clear','5kHAaUR','clientHeight','_updateHeight','add','Esc','listenTo','1381503UMtbvi','4163877Szbtxo','destroy','ck-annotation-wrapper','type','focus','first','273gqDmqg','ck-annotation-wrapper--active','setTemplate','element','bindTemplate','68406xcmqHh','div','delegate','focusTracker','ck-rounded-corners','isDirty','mainView','createCollection','1178588iATpFd','content','set','isActive','attach','targetRect','length','arrowdown','25795njGRHg','fire'];_0x5380=function(){return _0x5dfc3b;};return _0x5380();}const _0x58ec02=_0x2299;(function(_0x5cee93,_0x3265f2){const _0x4f1e01=_0x2299,_0x19bdcf=_0x5cee93();while(!![]){try{const _0x24d645=-parseInt(_0x4f1e01(0x19e))/0x1*(parseInt(_0x4f1e01(0x1a2))/0x2)+parseInt(_0x4f1e01(0x1aa))/0x3+-parseInt(_0x4f1e01(0x18e))/0x4*(parseInt(_0x4f1e01(0x1a4))/0x5)+parseInt(_0x4f1e01(0x1b6))/0x6*(parseInt(_0x4f1e01(0x1b1))/0x7)+-parseInt(_0x4f1e01(0x199))/0x8+parseInt(_0x4f1e01(0x1ab))/0x9+-parseInt(_0x4f1e01(0x198))/0xa*(-parseInt(_0x4f1e01(0x196))/0xb);if(_0x24d645===_0x3265f2)break;else _0x19bdcf['push'](_0x19bdcf['shift']());}catch(_0x172bd3){_0x19bdcf['push'](_0x19bdcf['shift']());}}}(_0x5380,0x918c3));import{View as _0x382789}from'ckeditor5/src/ui.js';import{FocusTracker as _0x436a01,KeystrokeHandler as _0x38567b,uid as _0x391c6b}from'ckeditor5/src/utils.js';import _0x358a61 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';function _0x2299(_0x173b2f,_0x1790ce){const _0x5380fe=_0x5380();return _0x2299=function(_0x22993f,_0x5496fa){_0x22993f=_0x22993f-0x18b;let _0xa016f5=_0x5380fe[_0x22993f];return _0xa016f5;},_0x2299(_0x173b2f,_0x1790ce);}export default class T extends _0x382789{constructor(_0x2482e4,_0x16f76c){const _0x3b3ade=_0x2299;super(_0x2482e4),this['id']=_0x391c6b(),this[_0x3b3ade(0x1b9)]=new _0x436a01(),this[_0x3b3ade(0x19f)]=new _0x38567b(),this[_0x3b3ade(0x19f)][_0x3b3ade(0x190)](_0x3b3ade(0x1a8),(_0x20b0f5,_0x4b29e4)=>this[_0x3b3ade(0x197)](_0x3b3ade(0x1a8),_0x4b29e4)),this[_0x3b3ade(0x190)](_0x3b3ade(0x193),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x3b3ade(0x190)](_0x3b3ade(0x19d),0x0),this[_0x3b3ade(0x190)](_0x3b3ade(0x191),!0x1),this[_0x3b3ade(0x190)](_0x3b3ade(0x18b),!0x1),this[_0x3b3ade(0x190)](_0x3b3ade(0x194),0x0),this[_0x3b3ade(0x190)](_0x3b3ade(0x1ae),''),this[_0x3b3ade(0x19a)]=_0x358a61(()=>this[_0x3b3ade(0x1a6)]()),this[_0x3b3ade(0x18f)]=this[_0x3b3ade(0x18d)](),this[_0x3b3ade(0x18f)][_0x3b3ade(0x1b8)](_0x3b3ade(0x1a1),_0x3b3ade(0x195))['to'](this),this[_0x3b3ade(0x18f)][_0x3b3ade(0x1a7)](_0x16f76c),this[_0x3b3ade(0x18c)]=_0x16f76c;const _0x10f4dc=this[_0x3b3ade(0x1b5)];this[_0x3b3ade(0x1b3)]({'tag':_0x3b3ade(0x1b7),'attributes':{'class':['ck',_0x3b3ade(0x1ad),_0x3b3ade(0x1ba),_0x10f4dc['if'](_0x3b3ade(0x191),_0x3b3ade(0x1b2))],'role':_0x3b3ade(0x19c)},'children':this[_0x3b3ade(0x18f)]});}[_0x58ec02(0x1a0)](){const _0x9e1876=_0x58ec02;super[_0x9e1876(0x1a0)](),this[_0x9e1876(0x1b9)][_0x9e1876(0x1a7)](this[_0x9e1876(0x1b4)]),this[_0x9e1876(0x19f)][_0x9e1876(0x1a9)](this[_0x9e1876(0x1b4)]),this[_0x9e1876(0x19a)][_0x9e1876(0x192)](this[_0x9e1876(0x1b4)]);}[_0x58ec02(0x1ac)](){const _0x349b98=_0x58ec02;this[_0x349b98(0x18f)][_0x349b98(0x1a3)](),this[_0x349b98(0x19f)][_0x349b98(0x1ac)](),this[_0x349b98(0x1b9)][_0x349b98(0x1ac)](),this[_0x349b98(0x19a)][_0x349b98(0x19b)](),super[_0x349b98(0x1ac)]();}[_0x58ec02(0x1af)](){const _0xcb9cda=_0x58ec02;this[_0xcb9cda(0x18f)][_0xcb9cda(0x1b0)]&&this[_0xcb9cda(0x18f)][_0xcb9cda(0x1b0)][_0xcb9cda(0x1af)]();}[_0x58ec02(0x1a6)](){const _0x4327db=_0x58ec02,_0x4c7271=this[_0x4327db(0x1b4)][_0x4327db(0x1a5)];_0x4c7271&&(this[_0x4327db(0x19d)]=_0x4c7271);}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x57247d=_0x32bb;(function(_0x1bdc13,_0x16b1c7){const _0x458fda=_0x32bb,_0x291d89=_0x1bdc13();while(!![]){try{const _0x5c293d=parseInt(_0x458fda(0xcd))/0x1+-parseInt(_0x458fda(0xda))/0x2+parseInt(_0x458fda(0xd5))/0x3*(-parseInt(_0x458fda(0xd3))/0x4)+parseInt(_0x458fda(0xd7))/0x5+parseInt(_0x458fda(0xcc))/0x6*(parseInt(_0x458fda(0xd6))/0x7)+parseInt(_0x458fda(0xe1))/0x8+parseInt(_0x458fda(0xc9))/0x9;if(_0x5c293d===_0x16b1c7)break;else _0x291d89['push'](_0x291d89['shift']());}catch(_0x2a6bf4){_0x291d89['push'](_0x291d89['shift']());}}}(_0x228d,0x5ce95));function _0x32bb(_0x49a3bf,_0x28fa7c){const _0x228d1c=_0x228d();return _0x32bb=function(_0x32bbee,_0xcdc261){_0x32bbee=_0x32bbee-0xbd;let _0x475bef=_0x228d1c[_0x32bbee];return _0x475bef;},_0x32bb(_0x49a3bf,_0x28fa7c);}import{View as _0x85c604}from'ckeditor5/src/ui.js';import{toUnit as _0x505b22}from'ckeditor5/src/utils.js';import _0x5488fe from'../../utils/createmutationobserver.js';const Ht=_0x505b22('px');function _0x228d(){const _0x2b5182=['_mutationObserver','updateHeight','destroy','content','bottom','clear','createCollection','ck-sidebar-item','arrowdown','focus','5903280rfgUPS','arrowup','first','360FtLUEF','149888XvOnef','clientHeight','delegate','render','detach','setTemplate','28FNgNdA','presentation','17712bwvggW','1981Qimdwd','600330WeHWdN','div','bind','1296658qNhCqt','ck-sidebar-item--no-animation','bindTemplate','height','_targetTop','isAnimationDisabled','element','1018944fxnvRa','attach','set','top'];_0x228d=function(){return _0x2b5182;};return _0x228d();}export default class H extends _0x85c604{constructor(_0xa9897a){const _0x43f0ca=_0x32bb;super(_0xa9897a),this[_0x43f0ca(0xbd)](_0x43f0ca(0xbe),0x0),this[_0x43f0ca(0xbd)](_0x43f0ca(0xdd),0x0),this[_0x43f0ca(0xd9)](_0x43f0ca(0xc3))['to'](this,_0x43f0ca(0xbe),this,_0x43f0ca(0xdd),(_0x2eec06,_0x13b2f5)=>_0x2eec06+_0x13b2f5),this[_0x43f0ca(0xbd)](_0x43f0ca(0xdf),!0x1),this[_0x43f0ca(0xbf)]=_0x5488fe(()=>this[_0x43f0ca(0xc0)]()),this[_0x43f0ca(0xde)]=null,this[_0x43f0ca(0xc2)]=this[_0x43f0ca(0xc5)](),this[_0x43f0ca(0xc2)][_0x43f0ca(0xcf)](_0x43f0ca(0xca),_0x43f0ca(0xc7))['to'](this);const _0x426cc7=this[_0x43f0ca(0xdc)];this[_0x43f0ca(0xd2)]({'tag':_0x43f0ca(0xd8),'attributes':{'class':[_0x43f0ca(0xc6),_0x426cc7['to'](_0x43f0ca(0xdf),_0x251ee6=>_0x251ee6?_0x43f0ca(0xdb):'')],'style':{'top':_0x426cc7['to'](_0x43f0ca(0xbe),_0x258f91=>Ht(_0x258f91))},'role':_0x43f0ca(0xd4)},'children':this[_0x43f0ca(0xc2)]});}[_0x57247d(0xd0)](){const _0x91fcca=_0x57247d;super[_0x91fcca(0xd0)](),this[_0x91fcca(0xbf)][_0x91fcca(0xe2)](this[_0x91fcca(0xe0)]);}[_0x57247d(0xc8)](){const _0x434337=_0x57247d;this[_0x434337(0xc2)][_0x434337(0xcb)]&&this[_0x434337(0xc2)][_0x434337(0xcb)][_0x434337(0xc8)]();}[_0x57247d(0xc0)](){const _0x49c1d3=_0x57247d,_0x42c6a4=this[_0x49c1d3(0xe0)][_0x49c1d3(0xce)];_0x42c6a4&&(this[_0x49c1d3(0xdd)]=_0x42c6a4);}[_0x57247d(0xc1)](){const _0x34db21=_0x57247d;this[_0x34db21(0xc2)][_0x34db21(0xc4)](),this[_0x34db21(0xbf)][_0x34db21(0xd1)](),super[_0x34db21(0xc1)]();}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|