@ckeditor/ckeditor5-comments 44.0.0 → 44.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/annotations/annotation.d.ts +1 -1
- package/dist/annotations/annotationcollection.d.ts +1 -1
- package/dist/annotations/annotations.d.ts +1 -1
- package/dist/annotations/annotationsuis.d.ts +1 -1
- package/dist/annotations/editorannotations.d.ts +1 -1
- package/dist/annotations/inlineannotations.d.ts +1 -1
- package/dist/annotations/narrowsidebar.d.ts +1 -1
- package/dist/annotations/sidebar.d.ts +1 -1
- package/dist/annotations/view/annotationcounterbuttonview.d.ts +1 -1
- package/dist/annotations/view/annotationview.d.ts +1 -1
- package/dist/annotations/view/sidebaritemview.d.ts +1 -1
- package/dist/annotations/view/sidebarview.d.ts +1 -1
- package/dist/annotations/widesidebar.d.ts +1 -1
- package/dist/augmentation.d.ts +1 -1
- package/dist/comments/addcommentthreadcommand.d.ts +1 -1
- package/dist/comments/commentsarchive.d.ts +1 -1
- package/dist/comments/commentsarchiveui.d.ts +1 -1
- package/dist/comments/commentsediting.d.ts +3 -2
- package/dist/comments/commentsrepository.d.ts +1 -1
- package/dist/comments/commentsui.d.ts +1 -1
- package/dist/comments/integrations/clipboard.d.ts +1 -1
- package/dist/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
- package/dist/comments/integrations/importword.d.ts +1 -1
- package/dist/comments/integrations/showcommenthighlights.d.ts +23 -0
- package/dist/comments/ui/commenteditor/commenteditor.d.ts +1 -1
- package/dist/comments/ui/commenteditor/commenteditorui.d.ts +1 -1
- package/dist/comments/ui/commenteditor/commenteditoruiview.d.ts +1 -1
- package/dist/comments/ui/commentthreadcontroller.d.ts +1 -1
- package/dist/comments/ui/view/basecommentthreadview.d.ts +1 -1
- package/dist/comments/ui/view/basecommentview.d.ts +1 -1
- package/dist/comments/ui/view/collapsedcommentsview.d.ts +1 -1
- package/dist/comments/ui/view/commentcontentview.d.ts +1 -1
- package/dist/comments/ui/view/commentinputview.d.ts +1 -1
- package/dist/comments/ui/view/commentsarchiveview.d.ts +1 -1
- package/dist/comments/ui/view/commentslistview.d.ts +1 -1
- package/dist/comments/ui/view/commentthreadheadercontextview.d.ts +1 -1
- package/dist/comments/ui/view/commentthreadheaderview.d.ts +1 -1
- package/dist/comments/ui/view/commentthreadinputview.d.ts +1 -1
- package/dist/comments/ui/view/commentthreadview.d.ts +1 -1
- package/dist/comments/ui/view/commentview.d.ts +1 -1
- package/dist/comments.d.ts +1 -1
- package/dist/commentsonly.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/index-content.css +30 -0
- package/dist/index-editor.css +0 -27
- package/dist/index.css +19 -19
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/utils/common-translations.d.ts +1 -1
- package/dist/utils/createmutationobserver.d.ts +1 -1
- package/package.json +16 -15
- package/src/annotations/annotation.d.ts +1 -1
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.d.ts +1 -1
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.d.ts +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.d.ts +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.d.ts +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.d.ts +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.d.ts +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.d.ts +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.d.ts +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.d.ts +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.d.ts +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.d.ts +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.d.ts +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/augmentation.d.ts +1 -1
- package/src/comments/addcommentthreadcommand.d.ts +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.d.ts +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.d.ts +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.d.ts +3 -2
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.d.ts +1 -1
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.d.ts +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.d.ts +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.d.ts +19 -0
- package/src/comments/integrations/showcommenthighlights.js +23 -0
- package/src/comments/ui/commenteditor/commenteditor.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.d.ts +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.d.ts +1 -1
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.d.ts +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.d.ts +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.d.ts +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.d.ts +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.d.ts +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.d.ts +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.d.ts +1 -1
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.d.ts +1 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.d.ts +1 -1
- package/src/commentsonly.js +1 -1
- package/src/config.d.ts +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.d.ts +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/annotation-inline.css +1 -1
- package/theme/annotation.css +1 -1
- package/theme/comment.css +1 -1
- package/theme/commentinput.css +1 -1
- package/theme/commentmarker.css +3 -3
- package/theme/commentsarchive.css +1 -1
- package/theme/commentthread.css +1 -1
- package/theme/sidebar-narrow.css +1 -1
- package/theme/sidebar.css +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2dab35=>{const {zh:{dictionary:_0x4fa55f,getPluralForm:_0x647040}}={'zh':{'dictionary':{'Comment\x20editor':'留言編輯器','NUMBER_OF_COMMENTS':'%0\x20則留言','TOO_LONG_COMMENT_ALERT':'留言內容太長。你的留言有\x20%0\x20個字,上限字數為\x20%1。','Reply...':'回覆...','Reply\x20to\x20reopen\x20discussion...':'回覆以重新開啟討論...','Write\x20a\x20comment...':'撰寫留言...','Comment\x20was\x20made\x20on\x20an\x20element':'對元件進行的留言','Edit':'編輯','Resolve':'解決','Reopen':'重新開啟','Remove':'刪除','Reply':'回覆','Delete\x20comment?':'刪除留言?','Delete\x20comment\x20thread?':'刪除討論串?','Marked\x20as\x20resolved':'已標記為解決','Comment':'留言','Annotations\x20sidebar':'註釋側邊欄','Annotations\x20list':'註釋清單','Thread\x20comments':'討論串留言','THREAD_CONTEXT_LABEL':'討論串脈絡:%0','COMMENT_THREAD_LABEL':'留言討論串發起人:%1。%1\x20則回覆。','COMMENT_THREAD_DESCRIPTION':'按\x20Enter\x20鍵可取得更多選項。按\x20Esc\x20鍵即可退出。','COMMENT_ARIA_LABEL':'留言者:%0。建立時間:%1。%2。%3','COMMENTS_ARCHIVE_LIST_LABEL':'留言清單','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':'能夠與註釋討論串互動的按鍵輸入(例如留言、追蹤變更建議)','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':'當選取範圍錨定於其標記處時,將焦點移至討論串','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':'離開註釋並將焦點移回已編輯的內容','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':'瀏覽已聚焦的註釋討論串或討論串留言','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':'在註釋討論串內部移動','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':'在撰寫留言時提交回覆','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':'移至註釋側邊欄或留言封存中的上一個或下一個討論串','ENTER_COMMENT_ANNOUNCEMENT':'正在進入含有留言的內容。按\x20%0\x20即可前往討論區。','LEAVE_COMMENT_ANNOUNCEMENT':'正在離開含有留言的內容。','PENDING_ACTION_COMMENT_THREAD':'討論串尚未儲存。','EXTERNAL_COMMENT':'此留言來自外部來源。','EXTERNAL_IMPORT_WORD_COMMENT':'此留言來自匯入的\x20Word\x20檔案。','EXTERNAL_AVATAR':'顯示的作者名稱來自外部來源(由\x20%0\x20新增)','EXTERNAL_IMPORT_WORD_AVATAR':'顯示的作者名稱來自由\x20%0\x20匯入的\x20Word\x20文件','COMMENTS_ARCHIVE':'留言封存紀錄','EMPTY_COMMENTS_ARCHIVE':'無封存的留言串。'},'getPluralForm':_0x3f0c59=>0x0}};_0x2dab35['zh']||={'dictionary':{},'getPluralForm':null},_0x2dab35['zh']['dictionary']=Object['assign'](_0x2dab35['zh']['dictionary'],_0x4fa55f),_0x2dab35['zh']['getPluralForm']=_0x647040;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
10
|
* @module comments/utils/common-translations
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
10
|
* Creates mutation observer to observe changes that might cause height change.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "44.0.
|
|
3
|
+
"version": "44.1.0-alpha.1",
|
|
4
4
|
"description": "Collaborative comments feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -45,20 +45,21 @@
|
|
|
45
45
|
"CHANGELOG.md"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@ckeditor/ckeditor5-clipboard": "44.0.
|
|
49
|
-
"@ckeditor/ckeditor5-collaboration-core": "44.0.
|
|
50
|
-
"@ckeditor/ckeditor5-core": "44.0.
|
|
51
|
-
"@ckeditor/ckeditor5-engine": "44.0.
|
|
52
|
-
"@ckeditor/ckeditor5-enter": "44.0.
|
|
53
|
-
"@ckeditor/ckeditor5-paragraph": "44.0.
|
|
54
|
-
"@ckeditor/ckeditor5-select-all": "44.0.
|
|
55
|
-
"@ckeditor/ckeditor5-theme-lark": "44.0.
|
|
56
|
-
"@ckeditor/ckeditor5-typing": "44.0.
|
|
57
|
-
"@ckeditor/ckeditor5-ui": "44.0.
|
|
58
|
-
"@ckeditor/ckeditor5-undo": "44.0.
|
|
59
|
-
"@ckeditor/ckeditor5-utils": "44.0.
|
|
60
|
-
"ckeditor5": "44.0.
|
|
61
|
-
"ckeditor5
|
|
48
|
+
"@ckeditor/ckeditor5-clipboard": "44.1.0-alpha.1",
|
|
49
|
+
"@ckeditor/ckeditor5-collaboration-core": "44.1.0-alpha.1",
|
|
50
|
+
"@ckeditor/ckeditor5-core": "44.1.0-alpha.1",
|
|
51
|
+
"@ckeditor/ckeditor5-engine": "44.1.0-alpha.1",
|
|
52
|
+
"@ckeditor/ckeditor5-enter": "44.1.0-alpha.1",
|
|
53
|
+
"@ckeditor/ckeditor5-paragraph": "44.1.0-alpha.1",
|
|
54
|
+
"@ckeditor/ckeditor5-select-all": "44.1.0-alpha.1",
|
|
55
|
+
"@ckeditor/ckeditor5-theme-lark": "44.1.0-alpha.1",
|
|
56
|
+
"@ckeditor/ckeditor5-typing": "44.1.0-alpha.1",
|
|
57
|
+
"@ckeditor/ckeditor5-ui": "44.1.0-alpha.1",
|
|
58
|
+
"@ckeditor/ckeditor5-undo": "44.1.0-alpha.1",
|
|
59
|
+
"@ckeditor/ckeditor5-utils": "44.1.0-alpha.1",
|
|
60
|
+
"@ckeditor/ckeditor5-widget": "44.1.0-alpha.1",
|
|
61
|
+
"ckeditor5": "44.1.0-alpha.1",
|
|
62
|
+
"ckeditor5-collaboration": "44.1.0-alpha.1",
|
|
62
63
|
"lodash-es": "4.17.21"
|
|
63
64
|
},
|
|
64
65
|
"types": "src/index.d.ts",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/annotations/annotation
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1c4e38=_0x26b0;(function(_0x12d773,_0x464084){const _0x16253d=_0x26b0,_0x5a50ec=_0x12d773();while(!![]){try{const _0x12d3dc=-parseInt(_0x16253d(0x10b))/0x1+-parseInt(_0x16253d(0x103))/0x2+parseInt(_0x16253d(0x101))/0x3+-parseInt(_0x16253d(0xef))/0x4+-parseInt(_0x16253d(0xfa))/0x5*(-parseInt(_0x16253d(0x10a))/0x6)+-parseInt(_0x16253d(0xea))/0x7*(parseInt(_0x16253d(0x110))/0x8)+parseInt(_0x16253d(0xe5))/0x9;if(_0x12d3dc===_0x464084)break;else _0x5a50ec['push'](_0x5a50ec['shift']());}catch(_0x475b79){_0x5a50ec['push'](_0x5a50ec['shift']());}}}(_0x591e,0x8b258));import{CKEditorError as _0x47d87e,Rect as _0x23159c,Collection as _0x1d9d83,ObservableMixin as _0x29e9a9}from'ckeditor5/src/utils.js';function _0x26b0(_0x33595c,_0x42b9a2){const _0x591e00=_0x591e();return _0x26b0=function(_0x26b0f0,_0x48252e){_0x26b0f0=_0x26b0f0-0xe4;let _0x21aacb=_0x591e00[_0x26b0f0];return _0x21aacb;},_0x26b0(_0x33595c,_0x42b9a2);}export default class d extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x29e9a9(){constructor({view:_0x11e556,target:_0x2221fd,type:_0x579686,isVisible:_0x2f7edc=!0x0}){const _0x2e5f8e=_0x26b0;super(),this[_0x2e5f8e(0xed)]=_0x11e556,this[_0x2e5f8e(0xed)][_0x2e5f8e(0xee)]||this[_0x2e5f8e(0xed)][_0x2e5f8e(0xf7)](),this[_0x2e5f8e(0xf8)]=_0x579686,this[_0x2e5f8e(0xf0)]=_0x2221fd,d[_0x2e5f8e(0xf5)](this[_0x2e5f8e(0xeb)]()),this[_0x2e5f8e(0x10f)]=new _0x1d9d83([this[_0x2e5f8e(0xed)][_0x2e5f8e(0xee)]],{'idProperty':_0x2e5f8e(0x106)}),this[_0x2e5f8e(0x10f)]['on'](_0x2e5f8e(0x107),(_0x117d37,_0x3bcaa4)=>{const _0x12fb79=_0x2e5f8e;this[_0x12fb79(0xed)][_0x12fb79(0x108)][_0x12fb79(0x107)](_0x3bcaa4);}),this[_0x2e5f8e(0x10f)]['on'](_0x2e5f8e(0xfc),(_0x466080,_0xf8a18a)=>{const _0x1fc307=_0x2e5f8e;this[_0x1fc307(0xed)][_0x1fc307(0x108)][_0x1fc307(0xfc)](_0xf8a18a);}),this[_0x2e5f8e(0xfe)](_0x2e5f8e(0x104),_0x2f7edc);}get[_0x1c4e38(0x102)](){const _0x6534ef=_0x1c4e38;return _0x6534ef(0xe9)==typeof this[_0x6534ef(0xf8)]?this[_0x6534ef(0xf8)]():this[_0x6534ef(0xf8)];}get[_0x1c4e38(0xf3)](){const _0x4d1e4b=_0x1c4e38;return this[_0x4d1e4b(0xed)][_0x4d1e4b(0xf9)];}get[_0x1c4e38(0xf1)](){const _0x4ce916=_0x1c4e38,_0x56bca0=this[_0x4ce916(0xeb)]();return d[_0x4ce916(0xf5)](_0x56bca0),_0x56bca0;}get[_0x1c4e38(0xe7)](){const _0x4a0daa=_0x1c4e38,_0x1cee7b=this[_0x4a0daa(0xf1)];if(null===_0x1cee7b)return null;if(_0x1cee7b instanceof _0x23159c)return _0x1cee7b;const _0x2d443f=_0x1cee7b[_0x4a0daa(0x100)](_0x5e7e2e=>function(_0x23e737){const _0x41feca=_0x4a0daa,_0x276bbe=_0x23e737[_0x41feca(0xff)];if(_0x276bbe)return!0x0;const _0x5aa730=_0x23e737[_0x41feca(0xe4)]()[_0x41feca(0xfb)](0x0);return!!_0x5aa730;}(_0x5e7e2e));return 0x0===_0x2d443f[_0x4a0daa(0x10c)]?null:new _0x23159c(_0x2d443f[0x0][_0x4a0daa(0xe4)]()[_0x4a0daa(0xfb)](0x0));}get[_0x1c4e38(0x105)](){const _0x478fc4=_0x1c4e38;return this[_0x478fc4(0xed)][_0x478fc4(0x105)];}set[_0x1c4e38(0x105)](_0x375be6){const _0x2151aa=_0x1c4e38;this[_0x2151aa(0xed)][_0x2151aa(0x105)]=_0x375be6,this[_0x2151aa(0xed)][_0x2151aa(0xf9)][_0x2151aa(0x105)]=_0x375be6;}[_0x1c4e38(0x10e)](){const _0x57a081=_0x1c4e38;this[_0x57a081(0xed)][_0x57a081(0xe7)]=this[_0x57a081(0xe7)];}[_0x1c4e38(0x109)](){const _0x45fda5=_0x1c4e38;this[_0x45fda5(0x10f)][_0x45fda5(0xec)](),this[_0x45fda5(0x10f)][_0x45fda5(0xf4)](),this[_0x45fda5(0xec)]();}[_0x1c4e38(0xe6)](){const _0x101982=_0x1c4e38;this[_0x101982(0x104)]=!!this[_0x101982(0xe7)];}static[_0x1c4e38(0xf5)](_0x14eced){const _0x30281c=_0x1c4e38;if(!(null===_0x14eced||_0x14eced instanceof _0x23159c||Array[_0x30281c(0xf2)](_0x14eced)&&_0x14eced[_0x30281c(0x10d)](_0xd0e30d=>y(_0xd0e30d))))throw new _0x47d87e(_0x30281c(0xe8),null,{'target':_0x14eced});}[_0x1c4e38(0xeb)](){const _0x3ab371=_0x1c4e38,_0x4e7c67=_0x3ab371(0xe9)==typeof this[_0x3ab371(0xf0)]?this[_0x3ab371(0xf0)]():this[_0x3ab371(0xf0)];return y(_0x4e7c67)?[_0x4e7c67]:_0x4e7c67;}}function y(_0x4909f3){const _0x4cd40d=_0x1c4e38;return null!==_0x4909f3&&_0x4cd40d(0xf6)==typeof _0x4909f3&&_0x4cd40d(0xfd)in _0x4909f3&&0x1===_0x4909f3[_0x4cd40d(0xfd)];}function _0x591e(){const _0x42e2f1=['1076330uxETRz','length','every','updateTargetRect','focusableElements','8pCWmgQ','getClientRects','35656722XIlMKi','refreshVisibility','targetRect','annotation-invalid-target','function','4866988QImiKa','_getNormalizedTarget','stopListening','view','element','3557312zeblDD','_target','target','isArray','innerView','clear','_assertCorrectTarget','object','render','_type','mainView','25080UoBnVu','item','remove','nodeType','set','offsetParent','filter','400314tFVtgy','type','1819108znhwDi','isVisible','isActive','_id','add','focusTracker','destroy','54FaYGXW'];_0x591e=function(){return _0x42e2f1;};return _0x591e();}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/annotations/annotationcollection
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4367(_0x55eac1,_0x5e3308){const _0x668b7d=_0x668b();return _0x4367=function(_0x4367ce,_0x50e7d3){_0x4367ce=_0x4367ce-0xcf;let _0xd61487=_0x668b7d[_0x4367ce];return _0xd61487;},_0x4367(_0x55eac1,_0x5e3308);}const _0x1004e4=_0x4367;(function(_0x14d7d0,_0x1f4d47){const _0x36550c=_0x4367,_0x3bebb6=_0x14d7d0();while(!![]){try{const _0x18f80a=-parseInt(_0x36550c(0xf0))/0x1+-parseInt(_0x36550c(0xf9))/0x2*(-parseInt(_0x36550c(0xd0))/0x3)+-parseInt(_0x36550c(0xee))/0x4+parseInt(_0x36550c(0xfc))/0x5+-parseInt(_0x36550c(0xdd))/0x6*(-parseInt(_0x36550c(0xda))/0x7)+-parseInt(_0x36550c(0xf3))/0x8*(parseInt(_0x36550c(0xd8))/0x9)+parseInt(_0x36550c(0xd4))/0xa;if(_0x18f80a===_0x1f4d47)break;else _0x3bebb6['push'](_0x3bebb6['shift']());}catch(_0x4e828b){_0x3bebb6['push'](_0x3bebb6['shift']());}}}(_0x668b,0x4112c));import{CKEditorError as _0x4b3eeb,Collection as _0x5d4a75,FocusTracker as _0xef4ca2}from'ckeditor5/src/utils.js';export default class x extends _0x5d4a75{constructor(_0x2675a0=[]){const _0x263726=_0x4367;super(),this[_0x263726(0xfb)]=new Map(),this[_0x263726(0xf7)]=new Map(),this[_0x263726(0xde)]=new _0xef4ca2(),this[_0x263726(0xde)]['on'](_0x263726(0xf2),(_0x2ecd9b,_0x5bc24d,_0x55e7fd)=>{const _0x1a9bc2=_0x263726;_0x55e7fd||this[_0x1a9bc2(0xfa)](_0x1a9bc2(0xea));});for(const _0x4d7bf2 of _0x2675a0)this[_0x263726(0xef)](_0x4d7bf2);}get[_0x1004e4(0xed)](){const _0x49267a=_0x1004e4;return this[_0x49267a(0xde)][_0x49267a(0xed)];}[_0x1004e4(0xef)](_0x4c0132){const _0x3f5a69=_0x1004e4;if(this[_0x3f5a69(0xd9)](_0x4c0132))throw new _0x4b3eeb(_0x3f5a69(0xe7),null);this[_0x3f5a69(0xfb)][_0x3f5a69(0xd7)](_0x4c0132[_0x3f5a69(0xdc)],_0x4c0132),this[_0x3f5a69(0xf7)][_0x3f5a69(0xd7)](_0x4c0132[_0x3f5a69(0xdb)],_0x4c0132);for(const _0x53d62a of _0x4c0132[_0x3f5a69(0xd2)])this[_0x3f5a69(0xde)][_0x3f5a69(0xef)](_0x53d62a);this[_0x3f5a69(0xd6)](_0x4c0132[_0x3f5a69(0xd2)],_0x3f5a69(0xef),(_0x1385a4,_0x38ada6)=>{const _0x18e5e8=_0x3f5a69;this[_0x18e5e8(0xde)][_0x18e5e8(0xef)](_0x38ada6);}),this[_0x3f5a69(0xd6)](_0x4c0132[_0x3f5a69(0xd2)],_0x3f5a69(0xe6),(_0x3b4aff,_0x46223f)=>{const _0x365f86=_0x3f5a69;this[_0x365f86(0xde)][_0x365f86(0xe6)](_0x46223f);}),this[_0x3f5a69(0xd6)](_0x4c0132[_0x3f5a69(0xdb)][_0x3f5a69(0xec)],_0x3f5a69(0xf2),(_0x10984d,_0x12f544,_0x59879f)=>{const _0x5ee5ad=_0x3f5a69;_0x59879f&&this[_0x5ee5ad(0xfa)](_0x5ee5ad(0xe5),_0x4c0132);}),_0x4c0132[_0x3f5a69(0xcf)]();const _0x274532=this[_0x3f5a69(0xd1)](_0x4c0132[_0x3f5a69(0xdb)][_0x3f5a69(0xf1)]);return super[_0x3f5a69(0xef)](_0x4c0132,_0x274532);}[_0x1004e4(0xe6)](_0x197f00){const _0x59718b=_0x1004e4;if(!this[_0x59718b(0xd9)](_0x197f00))throw new _0x4b3eeb(_0x59718b(0xfd),null);this[_0x59718b(0xe1)](_0x197f00[_0x59718b(0xdb)][_0x59718b(0xec)]),this[_0x59718b(0xe1)](_0x197f00[_0x59718b(0xd2)]);for(const _0x89cd6f of _0x197f00[_0x59718b(0xd2)])this[_0x59718b(0xde)][_0x59718b(0xe6)](_0x89cd6f);return this[_0x59718b(0xf7)][_0x59718b(0xe2)](_0x197f00[_0x59718b(0xdb)]),this[_0x59718b(0xfb)][_0x59718b(0xe2)](_0x197f00[_0x59718b(0xdc)]),super[_0x59718b(0xe6)](_0x197f00);}[_0x1004e4(0xe4)](_0x35a075){const _0x49815d=_0x1004e4;return this[_0x49815d(0xfb)][_0x49815d(0xd3)](_0x35a075);}[_0x1004e4(0xd5)](_0xd5471d){const _0x28b67c=_0x1004e4;return this[_0x28b67c(0xf7)][_0x28b67c(0xd3)](_0xd5471d);}[_0x1004e4(0xf8)](){const _0x1ec5f0=_0x1004e4;super[_0x1ec5f0(0xf4)](),this[_0x1ec5f0(0xe1)](),this[_0x1ec5f0(0xfb)][_0x1ec5f0(0xf4)](),this[_0x1ec5f0(0xf7)][_0x1ec5f0(0xf4)](),this[_0x1ec5f0(0xde)][_0x1ec5f0(0xf8)]();}[_0x1004e4(0xe0)](){const _0x5de6ff=_0x1004e4;for(const _0x2b46d4 of this)_0x2b46d4[_0x5de6ff(0xcf)]();this[_0x5de6ff(0xe3)]();}[_0x1004e4(0xe3)](){const _0x3cdd13=_0x1004e4,_0x495541=Array[_0x3cdd13(0xdf)](this)[_0x3cdd13(0xe8)]((_0x49c580,_0x26d9a2)=>v(_0x49c580[_0x3cdd13(0xdb)][_0x3cdd13(0xf1)],_0x26d9a2[_0x3cdd13(0xdb)][_0x3cdd13(0xf1)]));for(let _0x15932e=_0x495541[_0x3cdd13(0xe9)]-0x1;_0x15932e>0x0;_0x15932e--){const _0x560c34=_0x495541[_0x15932e];_0x15932e!==this[_0x3cdd13(0xf6)](_0x560c34)&&(this[_0x3cdd13(0xe6)](_0x560c34),this[_0x3cdd13(0xef)](_0x560c34));}}[_0x1004e4(0xd1)](_0x2e8225){const _0xf5bf10=_0x1004e4;let _0x571107=0x0;if(!_0x2e8225)return this[_0xf5bf10(0xe9)];for(const _0x3fc68f of this){const _0x4ad0f0=_0x3fc68f[_0xf5bf10(0xdb)][_0xf5bf10(0xf1)];if(_0x4ad0f0){if(v(_0x2e8225,_0x4ad0f0)<0x0)return _0x571107;_0x571107++;}}return _0x571107;}}function _0x668b(){const _0x42e2cc=['view','innerView','1199694CLeNXH','_focusTracker','from','refreshPositioning','stopListening','delete','_sort','getByInnerView','focus','remove','annotationcollection-duplicated-item','sort','length','blur','left','focusTracker','isFocused','177056vBdJRS','add','360970fsFrxb','targetRect','change:isFocused','8RADdkn','clear','top','getIndex','_viewToAnnotation','destroy','404AeVFdH','fire','_innerViewToAnnotation','73840pAdkjn','annotationcollection-not-existing-item','updateTargetRect','1980MJLxpq','_getOrderInContent','focusableElements','get','5401540OtFmad','getByView','listenTo','set','3747294QZSkQo','has','14vaVFPK'];_0x668b=function(){return _0x42e2cc;};return _0x668b();}export function bindAnnotationCollections({source:_0x49f32e,target:_0x5edb2,filter:_0x549442}){const _0x11e6d5=_0x1004e4;for(const _0x1eec97 of _0x49f32e)_0x549442(_0x1eec97)&&_0x5edb2[_0x11e6d5(0xef)](_0x1eec97);_0x5edb2[_0x11e6d5(0xd6)](_0x49f32e,_0x11e6d5(0xef),(_0x2541fd,_0x5684df)=>{const _0x574448=_0x11e6d5;_0x549442(_0x5684df)&&_0x5edb2[_0x574448(0xef)](_0x5684df);}),_0x5edb2[_0x11e6d5(0xd6)](_0x49f32e,_0x11e6d5(0xe6),(_0x568e35,_0x167b49)=>{const _0x25d98e=_0x11e6d5;_0x5edb2[_0x25d98e(0xd9)](_0x167b49)&&_0x5edb2[_0x25d98e(0xe6)](_0x167b49);});}function v(_0x1f5915,_0x510d31){const _0x5f1c33=_0x1004e4;if(null===_0x1f5915&&null===_0x510d31)return 0x0;if(null===_0x1f5915)return-0x1;if(null===_0x510d31)return 0x1;const _0x260114=_0x1f5915[_0x5f1c33(0xf5)]-_0x510d31[_0x5f1c33(0xf5)];return 0x0==_0x260114?_0x1f5915[_0x5f1c33(0xeb)]-_0x510d31[_0x5f1c33(0xeb)]:_0x260114;}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/annotations/annotations
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1bdb21=_0x5f28;(function(_0x2092f3,_0x494016){const _0x4e24c9=_0x5f28,_0x2250ed=_0x2092f3();while(!![]){try{const _0x1cddf3=-parseInt(_0x4e24c9(0x18d))/0x1+parseInt(_0x4e24c9(0x18f))/0x2+parseInt(_0x4e24c9(0x17c))/0x3*(parseInt(_0x4e24c9(0x17e))/0x4)+-parseInt(_0x4e24c9(0x1ad))/0x5+parseInt(_0x4e24c9(0x167))/0x6*(parseInt(_0x4e24c9(0x181))/0x7)+-parseInt(_0x4e24c9(0x1a5))/0x8*(parseInt(_0x4e24c9(0x16a))/0x9)+parseInt(_0x4e24c9(0x199))/0xa*(-parseInt(_0x4e24c9(0x1a4))/0xb);if(_0x1cddf3===_0x494016)break;else _0x2250ed['push'](_0x2250ed['shift']());}catch(_0x19b2e0){_0x2250ed['push'](_0x2250ed['shift']());}}}(_0x3bb6,0xa5817));import{ContextPlugin as _0x2f04cb,Editor as _0x1f9e6b}from'ckeditor5/src/core.js';import{first as _0x336d29}from'ckeditor5/src/utils.js';import _0x5375a1 from'./annotation.js';import _0x4152da from'./annotationcollection.js';import _0x53b14e from'./view/annotationview.js';import{getTranslation as _0x314190}from'../utils/common-translations.js';import{FOCUS_ANNOTATION_KEYSTROKE as _0x3d7c58}from'@ckeditor/ckeditor5-collaboration-core';export default class N extends _0x2f04cb{static get[_0x1bdb21(0x1a8)](){const _0x2e7896=_0x1bdb21;return _0x2e7896(0x161);}static get[_0x1bdb21(0x18a)](){return!0x0;}static get[_0x1bdb21(0x168)](){return!0x0;}constructor(_0x47a77b){const _0x11e447=_0x1bdb21;if(super(_0x47a77b),this[_0x11e447(0x194)]=new _0x4152da(),this[_0x11e447(0x1a3)]=new _0x4152da(),this[_0x11e447(0x17f)](_0x11e447(0x1ab),new Set()),this[_0x11e447(0x179)](),_0x47a77b instanceof _0x1f9e6b){const _0xbaa411=_0x47a77b[_0x11e447(0x16c)];_0x47a77b[_0x11e447(0x19f)][_0x11e447(0x169)]({'id':_0x11e447(0x15f),'label':_0x314190(_0xbaa411,_0x11e447(0x172)),'keystrokes':[{'label':_0x314190(_0xbaa411,_0x11e447(0x184)),'keystroke':_0x11e447(0x183)},{'label':_0x314190(_0xbaa411,_0x11e447(0x1a7)),'keystroke':_0x11e447(0x19a)},{'label':_0x314190(_0xbaa411,_0x11e447(0x1a6)),'keystroke':_0x11e447(0x17b)},{'label':_0x314190(_0xbaa411,_0x11e447(0x197)),'keystroke':[[_0x11e447(0x18b)],[_0x11e447(0x171)]]},{'label':_0x314190(_0xbaa411,_0x11e447(0x1a0)),'keystroke':[_0x11e447(0x198)]},{'label':_0x314190(_0xbaa411,_0x11e447(0x192)),'keystroke':[[_0x11e447(0x193)],[_0x11e447(0x16d)]]}]});}this[_0x11e447(0x170)](),this[_0x11e447(0x177)]();}[_0x1bdb21(0x176)](_0x20e395){const _0x2e0786=_0x1bdb21;this[_0x2e0786(0x194)][_0x2e0786(0x176)](_0x20e395);}[_0x1bdb21(0x17d)](_0x582081){const _0x29b11e=_0x1bdb21;this[_0x29b11e(0x194)][_0x29b11e(0x17d)](_0x582081),_0x582081[_0x29b11e(0x187)]();}[_0x1bdb21(0x186)](){const _0x42455d=_0x1bdb21;for(const _0x54833e of this[_0x42455d(0x194)])_0x54833e[_0x42455d(0x186)]();}[_0x1bdb21(0x16b)](){const _0x7b24c8=_0x1bdb21;this[_0x7b24c8(0x1a3)][_0x7b24c8(0x16b)]();}[_0x1bdb21(0x163)](_0x1494e8){const _0x1ece94=_0x1bdb21;return this[_0x1ece94(0x194)][_0x1ece94(0x163)](_0x1494e8);}[_0x1bdb21(0x18e)](){const _0xd7e86b=_0x1bdb21;this[_0xd7e86b(0x175)](_0xd7e86b(0x160));}[_0x1bdb21(0x187)](){const _0x58b8a7=_0x1bdb21;for(const _0x1f367f of this[_0x58b8a7(0x194)])_0x1f367f[_0x58b8a7(0x187)]();this[_0x58b8a7(0x1a3)][_0x58b8a7(0x187)](),this[_0x58b8a7(0x194)][_0x58b8a7(0x187)](),super[_0x58b8a7(0x187)]();}[_0x1bdb21(0x1ac)](_0x10adc5){const _0x186f4f=_0x1bdb21;this[_0x186f4f(0x175)](_0x186f4f(0x19c),_0x10adc5);}[_0x1bdb21(0x17a)](_0x5b5b79){return new _0x5375a1(_0x5b5b79);}[_0x1bdb21(0x178)](_0x3b8fa1,_0x2e4ad7){return new _0x53b14e(_0x3b8fa1,_0x2e4ad7);}[_0x1bdb21(0x162)](_0x53409b){const _0x38b44d=_0x1bdb21,_0x420a87=new Set(this[_0x38b44d(0x1ab)]);_0x420a87[_0x38b44d(0x176)](_0x53409b),this[_0x38b44d(0x1ab)]=_0x420a87;}[_0x1bdb21(0x16f)](_0x349381){const _0x4aa7cb=_0x1bdb21,_0x5b069a=new Set(this[_0x4aa7cb(0x1ab)]);_0x5b069a[_0x4aa7cb(0x18c)](_0x349381),this[_0x4aa7cb(0x1ab)]=_0x5b069a;}[_0x1bdb21(0x179)](){const _0x28ca3d=_0x1bdb21,_0x28a4e7=this[_0x28ca3d(0x194)],_0x486afa=this[_0x28ca3d(0x1a3)];function _0x11b5e4(_0x53f9ce){const _0x3fc89b=_0x28ca3d,_0x8e4f10=_0x53f9ce[_0x3fc89b(0x166)];_0x8e4f10[_0x3fc89b(0x185)]&&!_0x486afa[_0x3fc89b(0x188)](_0x8e4f10)?_0x486afa[_0x3fc89b(0x176)](_0x8e4f10):!_0x8e4f10[_0x3fc89b(0x185)]&&_0x486afa[_0x3fc89b(0x188)](_0x8e4f10)&&_0x486afa[_0x3fc89b(0x17d)](_0x8e4f10),_0x8e4f10[_0x3fc89b(0x196)][_0x3fc89b(0x15e)][_0x3fc89b(0x17d)](_0x8e4f10[_0x3fc89b(0x196)][_0x3fc89b(0x1aa)]),_0x8e4f10[_0x3fc89b(0x196)][_0x3fc89b(0x15e)][_0x3fc89b(0x176)](_0x8e4f10[_0x3fc89b(0x196)][_0x3fc89b(0x1aa)]);}this[_0x28ca3d(0x19e)](_0x28a4e7,_0x28ca3d(0x176),(_0x25c8e9,_0x2829c1)=>{const _0xc84edc=_0x28ca3d;_0x2829c1[_0xc84edc(0x185)]&&_0x486afa[_0xc84edc(0x176)](_0x2829c1),this[_0xc84edc(0x19e)](_0x2829c1,_0xc84edc(0x191),_0x11b5e4);}),this[_0x28ca3d(0x19e)](_0x28a4e7,_0x28ca3d(0x17d),(_0x1687f2,_0x1e1bb9)=>{const _0x33eeb2=_0x28ca3d;_0x486afa[_0x33eeb2(0x188)](_0x1e1bb9)&&_0x486afa[_0x33eeb2(0x17d)](_0x1e1bb9),this[_0x33eeb2(0x195)](_0x1e1bb9,_0x33eeb2(0x191),_0x11b5e4);});}[_0x1bdb21(0x170)](){const _0x3eefca=_0x1bdb21,_0x1fd7bb=_0x114c3a=>{const _0x5f31f5=_0x5f28;_0x114c3a['on'](_0x5f31f5(0x1a1),()=>{const _0x3d9a50=_0x5f31f5;_0x114c3a[_0x3d9a50(0x19d)][_0x3d9a50(0x17f)](_0x3d7c58,(_0x5aced5,_0x39066a)=>{const _0x317fb3=_0x3d9a50,_0xe2c1f8=_0x336d29(this[_0x317fb3(0x1ab)][_0x317fb3(0x16e)]());_0xe2c1f8&&(_0xe2c1f8[_0x317fb3(0x196)][_0x317fb3(0x1a2)](),_0x39066a());});});};this[_0x3eefca(0x19b)]instanceof _0x1f9e6b?_0x1fd7bb(this[_0x3eefca(0x19b)]):this[_0x3eefca(0x19b)][_0x3eefca(0x189)]&&this[_0x3eefca(0x19b)][_0x3eefca(0x189)]['on'](_0x3eefca(0x176),(_0x1090d2,_0x30b4bb)=>{_0x1fd7bb(_0x30b4bb);});}[_0x1bdb21(0x177)](){const _0x9f3b0a=_0x1bdb21,_0x2574be=_0x3e7b2b=>{const _0x215378=_0x5f28,_0x52963e=_0x3e7b2b[_0x215378(0x166)],_0x40ee3e=[];let _0x55f716;if(Array[_0x215378(0x190)](_0x52963e[_0x215378(0x173)])){_0x55f716=_0x52963e[_0x215378(0x173)][0x0],this[_0x215378(0x19b)]instanceof _0x1f9e6b?_0x40ee3e[_0x215378(0x165)](this[_0x215378(0x19b)]):this[_0x215378(0x19b)][_0x215378(0x189)]&&_0x40ee3e[_0x215378(0x165)](...this[_0x215378(0x19b)][_0x215378(0x189)]);for(const _0x4dcea0 of _0x40ee3e)for(const _0x14e057 of _0x4dcea0[_0x215378(0x180)][_0x215378(0x196)][_0x215378(0x1a9)][_0x215378(0x16e)]())if(_0x14e057[_0x215378(0x174)](_0x55f716))return void _0x4dcea0[_0x215378(0x180)][_0x215378(0x196)][_0x215378(0x1a2)]();_0x55f716[_0x215378(0x1a2)]();}};this[_0x9f3b0a(0x19e)](this[_0x9f3b0a(0x194)],_0x9f3b0a(0x176),(_0x1c8dd8,_0xa2aa43)=>{const _0xef9f53=_0x9f3b0a;this[_0xef9f53(0x19e)](_0xa2aa43,_0xef9f53(0x182),_0x2574be,{'priority':_0xef9f53(0x164)});}),this[_0x9f3b0a(0x19e)](this[_0x9f3b0a(0x194)],_0x9f3b0a(0x17d),(_0x238a06,_0x4c74dd)=>{const _0x425bdb=_0x9f3b0a;this[_0x425bdb(0x195)](_0x4c74dd,_0x425bdb(0x182),_0x2574be);});}}function _0x5f28(_0x36e481,_0x15a852){const _0x3bb6c2=_0x3bb6();return _0x5f28=function(_0x5f285d,_0x10983c){_0x5f285d=_0x5f285d-0x15e;let _0x2b1b6=_0x3bb6c2[_0x5f285d];return _0x2b1b6;},_0x5f28(_0x36e481,_0x15a852);}function _0x3bb6(){const _0xcd89bd=['36jKOpwk','refreshPositioning','locale','Arrowdown','values','_removeActiveAnnotation','_setupEnterAnnotationKeystroke','Shift+Tab','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP','target','contains','fire','add','_setupEscapeAnnotationHandling','createAnnotationView','_bindAnnotationsToVisibleAnnotations','createAnnotation','Enter','108cDZVBH','remove','145004Rlypqb','set','editing','233555VweiaN','escape','Ctrl+Shift+E','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO','isVisible','refreshVisibility','destroy','has','editors','isOfficialPlugin','Tab','delete','225231OHaeaI','deactivateAll','2709252rjFJni','isArray','change:isVisible','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS','Arrowup','collection','stopListening','view','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS','Ctrl+Enter','268260dQEEFC','Esc','context','_activateAnnotation','keystrokes','listenTo','accessibility','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT','ready','focus','_visibleAnnotations','418ImburC','224864bQbWdC','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT','pluginName','domRoots','element','activeAnnotations','activate','4124450QiKjhj','focusTracker','annotations','_deactivateAllAnnotations','Annotations','_addActiveAnnotation','getByInnerView','low','push','source','36TNefzV','isPremiumPlugin','addKeystrokeInfoGroup'];_0x3bb6=function(){return _0xcd89bd;};return _0x3bb6();}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/annotations/annotationsuis
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x215ce6=_0x2b55;(function(_0x48ea97,_0x541ecf){const _0x437bec=_0x2b55,_0x876417=_0x48ea97();while(!![]){try{const _0x5a940d=-parseInt(_0x437bec(0x136))/0x1*(parseInt(_0x437bec(0x149))/0x2)+-parseInt(_0x437bec(0x114))/0x3+parseInt(_0x437bec(0x13e))/0x4*(-parseInt(_0x437bec(0x13a))/0x5)+parseInt(_0x437bec(0x131))/0x6+parseInt(_0x437bec(0x120))/0x7+-parseInt(_0x437bec(0x12e))/0x8+-parseInt(_0x437bec(0x13b))/0x9*(-parseInt(_0x437bec(0x134))/0xa);if(_0x5a940d===_0x541ecf)break;else _0x876417['push'](_0x876417['shift']());}catch(_0x34ca16){_0x876417['push'](_0x876417['shift']());}}}(_0x13b3,0x34d0f));import{ContextPlugin as _0x3b5818}from'ckeditor5/src/core.js';import{CKEditorError as _0x5246fe}from'ckeditor5/src/utils.js';function _0x2b55(_0x5ac853,_0x22160e){const _0x13b372=_0x13b3();return _0x2b55=function(_0x2b5546,_0x46240e){_0x2b5546=_0x2b5546-0x10b;let _0x1660e3=_0x13b372[_0x2b5546];return _0x1660e3;},_0x2b55(_0x5ac853,_0x22160e);}import _0x1a2dfd,{bindAnnotationCollections as _0x12a5b8}from'./annotationcollection.js';function _0x13b3(){const _0x35a56b=['isOfficialPlugin','2318814AwldNE','context','delete','40FaESMR','annotationsuis-annotation-mismatch','68401MEEbwD','listenTo','deactivateAll','has','65lQrguL','972387VZMQcO','filter','annotationsuis-missing-ui','69612DkbHPH','refilterAnnotations','push','set','_visibleAnnotations','attach','collection','_uisData','annotationsuis-register-invalid-interface','_activateAnnotation','annotationsuis-register-already-registered','12naPANU','AnnotationsUIs','get','_uis','requires','change:activeAnnotation','isPremiumPlugin','plugins','activeUIs','stopListening','586134QOeXZX','destroy','_removeActiveAnnotation','pluginName','switchTo','detach','_setSelectedAnnotations','activeAnnotations','register','length','init','_assertAnnotationDoesNotBelongToMultipleUIs','2577967hRCCTC','_addActiveAnnotation','function','hasActive','size','remove','activate','add','isActive','_deactivateAllAnnotations','deactivate','find','type','from','1108512eHpTIY','setActiveAnnotation'];_0x13b3=function(){return _0x35a56b;};return _0x13b3();}import _0x2e7514 from'./annotations.js';export default class M extends _0x3b5818{static get[_0x215ce6(0x10e)](){return[_0x2e7514];}static get[_0x215ce6(0x117)](){const _0x3447bb=_0x215ce6;return _0x3447bb(0x10b);}static get[_0x215ce6(0x130)](){return!0x0;}static get[_0x215ce6(0x110)](){return!0x0;}constructor(_0x59eaf0){const _0x23cebf=_0x215ce6;super(_0x59eaf0),this[_0x23cebf(0x112)]=new Set(),this[_0x23cebf(0x10d)]=new Map(),this[_0x23cebf(0x145)]=new Map();}[_0x215ce6(0x11e)](){const _0x348d91=_0x215ce6,_0x3d45c3=this[_0x348d91(0x132)][_0x348d91(0x111)][_0x348d91(0x10c)](_0x2e7514);this[_0x348d91(0x137)](_0x3d45c3,_0x348d91(0x147),(_0x2d9e5d,_0x13dd0b)=>{const _0x13182d=_0x348d91;for(const _0x5a48cb of this[_0x13182d(0x112)]){const _0x1f685d=this[_0x13182d(0x10d)][_0x13182d(0x10c)](_0x5a48cb);(0x0,this[_0x13182d(0x145)][_0x13182d(0x10c)](_0x5a48cb)[_0x13182d(0x13c)])(_0x13dd0b)&&_0x1f685d[_0x13182d(0x12f)](_0x13dd0b);}}),this[_0x348d91(0x137)](_0x3d45c3,_0x348d91(0x129),()=>{const _0x5564cd=_0x348d91;for(const _0x4953c3 of this[_0x5564cd(0x112)]){this[_0x5564cd(0x10d)][_0x5564cd(0x10c)](_0x4953c3)[_0x5564cd(0x12f)](null);}}),this[_0x348d91(0x137)](_0x3d45c3[_0x348d91(0x142)],_0x348d91(0x127),(_0x19908a,_0x71d864)=>{const _0x589325=_0x348d91;this[_0x589325(0x11f)](_0x71d864);});}[_0x215ce6(0x123)](){const _0x416830=_0x215ce6;return this[_0x416830(0x112)][_0x416830(0x124)]>0x0;}[_0x215ce6(0x128)](_0x13ad35){const _0x3181da=_0x215ce6;return this[_0x3181da(0x112)][_0x3181da(0x139)](_0x13ad35);}[_0x215ce6(0x126)](_0x4206ee,_0x272b73=()=>!0x0){const _0x1399bf=_0x215ce6,_0x2f1f4c=this[_0x1399bf(0x132)][_0x1399bf(0x111)][_0x1399bf(0x10c)](_0x2e7514);if(!this[_0x1399bf(0x10d)][_0x1399bf(0x139)](_0x4206ee))throw new _0x5246fe(_0x1399bf(0x13d),this,{'uiName':_0x4206ee});this[_0x1399bf(0x128)](_0x4206ee)&&this[_0x1399bf(0x12a)](_0x4206ee),this[_0x1399bf(0x112)][_0x1399bf(0x127)](_0x4206ee);const _0x8229e5=new _0x1a2dfd(),_0x2bf39d=_0x2f1f4c[_0x1399bf(0x142)];_0x12a5b8({'source':_0x2bf39d,'target':_0x8229e5,'filter':_0x272b73}),this[_0x1399bf(0x145)][_0x1399bf(0x141)](_0x4206ee,{'collection':_0x8229e5,'filter':_0x272b73});const _0x1d7964=this[_0x1399bf(0x10d)][_0x1399bf(0x10c)](_0x4206ee);_0x1d7964[_0x1399bf(0x143)](_0x8229e5),this[_0x1399bf(0x137)](_0x1d7964,_0x1399bf(0x10f),(_0x4dbb99,_0x47bd5b,_0x31a228,_0x2c0436)=>{const _0x1ec7bd=_0x1399bf;_0x2c0436&&_0x2f1f4c[_0x1ec7bd(0x116)](_0x2c0436),_0x31a228&&_0x2f1f4c[_0x1ec7bd(0x121)](_0x31a228);});}[_0x215ce6(0x12a)](_0xba7bc){const _0x3fe955=_0x215ce6;if(this[_0x3fe955(0x112)][_0x3fe955(0x133)](_0xba7bc),!this[_0x3fe955(0x10d)][_0x3fe955(0x139)](_0xba7bc))throw new _0x5246fe(_0x3fe955(0x13d),this,{'uiName':_0xba7bc});const _0x2e4c82=this[_0x3fe955(0x10d)][_0x3fe955(0x10c)](_0xba7bc);_0x2e4c82[_0x3fe955(0x119)](),this[_0x3fe955(0x113)](_0x2e4c82),this[_0x3fe955(0x145)][_0x3fe955(0x10c)](_0xba7bc)[_0x3fe955(0x144)][_0x3fe955(0x115)](),this[_0x3fe955(0x145)][_0x3fe955(0x133)](_0xba7bc);}[_0x215ce6(0x118)](_0x2aec35){const _0x22e335=_0x215ce6;if(!this[_0x22e335(0x10d)][_0x22e335(0x139)](_0x2aec35))throw new _0x5246fe(_0x22e335(0x13d),this,{'uiName':_0x2aec35});const _0x259a2a=this[_0x22e335(0x132)][_0x22e335(0x111)][_0x22e335(0x10c)](_0x2e7514),_0x10f091=Array[_0x22e335(0x12d)](_0x259a2a[_0x22e335(0x11b)])[0x0]||null;this[_0x22e335(0x138)](),this[_0x22e335(0x126)](_0x2aec35);const _0x287a24=this[_0x22e335(0x10d)][_0x22e335(0x10c)](_0x2aec35);_0x287a24[_0x22e335(0x12f)](_0x10f091),_0x287a24[_0x22e335(0x11a)]&&_0x10f091&&_0x287a24[_0x22e335(0x11a)]([_0x10f091]);}[_0x215ce6(0x138)](){const _0xd53b7=_0x215ce6;for(const _0x3a43bd of this[_0xd53b7(0x112)])this[_0xd53b7(0x12a)](_0x3a43bd);}[_0x215ce6(0x11c)](_0x1e91d1,_0x1f1ec2){const _0x35a9a7=_0x215ce6;if(this[_0x35a9a7(0x10d)][_0x35a9a7(0x139)](_0x1e91d1))throw new _0x5246fe(_0x35a9a7(0x148));if(_0x35a9a7(0x122)!=typeof _0x1f1ec2[_0x35a9a7(0x143)]||_0x35a9a7(0x122)!=typeof _0x1f1ec2[_0x35a9a7(0x119)]||_0x35a9a7(0x122)!=typeof _0x1f1ec2[_0x35a9a7(0x12f)])throw new _0x5246fe(_0x35a9a7(0x146),null);this[_0x35a9a7(0x10d)][_0x35a9a7(0x141)](_0x1e91d1,_0x1f1ec2);}[_0x215ce6(0x13f)](){const _0x1b9faa=_0x215ce6,_0x1acb18=this[_0x1b9faa(0x132)][_0x1b9faa(0x111)][_0x1b9faa(0x10c)](_0x2e7514)[_0x1b9faa(0x144)],_0x57825a=new Map(),_0x634e07=Array[_0x1b9faa(0x12d)](this[_0x1b9faa(0x112)]);for(const _0x333898 of this[_0x1b9faa(0x112)]){const _0x18cc32=this[_0x1b9faa(0x145)][_0x1b9faa(0x10c)](_0x333898)[_0x1b9faa(0x144)];for(const _0x3cfb1c of _0x18cc32)_0x57825a[_0x1b9faa(0x141)](_0x3cfb1c,_0x333898);}for(const _0x473fd6 of _0x1acb18){const _0x3d4471=_0x57825a[_0x1b9faa(0x10c)](_0x473fd6);this[_0x1b9faa(0x11f)](_0x473fd6);const _0x46e864=_0x634e07[_0x1b9faa(0x12b)](_0x53b6aa=>this[_0x1b9faa(0x145)][_0x1b9faa(0x10c)](_0x53b6aa)[_0x1b9faa(0x13c)](_0x473fd6));_0x3d4471!==_0x46e864&&(_0x3d4471&&this[_0x1b9faa(0x145)][_0x1b9faa(0x10c)](_0x3d4471)[_0x1b9faa(0x144)][_0x1b9faa(0x125)](_0x473fd6),_0x46e864&&this[_0x1b9faa(0x145)][_0x1b9faa(0x10c)](_0x46e864)[_0x1b9faa(0x144)][_0x1b9faa(0x127)](_0x473fd6));}}[_0x215ce6(0x115)](){const _0x2c0edf=_0x215ce6;this[_0x2c0edf(0x138)](),super[_0x2c0edf(0x115)]();}[_0x215ce6(0x11f)](_0xb27201){const _0x17d4f2=_0x215ce6,_0x4aba1c=[];for(const _0x136166 of this[_0x17d4f2(0x112)]){(0x0,this[_0x17d4f2(0x145)][_0x17d4f2(0x10c)](_0x136166)[_0x17d4f2(0x13c)])(_0xb27201)&&_0x4aba1c[_0x17d4f2(0x140)](_0x136166);}if(_0x4aba1c[_0x17d4f2(0x11d)]>0x1)throw new _0x5246fe(_0x17d4f2(0x135),null,{'matchedUIs':_0x4aba1c,'annotationType':_0xb27201[_0x17d4f2(0x12c)]});}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/annotations/editorannotations
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x37c9(){const _0x183520=['push','isEqual','refreshSelectedViews','selection','collection','element','plugins','_editorAnnotations','6615RkOvOY','view','blur','getOrderedSelectedAnnotations','editorannotations-invalid-source-callback','init','registerAnnotation','function','fire','containsRange','760PYLEMZ','hasDomSelection','focusTracker','editor','annotation','isPremiumPlugin','get','isReadOnly','addSourceCollector','39630wjbYBR','document','getRanges','listenTo','_editorAnnotationsData','sort','cancel','map','directChange','isOfficialPlugin','EditorAnnotations','update','isCollapsed','range','getByInnerView','refresh','innerView','model','31779kECsLf','1425YoGtyL','91srrNnh','delete','1102900QaBYVP','5568cmPAZR','change:isFocused','1710VWFgvn','requires','has','add','8pulGEn','editing','_dataCollectors','uiUpdate','set','pluginName','change:range','8384028WlnCtT','from','remove','562680Tavuun'];_0x37c9=function(){return _0x183520;};return _0x37c9();}const _0x5999b1=_0x3277;(function(_0x155af2,_0x3b270d){const _0x34d35e=_0x3277,_0x2382a9=_0x155af2();while(!![]){try{const _0x1a9c9e=-parseInt(_0x34d35e(0x152))/0x1+-parseInt(_0x34d35e(0x165))/0x2*(parseInt(_0x34d35e(0x13e))/0x3)+parseInt(_0x34d35e(0x148))/0x4*(parseInt(_0x34d35e(0x141))/0x5)+parseInt(_0x34d35e(0x16e))/0x6*(-parseInt(_0x34d35e(0x13f))/0x7)+parseInt(_0x34d35e(0x142))/0x8*(-parseInt(_0x34d35e(0x15b))/0x9)+parseInt(_0x34d35e(0x144))/0xa*(parseInt(_0x34d35e(0x13d))/0xb)+parseInt(_0x34d35e(0x14f))/0xc;if(_0x1a9c9e===_0x3b270d)break;else _0x2382a9['push'](_0x2382a9['shift']());}catch(_0x56fa05){_0x2382a9['push'](_0x2382a9['shift']());}}}(_0x37c9,0x4797b));import{Plugin as _0x360e4e}from'ckeditor5/src/core.js';import{CKEditorError as _0x228750}from'ckeditor5/src/utils.js';import{debounce as _0x235369}from'lodash-es';function _0x3277(_0x4f053b,_0x1786b3){const _0x37c970=_0x37c9();return _0x3277=function(_0x327738,_0x3e840f){_0x327738=_0x327738-0x132;let _0x13e80e=_0x37c970[_0x327738];return _0x13e80e;},_0x3277(_0x4f053b,_0x1786b3);}import _0x46a1bd from'./annotations.js';export default class P extends _0x360e4e{static get[_0x5999b1(0x145)](){return[_0x46a1bd];}static get[_0x5999b1(0x14d)](){const _0x26293f=_0x5999b1;return _0x26293f(0x135);}static get[_0x5999b1(0x134)](){return!0x0;}static get[_0x5999b1(0x16a)](){return!0x0;}constructor(_0xcc3945){const _0x510e9e=_0x5999b1;super(_0xcc3945),this[_0x510e9e(0x14a)]=new Set(),this[_0x510e9e(0x15a)]=new Set();}[_0x5999b1(0x160)](){const _0x20258c=_0x5999b1,_0x4278fe=this[_0x20258c(0x168)],_0x4c3f00=_0x4278fe[_0x20258c(0x13c)][_0x20258c(0x16f)][_0x20258c(0x156)],_0x416000=_0x235369(()=>this[_0x20258c(0x155)](),0xa);_0x4c3f00['on'](_0x20258c(0x14e),(_0x349721,_0x3bb8db)=>{const _0x1d4fe4=_0x20258c;_0x3bb8db[_0x1d4fe4(0x133)]&&(_0x416000[_0x1d4fe4(0x174)](),this[_0x1d4fe4(0x155)]());}),this[_0x20258c(0x171)](_0x4278fe[_0x20258c(0x149)][_0x20258c(0x15c)][_0x20258c(0x16f)],_0x20258c(0x143),(_0x5d3506,_0x1c389e,_0x54215a)=>{_0x54215a&&_0x416000();}),this[_0x20258c(0x171)](_0x4278fe['ui'][_0x20258c(0x167)],_0x20258c(0x143),(_0x4bc661,_0x38e5dd,_0x407149)=>{const _0x11b140=_0x20258c;_0x407149||_0x4278fe[_0x11b140(0x16c)]||this[_0x11b140(0x163)](_0x11b140(0x15d),{'isAnnotationTracked':_0x10d95d=>this[_0x11b140(0x172)][_0x11b140(0x146)](_0x10d95d[_0x11b140(0x13b)])});}),this[_0x20258c(0x171)](this[_0x20258c(0x168)]['ui'],_0x20258c(0x136),()=>this[_0x20258c(0x163)](_0x20258c(0x14b)));}[_0x5999b1(0x161)](_0x23d2ea){const _0x500e45=_0x5999b1;if(this[_0x500e45(0x15a)][_0x500e45(0x146)](_0x23d2ea[_0x500e45(0x15c)]))return;this[_0x500e45(0x15a)][_0x500e45(0x147)](_0x23d2ea[_0x500e45(0x15c)]),this[_0x500e45(0x168)]['ui'][_0x500e45(0x167)][_0x500e45(0x147)](_0x23d2ea[_0x500e45(0x15c)][_0x500e45(0x158)]);const _0x26a97d=this[_0x500e45(0x168)][_0x500e45(0x159)][_0x500e45(0x16b)](_0x46a1bd);this[_0x500e45(0x171)](_0x26a97d[_0x500e45(0x157)],_0x500e45(0x151),(_0x15a13c,_0x1e2aa4)=>{const _0x2157ad=_0x500e45;this[_0x2157ad(0x168)]['ui'][_0x2157ad(0x167)][_0x2157ad(0x151)](_0x1e2aa4[_0x2157ad(0x15c)][_0x2157ad(0x158)]),this[_0x2157ad(0x15a)][_0x2157ad(0x140)](_0x1e2aa4[_0x2157ad(0x15c)]);});}[_0x5999b1(0x166)](){const _0x3a04ed=_0x5999b1;return this[_0x3a04ed(0x168)][_0x3a04ed(0x149)][_0x3a04ed(0x15c)][_0x3a04ed(0x166)];}[_0x5999b1(0x16d)](_0x15fd19){const _0x499461=_0x5999b1;if(_0x499461(0x162)!=typeof _0x15fd19)throw new _0x228750(_0x499461(0x15f));this[_0x499461(0x14a)][_0x499461(0x147)](_0x15fd19);}[_0x5999b1(0x155)](){const _0x2e2144=_0x5999b1;this[_0x2e2144(0x163)](_0x2e2144(0x13a));}[_0x5999b1(0x15e)]({activeAnnotation:_0x561e1c,annotations:_0x1cf3b9}){const _0x39f810=_0x5999b1,_0x26983d=[],_0x941ce1=this[_0x39f810(0x168)][_0x39f810(0x13c)][_0x39f810(0x16f)][_0x39f810(0x156)],_0x498060=Array[_0x39f810(0x150)](_0x941ce1[_0x39f810(0x170)]());for(const [_0x4ce444,_0x24c484]of this[_0x39f810(0x172)]){const _0x3fa839=_0x15fe3a(_0x24c484),_0x49ea83=_0x1cf3b9[_0x39f810(0x139)](_0x4ce444);_0x3fa839&&_0x49ea83&&_0x26983d[_0x39f810(0x153)]({'annotation':_0x49ea83,'range':_0x3fa839});}function _0x15fe3a(_0xe4b09){const _0x2c9387=_0x39f810;for(const _0x27f181 of _0xe4b09)for(const _0x149ae6 of _0x498060)if(_0x27f181[_0x2c9387(0x164)](_0x149ae6,!_0x941ce1[_0x2c9387(0x137)]))return _0x27f181;return null;}return _0x26983d[_0x39f810(0x173)]((_0xace976,_0xca17ba)=>{const _0x54339d=_0x39f810,_0x2ebb97=_0xace976[_0x54339d(0x138)],_0x2e68db=_0xca17ba[_0x54339d(0x138)];if(!_0x2ebb97[_0x54339d(0x154)](_0x2e68db)){if(_0x2ebb97[_0x54339d(0x164)](_0x2e68db,!0x0))return 0x1;if(_0x2e68db[_0x54339d(0x164)](_0x2ebb97,!0x0))return-0x1;}return _0xace976[_0x54339d(0x169)]==_0x561e1c?-0x1:_0xca17ba[_0x54339d(0x169)]==_0x561e1c?0x1:0x0;})[_0x39f810(0x132)](_0xc55565=>_0xc55565[_0x39f810(0x169)]);}get[_0x5999b1(0x172)](){const _0x55b962=_0x5999b1,_0x56ea9f=new Map();for(const _0x4dd64f of Array[_0x55b962(0x150)](this[_0x55b962(0x14a)]))for(const [_0x1a0bf1,_0x195c48]of _0x4dd64f())_0x56ea9f[_0x55b962(0x14c)](_0x1a0bf1,_0x195c48);return _0x56ea9f;}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/annotations/inlineannotations
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x7d3441=_0x29b2;(function(_0x2d9bdd,_0x2e142b){const _0x6c591d=_0x29b2,_0x3566a6=_0x2d9bdd();while(!![]){try{const _0xd8caa0=parseInt(_0x6c591d(0x1cc))/0x1*(-parseInt(_0x6c591d(0x1d6))/0x2)+parseInt(_0x6c591d(0x1d2))/0x3+-parseInt(_0x6c591d(0x199))/0x4*(-parseInt(_0x6c591d(0x1a5))/0x5)+-parseInt(_0x6c591d(0x185))/0x6*(parseInt(_0x6c591d(0x1c6))/0x7)+parseInt(_0x6c591d(0x1bf))/0x8*(parseInt(_0x6c591d(0x193))/0x9)+parseInt(_0x6c591d(0x1ce))/0xa+parseInt(_0x6c591d(0x1a3))/0xb*(-parseInt(_0x6c591d(0x1b7))/0xc);if(_0xd8caa0===_0x2e142b)break;else _0x3566a6['push'](_0x3566a6['shift']());}catch(_0x5b2e10){_0x3566a6['push'](_0x3566a6['shift']());}}}(_0x343b,0xd5cc5));function _0x343b(){const _0x1905e2=['8723760jISGwq','domConverter','isOfficialPlugin','editing','1020984BmMFrX','context','top','inlineannotations-attach-already-attached','4446FcCfuz','addObserver','showStack','getBoundingClientRect','_addedAnnotations','inline','stopListening','destroy','editor','add','from','Esc','detach','update','activeAnnotation','listenTo','change:height','InlineAnnotations','setActiveAnnotation','view','88866LtlgMM','_addAnnotationToBalloon','fromRect','target','hasView','getByView','left','map','_manuallyClosed','set','every','_removeAnnotationFromBalloon','length','_selectedAnnotations','63ODMtFR','inlineannotations-detach-not-attached','focusTracker','plugins','width','get','121348ebREjX','viewRangeToDom','afterInit','hasActive','attach','isFocused','targetRect','delete','init','keystrokes','230439FPoxgp','has','50aUAKuD','push','updatePosition','mousedown','pluginName','bottom','_balloon','selection','switchTo','_closeAnnotation','refresh','remove','clear','visibleView','_getBalloonTargetForAnnotation','getClientRects','annotations','inlineannotations-not-allowed-with-context','576xbgvxd','register','change:isFocused','editableElement','collapse','requires','find','right','1506808wUbuRy','_forceRefresh','document','change:visibleView','_setSelectedAnnotations','blur','includes','315LMSkOg','getFirstRange','isAttached','focus','isActive','isPremiumPlugin','129YBgbia','getOrderedSelectedAnnotations'];_0x343b=function(){return _0x1905e2;};return _0x343b();}import{Plugin as _0x142218}from'ckeditor5/src/core.js';function _0x29b2(_0x354b96,_0x6254bc){const _0x343b75=_0x343b();return _0x29b2=function(_0x29b210,_0x5ab792){_0x29b210=_0x29b210-0x185;let _0x16b9ef=_0x343b75[_0x29b210];return _0x16b9ef;},_0x29b2(_0x354b96,_0x6254bc);}import _0x2657e0 from'./annotationsuis.js';import _0x1dfa74 from'./editorannotations.js';import{ContextualBalloon as _0x31f1e2}from'ckeditor5/src/ui.js';import{MouseObserver as _0xf5b3df}from'ckeditor5/src/engine.js';import{CKEditorError as _0x590b0e,Rect as _0x1f9920}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x142218{static get[_0x7d3441(0x1bc)](){return[_0x1dfa74,_0x31f1e2,_0x2657e0];}static get[_0x7d3441(0x1a9)](){const _0x2eeb90=_0x7d3441;return _0x2eeb90(0x1e7);}static get[_0x7d3441(0x1d0)](){return!0x0;}static get[_0x7d3441(0x1cb)](){return!0x0;}constructor(_0x3fa465){const _0x371310=_0x7d3441;super(_0x3fa465),_0x3fa465[_0x371310(0x1d1)][_0x371310(0x1e9)][_0x371310(0x1d7)](_0xf5b3df),this[_0x371310(0x1c8)]=!0x1,this[_0x371310(0x18e)](_0x371310(0x1e4),null),this[_0x371310(0x1b5)]=null,this[_0x371310(0x18d)]=new Set(),this[_0x371310(0x1ab)]=_0x3fa465[_0x371310(0x196)][_0x371310(0x198)](_0x31f1e2),this[_0x371310(0x1da)]=new Set(),this[_0x371310(0x192)]=[],this[_0x371310(0x1c0)]=!0x1;}[_0x7d3441(0x1a1)](){const _0x40e18c=_0x7d3441,_0x323182=this[_0x40e18c(0x1de)][_0x40e18c(0x196)][_0x40e18c(0x198)](_0x2657e0);_0x323182[_0x40e18c(0x1d3)]===this[_0x40e18c(0x1de)]&&(_0x323182[_0x40e18c(0x1b8)](_0x40e18c(0x1db),this),this[_0x40e18c(0x1de)][_0x40e18c(0x1a2)][_0x40e18c(0x18e)](_0x40e18c(0x1e1),(_0x224aca,_0x4757fb)=>{const _0x556a00=_0x40e18c,_0x1ab3a2=this[_0x556a00(0x1ab)];if(this[_0x556a00(0x1c8)]&&_0x1ab3a2[_0x556a00(0x1b2)]){const _0x1770f7=this[_0x556a00(0x1b5)][_0x556a00(0x18a)](_0x1ab3a2[_0x556a00(0x1b2)]);_0x1770f7&&this[_0x556a00(0x1ae)](_0x1770f7),_0x4757fb();}}));}[_0x7d3441(0x19b)](){const _0x3d0aba=_0x7d3441,_0xe427a8=this[_0x3d0aba(0x1de)][_0x3d0aba(0x196)][_0x3d0aba(0x198)](_0x2657e0);_0xe427a8[_0x3d0aba(0x1d3)]===this[_0x3d0aba(0x1de)]&&(_0xe427a8[_0x3d0aba(0x19c)]()||_0xe427a8[_0x3d0aba(0x1ad)](_0x3d0aba(0x1db)));}[_0x7d3441(0x1e8)](_0x89b195){const _0x504548=_0x7d3441;_0x89b195!==this[_0x504548(0x1e4)]&&(this[_0x504548(0x1e4)]&&(this[_0x504548(0x1e4)][_0x504548(0x1ca)]=!0x1),_0x89b195&&this[_0x504548(0x1de)]['ui'][_0x504548(0x195)][_0x504548(0x19e)]&&(this[_0x504548(0x1b5)][_0x504548(0x1a4)](_0x89b195)&&this[_0x504548(0x186)](_0x89b195,!0x0),_0x89b195[_0x504548(0x1ca)]=!0x0),_0x89b195||this[_0x504548(0x1c3)]([]),this[_0x504548(0x1e4)]=_0x89b195);}[_0x7d3441(0x19d)](_0x2e23be){const _0x12bde3=_0x7d3441;this[_0x12bde3(0x1b5)]=_0x2e23be;const _0x528cfd=this[_0x12bde3(0x1de)][_0x12bde3(0x196)][_0x12bde3(0x198)](_0x2657e0),_0x54032c=this[_0x12bde3(0x1ab)];if(this[_0x12bde3(0x1c8)])throw new _0x590b0e(_0x12bde3(0x1d5),this);if(_0x528cfd[_0x12bde3(0x1d3)]!==this[_0x12bde3(0x1de)])throw new _0x590b0e(_0x12bde3(0x1b6),this);const _0x16fe6a=this[_0x12bde3(0x1de)][_0x12bde3(0x196)][_0x12bde3(0x198)](_0x1dfa74);this[_0x12bde3(0x1e5)](_0x16fe6a,_0x12bde3(0x1af),()=>{const _0x1e53ed=_0x12bde3,_0x1fc726=_0x16fe6a[_0x1e53ed(0x1cd)]({'annotations':this[_0x1e53ed(0x1b5)],'activeAnnotation':this[_0x1e53ed(0x1e4)]});var _0x1f15db,_0x3304a1;!this[_0x1e53ed(0x1c0)]&&(_0x1f15db=_0x1fc726,_0x3304a1=this[_0x1e53ed(0x192)],_0x1f15db[_0x1e53ed(0x191)]===_0x3304a1[_0x1e53ed(0x191)]&&_0x1f15db[_0x1e53ed(0x18f)](_0x35c52c=>_0x3304a1[_0x1e53ed(0x1c5)](_0x35c52c)))||(this[_0x1e53ed(0x1c0)]=!0x1,this[_0x1e53ed(0x1c3)](_0x1fc726),this[_0x1e53ed(0x1e8)](_0x1fc726[0x0]||null));}),this[_0x12bde3(0x1e5)](_0x16fe6a,_0x12bde3(0x1c4),(_0x5c8316,{isAnnotationTracked:_0x1edfbb})=>{const _0x35491d=_0x12bde3;this[_0x35491d(0x1e4)]&&_0x1edfbb(this[_0x35491d(0x1e4)])&&(this[_0x35491d(0x1c3)]([]),this[_0x35491d(0x1e8)](null));}),this[_0x12bde3(0x1e5)](this[_0x12bde3(0x1de)]['ui'][_0x12bde3(0x195)],_0x12bde3(0x1b9),(_0x435e1f,_0x45315d,_0x4f9070)=>{const _0x165fc2=_0x12bde3;_0x4f9070||this[_0x165fc2(0x1e8)](null);}),this[_0x12bde3(0x1e5)](_0x2e23be,_0x12bde3(0x1b0),(_0x1b6676,_0xfb390a)=>{const _0x51492b=_0x12bde3;this[_0x51492b(0x190)](_0xfb390a),_0xfb390a===this[_0x51492b(0x1e4)]&&this[_0x51492b(0x1e8)](null);}),this[_0x12bde3(0x1e5)](_0x54032c,_0x12bde3(0x1c2),(_0x37e8cb,_0x165e53,_0x28e375,_0x310dbb)=>{const _0x440df1=_0x12bde3;_0x310dbb&&this[_0x440df1(0x1dc)](_0x310dbb);const _0x3ad571=_0x2e23be[_0x440df1(0x18a)](_0x28e375);_0x28e375&&_0x3ad571&&(this[_0x440df1(0x1e5)](_0x28e375,_0x440df1(0x1e6),()=>{const _0x5d443f=_0x440df1;_0x54032c[_0x5d443f(0x1a7)]();}),this[_0x440df1(0x1e5)](_0x28e375,_0x440df1(0x1e1),()=>{const _0x5020ff=_0x440df1;this[_0x5020ff(0x1ae)](_0x3ad571),this[_0x5020ff(0x1de)][_0x5020ff(0x1d1)][_0x5020ff(0x1e9)][_0x5020ff(0x1c9)]();}),this[_0x440df1(0x1e4)]!==_0x3ad571&&this[_0x440df1(0x1e8)](_0x3ad571));}),this[_0x12bde3(0x1e5)](this[_0x12bde3(0x1de)]['ui'],_0x12bde3(0x1e3),()=>{const _0x5a884a=_0x12bde3;_0x54032c[_0x5a884a(0x1b2)]&&(_0x2e23be[_0x5a884a(0x18a)](_0x54032c[_0x5a884a(0x1b2)])&&_0x54032c[_0x5a884a(0x1a7)]());}),this[_0x12bde3(0x1e5)](this[_0x12bde3(0x1de)][_0x12bde3(0x1d1)][_0x12bde3(0x1e9)][_0x12bde3(0x1c1)],_0x12bde3(0x1a8),()=>{const _0x232b50=_0x12bde3;this[_0x232b50(0x1c0)]=!0x0,this[_0x232b50(0x18d)][_0x232b50(0x1b1)]();}),this[_0x12bde3(0x1de)][_0x12bde3(0x1d1)][_0x12bde3(0x1e9)][_0x12bde3(0x1c1)][_0x12bde3(0x1ac)][_0x12bde3(0x1ba)]&&this[_0x12bde3(0x1de)][_0x12bde3(0x1d1)][_0x12bde3(0x1e9)][_0x12bde3(0x1c9)](),this[_0x12bde3(0x1c8)]=!0x0;}[_0x7d3441(0x1e2)](){const _0x171dc3=_0x7d3441;if(!this[_0x171dc3(0x1c8)])throw new _0x590b0e(_0x171dc3(0x194),this);this[_0x171dc3(0x1e8)](null);for(const _0xd73566 of this[_0x171dc3(0x1da)])this[_0x171dc3(0x190)](_0xd73566);this[_0x171dc3(0x1dc)](),this[_0x171dc3(0x1c8)]=!0x1,this[_0x171dc3(0x1b5)]=null;}[_0x7d3441(0x1dd)](){const _0x2097be=_0x7d3441;this[_0x2097be(0x1c8)]&&this[_0x2097be(0x1e2)]();}[_0x7d3441(0x1c3)](_0x5f4814){const _0x20416b=_0x7d3441;for(const _0x5ab4ab of this[_0x20416b(0x192)])_0x5f4814[_0x20416b(0x1c5)](_0x5ab4ab)||this[_0x20416b(0x18d)][_0x20416b(0x1a0)](_0x5ab4ab);for(const _0x28efef of this[_0x20416b(0x1b5)])_0x5f4814[_0x20416b(0x1c5)](_0x28efef)||this[_0x20416b(0x190)](_0x28efef);if(this[_0x20416b(0x1de)]['ui'][_0x20416b(0x195)][_0x20416b(0x19e)]){for(const _0x4cce6d of _0x5f4814)this[_0x20416b(0x186)](_0x4cce6d);}this[_0x20416b(0x192)]=_0x5f4814;}[_0x7d3441(0x186)](_0x5a51ee,_0x8c90f5=!0x1){const _0x7eb953=_0x7d3441;this[_0x7eb953(0x18d)][_0x7eb953(0x1a4)](_0x5a51ee)||(this[_0x7eb953(0x1da)][_0x7eb953(0x1a4)](_0x5a51ee)||this[_0x7eb953(0x1ab)][_0x7eb953(0x189)](_0x5a51ee[_0x7eb953(0x1e9)])||(this[_0x7eb953(0x1da)][_0x7eb953(0x1df)](_0x5a51ee),this[_0x7eb953(0x1ab)][_0x7eb953(0x1df)]({'stackId':_0x5a51ee[_0x7eb953(0x1e9)]['id'],'view':_0x5a51ee[_0x7eb953(0x1e9)],'position':{'target':()=>this[_0x7eb953(0x1b3)](_0x5a51ee)}})),_0x8c90f5&&this[_0x7eb953(0x1ab)][_0x7eb953(0x1d8)](_0x5a51ee[_0x7eb953(0x1e9)]['id']));}[_0x7d3441(0x1b3)](_0x13371a){const _0x4ef9e9=_0x7d3441,_0x5169b4=_0x13371a[_0x4ef9e9(0x188)],_0xd816ae=this[_0x4ef9e9(0x1de)][_0x4ef9e9(0x1d1)][_0x4ef9e9(0x1e9)],_0x23c128=_0xd816ae[_0x4ef9e9(0x1c1)][_0x4ef9e9(0x1ac)][_0x4ef9e9(0x1c7)](),_0x5ddd0f=_0xd816ae[_0x4ef9e9(0x1cf)][_0x4ef9e9(0x19a)](_0x23c128);if(_0x5ddd0f[_0x4ef9e9(0x1bb)](!0x0),_0x5169b4){if(_0x5169b4 instanceof _0x1f9920)return _0x5169b4;let _0x36ad0d=[];for(const _0x5f5cc7 of _0x5169b4)_0x36ad0d[_0x4ef9e9(0x1a6)](...(_0x590b94=_0x5f5cc7[_0x4ef9e9(0x1b4)](),Array[_0x4ef9e9(0x1e0)](_0x590b94)[_0x4ef9e9(0x18c)](DOMRect[_0x4ef9e9(0x187)])));_0x36ad0d=function(_0x335b91){const _0x58509c=_0x4ef9e9,_0x24b37a=[];let _0x46445a=_0x335b91[0x0];for(let _0x2e380a=0x1;_0x2e380a<_0x335b91[_0x58509c(0x191)];_0x2e380a++)b(_0x46445a,_0x335b91[_0x2e380a])?_0x46445a[_0x58509c(0x197)]+=_0x335b91[_0x2e380a][_0x58509c(0x197)]:(_0x24b37a[_0x58509c(0x1a6)](_0x46445a),_0x46445a=_0x335b91[_0x2e380a]);return _0x24b37a[_0x58509c(0x1a6)](_0x46445a),_0x24b37a;}(_0x36ad0d);const _0x27ec30=_0x5ddd0f[_0x4ef9e9(0x1d9)]();return _0x36ad0d[_0x4ef9e9(0x1bd)](_0x64572c=>_0x64572c[_0x4ef9e9(0x1d4)]<=_0x27ec30[_0x4ef9e9(0x1d4)]&&_0x64572c[_0x4ef9e9(0x1aa)]>=_0x27ec30[_0x4ef9e9(0x1aa)]&&_0x64572c[_0x4ef9e9(0x18b)]<=_0x27ec30[_0x4ef9e9(0x18b)]&&_0x64572c[_0x4ef9e9(0x1be)]>=_0x27ec30[_0x4ef9e9(0x1be)])||_0x36ad0d[0x0];}var _0x590b94;return _0x13371a[_0x4ef9e9(0x19f)]||_0x5ddd0f;}[_0x7d3441(0x190)](_0x88d5c2){const _0x51e38f=_0x7d3441;this[_0x51e38f(0x1da)][_0x51e38f(0x1a4)](_0x88d5c2)&&this[_0x51e38f(0x1ab)][_0x51e38f(0x189)](_0x88d5c2[_0x51e38f(0x1e9)])&&(this[_0x51e38f(0x1da)][_0x51e38f(0x1a0)](_0x88d5c2),this[_0x51e38f(0x1ab)][_0x51e38f(0x1b0)](_0x88d5c2[_0x51e38f(0x1e9)]));}[_0x7d3441(0x1ae)](_0x2e3783){const _0x52c3a6=_0x7d3441;this[_0x52c3a6(0x18d)][_0x52c3a6(0x1df)](_0x2e3783),this[_0x52c3a6(0x190)](_0x2e3783);}}function b(_0x14329a,_0xb4c23b){const _0x168504=_0x7d3441;return _0x14329a[_0x168504(0x1d4)]===_0xb4c23b[_0x168504(0x1d4)]&&_0x14329a[_0x168504(0x1aa)]===_0xb4c23b[_0x168504(0x1aa)]&&_0x14329a[_0x168504(0x1be)]===_0xb4c23b[_0x168504(0x18b)];}
|
|
23
|
+
function _0x453c(_0x15b0b3,_0x14a6b9){const _0x428253=_0x4282();return _0x453c=function(_0x453c9d,_0x584f87){_0x453c9d=_0x453c9d-0x1ea;let _0x20fd47=_0x428253[_0x453c9d];return _0x20fd47;},_0x453c(_0x15b0b3,_0x14a6b9);}const _0x480bd7=_0x453c;(function(_0x48c016,_0x49ad2a){const _0x1cba84=_0x453c,_0x198c7e=_0x48c016();while(!![]){try{const _0x37157f=-parseInt(_0x1cba84(0x203))/0x1+-parseInt(_0x1cba84(0x20c))/0x2+parseInt(_0x1cba84(0x20b))/0x3+parseInt(_0x1cba84(0x248))/0x4+parseInt(_0x1cba84(0x1ec))/0x5+parseInt(_0x1cba84(0x1fa))/0x6*(parseInt(_0x1cba84(0x227))/0x7)+parseInt(_0x1cba84(0x206))/0x8;if(_0x37157f===_0x49ad2a)break;else _0x198c7e['push'](_0x198c7e['shift']());}catch(_0x16450a){_0x198c7e['push'](_0x198c7e['shift']());}}}(_0x4282,0x36cd2));import{Plugin as _0x37dc0e}from'ckeditor5/src/core.js';import _0x20360d from'./annotationsuis.js';import _0x523a79 from'./editorannotations.js';import{ContextualBalloon as _0x564828}from'ckeditor5/src/ui.js';import{MouseObserver as _0x29bbfe}from'ckeditor5/src/engine.js';import{CKEditorError as _0x3da58b,Rect as _0x2755d8}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x37dc0e{static get[_0x480bd7(0x223)](){return[_0x523a79,_0x564828,_0x20360d];}static get[_0x480bd7(0x1ea)](){const _0x3f953e=_0x480bd7;return _0x3f953e(0x23d);}static get[_0x480bd7(0x249)](){return!0x0;}static get[_0x480bd7(0x1fb)](){return!0x0;}constructor(_0x1edcbd){const _0x1181aa=_0x480bd7;super(_0x1edcbd),_0x1edcbd[_0x1181aa(0x22a)][_0x1181aa(0x219)][_0x1181aa(0x24a)](_0x29bbfe),this[_0x1181aa(0x205)]=!0x1,this[_0x1181aa(0x23f)](_0x1181aa(0x1f2),null),this[_0x1181aa(0x1f1)]=null,this[_0x1181aa(0x20a)]=new Set(),this[_0x1181aa(0x201)]=_0x1edcbd[_0x1181aa(0x20e)][_0x1181aa(0x228)](_0x564828),this[_0x1181aa(0x212)]=new Set(),this[_0x1181aa(0x216)]=[],this[_0x1181aa(0x1fe)]=!0x1;}[_0x480bd7(0x21a)](){const _0x261378=_0x480bd7,_0x10130f=this[_0x261378(0x21f)][_0x261378(0x20e)][_0x261378(0x228)](_0x20360d);_0x10130f[_0x261378(0x213)]===this[_0x261378(0x21f)]&&(_0x10130f[_0x261378(0x1ff)](_0x261378(0x21d),this),this[_0x261378(0x21f)][_0x261378(0x240)][_0x261378(0x23f)](_0x261378(0x232),(_0x3e9c77,_0x3d08de)=>{const _0x281e4a=_0x261378,_0x5ce870=this[_0x281e4a(0x201)];if(this[_0x281e4a(0x205)]&&_0x5ce870[_0x281e4a(0x22b)]){const _0x41c1a4=this[_0x281e4a(0x1f1)][_0x281e4a(0x1f7)](_0x5ce870[_0x281e4a(0x22b)]);_0x41c1a4&&this[_0x281e4a(0x1f4)](_0x41c1a4),_0x3d08de();}}));}[_0x480bd7(0x209)](){const _0x316fe1=_0x480bd7,_0x23fa08=this[_0x316fe1(0x21f)][_0x316fe1(0x20e)][_0x316fe1(0x228)](_0x20360d);_0x23fa08[_0x316fe1(0x213)]===this[_0x316fe1(0x21f)]&&(_0x23fa08[_0x316fe1(0x21c)]()||_0x23fa08[_0x316fe1(0x231)](_0x316fe1(0x21d)));}[_0x480bd7(0x23c)](_0x190f4c){const _0x479d76=_0x480bd7;_0x190f4c!==this[_0x479d76(0x1f2)]&&(this[_0x479d76(0x1f2)]&&(this[_0x479d76(0x1f2)][_0x479d76(0x230)]=!0x1),_0x190f4c&&this[_0x479d76(0x21f)]['ui'][_0x479d76(0x211)][_0x479d76(0x218)]&&(this[_0x479d76(0x1f1)][_0x479d76(0x204)](_0x190f4c)&&this[_0x479d76(0x1ef)](_0x190f4c,!0x0),_0x190f4c[_0x479d76(0x230)]=!0x0),_0x190f4c||this[_0x479d76(0x247)]([]),this[_0x479d76(0x1f2)]=_0x190f4c);}[_0x480bd7(0x222)](_0xc63da){const _0x3eb4f1=_0x480bd7;this[_0x3eb4f1(0x1f1)]=_0xc63da;const _0x2c4570=this[_0x3eb4f1(0x21f)][_0x3eb4f1(0x20e)][_0x3eb4f1(0x228)](_0x20360d),_0x2188d0=this[_0x3eb4f1(0x201)];if(this[_0x3eb4f1(0x205)])throw new _0x3da58b(_0x3eb4f1(0x1f0),this);if(_0x2c4570[_0x3eb4f1(0x213)]!==this[_0x3eb4f1(0x21f)])throw new _0x3da58b(_0x3eb4f1(0x1f3),this);const _0x3bcd81=this[_0x3eb4f1(0x21f)][_0x3eb4f1(0x20e)][_0x3eb4f1(0x228)](_0x523a79);this[_0x3eb4f1(0x239)](_0x3bcd81,_0x3eb4f1(0x1f6),()=>{const _0x5cfc99=_0x3eb4f1,_0x33ef85=_0x3bcd81[_0x5cfc99(0x234)]({'annotations':this[_0x5cfc99(0x1f1)],'activeAnnotation':this[_0x5cfc99(0x1f2)]});var _0x497806,_0x3c4245;!this[_0x5cfc99(0x1fe)]&&(_0x497806=_0x33ef85,_0x3c4245=this[_0x5cfc99(0x216)],_0x497806[_0x5cfc99(0x23e)]===_0x3c4245[_0x5cfc99(0x23e)]&&_0x497806[_0x5cfc99(0x235)](_0x35bc9a=>_0x3c4245[_0x5cfc99(0x22d)](_0x35bc9a)))||(this[_0x5cfc99(0x1fe)]=!0x1,this[_0x5cfc99(0x247)](_0x33ef85),this[_0x5cfc99(0x23c)](_0x33ef85[0x0]||null));}),this[_0x3eb4f1(0x239)](_0x3bcd81,_0x3eb4f1(0x1f9),(_0x2996ba,{isAnnotationTracked:_0x3284c1})=>{const _0x102054=_0x3eb4f1;this[_0x102054(0x1f2)]&&_0x3284c1(this[_0x102054(0x1f2)])&&(this[_0x102054(0x247)]([]),this[_0x102054(0x23c)](null));}),this[_0x3eb4f1(0x239)](this[_0x3eb4f1(0x21f)]['ui'][_0x3eb4f1(0x211)],_0x3eb4f1(0x220),(_0x14a4a1,_0x35608a,_0x474e00)=>{const _0x70804=_0x3eb4f1;_0x474e00||this[_0x70804(0x23c)](null);}),this[_0x3eb4f1(0x239)](_0xc63da,_0x3eb4f1(0x22c),(_0x47d076,_0x355823)=>{const _0x8ebdce=_0x3eb4f1;this[_0x8ebdce(0x210)](_0x355823),_0x355823===this[_0x8ebdce(0x1f2)]&&this[_0x8ebdce(0x23c)](null);}),this[_0x3eb4f1(0x239)](_0x2188d0,_0x3eb4f1(0x244),(_0x2bff0b,_0x4dc812,_0xcc0f04,_0x53e4b7)=>{const _0x1f8aa9=_0x3eb4f1;_0x53e4b7&&this[_0x1f8aa9(0x237)](_0x53e4b7);const _0x109b12=_0xc63da[_0x1f8aa9(0x1f7)](_0xcc0f04);_0xcc0f04&&_0x109b12&&(this[_0x1f8aa9(0x239)](_0xcc0f04,_0x1f8aa9(0x22f),()=>{const _0x260994=_0x1f8aa9;_0x2188d0[_0x260994(0x233)]();}),this[_0x1f8aa9(0x239)](_0xcc0f04,_0x1f8aa9(0x232),()=>{const _0x262976=_0x1f8aa9;this[_0x262976(0x1f4)](_0x109b12),this[_0x262976(0x21f)][_0x262976(0x22a)][_0x262976(0x219)][_0x262976(0x241)]();}),this[_0x1f8aa9(0x1f2)]!==_0x109b12&&this[_0x1f8aa9(0x23c)](_0x109b12));}),this[_0x3eb4f1(0x239)](this[_0x3eb4f1(0x21f)]['ui'],_0x3eb4f1(0x23b),()=>{const _0x160c72=_0x3eb4f1;_0x2188d0[_0x160c72(0x22b)]&&(_0xc63da[_0x160c72(0x1f7)](_0x2188d0[_0x160c72(0x22b)])&&_0x2188d0[_0x160c72(0x233)]());}),this[_0x3eb4f1(0x239)](this[_0x3eb4f1(0x21f)][_0x3eb4f1(0x22a)][_0x3eb4f1(0x219)][_0x3eb4f1(0x225)],_0x3eb4f1(0x238),()=>{const _0x5a8a95=_0x3eb4f1;this[_0x5a8a95(0x1fe)]=!0x0,this[_0x5a8a95(0x20a)][_0x5a8a95(0x214)]();}),this[_0x3eb4f1(0x21f)][_0x3eb4f1(0x22a)][_0x3eb4f1(0x219)][_0x3eb4f1(0x225)][_0x3eb4f1(0x202)][_0x3eb4f1(0x224)]&&this[_0x3eb4f1(0x21f)][_0x3eb4f1(0x22a)][_0x3eb4f1(0x219)][_0x3eb4f1(0x241)](),this[_0x3eb4f1(0x205)]=!0x0;}[_0x480bd7(0x21b)](){const _0x5528f9=_0x480bd7;if(!this[_0x5528f9(0x205)])throw new _0x3da58b(_0x5528f9(0x1f8),this);this[_0x5528f9(0x23c)](null);for(const _0x472b91 of this[_0x5528f9(0x212)])this[_0x5528f9(0x210)](_0x472b91);this[_0x5528f9(0x237)](),this[_0x5528f9(0x205)]=!0x1,this[_0x5528f9(0x1f1)]=null;}[_0x480bd7(0x1ed)](){const _0x1faaaf=_0x480bd7;this[_0x1faaaf(0x205)]&&this[_0x1faaaf(0x21b)]();}[_0x480bd7(0x247)](_0x34bd05){const _0x29e05e=_0x480bd7;for(const _0x3875b2 of this[_0x29e05e(0x216)])_0x34bd05[_0x29e05e(0x22d)](_0x3875b2)||this[_0x29e05e(0x20a)][_0x29e05e(0x217)](_0x3875b2);for(const _0x2d76b4 of this[_0x29e05e(0x1f1)])_0x34bd05[_0x29e05e(0x22d)](_0x2d76b4)||this[_0x29e05e(0x210)](_0x2d76b4);if(this[_0x29e05e(0x21f)]['ui'][_0x29e05e(0x211)][_0x29e05e(0x218)]){for(const _0x260325 of _0x34bd05)this[_0x29e05e(0x1ef)](_0x260325);}this[_0x29e05e(0x216)]=_0x34bd05;}[_0x480bd7(0x1ef)](_0xdc42b5,_0x4e506b=!0x1){const _0x46c199=_0x480bd7;this[_0x46c199(0x20a)][_0x46c199(0x204)](_0xdc42b5)||(this[_0x46c199(0x212)][_0x46c199(0x204)](_0xdc42b5)||this[_0x46c199(0x201)][_0x46c199(0x22e)](_0xdc42b5[_0x46c199(0x219)])||(this[_0x46c199(0x212)][_0x46c199(0x242)](_0xdc42b5),this[_0x46c199(0x201)][_0x46c199(0x242)]({'stackId':_0xdc42b5[_0x46c199(0x219)]['id'],'view':_0xdc42b5[_0x46c199(0x219)],'position':{'target':()=>this[_0x46c199(0x23a)](_0xdc42b5)}})),_0x4e506b&&this[_0x46c199(0x201)][_0x46c199(0x1ee)](_0xdc42b5[_0x46c199(0x219)]['id']));}[_0x480bd7(0x23a)](_0x3e6aca){const _0x2cc2b9=_0x480bd7,_0xf2041f=_0x3e6aca[_0x2cc2b9(0x243)],_0x2b3f64=this[_0x2cc2b9(0x21f)][_0x2cc2b9(0x22a)][_0x2cc2b9(0x219)],_0x44438b=_0x2b3f64[_0x2cc2b9(0x225)][_0x2cc2b9(0x202)][_0x2cc2b9(0x1f5)](),_0x16e4f4=_0x2b3f64[_0x2cc2b9(0x200)][_0x2cc2b9(0x236)](_0x44438b);if(_0x16e4f4[_0x2cc2b9(0x208)](!0x0),_0xf2041f){if(_0xf2041f instanceof _0x2755d8)return _0xf2041f;let _0x2606f4=[];for(const _0x5b231f of _0xf2041f)_0x2606f4[_0x2cc2b9(0x21e)](...(_0x552e03=_0x5b231f[_0x2cc2b9(0x246)](),Array[_0x2cc2b9(0x226)](_0x552e03)[_0x2cc2b9(0x245)](DOMRect[_0x2cc2b9(0x221)])));_0x2606f4=function(_0x2d3087){const _0x10d28a=_0x2cc2b9,_0x5816f9=[];let _0x194722=_0x2d3087[0x0];for(let _0x4bbf4b=0x1;_0x4bbf4b<_0x2d3087[_0x10d28a(0x23e)];_0x4bbf4b++)b(_0x194722,_0x2d3087[_0x4bbf4b])?_0x194722[_0x10d28a(0x20f)]+=_0x2d3087[_0x4bbf4b][_0x10d28a(0x20f)]:(_0x5816f9[_0x10d28a(0x21e)](_0x194722),_0x194722=_0x2d3087[_0x4bbf4b]);return _0x5816f9[_0x10d28a(0x21e)](_0x194722),_0x5816f9;}(_0x2606f4);const _0xcc143b=_0x16e4f4[_0x2cc2b9(0x207)]();return _0x2606f4[_0x2cc2b9(0x20d)](_0x2f2e87=>_0x2f2e87[_0x2cc2b9(0x1eb)]<=_0xcc143b[_0x2cc2b9(0x1eb)]&&_0x2f2e87[_0x2cc2b9(0x1fc)]>=_0xcc143b[_0x2cc2b9(0x1fc)]&&_0x2f2e87[_0x2cc2b9(0x229)]<=_0xcc143b[_0x2cc2b9(0x229)]&&_0x2f2e87[_0x2cc2b9(0x215)]>=_0xcc143b[_0x2cc2b9(0x215)])||_0x2606f4[0x0];}var _0x552e03;return _0x3e6aca[_0x2cc2b9(0x1fd)]||_0x16e4f4;}[_0x480bd7(0x210)](_0x27f2f2){const _0x4a1c95=_0x480bd7;this[_0x4a1c95(0x212)][_0x4a1c95(0x204)](_0x27f2f2)&&this[_0x4a1c95(0x201)][_0x4a1c95(0x22e)](_0x27f2f2[_0x4a1c95(0x219)])&&(this[_0x4a1c95(0x212)][_0x4a1c95(0x217)](_0x27f2f2),this[_0x4a1c95(0x201)][_0x4a1c95(0x22c)](_0x27f2f2[_0x4a1c95(0x219)]));}[_0x480bd7(0x1f4)](_0xeab74d){const _0x72fc55=_0x480bd7;this[_0x72fc55(0x20a)][_0x72fc55(0x242)](_0xeab74d),this[_0x72fc55(0x210)](_0xeab74d);}}function _0x4282(){const _0x55ba0d=['left','editing','visibleView','remove','includes','hasView','change:height','isActive','switchTo','Esc','updatePosition','getOrderedSelectedAnnotations','every','viewRangeToDom','stopListening','mousedown','listenTo','_getBalloonTargetForAnnotation','update','setActiveAnnotation','InlineAnnotations','length','set','keystrokes','focus','add','target','change:visibleView','map','getClientRects','_setSelectedAnnotations','1029944gxsavH','isOfficialPlugin','addObserver','pluginName','top','443715bFLUyA','destroy','showStack','_addAnnotationToBalloon','inlineannotations-attach-already-attached','annotations','activeAnnotation','inlineannotations-not-allowed-with-context','_closeAnnotation','getFirstRange','refresh','getByView','inlineannotations-detach-not-attached','blur','4938NfdNnG','isPremiumPlugin','bottom','targetRect','_forceRefresh','register','domConverter','_balloon','selection','256429QaxhZw','has','isAttached','221456pHxoku','getBoundingClientRect','collapse','afterInit','_manuallyClosed','855294qcVTmS','654154xmiIeB','find','plugins','width','_removeAnnotationFromBalloon','focusTracker','_addedAnnotations','context','clear','right','_selectedAnnotations','delete','isFocused','view','init','detach','hasActive','inline','push','editor','change:isFocused','fromRect','attach','requires','editableElement','document','from','1267vLdtvA','get'];_0x4282=function(){return _0x55ba0d;};return _0x4282();}function b(_0x3aeda4,_0x529a78){const _0x3b1914=_0x480bd7;return _0x3aeda4[_0x3b1914(0x1eb)]===_0x529a78[_0x3b1914(0x1eb)]&&_0x3aeda4[_0x3b1914(0x1fc)]===_0x529a78[_0x3b1914(0x1fc)]&&_0x3aeda4[_0x3b1914(0x215)]===_0x529a78[_0x3b1914(0x229)];}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/annotations/narrowsidebar
|