@ckeditor/ckeditor5-comments 42.0.0-alpha.10 → 42.0.0-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x21d5(_0x186b6f,_0x3cd35a){const _0x596c24=_0x596c();return _0x21d5=function(_0x21d521,_0x2b127c){_0x21d521=_0x21d521-0x12f;let _0x31ecbe=_0x596c24[_0x21d521];return _0x31ecbe;},_0x21d5(_0x186b6f,_0x3cd35a);}const _0x23cd00=_0x21d5;(function(_0x3a58c2,_0x203f48){const _0x43650c=_0x21d5,_0x3cf18d=_0x3a58c2();while(!![]){try{const _0x197023=parseInt(_0x43650c(0x186))/0x1+-parseInt(_0x43650c(0x17e))/0x2+parseInt(_0x43650c(0x133))/0x3*(parseInt(_0x43650c(0x14a))/0x4)+parseInt(_0x43650c(0x16b))/0x5+parseInt(_0x43650c(0x147))/0x6*(parseInt(_0x43650c(0x149))/0x7)+-parseInt(_0x43650c(0x148))/0x8+parseInt(_0x43650c(0x150))/0x9*(parseInt(_0x43650c(0x17c))/0xa);if(_0x197023===_0x203f48)break;else _0x3cf18d['push'](_0x3cf18d['shift']());}catch(_0x566642){_0x3cf18d['push'](_0x3cf18d['shift']());}}}(_0x596c,0x60fdb));import{Plugin as _0x172a3c}from'ckeditor5/src/core.js';import _0x328b00 from'./annotationsuis.js';import _0x557277 from'./editorannotations.js';import{ContextualBalloon as _0x3d1588}from'ckeditor5/src/ui.js';import{MouseObserver as _0x285852}from'ckeditor5/src/engine.js';import{CKEditorError as _0x282e96,Rect as _0x5ad886}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x172a3c{static get[_0x23cd00(0x15c)](){return[_0x557277,_0x3d1588,_0x328b00];}static get[_0x23cd00(0x173)](){const _0x275cd3=_0x23cd00;return _0x275cd3(0x185);}constructor(_0x184a72){const _0x4add77=_0x23cd00;super(_0x184a72),_0x184a72[_0x4add77(0x156)][_0x4add77(0x14b)][_0x4add77(0x12f)](_0x285852),this[_0x4add77(0x13d)]=!0x1,this[_0x4add77(0x140)](_0x4add77(0x18d),null),this[_0x4add77(0x178)]=null,this[_0x4add77(0x18c)]=new Set(),this[_0x4add77(0x187)]=_0x184a72[_0x4add77(0x154)][_0x4add77(0x188)](_0x3d1588),this[_0x4add77(0x170)]=new Set(),this[_0x4add77(0x18e)]=[],this[_0x4add77(0x17f)]=!0x1;}[_0x23cd00(0x163)](){const _0xc4aab3=_0x23cd00,_0x336242=this[_0xc4aab3(0x141)][_0xc4aab3(0x154)][_0xc4aab3(0x188)](_0x328b00);_0x336242[_0xc4aab3(0x18a)]===this[_0xc4aab3(0x141)]&&(_0x336242[_0xc4aab3(0x177)](_0xc4aab3(0x168),this),this[_0xc4aab3(0x141)][_0xc4aab3(0x132)][_0xc4aab3(0x140)](_0xc4aab3(0x169),(_0x298b9b,_0x50adfe)=>{const _0x5b8a6f=_0xc4aab3,_0x2f4f18=this[_0x5b8a6f(0x187)];if(this[_0x5b8a6f(0x13d)]&&_0x2f4f18[_0x5b8a6f(0x183)]){const _0x19d72f=this[_0x5b8a6f(0x178)][_0x5b8a6f(0x131)](_0x2f4f18[_0x5b8a6f(0x183)]);_0x19d72f&&this[_0x5b8a6f(0x16e)](_0x19d72f),_0x50adfe();}}));}[_0x23cd00(0x146)](){const _0x4d64fd=_0x23cd00,_0x1d746b=this[_0x4d64fd(0x141)][_0x4d64fd(0x154)][_0x4d64fd(0x188)](_0x328b00);_0x1d746b[_0x4d64fd(0x18a)]===this[_0x4d64fd(0x141)]&&(_0x1d746b[_0x4d64fd(0x14e)]()||_0x1d746b[_0x4d64fd(0x15f)](_0x4d64fd(0x168)));}[_0x23cd00(0x16d)](_0x3235d5){const _0x3d6dfd=_0x23cd00;_0x3235d5!==this[_0x3d6dfd(0x18d)]&&(this[_0x3d6dfd(0x18d)]&&(this[_0x3d6dfd(0x18d)][_0x3d6dfd(0x180)]=!0x1),_0x3235d5&&this[_0x3d6dfd(0x141)]['ui'][_0x3d6dfd(0x144)][_0x3d6dfd(0x176)]&&(this[_0x3d6dfd(0x178)][_0x3d6dfd(0x17a)](_0x3235d5)&&this[_0x3d6dfd(0x17d)](_0x3235d5,!0x0),_0x3235d5[_0x3d6dfd(0x180)]=!0x0),_0x3235d5||this[_0x3d6dfd(0x157)]([]),this[_0x3d6dfd(0x18d)]=_0x3235d5);}[_0x23cd00(0x179)](_0x4043f4){const _0x391a95=_0x23cd00;this[_0x391a95(0x178)]=_0x4043f4;const _0x161fa2=this[_0x391a95(0x141)][_0x391a95(0x154)][_0x391a95(0x188)](_0x328b00),_0x156ae9=this[_0x391a95(0x187)];if(this[_0x391a95(0x13d)])throw new _0x282e96(_0x391a95(0x13a),this);if(_0x161fa2[_0x391a95(0x18a)]!==this[_0x391a95(0x141)])throw new _0x282e96(_0x391a95(0x164),this);const _0x55035d=this[_0x391a95(0x141)][_0x391a95(0x154)][_0x391a95(0x188)](_0x557277);this[_0x391a95(0x155)](_0x55035d,_0x391a95(0x159),()=>{const _0x555f74=_0x391a95,_0x3b08bc=_0x55035d[_0x555f74(0x162)]({'annotations':this[_0x555f74(0x178)],'activeAnnotation':this[_0x555f74(0x18d)]});var _0x5142cb,_0x68bbaa;!this[_0x555f74(0x17f)]&&(_0x5142cb=_0x3b08bc,_0x68bbaa=this[_0x555f74(0x18e)],_0x5142cb[_0x555f74(0x13c)]===_0x68bbaa[_0x555f74(0x13c)]&&_0x5142cb[_0x555f74(0x135)](_0xa29548=>_0x68bbaa[_0x555f74(0x15e)](_0xa29548)))||(this[_0x555f74(0x17f)]=!0x1,this[_0x555f74(0x157)](_0x3b08bc),this[_0x555f74(0x16d)](_0x3b08bc[0x0]||null));}),this[_0x391a95(0x155)](_0x55035d,_0x391a95(0x160),(_0x2b4d56,{isAnnotationTracked:_0x512afb})=>{const _0x295547=_0x391a95;this[_0x295547(0x18d)]&&_0x512afb(this[_0x295547(0x18d)])&&(this[_0x295547(0x157)]([]),this[_0x295547(0x16d)](null));}),this[_0x391a95(0x155)](this[_0x391a95(0x141)]['ui'][_0x391a95(0x144)],_0x391a95(0x158),(_0x294dc9,_0x33bc0c,_0x228ead)=>{const _0x25709b=_0x391a95;_0x228ead||this[_0x25709b(0x16d)](null);}),this[_0x391a95(0x155)](_0x4043f4,_0x391a95(0x172),(_0x3713d8,_0x54c15a)=>{const _0x229579=_0x391a95;this[_0x229579(0x134)](_0x54c15a),_0x54c15a===this[_0x229579(0x18d)]&&this[_0x229579(0x16d)](null);}),this[_0x391a95(0x155)](_0x156ae9,_0x391a95(0x171),(_0x41fc0b,_0x5af876,_0x4e8830,_0x5bb845)=>{const _0x5aef0f=_0x391a95;_0x5bb845&&this[_0x5aef0f(0x152)](_0x5bb845);const _0x2a06f4=_0x4043f4[_0x5aef0f(0x131)](_0x4e8830);_0x4e8830&&_0x2a06f4&&(this[_0x5aef0f(0x155)](_0x4e8830,_0x5aef0f(0x16f),()=>{const _0x14290c=_0x5aef0f;_0x156ae9[_0x14290c(0x174)]();}),this[_0x5aef0f(0x155)](_0x4e8830,_0x5aef0f(0x169),()=>{const _0x229d55=_0x5aef0f;this[_0x229d55(0x16e)](_0x2a06f4),this[_0x229d55(0x141)][_0x229d55(0x156)][_0x229d55(0x14b)][_0x229d55(0x13e)]();}),this[_0x5aef0f(0x18d)]!==_0x2a06f4&&this[_0x5aef0f(0x16d)](_0x2a06f4));}),this[_0x391a95(0x155)](this[_0x391a95(0x141)]['ui'],_0x391a95(0x18f),()=>{const _0x584fb3=_0x391a95;_0x156ae9[_0x584fb3(0x183)]&&(_0x4043f4[_0x584fb3(0x131)](_0x156ae9[_0x584fb3(0x183)])&&_0x156ae9[_0x584fb3(0x174)]());}),this[_0x391a95(0x155)](this[_0x391a95(0x141)][_0x391a95(0x156)][_0x391a95(0x14b)][_0x391a95(0x13f)],_0x391a95(0x182),()=>{const _0x250ce5=_0x391a95;this[_0x250ce5(0x17f)]=!0x0,this[_0x250ce5(0x18c)][_0x250ce5(0x166)]();}),this[_0x391a95(0x141)][_0x391a95(0x156)][_0x391a95(0x14b)][_0x391a95(0x13f)][_0x391a95(0x14d)][_0x391a95(0x16c)]&&this[_0x391a95(0x141)][_0x391a95(0x156)][_0x391a95(0x14b)][_0x391a95(0x13e)](),this[_0x391a95(0x13d)]=!0x0;}[_0x23cd00(0x14f)](){const _0x1d1ce4=_0x23cd00;if(!this[_0x1d1ce4(0x13d)])throw new _0x282e96(_0x1d1ce4(0x138),this);this[_0x1d1ce4(0x16d)](null);for(const _0x262d5e of this[_0x1d1ce4(0x170)])this[_0x1d1ce4(0x134)](_0x262d5e);this[_0x1d1ce4(0x152)](),this[_0x1d1ce4(0x13d)]=!0x1,this[_0x1d1ce4(0x178)]=null;}[_0x23cd00(0x161)](){const _0xeca9f4=_0x23cd00;this[_0xeca9f4(0x13d)]&&this[_0xeca9f4(0x14f)]();}[_0x23cd00(0x157)](_0x487a15){const _0x31ca4d=_0x23cd00;for(const _0x1f33f7 of this[_0x31ca4d(0x18e)])_0x487a15[_0x31ca4d(0x15e)](_0x1f33f7)||this[_0x31ca4d(0x18c)][_0x31ca4d(0x151)](_0x1f33f7);for(const _0x41bc09 of this[_0x31ca4d(0x178)])_0x487a15[_0x31ca4d(0x15e)](_0x41bc09)||this[_0x31ca4d(0x134)](_0x41bc09);if(this[_0x31ca4d(0x141)]['ui'][_0x31ca4d(0x144)][_0x31ca4d(0x176)]){for(const _0x1a1a5a of _0x487a15)this[_0x31ca4d(0x17d)](_0x1a1a5a);}this[_0x31ca4d(0x18e)]=_0x487a15;}[_0x23cd00(0x17d)](_0x442225,_0x15b040=!0x1){const _0x384284=_0x23cd00;this[_0x384284(0x18c)][_0x384284(0x17a)](_0x442225)||(this[_0x384284(0x170)][_0x384284(0x17a)](_0x442225)||this[_0x384284(0x187)][_0x384284(0x17b)](_0x442225[_0x384284(0x14b)])||(this[_0x384284(0x170)][_0x384284(0x13b)](_0x442225),this[_0x384284(0x187)][_0x384284(0x13b)]({'stackId':_0x442225[_0x384284(0x14b)]['id'],'view':_0x442225[_0x384284(0x14b)],'position':{'target':()=>this[_0x384284(0x14c)](_0x442225)}})),_0x15b040&&this[_0x384284(0x187)][_0x384284(0x15b)](_0x442225[_0x384284(0x14b)]['id']));}[_0x23cd00(0x14c)](_0x58b52e){const _0x335573=_0x23cd00,_0x49e8b1=_0x58b52e[_0x335573(0x175)],_0x1a1354=this[_0x335573(0x141)][_0x335573(0x156)][_0x335573(0x14b)],_0x2ab286=_0x1a1354[_0x335573(0x13f)][_0x335573(0x14d)][_0x335573(0x142)](),_0x3e8190=_0x1a1354[_0x335573(0x130)][_0x335573(0x18b)](_0x2ab286);if(_0x3e8190[_0x335573(0x165)](!0x0),_0x49e8b1){if(_0x49e8b1 instanceof _0x5ad886)return _0x49e8b1;let _0x43147a=[];for(const _0x287c01 of _0x49e8b1)_0x43147a[_0x335573(0x137)](...(_0x3d8cd0=_0x287c01[_0x335573(0x184)](),Array[_0x335573(0x136)](_0x3d8cd0)[_0x335573(0x167)](DOMRect[_0x335573(0x15d)])));_0x43147a=function(_0x1d03c5){const _0x309b9a=_0x335573,_0x2e21fd=[];let _0x489346=_0x1d03c5[0x0];for(let _0x3f5bc9=0x1;_0x3f5bc9<_0x1d03c5[_0x309b9a(0x13c)];_0x3f5bc9++)F(_0x489346,_0x1d03c5[_0x3f5bc9])?_0x489346[_0x309b9a(0x15a)]+=_0x1d03c5[_0x3f5bc9][_0x309b9a(0x15a)]:(_0x2e21fd[_0x309b9a(0x137)](_0x489346),_0x489346=_0x1d03c5[_0x3f5bc9]);return _0x2e21fd[_0x309b9a(0x137)](_0x489346),_0x2e21fd;}(_0x43147a);const _0x1490d8=_0x3e8190[_0x335573(0x181)]();return _0x43147a[_0x335573(0x16a)](_0x34a230=>_0x34a230[_0x335573(0x153)]<=_0x1490d8[_0x335573(0x153)]&&_0x34a230[_0x335573(0x143)]>=_0x1490d8[_0x335573(0x143)]&&_0x34a230[_0x335573(0x139)]<=_0x1490d8[_0x335573(0x139)]&&_0x34a230[_0x335573(0x189)]>=_0x1490d8[_0x335573(0x189)])||_0x43147a[0x0];}var _0x3d8cd0;return _0x58b52e[_0x335573(0x145)]||_0x3e8190;}[_0x23cd00(0x134)](_0x11ce3b){const _0x281f58=_0x23cd00;this[_0x281f58(0x170)][_0x281f58(0x17a)](_0x11ce3b)&&this[_0x281f58(0x187)][_0x281f58(0x17b)](_0x11ce3b[_0x281f58(0x14b)])&&(this[_0x281f58(0x170)][_0x281f58(0x151)](_0x11ce3b),this[_0x281f58(0x187)][_0x281f58(0x172)](_0x11ce3b[_0x281f58(0x14b)]));}[_0x23cd00(0x16e)](_0x3a226d){const _0x4a74f5=_0x23cd00;this[_0x4a74f5(0x18c)][_0x4a74f5(0x13b)](_0x3a226d),this[_0x4a74f5(0x134)](_0x3a226d);}}function _0x596c(){const _0x306379=['collapse','clear','map','inline','Esc','find','2513515gnWRWR','editableElement','setActiveAnnotation','_closeAnnotation','change:height','_addedAnnotations','change:visibleView','remove','pluginName','updatePosition','target','isFocused','register','annotations','attach','has','hasView','345100ztsSjl','_addAnnotationToBalloon','849936fRYTap','_forceRefresh','isActive','getBoundingClientRect','mousedown','visibleView','getClientRects','InlineAnnotations','228544LIubSa','_balloon','get','right','context','viewRangeToDom','_manuallyClosed','activeAnnotation','_selectedAnnotations','update','addObserver','domConverter','getByView','keystrokes','21OjFOft','_removeAnnotationFromBalloon','every','from','push','inlineannotations-detach-not-attached','left','inlineannotations-attach-already-attached','add','length','isAttached','focus','document','set','editor','getFirstRange','bottom','focusTracker','targetRect','afterInit','764310RhXCoJ','4977808tFSAOj','7NJMVTr','19244OLdhZo','view','_getBalloonTargetForAnnotation','selection','hasActive','detach','144PaSInG','delete','stopListening','top','plugins','listenTo','editing','_setSelectedAnnotations','change:isFocused','refresh','width','showStack','requires','fromRect','includes','switchTo','blur','destroy','getOrderedSelectedAnnotations','init','inlineannotations-not-allowed-with-context'];_0x596c=function(){return _0x306379;};return _0x596c();}function F(_0x2bf6da,_0x412cd6){const _0x546f32=_0x23cd00;return _0x2bf6da[_0x546f32(0x153)]===_0x412cd6[_0x546f32(0x153)]&&_0x2bf6da[_0x546f32(0x143)]===_0x412cd6[_0x546f32(0x143)]&&_0x2bf6da[_0x546f32(0x189)]===_0x412cd6[_0x546f32(0x139)];}
|
|
23
|
+
const _0x244181=_0x47b9;(function(_0x3c947,_0x17dea8){const _0x57a5d0=_0x47b9,_0x8a08f3=_0x3c947();while(!![]){try{const _0x6ff9d7=-parseInt(_0x57a5d0(0x10c))/0x1*(-parseInt(_0x57a5d0(0x112))/0x2)+-parseInt(_0x57a5d0(0x13f))/0x3+-parseInt(_0x57a5d0(0x10f))/0x4*(parseInt(_0x57a5d0(0x11b))/0x5)+parseInt(_0x57a5d0(0x11c))/0x6+parseInt(_0x57a5d0(0x13e))/0x7+parseInt(_0x57a5d0(0x13b))/0x8+-parseInt(_0x57a5d0(0x158))/0x9;if(_0x6ff9d7===_0x17dea8)break;else _0x8a08f3['push'](_0x8a08f3['shift']());}catch(_0x140595){_0x8a08f3['push'](_0x8a08f3['shift']());}}}(_0x497e,0x21ca5));import{Plugin as _0xcb8a34}from'ckeditor5/src/core.js';function _0x47b9(_0x510a45,_0x3cca99){const _0x497e5d=_0x497e();return _0x47b9=function(_0x47b9e1,_0x258b6a){_0x47b9e1=_0x47b9e1-0xfe;let _0x50e905=_0x497e5d[_0x47b9e1];return _0x50e905;},_0x47b9(_0x510a45,_0x3cca99);}import _0x1d150e from'./annotationsuis.js';import _0x4267ea from'./editorannotations.js';import{ContextualBalloon as _0x3088cc}from'ckeditor5/src/ui.js';function _0x497e(){const _0x20805b=['width','switchTo','pluginName','editableElement','isAttached','inlineannotations-attach-already-attached','updatePosition','editing','bottom','getClientRects','3401847MJDKwu','domConverter','add','from','change:visibleView','activeAnnotation','inlineannotations-not-allowed-with-context','target','length','hasActive','getOrderedSelectedAnnotations','_manuallyClosed','includes','setActiveAnnotation','getBoundingClientRect','addObserver','find','register','_getBalloonTargetForAnnotation','Esc','31632dmwpzZ','plugins','isFocused','388996VzIbWB','remove','InlineAnnotations','8eitXwx','_selectedAnnotations','view','targetRect','document','focusTracker','selection','inlineannotations-detach-not-attached','inline','5LOopdg','1355274SJjonn','get','mousedown','clear','attach','_addedAnnotations','_setSelectedAnnotations','change:height','hasView','afterInit','init','requires','fromRect','showStack','listenTo','every','_balloon','focus','_removeAnnotationFromBalloon','destroy','detach','push','map','visibleView','left','_forceRefresh','_closeAnnotation','change:isFocused','update','top','delete','460784aUpIoC','has','context','1861741LIjhzN','186993zXRFqY','stopListening','isActive','editor','set','getByView','refresh','collapse','blur','keystrokes','right','viewRangeToDom','getFirstRange','annotations','_addAnnotationToBalloon'];_0x497e=function(){return _0x20805b;};return _0x497e();}import{MouseObserver as _0x3ea87c}from'ckeditor5/src/engine.js';import{CKEditorError as _0xe6f73d,Rect as _0x4d3754}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0xcb8a34{static get[_0x244181(0x127)](){return[_0x4267ea,_0x3088cc,_0x1d150e];}static get[_0x244181(0x150)](){const _0x457c16=_0x244181;return _0x457c16(0x111);}constructor(_0x5b536b){const _0x28d3bb=_0x244181;super(_0x5b536b),_0x5b536b[_0x28d3bb(0x155)][_0x28d3bb(0x114)][_0x28d3bb(0x107)](_0x3ea87c),this[_0x28d3bb(0x152)]=!0x1,this[_0x28d3bb(0x143)](_0x28d3bb(0x15d),null),this[_0x28d3bb(0x14c)]=null,this[_0x28d3bb(0x103)]=new Set(),this[_0x28d3bb(0x12c)]=_0x5b536b[_0x28d3bb(0x10d)][_0x28d3bb(0x11d)](_0x3088cc),this[_0x28d3bb(0x121)]=new Set(),this[_0x28d3bb(0x113)]=[],this[_0x28d3bb(0x135)]=!0x1;}[_0x244181(0x126)](){const _0x2f1ec1=_0x244181,_0x57c76f=this[_0x2f1ec1(0x142)][_0x2f1ec1(0x10d)][_0x2f1ec1(0x11d)](_0x1d150e);_0x57c76f[_0x2f1ec1(0x13d)]===this[_0x2f1ec1(0x142)]&&(_0x57c76f[_0x2f1ec1(0x109)](_0x2f1ec1(0x11a),this),this[_0x2f1ec1(0x142)][_0x2f1ec1(0x148)][_0x2f1ec1(0x143)](_0x2f1ec1(0x10b),(_0xbad4c9,_0x26c227)=>{const _0x1d372b=_0x2f1ec1,_0x2f3be3=this[_0x1d372b(0x12c)];if(this[_0x1d372b(0x152)]&&_0x2f3be3[_0x1d372b(0x133)]){const _0x1e1c2d=this[_0x1d372b(0x14c)][_0x1d372b(0x144)](_0x2f3be3[_0x1d372b(0x133)]);_0x1e1c2d&&this[_0x1d372b(0x136)](_0x1e1c2d),_0x26c227();}}));}[_0x244181(0x125)](){const _0x4fa342=_0x244181,_0x275734=this[_0x4fa342(0x142)][_0x4fa342(0x10d)][_0x4fa342(0x11d)](_0x1d150e);_0x275734[_0x4fa342(0x13d)]===this[_0x4fa342(0x142)]&&(_0x275734[_0x4fa342(0x101)]()||_0x275734[_0x4fa342(0x14f)](_0x4fa342(0x11a)));}[_0x244181(0x105)](_0x45d73b){const _0x5545c3=_0x244181;_0x45d73b!==this[_0x5545c3(0x15d)]&&(this[_0x5545c3(0x15d)]&&(this[_0x5545c3(0x15d)][_0x5545c3(0x141)]=!0x1),_0x45d73b&&this[_0x5545c3(0x142)]['ui'][_0x5545c3(0x117)][_0x5545c3(0x10e)]&&(this[_0x5545c3(0x14c)][_0x5545c3(0x13c)](_0x45d73b)&&this[_0x5545c3(0x14d)](_0x45d73b,!0x0),_0x45d73b[_0x5545c3(0x141)]=!0x0),_0x45d73b||this[_0x5545c3(0x122)]([]),this[_0x5545c3(0x15d)]=_0x45d73b);}[_0x244181(0x120)](_0x395ae6){const _0xde9d52=_0x244181;this[_0xde9d52(0x14c)]=_0x395ae6;const _0x14095c=this[_0xde9d52(0x142)][_0xde9d52(0x10d)][_0xde9d52(0x11d)](_0x1d150e),_0x463873=this[_0xde9d52(0x12c)];if(this[_0xde9d52(0x152)])throw new _0xe6f73d(_0xde9d52(0x153),this);if(_0x14095c[_0xde9d52(0x13d)]!==this[_0xde9d52(0x142)])throw new _0xe6f73d(_0xde9d52(0xfe),this);const _0x10344c=this[_0xde9d52(0x142)][_0xde9d52(0x10d)][_0xde9d52(0x11d)](_0x4267ea);this[_0xde9d52(0x12a)](_0x10344c,_0xde9d52(0x145),()=>{const _0xe0bf83=_0xde9d52,_0x47f77a=_0x10344c[_0xe0bf83(0x102)]({'annotations':this[_0xe0bf83(0x14c)],'activeAnnotation':this[_0xe0bf83(0x15d)]});var _0x18e7a7,_0x4df09f;!this[_0xe0bf83(0x135)]&&(_0x18e7a7=_0x47f77a,_0x4df09f=this[_0xe0bf83(0x113)],_0x18e7a7[_0xe0bf83(0x100)]===_0x4df09f[_0xe0bf83(0x100)]&&_0x18e7a7[_0xe0bf83(0x12b)](_0x5ed8d1=>_0x4df09f[_0xe0bf83(0x104)](_0x5ed8d1)))||(this[_0xe0bf83(0x135)]=!0x1,this[_0xe0bf83(0x122)](_0x47f77a),this[_0xe0bf83(0x105)](_0x47f77a[0x0]||null));}),this[_0xde9d52(0x12a)](_0x10344c,_0xde9d52(0x147),(_0x5b9a72,{isAnnotationTracked:_0x4a0fd8})=>{const _0x1ef299=_0xde9d52;this[_0x1ef299(0x15d)]&&_0x4a0fd8(this[_0x1ef299(0x15d)])&&(this[_0x1ef299(0x122)]([]),this[_0x1ef299(0x105)](null));}),this[_0xde9d52(0x12a)](this[_0xde9d52(0x142)]['ui'][_0xde9d52(0x117)],_0xde9d52(0x137),(_0x2053cf,_0x3b7296,_0xcb2d3c)=>{const _0x50c6c0=_0xde9d52;_0xcb2d3c||this[_0x50c6c0(0x105)](null);}),this[_0xde9d52(0x12a)](_0x395ae6,_0xde9d52(0x110),(_0x1515e6,_0x5e8ced)=>{const _0xdab6d=_0xde9d52;this[_0xdab6d(0x12e)](_0x5e8ced),_0x5e8ced===this[_0xdab6d(0x15d)]&&this[_0xdab6d(0x105)](null);}),this[_0xde9d52(0x12a)](_0x463873,_0xde9d52(0x15c),(_0x44bbbd,_0x1ecbb8,_0x32ab60,_0x23b4fc)=>{const _0x335008=_0xde9d52;_0x23b4fc&&this[_0x335008(0x140)](_0x23b4fc);const _0x2e280d=_0x395ae6[_0x335008(0x144)](_0x32ab60);_0x32ab60&&_0x2e280d&&(this[_0x335008(0x12a)](_0x32ab60,_0x335008(0x123),()=>{const _0x2b2299=_0x335008;_0x463873[_0x2b2299(0x154)]();}),this[_0x335008(0x12a)](_0x32ab60,_0x335008(0x10b),()=>{const _0x2f7da3=_0x335008;this[_0x2f7da3(0x136)](_0x2e280d),this[_0x2f7da3(0x142)][_0x2f7da3(0x155)][_0x2f7da3(0x114)][_0x2f7da3(0x12d)]();}),this[_0x335008(0x15d)]!==_0x2e280d&&this[_0x335008(0x105)](_0x2e280d));}),this[_0xde9d52(0x12a)](this[_0xde9d52(0x142)]['ui'],_0xde9d52(0x138),()=>{const _0x59ca5a=_0xde9d52;_0x463873[_0x59ca5a(0x133)]&&(_0x395ae6[_0x59ca5a(0x144)](_0x463873[_0x59ca5a(0x133)])&&_0x463873[_0x59ca5a(0x154)]());}),this[_0xde9d52(0x12a)](this[_0xde9d52(0x142)][_0xde9d52(0x155)][_0xde9d52(0x114)][_0xde9d52(0x116)],_0xde9d52(0x11e),()=>{const _0x15ea23=_0xde9d52;this[_0x15ea23(0x135)]=!0x0,this[_0x15ea23(0x103)][_0x15ea23(0x11f)]();}),this[_0xde9d52(0x142)][_0xde9d52(0x155)][_0xde9d52(0x114)][_0xde9d52(0x116)][_0xde9d52(0x118)][_0xde9d52(0x151)]&&this[_0xde9d52(0x142)][_0xde9d52(0x155)][_0xde9d52(0x114)][_0xde9d52(0x12d)](),this[_0xde9d52(0x152)]=!0x0;}[_0x244181(0x130)](){const _0x54691a=_0x244181;if(!this[_0x54691a(0x152)])throw new _0xe6f73d(_0x54691a(0x119),this);this[_0x54691a(0x105)](null);for(const _0x4f30f9 of this[_0x54691a(0x121)])this[_0x54691a(0x12e)](_0x4f30f9);this[_0x54691a(0x140)](),this[_0x54691a(0x152)]=!0x1,this[_0x54691a(0x14c)]=null;}[_0x244181(0x12f)](){const _0x4f73d7=_0x244181;this[_0x4f73d7(0x152)]&&this[_0x4f73d7(0x130)]();}[_0x244181(0x122)](_0x4bb1d7){const _0xd63ac1=_0x244181;for(const _0x2c6c29 of this[_0xd63ac1(0x113)])_0x4bb1d7[_0xd63ac1(0x104)](_0x2c6c29)||this[_0xd63ac1(0x103)][_0xd63ac1(0x13a)](_0x2c6c29);for(const _0x18187a of this[_0xd63ac1(0x14c)])_0x4bb1d7[_0xd63ac1(0x104)](_0x18187a)||this[_0xd63ac1(0x12e)](_0x18187a);if(this[_0xd63ac1(0x142)]['ui'][_0xd63ac1(0x117)][_0xd63ac1(0x10e)]){for(const _0x5d26ce of _0x4bb1d7)this[_0xd63ac1(0x14d)](_0x5d26ce);}this[_0xd63ac1(0x113)]=_0x4bb1d7;}[_0x244181(0x14d)](_0x45ac5d,_0x3d0746=!0x1){const _0x2fc11b=_0x244181;this[_0x2fc11b(0x103)][_0x2fc11b(0x13c)](_0x45ac5d)||(this[_0x2fc11b(0x121)][_0x2fc11b(0x13c)](_0x45ac5d)||this[_0x2fc11b(0x12c)][_0x2fc11b(0x124)](_0x45ac5d[_0x2fc11b(0x114)])||(this[_0x2fc11b(0x121)][_0x2fc11b(0x15a)](_0x45ac5d),this[_0x2fc11b(0x12c)][_0x2fc11b(0x15a)]({'stackId':_0x45ac5d[_0x2fc11b(0x114)]['id'],'view':_0x45ac5d[_0x2fc11b(0x114)],'position':{'target':()=>this[_0x2fc11b(0x10a)](_0x45ac5d)}})),_0x3d0746&&this[_0x2fc11b(0x12c)][_0x2fc11b(0x129)](_0x45ac5d[_0x2fc11b(0x114)]['id']));}[_0x244181(0x10a)](_0x42ee96){const _0x4ef14c=_0x244181,_0x1a319e=_0x42ee96[_0x4ef14c(0xff)],_0x1621ab=this[_0x4ef14c(0x142)][_0x4ef14c(0x155)][_0x4ef14c(0x114)],_0x54b153=_0x1621ab[_0x4ef14c(0x116)][_0x4ef14c(0x118)][_0x4ef14c(0x14b)](),_0x50eace=_0x1621ab[_0x4ef14c(0x159)][_0x4ef14c(0x14a)](_0x54b153);if(_0x50eace[_0x4ef14c(0x146)](!0x0),_0x1a319e){if(_0x1a319e instanceof _0x4d3754)return _0x1a319e;let _0x4f3dae=[];for(const _0x323ce4 of _0x1a319e)_0x4f3dae[_0x4ef14c(0x131)](...(_0xc914e8=_0x323ce4[_0x4ef14c(0x157)](),Array[_0x4ef14c(0x15b)](_0xc914e8)[_0x4ef14c(0x132)](DOMRect[_0x4ef14c(0x128)])));_0x4f3dae=function(_0x593469){const _0xfa441b=_0x4ef14c,_0x51794d=[];let _0x48fda1=_0x593469[0x0];for(let _0x7a3aa1=0x1;_0x7a3aa1<_0x593469[_0xfa441b(0x100)];_0x7a3aa1++)F(_0x48fda1,_0x593469[_0x7a3aa1])?_0x48fda1[_0xfa441b(0x14e)]+=_0x593469[_0x7a3aa1][_0xfa441b(0x14e)]:(_0x51794d[_0xfa441b(0x131)](_0x48fda1),_0x48fda1=_0x593469[_0x7a3aa1]);return _0x51794d[_0xfa441b(0x131)](_0x48fda1),_0x51794d;}(_0x4f3dae);const _0x1164f5=_0x50eace[_0x4ef14c(0x106)]();return _0x4f3dae[_0x4ef14c(0x108)](_0x54d408=>_0x54d408[_0x4ef14c(0x139)]<=_0x1164f5[_0x4ef14c(0x139)]&&_0x54d408[_0x4ef14c(0x156)]>=_0x1164f5[_0x4ef14c(0x156)]&&_0x54d408[_0x4ef14c(0x134)]<=_0x1164f5[_0x4ef14c(0x134)]&&_0x54d408[_0x4ef14c(0x149)]>=_0x1164f5[_0x4ef14c(0x149)])||_0x4f3dae[0x0];}var _0xc914e8;return _0x42ee96[_0x4ef14c(0x115)]||_0x50eace;}[_0x244181(0x12e)](_0x5d836d){const _0x14f95c=_0x244181;this[_0x14f95c(0x121)][_0x14f95c(0x13c)](_0x5d836d)&&this[_0x14f95c(0x12c)][_0x14f95c(0x124)](_0x5d836d[_0x14f95c(0x114)])&&(this[_0x14f95c(0x121)][_0x14f95c(0x13a)](_0x5d836d),this[_0x14f95c(0x12c)][_0x14f95c(0x110)](_0x5d836d[_0x14f95c(0x114)]));}[_0x244181(0x136)](_0x1ad942){const _0x66ab38=_0x244181;this[_0x66ab38(0x103)][_0x66ab38(0x15a)](_0x1ad942),this[_0x66ab38(0x12e)](_0x1ad942);}}function F(_0x2b513d,_0x152c57){const _0x28e7b9=_0x244181;return _0x2b513d[_0x28e7b9(0x139)]===_0x152c57[_0x28e7b9(0x139)]&&_0x2b513d[_0x28e7b9(0x156)]===_0x152c57[_0x28e7b9(0x156)]&&_0x2b513d[_0x28e7b9(0x149)]===_0x152c57[_0x28e7b9(0x134)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x35242d=_0x201e;(function(_0x4ff785,_0x44c004){const _0x1e7b73=_0x201e,_0x16f333=_0x4ff785();while(!![]){try{const _0x13bb3a=-parseInt(_0x1e7b73(0x168))/0x1+parseInt(_0x1e7b73(0x147))/0x2*(-parseInt(_0x1e7b73(0x160))/0x3)+parseInt(_0x1e7b73(0x1a3))/0x4+-parseInt(_0x1e7b73(0x144))/0x5*(parseInt(_0x1e7b73(0x173))/0x6)+parseInt(_0x1e7b73(0x148))/0x7*(parseInt(_0x1e7b73(0x16b))/0x8)+parseInt(_0x1e7b73(0x12f))/0x9*(-parseInt(_0x1e7b73(0x1a0))/0xa)+parseInt(_0x1e7b73(0x192))/0xb*(parseInt(_0x1e7b73(0x19c))/0xc);if(_0x13bb3a===_0x44c004)break;else _0x16f333['push'](_0x16f333['shift']());}catch(_0x357c63){_0x16f333['push'](_0x16f333['shift']());}}}(_0x14d2,0x1a178));import{ContextPlugin as _0x5ce416,Context as _0x20733c}from'ckeditor5/src/core.js';function _0x201e(_0x7be3d3,_0x4ec1f5){const _0x14d211=_0x14d2();return _0x201e=function(_0x201e0f,_0x303dc2){_0x201e0f=_0x201e0f-0x12b;let _0x189699=_0x14d211[_0x201e0f];return _0x189699;},_0x201e(_0x7be3d3,_0x4ec1f5);}import _0x7aa03f from'./annotationsuis.js';import _0x2cc007 from'./sidebar.js';import _0xf2c3c9 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x6c8045,BodyCollection as _0x16c553}from'ckeditor5/src/ui.js';import{CKEditorError as _0x21508e,DomEmitterMixin as _0xd88853,keyCodes as _0x3ef874,Collection as _0x2ca45d}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x548815}from'lodash-es';import _0x4f82ef from'./editorannotations.js';function _0x14d2(){const _0x3029d3=['includes','8460zrNTFi','bind','southArrowNorthEast','ck-sidebar--narrow','type','setActiveAnnotation','addEventListener','editors','getByView','_domEmitter','rearrange','requires','detachFromDom','delete','_attachListeners','_showBalloon','_updateBalloonPosition','hasDomSelection','ready','_annotations','keydown','5TyxpPr','init','cancel','200kEjUyz','563143BQefrd','bodyCollection','register','getOrderedSelectedAnnotations','_refreshPositioning','add','first','blur','attachToDom','_hideBalloon','northArrowSouth','from','pluginName','_setSelectedAnnotations','resize','has','_destroyEditorAnnotationsIntegration','EditorAnnotations','set:container','_integrateWithEditorAnnotations','preventClosingBalloon','removeEventListener','high','contains','270oDaIbf','southArrowNorth','getSidebarItemView','annotations','listenTo','annotationType','plugins','destroy','44433OnhMRi','_annotationToNarrowView','_refreshPositioningDebounced','16lCivAl','target','refreshPositioning','focusableElements','detach','set','attach','pin','180582CdkIbf','off','northArrowSouthEast','_detachFromContainer','addAnnotation','stop','low','preventDefault','change:height','southArrowNorthWest','change:container','balloonPanelView','stopPropagation','number','element','mousedown','narrowSidebar','_attachToContainer','defaultPositions','isAttached','_detachListeners','remove','keyCode','clear','find','NarrowSidebar','context','esc','create','content','stopListening','1252460UaWsdA','refresh','isDirty','_manuallyClosedAnnotationViews','narrowsidebar-detach-not-attached','locale','execute','activeAnnotation','get','northArrowSouthWest','24ZbDdBZ','values','isVisible','unpin','2230LzcWGk','_editorAnnotations','narrowsidebar-attach-already-attached','45616OUnYFV','_selectedAnnotations','Esc','length','view','uiUpdate','focus'];_0x14d2=function(){return _0x3029d3;};return _0x14d2();}export default class i extends _0x5ce416{static get[_0x35242d(0x13a)](){return[_0x2cc007,_0x7aa03f];}static get[_0x35242d(0x154)](){const _0x2fde61=_0x35242d;return _0x2fde61(0x18c);}constructor(_0xbe0175){const _0x2688fb=_0x35242d;super(_0xbe0175),this[_0x2688fb(0x186)]=!0x1,this[_0x2688fb(0x195)]=new Set(),this[_0x2688fb(0x138)]=Object[_0x2688fb(0x18f)](_0xd88853),this[_0x2688fb(0x169)]=new Map(),this[_0x2688fb(0x170)](_0x2688fb(0x199),null),this[_0x2688fb(0x163)]=null,this[_0x2688fb(0x1a4)]=[],this[_0x2688fb(0x1a1)]=new _0x2ca45d(),this[_0x2688fb(0x16a)]=_0x548815(()=>{const _0xc9be6c=_0x2688fb;this[_0xc9be6c(0x14c)]();},0xfa,{'leading':!0x1});}[_0x35242d(0x145)](){const _0x9db96b=_0x35242d;this[_0x9db96b(0x18d)][_0x9db96b(0x166)][_0x9db96b(0x19a)](_0x7aa03f)[_0x9db96b(0x14a)](_0x9db96b(0x183),this),this[_0x9db96b(0x149)]=new _0x16c553(this[_0x9db96b(0x18d)][_0x9db96b(0x197)]),this[_0x9db96b(0x17e)]=new _0x6c8045(this[_0x9db96b(0x18d)][_0x9db96b(0x197)]),this[_0x9db96b(0x149)][_0x9db96b(0x150)](),this[_0x9db96b(0x149)][_0x9db96b(0x14d)](this[_0x9db96b(0x17e)]);}[_0x35242d(0x171)](_0x4db9e7){const _0x5aada6=_0x35242d;this[_0x5aada6(0x163)]=_0x4db9e7;const _0x51e023=this[_0x5aada6(0x18d)][_0x5aada6(0x166)][_0x5aada6(0x19a)](_0x2cc007),_0x2bb730=this[_0x5aada6(0x17e)];if(_0x51e023[_0x5aada6(0x142)]=_0x4db9e7,this[_0x5aada6(0x186)])throw new _0x21508e(_0x5aada6(0x1a2),this);this[_0x5aada6(0x186)]=!0x0,this[_0x5aada6(0x164)](_0x51e023,_0x5aada6(0x15a),()=>{const _0x2d6d35=_0x5aada6;this[_0x2d6d35(0x16f)](),this[_0x2d6d35(0x164)](_0x51e023,_0x2d6d35(0x17d),_0x159dfe=>{const _0x44e2f3=_0x2d6d35;_0x159dfe[_0x44e2f3(0x174)](),this[_0x44e2f3(0x171)](_0x4db9e7);});}),_0x51e023[_0x5aada6(0x184)]({'viewClass':_0x5aada6(0x132),'spaceBetweenItems':0x5});const _0x51cc13=_0x3434ab=>{const _0x5297d2=_0x5aada6,_0x1b9569=new _0xf2c3c9(this[_0x5297d2(0x18d)][_0x5297d2(0x197)]);_0x51e023[_0x5297d2(0x177)](_0x3434ab,_0x1b9569),this[_0x5297d2(0x169)][_0x5297d2(0x170)](_0x3434ab,_0x1b9569),_0x1b9569[_0x5297d2(0x130)](_0x5297d2(0x194),_0x5297d2(0x165),_0x5297d2(0x180))['to'](_0x3434ab[_0x5297d2(0x12b)],_0x5297d2(0x194),_0x5297d2(0x133),_0x5297d2(0x1a6)),_0x1b9569['on'](_0x5297d2(0x198),()=>{const _0xfadb00=_0x5297d2;this[_0xfadb00(0x195)][_0xfadb00(0x18a)](),_0x2bb730[_0xfadb00(0x190)][_0xfadb00(0x14e)]!==_0x3434ab[_0xfadb00(0x12b)]?(this[_0xfadb00(0x13e)](_0x3434ab),_0x3434ab[_0xfadb00(0x12b)][_0xfadb00(0x181)][_0xfadb00(0x12d)](),this[_0xfadb00(0x134)](_0x3434ab)):this[_0xfadb00(0x134)](null);});};for(const _0x5689a5 of _0x4db9e7)_0x51cc13(_0x5689a5);this[_0x5aada6(0x164)](_0x4db9e7,_0x5aada6(0x14d),(_0x344fca,_0x796933)=>{_0x51cc13(_0x796933);}),this[_0x5aada6(0x164)](_0x4db9e7,_0x5aada6(0x188),(_0xc64274,_0x3e17d3,_0x2c0223)=>{const _0x1fb0b3=_0x5aada6;this[_0x1fb0b3(0x169)][_0x1fb0b3(0x19a)](_0x3e17d3)[_0x1fb0b3(0x167)](),this[_0x1fb0b3(0x169)][_0x1fb0b3(0x13c)](_0x3e17d3),_0x51e023[_0x1fb0b3(0x139)]({'removedAnnotation':_0x3e17d3,'previousAnnotation':_0x4db9e7[_0x1fb0b3(0x19a)](_0x2c0223-0x1),'nextAnnotation':_0x4db9e7[_0x1fb0b3(0x19a)](_0x2c0223+0x1)}),_0x3e17d3===this[_0x1fb0b3(0x199)]&&this[_0x1fb0b3(0x134)](null);},{'priority':_0x5aada6(0x179)}),this[_0x5aada6(0x164)](_0x4db9e7,_0x5aada6(0x12d),(_0x2c24fa,_0x427af9)=>{const _0x19ce45=_0x5aada6;this[_0x19ce45(0x134)](_0x427af9);}),this[_0x5aada6(0x164)](_0x4db9e7,_0x5aada6(0x14f),()=>{const _0x383e6b=_0x5aada6;this[_0x383e6b(0x134)](null);}),this[_0x5aada6(0x138)][_0x5aada6(0x164)](document,_0x5aada6(0x143),(_0x33aad8,_0x3b33b3)=>{const _0x4ccf79=_0x5aada6;_0x3b33b3[_0x4ccf79(0x189)]===_0x3ef874[_0x4ccf79(0x18e)]&&_0x2bb730[_0x4ccf79(0x19e)]&&(this[_0x4ccf79(0x195)][_0x4ccf79(0x14d)](_0x2bb730[_0x4ccf79(0x190)][_0x4ccf79(0x14e)]),this[_0x4ccf79(0x151)](),_0x3b33b3[_0x4ccf79(0x17f)](),_0x3b33b3[_0x4ccf79(0x17a)]());}),this[_0x5aada6(0x138)][_0x5aada6(0x164)](document,_0x5aada6(0x182),(_0x33473d,_0x98f942)=>{const _0xcc1165=_0x5aada6,_0x163d51=_0x98f942[_0xcc1165(0x16c)];_0x2bb730[_0xcc1165(0x19e)]&&_0x2bb730[_0xcc1165(0x181)][_0xcc1165(0x15f)](_0x163d51)||_0x51e023[_0xcc1165(0x12b)][_0xcc1165(0x181)][_0xcc1165(0x15f)](_0x163d51)||_0x33473d[_0xcc1165(0x15c)]||this[_0xcc1165(0x199)]&&this[_0xcc1165(0x199)][_0xcc1165(0x16e)][_0xcc1165(0x18b)](_0x2f69ab=>_0x2f69ab[_0xcc1165(0x15f)](_0x163d51))||(this[_0xcc1165(0x195)][_0xcc1165(0x18a)](),this[_0xcc1165(0x151)](),this[_0xcc1165(0x134)](null));});const _0x5b936a=this[_0x5aada6(0x18d)]instanceof _0x20733c?this[_0x5aada6(0x18d)][_0x5aada6(0x136)]:new _0x2ca45d([this[_0x5aada6(0x18d)]]);for(const _0x3b41a8 of _0x5b936a)this[_0x5aada6(0x15b)](_0x3b41a8);this[_0x5aada6(0x164)](_0x5b936a,_0x5aada6(0x14d),(_0x4e942c,_0x560ed8)=>{const _0x1723df=_0x5aada6;this[_0x1723df(0x164)](_0x560ed8,_0x1723df(0x141),()=>{const _0x26372c=_0x1723df;this[_0x26372c(0x15b)](_0x560ed8);});}),this[_0x5aada6(0x164)](_0x5b936a,_0x5aada6(0x188),(_0x37f4e5,_0x34bb3b)=>{const _0x5eec27=_0x5aada6;_0x34bb3b[_0x5eec27(0x166)][_0x5eec27(0x157)](_0x5eec27(0x159))&&this[_0x5eec27(0x158)](_0x34bb3b[_0x5eec27(0x166)][_0x5eec27(0x19a)](_0x5eec27(0x159)));}),window[_0x5aada6(0x135)](_0x5aada6(0x156),this[_0x5aada6(0x16a)]),this[_0x5aada6(0x14c)]();}[_0x35242d(0x134)](_0x5f4c7e){const _0x15ddcb=_0x35242d;if(_0x5f4c7e===this[_0x15ddcb(0x199)])return;const _0x11aeb0=this[_0x15ddcb(0x18d)][_0x15ddcb(0x166)][_0x15ddcb(0x19a)](_0x2cc007);if(_0x11aeb0[_0x15ddcb(0x193)]({'blurredAnnotation':this[_0x15ddcb(0x199)],'activatedAnnotation':_0x5f4c7e,'disableAnimationOnActivatedAnnotation':!0x0}),_0x5f4c7e)_0x11aeb0[_0x15ddcb(0x162)](_0x5f4c7e)?this[_0x15ddcb(0x13e)](_0x5f4c7e):this[_0x15ddcb(0x151)]();else this[_0x15ddcb(0x151)]();this[_0x15ddcb(0x199)]=_0x5f4c7e;}[_0x35242d(0x16f)](){const _0x5f373f=_0x35242d;if(!this[_0x5f373f(0x186)])throw new _0x21508e(_0x5f373f(0x196),this);this[_0x5f373f(0x134)](null);const _0x510487=this[_0x5f373f(0x18d)][_0x5f373f(0x166)][_0x5f373f(0x19a)](_0x2cc007);this[_0x5f373f(0x151)](),Array[_0x5f373f(0x153)](this[_0x5f373f(0x169)][_0x5f373f(0x19d)](),_0x526c30=>_0x526c30[_0x5f373f(0x167)]()),this[_0x5f373f(0x169)][_0x5f373f(0x18a)](),_0x510487[_0x5f373f(0x176)](this[_0x5f373f(0x163)]),this[_0x5f373f(0x191)](),this[_0x5f373f(0x138)][_0x5f373f(0x191)](),this[_0x5f373f(0x18d)]instanceof _0x20733c&&this[_0x5f373f(0x191)](this[_0x5f373f(0x18d)][_0x5f373f(0x136)]);for(const _0x3f9119 of Array[_0x5f373f(0x153)](this[_0x5f373f(0x1a1)]))this[_0x5f373f(0x158)](_0x3f9119);window[_0x5f373f(0x15d)](_0x5f373f(0x156),this[_0x5f373f(0x16a)]),this[_0x5f373f(0x16a)][_0x5f373f(0x146)](),this[_0x5f373f(0x1a4)]=[],this[_0x5f373f(0x186)]=!0x1,this[_0x5f373f(0x163)]=null;}[_0x35242d(0x167)](){const _0x44d8be=_0x35242d;this[_0x44d8be(0x186)]&&this[_0x44d8be(0x16f)](),this[_0x44d8be(0x149)][_0x44d8be(0x13b)]();}[_0x35242d(0x15b)](_0x40415e){const _0x516d80=_0x35242d,_0x270776=_0x40415e[_0x516d80(0x166)][_0x516d80(0x19a)](_0x4f82ef),_0x4c5c72=this[_0x516d80(0x18d)][_0x516d80(0x166)][_0x516d80(0x19a)](_0x2cc007),_0x28148f=this[_0x516d80(0x163)],_0x35ab31=this[_0x516d80(0x17e)],_0x1cbae5=()=>{const _0x101e73=_0x516d80,_0x54a035=_0x270776[_0x101e73(0x14b)]({'annotations':this[_0x101e73(0x163)],'activeAnnotation':this[_0x101e73(0x199)]});this[_0x101e73(0x155)](_0x54a035),this[_0x101e73(0x134)](_0x54a035[0x0]||null);};this[_0x516d80(0x164)](_0x270776,_0x516d80(0x193),_0x1cbae5),this[_0x516d80(0x164)](_0x270776,_0x516d80(0x14f),(_0xaba34e,{isAnnotationTracked:_0x227f6b})=>{const _0x4cf338=_0x516d80;this[_0x4cf338(0x199)]&&_0x227f6b(this[_0x4cf338(0x199)])&&(this[_0x4cf338(0x155)]([]),this[_0x4cf338(0x134)](null));}),this[_0x516d80(0x164)](_0x270776,_0x516d80(0x12c),()=>{const _0x477602=_0x516d80;this[_0x477602(0x16a)]();}),this[_0x516d80(0x164)](_0x28148f,_0x516d80(0x14f),_0x16a4db=>{const _0x1a1c29=_0x516d80;_0x270776[_0x1a1c29(0x140)]()&&_0x16a4db[_0x1a1c29(0x178)]();},{'priority':_0x516d80(0x15e)}),this[_0x516d80(0x164)](this[_0x516d80(0x138)],_0x516d80(0x182),(_0x2d2982,_0x392d69)=>{const _0x2a0cd5=_0x516d80,_0x763e16=_0x392d69[_0x2a0cd5(0x16c)];_0x35ab31[_0x2a0cd5(0x19e)]&&_0x35ab31[_0x2a0cd5(0x181)][_0x2a0cd5(0x15f)](_0x763e16)||_0x4c5c72[_0x2a0cd5(0x12b)][_0x2a0cd5(0x181)][_0x2a0cd5(0x15f)](_0x763e16)||this[_0x2a0cd5(0x199)]&&_0x270776[_0x2a0cd5(0x140)]()&&(_0x1cbae5(),_0x2d2982[_0x2a0cd5(0x15c)]=!0x0);},{'priority':_0x516d80(0x15e)}),this[_0x516d80(0x1a1)][_0x516d80(0x14d)](_0x270776);}[_0x35242d(0x158)](_0x18d8e8){const _0x2b3ae5=_0x35242d;_0x18d8e8&&(this[_0x2b3ae5(0x191)](_0x18d8e8),this[_0x2b3ae5(0x1a1)][_0x2b3ae5(0x188)](_0x18d8e8));}[_0x35242d(0x155)](_0x147470){const _0x181625=_0x35242d;for(const _0x2e2c92 of this[_0x181625(0x1a4)])_0x147470[_0x181625(0x12e)](_0x2e2c92)||this[_0x181625(0x195)][_0x181625(0x13c)](_0x2e2c92[_0x181625(0x12b)]);this[_0x181625(0x1a4)]=_0x147470;}[_0x35242d(0x14c)](){const _0x31eaa6=_0x35242d,_0x5cfae3=this[_0x31eaa6(0x17e)];this[_0x31eaa6(0x163)][_0x31eaa6(0x16d)](),_0x5cfae3[_0x31eaa6(0x19e)]&&this[_0x31eaa6(0x13f)]();}[_0x35242d(0x13e)](_0x2fd3c3){const _0x5673c6=_0x35242d;if(this[_0x5673c6(0x195)][_0x5673c6(0x157)](_0x2fd3c3[_0x5673c6(0x12b)]))return;const _0x16fee5=this[_0x5673c6(0x17e)][_0x5673c6(0x190)][_0x5673c6(0x14e)];_0x16fee5!==_0x2fd3c3[_0x5673c6(0x12b)]?(_0x16fee5&&this[_0x5673c6(0x187)](_0x16fee5),this[_0x5673c6(0x13d)](_0x2fd3c3[_0x5673c6(0x12b)]),this[_0x5673c6(0x17e)][_0x5673c6(0x190)][_0x5673c6(0x18a)](),this[_0x5673c6(0x17e)][_0x5673c6(0x190)][_0x5673c6(0x14d)](_0x2fd3c3[_0x5673c6(0x12b)]),this[_0x5673c6(0x13f)]()):this[_0x5673c6(0x13f)]();}[_0x35242d(0x13f)](){const _0x2dad4b=_0x35242d,_0x517547=this[_0x2dad4b(0x17e)][_0x2dad4b(0x190)][_0x2dad4b(0x14e)],_0x16669f=_0x517547&&this[_0x2dad4b(0x163)][_0x2dad4b(0x137)](_0x517547);if(!_0x16669f||!this[_0x2dad4b(0x169)][_0x2dad4b(0x157)](_0x16669f))return;const _0x3f8c9a=this[_0x2dad4b(0x169)][_0x2dad4b(0x19a)](_0x16669f)[_0x2dad4b(0x181)],_0x535508=(function(){const _0x54b42a=_0x2dad4b,_0x189136=_0x6c8045[_0x54b42a(0x185)];return[_0x189136[_0x54b42a(0x131)],_0x189136[_0x54b42a(0x175)],_0x189136[_0x54b42a(0x161)],_0x189136[_0x54b42a(0x152)],_0x189136[_0x54b42a(0x17c)],_0x189136[_0x54b42a(0x19b)]];}());this[_0x2dad4b(0x17e)][_0x2dad4b(0x172)]({'target':_0x3f8c9a,'positions':_0x535508});}[_0x35242d(0x151)](){const _0x58b080=_0x35242d,_0x3c5339=this[_0x58b080(0x17e)],_0x585bd3=_0x3c5339[_0x58b080(0x190)][_0x58b080(0x14e)];_0x585bd3&&(this[_0x58b080(0x187)](_0x585bd3),_0x3c5339[_0x58b080(0x19f)](),_0x3c5339[_0x58b080(0x190)][_0x58b080(0x18a)]());}[_0x35242d(0x13d)](_0x49efea){const _0x30881f=_0x35242d;this[_0x30881f(0x164)](_0x49efea,_0x30881f(0x17b),()=>this[_0x30881f(0x13f)]()),this[_0x30881f(0x164)](_0x49efea,_0x30881f(0x1a5),(_0x49b1aa,_0x528f5e)=>{const _0x19656a=_0x30881f;this[_0x19656a(0x195)][_0x19656a(0x14d)](_0x49efea),this[_0x19656a(0x151)](),_0x528f5e();});}[_0x35242d(0x187)](_0x5a9d46){const _0x20bb3f=_0x35242d;this[_0x20bb3f(0x191)](_0x5a9d46);}}
|
|
23
|
+
const _0x4fa762=_0x1a3c;(function(_0xed4d1d,_0x19eeef){const _0xc2dcf3=_0x1a3c,_0x4fe024=_0xed4d1d();while(!![]){try{const _0x5eb513=parseInt(_0xc2dcf3(0x216))/0x1+parseInt(_0xc2dcf3(0x219))/0x2+-parseInt(_0xc2dcf3(0x1d5))/0x3+-parseInt(_0xc2dcf3(0x223))/0x4+-parseInt(_0xc2dcf3(0x215))/0x5+-parseInt(_0xc2dcf3(0x21c))/0x6+parseInt(_0xc2dcf3(0x1e3))/0x7*(parseInt(_0xc2dcf3(0x244))/0x8);if(_0x5eb513===_0x19eeef)break;else _0x4fe024['push'](_0x4fe024['shift']());}catch(_0x1ffb65){_0x4fe024['push'](_0x4fe024['shift']());}}}(_0x160a,0xe7d12));import{ContextPlugin as _0x5de59a,Context as _0x464071}from'ckeditor5/src/core.js';import _0x36e123 from'./annotationsuis.js';import _0x1425e2 from'./sidebar.js';function _0x160a(){const _0x307be0=['set','detachFromDom','stop','_editorAnnotations','contains','northArrowSouthWest','change:container','plugins','pluginName','annotationType','southArrowNorthWest','preventDefault','cancel','focus','6787770tFyCNX','867654hPvQNd','includes','_manuallyClosedAnnotationViews','467908VFiobu','uiUpdate','resize','1435344chbGuM','set:container','off','_annotationToNarrowView','northArrowSouth','pin','bodyCollection','1031380ovhOjx','context','type','requires','addAnnotation','_attachToContainer','narrowSidebar','rearrange','create','_domEmitter','preventClosingBalloon','northArrowSouthEast','NarrowSidebar','refresh','find','getByView','content','addEventListener','change:height','_hideBalloon','first','Esc','removeEventListener','high','balloonPanelView','view','EditorAnnotations','target','stopPropagation','_detachListeners','_refreshPositioning','ready','focusableElements','8yLMKXZ','low','add','blur','unpin','init','_setSelectedAnnotations','_detachFromContainer','keydown','4745535tLefLY','_selectedAnnotations','attach','execute','attachToDom','getSidebarItemView','defaultPositions','esc','_refreshPositioningDebounced','setActiveAnnotation','_annotations','ck-sidebar--narrow','_attachListeners','isAttached','22990674RDsciZ','keyCode','_updateBalloonPosition','remove','locale','editors','hasDomSelection','isDirty','bind','southArrowNorth','southArrowNorthEast','narrowsidebar-attach-already-attached','annotations','delete','number','narrowsidebar-detach-not-attached','values','getOrderedSelectedAnnotations','get','refreshPositioning','detach','clear','element','length','mousedown','_destroyEditorAnnotationsIntegration','from','stopListening','destroy','listenTo','has','_integrateWithEditorAnnotations','activeAnnotation','register','isVisible','_showBalloon'];_0x160a=function(){return _0x307be0;};return _0x160a();}function _0x1a3c(_0x28a719,_0x56dd9a){const _0x160ad2=_0x160a();return _0x1a3c=function(_0x1a3c1b,_0x3fee47){_0x1a3c1b=_0x1a3c1b-0x1cd;let _0x50f079=_0x160ad2[_0x1a3c1b];return _0x50f079;},_0x1a3c(_0x28a719,_0x56dd9a);}import _0x169ae1 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x2e6e40,BodyCollection as _0x3f8b2f}from'ckeditor5/src/ui.js';import{CKEditorError as _0x304a5a,DomEmitterMixin as _0x30ec9f,keyCodes as _0x1ad91d,Collection as _0x5b0389}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x598349}from'lodash-es';export default class i extends _0x5de59a{static get[_0x4fa762(0x226)](){return[_0x1425e2,_0x36e123];}static get[_0x4fa762(0x20f)](){const _0x50ccb1=_0x4fa762;return _0x50ccb1(0x22f);}constructor(_0x594149){const _0x294c8e=_0x4fa762;super(_0x594149),this[_0x294c8e(0x1e2)]=!0x1,this[_0x294c8e(0x218)]=new Set(),this[_0x294c8e(0x22c)]=Object[_0x294c8e(0x22b)](_0x30ec9f),this[_0x294c8e(0x21f)]=new Map(),this[_0x294c8e(0x207)](_0x294c8e(0x203),null),this[_0x294c8e(0x1ef)]=null,this[_0x294c8e(0x1d6)]=[],this[_0x294c8e(0x20a)]=new _0x5b0389(),this[_0x294c8e(0x1dd)]=_0x598349(()=>{const _0xdfcb13=_0x294c8e;this[_0xdfcb13(0x241)]();},0xfa,{'leading':!0x1});}[_0x4fa762(0x1d1)](){const _0x5b4ffc=_0x4fa762;this[_0x5b4ffc(0x224)][_0x5b4ffc(0x20e)][_0x5b4ffc(0x1f5)](_0x36e123)[_0x5b4ffc(0x204)](_0x5b4ffc(0x229),this),this[_0x5b4ffc(0x222)]=new _0x3f8b2f(this[_0x5b4ffc(0x224)][_0x5b4ffc(0x1e7)]),this[_0x5b4ffc(0x23b)]=new _0x2e6e40(this[_0x5b4ffc(0x224)][_0x5b4ffc(0x1e7)]),this[_0x5b4ffc(0x222)][_0x5b4ffc(0x1d9)](),this[_0x5b4ffc(0x222)][_0x5b4ffc(0x1ce)](this[_0x5b4ffc(0x23b)]);}[_0x4fa762(0x1d7)](_0x247303){const _0x3f307f=_0x4fa762;this[_0x3f307f(0x1ef)]=_0x247303;const _0x33ed0e=this[_0x3f307f(0x224)][_0x3f307f(0x20e)][_0x3f307f(0x1f5)](_0x1425e2),_0xe9dd6e=this[_0x3f307f(0x23b)];if(_0x33ed0e[_0x3f307f(0x1df)]=_0x247303,this[_0x3f307f(0x1e2)])throw new _0x304a5a(_0x3f307f(0x1ee),this);this[_0x3f307f(0x1e2)]=!0x0,this[_0x3f307f(0x200)](_0x33ed0e,_0x3f307f(0x21d),()=>{const _0x914ad1=_0x3f307f;this[_0x914ad1(0x1f7)](),this[_0x914ad1(0x200)](_0x33ed0e,_0x914ad1(0x20d),_0x41c16c=>{const _0x8366af=_0x914ad1;_0x41c16c[_0x8366af(0x21e)](),this[_0x8366af(0x1d7)](_0x247303);});}),_0x33ed0e[_0x3f307f(0x228)]({'viewClass':_0x3f307f(0x1e0),'spaceBetweenItems':0x5});const _0x34d0e3=_0x3f06dd=>{const _0x2cea62=_0x3f307f,_0x6422b2=new _0x169ae1(this[_0x2cea62(0x224)][_0x2cea62(0x1e7)]);_0x33ed0e[_0x2cea62(0x227)](_0x3f06dd,_0x6422b2),this[_0x2cea62(0x21f)][_0x2cea62(0x207)](_0x3f06dd,_0x6422b2),_0x6422b2[_0x2cea62(0x1eb)](_0x2cea62(0x1ea),_0x2cea62(0x210),_0x2cea62(0x1f1))['to'](_0x3f06dd[_0x2cea62(0x23c)],_0x2cea62(0x1ea),_0x2cea62(0x225),_0x2cea62(0x1fa)),_0x6422b2['on'](_0x2cea62(0x1d8),()=>{const _0x5c6062=_0x2cea62;this[_0x5c6062(0x218)][_0x5c6062(0x1f8)](),_0xe9dd6e[_0x5c6062(0x233)][_0x5c6062(0x237)]!==_0x3f06dd[_0x5c6062(0x23c)]?(this[_0x5c6062(0x206)](_0x3f06dd),_0x3f06dd[_0x5c6062(0x23c)][_0x5c6062(0x1f9)][_0x5c6062(0x214)](),this[_0x5c6062(0x1de)](_0x3f06dd)):this[_0x5c6062(0x1de)](null);});};for(const _0x2d3d4f of _0x247303)_0x34d0e3(_0x2d3d4f);this[_0x3f307f(0x200)](_0x247303,_0x3f307f(0x1ce),(_0x42f71f,_0x3c9040)=>{_0x34d0e3(_0x3c9040);}),this[_0x3f307f(0x200)](_0x247303,_0x3f307f(0x1e6),(_0x349415,_0x547086,_0x21fae7)=>{const _0x48d004=_0x3f307f;this[_0x48d004(0x21f)][_0x48d004(0x1f5)](_0x547086)[_0x48d004(0x1ff)](),this[_0x48d004(0x21f)][_0x48d004(0x1f0)](_0x547086),_0x33ed0e[_0x48d004(0x22a)]({'removedAnnotation':_0x547086,'previousAnnotation':_0x247303[_0x48d004(0x1f5)](_0x21fae7-0x1),'nextAnnotation':_0x247303[_0x48d004(0x1f5)](_0x21fae7+0x1)}),_0x547086===this[_0x48d004(0x203)]&&this[_0x48d004(0x1de)](null);},{'priority':_0x3f307f(0x1cd)}),this[_0x3f307f(0x200)](_0x247303,_0x3f307f(0x214),(_0x4114b4,_0xfda5d0)=>{const _0x557ca6=_0x3f307f;this[_0x557ca6(0x1de)](_0xfda5d0);}),this[_0x3f307f(0x200)](_0x247303,_0x3f307f(0x1cf),()=>{const _0x6ee17e=_0x3f307f;this[_0x6ee17e(0x1de)](null);}),this[_0x3f307f(0x22c)][_0x3f307f(0x200)](document,_0x3f307f(0x1d4),(_0x1771d4,_0x1e4573)=>{const _0x50b6a7=_0x3f307f;_0x1e4573[_0x50b6a7(0x1e4)]===_0x1ad91d[_0x50b6a7(0x1dc)]&&_0xe9dd6e[_0x50b6a7(0x205)]&&(this[_0x50b6a7(0x218)][_0x50b6a7(0x1ce)](_0xe9dd6e[_0x50b6a7(0x233)][_0x50b6a7(0x237)]),this[_0x50b6a7(0x236)](),_0x1e4573[_0x50b6a7(0x23f)](),_0x1e4573[_0x50b6a7(0x212)]());}),this[_0x3f307f(0x22c)][_0x3f307f(0x200)](document,_0x3f307f(0x1fb),(_0xe4676b,_0x400d2a)=>{const _0x32d9e2=_0x3f307f,_0x76807d=_0x400d2a[_0x32d9e2(0x23e)];_0xe9dd6e[_0x32d9e2(0x205)]&&_0xe9dd6e[_0x32d9e2(0x1f9)][_0x32d9e2(0x20b)](_0x76807d)||_0x33ed0e[_0x32d9e2(0x23c)][_0x32d9e2(0x1f9)][_0x32d9e2(0x20b)](_0x76807d)||_0xe4676b[_0x32d9e2(0x22d)]||this[_0x32d9e2(0x203)]&&this[_0x32d9e2(0x203)][_0x32d9e2(0x243)][_0x32d9e2(0x231)](_0x4aba4d=>_0x4aba4d[_0x32d9e2(0x20b)](_0x76807d))||(this[_0x32d9e2(0x218)][_0x32d9e2(0x1f8)](),this[_0x32d9e2(0x236)](),this[_0x32d9e2(0x1de)](null));});const _0x37a6f8=this[_0x3f307f(0x224)]instanceof _0x464071?this[_0x3f307f(0x224)][_0x3f307f(0x1e8)]:new _0x5b0389([this[_0x3f307f(0x224)]]);for(const _0x449087 of _0x37a6f8)this[_0x3f307f(0x202)](_0x449087);this[_0x3f307f(0x200)](_0x37a6f8,_0x3f307f(0x1ce),(_0x23a261,_0x50c325)=>{const _0x5659a3=_0x3f307f;this[_0x5659a3(0x200)](_0x50c325,_0x5659a3(0x242),()=>{const _0x41c54b=_0x5659a3;this[_0x41c54b(0x202)](_0x50c325);});}),this[_0x3f307f(0x200)](_0x37a6f8,_0x3f307f(0x1e6),(_0x49955d,_0x4cde39)=>{const _0x4ac4de=_0x3f307f;_0x4cde39[_0x4ac4de(0x20e)][_0x4ac4de(0x201)](_0x4ac4de(0x23d))&&this[_0x4ac4de(0x1fc)](_0x4cde39[_0x4ac4de(0x20e)][_0x4ac4de(0x1f5)](_0x4ac4de(0x23d)));}),window[_0x3f307f(0x234)](_0x3f307f(0x21b),this[_0x3f307f(0x1dd)]),this[_0x3f307f(0x241)]();}[_0x4fa762(0x1de)](_0x4d96a1){const _0x3e4ce5=_0x4fa762;if(_0x4d96a1===this[_0x3e4ce5(0x203)])return;const _0x132678=this[_0x3e4ce5(0x224)][_0x3e4ce5(0x20e)][_0x3e4ce5(0x1f5)](_0x1425e2);if(_0x132678[_0x3e4ce5(0x230)]({'blurredAnnotation':this[_0x3e4ce5(0x203)],'activatedAnnotation':_0x4d96a1,'disableAnimationOnActivatedAnnotation':!0x0}),_0x4d96a1)_0x132678[_0x3e4ce5(0x1da)](_0x4d96a1)?this[_0x3e4ce5(0x206)](_0x4d96a1):this[_0x3e4ce5(0x236)]();else this[_0x3e4ce5(0x236)]();this[_0x3e4ce5(0x203)]=_0x4d96a1;}[_0x4fa762(0x1f7)](){const _0xe15560=_0x4fa762;if(!this[_0xe15560(0x1e2)])throw new _0x304a5a(_0xe15560(0x1f2),this);this[_0xe15560(0x1de)](null);const _0x312da5=this[_0xe15560(0x224)][_0xe15560(0x20e)][_0xe15560(0x1f5)](_0x1425e2);this[_0xe15560(0x236)](),Array[_0xe15560(0x1fd)](this[_0xe15560(0x21f)][_0xe15560(0x1f3)](),_0x19a8cc=>_0x19a8cc[_0xe15560(0x1ff)]()),this[_0xe15560(0x21f)][_0xe15560(0x1f8)](),_0x312da5[_0xe15560(0x1d3)](this[_0xe15560(0x1ef)]),this[_0xe15560(0x1fe)](),this[_0xe15560(0x22c)][_0xe15560(0x1fe)](),this[_0xe15560(0x224)]instanceof _0x464071&&this[_0xe15560(0x1fe)](this[_0xe15560(0x224)][_0xe15560(0x1e8)]);for(const _0x2edf75 of Array[_0xe15560(0x1fd)](this[_0xe15560(0x20a)]))this[_0xe15560(0x1fc)](_0x2edf75);window[_0xe15560(0x239)](_0xe15560(0x21b),this[_0xe15560(0x1dd)]),this[_0xe15560(0x1dd)][_0xe15560(0x213)](),this[_0xe15560(0x1d6)]=[],this[_0xe15560(0x1e2)]=!0x1,this[_0xe15560(0x1ef)]=null;}[_0x4fa762(0x1ff)](){const _0x5c9ae3=_0x4fa762;this[_0x5c9ae3(0x1e2)]&&this[_0x5c9ae3(0x1f7)](),this[_0x5c9ae3(0x222)][_0x5c9ae3(0x208)]();}[_0x4fa762(0x202)](_0x1a2ccb){const _0x548b8a=_0x4fa762;if(!_0x1a2ccb[_0x548b8a(0x20e)][_0x548b8a(0x201)](_0x548b8a(0x23d)))return;const _0x4a1f65=_0x1a2ccb[_0x548b8a(0x20e)][_0x548b8a(0x1f5)](_0x548b8a(0x23d)),_0x5e6325=this[_0x548b8a(0x224)][_0x548b8a(0x20e)][_0x548b8a(0x1f5)](_0x1425e2),_0x888ac8=this[_0x548b8a(0x1ef)],_0x18b2cb=this[_0x548b8a(0x23b)],_0x57d19a=()=>{const _0x28a06f=_0x548b8a,_0x270dbb=_0x4a1f65[_0x28a06f(0x1f4)]({'annotations':this[_0x28a06f(0x1ef)],'activeAnnotation':this[_0x28a06f(0x203)]});this[_0x28a06f(0x1d2)](_0x270dbb),this[_0x28a06f(0x1de)](_0x270dbb[0x0]||null);};this[_0x548b8a(0x200)](_0x4a1f65,_0x548b8a(0x230),_0x57d19a),this[_0x548b8a(0x200)](_0x4a1f65,_0x548b8a(0x1cf),(_0x5166a5,{isAnnotationTracked:_0x18f43c})=>{const _0x5d4dbd=_0x548b8a;this[_0x5d4dbd(0x203)]&&_0x18f43c(this[_0x5d4dbd(0x203)])&&(this[_0x5d4dbd(0x1d2)]([]),this[_0x5d4dbd(0x1de)](null));}),this[_0x548b8a(0x200)](_0x4a1f65,_0x548b8a(0x21a),()=>{const _0x1547ea=_0x548b8a;this[_0x1547ea(0x1dd)]();}),this[_0x548b8a(0x200)](_0x888ac8,_0x548b8a(0x1cf),_0x5d5164=>{const _0x246a9e=_0x548b8a;_0x4a1f65[_0x246a9e(0x1e9)]()&&_0x5d5164[_0x246a9e(0x209)]();},{'priority':_0x548b8a(0x23a)}),this[_0x548b8a(0x200)](this[_0x548b8a(0x22c)],_0x548b8a(0x1fb),(_0x59b209,_0x58a491)=>{const _0x786b7d=_0x548b8a,_0x25743a=_0x58a491[_0x786b7d(0x23e)];_0x18b2cb[_0x786b7d(0x205)]&&_0x18b2cb[_0x786b7d(0x1f9)][_0x786b7d(0x20b)](_0x25743a)||_0x5e6325[_0x786b7d(0x23c)][_0x786b7d(0x1f9)][_0x786b7d(0x20b)](_0x25743a)||this[_0x786b7d(0x203)]&&_0x4a1f65[_0x786b7d(0x1e9)]()&&(_0x57d19a(),_0x59b209[_0x786b7d(0x22d)]=!0x0);},{'priority':_0x548b8a(0x23a)}),this[_0x548b8a(0x20a)][_0x548b8a(0x1ce)](_0x4a1f65);}[_0x4fa762(0x1fc)](_0x33d911){const _0x3538b8=_0x4fa762;_0x33d911&&(this[_0x3538b8(0x1fe)](_0x33d911),this[_0x3538b8(0x20a)][_0x3538b8(0x1e6)](_0x33d911));}[_0x4fa762(0x1d2)](_0xcd0ad7){const _0x2a2f1b=_0x4fa762;for(const _0xf8a814 of this[_0x2a2f1b(0x1d6)])_0xcd0ad7[_0x2a2f1b(0x217)](_0xf8a814)||this[_0x2a2f1b(0x218)][_0x2a2f1b(0x1f0)](_0xf8a814[_0x2a2f1b(0x23c)]);this[_0x2a2f1b(0x1d6)]=_0xcd0ad7;}[_0x4fa762(0x241)](){const _0x161136=_0x4fa762,_0xa4318a=this[_0x161136(0x23b)];this[_0x161136(0x1ef)][_0x161136(0x1f6)](),_0xa4318a[_0x161136(0x205)]&&this[_0x161136(0x1e5)]();}[_0x4fa762(0x206)](_0xa7f619){const _0x4e3086=_0x4fa762;if(this[_0x4e3086(0x218)][_0x4e3086(0x201)](_0xa7f619[_0x4e3086(0x23c)]))return;const _0x8c27aa=this[_0x4e3086(0x23b)][_0x4e3086(0x233)][_0x4e3086(0x237)];_0x8c27aa!==_0xa7f619[_0x4e3086(0x23c)]?(_0x8c27aa&&this[_0x4e3086(0x240)](_0x8c27aa),this[_0x4e3086(0x1e1)](_0xa7f619[_0x4e3086(0x23c)]),this[_0x4e3086(0x23b)][_0x4e3086(0x233)][_0x4e3086(0x1f8)](),this[_0x4e3086(0x23b)][_0x4e3086(0x233)][_0x4e3086(0x1ce)](_0xa7f619[_0x4e3086(0x23c)]),this[_0x4e3086(0x1e5)]()):this[_0x4e3086(0x1e5)]();}[_0x4fa762(0x1e5)](){const _0x463bf5=_0x4fa762,_0x323b50=this[_0x463bf5(0x23b)][_0x463bf5(0x233)][_0x463bf5(0x237)],_0x5729a6=_0x323b50&&this[_0x463bf5(0x1ef)][_0x463bf5(0x232)](_0x323b50);if(!_0x5729a6||!this[_0x463bf5(0x21f)][_0x463bf5(0x201)](_0x5729a6))return;const _0xc0288f=this[_0x463bf5(0x21f)][_0x463bf5(0x1f5)](_0x5729a6)[_0x463bf5(0x1f9)],_0x116aa1=(function(){const _0x206c19=_0x463bf5,_0x88d1aa=_0x2e6e40[_0x206c19(0x1db)];return[_0x88d1aa[_0x206c19(0x1ed)],_0x88d1aa[_0x206c19(0x22e)],_0x88d1aa[_0x206c19(0x1ec)],_0x88d1aa[_0x206c19(0x220)],_0x88d1aa[_0x206c19(0x211)],_0x88d1aa[_0x206c19(0x20c)]];}());this[_0x463bf5(0x23b)][_0x463bf5(0x221)]({'target':_0xc0288f,'positions':_0x116aa1});}[_0x4fa762(0x236)](){const _0x20aa27=_0x4fa762,_0x3c1dc7=this[_0x20aa27(0x23b)],_0x15d5a8=_0x3c1dc7[_0x20aa27(0x233)][_0x20aa27(0x237)];_0x15d5a8&&(this[_0x20aa27(0x240)](_0x15d5a8),_0x3c1dc7[_0x20aa27(0x1d0)](),_0x3c1dc7[_0x20aa27(0x233)][_0x20aa27(0x1f8)]());}[_0x4fa762(0x1e1)](_0x117c0c){const _0x2d678b=_0x4fa762;this[_0x2d678b(0x200)](_0x117c0c,_0x2d678b(0x235),()=>this[_0x2d678b(0x1e5)]()),this[_0x2d678b(0x200)](_0x117c0c,_0x2d678b(0x238),(_0x430015,_0x227b3f)=>{const _0x55167f=_0x2d678b;this[_0x55167f(0x218)][_0x55167f(0x1ce)](_0x117c0c),this[_0x55167f(0x236)](),_0x227b3f();});}[_0x4fa762(0x240)](_0xe9b042){const _0x4471eb=_0x4fa762;this[_0x4471eb(0x1fe)](_0xe9b042);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x11bd1d=_0x276b;(function(_0x473798,_0x47040b){const _0x3e8756=_0x276b,_0x4d576b=_0x473798();while(!![]){try{const _0x46d8ac=-parseInt(_0x3e8756(0x1c8))/0x1+-parseInt(_0x3e8756(0x1a8))/0x2*(parseInt(_0x3e8756(0x1d0))/0x3)+-parseInt(_0x3e8756(0x1f5))/0x4+-parseInt(_0x3e8756(0x1d5))/0x5*(-parseInt(_0x3e8756(0x1a6))/0x6)+parseInt(_0x3e8756(0x1e1))/0x7*(-parseInt(_0x3e8756(0x1f3))/0x8)+-parseInt(_0x3e8756(0x1cd))/0x9+parseInt(_0x3e8756(0x1ca))/0xa;if(_0x46d8ac===_0x47040b)break;else _0x4d576b['push'](_0x4d576b['shift']());}catch(_0x48b6a1){_0x4d576b['push'](_0x4d576b['shift']());}}}(_0x3dc4,0xb20c5));import{ContextPlugin as _0x16d8b7}from'ckeditor5/src/core.js';function _0x3dc4(){const _0x497d8c=['_alignForTopChange','bind','_spaceBetweenItems','_alignAfterItem','107904VvTdMw','refresh','6yThRuy','setContainer','_updateLastItem','container','appendChild','rearrange','context','Sidebar','isAnimationDisabled','render','_destroySidebarItemView','change:_lastItem','change:top','minHeight','change:targetRect','_targetTop','target','sidebar-setcontainer-invalid-element','remove','add','init','_sidebarItemViewToAnnotation','view','getSidebarItemView','unbind','element','_setItemTop','max','delete','getIndex','content','set','317441ULMsxX','_alignToTargetRect','29844670LctZji','height','last','10847907ZrpHrf','get','define','681189zHoloA','pluginName','sidebar.container','change:bottom','_getItemAfter','320YgNbrR','isActive','length','_recalculate','_activeAnnotation','_recalculateBuffer','addAnnotation','_lastItem','locale','destroy','push','top','49ovUgXX','_alignBeforeItem','object','sidebar.preventScrollOutOfView','clear','_createSidebarView','list','bottom','sidebar-attachtocontainer-missing-container','config','_detachFromContainer','_getMaxAvailableTop','nodeType','updateHeight','_annotations','_alignForBottomChange','_getTargetTop','_attachToContainer','57432byJveB','class','4607808wcmmfO','targetRect','_getItemBefore','_annotationToSidebarItemView','listenTo','stopListening'];_0x3dc4=function(){return _0x497d8c;};return _0x3dc4();}function _0x276b(_0x2db55b,_0x2af266){const _0x3dc400=_0x3dc4();return _0x276b=function(_0x276b1c,_0x196234){_0x276b1c=_0x276b1c-0x1a6;let _0x31ae73=_0x3dc400[_0x276b1c];return _0x31ae73;},_0x276b(_0x2db55b,_0x2af266);}import{Rect as _0x244678,CKEditorError as _0x3cbd35}from'ckeditor5/src/utils.js';import _0x12aad0 from'./view/sidebarview.js';import _0x5c88ed from'./view/sidebaritemview.js';export default class z extends _0x16d8b7{static get[_0x11bd1d(0x1d1)](){const _0x3b123c=_0x11bd1d;return _0x3b123c(0x1af);}constructor(_0x326087){const _0x7d6966=_0x11bd1d;super(_0x326087),this[_0x7d6966(0x1c7)](_0x7d6966(0x1dc),void 0x0),this[_0x7d6966(0x1be)]=this[_0x7d6966(0x1e6)](),this[_0x7d6966(0x1c7)](_0x7d6966(0x1ab),null),this[_0x7d6966(0x1fd)]=0x19,this[_0x7d6966(0x1bd)]=new Map(),this[_0x7d6966(0x1f8)]=new Map(),this[_0x7d6966(0x1ae)][_0x7d6966(0x1ea)][_0x7d6966(0x1cf)](_0x7d6966(0x1e4),!0x1),this[_0x7d6966(0x1ef)]=null,this[_0x7d6966(0x1d9)]=null,this[_0x7d6966(0x1da)]=[];}[_0x11bd1d(0x1bc)](){const _0x366134=_0x11bd1d,_0x1b8779=this[_0x366134(0x1ae)][_0x366134(0x1ea)][_0x366134(0x1ce)](_0x366134(0x1d2));_0x1b8779&&this[_0x366134(0x1a9)](_0x1b8779);}[_0x11bd1d(0x1a9)](_0x1740cf){const _0x42ea5e=_0x11bd1d;if(!y(_0x1740cf))throw new _0x3cbd35(_0x42ea5e(0x1b9));this[_0x42ea5e(0x1ab)]=_0x1740cf;}[_0x11bd1d(0x1f2)]({viewClass:_0x3806f6='',spaceBetweenItems:_0x1d08b0=0x19}={}){const _0x3588cf=_0x11bd1d;if(!y(this[_0x3588cf(0x1ab)]))throw new _0x3cbd35(_0x3588cf(0x1e9),this);this[_0x3588cf(0x1ab)][_0x3588cf(0x1ac)](this[_0x3588cf(0x1be)][_0x3588cf(0x1c1)]),this[_0x3588cf(0x1be)][_0x3588cf(0x1f4)]=_0x3806f6,this[_0x3588cf(0x1fd)]=_0x1d08b0;}[_0x11bd1d(0x1ad)]({removedAnnotation:_0x4a4466,previousAnnotation:_0x2cd612,nextAnnotation:_0x3abf66}){const _0x41a5f6=_0x11bd1d,_0x471d81=this[_0x41a5f6(0x1bf)](_0x4a4466);this[_0x41a5f6(0x1be)][_0x41a5f6(0x1e7)][_0x41a5f6(0x1ba)](_0x471d81),this[_0x41a5f6(0x1b2)](_0x4a4466),_0x2cd612&&this[_0x41a5f6(0x1c9)](this[_0x41a5f6(0x1bf)](_0x2cd612)),_0x3abf66&&this[_0x41a5f6(0x1c9)](this[_0x41a5f6(0x1bf)](_0x3abf66)),this[_0x41a5f6(0x1aa)]();}[_0x11bd1d(0x1a7)]({blurredAnnotation:_0x1a5507,activatedAnnotation:_0x4337f2,disableAnimationOnActivatedAnnotation:_0x29337e}){const _0x3d681a=_0x11bd1d;if(this[_0x3d681a(0x1d9)]=_0x4337f2,_0x1a5507){_0x1a5507[_0x3d681a(0x1d6)]=!0x1;const _0x131ca5=this[_0x3d681a(0x1bf)](_0x1a5507);_0x131ca5&&_0x29337e&&(_0x131ca5[_0x3d681a(0x1b0)]=!0x1);}if(_0x4337f2){const _0x54b0b3=this[_0x3d681a(0x1bf)](_0x4337f2);_0x54b0b3&&(_0x4337f2[_0x3d681a(0x1d6)]=!0x0,_0x29337e&&(_0x54b0b3[_0x3d681a(0x1b0)]=!0x0,_0x54b0b3[_0x3d681a(0x1e0)]+=0x1),this[_0x3d681a(0x1c9)](_0x54b0b3));}}[_0x11bd1d(0x1eb)](_0x353663){const _0x4bc0cb=_0x11bd1d;if(this[_0x4bc0cb(0x1be)][_0x4bc0cb(0x1c1)][_0x4bc0cb(0x1ba)](),_0x353663){for(const _0x527595 of _0x353663)this[_0x4bc0cb(0x1b2)](_0x527595);}this[_0x4bc0cb(0x1be)][_0x4bc0cb(0x1e7)][_0x4bc0cb(0x1e5)](),this[_0x4bc0cb(0x1be)][_0x4bc0cb(0x1f4)]='',this[_0x4bc0cb(0x1dc)]=null;}[_0x11bd1d(0x1db)](_0x16d8dd,_0x37e2b1){const _0x3969e2=_0x11bd1d;_0x37e2b1||(_0x37e2b1=_0x16d8dd[_0x3969e2(0x1be)]);const _0x5550d3=new _0x5c88ed(this[_0x3969e2(0x1ae)][_0x3969e2(0x1dd)]);this[_0x3969e2(0x1bd)][_0x3969e2(0x1c7)](_0x5550d3,_0x16d8dd),this[_0x3969e2(0x1f8)][_0x3969e2(0x1c7)](_0x16d8dd,_0x5550d3),_0x5550d3[_0x3969e2(0x1c6)][_0x3969e2(0x1bb)](_0x37e2b1),this[_0x3969e2(0x1f9)](_0x16d8dd[_0x3969e2(0x1be)],_0x3969e2(0x1b6),(_0xc4e5d0,_0x35b448,_0x2019b2)=>{const _0x2c0253=_0x3969e2,_0x1c0d09=this[_0x2c0253(0x1f1)](_0x16d8dd,_0x2019b2);_0x5550d3[_0x2c0253(0x1b7)]!=_0x1c0d09&&(_0x5550d3[_0x2c0253(0x1b7)]=_0x1c0d09,this[_0x2c0253(0x1c2)](_0x5550d3,_0x1c0d09));}),this[_0x3969e2(0x1f9)](_0x5550d3,_0x3969e2(0x1b4),()=>{const _0x1ca59c=_0x3969e2;this[_0x1ca59c(0x1d8)](_0x5550d3,_0x1ca59c(0x1e0));}),this[_0x3969e2(0x1f9)](_0x5550d3,_0x3969e2(0x1d3),()=>{const _0x2cbcac=_0x3969e2;this[_0x2cbcac(0x1d8)](_0x5550d3,_0x2cbcac(0x1e8));}),this[_0x3969e2(0x1c9)](_0x5550d3);const _0x3ea3a4=this[_0x3969e2(0x1f7)](_0x5550d3);if(_0x3ea3a4)this[_0x3969e2(0x1fe)](_0x3ea3a4,_0x5550d3)||this[_0x3969e2(0x1c9)](_0x5550d3);else this[_0x3969e2(0x1c9)](_0x5550d3);return this[_0x3969e2(0x1aa)](),this[_0x3969e2(0x1be)][_0x3969e2(0x1e7)][_0x3969e2(0x1bb)](_0x5550d3),_0x5550d3;}[_0x11bd1d(0x1fb)](_0x5d6933){const _0xfe48e9=_0x11bd1d;if(!_0x5d6933[_0xfe48e9(0x1c6)][_0xfe48e9(0x1d7)])return;const _0x5b40d2=this[_0xfe48e9(0x1f7)](_0x5d6933);if(!_0x5b40d2)return;const _0x42c3e0=this[_0xfe48e9(0x1bd)][_0xfe48e9(0x1ce)](_0x5b40d2),_0x492b72=this[_0xfe48e9(0x1d9)];_0x492b72&&_0x492b72===_0x42c3e0?this[_0xfe48e9(0x1fe)](_0x5b40d2,_0x5d6933):this[_0xfe48e9(0x1e2)](_0x5d6933,_0x5b40d2);}[_0x11bd1d(0x1f0)](_0x4e7a05){const _0x24a486=_0x11bd1d;if(!_0x4e7a05[_0x24a486(0x1c6)][_0x24a486(0x1d7)])return;const _0x221faa=this[_0x24a486(0x1d4)](_0x4e7a05);if(!_0x221faa)return;const _0x3175d0=this[_0x24a486(0x1bd)][_0x24a486(0x1ce)](_0x221faa),_0x17d88f=this[_0x24a486(0x1ae)][_0x24a486(0x1ea)][_0x24a486(0x1ce)](_0x24a486(0x1e4)),_0x356df1=this[_0x24a486(0x1d9)];_0x356df1&&_0x356df1===_0x3175d0&&_0x17d88f?(this[_0x24a486(0x1e2)](_0x221faa,_0x4e7a05),this[_0x24a486(0x1fe)](_0x4e7a05,_0x221faa)):_0x356df1&&_0x356df1===_0x3175d0?this[_0x24a486(0x1e2)](_0x221faa,_0x4e7a05):this[_0x24a486(0x1fe)](_0x4e7a05,_0x221faa);}[_0x11bd1d(0x1d8)](_0x52a001,_0x3b583c){const _0x1e33ef=_0x11bd1d;0x0===this[_0x1e33ef(0x1da)][_0x1e33ef(0x1d7)]&&setTimeout(()=>{const _0x20372f=_0x1e33ef;for(const {sidebarItemView:_0x1d9d2d,changedProp:_0x5cc0e7}of this[_0x20372f(0x1da)])_0x20372f(0x1e0)===_0x5cc0e7?this[_0x20372f(0x1fb)](_0x1d9d2d):this[_0x20372f(0x1f0)](_0x1d9d2d);this[_0x20372f(0x1da)]=[];},0xa),this[_0x1e33ef(0x1da)][_0x1e33ef(0x1df)]({'sidebarItemView':_0x52a001,'changedProp':_0x3b583c});}[_0x11bd1d(0x1bf)](_0x502bcd){const _0x15f1bd=_0x11bd1d;return this[_0x15f1bd(0x1f8)][_0x15f1bd(0x1ce)](_0x502bcd);}[_0x11bd1d(0x1de)](){const _0x12903e=_0x11bd1d;this[_0x12903e(0x1fa)](),this[_0x12903e(0x1be)][_0x12903e(0x1de)]();}[_0x11bd1d(0x1b2)](_0x54aa93){const _0x2ce2f1=_0x11bd1d,_0x5c4ec1=this[_0x2ce2f1(0x1bf)](_0x54aa93);this[_0x2ce2f1(0x1fa)](_0x5c4ec1),this[_0x2ce2f1(0x1fa)](_0x54aa93[_0x2ce2f1(0x1be)]),_0x5c4ec1[_0x2ce2f1(0x1de)](),this[_0x2ce2f1(0x1f8)][_0x2ce2f1(0x1c4)](_0x54aa93),this[_0x2ce2f1(0x1bd)][_0x2ce2f1(0x1c4)](_0x5c4ec1);}[_0x11bd1d(0x1e6)](){const _0x8abd7f=_0x11bd1d,_0x2f5666=new _0x12aad0(this[_0x8abd7f(0x1ae)][_0x8abd7f(0x1dd)]);return _0x2f5666[_0x8abd7f(0x1b1)](),this['on'](_0x8abd7f(0x1b3),(_0x408ecf,_0x46953b,_0x14eaac,_0x1094f1)=>{const _0x114f0a=_0x8abd7f;_0x1094f1&&_0x2f5666[_0x114f0a(0x1c0)](_0x114f0a(0x1b5)),_0x14eaac?_0x2f5666[_0x114f0a(0x1fc)](_0x114f0a(0x1b5))['to'](_0x14eaac,_0x114f0a(0x1e8)):_0x2f5666[_0x114f0a(0x1b5)]=null;}),_0x2f5666;}[_0x11bd1d(0x1aa)](){const _0x240796=_0x11bd1d;var _0x236db6;this[_0x240796(0x1dc)]=(null===(_0x236db6=this[_0x240796(0x1ef)])||void 0x0===_0x236db6?void 0x0:_0x236db6[_0x240796(0x1cc)])?this[_0x240796(0x1bf)](this[_0x240796(0x1ef)][_0x240796(0x1cc)]):null;}[_0x11bd1d(0x1f7)](_0x43f033){const _0x51422e=_0x11bd1d;var _0x5df2f7;const _0x7fa038=this[_0x51422e(0x1bd)][_0x51422e(0x1ce)](_0x43f033),_0x4984a7=_0x7fa038&&(null===(_0x5df2f7=this[_0x51422e(0x1ef)])||void 0x0===_0x5df2f7?void 0x0:_0x5df2f7[_0x51422e(0x1ce)](this[_0x51422e(0x1ef)][_0x51422e(0x1c5)](_0x7fa038)-0x1));return _0x4984a7&&this[_0x51422e(0x1bf)](_0x4984a7)||null;}[_0x11bd1d(0x1d4)](_0x195d80){const _0x13012c=_0x11bd1d;var _0x1e21ab;const _0x50efa2=this[_0x13012c(0x1bd)][_0x13012c(0x1ce)](_0x195d80),_0x99e4aa=_0x50efa2&&(null===(_0x1e21ab=this[_0x13012c(0x1ef)])||void 0x0===_0x1e21ab?void 0x0:_0x1e21ab[_0x13012c(0x1ce)](this[_0x13012c(0x1ef)][_0x13012c(0x1c5)](_0x50efa2)+0x1));return _0x99e4aa&&this[_0x13012c(0x1bf)](_0x99e4aa)||null;}[_0x11bd1d(0x1e2)](_0x28c432,_0x341639){const _0x1323af=_0x11bd1d;_0x28c432[_0x1323af(0x1ee)]();const _0x358455=M(_0x341639[_0x1323af(0x1e8)]+this[_0x1323af(0x1fd)],_0x28c432[_0x1323af(0x1e0)]);return!!_0x358455&&(this[_0x1323af(0x1c2)](_0x341639,_0x341639[_0x1323af(0x1e0)]-_0x358455),!0x0);}[_0x11bd1d(0x1fe)](_0x2fd699,_0xa32f6c){const _0x430dba=_0x11bd1d;_0x2fd699[_0x430dba(0x1ee)]();const _0x27f13f=M(_0x2fd699[_0x430dba(0x1e8)]+this[_0x430dba(0x1fd)],_0xa32f6c[_0x430dba(0x1e0)]);return!!_0x27f13f&&(this[_0x430dba(0x1c2)](_0xa32f6c,_0xa32f6c[_0x430dba(0x1e0)]+_0x27f13f,!0x1),!0x0);}[_0x11bd1d(0x1c9)](_0x4ba225){const _0x1b19d3=_0x11bd1d,_0x2aab9a=this[_0x1b19d3(0x1bd)][_0x1b19d3(0x1ce)](_0x4ba225);if(!_0x2aab9a||!_0x2aab9a[_0x1b19d3(0x1b8)]||!_0x2aab9a[_0x1b19d3(0x1f6)])return;const _0x5e7be4=this[_0x1b19d3(0x1f1)](_0x2aab9a,_0x2aab9a[_0x1b19d3(0x1f6)]);this[_0x1b19d3(0x1c2)](_0x4ba225,_0x5e7be4);}[_0x11bd1d(0x1f1)](_0x48a56c,_0x19fa1a){const _0x2e9893=_0x11bd1d;if(null===_0x19fa1a)return 0x0;if(_0x48a56c[_0x2e9893(0x1b8)]instanceof _0x244678)return _0x19fa1a[_0x2e9893(0x1e0)];{const _0x586af5=new _0x244678(this[_0x2e9893(0x1be)][_0x2e9893(0x1c1)])[_0x2e9893(0x1e0)];return _0x19fa1a[_0x2e9893(0x1e0)]-_0x586af5;}}[_0x11bd1d(0x1c2)](_0x37bc35,_0x3ca406,_0x67bdab=this[_0x11bd1d(0x1ae)][_0x11bd1d(0x1ea)][_0x11bd1d(0x1ce)](_0x11bd1d(0x1e4))){const _0x481976=_0x11bd1d;_0x67bdab&&(_0x3ca406=Math[_0x481976(0x1c3)](_0x3ca406,this[_0x481976(0x1ec)](_0x37bc35))),_0x37bc35[_0x481976(0x1e0)]=_0x3ca406;}[_0x11bd1d(0x1ec)](_0x3a5b0e){const _0x4aefe1=_0x11bd1d;let _0x56efdd=this[_0x4aefe1(0x1f7)](_0x3a5b0e),_0x58e82a=0x0;for(;_0x56efdd;)_0x56efdd[_0x4aefe1(0x1ee)](),_0x58e82a+=this[_0x4aefe1(0x1fd)]+_0x56efdd[_0x4aefe1(0x1cb)],_0x56efdd=this[_0x4aefe1(0x1f7)](_0x56efdd);return _0x58e82a;}}function M(_0x9e3c85,_0x516a1e){const _0x1c4365=_0x11bd1d;return Math[_0x1c4365(0x1c3)](_0x9e3c85-_0x516a1e,0x0);}function y(_0x13bfdc){const _0x2497b8=_0x11bd1d;return null!==_0x13bfdc&&_0x2497b8(0x1e3)==typeof _0x13bfdc&&0x1===_0x13bfdc[_0x2497b8(0x1ed)];}
|
|
23
|
+
function _0x2ab9(){const _0x330212=['getIndex','listenTo','target','_spaceBetweenItems','container','bottom','change:top','_targetTop','_sidebarItemViewToAnnotation','_detachFromContainer','16SnfVGu','get','locale','delete','_updateLastItem','_getMaxAvailableTop','_activeAnnotation','12166310LMDkHs','minHeight','stopListening','element','nodeType','content','define','destroy','top','add','Sidebar','2MJUjXa','context','sidebar-attachtocontainer-missing-container','_alignAfterItem','_annotations','change:_lastItem','updateHeight','_getItemAfter','init','clear','_getTargetTop','_alignForTopChange','addAnnotation','set','_setItemTop','_alignToTargetRect','_recalculateBuffer','object','_recalculate','_lastItem','targetRect','_alignForBottomChange','last','change:bottom','change:targetRect','_getItemBefore','height','unbind','render','sidebar-setcontainer-invalid-element','sidebar.preventScrollOutOfView','bind','sidebar.container','60504XdQTbz','setContainer','isAnimationDisabled','rearrange','appendChild','1403166BDfyjs','view','120911MVIDgl','remove','config','length','3544992ZmrUuZ','class','list','isActive','max','4wARjvE','_createSidebarView','_annotationToSidebarItemView','push','_destroySidebarItemView','pluginName','_alignBeforeItem','getSidebarItemView','refresh','_attachToContainer','1012866lKJNQt','375270UgdHYL'];_0x2ab9=function(){return _0x330212;};return _0x2ab9();}function _0x3c26(_0x27de81,_0x42c6de){const _0x2ab93f=_0x2ab9();return _0x3c26=function(_0x3c260e,_0x58cb29){_0x3c260e=_0x3c260e-0x131;let _0xf3287e=_0x2ab93f[_0x3c260e];return _0xf3287e;},_0x3c26(_0x27de81,_0x42c6de);}const _0x25b72d=_0x3c26;(function(_0x43482c,_0x1b0cd8){const _0x11140f=_0x3c26,_0x47eb84=_0x43482c();while(!![]){try{const _0x52674e=parseInt(_0x11140f(0x13e))/0x1+parseInt(_0x11140f(0x176))/0x2*(-parseInt(_0x11140f(0x158))/0x3)+parseInt(_0x11140f(0x14e))/0x4*(-parseInt(_0x11140f(0x159))/0x5)+-parseInt(_0x11140f(0x143))/0x6+parseInt(_0x11140f(0x145))/0x7*(parseInt(_0x11140f(0x164))/0x8)+-parseInt(_0x11140f(0x149))/0x9+parseInt(_0x11140f(0x16b))/0xa;if(_0x52674e===_0x1b0cd8)break;else _0x47eb84['push'](_0x47eb84['shift']());}catch(_0x1f9611){_0x47eb84['push'](_0x47eb84['shift']());}}}(_0x2ab9,0x42398));import{ContextPlugin as _0xe72aff}from'ckeditor5/src/core.js';import{Rect as _0xdeff2,CKEditorError as _0x254f9f}from'ckeditor5/src/utils.js';import _0x235bc8 from'./view/sidebarview.js';import _0x9ed776 from'./view/sidebaritemview.js';export default class z extends _0xe72aff{static get[_0x25b72d(0x153)](){const _0x1e5b99=_0x25b72d;return _0x1e5b99(0x175);}constructor(_0x3677e5){const _0x33846e=_0x25b72d;super(_0x3677e5),this[_0x33846e(0x183)](_0x33846e(0x189),void 0x0),this[_0x33846e(0x144)]=this[_0x33846e(0x14f)](),this[_0x33846e(0x183)](_0x33846e(0x15e),null),this[_0x33846e(0x15d)]=0x19,this[_0x33846e(0x162)]=new Map(),this[_0x33846e(0x150)]=new Map(),this[_0x33846e(0x177)][_0x33846e(0x147)][_0x33846e(0x171)](_0x33846e(0x13b),!0x1),this[_0x33846e(0x17a)]=null,this[_0x33846e(0x16a)]=null,this[_0x33846e(0x186)]=[];}[_0x25b72d(0x17e)](){const _0x20a0bc=_0x25b72d,_0x283cb8=this[_0x20a0bc(0x177)][_0x20a0bc(0x147)][_0x20a0bc(0x165)](_0x20a0bc(0x13d));_0x283cb8&&this[_0x20a0bc(0x13f)](_0x283cb8);}[_0x25b72d(0x13f)](_0x53a373){const _0x40f126=_0x25b72d;if(!y(_0x53a373))throw new _0x254f9f(_0x40f126(0x13a));this[_0x40f126(0x15e)]=_0x53a373;}[_0x25b72d(0x157)]({viewClass:_0x4678f6='',spaceBetweenItems:_0x5d22e7=0x19}={}){const _0x3da2a3=_0x25b72d;if(!y(this[_0x3da2a3(0x15e)]))throw new _0x254f9f(_0x3da2a3(0x178),this);this[_0x3da2a3(0x15e)][_0x3da2a3(0x142)](this[_0x3da2a3(0x144)][_0x3da2a3(0x16e)]),this[_0x3da2a3(0x144)][_0x3da2a3(0x14a)]=_0x4678f6,this[_0x3da2a3(0x15d)]=_0x5d22e7;}[_0x25b72d(0x141)]({removedAnnotation:_0x25a7ec,previousAnnotation:_0x52cae6,nextAnnotation:_0x148236}){const _0x165e92=_0x25b72d,_0x1ab60a=this[_0x165e92(0x155)](_0x25a7ec);this[_0x165e92(0x144)][_0x165e92(0x14b)][_0x165e92(0x146)](_0x1ab60a),this[_0x165e92(0x152)](_0x25a7ec),_0x52cae6&&this[_0x165e92(0x185)](this[_0x165e92(0x155)](_0x52cae6)),_0x148236&&this[_0x165e92(0x185)](this[_0x165e92(0x155)](_0x148236)),this[_0x165e92(0x168)]();}[_0x25b72d(0x156)]({blurredAnnotation:_0x48df8a,activatedAnnotation:_0x4f6c10,disableAnimationOnActivatedAnnotation:_0x22d164}){const _0x39a272=_0x25b72d;if(this[_0x39a272(0x16a)]=_0x4f6c10,_0x48df8a){_0x48df8a[_0x39a272(0x14c)]=!0x1;const _0x2f2f29=this[_0x39a272(0x155)](_0x48df8a);_0x2f2f29&&_0x22d164&&(_0x2f2f29[_0x39a272(0x140)]=!0x1);}if(_0x4f6c10){const _0x4bd945=this[_0x39a272(0x155)](_0x4f6c10);_0x4bd945&&(_0x4f6c10[_0x39a272(0x14c)]=!0x0,_0x22d164&&(_0x4bd945[_0x39a272(0x140)]=!0x0,_0x4bd945[_0x39a272(0x173)]+=0x1),this[_0x39a272(0x185)](_0x4bd945));}}[_0x25b72d(0x163)](_0x4b4e1b){const _0x236ae2=_0x25b72d;if(this[_0x236ae2(0x144)][_0x236ae2(0x16e)][_0x236ae2(0x146)](),_0x4b4e1b){for(const _0x297f5c of _0x4b4e1b)this[_0x236ae2(0x152)](_0x297f5c);}this[_0x236ae2(0x144)][_0x236ae2(0x14b)][_0x236ae2(0x17f)](),this[_0x236ae2(0x144)][_0x236ae2(0x14a)]='',this[_0x236ae2(0x189)]=null;}[_0x25b72d(0x182)](_0x2a6df4,_0x1271e2){const _0x3b78c0=_0x25b72d;_0x1271e2||(_0x1271e2=_0x2a6df4[_0x3b78c0(0x144)]);const _0x441eed=new _0x9ed776(this[_0x3b78c0(0x177)][_0x3b78c0(0x166)]);this[_0x3b78c0(0x162)][_0x3b78c0(0x183)](_0x441eed,_0x2a6df4),this[_0x3b78c0(0x150)][_0x3b78c0(0x183)](_0x2a6df4,_0x441eed),_0x441eed[_0x3b78c0(0x170)][_0x3b78c0(0x174)](_0x1271e2),this[_0x3b78c0(0x15b)](_0x2a6df4[_0x3b78c0(0x144)],_0x3b78c0(0x135),(_0x42bb8c,_0x5be158,_0xff171c)=>{const _0x4dc580=_0x3b78c0,_0x59f993=this[_0x4dc580(0x180)](_0x2a6df4,_0xff171c);_0x441eed[_0x4dc580(0x161)]!=_0x59f993&&(_0x441eed[_0x4dc580(0x161)]=_0x59f993,this[_0x4dc580(0x184)](_0x441eed,_0x59f993));}),this[_0x3b78c0(0x15b)](_0x441eed,_0x3b78c0(0x160),()=>{const _0x2440c4=_0x3b78c0;this[_0x2440c4(0x188)](_0x441eed,_0x2440c4(0x173));}),this[_0x3b78c0(0x15b)](_0x441eed,_0x3b78c0(0x134),()=>{const _0x471f9b=_0x3b78c0;this[_0x471f9b(0x188)](_0x441eed,_0x471f9b(0x15f));}),this[_0x3b78c0(0x185)](_0x441eed);const _0x2dcce1=this[_0x3b78c0(0x136)](_0x441eed);if(_0x2dcce1)this[_0x3b78c0(0x179)](_0x2dcce1,_0x441eed)||this[_0x3b78c0(0x185)](_0x441eed);else this[_0x3b78c0(0x185)](_0x441eed);return this[_0x3b78c0(0x168)](),this[_0x3b78c0(0x144)][_0x3b78c0(0x14b)][_0x3b78c0(0x174)](_0x441eed),_0x441eed;}[_0x25b72d(0x181)](_0xdf9642){const _0xdfdb73=_0x25b72d;if(!_0xdf9642[_0xdfdb73(0x170)][_0xdfdb73(0x148)])return;const _0x2aba8a=this[_0xdfdb73(0x136)](_0xdf9642);if(!_0x2aba8a)return;const _0x391177=this[_0xdfdb73(0x162)][_0xdfdb73(0x165)](_0x2aba8a),_0x1ac9f1=this[_0xdfdb73(0x16a)];_0x1ac9f1&&_0x1ac9f1===_0x391177?this[_0xdfdb73(0x179)](_0x2aba8a,_0xdf9642):this[_0xdfdb73(0x154)](_0xdf9642,_0x2aba8a);}[_0x25b72d(0x132)](_0xe03fa7){const _0x79ca3f=_0x25b72d;if(!_0xe03fa7[_0x79ca3f(0x170)][_0x79ca3f(0x148)])return;const _0x482527=this[_0x79ca3f(0x17d)](_0xe03fa7);if(!_0x482527)return;const _0x3741d3=this[_0x79ca3f(0x162)][_0x79ca3f(0x165)](_0x482527),_0x2f3d3b=this[_0x79ca3f(0x177)][_0x79ca3f(0x147)][_0x79ca3f(0x165)](_0x79ca3f(0x13b)),_0x43d081=this[_0x79ca3f(0x16a)];_0x43d081&&_0x43d081===_0x3741d3&&_0x2f3d3b?(this[_0x79ca3f(0x154)](_0x482527,_0xe03fa7),this[_0x79ca3f(0x179)](_0xe03fa7,_0x482527)):_0x43d081&&_0x43d081===_0x3741d3?this[_0x79ca3f(0x154)](_0x482527,_0xe03fa7):this[_0x79ca3f(0x179)](_0xe03fa7,_0x482527);}[_0x25b72d(0x188)](_0x27b339,_0x41a4a7){const _0x502d49=_0x25b72d;0x0===this[_0x502d49(0x186)][_0x502d49(0x148)]&&setTimeout(()=>{const _0x3da5d3=_0x502d49;for(const {sidebarItemView:_0x154a3f,changedProp:_0x145db0}of this[_0x3da5d3(0x186)])_0x3da5d3(0x173)===_0x145db0?this[_0x3da5d3(0x181)](_0x154a3f):this[_0x3da5d3(0x132)](_0x154a3f);this[_0x3da5d3(0x186)]=[];},0xa),this[_0x502d49(0x186)][_0x502d49(0x151)]({'sidebarItemView':_0x27b339,'changedProp':_0x41a4a7});}[_0x25b72d(0x155)](_0xa2c53f){const _0x209332=_0x25b72d;return this[_0x209332(0x150)][_0x209332(0x165)](_0xa2c53f);}[_0x25b72d(0x172)](){const _0x3a6079=_0x25b72d;this[_0x3a6079(0x16d)](),this[_0x3a6079(0x144)][_0x3a6079(0x172)]();}[_0x25b72d(0x152)](_0x3f639f){const _0x509528=_0x25b72d,_0x58984c=this[_0x509528(0x155)](_0x3f639f);this[_0x509528(0x16d)](_0x58984c),this[_0x509528(0x16d)](_0x3f639f[_0x509528(0x144)]),_0x58984c[_0x509528(0x172)](),this[_0x509528(0x150)][_0x509528(0x167)](_0x3f639f),this[_0x509528(0x162)][_0x509528(0x167)](_0x58984c);}[_0x25b72d(0x14f)](){const _0x5913e3=_0x25b72d,_0x6f4f80=new _0x235bc8(this[_0x5913e3(0x177)][_0x5913e3(0x166)]);return _0x6f4f80[_0x5913e3(0x139)](),this['on'](_0x5913e3(0x17b),(_0x95d453,_0x2d78dd,_0x1f41c0,_0x5dcd3e)=>{const _0x4b51ca=_0x5913e3;_0x5dcd3e&&_0x6f4f80[_0x4b51ca(0x138)](_0x4b51ca(0x16c)),_0x1f41c0?_0x6f4f80[_0x4b51ca(0x13c)](_0x4b51ca(0x16c))['to'](_0x1f41c0,_0x4b51ca(0x15f)):_0x6f4f80[_0x4b51ca(0x16c)]=null;}),_0x6f4f80;}[_0x25b72d(0x168)](){const _0x100b68=_0x25b72d;var _0x20dca2;this[_0x100b68(0x189)]=(null===(_0x20dca2=this[_0x100b68(0x17a)])||void 0x0===_0x20dca2?void 0x0:_0x20dca2[_0x100b68(0x133)])?this[_0x100b68(0x155)](this[_0x100b68(0x17a)][_0x100b68(0x133)]):null;}[_0x25b72d(0x136)](_0x1744c8){const _0x587c3f=_0x25b72d;var _0x480a90;const _0x3e2005=this[_0x587c3f(0x162)][_0x587c3f(0x165)](_0x1744c8),_0x5e28e5=_0x3e2005&&(null===(_0x480a90=this[_0x587c3f(0x17a)])||void 0x0===_0x480a90?void 0x0:_0x480a90[_0x587c3f(0x165)](this[_0x587c3f(0x17a)][_0x587c3f(0x15a)](_0x3e2005)-0x1));return _0x5e28e5&&this[_0x587c3f(0x155)](_0x5e28e5)||null;}[_0x25b72d(0x17d)](_0xf7e32){const _0x3cb0aa=_0x25b72d;var _0x36d743;const _0x16de08=this[_0x3cb0aa(0x162)][_0x3cb0aa(0x165)](_0xf7e32),_0x184924=_0x16de08&&(null===(_0x36d743=this[_0x3cb0aa(0x17a)])||void 0x0===_0x36d743?void 0x0:_0x36d743[_0x3cb0aa(0x165)](this[_0x3cb0aa(0x17a)][_0x3cb0aa(0x15a)](_0x16de08)+0x1));return _0x184924&&this[_0x3cb0aa(0x155)](_0x184924)||null;}[_0x25b72d(0x154)](_0x15704c,_0x110193){const _0x472ff7=_0x25b72d;_0x15704c[_0x472ff7(0x17c)]();const _0x1c582d=M(_0x110193[_0x472ff7(0x15f)]+this[_0x472ff7(0x15d)],_0x15704c[_0x472ff7(0x173)]);return!!_0x1c582d&&(this[_0x472ff7(0x184)](_0x110193,_0x110193[_0x472ff7(0x173)]-_0x1c582d),!0x0);}[_0x25b72d(0x179)](_0x455800,_0x5588e2){const _0xf4c856=_0x25b72d;_0x455800[_0xf4c856(0x17c)]();const _0x2ab94e=M(_0x455800[_0xf4c856(0x15f)]+this[_0xf4c856(0x15d)],_0x5588e2[_0xf4c856(0x173)]);return!!_0x2ab94e&&(this[_0xf4c856(0x184)](_0x5588e2,_0x5588e2[_0xf4c856(0x173)]+_0x2ab94e,!0x1),!0x0);}[_0x25b72d(0x185)](_0x38118e){const _0x404807=_0x25b72d,_0x49e617=this[_0x404807(0x162)][_0x404807(0x165)](_0x38118e);if(!_0x49e617||!_0x49e617[_0x404807(0x15c)]||!_0x49e617[_0x404807(0x131)])return;const _0x37e9fb=this[_0x404807(0x180)](_0x49e617,_0x49e617[_0x404807(0x131)]);this[_0x404807(0x184)](_0x38118e,_0x37e9fb);}[_0x25b72d(0x180)](_0x243657,_0x2fc9e7){const _0x201be8=_0x25b72d;if(null===_0x2fc9e7)return 0x0;if(_0x243657[_0x201be8(0x15c)]instanceof _0xdeff2)return _0x2fc9e7[_0x201be8(0x173)];{const _0x4956ed=new _0xdeff2(this[_0x201be8(0x144)][_0x201be8(0x16e)])[_0x201be8(0x173)];return _0x2fc9e7[_0x201be8(0x173)]-_0x4956ed;}}[_0x25b72d(0x184)](_0x4366fb,_0x504340,_0x2e5e6e=this[_0x25b72d(0x177)][_0x25b72d(0x147)][_0x25b72d(0x165)](_0x25b72d(0x13b))){const _0x1217e2=_0x25b72d;_0x2e5e6e&&(_0x504340=Math[_0x1217e2(0x14d)](_0x504340,this[_0x1217e2(0x169)](_0x4366fb))),_0x4366fb[_0x1217e2(0x173)]=_0x504340;}[_0x25b72d(0x169)](_0x1b1d18){const _0x466a88=_0x25b72d;let _0x5e802c=this[_0x466a88(0x136)](_0x1b1d18),_0x33038e=0x0;for(;_0x5e802c;)_0x5e802c[_0x466a88(0x17c)](),_0x33038e+=this[_0x466a88(0x15d)]+_0x5e802c[_0x466a88(0x137)],_0x5e802c=this[_0x466a88(0x136)](_0x5e802c);return _0x33038e;}}function M(_0x2092ef,_0x311eb8){const _0x4e5768=_0x25b72d;return Math[_0x4e5768(0x14d)](_0x2092ef-_0x311eb8,0x0);}function y(_0x4ff786){const _0xcbb4c1=_0x25b72d;return null!==_0x4ff786&&_0xcbb4c1(0x187)==typeof _0x4ff786&&0x1===_0x4ff786[_0xcbb4c1(0x16f)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
(function(_0x5d0f70,_0x5d5cf8){const _0x5d20f6=_0x2e8f,_0xa508dc=_0x5d0f70();while(!![]){try{const _0x40c046=-parseInt(_0x5d20f6(0x1d4))/0x1*(parseInt(_0x5d20f6(0x1dd))/0x2)+parseInt(_0x5d20f6(0x1cd))/0x3+parseInt(_0x5d20f6(0x1cf))/0x4*(parseInt(_0x5d20f6(0x1d7))/0x5)+parseInt(_0x5d20f6(0x1dc))/0x6+parseInt(_0x5d20f6(0x1c9))/0x7*(parseInt(_0x5d20f6(0x1c4))/0x8)+-parseInt(_0x5d20f6(0x1d0))/0x9+-parseInt(_0x5d20f6(0x1cb))/0xa;if(_0x40c046===_0x5d5cf8)break;else _0xa508dc['push'](_0xa508dc['shift']());}catch(_0x44d072){_0xa508dc['push'](_0xa508dc['shift']());}}}(_0x19a6,0xb80eb));function _0x19a6(){const _0x76edfc=['ck-annotation-counter','398441CJzEAg','setTemplate','annotationType','10aWfGhs','icon','extendTemplate','bindTemplate','number','1016046yTkofy','2JlXxah','add','span','set','ck-annotation-counter__badge--edit-mode','8lDGaGs','...','counterView','toString','_badge','5950504twxdZx','bind','6167250rjwGWU','isDirty','2254389PwMefn','ck-annotation-counter__badge','2576812Lzuamp','11611953haUaID','children','ck-annotation-counter__badge--'];_0x19a6=function(){return _0x76edfc;};return _0x19a6();}import{ButtonView as _0x28da10,View as _0xe05c3f}from'ckeditor5/src/ui.js';import _0x3cba4e from'../../../theme/icons/add-comment.svg';function _0x2e8f(_0x5b742d,_0x370265){const _0x19a632=_0x19a6();return _0x2e8f=function(_0x2e8fc6,_0x2716db){_0x2e8fc6=_0x2e8fc6-0x1c1;let _0x160919=_0x19a632[_0x2e8fc6];return _0x160919;},_0x2e8f(_0x5b742d,_0x370265);}export default class D extends _0x28da10{constructor(_0xc90fd0){const _0x1616cb=_0x2e8f;super(_0xc90fd0);const _0x57b797=this[_0x1616cb(0x1da)];this[_0x1616cb(0x1c2)](_0x1616cb(0x1cc),!0x1),this[_0x1616cb(0x1c2)](_0x1616cb(0x1db),0x0),this[_0x1616cb(0x1ca)](_0x1616cb(0x1c8))['to'](this,_0x1616cb(0x1cc),this,_0x1616cb(0x1db),(_0xa38b0a,_0x36f6d5)=>_0xa38b0a?_0x1616cb(0x1c5):_0x36f6d5[_0x1616cb(0x1c7)]()),this[_0x1616cb(0x1c2)](_0x1616cb(0x1d6),''),this[_0x1616cb(0x1d8)]=_0x3cba4e,this[_0x1616cb(0x1d9)]({'attributes':{'class':[_0x1616cb(0x1d3)]}}),this[_0x1616cb(0x1c6)]=new _0xe05c3f(),this[_0x1616cb(0x1c6)][_0x1616cb(0x1d5)]({'tag':_0x1616cb(0x1c1),'attributes':{'class':[_0x1616cb(0x1ce),_0x57b797['to'](_0x1616cb(0x1d6),_0x2647d1=>_0x1616cb(0x1d2)+_0x2647d1),_0x57b797['if'](_0x1616cb(0x1cc),_0x1616cb(0x1c3))]},'children':[{'text':_0x57b797['to'](_0x1616cb(0x1c8))}]}),this[_0x1616cb(0x1d1)][_0x1616cb(0x1de)](this[_0x1616cb(0x1c6)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x122a(){const _0x36d10c=['mainView','length','listenTo','keystrokes','height','fire','render','2476608ffglhM','172wBiEiV','9261PGczdo','ck-rounded-corners','_mutationObserver','14940130cGQngi','set','ck-annotation-wrapper','content','focus','clientHeight','9159535CvowWE','attach','ck-annotation-wrapper--active','element','add','createCollection','focusTracker','type','targetRect','destroy','Esc','clear','setTemplate','192ACeDLU','isActive','detach','10qyUQcO','5729472cSPxKJ','32gxYJWo','42270HXVnqd','div','isDirty','2365461NBDCEw','bindTemplate','_updateHeight'];_0x122a=function(){return _0x36d10c;};return _0x122a();}function _0xb476(_0x5df453,_0x45b23a){const _0x122a76=_0x122a();return _0xb476=function(_0xb476ec,_0x1ae2ce){_0xb476ec=_0xb476ec-0xbe;let _0x6479f7=_0x122a76[_0xb476ec];return _0x6479f7;},_0xb476(_0x5df453,_0x45b23a);}const _0x20832a=_0xb476;(function(_0x5bc1e6,_0x26d1a0){const _0x3882a4=_0xb476,_0x3d78a4=_0x5bc1e6();while(!![]){try{const _0x5551b4=-parseInt(_0x3882a4(0xe3))/0x1*(-parseInt(_0x3882a4(0xe2))/0x2)+-parseInt(_0x3882a4(0xd4))/0x3*(parseInt(_0x3882a4(0xce))/0x4)+-parseInt(_0x3882a4(0xd1))/0x5*(parseInt(_0x3882a4(0xe1))/0x6)+-parseInt(_0x3882a4(0xd7))/0x7*(parseInt(_0x3882a4(0xd3))/0x8)+parseInt(_0x3882a4(0xd2))/0x9+parseInt(_0x3882a4(0xe6))/0xa+parseInt(_0x3882a4(0xc1))/0xb;if(_0x5551b4===_0x26d1a0)break;else _0x3d78a4['push'](_0x3d78a4['shift']());}catch(_0x3124a9){_0x3d78a4['push'](_0x3d78a4['shift']());}}}(_0x122a,0xdd3dc));import{View as _0x5dd170}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1dcb13,KeystrokeHandler as _0x12b2a6,uid as _0x148c42}from'ckeditor5/src/utils.js';import _0xa33b77 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class V extends _0x5dd170{constructor(_0x74f045,_0x3c700b){const _0x5d37c0=_0xb476;super(_0x74f045),this['id']=_0x148c42(),this[_0x5d37c0(0xc7)]=new _0x1dcb13(),this[_0x5d37c0(0xdd)]=new _0x12b2a6(),this[_0x5d37c0(0xdd)][_0x5d37c0(0xe7)](_0x5d37c0(0xcb),(_0x595cfa,_0x144126)=>this[_0x5d37c0(0xdf)](_0x5d37c0(0xcb),_0x144126)),this[_0x5d37c0(0xe7)](_0x5d37c0(0xc9),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x5d37c0(0xe7)](_0x5d37c0(0xde),0x0),this[_0x5d37c0(0xe7)](_0x5d37c0(0xcf),!0x1),this[_0x5d37c0(0xe7)](_0x5d37c0(0xd6),!0x1),this[_0x5d37c0(0xe7)](_0x5d37c0(0xdb),0x0),this[_0x5d37c0(0xe7)](_0x5d37c0(0xc8),''),this[_0x5d37c0(0xe5)]=_0xa33b77(()=>this[_0x5d37c0(0xd9)]()),this[_0x5d37c0(0xbe)]=this[_0x5d37c0(0xc6)](),this[_0x5d37c0(0xbe)][_0x5d37c0(0xc5)](_0x3c700b),this[_0x5d37c0(0xda)]=_0x3c700b;const _0xbe39a1=this[_0x5d37c0(0xd8)];this[_0x5d37c0(0xcd)]({'tag':_0x5d37c0(0xd5),'attributes':{'class':['ck',_0x5d37c0(0xe8),_0x5d37c0(0xe4),_0xbe39a1['if'](_0x5d37c0(0xcf),_0x5d37c0(0xc3))],'tabindex':-0x1},'children':this[_0x5d37c0(0xbe)]});}[_0x20832a(0xe0)](){const _0x27e7fb=_0x20832a;super[_0x27e7fb(0xe0)](),this[_0x27e7fb(0xc7)][_0x27e7fb(0xc5)](this[_0x27e7fb(0xc4)]),this[_0x27e7fb(0xdd)][_0x27e7fb(0xdc)](this[_0x27e7fb(0xc4)]),this[_0x27e7fb(0xe5)][_0x27e7fb(0xc2)](this[_0x27e7fb(0xc4)]);}[_0x20832a(0xca)](){const _0x27d0cd=_0x20832a;this[_0x27d0cd(0xbe)][_0x27d0cd(0xcc)](),this[_0x27d0cd(0xdd)][_0x27d0cd(0xca)](),this[_0x27d0cd(0xc7)][_0x27d0cd(0xca)](),this[_0x27d0cd(0xe5)][_0x27d0cd(0xd0)](),super[_0x27d0cd(0xca)]();}[_0x20832a(0xbf)](){const _0x49885b=_0x20832a;this[_0x49885b(0xc4)][_0x49885b(0xbf)]();}[_0x20832a(0xd9)](){const _0x125ffd=_0x20832a,_0xf19250=this[_0x125ffd(0xc4)][_0x125ffd(0xc0)];_0xf19250&&(this[_0x125ffd(0xde)]=_0xf19250);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5a42(_0x55f132,_0x4516c9){const _0x4aa031=_0x4aa0();return _0x5a42=function(_0x5a428c,_0x1cb839){_0x5a428c=_0x5a428c-0x1c5;let _0x22020b=_0x4aa031[_0x5a428c];return _0x22020b;},_0x5a42(_0x55f132,_0x4516c9);}const _0x2ef696=_0x5a42;(function(_0x35b9c7,_0xe81b89){const _0x1f04af=_0x5a42,_0x3d6402=_0x35b9c7();while(!![]){try{const _0x1409fe=parseInt(_0x1f04af(0x1ce))/0x1*(-parseInt(_0x1f04af(0x1d8))/0x2)+parseInt(_0x1f04af(0x1da))/0x3*(parseInt(_0x1f04af(0x1d4))/0x4)+parseInt(_0x1f04af(0x1c8))/0x5*(parseInt(_0x1f04af(0x1d2))/0x6)+-parseInt(_0x1f04af(0x1e2))/0x7+parseInt(_0x1f04af(0x1dd))/0x8*(-parseInt(_0x1f04af(0x1cb))/0x9)+-parseInt(_0x1f04af(0x1d6))/0xa+parseInt(_0x1f04af(0x1c6))/0xb;if(_0x1409fe===_0xe81b89)break;else _0x3d6402['push'](_0x3d6402['shift']());}catch(_0x2c48eb){_0x3d6402['push'](_0x3d6402['shift']());}}}(_0x4aa0,0xbbdb7));import{View as _0x592fbb}from'ckeditor5/src/ui.js';import{toUnit as _0x333d71}from'ckeditor5/src/utils.js';import _0x373b1d from'../../utils/createmutationobserver.js';function _0x4aa0(){const _0x55023d=['15335360vrYzjs','_mutationObserver','2BLxrLO','attach','465933ghVgLM','set','render','648696JxpIcU','ck-sidebar-item','_targetTop','bind','ck-sidebar-item--no-animation','7533134zRPHhg','clear','height','updateHeight','element','bindTemplate','50467373JBocqq','clientHeight','1682460ARPpTr','div','createCollection','90mdDyEo','detach','destroy','1226207oxovVT','isAnimationDisabled','top','content','12kRIqeb','setTemplate','4oyCuQB','bottom'];_0x4aa0=function(){return _0x55023d;};return _0x4aa0();}const qt=_0x333d71('px');export default class C extends _0x592fbb{constructor(_0xa5b481){const _0x364e0e=_0x5a42;super(_0xa5b481),this[_0x364e0e(0x1db)](_0x364e0e(0x1d0),0x0),this[_0x364e0e(0x1db)](_0x364e0e(0x1e4),0x0),this[_0x364e0e(0x1e0)](_0x364e0e(0x1d5))['to'](this,_0x364e0e(0x1d0),this,_0x364e0e(0x1e4),(_0x52cc11,_0x146a2d)=>_0x52cc11+_0x146a2d),this[_0x364e0e(0x1db)](_0x364e0e(0x1cf),!0x1),this[_0x364e0e(0x1d7)]=_0x373b1d(()=>this[_0x364e0e(0x1e5)]()),this[_0x364e0e(0x1df)]=null,this[_0x364e0e(0x1d1)]=this[_0x364e0e(0x1ca)]();const _0x575d39=this[_0x364e0e(0x1c5)];this[_0x364e0e(0x1d3)]({'tag':_0x364e0e(0x1c9),'attributes':{'class':[_0x364e0e(0x1de),_0x575d39['to'](_0x364e0e(0x1cf),_0x425e83=>_0x425e83?_0x364e0e(0x1e1):'')],'style':{'top':_0x575d39['to'](_0x364e0e(0x1d0),_0x43f6c4=>qt(_0x43f6c4))}},'children':this[_0x364e0e(0x1d1)]});}[_0x2ef696(0x1dc)](){const _0x5b0ae4=_0x2ef696;super[_0x5b0ae4(0x1dc)](),this[_0x5b0ae4(0x1d7)][_0x5b0ae4(0x1d9)](this[_0x5b0ae4(0x1e6)]);}[_0x2ef696(0x1e5)](){const _0x122c30=_0x2ef696,_0x5576c5=this[_0x122c30(0x1e6)][_0x122c30(0x1c7)];_0x5576c5&&(this[_0x122c30(0x1e4)]=_0x5576c5);}[_0x2ef696(0x1cd)](){const _0x8e9c0e=_0x2ef696;this[_0x8e9c0e(0x1d1)][_0x8e9c0e(0x1e3)](),this[_0x8e9c0e(0x1d7)][_0x8e9c0e(0x1cc)](),super[_0x8e9c0e(0x1cd)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xc356fc,_0x478bda){const _0x34f77c=_0x47a8,_0x234582=_0xc356fc();while(!![]){try{const _0xe28c20=parseInt(_0x34f77c(0x15a))/0x1*(-parseInt(_0x34f77c(0x153))/0x2)+-parseInt(_0x34f77c(0x14d))/0x3+parseInt(_0x34f77c(0x14a))/0x4*(parseInt(_0x34f77c(0x157))/0x5)+parseInt(_0x34f77c(0x152))/0x6+-parseInt(_0x34f77c(0x14c))/0x7+parseInt(_0x34f77c(0x14f))/0x8*(-parseInt(_0x34f77c(0x148))/0x9)+parseInt(_0x34f77c(0x150))/0xa;if(_0xe28c20===_0x478bda)break;else _0x234582['push'](_0x234582['shift']());}catch(_0x16817c){_0x234582['push'](_0x234582['shift']());}}}(_0x2214,0x6db0b));function _0x2214(){const _0x164ba9=['135831NQzZCR','bindTemplate','ck-reset','90ECToUE','ck-sidebar','188vlkYio','setTemplate','1241149BBQHJY','157521JsFYGv','list','557288zxGAQe','3107780LXAqvI','number','4519128jnzPoc','4KjpKIx','set','class','minHeight','62065xDxUbG','div','createCollection'];_0x2214=function(){return _0x164ba9;};return _0x2214();}function _0x47a8(_0x556073,_0x51dc11){const _0x2214d5=_0x2214();return _0x47a8=function(_0x47a838,_0x4c70c7){_0x47a838=_0x47a838-0x147;let _0x47e77c=_0x2214d5[_0x47a838];return _0x47e77c;},_0x47a8(_0x556073,_0x51dc11);}import{View as _0x53c666}from'ckeditor5/src/ui.js';import{toUnit as _0x21273e}from'ckeditor5/src/utils.js';import'../../../theme/sidebar.css';const qt=_0x21273e('px');export default class T extends _0x53c666{constructor(_0x48a916){const _0x1935df=_0x47a8;super(_0x48a916);const _0x15c47a=this[_0x1935df(0x15b)];this[_0x1935df(0x154)](_0x1935df(0x156),0x0),this[_0x1935df(0x154)](_0x1935df(0x155),''),this[_0x1935df(0x14e)]=this[_0x1935df(0x159)](),this[_0x1935df(0x14b)]({'tag':_0x1935df(0x158),'attributes':{'class':['ck',_0x1935df(0x149),_0x1935df(0x147),_0x15c47a['to'](_0x1935df(0x155))],'style':{'minHeight':_0x15c47a['to'](_0x1935df(0x156),_0x383615=>_0x1935df(0x151)==typeof _0x383615?qt(_0x383615+0xa):null)}},'children':this[_0x1935df(0x14e)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15cb0c=_0x5a38;(function(_0x4ba6db,_0x48c683){const _0x2e8ca6=_0x5a38,_0x464320=_0x4ba6db();while(!![]){try{const _0x2d900a=-parseInt(_0x2e8ca6(0x1de))/0x1+parseInt(_0x2e8ca6(0x1d9))/0x2*(-parseInt(_0x2e8ca6(0x1df))/0x3)+-parseInt(_0x2e8ca6(0x1d6))/0x4+-parseInt(_0x2e8ca6(0x1b3))/0x5+parseInt(_0x2e8ca6(0x1a7))/0x6*(parseInt(_0x2e8ca6(0x1dc))/0x7)+-parseInt(_0x2e8ca6(0x1a3))/0x8*(parseInt(_0x2e8ca6(0x1c3))/0x9)+-parseInt(_0x2e8ca6(0x1c7))/0xa*(-parseInt(_0x2e8ca6(0x1cd))/0xb);if(_0x2d900a===_0x48c683)break;else _0x464320['push'](_0x464320['shift']());}catch(_0x55872e){_0x464320['push'](_0x464320['shift']());}}}(_0x5daa,0x58028));import{ContextPlugin as _0x5dc0be,Context as _0xd8249f}from'ckeditor5/src/core.js';import _0x42721c from'./annotationsuis.js';import _0x4b93af from'./sidebar.js';function _0x5a38(_0x5a6f7e,_0x38e80c){const _0x5daaa0=_0x5daa();return _0x5a38=function(_0x5a38be,_0x57a5a7){_0x5a38be=_0x5a38be-0x19e;let _0x4ab32d=_0x5daaa0[_0x5a38be];return _0x4ab32d;},_0x5a38(_0x5a6f7e,_0x38e80c);}import{CKEditorError as _0x1f266b,Collection as _0x106f09}from'ckeditor5/src/utils.js';function _0x5daa(){const _0x1c90e0=['get','cancel','ready','destroy','6390CIdxDP','switchTo','requires','refresh','80ixbuSo','add','annotations','plugins','pluginName','ck-sidebar--wide','2200924fdtRtD','_annotations','_editorAnnotations','from','updateTargetRect','wideSidebar','set:container','resize','_attachToContainer','1247524DpUWYl','init','stop','40LfPmCR','attach','hasDomSelection','182poQoFc','context','352618TlcDxl','10773ZviMKj','setActiveAnnotation','activeAnnotation','refreshPositioning','change:container','getOrderedSelectedAnnotations','addEventListener','editors','EditorAnnotations','5584RGMPbq','register','_destroyEditorAnnotationsIntegration','_refreshPositioningDebounced','70242zfleet','_detachFromContainer','widesidebar-detach-not-attached','container','removeEventListener','_activeAnnotation','_integrateWithEditorAnnotations','set','addAnnotation','uiUpdate','rearrange','isAttached','1563335vIHwcg','listenTo','remove','has','widesidebar-attach-already-attached','off','blur','stopListening','detach','high','WideSidebar','focus'];_0x5daa=function(){return _0x1c90e0;};return _0x5daa();}import{debounce as _0x538d7f}from'lodash-es';export default class n extends _0x5dc0be{static get[_0x15cb0c(0x1c5)](){return[_0x4b93af,_0x42721c];}static get[_0x15cb0c(0x1cb)](){const _0x278da4=_0x15cb0c;return _0x278da4(0x1bd);}constructor(_0x39adf7){const _0x58a88d=_0x15cb0c;super(_0x39adf7),this[_0x58a88d(0x1b2)]=!0x1,this[_0x58a88d(0x1ae)](_0x58a88d(0x1e1),null),this[_0x58a88d(0x1c9)]=null,this[_0x58a88d(0x1cf)]=new _0x106f09(),this[_0x58a88d(0x1a6)]=_0x538d7f(()=>{const _0x4fde20=_0x58a88d;this[_0x4fde20(0x1c9)][_0x4fde20(0x1e2)]();},0xfa,{'leading':!0x1});}[_0x15cb0c(0x1d7)](){const _0x30948a=_0x15cb0c,_0x18d06b=this[_0x30948a(0x1dd)][_0x30948a(0x1ca)][_0x30948a(0x1bf)](_0x42721c),_0x4406b1=this[_0x30948a(0x1dd)][_0x30948a(0x1ca)][_0x30948a(0x1bf)](_0x4b93af);_0x18d06b[_0x30948a(0x1a4)](_0x30948a(0x1d2),this),_0x4406b1[_0x30948a(0x1aa)]&&_0x18d06b[_0x30948a(0x1c4)](_0x30948a(0x1d2));}[_0x15cb0c(0x1e0)](_0x45e93f){const _0x26f74d=_0x15cb0c;if(_0x45e93f===this[_0x26f74d(0x1e1)])return;const _0x2cb30d=this[_0x26f74d(0x1dd)][_0x26f74d(0x1ca)][_0x26f74d(0x1bf)](_0x4b93af);_0x2cb30d[_0x26f74d(0x1ac)]=_0x45e93f;const _0x55a893=this[_0x26f74d(0x1e1)];this[_0x26f74d(0x1e1)]=_0x45e93f,_0x2cb30d[_0x26f74d(0x1c6)]({'blurredAnnotation':_0x55a893,'activatedAnnotation':this[_0x26f74d(0x1e1)]});}[_0x15cb0c(0x1da)](_0x27eeb4){const _0x3c79e8=_0x15cb0c;this[_0x3c79e8(0x1c9)]=_0x27eeb4;const _0x2a9743=this[_0x3c79e8(0x1dd)][_0x3c79e8(0x1ca)][_0x3c79e8(0x1bf)](_0x4b93af);if(_0x2a9743[_0x3c79e8(0x1ce)]=_0x27eeb4,this[_0x3c79e8(0x1b2)])throw new _0x1f266b(_0x3c79e8(0x1b7),this);this[_0x3c79e8(0x1b2)]=!0x0,this[_0x3c79e8(0x1b4)](_0x2a9743,_0x3c79e8(0x1d3),()=>{const _0x162567=_0x3c79e8;this[_0x162567(0x1bb)](),this[_0x162567(0x1b4)](_0x2a9743,_0x162567(0x19e),_0x2d452a=>{const _0x1ea750=_0x162567;_0x2d452a[_0x1ea750(0x1b8)](),this[_0x1ea750(0x1da)](_0x27eeb4);});}),_0x2a9743[_0x3c79e8(0x1d5)]({'viewClass':_0x3c79e8(0x1cc)});const _0x1184f5=_0xaf9e13=>{const _0xb3a417=_0x3c79e8;_0xaf9e13[_0xb3a417(0x1d1)](),_0x2a9743[_0xb3a417(0x1af)](_0xaf9e13);};for(const _0x37ec0e of _0x27eeb4)_0x1184f5(_0x37ec0e);this[_0x3c79e8(0x1b4)](_0x27eeb4,_0x3c79e8(0x1c8),(_0x5c65af,_0x2c1d81)=>{_0x1184f5(_0x2c1d81);}),this[_0x3c79e8(0x1b4)](_0x27eeb4,_0x3c79e8(0x1b5),(_0x56903f,_0x5afb6d,_0x48cbf3)=>{const _0x4b99bc=_0x3c79e8;_0x2a9743[_0x4b99bc(0x1b1)]({'removedAnnotation':_0x5afb6d,'previousAnnotation':_0x27eeb4[_0x4b99bc(0x1bf)](_0x48cbf3-0x1),'nextAnnotation':_0x27eeb4[_0x4b99bc(0x1bf)](_0x48cbf3+0x1)}),_0x5afb6d===this[_0x4b99bc(0x1e1)]&&this[_0x4b99bc(0x1e0)](null);},{'priority':_0x3c79e8(0x1bc)}),this[_0x3c79e8(0x1b4)](_0x27eeb4,_0x3c79e8(0x1be),(_0x4f3486,_0x503400)=>{const _0x1e6ebb=_0x3c79e8;this[_0x1e6ebb(0x1e0)](_0x503400);}),this[_0x3c79e8(0x1b4)](_0x27eeb4,_0x3c79e8(0x1b9),()=>{const _0x167451=_0x3c79e8;this[_0x167451(0x1e0)](null);});const _0x17e8d2=this[_0x3c79e8(0x1dd)]instanceof _0xd8249f?this[_0x3c79e8(0x1dd)][_0x3c79e8(0x1a1)]:new _0x106f09([this[_0x3c79e8(0x1dd)]]);for(const _0x2f5c7a of _0x17e8d2)this[_0x3c79e8(0x1ad)](_0x2f5c7a);this[_0x3c79e8(0x1b4)](_0x17e8d2,_0x3c79e8(0x1c8),(_0x50732b,_0x46b8d8)=>{const _0x4082fa=_0x3c79e8;this[_0x4082fa(0x1b4)](_0x46b8d8,_0x4082fa(0x1c1),()=>{const _0x45e74d=_0x4082fa;this[_0x45e74d(0x1ad)](_0x46b8d8);});}),this[_0x3c79e8(0x1b4)](_0x17e8d2,_0x3c79e8(0x1b5),(_0x21801a,_0x1841e8)=>{const _0x610d94=_0x3c79e8;_0x1841e8[_0x610d94(0x1ca)][_0x610d94(0x1b6)](_0x610d94(0x1a2))&&this[_0x610d94(0x1a5)](_0x1841e8[_0x610d94(0x1ca)][_0x610d94(0x1bf)](_0x610d94(0x1a2)));}),window[_0x3c79e8(0x1a0)](_0x3c79e8(0x1d4),this[_0x3c79e8(0x1a6)]),this[_0x3c79e8(0x1c9)][_0x3c79e8(0x1e2)]();}[_0x15cb0c(0x1bb)](){const _0x4a8e67=_0x15cb0c;if(!this[_0x4a8e67(0x1b2)])throw new _0x1f266b(_0x4a8e67(0x1a9),this);this[_0x4a8e67(0x1e0)](null);const _0x1c5bda=this[_0x4a8e67(0x1dd)][_0x4a8e67(0x1ca)][_0x4a8e67(0x1bf)](_0x4b93af);_0x1c5bda[_0x4a8e67(0x1a8)](this[_0x4a8e67(0x1c9)]),this[_0x4a8e67(0x1ba)](_0x1c5bda),this[_0x4a8e67(0x1ba)](this[_0x4a8e67(0x1c9)]),this[_0x4a8e67(0x1dd)]instanceof _0xd8249f&&this[_0x4a8e67(0x1ba)](this[_0x4a8e67(0x1dd)][_0x4a8e67(0x1a1)]);for(const _0xa12c58 of Array[_0x4a8e67(0x1d0)](this[_0x4a8e67(0x1cf)]))this[_0x4a8e67(0x1a5)](_0xa12c58);window[_0x4a8e67(0x1ab)](_0x4a8e67(0x1d4),this[_0x4a8e67(0x1a6)]),this[_0x4a8e67(0x1a6)][_0x4a8e67(0x1c0)](),this[_0x4a8e67(0x1e1)]=null,this[_0x4a8e67(0x1b2)]=!0x1,this[_0x4a8e67(0x1c9)]=null;}[_0x15cb0c(0x1c2)](){const _0x5c1bb3=_0x15cb0c;this[_0x5c1bb3(0x1b2)]&&this[_0x5c1bb3(0x1bb)]();}[_0x15cb0c(0x1ad)](_0x3d0b2c){const _0x26daba=_0x15cb0c;if(!_0x3d0b2c[_0x26daba(0x1ca)][_0x26daba(0x1b6)](_0x26daba(0x1a2)))return;const _0x55db7f=_0x3d0b2c[_0x26daba(0x1ca)][_0x26daba(0x1bf)](_0x26daba(0x1a2)),_0x58829b=()=>{const _0x103631=_0x26daba,_0x48bb10=_0x55db7f[_0x103631(0x19f)]({'annotations':this[_0x103631(0x1c9)],'activeAnnotation':this[_0x103631(0x1e1)]});this[_0x103631(0x1e0)](_0x48bb10[0x0]||null);};this[_0x26daba(0x1b4)](_0x55db7f,_0x26daba(0x1c6),_0x58829b),this[_0x26daba(0x1b4)](_0x55db7f,_0x26daba(0x1b9),(_0x409619,{isAnnotationTracked:_0x22283d})=>{const _0xb7ee7c=_0x26daba;this[_0xb7ee7c(0x1e1)]&&_0x22283d(this[_0xb7ee7c(0x1e1)])&&this[_0xb7ee7c(0x1e0)](null);}),this[_0x26daba(0x1b4)](_0x55db7f,_0x26daba(0x1b0),()=>{const _0x28462a=_0x26daba;this[_0x28462a(0x1a6)]();}),this[_0x26daba(0x1b4)](this[_0x26daba(0x1c9)],_0x26daba(0x1b9),_0xceec24=>{const _0x1f8b33=_0x26daba;_0x55db7f[_0x1f8b33(0x1db)]()&&(_0x58829b(),_0xceec24[_0x1f8b33(0x1d8)]());},{'priority':_0x26daba(0x1bc)}),this[_0x26daba(0x1cf)][_0x26daba(0x1c8)](_0x55db7f);}[_0x15cb0c(0x1a5)](_0x2ac251){const _0x1fd0b6=_0x15cb0c;this[_0x1fd0b6(0x1ba)](_0x2ac251),this[_0x1fd0b6(0x1cf)][_0x1fd0b6(0x1b5)](_0x2ac251);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x179c8a=_0x3610;function _0x37b8(){const _0x13ca70=['5MHNoWK','_hasContent','5239654AnsSPp','push','getRanges','_itemIsContent','item','tableCell','model','getLastMatchingPosition','2947527nvcVzu','start','createRange','change','backward','selection','substr','1078752ioxMLM','isObject','_trimToContent','5118840YJhATi','6PxSlgr','element','180UHyrUQ','getItems','47745ivUqys','refresh','3wsCfVs','schema','isEnabled','1096184hMuVQx','$textProxy','comment:','editor','document','end','addMarker','execute','223765qVraOU'];_0x37b8=function(){return _0x13ca70;};return _0x37b8();}(function(_0xeea107,_0x404f76){const _0x3b4396=_0x3610,_0x11262b=_0xeea107();while(!![]){try{const _0x4a6fcd=-parseInt(_0x3b4396(0x140))/0x1*(-parseInt(_0x3b4396(0x12f))/0x2)+-parseInt(_0x3b4396(0x135))/0x3*(parseInt(_0x3b4396(0x138))/0x4)+parseInt(_0x3b4396(0x141))/0x5*(-parseInt(_0x3b4396(0x12b))/0x6)+-parseInt(_0x3b4396(0x143))/0x7+parseInt(_0x3b4396(0x12e))/0x8+parseInt(_0x3b4396(0x133))/0x9*(parseInt(_0x3b4396(0x131))/0xa)+parseInt(_0x3b4396(0x124))/0xb;if(_0x4a6fcd===_0x404f76)break;else _0x11262b['push'](_0x11262b['shift']());}catch(_0x2b59dc){_0x11262b['push'](_0x11262b['shift']());}}}(_0x37b8,0x734ad));import{Command as _0x5104f1}from'ckeditor5/src/core.js';import{uid as _0x3add89}from'ckeditor5/src/utils.js';function _0x3610(_0x50e366,_0xa32bbc){const _0x37b897=_0x37b8();return _0x3610=function(_0x361041,_0xccf6f9){_0x361041=_0x361041-0x120;let _0x25f470=_0x37b897[_0x361041];return _0x25f470;},_0x3610(_0x50e366,_0xa32bbc);}export default class G extends _0x5104f1{[_0x179c8a(0x134)](){const _0x2bc480=_0x179c8a,_0x2a48f3=this[_0x2bc480(0x13b)][_0x2bc480(0x122)][_0x2bc480(0x13c)][_0x2bc480(0x129)];for(const _0x472300 of _0x2a48f3[_0x2bc480(0x145)]())if(this[_0x2bc480(0x142)](_0x472300))return void(this[_0x2bc480(0x137)]=!0x0);this[_0x2bc480(0x137)]=!0x1;}[_0x179c8a(0x13f)]({threadId:_0x2667b1=_0x3add89()}={}){const _0x341af2=_0x179c8a,_0x534f82=this[_0x341af2(0x13b)][_0x341af2(0x122)],_0x57e74d=[];for(const _0x3f7ad3 of _0x534f82[_0x341af2(0x13c)][_0x341af2(0x129)][_0x341af2(0x145)]())this[_0x341af2(0x142)](_0x3f7ad3)&&_0x57e74d[_0x341af2(0x144)](this[_0x341af2(0x12d)](_0x3f7ad3));_0x534f82[_0x341af2(0x127)](_0x3b9dfc=>{const _0x11b76c=_0x341af2;for(const _0x5903d4 of _0x57e74d){const _0x3bd2ed=_0x3add89()[_0x11b76c(0x12a)](0x1,0x5),_0x3b38fd=_0x11b76c(0x13a)+_0x2667b1+':'+_0x3bd2ed;_0x3b9dfc[_0x11b76c(0x13e)](_0x3b38fd,{'range':_0x5903d4,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x179c8a(0x142)](_0x37efad){const _0x14ac69=_0x179c8a;for(const _0x1cb699 of _0x37efad[_0x14ac69(0x132)]())if(this[_0x14ac69(0x146)](_0x1cb699))return!0x0;return!0x1;}[_0x179c8a(0x146)](_0x24f64c){const _0xd2f9f8=_0x179c8a;return _0x24f64c['is'](_0xd2f9f8(0x139))||this[_0xd2f9f8(0x13b)][_0xd2f9f8(0x122)][_0xd2f9f8(0x136)][_0xd2f9f8(0x12c)](_0x24f64c)&&!_0x24f64c['is'](_0xd2f9f8(0x130),_0xd2f9f8(0x121));}[_0x179c8a(0x12d)](_0x48bd60){const _0x1d1bb0=_0x179c8a,_0x457093=_0x427d06=>!this[_0x1d1bb0(0x146)](_0x427d06[_0x1d1bb0(0x120)]),_0x53ae23=_0x48bd60[_0x1d1bb0(0x125)][_0x1d1bb0(0x123)](_0x457093),_0x1406f2=_0x48bd60[_0x1d1bb0(0x13d)][_0x1d1bb0(0x123)](_0x457093,{'direction':_0x1d1bb0(0x128)});return this[_0x1d1bb0(0x13b)][_0x1d1bb0(0x122)][_0x1d1bb0(0x126)](_0x53ae23,_0x1406f2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x370fd5=_0x4138;(function(_0x321099,_0x482a68){const _0x168943=_0x4138,_0x2928f5=_0x321099();while(!![]){try{const _0x2a7837=-parseInt(_0x168943(0x175))/0x1*(parseInt(_0x168943(0x187))/0x2)+-parseInt(_0x168943(0x174))/0x3*(-parseInt(_0x168943(0x16b))/0x4)+parseInt(_0x168943(0x188))/0x5+-parseInt(_0x168943(0x176))/0x6*(-parseInt(_0x168943(0x186))/0x7)+-parseInt(_0x168943(0x16a))/0x8*(-parseInt(_0x168943(0x17d))/0x9)+parseInt(_0x168943(0x171))/0xa+-parseInt(_0x168943(0x18c))/0xb*(parseInt(_0x168943(0x16f))/0xc);if(_0x2a7837===_0x482a68)break;else _0x2928f5['push'](_0x2928f5['shift']());}catch(_0x2a6e62){_0x2928f5['push'](_0x2928f5['shift']());}}}(_0x5395,0x5c044));function _0x5395(){const _0x4f613b=['isActive','has','get','add','plugins','archivedAt','35BZjQFC','26mmKrkU','3627075hPSBeA','remove','getCommentThread','findIndex','23959144vkjKdi','collection','removeCommentThread','init','286872NgFTXg','12RgLmqH','activate','stopListening','addCommentThread','12MnsNHq','CommentsArchive','3160120CYxGxq','focus','length','637329cZrBPm','206mvWTsO','237126wfJmcv','context','requires','listenTo','pluginName','highest','change:archivedAt','171mRiOrM','_calculatePosition','archivedThreads'];_0x5395=function(){return _0x4f613b;};return _0x5395();}import{ContextPlugin as _0x5b208c}from'ckeditor5/src/core.js';import{Collection as _0x4eea27}from'ckeditor5/src/utils.js';function _0x4138(_0x13cbbe,_0x241a31){const _0x5395d9=_0x5395();return _0x4138=function(_0x41380f,_0x388b90){_0x41380f=_0x41380f-0x16a;let _0x349df1=_0x5395d9[_0x41380f];return _0x349df1;},_0x4138(_0x13cbbe,_0x241a31);}import _0x2e3cfb from'./commentsrepository.js';import _0x209144 from'../annotations/annotations.js';export default class p extends _0x5b208c{static get[_0x370fd5(0x17a)](){const _0x2c15f5=_0x370fd5;return _0x2c15f5(0x170);}static get[_0x370fd5(0x178)](){return[_0x2e3cfb,_0x209144];}constructor(_0x56e4e3){const _0x415809=_0x370fd5;super(_0x56e4e3),this[_0x415809(0x17f)]=new _0x4eea27();}[_0x370fd5(0x18f)](){const _0x488922=_0x370fd5,_0x1978e7=this[_0x488922(0x177)],_0x500620=_0x1978e7[_0x488922(0x184)][_0x488922(0x182)](_0x2e3cfb),_0x16a076=_0x1978e7[_0x488922(0x184)][_0x488922(0x182)](_0x209144);this[_0x488922(0x179)](_0x500620,_0x488922(0x16e),(_0x58c90c,{threadId:_0x3baad4})=>{const _0x406808=_0x488922,_0x4be7c9=_0x500620[_0x406808(0x18a)](_0x3baad4);_0x4be7c9[_0x406808(0x185)]&&this[_0x406808(0x17f)][_0x406808(0x183)](_0x4be7c9,this[_0x406808(0x17e)](_0x4be7c9[_0x406808(0x185)])),this[_0x406808(0x179)](_0x4be7c9,_0x406808(0x17c),(_0x231686,_0x4ebe4b,_0x51edf3)=>{const _0x67b115=_0x406808;_0x51edf3?this[_0x67b115(0x17f)][_0x67b115(0x181)](_0x4be7c9)||this[_0x67b115(0x17f)][_0x67b115(0x183)](_0x4be7c9,this[_0x67b115(0x17e)](_0x4be7c9[_0x67b115(0x185)])):this[_0x67b115(0x17f)][_0x67b115(0x181)](_0x4be7c9)&&this[_0x67b115(0x17f)][_0x67b115(0x189)](_0x4be7c9);});}),this[_0x488922(0x179)](_0x500620,_0x488922(0x18e),(_0x50a7fc,{threadId:_0x27e6a1})=>{const _0x413dd0=_0x488922,_0x277a60=_0x500620[_0x413dd0(0x18a)](_0x27e6a1);this[_0x413dd0(0x16d)](_0x277a60),this[_0x413dd0(0x17f)][_0x413dd0(0x181)](_0x277a60)&&this[_0x413dd0(0x17f)][_0x413dd0(0x189)](_0x277a60);},{'priority':_0x488922(0x17b)}),this[_0x488922(0x179)](_0x16a076[_0x488922(0x18d)],_0x488922(0x172),(_0x1c7a22,_0x3b7633)=>{const _0x3b599c=_0x488922;_0x3b7633[_0x3b599c(0x180)]=!0x0,_0x16a076[_0x3b599c(0x16c)](_0x3b7633);});}[_0x370fd5(0x17e)](_0x56e925){const _0x39ea04=_0x370fd5,_0x3ca7d9=[...this[_0x39ea04(0x17f)]][_0x39ea04(0x18b)](_0x3f4b49=>_0x3f4b49[_0x39ea04(0x185)]<_0x56e925);return _0x3ca7d9>-0x1?_0x3ca7d9:this[_0x39ea04(0x17f)][_0x39ea04(0x173)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1ba2(_0x4f4392,_0x3341ab){const _0x1a8d6b=_0x1a8d();return _0x1ba2=function(_0x1ba2e4,_0x20628f){_0x1ba2e4=_0x1ba2e4-0xa7;let _0x5cf723=_0x1a8d6b[_0x1ba2e4];return _0x5cf723;},_0x1ba2(_0x4f4392,_0x3341ab);}function _0x1a8d(){const _0x2af106=['archivedThreads','isEnabled','30296178ZGAVUl','_toggleDialog','1192gebmyS','1074648zQeYSw','CommentsArchiveUI','add','stopListening','COMMENTS_ARCHIVE','push','remove','hide','config','indexOf','6671qRsINq','findIndex','set','splice','plugins','commentsArchiveView','archivedAt','EDITOR_TOP_SIDE','isVisible','Annotations','editor','find','getByInnerView','listenTo','261zvUoOJ','execute','2462595METnNQ','init','pluginName','collection','_calculatePosition','Dialog','length','show','10BQjMQn','menuBar:commentsArchive','4111164fFMfxD','collaboration.channelId','focusableElements','innerView','_threadToController','bind','tooltip','_createCommentsArchiveButton','6128HrdlFn','view','locale','annotationViews','get','channelId','requires','componentFactory','filter','_pendingThreads','2399646oHWoIe','_visibleAnnotations','CommentsRepository','commentsArchive','5JyJHdl'];_0x1a8d=function(){return _0x2af106;};return _0x1a8d();}const _0x571fba=_0x1ba2;(function(_0x12bd95,_0x42bf17){const _0x2486bb=_0x1ba2,_0x1f77f1=_0x12bd95();while(!![]){try{const _0x399185=-parseInt(_0x2486bb(0xe4))/0x1*(parseInt(_0x2486bb(0xcb))/0x2)+-parseInt(_0x2486bb(0xe6))/0x3+parseInt(_0x2486bb(0xcc))/0x4+-parseInt(_0x2486bb(0xc6))/0x5*(parseInt(_0x2486bb(0xc2))/0x6)+-parseInt(_0x2486bb(0xd6))/0x7*(parseInt(_0x2486bb(0xb8))/0x8)+-parseInt(_0x2486bb(0xb0))/0x9*(parseInt(_0x2486bb(0xae))/0xa)+parseInt(_0x2486bb(0xc9))/0xb;if(_0x399185===_0x42bf17)break;else _0x1f77f1['push'](_0x1f77f1['shift']());}catch(_0x1ecff8){_0x1f77f1['push'](_0x1f77f1['shift']());}}}(_0x1a8d,0x703b8));import'../../theme/commentsarchive.css';import{Plugin as _0xb1df55}from'ckeditor5/src/core.js';import{ViewCollection as _0x2867ac,MenuBarMenuListItemButtonView as _0x5c5a46,ButtonView as _0x4d2eaf,Dialog as _0x450ae2,DialogViewPosition as _0x2a0303}from'ckeditor5/src/ui.js';import _0x3286fc from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x153c27}from'../utils/common-translations.js';import _0x57ac24 from'./ui/view/commentsarchiveview.js';import _0x299518 from'./commentsarchive.js';export default class a extends _0xb1df55{static get[_0x571fba(0xa8)](){const _0x18ab6f=_0x571fba;return _0x18ab6f(0xcd);}static get[_0x571fba(0xbe)](){return[_0x299518,_0x450ae2];}constructor(_0x57a84a){const _0x4fa1e9=_0x571fba;super(_0x57a84a),this[_0x4fa1e9(0xbb)]=new _0x2867ac(),this[_0x4fa1e9(0xc1)]=[];}[_0x571fba(0xa7)](){const _0x5920fd=_0x571fba;this[_0x5920fd(0xe0)]['ui'][_0x5920fd(0xbf)][_0x5920fd(0xce)](_0x5920fd(0xc5),()=>this[_0x5920fd(0xb7)](_0x4d2eaf,!0x0)),this[_0x5920fd(0xe0)]['ui'][_0x5920fd(0xbf)][_0x5920fd(0xce)](_0x5920fd(0xaf),()=>this[_0x5920fd(0xb7)](_0x5c5a46));const _0x263cbd=this[_0x5920fd(0xe0)][_0x5920fd(0xda)][_0x5920fd(0xbc)](_0x299518),_0x4bc53c=this[_0x5920fd(0xe0)][_0x5920fd(0xda)][_0x5920fd(0xbc)](_0x5920fd(0xdf)),_0x24d98e=this[_0x5920fd(0xe0)][_0x5920fd(0xda)][_0x5920fd(0xbc)](_0x5920fd(0xc4));this[_0x5920fd(0xe3)](_0x263cbd[_0x5920fd(0xc7)],_0x5920fd(0xce),(_0x221731,_0xac594e)=>{const _0x498e96=_0x5920fd,_0x109459=this[_0x498e96(0xe0)][_0x498e96(0xd4)][_0x498e96(0xbc)](_0x498e96(0xb1));if(!_0x109459||_0xac594e[_0x498e96(0xbd)]===_0x109459){const _0x2ebf4=_0x24d98e[_0x498e96(0xb4)][_0x498e96(0xbc)](_0xac594e);if(!_0x2ebf4)return void this[_0x498e96(0xc1)][_0x498e96(0xd1)](_0xac594e);const _0x380546=this[_0x498e96(0xaa)](_0xac594e[_0x498e96(0xdc)]),_0x5841c=_0x4bc53c[_0x498e96(0xe2)](_0x2ebf4[_0x498e96(0xb9)]);_0x5841c[_0x498e96(0xde)]&&_0x4bc53c[_0x498e96(0xc3)][_0x498e96(0xd2)](_0x5841c),this[_0x498e96(0xbb)][_0x498e96(0xce)](_0x5841c[_0x498e96(0xb9)],_0x380546);}}),this[_0x5920fd(0xe3)](_0x4bc53c[_0x5920fd(0xa9)],_0x5920fd(0xce),(_0x3f937f,_0x2239fc)=>{const _0x130679=_0x5920fd,_0x42148=this[_0x130679(0xc1)][_0x130679(0xe1)](_0x537659=>{const _0x5726b1=_0x130679,_0x11de76=_0x24d98e[_0x5726b1(0xb4)][_0x5726b1(0xbc)](_0x537659);return _0x11de76&&_0x2239fc[_0x5726b1(0xb3)]===_0x11de76[_0x5726b1(0xb9)];});if(_0x42148){const _0x1a67ed=this[_0x130679(0xaa)](_0x42148[_0x130679(0xdc)]);this[_0x130679(0xbb)][_0x130679(0xce)](_0x2239fc[_0x130679(0xb9)],_0x1a67ed),this[_0x130679(0xc1)][_0x130679(0xd9)](this[_0x130679(0xc1)][_0x130679(0xd5)](_0x42148),0x1);}}),this[_0x5920fd(0xe3)](_0x263cbd[_0x5920fd(0xc7)],_0x5920fd(0xd2),(_0x3ae0bd,_0x10ff15)=>{const _0x250c46=_0x5920fd,_0xd3beb=this[_0x250c46(0xe0)][_0x250c46(0xd4)][_0x250c46(0xbc)](_0x250c46(0xb1));if(!_0xd3beb||_0x10ff15[_0x250c46(0xbd)]===_0xd3beb){const _0x3e5b54=_0x24d98e[_0x250c46(0xb4)][_0x250c46(0xbc)](_0x10ff15),_0x435600=_0x4bc53c[_0x250c46(0xe2)](_0x3e5b54[_0x250c46(0xb9)]);this[_0x250c46(0xbb)][_0x250c46(0xd2)](_0x435600[_0x250c46(0xb9)]),this[_0x250c46(0xcf)](_0x435600[_0x250c46(0xb2)]);}});}[_0x571fba(0xaa)](_0x3a1059){const _0x9a89ba=_0x571fba,_0x22df21=this[_0x9a89ba(0xe0)][_0x9a89ba(0xd4)][_0x9a89ba(0xbc)](_0x9a89ba(0xb1)),_0x5d9bac=[...this[_0x9a89ba(0xe0)][_0x9a89ba(0xda)][_0x9a89ba(0xbc)](_0x299518)[_0x9a89ba(0xc7)]][_0x9a89ba(0xc0)](_0x16de1e=>_0x16de1e[_0x9a89ba(0xbd)]===_0x22df21)[_0x9a89ba(0xd7)](_0x4229b6=>_0x4229b6[_0x9a89ba(0xdc)]<_0x3a1059);return _0x5d9bac<0x0||_0x5d9bac>this[_0x9a89ba(0xbb)][_0x9a89ba(0xac)]?this[_0x9a89ba(0xbb)][_0x9a89ba(0xac)]:_0x5d9bac-0x1;}[_0x571fba(0xca)](){const _0x3a0067=_0x571fba,_0x3c5bb3=this[_0x3a0067(0xe0)],_0x45e211=_0x3c5bb3[_0x3a0067(0xda)][_0x3a0067(0xbc)](_0x3a0067(0xab));this[_0x3a0067(0xdb)]||(this[_0x3a0067(0xdb)]=new _0x57ac24(_0x3c5bb3[_0x3a0067(0xba)],this[_0x3a0067(0xbb)])),_0x3a0067(0xc5)===_0x45e211['id']?_0x45e211[_0x3a0067(0xd3)]():_0x45e211[_0x3a0067(0xad)]({'id':_0x3a0067(0xc5),'title':_0x153c27(_0x3c5bb3[_0x3a0067(0xba)],_0x3a0067(0xd0)),'icon':_0x3286fc,'hasCloseButton':!0x0,'content':this[_0x3a0067(0xdb)],'position':_0x2a0303[_0x3a0067(0xdd)]});}[_0x571fba(0xb7)](_0x441376,_0x2d9e79=!0x1){const _0x4af76e=_0x571fba,_0x38bbab=this[_0x4af76e(0xe0)][_0x4af76e(0xba)],_0x1e9e0f=new _0x441376(_0x38bbab);return _0x1e9e0f[_0x4af76e(0xb5)](_0x4af76e(0xc8))['to'](this,_0x4af76e(0xc8)),_0x1e9e0f[_0x4af76e(0xd8)]({'label':_0x153c27(_0x38bbab,_0x4af76e(0xd0)),'icon':_0x3286fc}),_0x2d9e79&&(_0x1e9e0f[_0x4af76e(0xb6)]=!0x0),this[_0x4af76e(0xe3)](_0x1e9e0f,_0x4af76e(0xe5),()=>this[_0x4af76e(0xca)]()),_0x1e9e0f;}}
|