@ckeditor/ckeditor5-comments 41.3.1 → 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
|
-
function
|
|
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 _0x408062=_0x5079;function _0x5079(_0x5b9ba2,_0xe90368){const _0x137472=_0x1374();return _0x5079=function(_0x5079a7,_0x39b503){_0x5079a7=_0x5079a7-0x66;let _0x290af8=_0x137472[_0x5079a7];return _0x290af8;},_0x5079(_0x5b9ba2,_0xe90368);}(function(_0x1051f4,_0x3ad3cf){const _0x44973c=_0x5079,_0x5ed6c1=_0x1051f4();while(!![]){try{const _0xd1c7ac=-parseInt(_0x44973c(0x99))/0x1*(-parseInt(_0x44973c(0x83))/0x2)+-parseInt(_0x44973c(0xb3))/0x3*(-parseInt(_0x44973c(0xb8))/0x4)+-parseInt(_0x44973c(0x9c))/0x5+-parseInt(_0x44973c(0x9e))/0x6*(parseInt(_0x44973c(0x75))/0x7)+parseInt(_0x44973c(0xbf))/0x8*(-parseInt(_0x44973c(0x8c))/0x9)+parseInt(_0x44973c(0x68))/0xa*(-parseInt(_0x44973c(0x76))/0xb)+-parseInt(_0x44973c(0x90))/0xc;if(_0xd1c7ac===_0x3ad3cf)break;else _0x5ed6c1['push'](_0x5ed6c1['shift']());}catch(_0x457f12){_0x5ed6c1['push'](_0x5ed6c1['shift']());}}}(_0x1374,0x66e29));import{Plugin as _0x2c331a}from'ckeditor5/src/core.js';import _0x5261e6 from'./annotationsuis.js';import _0xc2ac04 from'./editorannotations.js';import{ContextualBalloon as _0xe4b567}from'ckeditor5/src/ui.js';function _0x1374(){const _0xcb240f=['4887iiAIMC','plugins','document','InlineAnnotations','2927112XrfGxd','detach','find','addObserver','update','inlineannotations-attach-already-attached','mousedown','get','attach','11KHzfZN','Esc','fromRect','502535AUAwjf','blur','24qgOBjQ','view','bottom','getBoundingClientRect','_getBalloonTargetForAnnotation','afterInit','_closeAnnotation','hasActive','length','change:height','refresh','activeAnnotation','_removeAnnotationFromBalloon','every','includes','set','_setSelectedAnnotations','change:isFocused','top','_balloon','delete','511761cDRGBr','getFirstRange','showStack','visibleView','remove','8lUPROS','_addedAnnotations','pluginName','_selectedAnnotations','register','right','getByView','992Sovwys','left','domConverter','switchTo','_manuallyClosed','_addAnnotationToBalloon','getOrderedSelectedAnnotations','inlineannotations-detach-not-attached','init','inline','stopListening','editableElement','116770zDGrbg','selection','updatePosition','map','editing','inlineannotations-not-allowed-with-context','has','viewRangeToDom','isActive','_forceRefresh','push','change:visibleView','destroy','324044YlpQQM','11TrRExl','clear','add','width','focusTracker','isFocused','editor','isAttached','listenTo','getClientRects','targetRect','collapse','annotations','125246JYYnSP','requires','setActiveAnnotation','from','keystrokes','context','hasView','focus','target'];_0x1374=function(){return _0xcb240f;};return _0x1374();}import{MouseObserver as _0x34d070}from'ckeditor5/src/engine.js';import{CKEditorError as _0x20ae8c,Rect as _0x2a6d7d}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x2c331a{static get[_0x408062(0x84)](){return[_0xc2ac04,_0xe4b567,_0x5261e6];}static get[_0x408062(0xba)](){const _0x2ed2b9=_0x408062;return _0x2ed2b9(0x8f);}constructor(_0x3eae88){const _0x29fb18=_0x408062;super(_0x3eae88),_0x3eae88[_0x29fb18(0x6c)][_0x29fb18(0x9f)][_0x29fb18(0x93)](_0x34d070),this[_0x29fb18(0x7d)]=!0x1,this[_0x29fb18(0xad)](_0x29fb18(0xa9),null),this[_0x29fb18(0x82)]=null,this[_0x29fb18(0xc3)]=new Set(),this[_0x29fb18(0xb1)]=_0x3eae88[_0x29fb18(0x8d)][_0x29fb18(0x97)](_0xe4b567),this[_0x29fb18(0xb9)]=new Set(),this[_0x29fb18(0xbb)]=[],this[_0x29fb18(0x71)]=!0x1;}[_0x408062(0xc7)](){const _0xf4a85b=_0x408062,_0xe3f72a=this[_0xf4a85b(0x7c)][_0xf4a85b(0x8d)][_0xf4a85b(0x97)](_0x5261e6);_0xe3f72a[_0xf4a85b(0x88)]===this[_0xf4a85b(0x7c)]&&(_0xe3f72a[_0xf4a85b(0xbc)](_0xf4a85b(0xc8),this),this[_0xf4a85b(0x7c)][_0xf4a85b(0x87)][_0xf4a85b(0xad)](_0xf4a85b(0x9a),(_0xda9c1b,_0x1ab725)=>{const _0x4ca357=_0xf4a85b,_0x5e5d98=this[_0x4ca357(0xb1)];if(this[_0x4ca357(0x7d)]&&_0x5e5d98[_0x4ca357(0xb6)]){const _0x67c8cc=this[_0x4ca357(0x82)][_0x4ca357(0xbe)](_0x5e5d98[_0x4ca357(0xb6)]);_0x67c8cc&&this[_0x4ca357(0xa4)](_0x67c8cc),_0x1ab725();}}));}[_0x408062(0xa3)](){const _0x3cbf3d=_0x408062,_0x82767f=this[_0x3cbf3d(0x7c)][_0x3cbf3d(0x8d)][_0x3cbf3d(0x97)](_0x5261e6);_0x82767f[_0x3cbf3d(0x88)]===this[_0x3cbf3d(0x7c)]&&(_0x82767f[_0x3cbf3d(0xa5)]()||_0x82767f[_0x3cbf3d(0xc2)](_0x3cbf3d(0xc8)));}[_0x408062(0x85)](_0x46d212){const _0x5632dc=_0x408062;_0x46d212!==this[_0x5632dc(0xa9)]&&(this[_0x5632dc(0xa9)]&&(this[_0x5632dc(0xa9)][_0x5632dc(0x70)]=!0x1),_0x46d212&&this[_0x5632dc(0x7c)]['ui'][_0x5632dc(0x7a)][_0x5632dc(0x7b)]&&(this[_0x5632dc(0x82)][_0x5632dc(0x6e)](_0x46d212)&&this[_0x5632dc(0xc4)](_0x46d212,!0x0),_0x46d212[_0x5632dc(0x70)]=!0x0),_0x46d212||this[_0x5632dc(0xae)]([]),this[_0x5632dc(0xa9)]=_0x46d212);}[_0x408062(0x98)](_0x5eca15){const _0x3b30b4=_0x408062;this[_0x3b30b4(0x82)]=_0x5eca15;const _0x2cb3a6=this[_0x3b30b4(0x7c)][_0x3b30b4(0x8d)][_0x3b30b4(0x97)](_0x5261e6),_0x21699f=this[_0x3b30b4(0xb1)];if(this[_0x3b30b4(0x7d)])throw new _0x20ae8c(_0x3b30b4(0x95),this);if(_0x2cb3a6[_0x3b30b4(0x88)]!==this[_0x3b30b4(0x7c)])throw new _0x20ae8c(_0x3b30b4(0x6d),this);const _0x4f5a25=this[_0x3b30b4(0x7c)][_0x3b30b4(0x8d)][_0x3b30b4(0x97)](_0xc2ac04);this[_0x3b30b4(0x7e)](_0x4f5a25,_0x3b30b4(0xa8),()=>{const _0x608d9e=_0x3b30b4,_0x38473d=_0x4f5a25[_0x608d9e(0xc5)]({'annotations':this[_0x608d9e(0x82)],'activeAnnotation':this[_0x608d9e(0xa9)]});var _0x307718,_0x1d3fb7;!this[_0x608d9e(0x71)]&&(_0x307718=_0x38473d,_0x1d3fb7=this[_0x608d9e(0xbb)],_0x307718[_0x608d9e(0xa6)]===_0x1d3fb7[_0x608d9e(0xa6)]&&_0x307718[_0x608d9e(0xab)](_0x14057b=>_0x1d3fb7[_0x608d9e(0xac)](_0x14057b)))||(this[_0x608d9e(0x71)]=!0x1,this[_0x608d9e(0xae)](_0x38473d),this[_0x608d9e(0x85)](_0x38473d[0x0]||null));}),this[_0x3b30b4(0x7e)](_0x4f5a25,_0x3b30b4(0x9d),(_0x5020ca,{isAnnotationTracked:_0x899dcc})=>{const _0x5ae39b=_0x3b30b4;this[_0x5ae39b(0xa9)]&&_0x899dcc(this[_0x5ae39b(0xa9)])&&(this[_0x5ae39b(0xae)]([]),this[_0x5ae39b(0x85)](null));}),this[_0x3b30b4(0x7e)](this[_0x3b30b4(0x7c)]['ui'][_0x3b30b4(0x7a)],_0x3b30b4(0xaf),(_0x478a0a,_0x4bef1b,_0x523f43)=>{const _0x538374=_0x3b30b4;_0x523f43||this[_0x538374(0x85)](null);}),this[_0x3b30b4(0x7e)](_0x5eca15,_0x3b30b4(0xb7),(_0x1c9be6,_0x2d5bd1)=>{const _0x2ba019=_0x3b30b4;this[_0x2ba019(0xaa)](_0x2d5bd1),_0x2d5bd1===this[_0x2ba019(0xa9)]&&this[_0x2ba019(0x85)](null);}),this[_0x3b30b4(0x7e)](_0x21699f,_0x3b30b4(0x73),(_0x1879ca,_0x331404,_0x60a6ad,_0x1759f3)=>{const _0x40488b=_0x3b30b4;_0x1759f3&&this[_0x40488b(0x66)](_0x1759f3);const _0x131cba=_0x5eca15[_0x40488b(0xbe)](_0x60a6ad);_0x60a6ad&&_0x131cba&&(this[_0x40488b(0x7e)](_0x60a6ad,_0x40488b(0xa7),()=>{const _0x586fdb=_0x40488b;_0x21699f[_0x586fdb(0x6a)]();}),this[_0x40488b(0x7e)](_0x60a6ad,_0x40488b(0x9a),()=>{const _0x4fa696=_0x40488b;this[_0x4fa696(0xa4)](_0x131cba),this[_0x4fa696(0x7c)][_0x4fa696(0x6c)][_0x4fa696(0x9f)][_0x4fa696(0x8a)]();}),this[_0x40488b(0xa9)]!==_0x131cba&&this[_0x40488b(0x85)](_0x131cba));}),this[_0x3b30b4(0x7e)](this[_0x3b30b4(0x7c)]['ui'],_0x3b30b4(0x94),()=>{const _0x3da2de=_0x3b30b4;_0x21699f[_0x3da2de(0xb6)]&&(_0x5eca15[_0x3da2de(0xbe)](_0x21699f[_0x3da2de(0xb6)])&&_0x21699f[_0x3da2de(0x6a)]());}),this[_0x3b30b4(0x7e)](this[_0x3b30b4(0x7c)][_0x3b30b4(0x6c)][_0x3b30b4(0x9f)][_0x3b30b4(0x8e)],_0x3b30b4(0x96),()=>{const _0x16dbcd=_0x3b30b4;this[_0x16dbcd(0x71)]=!0x0,this[_0x16dbcd(0xc3)][_0x16dbcd(0x77)]();}),this[_0x3b30b4(0x7c)][_0x3b30b4(0x6c)][_0x3b30b4(0x9f)][_0x3b30b4(0x8e)][_0x3b30b4(0x69)][_0x3b30b4(0x67)]&&this[_0x3b30b4(0x7c)][_0x3b30b4(0x6c)][_0x3b30b4(0x9f)][_0x3b30b4(0x8a)](),this[_0x3b30b4(0x7d)]=!0x0;}[_0x408062(0x91)](){const _0x409c11=_0x408062;if(!this[_0x409c11(0x7d)])throw new _0x20ae8c(_0x409c11(0xc6),this);this[_0x409c11(0x85)](null);for(const _0x3ce2d4 of this[_0x409c11(0xb9)])this[_0x409c11(0xaa)](_0x3ce2d4);this[_0x409c11(0x66)](),this[_0x409c11(0x7d)]=!0x1,this[_0x409c11(0x82)]=null;}[_0x408062(0x74)](){const _0x5762a9=_0x408062;this[_0x5762a9(0x7d)]&&this[_0x5762a9(0x91)]();}[_0x408062(0xae)](_0x8b6378){const _0x2421a4=_0x408062;for(const _0x3f97d3 of this[_0x2421a4(0xbb)])_0x8b6378[_0x2421a4(0xac)](_0x3f97d3)||this[_0x2421a4(0xc3)][_0x2421a4(0xb2)](_0x3f97d3);for(const _0x5f3cd4 of this[_0x2421a4(0x82)])_0x8b6378[_0x2421a4(0xac)](_0x5f3cd4)||this[_0x2421a4(0xaa)](_0x5f3cd4);if(this[_0x2421a4(0x7c)]['ui'][_0x2421a4(0x7a)][_0x2421a4(0x7b)]){for(const _0x2773c7 of _0x8b6378)this[_0x2421a4(0xc4)](_0x2773c7);}this[_0x2421a4(0xbb)]=_0x8b6378;}[_0x408062(0xc4)](_0x4e0905,_0x363fe8=!0x1){const _0x5a4158=_0x408062;this[_0x5a4158(0xc3)][_0x5a4158(0x6e)](_0x4e0905)||(this[_0x5a4158(0xb9)][_0x5a4158(0x6e)](_0x4e0905)||this[_0x5a4158(0xb1)][_0x5a4158(0x89)](_0x4e0905[_0x5a4158(0x9f)])||(this[_0x5a4158(0xb9)][_0x5a4158(0x78)](_0x4e0905),this[_0x5a4158(0xb1)][_0x5a4158(0x78)]({'stackId':_0x4e0905[_0x5a4158(0x9f)]['id'],'view':_0x4e0905[_0x5a4158(0x9f)],'position':{'target':()=>this[_0x5a4158(0xa2)](_0x4e0905)}})),_0x363fe8&&this[_0x5a4158(0xb1)][_0x5a4158(0xb5)](_0x4e0905[_0x5a4158(0x9f)]['id']));}[_0x408062(0xa2)](_0x1c9161){const _0x1cec8f=_0x408062,_0x4e73e5=_0x1c9161[_0x1cec8f(0x8b)],_0x52d75f=this[_0x1cec8f(0x7c)][_0x1cec8f(0x6c)][_0x1cec8f(0x9f)],_0x230970=_0x52d75f[_0x1cec8f(0x8e)][_0x1cec8f(0x69)][_0x1cec8f(0xb4)](),_0x1d5158=_0x52d75f[_0x1cec8f(0xc1)][_0x1cec8f(0x6f)](_0x230970);if(_0x1d5158[_0x1cec8f(0x81)](!0x0),_0x4e73e5){if(_0x4e73e5 instanceof _0x2a6d7d)return _0x4e73e5;let _0x2f1817=[];for(const _0x77e37b of _0x4e73e5)_0x2f1817[_0x1cec8f(0x72)](...(_0x117111=_0x77e37b[_0x1cec8f(0x7f)](),Array[_0x1cec8f(0x86)](_0x117111)[_0x1cec8f(0x6b)](DOMRect[_0x1cec8f(0x9b)])));_0x2f1817=function(_0x1420df){const _0x911383=_0x1cec8f,_0x5b5119=[];let _0x1efe11=_0x1420df[0x0];for(let _0x419fe4=0x1;_0x419fe4<_0x1420df[_0x911383(0xa6)];_0x419fe4++)F(_0x1efe11,_0x1420df[_0x419fe4])?_0x1efe11[_0x911383(0x79)]+=_0x1420df[_0x419fe4][_0x911383(0x79)]:(_0x5b5119[_0x911383(0x72)](_0x1efe11),_0x1efe11=_0x1420df[_0x419fe4]);return _0x5b5119[_0x911383(0x72)](_0x1efe11),_0x5b5119;}(_0x2f1817);const _0x36ca20=_0x1d5158[_0x1cec8f(0xa1)]();return _0x2f1817[_0x1cec8f(0x92)](_0x522217=>_0x522217[_0x1cec8f(0xb0)]<=_0x36ca20[_0x1cec8f(0xb0)]&&_0x522217[_0x1cec8f(0xa0)]>=_0x36ca20[_0x1cec8f(0xa0)]&&_0x522217[_0x1cec8f(0xc0)]<=_0x36ca20[_0x1cec8f(0xc0)]&&_0x522217[_0x1cec8f(0xbd)]>=_0x36ca20[_0x1cec8f(0xbd)])||_0x2f1817[0x0];}var _0x117111;return _0x1c9161[_0x1cec8f(0x80)]||_0x1d5158;}[_0x408062(0xaa)](_0xaf29c9){const _0x53fabc=_0x408062;this[_0x53fabc(0xb9)][_0x53fabc(0x6e)](_0xaf29c9)&&this[_0x53fabc(0xb1)][_0x53fabc(0x89)](_0xaf29c9[_0x53fabc(0x9f)])&&(this[_0x53fabc(0xb9)][_0x53fabc(0xb2)](_0xaf29c9),this[_0x53fabc(0xb1)][_0x53fabc(0xb7)](_0xaf29c9[_0x53fabc(0x9f)]));}[_0x408062(0xa4)](_0x3664b3){const _0x54b308=_0x408062;this[_0x54b308(0xc3)][_0x54b308(0x78)](_0x3664b3),this[_0x54b308(0xaa)](_0x3664b3);}}function F(_0x7cd163,_0x4ab263){const _0x558527=_0x408062;return _0x7cd163[_0x558527(0xb0)]===_0x4ab263[_0x558527(0xb0)]&&_0x7cd163[_0x558527(0xa0)]===_0x4ab263[_0x558527(0xa0)]&&_0x7cd163[_0x558527(0xbd)]===_0x4ab263[_0x558527(0xc0)];}
|
|
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 _0x41005a=_0x3494;(function(_0x4ce039,_0x33ef56){const _0x1c8558=_0x3494,_0x5dcae2=_0x4ce039();while(!![]){try{const _0x562a01=parseInt(_0x1c8558(0x15c))/0x1+-parseInt(_0x1c8558(0x12a))/0x2*(-parseInt(_0x1c8558(0x178))/0x3)+parseInt(_0x1c8558(0x12f))/0x4+-parseInt(_0x1c8558(0x15b))/0x5*(-parseInt(_0x1c8558(0x11e))/0x6)+-parseInt(_0x1c8558(0x119))/0x7+-parseInt(_0x1c8558(0x155))/0x8*(parseInt(_0x1c8558(0x136))/0x9)+-parseInt(_0x1c8558(0x144))/0xa;if(_0x562a01===_0x33ef56)break;else _0x5dcae2['push'](_0x5dcae2['shift']());}catch(_0x102172){_0x5dcae2['push'](_0x5dcae2['shift']());}}}(_0x2aa7,0x192f2));import{ContextPlugin as _0x177dfa,Context as _0x24a759}from'ckeditor5/src/core.js';function _0x3494(_0x7195d5,_0x5b875f){const _0x2aa706=_0x2aa7();return _0x3494=function(_0x3494a3,_0x5c78cb){_0x3494a3=_0x3494a3-0x10a;let _0x5401b8=_0x2aa706[_0x3494a3];return _0x5401b8;},_0x3494(_0x7195d5,_0x5b875f);}import _0x3fba1c from'./annotationsuis.js';import _0xe6acfb from'./sidebar.js';import _0x17f347 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x30852f,BodyCollection as _0x140ba3}from'ckeditor5/src/ui.js';import{CKEditorError as _0xbd9d24,DomEmitterMixin as _0x1cbe60,keyCodes as _0x5f21b8,Collection as _0x38c756}from'ckeditor5/src/utils.js';function _0x2aa7(){const _0x5724d4=['northArrowSouthWest','_detachFromContainer','high','activeAnnotation','_attachListeners','change:height','refresh','_setSelectedAnnotations','values','pluginName','includes','focusableElements','refreshPositioning','437052iUnXAD','attach','view','esc','getByView','34494IphFbi','stop','_annotations','balloonPanelView','set:container','requires','has','editors','ready','focus','_manuallyClosedAnnotationViews','removeEventListener','12ljaasg','southArrowNorthEast','southArrowNorthWest','change:container','create','261684IPPvAN','_domEmitter','off','low','_integrateWithEditorAnnotations','pin','resize','3951evJypq','plugins','getSidebarItemView','from','stopListening','detach','context','element','rearrange','add','annotations','_annotationToNarrowView','_attachToContainer','northArrowSouth','1678470jKAewK','annotationType','_updateBalloonPosition','keydown','preventClosingBalloon','isAttached','_refreshPositioning','hasDomSelection','target','setActiveAnnotation','stopPropagation','attachToDom','keyCode','_hideBalloon','number','EditorAnnotations','mousedown','176fJzOng','getOrderedSelectedAnnotations','uiUpdate','register','length','addAnnotation','50mPxEqN','121310KcAyeX','bodyCollection','type','_editorAnnotations','narrowsidebar-attach-already-attached','northArrowSouthEast','defaultPositions','_detachListeners','blur','preventDefault','addEventListener','destroy','isVisible','locale','remove','_refreshPositioningDebounced','NarrowSidebar','southArrowNorth','ck-sidebar--narrow','_showBalloon','detachFromDom','cancel','narrowSidebar','execute','clear','first','content','unpin','49437YPhkMA','_selectedAnnotations','isDirty','find','contains','Esc','get','init','narrowsidebar-detach-not-attached','delete','set','listenTo','bind','_destroyEditorAnnotationsIntegration'];_0x2aa7=function(){return _0x5724d4;};return _0x2aa7();}import'../../theme/sidebar-narrow.css';import{debounce as _0x41d03d}from'lodash-es';import _0x460c1b from'./editorannotations.js';export default class i extends _0x177dfa{static get[_0x41005a(0x123)](){return[_0xe6acfb,_0x3fba1c];}static get[_0x41005a(0x115)](){const _0x169312=_0x41005a;return _0x169312(0x16c);}constructor(_0x49f19a){const _0x3d9710=_0x41005a;super(_0x49f19a),this[_0x3d9710(0x149)]=!0x1,this[_0x3d9710(0x128)]=new Set(),this[_0x3d9710(0x130)]=Object[_0x3d9710(0x12e)](_0x1cbe60),this[_0x3d9710(0x141)]=new Map(),this[_0x3d9710(0x182)](_0x3d9710(0x10f),null),this[_0x3d9710(0x140)]=null,this[_0x3d9710(0x179)]=[],this[_0x3d9710(0x15f)]=new _0x38c756(),this[_0x3d9710(0x16b)]=_0x41d03d(()=>{const _0x2d0c1c=_0x3d9710;this[_0x2d0c1c(0x14a)]();},0xfa,{'leading':!0x1});}[_0x41005a(0x17f)](){const _0x2573f8=_0x41005a;this[_0x2573f8(0x13c)][_0x2573f8(0x137)][_0x2573f8(0x17e)](_0x3fba1c)[_0x2573f8(0x158)](_0x2573f8(0x172),this),this[_0x2573f8(0x15d)]=new _0x140ba3(this[_0x2573f8(0x13c)][_0x2573f8(0x169)]),this[_0x2573f8(0x121)]=new _0x30852f(this[_0x2573f8(0x13c)][_0x2573f8(0x169)]),this[_0x2573f8(0x15d)][_0x2573f8(0x14f)](),this[_0x2573f8(0x15d)][_0x2573f8(0x13f)](this[_0x2573f8(0x121)]);}[_0x41005a(0x11a)](_0x427298){const _0x4d1ffa=_0x41005a;this[_0x4d1ffa(0x140)]=_0x427298;const _0x5bb504=this[_0x4d1ffa(0x13c)][_0x4d1ffa(0x137)][_0x4d1ffa(0x17e)](_0xe6acfb),_0x22cbea=this[_0x4d1ffa(0x121)];if(_0x5bb504[_0x4d1ffa(0x120)]=_0x427298,this[_0x4d1ffa(0x149)])throw new _0xbd9d24(_0x4d1ffa(0x160),this);this[_0x4d1ffa(0x149)]=!0x0,this[_0x4d1ffa(0x183)](_0x5bb504,_0x4d1ffa(0x122),()=>{const _0x19f082=_0x4d1ffa;this[_0x19f082(0x13b)](),this[_0x19f082(0x183)](_0x5bb504,_0x19f082(0x12d),_0x1f8c8b=>{const _0x317cd1=_0x19f082;_0x1f8c8b[_0x317cd1(0x131)](),this[_0x317cd1(0x11a)](_0x427298);});}),_0x5bb504[_0x4d1ffa(0x142)]({'viewClass':_0x4d1ffa(0x16e),'spaceBetweenItems':0x5});const _0x24e5c4=_0x13910c=>{const _0x350b87=_0x4d1ffa,_0x2eb015=new _0x17f347(this[_0x350b87(0x13c)][_0x350b87(0x169)]);_0x5bb504[_0x350b87(0x15a)](_0x13910c,_0x2eb015),this[_0x350b87(0x141)][_0x350b87(0x182)](_0x13910c,_0x2eb015),_0x2eb015[_0x350b87(0x10a)](_0x350b87(0x17a),_0x350b87(0x145),_0x350b87(0x152))['to'](_0x13910c[_0x350b87(0x11b)],_0x350b87(0x17a),_0x350b87(0x15e),_0x350b87(0x159)),_0x2eb015['on'](_0x350b87(0x173),()=>{const _0x242821=_0x350b87;this[_0x242821(0x128)][_0x242821(0x174)](),_0x22cbea[_0x242821(0x176)][_0x242821(0x175)]!==_0x13910c[_0x242821(0x11b)]?(this[_0x242821(0x16f)](_0x13910c),_0x13910c[_0x242821(0x11b)][_0x242821(0x13d)][_0x242821(0x127)](),this[_0x242821(0x14d)](_0x13910c)):this[_0x242821(0x14d)](null);});};for(const _0x1801a7 of _0x427298)_0x24e5c4(_0x1801a7);this[_0x4d1ffa(0x183)](_0x427298,_0x4d1ffa(0x13f),(_0x36a441,_0x181f41)=>{_0x24e5c4(_0x181f41);}),this[_0x4d1ffa(0x183)](_0x427298,_0x4d1ffa(0x16a),(_0x515de6,_0x4127fd,_0x80d764)=>{const _0x215668=_0x4d1ffa;this[_0x215668(0x141)][_0x215668(0x17e)](_0x4127fd)[_0x215668(0x167)](),this[_0x215668(0x141)][_0x215668(0x181)](_0x4127fd),_0x5bb504[_0x215668(0x13e)]({'removedAnnotation':_0x4127fd,'previousAnnotation':_0x427298[_0x215668(0x17e)](_0x80d764-0x1),'nextAnnotation':_0x427298[_0x215668(0x17e)](_0x80d764+0x1)}),_0x4127fd===this[_0x215668(0x10f)]&&this[_0x215668(0x14d)](null);},{'priority':_0x4d1ffa(0x132)}),this[_0x4d1ffa(0x183)](_0x427298,_0x4d1ffa(0x127),(_0x32f3ad,_0x1a9467)=>{const _0x1b301f=_0x4d1ffa;this[_0x1b301f(0x14d)](_0x1a9467);}),this[_0x4d1ffa(0x183)](_0x427298,_0x4d1ffa(0x164),()=>{const _0x33f536=_0x4d1ffa;this[_0x33f536(0x14d)](null);}),this[_0x4d1ffa(0x130)][_0x4d1ffa(0x183)](document,_0x4d1ffa(0x147),(_0x4d0d74,_0x364a93)=>{const _0x4a7616=_0x4d1ffa;_0x364a93[_0x4a7616(0x150)]===_0x5f21b8[_0x4a7616(0x11c)]&&_0x22cbea[_0x4a7616(0x168)]&&(this[_0x4a7616(0x128)][_0x4a7616(0x13f)](_0x22cbea[_0x4a7616(0x176)][_0x4a7616(0x175)]),this[_0x4a7616(0x151)](),_0x364a93[_0x4a7616(0x14e)](),_0x364a93[_0x4a7616(0x165)]());}),this[_0x4d1ffa(0x130)][_0x4d1ffa(0x183)](document,_0x4d1ffa(0x154),(_0x569774,_0x25eba3)=>{const _0x23dd99=_0x4d1ffa,_0x54d5cf=_0x25eba3[_0x23dd99(0x14c)];_0x22cbea[_0x23dd99(0x168)]&&_0x22cbea[_0x23dd99(0x13d)][_0x23dd99(0x17c)](_0x54d5cf)||_0x5bb504[_0x23dd99(0x11b)][_0x23dd99(0x13d)][_0x23dd99(0x17c)](_0x54d5cf)||_0x569774[_0x23dd99(0x148)]||this[_0x23dd99(0x10f)]&&this[_0x23dd99(0x10f)][_0x23dd99(0x117)][_0x23dd99(0x17b)](_0x4fae07=>_0x4fae07[_0x23dd99(0x17c)](_0x54d5cf))||(this[_0x23dd99(0x128)][_0x23dd99(0x174)](),this[_0x23dd99(0x151)](),this[_0x23dd99(0x14d)](null));});const _0x30efee=this[_0x4d1ffa(0x13c)]instanceof _0x24a759?this[_0x4d1ffa(0x13c)][_0x4d1ffa(0x125)]:new _0x38c756([this[_0x4d1ffa(0x13c)]]);for(const _0x319053 of _0x30efee)this[_0x4d1ffa(0x133)](_0x319053);this[_0x4d1ffa(0x183)](_0x30efee,_0x4d1ffa(0x13f),(_0x1a57fc,_0x5caec6)=>{const _0x3e8df6=_0x4d1ffa;this[_0x3e8df6(0x183)](_0x5caec6,_0x3e8df6(0x126),()=>{const _0x59a513=_0x3e8df6;this[_0x59a513(0x133)](_0x5caec6);});}),this[_0x4d1ffa(0x183)](_0x30efee,_0x4d1ffa(0x16a),(_0x2c086a,_0x13fe83)=>{const _0x1da327=_0x4d1ffa;_0x13fe83[_0x1da327(0x137)][_0x1da327(0x124)](_0x1da327(0x153))&&this[_0x1da327(0x10b)](_0x13fe83[_0x1da327(0x137)][_0x1da327(0x17e)](_0x1da327(0x153)));}),window[_0x4d1ffa(0x166)](_0x4d1ffa(0x135),this[_0x4d1ffa(0x16b)]),this[_0x4d1ffa(0x14a)]();}[_0x41005a(0x14d)](_0x205905){const _0x5ce9a0=_0x41005a;if(_0x205905===this[_0x5ce9a0(0x10f)])return;const _0x355202=this[_0x5ce9a0(0x13c)][_0x5ce9a0(0x137)][_0x5ce9a0(0x17e)](_0xe6acfb);if(_0x355202[_0x5ce9a0(0x112)]({'blurredAnnotation':this[_0x5ce9a0(0x10f)],'activatedAnnotation':_0x205905,'disableAnimationOnActivatedAnnotation':!0x0}),_0x205905)_0x355202[_0x5ce9a0(0x138)](_0x205905)?this[_0x5ce9a0(0x16f)](_0x205905):this[_0x5ce9a0(0x151)]();else this[_0x5ce9a0(0x151)]();this[_0x5ce9a0(0x10f)]=_0x205905;}[_0x41005a(0x13b)](){const _0x5a0318=_0x41005a;if(!this[_0x5a0318(0x149)])throw new _0xbd9d24(_0x5a0318(0x180),this);this[_0x5a0318(0x14d)](null);const _0x2be1ed=this[_0x5a0318(0x13c)][_0x5a0318(0x137)][_0x5a0318(0x17e)](_0xe6acfb);this[_0x5a0318(0x151)](),Array[_0x5a0318(0x139)](this[_0x5a0318(0x141)][_0x5a0318(0x114)](),_0x49e765=>_0x49e765[_0x5a0318(0x167)]()),this[_0x5a0318(0x141)][_0x5a0318(0x174)](),_0x2be1ed[_0x5a0318(0x10d)](this[_0x5a0318(0x140)]),this[_0x5a0318(0x13a)](),this[_0x5a0318(0x130)][_0x5a0318(0x13a)](),this[_0x5a0318(0x13c)]instanceof _0x24a759&&this[_0x5a0318(0x13a)](this[_0x5a0318(0x13c)][_0x5a0318(0x125)]);for(const _0xe873d1 of Array[_0x5a0318(0x139)](this[_0x5a0318(0x15f)]))this[_0x5a0318(0x10b)](_0xe873d1);window[_0x5a0318(0x129)](_0x5a0318(0x135),this[_0x5a0318(0x16b)]),this[_0x5a0318(0x16b)][_0x5a0318(0x171)](),this[_0x5a0318(0x179)]=[],this[_0x5a0318(0x149)]=!0x1,this[_0x5a0318(0x140)]=null;}[_0x41005a(0x167)](){const _0x2f330=_0x41005a;this[_0x2f330(0x149)]&&this[_0x2f330(0x13b)](),this[_0x2f330(0x15d)][_0x2f330(0x170)]();}[_0x41005a(0x133)](_0x13dcfd){const _0x256119=_0x41005a,_0x4542b6=_0x13dcfd[_0x256119(0x137)][_0x256119(0x17e)](_0x460c1b),_0x27ceb8=this[_0x256119(0x13c)][_0x256119(0x137)][_0x256119(0x17e)](_0xe6acfb),_0x440060=this[_0x256119(0x140)],_0x29e449=this[_0x256119(0x121)],_0x3f04f6=()=>{const _0x5b9cdb=_0x256119,_0x556eb7=_0x4542b6[_0x5b9cdb(0x156)]({'annotations':this[_0x5b9cdb(0x140)],'activeAnnotation':this[_0x5b9cdb(0x10f)]});this[_0x5b9cdb(0x113)](_0x556eb7),this[_0x5b9cdb(0x14d)](_0x556eb7[0x0]||null);};this[_0x256119(0x183)](_0x4542b6,_0x256119(0x112),_0x3f04f6),this[_0x256119(0x183)](_0x4542b6,_0x256119(0x164),(_0x5922c7,{isAnnotationTracked:_0x11b38c})=>{const _0x3a5e3f=_0x256119;this[_0x3a5e3f(0x10f)]&&_0x11b38c(this[_0x3a5e3f(0x10f)])&&(this[_0x3a5e3f(0x113)]([]),this[_0x3a5e3f(0x14d)](null));}),this[_0x256119(0x183)](_0x4542b6,_0x256119(0x157),()=>{const _0x22584d=_0x256119;this[_0x22584d(0x16b)]();}),this[_0x256119(0x183)](_0x440060,_0x256119(0x164),_0x34659e=>{const _0x41daa8=_0x256119;_0x4542b6[_0x41daa8(0x14b)]()&&_0x34659e[_0x41daa8(0x11f)]();},{'priority':_0x256119(0x10e)}),this[_0x256119(0x183)](this[_0x256119(0x130)],_0x256119(0x154),(_0x33bd,_0x41df53)=>{const _0x1f9d4c=_0x256119,_0xf2a00c=_0x41df53[_0x1f9d4c(0x14c)];_0x29e449[_0x1f9d4c(0x168)]&&_0x29e449[_0x1f9d4c(0x13d)][_0x1f9d4c(0x17c)](_0xf2a00c)||_0x27ceb8[_0x1f9d4c(0x11b)][_0x1f9d4c(0x13d)][_0x1f9d4c(0x17c)](_0xf2a00c)||this[_0x1f9d4c(0x10f)]&&_0x4542b6[_0x1f9d4c(0x14b)]()&&(_0x3f04f6(),_0x33bd[_0x1f9d4c(0x148)]=!0x0);},{'priority':_0x256119(0x10e)}),this[_0x256119(0x15f)][_0x256119(0x13f)](_0x4542b6);}[_0x41005a(0x10b)](_0x468f1f){const _0x211f1a=_0x41005a;_0x468f1f&&(this[_0x211f1a(0x13a)](_0x468f1f),this[_0x211f1a(0x15f)][_0x211f1a(0x16a)](_0x468f1f));}[_0x41005a(0x113)](_0x23017d){const _0x58cbca=_0x41005a;for(const _0x5d99c5 of this[_0x58cbca(0x179)])_0x23017d[_0x58cbca(0x116)](_0x5d99c5)||this[_0x58cbca(0x128)][_0x58cbca(0x181)](_0x5d99c5[_0x58cbca(0x11b)]);this[_0x58cbca(0x179)]=_0x23017d;}[_0x41005a(0x14a)](){const _0x4f2137=_0x41005a,_0x55f086=this[_0x4f2137(0x121)];this[_0x4f2137(0x140)][_0x4f2137(0x118)](),_0x55f086[_0x4f2137(0x168)]&&this[_0x4f2137(0x146)]();}[_0x41005a(0x16f)](_0x44f7be){const _0x1c6dd9=_0x41005a;if(this[_0x1c6dd9(0x128)][_0x1c6dd9(0x124)](_0x44f7be[_0x1c6dd9(0x11b)]))return;const _0x2fe6f3=this[_0x1c6dd9(0x121)][_0x1c6dd9(0x176)][_0x1c6dd9(0x175)];_0x2fe6f3!==_0x44f7be[_0x1c6dd9(0x11b)]?(_0x2fe6f3&&this[_0x1c6dd9(0x163)](_0x2fe6f3),this[_0x1c6dd9(0x110)](_0x44f7be[_0x1c6dd9(0x11b)]),this[_0x1c6dd9(0x121)][_0x1c6dd9(0x176)][_0x1c6dd9(0x174)](),this[_0x1c6dd9(0x121)][_0x1c6dd9(0x176)][_0x1c6dd9(0x13f)](_0x44f7be[_0x1c6dd9(0x11b)]),this[_0x1c6dd9(0x146)]()):this[_0x1c6dd9(0x146)]();}[_0x41005a(0x146)](){const _0x1df8c7=_0x41005a,_0x466a96=this[_0x1df8c7(0x121)][_0x1df8c7(0x176)][_0x1df8c7(0x175)],_0x19777b=_0x466a96&&this[_0x1df8c7(0x140)][_0x1df8c7(0x11d)](_0x466a96);if(!_0x19777b||!this[_0x1df8c7(0x141)][_0x1df8c7(0x124)](_0x19777b))return;const _0x2245c6=this[_0x1df8c7(0x141)][_0x1df8c7(0x17e)](_0x19777b)[_0x1df8c7(0x13d)],_0x360b2c=(function(){const _0x1688e0=_0x1df8c7,_0x36b402=_0x30852f[_0x1688e0(0x162)];return[_0x36b402[_0x1688e0(0x12b)],_0x36b402[_0x1688e0(0x161)],_0x36b402[_0x1688e0(0x16d)],_0x36b402[_0x1688e0(0x143)],_0x36b402[_0x1688e0(0x12c)],_0x36b402[_0x1688e0(0x10c)]];}());this[_0x1df8c7(0x121)][_0x1df8c7(0x134)]({'target':_0x2245c6,'positions':_0x360b2c});}[_0x41005a(0x151)](){const _0x2344d9=_0x41005a,_0x594e49=this[_0x2344d9(0x121)],_0x3b487b=_0x594e49[_0x2344d9(0x176)][_0x2344d9(0x175)];_0x3b487b&&(this[_0x2344d9(0x163)](_0x3b487b),_0x594e49[_0x2344d9(0x177)](),_0x594e49[_0x2344d9(0x176)][_0x2344d9(0x174)]());}[_0x41005a(0x110)](_0x528a65){const _0x24a586=_0x41005a;this[_0x24a586(0x183)](_0x528a65,_0x24a586(0x111),()=>this[_0x24a586(0x146)]()),this[_0x24a586(0x183)](_0x528a65,_0x24a586(0x17d),(_0x3437b9,_0x398348)=>{const _0x4b5a71=_0x24a586;this[_0x4b5a71(0x128)][_0x4b5a71(0x13f)](_0x528a65),this[_0x4b5a71(0x151)](),_0x398348();});}[_0x41005a(0x163)](_0x27172a){const _0x3a0518=_0x41005a;this[_0x3a0518(0x13a)](_0x27172a);}}
|
|
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 _0x5eaa(){const _0x559521=['target','_alignForBottomChange','define','4074045pqjTvh','clear','bottom','push','_setItemTop','remove','_alignAfterItem','object','_alignBeforeItem','setContainer','Sidebar','_spaceBetweenItems','stopListening','view','sidebar.container','1916490VJkwhd','destroy','getSidebarItemView','nodeType','context','348964dzdhqq','sidebar-attachtocontainer-missing-container','_alignToTargetRect','_detachFromContainer','change:bottom','locale','render','minHeight','height','addAnnotation','_lastItem','_sidebarItemViewToAnnotation','length','28bZQSnZ','get','_createSidebarView','max','_getItemBefore','unbind','change:_lastItem','_getItemAfter','bind','sidebar.preventScrollOutOfView','add','sidebar-setcontainer-invalid-element','21797xwBWse','_annotationToSidebarItemView','last','config','change:top','container','getIndex','change:targetRect','element','top','_annotations','_recalculate','listenTo','_targetTop','targetRect','2DSOSEL','_attachToContainer','3075777NOyiLT','updateHeight','_updateLastItem','_activeAnnotation','_getTargetTop','set','_recalculateBuffer','isActive','class','_destroySidebarItemView','20EDNrZp','delete','221973UGtrGm','init','_getMaxAvailableTop','pluginName','refresh','appendChild','list','rearrange','isAnimationDisabled','content','_alignForTopChange','1123184vEIRmJ'];_0x5eaa=function(){return _0x559521;};return _0x5eaa();}const _0x4d2c26=_0xe28f;(function(_0xc21985,_0x24dd94){const _0x3246da=_0xe28f,_0x1df382=_0xc21985();while(!![]){try{const _0x35c019=parseInt(_0x3246da(0x11c))/0x1+-parseInt(_0x3246da(0x12b))/0x2*(parseInt(_0x3246da(0x139))/0x3)+-parseInt(_0x3246da(0x15c))/0x4+parseInt(_0x3246da(0x148))/0x5+-parseInt(_0x3246da(0x157))/0x6+-parseInt(_0x3246da(0x169))/0x7*(parseInt(_0x3246da(0x144))/0x8)+parseInt(_0x3246da(0x12d))/0x9*(parseInt(_0x3246da(0x137))/0xa);if(_0x35c019===_0x24dd94)break;else _0x1df382['push'](_0x1df382['shift']());}catch(_0x3b79d2){_0x1df382['push'](_0x1df382['shift']());}}}(_0x5eaa,0x74ab1));import{ContextPlugin as _0xba5c56}from'ckeditor5/src/core.js';import{Rect as _0x58573b,CKEditorError as _0x28c00e}from'ckeditor5/src/utils.js';function _0xe28f(_0x25f7c4,_0x152833){const _0x5eaa0f=_0x5eaa();return _0xe28f=function(_0xe28f9,_0xd32dd4){_0xe28f9=_0xe28f9-0x111;let _0xe43c48=_0x5eaa0f[_0xe28f9];return _0xe43c48;},_0xe28f(_0x25f7c4,_0x152833);}import _0x435173 from'./view/sidebarview.js';import _0x16ffc4 from'./view/sidebaritemview.js';export default class z extends _0xba5c56{static get[_0x4d2c26(0x13c)](){const _0x40dbdb=_0x4d2c26;return _0x40dbdb(0x152);}constructor(_0x5f0f64){const _0x2d603a=_0x4d2c26;super(_0x5f0f64),this[_0x2d603a(0x132)](_0x2d603a(0x166),void 0x0),this[_0x2d603a(0x155)]=this[_0x2d603a(0x112)](),this[_0x2d603a(0x132)](_0x2d603a(0x121),null),this[_0x2d603a(0x153)]=0x19,this[_0x2d603a(0x167)]=new Map(),this[_0x2d603a(0x11d)]=new Map(),this[_0x2d603a(0x15b)][_0x2d603a(0x11f)][_0x2d603a(0x147)](_0x2d603a(0x119),!0x1),this[_0x2d603a(0x126)]=null,this[_0x2d603a(0x130)]=null,this[_0x2d603a(0x133)]=[];}[_0x4d2c26(0x13a)](){const _0x419130=_0x4d2c26,_0x162707=this[_0x419130(0x15b)][_0x419130(0x11f)][_0x419130(0x111)](_0x419130(0x156));_0x162707&&this[_0x419130(0x151)](_0x162707);}[_0x4d2c26(0x151)](_0x3ace1d){const _0x37642d=_0x4d2c26;if(!y(_0x3ace1d))throw new _0x28c00e(_0x37642d(0x11b));this[_0x37642d(0x121)]=_0x3ace1d;}[_0x4d2c26(0x12c)]({viewClass:_0x11ec38='',spaceBetweenItems:_0x1b80b5=0x19}={}){const _0xee4c42=_0x4d2c26;if(!y(this[_0xee4c42(0x121)]))throw new _0x28c00e(_0xee4c42(0x15d),this);this[_0xee4c42(0x121)][_0xee4c42(0x13e)](this[_0xee4c42(0x155)][_0xee4c42(0x124)]),this[_0xee4c42(0x155)][_0xee4c42(0x135)]=_0x11ec38,this[_0xee4c42(0x153)]=_0x1b80b5;}[_0x4d2c26(0x140)]({removedAnnotation:_0x130745,previousAnnotation:_0x1b10de,nextAnnotation:_0x2ba1a9}){const _0x4c3a97=_0x4d2c26,_0x3d7c27=this[_0x4c3a97(0x159)](_0x130745);this[_0x4c3a97(0x155)][_0x4c3a97(0x13f)][_0x4c3a97(0x14d)](_0x3d7c27),this[_0x4c3a97(0x136)](_0x130745),_0x1b10de&&this[_0x4c3a97(0x15e)](this[_0x4c3a97(0x159)](_0x1b10de)),_0x2ba1a9&&this[_0x4c3a97(0x15e)](this[_0x4c3a97(0x159)](_0x2ba1a9)),this[_0x4c3a97(0x12f)]();}[_0x4d2c26(0x13d)]({blurredAnnotation:_0x9d6001,activatedAnnotation:_0x551727,disableAnimationOnActivatedAnnotation:_0x1cf1b1}){const _0x58ae67=_0x4d2c26;if(this[_0x58ae67(0x130)]=_0x551727,_0x9d6001){_0x9d6001[_0x58ae67(0x134)]=!0x1;const _0x4928e3=this[_0x58ae67(0x159)](_0x9d6001);_0x4928e3&&_0x1cf1b1&&(_0x4928e3[_0x58ae67(0x141)]=!0x1);}if(_0x551727){const _0x203dbe=this[_0x58ae67(0x159)](_0x551727);_0x203dbe&&(_0x551727[_0x58ae67(0x134)]=!0x0,_0x1cf1b1&&(_0x203dbe[_0x58ae67(0x141)]=!0x0,_0x203dbe[_0x58ae67(0x125)]+=0x1),this[_0x58ae67(0x15e)](_0x203dbe));}}[_0x4d2c26(0x15f)](_0x54fd18){const _0x1dcd8f=_0x4d2c26;if(this[_0x1dcd8f(0x155)][_0x1dcd8f(0x124)][_0x1dcd8f(0x14d)](),_0x54fd18){for(const _0x49436f of _0x54fd18)this[_0x1dcd8f(0x136)](_0x49436f);}this[_0x1dcd8f(0x155)][_0x1dcd8f(0x13f)][_0x1dcd8f(0x149)](),this[_0x1dcd8f(0x155)][_0x1dcd8f(0x135)]='',this[_0x1dcd8f(0x166)]=null;}[_0x4d2c26(0x165)](_0x355829,_0x152075){const _0x21e84e=_0x4d2c26;_0x152075||(_0x152075=_0x355829[_0x21e84e(0x155)]);const _0x4c898e=new _0x16ffc4(this[_0x21e84e(0x15b)][_0x21e84e(0x161)]);this[_0x21e84e(0x167)][_0x21e84e(0x132)](_0x4c898e,_0x355829),this[_0x21e84e(0x11d)][_0x21e84e(0x132)](_0x355829,_0x4c898e),_0x4c898e[_0x21e84e(0x142)][_0x21e84e(0x11a)](_0x152075),this[_0x21e84e(0x128)](_0x355829[_0x21e84e(0x155)],_0x21e84e(0x123),(_0x3c760a,_0x2460cc,_0x51bb09)=>{const _0x20d091=_0x21e84e,_0x3ecc18=this[_0x20d091(0x131)](_0x355829,_0x51bb09);_0x4c898e[_0x20d091(0x129)]!=_0x3ecc18&&(_0x4c898e[_0x20d091(0x129)]=_0x3ecc18,this[_0x20d091(0x14c)](_0x4c898e,_0x3ecc18));}),this[_0x21e84e(0x128)](_0x4c898e,_0x21e84e(0x120),()=>{const _0x1829f1=_0x21e84e;this[_0x1829f1(0x127)](_0x4c898e,_0x1829f1(0x125));}),this[_0x21e84e(0x128)](_0x4c898e,_0x21e84e(0x160),()=>{const _0x3e4c0a=_0x21e84e;this[_0x3e4c0a(0x127)](_0x4c898e,_0x3e4c0a(0x14a));}),this[_0x21e84e(0x15e)](_0x4c898e);const _0xedf1f1=this[_0x21e84e(0x114)](_0x4c898e);if(_0xedf1f1)this[_0x21e84e(0x14e)](_0xedf1f1,_0x4c898e)||this[_0x21e84e(0x15e)](_0x4c898e);else this[_0x21e84e(0x15e)](_0x4c898e);return this[_0x21e84e(0x12f)](),this[_0x21e84e(0x155)][_0x21e84e(0x13f)][_0x21e84e(0x11a)](_0x4c898e),_0x4c898e;}[_0x4d2c26(0x143)](_0x1f30aa){const _0x2dd87b=_0x4d2c26;if(!_0x1f30aa[_0x2dd87b(0x142)][_0x2dd87b(0x168)])return;const _0xfe74fe=this[_0x2dd87b(0x114)](_0x1f30aa);if(!_0xfe74fe)return;const _0x5b66b9=this[_0x2dd87b(0x167)][_0x2dd87b(0x111)](_0xfe74fe),_0x3736a9=this[_0x2dd87b(0x130)];_0x3736a9&&_0x3736a9===_0x5b66b9?this[_0x2dd87b(0x14e)](_0xfe74fe,_0x1f30aa):this[_0x2dd87b(0x150)](_0x1f30aa,_0xfe74fe);}[_0x4d2c26(0x146)](_0x3c3fc2){const _0x15ec46=_0x4d2c26;if(!_0x3c3fc2[_0x15ec46(0x142)][_0x15ec46(0x168)])return;const _0x491a10=this[_0x15ec46(0x117)](_0x3c3fc2);if(!_0x491a10)return;const _0x1c2819=this[_0x15ec46(0x167)][_0x15ec46(0x111)](_0x491a10),_0x3ee5ba=this[_0x15ec46(0x15b)][_0x15ec46(0x11f)][_0x15ec46(0x111)](_0x15ec46(0x119)),_0x4f334f=this[_0x15ec46(0x130)];_0x4f334f&&_0x4f334f===_0x1c2819&&_0x3ee5ba?(this[_0x15ec46(0x150)](_0x491a10,_0x3c3fc2),this[_0x15ec46(0x14e)](_0x3c3fc2,_0x491a10)):_0x4f334f&&_0x4f334f===_0x1c2819?this[_0x15ec46(0x150)](_0x491a10,_0x3c3fc2):this[_0x15ec46(0x14e)](_0x3c3fc2,_0x491a10);}[_0x4d2c26(0x127)](_0x13cbd3,_0x3cb316){const _0x3d6b94=_0x4d2c26;0x0===this[_0x3d6b94(0x133)][_0x3d6b94(0x168)]&&setTimeout(()=>{const _0x484bb6=_0x3d6b94;for(const {sidebarItemView:_0x321020,changedProp:_0x4b8934}of this[_0x484bb6(0x133)])_0x484bb6(0x125)===_0x4b8934?this[_0x484bb6(0x143)](_0x321020):this[_0x484bb6(0x146)](_0x321020);this[_0x484bb6(0x133)]=[];},0xa),this[_0x3d6b94(0x133)][_0x3d6b94(0x14b)]({'sidebarItemView':_0x13cbd3,'changedProp':_0x3cb316});}[_0x4d2c26(0x159)](_0x551e6b){const _0x5977ce=_0x4d2c26;return this[_0x5977ce(0x11d)][_0x5977ce(0x111)](_0x551e6b);}[_0x4d2c26(0x158)](){const _0x461a30=_0x4d2c26;this[_0x461a30(0x154)](),this[_0x461a30(0x155)][_0x461a30(0x158)]();}[_0x4d2c26(0x136)](_0x1b0e92){const _0x282429=_0x4d2c26,_0x5727a8=this[_0x282429(0x159)](_0x1b0e92);this[_0x282429(0x154)](_0x5727a8),this[_0x282429(0x154)](_0x1b0e92[_0x282429(0x155)]),_0x5727a8[_0x282429(0x158)](),this[_0x282429(0x11d)][_0x282429(0x138)](_0x1b0e92),this[_0x282429(0x167)][_0x282429(0x138)](_0x5727a8);}[_0x4d2c26(0x112)](){const _0x53c024=_0x4d2c26,_0x408a81=new _0x435173(this[_0x53c024(0x15b)][_0x53c024(0x161)]);return _0x408a81[_0x53c024(0x162)](),this['on'](_0x53c024(0x116),(_0x54879b,_0x1f3b3e,_0x459f83,_0x179d93)=>{const _0x47ef07=_0x53c024;_0x179d93&&_0x408a81[_0x47ef07(0x115)](_0x47ef07(0x163)),_0x459f83?_0x408a81[_0x47ef07(0x118)](_0x47ef07(0x163))['to'](_0x459f83,_0x47ef07(0x14a)):_0x408a81[_0x47ef07(0x163)]=null;}),_0x408a81;}[_0x4d2c26(0x12f)](){const _0x334483=_0x4d2c26;var _0x1bb6ef;this[_0x334483(0x166)]=(null===(_0x1bb6ef=this[_0x334483(0x126)])||void 0x0===_0x1bb6ef?void 0x0:_0x1bb6ef[_0x334483(0x11e)])?this[_0x334483(0x159)](this[_0x334483(0x126)][_0x334483(0x11e)]):null;}[_0x4d2c26(0x114)](_0x276bfd){const _0xa33d6a=_0x4d2c26;var _0x518558;const _0x182745=this[_0xa33d6a(0x167)][_0xa33d6a(0x111)](_0x276bfd),_0x5c0179=_0x182745&&(null===(_0x518558=this[_0xa33d6a(0x126)])||void 0x0===_0x518558?void 0x0:_0x518558[_0xa33d6a(0x111)](this[_0xa33d6a(0x126)][_0xa33d6a(0x122)](_0x182745)-0x1));return _0x5c0179&&this[_0xa33d6a(0x159)](_0x5c0179)||null;}[_0x4d2c26(0x117)](_0x9ad06e){const _0x534908=_0x4d2c26;var _0x1e6f48;const _0x51ca43=this[_0x534908(0x167)][_0x534908(0x111)](_0x9ad06e),_0x3bf300=_0x51ca43&&(null===(_0x1e6f48=this[_0x534908(0x126)])||void 0x0===_0x1e6f48?void 0x0:_0x1e6f48[_0x534908(0x111)](this[_0x534908(0x126)][_0x534908(0x122)](_0x51ca43)+0x1));return _0x3bf300&&this[_0x534908(0x159)](_0x3bf300)||null;}[_0x4d2c26(0x150)](_0x24d076,_0x58b61a){const _0x30882a=_0x4d2c26;_0x24d076[_0x30882a(0x12e)]();const _0x8f9b09=M(_0x58b61a[_0x30882a(0x14a)]+this[_0x30882a(0x153)],_0x24d076[_0x30882a(0x125)]);return!!_0x8f9b09&&(this[_0x30882a(0x14c)](_0x58b61a,_0x58b61a[_0x30882a(0x125)]-_0x8f9b09),!0x0);}[_0x4d2c26(0x14e)](_0x36b447,_0x1a2f83){const _0x218b71=_0x4d2c26;_0x36b447[_0x218b71(0x12e)]();const _0x3707a3=M(_0x36b447[_0x218b71(0x14a)]+this[_0x218b71(0x153)],_0x1a2f83[_0x218b71(0x125)]);return!!_0x3707a3&&(this[_0x218b71(0x14c)](_0x1a2f83,_0x1a2f83[_0x218b71(0x125)]+_0x3707a3,!0x1),!0x0);}[_0x4d2c26(0x15e)](_0x29aa93){const _0xfd0b73=_0x4d2c26,_0x58fbdc=this[_0xfd0b73(0x167)][_0xfd0b73(0x111)](_0x29aa93);if(!_0x58fbdc||!_0x58fbdc[_0xfd0b73(0x145)]||!_0x58fbdc[_0xfd0b73(0x12a)])return;const _0x3270ae=this[_0xfd0b73(0x131)](_0x58fbdc,_0x58fbdc[_0xfd0b73(0x12a)]);this[_0xfd0b73(0x14c)](_0x29aa93,_0x3270ae);}[_0x4d2c26(0x131)](_0x4dda1a,_0x591c05){const _0x45b5e8=_0x4d2c26;if(null===_0x591c05)return 0x0;if(_0x4dda1a[_0x45b5e8(0x145)]instanceof _0x58573b)return _0x591c05[_0x45b5e8(0x125)];{const _0x586d92=new _0x58573b(this[_0x45b5e8(0x155)][_0x45b5e8(0x124)])[_0x45b5e8(0x125)];return _0x591c05[_0x45b5e8(0x125)]-_0x586d92;}}[_0x4d2c26(0x14c)](_0x5900e9,_0x43652b,_0x53ea1d=this[_0x4d2c26(0x15b)][_0x4d2c26(0x11f)][_0x4d2c26(0x111)](_0x4d2c26(0x119))){const _0x538f3b=_0x4d2c26;_0x53ea1d&&(_0x43652b=Math[_0x538f3b(0x113)](_0x43652b,this[_0x538f3b(0x13b)](_0x5900e9))),_0x5900e9[_0x538f3b(0x125)]=_0x43652b;}[_0x4d2c26(0x13b)](_0x1421e6){const _0x3ade97=_0x4d2c26;let _0x128c1e=this[_0x3ade97(0x114)](_0x1421e6),_0x48fe32=0x0;for(;_0x128c1e;)_0x128c1e[_0x3ade97(0x12e)](),_0x48fe32+=this[_0x3ade97(0x153)]+_0x128c1e[_0x3ade97(0x164)],_0x128c1e=this[_0x3ade97(0x114)](_0x128c1e);return _0x48fe32;}}function M(_0x2ef949,_0x193ed1){const _0x24ac2f=_0x4d2c26;return Math[_0x24ac2f(0x113)](_0x2ef949-_0x193ed1,0x0);}function y(_0x507b59){const _0x48136c=_0x4d2c26;return null!==_0x507b59&&_0x48136c(0x14f)==typeof _0x507b59&&0x1===_0x507b59[_0x48136c(0x15a)];}
|
|
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
|
-
(function(
|
|
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);}}
|