@ckeditor/ckeditor5-comments 41.3.0 → 41.3.2
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 -3
- 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.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "41.3.
|
|
3
|
+
"version": "41.3.2",
|
|
4
4
|
"description": "Collaborative comments feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"CHANGELOG.md"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"ckeditor5": "41.3.
|
|
48
|
-
"ckeditor5-collaboration": "41.3.
|
|
47
|
+
"ckeditor5": "41.3.2",
|
|
48
|
+
"ckeditor5-collaboration": "41.3.2",
|
|
49
49
|
"lodash-es": "4.17.21"
|
|
50
50
|
},
|
|
51
51
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x195ae1=_0x7e49;(function(_0x2060a7,_0x4ca033){const _0x1e825c=_0x7e49,_0x1035d5=_0x2060a7();while(!![]){try{const _0x140062=parseInt(_0x1e825c(0xe2))/0x1+parseInt(_0x1e825c(0xff))/0x2*(-parseInt(_0x1e825c(0xf2))/0x3)+parseInt(_0x1e825c(0x105))/0x4*(-parseInt(_0x1e825c(0xfa))/0x5)+-parseInt(_0x1e825c(0xea))/0x6+parseInt(_0x1e825c(0xe1))/0x7*(-parseInt(_0x1e825c(0xfd))/0x8)+-parseInt(_0x1e825c(0xeb))/0x9*(parseInt(_0x1e825c(0xdc))/0xa)+-parseInt(_0x1e825c(0xd8))/0xb*(-parseInt(_0x1e825c(0xdb))/0xc);if(_0x140062===_0x4ca033)break;else _0x1035d5['push'](_0x1035d5['shift']());}catch(_0x5ec7c6){_0x1035d5['push'](_0x1035d5['shift']());}}}(_0x3c54,0xc0a86));import{CKEditorError as _0x3cd3db,Rect as _0x40ccb4,Collection as _0x1dec2c,ObservableMixin as _0x5ddc43}from'ckeditor5/src/utils.js';function _0x3c54(){const _0x51675d=['stopListening','function','updateTargetRect','nodeType','isActive','remove','9IvpDkG','annotation-invalid-target','add','_type','focusableElements','focusTracker','target','getClientRects','127175usBzmR','innerView','object','10301392XQYNjt','item','249286JjBQld','filter','refreshVisibility','type','_assertCorrectTarget','offsetParent','192ETanQf','length','render','1335752JeenuO','isVisible','_getNormalizedTarget','480jcjxLQ','230vNOjaf','clear','set','_id','_target','7jeXAWR','866770QWZQsM','every','element','targetRect','isArray','destroy','view','mainView','5897370RAZcRT','418518pCCwUI'];_0x3c54=function(){return _0x51675d;};return _0x3c54();}export default class d extends _0x5ddc43(){constructor({view:_0x41ccfe,target:_0x5594ad,type:_0x294762,isVisible:_0x15eac6=!0x0}){const _0xaeaaa0=_0x7e49;super(),this[_0xaeaaa0(0xe8)]=_0x41ccfe,this[_0xaeaaa0(0xe8)][_0xaeaaa0(0xe4)]||this[_0xaeaaa0(0xe8)][_0xaeaaa0(0x107)](),this[_0xaeaaa0(0xf5)]=_0x294762,this[_0xaeaaa0(0xe0)]=_0x5594ad,d[_0xaeaaa0(0x103)](this[_0xaeaaa0(0xda)]()),this[_0xaeaaa0(0xf6)]=new _0x1dec2c([this[_0xaeaaa0(0xe8)][_0xaeaaa0(0xe4)]],{'idProperty':_0xaeaaa0(0xdf)}),this[_0xaeaaa0(0xf6)]['on'](_0xaeaaa0(0xf4),(_0x527489,_0x351d42)=>{const _0x10bbaf=_0xaeaaa0;this[_0x10bbaf(0xe8)][_0x10bbaf(0xf7)][_0x10bbaf(0xf4)](_0x351d42);}),this[_0xaeaaa0(0xf6)]['on'](_0xaeaaa0(0xf1),(_0x336fc1,_0x54f969)=>{const _0x44e5aa=_0xaeaaa0;this[_0x44e5aa(0xe8)][_0x44e5aa(0xf7)][_0x44e5aa(0xf1)](_0x54f969);}),this[_0xaeaaa0(0xde)](_0xaeaaa0(0xd9),_0x15eac6);}get[_0x195ae1(0x102)](){const _0x585dd7=_0x195ae1;return _0x585dd7(0xed)==typeof this[_0x585dd7(0xf5)]?this[_0x585dd7(0xf5)]():this[_0x585dd7(0xf5)];}get[_0x195ae1(0xfb)](){const _0x4644ab=_0x195ae1;return this[_0x4644ab(0xe8)][_0x4644ab(0xe9)];}get[_0x195ae1(0xf8)](){const _0x569d00=_0x195ae1,_0x279b46=this[_0x569d00(0xda)]();return d[_0x569d00(0x103)](_0x279b46),_0x279b46;}get[_0x195ae1(0xe5)](){const _0x47d81b=_0x195ae1,_0x153a8e=this[_0x47d81b(0xf8)];if(null===_0x153a8e)return null;if(_0x153a8e instanceof _0x40ccb4)return _0x153a8e;const _0x34c313=_0x153a8e[_0x47d81b(0x100)](_0x2351d0=>function(_0x14fc90){const _0x53776f=_0x47d81b,_0x4ea151=_0x14fc90[_0x53776f(0x104)];if(_0x4ea151)return!0x0;const _0x253a4e=_0x14fc90[_0x53776f(0xf9)]()[_0x53776f(0xfe)](0x0);return!!_0x253a4e;}(_0x2351d0));return 0x0===_0x34c313[_0x47d81b(0x106)]?null:new _0x40ccb4(_0x34c313[0x0][_0x47d81b(0xf9)]()[_0x47d81b(0xfe)](0x0));}get[_0x195ae1(0xf0)](){const _0x3eb755=_0x195ae1;return this[_0x3eb755(0xe8)][_0x3eb755(0xf0)];}set[_0x195ae1(0xf0)](_0xf1345b){const _0x12699b=_0x195ae1;this[_0x12699b(0xe8)][_0x12699b(0xf0)]=_0xf1345b,this[_0x12699b(0xe8)][_0x12699b(0xe9)][_0x12699b(0xf0)]=_0xf1345b;}[_0x195ae1(0xee)](){const _0x53d7da=_0x195ae1;this[_0x53d7da(0xe8)][_0x53d7da(0xe5)]=this[_0x53d7da(0xe5)];}[_0x195ae1(0xe7)](){const _0x43732a=_0x195ae1;this[_0x43732a(0xf6)][_0x43732a(0xec)](),this[_0x43732a(0xf6)][_0x43732a(0xdd)](),this[_0x43732a(0xec)]();}[_0x195ae1(0x101)](){const _0xa7dcb2=_0x195ae1;this[_0xa7dcb2(0xd9)]=!!this[_0xa7dcb2(0xe5)];}static[_0x195ae1(0x103)](_0x5e75e4){const _0x2fd0f9=_0x195ae1;if(!(null===_0x5e75e4||_0x5e75e4 instanceof _0x40ccb4||Array[_0x2fd0f9(0xe6)](_0x5e75e4)&&_0x5e75e4[_0x2fd0f9(0xe3)](_0x25f4bf=>y(_0x25f4bf))))throw new _0x3cd3db(_0x2fd0f9(0xf3),null,{'target':_0x5e75e4});}[_0x195ae1(0xda)](){const _0x4d0878=_0x195ae1,_0x10fa19=_0x4d0878(0xed)==typeof this[_0x4d0878(0xe0)]?this[_0x4d0878(0xe0)]():this[_0x4d0878(0xe0)];return y(_0x10fa19)?[_0x10fa19]:_0x10fa19;}}function _0x7e49(_0x40088d,_0x72bef0){const _0x3c54d6=_0x3c54();return _0x7e49=function(_0x7e49b4,_0x9c7fd1){_0x7e49b4=_0x7e49b4-0xd8;let _0x251d6b=_0x3c54d6[_0x7e49b4];return _0x251d6b;},_0x7e49(_0x40088d,_0x72bef0);}function y(_0x540a34){const _0x3e56aa=_0x195ae1;return null!==_0x540a34&&_0x3e56aa(0xfc)==typeof _0x540a34&&_0x3e56aa(0xef)in _0x540a34&&0x1===_0x540a34[_0x3e56aa(0xef)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1197e4=_0xe206;function _0xe206(_0x3a9a93,_0x16a90d){const _0x30bc96=_0x30bc();return _0xe206=function(_0xe2068d,_0x38313d){_0xe2068d=_0xe2068d-0x118;let _0x45fa64=_0x30bc96[_0xe2068d];return _0x45fa64;},_0xe206(_0x3a9a93,_0x16a90d);}(function(_0x2a85b1,_0xe4f6e8){const _0xf97f97=_0xe206,_0x27447b=_0x2a85b1();while(!![]){try{const _0x5c698f=-parseInt(_0xf97f97(0x141))/0x1+-parseInt(_0xf97f97(0x143))/0x2*(-parseInt(_0xf97f97(0x146))/0x3)+-parseInt(_0xf97f97(0x13b))/0x4+parseInt(_0xf97f97(0x11c))/0x5*(parseInt(_0xf97f97(0x11f))/0x6)+parseInt(_0xf97f97(0x13a))/0x7*(parseInt(_0xf97f97(0x145))/0x8)+-parseInt(_0xf97f97(0x11a))/0x9+-parseInt(_0xf97f97(0x120))/0xa*(-parseInt(_0xf97f97(0x123))/0xb);if(_0x5c698f===_0xe4f6e8)break;else _0x27447b['push'](_0x27447b['shift']());}catch(_0x5d75a8){_0x27447b['push'](_0x27447b['shift']());}}}(_0x30bc,0xcb69e));import{CKEditorError as _0x19abac,Collection as _0x1cc31d,FocusTracker as _0x543e66}from'ckeditor5/src/utils.js';export default class x extends _0x1cc31d{constructor(_0x535d5e=[]){const _0xf48272=_0xe206;super(),this[_0xf48272(0x12c)]=new Map(),this[_0xf48272(0x126)]=new Map(),this[_0xf48272(0x118)]=new _0x543e66(),this[_0xf48272(0x118)]['on'](_0xf48272(0x12b),(_0x4567f1,_0x3a3d57,_0x28d3d1)=>{const _0x16c78a=_0xf48272;_0x28d3d1||this[_0x16c78a(0x136)](_0x16c78a(0x131));});for(const _0x343829 of _0x535d5e)this[_0xf48272(0x11e)](_0x343829);}get[_0x1197e4(0x134)](){const _0x37adfd=_0x1197e4;return this[_0x37adfd(0x118)][_0x37adfd(0x134)];}[_0x1197e4(0x11e)](_0x28c5e8){const _0x51e16a=_0x1197e4;if(this[_0x51e16a(0x12a)](_0x28c5e8))throw new _0x19abac(_0x51e16a(0x128),null);this[_0x51e16a(0x12c)][_0x51e16a(0x121)](_0x28c5e8[_0x51e16a(0x13f)],_0x28c5e8),this[_0x51e16a(0x126)][_0x51e16a(0x121)](_0x28c5e8[_0x51e16a(0x11b)],_0x28c5e8);for(const _0x2a9040 of _0x28c5e8[_0x51e16a(0x13c)])this[_0x51e16a(0x118)][_0x51e16a(0x11e)](_0x2a9040);this[_0x51e16a(0x137)](_0x28c5e8[_0x51e16a(0x13c)],_0x51e16a(0x11e),(_0x2f7c1f,_0x36d6e7)=>{const _0x38b5e9=_0x51e16a;this[_0x38b5e9(0x118)][_0x38b5e9(0x11e)](_0x36d6e7);}),this[_0x51e16a(0x137)](_0x28c5e8[_0x51e16a(0x13c)],_0x51e16a(0x142),(_0x5b6210,_0x3ec9d7)=>{const _0x236bcc=_0x51e16a;this[_0x236bcc(0x118)][_0x236bcc(0x142)](_0x3ec9d7);}),this[_0x51e16a(0x137)](_0x28c5e8[_0x51e16a(0x11b)][_0x51e16a(0x127)],_0x51e16a(0x12b),(_0x199568,_0x430edc,_0x116169)=>{const _0xfa0886=_0x51e16a;_0x116169&&this[_0xfa0886(0x136)](_0xfa0886(0x122),_0x28c5e8);}),_0x28c5e8[_0x51e16a(0x130)]();const _0x16096d=this[_0x51e16a(0x119)](_0x28c5e8[_0x51e16a(0x11b)][_0x51e16a(0x132)]);return super[_0x51e16a(0x11e)](_0x28c5e8,_0x16096d);}[_0x1197e4(0x142)](_0x4dbc49){const _0x53359d=_0x1197e4;if(!this[_0x53359d(0x12a)](_0x4dbc49))throw new _0x19abac(_0x53359d(0x125),null);this[_0x53359d(0x144)](_0x4dbc49[_0x53359d(0x11b)][_0x53359d(0x127)]),this[_0x53359d(0x144)](_0x4dbc49[_0x53359d(0x13c)]);for(const _0x585431 of _0x4dbc49[_0x53359d(0x13c)])this[_0x53359d(0x118)][_0x53359d(0x142)](_0x585431);return this[_0x53359d(0x126)][_0x53359d(0x13d)](_0x4dbc49[_0x53359d(0x11b)]),this[_0x53359d(0x12c)][_0x53359d(0x13d)](_0x4dbc49[_0x53359d(0x13f)]),super[_0x53359d(0x142)](_0x4dbc49);}[_0x1197e4(0x133)](_0x263242){const _0x3404cf=_0x1197e4;return this[_0x3404cf(0x12c)][_0x3404cf(0x11d)](_0x263242);}[_0x1197e4(0x13e)](_0x1f235b){const _0x1d407c=_0x1197e4;return this[_0x1d407c(0x126)][_0x1d407c(0x11d)](_0x1f235b);}[_0x1197e4(0x140)](){const _0x3e9346=_0x1197e4;super[_0x3e9346(0x129)](),this[_0x3e9346(0x144)](),this[_0x3e9346(0x12c)][_0x3e9346(0x129)](),this[_0x3e9346(0x126)][_0x3e9346(0x129)](),this[_0x3e9346(0x118)][_0x3e9346(0x140)]();}[_0x1197e4(0x12d)](){const _0x4d1712=_0x1197e4;for(const _0x57e7fe of this)_0x57e7fe[_0x4d1712(0x130)]();this[_0x4d1712(0x12e)]();}[_0x1197e4(0x12e)](){const _0xfc82b8=_0x1197e4,_0x207107=Array[_0xfc82b8(0x135)](this)[_0xfc82b8(0x147)]((_0xe8f731,_0x1e05f0)=>v(_0xe8f731[_0xfc82b8(0x11b)][_0xfc82b8(0x132)],_0x1e05f0[_0xfc82b8(0x11b)][_0xfc82b8(0x132)]));for(let _0x23bbe9=_0x207107[_0xfc82b8(0x138)]-0x1;_0x23bbe9>0x0;_0x23bbe9--){const _0x3c3a9e=_0x207107[_0x23bbe9];_0x23bbe9!==this[_0xfc82b8(0x139)](_0x3c3a9e)&&(this[_0xfc82b8(0x142)](_0x3c3a9e),this[_0xfc82b8(0x11e)](_0x3c3a9e));}}[_0x1197e4(0x119)](_0x1f233b){const _0x3c8795=_0x1197e4;let _0x4ecbd7=0x0;if(!_0x1f233b)return this[_0x3c8795(0x138)];for(const _0x3fc358 of this){const _0x391d50=_0x3fc358[_0x3c8795(0x11b)][_0x3c8795(0x132)];if(_0x391d50){if(v(_0x1f233b,_0x391d50)<0x0)return _0x4ecbd7;_0x4ecbd7++;}}return _0x4ecbd7;}}export function bindAnnotationCollections({source:_0x4d54bd,target:_0x4be4d4,filter:_0x969ecf}){const _0x18cdcc=_0x1197e4;for(const _0x276d74 of _0x4d54bd)_0x969ecf(_0x276d74)&&_0x4be4d4[_0x18cdcc(0x11e)](_0x276d74);_0x4be4d4[_0x18cdcc(0x137)](_0x4d54bd,_0x18cdcc(0x11e),(_0x57ad4d,_0x45b770)=>{const _0x282cc9=_0x18cdcc;_0x969ecf(_0x45b770)&&_0x4be4d4[_0x282cc9(0x11e)](_0x45b770);}),_0x4be4d4[_0x18cdcc(0x137)](_0x4d54bd,_0x18cdcc(0x142),(_0x3e9db3,_0x4b31f8)=>{const _0x573367=_0x18cdcc;_0x4be4d4[_0x573367(0x12a)](_0x4b31f8)&&_0x4be4d4[_0x573367(0x142)](_0x4b31f8);});}function v(_0x392ddf,_0x17196b){const _0x679cc5=_0x1197e4;if(null===_0x392ddf&&null===_0x17196b)return 0x0;if(null===_0x392ddf)return-0x1;if(null===_0x17196b)return 0x1;const _0x4a58b7=_0x392ddf[_0x679cc5(0x124)]-_0x17196b[_0x679cc5(0x124)];return 0x0==_0x4a58b7?_0x392ddf[_0x679cc5(0x12f)]-_0x17196b[_0x679cc5(0x12f)]:_0x4a58b7;}function _0x30bc(){const _0x1c1726=['_innerViewToAnnotation','refreshPositioning','_sort','left','updateTargetRect','blur','targetRect','getByInnerView','isFocused','from','fire','listenTo','length','getIndex','7UcURUy','3171800VazfbL','focusableElements','delete','getByView','innerView','destroy','1034171tIPgHd','remove','2MNFBor','stopListening','10574376zRiPGB','297912JYAJmU','sort','_focusTracker','_getOrderInContent','1930896tWSfRz','view','4828745XwAzyz','get','add','6NgNOYC','10SAxPmd','set','focus','5367967qoDnkP','top','annotationcollection-not-existing-item','_viewToAnnotation','focusTracker','annotationcollection-duplicated-item','clear','has','change:isFocused'];_0x30bc=function(){return _0x1c1726;};return _0x30bc();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x402e(_0x8f8480,_0x2b68d5){const _0x46b952=_0x46b9();return _0x402e=function(_0x402e74,_0x1117f1){_0x402e74=_0x402e74-0x176;let _0xed243a=_0x46b952[_0x402e74];return _0xed243a;},_0x402e(_0x8f8480,_0x2b68d5);}function _0x46b9(){const _0x140e5b=['481380hhHFyE','2368lNfstq','collection','_addActiveAnnotation','38295YrtQbR','change:isVisible','source','fire','5369455GOmvfL','focusTracker','refreshVisibility','createAnnotation','_removeActiveAnnotation','_bindAnnotationsToVisibleAnnotations','view','createAnnotationView','remove','getByInnerView','activeAnnotations','16440530ypYAVi','refreshPositioning','isVisible','set','6BFWJle','element','listenTo','stopListening','add','387292VTFyMw','has','pluginName','delete','activate','1934595esMedM','_deactivateAllAnnotations','_visibleAnnotations','Annotations','10RthMIW','155060ynoytq','_activateAnnotation','destroy','deactivateAll'];_0x46b9=function(){return _0x140e5b;};return _0x46b9();}const _0x406b5b=_0x402e;(function(_0x507b93,_0x6bebf1){const _0x503385=_0x402e,_0x371298=_0x507b93();while(!![]){try{const _0xde63d6=parseInt(_0x503385(0x184))/0x1*(-parseInt(_0x503385(0x189))/0x2)+parseInt(_0x503385(0x18e))/0x3+-parseInt(_0x503385(0x193))/0x4*(parseInt(_0x503385(0x192))/0x5)+parseInt(_0x503385(0x197))/0x6+parseInt(_0x503385(0x19f))/0x7+-parseInt(_0x503385(0x198))/0x8*(parseInt(_0x503385(0x19b))/0x9)+parseInt(_0x503385(0x180))/0xa;if(_0xde63d6===_0x6bebf1)break;else _0x371298['push'](_0x371298['shift']());}catch(_0x37547e){_0x371298['push'](_0x371298['shift']());}}}(_0x46b9,0x9b98f));import{ContextPlugin as _0xaf280a}from'ckeditor5/src/core.js';import _0x3d81ee from'./annotation.js';import _0x4c7a30 from'./annotationcollection.js';import _0x19fbdc from'./view/annotationview.js';export default class b extends _0xaf280a{static get[_0x406b5b(0x18b)](){const _0x39d8d2=_0x406b5b;return _0x39d8d2(0x191);}constructor(_0x584fcd){const _0x18a59b=_0x406b5b;super(_0x584fcd),this[_0x18a59b(0x199)]=new _0x4c7a30(),this[_0x18a59b(0x190)]=new _0x4c7a30(),this[_0x18a59b(0x183)](_0x18a59b(0x17f),new Set()),this[_0x18a59b(0x17a)]();}[_0x406b5b(0x188)](_0x28c6a6){const _0x330c29=_0x406b5b;this[_0x330c29(0x199)][_0x330c29(0x188)](_0x28c6a6);}[_0x406b5b(0x17d)](_0x5d2d38){const _0x3ece05=_0x406b5b;this[_0x3ece05(0x199)][_0x3ece05(0x17d)](_0x5d2d38),_0x5d2d38[_0x3ece05(0x195)]();}[_0x406b5b(0x177)](){const _0x52c78a=_0x406b5b;for(const _0x2a9d4b of this[_0x52c78a(0x199)])_0x2a9d4b[_0x52c78a(0x177)]();}[_0x406b5b(0x181)](){const _0x517a6d=_0x406b5b;this[_0x517a6d(0x190)][_0x517a6d(0x181)]();}[_0x406b5b(0x17e)](_0x5b70fa){const _0x551ba8=_0x406b5b;return this[_0x551ba8(0x199)][_0x551ba8(0x17e)](_0x5b70fa);}[_0x406b5b(0x196)](){const _0x1842f8=_0x406b5b;this[_0x1842f8(0x19e)](_0x1842f8(0x18f));}[_0x406b5b(0x195)](){const _0x1acfab=_0x406b5b;for(const _0x44e0d4 of this[_0x1acfab(0x199)])_0x44e0d4[_0x1acfab(0x195)]();this[_0x1acfab(0x190)][_0x1acfab(0x195)](),this[_0x1acfab(0x199)][_0x1acfab(0x195)](),super[_0x1acfab(0x195)]();}[_0x406b5b(0x18d)](_0x1c3fcc){const _0x19baf8=_0x406b5b;this[_0x19baf8(0x19e)](_0x19baf8(0x194),_0x1c3fcc);}[_0x406b5b(0x178)](_0x56b327){return new _0x3d81ee(_0x56b327);}[_0x406b5b(0x17c)](_0x20a533,_0x290ac5){return new _0x19fbdc(_0x20a533,_0x290ac5);}[_0x406b5b(0x19a)](_0x3fecc0){const _0x1b7068=_0x406b5b,_0xfae1a7=new Set(this[_0x1b7068(0x17f)]);_0xfae1a7[_0x1b7068(0x188)](_0x3fecc0),this[_0x1b7068(0x17f)]=_0xfae1a7;}[_0x406b5b(0x179)](_0x416581){const _0x93cfdd=_0x406b5b,_0x739916=new Set(this[_0x93cfdd(0x17f)]);_0x739916[_0x93cfdd(0x18c)](_0x416581),this[_0x93cfdd(0x17f)]=_0x739916;}[_0x406b5b(0x17a)](){const _0x27b50e=_0x406b5b,_0xd228e2=this[_0x27b50e(0x199)],_0x139d41=this[_0x27b50e(0x190)];function _0x2ccb25(_0x468568){const _0x30ea7c=_0x27b50e,_0x32d77b=_0x468568[_0x30ea7c(0x19d)];_0x32d77b[_0x30ea7c(0x182)]&&!_0x139d41[_0x30ea7c(0x18a)](_0x32d77b)?_0x139d41[_0x30ea7c(0x188)](_0x32d77b):!_0x32d77b[_0x30ea7c(0x182)]&&_0x139d41[_0x30ea7c(0x18a)](_0x32d77b)&&_0x139d41[_0x30ea7c(0x17d)](_0x32d77b),_0x32d77b[_0x30ea7c(0x17b)][_0x30ea7c(0x176)][_0x30ea7c(0x17d)](_0x32d77b[_0x30ea7c(0x17b)][_0x30ea7c(0x185)]),_0x32d77b[_0x30ea7c(0x17b)][_0x30ea7c(0x176)][_0x30ea7c(0x188)](_0x32d77b[_0x30ea7c(0x17b)][_0x30ea7c(0x185)]);}this[_0x27b50e(0x186)](_0xd228e2,_0x27b50e(0x188),(_0xdb72b0,_0x5562de)=>{const _0x135eed=_0x27b50e;_0x5562de[_0x135eed(0x182)]&&_0x139d41[_0x135eed(0x188)](_0x5562de),this[_0x135eed(0x186)](_0x5562de,_0x135eed(0x19c),_0x2ccb25);}),this[_0x27b50e(0x186)](_0xd228e2,_0x27b50e(0x17d),(_0x295446,_0x577c58)=>{const _0x301545=_0x27b50e;_0x139d41[_0x301545(0x18a)](_0x577c58)&&_0x139d41[_0x301545(0x17d)](_0x577c58),this[_0x301545(0x187)](_0x577c58,_0x301545(0x19c),_0x2ccb25);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x14d8(_0x51ff0b,_0x4434bc){const _0x1b945e=_0x1b94();return _0x14d8=function(_0x14d893,_0x94abd3){_0x14d893=_0x14d893-0xb8;let _0x1d569f=_0x1b945e[_0x14d893];return _0x1d569f;},_0x14d8(_0x51ff0b,_0x4434bc);}function _0x1b94(){const _0x4d1487=['activeAnnotations','register','switchTo','_uisData','from','stopListening','_assertAnnotationDoesNotBelongToMultipleUIs','detach','function','annotationsuis-register-already-registered','42321ENASgI','listenTo','destroy','change:activeAnnotation','has','attach','context','setActiveAnnotation','70xJtqdf','_visibleAnnotations','hasActive','get','annotationsuis-annotation-mismatch','init','2262102WVhoIv','185445WFaaZX','_addActiveAnnotation','2gxYglX','activate','length','push','add','34330oKFlVR','type','size','refilterAnnotations','pluginName','activeUIs','filter','_activateAnnotation','56qALQuu','115920MZIyuc','plugins','_deactivateAllAnnotations','remove','find','isActive','_removeActiveAnnotation','annotationsuis-register-invalid-interface','set','collection','deactivateAll','requires','1873840BOeZgU','228483lpKZVZ','deactivate','_uis','delete','AnnotationsUIs','_setSelectedAnnotations','annotationsuis-missing-ui'];_0x1b94=function(){return _0x4d1487;};return _0x1b94();}const _0x10d2f2=_0x14d8;(function(_0x67bced,_0x11964a){const _0x388cb2=_0x14d8,_0x302697=_0x67bced();while(!![]){try{const _0xe406d9=parseInt(_0x388cb2(0xe4))/0x1*(-parseInt(_0x388cb2(0xb8))/0x2)+-parseInt(_0x388cb2(0xf3))/0x3+parseInt(_0x388cb2(0xc5))/0x4*(-parseInt(_0x388cb2(0xbd))/0x5)+parseInt(_0x388cb2(0xf2))/0x6+parseInt(_0x388cb2(0xc6))/0x7+parseInt(_0x388cb2(0xd2))/0x8+parseInt(_0x388cb2(0xd3))/0x9*(-parseInt(_0x388cb2(0xec))/0xa);if(_0xe406d9===_0x11964a)break;else _0x302697['push'](_0x302697['shift']());}catch(_0x3e55e9){_0x302697['push'](_0x302697['shift']());}}}(_0x1b94,0x3cfee));import{ContextPlugin as _0x59de99}from'ckeditor5/src/core.js';import{CKEditorError as _0x4f4b01}from'ckeditor5/src/utils.js';import _0x2e18c2,{bindAnnotationCollections as _0x438b5b}from'./annotationcollection.js';import _0x48fb76 from'./annotations.js';export default class j extends _0x59de99{static get[_0x10d2f2(0xd1)](){return[_0x48fb76];}static get[_0x10d2f2(0xc1)](){const _0x4d956a=_0x10d2f2;return _0x4d956a(0xd7);}constructor(_0x17d11c){const _0xcd483=_0x10d2f2;super(_0x17d11c),this[_0xcd483(0xc2)]=new Set(),this[_0xcd483(0xd5)]=new Map(),this[_0xcd483(0xdd)]=new Map();}[_0x10d2f2(0xf1)](){const _0x184ebe=_0x10d2f2,_0x4bcc03=this[_0x184ebe(0xea)][_0x184ebe(0xc7)][_0x184ebe(0xef)](_0x48fb76);this[_0x184ebe(0xe5)](_0x4bcc03,_0x184ebe(0xc4),(_0x1e4be5,_0x377de4)=>{const _0x1d672e=_0x184ebe;for(const _0x598340 of this[_0x1d672e(0xc2)]){const _0x48e7cd=this[_0x1d672e(0xd5)][_0x1d672e(0xef)](_0x598340);(0x0,this[_0x1d672e(0xdd)][_0x1d672e(0xef)](_0x598340)[_0x1d672e(0xc3)])(_0x377de4)&&_0x48e7cd[_0x1d672e(0xeb)](_0x377de4);}}),this[_0x184ebe(0xe5)](_0x4bcc03,_0x184ebe(0xc8),()=>{const _0x2485a6=_0x184ebe;for(const _0x2391c2 of this[_0x2485a6(0xc2)]){this[_0x2485a6(0xd5)][_0x2485a6(0xef)](_0x2391c2)[_0x2485a6(0xeb)](null);}}),this[_0x184ebe(0xe5)](_0x4bcc03[_0x184ebe(0xed)],_0x184ebe(0xbc),(_0x31e129,_0x2f1a61)=>{const _0x5b3723=_0x184ebe;this[_0x5b3723(0xe0)](_0x2f1a61);});}[_0x10d2f2(0xee)](){const _0x427b45=_0x10d2f2;return this[_0x427b45(0xc2)][_0x427b45(0xbf)]>0x0;}[_0x10d2f2(0xcb)](_0x548b51){const _0x48cf70=_0x10d2f2;return this[_0x48cf70(0xc2)][_0x48cf70(0xe8)](_0x548b51);}[_0x10d2f2(0xb9)](_0x36834f,_0x3e6d7b=()=>!0x0){const _0x1df2b5=_0x10d2f2,_0xa35940=this[_0x1df2b5(0xea)][_0x1df2b5(0xc7)][_0x1df2b5(0xef)](_0x48fb76);if(!this[_0x1df2b5(0xd5)][_0x1df2b5(0xe8)](_0x36834f))throw new _0x4f4b01(_0x1df2b5(0xd9),this,{'uiName':_0x36834f});this[_0x1df2b5(0xcb)](_0x36834f)&&this[_0x1df2b5(0xd4)](_0x36834f),this[_0x1df2b5(0xc2)][_0x1df2b5(0xbc)](_0x36834f);const _0x55bdfe=new _0x2e18c2(),_0x33d675=_0xa35940[_0x1df2b5(0xed)];_0x438b5b({'source':_0x33d675,'target':_0x55bdfe,'filter':_0x3e6d7b}),this[_0x1df2b5(0xdd)][_0x1df2b5(0xce)](_0x36834f,{'collection':_0x55bdfe,'filter':_0x3e6d7b});const _0x129b7d=this[_0x1df2b5(0xd5)][_0x1df2b5(0xef)](_0x36834f);_0x129b7d[_0x1df2b5(0xe9)](_0x55bdfe),this[_0x1df2b5(0xe5)](_0x129b7d,_0x1df2b5(0xe7),(_0x399671,_0x137223,_0xe128e8,_0x1761c6)=>{const _0x370a88=_0x1df2b5;_0x1761c6&&_0xa35940[_0x370a88(0xcc)](_0x1761c6),_0xe128e8&&_0xa35940[_0x370a88(0xf4)](_0xe128e8);});}[_0x10d2f2(0xd4)](_0x31d43d){const _0x46d056=_0x10d2f2;if(this[_0x46d056(0xc2)][_0x46d056(0xd6)](_0x31d43d),!this[_0x46d056(0xd5)][_0x46d056(0xe8)](_0x31d43d))throw new _0x4f4b01(_0x46d056(0xd9),this,{'uiName':_0x31d43d});const _0x2fa820=this[_0x46d056(0xd5)][_0x46d056(0xef)](_0x31d43d);_0x2fa820[_0x46d056(0xe1)](),this[_0x46d056(0xdf)](_0x2fa820),this[_0x46d056(0xdd)][_0x46d056(0xef)](_0x31d43d)[_0x46d056(0xcf)][_0x46d056(0xe6)](),this[_0x46d056(0xdd)][_0x46d056(0xd6)](_0x31d43d);}[_0x10d2f2(0xdc)](_0x9c34ba){const _0x505c85=_0x10d2f2;if(!this[_0x505c85(0xd5)][_0x505c85(0xe8)](_0x9c34ba))throw new _0x4f4b01(_0x505c85(0xd9),this,{'uiName':_0x9c34ba});const _0x431d1a=this[_0x505c85(0xea)][_0x505c85(0xc7)][_0x505c85(0xef)](_0x48fb76),_0x3d243a=Array[_0x505c85(0xde)](_0x431d1a[_0x505c85(0xda)])[0x0]||null;this[_0x505c85(0xd0)](),this[_0x505c85(0xb9)](_0x9c34ba);const _0x36f425=this[_0x505c85(0xd5)][_0x505c85(0xef)](_0x9c34ba);_0x36f425[_0x505c85(0xeb)](_0x3d243a),_0x36f425[_0x505c85(0xd8)]&&_0x3d243a&&_0x36f425[_0x505c85(0xd8)]([_0x3d243a]);}[_0x10d2f2(0xd0)](){const _0x5191ac=_0x10d2f2;for(const _0x554ecb of this[_0x5191ac(0xc2)])this[_0x5191ac(0xd4)](_0x554ecb);}[_0x10d2f2(0xdb)](_0x12491f,_0x3df822){const _0x1bb759=_0x10d2f2;if(this[_0x1bb759(0xd5)][_0x1bb759(0xe8)](_0x12491f))throw new _0x4f4b01(_0x1bb759(0xe3));if(_0x1bb759(0xe2)!=typeof _0x3df822[_0x1bb759(0xe9)]||_0x1bb759(0xe2)!=typeof _0x3df822[_0x1bb759(0xe1)]||_0x1bb759(0xe2)!=typeof _0x3df822[_0x1bb759(0xeb)])throw new _0x4f4b01(_0x1bb759(0xcd),null);this[_0x1bb759(0xd5)][_0x1bb759(0xce)](_0x12491f,_0x3df822);}[_0x10d2f2(0xc0)](){const _0x1c2af6=_0x10d2f2,_0x4fc645=this[_0x1c2af6(0xea)][_0x1c2af6(0xc7)][_0x1c2af6(0xef)](_0x48fb76)[_0x1c2af6(0xcf)],_0x2552e6=new Map(),_0xd8b082=Array[_0x1c2af6(0xde)](this[_0x1c2af6(0xc2)]);for(const _0x41c2cf of this[_0x1c2af6(0xc2)]){const _0x45915c=this[_0x1c2af6(0xdd)][_0x1c2af6(0xef)](_0x41c2cf)[_0x1c2af6(0xcf)];for(const _0x4be18f of _0x45915c)_0x2552e6[_0x1c2af6(0xce)](_0x4be18f,_0x41c2cf);}for(const _0x475949 of _0x4fc645){const _0x41e533=_0x2552e6[_0x1c2af6(0xef)](_0x475949);this[_0x1c2af6(0xe0)](_0x475949);const _0x33809f=_0xd8b082[_0x1c2af6(0xca)](_0x1228dc=>this[_0x1c2af6(0xdd)][_0x1c2af6(0xef)](_0x1228dc)[_0x1c2af6(0xc3)](_0x475949));_0x41e533!==_0x33809f&&(_0x41e533&&this[_0x1c2af6(0xdd)][_0x1c2af6(0xef)](_0x41e533)[_0x1c2af6(0xcf)][_0x1c2af6(0xc9)](_0x475949),_0x33809f&&this[_0x1c2af6(0xdd)][_0x1c2af6(0xef)](_0x33809f)[_0x1c2af6(0xcf)][_0x1c2af6(0xbc)](_0x475949));}}[_0x10d2f2(0xe6)](){const _0x312034=_0x10d2f2;this[_0x312034(0xd0)](),super[_0x312034(0xe6)]();}[_0x10d2f2(0xe0)](_0x3a2b85){const _0x35db1f=_0x10d2f2,_0x1a7a4f=[];for(const _0x5530e0 of this[_0x35db1f(0xc2)]){(0x0,this[_0x35db1f(0xdd)][_0x35db1f(0xef)](_0x5530e0)[_0x35db1f(0xc3)])(_0x3a2b85)&&_0x1a7a4f[_0x35db1f(0xbb)](_0x5530e0);}if(_0x1a7a4f[_0x35db1f(0xba)]>0x1)throw new _0x4f4b01(_0x35db1f(0xf0),null,{'matchedUIs':_0x1a7a4f,'annotationType':_0x3a2b85[_0x35db1f(0xbe)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ea0fe=_0x5814;function _0x5814(_0x2c3f3a,_0x24138f){const _0x4f3a54=_0x4f3a();return _0x5814=function(_0x5814fb,_0x4764ba){_0x5814fb=_0x5814fb-0xbe;let _0xae32ec=_0x4f3a54[_0x5814fb];return _0xae32ec;},_0x5814(_0x2c3f3a,_0x24138f);}(function(_0x1f4aaa,_0x24c522){const _0x1aa226=_0x5814,_0x1e3184=_0x1f4aaa();while(!![]){try{const _0x2a8e95=parseInt(_0x1aa226(0xc6))/0x1+-parseInt(_0x1aa226(0xe4))/0x2*(-parseInt(_0x1aa226(0xf5))/0x3)+-parseInt(_0x1aa226(0xc3))/0x4+parseInt(_0x1aa226(0xcf))/0x5+parseInt(_0x1aa226(0xf4))/0x6+-parseInt(_0x1aa226(0xe3))/0x7+parseInt(_0x1aa226(0xe5))/0x8;if(_0x2a8e95===_0x24c522)break;else _0x1e3184['push'](_0x1e3184['shift']());}catch(_0x24d35c){_0x1e3184['push'](_0x1e3184['shift']());}}}(_0x4f3a,0xd0a66));import{Plugin as _0x3f7c2c}from'ckeditor5/src/core.js';import{CKEditorError as _0x3d1ff8}from'ckeditor5/src/utils.js';import{debounce as _0x4653b0}from'lodash-es';import _0x2f0bca from'./annotations.js';export default class k extends _0x3f7c2c{static get[_0x2ea0fe(0xf9)](){return[_0x2f0bca];}static get[_0x2ea0fe(0xcd)](){const _0x40a373=_0x2ea0fe;return _0x40a373(0xd2);}constructor(_0x575798){const _0x23e8ba=_0x2ea0fe;super(_0x575798),this[_0x23e8ba(0xe9)]=new Set(),this[_0x23e8ba(0xd4)]=new Set();}[_0x2ea0fe(0xd5)](){const _0x244cea=_0x2ea0fe,_0x43c4a6=this[_0x244cea(0xe0)],_0x3a8e48=_0x43c4a6[_0x244cea(0xe7)][_0x244cea(0xf6)][_0x244cea(0xce)],_0xa36bc0=_0x4653b0(()=>this[_0x244cea(0xd6)](),0xa);_0x3a8e48['on'](_0x244cea(0xc0),(_0xda8951,_0x589725)=>{const _0x5488c2=_0x244cea;_0x589725[_0x5488c2(0xc7)]&&(_0xa36bc0[_0x5488c2(0xcc)](),this[_0x5488c2(0xd6)]());}),this[_0x244cea(0xd3)](_0x43c4a6[_0x244cea(0xf7)][_0x244cea(0xc5)][_0x244cea(0xf6)],_0x244cea(0xf8),(_0x93ac9f,_0x56d6ee,_0x417b56)=>{_0x417b56&&_0xa36bc0();}),this[_0x244cea(0xd3)](_0x43c4a6['ui'][_0x244cea(0xca)],_0x244cea(0xf8),(_0x4535af,_0x4d5838,_0x23daaf)=>{const _0x1d529f=_0x244cea;_0x23daaf||_0x43c4a6[_0x1d529f(0xdd)]||this[_0x1d529f(0xf0)](_0x1d529f(0xc1),{'isAnnotationTracked':_0x4df8a7=>this[_0x1d529f(0xde)][_0x1d529f(0xe1)](_0x4df8a7[_0x1d529f(0xd1)])});}),this[_0x244cea(0xd3)](this[_0x244cea(0xe0)]['ui'],_0x244cea(0xc9),()=>this[_0x244cea(0xf0)](_0x244cea(0xcb)));}[_0x2ea0fe(0xfa)](_0x19ef59){const _0x36af90=_0x2ea0fe;if(this[_0x36af90(0xd4)][_0x36af90(0xe1)](_0x19ef59[_0x36af90(0xc5)]))return;this[_0x36af90(0xd4)][_0x36af90(0xef)](_0x19ef59[_0x36af90(0xc5)]),this[_0x36af90(0xe0)]['ui'][_0x36af90(0xca)][_0x36af90(0xef)](_0x19ef59[_0x36af90(0xc5)][_0x36af90(0xdf)]);const _0x240909=this[_0x36af90(0xe0)][_0x36af90(0xbf)][_0x36af90(0xc8)](_0x2f0bca);this[_0x36af90(0xd3)](_0x240909[_0x36af90(0xdb)],_0x36af90(0xd7),(_0x443204,_0x1f9741)=>{const _0x57633b=_0x36af90;this[_0x57633b(0xe0)]['ui'][_0x57633b(0xca)][_0x57633b(0xd7)](_0x1f9741[_0x57633b(0xc5)][_0x57633b(0xdf)]),this[_0x57633b(0xd4)][_0x57633b(0xf2)](_0x1f9741[_0x57633b(0xc5)]);});}[_0x2ea0fe(0xea)](){const _0x240e34=_0x2ea0fe;return this[_0x240e34(0xe0)][_0x240e34(0xf7)][_0x240e34(0xc5)][_0x240e34(0xea)];}[_0x2ea0fe(0xeb)](_0x1d5ad0){const _0x3b89ad=_0x2ea0fe;if(_0x3b89ad(0xda)!=typeof _0x1d5ad0)throw new _0x3d1ff8(_0x3b89ad(0xe8));this[_0x3b89ad(0xe9)][_0x3b89ad(0xef)](_0x1d5ad0);}[_0x2ea0fe(0xd6)](){const _0xd4b463=_0x2ea0fe;this[_0xd4b463(0xf0)](_0xd4b463(0xf1));}[_0x2ea0fe(0xe6)]({activeAnnotation:_0x24eb50,annotations:_0x576dad}){const _0x116f3a=_0x2ea0fe,_0x4e0fac=[],_0x4cf006=this[_0x116f3a(0xe0)][_0x116f3a(0xe7)][_0x116f3a(0xf6)][_0x116f3a(0xce)],_0x1f0fa9=Array[_0x116f3a(0xbe)](_0x4cf006[_0x116f3a(0xed)]());for(const [_0xb9d659,_0xf315f7]of this[_0x116f3a(0xde)]){const _0x3736be=_0x16615b(_0xf315f7),_0x2b78f3=_0x576dad[_0x116f3a(0xc4)](_0xb9d659);_0x3736be&&_0x2b78f3&&_0x4e0fac[_0x116f3a(0xec)]({'annotation':_0x2b78f3,'range':_0x3736be});}function _0x16615b(_0x248632){const _0x530f55=_0x116f3a;for(const _0x49daba of _0x248632)for(const _0x2080d6 of _0x1f0fa9)if(_0x49daba[_0x530f55(0xdc)](_0x2080d6,!_0x4cf006[_0x530f55(0xd0)]))return _0x49daba;return null;}return _0x4e0fac[_0x116f3a(0xc2)]((_0x488af6,_0x43a90e)=>{const _0x5ad3ec=_0x116f3a,_0x90ed6d=_0x488af6[_0x5ad3ec(0xd9)],_0x46f5b3=_0x43a90e[_0x5ad3ec(0xd9)];if(!_0x90ed6d[_0x5ad3ec(0xee)](_0x46f5b3)){if(_0x90ed6d[_0x5ad3ec(0xdc)](_0x46f5b3,!0x0))return 0x1;if(_0x46f5b3[_0x5ad3ec(0xdc)](_0x90ed6d,!0x0))return-0x1;}return _0x488af6[_0x5ad3ec(0xf3)]==_0x24eb50?-0x1:_0x43a90e[_0x5ad3ec(0xf3)]==_0x24eb50?0x1:0x0;})[_0x116f3a(0xd8)](_0x87a6b8=>_0x87a6b8[_0x116f3a(0xf3)]);}get[_0x2ea0fe(0xde)](){const _0x581552=_0x2ea0fe,_0x15d84d=new Map();for(const _0xe75e68 of Array[_0x581552(0xbe)](this[_0x581552(0xe9)]))for(const [_0x202476,_0x3eb795]of _0xe75e68())_0x15d84d[_0x581552(0xe2)](_0x202476,_0x3eb795);return _0x15d84d;}}function _0x4f3a(){const _0x43efe1=['editorannotations-invalid-source-callback','_dataCollectors','hasDomSelection','addSourceCollector','push','getRanges','isEqual','add','fire','refresh','delete','annotation','1549332YFXSLv','54726rhsrbK','document','editing','change:isFocused','requires','registerAnnotation','from','plugins','change:range','blur','sort','291480UGTWTb','getByInnerView','view','393945pTEiYy','directChange','get','update','focusTracker','uiUpdate','cancel','pluginName','selection','1105680ebhlyv','isCollapsed','innerView','EditorAnnotations','listenTo','_editorAnnotations','init','refreshSelectedViews','remove','map','range','function','collection','containsRange','isReadOnly','_editorAnnotationsData','element','editor','has','set','9419557jRJBCO','68BfJBdW','6236960DvtQcT','getOrderedSelectedAnnotations','model'];_0x4f3a=function(){return _0x43efe1;};return _0x4f3a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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)];}
|
|
23
|
+
const _0x24e409=_0x498c;(function(_0x3d2cc4,_0x222594){const _0x311f1c=_0x498c,_0x2b71a0=_0x3d2cc4();while(!![]){try{const _0x4d0268=-parseInt(_0x311f1c(0x108))/0x1+parseInt(_0x311f1c(0x10f))/0x2*(-parseInt(_0x311f1c(0xeb))/0x3)+parseInt(_0x311f1c(0xd7))/0x4*(parseInt(_0x311f1c(0xc9))/0x5)+parseInt(_0x311f1c(0xb6))/0x6*(parseInt(_0x311f1c(0xc3))/0x7)+-parseInt(_0x311f1c(0x103))/0x8+-parseInt(_0x311f1c(0xdd))/0x9+parseInt(_0x311f1c(0x104))/0xa;if(_0x4d0268===_0x222594)break;else _0x2b71a0['push'](_0x2b71a0['shift']());}catch(_0x4d84b2){_0x2b71a0['push'](_0x2b71a0['shift']());}}}(_0x1cab,0x91291));import{Plugin as _0x2367c7}from'ckeditor5/src/core.js';import _0xe5fdcf from'./annotationsuis.js';import _0xaded50 from'./editorannotations.js';import{ContextualBalloon as _0x2a615e}from'ckeditor5/src/ui.js';import{MouseObserver as _0x137d54}from'ckeditor5/src/engine.js';import{CKEditorError as _0x44cb05,Rect as _0x4362bb}from'ckeditor5/src/utils.js';function _0x1cab(){const _0x3edb01=['getClientRects','change:isFocused','_manuallyClosed','switchTo','49kIoYRf','context','_closeAnnotation','_addAnnotationToBalloon','find','showStack','35ZJabpJ','pluginName','register','isActive','push','isAttached','viewRangeToDom','requires','InlineAnnotations','selection','fromRect','top','editor','set','352048yyiYCo','delete','_addedAnnotations','collapse','update','editing','1649223zSwtyw','Esc','attach','inlineannotations-attach-already-attached','updatePosition','plugins','setActiveAnnotation','_setSelectedAnnotations','isFocused','change:height','stopListening','_forceRefresh','editableElement','getFirstRange','3XvTABV','inlineannotations-detach-not-attached','has','detach','length','from','visibleView','_removeAnnotationFromBalloon','remove','left','clear','activeAnnotation','add','hasActive','target','listenTo','get','getOrderedSelectedAnnotations','hasView','init','includes','annotations','inline','domConverter','871960HeFVfz','20060340XCBVug','refresh','inlineannotations-not-allowed-with-context','view','1134402eloGnh','mousedown','document','blur','getByView','keystrokes','focus','1688630sEcYiB','change:visibleView','_selectedAnnotations','targetRect','right','_getBalloonTargetForAnnotation','bottom','destroy','208644qUcEns','width','addObserver','focusTracker','getBoundingClientRect','_balloon','map','every','afterInit'];_0x1cab=function(){return _0x3edb01;};return _0x1cab();}import'./../../theme/annotation-inline.css';export default class c extends _0x2367c7{static get[_0x24e409(0xd0)](){return[_0xaded50,_0x2a615e,_0xe5fdcf];}static get[_0x24e409(0xca)](){const _0x5a8837=_0x24e409;return _0x5a8837(0xd1);}constructor(_0x580df2){const _0x53616c=_0x24e409;super(_0x580df2),_0x580df2[_0x53616c(0xdc)][_0x53616c(0x107)][_0x53616c(0xb8)](_0x137d54),this[_0x53616c(0xce)]=!0x1,this[_0x53616c(0xd6)](_0x53616c(0xf6),null),this[_0x53616c(0x100)]=null,this[_0x53616c(0xc1)]=new Set(),this[_0x53616c(0xbb)]=_0x580df2[_0x53616c(0xe2)][_0x53616c(0xfb)](_0x2a615e),this[_0x53616c(0xd9)]=new Set(),this[_0x53616c(0x111)]=[],this[_0x53616c(0xe8)]=!0x1;}[_0x24e409(0xfe)](){const _0x36d7e8=_0x24e409,_0x1b1a77=this[_0x36d7e8(0xd5)][_0x36d7e8(0xe2)][_0x36d7e8(0xfb)](_0xe5fdcf);_0x1b1a77[_0x36d7e8(0xc4)]===this[_0x36d7e8(0xd5)]&&(_0x1b1a77[_0x36d7e8(0xcb)](_0x36d7e8(0x101),this),this[_0x36d7e8(0xd5)][_0x36d7e8(0x10d)][_0x36d7e8(0xd6)](_0x36d7e8(0xde),(_0x52b04f,_0x1856d9)=>{const _0x29c6af=_0x36d7e8,_0x39a3b6=this[_0x29c6af(0xbb)];if(this[_0x29c6af(0xce)]&&_0x39a3b6[_0x29c6af(0xf1)]){const _0x4087f5=this[_0x29c6af(0x100)][_0x29c6af(0x10c)](_0x39a3b6[_0x29c6af(0xf1)]);_0x4087f5&&this[_0x29c6af(0xc5)](_0x4087f5),_0x1856d9();}}));}[_0x24e409(0xbe)](){const _0x418cd0=_0x24e409,_0x2042b7=this[_0x418cd0(0xd5)][_0x418cd0(0xe2)][_0x418cd0(0xfb)](_0xe5fdcf);_0x2042b7[_0x418cd0(0xc4)]===this[_0x418cd0(0xd5)]&&(_0x2042b7[_0x418cd0(0xf8)]()||_0x2042b7[_0x418cd0(0xc2)](_0x418cd0(0x101)));}[_0x24e409(0xe3)](_0x29257a){const _0x893b90=_0x24e409;_0x29257a!==this[_0x893b90(0xf6)]&&(this[_0x893b90(0xf6)]&&(this[_0x893b90(0xf6)][_0x893b90(0xcc)]=!0x1),_0x29257a&&this[_0x893b90(0xd5)]['ui'][_0x893b90(0xb9)][_0x893b90(0xe5)]&&(this[_0x893b90(0x100)][_0x893b90(0xed)](_0x29257a)&&this[_0x893b90(0xc6)](_0x29257a,!0x0),_0x29257a[_0x893b90(0xcc)]=!0x0),_0x29257a||this[_0x893b90(0xe4)]([]),this[_0x893b90(0xf6)]=_0x29257a);}[_0x24e409(0xdf)](_0x4de46e){const _0x10ac2e=_0x24e409;this[_0x10ac2e(0x100)]=_0x4de46e;const _0x4c5f38=this[_0x10ac2e(0xd5)][_0x10ac2e(0xe2)][_0x10ac2e(0xfb)](_0xe5fdcf),_0x3e13ad=this[_0x10ac2e(0xbb)];if(this[_0x10ac2e(0xce)])throw new _0x44cb05(_0x10ac2e(0xe0),this);if(_0x4c5f38[_0x10ac2e(0xc4)]!==this[_0x10ac2e(0xd5)])throw new _0x44cb05(_0x10ac2e(0x106),this);const _0x191d41=this[_0x10ac2e(0xd5)][_0x10ac2e(0xe2)][_0x10ac2e(0xfb)](_0xaded50);this[_0x10ac2e(0xfa)](_0x191d41,_0x10ac2e(0x105),()=>{const _0x4381c8=_0x10ac2e,_0x1cd121=_0x191d41[_0x4381c8(0xfc)]({'annotations':this[_0x4381c8(0x100)],'activeAnnotation':this[_0x4381c8(0xf6)]});var _0x1d03f3,_0x201315;!this[_0x4381c8(0xe8)]&&(_0x1d03f3=_0x1cd121,_0x201315=this[_0x4381c8(0x111)],_0x1d03f3[_0x4381c8(0xef)]===_0x201315[_0x4381c8(0xef)]&&_0x1d03f3[_0x4381c8(0xbd)](_0x27f83b=>_0x201315[_0x4381c8(0xff)](_0x27f83b)))||(this[_0x4381c8(0xe8)]=!0x1,this[_0x4381c8(0xe4)](_0x1cd121),this[_0x4381c8(0xe3)](_0x1cd121[0x0]||null));}),this[_0x10ac2e(0xfa)](_0x191d41,_0x10ac2e(0x10b),(_0x327e7a,{isAnnotationTracked:_0x2dbe73})=>{const _0x3b9d3a=_0x10ac2e;this[_0x3b9d3a(0xf6)]&&_0x2dbe73(this[_0x3b9d3a(0xf6)])&&(this[_0x3b9d3a(0xe4)]([]),this[_0x3b9d3a(0xe3)](null));}),this[_0x10ac2e(0xfa)](this[_0x10ac2e(0xd5)]['ui'][_0x10ac2e(0xb9)],_0x10ac2e(0xc0),(_0x1f5721,_0x208f59,_0x3d1c09)=>{const _0x5286e6=_0x10ac2e;_0x3d1c09||this[_0x5286e6(0xe3)](null);}),this[_0x10ac2e(0xfa)](_0x4de46e,_0x10ac2e(0xf3),(_0x17deaa,_0x8fb124)=>{const _0x59f1d8=_0x10ac2e;this[_0x59f1d8(0xf2)](_0x8fb124),_0x8fb124===this[_0x59f1d8(0xf6)]&&this[_0x59f1d8(0xe3)](null);}),this[_0x10ac2e(0xfa)](_0x3e13ad,_0x10ac2e(0x110),(_0x146fa5,_0x590ee1,_0x2590f5,_0x1b9b1c)=>{const _0x575133=_0x10ac2e;_0x1b9b1c&&this[_0x575133(0xe7)](_0x1b9b1c);const _0x4f3443=_0x4de46e[_0x575133(0x10c)](_0x2590f5);_0x2590f5&&_0x4f3443&&(this[_0x575133(0xfa)](_0x2590f5,_0x575133(0xe6),()=>{const _0xcd8d98=_0x575133;_0x3e13ad[_0xcd8d98(0xe1)]();}),this[_0x575133(0xfa)](_0x2590f5,_0x575133(0xde),()=>{const _0x1afee0=_0x575133;this[_0x1afee0(0xc5)](_0x4f3443),this[_0x1afee0(0xd5)][_0x1afee0(0xdc)][_0x1afee0(0x107)][_0x1afee0(0x10e)]();}),this[_0x575133(0xf6)]!==_0x4f3443&&this[_0x575133(0xe3)](_0x4f3443));}),this[_0x10ac2e(0xfa)](this[_0x10ac2e(0xd5)]['ui'],_0x10ac2e(0xdb),()=>{const _0x198ed1=_0x10ac2e;_0x3e13ad[_0x198ed1(0xf1)]&&(_0x4de46e[_0x198ed1(0x10c)](_0x3e13ad[_0x198ed1(0xf1)])&&_0x3e13ad[_0x198ed1(0xe1)]());}),this[_0x10ac2e(0xfa)](this[_0x10ac2e(0xd5)][_0x10ac2e(0xdc)][_0x10ac2e(0x107)][_0x10ac2e(0x10a)],_0x10ac2e(0x109),()=>{const _0x5a5fdf=_0x10ac2e;this[_0x5a5fdf(0xe8)]=!0x0,this[_0x5a5fdf(0xc1)][_0x5a5fdf(0xf5)]();}),this[_0x10ac2e(0xd5)][_0x10ac2e(0xdc)][_0x10ac2e(0x107)][_0x10ac2e(0x10a)][_0x10ac2e(0xd2)][_0x10ac2e(0xe9)]&&this[_0x10ac2e(0xd5)][_0x10ac2e(0xdc)][_0x10ac2e(0x107)][_0x10ac2e(0x10e)](),this[_0x10ac2e(0xce)]=!0x0;}[_0x24e409(0xee)](){const _0x28ea67=_0x24e409;if(!this[_0x28ea67(0xce)])throw new _0x44cb05(_0x28ea67(0xec),this);this[_0x28ea67(0xe3)](null);for(const _0x500718 of this[_0x28ea67(0xd9)])this[_0x28ea67(0xf2)](_0x500718);this[_0x28ea67(0xe7)](),this[_0x28ea67(0xce)]=!0x1,this[_0x28ea67(0x100)]=null;}[_0x24e409(0xb5)](){const _0x3d3c68=_0x24e409;this[_0x3d3c68(0xce)]&&this[_0x3d3c68(0xee)]();}[_0x24e409(0xe4)](_0x21623a){const _0x30f303=_0x24e409;for(const _0x5ce201 of this[_0x30f303(0x111)])_0x21623a[_0x30f303(0xff)](_0x5ce201)||this[_0x30f303(0xc1)][_0x30f303(0xd8)](_0x5ce201);for(const _0xb0f293 of this[_0x30f303(0x100)])_0x21623a[_0x30f303(0xff)](_0xb0f293)||this[_0x30f303(0xf2)](_0xb0f293);if(this[_0x30f303(0xd5)]['ui'][_0x30f303(0xb9)][_0x30f303(0xe5)]){for(const _0x2ddaec of _0x21623a)this[_0x30f303(0xc6)](_0x2ddaec);}this[_0x30f303(0x111)]=_0x21623a;}[_0x24e409(0xc6)](_0x50d61d,_0x2d470d=!0x1){const _0x3e57b3=_0x24e409;this[_0x3e57b3(0xc1)][_0x3e57b3(0xed)](_0x50d61d)||(this[_0x3e57b3(0xd9)][_0x3e57b3(0xed)](_0x50d61d)||this[_0x3e57b3(0xbb)][_0x3e57b3(0xfd)](_0x50d61d[_0x3e57b3(0x107)])||(this[_0x3e57b3(0xd9)][_0x3e57b3(0xf7)](_0x50d61d),this[_0x3e57b3(0xbb)][_0x3e57b3(0xf7)]({'stackId':_0x50d61d[_0x3e57b3(0x107)]['id'],'view':_0x50d61d[_0x3e57b3(0x107)],'position':{'target':()=>this[_0x3e57b3(0x114)](_0x50d61d)}})),_0x2d470d&&this[_0x3e57b3(0xbb)][_0x3e57b3(0xc8)](_0x50d61d[_0x3e57b3(0x107)]['id']));}[_0x24e409(0x114)](_0x58c030){const _0x1109f2=_0x24e409,_0x16c33a=_0x58c030[_0x1109f2(0xf9)],_0x589b7e=this[_0x1109f2(0xd5)][_0x1109f2(0xdc)][_0x1109f2(0x107)],_0x3caca3=_0x589b7e[_0x1109f2(0x10a)][_0x1109f2(0xd2)][_0x1109f2(0xea)](),_0x3dc4fd=_0x589b7e[_0x1109f2(0x102)][_0x1109f2(0xcf)](_0x3caca3);if(_0x3dc4fd[_0x1109f2(0xda)](!0x0),_0x16c33a){if(_0x16c33a instanceof _0x4362bb)return _0x16c33a;let _0x109654=[];for(const _0x5c872 of _0x16c33a)_0x109654[_0x1109f2(0xcd)](...(_0x591c48=_0x5c872[_0x1109f2(0xbf)](),Array[_0x1109f2(0xf0)](_0x591c48)[_0x1109f2(0xbc)](DOMRect[_0x1109f2(0xd3)])));_0x109654=function(_0x4556ec){const _0x2010f3=_0x1109f2,_0x1a2d82=[];let _0x81bd39=_0x4556ec[0x0];for(let _0x201ccf=0x1;_0x201ccf<_0x4556ec[_0x2010f3(0xef)];_0x201ccf++)F(_0x81bd39,_0x4556ec[_0x201ccf])?_0x81bd39[_0x2010f3(0xb7)]+=_0x4556ec[_0x201ccf][_0x2010f3(0xb7)]:(_0x1a2d82[_0x2010f3(0xcd)](_0x81bd39),_0x81bd39=_0x4556ec[_0x201ccf]);return _0x1a2d82[_0x2010f3(0xcd)](_0x81bd39),_0x1a2d82;}(_0x109654);const _0x54829c=_0x3dc4fd[_0x1109f2(0xba)]();return _0x109654[_0x1109f2(0xc7)](_0x5eaae4=>_0x5eaae4[_0x1109f2(0xd4)]<=_0x54829c[_0x1109f2(0xd4)]&&_0x5eaae4[_0x1109f2(0x115)]>=_0x54829c[_0x1109f2(0x115)]&&_0x5eaae4[_0x1109f2(0xf4)]<=_0x54829c[_0x1109f2(0xf4)]&&_0x5eaae4[_0x1109f2(0x113)]>=_0x54829c[_0x1109f2(0x113)])||_0x109654[0x0];}var _0x591c48;return _0x58c030[_0x1109f2(0x112)]||_0x3dc4fd;}[_0x24e409(0xf2)](_0x451357){const _0x5d7a73=_0x24e409;this[_0x5d7a73(0xd9)][_0x5d7a73(0xed)](_0x451357)&&this[_0x5d7a73(0xbb)][_0x5d7a73(0xfd)](_0x451357[_0x5d7a73(0x107)])&&(this[_0x5d7a73(0xd9)][_0x5d7a73(0xd8)](_0x451357),this[_0x5d7a73(0xbb)][_0x5d7a73(0xf3)](_0x451357[_0x5d7a73(0x107)]));}[_0x24e409(0xc5)](_0x365754){const _0x567b57=_0x24e409;this[_0x567b57(0xc1)][_0x567b57(0xf7)](_0x365754),this[_0x567b57(0xf2)](_0x365754);}}function _0x498c(_0x5ca0b7,_0x138975){const _0x1cab4b=_0x1cab();return _0x498c=function(_0x498ca2,_0x3d536b){_0x498ca2=_0x498ca2-0xb5;let _0x163060=_0x1cab4b[_0x498ca2];return _0x163060;},_0x498c(_0x5ca0b7,_0x138975);}function F(_0x11b5d7,_0x3082a1){const _0x33b465=_0x24e409;return _0x11b5d7[_0x33b465(0xd4)]===_0x3082a1[_0x33b465(0xd4)]&&_0x11b5d7[_0x33b465(0x115)]===_0x3082a1[_0x33b465(0x115)]&&_0x11b5d7[_0x33b465(0x113)]===_0x3082a1[_0x33b465(0xf4)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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);}}
|
|
23
|
+
const _0x2b53c=_0x2ab2;function _0x1682(){const _0x948b67=['narrowsidebar-attach-already-attached','get','attach','Esc','contains','pin','_destroyEditorAnnotationsIntegration','stopListening','477640cRhRKa','focus','setActiveAnnotation','_showBalloon','northArrowSouth','low','init','change:container','uiUpdate','preventDefault','_annotationToNarrowView','view','length','narrowsidebar-detach-not-attached','_integrateWithEditorAnnotations','off','detachFromDom','108057NZyZuY','isAttached','detach','execute','preventClosingBalloon','type','has','2652376KNiVdk','balloonPanelView','annotationType','bodyCollection','clear','_detachListeners','keydown','southArrowNorth','_manuallyClosedAnnotationViews','plugins','_annotations','addAnnotation','getByView','blur','3141875oXWfRF','_updateBalloonPosition','16vKULJa','defaultPositions','_selectedAnnotations','content','create','values','_domEmitter','from','_refreshPositioning','locale','_hideBalloon','ready','delete','attachToDom','resize','includes','set:container','addEventListener','destroy','target','high','stop','refresh','removeEventListener','unpin','requires','add','annotations','narrowSidebar','_refreshPositioningDebounced','activeAnnotation','listenTo','_attachToContainer','_editorAnnotations','southArrowNorthEast','_detachFromContainer','context','esc','hasDomSelection','focusableElements','pluginName','number','first','EditorAnnotations','_setSelectedAnnotations','getOrderedSelectedAnnotations','northArrowSouthEast','ck-sidebar--narrow','bind','2711373LhPLPY','isDirty','find','mousedown','refreshPositioning','1079460poLFOb','remove','rearrange','keyCode','936012FFtYCX','isVisible','northArrowSouthWest','southArrowNorthWest','_attachListeners','element','cancel','change:height','register','set','editors','NarrowSidebar','getSidebarItemView','stopPropagation'];_0x1682=function(){return _0x948b67;};return _0x1682();}(function(_0x5f1460,_0x25d5a5){const _0x5bfb05=_0x2ab2,_0x564e50=_0x5f1460();while(!![]){try{const _0x27aca1=-parseInt(_0x5bfb05(0xa4))/0x1+-parseInt(_0x5bfb05(0x93))/0x2+parseInt(_0x5bfb05(0xf5))/0x3+-parseInt(_0x5bfb05(0xab))/0x4+parseInt(_0x5bfb05(0xb9))/0x5+-parseInt(_0x5bfb05(0xf1))/0x6+parseInt(_0x5bfb05(0xec))/0x7*(parseInt(_0x5bfb05(0xbb))/0x8);if(_0x27aca1===_0x25d5a5)break;else _0x564e50['push'](_0x564e50['shift']());}catch(_0x153151){_0x564e50['push'](_0x564e50['shift']());}}}(_0x1682,0x80378));import{ContextPlugin as _0x3fef7d,Context as _0x2fed4b}from'ckeditor5/src/core.js';import _0x1d578b from'./annotationsuis.js';import _0x465b5d from'./sidebar.js';function _0x2ab2(_0x185530,_0x1377cc){const _0x16829a=_0x1682();return _0x2ab2=function(_0x2ab203,_0x3a6956){_0x2ab203=_0x2ab203-0x8c;let _0x4a0b80=_0x16829a[_0x2ab203];return _0x4a0b80;},_0x2ab2(_0x185530,_0x1377cc);}import _0x91e61d from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x3e83af,BodyCollection as _0xd085b1}from'ckeditor5/src/ui.js';import{CKEditorError as _0x3dd665,DomEmitterMixin as _0x4465ac,keyCodes as _0x15f83e,Collection as _0x51c458}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x2aeb3a}from'lodash-es';import _0x1dec5d from'./editorannotations.js';export default class i extends _0x3fef7d{static get[_0x2b53c(0xd4)](){return[_0x465b5d,_0x1d578b];}static get[_0x2b53c(0xe3)](){const _0x146c58=_0x2b53c;return _0x146c58(0x100);}constructor(_0x502890){const _0x202849=_0x2b53c;super(_0x502890),this[_0x202849(0xa5)]=!0x1,this[_0x202849(0xb3)]=new Set(),this[_0x202849(0xc1)]=Object[_0x202849(0xbf)](_0x4465ac),this[_0x202849(0x9d)]=new Map(),this[_0x202849(0xfe)](_0x202849(0xd9),null),this[_0x202849(0xd6)]=null,this[_0x202849(0xbd)]=[],this[_0x202849(0xdc)]=new _0x51c458(),this[_0x202849(0xd8)]=_0x2aeb3a(()=>{const _0x3e4381=_0x202849;this[_0x3e4381(0xc3)]();},0xfa,{'leading':!0x1});}[_0x2b53c(0x99)](){const _0x15d9e2=_0x2b53c;this[_0x15d9e2(0xdf)][_0x15d9e2(0xb4)][_0x15d9e2(0x8c)](_0x1d578b)[_0x15d9e2(0xfd)](_0x15d9e2(0xd7),this),this[_0x15d9e2(0xae)]=new _0xd085b1(this[_0x15d9e2(0xdf)][_0x15d9e2(0xc4)]),this[_0x15d9e2(0xac)]=new _0x3e83af(this[_0x15d9e2(0xdf)][_0x15d9e2(0xc4)]),this[_0x15d9e2(0xae)][_0x15d9e2(0xc8)](),this[_0x15d9e2(0xae)][_0x15d9e2(0xd5)](this[_0x15d9e2(0xac)]);}[_0x2b53c(0x8d)](_0x32ae71){const _0x18d144=_0x2b53c;this[_0x18d144(0xd6)]=_0x32ae71;const _0x22c7f=this[_0x18d144(0xdf)][_0x18d144(0xb4)][_0x18d144(0x8c)](_0x465b5d),_0x4cfe96=this[_0x18d144(0xac)];if(_0x22c7f[_0x18d144(0xb5)]=_0x32ae71,this[_0x18d144(0xa5)])throw new _0x3dd665(_0x18d144(0x103),this);this[_0x18d144(0xa5)]=!0x0,this[_0x18d144(0xda)](_0x22c7f,_0x18d144(0xcb),()=>{const _0x4ef859=_0x18d144;this[_0x4ef859(0xa6)](),this[_0x4ef859(0xda)](_0x22c7f,_0x4ef859(0x9a),_0x26e1f6=>{const _0x8c29f6=_0x4ef859;_0x26e1f6[_0x8c29f6(0xa2)](),this[_0x8c29f6(0x8d)](_0x32ae71);});}),_0x22c7f[_0x18d144(0xdb)]({'viewClass':_0x18d144(0xea),'spaceBetweenItems':0x5});const _0x5ddb2b=_0x342f5b=>{const _0x52ab66=_0x18d144,_0x240977=new _0x91e61d(this[_0x52ab66(0xdf)][_0x52ab66(0xc4)]);_0x22c7f[_0x52ab66(0xb6)](_0x342f5b,_0x240977),this[_0x52ab66(0x9d)][_0x52ab66(0xfe)](_0x342f5b,_0x240977),_0x240977[_0x52ab66(0xeb)](_0x52ab66(0xed),_0x52ab66(0xad),_0x52ab66(0xe4))['to'](_0x342f5b[_0x52ab66(0x9e)],_0x52ab66(0xed),_0x52ab66(0xa9),_0x52ab66(0x9f)),_0x240977['on'](_0x52ab66(0xa7),()=>{const _0x5a5ac1=_0x52ab66;this[_0x5a5ac1(0xb3)][_0x5a5ac1(0xaf)](),_0x4cfe96[_0x5a5ac1(0xbe)][_0x5a5ac1(0xe5)]!==_0x342f5b[_0x5a5ac1(0x9e)]?(this[_0x5a5ac1(0x96)](_0x342f5b),_0x342f5b[_0x5a5ac1(0x9e)][_0x5a5ac1(0xfa)][_0x5a5ac1(0x94)](),this[_0x5a5ac1(0x95)](_0x342f5b)):this[_0x5a5ac1(0x95)](null);});};for(const _0x39d6d2 of _0x32ae71)_0x5ddb2b(_0x39d6d2);this[_0x18d144(0xda)](_0x32ae71,_0x18d144(0xd5),(_0x10a2e0,_0x18ef63)=>{_0x5ddb2b(_0x18ef63);}),this[_0x18d144(0xda)](_0x32ae71,_0x18d144(0xf2),(_0x49b98b,_0x7f49f5,_0x1297c3)=>{const _0x4ad2df=_0x18d144;this[_0x4ad2df(0x9d)][_0x4ad2df(0x8c)](_0x7f49f5)[_0x4ad2df(0xcd)](),this[_0x4ad2df(0x9d)][_0x4ad2df(0xc7)](_0x7f49f5),_0x22c7f[_0x4ad2df(0xf3)]({'removedAnnotation':_0x7f49f5,'previousAnnotation':_0x32ae71[_0x4ad2df(0x8c)](_0x1297c3-0x1),'nextAnnotation':_0x32ae71[_0x4ad2df(0x8c)](_0x1297c3+0x1)}),_0x7f49f5===this[_0x4ad2df(0xd9)]&&this[_0x4ad2df(0x95)](null);},{'priority':_0x18d144(0x98)}),this[_0x18d144(0xda)](_0x32ae71,_0x18d144(0x94),(_0x5eaaeb,_0x21ebc3)=>{const _0x4592e9=_0x18d144;this[_0x4592e9(0x95)](_0x21ebc3);}),this[_0x18d144(0xda)](_0x32ae71,_0x18d144(0xb8),()=>{const _0x2f5a96=_0x18d144;this[_0x2f5a96(0x95)](null);}),this[_0x18d144(0xc1)][_0x18d144(0xda)](document,_0x18d144(0xb1),(_0xfeb33f,_0x1fad8a)=>{const _0x441d23=_0x18d144;_0x1fad8a[_0x441d23(0xf4)]===_0x15f83e[_0x441d23(0xe0)]&&_0x4cfe96[_0x441d23(0xf6)]&&(this[_0x441d23(0xb3)][_0x441d23(0xd5)](_0x4cfe96[_0x441d23(0xbe)][_0x441d23(0xe5)]),this[_0x441d23(0xc5)](),_0x1fad8a[_0x441d23(0x102)](),_0x1fad8a[_0x441d23(0x9c)]());}),this[_0x18d144(0xc1)][_0x18d144(0xda)](document,_0x18d144(0xef),(_0x151f88,_0xf7170a)=>{const _0x41d489=_0x18d144,_0x5e4dc5=_0xf7170a[_0x41d489(0xce)];_0x4cfe96[_0x41d489(0xf6)]&&_0x4cfe96[_0x41d489(0xfa)][_0x41d489(0x8f)](_0x5e4dc5)||_0x22c7f[_0x41d489(0x9e)][_0x41d489(0xfa)][_0x41d489(0x8f)](_0x5e4dc5)||_0x151f88[_0x41d489(0xa8)]||this[_0x41d489(0xd9)]&&this[_0x41d489(0xd9)][_0x41d489(0xe2)][_0x41d489(0xee)](_0x18f103=>_0x18f103[_0x41d489(0x8f)](_0x5e4dc5))||(this[_0x41d489(0xb3)][_0x41d489(0xaf)](),this[_0x41d489(0xc5)](),this[_0x41d489(0x95)](null));});const _0x3cdf8a=this[_0x18d144(0xdf)]instanceof _0x2fed4b?this[_0x18d144(0xdf)][_0x18d144(0xff)]:new _0x51c458([this[_0x18d144(0xdf)]]);for(const _0x1c349a of _0x3cdf8a)this[_0x18d144(0xa1)](_0x1c349a);this[_0x18d144(0xda)](_0x3cdf8a,_0x18d144(0xd5),(_0x1030c5,_0x14910e)=>{const _0x3b91d6=_0x18d144;this[_0x3b91d6(0xda)](_0x14910e,_0x3b91d6(0xc6),()=>{const _0x3c041f=_0x3b91d6;this[_0x3c041f(0xa1)](_0x14910e);});}),this[_0x18d144(0xda)](_0x3cdf8a,_0x18d144(0xf2),(_0x16dfc5,_0x38b4ba)=>{const _0x3e6758=_0x18d144;_0x38b4ba[_0x3e6758(0xb4)][_0x3e6758(0xaa)](_0x3e6758(0xe6))&&this[_0x3e6758(0x91)](_0x38b4ba[_0x3e6758(0xb4)][_0x3e6758(0x8c)](_0x3e6758(0xe6)));}),window[_0x18d144(0xcc)](_0x18d144(0xc9),this[_0x18d144(0xd8)]),this[_0x18d144(0xc3)]();}[_0x2b53c(0x95)](_0x481751){const _0x4f31b=_0x2b53c;if(_0x481751===this[_0x4f31b(0xd9)])return;const _0x46ae15=this[_0x4f31b(0xdf)][_0x4f31b(0xb4)][_0x4f31b(0x8c)](_0x465b5d);if(_0x46ae15[_0x4f31b(0xd1)]({'blurredAnnotation':this[_0x4f31b(0xd9)],'activatedAnnotation':_0x481751,'disableAnimationOnActivatedAnnotation':!0x0}),_0x481751)_0x46ae15[_0x4f31b(0x101)](_0x481751)?this[_0x4f31b(0x96)](_0x481751):this[_0x4f31b(0xc5)]();else this[_0x4f31b(0xc5)]();this[_0x4f31b(0xd9)]=_0x481751;}[_0x2b53c(0xa6)](){const _0x14496f=_0x2b53c;if(!this[_0x14496f(0xa5)])throw new _0x3dd665(_0x14496f(0xa0),this);this[_0x14496f(0x95)](null);const _0x1f5868=this[_0x14496f(0xdf)][_0x14496f(0xb4)][_0x14496f(0x8c)](_0x465b5d);this[_0x14496f(0xc5)](),Array[_0x14496f(0xc2)](this[_0x14496f(0x9d)][_0x14496f(0xc0)](),_0x5528bc=>_0x5528bc[_0x14496f(0xcd)]()),this[_0x14496f(0x9d)][_0x14496f(0xaf)](),_0x1f5868[_0x14496f(0xde)](this[_0x14496f(0xd6)]),this[_0x14496f(0x92)](),this[_0x14496f(0xc1)][_0x14496f(0x92)](),this[_0x14496f(0xdf)]instanceof _0x2fed4b&&this[_0x14496f(0x92)](this[_0x14496f(0xdf)][_0x14496f(0xff)]);for(const _0x57f5ad of Array[_0x14496f(0xc2)](this[_0x14496f(0xdc)]))this[_0x14496f(0x91)](_0x57f5ad);window[_0x14496f(0xd2)](_0x14496f(0xc9),this[_0x14496f(0xd8)]),this[_0x14496f(0xd8)][_0x14496f(0xfb)](),this[_0x14496f(0xbd)]=[],this[_0x14496f(0xa5)]=!0x1,this[_0x14496f(0xd6)]=null;}[_0x2b53c(0xcd)](){const _0x250476=_0x2b53c;this[_0x250476(0xa5)]&&this[_0x250476(0xa6)](),this[_0x250476(0xae)][_0x250476(0xa3)]();}[_0x2b53c(0xa1)](_0x2d8742){const _0x17070c=_0x2b53c,_0x296161=_0x2d8742[_0x17070c(0xb4)][_0x17070c(0x8c)](_0x1dec5d),_0x23dfd0=this[_0x17070c(0xdf)][_0x17070c(0xb4)][_0x17070c(0x8c)](_0x465b5d),_0x504f35=this[_0x17070c(0xd6)],_0x4aaa90=this[_0x17070c(0xac)],_0x47c72f=()=>{const _0xf0c634=_0x17070c,_0x1f1189=_0x296161[_0xf0c634(0xe8)]({'annotations':this[_0xf0c634(0xd6)],'activeAnnotation':this[_0xf0c634(0xd9)]});this[_0xf0c634(0xe7)](_0x1f1189),this[_0xf0c634(0x95)](_0x1f1189[0x0]||null);};this[_0x17070c(0xda)](_0x296161,_0x17070c(0xd1),_0x47c72f),this[_0x17070c(0xda)](_0x296161,_0x17070c(0xb8),(_0x350e10,{isAnnotationTracked:_0x299c02})=>{const _0x454615=_0x17070c;this[_0x454615(0xd9)]&&_0x299c02(this[_0x454615(0xd9)])&&(this[_0x454615(0xe7)]([]),this[_0x454615(0x95)](null));}),this[_0x17070c(0xda)](_0x296161,_0x17070c(0x9b),()=>{const _0x25f661=_0x17070c;this[_0x25f661(0xd8)]();}),this[_0x17070c(0xda)](_0x504f35,_0x17070c(0xb8),_0x5d8d55=>{const _0x222cdc=_0x17070c;_0x296161[_0x222cdc(0xe1)]()&&_0x5d8d55[_0x222cdc(0xd0)]();},{'priority':_0x17070c(0xcf)}),this[_0x17070c(0xda)](this[_0x17070c(0xc1)],_0x17070c(0xef),(_0x2ce8ef,_0x5aed29)=>{const _0x5b276a=_0x17070c,_0x49e2da=_0x5aed29[_0x5b276a(0xce)];_0x4aaa90[_0x5b276a(0xf6)]&&_0x4aaa90[_0x5b276a(0xfa)][_0x5b276a(0x8f)](_0x49e2da)||_0x23dfd0[_0x5b276a(0x9e)][_0x5b276a(0xfa)][_0x5b276a(0x8f)](_0x49e2da)||this[_0x5b276a(0xd9)]&&_0x296161[_0x5b276a(0xe1)]()&&(_0x47c72f(),_0x2ce8ef[_0x5b276a(0xa8)]=!0x0);},{'priority':_0x17070c(0xcf)}),this[_0x17070c(0xdc)][_0x17070c(0xd5)](_0x296161);}[_0x2b53c(0x91)](_0x1db0bf){const _0x35d8b8=_0x2b53c;_0x1db0bf&&(this[_0x35d8b8(0x92)](_0x1db0bf),this[_0x35d8b8(0xdc)][_0x35d8b8(0xf2)](_0x1db0bf));}[_0x2b53c(0xe7)](_0x481c0f){const _0x423644=_0x2b53c;for(const _0x433eb2 of this[_0x423644(0xbd)])_0x481c0f[_0x423644(0xca)](_0x433eb2)||this[_0x423644(0xb3)][_0x423644(0xc7)](_0x433eb2[_0x423644(0x9e)]);this[_0x423644(0xbd)]=_0x481c0f;}[_0x2b53c(0xc3)](){const _0x126e26=_0x2b53c,_0x3e2d79=this[_0x126e26(0xac)];this[_0x126e26(0xd6)][_0x126e26(0xf0)](),_0x3e2d79[_0x126e26(0xf6)]&&this[_0x126e26(0xba)]();}[_0x2b53c(0x96)](_0x11ba31){const _0x5c6d89=_0x2b53c;if(this[_0x5c6d89(0xb3)][_0x5c6d89(0xaa)](_0x11ba31[_0x5c6d89(0x9e)]))return;const _0x117535=this[_0x5c6d89(0xac)][_0x5c6d89(0xbe)][_0x5c6d89(0xe5)];_0x117535!==_0x11ba31[_0x5c6d89(0x9e)]?(_0x117535&&this[_0x5c6d89(0xb0)](_0x117535),this[_0x5c6d89(0xf9)](_0x11ba31[_0x5c6d89(0x9e)]),this[_0x5c6d89(0xac)][_0x5c6d89(0xbe)][_0x5c6d89(0xaf)](),this[_0x5c6d89(0xac)][_0x5c6d89(0xbe)][_0x5c6d89(0xd5)](_0x11ba31[_0x5c6d89(0x9e)]),this[_0x5c6d89(0xba)]()):this[_0x5c6d89(0xba)]();}[_0x2b53c(0xba)](){const _0x4793d7=_0x2b53c,_0x3ff0bc=this[_0x4793d7(0xac)][_0x4793d7(0xbe)][_0x4793d7(0xe5)],_0x71847e=_0x3ff0bc&&this[_0x4793d7(0xd6)][_0x4793d7(0xb7)](_0x3ff0bc);if(!_0x71847e||!this[_0x4793d7(0x9d)][_0x4793d7(0xaa)](_0x71847e))return;const _0x46397d=this[_0x4793d7(0x9d)][_0x4793d7(0x8c)](_0x71847e)[_0x4793d7(0xfa)],_0x4bd201=(function(){const _0x4381b6=_0x4793d7,_0x4f4fa0=_0x3e83af[_0x4381b6(0xbc)];return[_0x4f4fa0[_0x4381b6(0xdd)],_0x4f4fa0[_0x4381b6(0xe9)],_0x4f4fa0[_0x4381b6(0xb2)],_0x4f4fa0[_0x4381b6(0x97)],_0x4f4fa0[_0x4381b6(0xf8)],_0x4f4fa0[_0x4381b6(0xf7)]];}());this[_0x4793d7(0xac)][_0x4793d7(0x90)]({'target':_0x46397d,'positions':_0x4bd201});}[_0x2b53c(0xc5)](){const _0x156097=_0x2b53c,_0x2ce504=this[_0x156097(0xac)],_0x3163ca=_0x2ce504[_0x156097(0xbe)][_0x156097(0xe5)];_0x3163ca&&(this[_0x156097(0xb0)](_0x3163ca),_0x2ce504[_0x156097(0xd3)](),_0x2ce504[_0x156097(0xbe)][_0x156097(0xaf)]());}[_0x2b53c(0xf9)](_0x4ce563){const _0xf2257c=_0x2b53c;this[_0xf2257c(0xda)](_0x4ce563,_0xf2257c(0xfc),()=>this[_0xf2257c(0xba)]()),this[_0xf2257c(0xda)](_0x4ce563,_0xf2257c(0x8e),(_0x256ff3,_0xbf5ee7)=>{const _0x5d2483=_0xf2257c;this[_0x5d2483(0xb3)][_0x5d2483(0xd5)](_0x4ce563),this[_0x5d2483(0xc5)](),_0xbf5ee7();});}[_0x2b53c(0xb0)](_0x1ff3a9){const _0x336f06=_0x2b53c;this[_0x336f06(0x92)](_0x1ff3a9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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)];}
|
|
23
|
+
function _0x1ed7(){const _0x1f6320=['clear','Sidebar','nodeType','appendChild','max','bottom','_annotationToSidebarItemView','7GPkRGj','class','listenTo','_destroySidebarItemView','element','view','locale','minHeight','addAnnotation','height','sidebar-setcontainer-invalid-element','sidebar-attachtocontainer-missing-container','_attachToContainer','target','_alignForTopChange','set','_recalculate','_annotations','isActive','getIndex','_alignToTargetRect','getSidebarItemView','_getMaxAvailableTop','_sidebarItemViewToAnnotation','isAnimationDisabled','rearrange','801494XgmVVa','_detachFromContainer','_lastItem','_alignAfterItem','_alignBeforeItem','4ONkEBE','_activeAnnotation','_getItemAfter','_setItemTop','_getTargetTop','_recalculateBuffer','unbind','container','config','render','delete','change:targetRect','context','bind','change:top','_spaceBetweenItems','2061993xMGYyb','object','1774035MhpRVw','_getItemBefore','updateHeight','list','refresh','content','sidebar.preventScrollOutOfView','push','remove','pluginName','define','add','change:_lastItem','destroy','_alignForBottomChange','stopListening','targetRect','setContainer','549010uikZRO','_updateLastItem','length','sidebar.container','init','_targetTop','445225wcAwXZ','get','6845048hhKqMP','change:bottom','6060924UyAAAc','last','_createSidebarView','top'];_0x1ed7=function(){return _0x1f6320;};return _0x1ed7();}const _0x744095=_0x28d7;(function(_0x29391b,_0x2b7033){const _0x4314db=_0x28d7,_0x4c4f61=_0x29391b();while(!![]){try{const _0xa21bce=parseInt(_0x4314db(0x10f))/0x1+-parseInt(_0x4314db(0xe0))/0x2+-parseInt(_0x4314db(0xf5))/0x3*(-parseInt(_0x4314db(0xe5))/0x4)+-parseInt(_0x4314db(0x109))/0x5+-parseInt(_0x4314db(0x113))/0x6+-parseInt(_0x4314db(0x11e))/0x7*(-parseInt(_0x4314db(0x111))/0x8)+parseInt(_0x4314db(0xf7))/0x9;if(_0xa21bce===_0x2b7033)break;else _0x4c4f61['push'](_0x4c4f61['shift']());}catch(_0x57c8df){_0x4c4f61['push'](_0x4c4f61['shift']());}}}(_0x1ed7,0xa2417));import{ContextPlugin as _0x43e671}from'ckeditor5/src/core.js';import{Rect as _0x49c8b4,CKEditorError as _0xb34fca}from'ckeditor5/src/utils.js';import _0x4d93cc from'./view/sidebarview.js';function _0x28d7(_0x2aaa88,_0x42d221){const _0x1ed708=_0x1ed7();return _0x28d7=function(_0x28d7b9,_0x544fee){_0x28d7b9=_0x28d7b9-0xde;let _0x4ff1ea=_0x1ed708[_0x28d7b9];return _0x4ff1ea;},_0x28d7(_0x2aaa88,_0x42d221);}import _0x980393 from'./view/sidebaritemview.js';export default class z extends _0x43e671{static get[_0x744095(0x100)](){const _0x19d8be=_0x744095;return _0x19d8be(0x118);}constructor(_0x210648){const _0x640982=_0x744095;super(_0x210648),this[_0x640982(0x12d)](_0x640982(0xe2),void 0x0),this[_0x640982(0x123)]=this[_0x640982(0x115)](),this[_0x640982(0x12d)](_0x640982(0xec),null),this[_0x640982(0xf4)]=0x19,this[_0x640982(0x135)]=new Map(),this[_0x640982(0x11d)]=new Map(),this[_0x640982(0xf1)][_0x640982(0xed)][_0x640982(0x101)](_0x640982(0xfd),!0x1),this[_0x640982(0x12f)]=null,this[_0x640982(0xe6)]=null,this[_0x640982(0xea)]=[];}[_0x744095(0x10d)](){const _0x4b2582=_0x744095,_0x5a26bc=this[_0x4b2582(0xf1)][_0x4b2582(0xed)][_0x4b2582(0x110)](_0x4b2582(0x10c));_0x5a26bc&&this[_0x4b2582(0x108)](_0x5a26bc);}[_0x744095(0x108)](_0x31936c){const _0x299e83=_0x744095;if(!y(_0x31936c))throw new _0xb34fca(_0x299e83(0x128));this[_0x299e83(0xec)]=_0x31936c;}[_0x744095(0x12a)]({viewClass:_0x467b9f='',spaceBetweenItems:_0x5122e9=0x19}={}){const _0x44203b=_0x744095;if(!y(this[_0x44203b(0xec)]))throw new _0xb34fca(_0x44203b(0x129),this);this[_0x44203b(0xec)][_0x44203b(0x11a)](this[_0x44203b(0x123)][_0x44203b(0x122)]),this[_0x44203b(0x123)][_0x44203b(0x11f)]=_0x467b9f,this[_0x44203b(0xf4)]=_0x5122e9;}[_0x744095(0xdf)]({removedAnnotation:_0x118406,previousAnnotation:_0x4b85b0,nextAnnotation:_0x5dde56}){const _0x281a43=_0x744095,_0x316877=this[_0x281a43(0x133)](_0x118406);this[_0x281a43(0x123)][_0x281a43(0xfa)][_0x281a43(0xff)](_0x316877),this[_0x281a43(0x121)](_0x118406),_0x4b85b0&&this[_0x281a43(0x132)](this[_0x281a43(0x133)](_0x4b85b0)),_0x5dde56&&this[_0x281a43(0x132)](this[_0x281a43(0x133)](_0x5dde56)),this[_0x281a43(0x10a)]();}[_0x744095(0xfb)]({blurredAnnotation:_0x3c746f,activatedAnnotation:_0x3acc48,disableAnimationOnActivatedAnnotation:_0x59b92a}){const _0x389bc4=_0x744095;if(this[_0x389bc4(0xe6)]=_0x3acc48,_0x3c746f){_0x3c746f[_0x389bc4(0x130)]=!0x1;const _0x1c4a84=this[_0x389bc4(0x133)](_0x3c746f);_0x1c4a84&&_0x59b92a&&(_0x1c4a84[_0x389bc4(0xde)]=!0x1);}if(_0x3acc48){const _0x33b42e=this[_0x389bc4(0x133)](_0x3acc48);_0x33b42e&&(_0x3acc48[_0x389bc4(0x130)]=!0x0,_0x59b92a&&(_0x33b42e[_0x389bc4(0xde)]=!0x0,_0x33b42e[_0x389bc4(0x116)]+=0x1),this[_0x389bc4(0x132)](_0x33b42e));}}[_0x744095(0xe1)](_0xc8068d){const _0x416b01=_0x744095;if(this[_0x416b01(0x123)][_0x416b01(0x122)][_0x416b01(0xff)](),_0xc8068d){for(const _0x129ace of _0xc8068d)this[_0x416b01(0x121)](_0x129ace);}this[_0x416b01(0x123)][_0x416b01(0xfa)][_0x416b01(0x117)](),this[_0x416b01(0x123)][_0x416b01(0x11f)]='',this[_0x416b01(0xe2)]=null;}[_0x744095(0x126)](_0x366d45,_0xfa6f15){const _0x236fb2=_0x744095;_0xfa6f15||(_0xfa6f15=_0x366d45[_0x236fb2(0x123)]);const _0x3bfbba=new _0x980393(this[_0x236fb2(0xf1)][_0x236fb2(0x124)]);this[_0x236fb2(0x135)][_0x236fb2(0x12d)](_0x3bfbba,_0x366d45),this[_0x236fb2(0x11d)][_0x236fb2(0x12d)](_0x366d45,_0x3bfbba),_0x3bfbba[_0x236fb2(0xfc)][_0x236fb2(0x102)](_0xfa6f15),this[_0x236fb2(0x120)](_0x366d45[_0x236fb2(0x123)],_0x236fb2(0xf0),(_0x2ab855,_0x54a05a,_0x45207f)=>{const _0x1af81c=_0x236fb2,_0x4abfaf=this[_0x1af81c(0xe9)](_0x366d45,_0x45207f);_0x3bfbba[_0x1af81c(0x10e)]!=_0x4abfaf&&(_0x3bfbba[_0x1af81c(0x10e)]=_0x4abfaf,this[_0x1af81c(0xe8)](_0x3bfbba,_0x4abfaf));}),this[_0x236fb2(0x120)](_0x3bfbba,_0x236fb2(0xf3),()=>{const _0x57de16=_0x236fb2;this[_0x57de16(0x12e)](_0x3bfbba,_0x57de16(0x116));}),this[_0x236fb2(0x120)](_0x3bfbba,_0x236fb2(0x112),()=>{const _0x4d5c6f=_0x236fb2;this[_0x4d5c6f(0x12e)](_0x3bfbba,_0x4d5c6f(0x11c));}),this[_0x236fb2(0x132)](_0x3bfbba);const _0x29ae94=this[_0x236fb2(0xf8)](_0x3bfbba);if(_0x29ae94)this[_0x236fb2(0xe3)](_0x29ae94,_0x3bfbba)||this[_0x236fb2(0x132)](_0x3bfbba);else this[_0x236fb2(0x132)](_0x3bfbba);return this[_0x236fb2(0x10a)](),this[_0x236fb2(0x123)][_0x236fb2(0xfa)][_0x236fb2(0x102)](_0x3bfbba),_0x3bfbba;}[_0x744095(0x12c)](_0x445063){const _0x7fa37b=_0x744095;if(!_0x445063[_0x7fa37b(0xfc)][_0x7fa37b(0x10b)])return;const _0x31ca05=this[_0x7fa37b(0xf8)](_0x445063);if(!_0x31ca05)return;const _0x29deed=this[_0x7fa37b(0x135)][_0x7fa37b(0x110)](_0x31ca05),_0x82442a=this[_0x7fa37b(0xe6)];_0x82442a&&_0x82442a===_0x29deed?this[_0x7fa37b(0xe3)](_0x31ca05,_0x445063):this[_0x7fa37b(0xe4)](_0x445063,_0x31ca05);}[_0x744095(0x105)](_0x3075b8){const _0x68efd7=_0x744095;if(!_0x3075b8[_0x68efd7(0xfc)][_0x68efd7(0x10b)])return;const _0x70e3f2=this[_0x68efd7(0xe7)](_0x3075b8);if(!_0x70e3f2)return;const _0x1ec642=this[_0x68efd7(0x135)][_0x68efd7(0x110)](_0x70e3f2),_0x400c12=this[_0x68efd7(0xf1)][_0x68efd7(0xed)][_0x68efd7(0x110)](_0x68efd7(0xfd)),_0x346327=this[_0x68efd7(0xe6)];_0x346327&&_0x346327===_0x1ec642&&_0x400c12?(this[_0x68efd7(0xe4)](_0x70e3f2,_0x3075b8),this[_0x68efd7(0xe3)](_0x3075b8,_0x70e3f2)):_0x346327&&_0x346327===_0x1ec642?this[_0x68efd7(0xe4)](_0x70e3f2,_0x3075b8):this[_0x68efd7(0xe3)](_0x3075b8,_0x70e3f2);}[_0x744095(0x12e)](_0x209dde,_0x121e71){const _0x456c4b=_0x744095;0x0===this[_0x456c4b(0xea)][_0x456c4b(0x10b)]&&setTimeout(()=>{const _0x2a4470=_0x456c4b;for(const {sidebarItemView:_0x4327f3,changedProp:_0x145b1e}of this[_0x2a4470(0xea)])_0x2a4470(0x116)===_0x145b1e?this[_0x2a4470(0x12c)](_0x4327f3):this[_0x2a4470(0x105)](_0x4327f3);this[_0x2a4470(0xea)]=[];},0xa),this[_0x456c4b(0xea)][_0x456c4b(0xfe)]({'sidebarItemView':_0x209dde,'changedProp':_0x121e71});}[_0x744095(0x133)](_0x1d4c90){const _0x26fdff=_0x744095;return this[_0x26fdff(0x11d)][_0x26fdff(0x110)](_0x1d4c90);}[_0x744095(0x104)](){const _0x380e0b=_0x744095;this[_0x380e0b(0x106)](),this[_0x380e0b(0x123)][_0x380e0b(0x104)]();}[_0x744095(0x121)](_0xcc758a){const _0x319684=_0x744095,_0x4daaca=this[_0x319684(0x133)](_0xcc758a);this[_0x319684(0x106)](_0x4daaca),this[_0x319684(0x106)](_0xcc758a[_0x319684(0x123)]),_0x4daaca[_0x319684(0x104)](),this[_0x319684(0x11d)][_0x319684(0xef)](_0xcc758a),this[_0x319684(0x135)][_0x319684(0xef)](_0x4daaca);}[_0x744095(0x115)](){const _0x295f59=_0x744095,_0x3ef8fe=new _0x4d93cc(this[_0x295f59(0xf1)][_0x295f59(0x124)]);return _0x3ef8fe[_0x295f59(0xee)](),this['on'](_0x295f59(0x103),(_0x58b3e6,_0x3d3f83,_0x255dd4,_0x8d5f69)=>{const _0x1e9646=_0x295f59;_0x8d5f69&&_0x3ef8fe[_0x1e9646(0xeb)](_0x1e9646(0x125)),_0x255dd4?_0x3ef8fe[_0x1e9646(0xf2)](_0x1e9646(0x125))['to'](_0x255dd4,_0x1e9646(0x11c)):_0x3ef8fe[_0x1e9646(0x125)]=null;}),_0x3ef8fe;}[_0x744095(0x10a)](){const _0x2b4dc5=_0x744095;var _0x23727e;this[_0x2b4dc5(0xe2)]=(null===(_0x23727e=this[_0x2b4dc5(0x12f)])||void 0x0===_0x23727e?void 0x0:_0x23727e[_0x2b4dc5(0x114)])?this[_0x2b4dc5(0x133)](this[_0x2b4dc5(0x12f)][_0x2b4dc5(0x114)]):null;}[_0x744095(0xf8)](_0x1e46c6){const _0x4c86ad=_0x744095;var _0x3b33ad;const _0x5861a4=this[_0x4c86ad(0x135)][_0x4c86ad(0x110)](_0x1e46c6),_0x1b0f74=_0x5861a4&&(null===(_0x3b33ad=this[_0x4c86ad(0x12f)])||void 0x0===_0x3b33ad?void 0x0:_0x3b33ad[_0x4c86ad(0x110)](this[_0x4c86ad(0x12f)][_0x4c86ad(0x131)](_0x5861a4)-0x1));return _0x1b0f74&&this[_0x4c86ad(0x133)](_0x1b0f74)||null;}[_0x744095(0xe7)](_0x134e56){const _0x404332=_0x744095;var _0x347a47;const _0x5b7da2=this[_0x404332(0x135)][_0x404332(0x110)](_0x134e56),_0x5d85ac=_0x5b7da2&&(null===(_0x347a47=this[_0x404332(0x12f)])||void 0x0===_0x347a47?void 0x0:_0x347a47[_0x404332(0x110)](this[_0x404332(0x12f)][_0x404332(0x131)](_0x5b7da2)+0x1));return _0x5d85ac&&this[_0x404332(0x133)](_0x5d85ac)||null;}[_0x744095(0xe4)](_0x519818,_0x3e6586){const _0x1bb181=_0x744095;_0x519818[_0x1bb181(0xf9)]();const _0xf4031d=M(_0x3e6586[_0x1bb181(0x11c)]+this[_0x1bb181(0xf4)],_0x519818[_0x1bb181(0x116)]);return!!_0xf4031d&&(this[_0x1bb181(0xe8)](_0x3e6586,_0x3e6586[_0x1bb181(0x116)]-_0xf4031d),!0x0);}[_0x744095(0xe3)](_0x8a9eb,_0x13a64e){const _0x8ed908=_0x744095;_0x8a9eb[_0x8ed908(0xf9)]();const _0x3df1da=M(_0x8a9eb[_0x8ed908(0x11c)]+this[_0x8ed908(0xf4)],_0x13a64e[_0x8ed908(0x116)]);return!!_0x3df1da&&(this[_0x8ed908(0xe8)](_0x13a64e,_0x13a64e[_0x8ed908(0x116)]+_0x3df1da,!0x1),!0x0);}[_0x744095(0x132)](_0xccae78){const _0x9acc5a=_0x744095,_0x31e36c=this[_0x9acc5a(0x135)][_0x9acc5a(0x110)](_0xccae78);if(!_0x31e36c||!_0x31e36c[_0x9acc5a(0x12b)]||!_0x31e36c[_0x9acc5a(0x107)])return;const _0x12469e=this[_0x9acc5a(0xe9)](_0x31e36c,_0x31e36c[_0x9acc5a(0x107)]);this[_0x9acc5a(0xe8)](_0xccae78,_0x12469e);}[_0x744095(0xe9)](_0x147338,_0x51308c){const _0x3b492d=_0x744095;if(null===_0x51308c)return 0x0;if(_0x147338[_0x3b492d(0x12b)]instanceof _0x49c8b4)return _0x51308c[_0x3b492d(0x116)];{const _0x59d34a=new _0x49c8b4(this[_0x3b492d(0x123)][_0x3b492d(0x122)])[_0x3b492d(0x116)];return _0x51308c[_0x3b492d(0x116)]-_0x59d34a;}}[_0x744095(0xe8)](_0x5abbc7,_0x891297,_0x194d75=this[_0x744095(0xf1)][_0x744095(0xed)][_0x744095(0x110)](_0x744095(0xfd))){const _0x475c64=_0x744095;_0x194d75&&(_0x891297=Math[_0x475c64(0x11b)](_0x891297,this[_0x475c64(0x134)](_0x5abbc7))),_0x5abbc7[_0x475c64(0x116)]=_0x891297;}[_0x744095(0x134)](_0x3e317f){const _0x970564=_0x744095;let _0x4cad7e=this[_0x970564(0xf8)](_0x3e317f),_0x594141=0x0;for(;_0x4cad7e;)_0x4cad7e[_0x970564(0xf9)](),_0x594141+=this[_0x970564(0xf4)]+_0x4cad7e[_0x970564(0x127)],_0x4cad7e=this[_0x970564(0xf8)](_0x4cad7e);return _0x594141;}}function M(_0x1a992a,_0x15e44f){const _0x410157=_0x744095;return Math[_0x410157(0x11b)](_0x1a992a-_0x15e44f,0x0);}function y(_0x1a624c){const _0x4d65ad=_0x744095;return null!==_0x1a624c&&_0x4d65ad(0xf6)==typeof _0x1a624c&&0x1===_0x1a624c[_0x4d65ad(0x119)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x24c518,_0x263d9a){const _0x1435ed=_0xfe90,_0x59fe22=_0x24c518();while(!![]){try{const _0x35b9d5=parseInt(_0x1435ed(0xe8))/0x1*(parseInt(_0x1435ed(0xfa))/0x2)+parseInt(_0x1435ed(0xf5))/0x3+parseInt(_0x1435ed(0xec))/0x4+-parseInt(_0x1435ed(0xe4))/0x5+parseInt(_0x1435ed(0xe9))/0x6+-parseInt(_0x1435ed(0xef))/0x7+parseInt(_0x1435ed(0xea))/0x8*(-parseInt(_0x1435ed(0xf3))/0x9);if(_0x35b9d5===_0x263d9a)break;else _0x59fe22['push'](_0x59fe22['shift']());}catch(_0x4252c4){_0x59fe22['push'](_0x59fe22['shift']());}}}(_0x4ae2,0x37743));import{ButtonView as _0x1b1bdd,View as _0x58d656}from'ckeditor5/src/ui.js';import _0x2551f1 from'../../../theme/icons/add-comment.svg';export default class D extends _0x1b1bdd{constructor(_0x2d20c4){const _0x2d57a4=_0xfe90;super(_0x2d20c4);const _0x45324a=this[_0x2d57a4(0xf1)];this[_0x2d57a4(0xe6)](_0x2d57a4(0xf7),!0x1),this[_0x2d57a4(0xe6)](_0x2d57a4(0xf4),0x0),this[_0x2d57a4(0xff)](_0x2d57a4(0xe7))['to'](this,_0x2d57a4(0xf7),this,_0x2d57a4(0xf4),(_0x406639,_0x5a53c4)=>_0x406639?_0x2d57a4(0xfd):_0x5a53c4[_0x2d57a4(0xf9)]()),this[_0x2d57a4(0xe6)](_0x2d57a4(0xed),''),this[_0x2d57a4(0xf2)]=_0x2551f1,this[_0x2d57a4(0xfe)]({'attributes':{'class':[_0x2d57a4(0xf8)]}}),this[_0x2d57a4(0xf0)]=new _0x58d656(),this[_0x2d57a4(0xf0)][_0x2d57a4(0xf6)]({'tag':_0x2d57a4(0x100),'attributes':{'class':[_0x2d57a4(0xfc),_0x45324a['to'](_0x2d57a4(0xed),_0x354d1e=>_0x2d57a4(0xee)+_0x354d1e),_0x45324a['if'](_0x2d57a4(0xf7),_0x2d57a4(0xeb))]},'children':[{'text':_0x45324a['to'](_0x2d57a4(0xe7))}]}),this[_0x2d57a4(0xe5)][_0x2d57a4(0xfb)](this[_0x2d57a4(0xf0)]);}}function _0xfe90(_0xe4a4e7,_0x1d6e93){const _0x4ae2ac=_0x4ae2();return _0xfe90=function(_0xfe906f,_0x51c3eb){_0xfe906f=_0xfe906f-0xe4;let _0x71d1ed=_0x4ae2ac[_0xfe906f];return _0x71d1ed;},_0xfe90(_0xe4a4e7,_0x1d6e93);}function _0x4ae2(){const _0x1c905b=['123381tKXnFC','number','959694LPIWxz','setTemplate','isDirty','ck-annotation-counter','toString','4MgMzmB','add','ck-annotation-counter__badge','...','extendTemplate','bind','span','1280665xVFjVz','children','set','_badge','33693EyYkBk','447090DHyWUI','88kkajox','ck-annotation-counter__badge--edit-mode','744904xnjbpY','annotationType','ck-annotation-counter__badge--','97678qQrRaS','counterView','bindTemplate','icon'];_0x4ae2=function(){return _0x1c905b;};return _0x4ae2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31a49e=_0x4dbd;(function(_0x2cca6f,_0x172307){const _0xe969d0=_0x4dbd,_0x3068fd=_0x2cca6f();while(!![]){try{const _0x536db9=-parseInt(_0xe969d0(0x14b))/0x1+parseInt(_0xe969d0(0x15a))/0x2+parseInt(_0xe969d0(0x14f))/0x3+-parseInt(_0xe969d0(0x169))/0x4+-parseInt(_0xe969d0(0x144))/0x5*(parseInt(_0xe969d0(0x161))/0x6)+parseInt(_0xe969d0(0x163))/0x7*(parseInt(_0xe969d0(0x168))/0x8)+parseInt(_0xe969d0(0x162))/0x9;if(_0x536db9===_0x172307)break;else _0x3068fd['push'](_0x3068fd['shift']());}catch(_0x12a1bc){_0x3068fd['push'](_0x3068fd['shift']());}}}(_0x4634,0xe63c5));function _0x4634(){const _0x2f3209=['setTemplate','length','4009055LVFwnS','focus','height','clientHeight','type','attach','targetRect','720903zHufZw','isActive','destroy','focusTracker','2762541LyFkiT','createCollection','content','ck-annotation-wrapper--active','set','listenTo','isDirty','keystrokes','ck-rounded-corners','element','mainView','1145758fSgnKb','add','fire','bindTemplate','_updateHeight','ck-annotation-wrapper','render','12rnPptV','14949378oHQJba','2170637hNiiSH','div','detach','_mutationObserver','Esc','48EckHjv','6990976gtVVAv','clear'];_0x4634=function(){return _0x2f3209;};return _0x4634();}import{View as _0x1d2c41}from'ckeditor5/src/ui.js';function _0x4dbd(_0x3a51d2,_0x42b007){const _0x4634a1=_0x4634();return _0x4dbd=function(_0x4dbd42,_0x31c675){_0x4dbd42=_0x4dbd42-0x144;let _0x1cf21c=_0x4634a1[_0x4dbd42];return _0x1cf21c;},_0x4dbd(_0x3a51d2,_0x42b007);}import{FocusTracker as _0x263f2f,KeystrokeHandler as _0xcb5900,uid as _0x297fa7}from'ckeditor5/src/utils.js';import _0x27da8b from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class V extends _0x1d2c41{constructor(_0x33d3aa,_0x49c372){const _0x2c7c4d=_0x4dbd;super(_0x33d3aa),this['id']=_0x297fa7(),this[_0x2c7c4d(0x14e)]=new _0x263f2f(),this[_0x2c7c4d(0x156)]=new _0xcb5900(),this[_0x2c7c4d(0x156)][_0x2c7c4d(0x153)](_0x2c7c4d(0x167),(_0x58424b,_0x482416)=>this[_0x2c7c4d(0x15c)](_0x2c7c4d(0x167),_0x482416)),this[_0x2c7c4d(0x153)](_0x2c7c4d(0x14a),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x2c7c4d(0x153)](_0x2c7c4d(0x146),0x0),this[_0x2c7c4d(0x153)](_0x2c7c4d(0x14c),!0x1),this[_0x2c7c4d(0x153)](_0x2c7c4d(0x155),!0x1),this[_0x2c7c4d(0x153)](_0x2c7c4d(0x16c),0x0),this[_0x2c7c4d(0x153)](_0x2c7c4d(0x148),''),this[_0x2c7c4d(0x166)]=_0x27da8b(()=>this[_0x2c7c4d(0x15e)]()),this[_0x2c7c4d(0x151)]=this[_0x2c7c4d(0x150)](),this[_0x2c7c4d(0x151)][_0x2c7c4d(0x15b)](_0x49c372),this[_0x2c7c4d(0x159)]=_0x49c372;const _0x157dab=this[_0x2c7c4d(0x15d)];this[_0x2c7c4d(0x16b)]({'tag':_0x2c7c4d(0x164),'attributes':{'class':['ck',_0x2c7c4d(0x15f),_0x2c7c4d(0x157),_0x157dab['if'](_0x2c7c4d(0x14c),_0x2c7c4d(0x152))],'tabindex':-0x1},'children':this[_0x2c7c4d(0x151)]});}[_0x31a49e(0x160)](){const _0x554660=_0x31a49e;super[_0x554660(0x160)](),this[_0x554660(0x14e)][_0x554660(0x15b)](this[_0x554660(0x158)]),this[_0x554660(0x156)][_0x554660(0x154)](this[_0x554660(0x158)]),this[_0x554660(0x166)][_0x554660(0x149)](this[_0x554660(0x158)]);}[_0x31a49e(0x14d)](){const _0x611035=_0x31a49e;this[_0x611035(0x151)][_0x611035(0x16a)](),this[_0x611035(0x156)][_0x611035(0x14d)](),this[_0x611035(0x14e)][_0x611035(0x14d)](),this[_0x611035(0x166)][_0x611035(0x165)](),super[_0x611035(0x14d)]();}[_0x31a49e(0x145)](){const _0x3eb828=_0x31a49e;this[_0x3eb828(0x158)][_0x3eb828(0x145)]();}[_0x31a49e(0x15e)](){const _0x181cda=_0x31a49e,_0x251cb8=this[_0x181cda(0x158)][_0x181cda(0x147)];_0x251cb8&&(this[_0x181cda(0x146)]=_0x251cb8);}}
|