@ckeditor/ckeditor5-comments 47.7.0-alpha.2 → 47.7.0-alpha.4
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 +19 -19
- 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
|
+
(_0x1e86f3=>{const {zh:{dictionary:_0x15a2ff,getPluralForm:_0x2d5913}}={'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':_0x31472d=>0x0}};_0x1e86f3['zh']||={'dictionary':{},'getPluralForm':null},_0x1e86f3['zh']['dictionary']=Object['assign'](_0x1e86f3['zh']['dictionary'],_0x15a2ff),_0x1e86f3['zh']['getPluralForm']=_0x2d5913;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "47.7.0-alpha.
|
|
3
|
+
"version": "47.7.0-alpha.4",
|
|
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,24 +45,24 @@
|
|
|
45
45
|
"CHANGELOG.md"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@ckeditor/ckeditor5-clipboard": "47.7.0-alpha.
|
|
49
|
-
"@ckeditor/ckeditor5-collaboration-core": "47.7.0-alpha.
|
|
50
|
-
"@ckeditor/ckeditor5-core": "47.7.0-alpha.
|
|
51
|
-
"@ckeditor/ckeditor5-engine": "47.7.0-alpha.
|
|
52
|
-
"@ckeditor/ckeditor5-enter": "47.7.0-alpha.
|
|
53
|
-
"@ckeditor/ckeditor5-icons": "47.7.0-alpha.
|
|
54
|
-
"@ckeditor/ckeditor5-paragraph": "47.7.0-alpha.
|
|
55
|
-
"@ckeditor/ckeditor5-revision-history": "47.7.0-alpha.
|
|
56
|
-
"@ckeditor/ckeditor5-select-all": "47.7.0-alpha.
|
|
57
|
-
"@ckeditor/ckeditor5-source-editing": "47.7.0-alpha.
|
|
58
|
-
"@ckeditor/ckeditor5-theme-lark": "47.7.0-alpha.
|
|
59
|
-
"@ckeditor/ckeditor5-typing": "47.7.0-alpha.
|
|
60
|
-
"@ckeditor/ckeditor5-ui": "47.7.0-alpha.
|
|
61
|
-
"@ckeditor/ckeditor5-undo": "47.7.0-alpha.
|
|
62
|
-
"@ckeditor/ckeditor5-utils": "47.7.0-alpha.
|
|
63
|
-
"@ckeditor/ckeditor5-widget": "47.7.0-alpha.
|
|
64
|
-
"ckeditor5": "47.7.0-alpha.
|
|
65
|
-
"ckeditor5-collaboration": "47.7.0-alpha.
|
|
48
|
+
"@ckeditor/ckeditor5-clipboard": "47.7.0-alpha.4",
|
|
49
|
+
"@ckeditor/ckeditor5-collaboration-core": "47.7.0-alpha.4",
|
|
50
|
+
"@ckeditor/ckeditor5-core": "47.7.0-alpha.4",
|
|
51
|
+
"@ckeditor/ckeditor5-engine": "47.7.0-alpha.4",
|
|
52
|
+
"@ckeditor/ckeditor5-enter": "47.7.0-alpha.4",
|
|
53
|
+
"@ckeditor/ckeditor5-icons": "47.7.0-alpha.4",
|
|
54
|
+
"@ckeditor/ckeditor5-paragraph": "47.7.0-alpha.4",
|
|
55
|
+
"@ckeditor/ckeditor5-revision-history": "47.7.0-alpha.4",
|
|
56
|
+
"@ckeditor/ckeditor5-select-all": "47.7.0-alpha.4",
|
|
57
|
+
"@ckeditor/ckeditor5-source-editing": "47.7.0-alpha.4",
|
|
58
|
+
"@ckeditor/ckeditor5-theme-lark": "47.7.0-alpha.4",
|
|
59
|
+
"@ckeditor/ckeditor5-typing": "47.7.0-alpha.4",
|
|
60
|
+
"@ckeditor/ckeditor5-ui": "47.7.0-alpha.4",
|
|
61
|
+
"@ckeditor/ckeditor5-undo": "47.7.0-alpha.4",
|
|
62
|
+
"@ckeditor/ckeditor5-utils": "47.7.0-alpha.4",
|
|
63
|
+
"@ckeditor/ckeditor5-widget": "47.7.0-alpha.4",
|
|
64
|
+
"ckeditor5": "47.7.0-alpha.4",
|
|
65
|
+
"ckeditor5-collaboration": "47.7.0-alpha.4",
|
|
66
66
|
"es-toolkit": "1.39.5"
|
|
67
67
|
},
|
|
68
68
|
"types": "src/index.d.ts",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x12f9ea=_0x1886;(function(_0x4168ca,_0x151db1){const _0x26929e=_0x1886,_0x1d79be=_0x4168ca();while(!![]){try{const _0x3678ae=parseInt(_0x26929e(0xde))/0x1*(parseInt(_0x26929e(0xf1))/0x2)+parseInt(_0x26929e(0x102))/0x3*(parseInt(_0x26929e(0x105))/0x4)+parseInt(_0x26929e(0xfc))/0x5+-parseInt(_0x26929e(0xfb))/0x6+parseInt(_0x26929e(0xdc))/0x7*(parseInt(_0x26929e(0xe7))/0x8)+parseInt(_0x26929e(0xf0))/0x9+-parseInt(_0x26929e(0xfe))/0xa*(parseInt(_0x26929e(0xe5))/0xb);if(_0x3678ae===_0x151db1)break;else _0x1d79be['push'](_0x1d79be['shift']());}catch(_0x35e913){_0x1d79be['push'](_0x1d79be['shift']());}}}(_0x5b37,0x509c2));import{CKEditorError as _0x470b24,Rect as _0x6838fa,Collection as _0xd3ea17,ObservableMixin as _0x35d1e4}from'ckeditor5/src/utils.js';export class Annotation extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x35d1e4(){[_0x12f9ea(0xed)];[_0x12f9ea(0xda)];[_0x12f9ea(0xf2)];[_0x12f9ea(0x101)];constructor({view:_0x4efb42,target:_0x542b6,type:_0x230659,isVisible:_0x46bfab=!0x0}){const _0x153160=_0x12f9ea;super(),this[_0x153160(0xed)]=_0x4efb42,this[_0x153160(0xed)][_0x153160(0xe0)]||this[_0x153160(0xed)][_0x153160(0xe3)](),this[_0x153160(0xf2)]=_0x230659,this[_0x153160(0x101)]=_0x542b6,Annotation[_0x153160(0xe2)](this[_0x153160(0xee)]()),this[_0x153160(0xda)]=new _0xd3ea17([this[_0x153160(0xed)][_0x153160(0xe0)]],{'idProperty':_0x153160(0xf5)}),this[_0x153160(0xda)]['on'](_0x153160(0xfa),(_0x151332,_0x36ec5e)=>{const _0x5d5191=_0x153160;this[_0x5d5191(0xed)][_0x5d5191(0xe6)][_0x5d5191(0xfa)](_0x36ec5e);}),this[_0x153160(0xda)]['on'](_0x153160(0xe9),(_0xd93d05,_0x2fc306)=>{const _0x2bbf11=_0x153160;this[_0x2bbf11(0xed)][_0x2bbf11(0xe6)][_0x2bbf11(0xe9)](_0x2fc306);}),this[_0x153160(0xd9)](_0x153160(0xf6),_0x46bfab);}get[_0x12f9ea(0xe1)](){const _0x481fbe=_0x12f9ea;return _0x481fbe(0xef)==typeof this[_0x481fbe(0xf2)]?this[_0x481fbe(0xf2)]():this[_0x481fbe(0xf2)];}get[_0x12f9ea(0xea)](){const _0x4ee8af=_0x12f9ea;return this[_0x4ee8af(0xed)][_0x4ee8af(0x104)];}get[_0x12f9ea(0xf7)](){const _0x38dc8a=_0x12f9ea,_0x235dda=this[_0x38dc8a(0xee)]();return Annotation[_0x38dc8a(0xe2)](_0x235dda),_0x235dda;}get[_0x12f9ea(0xe8)](){const _0x1f76cb=_0x12f9ea,_0x49a6bb=this[_0x1f76cb(0xf7)];if(null===_0x49a6bb)return null;if(_0x49a6bb instanceof _0x6838fa)return _0x49a6bb;const _0x4e1caf=_0x49a6bb[_0x1f76cb(0xd7)](_0x2ba972=>function(_0x1d8b88){const _0x32b56e=_0x1f76cb,_0x1eddde=_0x1d8b88[_0x32b56e(0xdb)];if(_0x1eddde)return!0x0;const _0x2b2046=_0x1d8b88[_0x32b56e(0xff)]()[_0x32b56e(0xe4)](0x0);return!!_0x2b2046;}(_0x2ba972));return 0x0===_0x4e1caf[_0x1f76cb(0xeb)]?null:new _0x6838fa(_0x4e1caf[0x0][_0x1f76cb(0xff)]()[_0x1f76cb(0xe4)](0x0));}get[_0x12f9ea(0xdd)](){const _0x51abc1=_0x12f9ea;return this[_0x51abc1(0xed)][_0x51abc1(0xdd)];}set[_0x12f9ea(0xdd)](_0x4cedd5){const _0x35a6f3=_0x12f9ea;this[_0x35a6f3(0xed)][_0x35a6f3(0xdd)]=_0x4cedd5,this[_0x35a6f3(0xed)][_0x35a6f3(0x104)][_0x35a6f3(0xdd)]=_0x4cedd5;}[_0x12f9ea(0xfd)](){const _0x2063dd=_0x12f9ea;this[_0x2063dd(0xed)][_0x2063dd(0xe8)]=this[_0x2063dd(0xe8)];}[_0x12f9ea(0xec)](){const _0x5bc4ca=_0x12f9ea;this[_0x5bc4ca(0xda)][_0x5bc4ca(0xf8)](),this[_0x5bc4ca(0xda)][_0x5bc4ca(0xdf)](),this[_0x5bc4ca(0xf8)]();}[_0x12f9ea(0x103)](){const _0x10a902=_0x12f9ea;this[_0x10a902(0xf6)]=!!this[_0x10a902(0xe8)];}static[_0x12f9ea(0xe2)](_0x52ac0f){const _0x2d00e4=_0x12f9ea;if(!(null===_0x52ac0f||_0x52ac0f instanceof _0x6838fa||Array[_0x2d00e4(0xf4)](_0x52ac0f)&&_0x52ac0f[_0x2d00e4(0x100)](_0x394a8f=>g(_0x394a8f))))throw new _0x470b24(_0x2d00e4(0xf3),null,{'target':_0x52ac0f});}[_0x12f9ea(0xee)](){const _0x597f35=_0x12f9ea,_0x3979a3=_0x597f35(0xef)==typeof this[_0x597f35(0x101)]?this[_0x597f35(0x101)]():this[_0x597f35(0x101)];return g(_0x3979a3)?[_0x3979a3]:_0x3979a3;}}function _0x1886(_0x28108f,_0x1b71ca){const _0x5b37fb=_0x5b37();return _0x1886=function(_0x18865a,_0x1e81b0){_0x18865a=_0x18865a-0xd7;let _0x27b811=_0x5b37fb[_0x18865a];return _0x27b811;},_0x1886(_0x28108f,_0x1b71ca);}function g(_0x34dcae){const _0x4f3461=_0x12f9ea;return null!==_0x34dcae&&_0x4f3461(0xd8)==typeof _0x34dcae&&_0x4f3461(0xf9)in _0x34dcae&&0x1===_0x34dcae[_0x4f3461(0xf9)];}function _0x5b37(){const _0x44b294=['4HjPCnd','_type','annotation-invalid-target','isArray','_id','isVisible','target','stopListening','nodeType','add','3726600EotNXA','1204460oDUSYc','updateTargetRect','8681550wJcxBm','getClientRects','every','_target','115215tIRIbn','refreshVisibility','mainView','36wtlcPy','filter','object','set','focusableElements','offsetParent','70PimPxA','isActive','288219AQsMom','clear','element','type','_assertCorrectTarget','render','item','11OcPwCt','focusTracker','25952FPhqYp','targetRect','remove','innerView','length','destroy','view','_getNormalizedTarget','function','5616162Ptcson'];_0x5b37=function(){return _0x44b294;};return _0x5b37();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xeb569c=_0x1c0f;(function(_0x167ec7,_0x2d12b8){const _0x23f80e=_0x1c0f,_0x405357=_0x167ec7();while(!![]){try{const _0x510e9a=-parseInt(_0x23f80e(0x194))/0x1+parseInt(_0x23f80e(0x199))/0x2*(parseInt(_0x23f80e(0x198))/0x3)+-parseInt(_0x23f80e(0x1a5))/0x4+parseInt(_0x23f80e(0x196))/0x5*(parseInt(_0x23f80e(0x1a9))/0x6)+-parseInt(_0x23f80e(0x19e))/0x7*(parseInt(_0x23f80e(0x1b4))/0x8)+parseInt(_0x23f80e(0x1b6))/0x9*(-parseInt(_0x23f80e(0x19a))/0xa)+parseInt(_0x23f80e(0x1b5))/0xb;if(_0x510e9a===_0x2d12b8)break;else _0x405357['push'](_0x405357['shift']());}catch(_0x545695){_0x405357['push'](_0x405357['shift']());}}}(_0x1f3c,0x2d501));import{CKEditorError as _0x483040,Collection as _0x4f7251,FocusTracker as _0x2af0b2}from'ckeditor5/src/utils.js';export class AnnotationCollection extends _0x4f7251{[_0xeb569c(0x197)];[_0xeb569c(0x1b0)];[_0xeb569c(0x1ad)];constructor(_0x47fe2c=[]){const _0x9f1c4b=_0xeb569c;super(),this[_0x9f1c4b(0x197)]=new Map(),this[_0x9f1c4b(0x1b0)]=new Map(),this[_0x9f1c4b(0x1ad)]=new _0x2af0b2(),this[_0x9f1c4b(0x1ad)]['on'](_0x9f1c4b(0x1ac),(_0x5d54ce,_0x4309a1,_0x148cbd)=>{const _0x2f1cc7=_0x9f1c4b;_0x148cbd||this[_0x2f1cc7(0x1b8)](_0x2f1cc7(0x1a4));});for(const _0x251dfa of _0x47fe2c)this[_0x9f1c4b(0x1aa)](_0x251dfa);}get[_0xeb569c(0x19d)](){const _0x2c2f0a=_0xeb569c;return this[_0x2c2f0a(0x1ad)][_0x2c2f0a(0x19d)];}[_0xeb569c(0x1aa)](_0x4d41cc){const _0x3731a2=_0xeb569c;if(this[_0x3731a2(0x18f)](_0x4d41cc))throw new _0x483040(_0x3731a2(0x192),null);this[_0x3731a2(0x197)][_0x3731a2(0x191)](_0x4d41cc[_0x3731a2(0x1ae)],_0x4d41cc),this[_0x3731a2(0x1b0)][_0x3731a2(0x191)](_0x4d41cc[_0x3731a2(0x1a0)],_0x4d41cc);for(const _0x4a3061 of _0x4d41cc[_0x3731a2(0x1bc)])this[_0x3731a2(0x1ad)][_0x3731a2(0x1aa)](_0x4a3061);this[_0x3731a2(0x1bd)](_0x4d41cc[_0x3731a2(0x1bc)],_0x3731a2(0x1aa),(_0x2fcee0,_0x53f2fb)=>{const _0x582b55=_0x3731a2;this[_0x582b55(0x1ad)][_0x582b55(0x1aa)](_0x53f2fb);}),this[_0x3731a2(0x1bd)](_0x4d41cc[_0x3731a2(0x1bc)],_0x3731a2(0x1a7),(_0xfe81e1,_0x449754)=>{const _0x11c961=_0x3731a2;this[_0x11c961(0x1ad)][_0x11c961(0x1a7)](_0x449754);}),this[_0x3731a2(0x1bd)](_0x4d41cc[_0x3731a2(0x1a0)][_0x3731a2(0x1b2)],_0x3731a2(0x1ac),(_0xdc911d,_0x4df43b,_0x2d21c4)=>{const _0x52a53b=_0x3731a2;_0x2d21c4&&this[_0x52a53b(0x1b8)](_0x52a53b(0x1a3),_0x4d41cc);}),_0x4d41cc[_0x3731a2(0x18e)]();const _0x325799=this[_0x3731a2(0x1af)](_0x4d41cc[_0x3731a2(0x1a0)][_0x3731a2(0x195)]);return super[_0x3731a2(0x1aa)](_0x4d41cc,_0x325799);}[_0xeb569c(0x1a7)](_0x401289){const _0x731d8f=_0xeb569c;if(!this[_0x731d8f(0x18f)](_0x401289))throw new _0x483040(_0x731d8f(0x19f),null);this[_0x731d8f(0x193)](_0x401289[_0x731d8f(0x1a0)][_0x731d8f(0x1b2)]),this[_0x731d8f(0x193)](_0x401289[_0x731d8f(0x1bc)]);for(const _0x2def24 of _0x401289[_0x731d8f(0x1bc)])this[_0x731d8f(0x1ad)][_0x731d8f(0x1a7)](_0x2def24);return this[_0x731d8f(0x1b0)][_0x731d8f(0x1ab)](_0x401289[_0x731d8f(0x1a0)]),this[_0x731d8f(0x197)][_0x731d8f(0x1ab)](_0x401289[_0x731d8f(0x1ae)]),super[_0x731d8f(0x1a7)](_0x401289);}[_0xeb569c(0x1a6)](_0x1d021a){const _0x4686d3=_0xeb569c;return this[_0x4686d3(0x197)][_0x4686d3(0x1b3)](_0x1d021a);}[_0xeb569c(0x1a2)](_0x5ac4fd){const _0x1c1bb0=_0xeb569c;return this[_0x1c1bb0(0x1b0)][_0x1c1bb0(0x1b3)](_0x5ac4fd);}[_0xeb569c(0x19c)](){const _0x13ede5=_0xeb569c;super[_0x13ede5(0x1bb)](),this[_0x13ede5(0x193)](),this[_0x13ede5(0x197)][_0x13ede5(0x1bb)](),this[_0x13ede5(0x1b0)][_0x13ede5(0x1bb)](),this[_0x13ede5(0x1ad)][_0x13ede5(0x19c)]();}[_0xeb569c(0x19b)](){const _0x4a269c=_0xeb569c;for(const _0x532abf of this)_0x532abf[_0x4a269c(0x18e)]();this[_0x4a269c(0x1b1)]();}[_0xeb569c(0x1b1)](){const _0x2b9709=_0xeb569c,_0x56a0c1=Array[_0x2b9709(0x190)](this)[_0x2b9709(0x1a1)]((_0x1bb207,_0x17e439)=>w(_0x1bb207[_0x2b9709(0x1a0)][_0x2b9709(0x195)],_0x17e439[_0x2b9709(0x1a0)][_0x2b9709(0x195)]));for(let _0x51de09=_0x56a0c1[_0x2b9709(0x1ba)]-0x1;_0x51de09>0x0;_0x51de09--){const _0x1a6fa3=_0x56a0c1[_0x51de09];_0x51de09!==this[_0x2b9709(0x1a8)](_0x1a6fa3)&&(this[_0x2b9709(0x1a7)](_0x1a6fa3),this[_0x2b9709(0x1aa)](_0x1a6fa3));}}[_0xeb569c(0x1af)](_0x1b7cd0){const _0x3a96e3=_0xeb569c;let _0x2577bf=0x0;if(!_0x1b7cd0)return this[_0x3a96e3(0x1ba)];for(const _0x47bdf3 of this){const _0x287ef9=_0x47bdf3[_0x3a96e3(0x1a0)][_0x3a96e3(0x195)];if(_0x287ef9){if(w(_0x1b7cd0,_0x287ef9)<0x0)return _0x2577bf;_0x2577bf++;}}return _0x2577bf;}}export function bindAnnotationCollections({source:_0x1078d8,target:_0x50123d,filter:_0x55b3fa}){const _0x88fad4=_0xeb569c;for(const _0x434e77 of _0x1078d8)_0x55b3fa(_0x434e77)&&_0x50123d[_0x88fad4(0x1aa)](_0x434e77);_0x50123d[_0x88fad4(0x1bd)](_0x1078d8,_0x88fad4(0x1aa),(_0x3958d0,_0x4b76ff)=>{const _0x298f5d=_0x88fad4;_0x55b3fa(_0x4b76ff)&&_0x50123d[_0x298f5d(0x1aa)](_0x4b76ff);}),_0x50123d[_0x88fad4(0x1bd)](_0x1078d8,_0x88fad4(0x1a7),(_0x4ff3e2,_0x18496b)=>{const _0x3b0f8a=_0x88fad4;_0x50123d[_0x3b0f8a(0x18f)](_0x18496b)&&_0x50123d[_0x3b0f8a(0x1a7)](_0x18496b);});}function _0x1c0f(_0x27946f,_0x3ed38f){const _0x1f3c02=_0x1f3c();return _0x1c0f=function(_0x1c0fd0,_0x1e2fce){_0x1c0fd0=_0x1c0fd0-0x18e;let _0x437fb7=_0x1f3c02[_0x1c0fd0];return _0x437fb7;},_0x1c0f(_0x27946f,_0x3ed38f);}function _0x1f3c(){const _0x11061f=['length','clear','focusableElements','listenTo','updateTargetRect','has','from','set','annotationcollection-duplicated-item','stopListening','215326QnepGM','targetRect','65415MZGlpF','_innerViewToAnnotation','6072QWPURy','32NPkcaz','130MeQULd','refreshPositioning','destroy','isFocused','14FarlBx','annotationcollection-not-existing-item','view','sort','getByView','focus','blur','409624xCwLWu','getByInnerView','remove','getIndex','138pxQIeR','add','delete','change:isFocused','_focusTracker','innerView','_getOrderInContent','_viewToAnnotation','_sort','focusTracker','get','740056UmMYKH','6407379emEaKY','157455jQlvIe','left','fire','top'];_0x1f3c=function(){return _0x11061f;};return _0x1f3c();}function w(_0x56cc2d,_0x5bc391){const _0x58b900=_0xeb569c;if(null===_0x56cc2d&&null===_0x5bc391)return 0x0;if(null===_0x56cc2d)return-0x1;if(null===_0x5bc391)return 0x1;const _0x49bc7c=_0x56cc2d[_0x58b900(0x1b9)]-_0x5bc391[_0x58b900(0x1b9)];return 0x0==_0x49bc7c?_0x56cc2d[_0x58b900(0x1b7)]-_0x5bc391[_0x58b900(0x1b7)]:_0x49bc7c;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xce3492=_0x53aa;(function(_0x4c4bf8,_0x418848){const _0x1503c2=_0x53aa,_0x178b5b=_0x4c4bf8();while(!![]){try{const _0x2c348f=-parseInt(_0x1503c2(0x1f9))/0x1+-parseInt(_0x1503c2(0x1f0))/0x2*(parseInt(_0x1503c2(0x207))/0x3)+parseInt(_0x1503c2(0x210))/0x4*(parseInt(_0x1503c2(0x232))/0x5)+-parseInt(_0x1503c2(0x22a))/0x6*(-parseInt(_0x1503c2(0x214))/0x7)+parseInt(_0x1503c2(0x21d))/0x8*(parseInt(_0x1503c2(0x1ed))/0x9)+parseInt(_0x1503c2(0x20b))/0xa*(-parseInt(_0x1503c2(0x234))/0xb)+parseInt(_0x1503c2(0x203))/0xc;if(_0x2c348f===_0x418848)break;else _0x178b5b['push'](_0x178b5b['shift']());}catch(_0x2cc0ce){_0x178b5b['push'](_0x178b5b['shift']());}}}(_0x8532,0xe5aa5));import{ContextPlugin as _0x38890a,Editor as _0x654495}from'ckeditor5/src/core.js';import{first as _0x393d69}from'ckeditor5/src/utils.js';function _0x53aa(_0x16451b,_0x558784){const _0x853287=_0x8532();return _0x53aa=function(_0x53aa83,_0x42e543){_0x53aa83=_0x53aa83-0x1ed;let _0x353e8e=_0x853287[_0x53aa83];return _0x353e8e;},_0x53aa(_0x16451b,_0x558784);}import{Annotation as _0x542716}from'./annotation.js';import{AnnotationCollection as _0x4291be}from'./annotationcollection.js';import{AnnotationView as _0x1ce380}from'./view/annotationview.js';import{getTranslation as _0x2c0950}from'../utils/common-translations.js';import{FOCUS_ANNOTATION_KEYSTROKE as _0x437984}from'@ckeditor/ckeditor5-collaboration-core';function _0x8532(){const _0x37eedf=['destroy','low','activate','createAnnotationView','remove','deactivateAll','Arrowup','target','8952efOdDr','refreshVisibility','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO','Ctrl+Shift+E','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS','push','editing','Enter','5FvQhcD','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP','8680694vmjUPj','annotations','_deactivateAllAnnotations','source','pluginName','stopListening','getByInnerView','isOfficialPlugin','escape','_activateAnnotation','45LalmCH','editors','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT','177746Rrhusn','locale','isPremiumPlugin','element','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER','activeAnnotations','Tab','_removeActiveAnnotation','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS','845490ysetNe','set','accessibility','Esc','view','_addActiveAnnotation','_bindAnnotationsToVisibleAnnotations','refreshPositioning','add','isVisible','25565448uqYECy','contains','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT','addKeystrokeInfoGroup','36CtOnwm','fire','Annotations','collection','10jirgDf','Shift+Tab','Ctrl+Enter','_setupEscapeAnnotationHandling','createAnnotation','3162788sMtqAe','Arrowdown','keystrokes','context','973FEuUkS','_visibleAnnotations','values','ready','focus','change:isVisible','_setupEnterAnnotationKeystroke','isArray','focusTracker','821264DaBnQt','listenTo','has','delete','domRoots'];_0x8532=function(){return _0x37eedf;};return _0x8532();}export class Annotations extends _0x38890a{[_0xce3492(0x20a)];[_0xce3492(0x215)];static get[_0xce3492(0x238)](){const _0x2f6d71=_0xce3492;return _0x2f6d71(0x209);}static get[_0xce3492(0x23b)](){return!0x0;}static get[_0xce3492(0x1f2)](){return!0x0;}constructor(_0x395465){const _0x49c66f=_0xce3492;if(super(_0x395465),this[_0x49c66f(0x20a)]=new _0x4291be(),this[_0x49c66f(0x215)]=new _0x4291be(),this[_0x49c66f(0x1fa)](_0x49c66f(0x1f5),new Set()),this[_0x49c66f(0x1ff)](),_0x395465 instanceof _0x654495){const _0x47a670=_0x395465[_0x49c66f(0x1f1)];_0x395465[_0x49c66f(0x1fb)][_0x49c66f(0x206)]({'id':_0x49c66f(0x235),'label':_0x2c0950(_0x47a670,_0x49c66f(0x233)),'keystrokes':[{'label':_0x2c0950(_0x47a670,_0x49c66f(0x22c)),'keystroke':_0x49c66f(0x22d)},{'label':_0x2c0950(_0x47a670,_0x49c66f(0x1ef)),'keystroke':_0x49c66f(0x1fc)},{'label':_0x2c0950(_0x47a670,_0x49c66f(0x1f4)),'keystroke':_0x49c66f(0x231)},{'label':_0x2c0950(_0x47a670,_0x49c66f(0x1f8)),'keystroke':[[_0x49c66f(0x1f6)],[_0x49c66f(0x20c)]]},{'label':_0x2c0950(_0x47a670,_0x49c66f(0x205)),'keystroke':[_0x49c66f(0x20d)]},{'label':_0x2c0950(_0x47a670,_0x49c66f(0x22e)),'keystroke':[[_0x49c66f(0x228)],[_0x49c66f(0x211)]]}]});}this[_0x49c66f(0x21a)](),this[_0x49c66f(0x20e)]();}[_0xce3492(0x201)](_0x205dcd){const _0x3b447e=_0xce3492;this[_0x3b447e(0x20a)][_0x3b447e(0x201)](_0x205dcd);}[_0xce3492(0x226)](_0x4ea4ad){const _0x300e2c=_0xce3492;this[_0x300e2c(0x20a)][_0x300e2c(0x226)](_0x4ea4ad),_0x4ea4ad[_0x300e2c(0x222)]();}[_0xce3492(0x22b)](){const _0x51b0ad=_0xce3492;for(const _0x514788 of this[_0x51b0ad(0x20a)])_0x514788[_0x51b0ad(0x22b)]();}[_0xce3492(0x200)](){const _0x546808=_0xce3492;this[_0x546808(0x215)][_0x546808(0x200)]();}[_0xce3492(0x23a)](_0x1ee76c){const _0x8541a7=_0xce3492;return this[_0x8541a7(0x20a)][_0x8541a7(0x23a)](_0x1ee76c);}[_0xce3492(0x227)](){const _0x46e651=_0xce3492;this[_0x46e651(0x208)](_0x46e651(0x236));}[_0xce3492(0x222)](){const _0x825dfb=_0xce3492;for(const _0x389c50 of this[_0x825dfb(0x20a)])_0x389c50[_0x825dfb(0x222)]();this[_0x825dfb(0x215)][_0x825dfb(0x222)](),this[_0x825dfb(0x20a)][_0x825dfb(0x222)](),super[_0x825dfb(0x222)]();}[_0xce3492(0x224)](_0x563eee){const _0x15835c=_0xce3492;this[_0x15835c(0x208)](_0x15835c(0x23d),_0x563eee);}[_0xce3492(0x20f)](_0x306bda){return new _0x542716(_0x306bda);}[_0xce3492(0x225)](_0x2a4fe4,_0x33b37d){return new _0x1ce380(_0x2a4fe4,_0x33b37d);}[_0xce3492(0x1fe)](_0x20bd8e){const _0x18d6d6=_0xce3492,_0x18341d=new Set(this[_0x18d6d6(0x1f5)]);_0x18341d[_0x18d6d6(0x201)](_0x20bd8e),this[_0x18d6d6(0x1f5)]=_0x18341d;}[_0xce3492(0x1f7)](_0xd362a8){const _0xa07adc=_0xce3492,_0xc7cf78=new Set(this[_0xa07adc(0x1f5)]);_0xc7cf78[_0xa07adc(0x220)](_0xd362a8),this[_0xa07adc(0x1f5)]=_0xc7cf78;}[_0xce3492(0x1ff)](){const _0x3a5586=_0xce3492,_0x4e3a37=this[_0x3a5586(0x20a)],_0x39d692=this[_0x3a5586(0x215)];function _0x5ba5ba(_0x3fbca9){const _0x153e68=_0x3a5586,_0x5b9f24=_0x3fbca9[_0x153e68(0x237)];_0x5b9f24[_0x153e68(0x202)]&&!_0x39d692[_0x153e68(0x21f)](_0x5b9f24)?_0x39d692[_0x153e68(0x201)](_0x5b9f24):!_0x5b9f24[_0x153e68(0x202)]&&_0x39d692[_0x153e68(0x21f)](_0x5b9f24)&&_0x39d692[_0x153e68(0x226)](_0x5b9f24),_0x5b9f24[_0x153e68(0x1fd)][_0x153e68(0x21c)][_0x153e68(0x226)](_0x5b9f24[_0x153e68(0x1fd)][_0x153e68(0x1f3)]),_0x5b9f24[_0x153e68(0x1fd)][_0x153e68(0x21c)][_0x153e68(0x201)](_0x5b9f24[_0x153e68(0x1fd)][_0x153e68(0x1f3)]);}this[_0x3a5586(0x21e)](_0x4e3a37,_0x3a5586(0x201),(_0x20f7ae,_0x41743)=>{const _0x360bc=_0x3a5586;_0x41743[_0x360bc(0x202)]&&_0x39d692[_0x360bc(0x201)](_0x41743),this[_0x360bc(0x21e)](_0x41743,_0x360bc(0x219),_0x5ba5ba);}),this[_0x3a5586(0x21e)](_0x4e3a37,_0x3a5586(0x226),(_0x4ec7ab,_0x54309a)=>{const _0x45169f=_0x3a5586;_0x39d692[_0x45169f(0x21f)](_0x54309a)&&_0x39d692[_0x45169f(0x226)](_0x54309a),this[_0x45169f(0x239)](_0x54309a,_0x45169f(0x219),_0x5ba5ba);});}[_0xce3492(0x21a)](){const _0xa9bb3f=_0xce3492,_0x48266c=_0x3eb158=>{const _0x4db605=_0x53aa;_0x3eb158['on'](_0x4db605(0x217),()=>{const _0x1863c5=_0x4db605;_0x3eb158[_0x1863c5(0x212)][_0x1863c5(0x1fa)](_0x437984,(_0x5a3bf5,_0x2a714b)=>{const _0x1136d4=_0x1863c5,_0x3e82bb=_0x393d69(this[_0x1136d4(0x1f5)][_0x1136d4(0x216)]());_0x3e82bb&&(_0x3e82bb[_0x1136d4(0x1fd)][_0x1136d4(0x218)](),_0x2a714b());});});};this[_0xa9bb3f(0x213)]instanceof _0x654495?_0x48266c(this[_0xa9bb3f(0x213)]):this[_0xa9bb3f(0x213)][_0xa9bb3f(0x1ee)]&&this[_0xa9bb3f(0x213)][_0xa9bb3f(0x1ee)]['on'](_0xa9bb3f(0x201),(_0x54a96d,_0x3fea15)=>{_0x48266c(_0x3fea15);});}[_0xce3492(0x20e)](){const _0x30ff92=_0xce3492,_0x59b65d=_0x39dd42=>{const _0x2e78bc=_0x53aa,_0x90122=_0x39dd42[_0x2e78bc(0x237)],_0x27a97b=[];let _0x218a0e;if(Array[_0x2e78bc(0x21b)](_0x90122[_0x2e78bc(0x229)])){_0x218a0e=_0x90122[_0x2e78bc(0x229)][0x0],this[_0x2e78bc(0x213)]instanceof _0x654495?_0x27a97b[_0x2e78bc(0x22f)](this[_0x2e78bc(0x213)]):this[_0x2e78bc(0x213)][_0x2e78bc(0x1ee)]&&_0x27a97b[_0x2e78bc(0x22f)](...this[_0x2e78bc(0x213)][_0x2e78bc(0x1ee)]);for(const _0x14b7f1 of _0x27a97b)for(const _0x2de818 of _0x14b7f1[_0x2e78bc(0x230)][_0x2e78bc(0x1fd)][_0x2e78bc(0x221)][_0x2e78bc(0x216)]())if(_0x2de818[_0x2e78bc(0x204)](_0x218a0e))return void _0x14b7f1[_0x2e78bc(0x230)][_0x2e78bc(0x1fd)][_0x2e78bc(0x218)]();_0x218a0e[_0x2e78bc(0x218)]();}};this[_0x30ff92(0x21e)](this[_0x30ff92(0x20a)],_0x30ff92(0x201),(_0x358349,_0x5925fe)=>{const _0x5a54f7=_0x30ff92;this[_0x5a54f7(0x21e)](_0x5925fe,_0x5a54f7(0x23c),_0x59b65d,{'priority':_0x5a54f7(0x223)});}),this[_0x30ff92(0x21e)](this[_0x30ff92(0x20a)],_0x30ff92(0x226),(_0xe6012f,_0x37bc42)=>{const _0x205cff=_0x30ff92;this[_0x205cff(0x239)](_0x37bc42,_0x205cff(0x23c),_0x59b65d);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14a00b=_0x74d2;(function(_0x4d3930,_0x289d57){const _0x59cbaf=_0x74d2,_0x53dff2=_0x4d3930();while(!![]){try{const _0x3bcb21=-parseInt(_0x59cbaf(0x1dc))/0x1*(-parseInt(_0x59cbaf(0x1da))/0x2)+-parseInt(_0x59cbaf(0x1cf))/0x3+parseInt(_0x59cbaf(0x1df))/0x4*(parseInt(_0x59cbaf(0x1f7))/0x5)+parseInt(_0x59cbaf(0x206))/0x6*(-parseInt(_0x59cbaf(0x1e8))/0x7)+-parseInt(_0x59cbaf(0x1fe))/0x8+parseInt(_0x59cbaf(0x1e4))/0x9+-parseInt(_0x59cbaf(0x1d0))/0xa*(-parseInt(_0x59cbaf(0x1f0))/0xb);if(_0x3bcb21===_0x289d57)break;else _0x53dff2['push'](_0x53dff2['shift']());}catch(_0x171ddb){_0x53dff2['push'](_0x53dff2['shift']());}}}(_0x5740,0xac17a));import{ContextPlugin as _0x3e91fe}from'ckeditor5/src/core.js';import{CKEditorError as _0x2acdb3}from'ckeditor5/src/utils.js';import{AnnotationCollection as _0x34ab7d,bindAnnotationCollections as _0xa5a710}from'./annotationcollection.js';import{Annotations as _0x2f6849}from'./annotations.js';function _0x74d2(_0x11d33e,_0x587429){const _0x57408a=_0x5740();return _0x74d2=function(_0x74d22d,_0x3aa463){_0x74d22d=_0x74d22d-0x1ca;let _0xc45be8=_0x57408a[_0x74d22d];return _0xc45be8;},_0x74d2(_0x11d33e,_0x587429);}export class AnnotationsUIs extends _0x3e91fe{[_0x14a00b(0x1cb)];[_0x14a00b(0x1d8)];[_0x14a00b(0x1fa)];static get[_0x14a00b(0x1e7)](){return[_0x2f6849];}static get[_0x14a00b(0x204)](){const _0x2c1037=_0x14a00b;return _0x2c1037(0x1d4);}static get[_0x14a00b(0x1fd)](){return!0x0;}static get[_0x14a00b(0x1f3)](){return!0x0;}constructor(_0x37601a){const _0x5e0a67=_0x14a00b;super(_0x37601a),this[_0x5e0a67(0x1cb)]=new Set(),this[_0x5e0a67(0x1fa)]=new Map(),this[_0x5e0a67(0x1d8)]=new Map();}[_0x14a00b(0x1f4)](){const _0x4dd433=_0x14a00b,_0x4abaf1=this[_0x4dd433(0x1cc)][_0x4dd433(0x1cd)][_0x4dd433(0x1e0)](_0x2f6849);this[_0x4dd433(0x1d2)](_0x4abaf1,_0x4dd433(0x1ef),(_0xcf23e6,_0x453e8b)=>{const _0x4f2996=_0x4dd433;for(const _0x4f5405 of this[_0x4f2996(0x1cb)]){const _0x6d14a7=this[_0x4f2996(0x1fa)][_0x4f2996(0x1e0)](_0x4f5405);(0x0,this[_0x4f2996(0x1d8)][_0x4f2996(0x1e0)](_0x4f5405)[_0x4f2996(0x1ce)])(_0x453e8b)&&_0x6d14a7[_0x4f2996(0x1f9)](_0x453e8b);}}),this[_0x4dd433(0x1d2)](_0x4abaf1,_0x4dd433(0x1dd),()=>{const _0x482e0a=_0x4dd433;for(const _0x4452e1 of this[_0x482e0a(0x1cb)]){this[_0x482e0a(0x1fa)][_0x482e0a(0x1e0)](_0x4452e1)[_0x482e0a(0x1f9)](null);}}),this[_0x4dd433(0x1d2)](_0x4abaf1[_0x4dd433(0x1f2)],_0x4dd433(0x1ee),(_0x2d275d,_0x251a81)=>{const _0x5520ac=_0x4dd433;this[_0x5520ac(0x1d3)](_0x251a81);});}[_0x14a00b(0x1d9)](){const _0x297e8f=_0x14a00b;return this[_0x297e8f(0x1cb)][_0x297e8f(0x1eb)]>0x0;}[_0x14a00b(0x1ca)](_0x362aa2){const _0x4c2183=_0x14a00b;return this[_0x4c2183(0x1cb)][_0x4c2183(0x202)](_0x362aa2);}[_0x14a00b(0x1ed)](_0x205b71,_0x1410ea=this[_0x14a00b(0x20a)]){const _0x331c46=_0x14a00b,_0x16a34f=this[_0x331c46(0x1cc)][_0x331c46(0x1cd)][_0x331c46(0x1e0)](_0x2f6849);if(!this[_0x331c46(0x1fa)][_0x331c46(0x202)](_0x205b71))throw new _0x2acdb3(_0x331c46(0x203),this,{'uiName':_0x205b71});this[_0x331c46(0x1ca)](_0x205b71)&&this[_0x331c46(0x1f8)](_0x205b71),this[_0x331c46(0x1cb)][_0x331c46(0x1ee)](_0x205b71);const _0x36898b=new _0x34ab7d(),_0x372fd1=_0x16a34f[_0x331c46(0x1f2)];_0xa5a710({'source':_0x372fd1,'target':_0x36898b,'filter':_0x1410ea}),this[_0x331c46(0x1d8)][_0x331c46(0x1d6)](_0x205b71,{'collection':_0x36898b,'filter':_0x1410ea});const _0x55e222=this[_0x331c46(0x1fa)][_0x331c46(0x1e0)](_0x205b71);_0x55e222[_0x331c46(0x1e5)](_0x36898b),this[_0x331c46(0x1d2)](_0x55e222,_0x331c46(0x208),(_0xf15e5b,_0x480314,_0x2f74e4,_0x399769)=>{const _0x2eb466=_0x331c46;_0x399769&&_0x16a34f[_0x2eb466(0x1d5)](_0x399769),_0x2f74e4&&_0x16a34f[_0x2eb466(0x1f6)](_0x2f74e4);});}[_0x14a00b(0x1f8)](_0x49ab21){const _0x1dbe74=_0x14a00b;if(this[_0x1dbe74(0x1cb)][_0x1dbe74(0x207)](_0x49ab21),!this[_0x1dbe74(0x1fa)][_0x1dbe74(0x202)](_0x49ab21))throw new _0x2acdb3(_0x1dbe74(0x203),this,{'uiName':_0x49ab21});const _0x7a1d19=this[_0x1dbe74(0x1fa)][_0x1dbe74(0x1e0)](_0x49ab21);_0x7a1d19[_0x1dbe74(0x1e2)](),this[_0x1dbe74(0x1ff)](_0x7a1d19),this[_0x1dbe74(0x1d8)][_0x1dbe74(0x1e0)](_0x49ab21)[_0x1dbe74(0x1e9)][_0x1dbe74(0x1d7)](),this[_0x1dbe74(0x1d8)][_0x1dbe74(0x207)](_0x49ab21);}[_0x14a00b(0x1fb)](_0x58ae1b){const _0x137e70=_0x14a00b;if(!this[_0x137e70(0x1fa)][_0x137e70(0x202)](_0x58ae1b))throw new _0x2acdb3(_0x137e70(0x203),this,{'uiName':_0x58ae1b});const _0x43eeae=this[_0x137e70(0x1cc)][_0x137e70(0x1cd)][_0x137e70(0x1e0)](_0x2f6849),_0x5c4471=Array[_0x137e70(0x1ec)](_0x43eeae[_0x137e70(0x1db)])[0x0]||null;this[_0x137e70(0x1f1)](),this[_0x137e70(0x1ed)](_0x58ae1b);const _0x2f996a=this[_0x137e70(0x1fa)][_0x137e70(0x1e0)](_0x58ae1b);_0x2f996a[_0x137e70(0x1f9)](_0x5c4471),_0x2f996a[_0x137e70(0x1f5)]&&_0x5c4471&&_0x2f996a[_0x137e70(0x1f5)]([_0x5c4471]);}[_0x14a00b(0x1f1)](){const _0xf67405=_0x14a00b;for(const _0x25ce02 of this[_0xf67405(0x1cb)])this[_0xf67405(0x1f8)](_0x25ce02);}[_0x14a00b(0x1d1)](_0x2de4f2,_0xd049d7){const _0x7ba554=_0x14a00b;if(this[_0x7ba554(0x1fa)][_0x7ba554(0x202)](_0x2de4f2))throw new _0x2acdb3(_0x7ba554(0x209));if(_0x7ba554(0x1de)!=typeof _0xd049d7[_0x7ba554(0x1e5)]||_0x7ba554(0x1de)!=typeof _0xd049d7[_0x7ba554(0x1e2)]||_0x7ba554(0x1de)!=typeof _0xd049d7[_0x7ba554(0x1f9)])throw new _0x2acdb3(_0x7ba554(0x1ea),null);this[_0x7ba554(0x1fa)][_0x7ba554(0x1d6)](_0x2de4f2,_0xd049d7);}[_0x14a00b(0x1e3)](){const _0xe69954=_0x14a00b,_0x299f36=this[_0xe69954(0x1cc)][_0xe69954(0x1cd)][_0xe69954(0x1e0)](_0x2f6849)[_0xe69954(0x1e9)],_0x3039ef=new Map(),_0x4fae56=Array[_0xe69954(0x1ec)](this[_0xe69954(0x1cb)]);for(const _0x51766e of this[_0xe69954(0x1cb)]){const _0x5ab86a=this[_0xe69954(0x1d8)][_0xe69954(0x1e0)](_0x51766e)[_0xe69954(0x1e9)];for(const _0x91fb44 of _0x5ab86a)_0x3039ef[_0xe69954(0x1d6)](_0x91fb44,_0x51766e);}for(const _0x10cbba of _0x299f36){const _0xcc6286=_0x3039ef[_0xe69954(0x1e0)](_0x10cbba);this[_0xe69954(0x1d3)](_0x10cbba);const _0x2036f8=_0x4fae56[_0xe69954(0x1e1)](_0x500e93=>this[_0xe69954(0x1d8)][_0xe69954(0x1e0)](_0x500e93)[_0xe69954(0x1ce)](_0x10cbba));_0xcc6286!==_0x2036f8&&(_0xcc6286&&this[_0xe69954(0x1d8)][_0xe69954(0x1e0)](_0xcc6286)[_0xe69954(0x1e9)][_0xe69954(0x201)](_0x10cbba),_0x2036f8&&this[_0xe69954(0x1d8)][_0xe69954(0x1e0)](_0x2036f8)[_0xe69954(0x1e9)][_0xe69954(0x1ee)](_0x10cbba));}}[_0x14a00b(0x1d7)](){const _0x23ba75=_0x14a00b;this[_0x23ba75(0x1f1)](),super[_0x23ba75(0x1d7)]();}[_0x14a00b(0x20a)](){return!0x0;}[_0x14a00b(0x1d3)](_0x1aee39){const _0x5b7d9c=_0x14a00b,_0x988709=[];for(const _0x552869 of this[_0x5b7d9c(0x1cb)]){(0x0,this[_0x5b7d9c(0x1d8)][_0x5b7d9c(0x1e0)](_0x552869)[_0x5b7d9c(0x1ce)])(_0x1aee39)&&_0x988709[_0x5b7d9c(0x205)](_0x552869);}if(_0x988709[_0x5b7d9c(0x200)]>0x1)throw new _0x2acdb3(_0x5b7d9c(0x1e6),null,{'matchedUIs':_0x988709,'annotationType':_0x1aee39[_0x5b7d9c(0x1fc)]});}}function _0x5740(){const _0x215186=['filter','2679651qMLiRS','2120HaUrVa','register','listenTo','_assertAnnotationDoesNotBelongToMultipleUIs','AnnotationsUIs','_removeActiveAnnotation','set','destroy','uisData','hasActive','2376950gCauDT','activeAnnotations','1OogRZm','_deactivateAllAnnotations','function','128BhFKEo','get','find','detach','refilterAnnotations','8830143RFdAGk','attach','annotationsuis-annotation-mismatch','requires','14kUKVjJ','collection','annotationsuis-register-invalid-interface','size','from','activate','add','_activateAnnotation','49247mBCJWL','deactivateAll','_visibleAnnotations','isPremiumPlugin','init','_setSelectedAnnotations','_addActiveAnnotation','41795aAbixo','deactivate','setActiveAnnotation','_uis','switchTo','type','isOfficialPlugin','4185144xoMjbE','stopListening','length','remove','has','annotationsuis-missing-ui','pluginName','push','3794892dQpEmA','delete','change:activeAnnotation','annotationsuis-register-already-registered','defaultFilter','isActive','activeUIs','context','plugins'];_0x5740=function(){return _0x215186;};return _0x5740();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x179851=_0x24fc;(function(_0x258261,_0x463f66){const _0x296e03=_0x24fc,_0x18c3ac=_0x258261();while(!![]){try{const _0x31773c=-parseInt(_0x296e03(0x128))/0x1+-parseInt(_0x296e03(0x135))/0x2+parseInt(_0x296e03(0x117))/0x3+-parseInt(_0x296e03(0x130))/0x4+-parseInt(_0x296e03(0x100))/0x5+-parseInt(_0x296e03(0x11c))/0x6*(-parseInt(_0x296e03(0x127))/0x7)+parseInt(_0x296e03(0x129))/0x8;if(_0x31773c===_0x463f66)break;else _0x18c3ac['push'](_0x18c3ac['shift']());}catch(_0x563bd4){_0x18c3ac['push'](_0x18c3ac['shift']());}}}(_0x54a3,0xad3e2));function _0x54a3(){const _0x49a01d=['containsRange','change:range','EditorAnnotations','refreshSelectedViews','function','3509276sDWmlx','_dataCollectors','add','change:isFocused','sort','1974956jGUxqf','registerAnnotation','document','push','cancel','delete','editor','editorannotations-invalid-source-callback','plugins','1546050auqliz','innerView','range','set','requires','isPremiumPlugin','init','annotation','collection','_editorAnnotations','model','getRanges','uiUpdate','update','listenTo','remove','view','focusTracker','_editorAnnotationsData','addSourceCollector','blur','getByInnerView','element','2228763zbMQzq','fire','from','refresh','selection','453438pTDEry','editing','map','directChange','get','getOrderedSelectedAnnotations','isOfficialPlugin','pluginName','isEqual','isCollapsed','has','63jDHeyw','485957OVPSfg','15571904gTMQXi','hasDomSelection'];_0x54a3=function(){return _0x49a01d;};return _0x54a3();}import{Plugin as _0x3a5f67}from'ckeditor5/src/core.js';function _0x24fc(_0x58f98b,_0x2d5d11){const _0x54a3d1=_0x54a3();return _0x24fc=function(_0x24fc1a,_0x24243e){_0x24fc1a=_0x24fc1a-0xfd;let _0x4da081=_0x54a3d1[_0x24fc1a];return _0x4da081;},_0x24fc(_0x58f98b,_0x2d5d11);}import{CKEditorError as _0x54e1cd}from'ckeditor5/src/utils.js';import{debounce as _0x3818c0}from'es-toolkit/compat';import{Annotations as _0x49ba54}from'./annotations.js';export class EditorAnnotations extends _0x3a5f67{[_0x179851(0x131)];[_0x179851(0x109)];static get[_0x179851(0x104)](){return[_0x49ba54];}static get[_0x179851(0x123)](){const _0x421757=_0x179851;return _0x421757(0x12d);}static get[_0x179851(0x122)](){return!0x0;}static get[_0x179851(0x105)](){return!0x0;}constructor(_0x43b138){const _0x5f3d43=_0x179851;super(_0x43b138),this[_0x5f3d43(0x131)]=new Set(),this[_0x5f3d43(0x109)]=new Set();}[_0x179851(0x106)](){const _0x2295dd=_0x179851,_0x4fe3cc=this[_0x2295dd(0xfd)],_0x293eb8=_0x4fe3cc[_0x2295dd(0x10a)][_0x2295dd(0x137)][_0x2295dd(0x11b)],_0xd6d2b4=_0x3818c0(()=>this[_0x2295dd(0x12e)](),0xa);_0x293eb8['on'](_0x2295dd(0x12c),(_0x59b5ac,_0x4017d8)=>{const _0x4f5291=_0x2295dd;_0x4017d8[_0x4f5291(0x11f)]&&(_0xd6d2b4[_0x4f5291(0x139)](),this[_0x4f5291(0x12e)]());}),this[_0x2295dd(0x10e)](_0x4fe3cc[_0x2295dd(0x11d)][_0x2295dd(0x110)][_0x2295dd(0x137)],_0x2295dd(0x133),(_0x415cce,_0x52ee7b,_0x149336)=>{_0x149336&&_0xd6d2b4();}),this[_0x2295dd(0x10e)](_0x4fe3cc['ui'][_0x2295dd(0x111)],_0x2295dd(0x133),(_0x3fdf63,_0x3b4b0d,_0x14df86)=>{const _0x90e163=_0x2295dd;_0x14df86||this[_0x90e163(0x118)](_0x90e163(0x114),{'isAnnotationTracked':_0x4d3ab7=>this[_0x90e163(0x112)][_0x90e163(0x126)](_0x4d3ab7[_0x90e163(0x101)])});}),this[_0x2295dd(0x10e)](this[_0x2295dd(0xfd)]['ui'],_0x2295dd(0x10d),()=>this[_0x2295dd(0x118)](_0x2295dd(0x10c)));}[_0x179851(0x136)](_0xd12fe4){const _0x2e0806=_0x179851;if(this[_0x2e0806(0x109)][_0x2e0806(0x126)](_0xd12fe4[_0x2e0806(0x110)]))return;this[_0x2e0806(0x109)][_0x2e0806(0x132)](_0xd12fe4[_0x2e0806(0x110)]),this[_0x2e0806(0xfd)]['ui'][_0x2e0806(0x111)][_0x2e0806(0x132)](_0xd12fe4[_0x2e0806(0x110)][_0x2e0806(0x116)]);const _0x1de73a=this[_0x2e0806(0xfd)][_0x2e0806(0xff)][_0x2e0806(0x120)](_0x49ba54);this[_0x2e0806(0x10e)](_0x1de73a[_0x2e0806(0x108)],_0x2e0806(0x10f),(_0x1fc9f0,_0x4a8328)=>{const _0x1e3325=_0x2e0806;this[_0x1e3325(0xfd)]['ui'][_0x1e3325(0x111)][_0x1e3325(0x10f)](_0x4a8328[_0x1e3325(0x110)][_0x1e3325(0x116)]),this[_0x1e3325(0x109)][_0x1e3325(0x13a)](_0x4a8328[_0x1e3325(0x110)]);});}[_0x179851(0x12a)](){const _0x2df998=_0x179851;return this[_0x2df998(0xfd)][_0x2df998(0x11d)][_0x2df998(0x110)][_0x2df998(0x12a)];}[_0x179851(0x113)](_0x54add0){const _0x9eb8e1=_0x179851;if(_0x9eb8e1(0x12f)!=typeof _0x54add0)throw new _0x54e1cd(_0x9eb8e1(0xfe));this[_0x9eb8e1(0x131)][_0x9eb8e1(0x132)](_0x54add0);}[_0x179851(0x12e)](){const _0x5745b2=_0x179851;this[_0x5745b2(0x118)](_0x5745b2(0x11a));}[_0x179851(0x121)]({activeAnnotation:_0x458866,annotations:_0xa377e3}){const _0xd1bc16=_0x179851,_0x4eca5b=[],_0x55ea15=this[_0xd1bc16(0xfd)][_0xd1bc16(0x10a)][_0xd1bc16(0x137)][_0xd1bc16(0x11b)],_0x58ec7c=Array[_0xd1bc16(0x119)](_0x55ea15[_0xd1bc16(0x10b)]());for(const [_0x2efad7,_0x565694]of this[_0xd1bc16(0x112)]){const _0x34e0bf=_0xdc8b07(_0x565694),_0x4b576a=_0xa377e3[_0xd1bc16(0x115)](_0x2efad7);_0x34e0bf&&_0x4b576a&&_0x4eca5b[_0xd1bc16(0x138)]({'annotation':_0x4b576a,'range':_0x34e0bf});}function _0xdc8b07(_0x3cec14){const _0x434d40=_0xd1bc16;for(const _0x384b28 of _0x3cec14)for(const _0x58ded5 of _0x58ec7c)if(_0x384b28[_0x434d40(0x12b)](_0x58ded5,!_0x55ea15[_0x434d40(0x125)]))return _0x384b28;return null;}return _0x4eca5b[_0xd1bc16(0x134)]((_0x329cf9,_0x8bc1b1)=>{const _0x5e15e5=_0xd1bc16,_0x3b1998=_0x329cf9[_0x5e15e5(0x102)],_0x2394df=_0x8bc1b1[_0x5e15e5(0x102)];if(!_0x3b1998[_0x5e15e5(0x124)](_0x2394df)){if(_0x3b1998[_0x5e15e5(0x12b)](_0x2394df,!0x0))return 0x1;if(_0x2394df[_0x5e15e5(0x12b)](_0x3b1998,!0x0))return-0x1;}return _0x329cf9[_0x5e15e5(0x107)]==_0x458866?-0x1:_0x8bc1b1[_0x5e15e5(0x107)]==_0x458866?0x1:0x0;})[_0xd1bc16(0x11e)](_0x561be3=>_0x561be3[_0xd1bc16(0x107)]);}get[_0x179851(0x112)](){const _0x2b4f48=_0x179851,_0x568b10=new Map();for(const _0x5ec2ed of Array[_0x2b4f48(0x119)](this[_0x2b4f48(0x131)]))for(const [_0x3bb05,_0x40b772]of _0x5ec2ed())_0x568b10[_0x2b4f48(0x103)](_0x3bb05,_0x40b772);return _0x568b10;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x647de6=_0x27ce;(function(_0x3f82ab,_0x581258){const _0x2155af=_0x27ce,_0xdd7c54=_0x3f82ab();while(!![]){try{const _0xad2318=parseInt(_0x2155af(0x19a))/0x1*(parseInt(_0x2155af(0x1e7))/0x2)+-parseInt(_0x2155af(0x193))/0x3+parseInt(_0x2155af(0x1cd))/0x4+-parseInt(_0x2155af(0x1d6))/0x5*(parseInt(_0x2155af(0x1a4))/0x6)+parseInt(_0x2155af(0x18a))/0x7*(-parseInt(_0x2155af(0x1d8))/0x8)+-parseInt(_0x2155af(0x1d3))/0x9*(-parseInt(_0x2155af(0x196))/0xa)+parseInt(_0x2155af(0x1b1))/0xb*(parseInt(_0x2155af(0x1b9))/0xc);if(_0xad2318===_0x581258)break;else _0xdd7c54['push'](_0xdd7c54['shift']());}catch(_0x1e16d2){_0xdd7c54['push'](_0xdd7c54['shift']());}}}(_0x2aa1,0x44a91));import{Plugin as _0x2de216}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x240527}from'./annotationsuis.js';import{EditorAnnotations as _0x11906c}from'./editorannotations.js';import{ContextualBalloon as _0x13ac57}from'ckeditor5/src/ui.js';function _0x2aa1(){const _0x97e27d=['switchTo','uiUpdate','change:isFocused','annotations','map','visibleView','InlineAnnotations','editableElement','focusTracker','_manuallyClosed','has','init','view','targetRect','3592QEizwW','editing','top','refresh','_selectedAnnotations','_setSelectedAnnotations','collapse','document','get','_forceRefresh','_refreshVisibilityDebounced','detach','_addAnnotationToBalloon','7YXVSaM','_removeAnnotationFromBalloon','register','showStack','domConverter','inlineannotations-detach-not-attached','every','requires','updatePosition','1217301wURqqj','focus','includes','20kkgRPP','blur','Annotations','editor','128kSVkqz','target','width','find','destroy','activeAnnotation','stopListening','_closeAnnotation','getByView','bottom','1112616tVJFly','push','getFirstRange','change:height','selection','_balloon','remove','_getBalloonTargetForAnnotation','isFocused','attach','getBoundingClientRect','right','isPremiumPlugin','143BPfYyE','update','Esc','getOrderedSelectedAnnotations','_addedAnnotations','change:visibleView','clear','isAttached','1147980CTzapv','plugins','fromRect','add','hasActive','addObserver','keystrokes','pluginName','isOfficialPlugin','cancel','getClientRects','set','setActiveAnnotation','inlineannotations-attach-already-attached','length','mousedown','afterInit','left','listenTo','viewRangeToDom','380384Jcokpv','hasView','isActive','from','delete','refreshVisibility','1002546dwztNL','context','inlineannotations-not-allowed-with-context','15kDjjCr','inline','4384872KxpwFL'];_0x2aa1=function(){return _0x97e27d;};return _0x2aa1();}import{MouseObserver as _0x28b762}from'ckeditor5/src/engine.js';import{CKEditorError as _0x530b27,Rect as _0x4319dc}from'ckeditor5/src/utils.js';import{debounce as _0x9a741d}from'es-toolkit/compat';import'./../../theme/annotation-inline.css';export class InlineAnnotations extends _0x2de216{[_0x647de6(0x1b8)];[_0x647de6(0x1dc)];[_0x647de6(0x1e2)];[_0x647de6(0x1a9)];[_0x647de6(0x1b5)];[_0x647de6(0x1eb)];[_0x647de6(0x1f0)];[_0x647de6(0x1f1)];static get[_0x647de6(0x191)](){return[_0x11906c,_0x13ac57,_0x240527];}static get[_0x647de6(0x1c0)](){const _0x516312=_0x647de6;return _0x516312(0x1df);}static get[_0x647de6(0x1c1)](){return!0x0;}static get[_0x647de6(0x1b0)](){return!0x0;}constructor(_0x3a9853){const _0x1cc4eb=_0x647de6;super(_0x3a9853),_0x3a9853[_0x1cc4eb(0x1e8)][_0x1cc4eb(0x1e5)][_0x1cc4eb(0x1be)](_0x28b762),this[_0x1cc4eb(0x1b8)]=!0x1,this[_0x1cc4eb(0x1c4)](_0x1cc4eb(0x19f),null),this[_0x1cc4eb(0x1dc)]=null,this[_0x1cc4eb(0x1e2)]=new Set(),this[_0x1cc4eb(0x1a9)]=_0x3a9853[_0x1cc4eb(0x1ba)][_0x1cc4eb(0x1ef)](_0x13ac57),this[_0x1cc4eb(0x1b5)]=new Set(),this[_0x1cc4eb(0x1eb)]=[],this[_0x1cc4eb(0x1f0)]=!0x1,this[_0x1cc4eb(0x1f1)]=_0x9a741d(()=>{const _0x39883e=_0x1cc4eb;this[_0x39883e(0x199)][_0x39883e(0x1ba)][_0x39883e(0x1ef)](_0x39883e(0x198))[_0x39883e(0x1d2)]();},0xfa,{'leading':!0x1});}[_0x647de6(0x1e4)](){const _0x318fe8=_0x647de6,_0x4e4f74=this[_0x318fe8(0x199)][_0x318fe8(0x1ba)][_0x318fe8(0x1ef)](_0x240527);_0x4e4f74[_0x318fe8(0x1d4)]===this[_0x318fe8(0x199)]&&(_0x4e4f74[_0x318fe8(0x18c)](_0x318fe8(0x1d7),this),this[_0x318fe8(0x199)][_0x318fe8(0x1bf)][_0x318fe8(0x1c4)](_0x318fe8(0x1b3),(_0x329ed7,_0x15a5f2)=>{const _0x3198fa=_0x318fe8,_0x415405=this[_0x3198fa(0x1a9)];if(this[_0x3198fa(0x1b8)]&&_0x415405[_0x3198fa(0x1de)]){const _0x3c84a3=this[_0x3198fa(0x1dc)][_0x3198fa(0x1a2)](_0x415405[_0x3198fa(0x1de)]);_0x3c84a3&&this[_0x3198fa(0x1a1)](_0x3c84a3),_0x15a5f2();}}));}[_0x647de6(0x1c9)](){const _0x55cebc=_0x647de6,_0x21e2f3=this[_0x55cebc(0x199)][_0x55cebc(0x1ba)][_0x55cebc(0x1ef)](_0x240527);_0x21e2f3[_0x55cebc(0x1d4)]===this[_0x55cebc(0x199)]&&(_0x21e2f3[_0x55cebc(0x1bd)]()||_0x21e2f3[_0x55cebc(0x1d9)](_0x55cebc(0x1d7)));}[_0x647de6(0x1c5)](_0xfdd949){const _0x5aad12=_0x647de6;_0xfdd949!==this[_0x5aad12(0x19f)]&&(this[_0x5aad12(0x19f)]&&(this[_0x5aad12(0x19f)][_0x5aad12(0x1cf)]=!0x1),_0xfdd949&&this[_0x5aad12(0x199)]['ui'][_0x5aad12(0x1e1)][_0x5aad12(0x1ac)]&&(this[_0x5aad12(0x1dc)][_0x5aad12(0x1e3)](_0xfdd949)&&this[_0x5aad12(0x189)](_0xfdd949,!0x0),_0xfdd949[_0x5aad12(0x1cf)]=!0x0),_0xfdd949||this[_0x5aad12(0x1ec)]([]),this[_0x5aad12(0x19f)]=_0xfdd949);}[_0x647de6(0x1ad)](_0x440a02){const _0xdbf021=_0x647de6;this[_0xdbf021(0x1dc)]=_0x440a02;const _0x431043=this[_0xdbf021(0x199)][_0xdbf021(0x1ba)][_0xdbf021(0x1ef)](_0x240527),_0x3058f1=this[_0xdbf021(0x1a9)];if(this[_0xdbf021(0x1b8)])throw new _0x530b27(_0xdbf021(0x1c6),this);if(_0x431043[_0xdbf021(0x1d4)]!==this[_0xdbf021(0x199)])throw new _0x530b27(_0xdbf021(0x1d5),this);const _0x5db8db=this[_0xdbf021(0x199)][_0xdbf021(0x1ba)][_0xdbf021(0x1ef)](_0x11906c);this[_0xdbf021(0x1cb)](_0x5db8db,_0xdbf021(0x1ea),()=>{const _0x263864=_0xdbf021,_0x56e8ab=_0x5db8db[_0x263864(0x1b4)]({'annotations':this[_0x263864(0x1dc)],'activeAnnotation':this[_0x263864(0x19f)]});var _0x4e17e6,_0x279749;!this[_0x263864(0x1f0)]&&(_0x4e17e6=_0x56e8ab,_0x279749=this[_0x263864(0x1eb)],_0x4e17e6[_0x263864(0x1c7)]===_0x279749[_0x263864(0x1c7)]&&_0x4e17e6[_0x263864(0x190)](_0x31a7ce=>_0x279749[_0x263864(0x195)](_0x31a7ce)))||(this[_0x263864(0x1f0)]=!0x1,this[_0x263864(0x1ec)](_0x56e8ab),this[_0x263864(0x1c5)](_0x56e8ab[0x0]||null));}),this[_0xdbf021(0x1cb)](_0x5db8db,_0xdbf021(0x197),(_0x524f6d,{isAnnotationTracked:_0xa039ef})=>{const _0x2a3ce6=_0xdbf021;this[_0x2a3ce6(0x19f)]&&_0xa039ef(this[_0x2a3ce6(0x19f)])&&(this[_0x2a3ce6(0x1ec)]([]),this[_0x2a3ce6(0x1c5)](null));}),this[_0xdbf021(0x1cb)](_0x5db8db,_0xdbf021(0x1da),()=>{const _0x1903e9=_0xdbf021;this[_0x1903e9(0x1f1)]();}),this[_0xdbf021(0x1cb)](this[_0xdbf021(0x199)]['ui'][_0xdbf021(0x1e1)],_0xdbf021(0x1db),(_0x4b55e8,_0x11fe56,_0x5daf7e)=>{const _0x2e1b10=_0xdbf021;_0x5daf7e||this[_0x2e1b10(0x1c5)](null);}),this[_0xdbf021(0x1cb)](_0x440a02,_0xdbf021(0x1aa),(_0x415883,_0x4ce961)=>{const _0xda2ff6=_0xdbf021;this[_0xda2ff6(0x18b)](_0x4ce961),_0x4ce961===this[_0xda2ff6(0x19f)]&&this[_0xda2ff6(0x1c5)](null);}),this[_0xdbf021(0x1cb)](_0x3058f1,_0xdbf021(0x1b6),(_0x513892,_0xcc7e1a,_0x55fad7,_0x4996f6)=>{const _0x105ad4=_0xdbf021;_0x4996f6&&this[_0x105ad4(0x1a0)](_0x4996f6);const _0x265e30=_0x440a02[_0x105ad4(0x1a2)](_0x55fad7);_0x55fad7&&_0x265e30&&(this[_0x105ad4(0x1cb)](_0x55fad7,_0x105ad4(0x1a7),()=>{const _0x2962fb=_0x105ad4;_0x3058f1[_0x2962fb(0x192)]();}),this[_0x105ad4(0x1cb)](_0x55fad7,_0x105ad4(0x1b3),()=>{const _0x1a1f3f=_0x105ad4;this[_0x1a1f3f(0x1a1)](_0x265e30),this[_0x1a1f3f(0x199)][_0x1a1f3f(0x1e8)][_0x1a1f3f(0x1e5)][_0x1a1f3f(0x194)]();}),this[_0x105ad4(0x19f)]!==_0x265e30&&this[_0x105ad4(0x1c5)](_0x265e30));}),this[_0xdbf021(0x1cb)](this[_0xdbf021(0x199)]['ui'],_0xdbf021(0x1b2),()=>{const _0x990a45=_0xdbf021;_0x3058f1[_0x990a45(0x1de)]&&(_0x440a02[_0x990a45(0x1a2)](_0x3058f1[_0x990a45(0x1de)])&&_0x3058f1[_0x990a45(0x192)]());}),this[_0xdbf021(0x1cb)](this[_0xdbf021(0x199)][_0xdbf021(0x1e8)][_0xdbf021(0x1e5)][_0xdbf021(0x1ee)],_0xdbf021(0x1c8),()=>{const _0x59cae9=_0xdbf021;this[_0x59cae9(0x1f0)]=!0x0,this[_0x59cae9(0x1e2)][_0x59cae9(0x1b7)]();}),this[_0xdbf021(0x199)][_0xdbf021(0x1e8)][_0xdbf021(0x1e5)][_0xdbf021(0x1ee)][_0xdbf021(0x1a8)][_0xdbf021(0x1e0)]&&this[_0xdbf021(0x199)][_0xdbf021(0x1e8)][_0xdbf021(0x1e5)][_0xdbf021(0x194)](),this[_0xdbf021(0x1b8)]=!0x0;}[_0x647de6(0x188)](){const _0x260fb0=_0x647de6;if(!this[_0x260fb0(0x1b8)])throw new _0x530b27(_0x260fb0(0x18f),this);this[_0x260fb0(0x1c5)](null);for(const _0x22aa68 of this[_0x260fb0(0x1b5)])this[_0x260fb0(0x18b)](_0x22aa68);this[_0x260fb0(0x1f1)][_0x260fb0(0x1c2)](),this[_0x260fb0(0x1a0)](),this[_0x260fb0(0x1b8)]=!0x1,this[_0x260fb0(0x1dc)]=null;}[_0x647de6(0x19e)](){const _0x131f94=_0x647de6;this[_0x131f94(0x1b8)]&&this[_0x131f94(0x188)](),this[_0x131f94(0x1f1)][_0x131f94(0x1c2)]();}[_0x647de6(0x1ec)](_0x2c3290){const _0x5d0e6e=_0x647de6;for(const _0x523bda of this[_0x5d0e6e(0x1eb)])_0x2c3290[_0x5d0e6e(0x195)](_0x523bda)||this[_0x5d0e6e(0x1e2)][_0x5d0e6e(0x1d1)](_0x523bda);for(const _0x7f09b3 of this[_0x5d0e6e(0x1dc)])_0x2c3290[_0x5d0e6e(0x195)](_0x7f09b3)||this[_0x5d0e6e(0x18b)](_0x7f09b3);if(this[_0x5d0e6e(0x199)]['ui'][_0x5d0e6e(0x1e1)][_0x5d0e6e(0x1ac)]){for(const _0x3ac5c5 of _0x2c3290)this[_0x5d0e6e(0x189)](_0x3ac5c5);}this[_0x5d0e6e(0x1eb)]=_0x2c3290;}[_0x647de6(0x189)](_0x405b97,_0x459930=!0x1){const _0x44a733=_0x647de6;this[_0x44a733(0x1e2)][_0x44a733(0x1e3)](_0x405b97)||(this[_0x44a733(0x1b5)][_0x44a733(0x1e3)](_0x405b97)||this[_0x44a733(0x1a9)][_0x44a733(0x1ce)](_0x405b97[_0x44a733(0x1e5)])||(this[_0x44a733(0x1b5)][_0x44a733(0x1bc)](_0x405b97),this[_0x44a733(0x1a9)][_0x44a733(0x1bc)]({'stackId':_0x405b97[_0x44a733(0x1e5)]['id'],'view':_0x405b97[_0x44a733(0x1e5)],'position':{'target':()=>this[_0x44a733(0x1ab)](_0x405b97)}})),_0x459930&&this[_0x44a733(0x1a9)][_0x44a733(0x18d)](_0x405b97[_0x44a733(0x1e5)]['id']));}[_0x647de6(0x1ab)](_0x2a5405){const _0x2d97eb=_0x647de6,_0x4c9d84=_0x2a5405[_0x2d97eb(0x19b)],_0x15f691=this[_0x2d97eb(0x199)][_0x2d97eb(0x1e8)][_0x2d97eb(0x1e5)],_0x4f2a66=_0x15f691[_0x2d97eb(0x1ee)][_0x2d97eb(0x1a8)][_0x2d97eb(0x1a6)](),_0x1f23db=_0x15f691[_0x2d97eb(0x18e)][_0x2d97eb(0x1cc)](_0x4f2a66);if(_0x1f23db[_0x2d97eb(0x1ed)](!0x0),_0x4c9d84){if(_0x4c9d84 instanceof _0x4319dc)return _0x4c9d84;let _0x4d2130=[];for(const _0x2932e6 of _0x4c9d84)_0x4d2130[_0x2d97eb(0x1a5)](...F(_0x2932e6[_0x2d97eb(0x1c3)]()));_0x4d2130=function(_0x1bd50e){const _0x13e8d4=_0x2d97eb,_0x115cd1=[];let _0x273444=_0x1bd50e[0x0];for(let _0xed92da=0x1;_0xed92da<_0x1bd50e[_0x13e8d4(0x1c7)];_0xed92da++)P(_0x273444,_0x1bd50e[_0xed92da])?_0x273444[_0x13e8d4(0x19c)]+=_0x1bd50e[_0xed92da][_0x13e8d4(0x19c)]:(_0x115cd1[_0x13e8d4(0x1a5)](_0x273444),_0x273444=_0x1bd50e[_0xed92da]);return _0x115cd1[_0x13e8d4(0x1a5)](_0x273444),_0x115cd1;}(_0x4d2130);const _0xbf1fa8=_0x1f23db[_0x2d97eb(0x1ae)]();return _0x4d2130[_0x2d97eb(0x19d)](_0x1fd831=>_0x1fd831[_0x2d97eb(0x1e9)]<=_0xbf1fa8[_0x2d97eb(0x1e9)]&&_0x1fd831[_0x2d97eb(0x1a3)]>=_0xbf1fa8[_0x2d97eb(0x1a3)]&&_0x1fd831[_0x2d97eb(0x1ca)]<=_0xbf1fa8[_0x2d97eb(0x1ca)]&&_0x1fd831[_0x2d97eb(0x1af)]>=_0xbf1fa8[_0x2d97eb(0x1af)])||_0x4d2130[0x0];}return _0x2a5405[_0x2d97eb(0x1e6)]||_0x1f23db;}[_0x647de6(0x18b)](_0x264dd2){const _0x26a4dc=_0x647de6;this[_0x26a4dc(0x1b5)][_0x26a4dc(0x1e3)](_0x264dd2)&&this[_0x26a4dc(0x1a9)][_0x26a4dc(0x1ce)](_0x264dd2[_0x26a4dc(0x1e5)])&&(this[_0x26a4dc(0x1b5)][_0x26a4dc(0x1d1)](_0x264dd2),this[_0x26a4dc(0x1a9)][_0x26a4dc(0x1aa)](_0x264dd2[_0x26a4dc(0x1e5)]));}[_0x647de6(0x1a1)](_0x102426){const _0x5e3a3d=_0x647de6;this[_0x5e3a3d(0x1e2)][_0x5e3a3d(0x1bc)](_0x102426),this[_0x5e3a3d(0x18b)](_0x102426);}}function F(_0x5a343e){const _0xd27eed=_0x647de6;return Array[_0xd27eed(0x1d0)](_0x5a343e)[_0xd27eed(0x1dd)](DOMRect[_0xd27eed(0x1bb)]);}function _0x27ce(_0x24c385,_0x13763a){const _0x2aa1cd=_0x2aa1();return _0x27ce=function(_0x27cef0,_0x22e4e8){_0x27cef0=_0x27cef0-0x188;let _0x3b17ff=_0x2aa1cd[_0x27cef0];return _0x3b17ff;},_0x27ce(_0x24c385,_0x13763a);}function P(_0x3c115a,_0x39a392){const _0x3085eb=_0x647de6;return _0x3c115a[_0x3085eb(0x1e9)]===_0x39a392[_0x3085eb(0x1e9)]&&_0x3c115a[_0x3085eb(0x1a3)]===_0x39a392[_0x3085eb(0x1a3)]&&_0x3c115a[_0x3085eb(0x1af)]===_0x39a392[_0x3085eb(0x1ca)];}
|
|
23
|
+
const _0x3a7927=_0x2a6f;(function(_0x274013,_0x4ee91d){const _0x50e706=_0x2a6f,_0x2e4ce9=_0x274013();while(!![]){try{const _0x545369=parseInt(_0x50e706(0x13d))/0x1*(parseInt(_0x50e706(0x11a))/0x2)+parseInt(_0x50e706(0x12b))/0x3+parseInt(_0x50e706(0x144))/0x4+parseInt(_0x50e706(0x13c))/0x5+-parseInt(_0x50e706(0x152))/0x6*(-parseInt(_0x50e706(0x168))/0x7)+parseInt(_0x50e706(0x15d))/0x8+parseInt(_0x50e706(0x174))/0x9*(-parseInt(_0x50e706(0x119))/0xa);if(_0x545369===_0x4ee91d)break;else _0x2e4ce9['push'](_0x2e4ce9['shift']());}catch(_0x562548){_0x2e4ce9['push'](_0x2e4ce9['shift']());}}}(_0x143e,0xc7f9e));import{Plugin as _0x89b1c}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x125174}from'./annotationsuis.js';function _0x143e(){const _0x177ae1=['editableElement','_balloon','stopListening','_removeAnnotationFromBalloon','targetRect','_closeAnnotation','addObserver','keystrokes','_manuallyClosed','context','_addedAnnotations','isOfficialPlugin','visibleView','18KEjTLv','top','set','cancel','init','switchTo','getClientRects','refresh','showStack','domConverter','change:visibleView','1268544EXLoLQ','target','Esc','document','getBoundingClientRect','right','map','focus','InlineAnnotations','every','pluginName','1289015nqrjAE','left','clear','_setSelectedAnnotations','_getBalloonTargetForAnnotation','change:height','bottom','delete','setActiveAnnotation','annotations','refreshVisibility','listenTo','6994692TaIrjC','afterInit','from','inlineannotations-detach-not-attached','has','destroy','hasActive','find','inlineannotations-attach-already-attached','view','getOrderedSelectedAnnotations','Annotations','length','40CYlsKh','441374yEGiQK','attach','isPremiumPlugin','activeAnnotation','includes','get','focusTracker','hasView','_forceRefresh','width','detach','viewRangeToDom','requires','editor','_selectedAnnotations','isActive','push','3442674xScLKS','updatePosition','collapse','editing','inline','getFirstRange','plugins','getByView','inlineannotations-not-allowed-with-context','_addAnnotationToBalloon','blur','change:isFocused','selection','register','isAttached','update','_refreshVisibilityDebounced','1180700atxwLh','4isIncJ','add','fromRect','isFocused','remove','mousedown','uiUpdate','3801620IwwOgq'];_0x143e=function(){return _0x177ae1;};return _0x143e();}import{EditorAnnotations as _0x2f0f41}from'./editorannotations.js';function _0x2a6f(_0x25c11d,_0x202e70){const _0x143e12=_0x143e();return _0x2a6f=function(_0x2a6f25,_0x4f3910){_0x2a6f25=_0x2a6f25-0x119;let _0x8eaea7=_0x143e12[_0x2a6f25];return _0x8eaea7;},_0x2a6f(_0x25c11d,_0x202e70);}import{ContextualBalloon as _0x25a7d8}from'ckeditor5/src/ui.js';import{MouseObserver as _0x2e8513}from'ckeditor5/src/engine.js';import{CKEditorError as _0x474bb6,Rect as _0x2751e5}from'ckeditor5/src/utils.js';import{debounce as _0x29b0af}from'es-toolkit/compat';import'./../../theme/annotation-inline.css';export class InlineAnnotations extends _0x89b1c{[_0x3a7927(0x139)];[_0x3a7927(0x171)];[_0x3a7927(0x14d)];[_0x3a7927(0x146)];[_0x3a7927(0x14f)];[_0x3a7927(0x128)];[_0x3a7927(0x122)];[_0x3a7927(0x13b)];static get[_0x3a7927(0x126)](){return[_0x2f0f41,_0x25a7d8,_0x125174];}static get[_0x3a7927(0x167)](){const _0x32ba8e=_0x3a7927;return _0x32ba8e(0x165);}static get[_0x3a7927(0x150)](){return!0x0;}static get[_0x3a7927(0x11c)](){return!0x0;}constructor(_0xde3b8e){const _0x1be086=_0x3a7927;super(_0xde3b8e),_0xde3b8e[_0x1be086(0x12e)][_0x1be086(0x17d)][_0x1be086(0x14b)](_0x2e8513),this[_0x1be086(0x139)]=!0x1,this[_0x1be086(0x154)](_0x1be086(0x11d),null),this[_0x1be086(0x171)]=null,this[_0x1be086(0x14d)]=new Set(),this[_0x1be086(0x146)]=_0xde3b8e[_0x1be086(0x131)][_0x1be086(0x11f)](_0x25a7d8),this[_0x1be086(0x14f)]=new Set(),this[_0x1be086(0x128)]=[],this[_0x1be086(0x122)]=!0x1,this[_0x1be086(0x13b)]=_0x29b0af(()=>{const _0x328ee5=_0x1be086;this[_0x328ee5(0x127)][_0x328ee5(0x131)][_0x328ee5(0x11f)](_0x328ee5(0x17f))[_0x328ee5(0x172)]();},0xfa,{'leading':!0x1});}[_0x3a7927(0x156)](){const _0x24dfe3=_0x3a7927,_0x254f25=this[_0x24dfe3(0x127)][_0x24dfe3(0x131)][_0x24dfe3(0x11f)](_0x125174);_0x254f25[_0x24dfe3(0x14e)]===this[_0x24dfe3(0x127)]&&(_0x254f25[_0x24dfe3(0x138)](_0x24dfe3(0x12f),this),this[_0x24dfe3(0x127)][_0x24dfe3(0x14c)][_0x24dfe3(0x154)](_0x24dfe3(0x15f),(_0x1052ca,_0x113031)=>{const _0xc038b=_0x24dfe3,_0x4a625d=this[_0xc038b(0x146)];if(this[_0xc038b(0x139)]&&_0x4a625d[_0xc038b(0x151)]){const _0x17b6e2=this[_0xc038b(0x171)][_0xc038b(0x132)](_0x4a625d[_0xc038b(0x151)]);_0x17b6e2&&this[_0xc038b(0x14a)](_0x17b6e2),_0x113031();}}));}[_0x3a7927(0x175)](){const _0x231cbe=_0x3a7927,_0x1628c9=this[_0x231cbe(0x127)][_0x231cbe(0x131)][_0x231cbe(0x11f)](_0x125174);_0x1628c9[_0x231cbe(0x14e)]===this[_0x231cbe(0x127)]&&(_0x1628c9[_0x231cbe(0x17a)]()||_0x1628c9[_0x231cbe(0x157)](_0x231cbe(0x12f)));}[_0x3a7927(0x170)](_0x8b89d9){const _0x3d97b7=_0x3a7927;_0x8b89d9!==this[_0x3d97b7(0x11d)]&&(this[_0x3d97b7(0x11d)]&&(this[_0x3d97b7(0x11d)][_0x3d97b7(0x129)]=!0x1),_0x8b89d9&&this[_0x3d97b7(0x127)]['ui'][_0x3d97b7(0x120)][_0x3d97b7(0x140)]&&(this[_0x3d97b7(0x171)][_0x3d97b7(0x178)](_0x8b89d9)&&this[_0x3d97b7(0x134)](_0x8b89d9,!0x0),_0x8b89d9[_0x3d97b7(0x129)]=!0x0),_0x8b89d9||this[_0x3d97b7(0x16b)]([]),this[_0x3d97b7(0x11d)]=_0x8b89d9);}[_0x3a7927(0x11b)](_0x524381){const _0x3c42f9=_0x3a7927;this[_0x3c42f9(0x171)]=_0x524381;const _0x122bd6=this[_0x3c42f9(0x127)][_0x3c42f9(0x131)][_0x3c42f9(0x11f)](_0x125174),_0x562cef=this[_0x3c42f9(0x146)];if(this[_0x3c42f9(0x139)])throw new _0x474bb6(_0x3c42f9(0x17c),this);if(_0x122bd6[_0x3c42f9(0x14e)]!==this[_0x3c42f9(0x127)])throw new _0x474bb6(_0x3c42f9(0x133),this);const _0x27987b=this[_0x3c42f9(0x127)][_0x3c42f9(0x131)][_0x3c42f9(0x11f)](_0x2f0f41);this[_0x3c42f9(0x173)](_0x27987b,_0x3c42f9(0x159),()=>{const _0x125225=_0x3c42f9,_0x342b69=_0x27987b[_0x125225(0x17e)]({'annotations':this[_0x125225(0x171)],'activeAnnotation':this[_0x125225(0x11d)]});var _0x238601,_0x44670d;!this[_0x125225(0x122)]&&(_0x238601=_0x342b69,_0x44670d=this[_0x125225(0x128)],_0x238601[_0x125225(0x180)]===_0x44670d[_0x125225(0x180)]&&_0x238601[_0x125225(0x166)](_0x3b99a8=>_0x44670d[_0x125225(0x11e)](_0x3b99a8)))||(this[_0x125225(0x122)]=!0x1,this[_0x125225(0x16b)](_0x342b69),this[_0x125225(0x170)](_0x342b69[0x0]||null));}),this[_0x3c42f9(0x173)](_0x27987b,_0x3c42f9(0x135),(_0x5a0268,{isAnnotationTracked:_0x183300})=>{const _0x4190d1=_0x3c42f9;this[_0x4190d1(0x11d)]&&_0x183300(this[_0x4190d1(0x11d)])&&(this[_0x4190d1(0x16b)]([]),this[_0x4190d1(0x170)](null));}),this[_0x3c42f9(0x173)](_0x27987b,_0x3c42f9(0x143),()=>{const _0x11fd00=_0x3c42f9;this[_0x11fd00(0x13b)]();}),this[_0x3c42f9(0x173)](this[_0x3c42f9(0x127)]['ui'][_0x3c42f9(0x120)],_0x3c42f9(0x136),(_0x6b2f26,_0x4e392e,_0x325c86)=>{const _0x42ce53=_0x3c42f9;_0x325c86||this[_0x42ce53(0x170)](null);}),this[_0x3c42f9(0x173)](_0x524381,_0x3c42f9(0x141),(_0x415ca2,_0xbbf2)=>{const _0x5de85d=_0x3c42f9;this[_0x5de85d(0x148)](_0xbbf2),_0xbbf2===this[_0x5de85d(0x11d)]&&this[_0x5de85d(0x170)](null);}),this[_0x3c42f9(0x173)](_0x562cef,_0x3c42f9(0x15c),(_0x2ba509,_0x4d8add,_0x2b9545,_0x4078e1)=>{const _0x3c21b9=_0x3c42f9;_0x4078e1&&this[_0x3c21b9(0x147)](_0x4078e1);const _0x2a1038=_0x524381[_0x3c21b9(0x132)](_0x2b9545);_0x2b9545&&_0x2a1038&&(this[_0x3c21b9(0x173)](_0x2b9545,_0x3c21b9(0x16d),()=>{const _0x32d690=_0x3c21b9;_0x562cef[_0x32d690(0x12c)]();}),this[_0x3c21b9(0x173)](_0x2b9545,_0x3c21b9(0x15f),()=>{const _0x3195b2=_0x3c21b9;this[_0x3195b2(0x14a)](_0x2a1038),this[_0x3195b2(0x127)][_0x3195b2(0x12e)][_0x3195b2(0x17d)][_0x3195b2(0x164)]();}),this[_0x3c21b9(0x11d)]!==_0x2a1038&&this[_0x3c21b9(0x170)](_0x2a1038));}),this[_0x3c42f9(0x173)](this[_0x3c42f9(0x127)]['ui'],_0x3c42f9(0x13a),()=>{const _0x237442=_0x3c42f9;_0x562cef[_0x237442(0x151)]&&(_0x524381[_0x237442(0x132)](_0x562cef[_0x237442(0x151)])&&_0x562cef[_0x237442(0x12c)]());}),this[_0x3c42f9(0x173)](this[_0x3c42f9(0x127)][_0x3c42f9(0x12e)][_0x3c42f9(0x17d)][_0x3c42f9(0x160)],_0x3c42f9(0x142),()=>{const _0x2e6611=_0x3c42f9;this[_0x2e6611(0x122)]=!0x0,this[_0x2e6611(0x14d)][_0x2e6611(0x16a)]();}),this[_0x3c42f9(0x127)][_0x3c42f9(0x12e)][_0x3c42f9(0x17d)][_0x3c42f9(0x160)][_0x3c42f9(0x137)][_0x3c42f9(0x145)]&&this[_0x3c42f9(0x127)][_0x3c42f9(0x12e)][_0x3c42f9(0x17d)][_0x3c42f9(0x164)](),this[_0x3c42f9(0x139)]=!0x0;}[_0x3a7927(0x124)](){const _0x1410cf=_0x3a7927;if(!this[_0x1410cf(0x139)])throw new _0x474bb6(_0x1410cf(0x177),this);this[_0x1410cf(0x170)](null);for(const _0x56fdcb of this[_0x1410cf(0x14f)])this[_0x1410cf(0x148)](_0x56fdcb);this[_0x1410cf(0x13b)][_0x1410cf(0x155)](),this[_0x1410cf(0x147)](),this[_0x1410cf(0x139)]=!0x1,this[_0x1410cf(0x171)]=null;}[_0x3a7927(0x179)](){const _0x3fd9c7=_0x3a7927;this[_0x3fd9c7(0x139)]&&this[_0x3fd9c7(0x124)](),this[_0x3fd9c7(0x13b)][_0x3fd9c7(0x155)]();}[_0x3a7927(0x16b)](_0x5c5310){const _0x15acf5=_0x3a7927;for(const _0x3cb9a4 of this[_0x15acf5(0x128)])_0x5c5310[_0x15acf5(0x11e)](_0x3cb9a4)||this[_0x15acf5(0x14d)][_0x15acf5(0x16f)](_0x3cb9a4);for(const _0x3474c6 of this[_0x15acf5(0x171)])_0x5c5310[_0x15acf5(0x11e)](_0x3474c6)||this[_0x15acf5(0x148)](_0x3474c6);if(this[_0x15acf5(0x127)]['ui'][_0x15acf5(0x120)][_0x15acf5(0x140)]){for(const _0xe189dd of _0x5c5310)this[_0x15acf5(0x134)](_0xe189dd);}this[_0x15acf5(0x128)]=_0x5c5310;}[_0x3a7927(0x134)](_0x32cd4d,_0x511bd5=!0x1){const _0x478af1=_0x3a7927;this[_0x478af1(0x14d)][_0x478af1(0x178)](_0x32cd4d)||(this[_0x478af1(0x14f)][_0x478af1(0x178)](_0x32cd4d)||this[_0x478af1(0x146)][_0x478af1(0x121)](_0x32cd4d[_0x478af1(0x17d)])||(this[_0x478af1(0x14f)][_0x478af1(0x13e)](_0x32cd4d),this[_0x478af1(0x146)][_0x478af1(0x13e)]({'stackId':_0x32cd4d[_0x478af1(0x17d)]['id'],'view':_0x32cd4d[_0x478af1(0x17d)],'position':{'target':()=>this[_0x478af1(0x16c)](_0x32cd4d)}})),_0x511bd5&&this[_0x478af1(0x146)][_0x478af1(0x15a)](_0x32cd4d[_0x478af1(0x17d)]['id']));}[_0x3a7927(0x16c)](_0x31cfad){const _0x57fa39=_0x3a7927,_0x21d0fc=_0x31cfad[_0x57fa39(0x15e)],_0x375b0d=this[_0x57fa39(0x127)][_0x57fa39(0x12e)][_0x57fa39(0x17d)],_0x13a208=_0x375b0d[_0x57fa39(0x160)][_0x57fa39(0x137)][_0x57fa39(0x130)](),_0x30a606=_0x375b0d[_0x57fa39(0x15b)][_0x57fa39(0x125)](_0x13a208);if(_0x30a606[_0x57fa39(0x12d)](!0x0),_0x21d0fc){if(_0x21d0fc instanceof _0x2751e5)return _0x21d0fc;let _0x1b92e3=[];for(const _0xc56b91 of _0x21d0fc)_0x1b92e3[_0x57fa39(0x12a)](...F(_0xc56b91[_0x57fa39(0x158)]()));_0x1b92e3=function(_0x5788d7){const _0x54730a=_0x57fa39,_0x36697f=[];let _0x2d7213=_0x5788d7[0x0];for(let _0x3beb9c=0x1;_0x3beb9c<_0x5788d7[_0x54730a(0x180)];_0x3beb9c++)P(_0x2d7213,_0x5788d7[_0x3beb9c])?_0x2d7213[_0x54730a(0x123)]+=_0x5788d7[_0x3beb9c][_0x54730a(0x123)]:(_0x36697f[_0x54730a(0x12a)](_0x2d7213),_0x2d7213=_0x5788d7[_0x3beb9c]);return _0x36697f[_0x54730a(0x12a)](_0x2d7213),_0x36697f;}(_0x1b92e3);const _0x230b0c=_0x30a606[_0x57fa39(0x161)]();return _0x1b92e3[_0x57fa39(0x17b)](_0xca23e=>_0xca23e[_0x57fa39(0x153)]<=_0x230b0c[_0x57fa39(0x153)]&&_0xca23e[_0x57fa39(0x16e)]>=_0x230b0c[_0x57fa39(0x16e)]&&_0xca23e[_0x57fa39(0x169)]<=_0x230b0c[_0x57fa39(0x169)]&&_0xca23e[_0x57fa39(0x162)]>=_0x230b0c[_0x57fa39(0x162)])||_0x1b92e3[0x0];}return _0x31cfad[_0x57fa39(0x149)]||_0x30a606;}[_0x3a7927(0x148)](_0x2fc296){const _0x5c291a=_0x3a7927;this[_0x5c291a(0x14f)][_0x5c291a(0x178)](_0x2fc296)&&this[_0x5c291a(0x146)][_0x5c291a(0x121)](_0x2fc296[_0x5c291a(0x17d)])&&(this[_0x5c291a(0x14f)][_0x5c291a(0x16f)](_0x2fc296),this[_0x5c291a(0x146)][_0x5c291a(0x141)](_0x2fc296[_0x5c291a(0x17d)]));}[_0x3a7927(0x14a)](_0xb42aa){const _0x30a8ed=_0x3a7927;this[_0x30a8ed(0x14d)][_0x30a8ed(0x13e)](_0xb42aa),this[_0x30a8ed(0x148)](_0xb42aa);}}function F(_0x1160f1){const _0x240eaa=_0x3a7927;return Array[_0x240eaa(0x176)](_0x1160f1)[_0x240eaa(0x163)](DOMRect[_0x240eaa(0x13f)]);}function P(_0x4ec644,_0x306d41){const _0x2ac4de=_0x3a7927;return _0x4ec644[_0x2ac4de(0x153)]===_0x306d41[_0x2ac4de(0x153)]&&_0x4ec644[_0x2ac4de(0x16e)]===_0x306d41[_0x2ac4de(0x16e)]&&_0x4ec644[_0x2ac4de(0x162)]===_0x306d41[_0x2ac4de(0x169)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x92be(){const _0x1fb4d8=['esc','keydown','742740YEeOUG','set:container','Esc','3348SXWkTA','northArrowSouthEast','execute','isOfficialPlugin','attach','stop','_selectedAnnotations','refresh','_showBalloon','_destroyEditorAnnotationsIntegration','_updateBalloonPosition','_editorAnnotations','unpin','_detachFromContainer','_manuallyClosedAnnotationViews','NarrowSidebar','328oUUwiW','destroy','first','narrowsidebar-attach-already-attached','element','remove','content','refreshVisibility','preventClosingBalloon','_setSelectedAnnotations','Annotations','southArrowNorthWest','find','type','mousedown','target','register','isDirty','narrowSidebar','ready','1111CJBHMY','focusableElements','high','off','balloonPanelView','pin','_annotations','annotationType','set','609703mFKLQx','18CuxVFV','5AVCmgE','keyCode','addEventListener','getSidebarItemView','locale','northArrowSouth','requires','editors','southArrowNorthEast','stopPropagation','has','blur','addAnnotation','detach','_attachToContainer','values','preventDefault','delete','stopListening','resize','annotations','defaultPositions','activeAnnotation','4100350ZPxiEh','narrowsidebar-detach-not-attached','context','_attachListeners','_domEmitter','isPremiumPlugin','903126XSEGkf','rearrange','_hideBalloon','init','low','change:height','number','view','_refreshPositioningDebounced','add','change:container','pluginName','northArrowSouthWest','contains','hasDomSelection','includes','plugins','setActiveAnnotation','537mcGUAf','63301Iqzebu','isVisible','EditorAnnotations','bind','uiUpdate','refreshPositioning','getByView','_detachListeners','detachFromDom','attachToDom','get','from','clear','removeEventListener','bodyCollection','_integrateWithEditorAnnotations','getOrderedSelectedAnnotations','ck-sidebar--narrow','_refreshPositioning','length','isAttached','cancel','listenTo','_annotationToNarrowView','southArrowNorth','9540vddenc','focus'];_0x92be=function(){return _0x1fb4d8;};return _0x92be();}const _0x37107b=_0x395d;function _0x395d(_0x89dc36,_0x466e60){const _0x92be9d=_0x92be();return _0x395d=function(_0x395d56,_0x55fe07){_0x395d56=_0x395d56-0x11b;let _0x340227=_0x92be9d[_0x395d56];return _0x340227;},_0x395d(_0x89dc36,_0x466e60);}(function(_0x218fc2,_0xadb15d){const _0xe26d3f=_0x395d,_0x3ba595=_0x218fc2();while(!![]){try{const _0x30d919=parseInt(_0xe26d3f(0x11f))/0x1+-parseInt(_0xe26d3f(0x13e))/0x2+parseInt(_0xe26d3f(0x150))/0x3*(-parseInt(_0xe26d3f(0x171))/0x4)+parseInt(_0xe26d3f(0x121))/0x5*(-parseInt(_0xe26d3f(0x16e))/0x6)+parseInt(_0xe26d3f(0x151))/0x7*(-parseInt(_0xe26d3f(0x181))/0x8)+-parseInt(_0xe26d3f(0x120))/0x9*(-parseInt(_0xe26d3f(0x138))/0xa)+-parseInt(_0xe26d3f(0x195))/0xb*(-parseInt(_0xe26d3f(0x16a))/0xc);if(_0x30d919===_0xadb15d)break;else _0x3ba595['push'](_0x3ba595['shift']());}catch(_0x2ebd1f){_0x3ba595['push'](_0x3ba595['shift']());}}}(_0x92be,0x651b1));import{ContextPlugin as _0x345ac4,Context as _0x4fc923}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0xcf7f26}from'./annotationsuis.js';import{Sidebar as _0x30a52a}from'./sidebar.js';import{AnnotationCounterButtonView as _0x51de31}from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x2f8ac7,BodyCollection as _0x2bd98c}from'ckeditor5/src/ui.js';import{CKEditorError as _0x1e68b0,DomEmitterMixin as _0x287101,keyCodes as _0x5535b1,Collection as _0x172d05}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x4d0c3d}from'es-toolkit/compat';export class NarrowSidebar extends _0x345ac4{[_0x37107b(0x165)];[_0x37107b(0x135)];[_0x37107b(0x17f)];[_0x37107b(0x13c)];[_0x37107b(0x168)];[_0x37107b(0x177)];[_0x37107b(0x17c)];[_0x37107b(0x146)];static get[_0x37107b(0x127)](){return[_0x30a52a,_0xcf7f26];}static get[_0x37107b(0x149)](){const _0x573bf6=_0x37107b;return _0x573bf6(0x180);}static get[_0x37107b(0x174)](){return!0x0;}static get[_0x37107b(0x13d)](){return!0x0;}constructor(_0x1341fa){const _0x10a4f1=_0x37107b;super(_0x1341fa),this[_0x10a4f1(0x165)]=!0x1,this[_0x10a4f1(0x17f)]=new Set(),this[_0x10a4f1(0x13c)]=new(_0x287101())(),this[_0x10a4f1(0x168)]=new Map(),this[_0x10a4f1(0x11e)](_0x10a4f1(0x137),null),this[_0x10a4f1(0x135)]=null,this[_0x10a4f1(0x177)]=[],this[_0x10a4f1(0x17c)]=new _0x172d05(),this[_0x10a4f1(0x146)]=_0x4d0c3d(()=>{const _0x2ea381=_0x10a4f1;this[_0x2ea381(0x163)]();},0xfa,{'leading':!0x1});}[_0x37107b(0x141)](){const _0x533dda=_0x37107b;this[_0x533dda(0x13a)][_0x533dda(0x14e)][_0x533dda(0x15b)](_0xcf7f26)[_0x533dda(0x191)](_0x533dda(0x193),this),this[_0x533dda(0x15f)]=new _0x2bd98c(this[_0x533dda(0x13a)][_0x533dda(0x125)]),this[_0x533dda(0x199)]=new _0x2f8ac7(this[_0x533dda(0x13a)][_0x533dda(0x125)]),this[_0x533dda(0x15f)][_0x533dda(0x15a)](),this[_0x533dda(0x15f)][_0x533dda(0x147)](this[_0x533dda(0x199)]);}[_0x37107b(0x175)](_0x47613c){const _0x3bec36=_0x37107b;this[_0x3bec36(0x135)]=_0x47613c;const _0x2fb8e0=this[_0x3bec36(0x13a)][_0x3bec36(0x14e)][_0x3bec36(0x15b)](_0x30a52a),_0x2098e0=this[_0x3bec36(0x199)];if(_0x2fb8e0[_0x3bec36(0x11c)]=_0x47613c,this[_0x3bec36(0x165)])throw new _0x1e68b0(_0x3bec36(0x184),this);this[_0x3bec36(0x165)]=!0x0,this[_0x3bec36(0x167)](_0x2fb8e0,_0x3bec36(0x16f),()=>{const _0x566923=_0x3bec36;this[_0x566923(0x12e)](),this[_0x566923(0x167)](_0x2fb8e0,_0x566923(0x148),_0x3af83a=>{const _0x5dde38=_0x566923;_0x3af83a[_0x5dde38(0x198)](),this[_0x5dde38(0x175)](_0x47613c);});}),_0x2fb8e0[_0x3bec36(0x12f)]({'viewClass':_0x3bec36(0x162),'spaceBetweenItems':0x5});const _0x3b6df8=_0xe3c724=>{const _0x1e192e=_0x3bec36,_0x36d8c6=new _0x51de31(this[_0x1e192e(0x13a)][_0x1e192e(0x125)]);_0x2fb8e0[_0x1e192e(0x12d)](_0xe3c724,_0x36d8c6),this[_0x1e192e(0x168)][_0x1e192e(0x11e)](_0xe3c724,_0x36d8c6),_0x36d8c6[_0x1e192e(0x154)](_0x1e192e(0x192),_0x1e192e(0x11d),_0x1e192e(0x144))['to'](_0xe3c724[_0x1e192e(0x145)],_0x1e192e(0x192),_0x1e192e(0x18e),_0x1e192e(0x164)),_0x36d8c6['on'](_0x1e192e(0x173),()=>{const _0x218f79=_0x1e192e;this[_0x218f79(0x17f)][_0x218f79(0x15d)](),_0x2098e0[_0x218f79(0x187)][_0x218f79(0x183)]!==_0xe3c724[_0x218f79(0x145)]?(this[_0x218f79(0x179)](_0xe3c724),_0xe3c724[_0x218f79(0x145)][_0x218f79(0x185)][_0x218f79(0x16b)](),this[_0x218f79(0x14f)](_0xe3c724)):this[_0x218f79(0x14f)](null);});};for(const _0xbf4997 of _0x47613c)_0x3b6df8(_0xbf4997);this[_0x3bec36(0x167)](_0x47613c,_0x3bec36(0x147),(_0xfa0093,_0x936b24)=>{_0x3b6df8(_0x936b24);}),this[_0x3bec36(0x167)](_0x47613c,_0x3bec36(0x186),(_0x4401fa,_0x29d506,_0x9a77a)=>{const _0x519d14=_0x3bec36;this[_0x519d14(0x168)][_0x519d14(0x15b)](_0x29d506)[_0x519d14(0x182)](),this[_0x519d14(0x168)][_0x519d14(0x132)](_0x29d506),_0x2fb8e0[_0x519d14(0x13f)]({'removedAnnotation':_0x29d506,'previousAnnotation':_0x47613c[_0x519d14(0x15b)](_0x9a77a-0x1),'nextAnnotation':_0x47613c[_0x519d14(0x15b)](_0x9a77a+0x1)}),_0x29d506===this[_0x519d14(0x137)]&&this[_0x519d14(0x14f)](null);},{'priority':_0x3bec36(0x142)}),this[_0x3bec36(0x167)](_0x47613c,_0x3bec36(0x16b),(_0x5df341,_0x3682f4)=>{const _0x3817e4=_0x3bec36;this[_0x3817e4(0x14f)](_0x3682f4);}),this[_0x3bec36(0x167)](_0x47613c,_0x3bec36(0x12c),()=>{const _0x424c8e=_0x3bec36;this[_0x424c8e(0x14f)](null);}),this[_0x3bec36(0x13c)][_0x3bec36(0x167)](document,_0x3bec36(0x16d),(_0x970c05,_0x161d7d)=>{const _0x2eb21e=_0x3bec36;_0x161d7d[_0x2eb21e(0x122)]===_0x5535b1[_0x2eb21e(0x16c)]&&_0x2098e0[_0x2eb21e(0x152)]&&(this[_0x2eb21e(0x17f)][_0x2eb21e(0x147)](_0x2098e0[_0x2eb21e(0x187)][_0x2eb21e(0x183)]),this[_0x2eb21e(0x140)](),_0x161d7d[_0x2eb21e(0x12a)](),_0x161d7d[_0x2eb21e(0x131)]());}),this[_0x3bec36(0x13c)][_0x3bec36(0x167)](document,_0x3bec36(0x18f),(_0x9d9cec,_0x5b42ca)=>{const _0x11f518=_0x3bec36,_0x4aee8c=_0x5b42ca[_0x11f518(0x190)];_0x2098e0[_0x11f518(0x152)]&&_0x2098e0[_0x11f518(0x185)][_0x11f518(0x14b)](_0x4aee8c)||_0x2fb8e0[_0x11f518(0x145)][_0x11f518(0x185)][_0x11f518(0x14b)](_0x4aee8c)||_0x9d9cec[_0x11f518(0x189)]||this[_0x11f518(0x137)]&&this[_0x11f518(0x137)][_0x11f518(0x196)][_0x11f518(0x18d)](_0x40203a=>_0x40203a[_0x11f518(0x14b)](_0x4aee8c))||(this[_0x11f518(0x17f)][_0x11f518(0x15d)](),this[_0x11f518(0x140)](),this[_0x11f518(0x14f)](null));});const _0x144637=this[_0x3bec36(0x13a)]instanceof _0x4fc923?this[_0x3bec36(0x13a)][_0x3bec36(0x128)]:new _0x172d05([this[_0x3bec36(0x13a)]]);for(const _0x20cb87 of _0x144637)this[_0x3bec36(0x160)](_0x20cb87);this[_0x3bec36(0x167)](_0x144637,_0x3bec36(0x147),(_0x5e9b87,_0x9011a3)=>{const _0x3787d8=_0x3bec36;this[_0x3787d8(0x167)](_0x9011a3,_0x3787d8(0x194),()=>{const _0xbcdf0b=_0x3787d8;this[_0xbcdf0b(0x160)](_0x9011a3);});}),this[_0x3bec36(0x167)](_0x144637,_0x3bec36(0x186),(_0x51484a,_0x34a3ee)=>{const _0x1547c1=_0x3bec36;_0x34a3ee[_0x1547c1(0x14e)][_0x1547c1(0x12b)](_0x1547c1(0x153))&&this[_0x1547c1(0x17a)](_0x34a3ee[_0x1547c1(0x14e)][_0x1547c1(0x15b)](_0x1547c1(0x153)));}),window[_0x3bec36(0x123)](_0x3bec36(0x134),this[_0x3bec36(0x146)]),this[_0x3bec36(0x163)]();}[_0x37107b(0x14f)](_0x282c8d){const _0x11abe4=_0x37107b;if(_0x282c8d===this[_0x11abe4(0x137)])return;const _0x53a476=this[_0x11abe4(0x13a)][_0x11abe4(0x14e)][_0x11abe4(0x15b)](_0x30a52a);if(_0x53a476[_0x11abe4(0x178)]({'blurredAnnotation':this[_0x11abe4(0x137)],'activatedAnnotation':_0x282c8d,'disableAnimationOnActivatedAnnotation':!0x0}),_0x282c8d)_0x53a476[_0x11abe4(0x124)](_0x282c8d)?this[_0x11abe4(0x179)](_0x282c8d):this[_0x11abe4(0x140)]();else this[_0x11abe4(0x140)]();this[_0x11abe4(0x137)]=_0x282c8d;}[_0x37107b(0x12e)](){const _0x19609b=_0x37107b;if(!this[_0x19609b(0x165)])throw new _0x1e68b0(_0x19609b(0x139),this);this[_0x19609b(0x14f)](null);const _0x542494=this[_0x19609b(0x13a)][_0x19609b(0x14e)][_0x19609b(0x15b)](_0x30a52a);this[_0x19609b(0x140)](),Array[_0x19609b(0x15c)](this[_0x19609b(0x168)][_0x19609b(0x130)](),_0xcca2ed=>_0xcca2ed[_0x19609b(0x182)]()),this[_0x19609b(0x168)][_0x19609b(0x15d)](),_0x542494[_0x19609b(0x17e)](this[_0x19609b(0x135)]),this[_0x19609b(0x133)](),this[_0x19609b(0x13c)][_0x19609b(0x133)](),this[_0x19609b(0x13a)]instanceof _0x4fc923&&this[_0x19609b(0x133)](this[_0x19609b(0x13a)][_0x19609b(0x128)]);for(const _0x45c2fa of Array[_0x19609b(0x15c)](this[_0x19609b(0x17c)]))this[_0x19609b(0x17a)](_0x45c2fa);window[_0x19609b(0x15e)](_0x19609b(0x134),this[_0x19609b(0x146)]),this[_0x19609b(0x146)][_0x19609b(0x166)](),this[_0x19609b(0x177)]=[],this[_0x19609b(0x165)]=!0x1,this[_0x19609b(0x135)]=null;}[_0x37107b(0x182)](){const _0x2bfdff=_0x37107b;this[_0x2bfdff(0x165)]&&this[_0x2bfdff(0x12e)](),this[_0x2bfdff(0x15f)][_0x2bfdff(0x159)]();}[_0x37107b(0x160)](_0x3959d4){const _0x1a23aa=_0x37107b;if(!_0x3959d4[_0x1a23aa(0x14e)][_0x1a23aa(0x12b)](_0x1a23aa(0x153)))return;const _0x143ccd=_0x3959d4[_0x1a23aa(0x14e)][_0x1a23aa(0x15b)](_0x1a23aa(0x153)),_0x8e6f29=this[_0x1a23aa(0x13a)][_0x1a23aa(0x14e)][_0x1a23aa(0x15b)](_0x30a52a),_0x338fd4=this[_0x1a23aa(0x135)],_0x46d66a=this[_0x1a23aa(0x199)],_0x5d29e6=()=>{const _0x2ef297=_0x1a23aa,_0xb72285=_0x143ccd[_0x2ef297(0x161)]({'annotations':this[_0x2ef297(0x135)],'activeAnnotation':this[_0x2ef297(0x137)]});this[_0x2ef297(0x18a)](_0xb72285),this[_0x2ef297(0x14f)](_0xb72285[0x0]||null);};this[_0x1a23aa(0x167)](_0x143ccd,_0x1a23aa(0x178),_0x5d29e6),this[_0x1a23aa(0x167)](_0x143ccd,_0x1a23aa(0x12c),(_0x4a7959,{isAnnotationTracked:_0x174d00})=>{const _0x2e0399=_0x1a23aa;this[_0x2e0399(0x137)]&&_0x174d00(this[_0x2e0399(0x137)])&&(this[_0x2e0399(0x18a)]([]),this[_0x2e0399(0x14f)](null));}),this[_0x1a23aa(0x167)](_0x143ccd,_0x1a23aa(0x155),()=>{const _0x2615a5=_0x1a23aa;this[_0x2615a5(0x146)]();}),this[_0x1a23aa(0x167)](_0x338fd4,_0x1a23aa(0x12c),_0x27d407=>{const _0x54da5a=_0x1a23aa;_0x143ccd[_0x54da5a(0x14c)]()&&_0x27d407[_0x54da5a(0x176)]();},{'priority':_0x1a23aa(0x197)}),this[_0x1a23aa(0x167)](this[_0x1a23aa(0x13c)],_0x1a23aa(0x18f),(_0x13514e,_0x3212a7)=>{const _0x5be927=_0x1a23aa,_0x442f4b=_0x3212a7[_0x5be927(0x190)];_0x46d66a[_0x5be927(0x152)]&&_0x46d66a[_0x5be927(0x185)][_0x5be927(0x14b)](_0x442f4b)||_0x8e6f29[_0x5be927(0x145)][_0x5be927(0x185)][_0x5be927(0x14b)](_0x442f4b)||this[_0x5be927(0x137)]&&_0x143ccd[_0x5be927(0x14c)]()&&(_0x5d29e6(),_0x13514e[_0x5be927(0x189)]=!0x0);},{'priority':_0x1a23aa(0x197)}),this[_0x1a23aa(0x17c)][_0x1a23aa(0x147)](_0x143ccd);}[_0x37107b(0x17a)](_0x44b91d){const _0x1cedc6=_0x37107b;_0x44b91d&&(this[_0x1cedc6(0x133)](_0x44b91d),this[_0x1cedc6(0x17c)][_0x1cedc6(0x186)](_0x44b91d));}[_0x37107b(0x18a)](_0x25100a){const _0x2375ed=_0x37107b;for(const _0x5151cb of this[_0x2375ed(0x177)])_0x25100a[_0x2375ed(0x14d)](_0x5151cb)||this[_0x2375ed(0x17f)][_0x2375ed(0x132)](_0x5151cb[_0x2375ed(0x145)]);this[_0x2375ed(0x177)]=_0x25100a;}[_0x37107b(0x163)](){const _0x32a8d0=_0x37107b,_0x2d8fbe=this[_0x32a8d0(0x199)];this[_0x32a8d0(0x13a)][_0x32a8d0(0x14e)][_0x32a8d0(0x15b)](_0x32a8d0(0x18b))[_0x32a8d0(0x188)](),this[_0x32a8d0(0x135)][_0x32a8d0(0x156)](),_0x2d8fbe[_0x32a8d0(0x152)]&&this[_0x32a8d0(0x17b)]();}[_0x37107b(0x179)](_0x41df3f){const _0x580f5a=_0x37107b;if(this[_0x580f5a(0x17f)][_0x580f5a(0x12b)](_0x41df3f[_0x580f5a(0x145)]))return;const _0x4ab2a0=this[_0x580f5a(0x199)][_0x580f5a(0x187)][_0x580f5a(0x183)];_0x4ab2a0!==_0x41df3f[_0x580f5a(0x145)]?(_0x4ab2a0&&this[_0x580f5a(0x158)](_0x4ab2a0),this[_0x580f5a(0x13b)](_0x41df3f[_0x580f5a(0x145)]),this[_0x580f5a(0x199)][_0x580f5a(0x187)][_0x580f5a(0x15d)](),this[_0x580f5a(0x199)][_0x580f5a(0x187)][_0x580f5a(0x147)](_0x41df3f[_0x580f5a(0x145)]),this[_0x580f5a(0x17b)]()):this[_0x580f5a(0x17b)]();}[_0x37107b(0x17b)](){const _0x16fc5a=_0x37107b,_0x39feb0=this[_0x16fc5a(0x199)][_0x16fc5a(0x187)][_0x16fc5a(0x183)],_0x4e9212=_0x39feb0&&this[_0x16fc5a(0x135)][_0x16fc5a(0x157)](_0x39feb0);if(!_0x4e9212||!this[_0x16fc5a(0x168)][_0x16fc5a(0x12b)](_0x4e9212))return;const _0x34e714=this[_0x16fc5a(0x168)][_0x16fc5a(0x15b)](_0x4e9212)[_0x16fc5a(0x185)],_0x547218=(function(){const _0x3d1908=_0x16fc5a,_0x5e02d8=_0x2f8ac7[_0x3d1908(0x136)];return[_0x5e02d8[_0x3d1908(0x129)],_0x5e02d8[_0x3d1908(0x172)],_0x5e02d8[_0x3d1908(0x169)],_0x5e02d8[_0x3d1908(0x126)],_0x5e02d8[_0x3d1908(0x18c)],_0x5e02d8[_0x3d1908(0x14a)]];}());this[_0x16fc5a(0x199)][_0x16fc5a(0x11b)]({'target':_0x34e714,'positions':_0x547218});}[_0x37107b(0x140)](){const _0x1ff369=_0x37107b,_0x5197db=this[_0x1ff369(0x199)],_0x252d7d=_0x5197db[_0x1ff369(0x187)][_0x1ff369(0x183)];_0x252d7d&&(this[_0x1ff369(0x158)](_0x252d7d),_0x5197db[_0x1ff369(0x17d)](),_0x5197db[_0x1ff369(0x187)][_0x1ff369(0x15d)]());}[_0x37107b(0x13b)](_0x2b91a0){const _0x1a251e=_0x37107b;this[_0x1a251e(0x167)](_0x2b91a0,_0x1a251e(0x143),()=>this[_0x1a251e(0x17b)]()),this[_0x1a251e(0x167)](_0x2b91a0,_0x1a251e(0x170),(_0x554140,_0x2e2363)=>{const _0x21839d=_0x1a251e;this[_0x21839d(0x17f)][_0x21839d(0x147)](_0x2b91a0),this[_0x21839d(0x140)](),_0x2e2363();});}[_0x37107b(0x158)](_0x5a1a6d){const _0x8e7f72=_0x37107b;this[_0x8e7f72(0x133)](_0x5a1a6d);}}
|
|
23
|
+
const _0x339099=_0x2b8f;function _0x2caa(){const _0x43b4c0=['defaultPositions','21375irqPLn','southArrowNorthWest','8WTUUDe','uiUpdate','northArrowSouthWest','_manuallyClosedAnnotationViews','from','bind','Esc','init','getOrderedSelectedAnnotations','hasDomSelection','getSidebarItemView','focus','number','_attachToContainer','_integrateWithEditorAnnotations','delete','refreshVisibility','focusableElements','get','5461482ttNQqn','esc','setActiveAnnotation','213486Fkmzgz','low','narrowsidebar-detach-not-attached','narrowSidebar','_detachListeners','attachToDom','change:height','northArrowSouth','_domEmitter','editors','execute','resize','pluginName','unpin','southArrowNorth','destroy','isPremiumPlugin','narrowsidebar-attach-already-attached','ready','locale','cancel','detach','register','_refreshPositioning','detachFromDom','NarrowSidebar','stop','keydown','plugins','_attachListeners','refreshPositioning','remove','preventDefault','includes','isDirty','_editorAnnotations','contains','type','find','_annotationToNarrowView','length','462360SwYjRW','addAnnotation','listenTo','11148473ihTupE','blur','19010FrRgYm','add','clear','bodyCollection','getByView','high','activeAnnotation','155KszRre','_annotations','stopListening','isVisible','balloonPanelView','keyCode','view','preventClosingBalloon','_selectedAnnotations','requires','_updateBalloonPosition','rearrange','isOfficialPlugin','has','_destroyEditorAnnotationsIntegration','set:container','content','mousedown','stopPropagation','northArrowSouthEast','set','change:container','Annotations','pin','addEventListener','_setSelectedAnnotations','annotationType','annotations','values','4139408PYDrHz','_detachFromContainer','23396LTkXrj','refresh','_showBalloon','element','isAttached','_hideBalloon','southArrowNorthEast','context','off','first','removeEventListener','_refreshPositioningDebounced','target','attach','ck-sidebar--narrow','EditorAnnotations'];_0x2caa=function(){return _0x43b4c0;};return _0x2caa();}(function(_0xd607c3,_0x48ae39){const _0x654381=_0x2b8f,_0x4afda5=_0xd607c3();while(!![]){try{const _0x391594=parseInt(_0x654381(0x22a))/0x1*(parseInt(_0x654381(0x249))/0x2)+parseInt(_0x654381(0x1f5))/0x3+parseInt(_0x654381(0x247))/0x4+parseInt(_0x654381(0x21e))/0x5+parseInt(_0x654381(0x1f2))/0x6+-parseInt(_0x654381(0x221))/0x7*(-parseInt(_0x654381(0x1df))/0x8)+parseInt(_0x654381(0x1dd))/0x9*(-parseInt(_0x654381(0x223))/0xa);if(_0x391594===_0x48ae39)break;else _0x4afda5['push'](_0x4afda5['shift']());}catch(_0x411a7f){_0x4afda5['push'](_0x4afda5['shift']());}}}(_0x2caa,0xf4107));function _0x2b8f(_0x2abf1f,_0x1008ac){const _0x2caa52=_0x2caa();return _0x2b8f=function(_0x2b8ff1,_0x393756){_0x2b8ff1=_0x2b8ff1-0x1d7;let _0x2be72a=_0x2caa52[_0x2b8ff1];return _0x2be72a;},_0x2b8f(_0x2abf1f,_0x1008ac);}import{ContextPlugin as _0x126f58,Context as _0x5012a0}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x368715}from'./annotationsuis.js';import{Sidebar as _0x410e2c}from'./sidebar.js';import{AnnotationCounterButtonView as _0x29d07c}from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x413738,BodyCollection as _0x5e9e25}from'ckeditor5/src/ui.js';import{CKEditorError as _0x43fab3,DomEmitterMixin as _0x141a8d,keyCodes as _0x4b86bc,Collection as _0x133009}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x1da624}from'es-toolkit/compat';export class NarrowSidebar extends _0x126f58{[_0x339099(0x24d)];[_0x339099(0x245)];[_0x339099(0x1e2)];[_0x339099(0x1fd)];[_0x339099(0x21c)];[_0x339099(0x232)];[_0x339099(0x218)];[_0x339099(0x1d7)];static get[_0x339099(0x233)](){return[_0x410e2c,_0x368715];}static get[_0x339099(0x201)](){const _0x1996ee=_0x339099;return _0x1996ee(0x20e);}static get[_0x339099(0x236)](){return!0x0;}static get[_0x339099(0x205)](){return!0x0;}constructor(_0xd37020){const _0x373223=_0x339099;super(_0xd37020),this[_0x373223(0x24d)]=!0x1,this[_0x373223(0x1e2)]=new Set(),this[_0x373223(0x1fd)]=new(_0x141a8d())(),this[_0x373223(0x21c)]=new Map(),this[_0x373223(0x23e)](_0x373223(0x229),null),this[_0x373223(0x245)]=null,this[_0x373223(0x232)]=[],this[_0x373223(0x218)]=new _0x133009(),this[_0x373223(0x1d7)]=_0x1da624(()=>{const _0x33a94b=_0x373223;this[_0x33a94b(0x20c)]();},0xfa,{'leading':!0x1});}[_0x339099(0x1e6)](){const _0x2899c2=_0x339099;this[_0x2899c2(0x250)][_0x2899c2(0x211)][_0x2899c2(0x1f1)](_0x368715)[_0x2899c2(0x20b)](_0x2899c2(0x1f8),this),this[_0x2899c2(0x226)]=new _0x5e9e25(this[_0x2899c2(0x250)][_0x2899c2(0x208)]),this[_0x2899c2(0x22e)]=new _0x413738(this[_0x2899c2(0x250)][_0x2899c2(0x208)]),this[_0x2899c2(0x226)][_0x2899c2(0x1fa)](),this[_0x2899c2(0x226)][_0x2899c2(0x224)](this[_0x2899c2(0x22e)]);}[_0x339099(0x1d9)](_0xaa04b){const _0x55f8a8=_0x339099;this[_0x55f8a8(0x245)]=_0xaa04b;const _0x2155fa=this[_0x55f8a8(0x250)][_0x55f8a8(0x211)][_0x55f8a8(0x1f1)](_0x410e2c),_0x2800ae=this[_0x55f8a8(0x22e)];if(_0x2155fa[_0x55f8a8(0x22b)]=_0xaa04b,this[_0x55f8a8(0x24d)])throw new _0x43fab3(_0x55f8a8(0x206),this);this[_0x55f8a8(0x24d)]=!0x0,this[_0x55f8a8(0x220)](_0x2155fa,_0x55f8a8(0x239),()=>{const _0xe74122=_0x55f8a8;this[_0xe74122(0x20a)](),this[_0xe74122(0x220)](_0x2155fa,_0xe74122(0x23f),_0x56e400=>{const _0x40b2d7=_0xe74122;_0x56e400[_0x40b2d7(0x251)](),this[_0x40b2d7(0x1d9)](_0xaa04b);});}),_0x2155fa[_0x55f8a8(0x1ec)]({'viewClass':_0x55f8a8(0x1da),'spaceBetweenItems':0x5});const _0x46676b=_0x4579ef=>{const _0x49b14a=_0x55f8a8,_0x1b22c6=new _0x29d07c(this[_0x49b14a(0x250)][_0x49b14a(0x208)]);_0x2155fa[_0x49b14a(0x21f)](_0x4579ef,_0x1b22c6),this[_0x49b14a(0x21c)][_0x49b14a(0x23e)](_0x4579ef,_0x1b22c6),_0x1b22c6[_0x49b14a(0x1e4)](_0x49b14a(0x217),_0x49b14a(0x244),_0x49b14a(0x1eb))['to'](_0x4579ef[_0x49b14a(0x230)],_0x49b14a(0x217),_0x49b14a(0x21a),_0x49b14a(0x21d)),_0x1b22c6['on'](_0x49b14a(0x1ff),()=>{const _0x1e353a=_0x49b14a;this[_0x1e353a(0x1e2)][_0x1e353a(0x225)](),_0x2800ae[_0x1e353a(0x23a)][_0x1e353a(0x252)]!==_0x4579ef[_0x1e353a(0x230)]?(this[_0x1e353a(0x24b)](_0x4579ef),_0x4579ef[_0x1e353a(0x230)][_0x1e353a(0x24c)][_0x1e353a(0x1ea)](),this[_0x1e353a(0x1f4)](_0x4579ef)):this[_0x1e353a(0x1f4)](null);});};for(const _0x244916 of _0xaa04b)_0x46676b(_0x244916);this[_0x55f8a8(0x220)](_0xaa04b,_0x55f8a8(0x224),(_0x2494df,_0x1dcdbe)=>{_0x46676b(_0x1dcdbe);}),this[_0x55f8a8(0x220)](_0xaa04b,_0x55f8a8(0x214),(_0x3af5e9,_0x1f0935,_0x794586)=>{const _0xb2551a=_0x55f8a8;this[_0xb2551a(0x21c)][_0xb2551a(0x1f1)](_0x1f0935)[_0xb2551a(0x204)](),this[_0xb2551a(0x21c)][_0xb2551a(0x1ee)](_0x1f0935),_0x2155fa[_0xb2551a(0x235)]({'removedAnnotation':_0x1f0935,'previousAnnotation':_0xaa04b[_0xb2551a(0x1f1)](_0x794586-0x1),'nextAnnotation':_0xaa04b[_0xb2551a(0x1f1)](_0x794586+0x1)}),_0x1f0935===this[_0xb2551a(0x229)]&&this[_0xb2551a(0x1f4)](null);},{'priority':_0x55f8a8(0x1f6)}),this[_0x55f8a8(0x220)](_0xaa04b,_0x55f8a8(0x1ea),(_0x2aee83,_0x398bf8)=>{const _0x1ada05=_0x55f8a8;this[_0x1ada05(0x1f4)](_0x398bf8);}),this[_0x55f8a8(0x220)](_0xaa04b,_0x55f8a8(0x222),()=>{const _0x3bd82f=_0x55f8a8;this[_0x3bd82f(0x1f4)](null);}),this[_0x55f8a8(0x1fd)][_0x55f8a8(0x220)](document,_0x55f8a8(0x210),(_0x247da6,_0x3602b0)=>{const _0x962d1d=_0x55f8a8;_0x3602b0[_0x962d1d(0x22f)]===_0x4b86bc[_0x962d1d(0x1f3)]&&_0x2800ae[_0x962d1d(0x22d)]&&(this[_0x962d1d(0x1e2)][_0x962d1d(0x224)](_0x2800ae[_0x962d1d(0x23a)][_0x962d1d(0x252)]),this[_0x962d1d(0x24e)](),_0x3602b0[_0x962d1d(0x23c)](),_0x3602b0[_0x962d1d(0x215)]());}),this[_0x55f8a8(0x1fd)][_0x55f8a8(0x220)](document,_0x55f8a8(0x23b),(_0x31879c,_0x3f2976)=>{const _0x5efe0d=_0x55f8a8,_0x1a8b3b=_0x3f2976[_0x5efe0d(0x1d8)];_0x2800ae[_0x5efe0d(0x22d)]&&_0x2800ae[_0x5efe0d(0x24c)][_0x5efe0d(0x219)](_0x1a8b3b)||_0x2155fa[_0x5efe0d(0x230)][_0x5efe0d(0x24c)][_0x5efe0d(0x219)](_0x1a8b3b)||_0x31879c[_0x5efe0d(0x231)]||this[_0x5efe0d(0x229)]&&this[_0x5efe0d(0x229)][_0x5efe0d(0x1f0)][_0x5efe0d(0x21b)](_0x188113=>_0x188113[_0x5efe0d(0x219)](_0x1a8b3b))||(this[_0x5efe0d(0x1e2)][_0x5efe0d(0x225)](),this[_0x5efe0d(0x24e)](),this[_0x5efe0d(0x1f4)](null));});const _0x20e7b7=this[_0x55f8a8(0x250)]instanceof _0x5012a0?this[_0x55f8a8(0x250)][_0x55f8a8(0x1fe)]:new _0x133009([this[_0x55f8a8(0x250)]]);for(const _0x2879d1 of _0x20e7b7)this[_0x55f8a8(0x1ed)](_0x2879d1);this[_0x55f8a8(0x220)](_0x20e7b7,_0x55f8a8(0x224),(_0x2f8a85,_0x71bc53)=>{const _0x48b0f4=_0x55f8a8;this[_0x48b0f4(0x220)](_0x71bc53,_0x48b0f4(0x207),()=>{const _0x1e4c4d=_0x48b0f4;this[_0x1e4c4d(0x1ed)](_0x71bc53);});}),this[_0x55f8a8(0x220)](_0x20e7b7,_0x55f8a8(0x214),(_0x13ebfd,_0x5459ec)=>{const _0x4ba2ec=_0x55f8a8;_0x5459ec[_0x4ba2ec(0x211)][_0x4ba2ec(0x237)](_0x4ba2ec(0x1db))&&this[_0x4ba2ec(0x238)](_0x5459ec[_0x4ba2ec(0x211)][_0x4ba2ec(0x1f1)](_0x4ba2ec(0x1db)));}),window[_0x55f8a8(0x242)](_0x55f8a8(0x200),this[_0x55f8a8(0x1d7)]),this[_0x55f8a8(0x20c)]();}[_0x339099(0x1f4)](_0x405ab6){const _0x383636=_0x339099;if(_0x405ab6===this[_0x383636(0x229)])return;const _0x14d6d5=this[_0x383636(0x250)][_0x383636(0x211)][_0x383636(0x1f1)](_0x410e2c);if(_0x14d6d5[_0x383636(0x24a)]({'blurredAnnotation':this[_0x383636(0x229)],'activatedAnnotation':_0x405ab6,'disableAnimationOnActivatedAnnotation':!0x0}),_0x405ab6)_0x14d6d5[_0x383636(0x1e9)](_0x405ab6)?this[_0x383636(0x24b)](_0x405ab6):this[_0x383636(0x24e)]();else this[_0x383636(0x24e)]();this[_0x383636(0x229)]=_0x405ab6;}[_0x339099(0x20a)](){const _0x2e0f90=_0x339099;if(!this[_0x2e0f90(0x24d)])throw new _0x43fab3(_0x2e0f90(0x1f7),this);this[_0x2e0f90(0x1f4)](null);const _0x442aa1=this[_0x2e0f90(0x250)][_0x2e0f90(0x211)][_0x2e0f90(0x1f1)](_0x410e2c);this[_0x2e0f90(0x24e)](),Array[_0x2e0f90(0x1e3)](this[_0x2e0f90(0x21c)][_0x2e0f90(0x246)](),_0x5aec4c=>_0x5aec4c[_0x2e0f90(0x204)]()),this[_0x2e0f90(0x21c)][_0x2e0f90(0x225)](),_0x442aa1[_0x2e0f90(0x248)](this[_0x2e0f90(0x245)]),this[_0x2e0f90(0x22c)](),this[_0x2e0f90(0x1fd)][_0x2e0f90(0x22c)](),this[_0x2e0f90(0x250)]instanceof _0x5012a0&&this[_0x2e0f90(0x22c)](this[_0x2e0f90(0x250)][_0x2e0f90(0x1fe)]);for(const _0x745d76 of Array[_0x2e0f90(0x1e3)](this[_0x2e0f90(0x218)]))this[_0x2e0f90(0x238)](_0x745d76);window[_0x2e0f90(0x253)](_0x2e0f90(0x200),this[_0x2e0f90(0x1d7)]),this[_0x2e0f90(0x1d7)][_0x2e0f90(0x209)](),this[_0x2e0f90(0x232)]=[],this[_0x2e0f90(0x24d)]=!0x1,this[_0x2e0f90(0x245)]=null;}[_0x339099(0x204)](){const _0x22529b=_0x339099;this[_0x22529b(0x24d)]&&this[_0x22529b(0x20a)](),this[_0x22529b(0x226)][_0x22529b(0x20d)]();}[_0x339099(0x1ed)](_0x5bfb5a){const _0x2b74f8=_0x339099;if(!_0x5bfb5a[_0x2b74f8(0x211)][_0x2b74f8(0x237)](_0x2b74f8(0x1db)))return;const _0x420cd7=_0x5bfb5a[_0x2b74f8(0x211)][_0x2b74f8(0x1f1)](_0x2b74f8(0x1db)),_0x443600=this[_0x2b74f8(0x250)][_0x2b74f8(0x211)][_0x2b74f8(0x1f1)](_0x410e2c),_0x4e9b78=this[_0x2b74f8(0x245)],_0x2dbc52=this[_0x2b74f8(0x22e)],_0x48ef3c=()=>{const _0x8d7589=_0x2b74f8,_0x578cfc=_0x420cd7[_0x8d7589(0x1e7)]({'annotations':this[_0x8d7589(0x245)],'activeAnnotation':this[_0x8d7589(0x229)]});this[_0x8d7589(0x243)](_0x578cfc),this[_0x8d7589(0x1f4)](_0x578cfc[0x0]||null);};this[_0x2b74f8(0x220)](_0x420cd7,_0x2b74f8(0x24a),_0x48ef3c),this[_0x2b74f8(0x220)](_0x420cd7,_0x2b74f8(0x222),(_0x4f24fd,{isAnnotationTracked:_0x138ed3})=>{const _0x5f21d8=_0x2b74f8;this[_0x5f21d8(0x229)]&&_0x138ed3(this[_0x5f21d8(0x229)])&&(this[_0x5f21d8(0x243)]([]),this[_0x5f21d8(0x1f4)](null));}),this[_0x2b74f8(0x220)](_0x420cd7,_0x2b74f8(0x1e0),()=>{const _0x2d8007=_0x2b74f8;this[_0x2d8007(0x1d7)]();}),this[_0x2b74f8(0x220)](_0x4e9b78,_0x2b74f8(0x222),_0x3c5148=>{const _0x152c5e=_0x2b74f8;_0x420cd7[_0x152c5e(0x1e8)]()&&_0x3c5148[_0x152c5e(0x20f)]();},{'priority':_0x2b74f8(0x228)}),this[_0x2b74f8(0x220)](this[_0x2b74f8(0x1fd)],_0x2b74f8(0x23b),(_0x5629d0,_0x1059e8)=>{const _0x4ed5ec=_0x2b74f8,_0x211b45=_0x1059e8[_0x4ed5ec(0x1d8)];_0x2dbc52[_0x4ed5ec(0x22d)]&&_0x2dbc52[_0x4ed5ec(0x24c)][_0x4ed5ec(0x219)](_0x211b45)||_0x443600[_0x4ed5ec(0x230)][_0x4ed5ec(0x24c)][_0x4ed5ec(0x219)](_0x211b45)||this[_0x4ed5ec(0x229)]&&_0x420cd7[_0x4ed5ec(0x1e8)]()&&(_0x48ef3c(),_0x5629d0[_0x4ed5ec(0x231)]=!0x0);},{'priority':_0x2b74f8(0x228)}),this[_0x2b74f8(0x218)][_0x2b74f8(0x224)](_0x420cd7);}[_0x339099(0x238)](_0x2bc711){const _0x1cc371=_0x339099;_0x2bc711&&(this[_0x1cc371(0x22c)](_0x2bc711),this[_0x1cc371(0x218)][_0x1cc371(0x214)](_0x2bc711));}[_0x339099(0x243)](_0xa02db3){const _0x58feb4=_0x339099;for(const _0x29e7d7 of this[_0x58feb4(0x232)])_0xa02db3[_0x58feb4(0x216)](_0x29e7d7)||this[_0x58feb4(0x1e2)][_0x58feb4(0x1ee)](_0x29e7d7[_0x58feb4(0x230)]);this[_0x58feb4(0x232)]=_0xa02db3;}[_0x339099(0x20c)](){const _0xbaba6f=_0x339099,_0x3138b3=this[_0xbaba6f(0x22e)];this[_0xbaba6f(0x250)][_0xbaba6f(0x211)][_0xbaba6f(0x1f1)](_0xbaba6f(0x240))[_0xbaba6f(0x1ef)](),this[_0xbaba6f(0x245)][_0xbaba6f(0x213)](),_0x3138b3[_0xbaba6f(0x22d)]&&this[_0xbaba6f(0x234)]();}[_0x339099(0x24b)](_0x40b9bf){const _0x31f0c2=_0x339099;if(this[_0x31f0c2(0x1e2)][_0x31f0c2(0x237)](_0x40b9bf[_0x31f0c2(0x230)]))return;const _0x39f24d=this[_0x31f0c2(0x22e)][_0x31f0c2(0x23a)][_0x31f0c2(0x252)];_0x39f24d!==_0x40b9bf[_0x31f0c2(0x230)]?(_0x39f24d&&this[_0x31f0c2(0x1f9)](_0x39f24d),this[_0x31f0c2(0x212)](_0x40b9bf[_0x31f0c2(0x230)]),this[_0x31f0c2(0x22e)][_0x31f0c2(0x23a)][_0x31f0c2(0x225)](),this[_0x31f0c2(0x22e)][_0x31f0c2(0x23a)][_0x31f0c2(0x224)](_0x40b9bf[_0x31f0c2(0x230)]),this[_0x31f0c2(0x234)]()):this[_0x31f0c2(0x234)]();}[_0x339099(0x234)](){const _0x37412a=_0x339099,_0x3ce293=this[_0x37412a(0x22e)][_0x37412a(0x23a)][_0x37412a(0x252)],_0x4ec680=_0x3ce293&&this[_0x37412a(0x245)][_0x37412a(0x227)](_0x3ce293);if(!_0x4ec680||!this[_0x37412a(0x21c)][_0x37412a(0x237)](_0x4ec680))return;const _0x2b1a1c=this[_0x37412a(0x21c)][_0x37412a(0x1f1)](_0x4ec680)[_0x37412a(0x24c)],_0x34ebdb=(function(){const _0xeea9c9=_0x37412a,_0x5356a1=_0x413738[_0xeea9c9(0x1dc)];return[_0x5356a1[_0xeea9c9(0x24f)],_0x5356a1[_0xeea9c9(0x23d)],_0x5356a1[_0xeea9c9(0x203)],_0x5356a1[_0xeea9c9(0x1fc)],_0x5356a1[_0xeea9c9(0x1de)],_0x5356a1[_0xeea9c9(0x1e1)]];}());this[_0x37412a(0x22e)][_0x37412a(0x241)]({'target':_0x2b1a1c,'positions':_0x34ebdb});}[_0x339099(0x24e)](){const _0x2c527d=_0x339099,_0x2bfdd4=this[_0x2c527d(0x22e)],_0x4059e4=_0x2bfdd4[_0x2c527d(0x23a)][_0x2c527d(0x252)];_0x4059e4&&(this[_0x2c527d(0x1f9)](_0x4059e4),_0x2bfdd4[_0x2c527d(0x202)](),_0x2bfdd4[_0x2c527d(0x23a)][_0x2c527d(0x225)]());}[_0x339099(0x212)](_0xbe2699){const _0x414cf3=_0x339099;this[_0x414cf3(0x220)](_0xbe2699,_0x414cf3(0x1fb),()=>this[_0x414cf3(0x234)]()),this[_0x414cf3(0x220)](_0xbe2699,_0x414cf3(0x1e5),(_0x18878e,_0x2b028d)=>{const _0x1442ab=_0x414cf3;this[_0x1442ab(0x1e2)][_0x1442ab(0x224)](_0xbe2699),this[_0x1442ab(0x24e)](),_0x2b028d();});}[_0x339099(0x1f9)](_0x4126a5){const _0x5b198a=_0x339099;this[_0x5b198a(0x22c)](_0x4126a5);}}
|