@ckeditor/ckeditor5-comments 43.1.0-alpha.1 → 43.1.0-alpha.3
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 +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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 +15 -15
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x483054=>{const {zh:{dictionary:_0x56791e,getPluralForm:_0x5beb1b}}={'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':_0x53692f=>0x0}};_0x483054['zh']||={'dictionary':{},'getPluralForm':null},_0x483054['zh']['dictionary']=Object['assign'](_0x483054['zh']['dictionary'],_0x56791e),_0x483054['zh']['getPluralForm']=_0x5beb1b;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "43.1.0-alpha.
|
|
3
|
+
"version": "43.1.0-alpha.3",
|
|
4
4
|
"description": "Collaborative comments feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -45,20 +45,20 @@
|
|
|
45
45
|
"CHANGELOG.md"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@ckeditor/ckeditor5-clipboard": "43.1.0-alpha.
|
|
49
|
-
"@ckeditor/ckeditor5-collaboration-core": "43.1.0-alpha.
|
|
50
|
-
"@ckeditor/ckeditor5-core": "43.1.0-alpha.
|
|
51
|
-
"@ckeditor/ckeditor5-engine": "43.1.0-alpha.
|
|
52
|
-
"@ckeditor/ckeditor5-enter": "43.1.0-alpha.
|
|
53
|
-
"@ckeditor/ckeditor5-paragraph": "43.1.0-alpha.
|
|
54
|
-
"@ckeditor/ckeditor5-select-all": "43.1.0-alpha.
|
|
55
|
-
"@ckeditor/ckeditor5-theme-lark": "43.1.0-alpha.
|
|
56
|
-
"@ckeditor/ckeditor5-typing": "43.1.0-alpha.
|
|
57
|
-
"@ckeditor/ckeditor5-ui": "43.1.0-alpha.
|
|
58
|
-
"@ckeditor/ckeditor5-undo": "43.1.0-alpha.
|
|
59
|
-
"@ckeditor/ckeditor5-utils": "43.1.0-alpha.
|
|
60
|
-
"ckeditor5": "43.1.0-alpha.
|
|
61
|
-
"ckeditor5-collaboration": "43.1.0-alpha.
|
|
48
|
+
"@ckeditor/ckeditor5-clipboard": "43.1.0-alpha.3",
|
|
49
|
+
"@ckeditor/ckeditor5-collaboration-core": "43.1.0-alpha.3",
|
|
50
|
+
"@ckeditor/ckeditor5-core": "43.1.0-alpha.3",
|
|
51
|
+
"@ckeditor/ckeditor5-engine": "43.1.0-alpha.3",
|
|
52
|
+
"@ckeditor/ckeditor5-enter": "43.1.0-alpha.3",
|
|
53
|
+
"@ckeditor/ckeditor5-paragraph": "43.1.0-alpha.3",
|
|
54
|
+
"@ckeditor/ckeditor5-select-all": "43.1.0-alpha.3",
|
|
55
|
+
"@ckeditor/ckeditor5-theme-lark": "43.1.0-alpha.3",
|
|
56
|
+
"@ckeditor/ckeditor5-typing": "43.1.0-alpha.3",
|
|
57
|
+
"@ckeditor/ckeditor5-ui": "43.1.0-alpha.3",
|
|
58
|
+
"@ckeditor/ckeditor5-undo": "43.1.0-alpha.3",
|
|
59
|
+
"@ckeditor/ckeditor5-utils": "43.1.0-alpha.3",
|
|
60
|
+
"ckeditor5": "43.1.0-alpha.3",
|
|
61
|
+
"ckeditor5-collaboration": "43.1.0-alpha.3",
|
|
62
62
|
"lodash-es": "4.17.21"
|
|
63
63
|
},
|
|
64
64
|
"types": "src/index.d.ts",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x6a9e54=_0x1308;(function(_0x56d429,_0xd52913){const _0x16f052=_0x1308,_0x15a4fb=_0x56d429();while(!![]){try{const _0x4d2cc7=parseInt(_0x16f052(0x167))/0x1*(-parseInt(_0x16f052(0x13e))/0x2)+-parseInt(_0x16f052(0x160))/0x3*(-parseInt(_0x16f052(0x152))/0x4)+-parseInt(_0x16f052(0x14f))/0x5*(parseInt(_0x16f052(0x151))/0x6)+-parseInt(_0x16f052(0x148))/0x7+parseInt(_0x16f052(0x161))/0x8+parseInt(_0x16f052(0x159))/0x9+-parseInt(_0x16f052(0x16b))/0xa*(parseInt(_0x16f052(0x15d))/0xb);if(_0x4d2cc7===_0xd52913)break;else _0x15a4fb['push'](_0x15a4fb['shift']());}catch(_0x2a466a){_0x15a4fb['push'](_0x15a4fb['shift']());}}}(_0x4180,0xebfdf));import{CKEditorError as _0x48108a,Rect as _0x56f83a,Collection as _0x597d64,ObservableMixin as _0x2869ea}from'ckeditor5/src/utils.js';function _0x1308(_0x2d664e,_0x1b97ad){const _0x41806f=_0x4180();return _0x1308=function(_0x1308db,_0x1124b0){_0x1308db=_0x1308db-0x13e;let _0x4aa9d9=_0x41806f[_0x1308db];return _0x4aa9d9;},_0x1308(_0x2d664e,_0x1b97ad);}export default class d extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2869ea(){constructor({view:_0x286980,target:_0x508e71,type:_0x57a2c9,isVisible:_0x822948=!0x0}){const _0x488e3f=_0x1308;super(),this[_0x488e3f(0x150)]=_0x286980,this[_0x488e3f(0x150)][_0x488e3f(0x165)]||this[_0x488e3f(0x150)][_0x488e3f(0x15e)](),this[_0x488e3f(0x142)]=_0x57a2c9,this[_0x488e3f(0x168)]=_0x508e71,d[_0x488e3f(0x14e)](this[_0x488e3f(0x15c)]()),this[_0x488e3f(0x149)]=new _0x597d64([this[_0x488e3f(0x150)][_0x488e3f(0x165)]],{'idProperty':_0x488e3f(0x166)}),this[_0x488e3f(0x149)]['on'](_0x488e3f(0x156),(_0x406d74,_0x5eaaa7)=>{const _0x484419=_0x488e3f;this[_0x484419(0x150)][_0x484419(0x146)][_0x484419(0x156)](_0x5eaaa7);}),this[_0x488e3f(0x149)]['on'](_0x488e3f(0x14d),(_0x5d1fa8,_0x5b542c)=>{const _0x87511d=_0x488e3f;this[_0x87511d(0x150)][_0x87511d(0x146)][_0x87511d(0x14d)](_0x5b542c);}),this[_0x488e3f(0x163)](_0x488e3f(0x16c),_0x822948);}get[_0x6a9e54(0x157)](){const _0x10f14e=_0x6a9e54;return _0x10f14e(0x147)==typeof this[_0x10f14e(0x142)]?this[_0x10f14e(0x142)]():this[_0x10f14e(0x142)];}get[_0x6a9e54(0x140)](){const _0x226afb=_0x6a9e54;return this[_0x226afb(0x150)][_0x226afb(0x145)];}get[_0x6a9e54(0x153)](){const _0x150d91=_0x6a9e54,_0x1d5cb7=this[_0x150d91(0x15c)]();return d[_0x150d91(0x14e)](_0x1d5cb7),_0x1d5cb7;}get[_0x6a9e54(0x144)](){const _0x554411=_0x6a9e54,_0x19bc5d=this[_0x554411(0x153)];if(null===_0x19bc5d)return null;if(_0x19bc5d instanceof _0x56f83a)return _0x19bc5d;const _0x19f724=_0x19bc5d[_0x554411(0x158)](_0x3f5578=>function(_0x3cdb23){const _0x21889d=_0x554411,_0x5d9818=_0x3cdb23[_0x21889d(0x15f)];if(_0x5d9818)return!0x0;const _0x5cd33f=_0x3cdb23[_0x21889d(0x14c)]()[_0x21889d(0x164)](0x0);return!!_0x5cd33f;}(_0x3f5578));return 0x0===_0x19f724[_0x554411(0x14b)]?null:new _0x56f83a(_0x19f724[0x0][_0x554411(0x14c)]()[_0x554411(0x164)](0x0));}get[_0x6a9e54(0x15a)](){const _0x3451dd=_0x6a9e54;return this[_0x3451dd(0x150)][_0x3451dd(0x15a)];}set[_0x6a9e54(0x15a)](_0x180fa4){const _0x4140ae=_0x6a9e54;this[_0x4140ae(0x150)][_0x4140ae(0x15a)]=_0x180fa4,this[_0x4140ae(0x150)][_0x4140ae(0x145)][_0x4140ae(0x15a)]=_0x180fa4;}[_0x6a9e54(0x13f)](){const _0x44cf83=_0x6a9e54;this[_0x44cf83(0x150)][_0x44cf83(0x144)]=this[_0x44cf83(0x144)];}[_0x6a9e54(0x169)](){const _0x4e6127=_0x6a9e54;this[_0x4e6127(0x149)][_0x4e6127(0x15b)](),this[_0x4e6127(0x149)][_0x4e6127(0x16a)](),this[_0x4e6127(0x15b)]();}[_0x6a9e54(0x143)](){const _0x58733b=_0x6a9e54;this[_0x58733b(0x16c)]=!!this[_0x58733b(0x144)];}static[_0x6a9e54(0x14e)](_0x5955f4){const _0x20809d=_0x6a9e54;if(!(null===_0x5955f4||_0x5955f4 instanceof _0x56f83a||Array[_0x20809d(0x141)](_0x5955f4)&&_0x5955f4[_0x20809d(0x154)](_0x2e3ab1=>y(_0x2e3ab1))))throw new _0x48108a(_0x20809d(0x155),null,{'target':_0x5955f4});}[_0x6a9e54(0x15c)](){const _0x5919f4=_0x6a9e54,_0x2a19a3=_0x5919f4(0x147)==typeof this[_0x5919f4(0x168)]?this[_0x5919f4(0x168)]():this[_0x5919f4(0x168)];return y(_0x2a19a3)?[_0x2a19a3]:_0x2a19a3;}}function _0x4180(){const _0x411fb0=['_getNormalizedTarget','26114MQiXVj','render','offsetParent','408069UsQQED','7463024WngjwA','nodeType','set','item','element','_id','1159XphSrb','_target','destroy','clear','3790tSyshK','isVisible','22HsLHFL','updateTargetRect','innerView','isArray','_type','refreshVisibility','targetRect','mainView','focusTracker','function','2274426nXYePI','focusableElements','object','length','getClientRects','remove','_assertCorrectTarget','10koRaGF','view','4729548HQFMIB','56lUFwsb','target','every','annotation-invalid-target','add','type','filter','8490168CnwCwJ','isActive','stopListening'];_0x4180=function(){return _0x411fb0;};return _0x4180();}function y(_0x417399){const _0x16be48=_0x6a9e54;return null!==_0x417399&&_0x16be48(0x14a)==typeof _0x417399&&_0x16be48(0x162)in _0x417399&&0x1===_0x417399[_0x16be48(0x162)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x16ce(_0x3ab55e,_0x2b39b7){const _0x1f436c=_0x1f43();return _0x16ce=function(_0x16ced6,_0x36be04){_0x16ced6=_0x16ced6-0x135;let _0x42781b=_0x1f436c[_0x16ced6];return _0x42781b;},_0x16ce(_0x3ab55e,_0x2b39b7);}const _0xbb3322=_0x16ce;(function(_0x2dcd7e,_0x1154b4){const _0x14ceba=_0x16ce,_0x236c3b=_0x2dcd7e();while(!![]){try{const _0x3b4e09=-parseInt(_0x14ceba(0x150))/0x1+parseInt(_0x14ceba(0x140))/0x2+parseInt(_0x14ceba(0x158))/0x3+parseInt(_0x14ceba(0x153))/0x4*(-parseInt(_0x14ceba(0x15f))/0x5)+parseInt(_0x14ceba(0x13e))/0x6+-parseInt(_0x14ceba(0x160))/0x7+parseInt(_0x14ceba(0x13b))/0x8;if(_0x3b4e09===_0x1154b4)break;else _0x236c3b['push'](_0x236c3b['shift']());}catch(_0x4d6a95){_0x236c3b['push'](_0x236c3b['shift']());}}}(_0x1f43,0x9e5ec));import{CKEditorError as _0x1cdf16,Collection as _0xe67dfe,FocusTracker as _0x34fca2}from'ckeditor5/src/utils.js';export default class x extends _0xe67dfe{constructor(_0x383065=[]){const _0x2591cd=_0x16ce;super(),this[_0x2591cd(0x148)]=new Map(),this[_0x2591cd(0x149)]=new Map(),this[_0x2591cd(0x14b)]=new _0x34fca2(),this[_0x2591cd(0x14b)]['on'](_0x2591cd(0x14f),(_0x35ad64,_0x1a5d77,_0x55cf64)=>{const _0x23ebe4=_0x2591cd;_0x55cf64||this[_0x23ebe4(0x157)](_0x23ebe4(0x144));});for(const _0x294c20 of _0x383065)this[_0x2591cd(0x159)](_0x294c20);}get[_0xbb3322(0x151)](){const _0x249536=_0xbb3322;return this[_0x249536(0x14b)][_0x249536(0x151)];}[_0xbb3322(0x159)](_0x4474f5){const _0x4c0a2a=_0xbb3322;if(this[_0x4c0a2a(0x15a)](_0x4474f5))throw new _0x1cdf16(_0x4c0a2a(0x14a),null);this[_0x4c0a2a(0x148)][_0x4c0a2a(0x155)](_0x4474f5[_0x4c0a2a(0x154)],_0x4474f5),this[_0x4c0a2a(0x149)][_0x4c0a2a(0x155)](_0x4474f5[_0x4c0a2a(0x14c)],_0x4474f5);for(const _0x41b79d of _0x4474f5[_0x4c0a2a(0x143)])this[_0x4c0a2a(0x14b)][_0x4c0a2a(0x159)](_0x41b79d);this[_0x4c0a2a(0x13f)](_0x4474f5[_0x4c0a2a(0x143)],_0x4c0a2a(0x159),(_0x3a3126,_0x426358)=>{const _0x300c95=_0x4c0a2a;this[_0x300c95(0x14b)][_0x300c95(0x159)](_0x426358);}),this[_0x4c0a2a(0x13f)](_0x4474f5[_0x4c0a2a(0x143)],_0x4c0a2a(0x15c),(_0x4779d3,_0x316c21)=>{const _0x12c47d=_0x4c0a2a;this[_0x12c47d(0x14b)][_0x12c47d(0x15c)](_0x316c21);}),this[_0x4c0a2a(0x13f)](_0x4474f5[_0x4c0a2a(0x14c)][_0x4c0a2a(0x152)],_0x4c0a2a(0x14f),(_0x54dfc1,_0x41287c,_0x3c8240)=>{const _0x8549c8=_0x4c0a2a;_0x3c8240&&this[_0x8549c8(0x157)](_0x8549c8(0x135),_0x4474f5);}),_0x4474f5[_0x4c0a2a(0x136)]();const _0xcf6f34=this[_0x4c0a2a(0x15e)](_0x4474f5[_0x4c0a2a(0x14c)][_0x4c0a2a(0x14e)]);return super[_0x4c0a2a(0x159)](_0x4474f5,_0xcf6f34);}[_0xbb3322(0x15c)](_0x26618a){const _0x23318b=_0xbb3322;if(!this[_0x23318b(0x15a)](_0x26618a))throw new _0x1cdf16(_0x23318b(0x14d),null);this[_0x23318b(0x15b)](_0x26618a[_0x23318b(0x14c)][_0x23318b(0x152)]),this[_0x23318b(0x15b)](_0x26618a[_0x23318b(0x143)]);for(const _0x28eb67 of _0x26618a[_0x23318b(0x143)])this[_0x23318b(0x14b)][_0x23318b(0x15c)](_0x28eb67);return this[_0x23318b(0x149)][_0x23318b(0x141)](_0x26618a[_0x23318b(0x14c)]),this[_0x23318b(0x148)][_0x23318b(0x141)](_0x26618a[_0x23318b(0x154)]),super[_0x23318b(0x15c)](_0x26618a);}[_0xbb3322(0x139)](_0x2a7737){const _0x540641=_0xbb3322;return this[_0x540641(0x148)][_0x540641(0x13a)](_0x2a7737);}[_0xbb3322(0x156)](_0x38da5c){const _0x31e229=_0xbb3322;return this[_0x31e229(0x149)][_0x31e229(0x13a)](_0x38da5c);}[_0xbb3322(0x137)](){const _0x4ba408=_0xbb3322;super[_0x4ba408(0x161)](),this[_0x4ba408(0x15b)](),this[_0x4ba408(0x148)][_0x4ba408(0x161)](),this[_0x4ba408(0x149)][_0x4ba408(0x161)](),this[_0x4ba408(0x14b)][_0x4ba408(0x137)]();}[_0xbb3322(0x15d)](){const _0x434e04=_0xbb3322;for(const _0x431eb5 of this)_0x431eb5[_0x434e04(0x136)]();this[_0x434e04(0x142)]();}[_0xbb3322(0x142)](){const _0x19779e=_0xbb3322,_0x5a00b6=Array[_0x19779e(0x13d)](this)[_0x19779e(0x146)]((_0x576c65,_0x20bc11)=>v(_0x576c65[_0x19779e(0x14c)][_0x19779e(0x14e)],_0x20bc11[_0x19779e(0x14c)][_0x19779e(0x14e)]));for(let _0x22356f=_0x5a00b6[_0x19779e(0x145)]-0x1;_0x22356f>0x0;_0x22356f--){const _0x458132=_0x5a00b6[_0x22356f];_0x22356f!==this[_0x19779e(0x138)](_0x458132)&&(this[_0x19779e(0x15c)](_0x458132),this[_0x19779e(0x159)](_0x458132));}}[_0xbb3322(0x15e)](_0x10419e){const _0x1929d=_0xbb3322;let _0x17d017=0x0;if(!_0x10419e)return this[_0x1929d(0x145)];for(const _0x5dc0de of this){const _0x5da62b=_0x5dc0de[_0x1929d(0x14c)][_0x1929d(0x14e)];if(_0x5da62b){if(v(_0x10419e,_0x5da62b)<0x0)return _0x17d017;_0x17d017++;}}return _0x17d017;}}export function bindAnnotationCollections({source:_0x28d029,target:_0x4525c4,filter:_0x541d44}){const _0x3e2b17=_0xbb3322;for(const _0x5c0a5b of _0x28d029)_0x541d44(_0x5c0a5b)&&_0x4525c4[_0x3e2b17(0x159)](_0x5c0a5b);_0x4525c4[_0x3e2b17(0x13f)](_0x28d029,_0x3e2b17(0x159),(_0x202dd2,_0x31772a)=>{const _0x104dd1=_0x3e2b17;_0x541d44(_0x31772a)&&_0x4525c4[_0x104dd1(0x159)](_0x31772a);}),_0x4525c4[_0x3e2b17(0x13f)](_0x28d029,_0x3e2b17(0x15c),(_0x130e54,_0x440cef)=>{const _0x39f8b6=_0x3e2b17;_0x4525c4[_0x39f8b6(0x15a)](_0x440cef)&&_0x4525c4[_0x39f8b6(0x15c)](_0x440cef);});}function _0x1f43(){const _0x4a31d7=['focus','updateTargetRect','destroy','getIndex','getByInnerView','get','11713744yvZPiA','left','from','1697826KCfyuv','listenTo','308440TqcWhq','delete','_sort','focusableElements','blur','length','sort','top','_innerViewToAnnotation','_viewToAnnotation','annotationcollection-duplicated-item','_focusTracker','view','annotationcollection-not-existing-item','targetRect','change:isFocused','698770ipDdjc','isFocused','focusTracker','27716lrGpvz','innerView','set','getByView','fire','1574019BrOZbC','add','has','stopListening','remove','refreshPositioning','_getOrderInContent','370idrcuu','3961174SwIrrE','clear'];_0x1f43=function(){return _0x4a31d7;};return _0x1f43();}function v(_0xa72b1c,_0x445eb1){const _0x552cc7=_0xbb3322;if(null===_0xa72b1c&&null===_0x445eb1)return 0x0;if(null===_0xa72b1c)return-0x1;if(null===_0x445eb1)return 0x1;const _0x4b451c=_0xa72b1c[_0x552cc7(0x147)]-_0x445eb1[_0x552cc7(0x147)];return 0x0==_0x4b451c?_0xa72b1c[_0x552cc7(0x13c)]-_0x445eb1[_0x552cc7(0x13c)]:_0x4b451c;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4670dd=_0x35ce;(function(_0x552ba3,_0x5d6698){const _0xbbf6b0=_0x35ce,_0x2bd058=_0x552ba3();while(!![]){try{const _0x45e221=-parseInt(_0xbbf6b0(0x17e))/0x1+-parseInt(_0xbbf6b0(0x1ae))/0x2*(-parseInt(_0xbbf6b0(0x1b9))/0x3)+parseInt(_0xbbf6b0(0x18d))/0x4+-parseInt(_0xbbf6b0(0x1a8))/0x5*(-parseInt(_0xbbf6b0(0x1a6))/0x6)+parseInt(_0xbbf6b0(0x1b7))/0x7+-parseInt(_0xbbf6b0(0x1bd))/0x8*(parseInt(_0xbbf6b0(0x1b6))/0x9)+-parseInt(_0xbbf6b0(0x1ba))/0xa;if(_0x45e221===_0x5d6698)break;else _0x2bd058['push'](_0x2bd058['shift']());}catch(_0x4bee0c){_0x2bd058['push'](_0x2bd058['shift']());}}}(_0x5d87,0xc21ca));import{ContextPlugin as _0x371d22,Editor as _0x454e0e}from'ckeditor5/src/core.js';import{first as _0x45893d}from'ckeditor5/src/utils.js';function _0x35ce(_0x30389c,_0x1cde40){const _0x5d872d=_0x5d87();return _0x35ce=function(_0x35ce12,_0x5c583e){_0x35ce12=_0x35ce12-0x171;let _0x325bbb=_0x5d872d[_0x35ce12];return _0x325bbb;},_0x35ce(_0x30389c,_0x1cde40);}import _0x2d7190 from'./annotation.js';import _0x5591e9 from'./annotationcollection.js';function _0x5d87(){const _0x1b6c2d=['annotations','1254876ulzzPl','Enter','30UDESwh','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT','isArray','_addActiveAnnotation','ready','Ctrl+Shift+E','9878OUgWga','Arrowup','context','deactivateAll','_setupEnterAnnotationKeystroke','destroy','editors','_activateAnnotation','8334worWRa','462658EOwUcE','_visibleAnnotations','516ldFAhx','10122300xKCJTm','_setupEscapeAnnotationHandling','set','2856NgcJDH','source','element','stopListening','activate','Esc','push','has','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS','_bindAnnotationsToVisibleAnnotations','values','delete','activeAnnotations','isVisible','931730sMmzPz','keystrokes','fire','change:isVisible','domRoots','focusTracker','Tab','Annotations','low','remove','Arrowdown','Ctrl+Enter','target','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS','add','3596584giafXX','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT','focus','createAnnotationView','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP','addKeystrokeInfoGroup','pluginName','accessibility','_deactivateAllAnnotations','getByInnerView','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO','Shift+Tab','editing','collection','listenTo','escape','view','_removeActiveAnnotation','refreshPositioning','contains','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER','createAnnotation','refreshVisibility','locale'];_0x5d87=function(){return _0x1b6c2d;};return _0x5d87();}import _0x225b35 from'./view/annotationview.js';import{getTranslation as _0x5b76fc}from'../utils/common-translations.js';import{FOCUS_ANNOTATION_KEYSTROKE as _0x1cafa1}from'@ckeditor/ckeditor5-collaboration-core';export default class N extends _0x371d22{static get[_0x4670dd(0x193)](){const _0xd53ec5=_0x4670dd;return _0xd53ec5(0x185);}constructor(_0x487187){const _0x819812=_0x4670dd;if(super(_0x487187),this[_0x819812(0x19a)]=new _0x5591e9(),this[_0x819812(0x1b8)]=new _0x5591e9(),this[_0x819812(0x1bc)](_0x819812(0x17c),new Set()),this[_0x819812(0x179)](),_0x487187 instanceof _0x454e0e){const _0xfae24e=_0x487187[_0x819812(0x1a4)];_0x487187[_0x819812(0x194)][_0x819812(0x192)]({'id':_0x819812(0x1a5),'label':_0x5b76fc(_0xfae24e,_0x819812(0x191)),'keystrokes':[{'label':_0x5b76fc(_0xfae24e,_0x819812(0x197)),'keystroke':_0x819812(0x1ad)},{'label':_0x5b76fc(_0xfae24e,_0x819812(0x1a9)),'keystroke':_0x819812(0x175)},{'label':_0x5b76fc(_0xfae24e,_0x819812(0x1a1)),'keystroke':_0x819812(0x1a7)},{'label':_0x5b76fc(_0xfae24e,_0x819812(0x18b)),'keystroke':[[_0x819812(0x184)],[_0x819812(0x198)]]},{'label':_0x5b76fc(_0xfae24e,_0x819812(0x18e)),'keystroke':[_0x819812(0x189)]},{'label':_0x5b76fc(_0xfae24e,_0x819812(0x178)),'keystroke':[[_0x819812(0x1af)],[_0x819812(0x188)]]}]});}this[_0x819812(0x1b2)](),this[_0x819812(0x1bb)]();}[_0x4670dd(0x18c)](_0xdfcb33){const _0x41b015=_0x4670dd;this[_0x41b015(0x19a)][_0x41b015(0x18c)](_0xdfcb33);}[_0x4670dd(0x187)](_0x57e93a){const _0x2589b8=_0x4670dd;this[_0x2589b8(0x19a)][_0x2589b8(0x187)](_0x57e93a),_0x57e93a[_0x2589b8(0x1b3)]();}[_0x4670dd(0x1a3)](){const _0x759bba=_0x4670dd;for(const _0x288700 of this[_0x759bba(0x19a)])_0x288700[_0x759bba(0x1a3)]();}[_0x4670dd(0x19f)](){const _0x4f2c29=_0x4670dd;this[_0x4f2c29(0x1b8)][_0x4f2c29(0x19f)]();}[_0x4670dd(0x196)](_0x133c4f){const _0xad606e=_0x4670dd;return this[_0xad606e(0x19a)][_0xad606e(0x196)](_0x133c4f);}[_0x4670dd(0x1b1)](){const _0x1d9ecf=_0x4670dd;this[_0x1d9ecf(0x180)](_0x1d9ecf(0x195));}[_0x4670dd(0x1b3)](){const _0x31ff2f=_0x4670dd;for(const _0x1afdce of this[_0x31ff2f(0x19a)])_0x1afdce[_0x31ff2f(0x1b3)]();this[_0x31ff2f(0x1b8)][_0x31ff2f(0x1b3)](),this[_0x31ff2f(0x19a)][_0x31ff2f(0x1b3)](),super[_0x31ff2f(0x1b3)]();}[_0x4670dd(0x174)](_0x59c205){const _0x136488=_0x4670dd;this[_0x136488(0x180)](_0x136488(0x1b5),_0x59c205);}[_0x4670dd(0x1a2)](_0x5460de){return new _0x2d7190(_0x5460de);}[_0x4670dd(0x190)](_0x5dfe67,_0x5722c3){return new _0x225b35(_0x5dfe67,_0x5722c3);}[_0x4670dd(0x1ab)](_0x261346){const _0x3f9e98=_0x4670dd,_0x2e693b=new Set(this[_0x3f9e98(0x17c)]);_0x2e693b[_0x3f9e98(0x18c)](_0x261346),this[_0x3f9e98(0x17c)]=_0x2e693b;}[_0x4670dd(0x19e)](_0x28b047){const _0x2331cd=_0x4670dd,_0x329ab6=new Set(this[_0x2331cd(0x17c)]);_0x329ab6[_0x2331cd(0x17b)](_0x28b047),this[_0x2331cd(0x17c)]=_0x329ab6;}[_0x4670dd(0x179)](){const _0x42804d=_0x4670dd,_0x1857e6=this[_0x42804d(0x19a)],_0xfded30=this[_0x42804d(0x1b8)];function _0xef46a8(_0x4e2162){const _0x19c6e9=_0x42804d,_0x3c277b=_0x4e2162[_0x19c6e9(0x171)];_0x3c277b[_0x19c6e9(0x17d)]&&!_0xfded30[_0x19c6e9(0x177)](_0x3c277b)?_0xfded30[_0x19c6e9(0x18c)](_0x3c277b):!_0x3c277b[_0x19c6e9(0x17d)]&&_0xfded30[_0x19c6e9(0x177)](_0x3c277b)&&_0xfded30[_0x19c6e9(0x187)](_0x3c277b),_0x3c277b[_0x19c6e9(0x19d)][_0x19c6e9(0x183)][_0x19c6e9(0x187)](_0x3c277b[_0x19c6e9(0x19d)][_0x19c6e9(0x172)]),_0x3c277b[_0x19c6e9(0x19d)][_0x19c6e9(0x183)][_0x19c6e9(0x18c)](_0x3c277b[_0x19c6e9(0x19d)][_0x19c6e9(0x172)]);}this[_0x42804d(0x19b)](_0x1857e6,_0x42804d(0x18c),(_0x512b4d,_0x696d53)=>{const _0x14865a=_0x42804d;_0x696d53[_0x14865a(0x17d)]&&_0xfded30[_0x14865a(0x18c)](_0x696d53),this[_0x14865a(0x19b)](_0x696d53,_0x14865a(0x181),_0xef46a8);}),this[_0x42804d(0x19b)](_0x1857e6,_0x42804d(0x187),(_0x573b90,_0xa9f8d2)=>{const _0x3a886d=_0x42804d;_0xfded30[_0x3a886d(0x177)](_0xa9f8d2)&&_0xfded30[_0x3a886d(0x187)](_0xa9f8d2),this[_0x3a886d(0x173)](_0xa9f8d2,_0x3a886d(0x181),_0xef46a8);});}[_0x4670dd(0x1b2)](){const _0x5905c1=_0x4670dd,_0x19ddd9=_0xb09b8e=>{const _0x1f2b7a=_0x35ce;_0xb09b8e['on'](_0x1f2b7a(0x1ac),()=>{const _0x361eaa=_0x1f2b7a;_0xb09b8e[_0x361eaa(0x17f)][_0x361eaa(0x1bc)](_0x1cafa1,(_0xe112e,_0xe8a580)=>{const _0x3658b2=_0x361eaa,_0x4302c3=_0x45893d(this[_0x3658b2(0x17c)][_0x3658b2(0x17a)]());_0x4302c3&&(_0x4302c3[_0x3658b2(0x19d)][_0x3658b2(0x18f)](),_0xe8a580());});});};this[_0x5905c1(0x1b0)]instanceof _0x454e0e?_0x19ddd9(this[_0x5905c1(0x1b0)]):this[_0x5905c1(0x1b0)][_0x5905c1(0x1b4)]&&this[_0x5905c1(0x1b0)][_0x5905c1(0x1b4)]['on'](_0x5905c1(0x18c),(_0x371771,_0x46296e)=>{_0x19ddd9(_0x46296e);});}[_0x4670dd(0x1bb)](){const _0x26f473=_0x4670dd,_0x3074a2=_0xcb0e28=>{const _0x775826=_0x35ce,_0x527ce3=_0xcb0e28[_0x775826(0x171)],_0xf58ca1=[];let _0xee1839;if(Array[_0x775826(0x1aa)](_0x527ce3[_0x775826(0x18a)])){_0xee1839=_0x527ce3[_0x775826(0x18a)][0x0],this[_0x775826(0x1b0)]instanceof _0x454e0e?_0xf58ca1[_0x775826(0x176)](this[_0x775826(0x1b0)]):this[_0x775826(0x1b0)][_0x775826(0x1b4)]&&_0xf58ca1[_0x775826(0x176)](...this[_0x775826(0x1b0)][_0x775826(0x1b4)]);for(const _0x44e6b7 of _0xf58ca1)for(const _0xa6e09 of _0x44e6b7[_0x775826(0x199)][_0x775826(0x19d)][_0x775826(0x182)][_0x775826(0x17a)]())if(_0xa6e09[_0x775826(0x1a0)](_0xee1839))return void _0x44e6b7[_0x775826(0x199)][_0x775826(0x19d)][_0x775826(0x18f)]();_0xee1839[_0x775826(0x18f)]();}};this[_0x26f473(0x19b)](this[_0x26f473(0x19a)],_0x26f473(0x18c),(_0x5908f0,_0x58215f)=>{const _0x51bcf8=_0x26f473;this[_0x51bcf8(0x19b)](_0x58215f,_0x51bcf8(0x19c),_0x3074a2,{'priority':_0x51bcf8(0x186)});}),this[_0x26f473(0x19b)](this[_0x26f473(0x19a)],_0x26f473(0x187),(_0x2d6fb6,_0x32239b)=>{const _0x2e1304=_0x26f473;this[_0x2e1304(0x173)](_0x32239b,_0x2e1304(0x19c),_0x3074a2);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4757(_0x18f565,_0x31f77e){const _0xfd048e=_0xfd04();return _0x4757=function(_0x47579d,_0x1f6be7){_0x47579d=_0x47579d-0x159;let _0x500471=_0xfd048e[_0x47579d];return _0x500471;},_0x4757(_0x18f565,_0x31f77e);}function _0xfd04(){const _0x3a0a47=['23538eiSHOC','switchTo','from','_removeActiveAnnotation','setActiveAnnotation','_setSelectedAnnotations','length','change:activeAnnotation','attach','activeUIs','size','12XAdPWa','context','destroy','163341PhkebC','deactivateAll','filter','pluginName','_visibleAnnotations','537766ErREtB','2131182qfhQqV','9918953agHRcn','remove','deactivate','_addActiveAnnotation','annotationsuis-annotation-mismatch','refilterAnnotations','593061gkEmnj','has','8cgDiJq','annotationsuis-register-already-registered','plugins','_uisData','activate','annotationsuis-register-invalid-interface','find','listenTo','_deactivateAllAnnotations','hasActive','register','init','delete','_activateAnnotation','collection','get','activeAnnotations','set','stopListening','64NMFfAY','isActive','function','2773700RjUNCA','_uis','add','push','annotationsuis-missing-ui','AnnotationsUIs','type','detach','4VyyuLa','requires','_assertAnnotationDoesNotBelongToMultipleUIs','1330MEDIhd'];_0xfd04=function(){return _0x3a0a47;};return _0xfd04();}const _0x411f94=_0x4757;(function(_0x162bd2,_0x52a7e1){const _0x5974bb=_0x4757,_0x8b07d6=_0x162bd2();while(!![]){try{const _0x473dbc=parseInt(_0x5974bb(0x18b))/0x1*(-parseInt(_0x5974bb(0x174))/0x2)+parseInt(_0x5974bb(0x186))/0x3*(-parseInt(_0x5974bb(0x169))/0x4)+-parseInt(_0x5974bb(0x177))/0x5*(-parseInt(_0x5974bb(0x178))/0x6)+parseInt(_0x5974bb(0x193))/0x7*(parseInt(_0x5974bb(0x195))/0x8)+parseInt(_0x5974bb(0x18c))/0x9+parseInt(_0x5974bb(0x16c))/0xa+-parseInt(_0x5974bb(0x18d))/0xb*(-parseInt(_0x5974bb(0x183))/0xc);if(_0x473dbc===_0x52a7e1)break;else _0x8b07d6['push'](_0x8b07d6['shift']());}catch(_0x53c783){_0x8b07d6['push'](_0x8b07d6['shift']());}}}(_0xfd04,0x91dc8));import{ContextPlugin as _0x175d1d}from'ckeditor5/src/core.js';import{CKEditorError as _0x145afc}from'ckeditor5/src/utils.js';import _0x44b0d7,{bindAnnotationCollections as _0x47b554}from'./annotationcollection.js';import _0x4c22fa from'./annotations.js';export default class M extends _0x175d1d{static get[_0x411f94(0x175)](){return[_0x4c22fa];}static get[_0x411f94(0x189)](){const _0x76b35a=_0x411f94;return _0x76b35a(0x171);}constructor(_0x1b4b6c){const _0x545bf8=_0x411f94;super(_0x1b4b6c),this[_0x545bf8(0x181)]=new Set(),this[_0x545bf8(0x16d)]=new Map(),this[_0x545bf8(0x159)]=new Map();}[_0x411f94(0x161)](){const _0x21fe8a=_0x411f94,_0x258d07=this[_0x21fe8a(0x184)][_0x21fe8a(0x197)][_0x21fe8a(0x165)](_0x4c22fa);this[_0x21fe8a(0x15d)](_0x258d07,_0x21fe8a(0x163),(_0x5977f2,_0x546eeb)=>{const _0x13ad85=_0x21fe8a;for(const _0x2800ac of this[_0x13ad85(0x181)]){const _0x4cbd29=this[_0x13ad85(0x16d)][_0x13ad85(0x165)](_0x2800ac);(0x0,this[_0x13ad85(0x159)][_0x13ad85(0x165)](_0x2800ac)[_0x13ad85(0x188)])(_0x546eeb)&&_0x4cbd29[_0x13ad85(0x17c)](_0x546eeb);}}),this[_0x21fe8a(0x15d)](_0x258d07,_0x21fe8a(0x15e),()=>{const _0x26a782=_0x21fe8a;for(const _0xc1972e of this[_0x26a782(0x181)]){this[_0x26a782(0x16d)][_0x26a782(0x165)](_0xc1972e)[_0x26a782(0x17c)](null);}}),this[_0x21fe8a(0x15d)](_0x258d07[_0x21fe8a(0x18a)],_0x21fe8a(0x16e),(_0xed77c0,_0x472309)=>{const _0x3717c7=_0x21fe8a;this[_0x3717c7(0x176)](_0x472309);});}[_0x411f94(0x15f)](){const _0x3f8740=_0x411f94;return this[_0x3f8740(0x181)][_0x3f8740(0x182)]>0x0;}[_0x411f94(0x16a)](_0x220429){const _0x24164f=_0x411f94;return this[_0x24164f(0x181)][_0x24164f(0x194)](_0x220429);}[_0x411f94(0x15a)](_0x4e4140,_0x10028f=()=>!0x0){const _0x2bf648=_0x411f94,_0x275815=this[_0x2bf648(0x184)][_0x2bf648(0x197)][_0x2bf648(0x165)](_0x4c22fa);if(!this[_0x2bf648(0x16d)][_0x2bf648(0x194)](_0x4e4140))throw new _0x145afc(_0x2bf648(0x170),this,{'uiName':_0x4e4140});this[_0x2bf648(0x16a)](_0x4e4140)&&this[_0x2bf648(0x18f)](_0x4e4140),this[_0x2bf648(0x181)][_0x2bf648(0x16e)](_0x4e4140);const _0x36bc6e=new _0x44b0d7(),_0x59ac44=_0x275815[_0x2bf648(0x18a)];_0x47b554({'source':_0x59ac44,'target':_0x36bc6e,'filter':_0x10028f}),this[_0x2bf648(0x159)][_0x2bf648(0x167)](_0x4e4140,{'collection':_0x36bc6e,'filter':_0x10028f});const _0x346cc9=this[_0x2bf648(0x16d)][_0x2bf648(0x165)](_0x4e4140);_0x346cc9[_0x2bf648(0x180)](_0x36bc6e),this[_0x2bf648(0x15d)](_0x346cc9,_0x2bf648(0x17f),(_0x28ea02,_0x5bb72e,_0x15ba5e,_0x51ba31)=>{const _0x4fc16e=_0x2bf648;_0x51ba31&&_0x275815[_0x4fc16e(0x17b)](_0x51ba31),_0x15ba5e&&_0x275815[_0x4fc16e(0x190)](_0x15ba5e);});}[_0x411f94(0x18f)](_0x13eebc){const _0x4be7ff=_0x411f94;if(this[_0x4be7ff(0x181)][_0x4be7ff(0x162)](_0x13eebc),!this[_0x4be7ff(0x16d)][_0x4be7ff(0x194)](_0x13eebc))throw new _0x145afc(_0x4be7ff(0x170),this,{'uiName':_0x13eebc});const _0x49b7d1=this[_0x4be7ff(0x16d)][_0x4be7ff(0x165)](_0x13eebc);_0x49b7d1[_0x4be7ff(0x173)](),this[_0x4be7ff(0x168)](_0x49b7d1),this[_0x4be7ff(0x159)][_0x4be7ff(0x165)](_0x13eebc)[_0x4be7ff(0x164)][_0x4be7ff(0x185)](),this[_0x4be7ff(0x159)][_0x4be7ff(0x162)](_0x13eebc);}[_0x411f94(0x179)](_0x4e3281){const _0x3b4b78=_0x411f94;if(!this[_0x3b4b78(0x16d)][_0x3b4b78(0x194)](_0x4e3281))throw new _0x145afc(_0x3b4b78(0x170),this,{'uiName':_0x4e3281});const _0x225f01=this[_0x3b4b78(0x184)][_0x3b4b78(0x197)][_0x3b4b78(0x165)](_0x4c22fa),_0x31785c=Array[_0x3b4b78(0x17a)](_0x225f01[_0x3b4b78(0x166)])[0x0]||null;this[_0x3b4b78(0x187)](),this[_0x3b4b78(0x15a)](_0x4e3281);const _0x457d22=this[_0x3b4b78(0x16d)][_0x3b4b78(0x165)](_0x4e3281);_0x457d22[_0x3b4b78(0x17c)](_0x31785c),_0x457d22[_0x3b4b78(0x17d)]&&_0x31785c&&_0x457d22[_0x3b4b78(0x17d)]([_0x31785c]);}[_0x411f94(0x187)](){const _0x2f6522=_0x411f94;for(const _0x1a7458 of this[_0x2f6522(0x181)])this[_0x2f6522(0x18f)](_0x1a7458);}[_0x411f94(0x160)](_0x43a58d,_0x49b1dd){const _0xe9b5a1=_0x411f94;if(this[_0xe9b5a1(0x16d)][_0xe9b5a1(0x194)](_0x43a58d))throw new _0x145afc(_0xe9b5a1(0x196));if(_0xe9b5a1(0x16b)!=typeof _0x49b1dd[_0xe9b5a1(0x180)]||_0xe9b5a1(0x16b)!=typeof _0x49b1dd[_0xe9b5a1(0x173)]||_0xe9b5a1(0x16b)!=typeof _0x49b1dd[_0xe9b5a1(0x17c)])throw new _0x145afc(_0xe9b5a1(0x15b),null);this[_0xe9b5a1(0x16d)][_0xe9b5a1(0x167)](_0x43a58d,_0x49b1dd);}[_0x411f94(0x192)](){const _0x4cfa51=_0x411f94,_0x1f216e=this[_0x4cfa51(0x184)][_0x4cfa51(0x197)][_0x4cfa51(0x165)](_0x4c22fa)[_0x4cfa51(0x164)],_0x224dc4=new Map(),_0x49db1a=Array[_0x4cfa51(0x17a)](this[_0x4cfa51(0x181)]);for(const _0x43a599 of this[_0x4cfa51(0x181)]){const _0x5d1f84=this[_0x4cfa51(0x159)][_0x4cfa51(0x165)](_0x43a599)[_0x4cfa51(0x164)];for(const _0x342247 of _0x5d1f84)_0x224dc4[_0x4cfa51(0x167)](_0x342247,_0x43a599);}for(const _0x3143d2 of _0x1f216e){const _0x8ca7df=_0x224dc4[_0x4cfa51(0x165)](_0x3143d2);this[_0x4cfa51(0x176)](_0x3143d2);const _0x248627=_0x49db1a[_0x4cfa51(0x15c)](_0x1c8f79=>this[_0x4cfa51(0x159)][_0x4cfa51(0x165)](_0x1c8f79)[_0x4cfa51(0x188)](_0x3143d2));_0x8ca7df!==_0x248627&&(_0x8ca7df&&this[_0x4cfa51(0x159)][_0x4cfa51(0x165)](_0x8ca7df)[_0x4cfa51(0x164)][_0x4cfa51(0x18e)](_0x3143d2),_0x248627&&this[_0x4cfa51(0x159)][_0x4cfa51(0x165)](_0x248627)[_0x4cfa51(0x164)][_0x4cfa51(0x16e)](_0x3143d2));}}[_0x411f94(0x185)](){const _0x3b39bc=_0x411f94;this[_0x3b39bc(0x187)](),super[_0x3b39bc(0x185)]();}[_0x411f94(0x176)](_0x5c3583){const _0xbad2c0=_0x411f94,_0x40a0a9=[];for(const _0x289b0c of this[_0xbad2c0(0x181)]){(0x0,this[_0xbad2c0(0x159)][_0xbad2c0(0x165)](_0x289b0c)[_0xbad2c0(0x188)])(_0x5c3583)&&_0x40a0a9[_0xbad2c0(0x16f)](_0x289b0c);}if(_0x40a0a9[_0xbad2c0(0x17e)]>0x1)throw new _0x145afc(_0xbad2c0(0x191),null,{'matchedUIs':_0x40a0a9,'annotationType':_0x5c3583[_0xbad2c0(0x172)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4b62(){const _0x4204cd=['getOrderedSelectedAnnotations','EditorAnnotations','requires','model','delete','from','_dataCollectors','hasDomSelection','pluginName','4357192XMwnyH','isEqual','cancel','editor','blur','registerAnnotation','listenTo','directChange','remove','1933575dgxYbR','innerView','add','function','6550209WLZjdh','59654aSMyEy','has','editorannotations-invalid-source-callback','3186860UnChqK','view','_editorAnnotations','1992CWamhk','5929slONyk','getRanges','addSourceCollector','change:isFocused','refresh','isReadOnly','28VvwreF','fire','change:range','init','element','focusTracker','annotation','getByInnerView','collection','editing','_editorAnnotationsData','sort','24zVrTpm','uiUpdate','get','isCollapsed','containsRange','document','plugins','refreshSelectedViews','348595PWqBPW','update','map','range','set','selection','push'];_0x4b62=function(){return _0x4204cd;};return _0x4b62();}const _0x11c775=_0x1d4e;(function(_0x4b8c80,_0x55edcf){const _0x226923=_0x1d4e,_0x586f31=_0x4b8c80();while(!![]){try{const _0x4bb88a=parseInt(_0x226923(0x207))/0x1*(parseInt(_0x226923(0x22d))/0x2)+-parseInt(_0x226923(0x228))/0x3+-parseInt(_0x226923(0x1fb))/0x4*(-parseInt(_0x226923(0x20f))/0x5)+parseInt(_0x226923(0x1f4))/0x6*(-parseInt(_0x226923(0x1f5))/0x7)+parseInt(_0x226923(0x21f))/0x8+-parseInt(_0x226923(0x22c))/0x9+parseInt(_0x226923(0x1f1))/0xa;if(_0x4bb88a===_0x55edcf)break;else _0x586f31['push'](_0x586f31['shift']());}catch(_0x39bbdf){_0x586f31['push'](_0x586f31['shift']());}}}(_0x4b62,0x64ff6));import{Plugin as _0x55fd4c}from'ckeditor5/src/core.js';import{CKEditorError as _0x3703a3}from'ckeditor5/src/utils.js';import{debounce as _0x333c5c}from'lodash-es';import _0xd9a751 from'./annotations.js';function _0x1d4e(_0x1a9b4e,_0x47374a){const _0x4b620d=_0x4b62();return _0x1d4e=function(_0x1d4e40,_0x6f334a){_0x1d4e40=_0x1d4e40-0x1f1;let _0xb01f6e=_0x4b620d[_0x1d4e40];return _0xb01f6e;},_0x1d4e(_0x1a9b4e,_0x47374a);}export default class b extends _0x55fd4c{static get[_0x11c775(0x218)](){return[_0xd9a751];}static get[_0x11c775(0x21e)](){const _0xb11cde=_0x11c775;return _0xb11cde(0x217);}constructor(_0x190dec){const _0x5985b5=_0x11c775;super(_0x190dec),this[_0x5985b5(0x21c)]=new Set(),this[_0x5985b5(0x1f3)]=new Set();}[_0x11c775(0x1fe)](){const _0x2a5fe1=_0x11c775,_0x58b46b=this[_0x2a5fe1(0x222)],_0x18be2d=_0x58b46b[_0x2a5fe1(0x219)][_0x2a5fe1(0x20c)][_0x2a5fe1(0x214)],_0x37fa90=_0x333c5c(()=>this[_0x2a5fe1(0x20e)](),0xa);_0x18be2d['on'](_0x2a5fe1(0x1fd),(_0x518433,_0x59281e)=>{const _0xfd5806=_0x2a5fe1;_0x59281e[_0xfd5806(0x226)]&&(_0x37fa90[_0xfd5806(0x221)](),this[_0xfd5806(0x20e)]());}),this[_0x2a5fe1(0x225)](_0x58b46b[_0x2a5fe1(0x204)][_0x2a5fe1(0x1f2)][_0x2a5fe1(0x20c)],_0x2a5fe1(0x1f8),(_0x14657f,_0x4824c0,_0x41294b)=>{_0x41294b&&_0x37fa90();}),this[_0x2a5fe1(0x225)](_0x58b46b['ui'][_0x2a5fe1(0x200)],_0x2a5fe1(0x1f8),(_0x3fca10,_0x30bf99,_0x181bfc)=>{const _0x36b215=_0x2a5fe1;_0x181bfc||_0x58b46b[_0x36b215(0x1fa)]||this[_0x36b215(0x1fc)](_0x36b215(0x223),{'isAnnotationTracked':_0x45ab22=>this[_0x36b215(0x205)][_0x36b215(0x22e)](_0x45ab22[_0x36b215(0x229)])});}),this[_0x2a5fe1(0x225)](this[_0x2a5fe1(0x222)]['ui'],_0x2a5fe1(0x210),()=>this[_0x2a5fe1(0x1fc)](_0x2a5fe1(0x208)));}[_0x11c775(0x224)](_0x1a7bd0){const _0x401a7a=_0x11c775;if(this[_0x401a7a(0x1f3)][_0x401a7a(0x22e)](_0x1a7bd0[_0x401a7a(0x1f2)]))return;this[_0x401a7a(0x1f3)][_0x401a7a(0x22a)](_0x1a7bd0[_0x401a7a(0x1f2)]),this[_0x401a7a(0x222)]['ui'][_0x401a7a(0x200)][_0x401a7a(0x22a)](_0x1a7bd0[_0x401a7a(0x1f2)][_0x401a7a(0x1ff)]);const _0x31850c=this[_0x401a7a(0x222)][_0x401a7a(0x20d)][_0x401a7a(0x209)](_0xd9a751);this[_0x401a7a(0x225)](_0x31850c[_0x401a7a(0x203)],_0x401a7a(0x227),(_0x545e44,_0x4d9027)=>{const _0x93d8f8=_0x401a7a;this[_0x93d8f8(0x222)]['ui'][_0x93d8f8(0x200)][_0x93d8f8(0x227)](_0x4d9027[_0x93d8f8(0x1f2)][_0x93d8f8(0x1ff)]),this[_0x93d8f8(0x1f3)][_0x93d8f8(0x21a)](_0x4d9027[_0x93d8f8(0x1f2)]);});}[_0x11c775(0x21d)](){const _0x433716=_0x11c775;return this[_0x433716(0x222)][_0x433716(0x204)][_0x433716(0x1f2)][_0x433716(0x21d)];}[_0x11c775(0x1f7)](_0x5da247){const _0x573c18=_0x11c775;if(_0x573c18(0x22b)!=typeof _0x5da247)throw new _0x3703a3(_0x573c18(0x22f));this[_0x573c18(0x21c)][_0x573c18(0x22a)](_0x5da247);}[_0x11c775(0x20e)](){const _0x20c24b=_0x11c775;this[_0x20c24b(0x1fc)](_0x20c24b(0x1f9));}[_0x11c775(0x216)]({activeAnnotation:_0xb2c1c5,annotations:_0x97fee7}){const _0x44532c=_0x11c775,_0x1ecbf2=[],_0x1a8367=this[_0x44532c(0x222)][_0x44532c(0x219)][_0x44532c(0x20c)][_0x44532c(0x214)],_0x69fc6f=Array[_0x44532c(0x21b)](_0x1a8367[_0x44532c(0x1f6)]());for(const [_0x566f46,_0x514b15]of this[_0x44532c(0x205)]){const _0x195eb8=_0x4879c9(_0x514b15),_0x1ed78e=_0x97fee7[_0x44532c(0x202)](_0x566f46);_0x195eb8&&_0x1ed78e&&_0x1ecbf2[_0x44532c(0x215)]({'annotation':_0x1ed78e,'range':_0x195eb8});}function _0x4879c9(_0x376d51){const _0xcad089=_0x44532c;for(const _0x5d4890 of _0x376d51)for(const _0x5341be of _0x69fc6f)if(_0x5d4890[_0xcad089(0x20b)](_0x5341be,!_0x1a8367[_0xcad089(0x20a)]))return _0x5d4890;return null;}return _0x1ecbf2[_0x44532c(0x206)]((_0x386e78,_0x4b306c)=>{const _0x1112d8=_0x44532c,_0x2f396f=_0x386e78[_0x1112d8(0x212)],_0x21e901=_0x4b306c[_0x1112d8(0x212)];if(!_0x2f396f[_0x1112d8(0x220)](_0x21e901)){if(_0x2f396f[_0x1112d8(0x20b)](_0x21e901,!0x0))return 0x1;if(_0x21e901[_0x1112d8(0x20b)](_0x2f396f,!0x0))return-0x1;}return _0x386e78[_0x1112d8(0x201)]==_0xb2c1c5?-0x1:_0x4b306c[_0x1112d8(0x201)]==_0xb2c1c5?0x1:0x0;})[_0x44532c(0x211)](_0x1ffef2=>_0x1ffef2[_0x44532c(0x201)]);}get[_0x11c775(0x205)](){const _0x544053=_0x11c775,_0x2d10c4=new Map();for(const _0x2b863d of Array[_0x544053(0x21b)](this[_0x544053(0x21c)]))for(const [_0x55b7ae,_0x4c8cb9]of _0x2b863d())_0x2d10c4[_0x544053(0x213)](_0x55b7ae,_0x4c8cb9);return _0x2d10c4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x1350(_0x209b5f,_0x47220a){const _0x3a80a5=_0x3a80();return _0x1350=function(_0x1350fd,_0x2e2377){_0x1350fd=_0x1350fd-0x170;let _0x8e31a8=_0x3a80a5[_0x1350fd];return _0x8e31a8;},_0x1350(_0x209b5f,_0x47220a);}const _0x24642a=_0x1350;(function(_0x4e7202,_0x1a5dc1){const _0x251663=_0x1350,_0x122086=_0x4e7202();while(!![]){try{const _0x44f1c0=-parseInt(_0x251663(0x191))/0x1*(parseInt(_0x251663(0x182))/0x2)+parseInt(_0x251663(0x176))/0x3*(-parseInt(_0x251663(0x1aa))/0x4)+parseInt(_0x251663(0x1c5))/0x5+-parseInt(_0x251663(0x1b7))/0x6*(parseInt(_0x251663(0x1bb))/0x7)+parseInt(_0x251663(0x17b))/0x8*(-parseInt(_0x251663(0x1d3))/0x9)+parseInt(_0x251663(0x1cb))/0xa*(-parseInt(_0x251663(0x1c7))/0xb)+-parseInt(_0x251663(0x1a7))/0xc*(-parseInt(_0x251663(0x188))/0xd);if(_0x44f1c0===_0x1a5dc1)break;else _0x122086['push'](_0x122086['shift']());}catch(_0x335fd2){_0x122086['push'](_0x122086['shift']());}}}(_0x3a80,0xb1d18));import{Plugin as _0x4a77d9}from'ckeditor5/src/core.js';import _0x5d4c3c from'./annotationsuis.js';import _0x3b1d1e from'./editorannotations.js';function _0x3a80(){const _0x43f51a=['685956sBItyU','isFocused','selection','4uyFDIr','push','Esc','update','remove','change:visibleView','listenTo','width','register','viewRangeToDom','getByView','targetRect','get','156zCnhYH','set','delete','domConverter','194257jkQuSr','length','afterInit','inlineannotations-detach-not-attached','attach','init','_manuallyClosed','getBoundingClientRect','detach','fromRect','2828225mvmzdS','_selectedAnnotations','4356yXmUXP','bottom','plugins','right','730bQCZEg','includes','hasActive','clear','getClientRects','destroy','pluginName','hasView','9xDNJCv','inlineannotations-not-allowed-with-context','view','annotations','map','InlineAnnotations','focusTracker','965868wGhJjj','_getBalloonTargetForAnnotation','getOrderedSelectedAnnotations','editor','_addAnnotationToBalloon','6383552ZUvDnz','updatePosition','isActive','change:height','mousedown','_addedAnnotations','getFirstRange','76662pKEBjv','refresh','find','add','addObserver','requires','689zDVxUU','inlineannotations-attach-already-attached','inline','context','_balloon','editing','from','keystrokes','blur','26UFxpXB','visibleView','_closeAnnotation','showStack','focus','stopListening','top','collapse','every','activeAnnotation','change:isFocused','has','target','setActiveAnnotation','editableElement','isAttached','switchTo','left','document','_forceRefresh','_setSelectedAnnotations','_removeAnnotationFromBalloon'];_0x3a80=function(){return _0x43f51a;};return _0x3a80();}import{ContextualBalloon as _0x206d31}from'ckeditor5/src/ui.js';import{MouseObserver as _0x1732a3}from'ckeditor5/src/engine.js';import{CKEditorError as _0x26b8cf,Rect as _0x421710}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x4a77d9{static get[_0x24642a(0x187)](){return[_0x3b1d1e,_0x206d31,_0x5d4c3c];}static get[_0x24642a(0x1d1)](){const _0x239857=_0x24642a;return _0x239857(0x174);}constructor(_0x52ae29){const _0x55ee17=_0x24642a;super(_0x52ae29),_0x52ae29[_0x55ee17(0x18d)][_0x55ee17(0x171)][_0x55ee17(0x186)](_0x1732a3),this[_0x55ee17(0x1a0)]=!0x1,this[_0x55ee17(0x1b8)](_0x55ee17(0x19a),null),this[_0x55ee17(0x172)]=null,this[_0x55ee17(0x1c1)]=new Set(),this[_0x55ee17(0x18c)]=_0x52ae29[_0x55ee17(0x1c9)][_0x55ee17(0x1b6)](_0x206d31),this[_0x55ee17(0x180)]=new Set(),this[_0x55ee17(0x1c6)]=[],this[_0x55ee17(0x1a4)]=!0x1;}[_0x24642a(0x1c0)](){const _0x215c72=_0x24642a,_0x8778dd=this[_0x215c72(0x179)][_0x215c72(0x1c9)][_0x215c72(0x1b6)](_0x5d4c3c);_0x8778dd[_0x215c72(0x18b)]===this[_0x215c72(0x179)]&&(_0x8778dd[_0x215c72(0x1b2)](_0x215c72(0x18a),this),this[_0x215c72(0x179)][_0x215c72(0x18f)][_0x215c72(0x1b8)](_0x215c72(0x1ac),(_0x49bfa9,_0x3ca4e8)=>{const _0x144953=_0x215c72,_0x2292c4=this[_0x144953(0x18c)];if(this[_0x144953(0x1a0)]&&_0x2292c4[_0x144953(0x192)]){const _0x21e76d=this[_0x144953(0x172)][_0x144953(0x1b4)](_0x2292c4[_0x144953(0x192)]);_0x21e76d&&this[_0x144953(0x193)](_0x21e76d),_0x3ca4e8();}}));}[_0x24642a(0x1bd)](){const _0x36c362=_0x24642a,_0xedbe94=this[_0x36c362(0x179)][_0x36c362(0x1c9)][_0x36c362(0x1b6)](_0x5d4c3c);_0xedbe94[_0x36c362(0x18b)]===this[_0x36c362(0x179)]&&(_0xedbe94[_0x36c362(0x1cd)]()||_0xedbe94[_0x36c362(0x1a1)](_0x36c362(0x18a)));}[_0x24642a(0x19e)](_0x4f59dc){const _0x3b55cb=_0x24642a;_0x4f59dc!==this[_0x3b55cb(0x19a)]&&(this[_0x3b55cb(0x19a)]&&(this[_0x3b55cb(0x19a)][_0x3b55cb(0x17d)]=!0x1),_0x4f59dc&&this[_0x3b55cb(0x179)]['ui'][_0x3b55cb(0x175)][_0x3b55cb(0x1a8)]&&(this[_0x3b55cb(0x172)][_0x3b55cb(0x19c)](_0x4f59dc)&&this[_0x3b55cb(0x17a)](_0x4f59dc,!0x0),_0x4f59dc[_0x3b55cb(0x17d)]=!0x0),_0x4f59dc||this[_0x3b55cb(0x1a5)]([]),this[_0x3b55cb(0x19a)]=_0x4f59dc);}[_0x24642a(0x1bf)](_0x3e3e7b){const _0x1b450d=_0x24642a;this[_0x1b450d(0x172)]=_0x3e3e7b;const _0x2f3a5e=this[_0x1b450d(0x179)][_0x1b450d(0x1c9)][_0x1b450d(0x1b6)](_0x5d4c3c),_0xda358d=this[_0x1b450d(0x18c)];if(this[_0x1b450d(0x1a0)])throw new _0x26b8cf(_0x1b450d(0x189),this);if(_0x2f3a5e[_0x1b450d(0x18b)]!==this[_0x1b450d(0x179)])throw new _0x26b8cf(_0x1b450d(0x170),this);const _0x3c428f=this[_0x1b450d(0x179)][_0x1b450d(0x1c9)][_0x1b450d(0x1b6)](_0x3b1d1e);this[_0x1b450d(0x1b0)](_0x3c428f,_0x1b450d(0x183),()=>{const _0x53e841=_0x1b450d,_0x326a10=_0x3c428f[_0x53e841(0x178)]({'annotations':this[_0x53e841(0x172)],'activeAnnotation':this[_0x53e841(0x19a)]});var _0x306f1d,_0x4ce23a;!this[_0x53e841(0x1a4)]&&(_0x306f1d=_0x326a10,_0x4ce23a=this[_0x53e841(0x1c6)],_0x306f1d[_0x53e841(0x1bc)]===_0x4ce23a[_0x53e841(0x1bc)]&&_0x306f1d[_0x53e841(0x199)](_0x2a4017=>_0x4ce23a[_0x53e841(0x1cc)](_0x2a4017)))||(this[_0x53e841(0x1a4)]=!0x1,this[_0x53e841(0x1a5)](_0x326a10),this[_0x53e841(0x19e)](_0x326a10[0x0]||null));}),this[_0x1b450d(0x1b0)](_0x3c428f,_0x1b450d(0x190),(_0x3af348,{isAnnotationTracked:_0x18f530})=>{const _0x3c1d99=_0x1b450d;this[_0x3c1d99(0x19a)]&&_0x18f530(this[_0x3c1d99(0x19a)])&&(this[_0x3c1d99(0x1a5)]([]),this[_0x3c1d99(0x19e)](null));}),this[_0x1b450d(0x1b0)](this[_0x1b450d(0x179)]['ui'][_0x1b450d(0x175)],_0x1b450d(0x19b),(_0x429328,_0x6f4e40,_0x129144)=>{const _0x411b79=_0x1b450d;_0x129144||this[_0x411b79(0x19e)](null);}),this[_0x1b450d(0x1b0)](_0x3e3e7b,_0x1b450d(0x1ae),(_0x419098,_0x16fcaa)=>{const _0x3fdc76=_0x1b450d;this[_0x3fdc76(0x1a6)](_0x16fcaa),_0x16fcaa===this[_0x3fdc76(0x19a)]&&this[_0x3fdc76(0x19e)](null);}),this[_0x1b450d(0x1b0)](_0xda358d,_0x1b450d(0x1af),(_0x6fa532,_0x2a1dae,_0x450d65,_0x239fb3)=>{const _0x264988=_0x1b450d;_0x239fb3&&this[_0x264988(0x196)](_0x239fb3);const _0x1cd317=_0x3e3e7b[_0x264988(0x1b4)](_0x450d65);_0x450d65&&_0x1cd317&&(this[_0x264988(0x1b0)](_0x450d65,_0x264988(0x17e),()=>{const _0x362a34=_0x264988;_0xda358d[_0x362a34(0x17c)]();}),this[_0x264988(0x1b0)](_0x450d65,_0x264988(0x1ac),()=>{const _0x3e3061=_0x264988;this[_0x3e3061(0x193)](_0x1cd317),this[_0x3e3061(0x179)][_0x3e3061(0x18d)][_0x3e3061(0x171)][_0x3e3061(0x195)]();}),this[_0x264988(0x19a)]!==_0x1cd317&&this[_0x264988(0x19e)](_0x1cd317));}),this[_0x1b450d(0x1b0)](this[_0x1b450d(0x179)]['ui'],_0x1b450d(0x1ad),()=>{const _0x5da130=_0x1b450d;_0xda358d[_0x5da130(0x192)]&&(_0x3e3e7b[_0x5da130(0x1b4)](_0xda358d[_0x5da130(0x192)])&&_0xda358d[_0x5da130(0x17c)]());}),this[_0x1b450d(0x1b0)](this[_0x1b450d(0x179)][_0x1b450d(0x18d)][_0x1b450d(0x171)][_0x1b450d(0x1a3)],_0x1b450d(0x17f),()=>{const _0x4ac1c3=_0x1b450d;this[_0x4ac1c3(0x1a4)]=!0x0,this[_0x4ac1c3(0x1c1)][_0x4ac1c3(0x1ce)]();}),this[_0x1b450d(0x179)][_0x1b450d(0x18d)][_0x1b450d(0x171)][_0x1b450d(0x1a3)][_0x1b450d(0x1a9)][_0x1b450d(0x19f)]&&this[_0x1b450d(0x179)][_0x1b450d(0x18d)][_0x1b450d(0x171)][_0x1b450d(0x195)](),this[_0x1b450d(0x1a0)]=!0x0;}[_0x24642a(0x1c3)](){const _0x2aa47f=_0x24642a;if(!this[_0x2aa47f(0x1a0)])throw new _0x26b8cf(_0x2aa47f(0x1be),this);this[_0x2aa47f(0x19e)](null);for(const _0x2a1ee7 of this[_0x2aa47f(0x180)])this[_0x2aa47f(0x1a6)](_0x2a1ee7);this[_0x2aa47f(0x196)](),this[_0x2aa47f(0x1a0)]=!0x1,this[_0x2aa47f(0x172)]=null;}[_0x24642a(0x1d0)](){const _0x3f359f=_0x24642a;this[_0x3f359f(0x1a0)]&&this[_0x3f359f(0x1c3)]();}[_0x24642a(0x1a5)](_0xd60e82){const _0x3e7cbe=_0x24642a;for(const _0xa0fbe of this[_0x3e7cbe(0x1c6)])_0xd60e82[_0x3e7cbe(0x1cc)](_0xa0fbe)||this[_0x3e7cbe(0x1c1)][_0x3e7cbe(0x1b9)](_0xa0fbe);for(const _0x5177c0 of this[_0x3e7cbe(0x172)])_0xd60e82[_0x3e7cbe(0x1cc)](_0x5177c0)||this[_0x3e7cbe(0x1a6)](_0x5177c0);if(this[_0x3e7cbe(0x179)]['ui'][_0x3e7cbe(0x175)][_0x3e7cbe(0x1a8)]){for(const _0x5ab434 of _0xd60e82)this[_0x3e7cbe(0x17a)](_0x5ab434);}this[_0x3e7cbe(0x1c6)]=_0xd60e82;}[_0x24642a(0x17a)](_0x26bb9c,_0x536ca8=!0x1){const _0x26cfa6=_0x24642a;this[_0x26cfa6(0x1c1)][_0x26cfa6(0x19c)](_0x26bb9c)||(this[_0x26cfa6(0x180)][_0x26cfa6(0x19c)](_0x26bb9c)||this[_0x26cfa6(0x18c)][_0x26cfa6(0x1d2)](_0x26bb9c[_0x26cfa6(0x171)])||(this[_0x26cfa6(0x180)][_0x26cfa6(0x185)](_0x26bb9c),this[_0x26cfa6(0x18c)][_0x26cfa6(0x185)]({'stackId':_0x26bb9c[_0x26cfa6(0x171)]['id'],'view':_0x26bb9c[_0x26cfa6(0x171)],'position':{'target':()=>this[_0x26cfa6(0x177)](_0x26bb9c)}})),_0x536ca8&&this[_0x26cfa6(0x18c)][_0x26cfa6(0x194)](_0x26bb9c[_0x26cfa6(0x171)]['id']));}[_0x24642a(0x177)](_0x284357){const _0x283110=_0x24642a,_0x1ed85b=_0x284357[_0x283110(0x19d)],_0x1b9a08=this[_0x283110(0x179)][_0x283110(0x18d)][_0x283110(0x171)],_0xdbb0b7=_0x1b9a08[_0x283110(0x1a3)][_0x283110(0x1a9)][_0x283110(0x181)](),_0x17db19=_0x1b9a08[_0x283110(0x1ba)][_0x283110(0x1b3)](_0xdbb0b7);if(_0x17db19[_0x283110(0x198)](!0x0),_0x1ed85b){if(_0x1ed85b instanceof _0x421710)return _0x1ed85b;let _0x2671ba=[];for(const _0xc33cd2 of _0x1ed85b)_0x2671ba[_0x283110(0x1ab)](...(_0x25ad4c=_0xc33cd2[_0x283110(0x1cf)](),Array[_0x283110(0x18e)](_0x25ad4c)[_0x283110(0x173)](DOMRect[_0x283110(0x1c4)])));_0x2671ba=function(_0x1789f1){const _0x52c5db=_0x283110,_0x359b17=[];let _0x8ef652=_0x1789f1[0x0];for(let _0x5808f3=0x1;_0x5808f3<_0x1789f1[_0x52c5db(0x1bc)];_0x5808f3++)q(_0x8ef652,_0x1789f1[_0x5808f3])?_0x8ef652[_0x52c5db(0x1b1)]+=_0x1789f1[_0x5808f3][_0x52c5db(0x1b1)]:(_0x359b17[_0x52c5db(0x1ab)](_0x8ef652),_0x8ef652=_0x1789f1[_0x5808f3]);return _0x359b17[_0x52c5db(0x1ab)](_0x8ef652),_0x359b17;}(_0x2671ba);const _0x4cd5dd=_0x17db19[_0x283110(0x1c2)]();return _0x2671ba[_0x283110(0x184)](_0xc0e5e3=>_0xc0e5e3[_0x283110(0x197)]<=_0x4cd5dd[_0x283110(0x197)]&&_0xc0e5e3[_0x283110(0x1c8)]>=_0x4cd5dd[_0x283110(0x1c8)]&&_0xc0e5e3[_0x283110(0x1a2)]<=_0x4cd5dd[_0x283110(0x1a2)]&&_0xc0e5e3[_0x283110(0x1ca)]>=_0x4cd5dd[_0x283110(0x1ca)])||_0x2671ba[0x0];}var _0x25ad4c;return _0x284357[_0x283110(0x1b5)]||_0x17db19;}[_0x24642a(0x1a6)](_0x52f646){const _0x44c56c=_0x24642a;this[_0x44c56c(0x180)][_0x44c56c(0x19c)](_0x52f646)&&this[_0x44c56c(0x18c)][_0x44c56c(0x1d2)](_0x52f646[_0x44c56c(0x171)])&&(this[_0x44c56c(0x180)][_0x44c56c(0x1b9)](_0x52f646),this[_0x44c56c(0x18c)][_0x44c56c(0x1ae)](_0x52f646[_0x44c56c(0x171)]));}[_0x24642a(0x193)](_0x3a277d){const _0x21f4c4=_0x24642a;this[_0x21f4c4(0x1c1)][_0x21f4c4(0x185)](_0x3a277d),this[_0x21f4c4(0x1a6)](_0x3a277d);}}function q(_0x1adf91,_0x469e87){const _0x1fb3e7=_0x24642a;return _0x1adf91[_0x1fb3e7(0x197)]===_0x469e87[_0x1fb3e7(0x197)]&&_0x1adf91[_0x1fb3e7(0x1c8)]===_0x469e87[_0x1fb3e7(0x1c8)]&&_0x1adf91[_0x1fb3e7(0x1ca)]===_0x469e87[_0x1fb3e7(0x1a2)];}
|
|
23
|
+
const _0x43a93d=_0x29d2;(function(_0x6d99c4,_0x4fb619){const _0x584985=_0x29d2,_0x442f19=_0x6d99c4();while(!![]){try{const _0x5c7465=-parseInt(_0x584985(0xcc))/0x1*(parseInt(_0x584985(0xa9))/0x2)+parseInt(_0x584985(0x97))/0x3+-parseInt(_0x584985(0xe2))/0x4*(parseInt(_0x584985(0xee))/0x5)+-parseInt(_0x584985(0x9e))/0x6*(-parseInt(_0x584985(0xe9))/0x7)+parseInt(_0x584985(0xd8))/0x8+-parseInt(_0x584985(0xb7))/0x9*(parseInt(_0x584985(0x98))/0xa)+parseInt(_0x584985(0xb9))/0xb*(parseInt(_0x584985(0xa2))/0xc);if(_0x5c7465===_0x4fb619)break;else _0x442f19['push'](_0x442f19['shift']());}catch(_0x30c34e){_0x442f19['push'](_0x442f19['shift']());}}}(_0x33b2,0xd564a));import{Plugin as _0x56ae9e}from'ckeditor5/src/core.js';function _0x33b2(){const _0x53566c=['pluginName','collapse','get','detach','isAttached','53739bNFqJm','keystrokes','55IGERIK','update','editor','editing','change:visibleView','selection','_addedAnnotations','Esc','length','domConverter','has','viewRangeToDom','plugins','width','activeAnnotation','view','push','hasView','find','160883chVFzX','editableElement','set','change:height','hasActive','_forceRefresh','addObserver','isActive','inline','every','delete','includes','6796352cqKTqT','_closeAnnotation','switchTo','register','focusTracker','targetRect','init','fromRect','document','bottom','68bfmzzq','updatePosition','getFirstRange','inlineannotations-detach-not-attached','focus','_addAnnotationToBalloon','target','1834644LnxKar','inlineannotations-attach-already-attached','clear','add','_setSelectedAnnotations','335765UJufsb','_getBalloonTargetForAnnotation','context','getOrderedSelectedAnnotations','refresh','from','_selectedAnnotations','getClientRects','attach','stopListening','left','right','825576WHZiYm','2530AGqICY','getBoundingClientRect','isFocused','requires','annotations','_balloon','24pSYgLm','top','_manuallyClosed','afterInit','4792200NAjFUG','destroy','map','remove','mousedown','getByView','_removeAnnotationFromBalloon','8eEbjTv','change:isFocused','visibleView','inlineannotations-not-allowed-with-context','blur','setActiveAnnotation','listenTo','InlineAnnotations','showStack'];_0x33b2=function(){return _0x53566c;};return _0x33b2();}import _0x4be768 from'./annotationsuis.js';import _0x280fca from'./editorannotations.js';import{ContextualBalloon as _0x17adea}from'ckeditor5/src/ui.js';import{MouseObserver as _0x10e344}from'ckeditor5/src/engine.js';function _0x29d2(_0xc262db,_0x5b8b00){const _0x33b235=_0x33b2();return _0x29d2=function(_0x29d260,_0x8b0e5d){_0x29d260=_0x29d260-0x96;let _0x2c9bf5=_0x33b235[_0x29d260];return _0x2c9bf5;},_0x29d2(_0xc262db,_0x5b8b00);}import{CKEditorError as _0x185a56,Rect as _0x23a205}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x56ae9e{static get[_0x43a93d(0x9b)](){return[_0x280fca,_0x17adea,_0x4be768];}static get[_0x43a93d(0xb2)](){const _0x2d8d3e=_0x43a93d;return _0x2d8d3e(0xb0);}constructor(_0x4dd23a){const _0x696e3c=_0x43a93d;super(_0x4dd23a),_0x4dd23a[_0x696e3c(0xbc)][_0x696e3c(0xc8)][_0x696e3c(0xd2)](_0x10e344),this[_0x696e3c(0xb6)]=!0x1,this[_0x696e3c(0xce)](_0x696e3c(0xc7),null),this[_0x696e3c(0x9c)]=null,this[_0x696e3c(0xa0)]=new Set(),this[_0x696e3c(0x9d)]=_0x4dd23a[_0x696e3c(0xc5)][_0x696e3c(0xb4)](_0x17adea),this[_0x696e3c(0xbf)]=new Set(),this[_0x696e3c(0xf4)]=[],this[_0x696e3c(0xd1)]=!0x1;}[_0x43a93d(0xde)](){const _0x5938df=_0x43a93d,_0x193480=this[_0x5938df(0xbb)][_0x5938df(0xc5)][_0x5938df(0xb4)](_0x4be768);_0x193480[_0x5938df(0xf0)]===this[_0x5938df(0xbb)]&&(_0x193480[_0x5938df(0xdb)](_0x5938df(0xd4),this),this[_0x5938df(0xbb)][_0x5938df(0xb8)][_0x5938df(0xce)](_0x5938df(0xc0),(_0x29258d,_0xdb3c9e)=>{const _0x37567d=_0x5938df,_0x4fda81=this[_0x37567d(0x9d)];if(this[_0x37567d(0xb6)]&&_0x4fda81[_0x37567d(0xab)]){const _0x4f51b5=this[_0x37567d(0x9c)][_0x37567d(0xa7)](_0x4fda81[_0x37567d(0xab)]);_0x4f51b5&&this[_0x37567d(0xd9)](_0x4f51b5),_0xdb3c9e();}}));}[_0x43a93d(0xa1)](){const _0x51204b=_0x43a93d,_0x1def51=this[_0x51204b(0xbb)][_0x51204b(0xc5)][_0x51204b(0xb4)](_0x4be768);_0x1def51[_0x51204b(0xf0)]===this[_0x51204b(0xbb)]&&(_0x1def51[_0x51204b(0xd0)]()||_0x1def51[_0x51204b(0xda)](_0x51204b(0xd4)));}[_0x43a93d(0xae)](_0x801708){const _0x132582=_0x43a93d;_0x801708!==this[_0x132582(0xc7)]&&(this[_0x132582(0xc7)]&&(this[_0x132582(0xc7)][_0x132582(0xd3)]=!0x1),_0x801708&&this[_0x132582(0xbb)]['ui'][_0x132582(0xdc)][_0x132582(0x9a)]&&(this[_0x132582(0x9c)][_0x132582(0xc3)](_0x801708)&&this[_0x132582(0xe7)](_0x801708,!0x0),_0x801708[_0x132582(0xd3)]=!0x0),_0x801708||this[_0x132582(0xed)]([]),this[_0x132582(0xc7)]=_0x801708);}[_0x43a93d(0xf6)](_0x301de6){const _0x1e4766=_0x43a93d;this[_0x1e4766(0x9c)]=_0x301de6;const _0x38733e=this[_0x1e4766(0xbb)][_0x1e4766(0xc5)][_0x1e4766(0xb4)](_0x4be768),_0x424ca6=this[_0x1e4766(0x9d)];if(this[_0x1e4766(0xb6)])throw new _0x185a56(_0x1e4766(0xea),this);if(_0x38733e[_0x1e4766(0xf0)]!==this[_0x1e4766(0xbb)])throw new _0x185a56(_0x1e4766(0xac),this);const _0x327d70=this[_0x1e4766(0xbb)][_0x1e4766(0xc5)][_0x1e4766(0xb4)](_0x280fca);this[_0x1e4766(0xaf)](_0x327d70,_0x1e4766(0xf2),()=>{const _0x5d190e=_0x1e4766,_0x2d4f2d=_0x327d70[_0x5d190e(0xf1)]({'annotations':this[_0x5d190e(0x9c)],'activeAnnotation':this[_0x5d190e(0xc7)]});var _0x8552e5,_0x244d67;!this[_0x5d190e(0xd1)]&&(_0x8552e5=_0x2d4f2d,_0x244d67=this[_0x5d190e(0xf4)],_0x8552e5[_0x5d190e(0xc1)]===_0x244d67[_0x5d190e(0xc1)]&&_0x8552e5[_0x5d190e(0xd5)](_0x166c15=>_0x244d67[_0x5d190e(0xd7)](_0x166c15)))||(this[_0x5d190e(0xd1)]=!0x1,this[_0x5d190e(0xed)](_0x2d4f2d),this[_0x5d190e(0xae)](_0x2d4f2d[0x0]||null));}),this[_0x1e4766(0xaf)](_0x327d70,_0x1e4766(0xad),(_0x4c2102,{isAnnotationTracked:_0x44522a})=>{const _0x4364e9=_0x1e4766;this[_0x4364e9(0xc7)]&&_0x44522a(this[_0x4364e9(0xc7)])&&(this[_0x4364e9(0xed)]([]),this[_0x4364e9(0xae)](null));}),this[_0x1e4766(0xaf)](this[_0x1e4766(0xbb)]['ui'][_0x1e4766(0xdc)],_0x1e4766(0xaa),(_0x1516f8,_0x412b95,_0x5b62e3)=>{const _0x8c5fb2=_0x1e4766;_0x5b62e3||this[_0x8c5fb2(0xae)](null);}),this[_0x1e4766(0xaf)](_0x301de6,_0x1e4766(0xa5),(_0x531f67,_0x497914)=>{const _0x475e6c=_0x1e4766;this[_0x475e6c(0xa8)](_0x497914),_0x497914===this[_0x475e6c(0xc7)]&&this[_0x475e6c(0xae)](null);}),this[_0x1e4766(0xaf)](_0x424ca6,_0x1e4766(0xbd),(_0x486c9f,_0x497b84,_0x52eff2,_0x421b9b)=>{const _0x4f5145=_0x1e4766;_0x421b9b&&this[_0x4f5145(0xf7)](_0x421b9b);const _0x3c5b7a=_0x301de6[_0x4f5145(0xa7)](_0x52eff2);_0x52eff2&&_0x3c5b7a&&(this[_0x4f5145(0xaf)](_0x52eff2,_0x4f5145(0xcf),()=>{const _0x1d0737=_0x4f5145;_0x424ca6[_0x1d0737(0xe3)]();}),this[_0x4f5145(0xaf)](_0x52eff2,_0x4f5145(0xc0),()=>{const _0x273659=_0x4f5145;this[_0x273659(0xd9)](_0x3c5b7a),this[_0x273659(0xbb)][_0x273659(0xbc)][_0x273659(0xc8)][_0x273659(0xe6)]();}),this[_0x4f5145(0xc7)]!==_0x3c5b7a&&this[_0x4f5145(0xae)](_0x3c5b7a));}),this[_0x1e4766(0xaf)](this[_0x1e4766(0xbb)]['ui'],_0x1e4766(0xba),()=>{const _0x502a7c=_0x1e4766;_0x424ca6[_0x502a7c(0xab)]&&(_0x301de6[_0x502a7c(0xa7)](_0x424ca6[_0x502a7c(0xab)])&&_0x424ca6[_0x502a7c(0xe3)]());}),this[_0x1e4766(0xaf)](this[_0x1e4766(0xbb)][_0x1e4766(0xbc)][_0x1e4766(0xc8)][_0x1e4766(0xe0)],_0x1e4766(0xa6),()=>{const _0x413f16=_0x1e4766;this[_0x413f16(0xd1)]=!0x0,this[_0x413f16(0xa0)][_0x413f16(0xeb)]();}),this[_0x1e4766(0xbb)][_0x1e4766(0xbc)][_0x1e4766(0xc8)][_0x1e4766(0xe0)][_0x1e4766(0xbe)][_0x1e4766(0xcd)]&&this[_0x1e4766(0xbb)][_0x1e4766(0xbc)][_0x1e4766(0xc8)][_0x1e4766(0xe6)](),this[_0x1e4766(0xb6)]=!0x0;}[_0x43a93d(0xb5)](){const _0x21a39d=_0x43a93d;if(!this[_0x21a39d(0xb6)])throw new _0x185a56(_0x21a39d(0xe5),this);this[_0x21a39d(0xae)](null);for(const _0x4850c5 of this[_0x21a39d(0xbf)])this[_0x21a39d(0xa8)](_0x4850c5);this[_0x21a39d(0xf7)](),this[_0x21a39d(0xb6)]=!0x1,this[_0x21a39d(0x9c)]=null;}[_0x43a93d(0xa3)](){const _0x4b207c=_0x43a93d;this[_0x4b207c(0xb6)]&&this[_0x4b207c(0xb5)]();}[_0x43a93d(0xed)](_0x5d502e){const _0xa137b8=_0x43a93d;for(const _0x33f877 of this[_0xa137b8(0xf4)])_0x5d502e[_0xa137b8(0xd7)](_0x33f877)||this[_0xa137b8(0xa0)][_0xa137b8(0xd6)](_0x33f877);for(const _0x53fd45 of this[_0xa137b8(0x9c)])_0x5d502e[_0xa137b8(0xd7)](_0x53fd45)||this[_0xa137b8(0xa8)](_0x53fd45);if(this[_0xa137b8(0xbb)]['ui'][_0xa137b8(0xdc)][_0xa137b8(0x9a)]){for(const _0x512251 of _0x5d502e)this[_0xa137b8(0xe7)](_0x512251);}this[_0xa137b8(0xf4)]=_0x5d502e;}[_0x43a93d(0xe7)](_0x321254,_0x4a2469=!0x1){const _0x55323b=_0x43a93d;this[_0x55323b(0xa0)][_0x55323b(0xc3)](_0x321254)||(this[_0x55323b(0xbf)][_0x55323b(0xc3)](_0x321254)||this[_0x55323b(0x9d)][_0x55323b(0xca)](_0x321254[_0x55323b(0xc8)])||(this[_0x55323b(0xbf)][_0x55323b(0xec)](_0x321254),this[_0x55323b(0x9d)][_0x55323b(0xec)]({'stackId':_0x321254[_0x55323b(0xc8)]['id'],'view':_0x321254[_0x55323b(0xc8)],'position':{'target':()=>this[_0x55323b(0xef)](_0x321254)}})),_0x4a2469&&this[_0x55323b(0x9d)][_0x55323b(0xb1)](_0x321254[_0x55323b(0xc8)]['id']));}[_0x43a93d(0xef)](_0x6d96cb){const _0x3380b9=_0x43a93d,_0x5d70b4=_0x6d96cb[_0x3380b9(0xe8)],_0x8422ca=this[_0x3380b9(0xbb)][_0x3380b9(0xbc)][_0x3380b9(0xc8)],_0x5cfd5d=_0x8422ca[_0x3380b9(0xe0)][_0x3380b9(0xbe)][_0x3380b9(0xe4)](),_0x40d537=_0x8422ca[_0x3380b9(0xc2)][_0x3380b9(0xc4)](_0x5cfd5d);if(_0x40d537[_0x3380b9(0xb3)](!0x0),_0x5d70b4){if(_0x5d70b4 instanceof _0x23a205)return _0x5d70b4;let _0x52fbb3=[];for(const _0x4ed94e of _0x5d70b4)_0x52fbb3[_0x3380b9(0xc9)](...(_0x39cf19=_0x4ed94e[_0x3380b9(0xf5)](),Array[_0x3380b9(0xf3)](_0x39cf19)[_0x3380b9(0xa4)](DOMRect[_0x3380b9(0xdf)])));_0x52fbb3=function(_0x475611){const _0x1fe4a3=_0x3380b9,_0x518c9a=[];let _0x16e6bc=_0x475611[0x0];for(let _0x54e4ed=0x1;_0x54e4ed<_0x475611[_0x1fe4a3(0xc1)];_0x54e4ed++)q(_0x16e6bc,_0x475611[_0x54e4ed])?_0x16e6bc[_0x1fe4a3(0xc6)]+=_0x475611[_0x54e4ed][_0x1fe4a3(0xc6)]:(_0x518c9a[_0x1fe4a3(0xc9)](_0x16e6bc),_0x16e6bc=_0x475611[_0x54e4ed]);return _0x518c9a[_0x1fe4a3(0xc9)](_0x16e6bc),_0x518c9a;}(_0x52fbb3);const _0xffa254=_0x40d537[_0x3380b9(0x99)]();return _0x52fbb3[_0x3380b9(0xcb)](_0x20caa5=>_0x20caa5[_0x3380b9(0x9f)]<=_0xffa254[_0x3380b9(0x9f)]&&_0x20caa5[_0x3380b9(0xe1)]>=_0xffa254[_0x3380b9(0xe1)]&&_0x20caa5[_0x3380b9(0xf8)]<=_0xffa254[_0x3380b9(0xf8)]&&_0x20caa5[_0x3380b9(0x96)]>=_0xffa254[_0x3380b9(0x96)])||_0x52fbb3[0x0];}var _0x39cf19;return _0x6d96cb[_0x3380b9(0xdd)]||_0x40d537;}[_0x43a93d(0xa8)](_0x965844){const _0x2be39c=_0x43a93d;this[_0x2be39c(0xbf)][_0x2be39c(0xc3)](_0x965844)&&this[_0x2be39c(0x9d)][_0x2be39c(0xca)](_0x965844[_0x2be39c(0xc8)])&&(this[_0x2be39c(0xbf)][_0x2be39c(0xd6)](_0x965844),this[_0x2be39c(0x9d)][_0x2be39c(0xa5)](_0x965844[_0x2be39c(0xc8)]));}[_0x43a93d(0xd9)](_0x1ce878){const _0x1e6891=_0x43a93d;this[_0x1e6891(0xa0)][_0x1e6891(0xec)](_0x1ce878),this[_0x1e6891(0xa8)](_0x1ce878);}}function q(_0x5d0884,_0x45c800){const _0x3b613a=_0x43a93d;return _0x5d0884[_0x3b613a(0x9f)]===_0x45c800[_0x3b613a(0x9f)]&&_0x5d0884[_0x3b613a(0xe1)]===_0x45c800[_0x3b613a(0xe1)]&&_0x5d0884[_0x3b613a(0x96)]===_0x45c800[_0x3b613a(0xf8)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3d0130=_0x4d4d;(function(_0x44d704,_0x59dba2){const _0x20b57a=_0x4d4d,_0x29cbc0=_0x44d704();while(!![]){try{const _0x59fa14=-parseInt(_0x20b57a(0x14b))/0x1*(-parseInt(_0x20b57a(0x105))/0x2)+parseInt(_0x20b57a(0x14f))/0x3*(parseInt(_0x20b57a(0x109))/0x4)+parseInt(_0x20b57a(0x10a))/0x5+-parseInt(_0x20b57a(0x16b))/0x6+parseInt(_0x20b57a(0x143))/0x7+parseInt(_0x20b57a(0x11b))/0x8+-parseInt(_0x20b57a(0x13a))/0x9;if(_0x59fa14===_0x59dba2)break;else _0x29cbc0['push'](_0x29cbc0['shift']());}catch(_0x1c01f8){_0x29cbc0['push'](_0x29cbc0['shift']());}}}(_0x1582,0x1eb08));import{ContextPlugin as _0x38bc91,Context as _0x4767b8}from'ckeditor5/src/core.js';import _0xbfaa18 from'./annotationsuis.js';import _0x2e73da from'./sidebar.js';import _0x1695ea from'./view/annotationcounterbuttonview.js';function _0x4d4d(_0x4ebc2e,_0x534b1c){const _0x158252=_0x1582();return _0x4d4d=function(_0x4d4d21,_0x392197){_0x4d4d21=_0x4d4d21-0xf9;let _0x421842=_0x158252[_0x4d4d21];return _0x421842;},_0x4d4d(_0x4ebc2e,_0x534b1c);}import{BalloonPanelView as _0x1497f6,BodyCollection as _0x47a2c7}from'ckeditor5/src/ui.js';import{CKEditorError as _0x2322bb,DomEmitterMixin as _0x201250,keyCodes as _0x706a3e,Collection as _0x55f910}from'ckeditor5/src/utils.js';function _0x1582(){const _0x51211e=['plugins','detachFromDom','content','northArrowSouthWest','658462zkCGWM','Esc','attach','number','set','NarrowSidebar','addAnnotation','_updateBalloonPosition','2UdqifE','_manuallyClosedAnnotationViews','context','get','311313uaxliB','_attachToContainer','change:height','create','type','view','getOrderedSelectedAnnotations','stopPropagation','blur','_selectedAnnotations','northArrowSouth','destroy','contains','_refreshPositioningDebounced','addEventListener','delete','balloonPanelView','_destroyEditorAnnotationsIntegration','resize','_refreshPositioning','getSidebarItemView','locale','editors','_attachListeners','has','refreshPositioning','isAttached','uiUpdate','1217298zcdbwp','low','narrowsidebar-attach-already-attached','_integrateWithEditorAnnotations','esc','bodyCollection','focusableElements','isDirty','_domEmitter','pluginName','defaultPositions','mousedown','focus','EditorAnnotations','element','remove','isVisible','_detachFromContainer','target','20856WFghOo','_annotations','southArrowNorth','clear','8lTqJko','851515iUiGBG','southArrowNorthWest','add','hasDomSelection','ready','_showBalloon','stop','pin','_detachListeners','annotations','_annotationToNarrowView','cancel','preventClosingBalloon','northArrowSouthEast','preventDefault','removeEventListener','from','755384ZfxjMQ','detach','_hideBalloon','annotationType','change:container','southArrowNorthEast','_setSelectedAnnotations','_editorAnnotations','high','find','narrowsidebar-detach-not-attached','includes','narrowSidebar','requires','stopListening','listenTo','refresh','init','keydown','rearrange','getByView','setActiveAnnotation','keyCode','first','off','set:container','unpin','attachToDom','values','length','activeAnnotation','2327427KFpUfk','ck-sidebar--narrow','execute','bind','register'];_0x1582=function(){return _0x51211e;};return _0x1582();}import'../../theme/sidebar-narrow.css';import{debounce as _0x5cebab}from'lodash-es';export default class i extends _0x38bc91{static get[_0x3d0130(0x128)](){return[_0x2e73da,_0xbfaa18];}static get[_0x3d0130(0xfb)](){const _0x39334d=_0x3d0130;return _0x39334d(0x148);}constructor(_0x2a19b3){const _0x444aed=_0x3d0130;super(_0x2a19b3),this[_0x444aed(0x169)]=!0x1,this[_0x444aed(0x14c)]=new Set(),this[_0x444aed(0xfa)]=Object[_0x444aed(0x152)](_0x201250),this[_0x444aed(0x114)]=new Map(),this[_0x444aed(0x147)](_0x444aed(0x139),null),this[_0x444aed(0x113)]=null,this[_0x444aed(0x158)]=[],this[_0x444aed(0x122)]=new _0x55f910(),this[_0x444aed(0x15c)]=_0x5cebab(()=>{const _0x5af941=_0x444aed;this[_0x5af941(0x162)]();},0xfa,{'leading':!0x1});}[_0x3d0130(0x12c)](){const _0x2c7b1b=_0x3d0130;this[_0x2c7b1b(0x14d)][_0x2c7b1b(0x13f)][_0x2c7b1b(0x14e)](_0xbfaa18)[_0x2c7b1b(0x13e)](_0x2c7b1b(0x127),this),this[_0x2c7b1b(0x170)]=new _0x47a2c7(this[_0x2c7b1b(0x14d)][_0x2c7b1b(0x164)]),this[_0x2c7b1b(0x15f)]=new _0x1497f6(this[_0x2c7b1b(0x14d)][_0x2c7b1b(0x164)]),this[_0x2c7b1b(0x170)][_0x2c7b1b(0x136)](),this[_0x2c7b1b(0x170)][_0x2c7b1b(0x10c)](this[_0x2c7b1b(0x15f)]);}[_0x3d0130(0x145)](_0x3398ab){const _0x14a826=_0x3d0130;this[_0x14a826(0x113)]=_0x3398ab;const _0x595d58=this[_0x14a826(0x14d)][_0x14a826(0x13f)][_0x14a826(0x14e)](_0x2e73da),_0xb2a319=this[_0x14a826(0x15f)];if(_0x595d58[_0x14a826(0x106)]=_0x3398ab,this[_0x14a826(0x169)])throw new _0x2322bb(_0x14a826(0x16d),this);this[_0x14a826(0x169)]=!0x0,this[_0x14a826(0x12a)](_0x595d58,_0x14a826(0x134),()=>{const _0x530b17=_0x14a826;this[_0x530b17(0x11c)](),this[_0x530b17(0x12a)](_0x595d58,_0x530b17(0x11f),_0x5a1523=>{const _0x3b1c00=_0x530b17;_0x5a1523[_0x3b1c00(0x133)](),this[_0x3b1c00(0x145)](_0x3398ab);});}),_0x595d58[_0x14a826(0x150)]({'viewClass':_0x14a826(0x13b),'spaceBetweenItems':0x5});const _0x338590=_0x1d1790=>{const _0x3e3064=_0x14a826,_0x355827=new _0x1695ea(this[_0x3e3064(0x14d)][_0x3e3064(0x164)]);_0x595d58[_0x3e3064(0x149)](_0x1d1790,_0x355827),this[_0x3e3064(0x114)][_0x3e3064(0x147)](_0x1d1790,_0x355827),_0x355827[_0x3e3064(0x13d)](_0x3e3064(0xf9),_0x3e3064(0x11e),_0x3e3064(0x146))['to'](_0x1d1790[_0x3e3064(0x154)],_0x3e3064(0xf9),_0x3e3064(0x153),_0x3e3064(0x138)),_0x355827['on'](_0x3e3064(0x13c),()=>{const _0x4f6cca=_0x3e3064;this[_0x4f6cca(0x14c)][_0x4f6cca(0x108)](),_0xb2a319[_0x4f6cca(0x141)][_0x4f6cca(0x132)]!==_0x1d1790[_0x4f6cca(0x154)]?(this[_0x4f6cca(0x10f)](_0x1d1790),_0x1d1790[_0x4f6cca(0x154)][_0x4f6cca(0x100)][_0x4f6cca(0xfe)](),this[_0x4f6cca(0x130)](_0x1d1790)):this[_0x4f6cca(0x130)](null);});};for(const _0x3b9c5a of _0x3398ab)_0x338590(_0x3b9c5a);this[_0x14a826(0x12a)](_0x3398ab,_0x14a826(0x10c),(_0xe7c371,_0x237e58)=>{_0x338590(_0x237e58);}),this[_0x14a826(0x12a)](_0x3398ab,_0x14a826(0x101),(_0x27db1d,_0x55abec,_0x8204ca)=>{const _0x58a087=_0x14a826;this[_0x58a087(0x114)][_0x58a087(0x14e)](_0x55abec)[_0x58a087(0x15a)](),this[_0x58a087(0x114)][_0x58a087(0x15e)](_0x55abec),_0x595d58[_0x58a087(0x12e)]({'removedAnnotation':_0x55abec,'previousAnnotation':_0x3398ab[_0x58a087(0x14e)](_0x8204ca-0x1),'nextAnnotation':_0x3398ab[_0x58a087(0x14e)](_0x8204ca+0x1)}),_0x55abec===this[_0x58a087(0x139)]&&this[_0x58a087(0x130)](null);},{'priority':_0x14a826(0x16c)}),this[_0x14a826(0x12a)](_0x3398ab,_0x14a826(0xfe),(_0x2d89a8,_0x49196c)=>{const _0x386bdf=_0x14a826;this[_0x386bdf(0x130)](_0x49196c);}),this[_0x14a826(0x12a)](_0x3398ab,_0x14a826(0x157),()=>{const _0x404000=_0x14a826;this[_0x404000(0x130)](null);}),this[_0x14a826(0xfa)][_0x14a826(0x12a)](document,_0x14a826(0x12d),(_0xf6dbba,_0x415e34)=>{const _0x1f61db=_0x14a826;_0x415e34[_0x1f61db(0x131)]===_0x706a3e[_0x1f61db(0x16f)]&&_0xb2a319[_0x1f61db(0x102)]&&(this[_0x1f61db(0x14c)][_0x1f61db(0x10c)](_0xb2a319[_0x1f61db(0x141)][_0x1f61db(0x132)]),this[_0x1f61db(0x11d)](),_0x415e34[_0x1f61db(0x156)](),_0x415e34[_0x1f61db(0x118)]());}),this[_0x14a826(0xfa)][_0x14a826(0x12a)](document,_0x14a826(0xfd),(_0x44b6e4,_0x5e98f0)=>{const _0x44fc46=_0x14a826,_0x5f0116=_0x5e98f0[_0x44fc46(0x104)];_0xb2a319[_0x44fc46(0x102)]&&_0xb2a319[_0x44fc46(0x100)][_0x44fc46(0x15b)](_0x5f0116)||_0x595d58[_0x44fc46(0x154)][_0x44fc46(0x100)][_0x44fc46(0x15b)](_0x5f0116)||_0x44b6e4[_0x44fc46(0x116)]||this[_0x44fc46(0x139)]&&this[_0x44fc46(0x139)][_0x44fc46(0x171)][_0x44fc46(0x124)](_0x35ba66=>_0x35ba66[_0x44fc46(0x15b)](_0x5f0116))||(this[_0x44fc46(0x14c)][_0x44fc46(0x108)](),this[_0x44fc46(0x11d)](),this[_0x44fc46(0x130)](null));});const _0x57adc4=this[_0x14a826(0x14d)]instanceof _0x4767b8?this[_0x14a826(0x14d)][_0x14a826(0x165)]:new _0x55f910([this[_0x14a826(0x14d)]]);for(const _0x36bb38 of _0x57adc4)this[_0x14a826(0x16e)](_0x36bb38);this[_0x14a826(0x12a)](_0x57adc4,_0x14a826(0x10c),(_0x3da14a,_0x49b4e)=>{const _0x1a9ee7=_0x14a826;this[_0x1a9ee7(0x12a)](_0x49b4e,_0x1a9ee7(0x10e),()=>{const _0x4e17ba=_0x1a9ee7;this[_0x4e17ba(0x16e)](_0x49b4e);});}),this[_0x14a826(0x12a)](_0x57adc4,_0x14a826(0x101),(_0x12e7c3,_0x2cb7d2)=>{const _0x5e8c19=_0x14a826;_0x2cb7d2[_0x5e8c19(0x13f)][_0x5e8c19(0x167)](_0x5e8c19(0xff))&&this[_0x5e8c19(0x160)](_0x2cb7d2[_0x5e8c19(0x13f)][_0x5e8c19(0x14e)](_0x5e8c19(0xff)));}),window[_0x14a826(0x15d)](_0x14a826(0x161),this[_0x14a826(0x15c)]),this[_0x14a826(0x162)]();}[_0x3d0130(0x130)](_0x3a562d){const _0x28d72b=_0x3d0130;if(_0x3a562d===this[_0x28d72b(0x139)])return;const _0x4ccad7=this[_0x28d72b(0x14d)][_0x28d72b(0x13f)][_0x28d72b(0x14e)](_0x2e73da);if(_0x4ccad7[_0x28d72b(0x12b)]({'blurredAnnotation':this[_0x28d72b(0x139)],'activatedAnnotation':_0x3a562d,'disableAnimationOnActivatedAnnotation':!0x0}),_0x3a562d)_0x4ccad7[_0x28d72b(0x163)](_0x3a562d)?this[_0x28d72b(0x10f)](_0x3a562d):this[_0x28d72b(0x11d)]();else this[_0x28d72b(0x11d)]();this[_0x28d72b(0x139)]=_0x3a562d;}[_0x3d0130(0x11c)](){const _0x4ccd2e=_0x3d0130;if(!this[_0x4ccd2e(0x169)])throw new _0x2322bb(_0x4ccd2e(0x125),this);this[_0x4ccd2e(0x130)](null);const _0x1172e6=this[_0x4ccd2e(0x14d)][_0x4ccd2e(0x13f)][_0x4ccd2e(0x14e)](_0x2e73da);this[_0x4ccd2e(0x11d)](),Array[_0x4ccd2e(0x11a)](this[_0x4ccd2e(0x114)][_0x4ccd2e(0x137)](),_0x3a05b7=>_0x3a05b7[_0x4ccd2e(0x15a)]()),this[_0x4ccd2e(0x114)][_0x4ccd2e(0x108)](),_0x1172e6[_0x4ccd2e(0x103)](this[_0x4ccd2e(0x113)]),this[_0x4ccd2e(0x129)](),this[_0x4ccd2e(0xfa)][_0x4ccd2e(0x129)](),this[_0x4ccd2e(0x14d)]instanceof _0x4767b8&&this[_0x4ccd2e(0x129)](this[_0x4ccd2e(0x14d)][_0x4ccd2e(0x165)]);for(const _0x52b2f1 of Array[_0x4ccd2e(0x11a)](this[_0x4ccd2e(0x122)]))this[_0x4ccd2e(0x160)](_0x52b2f1);window[_0x4ccd2e(0x119)](_0x4ccd2e(0x161),this[_0x4ccd2e(0x15c)]),this[_0x4ccd2e(0x15c)][_0x4ccd2e(0x115)](),this[_0x4ccd2e(0x158)]=[],this[_0x4ccd2e(0x169)]=!0x1,this[_0x4ccd2e(0x113)]=null;}[_0x3d0130(0x15a)](){const _0xca88e1=_0x3d0130;this[_0xca88e1(0x169)]&&this[_0xca88e1(0x11c)](),this[_0xca88e1(0x170)][_0xca88e1(0x140)]();}[_0x3d0130(0x16e)](_0x2367c9){const _0x4f9f2a=_0x3d0130;if(!_0x2367c9[_0x4f9f2a(0x13f)][_0x4f9f2a(0x167)](_0x4f9f2a(0xff)))return;const _0x22d23f=_0x2367c9[_0x4f9f2a(0x13f)][_0x4f9f2a(0x14e)](_0x4f9f2a(0xff)),_0x64eab4=this[_0x4f9f2a(0x14d)][_0x4f9f2a(0x13f)][_0x4f9f2a(0x14e)](_0x2e73da),_0x3585cf=this[_0x4f9f2a(0x113)],_0x492c67=this[_0x4f9f2a(0x15f)],_0x65056a=()=>{const _0x4712a2=_0x4f9f2a,_0x15a1c1=_0x22d23f[_0x4712a2(0x155)]({'annotations':this[_0x4712a2(0x113)],'activeAnnotation':this[_0x4712a2(0x139)]});this[_0x4712a2(0x121)](_0x15a1c1),this[_0x4712a2(0x130)](_0x15a1c1[0x0]||null);};this[_0x4f9f2a(0x12a)](_0x22d23f,_0x4f9f2a(0x12b),_0x65056a),this[_0x4f9f2a(0x12a)](_0x22d23f,_0x4f9f2a(0x157),(_0x48f1db,{isAnnotationTracked:_0xe0a13a})=>{const _0x387888=_0x4f9f2a;this[_0x387888(0x139)]&&_0xe0a13a(this[_0x387888(0x139)])&&(this[_0x387888(0x121)]([]),this[_0x387888(0x130)](null));}),this[_0x4f9f2a(0x12a)](_0x22d23f,_0x4f9f2a(0x16a),()=>{const _0x108677=_0x4f9f2a;this[_0x108677(0x15c)]();}),this[_0x4f9f2a(0x12a)](_0x3585cf,_0x4f9f2a(0x157),_0x5399a3=>{const _0x389433=_0x4f9f2a;_0x22d23f[_0x389433(0x10d)]()&&_0x5399a3[_0x389433(0x110)]();},{'priority':_0x4f9f2a(0x123)}),this[_0x4f9f2a(0x12a)](this[_0x4f9f2a(0xfa)],_0x4f9f2a(0xfd),(_0x11fc9c,_0x152d4a)=>{const _0x39ed24=_0x4f9f2a,_0x32cb74=_0x152d4a[_0x39ed24(0x104)];_0x492c67[_0x39ed24(0x102)]&&_0x492c67[_0x39ed24(0x100)][_0x39ed24(0x15b)](_0x32cb74)||_0x64eab4[_0x39ed24(0x154)][_0x39ed24(0x100)][_0x39ed24(0x15b)](_0x32cb74)||this[_0x39ed24(0x139)]&&_0x22d23f[_0x39ed24(0x10d)]()&&(_0x65056a(),_0x11fc9c[_0x39ed24(0x116)]=!0x0);},{'priority':_0x4f9f2a(0x123)}),this[_0x4f9f2a(0x122)][_0x4f9f2a(0x10c)](_0x22d23f);}[_0x3d0130(0x160)](_0x6a2a9){const _0x5b7cb9=_0x3d0130;_0x6a2a9&&(this[_0x5b7cb9(0x129)](_0x6a2a9),this[_0x5b7cb9(0x122)][_0x5b7cb9(0x101)](_0x6a2a9));}[_0x3d0130(0x121)](_0x57fa28){const _0x483f1a=_0x3d0130;for(const _0x385fca of this[_0x483f1a(0x158)])_0x57fa28[_0x483f1a(0x126)](_0x385fca)||this[_0x483f1a(0x14c)][_0x483f1a(0x15e)](_0x385fca[_0x483f1a(0x154)]);this[_0x483f1a(0x158)]=_0x57fa28;}[_0x3d0130(0x162)](){const _0x188121=_0x3d0130,_0x233bc0=this[_0x188121(0x15f)];this[_0x188121(0x113)][_0x188121(0x168)](),_0x233bc0[_0x188121(0x102)]&&this[_0x188121(0x14a)]();}[_0x3d0130(0x10f)](_0x35a2c9){const _0x148e2c=_0x3d0130;if(this[_0x148e2c(0x14c)][_0x148e2c(0x167)](_0x35a2c9[_0x148e2c(0x154)]))return;const _0x169748=this[_0x148e2c(0x15f)][_0x148e2c(0x141)][_0x148e2c(0x132)];_0x169748!==_0x35a2c9[_0x148e2c(0x154)]?(_0x169748&&this[_0x148e2c(0x112)](_0x169748),this[_0x148e2c(0x166)](_0x35a2c9[_0x148e2c(0x154)]),this[_0x148e2c(0x15f)][_0x148e2c(0x141)][_0x148e2c(0x108)](),this[_0x148e2c(0x15f)][_0x148e2c(0x141)][_0x148e2c(0x10c)](_0x35a2c9[_0x148e2c(0x154)]),this[_0x148e2c(0x14a)]()):this[_0x148e2c(0x14a)]();}[_0x3d0130(0x14a)](){const _0x3c6251=_0x3d0130,_0x39ae89=this[_0x3c6251(0x15f)][_0x3c6251(0x141)][_0x3c6251(0x132)],_0x2582fa=_0x39ae89&&this[_0x3c6251(0x113)][_0x3c6251(0x12f)](_0x39ae89);if(!_0x2582fa||!this[_0x3c6251(0x114)][_0x3c6251(0x167)](_0x2582fa))return;const _0x4df64d=this[_0x3c6251(0x114)][_0x3c6251(0x14e)](_0x2582fa)[_0x3c6251(0x100)],_0xad9cde=(function(){const _0xda0077=_0x3c6251,_0x11b1d8=_0x1497f6[_0xda0077(0xfc)];return[_0x11b1d8[_0xda0077(0x120)],_0x11b1d8[_0xda0077(0x117)],_0x11b1d8[_0xda0077(0x107)],_0x11b1d8[_0xda0077(0x159)],_0x11b1d8[_0xda0077(0x10b)],_0x11b1d8[_0xda0077(0x142)]];}());this[_0x3c6251(0x15f)][_0x3c6251(0x111)]({'target':_0x4df64d,'positions':_0xad9cde});}[_0x3d0130(0x11d)](){const _0x5e0305=_0x3d0130,_0x51983a=this[_0x5e0305(0x15f)],_0xb20f03=_0x51983a[_0x5e0305(0x141)][_0x5e0305(0x132)];_0xb20f03&&(this[_0x5e0305(0x112)](_0xb20f03),_0x51983a[_0x5e0305(0x135)](),_0x51983a[_0x5e0305(0x141)][_0x5e0305(0x108)]());}[_0x3d0130(0x166)](_0x21caa8){const _0x1cfe3e=_0x3d0130;this[_0x1cfe3e(0x12a)](_0x21caa8,_0x1cfe3e(0x151),()=>this[_0x1cfe3e(0x14a)]()),this[_0x1cfe3e(0x12a)](_0x21caa8,_0x1cfe3e(0x144),(_0x34d01a,_0x3e4931)=>{const _0x40c86e=_0x1cfe3e;this[_0x40c86e(0x14c)][_0x40c86e(0x10c)](_0x21caa8),this[_0x40c86e(0x11d)](),_0x3e4931();});}[_0x3d0130(0x112)](_0x2eedf4){const _0x28e23b=_0x3d0130;this[_0x28e23b(0x129)](_0x2eedf4);}}
|
|
23
|
+
const _0x28d5c1=_0x17e6;function _0x17e6(_0x5bf756,_0x2235a6){const _0x4ce635=_0x4ce6();return _0x17e6=function(_0x17e639,_0x50f8b6){_0x17e639=_0x17e639-0x190;let _0x11b34c=_0x4ce635[_0x17e639];return _0x11b34c;},_0x17e6(_0x5bf756,_0x2235a6);}(function(_0x1ea850,_0x1bc058){const _0x13ed45=_0x17e6,_0x3fabde=_0x1ea850();while(!![]){try{const _0x4a6a2e=parseInt(_0x13ed45(0x193))/0x1+-parseInt(_0x13ed45(0x1ac))/0x2+parseInt(_0x13ed45(0x1d4))/0x3*(-parseInt(_0x13ed45(0x19f))/0x4)+-parseInt(_0x13ed45(0x1e8))/0x5+-parseInt(_0x13ed45(0x196))/0x6+-parseInt(_0x13ed45(0x1d3))/0x7+-parseInt(_0x13ed45(0x1a1))/0x8*(-parseInt(_0x13ed45(0x1a8))/0x9);if(_0x4a6a2e===_0x1bc058)break;else _0x3fabde['push'](_0x3fabde['shift']());}catch(_0x47a83c){_0x3fabde['push'](_0x3fabde['shift']());}}}(_0x4ce6,0x8c9c9));import{ContextPlugin as _0x4b84b1,Context as _0x3f5afc}from'ckeditor5/src/core.js';import _0x52a0aa from'./annotationsuis.js';function _0x4ce6(){const _0x1a6ee5=['10628NwkNbr','stopPropagation','13270688hqQYXx','mousedown','get','cancel','_annotationToNarrowView','_setSelectedAnnotations','remove','9lVoWsh','isDirty','ready','values','426972HkXych','clear','change:height','keydown','ck-sidebar--narrow','has','_integrateWithEditorAnnotations','_manuallyClosedAnnotationViews','EditorAnnotations','type','off','defaultPositions','southArrowNorth','content','low','_refreshPositioningDebounced','narrowsidebar-attach-already-attached','plugins','focus','_destroyEditorAnnotationsIntegration','_detachListeners','uiUpdate','set','_updateBalloonPosition','attachToDom','NarrowSidebar','narrowSidebar','_detachFromContainer','bodyCollection','_annotations','includes','from','balloonPanelView','first','Esc','element','add','create','annotationType','3525081WFgUoJ','27BegBCK','blur','preventDefault','northArrowSouthEast','view','editors','pluginName','getOrderedSelectedAnnotations','length','detachFromDom','detach','find','getByView','addEventListener','_attachToContainer','listenTo','refresh','esc','destroy','focusableElements','2624045tsMqJZ','isAttached','getSidebarItemView','narrowsidebar-detach-not-attached','refreshPositioning','context','register','isVisible','_domEmitter','keyCode','pin','delete','removeEventListener','activeAnnotation','number','change:container','set:container','setActiveAnnotation','contains','stopListening','_attachListeners','unpin','high','target','_editorAnnotations','addAnnotation','init','annotations','hasDomSelection','southArrowNorthWest','stop','preventClosingBalloon','locale','_hideBalloon','northArrowSouthWest','_selectedAnnotations','805081RzSYIX','bind','attach','3733086iXODUM','execute','requires','rearrange','northArrowSouth','_showBalloon','_refreshPositioning','resize','southArrowNorthEast'];_0x4ce6=function(){return _0x1a6ee5;};return _0x4ce6();}import _0x249048 from'./sidebar.js';import _0x3ac284 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x46ba06,BodyCollection as _0x2c5b5e}from'ckeditor5/src/ui.js';import{CKEditorError as _0x4e6794,DomEmitterMixin as _0x2bf212,keyCodes as _0x3f10b3,Collection as _0x2fb48d}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x50c3bc}from'lodash-es';export default class i extends _0x4b84b1{static get[_0x28d5c1(0x198)](){return[_0x249048,_0x52a0aa];}static get[_0x28d5c1(0x1da)](){const _0x40e39e=_0x28d5c1;return _0x40e39e(0x1c5);}constructor(_0x2dc494){const _0x55ab0d=_0x28d5c1;super(_0x2dc494),this[_0x55ab0d(0x1e9)]=!0x1,this[_0x55ab0d(0x1b3)]=new Set(),this[_0x55ab0d(0x1f0)]=Object[_0x55ab0d(0x1d1)](_0x2bf212),this[_0x55ab0d(0x1a5)]=new Map(),this[_0x55ab0d(0x1c2)](_0x55ab0d(0x1f5),null),this[_0x55ab0d(0x203)]=null,this[_0x55ab0d(0x192)]=[],this[_0x55ab0d(0x200)]=new _0x2fb48d(),this[_0x55ab0d(0x1bb)]=_0x50c3bc(()=>{const _0x388792=_0x55ab0d;this[_0x388792(0x19c)]();},0xfa,{'leading':!0x1});}[_0x28d5c1(0x202)](){const _0x35a099=_0x28d5c1;this[_0x35a099(0x1ed)][_0x35a099(0x1bd)][_0x35a099(0x1a3)](_0x52a0aa)[_0x35a099(0x1ee)](_0x35a099(0x1c6),this),this[_0x35a099(0x1c8)]=new _0x2c5b5e(this[_0x35a099(0x1ed)][_0x35a099(0x208)]),this[_0x35a099(0x1cc)]=new _0x46ba06(this[_0x35a099(0x1ed)][_0x35a099(0x208)]),this[_0x35a099(0x1c8)][_0x35a099(0x1c4)](),this[_0x35a099(0x1c8)][_0x35a099(0x1d0)](this[_0x35a099(0x1cc)]);}[_0x28d5c1(0x195)](_0x3aa2d6){const _0xc984e9=_0x28d5c1;this[_0xc984e9(0x203)]=_0x3aa2d6;const _0x524e96=this[_0xc984e9(0x1ed)][_0xc984e9(0x1bd)][_0xc984e9(0x1a3)](_0x249048),_0xf7da46=this[_0xc984e9(0x1cc)];if(_0x524e96[_0xc984e9(0x1c9)]=_0x3aa2d6,this[_0xc984e9(0x1e9)])throw new _0x4e6794(_0xc984e9(0x1bc),this);this[_0xc984e9(0x1e9)]=!0x0,this[_0xc984e9(0x1e3)](_0x524e96,_0xc984e9(0x1f8),()=>{const _0x48eb20=_0xc984e9;this[_0x48eb20(0x1de)](),this[_0x48eb20(0x1e3)](_0x524e96,_0x48eb20(0x1f7),_0x1a4f1f=>{const _0x3e8180=_0x48eb20;_0x1a4f1f[_0x3e8180(0x1b6)](),this[_0x3e8180(0x195)](_0x3aa2d6);});}),_0x524e96[_0xc984e9(0x1e2)]({'viewClass':_0xc984e9(0x1b0),'spaceBetweenItems':0x5});const _0x3b398c=_0xd77b1=>{const _0x4cfcd8=_0xc984e9,_0x3d42b3=new _0x3ac284(this[_0x4cfcd8(0x1ed)][_0x4cfcd8(0x208)]);_0x524e96[_0x4cfcd8(0x201)](_0xd77b1,_0x3d42b3),this[_0x4cfcd8(0x1a5)][_0x4cfcd8(0x1c2)](_0xd77b1,_0x3d42b3),_0x3d42b3[_0x4cfcd8(0x194)](_0x4cfcd8(0x1a9),_0x4cfcd8(0x1d2),_0x4cfcd8(0x1f6))['to'](_0xd77b1[_0x4cfcd8(0x1d8)],_0x4cfcd8(0x1a9),_0x4cfcd8(0x1b5),_0x4cfcd8(0x1dc)),_0x3d42b3['on'](_0x4cfcd8(0x197),()=>{const _0xe37ef4=_0x4cfcd8;this[_0xe37ef4(0x1b3)][_0xe37ef4(0x1ad)](),_0xf7da46[_0xe37ef4(0x1b9)][_0xe37ef4(0x1cd)]!==_0xd77b1[_0xe37ef4(0x1d8)]?(this[_0xe37ef4(0x19b)](_0xd77b1),_0xd77b1[_0xe37ef4(0x1d8)][_0xe37ef4(0x1cf)][_0xe37ef4(0x1be)](),this[_0xe37ef4(0x1f9)](_0xd77b1)):this[_0xe37ef4(0x1f9)](null);});};for(const _0x4b8de5 of _0x3aa2d6)_0x3b398c(_0x4b8de5);this[_0xc984e9(0x1e3)](_0x3aa2d6,_0xc984e9(0x1d0),(_0x29a3bb,_0x50b32f)=>{_0x3b398c(_0x50b32f);}),this[_0xc984e9(0x1e3)](_0x3aa2d6,_0xc984e9(0x1a7),(_0x2f8f12,_0x9424e1,_0x13679b)=>{const _0x2541d3=_0xc984e9;this[_0x2541d3(0x1a5)][_0x2541d3(0x1a3)](_0x9424e1)[_0x2541d3(0x1e6)](),this[_0x2541d3(0x1a5)][_0x2541d3(0x1f3)](_0x9424e1),_0x524e96[_0x2541d3(0x199)]({'removedAnnotation':_0x9424e1,'previousAnnotation':_0x3aa2d6[_0x2541d3(0x1a3)](_0x13679b-0x1),'nextAnnotation':_0x3aa2d6[_0x2541d3(0x1a3)](_0x13679b+0x1)}),_0x9424e1===this[_0x2541d3(0x1f5)]&&this[_0x2541d3(0x1f9)](null);},{'priority':_0xc984e9(0x1ba)}),this[_0xc984e9(0x1e3)](_0x3aa2d6,_0xc984e9(0x1be),(_0x4869f3,_0x26d819)=>{const _0x1b41c9=_0xc984e9;this[_0x1b41c9(0x1f9)](_0x26d819);}),this[_0xc984e9(0x1e3)](_0x3aa2d6,_0xc984e9(0x1d5),()=>{const _0x5080b8=_0xc984e9;this[_0x5080b8(0x1f9)](null);}),this[_0xc984e9(0x1f0)][_0xc984e9(0x1e3)](document,_0xc984e9(0x1af),(_0x1867e3,_0x53b1f2)=>{const _0x8b7751=_0xc984e9;_0x53b1f2[_0x8b7751(0x1f1)]===_0x3f10b3[_0x8b7751(0x1e5)]&&_0xf7da46[_0x8b7751(0x1ef)]&&(this[_0x8b7751(0x1b3)][_0x8b7751(0x1d0)](_0xf7da46[_0x8b7751(0x1b9)][_0x8b7751(0x1cd)]),this[_0x8b7751(0x190)](),_0x53b1f2[_0x8b7751(0x1a0)](),_0x53b1f2[_0x8b7751(0x1d6)]());}),this[_0xc984e9(0x1f0)][_0xc984e9(0x1e3)](document,_0xc984e9(0x1a2),(_0x378526,_0x1f9bbb)=>{const _0x576d0e=_0xc984e9,_0x39353f=_0x1f9bbb[_0x576d0e(0x1ff)];_0xf7da46[_0x576d0e(0x1ef)]&&_0xf7da46[_0x576d0e(0x1cf)][_0x576d0e(0x1fa)](_0x39353f)||_0x524e96[_0x576d0e(0x1d8)][_0x576d0e(0x1cf)][_0x576d0e(0x1fa)](_0x39353f)||_0x378526[_0x576d0e(0x207)]||this[_0x576d0e(0x1f5)]&&this[_0x576d0e(0x1f5)][_0x576d0e(0x1e7)][_0x576d0e(0x1df)](_0x2cf074=>_0x2cf074[_0x576d0e(0x1fa)](_0x39353f))||(this[_0x576d0e(0x1b3)][_0x576d0e(0x1ad)](),this[_0x576d0e(0x190)](),this[_0x576d0e(0x1f9)](null));});const _0x11daae=this[_0xc984e9(0x1ed)]instanceof _0x3f5afc?this[_0xc984e9(0x1ed)][_0xc984e9(0x1d9)]:new _0x2fb48d([this[_0xc984e9(0x1ed)]]);for(const _0x23217f of _0x11daae)this[_0xc984e9(0x1b2)](_0x23217f);this[_0xc984e9(0x1e3)](_0x11daae,_0xc984e9(0x1d0),(_0x50ee3a,_0xd94ff0)=>{const _0x4d86e3=_0xc984e9;this[_0x4d86e3(0x1e3)](_0xd94ff0,_0x4d86e3(0x1aa),()=>{const _0x535c08=_0x4d86e3;this[_0x535c08(0x1b2)](_0xd94ff0);});}),this[_0xc984e9(0x1e3)](_0x11daae,_0xc984e9(0x1a7),(_0x292c24,_0x1eba79)=>{const _0x55e27f=_0xc984e9;_0x1eba79[_0x55e27f(0x1bd)][_0x55e27f(0x1b1)](_0x55e27f(0x1b4))&&this[_0x55e27f(0x1bf)](_0x1eba79[_0x55e27f(0x1bd)][_0x55e27f(0x1a3)](_0x55e27f(0x1b4)));}),window[_0xc984e9(0x1e1)](_0xc984e9(0x19d),this[_0xc984e9(0x1bb)]),this[_0xc984e9(0x19c)]();}[_0x28d5c1(0x1f9)](_0x59e7d0){const _0x3e5f25=_0x28d5c1;if(_0x59e7d0===this[_0x3e5f25(0x1f5)])return;const _0x4d3601=this[_0x3e5f25(0x1ed)][_0x3e5f25(0x1bd)][_0x3e5f25(0x1a3)](_0x249048);if(_0x4d3601[_0x3e5f25(0x1e4)]({'blurredAnnotation':this[_0x3e5f25(0x1f5)],'activatedAnnotation':_0x59e7d0,'disableAnimationOnActivatedAnnotation':!0x0}),_0x59e7d0)_0x4d3601[_0x3e5f25(0x1ea)](_0x59e7d0)?this[_0x3e5f25(0x19b)](_0x59e7d0):this[_0x3e5f25(0x190)]();else this[_0x3e5f25(0x190)]();this[_0x3e5f25(0x1f5)]=_0x59e7d0;}[_0x28d5c1(0x1de)](){const _0x5d340d=_0x28d5c1;if(!this[_0x5d340d(0x1e9)])throw new _0x4e6794(_0x5d340d(0x1eb),this);this[_0x5d340d(0x1f9)](null);const _0x3bdfed=this[_0x5d340d(0x1ed)][_0x5d340d(0x1bd)][_0x5d340d(0x1a3)](_0x249048);this[_0x5d340d(0x190)](),Array[_0x5d340d(0x1cb)](this[_0x5d340d(0x1a5)][_0x5d340d(0x1ab)](),_0x50e3fa=>_0x50e3fa[_0x5d340d(0x1e6)]()),this[_0x5d340d(0x1a5)][_0x5d340d(0x1ad)](),_0x3bdfed[_0x5d340d(0x1c7)](this[_0x5d340d(0x203)]),this[_0x5d340d(0x1fb)](),this[_0x5d340d(0x1f0)][_0x5d340d(0x1fb)](),this[_0x5d340d(0x1ed)]instanceof _0x3f5afc&&this[_0x5d340d(0x1fb)](this[_0x5d340d(0x1ed)][_0x5d340d(0x1d9)]);for(const _0x19d40e of Array[_0x5d340d(0x1cb)](this[_0x5d340d(0x200)]))this[_0x5d340d(0x1bf)](_0x19d40e);window[_0x5d340d(0x1f4)](_0x5d340d(0x19d),this[_0x5d340d(0x1bb)]),this[_0x5d340d(0x1bb)][_0x5d340d(0x1a4)](),this[_0x5d340d(0x192)]=[],this[_0x5d340d(0x1e9)]=!0x1,this[_0x5d340d(0x203)]=null;}[_0x28d5c1(0x1e6)](){const _0x16e41b=_0x28d5c1;this[_0x16e41b(0x1e9)]&&this[_0x16e41b(0x1de)](),this[_0x16e41b(0x1c8)][_0x16e41b(0x1dd)]();}[_0x28d5c1(0x1b2)](_0x5b1535){const _0x1dd276=_0x28d5c1;if(!_0x5b1535[_0x1dd276(0x1bd)][_0x1dd276(0x1b1)](_0x1dd276(0x1b4)))return;const _0x34d9df=_0x5b1535[_0x1dd276(0x1bd)][_0x1dd276(0x1a3)](_0x1dd276(0x1b4)),_0x2a667f=this[_0x1dd276(0x1ed)][_0x1dd276(0x1bd)][_0x1dd276(0x1a3)](_0x249048),_0x151124=this[_0x1dd276(0x203)],_0x58fbe4=this[_0x1dd276(0x1cc)],_0x11a22d=()=>{const _0x3531e7=_0x1dd276,_0x8eacdb=_0x34d9df[_0x3531e7(0x1db)]({'annotations':this[_0x3531e7(0x203)],'activeAnnotation':this[_0x3531e7(0x1f5)]});this[_0x3531e7(0x1a6)](_0x8eacdb),this[_0x3531e7(0x1f9)](_0x8eacdb[0x0]||null);};this[_0x1dd276(0x1e3)](_0x34d9df,_0x1dd276(0x1e4),_0x11a22d),this[_0x1dd276(0x1e3)](_0x34d9df,_0x1dd276(0x1d5),(_0x2f172a,{isAnnotationTracked:_0x4ecfbe})=>{const _0x1300b4=_0x1dd276;this[_0x1300b4(0x1f5)]&&_0x4ecfbe(this[_0x1300b4(0x1f5)])&&(this[_0x1300b4(0x1a6)]([]),this[_0x1300b4(0x1f9)](null));}),this[_0x1dd276(0x1e3)](_0x34d9df,_0x1dd276(0x1c1),()=>{const _0xa2c76e=_0x1dd276;this[_0xa2c76e(0x1bb)]();}),this[_0x1dd276(0x1e3)](_0x151124,_0x1dd276(0x1d5),_0x133eb3=>{const _0x5908f3=_0x1dd276;_0x34d9df[_0x5908f3(0x204)]()&&_0x133eb3[_0x5908f3(0x206)]();},{'priority':_0x1dd276(0x1fe)}),this[_0x1dd276(0x1e3)](this[_0x1dd276(0x1f0)],_0x1dd276(0x1a2),(_0x9b3c1e,_0x315ee4)=>{const _0xc926d7=_0x1dd276,_0x393304=_0x315ee4[_0xc926d7(0x1ff)];_0x58fbe4[_0xc926d7(0x1ef)]&&_0x58fbe4[_0xc926d7(0x1cf)][_0xc926d7(0x1fa)](_0x393304)||_0x2a667f[_0xc926d7(0x1d8)][_0xc926d7(0x1cf)][_0xc926d7(0x1fa)](_0x393304)||this[_0xc926d7(0x1f5)]&&_0x34d9df[_0xc926d7(0x204)]()&&(_0x11a22d(),_0x9b3c1e[_0xc926d7(0x207)]=!0x0);},{'priority':_0x1dd276(0x1fe)}),this[_0x1dd276(0x200)][_0x1dd276(0x1d0)](_0x34d9df);}[_0x28d5c1(0x1bf)](_0x1c7c62){const _0x585d4f=_0x28d5c1;_0x1c7c62&&(this[_0x585d4f(0x1fb)](_0x1c7c62),this[_0x585d4f(0x200)][_0x585d4f(0x1a7)](_0x1c7c62));}[_0x28d5c1(0x1a6)](_0x28b291){const _0x34ca63=_0x28d5c1;for(const _0x4b0ed7 of this[_0x34ca63(0x192)])_0x28b291[_0x34ca63(0x1ca)](_0x4b0ed7)||this[_0x34ca63(0x1b3)][_0x34ca63(0x1f3)](_0x4b0ed7[_0x34ca63(0x1d8)]);this[_0x34ca63(0x192)]=_0x28b291;}[_0x28d5c1(0x19c)](){const _0x12e765=_0x28d5c1,_0x1f9592=this[_0x12e765(0x1cc)];this[_0x12e765(0x203)][_0x12e765(0x1ec)](),_0x1f9592[_0x12e765(0x1ef)]&&this[_0x12e765(0x1c3)]();}[_0x28d5c1(0x19b)](_0x2098d1){const _0x8f0475=_0x28d5c1;if(this[_0x8f0475(0x1b3)][_0x8f0475(0x1b1)](_0x2098d1[_0x8f0475(0x1d8)]))return;const _0x4f6355=this[_0x8f0475(0x1cc)][_0x8f0475(0x1b9)][_0x8f0475(0x1cd)];_0x4f6355!==_0x2098d1[_0x8f0475(0x1d8)]?(_0x4f6355&&this[_0x8f0475(0x1c0)](_0x4f6355),this[_0x8f0475(0x1fc)](_0x2098d1[_0x8f0475(0x1d8)]),this[_0x8f0475(0x1cc)][_0x8f0475(0x1b9)][_0x8f0475(0x1ad)](),this[_0x8f0475(0x1cc)][_0x8f0475(0x1b9)][_0x8f0475(0x1d0)](_0x2098d1[_0x8f0475(0x1d8)]),this[_0x8f0475(0x1c3)]()):this[_0x8f0475(0x1c3)]();}[_0x28d5c1(0x1c3)](){const _0x114fb0=_0x28d5c1,_0x108f5e=this[_0x114fb0(0x1cc)][_0x114fb0(0x1b9)][_0x114fb0(0x1cd)],_0x2e51b9=_0x108f5e&&this[_0x114fb0(0x203)][_0x114fb0(0x1e0)](_0x108f5e);if(!_0x2e51b9||!this[_0x114fb0(0x1a5)][_0x114fb0(0x1b1)](_0x2e51b9))return;const _0x11e714=this[_0x114fb0(0x1a5)][_0x114fb0(0x1a3)](_0x2e51b9)[_0x114fb0(0x1cf)],_0x404e6c=(function(){const _0x18976c=_0x114fb0,_0x2db791=_0x46ba06[_0x18976c(0x1b7)];return[_0x2db791[_0x18976c(0x19e)],_0x2db791[_0x18976c(0x1d7)],_0x2db791[_0x18976c(0x1b8)],_0x2db791[_0x18976c(0x19a)],_0x2db791[_0x18976c(0x205)],_0x2db791[_0x18976c(0x191)]];}());this[_0x114fb0(0x1cc)][_0x114fb0(0x1f2)]({'target':_0x11e714,'positions':_0x404e6c});}[_0x28d5c1(0x190)](){const _0x308672=_0x28d5c1,_0x45a376=this[_0x308672(0x1cc)],_0x30cd6d=_0x45a376[_0x308672(0x1b9)][_0x308672(0x1cd)];_0x30cd6d&&(this[_0x308672(0x1c0)](_0x30cd6d),_0x45a376[_0x308672(0x1fd)](),_0x45a376[_0x308672(0x1b9)][_0x308672(0x1ad)]());}[_0x28d5c1(0x1fc)](_0x3cce0a){const _0x514c74=_0x28d5c1;this[_0x514c74(0x1e3)](_0x3cce0a,_0x514c74(0x1ae),()=>this[_0x514c74(0x1c3)]()),this[_0x514c74(0x1e3)](_0x3cce0a,_0x514c74(0x1ce),(_0x17b0e0,_0x1d5138)=>{const _0x48ae60=_0x514c74;this[_0x48ae60(0x1b3)][_0x48ae60(0x1d0)](_0x3cce0a),this[_0x48ae60(0x190)](),_0x1d5138();});}[_0x28d5c1(0x1c0)](_0x1c9876){const _0x262a32=_0x28d5c1;this[_0x262a32(0x1fb)](_0x1c9876);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xdfa862=_0x1d16;function _0x2849(){const _0x34528a=['1839745BatMxH','get','minHeight','push','_destroySidebarItemView','locale','isAnimationDisabled','sidebar-setcontainer-invalid-element','_targetTop','remove','target','rearrange','object','setContainer','1548603WFuPuX','clear','_getTargetTop','_getItemAfter','init','_recalculate','5057840KFncvC','targetRect','_updateLastItem','_alignToTargetRect','_annotations','_alignAfterItem','2068815gPMztd','_spaceBetweenItems','getSidebarItemView','element','pluginName','_getItemBefore','959JkdPbs','_annotationToSidebarItemView','_alignBeforeItem','max','change:bottom','_sidebarItemViewToAnnotation','delete','class','content','stopListening','sidebar.preventScrollOutOfView','4MKAVcF','length','unbind','set','addAnnotation','refresh','add','list','change:_lastItem','bind','top','206HcwuTb','6465iSehfr','8656142rTTvpA','_detachFromContainer','_lastItem','height','_recalculateBuffer','define','last','config','isActive','sidebar-attachtocontainer-missing-container','updateHeight','view','_activeAnnotation','_alignForTopChange','bottom','sidebar.container','_getMaxAvailableTop','nodeType','change:targetRect','context','_alignForBottomChange','getIndex','container','destroy','render','change:top','10nVRYci','_attachToContainer','listenTo','20046VrWzXl','_setItemTop','appendChild','_createSidebarView','Sidebar'];_0x2849=function(){return _0x34528a;};return _0x2849();}(function(_0x16e319,_0x30fdaf){const _0x1f063d=_0x1d16,_0xc0b672=_0x16e319();while(!![]){try{const _0x573591=-parseInt(_0x1f063d(0xe0))/0x1*(-parseInt(_0x1f063d(0xdf))/0x2)+-parseInt(_0x1f063d(0x11d))/0x3+parseInt(_0x1f063d(0x12e))/0x4*(-parseInt(_0x1f063d(0x103))/0x5)+parseInt(_0x1f063d(0xfe))/0x6*(-parseInt(_0x1f063d(0x123))/0x7)+parseInt(_0x1f063d(0x117))/0x8+parseInt(_0x1f063d(0x111))/0x9*(-parseInt(_0x1f063d(0xfb))/0xa)+parseInt(_0x1f063d(0xe1))/0xb;if(_0x573591===_0x30fdaf)break;else _0xc0b672['push'](_0xc0b672['shift']());}catch(_0x1c03b4){_0xc0b672['push'](_0xc0b672['shift']());}}}(_0x2849,0x6118d));function _0x1d16(_0x49188d,_0x18704c){const _0x284984=_0x2849();return _0x1d16=function(_0x1d16f7,_0x6f83a2){_0x1d16f7=_0x1d16f7-0xd7;let _0x1b08be=_0x284984[_0x1d16f7];return _0x1b08be;},_0x1d16(_0x49188d,_0x18704c);}import{ContextPlugin as _0x11739c}from'ckeditor5/src/core.js';import{Rect as _0xe83335,CKEditorError as _0x4b9005}from'ckeditor5/src/utils.js';import _0x32731d from'./view/sidebarview.js';import _0x2853b5 from'./view/sidebaritemview.js';export default class D extends _0x11739c{static get[_0xdfa862(0x121)](){const _0x2213dd=_0xdfa862;return _0x2213dd(0x102);}constructor(_0x5e595a){const _0x13eaa5=_0xdfa862;super(_0x5e595a),this[_0x13eaa5(0xd7)](_0x13eaa5(0xe3),void 0x0),this[_0x13eaa5(0xec)]=this[_0x13eaa5(0x101)](),this[_0x13eaa5(0xd7)](_0x13eaa5(0xf7),null),this[_0x13eaa5(0x11e)]=0x19,this[_0x13eaa5(0x128)]=new Map(),this[_0x13eaa5(0x124)]=new Map(),this[_0x13eaa5(0xf4)][_0x13eaa5(0xe8)][_0x13eaa5(0xe6)](_0x13eaa5(0x12d),!0x1),this[_0x13eaa5(0x11b)]=null,this[_0x13eaa5(0xed)]=null,this[_0x13eaa5(0xe5)]=[];}[_0xdfa862(0x115)](){const _0x39950c=_0xdfa862,_0x393fbe=this[_0x39950c(0xf4)][_0x39950c(0xe8)][_0x39950c(0x104)](_0x39950c(0xf0));_0x393fbe&&this[_0x39950c(0x110)](_0x393fbe);}[_0xdfa862(0x110)](_0x126b5d){const _0x39abdd=_0xdfa862;if(!y(_0x126b5d))throw new _0x4b9005(_0x39abdd(0x10a));this[_0x39abdd(0xf7)]=_0x126b5d;}[_0xdfa862(0xfc)]({viewClass:_0x3d710d='',spaceBetweenItems:_0x4f9150=0x19}={}){const _0x46db79=_0xdfa862;if(!y(this[_0x46db79(0xf7)]))throw new _0x4b9005(_0x46db79(0xea),this);this[_0x46db79(0xf7)][_0x46db79(0x100)](this[_0x46db79(0xec)][_0x46db79(0x120)]),this[_0x46db79(0xec)][_0x46db79(0x12a)]=_0x3d710d,this[_0x46db79(0x11e)]=_0x4f9150;}[_0xdfa862(0x10e)]({removedAnnotation:_0x1ce635,previousAnnotation:_0x69259c,nextAnnotation:_0x1b7779}){const _0x4f4473=_0xdfa862,_0x30de91=this[_0x4f4473(0x11f)](_0x1ce635);this[_0x4f4473(0xec)][_0x4f4473(0xdb)][_0x4f4473(0x10c)](_0x30de91),this[_0x4f4473(0x107)](_0x1ce635),_0x69259c&&this[_0x4f4473(0x11a)](this[_0x4f4473(0x11f)](_0x69259c)),_0x1b7779&&this[_0x4f4473(0x11a)](this[_0x4f4473(0x11f)](_0x1b7779)),this[_0x4f4473(0x119)]();}[_0xdfa862(0xd9)]({blurredAnnotation:_0x3083d0,activatedAnnotation:_0x2ffb97,disableAnimationOnActivatedAnnotation:_0x484454}){const _0x2df86b=_0xdfa862;if(this[_0x2df86b(0xed)]=_0x2ffb97,_0x3083d0){_0x3083d0[_0x2df86b(0xe9)]=!0x1;const _0x1142d2=this[_0x2df86b(0x11f)](_0x3083d0);_0x1142d2&&_0x484454&&(_0x1142d2[_0x2df86b(0x109)]=!0x1);}if(_0x2ffb97){const _0x277a95=this[_0x2df86b(0x11f)](_0x2ffb97);_0x277a95&&(_0x2ffb97[_0x2df86b(0xe9)]=!0x0,_0x484454&&(_0x277a95[_0x2df86b(0x109)]=!0x0,_0x277a95[_0x2df86b(0xde)]+=0x1),this[_0x2df86b(0x11a)](_0x277a95));}}[_0xdfa862(0xe2)](_0x114704){const _0x30fc42=_0xdfa862;if(this[_0x30fc42(0xec)][_0x30fc42(0x120)][_0x30fc42(0x10c)](),_0x114704){for(const _0x57aaf1 of _0x114704)this[_0x30fc42(0x107)](_0x57aaf1);}this[_0x30fc42(0xec)][_0x30fc42(0xdb)][_0x30fc42(0x112)](),this[_0x30fc42(0xec)][_0x30fc42(0x12a)]='',this[_0x30fc42(0xe3)]=null;}[_0xdfa862(0xd8)](_0x32c633,_0x18b42c){const _0x5e44f0=_0xdfa862;_0x18b42c||(_0x18b42c=_0x32c633[_0x5e44f0(0xec)]);const _0x567e3c=new _0x2853b5(this[_0x5e44f0(0xf4)][_0x5e44f0(0x108)]);this[_0x5e44f0(0x128)][_0x5e44f0(0xd7)](_0x567e3c,_0x32c633),this[_0x5e44f0(0x124)][_0x5e44f0(0xd7)](_0x32c633,_0x567e3c),_0x567e3c[_0x5e44f0(0x12b)][_0x5e44f0(0xda)](_0x18b42c),this[_0x5e44f0(0xfd)](_0x32c633[_0x5e44f0(0xec)],_0x5e44f0(0xf3),(_0x57d7c4,_0xc44186,_0x2ad10e)=>{const _0x462cf1=_0x5e44f0,_0x43c8e7=this[_0x462cf1(0x113)](_0x32c633,_0x2ad10e);_0x567e3c[_0x462cf1(0x10b)]!=_0x43c8e7&&(_0x567e3c[_0x462cf1(0x10b)]=_0x43c8e7,this[_0x462cf1(0xff)](_0x567e3c,_0x43c8e7));}),this[_0x5e44f0(0xfd)](_0x567e3c,_0x5e44f0(0xfa),()=>{const _0x1c1883=_0x5e44f0;this[_0x1c1883(0x116)](_0x567e3c,_0x1c1883(0xde));}),this[_0x5e44f0(0xfd)](_0x567e3c,_0x5e44f0(0x127),()=>{const _0x326208=_0x5e44f0;this[_0x326208(0x116)](_0x567e3c,_0x326208(0xef));}),this[_0x5e44f0(0x11a)](_0x567e3c);const _0x3501c7=this[_0x5e44f0(0x122)](_0x567e3c);if(_0x3501c7)this[_0x5e44f0(0x11c)](_0x3501c7,_0x567e3c)||this[_0x5e44f0(0x11a)](_0x567e3c);else this[_0x5e44f0(0x11a)](_0x567e3c);return this[_0x5e44f0(0x119)](),this[_0x5e44f0(0xec)][_0x5e44f0(0xdb)][_0x5e44f0(0xda)](_0x567e3c),_0x567e3c;}[_0xdfa862(0xee)](_0x48a4c6){const _0x1ee6d1=_0xdfa862;if(!_0x48a4c6[_0x1ee6d1(0x12b)][_0x1ee6d1(0x12f)])return;const _0x521963=this[_0x1ee6d1(0x122)](_0x48a4c6);if(!_0x521963)return;const _0x1d87c0=this[_0x1ee6d1(0x128)][_0x1ee6d1(0x104)](_0x521963),_0x219644=this[_0x1ee6d1(0xed)];_0x219644&&_0x219644===_0x1d87c0?this[_0x1ee6d1(0x11c)](_0x521963,_0x48a4c6):this[_0x1ee6d1(0x125)](_0x48a4c6,_0x521963);}[_0xdfa862(0xf5)](_0x208afe){const _0x9f2d97=_0xdfa862;if(!_0x208afe[_0x9f2d97(0x12b)][_0x9f2d97(0x12f)])return;const _0x59dd2b=this[_0x9f2d97(0x114)](_0x208afe);if(!_0x59dd2b)return;const _0x2a2338=this[_0x9f2d97(0x128)][_0x9f2d97(0x104)](_0x59dd2b),_0x16f247=this[_0x9f2d97(0xf4)][_0x9f2d97(0xe8)][_0x9f2d97(0x104)](_0x9f2d97(0x12d)),_0x4ac6f9=this[_0x9f2d97(0xed)];_0x4ac6f9&&_0x4ac6f9===_0x2a2338&&_0x16f247?(this[_0x9f2d97(0x125)](_0x59dd2b,_0x208afe),this[_0x9f2d97(0x11c)](_0x208afe,_0x59dd2b)):_0x4ac6f9&&_0x4ac6f9===_0x2a2338?this[_0x9f2d97(0x125)](_0x59dd2b,_0x208afe):this[_0x9f2d97(0x11c)](_0x208afe,_0x59dd2b);}[_0xdfa862(0x116)](_0x4b96aa,_0x3fb6f1){const _0x3b7b79=_0xdfa862;0x0===this[_0x3b7b79(0xe5)][_0x3b7b79(0x12f)]&&setTimeout(()=>{const _0x48a890=_0x3b7b79;for(const {sidebarItemView:_0x2cfc7,changedProp:_0x4475fc}of this[_0x48a890(0xe5)])_0x48a890(0xde)===_0x4475fc?this[_0x48a890(0xee)](_0x2cfc7):this[_0x48a890(0xf5)](_0x2cfc7);this[_0x48a890(0xe5)]=[];},0xa),this[_0x3b7b79(0xe5)][_0x3b7b79(0x106)]({'sidebarItemView':_0x4b96aa,'changedProp':_0x3fb6f1});}[_0xdfa862(0x11f)](_0x30286e){const _0x58aa08=_0xdfa862;return this[_0x58aa08(0x124)][_0x58aa08(0x104)](_0x30286e);}[_0xdfa862(0xf8)](){const _0x2cb70d=_0xdfa862;this[_0x2cb70d(0x12c)](),this[_0x2cb70d(0xec)][_0x2cb70d(0xf8)]();}[_0xdfa862(0x107)](_0x1fd25c){const _0x95a44b=_0xdfa862,_0x2cdc46=this[_0x95a44b(0x11f)](_0x1fd25c);this[_0x95a44b(0x12c)](_0x2cdc46),this[_0x95a44b(0x12c)](_0x1fd25c[_0x95a44b(0xec)]),_0x2cdc46[_0x95a44b(0xf8)](),this[_0x95a44b(0x124)][_0x95a44b(0x129)](_0x1fd25c),this[_0x95a44b(0x128)][_0x95a44b(0x129)](_0x2cdc46);}[_0xdfa862(0x101)](){const _0x1f176d=_0xdfa862,_0x1c7542=new _0x32731d(this[_0x1f176d(0xf4)][_0x1f176d(0x108)]);return _0x1c7542[_0x1f176d(0xf9)](),this['on'](_0x1f176d(0xdc),(_0x2a72c5,_0x4f3c84,_0x531a7a,_0x24f66b)=>{const _0x461f7e=_0x1f176d;_0x24f66b&&_0x1c7542[_0x461f7e(0x130)](_0x461f7e(0x105)),_0x531a7a?_0x1c7542[_0x461f7e(0xdd)](_0x461f7e(0x105))['to'](_0x531a7a,_0x461f7e(0xef)):_0x1c7542[_0x461f7e(0x105)]=null;}),_0x1c7542;}[_0xdfa862(0x119)](){const _0x370389=_0xdfa862;var _0x282f26;this[_0x370389(0xe3)]=(null===(_0x282f26=this[_0x370389(0x11b)])||void 0x0===_0x282f26?void 0x0:_0x282f26[_0x370389(0xe7)])?this[_0x370389(0x11f)](this[_0x370389(0x11b)][_0x370389(0xe7)]):null;}[_0xdfa862(0x122)](_0x14f0c0){const _0x290bbd=_0xdfa862;var _0x4500ff;const _0x1839b9=this[_0x290bbd(0x128)][_0x290bbd(0x104)](_0x14f0c0),_0x177b42=_0x1839b9&&(null===(_0x4500ff=this[_0x290bbd(0x11b)])||void 0x0===_0x4500ff?void 0x0:_0x4500ff[_0x290bbd(0x104)](this[_0x290bbd(0x11b)][_0x290bbd(0xf6)](_0x1839b9)-0x1));return _0x177b42&&this[_0x290bbd(0x11f)](_0x177b42)||null;}[_0xdfa862(0x114)](_0x255d62){const _0x565534=_0xdfa862;var _0x5015f2;const _0x36f97b=this[_0x565534(0x128)][_0x565534(0x104)](_0x255d62),_0x54b756=_0x36f97b&&(null===(_0x5015f2=this[_0x565534(0x11b)])||void 0x0===_0x5015f2?void 0x0:_0x5015f2[_0x565534(0x104)](this[_0x565534(0x11b)][_0x565534(0xf6)](_0x36f97b)+0x1));return _0x54b756&&this[_0x565534(0x11f)](_0x54b756)||null;}[_0xdfa862(0x125)](_0x5d0067,_0x31ff8e){const _0x544a8a=_0xdfa862;_0x5d0067[_0x544a8a(0xeb)]();const _0x189721=R(_0x31ff8e[_0x544a8a(0xef)]+this[_0x544a8a(0x11e)],_0x5d0067[_0x544a8a(0xde)]);return!!_0x189721&&(this[_0x544a8a(0xff)](_0x31ff8e,_0x31ff8e[_0x544a8a(0xde)]-_0x189721),!0x0);}[_0xdfa862(0x11c)](_0x3665e1,_0x5d227d){const _0x34a0b4=_0xdfa862;_0x3665e1[_0x34a0b4(0xeb)]();const _0x2ef53b=R(_0x3665e1[_0x34a0b4(0xef)]+this[_0x34a0b4(0x11e)],_0x5d227d[_0x34a0b4(0xde)]);return!!_0x2ef53b&&(this[_0x34a0b4(0xff)](_0x5d227d,_0x5d227d[_0x34a0b4(0xde)]+_0x2ef53b,!0x1),!0x0);}[_0xdfa862(0x11a)](_0x5b93f9){const _0x45c85a=_0xdfa862,_0x4aa6df=this[_0x45c85a(0x128)][_0x45c85a(0x104)](_0x5b93f9);if(!_0x4aa6df||!_0x4aa6df[_0x45c85a(0x10d)]||!_0x4aa6df[_0x45c85a(0x118)])return;const _0x577ff9=this[_0x45c85a(0x113)](_0x4aa6df,_0x4aa6df[_0x45c85a(0x118)]);this[_0x45c85a(0xff)](_0x5b93f9,_0x577ff9);}[_0xdfa862(0x113)](_0x46af1a,_0x2610a2){const _0x1b424a=_0xdfa862;if(null===_0x2610a2)return 0x0;if(_0x46af1a[_0x1b424a(0x10d)]instanceof _0xe83335)return _0x2610a2[_0x1b424a(0xde)];{const _0x2d45e1=new _0xe83335(this[_0x1b424a(0xec)][_0x1b424a(0x120)])[_0x1b424a(0xde)];return _0x2610a2[_0x1b424a(0xde)]-_0x2d45e1;}}[_0xdfa862(0xff)](_0x5c0d53,_0x2949ce,_0x5be161=this[_0xdfa862(0xf4)][_0xdfa862(0xe8)][_0xdfa862(0x104)](_0xdfa862(0x12d))){const _0x577e96=_0xdfa862;_0x5be161&&(_0x2949ce=Math[_0x577e96(0x126)](_0x2949ce,this[_0x577e96(0xf1)](_0x5c0d53))),_0x5c0d53[_0x577e96(0xde)]=_0x2949ce;}[_0xdfa862(0xf1)](_0x35ec8f){const _0x30abda=_0xdfa862;let _0x35b96b=this[_0x30abda(0x122)](_0x35ec8f),_0x229074=0x0;for(;_0x35b96b;)_0x35b96b[_0x30abda(0xeb)](),_0x229074+=this[_0x30abda(0x11e)]+_0x35b96b[_0x30abda(0xe4)],_0x35b96b=this[_0x30abda(0x122)](_0x35b96b);return _0x229074;}}function R(_0x5f1e8a,_0x3b3512){const _0x26fdab=_0xdfa862;return Math[_0x26fdab(0x126)](_0x5f1e8a-_0x3b3512,0x0);}function y(_0x21a45b){const _0x2acd25=_0xdfa862;return null!==_0x21a45b&&_0x2acd25(0x10f)==typeof _0x21a45b&&0x1===_0x21a45b[_0x2acd25(0xf2)];}
|
|
23
|
+
function _0x4668(_0x2f8cdc,_0x24ee3e){const _0x5270e0=_0x5270();return _0x4668=function(_0x466840,_0x2abc5c){_0x466840=_0x466840-0xde;let _0x50a3a0=_0x5270e0[_0x466840];return _0x50a3a0;},_0x4668(_0x2f8cdc,_0x24ee3e);}const _0x611fbe=_0x4668;(function(_0xe8e0ae,_0x5c184f){const _0x5db92c=_0x4668,_0x19914b=_0xe8e0ae();while(!![]){try{const _0x30c7b7=-parseInt(_0x5db92c(0x10d))/0x1+-parseInt(_0x5db92c(0x11b))/0x2*(-parseInt(_0x5db92c(0xf6))/0x3)+parseInt(_0x5db92c(0x129))/0x4*(parseInt(_0x5db92c(0x127))/0x5)+parseInt(_0x5db92c(0xf3))/0x6+-parseInt(_0x5db92c(0x123))/0x7*(parseInt(_0x5db92c(0x11c))/0x8)+parseInt(_0x5db92c(0xe8))/0x9+-parseInt(_0x5db92c(0xdf))/0xa;if(_0x30c7b7===_0x5c184f)break;else _0x19914b['push'](_0x19914b['shift']());}catch(_0x2fb4ef){_0x19914b['push'](_0x19914b['shift']());}}}(_0x5270,0x4a79b));import{ContextPlugin as _0x399c5c}from'ckeditor5/src/core.js';import{Rect as _0x29ed3c,CKEditorError as _0x4adb2f}from'ckeditor5/src/utils.js';import _0x1c62b3 from'./view/sidebarview.js';import _0x105ebd from'./view/sidebaritemview.js';export default class D extends _0x399c5c{static get[_0x611fbe(0x118)](){const _0x43c0f3=_0x611fbe;return _0x43c0f3(0x126);}constructor(_0x48bfa3){const _0x5d9c00=_0x611fbe;super(_0x48bfa3),this[_0x5d9c00(0xe2)](_0x5d9c00(0x101),void 0x0),this[_0x5d9c00(0xe9)]=this[_0x5d9c00(0xf9)](),this[_0x5d9c00(0xe2)](_0x5d9c00(0x11f),null),this[_0x5d9c00(0x134)]=0x19,this[_0x5d9c00(0x104)]=new Map(),this[_0x5d9c00(0x130)]=new Map(),this[_0x5d9c00(0x110)][_0x5d9c00(0xef)][_0x5d9c00(0x100)](_0x5d9c00(0x112),!0x1),this[_0x5d9c00(0x12a)]=null,this[_0x5d9c00(0xe3)]=null,this[_0x5d9c00(0x12f)]=[];}[_0x611fbe(0xfa)](){const _0x27e4ed=_0x611fbe,_0x1ad7a6=this[_0x27e4ed(0x110)][_0x27e4ed(0xef)][_0x27e4ed(0x115)](_0x27e4ed(0xe1));_0x1ad7a6&&this[_0x27e4ed(0x125)](_0x1ad7a6);}[_0x611fbe(0x125)](_0xc4e6cc){const _0xad8e4=_0x611fbe;if(!y(_0xc4e6cc))throw new _0x4adb2f(_0xad8e4(0xf4));this[_0xad8e4(0x11f)]=_0xc4e6cc;}[_0x611fbe(0x132)]({viewClass:_0x29c62b='',spaceBetweenItems:_0x3a2341=0x19}={}){const _0x44c040=_0x611fbe;if(!y(this[_0x44c040(0x11f)]))throw new _0x4adb2f(_0x44c040(0x119),this);this[_0x44c040(0x11f)][_0x44c040(0xf5)](this[_0x44c040(0xe9)][_0x44c040(0x120)]),this[_0x44c040(0xe9)][_0x44c040(0x114)]=_0x29c62b,this[_0x44c040(0x134)]=_0x3a2341;}[_0x611fbe(0xf1)]({removedAnnotation:_0x467ee3,previousAnnotation:_0x45b605,nextAnnotation:_0x36533b}){const _0x2ed8a1=_0x611fbe,_0x49929f=this[_0x2ed8a1(0xfe)](_0x467ee3);this[_0x2ed8a1(0xe9)][_0x2ed8a1(0xe0)][_0x2ed8a1(0xfd)](_0x49929f),this[_0x2ed8a1(0xff)](_0x467ee3),_0x45b605&&this[_0x2ed8a1(0xfc)](this[_0x2ed8a1(0xfe)](_0x45b605)),_0x36533b&&this[_0x2ed8a1(0xfc)](this[_0x2ed8a1(0xfe)](_0x36533b)),this[_0x2ed8a1(0xec)]();}[_0x611fbe(0x12c)]({blurredAnnotation:_0x52c061,activatedAnnotation:_0x545e2b,disableAnimationOnActivatedAnnotation:_0x8f1fc3}){const _0x52bee6=_0x611fbe;if(this[_0x52bee6(0xe3)]=_0x545e2b,_0x52c061){_0x52c061[_0x52bee6(0xee)]=!0x1;const _0x1c69cc=this[_0x52bee6(0xfe)](_0x52c061);_0x1c69cc&&_0x8f1fc3&&(_0x1c69cc[_0x52bee6(0x103)]=!0x1);}if(_0x545e2b){const _0x113ef3=this[_0x52bee6(0xfe)](_0x545e2b);_0x113ef3&&(_0x545e2b[_0x52bee6(0xee)]=!0x0,_0x8f1fc3&&(_0x113ef3[_0x52bee6(0x103)]=!0x0,_0x113ef3[_0x52bee6(0x12e)]+=0x1),this[_0x52bee6(0xfc)](_0x113ef3));}}[_0x611fbe(0x10e)](_0xc0ee12){const _0x24f571=_0x611fbe;if(this[_0x24f571(0xe9)][_0x24f571(0x120)][_0x24f571(0xfd)](),_0xc0ee12){for(const _0x5cd052 of _0xc0ee12)this[_0x24f571(0xff)](_0x5cd052);}this[_0x24f571(0xe9)][_0x24f571(0xe0)][_0x24f571(0x111)](),this[_0x24f571(0xe9)][_0x24f571(0x114)]='',this[_0x24f571(0x101)]=null;}[_0x611fbe(0x117)](_0x28dc01,_0x1c240f){const _0x580f68=_0x611fbe;_0x1c240f||(_0x1c240f=_0x28dc01[_0x580f68(0xe9)]);const _0xa02377=new _0x105ebd(this[_0x580f68(0x110)][_0x580f68(0x133)]);this[_0x580f68(0x104)][_0x580f68(0xe2)](_0xa02377,_0x28dc01),this[_0x580f68(0x130)][_0x580f68(0xe2)](_0x28dc01,_0xa02377),_0xa02377[_0x580f68(0xe4)][_0x580f68(0x109)](_0x1c240f),this[_0x580f68(0x135)](_0x28dc01[_0x580f68(0xe9)],_0x580f68(0x107),(_0x1cfd85,_0xa5e1b2,_0x30f984)=>{const _0x3a8e42=_0x580f68,_0x475c19=this[_0x3a8e42(0x121)](_0x28dc01,_0x30f984);_0xa02377[_0x3a8e42(0x105)]!=_0x475c19&&(_0xa02377[_0x3a8e42(0x105)]=_0x475c19,this[_0x3a8e42(0x116)](_0xa02377,_0x475c19));}),this[_0x580f68(0x135)](_0xa02377,_0x580f68(0x10b),()=>{const _0x589c38=_0x580f68;this[_0x589c38(0x10a)](_0xa02377,_0x589c38(0x12e));}),this[_0x580f68(0x135)](_0xa02377,_0x580f68(0x136),()=>{const _0x2e9ec4=_0x580f68;this[_0x2e9ec4(0x10a)](_0xa02377,_0x2e9ec4(0x131));}),this[_0x580f68(0xfc)](_0xa02377);const _0xbc9455=this[_0x580f68(0xf8)](_0xa02377);if(_0xbc9455)this[_0x580f68(0x10c)](_0xbc9455,_0xa02377)||this[_0x580f68(0xfc)](_0xa02377);else this[_0x580f68(0xfc)](_0xa02377);return this[_0x580f68(0xec)](),this[_0x580f68(0xe9)][_0x580f68(0xe0)][_0x580f68(0x109)](_0xa02377),_0xa02377;}[_0x611fbe(0xed)](_0x48da7d){const _0x7ae9a2=_0x611fbe;if(!_0x48da7d[_0x7ae9a2(0xe4)][_0x7ae9a2(0xeb)])return;const _0x46c5a9=this[_0x7ae9a2(0xf8)](_0x48da7d);if(!_0x46c5a9)return;const _0x59a43b=this[_0x7ae9a2(0x104)][_0x7ae9a2(0x115)](_0x46c5a9),_0x375e28=this[_0x7ae9a2(0xe3)];_0x375e28&&_0x375e28===_0x59a43b?this[_0x7ae9a2(0x10c)](_0x46c5a9,_0x48da7d):this[_0x7ae9a2(0xf2)](_0x48da7d,_0x46c5a9);}[_0x611fbe(0xfb)](_0x1f590f){const _0x3d0de9=_0x611fbe;if(!_0x1f590f[_0x3d0de9(0xe4)][_0x3d0de9(0xeb)])return;const _0x1d5482=this[_0x3d0de9(0x124)](_0x1f590f);if(!_0x1d5482)return;const _0x11e339=this[_0x3d0de9(0x104)][_0x3d0de9(0x115)](_0x1d5482),_0x1ae85b=this[_0x3d0de9(0x110)][_0x3d0de9(0xef)][_0x3d0de9(0x115)](_0x3d0de9(0x112)),_0x309ef9=this[_0x3d0de9(0xe3)];_0x309ef9&&_0x309ef9===_0x11e339&&_0x1ae85b?(this[_0x3d0de9(0xf2)](_0x1d5482,_0x1f590f),this[_0x3d0de9(0x10c)](_0x1f590f,_0x1d5482)):_0x309ef9&&_0x309ef9===_0x11e339?this[_0x3d0de9(0xf2)](_0x1d5482,_0x1f590f):this[_0x3d0de9(0x10c)](_0x1f590f,_0x1d5482);}[_0x611fbe(0x10a)](_0x482025,_0x33a0d3){const _0x52f210=_0x611fbe;0x0===this[_0x52f210(0x12f)][_0x52f210(0xeb)]&&setTimeout(()=>{const _0xc77103=_0x52f210;for(const {sidebarItemView:_0x26442b,changedProp:_0x15b8c7}of this[_0xc77103(0x12f)])_0xc77103(0x12e)===_0x15b8c7?this[_0xc77103(0xed)](_0x26442b):this[_0xc77103(0xfb)](_0x26442b);this[_0xc77103(0x12f)]=[];},0xa),this[_0x52f210(0x12f)][_0x52f210(0x12b)]({'sidebarItemView':_0x482025,'changedProp':_0x33a0d3});}[_0x611fbe(0xfe)](_0x277773){const _0x29e90a=_0x611fbe;return this[_0x29e90a(0x130)][_0x29e90a(0x115)](_0x277773);}[_0x611fbe(0xe7)](){const _0x8a92e9=_0x611fbe;this[_0x8a92e9(0xde)](),this[_0x8a92e9(0xe9)][_0x8a92e9(0xe7)]();}[_0x611fbe(0xff)](_0x393b06){const _0x59e691=_0x611fbe,_0xdefbea=this[_0x59e691(0xfe)](_0x393b06);this[_0x59e691(0xde)](_0xdefbea),this[_0x59e691(0xde)](_0x393b06[_0x59e691(0xe9)]),_0xdefbea[_0x59e691(0xe7)](),this[_0x59e691(0x130)][_0x59e691(0x106)](_0x393b06),this[_0x59e691(0x104)][_0x59e691(0x106)](_0xdefbea);}[_0x611fbe(0xf9)](){const _0x1307b2=_0x611fbe,_0x4e04af=new _0x1c62b3(this[_0x1307b2(0x110)][_0x1307b2(0x133)]);return _0x4e04af[_0x1307b2(0x128)](),this['on'](_0x1307b2(0xe6),(_0x45f640,_0x2ef301,_0x431ad9,_0x307da9)=>{const _0x401380=_0x1307b2;_0x307da9&&_0x4e04af[_0x401380(0x11a)](_0x401380(0xe5)),_0x431ad9?_0x4e04af[_0x401380(0xf7)](_0x401380(0xe5))['to'](_0x431ad9,_0x401380(0x131)):_0x4e04af[_0x401380(0xe5)]=null;}),_0x4e04af;}[_0x611fbe(0xec)](){const _0x52ca1c=_0x611fbe;var _0x383483;this[_0x52ca1c(0x101)]=(null===(_0x383483=this[_0x52ca1c(0x12a)])||void 0x0===_0x383483?void 0x0:_0x383483[_0x52ca1c(0xf0)])?this[_0x52ca1c(0xfe)](this[_0x52ca1c(0x12a)][_0x52ca1c(0xf0)]):null;}[_0x611fbe(0xf8)](_0x550fee){const _0x1637b3=_0x611fbe;var _0x2c72dd;const _0x24b253=this[_0x1637b3(0x104)][_0x1637b3(0x115)](_0x550fee),_0x6ded0c=_0x24b253&&(null===(_0x2c72dd=this[_0x1637b3(0x12a)])||void 0x0===_0x2c72dd?void 0x0:_0x2c72dd[_0x1637b3(0x115)](this[_0x1637b3(0x12a)][_0x1637b3(0x122)](_0x24b253)-0x1));return _0x6ded0c&&this[_0x1637b3(0xfe)](_0x6ded0c)||null;}[_0x611fbe(0x124)](_0x253cfa){const _0x18f28e=_0x611fbe;var _0x54eda1;const _0x4d465f=this[_0x18f28e(0x104)][_0x18f28e(0x115)](_0x253cfa),_0x375e60=_0x4d465f&&(null===(_0x54eda1=this[_0x18f28e(0x12a)])||void 0x0===_0x54eda1?void 0x0:_0x54eda1[_0x18f28e(0x115)](this[_0x18f28e(0x12a)][_0x18f28e(0x122)](_0x4d465f)+0x1));return _0x375e60&&this[_0x18f28e(0xfe)](_0x375e60)||null;}[_0x611fbe(0xf2)](_0x2916e4,_0x195237){const _0x5970ec=_0x611fbe;_0x2916e4[_0x5970ec(0x108)]();const _0x1de796=R(_0x195237[_0x5970ec(0x131)]+this[_0x5970ec(0x134)],_0x2916e4[_0x5970ec(0x12e)]);return!!_0x1de796&&(this[_0x5970ec(0x116)](_0x195237,_0x195237[_0x5970ec(0x12e)]-_0x1de796),!0x0);}[_0x611fbe(0x10c)](_0x166baf,_0x42de80){const _0x531001=_0x611fbe;_0x166baf[_0x531001(0x108)]();const _0x3fe226=R(_0x166baf[_0x531001(0x131)]+this[_0x531001(0x134)],_0x42de80[_0x531001(0x12e)]);return!!_0x3fe226&&(this[_0x531001(0x116)](_0x42de80,_0x42de80[_0x531001(0x12e)]+_0x3fe226,!0x1),!0x0);}[_0x611fbe(0xfc)](_0x26410a){const _0x50b882=_0x611fbe,_0x688166=this[_0x50b882(0x104)][_0x50b882(0x115)](_0x26410a);if(!_0x688166||!_0x688166[_0x50b882(0x12d)]||!_0x688166[_0x50b882(0x113)])return;const _0x536942=this[_0x50b882(0x121)](_0x688166,_0x688166[_0x50b882(0x113)]);this[_0x50b882(0x116)](_0x26410a,_0x536942);}[_0x611fbe(0x121)](_0x273294,_0x16c483){const _0x4610f5=_0x611fbe;if(null===_0x16c483)return 0x0;if(_0x273294[_0x4610f5(0x12d)]instanceof _0x29ed3c)return _0x16c483[_0x4610f5(0x12e)];{const _0x4e5a7e=new _0x29ed3c(this[_0x4610f5(0xe9)][_0x4610f5(0x120)])[_0x4610f5(0x12e)];return _0x16c483[_0x4610f5(0x12e)]-_0x4e5a7e;}}[_0x611fbe(0x116)](_0x1289f9,_0x1ee4ec,_0x58dacd=this[_0x611fbe(0x110)][_0x611fbe(0xef)][_0x611fbe(0x115)](_0x611fbe(0x112))){const _0x25a487=_0x611fbe;_0x58dacd&&(_0x1ee4ec=Math[_0x25a487(0x11e)](_0x1ee4ec,this[_0x25a487(0x10f)](_0x1289f9))),_0x1289f9[_0x25a487(0x12e)]=_0x1ee4ec;}[_0x611fbe(0x10f)](_0xd3c4df){const _0x2c7051=_0x611fbe;let _0x2251ac=this[_0x2c7051(0xf8)](_0xd3c4df),_0x2c67dd=0x0;for(;_0x2251ac;)_0x2251ac[_0x2c7051(0x108)](),_0x2c67dd+=this[_0x2c7051(0x134)]+_0x2251ac[_0x2c7051(0xea)],_0x2251ac=this[_0x2c7051(0xf8)](_0x2251ac);return _0x2c67dd;}}function R(_0x351b5f,_0x25fd3a){const _0xf701ad=_0x611fbe;return Math[_0xf701ad(0x11e)](_0x351b5f-_0x25fd3a,0x0);}function y(_0x4e2ea5){const _0x1eb8e5=_0x611fbe;return null!==_0x4e2ea5&&_0x1eb8e5(0x11d)==typeof _0x4e2ea5&&0x1===_0x4e2ea5[_0x1eb8e5(0x102)];}function _0x5270(){const _0x1fabb7=['_annotations','push','refresh','target','top','_recalculateBuffer','_annotationToSidebarItemView','bottom','_attachToContainer','locale','_spaceBetweenItems','listenTo','change:bottom','stopListening','1251990xlDEpm','list','sidebar.container','set','_activeAnnotation','content','minHeight','change:_lastItem','destroy','400041NKGRyC','view','height','length','_updateLastItem','_alignForTopChange','isActive','config','last','rearrange','_alignBeforeItem','1644162JSocOA','sidebar-setcontainer-invalid-element','appendChild','958371GdjAjr','bind','_getItemBefore','_createSidebarView','init','_alignForBottomChange','_alignToTargetRect','remove','getSidebarItemView','_destroySidebarItemView','define','_lastItem','nodeType','isAnimationDisabled','_sidebarItemViewToAnnotation','_targetTop','delete','change:targetRect','updateHeight','add','_recalculate','change:top','_alignAfterItem','230431ibthrE','_detachFromContainer','_getMaxAvailableTop','context','clear','sidebar.preventScrollOutOfView','targetRect','class','get','_setItemTop','addAnnotation','pluginName','sidebar-attachtocontainer-missing-container','unbind','2VPHCKh','8tYRVab','object','max','container','element','_getTargetTop','getIndex','2578205idgrjY','_getItemAfter','setContainer','Sidebar','5aCpxba','render','1564252xmIIuF'];_0x5270=function(){return _0x1fabb7;};return _0x5270();}
|