@ckeditor/ckeditor5-comments 41.4.0 → 41.4.1
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 +1 -1
- 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 +1 -1
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +1 -1
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4b81c6=_0x38ad;function _0x38ad(_0x59b451,_0x47cf8b){const _0x461ca8=_0x461c();return _0x38ad=function(_0x38ad04,_0x102239){_0x38ad04=_0x38ad04-0x169;let _0x3fa90a=_0x461ca8[_0x38ad04];return _0x3fa90a;},_0x38ad(_0x59b451,_0x47cf8b);}(function(_0x414f6e,_0x13f399){const _0x36d5d5=_0x38ad,_0x413bf9=_0x414f6e();while(!![]){try{const _0x2b015d=-parseInt(_0x36d5d5(0x1b8))/0x1*(parseInt(_0x36d5d5(0x1b7))/0x2)+-parseInt(_0x36d5d5(0x197))/0x3*(-parseInt(_0x36d5d5(0x17f))/0x4)+-parseInt(_0x36d5d5(0x1c1))/0x5*(parseInt(_0x36d5d5(0x186))/0x6)+-parseInt(_0x36d5d5(0x1b9))/0x7+-parseInt(_0x36d5d5(0x18f))/0x8*(-parseInt(_0x36d5d5(0x195))/0x9)+-parseInt(_0x36d5d5(0x173))/0xa*(-parseInt(_0x36d5d5(0x18d))/0xb)+parseInt(_0x36d5d5(0x1c6))/0xc;if(_0x2b015d===_0x13f399)break;else _0x413bf9['push'](_0x413bf9['shift']());}catch(_0x1f6415){_0x413bf9['push'](_0x413bf9['shift']());}}}(_0x461c,0xecbe1));import{Plugin as _0x58f990}from'ckeditor5/src/core.js';function _0x461c(){const _0x332bcf=['inline','left','listenTo','viewRangeToDom','isActive','delete','9290874lDgFwj','clear','getByView','bottom','right','_selectedAnnotations','domConverter','34298IRWbgm','_balloon','5313576NveCXH','hasActive','editor','InlineAnnotations','add','inlineannotations-attach-already-attached','9IwxMnW','remove','2273190WctxIU','update','mousedown','register','isFocused','inlineannotations-not-allowed-with-context','plugins','map','requires','document','change:isFocused','destroy','focus','target','hasView','pluginName','getOrderedSelectedAnnotations','updatePosition','switchTo','keystrokes','blur','width','_manuallyClosed','has','set','editing','stopListening','inlineannotations-detach-not-attached','includes','_setSelectedAnnotations','_addAnnotationToBalloon','addObserver','65978vVJFsD','11cWRDhE','12936672JfDKsK','editableElement','refresh','fromRect','afterInit','getFirstRange','targetRect','length','5lpMQzs','showStack','_forceRefresh','top','visibleView','14355384pzFpgn','change:visibleView','focusTracker','_removeAnnotationFromBalloon','detach','get','context','_getBalloonTargetForAnnotation','Esc','change:height','isAttached','_addedAnnotations','view','collapse','setActiveAnnotation','find','4340YKTGvW','push','selection','attach','getBoundingClientRect','init','_closeAnnotation','from','activeAnnotation','annotations','getClientRects','every','8egOzzc'];_0x461c=function(){return _0x332bcf;};return _0x461c();}import _0x26e7ef from'./annotationsuis.js';import _0x10784b from'./editorannotations.js';import{ContextualBalloon as _0x167ec5}from'ckeditor5/src/ui.js';import{MouseObserver as _0x2aa85c}from'ckeditor5/src/engine.js';import{CKEditorError as _0x49e82d,Rect as _0x41971d}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x58f990{static get[_0x4b81c6(0x19f)](){return[_0x10784b,_0x167ec5,_0x26e7ef];}static get[_0x4b81c6(0x1a6)](){const _0x4e33a0=_0x4b81c6;return _0x4e33a0(0x192);}constructor(_0x23c76d){const _0x1ef033=_0x4b81c6;super(_0x23c76d),_0x23c76d[_0x1ef033(0x1b0)][_0x1ef033(0x16f)][_0x1ef033(0x1b6)](_0x2aa85c),this[_0x1ef033(0x16d)]=!0x1,this[_0x1ef033(0x1af)](_0x1ef033(0x17b),null),this[_0x1ef033(0x17c)]=null,this[_0x1ef033(0x1ad)]=new Set(),this[_0x1ef033(0x18e)]=_0x23c76d[_0x1ef033(0x19d)][_0x1ef033(0x1cb)](_0x167ec5),this[_0x1ef033(0x16e)]=new Set(),this[_0x1ef033(0x18b)]=[],this[_0x1ef033(0x1c3)]=!0x1;}[_0x4b81c6(0x178)](){const _0x3c78f7=_0x4b81c6,_0x3baff2=this[_0x3c78f7(0x191)][_0x3c78f7(0x19d)][_0x3c78f7(0x1cb)](_0x26e7ef);_0x3baff2[_0x3c78f7(0x169)]===this[_0x3c78f7(0x191)]&&(_0x3baff2[_0x3c78f7(0x19a)](_0x3c78f7(0x180),this),this[_0x3c78f7(0x191)][_0x3c78f7(0x1aa)][_0x3c78f7(0x1af)](_0x3c78f7(0x16b),(_0x5f1b38,_0xe4d65d)=>{const _0x880266=_0x3c78f7,_0x16f5b3=this[_0x880266(0x18e)];if(this[_0x880266(0x16d)]&&_0x16f5b3[_0x880266(0x1c5)]){const _0xf3624e=this[_0x880266(0x17c)][_0x880266(0x188)](_0x16f5b3[_0x880266(0x1c5)]);_0xf3624e&&this[_0x880266(0x179)](_0xf3624e),_0xe4d65d();}}));}[_0x4b81c6(0x1bd)](){const _0x1b9e09=_0x4b81c6,_0x4ae8bd=this[_0x1b9e09(0x191)][_0x1b9e09(0x19d)][_0x1b9e09(0x1cb)](_0x26e7ef);_0x4ae8bd[_0x1b9e09(0x169)]===this[_0x1b9e09(0x191)]&&(_0x4ae8bd[_0x1b9e09(0x190)]()||_0x4ae8bd[_0x1b9e09(0x1a9)](_0x1b9e09(0x180)));}[_0x4b81c6(0x171)](_0xa3e597){const _0x28f078=_0x4b81c6;_0xa3e597!==this[_0x28f078(0x17b)]&&(this[_0x28f078(0x17b)]&&(this[_0x28f078(0x17b)][_0x28f078(0x184)]=!0x1),_0xa3e597&&this[_0x28f078(0x191)]['ui'][_0x28f078(0x1c8)][_0x28f078(0x19b)]&&(this[_0x28f078(0x17c)][_0x28f078(0x1ae)](_0xa3e597)&&this[_0x28f078(0x1b5)](_0xa3e597,!0x0),_0xa3e597[_0x28f078(0x184)]=!0x0),_0xa3e597||this[_0x28f078(0x1b4)]([]),this[_0x28f078(0x17b)]=_0xa3e597);}[_0x4b81c6(0x176)](_0xac9bc6){const _0x13e1bb=_0x4b81c6;this[_0x13e1bb(0x17c)]=_0xac9bc6;const _0x2c399e=this[_0x13e1bb(0x191)][_0x13e1bb(0x19d)][_0x13e1bb(0x1cb)](_0x26e7ef),_0x2c02ef=this[_0x13e1bb(0x18e)];if(this[_0x13e1bb(0x16d)])throw new _0x49e82d(_0x13e1bb(0x194),this);if(_0x2c399e[_0x13e1bb(0x169)]!==this[_0x13e1bb(0x191)])throw new _0x49e82d(_0x13e1bb(0x19c),this);const _0x9d5a80=this[_0x13e1bb(0x191)][_0x13e1bb(0x19d)][_0x13e1bb(0x1cb)](_0x10784b);this[_0x13e1bb(0x182)](_0x9d5a80,_0x13e1bb(0x1bb),()=>{const _0x18d04c=_0x13e1bb,_0x1d9111=_0x9d5a80[_0x18d04c(0x1a7)]({'annotations':this[_0x18d04c(0x17c)],'activeAnnotation':this[_0x18d04c(0x17b)]});var _0x4c54a0,_0x5f0b0f;!this[_0x18d04c(0x1c3)]&&(_0x4c54a0=_0x1d9111,_0x5f0b0f=this[_0x18d04c(0x18b)],_0x4c54a0[_0x18d04c(0x1c0)]===_0x5f0b0f[_0x18d04c(0x1c0)]&&_0x4c54a0[_0x18d04c(0x17e)](_0x4c8601=>_0x5f0b0f[_0x18d04c(0x1b3)](_0x4c8601)))||(this[_0x18d04c(0x1c3)]=!0x1,this[_0x18d04c(0x1b4)](_0x1d9111),this[_0x18d04c(0x171)](_0x1d9111[0x0]||null));}),this[_0x13e1bb(0x182)](_0x9d5a80,_0x13e1bb(0x1ab),(_0x2e056b,{isAnnotationTracked:_0x2f7f1d})=>{const _0x25338e=_0x13e1bb;this[_0x25338e(0x17b)]&&_0x2f7f1d(this[_0x25338e(0x17b)])&&(this[_0x25338e(0x1b4)]([]),this[_0x25338e(0x171)](null));}),this[_0x13e1bb(0x182)](this[_0x13e1bb(0x191)]['ui'][_0x13e1bb(0x1c8)],_0x13e1bb(0x1a1),(_0x20a5d4,_0x384380,_0x3e6d8d)=>{const _0x13b52e=_0x13e1bb;_0x3e6d8d||this[_0x13b52e(0x171)](null);}),this[_0x13e1bb(0x182)](_0xac9bc6,_0x13e1bb(0x196),(_0x559d4e,_0xd073dc)=>{const _0x5253ea=_0x13e1bb;this[_0x5253ea(0x1c9)](_0xd073dc),_0xd073dc===this[_0x5253ea(0x17b)]&&this[_0x5253ea(0x171)](null);}),this[_0x13e1bb(0x182)](_0x2c02ef,_0x13e1bb(0x1c7),(_0x2b1ec1,_0x4786d4,_0x13fa44,_0x4d7cfc)=>{const _0x611d2d=_0x13e1bb;_0x4d7cfc&&this[_0x611d2d(0x1b1)](_0x4d7cfc);const _0x199d37=_0xac9bc6[_0x611d2d(0x188)](_0x13fa44);_0x13fa44&&_0x199d37&&(this[_0x611d2d(0x182)](_0x13fa44,_0x611d2d(0x16c),()=>{const _0x4bb0ba=_0x611d2d;_0x2c02ef[_0x4bb0ba(0x1a8)]();}),this[_0x611d2d(0x182)](_0x13fa44,_0x611d2d(0x16b),()=>{const _0x2d863d=_0x611d2d;this[_0x2d863d(0x179)](_0x199d37),this[_0x2d863d(0x191)][_0x2d863d(0x1b0)][_0x2d863d(0x16f)][_0x2d863d(0x1a3)]();}),this[_0x611d2d(0x17b)]!==_0x199d37&&this[_0x611d2d(0x171)](_0x199d37));}),this[_0x13e1bb(0x182)](this[_0x13e1bb(0x191)]['ui'],_0x13e1bb(0x198),()=>{const _0x49df2d=_0x13e1bb;_0x2c02ef[_0x49df2d(0x1c5)]&&(_0xac9bc6[_0x49df2d(0x188)](_0x2c02ef[_0x49df2d(0x1c5)])&&_0x2c02ef[_0x49df2d(0x1a8)]());}),this[_0x13e1bb(0x182)](this[_0x13e1bb(0x191)][_0x13e1bb(0x1b0)][_0x13e1bb(0x16f)][_0x13e1bb(0x1a0)],_0x13e1bb(0x199),()=>{const _0xd37439=_0x13e1bb;this[_0xd37439(0x1c3)]=!0x0,this[_0xd37439(0x1ad)][_0xd37439(0x187)]();}),this[_0x13e1bb(0x191)][_0x13e1bb(0x1b0)][_0x13e1bb(0x16f)][_0x13e1bb(0x1a0)][_0x13e1bb(0x175)][_0x13e1bb(0x1ba)]&&this[_0x13e1bb(0x191)][_0x13e1bb(0x1b0)][_0x13e1bb(0x16f)][_0x13e1bb(0x1a3)](),this[_0x13e1bb(0x16d)]=!0x0;}[_0x4b81c6(0x1ca)](){const _0x50d05a=_0x4b81c6;if(!this[_0x50d05a(0x16d)])throw new _0x49e82d(_0x50d05a(0x1b2),this);this[_0x50d05a(0x171)](null);for(const _0x41ee11 of this[_0x50d05a(0x16e)])this[_0x50d05a(0x1c9)](_0x41ee11);this[_0x50d05a(0x1b1)](),this[_0x50d05a(0x16d)]=!0x1,this[_0x50d05a(0x17c)]=null;}[_0x4b81c6(0x1a2)](){const _0x4fb6f6=_0x4b81c6;this[_0x4fb6f6(0x16d)]&&this[_0x4fb6f6(0x1ca)]();}[_0x4b81c6(0x1b4)](_0x184ddb){const _0x3595db=_0x4b81c6;for(const _0x3ad052 of this[_0x3595db(0x18b)])_0x184ddb[_0x3595db(0x1b3)](_0x3ad052)||this[_0x3595db(0x1ad)][_0x3595db(0x185)](_0x3ad052);for(const _0x40897b of this[_0x3595db(0x17c)])_0x184ddb[_0x3595db(0x1b3)](_0x40897b)||this[_0x3595db(0x1c9)](_0x40897b);if(this[_0x3595db(0x191)]['ui'][_0x3595db(0x1c8)][_0x3595db(0x19b)]){for(const _0x43203a of _0x184ddb)this[_0x3595db(0x1b5)](_0x43203a);}this[_0x3595db(0x18b)]=_0x184ddb;}[_0x4b81c6(0x1b5)](_0x5b8119,_0x34fc9a=!0x1){const _0x445348=_0x4b81c6;this[_0x445348(0x1ad)][_0x445348(0x1ae)](_0x5b8119)||(this[_0x445348(0x16e)][_0x445348(0x1ae)](_0x5b8119)||this[_0x445348(0x18e)][_0x445348(0x1a5)](_0x5b8119[_0x445348(0x16f)])||(this[_0x445348(0x16e)][_0x445348(0x193)](_0x5b8119),this[_0x445348(0x18e)][_0x445348(0x193)]({'stackId':_0x5b8119[_0x445348(0x16f)]['id'],'view':_0x5b8119[_0x445348(0x16f)],'position':{'target':()=>this[_0x445348(0x16a)](_0x5b8119)}})),_0x34fc9a&&this[_0x445348(0x18e)][_0x445348(0x1c2)](_0x5b8119[_0x445348(0x16f)]['id']));}[_0x4b81c6(0x16a)](_0x277c9b){const _0x12f97c=_0x4b81c6,_0x48f8a1=_0x277c9b[_0x12f97c(0x1a4)],_0x11da63=this[_0x12f97c(0x191)][_0x12f97c(0x1b0)][_0x12f97c(0x16f)],_0x40a616=_0x11da63[_0x12f97c(0x1a0)][_0x12f97c(0x175)][_0x12f97c(0x1be)](),_0x4ecba9=_0x11da63[_0x12f97c(0x18c)][_0x12f97c(0x183)](_0x40a616);if(_0x4ecba9[_0x12f97c(0x170)](!0x0),_0x48f8a1){if(_0x48f8a1 instanceof _0x41971d)return _0x48f8a1;let _0x8240cc=[];for(const _0x49e24b of _0x48f8a1)_0x8240cc[_0x12f97c(0x174)](...(_0x2702f1=_0x49e24b[_0x12f97c(0x17d)](),Array[_0x12f97c(0x17a)](_0x2702f1)[_0x12f97c(0x19e)](DOMRect[_0x12f97c(0x1bc)])));_0x8240cc=function(_0x540aaf){const _0x1e3afa=_0x12f97c,_0xeed573=[];let _0x3d79c0=_0x540aaf[0x0];for(let _0x5f5bb3=0x1;_0x5f5bb3<_0x540aaf[_0x1e3afa(0x1c0)];_0x5f5bb3++)F(_0x3d79c0,_0x540aaf[_0x5f5bb3])?_0x3d79c0[_0x1e3afa(0x1ac)]+=_0x540aaf[_0x5f5bb3][_0x1e3afa(0x1ac)]:(_0xeed573[_0x1e3afa(0x174)](_0x3d79c0),_0x3d79c0=_0x540aaf[_0x5f5bb3]);return _0xeed573[_0x1e3afa(0x174)](_0x3d79c0),_0xeed573;}(_0x8240cc);const _0xc79de1=_0x4ecba9[_0x12f97c(0x177)]();return _0x8240cc[_0x12f97c(0x172)](_0x4e1c46=>_0x4e1c46[_0x12f97c(0x1c4)]<=_0xc79de1[_0x12f97c(0x1c4)]&&_0x4e1c46[_0x12f97c(0x189)]>=_0xc79de1[_0x12f97c(0x189)]&&_0x4e1c46[_0x12f97c(0x181)]<=_0xc79de1[_0x12f97c(0x181)]&&_0x4e1c46[_0x12f97c(0x18a)]>=_0xc79de1[_0x12f97c(0x18a)])||_0x8240cc[0x0];}var _0x2702f1;return _0x277c9b[_0x12f97c(0x1bf)]||_0x4ecba9;}[_0x4b81c6(0x1c9)](_0x24861a){const _0x400075=_0x4b81c6;this[_0x400075(0x16e)][_0x400075(0x1ae)](_0x24861a)&&this[_0x400075(0x18e)][_0x400075(0x1a5)](_0x24861a[_0x400075(0x16f)])&&(this[_0x400075(0x16e)][_0x400075(0x185)](_0x24861a),this[_0x400075(0x18e)][_0x400075(0x196)](_0x24861a[_0x400075(0x16f)]));}[_0x4b81c6(0x179)](_0x211c6a){const _0x7b2342=_0x4b81c6;this[_0x7b2342(0x1ad)][_0x7b2342(0x193)](_0x211c6a),this[_0x7b2342(0x1c9)](_0x211c6a);}}function F(_0x1f889f,_0x38e968){const _0x500d70=_0x4b81c6;return _0x1f889f[_0x500d70(0x1c4)]===_0x38e968[_0x500d70(0x1c4)]&&_0x1f889f[_0x500d70(0x189)]===_0x38e968[_0x500d70(0x189)]&&_0x1f889f[_0x500d70(0x18a)]===_0x38e968[_0x500d70(0x181)];}
|
|
23
|
+
const _0x47a6d8=_0x4d95;function _0x4d95(_0xd23260,_0x48e930){const _0xf2fab5=_0xf2fa();return _0x4d95=function(_0x4d9503,_0x59b11c){_0x4d9503=_0x4d9503-0xa1;let _0x2710ec=_0xf2fab5[_0x4d9503];return _0x2710ec;},_0x4d95(_0xd23260,_0x48e930);}function _0xf2fa(){const _0x489691=['_setSelectedAnnotations','_closeAnnotation','getClientRects','focusTracker','add','keystrokes','change:height','clear','_getBalloonTargetForAnnotation','get','34506494izFAsO','listenTo','remove','13290183OTCutF','switchTo','_balloon','setActiveAnnotation','visibleView','showStack','addObserver','init','_addedAnnotations','map','target','from','editableElement','_removeAnnotationFromBalloon','isFocused','editing','domConverter','stopListening','InlineAnnotations','1UqlPeu','isActive','inlineannotations-attach-already-attached','6oYQWRQ','refresh','delete','attach','3012688XredHZ','299144QJdsWT','find','focus','editor','requires','context','width','every','mousedown','detach','inlineannotations-detach-not-attached','updatePosition','top','hasView','set','view','change:visibleView','includes','blur','95QlvrKu','_manuallyClosed','getBoundingClientRect','inlineannotations-not-allowed-with-context','1473480eOjYbW','left','has','push','bottom','_selectedAnnotations','annotations','_addAnnotationToBalloon','1231643jXhZLa','getFirstRange','activeAnnotation','pluginName','plugins','isAttached','_forceRefresh','change:isFocused','document','inline','viewRangeToDom','collapse','getByView','register','selection','Esc','10HsbkCP','fromRect','length','1056966dHMYRZ','update','getOrderedSelectedAnnotations','hasActive','afterInit','right','destroy','targetRect'];_0xf2fa=function(){return _0x489691;};return _0xf2fa();}(function(_0x5a5026,_0x5eb6a1){const _0xc0efad=_0x4d95,_0x5bbe60=_0x5a5026();while(!![]){try{const _0x3d83e4=-parseInt(_0xc0efad(0xbe))/0x1*(-parseInt(_0xc0efad(0xf8))/0x2)+-parseInt(_0xc0efad(0xdd))/0x3+parseInt(_0xc0efad(0xc6))/0x4*(-parseInt(_0xc0efad(0xd9))/0x5)+-parseInt(_0xc0efad(0xc1))/0x6*(-parseInt(_0xc0efad(0xe5))/0x7)+parseInt(_0xc0efad(0xc5))/0x8+-parseInt(_0xc0efad(0xab))/0x9+-parseInt(_0xc0efad(0xf5))/0xa*(-parseInt(_0xc0efad(0xa8))/0xb);if(_0x3d83e4===_0x5eb6a1)break;else _0x5bbe60['push'](_0x5bbe60['shift']());}catch(_0x1ad097){_0x5bbe60['push'](_0x5bbe60['shift']());}}}(_0xf2fa,0xca707));import{Plugin as _0xc3e495}from'ckeditor5/src/core.js';import _0x15be11 from'./annotationsuis.js';import _0x5a2b95 from'./editorannotations.js';import{ContextualBalloon as _0x16a479}from'ckeditor5/src/ui.js';import{MouseObserver as _0x1059b3}from'ckeditor5/src/engine.js';import{CKEditorError as _0x40b30b,Rect as _0x3d2df6}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0xc3e495{static get[_0x47a6d8(0xca)](){return[_0x5a2b95,_0x16a479,_0x15be11];}static get[_0x47a6d8(0xe8)](){const _0x26c00a=_0x47a6d8;return _0x26c00a(0xbd);}constructor(_0x2840da){const _0x439977=_0x47a6d8;super(_0x2840da),_0x2840da[_0x439977(0xba)][_0x439977(0xd5)][_0x439977(0xb1)](_0x1059b3),this[_0x439977(0xea)]=!0x1,this[_0x439977(0xd4)](_0x439977(0xe7),null),this[_0x439977(0xe3)]=null,this[_0x439977(0xda)]=new Set(),this[_0x439977(0xad)]=_0x2840da[_0x439977(0xe9)][_0x439977(0xa7)](_0x16a479),this[_0x439977(0xb3)]=new Set(),this[_0x439977(0xe2)]=[],this[_0x439977(0xeb)]=!0x1;}[_0x47a6d8(0xb2)](){const _0x2716da=_0x47a6d8,_0x369cc4=this[_0x2716da(0xc9)][_0x2716da(0xe9)][_0x2716da(0xa7)](_0x15be11);_0x369cc4[_0x2716da(0xcb)]===this[_0x2716da(0xc9)]&&(_0x369cc4[_0x2716da(0xf2)](_0x2716da(0xee),this),this[_0x2716da(0xc9)][_0x2716da(0xa3)][_0x2716da(0xd4)](_0x2716da(0xf4),(_0x351c3e,_0x1c7f64)=>{const _0xb3a028=_0x2716da,_0x1a7aa0=this[_0xb3a028(0xad)];if(this[_0xb3a028(0xea)]&&_0x1a7aa0[_0xb3a028(0xaf)]){const _0x570680=this[_0xb3a028(0xe3)][_0xb3a028(0xf1)](_0x1a7aa0[_0xb3a028(0xaf)]);_0x570680&&this[_0xb3a028(0x101)](_0x570680),_0x1c7f64();}}));}[_0x47a6d8(0xfc)](){const _0x59f7f7=_0x47a6d8,_0x4035e8=this[_0x59f7f7(0xc9)][_0x59f7f7(0xe9)][_0x59f7f7(0xa7)](_0x15be11);_0x4035e8[_0x59f7f7(0xcb)]===this[_0x59f7f7(0xc9)]&&(_0x4035e8[_0x59f7f7(0xfb)]()||_0x4035e8[_0x59f7f7(0xac)](_0x59f7f7(0xee)));}[_0x47a6d8(0xae)](_0x38f524){const _0x3b5bd9=_0x47a6d8;_0x38f524!==this[_0x3b5bd9(0xe7)]&&(this[_0x3b5bd9(0xe7)]&&(this[_0x3b5bd9(0xe7)][_0x3b5bd9(0xbf)]=!0x1),_0x38f524&&this[_0x3b5bd9(0xc9)]['ui'][_0x3b5bd9(0xa1)][_0x3b5bd9(0xb9)]&&(this[_0x3b5bd9(0xe3)][_0x3b5bd9(0xdf)](_0x38f524)&&this[_0x3b5bd9(0xe4)](_0x38f524,!0x0),_0x38f524[_0x3b5bd9(0xbf)]=!0x0),_0x38f524||this[_0x3b5bd9(0x100)]([]),this[_0x3b5bd9(0xe7)]=_0x38f524);}[_0x47a6d8(0xc4)](_0x5bdbf1){const _0x295a43=_0x47a6d8;this[_0x295a43(0xe3)]=_0x5bdbf1;const _0x4dec76=this[_0x295a43(0xc9)][_0x295a43(0xe9)][_0x295a43(0xa7)](_0x15be11),_0x1627d7=this[_0x295a43(0xad)];if(this[_0x295a43(0xea)])throw new _0x40b30b(_0x295a43(0xc0),this);if(_0x4dec76[_0x295a43(0xcb)]!==this[_0x295a43(0xc9)])throw new _0x40b30b(_0x295a43(0xdc),this);const _0x5702f7=this[_0x295a43(0xc9)][_0x295a43(0xe9)][_0x295a43(0xa7)](_0x5a2b95);this[_0x295a43(0xa9)](_0x5702f7,_0x295a43(0xc2),()=>{const _0x1744e5=_0x295a43,_0x479126=_0x5702f7[_0x1744e5(0xfa)]({'annotations':this[_0x1744e5(0xe3)],'activeAnnotation':this[_0x1744e5(0xe7)]});var _0x340863,_0x55218b;!this[_0x1744e5(0xeb)]&&(_0x340863=_0x479126,_0x55218b=this[_0x1744e5(0xe2)],_0x340863[_0x1744e5(0xf7)]===_0x55218b[_0x1744e5(0xf7)]&&_0x340863[_0x1744e5(0xcd)](_0x2ebcf6=>_0x55218b[_0x1744e5(0xd7)](_0x2ebcf6)))||(this[_0x1744e5(0xeb)]=!0x1,this[_0x1744e5(0x100)](_0x479126),this[_0x1744e5(0xae)](_0x479126[0x0]||null));}),this[_0x295a43(0xa9)](_0x5702f7,_0x295a43(0xd8),(_0x54bbe4,{isAnnotationTracked:_0x197a79})=>{const _0x50eee7=_0x295a43;this[_0x50eee7(0xe7)]&&_0x197a79(this[_0x50eee7(0xe7)])&&(this[_0x50eee7(0x100)]([]),this[_0x50eee7(0xae)](null));}),this[_0x295a43(0xa9)](this[_0x295a43(0xc9)]['ui'][_0x295a43(0xa1)],_0x295a43(0xec),(_0x274a0f,_0x311f56,_0x2a391a)=>{const _0x31825b=_0x295a43;_0x2a391a||this[_0x31825b(0xae)](null);}),this[_0x295a43(0xa9)](_0x5bdbf1,_0x295a43(0xaa),(_0xb665fc,_0x3cca17)=>{const _0x6e4e38=_0x295a43;this[_0x6e4e38(0xb8)](_0x3cca17),_0x3cca17===this[_0x6e4e38(0xe7)]&&this[_0x6e4e38(0xae)](null);}),this[_0x295a43(0xa9)](_0x1627d7,_0x295a43(0xd6),(_0x407cc8,_0x38392c,_0x3ef92e,_0x4f5e02)=>{const _0x341d88=_0x295a43;_0x4f5e02&&this[_0x341d88(0xbc)](_0x4f5e02);const _0x5518ba=_0x5bdbf1[_0x341d88(0xf1)](_0x3ef92e);_0x3ef92e&&_0x5518ba&&(this[_0x341d88(0xa9)](_0x3ef92e,_0x341d88(0xa4),()=>{const _0x2974ef=_0x341d88;_0x1627d7[_0x2974ef(0xd1)]();}),this[_0x341d88(0xa9)](_0x3ef92e,_0x341d88(0xf4),()=>{const _0x438f5c=_0x341d88;this[_0x438f5c(0x101)](_0x5518ba),this[_0x438f5c(0xc9)][_0x438f5c(0xba)][_0x438f5c(0xd5)][_0x438f5c(0xc8)]();}),this[_0x341d88(0xe7)]!==_0x5518ba&&this[_0x341d88(0xae)](_0x5518ba));}),this[_0x295a43(0xa9)](this[_0x295a43(0xc9)]['ui'],_0x295a43(0xf9),()=>{const _0x555748=_0x295a43;_0x1627d7[_0x555748(0xaf)]&&(_0x5bdbf1[_0x555748(0xf1)](_0x1627d7[_0x555748(0xaf)])&&_0x1627d7[_0x555748(0xd1)]());}),this[_0x295a43(0xa9)](this[_0x295a43(0xc9)][_0x295a43(0xba)][_0x295a43(0xd5)][_0x295a43(0xed)],_0x295a43(0xce),()=>{const _0x5cfee4=_0x295a43;this[_0x5cfee4(0xeb)]=!0x0,this[_0x5cfee4(0xda)][_0x5cfee4(0xa5)]();}),this[_0x295a43(0xc9)][_0x295a43(0xba)][_0x295a43(0xd5)][_0x295a43(0xed)][_0x295a43(0xf3)][_0x295a43(0xb7)]&&this[_0x295a43(0xc9)][_0x295a43(0xba)][_0x295a43(0xd5)][_0x295a43(0xc8)](),this[_0x295a43(0xea)]=!0x0;}[_0x47a6d8(0xcf)](){const _0x2bc785=_0x47a6d8;if(!this[_0x2bc785(0xea)])throw new _0x40b30b(_0x2bc785(0xd0),this);this[_0x2bc785(0xae)](null);for(const _0x5c4a13 of this[_0x2bc785(0xb3)])this[_0x2bc785(0xb8)](_0x5c4a13);this[_0x2bc785(0xbc)](),this[_0x2bc785(0xea)]=!0x1,this[_0x2bc785(0xe3)]=null;}[_0x47a6d8(0xfe)](){const _0x4f0892=_0x47a6d8;this[_0x4f0892(0xea)]&&this[_0x4f0892(0xcf)]();}[_0x47a6d8(0x100)](_0x14f8d1){const _0x3ada57=_0x47a6d8;for(const _0x250d0f of this[_0x3ada57(0xe2)])_0x14f8d1[_0x3ada57(0xd7)](_0x250d0f)||this[_0x3ada57(0xda)][_0x3ada57(0xc3)](_0x250d0f);for(const _0x1b97e3 of this[_0x3ada57(0xe3)])_0x14f8d1[_0x3ada57(0xd7)](_0x1b97e3)||this[_0x3ada57(0xb8)](_0x1b97e3);if(this[_0x3ada57(0xc9)]['ui'][_0x3ada57(0xa1)][_0x3ada57(0xb9)]){for(const _0x2d2ebc of _0x14f8d1)this[_0x3ada57(0xe4)](_0x2d2ebc);}this[_0x3ada57(0xe2)]=_0x14f8d1;}[_0x47a6d8(0xe4)](_0x3d220a,_0x4dd2ef=!0x1){const _0x41a948=_0x47a6d8;this[_0x41a948(0xda)][_0x41a948(0xdf)](_0x3d220a)||(this[_0x41a948(0xb3)][_0x41a948(0xdf)](_0x3d220a)||this[_0x41a948(0xad)][_0x41a948(0xd3)](_0x3d220a[_0x41a948(0xd5)])||(this[_0x41a948(0xb3)][_0x41a948(0xa2)](_0x3d220a),this[_0x41a948(0xad)][_0x41a948(0xa2)]({'stackId':_0x3d220a[_0x41a948(0xd5)]['id'],'view':_0x3d220a[_0x41a948(0xd5)],'position':{'target':()=>this[_0x41a948(0xa6)](_0x3d220a)}})),_0x4dd2ef&&this[_0x41a948(0xad)][_0x41a948(0xb0)](_0x3d220a[_0x41a948(0xd5)]['id']));}[_0x47a6d8(0xa6)](_0x2d974e){const _0x447c4b=_0x47a6d8,_0x48fd9f=_0x2d974e[_0x447c4b(0xb5)],_0xf33f74=this[_0x447c4b(0xc9)][_0x447c4b(0xba)][_0x447c4b(0xd5)],_0x148108=_0xf33f74[_0x447c4b(0xed)][_0x447c4b(0xf3)][_0x447c4b(0xe6)](),_0x1ad106=_0xf33f74[_0x447c4b(0xbb)][_0x447c4b(0xef)](_0x148108);if(_0x1ad106[_0x447c4b(0xf0)](!0x0),_0x48fd9f){if(_0x48fd9f instanceof _0x3d2df6)return _0x48fd9f;let _0x54cc28=[];for(const _0x308255 of _0x48fd9f)_0x54cc28[_0x447c4b(0xe0)](...(_0x41c64=_0x308255[_0x447c4b(0x102)](),Array[_0x447c4b(0xb6)](_0x41c64)[_0x447c4b(0xb4)](DOMRect[_0x447c4b(0xf6)])));_0x54cc28=function(_0x37fa24){const _0x1af9a1=_0x447c4b,_0x576675=[];let _0x4181bd=_0x37fa24[0x0];for(let _0x232678=0x1;_0x232678<_0x37fa24[_0x1af9a1(0xf7)];_0x232678++)F(_0x4181bd,_0x37fa24[_0x232678])?_0x4181bd[_0x1af9a1(0xcc)]+=_0x37fa24[_0x232678][_0x1af9a1(0xcc)]:(_0x576675[_0x1af9a1(0xe0)](_0x4181bd),_0x4181bd=_0x37fa24[_0x232678]);return _0x576675[_0x1af9a1(0xe0)](_0x4181bd),_0x576675;}(_0x54cc28);const _0x383991=_0x1ad106[_0x447c4b(0xdb)]();return _0x54cc28[_0x447c4b(0xc7)](_0x26b43f=>_0x26b43f[_0x447c4b(0xd2)]<=_0x383991[_0x447c4b(0xd2)]&&_0x26b43f[_0x447c4b(0xe1)]>=_0x383991[_0x447c4b(0xe1)]&&_0x26b43f[_0x447c4b(0xde)]<=_0x383991[_0x447c4b(0xde)]&&_0x26b43f[_0x447c4b(0xfd)]>=_0x383991[_0x447c4b(0xfd)])||_0x54cc28[0x0];}var _0x41c64;return _0x2d974e[_0x447c4b(0xff)]||_0x1ad106;}[_0x47a6d8(0xb8)](_0x43d996){const _0x37d848=_0x47a6d8;this[_0x37d848(0xb3)][_0x37d848(0xdf)](_0x43d996)&&this[_0x37d848(0xad)][_0x37d848(0xd3)](_0x43d996[_0x37d848(0xd5)])&&(this[_0x37d848(0xb3)][_0x37d848(0xc3)](_0x43d996),this[_0x37d848(0xad)][_0x37d848(0xaa)](_0x43d996[_0x37d848(0xd5)]));}[_0x47a6d8(0x101)](_0x255eac){const _0x3c5ac8=_0x47a6d8;this[_0x3c5ac8(0xda)][_0x3c5ac8(0xa2)](_0x255eac),this[_0x3c5ac8(0xb8)](_0x255eac);}}function F(_0xbb8f9b,_0x5ca338){const _0x450127=_0x47a6d8;return _0xbb8f9b[_0x450127(0xd2)]===_0x5ca338[_0x450127(0xd2)]&&_0xbb8f9b[_0x450127(0xe1)]===_0x5ca338[_0x450127(0xe1)]&&_0xbb8f9b[_0x450127(0xfd)]===_0x5ca338[_0x450127(0xde)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2912c1=_0x253b;(function(_0x3203d0,_0x3bea02){const _0x56c725=_0x253b,_0x19267b=_0x3203d0();while(!![]){try{const _0x524e41=parseInt(_0x56c725(0x199))/0x1*(parseInt(_0x56c725(0x17d))/0x2)+-parseInt(_0x56c725(0x1b5))/0x3+-parseInt(_0x56c725(0x1b2))/0x4*(parseInt(_0x56c725(0x186))/0x5)+-parseInt(_0x56c725(0x1d8))/0x6*(parseInt(_0x56c725(0x17c))/0x7)+-parseInt(_0x56c725(0x182))/0x8+parseInt(_0x56c725(0x1b8))/0x9+parseInt(_0x56c725(0x18b))/0xa*(parseInt(_0x56c725(0x17a))/0xb);if(_0x524e41===_0x3bea02)break;else _0x19267b['push'](_0x19267b['shift']());}catch(_0x40662c){_0x19267b['push'](_0x19267b['shift']());}}}(_0x5065,0x56a4c));import{ContextPlugin as _0x332b46,Context as _0x4adc78}from'ckeditor5/src/core.js';import _0x1d71f1 from'./annotationsuis.js';import _0x4861dd from'./sidebar.js';import _0x4e7455 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0xf92090,BodyCollection as _0x3566ad}from'ckeditor5/src/ui.js';function _0x5065(){const _0x2398dd=['narrowsidebar-detach-not-attached','isAttached','attachToDom','2164080IBXjDo','_annotationToNarrowView','blur','narrowSidebar','5QEVueV','_selectedAnnotations','get','getSidebarItemView','addEventListener','10UCESTH','context','add','cancel','northArrowSouthEast','mousedown','southArrowNorth','setActiveAnnotation','refreshPositioning','clear','length','southArrowNorthEast','northArrowSouthWest','narrowsidebar-attach-already-attached','440203IaqOoJ','_destroyEditorAnnotationsIntegration','focus','remove','getOrderedSelectedAnnotations','isVisible','_domEmitter','preventDefault','rearrange','removeEventListener','detachFromDom','ready','pluginName','stop','resize','getByView','defaultPositions','stopPropagation','_updateBalloonPosition','isDirty','element','ck-sidebar--narrow','execute','_hideBalloon','_attachToContainer','491380YakZGj','_refreshPositioningDebounced','register','1819404fLcZst','_showBalloon','stopListening','5128794LJhBLi','annotations','init','bind','keyCode','listenTo','bodyCollection','_setSelectedAnnotations','target','set:container','_detachFromContainer','focusableElements','_annotations','locale','change:height','_refreshPositioning','from','_attachListeners','requires','balloonPanelView','northArrowSouth','detach','plugins','low','refresh','esc','hasDomSelection','activeAnnotation','editors','_manuallyClosedAnnotationViews','set','unpin','6jPqDWY','southArrowNorthWest','Esc','contains','create','has','delete','uiUpdate','high','EditorAnnotations','_integrateWithEditorAnnotations','first','attach','_editorAnnotations','content','addAnnotation','off','view','preventClosingBalloon','keydown','includes','NarrowSidebar','annotationType','type','change:container','number','values','destroy','find','4557619FqABOl','pin','487781sQmATx','2BwdTwA','_detachListeners'];_0x5065=function(){return _0x2398dd;};return _0x5065();}function _0x253b(_0x54b989,_0x4d1ced){const _0x5065f4=_0x5065();return _0x253b=function(_0x253bb3,_0x4fe2d6){_0x253bb3=_0x253bb3-0x15e;let _0x1f580e=_0x5065f4[_0x253bb3];return _0x1f580e;},_0x253b(_0x54b989,_0x4d1ced);}import{CKEditorError as _0x431b3e,DomEmitterMixin as _0x2b1b35,keyCodes as _0x13db19,Collection as _0x125871}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x38bf8e}from'lodash-es';import _0x3c8341 from'./editorannotations.js';export default class i extends _0x332b46{static get[_0x2912c1(0x1ca)](){return[_0x4861dd,_0x1d71f1];}static get[_0x2912c1(0x1a5)](){const _0x702525=_0x2912c1;return _0x702525(0x172);}constructor(_0x9c3303){const _0x484711=_0x2912c1;super(_0x9c3303),this[_0x484711(0x180)]=!0x1,this[_0x484711(0x1d5)]=new Set(),this[_0x484711(0x19f)]=Object[_0x484711(0x161)](_0x2b1b35),this[_0x484711(0x183)]=new Map(),this[_0x484711(0x1d6)](_0x484711(0x1d3),null),this[_0x484711(0x1b9)]=null,this[_0x484711(0x187)]=[],this[_0x484711(0x16a)]=new _0x125871(),this[_0x484711(0x1b3)]=_0x38bf8e(()=>{const _0x338a38=_0x484711;this[_0x338a38(0x1c7)]();},0xfa,{'leading':!0x1});}[_0x2912c1(0x1ba)](){const _0xf4ea5f=_0x2912c1;this[_0xf4ea5f(0x18c)][_0xf4ea5f(0x1ce)][_0xf4ea5f(0x188)](_0x1d71f1)[_0xf4ea5f(0x1b4)](_0xf4ea5f(0x185),this),this[_0xf4ea5f(0x1be)]=new _0x3566ad(this[_0xf4ea5f(0x18c)][_0xf4ea5f(0x1c5)]),this[_0xf4ea5f(0x1cb)]=new _0xf92090(this[_0xf4ea5f(0x18c)][_0xf4ea5f(0x1c5)]),this[_0xf4ea5f(0x1be)][_0xf4ea5f(0x181)](),this[_0xf4ea5f(0x1be)][_0xf4ea5f(0x18d)](this[_0xf4ea5f(0x1cb)]);}[_0x2912c1(0x169)](_0x57ca5b){const _0xa131a1=_0x2912c1;this[_0xa131a1(0x1b9)]=_0x57ca5b;const _0x3ff538=this[_0xa131a1(0x18c)][_0xa131a1(0x1ce)][_0xa131a1(0x188)](_0x4861dd),_0x2949af=this[_0xa131a1(0x1cb)];if(_0x3ff538[_0xa131a1(0x1c4)]=_0x57ca5b,this[_0xa131a1(0x180)])throw new _0x431b3e(_0xa131a1(0x198),this);this[_0xa131a1(0x180)]=!0x0,this[_0xa131a1(0x1bd)](_0x3ff538,_0xa131a1(0x1c1),()=>{const _0x3f7a74=_0xa131a1;this[_0x3f7a74(0x1cd)](),this[_0x3f7a74(0x1bd)](_0x3ff538,_0x3f7a74(0x175),_0x1cca56=>{const _0x5b96eb=_0x3f7a74;_0x1cca56[_0x5b96eb(0x16d)](),this[_0x5b96eb(0x169)](_0x57ca5b);});}),_0x3ff538[_0xa131a1(0x1b1)]({'viewClass':_0xa131a1(0x1ae),'spaceBetweenItems':0x5});const _0x4e38c1=_0x51fe82=>{const _0x324ff9=_0xa131a1,_0x42a597=new _0x4e7455(this[_0x324ff9(0x18c)][_0x324ff9(0x1c5)]);_0x3ff538[_0x324ff9(0x16c)](_0x51fe82,_0x42a597),this[_0x324ff9(0x183)][_0x324ff9(0x1d6)](_0x51fe82,_0x42a597),_0x42a597[_0x324ff9(0x1bb)](_0x324ff9(0x1ac),_0x324ff9(0x173),_0x324ff9(0x176))['to'](_0x51fe82[_0x324ff9(0x16e)],_0x324ff9(0x1ac),_0x324ff9(0x174),_0x324ff9(0x195)),_0x42a597['on'](_0x324ff9(0x1af),()=>{const _0x7d4f0=_0x324ff9;this[_0x7d4f0(0x1d5)][_0x7d4f0(0x194)](),_0x2949af[_0x7d4f0(0x16b)][_0x7d4f0(0x168)]!==_0x51fe82[_0x7d4f0(0x16e)]?(this[_0x7d4f0(0x1b6)](_0x51fe82),_0x51fe82[_0x7d4f0(0x16e)][_0x7d4f0(0x1ad)][_0x7d4f0(0x19b)](),this[_0x7d4f0(0x192)](_0x51fe82)):this[_0x7d4f0(0x192)](null);});};for(const _0x30caff of _0x57ca5b)_0x4e38c1(_0x30caff);this[_0xa131a1(0x1bd)](_0x57ca5b,_0xa131a1(0x18d),(_0x7ce76,_0x3dffae)=>{_0x4e38c1(_0x3dffae);}),this[_0xa131a1(0x1bd)](_0x57ca5b,_0xa131a1(0x19c),(_0x791589,_0x3908eb,_0x47064e)=>{const _0xeffe1f=_0xa131a1;this[_0xeffe1f(0x183)][_0xeffe1f(0x188)](_0x3908eb)[_0xeffe1f(0x178)](),this[_0xeffe1f(0x183)][_0xeffe1f(0x163)](_0x3908eb),_0x3ff538[_0xeffe1f(0x1a1)]({'removedAnnotation':_0x3908eb,'previousAnnotation':_0x57ca5b[_0xeffe1f(0x188)](_0x47064e-0x1),'nextAnnotation':_0x57ca5b[_0xeffe1f(0x188)](_0x47064e+0x1)}),_0x3908eb===this[_0xeffe1f(0x1d3)]&&this[_0xeffe1f(0x192)](null);},{'priority':_0xa131a1(0x1cf)}),this[_0xa131a1(0x1bd)](_0x57ca5b,_0xa131a1(0x19b),(_0x5e386c,_0x40d157)=>{const _0x77d5c9=_0xa131a1;this[_0x77d5c9(0x192)](_0x40d157);}),this[_0xa131a1(0x1bd)](_0x57ca5b,_0xa131a1(0x184),()=>{const _0x54a944=_0xa131a1;this[_0x54a944(0x192)](null);}),this[_0xa131a1(0x19f)][_0xa131a1(0x1bd)](document,_0xa131a1(0x170),(_0x64236c,_0x226b15)=>{const _0x3a8a66=_0xa131a1;_0x226b15[_0x3a8a66(0x1bc)]===_0x13db19[_0x3a8a66(0x1d1)]&&_0x2949af[_0x3a8a66(0x19e)]&&(this[_0x3a8a66(0x1d5)][_0x3a8a66(0x18d)](_0x2949af[_0x3a8a66(0x16b)][_0x3a8a66(0x168)]),this[_0x3a8a66(0x1b0)](),_0x226b15[_0x3a8a66(0x1aa)](),_0x226b15[_0x3a8a66(0x1a0)]());}),this[_0xa131a1(0x19f)][_0xa131a1(0x1bd)](document,_0xa131a1(0x190),(_0x2ec8e3,_0xc56e7)=>{const _0x35d78d=_0xa131a1,_0x51ba01=_0xc56e7[_0x35d78d(0x1c0)];_0x2949af[_0x35d78d(0x19e)]&&_0x2949af[_0x35d78d(0x1ad)][_0x35d78d(0x160)](_0x51ba01)||_0x3ff538[_0x35d78d(0x16e)][_0x35d78d(0x1ad)][_0x35d78d(0x160)](_0x51ba01)||_0x2ec8e3[_0x35d78d(0x16f)]||this[_0x35d78d(0x1d3)]&&this[_0x35d78d(0x1d3)][_0x35d78d(0x1c3)][_0x35d78d(0x179)](_0x549373=>_0x549373[_0x35d78d(0x160)](_0x51ba01))||(this[_0x35d78d(0x1d5)][_0x35d78d(0x194)](),this[_0x35d78d(0x1b0)](),this[_0x35d78d(0x192)](null));});const _0x445f85=this[_0xa131a1(0x18c)]instanceof _0x4adc78?this[_0xa131a1(0x18c)][_0xa131a1(0x1d4)]:new _0x125871([this[_0xa131a1(0x18c)]]);for(const _0x2e8275 of _0x445f85)this[_0xa131a1(0x167)](_0x2e8275);this[_0xa131a1(0x1bd)](_0x445f85,_0xa131a1(0x18d),(_0x137d00,_0x501310)=>{const _0x50824e=_0xa131a1;this[_0x50824e(0x1bd)](_0x501310,_0x50824e(0x1a4),()=>{const _0x15601e=_0x50824e;this[_0x15601e(0x167)](_0x501310);});}),this[_0xa131a1(0x1bd)](_0x445f85,_0xa131a1(0x19c),(_0x201930,_0x5c422a)=>{const _0x53544f=_0xa131a1;_0x5c422a[_0x53544f(0x1ce)][_0x53544f(0x162)](_0x53544f(0x166))&&this[_0x53544f(0x19a)](_0x5c422a[_0x53544f(0x1ce)][_0x53544f(0x188)](_0x53544f(0x166)));}),window[_0xa131a1(0x18a)](_0xa131a1(0x1a7),this[_0xa131a1(0x1b3)]),this[_0xa131a1(0x1c7)]();}[_0x2912c1(0x192)](_0x1fec1d){const _0x2e5c8b=_0x2912c1;if(_0x1fec1d===this[_0x2e5c8b(0x1d3)])return;const _0x1d2ed0=this[_0x2e5c8b(0x18c)][_0x2e5c8b(0x1ce)][_0x2e5c8b(0x188)](_0x4861dd);if(_0x1d2ed0[_0x2e5c8b(0x1d0)]({'blurredAnnotation':this[_0x2e5c8b(0x1d3)],'activatedAnnotation':_0x1fec1d,'disableAnimationOnActivatedAnnotation':!0x0}),_0x1fec1d)_0x1d2ed0[_0x2e5c8b(0x189)](_0x1fec1d)?this[_0x2e5c8b(0x1b6)](_0x1fec1d):this[_0x2e5c8b(0x1b0)]();else this[_0x2e5c8b(0x1b0)]();this[_0x2e5c8b(0x1d3)]=_0x1fec1d;}[_0x2912c1(0x1cd)](){const _0x377b3b=_0x2912c1;if(!this[_0x377b3b(0x180)])throw new _0x431b3e(_0x377b3b(0x17f),this);this[_0x377b3b(0x192)](null);const _0x9ed05f=this[_0x377b3b(0x18c)][_0x377b3b(0x1ce)][_0x377b3b(0x188)](_0x4861dd);this[_0x377b3b(0x1b0)](),Array[_0x377b3b(0x1c8)](this[_0x377b3b(0x183)][_0x377b3b(0x177)](),_0x28c9f9=>_0x28c9f9[_0x377b3b(0x178)]()),this[_0x377b3b(0x183)][_0x377b3b(0x194)](),_0x9ed05f[_0x377b3b(0x1c2)](this[_0x377b3b(0x1b9)]),this[_0x377b3b(0x1b7)](),this[_0x377b3b(0x19f)][_0x377b3b(0x1b7)](),this[_0x377b3b(0x18c)]instanceof _0x4adc78&&this[_0x377b3b(0x1b7)](this[_0x377b3b(0x18c)][_0x377b3b(0x1d4)]);for(const _0x125161 of Array[_0x377b3b(0x1c8)](this[_0x377b3b(0x16a)]))this[_0x377b3b(0x19a)](_0x125161);window[_0x377b3b(0x1a2)](_0x377b3b(0x1a7),this[_0x377b3b(0x1b3)]),this[_0x377b3b(0x1b3)][_0x377b3b(0x18e)](),this[_0x377b3b(0x187)]=[],this[_0x377b3b(0x180)]=!0x1,this[_0x377b3b(0x1b9)]=null;}[_0x2912c1(0x178)](){const _0x13b37d=_0x2912c1;this[_0x13b37d(0x180)]&&this[_0x13b37d(0x1cd)](),this[_0x13b37d(0x1be)][_0x13b37d(0x1a3)]();}[_0x2912c1(0x167)](_0x51a09b){const _0x2f6d6e=_0x2912c1,_0x4294e4=_0x51a09b[_0x2f6d6e(0x1ce)][_0x2f6d6e(0x188)](_0x3c8341),_0x13df15=this[_0x2f6d6e(0x18c)][_0x2f6d6e(0x1ce)][_0x2f6d6e(0x188)](_0x4861dd),_0x6b46cf=this[_0x2f6d6e(0x1b9)],_0x27e293=this[_0x2f6d6e(0x1cb)],_0x310524=()=>{const _0x5b245a=_0x2f6d6e,_0x4c4663=_0x4294e4[_0x5b245a(0x19d)]({'annotations':this[_0x5b245a(0x1b9)],'activeAnnotation':this[_0x5b245a(0x1d3)]});this[_0x5b245a(0x1bf)](_0x4c4663),this[_0x5b245a(0x192)](_0x4c4663[0x0]||null);};this[_0x2f6d6e(0x1bd)](_0x4294e4,_0x2f6d6e(0x1d0),_0x310524),this[_0x2f6d6e(0x1bd)](_0x4294e4,_0x2f6d6e(0x184),(_0x13bb93,{isAnnotationTracked:_0x214d65})=>{const _0x1ce266=_0x2f6d6e;this[_0x1ce266(0x1d3)]&&_0x214d65(this[_0x1ce266(0x1d3)])&&(this[_0x1ce266(0x1bf)]([]),this[_0x1ce266(0x192)](null));}),this[_0x2f6d6e(0x1bd)](_0x4294e4,_0x2f6d6e(0x164),()=>{const _0x4c6ffe=_0x2f6d6e;this[_0x4c6ffe(0x1b3)]();}),this[_0x2f6d6e(0x1bd)](_0x6b46cf,_0x2f6d6e(0x184),_0xb21f0f=>{const _0x3fdb13=_0x2f6d6e;_0x4294e4[_0x3fdb13(0x1d2)]()&&_0xb21f0f[_0x3fdb13(0x1a6)]();},{'priority':_0x2f6d6e(0x165)}),this[_0x2f6d6e(0x1bd)](this[_0x2f6d6e(0x19f)],_0x2f6d6e(0x190),(_0x268a24,_0x12f472)=>{const _0x47371b=_0x2f6d6e,_0xe7c412=_0x12f472[_0x47371b(0x1c0)];_0x27e293[_0x47371b(0x19e)]&&_0x27e293[_0x47371b(0x1ad)][_0x47371b(0x160)](_0xe7c412)||_0x13df15[_0x47371b(0x16e)][_0x47371b(0x1ad)][_0x47371b(0x160)](_0xe7c412)||this[_0x47371b(0x1d3)]&&_0x4294e4[_0x47371b(0x1d2)]()&&(_0x310524(),_0x268a24[_0x47371b(0x16f)]=!0x0);},{'priority':_0x2f6d6e(0x165)}),this[_0x2f6d6e(0x16a)][_0x2f6d6e(0x18d)](_0x4294e4);}[_0x2912c1(0x19a)](_0x95e074){const _0x4a11d5=_0x2912c1;_0x95e074&&(this[_0x4a11d5(0x1b7)](_0x95e074),this[_0x4a11d5(0x16a)][_0x4a11d5(0x19c)](_0x95e074));}[_0x2912c1(0x1bf)](_0x11b758){const _0x1a1f86=_0x2912c1;for(const _0x37ea22 of this[_0x1a1f86(0x187)])_0x11b758[_0x1a1f86(0x171)](_0x37ea22)||this[_0x1a1f86(0x1d5)][_0x1a1f86(0x163)](_0x37ea22[_0x1a1f86(0x16e)]);this[_0x1a1f86(0x187)]=_0x11b758;}[_0x2912c1(0x1c7)](){const _0x318089=_0x2912c1,_0x26c259=this[_0x318089(0x1cb)];this[_0x318089(0x1b9)][_0x318089(0x193)](),_0x26c259[_0x318089(0x19e)]&&this[_0x318089(0x1ab)]();}[_0x2912c1(0x1b6)](_0x2bb5c6){const _0x49a2a2=_0x2912c1;if(this[_0x49a2a2(0x1d5)][_0x49a2a2(0x162)](_0x2bb5c6[_0x49a2a2(0x16e)]))return;const _0x1bf0eb=this[_0x49a2a2(0x1cb)][_0x49a2a2(0x16b)][_0x49a2a2(0x168)];_0x1bf0eb!==_0x2bb5c6[_0x49a2a2(0x16e)]?(_0x1bf0eb&&this[_0x49a2a2(0x17e)](_0x1bf0eb),this[_0x49a2a2(0x1c9)](_0x2bb5c6[_0x49a2a2(0x16e)]),this[_0x49a2a2(0x1cb)][_0x49a2a2(0x16b)][_0x49a2a2(0x194)](),this[_0x49a2a2(0x1cb)][_0x49a2a2(0x16b)][_0x49a2a2(0x18d)](_0x2bb5c6[_0x49a2a2(0x16e)]),this[_0x49a2a2(0x1ab)]()):this[_0x49a2a2(0x1ab)]();}[_0x2912c1(0x1ab)](){const _0x3c3d59=_0x2912c1,_0x5b8155=this[_0x3c3d59(0x1cb)][_0x3c3d59(0x16b)][_0x3c3d59(0x168)],_0x5ab0a9=_0x5b8155&&this[_0x3c3d59(0x1b9)][_0x3c3d59(0x1a8)](_0x5b8155);if(!_0x5ab0a9||!this[_0x3c3d59(0x183)][_0x3c3d59(0x162)](_0x5ab0a9))return;const _0x46de5d=this[_0x3c3d59(0x183)][_0x3c3d59(0x188)](_0x5ab0a9)[_0x3c3d59(0x1ad)],_0x4586ce=(function(){const _0x5d72af=_0x3c3d59,_0x47c055=_0xf92090[_0x5d72af(0x1a9)];return[_0x47c055[_0x5d72af(0x196)],_0x47c055[_0x5d72af(0x18f)],_0x47c055[_0x5d72af(0x191)],_0x47c055[_0x5d72af(0x1cc)],_0x47c055[_0x5d72af(0x15e)],_0x47c055[_0x5d72af(0x197)]];}());this[_0x3c3d59(0x1cb)][_0x3c3d59(0x17b)]({'target':_0x46de5d,'positions':_0x4586ce});}[_0x2912c1(0x1b0)](){const _0x2ec043=_0x2912c1,_0x3cf6d2=this[_0x2ec043(0x1cb)],_0x3ef453=_0x3cf6d2[_0x2ec043(0x16b)][_0x2ec043(0x168)];_0x3ef453&&(this[_0x2ec043(0x17e)](_0x3ef453),_0x3cf6d2[_0x2ec043(0x1d7)](),_0x3cf6d2[_0x2ec043(0x16b)][_0x2ec043(0x194)]());}[_0x2912c1(0x1c9)](_0x2f1510){const _0x33b176=_0x2912c1;this[_0x33b176(0x1bd)](_0x2f1510,_0x33b176(0x1c6),()=>this[_0x33b176(0x1ab)]()),this[_0x33b176(0x1bd)](_0x2f1510,_0x33b176(0x15f),(_0x430123,_0x164795)=>{const _0x261352=_0x33b176;this[_0x261352(0x1d5)][_0x261352(0x18d)](_0x2f1510),this[_0x261352(0x1b0)](),_0x164795();});}[_0x2912c1(0x17e)](_0x3c387b){const _0x108a48=_0x2912c1;this[_0x108a48(0x1b7)](_0x3c387b);}}
|
|
23
|
+
const _0x2e4518=_0x4c59;(function(_0x415645,_0x489989){const _0x1e0c97=_0x4c59,_0x811336=_0x415645();while(!![]){try{const _0x4c4291=parseInt(_0x1e0c97(0x1d2))/0x1*(-parseInt(_0x1e0c97(0x177))/0x2)+-parseInt(_0x1e0c97(0x1b0))/0x3*(parseInt(_0x1e0c97(0x1a4))/0x4)+-parseInt(_0x1e0c97(0x173))/0x5*(parseInt(_0x1e0c97(0x1c7))/0x6)+-parseInt(_0x1e0c97(0x193))/0x7+-parseInt(_0x1e0c97(0x1cc))/0x8*(parseInt(_0x1e0c97(0x1b1))/0x9)+parseInt(_0x1e0c97(0x1c9))/0xa+parseInt(_0x1e0c97(0x18b))/0xb*(parseInt(_0x1e0c97(0x1b5))/0xc);if(_0x4c4291===_0x489989)break;else _0x811336['push'](_0x811336['shift']());}catch(_0x4ca25d){_0x811336['push'](_0x811336['shift']());}}}(_0x1b10,0x717ea));import{ContextPlugin as _0x30abe1,Context as _0x493af6}from'ckeditor5/src/core.js';import _0x3c1ad3 from'./annotationsuis.js';function _0x4c59(_0x4ba826,_0x16ddde){const _0x1b10ee=_0x1b10();return _0x4c59=function(_0x4c596c,_0x8c1b1){_0x4c596c=_0x4c596c-0x162;let _0x165dc3=_0x1b10ee[_0x4c596c];return _0x165dc3;},_0x4c59(_0x4ba826,_0x16ddde);}import _0x3a8f98 from'./sidebar.js';import _0x57b8d6 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x4278d6,BodyCollection as _0x38225e}from'ckeditor5/src/ui.js';import{CKEditorError as _0x390941,DomEmitterMixin as _0x371b20,keyCodes as _0x3913dd,Collection as _0x1947e8}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x4234ae}from'lodash-es';import _0x18e76b from'./editorannotations.js';function _0x1b10(){const _0x4183e3=['cancel','get','attach','narrowsidebar-detach-not-attached','detachFromDom','focus','pluginName','view','_attachToContainer','getByView','_integrateWithEditorAnnotations','_destroyEditorAnnotationsIntegration','focusableElements','has','set','isDirty','target','preventDefault','bind','from','low','setActiveAnnotation','destroy','annotationType','keyCode','58655YFszdD','Esc','_annotations','northArrowSouthWest','69700tUAEPZ','number','northArrowSouthEast','attachToDom','southArrowNorthWest','_detachListeners','find','element','_showBalloon','NarrowSidebar','blur','narrowSidebar','clear','resize','execute','northArrowSouth','_selectedAnnotations','stopListening','init','refreshPositioning','25814899YBbNnc','_domEmitter','southArrowNorth','_editorAnnotations','isAttached','set:container','_detachFromContainer','plugins','2605176OpezSC','create','contains','defaultPositions','stop','esc','off','stopPropagation','EditorAnnotations','uiUpdate','southArrowNorthEast','register','activeAnnotation','remove','mousedown','bodyCollection','addEventListener','837928BNUFOu','hasDomSelection','_annotationToNarrowView','type','keydown','ready','requires','rearrange','high','unpin','change:container','add','9xkwqan','18hCOEID','delete','pin','context','12nWptwU','getOrderedSelectedAnnotations','_refreshPositioningDebounced','preventClosingBalloon','addAnnotation','content','_refreshPositioning','detach','editors','balloonPanelView','narrowsidebar-attach-already-attached','ck-sidebar--narrow','length','_hideBalloon','locale','includes','_manuallyClosedAnnotationViews','_setSelectedAnnotations','96PmTZQV','getSidebarItemView','8540010GButWg','listenTo','refresh','2984304RsXqoM','first','change:height','annotations','isVisible','values','23quEKbF','removeEventListener','_updateBalloonPosition','_attachListeners'];_0x1b10=function(){return _0x4183e3;};return _0x1b10();}export default class i extends _0x30abe1{static get[_0x2e4518(0x1aa)](){return[_0x3a8f98,_0x3c1ad3];}static get[_0x2e4518(0x1dc)](){const _0x25ed54=_0x2e4518;return _0x25ed54(0x180);}constructor(_0x1cfd54){const _0xd89278=_0x2e4518;super(_0x1cfd54),this[_0xd89278(0x18f)]=!0x1,this[_0xd89278(0x1c5)]=new Set(),this[_0xd89278(0x18c)]=Object[_0xd89278(0x194)](_0x371b20),this[_0xd89278(0x1a6)]=new Map(),this[_0xd89278(0x168)](_0xd89278(0x19f),null),this[_0xd89278(0x1cf)]=null,this[_0xd89278(0x187)]=[],this[_0xd89278(0x18e)]=new _0x1947e8(),this[_0xd89278(0x1b7)]=_0x4234ae(()=>{const _0x457c95=_0xd89278;this[_0x457c95(0x1bb)]();},0xfa,{'leading':!0x1});}[_0x2e4518(0x189)](){const _0x4e7213=_0x2e4518;this[_0x4e7213(0x1b4)][_0x4e7213(0x192)][_0x4e7213(0x1d7)](_0x3c1ad3)[_0x4e7213(0x19e)](_0x4e7213(0x182),this),this[_0x4e7213(0x1a2)]=new _0x38225e(this[_0x4e7213(0x1b4)][_0x4e7213(0x1c3)]),this[_0x4e7213(0x1be)]=new _0x4278d6(this[_0x4e7213(0x1b4)][_0x4e7213(0x1c3)]),this[_0x4e7213(0x1a2)][_0x4e7213(0x17a)](),this[_0x4e7213(0x1a2)][_0x4e7213(0x1af)](this[_0x4e7213(0x1be)]);}[_0x2e4518(0x1d8)](_0xce4f29){const _0x2d9855=_0x2e4518;this[_0x2d9855(0x1cf)]=_0xce4f29;const _0x3d7a50=this[_0x2d9855(0x1b4)][_0x2d9855(0x192)][_0x2d9855(0x1d7)](_0x3a8f98),_0x3c586c=this[_0x2d9855(0x1be)];if(_0x3d7a50[_0x2d9855(0x175)]=_0xce4f29,this[_0x2d9855(0x18f)])throw new _0x390941(_0x2d9855(0x1bf),this);this[_0x2d9855(0x18f)]=!0x0,this[_0x2d9855(0x1ca)](_0x3d7a50,_0x2d9855(0x190),()=>{const _0x4f7f33=_0x2d9855;this[_0x4f7f33(0x1bc)](),this[_0x4f7f33(0x1ca)](_0x3d7a50,_0x4f7f33(0x1ae),_0x2020fc=>{const _0x1f3e44=_0x4f7f33;_0x2020fc[_0x1f3e44(0x199)](),this[_0x1f3e44(0x1d8)](_0xce4f29);});}),_0x3d7a50[_0x2d9855(0x162)]({'viewClass':_0x2d9855(0x1c0),'spaceBetweenItems':0x5});const _0x577d79=_0x12d017=>{const _0x11847f=_0x2d9855,_0x127365=new _0x57b8d6(this[_0x11847f(0x1b4)][_0x11847f(0x1c3)]);_0x3d7a50[_0x11847f(0x1b9)](_0x12d017,_0x127365),this[_0x11847f(0x1a6)][_0x11847f(0x168)](_0x12d017,_0x127365),_0x127365[_0x11847f(0x16c)](_0x11847f(0x169),_0x11847f(0x171),_0x11847f(0x178))['to'](_0x12d017[_0x11847f(0x1dd)],_0x11847f(0x169),_0x11847f(0x1a7),_0x11847f(0x1c1)),_0x127365['on'](_0x11847f(0x185),()=>{const _0x9d713d=_0x11847f;this[_0x9d713d(0x1c5)][_0x9d713d(0x183)](),_0x3c586c[_0x9d713d(0x1ba)][_0x9d713d(0x1cd)]!==_0x12d017[_0x9d713d(0x1dd)]?(this[_0x9d713d(0x17f)](_0x12d017),_0x12d017[_0x9d713d(0x1dd)][_0x9d713d(0x17e)][_0x9d713d(0x1db)](),this[_0x9d713d(0x16f)](_0x12d017)):this[_0x9d713d(0x16f)](null);});};for(const _0x3f4a1e of _0xce4f29)_0x577d79(_0x3f4a1e);this[_0x2d9855(0x1ca)](_0xce4f29,_0x2d9855(0x1af),(_0x54fd3a,_0xdff7c3)=>{_0x577d79(_0xdff7c3);}),this[_0x2d9855(0x1ca)](_0xce4f29,_0x2d9855(0x1a0),(_0x33d563,_0x342d2c,_0x404b3b)=>{const _0x27b7bd=_0x2d9855;this[_0x27b7bd(0x1a6)][_0x27b7bd(0x1d7)](_0x342d2c)[_0x27b7bd(0x170)](),this[_0x27b7bd(0x1a6)][_0x27b7bd(0x1b2)](_0x342d2c),_0x3d7a50[_0x27b7bd(0x1ab)]({'removedAnnotation':_0x342d2c,'previousAnnotation':_0xce4f29[_0x27b7bd(0x1d7)](_0x404b3b-0x1),'nextAnnotation':_0xce4f29[_0x27b7bd(0x1d7)](_0x404b3b+0x1)}),_0x342d2c===this[_0x27b7bd(0x19f)]&&this[_0x27b7bd(0x16f)](null);},{'priority':_0x2d9855(0x16e)}),this[_0x2d9855(0x1ca)](_0xce4f29,_0x2d9855(0x1db),(_0x199c3f,_0x360fe7)=>{const _0x1da2c8=_0x2d9855;this[_0x1da2c8(0x16f)](_0x360fe7);}),this[_0x2d9855(0x1ca)](_0xce4f29,_0x2d9855(0x181),()=>{const _0x44ccd0=_0x2d9855;this[_0x44ccd0(0x16f)](null);}),this[_0x2d9855(0x18c)][_0x2d9855(0x1ca)](document,_0x2d9855(0x1a8),(_0xc872dc,_0x10fd73)=>{const _0x2f3cb0=_0x2d9855;_0x10fd73[_0x2f3cb0(0x172)]===_0x3913dd[_0x2f3cb0(0x198)]&&_0x3c586c[_0x2f3cb0(0x1d0)]&&(this[_0x2f3cb0(0x1c5)][_0x2f3cb0(0x1af)](_0x3c586c[_0x2f3cb0(0x1ba)][_0x2f3cb0(0x1cd)]),this[_0x2f3cb0(0x1c2)](),_0x10fd73[_0x2f3cb0(0x19a)](),_0x10fd73[_0x2f3cb0(0x16b)]());}),this[_0x2d9855(0x18c)][_0x2d9855(0x1ca)](document,_0x2d9855(0x1a1),(_0x133ef6,_0x4a4066)=>{const _0x59d1a0=_0x2d9855,_0x5c27fe=_0x4a4066[_0x59d1a0(0x16a)];_0x3c586c[_0x59d1a0(0x1d0)]&&_0x3c586c[_0x59d1a0(0x17e)][_0x59d1a0(0x195)](_0x5c27fe)||_0x3d7a50[_0x59d1a0(0x1dd)][_0x59d1a0(0x17e)][_0x59d1a0(0x195)](_0x5c27fe)||_0x133ef6[_0x59d1a0(0x1b8)]||this[_0x59d1a0(0x19f)]&&this[_0x59d1a0(0x19f)][_0x59d1a0(0x166)][_0x59d1a0(0x17d)](_0x1fc9ca=>_0x1fc9ca[_0x59d1a0(0x195)](_0x5c27fe))||(this[_0x59d1a0(0x1c5)][_0x59d1a0(0x183)](),this[_0x59d1a0(0x1c2)](),this[_0x59d1a0(0x16f)](null));});const _0x296b3b=this[_0x2d9855(0x1b4)]instanceof _0x493af6?this[_0x2d9855(0x1b4)][_0x2d9855(0x1bd)]:new _0x1947e8([this[_0x2d9855(0x1b4)]]);for(const _0x1023c3 of _0x296b3b)this[_0x2d9855(0x164)](_0x1023c3);this[_0x2d9855(0x1ca)](_0x296b3b,_0x2d9855(0x1af),(_0xd16b7d,_0x1fb80d)=>{const _0x968e21=_0x2d9855;this[_0x968e21(0x1ca)](_0x1fb80d,_0x968e21(0x1a9),()=>{const _0x4e53c9=_0x968e21;this[_0x4e53c9(0x164)](_0x1fb80d);});}),this[_0x2d9855(0x1ca)](_0x296b3b,_0x2d9855(0x1a0),(_0x1c3958,_0x2b93f8)=>{const _0x54b571=_0x2d9855;_0x2b93f8[_0x54b571(0x192)][_0x54b571(0x167)](_0x54b571(0x19b))&&this[_0x54b571(0x165)](_0x2b93f8[_0x54b571(0x192)][_0x54b571(0x1d7)](_0x54b571(0x19b)));}),window[_0x2d9855(0x1a3)](_0x2d9855(0x184),this[_0x2d9855(0x1b7)]),this[_0x2d9855(0x1bb)]();}[_0x2e4518(0x16f)](_0x16af58){const _0x502896=_0x2e4518;if(_0x16af58===this[_0x502896(0x19f)])return;const _0x1fae2c=this[_0x502896(0x1b4)][_0x502896(0x192)][_0x502896(0x1d7)](_0x3a8f98);if(_0x1fae2c[_0x502896(0x1cb)]({'blurredAnnotation':this[_0x502896(0x19f)],'activatedAnnotation':_0x16af58,'disableAnimationOnActivatedAnnotation':!0x0}),_0x16af58)_0x1fae2c[_0x502896(0x1c8)](_0x16af58)?this[_0x502896(0x17f)](_0x16af58):this[_0x502896(0x1c2)]();else this[_0x502896(0x1c2)]();this[_0x502896(0x19f)]=_0x16af58;}[_0x2e4518(0x1bc)](){const _0x37897c=_0x2e4518;if(!this[_0x37897c(0x18f)])throw new _0x390941(_0x37897c(0x1d9),this);this[_0x37897c(0x16f)](null);const _0x5c82fc=this[_0x37897c(0x1b4)][_0x37897c(0x192)][_0x37897c(0x1d7)](_0x3a8f98);this[_0x37897c(0x1c2)](),Array[_0x37897c(0x16d)](this[_0x37897c(0x1a6)][_0x37897c(0x1d1)](),_0x5bef46=>_0x5bef46[_0x37897c(0x170)]()),this[_0x37897c(0x1a6)][_0x37897c(0x183)](),_0x5c82fc[_0x37897c(0x191)](this[_0x37897c(0x1cf)]),this[_0x37897c(0x188)](),this[_0x37897c(0x18c)][_0x37897c(0x188)](),this[_0x37897c(0x1b4)]instanceof _0x493af6&&this[_0x37897c(0x188)](this[_0x37897c(0x1b4)][_0x37897c(0x1bd)]);for(const _0x127b25 of Array[_0x37897c(0x16d)](this[_0x37897c(0x18e)]))this[_0x37897c(0x165)](_0x127b25);window[_0x37897c(0x1d3)](_0x37897c(0x184),this[_0x37897c(0x1b7)]),this[_0x37897c(0x1b7)][_0x37897c(0x1d6)](),this[_0x37897c(0x187)]=[],this[_0x37897c(0x18f)]=!0x1,this[_0x37897c(0x1cf)]=null;}[_0x2e4518(0x170)](){const _0x326f4b=_0x2e4518;this[_0x326f4b(0x18f)]&&this[_0x326f4b(0x1bc)](),this[_0x326f4b(0x1a2)][_0x326f4b(0x1da)]();}[_0x2e4518(0x164)](_0x80a5d5){const _0x25fce8=_0x2e4518,_0x2ad166=_0x80a5d5[_0x25fce8(0x192)][_0x25fce8(0x1d7)](_0x18e76b),_0x68d4a6=this[_0x25fce8(0x1b4)][_0x25fce8(0x192)][_0x25fce8(0x1d7)](_0x3a8f98),_0x1940e9=this[_0x25fce8(0x1cf)],_0x2a7b38=this[_0x25fce8(0x1be)],_0x347fc8=()=>{const _0x5da4ca=_0x25fce8,_0xcd1d0c=_0x2ad166[_0x5da4ca(0x1b6)]({'annotations':this[_0x5da4ca(0x1cf)],'activeAnnotation':this[_0x5da4ca(0x19f)]});this[_0x5da4ca(0x1c6)](_0xcd1d0c),this[_0x5da4ca(0x16f)](_0xcd1d0c[0x0]||null);};this[_0x25fce8(0x1ca)](_0x2ad166,_0x25fce8(0x1cb),_0x347fc8),this[_0x25fce8(0x1ca)](_0x2ad166,_0x25fce8(0x181),(_0x2ef538,{isAnnotationTracked:_0x2b9da0})=>{const _0x493a50=_0x25fce8;this[_0x493a50(0x19f)]&&_0x2b9da0(this[_0x493a50(0x19f)])&&(this[_0x493a50(0x1c6)]([]),this[_0x493a50(0x16f)](null));}),this[_0x25fce8(0x1ca)](_0x2ad166,_0x25fce8(0x19c),()=>{const _0x58ecc5=_0x25fce8;this[_0x58ecc5(0x1b7)]();}),this[_0x25fce8(0x1ca)](_0x1940e9,_0x25fce8(0x181),_0x27e66a=>{const _0x1f6d64=_0x25fce8;_0x2ad166[_0x1f6d64(0x1a5)]()&&_0x27e66a[_0x1f6d64(0x197)]();},{'priority':_0x25fce8(0x1ac)}),this[_0x25fce8(0x1ca)](this[_0x25fce8(0x18c)],_0x25fce8(0x1a1),(_0x3126a6,_0x24148b)=>{const _0x339ae5=_0x25fce8,_0x298066=_0x24148b[_0x339ae5(0x16a)];_0x2a7b38[_0x339ae5(0x1d0)]&&_0x2a7b38[_0x339ae5(0x17e)][_0x339ae5(0x195)](_0x298066)||_0x68d4a6[_0x339ae5(0x1dd)][_0x339ae5(0x17e)][_0x339ae5(0x195)](_0x298066)||this[_0x339ae5(0x19f)]&&_0x2ad166[_0x339ae5(0x1a5)]()&&(_0x347fc8(),_0x3126a6[_0x339ae5(0x1b8)]=!0x0);},{'priority':_0x25fce8(0x1ac)}),this[_0x25fce8(0x18e)][_0x25fce8(0x1af)](_0x2ad166);}[_0x2e4518(0x165)](_0x30e446){const _0x336842=_0x2e4518;_0x30e446&&(this[_0x336842(0x188)](_0x30e446),this[_0x336842(0x18e)][_0x336842(0x1a0)](_0x30e446));}[_0x2e4518(0x1c6)](_0x369144){const _0x1dcffb=_0x2e4518;for(const _0x360d3b of this[_0x1dcffb(0x187)])_0x369144[_0x1dcffb(0x1c4)](_0x360d3b)||this[_0x1dcffb(0x1c5)][_0x1dcffb(0x1b2)](_0x360d3b[_0x1dcffb(0x1dd)]);this[_0x1dcffb(0x187)]=_0x369144;}[_0x2e4518(0x1bb)](){const _0x1fec24=_0x2e4518,_0x49a3ce=this[_0x1fec24(0x1be)];this[_0x1fec24(0x1cf)][_0x1fec24(0x18a)](),_0x49a3ce[_0x1fec24(0x1d0)]&&this[_0x1fec24(0x1d4)]();}[_0x2e4518(0x17f)](_0x1c25cd){const _0x593606=_0x2e4518;if(this[_0x593606(0x1c5)][_0x593606(0x167)](_0x1c25cd[_0x593606(0x1dd)]))return;const _0x1e77e9=this[_0x593606(0x1be)][_0x593606(0x1ba)][_0x593606(0x1cd)];_0x1e77e9!==_0x1c25cd[_0x593606(0x1dd)]?(_0x1e77e9&&this[_0x593606(0x17c)](_0x1e77e9),this[_0x593606(0x1d5)](_0x1c25cd[_0x593606(0x1dd)]),this[_0x593606(0x1be)][_0x593606(0x1ba)][_0x593606(0x183)](),this[_0x593606(0x1be)][_0x593606(0x1ba)][_0x593606(0x1af)](_0x1c25cd[_0x593606(0x1dd)]),this[_0x593606(0x1d4)]()):this[_0x593606(0x1d4)]();}[_0x2e4518(0x1d4)](){const _0x287ea6=_0x2e4518,_0x53a15d=this[_0x287ea6(0x1be)][_0x287ea6(0x1ba)][_0x287ea6(0x1cd)],_0x1306af=_0x53a15d&&this[_0x287ea6(0x1cf)][_0x287ea6(0x163)](_0x53a15d);if(!_0x1306af||!this[_0x287ea6(0x1a6)][_0x287ea6(0x167)](_0x1306af))return;const _0x396599=this[_0x287ea6(0x1a6)][_0x287ea6(0x1d7)](_0x1306af)[_0x287ea6(0x17e)],_0x40f322=(function(){const _0x290657=_0x287ea6,_0x5ef28d=_0x4278d6[_0x290657(0x196)];return[_0x5ef28d[_0x290657(0x19d)],_0x5ef28d[_0x290657(0x179)],_0x5ef28d[_0x290657(0x18d)],_0x5ef28d[_0x290657(0x186)],_0x5ef28d[_0x290657(0x17b)],_0x5ef28d[_0x290657(0x176)]];}());this[_0x287ea6(0x1be)][_0x287ea6(0x1b3)]({'target':_0x396599,'positions':_0x40f322});}[_0x2e4518(0x1c2)](){const _0x517ba4=_0x2e4518,_0x21a1e7=this[_0x517ba4(0x1be)],_0x3340ff=_0x21a1e7[_0x517ba4(0x1ba)][_0x517ba4(0x1cd)];_0x3340ff&&(this[_0x517ba4(0x17c)](_0x3340ff),_0x21a1e7[_0x517ba4(0x1ad)](),_0x21a1e7[_0x517ba4(0x1ba)][_0x517ba4(0x183)]());}[_0x2e4518(0x1d5)](_0x160a8f){const _0x3f0a13=_0x2e4518;this[_0x3f0a13(0x1ca)](_0x160a8f,_0x3f0a13(0x1ce),()=>this[_0x3f0a13(0x1d4)]()),this[_0x3f0a13(0x1ca)](_0x160a8f,_0x3f0a13(0x174),(_0x2bdb75,_0x5db52f)=>{const _0x2ec775=_0x3f0a13;this[_0x2ec775(0x1c5)][_0x2ec775(0x1af)](_0x160a8f),this[_0x2ec775(0x1c2)](),_0x5db52f();});}[_0x2e4518(0x17c)](_0x2460b8){const _0x4af233=_0x2e4518;this[_0x4af233(0x188)](_0x2460b8);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5318e4=_0x134a;function _0x3a14(){const _0x4e07f0=['31377XvdePk','_updateLastItem','change:_lastItem','_alignForBottomChange','isActive','_createSidebarView','setContainer','refresh','_getItemBefore','list','bottom','change:bottom','811768lhGpxG','_getTargetTop','last','sidebar-attachtocontainer-missing-container','4166757BKXmFb','sidebar.preventScrollOutOfView','unbind','_alignToTargetRect','remove','_targetTop','_annotations','addAnnotation','clear','_destroySidebarItemView','_detachFromContainer','_lastItem','listenTo','change:top','container','isAnimationDisabled','init','bind','35TaHVmJ','_spaceBetweenItems','_alignBeforeItem','_alignAfterItem','stopListening','element','pluginName','2109912kejFIy','targetRect','appendChild','define','height','locale','_recalculateBuffer','delete','length','_recalculate','sidebar.container','21gRZzYZ','change:targetRect','object','_sidebarItemViewToAnnotation','sidebar-setcontainer-invalid-element','set','Sidebar','config','context','push','destroy','rearrange','getIndex','382878bGaFaL','minHeight','content','_annotationToSidebarItemView','getSidebarItemView','_attachToContainer','max','view','top','target','_activeAnnotation','nodeType','272855wOdcjK','get','_getMaxAvailableTop','class','_setItemTop','render','76WDCimx','3365010jXPrNc','add','_getItemAfter','updateHeight','_alignForTopChange'];_0x3a14=function(){return _0x4e07f0;};return _0x3a14();}(function(_0x1855d1,_0xd888aa){const _0x4945d5=_0x134a,_0x25d946=_0x1855d1();while(!![]){try{const _0x3f4a51=-parseInt(_0x4945d5(0x1ec))/0x1+parseInt(_0x4945d5(0x221))/0x2+parseInt(_0x4945d5(0x1f8))/0x3*(-parseInt(_0x4945d5(0x1f2))/0x4)+-parseInt(_0x4945d5(0x21a))/0x5*(-parseInt(_0x4945d5(0x239))/0x6)+-parseInt(_0x4945d5(0x22c))/0x7*(-parseInt(_0x4945d5(0x204))/0x8)+-parseInt(_0x4945d5(0x208))/0x9+-parseInt(_0x4945d5(0x1f3))/0xa;if(_0x3f4a51===_0xd888aa)break;else _0x25d946['push'](_0x25d946['shift']());}catch(_0x4580d6){_0x25d946['push'](_0x25d946['shift']());}}}(_0x3a14,0x829e2));function _0x134a(_0x203b1a,_0x3f8d3e){const _0x3a14bd=_0x3a14();return _0x134a=function(_0x134a48,_0x2c1b0f){_0x134a48=_0x134a48-0x1e1;let _0xa66ceb=_0x3a14bd[_0x134a48];return _0xa66ceb;},_0x134a(_0x203b1a,_0x3f8d3e);}import{ContextPlugin as _0xed209b}from'ckeditor5/src/core.js';import{Rect as _0x5611cc,CKEditorError as _0x2db9b3}from'ckeditor5/src/utils.js';import _0x5300d6 from'./view/sidebarview.js';import _0xc3121f from'./view/sidebaritemview.js';export default class z extends _0xed209b{static get[_0x5318e4(0x220)](){const _0x3bc79b=_0x5318e4;return _0x3bc79b(0x232);}constructor(_0x4deb64){const _0x4676f1=_0x5318e4;super(_0x4deb64),this[_0x4676f1(0x231)](_0x4676f1(0x213),void 0x0),this[_0x4676f1(0x1e7)]=this[_0x4676f1(0x1fd)](),this[_0x4676f1(0x231)](_0x4676f1(0x216),null),this[_0x4676f1(0x21b)]=0x19,this[_0x4676f1(0x22f)]=new Map(),this[_0x4676f1(0x1e3)]=new Map(),this[_0x4676f1(0x234)][_0x4676f1(0x233)][_0x4676f1(0x224)](_0x4676f1(0x209),!0x1),this[_0x4676f1(0x20e)]=null,this[_0x4676f1(0x1ea)]=null,this[_0x4676f1(0x227)]=[];}[_0x5318e4(0x218)](){const _0x61ddf0=_0x5318e4,_0x4b047d=this[_0x61ddf0(0x234)][_0x61ddf0(0x233)][_0x61ddf0(0x1ed)](_0x61ddf0(0x22b));_0x4b047d&&this[_0x61ddf0(0x1fe)](_0x4b047d);}[_0x5318e4(0x1fe)](_0x422f58){const _0x15a68f=_0x5318e4;if(!y(_0x422f58))throw new _0x2db9b3(_0x15a68f(0x230));this[_0x15a68f(0x216)]=_0x422f58;}[_0x5318e4(0x1e5)]({viewClass:_0x587654='',spaceBetweenItems:_0x30d240=0x19}={}){const _0x330882=_0x5318e4;if(!y(this[_0x330882(0x216)]))throw new _0x2db9b3(_0x330882(0x207),this);this[_0x330882(0x216)][_0x330882(0x223)](this[_0x330882(0x1e7)][_0x330882(0x21f)]),this[_0x330882(0x1e7)][_0x330882(0x1ef)]=_0x587654,this[_0x330882(0x21b)]=_0x30d240;}[_0x5318e4(0x237)]({removedAnnotation:_0x20b2ce,previousAnnotation:_0x1c1b29,nextAnnotation:_0x1ad169}){const _0x1ecd33=_0x5318e4,_0xeb786c=this[_0x1ecd33(0x1e4)](_0x20b2ce);this[_0x1ecd33(0x1e7)][_0x1ecd33(0x201)][_0x1ecd33(0x20c)](_0xeb786c),this[_0x1ecd33(0x211)](_0x20b2ce),_0x1c1b29&&this[_0x1ecd33(0x20b)](this[_0x1ecd33(0x1e4)](_0x1c1b29)),_0x1ad169&&this[_0x1ecd33(0x20b)](this[_0x1ecd33(0x1e4)](_0x1ad169)),this[_0x1ecd33(0x1f9)]();}[_0x5318e4(0x1ff)]({blurredAnnotation:_0x139eaa,activatedAnnotation:_0x4f1496,disableAnimationOnActivatedAnnotation:_0x3105af}){const _0x38e8c0=_0x5318e4;if(this[_0x38e8c0(0x1ea)]=_0x4f1496,_0x139eaa){_0x139eaa[_0x38e8c0(0x1fc)]=!0x1;const _0x5665fe=this[_0x38e8c0(0x1e4)](_0x139eaa);_0x5665fe&&_0x3105af&&(_0x5665fe[_0x38e8c0(0x217)]=!0x1);}if(_0x4f1496){const _0x311e34=this[_0x38e8c0(0x1e4)](_0x4f1496);_0x311e34&&(_0x4f1496[_0x38e8c0(0x1fc)]=!0x0,_0x3105af&&(_0x311e34[_0x38e8c0(0x217)]=!0x0,_0x311e34[_0x38e8c0(0x1e8)]+=0x1),this[_0x38e8c0(0x20b)](_0x311e34));}}[_0x5318e4(0x212)](_0x38a17d){const _0x54db5b=_0x5318e4;if(this[_0x54db5b(0x1e7)][_0x54db5b(0x21f)][_0x54db5b(0x20c)](),_0x38a17d){for(const _0x3c3074 of _0x38a17d)this[_0x54db5b(0x211)](_0x3c3074);}this[_0x54db5b(0x1e7)][_0x54db5b(0x201)][_0x54db5b(0x210)](),this[_0x54db5b(0x1e7)][_0x54db5b(0x1ef)]='',this[_0x54db5b(0x213)]=null;}[_0x5318e4(0x20f)](_0x107cee,_0xe8d12b){const _0x1ed99c=_0x5318e4;_0xe8d12b||(_0xe8d12b=_0x107cee[_0x1ed99c(0x1e7)]);const _0x5adcd8=new _0xc3121f(this[_0x1ed99c(0x234)][_0x1ed99c(0x226)]);this[_0x1ed99c(0x22f)][_0x1ed99c(0x231)](_0x5adcd8,_0x107cee),this[_0x1ed99c(0x1e3)][_0x1ed99c(0x231)](_0x107cee,_0x5adcd8),_0x5adcd8[_0x1ed99c(0x1e2)][_0x1ed99c(0x1f4)](_0xe8d12b),this[_0x1ed99c(0x214)](_0x107cee[_0x1ed99c(0x1e7)],_0x1ed99c(0x22d),(_0x5f05fd,_0x175f63,_0x45a126)=>{const _0x5284a4=_0x1ed99c,_0x148749=this[_0x5284a4(0x205)](_0x107cee,_0x45a126);_0x5adcd8[_0x5284a4(0x20d)]!=_0x148749&&(_0x5adcd8[_0x5284a4(0x20d)]=_0x148749,this[_0x5284a4(0x1f0)](_0x5adcd8,_0x148749));}),this[_0x1ed99c(0x214)](_0x5adcd8,_0x1ed99c(0x215),()=>{const _0x3993e8=_0x1ed99c;this[_0x3993e8(0x22a)](_0x5adcd8,_0x3993e8(0x1e8));}),this[_0x1ed99c(0x214)](_0x5adcd8,_0x1ed99c(0x203),()=>{const _0x1603b5=_0x1ed99c;this[_0x1603b5(0x22a)](_0x5adcd8,_0x1603b5(0x202));}),this[_0x1ed99c(0x20b)](_0x5adcd8);const _0x251523=this[_0x1ed99c(0x200)](_0x5adcd8);if(_0x251523)this[_0x1ed99c(0x21d)](_0x251523,_0x5adcd8)||this[_0x1ed99c(0x20b)](_0x5adcd8);else this[_0x1ed99c(0x20b)](_0x5adcd8);return this[_0x1ed99c(0x1f9)](),this[_0x1ed99c(0x1e7)][_0x1ed99c(0x201)][_0x1ed99c(0x1f4)](_0x5adcd8),_0x5adcd8;}[_0x5318e4(0x1f7)](_0x306e85){const _0x3e612d=_0x5318e4;if(!_0x306e85[_0x3e612d(0x1e2)][_0x3e612d(0x229)])return;const _0xaa913=this[_0x3e612d(0x200)](_0x306e85);if(!_0xaa913)return;const _0x2dae59=this[_0x3e612d(0x22f)][_0x3e612d(0x1ed)](_0xaa913),_0x572dd1=this[_0x3e612d(0x1ea)];_0x572dd1&&_0x572dd1===_0x2dae59?this[_0x3e612d(0x21d)](_0xaa913,_0x306e85):this[_0x3e612d(0x21c)](_0x306e85,_0xaa913);}[_0x5318e4(0x1fb)](_0x1f1708){const _0xbb3bb8=_0x5318e4;if(!_0x1f1708[_0xbb3bb8(0x1e2)][_0xbb3bb8(0x229)])return;const _0x2f41f8=this[_0xbb3bb8(0x1f5)](_0x1f1708);if(!_0x2f41f8)return;const _0x4d44ef=this[_0xbb3bb8(0x22f)][_0xbb3bb8(0x1ed)](_0x2f41f8),_0xfca518=this[_0xbb3bb8(0x234)][_0xbb3bb8(0x233)][_0xbb3bb8(0x1ed)](_0xbb3bb8(0x209)),_0x586c09=this[_0xbb3bb8(0x1ea)];_0x586c09&&_0x586c09===_0x4d44ef&&_0xfca518?(this[_0xbb3bb8(0x21c)](_0x2f41f8,_0x1f1708),this[_0xbb3bb8(0x21d)](_0x1f1708,_0x2f41f8)):_0x586c09&&_0x586c09===_0x4d44ef?this[_0xbb3bb8(0x21c)](_0x2f41f8,_0x1f1708):this[_0xbb3bb8(0x21d)](_0x1f1708,_0x2f41f8);}[_0x5318e4(0x22a)](_0x520525,_0x1c2cf2){const _0x5a8e1a=_0x5318e4;0x0===this[_0x5a8e1a(0x227)][_0x5a8e1a(0x229)]&&setTimeout(()=>{const _0x5d993a=_0x5a8e1a;for(const {sidebarItemView:_0x29e8da,changedProp:_0x304e8c}of this[_0x5d993a(0x227)])_0x5d993a(0x1e8)===_0x304e8c?this[_0x5d993a(0x1f7)](_0x29e8da):this[_0x5d993a(0x1fb)](_0x29e8da);this[_0x5d993a(0x227)]=[];},0xa),this[_0x5a8e1a(0x227)][_0x5a8e1a(0x235)]({'sidebarItemView':_0x520525,'changedProp':_0x1c2cf2});}[_0x5318e4(0x1e4)](_0x3fe712){const _0xfdaa=_0x5318e4;return this[_0xfdaa(0x1e3)][_0xfdaa(0x1ed)](_0x3fe712);}[_0x5318e4(0x236)](){const _0x59a3de=_0x5318e4;this[_0x59a3de(0x21e)](),this[_0x59a3de(0x1e7)][_0x59a3de(0x236)]();}[_0x5318e4(0x211)](_0x11406f){const _0x50e654=_0x5318e4,_0x1cb68d=this[_0x50e654(0x1e4)](_0x11406f);this[_0x50e654(0x21e)](_0x1cb68d),this[_0x50e654(0x21e)](_0x11406f[_0x50e654(0x1e7)]),_0x1cb68d[_0x50e654(0x236)](),this[_0x50e654(0x1e3)][_0x50e654(0x228)](_0x11406f),this[_0x50e654(0x22f)][_0x50e654(0x228)](_0x1cb68d);}[_0x5318e4(0x1fd)](){const _0x48f441=_0x5318e4,_0x4e5051=new _0x5300d6(this[_0x48f441(0x234)][_0x48f441(0x226)]);return _0x4e5051[_0x48f441(0x1f1)](),this['on'](_0x48f441(0x1fa),(_0x505268,_0x427927,_0x4c245c,_0x9dfb21)=>{const _0x46485c=_0x48f441;_0x9dfb21&&_0x4e5051[_0x46485c(0x20a)](_0x46485c(0x1e1)),_0x4c245c?_0x4e5051[_0x46485c(0x219)](_0x46485c(0x1e1))['to'](_0x4c245c,_0x46485c(0x202)):_0x4e5051[_0x46485c(0x1e1)]=null;}),_0x4e5051;}[_0x5318e4(0x1f9)](){const _0x149df4=_0x5318e4;var _0x18c994;this[_0x149df4(0x213)]=(null===(_0x18c994=this[_0x149df4(0x20e)])||void 0x0===_0x18c994?void 0x0:_0x18c994[_0x149df4(0x206)])?this[_0x149df4(0x1e4)](this[_0x149df4(0x20e)][_0x149df4(0x206)]):null;}[_0x5318e4(0x200)](_0x47e72c){const _0x4473f8=_0x5318e4;var _0x1ccc81;const _0xb8ee44=this[_0x4473f8(0x22f)][_0x4473f8(0x1ed)](_0x47e72c),_0x273c96=_0xb8ee44&&(null===(_0x1ccc81=this[_0x4473f8(0x20e)])||void 0x0===_0x1ccc81?void 0x0:_0x1ccc81[_0x4473f8(0x1ed)](this[_0x4473f8(0x20e)][_0x4473f8(0x238)](_0xb8ee44)-0x1));return _0x273c96&&this[_0x4473f8(0x1e4)](_0x273c96)||null;}[_0x5318e4(0x1f5)](_0x4ac9ca){const _0x1800d3=_0x5318e4;var _0x4fc62b;const _0x2f1b09=this[_0x1800d3(0x22f)][_0x1800d3(0x1ed)](_0x4ac9ca),_0x4a0da7=_0x2f1b09&&(null===(_0x4fc62b=this[_0x1800d3(0x20e)])||void 0x0===_0x4fc62b?void 0x0:_0x4fc62b[_0x1800d3(0x1ed)](this[_0x1800d3(0x20e)][_0x1800d3(0x238)](_0x2f1b09)+0x1));return _0x4a0da7&&this[_0x1800d3(0x1e4)](_0x4a0da7)||null;}[_0x5318e4(0x21c)](_0x1ec40a,_0xaaead8){const _0x68e300=_0x5318e4;_0x1ec40a[_0x68e300(0x1f6)]();const _0x1f0cc1=M(_0xaaead8[_0x68e300(0x202)]+this[_0x68e300(0x21b)],_0x1ec40a[_0x68e300(0x1e8)]);return!!_0x1f0cc1&&(this[_0x68e300(0x1f0)](_0xaaead8,_0xaaead8[_0x68e300(0x1e8)]-_0x1f0cc1),!0x0);}[_0x5318e4(0x21d)](_0x58750,_0x4101c0){const _0x32d89a=_0x5318e4;_0x58750[_0x32d89a(0x1f6)]();const _0xd3fc2=M(_0x58750[_0x32d89a(0x202)]+this[_0x32d89a(0x21b)],_0x4101c0[_0x32d89a(0x1e8)]);return!!_0xd3fc2&&(this[_0x32d89a(0x1f0)](_0x4101c0,_0x4101c0[_0x32d89a(0x1e8)]+_0xd3fc2,!0x1),!0x0);}[_0x5318e4(0x20b)](_0x533691){const _0x3b79d4=_0x5318e4,_0x324b6d=this[_0x3b79d4(0x22f)][_0x3b79d4(0x1ed)](_0x533691);if(!_0x324b6d||!_0x324b6d[_0x3b79d4(0x1e9)]||!_0x324b6d[_0x3b79d4(0x222)])return;const _0x51be33=this[_0x3b79d4(0x205)](_0x324b6d,_0x324b6d[_0x3b79d4(0x222)]);this[_0x3b79d4(0x1f0)](_0x533691,_0x51be33);}[_0x5318e4(0x205)](_0x1c9e9d,_0x4a62cd){const _0x2f134c=_0x5318e4;if(null===_0x4a62cd)return 0x0;if(_0x1c9e9d[_0x2f134c(0x1e9)]instanceof _0x5611cc)return _0x4a62cd[_0x2f134c(0x1e8)];{const _0x2497f2=new _0x5611cc(this[_0x2f134c(0x1e7)][_0x2f134c(0x21f)])[_0x2f134c(0x1e8)];return _0x4a62cd[_0x2f134c(0x1e8)]-_0x2497f2;}}[_0x5318e4(0x1f0)](_0x4132eb,_0x1c505c,_0x4819a4=this[_0x5318e4(0x234)][_0x5318e4(0x233)][_0x5318e4(0x1ed)](_0x5318e4(0x209))){const _0x56d190=_0x5318e4;_0x4819a4&&(_0x1c505c=Math[_0x56d190(0x1e6)](_0x1c505c,this[_0x56d190(0x1ee)](_0x4132eb))),_0x4132eb[_0x56d190(0x1e8)]=_0x1c505c;}[_0x5318e4(0x1ee)](_0x5f47dd){const _0x20636c=_0x5318e4;let _0x32ad3f=this[_0x20636c(0x200)](_0x5f47dd),_0x56ed3f=0x0;for(;_0x32ad3f;)_0x32ad3f[_0x20636c(0x1f6)](),_0x56ed3f+=this[_0x20636c(0x21b)]+_0x32ad3f[_0x20636c(0x225)],_0x32ad3f=this[_0x20636c(0x200)](_0x32ad3f);return _0x56ed3f;}}function M(_0x3477b3,_0x563cbe){const _0x223a9d=_0x5318e4;return Math[_0x223a9d(0x1e6)](_0x3477b3-_0x563cbe,0x0);}function y(_0x186731){const _0x43492a=_0x5318e4;return null!==_0x186731&&_0x43492a(0x22e)==typeof _0x186731&&0x1===_0x186731[_0x43492a(0x1eb)];}
|
|
23
|
+
const _0x4a14cb=_0x3f48;function _0x3f48(_0x48e8fe,_0x43ea63){const _0x20f85d=_0x20f8();return _0x3f48=function(_0x3f4810,_0x4aa190){_0x3f4810=_0x3f4810-0x1c6;let _0x4d858e=_0x20f85d[_0x3f4810];return _0x4d858e;},_0x3f48(_0x48e8fe,_0x43ea63);}(function(_0x441d02,_0x21b426){const _0x545160=_0x3f48,_0x3840bd=_0x441d02();while(!![]){try{const _0xbfd263=parseInt(_0x545160(0x21b))/0x1*(parseInt(_0x545160(0x1d1))/0x2)+-parseInt(_0x545160(0x1d7))/0x3+-parseInt(_0x545160(0x21e))/0x4*(-parseInt(_0x545160(0x1d0))/0x5)+parseInt(_0x545160(0x206))/0x6*(parseInt(_0x545160(0x1fd))/0x7)+-parseInt(_0x545160(0x1ef))/0x8+-parseInt(_0x545160(0x217))/0x9*(parseInt(_0x545160(0x1ec))/0xa)+-parseInt(_0x545160(0x1f7))/0xb*(parseInt(_0x545160(0x1c8))/0xc);if(_0xbfd263===_0x21b426)break;else _0x3840bd['push'](_0x3840bd['shift']());}catch(_0x74944c){_0x3840bd['push'](_0x3840bd['shift']());}}}(_0x20f8,0x60068));import{ContextPlugin as _0x11f40a}from'ckeditor5/src/core.js';import{Rect as _0x19f2f2,CKEditorError as _0x16abfd}from'ckeditor5/src/utils.js';import _0x24569a from'./view/sidebarview.js';import _0x529a95 from'./view/sidebaritemview.js';export default class z extends _0x11f40a{static get[_0x4a14cb(0x1f9)](){const _0x1f6861=_0x4a14cb;return _0x1f6861(0x1e5);}constructor(_0x3b75ca){const _0x426933=_0x4a14cb;super(_0x3b75ca),this[_0x426933(0x1e6)](_0x426933(0x1e9),void 0x0),this[_0x426933(0x200)]=this[_0x426933(0x1f4)](),this[_0x426933(0x1e6)](_0x426933(0x1cb),null),this[_0x426933(0x20e)]=0x19,this[_0x426933(0x1d6)]=new Map(),this[_0x426933(0x20d)]=new Map(),this[_0x426933(0x1e7)][_0x426933(0x1e3)][_0x426933(0x1c9)](_0x426933(0x220),!0x1),this[_0x426933(0x214)]=null,this[_0x426933(0x211)]=null,this[_0x426933(0x1da)]=[];}[_0x4a14cb(0x1eb)](){const _0x43230c=_0x4a14cb,_0x377e38=this[_0x43230c(0x1e7)][_0x43230c(0x1e3)][_0x43230c(0x1f5)](_0x43230c(0x210));_0x377e38&&this[_0x43230c(0x1d4)](_0x377e38);}[_0x4a14cb(0x1d4)](_0xe33619){const _0x2839b5=_0x4a14cb;if(!y(_0xe33619))throw new _0x16abfd(_0x2839b5(0x1dc));this[_0x2839b5(0x1cb)]=_0xe33619;}[_0x4a14cb(0x1d3)]({viewClass:_0x23a4a5='',spaceBetweenItems:_0x4bf1be=0x19}={}){const _0xc8db73=_0x4a14cb;if(!y(this[_0xc8db73(0x1cb)]))throw new _0x16abfd(_0xc8db73(0x1d5),this);this[_0xc8db73(0x1cb)][_0xc8db73(0x203)](this[_0xc8db73(0x200)][_0xc8db73(0x20a)]),this[_0xc8db73(0x200)][_0xc8db73(0x1fc)]=_0x23a4a5,this[_0xc8db73(0x20e)]=_0x4bf1be;}[_0x4a14cb(0x1ca)]({removedAnnotation:_0x415e4a,previousAnnotation:_0x384350,nextAnnotation:_0x14acbf}){const _0x2ca7e6=_0x4a14cb,_0x4d48ce=this[_0x2ca7e6(0x21a)](_0x415e4a);this[_0x2ca7e6(0x200)][_0x2ca7e6(0x1cd)][_0x2ca7e6(0x201)](_0x4d48ce),this[_0x2ca7e6(0x213)](_0x415e4a),_0x384350&&this[_0x2ca7e6(0x1cf)](this[_0x2ca7e6(0x21a)](_0x384350)),_0x14acbf&&this[_0x2ca7e6(0x1cf)](this[_0x2ca7e6(0x21a)](_0x14acbf)),this[_0x2ca7e6(0x215)]();}[_0x4a14cb(0x202)]({blurredAnnotation:_0x380179,activatedAnnotation:_0x4aebcc,disableAnimationOnActivatedAnnotation:_0xeef108}){const _0x446cfb=_0x4a14cb;if(this[_0x446cfb(0x211)]=_0x4aebcc,_0x380179){_0x380179[_0x446cfb(0x1fb)]=!0x1;const _0x6072a9=this[_0x446cfb(0x21a)](_0x380179);_0x6072a9&&_0xeef108&&(_0x6072a9[_0x446cfb(0x207)]=!0x1);}if(_0x4aebcc){const _0x1c4e07=this[_0x446cfb(0x21a)](_0x4aebcc);_0x1c4e07&&(_0x4aebcc[_0x446cfb(0x1fb)]=!0x0,_0xeef108&&(_0x1c4e07[_0x446cfb(0x207)]=!0x0,_0x1c4e07[_0x446cfb(0x1f8)]+=0x1),this[_0x446cfb(0x1cf)](_0x1c4e07));}}[_0x4a14cb(0x1d9)](_0x44a349){const _0x4aef2c=_0x4a14cb;if(this[_0x4aef2c(0x200)][_0x4aef2c(0x20a)][_0x4aef2c(0x201)](),_0x44a349){for(const _0x331204 of _0x44a349)this[_0x4aef2c(0x213)](_0x331204);}this[_0x4aef2c(0x200)][_0x4aef2c(0x1cd)][_0x4aef2c(0x216)](),this[_0x4aef2c(0x200)][_0x4aef2c(0x1fc)]='',this[_0x4aef2c(0x1e9)]=null;}[_0x4a14cb(0x1ed)](_0x40c597,_0x327290){const _0x1311d4=_0x4a14cb;_0x327290||(_0x327290=_0x40c597[_0x1311d4(0x200)]);const _0x5d4f69=new _0x529a95(this[_0x1311d4(0x1e7)][_0x1311d4(0x1cc)]);this[_0x1311d4(0x1d6)][_0x1311d4(0x1e6)](_0x5d4f69,_0x40c597),this[_0x1311d4(0x20d)][_0x1311d4(0x1e6)](_0x40c597,_0x5d4f69),_0x5d4f69[_0x1311d4(0x1f2)][_0x1311d4(0x219)](_0x327290),this[_0x1311d4(0x1de)](_0x40c597[_0x1311d4(0x200)],_0x1311d4(0x218),(_0x26927a,_0x7d95d1,_0x2803ea)=>{const _0x587b3a=_0x1311d4,_0x23ae9b=this[_0x587b3a(0x208)](_0x40c597,_0x2803ea);_0x5d4f69[_0x587b3a(0x1e0)]!=_0x23ae9b&&(_0x5d4f69[_0x587b3a(0x1e0)]=_0x23ae9b,this[_0x587b3a(0x205)](_0x5d4f69,_0x23ae9b));}),this[_0x1311d4(0x1de)](_0x5d4f69,_0x1311d4(0x1ee),()=>{const _0x56a331=_0x1311d4;this[_0x56a331(0x1e2)](_0x5d4f69,_0x56a331(0x1f8));}),this[_0x1311d4(0x1de)](_0x5d4f69,_0x1311d4(0x1d2),()=>{const _0x52d214=_0x1311d4;this[_0x52d214(0x1e2)](_0x5d4f69,_0x52d214(0x1f3));}),this[_0x1311d4(0x1cf)](_0x5d4f69);const _0x57f62a=this[_0x1311d4(0x1f6)](_0x5d4f69);if(_0x57f62a)this[_0x1311d4(0x1d8)](_0x57f62a,_0x5d4f69)||this[_0x1311d4(0x1cf)](_0x5d4f69);else this[_0x1311d4(0x1cf)](_0x5d4f69);return this[_0x1311d4(0x215)](),this[_0x1311d4(0x200)][_0x1311d4(0x1cd)][_0x1311d4(0x219)](_0x5d4f69),_0x5d4f69;}[_0x4a14cb(0x1db)](_0x3e4737){const _0x1d5086=_0x4a14cb;if(!_0x3e4737[_0x1d5086(0x1f2)][_0x1d5086(0x20f)])return;const _0x19ff78=this[_0x1d5086(0x1f6)](_0x3e4737);if(!_0x19ff78)return;const _0x4ee5f2=this[_0x1d5086(0x1d6)][_0x1d5086(0x1f5)](_0x19ff78),_0x27004a=this[_0x1d5086(0x211)];_0x27004a&&_0x27004a===_0x4ee5f2?this[_0x1d5086(0x1d8)](_0x19ff78,_0x3e4737):this[_0x1d5086(0x20b)](_0x3e4737,_0x19ff78);}[_0x4a14cb(0x21f)](_0x418966){const _0x3a36ca=_0x4a14cb;if(!_0x418966[_0x3a36ca(0x1f2)][_0x3a36ca(0x20f)])return;const _0x3ebf6d=this[_0x3a36ca(0x212)](_0x418966);if(!_0x3ebf6d)return;const _0x3a1444=this[_0x3a36ca(0x1d6)][_0x3a36ca(0x1f5)](_0x3ebf6d),_0x5c36bb=this[_0x3a36ca(0x1e7)][_0x3a36ca(0x1e3)][_0x3a36ca(0x1f5)](_0x3a36ca(0x220)),_0x245173=this[_0x3a36ca(0x211)];_0x245173&&_0x245173===_0x3a1444&&_0x5c36bb?(this[_0x3a36ca(0x20b)](_0x3ebf6d,_0x418966),this[_0x3a36ca(0x1d8)](_0x418966,_0x3ebf6d)):_0x245173&&_0x245173===_0x3a1444?this[_0x3a36ca(0x20b)](_0x3ebf6d,_0x418966):this[_0x3a36ca(0x1d8)](_0x418966,_0x3ebf6d);}[_0x4a14cb(0x1e2)](_0x14e548,_0x3d99c2){const _0x34fbe9=_0x4a14cb;0x0===this[_0x34fbe9(0x1da)][_0x34fbe9(0x20f)]&&setTimeout(()=>{const _0x14b8c9=_0x34fbe9;for(const {sidebarItemView:_0x1e6045,changedProp:_0xc95759}of this[_0x14b8c9(0x1da)])_0x14b8c9(0x1f8)===_0xc95759?this[_0x14b8c9(0x1db)](_0x1e6045):this[_0x14b8c9(0x21f)](_0x1e6045);this[_0x14b8c9(0x1da)]=[];},0xa),this[_0x34fbe9(0x1da)][_0x34fbe9(0x1ce)]({'sidebarItemView':_0x14e548,'changedProp':_0x3d99c2});}[_0x4a14cb(0x21a)](_0x33fe43){const _0x51ad85=_0x4a14cb;return this[_0x51ad85(0x20d)][_0x51ad85(0x1f5)](_0x33fe43);}[_0x4a14cb(0x20c)](){const _0x42bca4=_0x4a14cb;this[_0x42bca4(0x1c7)](),this[_0x42bca4(0x200)][_0x42bca4(0x20c)]();}[_0x4a14cb(0x213)](_0x440684){const _0x4d7633=_0x4a14cb,_0x5999ff=this[_0x4d7633(0x21a)](_0x440684);this[_0x4d7633(0x1c7)](_0x5999ff),this[_0x4d7633(0x1c7)](_0x440684[_0x4d7633(0x200)]),_0x5999ff[_0x4d7633(0x20c)](),this[_0x4d7633(0x20d)][_0x4d7633(0x1dd)](_0x440684),this[_0x4d7633(0x1d6)][_0x4d7633(0x1dd)](_0x5999ff);}[_0x4a14cb(0x1f4)](){const _0x4b08e5=_0x4a14cb,_0x5b4d30=new _0x24569a(this[_0x4b08e5(0x1e7)][_0x4b08e5(0x1cc)]);return _0x5b4d30[_0x4b08e5(0x1e4)](),this['on'](_0x4b08e5(0x1f0),(_0x57b75d,_0xfa90b1,_0x2f57a6,_0x22466a)=>{const _0x18b9b4=_0x4b08e5;_0x22466a&&_0x5b4d30[_0x18b9b4(0x209)](_0x18b9b4(0x1e8)),_0x2f57a6?_0x5b4d30[_0x18b9b4(0x204)](_0x18b9b4(0x1e8))['to'](_0x2f57a6,_0x18b9b4(0x1f3)):_0x5b4d30[_0x18b9b4(0x1e8)]=null;}),_0x5b4d30;}[_0x4a14cb(0x215)](){const _0xe0a389=_0x4a14cb;var _0x5bbafb;this[_0xe0a389(0x1e9)]=(null===(_0x5bbafb=this[_0xe0a389(0x214)])||void 0x0===_0x5bbafb?void 0x0:_0x5bbafb[_0xe0a389(0x1e1)])?this[_0xe0a389(0x21a)](this[_0xe0a389(0x214)][_0xe0a389(0x1e1)]):null;}[_0x4a14cb(0x1f6)](_0x57a9c4){const _0x2386ff=_0x4a14cb;var _0x136a31;const _0x520c20=this[_0x2386ff(0x1d6)][_0x2386ff(0x1f5)](_0x57a9c4),_0x15cc2c=_0x520c20&&(null===(_0x136a31=this[_0x2386ff(0x214)])||void 0x0===_0x136a31?void 0x0:_0x136a31[_0x2386ff(0x1f5)](this[_0x2386ff(0x214)][_0x2386ff(0x21c)](_0x520c20)-0x1));return _0x15cc2c&&this[_0x2386ff(0x21a)](_0x15cc2c)||null;}[_0x4a14cb(0x212)](_0x27bb50){const _0x28f345=_0x4a14cb;var _0x46eb6d;const _0x33e139=this[_0x28f345(0x1d6)][_0x28f345(0x1f5)](_0x27bb50),_0x2e99b9=_0x33e139&&(null===(_0x46eb6d=this[_0x28f345(0x214)])||void 0x0===_0x46eb6d?void 0x0:_0x46eb6d[_0x28f345(0x1f5)](this[_0x28f345(0x214)][_0x28f345(0x21c)](_0x33e139)+0x1));return _0x2e99b9&&this[_0x28f345(0x21a)](_0x2e99b9)||null;}[_0x4a14cb(0x20b)](_0x2753b3,_0x45c7eb){const _0x4dd473=_0x4a14cb;_0x2753b3[_0x4dd473(0x1ea)]();const _0x5c33da=M(_0x45c7eb[_0x4dd473(0x1f3)]+this[_0x4dd473(0x20e)],_0x2753b3[_0x4dd473(0x1f8)]);return!!_0x5c33da&&(this[_0x4dd473(0x205)](_0x45c7eb,_0x45c7eb[_0x4dd473(0x1f8)]-_0x5c33da),!0x0);}[_0x4a14cb(0x1d8)](_0x5015f4,_0x3ea6a6){const _0x56ecb1=_0x4a14cb;_0x5015f4[_0x56ecb1(0x1ea)]();const _0xea3875=M(_0x5015f4[_0x56ecb1(0x1f3)]+this[_0x56ecb1(0x20e)],_0x3ea6a6[_0x56ecb1(0x1f8)]);return!!_0xea3875&&(this[_0x56ecb1(0x205)](_0x3ea6a6,_0x3ea6a6[_0x56ecb1(0x1f8)]+_0xea3875,!0x1),!0x0);}[_0x4a14cb(0x1cf)](_0x27f640){const _0x405005=_0x4a14cb,_0x1cbc4b=this[_0x405005(0x1d6)][_0x405005(0x1f5)](_0x27f640);if(!_0x1cbc4b||!_0x1cbc4b[_0x405005(0x1f1)]||!_0x1cbc4b[_0x405005(0x1ff)])return;const _0x497fbb=this[_0x405005(0x208)](_0x1cbc4b,_0x1cbc4b[_0x405005(0x1ff)]);this[_0x405005(0x205)](_0x27f640,_0x497fbb);}[_0x4a14cb(0x208)](_0x54f500,_0x361cd3){const _0x243556=_0x4a14cb;if(null===_0x361cd3)return 0x0;if(_0x54f500[_0x243556(0x1f1)]instanceof _0x19f2f2)return _0x361cd3[_0x243556(0x1f8)];{const _0xa4acc4=new _0x19f2f2(this[_0x243556(0x200)][_0x243556(0x20a)])[_0x243556(0x1f8)];return _0x361cd3[_0x243556(0x1f8)]-_0xa4acc4;}}[_0x4a14cb(0x205)](_0x435582,_0x41b76d,_0x233ac9=this[_0x4a14cb(0x1e7)][_0x4a14cb(0x1e3)][_0x4a14cb(0x1f5)](_0x4a14cb(0x220))){const _0x16bc1d=_0x4a14cb;_0x233ac9&&(_0x41b76d=Math[_0x16bc1d(0x1fa)](_0x41b76d,this[_0x16bc1d(0x21d)](_0x435582))),_0x435582[_0x16bc1d(0x1f8)]=_0x41b76d;}[_0x4a14cb(0x21d)](_0x1ec39c){const _0x4eabc9=_0x4a14cb;let _0x501f1c=this[_0x4eabc9(0x1f6)](_0x1ec39c),_0x3f0341=0x0;for(;_0x501f1c;)_0x501f1c[_0x4eabc9(0x1ea)](),_0x3f0341+=this[_0x4eabc9(0x20e)]+_0x501f1c[_0x4eabc9(0x1c6)],_0x501f1c=this[_0x4eabc9(0x1f6)](_0x501f1c);return _0x3f0341;}}function _0x20f8(){const _0x1af28d=['view','remove','refresh','appendChild','bind','_setItemTop','36kVFYyH','isAnimationDisabled','_getTargetTop','unbind','element','_alignBeforeItem','destroy','_annotationToSidebarItemView','_spaceBetweenItems','length','sidebar.container','_activeAnnotation','_getItemAfter','_destroySidebarItemView','_annotations','_updateLastItem','clear','18GTsiEo','change:targetRect','add','getSidebarItemView','656045WbyZeL','getIndex','_getMaxAvailableTop','37880LvbYhE','_alignForBottomChange','sidebar.preventScrollOutOfView','height','stopListening','516XTXbGj','define','rearrange','container','locale','list','push','_alignToTargetRect','115XjNQbb','2vqsKDB','change:bottom','_attachToContainer','setContainer','sidebar-attachtocontainer-missing-container','_sidebarItemViewToAnnotation','99252IuqgSQ','_alignAfterItem','_detachFromContainer','_recalculateBuffer','_alignForTopChange','sidebar-setcontainer-invalid-element','delete','listenTo','nodeType','_targetTop','last','_recalculate','config','render','Sidebar','set','context','minHeight','_lastItem','updateHeight','init','2163400XQBCgZ','addAnnotation','change:top','1376656FhHyzU','change:_lastItem','target','content','bottom','_createSidebarView','get','_getItemBefore','139821BWJSxP','top','pluginName','max','isActive','class','821198QxBBQS','object','targetRect'];_0x20f8=function(){return _0x1af28d;};return _0x20f8();}function M(_0x3caa7d,_0x183e6e){const _0x1970d0=_0x4a14cb;return Math[_0x1970d0(0x1fa)](_0x3caa7d-_0x183e6e,0x0);}function y(_0x5020ec){const _0x28e410=_0x4a14cb;return null!==_0x5020ec&&_0x28e410(0x1fe)==typeof _0x5020ec&&0x1===_0x5020ec[_0x28e410(0x1df)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1316ab,_0x287f21){const _0x16dbb1=_0x17e4,_0x1da186=_0x1316ab();while(!![]){try{const _0x1d4967=parseInt(_0x16dbb1(0x1b3))/0x1*(-parseInt(_0x16dbb1(0x1be))/0x2)+parseInt(_0x16dbb1(0x1b9))/0x3+-parseInt(_0x16dbb1(0x1c3))/0x4*(-parseInt(_0x16dbb1(0x1cf))/0x5)+parseInt(_0x16dbb1(0x1b8))/0x6*(-parseInt(_0x16dbb1(0x1bb))/0x7)+parseInt(_0x16dbb1(0x1c2))/0x8*(parseInt(_0x16dbb1(0x1c8))/0x9)+parseInt(_0x16dbb1(0x1ca))/0xa+-parseInt(_0x16dbb1(0x1b6))/0xb;if(_0x1d4967===_0x287f21)break;else _0x1da186['push'](_0x1da186['shift']());}catch(_0x12994b){_0x1da186['push'](_0x1da186['shift']());}}}(_0x59ca,0xe08a8));import{ButtonView as _0xd51fc4,View as _0x1dd5e4}from'ckeditor5/src/ui.js';import _0x38dcd2 from'../../../theme/icons/add-comment.svg';function _0x17e4(_0x55cab1,_0x4fa5f8){const _0x59ca22=_0x59ca();return _0x17e4=function(_0x17e4b4,_0x5a5ad0){_0x17e4b4=_0x17e4b4-0x1b3;let _0x5f308c=_0x59ca22[_0x17e4b4];return _0x5f308c;},_0x17e4(_0x55cab1,_0x4fa5f8);}export default class D extends _0xd51fc4{constructor(_0x51699b){const _0x5bd0a0=_0x17e4;super(_0x51699b);const _0xb01ee8=this[_0x5bd0a0(0x1bc)];this[_0x5bd0a0(0x1c5)](_0x5bd0a0(0x1cc),!0x1),this[_0x5bd0a0(0x1c5)](_0x5bd0a0(0x1b5),0x0),this[_0x5bd0a0(0x1c0)](_0x5bd0a0(0x1ba))['to'](this,_0x5bd0a0(0x1cc),this,_0x5bd0a0(0x1b5),(_0x3bc8de,_0x3cab61)=>_0x3bc8de?_0x5bd0a0(0x1c7):_0x3cab61[_0x5bd0a0(0x1cb)]()),this[_0x5bd0a0(0x1c5)](_0x5bd0a0(0x1b4),''),this[_0x5bd0a0(0x1bd)]=_0x38dcd2,this[_0x5bd0a0(0x1c9)]({'attributes':{'class':[_0x5bd0a0(0x1d0)]}}),this[_0x5bd0a0(0x1c6)]=new _0x1dd5e4(),this[_0x5bd0a0(0x1c6)][_0x5bd0a0(0x1d1)]({'tag':_0x5bd0a0(0x1ce),'attributes':{'class':[_0x5bd0a0(0x1bf),_0xb01ee8['to'](_0x5bd0a0(0x1b4),_0x4e77b1=>_0x5bd0a0(0x1c4)+_0x4e77b1),_0xb01ee8['if'](_0x5bd0a0(0x1cc),_0x5bd0a0(0x1b7))]},'children':[{'text':_0xb01ee8['to'](_0x5bd0a0(0x1ba))}]}),this[_0x5bd0a0(0x1cd)][_0x5bd0a0(0x1c1)](this[_0x5bd0a0(0x1c6)]);}}function _0x59ca(){const _0x46a4bc=['annotationType','number','14222428BJFGac','ck-annotation-counter__badge--edit-mode','6MjJvvV','302523qNgnfk','_badge','11950561LJFvqY','bindTemplate','icon','944114yBiNJS','ck-annotation-counter__badge','bind','add','80248LVoJPz','8xyEOAq','ck-annotation-counter__badge--','set','counterView','...','1224wekxit','extendTemplate','16810100Dxuzaw','toString','isDirty','children','span','4294845zYgtYR','ck-annotation-counter','setTemplate','2VIPgLp'];_0x59ca=function(){return _0x46a4bc;};return _0x59ca();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x443c(){const _0x1dd654=['_mutationObserver','Esc','isDirty','ck-annotation-wrapper','div','attach','2518532HUgxcu','setTemplate','height','1811551RoAMve','1566LldLRS','isActive','1380wNAzfG','4362hoZrEz','848130xrRVoC','1kVIGux','add','165Edsurl','865836QSicDx','destroy','ck-rounded-corners','56392inghAC','render','focus','keystrokes','clear','clientHeight','ck-annotation-wrapper--active','set','element','listenTo','targetRect','_updateHeight','mainView','length','createCollection','15QnmzGk','bindTemplate','fire','type','605527fNhIwQ','detach','3005sVyJIn','content','focusTracker'];_0x443c=function(){return _0x1dd654;};return _0x443c();}const _0x53a66c=_0x5180;(function(_0x18d888,_0x4c55c5){const _0x4c733c=_0x5180,_0x2500df=_0x18d888();while(!![]){try{const _0x3f0f0f=-parseInt(_0x4c733c(0xe5))/0x1*(parseInt(_0x4c733c(0xdc))/0x2)+-parseInt(_0x4c733c(0xcd))/0x3*(parseInt(_0x4c733c(0xe8))/0x4)+-parseInt(_0x4c733c(0xd3))/0x5*(-parseInt(_0x4c733c(0xe3))/0x6)+-parseInt(_0x4c733c(0xdf))/0x7+parseInt(_0x4c733c(0xeb))/0x8*(-parseInt(_0x4c733c(0xe0))/0x9)+-parseInt(_0x4c733c(0xe4))/0xa*(parseInt(_0x4c733c(0xe7))/0xb)+-parseInt(_0x4c733c(0xe2))/0xc*(-parseInt(_0x4c733c(0xd1))/0xd);if(_0x3f0f0f===_0x4c55c5)break;else _0x2500df['push'](_0x2500df['shift']());}catch(_0x343dc3){_0x2500df['push'](_0x2500df['shift']());}}}(_0x443c,0xa98a5));function _0x5180(_0x1ae953,_0x3b5c2c){const _0x443cdf=_0x443c();return _0x5180=function(_0x51800e,_0x5e3be6){_0x51800e=_0x51800e-0xc3;let _0x92cb83=_0x443cdf[_0x51800e];return _0x92cb83;},_0x5180(_0x1ae953,_0x3b5c2c);}import{View as _0x4fdaff}from'ckeditor5/src/ui.js';import{FocusTracker as _0x593152,KeystrokeHandler as _0x290042,uid as _0x549159}from'ckeditor5/src/utils.js';import _0x462d5a from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class V extends _0x4fdaff{constructor(_0x8d9aab,_0x201a4d){const _0x1d993b=_0x5180;super(_0x8d9aab),this['id']=_0x549159(),this[_0x1d993b(0xd5)]=new _0x593152(),this[_0x1d993b(0xee)]=new _0x290042(),this[_0x1d993b(0xee)][_0x1d993b(0xc5)](_0x1d993b(0xd7),(_0x57aa4d,_0x2a4fda)=>this[_0x1d993b(0xcf)](_0x1d993b(0xd7),_0x2a4fda)),this[_0x1d993b(0xc5)](_0x1d993b(0xc8),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x1d993b(0xc5)](_0x1d993b(0xde),0x0),this[_0x1d993b(0xc5)](_0x1d993b(0xe1),!0x1),this[_0x1d993b(0xc5)](_0x1d993b(0xd8),!0x1),this[_0x1d993b(0xc5)](_0x1d993b(0xcb),0x0),this[_0x1d993b(0xc5)](_0x1d993b(0xd0),''),this[_0x1d993b(0xd6)]=_0x462d5a(()=>this[_0x1d993b(0xc9)]()),this[_0x1d993b(0xd4)]=this[_0x1d993b(0xcc)](),this[_0x1d993b(0xd4)][_0x1d993b(0xe6)](_0x201a4d),this[_0x1d993b(0xca)]=_0x201a4d;const _0x5844ef=this[_0x1d993b(0xce)];this[_0x1d993b(0xdd)]({'tag':_0x1d993b(0xda),'attributes':{'class':['ck',_0x1d993b(0xd9),_0x1d993b(0xea),_0x5844ef['if'](_0x1d993b(0xe1),_0x1d993b(0xc4))],'tabindex':-0x1},'children':this[_0x1d993b(0xd4)]});}[_0x53a66c(0xec)](){const _0x31e4=_0x53a66c;super[_0x31e4(0xec)](),this[_0x31e4(0xd5)][_0x31e4(0xe6)](this[_0x31e4(0xc6)]),this[_0x31e4(0xee)][_0x31e4(0xc7)](this[_0x31e4(0xc6)]),this[_0x31e4(0xd6)][_0x31e4(0xdb)](this[_0x31e4(0xc6)]);}[_0x53a66c(0xe9)](){const _0x20e95d=_0x53a66c;this[_0x20e95d(0xd4)][_0x20e95d(0xef)](),this[_0x20e95d(0xee)][_0x20e95d(0xe9)](),this[_0x20e95d(0xd5)][_0x20e95d(0xe9)](),this[_0x20e95d(0xd6)][_0x20e95d(0xd2)](),super[_0x20e95d(0xe9)]();}[_0x53a66c(0xed)](){const _0x589297=_0x53a66c;this[_0x589297(0xc6)][_0x589297(0xed)]();}[_0x53a66c(0xc9)](){const _0x21db2a=_0x53a66c,_0xf0bc3c=this[_0x21db2a(0xc6)][_0x21db2a(0xc3)];_0xf0bc3c&&(this[_0x21db2a(0xde)]=_0xf0bc3c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d4c6d=_0x2952;(function(_0x1cb6a7,_0x1be36f){const _0x30668a=_0x2952,_0x2deb2b=_0x1cb6a7();while(!![]){try{const _0x4884d7=-parseInt(_0x30668a(0x13e))/0x1+parseInt(_0x30668a(0x14f))/0x2+-parseInt(_0x30668a(0x14a))/0x3+parseInt(_0x30668a(0x151))/0x4+parseInt(_0x30668a(0x154))/0x5*(parseInt(_0x30668a(0x155))/0x6)+-parseInt(_0x30668a(0x15b))/0x7+parseInt(_0x30668a(0x153))/0x8*(parseInt(_0x30668a(0x14d))/0x9);if(_0x4884d7===_0x1be36f)break;else _0x2deb2b['push'](_0x2deb2b['shift']());}catch(_0x5dd6e5){_0x2deb2b['push'](_0x2deb2b['shift']());}}}(_0x5288,0x97f92));import{View as _0x3990bc}from'ckeditor5/src/ui.js';import{toUnit as _0x10ec34}from'ckeditor5/src/utils.js';function _0x2952(_0x57b62b,_0x3a2518){const _0x5288b5=_0x5288();return _0x2952=function(_0x29522e,_0x2cc9f0){_0x29522e=_0x29522e-0x13d;let _0x1c919b=_0x5288b5[_0x29522e];return _0x1c919b;},_0x2952(_0x57b62b,_0x3a2518);}import _0x41497d from'../../utils/createmutationobserver.js';const qt=_0x10ec34('px');export default class C extends _0x3990bc{constructor(_0x4eda16){const _0x17b774=_0x2952;super(_0x4eda16),this[_0x17b774(0x143)](_0x17b774(0x14e),0x0),this[_0x17b774(0x143)](_0x17b774(0x15a),0x0),this[_0x17b774(0x152)](_0x17b774(0x158))['to'](this,_0x17b774(0x14e),this,_0x17b774(0x15a),(_0x3bbe1b,_0x2c4b1d)=>_0x3bbe1b+_0x2c4b1d),this[_0x17b774(0x143)](_0x17b774(0x159),!0x1),this[_0x17b774(0x13d)]=_0x41497d(()=>this[_0x17b774(0x156)]()),this[_0x17b774(0x13f)]=null,this[_0x17b774(0x157)]=this[_0x17b774(0x144)]();const _0x54c021=this[_0x17b774(0x145)];this[_0x17b774(0x147)]({'tag':_0x17b774(0x14b),'attributes':{'class':[_0x17b774(0x141),_0x54c021['to'](_0x17b774(0x159),_0x531353=>_0x531353?_0x17b774(0x14c):'')],'style':{'top':_0x54c021['to'](_0x17b774(0x14e),_0x25613c=>qt(_0x25613c))}},'children':this[_0x17b774(0x157)]});}[_0x1d4c6d(0x140)](){const _0xd1632c=_0x1d4c6d;super[_0xd1632c(0x140)](),this[_0xd1632c(0x13d)][_0xd1632c(0x142)](this[_0xd1632c(0x15c)]);}[_0x1d4c6d(0x156)](){const _0x16cf73=_0x1d4c6d,_0x1ca97d=this[_0x16cf73(0x15c)][_0x16cf73(0x150)];_0x1ca97d&&(this[_0x16cf73(0x15a)]=_0x1ca97d);}[_0x1d4c6d(0x149)](){const _0x3ecc95=_0x1d4c6d;this[_0x3ecc95(0x157)][_0x3ecc95(0x146)](),this[_0x3ecc95(0x13d)][_0x3ecc95(0x148)](),super[_0x3ecc95(0x149)]();}}function _0x5288(){const _0x351bb8=['2050940wlEMxn','clientHeight','314628RpHupP','bind','318392iqavmb','50gBMnZn','200970CRkqfv','updateHeight','content','bottom','isAnimationDisabled','height','1495536yqnhmw','element','_mutationObserver','623899NANAnc','_targetTop','render','ck-sidebar-item','attach','set','createCollection','bindTemplate','clear','setTemplate','detach','destroy','1847496yhMFGi','div','ck-sidebar-item--no-animation','144MBUfyA','top'];_0x5288=function(){return _0x351bb8;};return _0x5288();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5c4f9d,_0x2cb2c8){const _0x2210ed=_0x4e80,_0x350581=_0x5c4f9d();while(!![]){try{const _0x2ebaca=-parseInt(_0x2210ed(0xe3))/0x1+-parseInt(_0x2210ed(0xe5))/0x2*(-parseInt(_0x2210ed(0xd2))/0x3)+-parseInt(_0x2210ed(0xe2))/0x4*(parseInt(_0x2210ed(0xe1))/0x5)+-parseInt(_0x2210ed(0xd7))/0x6+-parseInt(_0x2210ed(0xd8))/0x7*(-parseInt(_0x2210ed(0xd5))/0x8)+-parseInt(_0x2210ed(0xe6))/0x9*(-parseInt(_0x2210ed(0xd4))/0xa)+parseInt(_0x2210ed(0xd3))/0xb;if(_0x2ebaca===_0x2cb2c8)break;else _0x350581['push'](_0x350581['shift']());}catch(_0x5620b5){_0x350581['push'](_0x350581['shift']());}}}(_0x2709,0xda537));function _0x2709(){const _0x40f5d3=['list','12484bbkEQb','4842UpGgSt','bindTemplate','219LkMalT','4105442PYLabT','32190aqWoHU','16wIPaeh','createCollection','7221996NOZfAt','3417148twycWP','div','ck-reset','class','set','setTemplate','ck-sidebar','number','minHeight','543640xwcRaR','52eANnKy','25645ToytmE'];_0x2709=function(){return _0x40f5d3;};return _0x2709();}function _0x4e80(_0x50a921,_0x2fbe87){const _0x2709a9=_0x2709();return _0x4e80=function(_0x4e804a,_0xc4e36b){_0x4e804a=_0x4e804a-0xd1;let _0x34db16=_0x2709a9[_0x4e804a];return _0x34db16;},_0x4e80(_0x50a921,_0x2fbe87);}import{View as _0x5cd1f0}from'ckeditor5/src/ui.js';import{toUnit as _0x3b8b9b}from'ckeditor5/src/utils.js';import'../../../theme/sidebar.css';const qt=_0x3b8b9b('px');export default class T extends _0x5cd1f0{constructor(_0x25854e){const _0xaa95ff=_0x4e80;super(_0x25854e);const _0xc12e62=this[_0xaa95ff(0xd1)];this[_0xaa95ff(0xdc)](_0xaa95ff(0xe0),0x0),this[_0xaa95ff(0xdc)](_0xaa95ff(0xdb),''),this[_0xaa95ff(0xe4)]=this[_0xaa95ff(0xd6)](),this[_0xaa95ff(0xdd)]({'tag':_0xaa95ff(0xd9),'attributes':{'class':['ck',_0xaa95ff(0xde),_0xaa95ff(0xda),_0xc12e62['to'](_0xaa95ff(0xdb))],'style':{'minHeight':_0xc12e62['to'](_0xaa95ff(0xe0),_0x26eb92=>_0xaa95ff(0xdf)==typeof _0x26eb92?qt(_0x26eb92+0xa):null)}},'children':this[_0xaa95ff(0xe4)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x33dc(){const _0x4cdecb=['requires','destroy','stopListening','rearrange','from','change:container','annotations','376348tuGQfc','setActiveAnnotation','ck-sidebar--wide','plugins','updateTargetRect','get','_integrateWithEditorAnnotations','addEventListener','set','switchTo','1936256ZjfFFd','widesidebar-attach-already-attached','uiUpdate','stop','wideSidebar','_attachToContainer','_editorAnnotations','addAnnotation','2884VFwfHf','_refreshPositioningDebounced','removeEventListener','detach','context','refreshPositioning','_detachFromContainer','_annotations','blur','init','refresh','1716xXyhSu','register','attach','_destroyEditorAnnotationsIntegration','76944sEJyWe','isAttached','widesidebar-detach-not-attached','listenTo','remove','has','add','high','activeAnnotation','hasDomSelection','resize','ready','editors','set:container','6ZKAMok','252PvDMeb','EditorAnnotations','focus','669055APyWsT','WideSidebar','container','3273550ehQdDq','pluginName','getOrderedSelectedAnnotations','_activeAnnotation','769150PLHRVC','off','cancel'];_0x33dc=function(){return _0x4cdecb;};return _0x33dc();}const _0x416441=_0x47ce;(function(_0x5ccc34,_0x43db63){const _0xc5ccef=_0x47ce,_0x17a3b4=_0x5ccc34();while(!![]){try{const _0x29a45f=-parseInt(_0xc5ccef(0xd6))/0x1+-parseInt(_0xc5ccef(0xae))/0x2*(-parseInt(_0xc5ccef(0xb9))/0x3)+-parseInt(_0xc5ccef(0x9c))/0x4+parseInt(_0xc5ccef(0xcf))/0x5*(parseInt(_0xc5ccef(0xcb))/0x6)+parseInt(_0xc5ccef(0xa6))/0x7+-parseInt(_0xc5ccef(0xbd))/0x8*(parseInt(_0xc5ccef(0xcc))/0x9)+parseInt(_0xc5ccef(0xd2))/0xa;if(_0x29a45f===_0x43db63)break;else _0x17a3b4['push'](_0x17a3b4['shift']());}catch(_0x45d8ec){_0x17a3b4['push'](_0x17a3b4['shift']());}}}(_0x33dc,0x68fe9));import{ContextPlugin as _0x4cf85d,Context as _0x34336f}from'ckeditor5/src/core.js';import _0x1a662b from'./annotationsuis.js';import _0x374532 from'./sidebar.js';function _0x47ce(_0x44dcf3,_0x185ad3){const _0x33dc7a=_0x33dc();return _0x47ce=function(_0x47ce7c,_0xa7a948){_0x47ce7c=_0x47ce7c-0x9c;let _0x4ae448=_0x33dc7a[_0x47ce7c];return _0x4ae448;},_0x47ce(_0x44dcf3,_0x185ad3);}import{CKEditorError as _0x393721,Collection as _0xeac0de}from'ckeditor5/src/utils.js';import{debounce as _0x598944}from'lodash-es';import _0x424557 from'./editorannotations.js';export default class n extends _0x4cf85d{static get[_0x416441(0xd9)](){return[_0x374532,_0x1a662b];}static get[_0x416441(0xd3)](){const _0x11245c=_0x416441;return _0x11245c(0xd0);}constructor(_0x21f2c6){const _0x5d30c2=_0x416441;super(_0x21f2c6),this[_0x5d30c2(0xbe)]=!0x1,this[_0x5d30c2(0xa4)](_0x5d30c2(0xc5),null),this[_0x5d30c2(0xdf)]=null,this[_0x5d30c2(0xac)]=new _0xeac0de(),this[_0x5d30c2(0xaf)]=_0x598944(()=>{const _0x34ed64=_0x5d30c2;this[_0x34ed64(0xdf)][_0x34ed64(0xb3)]();},0xfa,{'leading':!0x1});}[_0x416441(0xb7)](){const _0x26ff83=_0x416441,_0x35307d=this[_0x26ff83(0xb2)][_0x26ff83(0x9f)][_0x26ff83(0xa1)](_0x1a662b),_0x506b15=this[_0x26ff83(0xb2)][_0x26ff83(0x9f)][_0x26ff83(0xa1)](_0x374532);_0x35307d[_0x26ff83(0xba)](_0x26ff83(0xaa),this),_0x506b15[_0x26ff83(0xd1)]&&_0x35307d[_0x26ff83(0xa5)](_0x26ff83(0xaa));}[_0x416441(0x9d)](_0x5b99ec){const _0x23dbb7=_0x416441;if(_0x5b99ec===this[_0x23dbb7(0xc5)])return;const _0x253b20=this[_0x23dbb7(0xb2)][_0x23dbb7(0x9f)][_0x23dbb7(0xa1)](_0x374532);_0x253b20[_0x23dbb7(0xd5)]=_0x5b99ec;const _0x13f6b0=this[_0x23dbb7(0xc5)];this[_0x23dbb7(0xc5)]=_0x5b99ec,_0x253b20[_0x23dbb7(0xb8)]({'blurredAnnotation':_0x13f6b0,'activatedAnnotation':this[_0x23dbb7(0xc5)]});}[_0x416441(0xbb)](_0x480828){const _0x1f83d9=_0x416441;this[_0x1f83d9(0xdf)]=_0x480828;const _0x509409=this[_0x1f83d9(0xb2)][_0x1f83d9(0x9f)][_0x1f83d9(0xa1)](_0x374532);if(_0x509409[_0x1f83d9(0xb5)]=_0x480828,this[_0x1f83d9(0xbe)])throw new _0x393721(_0x1f83d9(0xa7),this);this[_0x1f83d9(0xbe)]=!0x0,this[_0x1f83d9(0xc0)](_0x509409,_0x1f83d9(0xca),()=>{const _0x4655af=_0x1f83d9;this[_0x4655af(0xb1)](),this[_0x4655af(0xc0)](_0x509409,_0x4655af(0xde),_0x1eacf2=>{const _0x37a556=_0x4655af;_0x1eacf2[_0x37a556(0xd7)](),this[_0x37a556(0xbb)](_0x480828);});}),_0x509409[_0x1f83d9(0xab)]({'viewClass':_0x1f83d9(0x9e)});const _0x54577a=_0xedd83e=>{const _0x2d1bf0=_0x1f83d9;_0xedd83e[_0x2d1bf0(0xa0)](),_0x509409[_0x2d1bf0(0xad)](_0xedd83e);};for(const _0x439c31 of _0x480828)_0x54577a(_0x439c31);this[_0x1f83d9(0xc0)](_0x480828,_0x1f83d9(0xc3),(_0x3ef140,_0x1cdbd7)=>{_0x54577a(_0x1cdbd7);}),this[_0x1f83d9(0xc0)](_0x480828,_0x1f83d9(0xc1),(_0xbaf415,_0x3a6d66,_0xac4c71)=>{const _0x55588a=_0x1f83d9;_0x509409[_0x55588a(0xdc)]({'removedAnnotation':_0x3a6d66,'previousAnnotation':_0x480828[_0x55588a(0xa1)](_0xac4c71-0x1),'nextAnnotation':_0x480828[_0x55588a(0xa1)](_0xac4c71+0x1)}),_0x3a6d66===this[_0x55588a(0xc5)]&&this[_0x55588a(0x9d)](null);},{'priority':_0x1f83d9(0xc4)}),this[_0x1f83d9(0xc0)](_0x480828,_0x1f83d9(0xce),(_0x4f0022,_0x2a6e5a)=>{const _0x476d58=_0x1f83d9;this[_0x476d58(0x9d)](_0x2a6e5a);}),this[_0x1f83d9(0xc0)](_0x480828,_0x1f83d9(0xb6),()=>{const _0x2fbeb1=_0x1f83d9;this[_0x2fbeb1(0x9d)](null);});const _0x3610ab=this[_0x1f83d9(0xb2)]instanceof _0x34336f?this[_0x1f83d9(0xb2)][_0x1f83d9(0xc9)]:new _0xeac0de([this[_0x1f83d9(0xb2)]]);for(const _0x4c7e61 of _0x3610ab)this[_0x1f83d9(0xa2)](_0x4c7e61);this[_0x1f83d9(0xc0)](_0x3610ab,_0x1f83d9(0xc3),(_0x363ce5,_0x199f8a)=>{const _0x103de5=_0x1f83d9;this[_0x103de5(0xc0)](_0x199f8a,_0x103de5(0xc8),()=>{const _0x5bd07b=_0x103de5;this[_0x5bd07b(0xa2)](_0x199f8a);});}),this[_0x1f83d9(0xc0)](_0x3610ab,_0x1f83d9(0xc1),(_0x185242,_0x40413a)=>{const _0x40f558=_0x1f83d9;_0x40413a[_0x40f558(0x9f)][_0x40f558(0xc2)](_0x40f558(0xcd))&&this[_0x40f558(0xbc)](_0x40413a[_0x40f558(0x9f)][_0x40f558(0xa1)](_0x40f558(0xcd)));}),window[_0x1f83d9(0xa3)](_0x1f83d9(0xc7),this[_0x1f83d9(0xaf)]),this[_0x1f83d9(0xdf)][_0x1f83d9(0xb3)]();}[_0x416441(0xb1)](){const _0x587155=_0x416441;if(!this[_0x587155(0xbe)])throw new _0x393721(_0x587155(0xbf),this);this[_0x587155(0x9d)](null);const _0x5c479e=this[_0x587155(0xb2)][_0x587155(0x9f)][_0x587155(0xa1)](_0x374532);_0x5c479e[_0x587155(0xb4)](this[_0x587155(0xdf)]),this[_0x587155(0xdb)](_0x5c479e),this[_0x587155(0xdb)](this[_0x587155(0xdf)]),this[_0x587155(0xb2)]instanceof _0x34336f&&this[_0x587155(0xdb)](this[_0x587155(0xb2)][_0x587155(0xc9)]);for(const _0x2c74e4 of Array[_0x587155(0xdd)](this[_0x587155(0xac)]))this[_0x587155(0xbc)](_0x2c74e4);window[_0x587155(0xb0)](_0x587155(0xc7),this[_0x587155(0xaf)]),this[_0x587155(0xaf)][_0x587155(0xd8)](),this[_0x587155(0xc5)]=null,this[_0x587155(0xbe)]=!0x1,this[_0x587155(0xdf)]=null;}[_0x416441(0xda)](){const _0x27bc55=_0x416441;this[_0x27bc55(0xbe)]&&this[_0x27bc55(0xb1)]();}[_0x416441(0xa2)](_0x2955de){const _0x1fff78=_0x416441,_0x1b3ad6=_0x2955de[_0x1fff78(0x9f)][_0x1fff78(0xa1)](_0x424557);if(!_0x1b3ad6)return;const _0x4dd6c3=()=>{const _0x54ddec=_0x1fff78,_0x513034=_0x1b3ad6[_0x54ddec(0xd4)]({'annotations':this[_0x54ddec(0xdf)],'activeAnnotation':this[_0x54ddec(0xc5)]});this[_0x54ddec(0x9d)](_0x513034[0x0]||null);};this[_0x1fff78(0xc0)](_0x1b3ad6,_0x1fff78(0xb8),_0x4dd6c3),this[_0x1fff78(0xc0)](_0x1b3ad6,_0x1fff78(0xb6),(_0x1b402f,{isAnnotationTracked:_0x11d544})=>{const _0x1fa095=_0x1fff78;this[_0x1fa095(0xc5)]&&_0x11d544(this[_0x1fa095(0xc5)])&&this[_0x1fa095(0x9d)](null);}),this[_0x1fff78(0xc0)](_0x1b3ad6,_0x1fff78(0xa8),()=>{const _0x5a0525=_0x1fff78;this[_0x5a0525(0xaf)]();}),this[_0x1fff78(0xc0)](this[_0x1fff78(0xdf)],_0x1fff78(0xb6),_0x1a8d62=>{const _0x3fef1c=_0x1fff78;_0x1b3ad6[_0x3fef1c(0xc6)]()&&(_0x4dd6c3(),_0x1a8d62[_0x3fef1c(0xa9)]());},{'priority':_0x1fff78(0xc4)}),this[_0x1fff78(0xac)][_0x1fff78(0xc3)](_0x1b3ad6);}[_0x416441(0xbc)](_0x27e734){const _0x881ff3=_0x416441;this[_0x881ff3(0xdb)](_0x27e734),this[_0x881ff3(0xac)][_0x881ff3(0xc1)](_0x27e734);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x58a340=_0x11d5;function _0x3621(){const _0x531caa=['4772185qDvnot','isEnabled','item','7CQqFYn','createRange','603VuBwzU','getRanges','$textProxy','schema','addMarker','getLastMatchingPosition','document','backward','3964542oyyPMl','2470560rmLjuF','4tbybfw','element','selection','20FhjkqS','_hasContent','editor','start','getItems','end','1881669pmqxlW','45280kyXDNm','comment:','tableCell','_trimToContent','model','_itemIsContent','78865wRRyOG','execute','2050752hSxyhD','push','refresh','substr','isObject','change'];_0x3621=function(){return _0x531caa;};return _0x3621();}(function(_0x381a7a,_0x14fd0a){const _0x4d1c40=_0x11d5,_0xcd0e6d=_0x381a7a();while(!![]){try{const _0xd0c433=parseInt(_0x4d1c40(0xdc))/0x1*(parseInt(_0x4d1c40(0xf6))/0x2)+parseInt(_0x4d1c40(0xd5))/0x3*(-parseInt(_0x4d1c40(0xf3))/0x4)+parseInt(_0x4d1c40(0xe4))/0x5+parseInt(_0x4d1c40(0xf1))/0x6*(-parseInt(_0x4d1c40(0xe7))/0x7)+parseInt(_0x4d1c40(0xd6))/0x8*(-parseInt(_0x4d1c40(0xe9))/0x9)+parseInt(_0x4d1c40(0xf2))/0xa+parseInt(_0x4d1c40(0xde))/0xb;if(_0xd0c433===_0x14fd0a)break;else _0xcd0e6d['push'](_0xcd0e6d['shift']());}catch(_0xb401e5){_0xcd0e6d['push'](_0xcd0e6d['shift']());}}}(_0x3621,0x7c5bf));function _0x11d5(_0x1ad743,_0x5b602d){const _0x36215a=_0x3621();return _0x11d5=function(_0x11d5b8,_0x2a43a2){_0x11d5b8=_0x11d5b8-0xd2;let _0x190880=_0x36215a[_0x11d5b8];return _0x190880;},_0x11d5(_0x1ad743,_0x5b602d);}import{Command as _0x525619}from'ckeditor5/src/core.js';import{uid as _0x3d08c8}from'ckeditor5/src/utils.js';export default class G extends _0x525619{[_0x58a340(0xe0)](){const _0x46458b=_0x58a340,_0x2114cb=this[_0x46458b(0xf8)][_0x46458b(0xda)][_0x46458b(0xef)][_0x46458b(0xf5)];for(const _0x42c037 of _0x2114cb[_0x46458b(0xea)]())if(this[_0x46458b(0xf7)](_0x42c037))return void(this[_0x46458b(0xe5)]=!0x0);this[_0x46458b(0xe5)]=!0x1;}[_0x58a340(0xdd)]({threadId:_0x4d7c4b=_0x3d08c8()}={}){const _0x5ee53f=_0x58a340,_0x15deed=this[_0x5ee53f(0xf8)][_0x5ee53f(0xda)],_0x39276f=[];for(const _0x540b3d of _0x15deed[_0x5ee53f(0xef)][_0x5ee53f(0xf5)][_0x5ee53f(0xea)]())this[_0x5ee53f(0xf7)](_0x540b3d)&&_0x39276f[_0x5ee53f(0xdf)](this[_0x5ee53f(0xd9)](_0x540b3d));_0x15deed[_0x5ee53f(0xe3)](_0x405cfd=>{const _0x50a2ba=_0x5ee53f;for(const _0x29204d of _0x39276f){const _0x1659ee=_0x3d08c8()[_0x50a2ba(0xe1)](0x1,0x5),_0x580f35=_0x50a2ba(0xd7)+_0x4d7c4b+':'+_0x1659ee;_0x405cfd[_0x50a2ba(0xed)](_0x580f35,{'range':_0x29204d,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x58a340(0xf7)](_0x122cce){const _0x3ca249=_0x58a340;for(const _0x4070e5 of _0x122cce[_0x3ca249(0xd3)]())if(this[_0x3ca249(0xdb)](_0x4070e5))return!0x0;return!0x1;}[_0x58a340(0xdb)](_0x5e2d4b){const _0x6034f4=_0x58a340;return _0x5e2d4b['is'](_0x6034f4(0xeb))||this[_0x6034f4(0xf8)][_0x6034f4(0xda)][_0x6034f4(0xec)][_0x6034f4(0xe2)](_0x5e2d4b)&&!_0x5e2d4b['is'](_0x6034f4(0xf4),_0x6034f4(0xd8));}[_0x58a340(0xd9)](_0xed4301){const _0x4cd03b=_0x58a340,_0x3f4c3f=_0x277729=>!this[_0x4cd03b(0xdb)](_0x277729[_0x4cd03b(0xe6)]),_0xbd8f1b=_0xed4301[_0x4cd03b(0xd2)][_0x4cd03b(0xee)](_0x3f4c3f),_0x21f1f1=_0xed4301[_0x4cd03b(0xd4)][_0x4cd03b(0xee)](_0x3f4c3f,{'direction':_0x4cd03b(0xf0)});return this[_0x4cd03b(0xf8)][_0x4cd03b(0xda)][_0x4cd03b(0xe8)](_0xbd8f1b,_0x21f1f1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f8858=_0x1f0e;(function(_0x1a8fcc,_0x4cfa8d){const _0x2b2e9b=_0x1f0e,_0x2b3e8a=_0x1a8fcc();while(!![]){try{const _0x523888=parseInt(_0x2b2e9b(0x12c))/0x1*(-parseInt(_0x2b2e9b(0x143))/0x2)+parseInt(_0x2b2e9b(0x129))/0x3+-parseInt(_0x2b2e9b(0x128))/0x4*(parseInt(_0x2b2e9b(0x12f))/0x5)+-parseInt(_0x2b2e9b(0x12d))/0x6+-parseInt(_0x2b2e9b(0x133))/0x7*(-parseInt(_0x2b2e9b(0x145))/0x8)+parseInt(_0x2b2e9b(0x12a))/0x9+-parseInt(_0x2b2e9b(0x135))/0xa*(-parseInt(_0x2b2e9b(0x12b))/0xb);if(_0x523888===_0x4cfa8d)break;else _0x2b3e8a['push'](_0x2b3e8a['shift']());}catch(_0xfefecb){_0x2b3e8a['push'](_0x2b3e8a['shift']());}}}(_0x4c9b,0x98c86));import{ContextPlugin as _0x322992}from'ckeditor5/src/core.js';import{Collection as _0x435f7e}from'ckeditor5/src/utils.js';import _0x10687a from'./commentsrepository.js';import _0x4e1822 from'../annotations/annotations.js';export default class p extends _0x322992{static get[_0x2f8858(0x130)](){const _0x1a5dd5=_0x2f8858;return _0x1a5dd5(0x13c);}static get[_0x2f8858(0x131)](){return[_0x10687a,_0x4e1822];}constructor(_0x2e7604){const _0x93098e=_0x2f8858;super(_0x2e7604),this[_0x93098e(0x12e)]=new _0x435f7e();}[_0x2f8858(0x142)](){const _0xb195c6=_0x2f8858,_0x3d0a1d=this[_0xb195c6(0x127)],_0x3708c9=_0x3d0a1d[_0xb195c6(0x123)][_0xb195c6(0x126)](_0x10687a),_0x2877be=_0x3d0a1d[_0xb195c6(0x123)][_0xb195c6(0x126)](_0x4e1822);this[_0xb195c6(0x144)](_0x3708c9,_0xb195c6(0x136),(_0x790751,{threadId:_0x5f2c2c})=>{const _0x2c24a5=_0xb195c6,_0x386c74=_0x3708c9[_0x2c24a5(0x139)](_0x5f2c2c);_0x386c74[_0x2c24a5(0x13f)]&&this[_0x2c24a5(0x12e)][_0x2c24a5(0x137)](_0x386c74,this[_0x2c24a5(0x125)](_0x386c74[_0x2c24a5(0x13f)])),this[_0x2c24a5(0x144)](_0x386c74,_0x2c24a5(0x140),(_0x42c5ba,_0x131010,_0x148ad5)=>{const _0x429736=_0x2c24a5;_0x148ad5?this[_0x429736(0x12e)][_0x429736(0x13d)](_0x386c74)||this[_0x429736(0x12e)][_0x429736(0x137)](_0x386c74,this[_0x429736(0x125)](_0x386c74[_0x429736(0x13f)])):this[_0x429736(0x12e)][_0x429736(0x13d)](_0x386c74)&&this[_0x429736(0x12e)][_0x429736(0x122)](_0x386c74);});}),this[_0xb195c6(0x144)](_0x3708c9,_0xb195c6(0x13a),(_0x41e54d,{threadId:_0x27a344})=>{const _0x1487a1=_0xb195c6,_0x53825a=_0x3708c9[_0x1487a1(0x139)](_0x27a344);this[_0x1487a1(0x132)](_0x53825a),this[_0x1487a1(0x12e)][_0x1487a1(0x13d)](_0x53825a)&&this[_0x1487a1(0x12e)][_0x1487a1(0x122)](_0x53825a);},{'priority':_0xb195c6(0x141)}),this[_0xb195c6(0x144)](_0x2877be[_0xb195c6(0x134)],_0xb195c6(0x124),(_0xbbf14d,_0x352d27)=>{const _0x334b89=_0xb195c6;_0x352d27[_0x334b89(0x138)]=!0x0,_0x2877be[_0x334b89(0x13b)](_0x352d27);});}[_0x2f8858(0x125)](_0x6df620){const _0x5448b0=_0x2f8858,_0x562e7a=[...this[_0x5448b0(0x12e)]][_0x5448b0(0x13e)](_0x11a08c=>_0x11a08c[_0x5448b0(0x13f)]<_0x6df620);return _0x562e7a>-0x1?_0x562e7a:this[_0x5448b0(0x12e)][_0x5448b0(0x146)];}}function _0x1f0e(_0x1c9fd1,_0x16dc43){const _0x4c9b16=_0x4c9b();return _0x1f0e=function(_0x1f0e24,_0x3ea7da){_0x1f0e24=_0x1f0e24-0x122;let _0x376617=_0x4c9b16[_0x1f0e24];return _0x376617;},_0x1f0e(_0x1c9fd1,_0x16dc43);}function _0x4c9b(){const _0x58275f=['remove','plugins','focus','_calculatePosition','get','context','20932vfZhEd','1165122PypNNk','9466299tDkViH','1274449TXAEFG','844bCAmbG','2623080PUrhrq','archivedThreads','255PLGJaP','pluginName','requires','stopListening','285761fSvhRf','collection','70noSgbB','addCommentThread','add','isActive','getCommentThread','removeCommentThread','activate','CommentsArchive','has','findIndex','archivedAt','change:archivedAt','highest','init','2280iJXHAk','listenTo','8tqiEha','length'];_0x4c9b=function(){return _0x58275f;};return _0x4c9b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2aa774=_0x2d63;(function(_0x1a32d8,_0x5936f2){const _0x2fa45a=_0x2d63,_0x23af36=_0x1a32d8();while(!![]){try{const _0x27794d=parseInt(_0x2fa45a(0x123))/0x1*(-parseInt(_0x2fa45a(0x143))/0x2)+-parseInt(_0x2fa45a(0x13f))/0x3+-parseInt(_0x2fa45a(0x13b))/0x4*(-parseInt(_0x2fa45a(0x125))/0x5)+parseInt(_0x2fa45a(0x131))/0x6+-parseInt(_0x2fa45a(0x127))/0x7+-parseInt(_0x2fa45a(0x137))/0x8+parseInt(_0x2fa45a(0x11e))/0x9*(parseInt(_0x2fa45a(0x129))/0xa);if(_0x27794d===_0x5936f2)break;else _0x23af36['push'](_0x23af36['shift']());}catch(_0x440892){_0x23af36['push'](_0x23af36['shift']());}}}(_0x2601,0x9c515));import'../../theme/commentsarchive.css';import{Plugin as _0x3c68cc}from'ckeditor5/src/core.js';import{ViewCollection as _0x4f0383,MenuBarMenuListItemButtonView as _0x34141e,ButtonView as _0x5dedae,Dialog as _0x11efeb,DialogViewPosition as _0x15af28}from'ckeditor5/src/ui.js';import _0xb4e981 from'../../theme/icons/comments-archive.svg';function _0x2d63(_0x1ef256,_0x1940e9){const _0x2601eb=_0x2601();return _0x2d63=function(_0x2d63cf,_0x412f07){_0x2d63cf=_0x2d63cf-0x110;let _0x2c7026=_0x2601eb[_0x2d63cf];return _0x2c7026;},_0x2d63(_0x1ef256,_0x1940e9);}import{getTranslation as _0x2338c9}from'../utils/common-translations.js';import _0x3ad342 from'./ui/view/commentsarchiveview.js';function _0x2601(){const _0x4e0c7d=['length','Annotations','archivedThreads','1706616bqXkkv','listenTo','menuBar:commentsArchive','_threadToController','isVisible','tooltip','6030928WhdegY','_visibleAnnotations','focusableElements','CommentsArchiveUI','76XlXION','EDITOR_TOP_SIDE','find','editor','2045178bkLWYu','config','bind','_pendingThreads','107742NpUQyM','collaboration.channelId','plugins','commentsArchive','stopListening','add','show','_createCommentsArchiveButton','annotationViews','commentsArchiveView','indexOf','splice','isEnabled','archivedAt','remove','execute','locale','filter','set','Dialog','pluginName','componentFactory','getByInnerView','view','COMMENTS_ARCHIVE','push','502371HTgIFh','init','get','findIndex','_calculatePosition','5cYhGMu','collection','295305EMQitm','innerView','4760854CPdiia','requires','290RUuXjP','channelId','hide','CommentsRepository','_toggleDialog'];_0x2601=function(){return _0x4e0c7d;};return _0x2601();}import _0x569c07 from'./commentsarchive.js';export default class a extends _0x3c68cc{static get[_0x2aa774(0x118)](){const _0x5eff59=_0x2aa774;return _0x5eff59(0x13a);}static get[_0x2aa774(0x128)](){return[_0x569c07,_0x11efeb];}constructor(_0x35a288){const _0x2b0b5c=_0x2aa774;super(_0x35a288),this[_0x2b0b5c(0x14b)]=new _0x4f0383(),this[_0x2b0b5c(0x142)]=[];}[_0x2aa774(0x11f)](){const _0x3a2d4c=_0x2aa774;this[_0x3a2d4c(0x13e)]['ui'][_0x3a2d4c(0x119)][_0x3a2d4c(0x148)](_0x3a2d4c(0x146),()=>this[_0x3a2d4c(0x14a)](_0x5dedae,!0x0)),this[_0x3a2d4c(0x13e)]['ui'][_0x3a2d4c(0x119)][_0x3a2d4c(0x148)](_0x3a2d4c(0x133),()=>this[_0x3a2d4c(0x14a)](_0x34141e));const _0x43d8e3=this[_0x3a2d4c(0x13e)][_0x3a2d4c(0x145)][_0x3a2d4c(0x120)](_0x569c07),_0x36af1d=this[_0x3a2d4c(0x13e)][_0x3a2d4c(0x145)][_0x3a2d4c(0x120)](_0x3a2d4c(0x12f)),_0x58879e=this[_0x3a2d4c(0x13e)][_0x3a2d4c(0x145)][_0x3a2d4c(0x120)](_0x3a2d4c(0x12c));this[_0x3a2d4c(0x132)](_0x43d8e3[_0x3a2d4c(0x130)],_0x3a2d4c(0x148),(_0x13b515,_0x9397ee)=>{const _0x34f401=_0x3a2d4c,_0x189f34=this[_0x34f401(0x13e)][_0x34f401(0x140)][_0x34f401(0x120)](_0x34f401(0x144));if(!_0x189f34||_0x9397ee[_0x34f401(0x12a)]===_0x189f34){const _0x1f11fd=_0x58879e[_0x34f401(0x134)][_0x34f401(0x120)](_0x9397ee);if(!_0x1f11fd)return void this[_0x34f401(0x142)][_0x34f401(0x11d)](_0x9397ee);const _0x464f53=this[_0x34f401(0x122)](_0x9397ee[_0x34f401(0x111)]),_0x5398b8=_0x36af1d[_0x34f401(0x11a)](_0x1f11fd[_0x34f401(0x11b)]);_0x5398b8[_0x34f401(0x135)]&&_0x36af1d[_0x34f401(0x138)][_0x34f401(0x112)](_0x5398b8),this[_0x34f401(0x14b)][_0x34f401(0x148)](_0x5398b8[_0x34f401(0x11b)],_0x464f53);}}),this[_0x3a2d4c(0x132)](_0x36af1d[_0x3a2d4c(0x124)],_0x3a2d4c(0x148),(_0x5c4015,_0x15d42c)=>{const _0x2011aa=_0x3a2d4c,_0x2131b4=this[_0x2011aa(0x142)][_0x2011aa(0x13d)](_0x52a2b8=>{const _0xf6049f=_0x2011aa,_0x12f22f=_0x58879e[_0xf6049f(0x134)][_0xf6049f(0x120)](_0x52a2b8);return _0x12f22f&&_0x15d42c[_0xf6049f(0x126)]===_0x12f22f[_0xf6049f(0x11b)];});if(_0x2131b4){const _0x4f9592=this[_0x2011aa(0x122)](_0x2131b4[_0x2011aa(0x111)]);this[_0x2011aa(0x14b)][_0x2011aa(0x148)](_0x15d42c[_0x2011aa(0x11b)],_0x4f9592),this[_0x2011aa(0x142)][_0x2011aa(0x14e)](this[_0x2011aa(0x142)][_0x2011aa(0x14d)](_0x2131b4),0x1);}}),this[_0x3a2d4c(0x132)](_0x43d8e3[_0x3a2d4c(0x130)],_0x3a2d4c(0x112),(_0x49066a,_0x1331c4)=>{const _0x261535=_0x3a2d4c,_0x2f397f=this[_0x261535(0x13e)][_0x261535(0x140)][_0x261535(0x120)](_0x261535(0x144));if(!_0x2f397f||_0x1331c4[_0x261535(0x12a)]===_0x2f397f){const _0x7a1ec2=_0x58879e[_0x261535(0x134)][_0x261535(0x120)](_0x1331c4),_0x561e53=_0x36af1d[_0x261535(0x11a)](_0x7a1ec2[_0x261535(0x11b)]);this[_0x261535(0x14b)][_0x261535(0x112)](_0x561e53[_0x261535(0x11b)]),this[_0x261535(0x147)](_0x561e53[_0x261535(0x139)]);}});}[_0x2aa774(0x122)](_0x4cb0db){const _0x1b68b7=_0x2aa774,_0x1ac8ae=this[_0x1b68b7(0x13e)][_0x1b68b7(0x140)][_0x1b68b7(0x120)](_0x1b68b7(0x144)),_0x23c100=[...this[_0x1b68b7(0x13e)][_0x1b68b7(0x145)][_0x1b68b7(0x120)](_0x569c07)[_0x1b68b7(0x130)]][_0x1b68b7(0x115)](_0x1b2842=>_0x1b2842[_0x1b68b7(0x12a)]===_0x1ac8ae)[_0x1b68b7(0x121)](_0x310976=>_0x310976[_0x1b68b7(0x111)]<_0x4cb0db);return _0x23c100<0x0||_0x23c100>this[_0x1b68b7(0x14b)][_0x1b68b7(0x12e)]?this[_0x1b68b7(0x14b)][_0x1b68b7(0x12e)]:_0x23c100-0x1;}[_0x2aa774(0x12d)](){const _0x10bc40=_0x2aa774,_0x38fd6d=this[_0x10bc40(0x13e)],_0x82507e=_0x38fd6d[_0x10bc40(0x145)][_0x10bc40(0x120)](_0x10bc40(0x117));this[_0x10bc40(0x14c)]||(this[_0x10bc40(0x14c)]=new _0x3ad342(_0x38fd6d[_0x10bc40(0x114)],this[_0x10bc40(0x14b)])),_0x10bc40(0x146)===_0x82507e['id']?_0x82507e[_0x10bc40(0x12b)]():_0x82507e[_0x10bc40(0x149)]({'id':_0x10bc40(0x146),'title':_0x2338c9(_0x38fd6d[_0x10bc40(0x114)],_0x10bc40(0x11c)),'icon':_0xb4e981,'hasCloseButton':!0x0,'content':this[_0x10bc40(0x14c)],'position':_0x15af28[_0x10bc40(0x13c)]});}[_0x2aa774(0x14a)](_0x8c5158,_0x1b44b5=!0x1){const _0x20b117=_0x2aa774,_0x53b2a7=this[_0x20b117(0x13e)][_0x20b117(0x114)],_0x1e8b81=new _0x8c5158(_0x53b2a7);return _0x1e8b81[_0x20b117(0x141)](_0x20b117(0x110))['to'](this,_0x20b117(0x110)),_0x1e8b81[_0x20b117(0x116)]({'label':_0x2338c9(_0x53b2a7,_0x20b117(0x11c)),'icon':_0xb4e981}),_0x1b44b5&&(_0x1e8b81[_0x20b117(0x136)]=!0x0),this[_0x20b117(0x132)](_0x1e8b81,_0x20b117(0x113),()=>this[_0x20b117(0x12d)]()),_0x1e8b81;}}
|