@ckeditor/ckeditor5-comments 41.2.1 → 41.3.0-alpha.3
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/content-index.css +332 -0
- package/dist/editor-index.css +902 -0
- package/dist/index.css +1874 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/types/annotations/annotation.d.ts +94 -0
- package/dist/types/annotations/annotationcollection.d.ts +102 -0
- package/dist/types/annotations/annotations.d.ts +158 -0
- package/dist/types/annotations/annotationsuis.d.ts +236 -0
- package/dist/types/annotations/editorannotations.d.ts +71 -0
- package/dist/types/annotations/inlineannotations.d.ts +94 -0
- package/dist/types/annotations/narrowsidebar.d.ts +89 -0
- package/dist/types/annotations/sidebar.d.ts +104 -0
- package/dist/types/annotations/view/annotationcounterbuttonview.d.ts +33 -0
- package/dist/types/annotations/view/annotationview.d.ts +94 -0
- package/dist/types/annotations/view/sidebaritemview.d.ts +59 -0
- package/dist/types/annotations/view/sidebarview.d.ts +36 -0
- package/dist/types/annotations/widesidebar.d.ts +81 -0
- package/dist/types/augmentation.d.ts +56 -0
- package/dist/types/comments/addcommentthreadcommand.d.ts +39 -0
- package/dist/types/comments/commentsarchive.d.ts +35 -0
- package/dist/types/comments/commentsarchiveui.d.ts +42 -0
- package/dist/types/comments/commentsediting.d.ts +84 -0
- package/dist/types/comments/commentsrepository.d.ts +1134 -0
- package/dist/types/comments/commentsui.d.ts +37 -0
- package/dist/types/comments/integrations/clipboard.d.ts +30 -0
- package/dist/types/comments/integrations/commentsrestrictededitingmode.d.ts +21 -0
- package/dist/types/comments/integrations/importword.d.ts +25 -0
- package/dist/types/comments/ui/commenteditor/commenteditor.d.ts +40 -0
- package/dist/types/comments/ui/commenteditor/commenteditorui.d.ts +35 -0
- package/dist/types/comments/ui/commenteditor/commenteditoruiview.d.ts +40 -0
- package/dist/types/comments/ui/commentthreadcontroller.d.ts +68 -0
- package/dist/types/comments/ui/view/basecommentthreadview.d.ts +123 -0
- package/dist/types/comments/ui/view/basecommentview.d.ts +116 -0
- package/dist/types/comments/ui/view/collapsedcommentsview.d.ts +17 -0
- package/dist/types/comments/ui/view/commentcontentview.d.ts +18 -0
- package/dist/types/comments/ui/view/commentinputview.d.ts +90 -0
- package/dist/types/comments/ui/view/commentsarchiveview.d.ts +42 -0
- package/dist/types/comments/ui/view/commentslistview.d.ts +104 -0
- package/dist/types/comments/ui/view/commentthreadheaderview.d.ts +54 -0
- package/dist/types/comments/ui/view/commentthreadinputview.d.ts +45 -0
- package/dist/types/comments/ui/view/commentthreadview.d.ts +122 -0
- package/dist/types/comments/ui/view/commentview.d.ts +247 -0
- package/dist/types/comments.d.ts +39 -0
- package/dist/types/commentsonly.d.ts +37 -0
- package/dist/types/config.d.ts +202 -0
- package/dist/types/index.d.ts +28 -0
- package/dist/types/utils/common-translations.d.ts +13 -0
- package/dist/types/utils/createmutationobserver.d.ts +18 -0
- package/package.json +4 -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/config.d.ts +17 -10
- package/src/index.d.ts +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 _0x52e209=_0x2e46;(function(_0x5cde4c,_0x265908){const _0x4a7d11=_0x2e46,_0x30d2c5=_0x5cde4c();while(!![]){try{const _0x293615=parseInt(_0x4a7d11(0x20f))/0x1*(parseInt(_0x4a7d11(0x20a))/0x2)+-parseInt(_0x4a7d11(0x1c2))/0x3+parseInt(_0x4a7d11(0x20e))/0x4*(-parseInt(_0x4a7d11(0x1c5))/0x5)+parseInt(_0x4a7d11(0x1e6))/0x6+-parseInt(_0x4a7d11(0x1c4))/0x7+parseInt(_0x4a7d11(0x1c9))/0x8*(-parseInt(_0x4a7d11(0x1b3))/0x9)+parseInt(_0x4a7d11(0x1f3))/0xa;if(_0x293615===_0x265908)break;else _0x30d2c5['push'](_0x30d2c5['shift']());}catch(_0x476862){_0x30d2c5['push'](_0x30d2c5['shift']());}}}(_0x36c9,0xd1024));import{Plugin as _0x16eff4}from'ckeditor5/src/core.js';import _0x2a499a from'./annotationsuis.js';import _0x2a950b from'./editorannotations.js';function _0x2e46(_0x37492a,_0x6084d5){const _0x36c9ef=_0x36c9();return _0x2e46=function(_0x2e46bc,_0x32fd97){_0x2e46bc=_0x2e46bc-0x1af;let _0x417432=_0x36c9ef[_0x2e46bc];return _0x417432;},_0x2e46(_0x37492a,_0x6084d5);}function _0x36c9(){const _0x4def83=['inline','context','document','InlineAnnotations','getClientRects','targetRect','_addedAnnotations','_closeAnnotation','switchTo','refresh','getOrderedSelectedAnnotations','destroy','addObserver','_forceRefresh','top','3151218HdxPAh','viewRangeToDom','change:height','every','left','collapse','right','setActiveAnnotation','focus','set','focusTracker','editableElement','change:isFocused','27931970fyrlSr','attach','push','update','afterInit','isActive','has','includes','domConverter','activeAnnotation','fromRect','add','mousedown','editor','showStack','hasView','editing','change:visibleView','isFocused','_balloon','requires','keystrokes','bottom','2987948eZhXre','length','target','getFirstRange','5612ikKJRR','1roCIHv','_addAnnotationToBalloon','_setSelectedAnnotations','map','from','9hJFiWF','remove','stopListening','Esc','listenTo','width','selection','blur','init','plugins','updatePosition','visibleView','view','_removeAnnotationFromBalloon','find','4803837cZccYA','inlineannotations-attach-already-attached','294868hDpxPP','4470klcumP','delete','getByView','hasActive','8468712piUIxl','inlineannotations-not-allowed-with-context','_selectedAnnotations','isAttached','register','detach','annotations','inlineannotations-detach-not-attached','pluginName','_manuallyClosed','getBoundingClientRect','clear','_getBalloonTargetForAnnotation','get'];_0x36c9=function(){return _0x4def83;};return _0x36c9();}import{ContextualBalloon as _0x430ef0}from'ckeditor5/src/ui.js';import{MouseObserver as _0x597aea}from'ckeditor5/src/engine.js';import{CKEditorError as _0x201dc5,Rect as _0x2aac04}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x16eff4{static get[_0x52e209(0x207)](){return[_0x2a950b,_0x430ef0,_0x2a499a];}static get[_0x52e209(0x1d1)](){const _0xc0f426=_0x52e209;return _0xc0f426(0x1da);}constructor(_0x44b0ee){const _0x2aa00a=_0x52e209;super(_0x44b0ee),_0x44b0ee[_0x2aa00a(0x203)][_0x2aa00a(0x1bf)][_0x2aa00a(0x1e3)](_0x597aea),this[_0x2aa00a(0x1cc)]=!0x1,this[_0x2aa00a(0x1ef)](_0x2aa00a(0x1fc),null),this[_0x2aa00a(0x1cf)]=null,this[_0x2aa00a(0x1d2)]=new Set(),this[_0x2aa00a(0x206)]=_0x44b0ee[_0x2aa00a(0x1bc)][_0x2aa00a(0x1d6)](_0x430ef0),this[_0x2aa00a(0x1dd)]=new Set(),this[_0x2aa00a(0x1cb)]=[],this[_0x2aa00a(0x1e4)]=!0x1;}[_0x52e209(0x1bb)](){const _0x5d60fb=_0x52e209,_0x43db7a=this[_0x5d60fb(0x200)][_0x5d60fb(0x1bc)][_0x5d60fb(0x1d6)](_0x2a499a);_0x43db7a[_0x5d60fb(0x1d8)]===this[_0x5d60fb(0x200)]&&(_0x43db7a[_0x5d60fb(0x1cd)](_0x5d60fb(0x1d7),this),this[_0x5d60fb(0x200)][_0x5d60fb(0x208)][_0x5d60fb(0x1ef)](_0x5d60fb(0x1b6),(_0x60406c,_0x581166)=>{const _0x4c5819=_0x5d60fb,_0x56c2cd=this[_0x4c5819(0x206)];if(this[_0x4c5819(0x1cc)]&&_0x56c2cd[_0x4c5819(0x1be)]){const _0x5b8c24=this[_0x4c5819(0x1cf)][_0x4c5819(0x1c7)](_0x56c2cd[_0x4c5819(0x1be)]);_0x5b8c24&&this[_0x4c5819(0x1de)](_0x5b8c24),_0x581166();}}));}[_0x52e209(0x1f7)](){const _0x237a1a=_0x52e209,_0x352ffc=this[_0x237a1a(0x200)][_0x237a1a(0x1bc)][_0x237a1a(0x1d6)](_0x2a499a);_0x352ffc[_0x237a1a(0x1d8)]===this[_0x237a1a(0x200)]&&(_0x352ffc[_0x237a1a(0x1c8)]()||_0x352ffc[_0x237a1a(0x1df)](_0x237a1a(0x1d7)));}[_0x52e209(0x1ed)](_0x496881){const _0x245f02=_0x52e209;_0x496881!==this[_0x245f02(0x1fc)]&&(this[_0x245f02(0x1fc)]&&(this[_0x245f02(0x1fc)][_0x245f02(0x1f8)]=!0x1),_0x496881&&this[_0x245f02(0x200)]['ui'][_0x245f02(0x1f0)][_0x245f02(0x205)]&&(this[_0x245f02(0x1cf)][_0x245f02(0x1f9)](_0x496881)&&this[_0x245f02(0x1af)](_0x496881,!0x0),_0x496881[_0x245f02(0x1f8)]=!0x0),_0x496881||this[_0x245f02(0x1b0)]([]),this[_0x245f02(0x1fc)]=_0x496881);}[_0x52e209(0x1f4)](_0x44ded8){const _0x29964f=_0x52e209;this[_0x29964f(0x1cf)]=_0x44ded8;const _0x355216=this[_0x29964f(0x200)][_0x29964f(0x1bc)][_0x29964f(0x1d6)](_0x2a499a),_0x56bcea=this[_0x29964f(0x206)];if(this[_0x29964f(0x1cc)])throw new _0x201dc5(_0x29964f(0x1c3),this);if(_0x355216[_0x29964f(0x1d8)]!==this[_0x29964f(0x200)])throw new _0x201dc5(_0x29964f(0x1ca),this);const _0x569f07=this[_0x29964f(0x200)][_0x29964f(0x1bc)][_0x29964f(0x1d6)](_0x2a950b);this[_0x29964f(0x1b7)](_0x569f07,_0x29964f(0x1e0),()=>{const _0x5a7e73=_0x29964f,_0x272af2=_0x569f07[_0x5a7e73(0x1e1)]({'annotations':this[_0x5a7e73(0x1cf)],'activeAnnotation':this[_0x5a7e73(0x1fc)]});var _0x537af9,_0x5e0bdd;!this[_0x5a7e73(0x1e4)]&&(_0x537af9=_0x272af2,_0x5e0bdd=this[_0x5a7e73(0x1cb)],_0x537af9[_0x5a7e73(0x20b)]===_0x5e0bdd[_0x5a7e73(0x20b)]&&_0x537af9[_0x5a7e73(0x1e9)](_0x4f3b86=>_0x5e0bdd[_0x5a7e73(0x1fa)](_0x4f3b86)))||(this[_0x5a7e73(0x1e4)]=!0x1,this[_0x5a7e73(0x1b0)](_0x272af2),this[_0x5a7e73(0x1ed)](_0x272af2[0x0]||null));}),this[_0x29964f(0x1b7)](_0x569f07,_0x29964f(0x1ba),(_0x1cc10a,{isAnnotationTracked:_0x1eba30})=>{const _0x3051a9=_0x29964f;this[_0x3051a9(0x1fc)]&&_0x1eba30(this[_0x3051a9(0x1fc)])&&(this[_0x3051a9(0x1b0)]([]),this[_0x3051a9(0x1ed)](null));}),this[_0x29964f(0x1b7)](this[_0x29964f(0x200)]['ui'][_0x29964f(0x1f0)],_0x29964f(0x1f2),(_0x15b331,_0x17b287,_0x24f774)=>{const _0x564800=_0x29964f;_0x24f774||this[_0x564800(0x1ed)](null);}),this[_0x29964f(0x1b7)](_0x44ded8,_0x29964f(0x1b4),(_0x2861d6,_0x372737)=>{const _0xa13de9=_0x29964f;this[_0xa13de9(0x1c0)](_0x372737),_0x372737===this[_0xa13de9(0x1fc)]&&this[_0xa13de9(0x1ed)](null);}),this[_0x29964f(0x1b7)](_0x56bcea,_0x29964f(0x204),(_0x3e2ac1,_0x357b94,_0x1d9c42,_0x379ba4)=>{const _0x46852f=_0x29964f;_0x379ba4&&this[_0x46852f(0x1b5)](_0x379ba4);const _0x54432e=_0x44ded8[_0x46852f(0x1c7)](_0x1d9c42);_0x1d9c42&&_0x54432e&&(this[_0x46852f(0x1b7)](_0x1d9c42,_0x46852f(0x1e8),()=>{const _0x2c7799=_0x46852f;_0x56bcea[_0x2c7799(0x1bd)]();}),this[_0x46852f(0x1b7)](_0x1d9c42,_0x46852f(0x1b6),()=>{const _0x1757f9=_0x46852f;this[_0x1757f9(0x1de)](_0x54432e),this[_0x1757f9(0x200)][_0x1757f9(0x203)][_0x1757f9(0x1bf)][_0x1757f9(0x1ee)]();}),this[_0x46852f(0x1fc)]!==_0x54432e&&this[_0x46852f(0x1ed)](_0x54432e));}),this[_0x29964f(0x1b7)](this[_0x29964f(0x200)]['ui'],_0x29964f(0x1f6),()=>{const _0x16aa49=_0x29964f;_0x56bcea[_0x16aa49(0x1be)]&&(_0x44ded8[_0x16aa49(0x1c7)](_0x56bcea[_0x16aa49(0x1be)])&&_0x56bcea[_0x16aa49(0x1bd)]());}),this[_0x29964f(0x1b7)](this[_0x29964f(0x200)][_0x29964f(0x203)][_0x29964f(0x1bf)][_0x29964f(0x1d9)],_0x29964f(0x1ff),()=>{const _0x5a6107=_0x29964f;this[_0x5a6107(0x1e4)]=!0x0,this[_0x5a6107(0x1d2)][_0x5a6107(0x1d4)]();}),this[_0x29964f(0x200)][_0x29964f(0x203)][_0x29964f(0x1bf)][_0x29964f(0x1d9)][_0x29964f(0x1b9)][_0x29964f(0x1f1)]&&this[_0x29964f(0x200)][_0x29964f(0x203)][_0x29964f(0x1bf)][_0x29964f(0x1ee)](),this[_0x29964f(0x1cc)]=!0x0;}[_0x52e209(0x1ce)](){const _0x110c9f=_0x52e209;if(!this[_0x110c9f(0x1cc)])throw new _0x201dc5(_0x110c9f(0x1d0),this);this[_0x110c9f(0x1ed)](null);for(const _0x347382 of this[_0x110c9f(0x1dd)])this[_0x110c9f(0x1c0)](_0x347382);this[_0x110c9f(0x1b5)](),this[_0x110c9f(0x1cc)]=!0x1,this[_0x110c9f(0x1cf)]=null;}[_0x52e209(0x1e2)](){const _0x486f20=_0x52e209;this[_0x486f20(0x1cc)]&&this[_0x486f20(0x1ce)]();}[_0x52e209(0x1b0)](_0x189a5e){const _0x51e903=_0x52e209;for(const _0x53bd45 of this[_0x51e903(0x1cb)])_0x189a5e[_0x51e903(0x1fa)](_0x53bd45)||this[_0x51e903(0x1d2)][_0x51e903(0x1c6)](_0x53bd45);for(const _0x36ee8c of this[_0x51e903(0x1cf)])_0x189a5e[_0x51e903(0x1fa)](_0x36ee8c)||this[_0x51e903(0x1c0)](_0x36ee8c);if(this[_0x51e903(0x200)]['ui'][_0x51e903(0x1f0)][_0x51e903(0x205)]){for(const _0x92d99a of _0x189a5e)this[_0x51e903(0x1af)](_0x92d99a);}this[_0x51e903(0x1cb)]=_0x189a5e;}[_0x52e209(0x1af)](_0x91d973,_0x1f1c99=!0x1){const _0x4b881b=_0x52e209;this[_0x4b881b(0x1d2)][_0x4b881b(0x1f9)](_0x91d973)||(this[_0x4b881b(0x1dd)][_0x4b881b(0x1f9)](_0x91d973)||this[_0x4b881b(0x206)][_0x4b881b(0x202)](_0x91d973[_0x4b881b(0x1bf)])||(this[_0x4b881b(0x1dd)][_0x4b881b(0x1fe)](_0x91d973),this[_0x4b881b(0x206)][_0x4b881b(0x1fe)]({'stackId':_0x91d973[_0x4b881b(0x1bf)]['id'],'view':_0x91d973[_0x4b881b(0x1bf)],'position':{'target':()=>this[_0x4b881b(0x1d5)](_0x91d973)}})),_0x1f1c99&&this[_0x4b881b(0x206)][_0x4b881b(0x201)](_0x91d973[_0x4b881b(0x1bf)]['id']));}[_0x52e209(0x1d5)](_0x1a5740){const _0x1784ed=_0x52e209,_0x5e6d70=_0x1a5740[_0x1784ed(0x20c)],_0x5dd230=this[_0x1784ed(0x200)][_0x1784ed(0x203)][_0x1784ed(0x1bf)],_0x52f864=_0x5dd230[_0x1784ed(0x1d9)][_0x1784ed(0x1b9)][_0x1784ed(0x20d)](),_0x408b23=_0x5dd230[_0x1784ed(0x1fb)][_0x1784ed(0x1e7)](_0x52f864);if(_0x408b23[_0x1784ed(0x1eb)](!0x0),_0x5e6d70){if(_0x5e6d70 instanceof _0x2aac04)return _0x5e6d70;let _0x5f0ead=[];for(const _0x2e3234 of _0x5e6d70)_0x5f0ead[_0x1784ed(0x1f5)](...(_0x453f2f=_0x2e3234[_0x1784ed(0x1db)](),Array[_0x1784ed(0x1b2)](_0x453f2f)[_0x1784ed(0x1b1)](DOMRect[_0x1784ed(0x1fd)])));_0x5f0ead=function(_0x5a4386){const _0x4827f7=_0x1784ed,_0x5e3cb7=[];let _0x26b71e=_0x5a4386[0x0];for(let _0x253c24=0x1;_0x253c24<_0x5a4386[_0x4827f7(0x20b)];_0x253c24++)F(_0x26b71e,_0x5a4386[_0x253c24])?_0x26b71e[_0x4827f7(0x1b8)]+=_0x5a4386[_0x253c24][_0x4827f7(0x1b8)]:(_0x5e3cb7[_0x4827f7(0x1f5)](_0x26b71e),_0x26b71e=_0x5a4386[_0x253c24]);return _0x5e3cb7[_0x4827f7(0x1f5)](_0x26b71e),_0x5e3cb7;}(_0x5f0ead);const _0x20eb00=_0x408b23[_0x1784ed(0x1d3)]();return _0x5f0ead[_0x1784ed(0x1c1)](_0xc26b45=>_0xc26b45[_0x1784ed(0x1e5)]<=_0x20eb00[_0x1784ed(0x1e5)]&&_0xc26b45[_0x1784ed(0x209)]>=_0x20eb00[_0x1784ed(0x209)]&&_0xc26b45[_0x1784ed(0x1ea)]<=_0x20eb00[_0x1784ed(0x1ea)]&&_0xc26b45[_0x1784ed(0x1ec)]>=_0x20eb00[_0x1784ed(0x1ec)])||_0x5f0ead[0x0];}var _0x453f2f;return _0x1a5740[_0x1784ed(0x1dc)]||_0x408b23;}[_0x52e209(0x1c0)](_0x571c40){const _0x120bd5=_0x52e209;this[_0x120bd5(0x1dd)][_0x120bd5(0x1f9)](_0x571c40)&&this[_0x120bd5(0x206)][_0x120bd5(0x202)](_0x571c40[_0x120bd5(0x1bf)])&&(this[_0x120bd5(0x1dd)][_0x120bd5(0x1c6)](_0x571c40),this[_0x120bd5(0x206)][_0x120bd5(0x1b4)](_0x571c40[_0x120bd5(0x1bf)]));}[_0x52e209(0x1de)](_0x40d775){const _0x2fa0e2=_0x52e209;this[_0x2fa0e2(0x1d2)][_0x2fa0e2(0x1fe)](_0x40d775),this[_0x2fa0e2(0x1c0)](_0x40d775);}}function F(_0x3dc159,_0xcd5241){const _0x87f665=_0x52e209;return _0x3dc159[_0x87f665(0x1e5)]===_0xcd5241[_0x87f665(0x1e5)]&&_0x3dc159[_0x87f665(0x209)]===_0xcd5241[_0x87f665(0x209)]&&_0x3dc159[_0x87f665(0x1ec)]===_0xcd5241[_0x87f665(0x1ea)];}
|
|
23
|
+
function _0x264b(){const _0xc28d1=['inlineannotations-attach-already-attached','visibleView','addObserver','add','18pmqvVz','map','left','plugins','fromRect','inlineannotations-detach-not-attached','_addedAnnotations','_balloon','context','targetRect','activeAnnotation','update','Esc','_addAnnotationToBalloon','init','refresh','includes','inlineannotations-not-allowed-with-context','1724770BCPTsG','blur','destroy','length','view','getClientRects','2883084yjKWOV','getOrderedSelectedAnnotations','afterInit','_manuallyClosed','change:visibleView','getFirstRange','12248BznZVP','InlineAnnotations','9876340YePjpi','isFocused','_removeAnnotationFromBalloon','change:isFocused','focus','inline','isAttached','top','annotations','stopListening','_selectedAnnotations','getBoundingClientRect','from','detach','every','delete','5999sHyFxN','clear','_forceRefresh','collapse','hasView','keystrokes','domConverter','mousedown','bottom','_getBalloonTargetForAnnotation','5036307oAAHRg','editableElement','viewRangeToDom','isActive','selection','push','document','width','60870ZAoEKQ','updatePosition','editor','get','target','attach','right','showStack','_closeAnnotation','_setSelectedAnnotations','set','has','requires','focusTracker','register','32karvBH','pluginName','setActiveAnnotation','6481016ixDpwG','find','change:height','editing','listenTo','getByView','switchTo','hasActive','remove'];_0x264b=function(){return _0xc28d1;};return _0x264b();}const _0x30cec4=_0x3e6f;(function(_0x45c5e8,_0x11da52){const _0x5244cb=_0x3e6f,_0xcc03e7=_0x45c5e8();while(!![]){try{const _0x168499=-parseInt(_0x5244cb(0xfb))/0x1*(-parseInt(_0x5244cb(0x10a))/0x2)+parseInt(_0x5244cb(0xf3))/0x3+-parseInt(_0x5244cb(0x10d))/0x4+-parseInt(_0x5244cb(0xcb))/0x5+-parseInt(_0x5244cb(0xd1))/0x6+-parseInt(_0x5244cb(0xe9))/0x7*(parseInt(_0x5244cb(0xd7))/0x8)+-parseInt(_0x5244cb(0x11a))/0x9*(-parseInt(_0x5244cb(0xd9))/0xa);if(_0x168499===_0x11da52)break;else _0xcc03e7['push'](_0xcc03e7['shift']());}catch(_0x155194){_0xcc03e7['push'](_0xcc03e7['shift']());}}}(_0x264b,0xd4718));import{Plugin as _0x48ac64}from'ckeditor5/src/core.js';import _0x4e5386 from'./annotationsuis.js';function _0x3e6f(_0x40c308,_0x75cf05){const _0x264b31=_0x264b();return _0x3e6f=function(_0x3e6f21,_0x33171e){_0x3e6f21=_0x3e6f21-0xc4;let _0x30e95e=_0x264b31[_0x3e6f21];return _0x30e95e;},_0x3e6f(_0x40c308,_0x75cf05);}import _0xa55a91 from'./editorannotations.js';import{ContextualBalloon as _0x57edff}from'ckeditor5/src/ui.js';import{MouseObserver as _0x549efd}from'ckeditor5/src/engine.js';import{CKEditorError as _0x27476e,Rect as _0x449128}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x48ac64{static get[_0x30cec4(0x107)](){return[_0xa55a91,_0x57edff,_0x4e5386];}static get[_0x30cec4(0x10b)](){const _0x4229ef=_0x30cec4;return _0x4229ef(0xd8);}constructor(_0x5aee6c){const _0x4ee205=_0x30cec4;super(_0x5aee6c),_0x5aee6c[_0x4ee205(0x110)][_0x4ee205(0xcf)][_0x4ee205(0x118)](_0x549efd),this[_0x4ee205(0xdf)]=!0x1,this[_0x4ee205(0x105)](_0x4ee205(0x124),null),this[_0x4ee205(0xe1)]=null,this[_0x4ee205(0xd4)]=new Set(),this[_0x4ee205(0x121)]=_0x5aee6c[_0x4ee205(0x11d)][_0x4ee205(0xfe)](_0x57edff),this[_0x4ee205(0x120)]=new Set(),this[_0x4ee205(0xe3)]=[],this[_0x4ee205(0xeb)]=!0x1;}[_0x30cec4(0xc7)](){const _0x1ef7a5=_0x30cec4,_0x44bab5=this[_0x1ef7a5(0xfd)][_0x1ef7a5(0x11d)][_0x1ef7a5(0xfe)](_0x4e5386);_0x44bab5[_0x1ef7a5(0x122)]===this[_0x1ef7a5(0xfd)]&&(_0x44bab5[_0x1ef7a5(0x109)](_0x1ef7a5(0xde),this),this[_0x1ef7a5(0xfd)][_0x1ef7a5(0xee)][_0x1ef7a5(0x105)](_0x1ef7a5(0xc5),(_0x2a1bb5,_0xa2a3a5)=>{const _0x2f90d6=_0x1ef7a5,_0x2048e7=this[_0x2f90d6(0x121)];if(this[_0x2f90d6(0xdf)]&&_0x2048e7[_0x2f90d6(0x117)]){const _0x50a32e=this[_0x2f90d6(0xe1)][_0x2f90d6(0x112)](_0x2048e7[_0x2f90d6(0x117)]);_0x50a32e&&this[_0x2f90d6(0x103)](_0x50a32e),_0xa2a3a5();}}));}[_0x30cec4(0xd3)](){const _0x1b0ff5=_0x30cec4,_0x108170=this[_0x1b0ff5(0xfd)][_0x1b0ff5(0x11d)][_0x1b0ff5(0xfe)](_0x4e5386);_0x108170[_0x1b0ff5(0x122)]===this[_0x1b0ff5(0xfd)]&&(_0x108170[_0x1b0ff5(0x114)]()||_0x108170[_0x1b0ff5(0x113)](_0x1b0ff5(0xde)));}[_0x30cec4(0x10c)](_0x5f41a3){const _0x59eb7b=_0x30cec4;_0x5f41a3!==this[_0x59eb7b(0x124)]&&(this[_0x59eb7b(0x124)]&&(this[_0x59eb7b(0x124)][_0x59eb7b(0xf6)]=!0x1),_0x5f41a3&&this[_0x59eb7b(0xfd)]['ui'][_0x59eb7b(0x108)][_0x59eb7b(0xda)]&&(this[_0x59eb7b(0xe1)][_0x59eb7b(0x106)](_0x5f41a3)&&this[_0x59eb7b(0xc6)](_0x5f41a3,!0x0),_0x5f41a3[_0x59eb7b(0xf6)]=!0x0),_0x5f41a3||this[_0x59eb7b(0x104)]([]),this[_0x59eb7b(0x124)]=_0x5f41a3);}[_0x30cec4(0x100)](_0x370fe4){const _0x2077a9=_0x30cec4;this[_0x2077a9(0xe1)]=_0x370fe4;const _0x58bbe1=this[_0x2077a9(0xfd)][_0x2077a9(0x11d)][_0x2077a9(0xfe)](_0x4e5386),_0x22e434=this[_0x2077a9(0x121)];if(this[_0x2077a9(0xdf)])throw new _0x27476e(_0x2077a9(0x116),this);if(_0x58bbe1[_0x2077a9(0x122)]!==this[_0x2077a9(0xfd)])throw new _0x27476e(_0x2077a9(0xca),this);const _0x5b4c7d=this[_0x2077a9(0xfd)][_0x2077a9(0x11d)][_0x2077a9(0xfe)](_0xa55a91);this[_0x2077a9(0x111)](_0x5b4c7d,_0x2077a9(0xc8),()=>{const _0x2f270f=_0x2077a9,_0x537d2c=_0x5b4c7d[_0x2f270f(0xd2)]({'annotations':this[_0x2f270f(0xe1)],'activeAnnotation':this[_0x2f270f(0x124)]});var _0x848d33,_0x5e4faa;!this[_0x2f270f(0xeb)]&&(_0x848d33=_0x537d2c,_0x5e4faa=this[_0x2f270f(0xe3)],_0x848d33[_0x2f270f(0xce)]===_0x5e4faa[_0x2f270f(0xce)]&&_0x848d33[_0x2f270f(0xe7)](_0x3fd76d=>_0x5e4faa[_0x2f270f(0xc9)](_0x3fd76d)))||(this[_0x2f270f(0xeb)]=!0x1,this[_0x2f270f(0x104)](_0x537d2c),this[_0x2f270f(0x10c)](_0x537d2c[0x0]||null));}),this[_0x2077a9(0x111)](_0x5b4c7d,_0x2077a9(0xcc),(_0x254ae0,{isAnnotationTracked:_0x1eff1a})=>{const _0x157fa0=_0x2077a9;this[_0x157fa0(0x124)]&&_0x1eff1a(this[_0x157fa0(0x124)])&&(this[_0x157fa0(0x104)]([]),this[_0x157fa0(0x10c)](null));}),this[_0x2077a9(0x111)](this[_0x2077a9(0xfd)]['ui'][_0x2077a9(0x108)],_0x2077a9(0xdc),(_0x242d7f,_0x24c74a,_0x5d4d82)=>{const _0x4a11b3=_0x2077a9;_0x5d4d82||this[_0x4a11b3(0x10c)](null);}),this[_0x2077a9(0x111)](_0x370fe4,_0x2077a9(0x115),(_0x544542,_0x5d24b1)=>{const _0x1d5661=_0x2077a9;this[_0x1d5661(0xdb)](_0x5d24b1),_0x5d24b1===this[_0x1d5661(0x124)]&&this[_0x1d5661(0x10c)](null);}),this[_0x2077a9(0x111)](_0x22e434,_0x2077a9(0xd5),(_0x4d5527,_0x696751,_0x38732b,_0x1ff06c)=>{const _0x496424=_0x2077a9;_0x1ff06c&&this[_0x496424(0xe2)](_0x1ff06c);const _0x49f29d=_0x370fe4[_0x496424(0x112)](_0x38732b);_0x38732b&&_0x49f29d&&(this[_0x496424(0x111)](_0x38732b,_0x496424(0x10f),()=>{const _0x537815=_0x496424;_0x22e434[_0x537815(0xfc)]();}),this[_0x496424(0x111)](_0x38732b,_0x496424(0xc5),()=>{const _0x766fb7=_0x496424;this[_0x766fb7(0x103)](_0x49f29d),this[_0x766fb7(0xfd)][_0x766fb7(0x110)][_0x766fb7(0xcf)][_0x766fb7(0xdd)]();}),this[_0x496424(0x124)]!==_0x49f29d&&this[_0x496424(0x10c)](_0x49f29d));}),this[_0x2077a9(0x111)](this[_0x2077a9(0xfd)]['ui'],_0x2077a9(0xc4),()=>{const _0x216926=_0x2077a9;_0x22e434[_0x216926(0x117)]&&(_0x370fe4[_0x216926(0x112)](_0x22e434[_0x216926(0x117)])&&_0x22e434[_0x216926(0xfc)]());}),this[_0x2077a9(0x111)](this[_0x2077a9(0xfd)][_0x2077a9(0x110)][_0x2077a9(0xcf)][_0x2077a9(0xf9)],_0x2077a9(0xf0),()=>{const _0x273580=_0x2077a9;this[_0x273580(0xeb)]=!0x0,this[_0x273580(0xd4)][_0x273580(0xea)]();}),this[_0x2077a9(0xfd)][_0x2077a9(0x110)][_0x2077a9(0xcf)][_0x2077a9(0xf9)][_0x2077a9(0xf7)][_0x2077a9(0xf4)]&&this[_0x2077a9(0xfd)][_0x2077a9(0x110)][_0x2077a9(0xcf)][_0x2077a9(0xdd)](),this[_0x2077a9(0xdf)]=!0x0;}[_0x30cec4(0xe6)](){const _0x4a6a4f=_0x30cec4;if(!this[_0x4a6a4f(0xdf)])throw new _0x27476e(_0x4a6a4f(0x11f),this);this[_0x4a6a4f(0x10c)](null);for(const _0x2657d8 of this[_0x4a6a4f(0x120)])this[_0x4a6a4f(0xdb)](_0x2657d8);this[_0x4a6a4f(0xe2)](),this[_0x4a6a4f(0xdf)]=!0x1,this[_0x4a6a4f(0xe1)]=null;}[_0x30cec4(0xcd)](){const _0x5a6800=_0x30cec4;this[_0x5a6800(0xdf)]&&this[_0x5a6800(0xe6)]();}[_0x30cec4(0x104)](_0xf6db5a){const _0x8e72ec=_0x30cec4;for(const _0x31ce1e of this[_0x8e72ec(0xe3)])_0xf6db5a[_0x8e72ec(0xc9)](_0x31ce1e)||this[_0x8e72ec(0xd4)][_0x8e72ec(0xe8)](_0x31ce1e);for(const _0x5c4f07 of this[_0x8e72ec(0xe1)])_0xf6db5a[_0x8e72ec(0xc9)](_0x5c4f07)||this[_0x8e72ec(0xdb)](_0x5c4f07);if(this[_0x8e72ec(0xfd)]['ui'][_0x8e72ec(0x108)][_0x8e72ec(0xda)]){for(const _0x388b82 of _0xf6db5a)this[_0x8e72ec(0xc6)](_0x388b82);}this[_0x8e72ec(0xe3)]=_0xf6db5a;}[_0x30cec4(0xc6)](_0x2e2657,_0x4f45bd=!0x1){const _0x556e0b=_0x30cec4;this[_0x556e0b(0xd4)][_0x556e0b(0x106)](_0x2e2657)||(this[_0x556e0b(0x120)][_0x556e0b(0x106)](_0x2e2657)||this[_0x556e0b(0x121)][_0x556e0b(0xed)](_0x2e2657[_0x556e0b(0xcf)])||(this[_0x556e0b(0x120)][_0x556e0b(0x119)](_0x2e2657),this[_0x556e0b(0x121)][_0x556e0b(0x119)]({'stackId':_0x2e2657[_0x556e0b(0xcf)]['id'],'view':_0x2e2657[_0x556e0b(0xcf)],'position':{'target':()=>this[_0x556e0b(0xf2)](_0x2e2657)}})),_0x4f45bd&&this[_0x556e0b(0x121)][_0x556e0b(0x102)](_0x2e2657[_0x556e0b(0xcf)]['id']));}[_0x30cec4(0xf2)](_0x10dd32){const _0x13f465=_0x30cec4,_0x3c4c3b=_0x10dd32[_0x13f465(0xff)],_0x1d2a16=this[_0x13f465(0xfd)][_0x13f465(0x110)][_0x13f465(0xcf)],_0x1e6926=_0x1d2a16[_0x13f465(0xf9)][_0x13f465(0xf7)][_0x13f465(0xd6)](),_0x3bc4d7=_0x1d2a16[_0x13f465(0xef)][_0x13f465(0xf5)](_0x1e6926);if(_0x3bc4d7[_0x13f465(0xec)](!0x0),_0x3c4c3b){if(_0x3c4c3b instanceof _0x449128)return _0x3c4c3b;let _0x324a88=[];for(const _0x1e88af of _0x3c4c3b)_0x324a88[_0x13f465(0xf8)](...(_0x1669f4=_0x1e88af[_0x13f465(0xd0)](),Array[_0x13f465(0xe5)](_0x1669f4)[_0x13f465(0x11b)](DOMRect[_0x13f465(0x11e)])));_0x324a88=function(_0x26cb6c){const _0x1d86cf=_0x13f465,_0x132ac0=[];let _0x1e9a41=_0x26cb6c[0x0];for(let _0x180942=0x1;_0x180942<_0x26cb6c[_0x1d86cf(0xce)];_0x180942++)F(_0x1e9a41,_0x26cb6c[_0x180942])?_0x1e9a41[_0x1d86cf(0xfa)]+=_0x26cb6c[_0x180942][_0x1d86cf(0xfa)]:(_0x132ac0[_0x1d86cf(0xf8)](_0x1e9a41),_0x1e9a41=_0x26cb6c[_0x180942]);return _0x132ac0[_0x1d86cf(0xf8)](_0x1e9a41),_0x132ac0;}(_0x324a88);const _0x40dece=_0x3bc4d7[_0x13f465(0xe4)]();return _0x324a88[_0x13f465(0x10e)](_0x49c9bd=>_0x49c9bd[_0x13f465(0xe0)]<=_0x40dece[_0x13f465(0xe0)]&&_0x49c9bd[_0x13f465(0xf1)]>=_0x40dece[_0x13f465(0xf1)]&&_0x49c9bd[_0x13f465(0x11c)]<=_0x40dece[_0x13f465(0x11c)]&&_0x49c9bd[_0x13f465(0x101)]>=_0x40dece[_0x13f465(0x101)])||_0x324a88[0x0];}var _0x1669f4;return _0x10dd32[_0x13f465(0x123)]||_0x3bc4d7;}[_0x30cec4(0xdb)](_0xa94ce0){const _0x3170f0=_0x30cec4;this[_0x3170f0(0x120)][_0x3170f0(0x106)](_0xa94ce0)&&this[_0x3170f0(0x121)][_0x3170f0(0xed)](_0xa94ce0[_0x3170f0(0xcf)])&&(this[_0x3170f0(0x120)][_0x3170f0(0xe8)](_0xa94ce0),this[_0x3170f0(0x121)][_0x3170f0(0x115)](_0xa94ce0[_0x3170f0(0xcf)]));}[_0x30cec4(0x103)](_0x4f3467){const _0xd47f50=_0x30cec4;this[_0xd47f50(0xd4)][_0xd47f50(0x119)](_0x4f3467),this[_0xd47f50(0xdb)](_0x4f3467);}}function F(_0x6b58ab,_0x1d414b){const _0x145668=_0x30cec4;return _0x6b58ab[_0x145668(0xe0)]===_0x1d414b[_0x145668(0xe0)]&&_0x6b58ab[_0x145668(0xf1)]===_0x1d414b[_0x145668(0xf1)]&&_0x6b58ab[_0x145668(0x101)]===_0x1d414b[_0x145668(0x11c)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2cf1cc=_0x20de;(function(_0x5ea56e,_0x569d7d){const _0x490f25=_0x20de,_0x1e95c1=_0x5ea56e();while(!![]){try{const _0x501750=parseInt(_0x490f25(0x201))/0x1*(parseInt(_0x490f25(0x256))/0x2)+-parseInt(_0x490f25(0x1f6))/0x3*(parseInt(_0x490f25(0x20b))/0x4)+-parseInt(_0x490f25(0x219))/0x5*(parseInt(_0x490f25(0x234))/0x6)+-parseInt(_0x490f25(0x261))/0x7+parseInt(_0x490f25(0x22c))/0x8+parseInt(_0x490f25(0x200))/0x9*(parseInt(_0x490f25(0x212))/0xa)+parseInt(_0x490f25(0x216))/0xb;if(_0x501750===_0x569d7d)break;else _0x1e95c1['push'](_0x1e95c1['shift']());}catch(_0x112a9d){_0x1e95c1['push'](_0x1e95c1['shift']());}}}(_0x3cf8,0xf005c));import{ContextPlugin as _0x1b1de0,Context as _0x70923}from'ckeditor5/src/core.js';function _0x3cf8(){const _0x5d5451=['element','cancel','off','clear','10213734lJlvLY','narrowsidebar-detach-not-attached','narrowSidebar','blur','stop','keyCode','execute','southArrowNorth','init','bodyCollection','_integrateWithEditorAnnotations','change:container','_editorAnnotations','number','_manuallyClosedAnnotationViews','has','_attachToContainer','_attachListeners','keydown','setActiveAnnotation','stopPropagation','_domEmitter','addEventListener','bind','first','pin','locale','focus','attachToDom','getOrderedSelectedAnnotations','_updateBalloonPosition','_detachListeners','remove','preventDefault','2ldONxO','register','narrowsidebar-attach-already-attached','delete','isDirty','Esc','_selectedAnnotations','low','_destroyEditorAnnotationsIntegration','context','from','112679uqatiD','southArrowNorthEast','includes','pluginName','balloonPanelView','_setSelectedAnnotations','annotationType','uiUpdate','get','_refreshPositioningDebounced','ck-sidebar--narrow','northArrowSouthEast','find','activeAnnotation','defaultPositions','northArrowSouthWest','604194PhOPcz','isVisible','values','plugins','refresh','stopListening','mousedown','unpin','preventClosingBalloon','detach','4290543ZUCPTH','532670pVIghq','attach','refreshPositioning','view','_detachFromContainer','_refreshPositioning','southArrowNorthWest','add','_annotationToNarrowView','resize','16ztJPRr','addAnnotation','_annotations','_hideBalloon','getSidebarItemView','isAttached','_showBalloon','20URaBTX','EditorAnnotations','esc','NarrowSidebar','11771045ZxkrnT','listenTo','contains','5MAaeKS','rearrange','detachFromDom','editors','set:container','set','focusableElements','content','create','change:height','requires','northArrowSouth','destroy','hasDomSelection','target','length','annotations','ready','removeEventListener','7607128WciPfw','type','getByView','high'];_0x3cf8=function(){return _0x5d5451;};return _0x3cf8();}import _0x2b8c3d from'./annotationsuis.js';import _0x46e844 from'./sidebar.js';import _0x2b0940 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x4c98f3,BodyCollection as _0x270619}from'ckeditor5/src/ui.js';import{CKEditorError as _0xe22948,DomEmitterMixin as _0x886346,keyCodes as _0x7d75fa,Collection as _0x56d086}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';function _0x20de(_0x274295,_0x1f9513){const _0x3cf87c=_0x3cf8();return _0x20de=function(_0x20ded9,_0x4573d3){_0x20ded9=_0x20ded9-0x1e8;let _0x96f15c=_0x3cf87c[_0x20ded9];return _0x96f15c;},_0x20de(_0x274295,_0x1f9513);}import{debounce as _0x4a20ea}from'lodash-es';import _0x1aa536 from'./editorannotations.js';export default class i extends _0x1b1de0{static get[_0x2cf1cc(0x223)](){return[_0x46e844,_0x2b8c3d];}static get[_0x2cf1cc(0x1e9)](){const _0x38d1cd=_0x2cf1cc;return _0x38d1cd(0x215);}constructor(_0x56eff8){const _0x1718c5=_0x2cf1cc;super(_0x56eff8),this[_0x1718c5(0x210)]=!0x1,this[_0x1718c5(0x242)]=new Set(),this[_0x1718c5(0x249)]=Object[_0x1718c5(0x221)](_0x886346),this[_0x1718c5(0x209)]=new Map(),this[_0x1718c5(0x21e)](_0x1718c5(0x1f3),null),this[_0x1718c5(0x229)]=null,this[_0x1718c5(0x25c)]=[],this[_0x1718c5(0x240)]=new _0x56d086(),this[_0x1718c5(0x1ef)]=_0x4a20ea(()=>{const _0x361969=_0x1718c5;this[_0x361969(0x206)]();},0xfa,{'leading':!0x1});}[_0x2cf1cc(0x23c)](){const _0x17da8c=_0x2cf1cc;this[_0x17da8c(0x25f)][_0x17da8c(0x1f9)][_0x17da8c(0x1ee)](_0x2b8c3d)[_0x17da8c(0x257)](_0x17da8c(0x236),this),this[_0x17da8c(0x23d)]=new _0x270619(this[_0x17da8c(0x25f)][_0x17da8c(0x24e)]),this[_0x17da8c(0x1ea)]=new _0x4c98f3(this[_0x17da8c(0x25f)][_0x17da8c(0x24e)]),this[_0x17da8c(0x23d)][_0x17da8c(0x250)](),this[_0x17da8c(0x23d)][_0x17da8c(0x208)](this[_0x17da8c(0x1ea)]);}[_0x2cf1cc(0x202)](_0x21b485){const _0x5b250d=_0x2cf1cc;this[_0x5b250d(0x229)]=_0x21b485;const _0x16c924=this[_0x5b250d(0x25f)][_0x5b250d(0x1f9)][_0x5b250d(0x1ee)](_0x46e844),_0xfbded=this[_0x5b250d(0x1ea)];if(_0x16c924[_0x5b250d(0x20d)]=_0x21b485,this[_0x5b250d(0x210)])throw new _0xe22948(_0x5b250d(0x258),this);this[_0x5b250d(0x210)]=!0x0,this[_0x5b250d(0x217)](_0x16c924,_0x5b250d(0x21d),()=>{const _0x5c9c4c=_0x5b250d;this[_0x5c9c4c(0x1ff)](),this[_0x5c9c4c(0x217)](_0x16c924,_0x5c9c4c(0x23f),_0xb13e39=>{const _0x59f434=_0x5c9c4c;_0xb13e39[_0x59f434(0x232)](),this[_0x59f434(0x202)](_0x21b485);});}),_0x16c924[_0x5b250d(0x244)]({'viewClass':_0x5b250d(0x1f0),'spaceBetweenItems':0x5});const _0xfb6dbb=_0x178dcb=>{const _0x11a097=_0x5b250d,_0x3ed455=new _0x2b0940(this[_0x11a097(0x25f)][_0x11a097(0x24e)]);_0x16c924[_0x11a097(0x20c)](_0x178dcb,_0x3ed455),this[_0x11a097(0x209)][_0x11a097(0x21e)](_0x178dcb,_0x3ed455),_0x3ed455[_0x11a097(0x24b)](_0x11a097(0x25a),_0x11a097(0x1ec),_0x11a097(0x241))['to'](_0x178dcb[_0x11a097(0x204)],_0x11a097(0x25a),_0x11a097(0x22d),_0x11a097(0x228)),_0x3ed455['on'](_0x11a097(0x23a),()=>{const _0x20845a=_0x11a097;this[_0x20845a(0x242)][_0x20845a(0x233)](),_0xfbded[_0x20845a(0x220)][_0x20845a(0x24c)]!==_0x178dcb[_0x20845a(0x204)]?(this[_0x20845a(0x211)](_0x178dcb),_0x178dcb[_0x20845a(0x204)][_0x20845a(0x230)][_0x20845a(0x24f)](),this[_0x20845a(0x247)](_0x178dcb)):this[_0x20845a(0x247)](null);});};for(const _0x2960f6 of _0x21b485)_0xfb6dbb(_0x2960f6);this[_0x5b250d(0x217)](_0x21b485,_0x5b250d(0x208),(_0x10400d,_0x4b9da8)=>{_0xfb6dbb(_0x4b9da8);}),this[_0x5b250d(0x217)](_0x21b485,_0x5b250d(0x254),(_0x290e4a,_0x4700da,_0x2cf81d)=>{const _0x1a2679=_0x5b250d;this[_0x1a2679(0x209)][_0x1a2679(0x1ee)](_0x4700da)[_0x1a2679(0x225)](),this[_0x1a2679(0x209)][_0x1a2679(0x259)](_0x4700da),_0x16c924[_0x1a2679(0x21a)]({'removedAnnotation':_0x4700da,'previousAnnotation':_0x21b485[_0x1a2679(0x1ee)](_0x2cf81d-0x1),'nextAnnotation':_0x21b485[_0x1a2679(0x1ee)](_0x2cf81d+0x1)}),_0x4700da===this[_0x1a2679(0x1f3)]&&this[_0x1a2679(0x247)](null);},{'priority':_0x5b250d(0x25d)}),this[_0x5b250d(0x217)](_0x21b485,_0x5b250d(0x24f),(_0xa6e4c5,_0x531009)=>{const _0x533fd8=_0x5b250d;this[_0x533fd8(0x247)](_0x531009);}),this[_0x5b250d(0x217)](_0x21b485,_0x5b250d(0x237),()=>{const _0x58222d=_0x5b250d;this[_0x58222d(0x247)](null);}),this[_0x5b250d(0x249)][_0x5b250d(0x217)](document,_0x5b250d(0x246),(_0x4c56be,_0x4310f5)=>{const _0x1e7680=_0x5b250d;_0x4310f5[_0x1e7680(0x239)]===_0x7d75fa[_0x1e7680(0x214)]&&_0xfbded[_0x1e7680(0x1f7)]&&(this[_0x1e7680(0x242)][_0x1e7680(0x208)](_0xfbded[_0x1e7680(0x220)][_0x1e7680(0x24c)]),this[_0x1e7680(0x20e)](),_0x4310f5[_0x1e7680(0x248)](),_0x4310f5[_0x1e7680(0x255)]());}),this[_0x5b250d(0x249)][_0x5b250d(0x217)](document,_0x5b250d(0x1fc),(_0x28f2ee,_0x375699)=>{const _0x5e7fde=_0x5b250d,_0x358f7c=_0x375699[_0x5e7fde(0x227)];_0xfbded[_0x5e7fde(0x1f7)]&&_0xfbded[_0x5e7fde(0x230)][_0x5e7fde(0x218)](_0x358f7c)||_0x16c924[_0x5e7fde(0x204)][_0x5e7fde(0x230)][_0x5e7fde(0x218)](_0x358f7c)||_0x28f2ee[_0x5e7fde(0x1fe)]||this[_0x5e7fde(0x1f3)]&&this[_0x5e7fde(0x1f3)][_0x5e7fde(0x21f)][_0x5e7fde(0x1f2)](_0x1c2818=>_0x1c2818[_0x5e7fde(0x218)](_0x358f7c))||(this[_0x5e7fde(0x242)][_0x5e7fde(0x233)](),this[_0x5e7fde(0x20e)](),this[_0x5e7fde(0x247)](null));});const _0x395fa1=this[_0x5b250d(0x25f)]instanceof _0x70923?this[_0x5b250d(0x25f)][_0x5b250d(0x21c)]:new _0x56d086([this[_0x5b250d(0x25f)]]);for(const _0x246636 of _0x395fa1)this[_0x5b250d(0x23e)](_0x246636);this[_0x5b250d(0x217)](_0x395fa1,_0x5b250d(0x208),(_0x19cd0a,_0x2f33b4)=>{const _0x75a2e8=_0x5b250d;this[_0x75a2e8(0x217)](_0x2f33b4,_0x75a2e8(0x22a),()=>{const _0x597655=_0x75a2e8;this[_0x597655(0x23e)](_0x2f33b4);});}),this[_0x5b250d(0x217)](_0x395fa1,_0x5b250d(0x254),(_0x17017b,_0x431f5d)=>{const _0xaf301f=_0x5b250d;_0x431f5d[_0xaf301f(0x1f9)][_0xaf301f(0x243)](_0xaf301f(0x213))&&this[_0xaf301f(0x25e)](_0x431f5d[_0xaf301f(0x1f9)][_0xaf301f(0x1ee)](_0xaf301f(0x213)));}),window[_0x5b250d(0x24a)](_0x5b250d(0x20a),this[_0x5b250d(0x1ef)]),this[_0x5b250d(0x206)]();}[_0x2cf1cc(0x247)](_0x35d54c){const _0x46c15b=_0x2cf1cc;if(_0x35d54c===this[_0x46c15b(0x1f3)])return;const _0x19b618=this[_0x46c15b(0x25f)][_0x46c15b(0x1f9)][_0x46c15b(0x1ee)](_0x46e844);if(_0x19b618[_0x46c15b(0x1fa)]({'blurredAnnotation':this[_0x46c15b(0x1f3)],'activatedAnnotation':_0x35d54c,'disableAnimationOnActivatedAnnotation':!0x0}),_0x35d54c)_0x19b618[_0x46c15b(0x20f)](_0x35d54c)?this[_0x46c15b(0x211)](_0x35d54c):this[_0x46c15b(0x20e)]();else this[_0x46c15b(0x20e)]();this[_0x46c15b(0x1f3)]=_0x35d54c;}[_0x2cf1cc(0x1ff)](){const _0x506d8d=_0x2cf1cc;if(!this[_0x506d8d(0x210)])throw new _0xe22948(_0x506d8d(0x235),this);this[_0x506d8d(0x247)](null);const _0x6e036=this[_0x506d8d(0x25f)][_0x506d8d(0x1f9)][_0x506d8d(0x1ee)](_0x46e844);this[_0x506d8d(0x20e)](),Array[_0x506d8d(0x260)](this[_0x506d8d(0x209)][_0x506d8d(0x1f8)](),_0x23519c=>_0x23519c[_0x506d8d(0x225)]()),this[_0x506d8d(0x209)][_0x506d8d(0x233)](),_0x6e036[_0x506d8d(0x205)](this[_0x506d8d(0x229)]),this[_0x506d8d(0x1fb)](),this[_0x506d8d(0x249)][_0x506d8d(0x1fb)](),this[_0x506d8d(0x25f)]instanceof _0x70923&&this[_0x506d8d(0x1fb)](this[_0x506d8d(0x25f)][_0x506d8d(0x21c)]);for(const _0xc3b4fc of Array[_0x506d8d(0x260)](this[_0x506d8d(0x240)]))this[_0x506d8d(0x25e)](_0xc3b4fc);window[_0x506d8d(0x22b)](_0x506d8d(0x20a),this[_0x506d8d(0x1ef)]),this[_0x506d8d(0x1ef)][_0x506d8d(0x231)](),this[_0x506d8d(0x25c)]=[],this[_0x506d8d(0x210)]=!0x1,this[_0x506d8d(0x229)]=null;}[_0x2cf1cc(0x225)](){const _0x498936=_0x2cf1cc;this[_0x498936(0x210)]&&this[_0x498936(0x1ff)](),this[_0x498936(0x23d)][_0x498936(0x21b)]();}[_0x2cf1cc(0x23e)](_0x5c9c4e){const _0x51ef31=_0x2cf1cc,_0x2841c6=_0x5c9c4e[_0x51ef31(0x1f9)][_0x51ef31(0x1ee)](_0x1aa536),_0x399097=this[_0x51ef31(0x25f)][_0x51ef31(0x1f9)][_0x51ef31(0x1ee)](_0x46e844),_0x4fd518=this[_0x51ef31(0x229)],_0x377e34=this[_0x51ef31(0x1ea)],_0x409457=()=>{const _0x207cf6=_0x51ef31,_0x59447e=_0x2841c6[_0x207cf6(0x251)]({'annotations':this[_0x207cf6(0x229)],'activeAnnotation':this[_0x207cf6(0x1f3)]});this[_0x207cf6(0x1eb)](_0x59447e),this[_0x207cf6(0x247)](_0x59447e[0x0]||null);};this[_0x51ef31(0x217)](_0x2841c6,_0x51ef31(0x1fa),_0x409457),this[_0x51ef31(0x217)](_0x2841c6,_0x51ef31(0x237),(_0x1c1651,{isAnnotationTracked:_0x3523d3})=>{const _0x49035d=_0x51ef31;this[_0x49035d(0x1f3)]&&_0x3523d3(this[_0x49035d(0x1f3)])&&(this[_0x49035d(0x1eb)]([]),this[_0x49035d(0x247)](null));}),this[_0x51ef31(0x217)](_0x2841c6,_0x51ef31(0x1ed),()=>{const _0x417cbe=_0x51ef31;this[_0x417cbe(0x1ef)]();}),this[_0x51ef31(0x217)](_0x4fd518,_0x51ef31(0x237),_0x114fe0=>{const _0x5a9730=_0x51ef31;_0x2841c6[_0x5a9730(0x226)]()&&_0x114fe0[_0x5a9730(0x238)]();},{'priority':_0x51ef31(0x22f)}),this[_0x51ef31(0x217)](this[_0x51ef31(0x249)],_0x51ef31(0x1fc),(_0x49ccd5,_0x383be5)=>{const _0x226017=_0x51ef31,_0x585001=_0x383be5[_0x226017(0x227)];_0x377e34[_0x226017(0x1f7)]&&_0x377e34[_0x226017(0x230)][_0x226017(0x218)](_0x585001)||_0x399097[_0x226017(0x204)][_0x226017(0x230)][_0x226017(0x218)](_0x585001)||this[_0x226017(0x1f3)]&&_0x2841c6[_0x226017(0x226)]()&&(_0x409457(),_0x49ccd5[_0x226017(0x1fe)]=!0x0);},{'priority':_0x51ef31(0x22f)}),this[_0x51ef31(0x240)][_0x51ef31(0x208)](_0x2841c6);}[_0x2cf1cc(0x25e)](_0x35346f){const _0x3a7b01=_0x2cf1cc;_0x35346f&&(this[_0x3a7b01(0x1fb)](_0x35346f),this[_0x3a7b01(0x240)][_0x3a7b01(0x254)](_0x35346f));}[_0x2cf1cc(0x1eb)](_0x153e78){const _0x287000=_0x2cf1cc;for(const _0x4a32f9 of this[_0x287000(0x25c)])_0x153e78[_0x287000(0x1e8)](_0x4a32f9)||this[_0x287000(0x242)][_0x287000(0x259)](_0x4a32f9[_0x287000(0x204)]);this[_0x287000(0x25c)]=_0x153e78;}[_0x2cf1cc(0x206)](){const _0x30ecd9=_0x2cf1cc,_0x3390cc=this[_0x30ecd9(0x1ea)];this[_0x30ecd9(0x229)][_0x30ecd9(0x203)](),_0x3390cc[_0x30ecd9(0x1f7)]&&this[_0x30ecd9(0x252)]();}[_0x2cf1cc(0x211)](_0xcdd812){const _0x19df10=_0x2cf1cc;if(this[_0x19df10(0x242)][_0x19df10(0x243)](_0xcdd812[_0x19df10(0x204)]))return;const _0x38c2e0=this[_0x19df10(0x1ea)][_0x19df10(0x220)][_0x19df10(0x24c)];_0x38c2e0!==_0xcdd812[_0x19df10(0x204)]?(_0x38c2e0&&this[_0x19df10(0x253)](_0x38c2e0),this[_0x19df10(0x245)](_0xcdd812[_0x19df10(0x204)]),this[_0x19df10(0x1ea)][_0x19df10(0x220)][_0x19df10(0x233)](),this[_0x19df10(0x1ea)][_0x19df10(0x220)][_0x19df10(0x208)](_0xcdd812[_0x19df10(0x204)]),this[_0x19df10(0x252)]()):this[_0x19df10(0x252)]();}[_0x2cf1cc(0x252)](){const _0x43a30c=_0x2cf1cc,_0x1b6e1a=this[_0x43a30c(0x1ea)][_0x43a30c(0x220)][_0x43a30c(0x24c)],_0x21ea90=_0x1b6e1a&&this[_0x43a30c(0x229)][_0x43a30c(0x22e)](_0x1b6e1a);if(!_0x21ea90||!this[_0x43a30c(0x209)][_0x43a30c(0x243)](_0x21ea90))return;const _0x21d3a0=this[_0x43a30c(0x209)][_0x43a30c(0x1ee)](_0x21ea90)[_0x43a30c(0x230)],_0x5ec34c=(function(){const _0x5d96ae=_0x43a30c,_0x512de3=_0x4c98f3[_0x5d96ae(0x1f4)];return[_0x512de3[_0x5d96ae(0x262)],_0x512de3[_0x5d96ae(0x1f1)],_0x512de3[_0x5d96ae(0x23b)],_0x512de3[_0x5d96ae(0x224)],_0x512de3[_0x5d96ae(0x207)],_0x512de3[_0x5d96ae(0x1f5)]];}());this[_0x43a30c(0x1ea)][_0x43a30c(0x24d)]({'target':_0x21d3a0,'positions':_0x5ec34c});}[_0x2cf1cc(0x20e)](){const _0x290553=_0x2cf1cc,_0x4df620=this[_0x290553(0x1ea)],_0x1d926f=_0x4df620[_0x290553(0x220)][_0x290553(0x24c)];_0x1d926f&&(this[_0x290553(0x253)](_0x1d926f),_0x4df620[_0x290553(0x1fd)](),_0x4df620[_0x290553(0x220)][_0x290553(0x233)]());}[_0x2cf1cc(0x245)](_0x5dc3ce){const _0x4f6ef0=_0x2cf1cc;this[_0x4f6ef0(0x217)](_0x5dc3ce,_0x4f6ef0(0x222),()=>this[_0x4f6ef0(0x252)]()),this[_0x4f6ef0(0x217)](_0x5dc3ce,_0x4f6ef0(0x25b),(_0x472022,_0x5c2585)=>{const _0x1faaa9=_0x4f6ef0;this[_0x1faaa9(0x242)][_0x1faaa9(0x208)](_0x5dc3ce),this[_0x1faaa9(0x20e)](),_0x5c2585();});}[_0x2cf1cc(0x253)](_0x52760b){const _0x477574=_0x2cf1cc;this[_0x477574(0x1fb)](_0x52760b);}}
|
|
23
|
+
const _0x2a122a=_0x51dd;(function(_0x7e3f96,_0x2d7563){const _0x4b751e=_0x51dd,_0x335b68=_0x7e3f96();while(!![]){try{const _0x6086e=-parseInt(_0x4b751e(0x141))/0x1+parseInt(_0x4b751e(0xfe))/0x2*(parseInt(_0x4b751e(0xf0))/0x3)+parseInt(_0x4b751e(0x14c))/0x4+parseInt(_0x4b751e(0x10e))/0x5*(parseInt(_0x4b751e(0xdf))/0x6)+-parseInt(_0x4b751e(0x11e))/0x7+parseInt(_0x4b751e(0x131))/0x8*(parseInt(_0x4b751e(0x140))/0x9)+-parseInt(_0x4b751e(0x119))/0xa*(-parseInt(_0x4b751e(0x112))/0xb);if(_0x6086e===_0x2d7563)break;else _0x335b68['push'](_0x335b68['shift']());}catch(_0x56a11c){_0x335b68['push'](_0x335b68['shift']());}}}(_0x2b1a,0x34c69));import{ContextPlugin as _0x25af1e,Context as _0x2f50a7}from'ckeditor5/src/core.js';import _0x4badd0 from'./annotationsuis.js';function _0x2b1a(){const _0x16e6eb=['_updateBalloonPosition','stopListening','_domEmitter','clear','change:height','annotationType','length','type','685wYzbQc','get','setActiveAnnotation','getOrderedSelectedAnnotations','55bcpEmg','southArrowNorthEast','_destroyEditorAnnotationsIntegration','northArrowSouthEast','isVisible','delete','first','556090IxoOpv','uiUpdate','refreshPositioning','_attachToContainer','target','1617049cpMqXl','keyCode','context','southArrowNorth','cancel','focus','ck-sidebar--narrow','rearrange','_refreshPositioningDebounced','view','locale','content','_setSelectedAnnotations','attachToDom','register','set','activeAnnotation','editors','_annotationToNarrowView','576ccMlLW','defaultPositions','blur','find','balloonPanelView','stop','narrowsidebar-detach-not-attached','annotations','unpin','mousedown','_detachListeners','_manuallyClosedAnnotationViews','keydown','from','destroy','14175urYVBH','247913MvwtOI','_detachFromContainer','preventDefault','southArrowNorthWest','narrowSidebar','contains','detachFromDom','getByView','bind','remove','add','377324lIEhCL','removeEventListener','values','hasDomSelection','_integrateWithEditorAnnotations','detach','plugins','preventClosingBalloon','element','esc','bodyCollection','_showBalloon','refresh','_hideBalloon','4674qZtrQc','focusableElements','listenTo','_selectedAnnotations','ready','_refreshPositioning','pluginName','addAnnotation','NarrowSidebar','set:container','isDirty','off','init','_attachListeners','requires','create','narrowsidebar-attach-already-attached','61554TFNcfz','execute','addEventListener','pin','Esc','includes','_editorAnnotations','EditorAnnotations','low','change:container','stopPropagation','getSidebarItemView','resize','number','10ZMXNAM','high','has','isAttached','northArrowSouthWest','_annotations','attach','northArrowSouth'];_0x2b1a=function(){return _0x16e6eb;};return _0x2b1a();}import _0x1dd5d6 from'./sidebar.js';import _0x14d0f6 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x4e70dc,BodyCollection as _0x406673}from'ckeditor5/src/ui.js';import{CKEditorError as _0x198b67,DomEmitterMixin as _0x567a78,keyCodes as _0x2f9605,Collection as _0x3e7e4e}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x2f0848}from'lodash-es';import _0x163b42 from'./editorannotations.js';function _0x51dd(_0x273d02,_0x57d8e5){const _0x2b1a36=_0x2b1a();return _0x51dd=function(_0x51dd5c,_0x5dd4e4){_0x51dd5c=_0x51dd5c-0xdf;let _0x311457=_0x2b1a36[_0x51dd5c];return _0x311457;},_0x51dd(_0x273d02,_0x57d8e5);}export default class i extends _0x25af1e{static get[_0x2a122a(0xed)](){return[_0x1dd5d6,_0x4badd0];}static get[_0x2a122a(0xe5)](){const _0x2ba563=_0x2a122a;return _0x2ba563(0xe7);}constructor(_0x888d7b){const _0x52106a=_0x2a122a;super(_0x888d7b),this[_0x52106a(0x101)]=!0x1,this[_0x52106a(0x13c)]=new Set(),this[_0x52106a(0x108)]=Object[_0x52106a(0xee)](_0x567a78),this[_0x52106a(0x130)]=new Map(),this[_0x52106a(0x12d)](_0x52106a(0x12e),null),this[_0x52106a(0x138)]=null,this[_0x52106a(0xe2)]=[],this[_0x52106a(0xf6)]=new _0x3e7e4e(),this[_0x52106a(0x126)]=_0x2f0848(()=>{const _0xb142bb=_0x52106a;this[_0xb142bb(0xe4)]();},0xfa,{'leading':!0x1});}[_0x2a122a(0xeb)](){const _0x308157=_0x2a122a;this[_0x308157(0x120)][_0x308157(0x152)][_0x308157(0x10f)](_0x4badd0)[_0x308157(0x12c)](_0x308157(0x145),this),this[_0x308157(0x156)]=new _0x406673(this[_0x308157(0x120)][_0x308157(0x128)]),this[_0x308157(0x135)]=new _0x4e70dc(this[_0x308157(0x120)][_0x308157(0x128)]),this[_0x308157(0x156)][_0x308157(0x12b)](),this[_0x308157(0x156)][_0x308157(0x14b)](this[_0x308157(0x135)]);}[_0x2a122a(0x104)](_0x1b80d7){const _0x451504=_0x2a122a;this[_0x451504(0x138)]=_0x1b80d7;const _0x34d57c=this[_0x451504(0x120)][_0x451504(0x152)][_0x451504(0x10f)](_0x1dd5d6),_0x3364f7=this[_0x451504(0x135)];if(_0x34d57c[_0x451504(0x103)]=_0x1b80d7,this[_0x451504(0x101)])throw new _0x198b67(_0x451504(0xef),this);this[_0x451504(0x101)]=!0x0,this[_0x451504(0xe1)](_0x34d57c,_0x451504(0xe8),()=>{const _0x5783fe=_0x451504;this[_0x5783fe(0x151)](),this[_0x5783fe(0xe1)](_0x34d57c,_0x5783fe(0xf9),_0x435d17=>{const _0x413a97=_0x5783fe;_0x435d17[_0x413a97(0xea)](),this[_0x413a97(0x104)](_0x1b80d7);});}),_0x34d57c[_0x451504(0x11c)]({'viewClass':_0x451504(0x124),'spaceBetweenItems':0x5});const _0x48faae=_0xb46bd8=>{const _0x3e4833=_0x451504,_0x300201=new _0x14d0f6(this[_0x3e4833(0x120)][_0x3e4833(0x128)]);_0x34d57c[_0x3e4833(0xe6)](_0xb46bd8,_0x300201),this[_0x3e4833(0x130)][_0x3e4833(0x12d)](_0xb46bd8,_0x300201),_0x300201[_0x3e4833(0x149)](_0x3e4833(0xe9),_0x3e4833(0x10b),_0x3e4833(0xfd))['to'](_0xb46bd8[_0x3e4833(0x127)],_0x3e4833(0xe9),_0x3e4833(0x10d),_0x3e4833(0x10c)),_0x300201['on'](_0x3e4833(0xf1),()=>{const _0x1a1be4=_0x3e4833;this[_0x1a1be4(0x13c)][_0x1a1be4(0x109)](),_0x3364f7[_0x1a1be4(0x129)][_0x1a1be4(0x118)]!==_0xb46bd8[_0x1a1be4(0x127)]?(this[_0x1a1be4(0x157)](_0xb46bd8),_0xb46bd8[_0x1a1be4(0x127)][_0x1a1be4(0x154)][_0x1a1be4(0x123)](),this[_0x1a1be4(0x110)](_0xb46bd8)):this[_0x1a1be4(0x110)](null);});};for(const _0x14fa60 of _0x1b80d7)_0x48faae(_0x14fa60);this[_0x451504(0xe1)](_0x1b80d7,_0x451504(0x14b),(_0x4334a0,_0x38bec5)=>{_0x48faae(_0x38bec5);}),this[_0x451504(0xe1)](_0x1b80d7,_0x451504(0x14a),(_0x4662e6,_0x151a8b,_0x1d83b4)=>{const _0x56e5ce=_0x451504;this[_0x56e5ce(0x130)][_0x56e5ce(0x10f)](_0x151a8b)[_0x56e5ce(0x13f)](),this[_0x56e5ce(0x130)][_0x56e5ce(0x117)](_0x151a8b),_0x34d57c[_0x56e5ce(0x125)]({'removedAnnotation':_0x151a8b,'previousAnnotation':_0x1b80d7[_0x56e5ce(0x10f)](_0x1d83b4-0x1),'nextAnnotation':_0x1b80d7[_0x56e5ce(0x10f)](_0x1d83b4+0x1)}),_0x151a8b===this[_0x56e5ce(0x12e)]&&this[_0x56e5ce(0x110)](null);},{'priority':_0x451504(0xf8)}),this[_0x451504(0xe1)](_0x1b80d7,_0x451504(0x123),(_0x140dbd,_0x287e40)=>{const _0x1d8f88=_0x451504;this[_0x1d8f88(0x110)](_0x287e40);}),this[_0x451504(0xe1)](_0x1b80d7,_0x451504(0x133),()=>{const _0x25f7ec=_0x451504;this[_0x25f7ec(0x110)](null);}),this[_0x451504(0x108)][_0x451504(0xe1)](document,_0x451504(0x13d),(_0x5ba5b4,_0x5c76ce)=>{const _0x29a965=_0x451504;_0x5c76ce[_0x29a965(0x11f)]===_0x2f9605[_0x29a965(0x155)]&&_0x3364f7[_0x29a965(0x116)]&&(this[_0x29a965(0x13c)][_0x29a965(0x14b)](_0x3364f7[_0x29a965(0x129)][_0x29a965(0x118)]),this[_0x29a965(0x159)](),_0x5c76ce[_0x29a965(0xfa)](),_0x5c76ce[_0x29a965(0x143)]());}),this[_0x451504(0x108)][_0x451504(0xe1)](document,_0x451504(0x13a),(_0x57673d,_0x15907f)=>{const _0x1d8933=_0x451504,_0x381754=_0x15907f[_0x1d8933(0x11d)];_0x3364f7[_0x1d8933(0x116)]&&_0x3364f7[_0x1d8933(0x154)][_0x1d8933(0x146)](_0x381754)||_0x34d57c[_0x1d8933(0x127)][_0x1d8933(0x154)][_0x1d8933(0x146)](_0x381754)||_0x57673d[_0x1d8933(0x153)]||this[_0x1d8933(0x12e)]&&this[_0x1d8933(0x12e)][_0x1d8933(0xe0)][_0x1d8933(0x134)](_0x2da384=>_0x2da384[_0x1d8933(0x146)](_0x381754))||(this[_0x1d8933(0x13c)][_0x1d8933(0x109)](),this[_0x1d8933(0x159)](),this[_0x1d8933(0x110)](null));});const _0xe4d49b=this[_0x451504(0x120)]instanceof _0x2f50a7?this[_0x451504(0x120)][_0x451504(0x12f)]:new _0x3e7e4e([this[_0x451504(0x120)]]);for(const _0x16a8c2 of _0xe4d49b)this[_0x451504(0x150)](_0x16a8c2);this[_0x451504(0xe1)](_0xe4d49b,_0x451504(0x14b),(_0x1df461,_0x4501b3)=>{const _0x2c672c=_0x451504;this[_0x2c672c(0xe1)](_0x4501b3,_0x2c672c(0xe3),()=>{const _0x133d31=_0x2c672c;this[_0x133d31(0x150)](_0x4501b3);});}),this[_0x451504(0xe1)](_0xe4d49b,_0x451504(0x14a),(_0x1e0560,_0x5097d4)=>{const _0x3b68b7=_0x451504;_0x5097d4[_0x3b68b7(0x152)][_0x3b68b7(0x100)](_0x3b68b7(0xf7))&&this[_0x3b68b7(0x114)](_0x5097d4[_0x3b68b7(0x152)][_0x3b68b7(0x10f)](_0x3b68b7(0xf7)));}),window[_0x451504(0xf2)](_0x451504(0xfc),this[_0x451504(0x126)]),this[_0x451504(0xe4)]();}[_0x2a122a(0x110)](_0x160b5a){const _0x55b655=_0x2a122a;if(_0x160b5a===this[_0x55b655(0x12e)])return;const _0x370122=this[_0x55b655(0x120)][_0x55b655(0x152)][_0x55b655(0x10f)](_0x1dd5d6);if(_0x370122[_0x55b655(0x158)]({'blurredAnnotation':this[_0x55b655(0x12e)],'activatedAnnotation':_0x160b5a,'disableAnimationOnActivatedAnnotation':!0x0}),_0x160b5a)_0x370122[_0x55b655(0xfb)](_0x160b5a)?this[_0x55b655(0x157)](_0x160b5a):this[_0x55b655(0x159)]();else this[_0x55b655(0x159)]();this[_0x55b655(0x12e)]=_0x160b5a;}[_0x2a122a(0x151)](){const _0x5a6059=_0x2a122a;if(!this[_0x5a6059(0x101)])throw new _0x198b67(_0x5a6059(0x137),this);this[_0x5a6059(0x110)](null);const _0x1e8468=this[_0x5a6059(0x120)][_0x5a6059(0x152)][_0x5a6059(0x10f)](_0x1dd5d6);this[_0x5a6059(0x159)](),Array[_0x5a6059(0x13e)](this[_0x5a6059(0x130)][_0x5a6059(0x14e)](),_0x5972e4=>_0x5972e4[_0x5a6059(0x13f)]()),this[_0x5a6059(0x130)][_0x5a6059(0x109)](),_0x1e8468[_0x5a6059(0x142)](this[_0x5a6059(0x138)]),this[_0x5a6059(0x107)](),this[_0x5a6059(0x108)][_0x5a6059(0x107)](),this[_0x5a6059(0x120)]instanceof _0x2f50a7&&this[_0x5a6059(0x107)](this[_0x5a6059(0x120)][_0x5a6059(0x12f)]);for(const _0x475c4a of Array[_0x5a6059(0x13e)](this[_0x5a6059(0xf6)]))this[_0x5a6059(0x114)](_0x475c4a);window[_0x5a6059(0x14d)](_0x5a6059(0xfc),this[_0x5a6059(0x126)]),this[_0x5a6059(0x126)][_0x5a6059(0x122)](),this[_0x5a6059(0xe2)]=[],this[_0x5a6059(0x101)]=!0x1,this[_0x5a6059(0x138)]=null;}[_0x2a122a(0x13f)](){const _0x2ac006=_0x2a122a;this[_0x2ac006(0x101)]&&this[_0x2ac006(0x151)](),this[_0x2ac006(0x156)][_0x2ac006(0x147)]();}[_0x2a122a(0x150)](_0x4bb8ea){const _0xfd3e98=_0x2a122a,_0x1bb9f6=_0x4bb8ea[_0xfd3e98(0x152)][_0xfd3e98(0x10f)](_0x163b42),_0x3dadd1=this[_0xfd3e98(0x120)][_0xfd3e98(0x152)][_0xfd3e98(0x10f)](_0x1dd5d6),_0x4a73bc=this[_0xfd3e98(0x138)],_0x2018d8=this[_0xfd3e98(0x135)],_0x3f1bf2=()=>{const _0x4edefa=_0xfd3e98,_0x23e33d=_0x1bb9f6[_0x4edefa(0x111)]({'annotations':this[_0x4edefa(0x138)],'activeAnnotation':this[_0x4edefa(0x12e)]});this[_0x4edefa(0x12a)](_0x23e33d),this[_0x4edefa(0x110)](_0x23e33d[0x0]||null);};this[_0xfd3e98(0xe1)](_0x1bb9f6,_0xfd3e98(0x158),_0x3f1bf2),this[_0xfd3e98(0xe1)](_0x1bb9f6,_0xfd3e98(0x133),(_0x1f653a,{isAnnotationTracked:_0x4817cd})=>{const _0x5ad4e7=_0xfd3e98;this[_0x5ad4e7(0x12e)]&&_0x4817cd(this[_0x5ad4e7(0x12e)])&&(this[_0x5ad4e7(0x12a)]([]),this[_0x5ad4e7(0x110)](null));}),this[_0xfd3e98(0xe1)](_0x1bb9f6,_0xfd3e98(0x11a),()=>{const _0xeae688=_0xfd3e98;this[_0xeae688(0x126)]();}),this[_0xfd3e98(0xe1)](_0x4a73bc,_0xfd3e98(0x133),_0x5a9c76=>{const _0x42f3b4=_0xfd3e98;_0x1bb9f6[_0x42f3b4(0x14f)]()&&_0x5a9c76[_0x42f3b4(0x136)]();},{'priority':_0xfd3e98(0xff)}),this[_0xfd3e98(0xe1)](this[_0xfd3e98(0x108)],_0xfd3e98(0x13a),(_0x246449,_0x91d0db)=>{const _0x4080af=_0xfd3e98,_0x2fa2ff=_0x91d0db[_0x4080af(0x11d)];_0x2018d8[_0x4080af(0x116)]&&_0x2018d8[_0x4080af(0x154)][_0x4080af(0x146)](_0x2fa2ff)||_0x3dadd1[_0x4080af(0x127)][_0x4080af(0x154)][_0x4080af(0x146)](_0x2fa2ff)||this[_0x4080af(0x12e)]&&_0x1bb9f6[_0x4080af(0x14f)]()&&(_0x3f1bf2(),_0x246449[_0x4080af(0x153)]=!0x0);},{'priority':_0xfd3e98(0xff)}),this[_0xfd3e98(0xf6)][_0xfd3e98(0x14b)](_0x1bb9f6);}[_0x2a122a(0x114)](_0xbcfd14){const _0x18ddd6=_0x2a122a;_0xbcfd14&&(this[_0x18ddd6(0x107)](_0xbcfd14),this[_0x18ddd6(0xf6)][_0x18ddd6(0x14a)](_0xbcfd14));}[_0x2a122a(0x12a)](_0x382190){const _0x411029=_0x2a122a;for(const _0x456b17 of this[_0x411029(0xe2)])_0x382190[_0x411029(0xf5)](_0x456b17)||this[_0x411029(0x13c)][_0x411029(0x117)](_0x456b17[_0x411029(0x127)]);this[_0x411029(0xe2)]=_0x382190;}[_0x2a122a(0xe4)](){const _0xb906a3=_0x2a122a,_0x2e37f3=this[_0xb906a3(0x135)];this[_0xb906a3(0x138)][_0xb906a3(0x11b)](),_0x2e37f3[_0xb906a3(0x116)]&&this[_0xb906a3(0x106)]();}[_0x2a122a(0x157)](_0x35cae6){const _0x31ad08=_0x2a122a;if(this[_0x31ad08(0x13c)][_0x31ad08(0x100)](_0x35cae6[_0x31ad08(0x127)]))return;const _0x2b6457=this[_0x31ad08(0x135)][_0x31ad08(0x129)][_0x31ad08(0x118)];_0x2b6457!==_0x35cae6[_0x31ad08(0x127)]?(_0x2b6457&&this[_0x31ad08(0x13b)](_0x2b6457),this[_0x31ad08(0xec)](_0x35cae6[_0x31ad08(0x127)]),this[_0x31ad08(0x135)][_0x31ad08(0x129)][_0x31ad08(0x109)](),this[_0x31ad08(0x135)][_0x31ad08(0x129)][_0x31ad08(0x14b)](_0x35cae6[_0x31ad08(0x127)]),this[_0x31ad08(0x106)]()):this[_0x31ad08(0x106)]();}[_0x2a122a(0x106)](){const _0x5b2beb=_0x2a122a,_0x234440=this[_0x5b2beb(0x135)][_0x5b2beb(0x129)][_0x5b2beb(0x118)],_0x3bb1b7=_0x234440&&this[_0x5b2beb(0x138)][_0x5b2beb(0x148)](_0x234440);if(!_0x3bb1b7||!this[_0x5b2beb(0x130)][_0x5b2beb(0x100)](_0x3bb1b7))return;const _0x4033c3=this[_0x5b2beb(0x130)][_0x5b2beb(0x10f)](_0x3bb1b7)[_0x5b2beb(0x154)],_0x5ed23e=(function(){const _0x260f25=_0x5b2beb,_0x5d93f7=_0x4e70dc[_0x260f25(0x132)];return[_0x5d93f7[_0x260f25(0x113)],_0x5d93f7[_0x260f25(0x115)],_0x5d93f7[_0x260f25(0x121)],_0x5d93f7[_0x260f25(0x105)],_0x5d93f7[_0x260f25(0x144)],_0x5d93f7[_0x260f25(0x102)]];}());this[_0x5b2beb(0x135)][_0x5b2beb(0xf3)]({'target':_0x4033c3,'positions':_0x5ed23e});}[_0x2a122a(0x159)](){const _0x2d59a0=_0x2a122a,_0xa6f2d0=this[_0x2d59a0(0x135)],_0x12e361=_0xa6f2d0[_0x2d59a0(0x129)][_0x2d59a0(0x118)];_0x12e361&&(this[_0x2d59a0(0x13b)](_0x12e361),_0xa6f2d0[_0x2d59a0(0x139)](),_0xa6f2d0[_0x2d59a0(0x129)][_0x2d59a0(0x109)]());}[_0x2a122a(0xec)](_0x2a580c){const _0x39efb9=_0x2a122a;this[_0x39efb9(0xe1)](_0x2a580c,_0x39efb9(0x10a),()=>this[_0x39efb9(0x106)]()),this[_0x39efb9(0xe1)](_0x2a580c,_0x39efb9(0xf4),(_0x2956ca,_0x1d54fc)=>{const _0x3c155a=_0x39efb9;this[_0x3c155a(0x13c)][_0x3c155a(0x14b)](_0x2a580c),this[_0x3c155a(0x159)](),_0x1d54fc();});}[_0x2a122a(0x13b)](_0x5cb091){const _0x5d567c=_0x2a122a;this[_0x5d567c(0x107)](_0x5cb091);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3e0b8a=_0x2bc4;function _0x3f74(){const _0x2f641d=['config','define','sidebar-setcontainer-invalid-element','152pLgEvn','get','bind','1115qKklIn','_createSidebarView','set','rearrange','_updateLastItem','change:top','_getMaxAvailableTop','stopListening','_getItemAfter','init','pluginName','updateHeight','_recalculate','container','length','locale','_getItemBefore','7EBcwWk','destroy','_destroySidebarItemView','175736XDHquI','21228WytbIn','context','targetRect','last','_alignBeforeItem','isActive','setContainer','render','_activeAnnotation','_setItemTop','getIndex','class','259310QVKzeS','sidebar.preventScrollOutOfView','delete','bottom','max','isAnimationDisabled','sidebar.container','_detachFromContainer','_sidebarItemViewToAnnotation','remove','list','top','2199852tVGoUs','_spaceBetweenItems','push','refresh','Sidebar','unbind','_recalculateBuffer','addAnnotation','view','_attachToContainer','add','change:bottom','change:_lastItem','target','height','clear','_alignForTopChange','_alignToTargetRect','333210RKZUtn','_alignForBottomChange','_lastItem','appendChild','_annotationToSidebarItemView','minHeight','1314bEeobV','_getTargetTop','content','listenTo','nodeType','change:targetRect','1588280yOQXxb','_targetTop','getSidebarItemView','object','element','sidebar-attachtocontainer-missing-container','_alignAfterItem','_annotations'];_0x3f74=function(){return _0x2f641d;};return _0x3f74();}(function(_0x1cb7a0,_0x3689fa){const _0x10456f=_0x2bc4,_0x19661d=_0x1cb7a0();while(!![]){try{const _0x1bea70=parseInt(_0x10456f(0x1ac))/0x1+parseInt(_0x10456f(0x1d7))/0x2+-parseInt(_0x10456f(0x1ad))/0x3*(-parseInt(_0x10456f(0x1ee))/0x4)+-parseInt(_0x10456f(0x1f1))/0x5*(parseInt(_0x10456f(0x1dd))/0x6)+parseInt(_0x10456f(0x1a9))/0x7*(-parseInt(_0x10456f(0x1e3))/0x8)+-parseInt(_0x10456f(0x1c5))/0x9+parseInt(_0x10456f(0x1b9))/0xa;if(_0x1bea70===_0x3689fa)break;else _0x19661d['push'](_0x19661d['shift']());}catch(_0x1c9ee2){_0x19661d['push'](_0x19661d['shift']());}}}(_0x3f74,0x237d0));import{ContextPlugin as _0x1a19e5}from'ckeditor5/src/core.js';function _0x2bc4(_0x5758ee,_0x3bb705){const _0x3f7484=_0x3f74();return _0x2bc4=function(_0x2bc478,_0x2ff45c){_0x2bc478=_0x2bc478-0x1a8;let _0xfba27f=_0x3f7484[_0x2bc478];return _0xfba27f;},_0x2bc4(_0x5758ee,_0x3bb705);}import{Rect as _0x234961,CKEditorError as _0x40e15a}from'ckeditor5/src/utils.js';import _0x2a5eb3 from'./view/sidebarview.js';import _0x552569 from'./view/sidebaritemview.js';export default class z extends _0x1a19e5{static get[_0x3e0b8a(0x1fb)](){const _0x149323=_0x3e0b8a;return _0x149323(0x1c9);}constructor(_0x3cb668){const _0x2bccdd=_0x3e0b8a;super(_0x3cb668),this[_0x2bccdd(0x1f3)](_0x2bccdd(0x1d9),void 0x0),this[_0x2bccdd(0x1cd)]=this[_0x2bccdd(0x1f2)](),this[_0x2bccdd(0x1f3)](_0x2bccdd(0x1fe),null),this[_0x2bccdd(0x1c6)]=0x19,this[_0x2bccdd(0x1c1)]=new Map(),this[_0x2bccdd(0x1db)]=new Map(),this[_0x2bccdd(0x1ae)][_0x2bccdd(0x1eb)][_0x2bccdd(0x1ec)](_0x2bccdd(0x1ba),!0x1),this[_0x2bccdd(0x1ea)]=null,this[_0x2bccdd(0x1b5)]=null,this[_0x2bccdd(0x1cb)]=[];}[_0x3e0b8a(0x1fa)](){const _0x5d7938=_0x3e0b8a,_0x5cd003=this[_0x5d7938(0x1ae)][_0x5d7938(0x1eb)][_0x5d7938(0x1ef)](_0x5d7938(0x1bf));_0x5cd003&&this[_0x5d7938(0x1b3)](_0x5cd003);}[_0x3e0b8a(0x1b3)](_0x216be3){const _0x583050=_0x3e0b8a;if(!y(_0x216be3))throw new _0x40e15a(_0x583050(0x1ed));this[_0x583050(0x1fe)]=_0x216be3;}[_0x3e0b8a(0x1ce)]({viewClass:_0x14bfce='',spaceBetweenItems:_0x3724e4=0x19}={}){const _0x3ef437=_0x3e0b8a;if(!y(this[_0x3ef437(0x1fe)]))throw new _0x40e15a(_0x3ef437(0x1e8),this);this[_0x3ef437(0x1fe)][_0x3ef437(0x1da)](this[_0x3ef437(0x1cd)][_0x3ef437(0x1e7)]),this[_0x3ef437(0x1cd)][_0x3ef437(0x1b8)]=_0x14bfce,this[_0x3ef437(0x1c6)]=_0x3724e4;}[_0x3e0b8a(0x1f4)]({removedAnnotation:_0x3ae36e,previousAnnotation:_0x98c3aa,nextAnnotation:_0x2e3d53}){const _0x181287=_0x3e0b8a,_0x492eb0=this[_0x181287(0x1e5)](_0x3ae36e);this[_0x181287(0x1cd)][_0x181287(0x1c3)][_0x181287(0x1c2)](_0x492eb0),this[_0x181287(0x1ab)](_0x3ae36e),_0x98c3aa&&this[_0x181287(0x1d6)](this[_0x181287(0x1e5)](_0x98c3aa)),_0x2e3d53&&this[_0x181287(0x1d6)](this[_0x181287(0x1e5)](_0x2e3d53)),this[_0x181287(0x1f5)]();}[_0x3e0b8a(0x1c8)]({blurredAnnotation:_0x46eeef,activatedAnnotation:_0xc3c09a,disableAnimationOnActivatedAnnotation:_0xef25a}){const _0x137771=_0x3e0b8a;if(this[_0x137771(0x1b5)]=_0xc3c09a,_0x46eeef){_0x46eeef[_0x137771(0x1b2)]=!0x1;const _0x474072=this[_0x137771(0x1e5)](_0x46eeef);_0x474072&&_0xef25a&&(_0x474072[_0x137771(0x1be)]=!0x1);}if(_0xc3c09a){const _0x5c575f=this[_0x137771(0x1e5)](_0xc3c09a);_0x5c575f&&(_0xc3c09a[_0x137771(0x1b2)]=!0x0,_0xef25a&&(_0x5c575f[_0x137771(0x1be)]=!0x0,_0x5c575f[_0x137771(0x1c4)]+=0x1),this[_0x137771(0x1d6)](_0x5c575f));}}[_0x3e0b8a(0x1c0)](_0x291b22){const _0x1d4737=_0x3e0b8a;if(this[_0x1d4737(0x1cd)][_0x1d4737(0x1e7)][_0x1d4737(0x1c2)](),_0x291b22){for(const _0x1b3cff of _0x291b22)this[_0x1d4737(0x1ab)](_0x1b3cff);}this[_0x1d4737(0x1cd)][_0x1d4737(0x1c3)][_0x1d4737(0x1d4)](),this[_0x1d4737(0x1cd)][_0x1d4737(0x1b8)]='',this[_0x1d4737(0x1d9)]=null;}[_0x3e0b8a(0x1cc)](_0x27db9f,_0x690880){const _0x3849c9=_0x3e0b8a;_0x690880||(_0x690880=_0x27db9f[_0x3849c9(0x1cd)]);const _0x4fe523=new _0x552569(this[_0x3849c9(0x1ae)][_0x3849c9(0x200)]);this[_0x3849c9(0x1c1)][_0x3849c9(0x1f3)](_0x4fe523,_0x27db9f),this[_0x3849c9(0x1db)][_0x3849c9(0x1f3)](_0x27db9f,_0x4fe523),_0x4fe523[_0x3849c9(0x1df)][_0x3849c9(0x1cf)](_0x690880),this[_0x3849c9(0x1e0)](_0x27db9f[_0x3849c9(0x1cd)],_0x3849c9(0x1e2),(_0x3d023e,_0x500878,_0x46db27)=>{const _0x1e4607=_0x3849c9,_0x276a8e=this[_0x1e4607(0x1de)](_0x27db9f,_0x46db27);_0x4fe523[_0x1e4607(0x1e4)]!=_0x276a8e&&(_0x4fe523[_0x1e4607(0x1e4)]=_0x276a8e,this[_0x1e4607(0x1b6)](_0x4fe523,_0x276a8e));}),this[_0x3849c9(0x1e0)](_0x4fe523,_0x3849c9(0x1f6),()=>{const _0x2cdddd=_0x3849c9;this[_0x2cdddd(0x1fd)](_0x4fe523,_0x2cdddd(0x1c4));}),this[_0x3849c9(0x1e0)](_0x4fe523,_0x3849c9(0x1d0),()=>{const _0x3e32bf=_0x3849c9;this[_0x3e32bf(0x1fd)](_0x4fe523,_0x3e32bf(0x1bc));}),this[_0x3849c9(0x1d6)](_0x4fe523);const _0x260e92=this[_0x3849c9(0x1a8)](_0x4fe523);if(_0x260e92)this[_0x3849c9(0x1e9)](_0x260e92,_0x4fe523)||this[_0x3849c9(0x1d6)](_0x4fe523);else this[_0x3849c9(0x1d6)](_0x4fe523);return this[_0x3849c9(0x1f5)](),this[_0x3849c9(0x1cd)][_0x3849c9(0x1c3)][_0x3849c9(0x1cf)](_0x4fe523),_0x4fe523;}[_0x3e0b8a(0x1d5)](_0x15c265){const _0x13986a=_0x3e0b8a;if(!_0x15c265[_0x13986a(0x1df)][_0x13986a(0x1ff)])return;const _0x3d078e=this[_0x13986a(0x1a8)](_0x15c265);if(!_0x3d078e)return;const _0x465460=this[_0x13986a(0x1c1)][_0x13986a(0x1ef)](_0x3d078e),_0xa1d945=this[_0x13986a(0x1b5)];_0xa1d945&&_0xa1d945===_0x465460?this[_0x13986a(0x1e9)](_0x3d078e,_0x15c265):this[_0x13986a(0x1b1)](_0x15c265,_0x3d078e);}[_0x3e0b8a(0x1d8)](_0x181d61){const _0x3979cb=_0x3e0b8a;if(!_0x181d61[_0x3979cb(0x1df)][_0x3979cb(0x1ff)])return;const _0xf31255=this[_0x3979cb(0x1f9)](_0x181d61);if(!_0xf31255)return;const _0xa8bc0a=this[_0x3979cb(0x1c1)][_0x3979cb(0x1ef)](_0xf31255),_0x7e76af=this[_0x3979cb(0x1ae)][_0x3979cb(0x1eb)][_0x3979cb(0x1ef)](_0x3979cb(0x1ba)),_0x392ec6=this[_0x3979cb(0x1b5)];_0x392ec6&&_0x392ec6===_0xa8bc0a&&_0x7e76af?(this[_0x3979cb(0x1b1)](_0xf31255,_0x181d61),this[_0x3979cb(0x1e9)](_0x181d61,_0xf31255)):_0x392ec6&&_0x392ec6===_0xa8bc0a?this[_0x3979cb(0x1b1)](_0xf31255,_0x181d61):this[_0x3979cb(0x1e9)](_0x181d61,_0xf31255);}[_0x3e0b8a(0x1fd)](_0xe637eb,_0x46db7d){const _0x529e8a=_0x3e0b8a;0x0===this[_0x529e8a(0x1cb)][_0x529e8a(0x1ff)]&&setTimeout(()=>{const _0x23974f=_0x529e8a;for(const {sidebarItemView:_0x222b90,changedProp:_0x5f4819}of this[_0x23974f(0x1cb)])_0x23974f(0x1c4)===_0x5f4819?this[_0x23974f(0x1d5)](_0x222b90):this[_0x23974f(0x1d8)](_0x222b90);this[_0x23974f(0x1cb)]=[];},0xa),this[_0x529e8a(0x1cb)][_0x529e8a(0x1c7)]({'sidebarItemView':_0xe637eb,'changedProp':_0x46db7d});}[_0x3e0b8a(0x1e5)](_0x34ed55){const _0xdc2633=_0x3e0b8a;return this[_0xdc2633(0x1db)][_0xdc2633(0x1ef)](_0x34ed55);}[_0x3e0b8a(0x1aa)](){const _0x53f774=_0x3e0b8a;this[_0x53f774(0x1f8)](),this[_0x53f774(0x1cd)][_0x53f774(0x1aa)]();}[_0x3e0b8a(0x1ab)](_0x436028){const _0x2d5dd7=_0x3e0b8a,_0x570831=this[_0x2d5dd7(0x1e5)](_0x436028);this[_0x2d5dd7(0x1f8)](_0x570831),this[_0x2d5dd7(0x1f8)](_0x436028[_0x2d5dd7(0x1cd)]),_0x570831[_0x2d5dd7(0x1aa)](),this[_0x2d5dd7(0x1db)][_0x2d5dd7(0x1bb)](_0x436028),this[_0x2d5dd7(0x1c1)][_0x2d5dd7(0x1bb)](_0x570831);}[_0x3e0b8a(0x1f2)](){const _0x1e8331=_0x3e0b8a,_0x32612b=new _0x2a5eb3(this[_0x1e8331(0x1ae)][_0x1e8331(0x200)]);return _0x32612b[_0x1e8331(0x1b4)](),this['on'](_0x1e8331(0x1d1),(_0xa48848,_0x2b6265,_0x1a6ee3,_0x44bbeb)=>{const _0x381040=_0x1e8331;_0x44bbeb&&_0x32612b[_0x381040(0x1ca)](_0x381040(0x1dc)),_0x1a6ee3?_0x32612b[_0x381040(0x1f0)](_0x381040(0x1dc))['to'](_0x1a6ee3,_0x381040(0x1bc)):_0x32612b[_0x381040(0x1dc)]=null;}),_0x32612b;}[_0x3e0b8a(0x1f5)](){const _0x44e04d=_0x3e0b8a;var _0x206151;this[_0x44e04d(0x1d9)]=(null===(_0x206151=this[_0x44e04d(0x1ea)])||void 0x0===_0x206151?void 0x0:_0x206151[_0x44e04d(0x1b0)])?this[_0x44e04d(0x1e5)](this[_0x44e04d(0x1ea)][_0x44e04d(0x1b0)]):null;}[_0x3e0b8a(0x1a8)](_0xbc925d){const _0x4d8ec3=_0x3e0b8a;var _0x515e05;const _0x118e94=this[_0x4d8ec3(0x1c1)][_0x4d8ec3(0x1ef)](_0xbc925d),_0x53d873=_0x118e94&&(null===(_0x515e05=this[_0x4d8ec3(0x1ea)])||void 0x0===_0x515e05?void 0x0:_0x515e05[_0x4d8ec3(0x1ef)](this[_0x4d8ec3(0x1ea)][_0x4d8ec3(0x1b7)](_0x118e94)-0x1));return _0x53d873&&this[_0x4d8ec3(0x1e5)](_0x53d873)||null;}[_0x3e0b8a(0x1f9)](_0x42f50f){const _0x550f5a=_0x3e0b8a;var _0x467258;const _0x47d2ef=this[_0x550f5a(0x1c1)][_0x550f5a(0x1ef)](_0x42f50f),_0x3762c2=_0x47d2ef&&(null===(_0x467258=this[_0x550f5a(0x1ea)])||void 0x0===_0x467258?void 0x0:_0x467258[_0x550f5a(0x1ef)](this[_0x550f5a(0x1ea)][_0x550f5a(0x1b7)](_0x47d2ef)+0x1));return _0x3762c2&&this[_0x550f5a(0x1e5)](_0x3762c2)||null;}[_0x3e0b8a(0x1b1)](_0x5b9a76,_0x376e97){const _0x1e481b=_0x3e0b8a;_0x5b9a76[_0x1e481b(0x1fc)]();const _0x304375=M(_0x376e97[_0x1e481b(0x1bc)]+this[_0x1e481b(0x1c6)],_0x5b9a76[_0x1e481b(0x1c4)]);return!!_0x304375&&(this[_0x1e481b(0x1b6)](_0x376e97,_0x376e97[_0x1e481b(0x1c4)]-_0x304375),!0x0);}[_0x3e0b8a(0x1e9)](_0x32598e,_0xda7eaa){const _0x34e8a3=_0x3e0b8a;_0x32598e[_0x34e8a3(0x1fc)]();const _0x58b940=M(_0x32598e[_0x34e8a3(0x1bc)]+this[_0x34e8a3(0x1c6)],_0xda7eaa[_0x34e8a3(0x1c4)]);return!!_0x58b940&&(this[_0x34e8a3(0x1b6)](_0xda7eaa,_0xda7eaa[_0x34e8a3(0x1c4)]+_0x58b940,!0x1),!0x0);}[_0x3e0b8a(0x1d6)](_0x10b363){const _0x26ba70=_0x3e0b8a,_0x1313bf=this[_0x26ba70(0x1c1)][_0x26ba70(0x1ef)](_0x10b363);if(!_0x1313bf||!_0x1313bf[_0x26ba70(0x1d2)]||!_0x1313bf[_0x26ba70(0x1af)])return;const _0x2bee4e=this[_0x26ba70(0x1de)](_0x1313bf,_0x1313bf[_0x26ba70(0x1af)]);this[_0x26ba70(0x1b6)](_0x10b363,_0x2bee4e);}[_0x3e0b8a(0x1de)](_0x46ed2f,_0x2894ee){const _0xe66623=_0x3e0b8a;if(null===_0x2894ee)return 0x0;if(_0x46ed2f[_0xe66623(0x1d2)]instanceof _0x234961)return _0x2894ee[_0xe66623(0x1c4)];{const _0x15da65=new _0x234961(this[_0xe66623(0x1cd)][_0xe66623(0x1e7)])[_0xe66623(0x1c4)];return _0x2894ee[_0xe66623(0x1c4)]-_0x15da65;}}[_0x3e0b8a(0x1b6)](_0x1d595d,_0x103dec,_0x3436d0=this[_0x3e0b8a(0x1ae)][_0x3e0b8a(0x1eb)][_0x3e0b8a(0x1ef)](_0x3e0b8a(0x1ba))){const _0x412ca0=_0x3e0b8a;_0x3436d0&&(_0x103dec=Math[_0x412ca0(0x1bd)](_0x103dec,this[_0x412ca0(0x1f7)](_0x1d595d))),_0x1d595d[_0x412ca0(0x1c4)]=_0x103dec;}[_0x3e0b8a(0x1f7)](_0x1f15bf){const _0x13e2e3=_0x3e0b8a;let _0x3c063b=this[_0x13e2e3(0x1a8)](_0x1f15bf),_0x5c37eb=0x0;for(;_0x3c063b;)_0x3c063b[_0x13e2e3(0x1fc)](),_0x5c37eb+=this[_0x13e2e3(0x1c6)]+_0x3c063b[_0x13e2e3(0x1d3)],_0x3c063b=this[_0x13e2e3(0x1a8)](_0x3c063b);return _0x5c37eb;}}function M(_0x1fdddf,_0x1c463d){const _0x1353c4=_0x3e0b8a;return Math[_0x1353c4(0x1bd)](_0x1fdddf-_0x1c463d,0x0);}function y(_0x12d2bd){const _0x46b57=_0x3e0b8a;return null!==_0x12d2bd&&_0x46b57(0x1e6)==typeof _0x12d2bd&&0x1===_0x12d2bd[_0x46b57(0x1e1)];}
|
|
23
|
+
const _0x45dd1a=_0x5ec7;(function(_0x3c9777,_0x25e890){const _0x457cbf=_0x5ec7,_0x228c88=_0x3c9777();while(!![]){try{const _0x82e6fe=parseInt(_0x457cbf(0x19e))/0x1+parseInt(_0x457cbf(0x169))/0x2+parseInt(_0x457cbf(0x189))/0x3*(parseInt(_0x457cbf(0x175))/0x4)+parseInt(_0x457cbf(0x179))/0x5*(-parseInt(_0x457cbf(0x1a0))/0x6)+-parseInt(_0x457cbf(0x167))/0x7*(-parseInt(_0x457cbf(0x1ba))/0x8)+parseInt(_0x457cbf(0x196))/0x9+parseInt(_0x457cbf(0x16e))/0xa*(-parseInt(_0x457cbf(0x165))/0xb);if(_0x82e6fe===_0x25e890)break;else _0x228c88['push'](_0x228c88['shift']());}catch(_0x5f5501){_0x228c88['push'](_0x228c88['shift']());}}}(_0x5506,0xd1146));import{ContextPlugin as _0x4f01f8}from'ckeditor5/src/core.js';import{Rect as _0x130e5b,CKEditorError as _0x28c68c}from'ckeditor5/src/utils.js';function _0x5ec7(_0x186308,_0x20a7f3){const _0x550632=_0x5506();return _0x5ec7=function(_0x5ec7ce,_0x45b0a9){_0x5ec7ce=_0x5ec7ce-0x164;let _0xd11b7b=_0x550632[_0x5ec7ce];return _0xd11b7b;},_0x5ec7(_0x186308,_0x20a7f3);}import _0x1ff289 from'./view/sidebarview.js';import _0x29398f from'./view/sidebaritemview.js';export default class z extends _0x4f01f8{static get[_0x45dd1a(0x1b5)](){const _0x52eb04=_0x45dd1a;return _0x52eb04(0x199);}constructor(_0x52ca3c){const _0x45c9dc=_0x45dd1a;super(_0x52ca3c),this[_0x45c9dc(0x1ab)](_0x45c9dc(0x19b),void 0x0),this[_0x45c9dc(0x1a6)]=this[_0x45c9dc(0x17e)](),this[_0x45c9dc(0x1ab)](_0x45c9dc(0x186),null),this[_0x45c9dc(0x178)]=0x19,this[_0x45c9dc(0x182)]=new Map(),this[_0x45c9dc(0x16a)]=new Map(),this[_0x45c9dc(0x1bc)][_0x45c9dc(0x16b)][_0x45c9dc(0x1a2)](_0x45c9dc(0x1ad),!0x1),this[_0x45c9dc(0x177)]=null,this[_0x45c9dc(0x1bb)]=null,this[_0x45c9dc(0x188)]=[];}[_0x45dd1a(0x17f)](){const _0x42d461=_0x45dd1a,_0x20b3a7=this[_0x42d461(0x1bc)][_0x42d461(0x16b)][_0x42d461(0x1af)](_0x42d461(0x1b1));_0x20b3a7&&this[_0x42d461(0x164)](_0x20b3a7);}[_0x45dd1a(0x164)](_0x889b5){const _0x52ed5e=_0x45dd1a;if(!y(_0x889b5))throw new _0x28c68c(_0x52ed5e(0x1b9));this[_0x52ed5e(0x186)]=_0x889b5;}[_0x45dd1a(0x19c)]({viewClass:_0x3884b5='',spaceBetweenItems:_0x84fb95=0x19}={}){const _0x4c4e39=_0x45dd1a;if(!y(this[_0x4c4e39(0x186)]))throw new _0x28c68c(_0x4c4e39(0x18f),this);this[_0x4c4e39(0x186)][_0x4c4e39(0x1ae)](this[_0x4c4e39(0x1a6)][_0x4c4e39(0x170)]),this[_0x4c4e39(0x1a6)][_0x4c4e39(0x19d)]=_0x3884b5,this[_0x4c4e39(0x178)]=_0x84fb95;}[_0x45dd1a(0x183)]({removedAnnotation:_0x26727f,previousAnnotation:_0x2be17d,nextAnnotation:_0x35cd3a}){const _0x3a7a46=_0x45dd1a,_0x17af4d=this[_0x3a7a46(0x181)](_0x26727f);this[_0x3a7a46(0x1a6)][_0x3a7a46(0x194)][_0x3a7a46(0x18d)](_0x17af4d),this[_0x3a7a46(0x1a5)](_0x26727f),_0x2be17d&&this[_0x3a7a46(0x193)](this[_0x3a7a46(0x181)](_0x2be17d)),_0x35cd3a&&this[_0x3a7a46(0x193)](this[_0x3a7a46(0x181)](_0x35cd3a)),this[_0x3a7a46(0x198)]();}[_0x45dd1a(0x174)]({blurredAnnotation:_0x23b981,activatedAnnotation:_0x17a8ba,disableAnimationOnActivatedAnnotation:_0x2c9183}){const _0x3676e4=_0x45dd1a;if(this[_0x3676e4(0x1bb)]=_0x17a8ba,_0x23b981){_0x23b981[_0x3676e4(0x18b)]=!0x1;const _0x12e68a=this[_0x3676e4(0x181)](_0x23b981);_0x12e68a&&_0x2c9183&&(_0x12e68a[_0x3676e4(0x172)]=!0x1);}if(_0x17a8ba){const _0x2e7272=this[_0x3676e4(0x181)](_0x17a8ba);_0x2e7272&&(_0x17a8ba[_0x3676e4(0x18b)]=!0x0,_0x2c9183&&(_0x2e7272[_0x3676e4(0x172)]=!0x0,_0x2e7272[_0x3676e4(0x1b0)]+=0x1),this[_0x3676e4(0x193)](_0x2e7272));}}[_0x45dd1a(0x1a4)](_0x462875){const _0x45518f=_0x45dd1a;if(this[_0x45518f(0x1a6)][_0x45518f(0x170)][_0x45518f(0x18d)](),_0x462875){for(const _0x57fe99 of _0x462875)this[_0x45518f(0x1a5)](_0x57fe99);}this[_0x45518f(0x1a6)][_0x45518f(0x194)][_0x45518f(0x1bd)](),this[_0x45518f(0x1a6)][_0x45518f(0x19d)]='',this[_0x45518f(0x19b)]=null;}[_0x45dd1a(0x16c)](_0x4ae083,_0x5ea739){const _0x839ab0=_0x45dd1a;_0x5ea739||(_0x5ea739=_0x4ae083[_0x839ab0(0x1a6)]);const _0x7250ec=new _0x29398f(this[_0x839ab0(0x1bc)][_0x839ab0(0x166)]);this[_0x839ab0(0x182)][_0x839ab0(0x1ab)](_0x7250ec,_0x4ae083),this[_0x839ab0(0x16a)][_0x839ab0(0x1ab)](_0x4ae083,_0x7250ec),_0x7250ec[_0x839ab0(0x1a3)][_0x839ab0(0x1b6)](_0x5ea739),this[_0x839ab0(0x1b2)](_0x4ae083[_0x839ab0(0x1a6)],_0x839ab0(0x187),(_0x74a7ad,_0x7c938c,_0x580f73)=>{const _0x3d71a4=_0x839ab0,_0x4356a2=this[_0x3d71a4(0x1aa)](_0x4ae083,_0x580f73);_0x7250ec[_0x3d71a4(0x192)]!=_0x4356a2&&(_0x7250ec[_0x3d71a4(0x192)]=_0x4356a2,this[_0x3d71a4(0x17d)](_0x7250ec,_0x4356a2));}),this[_0x839ab0(0x1b2)](_0x7250ec,_0x839ab0(0x173),()=>{const _0x42ca1a=_0x839ab0;this[_0x42ca1a(0x1a1)](_0x7250ec,_0x42ca1a(0x1b0));}),this[_0x839ab0(0x1b2)](_0x7250ec,_0x839ab0(0x171),()=>{const _0x141f9d=_0x839ab0;this[_0x141f9d(0x1a1)](_0x7250ec,_0x141f9d(0x18c));}),this[_0x839ab0(0x193)](_0x7250ec);const _0x5673e1=this[_0x839ab0(0x1b8)](_0x7250ec);if(_0x5673e1)this[_0x839ab0(0x1a8)](_0x5673e1,_0x7250ec)||this[_0x839ab0(0x193)](_0x7250ec);else this[_0x839ab0(0x193)](_0x7250ec);return this[_0x839ab0(0x198)](),this[_0x839ab0(0x1a6)][_0x839ab0(0x194)][_0x839ab0(0x1b6)](_0x7250ec),_0x7250ec;}[_0x45dd1a(0x1a9)](_0x5a24b1){const _0xd973fc=_0x45dd1a;if(!_0x5a24b1[_0xd973fc(0x1a3)][_0xd973fc(0x185)])return;const _0x286ff8=this[_0xd973fc(0x1b8)](_0x5a24b1);if(!_0x286ff8)return;const _0x305495=this[_0xd973fc(0x182)][_0xd973fc(0x1af)](_0x286ff8),_0x2d2739=this[_0xd973fc(0x1bb)];_0x2d2739&&_0x2d2739===_0x305495?this[_0xd973fc(0x1a8)](_0x286ff8,_0x5a24b1):this[_0xd973fc(0x17b)](_0x5a24b1,_0x286ff8);}[_0x45dd1a(0x16d)](_0x4aef1c){const _0x6d0b68=_0x45dd1a;if(!_0x4aef1c[_0x6d0b68(0x1a3)][_0x6d0b68(0x185)])return;const _0x45bd75=this[_0x6d0b68(0x18e)](_0x4aef1c);if(!_0x45bd75)return;const _0x410438=this[_0x6d0b68(0x182)][_0x6d0b68(0x1af)](_0x45bd75),_0x5d5391=this[_0x6d0b68(0x1bc)][_0x6d0b68(0x16b)][_0x6d0b68(0x1af)](_0x6d0b68(0x1ad)),_0x4327b2=this[_0x6d0b68(0x1bb)];_0x4327b2&&_0x4327b2===_0x410438&&_0x5d5391?(this[_0x6d0b68(0x17b)](_0x45bd75,_0x4aef1c),this[_0x6d0b68(0x1a8)](_0x4aef1c,_0x45bd75)):_0x4327b2&&_0x4327b2===_0x410438?this[_0x6d0b68(0x17b)](_0x45bd75,_0x4aef1c):this[_0x6d0b68(0x1a8)](_0x4aef1c,_0x45bd75);}[_0x45dd1a(0x1a1)](_0x4140cb,_0x31ca76){const _0x66bf5b=_0x45dd1a;0x0===this[_0x66bf5b(0x188)][_0x66bf5b(0x185)]&&setTimeout(()=>{const _0x5b09a7=_0x66bf5b;for(const {sidebarItemView:_0x3b7009,changedProp:_0xec875}of this[_0x5b09a7(0x188)])_0x5b09a7(0x1b0)===_0xec875?this[_0x5b09a7(0x1a9)](_0x3b7009):this[_0x5b09a7(0x16d)](_0x3b7009);this[_0x5b09a7(0x188)]=[];},0xa),this[_0x66bf5b(0x188)][_0x66bf5b(0x180)]({'sidebarItemView':_0x4140cb,'changedProp':_0x31ca76});}[_0x45dd1a(0x181)](_0xcf9e0d){const _0x369358=_0x45dd1a;return this[_0x369358(0x16a)][_0x369358(0x1af)](_0xcf9e0d);}[_0x45dd1a(0x18a)](){const _0x16e42a=_0x45dd1a;this[_0x16e42a(0x1a7)](),this[_0x16e42a(0x1a6)][_0x16e42a(0x18a)]();}[_0x45dd1a(0x1a5)](_0x20e706){const _0x1ef985=_0x45dd1a,_0x12a0ce=this[_0x1ef985(0x181)](_0x20e706);this[_0x1ef985(0x1a7)](_0x12a0ce),this[_0x1ef985(0x1a7)](_0x20e706[_0x1ef985(0x1a6)]),_0x12a0ce[_0x1ef985(0x18a)](),this[_0x1ef985(0x16a)][_0x1ef985(0x1b4)](_0x20e706),this[_0x1ef985(0x182)][_0x1ef985(0x1b4)](_0x12a0ce);}[_0x45dd1a(0x17e)](){const _0x35dbce=_0x45dd1a,_0x5eeb32=new _0x1ff289(this[_0x35dbce(0x1bc)][_0x35dbce(0x166)]);return _0x5eeb32[_0x35dbce(0x17c)](),this['on'](_0x35dbce(0x176),(_0x58fc7b,_0x4ba73b,_0x19c253,_0x5c6d8e)=>{const _0xb2d9d5=_0x35dbce;_0x5c6d8e&&_0x5eeb32[_0xb2d9d5(0x1ac)](_0xb2d9d5(0x190)),_0x19c253?_0x5eeb32[_0xb2d9d5(0x197)](_0xb2d9d5(0x190))['to'](_0x19c253,_0xb2d9d5(0x18c)):_0x5eeb32[_0xb2d9d5(0x190)]=null;}),_0x5eeb32;}[_0x45dd1a(0x198)](){const _0x57c3ef=_0x45dd1a;var _0x339445;this[_0x57c3ef(0x19b)]=(null===(_0x339445=this[_0x57c3ef(0x177)])||void 0x0===_0x339445?void 0x0:_0x339445[_0x57c3ef(0x195)])?this[_0x57c3ef(0x181)](this[_0x57c3ef(0x177)][_0x57c3ef(0x195)]):null;}[_0x45dd1a(0x1b8)](_0x486f6c){const _0x52557b=_0x45dd1a;var _0x345e9b;const _0x22f024=this[_0x52557b(0x182)][_0x52557b(0x1af)](_0x486f6c),_0x2375eb=_0x22f024&&(null===(_0x345e9b=this[_0x52557b(0x177)])||void 0x0===_0x345e9b?void 0x0:_0x345e9b[_0x52557b(0x1af)](this[_0x52557b(0x177)][_0x52557b(0x191)](_0x22f024)-0x1));return _0x2375eb&&this[_0x52557b(0x181)](_0x2375eb)||null;}[_0x45dd1a(0x18e)](_0x3c10b2){const _0x288147=_0x45dd1a;var _0x13ff0a;const _0x3c776d=this[_0x288147(0x182)][_0x288147(0x1af)](_0x3c10b2),_0x332f1a=_0x3c776d&&(null===(_0x13ff0a=this[_0x288147(0x177)])||void 0x0===_0x13ff0a?void 0x0:_0x13ff0a[_0x288147(0x1af)](this[_0x288147(0x177)][_0x288147(0x191)](_0x3c776d)+0x1));return _0x332f1a&&this[_0x288147(0x181)](_0x332f1a)||null;}[_0x45dd1a(0x17b)](_0x3d1e90,_0x17c6d9){const _0x5f33d9=_0x45dd1a;_0x3d1e90[_0x5f33d9(0x19a)]();const _0x4c6bb0=M(_0x17c6d9[_0x5f33d9(0x18c)]+this[_0x5f33d9(0x178)],_0x3d1e90[_0x5f33d9(0x1b0)]);return!!_0x4c6bb0&&(this[_0x5f33d9(0x17d)](_0x17c6d9,_0x17c6d9[_0x5f33d9(0x1b0)]-_0x4c6bb0),!0x0);}[_0x45dd1a(0x1a8)](_0x222e07,_0x2f3679){const _0x169e24=_0x45dd1a;_0x222e07[_0x169e24(0x19a)]();const _0x44c9d8=M(_0x222e07[_0x169e24(0x18c)]+this[_0x169e24(0x178)],_0x2f3679[_0x169e24(0x1b0)]);return!!_0x44c9d8&&(this[_0x169e24(0x17d)](_0x2f3679,_0x2f3679[_0x169e24(0x1b0)]+_0x44c9d8,!0x1),!0x0);}[_0x45dd1a(0x193)](_0x59d50f){const _0x55882a=_0x45dd1a,_0x415aa6=this[_0x55882a(0x182)][_0x55882a(0x1af)](_0x59d50f);if(!_0x415aa6||!_0x415aa6[_0x55882a(0x17a)]||!_0x415aa6[_0x55882a(0x16f)])return;const _0x1f6c97=this[_0x55882a(0x1aa)](_0x415aa6,_0x415aa6[_0x55882a(0x16f)]);this[_0x55882a(0x17d)](_0x59d50f,_0x1f6c97);}[_0x45dd1a(0x1aa)](_0x484a4b,_0x1acd5c){const _0x5bb4ea=_0x45dd1a;if(null===_0x1acd5c)return 0x0;if(_0x484a4b[_0x5bb4ea(0x17a)]instanceof _0x130e5b)return _0x1acd5c[_0x5bb4ea(0x1b0)];{const _0x2838ea=new _0x130e5b(this[_0x5bb4ea(0x1a6)][_0x5bb4ea(0x170)])[_0x5bb4ea(0x1b0)];return _0x1acd5c[_0x5bb4ea(0x1b0)]-_0x2838ea;}}[_0x45dd1a(0x17d)](_0x5c6e1a,_0x4a4ccf,_0x65757f=this[_0x45dd1a(0x1bc)][_0x45dd1a(0x16b)][_0x45dd1a(0x1af)](_0x45dd1a(0x1ad))){const _0x28c482=_0x45dd1a;_0x65757f&&(_0x4a4ccf=Math[_0x28c482(0x168)](_0x4a4ccf,this[_0x28c482(0x184)](_0x5c6e1a))),_0x5c6e1a[_0x28c482(0x1b0)]=_0x4a4ccf;}[_0x45dd1a(0x184)](_0x5cbf4e){const _0x137543=_0x45dd1a;let _0x4bda6a=this[_0x137543(0x1b8)](_0x5cbf4e),_0xc9acff=0x0;for(;_0x4bda6a;)_0x4bda6a[_0x137543(0x19a)](),_0xc9acff+=this[_0x137543(0x178)]+_0x4bda6a[_0x137543(0x1b3)],_0x4bda6a=this[_0x137543(0x1b8)](_0x4bda6a);return _0xc9acff;}}function _0x5506(){const _0x1bf657=['_sidebarItemViewToAnnotation','rearrange','_getMaxAvailableTop','length','container','change:targetRect','_recalculateBuffer','4948050yyUyIM','destroy','isActive','bottom','remove','_getItemAfter','sidebar-attachtocontainer-missing-container','minHeight','getIndex','_targetTop','_alignToTargetRect','list','last','10881729NBTTLS','bind','_updateLastItem','Sidebar','updateHeight','_lastItem','_attachToContainer','class','1242753sFQZxZ','object','17826RAzuCN','_recalculate','define','content','_detachFromContainer','_destroySidebarItemView','view','stopListening','_alignAfterItem','_alignForTopChange','_getTargetTop','set','unbind','sidebar.preventScrollOutOfView','appendChild','get','top','sidebar.container','listenTo','height','delete','pluginName','add','nodeType','_getItemBefore','sidebar-setcontainer-invalid-element','8EaDzhN','_activeAnnotation','context','clear','setContainer','11TTZDzh','locale','11304139iLAJcv','max','3015166MWZcgu','_annotationToSidebarItemView','config','addAnnotation','_alignForBottomChange','52590710MNJveW','targetRect','element','change:bottom','isAnimationDisabled','change:top','refresh','4gfIvDZ','change:_lastItem','_annotations','_spaceBetweenItems','1865VCgNph','target','_alignBeforeItem','render','_setItemTop','_createSidebarView','init','push','getSidebarItemView'];_0x5506=function(){return _0x1bf657;};return _0x5506();}function M(_0x797a0e,_0x1bc6c1){const _0xb27362=_0x45dd1a;return Math[_0xb27362(0x168)](_0x797a0e-_0x1bc6c1,0x0);}function y(_0x1d4218){const _0x28f156=_0x45dd1a;return null!==_0x1d4218&&_0x28f156(0x19f)==typeof _0x1d4218&&0x1===_0x1d4218[_0x28f156(0x1b7)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x6ae827,_0x1660b1){const _0x4cd7c6=_0x4104,_0x2bf1e1=_0x6ae827();while(!![]){try{const _0x4ab74c=-parseInt(_0x4cd7c6(0xf0))/0x1*(parseInt(_0x4cd7c6(0xf4))/0x2)+-parseInt(_0x4cd7c6(0xed))/0x3*(-parseInt(_0x4cd7c6(0xfe))/0x4)+parseInt(_0x4cd7c6(0xe8))/0x5+parseInt(_0x4cd7c6(0x104))/0x6*(parseInt(_0x4cd7c6(0xef))/0x7)+-parseInt(_0x4cd7c6(0xe7))/0x8*(parseInt(_0x4cd7c6(0xf5))/0x9)+parseInt(_0x4cd7c6(0xfb))/0xa+-parseInt(_0x4cd7c6(0xf8))/0xb;if(_0x4ab74c===_0x1660b1)break;else _0x2bf1e1['push'](_0x2bf1e1['shift']());}catch(_0x1c45aa){_0x2bf1e1['push'](_0x2bf1e1['shift']());}}}(_0x2e7b,0x6227c));import{ButtonView as _0xa4dc0e,View as _0x40e12d}from'ckeditor5/src/ui.js';import _0x9a4cf6 from'../../../theme/icons/add-comment.svg';function _0x2e7b(){const _0x1e3365=['number','1469958uUqoyG','148147AzVkah','...','set','bindTemplate','6MNlJfp','27lTLLHs','isDirty','icon','6985649vuNHzM','add','counterView','2487300IDTDLQ','toString','annotationType','344856VkpyWV','span','ck-annotation-counter__badge--','extendTemplate','ck-annotation-counter__badge--edit-mode','children','12kwziNb','_badge','183376DRLdfD','3976890uXJWCW','ck-annotation-counter__badge','ck-annotation-counter','setTemplate','bind','3FTknbR'];_0x2e7b=function(){return _0x1e3365;};return _0x2e7b();}function _0x4104(_0x2043bd,_0x34a8b2){const _0x2e7bf2=_0x2e7b();return _0x4104=function(_0x410481,_0x28b863){_0x410481=_0x410481-0xe7;let _0xa6fc31=_0x2e7bf2[_0x410481];return _0xa6fc31;},_0x4104(_0x2043bd,_0x34a8b2);}export default class D extends _0xa4dc0e{constructor(_0x2d58f6){const _0x2e0150=_0x4104;super(_0x2d58f6);const _0x38b9f3=this[_0x2e0150(0xf3)];this[_0x2e0150(0xf2)](_0x2e0150(0xf6),!0x1),this[_0x2e0150(0xf2)](_0x2e0150(0xee),0x0),this[_0x2e0150(0xec)](_0x2e0150(0x105))['to'](this,_0x2e0150(0xf6),this,_0x2e0150(0xee),(_0x1c4f42,_0x4817c8)=>_0x1c4f42?_0x2e0150(0xf1):_0x4817c8[_0x2e0150(0xfc)]()),this[_0x2e0150(0xf2)](_0x2e0150(0xfd),''),this[_0x2e0150(0xf7)]=_0x9a4cf6,this[_0x2e0150(0x101)]({'attributes':{'class':[_0x2e0150(0xea)]}}),this[_0x2e0150(0xfa)]=new _0x40e12d(),this[_0x2e0150(0xfa)][_0x2e0150(0xeb)]({'tag':_0x2e0150(0xff),'attributes':{'class':[_0x2e0150(0xe9),_0x38b9f3['to'](_0x2e0150(0xfd),_0x5d1cdf=>_0x2e0150(0x100)+_0x5d1cdf),_0x38b9f3['if'](_0x2e0150(0xf6),_0x2e0150(0x102))]},'children':[{'text':_0x38b9f3['to'](_0x2e0150(0x105))}]}),this[_0x2e0150(0x103)][_0x2e0150(0xf9)](this[_0x2e0150(0xfa)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d9c98=_0x3704;function _0x1e1c(){const _0x42b1c2=['destroy','isActive','ck-rounded-corners','7986153sKgjas','content','Esc','fire','_updateHeight','2525580uLXMZD','height','clear','targetRect','element','set','listenTo','32TITbOC','ck-annotation-wrapper','setTemplate','bindTemplate','div','isDirty','keystrokes','length','clientHeight','39498mIVAYh','mainView','focusTracker','ck-annotation-wrapper--active','attach','focus','createCollection','render','add','5574204FxUJKF','266848IAXhIR','detach','612438nALTsV','type','_mutationObserver','119485irEKIt','100MInhCp'];_0x1e1c=function(){return _0x42b1c2;};return _0x1e1c();}(function(_0x54a9e8,_0x2e7aee){const _0x103420=_0x3704,_0x2649fa=_0x54a9e8();while(!![]){try{const _0xa3ab0c=parseInt(_0x103420(0x1e6))/0x1+-parseInt(_0x103420(0x1e8))/0x2+parseInt(_0x103420(0x205))/0x3*(-parseInt(_0x103420(0x1ec))/0x4)+parseInt(_0x103420(0x1eb))/0x5+parseInt(_0x103420(0x1e5))/0x6+parseInt(_0x103420(0x1f0))/0x7+parseInt(_0x103420(0x1fc))/0x8*(-parseInt(_0x103420(0x1f5))/0x9);if(_0xa3ab0c===_0x2e7aee)break;else _0x2649fa['push'](_0x2649fa['shift']());}catch(_0xa567e9){_0x2649fa['push'](_0x2649fa['shift']());}}}(_0x1e1c,0x932b9));import{View as _0x59f1e4}from'ckeditor5/src/ui.js';import{FocusTracker as _0x38eced,KeystrokeHandler as _0x2b491a,uid as _0x217138}from'ckeditor5/src/utils.js';import _0x27ac6f from'../../utils/createmutationobserver.js';function _0x3704(_0x3d23f7,_0x5aae69){const _0x1e1c38=_0x1e1c();return _0x3704=function(_0x3704d9,_0x32f1a3){_0x3704d9=_0x3704d9-0x1e2;let _0x5fbf24=_0x1e1c38[_0x3704d9];return _0x5fbf24;},_0x3704(_0x3d23f7,_0x5aae69);}import'../../../theme/annotation.css';export default class V extends _0x59f1e4{constructor(_0x31a314,_0x1c41c1){const _0x4605bb=_0x3704;super(_0x31a314),this['id']=_0x217138(),this[_0x4605bb(0x207)]=new _0x38eced(),this[_0x4605bb(0x202)]=new _0x2b491a(),this[_0x4605bb(0x202)][_0x4605bb(0x1fa)](_0x4605bb(0x1f2),(_0x540579,_0x3e2b4e)=>this[_0x4605bb(0x1f3)](_0x4605bb(0x1f2),_0x3e2b4e)),this[_0x4605bb(0x1fa)](_0x4605bb(0x1f8),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x4605bb(0x1fa)](_0x4605bb(0x1f6),0x0),this[_0x4605bb(0x1fa)](_0x4605bb(0x1ee),!0x1),this[_0x4605bb(0x1fa)](_0x4605bb(0x201),!0x1),this[_0x4605bb(0x1fa)](_0x4605bb(0x203),0x0),this[_0x4605bb(0x1fa)](_0x4605bb(0x1e9),''),this[_0x4605bb(0x1ea)]=_0x27ac6f(()=>this[_0x4605bb(0x1f4)]()),this[_0x4605bb(0x1f1)]=this[_0x4605bb(0x1e2)](),this[_0x4605bb(0x1f1)][_0x4605bb(0x1e4)](_0x1c41c1),this[_0x4605bb(0x206)]=_0x1c41c1;const _0x3b77ec=this[_0x4605bb(0x1ff)];this[_0x4605bb(0x1fe)]({'tag':_0x4605bb(0x200),'attributes':{'class':['ck',_0x4605bb(0x1fd),_0x4605bb(0x1ef),_0x3b77ec['if'](_0x4605bb(0x1ee),_0x4605bb(0x208))],'tabindex':-0x1},'children':this[_0x4605bb(0x1f1)]});}[_0x5d9c98(0x1e3)](){const _0x48e38e=_0x5d9c98;super[_0x48e38e(0x1e3)](),this[_0x48e38e(0x207)][_0x48e38e(0x1e4)](this[_0x48e38e(0x1f9)]),this[_0x48e38e(0x202)][_0x48e38e(0x1fb)](this[_0x48e38e(0x1f9)]),this[_0x48e38e(0x1ea)][_0x48e38e(0x209)](this[_0x48e38e(0x1f9)]);}[_0x5d9c98(0x1ed)](){const _0x5e3f60=_0x5d9c98;this[_0x5e3f60(0x1f1)][_0x5e3f60(0x1f7)](),this[_0x5e3f60(0x202)][_0x5e3f60(0x1ed)](),this[_0x5e3f60(0x207)][_0x5e3f60(0x1ed)](),this[_0x5e3f60(0x1ea)][_0x5e3f60(0x1e7)](),super[_0x5e3f60(0x1ed)]();}[_0x5d9c98(0x20a)](){const _0x4eedf5=_0x5d9c98;this[_0x4eedf5(0x1f9)][_0x4eedf5(0x20a)]();}[_0x5d9c98(0x1f4)](){const _0x17d100=_0x5d9c98,_0x47b9c7=this[_0x17d100(0x1f9)][_0x17d100(0x204)];_0x47b9c7&&(this[_0x17d100(0x1f6)]=_0x47b9c7);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9ca4e=_0x4d22;(function(_0x4b797c,_0x54d482){const _0x5add6f=_0x4d22,_0x3de791=_0x4b797c();while(!![]){try{const _0x41f7b6=-parseInt(_0x5add6f(0x103))/0x1+parseInt(_0x5add6f(0x105))/0x2*(-parseInt(_0x5add6f(0xf9))/0x3)+-parseInt(_0x5add6f(0xfe))/0x4*(-parseInt(_0x5add6f(0xf2))/0x5)+-parseInt(_0x5add6f(0x102))/0x6*(-parseInt(_0x5add6f(0xf8))/0x7)+parseInt(_0x5add6f(0xef))/0x8*(-parseInt(_0x5add6f(0xf5))/0x9)+-parseInt(_0x5add6f(0xf4))/0xa+parseInt(_0x5add6f(0xfd))/0xb;if(_0x41f7b6===_0x54d482)break;else _0x3de791['push'](_0x3de791['shift']());}catch(_0x1c8253){_0x3de791['push'](_0x3de791['shift']());}}}(_0xb92d,0xdd53a));import{View as _0x48e2c2}from'ckeditor5/src/ui.js';function _0xb92d(){const _0x1eec26=['height','31624YUzDNg','content','attach','5ZbNgPO','top','4817210ttRSpR','3924YsQTKo','set','bottom','2925181foWQxt','1262898OhHaUy','div','clientHeight','clear','30767649OWEXUg','6011504DfiFdN','updateHeight','element','ck-sidebar-item--no-animation','18PCUYcK','1599869sdBgxC','ck-sidebar-item','4Gzlgtk','_targetTop','createCollection','detach','bindTemplate','bind','render','isAnimationDisabled','destroy','setTemplate','_mutationObserver'];_0xb92d=function(){return _0x1eec26;};return _0xb92d();}function _0x4d22(_0x9ed45d,_0x294fe8){const _0xb92d59=_0xb92d();return _0x4d22=function(_0x4d226a,_0x35df36){_0x4d226a=_0x4d226a-0xeb;let _0x45c78d=_0xb92d59[_0x4d226a];return _0x45c78d;},_0x4d22(_0x9ed45d,_0x294fe8);}import{toUnit as _0x340799}from'ckeditor5/src/utils.js';import _0x290031 from'../../utils/createmutationobserver.js';const qt=_0x340799('px');export default class C extends _0x48e2c2{constructor(_0x2ad47a){const _0x238405=_0x4d22;super(_0x2ad47a),this[_0x238405(0xf6)](_0x238405(0xf3),0x0),this[_0x238405(0xf6)](_0x238405(0xee),0x0),this[_0x238405(0x10a)](_0x238405(0xf7))['to'](this,_0x238405(0xf3),this,_0x238405(0xee),(_0x319961,_0x59f69d)=>_0x319961+_0x59f69d),this[_0x238405(0xf6)](_0x238405(0x10c),!0x1),this[_0x238405(0xed)]=_0x290031(()=>this[_0x238405(0xff)]()),this[_0x238405(0x106)]=null,this[_0x238405(0xf0)]=this[_0x238405(0x107)]();const _0x347380=this[_0x238405(0x109)];this[_0x238405(0xec)]({'tag':_0x238405(0xfa),'attributes':{'class':[_0x238405(0x104),_0x347380['to'](_0x238405(0x10c),_0x5d45c0=>_0x5d45c0?_0x238405(0x101):'')],'style':{'top':_0x347380['to'](_0x238405(0xf3),_0x144210=>qt(_0x144210))}},'children':this[_0x238405(0xf0)]});}[_0x9ca4e(0x10b)](){const _0xdb7c73=_0x9ca4e;super[_0xdb7c73(0x10b)](),this[_0xdb7c73(0xed)][_0xdb7c73(0xf1)](this[_0xdb7c73(0x100)]);}[_0x9ca4e(0xff)](){const _0x1e6ce4=_0x9ca4e,_0x54a5e2=this[_0x1e6ce4(0x100)][_0x1e6ce4(0xfb)];_0x54a5e2&&(this[_0x1e6ce4(0xee)]=_0x54a5e2);}[_0x9ca4e(0xeb)](){const _0x574740=_0x9ca4e;this[_0x574740(0xf0)][_0x574740(0xfc)](),this[_0x574740(0xed)][_0x574740(0x108)](),super[_0x574740(0xeb)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x572385,_0x491d5f){const _0x4c9ec0=_0x157f,_0x49d443=_0x572385();while(!![]){try{const _0x5ebd0f=-parseInt(_0x4c9ec0(0x8f))/0x1*(parseInt(_0x4c9ec0(0x89))/0x2)+parseInt(_0x4c9ec0(0x88))/0x3+parseInt(_0x4c9ec0(0x95))/0x4*(parseInt(_0x4c9ec0(0x90))/0x5)+-parseInt(_0x4c9ec0(0x8d))/0x6+-parseInt(_0x4c9ec0(0x93))/0x7*(-parseInt(_0x4c9ec0(0x92))/0x8)+-parseInt(_0x4c9ec0(0x8e))/0x9*(parseInt(_0x4c9ec0(0x85))/0xa)+parseInt(_0x4c9ec0(0x91))/0xb;if(_0x5ebd0f===_0x491d5f)break;else _0x49d443['push'](_0x49d443['shift']());}catch(_0x18b96e){_0x49d443['push'](_0x49d443['shift']());}}}(_0x20b2,0xae534));import{View as _0x5543b9}from'ckeditor5/src/ui.js';import{toUnit as _0x2dbe78}from'ckeditor5/src/utils.js';function _0x157f(_0x3e6adc,_0x543f32){const _0x20b2bd=_0x20b2();return _0x157f=function(_0x157f70,_0xb2275b){_0x157f70=_0x157f70-0x82;let _0x1b7e5b=_0x20b2bd[_0x157f70];return _0x1b7e5b;},_0x157f(_0x3e6adc,_0x543f32);}import'../../../theme/sidebar.css';const qt=_0x2dbe78('px');function _0x20b2(){const _0x5e2426=['createCollection','ck-reset','2958636yFzGTL','721422mdmQhJ','1080614ndeelE','100FbftPF','2014430bKpSaj','216WpfVDb','298501tSNBTN','bindTemplate','148276urjwge','setTemplate','minHeight','div','ck-sidebar','set','140ADeNTU','number','list','4002291PnweMA','2SMVQeI','class'];_0x20b2=function(){return _0x5e2426;};return _0x20b2();}export default class T extends _0x5543b9{constructor(_0x28053f){const _0x39891b=_0x157f;super(_0x28053f);const _0x196901=this[_0x39891b(0x94)];this[_0x39891b(0x84)](_0x39891b(0x97),0x0),this[_0x39891b(0x84)](_0x39891b(0x8a),''),this[_0x39891b(0x87)]=this[_0x39891b(0x8b)](),this[_0x39891b(0x96)]({'tag':_0x39891b(0x82),'attributes':{'class':['ck',_0x39891b(0x83),_0x39891b(0x8c),_0x196901['to'](_0x39891b(0x8a))],'style':{'minHeight':_0x196901['to'](_0x39891b(0x97),_0x1fdc3c=>_0x39891b(0x86)==typeof _0x1fdc3c?qt(_0x1fdc3c+0xa):null)}},'children':this[_0x39891b(0x87)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5410aa=_0x8f74;(function(_0x42e4ab,_0xa3c6c0){const _0x599dea=_0x8f74,_0x33233e=_0x42e4ab();while(!![]){try{const _0xc9f69e=parseInt(_0x599dea(0x1af))/0x1+parseInt(_0x599dea(0x1b6))/0x2*(-parseInt(_0x599dea(0x1cc))/0x3)+parseInt(_0x599dea(0x1d1))/0x4+-parseInt(_0x599dea(0x1ba))/0x5+parseInt(_0x599dea(0x1d4))/0x6+parseInt(_0x599dea(0x1bf))/0x7+-parseInt(_0x599dea(0x1c1))/0x8;if(_0xc9f69e===_0xa3c6c0)break;else _0x33233e['push'](_0x33233e['shift']());}catch(_0x250021){_0x33233e['push'](_0x33233e['shift']());}}}(_0x47ae,0x21d47));function _0x47ae(){const _0x27b1a1=['editors','uiUpdate','set:container','_attachToContainer','_destroyEditorAnnotationsIntegration','isAttached','_integrateWithEditorAnnotations','requires','from','resize','_activeAnnotation','init','186455WUYVsu','addEventListener','ready','widesidebar-detach-not-attached','off','context','remove','558EGDEsM','attach','blur','switchTo','1066265QfMKrk','register','setActiveAnnotation','stopListening','WideSidebar','1660771cSUXQy','_editorAnnotations','1996936hXcAix','ck-sidebar--wide','wideSidebar','has','set','_refreshPositioningDebounced','high','EditorAnnotations','cancel','annotations','pluginName','1923pGCtAv','listenTo','container','refreshPositioning','_annotations','612824rqUbQP','activeAnnotation','add','1220172wUBTHo','focus','rearrange','plugins','change:container','updateTargetRect','stop','refresh','_detachFromContainer','removeEventListener','detach','getOrderedSelectedAnnotations','destroy','addAnnotation','get','widesidebar-attach-already-attached','hasDomSelection'];_0x47ae=function(){return _0x27b1a1;};return _0x47ae();}function _0x8f74(_0x4ae597,_0x34887d){const _0x47ae46=_0x47ae();return _0x8f74=function(_0x8f7469,_0x3bd028){_0x8f7469=_0x8f7469-0x198;let _0x51d2b2=_0x47ae46[_0x8f7469];return _0x51d2b2;},_0x8f74(_0x4ae597,_0x34887d);}import{ContextPlugin as _0x42e921,Context as _0x253900}from'ckeditor5/src/core.js';import _0x4e9372 from'./annotationsuis.js';import _0x4d6c5d from'./sidebar.js';import{CKEditorError as _0xea2d87,Collection as _0x1e6262}from'ckeditor5/src/utils.js';import{debounce as _0x5e67b2}from'lodash-es';import _0x4c41ba from'./editorannotations.js';export default class n extends _0x42e921{static get[_0x5410aa(0x1aa)](){return[_0x4d6c5d,_0x4e9372];}static get[_0x5410aa(0x1cb)](){const _0x29cf47=_0x5410aa;return _0x29cf47(0x1be);}constructor(_0x3625ab){const _0x560710=_0x5410aa;super(_0x3625ab),this[_0x560710(0x1a8)]=!0x1,this[_0x560710(0x1c5)](_0x560710(0x1d2),null),this[_0x560710(0x1ca)]=null,this[_0x560710(0x1c0)]=new _0x1e6262(),this[_0x560710(0x1c6)]=_0x5e67b2(()=>{const _0x306fda=_0x560710;this[_0x306fda(0x1ca)][_0x306fda(0x1cf)]();},0xfa,{'leading':!0x1});}[_0x5410aa(0x1ae)](){const _0x456c37=_0x5410aa,_0x58cf26=this[_0x456c37(0x1b4)][_0x456c37(0x1d7)][_0x456c37(0x1a0)](_0x4e9372),_0x1db71a=this[_0x456c37(0x1b4)][_0x456c37(0x1d7)][_0x456c37(0x1a0)](_0x4d6c5d);_0x58cf26[_0x456c37(0x1bb)](_0x456c37(0x1c3),this),_0x1db71a[_0x456c37(0x1ce)]&&_0x58cf26[_0x456c37(0x1b9)](_0x456c37(0x1c3));}[_0x5410aa(0x1bc)](_0x4fd154){const _0x4fbab1=_0x5410aa;if(_0x4fd154===this[_0x4fbab1(0x1d2)])return;const _0x4cb18c=this[_0x4fbab1(0x1b4)][_0x4fbab1(0x1d7)][_0x4fbab1(0x1a0)](_0x4d6c5d);_0x4cb18c[_0x4fbab1(0x1ad)]=_0x4fd154;const _0x3a9fe3=this[_0x4fbab1(0x1d2)];this[_0x4fbab1(0x1d2)]=_0x4fd154,_0x4cb18c[_0x4fbab1(0x199)]({'blurredAnnotation':_0x3a9fe3,'activatedAnnotation':this[_0x4fbab1(0x1d2)]});}[_0x5410aa(0x1b7)](_0x4078df){const _0x2950d4=_0x5410aa;this[_0x2950d4(0x1ca)]=_0x4078df;const _0xee073f=this[_0x2950d4(0x1b4)][_0x2950d4(0x1d7)][_0x2950d4(0x1a0)](_0x4d6c5d);if(_0xee073f[_0x2950d4(0x1d0)]=_0x4078df,this[_0x2950d4(0x1a8)])throw new _0xea2d87(_0x2950d4(0x1a1),this);this[_0x2950d4(0x1a8)]=!0x0,this[_0x2950d4(0x1cd)](_0xee073f,_0x2950d4(0x1a5),()=>{const _0x39f2cb=_0x2950d4;this[_0x39f2cb(0x19c)](),this[_0x39f2cb(0x1cd)](_0xee073f,_0x39f2cb(0x1d8),_0x365ddd=>{const _0x2fa246=_0x39f2cb;_0x365ddd[_0x2fa246(0x1b3)](),this[_0x2fa246(0x1b7)](_0x4078df);});}),_0xee073f[_0x2950d4(0x1a6)]({'viewClass':_0x2950d4(0x1c2)});const _0x788961=_0x4cfe1c=>{const _0x4309dc=_0x2950d4;_0x4cfe1c[_0x4309dc(0x1d9)](),_0xee073f[_0x4309dc(0x19f)](_0x4cfe1c);};for(const _0x193b82 of _0x4078df)_0x788961(_0x193b82);this[_0x2950d4(0x1cd)](_0x4078df,_0x2950d4(0x1d3),(_0x2d0f13,_0x3df40c)=>{_0x788961(_0x3df40c);}),this[_0x2950d4(0x1cd)](_0x4078df,_0x2950d4(0x1b5),(_0xb7644d,_0x271e9f,_0x584254)=>{const _0x160aad=_0x2950d4;_0xee073f[_0x160aad(0x1d6)]({'removedAnnotation':_0x271e9f,'previousAnnotation':_0x4078df[_0x160aad(0x1a0)](_0x584254-0x1),'nextAnnotation':_0x4078df[_0x160aad(0x1a0)](_0x584254+0x1)}),_0x271e9f===this[_0x160aad(0x1d2)]&&this[_0x160aad(0x1bc)](null);},{'priority':_0x2950d4(0x1c7)}),this[_0x2950d4(0x1cd)](_0x4078df,_0x2950d4(0x1d5),(_0x1d8743,_0x5732fa)=>{const _0x2ee861=_0x2950d4;this[_0x2ee861(0x1bc)](_0x5732fa);}),this[_0x2950d4(0x1cd)](_0x4078df,_0x2950d4(0x1b8),()=>{const _0x36ec5f=_0x2950d4;this[_0x36ec5f(0x1bc)](null);});const _0x31f6f7=this[_0x2950d4(0x1b4)]instanceof _0x253900?this[_0x2950d4(0x1b4)][_0x2950d4(0x1a3)]:new _0x1e6262([this[_0x2950d4(0x1b4)]]);for(const _0x185ddd of _0x31f6f7)this[_0x2950d4(0x1a9)](_0x185ddd);this[_0x2950d4(0x1cd)](_0x31f6f7,_0x2950d4(0x1d3),(_0x55c090,_0x597d8e)=>{const _0x23c1f0=_0x2950d4;this[_0x23c1f0(0x1cd)](_0x597d8e,_0x23c1f0(0x1b1),()=>{const _0x282f44=_0x23c1f0;this[_0x282f44(0x1a9)](_0x597d8e);});}),this[_0x2950d4(0x1cd)](_0x31f6f7,_0x2950d4(0x1b5),(_0x54fdbb,_0x5ca806)=>{const _0x231a8b=_0x2950d4;_0x5ca806[_0x231a8b(0x1d7)][_0x231a8b(0x1c4)](_0x231a8b(0x1c8))&&this[_0x231a8b(0x1a7)](_0x5ca806[_0x231a8b(0x1d7)][_0x231a8b(0x1a0)](_0x231a8b(0x1c8)));}),window[_0x2950d4(0x1b0)](_0x2950d4(0x1ac),this[_0x2950d4(0x1c6)]),this[_0x2950d4(0x1ca)][_0x2950d4(0x1cf)]();}[_0x5410aa(0x19c)](){const _0x1671de=_0x5410aa;if(!this[_0x1671de(0x1a8)])throw new _0xea2d87(_0x1671de(0x1b2),this);this[_0x1671de(0x1bc)](null);const _0x368281=this[_0x1671de(0x1b4)][_0x1671de(0x1d7)][_0x1671de(0x1a0)](_0x4d6c5d);_0x368281[_0x1671de(0x19a)](this[_0x1671de(0x1ca)]),this[_0x1671de(0x1bd)](_0x368281),this[_0x1671de(0x1bd)](this[_0x1671de(0x1ca)]),this[_0x1671de(0x1b4)]instanceof _0x253900&&this[_0x1671de(0x1bd)](this[_0x1671de(0x1b4)][_0x1671de(0x1a3)]);for(const _0x5c3836 of Array[_0x1671de(0x1ab)](this[_0x1671de(0x1c0)]))this[_0x1671de(0x1a7)](_0x5c3836);window[_0x1671de(0x19b)](_0x1671de(0x1ac),this[_0x1671de(0x1c6)]),this[_0x1671de(0x1c6)][_0x1671de(0x1c9)](),this[_0x1671de(0x1d2)]=null,this[_0x1671de(0x1a8)]=!0x1,this[_0x1671de(0x1ca)]=null;}[_0x5410aa(0x19e)](){const _0x25c40d=_0x5410aa;this[_0x25c40d(0x1a8)]&&this[_0x25c40d(0x19c)]();}[_0x5410aa(0x1a9)](_0x3cf393){const _0x3d616d=_0x5410aa,_0x9e979a=_0x3cf393[_0x3d616d(0x1d7)][_0x3d616d(0x1a0)](_0x4c41ba);if(!_0x9e979a)return;const _0xf36920=()=>{const _0x539006=_0x3d616d,_0x12acdf=_0x9e979a[_0x539006(0x19d)]({'annotations':this[_0x539006(0x1ca)],'activeAnnotation':this[_0x539006(0x1d2)]});this[_0x539006(0x1bc)](_0x12acdf[0x0]||null);};this[_0x3d616d(0x1cd)](_0x9e979a,_0x3d616d(0x199),_0xf36920),this[_0x3d616d(0x1cd)](_0x9e979a,_0x3d616d(0x1b8),(_0x520fb5,{isAnnotationTracked:_0x547335})=>{const _0x4ceece=_0x3d616d;this[_0x4ceece(0x1d2)]&&_0x547335(this[_0x4ceece(0x1d2)])&&this[_0x4ceece(0x1bc)](null);}),this[_0x3d616d(0x1cd)](_0x9e979a,_0x3d616d(0x1a4),()=>{const _0x35e17e=_0x3d616d;this[_0x35e17e(0x1c6)]();}),this[_0x3d616d(0x1cd)](this[_0x3d616d(0x1ca)],_0x3d616d(0x1b8),_0x2415e4=>{const _0x8e089e=_0x3d616d;_0x9e979a[_0x8e089e(0x1a2)]()&&(_0xf36920(),_0x2415e4[_0x8e089e(0x198)]());},{'priority':_0x3d616d(0x1c7)}),this[_0x3d616d(0x1c0)][_0x3d616d(0x1d3)](_0x9e979a);}[_0x5410aa(0x1a7)](_0x21b202){const _0x55d19a=_0x5410aa;this[_0x55d19a(0x1bd)](_0x21b202),this[_0x55d19a(0x1c0)][_0x55d19a(0x1b5)](_0x21b202);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x50b3(){const _0x2714ab=['7ZbpQbh','$textProxy','341916pQcaTE','backward','isObject','push','_itemIsContent','item','110iimkyA','_trimToContent','schema','12JXtrWK','start','12OEsCkT','getItems','27322165LxxaGG','substr','248910FLEFer','end','getRanges','5018981ZTfwpk','addMarker','refresh','63sbJtSf','tableCell','getLastMatchingPosition','4QKTkAF','document','comment:','isEnabled','7084NDMDyF','change','1172265nvtTKo','selection','execute','4318064oeTUcC','createRange','_hasContent','model','editor','element'];_0x50b3=function(){return _0x2714ab;};return _0x50b3();}const _0x6f184d=_0x4e40;function _0x4e40(_0x2d9252,_0x34f855){const _0x50b333=_0x50b3();return _0x4e40=function(_0x4e4066,_0xcb477e){_0x4e4066=_0x4e4066-0x1e4;let _0x417f6c=_0x50b333[_0x4e4066];return _0x417f6c;},_0x4e40(_0x2d9252,_0x34f855);}(function(_0x3be7ea,_0x199f9a){const _0xffee73=_0x4e40,_0x186c97=_0x3be7ea();while(!![]){try{const _0x2c3d3f=parseInt(_0xffee73(0x1ea))/0x1*(-parseInt(_0xffee73(0x200))/0x2)+parseInt(_0xffee73(0x1e4))/0x3*(-parseInt(_0xffee73(0x1fc))/0x4)+parseInt(_0xffee73(0x202))/0x5*(-parseInt(_0xffee73(0x1ed))/0x6)+-parseInt(_0xffee73(0x20b))/0x7*(parseInt(_0xffee73(0x205))/0x8)+parseInt(_0xffee73(0x1f9))/0x9*(parseInt(_0xffee73(0x1f3))/0xa)+-parseInt(_0xffee73(0x1f6))/0xb+parseInt(_0xffee73(0x1ef))/0xc*(parseInt(_0xffee73(0x1f1))/0xd);if(_0x2c3d3f===_0x199f9a)break;else _0x186c97['push'](_0x186c97['shift']());}catch(_0x2085f5){_0x186c97['push'](_0x186c97['shift']());}}}(_0x50b3,0x4b0d7));import{Command as _0x3e802f}from'ckeditor5/src/core.js';import{uid as _0x50db89}from'ckeditor5/src/utils.js';export default class G extends _0x3e802f{[_0x6f184d(0x1f8)](){const _0x3b382c=_0x6f184d,_0x7b89ad=this[_0x3b382c(0x209)][_0x3b382c(0x208)][_0x3b382c(0x1fd)][_0x3b382c(0x203)];for(const _0x44545f of _0x7b89ad[_0x3b382c(0x1f5)]())if(this[_0x3b382c(0x207)](_0x44545f))return void(this[_0x3b382c(0x1ff)]=!0x0);this[_0x3b382c(0x1ff)]=!0x1;}[_0x6f184d(0x204)]({threadId:_0x3afbc9=_0x50db89()}={}){const _0xba5a2e=_0x6f184d,_0x3e473b=this[_0xba5a2e(0x209)][_0xba5a2e(0x208)],_0x43f2a0=[];for(const _0x2382f1 of _0x3e473b[_0xba5a2e(0x1fd)][_0xba5a2e(0x203)][_0xba5a2e(0x1f5)]())this[_0xba5a2e(0x207)](_0x2382f1)&&_0x43f2a0[_0xba5a2e(0x1e7)](this[_0xba5a2e(0x1eb)](_0x2382f1));_0x3e473b[_0xba5a2e(0x201)](_0x2a0db4=>{const _0x1b1af7=_0xba5a2e;for(const _0x4fc397 of _0x43f2a0){const _0x51c8e5=_0x50db89()[_0x1b1af7(0x1f2)](0x1,0x5),_0x33e57d=_0x1b1af7(0x1fe)+_0x3afbc9+':'+_0x51c8e5;_0x2a0db4[_0x1b1af7(0x1f7)](_0x33e57d,{'range':_0x4fc397,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x6f184d(0x207)](_0x5ddd51){const _0x3db776=_0x6f184d;for(const _0x5b0f09 of _0x5ddd51[_0x3db776(0x1f0)]())if(this[_0x3db776(0x1e8)](_0x5b0f09))return!0x0;return!0x1;}[_0x6f184d(0x1e8)](_0x301d5e){const _0x57ce73=_0x6f184d;return _0x301d5e['is'](_0x57ce73(0x20c))||this[_0x57ce73(0x209)][_0x57ce73(0x208)][_0x57ce73(0x1ec)][_0x57ce73(0x1e6)](_0x301d5e)&&!_0x301d5e['is'](_0x57ce73(0x20a),_0x57ce73(0x1fa));}[_0x6f184d(0x1eb)](_0x2f7da1){const _0x3d8088=_0x6f184d,_0x5a02bc=_0x906a2=>!this[_0x3d8088(0x1e8)](_0x906a2[_0x3d8088(0x1e9)]),_0x475b31=_0x2f7da1[_0x3d8088(0x1ee)][_0x3d8088(0x1fb)](_0x5a02bc),_0x460aef=_0x2f7da1[_0x3d8088(0x1f4)][_0x3d8088(0x1fb)](_0x5a02bc,{'direction':_0x3d8088(0x1e5)});return this[_0x3d8088(0x209)][_0x3d8088(0x208)][_0x3d8088(0x206)](_0x475b31,_0x460aef);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44c373=_0x3f76;(function(_0x4f79d2,_0x5dee4b){const _0x4291bf=_0x3f76,_0x253185=_0x4f79d2();while(!![]){try{const _0x4c88e7=parseInt(_0x4291bf(0x135))/0x1*(parseInt(_0x4291bf(0x121))/0x2)+parseInt(_0x4291bf(0x119))/0x3+-parseInt(_0x4291bf(0x115))/0x4*(parseInt(_0x4291bf(0x11f))/0x5)+parseInt(_0x4291bf(0x12b))/0x6*(-parseInt(_0x4291bf(0x131))/0x7)+parseInt(_0x4291bf(0x123))/0x8+parseInt(_0x4291bf(0x11d))/0x9+parseInt(_0x4291bf(0x130))/0xa*(-parseInt(_0x4291bf(0x122))/0xb);if(_0x4c88e7===_0x5dee4b)break;else _0x253185['push'](_0x253185['shift']());}catch(_0xf2e112){_0x253185['push'](_0x253185['shift']());}}}(_0x3609,0x21efb));import{ContextPlugin as _0x548501}from'ckeditor5/src/core.js';import{Collection as _0x760ae4}from'ckeditor5/src/utils.js';import _0x2ccb63 from'./commentsrepository.js';function _0x3f76(_0x335045,_0x18a64a){const _0x3609f5=_0x3609();return _0x3f76=function(_0x3f7611,_0x465174){_0x3f7611=_0x3f7611-0x114;let _0x471694=_0x3609f5[_0x3f7611];return _0x471694;},_0x3f76(_0x335045,_0x18a64a);}import _0x1e8ba4 from'../annotations/annotations.js';function _0x3609(){const _0x507860=['has','focus','context','requires','archivedThreads','568338cOyatl','collection','remove','listenTo','_calculatePosition','344290rpWfbS','7KdWGgM','change:archivedAt','removeCommentThread','findIndex','607nuWtUt','plugins','CommentsArchive','pluginName','activate','37264GncMlV','get','length','stopListening','610092HyCIuZ','init','addCommentThread','isActive','2090565faKIrZ','highest','35ALCmpA','add','202WQbDxZ','143djzkHF','1996472sqdElf','getCommentThread','archivedAt'];_0x3609=function(){return _0x507860;};return _0x3609();}export default class p extends _0x548501{static get[_0x44c373(0x138)](){const _0xc44d0a=_0x44c373;return _0xc44d0a(0x137);}static get[_0x44c373(0x129)](){return[_0x2ccb63,_0x1e8ba4];}constructor(_0x2e0135){const _0x504895=_0x44c373;super(_0x2e0135),this[_0x504895(0x12a)]=new _0x760ae4();}[_0x44c373(0x11a)](){const _0x238667=_0x44c373,_0x351210=this[_0x238667(0x128)],_0x304af5=_0x351210[_0x238667(0x136)][_0x238667(0x116)](_0x2ccb63),_0x29119c=_0x351210[_0x238667(0x136)][_0x238667(0x116)](_0x1e8ba4);this[_0x238667(0x12e)](_0x304af5,_0x238667(0x11b),(_0x10469e,{threadId:_0x3d941b})=>{const _0x4650c2=_0x238667,_0x421cde=_0x304af5[_0x4650c2(0x124)](_0x3d941b);_0x421cde[_0x4650c2(0x125)]&&this[_0x4650c2(0x12a)][_0x4650c2(0x120)](_0x421cde,this[_0x4650c2(0x12f)](_0x421cde[_0x4650c2(0x125)])),this[_0x4650c2(0x12e)](_0x421cde,_0x4650c2(0x132),(_0x5a2d93,_0x314f18,_0x42393f)=>{const _0x267fb1=_0x4650c2;_0x42393f?this[_0x267fb1(0x12a)][_0x267fb1(0x126)](_0x421cde)||this[_0x267fb1(0x12a)][_0x267fb1(0x120)](_0x421cde,this[_0x267fb1(0x12f)](_0x421cde[_0x267fb1(0x125)])):this[_0x267fb1(0x12a)][_0x267fb1(0x126)](_0x421cde)&&this[_0x267fb1(0x12a)][_0x267fb1(0x12d)](_0x421cde);});}),this[_0x238667(0x12e)](_0x304af5,_0x238667(0x133),(_0x3e1e52,{threadId:_0xa3cd79})=>{const _0x2e3640=_0x238667,_0xbcc623=_0x304af5[_0x2e3640(0x124)](_0xa3cd79);this[_0x2e3640(0x118)](_0xbcc623),this[_0x2e3640(0x12a)][_0x2e3640(0x126)](_0xbcc623)&&this[_0x2e3640(0x12a)][_0x2e3640(0x12d)](_0xbcc623);},{'priority':_0x238667(0x11e)}),this[_0x238667(0x12e)](_0x29119c[_0x238667(0x12c)],_0x238667(0x127),(_0x1dac8d,_0x36d788)=>{const _0x35bf97=_0x238667;_0x36d788[_0x35bf97(0x11c)]=!0x0,_0x29119c[_0x35bf97(0x114)](_0x36d788);});}[_0x44c373(0x12f)](_0xd67ad7){const _0xac2919=_0x44c373,_0x32fa74=[...this[_0xac2919(0x12a)]][_0xac2919(0x134)](_0x4bc780=>_0x4bc780[_0xac2919(0x125)]<_0xd67ad7);return _0x32fa74>-0x1?_0x32fa74:this[_0xac2919(0x12a)][_0xac2919(0x117)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x664f(){const _0x5daf34=['panelView','_handleAnnotationFocusableElements','3245RcVerJ','add','ck-body','42350XAipAI','requires','commentsArchiveView','set','mainView','collection','25QUbUCJ','getByInnerView','channelId','commentsArchive','splice','_calculatePosition','ck-comments-archive-dropdown','archivedThreads','collaboration.channelId','change:isOpen','pluginName','config','length','1648031jLRyfV','extendTemplate','editor','push','211853jsXZPp','locale','listenTo','Annotations','18FSYqVl','2660340axUnOz','focusableElements','buttonView','CommentsRepository','innerView','filter','contains','position','children','view','_visibleAnnotations','find','remove','389716IcejMX','COMMENTS_ARCHIVE','496107QipTei','_createArchiveUIDropdown','_threadToController','annotationViews','4qjrZjl','508488VFyUvE','_pendingThreads','CommentsArchiveUI','indexOf','componentFactory','archivedAt','plugins','findIndex','stopListening','isVisible','get','focusTracker','init','classList'];_0x664f=function(){return _0x5daf34;};return _0x664f();}const _0x22f3d0=_0x2fb9;function _0x2fb9(_0x25a5a2,_0x3fc453){const _0x664f2=_0x664f();return _0x2fb9=function(_0x2fb9ff,_0x4ea68b){_0x2fb9ff=_0x2fb9ff-0x16c;let _0x5d9eaf=_0x664f2[_0x2fb9ff];return _0x5d9eaf;},_0x2fb9(_0x25a5a2,_0x3fc453);}(function(_0x25442f,_0x3c0893){const _0x434860=_0x2fb9,_0x135011=_0x25442f();while(!![]){try{const _0x330958=parseInt(_0x434860(0x194))/0x1+parseInt(_0x434860(0x1ac))/0x2*(parseInt(_0x434860(0x1a8))/0x3)+parseInt(_0x434860(0x1a6))/0x4*(parseInt(_0x434860(0x183))/0x5)+parseInt(_0x434860(0x199))/0x6+parseInt(_0x434860(0x190))/0x7+parseInt(_0x434860(0x1ad))/0x8*(-parseInt(_0x434860(0x198))/0x9)+-parseInt(_0x434860(0x17d))/0xa*(parseInt(_0x434860(0x17a))/0xb);if(_0x330958===_0x3c0893)break;else _0x135011['push'](_0x135011['shift']());}catch(_0x39ae39){_0x135011['push'](_0x135011['shift']());}}}(_0x664f,0x51150));import'../../theme/commentsarchive.css';import{Plugin as _0x3a47a1}from'ckeditor5/src/core.js';import{createDropdown as _0x452d2c,ViewCollection as _0x5dc4c9}from'ckeditor5/src/ui.js';import _0x42c426 from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x241f69}from'../utils/common-translations.js';import _0x5c04cc from'./ui/view/commentsarchiveview.js';import _0x55c14d from'./commentsarchive.js';export default class a extends _0x3a47a1{static get[_0x22f3d0(0x18d)](){const _0x2bd0d2=_0x22f3d0;return _0x2bd0d2(0x16c);}static get[_0x22f3d0(0x17e)](){return[_0x55c14d];}constructor(_0x512f7f){const _0x58bd32=_0x22f3d0;super(_0x512f7f),this[_0x58bd32(0x1ab)]=new _0x5dc4c9(),this[_0x58bd32(0x1ae)]=[];}[_0x22f3d0(0x176)](){const _0x26596b=_0x22f3d0;this[_0x26596b(0x192)]['ui'][_0x26596b(0x16e)][_0x26596b(0x17b)](_0x26596b(0x186),()=>this[_0x26596b(0x1a9)]());const _0x1b760c=this[_0x26596b(0x192)][_0x26596b(0x170)][_0x26596b(0x174)](_0x55c14d),_0x5eec3e=this[_0x26596b(0x192)][_0x26596b(0x170)][_0x26596b(0x174)](_0x26596b(0x197)),_0x4492c8=this[_0x26596b(0x192)][_0x26596b(0x170)][_0x26596b(0x174)](_0x26596b(0x19c));this[_0x26596b(0x196)](_0x1b760c[_0x26596b(0x18a)],_0x26596b(0x17b),(_0x3a4e5c,_0x6694de)=>{const _0x336161=_0x26596b,_0x59efb=this[_0x336161(0x192)][_0x336161(0x18e)][_0x336161(0x174)](_0x336161(0x18b));if(!_0x59efb||_0x6694de[_0x336161(0x185)]===_0x59efb){const _0x2ced4d=this[_0x336161(0x188)](_0x6694de[_0x336161(0x16f)]),_0x1048f7=_0x4492c8[_0x336161(0x1aa)][_0x336161(0x174)](_0x6694de);if(!_0x1048f7)return void this[_0x336161(0x1ae)][_0x336161(0x193)]({'thread':_0x6694de,'position':_0x2ced4d});const _0x4ab901=_0x5eec3e[_0x336161(0x184)](_0x1048f7[_0x336161(0x1a2)]);_0x4ab901[_0x336161(0x173)]&&_0x5eec3e[_0x336161(0x1a3)][_0x336161(0x1a5)](_0x4ab901),this[_0x336161(0x1ab)][_0x336161(0x17b)](_0x4ab901[_0x336161(0x1a2)],_0x2ced4d);}}),this[_0x26596b(0x196)](_0x5eec3e[_0x26596b(0x182)],_0x26596b(0x17b),(_0x1ef69a,_0x21a046)=>{const _0x5531ec=_0x26596b,_0x1bc8c9=this[_0x5531ec(0x1ae)][_0x5531ec(0x1a4)](({thread:_0x333047})=>{const _0x5e8395=_0x5531ec,_0x24fdf3=_0x4492c8[_0x5e8395(0x1aa)][_0x5e8395(0x174)](_0x333047);return _0x24fdf3&&_0x21a046[_0x5e8395(0x19d)]===_0x24fdf3[_0x5e8395(0x1a2)];});_0x1bc8c9&&(this[_0x5531ec(0x1ab)][_0x5531ec(0x17b)](_0x21a046[_0x5531ec(0x1a2)],_0x1bc8c9[_0x5531ec(0x1a0)]),this[_0x5531ec(0x1ae)][_0x5531ec(0x187)](this[_0x5531ec(0x1ae)][_0x5531ec(0x16d)](_0x1bc8c9),0x1));}),this[_0x26596b(0x196)](_0x1b760c[_0x26596b(0x18a)],_0x26596b(0x1a5),(_0x29d42a,_0x25c05f)=>{const _0x380807=_0x26596b,_0xb5e96e=this[_0x380807(0x192)][_0x380807(0x18e)][_0x380807(0x174)](_0x380807(0x18b));if(!_0xb5e96e||_0x25c05f[_0x380807(0x185)]===_0xb5e96e){const _0x305ccf=_0x4492c8[_0x380807(0x1aa)][_0x380807(0x174)](_0x25c05f),_0x1085c3=_0x5eec3e[_0x380807(0x184)](_0x305ccf[_0x380807(0x1a2)]);this[_0x380807(0x1ab)][_0x380807(0x1a5)](_0x1085c3[_0x380807(0x1a2)]),this[_0x380807(0x172)](_0x1085c3[_0x380807(0x19a)]);}});}[_0x22f3d0(0x179)](_0x109fe3,_0x5d6599){const _0x42d47d=_0x22f3d0;for(const _0x1eeb30 of _0x5d6599[_0x42d47d(0x19a)])_0x1eeb30[_0x42d47d(0x177)][_0x42d47d(0x19f)](_0x42d47d(0x17c))&&_0x109fe3[_0x42d47d(0x175)][_0x42d47d(0x17b)](_0x1eeb30);this[_0x42d47d(0x196)](_0x5d6599[_0x42d47d(0x19a)],_0x42d47d(0x17b),(_0xfee266,_0x31986c)=>{const _0x2bfcca=_0x42d47d;_0x31986c[_0x2bfcca(0x177)][_0x2bfcca(0x19f)](_0x2bfcca(0x17c))&&_0x109fe3[_0x2bfcca(0x175)][_0x2bfcca(0x17b)](_0x31986c);}),this[_0x42d47d(0x196)](_0x5d6599[_0x42d47d(0x19a)],_0x42d47d(0x1a5),(_0x4cb859,_0x36a75d)=>{const _0x234457=_0x42d47d;_0x36a75d[_0x234457(0x177)][_0x234457(0x19f)](_0x234457(0x17c))&&_0x109fe3[_0x234457(0x175)][_0x234457(0x1a5)](_0x36a75d);});}[_0x22f3d0(0x188)](_0x32536f){const _0x4e689d=_0x22f3d0,_0x23ce46=this[_0x4e689d(0x192)][_0x4e689d(0x18e)][_0x4e689d(0x174)](_0x4e689d(0x18b)),_0xc16f3=[...this[_0x4e689d(0x192)][_0x4e689d(0x170)][_0x4e689d(0x174)](_0x55c14d)[_0x4e689d(0x18a)]][_0x4e689d(0x19e)](_0x319168=>_0x319168[_0x4e689d(0x185)]===_0x23ce46)[_0x4e689d(0x171)](_0x5088ec=>_0x5088ec[_0x4e689d(0x16f)]<_0x32536f);return _0xc16f3>-0x1?_0xc16f3-0x1:this[_0x4e689d(0x1ab)][_0x4e689d(0x18f)];}[_0x22f3d0(0x1a9)](){const _0x4eed84=_0x22f3d0,_0x4c9192=this[_0x4eed84(0x192)],_0x2ed924=this[_0x4eed84(0x192)][_0x4eed84(0x170)][_0x4eed84(0x174)](_0x4eed84(0x197)),_0x7c46d6=_0x452d2c(_0x4c9192[_0x4eed84(0x195)]);_0x7c46d6[_0x4eed84(0x19b)][_0x4eed84(0x180)]({'icon':_0x42c426,'label':_0x241f69(_0x4c9192[_0x4eed84(0x195)],_0x4eed84(0x1a7)),'tooltip':!0x0}),_0x7c46d6[_0x4eed84(0x178)][_0x4eed84(0x191)]({'attributes':{'class':_0x4eed84(0x189)}}),_0x7c46d6['on'](_0x4eed84(0x18c),(_0x101126,_0x57f8d1,_0x11fa24)=>{const _0x5d11ac=_0x4eed84;this[_0x5d11ac(0x17f)]||(this[_0x5d11ac(0x17f)]=new _0x5c04cc(_0x4c9192[_0x5d11ac(0x195)],this[_0x5d11ac(0x1ab)])),_0x11fa24?_0x7c46d6[_0x5d11ac(0x178)][_0x5d11ac(0x1a1)][_0x5d11ac(0x17b)](this[_0x5d11ac(0x17f)]):_0x7c46d6[_0x5d11ac(0x178)][_0x5d11ac(0x1a1)][_0x5d11ac(0x1a5)](this[_0x5d11ac(0x17f)]);});for(const _0x4c4906 of this[_0x4eed84(0x1ab)]){const _0x15b464=_0x2ed924[_0x4eed84(0x184)](_0x4c4906[_0x4eed84(0x181)]);this[_0x4eed84(0x179)](_0x7c46d6,_0x15b464);}return _0x7c46d6[_0x4eed84(0x196)](this[_0x4eed84(0x1ab)],_0x4eed84(0x17b),(_0x25a97a,_0x1bd732)=>{const _0xf7a4df=_0x4eed84,_0x115a46=_0x2ed924[_0xf7a4df(0x184)](_0x1bd732[_0xf7a4df(0x181)]);this[_0xf7a4df(0x179)](_0x7c46d6,_0x115a46);}),_0x7c46d6[_0x4eed84(0x196)](this[_0x4eed84(0x1ab)],_0x4eed84(0x1a5),(_0xdbe49,_0x59b2e)=>{const _0x3f12ef=_0x4eed84,_0x178f80=_0x2ed924[_0x3f12ef(0x184)](_0x59b2e[_0x3f12ef(0x181)]);for(const _0x1a5a71 of _0x178f80[_0x3f12ef(0x19a)])_0x1a5a71[_0x3f12ef(0x177)][_0x3f12ef(0x19f)](_0x3f12ef(0x17c))&&_0x7c46d6[_0x3f12ef(0x175)][_0x3f12ef(0x1a5)](_0x1a5a71);}),_0x7c46d6;}}
|