@ckeditor/ckeditor5-comments 41.3.0-alpha.3 → 41.3.0
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/package.json +3 -4
- package/src/annotations/annotation.js +1 -1
- 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.d.ts +2 -2
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +1 -1
- 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 +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- 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/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.js +1 -1
- 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/commentsarchive.css +1 -1
- package/dist/content-index.css +0 -332
- package/dist/editor-index.css +0 -902
- package/dist/index.css +0 -1874
- package/dist/translations/af.d.ts +0 -8
- package/dist/translations/af.js +0 -23
- package/dist/translations/ar.d.ts +0 -8
- package/dist/translations/ar.js +0 -23
- package/dist/translations/bg.d.ts +0 -8
- package/dist/translations/bg.js +0 -23
- package/dist/translations/bn.d.ts +0 -8
- package/dist/translations/bn.js +0 -23
- package/dist/translations/bs.d.ts +0 -8
- package/dist/translations/bs.js +0 -23
- package/dist/translations/ca.d.ts +0 -8
- package/dist/translations/ca.js +0 -23
- package/dist/translations/cs.d.ts +0 -8
- package/dist/translations/cs.js +0 -23
- package/dist/translations/da.d.ts +0 -8
- package/dist/translations/da.js +0 -23
- package/dist/translations/de-ch.d.ts +0 -8
- package/dist/translations/de-ch.js +0 -23
- package/dist/translations/de.d.ts +0 -8
- package/dist/translations/de.js +0 -23
- package/dist/translations/el.d.ts +0 -8
- package/dist/translations/el.js +0 -23
- package/dist/translations/en-au.d.ts +0 -8
- package/dist/translations/en-au.js +0 -23
- package/dist/translations/en.d.ts +0 -8
- package/dist/translations/en.js +0 -23
- package/dist/translations/es-co.d.ts +0 -8
- package/dist/translations/es-co.js +0 -23
- package/dist/translations/es.d.ts +0 -8
- package/dist/translations/es.js +0 -23
- package/dist/translations/et.d.ts +0 -8
- package/dist/translations/et.js +0 -23
- package/dist/translations/fa.d.ts +0 -8
- package/dist/translations/fa.js +0 -23
- package/dist/translations/fi.d.ts +0 -8
- package/dist/translations/fi.js +0 -23
- package/dist/translations/fr.d.ts +0 -8
- package/dist/translations/fr.js +0 -23
- package/dist/translations/gl.d.ts +0 -8
- package/dist/translations/gl.js +0 -23
- package/dist/translations/he.d.ts +0 -8
- package/dist/translations/he.js +0 -23
- package/dist/translations/hi.d.ts +0 -8
- package/dist/translations/hi.js +0 -23
- package/dist/translations/hr.d.ts +0 -8
- package/dist/translations/hr.js +0 -23
- package/dist/translations/hu.d.ts +0 -8
- package/dist/translations/hu.js +0 -23
- package/dist/translations/id.d.ts +0 -8
- package/dist/translations/id.js +0 -23
- package/dist/translations/it.d.ts +0 -8
- package/dist/translations/it.js +0 -23
- package/dist/translations/ja.d.ts +0 -8
- package/dist/translations/ja.js +0 -23
- package/dist/translations/jv.d.ts +0 -8
- package/dist/translations/jv.js +0 -23
- package/dist/translations/ko.d.ts +0 -8
- package/dist/translations/ko.js +0 -23
- package/dist/translations/lt.d.ts +0 -8
- package/dist/translations/lt.js +0 -23
- package/dist/translations/lv.d.ts +0 -8
- package/dist/translations/lv.js +0 -23
- package/dist/translations/ms.d.ts +0 -8
- package/dist/translations/ms.js +0 -23
- package/dist/translations/nl.d.ts +0 -8
- package/dist/translations/nl.js +0 -23
- package/dist/translations/no.d.ts +0 -8
- package/dist/translations/no.js +0 -23
- package/dist/translations/pl.d.ts +0 -8
- package/dist/translations/pl.js +0 -23
- package/dist/translations/pt-br.d.ts +0 -8
- package/dist/translations/pt-br.js +0 -23
- package/dist/translations/pt.d.ts +0 -8
- package/dist/translations/pt.js +0 -23
- package/dist/translations/ro.d.ts +0 -8
- package/dist/translations/ro.js +0 -23
- package/dist/translations/ru.d.ts +0 -8
- package/dist/translations/ru.js +0 -23
- package/dist/translations/sk.d.ts +0 -8
- package/dist/translations/sk.js +0 -23
- package/dist/translations/sq.d.ts +0 -8
- package/dist/translations/sq.js +0 -23
- package/dist/translations/sr-latn.d.ts +0 -8
- package/dist/translations/sr-latn.js +0 -23
- package/dist/translations/sr.d.ts +0 -8
- package/dist/translations/sr.js +0 -23
- package/dist/translations/sv.d.ts +0 -8
- package/dist/translations/sv.js +0 -23
- package/dist/translations/th.d.ts +0 -8
- package/dist/translations/th.js +0 -23
- package/dist/translations/tk.d.ts +0 -8
- package/dist/translations/tk.js +0 -23
- package/dist/translations/tr.d.ts +0 -8
- package/dist/translations/tr.js +0 -23
- package/dist/translations/tt.d.ts +0 -8
- package/dist/translations/tt.js +0 -23
- package/dist/translations/ug.d.ts +0 -8
- package/dist/translations/ug.js +0 -23
- package/dist/translations/uk.d.ts +0 -8
- package/dist/translations/uk.js +0 -23
- package/dist/translations/ur.d.ts +0 -8
- package/dist/translations/ur.js +0 -23
- package/dist/translations/vi.d.ts +0 -8
- package/dist/translations/vi.js +0 -23
- package/dist/translations/zh-cn.d.ts +0 -8
- package/dist/translations/zh-cn.js +0 -23
- package/dist/translations/zh.d.ts +0 -8
- package/dist/translations/zh.js +0 -23
- package/dist/types/annotations/annotation.d.ts +0 -94
- package/dist/types/annotations/annotationcollection.d.ts +0 -102
- package/dist/types/annotations/annotations.d.ts +0 -158
- package/dist/types/annotations/annotationsuis.d.ts +0 -236
- package/dist/types/annotations/editorannotations.d.ts +0 -71
- package/dist/types/annotations/inlineannotations.d.ts +0 -94
- package/dist/types/annotations/narrowsidebar.d.ts +0 -89
- package/dist/types/annotations/sidebar.d.ts +0 -104
- package/dist/types/annotations/view/annotationcounterbuttonview.d.ts +0 -33
- package/dist/types/annotations/view/annotationview.d.ts +0 -94
- package/dist/types/annotations/view/sidebaritemview.d.ts +0 -59
- package/dist/types/annotations/view/sidebarview.d.ts +0 -36
- package/dist/types/annotations/widesidebar.d.ts +0 -81
- package/dist/types/augmentation.d.ts +0 -56
- package/dist/types/comments/addcommentthreadcommand.d.ts +0 -39
- package/dist/types/comments/commentsarchive.d.ts +0 -35
- package/dist/types/comments/commentsarchiveui.d.ts +0 -42
- package/dist/types/comments/commentsediting.d.ts +0 -84
- package/dist/types/comments/commentsrepository.d.ts +0 -1134
- package/dist/types/comments/commentsui.d.ts +0 -37
- package/dist/types/comments/integrations/clipboard.d.ts +0 -30
- package/dist/types/comments/integrations/commentsrestrictededitingmode.d.ts +0 -21
- package/dist/types/comments/integrations/importword.d.ts +0 -25
- package/dist/types/comments/ui/commenteditor/commenteditor.d.ts +0 -40
- package/dist/types/comments/ui/commenteditor/commenteditorui.d.ts +0 -35
- package/dist/types/comments/ui/commenteditor/commenteditoruiview.d.ts +0 -40
- package/dist/types/comments/ui/commentthreadcontroller.d.ts +0 -68
- package/dist/types/comments/ui/view/basecommentthreadview.d.ts +0 -123
- package/dist/types/comments/ui/view/basecommentview.d.ts +0 -116
- package/dist/types/comments/ui/view/collapsedcommentsview.d.ts +0 -17
- package/dist/types/comments/ui/view/commentcontentview.d.ts +0 -18
- package/dist/types/comments/ui/view/commentinputview.d.ts +0 -90
- package/dist/types/comments/ui/view/commentsarchiveview.d.ts +0 -42
- package/dist/types/comments/ui/view/commentslistview.d.ts +0 -104
- package/dist/types/comments/ui/view/commentthreadheaderview.d.ts +0 -54
- package/dist/types/comments/ui/view/commentthreadinputview.d.ts +0 -45
- package/dist/types/comments/ui/view/commentthreadview.d.ts +0 -122
- package/dist/types/comments/ui/view/commentview.d.ts +0 -247
- package/dist/types/comments.d.ts +0 -39
- package/dist/types/commentsonly.d.ts +0 -37
- package/dist/types/config.d.ts +0 -202
- package/dist/types/index.d.ts +0 -28
- package/dist/types/utils/common-translations.d.ts +0 -13
- package/dist/types/utils/createmutationobserver.d.ts +0 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "41.3.0
|
|
3
|
+
"version": "41.3.0",
|
|
4
4
|
"description": "Collaborative comments feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
"main": "src/index.js",
|
|
37
37
|
"files": [
|
|
38
38
|
"build",
|
|
39
|
-
"dist",
|
|
40
39
|
"lang",
|
|
41
40
|
"src/**/*.js",
|
|
42
41
|
"src/**/*.d.ts",
|
|
@@ -45,8 +44,8 @@
|
|
|
45
44
|
"CHANGELOG.md"
|
|
46
45
|
],
|
|
47
46
|
"dependencies": {
|
|
48
|
-
"ckeditor5": "41.3.0
|
|
49
|
-
"ckeditor5-collaboration": "41.3.0
|
|
47
|
+
"ckeditor5": "41.3.0",
|
|
48
|
+
"ckeditor5-collaboration": "41.3.0",
|
|
50
49
|
"lodash-es": "4.17.21"
|
|
51
50
|
},
|
|
52
51
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x283afb=_0xbba1;(function(_0x2cee4d,_0x5516be){const _0x983798=_0xbba1,_0x1e7c56=_0x2cee4d();while(!![]){try{const _0xd2b3c6=-parseInt(_0x983798(0x193))/0x1+-parseInt(_0x983798(0x178))/0x2+parseInt(_0x983798(0x184))/0x3+parseInt(_0x983798(0x172))/0x4+parseInt(_0x983798(0x177))/0x5+-parseInt(_0x983798(0x187))/0x6*(-parseInt(_0x983798(0x188))/0x7)+-parseInt(_0x983798(0x19a))/0x8*(parseInt(_0x983798(0x173))/0x9);if(_0xd2b3c6===_0x5516be)break;else _0x1e7c56['push'](_0x1e7c56['shift']());}catch(_0x21c79b){_0x1e7c56['push'](_0x1e7c56['shift']());}}}(_0x3639,0x4573b));import{CKEditorError as _0x1391b7,Rect as _0x2d7c06,Collection as _0x47f65f,ObservableMixin as _0x2fb02b}from'ckeditor5/src/utils.js';function _0x3639(){const _0x4788de=['mainView','length','object','focusableElements','item','offsetParent','183378IInrUW','every','isActive','set','render','isArray','_id','16DImUDg','add','getClientRects','updateTargetRect','element','1178744XnviCy','2808585tFJkQD','stopListening','targetRect','filter','2325745StQadH','370724yoaimU','_getNormalizedTarget','refreshVisibility','annotation-invalid-target','nodeType','focusTracker','view','isVisible','function','_target','remove','_type','234831jUdkLE','target','type','246MThLsx','74991aWYWRc','_assertCorrectTarget','destroy','innerView','clear'];_0x3639=function(){return _0x4788de;};return _0x3639();}function _0xbba1(_0x21df05,_0x265204){const _0x3639a8=_0x3639();return _0xbba1=function(_0xbba1ce,_0x256b0d){_0xbba1ce=_0xbba1ce-0x171;let _0x3305f4=_0x3639a8[_0xbba1ce];return _0x3305f4;},_0xbba1(_0x21df05,_0x265204);}export default class d extends _0x2fb02b(){constructor({view:_0x57d22c,target:_0x235a31,type:_0x5e58cd,isVisible:_0x510591=!0x0}){const _0x353064=_0xbba1;super(),this[_0x353064(0x17e)]=_0x57d22c,this[_0x353064(0x17e)][_0x353064(0x171)]||this[_0x353064(0x17e)][_0x353064(0x197)](),this[_0x353064(0x183)]=_0x5e58cd,this[_0x353064(0x181)]=_0x235a31,d[_0x353064(0x189)](this[_0x353064(0x179)]()),this[_0x353064(0x190)]=new _0x47f65f([this[_0x353064(0x17e)][_0x353064(0x171)]],{'idProperty':_0x353064(0x199)}),this[_0x353064(0x190)]['on'](_0x353064(0x19b),(_0xa8aeee,_0x110b0f)=>{const _0x4cc4ed=_0x353064;this[_0x4cc4ed(0x17e)][_0x4cc4ed(0x17d)][_0x4cc4ed(0x19b)](_0x110b0f);}),this[_0x353064(0x190)]['on'](_0x353064(0x182),(_0x2267cf,_0xedb7ac)=>{const _0x3934e6=_0x353064;this[_0x3934e6(0x17e)][_0x3934e6(0x17d)][_0x3934e6(0x182)](_0xedb7ac);}),this[_0x353064(0x196)](_0x353064(0x17f),_0x510591);}get[_0x283afb(0x186)](){const _0xdee81e=_0x283afb;return _0xdee81e(0x180)==typeof this[_0xdee81e(0x183)]?this[_0xdee81e(0x183)]():this[_0xdee81e(0x183)];}get[_0x283afb(0x18b)](){const _0x5bc67e=_0x283afb;return this[_0x5bc67e(0x17e)][_0x5bc67e(0x18d)];}get[_0x283afb(0x185)](){const _0x99c234=_0x283afb,_0x13d8a7=this[_0x99c234(0x179)]();return d[_0x99c234(0x189)](_0x13d8a7),_0x13d8a7;}get[_0x283afb(0x175)](){const _0x4fde01=_0x283afb,_0x1f6c3b=this[_0x4fde01(0x185)];if(null===_0x1f6c3b)return null;if(_0x1f6c3b instanceof _0x2d7c06)return _0x1f6c3b;const _0x1b1fbc=_0x1f6c3b[_0x4fde01(0x176)](_0x13918d=>function(_0x155013){const _0x384839=_0x4fde01,_0x430c1a=_0x155013[_0x384839(0x192)];if(_0x430c1a)return!0x0;const _0x4968f2=_0x155013[_0x384839(0x19c)]()[_0x384839(0x191)](0x0);return!!_0x4968f2;}(_0x13918d));return 0x0===_0x1b1fbc[_0x4fde01(0x18e)]?null:new _0x2d7c06(_0x1b1fbc[0x0][_0x4fde01(0x19c)]()[_0x4fde01(0x191)](0x0));}get[_0x283afb(0x195)](){const _0x506cda=_0x283afb;return this[_0x506cda(0x17e)][_0x506cda(0x195)];}set[_0x283afb(0x195)](_0x2fbb8e){const _0x598976=_0x283afb;this[_0x598976(0x17e)][_0x598976(0x195)]=_0x2fbb8e,this[_0x598976(0x17e)][_0x598976(0x18d)][_0x598976(0x195)]=_0x2fbb8e;}[_0x283afb(0x19d)](){const _0xea52e5=_0x283afb;this[_0xea52e5(0x17e)][_0xea52e5(0x175)]=this[_0xea52e5(0x175)];}[_0x283afb(0x18a)](){const _0x1a50fb=_0x283afb;this[_0x1a50fb(0x190)][_0x1a50fb(0x174)](),this[_0x1a50fb(0x190)][_0x1a50fb(0x18c)](),this[_0x1a50fb(0x174)]();}[_0x283afb(0x17a)](){const _0x50e6ef=_0x283afb;this[_0x50e6ef(0x17f)]=!!this[_0x50e6ef(0x175)];}static[_0x283afb(0x189)](_0x40219b){const _0x43b5bb=_0x283afb;if(!(null===_0x40219b||_0x40219b instanceof _0x2d7c06||Array[_0x43b5bb(0x198)](_0x40219b)&&_0x40219b[_0x43b5bb(0x194)](_0x4be672=>y(_0x4be672))))throw new _0x1391b7(_0x43b5bb(0x17b),null,{'target':_0x40219b});}[_0x283afb(0x179)](){const _0x528a3b=_0x283afb,_0x3b1334=_0x528a3b(0x180)==typeof this[_0x528a3b(0x181)]?this[_0x528a3b(0x181)]():this[_0x528a3b(0x181)];return y(_0x3b1334)?[_0x3b1334]:_0x3b1334;}}function y(_0x5bd26a){const _0x182454=_0x283afb;return null!==_0x5bd26a&&_0x182454(0x18f)==typeof _0x5bd26a&&_0x182454(0x17c)in _0x5bd26a&&0x1===_0x5bd26a[_0x182454(0x17c)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1ae552=_0x5920;(function(_0x595b78,_0x10155e){const _0x4a681c=_0x5920,_0x22c9f9=_0x595b78();while(!![]){try{const _0x3d8736=parseInt(_0x4a681c(0x20c))/0x1*(parseInt(_0x4a681c(0x1fd))/0x2)+parseInt(_0x4a681c(0x1ec))/0x3*(parseInt(_0x4a681c(0x1f0))/0x4)+-parseInt(_0x4a681c(0x1e7))/0x5*(parseInt(_0x4a681c(0x205))/0x6)+-parseInt(_0x4a681c(0x20a))/0x7+parseInt(_0x4a681c(0x1f2))/0x8+parseInt(_0x4a681c(0x210))/0x9+parseInt(_0x4a681c(0x204))/0xa;if(_0x3d8736===_0x10155e)break;else _0x22c9f9['push'](_0x22c9f9['shift']());}catch(_0x55b80f){_0x22c9f9['push'](_0x22c9f9['shift']());}}}(_0x3163,0x79ff3));import{CKEditorError as _0x17d919,Collection as _0x183555,FocusTracker as _0x58d8b9}from'ckeditor5/src/utils.js';function _0x5920(_0x2faf67,_0x4f6afe){const _0x3163f3=_0x3163();return _0x5920=function(_0x5920a8,_0x13afc3){_0x5920a8=_0x5920a8-0x1e2;let _0x5b38bd=_0x3163f3[_0x5920a8];return _0x5b38bd;},_0x5920(_0x2faf67,_0x4f6afe);}export default class x extends _0x183555{constructor(_0x3904d9=[]){const _0x1c1353=_0x5920;super(),this[_0x1c1353(0x207)]=new Map(),this[_0x1c1353(0x1ff)]=new Map(),this[_0x1c1353(0x1fa)]=new _0x58d8b9(),this[_0x1c1353(0x1fa)]['on'](_0x1c1353(0x1e3),(_0x3401a3,_0x580d0c,_0x7ce7d4)=>{const _0x463427=_0x1c1353;_0x7ce7d4||this[_0x463427(0x20e)](_0x463427(0x200));});for(const _0x1d5b47 of _0x3904d9)this[_0x1c1353(0x1eb)](_0x1d5b47);}get[_0x1ae552(0x20d)](){const _0x19f8c6=_0x1ae552;return this[_0x19f8c6(0x1fa)][_0x19f8c6(0x20d)];}[_0x1ae552(0x1eb)](_0x212f7c){const _0x3887f3=_0x1ae552;if(this[_0x3887f3(0x206)](_0x212f7c))throw new _0x17d919(_0x3887f3(0x1fc),null);this[_0x3887f3(0x207)][_0x3887f3(0x209)](_0x212f7c[_0x3887f3(0x20b)],_0x212f7c),this[_0x3887f3(0x1ff)][_0x3887f3(0x209)](_0x212f7c[_0x3887f3(0x1ef)],_0x212f7c);for(const _0x898f3f of _0x212f7c[_0x3887f3(0x1e6)])this[_0x3887f3(0x1fa)][_0x3887f3(0x1eb)](_0x898f3f);this[_0x3887f3(0x1f4)](_0x212f7c[_0x3887f3(0x1e6)],_0x3887f3(0x1eb),(_0x3969be,_0x186ae7)=>{const _0xbf926c=_0x3887f3;this[_0xbf926c(0x1fa)][_0xbf926c(0x1eb)](_0x186ae7);}),this[_0x3887f3(0x1f4)](_0x212f7c[_0x3887f3(0x1e6)],_0x3887f3(0x1ed),(_0x53f3d5,_0x4aff87)=>{const _0x1dce2e=_0x3887f3;this[_0x1dce2e(0x1fa)][_0x1dce2e(0x1ed)](_0x4aff87);}),this[_0x3887f3(0x1f4)](_0x212f7c[_0x3887f3(0x1ef)][_0x3887f3(0x1f3)],_0x3887f3(0x1e3),(_0x44bd39,_0x30f376,_0x2be788)=>{const _0x1f4476=_0x3887f3;_0x2be788&&this[_0x1f4476(0x20e)](_0x1f4476(0x1e2),_0x212f7c);}),_0x212f7c[_0x3887f3(0x1fe)]();const _0x25446f=this[_0x3887f3(0x1f5)](_0x212f7c[_0x3887f3(0x1ef)][_0x3887f3(0x203)]);return super[_0x3887f3(0x1eb)](_0x212f7c,_0x25446f);}[_0x1ae552(0x1ed)](_0x4c65d1){const _0x408f52=_0x1ae552;if(!this[_0x408f52(0x206)](_0x4c65d1))throw new _0x17d919(_0x408f52(0x1f6),null);this[_0x408f52(0x1fb)](_0x4c65d1[_0x408f52(0x1ef)][_0x408f52(0x1f3)]),this[_0x408f52(0x1fb)](_0x4c65d1[_0x408f52(0x1e6)]);for(const _0x2a8b82 of _0x4c65d1[_0x408f52(0x1e6)])this[_0x408f52(0x1fa)][_0x408f52(0x1ed)](_0x2a8b82);return this[_0x408f52(0x1ff)][_0x408f52(0x1f7)](_0x4c65d1[_0x408f52(0x1ef)]),this[_0x408f52(0x207)][_0x408f52(0x1f7)](_0x4c65d1[_0x408f52(0x20b)]),super[_0x408f52(0x1ed)](_0x4c65d1);}[_0x1ae552(0x1f8)](_0x8d811e){const _0x2a2043=_0x1ae552;return this[_0x2a2043(0x207)][_0x2a2043(0x1e4)](_0x8d811e);}[_0x1ae552(0x1f1)](_0x563ac7){const _0x471e56=_0x1ae552;return this[_0x471e56(0x1ff)][_0x471e56(0x1e4)](_0x563ac7);}[_0x1ae552(0x201)](){const _0x574888=_0x1ae552;super[_0x574888(0x1e8)](),this[_0x574888(0x1fb)](),this[_0x574888(0x207)][_0x574888(0x1e8)](),this[_0x574888(0x1ff)][_0x574888(0x1e8)](),this[_0x574888(0x1fa)][_0x574888(0x201)]();}[_0x1ae552(0x20f)](){const _0x30fe36=_0x1ae552;for(const _0x3d8d00 of this)_0x3d8d00[_0x30fe36(0x1fe)]();this[_0x30fe36(0x1e5)]();}[_0x1ae552(0x1e5)](){const _0x23903d=_0x1ae552,_0x402327=Array[_0x23903d(0x1ee)](this)[_0x23903d(0x208)]((_0x3e49db,_0x44057a)=>v(_0x3e49db[_0x23903d(0x1ef)][_0x23903d(0x203)],_0x44057a[_0x23903d(0x1ef)][_0x23903d(0x203)]));for(let _0x29631a=_0x402327[_0x23903d(0x1f9)]-0x1;_0x29631a>0x0;_0x29631a--){const _0x35ac64=_0x402327[_0x29631a];_0x29631a!==this[_0x23903d(0x1e9)](_0x35ac64)&&(this[_0x23903d(0x1ed)](_0x35ac64),this[_0x23903d(0x1eb)](_0x35ac64));}}[_0x1ae552(0x1f5)](_0x26b83f){const _0xf8276d=_0x1ae552;let _0x59cb96=0x0;if(!_0x26b83f)return this[_0xf8276d(0x1f9)];for(const _0x3e67b3 of this){const _0x547a25=_0x3e67b3[_0xf8276d(0x1ef)][_0xf8276d(0x203)];if(_0x547a25){if(v(_0x26b83f,_0x547a25)<0x0)return _0x59cb96;_0x59cb96++;}}return _0x59cb96;}}export function bindAnnotationCollections({source:_0x3eb826,target:_0x1fb9dc,filter:_0x3fc3e4}){const _0x4c31d3=_0x1ae552;for(const _0x239c24 of _0x3eb826)_0x3fc3e4(_0x239c24)&&_0x1fb9dc[_0x4c31d3(0x1eb)](_0x239c24);_0x1fb9dc[_0x4c31d3(0x1f4)](_0x3eb826,_0x4c31d3(0x1eb),(_0xbcabe6,_0x5d98ff)=>{const _0x8c3469=_0x4c31d3;_0x3fc3e4(_0x5d98ff)&&_0x1fb9dc[_0x8c3469(0x1eb)](_0x5d98ff);}),_0x1fb9dc[_0x4c31d3(0x1f4)](_0x3eb826,_0x4c31d3(0x1ed),(_0x5d62f,_0x52ab7f)=>{const _0x432c8e=_0x4c31d3;_0x1fb9dc[_0x432c8e(0x206)](_0x52ab7f)&&_0x1fb9dc[_0x432c8e(0x1ed)](_0x52ab7f);});}function v(_0x2a5e3a,_0x322e99){const _0x10bf84=_0x1ae552;if(null===_0x2a5e3a&&null===_0x322e99)return 0x0;if(null===_0x2a5e3a)return-0x1;if(null===_0x322e99)return 0x1;const _0x3a8939=_0x2a5e3a[_0x10bf84(0x202)]-_0x322e99[_0x10bf84(0x202)];return 0x0==_0x3a8939?_0x2a5e3a[_0x10bf84(0x1ea)]-_0x322e99[_0x10bf84(0x1ea)]:_0x3a8939;}function _0x3163(){const _0x537dd6=['2440IjeGIA','clear','getIndex','left','add','548601xMZvdH','remove','from','view','8aAiqWb','getByView','629064tmKgbn','focusTracker','listenTo','_getOrderInContent','annotationcollection-not-existing-item','delete','getByInnerView','length','_focusTracker','stopListening','annotationcollection-duplicated-item','2mZEBDt','updateTargetRect','_viewToAnnotation','blur','destroy','top','targetRect','6899440umPsze','3318KnneYK','has','_innerViewToAnnotation','sort','set','5879909pvEfgj','innerView','3039HvkJZV','isFocused','fire','refreshPositioning','4249800YIlLLi','focus','change:isFocused','get','_sort','focusableElements'];_0x3163=function(){return _0x537dd6;};return _0x3163();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f103e=_0x10d0;(function(_0x11eb83,_0x5ec0b5){const _0x25c6c6=_0x10d0,_0x15eace=_0x11eb83();while(!![]){try{const _0x4783cd=-parseInt(_0x25c6c6(0x169))/0x1*(-parseInt(_0x25c6c6(0x178))/0x2)+parseInt(_0x25c6c6(0x17a))/0x3*(parseInt(_0x25c6c6(0x16d))/0x4)+parseInt(_0x25c6c6(0x165))/0x5*(parseInt(_0x25c6c6(0x154))/0x6)+-parseInt(_0x25c6c6(0x15e))/0x7+-parseInt(_0x25c6c6(0x168))/0x8+parseInt(_0x25c6c6(0x174))/0x9+-parseInt(_0x25c6c6(0x167))/0xa;if(_0x4783cd===_0x5ec0b5)break;else _0x15eace['push'](_0x15eace['shift']());}catch(_0x1006f0){_0x15eace['push'](_0x15eace['shift']());}}}(_0x1ade,0x821dc));import{ContextPlugin as _0x5ce726}from'ckeditor5/src/core.js';import _0x123410 from'./annotation.js';import _0x51dcb4 from'./annotationcollection.js';import _0x2e3ce3 from'./view/annotationview.js';function _0x10d0(_0x3e4c04,_0x56e9a3){const _0x1adeb1=_0x1ade();return _0x10d0=function(_0x10d0e3,_0x587a62){_0x10d0e3=_0x10d0e3-0x152;let _0x4d7d33=_0x1adeb1[_0x10d0e3];return _0x4d7d33;},_0x10d0(_0x3e4c04,_0x56e9a3);}export default class b extends _0x5ce726{static get[_0x3f103e(0x15d)](){const _0x41695a=_0x3f103e;return _0x41695a(0x157);}constructor(_0x559447){const _0x4037c9=_0x3f103e;super(_0x559447),this[_0x4037c9(0x163)]=new _0x51dcb4(),this[_0x4037c9(0x176)]=new _0x51dcb4(),this[_0x4037c9(0x16e)](_0x4037c9(0x16f),new Set()),this[_0x4037c9(0x17b)]();}[_0x3f103e(0x159)](_0x1e3f9c){const _0x2768da=_0x3f103e;this[_0x2768da(0x163)][_0x2768da(0x159)](_0x1e3f9c);}[_0x3f103e(0x15a)](_0x57d301){const _0x492777=_0x3f103e;this[_0x492777(0x163)][_0x492777(0x15a)](_0x57d301),_0x57d301[_0x492777(0x153)]();}[_0x3f103e(0x171)](){const _0x58ae64=_0x3f103e;for(const _0x8b8bea of this[_0x58ae64(0x163)])_0x8b8bea[_0x58ae64(0x171)]();}[_0x3f103e(0x173)](){const _0x205f03=_0x3f103e;this[_0x205f03(0x176)][_0x205f03(0x173)]();}[_0x3f103e(0x15c)](_0x228cad){const _0x112cb4=_0x3f103e;return this[_0x112cb4(0x163)][_0x112cb4(0x15c)](_0x228cad);}[_0x3f103e(0x161)](){const _0x513ad5=_0x3f103e;this[_0x513ad5(0x162)](_0x513ad5(0x15f));}[_0x3f103e(0x153)](){const _0x43eaa2=_0x3f103e;for(const _0x433f75 of this[_0x43eaa2(0x163)])_0x433f75[_0x43eaa2(0x153)]();this[_0x43eaa2(0x176)][_0x43eaa2(0x153)](),this[_0x43eaa2(0x163)][_0x43eaa2(0x153)](),super[_0x43eaa2(0x153)]();}[_0x3f103e(0x156)](_0x24de03){const _0x3807be=_0x3f103e;this[_0x3807be(0x162)](_0x3807be(0x175),_0x24de03);}[_0x3f103e(0x172)](_0x47ea4c){return new _0x123410(_0x47ea4c);}[_0x3f103e(0x155)](_0x39ae42,_0x3f4efd){return new _0x2e3ce3(_0x39ae42,_0x3f4efd);}[_0x3f103e(0x15b)](_0x200efe){const _0x5c62af=_0x3f103e,_0xfb4f3c=new Set(this[_0x5c62af(0x16f)]);_0xfb4f3c[_0x5c62af(0x159)](_0x200efe),this[_0x5c62af(0x16f)]=_0xfb4f3c;}[_0x3f103e(0x164)](_0xc0769f){const _0x3761fc=_0x3f103e,_0x11de0e=new Set(this[_0x3761fc(0x16f)]);_0x11de0e[_0x3761fc(0x16a)](_0xc0769f),this[_0x3761fc(0x16f)]=_0x11de0e;}[_0x3f103e(0x17b)](){const _0x4f0286=_0x3f103e,_0x313887=this[_0x4f0286(0x163)],_0x31faf0=this[_0x4f0286(0x176)];function _0x5bf422(_0x1de475){const _0x2b5a19=_0x4f0286,_0x32bed5=_0x1de475[_0x2b5a19(0x152)];_0x32bed5[_0x2b5a19(0x166)]&&!_0x31faf0[_0x2b5a19(0x158)](_0x32bed5)?_0x31faf0[_0x2b5a19(0x159)](_0x32bed5):!_0x32bed5[_0x2b5a19(0x166)]&&_0x31faf0[_0x2b5a19(0x158)](_0x32bed5)&&_0x31faf0[_0x2b5a19(0x15a)](_0x32bed5),_0x32bed5[_0x2b5a19(0x16c)][_0x2b5a19(0x179)][_0x2b5a19(0x15a)](_0x32bed5[_0x2b5a19(0x16c)][_0x2b5a19(0x160)]),_0x32bed5[_0x2b5a19(0x16c)][_0x2b5a19(0x179)][_0x2b5a19(0x159)](_0x32bed5[_0x2b5a19(0x16c)][_0x2b5a19(0x160)]);}this[_0x4f0286(0x16b)](_0x313887,_0x4f0286(0x159),(_0x513464,_0x4314fd)=>{const _0x533085=_0x4f0286;_0x4314fd[_0x533085(0x166)]&&_0x31faf0[_0x533085(0x159)](_0x4314fd),this[_0x533085(0x16b)](_0x4314fd,_0x533085(0x177),_0x5bf422);}),this[_0x4f0286(0x16b)](_0x313887,_0x4f0286(0x15a),(_0x398f71,_0x50bbf2)=>{const _0x451382=_0x4f0286;_0x31faf0[_0x451382(0x158)](_0x50bbf2)&&_0x31faf0[_0x451382(0x15a)](_0x50bbf2),this[_0x451382(0x170)](_0x50bbf2,_0x451382(0x177),_0x5bf422);});}}function _0x1ade(){const _0x52384b=['has','add','remove','_addActiveAnnotation','getByInnerView','pluginName','830928zKNoQY','_deactivateAllAnnotations','element','deactivateAll','fire','collection','_removeActiveAnnotation','5IJJuLP','isVisible','6640030RUEsVy','2640384OplWxH','1pyAAfG','delete','listenTo','view','313652mwLrmq','set','activeAnnotations','stopListening','refreshVisibility','createAnnotation','refreshPositioning','9583182rEtHJj','_activateAnnotation','_visibleAnnotations','change:isVisible','142162MwfvJH','focusTracker','3fnmhRf','_bindAnnotationsToVisibleAnnotations','source','destroy','2588514MrPDNd','createAnnotationView','activate','Annotations'];_0x1ade=function(){return _0x52384b;};return _0x1ade();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e2699=_0x1f71;(function(_0x568e65,_0x1e431e){const _0x92ef69=_0x1f71,_0x1972b8=_0x568e65();while(!![]){try{const _0x4de559=parseInt(_0x92ef69(0x140))/0x1+-parseInt(_0x92ef69(0x148))/0x2*(-parseInt(_0x92ef69(0x14f))/0x3)+parseInt(_0x92ef69(0x12c))/0x4+parseInt(_0x92ef69(0x12a))/0x5+-parseInt(_0x92ef69(0x150))/0x6+parseInt(_0x92ef69(0x149))/0x7+-parseInt(_0x92ef69(0x121))/0x8;if(_0x4de559===_0x1e431e)break;else _0x1972b8['push'](_0x1972b8['shift']());}catch(_0x506f34){_0x1972b8['push'](_0x1972b8['shift']());}}}(_0x1260,0xd9896));function _0x1f71(_0x4a69b4,_0x2fd5de){const _0x126053=_0x1260();return _0x1f71=function(_0x1f711d,_0x172f54){_0x1f711d=_0x1f711d-0x117;let _0x2681d4=_0x126053[_0x1f711d];return _0x2681d4;},_0x1f71(_0x4a69b4,_0x2fd5de);}function _0x1260(){const _0x79f58e=['isActive','annotationsuis-annotation-mismatch','10PGpySp','3148502uiLBDv','listenTo','refilterAnnotations','_uisData','detach','size','422439ldwpWK','10613208AkBboI','setActiveAnnotation','deactivateAll','activeAnnotations','remove','annotationsuis-register-invalid-interface','attach','delete','register','push','destroy','annotationsuis-missing-ui','14665272xymLsR','has','find','annotationsuis-register-already-registered','_activateAnnotation','context','_visibleAnnotations','type','get','4693635oDjisg','requires','4638300BGaGIX','deactivate','plugins','length','AnnotationsUIs','_addActiveAnnotation','_setSelectedAnnotations','switchTo','_removeActiveAnnotation','from','init','filter','set','_uis','change:activeAnnotation','hasActive','_assertAnnotationDoesNotBelongToMultipleUIs','pluginName','activeUIs','stopListening','1240904nsBmZW','function','add','_deactivateAllAnnotations','activate','collection'];_0x1260=function(){return _0x79f58e;};return _0x1260();}import{ContextPlugin as _0x59ad1a}from'ckeditor5/src/core.js';import{CKEditorError as _0x1ce961}from'ckeditor5/src/utils.js';import _0x1ee1b6,{bindAnnotationCollections as _0xcc56a9}from'./annotationcollection.js';import _0x36e1a2 from'./annotations.js';export default class j extends _0x59ad1a{static get[_0x2e2699(0x12b)](){return[_0x36e1a2];}static get[_0x2e2699(0x13d)](){const _0x1903e0=_0x2e2699;return _0x1903e0(0x130);}constructor(_0x590479){const _0x43f763=_0x2e2699;super(_0x590479),this[_0x43f763(0x13e)]=new Set(),this[_0x43f763(0x139)]=new Map(),this[_0x43f763(0x14c)]=new Map();}[_0x2e2699(0x136)](){const _0x401776=_0x2e2699,_0x3b3aeb=this[_0x401776(0x126)][_0x401776(0x12e)][_0x401776(0x129)](_0x36e1a2);this[_0x401776(0x14a)](_0x3b3aeb,_0x401776(0x125),(_0x27486c,_0x1d13bf)=>{const _0x3025ec=_0x401776;for(const _0x5e2969 of this[_0x3025ec(0x13e)]){const _0x491239=this[_0x3025ec(0x139)][_0x3025ec(0x129)](_0x5e2969);(0x0,this[_0x3025ec(0x14c)][_0x3025ec(0x129)](_0x5e2969)[_0x3025ec(0x137)])(_0x1d13bf)&&_0x491239[_0x3025ec(0x151)](_0x1d13bf);}}),this[_0x401776(0x14a)](_0x3b3aeb,_0x401776(0x143),()=>{const _0x83cc2e=_0x401776;for(const _0x2e37b7 of this[_0x83cc2e(0x13e)]){this[_0x83cc2e(0x139)][_0x83cc2e(0x129)](_0x2e37b7)[_0x83cc2e(0x151)](null);}}),this[_0x401776(0x14a)](_0x3b3aeb[_0x401776(0x127)],_0x401776(0x142),(_0x3e287f,_0x34eeaf)=>{const _0x55ef42=_0x401776;this[_0x55ef42(0x13c)](_0x34eeaf);});}[_0x2e2699(0x13b)](){const _0x3191b6=_0x2e2699;return this[_0x3191b6(0x13e)][_0x3191b6(0x14e)]>0x0;}[_0x2e2699(0x146)](_0x3e1d87){const _0xdbbf73=_0x2e2699;return this[_0xdbbf73(0x13e)][_0xdbbf73(0x122)](_0x3e1d87);}[_0x2e2699(0x144)](_0x5900c0,_0x414823=()=>!0x0){const _0x4b1c0d=_0x2e2699,_0x430f3f=this[_0x4b1c0d(0x126)][_0x4b1c0d(0x12e)][_0x4b1c0d(0x129)](_0x36e1a2);if(!this[_0x4b1c0d(0x139)][_0x4b1c0d(0x122)](_0x5900c0))throw new _0x1ce961(_0x4b1c0d(0x120),this,{'uiName':_0x5900c0});this[_0x4b1c0d(0x146)](_0x5900c0)&&this[_0x4b1c0d(0x12d)](_0x5900c0),this[_0x4b1c0d(0x13e)][_0x4b1c0d(0x142)](_0x5900c0);const _0x441d2e=new _0x1ee1b6(),_0x11a4c1=_0x430f3f[_0x4b1c0d(0x127)];_0xcc56a9({'source':_0x11a4c1,'target':_0x441d2e,'filter':_0x414823}),this[_0x4b1c0d(0x14c)][_0x4b1c0d(0x138)](_0x5900c0,{'collection':_0x441d2e,'filter':_0x414823});const _0x119f3b=this[_0x4b1c0d(0x139)][_0x4b1c0d(0x129)](_0x5900c0);_0x119f3b[_0x4b1c0d(0x11b)](_0x441d2e),this[_0x4b1c0d(0x14a)](_0x119f3b,_0x4b1c0d(0x13a),(_0x27f445,_0x22c46e,_0x5c7e8e,_0x59828c)=>{const _0x5d4aae=_0x4b1c0d;_0x59828c&&_0x430f3f[_0x5d4aae(0x134)](_0x59828c),_0x5c7e8e&&_0x430f3f[_0x5d4aae(0x131)](_0x5c7e8e);});}[_0x2e2699(0x12d)](_0x2dd123){const _0x4dd58c=_0x2e2699;if(this[_0x4dd58c(0x13e)][_0x4dd58c(0x11c)](_0x2dd123),!this[_0x4dd58c(0x139)][_0x4dd58c(0x122)](_0x2dd123))throw new _0x1ce961(_0x4dd58c(0x120),this,{'uiName':_0x2dd123});const _0x176d5a=this[_0x4dd58c(0x139)][_0x4dd58c(0x129)](_0x2dd123);_0x176d5a[_0x4dd58c(0x14d)](),this[_0x4dd58c(0x13f)](_0x176d5a),this[_0x4dd58c(0x14c)][_0x4dd58c(0x129)](_0x2dd123)[_0x4dd58c(0x145)][_0x4dd58c(0x11f)](),this[_0x4dd58c(0x14c)][_0x4dd58c(0x11c)](_0x2dd123);}[_0x2e2699(0x133)](_0x418d6e){const _0x23aa26=_0x2e2699;if(!this[_0x23aa26(0x139)][_0x23aa26(0x122)](_0x418d6e))throw new _0x1ce961(_0x23aa26(0x120),this,{'uiName':_0x418d6e});const _0x417504=this[_0x23aa26(0x126)][_0x23aa26(0x12e)][_0x23aa26(0x129)](_0x36e1a2),_0x1b2f00=Array[_0x23aa26(0x135)](_0x417504[_0x23aa26(0x118)])[0x0]||null;this[_0x23aa26(0x117)](),this[_0x23aa26(0x144)](_0x418d6e);const _0x1cc698=this[_0x23aa26(0x139)][_0x23aa26(0x129)](_0x418d6e);_0x1cc698[_0x23aa26(0x151)](_0x1b2f00),_0x1cc698[_0x23aa26(0x132)]&&_0x1b2f00&&_0x1cc698[_0x23aa26(0x132)]([_0x1b2f00]);}[_0x2e2699(0x117)](){const _0x589e9f=_0x2e2699;for(const _0x970598 of this[_0x589e9f(0x13e)])this[_0x589e9f(0x12d)](_0x970598);}[_0x2e2699(0x11d)](_0x5a061c,_0x182077){const _0x5b3f23=_0x2e2699;if(this[_0x5b3f23(0x139)][_0x5b3f23(0x122)](_0x5a061c))throw new _0x1ce961(_0x5b3f23(0x124));if(_0x5b3f23(0x141)!=typeof _0x182077[_0x5b3f23(0x11b)]||_0x5b3f23(0x141)!=typeof _0x182077[_0x5b3f23(0x14d)]||_0x5b3f23(0x141)!=typeof _0x182077[_0x5b3f23(0x151)])throw new _0x1ce961(_0x5b3f23(0x11a),null);this[_0x5b3f23(0x139)][_0x5b3f23(0x138)](_0x5a061c,_0x182077);}[_0x2e2699(0x14b)](){const _0x54971c=_0x2e2699,_0x3a1a47=this[_0x54971c(0x126)][_0x54971c(0x12e)][_0x54971c(0x129)](_0x36e1a2)[_0x54971c(0x145)],_0x36fc1b=new Map(),_0x4f3883=Array[_0x54971c(0x135)](this[_0x54971c(0x13e)]);for(const _0x948113 of this[_0x54971c(0x13e)]){const _0x482eb6=this[_0x54971c(0x14c)][_0x54971c(0x129)](_0x948113)[_0x54971c(0x145)];for(const _0x2da3f9 of _0x482eb6)_0x36fc1b[_0x54971c(0x138)](_0x2da3f9,_0x948113);}for(const _0x1c4482 of _0x3a1a47){const _0x11d55c=_0x36fc1b[_0x54971c(0x129)](_0x1c4482);this[_0x54971c(0x13c)](_0x1c4482);const _0x26b83a=_0x4f3883[_0x54971c(0x123)](_0x3344ed=>this[_0x54971c(0x14c)][_0x54971c(0x129)](_0x3344ed)[_0x54971c(0x137)](_0x1c4482));_0x11d55c!==_0x26b83a&&(_0x11d55c&&this[_0x54971c(0x14c)][_0x54971c(0x129)](_0x11d55c)[_0x54971c(0x145)][_0x54971c(0x119)](_0x1c4482),_0x26b83a&&this[_0x54971c(0x14c)][_0x54971c(0x129)](_0x26b83a)[_0x54971c(0x145)][_0x54971c(0x142)](_0x1c4482));}}[_0x2e2699(0x11f)](){const _0xb42062=_0x2e2699;this[_0xb42062(0x117)](),super[_0xb42062(0x11f)]();}[_0x2e2699(0x13c)](_0x4551f4){const _0x3ed015=_0x2e2699,_0x2ac421=[];for(const _0x4dd99d of this[_0x3ed015(0x13e)]){(0x0,this[_0x3ed015(0x14c)][_0x3ed015(0x129)](_0x4dd99d)[_0x3ed015(0x137)])(_0x4551f4)&&_0x2ac421[_0x3ed015(0x11e)](_0x4dd99d);}if(_0x2ac421[_0x3ed015(0x12f)]>0x1)throw new _0x1ce961(_0x3ed015(0x147),null,{'matchedUIs':_0x2ac421,'annotationType':_0x4551f4[_0x3ed015(0x128)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa9cfe3=_0x1f0f;(function(_0x587cc8,_0x132b93){const _0x4f0ec4=_0x1f0f,_0x4a11c7=_0x587cc8();while(!![]){try{const _0x56f45d=parseInt(_0x4f0ec4(0x1ae))/0x1+parseInt(_0x4f0ec4(0x1de))/0x2*(parseInt(_0x4f0ec4(0x1c2))/0x3)+parseInt(_0x4f0ec4(0x1e2))/0x4*(parseInt(_0x4f0ec4(0x1b9))/0x5)+parseInt(_0x4f0ec4(0x1c8))/0x6*(parseInt(_0x4f0ec4(0x1e0))/0x7)+-parseInt(_0x4f0ec4(0x1df))/0x8+parseInt(_0x4f0ec4(0x1dc))/0x9+parseInt(_0x4f0ec4(0x1b8))/0xa*(-parseInt(_0x4f0ec4(0x1d1))/0xb);if(_0x56f45d===_0x132b93)break;else _0x4a11c7['push'](_0x4a11c7['shift']());}catch(_0x4bc590){_0x4a11c7['push'](_0x4a11c7['shift']());}}}(_0x2eca,0x47101));import{Plugin as _0x446913}from'ckeditor5/src/core.js';import{CKEditorError as _0x51a638}from'ckeditor5/src/utils.js';function _0x1f0f(_0x5b0865,_0x1810a0){const _0x2eca65=_0x2eca();return _0x1f0f=function(_0x1f0f32,_0x332473){_0x1f0f32=_0x1f0f32-0x1a8;let _0x1f2778=_0x2eca65[_0x1f0f32];return _0x1f2778;},_0x1f0f(_0x5b0865,_0x1810a0);}function _0x2eca(){const _0x4dd6a6=['registerAnnotation','pluginName','from','innerView','hasDomSelection','editor','_editorAnnotations','3153980qLAlOf','5bsmndr','change:isFocused','getByInnerView','editorannotations-invalid-source-callback','sort','remove','annotation','addSourceCollector','isCollapsed','3DqyvXx','view','EditorAnnotations','set','delete','focusTracker','6PDfqTy','getRanges','map','directChange','refreshSelectedViews','isReadOnly','element','function','model','11bkgqTJ','document','requires','collection','cancel','get','plugins','init','listenTo','getOrderedSelectedAnnotations','blur','3547296rBuLjv','isEqual','275438gEumGI','3949184SnaSrY','402073AWejNS','uiUpdate','1172816ueocUz','push','change:range','update','refresh','has','_editorAnnotationsData','editing','containsRange','range','add','selection','217613eyLyxP','_dataCollectors','fire'];_0x2eca=function(){return _0x4dd6a6;};return _0x2eca();}import{debounce as _0x4adbc4}from'lodash-es';import _0xabb1e3 from'./annotations.js';export default class k extends _0x446913{static get[_0xa9cfe3(0x1d3)](){return[_0xabb1e3];}static get[_0xa9cfe3(0x1b2)](){const _0x3c7854=_0xa9cfe3;return _0x3c7854(0x1c4);}constructor(_0x316f01){const _0x5c5eaa=_0xa9cfe3;super(_0x316f01),this[_0x5c5eaa(0x1af)]=new Set(),this[_0x5c5eaa(0x1b7)]=new Set();}[_0xa9cfe3(0x1d8)](){const _0x12f093=_0xa9cfe3,_0x26a669=this[_0x12f093(0x1b6)],_0x3e74c9=_0x26a669[_0x12f093(0x1d0)][_0x12f093(0x1d2)][_0x12f093(0x1ad)],_0x3bb80b=_0x4adbc4(()=>this[_0x12f093(0x1cc)](),0xa);_0x3e74c9['on'](_0x12f093(0x1e4),(_0x4e4879,_0x1eeb16)=>{const _0x5bed43=_0x12f093;_0x1eeb16[_0x5bed43(0x1cb)]&&(_0x3bb80b[_0x5bed43(0x1d5)](),this[_0x5bed43(0x1cc)]());}),this[_0x12f093(0x1d9)](_0x26a669[_0x12f093(0x1a9)][_0x12f093(0x1c3)][_0x12f093(0x1d2)],_0x12f093(0x1ba),(_0xa84e12,_0x2c7fbb,_0x1049ae)=>{_0x1049ae&&_0x3bb80b();}),this[_0x12f093(0x1d9)](_0x26a669['ui'][_0x12f093(0x1c7)],_0x12f093(0x1ba),(_0x502fb7,_0x35dc13,_0x544683)=>{const _0x55d74a=_0x12f093;_0x544683||_0x26a669[_0x55d74a(0x1cd)]||this[_0x55d74a(0x1b0)](_0x55d74a(0x1db),{'isAnnotationTracked':_0x3b3bfa=>this[_0x55d74a(0x1a8)][_0x55d74a(0x1e7)](_0x3b3bfa[_0x55d74a(0x1b4)])});}),this[_0x12f093(0x1d9)](this[_0x12f093(0x1b6)]['ui'],_0x12f093(0x1e5),()=>this[_0x12f093(0x1b0)](_0x12f093(0x1e1)));}[_0xa9cfe3(0x1b1)](_0x427df4){const _0x9cc840=_0xa9cfe3;if(this[_0x9cc840(0x1b7)][_0x9cc840(0x1e7)](_0x427df4[_0x9cc840(0x1c3)]))return;this[_0x9cc840(0x1b7)][_0x9cc840(0x1ac)](_0x427df4[_0x9cc840(0x1c3)]),this[_0x9cc840(0x1b6)]['ui'][_0x9cc840(0x1c7)][_0x9cc840(0x1ac)](_0x427df4[_0x9cc840(0x1c3)][_0x9cc840(0x1ce)]);const _0x381d05=this[_0x9cc840(0x1b6)][_0x9cc840(0x1d7)][_0x9cc840(0x1d6)](_0xabb1e3);this[_0x9cc840(0x1d9)](_0x381d05[_0x9cc840(0x1d4)],_0x9cc840(0x1be),(_0x26fe6f,_0x82cf33)=>{const _0x3ed200=_0x9cc840;this[_0x3ed200(0x1b6)]['ui'][_0x3ed200(0x1c7)][_0x3ed200(0x1be)](_0x82cf33[_0x3ed200(0x1c3)][_0x3ed200(0x1ce)]),this[_0x3ed200(0x1b7)][_0x3ed200(0x1c6)](_0x82cf33[_0x3ed200(0x1c3)]);});}[_0xa9cfe3(0x1b5)](){const _0x4b24ee=_0xa9cfe3;return this[_0x4b24ee(0x1b6)][_0x4b24ee(0x1a9)][_0x4b24ee(0x1c3)][_0x4b24ee(0x1b5)];}[_0xa9cfe3(0x1c0)](_0x4ebc9f){const _0x249b59=_0xa9cfe3;if(_0x249b59(0x1cf)!=typeof _0x4ebc9f)throw new _0x51a638(_0x249b59(0x1bc));this[_0x249b59(0x1af)][_0x249b59(0x1ac)](_0x4ebc9f);}[_0xa9cfe3(0x1cc)](){const _0x19a4ee=_0xa9cfe3;this[_0x19a4ee(0x1b0)](_0x19a4ee(0x1e6));}[_0xa9cfe3(0x1da)]({activeAnnotation:_0x2d7d90,annotations:_0x35918f}){const _0x5399f9=_0xa9cfe3,_0x23327f=[],_0x51f79e=this[_0x5399f9(0x1b6)][_0x5399f9(0x1d0)][_0x5399f9(0x1d2)][_0x5399f9(0x1ad)],_0x20b9ec=Array[_0x5399f9(0x1b3)](_0x51f79e[_0x5399f9(0x1c9)]());for(const [_0x4484ef,_0x5944b6]of this[_0x5399f9(0x1a8)]){const _0x3774b9=_0x426e44(_0x5944b6),_0x457ccd=_0x35918f[_0x5399f9(0x1bb)](_0x4484ef);_0x3774b9&&_0x457ccd&&_0x23327f[_0x5399f9(0x1e3)]({'annotation':_0x457ccd,'range':_0x3774b9});}function _0x426e44(_0x5ef4d9){const _0x28b7fb=_0x5399f9;for(const _0x2dca25 of _0x5ef4d9)for(const _0x54d015 of _0x20b9ec)if(_0x2dca25[_0x28b7fb(0x1aa)](_0x54d015,!_0x51f79e[_0x28b7fb(0x1c1)]))return _0x2dca25;return null;}return _0x23327f[_0x5399f9(0x1bd)]((_0x3d8d9f,_0x500f99)=>{const _0x281f6e=_0x5399f9,_0x24ff25=_0x3d8d9f[_0x281f6e(0x1ab)],_0xf5ca9=_0x500f99[_0x281f6e(0x1ab)];if(!_0x24ff25[_0x281f6e(0x1dd)](_0xf5ca9)){if(_0x24ff25[_0x281f6e(0x1aa)](_0xf5ca9,!0x0))return 0x1;if(_0xf5ca9[_0x281f6e(0x1aa)](_0x24ff25,!0x0))return-0x1;}return _0x3d8d9f[_0x281f6e(0x1bf)]==_0x2d7d90?-0x1:_0x500f99[_0x281f6e(0x1bf)]==_0x2d7d90?0x1:0x0;})[_0x5399f9(0x1ca)](_0x3d2e2f=>_0x3d2e2f[_0x5399f9(0x1bf)]);}get[_0xa9cfe3(0x1a8)](){const _0x258f1f=_0xa9cfe3,_0x544cd1=new Map();for(const _0x3ca627 of Array[_0x258f1f(0x1b3)](this[_0x258f1f(0x1af)]))for(const [_0x274f2f,_0x12eba5]of _0x3ca627())_0x544cd1[_0x258f1f(0x1c5)](_0x274f2f,_0x12eba5);return _0x544cd1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x264b(){const _0xc28d1=['inlineannotations-attach-already-attached','visibleView','addObserver','add','18pmqvVz','map','left','plugins','fromRect','inlineannotations-detach-not-attached','_addedAnnotations','_balloon','context','targetRect','activeAnnotation','update','Esc','_addAnnotationToBalloon','init','refresh','includes','inlineannotations-not-allowed-with-context','1724770BCPTsG','blur','destroy','length','view','getClientRects','2883084yjKWOV','getOrderedSelectedAnnotations','afterInit','_manuallyClosed','change:visibleView','getFirstRange','12248BznZVP','InlineAnnotations','9876340YePjpi','isFocused','_removeAnnotationFromBalloon','change:isFocused','focus','inline','isAttached','top','annotations','stopListening','_selectedAnnotations','getBoundingClientRect','from','detach','every','delete','5999sHyFxN','clear','_forceRefresh','collapse','hasView','keystrokes','domConverter','mousedown','bottom','_getBalloonTargetForAnnotation','5036307oAAHRg','editableElement','viewRangeToDom','isActive','selection','push','document','width','60870ZAoEKQ','updatePosition','editor','get','target','attach','right','showStack','_closeAnnotation','_setSelectedAnnotations','set','has','requires','focusTracker','register','32karvBH','pluginName','setActiveAnnotation','6481016ixDpwG','find','change:height','editing','listenTo','getByView','switchTo','hasActive','remove'];_0x264b=function(){return _0xc28d1;};return _0x264b();}const _0x30cec4=_0x3e6f;(function(_0x45c5e8,_0x11da52){const _0x5244cb=_0x3e6f,_0xcc03e7=_0x45c5e8();while(!![]){try{const _0x168499=-parseInt(_0x5244cb(0xfb))/0x1*(-parseInt(_0x5244cb(0x10a))/0x2)+parseInt(_0x5244cb(0xf3))/0x3+-parseInt(_0x5244cb(0x10d))/0x4+-parseInt(_0x5244cb(0xcb))/0x5+-parseInt(_0x5244cb(0xd1))/0x6+-parseInt(_0x5244cb(0xe9))/0x7*(parseInt(_0x5244cb(0xd7))/0x8)+-parseInt(_0x5244cb(0x11a))/0x9*(-parseInt(_0x5244cb(0xd9))/0xa);if(_0x168499===_0x11da52)break;else _0xcc03e7['push'](_0xcc03e7['shift']());}catch(_0x155194){_0xcc03e7['push'](_0xcc03e7['shift']());}}}(_0x264b,0xd4718));import{Plugin as _0x48ac64}from'ckeditor5/src/core.js';import _0x4e5386 from'./annotationsuis.js';function _0x3e6f(_0x40c308,_0x75cf05){const _0x264b31=_0x264b();return _0x3e6f=function(_0x3e6f21,_0x33171e){_0x3e6f21=_0x3e6f21-0xc4;let _0x30e95e=_0x264b31[_0x3e6f21];return _0x30e95e;},_0x3e6f(_0x40c308,_0x75cf05);}import _0xa55a91 from'./editorannotations.js';import{ContextualBalloon as _0x57edff}from'ckeditor5/src/ui.js';import{MouseObserver as _0x549efd}from'ckeditor5/src/engine.js';import{CKEditorError as _0x27476e,Rect as _0x449128}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x48ac64{static get[_0x30cec4(0x107)](){return[_0xa55a91,_0x57edff,_0x4e5386];}static get[_0x30cec4(0x10b)](){const _0x4229ef=_0x30cec4;return _0x4229ef(0xd8);}constructor(_0x5aee6c){const _0x4ee205=_0x30cec4;super(_0x5aee6c),_0x5aee6c[_0x4ee205(0x110)][_0x4ee205(0xcf)][_0x4ee205(0x118)](_0x549efd),this[_0x4ee205(0xdf)]=!0x1,this[_0x4ee205(0x105)](_0x4ee205(0x124),null),this[_0x4ee205(0xe1)]=null,this[_0x4ee205(0xd4)]=new Set(),this[_0x4ee205(0x121)]=_0x5aee6c[_0x4ee205(0x11d)][_0x4ee205(0xfe)](_0x57edff),this[_0x4ee205(0x120)]=new Set(),this[_0x4ee205(0xe3)]=[],this[_0x4ee205(0xeb)]=!0x1;}[_0x30cec4(0xc7)](){const _0x1ef7a5=_0x30cec4,_0x44bab5=this[_0x1ef7a5(0xfd)][_0x1ef7a5(0x11d)][_0x1ef7a5(0xfe)](_0x4e5386);_0x44bab5[_0x1ef7a5(0x122)]===this[_0x1ef7a5(0xfd)]&&(_0x44bab5[_0x1ef7a5(0x109)](_0x1ef7a5(0xde),this),this[_0x1ef7a5(0xfd)][_0x1ef7a5(0xee)][_0x1ef7a5(0x105)](_0x1ef7a5(0xc5),(_0x2a1bb5,_0xa2a3a5)=>{const _0x2f90d6=_0x1ef7a5,_0x2048e7=this[_0x2f90d6(0x121)];if(this[_0x2f90d6(0xdf)]&&_0x2048e7[_0x2f90d6(0x117)]){const _0x50a32e=this[_0x2f90d6(0xe1)][_0x2f90d6(0x112)](_0x2048e7[_0x2f90d6(0x117)]);_0x50a32e&&this[_0x2f90d6(0x103)](_0x50a32e),_0xa2a3a5();}}));}[_0x30cec4(0xd3)](){const _0x1b0ff5=_0x30cec4,_0x108170=this[_0x1b0ff5(0xfd)][_0x1b0ff5(0x11d)][_0x1b0ff5(0xfe)](_0x4e5386);_0x108170[_0x1b0ff5(0x122)]===this[_0x1b0ff5(0xfd)]&&(_0x108170[_0x1b0ff5(0x114)]()||_0x108170[_0x1b0ff5(0x113)](_0x1b0ff5(0xde)));}[_0x30cec4(0x10c)](_0x5f41a3){const _0x59eb7b=_0x30cec4;_0x5f41a3!==this[_0x59eb7b(0x124)]&&(this[_0x59eb7b(0x124)]&&(this[_0x59eb7b(0x124)][_0x59eb7b(0xf6)]=!0x1),_0x5f41a3&&this[_0x59eb7b(0xfd)]['ui'][_0x59eb7b(0x108)][_0x59eb7b(0xda)]&&(this[_0x59eb7b(0xe1)][_0x59eb7b(0x106)](_0x5f41a3)&&this[_0x59eb7b(0xc6)](_0x5f41a3,!0x0),_0x5f41a3[_0x59eb7b(0xf6)]=!0x0),_0x5f41a3||this[_0x59eb7b(0x104)]([]),this[_0x59eb7b(0x124)]=_0x5f41a3);}[_0x30cec4(0x100)](_0x370fe4){const _0x2077a9=_0x30cec4;this[_0x2077a9(0xe1)]=_0x370fe4;const _0x58bbe1=this[_0x2077a9(0xfd)][_0x2077a9(0x11d)][_0x2077a9(0xfe)](_0x4e5386),_0x22e434=this[_0x2077a9(0x121)];if(this[_0x2077a9(0xdf)])throw new _0x27476e(_0x2077a9(0x116),this);if(_0x58bbe1[_0x2077a9(0x122)]!==this[_0x2077a9(0xfd)])throw new _0x27476e(_0x2077a9(0xca),this);const _0x5b4c7d=this[_0x2077a9(0xfd)][_0x2077a9(0x11d)][_0x2077a9(0xfe)](_0xa55a91);this[_0x2077a9(0x111)](_0x5b4c7d,_0x2077a9(0xc8),()=>{const _0x2f270f=_0x2077a9,_0x537d2c=_0x5b4c7d[_0x2f270f(0xd2)]({'annotations':this[_0x2f270f(0xe1)],'activeAnnotation':this[_0x2f270f(0x124)]});var _0x848d33,_0x5e4faa;!this[_0x2f270f(0xeb)]&&(_0x848d33=_0x537d2c,_0x5e4faa=this[_0x2f270f(0xe3)],_0x848d33[_0x2f270f(0xce)]===_0x5e4faa[_0x2f270f(0xce)]&&_0x848d33[_0x2f270f(0xe7)](_0x3fd76d=>_0x5e4faa[_0x2f270f(0xc9)](_0x3fd76d)))||(this[_0x2f270f(0xeb)]=!0x1,this[_0x2f270f(0x104)](_0x537d2c),this[_0x2f270f(0x10c)](_0x537d2c[0x0]||null));}),this[_0x2077a9(0x111)](_0x5b4c7d,_0x2077a9(0xcc),(_0x254ae0,{isAnnotationTracked:_0x1eff1a})=>{const _0x157fa0=_0x2077a9;this[_0x157fa0(0x124)]&&_0x1eff1a(this[_0x157fa0(0x124)])&&(this[_0x157fa0(0x104)]([]),this[_0x157fa0(0x10c)](null));}),this[_0x2077a9(0x111)](this[_0x2077a9(0xfd)]['ui'][_0x2077a9(0x108)],_0x2077a9(0xdc),(_0x242d7f,_0x24c74a,_0x5d4d82)=>{const _0x4a11b3=_0x2077a9;_0x5d4d82||this[_0x4a11b3(0x10c)](null);}),this[_0x2077a9(0x111)](_0x370fe4,_0x2077a9(0x115),(_0x544542,_0x5d24b1)=>{const _0x1d5661=_0x2077a9;this[_0x1d5661(0xdb)](_0x5d24b1),_0x5d24b1===this[_0x1d5661(0x124)]&&this[_0x1d5661(0x10c)](null);}),this[_0x2077a9(0x111)](_0x22e434,_0x2077a9(0xd5),(_0x4d5527,_0x696751,_0x38732b,_0x1ff06c)=>{const _0x496424=_0x2077a9;_0x1ff06c&&this[_0x496424(0xe2)](_0x1ff06c);const _0x49f29d=_0x370fe4[_0x496424(0x112)](_0x38732b);_0x38732b&&_0x49f29d&&(this[_0x496424(0x111)](_0x38732b,_0x496424(0x10f),()=>{const _0x537815=_0x496424;_0x22e434[_0x537815(0xfc)]();}),this[_0x496424(0x111)](_0x38732b,_0x496424(0xc5),()=>{const _0x766fb7=_0x496424;this[_0x766fb7(0x103)](_0x49f29d),this[_0x766fb7(0xfd)][_0x766fb7(0x110)][_0x766fb7(0xcf)][_0x766fb7(0xdd)]();}),this[_0x496424(0x124)]!==_0x49f29d&&this[_0x496424(0x10c)](_0x49f29d));}),this[_0x2077a9(0x111)](this[_0x2077a9(0xfd)]['ui'],_0x2077a9(0xc4),()=>{const _0x216926=_0x2077a9;_0x22e434[_0x216926(0x117)]&&(_0x370fe4[_0x216926(0x112)](_0x22e434[_0x216926(0x117)])&&_0x22e434[_0x216926(0xfc)]());}),this[_0x2077a9(0x111)](this[_0x2077a9(0xfd)][_0x2077a9(0x110)][_0x2077a9(0xcf)][_0x2077a9(0xf9)],_0x2077a9(0xf0),()=>{const _0x273580=_0x2077a9;this[_0x273580(0xeb)]=!0x0,this[_0x273580(0xd4)][_0x273580(0xea)]();}),this[_0x2077a9(0xfd)][_0x2077a9(0x110)][_0x2077a9(0xcf)][_0x2077a9(0xf9)][_0x2077a9(0xf7)][_0x2077a9(0xf4)]&&this[_0x2077a9(0xfd)][_0x2077a9(0x110)][_0x2077a9(0xcf)][_0x2077a9(0xdd)](),this[_0x2077a9(0xdf)]=!0x0;}[_0x30cec4(0xe6)](){const _0x4a6a4f=_0x30cec4;if(!this[_0x4a6a4f(0xdf)])throw new _0x27476e(_0x4a6a4f(0x11f),this);this[_0x4a6a4f(0x10c)](null);for(const _0x2657d8 of this[_0x4a6a4f(0x120)])this[_0x4a6a4f(0xdb)](_0x2657d8);this[_0x4a6a4f(0xe2)](),this[_0x4a6a4f(0xdf)]=!0x1,this[_0x4a6a4f(0xe1)]=null;}[_0x30cec4(0xcd)](){const _0x5a6800=_0x30cec4;this[_0x5a6800(0xdf)]&&this[_0x5a6800(0xe6)]();}[_0x30cec4(0x104)](_0xf6db5a){const _0x8e72ec=_0x30cec4;for(const _0x31ce1e of this[_0x8e72ec(0xe3)])_0xf6db5a[_0x8e72ec(0xc9)](_0x31ce1e)||this[_0x8e72ec(0xd4)][_0x8e72ec(0xe8)](_0x31ce1e);for(const _0x5c4f07 of this[_0x8e72ec(0xe1)])_0xf6db5a[_0x8e72ec(0xc9)](_0x5c4f07)||this[_0x8e72ec(0xdb)](_0x5c4f07);if(this[_0x8e72ec(0xfd)]['ui'][_0x8e72ec(0x108)][_0x8e72ec(0xda)]){for(const _0x388b82 of _0xf6db5a)this[_0x8e72ec(0xc6)](_0x388b82);}this[_0x8e72ec(0xe3)]=_0xf6db5a;}[_0x30cec4(0xc6)](_0x2e2657,_0x4f45bd=!0x1){const _0x556e0b=_0x30cec4;this[_0x556e0b(0xd4)][_0x556e0b(0x106)](_0x2e2657)||(this[_0x556e0b(0x120)][_0x556e0b(0x106)](_0x2e2657)||this[_0x556e0b(0x121)][_0x556e0b(0xed)](_0x2e2657[_0x556e0b(0xcf)])||(this[_0x556e0b(0x120)][_0x556e0b(0x119)](_0x2e2657),this[_0x556e0b(0x121)][_0x556e0b(0x119)]({'stackId':_0x2e2657[_0x556e0b(0xcf)]['id'],'view':_0x2e2657[_0x556e0b(0xcf)],'position':{'target':()=>this[_0x556e0b(0xf2)](_0x2e2657)}})),_0x4f45bd&&this[_0x556e0b(0x121)][_0x556e0b(0x102)](_0x2e2657[_0x556e0b(0xcf)]['id']));}[_0x30cec4(0xf2)](_0x10dd32){const _0x13f465=_0x30cec4,_0x3c4c3b=_0x10dd32[_0x13f465(0xff)],_0x1d2a16=this[_0x13f465(0xfd)][_0x13f465(0x110)][_0x13f465(0xcf)],_0x1e6926=_0x1d2a16[_0x13f465(0xf9)][_0x13f465(0xf7)][_0x13f465(0xd6)](),_0x3bc4d7=_0x1d2a16[_0x13f465(0xef)][_0x13f465(0xf5)](_0x1e6926);if(_0x3bc4d7[_0x13f465(0xec)](!0x0),_0x3c4c3b){if(_0x3c4c3b instanceof _0x449128)return _0x3c4c3b;let _0x324a88=[];for(const _0x1e88af of _0x3c4c3b)_0x324a88[_0x13f465(0xf8)](...(_0x1669f4=_0x1e88af[_0x13f465(0xd0)](),Array[_0x13f465(0xe5)](_0x1669f4)[_0x13f465(0x11b)](DOMRect[_0x13f465(0x11e)])));_0x324a88=function(_0x26cb6c){const _0x1d86cf=_0x13f465,_0x132ac0=[];let _0x1e9a41=_0x26cb6c[0x0];for(let _0x180942=0x1;_0x180942<_0x26cb6c[_0x1d86cf(0xce)];_0x180942++)F(_0x1e9a41,_0x26cb6c[_0x180942])?_0x1e9a41[_0x1d86cf(0xfa)]+=_0x26cb6c[_0x180942][_0x1d86cf(0xfa)]:(_0x132ac0[_0x1d86cf(0xf8)](_0x1e9a41),_0x1e9a41=_0x26cb6c[_0x180942]);return _0x132ac0[_0x1d86cf(0xf8)](_0x1e9a41),_0x132ac0;}(_0x324a88);const _0x40dece=_0x3bc4d7[_0x13f465(0xe4)]();return _0x324a88[_0x13f465(0x10e)](_0x49c9bd=>_0x49c9bd[_0x13f465(0xe0)]<=_0x40dece[_0x13f465(0xe0)]&&_0x49c9bd[_0x13f465(0xf1)]>=_0x40dece[_0x13f465(0xf1)]&&_0x49c9bd[_0x13f465(0x11c)]<=_0x40dece[_0x13f465(0x11c)]&&_0x49c9bd[_0x13f465(0x101)]>=_0x40dece[_0x13f465(0x101)])||_0x324a88[0x0];}var _0x1669f4;return _0x10dd32[_0x13f465(0x123)]||_0x3bc4d7;}[_0x30cec4(0xdb)](_0xa94ce0){const _0x3170f0=_0x30cec4;this[_0x3170f0(0x120)][_0x3170f0(0x106)](_0xa94ce0)&&this[_0x3170f0(0x121)][_0x3170f0(0xed)](_0xa94ce0[_0x3170f0(0xcf)])&&(this[_0x3170f0(0x120)][_0x3170f0(0xe8)](_0xa94ce0),this[_0x3170f0(0x121)][_0x3170f0(0x115)](_0xa94ce0[_0x3170f0(0xcf)]));}[_0x30cec4(0x103)](_0x4f3467){const _0xd47f50=_0x30cec4;this[_0xd47f50(0xd4)][_0xd47f50(0x119)](_0x4f3467),this[_0xd47f50(0xdb)](_0x4f3467);}}function F(_0x6b58ab,_0x1d414b){const _0x145668=_0x30cec4;return _0x6b58ab[_0x145668(0xe0)]===_0x1d414b[_0x145668(0xe0)]&&_0x6b58ab[_0x145668(0xf1)]===_0x1d414b[_0x145668(0xf1)]&&_0x6b58ab[_0x145668(0x101)]===_0x1d414b[_0x145668(0x11c)];}
|
|
23
|
+
const _0x1a9e0a=_0x3a48;function _0x109b(){const _0x2ceab2=['context','Esc','getOrderedSelectedAnnotations','131809qtEEzs','switchTo','selection','register','has','includes','mousedown','set','6GepCZx','attach','visibleView','addObserver','domConverter','editor','keystrokes','update','showStack','_balloon','from','16748tPXvjB','setActiveAnnotation','blur','5280djJQBG','8ZPXibq','plugins','getFirstRange','hasActive','_selectedAnnotations','_addedAnnotations','inline','view','change:visibleView','add','_forceRefresh','135bcubMg','inlineannotations-attach-already-attached','inlineannotations-not-allowed-with-context','left','init','isFocused','_getBalloonTargetForAnnotation','document','_manuallyClosed','_removeAnnotationFromBalloon','collapse','map','listenTo','_addAnnotationToBalloon','focus','182AAxcUT','right','512652wyyKaL','target','editableElement','remove','pluginName','width','327929RmNtpU','viewRangeToDom','_setSelectedAnnotations','getBoundingClientRect','annotations','isActive','inlineannotations-detach-not-attached','focusTracker','stopListening','detach','isAttached','getByView','delete','push','find','getClientRects','clear','fromRect','refresh','afterInit','top','1473525baoGeM','updatePosition','3696EDhPas','activeAnnotation','change:isFocused','every','InlineAnnotations','2gBlAEJ','_closeAnnotation','hasView','length','targetRect','change:height','1913645TPNITz','get','requires','bottom','editing','destroy'];_0x109b=function(){return _0x2ceab2;};return _0x109b();}(function(_0x3008fa,_0x339292){const _0x274f07=_0x3a48,_0x56a88b=_0x3008fa();while(!![]){try{const _0x4c4620=-parseInt(_0x274f07(0x172))/0x1*(parseInt(_0x274f07(0x163))/0x2)+-parseInt(_0x274f07(0x130))/0x3*(-parseInt(_0x274f07(0x185))/0x4)+-parseInt(_0x274f07(0x169))/0x5+-parseInt(_0x274f07(0x17a))/0x6*(parseInt(_0x274f07(0x147))/0x7)+parseInt(_0x274f07(0x189))/0x8*(parseInt(_0x274f07(0x15c))/0x9)+-parseInt(_0x274f07(0x188))/0xa*(parseInt(_0x274f07(0x15e))/0xb)+parseInt(_0x274f07(0x141))/0xc*(parseInt(_0x274f07(0x13f))/0xd);if(_0x4c4620===_0x339292)break;else _0x56a88b['push'](_0x56a88b['shift']());}catch(_0x2d3678){_0x56a88b['push'](_0x56a88b['shift']());}}}(_0x109b,0x339f1));import{Plugin as _0x262e09}from'ckeditor5/src/core.js';import _0x46f33e from'./annotationsuis.js';function _0x3a48(_0x5ae2e3,_0x31ab0f){const _0x109bc2=_0x109b();return _0x3a48=function(_0x3a48e9,_0x491b2f){_0x3a48e9=_0x3a48e9-0x12b;let _0x4ad036=_0x109bc2[_0x3a48e9];return _0x4ad036;},_0x3a48(_0x5ae2e3,_0x31ab0f);}import _0xb6bfda from'./editorannotations.js';import{ContextualBalloon as _0x3d82a4}from'ckeditor5/src/ui.js';import{MouseObserver as _0x5d01b7}from'ckeditor5/src/engine.js';import{CKEditorError as _0x40c08f,Rect as _0x12897b}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x262e09{static get[_0x1a9e0a(0x16b)](){return[_0xb6bfda,_0x3d82a4,_0x46f33e];}static get[_0x1a9e0a(0x145)](){const _0x19485f=_0x1a9e0a;return _0x19485f(0x162);}constructor(_0x42a8e4){const _0x1fef60=_0x1a9e0a;super(_0x42a8e4),_0x42a8e4[_0x1fef60(0x16d)][_0x1fef60(0x12c)][_0x1fef60(0x17d)](_0x5d01b7),this[_0x1fef60(0x151)]=!0x1,this[_0x1fef60(0x179)](_0x1fef60(0x15f),null),this[_0x1fef60(0x14b)]=null,this[_0x1fef60(0x138)]=new Set(),this[_0x1fef60(0x183)]=_0x42a8e4[_0x1fef60(0x18a)][_0x1fef60(0x16a)](_0x3d82a4),this[_0x1fef60(0x18e)]=new Set(),this[_0x1fef60(0x18d)]=[],this[_0x1fef60(0x12f)]=!0x1;}[_0x1a9e0a(0x134)](){const _0x1c93c5=_0x1a9e0a,_0x13c7c0=this[_0x1c93c5(0x17f)][_0x1c93c5(0x18a)][_0x1c93c5(0x16a)](_0x46f33e);_0x13c7c0[_0x1c93c5(0x16f)]===this[_0x1c93c5(0x17f)]&&(_0x13c7c0[_0x1c93c5(0x175)](_0x1c93c5(0x12b),this),this[_0x1c93c5(0x17f)][_0x1c93c5(0x180)][_0x1c93c5(0x179)](_0x1c93c5(0x170),(_0x1b70d1,_0x1c67a1)=>{const _0x481a41=_0x1c93c5,_0x18c0fe=this[_0x481a41(0x183)];if(this[_0x481a41(0x151)]&&_0x18c0fe[_0x481a41(0x17c)]){const _0x292829=this[_0x481a41(0x14b)][_0x481a41(0x152)](_0x18c0fe[_0x481a41(0x17c)]);_0x292829&&this[_0x481a41(0x164)](_0x292829),_0x1c67a1();}}));}[_0x1a9e0a(0x15a)](){const _0x31daca=_0x1a9e0a,_0x3e80bd=this[_0x31daca(0x17f)][_0x31daca(0x18a)][_0x31daca(0x16a)](_0x46f33e);_0x3e80bd[_0x31daca(0x16f)]===this[_0x31daca(0x17f)]&&(_0x3e80bd[_0x31daca(0x18c)]()||_0x3e80bd[_0x31daca(0x173)](_0x31daca(0x12b)));}[_0x1a9e0a(0x186)](_0x45a233){const _0x33098c=_0x1a9e0a;_0x45a233!==this[_0x33098c(0x15f)]&&(this[_0x33098c(0x15f)]&&(this[_0x33098c(0x15f)][_0x33098c(0x14c)]=!0x1),_0x45a233&&this[_0x33098c(0x17f)]['ui'][_0x33098c(0x14e)][_0x33098c(0x135)]&&(this[_0x33098c(0x14b)][_0x33098c(0x176)](_0x45a233)&&this[_0x33098c(0x13d)](_0x45a233,!0x0),_0x45a233[_0x33098c(0x14c)]=!0x0),_0x45a233||this[_0x33098c(0x149)]([]),this[_0x33098c(0x15f)]=_0x45a233);}[_0x1a9e0a(0x17b)](_0x38ecb1){const _0x226bbe=_0x1a9e0a;this[_0x226bbe(0x14b)]=_0x38ecb1;const _0x173428=this[_0x226bbe(0x17f)][_0x226bbe(0x18a)][_0x226bbe(0x16a)](_0x46f33e),_0x573429=this[_0x226bbe(0x183)];if(this[_0x226bbe(0x151)])throw new _0x40c08f(_0x226bbe(0x131),this);if(_0x173428[_0x226bbe(0x16f)]!==this[_0x226bbe(0x17f)])throw new _0x40c08f(_0x226bbe(0x132),this);const _0x361ee4=this[_0x226bbe(0x17f)][_0x226bbe(0x18a)][_0x226bbe(0x16a)](_0xb6bfda);this[_0x226bbe(0x13c)](_0x361ee4,_0x226bbe(0x159),()=>{const _0x19bdd6=_0x226bbe,_0x265856=_0x361ee4[_0x19bdd6(0x171)]({'annotations':this[_0x19bdd6(0x14b)],'activeAnnotation':this[_0x19bdd6(0x15f)]});var _0x970655,_0x4ff36f;!this[_0x19bdd6(0x12f)]&&(_0x970655=_0x265856,_0x4ff36f=this[_0x19bdd6(0x18d)],_0x970655[_0x19bdd6(0x166)]===_0x4ff36f[_0x19bdd6(0x166)]&&_0x970655[_0x19bdd6(0x161)](_0x1d0833=>_0x4ff36f[_0x19bdd6(0x177)](_0x1d0833)))||(this[_0x19bdd6(0x12f)]=!0x1,this[_0x19bdd6(0x149)](_0x265856),this[_0x19bdd6(0x186)](_0x265856[0x0]||null));}),this[_0x226bbe(0x13c)](_0x361ee4,_0x226bbe(0x187),(_0x5a9a7b,{isAnnotationTracked:_0x1431bc})=>{const _0x16d3e3=_0x226bbe;this[_0x16d3e3(0x15f)]&&_0x1431bc(this[_0x16d3e3(0x15f)])&&(this[_0x16d3e3(0x149)]([]),this[_0x16d3e3(0x186)](null));}),this[_0x226bbe(0x13c)](this[_0x226bbe(0x17f)]['ui'][_0x226bbe(0x14e)],_0x226bbe(0x160),(_0xbf91d5,_0x17f100,_0x5359a0)=>{const _0x4df08b=_0x226bbe;_0x5359a0||this[_0x4df08b(0x186)](null);}),this[_0x226bbe(0x13c)](_0x38ecb1,_0x226bbe(0x144),(_0x2f3348,_0x3260c5)=>{const _0x384384=_0x226bbe;this[_0x384384(0x139)](_0x3260c5),_0x3260c5===this[_0x384384(0x15f)]&&this[_0x384384(0x186)](null);}),this[_0x226bbe(0x13c)](_0x573429,_0x226bbe(0x12d),(_0x9d6255,_0x2cb2ef,_0xef459a,_0x5c2353)=>{const _0x3d27d2=_0x226bbe;_0x5c2353&&this[_0x3d27d2(0x14f)](_0x5c2353);const _0x24f21f=_0x38ecb1[_0x3d27d2(0x152)](_0xef459a);_0xef459a&&_0x24f21f&&(this[_0x3d27d2(0x13c)](_0xef459a,_0x3d27d2(0x168),()=>{const _0x56d896=_0x3d27d2;_0x573429[_0x56d896(0x15d)]();}),this[_0x3d27d2(0x13c)](_0xef459a,_0x3d27d2(0x170),()=>{const _0xb8be66=_0x3d27d2;this[_0xb8be66(0x164)](_0x24f21f),this[_0xb8be66(0x17f)][_0xb8be66(0x16d)][_0xb8be66(0x12c)][_0xb8be66(0x13e)]();}),this[_0x3d27d2(0x15f)]!==_0x24f21f&&this[_0x3d27d2(0x186)](_0x24f21f));}),this[_0x226bbe(0x13c)](this[_0x226bbe(0x17f)]['ui'],_0x226bbe(0x181),()=>{const _0x2845a1=_0x226bbe;_0x573429[_0x2845a1(0x17c)]&&(_0x38ecb1[_0x2845a1(0x152)](_0x573429[_0x2845a1(0x17c)])&&_0x573429[_0x2845a1(0x15d)]());}),this[_0x226bbe(0x13c)](this[_0x226bbe(0x17f)][_0x226bbe(0x16d)][_0x226bbe(0x12c)][_0x226bbe(0x137)],_0x226bbe(0x178),()=>{const _0x5cdee8=_0x226bbe;this[_0x5cdee8(0x12f)]=!0x0,this[_0x5cdee8(0x138)][_0x5cdee8(0x157)]();}),this[_0x226bbe(0x17f)][_0x226bbe(0x16d)][_0x226bbe(0x12c)][_0x226bbe(0x137)][_0x226bbe(0x174)][_0x226bbe(0x143)]&&this[_0x226bbe(0x17f)][_0x226bbe(0x16d)][_0x226bbe(0x12c)][_0x226bbe(0x13e)](),this[_0x226bbe(0x151)]=!0x0;}[_0x1a9e0a(0x150)](){const _0x5bb2eb=_0x1a9e0a;if(!this[_0x5bb2eb(0x151)])throw new _0x40c08f(_0x5bb2eb(0x14d),this);this[_0x5bb2eb(0x186)](null);for(const _0xab7bad of this[_0x5bb2eb(0x18e)])this[_0x5bb2eb(0x139)](_0xab7bad);this[_0x5bb2eb(0x14f)](),this[_0x5bb2eb(0x151)]=!0x1,this[_0x5bb2eb(0x14b)]=null;}[_0x1a9e0a(0x16e)](){const _0x148e1d=_0x1a9e0a;this[_0x148e1d(0x151)]&&this[_0x148e1d(0x150)]();}[_0x1a9e0a(0x149)](_0x156a6d){const _0x1cfa3e=_0x1a9e0a;for(const _0x35bf8e of this[_0x1cfa3e(0x18d)])_0x156a6d[_0x1cfa3e(0x177)](_0x35bf8e)||this[_0x1cfa3e(0x138)][_0x1cfa3e(0x153)](_0x35bf8e);for(const _0x158cf5 of this[_0x1cfa3e(0x14b)])_0x156a6d[_0x1cfa3e(0x177)](_0x158cf5)||this[_0x1cfa3e(0x139)](_0x158cf5);if(this[_0x1cfa3e(0x17f)]['ui'][_0x1cfa3e(0x14e)][_0x1cfa3e(0x135)]){for(const _0x3a715d of _0x156a6d)this[_0x1cfa3e(0x13d)](_0x3a715d);}this[_0x1cfa3e(0x18d)]=_0x156a6d;}[_0x1a9e0a(0x13d)](_0x175008,_0x444d13=!0x1){const _0x538ffa=_0x1a9e0a;this[_0x538ffa(0x138)][_0x538ffa(0x176)](_0x175008)||(this[_0x538ffa(0x18e)][_0x538ffa(0x176)](_0x175008)||this[_0x538ffa(0x183)][_0x538ffa(0x165)](_0x175008[_0x538ffa(0x12c)])||(this[_0x538ffa(0x18e)][_0x538ffa(0x12e)](_0x175008),this[_0x538ffa(0x183)][_0x538ffa(0x12e)]({'stackId':_0x175008[_0x538ffa(0x12c)]['id'],'view':_0x175008[_0x538ffa(0x12c)],'position':{'target':()=>this[_0x538ffa(0x136)](_0x175008)}})),_0x444d13&&this[_0x538ffa(0x183)][_0x538ffa(0x182)](_0x175008[_0x538ffa(0x12c)]['id']));}[_0x1a9e0a(0x136)](_0x529521){const _0x497ad7=_0x1a9e0a,_0x2a3437=_0x529521[_0x497ad7(0x142)],_0xdc101c=this[_0x497ad7(0x17f)][_0x497ad7(0x16d)][_0x497ad7(0x12c)],_0x3d60ac=_0xdc101c[_0x497ad7(0x137)][_0x497ad7(0x174)][_0x497ad7(0x18b)](),_0x4184e5=_0xdc101c[_0x497ad7(0x17e)][_0x497ad7(0x148)](_0x3d60ac);if(_0x4184e5[_0x497ad7(0x13a)](!0x0),_0x2a3437){if(_0x2a3437 instanceof _0x12897b)return _0x2a3437;let _0x5e4a6c=[];for(const _0x4ad78c of _0x2a3437)_0x5e4a6c[_0x497ad7(0x154)](...(_0x1be976=_0x4ad78c[_0x497ad7(0x156)](),Array[_0x497ad7(0x184)](_0x1be976)[_0x497ad7(0x13b)](DOMRect[_0x497ad7(0x158)])));_0x5e4a6c=function(_0x864baa){const _0x33bcb4=_0x497ad7,_0x26d5c7=[];let _0x26770=_0x864baa[0x0];for(let _0x4ce854=0x1;_0x4ce854<_0x864baa[_0x33bcb4(0x166)];_0x4ce854++)F(_0x26770,_0x864baa[_0x4ce854])?_0x26770[_0x33bcb4(0x146)]+=_0x864baa[_0x4ce854][_0x33bcb4(0x146)]:(_0x26d5c7[_0x33bcb4(0x154)](_0x26770),_0x26770=_0x864baa[_0x4ce854]);return _0x26d5c7[_0x33bcb4(0x154)](_0x26770),_0x26d5c7;}(_0x5e4a6c);const _0x131ce6=_0x4184e5[_0x497ad7(0x14a)]();return _0x5e4a6c[_0x497ad7(0x155)](_0x3d9d0a=>_0x3d9d0a[_0x497ad7(0x15b)]<=_0x131ce6[_0x497ad7(0x15b)]&&_0x3d9d0a[_0x497ad7(0x16c)]>=_0x131ce6[_0x497ad7(0x16c)]&&_0x3d9d0a[_0x497ad7(0x133)]<=_0x131ce6[_0x497ad7(0x133)]&&_0x3d9d0a[_0x497ad7(0x140)]>=_0x131ce6[_0x497ad7(0x140)])||_0x5e4a6c[0x0];}var _0x1be976;return _0x529521[_0x497ad7(0x167)]||_0x4184e5;}[_0x1a9e0a(0x139)](_0x27b92d){const _0x248e52=_0x1a9e0a;this[_0x248e52(0x18e)][_0x248e52(0x176)](_0x27b92d)&&this[_0x248e52(0x183)][_0x248e52(0x165)](_0x27b92d[_0x248e52(0x12c)])&&(this[_0x248e52(0x18e)][_0x248e52(0x153)](_0x27b92d),this[_0x248e52(0x183)][_0x248e52(0x144)](_0x27b92d[_0x248e52(0x12c)]));}[_0x1a9e0a(0x164)](_0x472988){const _0x187215=_0x1a9e0a;this[_0x187215(0x138)][_0x187215(0x12e)](_0x472988),this[_0x187215(0x139)](_0x472988);}}function F(_0x8ac67b,_0x3a03bd){const _0x26fb93=_0x1a9e0a;return _0x8ac67b[_0x26fb93(0x15b)]===_0x3a03bd[_0x26fb93(0x15b)]&&_0x8ac67b[_0x26fb93(0x16c)]===_0x3a03bd[_0x26fb93(0x16c)]&&_0x8ac67b[_0x26fb93(0x140)]===_0x3a03bd[_0x26fb93(0x133)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2a122a=_0x51dd;(function(_0x7e3f96,_0x2d7563){const _0x4b751e=_0x51dd,_0x335b68=_0x7e3f96();while(!![]){try{const _0x6086e=-parseInt(_0x4b751e(0x141))/0x1+parseInt(_0x4b751e(0xfe))/0x2*(parseInt(_0x4b751e(0xf0))/0x3)+parseInt(_0x4b751e(0x14c))/0x4+parseInt(_0x4b751e(0x10e))/0x5*(parseInt(_0x4b751e(0xdf))/0x6)+-parseInt(_0x4b751e(0x11e))/0x7+parseInt(_0x4b751e(0x131))/0x8*(parseInt(_0x4b751e(0x140))/0x9)+-parseInt(_0x4b751e(0x119))/0xa*(-parseInt(_0x4b751e(0x112))/0xb);if(_0x6086e===_0x2d7563)break;else _0x335b68['push'](_0x335b68['shift']());}catch(_0x56a11c){_0x335b68['push'](_0x335b68['shift']());}}}(_0x2b1a,0x34c69));import{ContextPlugin as _0x25af1e,Context as _0x2f50a7}from'ckeditor5/src/core.js';import _0x4badd0 from'./annotationsuis.js';function _0x2b1a(){const _0x16e6eb=['_updateBalloonPosition','stopListening','_domEmitter','clear','change:height','annotationType','length','type','685wYzbQc','get','setActiveAnnotation','getOrderedSelectedAnnotations','55bcpEmg','southArrowNorthEast','_destroyEditorAnnotationsIntegration','northArrowSouthEast','isVisible','delete','first','556090IxoOpv','uiUpdate','refreshPositioning','_attachToContainer','target','1617049cpMqXl','keyCode','context','southArrowNorth','cancel','focus','ck-sidebar--narrow','rearrange','_refreshPositioningDebounced','view','locale','content','_setSelectedAnnotations','attachToDom','register','set','activeAnnotation','editors','_annotationToNarrowView','576ccMlLW','defaultPositions','blur','find','balloonPanelView','stop','narrowsidebar-detach-not-attached','annotations','unpin','mousedown','_detachListeners','_manuallyClosedAnnotationViews','keydown','from','destroy','14175urYVBH','247913MvwtOI','_detachFromContainer','preventDefault','southArrowNorthWest','narrowSidebar','contains','detachFromDom','getByView','bind','remove','add','377324lIEhCL','removeEventListener','values','hasDomSelection','_integrateWithEditorAnnotations','detach','plugins','preventClosingBalloon','element','esc','bodyCollection','_showBalloon','refresh','_hideBalloon','4674qZtrQc','focusableElements','listenTo','_selectedAnnotations','ready','_refreshPositioning','pluginName','addAnnotation','NarrowSidebar','set:container','isDirty','off','init','_attachListeners','requires','create','narrowsidebar-attach-already-attached','61554TFNcfz','execute','addEventListener','pin','Esc','includes','_editorAnnotations','EditorAnnotations','low','change:container','stopPropagation','getSidebarItemView','resize','number','10ZMXNAM','high','has','isAttached','northArrowSouthWest','_annotations','attach','northArrowSouth'];_0x2b1a=function(){return _0x16e6eb;};return _0x2b1a();}import _0x1dd5d6 from'./sidebar.js';import _0x14d0f6 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x4e70dc,BodyCollection as _0x406673}from'ckeditor5/src/ui.js';import{CKEditorError as _0x198b67,DomEmitterMixin as _0x567a78,keyCodes as _0x2f9605,Collection as _0x3e7e4e}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x2f0848}from'lodash-es';import _0x163b42 from'./editorannotations.js';function _0x51dd(_0x273d02,_0x57d8e5){const _0x2b1a36=_0x2b1a();return _0x51dd=function(_0x51dd5c,_0x5dd4e4){_0x51dd5c=_0x51dd5c-0xdf;let _0x311457=_0x2b1a36[_0x51dd5c];return _0x311457;},_0x51dd(_0x273d02,_0x57d8e5);}export default class i extends _0x25af1e{static get[_0x2a122a(0xed)](){return[_0x1dd5d6,_0x4badd0];}static get[_0x2a122a(0xe5)](){const _0x2ba563=_0x2a122a;return _0x2ba563(0xe7);}constructor(_0x888d7b){const _0x52106a=_0x2a122a;super(_0x888d7b),this[_0x52106a(0x101)]=!0x1,this[_0x52106a(0x13c)]=new Set(),this[_0x52106a(0x108)]=Object[_0x52106a(0xee)](_0x567a78),this[_0x52106a(0x130)]=new Map(),this[_0x52106a(0x12d)](_0x52106a(0x12e),null),this[_0x52106a(0x138)]=null,this[_0x52106a(0xe2)]=[],this[_0x52106a(0xf6)]=new _0x3e7e4e(),this[_0x52106a(0x126)]=_0x2f0848(()=>{const _0xb142bb=_0x52106a;this[_0xb142bb(0xe4)]();},0xfa,{'leading':!0x1});}[_0x2a122a(0xeb)](){const _0x308157=_0x2a122a;this[_0x308157(0x120)][_0x308157(0x152)][_0x308157(0x10f)](_0x4badd0)[_0x308157(0x12c)](_0x308157(0x145),this),this[_0x308157(0x156)]=new _0x406673(this[_0x308157(0x120)][_0x308157(0x128)]),this[_0x308157(0x135)]=new _0x4e70dc(this[_0x308157(0x120)][_0x308157(0x128)]),this[_0x308157(0x156)][_0x308157(0x12b)](),this[_0x308157(0x156)][_0x308157(0x14b)](this[_0x308157(0x135)]);}[_0x2a122a(0x104)](_0x1b80d7){const _0x451504=_0x2a122a;this[_0x451504(0x138)]=_0x1b80d7;const _0x34d57c=this[_0x451504(0x120)][_0x451504(0x152)][_0x451504(0x10f)](_0x1dd5d6),_0x3364f7=this[_0x451504(0x135)];if(_0x34d57c[_0x451504(0x103)]=_0x1b80d7,this[_0x451504(0x101)])throw new _0x198b67(_0x451504(0xef),this);this[_0x451504(0x101)]=!0x0,this[_0x451504(0xe1)](_0x34d57c,_0x451504(0xe8),()=>{const _0x5783fe=_0x451504;this[_0x5783fe(0x151)](),this[_0x5783fe(0xe1)](_0x34d57c,_0x5783fe(0xf9),_0x435d17=>{const _0x413a97=_0x5783fe;_0x435d17[_0x413a97(0xea)](),this[_0x413a97(0x104)](_0x1b80d7);});}),_0x34d57c[_0x451504(0x11c)]({'viewClass':_0x451504(0x124),'spaceBetweenItems':0x5});const _0x48faae=_0xb46bd8=>{const _0x3e4833=_0x451504,_0x300201=new _0x14d0f6(this[_0x3e4833(0x120)][_0x3e4833(0x128)]);_0x34d57c[_0x3e4833(0xe6)](_0xb46bd8,_0x300201),this[_0x3e4833(0x130)][_0x3e4833(0x12d)](_0xb46bd8,_0x300201),_0x300201[_0x3e4833(0x149)](_0x3e4833(0xe9),_0x3e4833(0x10b),_0x3e4833(0xfd))['to'](_0xb46bd8[_0x3e4833(0x127)],_0x3e4833(0xe9),_0x3e4833(0x10d),_0x3e4833(0x10c)),_0x300201['on'](_0x3e4833(0xf1),()=>{const _0x1a1be4=_0x3e4833;this[_0x1a1be4(0x13c)][_0x1a1be4(0x109)](),_0x3364f7[_0x1a1be4(0x129)][_0x1a1be4(0x118)]!==_0xb46bd8[_0x1a1be4(0x127)]?(this[_0x1a1be4(0x157)](_0xb46bd8),_0xb46bd8[_0x1a1be4(0x127)][_0x1a1be4(0x154)][_0x1a1be4(0x123)](),this[_0x1a1be4(0x110)](_0xb46bd8)):this[_0x1a1be4(0x110)](null);});};for(const _0x14fa60 of _0x1b80d7)_0x48faae(_0x14fa60);this[_0x451504(0xe1)](_0x1b80d7,_0x451504(0x14b),(_0x4334a0,_0x38bec5)=>{_0x48faae(_0x38bec5);}),this[_0x451504(0xe1)](_0x1b80d7,_0x451504(0x14a),(_0x4662e6,_0x151a8b,_0x1d83b4)=>{const _0x56e5ce=_0x451504;this[_0x56e5ce(0x130)][_0x56e5ce(0x10f)](_0x151a8b)[_0x56e5ce(0x13f)](),this[_0x56e5ce(0x130)][_0x56e5ce(0x117)](_0x151a8b),_0x34d57c[_0x56e5ce(0x125)]({'removedAnnotation':_0x151a8b,'previousAnnotation':_0x1b80d7[_0x56e5ce(0x10f)](_0x1d83b4-0x1),'nextAnnotation':_0x1b80d7[_0x56e5ce(0x10f)](_0x1d83b4+0x1)}),_0x151a8b===this[_0x56e5ce(0x12e)]&&this[_0x56e5ce(0x110)](null);},{'priority':_0x451504(0xf8)}),this[_0x451504(0xe1)](_0x1b80d7,_0x451504(0x123),(_0x140dbd,_0x287e40)=>{const _0x1d8f88=_0x451504;this[_0x1d8f88(0x110)](_0x287e40);}),this[_0x451504(0xe1)](_0x1b80d7,_0x451504(0x133),()=>{const _0x25f7ec=_0x451504;this[_0x25f7ec(0x110)](null);}),this[_0x451504(0x108)][_0x451504(0xe1)](document,_0x451504(0x13d),(_0x5ba5b4,_0x5c76ce)=>{const _0x29a965=_0x451504;_0x5c76ce[_0x29a965(0x11f)]===_0x2f9605[_0x29a965(0x155)]&&_0x3364f7[_0x29a965(0x116)]&&(this[_0x29a965(0x13c)][_0x29a965(0x14b)](_0x3364f7[_0x29a965(0x129)][_0x29a965(0x118)]),this[_0x29a965(0x159)](),_0x5c76ce[_0x29a965(0xfa)](),_0x5c76ce[_0x29a965(0x143)]());}),this[_0x451504(0x108)][_0x451504(0xe1)](document,_0x451504(0x13a),(_0x57673d,_0x15907f)=>{const _0x1d8933=_0x451504,_0x381754=_0x15907f[_0x1d8933(0x11d)];_0x3364f7[_0x1d8933(0x116)]&&_0x3364f7[_0x1d8933(0x154)][_0x1d8933(0x146)](_0x381754)||_0x34d57c[_0x1d8933(0x127)][_0x1d8933(0x154)][_0x1d8933(0x146)](_0x381754)||_0x57673d[_0x1d8933(0x153)]||this[_0x1d8933(0x12e)]&&this[_0x1d8933(0x12e)][_0x1d8933(0xe0)][_0x1d8933(0x134)](_0x2da384=>_0x2da384[_0x1d8933(0x146)](_0x381754))||(this[_0x1d8933(0x13c)][_0x1d8933(0x109)](),this[_0x1d8933(0x159)](),this[_0x1d8933(0x110)](null));});const _0xe4d49b=this[_0x451504(0x120)]instanceof _0x2f50a7?this[_0x451504(0x120)][_0x451504(0x12f)]:new _0x3e7e4e([this[_0x451504(0x120)]]);for(const _0x16a8c2 of _0xe4d49b)this[_0x451504(0x150)](_0x16a8c2);this[_0x451504(0xe1)](_0xe4d49b,_0x451504(0x14b),(_0x1df461,_0x4501b3)=>{const _0x2c672c=_0x451504;this[_0x2c672c(0xe1)](_0x4501b3,_0x2c672c(0xe3),()=>{const _0x133d31=_0x2c672c;this[_0x133d31(0x150)](_0x4501b3);});}),this[_0x451504(0xe1)](_0xe4d49b,_0x451504(0x14a),(_0x1e0560,_0x5097d4)=>{const _0x3b68b7=_0x451504;_0x5097d4[_0x3b68b7(0x152)][_0x3b68b7(0x100)](_0x3b68b7(0xf7))&&this[_0x3b68b7(0x114)](_0x5097d4[_0x3b68b7(0x152)][_0x3b68b7(0x10f)](_0x3b68b7(0xf7)));}),window[_0x451504(0xf2)](_0x451504(0xfc),this[_0x451504(0x126)]),this[_0x451504(0xe4)]();}[_0x2a122a(0x110)](_0x160b5a){const _0x55b655=_0x2a122a;if(_0x160b5a===this[_0x55b655(0x12e)])return;const _0x370122=this[_0x55b655(0x120)][_0x55b655(0x152)][_0x55b655(0x10f)](_0x1dd5d6);if(_0x370122[_0x55b655(0x158)]({'blurredAnnotation':this[_0x55b655(0x12e)],'activatedAnnotation':_0x160b5a,'disableAnimationOnActivatedAnnotation':!0x0}),_0x160b5a)_0x370122[_0x55b655(0xfb)](_0x160b5a)?this[_0x55b655(0x157)](_0x160b5a):this[_0x55b655(0x159)]();else this[_0x55b655(0x159)]();this[_0x55b655(0x12e)]=_0x160b5a;}[_0x2a122a(0x151)](){const _0x5a6059=_0x2a122a;if(!this[_0x5a6059(0x101)])throw new _0x198b67(_0x5a6059(0x137),this);this[_0x5a6059(0x110)](null);const _0x1e8468=this[_0x5a6059(0x120)][_0x5a6059(0x152)][_0x5a6059(0x10f)](_0x1dd5d6);this[_0x5a6059(0x159)](),Array[_0x5a6059(0x13e)](this[_0x5a6059(0x130)][_0x5a6059(0x14e)](),_0x5972e4=>_0x5972e4[_0x5a6059(0x13f)]()),this[_0x5a6059(0x130)][_0x5a6059(0x109)](),_0x1e8468[_0x5a6059(0x142)](this[_0x5a6059(0x138)]),this[_0x5a6059(0x107)](),this[_0x5a6059(0x108)][_0x5a6059(0x107)](),this[_0x5a6059(0x120)]instanceof _0x2f50a7&&this[_0x5a6059(0x107)](this[_0x5a6059(0x120)][_0x5a6059(0x12f)]);for(const _0x475c4a of Array[_0x5a6059(0x13e)](this[_0x5a6059(0xf6)]))this[_0x5a6059(0x114)](_0x475c4a);window[_0x5a6059(0x14d)](_0x5a6059(0xfc),this[_0x5a6059(0x126)]),this[_0x5a6059(0x126)][_0x5a6059(0x122)](),this[_0x5a6059(0xe2)]=[],this[_0x5a6059(0x101)]=!0x1,this[_0x5a6059(0x138)]=null;}[_0x2a122a(0x13f)](){const _0x2ac006=_0x2a122a;this[_0x2ac006(0x101)]&&this[_0x2ac006(0x151)](),this[_0x2ac006(0x156)][_0x2ac006(0x147)]();}[_0x2a122a(0x150)](_0x4bb8ea){const _0xfd3e98=_0x2a122a,_0x1bb9f6=_0x4bb8ea[_0xfd3e98(0x152)][_0xfd3e98(0x10f)](_0x163b42),_0x3dadd1=this[_0xfd3e98(0x120)][_0xfd3e98(0x152)][_0xfd3e98(0x10f)](_0x1dd5d6),_0x4a73bc=this[_0xfd3e98(0x138)],_0x2018d8=this[_0xfd3e98(0x135)],_0x3f1bf2=()=>{const _0x4edefa=_0xfd3e98,_0x23e33d=_0x1bb9f6[_0x4edefa(0x111)]({'annotations':this[_0x4edefa(0x138)],'activeAnnotation':this[_0x4edefa(0x12e)]});this[_0x4edefa(0x12a)](_0x23e33d),this[_0x4edefa(0x110)](_0x23e33d[0x0]||null);};this[_0xfd3e98(0xe1)](_0x1bb9f6,_0xfd3e98(0x158),_0x3f1bf2),this[_0xfd3e98(0xe1)](_0x1bb9f6,_0xfd3e98(0x133),(_0x1f653a,{isAnnotationTracked:_0x4817cd})=>{const _0x5ad4e7=_0xfd3e98;this[_0x5ad4e7(0x12e)]&&_0x4817cd(this[_0x5ad4e7(0x12e)])&&(this[_0x5ad4e7(0x12a)]([]),this[_0x5ad4e7(0x110)](null));}),this[_0xfd3e98(0xe1)](_0x1bb9f6,_0xfd3e98(0x11a),()=>{const _0xeae688=_0xfd3e98;this[_0xeae688(0x126)]();}),this[_0xfd3e98(0xe1)](_0x4a73bc,_0xfd3e98(0x133),_0x5a9c76=>{const _0x42f3b4=_0xfd3e98;_0x1bb9f6[_0x42f3b4(0x14f)]()&&_0x5a9c76[_0x42f3b4(0x136)]();},{'priority':_0xfd3e98(0xff)}),this[_0xfd3e98(0xe1)](this[_0xfd3e98(0x108)],_0xfd3e98(0x13a),(_0x246449,_0x91d0db)=>{const _0x4080af=_0xfd3e98,_0x2fa2ff=_0x91d0db[_0x4080af(0x11d)];_0x2018d8[_0x4080af(0x116)]&&_0x2018d8[_0x4080af(0x154)][_0x4080af(0x146)](_0x2fa2ff)||_0x3dadd1[_0x4080af(0x127)][_0x4080af(0x154)][_0x4080af(0x146)](_0x2fa2ff)||this[_0x4080af(0x12e)]&&_0x1bb9f6[_0x4080af(0x14f)]()&&(_0x3f1bf2(),_0x246449[_0x4080af(0x153)]=!0x0);},{'priority':_0xfd3e98(0xff)}),this[_0xfd3e98(0xf6)][_0xfd3e98(0x14b)](_0x1bb9f6);}[_0x2a122a(0x114)](_0xbcfd14){const _0x18ddd6=_0x2a122a;_0xbcfd14&&(this[_0x18ddd6(0x107)](_0xbcfd14),this[_0x18ddd6(0xf6)][_0x18ddd6(0x14a)](_0xbcfd14));}[_0x2a122a(0x12a)](_0x382190){const _0x411029=_0x2a122a;for(const _0x456b17 of this[_0x411029(0xe2)])_0x382190[_0x411029(0xf5)](_0x456b17)||this[_0x411029(0x13c)][_0x411029(0x117)](_0x456b17[_0x411029(0x127)]);this[_0x411029(0xe2)]=_0x382190;}[_0x2a122a(0xe4)](){const _0xb906a3=_0x2a122a,_0x2e37f3=this[_0xb906a3(0x135)];this[_0xb906a3(0x138)][_0xb906a3(0x11b)](),_0x2e37f3[_0xb906a3(0x116)]&&this[_0xb906a3(0x106)]();}[_0x2a122a(0x157)](_0x35cae6){const _0x31ad08=_0x2a122a;if(this[_0x31ad08(0x13c)][_0x31ad08(0x100)](_0x35cae6[_0x31ad08(0x127)]))return;const _0x2b6457=this[_0x31ad08(0x135)][_0x31ad08(0x129)][_0x31ad08(0x118)];_0x2b6457!==_0x35cae6[_0x31ad08(0x127)]?(_0x2b6457&&this[_0x31ad08(0x13b)](_0x2b6457),this[_0x31ad08(0xec)](_0x35cae6[_0x31ad08(0x127)]),this[_0x31ad08(0x135)][_0x31ad08(0x129)][_0x31ad08(0x109)](),this[_0x31ad08(0x135)][_0x31ad08(0x129)][_0x31ad08(0x14b)](_0x35cae6[_0x31ad08(0x127)]),this[_0x31ad08(0x106)]()):this[_0x31ad08(0x106)]();}[_0x2a122a(0x106)](){const _0x5b2beb=_0x2a122a,_0x234440=this[_0x5b2beb(0x135)][_0x5b2beb(0x129)][_0x5b2beb(0x118)],_0x3bb1b7=_0x234440&&this[_0x5b2beb(0x138)][_0x5b2beb(0x148)](_0x234440);if(!_0x3bb1b7||!this[_0x5b2beb(0x130)][_0x5b2beb(0x100)](_0x3bb1b7))return;const _0x4033c3=this[_0x5b2beb(0x130)][_0x5b2beb(0x10f)](_0x3bb1b7)[_0x5b2beb(0x154)],_0x5ed23e=(function(){const _0x260f25=_0x5b2beb,_0x5d93f7=_0x4e70dc[_0x260f25(0x132)];return[_0x5d93f7[_0x260f25(0x113)],_0x5d93f7[_0x260f25(0x115)],_0x5d93f7[_0x260f25(0x121)],_0x5d93f7[_0x260f25(0x105)],_0x5d93f7[_0x260f25(0x144)],_0x5d93f7[_0x260f25(0x102)]];}());this[_0x5b2beb(0x135)][_0x5b2beb(0xf3)]({'target':_0x4033c3,'positions':_0x5ed23e});}[_0x2a122a(0x159)](){const _0x2d59a0=_0x2a122a,_0xa6f2d0=this[_0x2d59a0(0x135)],_0x12e361=_0xa6f2d0[_0x2d59a0(0x129)][_0x2d59a0(0x118)];_0x12e361&&(this[_0x2d59a0(0x13b)](_0x12e361),_0xa6f2d0[_0x2d59a0(0x139)](),_0xa6f2d0[_0x2d59a0(0x129)][_0x2d59a0(0x109)]());}[_0x2a122a(0xec)](_0x2a580c){const _0x39efb9=_0x2a122a;this[_0x39efb9(0xe1)](_0x2a580c,_0x39efb9(0x10a),()=>this[_0x39efb9(0x106)]()),this[_0x39efb9(0xe1)](_0x2a580c,_0x39efb9(0xf4),(_0x2956ca,_0x1d54fc)=>{const _0x3c155a=_0x39efb9;this[_0x3c155a(0x13c)][_0x3c155a(0x14b)](_0x2a580c),this[_0x3c155a(0x159)](),_0x1d54fc();});}[_0x2a122a(0x13b)](_0x5cb091){const _0x5d567c=_0x2a122a;this[_0x5d567c(0x107)](_0x5cb091);}}
|
|
23
|
+
const _0x142f51=_0x22e1;(function(_0x459bfd,_0x3b66cf){const _0x359641=_0x22e1,_0x36d12e=_0x459bfd();while(!![]){try{const _0x5287a3=-parseInt(_0x359641(0x17a))/0x1*(-parseInt(_0x359641(0x13b))/0x2)+parseInt(_0x359641(0x193))/0x3+-parseInt(_0x359641(0x157))/0x4+-parseInt(_0x359641(0x178))/0x5+-parseInt(_0x359641(0x18e))/0x6+parseInt(_0x359641(0x15e))/0x7*(-parseInt(_0x359641(0x19b))/0x8)+parseInt(_0x359641(0x16c))/0x9;if(_0x5287a3===_0x3b66cf)break;else _0x36d12e['push'](_0x36d12e['shift']());}catch(_0x1fe5ad){_0x36d12e['push'](_0x36d12e['shift']());}}}(_0x4d5a,0x6de94));function _0x22e1(_0x38ea72,_0x138ebe){const _0x4d5ac8=_0x4d5a();return _0x22e1=function(_0x22e109,_0x272f7f){_0x22e109=_0x22e109-0x127;let _0x3583fc=_0x4d5ac8[_0x22e109];return _0x3583fc;},_0x22e1(_0x38ea72,_0x138ebe);}import{ContextPlugin as _0x4a849e,Context as _0x1fdf9f}from'ckeditor5/src/core.js';function _0x4d5a(){const _0x42a74b=['preventDefault','balloonPanelView','_annotationToNarrowView','getByView','222UHomDI','high','target','first','_domEmitter','resize','blur','has','mousedown','context','addEventListener','addAnnotation','_annotations','keydown','_manuallyClosedAnnotationViews','_destroyEditorAnnotationsIntegration','getOrderedSelectedAnnotations','NarrowSidebar','bind','view','annotationType','narrowSidebar','preventClosingBalloon','destroy','number','requires','keyCode','defaultPositions','1960148yNpflz','_refreshPositioningDebounced','annotations','activeAnnotation','removeEventListener','find','_editorAnnotations','3542sTkwIw','getSidebarItemView','get','listenTo','southArrowNorth','bodyCollection','isAttached','stopPropagation','southArrowNorthWest','ready','detachFromDom','isVisible','southArrowNorthEast','stop','10507041FtRcaU','clear','pin','_attachToContainer','refresh','add','locale','from','_setSelectedAnnotations','includes','attachToDom','northArrowSouthEast','1662895eedXPU','_attachListeners','6203sBiHAL','_showBalloon','EditorAnnotations','delete','hasDomSelection','ck-sidebar--narrow','plugins','_detachListeners','_hideBalloon','attach','content','editors','northArrowSouth','refreshPositioning','detach','rearrange','focus','northArrowSouthWest','init','stopListening','2367678WDHYzm','register','setActiveAnnotation','values','Esc','2086275CGYymx','_integrateWithEditorAnnotations','narrowsidebar-attach-already-attached','esc','contains','change:container','set:container','_selectedAnnotations','13976bZJfbm','cancel','type','uiUpdate','unpin','focusableElements','narrowsidebar-detach-not-attached','_refreshPositioning','_detachFromContainer','change:height','set','length','pluginName','_updateBalloonPosition','isDirty','element','low','remove','off','create','execute'];_0x4d5a=function(){return _0x42a74b;};return _0x4d5a();}import _0x47f9f3 from'./annotationsuis.js';import _0x2260df from'./sidebar.js';import _0x2f2d1d from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x306e06,BodyCollection as _0x9024f}from'ckeditor5/src/ui.js';import{CKEditorError as _0x36de4b,DomEmitterMixin as _0xe89c30,keyCodes as _0x57aadd,Collection as _0x5599e2}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x37dba3}from'lodash-es';import _0x1093de from'./editorannotations.js';export default class i extends _0x4a849e{static get[_0x142f51(0x154)](){return[_0x2260df,_0x47f9f3];}static get[_0x142f51(0x12e)](){const _0x1e8e6b=_0x142f51;return _0x1e8e6b(0x14c);}constructor(_0x4c0029){const _0x10c274=_0x142f51;super(_0x4c0029),this[_0x10c274(0x164)]=!0x1,this[_0x10c274(0x149)]=new Set(),this[_0x10c274(0x13f)]=Object[_0x10c274(0x135)](_0xe89c30),this[_0x10c274(0x139)]=new Map(),this[_0x10c274(0x12c)](_0x10c274(0x15a),null),this[_0x10c274(0x159)]=null,this[_0x10c274(0x19a)]=[],this[_0x10c274(0x15d)]=new _0x5599e2(),this[_0x10c274(0x158)]=_0x37dba3(()=>{const _0x443aa1=_0x10c274;this[_0x443aa1(0x129)]();},0xfa,{'leading':!0x1});}[_0x142f51(0x18c)](){const _0x363ed0=_0x142f51;this[_0x363ed0(0x144)][_0x363ed0(0x180)][_0x363ed0(0x160)](_0x47f9f3)[_0x363ed0(0x18f)](_0x363ed0(0x150),this),this[_0x363ed0(0x163)]=new _0x9024f(this[_0x363ed0(0x144)][_0x363ed0(0x172)]),this[_0x363ed0(0x138)]=new _0x306e06(this[_0x363ed0(0x144)][_0x363ed0(0x172)]),this[_0x363ed0(0x163)][_0x363ed0(0x176)](),this[_0x363ed0(0x163)][_0x363ed0(0x171)](this[_0x363ed0(0x138)]);}[_0x142f51(0x183)](_0x480c67){const _0x1d8d73=_0x142f51;this[_0x1d8d73(0x159)]=_0x480c67;const _0x30c1fe=this[_0x1d8d73(0x144)][_0x1d8d73(0x180)][_0x1d8d73(0x160)](_0x2260df),_0xcc21c2=this[_0x1d8d73(0x138)];if(_0x30c1fe[_0x1d8d73(0x147)]=_0x480c67,this[_0x1d8d73(0x164)])throw new _0x36de4b(_0x1d8d73(0x195),this);this[_0x1d8d73(0x164)]=!0x0,this[_0x1d8d73(0x161)](_0x30c1fe,_0x1d8d73(0x199),()=>{const _0xeedfe5=_0x1d8d73;this[_0xeedfe5(0x188)](),this[_0xeedfe5(0x161)](_0x30c1fe,_0xeedfe5(0x198),_0x3f2fae=>{const _0x3827d4=_0xeedfe5;_0x3f2fae[_0x3827d4(0x134)](),this[_0x3827d4(0x183)](_0x480c67);});}),_0x30c1fe[_0x1d8d73(0x16f)]({'viewClass':_0x1d8d73(0x17f),'spaceBetweenItems':0x5});const _0x4b051d=_0x705f56=>{const _0x51b3da=_0x1d8d73,_0x3a0fe3=new _0x2f2d1d(this[_0x51b3da(0x144)][_0x51b3da(0x172)]);_0x30c1fe[_0x51b3da(0x146)](_0x705f56,_0x3a0fe3),this[_0x51b3da(0x139)][_0x51b3da(0x12c)](_0x705f56,_0x3a0fe3),_0x3a0fe3[_0x51b3da(0x14d)](_0x51b3da(0x130),_0x51b3da(0x14f),_0x51b3da(0x153))['to'](_0x705f56[_0x51b3da(0x14e)],_0x51b3da(0x130),_0x51b3da(0x19d),_0x51b3da(0x12d)),_0x3a0fe3['on'](_0x51b3da(0x136),()=>{const _0x5a416b=_0x51b3da;this[_0x5a416b(0x149)][_0x5a416b(0x16d)](),_0xcc21c2[_0x5a416b(0x184)][_0x5a416b(0x13e)]!==_0x705f56[_0x5a416b(0x14e)]?(this[_0x5a416b(0x17b)](_0x705f56),_0x705f56[_0x5a416b(0x14e)][_0x5a416b(0x131)][_0x5a416b(0x18a)](),this[_0x5a416b(0x190)](_0x705f56)):this[_0x5a416b(0x190)](null);});};for(const _0x5cfe85 of _0x480c67)_0x4b051d(_0x5cfe85);this[_0x1d8d73(0x161)](_0x480c67,_0x1d8d73(0x171),(_0x4411b3,_0x55b1ff)=>{_0x4b051d(_0x55b1ff);}),this[_0x1d8d73(0x161)](_0x480c67,_0x1d8d73(0x133),(_0x14d49f,_0x543b1c,_0x4193ed)=>{const _0x576ae9=_0x1d8d73;this[_0x576ae9(0x139)][_0x576ae9(0x160)](_0x543b1c)[_0x576ae9(0x152)](),this[_0x576ae9(0x139)][_0x576ae9(0x17d)](_0x543b1c),_0x30c1fe[_0x576ae9(0x189)]({'removedAnnotation':_0x543b1c,'previousAnnotation':_0x480c67[_0x576ae9(0x160)](_0x4193ed-0x1),'nextAnnotation':_0x480c67[_0x576ae9(0x160)](_0x4193ed+0x1)}),_0x543b1c===this[_0x576ae9(0x15a)]&&this[_0x576ae9(0x190)](null);},{'priority':_0x1d8d73(0x132)}),this[_0x1d8d73(0x161)](_0x480c67,_0x1d8d73(0x18a),(_0x48b2c0,_0x1c084c)=>{const _0xcc2401=_0x1d8d73;this[_0xcc2401(0x190)](_0x1c084c);}),this[_0x1d8d73(0x161)](_0x480c67,_0x1d8d73(0x141),()=>{const _0x4dd416=_0x1d8d73;this[_0x4dd416(0x190)](null);}),this[_0x1d8d73(0x13f)][_0x1d8d73(0x161)](document,_0x1d8d73(0x148),(_0x754703,_0x372897)=>{const _0x1895b1=_0x1d8d73;_0x372897[_0x1895b1(0x155)]===_0x57aadd[_0x1895b1(0x196)]&&_0xcc21c2[_0x1895b1(0x169)]&&(this[_0x1895b1(0x149)][_0x1895b1(0x171)](_0xcc21c2[_0x1895b1(0x184)][_0x1895b1(0x13e)]),this[_0x1895b1(0x182)](),_0x372897[_0x1895b1(0x165)](),_0x372897[_0x1895b1(0x137)]());}),this[_0x1d8d73(0x13f)][_0x1d8d73(0x161)](document,_0x1d8d73(0x143),(_0x3d61e2,_0x42072d)=>{const _0x405b2b=_0x1d8d73,_0xcefe3f=_0x42072d[_0x405b2b(0x13d)];_0xcc21c2[_0x405b2b(0x169)]&&_0xcc21c2[_0x405b2b(0x131)][_0x405b2b(0x197)](_0xcefe3f)||_0x30c1fe[_0x405b2b(0x14e)][_0x405b2b(0x131)][_0x405b2b(0x197)](_0xcefe3f)||_0x3d61e2[_0x405b2b(0x151)]||this[_0x405b2b(0x15a)]&&this[_0x405b2b(0x15a)][_0x405b2b(0x127)][_0x405b2b(0x15c)](_0x1acffc=>_0x1acffc[_0x405b2b(0x197)](_0xcefe3f))||(this[_0x405b2b(0x149)][_0x405b2b(0x16d)](),this[_0x405b2b(0x182)](),this[_0x405b2b(0x190)](null));});const _0x5246ec=this[_0x1d8d73(0x144)]instanceof _0x1fdf9f?this[_0x1d8d73(0x144)][_0x1d8d73(0x185)]:new _0x5599e2([this[_0x1d8d73(0x144)]]);for(const _0x55a7aa of _0x5246ec)this[_0x1d8d73(0x194)](_0x55a7aa);this[_0x1d8d73(0x161)](_0x5246ec,_0x1d8d73(0x171),(_0x5f4520,_0x52c5a1)=>{const _0x4bae27=_0x1d8d73;this[_0x4bae27(0x161)](_0x52c5a1,_0x4bae27(0x167),()=>{const _0x2f0f81=_0x4bae27;this[_0x2f0f81(0x194)](_0x52c5a1);});}),this[_0x1d8d73(0x161)](_0x5246ec,_0x1d8d73(0x133),(_0x2e695e,_0x43b37a)=>{const _0x2b2f89=_0x1d8d73;_0x43b37a[_0x2b2f89(0x180)][_0x2b2f89(0x142)](_0x2b2f89(0x17c))&&this[_0x2b2f89(0x14a)](_0x43b37a[_0x2b2f89(0x180)][_0x2b2f89(0x160)](_0x2b2f89(0x17c)));}),window[_0x1d8d73(0x145)](_0x1d8d73(0x140),this[_0x1d8d73(0x158)]),this[_0x1d8d73(0x129)]();}[_0x142f51(0x190)](_0x42d5ce){const _0x2a3f74=_0x142f51;if(_0x42d5ce===this[_0x2a3f74(0x15a)])return;const _0x1ceb95=this[_0x2a3f74(0x144)][_0x2a3f74(0x180)][_0x2a3f74(0x160)](_0x2260df);if(_0x1ceb95[_0x2a3f74(0x170)]({'blurredAnnotation':this[_0x2a3f74(0x15a)],'activatedAnnotation':_0x42d5ce,'disableAnimationOnActivatedAnnotation':!0x0}),_0x42d5ce)_0x1ceb95[_0x2a3f74(0x15f)](_0x42d5ce)?this[_0x2a3f74(0x17b)](_0x42d5ce):this[_0x2a3f74(0x182)]();else this[_0x2a3f74(0x182)]();this[_0x2a3f74(0x15a)]=_0x42d5ce;}[_0x142f51(0x188)](){const _0x201e32=_0x142f51;if(!this[_0x201e32(0x164)])throw new _0x36de4b(_0x201e32(0x128),this);this[_0x201e32(0x190)](null);const _0x15199d=this[_0x201e32(0x144)][_0x201e32(0x180)][_0x201e32(0x160)](_0x2260df);this[_0x201e32(0x182)](),Array[_0x201e32(0x173)](this[_0x201e32(0x139)][_0x201e32(0x191)](),_0x5a3a27=>_0x5a3a27[_0x201e32(0x152)]()),this[_0x201e32(0x139)][_0x201e32(0x16d)](),_0x15199d[_0x201e32(0x12a)](this[_0x201e32(0x159)]),this[_0x201e32(0x18d)](),this[_0x201e32(0x13f)][_0x201e32(0x18d)](),this[_0x201e32(0x144)]instanceof _0x1fdf9f&&this[_0x201e32(0x18d)](this[_0x201e32(0x144)][_0x201e32(0x185)]);for(const _0x456a17 of Array[_0x201e32(0x173)](this[_0x201e32(0x15d)]))this[_0x201e32(0x14a)](_0x456a17);window[_0x201e32(0x15b)](_0x201e32(0x140),this[_0x201e32(0x158)]),this[_0x201e32(0x158)][_0x201e32(0x19c)](),this[_0x201e32(0x19a)]=[],this[_0x201e32(0x164)]=!0x1,this[_0x201e32(0x159)]=null;}[_0x142f51(0x152)](){const _0x2b705d=_0x142f51;this[_0x2b705d(0x164)]&&this[_0x2b705d(0x188)](),this[_0x2b705d(0x163)][_0x2b705d(0x168)]();}[_0x142f51(0x194)](_0x45b3cf){const _0x4609e5=_0x142f51,_0x141574=_0x45b3cf[_0x4609e5(0x180)][_0x4609e5(0x160)](_0x1093de),_0x4ac606=this[_0x4609e5(0x144)][_0x4609e5(0x180)][_0x4609e5(0x160)](_0x2260df),_0x52f5fc=this[_0x4609e5(0x159)],_0x2abf33=this[_0x4609e5(0x138)],_0xc5b40c=()=>{const _0x18b573=_0x4609e5,_0x255023=_0x141574[_0x18b573(0x14b)]({'annotations':this[_0x18b573(0x159)],'activeAnnotation':this[_0x18b573(0x15a)]});this[_0x18b573(0x174)](_0x255023),this[_0x18b573(0x190)](_0x255023[0x0]||null);};this[_0x4609e5(0x161)](_0x141574,_0x4609e5(0x170),_0xc5b40c),this[_0x4609e5(0x161)](_0x141574,_0x4609e5(0x141),(_0x26eeea,{isAnnotationTracked:_0x3b875c})=>{const _0x3edceb=_0x4609e5;this[_0x3edceb(0x15a)]&&_0x3b875c(this[_0x3edceb(0x15a)])&&(this[_0x3edceb(0x174)]([]),this[_0x3edceb(0x190)](null));}),this[_0x4609e5(0x161)](_0x141574,_0x4609e5(0x19e),()=>{const _0x6da18d=_0x4609e5;this[_0x6da18d(0x158)]();}),this[_0x4609e5(0x161)](_0x52f5fc,_0x4609e5(0x141),_0x846c9d=>{const _0x5e815b=_0x4609e5;_0x141574[_0x5e815b(0x17e)]()&&_0x846c9d[_0x5e815b(0x16b)]();},{'priority':_0x4609e5(0x13c)}),this[_0x4609e5(0x161)](this[_0x4609e5(0x13f)],_0x4609e5(0x143),(_0x6412bd,_0x507ef8)=>{const _0x5b1e04=_0x4609e5,_0xf3b23b=_0x507ef8[_0x5b1e04(0x13d)];_0x2abf33[_0x5b1e04(0x169)]&&_0x2abf33[_0x5b1e04(0x131)][_0x5b1e04(0x197)](_0xf3b23b)||_0x4ac606[_0x5b1e04(0x14e)][_0x5b1e04(0x131)][_0x5b1e04(0x197)](_0xf3b23b)||this[_0x5b1e04(0x15a)]&&_0x141574[_0x5b1e04(0x17e)]()&&(_0xc5b40c(),_0x6412bd[_0x5b1e04(0x151)]=!0x0);},{'priority':_0x4609e5(0x13c)}),this[_0x4609e5(0x15d)][_0x4609e5(0x171)](_0x141574);}[_0x142f51(0x14a)](_0xf51d94){const _0x134cb8=_0x142f51;_0xf51d94&&(this[_0x134cb8(0x18d)](_0xf51d94),this[_0x134cb8(0x15d)][_0x134cb8(0x133)](_0xf51d94));}[_0x142f51(0x174)](_0x153770){const _0x3103e8=_0x142f51;for(const _0x2c339a of this[_0x3103e8(0x19a)])_0x153770[_0x3103e8(0x175)](_0x2c339a)||this[_0x3103e8(0x149)][_0x3103e8(0x17d)](_0x2c339a[_0x3103e8(0x14e)]);this[_0x3103e8(0x19a)]=_0x153770;}[_0x142f51(0x129)](){const _0x284871=_0x142f51,_0x242e81=this[_0x284871(0x138)];this[_0x284871(0x159)][_0x284871(0x187)](),_0x242e81[_0x284871(0x169)]&&this[_0x284871(0x12f)]();}[_0x142f51(0x17b)](_0x3de574){const _0x38311b=_0x142f51;if(this[_0x38311b(0x149)][_0x38311b(0x142)](_0x3de574[_0x38311b(0x14e)]))return;const _0x3e1b61=this[_0x38311b(0x138)][_0x38311b(0x184)][_0x38311b(0x13e)];_0x3e1b61!==_0x3de574[_0x38311b(0x14e)]?(_0x3e1b61&&this[_0x38311b(0x181)](_0x3e1b61),this[_0x38311b(0x179)](_0x3de574[_0x38311b(0x14e)]),this[_0x38311b(0x138)][_0x38311b(0x184)][_0x38311b(0x16d)](),this[_0x38311b(0x138)][_0x38311b(0x184)][_0x38311b(0x171)](_0x3de574[_0x38311b(0x14e)]),this[_0x38311b(0x12f)]()):this[_0x38311b(0x12f)]();}[_0x142f51(0x12f)](){const _0x8fd613=_0x142f51,_0x49dca5=this[_0x8fd613(0x138)][_0x8fd613(0x184)][_0x8fd613(0x13e)],_0x54e237=_0x49dca5&&this[_0x8fd613(0x159)][_0x8fd613(0x13a)](_0x49dca5);if(!_0x54e237||!this[_0x8fd613(0x139)][_0x8fd613(0x142)](_0x54e237))return;const _0x9bad8f=this[_0x8fd613(0x139)][_0x8fd613(0x160)](_0x54e237)[_0x8fd613(0x131)],_0x4ae45f=(function(){const _0x868997=_0x8fd613,_0x244566=_0x306e06[_0x868997(0x156)];return[_0x244566[_0x868997(0x16a)],_0x244566[_0x868997(0x177)],_0x244566[_0x868997(0x162)],_0x244566[_0x868997(0x186)],_0x244566[_0x868997(0x166)],_0x244566[_0x868997(0x18b)]];}());this[_0x8fd613(0x138)][_0x8fd613(0x16e)]({'target':_0x9bad8f,'positions':_0x4ae45f});}[_0x142f51(0x182)](){const _0x2c4c26=_0x142f51,_0x3bf3dd=this[_0x2c4c26(0x138)],_0xa07dea=_0x3bf3dd[_0x2c4c26(0x184)][_0x2c4c26(0x13e)];_0xa07dea&&(this[_0x2c4c26(0x181)](_0xa07dea),_0x3bf3dd[_0x2c4c26(0x19f)](),_0x3bf3dd[_0x2c4c26(0x184)][_0x2c4c26(0x16d)]());}[_0x142f51(0x179)](_0x8c6ad8){const _0x329b00=_0x142f51;this[_0x329b00(0x161)](_0x8c6ad8,_0x329b00(0x12b),()=>this[_0x329b00(0x12f)]()),this[_0x329b00(0x161)](_0x8c6ad8,_0x329b00(0x192),(_0x2c98ac,_0x350a4e)=>{const _0x165757=_0x329b00;this[_0x165757(0x149)][_0x165757(0x171)](_0x8c6ad8),this[_0x165757(0x182)](),_0x350a4e();});}[_0x142f51(0x181)](_0x1cc084){const _0x141660=_0x142f51;this[_0x141660(0x18d)](_0x1cc084);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x45dd1a=_0x5ec7;(function(_0x3c9777,_0x25e890){const _0x457cbf=_0x5ec7,_0x228c88=_0x3c9777();while(!![]){try{const _0x82e6fe=parseInt(_0x457cbf(0x19e))/0x1+parseInt(_0x457cbf(0x169))/0x2+parseInt(_0x457cbf(0x189))/0x3*(parseInt(_0x457cbf(0x175))/0x4)+parseInt(_0x457cbf(0x179))/0x5*(-parseInt(_0x457cbf(0x1a0))/0x6)+-parseInt(_0x457cbf(0x167))/0x7*(-parseInt(_0x457cbf(0x1ba))/0x8)+parseInt(_0x457cbf(0x196))/0x9+parseInt(_0x457cbf(0x16e))/0xa*(-parseInt(_0x457cbf(0x165))/0xb);if(_0x82e6fe===_0x25e890)break;else _0x228c88['push'](_0x228c88['shift']());}catch(_0x5f5501){_0x228c88['push'](_0x228c88['shift']());}}}(_0x5506,0xd1146));import{ContextPlugin as _0x4f01f8}from'ckeditor5/src/core.js';import{Rect as _0x130e5b,CKEditorError as _0x28c68c}from'ckeditor5/src/utils.js';function _0x5ec7(_0x186308,_0x20a7f3){const _0x550632=_0x5506();return _0x5ec7=function(_0x5ec7ce,_0x45b0a9){_0x5ec7ce=_0x5ec7ce-0x164;let _0xd11b7b=_0x550632[_0x5ec7ce];return _0xd11b7b;},_0x5ec7(_0x186308,_0x20a7f3);}import _0x1ff289 from'./view/sidebarview.js';import _0x29398f from'./view/sidebaritemview.js';export default class z extends _0x4f01f8{static get[_0x45dd1a(0x1b5)](){const _0x52eb04=_0x45dd1a;return _0x52eb04(0x199);}constructor(_0x52ca3c){const _0x45c9dc=_0x45dd1a;super(_0x52ca3c),this[_0x45c9dc(0x1ab)](_0x45c9dc(0x19b),void 0x0),this[_0x45c9dc(0x1a6)]=this[_0x45c9dc(0x17e)](),this[_0x45c9dc(0x1ab)](_0x45c9dc(0x186),null),this[_0x45c9dc(0x178)]=0x19,this[_0x45c9dc(0x182)]=new Map(),this[_0x45c9dc(0x16a)]=new Map(),this[_0x45c9dc(0x1bc)][_0x45c9dc(0x16b)][_0x45c9dc(0x1a2)](_0x45c9dc(0x1ad),!0x1),this[_0x45c9dc(0x177)]=null,this[_0x45c9dc(0x1bb)]=null,this[_0x45c9dc(0x188)]=[];}[_0x45dd1a(0x17f)](){const _0x42d461=_0x45dd1a,_0x20b3a7=this[_0x42d461(0x1bc)][_0x42d461(0x16b)][_0x42d461(0x1af)](_0x42d461(0x1b1));_0x20b3a7&&this[_0x42d461(0x164)](_0x20b3a7);}[_0x45dd1a(0x164)](_0x889b5){const _0x52ed5e=_0x45dd1a;if(!y(_0x889b5))throw new _0x28c68c(_0x52ed5e(0x1b9));this[_0x52ed5e(0x186)]=_0x889b5;}[_0x45dd1a(0x19c)]({viewClass:_0x3884b5='',spaceBetweenItems:_0x84fb95=0x19}={}){const _0x4c4e39=_0x45dd1a;if(!y(this[_0x4c4e39(0x186)]))throw new _0x28c68c(_0x4c4e39(0x18f),this);this[_0x4c4e39(0x186)][_0x4c4e39(0x1ae)](this[_0x4c4e39(0x1a6)][_0x4c4e39(0x170)]),this[_0x4c4e39(0x1a6)][_0x4c4e39(0x19d)]=_0x3884b5,this[_0x4c4e39(0x178)]=_0x84fb95;}[_0x45dd1a(0x183)]({removedAnnotation:_0x26727f,previousAnnotation:_0x2be17d,nextAnnotation:_0x35cd3a}){const _0x3a7a46=_0x45dd1a,_0x17af4d=this[_0x3a7a46(0x181)](_0x26727f);this[_0x3a7a46(0x1a6)][_0x3a7a46(0x194)][_0x3a7a46(0x18d)](_0x17af4d),this[_0x3a7a46(0x1a5)](_0x26727f),_0x2be17d&&this[_0x3a7a46(0x193)](this[_0x3a7a46(0x181)](_0x2be17d)),_0x35cd3a&&this[_0x3a7a46(0x193)](this[_0x3a7a46(0x181)](_0x35cd3a)),this[_0x3a7a46(0x198)]();}[_0x45dd1a(0x174)]({blurredAnnotation:_0x23b981,activatedAnnotation:_0x17a8ba,disableAnimationOnActivatedAnnotation:_0x2c9183}){const _0x3676e4=_0x45dd1a;if(this[_0x3676e4(0x1bb)]=_0x17a8ba,_0x23b981){_0x23b981[_0x3676e4(0x18b)]=!0x1;const _0x12e68a=this[_0x3676e4(0x181)](_0x23b981);_0x12e68a&&_0x2c9183&&(_0x12e68a[_0x3676e4(0x172)]=!0x1);}if(_0x17a8ba){const _0x2e7272=this[_0x3676e4(0x181)](_0x17a8ba);_0x2e7272&&(_0x17a8ba[_0x3676e4(0x18b)]=!0x0,_0x2c9183&&(_0x2e7272[_0x3676e4(0x172)]=!0x0,_0x2e7272[_0x3676e4(0x1b0)]+=0x1),this[_0x3676e4(0x193)](_0x2e7272));}}[_0x45dd1a(0x1a4)](_0x462875){const _0x45518f=_0x45dd1a;if(this[_0x45518f(0x1a6)][_0x45518f(0x170)][_0x45518f(0x18d)](),_0x462875){for(const _0x57fe99 of _0x462875)this[_0x45518f(0x1a5)](_0x57fe99);}this[_0x45518f(0x1a6)][_0x45518f(0x194)][_0x45518f(0x1bd)](),this[_0x45518f(0x1a6)][_0x45518f(0x19d)]='',this[_0x45518f(0x19b)]=null;}[_0x45dd1a(0x16c)](_0x4ae083,_0x5ea739){const _0x839ab0=_0x45dd1a;_0x5ea739||(_0x5ea739=_0x4ae083[_0x839ab0(0x1a6)]);const _0x7250ec=new _0x29398f(this[_0x839ab0(0x1bc)][_0x839ab0(0x166)]);this[_0x839ab0(0x182)][_0x839ab0(0x1ab)](_0x7250ec,_0x4ae083),this[_0x839ab0(0x16a)][_0x839ab0(0x1ab)](_0x4ae083,_0x7250ec),_0x7250ec[_0x839ab0(0x1a3)][_0x839ab0(0x1b6)](_0x5ea739),this[_0x839ab0(0x1b2)](_0x4ae083[_0x839ab0(0x1a6)],_0x839ab0(0x187),(_0x74a7ad,_0x7c938c,_0x580f73)=>{const _0x3d71a4=_0x839ab0,_0x4356a2=this[_0x3d71a4(0x1aa)](_0x4ae083,_0x580f73);_0x7250ec[_0x3d71a4(0x192)]!=_0x4356a2&&(_0x7250ec[_0x3d71a4(0x192)]=_0x4356a2,this[_0x3d71a4(0x17d)](_0x7250ec,_0x4356a2));}),this[_0x839ab0(0x1b2)](_0x7250ec,_0x839ab0(0x173),()=>{const _0x42ca1a=_0x839ab0;this[_0x42ca1a(0x1a1)](_0x7250ec,_0x42ca1a(0x1b0));}),this[_0x839ab0(0x1b2)](_0x7250ec,_0x839ab0(0x171),()=>{const _0x141f9d=_0x839ab0;this[_0x141f9d(0x1a1)](_0x7250ec,_0x141f9d(0x18c));}),this[_0x839ab0(0x193)](_0x7250ec);const _0x5673e1=this[_0x839ab0(0x1b8)](_0x7250ec);if(_0x5673e1)this[_0x839ab0(0x1a8)](_0x5673e1,_0x7250ec)||this[_0x839ab0(0x193)](_0x7250ec);else this[_0x839ab0(0x193)](_0x7250ec);return this[_0x839ab0(0x198)](),this[_0x839ab0(0x1a6)][_0x839ab0(0x194)][_0x839ab0(0x1b6)](_0x7250ec),_0x7250ec;}[_0x45dd1a(0x1a9)](_0x5a24b1){const _0xd973fc=_0x45dd1a;if(!_0x5a24b1[_0xd973fc(0x1a3)][_0xd973fc(0x185)])return;const _0x286ff8=this[_0xd973fc(0x1b8)](_0x5a24b1);if(!_0x286ff8)return;const _0x305495=this[_0xd973fc(0x182)][_0xd973fc(0x1af)](_0x286ff8),_0x2d2739=this[_0xd973fc(0x1bb)];_0x2d2739&&_0x2d2739===_0x305495?this[_0xd973fc(0x1a8)](_0x286ff8,_0x5a24b1):this[_0xd973fc(0x17b)](_0x5a24b1,_0x286ff8);}[_0x45dd1a(0x16d)](_0x4aef1c){const _0x6d0b68=_0x45dd1a;if(!_0x4aef1c[_0x6d0b68(0x1a3)][_0x6d0b68(0x185)])return;const _0x45bd75=this[_0x6d0b68(0x18e)](_0x4aef1c);if(!_0x45bd75)return;const _0x410438=this[_0x6d0b68(0x182)][_0x6d0b68(0x1af)](_0x45bd75),_0x5d5391=this[_0x6d0b68(0x1bc)][_0x6d0b68(0x16b)][_0x6d0b68(0x1af)](_0x6d0b68(0x1ad)),_0x4327b2=this[_0x6d0b68(0x1bb)];_0x4327b2&&_0x4327b2===_0x410438&&_0x5d5391?(this[_0x6d0b68(0x17b)](_0x45bd75,_0x4aef1c),this[_0x6d0b68(0x1a8)](_0x4aef1c,_0x45bd75)):_0x4327b2&&_0x4327b2===_0x410438?this[_0x6d0b68(0x17b)](_0x45bd75,_0x4aef1c):this[_0x6d0b68(0x1a8)](_0x4aef1c,_0x45bd75);}[_0x45dd1a(0x1a1)](_0x4140cb,_0x31ca76){const _0x66bf5b=_0x45dd1a;0x0===this[_0x66bf5b(0x188)][_0x66bf5b(0x185)]&&setTimeout(()=>{const _0x5b09a7=_0x66bf5b;for(const {sidebarItemView:_0x3b7009,changedProp:_0xec875}of this[_0x5b09a7(0x188)])_0x5b09a7(0x1b0)===_0xec875?this[_0x5b09a7(0x1a9)](_0x3b7009):this[_0x5b09a7(0x16d)](_0x3b7009);this[_0x5b09a7(0x188)]=[];},0xa),this[_0x66bf5b(0x188)][_0x66bf5b(0x180)]({'sidebarItemView':_0x4140cb,'changedProp':_0x31ca76});}[_0x45dd1a(0x181)](_0xcf9e0d){const _0x369358=_0x45dd1a;return this[_0x369358(0x16a)][_0x369358(0x1af)](_0xcf9e0d);}[_0x45dd1a(0x18a)](){const _0x16e42a=_0x45dd1a;this[_0x16e42a(0x1a7)](),this[_0x16e42a(0x1a6)][_0x16e42a(0x18a)]();}[_0x45dd1a(0x1a5)](_0x20e706){const _0x1ef985=_0x45dd1a,_0x12a0ce=this[_0x1ef985(0x181)](_0x20e706);this[_0x1ef985(0x1a7)](_0x12a0ce),this[_0x1ef985(0x1a7)](_0x20e706[_0x1ef985(0x1a6)]),_0x12a0ce[_0x1ef985(0x18a)](),this[_0x1ef985(0x16a)][_0x1ef985(0x1b4)](_0x20e706),this[_0x1ef985(0x182)][_0x1ef985(0x1b4)](_0x12a0ce);}[_0x45dd1a(0x17e)](){const _0x35dbce=_0x45dd1a,_0x5eeb32=new _0x1ff289(this[_0x35dbce(0x1bc)][_0x35dbce(0x166)]);return _0x5eeb32[_0x35dbce(0x17c)](),this['on'](_0x35dbce(0x176),(_0x58fc7b,_0x4ba73b,_0x19c253,_0x5c6d8e)=>{const _0xb2d9d5=_0x35dbce;_0x5c6d8e&&_0x5eeb32[_0xb2d9d5(0x1ac)](_0xb2d9d5(0x190)),_0x19c253?_0x5eeb32[_0xb2d9d5(0x197)](_0xb2d9d5(0x190))['to'](_0x19c253,_0xb2d9d5(0x18c)):_0x5eeb32[_0xb2d9d5(0x190)]=null;}),_0x5eeb32;}[_0x45dd1a(0x198)](){const _0x57c3ef=_0x45dd1a;var _0x339445;this[_0x57c3ef(0x19b)]=(null===(_0x339445=this[_0x57c3ef(0x177)])||void 0x0===_0x339445?void 0x0:_0x339445[_0x57c3ef(0x195)])?this[_0x57c3ef(0x181)](this[_0x57c3ef(0x177)][_0x57c3ef(0x195)]):null;}[_0x45dd1a(0x1b8)](_0x486f6c){const _0x52557b=_0x45dd1a;var _0x345e9b;const _0x22f024=this[_0x52557b(0x182)][_0x52557b(0x1af)](_0x486f6c),_0x2375eb=_0x22f024&&(null===(_0x345e9b=this[_0x52557b(0x177)])||void 0x0===_0x345e9b?void 0x0:_0x345e9b[_0x52557b(0x1af)](this[_0x52557b(0x177)][_0x52557b(0x191)](_0x22f024)-0x1));return _0x2375eb&&this[_0x52557b(0x181)](_0x2375eb)||null;}[_0x45dd1a(0x18e)](_0x3c10b2){const _0x288147=_0x45dd1a;var _0x13ff0a;const _0x3c776d=this[_0x288147(0x182)][_0x288147(0x1af)](_0x3c10b2),_0x332f1a=_0x3c776d&&(null===(_0x13ff0a=this[_0x288147(0x177)])||void 0x0===_0x13ff0a?void 0x0:_0x13ff0a[_0x288147(0x1af)](this[_0x288147(0x177)][_0x288147(0x191)](_0x3c776d)+0x1));return _0x332f1a&&this[_0x288147(0x181)](_0x332f1a)||null;}[_0x45dd1a(0x17b)](_0x3d1e90,_0x17c6d9){const _0x5f33d9=_0x45dd1a;_0x3d1e90[_0x5f33d9(0x19a)]();const _0x4c6bb0=M(_0x17c6d9[_0x5f33d9(0x18c)]+this[_0x5f33d9(0x178)],_0x3d1e90[_0x5f33d9(0x1b0)]);return!!_0x4c6bb0&&(this[_0x5f33d9(0x17d)](_0x17c6d9,_0x17c6d9[_0x5f33d9(0x1b0)]-_0x4c6bb0),!0x0);}[_0x45dd1a(0x1a8)](_0x222e07,_0x2f3679){const _0x169e24=_0x45dd1a;_0x222e07[_0x169e24(0x19a)]();const _0x44c9d8=M(_0x222e07[_0x169e24(0x18c)]+this[_0x169e24(0x178)],_0x2f3679[_0x169e24(0x1b0)]);return!!_0x44c9d8&&(this[_0x169e24(0x17d)](_0x2f3679,_0x2f3679[_0x169e24(0x1b0)]+_0x44c9d8,!0x1),!0x0);}[_0x45dd1a(0x193)](_0x59d50f){const _0x55882a=_0x45dd1a,_0x415aa6=this[_0x55882a(0x182)][_0x55882a(0x1af)](_0x59d50f);if(!_0x415aa6||!_0x415aa6[_0x55882a(0x17a)]||!_0x415aa6[_0x55882a(0x16f)])return;const _0x1f6c97=this[_0x55882a(0x1aa)](_0x415aa6,_0x415aa6[_0x55882a(0x16f)]);this[_0x55882a(0x17d)](_0x59d50f,_0x1f6c97);}[_0x45dd1a(0x1aa)](_0x484a4b,_0x1acd5c){const _0x5bb4ea=_0x45dd1a;if(null===_0x1acd5c)return 0x0;if(_0x484a4b[_0x5bb4ea(0x17a)]instanceof _0x130e5b)return _0x1acd5c[_0x5bb4ea(0x1b0)];{const _0x2838ea=new _0x130e5b(this[_0x5bb4ea(0x1a6)][_0x5bb4ea(0x170)])[_0x5bb4ea(0x1b0)];return _0x1acd5c[_0x5bb4ea(0x1b0)]-_0x2838ea;}}[_0x45dd1a(0x17d)](_0x5c6e1a,_0x4a4ccf,_0x65757f=this[_0x45dd1a(0x1bc)][_0x45dd1a(0x16b)][_0x45dd1a(0x1af)](_0x45dd1a(0x1ad))){const _0x28c482=_0x45dd1a;_0x65757f&&(_0x4a4ccf=Math[_0x28c482(0x168)](_0x4a4ccf,this[_0x28c482(0x184)](_0x5c6e1a))),_0x5c6e1a[_0x28c482(0x1b0)]=_0x4a4ccf;}[_0x45dd1a(0x184)](_0x5cbf4e){const _0x137543=_0x45dd1a;let _0x4bda6a=this[_0x137543(0x1b8)](_0x5cbf4e),_0xc9acff=0x0;for(;_0x4bda6a;)_0x4bda6a[_0x137543(0x19a)](),_0xc9acff+=this[_0x137543(0x178)]+_0x4bda6a[_0x137543(0x1b3)],_0x4bda6a=this[_0x137543(0x1b8)](_0x4bda6a);return _0xc9acff;}}function _0x5506(){const _0x1bf657=['_sidebarItemViewToAnnotation','rearrange','_getMaxAvailableTop','length','container','change:targetRect','_recalculateBuffer','4948050yyUyIM','destroy','isActive','bottom','remove','_getItemAfter','sidebar-attachtocontainer-missing-container','minHeight','getIndex','_targetTop','_alignToTargetRect','list','last','10881729NBTTLS','bind','_updateLastItem','Sidebar','updateHeight','_lastItem','_attachToContainer','class','1242753sFQZxZ','object','17826RAzuCN','_recalculate','define','content','_detachFromContainer','_destroySidebarItemView','view','stopListening','_alignAfterItem','_alignForTopChange','_getTargetTop','set','unbind','sidebar.preventScrollOutOfView','appendChild','get','top','sidebar.container','listenTo','height','delete','pluginName','add','nodeType','_getItemBefore','sidebar-setcontainer-invalid-element','8EaDzhN','_activeAnnotation','context','clear','setContainer','11TTZDzh','locale','11304139iLAJcv','max','3015166MWZcgu','_annotationToSidebarItemView','config','addAnnotation','_alignForBottomChange','52590710MNJveW','targetRect','element','change:bottom','isAnimationDisabled','change:top','refresh','4gfIvDZ','change:_lastItem','_annotations','_spaceBetweenItems','1865VCgNph','target','_alignBeforeItem','render','_setItemTop','_createSidebarView','init','push','getSidebarItemView'];_0x5506=function(){return _0x1bf657;};return _0x5506();}function M(_0x797a0e,_0x1bc6c1){const _0xb27362=_0x45dd1a;return Math[_0xb27362(0x168)](_0x797a0e-_0x1bc6c1,0x0);}function y(_0x1d4218){const _0x28f156=_0x45dd1a;return null!==_0x1d4218&&_0x28f156(0x19f)==typeof _0x1d4218&&0x1===_0x1d4218[_0x28f156(0x1b7)];}
|
|
23
|
+
function _0x2293(){const _0x32cf15=['get','bottom','add','locale','_spaceBetweenItems','height','view','35FdKKAL','define','clear','442812ULQVss','rearrange','container','sidebar.preventScrollOutOfView','4675690LoHkQN','context','push','_alignBeforeItem','list','remove','pluginName','class','_targetTop','_recalculate','change:bottom','_destroySidebarItemView','_alignToTargetRect','refresh','_lastItem','2123112eiMptF','_setItemTop','change:top','_getItemBefore','22765uGPEuw','_getItemAfter','_activeAnnotation','delete','_alignAfterItem','render','1047FkRoeC','760KzxgHn','getIndex','set','max','length','Sidebar','sidebar-attachtocontainer-missing-container','18cFvSPa','appendChild','isAnimationDisabled','change:targetRect','600oiXiRh','1479569ajvnBr','updateHeight','config','addAnnotation','element','change:_lastItem','bind','isActive','_attachToContainer','_recalculateBuffer','_detachFromContainer','_updateLastItem','sidebar.container','sidebar-setcontainer-invalid-element','object','_annotationToSidebarItemView','stopListening','_getTargetTop','_createSidebarView','_annotations','unbind','11gaiKOQ','listenTo','nodeType','getSidebarItemView','minHeight','destroy','25713YmOJfj','_sidebarItemViewToAnnotation','targetRect','last','target','init','_getMaxAvailableTop','_alignForTopChange','setContainer','top','content','_alignForBottomChange'];_0x2293=function(){return _0x32cf15;};return _0x2293();}const _0x492810=_0x7df5;(function(_0x449d2f,_0x350648){const _0x9996b8=_0x7df5,_0x2a0d66=_0x449d2f();while(!![]){try{const _0x4fddea=parseInt(_0x9996b8(0x161))/0x1+parseInt(_0x9996b8(0x168))/0x2*(parseInt(_0x9996b8(0x167))/0x3)+parseInt(_0x9996b8(0x14a))/0x4*(-parseInt(_0x9996b8(0x147))/0x5)+parseInt(_0x9996b8(0x114))/0x6*(parseInt(_0x9996b8(0x119))/0x7)+parseInt(_0x9996b8(0x118))/0x8*(-parseInt(_0x9996b8(0x134))/0x9)+parseInt(_0x9996b8(0x14e))/0xa+-parseInt(_0x9996b8(0x12e))/0xb*(-parseInt(_0x9996b8(0x15d))/0xc);if(_0x4fddea===_0x350648)break;else _0x2a0d66['push'](_0x2a0d66['shift']());}catch(_0x94c1a5){_0x2a0d66['push'](_0x2a0d66['shift']());}}}(_0x2293,0x6c971));import{ContextPlugin as _0x1d3859}from'ckeditor5/src/core.js';import{Rect as _0x192841,CKEditorError as _0x29e55c}from'ckeditor5/src/utils.js';function _0x7df5(_0x19e403,_0x4d99c8){const _0x2293c2=_0x2293();return _0x7df5=function(_0x7df5e8,_0x1e36a8){_0x7df5e8=_0x7df5e8-0x10f;let _0x46bea3=_0x2293c2[_0x7df5e8];return _0x46bea3;},_0x7df5(_0x19e403,_0x4d99c8);}import _0x1e3322 from'./view/sidebarview.js';import _0x586cdd from'./view/sidebaritemview.js';export default class z extends _0x1d3859{static get[_0x492810(0x154)](){const _0x50725e=_0x492810;return _0x50725e(0x112);}constructor(_0xb99903){const _0x208ff9=_0x492810;super(_0xb99903),this[_0x208ff9(0x10f)](_0x208ff9(0x15c),void 0x0),this[_0x208ff9(0x146)]=this[_0x208ff9(0x12b)](),this[_0x208ff9(0x10f)](_0x208ff9(0x14c),null),this[_0x208ff9(0x144)]=0x19,this[_0x208ff9(0x135)]=new Map(),this[_0x208ff9(0x128)]=new Map(),this[_0x208ff9(0x14f)][_0x208ff9(0x11b)][_0x208ff9(0x148)](_0x208ff9(0x14d),!0x1),this[_0x208ff9(0x12c)]=null,this[_0x208ff9(0x163)]=null,this[_0x208ff9(0x122)]=[];}[_0x492810(0x139)](){const _0xe681f4=_0x492810,_0x423c5d=this[_0xe681f4(0x14f)][_0xe681f4(0x11b)][_0xe681f4(0x140)](_0xe681f4(0x125));_0x423c5d&&this[_0xe681f4(0x13c)](_0x423c5d);}[_0x492810(0x13c)](_0x98d958){const _0xa76094=_0x492810;if(!y(_0x98d958))throw new _0x29e55c(_0xa76094(0x126));this[_0xa76094(0x14c)]=_0x98d958;}[_0x492810(0x121)]({viewClass:_0x217ea3='',spaceBetweenItems:_0x48b06d=0x19}={}){const _0x30679c=_0x492810;if(!y(this[_0x30679c(0x14c)]))throw new _0x29e55c(_0x30679c(0x113),this);this[_0x30679c(0x14c)][_0x30679c(0x115)](this[_0x30679c(0x146)][_0x30679c(0x11d)]),this[_0x30679c(0x146)][_0x30679c(0x155)]=_0x217ea3,this[_0x30679c(0x144)]=_0x48b06d;}[_0x492810(0x14b)]({removedAnnotation:_0x905c17,previousAnnotation:_0x2e0297,nextAnnotation:_0x137c28}){const _0x54730e=_0x492810,_0x407325=this[_0x54730e(0x131)](_0x905c17);this[_0x54730e(0x146)][_0x54730e(0x152)][_0x54730e(0x153)](_0x407325),this[_0x54730e(0x159)](_0x905c17),_0x2e0297&&this[_0x54730e(0x15a)](this[_0x54730e(0x131)](_0x2e0297)),_0x137c28&&this[_0x54730e(0x15a)](this[_0x54730e(0x131)](_0x137c28)),this[_0x54730e(0x124)]();}[_0x492810(0x15b)]({blurredAnnotation:_0x30aa56,activatedAnnotation:_0x8b628f,disableAnimationOnActivatedAnnotation:_0x5676ac}){const _0x43aa06=_0x492810;if(this[_0x43aa06(0x163)]=_0x8b628f,_0x30aa56){_0x30aa56[_0x43aa06(0x120)]=!0x1;const _0x52cc40=this[_0x43aa06(0x131)](_0x30aa56);_0x52cc40&&_0x5676ac&&(_0x52cc40[_0x43aa06(0x116)]=!0x1);}if(_0x8b628f){const _0x14e32c=this[_0x43aa06(0x131)](_0x8b628f);_0x14e32c&&(_0x8b628f[_0x43aa06(0x120)]=!0x0,_0x5676ac&&(_0x14e32c[_0x43aa06(0x116)]=!0x0,_0x14e32c[_0x43aa06(0x13d)]+=0x1),this[_0x43aa06(0x15a)](_0x14e32c));}}[_0x492810(0x123)](_0xfd5f67){const _0x26fd9a=_0x492810;if(this[_0x26fd9a(0x146)][_0x26fd9a(0x11d)][_0x26fd9a(0x153)](),_0xfd5f67){for(const _0x4b0cbb of _0xfd5f67)this[_0x26fd9a(0x159)](_0x4b0cbb);}this[_0x26fd9a(0x146)][_0x26fd9a(0x152)][_0x26fd9a(0x149)](),this[_0x26fd9a(0x146)][_0x26fd9a(0x155)]='',this[_0x26fd9a(0x15c)]=null;}[_0x492810(0x11c)](_0xcbf49f,_0x36e0cb){const _0x9acb54=_0x492810;_0x36e0cb||(_0x36e0cb=_0xcbf49f[_0x9acb54(0x146)]);const _0x5dc5f8=new _0x586cdd(this[_0x9acb54(0x14f)][_0x9acb54(0x143)]);this[_0x9acb54(0x135)][_0x9acb54(0x10f)](_0x5dc5f8,_0xcbf49f),this[_0x9acb54(0x128)][_0x9acb54(0x10f)](_0xcbf49f,_0x5dc5f8),_0x5dc5f8[_0x9acb54(0x13e)][_0x9acb54(0x142)](_0x36e0cb),this[_0x9acb54(0x12f)](_0xcbf49f[_0x9acb54(0x146)],_0x9acb54(0x117),(_0x3e51c8,_0xff34f9,_0x2192b2)=>{const _0x15146e=_0x9acb54,_0x41511a=this[_0x15146e(0x12a)](_0xcbf49f,_0x2192b2);_0x5dc5f8[_0x15146e(0x156)]!=_0x41511a&&(_0x5dc5f8[_0x15146e(0x156)]=_0x41511a,this[_0x15146e(0x15e)](_0x5dc5f8,_0x41511a));}),this[_0x9acb54(0x12f)](_0x5dc5f8,_0x9acb54(0x15f),()=>{const _0x318eb5=_0x9acb54;this[_0x318eb5(0x157)](_0x5dc5f8,_0x318eb5(0x13d));}),this[_0x9acb54(0x12f)](_0x5dc5f8,_0x9acb54(0x158),()=>{const _0x3a834a=_0x9acb54;this[_0x3a834a(0x157)](_0x5dc5f8,_0x3a834a(0x141));}),this[_0x9acb54(0x15a)](_0x5dc5f8);const _0x50248b=this[_0x9acb54(0x160)](_0x5dc5f8);if(_0x50248b)this[_0x9acb54(0x165)](_0x50248b,_0x5dc5f8)||this[_0x9acb54(0x15a)](_0x5dc5f8);else this[_0x9acb54(0x15a)](_0x5dc5f8);return this[_0x9acb54(0x124)](),this[_0x9acb54(0x146)][_0x9acb54(0x152)][_0x9acb54(0x142)](_0x5dc5f8),_0x5dc5f8;}[_0x492810(0x13b)](_0x35cdb4){const _0xca92f=_0x492810;if(!_0x35cdb4[_0xca92f(0x13e)][_0xca92f(0x111)])return;const _0x33265b=this[_0xca92f(0x160)](_0x35cdb4);if(!_0x33265b)return;const _0x3c03ec=this[_0xca92f(0x135)][_0xca92f(0x140)](_0x33265b),_0x37771b=this[_0xca92f(0x163)];_0x37771b&&_0x37771b===_0x3c03ec?this[_0xca92f(0x165)](_0x33265b,_0x35cdb4):this[_0xca92f(0x151)](_0x35cdb4,_0x33265b);}[_0x492810(0x13f)](_0x40955f){const _0x5a778d=_0x492810;if(!_0x40955f[_0x5a778d(0x13e)][_0x5a778d(0x111)])return;const _0x359a45=this[_0x5a778d(0x162)](_0x40955f);if(!_0x359a45)return;const _0x5cc71a=this[_0x5a778d(0x135)][_0x5a778d(0x140)](_0x359a45),_0x5e265d=this[_0x5a778d(0x14f)][_0x5a778d(0x11b)][_0x5a778d(0x140)](_0x5a778d(0x14d)),_0x306a1e=this[_0x5a778d(0x163)];_0x306a1e&&_0x306a1e===_0x5cc71a&&_0x5e265d?(this[_0x5a778d(0x151)](_0x359a45,_0x40955f),this[_0x5a778d(0x165)](_0x40955f,_0x359a45)):_0x306a1e&&_0x306a1e===_0x5cc71a?this[_0x5a778d(0x151)](_0x359a45,_0x40955f):this[_0x5a778d(0x165)](_0x40955f,_0x359a45);}[_0x492810(0x157)](_0x3cce77,_0x3e9d93){const _0x172437=_0x492810;0x0===this[_0x172437(0x122)][_0x172437(0x111)]&&setTimeout(()=>{const _0x2f656d=_0x172437;for(const {sidebarItemView:_0x1c6bf9,changedProp:_0x1c04d1}of this[_0x2f656d(0x122)])_0x2f656d(0x13d)===_0x1c04d1?this[_0x2f656d(0x13b)](_0x1c6bf9):this[_0x2f656d(0x13f)](_0x1c6bf9);this[_0x2f656d(0x122)]=[];},0xa),this[_0x172437(0x122)][_0x172437(0x150)]({'sidebarItemView':_0x3cce77,'changedProp':_0x3e9d93});}[_0x492810(0x131)](_0x3fd1d0){const _0x5a05c0=_0x492810;return this[_0x5a05c0(0x128)][_0x5a05c0(0x140)](_0x3fd1d0);}[_0x492810(0x133)](){const _0x30b7b3=_0x492810;this[_0x30b7b3(0x129)](),this[_0x30b7b3(0x146)][_0x30b7b3(0x133)]();}[_0x492810(0x159)](_0x1200bc){const _0x1fdeee=_0x492810,_0x5b82c=this[_0x1fdeee(0x131)](_0x1200bc);this[_0x1fdeee(0x129)](_0x5b82c),this[_0x1fdeee(0x129)](_0x1200bc[_0x1fdeee(0x146)]),_0x5b82c[_0x1fdeee(0x133)](),this[_0x1fdeee(0x128)][_0x1fdeee(0x164)](_0x1200bc),this[_0x1fdeee(0x135)][_0x1fdeee(0x164)](_0x5b82c);}[_0x492810(0x12b)](){const _0x756d3e=_0x492810,_0x4e7230=new _0x1e3322(this[_0x756d3e(0x14f)][_0x756d3e(0x143)]);return _0x4e7230[_0x756d3e(0x166)](),this['on'](_0x756d3e(0x11e),(_0xb1be10,_0x17c69f,_0x272238,_0xb5de0f)=>{const _0x2b9224=_0x756d3e;_0xb5de0f&&_0x4e7230[_0x2b9224(0x12d)](_0x2b9224(0x132)),_0x272238?_0x4e7230[_0x2b9224(0x11f)](_0x2b9224(0x132))['to'](_0x272238,_0x2b9224(0x141)):_0x4e7230[_0x2b9224(0x132)]=null;}),_0x4e7230;}[_0x492810(0x124)](){const _0x43ec7d=_0x492810;var _0xf58dca;this[_0x43ec7d(0x15c)]=(null===(_0xf58dca=this[_0x43ec7d(0x12c)])||void 0x0===_0xf58dca?void 0x0:_0xf58dca[_0x43ec7d(0x137)])?this[_0x43ec7d(0x131)](this[_0x43ec7d(0x12c)][_0x43ec7d(0x137)]):null;}[_0x492810(0x160)](_0x2825c0){const _0x5773c3=_0x492810;var _0x339edc;const _0xa3ee0c=this[_0x5773c3(0x135)][_0x5773c3(0x140)](_0x2825c0),_0x18d079=_0xa3ee0c&&(null===(_0x339edc=this[_0x5773c3(0x12c)])||void 0x0===_0x339edc?void 0x0:_0x339edc[_0x5773c3(0x140)](this[_0x5773c3(0x12c)][_0x5773c3(0x169)](_0xa3ee0c)-0x1));return _0x18d079&&this[_0x5773c3(0x131)](_0x18d079)||null;}[_0x492810(0x162)](_0x568b60){const _0x2139af=_0x492810;var _0x41dc1d;const _0x3a0b90=this[_0x2139af(0x135)][_0x2139af(0x140)](_0x568b60),_0x21eee8=_0x3a0b90&&(null===(_0x41dc1d=this[_0x2139af(0x12c)])||void 0x0===_0x41dc1d?void 0x0:_0x41dc1d[_0x2139af(0x140)](this[_0x2139af(0x12c)][_0x2139af(0x169)](_0x3a0b90)+0x1));return _0x21eee8&&this[_0x2139af(0x131)](_0x21eee8)||null;}[_0x492810(0x151)](_0x4b90e5,_0x431540){const _0x1a6710=_0x492810;_0x4b90e5[_0x1a6710(0x11a)]();const _0x2e6997=M(_0x431540[_0x1a6710(0x141)]+this[_0x1a6710(0x144)],_0x4b90e5[_0x1a6710(0x13d)]);return!!_0x2e6997&&(this[_0x1a6710(0x15e)](_0x431540,_0x431540[_0x1a6710(0x13d)]-_0x2e6997),!0x0);}[_0x492810(0x165)](_0x5e0a3a,_0x5f2330){const _0x2e11c6=_0x492810;_0x5e0a3a[_0x2e11c6(0x11a)]();const _0xa26635=M(_0x5e0a3a[_0x2e11c6(0x141)]+this[_0x2e11c6(0x144)],_0x5f2330[_0x2e11c6(0x13d)]);return!!_0xa26635&&(this[_0x2e11c6(0x15e)](_0x5f2330,_0x5f2330[_0x2e11c6(0x13d)]+_0xa26635,!0x1),!0x0);}[_0x492810(0x15a)](_0x199562){const _0xad4949=_0x492810,_0x394903=this[_0xad4949(0x135)][_0xad4949(0x140)](_0x199562);if(!_0x394903||!_0x394903[_0xad4949(0x138)]||!_0x394903[_0xad4949(0x136)])return;const _0x20d691=this[_0xad4949(0x12a)](_0x394903,_0x394903[_0xad4949(0x136)]);this[_0xad4949(0x15e)](_0x199562,_0x20d691);}[_0x492810(0x12a)](_0x534766,_0x5b7048){const _0x193493=_0x492810;if(null===_0x5b7048)return 0x0;if(_0x534766[_0x193493(0x138)]instanceof _0x192841)return _0x5b7048[_0x193493(0x13d)];{const _0x252669=new _0x192841(this[_0x193493(0x146)][_0x193493(0x11d)])[_0x193493(0x13d)];return _0x5b7048[_0x193493(0x13d)]-_0x252669;}}[_0x492810(0x15e)](_0x5e5148,_0x5ab387,_0x4682f6=this[_0x492810(0x14f)][_0x492810(0x11b)][_0x492810(0x140)](_0x492810(0x14d))){const _0x1aa2a8=_0x492810;_0x4682f6&&(_0x5ab387=Math[_0x1aa2a8(0x110)](_0x5ab387,this[_0x1aa2a8(0x13a)](_0x5e5148))),_0x5e5148[_0x1aa2a8(0x13d)]=_0x5ab387;}[_0x492810(0x13a)](_0x5807f5){const _0x470417=_0x492810;let _0x151594=this[_0x470417(0x160)](_0x5807f5),_0x9bf300=0x0;for(;_0x151594;)_0x151594[_0x470417(0x11a)](),_0x9bf300+=this[_0x470417(0x144)]+_0x151594[_0x470417(0x145)],_0x151594=this[_0x470417(0x160)](_0x151594);return _0x9bf300;}}function M(_0x901dba,_0x4bfc3c){const _0x241ed8=_0x492810;return Math[_0x241ed8(0x110)](_0x901dba-_0x4bfc3c,0x0);}function y(_0x55ecc9){const _0x286d2d=_0x492810;return null!==_0x55ecc9&&_0x286d2d(0x127)==typeof _0x55ecc9&&0x1===_0x55ecc9[_0x286d2d(0x130)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x16e7(_0x301ea5,_0x16c730){const _0x14f6e6=_0x14f6();return _0x16e7=function(_0x16e785,_0x508f6c){_0x16e785=_0x16e785-0x17d;let _0x5152e8=_0x14f6e6[_0x16e785];return _0x5152e8;},_0x16e7(_0x301ea5,_0x16c730);}function _0x14f6(){const _0x581a5c=['6OLnaer','counterView','ck-annotation-counter','annotationType','setTemplate','extendTemplate','add','isDirty','_badge','...','1006655vHrRrI','bind','number','2fdeShg','6431312jXcypi','icon','20qublAC','1354830hfKPLi','ck-annotation-counter__badge--','bindTemplate','382617iKKvDe','children','ck-annotation-counter__badge--edit-mode','3300975FRxmvh','ck-annotation-counter__badge','toString','3629305vZoucE','9555714Ylcdwu','set','span'];_0x14f6=function(){return _0x581a5c;};return _0x14f6();}(function(_0x4409c2,_0x4d330f){const _0x3679ef=_0x16e7,_0xbb5cb3=_0x4409c2();while(!![]){try{const _0x2b2076=parseInt(_0x3679ef(0x195))/0x1*(parseInt(_0x3679ef(0x198))/0x2)+-parseInt(_0x3679ef(0x181))/0x3*(-parseInt(_0x3679ef(0x17d))/0x4)+-parseInt(_0x3679ef(0x187))/0x5*(-parseInt(_0x3679ef(0x18b))/0x6)+-parseInt(_0x3679ef(0x188))/0x7+-parseInt(_0x3679ef(0x199))/0x8+parseInt(_0x3679ef(0x184))/0x9+parseInt(_0x3679ef(0x17e))/0xa;if(_0x2b2076===_0x4d330f)break;else _0xbb5cb3['push'](_0xbb5cb3['shift']());}catch(_0x4946c3){_0xbb5cb3['push'](_0xbb5cb3['shift']());}}}(_0x14f6,0xabbdd));import{ButtonView as _0x509893,View as _0x282dd8}from'ckeditor5/src/ui.js';import _0x5b10fb from'../../../theme/icons/add-comment.svg';export default class D extends _0x509893{constructor(_0x4359c7){const _0x533a47=_0x16e7;super(_0x4359c7);const _0x38b107=this[_0x533a47(0x180)];this[_0x533a47(0x189)](_0x533a47(0x192),!0x1),this[_0x533a47(0x189)](_0x533a47(0x197),0x0),this[_0x533a47(0x196)](_0x533a47(0x193))['to'](this,_0x533a47(0x192),this,_0x533a47(0x197),(_0x329720,_0x526133)=>_0x329720?_0x533a47(0x194):_0x526133[_0x533a47(0x186)]()),this[_0x533a47(0x189)](_0x533a47(0x18e),''),this[_0x533a47(0x19a)]=_0x5b10fb,this[_0x533a47(0x190)]({'attributes':{'class':[_0x533a47(0x18d)]}}),this[_0x533a47(0x18c)]=new _0x282dd8(),this[_0x533a47(0x18c)][_0x533a47(0x18f)]({'tag':_0x533a47(0x18a),'attributes':{'class':[_0x533a47(0x185),_0x38b107['to'](_0x533a47(0x18e),_0xf9f355=>_0x533a47(0x17f)+_0xf9f355),_0x38b107['if'](_0x533a47(0x192),_0x533a47(0x183))]},'children':[{'text':_0x38b107['to'](_0x533a47(0x193))}]}),this[_0x533a47(0x182)][_0x533a47(0x191)](this[_0x533a47(0x18c)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42b4f2=_0x1566;(function(_0x4ed362,_0x3669b4){const _0x353104=_0x1566,_0xc409de=_0x4ed362();while(!![]){try{const _0x29255b=parseInt(_0x353104(0x13d))/0x1*(parseInt(_0x353104(0x141))/0x2)+parseInt(_0x353104(0x149))/0x3*(parseInt(_0x353104(0x12c))/0x4)+parseInt(_0x353104(0x137))/0x5+-parseInt(_0x353104(0x146))/0x6*(parseInt(_0x353104(0x134))/0x7)+parseInt(_0x353104(0x138))/0x8+parseInt(_0x353104(0x156))/0x9+-parseInt(_0x353104(0x139))/0xa*(parseInt(_0x353104(0x13a))/0xb);if(_0x29255b===_0x3669b4)break;else _0xc409de['push'](_0xc409de['shift']());}catch(_0x18f63d){_0xc409de['push'](_0xc409de['shift']());}}}(_0x28c5,0xeaa3f));import{View as _0x4c0a2b}from'ckeditor5/src/ui.js';import{FocusTracker as _0x98ce1c,KeystrokeHandler as _0x40fe13,uid as _0x53d370}from'ckeditor5/src/utils.js';import _0x2f0b03 from'../../utils/createmutationobserver.js';function _0x28c5(){const _0x2c67c6=['length','height','1708272vnEgXx','_mutationObserver','keystrokes','140199ByeNGU','attach','listenTo','element','mainView','focusTracker','render','setTemplate','content','set','_updateHeight','ck-rounded-corners','destroy','5799663CASoGr','36IeCoXx','createCollection','div','detach','add','isActive','Esc','type','7vOMsVw','isDirty','clear','334120VJvXBT','159584ndIFeQ','55820MxSsvb','88xXASWq','targetRect','ck-annotation-wrapper--active','138679thEAeB','ck-annotation-wrapper','clientHeight','focus','2ytmcgB','bindTemplate','fire'];_0x28c5=function(){return _0x2c67c6;};return _0x28c5();}import'../../../theme/annotation.css';function _0x1566(_0x484752,_0x36e59d){const _0x28c540=_0x28c5();return _0x1566=function(_0x156697,_0x3dbd7d){_0x156697=_0x156697-0x12c;let _0x24d922=_0x28c540[_0x156697];return _0x24d922;},_0x1566(_0x484752,_0x36e59d);}export default class V extends _0x4c0a2b{constructor(_0x13f7c6,_0x32854d){const _0x469d95=_0x1566;super(_0x13f7c6),this['id']=_0x53d370(),this[_0x469d95(0x14e)]=new _0x98ce1c(),this[_0x469d95(0x148)]=new _0x40fe13(),this[_0x469d95(0x148)][_0x469d95(0x152)](_0x469d95(0x132),(_0x5d2dd7,_0x5a1ad0)=>this[_0x469d95(0x143)](_0x469d95(0x132),_0x5a1ad0)),this[_0x469d95(0x152)](_0x469d95(0x13b),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x469d95(0x152)](_0x469d95(0x145),0x0),this[_0x469d95(0x152)](_0x469d95(0x131),!0x1),this[_0x469d95(0x152)](_0x469d95(0x135),!0x1),this[_0x469d95(0x152)](_0x469d95(0x144),0x0),this[_0x469d95(0x152)](_0x469d95(0x133),''),this[_0x469d95(0x147)]=_0x2f0b03(()=>this[_0x469d95(0x153)]()),this[_0x469d95(0x151)]=this[_0x469d95(0x12d)](),this[_0x469d95(0x151)][_0x469d95(0x130)](_0x32854d),this[_0x469d95(0x14d)]=_0x32854d;const _0x3834da=this[_0x469d95(0x142)];this[_0x469d95(0x150)]({'tag':_0x469d95(0x12e),'attributes':{'class':['ck',_0x469d95(0x13e),_0x469d95(0x154),_0x3834da['if'](_0x469d95(0x131),_0x469d95(0x13c))],'tabindex':-0x1},'children':this[_0x469d95(0x151)]});}[_0x42b4f2(0x14f)](){const _0x2abd7f=_0x42b4f2;super[_0x2abd7f(0x14f)](),this[_0x2abd7f(0x14e)][_0x2abd7f(0x130)](this[_0x2abd7f(0x14c)]),this[_0x2abd7f(0x148)][_0x2abd7f(0x14b)](this[_0x2abd7f(0x14c)]),this[_0x2abd7f(0x147)][_0x2abd7f(0x14a)](this[_0x2abd7f(0x14c)]);}[_0x42b4f2(0x155)](){const _0x48b58a=_0x42b4f2;this[_0x48b58a(0x151)][_0x48b58a(0x136)](),this[_0x48b58a(0x148)][_0x48b58a(0x155)](),this[_0x48b58a(0x14e)][_0x48b58a(0x155)](),this[_0x48b58a(0x147)][_0x48b58a(0x12f)](),super[_0x48b58a(0x155)]();}[_0x42b4f2(0x140)](){const _0x43479c=_0x42b4f2;this[_0x43479c(0x14c)][_0x43479c(0x140)]();}[_0x42b4f2(0x153)](){const _0x35ae9c=_0x42b4f2,_0x4afee5=this[_0x35ae9c(0x14c)][_0x35ae9c(0x13f)];_0x4afee5&&(this[_0x35ae9c(0x145)]=_0x4afee5);}}
|