@ckeditor/ckeditor5-comments 42.0.0-alpha.11 → 42.0.0-alpha.14
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 _0x499596=_0x2c5d;(function(_0x19469e,_0x37bf7b){const _0x3d3590=_0x2c5d,_0x1f431a=_0x19469e();while(!![]){try{const _0xb8f455=-parseInt(_0x3d3590(0xe7))/0x1*(-parseInt(_0x3d3590(0x97))/0x2)+-parseInt(_0x3d3590(0xba))/0x3*(parseInt(_0x3d3590(0xec))/0x4)+-parseInt(_0x3d3590(0xb3))/0x5*(parseInt(_0x3d3590(0x94))/0x6)+parseInt(_0x3d3590(0xcd))/0x7*(-parseInt(_0x3d3590(0x8f))/0x8)+-parseInt(_0x3d3590(0xea))/0x9+-parseInt(_0x3d3590(0xb8))/0xa*(-parseInt(_0x3d3590(0x9c))/0xb)+parseInt(_0x3d3590(0xb4))/0xc*(parseInt(_0x3d3590(0xd9))/0xd);if(_0xb8f455===_0x37bf7b)break;else _0x1f431a['push'](_0x1f431a['shift']());}catch(_0x563183){_0x1f431a['push'](_0x1f431a['shift']());}}}(_0x18b1,0xe6738));function _0x18b1(){const _0x588bb4=['change:height','36664kUjsUk','isActive','update','getFirstRange','remove','559966ztshIX','hasView','delete','editing','domConverter','viewRangeToDom','focus','target','refresh','detach','context','inlineannotations-attach-already-attached','editableElement','blur','bottom','change:isFocused','editor','every','selection','focusTracker','right','_selectedAnnotations','_removeAnnotationFromBalloon','171980gruHgS','4308yUyFOJ','updatePosition','push','addObserver','330EhmKsF','find','27uhNfMW','inlineannotations-not-allowed-with-context','has','width','Esc','_addAnnotationToBalloon','getByView','attach','init','clear','afterInit','keystrokes','setActiveAnnotation','from','includes','InlineAnnotations','stopListening','_closeAnnotation','switchTo','5984447MInhef','collapse','visibleView','_manuallyClosed','_forceRefresh','plugins','top','isFocused','hasActive','activeAnnotation','_getBalloonTargetForAnnotation','document','137891EmEbuq','getBoundingClientRect','map','getOrderedSelectedAnnotations','get','destroy','fromRect','inline','annotations','requires','_balloon','showStack','targetRect','_setSelectedAnnotations','14lmmcEk','change:visibleView','listenTo','13911957NvHnCJ','inlineannotations-detach-not-attached','228016tjWaUE','view','pluginName','getClientRects','length','left','add','16TeJAcr','set','isAttached','mousedown','_addedAnnotations','180OBHxzu','register'];_0x18b1=function(){return _0x588bb4;};return _0x18b1();}import{Plugin as _0x2ed9a9}from'ckeditor5/src/core.js';import _0x14f73e from'./annotationsuis.js';import _0x319ed0 from'./editorannotations.js';import{ContextualBalloon as _0x1f233e}from'ckeditor5/src/ui.js';import{MouseObserver as _0x5ea235}from'ckeditor5/src/engine.js';import{CKEditorError as _0x206c76,Rect as _0x1310bf}from'ckeditor5/src/utils.js';function _0x2c5d(_0x34c5a4,_0x39f580){const _0x18b1b3=_0x18b1();return _0x2c5d=function(_0x2c5d14,_0x26c5d2){_0x2c5d14=_0x2c5d14-0x8f;let _0x2dba16=_0x18b1b3[_0x2c5d14];return _0x2dba16;},_0x2c5d(_0x34c5a4,_0x39f580);}import'./../../theme/annotation-inline.css';export default class c extends _0x2ed9a9{static get[_0x499596(0xe2)](){return[_0x319ed0,_0x1f233e,_0x14f73e];}static get[_0x499596(0xee)](){const _0x8fa1f=_0x499596;return _0x8fa1f(0xc9);}constructor(_0x134ca3){const _0x450c51=_0x499596;super(_0x134ca3),_0x134ca3[_0x450c51(0x9f)][_0x450c51(0xed)][_0x450c51(0xb7)](_0x5ea235),this[_0x450c51(0x91)]=!0x1,this[_0x450c51(0x90)](_0x450c51(0xd6),null),this[_0x450c51(0xe1)]=null,this[_0x450c51(0xd0)]=new Set(),this[_0x450c51(0xe3)]=_0x134ca3[_0x450c51(0xd2)][_0x450c51(0xdd)](_0x1f233e),this[_0x450c51(0x93)]=new Set(),this[_0x450c51(0xb1)]=[],this[_0x450c51(0xd1)]=!0x1;}[_0x499596(0xc2)](){const _0x5d85b2=_0x499596,_0x4b8235=this[_0x5d85b2(0xac)][_0x5d85b2(0xd2)][_0x5d85b2(0xdd)](_0x14f73e);_0x4b8235[_0x5d85b2(0xa6)]===this[_0x5d85b2(0xac)]&&(_0x4b8235[_0x5d85b2(0x95)](_0x5d85b2(0xe0),this),this[_0x5d85b2(0xac)][_0x5d85b2(0xc5)][_0x5d85b2(0x90)](_0x5d85b2(0xbe),(_0xe89b3e,_0x2a9b51)=>{const _0x22ba29=_0x5d85b2,_0x405f2d=this[_0x22ba29(0xe3)];if(this[_0x22ba29(0x91)]&&_0x405f2d[_0x22ba29(0xcf)]){const _0x33d6f2=this[_0x22ba29(0xe1)][_0x22ba29(0xc0)](_0x405f2d[_0x22ba29(0xcf)]);_0x33d6f2&&this[_0x22ba29(0xcb)](_0x33d6f2),_0x2a9b51();}}));}[_0x499596(0xc4)](){const _0x5eb395=_0x499596,_0x29cfeb=this[_0x5eb395(0xac)][_0x5eb395(0xd2)][_0x5eb395(0xdd)](_0x14f73e);_0x29cfeb[_0x5eb395(0xa6)]===this[_0x5eb395(0xac)]&&(_0x29cfeb[_0x5eb395(0xd5)]()||_0x29cfeb[_0x5eb395(0xcc)](_0x5eb395(0xe0)));}[_0x499596(0xc6)](_0x3f56d7){const _0x160d98=_0x499596;_0x3f56d7!==this[_0x160d98(0xd6)]&&(this[_0x160d98(0xd6)]&&(this[_0x160d98(0xd6)][_0x160d98(0x98)]=!0x1),_0x3f56d7&&this[_0x160d98(0xac)]['ui'][_0x160d98(0xaf)][_0x160d98(0xd4)]&&(this[_0x160d98(0xe1)][_0x160d98(0xbc)](_0x3f56d7)&&this[_0x160d98(0xbf)](_0x3f56d7,!0x0),_0x3f56d7[_0x160d98(0x98)]=!0x0),_0x3f56d7||this[_0x160d98(0xe6)]([]),this[_0x160d98(0xd6)]=_0x3f56d7);}[_0x499596(0xc1)](_0x4dfa65){const _0x5981a9=_0x499596;this[_0x5981a9(0xe1)]=_0x4dfa65;const _0xa387b6=this[_0x5981a9(0xac)][_0x5981a9(0xd2)][_0x5981a9(0xdd)](_0x14f73e),_0x449e66=this[_0x5981a9(0xe3)];if(this[_0x5981a9(0x91)])throw new _0x206c76(_0x5981a9(0xa7),this);if(_0xa387b6[_0x5981a9(0xa6)]!==this[_0x5981a9(0xac)])throw new _0x206c76(_0x5981a9(0xbb),this);const _0x34f4a9=this[_0x5981a9(0xac)][_0x5981a9(0xd2)][_0x5981a9(0xdd)](_0x319ed0);this[_0x5981a9(0xe9)](_0x34f4a9,_0x5981a9(0xa4),()=>{const _0x282e7a=_0x5981a9,_0x4a0fdb=_0x34f4a9[_0x282e7a(0xdc)]({'annotations':this[_0x282e7a(0xe1)],'activeAnnotation':this[_0x282e7a(0xd6)]});var _0x4b6ee3,_0x438862;!this[_0x282e7a(0xd1)]&&(_0x4b6ee3=_0x4a0fdb,_0x438862=this[_0x282e7a(0xb1)],_0x4b6ee3[_0x282e7a(0xf0)]===_0x438862[_0x282e7a(0xf0)]&&_0x4b6ee3[_0x282e7a(0xad)](_0x3e6666=>_0x438862[_0x282e7a(0xc8)](_0x3e6666)))||(this[_0x282e7a(0xd1)]=!0x1,this[_0x282e7a(0xe6)](_0x4a0fdb),this[_0x282e7a(0xc6)](_0x4a0fdb[0x0]||null));}),this[_0x5981a9(0xe9)](_0x34f4a9,_0x5981a9(0xa9),(_0x1cdddf,{isAnnotationTracked:_0x6354ab})=>{const _0x398090=_0x5981a9;this[_0x398090(0xd6)]&&_0x6354ab(this[_0x398090(0xd6)])&&(this[_0x398090(0xe6)]([]),this[_0x398090(0xc6)](null));}),this[_0x5981a9(0xe9)](this[_0x5981a9(0xac)]['ui'][_0x5981a9(0xaf)],_0x5981a9(0xab),(_0x9a77ff,_0xa83984,_0x1ec933)=>{const _0x3eed34=_0x5981a9;_0x1ec933||this[_0x3eed34(0xc6)](null);}),this[_0x5981a9(0xe9)](_0x4dfa65,_0x5981a9(0x9b),(_0x5466d8,_0xe29fd9)=>{const _0x5ab4c2=_0x5981a9;this[_0x5ab4c2(0xb2)](_0xe29fd9),_0xe29fd9===this[_0x5ab4c2(0xd6)]&&this[_0x5ab4c2(0xc6)](null);}),this[_0x5981a9(0xe9)](_0x449e66,_0x5981a9(0xe8),(_0x2fcda6,_0x237c0c,_0x46cee1,_0x49f998)=>{const _0x3a985e=_0x5981a9;_0x49f998&&this[_0x3a985e(0xca)](_0x49f998);const _0x5b2f41=_0x4dfa65[_0x3a985e(0xc0)](_0x46cee1);_0x46cee1&&_0x5b2f41&&(this[_0x3a985e(0xe9)](_0x46cee1,_0x3a985e(0x96),()=>{const _0x4db425=_0x3a985e;_0x449e66[_0x4db425(0xb5)]();}),this[_0x3a985e(0xe9)](_0x46cee1,_0x3a985e(0xbe),()=>{const _0x1d280d=_0x3a985e;this[_0x1d280d(0xcb)](_0x5b2f41),this[_0x1d280d(0xac)][_0x1d280d(0x9f)][_0x1d280d(0xed)][_0x1d280d(0xa2)]();}),this[_0x3a985e(0xd6)]!==_0x5b2f41&&this[_0x3a985e(0xc6)](_0x5b2f41));}),this[_0x5981a9(0xe9)](this[_0x5981a9(0xac)]['ui'],_0x5981a9(0x99),()=>{const _0xbb145c=_0x5981a9;_0x449e66[_0xbb145c(0xcf)]&&(_0x4dfa65[_0xbb145c(0xc0)](_0x449e66[_0xbb145c(0xcf)])&&_0x449e66[_0xbb145c(0xb5)]());}),this[_0x5981a9(0xe9)](this[_0x5981a9(0xac)][_0x5981a9(0x9f)][_0x5981a9(0xed)][_0x5981a9(0xd8)],_0x5981a9(0x92),()=>{const _0x5e842e=_0x5981a9;this[_0x5e842e(0xd1)]=!0x0,this[_0x5e842e(0xd0)][_0x5e842e(0xc3)]();}),this[_0x5981a9(0xac)][_0x5981a9(0x9f)][_0x5981a9(0xed)][_0x5981a9(0xd8)][_0x5981a9(0xae)][_0x5981a9(0xa8)]&&this[_0x5981a9(0xac)][_0x5981a9(0x9f)][_0x5981a9(0xed)][_0x5981a9(0xa2)](),this[_0x5981a9(0x91)]=!0x0;}[_0x499596(0xa5)](){const _0x3f54a9=_0x499596;if(!this[_0x3f54a9(0x91)])throw new _0x206c76(_0x3f54a9(0xeb),this);this[_0x3f54a9(0xc6)](null);for(const _0x3c99b4 of this[_0x3f54a9(0x93)])this[_0x3f54a9(0xb2)](_0x3c99b4);this[_0x3f54a9(0xca)](),this[_0x3f54a9(0x91)]=!0x1,this[_0x3f54a9(0xe1)]=null;}[_0x499596(0xde)](){const _0x67caa4=_0x499596;this[_0x67caa4(0x91)]&&this[_0x67caa4(0xa5)]();}[_0x499596(0xe6)](_0x5d4a75){const _0x499ebc=_0x499596;for(const _0x162e4e of this[_0x499ebc(0xb1)])_0x5d4a75[_0x499ebc(0xc8)](_0x162e4e)||this[_0x499ebc(0xd0)][_0x499ebc(0x9e)](_0x162e4e);for(const _0x16d6ab of this[_0x499ebc(0xe1)])_0x5d4a75[_0x499ebc(0xc8)](_0x16d6ab)||this[_0x499ebc(0xb2)](_0x16d6ab);if(this[_0x499ebc(0xac)]['ui'][_0x499ebc(0xaf)][_0x499ebc(0xd4)]){for(const _0x22ae56 of _0x5d4a75)this[_0x499ebc(0xbf)](_0x22ae56);}this[_0x499ebc(0xb1)]=_0x5d4a75;}[_0x499596(0xbf)](_0x3ec888,_0x4c25e7=!0x1){const _0x5e0665=_0x499596;this[_0x5e0665(0xd0)][_0x5e0665(0xbc)](_0x3ec888)||(this[_0x5e0665(0x93)][_0x5e0665(0xbc)](_0x3ec888)||this[_0x5e0665(0xe3)][_0x5e0665(0x9d)](_0x3ec888[_0x5e0665(0xed)])||(this[_0x5e0665(0x93)][_0x5e0665(0xf2)](_0x3ec888),this[_0x5e0665(0xe3)][_0x5e0665(0xf2)]({'stackId':_0x3ec888[_0x5e0665(0xed)]['id'],'view':_0x3ec888[_0x5e0665(0xed)],'position':{'target':()=>this[_0x5e0665(0xd7)](_0x3ec888)}})),_0x4c25e7&&this[_0x5e0665(0xe3)][_0x5e0665(0xe4)](_0x3ec888[_0x5e0665(0xed)]['id']));}[_0x499596(0xd7)](_0xfd73ba){const _0x3c086e=_0x499596,_0x1eb734=_0xfd73ba[_0x3c086e(0xa3)],_0x5de9c1=this[_0x3c086e(0xac)][_0x3c086e(0x9f)][_0x3c086e(0xed)],_0x16f27a=_0x5de9c1[_0x3c086e(0xd8)][_0x3c086e(0xae)][_0x3c086e(0x9a)](),_0x55845c=_0x5de9c1[_0x3c086e(0xa0)][_0x3c086e(0xa1)](_0x16f27a);if(_0x55845c[_0x3c086e(0xce)](!0x0),_0x1eb734){if(_0x1eb734 instanceof _0x1310bf)return _0x1eb734;let _0x1e2be2=[];for(const _0x43148f of _0x1eb734)_0x1e2be2[_0x3c086e(0xb6)](...(_0x408f61=_0x43148f[_0x3c086e(0xef)](),Array[_0x3c086e(0xc7)](_0x408f61)[_0x3c086e(0xdb)](DOMRect[_0x3c086e(0xdf)])));_0x1e2be2=function(_0x244ab0){const _0x33d113=_0x3c086e,_0x57568e=[];let _0x2b5da2=_0x244ab0[0x0];for(let _0x1c8457=0x1;_0x1c8457<_0x244ab0[_0x33d113(0xf0)];_0x1c8457++)F(_0x2b5da2,_0x244ab0[_0x1c8457])?_0x2b5da2[_0x33d113(0xbd)]+=_0x244ab0[_0x1c8457][_0x33d113(0xbd)]:(_0x57568e[_0x33d113(0xb6)](_0x2b5da2),_0x2b5da2=_0x244ab0[_0x1c8457]);return _0x57568e[_0x33d113(0xb6)](_0x2b5da2),_0x57568e;}(_0x1e2be2);const _0xde96d7=_0x55845c[_0x3c086e(0xda)]();return _0x1e2be2[_0x3c086e(0xb9)](_0x4685e4=>_0x4685e4[_0x3c086e(0xd3)]<=_0xde96d7[_0x3c086e(0xd3)]&&_0x4685e4[_0x3c086e(0xaa)]>=_0xde96d7[_0x3c086e(0xaa)]&&_0x4685e4[_0x3c086e(0xf1)]<=_0xde96d7[_0x3c086e(0xf1)]&&_0x4685e4[_0x3c086e(0xb0)]>=_0xde96d7[_0x3c086e(0xb0)])||_0x1e2be2[0x0];}var _0x408f61;return _0xfd73ba[_0x3c086e(0xe5)]||_0x55845c;}[_0x499596(0xb2)](_0x3688dc){const _0x3310b6=_0x499596;this[_0x3310b6(0x93)][_0x3310b6(0xbc)](_0x3688dc)&&this[_0x3310b6(0xe3)][_0x3310b6(0x9d)](_0x3688dc[_0x3310b6(0xed)])&&(this[_0x3310b6(0x93)][_0x3310b6(0x9e)](_0x3688dc),this[_0x3310b6(0xe3)][_0x3310b6(0x9b)](_0x3688dc[_0x3310b6(0xed)]));}[_0x499596(0xcb)](_0x3d85c5){const _0x5d2036=_0x499596;this[_0x5d2036(0xd0)][_0x5d2036(0xf2)](_0x3d85c5),this[_0x5d2036(0xb2)](_0x3d85c5);}}function F(_0x5da71a,_0x153742){const _0x25d9fb=_0x499596;return _0x5da71a[_0x25d9fb(0xd3)]===_0x153742[_0x25d9fb(0xd3)]&&_0x5da71a[_0x25d9fb(0xaa)]===_0x153742[_0x25d9fb(0xaa)]&&_0x5da71a[_0x25d9fb(0xb0)]===_0x153742[_0x25d9fb(0xf1)];}
|
|
@@ -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
|
+
function _0x378b(_0x192a1d,_0xd1e2a4){const _0x47fe98=_0x47fe();return _0x378b=function(_0x378b30,_0x2d8b07){_0x378b30=_0x378b30-0x12b;let _0xf127ad=_0x47fe98[_0x378b30];return _0xf127ad;},_0x378b(_0x192a1d,_0xd1e2a4);}const _0x3322a9=_0x378b;function _0x47fe(){const _0x2e8200=['_selectedAnnotations','find','has','remove','focusableElements','set','isAttached','type','content','change:height','first','off','get','1286724GZwKTV','addEventListener','bind','getByView','cancel','destroy','keydown','delete','preventClosingBalloon','number','7HnauuX','narrowsidebar-detach-not-attached','attachToDom','_showBalloon','hasDomSelection','esc','removeEventListener','_hideBalloon','preventDefault','northArrowSouthWest','1210600qIUchw','detachFromDom','NarrowSidebar','getSidebarItemView','stopPropagation','9QKjkqT','element','refresh','register','addAnnotation','_annotationToNarrowView','_setSelectedAnnotations','stopListening','getOrderedSelectedAnnotations','uiUpdate','northArrowSouth','locale','_attachToContainer','blur','execute','ready','_domEmitter','_attachListeners','_integrateWithEditorAnnotations','contains','narrowSidebar','high','annotationType','listenTo','clear','create','ck-sidebar--narrow','_editorAnnotations','attach','low','defaultPositions','southArrowNorth','focus','activeAnnotation','Esc','target','keyCode','setActiveAnnotation','balloonPanelView','detach','_annotations','stop','bodyCollection','from','init','view','_detachListeners','382926hkOTQS','northArrowSouthEast','narrowsidebar-attach-already-attached','context','rearrange','mousedown','_updateBalloonPosition','3614165ZSlsDF','pluginName','add','11007126aflPmo','_refreshPositioningDebounced','4uxqeot','set:container','requires','includes','_manuallyClosedAnnotationViews','southArrowNorthEast','change:container','editors','pin','plugins','25248030ilegmL','values','annotations','isVisible','7131296QsnsLE','_refreshPositioning','EditorAnnotations','_detachFromContainer','_destroyEditorAnnotationsIntegration','southArrowNorthWest','length','isDirty','refreshPositioning','unpin','resize'];_0x47fe=function(){return _0x2e8200;};return _0x47fe();}(function(_0x5661b1,_0x5f5a7b){const _0x2289d4=_0x378b,_0x2884bd=_0x5661b1();while(!![]){try{const _0x3fbe60=-parseInt(_0x2289d4(0x19c))/0x1+-parseInt(_0x2289d4(0x156))/0x2*(-parseInt(_0x2289d4(0x1a1))/0x3)+-parseInt(_0x2289d4(0x162))/0x4*(parseInt(_0x2289d4(0x15d))/0x5)+-parseInt(_0x2289d4(0x188))/0x6*(parseInt(_0x2289d4(0x192))/0x7)+parseInt(_0x2289d4(0x170))/0x8+-parseInt(_0x2289d4(0x160))/0x9+parseInt(_0x2289d4(0x16c))/0xa;if(_0x3fbe60===_0x5f5a7b)break;else _0x2884bd['push'](_0x2884bd['shift']());}catch(_0x2c8bcd){_0x2884bd['push'](_0x2884bd['shift']());}}}(_0x47fe,0x974b7));import{ContextPlugin as _0x4b8527,Context as _0xa2fd7e}from'ckeditor5/src/core.js';import _0x23490c from'./annotationsuis.js';import _0x2c3c2b from'./sidebar.js';import _0x5ba66c from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x118645,BodyCollection as _0x423949}from'ckeditor5/src/ui.js';import{CKEditorError as _0x302b26,DomEmitterMixin as _0x22e981,keyCodes as _0x16abcc,Collection as _0x4dd02f}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x57d9ce}from'lodash-es';export default class i extends _0x4b8527{static get[_0x3322a9(0x164)](){return[_0x2c3c2b,_0x23490c];}static get[_0x3322a9(0x15e)](){const _0x2cac32=_0x3322a9;return _0x2cac32(0x19e);}constructor(_0x507d98){const _0x4ff0ef=_0x3322a9;super(_0x507d98),this[_0x4ff0ef(0x181)]=!0x1,this[_0x4ff0ef(0x166)]=new Set(),this[_0x4ff0ef(0x137)]=Object[_0x4ff0ef(0x140)](_0x22e981),this[_0x4ff0ef(0x12c)]=new Map(),this[_0x4ff0ef(0x180)](_0x4ff0ef(0x148),null),this[_0x4ff0ef(0x16e)]=null,this[_0x4ff0ef(0x17b)]=[],this[_0x4ff0ef(0x142)]=new _0x4dd02f(),this[_0x4ff0ef(0x161)]=_0x57d9ce(()=>{const _0xf0532c=_0x4ff0ef;this[_0xf0532c(0x171)]();},0xfa,{'leading':!0x1});}[_0x3322a9(0x153)](){const _0x1145a4=_0x3322a9;this[_0x1145a4(0x159)][_0x1145a4(0x16b)][_0x1145a4(0x187)](_0x23490c)[_0x1145a4(0x1a4)](_0x1145a4(0x13b),this),this[_0x1145a4(0x151)]=new _0x423949(this[_0x1145a4(0x159)][_0x1145a4(0x132)]),this[_0x1145a4(0x14d)]=new _0x118645(this[_0x1145a4(0x159)][_0x1145a4(0x132)]),this[_0x1145a4(0x151)][_0x1145a4(0x194)](),this[_0x1145a4(0x151)][_0x1145a4(0x15f)](this[_0x1145a4(0x14d)]);}[_0x3322a9(0x143)](_0x5c4cce){const _0x2d5737=_0x3322a9;this[_0x2d5737(0x16e)]=_0x5c4cce;const _0x4711dd=this[_0x2d5737(0x159)][_0x2d5737(0x16b)][_0x2d5737(0x187)](_0x2c3c2b),_0x29b5c0=this[_0x2d5737(0x14d)];if(_0x4711dd[_0x2d5737(0x14f)]=_0x5c4cce,this[_0x2d5737(0x181)])throw new _0x302b26(_0x2d5737(0x158),this);this[_0x2d5737(0x181)]=!0x0,this[_0x2d5737(0x13e)](_0x4711dd,_0x2d5737(0x163),()=>{const _0x18f41f=_0x2d5737;this[_0x18f41f(0x14e)](),this[_0x18f41f(0x13e)](_0x4711dd,_0x18f41f(0x168),_0x288112=>{const _0x360c45=_0x18f41f;_0x288112[_0x360c45(0x186)](),this[_0x360c45(0x143)](_0x5c4cce);});}),_0x4711dd[_0x2d5737(0x133)]({'viewClass':_0x2d5737(0x141),'spaceBetweenItems':0x5});const _0x456ff3=_0x18a4e9=>{const _0x4c0150=_0x2d5737,_0x46c460=new _0x5ba66c(this[_0x4c0150(0x159)][_0x4c0150(0x132)]);_0x4711dd[_0x4c0150(0x12b)](_0x18a4e9,_0x46c460),this[_0x4c0150(0x12c)][_0x4c0150(0x180)](_0x18a4e9,_0x46c460),_0x46c460[_0x4c0150(0x18a)](_0x4c0150(0x177),_0x4c0150(0x13d),_0x4c0150(0x191))['to'](_0x18a4e9[_0x4c0150(0x154)],_0x4c0150(0x177),_0x4c0150(0x182),_0x4c0150(0x176)),_0x46c460['on'](_0x4c0150(0x135),()=>{const _0x40bec7=_0x4c0150;this[_0x40bec7(0x166)][_0x40bec7(0x13f)](),_0x29b5c0[_0x40bec7(0x183)][_0x40bec7(0x185)]!==_0x18a4e9[_0x40bec7(0x154)]?(this[_0x40bec7(0x195)](_0x18a4e9),_0x18a4e9[_0x40bec7(0x154)][_0x40bec7(0x1a2)][_0x40bec7(0x147)](),this[_0x40bec7(0x14c)](_0x18a4e9)):this[_0x40bec7(0x14c)](null);});};for(const _0x565ff6 of _0x5c4cce)_0x456ff3(_0x565ff6);this[_0x2d5737(0x13e)](_0x5c4cce,_0x2d5737(0x15f),(_0x3cc05f,_0x350473)=>{_0x456ff3(_0x350473);}),this[_0x2d5737(0x13e)](_0x5c4cce,_0x2d5737(0x17e),(_0x1c5bfb,_0x40ee44,_0x3b2773)=>{const _0x4468e8=_0x2d5737;this[_0x4468e8(0x12c)][_0x4468e8(0x187)](_0x40ee44)[_0x4468e8(0x18d)](),this[_0x4468e8(0x12c)][_0x4468e8(0x18f)](_0x40ee44),_0x4711dd[_0x4468e8(0x15a)]({'removedAnnotation':_0x40ee44,'previousAnnotation':_0x5c4cce[_0x4468e8(0x187)](_0x3b2773-0x1),'nextAnnotation':_0x5c4cce[_0x4468e8(0x187)](_0x3b2773+0x1)}),_0x40ee44===this[_0x4468e8(0x148)]&&this[_0x4468e8(0x14c)](null);},{'priority':_0x2d5737(0x144)}),this[_0x2d5737(0x13e)](_0x5c4cce,_0x2d5737(0x147),(_0x15bce6,_0x2513f0)=>{const _0x167bfa=_0x2d5737;this[_0x167bfa(0x14c)](_0x2513f0);}),this[_0x2d5737(0x13e)](_0x5c4cce,_0x2d5737(0x134),()=>{const _0x1cfc62=_0x2d5737;this[_0x1cfc62(0x14c)](null);}),this[_0x2d5737(0x137)][_0x2d5737(0x13e)](document,_0x2d5737(0x18e),(_0xa2df60,_0x107c9a)=>{const _0x11458b=_0x2d5737;_0x107c9a[_0x11458b(0x14b)]===_0x16abcc[_0x11458b(0x197)]&&_0x29b5c0[_0x11458b(0x16f)]&&(this[_0x11458b(0x166)][_0x11458b(0x15f)](_0x29b5c0[_0x11458b(0x183)][_0x11458b(0x185)]),this[_0x11458b(0x199)](),_0x107c9a[_0x11458b(0x1a0)](),_0x107c9a[_0x11458b(0x19a)]());}),this[_0x2d5737(0x137)][_0x2d5737(0x13e)](document,_0x2d5737(0x15b),(_0x46cd5e,_0x156964)=>{const _0x53a79a=_0x2d5737,_0x230d98=_0x156964[_0x53a79a(0x14a)];_0x29b5c0[_0x53a79a(0x16f)]&&_0x29b5c0[_0x53a79a(0x1a2)][_0x53a79a(0x13a)](_0x230d98)||_0x4711dd[_0x53a79a(0x154)][_0x53a79a(0x1a2)][_0x53a79a(0x13a)](_0x230d98)||_0x46cd5e[_0x53a79a(0x190)]||this[_0x53a79a(0x148)]&&this[_0x53a79a(0x148)][_0x53a79a(0x17f)][_0x53a79a(0x17c)](_0x549d5e=>_0x549d5e[_0x53a79a(0x13a)](_0x230d98))||(this[_0x53a79a(0x166)][_0x53a79a(0x13f)](),this[_0x53a79a(0x199)](),this[_0x53a79a(0x14c)](null));});const _0xd62159=this[_0x2d5737(0x159)]instanceof _0xa2fd7e?this[_0x2d5737(0x159)][_0x2d5737(0x169)]:new _0x4dd02f([this[_0x2d5737(0x159)]]);for(const _0x33bc68 of _0xd62159)this[_0x2d5737(0x139)](_0x33bc68);this[_0x2d5737(0x13e)](_0xd62159,_0x2d5737(0x15f),(_0xe7500f,_0x500c77)=>{const _0x4f5dba=_0x2d5737;this[_0x4f5dba(0x13e)](_0x500c77,_0x4f5dba(0x136),()=>{const _0x11bce3=_0x4f5dba;this[_0x11bce3(0x139)](_0x500c77);});}),this[_0x2d5737(0x13e)](_0xd62159,_0x2d5737(0x17e),(_0xb61fe,_0x1d6252)=>{const _0x30e01b=_0x2d5737;_0x1d6252[_0x30e01b(0x16b)][_0x30e01b(0x17d)](_0x30e01b(0x172))&&this[_0x30e01b(0x174)](_0x1d6252[_0x30e01b(0x16b)][_0x30e01b(0x187)](_0x30e01b(0x172)));}),window[_0x2d5737(0x189)](_0x2d5737(0x17a),this[_0x2d5737(0x161)]),this[_0x2d5737(0x171)]();}[_0x3322a9(0x14c)](_0x4dbd4d){const _0x4fb0a8=_0x3322a9;if(_0x4dbd4d===this[_0x4fb0a8(0x148)])return;const _0xeca75a=this[_0x4fb0a8(0x159)][_0x4fb0a8(0x16b)][_0x4fb0a8(0x187)](_0x2c3c2b);if(_0xeca75a[_0x4fb0a8(0x1a3)]({'blurredAnnotation':this[_0x4fb0a8(0x148)],'activatedAnnotation':_0x4dbd4d,'disableAnimationOnActivatedAnnotation':!0x0}),_0x4dbd4d)_0xeca75a[_0x4fb0a8(0x19f)](_0x4dbd4d)?this[_0x4fb0a8(0x195)](_0x4dbd4d):this[_0x4fb0a8(0x199)]();else this[_0x4fb0a8(0x199)]();this[_0x4fb0a8(0x148)]=_0x4dbd4d;}[_0x3322a9(0x14e)](){const _0x4dd8dc=_0x3322a9;if(!this[_0x4dd8dc(0x181)])throw new _0x302b26(_0x4dd8dc(0x193),this);this[_0x4dd8dc(0x14c)](null);const _0x1d032d=this[_0x4dd8dc(0x159)][_0x4dd8dc(0x16b)][_0x4dd8dc(0x187)](_0x2c3c2b);this[_0x4dd8dc(0x199)](),Array[_0x4dd8dc(0x152)](this[_0x4dd8dc(0x12c)][_0x4dd8dc(0x16d)](),_0x1e6537=>_0x1e6537[_0x4dd8dc(0x18d)]()),this[_0x4dd8dc(0x12c)][_0x4dd8dc(0x13f)](),_0x1d032d[_0x4dd8dc(0x173)](this[_0x4dd8dc(0x16e)]),this[_0x4dd8dc(0x12e)](),this[_0x4dd8dc(0x137)][_0x4dd8dc(0x12e)](),this[_0x4dd8dc(0x159)]instanceof _0xa2fd7e&&this[_0x4dd8dc(0x12e)](this[_0x4dd8dc(0x159)][_0x4dd8dc(0x169)]);for(const _0x438af5 of Array[_0x4dd8dc(0x152)](this[_0x4dd8dc(0x142)]))this[_0x4dd8dc(0x174)](_0x438af5);window[_0x4dd8dc(0x198)](_0x4dd8dc(0x17a),this[_0x4dd8dc(0x161)]),this[_0x4dd8dc(0x161)][_0x4dd8dc(0x18c)](),this[_0x4dd8dc(0x17b)]=[],this[_0x4dd8dc(0x181)]=!0x1,this[_0x4dd8dc(0x16e)]=null;}[_0x3322a9(0x18d)](){const _0x1f4177=_0x3322a9;this[_0x1f4177(0x181)]&&this[_0x1f4177(0x14e)](),this[_0x1f4177(0x151)][_0x1f4177(0x19d)]();}[_0x3322a9(0x139)](_0x2ad018){const _0x24d5e9=_0x3322a9;if(!_0x2ad018[_0x24d5e9(0x16b)][_0x24d5e9(0x17d)](_0x24d5e9(0x172)))return;const _0x24880b=_0x2ad018[_0x24d5e9(0x16b)][_0x24d5e9(0x187)](_0x24d5e9(0x172)),_0x397471=this[_0x24d5e9(0x159)][_0x24d5e9(0x16b)][_0x24d5e9(0x187)](_0x2c3c2b),_0x4e8655=this[_0x24d5e9(0x16e)],_0x28e3f0=this[_0x24d5e9(0x14d)],_0x4db2df=()=>{const _0x578579=_0x24d5e9,_0x366b05=_0x24880b[_0x578579(0x12f)]({'annotations':this[_0x578579(0x16e)],'activeAnnotation':this[_0x578579(0x148)]});this[_0x578579(0x12d)](_0x366b05),this[_0x578579(0x14c)](_0x366b05[0x0]||null);};this[_0x24d5e9(0x13e)](_0x24880b,_0x24d5e9(0x1a3),_0x4db2df),this[_0x24d5e9(0x13e)](_0x24880b,_0x24d5e9(0x134),(_0x5c7c46,{isAnnotationTracked:_0x3b2da2})=>{const _0x4da784=_0x24d5e9;this[_0x4da784(0x148)]&&_0x3b2da2(this[_0x4da784(0x148)])&&(this[_0x4da784(0x12d)]([]),this[_0x4da784(0x14c)](null));}),this[_0x24d5e9(0x13e)](_0x24880b,_0x24d5e9(0x130),()=>{const _0x2591a8=_0x24d5e9;this[_0x2591a8(0x161)]();}),this[_0x24d5e9(0x13e)](_0x4e8655,_0x24d5e9(0x134),_0x21dc31=>{const _0x2bc68e=_0x24d5e9;_0x24880b[_0x2bc68e(0x196)]()&&_0x21dc31[_0x2bc68e(0x150)]();},{'priority':_0x24d5e9(0x13c)}),this[_0x24d5e9(0x13e)](this[_0x24d5e9(0x137)],_0x24d5e9(0x15b),(_0x227cda,_0x491236)=>{const _0x51d34c=_0x24d5e9,_0x7f85fa=_0x491236[_0x51d34c(0x14a)];_0x28e3f0[_0x51d34c(0x16f)]&&_0x28e3f0[_0x51d34c(0x1a2)][_0x51d34c(0x13a)](_0x7f85fa)||_0x397471[_0x51d34c(0x154)][_0x51d34c(0x1a2)][_0x51d34c(0x13a)](_0x7f85fa)||this[_0x51d34c(0x148)]&&_0x24880b[_0x51d34c(0x196)]()&&(_0x4db2df(),_0x227cda[_0x51d34c(0x190)]=!0x0);},{'priority':_0x24d5e9(0x13c)}),this[_0x24d5e9(0x142)][_0x24d5e9(0x15f)](_0x24880b);}[_0x3322a9(0x174)](_0x3fc88b){const _0x5c71d5=_0x3322a9;_0x3fc88b&&(this[_0x5c71d5(0x12e)](_0x3fc88b),this[_0x5c71d5(0x142)][_0x5c71d5(0x17e)](_0x3fc88b));}[_0x3322a9(0x12d)](_0x4d3795){const _0x89d863=_0x3322a9;for(const _0x3eea1a of this[_0x89d863(0x17b)])_0x4d3795[_0x89d863(0x165)](_0x3eea1a)||this[_0x89d863(0x166)][_0x89d863(0x18f)](_0x3eea1a[_0x89d863(0x154)]);this[_0x89d863(0x17b)]=_0x4d3795;}[_0x3322a9(0x171)](){const _0x292ab3=_0x3322a9,_0x597052=this[_0x292ab3(0x14d)];this[_0x292ab3(0x16e)][_0x292ab3(0x178)](),_0x597052[_0x292ab3(0x16f)]&&this[_0x292ab3(0x15c)]();}[_0x3322a9(0x195)](_0x3a494a){const _0x4adba2=_0x3322a9;if(this[_0x4adba2(0x166)][_0x4adba2(0x17d)](_0x3a494a[_0x4adba2(0x154)]))return;const _0x1e2f0e=this[_0x4adba2(0x14d)][_0x4adba2(0x183)][_0x4adba2(0x185)];_0x1e2f0e!==_0x3a494a[_0x4adba2(0x154)]?(_0x1e2f0e&&this[_0x4adba2(0x155)](_0x1e2f0e),this[_0x4adba2(0x138)](_0x3a494a[_0x4adba2(0x154)]),this[_0x4adba2(0x14d)][_0x4adba2(0x183)][_0x4adba2(0x13f)](),this[_0x4adba2(0x14d)][_0x4adba2(0x183)][_0x4adba2(0x15f)](_0x3a494a[_0x4adba2(0x154)]),this[_0x4adba2(0x15c)]()):this[_0x4adba2(0x15c)]();}[_0x3322a9(0x15c)](){const _0x2c2a63=_0x3322a9,_0x65197d=this[_0x2c2a63(0x14d)][_0x2c2a63(0x183)][_0x2c2a63(0x185)],_0x1c914d=_0x65197d&&this[_0x2c2a63(0x16e)][_0x2c2a63(0x18b)](_0x65197d);if(!_0x1c914d||!this[_0x2c2a63(0x12c)][_0x2c2a63(0x17d)](_0x1c914d))return;const _0x3e8cdd=this[_0x2c2a63(0x12c)][_0x2c2a63(0x187)](_0x1c914d)[_0x2c2a63(0x1a2)],_0x1e6903=(function(){const _0x241614=_0x2c2a63,_0x16da83=_0x118645[_0x241614(0x145)];return[_0x16da83[_0x241614(0x167)],_0x16da83[_0x241614(0x157)],_0x16da83[_0x241614(0x146)],_0x16da83[_0x241614(0x131)],_0x16da83[_0x241614(0x175)],_0x16da83[_0x241614(0x19b)]];}());this[_0x2c2a63(0x14d)][_0x2c2a63(0x16a)]({'target':_0x3e8cdd,'positions':_0x1e6903});}[_0x3322a9(0x199)](){const _0xefaf8=_0x3322a9,_0x142727=this[_0xefaf8(0x14d)],_0x591272=_0x142727[_0xefaf8(0x183)][_0xefaf8(0x185)];_0x591272&&(this[_0xefaf8(0x155)](_0x591272),_0x142727[_0xefaf8(0x179)](),_0x142727[_0xefaf8(0x183)][_0xefaf8(0x13f)]());}[_0x3322a9(0x138)](_0x468d4f){const _0x5077e2=_0x3322a9;this[_0x5077e2(0x13e)](_0x468d4f,_0x5077e2(0x184),()=>this[_0x5077e2(0x15c)]()),this[_0x5077e2(0x13e)](_0x468d4f,_0x5077e2(0x149),(_0xfe0819,_0x25db9f)=>{const _0x23b249=_0x5077e2;this[_0x23b249(0x166)][_0x23b249(0x15f)](_0x468d4f),this[_0x23b249(0x199)](),_0x25db9f();});}[_0x3322a9(0x155)](_0x225448){const _0x590965=_0x3322a9;this[_0x590965(0x12e)](_0x225448);}}
|
|
@@ -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 _0x3bd7(_0x3003be,_0x5b34b9){const _0x24bae5=_0x24ba();return _0x3bd7=function(_0x3bd788,_0x13e528){_0x3bd788=_0x3bd788-0xe3;let _0x2b733f=_0x24bae5[_0x3bd788];return _0x2b733f;},_0x3bd7(_0x3003be,_0x5b34b9);}const _0x58e21e=_0x3bd7;(function(_0x1de7f1,_0xdbbfb2){const _0x30547e=_0x3bd7,_0x2b3a34=_0x1de7f1();while(!![]){try{const _0x47899f=parseInt(_0x30547e(0xe5))/0x1+-parseInt(_0x30547e(0x105))/0x2*(-parseInt(_0x30547e(0x11b))/0x3)+-parseInt(_0x30547e(0x11f))/0x4*(-parseInt(_0x30547e(0xee))/0x5)+parseInt(_0x30547e(0xf7))/0x6*(-parseInt(_0x30547e(0x106))/0x7)+parseInt(_0x30547e(0xfe))/0x8*(parseInt(_0x30547e(0xe7))/0x9)+-parseInt(_0x30547e(0x112))/0xa+-parseInt(_0x30547e(0x12d))/0xb*(parseInt(_0x30547e(0x13a))/0xc);if(_0x47899f===_0xdbbfb2)break;else _0x2b3a34['push'](_0x2b3a34['shift']());}catch(_0x287edd){_0x2b3a34['push'](_0x2b3a34['shift']());}}}(_0x24ba,0xb4514));import{ContextPlugin as _0x58f321}from'ckeditor5/src/core.js';import{Rect as _0x48cf1f,CKEditorError as _0xc05680}from'ckeditor5/src/utils.js';import _0x49d16a from'./view/sidebarview.js';import _0x61f5a from'./view/sidebaritemview.js';export default class z extends _0x58f321{static get[_0x58e21e(0xe3)](){const _0x1a5031=_0x58e21e;return _0x1a5031(0x136);}constructor(_0x2ee52c){const _0x2c815a=_0x58e21e;super(_0x2ee52c),this[_0x2c815a(0x12f)](_0x2c815a(0xeb),void 0x0),this[_0x2c815a(0x10d)]=this[_0x2c815a(0xf1)](),this[_0x2c815a(0x12f)](_0x2c815a(0x115),null),this[_0x2c815a(0x127)]=0x19,this[_0x2c815a(0x126)]=new Map(),this[_0x2c815a(0x113)]=new Map(),this[_0x2c815a(0xf9)][_0x2c815a(0x134)][_0x2c815a(0xf8)](_0x2c815a(0x119),!0x1),this[_0x2c815a(0x109)]=null,this[_0x2c815a(0x139)]=null,this[_0x2c815a(0x138)]=[];}[_0x58e21e(0xea)](){const _0xee3df3=_0x58e21e,_0x1e4f35=this[_0xee3df3(0xf9)][_0xee3df3(0x134)][_0xee3df3(0x120)](_0xee3df3(0xe6));_0x1e4f35&&this[_0xee3df3(0x13b)](_0x1e4f35);}[_0x58e21e(0x13b)](_0x19101f){const _0x247b48=_0x58e21e;if(!y(_0x19101f))throw new _0xc05680(_0x247b48(0x12b));this[_0x247b48(0x115)]=_0x19101f;}[_0x58e21e(0x100)]({viewClass:_0x5b76a1='',spaceBetweenItems:_0x220e2f=0x19}={}){const _0x11330f=_0x58e21e;if(!y(this[_0x11330f(0x115)]))throw new _0xc05680(_0x11330f(0xfc),this);this[_0x11330f(0x115)][_0x11330f(0x10c)](this[_0x11330f(0x10d)][_0x11330f(0xed)]),this[_0x11330f(0x10d)][_0x11330f(0x11d)]=_0x5b76a1,this[_0x11330f(0x127)]=_0x220e2f;}[_0x58e21e(0x130)]({removedAnnotation:_0x24eded,previousAnnotation:_0x3477c5,nextAnnotation:_0x44a87e}){const _0x5decec=_0x58e21e,_0x8eb11e=this[_0x5decec(0x129)](_0x24eded);this[_0x5decec(0x10d)][_0x5decec(0x12e)][_0x5decec(0x117)](_0x8eb11e),this[_0x5decec(0x137)](_0x24eded),_0x3477c5&&this[_0x5decec(0x11e)](this[_0x5decec(0x129)](_0x3477c5)),_0x44a87e&&this[_0x5decec(0x11e)](this[_0x5decec(0x129)](_0x44a87e)),this[_0x5decec(0x132)]();}[_0x58e21e(0x131)]({blurredAnnotation:_0x506433,activatedAnnotation:_0x4e7d9e,disableAnimationOnActivatedAnnotation:_0x4e3f6a}){const _0x12faae=_0x58e21e;if(this[_0x12faae(0x139)]=_0x4e7d9e,_0x506433){_0x506433[_0x12faae(0x12c)]=!0x1;const _0x45728a=this[_0x12faae(0x129)](_0x506433);_0x45728a&&_0x4e3f6a&&(_0x45728a[_0x12faae(0xf0)]=!0x1);}if(_0x4e7d9e){const _0x40c098=this[_0x12faae(0x129)](_0x4e7d9e);_0x40c098&&(_0x4e7d9e[_0x12faae(0x12c)]=!0x0,_0x4e3f6a&&(_0x40c098[_0x12faae(0xf0)]=!0x0,_0x40c098[_0x12faae(0xe9)]+=0x1),this[_0x12faae(0x11e)](_0x40c098));}}[_0x58e21e(0xf4)](_0x2a5357){const _0x52637a=_0x58e21e;if(this[_0x52637a(0x10d)][_0x52637a(0xed)][_0x52637a(0x117)](),_0x2a5357){for(const _0x23d93d of _0x2a5357)this[_0x52637a(0x137)](_0x23d93d);}this[_0x52637a(0x10d)][_0x52637a(0x12e)][_0x52637a(0xf5)](),this[_0x52637a(0x10d)][_0x52637a(0x11d)]='',this[_0x52637a(0xeb)]=null;}[_0x58e21e(0x135)](_0x471a5d,_0x42e9d7){const _0x19ca48=_0x58e21e;_0x42e9d7||(_0x42e9d7=_0x471a5d[_0x19ca48(0x10d)]);const _0x291a2d=new _0x61f5a(this[_0x19ca48(0xf9)][_0x19ca48(0x13c)]);this[_0x19ca48(0x126)][_0x19ca48(0x12f)](_0x291a2d,_0x471a5d),this[_0x19ca48(0x113)][_0x19ca48(0x12f)](_0x471a5d,_0x291a2d),_0x291a2d[_0x19ca48(0x107)][_0x19ca48(0x108)](_0x42e9d7),this[_0x19ca48(0x10b)](_0x471a5d[_0x19ca48(0x10d)],_0x19ca48(0x118),(_0x2297ef,_0x40c025,_0x11d696)=>{const _0x46e642=_0x19ca48,_0x112284=this[_0x46e642(0xf2)](_0x471a5d,_0x11d696);_0x291a2d[_0x46e642(0x122)]!=_0x112284&&(_0x291a2d[_0x46e642(0x122)]=_0x112284,this[_0x46e642(0xef)](_0x291a2d,_0x112284));}),this[_0x19ca48(0x10b)](_0x291a2d,_0x19ca48(0x125),()=>{const _0x4b3ddb=_0x19ca48;this[_0x4b3ddb(0xfd)](_0x291a2d,_0x4b3ddb(0xe9));}),this[_0x19ca48(0x10b)](_0x291a2d,_0x19ca48(0x11c),()=>{const _0x3a362a=_0x19ca48;this[_0x3a362a(0xfd)](_0x291a2d,_0x3a362a(0x101));}),this[_0x19ca48(0x11e)](_0x291a2d);const _0x3e148f=this[_0x19ca48(0xfa)](_0x291a2d);if(_0x3e148f)this[_0x19ca48(0x114)](_0x3e148f,_0x291a2d)||this[_0x19ca48(0x11e)](_0x291a2d);else this[_0x19ca48(0x11e)](_0x291a2d);return this[_0x19ca48(0x132)](),this[_0x19ca48(0x10d)][_0x19ca48(0x12e)][_0x19ca48(0x108)](_0x291a2d),_0x291a2d;}[_0x58e21e(0x133)](_0xe2ba36){const _0x5f241a=_0x58e21e;if(!_0xe2ba36[_0x5f241a(0x107)][_0x5f241a(0x12a)])return;const _0x534abc=this[_0x5f241a(0xfa)](_0xe2ba36);if(!_0x534abc)return;const _0x1877e3=this[_0x5f241a(0x126)][_0x5f241a(0x120)](_0x534abc),_0x37264e=this[_0x5f241a(0x139)];_0x37264e&&_0x37264e===_0x1877e3?this[_0x5f241a(0x114)](_0x534abc,_0xe2ba36):this[_0x5f241a(0x10a)](_0xe2ba36,_0x534abc);}[_0x58e21e(0x128)](_0x392e8e){const _0x93b792=_0x58e21e;if(!_0x392e8e[_0x93b792(0x107)][_0x93b792(0x12a)])return;const _0x5a8861=this[_0x93b792(0x13d)](_0x392e8e);if(!_0x5a8861)return;const _0x4f2b96=this[_0x93b792(0x126)][_0x93b792(0x120)](_0x5a8861),_0x187ef2=this[_0x93b792(0xf9)][_0x93b792(0x134)][_0x93b792(0x120)](_0x93b792(0x119)),_0x2ddde4=this[_0x93b792(0x139)];_0x2ddde4&&_0x2ddde4===_0x4f2b96&&_0x187ef2?(this[_0x93b792(0x10a)](_0x5a8861,_0x392e8e),this[_0x93b792(0x114)](_0x392e8e,_0x5a8861)):_0x2ddde4&&_0x2ddde4===_0x4f2b96?this[_0x93b792(0x10a)](_0x5a8861,_0x392e8e):this[_0x93b792(0x114)](_0x392e8e,_0x5a8861);}[_0x58e21e(0xfd)](_0x16a39e,_0x59c73a){const _0xcf3029=_0x58e21e;0x0===this[_0xcf3029(0x138)][_0xcf3029(0x12a)]&&setTimeout(()=>{const _0x4e90f0=_0xcf3029;for(const {sidebarItemView:_0x364f94,changedProp:_0x43d738}of this[_0x4e90f0(0x138)])_0x4e90f0(0xe9)===_0x43d738?this[_0x4e90f0(0x133)](_0x364f94):this[_0x4e90f0(0x128)](_0x364f94);this[_0x4e90f0(0x138)]=[];},0xa),this[_0xcf3029(0x138)][_0xcf3029(0x121)]({'sidebarItemView':_0x16a39e,'changedProp':_0x59c73a});}[_0x58e21e(0x129)](_0x3b64dc){const _0x439547=_0x58e21e;return this[_0x439547(0x113)][_0x439547(0x120)](_0x3b64dc);}[_0x58e21e(0x110)](){const _0x84eb72=_0x58e21e;this[_0x84eb72(0x116)](),this[_0x84eb72(0x10d)][_0x84eb72(0x110)]();}[_0x58e21e(0x137)](_0x5969af){const _0x2463b4=_0x58e21e,_0x2b6b87=this[_0x2463b4(0x129)](_0x5969af);this[_0x2463b4(0x116)](_0x2b6b87),this[_0x2463b4(0x116)](_0x5969af[_0x2463b4(0x10d)]),_0x2b6b87[_0x2463b4(0x110)](),this[_0x2463b4(0x113)][_0x2463b4(0x10e)](_0x5969af),this[_0x2463b4(0x126)][_0x2463b4(0x10e)](_0x2b6b87);}[_0x58e21e(0xf1)](){const _0x541974=_0x58e21e,_0x219b80=new _0x49d16a(this[_0x541974(0xf9)][_0x541974(0x13c)]);return _0x219b80[_0x541974(0x10f)](),this['on'](_0x541974(0xf6),(_0x282820,_0x57cce9,_0x178278,_0x47434f)=>{const _0x4bf6c9=_0x541974;_0x47434f&&_0x219b80[_0x4bf6c9(0xe8)](_0x4bf6c9(0x104)),_0x178278?_0x219b80[_0x4bf6c9(0xe4)](_0x4bf6c9(0x104))['to'](_0x178278,_0x4bf6c9(0x101)):_0x219b80[_0x4bf6c9(0x104)]=null;}),_0x219b80;}[_0x58e21e(0x132)](){const _0x2d5d84=_0x58e21e;var _0x15909f;this[_0x2d5d84(0xeb)]=(null===(_0x15909f=this[_0x2d5d84(0x109)])||void 0x0===_0x15909f?void 0x0:_0x15909f[_0x2d5d84(0x111)])?this[_0x2d5d84(0x129)](this[_0x2d5d84(0x109)][_0x2d5d84(0x111)]):null;}[_0x58e21e(0xfa)](_0x837a47){const _0x5115a8=_0x58e21e;var _0x4c7c30;const _0x11aa33=this[_0x5115a8(0x126)][_0x5115a8(0x120)](_0x837a47),_0x21d89a=_0x11aa33&&(null===(_0x4c7c30=this[_0x5115a8(0x109)])||void 0x0===_0x4c7c30?void 0x0:_0x4c7c30[_0x5115a8(0x120)](this[_0x5115a8(0x109)][_0x5115a8(0xec)](_0x11aa33)-0x1));return _0x21d89a&&this[_0x5115a8(0x129)](_0x21d89a)||null;}[_0x58e21e(0x13d)](_0x4346c5){const _0x544931=_0x58e21e;var _0x4a7a38;const _0x1110fd=this[_0x544931(0x126)][_0x544931(0x120)](_0x4346c5),_0x1c12f4=_0x1110fd&&(null===(_0x4a7a38=this[_0x544931(0x109)])||void 0x0===_0x4a7a38?void 0x0:_0x4a7a38[_0x544931(0x120)](this[_0x544931(0x109)][_0x544931(0xec)](_0x1110fd)+0x1));return _0x1c12f4&&this[_0x544931(0x129)](_0x1c12f4)||null;}[_0x58e21e(0x10a)](_0x5cc00b,_0xa07f62){const _0x4674c4=_0x58e21e;_0x5cc00b[_0x4674c4(0x102)]();const _0x3a996c=M(_0xa07f62[_0x4674c4(0x101)]+this[_0x4674c4(0x127)],_0x5cc00b[_0x4674c4(0xe9)]);return!!_0x3a996c&&(this[_0x4674c4(0xef)](_0xa07f62,_0xa07f62[_0x4674c4(0xe9)]-_0x3a996c),!0x0);}[_0x58e21e(0x114)](_0x141857,_0x3dd343){const _0x818d30=_0x58e21e;_0x141857[_0x818d30(0x102)]();const _0x102420=M(_0x141857[_0x818d30(0x101)]+this[_0x818d30(0x127)],_0x3dd343[_0x818d30(0xe9)]);return!!_0x102420&&(this[_0x818d30(0xef)](_0x3dd343,_0x3dd343[_0x818d30(0xe9)]+_0x102420,!0x1),!0x0);}[_0x58e21e(0x11e)](_0x1eec9a){const _0x1caab0=_0x58e21e,_0x29c661=this[_0x1caab0(0x126)][_0x1caab0(0x120)](_0x1eec9a);if(!_0x29c661||!_0x29c661[_0x1caab0(0xfb)]||!_0x29c661[_0x1caab0(0xf3)])return;const _0x215014=this[_0x1caab0(0xf2)](_0x29c661,_0x29c661[_0x1caab0(0xf3)]);this[_0x1caab0(0xef)](_0x1eec9a,_0x215014);}[_0x58e21e(0xf2)](_0x22d097,_0x240d5f){const _0x18f76c=_0x58e21e;if(null===_0x240d5f)return 0x0;if(_0x22d097[_0x18f76c(0xfb)]instanceof _0x48cf1f)return _0x240d5f[_0x18f76c(0xe9)];{const _0xebf737=new _0x48cf1f(this[_0x18f76c(0x10d)][_0x18f76c(0xed)])[_0x18f76c(0xe9)];return _0x240d5f[_0x18f76c(0xe9)]-_0xebf737;}}[_0x58e21e(0xef)](_0x325d5c,_0x434491,_0x46b2e1=this[_0x58e21e(0xf9)][_0x58e21e(0x134)][_0x58e21e(0x120)](_0x58e21e(0x119))){const _0x121aa5=_0x58e21e;_0x46b2e1&&(_0x434491=Math[_0x121aa5(0x124)](_0x434491,this[_0x121aa5(0x103)](_0x325d5c))),_0x325d5c[_0x121aa5(0xe9)]=_0x434491;}[_0x58e21e(0x103)](_0x2c26df){const _0x54ce54=_0x58e21e;let _0x1eaeb2=this[_0x54ce54(0xfa)](_0x2c26df),_0x5de17a=0x0;for(;_0x1eaeb2;)_0x1eaeb2[_0x54ce54(0x102)](),_0x5de17a+=this[_0x54ce54(0x127)]+_0x1eaeb2[_0x54ce54(0xff)],_0x1eaeb2=this[_0x54ce54(0xfa)](_0x1eaeb2);return _0x5de17a;}}function _0x24ba(){const _0x1fc8f3=['_setItemTop','isAnimationDisabled','_createSidebarView','_getTargetTop','targetRect','_detachFromContainer','clear','change:_lastItem','58776oryokT','define','context','_getItemBefore','target','sidebar-attachtocontainer-missing-container','_recalculate','56gfinhO','height','_attachToContainer','bottom','updateHeight','_getMaxAvailableTop','minHeight','352426URdIeG','791AMDSwD','content','add','_annotations','_alignBeforeItem','listenTo','appendChild','view','delete','render','destroy','last','8428850JpXOWC','_annotationToSidebarItemView','_alignAfterItem','container','stopListening','remove','change:targetRect','sidebar.preventScrollOutOfView','nodeType','3LzhVrd','change:bottom','class','_alignToTargetRect','12788ZGSdit','get','push','_targetTop','object','max','change:top','_sidebarItemViewToAnnotation','_spaceBetweenItems','_alignForBottomChange','getSidebarItemView','length','sidebar-setcontainer-invalid-element','isActive','2426369FikLAn','list','set','rearrange','refresh','_updateLastItem','_alignForTopChange','config','addAnnotation','Sidebar','_destroySidebarItemView','_recalculateBuffer','_activeAnnotation','72pGLGos','setContainer','locale','_getItemAfter','pluginName','bind','1474703OafWmW','sidebar.container','1835289FYavYD','unbind','top','init','_lastItem','getIndex','element','1460wqrFsD'];_0x24ba=function(){return _0x1fc8f3;};return _0x24ba();}function M(_0x3f19e9,_0x29c02e){const _0x12df7a=_0x58e21e;return Math[_0x12df7a(0x124)](_0x3f19e9-_0x29c02e,0x0);}function y(_0x2a81d5){const _0x567d2c=_0x58e21e;return null!==_0x2a81d5&&_0x567d2c(0x123)==typeof _0x2a81d5&&0x1===_0x2a81d5[_0x567d2c(0x11a)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
(function(_0x3bf915,_0x14b898){const _0x2edfc1=_0x15d8,_0x541e78=_0x3bf915();while(!![]){try{const _0x1d4566=parseInt(_0x2edfc1(0xb9))/0x1+-parseInt(_0x2edfc1(0xbb))/0x2+parseInt(_0x2edfc1(0xc2))/0x3*(-parseInt(_0x2edfc1(0xc4))/0x4)+parseInt(_0x2edfc1(0xb3))/0x5*(-parseInt(_0x2edfc1(0xac))/0x6)+-parseInt(_0x2edfc1(0xb2))/0x7*(parseInt(_0x2edfc1(0xbc))/0x8)+-parseInt(_0x2edfc1(0xb8))/0x9+parseInt(_0x2edfc1(0xbe))/0xa;if(_0x1d4566===_0x14b898)break;else _0x541e78['push'](_0x541e78['shift']());}catch(_0x181731){_0x541e78['push'](_0x541e78['shift']());}}}(_0x4ce3,0xdf97f));function _0x4ce3(){const _0x56469b=['40482690tLMoxe','bind','span','number','618537gwvfyX','bindTemplate','16VvmxDD','ck-annotation-counter__badge--edit-mode','add','children','set','extendTemplate','6UUBeQR','ck-annotation-counter__badge','icon','counterView','setTemplate','annotationType','63602yvrKpK','4889145mJFqzM','isDirty','ck-annotation-counter','ck-annotation-counter__badge--','_badge','3414834yecEVU','1291281SjOeEU','...','2975204gpqHLe','664qjkfyp','toString'];_0x4ce3=function(){return _0x56469b;};return _0x4ce3();}function _0x15d8(_0x351206,_0xf684d9){const _0x4ce388=_0x4ce3();return _0x15d8=function(_0x15d8eb,_0x53ad6d){_0x15d8eb=_0x15d8eb-0xa9;let _0x4cb518=_0x4ce388[_0x15d8eb];return _0x4cb518;},_0x15d8(_0x351206,_0xf684d9);}import{ButtonView as _0x6f682b,View as _0x63d930}from'ckeditor5/src/ui.js';import _0x4c6a7f from'../../../theme/icons/add-comment.svg';export default class D extends _0x6f682b{constructor(_0x4e3e01){const _0x3ad841=_0x15d8;super(_0x4e3e01);const _0x3f40ab=this[_0x3ad841(0xc3)];this[_0x3ad841(0xaa)](_0x3ad841(0xb4),!0x1),this[_0x3ad841(0xaa)](_0x3ad841(0xc1),0x0),this[_0x3ad841(0xbf)](_0x3ad841(0xb7))['to'](this,_0x3ad841(0xb4),this,_0x3ad841(0xc1),(_0x2dc97f,_0x5bdf92)=>_0x2dc97f?_0x3ad841(0xba):_0x5bdf92[_0x3ad841(0xbd)]()),this[_0x3ad841(0xaa)](_0x3ad841(0xb1),''),this[_0x3ad841(0xae)]=_0x4c6a7f,this[_0x3ad841(0xab)]({'attributes':{'class':[_0x3ad841(0xb5)]}}),this[_0x3ad841(0xaf)]=new _0x63d930(),this[_0x3ad841(0xaf)][_0x3ad841(0xb0)]({'tag':_0x3ad841(0xc0),'attributes':{'class':[_0x3ad841(0xad),_0x3f40ab['to'](_0x3ad841(0xb1),_0x252823=>_0x3ad841(0xb6)+_0x252823),_0x3f40ab['if'](_0x3ad841(0xb4),_0x3ad841(0xc5))]},'children':[{'text':_0x3f40ab['to'](_0x3ad841(0xb7))}]}),this[_0x3ad841(0xa9)][_0x3ad841(0xc6)](this[_0x3ad841(0xaf)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x248af9=_0x5c76;(function(_0x181bcf,_0x2c4576){const _0x25099a=_0x5c76,_0x3bd233=_0x181bcf();while(!![]){try{const _0x2a39ab=-parseInt(_0x25099a(0x11c))/0x1+parseInt(_0x25099a(0x13e))/0x2*(parseInt(_0x25099a(0x11a))/0x3)+parseInt(_0x25099a(0x136))/0x4+-parseInt(_0x25099a(0x13f))/0x5*(-parseInt(_0x25099a(0x119))/0x6)+-parseInt(_0x25099a(0x12b))/0x7+parseInt(_0x25099a(0x141))/0x8*(-parseInt(_0x25099a(0x142))/0x9)+-parseInt(_0x25099a(0x122))/0xa*(parseInt(_0x25099a(0x13a))/0xb);if(_0x2a39ab===_0x2c4576)break;else _0x3bd233['push'](_0x3bd233['shift']());}catch(_0x529291){_0x3bd233['push'](_0x3bd233['shift']());}}}(_0x39cc,0x904c2));function _0x5c76(_0x4b8867,_0x1597e9){const _0x39cc31=_0x39cc();return _0x5c76=function(_0x5c7674,_0x1c54a1){_0x5c7674=_0x5c7674-0x119;let _0x5c8120=_0x39cc31[_0x5c7674];return _0x5c8120;},_0x5c76(_0x4b8867,_0x1597e9);}import{View as _0x53fde5}from'ckeditor5/src/ui.js';import{FocusTracker as _0x151c18,KeystrokeHandler as _0x324eab,uid as _0x1abea0}from'ckeditor5/src/utils.js';import _0x31c325 from'../../utils/createmutationobserver.js';function _0x39cc(){const _0x2d3463=['398391evyNap','mainView','ck-annotation-wrapper','content','_updateHeight','height','110eckOmQ','detach','type','ck-rounded-corners','add','set','length','element','render','2544983zrFhKv','_mutationObserver','targetRect','isDirty','setTemplate','clear','bindTemplate','attach','createCollection','Esc','destroy','1058796SeCMYV','focus','keystrokes','focusTracker','126115JBVSCj','clientHeight','div','listenTo','1072fLYtLV','10gthQBi','ck-annotation-wrapper--active','1536BfwxqK','999bUVCxr','fire','290190IWkxSt','6375IYdaML','isActive'];_0x39cc=function(){return _0x2d3463;};return _0x39cc();}import'../../../theme/annotation.css';export default class V extends _0x53fde5{constructor(_0x533f23,_0x5036fb){const _0x362968=_0x5c76;super(_0x533f23),this['id']=_0x1abea0(),this[_0x362968(0x139)]=new _0x151c18(),this[_0x362968(0x138)]=new _0x324eab(),this[_0x362968(0x138)][_0x362968(0x127)](_0x362968(0x134),(_0x48ed7f,_0x41f502)=>this[_0x362968(0x143)](_0x362968(0x134),_0x41f502)),this[_0x362968(0x127)](_0x362968(0x12d),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x362968(0x127)](_0x362968(0x121),0x0),this[_0x362968(0x127)](_0x362968(0x11b),!0x1),this[_0x362968(0x127)](_0x362968(0x12e),!0x1),this[_0x362968(0x127)](_0x362968(0x128),0x0),this[_0x362968(0x127)](_0x362968(0x124),''),this[_0x362968(0x12c)]=_0x31c325(()=>this[_0x362968(0x120)]()),this[_0x362968(0x11f)]=this[_0x362968(0x133)](),this[_0x362968(0x11f)][_0x362968(0x126)](_0x5036fb),this[_0x362968(0x11d)]=_0x5036fb;const _0x2f5c8a=this[_0x362968(0x131)];this[_0x362968(0x12f)]({'tag':_0x362968(0x13c),'attributes':{'class':['ck',_0x362968(0x11e),_0x362968(0x125),_0x2f5c8a['if'](_0x362968(0x11b),_0x362968(0x140))],'tabindex':-0x1},'children':this[_0x362968(0x11f)]});}[_0x248af9(0x12a)](){const _0xbbfc7=_0x248af9;super[_0xbbfc7(0x12a)](),this[_0xbbfc7(0x139)][_0xbbfc7(0x126)](this[_0xbbfc7(0x129)]),this[_0xbbfc7(0x138)][_0xbbfc7(0x13d)](this[_0xbbfc7(0x129)]),this[_0xbbfc7(0x12c)][_0xbbfc7(0x132)](this[_0xbbfc7(0x129)]);}[_0x248af9(0x135)](){const _0x572bbe=_0x248af9;this[_0x572bbe(0x11f)][_0x572bbe(0x130)](),this[_0x572bbe(0x138)][_0x572bbe(0x135)](),this[_0x572bbe(0x139)][_0x572bbe(0x135)](),this[_0x572bbe(0x12c)][_0x572bbe(0x123)](),super[_0x572bbe(0x135)]();}[_0x248af9(0x137)](){const _0x4ba487=_0x248af9;this[_0x4ba487(0x129)][_0x4ba487(0x137)]();}[_0x248af9(0x120)](){const _0x2454e7=_0x248af9,_0x39c17d=this[_0x2454e7(0x129)][_0x2454e7(0x13b)];_0x39c17d&&(this[_0x2454e7(0x121)]=_0x39c17d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x387159=_0x42bc;(function(_0x415262,_0x51a3aa){const _0x1c25b3=_0x42bc,_0x2c7441=_0x415262();while(!![]){try{const _0x61ae43=-parseInt(_0x1c25b3(0x146))/0x1+parseInt(_0x1c25b3(0x150))/0x2+-parseInt(_0x1c25b3(0x143))/0x3*(-parseInt(_0x1c25b3(0x154))/0x4)+parseInt(_0x1c25b3(0x13b))/0x5+parseInt(_0x1c25b3(0x13e))/0x6+parseInt(_0x1c25b3(0x157))/0x7*(parseInt(_0x1c25b3(0x139))/0x8)+-parseInt(_0x1c25b3(0x14f))/0x9*(parseInt(_0x1c25b3(0x152))/0xa);if(_0x61ae43===_0x51a3aa)break;else _0x2c7441['push'](_0x2c7441['shift']());}catch(_0x1d06ea){_0x2c7441['push'](_0x2c7441['shift']());}}}(_0x3c0a,0xef99b));import{View as _0x5631c4}from'ckeditor5/src/ui.js';import{toUnit as _0x4ea11b}from'ckeditor5/src/utils.js';function _0x3c0a(){const _0x1669b1=['updateHeight','564hKVLrm','set','destroy','1757oBmfTh','ck-sidebar-item','element','1640yyrlAN','clear','6985960ThcRTg','bindTemplate','render','1697562lfRTpW','clientHeight','createCollection','attach','ck-sidebar-item--no-animation','9273BFqwDO','_mutationObserver','bottom','962005XFZBbz','setTemplate','div','detach','top','height','_targetTop','content','isAnimationDisabled','9duYzAb','508100SMNFMI','bind','4780470QYGSml'];_0x3c0a=function(){return _0x1669b1;};return _0x3c0a();}import _0x5deb47 from'../../utils/createmutationobserver.js';const qt=_0x4ea11b('px');function _0x42bc(_0x3bc39a,_0x1023b9){const _0x3c0a30=_0x3c0a();return _0x42bc=function(_0x42bcbc,_0x1e02c){_0x42bcbc=_0x42bcbc-0x138;let _0x13f5ad=_0x3c0a30[_0x42bcbc];return _0x13f5ad;},_0x42bc(_0x3bc39a,_0x1023b9);}export default class C extends _0x5631c4{constructor(_0x206e53){const _0x1edf3f=_0x42bc;super(_0x206e53),this[_0x1edf3f(0x155)](_0x1edf3f(0x14a),0x0),this[_0x1edf3f(0x155)](_0x1edf3f(0x14b),0x0),this[_0x1edf3f(0x151)](_0x1edf3f(0x145))['to'](this,_0x1edf3f(0x14a),this,_0x1edf3f(0x14b),(_0x285a22,_0x3b7457)=>_0x285a22+_0x3b7457),this[_0x1edf3f(0x155)](_0x1edf3f(0x14e),!0x1),this[_0x1edf3f(0x144)]=_0x5deb47(()=>this[_0x1edf3f(0x153)]()),this[_0x1edf3f(0x14c)]=null,this[_0x1edf3f(0x14d)]=this[_0x1edf3f(0x140)]();const _0x261230=this[_0x1edf3f(0x13c)];this[_0x1edf3f(0x147)]({'tag':_0x1edf3f(0x148),'attributes':{'class':[_0x1edf3f(0x158),_0x261230['to'](_0x1edf3f(0x14e),_0x2df826=>_0x2df826?_0x1edf3f(0x142):'')],'style':{'top':_0x261230['to'](_0x1edf3f(0x14a),_0x37386f=>qt(_0x37386f))}},'children':this[_0x1edf3f(0x14d)]});}[_0x387159(0x13d)](){const _0x5d67a3=_0x387159;super[_0x5d67a3(0x13d)](),this[_0x5d67a3(0x144)][_0x5d67a3(0x141)](this[_0x5d67a3(0x138)]);}[_0x387159(0x153)](){const _0xb36c85=_0x387159,_0x4121cf=this[_0xb36c85(0x138)][_0xb36c85(0x13f)];_0x4121cf&&(this[_0xb36c85(0x14b)]=_0x4121cf);}[_0x387159(0x156)](){const _0x5bc9a4=_0x387159;this[_0x5bc9a4(0x14d)][_0x5bc9a4(0x13a)](),this[_0x5bc9a4(0x144)][_0x5bc9a4(0x149)](),super[_0x5bc9a4(0x156)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5b0353,_0x170359){const _0x1002b5=_0x123a,_0x5b32d1=_0x5b0353();while(!![]){try{const _0x21b6bc=parseInt(_0x1002b5(0x15c))/0x1+-parseInt(_0x1002b5(0x155))/0x2+parseInt(_0x1002b5(0x163))/0x3*(-parseInt(_0x1002b5(0x15f))/0x4)+parseInt(_0x1002b5(0x156))/0x5*(parseInt(_0x1002b5(0x165))/0x6)+-parseInt(_0x1002b5(0x15d))/0x7+-parseInt(_0x1002b5(0x157))/0x8*(parseInt(_0x1002b5(0x152))/0x9)+parseInt(_0x1002b5(0x161))/0xa;if(_0x21b6bc===_0x170359)break;else _0x5b32d1['push'](_0x5b32d1['shift']());}catch(_0x464d70){_0x5b32d1['push'](_0x5b32d1['shift']());}}}(_0x3589,0xb1dbd));function _0x123a(_0x3165fd,_0x46350f){const _0x35890e=_0x3589();return _0x123a=function(_0x123a8a,_0x3270f3){_0x123a8a=_0x123a8a-0x152;let _0x155f8f=_0x35890e[_0x123a8a];return _0x155f8f;},_0x123a(_0x3165fd,_0x46350f);}function _0x3589(){const _0x5c525e=['div','ck-reset','class','95496pksfJu','4215428GAAQMQ','bindTemplate','516PfQqES','ck-sidebar','29957470OQQBIi','minHeight','8931SelLjU','list','18doMTpx','set','9BEtetc','number','setTemplate','1761730dkSSNo','563315AAugJN','6668968AIqago','createCollection'];_0x3589=function(){return _0x5c525e;};return _0x3589();}import{View as _0x59604c}from'ckeditor5/src/ui.js';import{toUnit as _0x215a77}from'ckeditor5/src/utils.js';import'../../../theme/sidebar.css';const qt=_0x215a77('px');export default class T extends _0x59604c{constructor(_0x25e781){const _0x21632b=_0x123a;super(_0x25e781);const _0x595180=this[_0x21632b(0x15e)];this[_0x21632b(0x166)](_0x21632b(0x162),0x0),this[_0x21632b(0x166)](_0x21632b(0x15b),''),this[_0x21632b(0x164)]=this[_0x21632b(0x158)](),this[_0x21632b(0x154)]({'tag':_0x21632b(0x159),'attributes':{'class':['ck',_0x21632b(0x160),_0x21632b(0x15a),_0x595180['to'](_0x21632b(0x15b))],'style':{'minHeight':_0x595180['to'](_0x21632b(0x162),_0x3d109c=>_0x21632b(0x153)==typeof _0x3d109c?qt(_0x3d109c+0xa):null)}},'children':this[_0x21632b(0x164)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4f25(){const _0x97d74f=['container','rearrange','refreshPositioning','stop','set:container','_annotations','stopListening','hasDomSelection','set','add','refresh','wideSidebar','from','high','5687430dxpZnr','2192080tjyAqZ','switchTo','addEventListener','blur','removeEventListener','setActiveAnnotation','widesidebar-detach-not-attached','_attachToContainer','124fJwkfv','resize','requires','2iOGVQL','_integrateWithEditorAnnotations','16eCaeaA','12rgnqEL','isAttached','attach','cancel','focus','has','68991agvAfx','listenTo','ready','_refreshPositioningDebounced','_destroyEditorAnnotationsIntegration','init','getOrderedSelectedAnnotations','updateTargetRect','EditorAnnotations','_detachFromContainer','register','241750ermXMD','context','uiUpdate','editors','off','pluginName','_activeAnnotation','plugins','widesidebar-attach-already-attached','1577709ZusgoW','ck-sidebar--wide','get','27jcazKT','WideSidebar','detach','remove','activeAnnotation','_editorAnnotations','destroy','7166819WAGYJg','annotations','addAnnotation','338466LBjpCq','change:container'];_0x4f25=function(){return _0x97d74f;};return _0x4f25();}const _0x165598=_0x447c;(function(_0x19f6e6,_0x23a132){const _0x1b99ce=_0x447c,_0x37adb2=_0x19f6e6();while(!![]){try{const _0x69d098=parseInt(_0x1b99ce(0x152))/0x1*(-parseInt(_0x1b99ce(0x16e))/0x2)+-parseInt(_0x1b99ce(0x177))/0x3*(-parseInt(_0x1b99ce(0x16b))/0x4)+parseInt(_0x1b99ce(0x163))/0x5+parseInt(_0x1b99ce(0x162))/0x6+parseInt(_0x1b99ce(0x145))/0x7*(-parseInt(_0x1b99ce(0x170))/0x8)+parseInt(_0x1b99ce(0x148))/0x9*(-parseInt(_0x1b99ce(0x13c))/0xa)+-parseInt(_0x1b99ce(0x14f))/0xb*(parseInt(_0x1b99ce(0x171))/0xc);if(_0x69d098===_0x23a132)break;else _0x37adb2['push'](_0x37adb2['shift']());}catch(_0x2a3935){_0x37adb2['push'](_0x37adb2['shift']());}}}(_0x4f25,0x8f0ce));import{ContextPlugin as _0x4fca53,Context as _0x36fec9}from'ckeditor5/src/core.js';import _0x2b3653 from'./annotationsuis.js';import _0x2b8228 from'./sidebar.js';import{CKEditorError as _0x3cee7b,Collection as _0x66acab}from'ckeditor5/src/utils.js';import{debounce as _0x4488e4}from'lodash-es';function _0x447c(_0x19247f,_0x28fad5){const _0x4f25b7=_0x4f25();return _0x447c=function(_0x447c9a,_0x22ab42){_0x447c9a=_0x447c9a-0x13c;let _0x75044=_0x4f25b7[_0x447c9a];return _0x75044;},_0x447c(_0x19247f,_0x28fad5);}export default class n extends _0x4fca53{static get[_0x165598(0x16d)](){return[_0x2b8228,_0x2b3653];}static get[_0x165598(0x141)](){const _0x266e44=_0x165598;return _0x266e44(0x149);}constructor(_0x2e20af){const _0x50b3f2=_0x165598;super(_0x2e20af),this[_0x50b3f2(0x172)]=!0x1,this[_0x50b3f2(0x15c)](_0x50b3f2(0x14c),null),this[_0x50b3f2(0x150)]=null,this[_0x50b3f2(0x14d)]=new _0x66acab(),this[_0x50b3f2(0x17a)]=_0x4488e4(()=>{const _0x409a9d=_0x50b3f2;this[_0x409a9d(0x150)][_0x409a9d(0x156)]();},0xfa,{'leading':!0x1});}[_0x165598(0x17c)](){const _0x42729d=_0x165598,_0x3aad31=this[_0x42729d(0x13d)][_0x42729d(0x143)][_0x42729d(0x147)](_0x2b3653),_0x369677=this[_0x42729d(0x13d)][_0x42729d(0x143)][_0x42729d(0x147)](_0x2b8228);_0x3aad31[_0x42729d(0x181)](_0x42729d(0x15f),this),_0x369677[_0x42729d(0x154)]&&_0x3aad31[_0x42729d(0x164)](_0x42729d(0x15f));}[_0x165598(0x168)](_0x42d79a){const _0x58bcf3=_0x165598;if(_0x42d79a===this[_0x58bcf3(0x14c)])return;const _0x1ebb97=this[_0x58bcf3(0x13d)][_0x58bcf3(0x143)][_0x58bcf3(0x147)](_0x2b8228);_0x1ebb97[_0x58bcf3(0x142)]=_0x42d79a;const _0x54c53a=this[_0x58bcf3(0x14c)];this[_0x58bcf3(0x14c)]=_0x42d79a,_0x1ebb97[_0x58bcf3(0x15e)]({'blurredAnnotation':_0x54c53a,'activatedAnnotation':this[_0x58bcf3(0x14c)]});}[_0x165598(0x173)](_0x5c42fc){const _0xe8a365=_0x165598;this[_0xe8a365(0x150)]=_0x5c42fc;const _0x12b806=this[_0xe8a365(0x13d)][_0xe8a365(0x143)][_0xe8a365(0x147)](_0x2b8228);if(_0x12b806[_0xe8a365(0x159)]=_0x5c42fc,this[_0xe8a365(0x172)])throw new _0x3cee7b(_0xe8a365(0x144),this);this[_0xe8a365(0x172)]=!0x0,this[_0xe8a365(0x178)](_0x12b806,_0xe8a365(0x158),()=>{const _0x15e90b=_0xe8a365;this[_0x15e90b(0x14a)](),this[_0x15e90b(0x178)](_0x12b806,_0x15e90b(0x153),_0x533044=>{const _0x2d6803=_0x15e90b;_0x533044[_0x2d6803(0x140)](),this[_0x2d6803(0x173)](_0x5c42fc);});}),_0x12b806[_0xe8a365(0x16a)]({'viewClass':_0xe8a365(0x146)});const _0x1a5ab2=_0x262b87=>{const _0x5eceef=_0xe8a365;_0x262b87[_0x5eceef(0x17e)](),_0x12b806[_0x5eceef(0x151)](_0x262b87);};for(const _0x4e54f6 of _0x5c42fc)_0x1a5ab2(_0x4e54f6);this[_0xe8a365(0x178)](_0x5c42fc,_0xe8a365(0x15d),(_0xba8c67,_0x220c17)=>{_0x1a5ab2(_0x220c17);}),this[_0xe8a365(0x178)](_0x5c42fc,_0xe8a365(0x14b),(_0x420017,_0x5ae68e,_0x487523)=>{const _0x4138bc=_0xe8a365;_0x12b806[_0x4138bc(0x155)]({'removedAnnotation':_0x5ae68e,'previousAnnotation':_0x5c42fc[_0x4138bc(0x147)](_0x487523-0x1),'nextAnnotation':_0x5c42fc[_0x4138bc(0x147)](_0x487523+0x1)}),_0x5ae68e===this[_0x4138bc(0x14c)]&&this[_0x4138bc(0x168)](null);},{'priority':_0xe8a365(0x161)}),this[_0xe8a365(0x178)](_0x5c42fc,_0xe8a365(0x175),(_0x345d5f,_0x571399)=>{const _0x2007bf=_0xe8a365;this[_0x2007bf(0x168)](_0x571399);}),this[_0xe8a365(0x178)](_0x5c42fc,_0xe8a365(0x166),()=>{const _0x4231c2=_0xe8a365;this[_0x4231c2(0x168)](null);});const _0x4b9a54=this[_0xe8a365(0x13d)]instanceof _0x36fec9?this[_0xe8a365(0x13d)][_0xe8a365(0x13f)]:new _0x66acab([this[_0xe8a365(0x13d)]]);for(const _0x40d0ec of _0x4b9a54)this[_0xe8a365(0x16f)](_0x40d0ec);this[_0xe8a365(0x178)](_0x4b9a54,_0xe8a365(0x15d),(_0x523e11,_0x3c7d4c)=>{const _0x25aa17=_0xe8a365;this[_0x25aa17(0x178)](_0x3c7d4c,_0x25aa17(0x179),()=>{const _0x3a6209=_0x25aa17;this[_0x3a6209(0x16f)](_0x3c7d4c);});}),this[_0xe8a365(0x178)](_0x4b9a54,_0xe8a365(0x14b),(_0x5c8ea9,_0xc1e45d)=>{const _0x2d701a=_0xe8a365;_0xc1e45d[_0x2d701a(0x143)][_0x2d701a(0x176)](_0x2d701a(0x17f))&&this[_0x2d701a(0x17b)](_0xc1e45d[_0x2d701a(0x143)][_0x2d701a(0x147)](_0x2d701a(0x17f)));}),window[_0xe8a365(0x165)](_0xe8a365(0x16c),this[_0xe8a365(0x17a)]),this[_0xe8a365(0x150)][_0xe8a365(0x156)]();}[_0x165598(0x14a)](){const _0x1b22b5=_0x165598;if(!this[_0x1b22b5(0x172)])throw new _0x3cee7b(_0x1b22b5(0x169),this);this[_0x1b22b5(0x168)](null);const _0x33db21=this[_0x1b22b5(0x13d)][_0x1b22b5(0x143)][_0x1b22b5(0x147)](_0x2b8228);_0x33db21[_0x1b22b5(0x180)](this[_0x1b22b5(0x150)]),this[_0x1b22b5(0x15a)](_0x33db21),this[_0x1b22b5(0x15a)](this[_0x1b22b5(0x150)]),this[_0x1b22b5(0x13d)]instanceof _0x36fec9&&this[_0x1b22b5(0x15a)](this[_0x1b22b5(0x13d)][_0x1b22b5(0x13f)]);for(const _0x104361 of Array[_0x1b22b5(0x160)](this[_0x1b22b5(0x14d)]))this[_0x1b22b5(0x17b)](_0x104361);window[_0x1b22b5(0x167)](_0x1b22b5(0x16c),this[_0x1b22b5(0x17a)]),this[_0x1b22b5(0x17a)][_0x1b22b5(0x174)](),this[_0x1b22b5(0x14c)]=null,this[_0x1b22b5(0x172)]=!0x1,this[_0x1b22b5(0x150)]=null;}[_0x165598(0x14e)](){const _0x5a0b3c=_0x165598;this[_0x5a0b3c(0x172)]&&this[_0x5a0b3c(0x14a)]();}[_0x165598(0x16f)](_0xa00446){const _0x50783b=_0x165598;if(!_0xa00446[_0x50783b(0x143)][_0x50783b(0x176)](_0x50783b(0x17f)))return;const _0x221931=_0xa00446[_0x50783b(0x143)][_0x50783b(0x147)](_0x50783b(0x17f)),_0x46e5db=()=>{const _0x11ec63=_0x50783b,_0x1e2cd5=_0x221931[_0x11ec63(0x17d)]({'annotations':this[_0x11ec63(0x150)],'activeAnnotation':this[_0x11ec63(0x14c)]});this[_0x11ec63(0x168)](_0x1e2cd5[0x0]||null);};this[_0x50783b(0x178)](_0x221931,_0x50783b(0x15e),_0x46e5db),this[_0x50783b(0x178)](_0x221931,_0x50783b(0x166),(_0x5d2101,{isAnnotationTracked:_0x1c6e04})=>{const _0x338af2=_0x50783b;this[_0x338af2(0x14c)]&&_0x1c6e04(this[_0x338af2(0x14c)])&&this[_0x338af2(0x168)](null);}),this[_0x50783b(0x178)](_0x221931,_0x50783b(0x13e),()=>{const _0x31ccc5=_0x50783b;this[_0x31ccc5(0x17a)]();}),this[_0x50783b(0x178)](this[_0x50783b(0x150)],_0x50783b(0x166),_0x3cb957=>{const _0x5d47b5=_0x50783b;_0x221931[_0x5d47b5(0x15b)]()&&(_0x46e5db(),_0x3cb957[_0x5d47b5(0x157)]());},{'priority':_0x50783b(0x161)}),this[_0x50783b(0x14d)][_0x50783b(0x15d)](_0x221931);}[_0x165598(0x17b)](_0x319376){const _0x43dc06=_0x165598;this[_0x43dc06(0x15a)](_0x319376),this[_0x43dc06(0x14d)][_0x43dc06(0x14b)](_0x319376);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5bca3f=_0xd813;function _0xd813(_0x453a75,_0x6d28b3){const _0x4faf9a=_0x4faf();return _0xd813=function(_0xd813b6,_0x3a2985){_0xd813b6=_0xd813b6-0x101;let _0x4dbc56=_0x4faf9a[_0xd813b6];return _0x4dbc56;},_0xd813(_0x453a75,_0x6d28b3);}(function(_0x292de7,_0x20802f){const _0x3ae0e0=_0xd813,_0xaac8a9=_0x292de7();while(!![]){try{const _0x2f288a=-parseInt(_0x3ae0e0(0x119))/0x1+parseInt(_0x3ae0e0(0x115))/0x2+-parseInt(_0x3ae0e0(0x10a))/0x3*(-parseInt(_0x3ae0e0(0x121))/0x4)+-parseInt(_0x3ae0e0(0x11a))/0x5*(parseInt(_0x3ae0e0(0x112))/0x6)+parseInt(_0x3ae0e0(0x11f))/0x7+-parseInt(_0x3ae0e0(0x104))/0x8+-parseInt(_0x3ae0e0(0x10d))/0x9;if(_0x2f288a===_0x20802f)break;else _0xaac8a9['push'](_0xaac8a9['shift']());}catch(_0x42a40c){_0xaac8a9['push'](_0xaac8a9['shift']());}}}(_0x4faf,0xb37f1));import{Command as _0x588223}from'ckeditor5/src/core.js';import{uid as _0x29c7cc}from'ckeditor5/src/utils.js';export default class G extends _0x588223{[_0x5bca3f(0x114)](){const _0x452874=_0x5bca3f,_0x360d05=this[_0x452874(0x11c)][_0x452874(0x106)][_0x452874(0x110)][_0x452874(0x120)];for(const _0xc91017 of _0x360d05[_0x452874(0x125)]())if(this[_0x452874(0x101)](_0xc91017))return void(this[_0x452874(0x108)]=!0x0);this[_0x452874(0x108)]=!0x1;}[_0x5bca3f(0x105)]({threadId:_0x352a50=_0x29c7cc()}={}){const _0x10da7b=_0x5bca3f,_0x503956=this[_0x10da7b(0x11c)][_0x10da7b(0x106)],_0x437c53=[];for(const _0x82134b of _0x503956[_0x10da7b(0x110)][_0x10da7b(0x120)][_0x10da7b(0x125)]())this[_0x10da7b(0x101)](_0x82134b)&&_0x437c53[_0x10da7b(0x107)](this[_0x10da7b(0x102)](_0x82134b));_0x503956[_0x10da7b(0x113)](_0x38dd1a=>{const _0x2c73f5=_0x10da7b;for(const _0x11647b of _0x437c53){const _0x47f07e=_0x29c7cc()[_0x2c73f5(0x103)](0x1,0x5),_0x4ff977=_0x2c73f5(0x118)+_0x352a50+':'+_0x47f07e;_0x38dd1a[_0x2c73f5(0x11b)](_0x4ff977,{'range':_0x11647b,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x5bca3f(0x101)](_0x48ab3e){const _0x53f729=_0x5bca3f;for(const _0xc368c2 of _0x48ab3e[_0x53f729(0x123)]())if(this[_0x53f729(0x124)](_0xc368c2))return!0x0;return!0x1;}[_0x5bca3f(0x124)](_0x4c6a63){const _0x4b0f27=_0x5bca3f;return _0x4c6a63['is'](_0x4b0f27(0x122))||this[_0x4b0f27(0x11c)][_0x4b0f27(0x106)][_0x4b0f27(0x11d)][_0x4b0f27(0x109)](_0x4c6a63)&&!_0x4c6a63['is'](_0x4b0f27(0x10b),_0x4b0f27(0x10e));}[_0x5bca3f(0x102)](_0x2f7c68){const _0x461dff=_0x5bca3f,_0x3b3962=_0x252b77=>!this[_0x461dff(0x124)](_0x252b77[_0x461dff(0x116)]),_0x44f1c7=_0x2f7c68[_0x461dff(0x10f)][_0x461dff(0x10c)](_0x3b3962),_0x2a4367=_0x2f7c68[_0x461dff(0x117)][_0x461dff(0x10c)](_0x3b3962,{'direction':_0x461dff(0x11e)});return this[_0x461dff(0x11c)][_0x461dff(0x106)][_0x461dff(0x111)](_0x44f1c7,_0x2a4367);}}function _0x4faf(){const _0x1662bf=['element','getLastMatchingPosition','5018544pdofCW','tableCell','start','document','createRange','36qUoTeW','change','refresh','2671046ZKnaUu','item','end','comment:','1270026RvLKrY','392485NTntFp','addMarker','editor','schema','backward','2916536hGRABm','selection','16984LDgMEX','$textProxy','getItems','_itemIsContent','getRanges','_hasContent','_trimToContent','substr','718304ppfkFQ','execute','model','push','isEnabled','isObject','969HrOUmd'];_0x4faf=function(){return _0x1662bf;};return _0x4faf();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd94fde=_0xea26;function _0x4e1f(){const _0x372f07=['3308260abiOWz','requires','4833312tTyDzt','focus','8016JFJlpP','7054180yoFnBx','435ARNDaZ','highest','removeCommentThread','init','length','add','pluginName','380461dueaFl','get','_calculatePosition','880191zekxGC','9APjkYP','addCommentThread','archivedThreads','archivedAt','change:archivedAt','getCommentThread','context','has','plugins','CommentsArchive','isActive','remove','stopListening','11067sHGYBn','listenTo','collection','activate','834srCoVD','2oXRoBp','findIndex'];_0x4e1f=function(){return _0x372f07;};return _0x4e1f();}(function(_0x4b2f76,_0x2368e0){const _0x5eb282=_0xea26,_0x33e229=_0x4b2f76();while(!![]){try{const _0x40aca7=parseInt(_0x5eb282(0x200))/0x1+-parseInt(_0x5eb282(0x216))/0x2*(-parseInt(_0x5eb282(0x203))/0x3)+parseInt(_0x5eb282(0x1f8))/0x4+parseInt(_0x5eb282(0x1f9))/0x5*(-parseInt(_0x5eb282(0x215))/0x6)+-parseInt(_0x5eb282(0x211))/0x7*(parseInt(_0x5eb282(0x1f7))/0x8)+parseInt(_0x5eb282(0x204))/0x9*(-parseInt(_0x5eb282(0x1f3))/0xa)+parseInt(_0x5eb282(0x1f5))/0xb;if(_0x40aca7===_0x2368e0)break;else _0x33e229['push'](_0x33e229['shift']());}catch(_0x584c71){_0x33e229['push'](_0x33e229['shift']());}}}(_0x4e1f,0xe7dd2));import{ContextPlugin as _0x562a37}from'ckeditor5/src/core.js';import{Collection as _0x4b80fc}from'ckeditor5/src/utils.js';function _0xea26(_0x2a54f6,_0x10dd4d){const _0x4e1fe3=_0x4e1f();return _0xea26=function(_0xea26d7,_0x3eb93f){_0xea26d7=_0xea26d7-0x1f3;let _0x4f4c9d=_0x4e1fe3[_0xea26d7];return _0x4f4c9d;},_0xea26(_0x2a54f6,_0x10dd4d);}import _0x4d534e from'./commentsrepository.js';import _0x2f9947 from'../annotations/annotations.js';export default class p extends _0x562a37{static get[_0xd94fde(0x1ff)](){const _0x471d0d=_0xd94fde;return _0x471d0d(0x20d);}static get[_0xd94fde(0x1f4)](){return[_0x4d534e,_0x2f9947];}constructor(_0x4c3ef2){const _0x15f178=_0xd94fde;super(_0x4c3ef2),this[_0x15f178(0x206)]=new _0x4b80fc();}[_0xd94fde(0x1fc)](){const _0x2d147f=_0xd94fde,_0x5c9448=this[_0x2d147f(0x20a)],_0x2accfd=_0x5c9448[_0x2d147f(0x20c)][_0x2d147f(0x201)](_0x4d534e),_0x382461=_0x5c9448[_0x2d147f(0x20c)][_0x2d147f(0x201)](_0x2f9947);this[_0x2d147f(0x212)](_0x2accfd,_0x2d147f(0x205),(_0x2102e4,{threadId:_0x4fd618})=>{const _0xd17b6f=_0x2d147f,_0x2c9350=_0x2accfd[_0xd17b6f(0x209)](_0x4fd618);_0x2c9350[_0xd17b6f(0x207)]&&this[_0xd17b6f(0x206)][_0xd17b6f(0x1fe)](_0x2c9350,this[_0xd17b6f(0x202)](_0x2c9350[_0xd17b6f(0x207)])),this[_0xd17b6f(0x212)](_0x2c9350,_0xd17b6f(0x208),(_0x69a13a,_0x11ba9,_0x360763)=>{const _0x54b306=_0xd17b6f;_0x360763?this[_0x54b306(0x206)][_0x54b306(0x20b)](_0x2c9350)||this[_0x54b306(0x206)][_0x54b306(0x1fe)](_0x2c9350,this[_0x54b306(0x202)](_0x2c9350[_0x54b306(0x207)])):this[_0x54b306(0x206)][_0x54b306(0x20b)](_0x2c9350)&&this[_0x54b306(0x206)][_0x54b306(0x20f)](_0x2c9350);});}),this[_0x2d147f(0x212)](_0x2accfd,_0x2d147f(0x1fb),(_0x4ad536,{threadId:_0x5b9eb7})=>{const _0x2622ce=_0x2d147f,_0x4bd3e1=_0x2accfd[_0x2622ce(0x209)](_0x5b9eb7);this[_0x2622ce(0x210)](_0x4bd3e1),this[_0x2622ce(0x206)][_0x2622ce(0x20b)](_0x4bd3e1)&&this[_0x2622ce(0x206)][_0x2622ce(0x20f)](_0x4bd3e1);},{'priority':_0x2d147f(0x1fa)}),this[_0x2d147f(0x212)](_0x382461[_0x2d147f(0x213)],_0x2d147f(0x1f6),(_0x3b9d57,_0x4bfb48)=>{const _0x492934=_0x2d147f;_0x4bfb48[_0x492934(0x20e)]=!0x0,_0x382461[_0x492934(0x214)](_0x4bfb48);});}[_0xd94fde(0x202)](_0x46918a){const _0x2847a6=_0xd94fde,_0x23aa36=[...this[_0x2847a6(0x206)]][_0x2847a6(0x217)](_0x59df6e=>_0x59df6e[_0x2847a6(0x207)]<_0x46918a);return _0x23aa36>-0x1?_0x23aa36:this[_0x2847a6(0x206)][_0x2847a6(0x1fd)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4dfcfd=_0x5122;(function(_0x13587a,_0x2b9f26){const _0x3656e4=_0x5122,_0x4931ba=_0x13587a();while(!![]){try{const _0x1972ee=-parseInt(_0x3656e4(0x17c))/0x1+-parseInt(_0x3656e4(0x184))/0x2+-parseInt(_0x3656e4(0x17b))/0x3*(parseInt(_0x3656e4(0x16f))/0x4)+-parseInt(_0x3656e4(0x189))/0x5*(-parseInt(_0x3656e4(0x18e))/0x6)+parseInt(_0x3656e4(0x15b))/0x7+parseInt(_0x3656e4(0x160))/0x8*(-parseInt(_0x3656e4(0x174))/0x9)+parseInt(_0x3656e4(0x175))/0xa;if(_0x1972ee===_0x2b9f26)break;else _0x4931ba['push'](_0x4931ba['shift']());}catch(_0x50b9c1){_0x4931ba['push'](_0x4931ba['shift']());}}}(_0x9f98,0x65eec));import'../../theme/commentsarchive.css';function _0x9f98(){const _0x4b78cd=['_createCommentsArchiveButton','_pendingThreads','filter','commentsArchiveView','bind','view','push','collaboration.channelId','length','_visibleAnnotations','archivedThreads','find','325904avEtdF','findIndex','EDITOR_TOP_SIDE','show','tooltip','4068FCFdsE','2392370kdihoW','innerView','Dialog','hide','listenTo','_threadToController','3npSOGV','202552UzhMcq','commentsArchive','pluginName','indexOf','config','set','get','add','297206sEhORc','_calculatePosition','menuBar:commentsArchive','plugins','archivedAt','5epABtR','focusableElements','getByInnerView','init','remove','1277994KExUsC','Annotations','stopListening','componentFactory','splice','channelId','execute','isEnabled','CommentsArchiveUI','isVisible','CommentsRepository','_toggleDialog','2794869JdBeFO','locale','annotationViews','COMMENTS_ARCHIVE','requires','24veYWSF','editor','collection'];_0x9f98=function(){return _0x4b78cd;};return _0x9f98();}function _0x5122(_0x932e9c,_0x1c64bb){const _0x9f9826=_0x9f98();return _0x5122=function(_0x51224d,_0x3372ec){_0x51224d=_0x51224d-0x151;let _0x4feab4=_0x9f9826[_0x51224d];return _0x4feab4;},_0x5122(_0x932e9c,_0x1c64bb);}import{Plugin as _0x3cdf58}from'ckeditor5/src/core.js';import{ViewCollection as _0x1c3503,MenuBarMenuListItemButtonView as _0x303c9d,ButtonView as _0x2518ec,Dialog as _0x32b6ce,DialogViewPosition as _0x257944}from'ckeditor5/src/ui.js';import _0xe46482 from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x416827}from'../utils/common-translations.js';import _0x1e450d from'./ui/view/commentsarchiveview.js';import _0x1fa3e8 from'./commentsarchive.js';export default class a extends _0x3cdf58{static get[_0x4dfcfd(0x17e)](){const _0x722aab=_0x4dfcfd;return _0x722aab(0x157);}static get[_0x4dfcfd(0x15f)](){return[_0x1fa3e8,_0x32b6ce];}constructor(_0x53dde2){const _0x3e0535=_0x4dfcfd;super(_0x53dde2),this[_0x3e0535(0x15d)]=new _0x1c3503(),this[_0x3e0535(0x164)]=[];}[_0x4dfcfd(0x18c)](){const _0x155b90=_0x4dfcfd;this[_0x155b90(0x161)]['ui'][_0x155b90(0x152)][_0x155b90(0x183)](_0x155b90(0x17d),()=>this[_0x155b90(0x163)](_0x2518ec,!0x0)),this[_0x155b90(0x161)]['ui'][_0x155b90(0x152)][_0x155b90(0x183)](_0x155b90(0x186),()=>this[_0x155b90(0x163)](_0x303c9d));const _0x280059=this[_0x155b90(0x161)][_0x155b90(0x187)][_0x155b90(0x182)](_0x1fa3e8),_0x1a3dab=this[_0x155b90(0x161)][_0x155b90(0x187)][_0x155b90(0x182)](_0x155b90(0x18f)),_0x1a7b2f=this[_0x155b90(0x161)][_0x155b90(0x187)][_0x155b90(0x182)](_0x155b90(0x159));this[_0x155b90(0x179)](_0x280059[_0x155b90(0x16d)],_0x155b90(0x183),(_0x592d01,_0x528186)=>{const _0x1ace85=_0x155b90,_0x9d734e=this[_0x1ace85(0x161)][_0x1ace85(0x180)][_0x1ace85(0x182)](_0x1ace85(0x16a));if(!_0x9d734e||_0x528186[_0x1ace85(0x154)]===_0x9d734e){const _0x1d2b70=_0x1a7b2f[_0x1ace85(0x17a)][_0x1ace85(0x182)](_0x528186);if(!_0x1d2b70)return void this[_0x1ace85(0x164)][_0x1ace85(0x169)](_0x528186);const _0xbb8849=this[_0x1ace85(0x185)](_0x528186[_0x1ace85(0x188)]),_0x9ffaf5=_0x1a3dab[_0x1ace85(0x18b)](_0x1d2b70[_0x1ace85(0x168)]);_0x9ffaf5[_0x1ace85(0x158)]&&_0x1a3dab[_0x1ace85(0x16c)][_0x1ace85(0x18d)](_0x9ffaf5),this[_0x1ace85(0x15d)][_0x1ace85(0x183)](_0x9ffaf5[_0x1ace85(0x168)],_0xbb8849);}}),this[_0x155b90(0x179)](_0x1a3dab[_0x155b90(0x162)],_0x155b90(0x183),(_0x2386ad,_0x397ab2)=>{const _0x360be9=_0x155b90,_0x2dbb48=this[_0x360be9(0x164)][_0x360be9(0x16e)](_0x56b316=>{const _0x3a76f6=_0x360be9,_0xb75e2=_0x1a7b2f[_0x3a76f6(0x17a)][_0x3a76f6(0x182)](_0x56b316);return _0xb75e2&&_0x397ab2[_0x3a76f6(0x176)]===_0xb75e2[_0x3a76f6(0x168)];});if(_0x2dbb48){const _0x305f2d=this[_0x360be9(0x185)](_0x2dbb48[_0x360be9(0x188)]);this[_0x360be9(0x15d)][_0x360be9(0x183)](_0x397ab2[_0x360be9(0x168)],_0x305f2d),this[_0x360be9(0x164)][_0x360be9(0x153)](this[_0x360be9(0x164)][_0x360be9(0x17f)](_0x2dbb48),0x1);}}),this[_0x155b90(0x179)](_0x280059[_0x155b90(0x16d)],_0x155b90(0x18d),(_0x24f057,_0x4bf0a4)=>{const _0x361510=_0x155b90,_0x2fca34=this[_0x361510(0x161)][_0x361510(0x180)][_0x361510(0x182)](_0x361510(0x16a));if(!_0x2fca34||_0x4bf0a4[_0x361510(0x154)]===_0x2fca34){const _0x30b11b=_0x1a7b2f[_0x361510(0x17a)][_0x361510(0x182)](_0x4bf0a4),_0x3edf9f=_0x1a3dab[_0x361510(0x18b)](_0x30b11b[_0x361510(0x168)]);this[_0x361510(0x15d)][_0x361510(0x18d)](_0x3edf9f[_0x361510(0x168)]),this[_0x361510(0x151)](_0x3edf9f[_0x361510(0x18a)]);}});}[_0x4dfcfd(0x185)](_0xe1f40){const _0x388bcf=_0x4dfcfd,_0x2c593a=this[_0x388bcf(0x161)][_0x388bcf(0x180)][_0x388bcf(0x182)](_0x388bcf(0x16a)),_0x29d02d=[...this[_0x388bcf(0x161)][_0x388bcf(0x187)][_0x388bcf(0x182)](_0x1fa3e8)[_0x388bcf(0x16d)]][_0x388bcf(0x165)](_0x220a49=>_0x220a49[_0x388bcf(0x154)]===_0x2c593a)[_0x388bcf(0x170)](_0x2a14a2=>_0x2a14a2[_0x388bcf(0x188)]<_0xe1f40);return _0x29d02d<0x0||_0x29d02d>this[_0x388bcf(0x15d)][_0x388bcf(0x16b)]?this[_0x388bcf(0x15d)][_0x388bcf(0x16b)]:_0x29d02d-0x1;}[_0x4dfcfd(0x15a)](){const _0x3d5206=_0x4dfcfd,_0xfe8670=this[_0x3d5206(0x161)],_0x1c4ea0=_0xfe8670[_0x3d5206(0x187)][_0x3d5206(0x182)](_0x3d5206(0x177));this[_0x3d5206(0x166)]||(this[_0x3d5206(0x166)]=new _0x1e450d(_0xfe8670[_0x3d5206(0x15c)],this[_0x3d5206(0x15d)])),_0x3d5206(0x17d)===_0x1c4ea0['id']?_0x1c4ea0[_0x3d5206(0x178)]():_0x1c4ea0[_0x3d5206(0x172)]({'id':_0x3d5206(0x17d),'title':_0x416827(_0xfe8670[_0x3d5206(0x15c)],_0x3d5206(0x15e)),'icon':_0xe46482,'hasCloseButton':!0x0,'content':this[_0x3d5206(0x166)],'position':_0x257944[_0x3d5206(0x171)]});}[_0x4dfcfd(0x163)](_0x4d868a,_0x3f9f53=!0x1){const _0x7545f4=_0x4dfcfd,_0x281507=this[_0x7545f4(0x161)][_0x7545f4(0x15c)],_0x150327=new _0x4d868a(_0x281507);return _0x150327[_0x7545f4(0x167)](_0x7545f4(0x156))['to'](this,_0x7545f4(0x156)),_0x150327[_0x7545f4(0x181)]({'label':_0x416827(_0x281507,_0x7545f4(0x15e)),'icon':_0xe46482}),_0x3f9f53&&(_0x150327[_0x7545f4(0x173)]=!0x0),this[_0x7545f4(0x179)](_0x150327,_0x7545f4(0x155),()=>this[_0x7545f4(0x15a)]()),_0x150327;}}
|