@ckeditor/ckeditor5-comments 42.0.2 → 43.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -256
- package/build/comments.js +2 -2
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/annotations/annotations.d.ts +1 -1
- package/dist/annotations/sidebar.d.ts +2 -2
- package/dist/annotations/view/annotationview.d.ts +4 -4
- package/dist/annotations/view/sidebaritemview.d.ts +7 -3
- package/dist/annotations/view/sidebarview.d.ts +25 -4
- package/dist/comments/commentsediting.d.ts +8 -0
- package/dist/comments/commentsrepository.d.ts +14 -2
- package/dist/comments/ui/view/basecommentthreadview.d.ts +32 -3
- package/dist/comments/ui/view/basecommentview.d.ts +41 -3
- package/dist/comments/ui/view/commentinputview.d.ts +17 -2
- package/dist/comments/ui/view/commentsarchiveview.d.ts +11 -3
- package/dist/comments/ui/view/commentslistview.d.ts +17 -5
- package/dist/comments/ui/view/commentthreadheadercontextview.d.ts +25 -0
- package/dist/comments/ui/view/commentthreadheaderview.d.ts +29 -3
- package/dist/comments/ui/view/commentthreadinputview.d.ts +13 -2
- package/dist/comments/ui/view/commentthreadview.d.ts +11 -6
- package/dist/comments/ui/view/commentview.d.ts +9 -12
- package/dist/index-editor.css +33 -2
- package/dist/index.css +95 -2
- package/dist/index.d.ts +1 -0
- 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.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/dist/utils/common-translations.d.ts +1 -1
- package/lang/contexts.json +15 -0
- package/lang/translations/af.po +62 -0
- package/lang/translations/ar.po +68 -2
- package/lang/translations/bg.po +64 -2
- package/lang/translations/bn.po +64 -2
- package/lang/translations/bs.po +63 -0
- package/lang/translations/ca.po +64 -2
- package/lang/translations/cs.po +66 -2
- package/lang/translations/da.po +64 -2
- package/lang/translations/de-ch.po +62 -0
- package/lang/translations/de.po +64 -2
- package/lang/translations/el.po +64 -2
- package/lang/translations/en-au.po +62 -0
- package/lang/translations/en.po +64 -2
- package/lang/translations/es-co.po +63 -0
- package/lang/translations/es.po +65 -2
- package/lang/translations/et.po +64 -2
- package/lang/translations/fa.po +62 -0
- package/lang/translations/fi.po +64 -2
- package/lang/translations/fr.po +65 -2
- package/lang/translations/gl.po +64 -2
- package/lang/translations/he.po +65 -2
- package/lang/translations/hi.po +64 -2
- package/lang/translations/hr.po +63 -0
- package/lang/translations/hu.po +64 -2
- package/lang/translations/id.po +63 -2
- package/lang/translations/it.po +65 -2
- package/lang/translations/ja.po +63 -2
- package/lang/translations/jv.po +61 -0
- package/lang/translations/ko.po +63 -2
- package/lang/translations/lt.po +66 -2
- package/lang/translations/lv.po +65 -2
- package/lang/translations/ms.po +63 -2
- package/lang/translations/nl.po +64 -2
- package/lang/translations/no.po +64 -2
- package/lang/translations/pl.po +66 -2
- package/lang/translations/pt-br.po +65 -2
- package/lang/translations/pt.po +65 -2
- package/lang/translations/ro.po +65 -2
- package/lang/translations/ru.po +66 -2
- package/lang/translations/sk.po +66 -2
- package/lang/translations/sq.po +62 -0
- package/lang/translations/sr-latn.po +65 -2
- package/lang/translations/sr.po +65 -2
- package/lang/translations/sv.po +64 -2
- package/lang/translations/th.po +63 -2
- package/lang/translations/ti.po +62 -0
- package/lang/translations/tk.po +62 -0
- package/lang/translations/tr.po +64 -2
- package/lang/translations/tt.po +61 -0
- package/lang/translations/ug.po +64 -2
- package/lang/translations/uk.po +66 -2
- package/lang/translations/ur.po +62 -0
- package/lang/translations/vi.po +63 -2
- package/lang/translations/zh-cn.po +63 -2
- package/lang/translations/zh.po +63 -2
- package/package.json +14 -13
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.d.ts +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.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.d.ts +2 -2
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.d.ts +4 -4
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.d.ts +7 -3
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.d.ts +25 -4
- 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.d.ts +8 -0
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +14 -2
- 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.d.ts +32 -3
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.d.ts +41 -3
- 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.d.ts +17 -2
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.d.ts +11 -3
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.d.ts +17 -5
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.d.ts +21 -0
- package/src/comments/ui/view/commentthreadheadercontextview.js +23 -0
- package/src/comments/ui/view/commentthreadheaderview.d.ts +29 -3
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.d.ts +13 -2
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.d.ts +11 -6
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.d.ts +9 -12
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -1
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/comment.css +6 -0
- package/theme/commentthread.css +43 -2
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x14f88d=_0x1402;(function(_0x4d9bbb,_0x2325fb){const _0x3aea11=_0x1402,_0x193e72=_0x4d9bbb();while(!![]){try{const _0xf4338c=parseInt(_0x3aea11(0x119))/0x1*(-parseInt(_0x3aea11(0xfb))/0x2)+parseInt(_0x3aea11(0xef))/0x3*(parseInt(_0x3aea11(0xf1))/0x4)+-parseInt(_0x3aea11(0x122))/0x5*(parseInt(_0x3aea11(0xf6))/0x6)+parseInt(_0x3aea11(0x113))/0x7*(parseInt(_0x3aea11(0x10d))/0x8)+parseInt(_0x3aea11(0x105))/0x9+parseInt(_0x3aea11(0x110))/0xa+-parseInt(_0x3aea11(0xf5))/0xb;if(_0xf4338c===_0x2325fb)break;else _0x193e72['push'](_0x193e72['shift']());}catch(_0x1989f9){_0x193e72['push'](_0x193e72['shift']());}}}(_0x38a2,0x7e63f));import{Plugin as _0xd62b75}from'ckeditor5/src/core.js';function _0x1402(_0x1b2b98,_0x22c7d0){const _0x38a22b=_0x38a2();return _0x1402=function(_0x14024a,_0x3ebeb0){_0x14024a=_0x14024a-0xef;let _0x11dd58=_0x38a22b[_0x14024a];return _0x11dd58;},_0x1402(_0x1b2b98,_0x22c7d0);}import{CKEditorError as _0x52e392}from'ckeditor5/src/utils.js';function _0x38a2(){const _0x1f8a3b=['containsRange','registerAnnotation','getOrderedSelectedAnnotations','plugins','push','8lvHmWx','hasDomSelection','has','9100040rdbEBI','uiUpdate','focusTracker','3907057bzCQBs','function','update','collection','isReadOnly','remove','3365qLyPAW','isEqual','pluginName','add','directChange','cancel','listenTo','change:isFocused','isCollapsed','308870NRXIFv','refreshSelectedViews','change:range','EditorAnnotations','fire','get','view','range','editorannotations-invalid-source-callback','document','selection','_editorAnnotationsData','model','141jzCBpi','delete','14388eCvDTA','map','editor','getByInnerView','21720721jExQYI','6abyGku','init','element','editing','from','2WejXGW','_editorAnnotations','set','refresh','addSourceCollector','innerView','blur','getRanges','_dataCollectors','sort','8282079obAwcu','requires','annotation'];_0x38a2=function(){return _0x1f8a3b;};return _0x38a2();}import{debounce as _0x30eca7}from'lodash-es';import _0x1fef73 from'./annotations.js';export default class b extends _0xd62b75{static get[_0x14f88d(0x106)](){return[_0x1fef73];}static get[_0x14f88d(0x11b)](){const _0x555dea=_0x14f88d;return _0x555dea(0x125);}constructor(_0x442a2c){const _0x10cea8=_0x14f88d;super(_0x442a2c),this[_0x10cea8(0x103)]=new Set(),this[_0x10cea8(0xfc)]=new Set();}[_0x14f88d(0xf7)](){const _0x2c2740=_0x14f88d,_0x3e31f3=this[_0x2c2740(0xf3)],_0x17171d=_0x3e31f3[_0x2c2740(0x12e)][_0x2c2740(0x12b)][_0x2c2740(0x12c)],_0x2704e2=_0x30eca7(()=>this[_0x2c2740(0x123)](),0xa);_0x17171d['on'](_0x2c2740(0x124),(_0x2846bf,_0x4a8293)=>{const _0x1fa638=_0x2c2740;_0x4a8293[_0x1fa638(0x11d)]&&(_0x2704e2[_0x1fa638(0x11e)](),this[_0x1fa638(0x123)]());}),this[_0x2c2740(0x11f)](_0x3e31f3[_0x2c2740(0xf9)][_0x2c2740(0x128)][_0x2c2740(0x12b)],_0x2c2740(0x120),(_0xbd3708,_0x41aec1,_0x5deefc)=>{_0x5deefc&&_0x2704e2();}),this[_0x2c2740(0x11f)](_0x3e31f3['ui'][_0x2c2740(0x112)],_0x2c2740(0x120),(_0x5c021b,_0x5ee845,_0x9f7664)=>{const _0x54dd93=_0x2c2740;_0x9f7664||_0x3e31f3[_0x54dd93(0x117)]||this[_0x54dd93(0x126)](_0x54dd93(0x101),{'isAnnotationTracked':_0x42227f=>this[_0x54dd93(0x12d)][_0x54dd93(0x10f)](_0x42227f[_0x54dd93(0x100)])});}),this[_0x2c2740(0x11f)](this[_0x2c2740(0xf3)]['ui'],_0x2c2740(0x115),()=>this[_0x2c2740(0x126)](_0x2c2740(0x111)));}[_0x14f88d(0x109)](_0x38e45d){const _0x10bb5c=_0x14f88d;if(this[_0x10bb5c(0xfc)][_0x10bb5c(0x10f)](_0x38e45d[_0x10bb5c(0x128)]))return;this[_0x10bb5c(0xfc)][_0x10bb5c(0x11c)](_0x38e45d[_0x10bb5c(0x128)]),this[_0x10bb5c(0xf3)]['ui'][_0x10bb5c(0x112)][_0x10bb5c(0x11c)](_0x38e45d[_0x10bb5c(0x128)][_0x10bb5c(0xf8)]);const _0x301f1f=this[_0x10bb5c(0xf3)][_0x10bb5c(0x10b)][_0x10bb5c(0x127)](_0x1fef73);this[_0x10bb5c(0x11f)](_0x301f1f[_0x10bb5c(0x116)],_0x10bb5c(0x118),(_0x7bacad,_0x1edca3)=>{const _0x5e2c02=_0x10bb5c;this[_0x5e2c02(0xf3)]['ui'][_0x5e2c02(0x112)][_0x5e2c02(0x118)](_0x1edca3[_0x5e2c02(0x128)][_0x5e2c02(0xf8)]),this[_0x5e2c02(0xfc)][_0x5e2c02(0xf0)](_0x1edca3[_0x5e2c02(0x128)]);});}[_0x14f88d(0x10e)](){const _0x2ce425=_0x14f88d;return this[_0x2ce425(0xf3)][_0x2ce425(0xf9)][_0x2ce425(0x128)][_0x2ce425(0x10e)];}[_0x14f88d(0xff)](_0x398b8b){const _0x4e55ee=_0x14f88d;if(_0x4e55ee(0x114)!=typeof _0x398b8b)throw new _0x52e392(_0x4e55ee(0x12a));this[_0x4e55ee(0x103)][_0x4e55ee(0x11c)](_0x398b8b);}[_0x14f88d(0x123)](){const _0x472332=_0x14f88d;this[_0x472332(0x126)](_0x472332(0xfe));}[_0x14f88d(0x10a)]({activeAnnotation:_0x51bc14,annotations:_0x4bfbca}){const _0x1ed8d0=_0x14f88d,_0x3af944=[],_0x16e38e=this[_0x1ed8d0(0xf3)][_0x1ed8d0(0x12e)][_0x1ed8d0(0x12b)][_0x1ed8d0(0x12c)],_0x47cd85=Array[_0x1ed8d0(0xfa)](_0x16e38e[_0x1ed8d0(0x102)]());for(const [_0x181267,_0x231b73]of this[_0x1ed8d0(0x12d)]){const _0xfac2fd=_0x55bab5(_0x231b73),_0x4dec16=_0x4bfbca[_0x1ed8d0(0xf4)](_0x181267);_0xfac2fd&&_0x4dec16&&_0x3af944[_0x1ed8d0(0x10c)]({'annotation':_0x4dec16,'range':_0xfac2fd});}function _0x55bab5(_0x37f0f9){const _0x109ed0=_0x1ed8d0;for(const _0x4d5975 of _0x37f0f9)for(const _0x341cda of _0x47cd85)if(_0x4d5975[_0x109ed0(0x108)](_0x341cda,!_0x16e38e[_0x109ed0(0x121)]))return _0x4d5975;return null;}return _0x3af944[_0x1ed8d0(0x104)]((_0x4eaf19,_0x1018a8)=>{const _0x4a6bad=_0x1ed8d0,_0x849371=_0x4eaf19[_0x4a6bad(0x129)],_0x4e393b=_0x1018a8[_0x4a6bad(0x129)];if(!_0x849371[_0x4a6bad(0x11a)](_0x4e393b)){if(_0x849371[_0x4a6bad(0x108)](_0x4e393b,!0x0))return 0x1;if(_0x4e393b[_0x4a6bad(0x108)](_0x849371,!0x0))return-0x1;}return _0x4eaf19[_0x4a6bad(0x107)]==_0x51bc14?-0x1:_0x1018a8[_0x4a6bad(0x107)]==_0x51bc14?0x1:0x0;})[_0x1ed8d0(0xf2)](_0x3e4384=>_0x3e4384[_0x1ed8d0(0x107)]);}get[_0x14f88d(0x12d)](){const _0x172dbf=_0x14f88d,_0xce3c74=new Map();for(const _0x1a81ec of Array[_0x172dbf(0xfa)](this[_0x172dbf(0x103)]))for(const [_0xae45ce,_0x3741da]of _0x1a81ec())_0xce3c74[_0x172dbf(0xfd)](_0xae45ce,_0x3741da);return _0xce3c74;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x26ad32=_0x4fe2;(function(_0x5ca87b,_0x5a8599){const _0x4ec56e=_0x4fe2,_0xd335f7=_0x5ca87b();while(!![]){try{const _0x1f27ce=parseInt(_0x4ec56e(0x209))/0x1+parseInt(_0x4ec56e(0x227))/0x2*(-parseInt(_0x4ec56e(0x22f))/0x3)+parseInt(_0x4ec56e(0x20f))/0x4+parseInt(_0x4ec56e(0x205))/0x5*(-parseInt(_0x4ec56e(0x216))/0x6)+-parseInt(_0x4ec56e(0x242))/0x7*(-parseInt(_0x4ec56e(0x208))/0x8)+-parseInt(_0x4ec56e(0x233))/0x9*(-parseInt(_0x4ec56e(0x231))/0xa)+parseInt(_0x4ec56e(0x229))/0xb;if(_0x1f27ce===_0x5a8599)break;else _0xd335f7['push'](_0xd335f7['shift']());}catch(_0xe1cf5c){_0xd335f7['push'](_0xd335f7['shift']());}}}(_0xff2a,0x50a0b));import{Plugin as _0x2b2706}from'ckeditor5/src/core.js';import _0x208ac2 from'./annotationsuis.js';import _0x1b85c4 from'./editorannotations.js';import{ContextualBalloon as _0x2364be}from'ckeditor5/src/ui.js';import{MouseObserver as _0x3a0f22}from'ckeditor5/src/engine.js';import{CKEditorError as _0x4dd959,Rect as _0x38cf98}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';function _0x4fe2(_0x185e31,_0x404827){const _0xff2a8d=_0xff2a();return _0x4fe2=function(_0x4fe26d,_0x5ac056){_0x4fe26d=_0x4fe26d-0x1e2;let _0x53065f=_0xff2a8d[_0x4fe26d];return _0x53065f;},_0x4fe2(_0x185e31,_0x404827);}function _0xff2a(){const _0x102543=['keystrokes','_forceRefresh','InlineAnnotations','right','_getBalloonTargetForAnnotation','getOrderedSelectedAnnotations','7tlRKyu','bottom','remove','from','add','detach','visibleView','Esc','document','refresh','collapse','set','mousedown','addObserver','targetRect','includes','afterInit','init','view','register','length','change:visibleView','_manuallyClosed','_balloon','isAttached','annotations','hasView','_removeAnnotationFromBalloon','hasActive','target','viewRangeToDom','delete','top','focus','editableElement','push','_addAnnotationToBalloon','3050YJssDx','_setSelectedAnnotations','domConverter','4938368OevVsF','252012xACMcT','map','listenTo','getClientRects','getBoundingClientRect','getFirstRange','1301032BzfqDn','switchTo','inlineannotations-attach-already-attached','showStack','width','updatePosition','update','5496xyCnLx','clear','selection','inline','plugins','change:isFocused','_selectedAnnotations','editing','get','getByView','attach','change:height','setActiveAnnotation','find','left','activeAnnotation','requires','656wPNJcs','has','1257157uwllfM','isActive','every','blur','_addedAnnotations','isFocused','3852iotHDo','_closeAnnotation','50taldFW','context','2358RyKxPz','fromRect','stopListening','destroy','focusTracker','pluginName','inlineannotations-detach-not-attached','inlineannotations-not-allowed-with-context','editor'];_0xff2a=function(){return _0x102543;};return _0xff2a();}export default class c extends _0x2b2706{static get[_0x26ad32(0x226)](){return[_0x1b85c4,_0x2364be,_0x208ac2];}static get[_0x26ad32(0x238)](){const _0x4c64c7=_0x26ad32;return _0x4c64c7(0x23e);}constructor(_0x258160){const _0x418045=_0x26ad32;super(_0x258160),_0x258160[_0x418045(0x21d)][_0x418045(0x1f2)][_0x418045(0x1ed)](_0x3a0f22),this[_0x418045(0x1f8)]=!0x1,this[_0x418045(0x1eb)](_0x418045(0x225),null),this[_0x418045(0x1f9)]=null,this[_0x418045(0x1f6)]=new Set(),this[_0x418045(0x1f7)]=_0x258160[_0x418045(0x21a)][_0x418045(0x21e)](_0x2364be),this[_0x418045(0x22d)]=new Set(),this[_0x418045(0x21c)]=[],this[_0x418045(0x23d)]=!0x1;}[_0x26ad32(0x1f1)](){const _0x4904c8=_0x26ad32,_0x2e8d6d=this[_0x4904c8(0x23b)][_0x4904c8(0x21a)][_0x4904c8(0x21e)](_0x208ac2);_0x2e8d6d[_0x4904c8(0x232)]===this[_0x4904c8(0x23b)]&&(_0x2e8d6d[_0x4904c8(0x1f3)](_0x4904c8(0x219),this),this[_0x4904c8(0x23b)][_0x4904c8(0x23c)][_0x4904c8(0x1eb)](_0x4904c8(0x1e7),(_0x211fba,_0x105ce2)=>{const _0x1236b6=_0x4904c8,_0x387af7=this[_0x1236b6(0x1f7)];if(this[_0x1236b6(0x1f8)]&&_0x387af7[_0x1236b6(0x1e6)]){const _0x944131=this[_0x1236b6(0x1f9)][_0x1236b6(0x21f)](_0x387af7[_0x1236b6(0x1e6)]);_0x944131&&this[_0x1236b6(0x230)](_0x944131),_0x105ce2();}}));}[_0x26ad32(0x1f0)](){const _0x50fd4d=_0x26ad32,_0x52dddd=this[_0x50fd4d(0x23b)][_0x50fd4d(0x21a)][_0x50fd4d(0x21e)](_0x208ac2);_0x52dddd[_0x50fd4d(0x232)]===this[_0x50fd4d(0x23b)]&&(_0x52dddd[_0x50fd4d(0x1fc)]()||_0x52dddd[_0x50fd4d(0x210)](_0x50fd4d(0x219)));}[_0x26ad32(0x222)](_0x46b239){const _0x29c851=_0x26ad32;_0x46b239!==this[_0x29c851(0x225)]&&(this[_0x29c851(0x225)]&&(this[_0x29c851(0x225)][_0x29c851(0x22a)]=!0x1),_0x46b239&&this[_0x29c851(0x23b)]['ui'][_0x29c851(0x237)][_0x29c851(0x22e)]&&(this[_0x29c851(0x1f9)][_0x29c851(0x228)](_0x46b239)&&this[_0x29c851(0x204)](_0x46b239,!0x0),_0x46b239[_0x29c851(0x22a)]=!0x0),_0x46b239||this[_0x29c851(0x206)]([]),this[_0x29c851(0x225)]=_0x46b239);}[_0x26ad32(0x220)](_0x5680aa){const _0x1b25ef=_0x26ad32;this[_0x1b25ef(0x1f9)]=_0x5680aa;const _0x2d95df=this[_0x1b25ef(0x23b)][_0x1b25ef(0x21a)][_0x1b25ef(0x21e)](_0x208ac2),_0x44ccf5=this[_0x1b25ef(0x1f7)];if(this[_0x1b25ef(0x1f8)])throw new _0x4dd959(_0x1b25ef(0x211),this);if(_0x2d95df[_0x1b25ef(0x232)]!==this[_0x1b25ef(0x23b)])throw new _0x4dd959(_0x1b25ef(0x23a),this);const _0xfcbea5=this[_0x1b25ef(0x23b)][_0x1b25ef(0x21a)][_0x1b25ef(0x21e)](_0x1b85c4);this[_0x1b25ef(0x20b)](_0xfcbea5,_0x1b25ef(0x1e9),()=>{const _0x156201=_0x1b25ef,_0x590cf8=_0xfcbea5[_0x156201(0x241)]({'annotations':this[_0x156201(0x1f9)],'activeAnnotation':this[_0x156201(0x225)]});var _0x2be87b,_0x3ebd2f;!this[_0x156201(0x23d)]&&(_0x2be87b=_0x590cf8,_0x3ebd2f=this[_0x156201(0x21c)],_0x2be87b[_0x156201(0x1f4)]===_0x3ebd2f[_0x156201(0x1f4)]&&_0x2be87b[_0x156201(0x22b)](_0x1f4fe5=>_0x3ebd2f[_0x156201(0x1ef)](_0x1f4fe5)))||(this[_0x156201(0x23d)]=!0x1,this[_0x156201(0x206)](_0x590cf8),this[_0x156201(0x222)](_0x590cf8[0x0]||null));}),this[_0x1b25ef(0x20b)](_0xfcbea5,_0x1b25ef(0x22c),(_0x5de650,{isAnnotationTracked:_0x450cef})=>{const _0x235506=_0x1b25ef;this[_0x235506(0x225)]&&_0x450cef(this[_0x235506(0x225)])&&(this[_0x235506(0x206)]([]),this[_0x235506(0x222)](null));}),this[_0x1b25ef(0x20b)](this[_0x1b25ef(0x23b)]['ui'][_0x1b25ef(0x237)],_0x1b25ef(0x21b),(_0x22ca86,_0x359a1f,_0xd0a952)=>{const _0x20008d=_0x1b25ef;_0xd0a952||this[_0x20008d(0x222)](null);}),this[_0x1b25ef(0x20b)](_0x5680aa,_0x1b25ef(0x1e2),(_0x386d29,_0x27aae8)=>{const _0x491879=_0x1b25ef;this[_0x491879(0x1fb)](_0x27aae8),_0x27aae8===this[_0x491879(0x225)]&&this[_0x491879(0x222)](null);}),this[_0x1b25ef(0x20b)](_0x44ccf5,_0x1b25ef(0x1f5),(_0x2857e1,_0x34a228,_0x358441,_0x534cb0)=>{const _0x4671b1=_0x1b25ef;_0x534cb0&&this[_0x4671b1(0x235)](_0x534cb0);const _0x170c1f=_0x5680aa[_0x4671b1(0x21f)](_0x358441);_0x358441&&_0x170c1f&&(this[_0x4671b1(0x20b)](_0x358441,_0x4671b1(0x221),()=>{const _0x29bf09=_0x4671b1;_0x44ccf5[_0x29bf09(0x214)]();}),this[_0x4671b1(0x20b)](_0x358441,_0x4671b1(0x1e7),()=>{const _0x2b74c4=_0x4671b1;this[_0x2b74c4(0x230)](_0x170c1f),this[_0x2b74c4(0x23b)][_0x2b74c4(0x21d)][_0x2b74c4(0x1f2)][_0x2b74c4(0x201)]();}),this[_0x4671b1(0x225)]!==_0x170c1f&&this[_0x4671b1(0x222)](_0x170c1f));}),this[_0x1b25ef(0x20b)](this[_0x1b25ef(0x23b)]['ui'],_0x1b25ef(0x215),()=>{const _0x5296d5=_0x1b25ef;_0x44ccf5[_0x5296d5(0x1e6)]&&(_0x5680aa[_0x5296d5(0x21f)](_0x44ccf5[_0x5296d5(0x1e6)])&&_0x44ccf5[_0x5296d5(0x214)]());}),this[_0x1b25ef(0x20b)](this[_0x1b25ef(0x23b)][_0x1b25ef(0x21d)][_0x1b25ef(0x1f2)][_0x1b25ef(0x1e8)],_0x1b25ef(0x1ec),()=>{const _0x43e7ee=_0x1b25ef;this[_0x43e7ee(0x23d)]=!0x0,this[_0x43e7ee(0x1f6)][_0x43e7ee(0x217)]();}),this[_0x1b25ef(0x23b)][_0x1b25ef(0x21d)][_0x1b25ef(0x1f2)][_0x1b25ef(0x1e8)][_0x1b25ef(0x218)][_0x1b25ef(0x202)]&&this[_0x1b25ef(0x23b)][_0x1b25ef(0x21d)][_0x1b25ef(0x1f2)][_0x1b25ef(0x201)](),this[_0x1b25ef(0x1f8)]=!0x0;}[_0x26ad32(0x1e5)](){const _0x1c5ee3=_0x26ad32;if(!this[_0x1c5ee3(0x1f8)])throw new _0x4dd959(_0x1c5ee3(0x239),this);this[_0x1c5ee3(0x222)](null);for(const _0x7570ce of this[_0x1c5ee3(0x22d)])this[_0x1c5ee3(0x1fb)](_0x7570ce);this[_0x1c5ee3(0x235)](),this[_0x1c5ee3(0x1f8)]=!0x1,this[_0x1c5ee3(0x1f9)]=null;}[_0x26ad32(0x236)](){const _0x1a209a=_0x26ad32;this[_0x1a209a(0x1f8)]&&this[_0x1a209a(0x1e5)]();}[_0x26ad32(0x206)](_0x2902b3){const _0x154fde=_0x26ad32;for(const _0x1b0782 of this[_0x154fde(0x21c)])_0x2902b3[_0x154fde(0x1ef)](_0x1b0782)||this[_0x154fde(0x1f6)][_0x154fde(0x1ff)](_0x1b0782);for(const _0x3087b5 of this[_0x154fde(0x1f9)])_0x2902b3[_0x154fde(0x1ef)](_0x3087b5)||this[_0x154fde(0x1fb)](_0x3087b5);if(this[_0x154fde(0x23b)]['ui'][_0x154fde(0x237)][_0x154fde(0x22e)]){for(const _0x5294e7 of _0x2902b3)this[_0x154fde(0x204)](_0x5294e7);}this[_0x154fde(0x21c)]=_0x2902b3;}[_0x26ad32(0x204)](_0x3a1901,_0x36a5bb=!0x1){const _0x6c863f=_0x26ad32;this[_0x6c863f(0x1f6)][_0x6c863f(0x228)](_0x3a1901)||(this[_0x6c863f(0x22d)][_0x6c863f(0x228)](_0x3a1901)||this[_0x6c863f(0x1f7)][_0x6c863f(0x1fa)](_0x3a1901[_0x6c863f(0x1f2)])||(this[_0x6c863f(0x22d)][_0x6c863f(0x1e4)](_0x3a1901),this[_0x6c863f(0x1f7)][_0x6c863f(0x1e4)]({'stackId':_0x3a1901[_0x6c863f(0x1f2)]['id'],'view':_0x3a1901[_0x6c863f(0x1f2)],'position':{'target':()=>this[_0x6c863f(0x240)](_0x3a1901)}})),_0x36a5bb&&this[_0x6c863f(0x1f7)][_0x6c863f(0x212)](_0x3a1901[_0x6c863f(0x1f2)]['id']));}[_0x26ad32(0x240)](_0xaffb58){const _0x353f67=_0x26ad32,_0x35bb8d=_0xaffb58[_0x353f67(0x1fd)],_0x878eb5=this[_0x353f67(0x23b)][_0x353f67(0x21d)][_0x353f67(0x1f2)],_0x28b935=_0x878eb5[_0x353f67(0x1e8)][_0x353f67(0x218)][_0x353f67(0x20e)](),_0x2a4aeb=_0x878eb5[_0x353f67(0x207)][_0x353f67(0x1fe)](_0x28b935);if(_0x2a4aeb[_0x353f67(0x1ea)](!0x0),_0x35bb8d){if(_0x35bb8d instanceof _0x38cf98)return _0x35bb8d;let _0x1cd323=[];for(const _0x49caf of _0x35bb8d)_0x1cd323[_0x353f67(0x203)](...(_0x40711d=_0x49caf[_0x353f67(0x20c)](),Array[_0x353f67(0x1e3)](_0x40711d)[_0x353f67(0x20a)](DOMRect[_0x353f67(0x234)])));_0x1cd323=function(_0x53d36e){const _0x103a7d=_0x353f67,_0x430aea=[];let _0x10d900=_0x53d36e[0x0];for(let _0x2da115=0x1;_0x2da115<_0x53d36e[_0x103a7d(0x1f4)];_0x2da115++)F(_0x10d900,_0x53d36e[_0x2da115])?_0x10d900[_0x103a7d(0x213)]+=_0x53d36e[_0x2da115][_0x103a7d(0x213)]:(_0x430aea[_0x103a7d(0x203)](_0x10d900),_0x10d900=_0x53d36e[_0x2da115]);return _0x430aea[_0x103a7d(0x203)](_0x10d900),_0x430aea;}(_0x1cd323);const _0x1d3071=_0x2a4aeb[_0x353f67(0x20d)]();return _0x1cd323[_0x353f67(0x223)](_0x5ed8a8=>_0x5ed8a8[_0x353f67(0x200)]<=_0x1d3071[_0x353f67(0x200)]&&_0x5ed8a8[_0x353f67(0x243)]>=_0x1d3071[_0x353f67(0x243)]&&_0x5ed8a8[_0x353f67(0x224)]<=_0x1d3071[_0x353f67(0x224)]&&_0x5ed8a8[_0x353f67(0x23f)]>=_0x1d3071[_0x353f67(0x23f)])||_0x1cd323[0x0];}var _0x40711d;return _0xaffb58[_0x353f67(0x1ee)]||_0x2a4aeb;}[_0x26ad32(0x1fb)](_0x52e8ba){const _0x5b7fe7=_0x26ad32;this[_0x5b7fe7(0x22d)][_0x5b7fe7(0x228)](_0x52e8ba)&&this[_0x5b7fe7(0x1f7)][_0x5b7fe7(0x1fa)](_0x52e8ba[_0x5b7fe7(0x1f2)])&&(this[_0x5b7fe7(0x22d)][_0x5b7fe7(0x1ff)](_0x52e8ba),this[_0x5b7fe7(0x1f7)][_0x5b7fe7(0x1e2)](_0x52e8ba[_0x5b7fe7(0x1f2)]));}[_0x26ad32(0x230)](_0x4e6a6d){const _0xfd1261=_0x26ad32;this[_0xfd1261(0x1f6)][_0xfd1261(0x1e4)](_0x4e6a6d),this[_0xfd1261(0x1fb)](_0x4e6a6d);}}function F(_0x2a75c,_0x1154ca){const _0x7dcc22=_0x26ad32;return _0x2a75c[_0x7dcc22(0x200)]===_0x1154ca[_0x7dcc22(0x200)]&&_0x2a75c[_0x7dcc22(0x243)]===_0x1154ca[_0x7dcc22(0x243)]&&_0x2a75c[_0x7dcc22(0x23f)]===_0x1154ca[_0x7dcc22(0x224)];}
|
|
23
|
+
function _0x2cf9(_0x3d93ac,_0x3e5c2c){const _0x44b21e=_0x44b2();return _0x2cf9=function(_0x2cf9fd,_0x4147b3){_0x2cf9fd=_0x2cf9fd-0x1ca;let _0x106928=_0x44b21e[_0x2cf9fd];return _0x106928;},_0x2cf9(_0x3d93ac,_0x3e5c2c);}const _0x3b4f08=_0x2cf9;(function(_0x5485e2,_0x440026){const _0x46ca6a=_0x2cf9,_0x3a65f5=_0x5485e2();while(!![]){try{const _0xd758d9=parseInt(_0x46ca6a(0x211))/0x1*(parseInt(_0x46ca6a(0x215))/0x2)+parseInt(_0x46ca6a(0x202))/0x3*(parseInt(_0x46ca6a(0x221))/0x4)+parseInt(_0x46ca6a(0x1e3))/0x5*(parseInt(_0x46ca6a(0x222))/0x6)+parseInt(_0x46ca6a(0x1e2))/0x7+parseInt(_0x46ca6a(0x1d3))/0x8+parseInt(_0x46ca6a(0x1f3))/0x9*(parseInt(_0x46ca6a(0x1f7))/0xa)+parseInt(_0x46ca6a(0x1f0))/0xb*(-parseInt(_0x46ca6a(0x21a))/0xc);if(_0xd758d9===_0x440026)break;else _0x3a65f5['push'](_0x3a65f5['shift']());}catch(_0x1a910e){_0x3a65f5['push'](_0x3a65f5['shift']());}}}(_0x44b2,0xb9b3b));import{Plugin as _0x125c97}from'ckeditor5/src/core.js';import _0x25d99d from'./annotationsuis.js';import _0x41043d from'./editorannotations.js';import{ContextualBalloon as _0x2644d6}from'ckeditor5/src/ui.js';import{MouseObserver as _0x349086}from'ckeditor5/src/engine.js';import{CKEditorError as _0x56cf41,Rect as _0x4a4ce1}from'ckeditor5/src/utils.js';function _0x44b2(){const _0x3cf15e=['editableElement','bottom','document','right','getClientRects','8163162zzVKwZ','22210NXXkQe','getOrderedSelectedAnnotations','focusTracker','blur','top','delete','add','selection','editor','hasView','updatePosition','requires','left','2996444BxGwpO','afterInit','view','17019znWhQy','detach','width','editing','670znEgSj','inlineannotations-detach-not-attached','set','every','Esc','_forceRefresh','_closeAnnotation','addObserver','domConverter','change:visibleView','update','3675UScOkU','push','annotations','getByView','fromRect','destroy','activeAnnotation','isAttached','getBoundingClientRect','hasActive','stopListening','context','includes','_addAnnotationToBalloon','change:isFocused','3494WTsvFv','init','plugins','focus','246eTWqYt','inline','find','showStack','register','84ltpUZc','listenTo','pluginName','visibleView','_manuallyClosed','switchTo','_addedAnnotations','428jMfCJs','954NwTaOd','_selectedAnnotations','_setSelectedAnnotations','_getBalloonTargetForAnnotation','has','isActive','change:height','setActiveAnnotation','inlineannotations-not-allowed-with-context','InlineAnnotations','refresh','_balloon','_removeAnnotationFromBalloon','isFocused','attach','remove','mousedown','clear','viewRangeToDom','get','859880tzhmMI','getFirstRange','length','targetRect','target','from','keystrokes','inlineannotations-attach-already-attached','collapse','map'];_0x44b2=function(){return _0x3cf15e;};return _0x44b2();}import'./../../theme/annotation-inline.css';export default class c extends _0x125c97{static get[_0x3b4f08(0x1ee)](){return[_0x41043d,_0x2644d6,_0x25d99d];}static get[_0x3b4f08(0x21c)](){const _0x4d9702=_0x3b4f08;return _0x4d9702(0x22b);}constructor(_0x5713fa){const _0x243fc6=_0x3b4f08;super(_0x5713fa),_0x5713fa[_0x243fc6(0x1f6)][_0x243fc6(0x1f2)][_0x243fc6(0x1fe)](_0x349086),this[_0x243fc6(0x209)]=!0x1,this[_0x243fc6(0x1f9)](_0x243fc6(0x208),null),this[_0x243fc6(0x204)]=null,this[_0x243fc6(0x21e)]=new Set(),this[_0x243fc6(0x1ca)]=_0x5713fa[_0x243fc6(0x213)][_0x243fc6(0x1d2)](_0x2644d6),this[_0x243fc6(0x220)]=new Set(),this[_0x243fc6(0x223)]=[],this[_0x243fc6(0x1fc)]=!0x1;}[_0x3b4f08(0x212)](){const _0x675fb0=_0x3b4f08,_0x3c928c=this[_0x675fb0(0x1eb)][_0x675fb0(0x213)][_0x675fb0(0x1d2)](_0x25d99d);_0x3c928c[_0x675fb0(0x20d)]===this[_0x675fb0(0x1eb)]&&(_0x3c928c[_0x675fb0(0x219)](_0x675fb0(0x216),this),this[_0x675fb0(0x1eb)][_0x675fb0(0x1d9)][_0x675fb0(0x1f9)](_0x675fb0(0x1fb),(_0x4cd3e9,_0xbb3284)=>{const _0x58cc57=_0x675fb0,_0x9d8f6c=this[_0x58cc57(0x1ca)];if(this[_0x58cc57(0x209)]&&_0x9d8f6c[_0x58cc57(0x21d)]){const _0x4a367f=this[_0x58cc57(0x204)][_0x58cc57(0x205)](_0x9d8f6c[_0x58cc57(0x21d)]);_0x4a367f&&this[_0x58cc57(0x1fd)](_0x4a367f),_0xbb3284();}}));}[_0x3b4f08(0x1f1)](){const _0x38e278=_0x3b4f08,_0x2159d5=this[_0x38e278(0x1eb)][_0x38e278(0x213)][_0x38e278(0x1d2)](_0x25d99d);_0x2159d5[_0x38e278(0x20d)]===this[_0x38e278(0x1eb)]&&(_0x2159d5[_0x38e278(0x20b)]()||_0x2159d5[_0x38e278(0x21f)](_0x38e278(0x216)));}[_0x3b4f08(0x229)](_0x447ff7){const _0x23bbef=_0x3b4f08;_0x447ff7!==this[_0x23bbef(0x208)]&&(this[_0x23bbef(0x208)]&&(this[_0x23bbef(0x208)][_0x23bbef(0x227)]=!0x1),_0x447ff7&&this[_0x23bbef(0x1eb)]['ui'][_0x23bbef(0x1e5)][_0x23bbef(0x1cc)]&&(this[_0x23bbef(0x204)][_0x23bbef(0x226)](_0x447ff7)&&this[_0x23bbef(0x20f)](_0x447ff7,!0x0),_0x447ff7[_0x23bbef(0x227)]=!0x0),_0x447ff7||this[_0x23bbef(0x224)]([]),this[_0x23bbef(0x208)]=_0x447ff7);}[_0x3b4f08(0x1cd)](_0x588ee7){const _0x480963=_0x3b4f08;this[_0x480963(0x204)]=_0x588ee7;const _0x1657ee=this[_0x480963(0x1eb)][_0x480963(0x213)][_0x480963(0x1d2)](_0x25d99d),_0x472ea9=this[_0x480963(0x1ca)];if(this[_0x480963(0x209)])throw new _0x56cf41(_0x480963(0x1da),this);if(_0x1657ee[_0x480963(0x20d)]!==this[_0x480963(0x1eb)])throw new _0x56cf41(_0x480963(0x22a),this);const _0x35d29e=this[_0x480963(0x1eb)][_0x480963(0x213)][_0x480963(0x1d2)](_0x41043d);this[_0x480963(0x21b)](_0x35d29e,_0x480963(0x22c),()=>{const _0x12d4c8=_0x480963,_0x343e47=_0x35d29e[_0x12d4c8(0x1e4)]({'annotations':this[_0x12d4c8(0x204)],'activeAnnotation':this[_0x12d4c8(0x208)]});var _0x1ee45e,_0x515b4c;!this[_0x12d4c8(0x1fc)]&&(_0x1ee45e=_0x343e47,_0x515b4c=this[_0x12d4c8(0x223)],_0x1ee45e[_0x12d4c8(0x1d5)]===_0x515b4c[_0x12d4c8(0x1d5)]&&_0x1ee45e[_0x12d4c8(0x1fa)](_0x12d526=>_0x515b4c[_0x12d4c8(0x20e)](_0x12d526)))||(this[_0x12d4c8(0x1fc)]=!0x1,this[_0x12d4c8(0x224)](_0x343e47),this[_0x12d4c8(0x229)](_0x343e47[0x0]||null));}),this[_0x480963(0x21b)](_0x35d29e,_0x480963(0x1e6),(_0x1824e9,{isAnnotationTracked:_0x228146})=>{const _0x1998fa=_0x480963;this[_0x1998fa(0x208)]&&_0x228146(this[_0x1998fa(0x208)])&&(this[_0x1998fa(0x224)]([]),this[_0x1998fa(0x229)](null));}),this[_0x480963(0x21b)](this[_0x480963(0x1eb)]['ui'][_0x480963(0x1e5)],_0x480963(0x210),(_0x9297b2,_0x1e6fe1,_0x5dd674)=>{const _0x2fb094=_0x480963;_0x5dd674||this[_0x2fb094(0x229)](null);}),this[_0x480963(0x21b)](_0x588ee7,_0x480963(0x1ce),(_0x39bddd,_0x7d7049)=>{const _0x5d59cd=_0x480963;this[_0x5d59cd(0x1cb)](_0x7d7049),_0x7d7049===this[_0x5d59cd(0x208)]&&this[_0x5d59cd(0x229)](null);}),this[_0x480963(0x21b)](_0x472ea9,_0x480963(0x200),(_0x35a390,_0x33f94d,_0x469e59,_0x5c8537)=>{const _0x28d83d=_0x480963;_0x5c8537&&this[_0x28d83d(0x20c)](_0x5c8537);const _0x3c915d=_0x588ee7[_0x28d83d(0x205)](_0x469e59);_0x469e59&&_0x3c915d&&(this[_0x28d83d(0x21b)](_0x469e59,_0x28d83d(0x228),()=>{const _0x3fce7f=_0x28d83d;_0x472ea9[_0x3fce7f(0x1ed)]();}),this[_0x28d83d(0x21b)](_0x469e59,_0x28d83d(0x1fb),()=>{const _0x28901e=_0x28d83d;this[_0x28901e(0x1fd)](_0x3c915d),this[_0x28901e(0x1eb)][_0x28901e(0x1f6)][_0x28901e(0x1f2)][_0x28901e(0x214)]();}),this[_0x28d83d(0x208)]!==_0x3c915d&&this[_0x28d83d(0x229)](_0x3c915d));}),this[_0x480963(0x21b)](this[_0x480963(0x1eb)]['ui'],_0x480963(0x201),()=>{const _0x24012b=_0x480963;_0x472ea9[_0x24012b(0x21d)]&&(_0x588ee7[_0x24012b(0x205)](_0x472ea9[_0x24012b(0x21d)])&&_0x472ea9[_0x24012b(0x1ed)]());}),this[_0x480963(0x21b)](this[_0x480963(0x1eb)][_0x480963(0x1f6)][_0x480963(0x1f2)][_0x480963(0x1df)],_0x480963(0x1cf),()=>{const _0x119928=_0x480963;this[_0x119928(0x1fc)]=!0x0,this[_0x119928(0x21e)][_0x119928(0x1d0)]();}),this[_0x480963(0x1eb)][_0x480963(0x1f6)][_0x480963(0x1f2)][_0x480963(0x1df)][_0x480963(0x1ea)][_0x480963(0x1dd)]&&this[_0x480963(0x1eb)][_0x480963(0x1f6)][_0x480963(0x1f2)][_0x480963(0x214)](),this[_0x480963(0x209)]=!0x0;}[_0x3b4f08(0x1f4)](){const _0x1bf8d3=_0x3b4f08;if(!this[_0x1bf8d3(0x209)])throw new _0x56cf41(_0x1bf8d3(0x1f8),this);this[_0x1bf8d3(0x229)](null);for(const _0x27ff9e of this[_0x1bf8d3(0x220)])this[_0x1bf8d3(0x1cb)](_0x27ff9e);this[_0x1bf8d3(0x20c)](),this[_0x1bf8d3(0x209)]=!0x1,this[_0x1bf8d3(0x204)]=null;}[_0x3b4f08(0x207)](){const _0x224a65=_0x3b4f08;this[_0x224a65(0x209)]&&this[_0x224a65(0x1f4)]();}[_0x3b4f08(0x224)](_0x4d4de8){const _0x10260f=_0x3b4f08;for(const _0x13616d of this[_0x10260f(0x223)])_0x4d4de8[_0x10260f(0x20e)](_0x13616d)||this[_0x10260f(0x21e)][_0x10260f(0x1e8)](_0x13616d);for(const _0x37c45b of this[_0x10260f(0x204)])_0x4d4de8[_0x10260f(0x20e)](_0x37c45b)||this[_0x10260f(0x1cb)](_0x37c45b);if(this[_0x10260f(0x1eb)]['ui'][_0x10260f(0x1e5)][_0x10260f(0x1cc)]){for(const _0x4ecd3d of _0x4d4de8)this[_0x10260f(0x20f)](_0x4ecd3d);}this[_0x10260f(0x223)]=_0x4d4de8;}[_0x3b4f08(0x20f)](_0x83cfa3,_0x4f7f9d=!0x1){const _0x1ff60a=_0x3b4f08;this[_0x1ff60a(0x21e)][_0x1ff60a(0x226)](_0x83cfa3)||(this[_0x1ff60a(0x220)][_0x1ff60a(0x226)](_0x83cfa3)||this[_0x1ff60a(0x1ca)][_0x1ff60a(0x1ec)](_0x83cfa3[_0x1ff60a(0x1f2)])||(this[_0x1ff60a(0x220)][_0x1ff60a(0x1e9)](_0x83cfa3),this[_0x1ff60a(0x1ca)][_0x1ff60a(0x1e9)]({'stackId':_0x83cfa3[_0x1ff60a(0x1f2)]['id'],'view':_0x83cfa3[_0x1ff60a(0x1f2)],'position':{'target':()=>this[_0x1ff60a(0x225)](_0x83cfa3)}})),_0x4f7f9d&&this[_0x1ff60a(0x1ca)][_0x1ff60a(0x218)](_0x83cfa3[_0x1ff60a(0x1f2)]['id']));}[_0x3b4f08(0x225)](_0x1f6eb9){const _0x374882=_0x3b4f08,_0x3cb395=_0x1f6eb9[_0x374882(0x1d7)],_0x32cd72=this[_0x374882(0x1eb)][_0x374882(0x1f6)][_0x374882(0x1f2)],_0x5ad849=_0x32cd72[_0x374882(0x1df)][_0x374882(0x1ea)][_0x374882(0x1d4)](),_0x324a5e=_0x32cd72[_0x374882(0x1ff)][_0x374882(0x1d1)](_0x5ad849);if(_0x324a5e[_0x374882(0x1db)](!0x0),_0x3cb395){if(_0x3cb395 instanceof _0x4a4ce1)return _0x3cb395;let _0x320771=[];for(const _0x408ba6 of _0x3cb395)_0x320771[_0x374882(0x203)](...(_0x179933=_0x408ba6[_0x374882(0x1e1)](),Array[_0x374882(0x1d8)](_0x179933)[_0x374882(0x1dc)](DOMRect[_0x374882(0x206)])));_0x320771=function(_0x3f3b43){const _0x3753ef=_0x374882,_0x1757a1=[];let _0x26228c=_0x3f3b43[0x0];for(let _0x4dd128=0x1;_0x4dd128<_0x3f3b43[_0x3753ef(0x1d5)];_0x4dd128++)E(_0x26228c,_0x3f3b43[_0x4dd128])?_0x26228c[_0x3753ef(0x1f5)]+=_0x3f3b43[_0x4dd128][_0x3753ef(0x1f5)]:(_0x1757a1[_0x3753ef(0x203)](_0x26228c),_0x26228c=_0x3f3b43[_0x4dd128]);return _0x1757a1[_0x3753ef(0x203)](_0x26228c),_0x1757a1;}(_0x320771);const _0x14e561=_0x324a5e[_0x374882(0x20a)]();return _0x320771[_0x374882(0x217)](_0x582834=>_0x582834[_0x374882(0x1e7)]<=_0x14e561[_0x374882(0x1e7)]&&_0x582834[_0x374882(0x1de)]>=_0x14e561[_0x374882(0x1de)]&&_0x582834[_0x374882(0x1ef)]<=_0x14e561[_0x374882(0x1ef)]&&_0x582834[_0x374882(0x1e0)]>=_0x14e561[_0x374882(0x1e0)])||_0x320771[0x0];}var _0x179933;return _0x1f6eb9[_0x374882(0x1d6)]||_0x324a5e;}[_0x3b4f08(0x1cb)](_0x175db3){const _0x1621d6=_0x3b4f08;this[_0x1621d6(0x220)][_0x1621d6(0x226)](_0x175db3)&&this[_0x1621d6(0x1ca)][_0x1621d6(0x1ec)](_0x175db3[_0x1621d6(0x1f2)])&&(this[_0x1621d6(0x220)][_0x1621d6(0x1e8)](_0x175db3),this[_0x1621d6(0x1ca)][_0x1621d6(0x1ce)](_0x175db3[_0x1621d6(0x1f2)]));}[_0x3b4f08(0x1fd)](_0x5ca481){const _0x5eda47=_0x3b4f08;this[_0x5eda47(0x21e)][_0x5eda47(0x1e9)](_0x5ca481),this[_0x5eda47(0x1cb)](_0x5ca481);}}function E(_0x9f7fdb,_0x22ffa6){const _0x218db3=_0x3b4f08;return _0x9f7fdb[_0x218db3(0x1e7)]===_0x22ffa6[_0x218db3(0x1e7)]&&_0x9f7fdb[_0x218db3(0x1de)]===_0x22ffa6[_0x218db3(0x1de)]&&_0x9f7fdb[_0x218db3(0x1e0)]===_0x22ffa6[_0x218db3(0x1ef)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1e2494=_0x270d;(function(_0x5ea909,_0x3c1ade){const _0x1f2f41=_0x270d,_0x351cba=_0x5ea909();while(!![]){try{const _0x4847c3=-parseInt(_0x1f2f41(0x1ba))/0x1+-parseInt(_0x1f2f41(0x206))/0x2*(parseInt(_0x1f2f41(0x1c4))/0x3)+parseInt(_0x1f2f41(0x1d1))/0x4*(parseInt(_0x1f2f41(0x1ff))/0x5)+-parseInt(_0x1f2f41(0x1f7))/0x6*(-parseInt(_0x1f2f41(0x1ae))/0x7)+-parseInt(_0x1f2f41(0x20f))/0x8*(-parseInt(_0x1f2f41(0x1f3))/0x9)+parseInt(_0x1f2f41(0x1a0))/0xa*(-parseInt(_0x1f2f41(0x1c7))/0xb)+parseInt(_0x1f2f41(0x1a2))/0xc*(parseInt(_0x1f2f41(0x20c))/0xd);if(_0x4847c3===_0x3c1ade)break;else _0x351cba['push'](_0x351cba['shift']());}catch(_0xa5f1d8){_0x351cba['push'](_0x351cba['shift']());}}}(_0x5088,0x779da));import{ContextPlugin as _0x1cdffc,Context as _0x243c8f}from'ckeditor5/src/core.js';import _0x188961 from'./annotationsuis.js';function _0x270d(_0x347bfb,_0x461fc3){const _0x5088d9=_0x5088();return _0x270d=function(_0x270d1b,_0x1b1ddd){_0x270d1b=_0x270d1b-0x19d;let _0x23163e=_0x5088d9[_0x270d1b];return _0x23163e;},_0x270d(_0x347bfb,_0x461fc3);}function _0x5088(){const _0x47b2f7=['NarrowSidebar','isAttached','refresh','high','861kMhaQr','annotationType','content','6197147KRIKjx','cancel','_destroyEditorAnnotationsIntegration','addEventListener','getByView','activeAnnotation','Esc','context','plugins','focus','1118564mddHCQ','_detachFromContainer','resize','_annotationToNarrowView','getOrderedSelectedAnnotations','_showBalloon','setActiveAnnotation','first','preventDefault','from','keydown','pluginName','_selectedAnnotations','get','_domEmitter','element','values','bodyCollection','_updateBalloonPosition','has','target','listenTo','change:container','stop','_refreshPositioning','register','narrowsidebar-detach-not-attached','_hideBalloon','destroy','northArrowSouthEast','keyCode','change:height','add','editors','58185yqkzyt','focusableElements','northArrowSouth','annotations','24lwrvxw','blur','detachFromDom','hasDomSelection','removeEventListener','attachToDom','requires','unpin','5JZczrc','_integrateWithEditorAnnotations','EditorAnnotations','init','mousedown','clear','preventClosingBalloon','3250mKIaPW','southArrowNorth','low','_detachListeners','number','narrowsidebar-attach-already-attached','13XzZlbI','includes','southArrowNorthWest','696HfVxIC','southArrowNorthEast','create','isVisible','_attachToContainer','set:container','esc','_setSelectedAnnotations','ready','rearrange','execute','contains','locale','refreshPositioning','10dJHMuU','detach','7548564FEDmgW','northArrowSouthWest','ck-sidebar--narrow','uiUpdate','narrowSidebar','balloonPanelView','bind','isDirty','stopPropagation','_attachListeners','defaultPositions','pin','886284YwgFXG','view','set','find','off','_refreshPositioningDebounced','delete','getSidebarItemView','addAnnotation','_annotations','attach','type','457893tcPwhC','stopListening','remove','_manuallyClosedAnnotationViews','_editorAnnotations','length'];_0x5088=function(){return _0x47b2f7;};return _0x5088();}import _0x2f35c5 from'./sidebar.js';import _0x11c5e8 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x1d74af,BodyCollection as _0x3ee0b3}from'ckeditor5/src/ui.js';import{CKEditorError as _0x50c40e,DomEmitterMixin as _0xf2dd54,keyCodes as _0x2b6db1,Collection as _0xe014ab}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x1884f5}from'lodash-es';export default class i extends _0x1cdffc{static get[_0x1e2494(0x1fd)](){return[_0x2f35c5,_0x188961];}static get[_0x1e2494(0x1dc)](){const _0x464a3c=_0x1e2494;return _0x464a3c(0x1c0);}constructor(_0x45ecc8){const _0x1cbe46=_0x1e2494;super(_0x45ecc8),this[_0x1cbe46(0x1c1)]=!0x1,this[_0x1cbe46(0x1bd)]=new Set(),this[_0x1cbe46(0x1df)]=Object[_0x1cbe46(0x211)](_0xf2dd54),this[_0x1cbe46(0x1d4)]=new Map(),this[_0x1cbe46(0x1b0)](_0x1cbe46(0x1cc),null),this[_0x1cbe46(0x1f6)]=null,this[_0x1cbe46(0x1dd)]=[],this[_0x1cbe46(0x1be)]=new _0xe014ab(),this[_0x1cbe46(0x1b3)]=_0x1884f5(()=>{const _0x1f01a4=_0x1cbe46;this[_0x1f01a4(0x1e9)]();},0xfa,{'leading':!0x1});}[_0x1e2494(0x202)](){const _0x4b67f8=_0x1e2494;this[_0x4b67f8(0x1ce)][_0x4b67f8(0x1cf)][_0x4b67f8(0x1de)](_0x188961)[_0x4b67f8(0x1ea)](_0x4b67f8(0x1a6),this),this[_0x4b67f8(0x1e2)]=new _0x3ee0b3(this[_0x4b67f8(0x1ce)][_0x4b67f8(0x19e)]),this[_0x4b67f8(0x1a7)]=new _0x1d74af(this[_0x4b67f8(0x1ce)][_0x4b67f8(0x19e)]),this[_0x4b67f8(0x1e2)][_0x4b67f8(0x1fc)](),this[_0x4b67f8(0x1e2)][_0x4b67f8(0x1f1)](this[_0x4b67f8(0x1a7)]);}[_0x1e2494(0x1b8)](_0x545643){const _0x1c0bca=_0x1e2494;this[_0x1c0bca(0x1f6)]=_0x545643;const _0x11d874=this[_0x1c0bca(0x1ce)][_0x1c0bca(0x1cf)][_0x1c0bca(0x1de)](_0x2f35c5),_0x5da811=this[_0x1c0bca(0x1a7)];if(_0x11d874[_0x1c0bca(0x1b7)]=_0x545643,this[_0x1c0bca(0x1c1)])throw new _0x50c40e(_0x1c0bca(0x20b),this);this[_0x1c0bca(0x1c1)]=!0x0,this[_0x1c0bca(0x1e6)](_0x11d874,_0x1c0bca(0x214),()=>{const _0x43ce0a=_0x1c0bca;this[_0x43ce0a(0x1a1)](),this[_0x43ce0a(0x1e6)](_0x11d874,_0x43ce0a(0x1e7),_0x906b37=>{const _0xf2db92=_0x43ce0a;_0x906b37[_0xf2db92(0x1b2)](),this[_0xf2db92(0x1b8)](_0x545643);});}),_0x11d874[_0x1c0bca(0x213)]({'viewClass':_0x1c0bca(0x1a4),'spaceBetweenItems':0x5});const _0xda5e79=_0x5f2403=>{const _0xd7c049=_0x1c0bca,_0x5d37ac=new _0x11c5e8(this[_0xd7c049(0x1ce)][_0xd7c049(0x19e)]);_0x11d874[_0xd7c049(0x1b6)](_0x5f2403,_0x5d37ac),this[_0xd7c049(0x1d4)][_0xd7c049(0x1b0)](_0x5f2403,_0x5d37ac),_0x5d37ac[_0xd7c049(0x1a8)](_0xd7c049(0x1a9),_0xd7c049(0x1c5),_0xd7c049(0x20a))['to'](_0x5f2403[_0xd7c049(0x1af)],_0xd7c049(0x1a9),_0xd7c049(0x1b9),_0xd7c049(0x1bf)),_0x5d37ac['on'](_0xd7c049(0x219),()=>{const _0x2086fd=_0xd7c049;this[_0x2086fd(0x1bd)][_0x2086fd(0x204)](),_0x5da811[_0x2086fd(0x1c6)][_0x2086fd(0x1d8)]!==_0x5f2403[_0x2086fd(0x1af)]?(this[_0x2086fd(0x1d6)](_0x5f2403),_0x5f2403[_0x2086fd(0x1af)][_0x2086fd(0x1e0)][_0x2086fd(0x1d0)](),this[_0x2086fd(0x1d7)](_0x5f2403)):this[_0x2086fd(0x1d7)](null);});};for(const _0x378cc6 of _0x545643)_0xda5e79(_0x378cc6);this[_0x1c0bca(0x1e6)](_0x545643,_0x1c0bca(0x1f1),(_0x1ec5bc,_0x176703)=>{_0xda5e79(_0x176703);}),this[_0x1c0bca(0x1e6)](_0x545643,_0x1c0bca(0x1bc),(_0x5d84d7,_0x4d4da5,_0x2c9d53)=>{const _0x4287b9=_0x1c0bca;this[_0x4287b9(0x1d4)][_0x4287b9(0x1de)](_0x4d4da5)[_0x4287b9(0x1ed)](),this[_0x4287b9(0x1d4)][_0x4287b9(0x1b4)](_0x4d4da5),_0x11d874[_0x4287b9(0x218)]({'removedAnnotation':_0x4d4da5,'previousAnnotation':_0x545643[_0x4287b9(0x1de)](_0x2c9d53-0x1),'nextAnnotation':_0x545643[_0x4287b9(0x1de)](_0x2c9d53+0x1)}),_0x4d4da5===this[_0x4287b9(0x1cc)]&&this[_0x4287b9(0x1d7)](null);},{'priority':_0x1c0bca(0x208)}),this[_0x1c0bca(0x1e6)](_0x545643,_0x1c0bca(0x1d0),(_0xcb8eb8,_0x2ba990)=>{const _0xbec86c=_0x1c0bca;this[_0xbec86c(0x1d7)](_0x2ba990);}),this[_0x1c0bca(0x1e6)](_0x545643,_0x1c0bca(0x1f8),()=>{const _0x4c0de5=_0x1c0bca;this[_0x4c0de5(0x1d7)](null);}),this[_0x1c0bca(0x1df)][_0x1c0bca(0x1e6)](document,_0x1c0bca(0x1db),(_0x24f44a,_0x2d5930)=>{const _0x463566=_0x1c0bca;_0x2d5930[_0x463566(0x1ef)]===_0x2b6db1[_0x463566(0x215)]&&_0x5da811[_0x463566(0x212)]&&(this[_0x463566(0x1bd)][_0x463566(0x1f1)](_0x5da811[_0x463566(0x1c6)][_0x463566(0x1d8)]),this[_0x463566(0x1ec)](),_0x2d5930[_0x463566(0x1aa)](),_0x2d5930[_0x463566(0x1d9)]());}),this[_0x1c0bca(0x1df)][_0x1c0bca(0x1e6)](document,_0x1c0bca(0x203),(_0x3e14cc,_0x501653)=>{const _0x207769=_0x1c0bca,_0x1fc127=_0x501653[_0x207769(0x1e5)];_0x5da811[_0x207769(0x212)]&&_0x5da811[_0x207769(0x1e0)][_0x207769(0x19d)](_0x1fc127)||_0x11d874[_0x207769(0x1af)][_0x207769(0x1e0)][_0x207769(0x19d)](_0x1fc127)||_0x3e14cc[_0x207769(0x205)]||this[_0x207769(0x1cc)]&&this[_0x207769(0x1cc)][_0x207769(0x1f4)][_0x207769(0x1b1)](_0x3a8108=>_0x3a8108[_0x207769(0x19d)](_0x1fc127))||(this[_0x207769(0x1bd)][_0x207769(0x204)](),this[_0x207769(0x1ec)](),this[_0x207769(0x1d7)](null));});const _0x9b2018=this[_0x1c0bca(0x1ce)]instanceof _0x243c8f?this[_0x1c0bca(0x1ce)][_0x1c0bca(0x1f2)]:new _0xe014ab([this[_0x1c0bca(0x1ce)]]);for(const _0x10d8c4 of _0x9b2018)this[_0x1c0bca(0x200)](_0x10d8c4);this[_0x1c0bca(0x1e6)](_0x9b2018,_0x1c0bca(0x1f1),(_0x506652,_0x976e48)=>{const _0x34df6e=_0x1c0bca;this[_0x34df6e(0x1e6)](_0x976e48,_0x34df6e(0x217),()=>{const _0x3c223d=_0x34df6e;this[_0x3c223d(0x200)](_0x976e48);});}),this[_0x1c0bca(0x1e6)](_0x9b2018,_0x1c0bca(0x1bc),(_0x59f4e2,_0x3cab7c)=>{const _0x1f633c=_0x1c0bca;_0x3cab7c[_0x1f633c(0x1cf)][_0x1f633c(0x1e4)](_0x1f633c(0x201))&&this[_0x1f633c(0x1c9)](_0x3cab7c[_0x1f633c(0x1cf)][_0x1f633c(0x1de)](_0x1f633c(0x201)));}),window[_0x1c0bca(0x1ca)](_0x1c0bca(0x1d3),this[_0x1c0bca(0x1b3)]),this[_0x1c0bca(0x1e9)]();}[_0x1e2494(0x1d7)](_0x5cc096){const _0x54e736=_0x1e2494;if(_0x5cc096===this[_0x54e736(0x1cc)])return;const _0x1d2835=this[_0x54e736(0x1ce)][_0x54e736(0x1cf)][_0x54e736(0x1de)](_0x2f35c5);if(_0x1d2835[_0x54e736(0x1c2)]({'blurredAnnotation':this[_0x54e736(0x1cc)],'activatedAnnotation':_0x5cc096,'disableAnimationOnActivatedAnnotation':!0x0}),_0x5cc096)_0x1d2835[_0x54e736(0x1b5)](_0x5cc096)?this[_0x54e736(0x1d6)](_0x5cc096):this[_0x54e736(0x1ec)]();else this[_0x54e736(0x1ec)]();this[_0x54e736(0x1cc)]=_0x5cc096;}[_0x1e2494(0x1a1)](){const _0x28e44d=_0x1e2494;if(!this[_0x28e44d(0x1c1)])throw new _0x50c40e(_0x28e44d(0x1eb),this);this[_0x28e44d(0x1d7)](null);const _0x3e5d68=this[_0x28e44d(0x1ce)][_0x28e44d(0x1cf)][_0x28e44d(0x1de)](_0x2f35c5);this[_0x28e44d(0x1ec)](),Array[_0x28e44d(0x1da)](this[_0x28e44d(0x1d4)][_0x28e44d(0x1e1)](),_0xf9d685=>_0xf9d685[_0x28e44d(0x1ed)]()),this[_0x28e44d(0x1d4)][_0x28e44d(0x204)](),_0x3e5d68[_0x28e44d(0x1d2)](this[_0x28e44d(0x1f6)]),this[_0x28e44d(0x1bb)](),this[_0x28e44d(0x1df)][_0x28e44d(0x1bb)](),this[_0x28e44d(0x1ce)]instanceof _0x243c8f&&this[_0x28e44d(0x1bb)](this[_0x28e44d(0x1ce)][_0x28e44d(0x1f2)]);for(const _0x56e0fd of Array[_0x28e44d(0x1da)](this[_0x28e44d(0x1be)]))this[_0x28e44d(0x1c9)](_0x56e0fd);window[_0x28e44d(0x1fb)](_0x28e44d(0x1d3),this[_0x28e44d(0x1b3)]),this[_0x28e44d(0x1b3)][_0x28e44d(0x1c8)](),this[_0x28e44d(0x1dd)]=[],this[_0x28e44d(0x1c1)]=!0x1,this[_0x28e44d(0x1f6)]=null;}[_0x1e2494(0x1ed)](){const _0x8302a4=_0x1e2494;this[_0x8302a4(0x1c1)]&&this[_0x8302a4(0x1a1)](),this[_0x8302a4(0x1e2)][_0x8302a4(0x1f9)]();}[_0x1e2494(0x200)](_0x356f3c){const _0x4b0708=_0x1e2494;if(!_0x356f3c[_0x4b0708(0x1cf)][_0x4b0708(0x1e4)](_0x4b0708(0x201)))return;const _0x77f9ef=_0x356f3c[_0x4b0708(0x1cf)][_0x4b0708(0x1de)](_0x4b0708(0x201)),_0x2eb5e1=this[_0x4b0708(0x1ce)][_0x4b0708(0x1cf)][_0x4b0708(0x1de)](_0x2f35c5),_0x555694=this[_0x4b0708(0x1f6)],_0x4f25cb=this[_0x4b0708(0x1a7)],_0x1149a8=()=>{const _0x2399bf=_0x4b0708,_0x3646f5=_0x77f9ef[_0x2399bf(0x1d5)]({'annotations':this[_0x2399bf(0x1f6)],'activeAnnotation':this[_0x2399bf(0x1cc)]});this[_0x2399bf(0x216)](_0x3646f5),this[_0x2399bf(0x1d7)](_0x3646f5[0x0]||null);};this[_0x4b0708(0x1e6)](_0x77f9ef,_0x4b0708(0x1c2),_0x1149a8),this[_0x4b0708(0x1e6)](_0x77f9ef,_0x4b0708(0x1f8),(_0x1ea807,{isAnnotationTracked:_0x279790})=>{const _0x23371b=_0x4b0708;this[_0x23371b(0x1cc)]&&_0x279790(this[_0x23371b(0x1cc)])&&(this[_0x23371b(0x216)]([]),this[_0x23371b(0x1d7)](null));}),this[_0x4b0708(0x1e6)](_0x77f9ef,_0x4b0708(0x1a5),()=>{const _0x1935ba=_0x4b0708;this[_0x1935ba(0x1b3)]();}),this[_0x4b0708(0x1e6)](_0x555694,_0x4b0708(0x1f8),_0x524c0e=>{const _0x29a349=_0x4b0708;_0x77f9ef[_0x29a349(0x1fa)]()&&_0x524c0e[_0x29a349(0x1e8)]();},{'priority':_0x4b0708(0x1c3)}),this[_0x4b0708(0x1e6)](this[_0x4b0708(0x1df)],_0x4b0708(0x203),(_0x348b83,_0x1a513f)=>{const _0x1fd559=_0x4b0708,_0x199b14=_0x1a513f[_0x1fd559(0x1e5)];_0x4f25cb[_0x1fd559(0x212)]&&_0x4f25cb[_0x1fd559(0x1e0)][_0x1fd559(0x19d)](_0x199b14)||_0x2eb5e1[_0x1fd559(0x1af)][_0x1fd559(0x1e0)][_0x1fd559(0x19d)](_0x199b14)||this[_0x1fd559(0x1cc)]&&_0x77f9ef[_0x1fd559(0x1fa)]()&&(_0x1149a8(),_0x348b83[_0x1fd559(0x205)]=!0x0);},{'priority':_0x4b0708(0x1c3)}),this[_0x4b0708(0x1be)][_0x4b0708(0x1f1)](_0x77f9ef);}[_0x1e2494(0x1c9)](_0x202c2b){const _0x215a9f=_0x1e2494;_0x202c2b&&(this[_0x215a9f(0x1bb)](_0x202c2b),this[_0x215a9f(0x1be)][_0x215a9f(0x1bc)](_0x202c2b));}[_0x1e2494(0x216)](_0x4fd19f){const _0xef49ed=_0x1e2494;for(const _0x127273 of this[_0xef49ed(0x1dd)])_0x4fd19f[_0xef49ed(0x20d)](_0x127273)||this[_0xef49ed(0x1bd)][_0xef49ed(0x1b4)](_0x127273[_0xef49ed(0x1af)]);this[_0xef49ed(0x1dd)]=_0x4fd19f;}[_0x1e2494(0x1e9)](){const _0x2dea60=_0x1e2494,_0x23b11f=this[_0x2dea60(0x1a7)];this[_0x2dea60(0x1f6)][_0x2dea60(0x19f)](),_0x23b11f[_0x2dea60(0x212)]&&this[_0x2dea60(0x1e3)]();}[_0x1e2494(0x1d6)](_0x15039a){const _0x2d42ae=_0x1e2494;if(this[_0x2d42ae(0x1bd)][_0x2d42ae(0x1e4)](_0x15039a[_0x2d42ae(0x1af)]))return;const _0x217afc=this[_0x2d42ae(0x1a7)][_0x2d42ae(0x1c6)][_0x2d42ae(0x1d8)];_0x217afc!==_0x15039a[_0x2d42ae(0x1af)]?(_0x217afc&&this[_0x2d42ae(0x209)](_0x217afc),this[_0x2d42ae(0x1ab)](_0x15039a[_0x2d42ae(0x1af)]),this[_0x2d42ae(0x1a7)][_0x2d42ae(0x1c6)][_0x2d42ae(0x204)](),this[_0x2d42ae(0x1a7)][_0x2d42ae(0x1c6)][_0x2d42ae(0x1f1)](_0x15039a[_0x2d42ae(0x1af)]),this[_0x2d42ae(0x1e3)]()):this[_0x2d42ae(0x1e3)]();}[_0x1e2494(0x1e3)](){const _0xa70a83=_0x1e2494,_0x5ea2f2=this[_0xa70a83(0x1a7)][_0xa70a83(0x1c6)][_0xa70a83(0x1d8)],_0x5af7cf=_0x5ea2f2&&this[_0xa70a83(0x1f6)][_0xa70a83(0x1cb)](_0x5ea2f2);if(!_0x5af7cf||!this[_0xa70a83(0x1d4)][_0xa70a83(0x1e4)](_0x5af7cf))return;const _0x1557a0=this[_0xa70a83(0x1d4)][_0xa70a83(0x1de)](_0x5af7cf)[_0xa70a83(0x1e0)],_0x46aa8f=(function(){const _0x55840e=_0xa70a83,_0x509688=_0x1d74af[_0x55840e(0x1ac)];return[_0x509688[_0x55840e(0x210)],_0x509688[_0x55840e(0x1ee)],_0x509688[_0x55840e(0x207)],_0x509688[_0x55840e(0x1f5)],_0x509688[_0x55840e(0x20e)],_0x509688[_0x55840e(0x1a3)]];}());this[_0xa70a83(0x1a7)][_0xa70a83(0x1ad)]({'target':_0x1557a0,'positions':_0x46aa8f});}[_0x1e2494(0x1ec)](){const _0x3dca13=_0x1e2494,_0x3366bd=this[_0x3dca13(0x1a7)],_0x98cd58=_0x3366bd[_0x3dca13(0x1c6)][_0x3dca13(0x1d8)];_0x98cd58&&(this[_0x3dca13(0x209)](_0x98cd58),_0x3366bd[_0x3dca13(0x1fe)](),_0x3366bd[_0x3dca13(0x1c6)][_0x3dca13(0x204)]());}[_0x1e2494(0x1ab)](_0x10413c){const _0x1521bb=_0x1e2494;this[_0x1521bb(0x1e6)](_0x10413c,_0x1521bb(0x1f0),()=>this[_0x1521bb(0x1e3)]()),this[_0x1521bb(0x1e6)](_0x10413c,_0x1521bb(0x1cd),(_0x13c16f,_0x461fd6)=>{const _0x468ec4=_0x1521bb;this[_0x468ec4(0x1bd)][_0x468ec4(0x1f1)](_0x10413c),this[_0x468ec4(0x1ec)](),_0x461fd6();});}[_0x1e2494(0x209)](_0x16ec0b){const _0x4b78ab=_0x1e2494;this[_0x4b78ab(0x1bb)](_0x16ec0b);}}
|
|
23
|
+
const _0x1506db=_0x1d9b;(function(_0x439061,_0x24d235){const _0x5b4065=_0x1d9b,_0x56d263=_0x439061();while(!![]){try{const _0x547fd9=-parseInt(_0x5b4065(0x12b))/0x1+-parseInt(_0x5b4065(0xeb))/0x2*(parseInt(_0x5b4065(0xe9))/0x3)+-parseInt(_0x5b4065(0x13a))/0x4*(-parseInt(_0x5b4065(0x101))/0x5)+parseInt(_0x5b4065(0xe7))/0x6*(parseInt(_0x5b4065(0xf6))/0x7)+parseInt(_0x5b4065(0x132))/0x8*(parseInt(_0x5b4065(0x145))/0x9)+parseInt(_0x5b4065(0x147))/0xa+-parseInt(_0x5b4065(0x106))/0xb;if(_0x547fd9===_0x24d235)break;else _0x56d263['push'](_0x56d263['shift']());}catch(_0x3c772f){_0x56d263['push'](_0x56d263['shift']());}}}(_0x5421,0x92529));import{ContextPlugin as _0x446de8,Context as _0x37b76c}from'ckeditor5/src/core.js';import _0x583e2a from'./annotationsuis.js';function _0x1d9b(_0x2c8cf5,_0x40adfb){const _0x54219d=_0x5421();return _0x1d9b=function(_0x1d9b4d,_0x4923df){_0x1d9b4d=_0x1d9b4d-0xdb;let _0x232414=_0x54219d[_0x1d9b4d];return _0x232414;},_0x1d9b(_0x2c8cf5,_0x40adfb);}import _0x12cf2f from'./sidebar.js';import _0x92f39d from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x53c0ec,BodyCollection as _0x4e4cea}from'ckeditor5/src/ui.js';function _0x5421(){const _0x4de24e=['narrowsidebar-detach-not-attached','set','focus','removeEventListener','2606692UrQKiy','type','length','values','_setSelectedAnnotations','create','unpin','refresh','get','rearrange','southArrowNorthEast','537111MZESES','preventDefault','4214000iHUqDm','editors','first','getByView','getOrderedSelectedAnnotations','_refreshPositioningDebounced','change:container','hasDomSelection','init','northArrowSouthEast','_hideBalloon','blur','cancel','isDirty','refreshPositioning','defaultPositions','pluginName','_annotationToNarrowView','addEventListener','_annotations','resize','add','set:container','number','_refreshPositioning','ready','isAttached','114zSeCoN','contains','15aJjAkx','register','195724YSgQUP','focusableElements','_manuallyClosedAnnotationViews','requires','preventClosingBalloon','off','southArrowNorthWest','southArrowNorth','_updateBalloonPosition','setActiveAnnotation','clear','401779TYUDMJ','change:height','uiUpdate','EditorAnnotations','ck-sidebar--narrow','northArrowSouth','detach','find','context','_attachListeners','high','5zNsHTo','mousedown','keydown','narrowSidebar','addAnnotation','18703256YXQdIw','locale','destroy','view','attachToDom','activeAnnotation','attach','annotationType','Esc','stop','_domEmitter','has','delete','_editorAnnotations','_attachToContainer','_destroyEditorAnnotationsIntegration','includes','stopPropagation','keyCode','northArrowSouthWest','_integrateWithEditorAnnotations','plugins','_detachFromContainer','pin','annotations','listenTo','detachFromDom','balloonPanelView','bind','NarrowSidebar','_selectedAnnotations','isVisible','esc','low','from','bodyCollection','narrowsidebar-attach-already-attached','90821CqqwMw','getSidebarItemView','target','_showBalloon','_detachListeners','remove','execute','96XgEIwA','content','element','stopListening'];_0x5421=function(){return _0x4de24e;};return _0x5421();}import{CKEditorError as _0x4676e5,DomEmitterMixin as _0x4aeacb,keyCodes as _0x345aa1,Collection as _0x38935b}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x19565c}from'lodash-es';export default class i extends _0x446de8{static get[_0x1506db(0xee)](){return[_0x12cf2f,_0x583e2a];}static get[_0x1506db(0xdc)](){const _0x1abd66=_0x1506db;return _0x1abd66(0x123);}constructor(_0x39b475){const _0x3f5734=_0x1506db;super(_0x39b475),this[_0x3f5734(0xe6)]=!0x1,this[_0x3f5734(0xed)]=new Set(),this[_0x3f5734(0x110)]=Object[_0x3f5734(0x13f)](_0x4aeacb),this[_0x3f5734(0xdd)]=new Map(),this[_0x3f5734(0x137)](_0x3f5734(0x10b),null),this[_0x3f5734(0x11e)]=null,this[_0x3f5734(0x124)]=[],this[_0x3f5734(0x113)]=new _0x38935b(),this[_0x3f5734(0x14c)]=_0x19565c(()=>{const _0x4f8fd8=_0x3f5734;this[_0x4f8fd8(0xe4)]();},0xfa,{'leading':!0x1});}[_0x1506db(0x14f)](){const _0x39c709=_0x1506db;this[_0x39c709(0xfe)][_0x39c709(0x11b)][_0x39c709(0x142)](_0x583e2a)[_0x39c709(0xea)](_0x39c709(0x104),this),this[_0x39c709(0x129)]=new _0x4e4cea(this[_0x39c709(0xfe)][_0x39c709(0x107)]),this[_0x39c709(0x121)]=new _0x53c0ec(this[_0x39c709(0xfe)][_0x39c709(0x107)]),this[_0x39c709(0x129)][_0x39c709(0x10a)](),this[_0x39c709(0x129)][_0x39c709(0xe1)](this[_0x39c709(0x121)]);}[_0x1506db(0x10c)](_0x15e2a9){const _0xd4862b=_0x1506db;this[_0xd4862b(0x11e)]=_0x15e2a9;const _0x22d4ab=this[_0xd4862b(0xfe)][_0xd4862b(0x11b)][_0xd4862b(0x142)](_0x12cf2f),_0x588849=this[_0xd4862b(0x121)];if(_0x22d4ab[_0xd4862b(0xdf)]=_0x15e2a9,this[_0xd4862b(0xe6)])throw new _0x4676e5(_0xd4862b(0x12a),this);this[_0xd4862b(0xe6)]=!0x0,this[_0xd4862b(0x11f)](_0x22d4ab,_0xd4862b(0xe2),()=>{const _0x2177a9=_0xd4862b;this[_0x2177a9(0xfc)](),this[_0x2177a9(0x11f)](_0x22d4ab,_0x2177a9(0x14d),_0x5ecb35=>{const _0x1457aa=_0x2177a9;_0x5ecb35[_0x1457aa(0xf0)](),this[_0x1457aa(0x10c)](_0x15e2a9);});}),_0x22d4ab[_0xd4862b(0x114)]({'viewClass':_0xd4862b(0xfa),'spaceBetweenItems':0x5});const _0x53c89d=_0x1a43dc=>{const _0x5800ca=_0xd4862b,_0x4988cb=new _0x92f39d(this[_0x5800ca(0xfe)][_0x5800ca(0x107)]);_0x22d4ab[_0x5800ca(0x105)](_0x1a43dc,_0x4988cb),this[_0x5800ca(0xdd)][_0x5800ca(0x137)](_0x1a43dc,_0x4988cb),_0x4988cb[_0x5800ca(0x122)](_0x5800ca(0x154),_0x5800ca(0x10d),_0x5800ca(0xe3))['to'](_0x1a43dc[_0x5800ca(0x109)],_0x5800ca(0x154),_0x5800ca(0x13b),_0x5800ca(0x13c)),_0x4988cb['on'](_0x5800ca(0x131),()=>{const _0x3b62d9=_0x5800ca;this[_0x3b62d9(0xed)][_0x3b62d9(0xf5)](),_0x588849[_0x3b62d9(0x133)][_0x3b62d9(0x149)]!==_0x1a43dc[_0x3b62d9(0x109)]?(this[_0x3b62d9(0x12e)](_0x1a43dc),_0x1a43dc[_0x3b62d9(0x109)][_0x3b62d9(0x134)][_0x3b62d9(0x138)](),this[_0x3b62d9(0xf4)](_0x1a43dc)):this[_0x3b62d9(0xf4)](null);});};for(const _0x142d06 of _0x15e2a9)_0x53c89d(_0x142d06);this[_0xd4862b(0x11f)](_0x15e2a9,_0xd4862b(0xe1),(_0x219582,_0x3bcdd1)=>{_0x53c89d(_0x3bcdd1);}),this[_0xd4862b(0x11f)](_0x15e2a9,_0xd4862b(0x130),(_0x55591e,_0x5a4def,_0x4b0a81)=>{const _0x58ca7c=_0xd4862b;this[_0x58ca7c(0xdd)][_0x58ca7c(0x142)](_0x5a4def)[_0x58ca7c(0x108)](),this[_0x58ca7c(0xdd)][_0x58ca7c(0x112)](_0x5a4def),_0x22d4ab[_0x58ca7c(0x143)]({'removedAnnotation':_0x5a4def,'previousAnnotation':_0x15e2a9[_0x58ca7c(0x142)](_0x4b0a81-0x1),'nextAnnotation':_0x15e2a9[_0x58ca7c(0x142)](_0x4b0a81+0x1)}),_0x5a4def===this[_0x58ca7c(0x10b)]&&this[_0x58ca7c(0xf4)](null);},{'priority':_0xd4862b(0x127)}),this[_0xd4862b(0x11f)](_0x15e2a9,_0xd4862b(0x138),(_0x96ade5,_0x224fb7)=>{const _0x3ede97=_0xd4862b;this[_0x3ede97(0xf4)](_0x224fb7);}),this[_0xd4862b(0x11f)](_0x15e2a9,_0xd4862b(0x152),()=>{const _0xe9d6a6=_0xd4862b;this[_0xe9d6a6(0xf4)](null);}),this[_0xd4862b(0x110)][_0xd4862b(0x11f)](document,_0xd4862b(0x103),(_0x58e1c9,_0x272cfe)=>{const _0x36483e=_0xd4862b;_0x272cfe[_0x36483e(0x118)]===_0x345aa1[_0x36483e(0x126)]&&_0x588849[_0x36483e(0x125)]&&(this[_0x36483e(0xed)][_0x36483e(0xe1)](_0x588849[_0x36483e(0x133)][_0x36483e(0x149)]),this[_0x36483e(0x151)](),_0x272cfe[_0x36483e(0x117)](),_0x272cfe[_0x36483e(0x146)]());}),this[_0xd4862b(0x110)][_0xd4862b(0x11f)](document,_0xd4862b(0x102),(_0xfa89c8,_0x1130d)=>{const _0xf56d7=_0xd4862b,_0x148f41=_0x1130d[_0xf56d7(0x12d)];_0x588849[_0xf56d7(0x125)]&&_0x588849[_0xf56d7(0x134)][_0xf56d7(0xe8)](_0x148f41)||_0x22d4ab[_0xf56d7(0x109)][_0xf56d7(0x134)][_0xf56d7(0xe8)](_0x148f41)||_0xfa89c8[_0xf56d7(0xef)]||this[_0xf56d7(0x10b)]&&this[_0xf56d7(0x10b)][_0xf56d7(0xec)][_0xf56d7(0xfd)](_0x311562=>_0x311562[_0xf56d7(0xe8)](_0x148f41))||(this[_0xf56d7(0xed)][_0xf56d7(0xf5)](),this[_0xf56d7(0x151)](),this[_0xf56d7(0xf4)](null));});const _0x41efc0=this[_0xd4862b(0xfe)]instanceof _0x37b76c?this[_0xd4862b(0xfe)][_0xd4862b(0x148)]:new _0x38935b([this[_0xd4862b(0xfe)]]);for(const _0x4ccd47 of _0x41efc0)this[_0xd4862b(0x11a)](_0x4ccd47);this[_0xd4862b(0x11f)](_0x41efc0,_0xd4862b(0xe1),(_0x57a86d,_0xe48c90)=>{const _0x3a57dc=_0xd4862b;this[_0x3a57dc(0x11f)](_0xe48c90,_0x3a57dc(0xe5),()=>{const _0x37c765=_0x3a57dc;this[_0x37c765(0x11a)](_0xe48c90);});}),this[_0xd4862b(0x11f)](_0x41efc0,_0xd4862b(0x130),(_0xec3b9b,_0x4c157b)=>{const _0x144dbb=_0xd4862b;_0x4c157b[_0x144dbb(0x11b)][_0x144dbb(0x111)](_0x144dbb(0xf9))&&this[_0x144dbb(0x115)](_0x4c157b[_0x144dbb(0x11b)][_0x144dbb(0x142)](_0x144dbb(0xf9)));}),window[_0xd4862b(0xde)](_0xd4862b(0xe0),this[_0xd4862b(0x14c)]),this[_0xd4862b(0xe4)]();}[_0x1506db(0xf4)](_0xb71442){const _0x5c7b44=_0x1506db;if(_0xb71442===this[_0x5c7b44(0x10b)])return;const _0x5397a6=this[_0x5c7b44(0xfe)][_0x5c7b44(0x11b)][_0x5c7b44(0x142)](_0x12cf2f);if(_0x5397a6[_0x5c7b44(0x141)]({'blurredAnnotation':this[_0x5c7b44(0x10b)],'activatedAnnotation':_0xb71442,'disableAnimationOnActivatedAnnotation':!0x0}),_0xb71442)_0x5397a6[_0x5c7b44(0x12c)](_0xb71442)?this[_0x5c7b44(0x12e)](_0xb71442):this[_0x5c7b44(0x151)]();else this[_0x5c7b44(0x151)]();this[_0x5c7b44(0x10b)]=_0xb71442;}[_0x1506db(0xfc)](){const _0x23d1e5=_0x1506db;if(!this[_0x23d1e5(0xe6)])throw new _0x4676e5(_0x23d1e5(0x136),this);this[_0x23d1e5(0xf4)](null);const _0x4d80ca=this[_0x23d1e5(0xfe)][_0x23d1e5(0x11b)][_0x23d1e5(0x142)](_0x12cf2f);this[_0x23d1e5(0x151)](),Array[_0x23d1e5(0x128)](this[_0x23d1e5(0xdd)][_0x23d1e5(0x13d)](),_0x345c92=>_0x345c92[_0x23d1e5(0x108)]()),this[_0x23d1e5(0xdd)][_0x23d1e5(0xf5)](),_0x4d80ca[_0x23d1e5(0x11c)](this[_0x23d1e5(0x11e)]),this[_0x23d1e5(0x135)](),this[_0x23d1e5(0x110)][_0x23d1e5(0x135)](),this[_0x23d1e5(0xfe)]instanceof _0x37b76c&&this[_0x23d1e5(0x135)](this[_0x23d1e5(0xfe)][_0x23d1e5(0x148)]);for(const _0x1e2c5d of Array[_0x23d1e5(0x128)](this[_0x23d1e5(0x113)]))this[_0x23d1e5(0x115)](_0x1e2c5d);window[_0x23d1e5(0x139)](_0x23d1e5(0xe0),this[_0x23d1e5(0x14c)]),this[_0x23d1e5(0x14c)][_0x23d1e5(0x153)](),this[_0x23d1e5(0x124)]=[],this[_0x23d1e5(0xe6)]=!0x1,this[_0x23d1e5(0x11e)]=null;}[_0x1506db(0x108)](){const _0x495238=_0x1506db;this[_0x495238(0xe6)]&&this[_0x495238(0xfc)](),this[_0x495238(0x129)][_0x495238(0x120)]();}[_0x1506db(0x11a)](_0x52b6fb){const _0x23e128=_0x1506db;if(!_0x52b6fb[_0x23e128(0x11b)][_0x23e128(0x111)](_0x23e128(0xf9)))return;const _0x477d03=_0x52b6fb[_0x23e128(0x11b)][_0x23e128(0x142)](_0x23e128(0xf9)),_0xaecf8f=this[_0x23e128(0xfe)][_0x23e128(0x11b)][_0x23e128(0x142)](_0x12cf2f),_0x414dfe=this[_0x23e128(0x11e)],_0x170901=this[_0x23e128(0x121)],_0x48d563=()=>{const _0xc5149f=_0x23e128,_0x40ff06=_0x477d03[_0xc5149f(0x14b)]({'annotations':this[_0xc5149f(0x11e)],'activeAnnotation':this[_0xc5149f(0x10b)]});this[_0xc5149f(0x13e)](_0x40ff06),this[_0xc5149f(0xf4)](_0x40ff06[0x0]||null);};this[_0x23e128(0x11f)](_0x477d03,_0x23e128(0x141),_0x48d563),this[_0x23e128(0x11f)](_0x477d03,_0x23e128(0x152),(_0x5c1690,{isAnnotationTracked:_0xdad937})=>{const _0x5ce36d=_0x23e128;this[_0x5ce36d(0x10b)]&&_0xdad937(this[_0x5ce36d(0x10b)])&&(this[_0x5ce36d(0x13e)]([]),this[_0x5ce36d(0xf4)](null));}),this[_0x23e128(0x11f)](_0x477d03,_0x23e128(0xf8),()=>{const _0x37e9de=_0x23e128;this[_0x37e9de(0x14c)]();}),this[_0x23e128(0x11f)](_0x414dfe,_0x23e128(0x152),_0x418f96=>{const _0x141889=_0x23e128;_0x477d03[_0x141889(0x14e)]()&&_0x418f96[_0x141889(0x10f)]();},{'priority':_0x23e128(0x100)}),this[_0x23e128(0x11f)](this[_0x23e128(0x110)],_0x23e128(0x102),(_0x5bb970,_0x68f4e5)=>{const _0x18a9ae=_0x23e128,_0x57960c=_0x68f4e5[_0x18a9ae(0x12d)];_0x170901[_0x18a9ae(0x125)]&&_0x170901[_0x18a9ae(0x134)][_0x18a9ae(0xe8)](_0x57960c)||_0xaecf8f[_0x18a9ae(0x109)][_0x18a9ae(0x134)][_0x18a9ae(0xe8)](_0x57960c)||this[_0x18a9ae(0x10b)]&&_0x477d03[_0x18a9ae(0x14e)]()&&(_0x48d563(),_0x5bb970[_0x18a9ae(0xef)]=!0x0);},{'priority':_0x23e128(0x100)}),this[_0x23e128(0x113)][_0x23e128(0xe1)](_0x477d03);}[_0x1506db(0x115)](_0x576f8a){const _0x9608e2=_0x1506db;_0x576f8a&&(this[_0x9608e2(0x135)](_0x576f8a),this[_0x9608e2(0x113)][_0x9608e2(0x130)](_0x576f8a));}[_0x1506db(0x13e)](_0x5715fa){const _0x4eda97=_0x1506db;for(const _0x223683 of this[_0x4eda97(0x124)])_0x5715fa[_0x4eda97(0x116)](_0x223683)||this[_0x4eda97(0xed)][_0x4eda97(0x112)](_0x223683[_0x4eda97(0x109)]);this[_0x4eda97(0x124)]=_0x5715fa;}[_0x1506db(0xe4)](){const _0xd6d18d=_0x1506db,_0x174608=this[_0xd6d18d(0x121)];this[_0xd6d18d(0x11e)][_0xd6d18d(0x155)](),_0x174608[_0xd6d18d(0x125)]&&this[_0xd6d18d(0xf3)]();}[_0x1506db(0x12e)](_0xce57b1){const _0x190dc1=_0x1506db;if(this[_0x190dc1(0xed)][_0x190dc1(0x111)](_0xce57b1[_0x190dc1(0x109)]))return;const _0x731e00=this[_0x190dc1(0x121)][_0x190dc1(0x133)][_0x190dc1(0x149)];_0x731e00!==_0xce57b1[_0x190dc1(0x109)]?(_0x731e00&&this[_0x190dc1(0x12f)](_0x731e00),this[_0x190dc1(0xff)](_0xce57b1[_0x190dc1(0x109)]),this[_0x190dc1(0x121)][_0x190dc1(0x133)][_0x190dc1(0xf5)](),this[_0x190dc1(0x121)][_0x190dc1(0x133)][_0x190dc1(0xe1)](_0xce57b1[_0x190dc1(0x109)]),this[_0x190dc1(0xf3)]()):this[_0x190dc1(0xf3)]();}[_0x1506db(0xf3)](){const _0x6e6e2e=_0x1506db,_0x2c8b11=this[_0x6e6e2e(0x121)][_0x6e6e2e(0x133)][_0x6e6e2e(0x149)],_0x2ab731=_0x2c8b11&&this[_0x6e6e2e(0x11e)][_0x6e6e2e(0x14a)](_0x2c8b11);if(!_0x2ab731||!this[_0x6e6e2e(0xdd)][_0x6e6e2e(0x111)](_0x2ab731))return;const _0x5754dd=this[_0x6e6e2e(0xdd)][_0x6e6e2e(0x142)](_0x2ab731)[_0x6e6e2e(0x134)],_0x3a3604=(function(){const _0xd423b4=_0x6e6e2e,_0x46b35a=_0x53c0ec[_0xd423b4(0xdb)];return[_0x46b35a[_0xd423b4(0x144)],_0x46b35a[_0xd423b4(0x150)],_0x46b35a[_0xd423b4(0xf2)],_0x46b35a[_0xd423b4(0xfb)],_0x46b35a[_0xd423b4(0xf1)],_0x46b35a[_0xd423b4(0x119)]];}());this[_0x6e6e2e(0x121)][_0x6e6e2e(0x11d)]({'target':_0x5754dd,'positions':_0x3a3604});}[_0x1506db(0x151)](){const _0x2b2323=_0x1506db,_0x12e67d=this[_0x2b2323(0x121)],_0x5ab0e8=_0x12e67d[_0x2b2323(0x133)][_0x2b2323(0x149)];_0x5ab0e8&&(this[_0x2b2323(0x12f)](_0x5ab0e8),_0x12e67d[_0x2b2323(0x140)](),_0x12e67d[_0x2b2323(0x133)][_0x2b2323(0xf5)]());}[_0x1506db(0xff)](_0x215f67){const _0xf97821=_0x1506db;this[_0xf97821(0x11f)](_0x215f67,_0xf97821(0xf7),()=>this[_0xf97821(0xf3)]()),this[_0xf97821(0x11f)](_0x215f67,_0xf97821(0x10e),(_0x39fdaf,_0x25c3e8)=>{const _0x3971f3=_0xf97821;this[_0x3971f3(0xed)][_0x3971f3(0xe1)](_0x215f67),this[_0x3971f3(0x151)](),_0x25c3e8();});}[_0x1506db(0x12f)](_0x268319){const _0x3adeac=_0x1506db;this[_0x3adeac(0x135)](_0x268319);}}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
9
|
import { ContextPlugin, type Context, type Editor } from 'ckeditor5/src/core.js';
|
|
10
|
-
import type {
|
|
10
|
+
import type { FocusableView } from 'ckeditor5/src/ui.js';
|
|
11
11
|
import SidebarView from './view/sidebarview.js';
|
|
12
12
|
import SidebarItemView from './view/sidebaritemview.js';
|
|
13
13
|
import type Annotation from './annotation.js';
|
|
@@ -88,7 +88,7 @@ export default class Sidebar extends ContextPlugin {
|
|
|
88
88
|
* By default, annotation's view will be displayed in the sidebar. However, you can provide any other view
|
|
89
89
|
* to be displayed instead using `annotationToDisplay`. `annotation` will be then used only to gather data needed by `Sidebar`.
|
|
90
90
|
*/
|
|
91
|
-
addAnnotation(annotation: Annotation, viewToDisplay?:
|
|
91
|
+
addAnnotation(annotation: Annotation, viewToDisplay?: FocusableView): SidebarItemView;
|
|
92
92
|
/**
|
|
93
93
|
* Returns sidebar item view that wraps given annotation view.
|
|
94
94
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4122d6=_0x4200;(function(_0x485f8c,_0x5a9c01){const _0x3f05e2=_0x4200,_0x555546=_0x485f8c();while(!![]){try{const _0x3e2528=-parseInt(_0x3f05e2(0x16b))/0x1*(-parseInt(_0x3f05e2(0x157))/0x2)+-parseInt(_0x3f05e2(0x17b))/0x3*(parseInt(_0x3f05e2(0x13a))/0x4)+-parseInt(_0x3f05e2(0x176))/0x5+-parseInt(_0x3f05e2(0x139))/0x6*(-parseInt(_0x3f05e2(0x17e))/0x7)+parseInt(_0x3f05e2(0x147))/0x8+parseInt(_0x3f05e2(0x132))/0x9*(-parseInt(_0x3f05e2(0x13c))/0xa)+parseInt(_0x3f05e2(0x162))/0xb;if(_0x3e2528===_0x5a9c01)break;else _0x555546['push'](_0x555546['shift']());}catch(_0x814910){_0x555546['push'](_0x555546['shift']());}}}(_0x3b32,0x33094));import{ContextPlugin as _0x4e38d9}from'ckeditor5/src/core.js';import{Rect as _0x50a6a2,CKEditorError as _0x1f4b89}from'ckeditor5/src/utils.js';import _0x23c666 from'./view/sidebarview.js';import _0x1154c6 from'./view/sidebaritemview.js';export default class z extends _0x4e38d9{static get[_0x4122d6(0x12e)](){const _0x2e7618=_0x4122d6;return _0x2e7618(0x133);}constructor(_0x8bb4a1){const _0x2fde89=_0x4122d6;super(_0x8bb4a1),this[_0x2fde89(0x12c)](_0x2fde89(0x13d),void 0x0),this[_0x2fde89(0x15a)]=this[_0x2fde89(0x170)](),this[_0x2fde89(0x12c)](_0x2fde89(0x171),null),this[_0x2fde89(0x140)]=0x19,this[_0x2fde89(0x15b)]=new Map(),this[_0x2fde89(0x16c)]=new Map(),this[_0x2fde89(0x163)][_0x2fde89(0x166)][_0x2fde89(0x17c)](_0x2fde89(0x12b),!0x1),this[_0x2fde89(0x145)]=null,this[_0x2fde89(0x13f)]=null,this[_0x2fde89(0x12a)]=[];}[_0x4122d6(0x156)](){const _0xe7b6f4=_0x4122d6,_0xae8c63=this[_0xe7b6f4(0x163)][_0xe7b6f4(0x166)][_0xe7b6f4(0x14e)](_0xe7b6f4(0x154));_0xae8c63&&this[_0xe7b6f4(0x161)](_0xae8c63);}[_0x4122d6(0x161)](_0x5ca352){const _0x38f7e0=_0x4122d6;if(!y(_0x5ca352))throw new _0x1f4b89(_0x38f7e0(0x16a));this[_0x38f7e0(0x171)]=_0x5ca352;}[_0x4122d6(0x14a)]({viewClass:_0x51d1dc='',spaceBetweenItems:_0x26898d=0x19}={}){const _0x5cc37f=_0x4122d6;if(!y(this[_0x5cc37f(0x171)]))throw new _0x1f4b89(_0x5cc37f(0x141),this);this[_0x5cc37f(0x171)][_0x5cc37f(0x16f)](this[_0x5cc37f(0x15a)][_0x5cc37f(0x135)]),this[_0x5cc37f(0x15a)][_0x5cc37f(0x16e)]=_0x51d1dc,this[_0x5cc37f(0x140)]=_0x26898d;}[_0x4122d6(0x137)]({removedAnnotation:_0x5a29d6,previousAnnotation:_0x528800,nextAnnotation:_0x813801}){const _0x476485=_0x4122d6,_0x8c27c1=this[_0x476485(0x17f)](_0x5a29d6);this[_0x476485(0x15a)][_0x476485(0x15e)][_0x476485(0x14b)](_0x8c27c1),this[_0x476485(0x153)](_0x5a29d6),_0x528800&&this[_0x476485(0x128)](this[_0x476485(0x17f)](_0x528800)),_0x813801&&this[_0x476485(0x128)](this[_0x476485(0x17f)](_0x813801)),this[_0x476485(0x150)]();}[_0x4122d6(0x152)]({blurredAnnotation:_0x202552,activatedAnnotation:_0x11d309,disableAnimationOnActivatedAnnotation:_0x69dd25}){const _0x5ca7d1=_0x4122d6;if(this[_0x5ca7d1(0x13f)]=_0x11d309,_0x202552){_0x202552[_0x5ca7d1(0x12d)]=!0x1;const _0x2f65d8=this[_0x5ca7d1(0x17f)](_0x202552);_0x2f65d8&&_0x69dd25&&(_0x2f65d8[_0x5ca7d1(0x165)]=!0x1);}if(_0x11d309){const _0x56efb0=this[_0x5ca7d1(0x17f)](_0x11d309);_0x56efb0&&(_0x11d309[_0x5ca7d1(0x12d)]=!0x0,_0x69dd25&&(_0x56efb0[_0x5ca7d1(0x165)]=!0x0,_0x56efb0[_0x5ca7d1(0x17a)]+=0x1),this[_0x5ca7d1(0x128)](_0x56efb0));}}[_0x4122d6(0x134)](_0x1e1d17){const _0x1f4de8=_0x4122d6;if(this[_0x1f4de8(0x15a)][_0x1f4de8(0x135)][_0x1f4de8(0x14b)](),_0x1e1d17){for(const _0x33d5f8 of _0x1e1d17)this[_0x1f4de8(0x153)](_0x33d5f8);}this[_0x1f4de8(0x15a)][_0x1f4de8(0x15e)][_0x1f4de8(0x160)](),this[_0x1f4de8(0x15a)][_0x1f4de8(0x16e)]='',this[_0x1f4de8(0x13d)]=null;}[_0x4122d6(0x173)](_0x11f181,_0x4356fe){const _0x2c0f13=_0x4122d6;_0x4356fe||(_0x4356fe=_0x11f181[_0x2c0f13(0x15a)]);const _0x2cdb57=new _0x1154c6(this[_0x2c0f13(0x163)][_0x2c0f13(0x129)]);this[_0x2c0f13(0x15b)][_0x2c0f13(0x12c)](_0x2cdb57,_0x11f181),this[_0x2c0f13(0x16c)][_0x2c0f13(0x12c)](_0x11f181,_0x2cdb57),_0x2cdb57[_0x2c0f13(0x169)][_0x2c0f13(0x13e)](_0x4356fe),this[_0x2c0f13(0x14f)](_0x11f181[_0x2c0f13(0x15a)],_0x2c0f13(0x17d),(_0x29d00d,_0x43eca7,_0x3b8c32)=>{const _0x2706e1=_0x2c0f13,_0x228723=this[_0x2706e1(0x14d)](_0x11f181,_0x3b8c32);_0x2cdb57[_0x2706e1(0x16d)]!=_0x228723&&(_0x2cdb57[_0x2706e1(0x16d)]=_0x228723,this[_0x2706e1(0x167)](_0x2cdb57,_0x228723));}),this[_0x2c0f13(0x14f)](_0x2cdb57,_0x2c0f13(0x158),()=>{const _0x57e37b=_0x2c0f13;this[_0x57e37b(0x130)](_0x2cdb57,_0x57e37b(0x17a));}),this[_0x2c0f13(0x14f)](_0x2cdb57,_0x2c0f13(0x178),()=>{const _0x1339ec=_0x2c0f13;this[_0x1339ec(0x130)](_0x2cdb57,_0x1339ec(0x179));}),this[_0x2c0f13(0x128)](_0x2cdb57);const _0x2ad20e=this[_0x2c0f13(0x12f)](_0x2cdb57);if(_0x2ad20e)this[_0x2c0f13(0x15c)](_0x2ad20e,_0x2cdb57)||this[_0x2c0f13(0x128)](_0x2cdb57);else this[_0x2c0f13(0x128)](_0x2cdb57);return this[_0x2c0f13(0x150)](),this[_0x2c0f13(0x15a)][_0x2c0f13(0x15e)][_0x2c0f13(0x13e)](_0x2cdb57),_0x2cdb57;}[_0x4122d6(0x155)](_0xddadd){const _0x45d6ec=_0x4122d6;if(!_0xddadd[_0x45d6ec(0x169)][_0x45d6ec(0x164)])return;const _0xe8056e=this[_0x45d6ec(0x12f)](_0xddadd);if(!_0xe8056e)return;const _0x501b1a=this[_0x45d6ec(0x15b)][_0x45d6ec(0x14e)](_0xe8056e),_0x5d8b03=this[_0x45d6ec(0x13f)];_0x5d8b03&&_0x5d8b03===_0x501b1a?this[_0x45d6ec(0x15c)](_0xe8056e,_0xddadd):this[_0x45d6ec(0x180)](_0xddadd,_0xe8056e);}[_0x4122d6(0x138)](_0x3a7227){const _0x226284=_0x4122d6;if(!_0x3a7227[_0x226284(0x169)][_0x226284(0x164)])return;const _0x589f5d=this[_0x226284(0x131)](_0x3a7227);if(!_0x589f5d)return;const _0x304564=this[_0x226284(0x15b)][_0x226284(0x14e)](_0x589f5d),_0x70aca6=this[_0x226284(0x163)][_0x226284(0x166)][_0x226284(0x14e)](_0x226284(0x12b)),_0x56ed5e=this[_0x226284(0x13f)];_0x56ed5e&&_0x56ed5e===_0x304564&&_0x70aca6?(this[_0x226284(0x180)](_0x589f5d,_0x3a7227),this[_0x226284(0x15c)](_0x3a7227,_0x589f5d)):_0x56ed5e&&_0x56ed5e===_0x304564?this[_0x226284(0x180)](_0x589f5d,_0x3a7227):this[_0x226284(0x15c)](_0x3a7227,_0x589f5d);}[_0x4122d6(0x130)](_0x2e265b,_0x4c81be){const _0x4a5861=_0x4122d6;0x0===this[_0x4a5861(0x12a)][_0x4a5861(0x164)]&&setTimeout(()=>{const _0x2740ce=_0x4a5861;for(const {sidebarItemView:_0x432096,changedProp:_0xd27ab6}of this[_0x2740ce(0x12a)])_0x2740ce(0x17a)===_0xd27ab6?this[_0x2740ce(0x155)](_0x432096):this[_0x2740ce(0x138)](_0x432096);this[_0x2740ce(0x12a)]=[];},0xa),this[_0x4a5861(0x12a)][_0x4a5861(0x127)]({'sidebarItemView':_0x2e265b,'changedProp':_0x4c81be});}[_0x4122d6(0x17f)](_0x5c2b4a){const _0x3e2eb9=_0x4122d6;return this[_0x3e2eb9(0x16c)][_0x3e2eb9(0x14e)](_0x5c2b4a);}[_0x4122d6(0x14c)](){const _0xf1f30b=_0x4122d6;this[_0xf1f30b(0x177)](),this[_0xf1f30b(0x15a)][_0xf1f30b(0x14c)]();}[_0x4122d6(0x153)](_0x4d0aa0){const _0x56ded8=_0x4122d6,_0x275c13=this[_0x56ded8(0x17f)](_0x4d0aa0);this[_0x56ded8(0x177)](_0x275c13),this[_0x56ded8(0x177)](_0x4d0aa0[_0x56ded8(0x15a)]),_0x275c13[_0x56ded8(0x14c)](),this[_0x56ded8(0x16c)][_0x56ded8(0x172)](_0x4d0aa0),this[_0x56ded8(0x15b)][_0x56ded8(0x172)](_0x275c13);}[_0x4122d6(0x170)](){const _0x3d9b2d=_0x4122d6,_0x1ed30f=new _0x23c666(this[_0x3d9b2d(0x163)][_0x3d9b2d(0x129)]);return _0x1ed30f[_0x3d9b2d(0x144)](),this['on'](_0x3d9b2d(0x149),(_0xac4da4,_0x46edfe,_0x2bc7de,_0xe3a9d4)=>{const _0x9c07a5=_0x3d9b2d;_0xe3a9d4&&_0x1ed30f[_0x9c07a5(0x142)](_0x9c07a5(0x15d)),_0x2bc7de?_0x1ed30f[_0x9c07a5(0x151)](_0x9c07a5(0x15d))['to'](_0x2bc7de,_0x9c07a5(0x179)):_0x1ed30f[_0x9c07a5(0x15d)]=null;}),_0x1ed30f;}[_0x4122d6(0x150)](){const _0x422400=_0x4122d6;var _0x70f048;this[_0x422400(0x13d)]=(null===(_0x70f048=this[_0x422400(0x145)])||void 0x0===_0x70f048?void 0x0:_0x70f048[_0x422400(0x175)])?this[_0x422400(0x17f)](this[_0x422400(0x145)][_0x422400(0x175)]):null;}[_0x4122d6(0x12f)](_0x383687){const _0x47bb8a=_0x4122d6;var _0x2ea44a;const _0xb1f73c=this[_0x47bb8a(0x15b)][_0x47bb8a(0x14e)](_0x383687),_0x1a1dbf=_0xb1f73c&&(null===(_0x2ea44a=this[_0x47bb8a(0x145)])||void 0x0===_0x2ea44a?void 0x0:_0x2ea44a[_0x47bb8a(0x14e)](this[_0x47bb8a(0x145)][_0x47bb8a(0x15f)](_0xb1f73c)-0x1));return _0x1a1dbf&&this[_0x47bb8a(0x17f)](_0x1a1dbf)||null;}[_0x4122d6(0x131)](_0x1df3fc){const _0x4669ae=_0x4122d6;var _0x46ac16;const _0x54e62b=this[_0x4669ae(0x15b)][_0x4669ae(0x14e)](_0x1df3fc),_0x3bde77=_0x54e62b&&(null===(_0x46ac16=this[_0x4669ae(0x145)])||void 0x0===_0x46ac16?void 0x0:_0x46ac16[_0x4669ae(0x14e)](this[_0x4669ae(0x145)][_0x4669ae(0x15f)](_0x54e62b)+0x1));return _0x3bde77&&this[_0x4669ae(0x17f)](_0x3bde77)||null;}[_0x4122d6(0x180)](_0x3093d6,_0xbafa61){const _0x2d2d02=_0x4122d6;_0x3093d6[_0x2d2d02(0x148)]();const _0x26c341=M(_0xbafa61[_0x2d2d02(0x179)]+this[_0x2d2d02(0x140)],_0x3093d6[_0x2d2d02(0x17a)]);return!!_0x26c341&&(this[_0x2d2d02(0x167)](_0xbafa61,_0xbafa61[_0x2d2d02(0x17a)]-_0x26c341),!0x0);}[_0x4122d6(0x15c)](_0x274c3b,_0x65a076){const _0x40813d=_0x4122d6;_0x274c3b[_0x40813d(0x148)]();const _0x71a61a=M(_0x274c3b[_0x40813d(0x179)]+this[_0x40813d(0x140)],_0x65a076[_0x40813d(0x17a)]);return!!_0x71a61a&&(this[_0x40813d(0x167)](_0x65a076,_0x65a076[_0x40813d(0x17a)]+_0x71a61a,!0x1),!0x0);}[_0x4122d6(0x128)](_0x176571){const _0x5f27e0=_0x4122d6,_0x3ba9c3=this[_0x5f27e0(0x15b)][_0x5f27e0(0x14e)](_0x176571);if(!_0x3ba9c3||!_0x3ba9c3[_0x5f27e0(0x146)]||!_0x3ba9c3[_0x5f27e0(0x136)])return;const _0x4d1af1=this[_0x5f27e0(0x14d)](_0x3ba9c3,_0x3ba9c3[_0x5f27e0(0x136)]);this[_0x5f27e0(0x167)](_0x176571,_0x4d1af1);}[_0x4122d6(0x14d)](_0x50d807,_0x25f600){const _0x43301e=_0x4122d6;if(null===_0x25f600)return 0x0;if(_0x50d807[_0x43301e(0x146)]instanceof _0x50a6a2)return _0x25f600[_0x43301e(0x17a)];{const _0x2ace26=new _0x50a6a2(this[_0x43301e(0x15a)][_0x43301e(0x135)])[_0x43301e(0x17a)];return _0x25f600[_0x43301e(0x17a)]-_0x2ace26;}}[_0x4122d6(0x167)](_0x5af1e0,_0x1cb64e,_0x4936e1=this[_0x4122d6(0x163)][_0x4122d6(0x166)][_0x4122d6(0x14e)](_0x4122d6(0x12b))){const _0x5310bc=_0x4122d6;_0x4936e1&&(_0x1cb64e=Math[_0x5310bc(0x174)](_0x1cb64e,this[_0x5310bc(0x168)](_0x5af1e0))),_0x5af1e0[_0x5310bc(0x17a)]=_0x1cb64e;}[_0x4122d6(0x168)](_0x350032){const _0x229f54=_0x4122d6;let _0x4e94eb=this[_0x229f54(0x12f)](_0x350032),_0x222ca5=0x0;for(;_0x4e94eb;)_0x4e94eb[_0x229f54(0x148)](),_0x222ca5+=this[_0x229f54(0x140)]+_0x4e94eb[_0x229f54(0x13b)],_0x4e94eb=this[_0x229f54(0x12f)](_0x4e94eb);return _0x222ca5;}}function M(_0x491373,_0x38a4da){const _0x36bd3c=_0x4122d6;return Math[_0x36bd3c(0x174)](_0x491373-_0x38a4da,0x0);}function _0x4200(_0x386be2,_0x4975e1){const _0x3b3247=_0x3b32();return _0x4200=function(_0x4200c9,_0x1daa76){_0x4200c9=_0x4200c9-0x127;let _0x320266=_0x3b3247[_0x4200c9];return _0x320266;},_0x4200(_0x386be2,_0x4975e1);}function _0x3b32(){const _0x53ce2d=['change:top','object','view','_sidebarItemViewToAnnotation','_alignAfterItem','minHeight','list','getIndex','clear','setContainer','3179880loCZMz','context','length','isAnimationDisabled','config','_setItemTop','_getMaxAvailableTop','content','sidebar-setcontainer-invalid-element','2kvolJt','_annotationToSidebarItemView','_targetTop','class','appendChild','_createSidebarView','container','delete','addAnnotation','max','last','1865635URiDGi','stopListening','change:bottom','bottom','top','28311uAPbcm','define','change:targetRect','789131WKMScE','getSidebarItemView','_alignBeforeItem','push','_alignToTargetRect','locale','_recalculateBuffer','sidebar.preventScrollOutOfView','set','isActive','pluginName','_getItemBefore','_recalculate','_getItemAfter','675yVUTeM','Sidebar','_detachFromContainer','element','targetRect','rearrange','_alignForBottomChange','6TSHkmR','60tVtWtX','height','5470bvpEBg','_lastItem','add','_activeAnnotation','_spaceBetweenItems','sidebar-attachtocontainer-missing-container','unbind','nodeType','render','_annotations','target','943360fvGumy','updateHeight','change:_lastItem','_attachToContainer','remove','destroy','_getTargetTop','get','listenTo','_updateLastItem','bind','refresh','_destroySidebarItemView','sidebar.container','_alignForTopChange','init','245018qteobq'];_0x3b32=function(){return _0x53ce2d;};return _0x3b32();}function y(_0x1bbbd8){const _0xf89e6d=_0x4122d6;return null!==_0x1bbbd8&&_0xf89e6d(0x159)==typeof _0x1bbbd8&&0x1===_0x1bbbd8[_0xf89e6d(0x143)];}
|
|
23
|
+
const _0x4cc62e=_0x5412;(function(_0x459efb,_0x2e9dbd){const _0x2540f3=_0x5412,_0x1f4547=_0x459efb();while(!![]){try{const _0x325bca=-parseInt(_0x2540f3(0x127))/0x1+-parseInt(_0x2540f3(0xf2))/0x2*(-parseInt(_0x2540f3(0xd1))/0x3)+-parseInt(_0x2540f3(0xf4))/0x4*(parseInt(_0x2540f3(0x121))/0x5)+parseInt(_0x2540f3(0xd9))/0x6*(parseInt(_0x2540f3(0xe8))/0x7)+parseInt(_0x2540f3(0x115))/0x8+parseInt(_0x2540f3(0x10a))/0x9*(-parseInt(_0x2540f3(0x11c))/0xa)+parseInt(_0x2540f3(0x101))/0xb*(parseInt(_0x2540f3(0x103))/0xc);if(_0x325bca===_0x2e9dbd)break;else _0x1f4547['push'](_0x1f4547['shift']());}catch(_0x42503f){_0x1f4547['push'](_0x1f4547['shift']());}}}(_0x1749,0x9fd96));import{ContextPlugin as _0x5e2090}from'ckeditor5/src/core.js';import{Rect as _0x3cd1ea,CKEditorError as _0x21e0e8}from'ckeditor5/src/utils.js';function _0x5412(_0x118496,_0x250ccb){const _0x17490c=_0x1749();return _0x5412=function(_0x54124f,_0x3be58a){_0x54124f=_0x54124f-0xcf;let _0x3e8de0=_0x17490c[_0x54124f];return _0x3e8de0;},_0x5412(_0x118496,_0x250ccb);}import _0x51c76f from'./view/sidebarview.js';import _0x52be5c from'./view/sidebaritemview.js';export default class D extends _0x5e2090{static get[_0x4cc62e(0xde)](){const _0x406fbf=_0x4cc62e;return _0x406fbf(0xfe);}constructor(_0x2686de){const _0x126dde=_0x4cc62e;super(_0x2686de),this[_0x126dde(0x126)](_0x126dde(0x129),void 0x0),this[_0x126dde(0xe9)]=this[_0x126dde(0xd8)](),this[_0x126dde(0x126)](_0x126dde(0x11a),null),this[_0x126dde(0xfc)]=0x19,this[_0x126dde(0x125)]=new Map(),this[_0x126dde(0xeb)]=new Map(),this[_0x126dde(0x116)][_0x126dde(0xd0)][_0x126dde(0x11d)](_0x126dde(0xd3),!0x1),this[_0x126dde(0xfa)]=null,this[_0x126dde(0xed)]=null,this[_0x126dde(0x128)]=[];}[_0x4cc62e(0xff)](){const _0x4573ae=_0x4cc62e,_0xd6f45=this[_0x4573ae(0x116)][_0x4573ae(0xd0)][_0x4573ae(0xf9)](_0x4573ae(0xe6));_0xd6f45&&this[_0x4573ae(0xcf)](_0xd6f45);}[_0x4cc62e(0xcf)](_0x3f0547){const _0x2b782a=_0x4cc62e;if(!y(_0x3f0547))throw new _0x21e0e8(_0x2b782a(0x122));this[_0x2b782a(0x11a)]=_0x3f0547;}[_0x4cc62e(0x119)]({viewClass:_0x8b7850='',spaceBetweenItems:_0x2ba5b7=0x19}={}){const _0x329216=_0x4cc62e;if(!y(this[_0x329216(0x11a)]))throw new _0x21e0e8(_0x329216(0xdf),this);this[_0x329216(0x11a)][_0x329216(0xf8)](this[_0x329216(0xe9)][_0x329216(0x106)]),this[_0x329216(0xe9)][_0x329216(0xd2)]=_0x8b7850,this[_0x329216(0xfc)]=_0x2ba5b7;}[_0x4cc62e(0x112)]({removedAnnotation:_0x2e38e4,previousAnnotation:_0x5be96a,nextAnnotation:_0x4d7f13}){const _0x1bb06e=_0x4cc62e,_0x457cbd=this[_0x1bb06e(0xdc)](_0x2e38e4);this[_0x1bb06e(0xe9)][_0x1bb06e(0xf0)][_0x1bb06e(0xec)](_0x457cbd),this[_0x1bb06e(0xe7)](_0x2e38e4),_0x5be96a&&this[_0x1bb06e(0xf6)](this[_0x1bb06e(0xdc)](_0x5be96a)),_0x4d7f13&&this[_0x1bb06e(0xf6)](this[_0x1bb06e(0xdc)](_0x4d7f13)),this[_0x1bb06e(0x110)]();}[_0x4cc62e(0x11f)]({blurredAnnotation:_0x3736ce,activatedAnnotation:_0x3fd36c,disableAnimationOnActivatedAnnotation:_0x49bf25}){const _0x54c754=_0x4cc62e;if(this[_0x54c754(0xed)]=_0x3fd36c,_0x3736ce){_0x3736ce[_0x54c754(0x120)]=!0x1;const _0x554ac9=this[_0x54c754(0xdc)](_0x3736ce);_0x554ac9&&_0x49bf25&&(_0x554ac9[_0x54c754(0x100)]=!0x1);}if(_0x3fd36c){const _0x5bd873=this[_0x54c754(0xdc)](_0x3fd36c);_0x5bd873&&(_0x3fd36c[_0x54c754(0x120)]=!0x0,_0x49bf25&&(_0x5bd873[_0x54c754(0x100)]=!0x0,_0x5bd873[_0x54c754(0xf3)]+=0x1),this[_0x54c754(0xf6)](_0x5bd873));}}[_0x4cc62e(0x111)](_0x3b8890){const _0x2776c0=_0x4cc62e;if(this[_0x2776c0(0xe9)][_0x2776c0(0x106)][_0x2776c0(0xec)](),_0x3b8890){for(const _0x4898a6 of _0x3b8890)this[_0x2776c0(0xe7)](_0x4898a6);}this[_0x2776c0(0xe9)][_0x2776c0(0xf0)][_0x2776c0(0x11b)](),this[_0x2776c0(0xe9)][_0x2776c0(0xd2)]='',this[_0x2776c0(0x129)]=null;}[_0x4cc62e(0xef)](_0x10f16d,_0x14b76b){const _0x547382=_0x4cc62e;_0x14b76b||(_0x14b76b=_0x10f16d[_0x547382(0xe9)]);const _0x139a99=new _0x52be5c(this[_0x547382(0x116)][_0x547382(0xe1)]);this[_0x547382(0x125)][_0x547382(0x126)](_0x139a99,_0x10f16d),this[_0x547382(0xeb)][_0x547382(0x126)](_0x10f16d,_0x139a99),_0x139a99[_0x547382(0xd4)][_0x547382(0x10d)](_0x14b76b),this[_0x547382(0xd6)](_0x10f16d[_0x547382(0xe9)],_0x547382(0xd5),(_0x29a7dd,_0x2fc444,_0x185ce2)=>{const _0x4d7bc3=_0x547382,_0x42a8c8=this[_0x4d7bc3(0x102)](_0x10f16d,_0x185ce2);_0x139a99[_0x4d7bc3(0x124)]!=_0x42a8c8&&(_0x139a99[_0x4d7bc3(0x124)]=_0x42a8c8,this[_0x4d7bc3(0xf1)](_0x139a99,_0x42a8c8));}),this[_0x547382(0xd6)](_0x139a99,_0x547382(0x117),()=>{const _0x3cd8b5=_0x547382;this[_0x3cd8b5(0x10f)](_0x139a99,_0x3cd8b5(0xf3));}),this[_0x547382(0xd6)](_0x139a99,_0x547382(0x104),()=>{const _0x26139f=_0x547382;this[_0x26139f(0x10f)](_0x139a99,_0x26139f(0x123));}),this[_0x547382(0xf6)](_0x139a99);const _0x2aef69=this[_0x547382(0x10c)](_0x139a99);if(_0x2aef69)this[_0x547382(0xee)](_0x2aef69,_0x139a99)||this[_0x547382(0xf6)](_0x139a99);else this[_0x547382(0xf6)](_0x139a99);return this[_0x547382(0x110)](),this[_0x547382(0xe9)][_0x547382(0xf0)][_0x547382(0x10d)](_0x139a99),_0x139a99;}[_0x4cc62e(0xe4)](_0x1b138b){const _0x205c68=_0x4cc62e;if(!_0x1b138b[_0x205c68(0xd4)][_0x205c68(0x105)])return;const _0x3a09dd=this[_0x205c68(0x10c)](_0x1b138b);if(!_0x3a09dd)return;const _0x306d8d=this[_0x205c68(0x125)][_0x205c68(0xf9)](_0x3a09dd),_0x513783=this[_0x205c68(0xed)];_0x513783&&_0x513783===_0x306d8d?this[_0x205c68(0xee)](_0x3a09dd,_0x1b138b):this[_0x205c68(0x113)](_0x1b138b,_0x3a09dd);}[_0x4cc62e(0xe2)](_0x534f01){const _0x3fead3=_0x4cc62e;if(!_0x534f01[_0x3fead3(0xd4)][_0x3fead3(0x105)])return;const _0x5278b3=this[_0x3fead3(0xdd)](_0x534f01);if(!_0x5278b3)return;const _0x502d3f=this[_0x3fead3(0x125)][_0x3fead3(0xf9)](_0x5278b3),_0x11cb35=this[_0x3fead3(0x116)][_0x3fead3(0xd0)][_0x3fead3(0xf9)](_0x3fead3(0xd3)),_0x29a10b=this[_0x3fead3(0xed)];_0x29a10b&&_0x29a10b===_0x502d3f&&_0x11cb35?(this[_0x3fead3(0x113)](_0x5278b3,_0x534f01),this[_0x3fead3(0xee)](_0x534f01,_0x5278b3)):_0x29a10b&&_0x29a10b===_0x502d3f?this[_0x3fead3(0x113)](_0x5278b3,_0x534f01):this[_0x3fead3(0xee)](_0x534f01,_0x5278b3);}[_0x4cc62e(0x10f)](_0x1cab2a,_0x8b41bb){const _0xd95fcd=_0x4cc62e;0x0===this[_0xd95fcd(0x128)][_0xd95fcd(0x105)]&&setTimeout(()=>{const _0x5ea734=_0xd95fcd;for(const {sidebarItemView:_0x56b50b,changedProp:_0x12fe5e}of this[_0x5ea734(0x128)])_0x5ea734(0xf3)===_0x12fe5e?this[_0x5ea734(0xe4)](_0x56b50b):this[_0x5ea734(0xe2)](_0x56b50b);this[_0x5ea734(0x128)]=[];},0xa),this[_0xd95fcd(0x128)][_0xd95fcd(0xd7)]({'sidebarItemView':_0x1cab2a,'changedProp':_0x8b41bb});}[_0x4cc62e(0xdc)](_0x1c1fbd){const _0x4c9442=_0x4cc62e;return this[_0x4c9442(0xeb)][_0x4c9442(0xf9)](_0x1c1fbd);}[_0x4cc62e(0x118)](){const _0x4e5483=_0x4cc62e;this[_0x4e5483(0xe5)](),this[_0x4e5483(0xe9)][_0x4e5483(0x118)]();}[_0x4cc62e(0xe7)](_0x1db8d3){const _0x409e62=_0x4cc62e,_0x1bfc9d=this[_0x409e62(0xdc)](_0x1db8d3);this[_0x409e62(0xe5)](_0x1bfc9d),this[_0x409e62(0xe5)](_0x1db8d3[_0x409e62(0xe9)]),_0x1bfc9d[_0x409e62(0x118)](),this[_0x409e62(0xeb)][_0x409e62(0x11e)](_0x1db8d3),this[_0x409e62(0x125)][_0x409e62(0x11e)](_0x1bfc9d);}[_0x4cc62e(0xd8)](){const _0x4fb8c4=_0x4cc62e,_0x27052e=new _0x51c76f(this[_0x4fb8c4(0x116)][_0x4fb8c4(0xe1)]);return _0x27052e[_0x4fb8c4(0x10b)](),this['on'](_0x4fb8c4(0x109),(_0x47f936,_0x56371d,_0xeac3cb,_0x42c220)=>{const _0x485083=_0x4fb8c4;_0x42c220&&_0x27052e[_0x485083(0xdb)](_0x485083(0x108)),_0xeac3cb?_0x27052e[_0x485083(0xfb)](_0x485083(0x108))['to'](_0xeac3cb,_0x485083(0x123)):_0x27052e[_0x485083(0x108)]=null;}),_0x27052e;}[_0x4cc62e(0x110)](){const _0x185740=_0x4cc62e;var _0x4ad3e1;this[_0x185740(0x129)]=(null===(_0x4ad3e1=this[_0x185740(0xfa)])||void 0x0===_0x4ad3e1?void 0x0:_0x4ad3e1[_0x185740(0xf5)])?this[_0x185740(0xdc)](this[_0x185740(0xfa)][_0x185740(0xf5)]):null;}[_0x4cc62e(0x10c)](_0x30edad){const _0x26510d=_0x4cc62e;var _0x382948;const _0x31d47f=this[_0x26510d(0x125)][_0x26510d(0xf9)](_0x30edad),_0x422fc3=_0x31d47f&&(null===(_0x382948=this[_0x26510d(0xfa)])||void 0x0===_0x382948?void 0x0:_0x382948[_0x26510d(0xf9)](this[_0x26510d(0xfa)][_0x26510d(0xe3)](_0x31d47f)-0x1));return _0x422fc3&&this[_0x26510d(0xdc)](_0x422fc3)||null;}[_0x4cc62e(0xdd)](_0x2ad873){const _0x142306=_0x4cc62e;var _0x3903d7;const _0x21424b=this[_0x142306(0x125)][_0x142306(0xf9)](_0x2ad873),_0xb414bc=_0x21424b&&(null===(_0x3903d7=this[_0x142306(0xfa)])||void 0x0===_0x3903d7?void 0x0:_0x3903d7[_0x142306(0xf9)](this[_0x142306(0xfa)][_0x142306(0xe3)](_0x21424b)+0x1));return _0xb414bc&&this[_0x142306(0xdc)](_0xb414bc)||null;}[_0x4cc62e(0x113)](_0x106400,_0x37f923){const _0x3b437d=_0x4cc62e;_0x106400[_0x3b437d(0xfd)]();const _0x2f987a=H(_0x37f923[_0x3b437d(0x123)]+this[_0x3b437d(0xfc)],_0x106400[_0x3b437d(0xf3)]);return!!_0x2f987a&&(this[_0x3b437d(0xf1)](_0x37f923,_0x37f923[_0x3b437d(0xf3)]-_0x2f987a),!0x0);}[_0x4cc62e(0xee)](_0x534429,_0x3ea5af){const _0x40fe6b=_0x4cc62e;_0x534429[_0x40fe6b(0xfd)]();const _0x1ceddb=H(_0x534429[_0x40fe6b(0x123)]+this[_0x40fe6b(0xfc)],_0x3ea5af[_0x40fe6b(0xf3)]);return!!_0x1ceddb&&(this[_0x40fe6b(0xf1)](_0x3ea5af,_0x3ea5af[_0x40fe6b(0xf3)]+_0x1ceddb,!0x1),!0x0);}[_0x4cc62e(0xf6)](_0x2d8831){const _0x1f081a=_0x4cc62e,_0x219fa5=this[_0x1f081a(0x125)][_0x1f081a(0xf9)](_0x2d8831);if(!_0x219fa5||!_0x219fa5[_0x1f081a(0xe0)]||!_0x219fa5[_0x1f081a(0x107)])return;const _0x36f8bf=this[_0x1f081a(0x102)](_0x219fa5,_0x219fa5[_0x1f081a(0x107)]);this[_0x1f081a(0xf1)](_0x2d8831,_0x36f8bf);}[_0x4cc62e(0x102)](_0x4a40b3,_0x371ba2){const _0x311c37=_0x4cc62e;if(null===_0x371ba2)return 0x0;if(_0x4a40b3[_0x311c37(0xe0)]instanceof _0x3cd1ea)return _0x371ba2[_0x311c37(0xf3)];{const _0x463ad8=new _0x3cd1ea(this[_0x311c37(0xe9)][_0x311c37(0x106)])[_0x311c37(0xf3)];return _0x371ba2[_0x311c37(0xf3)]-_0x463ad8;}}[_0x4cc62e(0xf1)](_0x348283,_0x4ccf2e,_0x420913=this[_0x4cc62e(0x116)][_0x4cc62e(0xd0)][_0x4cc62e(0xf9)](_0x4cc62e(0xd3))){const _0x2e6627=_0x4cc62e;_0x420913&&(_0x4ccf2e=Math[_0x2e6627(0xf7)](_0x4ccf2e,this[_0x2e6627(0x114)](_0x348283))),_0x348283[_0x2e6627(0xf3)]=_0x4ccf2e;}[_0x4cc62e(0x114)](_0xc460ec){const _0x5a1faf=_0x4cc62e;let _0x5dce37=this[_0x5a1faf(0x10c)](_0xc460ec),_0x187107=0x0;for(;_0x5dce37;)_0x5dce37[_0x5a1faf(0xfd)](),_0x187107+=this[_0x5a1faf(0xfc)]+_0x5dce37[_0x5a1faf(0x10e)],_0x5dce37=this[_0x5a1faf(0x10c)](_0x5dce37);return _0x187107;}}function _0x1749(){const _0x15fe0c=['max','appendChild','get','_annotations','bind','_spaceBetweenItems','updateHeight','Sidebar','init','isAnimationDisabled','11ZUsmps','_getTargetTop','18183576HbLMxm','change:bottom','length','element','targetRect','minHeight','change:_lastItem','3450537mCqXJM','render','_getItemBefore','add','height','_recalculate','_updateLastItem','_detachFromContainer','rearrange','_alignBeforeItem','_getMaxAvailableTop','3219008utVxlG','context','change:top','destroy','_attachToContainer','container','clear','10BpDMWu','define','delete','refresh','isActive','30HkQVWP','sidebar-setcontainer-invalid-element','bottom','_targetTop','_sidebarItemViewToAnnotation','set','1236141apSFAd','_recalculateBuffer','_lastItem','setContainer','config','566421sSBadY','class','sidebar.preventScrollOutOfView','content','change:targetRect','listenTo','push','_createSidebarView','122538SZBZaE','nodeType','unbind','getSidebarItemView','_getItemAfter','pluginName','sidebar-attachtocontainer-missing-container','target','locale','_alignForBottomChange','getIndex','_alignForTopChange','stopListening','sidebar.container','_destroySidebarItemView','35QGWTAt','view','object','_annotationToSidebarItemView','remove','_activeAnnotation','_alignAfterItem','addAnnotation','list','_setItemTop','6CBaKdx','top','207956VhYePU','last','_alignToTargetRect'];_0x1749=function(){return _0x15fe0c;};return _0x1749();}function H(_0x309b3c,_0x141671){const _0x5c19d1=_0x4cc62e;return Math[_0x5c19d1(0xf7)](_0x309b3c-_0x141671,0x0);}function y(_0x37ab30){const _0x193b4f=_0x4cc62e;return null!==_0x37ab30&&_0x193b4f(0xea)==typeof _0x37ab30&&0x1===_0x37ab30[_0x193b4f(0xda)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3c0cd3,_0x15ff1c){const _0x30c66c=_0x17ae,_0x33abcc=_0x3c0cd3();while(!![]){try{const _0x4d0683=parseInt(_0x30c66c(0x1b7))/0x1+-parseInt(_0x30c66c(0x1ac))/0x2*(-parseInt(_0x30c66c(0x1b9))/0x3)+-parseInt(_0x30c66c(0x1ab))/0x4+parseInt(_0x30c66c(0x1b8))/0x5*(parseInt(_0x30c66c(0x1ae))/0x6)+-parseInt(_0x30c66c(0x1bf))/0x7+parseInt(_0x30c66c(0x1b3))/0x8+-parseInt(_0x30c66c(0x1bc))/0x9*(parseInt(_0x30c66c(0x1c2))/0xa);if(_0x4d0683===_0x15ff1c)break;else _0x33abcc['push'](_0x33abcc['shift']());}catch(_0x1bdb1e){_0x33abcc['push'](_0x33abcc['shift']());}}}(_0x1efd,0xc9c62));import{ButtonView as _0x3e4eec,View as _0x5116a2}from'ckeditor5/src/ui.js';import _0x42f197 from'../../../theme/icons/add-comment.svg';function _0x1efd(){const _0x1869eb=['extendTemplate','156ujpksm','number','...','ck-annotation-counter','_badge','882832VLJslT','children','add','icon','905994SnUenK','114755vnaDsV','30SNRaYF','isDirty','annotationType','11529nMrRlI','ck-annotation-counter__badge--','ck-annotation-counter__badge','1784363iqMidF','toString','bindTemplate','5020ltTkTP','bind','counterView','setTemplate','set','ck-annotation-counter__badge--edit-mode','span','245228odLmNV','34534iQOuKQ'];_0x1efd=function(){return _0x1869eb;};return _0x1efd();}function _0x17ae(_0x37c3d5,_0x32bad4){const _0x1efd02=_0x1efd();return _0x17ae=function(_0x17ae8d,_0x5296bf){_0x17ae8d=_0x17ae8d-0x1a8;let _0x5779c0=_0x1efd02[_0x17ae8d];return _0x5779c0;},_0x17ae(_0x37c3d5,_0x32bad4);}export default class L extends _0x3e4eec{constructor(_0x14747f){const _0x506ca6=_0x17ae;super(_0x14747f);const _0x345502=this[_0x506ca6(0x1c1)];this[_0x506ca6(0x1a8)](_0x506ca6(0x1ba),!0x1),this[_0x506ca6(0x1a8)](_0x506ca6(0x1af),0x0),this[_0x506ca6(0x1c3)](_0x506ca6(0x1b2))['to'](this,_0x506ca6(0x1ba),this,_0x506ca6(0x1af),(_0x56b069,_0x1671a4)=>_0x56b069?_0x506ca6(0x1b0):_0x1671a4[_0x506ca6(0x1c0)]()),this[_0x506ca6(0x1a8)](_0x506ca6(0x1bb),''),this[_0x506ca6(0x1b6)]=_0x42f197,this[_0x506ca6(0x1ad)]({'attributes':{'class':[_0x506ca6(0x1b1)]}}),this[_0x506ca6(0x1c4)]=new _0x5116a2(),this[_0x506ca6(0x1c4)][_0x506ca6(0x1c5)]({'tag':_0x506ca6(0x1aa),'attributes':{'class':[_0x506ca6(0x1be),_0x345502['to'](_0x506ca6(0x1bb),_0x3079aa=>_0x506ca6(0x1bd)+_0x3079aa),_0x345502['if'](_0x506ca6(0x1ba),_0x506ca6(0x1a9))]},'children':[{'text':_0x345502['to'](_0x506ca6(0x1b2))}]}),this[_0x506ca6(0x1b4)][_0x506ca6(0x1b5)](this[_0x506ca6(0x1c4)]);}}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @module comments/annotations/view/annotationview
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import { type FocusableView, View, type ViewCollection } from 'ckeditor5/src/ui.js';
|
|
10
10
|
import { FocusTracker, KeystrokeHandler, type Rect, type Locale } from 'ckeditor5/src/utils.js';
|
|
11
11
|
import '../../../theme/annotation.css';
|
|
12
12
|
/**
|
|
@@ -15,7 +15,7 @@ import '../../../theme/annotation.css';
|
|
|
15
15
|
* It introduces functionalities that make the given view ready to be used as an annotation, such as focus tracking, height resizing,
|
|
16
16
|
* and other observable properties that help share current annotation state across different UIs.
|
|
17
17
|
*/
|
|
18
|
-
export default class AnnotationView extends View {
|
|
18
|
+
export default class AnnotationView extends View implements FocusableView {
|
|
19
19
|
/**
|
|
20
20
|
* Tracks focus on the annotation view.
|
|
21
21
|
*
|
|
@@ -63,7 +63,7 @@ export default class AnnotationView extends View {
|
|
|
63
63
|
/**
|
|
64
64
|
* Collection for content views.
|
|
65
65
|
*/
|
|
66
|
-
content: ViewCollection
|
|
66
|
+
content: ViewCollection<FocusableView>;
|
|
67
67
|
/**
|
|
68
68
|
* The inner annotation view.
|
|
69
69
|
*/
|
|
@@ -85,6 +85,6 @@ export default class AnnotationView extends View {
|
|
|
85
85
|
*/
|
|
86
86
|
focus(): void;
|
|
87
87
|
}
|
|
88
|
-
export interface AnnotationMainView extends
|
|
88
|
+
export interface AnnotationMainView extends FocusableView {
|
|
89
89
|
isActive: boolean;
|
|
90
90
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4d0b(_0x5076e6,_0x50d7b9){const _0x3d8953=_0x3d89();return _0x4d0b=function(_0x4d0b15,_0x5e6278){_0x4d0b15=_0x4d0b15-0x15f;let _0x8dccc8=_0x3d8953[_0x4d0b15];return _0x8dccc8;},_0x4d0b(_0x5076e6,_0x50d7b9);}const _0x2b4a20=_0x4d0b;(function(_0x5a4ae9,_0x34fe54){const _0x325938=_0x4d0b,_0x50029f=_0x5a4ae9();while(!![]){try{const _0x36c85b=-parseInt(_0x325938(0x161))/0x1+parseInt(_0x325938(0x167))/0x2*(parseInt(_0x325938(0x18b))/0x3)+-parseInt(_0x325938(0x182))/0x4+-parseInt(_0x325938(0x177))/0x5+parseInt(_0x325938(0x16d))/0x6+-parseInt(_0x325938(0x165))/0x7+parseInt(_0x325938(0x17e))/0x8;if(_0x36c85b===_0x34fe54)break;else _0x50029f['push'](_0x50029f['shift']());}catch(_0x5745a4){_0x50029f['push'](_0x50029f['shift']());}}}(_0x3d89,0x63927));function _0x3d89(){const _0x41959d=['keystrokes','3010035sFTfcD','detach','18ODEdqM','isActive','focus','_mutationObserver','ck-annotation-wrapper','height','4576716czzhIr','isDirty','createCollection','add','length','first','clientHeight','setTemplate','element','_updateHeight','3099720EOEPXy','div','arrowup','ck-annotation-wrapper--active','set','render','listenTo','8324168lPzQkf','arrowdown','attach','presentation','1671608oBIzjb','fire','bindTemplate','destroy','delegate','focusTracker','targetRect','mainView','ck-rounded-corners','70377sXzyfa','Esc','clear','138740dslloS','content','type'];_0x3d89=function(){return _0x41959d;};return _0x3d89();}import{View as _0x42ba24}from'ckeditor5/src/ui.js';import{FocusTracker as _0x36982f,KeystrokeHandler as _0x1afc46,uid as _0x13dd4b}from'ckeditor5/src/utils.js';import _0x4b713c from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class T extends _0x42ba24{constructor(_0x25e90d,_0x9168d2){const _0x4f45ef=_0x4d0b;super(_0x25e90d),this['id']=_0x13dd4b(),this[_0x4f45ef(0x187)]=new _0x36982f(),this[_0x4f45ef(0x164)]=new _0x1afc46(),this[_0x4f45ef(0x164)][_0x4f45ef(0x17b)](_0x4f45ef(0x15f),(_0x7477,_0x1a2872)=>this[_0x4f45ef(0x183)](_0x4f45ef(0x15f),_0x1a2872)),this[_0x4f45ef(0x17b)](_0x4f45ef(0x188),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x4f45ef(0x17b)](_0x4f45ef(0x16c),0x0),this[_0x4f45ef(0x17b)](_0x4f45ef(0x168),!0x1),this[_0x4f45ef(0x17b)](_0x4f45ef(0x16e),!0x1),this[_0x4f45ef(0x17b)](_0x4f45ef(0x171),0x0),this[_0x4f45ef(0x17b)](_0x4f45ef(0x163),''),this[_0x4f45ef(0x16a)]=_0x4b713c(()=>this[_0x4f45ef(0x176)]()),this[_0x4f45ef(0x162)]=this[_0x4f45ef(0x16f)](),this[_0x4f45ef(0x162)][_0x4f45ef(0x186)](_0x4f45ef(0x179),_0x4f45ef(0x17f))['to'](this),this[_0x4f45ef(0x162)][_0x4f45ef(0x170)](_0x9168d2),this[_0x4f45ef(0x189)]=_0x9168d2;const _0x4fce36=this[_0x4f45ef(0x184)];this[_0x4f45ef(0x174)]({'tag':_0x4f45ef(0x178),'attributes':{'class':['ck',_0x4f45ef(0x16b),_0x4f45ef(0x18a),_0x4fce36['if'](_0x4f45ef(0x168),_0x4f45ef(0x17a))],'role':_0x4f45ef(0x181)},'children':this[_0x4f45ef(0x162)]});}[_0x2b4a20(0x17c)](){const _0x2e6ea2=_0x2b4a20;super[_0x2e6ea2(0x17c)](),this[_0x2e6ea2(0x187)][_0x2e6ea2(0x170)](this[_0x2e6ea2(0x175)]),this[_0x2e6ea2(0x164)][_0x2e6ea2(0x17d)](this[_0x2e6ea2(0x175)]),this[_0x2e6ea2(0x16a)][_0x2e6ea2(0x180)](this[_0x2e6ea2(0x175)]);}[_0x2b4a20(0x185)](){const _0x4c1a3d=_0x2b4a20;this[_0x4c1a3d(0x162)][_0x4c1a3d(0x160)](),this[_0x4c1a3d(0x164)][_0x4c1a3d(0x185)](),this[_0x4c1a3d(0x187)][_0x4c1a3d(0x185)](),this[_0x4c1a3d(0x16a)][_0x4c1a3d(0x166)](),super[_0x4c1a3d(0x185)]();}[_0x2b4a20(0x169)](){const _0x48c139=_0x2b4a20;this[_0x48c139(0x162)][_0x48c139(0x172)]&&this[_0x48c139(0x162)][_0x48c139(0x172)][_0x48c139(0x169)]();}[_0x2b4a20(0x176)](){const _0x18e4bc=_0x2b4a20,_0x25a792=this[_0x18e4bc(0x175)][_0x18e4bc(0x173)];_0x25a792&&(this[_0x18e4bc(0x16c)]=_0x25a792);}}
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
* @module comments/annotations/view/sidebaritemview
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import { View, type ViewCollection, type FocusableView } from 'ckeditor5/src/ui.js';
|
|
10
10
|
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
11
11
|
/**
|
|
12
12
|
* A wrapper view that wraps given {@link module:ui/view~View} to display it as a {@link module:comments/annotations/sidebar~Sidebar} item.
|
|
13
13
|
*/
|
|
14
|
-
export default class SidebarItemView extends View {
|
|
14
|
+
export default class SidebarItemView extends View implements FocusableView {
|
|
15
15
|
element: HTMLElement;
|
|
16
16
|
/**
|
|
17
17
|
* The item top offset.
|
|
@@ -35,7 +35,7 @@ export default class SidebarItemView extends View {
|
|
|
35
35
|
/**
|
|
36
36
|
* A collection of content views.
|
|
37
37
|
*/
|
|
38
|
-
content: ViewCollection
|
|
38
|
+
content: ViewCollection<FocusableView>;
|
|
39
39
|
/**
|
|
40
40
|
* @inheritDoc
|
|
41
41
|
*/
|
|
@@ -44,6 +44,10 @@ export default class SidebarItemView extends View {
|
|
|
44
44
|
* @inheritDoc
|
|
45
45
|
*/
|
|
46
46
|
render(): void;
|
|
47
|
+
/**
|
|
48
|
+
* @inheritDoc
|
|
49
|
+
*/
|
|
50
|
+
focus(): void;
|
|
47
51
|
/**
|
|
48
52
|
* Updates {@link #height the height property} according to the element's DOM height.
|
|
49
53
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f54a3=_0x2d11;(function(_0x469240,_0x295cc9){const _0x2dc8d8=_0x2d11,_0x194a45=_0x469240();while(!![]){try{const _0x7208c4=parseInt(_0x2dc8d8(0xb7))/0x1*(-parseInt(_0x2dc8d8(0xc5))/0x2)+-parseInt(_0x2dc8d8(0xd8))/0x3+parseInt(_0x2dc8d8(0xd2))/0x4*(-parseInt(_0x2dc8d8(0xb2))/0x5)+parseInt(_0x2dc8d8(0xc4))/0x6*(parseInt(_0x2dc8d8(0xcd))/0x7)+-parseInt(_0x2dc8d8(0xc0))/0x8*(parseInt(_0x2dc8d8(0xc3))/0x9)+parseInt(_0x2dc8d8(0xbb))/0xa+parseInt(_0x2dc8d8(0xc2))/0xb;if(_0x7208c4===_0x295cc9)break;else _0x194a45['push'](_0x194a45['shift']());}catch(_0x5a82af){_0x194a45['push'](_0x194a45['shift']());}}}(_0x3166,0x22a98));import{View as _0x21aae8}from'ckeditor5/src/ui.js';import{toUnit as _0xc1ac5a}from'ckeditor5/src/utils.js';import _0x3f1983 from'../../utils/createmutationobserver.js';function _0x2d11(_0xaebf97,_0x28222c){const _0x3166c3=_0x3166();return _0x2d11=function(_0x2d1102,_0x480e41){_0x2d1102=_0x2d1102-0xb1;let _0x31d3f4=_0x3166c3[_0x2d1102];return _0x31d3f4;},_0x2d11(_0xaebf97,_0x28222c);}const qt=_0xc1ac5a('px');export default class M extends _0x21aae8{constructor(_0xa9baf0){const _0x21a467=_0x2d11;super(_0xa9baf0),this[_0x21a467(0xc1)](_0x21a467(0xb8),0x0),this[_0x21a467(0xc1)](_0x21a467(0xca),0x0),this[_0x21a467(0xbd)](_0x21a467(0xcb))['to'](this,_0x21a467(0xb8),this,_0x21a467(0xca),(_0x1bf256,_0x42a4aa)=>_0x1bf256+_0x42a4aa),this[_0x21a467(0xc1)](_0x21a467(0xd7),!0x1),this[_0x21a467(0xb5)]=_0x3f1983(()=>this[_0x21a467(0xbc)]()),this[_0x21a467(0xd1)]=null,this[_0x21a467(0xc6)]=this[_0x21a467(0xd3)](),this[_0x21a467(0xc6)][_0x21a467(0xd5)](_0x21a467(0xd6),_0x21a467(0xba))['to'](this);const _0x44780e=this[_0x21a467(0xbf)];this[_0x21a467(0xce)]({'tag':_0x21a467(0xd4),'attributes':{'class':[_0x21a467(0xc8),_0x44780e['to'](_0x21a467(0xd7),_0x3fa5e0=>_0x3fa5e0?_0x21a467(0xcf):'')],'style':{'top':_0x44780e['to'](_0x21a467(0xb8),_0x40f152=>qt(_0x40f152))},'role':_0x21a467(0xbe)},'children':this[_0x21a467(0xc6)]});}[_0x2f54a3(0xd0)](){const _0xed0908=_0x2f54a3;super[_0xed0908(0xd0)](),this[_0xed0908(0xb5)][_0xed0908(0xb3)](this[_0xed0908(0xb6)]);}[_0x2f54a3(0xb1)](){const _0x1f7f03=_0x2f54a3;this[_0x1f7f03(0xc6)][_0x1f7f03(0xb9)]&&this[_0x1f7f03(0xc6)][_0x1f7f03(0xb9)][_0x1f7f03(0xb1)]();}[_0x2f54a3(0xbc)](){const _0x456560=_0x2f54a3,_0x582ecb=this[_0x456560(0xb6)][_0x456560(0xc9)];_0x582ecb&&(this[_0x456560(0xca)]=_0x582ecb);}[_0x2f54a3(0xb4)](){const _0x22774e=_0x2f54a3;this[_0x22774e(0xc6)][_0x22774e(0xc7)](),this[_0x22774e(0xb5)][_0x22774e(0xcc)](),super[_0x22774e(0xb4)]();}}function _0x3166(){const _0x4ab24c=['_mutationObserver','element','46shYRzD','top','first','arrowdown','1320880BuJoqm','updateHeight','bind','presentation','bindTemplate','237392RmTrNk','set','3731937eRYjsa','63DTuiVB','12dguxfs','7026yIcERq','content','clear','ck-sidebar-item','clientHeight','height','bottom','detach','348677CWmOQW','setTemplate','ck-sidebar-item--no-animation','render','_targetTop','3860NdiacG','createCollection','div','delegate','arrowup','isAnimationDisabled','164580vEstkI','focus','25QRqqFM','attach','destroy'];_0x3166=function(){return _0x4ab24c;};return _0x3166();}
|
|
@@ -6,13 +6,14 @@
|
|
|
6
6
|
* @module comments/annotations/view/sidebarview
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
|
|
10
|
-
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
9
|
+
import { View, FocusCycler, type ViewCollection, type ViewWithFocusCycler } from 'ckeditor5/src/ui.js';
|
|
10
|
+
import { FocusTracker, type Locale } from 'ckeditor5/src/utils.js';
|
|
11
|
+
import type SidebarItemView from './sidebaritemview.js';
|
|
11
12
|
import '../../../theme/sidebar.css';
|
|
12
13
|
/**
|
|
13
14
|
* The sidebar view class that displays the collection of sidebar item views.
|
|
14
15
|
*/
|
|
15
|
-
export default class SidebarView extends View {
|
|
16
|
+
export default class SidebarView extends View implements ViewWithFocusCycler {
|
|
16
17
|
/**
|
|
17
18
|
* @observable
|
|
18
19
|
*/
|
|
@@ -24,9 +25,29 @@ export default class SidebarView extends View {
|
|
|
24
25
|
/**
|
|
25
26
|
* A collection of sidebar item views.
|
|
26
27
|
*/
|
|
27
|
-
list: ViewCollection
|
|
28
|
+
list: ViewCollection<SidebarItemView>;
|
|
29
|
+
/**
|
|
30
|
+
* A collection of focusable views in the sidebar.
|
|
31
|
+
*/
|
|
32
|
+
focusables: ViewCollection<SidebarItemView>;
|
|
33
|
+
/**
|
|
34
|
+
* Tracks information about DOM focus among sidebar item views.
|
|
35
|
+
*/
|
|
36
|
+
readonly focusTracker: FocusTracker;
|
|
37
|
+
/**
|
|
38
|
+
* Helps cycling over {@link #focusables focusable items} in the sidebar.
|
|
39
|
+
*/
|
|
40
|
+
readonly focusCycler: FocusCycler;
|
|
28
41
|
/**
|
|
29
42
|
* @inheritDoc
|
|
30
43
|
*/
|
|
31
44
|
constructor(locale: Locale);
|
|
45
|
+
/**
|
|
46
|
+
* @inheritDoc
|
|
47
|
+
*/
|
|
48
|
+
render(): void;
|
|
49
|
+
/**
|
|
50
|
+
* @inheritDoc
|
|
51
|
+
*/
|
|
52
|
+
focus(): void;
|
|
32
53
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
const _0x59846a=_0x4f79;function _0x4f79(_0x2acf65,_0x1827c3){const _0x6595ce=_0x6595();return _0x4f79=function(_0x4f79e1,_0x5f3e6d){_0x4f79e1=_0x4f79e1-0x187;let _0x1701f2=_0x6595ce[_0x4f79e1];return _0x1701f2;},_0x4f79(_0x2acf65,_0x1827c3);}(function(_0x2be83a,_0x5f2bbb){const _0x3c9347=_0x4f79,_0x8edeb7=_0x2be83a();while(!![]){try{const _0x2a8ed7=parseInt(_0x3c9347(0x18d))/0x1*(-parseInt(_0x3c9347(0x195))/0x2)+parseInt(_0x3c9347(0x1b5))/0x3*(parseInt(_0x3c9347(0x1ae))/0x4)+parseInt(_0x3c9347(0x1a2))/0x5*(-parseInt(_0x3c9347(0x1a8))/0x6)+parseInt(_0x3c9347(0x19b))/0x7+parseInt(_0x3c9347(0x190))/0x8*(parseInt(_0x3c9347(0x18b))/0x9)+-parseInt(_0x3c9347(0x1a1))/0xa+parseInt(_0x3c9347(0x1ac))/0xb*(-parseInt(_0x3c9347(0x1b6))/0xc);if(_0x2a8ed7===_0x5f2bbb)break;else _0x8edeb7['push'](_0x8edeb7['shift']());}catch(_0x50105e){_0x8edeb7['push'](_0x8edeb7['shift']());}}}(_0x6595,0x544bd));import{View as _0x46ad6f,FocusCycler as _0x4e9404}from'ckeditor5/src/ui.js';function _0x6595(){const _0x4d933f=['Annotations\x20list','length','div','97210UlPDsc','80NuQeVM','_updateItemPositionInFocusables','added','createCollection','source','application','212850kaRPqz','focusPrevious','forEach','class','551683wcVlrB','Annotations\x20sidebar','1604Eampbf','focusNext','setTemplate','listenTo','list','ck-reset','focusFirst','2217HCyWXo','12abWkWM','uiLanguageDirection','set','bindTemplate','arrowdown','add','focus','removed','getIndex','delegate','622071GWtqgL','number','16586yXTISZ','_setupKeyboardNavigation','focusTracker','48fcIRWt','arrowup','render','focusCycler','change:top','26FlDvbJ','change','remove','focusables','minHeight','ck-sidebar','3341212khxdvT','top','element'];_0x6595=function(){return _0x4d933f;};return _0x6595();}import{FocusTracker as _0x497edc,toUnit as _0x50eb8f}from'ckeditor5/src/utils.js';import{getTranslation as _0x389ccf}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const qt=_0x50eb8f('px');export default class V extends _0x46ad6f{constructor(_0xf52626){const _0x4d323b=_0x4f79;super(_0xf52626);const _0x2b1318=this[_0x4d323b(0x1b9)];this[_0x4d323b(0x1b8)](_0x4d323b(0x199),0x0),this[_0x4d323b(0x1b8)](_0x4d323b(0x1ab),''),this[_0x4d323b(0x1b2)]=this[_0x4d323b(0x1a5)](),this[_0x4d323b(0x198)]=this[_0x4d323b(0x1a5)](),this[_0x4d323b(0x1b2)][_0x4d323b(0x18a)](_0x4d323b(0x191),_0x4d323b(0x1ba))['to'](this),this[_0x4d323b(0x18f)]=new _0x497edc(),this[_0x4d323b(0x193)]=new _0x4e9404({'focusables':this[_0x4d323b(0x198)],'focusTracker':this[_0x4d323b(0x18f)]}),this[_0x4d323b(0x1b0)]({'tag':_0x4d323b(0x1a0),'attributes':{'class':['ck',_0x4d323b(0x19a),_0x4d323b(0x1b3),_0x2b1318['to'](_0x4d323b(0x1ab))],'style':{'minHeight':_0x2b1318['to'](_0x4d323b(0x199),_0x33f293=>_0x4d323b(0x18c)==typeof _0x33f293?qt(_0x33f293+0xa):null)},'dir':_0xf52626[_0x4d323b(0x1b7)],'role':_0x4d323b(0x1a7),'aria-label':_0x389ccf(_0xf52626,_0x4d323b(0x1ad)),'tabindex':0x0},'children':[{'tag':_0x4d323b(0x1a0),'attributes':{'role':_0x4d323b(0x1b2),'aria-label':_0x389ccf(_0xf52626,_0x4d323b(0x19e))},'children':this[_0x4d323b(0x1b2)]}]});}[_0x59846a(0x192)](){const _0x277385=_0x59846a;super[_0x277385(0x192)](),this[_0x277385(0x18e)]();}[_0x59846a(0x187)](){const _0x36451b=_0x59846a;this[_0x36451b(0x193)][_0x36451b(0x1b4)]();}[_0x59846a(0x18e)](){const _0x3e718e=_0x59846a;this[_0x3e718e(0x1b2)][_0x3e718e(0x18a)](_0x3e718e(0x194))['to'](this),this['on'](_0x3e718e(0x194),_0x135f2d=>{const _0xd6a127=_0x3e718e;this[_0xd6a127(0x1a3)](_0x135f2d[_0xd6a127(0x1a6)]);}),this[_0x3e718e(0x1b2)][_0x3e718e(0x1aa)](_0x18b510=>{const _0x2372fc=_0x3e718e;this[_0x2372fc(0x18f)][_0x2372fc(0x1bb)](_0x18b510[_0x2372fc(0x19d)]),this[_0x2372fc(0x1a3)](_0x18b510);}),this[_0x3e718e(0x1b2)]['on'](_0x3e718e(0x196),(_0x5b1686,_0x286546)=>{const _0x583d5b=_0x3e718e;for(const _0x3d44c3 of _0x286546[_0x583d5b(0x188)])this[_0x583d5b(0x18f)][_0x583d5b(0x197)](_0x3d44c3[_0x583d5b(0x19d)]),this[_0x583d5b(0x198)][_0x583d5b(0x197)](_0x3d44c3);for(const _0x1f30cd of _0x286546[_0x583d5b(0x1a4)])this[_0x583d5b(0x18f)][_0x583d5b(0x1bb)](_0x1f30cd[_0x583d5b(0x19d)]),this[_0x583d5b(0x1a3)](_0x1f30cd);}),this['on'](_0x3e718e(0x191),()=>{const _0x2f8259=_0x3e718e;this[_0x2f8259(0x193)][_0x2f8259(0x1a9)]();}),this['on'](_0x3e718e(0x1ba),()=>{const _0x328495=_0x3e718e;this[_0x328495(0x193)][_0x328495(0x1af)]();}),this[_0x3e718e(0x1b1)](this[_0x3e718e(0x19d)],_0x3e718e(0x187),()=>{const _0x2a88c1=_0x3e718e;this[_0x2a88c1(0x187)]();});}[_0x59846a(0x1a3)](_0x25b965){const _0x7c3e58=_0x59846a,_0x45d010=this[_0x7c3e58(0x198)][_0x7c3e58(0x189)](_0x25b965);let _0x44147d,_0x121527;for(const _0x5919ee of this[_0x7c3e58(0x198)])if(_0x25b965[_0x7c3e58(0x19c)]<_0x5919ee[_0x7c3e58(0x19c)]){_0x44147d=_0x5919ee;break;}if(_0x121527=_0x44147d?this[_0x7c3e58(0x198)][_0x7c3e58(0x189)](_0x44147d):this[_0x7c3e58(0x198)][_0x7c3e58(0x19f)],-0x1!==_0x45d010){if(_0x45d010===_0x121527-0x1)return;this[_0x7c3e58(0x198)][_0x7c3e58(0x197)](_0x25b965),_0x121527=_0x44147d?this[_0x7c3e58(0x198)][_0x7c3e58(0x189)](_0x44147d):this[_0x7c3e58(0x198)][_0x7c3e58(0x19f)];}this[_0x7c3e58(0x198)][_0x7c3e58(0x1bb)](_0x25b965,_0x121527);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf61b90=_0x2f58;(function(_0x117b31,_0x3a2d05){const _0x5435c2=_0x2f58,_0x4f6705=_0x117b31();while(!![]){try{const _0x316f08=-parseInt(_0x5435c2(0x87))/0x1+-parseInt(_0x5435c2(0x81))/0x2+-parseInt(_0x5435c2(0x7c))/0x3*(parseInt(_0x5435c2(0x84))/0x4)+parseInt(_0x5435c2(0x9d))/0x5+-parseInt(_0x5435c2(0xb7))/0x6*(-parseInt(_0x5435c2(0xa9))/0x7)+parseInt(_0x5435c2(0x9f))/0x8*(parseInt(_0x5435c2(0xa1))/0x9)+parseInt(_0x5435c2(0xbc))/0xa*(-parseInt(_0x5435c2(0xbb))/0xb);if(_0x316f08===_0x3a2d05)break;else _0x4f6705['push'](_0x4f6705['shift']());}catch(_0x38c9ee){_0x4f6705['push'](_0x4f6705['shift']());}}}(_0x4f84,0x619e7));import{ContextPlugin as _0x5ce909,Context as _0x2bb868}from'ckeditor5/src/core.js';import _0x3b9e45 from'./annotationsuis.js';import _0x2435f1 from'./sidebar.js';import{CKEditorError as _0x2ff61c,Collection as _0xa108a}from'ckeditor5/src/utils.js';function _0x4f84(){const _0x246060=['isAttached','155580pObSho','getOrderedSelectedAnnotations','attach','listenTo','99kLWhTs','18210tRywHf','_annotations','set','refresh','WideSidebar','1056ZzJWQz','_detachFromContainer','addAnnotation','register','ready','1587592HfeuAN','add','activeAnnotation','2252wApjBv','plugins','high','59653mzBgPw','setActiveAnnotation','from','switchTo','widesidebar-attach-already-attached','stop','addEventListener','change:container','removeEventListener','get','remove','uiUpdate','off','_destroyEditorAnnotationsIntegration','_attachToContainer','pluginName','requires','cancel','EditorAnnotations','_refreshPositioningDebounced','editors','stopListening','739980EBkBTh','_editorAnnotations','950120eRlwkf','wideSidebar','45nWNsCB','init','_integrateWithEditorAnnotations','ck-sidebar--wide','refreshPositioning','annotations','rearrange','resize','196tmqyoU','blur','set:container','destroy','detach','hasDomSelection','container','widesidebar-detach-not-attached','context','focus','_activeAnnotation','updateTargetRect','has'];_0x4f84=function(){return _0x246060;};return _0x4f84();}import{debounce as _0x348a3d}from'lodash-es';function _0x2f58(_0x127099,_0x2775b1){const _0x4f84fa=_0x4f84();return _0x2f58=function(_0x2f58b0,_0x5160f7){_0x2f58b0=_0x2f58b0-0x7b;let _0x2d8f63=_0x4f84fa[_0x2f58b0];return _0x2d8f63;},_0x2f58(_0x127099,_0x2775b1);}export default class n extends _0x5ce909{static get[_0xf61b90(0x97)](){return[_0x2435f1,_0x3b9e45];}static get[_0xf61b90(0x96)](){const _0x2ab824=_0xf61b90;return _0x2ab824(0x7b);}constructor(_0x1e06d4){const _0xdd8c6b=_0xf61b90;super(_0x1e06d4),this[_0xdd8c6b(0xb6)]=!0x1,this[_0xdd8c6b(0xbe)](_0xdd8c6b(0x83),null),this[_0xdd8c6b(0xa6)]=null,this[_0xdd8c6b(0x9e)]=new _0xa108a(),this[_0xdd8c6b(0x9a)]=_0x348a3d(()=>{const _0x2cfdaf=_0xdd8c6b;this[_0x2cfdaf(0xa6)][_0x2cfdaf(0xa5)]();},0xfa,{'leading':!0x1});}[_0xf61b90(0xa2)](){const _0x4e32cc=_0xf61b90,_0x5c3cdd=this[_0x4e32cc(0xb1)][_0x4e32cc(0x85)][_0x4e32cc(0x90)](_0x3b9e45),_0x12d493=this[_0x4e32cc(0xb1)][_0x4e32cc(0x85)][_0x4e32cc(0x90)](_0x2435f1);_0x5c3cdd[_0x4e32cc(0x7f)](_0x4e32cc(0xa0),this),_0x12d493[_0x4e32cc(0xaf)]&&_0x5c3cdd[_0x4e32cc(0x8a)](_0x4e32cc(0xa0));}[_0xf61b90(0x88)](_0x51b41f){const _0x1f0d51=_0xf61b90;if(_0x51b41f===this[_0x1f0d51(0x83)])return;const _0x434b89=this[_0x1f0d51(0xb1)][_0x1f0d51(0x85)][_0x1f0d51(0x90)](_0x2435f1);_0x434b89[_0x1f0d51(0xb3)]=_0x51b41f;const _0x2ca2ea=this[_0x1f0d51(0x83)];this[_0x1f0d51(0x83)]=_0x51b41f,_0x434b89[_0x1f0d51(0xbf)]({'blurredAnnotation':_0x2ca2ea,'activatedAnnotation':this[_0x1f0d51(0x83)]});}[_0xf61b90(0xb9)](_0x19d49c){const _0x4090e7=_0xf61b90;this[_0x4090e7(0xa6)]=_0x19d49c;const _0x39e976=this[_0x4090e7(0xb1)][_0x4090e7(0x85)][_0x4090e7(0x90)](_0x2435f1);if(_0x39e976[_0x4090e7(0xbd)]=_0x19d49c,this[_0x4090e7(0xb6)])throw new _0x2ff61c(_0x4090e7(0x8b),this);this[_0x4090e7(0xb6)]=!0x0,this[_0x4090e7(0xba)](_0x39e976,_0x4090e7(0xab),()=>{const _0x1ffb0b=_0x4090e7;this[_0x1ffb0b(0xad)](),this[_0x1ffb0b(0xba)](_0x39e976,_0x1ffb0b(0x8e),_0x1b94a9=>{const _0x537c45=_0x1ffb0b;_0x1b94a9[_0x537c45(0x93)](),this[_0x537c45(0xb9)](_0x19d49c);});}),_0x39e976[_0x4090e7(0x95)]({'viewClass':_0x4090e7(0xa4)});const _0x4d8ad1=_0x455648=>{const _0x3f9681=_0x4090e7;_0x455648[_0x3f9681(0xb4)](),_0x39e976[_0x3f9681(0x7e)](_0x455648);};for(const _0x45c880 of _0x19d49c)_0x4d8ad1(_0x45c880);this[_0x4090e7(0xba)](_0x19d49c,_0x4090e7(0x82),(_0x545380,_0x45ad2f)=>{_0x4d8ad1(_0x45ad2f);}),this[_0x4090e7(0xba)](_0x19d49c,_0x4090e7(0x91),(_0x5b5535,_0x10d9b8,_0x4ea522)=>{const _0x53b06d=_0x4090e7;_0x39e976[_0x53b06d(0xa7)]({'removedAnnotation':_0x10d9b8,'previousAnnotation':_0x19d49c[_0x53b06d(0x90)](_0x4ea522-0x1),'nextAnnotation':_0x19d49c[_0x53b06d(0x90)](_0x4ea522+0x1)}),_0x10d9b8===this[_0x53b06d(0x83)]&&this[_0x53b06d(0x88)](null);},{'priority':_0x4090e7(0x86)}),this[_0x4090e7(0xba)](_0x19d49c,_0x4090e7(0xb2),(_0x232506,_0x4ea5d7)=>{const _0x170700=_0x4090e7;this[_0x170700(0x88)](_0x4ea5d7);}),this[_0x4090e7(0xba)](_0x19d49c,_0x4090e7(0xaa),()=>{const _0x4c4761=_0x4090e7;this[_0x4c4761(0x88)](null);});const _0x5e7c1e=this[_0x4090e7(0xb1)]instanceof _0x2bb868?this[_0x4090e7(0xb1)][_0x4090e7(0x9b)]:new _0xa108a([this[_0x4090e7(0xb1)]]);for(const _0x11e698 of _0x5e7c1e)this[_0x4090e7(0xa3)](_0x11e698);this[_0x4090e7(0xba)](_0x5e7c1e,_0x4090e7(0x82),(_0x571fe3,_0x3c02b8)=>{const _0x540220=_0x4090e7;this[_0x540220(0xba)](_0x3c02b8,_0x540220(0x80),()=>{const _0x44a7b8=_0x540220;this[_0x44a7b8(0xa3)](_0x3c02b8);});}),this[_0x4090e7(0xba)](_0x5e7c1e,_0x4090e7(0x91),(_0x485a5f,_0x596fba)=>{const _0x34dd7b=_0x4090e7;_0x596fba[_0x34dd7b(0x85)][_0x34dd7b(0xb5)](_0x34dd7b(0x99))&&this[_0x34dd7b(0x94)](_0x596fba[_0x34dd7b(0x85)][_0x34dd7b(0x90)](_0x34dd7b(0x99)));}),window[_0x4090e7(0x8d)](_0x4090e7(0xa8),this[_0x4090e7(0x9a)]),this[_0x4090e7(0xa6)][_0x4090e7(0xa5)]();}[_0xf61b90(0xad)](){const _0x4ae467=_0xf61b90;if(!this[_0x4ae467(0xb6)])throw new _0x2ff61c(_0x4ae467(0xb0),this);this[_0x4ae467(0x88)](null);const _0x5f1fb5=this[_0x4ae467(0xb1)][_0x4ae467(0x85)][_0x4ae467(0x90)](_0x2435f1);_0x5f1fb5[_0x4ae467(0x7d)](this[_0x4ae467(0xa6)]),this[_0x4ae467(0x9c)](_0x5f1fb5),this[_0x4ae467(0x9c)](this[_0x4ae467(0xa6)]),this[_0x4ae467(0xb1)]instanceof _0x2bb868&&this[_0x4ae467(0x9c)](this[_0x4ae467(0xb1)][_0x4ae467(0x9b)]);for(const _0x39ad2b of Array[_0x4ae467(0x89)](this[_0x4ae467(0x9e)]))this[_0x4ae467(0x94)](_0x39ad2b);window[_0x4ae467(0x8f)](_0x4ae467(0xa8),this[_0x4ae467(0x9a)]),this[_0x4ae467(0x9a)][_0x4ae467(0x98)](),this[_0x4ae467(0x83)]=null,this[_0x4ae467(0xb6)]=!0x1,this[_0x4ae467(0xa6)]=null;}[_0xf61b90(0xac)](){const _0x419e4a=_0xf61b90;this[_0x419e4a(0xb6)]&&this[_0x419e4a(0xad)]();}[_0xf61b90(0xa3)](_0x1f976b){const _0x58b788=_0xf61b90;if(!_0x1f976b[_0x58b788(0x85)][_0x58b788(0xb5)](_0x58b788(0x99)))return;const _0x21868c=_0x1f976b[_0x58b788(0x85)][_0x58b788(0x90)](_0x58b788(0x99)),_0x488216=()=>{const _0x5c2ca5=_0x58b788,_0x50b043=_0x21868c[_0x5c2ca5(0xb8)]({'annotations':this[_0x5c2ca5(0xa6)],'activeAnnotation':this[_0x5c2ca5(0x83)]});this[_0x5c2ca5(0x88)](_0x50b043[0x0]||null);};this[_0x58b788(0xba)](_0x21868c,_0x58b788(0xbf),_0x488216),this[_0x58b788(0xba)](_0x21868c,_0x58b788(0xaa),(_0x1f10c1,{isAnnotationTracked:_0x326dde})=>{const _0x142927=_0x58b788;this[_0x142927(0x83)]&&_0x326dde(this[_0x142927(0x83)])&&this[_0x142927(0x88)](null);}),this[_0x58b788(0xba)](_0x21868c,_0x58b788(0x92),()=>{const _0x51f152=_0x58b788;this[_0x51f152(0x9a)]();}),this[_0x58b788(0xba)](this[_0x58b788(0xa6)],_0x58b788(0xaa),_0x21cc7e=>{const _0x2fce5e=_0x58b788;_0x21868c[_0x2fce5e(0xae)]()&&(_0x488216(),_0x21cc7e[_0x2fce5e(0x8c)]());},{'priority':_0x58b788(0x86)}),this[_0x58b788(0x9e)][_0x58b788(0x82)](_0x21868c);}[_0xf61b90(0x94)](_0x3f8031){const _0x36a457=_0xf61b90;this[_0x36a457(0x9c)](_0x3f8031),this[_0x36a457(0x9e)][_0x36a457(0x91)](_0x3f8031);}}
|