@ckeditor/ckeditor5-comments 47.0.0-alpha.1 → 47.0.0-alpha.2
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.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- 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 +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- 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/integrations/showcommenthighlights.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/commentthreadheadercontextview.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/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5e600a=>{const {zh:{dictionary:_0x2fc462,getPluralForm:_0x1456af}}={'zh':{'dictionary':{'Comment\x20editor':'留言編輯器','NUMBER_OF_COMMENTS':'%0\x20則留言','TOO_LONG_COMMENT_ALERT':'留言內容太長。你的留言有\x20%0\x20個字,上限字數為\x20%1。','Reply...':'回覆...','Reply\x20to\x20reopen\x20discussion...':'回覆以重新開啟討論...','Write\x20a\x20comment...':'撰寫留言...','Comment\x20was\x20made\x20on\x20an\x20element':'對元件進行的留言','Edit':'編輯','Resolve':'解決','Reopen':'重新開啟','Remove':'刪除','Reply':'回覆','Delete\x20comment?':'刪除留言?','Delete\x20comment\x20thread?':'刪除討論串?','Marked\x20as\x20resolved':'已標記為解決','Comment':'留言','Annotations\x20sidebar':'註釋側邊欄','Annotations\x20list':'註釋清單','Thread\x20comments':'討論串留言','THREAD_CONTEXT_LABEL':'討論串脈絡:%0','COMMENT_THREAD_LABEL':'留言討論串發起人:%1。%1\x20則回覆。','COMMENT_THREAD_DESCRIPTION':'按\x20Enter\x20鍵可取得更多選項。按\x20Esc\x20鍵即可退出。','COMMENT_ARIA_LABEL':'留言者:%0。建立時間:%1。%2。%3','COMMENTS_ARCHIVE_LIST_LABEL':'留言清單','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':'能夠與註釋討論串互動的按鍵輸入(例如留言、追蹤變更建議)','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':'當選取範圍錨定於其標記處時,將焦點移至討論串','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':'離開註釋並將焦點移回已編輯的內容','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':'瀏覽已聚焦的註釋討論串或討論串留言','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':'在註釋討論串內部移動','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':'在撰寫留言時提交回覆','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':'移至註釋側邊欄或留言封存中的上一個或下一個討論串','ENTER_COMMENT_ANNOUNCEMENT':'正在進入含有留言的內容。按\x20%0\x20即可前往討論區。','LEAVE_COMMENT_ANNOUNCEMENT':'正在離開含有留言的內容。','PENDING_ACTION_COMMENT_THREAD':'討論串尚未儲存。','EXTERNAL_COMMENT':'此留言來自外部來源。','EXTERNAL_IMPORT_WORD_COMMENT':'此留言來自匯入的\x20Word\x20檔案。','EXTERNAL_AVATAR':'顯示的作者名稱來自外部來源(由\x20%0\x20新增)','EXTERNAL_IMPORT_WORD_AVATAR':'顯示的作者名稱來自由\x20%0\x20匯入的\x20Word\x20文件','COMMENTS_ARCHIVE':'留言封存紀錄','EMPTY_COMMENTS_ARCHIVE':'無封存的留言串。'},'getPluralForm':_0xd01d42=>0x0}};_0x5e600a['zh']||={'dictionary':{},'getPluralForm':null},_0x5e600a['zh']['dictionary']=Object['assign'](_0x5e600a['zh']['dictionary'],_0x2fc462),_0x5e600a['zh']['getPluralForm']=_0x1456af;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "47.0.0-alpha.
|
|
3
|
+
"version": "47.0.0-alpha.2",
|
|
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,23 +45,23 @@
|
|
|
45
45
|
"CHANGELOG.md"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@ckeditor/ckeditor5-clipboard": "47.0.0-alpha.
|
|
49
|
-
"@ckeditor/ckeditor5-collaboration-core": "47.0.0-alpha.
|
|
50
|
-
"@ckeditor/ckeditor5-core": "47.0.0-alpha.
|
|
51
|
-
"@ckeditor/ckeditor5-engine": "47.0.0-alpha.
|
|
52
|
-
"@ckeditor/ckeditor5-enter": "47.0.0-alpha.
|
|
53
|
-
"@ckeditor/ckeditor5-icons": "47.0.0-alpha.
|
|
54
|
-
"@ckeditor/ckeditor5-paragraph": "47.0.0-alpha.
|
|
55
|
-
"@ckeditor/ckeditor5-select-all": "47.0.0-alpha.
|
|
56
|
-
"@ckeditor/ckeditor5-source-editing": "47.0.0-alpha.
|
|
57
|
-
"@ckeditor/ckeditor5-theme-lark": "47.0.0-alpha.
|
|
58
|
-
"@ckeditor/ckeditor5-typing": "47.0.0-alpha.
|
|
59
|
-
"@ckeditor/ckeditor5-ui": "47.0.0-alpha.
|
|
60
|
-
"@ckeditor/ckeditor5-undo": "47.0.0-alpha.
|
|
61
|
-
"@ckeditor/ckeditor5-utils": "47.0.0-alpha.
|
|
62
|
-
"@ckeditor/ckeditor5-widget": "47.0.0-alpha.
|
|
63
|
-
"ckeditor5": "47.0.0-alpha.
|
|
64
|
-
"ckeditor5-collaboration": "47.0.0-alpha.
|
|
48
|
+
"@ckeditor/ckeditor5-clipboard": "47.0.0-alpha.2",
|
|
49
|
+
"@ckeditor/ckeditor5-collaboration-core": "47.0.0-alpha.2",
|
|
50
|
+
"@ckeditor/ckeditor5-core": "47.0.0-alpha.2",
|
|
51
|
+
"@ckeditor/ckeditor5-engine": "47.0.0-alpha.2",
|
|
52
|
+
"@ckeditor/ckeditor5-enter": "47.0.0-alpha.2",
|
|
53
|
+
"@ckeditor/ckeditor5-icons": "47.0.0-alpha.2",
|
|
54
|
+
"@ckeditor/ckeditor5-paragraph": "47.0.0-alpha.2",
|
|
55
|
+
"@ckeditor/ckeditor5-select-all": "47.0.0-alpha.2",
|
|
56
|
+
"@ckeditor/ckeditor5-source-editing": "47.0.0-alpha.2",
|
|
57
|
+
"@ckeditor/ckeditor5-theme-lark": "47.0.0-alpha.2",
|
|
58
|
+
"@ckeditor/ckeditor5-typing": "47.0.0-alpha.2",
|
|
59
|
+
"@ckeditor/ckeditor5-ui": "47.0.0-alpha.2",
|
|
60
|
+
"@ckeditor/ckeditor5-undo": "47.0.0-alpha.2",
|
|
61
|
+
"@ckeditor/ckeditor5-utils": "47.0.0-alpha.2",
|
|
62
|
+
"@ckeditor/ckeditor5-widget": "47.0.0-alpha.2",
|
|
63
|
+
"ckeditor5": "47.0.0-alpha.2",
|
|
64
|
+
"ckeditor5-collaboration": "47.0.0-alpha.2",
|
|
65
65
|
"es-toolkit": "1.39.5"
|
|
66
66
|
},
|
|
67
67
|
"types": "src/index.d.ts",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3c5c45=_0x581e;(function(_0x2f51a7,_0x1b6ca3){const _0x260791=_0x581e,_0x3a7798=_0x2f51a7();while(!![]){try{const _0x24d1d4=-parseInt(_0x260791(0x11d))/0x1*(parseInt(_0x260791(0x122))/0x2)+-parseInt(_0x260791(0x128))/0x3+parseInt(_0x260791(0x12c))/0x4*(-parseInt(_0x260791(0x133))/0x5)+parseInt(_0x260791(0x11c))/0x6*(parseInt(_0x260791(0x13e))/0x7)+parseInt(_0x260791(0x121))/0x8*(-parseInt(_0x260791(0x140))/0x9)+parseInt(_0x260791(0x13b))/0xa+parseInt(_0x260791(0x11a))/0xb;if(_0x24d1d4===_0x1b6ca3)break;else _0x3a7798['push'](_0x3a7798['shift']());}catch(_0x80c6d2){_0x3a7798['push'](_0x3a7798['shift']());}}}(_0x5238,0x5e635));function _0x581e(_0x503a9b,_0x377c1e){const _0x523837=_0x5238();return _0x581e=function(_0x581e98,_0x4c18af){_0x581e98=_0x581e98-0x113;let _0x26cf86=_0x523837[_0x581e98];return _0x26cf86;},_0x581e(_0x503a9b,_0x377c1e);}import{CKEditorError as _0x5d000b,Rect as _0x470959,Collection as _0x48bf4b,ObservableMixin as _0x29f908}from'ckeditor5/src/utils.js';export class Annotation extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x29f908(){[_0x3c5c45(0x137)];[_0x3c5c45(0x131)];[_0x3c5c45(0x12e)];[_0x3c5c45(0x138)];constructor({view:_0x52a8a7,target:_0x448332,type:_0x199e68,isVisible:_0x5f0664=!0x0}){const _0x4b00d7=_0x3c5c45;super(),this[_0x4b00d7(0x137)]=_0x52a8a7,this[_0x4b00d7(0x137)][_0x4b00d7(0x130)]||this[_0x4b00d7(0x137)][_0x4b00d7(0x139)](),this[_0x4b00d7(0x12e)]=_0x199e68,this[_0x4b00d7(0x138)]=_0x448332,Annotation[_0x4b00d7(0x125)](this[_0x4b00d7(0x13f)]()),this[_0x4b00d7(0x131)]=new _0x48bf4b([this[_0x4b00d7(0x137)][_0x4b00d7(0x130)]],{'idProperty':_0x4b00d7(0x129)}),this[_0x4b00d7(0x131)]['on'](_0x4b00d7(0x136),(_0x201952,_0x47239b)=>{const _0x53040b=_0x4b00d7;this[_0x53040b(0x137)][_0x53040b(0x12b)][_0x53040b(0x136)](_0x47239b);}),this[_0x4b00d7(0x131)]['on'](_0x4b00d7(0x11f),(_0x1e519f,_0x58e0d3)=>{const _0x10ca8d=_0x4b00d7;this[_0x10ca8d(0x137)][_0x10ca8d(0x12b)][_0x10ca8d(0x11f)](_0x58e0d3);}),this[_0x4b00d7(0x13a)](_0x4b00d7(0x117),_0x5f0664);}get[_0x3c5c45(0x132)](){const _0x1c3fc3=_0x3c5c45;return _0x1c3fc3(0x127)==typeof this[_0x1c3fc3(0x12e)]?this[_0x1c3fc3(0x12e)]():this[_0x1c3fc3(0x12e)];}get[_0x3c5c45(0x13c)](){const _0x2930d3=_0x3c5c45;return this[_0x2930d3(0x137)][_0x2930d3(0x13d)];}get[_0x3c5c45(0x135)](){const _0x4a3191=_0x3c5c45,_0x7eedb9=this[_0x4a3191(0x13f)]();return Annotation[_0x4a3191(0x125)](_0x7eedb9),_0x7eedb9;}get[_0x3c5c45(0x12d)](){const _0x13b776=_0x3c5c45,_0x4f6f78=this[_0x13b776(0x135)];if(null===_0x4f6f78)return null;if(_0x4f6f78 instanceof _0x470959)return _0x4f6f78;const _0x56a85e=_0x4f6f78[_0x13b776(0x12f)](_0x291c15=>function(_0x54c736){const _0x47c1ef=_0x13b776,_0x34d418=_0x54c736[_0x47c1ef(0x119)];if(_0x34d418)return!0x0;const _0x4a3c63=_0x54c736[_0x47c1ef(0x123)]()[_0x47c1ef(0x113)](0x0);return!!_0x4a3c63;}(_0x291c15));return 0x0===_0x56a85e[_0x13b776(0x116)]?null:new _0x470959(_0x56a85e[0x0][_0x13b776(0x123)]()[_0x13b776(0x113)](0x0));}get[_0x3c5c45(0x120)](){const _0x7c00a6=_0x3c5c45;return this[_0x7c00a6(0x137)][_0x7c00a6(0x120)];}set[_0x3c5c45(0x120)](_0x322577){const _0x46ad85=_0x3c5c45;this[_0x46ad85(0x137)][_0x46ad85(0x120)]=_0x322577,this[_0x46ad85(0x137)][_0x46ad85(0x13d)][_0x46ad85(0x120)]=_0x322577;}[_0x3c5c45(0x126)](){const _0x55953b=_0x3c5c45;this[_0x55953b(0x137)][_0x55953b(0x12d)]=this[_0x55953b(0x12d)];}[_0x3c5c45(0x134)](){const _0x5aa36c=_0x3c5c45;this[_0x5aa36c(0x131)][_0x5aa36c(0x118)](),this[_0x5aa36c(0x131)][_0x5aa36c(0x115)](),this[_0x5aa36c(0x118)]();}[_0x3c5c45(0x12a)](){const _0x3fdf52=_0x3c5c45;this[_0x3fdf52(0x117)]=!!this[_0x3fdf52(0x12d)];}static[_0x3c5c45(0x125)](_0x528f30){const _0x2c3ba7=_0x3c5c45;if(!(null===_0x528f30||_0x528f30 instanceof _0x470959||Array[_0x2c3ba7(0x114)](_0x528f30)&&_0x528f30[_0x2c3ba7(0x11b)](_0x4b6418=>g(_0x4b6418))))throw new _0x5d000b(_0x2c3ba7(0x11e),null,{'target':_0x528f30});}[_0x3c5c45(0x13f)](){const _0x4f1945=_0x3c5c45,_0x167a0d=_0x4f1945(0x127)==typeof this[_0x4f1945(0x138)]?this[_0x4f1945(0x138)]():this[_0x4f1945(0x138)];return g(_0x167a0d)?[_0x167a0d]:_0x167a0d;}}function _0x5238(){const _0x196875=['type','15cIocDg','destroy','target','add','view','_target','render','set','4920180PqGBiV','innerView','mainView','2941967ibfOmr','_getNormalizedTarget','5222853fiAXaN','nodeType','item','isArray','clear','length','isVisible','stopListening','offsetParent','13368597mhblSF','every','6soNwJq','158yWWATg','annotation-invalid-target','remove','isActive','8AavkNf','5422ZxwEkT','getClientRects','object','_assertCorrectTarget','updateTargetRect','function','1047999AVnBgi','_id','refreshVisibility','focusTracker','510700mKMtSM','targetRect','_type','filter','element','focusableElements'];_0x5238=function(){return _0x196875;};return _0x5238();}function g(_0x2eef8c){const _0x1224d6=_0x3c5c45;return null!==_0x2eef8c&&_0x1224d6(0x124)==typeof _0x2eef8c&&_0x1224d6(0x141)in _0x2eef8c&&0x1===_0x2eef8c[_0x1224d6(0x141)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3b19ef=_0x130b;function _0x505c(){const _0x1a8234=['_sort','sort','120GrwQlC','innerView','focus','annotationcollection-not-existing-item','4053uufZjr','left','annotationcollection-duplicated-item','get','blur','350lxhQVX','add','isFocused','change:isFocused','18ulUBno','clear','from','1051390mQfvhi','targetRect','_getOrderInContent','top','length','11001468jBfIlH','set','destroy','view','listenTo','getIndex','14648931JiMiKt','404KdYvQT','delete','fire','662680ODUOtN','367940JglBxw','focusTracker','119jMRgWe','stopListening','_innerViewToAnnotation','getByInnerView','remove','has','refreshPositioning','_focusTracker','_viewToAnnotation','getByView','13PmGjUN','focusableElements','updateTargetRect','2757vtQoOL'];_0x505c=function(){return _0x1a8234;};return _0x505c();}(function(_0x154bc6,_0x2be037){const _0x1ccaf0=_0x130b,_0x15f0ec=_0x154bc6();while(!![]){try{const _0x3f23ad=parseInt(_0x1ccaf0(0x149))/0x1*(parseInt(_0x1ccaf0(0x14e))/0x2)+-parseInt(_0x1ccaf0(0x142))/0x3*(parseInt(_0x1ccaf0(0x161))/0x4)+-parseInt(_0x1ccaf0(0x133))/0x5*(parseInt(_0x1ccaf0(0x145))/0x6)+parseInt(_0x1ccaf0(0x135))/0x7*(parseInt(_0x1ccaf0(0x132))/0x8)+parseInt(_0x1ccaf0(0x152))/0x9*(-parseInt(_0x1ccaf0(0x155))/0xa)+parseInt(_0x1ccaf0(0x160))/0xb+parseInt(_0x1ccaf0(0x15a))/0xc*(-parseInt(_0x1ccaf0(0x13f))/0xd);if(_0x3f23ad===_0x2be037)break;else _0x15f0ec['push'](_0x15f0ec['shift']());}catch(_0x5985b7){_0x15f0ec['push'](_0x15f0ec['shift']());}}}(_0x505c,0xb8f29));import{CKEditorError as _0x32f633,Collection as _0x566e67,FocusTracker as _0x4bc267}from'ckeditor5/src/utils.js';export class AnnotationCollection extends _0x566e67{[_0x3b19ef(0x137)];[_0x3b19ef(0x13d)];[_0x3b19ef(0x13c)];constructor(_0x577c92=[]){const _0x35075f=_0x3b19ef;super(),this[_0x35075f(0x137)]=new Map(),this[_0x35075f(0x13d)]=new Map(),this[_0x35075f(0x13c)]=new _0x4bc267(),this[_0x35075f(0x13c)]['on'](_0x35075f(0x151),(_0x4fca3e,_0x2f570b,_0x10a666)=>{const _0xf19244=_0x35075f;_0x10a666||this[_0xf19244(0x131)](_0xf19244(0x14d));});for(const _0x2cb237 of _0x577c92)this[_0x35075f(0x14f)](_0x2cb237);}get[_0x3b19ef(0x150)](){const _0x1afd1b=_0x3b19ef;return this[_0x1afd1b(0x13c)][_0x1afd1b(0x150)];}[_0x3b19ef(0x14f)](_0x3a1600){const _0x461f76=_0x3b19ef;if(this[_0x461f76(0x13a)](_0x3a1600))throw new _0x32f633(_0x461f76(0x14b),null);this[_0x461f76(0x137)][_0x461f76(0x15b)](_0x3a1600[_0x461f76(0x146)],_0x3a1600),this[_0x461f76(0x13d)][_0x461f76(0x15b)](_0x3a1600[_0x461f76(0x15d)],_0x3a1600);for(const _0x5f0b32 of _0x3a1600[_0x461f76(0x140)])this[_0x461f76(0x13c)][_0x461f76(0x14f)](_0x5f0b32);this[_0x461f76(0x15e)](_0x3a1600[_0x461f76(0x140)],_0x461f76(0x14f),(_0x2a786c,_0x2cfdd0)=>{const _0x235ba9=_0x461f76;this[_0x235ba9(0x13c)][_0x235ba9(0x14f)](_0x2cfdd0);}),this[_0x461f76(0x15e)](_0x3a1600[_0x461f76(0x140)],_0x461f76(0x139),(_0x5e1663,_0x1badf1)=>{const _0x5f25ed=_0x461f76;this[_0x5f25ed(0x13c)][_0x5f25ed(0x139)](_0x1badf1);}),this[_0x461f76(0x15e)](_0x3a1600[_0x461f76(0x15d)][_0x461f76(0x134)],_0x461f76(0x151),(_0x3bc0a9,_0x4d09ac,_0x5a3a40)=>{const _0x47a8fc=_0x461f76;_0x5a3a40&&this[_0x47a8fc(0x131)](_0x47a8fc(0x147),_0x3a1600);}),_0x3a1600[_0x461f76(0x141)]();const _0xb8634e=this[_0x461f76(0x157)](_0x3a1600[_0x461f76(0x15d)][_0x461f76(0x156)]);return super[_0x461f76(0x14f)](_0x3a1600,_0xb8634e);}[_0x3b19ef(0x139)](_0x4e5bd2){const _0x447d6d=_0x3b19ef;if(!this[_0x447d6d(0x13a)](_0x4e5bd2))throw new _0x32f633(_0x447d6d(0x148),null);this[_0x447d6d(0x136)](_0x4e5bd2[_0x447d6d(0x15d)][_0x447d6d(0x134)]),this[_0x447d6d(0x136)](_0x4e5bd2[_0x447d6d(0x140)]);for(const _0x4ab7ef of _0x4e5bd2[_0x447d6d(0x140)])this[_0x447d6d(0x13c)][_0x447d6d(0x139)](_0x4ab7ef);return this[_0x447d6d(0x13d)][_0x447d6d(0x162)](_0x4e5bd2[_0x447d6d(0x15d)]),this[_0x447d6d(0x137)][_0x447d6d(0x162)](_0x4e5bd2[_0x447d6d(0x146)]),super[_0x447d6d(0x139)](_0x4e5bd2);}[_0x3b19ef(0x138)](_0x35f722){const _0x28fd96=_0x3b19ef;return this[_0x28fd96(0x137)][_0x28fd96(0x14c)](_0x35f722);}[_0x3b19ef(0x13e)](_0x66a45d){const _0x6e662f=_0x3b19ef;return this[_0x6e662f(0x13d)][_0x6e662f(0x14c)](_0x66a45d);}[_0x3b19ef(0x15c)](){const _0x139349=_0x3b19ef;super[_0x139349(0x153)](),this[_0x139349(0x136)](),this[_0x139349(0x137)][_0x139349(0x153)](),this[_0x139349(0x13d)][_0x139349(0x153)](),this[_0x139349(0x13c)][_0x139349(0x15c)]();}[_0x3b19ef(0x13b)](){const _0x4e07be=_0x3b19ef;for(const _0x31e63a of this)_0x31e63a[_0x4e07be(0x141)]();this[_0x4e07be(0x143)]();}[_0x3b19ef(0x143)](){const _0x382c2e=_0x3b19ef,_0x10ad28=Array[_0x382c2e(0x154)](this)[_0x382c2e(0x144)]((_0x2741e4,_0x5b7531)=>w(_0x2741e4[_0x382c2e(0x15d)][_0x382c2e(0x156)],_0x5b7531[_0x382c2e(0x15d)][_0x382c2e(0x156)]));for(let _0x4aace5=_0x10ad28[_0x382c2e(0x159)]-0x1;_0x4aace5>0x0;_0x4aace5--){const _0xdb21be=_0x10ad28[_0x4aace5];_0x4aace5!==this[_0x382c2e(0x15f)](_0xdb21be)&&(this[_0x382c2e(0x139)](_0xdb21be),this[_0x382c2e(0x14f)](_0xdb21be));}}[_0x3b19ef(0x157)](_0x18b74a){const _0x4d23c3=_0x3b19ef;let _0x2930a2=0x0;if(!_0x18b74a)return this[_0x4d23c3(0x159)];for(const _0x561d67 of this){const _0x14c63f=_0x561d67[_0x4d23c3(0x15d)][_0x4d23c3(0x156)];if(_0x14c63f){if(w(_0x18b74a,_0x14c63f)<0x0)return _0x2930a2;_0x2930a2++;}}return _0x2930a2;}}export function bindAnnotationCollections({source:_0x1dd1ea,target:_0x1dca29,filter:_0x50d4fb}){const _0x1fe336=_0x3b19ef;for(const _0x3a46b5 of _0x1dd1ea)_0x50d4fb(_0x3a46b5)&&_0x1dca29[_0x1fe336(0x14f)](_0x3a46b5);_0x1dca29[_0x1fe336(0x15e)](_0x1dd1ea,_0x1fe336(0x14f),(_0x685133,_0x33e0ea)=>{const _0x384c35=_0x1fe336;_0x50d4fb(_0x33e0ea)&&_0x1dca29[_0x384c35(0x14f)](_0x33e0ea);}),_0x1dca29[_0x1fe336(0x15e)](_0x1dd1ea,_0x1fe336(0x139),(_0x5219b6,_0x256bfd)=>{const _0x40247a=_0x1fe336;_0x1dca29[_0x40247a(0x13a)](_0x256bfd)&&_0x1dca29[_0x40247a(0x139)](_0x256bfd);});}function _0x130b(_0x26facd,_0x2e7ac8){const _0x505c2b=_0x505c();return _0x130b=function(_0x130b90,_0xf8b3ad){_0x130b90=_0x130b90-0x131;let _0x421d85=_0x505c2b[_0x130b90];return _0x421d85;},_0x130b(_0x26facd,_0x2e7ac8);}function w(_0x141010,_0x1aabce){const _0x5a4895=_0x3b19ef;if(null===_0x141010&&null===_0x1aabce)return 0x0;if(null===_0x141010)return-0x1;if(null===_0x1aabce)return 0x1;const _0x24cb16=_0x141010[_0x5a4895(0x158)]-_0x1aabce[_0x5a4895(0x158)];return 0x0==_0x24cb16?_0x141010[_0x5a4895(0x14a)]-_0x1aabce[_0x5a4895(0x14a)]:_0x24cb16;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x30ea(_0xe6991e,_0x164ff3){const _0x1186d6=_0x1186();return _0x30ea=function(_0x30ea7e,_0x2dd73c){_0x30ea7e=_0x30ea7e-0xa4;let _0x6362ca=_0x1186d6[_0x30ea7e];return _0x6362ca;},_0x30ea(_0xe6991e,_0x164ff3);}function _0x1186(){const _0x97cead=['refreshVisibility','view','ready','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER','editing','keystrokes','Shift+Tab','focusTracker','remove','push','_setupEscapeAnnotationHandling','_addActiveAnnotation','isOfficialPlugin','add','isVisible','contains','5lWLxtF','fire','10TxAjUY','_activateAnnotation','escape','low','Ctrl+Shift+E','Tab','6194964QsTvCd','_bindAnnotationsToVisibleAnnotations','deactivateAll','_deactivateAllAnnotations','1857075Tksugq','47206808WRmuGk','7789131xEfQAm','37kIGDjy','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS','createAnnotation','destroy','addKeystrokeInfoGroup','focus','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS','change:isVisible','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP','Ctrl+Enter','Arrowdown','domRoots','Enter','Annotations','_setupEnterAnnotationKeystroke','isPremiumPlugin','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO','locale','has','stopListening','36548Wlbvie','_visibleAnnotations','annotations','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT','editors','pluginName','collection','112cysgBw','68628nSPJMD','isArray','refreshPositioning','listenTo','Arrowup','set','delete','values','element','source','activeAnnotations','Esc','context','_removeActiveAnnotation','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT','accessibility','getByInnerView','activate','7821976hfLiIA','createAnnotationView','target'];_0x1186=function(){return _0x97cead;};return _0x1186();}const _0x48b164=_0x30ea;(function(_0x150fcb,_0x9cccd0){const _0x22ff74=_0x30ea,_0x54f6c5=_0x150fcb();while(!![]){try{const _0x586dce=parseInt(_0x22ff74(0xb0))/0x1*(parseInt(_0x22ff74(0xc4))/0x2)+parseInt(_0x22ff74(0xad))/0x3+-parseInt(_0x22ff74(0xde))/0x4*(-parseInt(_0x22ff74(0xf1))/0x5)+parseInt(_0x22ff74(0xa9))/0x6+-parseInt(_0x22ff74(0xcc))/0x7*(-parseInt(_0x22ff74(0xcb))/0x8)+-parseInt(_0x22ff74(0xaf))/0x9*(-parseInt(_0x22ff74(0xf3))/0xa)+-parseInt(_0x22ff74(0xae))/0xb;if(_0x586dce===_0x9cccd0)break;else _0x54f6c5['push'](_0x54f6c5['shift']());}catch(_0x1330bc){_0x54f6c5['push'](_0x54f6c5['shift']());}}}(_0x1186,0xf2c22));import{ContextPlugin as _0x4252cf,Editor as _0x2e3870}from'ckeditor5/src/core.js';import{first as _0xec73da}from'ckeditor5/src/utils.js';import{Annotation as _0x3169fc}from'./annotation.js';import{AnnotationCollection as _0x220d32}from'./annotationcollection.js';import{AnnotationView as _0x17c967}from'./view/annotationview.js';import{getTranslation as _0x7c47c2}from'../utils/common-translations.js';import{FOCUS_ANNOTATION_KEYSTROKE as _0x48643b}from'@ckeditor/ckeditor5-collaboration-core';export class Annotations extends _0x4252cf{[_0x48b164(0xca)];[_0x48b164(0xc5)];static get[_0x48b164(0xc9)](){const _0x287788=_0x48b164;return _0x287788(0xbd);}static get[_0x48b164(0xed)](){return!0x0;}static get[_0x48b164(0xbf)](){return!0x0;}constructor(_0x30c786){const _0x452320=_0x48b164;if(super(_0x30c786),this[_0x452320(0xca)]=new _0x220d32(),this[_0x452320(0xc5)]=new _0x220d32(),this[_0x452320(0xd1)](_0x452320(0xd6),new Set()),this[_0x452320(0xaa)](),_0x30c786 instanceof _0x2e3870){const _0x546f8b=_0x30c786[_0x452320(0xc1)];_0x30c786[_0x452320(0xdb)][_0x452320(0xb4)]({'id':_0x452320(0xc6),'label':_0x7c47c2(_0x546f8b,_0x452320(0xb8)),'keystrokes':[{'label':_0x7c47c2(_0x546f8b,_0x452320(0xc0)),'keystroke':_0x452320(0xa7)},{'label':_0x7c47c2(_0x546f8b,_0x452320(0xda)),'keystroke':_0x452320(0xd7)},{'label':_0x7c47c2(_0x546f8b,_0x452320(0xe4)),'keystroke':_0x452320(0xbc)},{'label':_0x7c47c2(_0x546f8b,_0x452320(0xb6)),'keystroke':[[_0x452320(0xa8)],[_0x452320(0xe7)]]},{'label':_0x7c47c2(_0x546f8b,_0x452320(0xc7)),'keystroke':[_0x452320(0xb9)]},{'label':_0x7c47c2(_0x546f8b,_0x452320(0xb1)),'keystroke':[[_0x452320(0xd0)],[_0x452320(0xba)]]}]});}this[_0x452320(0xbe)](),this[_0x452320(0xeb)]();}[_0x48b164(0xee)](_0x441fcd){const _0xe5f8a3=_0x48b164;this[_0xe5f8a3(0xca)][_0xe5f8a3(0xee)](_0x441fcd);}[_0x48b164(0xe9)](_0x2a54e0){const _0x4d7775=_0x48b164;this[_0x4d7775(0xca)][_0x4d7775(0xe9)](_0x2a54e0),_0x2a54e0[_0x4d7775(0xb3)]();}[_0x48b164(0xe1)](){const _0x1d41a3=_0x48b164;for(const _0x516bac of this[_0x1d41a3(0xca)])_0x516bac[_0x1d41a3(0xe1)]();}[_0x48b164(0xce)](){const _0x155dd8=_0x48b164;this[_0x155dd8(0xc5)][_0x155dd8(0xce)]();}[_0x48b164(0xdc)](_0x1cb8e5){const _0xf4e55f=_0x48b164;return this[_0xf4e55f(0xca)][_0xf4e55f(0xdc)](_0x1cb8e5);}[_0x48b164(0xab)](){const _0x336076=_0x48b164;this[_0x336076(0xf2)](_0x336076(0xac));}[_0x48b164(0xb3)](){const _0x5afa2b=_0x48b164;for(const _0x3aef70 of this[_0x5afa2b(0xca)])_0x3aef70[_0x5afa2b(0xb3)]();this[_0x5afa2b(0xc5)][_0x5afa2b(0xb3)](),this[_0x5afa2b(0xca)][_0x5afa2b(0xb3)](),super[_0x5afa2b(0xb3)]();}[_0x48b164(0xdd)](_0x103c99){const _0x151898=_0x48b164;this[_0x151898(0xf2)](_0x151898(0xa4),_0x103c99);}[_0x48b164(0xb2)](_0x213a75){return new _0x3169fc(_0x213a75);}[_0x48b164(0xdf)](_0x314587,_0x510a75){return new _0x17c967(_0x314587,_0x510a75);}[_0x48b164(0xec)](_0x4fdc72){const _0x220d3c=_0x48b164,_0x1b67c8=new Set(this[_0x220d3c(0xd6)]);_0x1b67c8[_0x220d3c(0xee)](_0x4fdc72),this[_0x220d3c(0xd6)]=_0x1b67c8;}[_0x48b164(0xd9)](_0x789c48){const _0x19bb07=_0x48b164,_0x5b6472=new Set(this[_0x19bb07(0xd6)]);_0x5b6472[_0x19bb07(0xd2)](_0x789c48),this[_0x19bb07(0xd6)]=_0x5b6472;}[_0x48b164(0xaa)](){const _0x28a3b4=_0x48b164,_0x1ace1c=this[_0x28a3b4(0xca)],_0x3b74da=this[_0x28a3b4(0xc5)];function _0x5b47b2(_0x1bbe70){const _0x52ba5c=_0x28a3b4,_0x531681=_0x1bbe70[_0x52ba5c(0xd5)];_0x531681[_0x52ba5c(0xef)]&&!_0x3b74da[_0x52ba5c(0xc2)](_0x531681)?_0x3b74da[_0x52ba5c(0xee)](_0x531681):!_0x531681[_0x52ba5c(0xef)]&&_0x3b74da[_0x52ba5c(0xc2)](_0x531681)&&_0x3b74da[_0x52ba5c(0xe9)](_0x531681),_0x531681[_0x52ba5c(0xe2)][_0x52ba5c(0xe8)][_0x52ba5c(0xe9)](_0x531681[_0x52ba5c(0xe2)][_0x52ba5c(0xd4)]),_0x531681[_0x52ba5c(0xe2)][_0x52ba5c(0xe8)][_0x52ba5c(0xee)](_0x531681[_0x52ba5c(0xe2)][_0x52ba5c(0xd4)]);}this[_0x28a3b4(0xcf)](_0x1ace1c,_0x28a3b4(0xee),(_0x492c68,_0xbb2dff)=>{const _0x1c7197=_0x28a3b4;_0xbb2dff[_0x1c7197(0xef)]&&_0x3b74da[_0x1c7197(0xee)](_0xbb2dff),this[_0x1c7197(0xcf)](_0xbb2dff,_0x1c7197(0xb7),_0x5b47b2);}),this[_0x28a3b4(0xcf)](_0x1ace1c,_0x28a3b4(0xe9),(_0x5e8b42,_0xcd823a)=>{const _0x1c951a=_0x28a3b4;_0x3b74da[_0x1c951a(0xc2)](_0xcd823a)&&_0x3b74da[_0x1c951a(0xe9)](_0xcd823a),this[_0x1c951a(0xc3)](_0xcd823a,_0x1c951a(0xb7),_0x5b47b2);});}[_0x48b164(0xbe)](){const _0x51d4df=_0x48b164,_0x5a7e8a=_0x24692f=>{const _0x4da8cc=_0x30ea;_0x24692f['on'](_0x4da8cc(0xe3),()=>{const _0x1d27fc=_0x4da8cc;_0x24692f[_0x1d27fc(0xe6)][_0x1d27fc(0xd1)](_0x48643b,(_0x489d27,_0x28516f)=>{const _0x2612f1=_0x1d27fc,_0x2c0f8d=_0xec73da(this[_0x2612f1(0xd6)][_0x2612f1(0xd3)]());_0x2c0f8d&&(_0x2c0f8d[_0x2612f1(0xe2)][_0x2612f1(0xb5)](),_0x28516f());});});};this[_0x51d4df(0xd8)]instanceof _0x2e3870?_0x5a7e8a(this[_0x51d4df(0xd8)]):this[_0x51d4df(0xd8)][_0x51d4df(0xc8)]&&this[_0x51d4df(0xd8)][_0x51d4df(0xc8)]['on'](_0x51d4df(0xee),(_0x2663bc,_0x42b833)=>{_0x5a7e8a(_0x42b833);});}[_0x48b164(0xeb)](){const _0x2b1183=_0x48b164,_0x190510=_0x526536=>{const _0x5b568f=_0x30ea,_0xb388b7=_0x526536[_0x5b568f(0xd5)],_0x149b6d=[];let _0x178fbe;if(Array[_0x5b568f(0xcd)](_0xb388b7[_0x5b568f(0xe0)])){_0x178fbe=_0xb388b7[_0x5b568f(0xe0)][0x0],this[_0x5b568f(0xd8)]instanceof _0x2e3870?_0x149b6d[_0x5b568f(0xea)](this[_0x5b568f(0xd8)]):this[_0x5b568f(0xd8)][_0x5b568f(0xc8)]&&_0x149b6d[_0x5b568f(0xea)](...this[_0x5b568f(0xd8)][_0x5b568f(0xc8)]);for(const _0x375fff of _0x149b6d)for(const _0x4b7670 of _0x375fff[_0x5b568f(0xe5)][_0x5b568f(0xe2)][_0x5b568f(0xbb)][_0x5b568f(0xd3)]())if(_0x4b7670[_0x5b568f(0xf0)](_0x178fbe))return void _0x375fff[_0x5b568f(0xe5)][_0x5b568f(0xe2)][_0x5b568f(0xb5)]();_0x178fbe[_0x5b568f(0xb5)]();}};this[_0x2b1183(0xcf)](this[_0x2b1183(0xca)],_0x2b1183(0xee),(_0x2eace5,_0x18e7da)=>{const _0x2682b1=_0x2b1183;this[_0x2682b1(0xcf)](_0x18e7da,_0x2682b1(0xa5),_0x190510,{'priority':_0x2682b1(0xa6)});}),this[_0x2b1183(0xcf)](this[_0x2b1183(0xca)],_0x2b1183(0xe9),(_0x32bad0,_0x391363)=>{const _0xe97cd2=_0x2b1183;this[_0xe97cd2(0xc3)](_0x391363,_0xe97cd2(0xa5),_0x190510);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x479b(){const _0x352b6b=['6776430wBOFRv','_removeActiveAnnotation','annotationsuis-register-already-registered','has','type','2553948EeeAux','deactivateAll','detach','requires','uisData','from','_setSelectedAnnotations','activate','7GrwKNW','AnnotationsUIs','8PqdNsS','annotationsuis-missing-ui','get','_activateAnnotation','16qnwFNo','context','switchTo','remove','plugins','setActiveAnnotation','isActive','length','stopListening','set','destroy','isOfficialPlugin','defaultFilter','annotationsuis-register-invalid-interface','collection','delete','push','5691PhMMLk','deactivate','_assertAnnotationDoesNotBelongToMultipleUIs','332KrnliQ','register','isPremiumPlugin','activeUIs','_deactivateAllAnnotations','refilterAnnotations','754363dhPDJz','annotationsuis-annotation-mismatch','init','activeAnnotations','_uis','add','hasActive','_visibleAnnotations','3108006CpwwgQ','find','_addActiveAnnotation','attach','change:activeAnnotation','size','9820239SqBfgy','1474700vwHugP','listenTo','function','filter','pluginName'];_0x479b=function(){return _0x352b6b;};return _0x479b();}const _0x596e88=_0x53e6;function _0x53e6(_0x5e74fb,_0x32ad14){const _0x479be1=_0x479b();return _0x53e6=function(_0x53e6e2,_0x5db245){_0x53e6e2=_0x53e6e2-0x1b6;let _0x18c33d=_0x479be1[_0x53e6e2];return _0x18c33d;},_0x53e6(_0x5e74fb,_0x32ad14);}(function(_0x5c0e49,_0x5cfc1c){const _0x28ce7f=_0x53e6,_0x525e38=_0x5c0e49();while(!![]){try{const _0xdd913e=-parseInt(_0x28ce7f(0x1e7))/0x1+parseInt(_0x28ce7f(0x1e1))/0x2*(-parseInt(_0x28ce7f(0x1de))/0x3)+parseInt(_0x28ce7f(0x1c9))/0x4*(parseInt(_0x28ce7f(0x1f6))/0x5)+parseInt(_0x28ce7f(0x1ef))/0x6*(parseInt(_0x28ce7f(0x1c7))/0x7)+parseInt(_0x28ce7f(0x1cd))/0x8*(parseInt(_0x28ce7f(0x1bf))/0x9)+parseInt(_0x28ce7f(0x1ba))/0xa+-parseInt(_0x28ce7f(0x1f5))/0xb;if(_0xdd913e===_0x5cfc1c)break;else _0x525e38['push'](_0x525e38['shift']());}catch(_0x1a59c0){_0x525e38['push'](_0x525e38['shift']());}}}(_0x479b,0x5f78e));import{ContextPlugin as _0x4aaa92}from'ckeditor5/src/core.js';import{CKEditorError as _0x1f8f56}from'ckeditor5/src/utils.js';import{AnnotationCollection as _0x30ddbc,bindAnnotationCollections as _0x498478}from'./annotationcollection.js';import{Annotations as _0xd4a176}from'./annotations.js';export class AnnotationsUIs extends _0x4aaa92{[_0x596e88(0x1e4)];[_0x596e88(0x1c3)];[_0x596e88(0x1eb)];static get[_0x596e88(0x1c2)](){return[_0xd4a176];}static get[_0x596e88(0x1b9)](){const _0x2aa813=_0x596e88;return _0x2aa813(0x1c8);}static get[_0x596e88(0x1d8)](){return!0x0;}static get[_0x596e88(0x1e3)](){return!0x0;}constructor(_0x1f646d){const _0x41aae3=_0x596e88;super(_0x1f646d),this[_0x41aae3(0x1e4)]=new Set(),this[_0x41aae3(0x1eb)]=new Map(),this[_0x41aae3(0x1c3)]=new Map();}[_0x596e88(0x1e9)](){const _0x1efd21=_0x596e88,_0x3b1c20=this[_0x1efd21(0x1ce)][_0x1efd21(0x1d1)][_0x1efd21(0x1cb)](_0xd4a176);this[_0x1efd21(0x1b6)](_0x3b1c20,_0x1efd21(0x1cc),(_0x3f2edd,_0x1a506e)=>{const _0x273cb4=_0x1efd21;for(const _0x3a5f54 of this[_0x273cb4(0x1e4)]){const _0x55911d=this[_0x273cb4(0x1eb)][_0x273cb4(0x1cb)](_0x3a5f54);(0x0,this[_0x273cb4(0x1c3)][_0x273cb4(0x1cb)](_0x3a5f54)[_0x273cb4(0x1b8)])(_0x1a506e)&&_0x55911d[_0x273cb4(0x1d2)](_0x1a506e);}}),this[_0x1efd21(0x1b6)](_0x3b1c20,_0x1efd21(0x1e5),()=>{const _0x1fbdec=_0x1efd21;for(const _0x12899b of this[_0x1fbdec(0x1e4)]){this[_0x1fbdec(0x1eb)][_0x1fbdec(0x1cb)](_0x12899b)[_0x1fbdec(0x1d2)](null);}}),this[_0x1efd21(0x1b6)](_0x3b1c20[_0x1efd21(0x1ee)],_0x1efd21(0x1ec),(_0x127b52,_0x4cf3c7)=>{const _0x3d577f=_0x1efd21;this[_0x3d577f(0x1e0)](_0x4cf3c7);});}[_0x596e88(0x1ed)](){const _0x455cea=_0x596e88;return this[_0x455cea(0x1e4)][_0x455cea(0x1f4)]>0x0;}[_0x596e88(0x1d3)](_0x22b8bb){const _0x47e5f6=_0x596e88;return this[_0x47e5f6(0x1e4)][_0x47e5f6(0x1bd)](_0x22b8bb);}[_0x596e88(0x1c6)](_0x32c2d2,_0x58bf7a=this[_0x596e88(0x1d9)]){const _0x17c2aa=_0x596e88,_0x28e378=this[_0x17c2aa(0x1ce)][_0x17c2aa(0x1d1)][_0x17c2aa(0x1cb)](_0xd4a176);if(!this[_0x17c2aa(0x1eb)][_0x17c2aa(0x1bd)](_0x32c2d2))throw new _0x1f8f56(_0x17c2aa(0x1ca),this,{'uiName':_0x32c2d2});this[_0x17c2aa(0x1d3)](_0x32c2d2)&&this[_0x17c2aa(0x1df)](_0x32c2d2),this[_0x17c2aa(0x1e4)][_0x17c2aa(0x1ec)](_0x32c2d2);const _0x2d1487=new _0x30ddbc(),_0x3f8ae6=_0x28e378[_0x17c2aa(0x1ee)];_0x498478({'source':_0x3f8ae6,'target':_0x2d1487,'filter':_0x58bf7a}),this[_0x17c2aa(0x1c3)][_0x17c2aa(0x1d6)](_0x32c2d2,{'collection':_0x2d1487,'filter':_0x58bf7a});const _0x573991=this[_0x17c2aa(0x1eb)][_0x17c2aa(0x1cb)](_0x32c2d2);_0x573991[_0x17c2aa(0x1f2)](_0x2d1487),this[_0x17c2aa(0x1b6)](_0x573991,_0x17c2aa(0x1f3),(_0x490055,_0x5993d8,_0x312568,_0x32b3ad)=>{const _0x21d969=_0x17c2aa;_0x32b3ad&&_0x28e378[_0x21d969(0x1bb)](_0x32b3ad),_0x312568&&_0x28e378[_0x21d969(0x1f1)](_0x312568);});}[_0x596e88(0x1df)](_0x459131){const _0x2566f3=_0x596e88;if(this[_0x2566f3(0x1e4)][_0x2566f3(0x1dc)](_0x459131),!this[_0x2566f3(0x1eb)][_0x2566f3(0x1bd)](_0x459131))throw new _0x1f8f56(_0x2566f3(0x1ca),this,{'uiName':_0x459131});const _0x3fec92=this[_0x2566f3(0x1eb)][_0x2566f3(0x1cb)](_0x459131);_0x3fec92[_0x2566f3(0x1c1)](),this[_0x2566f3(0x1d5)](_0x3fec92),this[_0x2566f3(0x1c3)][_0x2566f3(0x1cb)](_0x459131)[_0x2566f3(0x1db)][_0x2566f3(0x1d7)](),this[_0x2566f3(0x1c3)][_0x2566f3(0x1dc)](_0x459131);}[_0x596e88(0x1cf)](_0x303078){const _0x2b99fb=_0x596e88;if(!this[_0x2b99fb(0x1eb)][_0x2b99fb(0x1bd)](_0x303078))throw new _0x1f8f56(_0x2b99fb(0x1ca),this,{'uiName':_0x303078});const _0x554938=this[_0x2b99fb(0x1ce)][_0x2b99fb(0x1d1)][_0x2b99fb(0x1cb)](_0xd4a176),_0xdcbf1e=Array[_0x2b99fb(0x1c4)](_0x554938[_0x2b99fb(0x1ea)])[0x0]||null;this[_0x2b99fb(0x1c0)](),this[_0x2b99fb(0x1c6)](_0x303078);const _0x1674f4=this[_0x2b99fb(0x1eb)][_0x2b99fb(0x1cb)](_0x303078);_0x1674f4[_0x2b99fb(0x1d2)](_0xdcbf1e),_0x1674f4[_0x2b99fb(0x1c5)]&&_0xdcbf1e&&_0x1674f4[_0x2b99fb(0x1c5)]([_0xdcbf1e]);}[_0x596e88(0x1c0)](){const _0x5bdf87=_0x596e88;for(const _0x318228 of this[_0x5bdf87(0x1e4)])this[_0x5bdf87(0x1df)](_0x318228);}[_0x596e88(0x1e2)](_0x1aad1b,_0xd05e10){const _0x45b3af=_0x596e88;if(this[_0x45b3af(0x1eb)][_0x45b3af(0x1bd)](_0x1aad1b))throw new _0x1f8f56(_0x45b3af(0x1bc));if(_0x45b3af(0x1b7)!=typeof _0xd05e10[_0x45b3af(0x1f2)]||_0x45b3af(0x1b7)!=typeof _0xd05e10[_0x45b3af(0x1c1)]||_0x45b3af(0x1b7)!=typeof _0xd05e10[_0x45b3af(0x1d2)])throw new _0x1f8f56(_0x45b3af(0x1da),null);this[_0x45b3af(0x1eb)][_0x45b3af(0x1d6)](_0x1aad1b,_0xd05e10);}[_0x596e88(0x1e6)](){const _0xbb7ec1=_0x596e88,_0xc8aba1=this[_0xbb7ec1(0x1ce)][_0xbb7ec1(0x1d1)][_0xbb7ec1(0x1cb)](_0xd4a176)[_0xbb7ec1(0x1db)],_0x51e064=new Map(),_0x3658ad=Array[_0xbb7ec1(0x1c4)](this[_0xbb7ec1(0x1e4)]);for(const _0x28de5a of this[_0xbb7ec1(0x1e4)]){const _0x42d534=this[_0xbb7ec1(0x1c3)][_0xbb7ec1(0x1cb)](_0x28de5a)[_0xbb7ec1(0x1db)];for(const _0x380546 of _0x42d534)_0x51e064[_0xbb7ec1(0x1d6)](_0x380546,_0x28de5a);}for(const _0x28b6da of _0xc8aba1){const _0x109513=_0x51e064[_0xbb7ec1(0x1cb)](_0x28b6da);this[_0xbb7ec1(0x1e0)](_0x28b6da);const _0x23183c=_0x3658ad[_0xbb7ec1(0x1f0)](_0x7c3c4=>this[_0xbb7ec1(0x1c3)][_0xbb7ec1(0x1cb)](_0x7c3c4)[_0xbb7ec1(0x1b8)](_0x28b6da));_0x109513!==_0x23183c&&(_0x109513&&this[_0xbb7ec1(0x1c3)][_0xbb7ec1(0x1cb)](_0x109513)[_0xbb7ec1(0x1db)][_0xbb7ec1(0x1d0)](_0x28b6da),_0x23183c&&this[_0xbb7ec1(0x1c3)][_0xbb7ec1(0x1cb)](_0x23183c)[_0xbb7ec1(0x1db)][_0xbb7ec1(0x1ec)](_0x28b6da));}}[_0x596e88(0x1d7)](){const _0x42b7ef=_0x596e88;this[_0x42b7ef(0x1c0)](),super[_0x42b7ef(0x1d7)]();}[_0x596e88(0x1d9)](){return!0x0;}[_0x596e88(0x1e0)](_0x28d338){const _0x481236=_0x596e88,_0x4d6def=[];for(const _0x28ef64 of this[_0x481236(0x1e4)]){(0x0,this[_0x481236(0x1c3)][_0x481236(0x1cb)](_0x28ef64)[_0x481236(0x1b8)])(_0x28d338)&&_0x4d6def[_0x481236(0x1dd)](_0x28ef64);}if(_0x4d6def[_0x481236(0x1d4)]>0x1)throw new _0x1f8f56(_0x481236(0x1e8),null,{'matchedUIs':_0x4d6def,'annotationType':_0x28d338[_0x481236(0x1be)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe7d32=_0x29f1;(function(_0x4f4f1f,_0x63bed5){const _0x41b659=_0x29f1,_0x318c03=_0x4f4f1f();while(!![]){try{const _0x5d9a5c=-parseInt(_0x41b659(0x186))/0x1*(-parseInt(_0x41b659(0x162))/0x2)+parseInt(_0x41b659(0x172))/0x3*(-parseInt(_0x41b659(0x156))/0x4)+-parseInt(_0x41b659(0x159))/0x5+-parseInt(_0x41b659(0x167))/0x6*(parseInt(_0x41b659(0x175))/0x7)+-parseInt(_0x41b659(0x149))/0x8*(-parseInt(_0x41b659(0x148))/0x9)+parseInt(_0x41b659(0x169))/0xa+-parseInt(_0x41b659(0x176))/0xb*(-parseInt(_0x41b659(0x171))/0xc);if(_0x5d9a5c===_0x63bed5)break;else _0x318c03['push'](_0x318c03['shift']());}catch(_0x4e03f0){_0x318c03['push'](_0x318c03['shift']());}}}(_0x49d1,0x1cc4c));import{Plugin as _0x37b08}from'ckeditor5/src/core.js';import{CKEditorError as _0x4099f1}from'ckeditor5/src/utils.js';function _0x29f1(_0x55bf23,_0x3d6947){const _0x49d1ac=_0x49d1();return _0x29f1=function(_0x29f15d,_0x581b5a){_0x29f15d=_0x29f15d-0x146;let _0x21ea56=_0x49d1ac[_0x29f15d];return _0x21ea56;},_0x29f1(_0x55bf23,_0x3d6947);}import{debounce as _0x550ca1}from'es-toolkit/compat';import{Annotations as _0x1efd5b}from'./annotations.js';function _0x49d1(){const _0x225df5=['204488fdYcwc','directChange','refreshSelectedViews','isOfficialPlugin','document','19722khYaxs','blur','839340FgIRbl','function','listenTo','uiUpdate','update','EditorAnnotations','change:isFocused','map','84wniqwT','9XWXHVs','cancel','hasDomSelection','371aSZimp','420387gQRGqC','_editorAnnotationsData','isPremiumPlugin','addSourceCollector','model','range','getRanges','editing','refresh','view','add','requires','has','delete','getOrderedSelectedAnnotations','push','1kXTavx','editorannotations-invalid-source-callback','registerAnnotation','annotation','70821FCRzeX','64EPPAbs','containsRange','collection','remove','getByInnerView','_dataCollectors','set','change:range','init','from','innerView','sort','get','147988SbMHrc','fire','element','568055aEWdSS','focusTracker','_editorAnnotations','pluginName','isCollapsed','selection','plugins','isEqual','editor'];_0x49d1=function(){return _0x225df5;};return _0x49d1();}export class EditorAnnotations extends _0x37b08{[_0xe7d32(0x14e)];[_0xe7d32(0x15b)];static get[_0xe7d32(0x181)](){return[_0x1efd5b];}static get[_0xe7d32(0x15c)](){const _0x428b21=_0xe7d32;return _0x428b21(0x16e);}static get[_0xe7d32(0x165)](){return!0x0;}static get[_0xe7d32(0x178)](){return!0x0;}constructor(_0x8411bf){const _0x49dd38=_0xe7d32;super(_0x8411bf),this[_0x49dd38(0x14e)]=new Set(),this[_0x49dd38(0x15b)]=new Set();}[_0xe7d32(0x151)](){const _0x41039a=_0xe7d32,_0x35bb82=this[_0x41039a(0x161)],_0x51d0cd=_0x35bb82[_0x41039a(0x17a)][_0x41039a(0x166)][_0x41039a(0x15e)],_0xf1591c=_0x550ca1(()=>this[_0x41039a(0x164)](),0xa);_0x51d0cd['on'](_0x41039a(0x150),(_0x172a8b,_0x32eef7)=>{const _0x39f0a4=_0x41039a;_0x32eef7[_0x39f0a4(0x163)]&&(_0xf1591c[_0x39f0a4(0x173)](),this[_0x39f0a4(0x164)]());}),this[_0x41039a(0x16b)](_0x35bb82[_0x41039a(0x17d)][_0x41039a(0x17f)][_0x41039a(0x166)],_0x41039a(0x16f),(_0x5f1a88,_0x314ae5,_0x44bdcd)=>{_0x44bdcd&&_0xf1591c();}),this[_0x41039a(0x16b)](_0x35bb82['ui'][_0x41039a(0x15a)],_0x41039a(0x16f),(_0x538b9f,_0x4b1fe8,_0x249aec)=>{const _0x533982=_0x41039a;_0x249aec||this[_0x533982(0x157)](_0x533982(0x168),{'isAnnotationTracked':_0x2c862c=>this[_0x533982(0x177)][_0x533982(0x182)](_0x2c862c[_0x533982(0x153)])});}),this[_0x41039a(0x16b)](this[_0x41039a(0x161)]['ui'],_0x41039a(0x16d),()=>this[_0x41039a(0x157)](_0x41039a(0x16c)));}[_0xe7d32(0x146)](_0x4fec40){const _0x26eb59=_0xe7d32;if(this[_0x26eb59(0x15b)][_0x26eb59(0x182)](_0x4fec40[_0x26eb59(0x17f)]))return;this[_0x26eb59(0x15b)][_0x26eb59(0x180)](_0x4fec40[_0x26eb59(0x17f)]),this[_0x26eb59(0x161)]['ui'][_0x26eb59(0x15a)][_0x26eb59(0x180)](_0x4fec40[_0x26eb59(0x17f)][_0x26eb59(0x158)]);const _0x3fdbb9=this[_0x26eb59(0x161)][_0x26eb59(0x15f)][_0x26eb59(0x155)](_0x1efd5b);this[_0x26eb59(0x16b)](_0x3fdbb9[_0x26eb59(0x14b)],_0x26eb59(0x14c),(_0x637942,_0x56a1a3)=>{const _0x415f54=_0x26eb59;this[_0x415f54(0x161)]['ui'][_0x415f54(0x15a)][_0x415f54(0x14c)](_0x56a1a3[_0x415f54(0x17f)][_0x415f54(0x158)]),this[_0x415f54(0x15b)][_0x415f54(0x183)](_0x56a1a3[_0x415f54(0x17f)]);});}[_0xe7d32(0x174)](){const _0x1fa95c=_0xe7d32;return this[_0x1fa95c(0x161)][_0x1fa95c(0x17d)][_0x1fa95c(0x17f)][_0x1fa95c(0x174)];}[_0xe7d32(0x179)](_0x4d7589){const _0x36b652=_0xe7d32;if(_0x36b652(0x16a)!=typeof _0x4d7589)throw new _0x4099f1(_0x36b652(0x187));this[_0x36b652(0x14e)][_0x36b652(0x180)](_0x4d7589);}[_0xe7d32(0x164)](){const _0x227cae=_0xe7d32;this[_0x227cae(0x157)](_0x227cae(0x17e));}[_0xe7d32(0x184)]({activeAnnotation:_0x5134f2,annotations:_0xdf80e6}){const _0x1b3240=_0xe7d32,_0x2efd44=[],_0x1b4431=this[_0x1b3240(0x161)][_0x1b3240(0x17a)][_0x1b3240(0x166)][_0x1b3240(0x15e)],_0x39794b=Array[_0x1b3240(0x152)](_0x1b4431[_0x1b3240(0x17c)]());for(const [_0x4ae580,_0x1a5ce1]of this[_0x1b3240(0x177)]){const _0xb169f3=_0x5a252b(_0x1a5ce1),_0x53b5e4=_0xdf80e6[_0x1b3240(0x14d)](_0x4ae580);_0xb169f3&&_0x53b5e4&&_0x2efd44[_0x1b3240(0x185)]({'annotation':_0x53b5e4,'range':_0xb169f3});}function _0x5a252b(_0x4790c7){const _0x155603=_0x1b3240;for(const _0x24f0cc of _0x4790c7)for(const _0x29d23a of _0x39794b)if(_0x24f0cc[_0x155603(0x14a)](_0x29d23a,!_0x1b4431[_0x155603(0x15d)]))return _0x24f0cc;return null;}return _0x2efd44[_0x1b3240(0x154)]((_0x4dc270,_0x156ca7)=>{const _0x536b4c=_0x1b3240,_0x2002ac=_0x4dc270[_0x536b4c(0x17b)],_0x240711=_0x156ca7[_0x536b4c(0x17b)];if(!_0x2002ac[_0x536b4c(0x160)](_0x240711)){if(_0x2002ac[_0x536b4c(0x14a)](_0x240711,!0x0))return 0x1;if(_0x240711[_0x536b4c(0x14a)](_0x2002ac,!0x0))return-0x1;}return _0x4dc270[_0x536b4c(0x147)]==_0x5134f2?-0x1:_0x156ca7[_0x536b4c(0x147)]==_0x5134f2?0x1:0x0;})[_0x1b3240(0x170)](_0x13cd44=>_0x13cd44[_0x1b3240(0x147)]);}get[_0xe7d32(0x177)](){const _0x1b9c8b=_0xe7d32,_0x5edd08=new Map();for(const _0x2b9289 of Array[_0x1b9c8b(0x152)](this[_0x1b9c8b(0x14e)]))for(const [_0x2a18f3,_0x521162]of _0x2b9289())_0x5edd08[_0x1b9c8b(0x14f)](_0x2a18f3,_0x521162);return _0x5edd08;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3a7db=_0x5d64;(function(_0x5e7aec,_0x32c50f){const _0x3820c3=_0x5d64,_0x82a9b5=_0x5e7aec();while(!![]){try{const _0x3dc151=parseInt(_0x3820c3(0x10b))/0x1+parseInt(_0x3820c3(0xed))/0x2+-parseInt(_0x3820c3(0x108))/0x3*(parseInt(_0x3820c3(0x10c))/0x4)+parseInt(_0x3820c3(0xba))/0x5*(-parseInt(_0x3820c3(0xcb))/0x6)+-parseInt(_0x3820c3(0xf5))/0x7+-parseInt(_0x3820c3(0xfc))/0x8*(parseInt(_0x3820c3(0xb5))/0x9)+parseInt(_0x3820c3(0xc1))/0xa;if(_0x3dc151===_0x32c50f)break;else _0x82a9b5['push'](_0x82a9b5['shift']());}catch(_0xd7e780){_0x82a9b5['push'](_0x82a9b5['shift']());}}}(_0x57ee,0x6b4b9));import{Plugin as _0x5f3e8f}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x25049d}from'./annotationsuis.js';import{EditorAnnotations as _0x1f3e7a}from'./editorannotations.js';import{ContextualBalloon as _0x64cbd3}from'ckeditor5/src/ui.js';import{MouseObserver as _0xda8dcd}from'ckeditor5/src/engine.js';import{CKEditorError as _0x597298,Rect as _0x757fbb}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';function _0x5d64(_0x2b1fa9,_0x32ba1c){const _0x57ee14=_0x57ee();return _0x5d64=function(_0x5d6472,_0x54d548){_0x5d6472=_0x5d6472-0xb5;let _0x1ab47a=_0x57ee14[_0x5d6472];return _0x1ab47a;},_0x5d64(_0x2b1fa9,_0x32ba1c);}export class InlineAnnotations extends _0x5f3e8f{[_0x3a7db(0x103)];[_0x3a7db(0x10e)];[_0x3a7db(0xcd)];[_0x3a7db(0xfa)];[_0x3a7db(0xd8)];[_0x3a7db(0xc4)];[_0x3a7db(0xbd)];static get[_0x3a7db(0xde)](){return[_0x1f3e7a,_0x64cbd3,_0x25049d];}static get[_0x3a7db(0x110)](){const _0x2af72f=_0x3a7db;return _0x2af72f(0xc6);}static get[_0x3a7db(0xc2)](){return!0x0;}static get[_0x3a7db(0xd5)](){return!0x0;}constructor(_0x1bcc17){const _0x17f403=_0x3a7db;super(_0x1bcc17),_0x1bcc17[_0x17f403(0xbf)][_0x17f403(0xfb)][_0x17f403(0x113)](_0xda8dcd),this[_0x17f403(0x103)]=!0x1,this[_0x17f403(0xd0)](_0x17f403(0xda),null),this[_0x17f403(0x10e)]=null,this[_0x17f403(0xcd)]=new Set(),this[_0x17f403(0xfa)]=_0x1bcc17[_0x17f403(0xf9)][_0x17f403(0xce)](_0x64cbd3),this[_0x17f403(0xd8)]=new Set(),this[_0x17f403(0xc4)]=[],this[_0x17f403(0xbd)]=!0x1;}[_0x3a7db(0x10f)](){const _0x4a717a=_0x3a7db,_0x77359a=this[_0x4a717a(0x105)][_0x4a717a(0xf9)][_0x4a717a(0xce)](_0x25049d);_0x77359a[_0x4a717a(0xe5)]===this[_0x4a717a(0x105)]&&(_0x77359a[_0x4a717a(0xdc)](_0x4a717a(0xf7),this),this[_0x4a717a(0x105)][_0x4a717a(0xd4)][_0x4a717a(0xd0)](_0x4a717a(0xb9),(_0x4f1a8e,_0x365eed)=>{const _0x3aea14=_0x4a717a,_0x1cec76=this[_0x3aea14(0xfa)];if(this[_0x3aea14(0x103)]&&_0x1cec76[_0x3aea14(0xfe)]){const _0x37f4df=this[_0x3aea14(0x10e)][_0x3aea14(0xf8)](_0x1cec76[_0x3aea14(0xfe)]);_0x37f4df&&this[_0x3aea14(0xc3)](_0x37f4df),_0x365eed();}}));}[_0x3a7db(0xea)](){const _0x53464e=_0x3a7db,_0x1d7c7e=this[_0x53464e(0x105)][_0x53464e(0xf9)][_0x53464e(0xce)](_0x25049d);_0x1d7c7e[_0x53464e(0xe5)]===this[_0x53464e(0x105)]&&(_0x1d7c7e[_0x53464e(0xc5)]()||_0x1d7c7e[_0x53464e(0xdb)](_0x53464e(0xf7)));}[_0x3a7db(0xee)](_0x59d677){const _0xc28f3c=_0x3a7db;_0x59d677!==this[_0xc28f3c(0xda)]&&(this[_0xc28f3c(0xda)]&&(this[_0xc28f3c(0xda)][_0xc28f3c(0xc0)]=!0x1),_0x59d677&&this[_0xc28f3c(0x105)]['ui'][_0xc28f3c(0xf0)][_0xc28f3c(0xf1)]&&(this[_0xc28f3c(0x10e)][_0xc28f3c(0xdf)](_0x59d677)&&this[_0xc28f3c(0xd3)](_0x59d677,!0x0),_0x59d677[_0xc28f3c(0xc0)]=!0x0),_0x59d677||this[_0xc28f3c(0xc8)]([]),this[_0xc28f3c(0xda)]=_0x59d677);}[_0x3a7db(0xcc)](_0x3b6dc3){const _0x1ced54=_0x3a7db;this[_0x1ced54(0x10e)]=_0x3b6dc3;const _0x3f629f=this[_0x1ced54(0x105)][_0x1ced54(0xf9)][_0x1ced54(0xce)](_0x25049d),_0xd6e65a=this[_0x1ced54(0xfa)];if(this[_0x1ced54(0x103)])throw new _0x597298(_0x1ced54(0x112),this);if(_0x3f629f[_0x1ced54(0xe5)]!==this[_0x1ced54(0x105)])throw new _0x597298(_0x1ced54(0xbe),this);const _0x5ec16a=this[_0x1ced54(0x105)][_0x1ced54(0xf9)][_0x1ced54(0xce)](_0x1f3e7a);this[_0x1ced54(0x102)](_0x5ec16a,_0x1ced54(0x111),()=>{const _0x3d1d88=_0x1ced54,_0x17152c=_0x5ec16a[_0x3d1d88(0xe6)]({'annotations':this[_0x3d1d88(0x10e)],'activeAnnotation':this[_0x3d1d88(0xda)]});var _0x36c68f,_0x4fc3a9;!this[_0x3d1d88(0xbd)]&&(_0x36c68f=_0x17152c,_0x4fc3a9=this[_0x3d1d88(0xc4)],_0x36c68f[_0x3d1d88(0xbc)]===_0x4fc3a9[_0x3d1d88(0xbc)]&&_0x36c68f[_0x3d1d88(0xef)](_0x3d201f=>_0x4fc3a9[_0x3d1d88(0x104)](_0x3d201f)))||(this[_0x3d1d88(0xbd)]=!0x1,this[_0x3d1d88(0xc8)](_0x17152c),this[_0x3d1d88(0xee)](_0x17152c[0x0]||null));}),this[_0x1ced54(0x102)](_0x5ec16a,_0x1ced54(0xb7),(_0xd0a6f4,{isAnnotationTracked:_0x22f7fe})=>{const _0x16ea3d=_0x1ced54;this[_0x16ea3d(0xda)]&&_0x22f7fe(this[_0x16ea3d(0xda)])&&(this[_0x16ea3d(0xc8)]([]),this[_0x16ea3d(0xee)](null));}),this[_0x1ced54(0x102)](this[_0x1ced54(0x105)]['ui'][_0x1ced54(0xf0)],_0x1ced54(0x116),(_0x430297,_0x27204a,_0x44b132)=>{const _0x55750e=_0x1ced54;_0x44b132||this[_0x55750e(0xee)](null);}),this[_0x1ced54(0x102)](_0x3b6dc3,_0x1ced54(0x109),(_0x9f477a,_0x5a7368)=>{const _0x170690=_0x1ced54;this[_0x170690(0x115)](_0x5a7368),_0x5a7368===this[_0x170690(0xda)]&&this[_0x170690(0xee)](null);}),this[_0x1ced54(0x102)](_0xd6e65a,_0x1ced54(0xec),(_0x369e75,_0x320c83,_0x3e145c,_0x7a9671)=>{const _0x579239=_0x1ced54;_0x7a9671&&this[_0x579239(0xf6)](_0x7a9671);const _0x5a6b82=_0x3b6dc3[_0x579239(0xf8)](_0x3e145c);_0x3e145c&&_0x5a6b82&&(this[_0x579239(0x102)](_0x3e145c,_0x579239(0x106),()=>{const _0x4bdb17=_0x579239;_0xd6e65a[_0x4bdb17(0xd9)]();}),this[_0x579239(0x102)](_0x3e145c,_0x579239(0xb9),()=>{const _0x187839=_0x579239;this[_0x187839(0xc3)](_0x5a6b82),this[_0x187839(0x105)][_0x187839(0xbf)][_0x187839(0xfb)][_0x187839(0xe8)]();}),this[_0x579239(0xda)]!==_0x5a6b82&&this[_0x579239(0xee)](_0x5a6b82));}),this[_0x1ced54(0x102)](this[_0x1ced54(0x105)]['ui'],_0x1ced54(0xb8),()=>{const _0x1b0fb0=_0x1ced54;_0xd6e65a[_0x1b0fb0(0xfe)]&&(_0x3b6dc3[_0x1b0fb0(0xf8)](_0xd6e65a[_0x1b0fb0(0xfe)])&&_0xd6e65a[_0x1b0fb0(0xd9)]());}),this[_0x1ced54(0x102)](this[_0x1ced54(0x105)][_0x1ced54(0xbf)][_0x1ced54(0xfb)][_0x1ced54(0xc7)],_0x1ced54(0xe3),()=>{const _0x20431c=_0x1ced54;this[_0x20431c(0xbd)]=!0x0,this[_0x20431c(0xcd)][_0x20431c(0x10d)]();}),this[_0x1ced54(0x105)][_0x1ced54(0xbf)][_0x1ced54(0xfb)][_0x1ced54(0xc7)][_0x1ced54(0xe4)][_0x1ced54(0xb6)]&&this[_0x1ced54(0x105)][_0x1ced54(0xbf)][_0x1ced54(0xfb)][_0x1ced54(0xe8)](),this[_0x1ced54(0x103)]=!0x0;}[_0x3a7db(0xbb)](){const _0x385241=_0x3a7db;if(!this[_0x385241(0x103)])throw new _0x597298(_0x385241(0x10a),this);this[_0x385241(0xee)](null);for(const _0x5352a4 of this[_0x385241(0xd8)])this[_0x385241(0x115)](_0x5352a4);this[_0x385241(0xf6)](),this[_0x385241(0x103)]=!0x1,this[_0x385241(0x10e)]=null;}[_0x3a7db(0xd6)](){const _0xb9b5e9=_0x3a7db;this[_0xb9b5e9(0x103)]&&this[_0xb9b5e9(0xbb)]();}[_0x3a7db(0xc8)](_0x89d924){const _0x466752=_0x3a7db;for(const _0x31eb08 of this[_0x466752(0xc4)])_0x89d924[_0x466752(0x104)](_0x31eb08)||this[_0x466752(0xcd)][_0x466752(0xe0)](_0x31eb08);for(const _0x54d59d of this[_0x466752(0x10e)])_0x89d924[_0x466752(0x104)](_0x54d59d)||this[_0x466752(0x115)](_0x54d59d);if(this[_0x466752(0x105)]['ui'][_0x466752(0xf0)][_0x466752(0xf1)]){for(const _0x1ee651 of _0x89d924)this[_0x466752(0xd3)](_0x1ee651);}this[_0x466752(0xc4)]=_0x89d924;}[_0x3a7db(0xd3)](_0x49a3ee,_0x4461bc=!0x1){const _0x147218=_0x3a7db;this[_0x147218(0xcd)][_0x147218(0xdf)](_0x49a3ee)||(this[_0x147218(0xd8)][_0x147218(0xdf)](_0x49a3ee)||this[_0x147218(0xfa)][_0x147218(0xdd)](_0x49a3ee[_0x147218(0xfb)])||(this[_0x147218(0xd8)][_0x147218(0xff)](_0x49a3ee),this[_0x147218(0xfa)][_0x147218(0xff)]({'stackId':_0x49a3ee[_0x147218(0xfb)]['id'],'view':_0x49a3ee[_0x147218(0xfb)],'position':{'target':()=>this[_0x147218(0xe2)](_0x49a3ee)}})),_0x4461bc&&this[_0x147218(0xfa)][_0x147218(0xf4)](_0x49a3ee[_0x147218(0xfb)]['id']));}[_0x3a7db(0xe2)](_0xf1357f){const _0x14d81c=_0x3a7db,_0x2a2d2e=_0xf1357f[_0x14d81c(0xeb)],_0x1e7505=this[_0x14d81c(0x105)][_0x14d81c(0xbf)][_0x14d81c(0xfb)],_0x56a7da=_0x1e7505[_0x14d81c(0xc7)][_0x14d81c(0xe4)][_0x14d81c(0x100)](),_0x1e0c21=_0x1e7505[_0x14d81c(0x114)][_0x14d81c(0x117)](_0x56a7da);if(_0x1e0c21[_0x14d81c(0xc9)](!0x0),_0x2a2d2e){if(_0x2a2d2e instanceof _0x757fbb)return _0x2a2d2e;let _0x5d7e6e=[];for(const _0x4088a6 of _0x2a2d2e)_0x5d7e6e[_0x14d81c(0xd2)](...F(_0x4088a6[_0x14d81c(0xf2)]()));_0x5d7e6e=function(_0x58ee8d){const _0x10d18a=_0x14d81c,_0x41a668=[];let _0x28db6d=_0x58ee8d[0x0];for(let _0x3828d5=0x1;_0x3828d5<_0x58ee8d[_0x10d18a(0xbc)];_0x3828d5++)P(_0x28db6d,_0x58ee8d[_0x3828d5])?_0x28db6d[_0x10d18a(0xf3)]+=_0x58ee8d[_0x3828d5][_0x10d18a(0xf3)]:(_0x41a668[_0x10d18a(0xd2)](_0x28db6d),_0x28db6d=_0x58ee8d[_0x3828d5]);return _0x41a668[_0x10d18a(0xd2)](_0x28db6d),_0x41a668;}(_0x5d7e6e);const _0x3e00b5=_0x1e0c21[_0x14d81c(0xe1)]();return _0x5d7e6e[_0x14d81c(0xcf)](_0x4f1b1f=>_0x4f1b1f[_0x14d81c(0xd1)]<=_0x3e00b5[_0x14d81c(0xd1)]&&_0x4f1b1f[_0x14d81c(0xfd)]>=_0x3e00b5[_0x14d81c(0xfd)]&&_0x4f1b1f[_0x14d81c(0xca)]<=_0x3e00b5[_0x14d81c(0xca)]&&_0x4f1b1f[_0x14d81c(0xd7)]>=_0x3e00b5[_0x14d81c(0xd7)])||_0x5d7e6e[0x0];}return _0xf1357f[_0x14d81c(0xe7)]||_0x1e0c21;}[_0x3a7db(0x115)](_0x4a797c){const _0x434b47=_0x3a7db;this[_0x434b47(0xd8)][_0x434b47(0xdf)](_0x4a797c)&&this[_0x434b47(0xfa)][_0x434b47(0xdd)](_0x4a797c[_0x434b47(0xfb)])&&(this[_0x434b47(0xd8)][_0x434b47(0xe0)](_0x4a797c),this[_0x434b47(0xfa)][_0x434b47(0x109)](_0x4a797c[_0x434b47(0xfb)]));}[_0x3a7db(0xc3)](_0x4ecec5){const _0x208d14=_0x3a7db;this[_0x208d14(0xcd)][_0x208d14(0xff)](_0x4ecec5),this[_0x208d14(0x115)](_0x4ecec5);}}function F(_0x442e6c){const _0x3d866d=_0x3a7db;return Array[_0x3d866d(0x101)](_0x442e6c)[_0x3d866d(0xe9)](DOMRect[_0x3d866d(0x107)]);}function P(_0x394f07,_0xf64ef6){const _0x568f7c=_0x3a7db;return _0x394f07[_0x568f7c(0xd1)]===_0xf64ef6[_0x568f7c(0xd1)]&&_0x394f07[_0x568f7c(0xfd)]===_0xf64ef6[_0x568f7c(0xfd)]&&_0x394f07[_0x568f7c(0xd7)]===_0xf64ef6[_0x568f7c(0xca)];}function _0x57ee(){const _0xd4c026=['fromRect','3sFOKJS','remove','inlineannotations-detach-not-attached','148195AhJwMw','385448dVzOuD','clear','annotations','init','pluginName','refresh','inlineannotations-attach-already-attached','addObserver','domConverter','_removeAnnotationFromBalloon','change:isFocused','viewRangeToDom','26424ldHHfo','editableElement','blur','update','Esc','19130kOqJGK','detach','length','_forceRefresh','inlineannotations-not-allowed-with-context','editing','isActive','12322780QBIDEp','isOfficialPlugin','_closeAnnotation','_selectedAnnotations','hasActive','InlineAnnotations','document','_setSelectedAnnotations','collapse','left','1362ZXRKvF','attach','_manuallyClosed','get','find','set','top','push','_addAnnotationToBalloon','keystrokes','isPremiumPlugin','destroy','right','_addedAnnotations','updatePosition','activeAnnotation','switchTo','register','hasView','requires','has','delete','getBoundingClientRect','_getBalloonTargetForAnnotation','mousedown','selection','context','getOrderedSelectedAnnotations','targetRect','focus','map','afterInit','target','change:visibleView','1444736illdtJ','setActiveAnnotation','every','focusTracker','isFocused','getClientRects','width','showStack','2813720YYSjtE','stopListening','inline','getByView','plugins','_balloon','view','808uFILhE','bottom','visibleView','add','getFirstRange','from','listenTo','isAttached','includes','editor','change:height'];_0x57ee=function(){return _0xd4c026;};return _0x57ee();}
|
|
23
|
+
const _0x1c12c2=_0x10d6;(function(_0x47eff1,_0x53f6e3){const _0x92c719=_0x10d6,_0x3be4e9=_0x47eff1();while(!![]){try{const _0x6fded3=-parseInt(_0x92c719(0x8d))/0x1*(parseInt(_0x92c719(0x9e))/0x2)+parseInt(_0x92c719(0x7f))/0x3*(-parseInt(_0x92c719(0x8a))/0x4)+parseInt(_0x92c719(0xc8))/0x5+-parseInt(_0x92c719(0xac))/0x6+parseInt(_0x92c719(0x6e))/0x7*(-parseInt(_0x92c719(0x79))/0x8)+-parseInt(_0x92c719(0xb7))/0x9*(parseInt(_0x92c719(0x72))/0xa)+-parseInt(_0x92c719(0x80))/0xb*(-parseInt(_0x92c719(0x75))/0xc);if(_0x6fded3===_0x53f6e3)break;else _0x3be4e9['push'](_0x3be4e9['shift']());}catch(_0x51b331){_0x3be4e9['push'](_0x3be4e9['shift']());}}}(_0x5b60,0x5a063));import{Plugin as _0x573478}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x351249}from'./annotationsuis.js';function _0x5b60(){const _0x3ab7fe=['domConverter','hasActive','add','clear','getFirstRange','right','setActiveAnnotation','keystrokes','2916nrwgOl','top','every','viewRangeToDom','_forceRefresh','update','change:height','find','_balloon','delete','addObserver','get','inline','_removeAnnotationFromBalloon','context','length','editor','2840330PGCuUb','getClientRects','has','change:isFocused','stopListening','remove','inlineannotations-detach-not-attached','_addedAnnotations','_getBalloonTargetForAnnotation','InlineAnnotations','requires','14IQanqc','document','afterInit','isActive','30WQeijw','isOfficialPlugin','view','2031132sZRUqA','left','destroy','activeAnnotation','580664EJbYcz','showStack','fromRect','isAttached','init','visibleView','34269MPmqrq','77lNjGSY','includes','inlineannotations-not-allowed-with-context','_selectedAnnotations','targetRect','getByView','pluginName','blur','inlineannotations-attach-already-attached','editing','124TnIZEP','focus','getOrderedSelectedAnnotations','1qXQXVU','_closeAnnotation','attach','push','plugins','width','detach','register','change:visibleView','hasView','listenTo','mousedown','refresh','focusTracker','getBoundingClientRect','isPremiumPlugin','annotations','394868UAqBWQ','set','_addAnnotationToBalloon','bottom','map','selection','_setSelectedAnnotations','target','_manuallyClosed','switchTo','updatePosition','Esc','isFocused','collapse','4118814DjTwBX','from','editableElement'];_0x5b60=function(){return _0x3ab7fe;};return _0x5b60();}import{EditorAnnotations as _0x427254}from'./editorannotations.js';import{ContextualBalloon as _0x5e806e}from'ckeditor5/src/ui.js';import{MouseObserver as _0x2c94ff}from'ckeditor5/src/engine.js';function _0x10d6(_0x43f69f,_0x2241e3){const _0x5b6085=_0x5b60();return _0x10d6=function(_0x10d6b8,_0x5ab016){_0x10d6b8=_0x10d6b8-0x6b;let _0x22aff0=_0x5b6085[_0x10d6b8];return _0x22aff0;},_0x10d6(_0x43f69f,_0x2241e3);}import{CKEditorError as _0x3b05d6,Rect as _0x318167}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export class InlineAnnotations extends _0x573478{[_0x1c12c2(0x7c)];[_0x1c12c2(0x9d)];[_0x1c12c2(0xa6)];[_0x1c12c2(0xbf)];[_0x1c12c2(0xcf)];[_0x1c12c2(0x83)];[_0x1c12c2(0xbb)];static get[_0x1c12c2(0x6d)](){return[_0x427254,_0x5e806e,_0x351249];}static get[_0x1c12c2(0x86)](){const _0x422c65=_0x1c12c2;return _0x422c65(0x6c);}static get[_0x1c12c2(0x73)](){return!0x0;}static get[_0x1c12c2(0x9c)](){return!0x0;}constructor(_0x640eb7){const _0x23d626=_0x1c12c2;super(_0x640eb7),_0x640eb7[_0x23d626(0x89)][_0x23d626(0x74)][_0x23d626(0xc1)](_0x2c94ff),this[_0x23d626(0x7c)]=!0x1,this[_0x23d626(0x9f)](_0x23d626(0x78),null),this[_0x23d626(0x9d)]=null,this[_0x23d626(0xa6)]=new Set(),this[_0x23d626(0xbf)]=_0x640eb7[_0x23d626(0x91)][_0x23d626(0xc2)](_0x5e806e),this[_0x23d626(0xcf)]=new Set(),this[_0x23d626(0x83)]=[],this[_0x23d626(0xbb)]=!0x1;}[_0x1c12c2(0x7d)](){const _0x47a190=_0x1c12c2,_0x2d502f=this[_0x47a190(0xc7)][_0x47a190(0x91)][_0x47a190(0xc2)](_0x351249);_0x2d502f[_0x47a190(0xc5)]===this[_0x47a190(0xc7)]&&(_0x2d502f[_0x47a190(0x94)](_0x47a190(0xc3),this),this[_0x47a190(0xc7)][_0x47a190(0xb6)][_0x47a190(0x9f)](_0x47a190(0xa9),(_0x10edfb,_0xcabf39)=>{const _0x399b0c=_0x47a190,_0x27cca5=this[_0x399b0c(0xbf)];if(this[_0x399b0c(0x7c)]&&_0x27cca5[_0x399b0c(0x7e)]){const _0x128cd6=this[_0x399b0c(0x9d)][_0x399b0c(0x85)](_0x27cca5[_0x399b0c(0x7e)]);_0x128cd6&&this[_0x399b0c(0x8e)](_0x128cd6),_0xcabf39();}}));}[_0x1c12c2(0x70)](){const _0x57eff1=_0x1c12c2,_0x4d30c6=this[_0x57eff1(0xc7)][_0x57eff1(0x91)][_0x57eff1(0xc2)](_0x351249);_0x4d30c6[_0x57eff1(0xc5)]===this[_0x57eff1(0xc7)]&&(_0x4d30c6[_0x57eff1(0xb0)]()||_0x4d30c6[_0x57eff1(0xa7)](_0x57eff1(0xc3)));}[_0x1c12c2(0xb5)](_0x401f71){const _0x102bd1=_0x1c12c2;_0x401f71!==this[_0x102bd1(0x78)]&&(this[_0x102bd1(0x78)]&&(this[_0x102bd1(0x78)][_0x102bd1(0x71)]=!0x1),_0x401f71&&this[_0x102bd1(0xc7)]['ui'][_0x102bd1(0x9a)][_0x102bd1(0xaa)]&&(this[_0x102bd1(0x9d)][_0x102bd1(0xca)](_0x401f71)&&this[_0x102bd1(0xa0)](_0x401f71,!0x0),_0x401f71[_0x102bd1(0x71)]=!0x0),_0x401f71||this[_0x102bd1(0xa4)]([]),this[_0x102bd1(0x78)]=_0x401f71);}[_0x1c12c2(0x8f)](_0x3e1544){const _0x348d31=_0x1c12c2;this[_0x348d31(0x9d)]=_0x3e1544;const _0x132160=this[_0x348d31(0xc7)][_0x348d31(0x91)][_0x348d31(0xc2)](_0x351249),_0x12cac3=this[_0x348d31(0xbf)];if(this[_0x348d31(0x7c)])throw new _0x3b05d6(_0x348d31(0x88),this);if(_0x132160[_0x348d31(0xc5)]!==this[_0x348d31(0xc7)])throw new _0x3b05d6(_0x348d31(0x82),this);const _0x17f923=this[_0x348d31(0xc7)][_0x348d31(0x91)][_0x348d31(0xc2)](_0x427254);this[_0x348d31(0x97)](_0x17f923,_0x348d31(0x99),()=>{const _0x1f18ba=_0x348d31,_0x172d97=_0x17f923[_0x1f18ba(0x8c)]({'annotations':this[_0x1f18ba(0x9d)],'activeAnnotation':this[_0x1f18ba(0x78)]});var _0x50b326,_0x182011;!this[_0x1f18ba(0xbb)]&&(_0x50b326=_0x172d97,_0x182011=this[_0x1f18ba(0x83)],_0x50b326[_0x1f18ba(0xc6)]===_0x182011[_0x1f18ba(0xc6)]&&_0x50b326[_0x1f18ba(0xb9)](_0xf60c37=>_0x182011[_0x1f18ba(0x81)](_0xf60c37)))||(this[_0x1f18ba(0xbb)]=!0x1,this[_0x1f18ba(0xa4)](_0x172d97),this[_0x1f18ba(0xb5)](_0x172d97[0x0]||null));}),this[_0x348d31(0x97)](_0x17f923,_0x348d31(0x87),(_0x5c7c49,{isAnnotationTracked:_0x3ec3ea})=>{const _0x400c37=_0x348d31;this[_0x400c37(0x78)]&&_0x3ec3ea(this[_0x400c37(0x78)])&&(this[_0x400c37(0xa4)]([]),this[_0x400c37(0xb5)](null));}),this[_0x348d31(0x97)](this[_0x348d31(0xc7)]['ui'][_0x348d31(0x9a)],_0x348d31(0xcb),(_0x48b4bb,_0x519a7c,_0x102aac)=>{const _0x28f24e=_0x348d31;_0x102aac||this[_0x28f24e(0xb5)](null);}),this[_0x348d31(0x97)](_0x3e1544,_0x348d31(0xcd),(_0x54db3d,_0x515395)=>{const _0x5a9ff6=_0x348d31;this[_0x5a9ff6(0xc4)](_0x515395),_0x515395===this[_0x5a9ff6(0x78)]&&this[_0x5a9ff6(0xb5)](null);}),this[_0x348d31(0x97)](_0x12cac3,_0x348d31(0x95),(_0x3cc616,_0x2c314a,_0x165d8d,_0x49731f)=>{const _0xb2840d=_0x348d31;_0x49731f&&this[_0xb2840d(0xcc)](_0x49731f);const _0xf45622=_0x3e1544[_0xb2840d(0x85)](_0x165d8d);_0x165d8d&&_0xf45622&&(this[_0xb2840d(0x97)](_0x165d8d,_0xb2840d(0xbd),()=>{const _0x42ffec=_0xb2840d;_0x12cac3[_0x42ffec(0xa8)]();}),this[_0xb2840d(0x97)](_0x165d8d,_0xb2840d(0xa9),()=>{const _0x2a2c89=_0xb2840d;this[_0x2a2c89(0x8e)](_0xf45622),this[_0x2a2c89(0xc7)][_0x2a2c89(0x89)][_0x2a2c89(0x74)][_0x2a2c89(0x8b)]();}),this[_0xb2840d(0x78)]!==_0xf45622&&this[_0xb2840d(0xb5)](_0xf45622));}),this[_0x348d31(0x97)](this[_0x348d31(0xc7)]['ui'],_0x348d31(0xbc),()=>{const _0x3f3a3d=_0x348d31;_0x12cac3[_0x3f3a3d(0x7e)]&&(_0x3e1544[_0x3f3a3d(0x85)](_0x12cac3[_0x3f3a3d(0x7e)])&&_0x12cac3[_0x3f3a3d(0xa8)]());}),this[_0x348d31(0x97)](this[_0x348d31(0xc7)][_0x348d31(0x89)][_0x348d31(0x74)][_0x348d31(0x6f)],_0x348d31(0x98),()=>{const _0x372502=_0x348d31;this[_0x372502(0xbb)]=!0x0,this[_0x372502(0xa6)][_0x372502(0xb2)]();}),this[_0x348d31(0xc7)][_0x348d31(0x89)][_0x348d31(0x74)][_0x348d31(0x6f)][_0x348d31(0xa3)][_0x348d31(0xae)]&&this[_0x348d31(0xc7)][_0x348d31(0x89)][_0x348d31(0x74)][_0x348d31(0x8b)](),this[_0x348d31(0x7c)]=!0x0;}[_0x1c12c2(0x93)](){const _0x3e7983=_0x1c12c2;if(!this[_0x3e7983(0x7c)])throw new _0x3b05d6(_0x3e7983(0xce),this);this[_0x3e7983(0xb5)](null);for(const _0x271e75 of this[_0x3e7983(0xcf)])this[_0x3e7983(0xc4)](_0x271e75);this[_0x3e7983(0xcc)](),this[_0x3e7983(0x7c)]=!0x1,this[_0x3e7983(0x9d)]=null;}[_0x1c12c2(0x77)](){const _0x55fb77=_0x1c12c2;this[_0x55fb77(0x7c)]&&this[_0x55fb77(0x93)]();}[_0x1c12c2(0xa4)](_0x353e89){const _0x3a6bb3=_0x1c12c2;for(const _0x7d810b of this[_0x3a6bb3(0x83)])_0x353e89[_0x3a6bb3(0x81)](_0x7d810b)||this[_0x3a6bb3(0xa6)][_0x3a6bb3(0xc0)](_0x7d810b);for(const _0x660738 of this[_0x3a6bb3(0x9d)])_0x353e89[_0x3a6bb3(0x81)](_0x660738)||this[_0x3a6bb3(0xc4)](_0x660738);if(this[_0x3a6bb3(0xc7)]['ui'][_0x3a6bb3(0x9a)][_0x3a6bb3(0xaa)]){for(const _0x4800d9 of _0x353e89)this[_0x3a6bb3(0xa0)](_0x4800d9);}this[_0x3a6bb3(0x83)]=_0x353e89;}[_0x1c12c2(0xa0)](_0x450472,_0x58bf2e=!0x1){const _0x14f2f6=_0x1c12c2;this[_0x14f2f6(0xa6)][_0x14f2f6(0xca)](_0x450472)||(this[_0x14f2f6(0xcf)][_0x14f2f6(0xca)](_0x450472)||this[_0x14f2f6(0xbf)][_0x14f2f6(0x96)](_0x450472[_0x14f2f6(0x74)])||(this[_0x14f2f6(0xcf)][_0x14f2f6(0xb1)](_0x450472),this[_0x14f2f6(0xbf)][_0x14f2f6(0xb1)]({'stackId':_0x450472[_0x14f2f6(0x74)]['id'],'view':_0x450472[_0x14f2f6(0x74)],'position':{'target':()=>this[_0x14f2f6(0x6b)](_0x450472)}})),_0x58bf2e&&this[_0x14f2f6(0xbf)][_0x14f2f6(0x7a)](_0x450472[_0x14f2f6(0x74)]['id']));}[_0x1c12c2(0x6b)](_0x11f602){const _0x263207=_0x1c12c2,_0x2f8d6b=_0x11f602[_0x263207(0xa5)],_0x2b50b7=this[_0x263207(0xc7)][_0x263207(0x89)][_0x263207(0x74)],_0x1b7b75=_0x2b50b7[_0x263207(0x6f)][_0x263207(0xa3)][_0x263207(0xb3)](),_0x59d5b5=_0x2b50b7[_0x263207(0xaf)][_0x263207(0xba)](_0x1b7b75);if(_0x59d5b5[_0x263207(0xab)](!0x0),_0x2f8d6b){if(_0x2f8d6b instanceof _0x318167)return _0x2f8d6b;let _0x12629a=[];for(const _0x24a715 of _0x2f8d6b)_0x12629a[_0x263207(0x90)](...F(_0x24a715[_0x263207(0xc9)]()));_0x12629a=function(_0x5ec977){const _0x5860c5=_0x263207,_0x41dbb5=[];let _0x4f1a3d=_0x5ec977[0x0];for(let _0x1848ca=0x1;_0x1848ca<_0x5ec977[_0x5860c5(0xc6)];_0x1848ca++)P(_0x4f1a3d,_0x5ec977[_0x1848ca])?_0x4f1a3d[_0x5860c5(0x92)]+=_0x5ec977[_0x1848ca][_0x5860c5(0x92)]:(_0x41dbb5[_0x5860c5(0x90)](_0x4f1a3d),_0x4f1a3d=_0x5ec977[_0x1848ca]);return _0x41dbb5[_0x5860c5(0x90)](_0x4f1a3d),_0x41dbb5;}(_0x12629a);const _0x47d20e=_0x59d5b5[_0x263207(0x9b)]();return _0x12629a[_0x263207(0xbe)](_0x458b61=>_0x458b61[_0x263207(0xb8)]<=_0x47d20e[_0x263207(0xb8)]&&_0x458b61[_0x263207(0xa1)]>=_0x47d20e[_0x263207(0xa1)]&&_0x458b61[_0x263207(0x76)]<=_0x47d20e[_0x263207(0x76)]&&_0x458b61[_0x263207(0xb4)]>=_0x47d20e[_0x263207(0xb4)])||_0x12629a[0x0];}return _0x11f602[_0x263207(0x84)]||_0x59d5b5;}[_0x1c12c2(0xc4)](_0xb81496){const _0x37ffe2=_0x1c12c2;this[_0x37ffe2(0xcf)][_0x37ffe2(0xca)](_0xb81496)&&this[_0x37ffe2(0xbf)][_0x37ffe2(0x96)](_0xb81496[_0x37ffe2(0x74)])&&(this[_0x37ffe2(0xcf)][_0x37ffe2(0xc0)](_0xb81496),this[_0x37ffe2(0xbf)][_0x37ffe2(0xcd)](_0xb81496[_0x37ffe2(0x74)]));}[_0x1c12c2(0x8e)](_0x35cfad){const _0x410dae=_0x1c12c2;this[_0x410dae(0xa6)][_0x410dae(0xb1)](_0x35cfad),this[_0x410dae(0xc4)](_0x35cfad);}}function F(_0x453304){const _0x10fb8d=_0x1c12c2;return Array[_0x10fb8d(0xad)](_0x453304)[_0x10fb8d(0xa2)](DOMRect[_0x10fb8d(0x7b)]);}function P(_0x1188bf,_0x1e47cd){const _0x4ef14a=_0x1c12c2;return _0x1188bf[_0x4ef14a(0xb8)]===_0x1e47cd[_0x4ef14a(0xb8)]&&_0x1188bf[_0x4ef14a(0xa1)]===_0x1e47cd[_0x4ef14a(0xa1)]&&_0x1188bf[_0x4ef14a(0xb4)]===_0x1e47cd[_0x4ef14a(0x76)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2a3549=_0x1919;(function(_0x400e81,_0x1a410e){const _0x5dd1ff=_0x1919,_0x56e17d=_0x400e81();while(!![]){try{const _0x426629=-parseInt(_0x5dd1ff(0x1d9))/0x1*(-parseInt(_0x5dd1ff(0x17d))/0x2)+parseInt(_0x5dd1ff(0x18e))/0x3+parseInt(_0x5dd1ff(0x1ca))/0x4+parseInt(_0x5dd1ff(0x1bc))/0x5+-parseInt(_0x5dd1ff(0x1c4))/0x6+parseInt(_0x5dd1ff(0x189))/0x7+parseInt(_0x5dd1ff(0x1a3))/0x8*(-parseInt(_0x5dd1ff(0x179))/0x9);if(_0x426629===_0x1a410e)break;else _0x56e17d['push'](_0x56e17d['shift']());}catch(_0x2cee0c){_0x56e17d['push'](_0x56e17d['shift']());}}}(_0x5c50,0x4bf7c));import{ContextPlugin as _0x52adab,Context as _0x2f0b68}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x194563}from'./annotationsuis.js';import{Sidebar as _0x1df402}from'./sidebar.js';import{AnnotationCounterButtonView as _0x5598b2}from'./view/annotationcounterbuttonview.js';function _0x5c50(){const _0x4fdce0=['includes','isPremiumPlugin','off','narrowSidebar','refreshVisibility','preventDefault','stop','_showBalloon','rearrange','75trCSdh','_detachListeners','balloonPanelView','Annotations','type','clear','length','blur','Esc','_refreshPositioningDebounced','unpin','requires','_annotationToNarrowView','stopListening','ready','resize','isVisible','_attachListeners','southArrowNorth','defaultPositions','_updateBalloonPosition','values','isDirty','contains','init','find','detach','northArrowSouthEast','26955TycNeY','content','detachFromDom','change:height','10530XWJdQi','_annotations','ck-sidebar--narrow','remove','_selectedAnnotations','context','from','_hideBalloon','_integrateWithEditorAnnotations','_editorAnnotations','_domEmitter','plugins','3043817fdxDlz','pin','addEventListener','editors','delete','795240dAjvrF','northArrowSouth','first','element','getOrderedSelectedAnnotations','annotations','uiUpdate','isOfficialPlugin','focus','has','_manuallyClosedAnnotationViews','stopPropagation','NarrowSidebar','high','northArrowSouthWest','keyCode','_attachToContainer','_setSelectedAnnotations','removeEventListener','southArrowNorthEast','refreshPositioning','2120KlPmYc','cancel','refresh','activeAnnotation','isAttached','focusableElements','setActiveAnnotation','attach','low','_destroyEditorAnnotationsIntegration','get','set:container','destroy','southArrowNorthWest','_detachFromContainer','change:container','listenTo','annotationType','narrowsidebar-attach-already-attached','attachToDom','target','getByView','keydown','esc','getSidebarItemView','2053725UxFYyT','preventClosingBalloon','number','bodyCollection','addAnnotation','hasDomSelection','pluginName','register','2416644qkpuHc','locale','EditorAnnotations','execute','_refreshPositioning','mousedown','8328APCtJo','bind','set','add','narrowsidebar-detach-not-attached','view'];_0x5c50=function(){return _0x4fdce0;};return _0x5c50();}import{BalloonPanelView as _0x174c1b,BodyCollection as _0x4bbdd8}from'ckeditor5/src/ui.js';import{CKEditorError as _0x48d758,DomEmitterMixin as _0x53be6c,keyCodes as _0x4d96bc,Collection as _0x338cd5}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';function _0x1919(_0x2b3429,_0x458230){const _0x5c505d=_0x5c50();return _0x1919=function(_0x1919d8,_0x4a198e){_0x1919d8=_0x1919d8-0x15f;let _0x4c545c=_0x5c505d[_0x1919d8];return _0x4c545c;},_0x1919(_0x2b3429,_0x458230);}import{debounce as _0x5bfd80}from'es-toolkit/compat';export class NarrowSidebar extends _0x52adab{[_0x2a3549(0x1a7)];[_0x2a3549(0x193)];[_0x2a3549(0x198)];[_0x2a3549(0x187)];[_0x2a3549(0x169)];[_0x2a3549(0x181)];[_0x2a3549(0x186)];[_0x2a3549(0x166)];static get[_0x2a3549(0x168)](){return[_0x1df402,_0x194563];}static get[_0x2a3549(0x1c2)](){const _0x2f9004=_0x2a3549;return _0x2f9004(0x19a);}static get[_0x2a3549(0x195)](){return!0x0;}static get[_0x2a3549(0x1d1)](){return!0x0;}constructor(_0x3c0b82){const _0x371f1d=_0x2a3549;super(_0x3c0b82),this[_0x371f1d(0x1a7)]=!0x1,this[_0x371f1d(0x198)]=new Set(),this[_0x371f1d(0x187)]=new(_0x53be6c())(),this[_0x371f1d(0x169)]=new Map(),this[_0x371f1d(0x1cc)](_0x371f1d(0x1a6),null),this[_0x371f1d(0x193)]=null,this[_0x371f1d(0x181)]=[],this[_0x371f1d(0x186)]=new _0x338cd5(),this[_0x371f1d(0x166)]=_0x5bfd80(()=>{const _0x3d8b43=_0x371f1d;this[_0x3d8b43(0x1c8)]();},0xfa,{'leading':!0x1});}[_0x2a3549(0x175)](){const _0x594b01=_0x2a3549;this[_0x594b01(0x182)][_0x594b01(0x188)][_0x594b01(0x1ad)](_0x194563)[_0x594b01(0x1c3)](_0x594b01(0x1d3),this),this[_0x594b01(0x1bf)]=new _0x4bbdd8(this[_0x594b01(0x182)][_0x594b01(0x1c5)]),this[_0x594b01(0x15f)]=new _0x174c1b(this[_0x594b01(0x182)][_0x594b01(0x1c5)]),this[_0x594b01(0x1bf)][_0x594b01(0x1b6)](),this[_0x594b01(0x1bf)][_0x594b01(0x1cd)](this[_0x594b01(0x15f)]);}[_0x2a3549(0x1aa)](_0x4fd2fb){const _0xf2fa86=_0x2a3549;this[_0xf2fa86(0x193)]=_0x4fd2fb;const _0x55f96e=this[_0xf2fa86(0x182)][_0xf2fa86(0x188)][_0xf2fa86(0x1ad)](_0x1df402),_0xe09f2=this[_0xf2fa86(0x15f)];if(_0x55f96e[_0xf2fa86(0x17e)]=_0x4fd2fb,this[_0xf2fa86(0x1a7)])throw new _0x48d758(_0xf2fa86(0x1b5),this);this[_0xf2fa86(0x1a7)]=!0x0,this[_0xf2fa86(0x1b3)](_0x55f96e,_0xf2fa86(0x1ae),()=>{const _0x24114f=_0xf2fa86;this[_0x24114f(0x177)](),this[_0x24114f(0x1b3)](_0x55f96e,_0x24114f(0x1b2),_0x125337=>{const _0x1cfee8=_0x24114f;_0x125337[_0x1cfee8(0x1d2)](),this[_0x1cfee8(0x1aa)](_0x4fd2fb);});}),_0x55f96e[_0xf2fa86(0x19e)]({'viewClass':_0xf2fa86(0x17f),'spaceBetweenItems':0x5});const _0x567868=_0x5d6d59=>{const _0x573d3e=_0xf2fa86,_0x3a7774=new _0x5598b2(this[_0x573d3e(0x182)][_0x573d3e(0x1c5)]);_0x55f96e[_0x573d3e(0x1c0)](_0x5d6d59,_0x3a7774),this[_0x573d3e(0x169)][_0x573d3e(0x1cc)](_0x5d6d59,_0x3a7774),_0x3a7774[_0x573d3e(0x1cb)](_0x573d3e(0x173),_0x573d3e(0x1b4),_0x573d3e(0x1be))['to'](_0x5d6d59[_0x573d3e(0x1cf)],_0x573d3e(0x173),_0x573d3e(0x161),_0x573d3e(0x163)),_0x3a7774['on'](_0x573d3e(0x1c7),()=>{const _0xecb329=_0x573d3e;this[_0xecb329(0x198)][_0xecb329(0x162)](),_0xe09f2[_0xecb329(0x17a)][_0xecb329(0x190)]!==_0x5d6d59[_0xecb329(0x1cf)]?(this[_0xecb329(0x1d7)](_0x5d6d59),_0x5d6d59[_0xecb329(0x1cf)][_0xecb329(0x191)][_0xecb329(0x196)](),this[_0xecb329(0x1a9)](_0x5d6d59)):this[_0xecb329(0x1a9)](null);});};for(const _0xd027eb of _0x4fd2fb)_0x567868(_0xd027eb);this[_0xf2fa86(0x1b3)](_0x4fd2fb,_0xf2fa86(0x1cd),(_0x98f16f,_0x5ab129)=>{_0x567868(_0x5ab129);}),this[_0xf2fa86(0x1b3)](_0x4fd2fb,_0xf2fa86(0x180),(_0x4700b8,_0x209bac,_0x4b31ae)=>{const _0x485f62=_0xf2fa86;this[_0x485f62(0x169)][_0x485f62(0x1ad)](_0x209bac)[_0x485f62(0x1af)](),this[_0x485f62(0x169)][_0x485f62(0x18d)](_0x209bac),_0x55f96e[_0x485f62(0x1d8)]({'removedAnnotation':_0x209bac,'previousAnnotation':_0x4fd2fb[_0x485f62(0x1ad)](_0x4b31ae-0x1),'nextAnnotation':_0x4fd2fb[_0x485f62(0x1ad)](_0x4b31ae+0x1)}),_0x209bac===this[_0x485f62(0x1a6)]&&this[_0x485f62(0x1a9)](null);},{'priority':_0xf2fa86(0x1ab)}),this[_0xf2fa86(0x1b3)](_0x4fd2fb,_0xf2fa86(0x196),(_0x57ce55,_0x221e32)=>{const _0x10d895=_0xf2fa86;this[_0x10d895(0x1a9)](_0x221e32);}),this[_0xf2fa86(0x1b3)](_0x4fd2fb,_0xf2fa86(0x164),()=>{const _0x4e9feb=_0xf2fa86;this[_0x4e9feb(0x1a9)](null);}),this[_0xf2fa86(0x187)][_0xf2fa86(0x1b3)](document,_0xf2fa86(0x1b9),(_0x3b8663,_0x28123)=>{const _0x35ff04=_0xf2fa86;_0x28123[_0x35ff04(0x19d)]===_0x4d96bc[_0x35ff04(0x1ba)]&&_0xe09f2[_0x35ff04(0x16d)]&&(this[_0x35ff04(0x198)][_0x35ff04(0x1cd)](_0xe09f2[_0x35ff04(0x17a)][_0x35ff04(0x190)]),this[_0x35ff04(0x184)](),_0x28123[_0x35ff04(0x199)](),_0x28123[_0x35ff04(0x1d5)]());}),this[_0xf2fa86(0x187)][_0xf2fa86(0x1b3)](document,_0xf2fa86(0x1c9),(_0x6e2a2d,_0x4348d7)=>{const _0x2fd52f=_0xf2fa86,_0x189c12=_0x4348d7[_0x2fd52f(0x1b7)];_0xe09f2[_0x2fd52f(0x16d)]&&_0xe09f2[_0x2fd52f(0x191)][_0x2fd52f(0x174)](_0x189c12)||_0x55f96e[_0x2fd52f(0x1cf)][_0x2fd52f(0x191)][_0x2fd52f(0x174)](_0x189c12)||_0x6e2a2d[_0x2fd52f(0x1bd)]||this[_0x2fd52f(0x1a6)]&&this[_0x2fd52f(0x1a6)][_0x2fd52f(0x1a8)][_0x2fd52f(0x176)](_0x2f6ee4=>_0x2f6ee4[_0x2fd52f(0x174)](_0x189c12))||(this[_0x2fd52f(0x198)][_0x2fd52f(0x162)](),this[_0x2fd52f(0x184)](),this[_0x2fd52f(0x1a9)](null));});const _0x2aff99=this[_0xf2fa86(0x182)]instanceof _0x2f0b68?this[_0xf2fa86(0x182)][_0xf2fa86(0x18c)]:new _0x338cd5([this[_0xf2fa86(0x182)]]);for(const _0x1b11a2 of _0x2aff99)this[_0xf2fa86(0x185)](_0x1b11a2);this[_0xf2fa86(0x1b3)](_0x2aff99,_0xf2fa86(0x1cd),(_0x58f9ec,_0x4a3693)=>{const _0x2c47b2=_0xf2fa86;this[_0x2c47b2(0x1b3)](_0x4a3693,_0x2c47b2(0x16b),()=>{const _0xbefc99=_0x2c47b2;this[_0xbefc99(0x185)](_0x4a3693);});}),this[_0xf2fa86(0x1b3)](_0x2aff99,_0xf2fa86(0x180),(_0x484814,_0x48941f)=>{const _0x58a0cc=_0xf2fa86;_0x48941f[_0x58a0cc(0x188)][_0x58a0cc(0x197)](_0x58a0cc(0x1c6))&&this[_0x58a0cc(0x1ac)](_0x48941f[_0x58a0cc(0x188)][_0x58a0cc(0x1ad)](_0x58a0cc(0x1c6)));}),window[_0xf2fa86(0x18b)](_0xf2fa86(0x16c),this[_0xf2fa86(0x166)]),this[_0xf2fa86(0x1c8)]();}[_0x2a3549(0x1a9)](_0x38880c){const _0x30d66b=_0x2a3549;if(_0x38880c===this[_0x30d66b(0x1a6)])return;const _0x5e688c=this[_0x30d66b(0x182)][_0x30d66b(0x188)][_0x30d66b(0x1ad)](_0x1df402);if(_0x5e688c[_0x30d66b(0x1a5)]({'blurredAnnotation':this[_0x30d66b(0x1a6)],'activatedAnnotation':_0x38880c,'disableAnimationOnActivatedAnnotation':!0x0}),_0x38880c)_0x5e688c[_0x30d66b(0x1bb)](_0x38880c)?this[_0x30d66b(0x1d7)](_0x38880c):this[_0x30d66b(0x184)]();else this[_0x30d66b(0x184)]();this[_0x30d66b(0x1a6)]=_0x38880c;}[_0x2a3549(0x177)](){const _0x2c4fe3=_0x2a3549;if(!this[_0x2c4fe3(0x1a7)])throw new _0x48d758(_0x2c4fe3(0x1ce),this);this[_0x2c4fe3(0x1a9)](null);const _0x519acc=this[_0x2c4fe3(0x182)][_0x2c4fe3(0x188)][_0x2c4fe3(0x1ad)](_0x1df402);this[_0x2c4fe3(0x184)](),Array[_0x2c4fe3(0x183)](this[_0x2c4fe3(0x169)][_0x2c4fe3(0x172)](),_0x17c96f=>_0x17c96f[_0x2c4fe3(0x1af)]()),this[_0x2c4fe3(0x169)][_0x2c4fe3(0x162)](),_0x519acc[_0x2c4fe3(0x1b1)](this[_0x2c4fe3(0x193)]),this[_0x2c4fe3(0x16a)](),this[_0x2c4fe3(0x187)][_0x2c4fe3(0x16a)](),this[_0x2c4fe3(0x182)]instanceof _0x2f0b68&&this[_0x2c4fe3(0x16a)](this[_0x2c4fe3(0x182)][_0x2c4fe3(0x18c)]);for(const _0x3e1a38 of Array[_0x2c4fe3(0x183)](this[_0x2c4fe3(0x186)]))this[_0x2c4fe3(0x1ac)](_0x3e1a38);window[_0x2c4fe3(0x1a0)](_0x2c4fe3(0x16c),this[_0x2c4fe3(0x166)]),this[_0x2c4fe3(0x166)][_0x2c4fe3(0x1a4)](),this[_0x2c4fe3(0x181)]=[],this[_0x2c4fe3(0x1a7)]=!0x1,this[_0x2c4fe3(0x193)]=null;}[_0x2a3549(0x1af)](){const _0x2c93b6=_0x2a3549;this[_0x2c93b6(0x1a7)]&&this[_0x2c93b6(0x177)](),this[_0x2c93b6(0x1bf)][_0x2c93b6(0x17b)]();}[_0x2a3549(0x185)](_0x3a38b1){const _0x53cec1=_0x2a3549;if(!_0x3a38b1[_0x53cec1(0x188)][_0x53cec1(0x197)](_0x53cec1(0x1c6)))return;const _0x5ec085=_0x3a38b1[_0x53cec1(0x188)][_0x53cec1(0x1ad)](_0x53cec1(0x1c6)),_0x26aceb=this[_0x53cec1(0x182)][_0x53cec1(0x188)][_0x53cec1(0x1ad)](_0x1df402),_0x4fe1ad=this[_0x53cec1(0x193)],_0x173ed4=this[_0x53cec1(0x15f)],_0x27f83c=()=>{const _0x2ba7ff=_0x53cec1,_0x4bcaaf=_0x5ec085[_0x2ba7ff(0x192)]({'annotations':this[_0x2ba7ff(0x193)],'activeAnnotation':this[_0x2ba7ff(0x1a6)]});this[_0x2ba7ff(0x19f)](_0x4bcaaf),this[_0x2ba7ff(0x1a9)](_0x4bcaaf[0x0]||null);};this[_0x53cec1(0x1b3)](_0x5ec085,_0x53cec1(0x1a5),_0x27f83c),this[_0x53cec1(0x1b3)](_0x5ec085,_0x53cec1(0x164),(_0x4990ad,{isAnnotationTracked:_0x1b4c4f})=>{const _0x11f9bb=_0x53cec1;this[_0x11f9bb(0x1a6)]&&_0x1b4c4f(this[_0x11f9bb(0x1a6)])&&(this[_0x11f9bb(0x19f)]([]),this[_0x11f9bb(0x1a9)](null));}),this[_0x53cec1(0x1b3)](_0x5ec085,_0x53cec1(0x194),()=>{const _0xccd60c=_0x53cec1;this[_0xccd60c(0x166)]();}),this[_0x53cec1(0x1b3)](_0x4fe1ad,_0x53cec1(0x164),_0x2e52e1=>{const _0x1075c5=_0x53cec1;_0x5ec085[_0x1075c5(0x1c1)]()&&_0x2e52e1[_0x1075c5(0x1d6)]();},{'priority':_0x53cec1(0x19b)}),this[_0x53cec1(0x1b3)](this[_0x53cec1(0x187)],_0x53cec1(0x1c9),(_0x351217,_0x3db4c9)=>{const _0x443568=_0x53cec1,_0x4c03f6=_0x3db4c9[_0x443568(0x1b7)];_0x173ed4[_0x443568(0x16d)]&&_0x173ed4[_0x443568(0x191)][_0x443568(0x174)](_0x4c03f6)||_0x26aceb[_0x443568(0x1cf)][_0x443568(0x191)][_0x443568(0x174)](_0x4c03f6)||this[_0x443568(0x1a6)]&&_0x5ec085[_0x443568(0x1c1)]()&&(_0x27f83c(),_0x351217[_0x443568(0x1bd)]=!0x0);},{'priority':_0x53cec1(0x19b)}),this[_0x53cec1(0x186)][_0x53cec1(0x1cd)](_0x5ec085);}[_0x2a3549(0x1ac)](_0x4c44ca){const _0x5c7306=_0x2a3549;_0x4c44ca&&(this[_0x5c7306(0x16a)](_0x4c44ca),this[_0x5c7306(0x186)][_0x5c7306(0x180)](_0x4c44ca));}[_0x2a3549(0x19f)](_0x403f32){const _0x583bc5=_0x2a3549;for(const _0x166558 of this[_0x583bc5(0x181)])_0x403f32[_0x583bc5(0x1d0)](_0x166558)||this[_0x583bc5(0x198)][_0x583bc5(0x18d)](_0x166558[_0x583bc5(0x1cf)]);this[_0x583bc5(0x181)]=_0x403f32;}[_0x2a3549(0x1c8)](){const _0x138e3b=_0x2a3549,_0x50e28f=this[_0x138e3b(0x15f)];this[_0x138e3b(0x182)][_0x138e3b(0x188)][_0x138e3b(0x1ad)](_0x138e3b(0x160))[_0x138e3b(0x1d4)](),this[_0x138e3b(0x193)][_0x138e3b(0x1a2)](),_0x50e28f[_0x138e3b(0x16d)]&&this[_0x138e3b(0x171)]();}[_0x2a3549(0x1d7)](_0x472e48){const _0x30bd6a=_0x2a3549;if(this[_0x30bd6a(0x198)][_0x30bd6a(0x197)](_0x472e48[_0x30bd6a(0x1cf)]))return;const _0x542c30=this[_0x30bd6a(0x15f)][_0x30bd6a(0x17a)][_0x30bd6a(0x190)];_0x542c30!==_0x472e48[_0x30bd6a(0x1cf)]?(_0x542c30&&this[_0x30bd6a(0x1da)](_0x542c30),this[_0x30bd6a(0x16e)](_0x472e48[_0x30bd6a(0x1cf)]),this[_0x30bd6a(0x15f)][_0x30bd6a(0x17a)][_0x30bd6a(0x162)](),this[_0x30bd6a(0x15f)][_0x30bd6a(0x17a)][_0x30bd6a(0x1cd)](_0x472e48[_0x30bd6a(0x1cf)]),this[_0x30bd6a(0x171)]()):this[_0x30bd6a(0x171)]();}[_0x2a3549(0x171)](){const _0x153200=_0x2a3549,_0x228b09=this[_0x153200(0x15f)][_0x153200(0x17a)][_0x153200(0x190)],_0x37c607=_0x228b09&&this[_0x153200(0x193)][_0x153200(0x1b8)](_0x228b09);if(!_0x37c607||!this[_0x153200(0x169)][_0x153200(0x197)](_0x37c607))return;const _0x135a0=this[_0x153200(0x169)][_0x153200(0x1ad)](_0x37c607)[_0x153200(0x191)],_0x48a9f6=(function(){const _0x179a84=_0x153200,_0x256b41=_0x174c1b[_0x179a84(0x170)];return[_0x256b41[_0x179a84(0x1a1)],_0x256b41[_0x179a84(0x178)],_0x256b41[_0x179a84(0x16f)],_0x256b41[_0x179a84(0x18f)],_0x256b41[_0x179a84(0x1b0)],_0x256b41[_0x179a84(0x19c)]];}());this[_0x153200(0x15f)][_0x153200(0x18a)]({'target':_0x135a0,'positions':_0x48a9f6});}[_0x2a3549(0x184)](){const _0x58d9ce=_0x2a3549,_0xa41cbf=this[_0x58d9ce(0x15f)],_0x5592ff=_0xa41cbf[_0x58d9ce(0x17a)][_0x58d9ce(0x190)];_0x5592ff&&(this[_0x58d9ce(0x1da)](_0x5592ff),_0xa41cbf[_0x58d9ce(0x167)](),_0xa41cbf[_0x58d9ce(0x17a)][_0x58d9ce(0x162)]());}[_0x2a3549(0x16e)](_0x423c66){const _0x40adc0=_0x2a3549;this[_0x40adc0(0x1b3)](_0x423c66,_0x40adc0(0x17c),()=>this[_0x40adc0(0x171)]()),this[_0x40adc0(0x1b3)](_0x423c66,_0x40adc0(0x165),(_0x4f603c,_0xdd4d4)=>{const _0x3e93fa=_0x40adc0;this[_0x3e93fa(0x198)][_0x3e93fa(0x1cd)](_0x423c66),this[_0x3e93fa(0x184)](),_0xdd4d4();});}[_0x2a3549(0x1da)](_0x1b20d6){const _0x1a6986=_0x2a3549;this[_0x1a6986(0x16a)](_0x1b20d6);}}
|
|
23
|
+
const _0x6bd75=_0x153c;function _0x39f7(){const _0x43170c=['isPremiumPlugin','isAttached','annotationType','northArrowSouth','EditorAnnotations','1309oCsccZ','_refreshPositioning','keyCode','1840wTlNtm','_attachToContainer','change:height','stopListening','northArrowSouthWest','_hideBalloon','stopPropagation','removeEventListener','bodyCollection','1162514IxEpDT','Annotations','focusableElements','context','105227ESXaqj','focus','ready','view','keydown','_attachListeners','NarrowSidebar','set','type','_domEmitter','southArrowNorthWest','get','find','set:container','addEventListener','element','editors','remove','unpin','_detachFromContainer','narrowSidebar','uiUpdate','4JpdLAP','_setSelectedAnnotations','refreshPositioning','setActiveAnnotation','southArrowNorth','detachFromDom','clear','922521OpBafk','_manuallyClosedAnnotationViews','getByView','contains','southArrowNorthEast','preventClosingBalloon','values','_selectedAnnotations','attach','off','includes','add','2027065hzHBHo','rearrange','narrowsidebar-detach-not-attached','first','destroy','refresh','number','resize','refreshVisibility','4724370wsAazw','stop','_showBalloon','preventDefault','locale','target','register','pin','narrowsidebar-attach-already-attached','length','getSidebarItemView','plugins','ck-sidebar--narrow','activeAnnotation','_updateBalloonPosition','hasDomSelection','northArrowSouthEast','esc','_destroyEditorAnnotationsIntegration','detach','low','isVisible','annotations','1275744dDeTJo','addAnnotation','pluginName','getOrderedSelectedAnnotations','isDirty','from','defaultPositions','cancel','_integrateWithEditorAnnotations','_editorAnnotations','mousedown','delete','_annotationToNarrowView','_refreshPositioningDebounced','listenTo','change:container','10gdYBhT','high','execute','blur','balloonPanelView','_detachListeners','init','has','isOfficialPlugin','attachToDom','bind','content','_annotations','requires','Esc'];_0x39f7=function(){return _0x43170c;};return _0x39f7();}(function(_0x59251b,_0x161bc1){const _0x4dabf7=_0x153c,_0x57339e=_0x59251b();while(!![]){try{const _0xafd94d=-parseInt(_0x4dabf7(0xbc))/0x1+parseInt(_0x4dabf7(0xb8))/0x2+-parseInt(_0x4dabf7(0xd9))/0x3*(-parseInt(_0x4dabf7(0xd2))/0x4)+parseInt(_0x4dabf7(0xe5))/0x5+-parseInt(_0x4dabf7(0x105))/0x6+parseInt(_0x4dabf7(0xac))/0x7*(-parseInt(_0x4dabf7(0xaf))/0x8)+parseInt(_0x4dabf7(0xee))/0x9*(-parseInt(_0x4dabf7(0x115))/0xa);if(_0xafd94d===_0x161bc1)break;else _0x57339e['push'](_0x57339e['shift']());}catch(_0x2c6e48){_0x57339e['push'](_0x57339e['shift']());}}}(_0x39f7,0x63b42));import{ContextPlugin as _0x39af7a,Context as _0x3bfc7c}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x39dfba}from'./annotationsuis.js';import{Sidebar as _0x3e4fec}from'./sidebar.js';import{AnnotationCounterButtonView as _0x2829c8}from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x5f0a40,BodyCollection as _0x1a7275}from'ckeditor5/src/ui.js';function _0x153c(_0x26d437,_0xf58cb){const _0x39f76a=_0x39f7();return _0x153c=function(_0x153c98,_0x21d215){_0x153c98=_0x153c98-0x99;let _0x2bcc6f=_0x39f76a[_0x153c98];return _0x2bcc6f;},_0x153c(_0x26d437,_0xf58cb);}import{CKEditorError as _0x2516b8,DomEmitterMixin as _0x340f5d,keyCodes as _0x1e8788,Collection as _0x4fbb96}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x540132}from'es-toolkit/compat';export class NarrowSidebar extends _0x39af7a{[_0x6bd75(0xa8)];[_0x6bd75(0x104)];[_0x6bd75(0xda)];[_0x6bd75(0xc5)];[_0x6bd75(0x111)];[_0x6bd75(0xe0)];[_0x6bd75(0x10e)];[_0x6bd75(0x112)];static get[_0x6bd75(0xa5)](){return[_0x3e4fec,_0x39dfba];}static get[_0x6bd75(0x107)](){const _0x400f50=_0x6bd75;return _0x400f50(0xc2);}static get[_0x6bd75(0xa0)](){return!0x0;}static get[_0x6bd75(0xa7)](){return!0x0;}constructor(_0x12b7ad){const _0x425e1d=_0x6bd75;super(_0x12b7ad),this[_0x425e1d(0xa8)]=!0x1,this[_0x425e1d(0xda)]=new Set(),this[_0x425e1d(0xc5)]=new(_0x340f5d())(),this[_0x425e1d(0x111)]=new Map(),this[_0x425e1d(0xc3)](_0x425e1d(0xfb),null),this[_0x425e1d(0x104)]=null,this[_0x425e1d(0xe0)]=[],this[_0x425e1d(0x10e)]=new _0x4fbb96(),this[_0x425e1d(0x112)]=_0x540132(()=>{const _0x547305=_0x425e1d;this[_0x547305(0xad)]();},0xfa,{'leading':!0x1});}[_0x6bd75(0x9e)](){const _0x476759=_0x6bd75;this[_0x476759(0xbb)][_0x476759(0xf9)][_0x476759(0xc7)](_0x39dfba)[_0x476759(0xf4)](_0x476759(0xd0),this),this[_0x476759(0xb7)]=new _0x1a7275(this[_0x476759(0xbb)][_0x476759(0xf2)]),this[_0x476759(0x9c)]=new _0x5f0a40(this[_0x476759(0xbb)][_0x476759(0xf2)]),this[_0x476759(0xb7)][_0x476759(0xa1)](),this[_0x476759(0xb7)][_0x476759(0xe4)](this[_0x476759(0x9c)]);}[_0x6bd75(0xe1)](_0x4d8855){const _0x36bbec=_0x6bd75;this[_0x36bbec(0x104)]=_0x4d8855;const _0x1e0c70=this[_0x36bbec(0xbb)][_0x36bbec(0xf9)][_0x36bbec(0xc7)](_0x3e4fec),_0x4bc790=this[_0x36bbec(0x9c)];if(_0x1e0c70[_0x36bbec(0xa4)]=_0x4d8855,this[_0x36bbec(0xa8)])throw new _0x2516b8(_0x36bbec(0xf6),this);this[_0x36bbec(0xa8)]=!0x0,this[_0x36bbec(0x113)](_0x1e0c70,_0x36bbec(0xc9),()=>{const _0x59c1d3=_0x36bbec;this[_0x59c1d3(0x101)](),this[_0x59c1d3(0x113)](_0x1e0c70,_0x59c1d3(0x114),_0x407e01=>{const _0x5dd4d8=_0x59c1d3;_0x407e01[_0x5dd4d8(0xe2)](),this[_0x5dd4d8(0xe1)](_0x4d8855);});}),_0x1e0c70[_0x36bbec(0xb0)]({'viewClass':_0x36bbec(0xfa),'spaceBetweenItems':0x5});const _0x5b6568=_0x4d377f=>{const _0x3554d9=_0x36bbec,_0x3140f1=new _0x2829c8(this[_0x3554d9(0xbb)][_0x3554d9(0xf2)]);_0x1e0c70[_0x3554d9(0x106)](_0x4d377f,_0x3140f1),this[_0x3554d9(0x111)][_0x3554d9(0xc3)](_0x4d377f,_0x3140f1),_0x3140f1[_0x3554d9(0xa2)](_0x3554d9(0x109),_0x3554d9(0xa9),_0x3554d9(0xeb))['to'](_0x4d377f[_0x3554d9(0xbf)],_0x3554d9(0x109),_0x3554d9(0xc4),_0x3554d9(0xf7)),_0x3140f1['on'](_0x3554d9(0x9a),()=>{const _0x14079e=_0x3554d9;this[_0x14079e(0xda)][_0x14079e(0xd8)](),_0x4bc790[_0x14079e(0xa3)][_0x14079e(0xe8)]!==_0x4d377f[_0x14079e(0xbf)]?(this[_0x14079e(0xf0)](_0x4d377f),_0x4d377f[_0x14079e(0xbf)][_0x14079e(0xcb)][_0x14079e(0xbd)](),this[_0x14079e(0xd5)](_0x4d377f)):this[_0x14079e(0xd5)](null);});};for(const _0x372a69 of _0x4d8855)_0x5b6568(_0x372a69);this[_0x36bbec(0x113)](_0x4d8855,_0x36bbec(0xe4),(_0x341a3c,_0x1f5be7)=>{_0x5b6568(_0x1f5be7);}),this[_0x36bbec(0x113)](_0x4d8855,_0x36bbec(0xcd),(_0x47e6d3,_0x456719,_0x5c8a00)=>{const _0x1611df=_0x36bbec;this[_0x1611df(0x111)][_0x1611df(0xc7)](_0x456719)[_0x1611df(0xe9)](),this[_0x1611df(0x111)][_0x1611df(0x110)](_0x456719),_0x1e0c70[_0x1611df(0xe6)]({'removedAnnotation':_0x456719,'previousAnnotation':_0x4d8855[_0x1611df(0xc7)](_0x5c8a00-0x1),'nextAnnotation':_0x4d8855[_0x1611df(0xc7)](_0x5c8a00+0x1)}),_0x456719===this[_0x1611df(0xfb)]&&this[_0x1611df(0xd5)](null);},{'priority':_0x36bbec(0x102)}),this[_0x36bbec(0x113)](_0x4d8855,_0x36bbec(0xbd),(_0x1bb736,_0x71d412)=>{const _0x2635d0=_0x36bbec;this[_0x2635d0(0xd5)](_0x71d412);}),this[_0x36bbec(0x113)](_0x4d8855,_0x36bbec(0x9b),()=>{const _0x8552a8=_0x36bbec;this[_0x8552a8(0xd5)](null);}),this[_0x36bbec(0xc5)][_0x36bbec(0x113)](document,_0x36bbec(0xc0),(_0x5b390b,_0x383de0)=>{const _0x2c9a71=_0x36bbec;_0x383de0[_0x2c9a71(0xae)]===_0x1e8788[_0x2c9a71(0xff)]&&_0x4bc790[_0x2c9a71(0x103)]&&(this[_0x2c9a71(0xda)][_0x2c9a71(0xe4)](_0x4bc790[_0x2c9a71(0xa3)][_0x2c9a71(0xe8)]),this[_0x2c9a71(0xb4)](),_0x383de0[_0x2c9a71(0xb5)](),_0x383de0[_0x2c9a71(0xf1)]());}),this[_0x36bbec(0xc5)][_0x36bbec(0x113)](document,_0x36bbec(0x10f),(_0x32e359,_0x37f754)=>{const _0x2462ae=_0x36bbec,_0x44bcc8=_0x37f754[_0x2462ae(0xf3)];_0x4bc790[_0x2462ae(0x103)]&&_0x4bc790[_0x2462ae(0xcb)][_0x2462ae(0xdc)](_0x44bcc8)||_0x1e0c70[_0x2462ae(0xbf)][_0x2462ae(0xcb)][_0x2462ae(0xdc)](_0x44bcc8)||_0x32e359[_0x2462ae(0xde)]||this[_0x2462ae(0xfb)]&&this[_0x2462ae(0xfb)][_0x2462ae(0xba)][_0x2462ae(0xc8)](_0x8e7982=>_0x8e7982[_0x2462ae(0xdc)](_0x44bcc8))||(this[_0x2462ae(0xda)][_0x2462ae(0xd8)](),this[_0x2462ae(0xb4)](),this[_0x2462ae(0xd5)](null));});const _0x5c5366=this[_0x36bbec(0xbb)]instanceof _0x3bfc7c?this[_0x36bbec(0xbb)][_0x36bbec(0xcc)]:new _0x4fbb96([this[_0x36bbec(0xbb)]]);for(const _0x1db1b8 of _0x5c5366)this[_0x36bbec(0x10d)](_0x1db1b8);this[_0x36bbec(0x113)](_0x5c5366,_0x36bbec(0xe4),(_0x1aa415,_0x144806)=>{const _0x352081=_0x36bbec;this[_0x352081(0x113)](_0x144806,_0x352081(0xbe),()=>{const _0x2af231=_0x352081;this[_0x2af231(0x10d)](_0x144806);});}),this[_0x36bbec(0x113)](_0x5c5366,_0x36bbec(0xcd),(_0xbb3190,_0xc9b4ba)=>{const _0x47f77b=_0x36bbec;_0xc9b4ba[_0x47f77b(0xf9)][_0x47f77b(0x9f)](_0x47f77b(0xab))&&this[_0x47f77b(0x100)](_0xc9b4ba[_0x47f77b(0xf9)][_0x47f77b(0xc7)](_0x47f77b(0xab)));}),window[_0x36bbec(0xca)](_0x36bbec(0xec),this[_0x36bbec(0x112)]),this[_0x36bbec(0xad)]();}[_0x6bd75(0xd5)](_0x483a07){const _0x28ab60=_0x6bd75;if(_0x483a07===this[_0x28ab60(0xfb)])return;const _0x5aa752=this[_0x28ab60(0xbb)][_0x28ab60(0xf9)][_0x28ab60(0xc7)](_0x3e4fec);if(_0x5aa752[_0x28ab60(0xea)]({'blurredAnnotation':this[_0x28ab60(0xfb)],'activatedAnnotation':_0x483a07,'disableAnimationOnActivatedAnnotation':!0x0}),_0x483a07)_0x5aa752[_0x28ab60(0xf8)](_0x483a07)?this[_0x28ab60(0xf0)](_0x483a07):this[_0x28ab60(0xb4)]();else this[_0x28ab60(0xb4)]();this[_0x28ab60(0xfb)]=_0x483a07;}[_0x6bd75(0x101)](){const _0x3eb350=_0x6bd75;if(!this[_0x3eb350(0xa8)])throw new _0x2516b8(_0x3eb350(0xe7),this);this[_0x3eb350(0xd5)](null);const _0xdd51ad=this[_0x3eb350(0xbb)][_0x3eb350(0xf9)][_0x3eb350(0xc7)](_0x3e4fec);this[_0x3eb350(0xb4)](),Array[_0x3eb350(0x10a)](this[_0x3eb350(0x111)][_0x3eb350(0xdf)](),_0x4a0adf=>_0x4a0adf[_0x3eb350(0xe9)]()),this[_0x3eb350(0x111)][_0x3eb350(0xd8)](),_0xdd51ad[_0x3eb350(0xcf)](this[_0x3eb350(0x104)]),this[_0x3eb350(0xb2)](),this[_0x3eb350(0xc5)][_0x3eb350(0xb2)](),this[_0x3eb350(0xbb)]instanceof _0x3bfc7c&&this[_0x3eb350(0xb2)](this[_0x3eb350(0xbb)][_0x3eb350(0xcc)]);for(const _0x16bd62 of Array[_0x3eb350(0x10a)](this[_0x3eb350(0x10e)]))this[_0x3eb350(0x100)](_0x16bd62);window[_0x3eb350(0xb6)](_0x3eb350(0xec),this[_0x3eb350(0x112)]),this[_0x3eb350(0x112)][_0x3eb350(0x10c)](),this[_0x3eb350(0xe0)]=[],this[_0x3eb350(0xa8)]=!0x1,this[_0x3eb350(0x104)]=null;}[_0x6bd75(0xe9)](){const _0x354535=_0x6bd75;this[_0x354535(0xa8)]&&this[_0x354535(0x101)](),this[_0x354535(0xb7)][_0x354535(0xd7)]();}[_0x6bd75(0x10d)](_0x21a166){const _0x41649c=_0x6bd75;if(!_0x21a166[_0x41649c(0xf9)][_0x41649c(0x9f)](_0x41649c(0xab)))return;const _0x360989=_0x21a166[_0x41649c(0xf9)][_0x41649c(0xc7)](_0x41649c(0xab)),_0x523812=this[_0x41649c(0xbb)][_0x41649c(0xf9)][_0x41649c(0xc7)](_0x3e4fec),_0x284591=this[_0x41649c(0x104)],_0x53ed5c=this[_0x41649c(0x9c)],_0x33c428=()=>{const _0x1925e8=_0x41649c,_0x451b38=_0x360989[_0x1925e8(0x108)]({'annotations':this[_0x1925e8(0x104)],'activeAnnotation':this[_0x1925e8(0xfb)]});this[_0x1925e8(0xd3)](_0x451b38),this[_0x1925e8(0xd5)](_0x451b38[0x0]||null);};this[_0x41649c(0x113)](_0x360989,_0x41649c(0xea),_0x33c428),this[_0x41649c(0x113)](_0x360989,_0x41649c(0x9b),(_0x4940ca,{isAnnotationTracked:_0x44c746})=>{const _0x3ceafd=_0x41649c;this[_0x3ceafd(0xfb)]&&_0x44c746(this[_0x3ceafd(0xfb)])&&(this[_0x3ceafd(0xd3)]([]),this[_0x3ceafd(0xd5)](null));}),this[_0x41649c(0x113)](_0x360989,_0x41649c(0xd1),()=>{const _0x123663=_0x41649c;this[_0x123663(0x112)]();}),this[_0x41649c(0x113)](_0x284591,_0x41649c(0x9b),_0x31303e=>{const _0xe2e5e5=_0x41649c;_0x360989[_0xe2e5e5(0xfd)]()&&_0x31303e[_0xe2e5e5(0xef)]();},{'priority':_0x41649c(0x99)}),this[_0x41649c(0x113)](this[_0x41649c(0xc5)],_0x41649c(0x10f),(_0x517908,_0xdd6d8d)=>{const _0x588f84=_0x41649c,_0x2f22b0=_0xdd6d8d[_0x588f84(0xf3)];_0x53ed5c[_0x588f84(0x103)]&&_0x53ed5c[_0x588f84(0xcb)][_0x588f84(0xdc)](_0x2f22b0)||_0x523812[_0x588f84(0xbf)][_0x588f84(0xcb)][_0x588f84(0xdc)](_0x2f22b0)||this[_0x588f84(0xfb)]&&_0x360989[_0x588f84(0xfd)]()&&(_0x33c428(),_0x517908[_0x588f84(0xde)]=!0x0);},{'priority':_0x41649c(0x99)}),this[_0x41649c(0x10e)][_0x41649c(0xe4)](_0x360989);}[_0x6bd75(0x100)](_0x608f53){const _0x532fe5=_0x6bd75;_0x608f53&&(this[_0x532fe5(0xb2)](_0x608f53),this[_0x532fe5(0x10e)][_0x532fe5(0xcd)](_0x608f53));}[_0x6bd75(0xd3)](_0x466e14){const _0x6f7bb7=_0x6bd75;for(const _0x25e365 of this[_0x6f7bb7(0xe0)])_0x466e14[_0x6f7bb7(0xe3)](_0x25e365)||this[_0x6f7bb7(0xda)][_0x6f7bb7(0x110)](_0x25e365[_0x6f7bb7(0xbf)]);this[_0x6f7bb7(0xe0)]=_0x466e14;}[_0x6bd75(0xad)](){const _0x246869=_0x6bd75,_0x57b05a=this[_0x246869(0x9c)];this[_0x246869(0xbb)][_0x246869(0xf9)][_0x246869(0xc7)](_0x246869(0xb9))[_0x246869(0xed)](),this[_0x246869(0x104)][_0x246869(0xd4)](),_0x57b05a[_0x246869(0x103)]&&this[_0x246869(0xfc)]();}[_0x6bd75(0xf0)](_0xd83e24){const _0x1617d8=_0x6bd75;if(this[_0x1617d8(0xda)][_0x1617d8(0x9f)](_0xd83e24[_0x1617d8(0xbf)]))return;const _0x530997=this[_0x1617d8(0x9c)][_0x1617d8(0xa3)][_0x1617d8(0xe8)];_0x530997!==_0xd83e24[_0x1617d8(0xbf)]?(_0x530997&&this[_0x1617d8(0x9d)](_0x530997),this[_0x1617d8(0xc1)](_0xd83e24[_0x1617d8(0xbf)]),this[_0x1617d8(0x9c)][_0x1617d8(0xa3)][_0x1617d8(0xd8)](),this[_0x1617d8(0x9c)][_0x1617d8(0xa3)][_0x1617d8(0xe4)](_0xd83e24[_0x1617d8(0xbf)]),this[_0x1617d8(0xfc)]()):this[_0x1617d8(0xfc)]();}[_0x6bd75(0xfc)](){const _0x5624fd=_0x6bd75,_0x3336c0=this[_0x5624fd(0x9c)][_0x5624fd(0xa3)][_0x5624fd(0xe8)],_0x26b39d=_0x3336c0&&this[_0x5624fd(0x104)][_0x5624fd(0xdb)](_0x3336c0);if(!_0x26b39d||!this[_0x5624fd(0x111)][_0x5624fd(0x9f)](_0x26b39d))return;const _0x4473f2=this[_0x5624fd(0x111)][_0x5624fd(0xc7)](_0x26b39d)[_0x5624fd(0xcb)],_0x52ee37=(function(){const _0xb0f370=_0x5624fd,_0xd153fd=_0x5f0a40[_0xb0f370(0x10b)];return[_0xd153fd[_0xb0f370(0xdd)],_0xd153fd[_0xb0f370(0xfe)],_0xd153fd[_0xb0f370(0xd6)],_0xd153fd[_0xb0f370(0xaa)],_0xd153fd[_0xb0f370(0xc6)],_0xd153fd[_0xb0f370(0xb3)]];}());this[_0x5624fd(0x9c)][_0x5624fd(0xf5)]({'target':_0x4473f2,'positions':_0x52ee37});}[_0x6bd75(0xb4)](){const _0x29efd5=_0x6bd75,_0x39ac67=this[_0x29efd5(0x9c)],_0x8b807f=_0x39ac67[_0x29efd5(0xa3)][_0x29efd5(0xe8)];_0x8b807f&&(this[_0x29efd5(0x9d)](_0x8b807f),_0x39ac67[_0x29efd5(0xce)](),_0x39ac67[_0x29efd5(0xa3)][_0x29efd5(0xd8)]());}[_0x6bd75(0xc1)](_0x1960e7){const _0x256fc0=_0x6bd75;this[_0x256fc0(0x113)](_0x1960e7,_0x256fc0(0xb1),()=>this[_0x256fc0(0xfc)]()),this[_0x256fc0(0x113)](_0x1960e7,_0x256fc0(0xa6),(_0x2fbc5e,_0x1a2a1b)=>{const _0x5d199b=_0x256fc0;this[_0x5d199b(0xda)][_0x5d199b(0xe4)](_0x1960e7),this[_0x5d199b(0xb4)](),_0x1a2a1b();});}[_0x6bd75(0x9d)](_0x405657){const _0x5e5c8f=_0x6bd75;this[_0x5e5c8f(0xb2)](_0x405657);}}
|