@ckeditor/ckeditor5-comments 43.0.0-alpha.4 → 43.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/comments/ui/view/commentthreadinputview.d.ts +4 -0
- package/dist/index-editor.css +1 -5
- package/dist/index.css +1 -5
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.d.ts +4 -0
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/comment.css +1 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "43.0.0-alpha.
|
|
3
|
+
"version": "43.0.0-alpha.6",
|
|
4
4
|
"description": "Collaborative comments feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -45,19 +45,19 @@
|
|
|
45
45
|
"CHANGELOG.md"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@ckeditor/ckeditor5-clipboard": "43.0.0-alpha.
|
|
49
|
-
"@ckeditor/ckeditor5-core": "43.0.0-alpha.
|
|
50
|
-
"@ckeditor/ckeditor5-engine": "43.0.0-alpha.
|
|
51
|
-
"@ckeditor/ckeditor5-enter": "43.0.0-alpha.
|
|
52
|
-
"@ckeditor/ckeditor5-paragraph": "43.0.0-alpha.
|
|
53
|
-
"@ckeditor/ckeditor5-select-all": "43.0.0-alpha.
|
|
54
|
-
"@ckeditor/ckeditor5-theme-lark": "43.0.0-alpha.
|
|
55
|
-
"@ckeditor/ckeditor5-typing": "43.0.0-alpha.
|
|
56
|
-
"@ckeditor/ckeditor5-ui": "43.0.0-alpha.
|
|
57
|
-
"@ckeditor/ckeditor5-undo": "43.0.0-alpha.
|
|
58
|
-
"@ckeditor/ckeditor5-utils": "43.0.0-alpha.
|
|
59
|
-
"ckeditor5": "43.0.0-alpha.
|
|
60
|
-
"ckeditor5-collaboration": "43.0.0-alpha.
|
|
48
|
+
"@ckeditor/ckeditor5-clipboard": "43.0.0-alpha.6",
|
|
49
|
+
"@ckeditor/ckeditor5-core": "43.0.0-alpha.6",
|
|
50
|
+
"@ckeditor/ckeditor5-engine": "43.0.0-alpha.6",
|
|
51
|
+
"@ckeditor/ckeditor5-enter": "43.0.0-alpha.6",
|
|
52
|
+
"@ckeditor/ckeditor5-paragraph": "43.0.0-alpha.6",
|
|
53
|
+
"@ckeditor/ckeditor5-select-all": "43.0.0-alpha.6",
|
|
54
|
+
"@ckeditor/ckeditor5-theme-lark": "43.0.0-alpha.6",
|
|
55
|
+
"@ckeditor/ckeditor5-typing": "43.0.0-alpha.6",
|
|
56
|
+
"@ckeditor/ckeditor5-ui": "43.0.0-alpha.6",
|
|
57
|
+
"@ckeditor/ckeditor5-undo": "43.0.0-alpha.6",
|
|
58
|
+
"@ckeditor/ckeditor5-utils": "43.0.0-alpha.6",
|
|
59
|
+
"ckeditor5": "43.0.0-alpha.6",
|
|
60
|
+
"ckeditor5-collaboration": "43.0.0-alpha.6",
|
|
61
61
|
"lodash-es": "4.17.21"
|
|
62
62
|
},
|
|
63
63
|
"types": "src/index.d.ts",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2a5d35=_0x49e0;(function(_0x4d7901,_0x8fdf58){const _0x17103e=_0x49e0,_0x7ea1e6=_0x4d7901();while(!![]){try{const _0x97c720=-parseInt(_0x17103e(0x1e5))/0x1+-parseInt(_0x17103e(0x1d8))/0x2+parseInt(_0x17103e(0x1ca))/0x3+-parseInt(_0x17103e(0x1d9))/0x4+-parseInt(_0x17103e(0x1e3))/0x5+-parseInt(_0x17103e(0x1d4))/0x6*(parseInt(_0x17103e(0x1c5))/0x7)+parseInt(_0x17103e(0x1e6))/0x8;if(_0x97c720===_0x8fdf58)break;else _0x7ea1e6['push'](_0x7ea1e6['shift']());}catch(_0x3b60dd){_0x7ea1e6['push'](_0x7ea1e6['shift']());}}}(_0x501d,0x28088));import{CKEditorError as _0x5fc2f,Rect as _0x8b99ea,Collection as _0x39209f,ObservableMixin as _0x5cc152}from'ckeditor5/src/utils.js';function _0x49e0(_0x49cc3f,_0x4b7ce2){const _0x501d91=_0x501d();return _0x49e0=function(_0x49e0db,_0x32204d){_0x49e0db=_0x49e0db-0x1c0;let _0x2404e7=_0x501d91[_0x49e0db];return _0x2404e7;},_0x49e0(_0x49cc3f,_0x4b7ce2);}export default class d extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5cc152(){constructor({view:_0x13529e,target:_0x2ef31d,type:_0x29437f,isVisible:_0x4750df=!0x0}){const _0x353bbc=_0x49e0;super(),this[_0x353bbc(0x1e7)]=_0x13529e,this[_0x353bbc(0x1e7)][_0x353bbc(0x1d0)]||this[_0x353bbc(0x1e7)][_0x353bbc(0x1e2)](),this[_0x353bbc(0x1cb)]=_0x29437f,this[_0x353bbc(0x1d7)]=_0x2ef31d,d[_0x353bbc(0x1e8)](this[_0x353bbc(0x1e9)]()),this[_0x353bbc(0x1d1)]=new _0x39209f([this[_0x353bbc(0x1e7)][_0x353bbc(0x1d0)]],{'idProperty':_0x353bbc(0x1ea)}),this[_0x353bbc(0x1d1)]['on'](_0x353bbc(0x1eb),(_0x4904a1,_0x3d501f)=>{const _0x44ff61=_0x353bbc;this[_0x44ff61(0x1e7)][_0x44ff61(0x1d5)][_0x44ff61(0x1eb)](_0x3d501f);}),this[_0x353bbc(0x1d1)]['on'](_0x353bbc(0x1cd),(_0x4c626a,_0x3ebf31)=>{const _0x1916a5=_0x353bbc;this[_0x1916a5(0x1e7)][_0x1916a5(0x1d5)][_0x1916a5(0x1cd)](_0x3ebf31);}),this[_0x353bbc(0x1c9)](_0x353bbc(0x1db),_0x4750df);}get[_0x2a5d35(0x1de)](){const _0x32e29d=_0x2a5d35;return _0x32e29d(0x1c1)==typeof this[_0x32e29d(0x1cb)]?this[_0x32e29d(0x1cb)]():this[_0x32e29d(0x1cb)];}get[_0x2a5d35(0x1cf)](){const _0x20c537=_0x2a5d35;return this[_0x20c537(0x1e7)][_0x20c537(0x1cc)];}get[_0x2a5d35(0x1c7)](){const _0x47dbb3=_0x2a5d35,_0x667141=this[_0x47dbb3(0x1e9)]();return d[_0x47dbb3(0x1e8)](_0x667141),_0x667141;}get[_0x2a5d35(0x1c4)](){const _0x293ab1=_0x2a5d35,_0x243069=this[_0x293ab1(0x1c7)];if(null===_0x243069)return null;if(_0x243069 instanceof _0x8b99ea)return _0x243069;const _0x3769a3=_0x243069[_0x293ab1(0x1c3)](_0x3da8d6=>function(_0x2aa9b9){const _0xb69cc5=_0x293ab1,_0x382be7=_0x2aa9b9[_0xb69cc5(0x1c8)];if(_0x382be7)return!0x0;const _0x587486=_0x2aa9b9[_0xb69cc5(0x1d6)]()[_0xb69cc5(0x1dd)](0x0);return!!_0x587486;}(_0x3da8d6));return 0x0===_0x3769a3[_0x293ab1(0x1e1)]?null:new _0x8b99ea(_0x3769a3[0x0][_0x293ab1(0x1d6)]()[_0x293ab1(0x1dd)](0x0));}get[_0x2a5d35(0x1ce)](){const _0x2e9f5c=_0x2a5d35;return this[_0x2e9f5c(0x1e7)][_0x2e9f5c(0x1ce)];}set[_0x2a5d35(0x1ce)](_0x12eb1e){const _0x24fd7b=_0x2a5d35;this[_0x24fd7b(0x1e7)][_0x24fd7b(0x1ce)]=_0x12eb1e,this[_0x24fd7b(0x1e7)][_0x24fd7b(0x1cc)][_0x24fd7b(0x1ce)]=_0x12eb1e;}[_0x2a5d35(0x1da)](){const _0x2c8cbf=_0x2a5d35;this[_0x2c8cbf(0x1e7)][_0x2c8cbf(0x1c4)]=this[_0x2c8cbf(0x1c4)];}[_0x2a5d35(0x1e4)](){const _0x45ac0c=_0x2a5d35;this[_0x45ac0c(0x1d1)][_0x45ac0c(0x1df)](),this[_0x45ac0c(0x1d1)][_0x45ac0c(0x1dc)](),this[_0x45ac0c(0x1df)]();}[_0x2a5d35(0x1e0)](){const _0x464e1e=_0x2a5d35;this[_0x464e1e(0x1db)]=!!this[_0x464e1e(0x1c4)];}static[_0x2a5d35(0x1e8)](_0x2d7c7a){const _0x1fea52=_0x2a5d35;if(!(null===_0x2d7c7a||_0x2d7c7a instanceof _0x8b99ea||Array[_0x1fea52(0x1d2)](_0x2d7c7a)&&_0x2d7c7a[_0x1fea52(0x1c6)](_0x546551=>y(_0x546551))))throw new _0x5fc2f(_0x1fea52(0x1c2),null,{'target':_0x2d7c7a});}[_0x2a5d35(0x1e9)](){const _0x175c6e=_0x2a5d35,_0x3d3559=_0x175c6e(0x1c1)==typeof this[_0x175c6e(0x1d7)]?this[_0x175c6e(0x1d7)]():this[_0x175c6e(0x1d7)];return y(_0x3d3559)?[_0x3d3559]:_0x3d3559;}}function y(_0x377996){const _0xca0dbf=_0x2a5d35;return null!==_0x377996&&_0xca0dbf(0x1c0)==typeof _0x377996&&_0xca0dbf(0x1d3)in _0x377996&&0x1===_0x377996[_0xca0dbf(0x1d3)];}function _0x501d(){const _0x5f382a=['targetRect','203FoEuHW','every','target','offsetParent','set','172383aCkHsy','_type','mainView','remove','isActive','innerView','element','focusableElements','isArray','nodeType','17286VKsbhd','focusTracker','getClientRects','_target','192862EnLgvh','1043608EjWagT','updateTargetRect','isVisible','clear','item','type','stopListening','refreshVisibility','length','render','867120vZpdSA','destroy','140386znxSUU','6889656mEqfgK','view','_assertCorrectTarget','_getNormalizedTarget','_id','add','object','function','annotation-invalid-target','filter'];_0x501d=function(){return _0x5f382a;};return _0x501d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x34759c=_0x4ae2;function _0x3ba8(){const _0x16e949=['1835vzZGsj','remove','listenTo','focus','51LIoAYl','get','6uybbAa','946MGavnp','_viewToAnnotation','top','from','change:isFocused','length','299306HRwcyZ','blur','_focusTracker','4048389pTfyFn','destroy','320440LcOSvt','view','fire','_sort','getIndex','239276aguWdk','90gjfrDu','updateTargetRect','refreshPositioning','_getOrderInContent','add','targetRect','innerView','stopListening','12167904LeLSlI','8oZDErj','isFocused','delete','sort','959761ZSeubI','getByView','set','has','annotationcollection-not-existing-item','_innerViewToAnnotation','left','annotationcollection-duplicated-item','clear','focusTracker','focusableElements','getByInnerView'];_0x3ba8=function(){return _0x16e949;};return _0x3ba8();}(function(_0x9043b4,_0x4d1d56){const _0x320c4d=_0x4ae2,_0x289de7=_0x9043b4();while(!![]){try{const _0x21dd62=-parseInt(_0x320c4d(0x11e))/0x1*(parseInt(_0x320c4d(0x125))/0x2)+-parseInt(_0x320c4d(0x122))/0x3*(-parseInt(_0x320c4d(0x135))/0x4)+-parseInt(_0x320c4d(0x130))/0x5+parseInt(_0x320c4d(0x124))/0x6*(-parseInt(_0x320c4d(0x12b))/0x7)+-parseInt(_0x320c4d(0x13f))/0x8*(-parseInt(_0x320c4d(0x12e))/0x9)+parseInt(_0x320c4d(0x136))/0xa*(-parseInt(_0x320c4d(0x143))/0xb)+parseInt(_0x320c4d(0x13e))/0xc;if(_0x21dd62===_0x4d1d56)break;else _0x289de7['push'](_0x289de7['shift']());}catch(_0x5ae6ce){_0x289de7['push'](_0x289de7['shift']());}}}(_0x3ba8,0xaff24));function _0x4ae2(_0x1ac245,_0x130170){const _0x3ba892=_0x3ba8();return _0x4ae2=function(_0x4ae2eb,_0x412669){_0x4ae2eb=_0x4ae2eb-0x116;let _0x1ec11d=_0x3ba892[_0x4ae2eb];return _0x1ec11d;},_0x4ae2(_0x1ac245,_0x130170);}import{CKEditorError as _0x24aef6,Collection as _0x74f78e,FocusTracker as _0x56d3f0}from'ckeditor5/src/utils.js';export default class x extends _0x74f78e{constructor(_0x34d576=[]){const _0x4c0b1b=_0x4ae2;super(),this[_0x4c0b1b(0x117)]=new Map(),this[_0x4c0b1b(0x126)]=new Map(),this[_0x4c0b1b(0x12d)]=new _0x56d3f0(),this[_0x4c0b1b(0x12d)]['on'](_0x4c0b1b(0x129),(_0x5a61b0,_0x39e477,_0x3a75a1)=>{const _0x3a7cfd=_0x4c0b1b;_0x3a75a1||this[_0x3a7cfd(0x132)](_0x3a7cfd(0x12c));});for(const _0x5b2c8f of _0x34d576)this[_0x4c0b1b(0x13a)](_0x5b2c8f);}get[_0x34759c(0x140)](){const _0x2136e9=_0x34759c;return this[_0x2136e9(0x12d)][_0x2136e9(0x140)];}[_0x34759c(0x13a)](_0xf5363b){const _0x9a11a9=_0x34759c;if(this[_0x9a11a9(0x146)](_0xf5363b))throw new _0x24aef6(_0x9a11a9(0x119),null);this[_0x9a11a9(0x117)][_0x9a11a9(0x145)](_0xf5363b[_0x9a11a9(0x13c)],_0xf5363b),this[_0x9a11a9(0x126)][_0x9a11a9(0x145)](_0xf5363b[_0x9a11a9(0x131)],_0xf5363b);for(const _0x991b25 of _0xf5363b[_0x9a11a9(0x11c)])this[_0x9a11a9(0x12d)][_0x9a11a9(0x13a)](_0x991b25);this[_0x9a11a9(0x120)](_0xf5363b[_0x9a11a9(0x11c)],_0x9a11a9(0x13a),(_0x2d5ba9,_0x22dc9)=>{const _0x3595b8=_0x9a11a9;this[_0x3595b8(0x12d)][_0x3595b8(0x13a)](_0x22dc9);}),this[_0x9a11a9(0x120)](_0xf5363b[_0x9a11a9(0x11c)],_0x9a11a9(0x11f),(_0x4ecf5d,_0x4003cc)=>{const _0x507039=_0x9a11a9;this[_0x507039(0x12d)][_0x507039(0x11f)](_0x4003cc);}),this[_0x9a11a9(0x120)](_0xf5363b[_0x9a11a9(0x131)][_0x9a11a9(0x11b)],_0x9a11a9(0x129),(_0x3eb7a4,_0x55214a,_0x25c17d)=>{const _0x44eb11=_0x9a11a9;_0x25c17d&&this[_0x44eb11(0x132)](_0x44eb11(0x121),_0xf5363b);}),_0xf5363b[_0x9a11a9(0x137)]();const _0x99e487=this[_0x9a11a9(0x139)](_0xf5363b[_0x9a11a9(0x131)][_0x9a11a9(0x13b)]);return super[_0x9a11a9(0x13a)](_0xf5363b,_0x99e487);}[_0x34759c(0x11f)](_0x18d80c){const _0x4199f8=_0x34759c;if(!this[_0x4199f8(0x146)](_0x18d80c))throw new _0x24aef6(_0x4199f8(0x116),null);this[_0x4199f8(0x13d)](_0x18d80c[_0x4199f8(0x131)][_0x4199f8(0x11b)]),this[_0x4199f8(0x13d)](_0x18d80c[_0x4199f8(0x11c)]);for(const _0x14a113 of _0x18d80c[_0x4199f8(0x11c)])this[_0x4199f8(0x12d)][_0x4199f8(0x11f)](_0x14a113);return this[_0x4199f8(0x126)][_0x4199f8(0x141)](_0x18d80c[_0x4199f8(0x131)]),this[_0x4199f8(0x117)][_0x4199f8(0x141)](_0x18d80c[_0x4199f8(0x13c)]),super[_0x4199f8(0x11f)](_0x18d80c);}[_0x34759c(0x11d)](_0x75ce2c){const _0x3feb4f=_0x34759c;return this[_0x3feb4f(0x117)][_0x3feb4f(0x123)](_0x75ce2c);}[_0x34759c(0x144)](_0x522e45){const _0x56fc36=_0x34759c;return this[_0x56fc36(0x126)][_0x56fc36(0x123)](_0x522e45);}[_0x34759c(0x12f)](){const _0x1e60b3=_0x34759c;super[_0x1e60b3(0x11a)](),this[_0x1e60b3(0x13d)](),this[_0x1e60b3(0x117)][_0x1e60b3(0x11a)](),this[_0x1e60b3(0x126)][_0x1e60b3(0x11a)](),this[_0x1e60b3(0x12d)][_0x1e60b3(0x12f)]();}[_0x34759c(0x138)](){const _0x396df6=_0x34759c;for(const _0x1da265 of this)_0x1da265[_0x396df6(0x137)]();this[_0x396df6(0x133)]();}[_0x34759c(0x133)](){const _0x2e7a9b=_0x34759c,_0x347ae3=Array[_0x2e7a9b(0x128)](this)[_0x2e7a9b(0x142)]((_0x5ad727,_0x246deb)=>v(_0x5ad727[_0x2e7a9b(0x131)][_0x2e7a9b(0x13b)],_0x246deb[_0x2e7a9b(0x131)][_0x2e7a9b(0x13b)]));for(let _0x256dab=_0x347ae3[_0x2e7a9b(0x12a)]-0x1;_0x256dab>0x0;_0x256dab--){const _0x6a96c6=_0x347ae3[_0x256dab];_0x256dab!==this[_0x2e7a9b(0x134)](_0x6a96c6)&&(this[_0x2e7a9b(0x11f)](_0x6a96c6),this[_0x2e7a9b(0x13a)](_0x6a96c6));}}[_0x34759c(0x139)](_0x1d15c3){const _0x5f451a=_0x34759c;let _0x18e1c2=0x0;if(!_0x1d15c3)return this[_0x5f451a(0x12a)];for(const _0x1f7e3d of this){const _0x10f17e=_0x1f7e3d[_0x5f451a(0x131)][_0x5f451a(0x13b)];if(_0x10f17e){if(v(_0x1d15c3,_0x10f17e)<0x0)return _0x18e1c2;_0x18e1c2++;}}return _0x18e1c2;}}export function bindAnnotationCollections({source:_0x4c3449,target:_0x192fb4,filter:_0x3672e0}){const _0x370038=_0x34759c;for(const _0x305d0f of _0x4c3449)_0x3672e0(_0x305d0f)&&_0x192fb4[_0x370038(0x13a)](_0x305d0f);_0x192fb4[_0x370038(0x120)](_0x4c3449,_0x370038(0x13a),(_0x53c854,_0x1a6600)=>{const _0x492799=_0x370038;_0x3672e0(_0x1a6600)&&_0x192fb4[_0x492799(0x13a)](_0x1a6600);}),_0x192fb4[_0x370038(0x120)](_0x4c3449,_0x370038(0x11f),(_0x15adac,_0x414f5e)=>{const _0xb38955=_0x370038;_0x192fb4[_0xb38955(0x146)](_0x414f5e)&&_0x192fb4[_0xb38955(0x11f)](_0x414f5e);});}function v(_0x1e0e88,_0x30487f){const _0x281ae2=_0x34759c;if(null===_0x1e0e88&&null===_0x30487f)return 0x0;if(null===_0x1e0e88)return-0x1;if(null===_0x30487f)return 0x1;const _0x1fb1fb=_0x1e0e88[_0x281ae2(0x127)]-_0x30487f[_0x281ae2(0x127)];return 0x0==_0x1fb1fb?_0x1e0e88[_0x281ae2(0x118)]-_0x30487f[_0x281ae2(0x118)]:_0x1fb1fb;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x190e78=_0x50e0;(function(_0x2d15a9,_0x6d2736){const _0x2084de=_0x50e0,_0x5f8162=_0x2d15a9();while(!![]){try{const _0x157b2c=-parseInt(_0x2084de(0x8e))/0x1*(-parseInt(_0x2084de(0xb9))/0x2)+parseInt(_0x2084de(0x7d))/0x3*(-parseInt(_0x2084de(0x9f))/0x4)+-parseInt(_0x2084de(0x7c))/0x5*(-parseInt(_0x2084de(0xb1))/0x6)+-parseInt(_0x2084de(0x8f))/0x7*(parseInt(_0x2084de(0x90))/0x8)+-parseInt(_0x2084de(0xab))/0x9+-parseInt(_0x2084de(0x89))/0xa*(parseInt(_0x2084de(0x9c))/0xb)+parseInt(_0x2084de(0xa9))/0xc*(parseInt(_0x2084de(0xb2))/0xd);if(_0x157b2c===_0x6d2736)break;else _0x5f8162['push'](_0x5f8162['shift']());}catch(_0x33658b){_0x5f8162['push'](_0x5f8162['shift']());}}}(_0x1122,0xe0784));import{ContextPlugin as _0x3ddc44,Editor as _0x55679e}from'ckeditor5/src/core.js';import _0x2604d5 from'./annotation.js';function _0x50e0(_0x4a5654,_0x32e04a){const _0x112284=_0x1122();return _0x50e0=function(_0x50e02e,_0x41dc51){_0x50e02e=_0x50e02e-0x7c;let _0x5053f6=_0x112284[_0x50e02e];return _0x5053f6;},_0x50e0(_0x4a5654,_0x32e04a);}import _0x5bc765 from'./annotationcollection.js';import _0x2ba763 from'./view/annotationview.js';function _0x1122(){const _0x3ba36a=['_removeActiveAnnotation','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS','view','Ctrl+Enter','692758ABJvTT','source','Shift+Tab','6997225sjreYW','58137gKVmif','isVisible','Tab','Ctrl+Shift+E','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT','createAnnotationView','Annotations','listenTo','deactivateAll','remove','activate','createAnnotation','1649890TRGMXy','activeAnnotations','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER','Arrowdown','refreshVisibility','5xxgByr','14Guiqvs','6129232pxEQjD','refreshPositioning','_activateAnnotation','getByInnerView','pluginName','stopListening','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO','fire','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS','add','focusTracker','_addActiveAnnotation','121KSpORf','_visibleAnnotations','accessibility','368fUfDkQ','set','locale','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT','change:isVisible','addKeystrokeInfoGroup','Esc','_deactivateAllAnnotations','annotations','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP','12tfkWFt','Arrowup','6530472fkCZnl','collection','_bindAnnotationsToVisibleAnnotations','delete','destroy','Enter','6Qpuait','47368763ianPyf','has','element'];_0x1122=function(){return _0x3ba36a;};return _0x1122();}import{getTranslation as _0x112287}from'../utils/common-translations.js';export default class _ extends _0x3ddc44{static get[_0x190e78(0x94)](){const _0x5e1788=_0x190e78;return _0x5e1788(0x83);}constructor(_0x2fa9b1){const _0x560228=_0x190e78;if(super(_0x2fa9b1),this[_0x560228(0xac)]=new _0x5bc765(),this[_0x560228(0x9d)]=new _0x5bc765(),this[_0x560228(0xa0)](_0x560228(0x8a),new Set()),this[_0x560228(0xad)](),_0x2fa9b1 instanceof _0x55679e){const _0x3e15fe=_0x2fa9b1[_0x560228(0xa1)];_0x2fa9b1[_0x560228(0x9e)][_0x560228(0xa4)]({'id':_0x560228(0xa7),'label':_0x112287(_0x3e15fe,_0x560228(0xa8)),'keystrokes':[{'label':_0x112287(_0x3e15fe,_0x560228(0x96)),'keystroke':_0x560228(0x80)},{'label':_0x112287(_0x3e15fe,_0x560228(0x81)),'keystroke':_0x560228(0xa5)},{'label':_0x112287(_0x3e15fe,_0x560228(0x8b)),'keystroke':_0x560228(0xb0)},{'label':_0x112287(_0x3e15fe,_0x560228(0xb6)),'keystroke':[[_0x560228(0x7f)],[_0x560228(0xbb)]]},{'label':_0x112287(_0x3e15fe,_0x560228(0xa2)),'keystroke':[_0x560228(0xb8)]},{'label':_0x112287(_0x3e15fe,_0x560228(0x98)),'keystroke':[[_0x560228(0xaa)],[_0x560228(0x8c)]]}]});}}[_0x190e78(0x99)](_0x300c10){const _0x4655fd=_0x190e78;this[_0x4655fd(0xac)][_0x4655fd(0x99)](_0x300c10);}[_0x190e78(0x86)](_0x145c28){const _0x4c0249=_0x190e78;this[_0x4c0249(0xac)][_0x4c0249(0x86)](_0x145c28),_0x145c28[_0x4c0249(0xaf)]();}[_0x190e78(0x8d)](){const _0x3a799d=_0x190e78;for(const _0x31bca7 of this[_0x3a799d(0xac)])_0x31bca7[_0x3a799d(0x8d)]();}[_0x190e78(0x91)](){const _0x4d0003=_0x190e78;this[_0x4d0003(0x9d)][_0x4d0003(0x91)]();}[_0x190e78(0x93)](_0x8f024a){const _0x3a3f39=_0x190e78;return this[_0x3a3f39(0xac)][_0x3a3f39(0x93)](_0x8f024a);}[_0x190e78(0x85)](){const _0x4ed5e2=_0x190e78;this[_0x4ed5e2(0x97)](_0x4ed5e2(0xa6));}[_0x190e78(0xaf)](){const _0x5f318a=_0x190e78;for(const _0x54f4d7 of this[_0x5f318a(0xac)])_0x54f4d7[_0x5f318a(0xaf)]();this[_0x5f318a(0x9d)][_0x5f318a(0xaf)](),this[_0x5f318a(0xac)][_0x5f318a(0xaf)](),super[_0x5f318a(0xaf)]();}[_0x190e78(0x87)](_0x56dce8){const _0x580df0=_0x190e78;this[_0x580df0(0x97)](_0x580df0(0x92),_0x56dce8);}[_0x190e78(0x88)](_0xacf1d){return new _0x2604d5(_0xacf1d);}[_0x190e78(0x82)](_0x3064e7,_0x305cc9){return new _0x2ba763(_0x3064e7,_0x305cc9);}[_0x190e78(0x9b)](_0x3afe4d){const _0x59f35a=_0x190e78,_0x4ef33b=new Set(this[_0x59f35a(0x8a)]);_0x4ef33b[_0x59f35a(0x99)](_0x3afe4d),this[_0x59f35a(0x8a)]=_0x4ef33b;}[_0x190e78(0xb5)](_0x4fcd9a){const _0x5dd207=_0x190e78,_0x391f2c=new Set(this[_0x5dd207(0x8a)]);_0x391f2c[_0x5dd207(0xae)](_0x4fcd9a),this[_0x5dd207(0x8a)]=_0x391f2c;}[_0x190e78(0xad)](){const _0x4b0aa5=_0x190e78,_0x3752e=this[_0x4b0aa5(0xac)],_0x385651=this[_0x4b0aa5(0x9d)];function _0x1051cc(_0x965c0c){const _0x3cc11d=_0x4b0aa5,_0x3f7cc9=_0x965c0c[_0x3cc11d(0xba)];_0x3f7cc9[_0x3cc11d(0x7e)]&&!_0x385651[_0x3cc11d(0xb3)](_0x3f7cc9)?_0x385651[_0x3cc11d(0x99)](_0x3f7cc9):!_0x3f7cc9[_0x3cc11d(0x7e)]&&_0x385651[_0x3cc11d(0xb3)](_0x3f7cc9)&&_0x385651[_0x3cc11d(0x86)](_0x3f7cc9),_0x3f7cc9[_0x3cc11d(0xb7)][_0x3cc11d(0x9a)][_0x3cc11d(0x86)](_0x3f7cc9[_0x3cc11d(0xb7)][_0x3cc11d(0xb4)]),_0x3f7cc9[_0x3cc11d(0xb7)][_0x3cc11d(0x9a)][_0x3cc11d(0x99)](_0x3f7cc9[_0x3cc11d(0xb7)][_0x3cc11d(0xb4)]);}this[_0x4b0aa5(0x84)](_0x3752e,_0x4b0aa5(0x99),(_0x5ef6e0,_0x251b97)=>{const _0x561775=_0x4b0aa5;_0x251b97[_0x561775(0x7e)]&&_0x385651[_0x561775(0x99)](_0x251b97),this[_0x561775(0x84)](_0x251b97,_0x561775(0xa3),_0x1051cc);}),this[_0x4b0aa5(0x84)](_0x3752e,_0x4b0aa5(0x86),(_0x3eca5e,_0x518377)=>{const _0x525c87=_0x4b0aa5;_0x385651[_0x525c87(0xb3)](_0x518377)&&_0x385651[_0x525c87(0x86)](_0x518377),this[_0x525c87(0x95)](_0x518377,_0x525c87(0xa3),_0x1051cc);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a38a0=_0x327a;(function(_0x45ed28,_0x3e8167){const _0x5588fa=_0x327a,_0x1102a7=_0x45ed28();while(!![]){try{const _0x11db92=-parseInt(_0x5588fa(0x168))/0x1*(parseInt(_0x5588fa(0x141))/0x2)+-parseInt(_0x5588fa(0x134))/0x3*(parseInt(_0x5588fa(0x15d))/0x4)+parseInt(_0x5588fa(0x148))/0x5+-parseInt(_0x5588fa(0x149))/0x6+-parseInt(_0x5588fa(0x151))/0x7*(-parseInt(_0x5588fa(0x161))/0x8)+-parseInt(_0x5588fa(0x13c))/0x9+parseInt(_0x5588fa(0x145))/0xa;if(_0x11db92===_0x3e8167)break;else _0x1102a7['push'](_0x1102a7['shift']());}catch(_0x44d054){_0x1102a7['push'](_0x1102a7['shift']());}}}(_0x2110,0x93bb2));function _0x327a(_0x39c6d1,_0x4411ce){const _0x211064=_0x2110();return _0x327a=function(_0x327aae,_0x58b72f){_0x327aae=_0x327aae-0x132;let _0x537c97=_0x211064[_0x327aae];return _0x537c97;},_0x327a(_0x39c6d1,_0x4411ce);}import{ContextPlugin as _0x519074}from'ckeditor5/src/core.js';import{CKEditorError as _0xa436ee}from'ckeditor5/src/utils.js';import _0x27df9b,{bindAnnotationCollections as _0x142a0f}from'./annotationcollection.js';import _0x3de622 from'./annotations.js';export default class j extends _0x519074{static get[_0x3a38a0(0x160)](){return[_0x3de622];}static get[_0x3a38a0(0x155)](){const _0x185972=_0x3a38a0;return _0x185972(0x14e);}constructor(_0x55138b){const _0x36aaf6=_0x3a38a0;super(_0x55138b),this[_0x36aaf6(0x15b)]=new Set(),this[_0x36aaf6(0x15e)]=new Map(),this[_0x36aaf6(0x16d)]=new Map();}[_0x3a38a0(0x13a)](){const _0x584690=_0x3a38a0,_0x155f82=this[_0x584690(0x154)][_0x584690(0x16e)][_0x584690(0x150)](_0x3de622);this[_0x584690(0x16c)](_0x155f82,_0x584690(0x162),(_0x3dc65d,_0x7fbbfc)=>{const _0x14f093=_0x584690;for(const _0x4941e8 of this[_0x14f093(0x15b)]){const _0x27f231=this[_0x14f093(0x15e)][_0x14f093(0x150)](_0x4941e8);(0x0,this[_0x14f093(0x16d)][_0x14f093(0x150)](_0x4941e8)[_0x14f093(0x15f)])(_0x7fbbfc)&&_0x27f231[_0x14f093(0x139)](_0x7fbbfc);}}),this[_0x584690(0x16c)](_0x155f82,_0x584690(0x13e),()=>{const _0x5aaeb6=_0x584690;for(const _0x585215 of this[_0x5aaeb6(0x15b)]){this[_0x5aaeb6(0x15e)][_0x5aaeb6(0x150)](_0x585215)[_0x5aaeb6(0x139)](null);}}),this[_0x584690(0x16c)](_0x155f82[_0x584690(0x144)],_0x584690(0x159),(_0x2c4eb1,_0x72a20a)=>{const _0x3cb0fc=_0x584690;this[_0x3cb0fc(0x166)](_0x72a20a);});}[_0x3a38a0(0x140)](){const _0x2da266=_0x3a38a0;return this[_0x2da266(0x15b)][_0x2da266(0x16b)]>0x0;}[_0x3a38a0(0x138)](_0x325e63){const _0x4c2007=_0x3a38a0;return this[_0x4c2007(0x15b)][_0x4c2007(0x163)](_0x325e63);}[_0x3a38a0(0x167)](_0x419f9b,_0x1c2a01=()=>!0x0){const _0x54b4dc=_0x3a38a0,_0x3b877f=this[_0x54b4dc(0x154)][_0x54b4dc(0x16e)][_0x54b4dc(0x150)](_0x3de622);if(!this[_0x54b4dc(0x15e)][_0x54b4dc(0x163)](_0x419f9b))throw new _0xa436ee(_0x54b4dc(0x14b),this,{'uiName':_0x419f9b});this[_0x54b4dc(0x138)](_0x419f9b)&&this[_0x54b4dc(0x13d)](_0x419f9b),this[_0x54b4dc(0x15b)][_0x54b4dc(0x159)](_0x419f9b);const _0x5f15f5=new _0x27df9b(),_0x9716d5=_0x3b877f[_0x54b4dc(0x144)];_0x142a0f({'source':_0x9716d5,'target':_0x5f15f5,'filter':_0x1c2a01}),this[_0x54b4dc(0x16d)][_0x54b4dc(0x14a)](_0x419f9b,{'collection':_0x5f15f5,'filter':_0x1c2a01});const _0x403126=this[_0x54b4dc(0x15e)][_0x54b4dc(0x150)](_0x419f9b);_0x403126[_0x54b4dc(0x156)](_0x5f15f5),this[_0x54b4dc(0x16c)](_0x403126,_0x54b4dc(0x132),(_0x569892,_0x33ab8c,_0x552d65,_0x3c6cbb)=>{const _0x35c940=_0x54b4dc;_0x3c6cbb&&_0x3b877f[_0x35c940(0x146)](_0x3c6cbb),_0x552d65&&_0x3b877f[_0x35c940(0x133)](_0x552d65);});}[_0x3a38a0(0x13d)](_0x25da04){const _0x384e32=_0x3a38a0;if(this[_0x384e32(0x15b)][_0x384e32(0x152)](_0x25da04),!this[_0x384e32(0x15e)][_0x384e32(0x163)](_0x25da04))throw new _0xa436ee(_0x384e32(0x14b),this,{'uiName':_0x25da04});const _0x3b5c4f=this[_0x384e32(0x15e)][_0x384e32(0x150)](_0x25da04);_0x3b5c4f[_0x384e32(0x169)](),this[_0x384e32(0x14d)](_0x3b5c4f),this[_0x384e32(0x16d)][_0x384e32(0x150)](_0x25da04)[_0x384e32(0x147)][_0x384e32(0x158)](),this[_0x384e32(0x16d)][_0x384e32(0x152)](_0x25da04);}[_0x3a38a0(0x16a)](_0x3998d8){const _0x110bbc=_0x3a38a0;if(!this[_0x110bbc(0x15e)][_0x110bbc(0x163)](_0x3998d8))throw new _0xa436ee(_0x110bbc(0x14b),this,{'uiName':_0x3998d8});const _0x479e9d=this[_0x110bbc(0x154)][_0x110bbc(0x16e)][_0x110bbc(0x150)](_0x3de622),_0x475c62=Array[_0x110bbc(0x14c)](_0x479e9d[_0x110bbc(0x157)])[0x0]||null;this[_0x110bbc(0x14f)](),this[_0x110bbc(0x167)](_0x3998d8);const _0x3d6c71=this[_0x110bbc(0x15e)][_0x110bbc(0x150)](_0x3998d8);_0x3d6c71[_0x110bbc(0x139)](_0x475c62),_0x3d6c71[_0x110bbc(0x135)]&&_0x475c62&&_0x3d6c71[_0x110bbc(0x135)]([_0x475c62]);}[_0x3a38a0(0x14f)](){const _0x558499=_0x3a38a0;for(const _0x39ff0c of this[_0x558499(0x15b)])this[_0x558499(0x13d)](_0x39ff0c);}[_0x3a38a0(0x15c)](_0x19f28f,_0x69a553){const _0x226820=_0x3a38a0;if(this[_0x226820(0x15e)][_0x226820(0x163)](_0x19f28f))throw new _0xa436ee(_0x226820(0x165));if(_0x226820(0x13b)!=typeof _0x69a553[_0x226820(0x156)]||_0x226820(0x13b)!=typeof _0x69a553[_0x226820(0x169)]||_0x226820(0x13b)!=typeof _0x69a553[_0x226820(0x139)])throw new _0xa436ee(_0x226820(0x137),null);this[_0x226820(0x15e)][_0x226820(0x14a)](_0x19f28f,_0x69a553);}[_0x3a38a0(0x136)](){const _0x203f7b=_0x3a38a0,_0x105bd3=this[_0x203f7b(0x154)][_0x203f7b(0x16e)][_0x203f7b(0x150)](_0x3de622)[_0x203f7b(0x147)],_0xcbe971=new Map(),_0x3ba4fe=Array[_0x203f7b(0x14c)](this[_0x203f7b(0x15b)]);for(const _0x1de089 of this[_0x203f7b(0x15b)]){const _0x1e6345=this[_0x203f7b(0x16d)][_0x203f7b(0x150)](_0x1de089)[_0x203f7b(0x147)];for(const _0x41066f of _0x1e6345)_0xcbe971[_0x203f7b(0x14a)](_0x41066f,_0x1de089);}for(const _0x1d8720 of _0x105bd3){const _0x27ebc2=_0xcbe971[_0x203f7b(0x150)](_0x1d8720);this[_0x203f7b(0x166)](_0x1d8720);const _0x2b5c73=_0x3ba4fe[_0x203f7b(0x15a)](_0x2962f7=>this[_0x203f7b(0x16d)][_0x203f7b(0x150)](_0x2962f7)[_0x203f7b(0x15f)](_0x1d8720));_0x27ebc2!==_0x2b5c73&&(_0x27ebc2&&this[_0x203f7b(0x16d)][_0x203f7b(0x150)](_0x27ebc2)[_0x203f7b(0x147)][_0x203f7b(0x13f)](_0x1d8720),_0x2b5c73&&this[_0x203f7b(0x16d)][_0x203f7b(0x150)](_0x2b5c73)[_0x203f7b(0x147)][_0x203f7b(0x159)](_0x1d8720));}}[_0x3a38a0(0x158)](){const _0x95040=_0x3a38a0;this[_0x95040(0x14f)](),super[_0x95040(0x158)]();}[_0x3a38a0(0x166)](_0x117f65){const _0x19457e=_0x3a38a0,_0x17b2ff=[];for(const _0x3a92bd of this[_0x19457e(0x15b)]){(0x0,this[_0x19457e(0x16d)][_0x19457e(0x150)](_0x3a92bd)[_0x19457e(0x15f)])(_0x117f65)&&_0x17b2ff[_0x19457e(0x142)](_0x3a92bd);}if(_0x17b2ff[_0x19457e(0x153)]>0x1)throw new _0xa436ee(_0x19457e(0x164),null,{'matchedUIs':_0x17b2ff,'annotationType':_0x117f65[_0x19457e(0x143)]});}}function _0x2110(){const _0x2e820=['42FpRlWV','push','type','_visibleAnnotations','28591710cAzejZ','_removeActiveAnnotation','collection','2877340CeMZsU','5070228IiKjlQ','set','annotationsuis-missing-ui','from','stopListening','AnnotationsUIs','deactivateAll','get','842989bpOXDx','delete','length','context','pluginName','attach','activeAnnotations','destroy','add','find','activeUIs','register','103756aiPXbF','_uis','filter','requires','32dVpBzD','_activateAnnotation','has','annotationsuis-annotation-mismatch','annotationsuis-register-already-registered','_assertAnnotationDoesNotBelongToMultipleUIs','activate','32735RTJzin','detach','switchTo','size','listenTo','_uisData','plugins','change:activeAnnotation','_addActiveAnnotation','99nexLOh','_setSelectedAnnotations','refilterAnnotations','annotationsuis-register-invalid-interface','isActive','setActiveAnnotation','init','function','8305029MCvfvY','deactivate','_deactivateAllAnnotations','remove','hasActive'];_0x2110=function(){return _0x2e820;};return _0x2110();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e00fa=_0x6db2;(function(_0x2c9f64,_0x24f8e7){const _0x5c5233=_0x6db2,_0x2b4355=_0x2c9f64();while(!![]){try{const _0x4d7a61=parseInt(_0x5c5233(0xe4))/0x1*(parseInt(_0x5c5233(0xdf))/0x2)+parseInt(_0x5c5233(0xbe))/0x3+parseInt(_0x5c5233(0xb7))/0x4*(-parseInt(_0x5c5233(0xcc))/0x5)+parseInt(_0x5c5233(0xf3))/0x6*(parseInt(_0x5c5233(0xc6))/0x7)+-parseInt(_0x5c5233(0xbd))/0x8*(-parseInt(_0x5c5233(0xbb))/0x9)+parseInt(_0x5c5233(0xe5))/0xa*(parseInt(_0x5c5233(0xb9))/0xb)+-parseInt(_0x5c5233(0xc1))/0xc*(parseInt(_0x5c5233(0xdd))/0xd);if(_0x4d7a61===_0x24f8e7)break;else _0x2b4355['push'](_0x2b4355['shift']());}catch(_0x2a577f){_0x2b4355['push'](_0x2b4355['shift']());}}}(_0x5d49,0x38b59));import{Plugin as _0x47f9dd}from'ckeditor5/src/core.js';function _0x6db2(_0x5d973a,_0x42ffdb){const _0x5d4910=_0x5d49();return _0x6db2=function(_0x6db2b2,_0x2743bf){_0x6db2b2=_0x6db2b2-0xb4;let _0x3c392b=_0x5d4910[_0x6db2b2];return _0x3c392b;},_0x6db2(_0x5d973a,_0x42ffdb);}import{CKEditorError as _0x3357c3}from'ckeditor5/src/utils.js';import{debounce as _0x1af33f}from'lodash-es';function _0x5d49(){const _0x1bab5e=['getOrderedSelectedAnnotations','map','registerAnnotation','getRanges','isCollapsed','containsRange','cancel','model','18978ZFuOnL','refresh','remove','innerView','_editorAnnotations','delete','1590868kjNrkx','directChange','11zedgyi','selection','247158OVYsNw','blur','16QRzSeH','1045206hXhzCw','isReadOnly','set','4801884azfHWy','EditorAnnotations','getByInnerView','fire','editing','623jYrLyp','init','_dataCollectors','view','sort','uiUpdate','5axdIrT','push','element','_editorAnnotationsData','update','isEqual','plugins','requires','listenTo','editorannotations-invalid-source-callback','change:isFocused','add','hasDomSelection','get','has','collection','annotation','26dwWuey','addSourceCollector','102CwBCtO','change:range','editor','focusTracker','from','8992FPOVWn','2868870RoRXkE','function','refreshSelectedViews','pluginName','range','document'];_0x5d49=function(){return _0x1bab5e;};return _0x5d49();}import _0x506cb3 from'./annotations.js';export default class b extends _0x47f9dd{static get[_0x1e00fa(0xd3)](){return[_0x506cb3];}static get[_0x1e00fa(0xe8)](){const _0x3528b5=_0x1e00fa;return _0x3528b5(0xc2);}constructor(_0x448c02){const _0x1da5a5=_0x1e00fa;super(_0x448c02),this[_0x1da5a5(0xc8)]=new Set(),this[_0x1da5a5(0xb5)]=new Set();}[_0x1e00fa(0xc7)](){const _0x561a1c=_0x1e00fa,_0x1d0326=this[_0x561a1c(0xe1)],_0x3d3d6b=_0x1d0326[_0x561a1c(0xf2)][_0x561a1c(0xea)][_0x561a1c(0xba)],_0x351922=_0x1af33f(()=>this[_0x561a1c(0xe7)](),0xa);_0x3d3d6b['on'](_0x561a1c(0xe0),(_0x3b177f,_0x4db305)=>{const _0x3bd761=_0x561a1c;_0x4db305[_0x3bd761(0xb8)]&&(_0x351922[_0x3bd761(0xf1)](),this[_0x3bd761(0xe7)]());}),this[_0x561a1c(0xd4)](_0x1d0326[_0x561a1c(0xc5)][_0x561a1c(0xc9)][_0x561a1c(0xea)],_0x561a1c(0xd6),(_0x3c37e1,_0x54da57,_0xea2a5a)=>{_0xea2a5a&&_0x351922();}),this[_0x561a1c(0xd4)](_0x1d0326['ui'][_0x561a1c(0xe2)],_0x561a1c(0xd6),(_0x4633c5,_0x1b8985,_0x2bab87)=>{const _0x386337=_0x561a1c;_0x2bab87||_0x1d0326[_0x386337(0xbf)]||this[_0x386337(0xc4)](_0x386337(0xbc),{'isAnnotationTracked':_0x3ed0b0=>this[_0x386337(0xcf)][_0x386337(0xda)](_0x3ed0b0[_0x386337(0xb4)])});}),this[_0x561a1c(0xd4)](this[_0x561a1c(0xe1)]['ui'],_0x561a1c(0xd0),()=>this[_0x561a1c(0xc4)](_0x561a1c(0xcb)));}[_0x1e00fa(0xed)](_0x84d685){const _0x44a13e=_0x1e00fa;if(this[_0x44a13e(0xb5)][_0x44a13e(0xda)](_0x84d685[_0x44a13e(0xc9)]))return;this[_0x44a13e(0xb5)][_0x44a13e(0xd7)](_0x84d685[_0x44a13e(0xc9)]),this[_0x44a13e(0xe1)]['ui'][_0x44a13e(0xe2)][_0x44a13e(0xd7)](_0x84d685[_0x44a13e(0xc9)][_0x44a13e(0xce)]);const _0x67fc8b=this[_0x44a13e(0xe1)][_0x44a13e(0xd2)][_0x44a13e(0xd9)](_0x506cb3);this[_0x44a13e(0xd4)](_0x67fc8b[_0x44a13e(0xdb)],_0x44a13e(0xf5),(_0x200773,_0x33cfa5)=>{const _0x3f0780=_0x44a13e;this[_0x3f0780(0xe1)]['ui'][_0x3f0780(0xe2)][_0x3f0780(0xf5)](_0x33cfa5[_0x3f0780(0xc9)][_0x3f0780(0xce)]),this[_0x3f0780(0xb5)][_0x3f0780(0xb6)](_0x33cfa5[_0x3f0780(0xc9)]);});}[_0x1e00fa(0xd8)](){const _0x1ed5fa=_0x1e00fa;return this[_0x1ed5fa(0xe1)][_0x1ed5fa(0xc5)][_0x1ed5fa(0xc9)][_0x1ed5fa(0xd8)];}[_0x1e00fa(0xde)](_0x59dcda){const _0xa518f2=_0x1e00fa;if(_0xa518f2(0xe6)!=typeof _0x59dcda)throw new _0x3357c3(_0xa518f2(0xd5));this[_0xa518f2(0xc8)][_0xa518f2(0xd7)](_0x59dcda);}[_0x1e00fa(0xe7)](){const _0x12dd7d=_0x1e00fa;this[_0x12dd7d(0xc4)](_0x12dd7d(0xf4));}[_0x1e00fa(0xeb)]({activeAnnotation:_0x281a42,annotations:_0x20ac95}){const _0x244f10=_0x1e00fa,_0x1ddb34=[],_0x12790c=this[_0x244f10(0xe1)][_0x244f10(0xf2)][_0x244f10(0xea)][_0x244f10(0xba)],_0x4f581f=Array[_0x244f10(0xe3)](_0x12790c[_0x244f10(0xee)]());for(const [_0x552829,_0x597f30]of this[_0x244f10(0xcf)]){const _0x5719f5=_0x4dc6c8(_0x597f30),_0xaec749=_0x20ac95[_0x244f10(0xc3)](_0x552829);_0x5719f5&&_0xaec749&&_0x1ddb34[_0x244f10(0xcd)]({'annotation':_0xaec749,'range':_0x5719f5});}function _0x4dc6c8(_0x291f1e){const _0x1c0464=_0x244f10;for(const _0x11ffb5 of _0x291f1e)for(const _0x7256e9 of _0x4f581f)if(_0x11ffb5[_0x1c0464(0xf0)](_0x7256e9,!_0x12790c[_0x1c0464(0xef)]))return _0x11ffb5;return null;}return _0x1ddb34[_0x244f10(0xca)]((_0x5f07e4,_0x5f3172)=>{const _0x2cfd7b=_0x244f10,_0x2b1490=_0x5f07e4[_0x2cfd7b(0xe9)],_0x3e4ee6=_0x5f3172[_0x2cfd7b(0xe9)];if(!_0x2b1490[_0x2cfd7b(0xd1)](_0x3e4ee6)){if(_0x2b1490[_0x2cfd7b(0xf0)](_0x3e4ee6,!0x0))return 0x1;if(_0x3e4ee6[_0x2cfd7b(0xf0)](_0x2b1490,!0x0))return-0x1;}return _0x5f07e4[_0x2cfd7b(0xdc)]==_0x281a42?-0x1:_0x5f3172[_0x2cfd7b(0xdc)]==_0x281a42?0x1:0x0;})[_0x244f10(0xec)](_0x518f1f=>_0x518f1f[_0x244f10(0xdc)]);}get[_0x1e00fa(0xcf)](){const _0x3ea96f=_0x1e00fa,_0x529eca=new Map();for(const _0x43a58b of Array[_0x3ea96f(0xe3)](this[_0x3ea96f(0xc8)]))for(const [_0x4278ad,_0x22015d]of _0x43a58b())_0x529eca[_0x3ea96f(0xc0)](_0x4278ad,_0x22015d);return _0x529eca;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x243392=_0x221b;(function(_0x418901,_0x33c8c5){const _0xba5f25=_0x221b,_0x4db5d3=_0x418901();while(!![]){try{const _0x55a0ce=-parseInt(_0xba5f25(0xa4))/0x1*(-parseInt(_0xba5f25(0xc1))/0x2)+parseInt(_0xba5f25(0xae))/0x3+-parseInt(_0xba5f25(0xeb))/0x4*(-parseInt(_0xba5f25(0xbe))/0x5)+parseInt(_0xba5f25(0xc2))/0x6*(-parseInt(_0xba5f25(0xb4))/0x7)+parseInt(_0xba5f25(0x8f))/0x8+-parseInt(_0xba5f25(0x96))/0x9+-parseInt(_0xba5f25(0x8c))/0xa;if(_0x55a0ce===_0x33c8c5)break;else _0x4db5d3['push'](_0x4db5d3['shift']());}catch(_0x499847){_0x4db5d3['push'](_0x4db5d3['shift']());}}}(_0x580e,0x48a5e));function _0x580e(){const _0x13a82f=['Esc','getOrderedSelectedAnnotations','detach','_removeAnnotationFromBalloon','19948EBsBmX','find','5408630MpTTbn','_manuallyClosed','view','1941048yIlmsx','getClientRects','targetRect','has','requires','init','map','2374983DWidBh','editor','_closeAnnotation','delete','plugins','domConverter','set','updatePosition','width','isActive','remove','push','selection','top','529479LZoAyI','includes','change:height','getByView','attach','focus','visibleView','inlineannotations-attach-already-attached','_addAnnotationToBalloon','_getBalloonTargetForAnnotation','326172XmYQNq','getBoundingClientRect','refresh','setActiveAnnotation','annotations','_balloon','464905jcdneT','editing','get','focusTracker','_setSelectedAnnotations','destroy','from','switchTo','activeAnnotation','add','555bqPxUF','listenTo','length','2FXAEMc','30YTdQwQ','inline','editableElement','afterInit','every','left','update','viewRangeToDom','document','_forceRefresh','register','target','InlineAnnotations','fromRect','change:visibleView','isAttached','getFirstRange','keystrokes','blur','pluginName','right','clear','inlineannotations-not-allowed-with-context','hasActive','_selectedAnnotations','_addedAnnotations','collapse','change:isFocused','context','bottom','isFocused','inlineannotations-detach-not-attached','addObserver','hasView','mousedown','stopListening','showStack'];_0x580e=function(){return _0x13a82f;};return _0x580e();}import{Plugin as _0xa44062}from'ckeditor5/src/core.js';import _0x4fe821 from'./annotationsuis.js';function _0x221b(_0x112f00,_0xa3af6){const _0x580e5a=_0x580e();return _0x221b=function(_0x221bdc,_0x972bfc){_0x221bdc=_0x221bdc-0x8c;let _0x4f39d4=_0x580e5a[_0x221bdc];return _0x4f39d4;},_0x221b(_0x112f00,_0xa3af6);}import _0x5e0ef7 from'./editorannotations.js';import{ContextualBalloon as _0x41104b}from'ckeditor5/src/ui.js';import{MouseObserver as _0x53e0c7}from'ckeditor5/src/engine.js';import{CKEditorError as _0x2a6383,Rect as _0x493a25}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0xa44062{static get[_0x243392(0x93)](){return[_0x5e0ef7,_0x41104b,_0x4fe821];}static get[_0x243392(0xd5)](){const _0x28f5b9=_0x243392;return _0x28f5b9(0xce);}constructor(_0x26aab7){const _0x1bb2ee=_0x243392;super(_0x26aab7),_0x26aab7[_0x1bb2ee(0xb5)][_0x1bb2ee(0x8e)][_0x1bb2ee(0xe2)](_0x53e0c7),this[_0x1bb2ee(0xd1)]=!0x1,this[_0x1bb2ee(0x9c)](_0x1bb2ee(0xbc),null),this[_0x1bb2ee(0xb2)]=null,this[_0x1bb2ee(0x8d)]=new Set(),this[_0x1bb2ee(0xb3)]=_0x26aab7[_0x1bb2ee(0x9a)][_0x1bb2ee(0xb6)](_0x41104b),this[_0x1bb2ee(0xdb)]=new Set(),this[_0x1bb2ee(0xda)]=[],this[_0x1bb2ee(0xcb)]=!0x1;}[_0x243392(0x94)](){const _0x1329fb=_0x243392,_0x492a50=this[_0x1329fb(0x97)][_0x1329fb(0x9a)][_0x1329fb(0xb6)](_0x4fe821);_0x492a50[_0x1329fb(0xde)]===this[_0x1329fb(0x97)]&&(_0x492a50[_0x1329fb(0xcc)](_0x1329fb(0xc3),this),this[_0x1329fb(0x97)][_0x1329fb(0xd3)][_0x1329fb(0x9c)](_0x1329fb(0xe7),(_0x5dc962,_0x50f7af)=>{const _0x23df70=_0x1329fb,_0x3f79ab=this[_0x23df70(0xb3)];if(this[_0x23df70(0xd1)]&&_0x3f79ab[_0x23df70(0xaa)]){const _0x5d1e0e=this[_0x23df70(0xb2)][_0x23df70(0xa7)](_0x3f79ab[_0x23df70(0xaa)]);_0x5d1e0e&&this[_0x23df70(0x98)](_0x5d1e0e),_0x50f7af();}}));}[_0x243392(0xc5)](){const _0x872c1c=_0x243392,_0xa8b4c5=this[_0x872c1c(0x97)][_0x872c1c(0x9a)][_0x872c1c(0xb6)](_0x4fe821);_0xa8b4c5[_0x872c1c(0xde)]===this[_0x872c1c(0x97)]&&(_0xa8b4c5[_0x872c1c(0xd9)]()||_0xa8b4c5[_0x872c1c(0xbb)](_0x872c1c(0xc3)));}[_0x243392(0xb1)](_0x40cba0){const _0x434380=_0x243392;_0x40cba0!==this[_0x434380(0xbc)]&&(this[_0x434380(0xbc)]&&(this[_0x434380(0xbc)][_0x434380(0x9f)]=!0x1),_0x40cba0&&this[_0x434380(0x97)]['ui'][_0x434380(0xb7)][_0x434380(0xe0)]&&(this[_0x434380(0xb2)][_0x434380(0x92)](_0x40cba0)&&this[_0x434380(0xac)](_0x40cba0,!0x0),_0x40cba0[_0x434380(0x9f)]=!0x0),_0x40cba0||this[_0x434380(0xb8)]([]),this[_0x434380(0xbc)]=_0x40cba0);}[_0x243392(0xa8)](_0x5b619f){const _0x34575b=_0x243392;this[_0x34575b(0xb2)]=_0x5b619f;const _0x4f294d=this[_0x34575b(0x97)][_0x34575b(0x9a)][_0x34575b(0xb6)](_0x4fe821),_0x28700f=this[_0x34575b(0xb3)];if(this[_0x34575b(0xd1)])throw new _0x2a6383(_0x34575b(0xab),this);if(_0x4f294d[_0x34575b(0xde)]!==this[_0x34575b(0x97)])throw new _0x2a6383(_0x34575b(0xd8),this);const _0x2d0e25=this[_0x34575b(0x97)][_0x34575b(0x9a)][_0x34575b(0xb6)](_0x5e0ef7);this[_0x34575b(0xbf)](_0x2d0e25,_0x34575b(0xb0),()=>{const _0x114e0a=_0x34575b,_0x226514=_0x2d0e25[_0x114e0a(0xe8)]({'annotations':this[_0x114e0a(0xb2)],'activeAnnotation':this[_0x114e0a(0xbc)]});var _0x69e12d,_0x48c864;!this[_0x114e0a(0xcb)]&&(_0x69e12d=_0x226514,_0x48c864=this[_0x114e0a(0xda)],_0x69e12d[_0x114e0a(0xc0)]===_0x48c864[_0x114e0a(0xc0)]&&_0x69e12d[_0x114e0a(0xc6)](_0x7b174f=>_0x48c864[_0x114e0a(0xa5)](_0x7b174f)))||(this[_0x114e0a(0xcb)]=!0x1,this[_0x114e0a(0xb8)](_0x226514),this[_0x114e0a(0xb1)](_0x226514[0x0]||null));}),this[_0x34575b(0xbf)](_0x2d0e25,_0x34575b(0xd4),(_0x582cf6,{isAnnotationTracked:_0x8bc122})=>{const _0x3f4d0d=_0x34575b;this[_0x3f4d0d(0xbc)]&&_0x8bc122(this[_0x3f4d0d(0xbc)])&&(this[_0x3f4d0d(0xb8)]([]),this[_0x3f4d0d(0xb1)](null));}),this[_0x34575b(0xbf)](this[_0x34575b(0x97)]['ui'][_0x34575b(0xb7)],_0x34575b(0xdd),(_0xce7726,_0x10f359,_0x48c449)=>{const _0x4d473d=_0x34575b;_0x48c449||this[_0x4d473d(0xb1)](null);}),this[_0x34575b(0xbf)](_0x5b619f,_0x34575b(0xa0),(_0xf0dc95,_0x1c73a6)=>{const _0x49d913=_0x34575b;this[_0x49d913(0xea)](_0x1c73a6),_0x1c73a6===this[_0x49d913(0xbc)]&&this[_0x49d913(0xb1)](null);}),this[_0x34575b(0xbf)](_0x28700f,_0x34575b(0xd0),(_0x47efe2,_0x453cb9,_0x2d4ebf,_0x4ee320)=>{const _0x110a65=_0x34575b;_0x4ee320&&this[_0x110a65(0xe5)](_0x4ee320);const _0x17ed4b=_0x5b619f[_0x110a65(0xa7)](_0x2d4ebf);_0x2d4ebf&&_0x17ed4b&&(this[_0x110a65(0xbf)](_0x2d4ebf,_0x110a65(0xa6),()=>{const _0x18c723=_0x110a65;_0x28700f[_0x18c723(0x9d)]();}),this[_0x110a65(0xbf)](_0x2d4ebf,_0x110a65(0xe7),()=>{const _0x279fc5=_0x110a65;this[_0x279fc5(0x98)](_0x17ed4b),this[_0x279fc5(0x97)][_0x279fc5(0xb5)][_0x279fc5(0x8e)][_0x279fc5(0xa9)]();}),this[_0x110a65(0xbc)]!==_0x17ed4b&&this[_0x110a65(0xb1)](_0x17ed4b));}),this[_0x34575b(0xbf)](this[_0x34575b(0x97)]['ui'],_0x34575b(0xc8),()=>{const _0x55f29e=_0x34575b;_0x28700f[_0x55f29e(0xaa)]&&(_0x5b619f[_0x55f29e(0xa7)](_0x28700f[_0x55f29e(0xaa)])&&_0x28700f[_0x55f29e(0x9d)]());}),this[_0x34575b(0xbf)](this[_0x34575b(0x97)][_0x34575b(0xb5)][_0x34575b(0x8e)][_0x34575b(0xca)],_0x34575b(0xe4),()=>{const _0x581b1a=_0x34575b;this[_0x581b1a(0xcb)]=!0x0,this[_0x581b1a(0x8d)][_0x581b1a(0xd7)]();}),this[_0x34575b(0x97)][_0x34575b(0xb5)][_0x34575b(0x8e)][_0x34575b(0xca)][_0x34575b(0xa2)][_0x34575b(0xc4)]&&this[_0x34575b(0x97)][_0x34575b(0xb5)][_0x34575b(0x8e)][_0x34575b(0xa9)](),this[_0x34575b(0xd1)]=!0x0;}[_0x243392(0xe9)](){const _0x20af3d=_0x243392;if(!this[_0x20af3d(0xd1)])throw new _0x2a6383(_0x20af3d(0xe1),this);this[_0x20af3d(0xb1)](null);for(const _0x156574 of this[_0x20af3d(0xdb)])this[_0x20af3d(0xea)](_0x156574);this[_0x20af3d(0xe5)](),this[_0x20af3d(0xd1)]=!0x1,this[_0x20af3d(0xb2)]=null;}[_0x243392(0xb9)](){const _0x53a9eb=_0x243392;this[_0x53a9eb(0xd1)]&&this[_0x53a9eb(0xe9)]();}[_0x243392(0xb8)](_0x207787){const _0x15ebd6=_0x243392;for(const _0x5c4baf of this[_0x15ebd6(0xda)])_0x207787[_0x15ebd6(0xa5)](_0x5c4baf)||this[_0x15ebd6(0x8d)][_0x15ebd6(0x99)](_0x5c4baf);for(const _0x3bb18e of this[_0x15ebd6(0xb2)])_0x207787[_0x15ebd6(0xa5)](_0x3bb18e)||this[_0x15ebd6(0xea)](_0x3bb18e);if(this[_0x15ebd6(0x97)]['ui'][_0x15ebd6(0xb7)][_0x15ebd6(0xe0)]){for(const _0xe19b49 of _0x207787)this[_0x15ebd6(0xac)](_0xe19b49);}this[_0x15ebd6(0xda)]=_0x207787;}[_0x243392(0xac)](_0x54e1ef,_0x51ff83=!0x1){const _0xaf07ea=_0x243392;this[_0xaf07ea(0x8d)][_0xaf07ea(0x92)](_0x54e1ef)||(this[_0xaf07ea(0xdb)][_0xaf07ea(0x92)](_0x54e1ef)||this[_0xaf07ea(0xb3)][_0xaf07ea(0xe3)](_0x54e1ef[_0xaf07ea(0x8e)])||(this[_0xaf07ea(0xdb)][_0xaf07ea(0xbd)](_0x54e1ef),this[_0xaf07ea(0xb3)][_0xaf07ea(0xbd)]({'stackId':_0x54e1ef[_0xaf07ea(0x8e)]['id'],'view':_0x54e1ef[_0xaf07ea(0x8e)],'position':{'target':()=>this[_0xaf07ea(0xad)](_0x54e1ef)}})),_0x51ff83&&this[_0xaf07ea(0xb3)][_0xaf07ea(0xe6)](_0x54e1ef[_0xaf07ea(0x8e)]['id']));}[_0x243392(0xad)](_0x13c658){const _0x509f15=_0x243392,_0x2c38da=_0x13c658[_0x509f15(0xcd)],_0x2f7f26=this[_0x509f15(0x97)][_0x509f15(0xb5)][_0x509f15(0x8e)],_0x3c72f0=_0x2f7f26[_0x509f15(0xca)][_0x509f15(0xa2)][_0x509f15(0xd2)](),_0x4fa298=_0x2f7f26[_0x509f15(0x9b)][_0x509f15(0xc9)](_0x3c72f0);if(_0x4fa298[_0x509f15(0xdc)](!0x0),_0x2c38da){if(_0x2c38da instanceof _0x493a25)return _0x2c38da;let _0x4c9278=[];for(const _0x2cfcd8 of _0x2c38da)_0x4c9278[_0x509f15(0xa1)](...(_0x318fb3=_0x2cfcd8[_0x509f15(0x90)](),Array[_0x509f15(0xba)](_0x318fb3)[_0x509f15(0x95)](DOMRect[_0x509f15(0xcf)])));_0x4c9278=function(_0x490dce){const _0x5e86db=_0x509f15,_0x3492c3=[];let _0x1ea73a=_0x490dce[0x0];for(let _0x1fcf47=0x1;_0x1fcf47<_0x490dce[_0x5e86db(0xc0)];_0x1fcf47++)E(_0x1ea73a,_0x490dce[_0x1fcf47])?_0x1ea73a[_0x5e86db(0x9e)]+=_0x490dce[_0x1fcf47][_0x5e86db(0x9e)]:(_0x3492c3[_0x5e86db(0xa1)](_0x1ea73a),_0x1ea73a=_0x490dce[_0x1fcf47]);return _0x3492c3[_0x5e86db(0xa1)](_0x1ea73a),_0x3492c3;}(_0x4c9278);const _0xfca976=_0x4fa298[_0x509f15(0xaf)]();return _0x4c9278[_0x509f15(0xec)](_0x441743=>_0x441743[_0x509f15(0xa3)]<=_0xfca976[_0x509f15(0xa3)]&&_0x441743[_0x509f15(0xdf)]>=_0xfca976[_0x509f15(0xdf)]&&_0x441743[_0x509f15(0xc7)]<=_0xfca976[_0x509f15(0xc7)]&&_0x441743[_0x509f15(0xd6)]>=_0xfca976[_0x509f15(0xd6)])||_0x4c9278[0x0];}var _0x318fb3;return _0x13c658[_0x509f15(0x91)]||_0x4fa298;}[_0x243392(0xea)](_0xe27e9f){const _0x38cb82=_0x243392;this[_0x38cb82(0xdb)][_0x38cb82(0x92)](_0xe27e9f)&&this[_0x38cb82(0xb3)][_0x38cb82(0xe3)](_0xe27e9f[_0x38cb82(0x8e)])&&(this[_0x38cb82(0xdb)][_0x38cb82(0x99)](_0xe27e9f),this[_0x38cb82(0xb3)][_0x38cb82(0xa0)](_0xe27e9f[_0x38cb82(0x8e)]));}[_0x243392(0x98)](_0x4fa535){const _0x4d4597=_0x243392;this[_0x4d4597(0x8d)][_0x4d4597(0xbd)](_0x4fa535),this[_0x4d4597(0xea)](_0x4fa535);}}function E(_0x2585b0,_0x51b777){const _0x369a79=_0x243392;return _0x2585b0[_0x369a79(0xa3)]===_0x51b777[_0x369a79(0xa3)]&&_0x2585b0[_0x369a79(0xdf)]===_0x51b777[_0x369a79(0xdf)]&&_0x2585b0[_0x369a79(0xd6)]===_0x51b777[_0x369a79(0xc7)];}
|
|
23
|
+
const _0x2d6224=_0x5787;(function(_0x5e0bd4,_0x58c315){const _0x4d9903=_0x5787,_0x6daa95=_0x5e0bd4();while(!![]){try{const _0x4ac1c0=-parseInt(_0x4d9903(0x11e))/0x1+-parseInt(_0x4d9903(0x11d))/0x2+parseInt(_0x4d9903(0x160))/0x3+-parseInt(_0x4d9903(0x149))/0x4*(-parseInt(_0x4d9903(0x16d))/0x5)+parseInt(_0x4d9903(0x12a))/0x6+-parseInt(_0x4d9903(0x116))/0x7+-parseInt(_0x4d9903(0x13c))/0x8*(parseInt(_0x4d9903(0x158))/0x9);if(_0x4ac1c0===_0x58c315)break;else _0x6daa95['push'](_0x6daa95['shift']());}catch(_0x58e984){_0x6daa95['push'](_0x6daa95['shift']());}}}(_0x272c,0xcd089));import{Plugin as _0x48faec}from'ckeditor5/src/core.js';import _0x17db8a from'./annotationsuis.js';function _0x5787(_0x23b6b5,_0x5af10a){const _0x272cd5=_0x272c();return _0x5787=function(_0x5787b4,_0x451f0e){_0x5787b4=_0x5787b4-0x110;let _0x373c2d=_0x272cd5[_0x5787b4];return _0x373c2d;},_0x5787(_0x23b6b5,_0x5af10a);}import _0x1481ce from'./editorannotations.js';import{ContextualBalloon as _0x981b05}from'ckeditor5/src/ui.js';import{MouseObserver as _0x38cff8}from'ckeditor5/src/engine.js';import{CKEditorError as _0x652779,Rect as _0x2363f8}from'ckeditor5/src/utils.js';function _0x272c(){const _0x231095=['change:isFocused','blur','refresh','selection','top','editableElement','5252275OhhjSH','context','InlineAnnotations','activeAnnotation','getClientRects','_manuallyClosed','switchTo','1560902sZLzAK','653006UcYoxl','remove','afterInit','listenTo','Esc','_balloon','includes','right','change:height','targetRect','addObserver','every','8266764ADZfHi','init','editing','_getBalloonTargetForAnnotation','length','_closeAnnotation','visibleView','isActive','hasActive','document','getByView','from','view','pluginName','_forceRefresh','getBoundingClientRect','clear','viewRangeToDom','4458176JXRqdC','_removeAnnotationFromBalloon','target','add','_addAnnotationToBalloon','width','annotations','attach','keystrokes','updatePosition','getOrderedSelectedAnnotations','requires','plugins','2226748aXrTnh','set','find','focusTracker','stopListening','update','has','isFocused','isAttached','inline','domConverter','setActiveAnnotation','fromRect','bottom','map','9MgfARc','register','inlineannotations-attach-already-attached','hasView','destroy','showStack','push','collapse','4939170Mrcfft','change:visibleView','editor','_selectedAnnotations','inlineannotations-not-allowed-with-context','get','detach','focus','_addedAnnotations','getFirstRange','inlineannotations-detach-not-attached','delete','mousedown','5uZbrqv','_setSelectedAnnotations','left'];_0x272c=function(){return _0x231095;};return _0x272c();}import'./../../theme/annotation-inline.css';export default class c extends _0x48faec{static get[_0x2d6224(0x147)](){return[_0x1481ce,_0x981b05,_0x17db8a];}static get[_0x2d6224(0x137)](){const _0x3f46b1=_0x2d6224;return _0x3f46b1(0x118);}constructor(_0x6f64dc){const _0x340d95=_0x2d6224;super(_0x6f64dc),_0x6f64dc[_0x340d95(0x12c)][_0x340d95(0x136)][_0x340d95(0x128)](_0x38cff8),this[_0x340d95(0x151)]=!0x1,this[_0x340d95(0x14a)](_0x340d95(0x119),null),this[_0x340d95(0x142)]=null,this[_0x340d95(0x11b)]=new Set(),this[_0x340d95(0x123)]=_0x6f64dc[_0x340d95(0x148)][_0x340d95(0x165)](_0x981b05),this[_0x340d95(0x168)]=new Set(),this[_0x340d95(0x163)]=[],this[_0x340d95(0x138)]=!0x1;}[_0x2d6224(0x12b)](){const _0x2e5243=_0x2d6224,_0xfeca89=this[_0x2e5243(0x162)][_0x2e5243(0x148)][_0x2e5243(0x165)](_0x17db8a);_0xfeca89[_0x2e5243(0x117)]===this[_0x2e5243(0x162)]&&(_0xfeca89[_0x2e5243(0x159)](_0x2e5243(0x152),this),this[_0x2e5243(0x162)][_0x2e5243(0x144)][_0x2e5243(0x14a)](_0x2e5243(0x122),(_0x4acdf1,_0x3d16c4)=>{const _0x41ba19=_0x2e5243,_0x27bec9=this[_0x41ba19(0x123)];if(this[_0x41ba19(0x151)]&&_0x27bec9[_0x41ba19(0x130)]){const _0xad39d7=this[_0x41ba19(0x142)][_0x41ba19(0x134)](_0x27bec9[_0x41ba19(0x130)]);_0xad39d7&&this[_0x41ba19(0x12f)](_0xad39d7),_0x3d16c4();}}));}[_0x2d6224(0x120)](){const _0x27d75f=_0x2d6224,_0x5c3574=this[_0x27d75f(0x162)][_0x27d75f(0x148)][_0x27d75f(0x165)](_0x17db8a);_0x5c3574[_0x27d75f(0x117)]===this[_0x27d75f(0x162)]&&(_0x5c3574[_0x27d75f(0x132)]()||_0x5c3574[_0x27d75f(0x11c)](_0x27d75f(0x152)));}[_0x2d6224(0x154)](_0x5f48f1){const _0x2c6ef3=_0x2d6224;_0x5f48f1!==this[_0x2c6ef3(0x119)]&&(this[_0x2c6ef3(0x119)]&&(this[_0x2c6ef3(0x119)][_0x2c6ef3(0x131)]=!0x1),_0x5f48f1&&this[_0x2c6ef3(0x162)]['ui'][_0x2c6ef3(0x14c)][_0x2c6ef3(0x150)]&&(this[_0x2c6ef3(0x142)][_0x2c6ef3(0x14f)](_0x5f48f1)&&this[_0x2c6ef3(0x140)](_0x5f48f1,!0x0),_0x5f48f1[_0x2c6ef3(0x131)]=!0x0),_0x5f48f1||this[_0x2c6ef3(0x16e)]([]),this[_0x2c6ef3(0x119)]=_0x5f48f1);}[_0x2d6224(0x143)](_0x2917c7){const _0x36845c=_0x2d6224;this[_0x36845c(0x142)]=_0x2917c7;const _0x19a976=this[_0x36845c(0x162)][_0x36845c(0x148)][_0x36845c(0x165)](_0x17db8a),_0x536348=this[_0x36845c(0x123)];if(this[_0x36845c(0x151)])throw new _0x652779(_0x36845c(0x15a),this);if(_0x19a976[_0x36845c(0x117)]!==this[_0x36845c(0x162)])throw new _0x652779(_0x36845c(0x164),this);const _0x183cb9=this[_0x36845c(0x162)][_0x36845c(0x148)][_0x36845c(0x165)](_0x1481ce);this[_0x36845c(0x121)](_0x183cb9,_0x36845c(0x112),()=>{const _0x43f855=_0x36845c,_0x2403e2=_0x183cb9[_0x43f855(0x146)]({'annotations':this[_0x43f855(0x142)],'activeAnnotation':this[_0x43f855(0x119)]});var _0x881095,_0x2acdc1;!this[_0x43f855(0x138)]&&(_0x881095=_0x2403e2,_0x2acdc1=this[_0x43f855(0x163)],_0x881095[_0x43f855(0x12e)]===_0x2acdc1[_0x43f855(0x12e)]&&_0x881095[_0x43f855(0x129)](_0x12c6ac=>_0x2acdc1[_0x43f855(0x124)](_0x12c6ac)))||(this[_0x43f855(0x138)]=!0x1,this[_0x43f855(0x16e)](_0x2403e2),this[_0x43f855(0x154)](_0x2403e2[0x0]||null));}),this[_0x36845c(0x121)](_0x183cb9,_0x36845c(0x111),(_0x468123,{isAnnotationTracked:_0x5b512e})=>{const _0x51d703=_0x36845c;this[_0x51d703(0x119)]&&_0x5b512e(this[_0x51d703(0x119)])&&(this[_0x51d703(0x16e)]([]),this[_0x51d703(0x154)](null));}),this[_0x36845c(0x121)](this[_0x36845c(0x162)]['ui'][_0x36845c(0x14c)],_0x36845c(0x110),(_0x41f7c3,_0x5cfd24,_0x4be9c9)=>{const _0x10c386=_0x36845c;_0x4be9c9||this[_0x10c386(0x154)](null);}),this[_0x36845c(0x121)](_0x2917c7,_0x36845c(0x11f),(_0x417220,_0x4ed2ba)=>{const _0x1b8c9f=_0x36845c;this[_0x1b8c9f(0x13d)](_0x4ed2ba),_0x4ed2ba===this[_0x1b8c9f(0x119)]&&this[_0x1b8c9f(0x154)](null);}),this[_0x36845c(0x121)](_0x536348,_0x36845c(0x161),(_0x20b5c5,_0x5b099a,_0x99f317,_0x1eab24)=>{const _0x47bf7d=_0x36845c;_0x1eab24&&this[_0x47bf7d(0x14d)](_0x1eab24);const _0x4bf86c=_0x2917c7[_0x47bf7d(0x134)](_0x99f317);_0x99f317&&_0x4bf86c&&(this[_0x47bf7d(0x121)](_0x99f317,_0x47bf7d(0x126),()=>{const _0x2b2902=_0x47bf7d;_0x536348[_0x2b2902(0x145)]();}),this[_0x47bf7d(0x121)](_0x99f317,_0x47bf7d(0x122),()=>{const _0x4051b8=_0x47bf7d;this[_0x4051b8(0x12f)](_0x4bf86c),this[_0x4051b8(0x162)][_0x4051b8(0x12c)][_0x4051b8(0x136)][_0x4051b8(0x167)]();}),this[_0x47bf7d(0x119)]!==_0x4bf86c&&this[_0x47bf7d(0x154)](_0x4bf86c));}),this[_0x36845c(0x121)](this[_0x36845c(0x162)]['ui'],_0x36845c(0x14e),()=>{const _0x5c49e2=_0x36845c;_0x536348[_0x5c49e2(0x130)]&&(_0x2917c7[_0x5c49e2(0x134)](_0x536348[_0x5c49e2(0x130)])&&_0x536348[_0x5c49e2(0x145)]());}),this[_0x36845c(0x121)](this[_0x36845c(0x162)][_0x36845c(0x12c)][_0x36845c(0x136)][_0x36845c(0x133)],_0x36845c(0x16c),()=>{const _0x236647=_0x36845c;this[_0x236647(0x138)]=!0x0,this[_0x236647(0x11b)][_0x236647(0x13a)]();}),this[_0x36845c(0x162)][_0x36845c(0x12c)][_0x36845c(0x136)][_0x36845c(0x133)][_0x36845c(0x113)][_0x36845c(0x115)]&&this[_0x36845c(0x162)][_0x36845c(0x12c)][_0x36845c(0x136)][_0x36845c(0x167)](),this[_0x36845c(0x151)]=!0x0;}[_0x2d6224(0x166)](){const _0x414f05=_0x2d6224;if(!this[_0x414f05(0x151)])throw new _0x652779(_0x414f05(0x16a),this);this[_0x414f05(0x154)](null);for(const _0x39a4a1 of this[_0x414f05(0x168)])this[_0x414f05(0x13d)](_0x39a4a1);this[_0x414f05(0x14d)](),this[_0x414f05(0x151)]=!0x1,this[_0x414f05(0x142)]=null;}[_0x2d6224(0x15c)](){const _0x197a35=_0x2d6224;this[_0x197a35(0x151)]&&this[_0x197a35(0x166)]();}[_0x2d6224(0x16e)](_0x2925cf){const _0x118ba2=_0x2d6224;for(const _0x225b25 of this[_0x118ba2(0x163)])_0x2925cf[_0x118ba2(0x124)](_0x225b25)||this[_0x118ba2(0x11b)][_0x118ba2(0x16b)](_0x225b25);for(const _0x1d4aa0 of this[_0x118ba2(0x142)])_0x2925cf[_0x118ba2(0x124)](_0x1d4aa0)||this[_0x118ba2(0x13d)](_0x1d4aa0);if(this[_0x118ba2(0x162)]['ui'][_0x118ba2(0x14c)][_0x118ba2(0x150)]){for(const _0x423073 of _0x2925cf)this[_0x118ba2(0x140)](_0x423073);}this[_0x118ba2(0x163)]=_0x2925cf;}[_0x2d6224(0x140)](_0x544358,_0x112417=!0x1){const _0x31a24c=_0x2d6224;this[_0x31a24c(0x11b)][_0x31a24c(0x14f)](_0x544358)||(this[_0x31a24c(0x168)][_0x31a24c(0x14f)](_0x544358)||this[_0x31a24c(0x123)][_0x31a24c(0x15b)](_0x544358[_0x31a24c(0x136)])||(this[_0x31a24c(0x168)][_0x31a24c(0x13f)](_0x544358),this[_0x31a24c(0x123)][_0x31a24c(0x13f)]({'stackId':_0x544358[_0x31a24c(0x136)]['id'],'view':_0x544358[_0x31a24c(0x136)],'position':{'target':()=>this[_0x31a24c(0x12d)](_0x544358)}})),_0x112417&&this[_0x31a24c(0x123)][_0x31a24c(0x15d)](_0x544358[_0x31a24c(0x136)]['id']));}[_0x2d6224(0x12d)](_0x128907){const _0x9e70f0=_0x2d6224,_0x6ec6bd=_0x128907[_0x9e70f0(0x13e)],_0x25e2f6=this[_0x9e70f0(0x162)][_0x9e70f0(0x12c)][_0x9e70f0(0x136)],_0x5673f5=_0x25e2f6[_0x9e70f0(0x133)][_0x9e70f0(0x113)][_0x9e70f0(0x169)](),_0x189886=_0x25e2f6[_0x9e70f0(0x153)][_0x9e70f0(0x13b)](_0x5673f5);if(_0x189886[_0x9e70f0(0x15f)](!0x0),_0x6ec6bd){if(_0x6ec6bd instanceof _0x2363f8)return _0x6ec6bd;let _0x1a33ee=[];for(const _0x4c80e8 of _0x6ec6bd)_0x1a33ee[_0x9e70f0(0x15e)](...(_0x1ccbb1=_0x4c80e8[_0x9e70f0(0x11a)](),Array[_0x9e70f0(0x135)](_0x1ccbb1)[_0x9e70f0(0x157)](DOMRect[_0x9e70f0(0x155)])));_0x1a33ee=function(_0x12da86){const _0x24371e=_0x9e70f0,_0x2f5970=[];let _0x1c8bd3=_0x12da86[0x0];for(let _0x272074=0x1;_0x272074<_0x12da86[_0x24371e(0x12e)];_0x272074++)E(_0x1c8bd3,_0x12da86[_0x272074])?_0x1c8bd3[_0x24371e(0x141)]+=_0x12da86[_0x272074][_0x24371e(0x141)]:(_0x2f5970[_0x24371e(0x15e)](_0x1c8bd3),_0x1c8bd3=_0x12da86[_0x272074]);return _0x2f5970[_0x24371e(0x15e)](_0x1c8bd3),_0x2f5970;}(_0x1a33ee);const _0x322a91=_0x189886[_0x9e70f0(0x139)]();return _0x1a33ee[_0x9e70f0(0x14b)](_0x32473a=>_0x32473a[_0x9e70f0(0x114)]<=_0x322a91[_0x9e70f0(0x114)]&&_0x32473a[_0x9e70f0(0x156)]>=_0x322a91[_0x9e70f0(0x156)]&&_0x32473a[_0x9e70f0(0x16f)]<=_0x322a91[_0x9e70f0(0x16f)]&&_0x32473a[_0x9e70f0(0x125)]>=_0x322a91[_0x9e70f0(0x125)])||_0x1a33ee[0x0];}var _0x1ccbb1;return _0x128907[_0x9e70f0(0x127)]||_0x189886;}[_0x2d6224(0x13d)](_0x4badea){const _0x532176=_0x2d6224;this[_0x532176(0x168)][_0x532176(0x14f)](_0x4badea)&&this[_0x532176(0x123)][_0x532176(0x15b)](_0x4badea[_0x532176(0x136)])&&(this[_0x532176(0x168)][_0x532176(0x16b)](_0x4badea),this[_0x532176(0x123)][_0x532176(0x11f)](_0x4badea[_0x532176(0x136)]));}[_0x2d6224(0x12f)](_0x39259f){const _0x1ae202=_0x2d6224;this[_0x1ae202(0x11b)][_0x1ae202(0x13f)](_0x39259f),this[_0x1ae202(0x13d)](_0x39259f);}}function E(_0x43e738,_0x351651){const _0x5cff8d=_0x2d6224;return _0x43e738[_0x5cff8d(0x114)]===_0x351651[_0x5cff8d(0x114)]&&_0x43e738[_0x5cff8d(0x156)]===_0x351651[_0x5cff8d(0x156)]&&_0x43e738[_0x5cff8d(0x125)]===_0x351651[_0x5cff8d(0x16f)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xb6f737=_0x1004;(function(_0x1d4d0d,_0x35ffb1){const _0x57c24c=_0x1004,_0x2e1d73=_0x1d4d0d();while(!![]){try{const _0x4b214b=-parseInt(_0x57c24c(0xcf))/0x1*(parseInt(_0x57c24c(0xdc))/0x2)+parseInt(_0x57c24c(0xf4))/0x3*(-parseInt(_0x57c24c(0x9e))/0x4)+parseInt(_0x57c24c(0xd0))/0x5*(parseInt(_0x57c24c(0xd4))/0x6)+-parseInt(_0x57c24c(0xb9))/0x7*(parseInt(_0x57c24c(0xc6))/0x8)+-parseInt(_0x57c24c(0xf5))/0x9+-parseInt(_0x57c24c(0xdf))/0xa*(-parseInt(_0x57c24c(0xc7))/0xb)+parseInt(_0x57c24c(0xa5))/0xc*(parseInt(_0x57c24c(0xb3))/0xd);if(_0x4b214b===_0x35ffb1)break;else _0x2e1d73['push'](_0x2e1d73['shift']());}catch(_0x3395cb){_0x2e1d73['push'](_0x2e1d73['shift']());}}}(_0x20da,0x78864));import{ContextPlugin as _0x443e60,Context as _0x11b0ac}from'ckeditor5/src/core.js';import _0x19c974 from'./annotationsuis.js';import _0x374282 from'./sidebar.js';import _0x538367 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x425967,BodyCollection as _0x2c8b0f}from'ckeditor5/src/ui.js';import{CKEditorError as _0x37f8de,DomEmitterMixin as _0x52d3d0,keyCodes as _0x1525ca,Collection as _0x3b9dc9}from'ckeditor5/src/utils.js';function _0x1004(_0x2d29b2,_0x5ee9c3){const _0x20da9b=_0x20da();return _0x1004=function(_0x100498,_0x17253e){_0x100498=_0x100498-0x98;let _0x4cd7cc=_0x20da9b[_0x100498];return _0x4cd7cc;},_0x1004(_0x2d29b2,_0x5ee9c3);}import'../../theme/sidebar-narrow.css';import{debounce as _0x1aaab6}from'lodash-es';function _0x20da(){const _0xebbdb6=['_attachToContainer','getSidebarItemView','locale','init','set:container','register','_refreshPositioningDebounced','_updateBalloonPosition','6676JifliQ','detachFromDom','delete','execute','removeEventListener','values','first','409608bWFpPo','cancel','listenTo','southArrowNorthEast','off','pluginName','target','preventClosingBalloon','keydown','defaultPositions','focusableElements','number','Esc','northArrowSouthWest','533iqzHsA','requires','isAttached','refresh','from','_annotationToNarrowView','6698734hCQjJA','isVisible','unpin','find','narrowsidebar-detach-not-attached','esc','stopPropagation','attachToDom','blur','getByView','_attachListeners','_hideBalloon','mousedown','8ssWXLD','11kAhVRI','_refreshPositioning','NarrowSidebar','getOrderedSelectedAnnotations','activeAnnotation','stopListening','attach','editors','295qtKlKA','3704345aTcagC','focus','type','resize','6NRHUFS','destroy','has','southArrowNorthWest','_integrateWithEditorAnnotations','pin','change:container','clear','1042ZYWVvV','set','bodyCollection','5262580qXVrbS','remove','narrowsidebar-attach-already-attached','add','_manuallyClosedAnnotationViews','_domEmitter','_setSelectedAnnotations','addAnnotation','isDirty','_editorAnnotations','rearrange','annotations','contains','get','_detachListeners','northArrowSouthEast','uiUpdate','southArrowNorth','refreshPositioning','high','length','483oQEIcB','7142283SNKsfK','change:height','bind','content','keyCode','_annotations','_detachFromContainer','includes','narrowSidebar','stop','northArrowSouth','annotationType','_selectedAnnotations','plugins','ck-sidebar--narrow','detach','balloonPanelView','create','ready','low','context','_destroyEditorAnnotationsIntegration','addEventListener','hasDomSelection','element','view','_showBalloon','setActiveAnnotation','preventDefault','EditorAnnotations'];_0x20da=function(){return _0xebbdb6;};return _0x20da();}export default class i extends _0x443e60{static get[_0xb6f737(0xb4)](){return[_0x374282,_0x19c974];}static get[_0xb6f737(0xaa)](){const _0x570ce7=_0xb6f737;return _0x570ce7(0xc9);}constructor(_0x39e4b1){const _0x3503d1=_0xb6f737;super(_0x39e4b1),this[_0x3503d1(0xb5)]=!0x1,this[_0x3503d1(0xe3)]=new Set(),this[_0x3503d1(0xe4)]=Object[_0x3503d1(0x106)](_0x52d3d0),this[_0x3503d1(0xb8)]=new Map(),this[_0x3503d1(0xdd)](_0x3503d1(0xcb),null),this[_0x3503d1(0xea)]=null,this[_0x3503d1(0x101)]=[],this[_0x3503d1(0xe8)]=new _0x3b9dc9(),this[_0x3503d1(0x9c)]=_0x1aaab6(()=>{const _0x35303f=_0x3503d1;this[_0x35303f(0xc8)]();},0xfa,{'leading':!0x1});}[_0xb6f737(0x99)](){const _0x2354c5=_0xb6f737;this[_0x2354c5(0x109)][_0x2354c5(0x102)][_0x2354c5(0xec)](_0x19c974)[_0x2354c5(0x9b)](_0x2354c5(0xfd),this),this[_0x2354c5(0xde)]=new _0x2c8b0f(this[_0x2354c5(0x109)][_0x2354c5(0x98)]),this[_0x2354c5(0x105)]=new _0x425967(this[_0x2354c5(0x109)][_0x2354c5(0x98)]),this[_0x2354c5(0xde)][_0x2354c5(0xc0)](),this[_0x2354c5(0xde)][_0x2354c5(0xe2)](this[_0x2354c5(0x105)]);}[_0xb6f737(0xcd)](_0xdf5620){const _0x301a9e=_0xb6f737;this[_0x301a9e(0xea)]=_0xdf5620;const _0x15cb25=this[_0x301a9e(0x109)][_0x301a9e(0x102)][_0x301a9e(0xec)](_0x374282),_0x406ee4=this[_0x301a9e(0x105)];if(_0x15cb25[_0x301a9e(0xfa)]=_0xdf5620,this[_0x301a9e(0xb5)])throw new _0x37f8de(_0x301a9e(0xe1),this);this[_0x301a9e(0xb5)]=!0x0,this[_0x301a9e(0xa7)](_0x15cb25,_0x301a9e(0x9a),()=>{const _0x137f11=_0x301a9e;this[_0x137f11(0x104)](),this[_0x137f11(0xa7)](_0x15cb25,_0x137f11(0xda),_0x292dab=>{const _0x3986c0=_0x137f11;_0x292dab[_0x3986c0(0xa9)](),this[_0x3986c0(0xcd)](_0xdf5620);});}),_0x15cb25[_0x301a9e(0x113)]({'viewClass':_0x301a9e(0x103),'spaceBetweenItems':0x5});const _0x239c59=_0x13b67d=>{const _0x9a35c=_0x301a9e,_0x9f89bf=new _0x538367(this[_0x9a35c(0x109)][_0x9a35c(0x98)]);_0x15cb25[_0x9a35c(0xe6)](_0x13b67d,_0x9f89bf),this[_0x9a35c(0xb8)][_0x9a35c(0xdd)](_0x13b67d,_0x9f89bf),_0x9f89bf[_0x9a35c(0xf7)](_0x9a35c(0xe7),_0x9a35c(0x100),_0x9a35c(0xb0))['to'](_0x13b67d[_0x9a35c(0x10e)],_0x9a35c(0xe7),_0x9a35c(0xd2),_0x9a35c(0xf3)),_0x9f89bf['on'](_0x9a35c(0xa1),()=>{const _0x8ff58b=_0x9a35c;this[_0x8ff58b(0xe3)][_0x8ff58b(0xdb)](),_0x406ee4[_0x8ff58b(0xf8)][_0x8ff58b(0xa4)]!==_0x13b67d[_0x8ff58b(0x10e)]?(this[_0x8ff58b(0x10f)](_0x13b67d),_0x13b67d[_0x8ff58b(0x10e)][_0x8ff58b(0x10d)][_0x8ff58b(0xd1)](),this[_0x8ff58b(0x110)](_0x13b67d)):this[_0x8ff58b(0x110)](null);});};for(const _0xd24dc9 of _0xdf5620)_0x239c59(_0xd24dc9);this[_0x301a9e(0xa7)](_0xdf5620,_0x301a9e(0xe2),(_0x5be0f1,_0x342872)=>{_0x239c59(_0x342872);}),this[_0x301a9e(0xa7)](_0xdf5620,_0x301a9e(0xe0),(_0x32336d,_0x450d71,_0x3e7155)=>{const _0x5a7cd7=_0x301a9e;this[_0x5a7cd7(0xb8)][_0x5a7cd7(0xec)](_0x450d71)[_0x5a7cd7(0xd5)](),this[_0x5a7cd7(0xb8)][_0x5a7cd7(0xa0)](_0x450d71),_0x15cb25[_0x5a7cd7(0xe9)]({'removedAnnotation':_0x450d71,'previousAnnotation':_0xdf5620[_0x5a7cd7(0xec)](_0x3e7155-0x1),'nextAnnotation':_0xdf5620[_0x5a7cd7(0xec)](_0x3e7155+0x1)}),_0x450d71===this[_0x5a7cd7(0xcb)]&&this[_0x5a7cd7(0x110)](null);},{'priority':_0x301a9e(0x108)}),this[_0x301a9e(0xa7)](_0xdf5620,_0x301a9e(0xd1),(_0x261ad2,_0x3cc19d)=>{const _0x5112bd=_0x301a9e;this[_0x5112bd(0x110)](_0x3cc19d);}),this[_0x301a9e(0xa7)](_0xdf5620,_0x301a9e(0xc1),()=>{const _0x4deaa7=_0x301a9e;this[_0x4deaa7(0x110)](null);}),this[_0x301a9e(0xe4)][_0x301a9e(0xa7)](document,_0x301a9e(0xad),(_0x1ba0e7,_0x479034)=>{const _0x121e51=_0x301a9e;_0x479034[_0x121e51(0xf9)]===_0x1525ca[_0x121e51(0xbe)]&&_0x406ee4[_0x121e51(0xba)]&&(this[_0x121e51(0xe3)][_0x121e51(0xe2)](_0x406ee4[_0x121e51(0xf8)][_0x121e51(0xa4)]),this[_0x121e51(0xc4)](),_0x479034[_0x121e51(0xbf)](),_0x479034[_0x121e51(0x111)]());}),this[_0x301a9e(0xe4)][_0x301a9e(0xa7)](document,_0x301a9e(0xc5),(_0x1fff06,_0x1bc0f5)=>{const _0x4aa2ec=_0x301a9e,_0x1b372c=_0x1bc0f5[_0x4aa2ec(0xab)];_0x406ee4[_0x4aa2ec(0xba)]&&_0x406ee4[_0x4aa2ec(0x10d)][_0x4aa2ec(0xeb)](_0x1b372c)||_0x15cb25[_0x4aa2ec(0x10e)][_0x4aa2ec(0x10d)][_0x4aa2ec(0xeb)](_0x1b372c)||_0x1fff06[_0x4aa2ec(0xac)]||this[_0x4aa2ec(0xcb)]&&this[_0x4aa2ec(0xcb)][_0x4aa2ec(0xaf)][_0x4aa2ec(0xbc)](_0x111b3c=>_0x111b3c[_0x4aa2ec(0xeb)](_0x1b372c))||(this[_0x4aa2ec(0xe3)][_0x4aa2ec(0xdb)](),this[_0x4aa2ec(0xc4)](),this[_0x4aa2ec(0x110)](null));});const _0x417c25=this[_0x301a9e(0x109)]instanceof _0x11b0ac?this[_0x301a9e(0x109)][_0x301a9e(0xce)]:new _0x3b9dc9([this[_0x301a9e(0x109)]]);for(const _0x591812 of _0x417c25)this[_0x301a9e(0xd8)](_0x591812);this[_0x301a9e(0xa7)](_0x417c25,_0x301a9e(0xe2),(_0x29704a,_0x822097)=>{const _0x1966d4=_0x301a9e;this[_0x1966d4(0xa7)](_0x822097,_0x1966d4(0x107),()=>{const _0x3741ad=_0x1966d4;this[_0x3741ad(0xd8)](_0x822097);});}),this[_0x301a9e(0xa7)](_0x417c25,_0x301a9e(0xe0),(_0x40d501,_0x5cf74a)=>{const _0x30edd7=_0x301a9e;_0x5cf74a[_0x30edd7(0x102)][_0x30edd7(0xd6)](_0x30edd7(0x112))&&this[_0x30edd7(0x10a)](_0x5cf74a[_0x30edd7(0x102)][_0x30edd7(0xec)](_0x30edd7(0x112)));}),window[_0x301a9e(0x10b)](_0x301a9e(0xd3),this[_0x301a9e(0x9c)]),this[_0x301a9e(0xc8)]();}[_0xb6f737(0x110)](_0x46e6fa){const _0x3b76e5=_0xb6f737;if(_0x46e6fa===this[_0x3b76e5(0xcb)])return;const _0x4369b4=this[_0x3b76e5(0x109)][_0x3b76e5(0x102)][_0x3b76e5(0xec)](_0x374282);if(_0x4369b4[_0x3b76e5(0xb6)]({'blurredAnnotation':this[_0x3b76e5(0xcb)],'activatedAnnotation':_0x46e6fa,'disableAnimationOnActivatedAnnotation':!0x0}),_0x46e6fa)_0x4369b4[_0x3b76e5(0x114)](_0x46e6fa)?this[_0x3b76e5(0x10f)](_0x46e6fa):this[_0x3b76e5(0xc4)]();else this[_0x3b76e5(0xc4)]();this[_0x3b76e5(0xcb)]=_0x46e6fa;}[_0xb6f737(0x104)](){const _0x14ba5c=_0xb6f737;if(!this[_0x14ba5c(0xb5)])throw new _0x37f8de(_0x14ba5c(0xbd),this);this[_0x14ba5c(0x110)](null);const _0x45e4ea=this[_0x14ba5c(0x109)][_0x14ba5c(0x102)][_0x14ba5c(0xec)](_0x374282);this[_0x14ba5c(0xc4)](),Array[_0x14ba5c(0xb7)](this[_0x14ba5c(0xb8)][_0x14ba5c(0xa3)](),_0x553aab=>_0x553aab[_0x14ba5c(0xd5)]()),this[_0x14ba5c(0xb8)][_0x14ba5c(0xdb)](),_0x45e4ea[_0x14ba5c(0xfb)](this[_0x14ba5c(0xea)]),this[_0x14ba5c(0xcc)](),this[_0x14ba5c(0xe4)][_0x14ba5c(0xcc)](),this[_0x14ba5c(0x109)]instanceof _0x11b0ac&&this[_0x14ba5c(0xcc)](this[_0x14ba5c(0x109)][_0x14ba5c(0xce)]);for(const _0x17e967 of Array[_0x14ba5c(0xb7)](this[_0x14ba5c(0xe8)]))this[_0x14ba5c(0x10a)](_0x17e967);window[_0x14ba5c(0xa2)](_0x14ba5c(0xd3),this[_0x14ba5c(0x9c)]),this[_0x14ba5c(0x9c)][_0x14ba5c(0xa6)](),this[_0x14ba5c(0x101)]=[],this[_0x14ba5c(0xb5)]=!0x1,this[_0x14ba5c(0xea)]=null;}[_0xb6f737(0xd5)](){const _0x4a571f=_0xb6f737;this[_0x4a571f(0xb5)]&&this[_0x4a571f(0x104)](),this[_0x4a571f(0xde)][_0x4a571f(0x9f)]();}[_0xb6f737(0xd8)](_0x530773){const _0x5a39d8=_0xb6f737;if(!_0x530773[_0x5a39d8(0x102)][_0x5a39d8(0xd6)](_0x5a39d8(0x112)))return;const _0x2132ab=_0x530773[_0x5a39d8(0x102)][_0x5a39d8(0xec)](_0x5a39d8(0x112)),_0x474dc0=this[_0x5a39d8(0x109)][_0x5a39d8(0x102)][_0x5a39d8(0xec)](_0x374282),_0xf1a206=this[_0x5a39d8(0xea)],_0x1b263c=this[_0x5a39d8(0x105)],_0x5bcfc9=()=>{const _0xb0e629=_0x5a39d8,_0x1bf817=_0x2132ab[_0xb0e629(0xca)]({'annotations':this[_0xb0e629(0xea)],'activeAnnotation':this[_0xb0e629(0xcb)]});this[_0xb0e629(0xe5)](_0x1bf817),this[_0xb0e629(0x110)](_0x1bf817[0x0]||null);};this[_0x5a39d8(0xa7)](_0x2132ab,_0x5a39d8(0xb6),_0x5bcfc9),this[_0x5a39d8(0xa7)](_0x2132ab,_0x5a39d8(0xc1),(_0x1cf4fd,{isAnnotationTracked:_0x29b980})=>{const _0xf33775=_0x5a39d8;this[_0xf33775(0xcb)]&&_0x29b980(this[_0xf33775(0xcb)])&&(this[_0xf33775(0xe5)]([]),this[_0xf33775(0x110)](null));}),this[_0x5a39d8(0xa7)](_0x2132ab,_0x5a39d8(0xef),()=>{const _0x1472a2=_0x5a39d8;this[_0x1472a2(0x9c)]();}),this[_0x5a39d8(0xa7)](_0xf1a206,_0x5a39d8(0xc1),_0xd348e3=>{const _0x53c316=_0x5a39d8;_0x2132ab[_0x53c316(0x10c)]()&&_0xd348e3[_0x53c316(0xfe)]();},{'priority':_0x5a39d8(0xf2)}),this[_0x5a39d8(0xa7)](this[_0x5a39d8(0xe4)],_0x5a39d8(0xc5),(_0x3050e5,_0x4cfe3b)=>{const _0x162005=_0x5a39d8,_0x3f30af=_0x4cfe3b[_0x162005(0xab)];_0x1b263c[_0x162005(0xba)]&&_0x1b263c[_0x162005(0x10d)][_0x162005(0xeb)](_0x3f30af)||_0x474dc0[_0x162005(0x10e)][_0x162005(0x10d)][_0x162005(0xeb)](_0x3f30af)||this[_0x162005(0xcb)]&&_0x2132ab[_0x162005(0x10c)]()&&(_0x5bcfc9(),_0x3050e5[_0x162005(0xac)]=!0x0);},{'priority':_0x5a39d8(0xf2)}),this[_0x5a39d8(0xe8)][_0x5a39d8(0xe2)](_0x2132ab);}[_0xb6f737(0x10a)](_0x4cd508){const _0x5517d9=_0xb6f737;_0x4cd508&&(this[_0x5517d9(0xcc)](_0x4cd508),this[_0x5517d9(0xe8)][_0x5517d9(0xe0)](_0x4cd508));}[_0xb6f737(0xe5)](_0x544ccc){const _0x14fcb9=_0xb6f737;for(const _0x2b275d of this[_0x14fcb9(0x101)])_0x544ccc[_0x14fcb9(0xfc)](_0x2b275d)||this[_0x14fcb9(0xe3)][_0x14fcb9(0xa0)](_0x2b275d[_0x14fcb9(0x10e)]);this[_0x14fcb9(0x101)]=_0x544ccc;}[_0xb6f737(0xc8)](){const _0x26e042=_0xb6f737,_0x493e9c=this[_0x26e042(0x105)];this[_0x26e042(0xea)][_0x26e042(0xf1)](),_0x493e9c[_0x26e042(0xba)]&&this[_0x26e042(0x9d)]();}[_0xb6f737(0x10f)](_0x1550fc){const _0x36e061=_0xb6f737;if(this[_0x36e061(0xe3)][_0x36e061(0xd6)](_0x1550fc[_0x36e061(0x10e)]))return;const _0x1c9395=this[_0x36e061(0x105)][_0x36e061(0xf8)][_0x36e061(0xa4)];_0x1c9395!==_0x1550fc[_0x36e061(0x10e)]?(_0x1c9395&&this[_0x36e061(0xed)](_0x1c9395),this[_0x36e061(0xc3)](_0x1550fc[_0x36e061(0x10e)]),this[_0x36e061(0x105)][_0x36e061(0xf8)][_0x36e061(0xdb)](),this[_0x36e061(0x105)][_0x36e061(0xf8)][_0x36e061(0xe2)](_0x1550fc[_0x36e061(0x10e)]),this[_0x36e061(0x9d)]()):this[_0x36e061(0x9d)]();}[_0xb6f737(0x9d)](){const _0xecb009=_0xb6f737,_0x3d9be9=this[_0xecb009(0x105)][_0xecb009(0xf8)][_0xecb009(0xa4)],_0x575c89=_0x3d9be9&&this[_0xecb009(0xea)][_0xecb009(0xc2)](_0x3d9be9);if(!_0x575c89||!this[_0xecb009(0xb8)][_0xecb009(0xd6)](_0x575c89))return;const _0x16741d=this[_0xecb009(0xb8)][_0xecb009(0xec)](_0x575c89)[_0xecb009(0x10d)],_0x4f9b8f=(function(){const _0x504894=_0xecb009,_0x56394b=_0x425967[_0x504894(0xae)];return[_0x56394b[_0x504894(0xa8)],_0x56394b[_0x504894(0xee)],_0x56394b[_0x504894(0xf0)],_0x56394b[_0x504894(0xff)],_0x56394b[_0x504894(0xd7)],_0x56394b[_0x504894(0xb2)]];}());this[_0xecb009(0x105)][_0xecb009(0xd9)]({'target':_0x16741d,'positions':_0x4f9b8f});}[_0xb6f737(0xc4)](){const _0x493814=_0xb6f737,_0x444fbe=this[_0x493814(0x105)],_0x1a7d09=_0x444fbe[_0x493814(0xf8)][_0x493814(0xa4)];_0x1a7d09&&(this[_0x493814(0xed)](_0x1a7d09),_0x444fbe[_0x493814(0xbb)](),_0x444fbe[_0x493814(0xf8)][_0x493814(0xdb)]());}[_0xb6f737(0xc3)](_0x4f3a05){const _0x57a602=_0xb6f737;this[_0x57a602(0xa7)](_0x4f3a05,_0x57a602(0xf6),()=>this[_0x57a602(0x9d)]()),this[_0x57a602(0xa7)](_0x4f3a05,_0x57a602(0xb1),(_0x436d42,_0x1450e4)=>{const _0x3aa689=_0x57a602;this[_0x3aa689(0xe3)][_0x3aa689(0xe2)](_0x4f3a05),this[_0x3aa689(0xc4)](),_0x1450e4();});}[_0xb6f737(0xed)](_0x39d946){const _0x129138=_0xb6f737;this[_0x129138(0xcc)](_0x39d946);}}
|
|
23
|
+
const _0x1a26c8=_0x5646;(function(_0xcc9a7c,_0x5b81f9){const _0x3ffceb=_0x5646,_0x44e7c7=_0xcc9a7c();while(!![]){try{const _0x6162f7=-parseInt(_0x3ffceb(0x13f))/0x1*(parseInt(_0x3ffceb(0x15a))/0x2)+-parseInt(_0x3ffceb(0x15c))/0x3+parseInt(_0x3ffceb(0x175))/0x4+parseInt(_0x3ffceb(0x14c))/0x5*(-parseInt(_0x3ffceb(0x127))/0x6)+-parseInt(_0x3ffceb(0x130))/0x7+-parseInt(_0x3ffceb(0x154))/0x8*(-parseInt(_0x3ffceb(0x14e))/0x9)+-parseInt(_0x3ffceb(0x122))/0xa*(-parseInt(_0x3ffceb(0x17e))/0xb);if(_0x6162f7===_0x5b81f9)break;else _0x44e7c7['push'](_0x44e7c7['shift']());}catch(_0x1e5d74){_0x44e7c7['push'](_0x44e7c7['shift']());}}}(_0x5138,0xc3b0d));import{ContextPlugin as _0x25a4c2,Context as _0x49b21b}from'ckeditor5/src/core.js';function _0x5138(){const _0x54f2f6=['_annotationToNarrowView','detachFromDom','from','_setSelectedAnnotations','editors','preventDefault','add','clear','isAttached','element','southArrowNorthWest','stop','_annotations','northArrowSouthEast','first','EditorAnnotations','_showBalloon','_hideBalloon','resize','pluginName','narrowSidebar','5610790yyTbEe','change:height','getOrderedSelectedAnnotations','includes','_manuallyClosedAnnotationViews','1126542sjHgxx','narrowsidebar-detach-not-attached','addEventListener','find','locale','detach','focusableElements','mousedown','defaultPositions','7822269CVCyDq','type','_attachListeners','get','_attachToContainer','listenTo','_refreshPositioning','high','refresh','addAnnotation','unpin','create','length','setActiveAnnotation','hasDomSelection','59aspcJB','keydown','number','_refreshPositioningDebounced','esc','_detachFromContainer','_selectedAnnotations','view','delete','execute','_updateBalloonPosition','set','bind','5nINoAy','southArrowNorth','666shHMGd','_domEmitter','balloonPanelView','isVisible','content','contains','17184jMVrUP','Esc','target','_editorAnnotations','change:container','_integrateWithEditorAnnotations','19016ApPHpX','annotations','3585966pZheEA','bodyCollection','low','annotationType','uiUpdate','attach','isDirty','getByView','focus','blur','remove','getSidebarItemView','keyCode','has','northArrowSouth','requires','NarrowSidebar','pin','stopListening','register','context','ck-sidebar--narrow','southArrowNorthEast','ready','init','3594880gPFbcd','plugins','_detachListeners','northArrowSouthWest','removeEventListener','destroy','rearrange','preventClosingBalloon','stopPropagation','55DTwZUG','narrowsidebar-attach-already-attached','cancel','refreshPositioning','attachToDom','values','set:container','_destroyEditorAnnotationsIntegration','off','activeAnnotation'];_0x5138=function(){return _0x54f2f6;};return _0x5138();}function _0x5646(_0x3e74a4,_0x27db65){const _0x5138ff=_0x5138();return _0x5646=function(_0x5646e2,_0x4858b1){_0x5646e2=_0x5646e2-0x108;let _0x3ba5ba=_0x5138ff[_0x5646e2];return _0x3ba5ba;},_0x5646(_0x3e74a4,_0x27db65);}import _0x25513 from'./annotationsuis.js';import _0x41dfcc from'./sidebar.js';import _0x35db35 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x2ac070,BodyCollection as _0x4ed27c}from'ckeditor5/src/ui.js';import{CKEditorError as _0x43f7f1,DomEmitterMixin as _0xe74636,keyCodes as _0x2c6464,Collection as _0x1e50fd}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x4074fc}from'lodash-es';export default class i extends _0x25a4c2{static get[_0x1a26c8(0x16b)](){return[_0x41dfcc,_0x25513];}static get[_0x1a26c8(0x120)](){const _0x47be4f=_0x1a26c8;return _0x47be4f(0x16c);}constructor(_0x74a878){const _0x35c582=_0x1a26c8;super(_0x74a878),this[_0x35c582(0x115)]=!0x1,this[_0x35c582(0x126)]=new Set(),this[_0x35c582(0x14f)]=Object[_0x35c582(0x13b)](_0xe74636),this[_0x35c582(0x10d)]=new Map(),this[_0x35c582(0x14a)](_0x35c582(0x10c),null),this[_0x35c582(0x15b)]=null,this[_0x35c582(0x145)]=[],this[_0x35c582(0x157)]=new _0x1e50fd(),this[_0x35c582(0x142)]=_0x4074fc(()=>{const _0x40c6df=_0x35c582;this[_0x40c6df(0x136)]();},0xfa,{'leading':!0x1});}[_0x1a26c8(0x174)](){const _0x5c9bd1=_0x1a26c8;this[_0x5c9bd1(0x170)][_0x5c9bd1(0x176)][_0x5c9bd1(0x133)](_0x25513)[_0x5c9bd1(0x16f)](_0x5c9bd1(0x121),this),this[_0x5c9bd1(0x15d)]=new _0x4ed27c(this[_0x5c9bd1(0x170)][_0x5c9bd1(0x12b)]),this[_0x5c9bd1(0x150)]=new _0x2ac070(this[_0x5c9bd1(0x170)][_0x5c9bd1(0x12b)]),this[_0x5c9bd1(0x15d)][_0x5c9bd1(0x182)](),this[_0x5c9bd1(0x15d)][_0x5c9bd1(0x113)](this[_0x5c9bd1(0x150)]);}[_0x1a26c8(0x161)](_0x410d0d){const _0x4df5a6=_0x1a26c8;this[_0x4df5a6(0x15b)]=_0x410d0d;const _0x5bb76e=this[_0x4df5a6(0x170)][_0x4df5a6(0x176)][_0x4df5a6(0x133)](_0x41dfcc),_0x54d831=this[_0x4df5a6(0x150)];if(_0x5bb76e[_0x4df5a6(0x119)]=_0x410d0d,this[_0x4df5a6(0x115)])throw new _0x43f7f1(_0x4df5a6(0x17f),this);this[_0x4df5a6(0x115)]=!0x0,this[_0x4df5a6(0x135)](_0x5bb76e,_0x4df5a6(0x109),()=>{const _0x3eb365=_0x4df5a6;this[_0x3eb365(0x12c)](),this[_0x3eb365(0x135)](_0x5bb76e,_0x3eb365(0x158),_0x11abf1=>{const _0x27f54f=_0x3eb365;_0x11abf1[_0x27f54f(0x10b)](),this[_0x27f54f(0x161)](_0x410d0d);});}),_0x5bb76e[_0x4df5a6(0x134)]({'viewClass':_0x4df5a6(0x171),'spaceBetweenItems':0x5});const _0x888f1d=_0x213328=>{const _0x8b9ce1=_0x4df5a6,_0x386d1e=new _0x35db35(this[_0x8b9ce1(0x170)][_0x8b9ce1(0x12b)]);_0x5bb76e[_0x8b9ce1(0x139)](_0x213328,_0x386d1e),this[_0x8b9ce1(0x10d)][_0x8b9ce1(0x14a)](_0x213328,_0x386d1e),_0x386d1e[_0x8b9ce1(0x14b)](_0x8b9ce1(0x162),_0x8b9ce1(0x15f),_0x8b9ce1(0x141))['to'](_0x213328[_0x8b9ce1(0x146)],_0x8b9ce1(0x162),_0x8b9ce1(0x131),_0x8b9ce1(0x13c)),_0x386d1e['on'](_0x8b9ce1(0x148),()=>{const _0x3c560a=_0x8b9ce1;this[_0x3c560a(0x126)][_0x3c560a(0x114)](),_0x54d831[_0x3c560a(0x152)][_0x3c560a(0x11b)]!==_0x213328[_0x3c560a(0x146)]?(this[_0x3c560a(0x11d)](_0x213328),_0x213328[_0x3c560a(0x146)][_0x3c560a(0x116)][_0x3c560a(0x164)](),this[_0x3c560a(0x13d)](_0x213328)):this[_0x3c560a(0x13d)](null);});};for(const _0x4b9348 of _0x410d0d)_0x888f1d(_0x4b9348);this[_0x4df5a6(0x135)](_0x410d0d,_0x4df5a6(0x113),(_0xa90893,_0x25f5a8)=>{_0x888f1d(_0x25f5a8);}),this[_0x4df5a6(0x135)](_0x410d0d,_0x4df5a6(0x166),(_0x468c18,_0x440e39,_0x278ee1)=>{const _0x4e06a5=_0x4df5a6;this[_0x4e06a5(0x10d)][_0x4e06a5(0x133)](_0x440e39)[_0x4e06a5(0x17a)](),this[_0x4e06a5(0x10d)][_0x4e06a5(0x147)](_0x440e39),_0x5bb76e[_0x4e06a5(0x17b)]({'removedAnnotation':_0x440e39,'previousAnnotation':_0x410d0d[_0x4e06a5(0x133)](_0x278ee1-0x1),'nextAnnotation':_0x410d0d[_0x4e06a5(0x133)](_0x278ee1+0x1)}),_0x440e39===this[_0x4e06a5(0x10c)]&&this[_0x4e06a5(0x13d)](null);},{'priority':_0x4df5a6(0x15e)}),this[_0x4df5a6(0x135)](_0x410d0d,_0x4df5a6(0x164),(_0x2d2313,_0x33e2b4)=>{const _0x2a694f=_0x4df5a6;this[_0x2a694f(0x13d)](_0x33e2b4);}),this[_0x4df5a6(0x135)](_0x410d0d,_0x4df5a6(0x165),()=>{const _0x3c824e=_0x4df5a6;this[_0x3c824e(0x13d)](null);}),this[_0x4df5a6(0x14f)][_0x4df5a6(0x135)](document,_0x4df5a6(0x140),(_0x31e0c1,_0x23d78e)=>{const _0x10d9a6=_0x4df5a6;_0x23d78e[_0x10d9a6(0x168)]===_0x2c6464[_0x10d9a6(0x143)]&&_0x54d831[_0x10d9a6(0x151)]&&(this[_0x10d9a6(0x126)][_0x10d9a6(0x113)](_0x54d831[_0x10d9a6(0x152)][_0x10d9a6(0x11b)]),this[_0x10d9a6(0x11e)](),_0x23d78e[_0x10d9a6(0x17d)](),_0x23d78e[_0x10d9a6(0x112)]());}),this[_0x4df5a6(0x14f)][_0x4df5a6(0x135)](document,_0x4df5a6(0x12e),(_0xe79988,_0x311fe1)=>{const _0x3c1007=_0x4df5a6,_0x3d09ae=_0x311fe1[_0x3c1007(0x156)];_0x54d831[_0x3c1007(0x151)]&&_0x54d831[_0x3c1007(0x116)][_0x3c1007(0x153)](_0x3d09ae)||_0x5bb76e[_0x3c1007(0x146)][_0x3c1007(0x116)][_0x3c1007(0x153)](_0x3d09ae)||_0xe79988[_0x3c1007(0x17c)]||this[_0x3c1007(0x10c)]&&this[_0x3c1007(0x10c)][_0x3c1007(0x12d)][_0x3c1007(0x12a)](_0x329760=>_0x329760[_0x3c1007(0x153)](_0x3d09ae))||(this[_0x3c1007(0x126)][_0x3c1007(0x114)](),this[_0x3c1007(0x11e)](),this[_0x3c1007(0x13d)](null));});const _0x4d89f8=this[_0x4df5a6(0x170)]instanceof _0x49b21b?this[_0x4df5a6(0x170)][_0x4df5a6(0x111)]:new _0x1e50fd([this[_0x4df5a6(0x170)]]);for(const _0x202d3d of _0x4d89f8)this[_0x4df5a6(0x159)](_0x202d3d);this[_0x4df5a6(0x135)](_0x4d89f8,_0x4df5a6(0x113),(_0x3a3a70,_0x5768ed)=>{const _0x42c313=_0x4df5a6;this[_0x42c313(0x135)](_0x5768ed,_0x42c313(0x173),()=>{const _0x347b22=_0x42c313;this[_0x347b22(0x159)](_0x5768ed);});}),this[_0x4df5a6(0x135)](_0x4d89f8,_0x4df5a6(0x166),(_0x2dde39,_0x30f693)=>{const _0xb6be0e=_0x4df5a6;_0x30f693[_0xb6be0e(0x176)][_0xb6be0e(0x169)](_0xb6be0e(0x11c))&&this[_0xb6be0e(0x10a)](_0x30f693[_0xb6be0e(0x176)][_0xb6be0e(0x133)](_0xb6be0e(0x11c)));}),window[_0x4df5a6(0x129)](_0x4df5a6(0x11f),this[_0x4df5a6(0x142)]),this[_0x4df5a6(0x136)]();}[_0x1a26c8(0x13d)](_0x36423c){const _0x1610f5=_0x1a26c8;if(_0x36423c===this[_0x1610f5(0x10c)])return;const _0x3df88a=this[_0x1610f5(0x170)][_0x1610f5(0x176)][_0x1610f5(0x133)](_0x41dfcc);if(_0x3df88a[_0x1610f5(0x138)]({'blurredAnnotation':this[_0x1610f5(0x10c)],'activatedAnnotation':_0x36423c,'disableAnimationOnActivatedAnnotation':!0x0}),_0x36423c)_0x3df88a[_0x1610f5(0x167)](_0x36423c)?this[_0x1610f5(0x11d)](_0x36423c):this[_0x1610f5(0x11e)]();else this[_0x1610f5(0x11e)]();this[_0x1610f5(0x10c)]=_0x36423c;}[_0x1a26c8(0x12c)](){const _0x3f099f=_0x1a26c8;if(!this[_0x3f099f(0x115)])throw new _0x43f7f1(_0x3f099f(0x128),this);this[_0x3f099f(0x13d)](null);const _0x1d05b3=this[_0x3f099f(0x170)][_0x3f099f(0x176)][_0x3f099f(0x133)](_0x41dfcc);this[_0x3f099f(0x11e)](),Array[_0x3f099f(0x10f)](this[_0x3f099f(0x10d)][_0x3f099f(0x108)](),_0x53f3e6=>_0x53f3e6[_0x3f099f(0x17a)]()),this[_0x3f099f(0x10d)][_0x3f099f(0x114)](),_0x1d05b3[_0x3f099f(0x144)](this[_0x3f099f(0x15b)]),this[_0x3f099f(0x16e)](),this[_0x3f099f(0x14f)][_0x3f099f(0x16e)](),this[_0x3f099f(0x170)]instanceof _0x49b21b&&this[_0x3f099f(0x16e)](this[_0x3f099f(0x170)][_0x3f099f(0x111)]);for(const _0x7382ef of Array[_0x3f099f(0x10f)](this[_0x3f099f(0x157)]))this[_0x3f099f(0x10a)](_0x7382ef);window[_0x3f099f(0x179)](_0x3f099f(0x11f),this[_0x3f099f(0x142)]),this[_0x3f099f(0x142)][_0x3f099f(0x180)](),this[_0x3f099f(0x145)]=[],this[_0x3f099f(0x115)]=!0x1,this[_0x3f099f(0x15b)]=null;}[_0x1a26c8(0x17a)](){const _0xf37d3e=_0x1a26c8;this[_0xf37d3e(0x115)]&&this[_0xf37d3e(0x12c)](),this[_0xf37d3e(0x15d)][_0xf37d3e(0x10e)]();}[_0x1a26c8(0x159)](_0x19c8fb){const _0x2dddbf=_0x1a26c8;if(!_0x19c8fb[_0x2dddbf(0x176)][_0x2dddbf(0x169)](_0x2dddbf(0x11c)))return;const _0x5a14d2=_0x19c8fb[_0x2dddbf(0x176)][_0x2dddbf(0x133)](_0x2dddbf(0x11c)),_0x254154=this[_0x2dddbf(0x170)][_0x2dddbf(0x176)][_0x2dddbf(0x133)](_0x41dfcc),_0x515a7b=this[_0x2dddbf(0x15b)],_0x58900e=this[_0x2dddbf(0x150)],_0x28cc18=()=>{const _0x107d33=_0x2dddbf,_0x15cdfd=_0x5a14d2[_0x107d33(0x124)]({'annotations':this[_0x107d33(0x15b)],'activeAnnotation':this[_0x107d33(0x10c)]});this[_0x107d33(0x110)](_0x15cdfd),this[_0x107d33(0x13d)](_0x15cdfd[0x0]||null);};this[_0x2dddbf(0x135)](_0x5a14d2,_0x2dddbf(0x138),_0x28cc18),this[_0x2dddbf(0x135)](_0x5a14d2,_0x2dddbf(0x165),(_0x8f8734,{isAnnotationTracked:_0x5870e0})=>{const _0x5bf43c=_0x2dddbf;this[_0x5bf43c(0x10c)]&&_0x5870e0(this[_0x5bf43c(0x10c)])&&(this[_0x5bf43c(0x110)]([]),this[_0x5bf43c(0x13d)](null));}),this[_0x2dddbf(0x135)](_0x5a14d2,_0x2dddbf(0x160),()=>{const _0x3c9c7a=_0x2dddbf;this[_0x3c9c7a(0x142)]();}),this[_0x2dddbf(0x135)](_0x515a7b,_0x2dddbf(0x165),_0x194256=>{const _0x338add=_0x2dddbf;_0x5a14d2[_0x338add(0x13e)]()&&_0x194256[_0x338add(0x118)]();},{'priority':_0x2dddbf(0x137)}),this[_0x2dddbf(0x135)](this[_0x2dddbf(0x14f)],_0x2dddbf(0x12e),(_0x225c93,_0x14ed50)=>{const _0x2eb5ad=_0x2dddbf,_0x2ba56b=_0x14ed50[_0x2eb5ad(0x156)];_0x58900e[_0x2eb5ad(0x151)]&&_0x58900e[_0x2eb5ad(0x116)][_0x2eb5ad(0x153)](_0x2ba56b)||_0x254154[_0x2eb5ad(0x146)][_0x2eb5ad(0x116)][_0x2eb5ad(0x153)](_0x2ba56b)||this[_0x2eb5ad(0x10c)]&&_0x5a14d2[_0x2eb5ad(0x13e)]()&&(_0x28cc18(),_0x225c93[_0x2eb5ad(0x17c)]=!0x0);},{'priority':_0x2dddbf(0x137)}),this[_0x2dddbf(0x157)][_0x2dddbf(0x113)](_0x5a14d2);}[_0x1a26c8(0x10a)](_0x494285){const _0x2888cb=_0x1a26c8;_0x494285&&(this[_0x2888cb(0x16e)](_0x494285),this[_0x2888cb(0x157)][_0x2888cb(0x166)](_0x494285));}[_0x1a26c8(0x110)](_0x1e4c21){const _0x22d8a2=_0x1a26c8;for(const _0x112fb8 of this[_0x22d8a2(0x145)])_0x1e4c21[_0x22d8a2(0x125)](_0x112fb8)||this[_0x22d8a2(0x126)][_0x22d8a2(0x147)](_0x112fb8[_0x22d8a2(0x146)]);this[_0x22d8a2(0x145)]=_0x1e4c21;}[_0x1a26c8(0x136)](){const _0xf74fb3=_0x1a26c8,_0x2323da=this[_0xf74fb3(0x150)];this[_0xf74fb3(0x15b)][_0xf74fb3(0x181)](),_0x2323da[_0xf74fb3(0x151)]&&this[_0xf74fb3(0x149)]();}[_0x1a26c8(0x11d)](_0x608342){const _0x11f46b=_0x1a26c8;if(this[_0x11f46b(0x126)][_0x11f46b(0x169)](_0x608342[_0x11f46b(0x146)]))return;const _0x31c910=this[_0x11f46b(0x150)][_0x11f46b(0x152)][_0x11f46b(0x11b)];_0x31c910!==_0x608342[_0x11f46b(0x146)]?(_0x31c910&&this[_0x11f46b(0x177)](_0x31c910),this[_0x11f46b(0x132)](_0x608342[_0x11f46b(0x146)]),this[_0x11f46b(0x150)][_0x11f46b(0x152)][_0x11f46b(0x114)](),this[_0x11f46b(0x150)][_0x11f46b(0x152)][_0x11f46b(0x113)](_0x608342[_0x11f46b(0x146)]),this[_0x11f46b(0x149)]()):this[_0x11f46b(0x149)]();}[_0x1a26c8(0x149)](){const _0x204ffc=_0x1a26c8,_0xa27108=this[_0x204ffc(0x150)][_0x204ffc(0x152)][_0x204ffc(0x11b)],_0x16a125=_0xa27108&&this[_0x204ffc(0x15b)][_0x204ffc(0x163)](_0xa27108);if(!_0x16a125||!this[_0x204ffc(0x10d)][_0x204ffc(0x169)](_0x16a125))return;const _0x2261d6=this[_0x204ffc(0x10d)][_0x204ffc(0x133)](_0x16a125)[_0x204ffc(0x116)],_0x47c0c9=(function(){const _0x4d6489=_0x204ffc,_0x440fa1=_0x2ac070[_0x4d6489(0x12f)];return[_0x440fa1[_0x4d6489(0x172)],_0x440fa1[_0x4d6489(0x11a)],_0x440fa1[_0x4d6489(0x14d)],_0x440fa1[_0x4d6489(0x16a)],_0x440fa1[_0x4d6489(0x117)],_0x440fa1[_0x4d6489(0x178)]];}());this[_0x204ffc(0x150)][_0x204ffc(0x16d)]({'target':_0x2261d6,'positions':_0x47c0c9});}[_0x1a26c8(0x11e)](){const _0x4fae5c=_0x1a26c8,_0x13c979=this[_0x4fae5c(0x150)],_0x4bbe24=_0x13c979[_0x4fae5c(0x152)][_0x4fae5c(0x11b)];_0x4bbe24&&(this[_0x4fae5c(0x177)](_0x4bbe24),_0x13c979[_0x4fae5c(0x13a)](),_0x13c979[_0x4fae5c(0x152)][_0x4fae5c(0x114)]());}[_0x1a26c8(0x132)](_0x459dfa){const _0x452414=_0x1a26c8;this[_0x452414(0x135)](_0x459dfa,_0x452414(0x123),()=>this[_0x452414(0x149)]()),this[_0x452414(0x135)](_0x459dfa,_0x452414(0x155),(_0x31de66,_0x4466fb)=>{const _0x58dace=_0x452414;this[_0x58dace(0x126)][_0x58dace(0x113)](_0x459dfa),this[_0x58dace(0x11e)](),_0x4466fb();});}[_0x1a26c8(0x177)](_0x55b5c6){const _0x32d882=_0x1a26c8;this[_0x32d882(0x16e)](_0x55b5c6);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4ee2df=_0x388a;(function(_0x5bf320,_0x2ff4e8){const _0x28225d=_0x388a,_0x1641a0=_0x5bf320();while(!![]){try{const _0x2f462f=-parseInt(_0x28225d(0xd0))/0x1+-parseInt(_0x28225d(0xdc))/0x2*(parseInt(_0x28225d(0xd6))/0x3)+-parseInt(_0x28225d(0xb8))/0x4*(-parseInt(_0x28225d(0xaa))/0x5)+parseInt(_0x28225d(0xd8))/0x6+parseInt(_0x28225d(0xa6))/0x7*(-parseInt(_0x28225d(0xe2))/0x8)+-parseInt(_0x28225d(0xf9))/0x9*(-parseInt(_0x28225d(0xd5))/0xa)+parseInt(_0x28225d(0xad))/0xb;if(_0x2f462f===_0x2ff4e8)break;else _0x1641a0['push'](_0x1641a0['shift']());}catch(_0x2d6854){_0x1641a0['push'](_0x1641a0['shift']());}}}(_0x4b38,0xe21d9));function _0x388a(_0x380355,_0xa7301e){const _0x4b3833=_0x4b38();return _0x388a=function(_0x388acd,_0x320c1c){_0x388acd=_0x388acd-0xa2;let _0xfa8f2f=_0x4b3833[_0x388acd];return _0xfa8f2f;},_0x388a(_0x380355,_0xa7301e);}import{ContextPlugin as _0x344937}from'ckeditor5/src/core.js';import{Rect as _0x39a3c3,CKEditorError as _0x134f88}from'ckeditor5/src/utils.js';import _0x1a1d4f from'./view/sidebarview.js';import _0x4251ff from'./view/sidebaritemview.js';export default class D extends _0x344937{static get[_0x4ee2df(0xf7)](){const _0x5df96b=_0x4ee2df;return _0x5df96b(0xeb);}constructor(_0x2ac463){const _0x3dbbe6=_0x4ee2df;super(_0x2ac463),this[_0x3dbbe6(0xe4)](_0x3dbbe6(0xcb),void 0x0),this[_0x3dbbe6(0xf1)]=this[_0x3dbbe6(0xe6)](),this[_0x3dbbe6(0xe4)](_0x3dbbe6(0xbe),null),this[_0x3dbbe6(0xb2)]=0x19,this[_0x3dbbe6(0xce)]=new Map(),this[_0x3dbbe6(0xc3)]=new Map(),this[_0x3dbbe6(0xf0)][_0x3dbbe6(0xb5)][_0x3dbbe6(0xf6)](_0x3dbbe6(0xb1),!0x1),this[_0x3dbbe6(0xed)]=null,this[_0x3dbbe6(0xda)]=null,this[_0x3dbbe6(0xa7)]=[];}[_0x4ee2df(0xc0)](){const _0x2eb020=_0x4ee2df,_0x4351e6=this[_0x2eb020(0xf0)][_0x2eb020(0xb5)][_0x2eb020(0xbc)](_0x2eb020(0xf3));_0x4351e6&&this[_0x2eb020(0xd1)](_0x4351e6);}[_0x4ee2df(0xd1)](_0x4f4060){const _0x59f3e5=_0x4ee2df;if(!y(_0x4f4060))throw new _0x134f88(_0x59f3e5(0xe1));this[_0x59f3e5(0xbe)]=_0x4f4060;}[_0x4ee2df(0xfa)]({viewClass:_0x59cc94='',spaceBetweenItems:_0x39aa08=0x19}={}){const _0x578aa9=_0x4ee2df;if(!y(this[_0x578aa9(0xbe)]))throw new _0x134f88(_0x578aa9(0xd3),this);this[_0x578aa9(0xbe)][_0x578aa9(0xab)](this[_0x578aa9(0xf1)][_0x578aa9(0xa9)]),this[_0x578aa9(0xf1)][_0x578aa9(0xb9)]=_0x59cc94,this[_0x578aa9(0xb2)]=_0x39aa08;}[_0x4ee2df(0xde)]({removedAnnotation:_0x42c11b,previousAnnotation:_0x28cbcf,nextAnnotation:_0x39e85c}){const _0x468c02=_0x4ee2df,_0x160811=this[_0x468c02(0xa4)](_0x42c11b);this[_0x468c02(0xf1)][_0x468c02(0xc1)][_0x468c02(0xe3)](_0x160811),this[_0x468c02(0xc9)](_0x42c11b),_0x28cbcf&&this[_0x468c02(0xf8)](this[_0x468c02(0xa4)](_0x28cbcf)),_0x39e85c&&this[_0x468c02(0xf8)](this[_0x468c02(0xa4)](_0x39e85c)),this[_0x468c02(0xac)]();}[_0x4ee2df(0xdd)]({blurredAnnotation:_0x3c8817,activatedAnnotation:_0x5a8df6,disableAnimationOnActivatedAnnotation:_0x4016da}){const _0x4bb3e2=_0x4ee2df;if(this[_0x4bb3e2(0xda)]=_0x5a8df6,_0x3c8817){_0x3c8817[_0x4bb3e2(0xc5)]=!0x1;const _0x5a7673=this[_0x4bb3e2(0xa4)](_0x3c8817);_0x5a7673&&_0x4016da&&(_0x5a7673[_0x4bb3e2(0xd9)]=!0x1);}if(_0x5a8df6){const _0x5c0a1=this[_0x4bb3e2(0xa4)](_0x5a8df6);_0x5c0a1&&(_0x5a8df6[_0x4bb3e2(0xc5)]=!0x0,_0x4016da&&(_0x5c0a1[_0x4bb3e2(0xd9)]=!0x0,_0x5c0a1[_0x4bb3e2(0xfb)]+=0x1),this[_0x4bb3e2(0xf8)](_0x5c0a1));}}[_0x4ee2df(0xcc)](_0x5247fe){const _0x1bd018=_0x4ee2df;if(this[_0x1bd018(0xf1)][_0x1bd018(0xa9)][_0x1bd018(0xe3)](),_0x5247fe){for(const _0x59ef75 of _0x5247fe)this[_0x1bd018(0xc9)](_0x59ef75);}this[_0x1bd018(0xf1)][_0x1bd018(0xc1)][_0x1bd018(0xdf)](),this[_0x1bd018(0xf1)][_0x1bd018(0xb9)]='',this[_0x1bd018(0xcb)]=null;}[_0x4ee2df(0xd4)](_0x359e75,_0x5cb544){const _0x3e3569=_0x4ee2df;_0x5cb544||(_0x5cb544=_0x359e75[_0x3e3569(0xf1)]);const _0x23f12a=new _0x4251ff(this[_0x3e3569(0xf0)][_0x3e3569(0xa3)]);this[_0x3e3569(0xce)][_0x3e3569(0xe4)](_0x23f12a,_0x359e75),this[_0x3e3569(0xc3)][_0x3e3569(0xe4)](_0x359e75,_0x23f12a),_0x23f12a[_0x3e3569(0xb7)][_0x3e3569(0xc4)](_0x5cb544),this[_0x3e3569(0xb4)](_0x359e75[_0x3e3569(0xf1)],_0x3e3569(0xf2),(_0xd3a454,_0xb2b0c9,_0x56b754)=>{const _0x217685=_0x3e3569,_0xe076b=this[_0x217685(0xf5)](_0x359e75,_0x56b754);_0x23f12a[_0x217685(0xbb)]!=_0xe076b&&(_0x23f12a[_0x217685(0xbb)]=_0xe076b,this[_0x217685(0xaf)](_0x23f12a,_0xe076b));}),this[_0x3e3569(0xb4)](_0x23f12a,_0x3e3569(0xba),()=>{const _0x5428cd=_0x3e3569;this[_0x5428cd(0xea)](_0x23f12a,_0x5428cd(0xfb));}),this[_0x3e3569(0xb4)](_0x23f12a,_0x3e3569(0xc2),()=>{const _0x1d88f9=_0x3e3569;this[_0x1d88f9(0xea)](_0x23f12a,_0x1d88f9(0xa5));}),this[_0x3e3569(0xf8)](_0x23f12a);const _0x168ed2=this[_0x3e3569(0xbd)](_0x23f12a);if(_0x168ed2)this[_0x3e3569(0xee)](_0x168ed2,_0x23f12a)||this[_0x3e3569(0xf8)](_0x23f12a);else this[_0x3e3569(0xf8)](_0x23f12a);return this[_0x3e3569(0xac)](),this[_0x3e3569(0xf1)][_0x3e3569(0xc1)][_0x3e3569(0xc4)](_0x23f12a),_0x23f12a;}[_0x4ee2df(0xec)](_0x23be43){const _0x4c16f7=_0x4ee2df;if(!_0x23be43[_0x4c16f7(0xb7)][_0x4c16f7(0xe0)])return;const _0x46997e=this[_0x4c16f7(0xbd)](_0x23be43);if(!_0x46997e)return;const _0x12c381=this[_0x4c16f7(0xce)][_0x4c16f7(0xbc)](_0x46997e),_0xf2883a=this[_0x4c16f7(0xda)];_0xf2883a&&_0xf2883a===_0x12c381?this[_0x4c16f7(0xee)](_0x46997e,_0x23be43):this[_0x4c16f7(0xb6)](_0x23be43,_0x46997e);}[_0x4ee2df(0xc8)](_0x1a22c9){const _0x33b177=_0x4ee2df;if(!_0x1a22c9[_0x33b177(0xb7)][_0x33b177(0xe0)])return;const _0x2b4385=this[_0x33b177(0xd2)](_0x1a22c9);if(!_0x2b4385)return;const _0x1e10d0=this[_0x33b177(0xce)][_0x33b177(0xbc)](_0x2b4385),_0x32dd7b=this[_0x33b177(0xf0)][_0x33b177(0xb5)][_0x33b177(0xbc)](_0x33b177(0xb1)),_0xb0b2a2=this[_0x33b177(0xda)];_0xb0b2a2&&_0xb0b2a2===_0x1e10d0&&_0x32dd7b?(this[_0x33b177(0xb6)](_0x2b4385,_0x1a22c9),this[_0x33b177(0xee)](_0x1a22c9,_0x2b4385)):_0xb0b2a2&&_0xb0b2a2===_0x1e10d0?this[_0x33b177(0xb6)](_0x2b4385,_0x1a22c9):this[_0x33b177(0xee)](_0x1a22c9,_0x2b4385);}[_0x4ee2df(0xea)](_0x20aa2d,_0x6040f7){const _0x177dec=_0x4ee2df;0x0===this[_0x177dec(0xa7)][_0x177dec(0xe0)]&&setTimeout(()=>{const _0x49526c=_0x177dec;for(const {sidebarItemView:_0x32fe5e,changedProp:_0x24fbff}of this[_0x49526c(0xa7)])_0x49526c(0xfb)===_0x24fbff?this[_0x49526c(0xec)](_0x32fe5e):this[_0x49526c(0xc8)](_0x32fe5e);this[_0x49526c(0xa7)]=[];},0xa),this[_0x177dec(0xa7)][_0x177dec(0xcf)]({'sidebarItemView':_0x20aa2d,'changedProp':_0x6040f7});}[_0x4ee2df(0xa4)](_0x2a8623){const _0x25cd6b=_0x4ee2df;return this[_0x25cd6b(0xc3)][_0x25cd6b(0xbc)](_0x2a8623);}[_0x4ee2df(0xbf)](){const _0x3b3c17=_0x4ee2df;this[_0x3b3c17(0xc7)](),this[_0x3b3c17(0xf1)][_0x3b3c17(0xbf)]();}[_0x4ee2df(0xc9)](_0x17a99e){const _0x3f1317=_0x4ee2df,_0x67f4aa=this[_0x3f1317(0xa4)](_0x17a99e);this[_0x3f1317(0xc7)](_0x67f4aa),this[_0x3f1317(0xc7)](_0x17a99e[_0x3f1317(0xf1)]),_0x67f4aa[_0x3f1317(0xbf)](),this[_0x3f1317(0xc3)][_0x3f1317(0xef)](_0x17a99e),this[_0x3f1317(0xce)][_0x3f1317(0xef)](_0x67f4aa);}[_0x4ee2df(0xe6)](){const _0x456a42=_0x4ee2df,_0x2d1324=new _0x1a1d4f(this[_0x456a42(0xf0)][_0x456a42(0xa3)]);return _0x2d1324[_0x456a42(0xe7)](),this['on'](_0x456a42(0xae),(_0x389b60,_0x1a6519,_0x3bc4bc,_0x45ee4a)=>{const _0x2263b8=_0x456a42;_0x45ee4a&&_0x2d1324[_0x2263b8(0xe8)](_0x2263b8(0xdb)),_0x3bc4bc?_0x2d1324[_0x2263b8(0xe9)](_0x2263b8(0xdb))['to'](_0x3bc4bc,_0x2263b8(0xa5)):_0x2d1324[_0x2263b8(0xdb)]=null;}),_0x2d1324;}[_0x4ee2df(0xac)](){const _0x558744=_0x4ee2df;var _0x1b6487;this[_0x558744(0xcb)]=(null===(_0x1b6487=this[_0x558744(0xed)])||void 0x0===_0x1b6487?void 0x0:_0x1b6487[_0x558744(0xf4)])?this[_0x558744(0xa4)](this[_0x558744(0xed)][_0x558744(0xf4)]):null;}[_0x4ee2df(0xbd)](_0x28662d){const _0x4ca684=_0x4ee2df;var _0x4d6992;const _0x2cd8dd=this[_0x4ca684(0xce)][_0x4ca684(0xbc)](_0x28662d),_0x11d1e6=_0x2cd8dd&&(null===(_0x4d6992=this[_0x4ca684(0xed)])||void 0x0===_0x4d6992?void 0x0:_0x4d6992[_0x4ca684(0xbc)](this[_0x4ca684(0xed)][_0x4ca684(0xcd)](_0x2cd8dd)-0x1));return _0x11d1e6&&this[_0x4ca684(0xa4)](_0x11d1e6)||null;}[_0x4ee2df(0xd2)](_0x410c2c){const _0x17d3e0=_0x4ee2df;var _0x3457d3;const _0x3c7be1=this[_0x17d3e0(0xce)][_0x17d3e0(0xbc)](_0x410c2c),_0x3489f1=_0x3c7be1&&(null===(_0x3457d3=this[_0x17d3e0(0xed)])||void 0x0===_0x3457d3?void 0x0:_0x3457d3[_0x17d3e0(0xbc)](this[_0x17d3e0(0xed)][_0x17d3e0(0xcd)](_0x3c7be1)+0x1));return _0x3489f1&&this[_0x17d3e0(0xa4)](_0x3489f1)||null;}[_0x4ee2df(0xb6)](_0x9d0f9,_0x360eb4){const _0x419e45=_0x4ee2df;_0x9d0f9[_0x419e45(0xe5)]();const _0x413c9e=H(_0x360eb4[_0x419e45(0xa5)]+this[_0x419e45(0xb2)],_0x9d0f9[_0x419e45(0xfb)]);return!!_0x413c9e&&(this[_0x419e45(0xaf)](_0x360eb4,_0x360eb4[_0x419e45(0xfb)]-_0x413c9e),!0x0);}[_0x4ee2df(0xee)](_0x4ee307,_0x124255){const _0x4b4004=_0x4ee2df;_0x4ee307[_0x4b4004(0xe5)]();const _0x308cf1=H(_0x4ee307[_0x4b4004(0xa5)]+this[_0x4b4004(0xb2)],_0x124255[_0x4b4004(0xfb)]);return!!_0x308cf1&&(this[_0x4b4004(0xaf)](_0x124255,_0x124255[_0x4b4004(0xfb)]+_0x308cf1,!0x1),!0x0);}[_0x4ee2df(0xf8)](_0xada196){const _0x5d0df2=_0x4ee2df,_0x3cf2ec=this[_0x5d0df2(0xce)][_0x5d0df2(0xbc)](_0xada196);if(!_0x3cf2ec||!_0x3cf2ec[_0x5d0df2(0xb0)]||!_0x3cf2ec[_0x5d0df2(0xa2)])return;const _0x2c1b4a=this[_0x5d0df2(0xf5)](_0x3cf2ec,_0x3cf2ec[_0x5d0df2(0xa2)]);this[_0x5d0df2(0xaf)](_0xada196,_0x2c1b4a);}[_0x4ee2df(0xf5)](_0x509083,_0x4099d0){const _0x462db3=_0x4ee2df;if(null===_0x4099d0)return 0x0;if(_0x509083[_0x462db3(0xb0)]instanceof _0x39a3c3)return _0x4099d0[_0x462db3(0xfb)];{const _0x5313c4=new _0x39a3c3(this[_0x462db3(0xf1)][_0x462db3(0xa9)])[_0x462db3(0xfb)];return _0x4099d0[_0x462db3(0xfb)]-_0x5313c4;}}[_0x4ee2df(0xaf)](_0x1b0b59,_0x574f10,_0x218ddf=this[_0x4ee2df(0xf0)][_0x4ee2df(0xb5)][_0x4ee2df(0xbc)](_0x4ee2df(0xb1))){const _0x537725=_0x4ee2df;_0x218ddf&&(_0x574f10=Math[_0x537725(0xc6)](_0x574f10,this[_0x537725(0xa8)](_0x1b0b59))),_0x1b0b59[_0x537725(0xfb)]=_0x574f10;}[_0x4ee2df(0xa8)](_0x574035){const _0x1f119b=_0x4ee2df;let _0x546c0c=this[_0x1f119b(0xbd)](_0x574035),_0x292d01=0x0;for(;_0x546c0c;)_0x546c0c[_0x1f119b(0xe5)](),_0x292d01+=this[_0x1f119b(0xb2)]+_0x546c0c[_0x1f119b(0xb3)],_0x546c0c=this[_0x1f119b(0xbd)](_0x546c0c);return _0x292d01;}}function H(_0x4a962a,_0x4578b9){const _0x145db2=_0x4ee2df;return Math[_0x145db2(0xc6)](_0x4a962a-_0x4578b9,0x0);}function _0x4b38(){const _0x4c00d0=['add','isActive','max','stopListening','_alignForBottomChange','_destroySidebarItemView','nodeType','_lastItem','_detachFromContainer','getIndex','_sidebarItemViewToAnnotation','push','1479827GZbiAf','setContainer','_getItemAfter','sidebar-attachtocontainer-missing-container','addAnnotation','1347020FXimyC','33TJfyWf','object','5244594kmLSjW','isAnimationDisabled','_activeAnnotation','minHeight','222408oeNXRv','refresh','rearrange','clear','length','sidebar-setcontainer-invalid-element','8JdOiFG','remove','set','updateHeight','_createSidebarView','render','unbind','bind','_recalculate','Sidebar','_alignForTopChange','_annotations','_alignAfterItem','delete','context','view','change:targetRect','sidebar.container','last','_getTargetTop','define','pluginName','_alignToTargetRect','81bCkfEa','_attachToContainer','top','targetRect','locale','getSidebarItemView','bottom','11428683azrzem','_recalculateBuffer','_getMaxAvailableTop','element','150KbPBrJ','appendChild','_updateLastItem','27356582VDofzi','change:_lastItem','_setItemTop','target','sidebar.preventScrollOutOfView','_spaceBetweenItems','height','listenTo','config','_alignBeforeItem','content','91804BwhNPB','class','change:top','_targetTop','get','_getItemBefore','container','destroy','init','list','change:bottom','_annotationToSidebarItemView'];_0x4b38=function(){return _0x4c00d0;};return _0x4b38();}function y(_0x15cfc6){const _0x5d5b0f=_0x4ee2df;return null!==_0x15cfc6&&_0x5d5b0f(0xd7)==typeof _0x15cfc6&&0x1===_0x15cfc6[_0x5d5b0f(0xca)];}
|
|
23
|
+
const _0x4f3355=_0x5c16;(function(_0x166e96,_0x322c4c){const _0x5a1124=_0x5c16,_0x96ccc7=_0x166e96();while(!![]){try{const _0x360339=-parseInt(_0x5a1124(0xae))/0x1+-parseInt(_0x5a1124(0xd0))/0x2+-parseInt(_0x5a1124(0x92))/0x3+-parseInt(_0x5a1124(0x90))/0x4*(parseInt(_0x5a1124(0xb1))/0x5)+parseInt(_0x5a1124(0x8b))/0x6*(parseInt(_0x5a1124(0xdc))/0x7)+parseInt(_0x5a1124(0x9c))/0x8*(-parseInt(_0x5a1124(0xbc))/0x9)+parseInt(_0x5a1124(0x98))/0xa;if(_0x360339===_0x322c4c)break;else _0x96ccc7['push'](_0x96ccc7['shift']());}catch(_0x239990){_0x96ccc7['push'](_0x96ccc7['shift']());}}}(_0x27a2,0x35446));import{ContextPlugin as _0x761c75}from'ckeditor5/src/core.js';import{Rect as _0x24cade,CKEditorError as _0x5da022}from'ckeditor5/src/utils.js';import _0x443cb0 from'./view/sidebarview.js';import _0x171d41 from'./view/sidebaritemview.js';export default class D extends _0x761c75{static get[_0x4f3355(0xc6)](){const _0x36adbc=_0x4f3355;return _0x36adbc(0xaf);}constructor(_0x556881){const _0x54f322=_0x4f3355;super(_0x556881),this[_0x54f322(0xb0)](_0x54f322(0xa0),void 0x0),this[_0x54f322(0x95)]=this[_0x54f322(0x97)](),this[_0x54f322(0xb0)](_0x54f322(0xcb),null),this[_0x54f322(0xd3)]=0x19,this[_0x54f322(0xc0)]=new Map(),this[_0x54f322(0xd4)]=new Map(),this[_0x54f322(0x9e)][_0x54f322(0xcf)][_0x54f322(0xb3)](_0x54f322(0xa8),!0x1),this[_0x54f322(0xc3)]=null,this[_0x54f322(0xdb)]=null,this[_0x54f322(0xd7)]=[];}[_0x4f3355(0xa1)](){const _0x899cf0=_0x4f3355,_0x1b9ace=this[_0x899cf0(0x9e)][_0x899cf0(0xcf)][_0x899cf0(0xd1)](_0x899cf0(0x9a));_0x1b9ace&&this[_0x899cf0(0x9b)](_0x1b9ace);}[_0x4f3355(0x9b)](_0x59c7e7){const _0xa9d933=_0x4f3355;if(!y(_0x59c7e7))throw new _0x5da022(_0xa9d933(0xca));this[_0xa9d933(0xcb)]=_0x59c7e7;}[_0x4f3355(0xd2)]({viewClass:_0x39a93f='',spaceBetweenItems:_0xd14311=0x19}={}){const _0x5ed1ce=_0x4f3355;if(!y(this[_0x5ed1ce(0xcb)]))throw new _0x5da022(_0x5ed1ce(0x93),this);this[_0x5ed1ce(0xcb)][_0x5ed1ce(0xad)](this[_0x5ed1ce(0x95)][_0x5ed1ce(0xda)]),this[_0x5ed1ce(0x95)][_0x5ed1ce(0x8e)]=_0x39a93f,this[_0x5ed1ce(0xd3)]=_0xd14311;}[_0x4f3355(0x85)]({removedAnnotation:_0x40fe74,previousAnnotation:_0xa4ae0,nextAnnotation:_0x1ae2a9}){const _0x38149f=_0x4f3355,_0x5cfdb1=this[_0x38149f(0xa9)](_0x40fe74);this[_0x38149f(0x95)][_0x38149f(0xbe)][_0x38149f(0x84)](_0x5cfdb1),this[_0x38149f(0x8d)](_0x40fe74),_0xa4ae0&&this[_0x38149f(0x86)](this[_0x38149f(0xa9)](_0xa4ae0)),_0x1ae2a9&&this[_0x38149f(0x86)](this[_0x38149f(0xa9)](_0x1ae2a9)),this[_0x38149f(0xce)]();}[_0x4f3355(0xd5)]({blurredAnnotation:_0x1b2de1,activatedAnnotation:_0x580a9f,disableAnimationOnActivatedAnnotation:_0x208a75}){const _0x4a6979=_0x4f3355;if(this[_0x4a6979(0xdb)]=_0x580a9f,_0x1b2de1){_0x1b2de1[_0x4a6979(0x91)]=!0x1;const _0x50a55d=this[_0x4a6979(0xa9)](_0x1b2de1);_0x50a55d&&_0x208a75&&(_0x50a55d[_0x4a6979(0xb2)]=!0x1);}if(_0x580a9f){const _0x539a49=this[_0x4a6979(0xa9)](_0x580a9f);_0x539a49&&(_0x580a9f[_0x4a6979(0x91)]=!0x0,_0x208a75&&(_0x539a49[_0x4a6979(0xb2)]=!0x0,_0x539a49[_0x4a6979(0xc1)]+=0x1),this[_0x4a6979(0x86)](_0x539a49));}}[_0x4f3355(0xc9)](_0x34e01f){const _0x1dfe0e=_0x4f3355;if(this[_0x1dfe0e(0x95)][_0x1dfe0e(0xda)][_0x1dfe0e(0x84)](),_0x34e01f){for(const _0xaf5258 of _0x34e01f)this[_0x1dfe0e(0x8d)](_0xaf5258);}this[_0x1dfe0e(0x95)][_0x1dfe0e(0xbe)][_0x1dfe0e(0xb9)](),this[_0x1dfe0e(0x95)][_0x1dfe0e(0x8e)]='',this[_0x1dfe0e(0xa0)]=null;}[_0x4f3355(0xc8)](_0x147c7e,_0xb83bd){const _0x1df6da=_0x4f3355;_0xb83bd||(_0xb83bd=_0x147c7e[_0x1df6da(0x95)]);const _0x44a396=new _0x171d41(this[_0x1df6da(0x9e)][_0x1df6da(0x89)]);this[_0x1df6da(0xc0)][_0x1df6da(0xb0)](_0x44a396,_0x147c7e),this[_0x1df6da(0xd4)][_0x1df6da(0xb0)](_0x147c7e,_0x44a396),_0x44a396[_0x1df6da(0xa5)][_0x1df6da(0xbb)](_0xb83bd),this[_0x1df6da(0xbf)](_0x147c7e[_0x1df6da(0x95)],_0x1df6da(0xa3),(_0x5006d4,_0x30e5a5,_0x5538a0)=>{const _0x30ed2a=_0x1df6da,_0x1ba86e=this[_0x30ed2a(0x94)](_0x147c7e,_0x5538a0);_0x44a396[_0x30ed2a(0x9f)]!=_0x1ba86e&&(_0x44a396[_0x30ed2a(0x9f)]=_0x1ba86e,this[_0x30ed2a(0xb5)](_0x44a396,_0x1ba86e));}),this[_0x1df6da(0xbf)](_0x44a396,_0x1df6da(0xd9),()=>{const _0x22fdcb=_0x1df6da;this[_0x22fdcb(0xc5)](_0x44a396,_0x22fdcb(0xc1));}),this[_0x1df6da(0xbf)](_0x44a396,_0x1df6da(0xab),()=>{const _0x50352f=_0x1df6da;this[_0x50352f(0xc5)](_0x44a396,_0x50352f(0xb7));}),this[_0x1df6da(0x86)](_0x44a396);const _0x40c065=this[_0x1df6da(0xbd)](_0x44a396);if(_0x40c065)this[_0x1df6da(0xc7)](_0x40c065,_0x44a396)||this[_0x1df6da(0x86)](_0x44a396);else this[_0x1df6da(0x86)](_0x44a396);return this[_0x1df6da(0xce)](),this[_0x1df6da(0x95)][_0x1df6da(0xbe)][_0x1df6da(0xbb)](_0x44a396),_0x44a396;}[_0x4f3355(0xa2)](_0x1bc273){const _0x31a592=_0x4f3355;if(!_0x1bc273[_0x31a592(0xa5)][_0x31a592(0xb8)])return;const _0x1a2e98=this[_0x31a592(0xbd)](_0x1bc273);if(!_0x1a2e98)return;const _0xa2765d=this[_0x31a592(0xc0)][_0x31a592(0xd1)](_0x1a2e98),_0x23b912=this[_0x31a592(0xdb)];_0x23b912&&_0x23b912===_0xa2765d?this[_0x31a592(0xc7)](_0x1a2e98,_0x1bc273):this[_0x31a592(0x99)](_0x1bc273,_0x1a2e98);}[_0x4f3355(0xb6)](_0x323884){const _0x2331d1=_0x4f3355;if(!_0x323884[_0x2331d1(0xa5)][_0x2331d1(0xb8)])return;const _0x3d775a=this[_0x2331d1(0xa4)](_0x323884);if(!_0x3d775a)return;const _0x58c09e=this[_0x2331d1(0xc0)][_0x2331d1(0xd1)](_0x3d775a),_0x36da70=this[_0x2331d1(0x9e)][_0x2331d1(0xcf)][_0x2331d1(0xd1)](_0x2331d1(0xa8)),_0x4578d4=this[_0x2331d1(0xdb)];_0x4578d4&&_0x4578d4===_0x58c09e&&_0x36da70?(this[_0x2331d1(0x99)](_0x3d775a,_0x323884),this[_0x2331d1(0xc7)](_0x323884,_0x3d775a)):_0x4578d4&&_0x4578d4===_0x58c09e?this[_0x2331d1(0x99)](_0x3d775a,_0x323884):this[_0x2331d1(0xc7)](_0x323884,_0x3d775a);}[_0x4f3355(0xc5)](_0x45a887,_0x4a98cc){const _0x118a1f=_0x4f3355;0x0===this[_0x118a1f(0xd7)][_0x118a1f(0xb8)]&&setTimeout(()=>{const _0x44a507=_0x118a1f;for(const {sidebarItemView:_0x2635ee,changedProp:_0x5d7ee8}of this[_0x44a507(0xd7)])_0x44a507(0xc1)===_0x5d7ee8?this[_0x44a507(0xa2)](_0x2635ee):this[_0x44a507(0xb6)](_0x2635ee);this[_0x44a507(0xd7)]=[];},0xa),this[_0x118a1f(0xd7)][_0x118a1f(0xc4)]({'sidebarItemView':_0x45a887,'changedProp':_0x4a98cc});}[_0x4f3355(0xa9)](_0x561c3d){const _0x5786c0=_0x4f3355;return this[_0x5786c0(0xd4)][_0x5786c0(0xd1)](_0x561c3d);}[_0x4f3355(0xcd)](){const _0xe494d9=_0x4f3355;this[_0xe494d9(0xac)](),this[_0xe494d9(0x95)][_0xe494d9(0xcd)]();}[_0x4f3355(0x8d)](_0x1c8c96){const _0x463600=_0x4f3355,_0x4f59bf=this[_0x463600(0xa9)](_0x1c8c96);this[_0x463600(0xac)](_0x4f59bf),this[_0x463600(0xac)](_0x1c8c96[_0x463600(0x95)]),_0x4f59bf[_0x463600(0xcd)](),this[_0x463600(0xd4)][_0x463600(0xa7)](_0x1c8c96),this[_0x463600(0xc0)][_0x463600(0xa7)](_0x4f59bf);}[_0x4f3355(0x97)](){const _0x4d90e2=_0x4f3355,_0x933140=new _0x443cb0(this[_0x4d90e2(0x9e)][_0x4d90e2(0x89)]);return _0x933140[_0x4d90e2(0xd6)](),this['on'](_0x4d90e2(0xaa),(_0x9e546f,_0x72e4e6,_0x272145,_0xe1a9cc)=>{const _0x1ff8e6=_0x4d90e2;_0xe1a9cc&&_0x933140[_0x1ff8e6(0xb4)](_0x1ff8e6(0x9d)),_0x272145?_0x933140[_0x1ff8e6(0xba)](_0x1ff8e6(0x9d))['to'](_0x272145,_0x1ff8e6(0xb7)):_0x933140[_0x1ff8e6(0x9d)]=null;}),_0x933140;}[_0x4f3355(0xce)](){const _0x43aeb9=_0x4f3355;var _0x59c639;this[_0x43aeb9(0xa0)]=(null===(_0x59c639=this[_0x43aeb9(0xc3)])||void 0x0===_0x59c639?void 0x0:_0x59c639[_0x43aeb9(0xa6)])?this[_0x43aeb9(0xa9)](this[_0x43aeb9(0xc3)][_0x43aeb9(0xa6)]):null;}[_0x4f3355(0xbd)](_0x152b46){const _0x247b9f=_0x4f3355;var _0x2fb3bf;const _0x3987a6=this[_0x247b9f(0xc0)][_0x247b9f(0xd1)](_0x152b46),_0x1d3ed4=_0x3987a6&&(null===(_0x2fb3bf=this[_0x247b9f(0xc3)])||void 0x0===_0x2fb3bf?void 0x0:_0x2fb3bf[_0x247b9f(0xd1)](this[_0x247b9f(0xc3)][_0x247b9f(0x8a)](_0x3987a6)-0x1));return _0x1d3ed4&&this[_0x247b9f(0xa9)](_0x1d3ed4)||null;}[_0x4f3355(0xa4)](_0x13c298){const _0x141309=_0x4f3355;var _0x2c2b51;const _0x521955=this[_0x141309(0xc0)][_0x141309(0xd1)](_0x13c298),_0x29ebce=_0x521955&&(null===(_0x2c2b51=this[_0x141309(0xc3)])||void 0x0===_0x2c2b51?void 0x0:_0x2c2b51[_0x141309(0xd1)](this[_0x141309(0xc3)][_0x141309(0x8a)](_0x521955)+0x1));return _0x29ebce&&this[_0x141309(0xa9)](_0x29ebce)||null;}[_0x4f3355(0x99)](_0x43c82b,_0x126a03){const _0x17f69d=_0x4f3355;_0x43c82b[_0x17f69d(0x8c)]();const _0x1bc2b0=H(_0x126a03[_0x17f69d(0xb7)]+this[_0x17f69d(0xd3)],_0x43c82b[_0x17f69d(0xc1)]);return!!_0x1bc2b0&&(this[_0x17f69d(0xb5)](_0x126a03,_0x126a03[_0x17f69d(0xc1)]-_0x1bc2b0),!0x0);}[_0x4f3355(0xc7)](_0x5eb89c,_0x340579){const _0x3211a2=_0x4f3355;_0x5eb89c[_0x3211a2(0x8c)]();const _0x20b899=H(_0x5eb89c[_0x3211a2(0xb7)]+this[_0x3211a2(0xd3)],_0x340579[_0x3211a2(0xc1)]);return!!_0x20b899&&(this[_0x3211a2(0xb5)](_0x340579,_0x340579[_0x3211a2(0xc1)]+_0x20b899,!0x1),!0x0);}[_0x4f3355(0x86)](_0x5aba04){const _0x563193=_0x4f3355,_0x4e4267=this[_0x563193(0xc0)][_0x563193(0xd1)](_0x5aba04);if(!_0x4e4267||!_0x4e4267[_0x563193(0xcc)]||!_0x4e4267[_0x563193(0x87)])return;const _0x1766c1=this[_0x563193(0x94)](_0x4e4267,_0x4e4267[_0x563193(0x87)]);this[_0x563193(0xb5)](_0x5aba04,_0x1766c1);}[_0x4f3355(0x94)](_0x3ad9c5,_0x50dc39){const _0x10c92d=_0x4f3355;if(null===_0x50dc39)return 0x0;if(_0x3ad9c5[_0x10c92d(0xcc)]instanceof _0x24cade)return _0x50dc39[_0x10c92d(0xc1)];{const _0x22a573=new _0x24cade(this[_0x10c92d(0x95)][_0x10c92d(0xda)])[_0x10c92d(0xc1)];return _0x50dc39[_0x10c92d(0xc1)]-_0x22a573;}}[_0x4f3355(0xb5)](_0x4ef509,_0x2c6343,_0x3fa53d=this[_0x4f3355(0x9e)][_0x4f3355(0xcf)][_0x4f3355(0xd1)](_0x4f3355(0xa8))){const _0x2de82a=_0x4f3355;_0x3fa53d&&(_0x2c6343=Math[_0x2de82a(0x96)](_0x2c6343,this[_0x2de82a(0xc2)](_0x4ef509))),_0x4ef509[_0x2de82a(0xc1)]=_0x2c6343;}[_0x4f3355(0xc2)](_0x4cdeeb){const _0x24da83=_0x4f3355;let _0x2794dc=this[_0x24da83(0xbd)](_0x4cdeeb),_0x47bd5f=0x0;for(;_0x2794dc;)_0x2794dc[_0x24da83(0x8c)](),_0x47bd5f+=this[_0x24da83(0xd3)]+_0x2794dc[_0x24da83(0x8f)],_0x2794dc=this[_0x24da83(0xbd)](_0x2794dc);return _0x47bd5f;}}function _0x27a2(){const _0x147a6b=['249096MDZLhd','get','_attachToContainer','_spaceBetweenItems','_annotationToSidebarItemView','refresh','render','_recalculateBuffer','object','change:top','element','_activeAnnotation','609HUzODq','remove','rearrange','_alignToTargetRect','targetRect','nodeType','locale','getIndex','19548QTztXJ','updateHeight','_destroySidebarItemView','class','height','204fwdiYd','isActive','16998qWvcQD','sidebar-attachtocontainer-missing-container','_getTargetTop','view','max','_createSidebarView','6717570netzgM','_alignBeforeItem','sidebar.container','setContainer','8VruFEK','minHeight','context','_targetTop','_lastItem','init','_alignForTopChange','change:targetRect','_getItemAfter','content','last','delete','sidebar.preventScrollOutOfView','getSidebarItemView','change:_lastItem','change:bottom','stopListening','appendChild','188785oWomSb','Sidebar','set','2325TYGAVs','isAnimationDisabled','define','unbind','_setItemTop','_alignForBottomChange','bottom','length','clear','bind','add','3548763TeQqGq','_getItemBefore','list','listenTo','_sidebarItemViewToAnnotation','top','_getMaxAvailableTop','_annotations','push','_recalculate','pluginName','_alignAfterItem','addAnnotation','_detachFromContainer','sidebar-setcontainer-invalid-element','container','target','destroy','_updateLastItem','config'];_0x27a2=function(){return _0x147a6b;};return _0x27a2();}function H(_0x286830,_0x301867){const _0x4a2758=_0x4f3355;return Math[_0x4a2758(0x96)](_0x286830-_0x301867,0x0);}function _0x5c16(_0x442aac,_0x845437){const _0x27a2eb=_0x27a2();return _0x5c16=function(_0x5c1687,_0xecb765){_0x5c1687=_0x5c1687-0x84;let _0x244344=_0x27a2eb[_0x5c1687];return _0x244344;},_0x5c16(_0x442aac,_0x845437);}function y(_0x122fed){const _0x2015d0=_0x4f3355;return null!==_0x122fed&&_0x2015d0(0xd8)==typeof _0x122fed&&0x1===_0x122fed[_0x2015d0(0x88)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x6c5bd8,_0x3711c2){const _0x3ed25e=_0x2583,_0x3cf677=_0x6c5bd8();while(!![]){try{const _0x3a0c2d=parseInt(_0x3ed25e(0xbd))/0x1+-parseInt(_0x3ed25e(0xbb))/0x2*(-parseInt(_0x3ed25e(0xc5))/0x3)+parseInt(_0x3ed25e(0xca))/0x4*(parseInt(_0x3ed25e(0xba))/0x5)+-parseInt(_0x3ed25e(0xcd))/0x6+parseInt(_0x3ed25e(0xc7))/0x7*(parseInt(_0x3ed25e(0xb5))/0x8)+-parseInt(_0x3ed25e(0xd2))/0x9+-parseInt(_0x3ed25e(0xc6))/0xa;if(_0x3a0c2d===_0x3711c2)break;else _0x3cf677['push'](_0x3cf677['shift']());}catch(_0x29b621){_0x3cf677['push'](_0x3cf677['shift']());}}}(_0x58d6,0xeaaa3));import{ButtonView as _0x430a54,View as _0x269f26}from'ckeditor5/src/ui.js';function _0x2583(_0x59e966,_0x13f61f){const _0x58d662=_0x58d6();return _0x2583=function(_0x258372,_0x322ce9){_0x258372=_0x258372-0xb5;let _0x52dd4d=_0x58d662[_0x258372];return _0x52dd4d;},_0x2583(_0x59e966,_0x13f61f);}function _0x58d6(){const _0x3797d6=['ck-annotation-counter__badge--edit-mode','setTemplate','4028727pvpBYE','15295470oUvodv','995869NCYFlQ','ck-annotation-counter','bindTemplate','61736RaeIEh','number','add','3093378VvdEEx','bind','toString','ck-annotation-counter__badge','set','7495668AadfIM','32KyNsUi','icon','ck-annotation-counter__badge--','annotationType','...','425gxmwfY','2ahwZJE','extendTemplate','615282PsqiUv','counterView','children','_badge','isDirty','span'];_0x58d6=function(){return _0x3797d6;};return _0x58d6();}import _0x372859 from'../../../theme/icons/add-comment.svg';export default class L extends _0x430a54{constructor(_0x3c64bb){const _0x1caf06=_0x2583;super(_0x3c64bb);const _0x1c617a=this[_0x1caf06(0xc9)];this[_0x1caf06(0xd1)](_0x1caf06(0xc1),!0x1),this[_0x1caf06(0xd1)](_0x1caf06(0xcb),0x0),this[_0x1caf06(0xce)](_0x1caf06(0xc0))['to'](this,_0x1caf06(0xc1),this,_0x1caf06(0xcb),(_0x29e38d,_0xf22238)=>_0x29e38d?_0x1caf06(0xb9):_0xf22238[_0x1caf06(0xcf)]()),this[_0x1caf06(0xd1)](_0x1caf06(0xb8),''),this[_0x1caf06(0xb6)]=_0x372859,this[_0x1caf06(0xbc)]({'attributes':{'class':[_0x1caf06(0xc8)]}}),this[_0x1caf06(0xbe)]=new _0x269f26(),this[_0x1caf06(0xbe)][_0x1caf06(0xc4)]({'tag':_0x1caf06(0xc2),'attributes':{'class':[_0x1caf06(0xd0),_0x1c617a['to'](_0x1caf06(0xb8),_0x110219=>_0x1caf06(0xb7)+_0x110219),_0x1c617a['if'](_0x1caf06(0xc1),_0x1caf06(0xc3))]},'children':[{'text':_0x1c617a['to'](_0x1caf06(0xc0))}]}),this[_0x1caf06(0xbf)][_0x1caf06(0xcc)](this[_0x1caf06(0xbe)]);}}
|