@ckeditor/ckeditor5-comments 42.0.1 → 42.0.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index-content.css +1 -0
- package/dist/index-editor.css +638 -533
- package/dist/index.js +9 -9
- package/dist/translations/af.d.ts +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.d.ts +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.d.ts +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.d.ts +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.d.ts +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.d.ts +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.d.ts +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.d.ts +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.d.ts +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.d.ts +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.d.ts +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.d.ts +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.d.ts +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.d.ts +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.d.ts +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.d.ts +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.d.ts +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.d.ts +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.d.ts +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.d.ts +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.d.ts +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.d.ts +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.d.ts +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.d.ts +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.d.ts +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.d.ts +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.d.ts +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.d.ts +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.d.ts +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.d.ts +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.d.ts +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.d.ts +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.d.ts +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.d.ts +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.d.ts +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.d.ts +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.d.ts +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.d.ts +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.d.ts +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.d.ts +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.d.ts +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.d.ts +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.d.ts +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.d.ts +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.d.ts +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.d.ts +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.d.ts +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.d.ts +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.d.ts +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.d.ts +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.d.ts +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.d.ts +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.d.ts +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.d.ts +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.d.ts +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +13 -3
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- /package/dist/{types/annotations → annotations}/annotation.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/annotationcollection.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/annotations.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/annotationsuis.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/editorannotations.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/inlineannotations.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/narrowsidebar.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/sidebar.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/view/annotationcounterbuttonview.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/view/annotationview.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/view/sidebaritemview.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/view/sidebarview.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/widesidebar.d.ts +0 -0
- /package/dist/{types/augmentation.d.ts → augmentation.d.ts} +0 -0
- /package/dist/{types/comments → comments}/addcommentthreadcommand.d.ts +0 -0
- /package/dist/{types/comments → comments}/commentsarchive.d.ts +0 -0
- /package/dist/{types/comments → comments}/commentsarchiveui.d.ts +0 -0
- /package/dist/{types/comments → comments}/commentsediting.d.ts +0 -0
- /package/dist/{types/comments → comments}/commentsrepository.d.ts +0 -0
- /package/dist/{types/comments → comments}/commentsui.d.ts +0 -0
- /package/dist/{types/comments → comments}/integrations/clipboard.d.ts +0 -0
- /package/dist/{types/comments → comments}/integrations/commentsrestrictededitingmode.d.ts +0 -0
- /package/dist/{types/comments → comments}/integrations/importword.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/commenteditor/commenteditor.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/commenteditor/commenteditorui.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/commenteditor/commenteditoruiview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/commentthreadcontroller.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/basecommentthreadview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/basecommentview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/collapsedcommentsview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/commentcontentview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/commentinputview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/commentsarchiveview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/commentslistview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/commentthreadheaderview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/commentthreadinputview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/commentthreadview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/commentview.d.ts +0 -0
- /package/dist/{types/comments.d.ts → comments.d.ts} +0 -0
- /package/dist/{types/commentsonly.d.ts → commentsonly.d.ts} +0 -0
- /package/dist/{types/config.d.ts → config.d.ts} +0 -0
- /package/dist/{types/index.d.ts → index.d.ts} +0 -0
- /package/dist/{types/utils → utils}/common-translations.d.ts +0 -0
- /package/dist/{types/utils → utils}/createmutationobserver.d.ts +0 -0
package/dist/translations/vi.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'vi':{'dictionary':{'Comment\x20editor':'Trình\x20chỉnh\x20sửa\x20bình\x20luận','NUMBER_OF_COMMENTS':'%0\x20Bình\x20luận','TOO_LONG_COMMENT_ALERT':'Nội\x20dung\x20bình\x20luận\x20quá\x20dài.\x20Bình\x20luận\x20của\x20bạn\x20có\x20%0\x20ký\x20tự,\x20tuy\x20nhiên\x20giới\x20hạn\x20ký\x20tự\x20là\x20%1.','Reply...':'Trả\x20lời...','Reply\x20to\x20reopen\x20discussion...':'Trả\x20lời\x20để\x20mở\x20lại\x20cuộc\x20thảo\x20luận...','Write\x20a\x20comment...':'Viết\x20bình\x20luận...','Comment\x20was\x20made\x20on\x20an\x20element':'Bình\x20luận\x20được\x20tạo\x20trên\x20một\x20yếu\x20tố','Edit':'Chỉnh\x20sửa','Resolve':'Xử\x20lí','Reopen':'Mở\x20lại','Remove':'Xóa','Reply':'Trả\x20lời','Delete\x20comment?':'Xóa\x20bình\x20luận?','Delete\x20comment\x20thread?':'Xóa\x20chuỗi\x20bình\x20luận?','Marked\x20as\x20resolved':'Đánh\x20dấu\x20là\x20đã\x20xử\x20lí','Comment':'Bình\x20luận','ENTER_COMMENT_ANNOUNCEMENT':'Đang\x20nhập\x20bình\x20luận.','LEAVE_COMMENT_ANNOUNCEMENT':'Đang\x20viết\x20bình\x20luận.','PENDING_ACTION_COMMENT_THREAD':'Nội\x20dung\x20thay\x20đổi\x20chưa\x20lưu\x20trong\x20chuỗi\x20bình\x20luận.','EXTERNAL_COMMENT':'Nhận\x20xét\x20này\x20đến\x20từ\x20một\x20nguồn\x20bên\x20ngoài.','EXTERNAL_IMPORT_WORD_COMMENT':'Bình\x20luận\x20này\x20đến\x20từ\x20một\x20tệp\x20Word\x20được\x20nhập.','EXTERNAL_AVATAR':'Tên\x20tác\x20giả\x20được\x20hiển\x20thị\x20đến\x20từ\x20nguồn\x20bên\x20ngoài\x20\x20(do\x20%0\x20thêm\x20vào)','EXTERNAL_IMPORT_WORD_AVATAR':'Tên\x20tác\x20giả\x20được\x20hiển\x20thị\x20đến\x20từ\x20một\x20tài\x20liệu\x20Word\x20do\x20%0\x20nhập','COMMENTS_ARCHIVE':'Kho\x20lưu\x20trữ\x20bình\x20luận','EMPTY_COMMENTS_ARCHIVE':'Không\x20có\x20chủ\x20đề\x20bình\x20luận\x20nào\x20được\x20lưu\x20trữ.'},'getPluralForm':
|
|
23
|
+
export default{'vi':{'dictionary':{'Comment\x20editor':'Trình\x20chỉnh\x20sửa\x20bình\x20luận','NUMBER_OF_COMMENTS':'%0\x20Bình\x20luận','TOO_LONG_COMMENT_ALERT':'Nội\x20dung\x20bình\x20luận\x20quá\x20dài.\x20Bình\x20luận\x20của\x20bạn\x20có\x20%0\x20ký\x20tự,\x20tuy\x20nhiên\x20giới\x20hạn\x20ký\x20tự\x20là\x20%1.','Reply...':'Trả\x20lời...','Reply\x20to\x20reopen\x20discussion...':'Trả\x20lời\x20để\x20mở\x20lại\x20cuộc\x20thảo\x20luận...','Write\x20a\x20comment...':'Viết\x20bình\x20luận...','Comment\x20was\x20made\x20on\x20an\x20element':'Bình\x20luận\x20được\x20tạo\x20trên\x20một\x20yếu\x20tố','Edit':'Chỉnh\x20sửa','Resolve':'Xử\x20lí','Reopen':'Mở\x20lại','Remove':'Xóa','Reply':'Trả\x20lời','Delete\x20comment?':'Xóa\x20bình\x20luận?','Delete\x20comment\x20thread?':'Xóa\x20chuỗi\x20bình\x20luận?','Marked\x20as\x20resolved':'Đánh\x20dấu\x20là\x20đã\x20xử\x20lí','Comment':'Bình\x20luận','ENTER_COMMENT_ANNOUNCEMENT':'Đang\x20nhập\x20bình\x20luận.','LEAVE_COMMENT_ANNOUNCEMENT':'Đang\x20viết\x20bình\x20luận.','PENDING_ACTION_COMMENT_THREAD':'Nội\x20dung\x20thay\x20đổi\x20chưa\x20lưu\x20trong\x20chuỗi\x20bình\x20luận.','EXTERNAL_COMMENT':'Nhận\x20xét\x20này\x20đến\x20từ\x20một\x20nguồn\x20bên\x20ngoài.','EXTERNAL_IMPORT_WORD_COMMENT':'Bình\x20luận\x20này\x20đến\x20từ\x20một\x20tệp\x20Word\x20được\x20nhập.','EXTERNAL_AVATAR':'Tên\x20tác\x20giả\x20được\x20hiển\x20thị\x20đến\x20từ\x20nguồn\x20bên\x20ngoài\x20\x20(do\x20%0\x20thêm\x20vào)','EXTERNAL_IMPORT_WORD_AVATAR':'Tên\x20tác\x20giả\x20được\x20hiển\x20thị\x20đến\x20từ\x20một\x20tài\x20liệu\x20Word\x20do\x20%0\x20nhập','COMMENTS_ARCHIVE':'Kho\x20lưu\x20trữ\x20bình\x20luận','EMPTY_COMMENTS_ARCHIVE':'Không\x20có\x20chủ\x20đề\x20bình\x20luận\x20nào\x20được\x20lưu\x20trữ.'},'getPluralForm':_0x3207bd=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2cad11=>{const {vi:{dictionary:_0x1d8727,getPluralForm:_0x48f658}}={'vi':{'dictionary':{'Comment\x20editor':'Trình\x20chỉnh\x20sửa\x20bình\x20luận','NUMBER_OF_COMMENTS':'%0\x20Bình\x20luận','TOO_LONG_COMMENT_ALERT':'Nội\x20dung\x20bình\x20luận\x20quá\x20dài.\x20Bình\x20luận\x20của\x20bạn\x20có\x20%0\x20ký\x20tự,\x20tuy\x20nhiên\x20giới\x20hạn\x20ký\x20tự\x20là\x20%1.','Reply...':'Trả\x20lời...','Reply\x20to\x20reopen\x20discussion...':'Trả\x20lời\x20để\x20mở\x20lại\x20cuộc\x20thảo\x20luận...','Write\x20a\x20comment...':'Viết\x20bình\x20luận...','Comment\x20was\x20made\x20on\x20an\x20element':'Bình\x20luận\x20được\x20tạo\x20trên\x20một\x20yếu\x20tố','Edit':'Chỉnh\x20sửa','Resolve':'Xử\x20lí','Reopen':'Mở\x20lại','Remove':'Xóa','Reply':'Trả\x20lời','Delete\x20comment?':'Xóa\x20bình\x20luận?','Delete\x20comment\x20thread?':'Xóa\x20chuỗi\x20bình\x20luận?','Marked\x20as\x20resolved':'Đánh\x20dấu\x20là\x20đã\x20xử\x20lí','Comment':'Bình\x20luận','ENTER_COMMENT_ANNOUNCEMENT':'Đang\x20nhập\x20bình\x20luận.','LEAVE_COMMENT_ANNOUNCEMENT':'Đang\x20viết\x20bình\x20luận.','PENDING_ACTION_COMMENT_THREAD':'Nội\x20dung\x20thay\x20đổi\x20chưa\x20lưu\x20trong\x20chuỗi\x20bình\x20luận.','EXTERNAL_COMMENT':'Nhận\x20xét\x20này\x20đến\x20từ\x20một\x20nguồn\x20bên\x20ngoài.','EXTERNAL_IMPORT_WORD_COMMENT':'Bình\x20luận\x20này\x20đến\x20từ\x20một\x20tệp\x20Word\x20được\x20nhập.','EXTERNAL_AVATAR':'Tên\x20tác\x20giả\x20được\x20hiển\x20thị\x20đến\x20từ\x20nguồn\x20bên\x20ngoài\x20\x20(do\x20%0\x20thêm\x20vào)','EXTERNAL_IMPORT_WORD_AVATAR':'Tên\x20tác\x20giả\x20được\x20hiển\x20thị\x20đến\x20từ\x20một\x20tài\x20liệu\x20Word\x20do\x20%0\x20nhập','COMMENTS_ARCHIVE':'Kho\x20lưu\x20trữ\x20bình\x20luận','EMPTY_COMMENTS_ARCHIVE':'Không\x20có\x20chủ\x20đề\x20bình\x20luận\x20nào\x20được\x20lưu\x20trữ.'},'getPluralForm':_0x4fc734=>0x0}};_0x2cad11['vi']||={'dictionary':{},'getPluralForm':null},_0x2cad11['vi']['dictionary']=Object['assign'](_0x2cad11['vi']['dictionary'],_0x1d8727),_0x2cad11['vi']['getPluralForm']=_0x48f658;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
7
|
declare const translations: Translations;
|
|
8
8
|
export default translations;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh-cn':{'dictionary':{'Comment\x20editor':'评论插件','NUMBER_OF_COMMENTS':'%0\x20条评论','TOO_LONG_COMMENT_ALERT':'评论内容过长。评论内容长度必须大于%0个字符而小于%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':'评论','ENTER_COMMENT_ANNOUNCEMENT':'进入评论。','LEAVE_COMMENT_ANNOUNCEMENT':'离开评论。','PENDING_ACTION_COMMENT_THREAD':'评论区有未保存内容','EXTERNAL_COMMENT':'此评论来自外部来源。','EXTERNAL_IMPORT_WORD_COMMENT':'此评论来自导入的\x20Word\x20文件。','EXTERNAL_AVATAR':'显示的作者名来自(%0\x20添加的)外部来源','EXTERNAL_IMPORT_WORD_AVATAR':'显示的作者名来自\x20%0\x20导入的\x20Word\x20文件','COMMENTS_ARCHIVE':'评论存档','EMPTY_COMMENTS_ARCHIVE':'没有已存档的评论。'},'getPluralForm':
|
|
23
|
+
export default{'zh-cn':{'dictionary':{'Comment\x20editor':'评论插件','NUMBER_OF_COMMENTS':'%0\x20条评论','TOO_LONG_COMMENT_ALERT':'评论内容过长。评论内容长度必须大于%0个字符而小于%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':'评论','ENTER_COMMENT_ANNOUNCEMENT':'进入评论。','LEAVE_COMMENT_ANNOUNCEMENT':'离开评论。','PENDING_ACTION_COMMENT_THREAD':'评论区有未保存内容','EXTERNAL_COMMENT':'此评论来自外部来源。','EXTERNAL_IMPORT_WORD_COMMENT':'此评论来自导入的\x20Word\x20文件。','EXTERNAL_AVATAR':'显示的作者名来自(%0\x20添加的)外部来源','EXTERNAL_IMPORT_WORD_AVATAR':'显示的作者名来自\x20%0\x20导入的\x20Word\x20文件','COMMENTS_ARCHIVE':'评论存档','EMPTY_COMMENTS_ARCHIVE':'没有已存档的评论。'},'getPluralForm':_0x4816c0=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4ff3da=>{const {'zh-cn':{dictionary:_0x440f73,getPluralForm:_0x3baa18}}={'zh-cn':{'dictionary':{'Comment\x20editor':'评论插件','NUMBER_OF_COMMENTS':'%0\x20条评论','TOO_LONG_COMMENT_ALERT':'评论内容过长。评论内容长度必须大于%0个字符而小于%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':'评论','ENTER_COMMENT_ANNOUNCEMENT':'进入评论。','LEAVE_COMMENT_ANNOUNCEMENT':'离开评论。','PENDING_ACTION_COMMENT_THREAD':'评论区有未保存内容','EXTERNAL_COMMENT':'此评论来自外部来源。','EXTERNAL_IMPORT_WORD_COMMENT':'此评论来自导入的\x20Word\x20文件。','EXTERNAL_AVATAR':'显示的作者名来自(%0\x20添加的)外部来源','EXTERNAL_IMPORT_WORD_AVATAR':'显示的作者名来自\x20%0\x20导入的\x20Word\x20文件','COMMENTS_ARCHIVE':'评论存档','EMPTY_COMMENTS_ARCHIVE':'没有已存档的评论。'},'getPluralForm':_0x586695=>0x0}};_0x4ff3da['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x4ff3da['zh-cn']['dictionary']=Object['assign'](_0x4ff3da['zh-cn']['dictionary'],_0x440f73),_0x4ff3da['zh-cn']['getPluralForm']=_0x3baa18;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
7
|
declare const translations: Translations;
|
|
8
8
|
export default translations;
|
package/dist/translations/zh.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'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':'留言','ENTER_COMMENT_ANNOUNCEMENT':'正在進入留言。','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':
|
|
23
|
+
export default{'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':'留言','ENTER_COMMENT_ANNOUNCEMENT':'正在進入留言。','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':_0x464933=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1ad0d7=>{const {zh:{dictionary:_0x36e0c3,getPluralForm:_0x4efb08}}={'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':'留言','ENTER_COMMENT_ANNOUNCEMENT':'正在進入留言。','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':_0x2f8134=>0x0}};_0x1ad0d7['zh']||={'dictionary':{},'getPluralForm':null},_0x1ad0d7['zh']['dictionary']=Object['assign'](_0x1ad0d7['zh']['dictionary'],_0x36e0c3),_0x1ad0d7['zh']['getPluralForm']=_0x4efb08;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "42.0.
|
|
3
|
+
"version": "42.0.2-alpha.0",
|
|
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,8 +45,18 @@
|
|
|
45
45
|
"CHANGELOG.md"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"ckeditor5": "42.0.
|
|
49
|
-
"ckeditor5-
|
|
48
|
+
"@ckeditor/ckeditor5-clipboard": "42.0.2-alpha.0",
|
|
49
|
+
"@ckeditor/ckeditor5-core": "42.0.2-alpha.0",
|
|
50
|
+
"@ckeditor/ckeditor5-engine": "42.0.2-alpha.0",
|
|
51
|
+
"@ckeditor/ckeditor5-enter": "42.0.2-alpha.0",
|
|
52
|
+
"@ckeditor/ckeditor5-paragraph": "42.0.2-alpha.0",
|
|
53
|
+
"@ckeditor/ckeditor5-select-all": "42.0.2-alpha.0",
|
|
54
|
+
"@ckeditor/ckeditor5-typing": "42.0.2-alpha.0",
|
|
55
|
+
"@ckeditor/ckeditor5-ui": "42.0.2-alpha.0",
|
|
56
|
+
"@ckeditor/ckeditor5-undo": "42.0.2-alpha.0",
|
|
57
|
+
"@ckeditor/ckeditor5-utils": "42.0.2-alpha.0",
|
|
58
|
+
"ckeditor5": "42.0.2-alpha.0",
|
|
59
|
+
"ckeditor5-collaboration": "42.0.2-alpha.0",
|
|
50
60
|
"lodash-es": "4.17.21"
|
|
51
61
|
},
|
|
52
62
|
"types": "src/index.d.ts",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5b6c9f=_0x3e13;(function(_0xf04fdd,_0xba387a){const _0x40c864=_0x3e13,_0x449ac5=_0xf04fdd();while(!![]){try{const _0x5e7965=-parseInt(_0x40c864(0x1ef))/0x1+parseInt(_0x40c864(0x1cb))/0x2*(parseInt(_0x40c864(0x1dd))/0x3)+parseInt(_0x40c864(0x1de))/0x4+parseInt(_0x40c864(0x1f2))/0x5+-parseInt(_0x40c864(0x1d7))/0x6*(parseInt(_0x40c864(0x1d8))/0x7)+parseInt(_0x40c864(0x1d9))/0x8*(-parseInt(_0x40c864(0x1ca))/0x9)+parseInt(_0x40c864(0x1f7))/0xa*(parseInt(_0x40c864(0x1ce))/0xb);if(_0x5e7965===_0xba387a)break;else _0x449ac5['push'](_0x449ac5['shift']());}catch(_0x529609){_0x449ac5['push'](_0x449ac5['shift']());}}}(_0x1b08,0x491ee));import{CKEditorError as _0x317ce8,Rect as _0x23ce59,Collection as _0x3e4d05,ObservableMixin as _0x5bb180}from'ckeditor5/src/utils.js';export default class d extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5bb180(){constructor({view:_0x132c8f,target:_0x53fdbe,type:_0x457f0b,isVisible:_0x339064=!0x0}){const _0x5c3258=_0x3e13;super(),this[_0x5c3258(0x1d4)]=_0x132c8f,this[_0x5c3258(0x1d4)][_0x5c3258(0x1ea)]||this[_0x5c3258(0x1d4)][_0x5c3258(0x1e2)](),this[_0x5c3258(0x1f6)]=_0x457f0b,this[_0x5c3258(0x1e9)]=_0x53fdbe,d[_0x5c3258(0x1eb)](this[_0x5c3258(0x1e6)]()),this[_0x5c3258(0x1d3)]=new _0x3e4d05([this[_0x5c3258(0x1d4)][_0x5c3258(0x1ea)]],{'idProperty':_0x5c3258(0x1f1)}),this[_0x5c3258(0x1d3)]['on'](_0x5c3258(0x1f3),(_0x38f5f7,_0x37217a)=>{const _0x22e9da=_0x5c3258;this[_0x22e9da(0x1d4)][_0x22e9da(0x1e4)][_0x22e9da(0x1f3)](_0x37217a);}),this[_0x5c3258(0x1d3)]['on'](_0x5c3258(0x1cd),(_0x7e6cec,_0x217bf7)=>{const _0x206326=_0x5c3258;this[_0x206326(0x1d4)][_0x206326(0x1e4)][_0x206326(0x1cd)](_0x217bf7);}),this[_0x5c3258(0x1ee)](_0x5c3258(0x1d1),_0x339064);}get[_0x5b6c9f(0x1e7)](){const _0x52eff2=_0x5b6c9f;return _0x52eff2(0x1d5)==typeof this[_0x52eff2(0x1f6)]?this[_0x52eff2(0x1f6)]():this[_0x52eff2(0x1f6)];}get[_0x5b6c9f(0x1c9)](){const _0x1e9740=_0x5b6c9f;return this[_0x1e9740(0x1d4)][_0x1e9740(0x1f5)];}get[_0x5b6c9f(0x1f4)](){const _0x89dade=_0x5b6c9f,_0x218f69=this[_0x89dade(0x1e6)]();return d[_0x89dade(0x1eb)](_0x218f69),_0x218f69;}get[_0x5b6c9f(0x1e0)](){const _0x8e07af=_0x5b6c9f,_0x199c26=this[_0x8e07af(0x1f4)];if(null===_0x199c26)return null;if(_0x199c26 instanceof _0x23ce59)return _0x199c26;const _0x688d76=_0x199c26[_0x8e07af(0x1e1)](_0x2de046=>function(_0x437b33){const _0x3da941=_0x8e07af,_0x45b5f9=_0x437b33[_0x3da941(0x1f0)];if(_0x45b5f9)return!0x0;const _0x2c0f7e=_0x437b33[_0x3da941(0x1ed)]()[_0x3da941(0x1cc)](0x0);return!!_0x2c0f7e;}(_0x2de046));return 0x0===_0x688d76[_0x8e07af(0x1cf)]?null:new _0x23ce59(_0x688d76[0x0][_0x8e07af(0x1ed)]()[_0x8e07af(0x1cc)](0x0));}get[_0x5b6c9f(0x1dc)](){const _0x237abd=_0x5b6c9f;return this[_0x237abd(0x1d4)][_0x237abd(0x1dc)];}set[_0x5b6c9f(0x1dc)](_0x56c2d7){const _0x85f38e=_0x5b6c9f;this[_0x85f38e(0x1d4)][_0x85f38e(0x1dc)]=_0x56c2d7,this[_0x85f38e(0x1d4)][_0x85f38e(0x1f5)][_0x85f38e(0x1dc)]=_0x56c2d7;}[_0x5b6c9f(0x1e3)](){const _0x48a365=_0x5b6c9f;this[_0x48a365(0x1d4)][_0x48a365(0x1e0)]=this[_0x48a365(0x1e0)];}[_0x5b6c9f(0x1e8)](){const _0x4d747b=_0x5b6c9f;this[_0x4d747b(0x1d3)][_0x4d747b(0x1d6)](),this[_0x4d747b(0x1d3)][_0x4d747b(0x1e5)](),this[_0x4d747b(0x1d6)]();}[_0x5b6c9f(0x1d2)](){const _0x1f7a03=_0x5b6c9f;this[_0x1f7a03(0x1d1)]=!!this[_0x1f7a03(0x1e0)];}static[_0x5b6c9f(0x1eb)](_0x106055){const _0x548d85=_0x5b6c9f;if(!(null===_0x106055||_0x106055 instanceof _0x23ce59||Array[_0x548d85(0x1da)](_0x106055)&&_0x106055[_0x548d85(0x1df)](_0x51be68=>y(_0x51be68))))throw new _0x317ce8(_0x548d85(0x1ec),null,{'target':_0x106055});}[_0x5b6c9f(0x1e6)](){const _0x4ff097=_0x5b6c9f,_0x12de73=_0x4ff097(0x1d5)==typeof this[_0x4ff097(0x1e9)]?this[_0x4ff097(0x1e9)]():this[_0x4ff097(0x1e9)];return y(_0x12de73)?[_0x12de73]:_0x12de73;}}function y(_0x8ace66){const _0x33b706=_0x5b6c9f;return null!==_0x8ace66&&_0x33b706(0x1d0)==typeof _0x8ace66&&_0x33b706(0x1db)in _0x8ace66&&0x1===_0x8ace66[_0x33b706(0x1db)];}function _0x3e13(_0x2d37c9,_0x660b65){const _0x1b0824=_0x1b08();return _0x3e13=function(_0x3e1385,_0x6e1bbc){_0x3e1385=_0x3e1385-0x1c9;let _0x554289=_0x1b0824[_0x3e1385];return _0x554289;},_0x3e13(_0x2d37c9,_0x660b65);}function _0x1b08(){const _0x4195af=['refreshVisibility','focusableElements','view','function','stopListening','6GxOrgz','3014263mAnBYc','526712VwkeBb','isArray','nodeType','isActive','66dzuJyY','1765816ldGbZL','every','targetRect','filter','render','updateTargetRect','focusTracker','clear','_getNormalizedTarget','type','destroy','_target','element','_assertCorrectTarget','annotation-invalid-target','getClientRects','set','532504nUokzv','offsetParent','_id','1821130AmdZyZ','add','target','mainView','_type','40UMgfSM','innerView','63CeXVfy','17228WlqQjS','item','remove','2002825yfyjVT','length','object','isVisible'];_0x1b08=function(){return _0x4195af;};return _0x1b08();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2a55(_0x27f6cd,_0x41c9a5){const _0x6e69dc=_0x6e69();return _0x2a55=function(_0x2a55e6,_0x47053b){_0x2a55e6=_0x2a55e6-0x8c;let _0x1f440c=_0x6e69dc[_0x2a55e6];return _0x1f440c;},_0x2a55(_0x27f6cd,_0x41c9a5);}function _0x6e69(){const _0x13b0ae=['length','clear','change:isFocused','11586kxgeMV','annotationcollection-not-existing-item','3003pgmJtK','_getOrderInContent','updateTargetRect','12293520SYcbiD','remove','1024706ucFaAP','sort','get','view','_innerViewToAnnotation','listenTo','focusableElements','focus','from','add','has','1TRDeAs','_sort','blur','set','refreshPositioning','targetRect','destroy','359256yRwJtY','focusTracker','10206180XsdLMP','6616020eikNar','isFocused','3LenEFb','stopListening','getByInnerView','getIndex','annotationcollection-duplicated-item','fire','85905ibAHxi','_viewToAnnotation','top','_focusTracker','delete','innerView','left','getByView'];_0x6e69=function(){return _0x13b0ae;};return _0x6e69();}const _0x3163d7=_0x2a55;(function(_0x254ab9,_0x3123fa){const _0x35ec94=_0x2a55,_0x267649=_0x254ab9();while(!![]){try{const _0x152990=-parseInt(_0x35ec94(0xac))/0x1*(-parseInt(_0x35ec94(0xa1))/0x2)+parseInt(_0x35ec94(0xb8))/0x3*(-parseInt(_0x35ec94(0xb3))/0x4)+-parseInt(_0x35ec94(0xb6))/0x5+parseInt(_0x35ec94(0x9a))/0x6*(-parseInt(_0x35ec94(0x9c))/0x7)+parseInt(_0x35ec94(0x9f))/0x8+parseInt(_0x35ec94(0x8f))/0x9+parseInt(_0x35ec94(0xb5))/0xa;if(_0x152990===_0x3123fa)break;else _0x267649['push'](_0x267649['shift']());}catch(_0x1d8135){_0x267649['push'](_0x267649['shift']());}}}(_0x6e69,0xcc89d));import{CKEditorError as _0x4d7a62,Collection as _0x1c0c07,FocusTracker as _0x5c4211}from'ckeditor5/src/utils.js';export default class x extends _0x1c0c07{constructor(_0x278a8d=[]){const _0x534498=_0x2a55;super(),this[_0x534498(0xa5)]=new Map(),this[_0x534498(0x90)]=new Map(),this[_0x534498(0x92)]=new _0x5c4211(),this[_0x534498(0x92)]['on'](_0x534498(0x99),(_0x292581,_0xc50004,_0x3c2225)=>{const _0x1d0159=_0x534498;_0x3c2225||this[_0x1d0159(0x8e)](_0x1d0159(0xae));});for(const _0x181f3b of _0x278a8d)this[_0x534498(0xaa)](_0x181f3b);}get[_0x3163d7(0xb7)](){const _0x59f30c=_0x3163d7;return this[_0x59f30c(0x92)][_0x59f30c(0xb7)];}[_0x3163d7(0xaa)](_0x117807){const _0x5ea559=_0x3163d7;if(this[_0x5ea559(0xab)](_0x117807))throw new _0x4d7a62(_0x5ea559(0x8d),null);this[_0x5ea559(0xa5)][_0x5ea559(0xaf)](_0x117807[_0x5ea559(0x94)],_0x117807),this[_0x5ea559(0x90)][_0x5ea559(0xaf)](_0x117807[_0x5ea559(0xa4)],_0x117807);for(const _0x5937d0 of _0x117807[_0x5ea559(0xa7)])this[_0x5ea559(0x92)][_0x5ea559(0xaa)](_0x5937d0);this[_0x5ea559(0xa6)](_0x117807[_0x5ea559(0xa7)],_0x5ea559(0xaa),(_0x17c69d,_0x5cfef4)=>{const _0x236e0a=_0x5ea559;this[_0x236e0a(0x92)][_0x236e0a(0xaa)](_0x5cfef4);}),this[_0x5ea559(0xa6)](_0x117807[_0x5ea559(0xa7)],_0x5ea559(0xa0),(_0x269d93,_0x494d95)=>{const _0x3733c6=_0x5ea559;this[_0x3733c6(0x92)][_0x3733c6(0xa0)](_0x494d95);}),this[_0x5ea559(0xa6)](_0x117807[_0x5ea559(0xa4)][_0x5ea559(0xb4)],_0x5ea559(0x99),(_0x381c48,_0x43c04e,_0x182f4d)=>{const _0x17e373=_0x5ea559;_0x182f4d&&this[_0x17e373(0x8e)](_0x17e373(0xa8),_0x117807);}),_0x117807[_0x5ea559(0x9e)]();const _0x19cb95=this[_0x5ea559(0x9d)](_0x117807[_0x5ea559(0xa4)][_0x5ea559(0xb1)]);return super[_0x5ea559(0xaa)](_0x117807,_0x19cb95);}[_0x3163d7(0xa0)](_0x3ee3ff){const _0x5aaacf=_0x3163d7;if(!this[_0x5aaacf(0xab)](_0x3ee3ff))throw new _0x4d7a62(_0x5aaacf(0x9b),null);this[_0x5aaacf(0xb9)](_0x3ee3ff[_0x5aaacf(0xa4)][_0x5aaacf(0xb4)]),this[_0x5aaacf(0xb9)](_0x3ee3ff[_0x5aaacf(0xa7)]);for(const _0x4467b2 of _0x3ee3ff[_0x5aaacf(0xa7)])this[_0x5aaacf(0x92)][_0x5aaacf(0xa0)](_0x4467b2);return this[_0x5aaacf(0x90)][_0x5aaacf(0x93)](_0x3ee3ff[_0x5aaacf(0xa4)]),this[_0x5aaacf(0xa5)][_0x5aaacf(0x93)](_0x3ee3ff[_0x5aaacf(0x94)]),super[_0x5aaacf(0xa0)](_0x3ee3ff);}[_0x3163d7(0xba)](_0x3b5c3b){const _0x395384=_0x3163d7;return this[_0x395384(0xa5)][_0x395384(0xa3)](_0x3b5c3b);}[_0x3163d7(0x96)](_0xe33d6b){const _0x511c33=_0x3163d7;return this[_0x511c33(0x90)][_0x511c33(0xa3)](_0xe33d6b);}[_0x3163d7(0xb2)](){const _0x236305=_0x3163d7;super[_0x236305(0x98)](),this[_0x236305(0xb9)](),this[_0x236305(0xa5)][_0x236305(0x98)](),this[_0x236305(0x90)][_0x236305(0x98)](),this[_0x236305(0x92)][_0x236305(0xb2)]();}[_0x3163d7(0xb0)](){const _0x6bca7e=_0x3163d7;for(const _0x241de6 of this)_0x241de6[_0x6bca7e(0x9e)]();this[_0x6bca7e(0xad)]();}[_0x3163d7(0xad)](){const _0xb49d0b=_0x3163d7,_0x2f0347=Array[_0xb49d0b(0xa9)](this)[_0xb49d0b(0xa2)]((_0x571504,_0x49d1d6)=>v(_0x571504[_0xb49d0b(0xa4)][_0xb49d0b(0xb1)],_0x49d1d6[_0xb49d0b(0xa4)][_0xb49d0b(0xb1)]));for(let _0x5a0c7b=_0x2f0347[_0xb49d0b(0x97)]-0x1;_0x5a0c7b>0x0;_0x5a0c7b--){const _0x95eb36=_0x2f0347[_0x5a0c7b];_0x5a0c7b!==this[_0xb49d0b(0x8c)](_0x95eb36)&&(this[_0xb49d0b(0xa0)](_0x95eb36),this[_0xb49d0b(0xaa)](_0x95eb36));}}[_0x3163d7(0x9d)](_0x2d2c81){const _0x304f9f=_0x3163d7;let _0x4e01f4=0x0;if(!_0x2d2c81)return this[_0x304f9f(0x97)];for(const _0x3ff7ee of this){const _0x4f4c91=_0x3ff7ee[_0x304f9f(0xa4)][_0x304f9f(0xb1)];if(_0x4f4c91){if(v(_0x2d2c81,_0x4f4c91)<0x0)return _0x4e01f4;_0x4e01f4++;}}return _0x4e01f4;}}export function bindAnnotationCollections({source:_0x8c1f37,target:_0x1d8e1a,filter:_0x27c3e1}){const _0x4b380e=_0x3163d7;for(const _0x2ab166 of _0x8c1f37)_0x27c3e1(_0x2ab166)&&_0x1d8e1a[_0x4b380e(0xaa)](_0x2ab166);_0x1d8e1a[_0x4b380e(0xa6)](_0x8c1f37,_0x4b380e(0xaa),(_0x468ad0,_0x484bed)=>{const _0x48a03f=_0x4b380e;_0x27c3e1(_0x484bed)&&_0x1d8e1a[_0x48a03f(0xaa)](_0x484bed);}),_0x1d8e1a[_0x4b380e(0xa6)](_0x8c1f37,_0x4b380e(0xa0),(_0x2a69be,_0x4843e)=>{const _0x54d927=_0x4b380e;_0x1d8e1a[_0x54d927(0xab)](_0x4843e)&&_0x1d8e1a[_0x54d927(0xa0)](_0x4843e);});}function v(_0x978802,_0x558609){const _0x404e78=_0x3163d7;if(null===_0x978802&&null===_0x558609)return 0x0;if(null===_0x978802)return-0x1;if(null===_0x558609)return 0x1;const _0x277871=_0x978802[_0x404e78(0x91)]-_0x558609[_0x404e78(0x91)];return 0x0==_0x277871?_0x978802[_0x404e78(0x95)]-_0x558609[_0x404e78(0x95)]:_0x277871;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3959(_0x17d313,_0x19a3d2){const _0x44202d=_0x4420();return _0x3959=function(_0x3959b6,_0x5eb807){_0x3959b6=_0x3959b6-0xb7;let _0x14f122=_0x44202d[_0x3959b6];return _0x14f122;},_0x3959(_0x17d313,_0x19a3d2);}const _0x394e21=_0x3959;(function(_0x5284d4,_0xcf2e36){const _0x5339b2=_0x3959,_0x4d31a0=_0x5284d4();while(!![]){try{const _0x3b7f61=parseInt(_0x5339b2(0xb8))/0x1+-parseInt(_0x5339b2(0xd5))/0x2*(-parseInt(_0x5339b2(0xc7))/0x3)+-parseInt(_0x5339b2(0xd6))/0x4*(parseInt(_0x5339b2(0xca))/0x5)+parseInt(_0x5339b2(0xe0))/0x6*(-parseInt(_0x5339b2(0xcc))/0x7)+parseInt(_0x5339b2(0xc1))/0x8*(parseInt(_0x5339b2(0xc4))/0x9)+parseInt(_0x5339b2(0xb9))/0xa+parseInt(_0x5339b2(0xd4))/0xb;if(_0x3b7f61===_0xcf2e36)break;else _0x4d31a0['push'](_0x4d31a0['shift']());}catch(_0x463077){_0x4d31a0['push'](_0x4d31a0['shift']());}}}(_0x4420,0x975a6));import{ContextPlugin as _0x12bef7}from'ckeditor5/src/core.js';import _0x5d7b0e from'./annotation.js';import _0x1f1f54 from'./annotationcollection.js';import _0x5831a2 from'./view/annotationview.js';export default class b extends _0x12bef7{static get[_0x394e21(0xd9)](){const _0x129544=_0x394e21;return _0x129544(0xde);}constructor(_0x540f94){const _0x597d0c=_0x394e21;super(_0x540f94),this[_0x597d0c(0xb7)]=new _0x1f1f54(),this[_0x597d0c(0xbf)]=new _0x1f1f54(),this[_0x597d0c(0xbc)](_0x597d0c(0xce),new Set()),this[_0x597d0c(0xbb)]();}[_0x394e21(0xd3)](_0x5b6751){const _0x729e8c=_0x394e21;this[_0x729e8c(0xb7)][_0x729e8c(0xd3)](_0x5b6751);}[_0x394e21(0xda)](_0x4ee845){const _0x558c70=_0x394e21;this[_0x558c70(0xb7)][_0x558c70(0xda)](_0x4ee845),_0x4ee845[_0x558c70(0xdf)]();}[_0x394e21(0xdc)](){const _0xbb94a3=_0x394e21;for(const _0x280771 of this[_0xbb94a3(0xb7)])_0x280771[_0xbb94a3(0xdc)]();}[_0x394e21(0xc9)](){const _0x371b4c=_0x394e21;this[_0x371b4c(0xbf)][_0x371b4c(0xc9)]();}[_0x394e21(0xd8)](_0x276f07){const _0x149752=_0x394e21;return this[_0x149752(0xb7)][_0x149752(0xd8)](_0x276f07);}[_0x394e21(0xdb)](){const _0x2f3560=_0x394e21;this[_0x2f3560(0xcd)](_0x2f3560(0xe1));}[_0x394e21(0xdf)](){const _0x2b2a9b=_0x394e21;for(const _0x3e4941 of this[_0x2b2a9b(0xb7)])_0x3e4941[_0x2b2a9b(0xdf)]();this[_0x2b2a9b(0xbf)][_0x2b2a9b(0xdf)](),this[_0x2b2a9b(0xb7)][_0x2b2a9b(0xdf)](),super[_0x2b2a9b(0xdf)]();}[_0x394e21(0xd0)](_0xe62249){const _0x376e7d=_0x394e21;this[_0x376e7d(0xcd)](_0x376e7d(0xbe),_0xe62249);}[_0x394e21(0xba)](_0x2a832d){return new _0x5d7b0e(_0x2a832d);}[_0x394e21(0xcf)](_0x36a122,_0x506131){return new _0x5831a2(_0x36a122,_0x506131);}[_0x394e21(0xc3)](_0x130729){const _0x49ab32=_0x394e21,_0x572b96=new Set(this[_0x49ab32(0xce)]);_0x572b96[_0x49ab32(0xd3)](_0x130729),this[_0x49ab32(0xce)]=_0x572b96;}[_0x394e21(0xc8)](_0x1e7501){const _0x3b23db=_0x394e21,_0x57c709=new Set(this[_0x3b23db(0xce)]);_0x57c709[_0x3b23db(0xc6)](_0x1e7501),this[_0x3b23db(0xce)]=_0x57c709;}[_0x394e21(0xbb)](){const _0x4dafde=_0x394e21,_0x5d080b=this[_0x4dafde(0xb7)],_0x20f005=this[_0x4dafde(0xbf)];function _0x346850(_0x450897){const _0x4524c7=_0x4dafde,_0x42985c=_0x450897[_0x4524c7(0xc0)];_0x42985c[_0x4524c7(0xcb)]&&!_0x20f005[_0x4524c7(0xdd)](_0x42985c)?_0x20f005[_0x4524c7(0xd3)](_0x42985c):!_0x42985c[_0x4524c7(0xcb)]&&_0x20f005[_0x4524c7(0xdd)](_0x42985c)&&_0x20f005[_0x4524c7(0xda)](_0x42985c),_0x42985c[_0x4524c7(0xc5)][_0x4524c7(0xbd)][_0x4524c7(0xda)](_0x42985c[_0x4524c7(0xc5)][_0x4524c7(0xd2)]),_0x42985c[_0x4524c7(0xc5)][_0x4524c7(0xbd)][_0x4524c7(0xd3)](_0x42985c[_0x4524c7(0xc5)][_0x4524c7(0xd2)]);}this[_0x4dafde(0xd1)](_0x5d080b,_0x4dafde(0xd3),(_0x40bbe1,_0x83d6aa)=>{const _0x2a9ef7=_0x4dafde;_0x83d6aa[_0x2a9ef7(0xcb)]&&_0x20f005[_0x2a9ef7(0xd3)](_0x83d6aa),this[_0x2a9ef7(0xd1)](_0x83d6aa,_0x2a9ef7(0xd7),_0x346850);}),this[_0x4dafde(0xd1)](_0x5d080b,_0x4dafde(0xda),(_0x4f8cbc,_0x3c54fa)=>{const _0x5e2730=_0x4dafde;_0x20f005[_0x5e2730(0xdd)](_0x3c54fa)&&_0x20f005[_0x5e2730(0xda)](_0x3c54fa),this[_0x5e2730(0xc2)](_0x3c54fa,_0x5e2730(0xd7),_0x346850);});}}function _0x4420(){const _0x4914aa=['113534ZyTAmc','720vTDZeM','change:isVisible','getByInnerView','pluginName','remove','deactivateAll','refreshVisibility','has','Annotations','destroy','6JPTREE','_deactivateAllAnnotations','collection','229923XxBSHh','2317420cwNEjW','createAnnotation','_bindAnnotationsToVisibleAnnotations','set','focusTracker','_activateAnnotation','_visibleAnnotations','source','8baehND','stopListening','_addActiveAnnotation','5713704sLHnCS','view','delete','24IsWjds','_removeActiveAnnotation','refreshPositioning','26655XeJWFv','isVisible','6116348pRUXnr','fire','activeAnnotations','createAnnotationView','activate','listenTo','element','add','9928919eDHoOa'];_0x4420=function(){return _0x4914aa;};return _0x4420();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1598e5=_0x4b50;(function(_0xf4aed1,_0x466abe){const _0x2cb312=_0x4b50,_0x2ba499=_0xf4aed1();while(!![]){try{const _0x3b3b48=-parseInt(_0x2cb312(0x135))/0x1*(parseInt(_0x2cb312(0x11e))/0x2)+-parseInt(_0x2cb312(0x11b))/0x3+parseInt(_0x2cb312(0x129))/0x4*(parseInt(_0x2cb312(0x14f))/0x5)+parseInt(_0x2cb312(0x133))/0x6+-parseInt(_0x2cb312(0x151))/0x7*(-parseInt(_0x2cb312(0x131))/0x8)+parseInt(_0x2cb312(0x150))/0x9*(parseInt(_0x2cb312(0x13e))/0xa)+-parseInt(_0x2cb312(0x136))/0xb*(parseInt(_0x2cb312(0x128))/0xc);if(_0x3b3b48===_0x466abe)break;else _0x2ba499['push'](_0x2ba499['shift']());}catch(_0x6b49dd){_0x2ba499['push'](_0x2ba499['shift']());}}}(_0x3d95,0x36917));import{ContextPlugin as _0x4794c0}from'ckeditor5/src/core.js';import{CKEditorError as _0x558dfa}from'ckeditor5/src/utils.js';import _0x49beb5,{bindAnnotationCollections as _0x574f7e}from'./annotationcollection.js';function _0x3d95(){const _0x29123b=['push','AnnotationsUIs','activate','register','type','function','145QxcoxR','639NQnZrJ','7007emChbB','deactivate','listenTo','_visibleAnnotations','_activateAnnotation','_assertAnnotationDoesNotBelongToMultipleUIs','activeAnnotations','setActiveAnnotation','hasActive','501075MWQCix','context','_addActiveAnnotation','2LdILBc','filter','init','stopListening','collection','switchTo','annotationsuis-register-invalid-interface','destroy','annotationsuis-register-already-registered','set','87096tvFxMf','51772exFOBH','_uis','has','from','_setSelectedAnnotations','requires','length','detach','2008wcDAII','remove','2179272sWNXbg','find','358259JGbgSm','858AkZXQX','isActive','plugins','deactivateAll','annotationsuis-annotation-mismatch','refilterAnnotations','annotationsuis-missing-ui','attach','45790ogfdVK','_deactivateAllAnnotations','activeUIs','get','_removeActiveAnnotation','_uisData','add','size','delete','change:activeAnnotation','pluginName'];_0x3d95=function(){return _0x29123b;};return _0x3d95();}function _0x4b50(_0x96b965,_0x251d66){const _0x3d95f2=_0x3d95();return _0x4b50=function(_0x4b5052,_0x56260e){_0x4b5052=_0x4b5052-0x118;let _0x3fa348=_0x3d95f2[_0x4b5052];return _0x3fa348;},_0x4b50(_0x96b965,_0x251d66);}import _0xcf7065 from'./annotations.js';export default class j extends _0x4794c0{static get[_0x1598e5(0x12e)](){return[_0xcf7065];}static get[_0x1598e5(0x148)](){const _0x34fa72=_0x1598e5;return _0x34fa72(0x14a);}constructor(_0x5644c4){const _0x19b4f0=_0x1598e5;super(_0x5644c4),this[_0x19b4f0(0x140)]=new Set(),this[_0x19b4f0(0x12a)]=new Map(),this[_0x19b4f0(0x143)]=new Map();}[_0x1598e5(0x120)](){const _0x101b01=_0x1598e5,_0x346e74=this[_0x101b01(0x11c)][_0x101b01(0x138)][_0x101b01(0x141)](_0xcf7065);this[_0x101b01(0x153)](_0x346e74,_0x101b01(0x155),(_0x1993fc,_0x1452fc)=>{const _0x561e4e=_0x101b01;for(const _0x16edd6 of this[_0x561e4e(0x140)]){const _0x4d2135=this[_0x561e4e(0x12a)][_0x561e4e(0x141)](_0x16edd6);(0x0,this[_0x561e4e(0x143)][_0x561e4e(0x141)](_0x16edd6)[_0x561e4e(0x11f)])(_0x1452fc)&&_0x4d2135[_0x561e4e(0x119)](_0x1452fc);}}),this[_0x101b01(0x153)](_0x346e74,_0x101b01(0x13f),()=>{const _0x14fe21=_0x101b01;for(const _0x15b1a5 of this[_0x14fe21(0x140)]){this[_0x14fe21(0x12a)][_0x14fe21(0x141)](_0x15b1a5)[_0x14fe21(0x119)](null);}}),this[_0x101b01(0x153)](_0x346e74[_0x101b01(0x154)],_0x101b01(0x144),(_0x4d2576,_0x261247)=>{const _0x4394e5=_0x101b01;this[_0x4394e5(0x156)](_0x261247);});}[_0x1598e5(0x11a)](){const _0x4dd5b7=_0x1598e5;return this[_0x4dd5b7(0x140)][_0x4dd5b7(0x145)]>0x0;}[_0x1598e5(0x137)](_0x336d6d){const _0x29a2eb=_0x1598e5;return this[_0x29a2eb(0x140)][_0x29a2eb(0x12b)](_0x336d6d);}[_0x1598e5(0x14b)](_0x38e745,_0x53d756=()=>!0x0){const _0x232fa2=_0x1598e5,_0x27d01c=this[_0x232fa2(0x11c)][_0x232fa2(0x138)][_0x232fa2(0x141)](_0xcf7065);if(!this[_0x232fa2(0x12a)][_0x232fa2(0x12b)](_0x38e745))throw new _0x558dfa(_0x232fa2(0x13c),this,{'uiName':_0x38e745});this[_0x232fa2(0x137)](_0x38e745)&&this[_0x232fa2(0x152)](_0x38e745),this[_0x232fa2(0x140)][_0x232fa2(0x144)](_0x38e745);const _0x26bf71=new _0x49beb5(),_0x2af911=_0x27d01c[_0x232fa2(0x154)];_0x574f7e({'source':_0x2af911,'target':_0x26bf71,'filter':_0x53d756}),this[_0x232fa2(0x143)][_0x232fa2(0x127)](_0x38e745,{'collection':_0x26bf71,'filter':_0x53d756});const _0x2c2671=this[_0x232fa2(0x12a)][_0x232fa2(0x141)](_0x38e745);_0x2c2671[_0x232fa2(0x13d)](_0x26bf71),this[_0x232fa2(0x153)](_0x2c2671,_0x232fa2(0x147),(_0x4e9bf1,_0xe9fba3,_0x3dbab7,_0x3402d7)=>{const _0x2b6029=_0x232fa2;_0x3402d7&&_0x27d01c[_0x2b6029(0x142)](_0x3402d7),_0x3dbab7&&_0x27d01c[_0x2b6029(0x11d)](_0x3dbab7);});}[_0x1598e5(0x152)](_0x4f893e){const _0x3c4344=_0x1598e5;if(this[_0x3c4344(0x140)][_0x3c4344(0x146)](_0x4f893e),!this[_0x3c4344(0x12a)][_0x3c4344(0x12b)](_0x4f893e))throw new _0x558dfa(_0x3c4344(0x13c),this,{'uiName':_0x4f893e});const _0x548da4=this[_0x3c4344(0x12a)][_0x3c4344(0x141)](_0x4f893e);_0x548da4[_0x3c4344(0x130)](),this[_0x3c4344(0x121)](_0x548da4),this[_0x3c4344(0x143)][_0x3c4344(0x141)](_0x4f893e)[_0x3c4344(0x122)][_0x3c4344(0x125)](),this[_0x3c4344(0x143)][_0x3c4344(0x146)](_0x4f893e);}[_0x1598e5(0x123)](_0x4ca222){const _0x1b0177=_0x1598e5;if(!this[_0x1b0177(0x12a)][_0x1b0177(0x12b)](_0x4ca222))throw new _0x558dfa(_0x1b0177(0x13c),this,{'uiName':_0x4ca222});const _0x275797=this[_0x1b0177(0x11c)][_0x1b0177(0x138)][_0x1b0177(0x141)](_0xcf7065),_0x395695=Array[_0x1b0177(0x12c)](_0x275797[_0x1b0177(0x118)])[0x0]||null;this[_0x1b0177(0x139)](),this[_0x1b0177(0x14b)](_0x4ca222);const _0x154061=this[_0x1b0177(0x12a)][_0x1b0177(0x141)](_0x4ca222);_0x154061[_0x1b0177(0x119)](_0x395695),_0x154061[_0x1b0177(0x12d)]&&_0x395695&&_0x154061[_0x1b0177(0x12d)]([_0x395695]);}[_0x1598e5(0x139)](){const _0x46a704=_0x1598e5;for(const _0xe41c62 of this[_0x46a704(0x140)])this[_0x46a704(0x152)](_0xe41c62);}[_0x1598e5(0x14c)](_0x23d9a5,_0x48ef72){const _0x357bab=_0x1598e5;if(this[_0x357bab(0x12a)][_0x357bab(0x12b)](_0x23d9a5))throw new _0x558dfa(_0x357bab(0x126));if(_0x357bab(0x14e)!=typeof _0x48ef72[_0x357bab(0x13d)]||_0x357bab(0x14e)!=typeof _0x48ef72[_0x357bab(0x130)]||_0x357bab(0x14e)!=typeof _0x48ef72[_0x357bab(0x119)])throw new _0x558dfa(_0x357bab(0x124),null);this[_0x357bab(0x12a)][_0x357bab(0x127)](_0x23d9a5,_0x48ef72);}[_0x1598e5(0x13b)](){const _0x1d4fe1=_0x1598e5,_0x4a0bb3=this[_0x1d4fe1(0x11c)][_0x1d4fe1(0x138)][_0x1d4fe1(0x141)](_0xcf7065)[_0x1d4fe1(0x122)],_0x191612=new Map(),_0x58bf00=Array[_0x1d4fe1(0x12c)](this[_0x1d4fe1(0x140)]);for(const _0x593411 of this[_0x1d4fe1(0x140)]){const _0x18bf30=this[_0x1d4fe1(0x143)][_0x1d4fe1(0x141)](_0x593411)[_0x1d4fe1(0x122)];for(const _0x2e1f2c of _0x18bf30)_0x191612[_0x1d4fe1(0x127)](_0x2e1f2c,_0x593411);}for(const _0x41621c of _0x4a0bb3){const _0x397055=_0x191612[_0x1d4fe1(0x141)](_0x41621c);this[_0x1d4fe1(0x156)](_0x41621c);const _0x52524c=_0x58bf00[_0x1d4fe1(0x134)](_0xff3d02=>this[_0x1d4fe1(0x143)][_0x1d4fe1(0x141)](_0xff3d02)[_0x1d4fe1(0x11f)](_0x41621c));_0x397055!==_0x52524c&&(_0x397055&&this[_0x1d4fe1(0x143)][_0x1d4fe1(0x141)](_0x397055)[_0x1d4fe1(0x122)][_0x1d4fe1(0x132)](_0x41621c),_0x52524c&&this[_0x1d4fe1(0x143)][_0x1d4fe1(0x141)](_0x52524c)[_0x1d4fe1(0x122)][_0x1d4fe1(0x144)](_0x41621c));}}[_0x1598e5(0x125)](){const _0x380681=_0x1598e5;this[_0x380681(0x139)](),super[_0x380681(0x125)]();}[_0x1598e5(0x156)](_0x4e0efe){const _0xdbc56f=_0x1598e5,_0x15c507=[];for(const _0x484b15 of this[_0xdbc56f(0x140)]){(0x0,this[_0xdbc56f(0x143)][_0xdbc56f(0x141)](_0x484b15)[_0xdbc56f(0x11f)])(_0x4e0efe)&&_0x15c507[_0xdbc56f(0x149)](_0x484b15);}if(_0x15c507[_0xdbc56f(0x12f)]>0x1)throw new _0x558dfa(_0xdbc56f(0x13a),null,{'matchedUIs':_0x15c507,'annotationType':_0x4e0efe[_0xdbc56f(0x14d)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f6e08=_0x443d;function _0x443d(_0x3474a0,_0x41d302){const _0x363da5=_0x363d();return _0x443d=function(_0x443d9b,_0x2489f3){_0x443d9b=_0x443d9b-0x67;let _0x5b2874=_0x363da5[_0x443d9b];return _0x5b2874;},_0x443d(_0x3474a0,_0x41d302);}(function(_0x58843e,_0x34f107){const _0x4355aa=_0x443d,_0x4b5fce=_0x58843e();while(!![]){try{const _0x10174e=-parseInt(_0x4355aa(0x96))/0x1*(parseInt(_0x4355aa(0x7a))/0x2)+parseInt(_0x4355aa(0x9e))/0x3*(parseInt(_0x4355aa(0xa0))/0x4)+parseInt(_0x4355aa(0x6b))/0x5*(-parseInt(_0x4355aa(0x71))/0x6)+-parseInt(_0x4355aa(0xa5))/0x7*(-parseInt(_0x4355aa(0x9c))/0x8)+parseInt(_0x4355aa(0x98))/0x9*(parseInt(_0x4355aa(0x93))/0xa)+-parseInt(_0x4355aa(0x89))/0xb*(-parseInt(_0x4355aa(0x76))/0xc)+-parseInt(_0x4355aa(0x6e))/0xd;if(_0x10174e===_0x34f107)break;else _0x4b5fce['push'](_0x4b5fce['shift']());}catch(_0x3bc4d7){_0x4b5fce['push'](_0x4b5fce['shift']());}}}(_0x363d,0xc6137));import{Plugin as _0x2edce0}from'ckeditor5/src/core.js';import{CKEditorError as _0x531be1}from'ckeditor5/src/utils.js';import{debounce as _0x45f2c1}from'lodash-es';import _0x4fe38b from'./annotations.js';function _0x363d(){const _0x4dfba=['getRanges','getByInnerView','refresh','selection','innerView','15414410sfYZYh','from','plugins','1gYPbtD','set','9QvhDRK','uiUpdate','cancel','blur','56jSLFYC','init','150JeShBN','annotation','118772uZYyGq','focusTracker','containsRange','range','hasDomSelection','229789NUaDNo','directChange','change:range','view','model','fire','_editorAnnotations','has','15JeUEyl','_dataCollectors','requires','23119421SzzwjY','isEqual','editor','2026488fMdNEu','sort','isCollapsed','addSourceCollector','get','7128hNvSgQ','update','element','document','1703184tottPi','_editorAnnotationsData','collection','map','add','getOrderedSelectedAnnotations','isReadOnly','editorannotations-invalid-source-callback','registerAnnotation','EditorAnnotations','function','pluginName','change:isFocused','editing','push','22198kvXltn','refreshSelectedViews','listenTo','remove','delete'];_0x363d=function(){return _0x4dfba;};return _0x363d();}export default class k extends _0x2edce0{static get[_0x1f6e08(0x6d)](){return[_0x4fe38b];}static get[_0x1f6e08(0x85)](){const _0x26c6d8=_0x1f6e08;return _0x26c6d8(0x83);}constructor(_0x423472){const _0x357803=_0x1f6e08;super(_0x423472),this[_0x357803(0x6c)]=new Set(),this[_0x357803(0x69)]=new Set();}[_0x1f6e08(0x9d)](){const _0x586567=_0x1f6e08,_0x48d83f=this[_0x586567(0x70)],_0x2275e5=_0x48d83f[_0x586567(0x67)][_0x586567(0x79)][_0x586567(0x91)],_0x495a4a=_0x45f2c1(()=>this[_0x586567(0x8a)](),0xa);_0x2275e5['on'](_0x586567(0xa7),(_0x244084,_0x25a5f2)=>{const _0x286828=_0x586567;_0x25a5f2[_0x286828(0xa6)]&&(_0x495a4a[_0x286828(0x9a)](),this[_0x286828(0x8a)]());}),this[_0x586567(0x8b)](_0x48d83f[_0x586567(0x87)][_0x586567(0xa8)][_0x586567(0x79)],_0x586567(0x86),(_0x6b472e,_0x3783d9,_0x3e3500)=>{_0x3e3500&&_0x495a4a();}),this[_0x586567(0x8b)](_0x48d83f['ui'][_0x586567(0xa1)],_0x586567(0x86),(_0x3069d4,_0x4552cb,_0x59515f)=>{const _0x19141c=_0x586567;_0x59515f||_0x48d83f[_0x19141c(0x80)]||this[_0x19141c(0x68)](_0x19141c(0x9b),{'isAnnotationTracked':_0x2321f1=>this[_0x19141c(0x7b)][_0x19141c(0x6a)](_0x2321f1[_0x19141c(0x92)])});}),this[_0x586567(0x8b)](this[_0x586567(0x70)]['ui'],_0x586567(0x77),()=>this[_0x586567(0x68)](_0x586567(0x99)));}[_0x1f6e08(0x82)](_0x21b652){const _0x4f9c82=_0x1f6e08;if(this[_0x4f9c82(0x69)][_0x4f9c82(0x6a)](_0x21b652[_0x4f9c82(0xa8)]))return;this[_0x4f9c82(0x69)][_0x4f9c82(0x7e)](_0x21b652[_0x4f9c82(0xa8)]),this[_0x4f9c82(0x70)]['ui'][_0x4f9c82(0xa1)][_0x4f9c82(0x7e)](_0x21b652[_0x4f9c82(0xa8)][_0x4f9c82(0x78)]);const _0x387de1=this[_0x4f9c82(0x70)][_0x4f9c82(0x95)][_0x4f9c82(0x75)](_0x4fe38b);this[_0x4f9c82(0x8b)](_0x387de1[_0x4f9c82(0x7c)],_0x4f9c82(0x8c),(_0x238571,_0x4b7b52)=>{const _0x511088=_0x4f9c82;this[_0x511088(0x70)]['ui'][_0x511088(0xa1)][_0x511088(0x8c)](_0x4b7b52[_0x511088(0xa8)][_0x511088(0x78)]),this[_0x511088(0x69)][_0x511088(0x8d)](_0x4b7b52[_0x511088(0xa8)]);});}[_0x1f6e08(0xa4)](){const _0x19cbaa=_0x1f6e08;return this[_0x19cbaa(0x70)][_0x19cbaa(0x87)][_0x19cbaa(0xa8)][_0x19cbaa(0xa4)];}[_0x1f6e08(0x74)](_0x7e0d18){const _0x36fcb2=_0x1f6e08;if(_0x36fcb2(0x84)!=typeof _0x7e0d18)throw new _0x531be1(_0x36fcb2(0x81));this[_0x36fcb2(0x6c)][_0x36fcb2(0x7e)](_0x7e0d18);}[_0x1f6e08(0x8a)](){const _0x471962=_0x1f6e08;this[_0x471962(0x68)](_0x471962(0x90));}[_0x1f6e08(0x7f)]({activeAnnotation:_0x207e23,annotations:_0x5246ad}){const _0x1c5e04=_0x1f6e08,_0x34c4e2=[],_0x40ffff=this[_0x1c5e04(0x70)][_0x1c5e04(0x67)][_0x1c5e04(0x79)][_0x1c5e04(0x91)],_0x424d6f=Array[_0x1c5e04(0x94)](_0x40ffff[_0x1c5e04(0x8e)]());for(const [_0x13876f,_0x345053]of this[_0x1c5e04(0x7b)]){const _0x4b55f6=_0x5f2af3(_0x345053),_0x5c68d8=_0x5246ad[_0x1c5e04(0x8f)](_0x13876f);_0x4b55f6&&_0x5c68d8&&_0x34c4e2[_0x1c5e04(0x88)]({'annotation':_0x5c68d8,'range':_0x4b55f6});}function _0x5f2af3(_0x177a4d){const _0x1b7a22=_0x1c5e04;for(const _0x3d6064 of _0x177a4d)for(const _0x374125 of _0x424d6f)if(_0x3d6064[_0x1b7a22(0xa2)](_0x374125,!_0x40ffff[_0x1b7a22(0x73)]))return _0x3d6064;return null;}return _0x34c4e2[_0x1c5e04(0x72)]((_0x348b48,_0x5de779)=>{const _0x40c1d0=_0x1c5e04,_0x325692=_0x348b48[_0x40c1d0(0xa3)],_0x3e42fd=_0x5de779[_0x40c1d0(0xa3)];if(!_0x325692[_0x40c1d0(0x6f)](_0x3e42fd)){if(_0x325692[_0x40c1d0(0xa2)](_0x3e42fd,!0x0))return 0x1;if(_0x3e42fd[_0x40c1d0(0xa2)](_0x325692,!0x0))return-0x1;}return _0x348b48[_0x40c1d0(0x9f)]==_0x207e23?-0x1:_0x5de779[_0x40c1d0(0x9f)]==_0x207e23?0x1:0x0;})[_0x1c5e04(0x7d)](_0x2f2613=>_0x2f2613[_0x1c5e04(0x9f)]);}get[_0x1f6e08(0x7b)](){const _0x2cc3d1=_0x1f6e08,_0x20a445=new Map();for(const _0x47396a of Array[_0x2cc3d1(0x94)](this[_0x2cc3d1(0x6c)]))for(const [_0x2c7ee4,_0x3d9d30]of _0x47396a())_0x20a445[_0x2cc3d1(0x97)](_0x2c7ee4,_0x3d9d30);return _0x20a445;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x507347=_0x47ec;(function(_0x1b5914,_0x5e209b){const _0x5263bf=_0x47ec,_0x3b5e86=_0x1b5914();while(!![]){try{const _0x9608b5=-parseInt(_0x5263bf(0x139))/0x1*(parseInt(_0x5263bf(0x123))/0x2)+parseInt(_0x5263bf(0x154))/0x3+-parseInt(_0x5263bf(0x164))/0x4+parseInt(_0x5263bf(0x149))/0x5+parseInt(_0x5263bf(0x152))/0x6*(-parseInt(_0x5263bf(0x121))/0x7)+parseInt(_0x5263bf(0x177))/0x8+-parseInt(_0x5263bf(0x172))/0x9*(parseInt(_0x5263bf(0x17e))/0xa);if(_0x9608b5===_0x5e209b)break;else _0x3b5e86['push'](_0x3b5e86['shift']());}catch(_0x1c2200){_0x3b5e86['push'](_0x3b5e86['shift']());}}}(_0x1b6e,0xb8b09));import{Plugin as _0x46df96}from'ckeditor5/src/core.js';import _0x3cb88b from'./annotationsuis.js';import _0x570b13 from'./editorannotations.js';import{ContextualBalloon as _0x4cbb49}from'ckeditor5/src/ui.js';import{MouseObserver as _0x5a2425}from'ckeditor5/src/engine.js';function _0x47ec(_0x2b45c6,_0x246f47){const _0x1b6e60=_0x1b6e();return _0x47ec=function(_0x47ece1,_0x188bd8){_0x47ece1=_0x47ece1-0x11e;let _0x5044e1=_0x1b6e60[_0x47ece1];return _0x5044e1;},_0x47ec(_0x2b45c6,_0x246f47);}import{CKEditorError as _0x606df4,Rect as _0x5797b8}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x46df96{static get[_0x507347(0x158)](){return[_0x570b13,_0x4cbb49,_0x3cb88b];}static get[_0x507347(0x12d)](){const _0x5dc0bb=_0x507347;return _0x5dc0bb(0x12a);}constructor(_0x5477b6){const _0x512058=_0x507347;super(_0x5477b6),_0x5477b6[_0x512058(0x125)][_0x512058(0x11f)][_0x512058(0x135)](_0x5a2425),this[_0x512058(0x14e)]=!0x1,this[_0x512058(0x137)](_0x512058(0x12c),null),this[_0x512058(0x145)]=null,this[_0x512058(0x15d)]=new Set(),this[_0x512058(0x16b)]=_0x5477b6[_0x512058(0x153)][_0x512058(0x16f)](_0x4cbb49),this[_0x512058(0x130)]=new Set(),this[_0x512058(0x131)]=[],this[_0x512058(0x16c)]=!0x1;}[_0x507347(0x11e)](){const _0x30b842=_0x507347,_0x11575e=this[_0x30b842(0x14c)][_0x30b842(0x153)][_0x30b842(0x16f)](_0x3cb88b);_0x11575e[_0x30b842(0x16d)]===this[_0x30b842(0x14c)]&&(_0x11575e[_0x30b842(0x142)](_0x30b842(0x13b),this),this[_0x30b842(0x14c)][_0x30b842(0x165)][_0x30b842(0x137)](_0x30b842(0x14d),(_0x561e33,_0x4f4b38)=>{const _0x38be2b=_0x30b842,_0x409261=this[_0x38be2b(0x16b)];if(this[_0x38be2b(0x14e)]&&_0x409261[_0x38be2b(0x127)]){const _0x21ad68=this[_0x38be2b(0x145)][_0x38be2b(0x166)](_0x409261[_0x38be2b(0x127)]);_0x21ad68&&this[_0x38be2b(0x160)](_0x21ad68),_0x4f4b38();}}));}[_0x507347(0x12f)](){const _0x220987=_0x507347,_0x15b80a=this[_0x220987(0x14c)][_0x220987(0x153)][_0x220987(0x16f)](_0x3cb88b);_0x15b80a[_0x220987(0x16d)]===this[_0x220987(0x14c)]&&(_0x15b80a[_0x220987(0x157)]()||_0x15b80a[_0x220987(0x178)](_0x220987(0x13b)));}[_0x507347(0x176)](_0x20c5aa){const _0x1056f2=_0x507347;_0x20c5aa!==this[_0x1056f2(0x12c)]&&(this[_0x1056f2(0x12c)]&&(this[_0x1056f2(0x12c)][_0x1056f2(0x162)]=!0x1),_0x20c5aa&&this[_0x1056f2(0x14c)]['ui'][_0x1056f2(0x17c)][_0x1056f2(0x126)]&&(this[_0x1056f2(0x145)][_0x1056f2(0x175)](_0x20c5aa)&&this[_0x1056f2(0x16e)](_0x20c5aa,!0x0),_0x20c5aa[_0x1056f2(0x162)]=!0x0),_0x20c5aa||this[_0x1056f2(0x141)]([]),this[_0x1056f2(0x12c)]=_0x20c5aa);}[_0x507347(0x146)](_0x2b6410){const _0x209d4d=_0x507347;this[_0x209d4d(0x145)]=_0x2b6410;const _0x5c36a0=this[_0x209d4d(0x14c)][_0x209d4d(0x153)][_0x209d4d(0x16f)](_0x3cb88b),_0x4a8388=this[_0x209d4d(0x16b)];if(this[_0x209d4d(0x14e)])throw new _0x606df4(_0x209d4d(0x156),this);if(_0x5c36a0[_0x209d4d(0x16d)]!==this[_0x209d4d(0x14c)])throw new _0x606df4(_0x209d4d(0x134),this);const _0x7ea83f=this[_0x209d4d(0x14c)][_0x209d4d(0x153)][_0x209d4d(0x16f)](_0x570b13);this[_0x209d4d(0x14b)](_0x7ea83f,_0x209d4d(0x15a),()=>{const _0x5ed83f=_0x209d4d,_0xde96e8=_0x7ea83f[_0x5ed83f(0x17d)]({'annotations':this[_0x5ed83f(0x145)],'activeAnnotation':this[_0x5ed83f(0x12c)]});var _0x44b8fb,_0x3ebd4e;!this[_0x5ed83f(0x16c)]&&(_0x44b8fb=_0xde96e8,_0x3ebd4e=this[_0x5ed83f(0x131)],_0x44b8fb[_0x5ed83f(0x14a)]===_0x3ebd4e[_0x5ed83f(0x14a)]&&_0x44b8fb[_0x5ed83f(0x15b)](_0x2c24f3=>_0x3ebd4e[_0x5ed83f(0x17a)](_0x2c24f3)))||(this[_0x5ed83f(0x16c)]=!0x1,this[_0x5ed83f(0x141)](_0xde96e8),this[_0x5ed83f(0x176)](_0xde96e8[0x0]||null));}),this[_0x209d4d(0x14b)](_0x7ea83f,_0x209d4d(0x13a),(_0x397421,{isAnnotationTracked:_0x2d24e2})=>{const _0x5a411e=_0x209d4d;this[_0x5a411e(0x12c)]&&_0x2d24e2(this[_0x5a411e(0x12c)])&&(this[_0x5a411e(0x141)]([]),this[_0x5a411e(0x176)](null));}),this[_0x209d4d(0x14b)](this[_0x209d4d(0x14c)]['ui'][_0x209d4d(0x17c)],_0x209d4d(0x150),(_0x83d7d1,_0x2a69b1,_0x4ab09d)=>{const _0x376f7f=_0x209d4d;_0x4ab09d||this[_0x376f7f(0x176)](null);}),this[_0x209d4d(0x14b)](_0x2b6410,_0x209d4d(0x179),(_0x507868,_0xd80543)=>{const _0x28ab28=_0x209d4d;this[_0x28ab28(0x168)](_0xd80543),_0xd80543===this[_0x28ab28(0x12c)]&&this[_0x28ab28(0x176)](null);}),this[_0x209d4d(0x14b)](_0x4a8388,_0x209d4d(0x143),(_0x1fe9f3,_0x4f40c5,_0x306701,_0x54fa47)=>{const _0x8e8dd3=_0x209d4d;_0x54fa47&&this[_0x8e8dd3(0x136)](_0x54fa47);const _0x43a37a=_0x2b6410[_0x8e8dd3(0x166)](_0x306701);_0x306701&&_0x43a37a&&(this[_0x8e8dd3(0x14b)](_0x306701,_0x8e8dd3(0x12b),()=>{const _0x23e997=_0x8e8dd3;_0x4a8388[_0x23e997(0x129)]();}),this[_0x8e8dd3(0x14b)](_0x306701,_0x8e8dd3(0x14d),()=>{const _0x307496=_0x8e8dd3;this[_0x307496(0x160)](_0x43a37a),this[_0x307496(0x14c)][_0x307496(0x125)][_0x307496(0x11f)][_0x307496(0x17b)]();}),this[_0x8e8dd3(0x12c)]!==_0x43a37a&&this[_0x8e8dd3(0x176)](_0x43a37a));}),this[_0x209d4d(0x14b)](this[_0x209d4d(0x14c)]['ui'],_0x209d4d(0x13c),()=>{const _0x43d69f=_0x209d4d;_0x4a8388[_0x43d69f(0x127)]&&(_0x2b6410[_0x43d69f(0x166)](_0x4a8388[_0x43d69f(0x127)])&&_0x4a8388[_0x43d69f(0x129)]());}),this[_0x209d4d(0x14b)](this[_0x209d4d(0x14c)][_0x209d4d(0x125)][_0x209d4d(0x11f)][_0x209d4d(0x14f)],_0x209d4d(0x170),()=>{const _0x233bb6=_0x209d4d;this[_0x233bb6(0x16c)]=!0x0,this[_0x233bb6(0x15d)][_0x233bb6(0x171)]();}),this[_0x209d4d(0x14c)][_0x209d4d(0x125)][_0x209d4d(0x11f)][_0x209d4d(0x14f)][_0x209d4d(0x173)][_0x209d4d(0x151)]&&this[_0x209d4d(0x14c)][_0x209d4d(0x125)][_0x209d4d(0x11f)][_0x209d4d(0x17b)](),this[_0x209d4d(0x14e)]=!0x0;}[_0x507347(0x13e)](){const _0x3c9125=_0x507347;if(!this[_0x3c9125(0x14e)])throw new _0x606df4(_0x3c9125(0x147),this);this[_0x3c9125(0x176)](null);for(const _0x5d6347 of this[_0x3c9125(0x130)])this[_0x3c9125(0x168)](_0x5d6347);this[_0x3c9125(0x136)](),this[_0x3c9125(0x14e)]=!0x1,this[_0x3c9125(0x145)]=null;}[_0x507347(0x13d)](){const _0x5b60d0=_0x507347;this[_0x5b60d0(0x14e)]&&this[_0x5b60d0(0x13e)]();}[_0x507347(0x141)](_0xbbe04b){const _0x1ceaed=_0x507347;for(const _0x377fa4 of this[_0x1ceaed(0x131)])_0xbbe04b[_0x1ceaed(0x17a)](_0x377fa4)||this[_0x1ceaed(0x15d)][_0x1ceaed(0x163)](_0x377fa4);for(const _0x4de1ce of this[_0x1ceaed(0x145)])_0xbbe04b[_0x1ceaed(0x17a)](_0x4de1ce)||this[_0x1ceaed(0x168)](_0x4de1ce);if(this[_0x1ceaed(0x14c)]['ui'][_0x1ceaed(0x17c)][_0x1ceaed(0x126)]){for(const _0x180868 of _0xbbe04b)this[_0x1ceaed(0x16e)](_0x180868);}this[_0x1ceaed(0x131)]=_0xbbe04b;}[_0x507347(0x16e)](_0x3a8d67,_0x4aa51f=!0x1){const _0x5ec62e=_0x507347;this[_0x5ec62e(0x15d)][_0x5ec62e(0x175)](_0x3a8d67)||(this[_0x5ec62e(0x130)][_0x5ec62e(0x175)](_0x3a8d67)||this[_0x5ec62e(0x16b)][_0x5ec62e(0x174)](_0x3a8d67[_0x5ec62e(0x11f)])||(this[_0x5ec62e(0x130)][_0x5ec62e(0x16a)](_0x3a8d67),this[_0x5ec62e(0x16b)][_0x5ec62e(0x16a)]({'stackId':_0x3a8d67[_0x5ec62e(0x11f)]['id'],'view':_0x3a8d67[_0x5ec62e(0x11f)],'position':{'target':()=>this[_0x5ec62e(0x144)](_0x3a8d67)}})),_0x4aa51f&&this[_0x5ec62e(0x16b)][_0x5ec62e(0x15c)](_0x3a8d67[_0x5ec62e(0x11f)]['id']));}[_0x507347(0x144)](_0x98c9df){const _0x2c0536=_0x507347,_0x394428=_0x98c9df[_0x2c0536(0x167)],_0x2fe894=this[_0x2c0536(0x14c)][_0x2c0536(0x125)][_0x2c0536(0x11f)],_0x4f0f40=_0x2fe894[_0x2c0536(0x14f)][_0x2c0536(0x173)][_0x2c0536(0x148)](),_0x42299b=_0x2fe894[_0x2c0536(0x155)][_0x2c0536(0x128)](_0x4f0f40);if(_0x42299b[_0x2c0536(0x124)](!0x0),_0x394428){if(_0x394428 instanceof _0x5797b8)return _0x394428;let _0x593d2a=[];for(const _0x4a640f of _0x394428)_0x593d2a[_0x2c0536(0x13f)](...(_0x5db973=_0x4a640f[_0x2c0536(0x140)](),Array[_0x2c0536(0x15e)](_0x5db973)[_0x2c0536(0x169)](DOMRect[_0x2c0536(0x12e)])));_0x593d2a=function(_0x53dd33){const _0x60cff=_0x2c0536,_0x59bc45=[];let _0x510637=_0x53dd33[0x0];for(let _0x22c62a=0x1;_0x22c62a<_0x53dd33[_0x60cff(0x14a)];_0x22c62a++)F(_0x510637,_0x53dd33[_0x22c62a])?_0x510637[_0x60cff(0x15f)]+=_0x53dd33[_0x22c62a][_0x60cff(0x15f)]:(_0x59bc45[_0x60cff(0x13f)](_0x510637),_0x510637=_0x53dd33[_0x22c62a]);return _0x59bc45[_0x60cff(0x13f)](_0x510637),_0x59bc45;}(_0x593d2a);const _0x32c2ad=_0x42299b[_0x2c0536(0x133)]();return _0x593d2a[_0x2c0536(0x122)](_0x548c6c=>_0x548c6c[_0x2c0536(0x159)]<=_0x32c2ad[_0x2c0536(0x159)]&&_0x548c6c[_0x2c0536(0x138)]>=_0x32c2ad[_0x2c0536(0x138)]&&_0x548c6c[_0x2c0536(0x120)]<=_0x32c2ad[_0x2c0536(0x120)]&&_0x548c6c[_0x2c0536(0x132)]>=_0x32c2ad[_0x2c0536(0x132)])||_0x593d2a[0x0];}var _0x5db973;return _0x98c9df[_0x2c0536(0x161)]||_0x42299b;}[_0x507347(0x168)](_0x15e2f1){const _0x42a273=_0x507347;this[_0x42a273(0x130)][_0x42a273(0x175)](_0x15e2f1)&&this[_0x42a273(0x16b)][_0x42a273(0x174)](_0x15e2f1[_0x42a273(0x11f)])&&(this[_0x42a273(0x130)][_0x42a273(0x163)](_0x15e2f1),this[_0x42a273(0x16b)][_0x42a273(0x179)](_0x15e2f1[_0x42a273(0x11f)]));}[_0x507347(0x160)](_0xec34a5){const _0xdfa373=_0x507347;this[_0xdfa373(0x15d)][_0xdfa373(0x16a)](_0xec34a5),this[_0xdfa373(0x168)](_0xec34a5);}}function _0x1b6e(){const _0x5888db=['mousedown','clear','16866VCMzEU','selection','hasView','has','setActiveAnnotation','9252480sydSBX','switchTo','remove','includes','focus','focusTracker','getOrderedSelectedAnnotations','2270QBcuSF','init','view','left','583303MSvGFr','find','568336SjPePi','collapse','editing','isFocused','visibleView','viewRangeToDom','updatePosition','InlineAnnotations','change:height','activeAnnotation','pluginName','fromRect','afterInit','_addedAnnotations','_selectedAnnotations','right','getBoundingClientRect','inlineannotations-not-allowed-with-context','addObserver','stopListening','set','bottom','2hfRlYb','blur','inline','update','destroy','detach','push','getClientRects','_setSelectedAnnotations','register','change:visibleView','_getBalloonTargetForAnnotation','annotations','attach','inlineannotations-detach-not-attached','getFirstRange','5727025zjmoKI','length','listenTo','editor','Esc','isAttached','document','change:isFocused','editableElement','6XRVzUl','plugins','2501601IfOsWq','domConverter','inlineannotations-attach-already-attached','hasActive','requires','top','refresh','every','showStack','_manuallyClosed','from','width','_closeAnnotation','targetRect','isActive','delete','5209120RfNwVB','keystrokes','getByView','target','_removeAnnotationFromBalloon','map','add','_balloon','_forceRefresh','context','_addAnnotationToBalloon','get'];_0x1b6e=function(){return _0x5888db;};return _0x1b6e();}function F(_0x19ce20,_0xab421f){const _0x28d493=_0x507347;return _0x19ce20[_0x28d493(0x159)]===_0xab421f[_0x28d493(0x159)]&&_0x19ce20[_0x28d493(0x138)]===_0xab421f[_0x28d493(0x138)]&&_0x19ce20[_0x28d493(0x132)]===_0xab421f[_0x28d493(0x120)];}
|
|
23
|
+
function _0xcf1b(){const _0x29f8d0=['domConverter','editor','attach','_setSelectedAnnotations','switchTo','destroy','visibleView','hasActive','set','getClientRects','mousedown','plugins','fromRect','target','isActive','find','clear','targetRect','setActiveAnnotation','inline','length','1546455ZCNuDA','pluginName','change:visibleView','listenTo','stopListening','detach','_balloon','updatePosition','showStack','left','bottom','afterInit','map','_closeAnnotation','isFocused','width','activeAnnotation','Esc','register','472287Gyufbi','_manuallyClosed','includes','_selectedAnnotations','refresh','isAttached','remove','annotations','keystrokes','getFirstRange','context','every','_addedAnnotations','has','inlineannotations-attach-already-attached','getOrderedSelectedAnnotations','4zWGpfm','_addAnnotationToBalloon','viewRangeToDom','1158822kowrlx','right','update','top','_removeAnnotationFromBalloon','document','get','1563408DUzbgV','from','selection','72908tNKUIT','delete','_getBalloonTargetForAnnotation','hasView','inlineannotations-detach-not-attached','inlineannotations-not-allowed-with-context','addObserver','change:isFocused','getBoundingClientRect','1027138kTAJVQ','InlineAnnotations','371942pKiGoI','focusTracker','add','editableElement','focus','editing','push','requires','getByView','_forceRefresh','collapse','init','change:height','view','blur'];_0xcf1b=function(){return _0x29f8d0;};return _0xcf1b();}const _0x63d5a7=_0x1100;(function(_0x99a3b8,_0x24f84d){const _0x4cd7ec=_0x1100,_0x31a17e=_0x99a3b8();while(!![]){try{const _0x145e8e=parseInt(_0x4cd7ec(0x172))/0x1+-parseInt(_0x4cd7ec(0x15a))/0x2*(parseInt(_0x4cd7ec(0x14a))/0x3)+-parseInt(_0x4cd7ec(0x167))/0x4+parseInt(_0x4cd7ec(0x137))/0x5+-parseInt(_0x4cd7ec(0x15d))/0x6+-parseInt(_0x4cd7ec(0x170))/0x7+parseInt(_0x4cd7ec(0x164))/0x8;if(_0x145e8e===_0x24f84d)break;else _0x31a17e['push'](_0x31a17e['shift']());}catch(_0x4ae929){_0x31a17e['push'](_0x31a17e['shift']());}}}(_0xcf1b,0x31bb7));import{Plugin as _0x55290c}from'ckeditor5/src/core.js';import _0x40483d from'./annotationsuis.js';import _0x4f25b8 from'./editorannotations.js';import{ContextualBalloon as _0x4e4dfc}from'ckeditor5/src/ui.js';import{MouseObserver as _0x349c02}from'ckeditor5/src/engine.js';import{CKEditorError as _0x1dcdb3,Rect as _0x337040}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x55290c{static get[_0x63d5a7(0x11a)](){return[_0x4f25b8,_0x4e4dfc,_0x40483d];}static get[_0x63d5a7(0x138)](){const _0x1ee776=_0x63d5a7;return _0x1ee776(0x171);}constructor(_0x17ac51){const _0x3df7c7=_0x63d5a7;super(_0x17ac51),_0x17ac51[_0x3df7c7(0x118)][_0x3df7c7(0x120)][_0x3df7c7(0x16d)](_0x349c02),this[_0x3df7c7(0x14f)]=!0x1,this[_0x3df7c7(0x12a)](_0x3df7c7(0x147),null),this[_0x3df7c7(0x151)]=null,this[_0x3df7c7(0x14b)]=new Set(),this[_0x3df7c7(0x13d)]=_0x17ac51[_0x3df7c7(0x12d)][_0x3df7c7(0x163)](_0x4e4dfc),this[_0x3df7c7(0x156)]=new Set(),this[_0x3df7c7(0x14d)]=[],this[_0x3df7c7(0x11c)]=!0x1;}[_0x63d5a7(0x11e)](){const _0x1b428e=_0x63d5a7,_0x1933a7=this[_0x1b428e(0x123)][_0x1b428e(0x12d)][_0x1b428e(0x163)](_0x40483d);_0x1933a7[_0x1b428e(0x154)]===this[_0x1b428e(0x123)]&&(_0x1933a7[_0x1b428e(0x149)](_0x1b428e(0x135),this),this[_0x1b428e(0x123)][_0x1b428e(0x152)][_0x1b428e(0x12a)](_0x1b428e(0x148),(_0x3081d2,_0x38a394)=>{const _0x566580=_0x1b428e,_0x701218=this[_0x566580(0x13d)];if(this[_0x566580(0x14f)]&&_0x701218[_0x566580(0x128)]){const _0xc93a76=this[_0x566580(0x151)][_0x566580(0x11b)](_0x701218[_0x566580(0x128)]);_0xc93a76&&this[_0x566580(0x144)](_0xc93a76),_0x38a394();}}));}[_0x63d5a7(0x142)](){const _0x351a7f=_0x63d5a7,_0x401462=this[_0x351a7f(0x123)][_0x351a7f(0x12d)][_0x351a7f(0x163)](_0x40483d);_0x401462[_0x351a7f(0x154)]===this[_0x351a7f(0x123)]&&(_0x401462[_0x351a7f(0x129)]()||_0x401462[_0x351a7f(0x126)](_0x351a7f(0x135)));}[_0x63d5a7(0x134)](_0x167ec0){const _0x2c9adf=_0x63d5a7;_0x167ec0!==this[_0x2c9adf(0x147)]&&(this[_0x2c9adf(0x147)]&&(this[_0x2c9adf(0x147)][_0x2c9adf(0x130)]=!0x1),_0x167ec0&&this[_0x2c9adf(0x123)]['ui'][_0x2c9adf(0x173)][_0x2c9adf(0x145)]&&(this[_0x2c9adf(0x151)][_0x2c9adf(0x157)](_0x167ec0)&&this[_0x2c9adf(0x15b)](_0x167ec0,!0x0),_0x167ec0[_0x2c9adf(0x130)]=!0x0),_0x167ec0||this[_0x2c9adf(0x125)]([]),this[_0x2c9adf(0x147)]=_0x167ec0);}[_0x63d5a7(0x124)](_0x68eeef){const _0x22dffb=_0x63d5a7;this[_0x22dffb(0x151)]=_0x68eeef;const _0x350e07=this[_0x22dffb(0x123)][_0x22dffb(0x12d)][_0x22dffb(0x163)](_0x40483d),_0x202076=this[_0x22dffb(0x13d)];if(this[_0x22dffb(0x14f)])throw new _0x1dcdb3(_0x22dffb(0x158),this);if(_0x350e07[_0x22dffb(0x154)]!==this[_0x22dffb(0x123)])throw new _0x1dcdb3(_0x22dffb(0x16c),this);const _0x2c1aa6=this[_0x22dffb(0x123)][_0x22dffb(0x12d)][_0x22dffb(0x163)](_0x4f25b8);this[_0x22dffb(0x13a)](_0x2c1aa6,_0x22dffb(0x14e),()=>{const _0x32d8d7=_0x22dffb,_0x22c391=_0x2c1aa6[_0x32d8d7(0x159)]({'annotations':this[_0x32d8d7(0x151)],'activeAnnotation':this[_0x32d8d7(0x147)]});var _0x2da8cc,_0x1d7f36;!this[_0x32d8d7(0x11c)]&&(_0x2da8cc=_0x22c391,_0x1d7f36=this[_0x32d8d7(0x14d)],_0x2da8cc[_0x32d8d7(0x136)]===_0x1d7f36[_0x32d8d7(0x136)]&&_0x2da8cc[_0x32d8d7(0x155)](_0x39f3eb=>_0x1d7f36[_0x32d8d7(0x14c)](_0x39f3eb)))||(this[_0x32d8d7(0x11c)]=!0x1,this[_0x32d8d7(0x125)](_0x22c391),this[_0x32d8d7(0x134)](_0x22c391[0x0]||null));}),this[_0x22dffb(0x13a)](_0x2c1aa6,_0x22dffb(0x121),(_0x40f6b9,{isAnnotationTracked:_0x559ae9})=>{const _0x459ade=_0x22dffb;this[_0x459ade(0x147)]&&_0x559ae9(this[_0x459ade(0x147)])&&(this[_0x459ade(0x125)]([]),this[_0x459ade(0x134)](null));}),this[_0x22dffb(0x13a)](this[_0x22dffb(0x123)]['ui'][_0x22dffb(0x173)],_0x22dffb(0x16e),(_0x50530b,_0x3fbcb5,_0x4e0f71)=>{const _0x1ad8ba=_0x22dffb;_0x4e0f71||this[_0x1ad8ba(0x134)](null);}),this[_0x22dffb(0x13a)](_0x68eeef,_0x22dffb(0x150),(_0x1f896f,_0x2d3a64)=>{const _0x2ed124=_0x22dffb;this[_0x2ed124(0x161)](_0x2d3a64),_0x2d3a64===this[_0x2ed124(0x147)]&&this[_0x2ed124(0x134)](null);}),this[_0x22dffb(0x13a)](_0x202076,_0x22dffb(0x139),(_0x18cb74,_0x3ad486,_0x28fbfe,_0x18fc3b)=>{const _0x2ff9fc=_0x22dffb;_0x18fc3b&&this[_0x2ff9fc(0x13b)](_0x18fc3b);const _0x24864e=_0x68eeef[_0x2ff9fc(0x11b)](_0x28fbfe);_0x28fbfe&&_0x24864e&&(this[_0x2ff9fc(0x13a)](_0x28fbfe,_0x2ff9fc(0x11f),()=>{const _0x338548=_0x2ff9fc;_0x202076[_0x338548(0x13e)]();}),this[_0x2ff9fc(0x13a)](_0x28fbfe,_0x2ff9fc(0x148),()=>{const _0x35ca8c=_0x2ff9fc;this[_0x35ca8c(0x144)](_0x24864e),this[_0x35ca8c(0x123)][_0x35ca8c(0x118)][_0x35ca8c(0x120)][_0x35ca8c(0x117)]();}),this[_0x2ff9fc(0x147)]!==_0x24864e&&this[_0x2ff9fc(0x134)](_0x24864e));}),this[_0x22dffb(0x13a)](this[_0x22dffb(0x123)]['ui'],_0x22dffb(0x15f),()=>{const _0x5e41fd=_0x22dffb;_0x202076[_0x5e41fd(0x128)]&&(_0x68eeef[_0x5e41fd(0x11b)](_0x202076[_0x5e41fd(0x128)])&&_0x202076[_0x5e41fd(0x13e)]());}),this[_0x22dffb(0x13a)](this[_0x22dffb(0x123)][_0x22dffb(0x118)][_0x22dffb(0x120)][_0x22dffb(0x162)],_0x22dffb(0x12c),()=>{const _0x485b51=_0x22dffb;this[_0x485b51(0x11c)]=!0x0,this[_0x485b51(0x14b)][_0x485b51(0x132)]();}),this[_0x22dffb(0x123)][_0x22dffb(0x118)][_0x22dffb(0x120)][_0x22dffb(0x162)][_0x22dffb(0x166)][_0x22dffb(0x116)]&&this[_0x22dffb(0x123)][_0x22dffb(0x118)][_0x22dffb(0x120)][_0x22dffb(0x117)](),this[_0x22dffb(0x14f)]=!0x0;}[_0x63d5a7(0x13c)](){const _0x2e6b7b=_0x63d5a7;if(!this[_0x2e6b7b(0x14f)])throw new _0x1dcdb3(_0x2e6b7b(0x16b),this);this[_0x2e6b7b(0x134)](null);for(const _0x662cde of this[_0x2e6b7b(0x156)])this[_0x2e6b7b(0x161)](_0x662cde);this[_0x2e6b7b(0x13b)](),this[_0x2e6b7b(0x14f)]=!0x1,this[_0x2e6b7b(0x151)]=null;}[_0x63d5a7(0x127)](){const _0x4f5d52=_0x63d5a7;this[_0x4f5d52(0x14f)]&&this[_0x4f5d52(0x13c)]();}[_0x63d5a7(0x125)](_0x5950f7){const _0x2707bb=_0x63d5a7;for(const _0xa74416 of this[_0x2707bb(0x14d)])_0x5950f7[_0x2707bb(0x14c)](_0xa74416)||this[_0x2707bb(0x14b)][_0x2707bb(0x168)](_0xa74416);for(const _0x2c58f4 of this[_0x2707bb(0x151)])_0x5950f7[_0x2707bb(0x14c)](_0x2c58f4)||this[_0x2707bb(0x161)](_0x2c58f4);if(this[_0x2707bb(0x123)]['ui'][_0x2707bb(0x173)][_0x2707bb(0x145)]){for(const _0x410027 of _0x5950f7)this[_0x2707bb(0x15b)](_0x410027);}this[_0x2707bb(0x14d)]=_0x5950f7;}[_0x63d5a7(0x15b)](_0x426480,_0x28f697=!0x1){const _0x4b6645=_0x63d5a7;this[_0x4b6645(0x14b)][_0x4b6645(0x157)](_0x426480)||(this[_0x4b6645(0x156)][_0x4b6645(0x157)](_0x426480)||this[_0x4b6645(0x13d)][_0x4b6645(0x16a)](_0x426480[_0x4b6645(0x120)])||(this[_0x4b6645(0x156)][_0x4b6645(0x115)](_0x426480),this[_0x4b6645(0x13d)][_0x4b6645(0x115)]({'stackId':_0x426480[_0x4b6645(0x120)]['id'],'view':_0x426480[_0x4b6645(0x120)],'position':{'target':()=>this[_0x4b6645(0x169)](_0x426480)}})),_0x28f697&&this[_0x4b6645(0x13d)][_0x4b6645(0x13f)](_0x426480[_0x4b6645(0x120)]['id']));}[_0x63d5a7(0x169)](_0x5d8a5a){const _0x23bbf3=_0x63d5a7,_0x5809e8=_0x5d8a5a[_0x23bbf3(0x12f)],_0x15a38f=this[_0x23bbf3(0x123)][_0x23bbf3(0x118)][_0x23bbf3(0x120)],_0x26c5d6=_0x15a38f[_0x23bbf3(0x162)][_0x23bbf3(0x166)][_0x23bbf3(0x153)](),_0x498aee=_0x15a38f[_0x23bbf3(0x122)][_0x23bbf3(0x15c)](_0x26c5d6);if(_0x498aee[_0x23bbf3(0x11d)](!0x0),_0x5809e8){if(_0x5809e8 instanceof _0x337040)return _0x5809e8;let _0x5d477c=[];for(const _0xf5915c of _0x5809e8)_0x5d477c[_0x23bbf3(0x119)](...(_0x53b195=_0xf5915c[_0x23bbf3(0x12b)](),Array[_0x23bbf3(0x165)](_0x53b195)[_0x23bbf3(0x143)](DOMRect[_0x23bbf3(0x12e)])));_0x5d477c=function(_0x4e55ca){const _0x2d4838=_0x23bbf3,_0x5b576e=[];let _0x25ce15=_0x4e55ca[0x0];for(let _0xaf67fc=0x1;_0xaf67fc<_0x4e55ca[_0x2d4838(0x136)];_0xaf67fc++)F(_0x25ce15,_0x4e55ca[_0xaf67fc])?_0x25ce15[_0x2d4838(0x146)]+=_0x4e55ca[_0xaf67fc][_0x2d4838(0x146)]:(_0x5b576e[_0x2d4838(0x119)](_0x25ce15),_0x25ce15=_0x4e55ca[_0xaf67fc]);return _0x5b576e[_0x2d4838(0x119)](_0x25ce15),_0x5b576e;}(_0x5d477c);const _0x8b92be=_0x498aee[_0x23bbf3(0x16f)]();return _0x5d477c[_0x23bbf3(0x131)](_0x137e93=>_0x137e93[_0x23bbf3(0x160)]<=_0x8b92be[_0x23bbf3(0x160)]&&_0x137e93[_0x23bbf3(0x141)]>=_0x8b92be[_0x23bbf3(0x141)]&&_0x137e93[_0x23bbf3(0x140)]<=_0x8b92be[_0x23bbf3(0x140)]&&_0x137e93[_0x23bbf3(0x15e)]>=_0x8b92be[_0x23bbf3(0x15e)])||_0x5d477c[0x0];}var _0x53b195;return _0x5d8a5a[_0x23bbf3(0x133)]||_0x498aee;}[_0x63d5a7(0x161)](_0x42223a){const _0x2a02f7=_0x63d5a7;this[_0x2a02f7(0x156)][_0x2a02f7(0x157)](_0x42223a)&&this[_0x2a02f7(0x13d)][_0x2a02f7(0x16a)](_0x42223a[_0x2a02f7(0x120)])&&(this[_0x2a02f7(0x156)][_0x2a02f7(0x168)](_0x42223a),this[_0x2a02f7(0x13d)][_0x2a02f7(0x150)](_0x42223a[_0x2a02f7(0x120)]));}[_0x63d5a7(0x144)](_0x4692df){const _0x150955=_0x63d5a7;this[_0x150955(0x14b)][_0x150955(0x115)](_0x4692df),this[_0x150955(0x161)](_0x4692df);}}function _0x1100(_0x2af297,_0x5c7b62){const _0xcf1b14=_0xcf1b();return _0x1100=function(_0x110066,_0x396416){_0x110066=_0x110066-0x115;let _0xfe049=_0xcf1b14[_0x110066];return _0xfe049;},_0x1100(_0x2af297,_0x5c7b62);}function F(_0x3df544,_0x543af9){const _0x3def92=_0x63d5a7;return _0x3df544[_0x3def92(0x160)]===_0x543af9[_0x3def92(0x160)]&&_0x3df544[_0x3def92(0x141)]===_0x543af9[_0x3def92(0x141)]&&_0x3df544[_0x3def92(0x15e)]===_0x543af9[_0x3def92(0x140)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x52b9b3=_0x14e4;(function(_0x3cc7ec,_0x1f8c57){const _0x3882a8=_0x14e4,_0x628c14=_0x3cc7ec();while(!![]){try{const _0xe52dba=-parseInt(_0x3882a8(0x13c))/0x1+parseInt(_0x3882a8(0x13f))/0x2*(-parseInt(_0x3882a8(0x191))/0x3)+parseInt(_0x3882a8(0x177))/0x4*(parseInt(_0x3882a8(0x150))/0x5)+parseInt(_0x3882a8(0x18f))/0x6+-parseInt(_0x3882a8(0x159))/0x7+parseInt(_0x3882a8(0x165))/0x8+parseInt(_0x3882a8(0x182))/0x9*(parseInt(_0x3882a8(0x1b0))/0xa);if(_0xe52dba===_0x1f8c57)break;else _0x628c14['push'](_0x628c14['shift']());}catch(_0x1f06b0){_0x628c14['push'](_0x628c14['shift']());}}}(_0x4766,0xc0e22));import{ContextPlugin as _0x73467,Context as _0x4c518a}from'ckeditor5/src/core.js';function _0x14e4(_0x519cf8,_0x43d1c9){const _0x476632=_0x4766();return _0x14e4=function(_0x14e435,_0x2914c6){_0x14e435=_0x14e435-0x138;let _0x33b7cd=_0x476632[_0x14e435];return _0x33b7cd;},_0x14e4(_0x519cf8,_0x43d1c9);}import _0x5a4d49 from'./annotationsuis.js';import _0x5b4470 from'./sidebar.js';import _0x430dbf from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x466bcc,BodyCollection as _0x1c03d6}from'ckeditor5/src/ui.js';import{CKEditorError as _0x313f05,DomEmitterMixin as _0x3a84a0,keyCodes as _0x41a2c2,Collection as _0x50fb93}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x329b78}from'lodash-es';export default class i extends _0x73467{static get[_0x52b9b3(0x172)](){return[_0x5b4470,_0x5a4d49];}static get[_0x52b9b3(0x15a)](){const _0x3e51e7=_0x52b9b3;return _0x3e51e7(0x162);}constructor(_0x580412){const _0x70efc5=_0x52b9b3;super(_0x580412),this[_0x70efc5(0x1aa)]=!0x1,this[_0x70efc5(0x1a4)]=new Set(),this[_0x70efc5(0x14a)]=Object[_0x70efc5(0x19e)](_0x3a84a0),this[_0x70efc5(0x183)]=new Map(),this[_0x70efc5(0x16e)](_0x70efc5(0x171),null),this[_0x70efc5(0x146)]=null,this[_0x70efc5(0x17b)]=[],this[_0x70efc5(0x186)]=new _0x50fb93(),this[_0x70efc5(0x143)]=_0x329b78(()=>{const _0x59495c=_0x70efc5;this[_0x59495c(0x19d)]();},0xfa,{'leading':!0x1});}[_0x52b9b3(0x14e)](){const _0x4be043=_0x52b9b3;this[_0x4be043(0x16b)][_0x4be043(0x19c)][_0x4be043(0x178)](_0x5a4d49)[_0x4be043(0x1ae)](_0x4be043(0x142),this),this[_0x4be043(0x1a9)]=new _0x1c03d6(this[_0x4be043(0x16b)][_0x4be043(0x198)]),this[_0x4be043(0x156)]=new _0x466bcc(this[_0x4be043(0x16b)][_0x4be043(0x198)]),this[_0x4be043(0x1a9)][_0x4be043(0x158)](),this[_0x4be043(0x1a9)][_0x4be043(0x160)](this[_0x4be043(0x156)]);}[_0x52b9b3(0x188)](_0x17fd4e){const _0x49970b=_0x52b9b3;this[_0x49970b(0x146)]=_0x17fd4e;const _0x332244=this[_0x49970b(0x16b)][_0x49970b(0x19c)][_0x49970b(0x178)](_0x5b4470),_0x29f2d4=this[_0x49970b(0x156)];if(_0x332244[_0x49970b(0x192)]=_0x17fd4e,this[_0x49970b(0x1aa)])throw new _0x313f05(_0x49970b(0x1a3),this);this[_0x49970b(0x1aa)]=!0x0,this[_0x49970b(0x1a2)](_0x332244,_0x49970b(0x173),()=>{const _0x39bb89=_0x49970b;this[_0x39bb89(0x152)](),this[_0x39bb89(0x1a2)](_0x332244,_0x39bb89(0x1ac),_0x1070a1=>{const _0x5b4d03=_0x39bb89;_0x1070a1[_0x5b4d03(0x141)](),this[_0x5b4d03(0x188)](_0x17fd4e);});}),_0x332244[_0x49970b(0x13e)]({'viewClass':_0x49970b(0x13a),'spaceBetweenItems':0x5});const _0x303d09=_0x2b7641=>{const _0xe6c079=_0x49970b,_0x530234=new _0x430dbf(this[_0xe6c079(0x16b)][_0xe6c079(0x198)]);_0x332244[_0xe6c079(0x1ad)](_0x2b7641,_0x530234),this[_0xe6c079(0x183)][_0xe6c079(0x16e)](_0x2b7641,_0x530234),_0x530234[_0xe6c079(0x138)](_0xe6c079(0x17f),_0xe6c079(0x166),_0xe6c079(0x18d))['to'](_0x2b7641[_0xe6c079(0x164)],_0xe6c079(0x17f),_0xe6c079(0x194),_0xe6c079(0x1a0)),_0x530234['on'](_0xe6c079(0x185),()=>{const _0x4b97de=_0xe6c079;this[_0x4b97de(0x1a4)][_0x4b97de(0x157)](),_0x29f2d4[_0x4b97de(0x199)][_0x4b97de(0x16f)]!==_0x2b7641[_0x4b97de(0x164)]?(this[_0x4b97de(0x197)](_0x2b7641),_0x2b7641[_0x4b97de(0x164)][_0x4b97de(0x170)][_0x4b97de(0x15b)](),this[_0x4b97de(0x16d)](_0x2b7641)):this[_0x4b97de(0x16d)](null);});};for(const _0x5e2ba0 of _0x17fd4e)_0x303d09(_0x5e2ba0);this[_0x49970b(0x1a2)](_0x17fd4e,_0x49970b(0x160),(_0x51f069,_0x1ff6c1)=>{_0x303d09(_0x1ff6c1);}),this[_0x49970b(0x1a2)](_0x17fd4e,_0x49970b(0x13d),(_0x4be2a5,_0x4c185c,_0x2f1de5)=>{const _0x19cf90=_0x49970b;this[_0x19cf90(0x183)][_0x19cf90(0x178)](_0x4c185c)[_0x19cf90(0x18c)](),this[_0x19cf90(0x183)][_0x19cf90(0x13b)](_0x4c185c),_0x332244[_0x19cf90(0x149)]({'removedAnnotation':_0x4c185c,'previousAnnotation':_0x17fd4e[_0x19cf90(0x178)](_0x2f1de5-0x1),'nextAnnotation':_0x17fd4e[_0x19cf90(0x178)](_0x2f1de5+0x1)}),_0x4c185c===this[_0x19cf90(0x171)]&&this[_0x19cf90(0x16d)](null);},{'priority':_0x49970b(0x1a5)}),this[_0x49970b(0x1a2)](_0x17fd4e,_0x49970b(0x15b),(_0x24f1cb,_0x19ce3b)=>{const _0x5abc15=_0x49970b;this[_0x5abc15(0x16d)](_0x19ce3b);}),this[_0x49970b(0x1a2)](_0x17fd4e,_0x49970b(0x1a1),()=>{const _0x3c8385=_0x49970b;this[_0x3c8385(0x16d)](null);}),this[_0x49970b(0x14a)][_0x49970b(0x1a2)](document,_0x49970b(0x174),(_0x583276,_0x2527fb)=>{const _0x386d0b=_0x49970b;_0x2527fb[_0x386d0b(0x180)]===_0x41a2c2[_0x386d0b(0x175)]&&_0x29f2d4[_0x386d0b(0x144)]&&(this[_0x386d0b(0x1a4)][_0x386d0b(0x160)](_0x29f2d4[_0x386d0b(0x199)][_0x386d0b(0x16f)]),this[_0x386d0b(0x187)](),_0x2527fb[_0x386d0b(0x167)](),_0x2527fb[_0x386d0b(0x140)]());}),this[_0x49970b(0x14a)][_0x49970b(0x1a2)](document,_0x49970b(0x14d),(_0x5b07d3,_0x15df57)=>{const _0x49f52b=_0x49970b,_0x3f39b2=_0x15df57[_0x49f52b(0x148)];_0x29f2d4[_0x49f52b(0x144)]&&_0x29f2d4[_0x49f52b(0x170)][_0x49f52b(0x181)](_0x3f39b2)||_0x332244[_0x49f52b(0x164)][_0x49f52b(0x170)][_0x49f52b(0x181)](_0x3f39b2)||_0x5b07d3[_0x49f52b(0x196)]||this[_0x49f52b(0x171)]&&this[_0x49f52b(0x171)][_0x49f52b(0x1a6)][_0x49f52b(0x18b)](_0x3583bf=>_0x3583bf[_0x49f52b(0x181)](_0x3f39b2))||(this[_0x49f52b(0x1a4)][_0x49f52b(0x157)](),this[_0x49f52b(0x187)](),this[_0x49f52b(0x16d)](null));});const _0x4710f0=this[_0x49970b(0x16b)]instanceof _0x4c518a?this[_0x49970b(0x16b)][_0x49970b(0x1af)]:new _0x50fb93([this[_0x49970b(0x16b)]]);for(const _0x33b44a of _0x4710f0)this[_0x49970b(0x176)](_0x33b44a);this[_0x49970b(0x1a2)](_0x4710f0,_0x49970b(0x160),(_0x3d0a9c,_0x411d54)=>{const _0x52ea4a=_0x49970b;this[_0x52ea4a(0x1a2)](_0x411d54,_0x52ea4a(0x179),()=>{const _0x464bdf=_0x52ea4a;this[_0x464bdf(0x176)](_0x411d54);});}),this[_0x49970b(0x1a2)](_0x4710f0,_0x49970b(0x13d),(_0x293351,_0x536646)=>{const _0x13d7df=_0x49970b;_0x536646[_0x13d7df(0x19c)][_0x13d7df(0x18e)](_0x13d7df(0x153))&&this[_0x13d7df(0x14c)](_0x536646[_0x13d7df(0x19c)][_0x13d7df(0x178)](_0x13d7df(0x153)));}),window[_0x49970b(0x15c)](_0x49970b(0x18a),this[_0x49970b(0x143)]),this[_0x49970b(0x19d)]();}[_0x52b9b3(0x16d)](_0x3f7686){const _0xd8b155=_0x52b9b3;if(_0x3f7686===this[_0xd8b155(0x171)])return;const _0x4aae2d=this[_0xd8b155(0x16b)][_0xd8b155(0x19c)][_0xd8b155(0x178)](_0x5b4470);if(_0x4aae2d[_0xd8b155(0x17c)]({'blurredAnnotation':this[_0xd8b155(0x171)],'activatedAnnotation':_0x3f7686,'disableAnimationOnActivatedAnnotation':!0x0}),_0x3f7686)_0x4aae2d[_0xd8b155(0x168)](_0x3f7686)?this[_0xd8b155(0x197)](_0x3f7686):this[_0xd8b155(0x187)]();else this[_0xd8b155(0x187)]();this[_0xd8b155(0x171)]=_0x3f7686;}[_0x52b9b3(0x152)](){const _0x38d815=_0x52b9b3;if(!this[_0x38d815(0x1aa)])throw new _0x313f05(_0x38d815(0x19a),this);this[_0x38d815(0x16d)](null);const _0x34af36=this[_0x38d815(0x16b)][_0x38d815(0x19c)][_0x38d815(0x178)](_0x5b4470);this[_0x38d815(0x187)](),Array[_0x38d815(0x1a7)](this[_0x38d815(0x183)][_0x38d815(0x161)](),_0xbfd10b=>_0xbfd10b[_0x38d815(0x18c)]()),this[_0x38d815(0x183)][_0x38d815(0x157)](),_0x34af36[_0x38d815(0x15d)](this[_0x38d815(0x146)]),this[_0x38d815(0x16a)](),this[_0x38d815(0x14a)][_0x38d815(0x16a)](),this[_0x38d815(0x16b)]instanceof _0x4c518a&&this[_0x38d815(0x16a)](this[_0x38d815(0x16b)][_0x38d815(0x1af)]);for(const _0x1a5b2a of Array[_0x38d815(0x1a7)](this[_0x38d815(0x186)]))this[_0x38d815(0x14c)](_0x1a5b2a);window[_0x38d815(0x195)](_0x38d815(0x18a),this[_0x38d815(0x143)]),this[_0x38d815(0x143)][_0x38d815(0x14b)](),this[_0x38d815(0x17b)]=[],this[_0x38d815(0x1aa)]=!0x1,this[_0x38d815(0x146)]=null;}[_0x52b9b3(0x18c)](){const _0xd13b65=_0x52b9b3;this[_0xd13b65(0x1aa)]&&this[_0xd13b65(0x152)](),this[_0xd13b65(0x1a9)][_0xd13b65(0x14f)]();}[_0x52b9b3(0x176)](_0x3ab937){const _0x4954eb=_0x52b9b3;if(!_0x3ab937[_0x4954eb(0x19c)][_0x4954eb(0x18e)](_0x4954eb(0x153)))return;const _0x3949ba=_0x3ab937[_0x4954eb(0x19c)][_0x4954eb(0x178)](_0x4954eb(0x153)),_0x59c75e=this[_0x4954eb(0x16b)][_0x4954eb(0x19c)][_0x4954eb(0x178)](_0x5b4470),_0x3b13cc=this[_0x4954eb(0x146)],_0x244d9a=this[_0x4954eb(0x156)],_0xbeefc2=()=>{const _0x3a64d4=_0x4954eb,_0x5d0ccd=_0x3949ba[_0x3a64d4(0x147)]({'annotations':this[_0x3a64d4(0x146)],'activeAnnotation':this[_0x3a64d4(0x171)]});this[_0x3a64d4(0x151)](_0x5d0ccd),this[_0x3a64d4(0x16d)](_0x5d0ccd[0x0]||null);};this[_0x4954eb(0x1a2)](_0x3949ba,_0x4954eb(0x17c),_0xbeefc2),this[_0x4954eb(0x1a2)](_0x3949ba,_0x4954eb(0x1a1),(_0x410ba3,{isAnnotationTracked:_0x4b2a1e})=>{const _0x3b9215=_0x4954eb;this[_0x3b9215(0x171)]&&_0x4b2a1e(this[_0x3b9215(0x171)])&&(this[_0x3b9215(0x151)]([]),this[_0x3b9215(0x16d)](null));}),this[_0x4954eb(0x1a2)](_0x3949ba,_0x4954eb(0x19f),()=>{const _0x2d500e=_0x4954eb;this[_0x2d500e(0x143)]();}),this[_0x4954eb(0x1a2)](_0x3b13cc,_0x4954eb(0x1a1),_0x50f201=>{const _0x4d941c=_0x4954eb;_0x3949ba[_0x4d941c(0x169)]()&&_0x50f201[_0x4d941c(0x145)]();},{'priority':_0x4954eb(0x1b1)}),this[_0x4954eb(0x1a2)](this[_0x4954eb(0x14a)],_0x4954eb(0x14d),(_0xc616af,_0x4a5eb2)=>{const _0x3a99f0=_0x4954eb,_0xf31bf7=_0x4a5eb2[_0x3a99f0(0x148)];_0x244d9a[_0x3a99f0(0x144)]&&_0x244d9a[_0x3a99f0(0x170)][_0x3a99f0(0x181)](_0xf31bf7)||_0x59c75e[_0x3a99f0(0x164)][_0x3a99f0(0x170)][_0x3a99f0(0x181)](_0xf31bf7)||this[_0x3a99f0(0x171)]&&_0x3949ba[_0x3a99f0(0x169)]()&&(_0xbeefc2(),_0xc616af[_0x3a99f0(0x196)]=!0x0);},{'priority':_0x4954eb(0x1b1)}),this[_0x4954eb(0x186)][_0x4954eb(0x160)](_0x3949ba);}[_0x52b9b3(0x14c)](_0x2d7f3c){const _0x57288=_0x52b9b3;_0x2d7f3c&&(this[_0x57288(0x16a)](_0x2d7f3c),this[_0x57288(0x186)][_0x57288(0x13d)](_0x2d7f3c));}[_0x52b9b3(0x151)](_0x1cffe8){const _0x29bcdd=_0x52b9b3;for(const _0xec7451 of this[_0x29bcdd(0x17b)])_0x1cffe8[_0x29bcdd(0x193)](_0xec7451)||this[_0x29bcdd(0x1a4)][_0x29bcdd(0x13b)](_0xec7451[_0x29bcdd(0x164)]);this[_0x29bcdd(0x17b)]=_0x1cffe8;}[_0x52b9b3(0x19d)](){const _0x35bb4f=_0x52b9b3,_0x5f318a=this[_0x35bb4f(0x156)];this[_0x35bb4f(0x146)][_0x35bb4f(0x17a)](),_0x5f318a[_0x35bb4f(0x144)]&&this[_0x35bb4f(0x15e)]();}[_0x52b9b3(0x197)](_0x47a545){const _0x1ce3c6=_0x52b9b3;if(this[_0x1ce3c6(0x1a4)][_0x1ce3c6(0x18e)](_0x47a545[_0x1ce3c6(0x164)]))return;const _0x311604=this[_0x1ce3c6(0x156)][_0x1ce3c6(0x199)][_0x1ce3c6(0x16f)];_0x311604!==_0x47a545[_0x1ce3c6(0x164)]?(_0x311604&&this[_0x1ce3c6(0x17d)](_0x311604),this[_0x1ce3c6(0x19b)](_0x47a545[_0x1ce3c6(0x164)]),this[_0x1ce3c6(0x156)][_0x1ce3c6(0x199)][_0x1ce3c6(0x157)](),this[_0x1ce3c6(0x156)][_0x1ce3c6(0x199)][_0x1ce3c6(0x160)](_0x47a545[_0x1ce3c6(0x164)]),this[_0x1ce3c6(0x15e)]()):this[_0x1ce3c6(0x15e)]();}[_0x52b9b3(0x15e)](){const _0x52a680=_0x52b9b3,_0x5bc144=this[_0x52a680(0x156)][_0x52a680(0x199)][_0x52a680(0x16f)],_0x3c3adf=_0x5bc144&&this[_0x52a680(0x146)][_0x52a680(0x155)](_0x5bc144);if(!_0x3c3adf||!this[_0x52a680(0x183)][_0x52a680(0x18e)](_0x3c3adf))return;const _0x252945=this[_0x52a680(0x183)][_0x52a680(0x178)](_0x3c3adf)[_0x52a680(0x170)],_0x4eacf3=(function(){const _0x3413c0=_0x52a680,_0x2fc00d=_0x466bcc[_0x3413c0(0x190)];return[_0x2fc00d[_0x3413c0(0x16c)],_0x2fc00d[_0x3413c0(0x15f)],_0x2fc00d[_0x3413c0(0x154)],_0x2fc00d[_0x3413c0(0x1ab)],_0x2fc00d[_0x3413c0(0x184)],_0x2fc00d[_0x3413c0(0x139)]];}());this[_0x52a680(0x156)][_0x52a680(0x163)]({'target':_0x252945,'positions':_0x4eacf3});}[_0x52b9b3(0x187)](){const _0x1f9317=_0x52b9b3,_0x3dd9ab=this[_0x1f9317(0x156)],_0x55e3e7=_0x3dd9ab[_0x1f9317(0x199)][_0x1f9317(0x16f)];_0x55e3e7&&(this[_0x1f9317(0x17d)](_0x55e3e7),_0x3dd9ab[_0x1f9317(0x17e)](),_0x3dd9ab[_0x1f9317(0x199)][_0x1f9317(0x157)]());}[_0x52b9b3(0x19b)](_0x5820f4){const _0x14cfe5=_0x52b9b3;this[_0x14cfe5(0x1a2)](_0x5820f4,_0x14cfe5(0x189),()=>this[_0x14cfe5(0x15e)]()),this[_0x14cfe5(0x1a2)](_0x5820f4,_0x14cfe5(0x1a8),(_0xca7525,_0x1a52c6)=>{const _0x80ff96=_0x14cfe5;this[_0x80ff96(0x1a4)][_0x80ff96(0x160)](_0x5820f4),this[_0x80ff96(0x187)](),_0x1a52c6();});}[_0x52b9b3(0x17d)](_0x3adbbd){const _0x519379=_0x52b9b3;this[_0x519379(0x16a)](_0x3adbbd);}}function _0x4766(){const _0x54f0a0=['esc','_integrateWithEditorAnnotations','4bYASbJ','get','ready','refreshPositioning','_selectedAnnotations','refresh','_detachListeners','unpin','isDirty','keyCode','contains','9GCJaNk','_annotationToNarrowView','southArrowNorthWest','execute','_editorAnnotations','_hideBalloon','attach','change:height','resize','find','destroy','number','has','6054606tSljSy','defaultPositions','15wynhbV','_annotations','includes','type','removeEventListener','preventClosingBalloon','_showBalloon','locale','content','narrowsidebar-detach-not-attached','_attachListeners','plugins','_refreshPositioning','create','uiUpdate','length','blur','listenTo','narrowsidebar-attach-already-attached','_manuallyClosedAnnotationViews','low','focusableElements','from','Esc','bodyCollection','isAttached','northArrowSouth','change:container','addAnnotation','register','editors','6610900RBzwgR','high','bind','northArrowSouthWest','ck-sidebar--narrow','delete','116503WfklTX','remove','_attachToContainer','555850DtvjDV','preventDefault','off','narrowSidebar','_refreshPositioningDebounced','isVisible','stop','annotations','getOrderedSelectedAnnotations','target','rearrange','_domEmitter','cancel','_destroyEditorAnnotationsIntegration','mousedown','init','detachFromDom','818395UxEDKr','_setSelectedAnnotations','detach','EditorAnnotations','southArrowNorth','getByView','balloonPanelView','clear','attachToDom','5678449YUbBti','pluginName','focus','addEventListener','_detachFromContainer','_updateBalloonPosition','northArrowSouthEast','add','values','NarrowSidebar','pin','view','10188120fpjSLN','annotationType','stopPropagation','getSidebarItemView','hasDomSelection','stopListening','context','southArrowNorthEast','setActiveAnnotation','set','first','element','activeAnnotation','requires','set:container','keydown'];_0x4766=function(){return _0x54f0a0;};return _0x4766();}
|
|
23
|
+
const _0x140bbf=_0x1c52;(function(_0x4dced5,_0x4f6339){const _0x1ca813=_0x1c52,_0xc26482=_0x4dced5();while(!![]){try{const _0x46fd0d=-parseInt(_0x1ca813(0x137))/0x1*(parseInt(_0x1ca813(0x186))/0x2)+-parseInt(_0x1ca813(0x16f))/0x3+-parseInt(_0x1ca813(0x195))/0x4*(-parseInt(_0x1ca813(0x13b))/0x5)+-parseInt(_0x1ca813(0x1a1))/0x6+-parseInt(_0x1ca813(0x182))/0x7*(-parseInt(_0x1ca813(0x18e))/0x8)+parseInt(_0x1ca813(0x154))/0x9+parseInt(_0x1ca813(0x14d))/0xa;if(_0x46fd0d===_0x4f6339)break;else _0xc26482['push'](_0xc26482['shift']());}catch(_0x2c5e5a){_0xc26482['push'](_0xc26482['shift']());}}}(_0x23ff,0xa050a));import{ContextPlugin as _0x505a2c,Context as _0x12388c}from'ckeditor5/src/core.js';import _0xa72f7c from'./annotationsuis.js';import _0x12cea7 from'./sidebar.js';function _0x23ff(){const _0x2e8d5f=['narrowSidebar','uiUpdate','length','getByView','keyCode','_refreshPositioningDebounced','bodyCollection','view','set','find','1JAtlcx','set:container','_annotations','create','155ezJaWQ','attach','_hideBalloon','preventDefault','rearrange','context','keydown','southArrowNorth','preventClosingBalloon','low','stop','first','northArrowSouth','getSidebarItemView','target','detach','attachToDom','addEventListener','3848810kMpQba','Esc','refresh','_setSelectedAnnotations','off','EditorAnnotations','_refreshPositioning','895932jFxzmH','content','number','_destroyEditorAnnotationsIntegration','_detachListeners','isVisible','contains','destroy','execute','listenTo','unpin','_annotationToNarrowView','values','remove','locale','_showBalloon','ck-sidebar--narrow','addAnnotation','init','esc','pin','northArrowSouthWest','southArrowNorthWest','_updateBalloonPosition','detachFromDom','_integrateWithEditorAnnotations','focusableElements','266904EAkxGM','register','from','stopPropagation','plugins','has','delete','mousedown','_attachListeners','_manuallyClosedAnnotationViews','pluginName','southArrowNorthEast','annotationType','change:height','refreshPositioning','_domEmitter','annotations','getOrderedSelectedAnnotations','setActiveAnnotation','9562yQnkFX','bind','cancel','removeEventListener','1644270JDRpaE','get','_selectedAnnotations','element','northArrowSouthEast','high','isAttached','requires','2712auPwNQ','resize','_attachToContainer','balloonPanelView','narrowsidebar-detach-not-attached','defaultPositions','add','125384mvNrIq','includes','_editorAnnotations','isDirty','clear','hasDomSelection','blur','stopListening','_detachFromContainer','focus','activeAnnotation','ready','2108856juIXfd','change:container','NarrowSidebar','editors','narrowsidebar-attach-already-attached','type'];_0x23ff=function(){return _0x2e8d5f;};return _0x23ff();}function _0x1c52(_0x376518,_0x5ab701){const _0x23ffa8=_0x23ff();return _0x1c52=function(_0x1c524e,_0x4923c7){_0x1c524e=_0x1c524e-0x12d;let _0x3cdbae=_0x23ffa8[_0x1c524e];return _0x3cdbae;},_0x1c52(_0x376518,_0x5ab701);}import _0x6271a1 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x362907,BodyCollection as _0x5a967d}from'ckeditor5/src/ui.js';import{CKEditorError as _0xea94da,DomEmitterMixin as _0x2841f2,keyCodes as _0x12b62c,Collection as _0x4f2886}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x14fcb2}from'lodash-es';export default class i extends _0x505a2c{static get[_0x140bbf(0x18d)](){return[_0x12cea7,_0xa72f7c];}static get[_0x140bbf(0x179)](){const _0x374c55=_0x140bbf;return _0x374c55(0x1a3);}constructor(_0xd35dd6){const _0xcc504c=_0x140bbf;super(_0xd35dd6),this[_0xcc504c(0x18c)]=!0x1,this[_0xcc504c(0x178)]=new Set(),this[_0xcc504c(0x17e)]=Object[_0xcc504c(0x13a)](_0x2841f2),this[_0xcc504c(0x15f)]=new Map(),this[_0xcc504c(0x135)](_0xcc504c(0x19f),null),this[_0xcc504c(0x17f)]=null,this[_0xcc504c(0x188)]=[],this[_0xcc504c(0x197)]=new _0x4f2886(),this[_0xcc504c(0x132)]=_0x14fcb2(()=>{const _0x1357bb=_0xcc504c;this[_0x1357bb(0x153)]();},0xfa,{'leading':!0x1});}[_0x140bbf(0x166)](){const _0xf15a62=_0x140bbf;this[_0xf15a62(0x140)][_0xf15a62(0x173)][_0xf15a62(0x187)](_0xa72f7c)[_0xf15a62(0x170)](_0xf15a62(0x12d),this),this[_0xf15a62(0x133)]=new _0x5a967d(this[_0xf15a62(0x140)][_0xf15a62(0x162)]),this[_0xf15a62(0x191)]=new _0x362907(this[_0xf15a62(0x140)][_0xf15a62(0x162)]),this[_0xf15a62(0x133)][_0xf15a62(0x14b)](),this[_0xf15a62(0x133)][_0xf15a62(0x194)](this[_0xf15a62(0x191)]);}[_0x140bbf(0x13c)](_0x1af832){const _0x3b8cbf=_0x140bbf;this[_0x3b8cbf(0x17f)]=_0x1af832;const _0x1c57eb=this[_0x3b8cbf(0x140)][_0x3b8cbf(0x173)][_0x3b8cbf(0x187)](_0x12cea7),_0x26ae63=this[_0x3b8cbf(0x191)];if(_0x1c57eb[_0x3b8cbf(0x139)]=_0x1af832,this[_0x3b8cbf(0x18c)])throw new _0xea94da(_0x3b8cbf(0x1a5),this);this[_0x3b8cbf(0x18c)]=!0x0,this[_0x3b8cbf(0x15d)](_0x1c57eb,_0x3b8cbf(0x138),()=>{const _0x5a34e9=_0x3b8cbf;this[_0x5a34e9(0x14a)](),this[_0x5a34e9(0x15d)](_0x1c57eb,_0x5a34e9(0x1a2),_0x2fa072=>{const _0x2ab84b=_0x5a34e9;_0x2fa072[_0x2ab84b(0x151)](),this[_0x2ab84b(0x13c)](_0x1af832);});}),_0x1c57eb[_0x3b8cbf(0x190)]({'viewClass':_0x3b8cbf(0x164),'spaceBetweenItems':0x5});const _0xaa86e=_0x4176d2=>{const _0x703003=_0x3b8cbf,_0x515942=new _0x6271a1(this[_0x703003(0x140)][_0x703003(0x162)]);_0x1c57eb[_0x703003(0x165)](_0x4176d2,_0x515942),this[_0x703003(0x15f)][_0x703003(0x135)](_0x4176d2,_0x515942),_0x515942[_0x703003(0x183)](_0x703003(0x198),_0x703003(0x17b),_0x703003(0x156))['to'](_0x4176d2[_0x703003(0x134)],_0x703003(0x198),_0x703003(0x1a6),_0x703003(0x12f)),_0x515942['on'](_0x703003(0x15c),()=>{const _0x20219d=_0x703003;this[_0x20219d(0x178)][_0x20219d(0x199)](),_0x26ae63[_0x20219d(0x155)][_0x20219d(0x146)]!==_0x4176d2[_0x20219d(0x134)]?(this[_0x20219d(0x163)](_0x4176d2),_0x4176d2[_0x20219d(0x134)][_0x20219d(0x189)][_0x20219d(0x19e)](),this[_0x20219d(0x181)](_0x4176d2)):this[_0x20219d(0x181)](null);});};for(const _0x3a93f5 of _0x1af832)_0xaa86e(_0x3a93f5);this[_0x3b8cbf(0x15d)](_0x1af832,_0x3b8cbf(0x194),(_0x5ad4b6,_0x1a0bbe)=>{_0xaa86e(_0x1a0bbe);}),this[_0x3b8cbf(0x15d)](_0x1af832,_0x3b8cbf(0x161),(_0x37e16e,_0x5004e3,_0x44cf64)=>{const _0x5e5b80=_0x3b8cbf;this[_0x5e5b80(0x15f)][_0x5e5b80(0x187)](_0x5004e3)[_0x5e5b80(0x15b)](),this[_0x5e5b80(0x15f)][_0x5e5b80(0x175)](_0x5004e3),_0x1c57eb[_0x5e5b80(0x13f)]({'removedAnnotation':_0x5004e3,'previousAnnotation':_0x1af832[_0x5e5b80(0x187)](_0x44cf64-0x1),'nextAnnotation':_0x1af832[_0x5e5b80(0x187)](_0x44cf64+0x1)}),_0x5004e3===this[_0x5e5b80(0x19f)]&&this[_0x5e5b80(0x181)](null);},{'priority':_0x3b8cbf(0x144)}),this[_0x3b8cbf(0x15d)](_0x1af832,_0x3b8cbf(0x19e),(_0x1dba7c,_0x52b9c6)=>{const _0x49b4c9=_0x3b8cbf;this[_0x49b4c9(0x181)](_0x52b9c6);}),this[_0x3b8cbf(0x15d)](_0x1af832,_0x3b8cbf(0x19b),()=>{const _0x153d88=_0x3b8cbf;this[_0x153d88(0x181)](null);}),this[_0x3b8cbf(0x17e)][_0x3b8cbf(0x15d)](document,_0x3b8cbf(0x141),(_0xe4124f,_0x5abea8)=>{const _0x352998=_0x3b8cbf;_0x5abea8[_0x352998(0x131)]===_0x12b62c[_0x352998(0x167)]&&_0x26ae63[_0x352998(0x159)]&&(this[_0x352998(0x178)][_0x352998(0x194)](_0x26ae63[_0x352998(0x155)][_0x352998(0x146)]),this[_0x352998(0x13d)](),_0x5abea8[_0x352998(0x172)](),_0x5abea8[_0x352998(0x13e)]());}),this[_0x3b8cbf(0x17e)][_0x3b8cbf(0x15d)](document,_0x3b8cbf(0x176),(_0x4b5deb,_0x135eea)=>{const _0x418375=_0x3b8cbf,_0x320e55=_0x135eea[_0x418375(0x149)];_0x26ae63[_0x418375(0x159)]&&_0x26ae63[_0x418375(0x189)][_0x418375(0x15a)](_0x320e55)||_0x1c57eb[_0x418375(0x134)][_0x418375(0x189)][_0x418375(0x15a)](_0x320e55)||_0x4b5deb[_0x418375(0x143)]||this[_0x418375(0x19f)]&&this[_0x418375(0x19f)][_0x418375(0x16e)][_0x418375(0x136)](_0xce4169=>_0xce4169[_0x418375(0x15a)](_0x320e55))||(this[_0x418375(0x178)][_0x418375(0x199)](),this[_0x418375(0x13d)](),this[_0x418375(0x181)](null));});const _0x321126=this[_0x3b8cbf(0x140)]instanceof _0x12388c?this[_0x3b8cbf(0x140)][_0x3b8cbf(0x1a4)]:new _0x4f2886([this[_0x3b8cbf(0x140)]]);for(const _0x6b2247 of _0x321126)this[_0x3b8cbf(0x16d)](_0x6b2247);this[_0x3b8cbf(0x15d)](_0x321126,_0x3b8cbf(0x194),(_0x260061,_0x47cc34)=>{const _0x3bf435=_0x3b8cbf;this[_0x3bf435(0x15d)](_0x47cc34,_0x3bf435(0x1a0),()=>{const _0x3d325b=_0x3bf435;this[_0x3d325b(0x16d)](_0x47cc34);});}),this[_0x3b8cbf(0x15d)](_0x321126,_0x3b8cbf(0x161),(_0x455159,_0x4c60e9)=>{const _0x40488d=_0x3b8cbf;_0x4c60e9[_0x40488d(0x173)][_0x40488d(0x174)](_0x40488d(0x152))&&this[_0x40488d(0x157)](_0x4c60e9[_0x40488d(0x173)][_0x40488d(0x187)](_0x40488d(0x152)));}),window[_0x3b8cbf(0x14c)](_0x3b8cbf(0x18f),this[_0x3b8cbf(0x132)]),this[_0x3b8cbf(0x153)]();}[_0x140bbf(0x181)](_0x400f86){const _0x5cd92c=_0x140bbf;if(_0x400f86===this[_0x5cd92c(0x19f)])return;const _0x59adc7=this[_0x5cd92c(0x140)][_0x5cd92c(0x173)][_0x5cd92c(0x187)](_0x12cea7);if(_0x59adc7[_0x5cd92c(0x14f)]({'blurredAnnotation':this[_0x5cd92c(0x19f)],'activatedAnnotation':_0x400f86,'disableAnimationOnActivatedAnnotation':!0x0}),_0x400f86)_0x59adc7[_0x5cd92c(0x148)](_0x400f86)?this[_0x5cd92c(0x163)](_0x400f86):this[_0x5cd92c(0x13d)]();else this[_0x5cd92c(0x13d)]();this[_0x5cd92c(0x19f)]=_0x400f86;}[_0x140bbf(0x14a)](){const _0x58030f=_0x140bbf;if(!this[_0x58030f(0x18c)])throw new _0xea94da(_0x58030f(0x192),this);this[_0x58030f(0x181)](null);const _0x5b9829=this[_0x58030f(0x140)][_0x58030f(0x173)][_0x58030f(0x187)](_0x12cea7);this[_0x58030f(0x13d)](),Array[_0x58030f(0x171)](this[_0x58030f(0x15f)][_0x58030f(0x160)](),_0x234989=>_0x234989[_0x58030f(0x15b)]()),this[_0x58030f(0x15f)][_0x58030f(0x199)](),_0x5b9829[_0x58030f(0x19d)](this[_0x58030f(0x17f)]),this[_0x58030f(0x19c)](),this[_0x58030f(0x17e)][_0x58030f(0x19c)](),this[_0x58030f(0x140)]instanceof _0x12388c&&this[_0x58030f(0x19c)](this[_0x58030f(0x140)][_0x58030f(0x1a4)]);for(const _0x5a3dec of Array[_0x58030f(0x171)](this[_0x58030f(0x197)]))this[_0x58030f(0x157)](_0x5a3dec);window[_0x58030f(0x185)](_0x58030f(0x18f),this[_0x58030f(0x132)]),this[_0x58030f(0x132)][_0x58030f(0x184)](),this[_0x58030f(0x188)]=[],this[_0x58030f(0x18c)]=!0x1,this[_0x58030f(0x17f)]=null;}[_0x140bbf(0x15b)](){const _0x234cab=_0x140bbf;this[_0x234cab(0x18c)]&&this[_0x234cab(0x14a)](),this[_0x234cab(0x133)][_0x234cab(0x16c)]();}[_0x140bbf(0x16d)](_0x331e02){const _0xb04cf2=_0x140bbf;if(!_0x331e02[_0xb04cf2(0x173)][_0xb04cf2(0x174)](_0xb04cf2(0x152)))return;const _0x56b349=_0x331e02[_0xb04cf2(0x173)][_0xb04cf2(0x187)](_0xb04cf2(0x152)),_0x2aaf94=this[_0xb04cf2(0x140)][_0xb04cf2(0x173)][_0xb04cf2(0x187)](_0x12cea7),_0x39f169=this[_0xb04cf2(0x17f)],_0x19bae7=this[_0xb04cf2(0x191)],_0x148a08=()=>{const _0x1c3cb5=_0xb04cf2,_0x3e7284=_0x56b349[_0x1c3cb5(0x180)]({'annotations':this[_0x1c3cb5(0x17f)],'activeAnnotation':this[_0x1c3cb5(0x19f)]});this[_0x1c3cb5(0x150)](_0x3e7284),this[_0x1c3cb5(0x181)](_0x3e7284[0x0]||null);};this[_0xb04cf2(0x15d)](_0x56b349,_0xb04cf2(0x14f),_0x148a08),this[_0xb04cf2(0x15d)](_0x56b349,_0xb04cf2(0x19b),(_0x2efd9c,{isAnnotationTracked:_0x170dd6})=>{const _0x994206=_0xb04cf2;this[_0x994206(0x19f)]&&_0x170dd6(this[_0x994206(0x19f)])&&(this[_0x994206(0x150)]([]),this[_0x994206(0x181)](null));}),this[_0xb04cf2(0x15d)](_0x56b349,_0xb04cf2(0x12e),()=>{const _0x540bda=_0xb04cf2;this[_0x540bda(0x132)]();}),this[_0xb04cf2(0x15d)](_0x39f169,_0xb04cf2(0x19b),_0x4992f8=>{const _0xb7d676=_0xb04cf2;_0x56b349[_0xb7d676(0x19a)]()&&_0x4992f8[_0xb7d676(0x145)]();},{'priority':_0xb04cf2(0x18b)}),this[_0xb04cf2(0x15d)](this[_0xb04cf2(0x17e)],_0xb04cf2(0x176),(_0x42125f,_0x25d7c8)=>{const _0x4afeba=_0xb04cf2,_0x586473=_0x25d7c8[_0x4afeba(0x149)];_0x19bae7[_0x4afeba(0x159)]&&_0x19bae7[_0x4afeba(0x189)][_0x4afeba(0x15a)](_0x586473)||_0x2aaf94[_0x4afeba(0x134)][_0x4afeba(0x189)][_0x4afeba(0x15a)](_0x586473)||this[_0x4afeba(0x19f)]&&_0x56b349[_0x4afeba(0x19a)]()&&(_0x148a08(),_0x42125f[_0x4afeba(0x143)]=!0x0);},{'priority':_0xb04cf2(0x18b)}),this[_0xb04cf2(0x197)][_0xb04cf2(0x194)](_0x56b349);}[_0x140bbf(0x157)](_0x592780){const _0x3c2ae9=_0x140bbf;_0x592780&&(this[_0x3c2ae9(0x19c)](_0x592780),this[_0x3c2ae9(0x197)][_0x3c2ae9(0x161)](_0x592780));}[_0x140bbf(0x150)](_0x1586ab){const _0x1559ed=_0x140bbf;for(const _0x2d4658 of this[_0x1559ed(0x188)])_0x1586ab[_0x1559ed(0x196)](_0x2d4658)||this[_0x1559ed(0x178)][_0x1559ed(0x175)](_0x2d4658[_0x1559ed(0x134)]);this[_0x1559ed(0x188)]=_0x1586ab;}[_0x140bbf(0x153)](){const _0x353c95=_0x140bbf,_0x414fbd=this[_0x353c95(0x191)];this[_0x353c95(0x17f)][_0x353c95(0x17d)](),_0x414fbd[_0x353c95(0x159)]&&this[_0x353c95(0x16b)]();}[_0x140bbf(0x163)](_0x10ebb7){const _0x2bc8e7=_0x140bbf;if(this[_0x2bc8e7(0x178)][_0x2bc8e7(0x174)](_0x10ebb7[_0x2bc8e7(0x134)]))return;const _0x2faa3f=this[_0x2bc8e7(0x191)][_0x2bc8e7(0x155)][_0x2bc8e7(0x146)];_0x2faa3f!==_0x10ebb7[_0x2bc8e7(0x134)]?(_0x2faa3f&&this[_0x2bc8e7(0x158)](_0x2faa3f),this[_0x2bc8e7(0x177)](_0x10ebb7[_0x2bc8e7(0x134)]),this[_0x2bc8e7(0x191)][_0x2bc8e7(0x155)][_0x2bc8e7(0x199)](),this[_0x2bc8e7(0x191)][_0x2bc8e7(0x155)][_0x2bc8e7(0x194)](_0x10ebb7[_0x2bc8e7(0x134)]),this[_0x2bc8e7(0x16b)]()):this[_0x2bc8e7(0x16b)]();}[_0x140bbf(0x16b)](){const _0x97d36d=_0x140bbf,_0x4e4739=this[_0x97d36d(0x191)][_0x97d36d(0x155)][_0x97d36d(0x146)],_0x4196e4=_0x4e4739&&this[_0x97d36d(0x17f)][_0x97d36d(0x130)](_0x4e4739);if(!_0x4196e4||!this[_0x97d36d(0x15f)][_0x97d36d(0x174)](_0x4196e4))return;const _0x4582e9=this[_0x97d36d(0x15f)][_0x97d36d(0x187)](_0x4196e4)[_0x97d36d(0x189)],_0x40fb00=(function(){const _0x2524da=_0x97d36d,_0x37789b=_0x362907[_0x2524da(0x193)];return[_0x37789b[_0x2524da(0x17a)],_0x37789b[_0x2524da(0x18a)],_0x37789b[_0x2524da(0x142)],_0x37789b[_0x2524da(0x147)],_0x37789b[_0x2524da(0x16a)],_0x37789b[_0x2524da(0x169)]];}());this[_0x97d36d(0x191)][_0x97d36d(0x168)]({'target':_0x4582e9,'positions':_0x40fb00});}[_0x140bbf(0x13d)](){const _0x4e2c3e=_0x140bbf,_0x502c07=this[_0x4e2c3e(0x191)],_0x37b835=_0x502c07[_0x4e2c3e(0x155)][_0x4e2c3e(0x146)];_0x37b835&&(this[_0x4e2c3e(0x158)](_0x37b835),_0x502c07[_0x4e2c3e(0x15e)](),_0x502c07[_0x4e2c3e(0x155)][_0x4e2c3e(0x199)]());}[_0x140bbf(0x177)](_0x19b146){const _0x1dc64a=_0x140bbf;this[_0x1dc64a(0x15d)](_0x19b146,_0x1dc64a(0x17c),()=>this[_0x1dc64a(0x16b)]()),this[_0x1dc64a(0x15d)](_0x19b146,_0x1dc64a(0x14e),(_0x744ecb,_0x379f26)=>{const _0x37bd94=_0x1dc64a;this[_0x37bd94(0x178)][_0x37bd94(0x194)](_0x19b146),this[_0x37bd94(0x13d)](),_0x379f26();});}[_0x140bbf(0x158)](_0x282887){const _0x4a4047=_0x140bbf;this[_0x4a4047(0x19c)](_0x282887);}}
|