@ckeditor/ckeditor5-comments 42.0.1-alpha.2 → 42.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5e88a5=_0x5548;(function(_0x34266f,_0x1fa72f){const _0xf74d5d=_0x5548,_0x916e02=_0x34266f();while(!![]){try{const _0xd81663=parseInt(_0xf74d5d(0x204))/0x1+-parseInt(_0xf74d5d(0x214))/0x2*(parseInt(_0xf74d5d(0x1cd))/0x3)+-parseInt(_0xf74d5d(0x1be))/0x4*(parseInt(_0xf74d5d(0x209))/0x5)+-parseInt(_0xf74d5d(0x1e2))/0x6*(-parseInt(_0xf74d5d(0x20f))/0x7)+-parseInt(_0xf74d5d(0x1ea))/0x8+-parseInt(_0xf74d5d(0x1db))/0x9+parseInt(_0xf74d5d(0x1c6))/0xa*(parseInt(_0xf74d5d(0x1c2))/0xb);if(_0xd81663===_0x1fa72f)break;else _0x916e02['push'](_0x916e02['shift']());}catch(_0x5016fc){_0x916e02['push'](_0x916e02['shift']());}}}(_0x29d2,0xc6dc7));function _0x5548(_0x50f9b8,_0x1a2430){const _0x29d2d4=_0x29d2();return _0x5548=function(_0x5548d6,_0x40efc4){_0x5548d6=_0x5548d6-0x1be;let _0x57b831=_0x29d2d4[_0x5548d6];return _0x57b831;},_0x5548(_0x50f9b8,_0x1a2430);}import{Plugin as _0x32422a}from'ckeditor5/src/core.js';import _0x2bed36 from'./annotationsuis.js';import _0x14e93b from'./editorannotations.js';import{ContextualBalloon as _0x164218}from'ckeditor5/src/ui.js';import{MouseObserver as _0xa2a800}from'ckeditor5/src/engine.js';function _0x29d2(){const _0x4c14ef=['activeAnnotation','change:visibleView','showStack','updatePosition','selection','set','getFirstRange','inline','target','map','367185MJXYxA','right','has','change:isFocused','viewRangeToDom','115AvRQqb','top','switchTo','inlineannotations-attach-already-attached','targetRect','push','7792806SANklg','isAttached','addObserver','focusTracker','_getBalloonTargetForAnnotation','964mFJczS','_forceRefresh','view','_manuallyClosed','includes','_removeAnnotationFromBalloon','afterInit','Esc','fromRect','_balloon','InlineAnnotations','getOrderedSelectedAnnotations','13108fCzPwq','update','clear','_addAnnotationToBalloon','22USSoRq','width','length','register','5352740nDdzUF','refresh','_addedAnnotations','detach','left','hasView','mousedown','3903xEivle','setActiveAnnotation','collapse','plugins','find','isFocused','getClientRects','domConverter','stopListening','requires','destroy','inlineannotations-detach-not-attached','remove','blur','573957cghwuG','_setSelectedAnnotations','add','editableElement','document','getBoundingClientRect','context','6DNUiCI','getByView','editing','pluginName','listenTo','focus','isActive','from','7761840jYsmPA','_closeAnnotation','hasActive','visibleView','attach','_selectedAnnotations','every','annotations','get','keystrokes','delete','bottom','init','change:height','editor','inlineannotations-not-allowed-with-context'];_0x29d2=function(){return _0x4c14ef;};return _0x29d2();}import{CKEditorError as _0x4ed8fa,Rect as _0x30b048}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x32422a{static get[_0x5e88a5(0x1d6)](){return[_0x14e93b,_0x164218,_0x2bed36];}static get[_0x5e88a5(0x1e5)](){const _0x2da4b0=_0x5e88a5;return _0x2da4b0(0x21e);}constructor(_0x43af03){const _0x951912=_0x5e88a5;super(_0x43af03),_0x43af03[_0x951912(0x1e4)][_0x951912(0x216)][_0x951912(0x211)](_0xa2a800),this[_0x951912(0x210)]=!0x1,this[_0x951912(0x1ff)](_0x951912(0x1fa),null),this[_0x951912(0x1f1)]=null,this[_0x951912(0x217)]=new Set(),this[_0x951912(0x21d)]=_0x43af03[_0x951912(0x1d0)][_0x951912(0x1f2)](_0x164218),this[_0x951912(0x1c8)]=new Set(),this[_0x951912(0x1ef)]=[],this[_0x951912(0x215)]=!0x1;}[_0x5e88a5(0x1f6)](){const _0x455c7d=_0x5e88a5,_0x14f02e=this[_0x455c7d(0x1f8)][_0x455c7d(0x1d0)][_0x455c7d(0x1f2)](_0x2bed36);_0x14f02e[_0x455c7d(0x1e1)]===this[_0x455c7d(0x1f8)]&&(_0x14f02e[_0x455c7d(0x1c5)](_0x455c7d(0x201),this),this[_0x455c7d(0x1f8)][_0x455c7d(0x1f3)][_0x455c7d(0x1ff)](_0x455c7d(0x21b),(_0x45f4ef,_0x54158e)=>{const _0x13e004=_0x455c7d,_0x2c982e=this[_0x13e004(0x21d)];if(this[_0x13e004(0x210)]&&_0x2c982e[_0x13e004(0x1ed)]){const _0x59745e=this[_0x13e004(0x1f1)][_0x13e004(0x1e3)](_0x2c982e[_0x13e004(0x1ed)]);_0x59745e&&this[_0x13e004(0x1eb)](_0x59745e),_0x54158e();}}));}[_0x5e88a5(0x21a)](){const _0x161c5e=_0x5e88a5,_0x121743=this[_0x161c5e(0x1f8)][_0x161c5e(0x1d0)][_0x161c5e(0x1f2)](_0x2bed36);_0x121743[_0x161c5e(0x1e1)]===this[_0x161c5e(0x1f8)]&&(_0x121743[_0x161c5e(0x1ec)]()||_0x121743[_0x161c5e(0x20b)](_0x161c5e(0x201)));}[_0x5e88a5(0x1ce)](_0x23127a){const _0x224e74=_0x5e88a5;_0x23127a!==this[_0x224e74(0x1fa)]&&(this[_0x224e74(0x1fa)]&&(this[_0x224e74(0x1fa)][_0x224e74(0x1e8)]=!0x1),_0x23127a&&this[_0x224e74(0x1f8)]['ui'][_0x224e74(0x212)][_0x224e74(0x1d2)]&&(this[_0x224e74(0x1f1)][_0x224e74(0x206)](_0x23127a)&&this[_0x224e74(0x1c1)](_0x23127a,!0x0),_0x23127a[_0x224e74(0x1e8)]=!0x0),_0x23127a||this[_0x224e74(0x1dc)]([]),this[_0x224e74(0x1fa)]=_0x23127a);}[_0x5e88a5(0x1ee)](_0x11fb17){const _0x189cdf=_0x5e88a5;this[_0x189cdf(0x1f1)]=_0x11fb17;const _0x3f842b=this[_0x189cdf(0x1f8)][_0x189cdf(0x1d0)][_0x189cdf(0x1f2)](_0x2bed36),_0x171a77=this[_0x189cdf(0x21d)];if(this[_0x189cdf(0x210)])throw new _0x4ed8fa(_0x189cdf(0x20c),this);if(_0x3f842b[_0x189cdf(0x1e1)]!==this[_0x189cdf(0x1f8)])throw new _0x4ed8fa(_0x189cdf(0x1f9),this);const _0x54ee2b=this[_0x189cdf(0x1f8)][_0x189cdf(0x1d0)][_0x189cdf(0x1f2)](_0x14e93b);this[_0x189cdf(0x1e6)](_0x54ee2b,_0x189cdf(0x1c7),()=>{const _0x3c7d80=_0x189cdf,_0x33316b=_0x54ee2b[_0x3c7d80(0x21f)]({'annotations':this[_0x3c7d80(0x1f1)],'activeAnnotation':this[_0x3c7d80(0x1fa)]});var _0x412fc7,_0x5c90ca;!this[_0x3c7d80(0x215)]&&(_0x412fc7=_0x33316b,_0x5c90ca=this[_0x3c7d80(0x1ef)],_0x412fc7[_0x3c7d80(0x1c4)]===_0x5c90ca[_0x3c7d80(0x1c4)]&&_0x412fc7[_0x3c7d80(0x1f0)](_0x3102a4=>_0x5c90ca[_0x3c7d80(0x218)](_0x3102a4)))||(this[_0x3c7d80(0x215)]=!0x1,this[_0x3c7d80(0x1dc)](_0x33316b),this[_0x3c7d80(0x1ce)](_0x33316b[0x0]||null));}),this[_0x189cdf(0x1e6)](_0x54ee2b,_0x189cdf(0x1da),(_0x4620b8,{isAnnotationTracked:_0x17b615})=>{const _0x53a693=_0x189cdf;this[_0x53a693(0x1fa)]&&_0x17b615(this[_0x53a693(0x1fa)])&&(this[_0x53a693(0x1dc)]([]),this[_0x53a693(0x1ce)](null));}),this[_0x189cdf(0x1e6)](this[_0x189cdf(0x1f8)]['ui'][_0x189cdf(0x212)],_0x189cdf(0x207),(_0x13eb60,_0x3a4a94,_0x3a8e04)=>{const _0x5a0d1d=_0x189cdf;_0x3a8e04||this[_0x5a0d1d(0x1ce)](null);}),this[_0x189cdf(0x1e6)](_0x11fb17,_0x189cdf(0x1d9),(_0x1d5ef4,_0x59fbfe)=>{const _0x421c3b=_0x189cdf;this[_0x421c3b(0x219)](_0x59fbfe),_0x59fbfe===this[_0x421c3b(0x1fa)]&&this[_0x421c3b(0x1ce)](null);}),this[_0x189cdf(0x1e6)](_0x171a77,_0x189cdf(0x1fb),(_0x17b0c7,_0x4056c6,_0x42c0e4,_0x184778)=>{const _0x3c1ad5=_0x189cdf;_0x184778&&this[_0x3c1ad5(0x1d5)](_0x184778);const _0x4c34b7=_0x11fb17[_0x3c1ad5(0x1e3)](_0x42c0e4);_0x42c0e4&&_0x4c34b7&&(this[_0x3c1ad5(0x1e6)](_0x42c0e4,_0x3c1ad5(0x1f7),()=>{const _0x4db96b=_0x3c1ad5;_0x171a77[_0x4db96b(0x1fd)]();}),this[_0x3c1ad5(0x1e6)](_0x42c0e4,_0x3c1ad5(0x21b),()=>{const _0x10ebba=_0x3c1ad5;this[_0x10ebba(0x1eb)](_0x4c34b7),this[_0x10ebba(0x1f8)][_0x10ebba(0x1e4)][_0x10ebba(0x216)][_0x10ebba(0x1e7)]();}),this[_0x3c1ad5(0x1fa)]!==_0x4c34b7&&this[_0x3c1ad5(0x1ce)](_0x4c34b7));}),this[_0x189cdf(0x1e6)](this[_0x189cdf(0x1f8)]['ui'],_0x189cdf(0x1bf),()=>{const _0x5602a4=_0x189cdf;_0x171a77[_0x5602a4(0x1ed)]&&(_0x11fb17[_0x5602a4(0x1e3)](_0x171a77[_0x5602a4(0x1ed)])&&_0x171a77[_0x5602a4(0x1fd)]());}),this[_0x189cdf(0x1e6)](this[_0x189cdf(0x1f8)][_0x189cdf(0x1e4)][_0x189cdf(0x216)][_0x189cdf(0x1df)],_0x189cdf(0x1cc),()=>{const _0x30101e=_0x189cdf;this[_0x30101e(0x215)]=!0x0,this[_0x30101e(0x217)][_0x30101e(0x1c0)]();}),this[_0x189cdf(0x1f8)][_0x189cdf(0x1e4)][_0x189cdf(0x216)][_0x189cdf(0x1df)][_0x189cdf(0x1fe)][_0x189cdf(0x1de)]&&this[_0x189cdf(0x1f8)][_0x189cdf(0x1e4)][_0x189cdf(0x216)][_0x189cdf(0x1e7)](),this[_0x189cdf(0x210)]=!0x0;}[_0x5e88a5(0x1c9)](){const _0x1efdc1=_0x5e88a5;if(!this[_0x1efdc1(0x210)])throw new _0x4ed8fa(_0x1efdc1(0x1d8),this);this[_0x1efdc1(0x1ce)](null);for(const _0x3a2786 of this[_0x1efdc1(0x1c8)])this[_0x1efdc1(0x219)](_0x3a2786);this[_0x1efdc1(0x1d5)](),this[_0x1efdc1(0x210)]=!0x1,this[_0x1efdc1(0x1f1)]=null;}[_0x5e88a5(0x1d7)](){const _0x52c95d=_0x5e88a5;this[_0x52c95d(0x210)]&&this[_0x52c95d(0x1c9)]();}[_0x5e88a5(0x1dc)](_0x34a350){const _0x19c960=_0x5e88a5;for(const _0x356c23 of this[_0x19c960(0x1ef)])_0x34a350[_0x19c960(0x218)](_0x356c23)||this[_0x19c960(0x217)][_0x19c960(0x1f4)](_0x356c23);for(const _0x400bd8 of this[_0x19c960(0x1f1)])_0x34a350[_0x19c960(0x218)](_0x400bd8)||this[_0x19c960(0x219)](_0x400bd8);if(this[_0x19c960(0x1f8)]['ui'][_0x19c960(0x212)][_0x19c960(0x1d2)]){for(const _0x4087d5 of _0x34a350)this[_0x19c960(0x1c1)](_0x4087d5);}this[_0x19c960(0x1ef)]=_0x34a350;}[_0x5e88a5(0x1c1)](_0x258ba1,_0x51cf0=!0x1){const _0x293a93=_0x5e88a5;this[_0x293a93(0x217)][_0x293a93(0x206)](_0x258ba1)||(this[_0x293a93(0x1c8)][_0x293a93(0x206)](_0x258ba1)||this[_0x293a93(0x21d)][_0x293a93(0x1cb)](_0x258ba1[_0x293a93(0x216)])||(this[_0x293a93(0x1c8)][_0x293a93(0x1dd)](_0x258ba1),this[_0x293a93(0x21d)][_0x293a93(0x1dd)]({'stackId':_0x258ba1[_0x293a93(0x216)]['id'],'view':_0x258ba1[_0x293a93(0x216)],'position':{'target':()=>this[_0x293a93(0x213)](_0x258ba1)}})),_0x51cf0&&this[_0x293a93(0x21d)][_0x293a93(0x1fc)](_0x258ba1[_0x293a93(0x216)]['id']));}[_0x5e88a5(0x213)](_0x3be699){const _0x5ee1c7=_0x5e88a5,_0x29aa17=_0x3be699[_0x5ee1c7(0x202)],_0x37fc8a=this[_0x5ee1c7(0x1f8)][_0x5ee1c7(0x1e4)][_0x5ee1c7(0x216)],_0x1bf3eb=_0x37fc8a[_0x5ee1c7(0x1df)][_0x5ee1c7(0x1fe)][_0x5ee1c7(0x200)](),_0x3ee863=_0x37fc8a[_0x5ee1c7(0x1d4)][_0x5ee1c7(0x208)](_0x1bf3eb);if(_0x3ee863[_0x5ee1c7(0x1cf)](!0x0),_0x29aa17){if(_0x29aa17 instanceof _0x30b048)return _0x29aa17;let _0x17312f=[];for(const _0x4710a1 of _0x29aa17)_0x17312f[_0x5ee1c7(0x20e)](...(_0x20651b=_0x4710a1[_0x5ee1c7(0x1d3)](),Array[_0x5ee1c7(0x1e9)](_0x20651b)[_0x5ee1c7(0x203)](DOMRect[_0x5ee1c7(0x21c)])));_0x17312f=function(_0x32d7f1){const _0x29f04a=_0x5ee1c7,_0x32f326=[];let _0x58624d=_0x32d7f1[0x0];for(let _0x4370e7=0x1;_0x4370e7<_0x32d7f1[_0x29f04a(0x1c4)];_0x4370e7++)F(_0x58624d,_0x32d7f1[_0x4370e7])?_0x58624d[_0x29f04a(0x1c3)]+=_0x32d7f1[_0x4370e7][_0x29f04a(0x1c3)]:(_0x32f326[_0x29f04a(0x20e)](_0x58624d),_0x58624d=_0x32d7f1[_0x4370e7]);return _0x32f326[_0x29f04a(0x20e)](_0x58624d),_0x32f326;}(_0x17312f);const _0x2090b1=_0x3ee863[_0x5ee1c7(0x1e0)]();return _0x17312f[_0x5ee1c7(0x1d1)](_0x1bc240=>_0x1bc240[_0x5ee1c7(0x20a)]<=_0x2090b1[_0x5ee1c7(0x20a)]&&_0x1bc240[_0x5ee1c7(0x1f5)]>=_0x2090b1[_0x5ee1c7(0x1f5)]&&_0x1bc240[_0x5ee1c7(0x1ca)]<=_0x2090b1[_0x5ee1c7(0x1ca)]&&_0x1bc240[_0x5ee1c7(0x205)]>=_0x2090b1[_0x5ee1c7(0x205)])||_0x17312f[0x0];}var _0x20651b;return _0x3be699[_0x5ee1c7(0x20d)]||_0x3ee863;}[_0x5e88a5(0x219)](_0x4d2634){const _0x39691f=_0x5e88a5;this[_0x39691f(0x1c8)][_0x39691f(0x206)](_0x4d2634)&&this[_0x39691f(0x21d)][_0x39691f(0x1cb)](_0x4d2634[_0x39691f(0x216)])&&(this[_0x39691f(0x1c8)][_0x39691f(0x1f4)](_0x4d2634),this[_0x39691f(0x21d)][_0x39691f(0x1d9)](_0x4d2634[_0x39691f(0x216)]));}[_0x5e88a5(0x1eb)](_0x58de2b){const _0x4f17ed=_0x5e88a5;this[_0x4f17ed(0x217)][_0x4f17ed(0x1dd)](_0x58de2b),this[_0x4f17ed(0x219)](_0x58de2b);}}function F(_0x3323e1,_0x559052){const _0x3019ba=_0x5e88a5;return _0x3323e1[_0x3019ba(0x20a)]===_0x559052[_0x3019ba(0x20a)]&&_0x3323e1[_0x3019ba(0x1f5)]===_0x559052[_0x3019ba(0x1f5)]&&_0x3323e1[_0x3019ba(0x205)]===_0x559052[_0x3019ba(0x1ca)];}
|
|
23
|
+
const _0x507347=_0x47ec;(function(_0x1b5914,_0x5e209b){const _0x5263bf=_0x47ec,_0x3b5e86=_0x1b5914();while(!![]){try{const _0x9608b5=-parseInt(_0x5263bf(0x139))/0x1*(parseInt(_0x5263bf(0x123))/0x2)+parseInt(_0x5263bf(0x154))/0x3+-parseInt(_0x5263bf(0x164))/0x4+parseInt(_0x5263bf(0x149))/0x5+parseInt(_0x5263bf(0x152))/0x6*(-parseInt(_0x5263bf(0x121))/0x7)+parseInt(_0x5263bf(0x177))/0x8+-parseInt(_0x5263bf(0x172))/0x9*(parseInt(_0x5263bf(0x17e))/0xa);if(_0x9608b5===_0x5e209b)break;else _0x3b5e86['push'](_0x3b5e86['shift']());}catch(_0x1c2200){_0x3b5e86['push'](_0x3b5e86['shift']());}}}(_0x1b6e,0xb8b09));import{Plugin as _0x46df96}from'ckeditor5/src/core.js';import _0x3cb88b from'./annotationsuis.js';import _0x570b13 from'./editorannotations.js';import{ContextualBalloon as _0x4cbb49}from'ckeditor5/src/ui.js';import{MouseObserver as _0x5a2425}from'ckeditor5/src/engine.js';function _0x47ec(_0x2b45c6,_0x246f47){const _0x1b6e60=_0x1b6e();return _0x47ec=function(_0x47ece1,_0x188bd8){_0x47ece1=_0x47ece1-0x11e;let _0x5044e1=_0x1b6e60[_0x47ece1];return _0x5044e1;},_0x47ec(_0x2b45c6,_0x246f47);}import{CKEditorError as _0x606df4,Rect as _0x5797b8}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x46df96{static get[_0x507347(0x158)](){return[_0x570b13,_0x4cbb49,_0x3cb88b];}static get[_0x507347(0x12d)](){const _0x5dc0bb=_0x507347;return _0x5dc0bb(0x12a);}constructor(_0x5477b6){const _0x512058=_0x507347;super(_0x5477b6),_0x5477b6[_0x512058(0x125)][_0x512058(0x11f)][_0x512058(0x135)](_0x5a2425),this[_0x512058(0x14e)]=!0x1,this[_0x512058(0x137)](_0x512058(0x12c),null),this[_0x512058(0x145)]=null,this[_0x512058(0x15d)]=new Set(),this[_0x512058(0x16b)]=_0x5477b6[_0x512058(0x153)][_0x512058(0x16f)](_0x4cbb49),this[_0x512058(0x130)]=new Set(),this[_0x512058(0x131)]=[],this[_0x512058(0x16c)]=!0x1;}[_0x507347(0x11e)](){const _0x30b842=_0x507347,_0x11575e=this[_0x30b842(0x14c)][_0x30b842(0x153)][_0x30b842(0x16f)](_0x3cb88b);_0x11575e[_0x30b842(0x16d)]===this[_0x30b842(0x14c)]&&(_0x11575e[_0x30b842(0x142)](_0x30b842(0x13b),this),this[_0x30b842(0x14c)][_0x30b842(0x165)][_0x30b842(0x137)](_0x30b842(0x14d),(_0x561e33,_0x4f4b38)=>{const _0x38be2b=_0x30b842,_0x409261=this[_0x38be2b(0x16b)];if(this[_0x38be2b(0x14e)]&&_0x409261[_0x38be2b(0x127)]){const _0x21ad68=this[_0x38be2b(0x145)][_0x38be2b(0x166)](_0x409261[_0x38be2b(0x127)]);_0x21ad68&&this[_0x38be2b(0x160)](_0x21ad68),_0x4f4b38();}}));}[_0x507347(0x12f)](){const _0x220987=_0x507347,_0x15b80a=this[_0x220987(0x14c)][_0x220987(0x153)][_0x220987(0x16f)](_0x3cb88b);_0x15b80a[_0x220987(0x16d)]===this[_0x220987(0x14c)]&&(_0x15b80a[_0x220987(0x157)]()||_0x15b80a[_0x220987(0x178)](_0x220987(0x13b)));}[_0x507347(0x176)](_0x20c5aa){const _0x1056f2=_0x507347;_0x20c5aa!==this[_0x1056f2(0x12c)]&&(this[_0x1056f2(0x12c)]&&(this[_0x1056f2(0x12c)][_0x1056f2(0x162)]=!0x1),_0x20c5aa&&this[_0x1056f2(0x14c)]['ui'][_0x1056f2(0x17c)][_0x1056f2(0x126)]&&(this[_0x1056f2(0x145)][_0x1056f2(0x175)](_0x20c5aa)&&this[_0x1056f2(0x16e)](_0x20c5aa,!0x0),_0x20c5aa[_0x1056f2(0x162)]=!0x0),_0x20c5aa||this[_0x1056f2(0x141)]([]),this[_0x1056f2(0x12c)]=_0x20c5aa);}[_0x507347(0x146)](_0x2b6410){const _0x209d4d=_0x507347;this[_0x209d4d(0x145)]=_0x2b6410;const _0x5c36a0=this[_0x209d4d(0x14c)][_0x209d4d(0x153)][_0x209d4d(0x16f)](_0x3cb88b),_0x4a8388=this[_0x209d4d(0x16b)];if(this[_0x209d4d(0x14e)])throw new _0x606df4(_0x209d4d(0x156),this);if(_0x5c36a0[_0x209d4d(0x16d)]!==this[_0x209d4d(0x14c)])throw new _0x606df4(_0x209d4d(0x134),this);const _0x7ea83f=this[_0x209d4d(0x14c)][_0x209d4d(0x153)][_0x209d4d(0x16f)](_0x570b13);this[_0x209d4d(0x14b)](_0x7ea83f,_0x209d4d(0x15a),()=>{const _0x5ed83f=_0x209d4d,_0xde96e8=_0x7ea83f[_0x5ed83f(0x17d)]({'annotations':this[_0x5ed83f(0x145)],'activeAnnotation':this[_0x5ed83f(0x12c)]});var _0x44b8fb,_0x3ebd4e;!this[_0x5ed83f(0x16c)]&&(_0x44b8fb=_0xde96e8,_0x3ebd4e=this[_0x5ed83f(0x131)],_0x44b8fb[_0x5ed83f(0x14a)]===_0x3ebd4e[_0x5ed83f(0x14a)]&&_0x44b8fb[_0x5ed83f(0x15b)](_0x2c24f3=>_0x3ebd4e[_0x5ed83f(0x17a)](_0x2c24f3)))||(this[_0x5ed83f(0x16c)]=!0x1,this[_0x5ed83f(0x141)](_0xde96e8),this[_0x5ed83f(0x176)](_0xde96e8[0x0]||null));}),this[_0x209d4d(0x14b)](_0x7ea83f,_0x209d4d(0x13a),(_0x397421,{isAnnotationTracked:_0x2d24e2})=>{const _0x5a411e=_0x209d4d;this[_0x5a411e(0x12c)]&&_0x2d24e2(this[_0x5a411e(0x12c)])&&(this[_0x5a411e(0x141)]([]),this[_0x5a411e(0x176)](null));}),this[_0x209d4d(0x14b)](this[_0x209d4d(0x14c)]['ui'][_0x209d4d(0x17c)],_0x209d4d(0x150),(_0x83d7d1,_0x2a69b1,_0x4ab09d)=>{const _0x376f7f=_0x209d4d;_0x4ab09d||this[_0x376f7f(0x176)](null);}),this[_0x209d4d(0x14b)](_0x2b6410,_0x209d4d(0x179),(_0x507868,_0xd80543)=>{const _0x28ab28=_0x209d4d;this[_0x28ab28(0x168)](_0xd80543),_0xd80543===this[_0x28ab28(0x12c)]&&this[_0x28ab28(0x176)](null);}),this[_0x209d4d(0x14b)](_0x4a8388,_0x209d4d(0x143),(_0x1fe9f3,_0x4f40c5,_0x306701,_0x54fa47)=>{const _0x8e8dd3=_0x209d4d;_0x54fa47&&this[_0x8e8dd3(0x136)](_0x54fa47);const _0x43a37a=_0x2b6410[_0x8e8dd3(0x166)](_0x306701);_0x306701&&_0x43a37a&&(this[_0x8e8dd3(0x14b)](_0x306701,_0x8e8dd3(0x12b),()=>{const _0x23e997=_0x8e8dd3;_0x4a8388[_0x23e997(0x129)]();}),this[_0x8e8dd3(0x14b)](_0x306701,_0x8e8dd3(0x14d),()=>{const _0x307496=_0x8e8dd3;this[_0x307496(0x160)](_0x43a37a),this[_0x307496(0x14c)][_0x307496(0x125)][_0x307496(0x11f)][_0x307496(0x17b)]();}),this[_0x8e8dd3(0x12c)]!==_0x43a37a&&this[_0x8e8dd3(0x176)](_0x43a37a));}),this[_0x209d4d(0x14b)](this[_0x209d4d(0x14c)]['ui'],_0x209d4d(0x13c),()=>{const _0x43d69f=_0x209d4d;_0x4a8388[_0x43d69f(0x127)]&&(_0x2b6410[_0x43d69f(0x166)](_0x4a8388[_0x43d69f(0x127)])&&_0x4a8388[_0x43d69f(0x129)]());}),this[_0x209d4d(0x14b)](this[_0x209d4d(0x14c)][_0x209d4d(0x125)][_0x209d4d(0x11f)][_0x209d4d(0x14f)],_0x209d4d(0x170),()=>{const _0x233bb6=_0x209d4d;this[_0x233bb6(0x16c)]=!0x0,this[_0x233bb6(0x15d)][_0x233bb6(0x171)]();}),this[_0x209d4d(0x14c)][_0x209d4d(0x125)][_0x209d4d(0x11f)][_0x209d4d(0x14f)][_0x209d4d(0x173)][_0x209d4d(0x151)]&&this[_0x209d4d(0x14c)][_0x209d4d(0x125)][_0x209d4d(0x11f)][_0x209d4d(0x17b)](),this[_0x209d4d(0x14e)]=!0x0;}[_0x507347(0x13e)](){const _0x3c9125=_0x507347;if(!this[_0x3c9125(0x14e)])throw new _0x606df4(_0x3c9125(0x147),this);this[_0x3c9125(0x176)](null);for(const _0x5d6347 of this[_0x3c9125(0x130)])this[_0x3c9125(0x168)](_0x5d6347);this[_0x3c9125(0x136)](),this[_0x3c9125(0x14e)]=!0x1,this[_0x3c9125(0x145)]=null;}[_0x507347(0x13d)](){const _0x5b60d0=_0x507347;this[_0x5b60d0(0x14e)]&&this[_0x5b60d0(0x13e)]();}[_0x507347(0x141)](_0xbbe04b){const _0x1ceaed=_0x507347;for(const _0x377fa4 of this[_0x1ceaed(0x131)])_0xbbe04b[_0x1ceaed(0x17a)](_0x377fa4)||this[_0x1ceaed(0x15d)][_0x1ceaed(0x163)](_0x377fa4);for(const _0x4de1ce of this[_0x1ceaed(0x145)])_0xbbe04b[_0x1ceaed(0x17a)](_0x4de1ce)||this[_0x1ceaed(0x168)](_0x4de1ce);if(this[_0x1ceaed(0x14c)]['ui'][_0x1ceaed(0x17c)][_0x1ceaed(0x126)]){for(const _0x180868 of _0xbbe04b)this[_0x1ceaed(0x16e)](_0x180868);}this[_0x1ceaed(0x131)]=_0xbbe04b;}[_0x507347(0x16e)](_0x3a8d67,_0x4aa51f=!0x1){const _0x5ec62e=_0x507347;this[_0x5ec62e(0x15d)][_0x5ec62e(0x175)](_0x3a8d67)||(this[_0x5ec62e(0x130)][_0x5ec62e(0x175)](_0x3a8d67)||this[_0x5ec62e(0x16b)][_0x5ec62e(0x174)](_0x3a8d67[_0x5ec62e(0x11f)])||(this[_0x5ec62e(0x130)][_0x5ec62e(0x16a)](_0x3a8d67),this[_0x5ec62e(0x16b)][_0x5ec62e(0x16a)]({'stackId':_0x3a8d67[_0x5ec62e(0x11f)]['id'],'view':_0x3a8d67[_0x5ec62e(0x11f)],'position':{'target':()=>this[_0x5ec62e(0x144)](_0x3a8d67)}})),_0x4aa51f&&this[_0x5ec62e(0x16b)][_0x5ec62e(0x15c)](_0x3a8d67[_0x5ec62e(0x11f)]['id']));}[_0x507347(0x144)](_0x98c9df){const _0x2c0536=_0x507347,_0x394428=_0x98c9df[_0x2c0536(0x167)],_0x2fe894=this[_0x2c0536(0x14c)][_0x2c0536(0x125)][_0x2c0536(0x11f)],_0x4f0f40=_0x2fe894[_0x2c0536(0x14f)][_0x2c0536(0x173)][_0x2c0536(0x148)](),_0x42299b=_0x2fe894[_0x2c0536(0x155)][_0x2c0536(0x128)](_0x4f0f40);if(_0x42299b[_0x2c0536(0x124)](!0x0),_0x394428){if(_0x394428 instanceof _0x5797b8)return _0x394428;let _0x593d2a=[];for(const _0x4a640f of _0x394428)_0x593d2a[_0x2c0536(0x13f)](...(_0x5db973=_0x4a640f[_0x2c0536(0x140)](),Array[_0x2c0536(0x15e)](_0x5db973)[_0x2c0536(0x169)](DOMRect[_0x2c0536(0x12e)])));_0x593d2a=function(_0x53dd33){const _0x60cff=_0x2c0536,_0x59bc45=[];let _0x510637=_0x53dd33[0x0];for(let _0x22c62a=0x1;_0x22c62a<_0x53dd33[_0x60cff(0x14a)];_0x22c62a++)F(_0x510637,_0x53dd33[_0x22c62a])?_0x510637[_0x60cff(0x15f)]+=_0x53dd33[_0x22c62a][_0x60cff(0x15f)]:(_0x59bc45[_0x60cff(0x13f)](_0x510637),_0x510637=_0x53dd33[_0x22c62a]);return _0x59bc45[_0x60cff(0x13f)](_0x510637),_0x59bc45;}(_0x593d2a);const _0x32c2ad=_0x42299b[_0x2c0536(0x133)]();return _0x593d2a[_0x2c0536(0x122)](_0x548c6c=>_0x548c6c[_0x2c0536(0x159)]<=_0x32c2ad[_0x2c0536(0x159)]&&_0x548c6c[_0x2c0536(0x138)]>=_0x32c2ad[_0x2c0536(0x138)]&&_0x548c6c[_0x2c0536(0x120)]<=_0x32c2ad[_0x2c0536(0x120)]&&_0x548c6c[_0x2c0536(0x132)]>=_0x32c2ad[_0x2c0536(0x132)])||_0x593d2a[0x0];}var _0x5db973;return _0x98c9df[_0x2c0536(0x161)]||_0x42299b;}[_0x507347(0x168)](_0x15e2f1){const _0x42a273=_0x507347;this[_0x42a273(0x130)][_0x42a273(0x175)](_0x15e2f1)&&this[_0x42a273(0x16b)][_0x42a273(0x174)](_0x15e2f1[_0x42a273(0x11f)])&&(this[_0x42a273(0x130)][_0x42a273(0x163)](_0x15e2f1),this[_0x42a273(0x16b)][_0x42a273(0x179)](_0x15e2f1[_0x42a273(0x11f)]));}[_0x507347(0x160)](_0xec34a5){const _0xdfa373=_0x507347;this[_0xdfa373(0x15d)][_0xdfa373(0x16a)](_0xec34a5),this[_0xdfa373(0x168)](_0xec34a5);}}function _0x1b6e(){const _0x5888db=['mousedown','clear','16866VCMzEU','selection','hasView','has','setActiveAnnotation','9252480sydSBX','switchTo','remove','includes','focus','focusTracker','getOrderedSelectedAnnotations','2270QBcuSF','init','view','left','583303MSvGFr','find','568336SjPePi','collapse','editing','isFocused','visibleView','viewRangeToDom','updatePosition','InlineAnnotations','change:height','activeAnnotation','pluginName','fromRect','afterInit','_addedAnnotations','_selectedAnnotations','right','getBoundingClientRect','inlineannotations-not-allowed-with-context','addObserver','stopListening','set','bottom','2hfRlYb','blur','inline','update','destroy','detach','push','getClientRects','_setSelectedAnnotations','register','change:visibleView','_getBalloonTargetForAnnotation','annotations','attach','inlineannotations-detach-not-attached','getFirstRange','5727025zjmoKI','length','listenTo','editor','Esc','isAttached','document','change:isFocused','editableElement','6XRVzUl','plugins','2501601IfOsWq','domConverter','inlineannotations-attach-already-attached','hasActive','requires','top','refresh','every','showStack','_manuallyClosed','from','width','_closeAnnotation','targetRect','isActive','delete','5209120RfNwVB','keystrokes','getByView','target','_removeAnnotationFromBalloon','map','add','_balloon','_forceRefresh','context','_addAnnotationToBalloon','get'];_0x1b6e=function(){return _0x5888db;};return _0x1b6e();}function F(_0x19ce20,_0xab421f){const _0x28d493=_0x507347;return _0x19ce20[_0x28d493(0x159)]===_0xab421f[_0x28d493(0x159)]&&_0x19ce20[_0x28d493(0x138)]===_0xab421f[_0x28d493(0x138)]&&_0x19ce20[_0x28d493(0x132)]===_0xab421f[_0x28d493(0x120)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3bf75c=_0x199b;(function(_0x4e4668,_0x53825d){const _0x208de4=_0x199b,_0x5592dc=_0x4e4668();while(!![]){try{const _0x1b0b92=parseInt(_0x208de4(0x16f))/0x1*(parseInt(_0x208de4(0x1af))/0x2)+parseInt(_0x208de4(0x18e))/0x3*(-parseInt(_0x208de4(0x1cc))/0x4)+parseInt(_0x208de4(0x16d))/0x5*(-parseInt(_0x208de4(0x19f))/0x6)+parseInt(_0x208de4(0x1d1))/0x7+parseInt(_0x208de4(0x193))/0x8*(parseInt(_0x208de4(0x1d2))/0x9)+-parseInt(_0x208de4(0x1a9))/0xa*(-parseInt(_0x208de4(0x1a1))/0xb)+-parseInt(_0x208de4(0x1be))/0xc*(-parseInt(_0x208de4(0x1da))/0xd);if(_0x1b0b92===_0x53825d)break;else _0x5592dc['push'](_0x5592dc['shift']());}catch(_0x47b340){_0x5592dc['push'](_0x5592dc['shift']());}}}(_0x1fab,0x61da1));import{ContextPlugin as _0x1c9da0,Context as _0x5b9d45}from'ckeditor5/src/core.js';function _0x1fab(){const _0x5a7067=['set:container','southArrowNorthEast','140763KpavnQ','1098WqMBJr','execute','add','hasDomSelection','delete','_attachListeners','get','content','598yCnWGP','bind','context','high','change:container','plugins','northArrowSouthEast','NarrowSidebar','southArrowNorth','setActiveAnnotation','_updateBalloonPosition','clear','_selectedAnnotations','keyCode','rearrange','uiUpdate','5suqkEl','pluginName','75191gUDEGP','editors','annotationType','refreshPositioning','narrowsidebar-attach-already-attached','listenTo','attachToDom','_domEmitter','isVisible','length','unpin','set','narrowsidebar-detach-not-attached','values','resize','first','pin','activeAnnotation','requires','keydown','addAnnotation','blur','element','focus','target','bodyCollection','remove','from','mousedown','_detachListeners','_manuallyClosedAnnotationViews','790410KkSfIs','cancel','annotations','number','northArrowSouth','19784TnBcvQ','isDirty','_detachFromContainer','detachFromDom','focusableElements','southArrowNorthWest','defaultPositions','EditorAnnotations','refresh','view','contains','preventDefault','2554278MDeREL','getByView','7491506IxeRUB','ready','narrowSidebar','esc','northArrowSouthWest','destroy','ck-sidebar--narrow','type','10JuNFHQ','off','find','_integrateWithEditorAnnotations','_annotations','_attachToContainer','2ekvlPF','low','stopListening','_setSelectedAnnotations','has','addEventListener','_destroyEditorAnnotationsIntegration','_refreshPositioning','getOrderedSelectedAnnotations','getSidebarItemView','_annotationToNarrowView','attach','isAttached','change:height','register','71844ZqambJ','stopPropagation','create','init','balloonPanelView','removeEventListener','includes','detach','stop','_hideBalloon','_showBalloon','_refreshPositioningDebounced','preventClosingBalloon','Esc','8fxErJa','_editorAnnotations','locale'];_0x1fab=function(){return _0x5a7067;};return _0x1fab();}function _0x199b(_0x15d1d3,_0x1172c1){const _0x1fabbf=_0x1fab();return _0x199b=function(_0x199bd7,_0x1032ab){_0x199bd7=_0x199bd7-0x162;let _0x2f3a65=_0x1fabbf[_0x199bd7];return _0x2f3a65;},_0x199b(_0x15d1d3,_0x1172c1);}import _0x1e9698 from'./annotationsuis.js';import _0x53f205 from'./sidebar.js';import _0xc54e52 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x415ac7,BodyCollection as _0x14f870}from'ckeditor5/src/ui.js';import{CKEditorError as _0x46467d,DomEmitterMixin as _0x5b540c,keyCodes as _0x50e380,Collection as _0x1efa88}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x23237d}from'lodash-es';export default class i extends _0x1c9da0{static get[_0x3bf75c(0x181)](){return[_0x53f205,_0x1e9698];}static get[_0x3bf75c(0x16e)](){const _0x2eab63=_0x3bf75c;return _0x2eab63(0x164);}constructor(_0x48acfc){const _0x253369=_0x3bf75c;super(_0x48acfc),this[_0x253369(0x1bb)]=!0x1,this[_0x253369(0x18d)]=new Set(),this[_0x253369(0x176)]=Object[_0x253369(0x1c0)](_0x5b540c),this[_0x253369(0x1b9)]=new Map(),this[_0x253369(0x17a)](_0x253369(0x180),null),this[_0x253369(0x190)]=null,this[_0x253369(0x169)]=[],this[_0x253369(0x1cd)]=new _0x1efa88(),this[_0x253369(0x1c9)]=_0x23237d(()=>{const _0x5716c7=_0x253369;this[_0x5716c7(0x1b6)]();},0xfa,{'leading':!0x1});}[_0x3bf75c(0x1c1)](){const _0x53b195=_0x3bf75c;this[_0x53b195(0x1dc)][_0x53b195(0x162)][_0x53b195(0x1d8)](_0x1e9698)[_0x53b195(0x1bd)](_0x53b195(0x1a3),this),this[_0x53b195(0x188)]=new _0x14f870(this[_0x53b195(0x1dc)][_0x53b195(0x1ce)]),this[_0x53b195(0x1c2)]=new _0x415ac7(this[_0x53b195(0x1dc)][_0x53b195(0x1ce)]),this[_0x53b195(0x188)][_0x53b195(0x175)](),this[_0x53b195(0x188)][_0x53b195(0x1d4)](this[_0x53b195(0x1c2)]);}[_0x3bf75c(0x1ba)](_0x6bd822){const _0x2847d5=_0x3bf75c;this[_0x2847d5(0x190)]=_0x6bd822;const _0x934d8a=this[_0x2847d5(0x1dc)][_0x2847d5(0x162)][_0x2847d5(0x1d8)](_0x53f205),_0x16154a=this[_0x2847d5(0x1c2)];if(_0x934d8a[_0x2847d5(0x1ad)]=_0x6bd822,this[_0x2847d5(0x1bb)])throw new _0x46467d(_0x2847d5(0x173),this);this[_0x2847d5(0x1bb)]=!0x0,this[_0x2847d5(0x174)](_0x934d8a,_0x2847d5(0x1cf),()=>{const _0x5db8cc=_0x2847d5;this[_0x5db8cc(0x1c5)](),this[_0x5db8cc(0x174)](_0x934d8a,_0x5db8cc(0x1de),_0x7db238=>{const _0x3a3ee7=_0x5db8cc;_0x7db238[_0x3a3ee7(0x1aa)](),this[_0x3a3ee7(0x1ba)](_0x6bd822);});}),_0x934d8a[_0x2847d5(0x1ae)]({'viewClass':_0x2847d5(0x1a7),'spaceBetweenItems':0x5});const _0x47da06=_0x27cbb8=>{const _0x272e4c=_0x2847d5,_0xb30f95=new _0xc54e52(this[_0x272e4c(0x1dc)][_0x272e4c(0x1ce)]);_0x934d8a[_0x272e4c(0x183)](_0x27cbb8,_0xb30f95),this[_0x272e4c(0x1b9)][_0x272e4c(0x17a)](_0x27cbb8,_0xb30f95),_0xb30f95[_0x272e4c(0x1db)](_0x272e4c(0x194),_0x272e4c(0x171),_0x272e4c(0x191))['to'](_0x27cbb8[_0x272e4c(0x19c)],_0x272e4c(0x194),_0x272e4c(0x1a8),_0x272e4c(0x178)),_0xb30f95['on'](_0x272e4c(0x1d3),()=>{const _0x52ebb4=_0x272e4c;this[_0x52ebb4(0x18d)][_0x52ebb4(0x168)](),_0x16154a[_0x52ebb4(0x1d9)][_0x52ebb4(0x17e)]!==_0x27cbb8[_0x52ebb4(0x19c)]?(this[_0x52ebb4(0x1c8)](_0x27cbb8),_0x27cbb8[_0x52ebb4(0x19c)][_0x52ebb4(0x185)][_0x52ebb4(0x186)](),this[_0x52ebb4(0x166)](_0x27cbb8)):this[_0x52ebb4(0x166)](null);});};for(const _0x12295b of _0x6bd822)_0x47da06(_0x12295b);this[_0x2847d5(0x174)](_0x6bd822,_0x2847d5(0x1d4),(_0x256f87,_0x25fe57)=>{_0x47da06(_0x25fe57);}),this[_0x2847d5(0x174)](_0x6bd822,_0x2847d5(0x189),(_0x283f71,_0x5cfd1c,_0xec45df)=>{const _0x44a823=_0x2847d5;this[_0x44a823(0x1b9)][_0x44a823(0x1d8)](_0x5cfd1c)[_0x44a823(0x1a6)](),this[_0x44a823(0x1b9)][_0x44a823(0x1d6)](_0x5cfd1c),_0x934d8a[_0x44a823(0x16b)]({'removedAnnotation':_0x5cfd1c,'previousAnnotation':_0x6bd822[_0x44a823(0x1d8)](_0xec45df-0x1),'nextAnnotation':_0x6bd822[_0x44a823(0x1d8)](_0xec45df+0x1)}),_0x5cfd1c===this[_0x44a823(0x180)]&&this[_0x44a823(0x166)](null);},{'priority':_0x2847d5(0x1b0)}),this[_0x2847d5(0x174)](_0x6bd822,_0x2847d5(0x186),(_0xf90bb1,_0x1471a0)=>{const _0x21cd62=_0x2847d5;this[_0x21cd62(0x166)](_0x1471a0);}),this[_0x2847d5(0x174)](_0x6bd822,_0x2847d5(0x184),()=>{const _0x931453=_0x2847d5;this[_0x931453(0x166)](null);}),this[_0x2847d5(0x176)][_0x2847d5(0x174)](document,_0x2847d5(0x182),(_0x1f2e65,_0x5c9523)=>{const _0x4e5c12=_0x2847d5;_0x5c9523[_0x4e5c12(0x16a)]===_0x50e380[_0x4e5c12(0x1a4)]&&_0x16154a[_0x4e5c12(0x177)]&&(this[_0x4e5c12(0x18d)][_0x4e5c12(0x1d4)](_0x16154a[_0x4e5c12(0x1d9)][_0x4e5c12(0x17e)]),this[_0x4e5c12(0x1c7)](),_0x5c9523[_0x4e5c12(0x1bf)](),_0x5c9523[_0x4e5c12(0x19e)]());}),this[_0x2847d5(0x176)][_0x2847d5(0x174)](document,_0x2847d5(0x18b),(_0x283b22,_0x56f511)=>{const _0xd1d8b5=_0x2847d5,_0x2d0550=_0x56f511[_0xd1d8b5(0x187)];_0x16154a[_0xd1d8b5(0x177)]&&_0x16154a[_0xd1d8b5(0x185)][_0xd1d8b5(0x19d)](_0x2d0550)||_0x934d8a[_0xd1d8b5(0x19c)][_0xd1d8b5(0x185)][_0xd1d8b5(0x19d)](_0x2d0550)||_0x283b22[_0xd1d8b5(0x1ca)]||this[_0xd1d8b5(0x180)]&&this[_0xd1d8b5(0x180)][_0xd1d8b5(0x197)][_0xd1d8b5(0x1ab)](_0x16230f=>_0x16230f[_0xd1d8b5(0x19d)](_0x2d0550))||(this[_0xd1d8b5(0x18d)][_0xd1d8b5(0x168)](),this[_0xd1d8b5(0x1c7)](),this[_0xd1d8b5(0x166)](null));});const _0x365885=this[_0x2847d5(0x1dc)]instanceof _0x5b9d45?this[_0x2847d5(0x1dc)][_0x2847d5(0x170)]:new _0x1efa88([this[_0x2847d5(0x1dc)]]);for(const _0x42868c of _0x365885)this[_0x2847d5(0x1ac)](_0x42868c);this[_0x2847d5(0x174)](_0x365885,_0x2847d5(0x1d4),(_0x37d229,_0x5974c3)=>{const _0x26e8ba=_0x2847d5;this[_0x26e8ba(0x174)](_0x5974c3,_0x26e8ba(0x1a2),()=>{const _0x171739=_0x26e8ba;this[_0x171739(0x1ac)](_0x5974c3);});}),this[_0x2847d5(0x174)](_0x365885,_0x2847d5(0x189),(_0x4dc964,_0x4ba977)=>{const _0x494963=_0x2847d5;_0x4ba977[_0x494963(0x162)][_0x494963(0x1b3)](_0x494963(0x19a))&&this[_0x494963(0x1b5)](_0x4ba977[_0x494963(0x162)][_0x494963(0x1d8)](_0x494963(0x19a)));}),window[_0x2847d5(0x1b4)](_0x2847d5(0x17d),this[_0x2847d5(0x1c9)]),this[_0x2847d5(0x1b6)]();}[_0x3bf75c(0x166)](_0x45683e){const _0x2f62c1=_0x3bf75c;if(_0x45683e===this[_0x2f62c1(0x180)])return;const _0x5f201d=this[_0x2f62c1(0x1dc)][_0x2f62c1(0x162)][_0x2f62c1(0x1d8)](_0x53f205);if(_0x5f201d[_0x2f62c1(0x19b)]({'blurredAnnotation':this[_0x2f62c1(0x180)],'activatedAnnotation':_0x45683e,'disableAnimationOnActivatedAnnotation':!0x0}),_0x45683e)_0x5f201d[_0x2f62c1(0x1b8)](_0x45683e)?this[_0x2f62c1(0x1c8)](_0x45683e):this[_0x2f62c1(0x1c7)]();else this[_0x2f62c1(0x1c7)]();this[_0x2f62c1(0x180)]=_0x45683e;}[_0x3bf75c(0x1c5)](){const _0x15685b=_0x3bf75c;if(!this[_0x15685b(0x1bb)])throw new _0x46467d(_0x15685b(0x17b),this);this[_0x15685b(0x166)](null);const _0x284564=this[_0x15685b(0x1dc)][_0x15685b(0x162)][_0x15685b(0x1d8)](_0x53f205);this[_0x15685b(0x1c7)](),Array[_0x15685b(0x18a)](this[_0x15685b(0x1b9)][_0x15685b(0x17c)](),_0x332337=>_0x332337[_0x15685b(0x1a6)]()),this[_0x15685b(0x1b9)][_0x15685b(0x168)](),_0x284564[_0x15685b(0x195)](this[_0x15685b(0x190)]),this[_0x15685b(0x1b1)](),this[_0x15685b(0x176)][_0x15685b(0x1b1)](),this[_0x15685b(0x1dc)]instanceof _0x5b9d45&&this[_0x15685b(0x1b1)](this[_0x15685b(0x1dc)][_0x15685b(0x170)]);for(const _0x185431 of Array[_0x15685b(0x18a)](this[_0x15685b(0x1cd)]))this[_0x15685b(0x1b5)](_0x185431);window[_0x15685b(0x1c3)](_0x15685b(0x17d),this[_0x15685b(0x1c9)]),this[_0x15685b(0x1c9)][_0x15685b(0x18f)](),this[_0x15685b(0x169)]=[],this[_0x15685b(0x1bb)]=!0x1,this[_0x15685b(0x190)]=null;}[_0x3bf75c(0x1a6)](){const _0x1342ee=_0x3bf75c;this[_0x1342ee(0x1bb)]&&this[_0x1342ee(0x1c5)](),this[_0x1342ee(0x188)][_0x1342ee(0x196)]();}[_0x3bf75c(0x1ac)](_0x93cd22){const _0x2ec05e=_0x3bf75c;if(!_0x93cd22[_0x2ec05e(0x162)][_0x2ec05e(0x1b3)](_0x2ec05e(0x19a)))return;const _0x2b6817=_0x93cd22[_0x2ec05e(0x162)][_0x2ec05e(0x1d8)](_0x2ec05e(0x19a)),_0x4d6800=this[_0x2ec05e(0x1dc)][_0x2ec05e(0x162)][_0x2ec05e(0x1d8)](_0x53f205),_0x348c9d=this[_0x2ec05e(0x190)],_0x1f7fac=this[_0x2ec05e(0x1c2)],_0x1900b3=()=>{const _0x1c931a=_0x2ec05e,_0x3b4ff1=_0x2b6817[_0x1c931a(0x1b7)]({'annotations':this[_0x1c931a(0x190)],'activeAnnotation':this[_0x1c931a(0x180)]});this[_0x1c931a(0x1b2)](_0x3b4ff1),this[_0x1c931a(0x166)](_0x3b4ff1[0x0]||null);};this[_0x2ec05e(0x174)](_0x2b6817,_0x2ec05e(0x19b),_0x1900b3),this[_0x2ec05e(0x174)](_0x2b6817,_0x2ec05e(0x184),(_0x2ba0e1,{isAnnotationTracked:_0x33429f})=>{const _0x2db084=_0x2ec05e;this[_0x2db084(0x180)]&&_0x33429f(this[_0x2db084(0x180)])&&(this[_0x2db084(0x1b2)]([]),this[_0x2db084(0x166)](null));}),this[_0x2ec05e(0x174)](_0x2b6817,_0x2ec05e(0x16c),()=>{const _0x37ca27=_0x2ec05e;this[_0x37ca27(0x1c9)]();}),this[_0x2ec05e(0x174)](_0x348c9d,_0x2ec05e(0x184),_0x4cee9f=>{const _0x45a5e3=_0x2ec05e;_0x2b6817[_0x45a5e3(0x1d5)]()&&_0x4cee9f[_0x45a5e3(0x1c6)]();},{'priority':_0x2ec05e(0x1dd)}),this[_0x2ec05e(0x174)](this[_0x2ec05e(0x176)],_0x2ec05e(0x18b),(_0x2dbc62,_0x29b1ae)=>{const _0x3714f8=_0x2ec05e,_0x5472fd=_0x29b1ae[_0x3714f8(0x187)];_0x1f7fac[_0x3714f8(0x177)]&&_0x1f7fac[_0x3714f8(0x185)][_0x3714f8(0x19d)](_0x5472fd)||_0x4d6800[_0x3714f8(0x19c)][_0x3714f8(0x185)][_0x3714f8(0x19d)](_0x5472fd)||this[_0x3714f8(0x180)]&&_0x2b6817[_0x3714f8(0x1d5)]()&&(_0x1900b3(),_0x2dbc62[_0x3714f8(0x1ca)]=!0x0);},{'priority':_0x2ec05e(0x1dd)}),this[_0x2ec05e(0x1cd)][_0x2ec05e(0x1d4)](_0x2b6817);}[_0x3bf75c(0x1b5)](_0x462c81){const _0x3d210c=_0x3bf75c;_0x462c81&&(this[_0x3d210c(0x1b1)](_0x462c81),this[_0x3d210c(0x1cd)][_0x3d210c(0x189)](_0x462c81));}[_0x3bf75c(0x1b2)](_0x2b94ab){const _0x597541=_0x3bf75c;for(const _0x5114f7 of this[_0x597541(0x169)])_0x2b94ab[_0x597541(0x1c4)](_0x5114f7)||this[_0x597541(0x18d)][_0x597541(0x1d6)](_0x5114f7[_0x597541(0x19c)]);this[_0x597541(0x169)]=_0x2b94ab;}[_0x3bf75c(0x1b6)](){const _0xa4e003=_0x3bf75c,_0x1c91ce=this[_0xa4e003(0x1c2)];this[_0xa4e003(0x190)][_0xa4e003(0x172)](),_0x1c91ce[_0xa4e003(0x177)]&&this[_0xa4e003(0x167)]();}[_0x3bf75c(0x1c8)](_0x5ac0d8){const _0x42899e=_0x3bf75c;if(this[_0x42899e(0x18d)][_0x42899e(0x1b3)](_0x5ac0d8[_0x42899e(0x19c)]))return;const _0x4acfe2=this[_0x42899e(0x1c2)][_0x42899e(0x1d9)][_0x42899e(0x17e)];_0x4acfe2!==_0x5ac0d8[_0x42899e(0x19c)]?(_0x4acfe2&&this[_0x42899e(0x18c)](_0x4acfe2),this[_0x42899e(0x1d7)](_0x5ac0d8[_0x42899e(0x19c)]),this[_0x42899e(0x1c2)][_0x42899e(0x1d9)][_0x42899e(0x168)](),this[_0x42899e(0x1c2)][_0x42899e(0x1d9)][_0x42899e(0x1d4)](_0x5ac0d8[_0x42899e(0x19c)]),this[_0x42899e(0x167)]()):this[_0x42899e(0x167)]();}[_0x3bf75c(0x167)](){const _0x669692=_0x3bf75c,_0x46d97f=this[_0x669692(0x1c2)][_0x669692(0x1d9)][_0x669692(0x17e)],_0x39d26a=_0x46d97f&&this[_0x669692(0x190)][_0x669692(0x1a0)](_0x46d97f);if(!_0x39d26a||!this[_0x669692(0x1b9)][_0x669692(0x1b3)](_0x39d26a))return;const _0x1861d4=this[_0x669692(0x1b9)][_0x669692(0x1d8)](_0x39d26a)[_0x669692(0x185)],_0x5d9dd7=(function(){const _0x5337e1=_0x669692,_0x306710=_0x415ac7[_0x5337e1(0x199)];return[_0x306710[_0x5337e1(0x1d0)],_0x306710[_0x5337e1(0x163)],_0x306710[_0x5337e1(0x165)],_0x306710[_0x5337e1(0x192)],_0x306710[_0x5337e1(0x198)],_0x306710[_0x5337e1(0x1a5)]];}());this[_0x669692(0x1c2)][_0x669692(0x17f)]({'target':_0x1861d4,'positions':_0x5d9dd7});}[_0x3bf75c(0x1c7)](){const _0x4f6dd7=_0x3bf75c,_0x374cb4=this[_0x4f6dd7(0x1c2)],_0x28845b=_0x374cb4[_0x4f6dd7(0x1d9)][_0x4f6dd7(0x17e)];_0x28845b&&(this[_0x4f6dd7(0x18c)](_0x28845b),_0x374cb4[_0x4f6dd7(0x179)](),_0x374cb4[_0x4f6dd7(0x1d9)][_0x4f6dd7(0x168)]());}[_0x3bf75c(0x1d7)](_0x3ffb80){const _0x450d91=_0x3bf75c;this[_0x450d91(0x174)](_0x3ffb80,_0x450d91(0x1bc),()=>this[_0x450d91(0x167)]()),this[_0x450d91(0x174)](_0x3ffb80,_0x450d91(0x1cb),(_0x1c4dad,_0x2d0b24)=>{const _0x545b1a=_0x450d91;this[_0x545b1a(0x18d)][_0x545b1a(0x1d4)](_0x3ffb80),this[_0x545b1a(0x1c7)](),_0x2d0b24();});}[_0x3bf75c(0x18c)](_0x350ee2){const _0x4793e7=_0x3bf75c;this[_0x4793e7(0x1b1)](_0x350ee2);}}
|
|
23
|
+
const _0x52b9b3=_0x14e4;(function(_0x3cc7ec,_0x1f8c57){const _0x3882a8=_0x14e4,_0x628c14=_0x3cc7ec();while(!![]){try{const _0xe52dba=-parseInt(_0x3882a8(0x13c))/0x1+parseInt(_0x3882a8(0x13f))/0x2*(-parseInt(_0x3882a8(0x191))/0x3)+parseInt(_0x3882a8(0x177))/0x4*(parseInt(_0x3882a8(0x150))/0x5)+parseInt(_0x3882a8(0x18f))/0x6+-parseInt(_0x3882a8(0x159))/0x7+parseInt(_0x3882a8(0x165))/0x8+parseInt(_0x3882a8(0x182))/0x9*(parseInt(_0x3882a8(0x1b0))/0xa);if(_0xe52dba===_0x1f8c57)break;else _0x628c14['push'](_0x628c14['shift']());}catch(_0x1f06b0){_0x628c14['push'](_0x628c14['shift']());}}}(_0x4766,0xc0e22));import{ContextPlugin as _0x73467,Context as _0x4c518a}from'ckeditor5/src/core.js';function _0x14e4(_0x519cf8,_0x43d1c9){const _0x476632=_0x4766();return _0x14e4=function(_0x14e435,_0x2914c6){_0x14e435=_0x14e435-0x138;let _0x33b7cd=_0x476632[_0x14e435];return _0x33b7cd;},_0x14e4(_0x519cf8,_0x43d1c9);}import _0x5a4d49 from'./annotationsuis.js';import _0x5b4470 from'./sidebar.js';import _0x430dbf from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x466bcc,BodyCollection as _0x1c03d6}from'ckeditor5/src/ui.js';import{CKEditorError as _0x313f05,DomEmitterMixin as _0x3a84a0,keyCodes as _0x41a2c2,Collection as _0x50fb93}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x329b78}from'lodash-es';export default class i extends _0x73467{static get[_0x52b9b3(0x172)](){return[_0x5b4470,_0x5a4d49];}static get[_0x52b9b3(0x15a)](){const _0x3e51e7=_0x52b9b3;return _0x3e51e7(0x162);}constructor(_0x580412){const _0x70efc5=_0x52b9b3;super(_0x580412),this[_0x70efc5(0x1aa)]=!0x1,this[_0x70efc5(0x1a4)]=new Set(),this[_0x70efc5(0x14a)]=Object[_0x70efc5(0x19e)](_0x3a84a0),this[_0x70efc5(0x183)]=new Map(),this[_0x70efc5(0x16e)](_0x70efc5(0x171),null),this[_0x70efc5(0x146)]=null,this[_0x70efc5(0x17b)]=[],this[_0x70efc5(0x186)]=new _0x50fb93(),this[_0x70efc5(0x143)]=_0x329b78(()=>{const _0x59495c=_0x70efc5;this[_0x59495c(0x19d)]();},0xfa,{'leading':!0x1});}[_0x52b9b3(0x14e)](){const _0x4be043=_0x52b9b3;this[_0x4be043(0x16b)][_0x4be043(0x19c)][_0x4be043(0x178)](_0x5a4d49)[_0x4be043(0x1ae)](_0x4be043(0x142),this),this[_0x4be043(0x1a9)]=new _0x1c03d6(this[_0x4be043(0x16b)][_0x4be043(0x198)]),this[_0x4be043(0x156)]=new _0x466bcc(this[_0x4be043(0x16b)][_0x4be043(0x198)]),this[_0x4be043(0x1a9)][_0x4be043(0x158)](),this[_0x4be043(0x1a9)][_0x4be043(0x160)](this[_0x4be043(0x156)]);}[_0x52b9b3(0x188)](_0x17fd4e){const _0x49970b=_0x52b9b3;this[_0x49970b(0x146)]=_0x17fd4e;const _0x332244=this[_0x49970b(0x16b)][_0x49970b(0x19c)][_0x49970b(0x178)](_0x5b4470),_0x29f2d4=this[_0x49970b(0x156)];if(_0x332244[_0x49970b(0x192)]=_0x17fd4e,this[_0x49970b(0x1aa)])throw new _0x313f05(_0x49970b(0x1a3),this);this[_0x49970b(0x1aa)]=!0x0,this[_0x49970b(0x1a2)](_0x332244,_0x49970b(0x173),()=>{const _0x39bb89=_0x49970b;this[_0x39bb89(0x152)](),this[_0x39bb89(0x1a2)](_0x332244,_0x39bb89(0x1ac),_0x1070a1=>{const _0x5b4d03=_0x39bb89;_0x1070a1[_0x5b4d03(0x141)](),this[_0x5b4d03(0x188)](_0x17fd4e);});}),_0x332244[_0x49970b(0x13e)]({'viewClass':_0x49970b(0x13a),'spaceBetweenItems':0x5});const _0x303d09=_0x2b7641=>{const _0xe6c079=_0x49970b,_0x530234=new _0x430dbf(this[_0xe6c079(0x16b)][_0xe6c079(0x198)]);_0x332244[_0xe6c079(0x1ad)](_0x2b7641,_0x530234),this[_0xe6c079(0x183)][_0xe6c079(0x16e)](_0x2b7641,_0x530234),_0x530234[_0xe6c079(0x138)](_0xe6c079(0x17f),_0xe6c079(0x166),_0xe6c079(0x18d))['to'](_0x2b7641[_0xe6c079(0x164)],_0xe6c079(0x17f),_0xe6c079(0x194),_0xe6c079(0x1a0)),_0x530234['on'](_0xe6c079(0x185),()=>{const _0x4b97de=_0xe6c079;this[_0x4b97de(0x1a4)][_0x4b97de(0x157)](),_0x29f2d4[_0x4b97de(0x199)][_0x4b97de(0x16f)]!==_0x2b7641[_0x4b97de(0x164)]?(this[_0x4b97de(0x197)](_0x2b7641),_0x2b7641[_0x4b97de(0x164)][_0x4b97de(0x170)][_0x4b97de(0x15b)](),this[_0x4b97de(0x16d)](_0x2b7641)):this[_0x4b97de(0x16d)](null);});};for(const _0x5e2ba0 of _0x17fd4e)_0x303d09(_0x5e2ba0);this[_0x49970b(0x1a2)](_0x17fd4e,_0x49970b(0x160),(_0x51f069,_0x1ff6c1)=>{_0x303d09(_0x1ff6c1);}),this[_0x49970b(0x1a2)](_0x17fd4e,_0x49970b(0x13d),(_0x4be2a5,_0x4c185c,_0x2f1de5)=>{const _0x19cf90=_0x49970b;this[_0x19cf90(0x183)][_0x19cf90(0x178)](_0x4c185c)[_0x19cf90(0x18c)](),this[_0x19cf90(0x183)][_0x19cf90(0x13b)](_0x4c185c),_0x332244[_0x19cf90(0x149)]({'removedAnnotation':_0x4c185c,'previousAnnotation':_0x17fd4e[_0x19cf90(0x178)](_0x2f1de5-0x1),'nextAnnotation':_0x17fd4e[_0x19cf90(0x178)](_0x2f1de5+0x1)}),_0x4c185c===this[_0x19cf90(0x171)]&&this[_0x19cf90(0x16d)](null);},{'priority':_0x49970b(0x1a5)}),this[_0x49970b(0x1a2)](_0x17fd4e,_0x49970b(0x15b),(_0x24f1cb,_0x19ce3b)=>{const _0x5abc15=_0x49970b;this[_0x5abc15(0x16d)](_0x19ce3b);}),this[_0x49970b(0x1a2)](_0x17fd4e,_0x49970b(0x1a1),()=>{const _0x3c8385=_0x49970b;this[_0x3c8385(0x16d)](null);}),this[_0x49970b(0x14a)][_0x49970b(0x1a2)](document,_0x49970b(0x174),(_0x583276,_0x2527fb)=>{const _0x386d0b=_0x49970b;_0x2527fb[_0x386d0b(0x180)]===_0x41a2c2[_0x386d0b(0x175)]&&_0x29f2d4[_0x386d0b(0x144)]&&(this[_0x386d0b(0x1a4)][_0x386d0b(0x160)](_0x29f2d4[_0x386d0b(0x199)][_0x386d0b(0x16f)]),this[_0x386d0b(0x187)](),_0x2527fb[_0x386d0b(0x167)](),_0x2527fb[_0x386d0b(0x140)]());}),this[_0x49970b(0x14a)][_0x49970b(0x1a2)](document,_0x49970b(0x14d),(_0x5b07d3,_0x15df57)=>{const _0x49f52b=_0x49970b,_0x3f39b2=_0x15df57[_0x49f52b(0x148)];_0x29f2d4[_0x49f52b(0x144)]&&_0x29f2d4[_0x49f52b(0x170)][_0x49f52b(0x181)](_0x3f39b2)||_0x332244[_0x49f52b(0x164)][_0x49f52b(0x170)][_0x49f52b(0x181)](_0x3f39b2)||_0x5b07d3[_0x49f52b(0x196)]||this[_0x49f52b(0x171)]&&this[_0x49f52b(0x171)][_0x49f52b(0x1a6)][_0x49f52b(0x18b)](_0x3583bf=>_0x3583bf[_0x49f52b(0x181)](_0x3f39b2))||(this[_0x49f52b(0x1a4)][_0x49f52b(0x157)](),this[_0x49f52b(0x187)](),this[_0x49f52b(0x16d)](null));});const _0x4710f0=this[_0x49970b(0x16b)]instanceof _0x4c518a?this[_0x49970b(0x16b)][_0x49970b(0x1af)]:new _0x50fb93([this[_0x49970b(0x16b)]]);for(const _0x33b44a of _0x4710f0)this[_0x49970b(0x176)](_0x33b44a);this[_0x49970b(0x1a2)](_0x4710f0,_0x49970b(0x160),(_0x3d0a9c,_0x411d54)=>{const _0x52ea4a=_0x49970b;this[_0x52ea4a(0x1a2)](_0x411d54,_0x52ea4a(0x179),()=>{const _0x464bdf=_0x52ea4a;this[_0x464bdf(0x176)](_0x411d54);});}),this[_0x49970b(0x1a2)](_0x4710f0,_0x49970b(0x13d),(_0x293351,_0x536646)=>{const _0x13d7df=_0x49970b;_0x536646[_0x13d7df(0x19c)][_0x13d7df(0x18e)](_0x13d7df(0x153))&&this[_0x13d7df(0x14c)](_0x536646[_0x13d7df(0x19c)][_0x13d7df(0x178)](_0x13d7df(0x153)));}),window[_0x49970b(0x15c)](_0x49970b(0x18a),this[_0x49970b(0x143)]),this[_0x49970b(0x19d)]();}[_0x52b9b3(0x16d)](_0x3f7686){const _0xd8b155=_0x52b9b3;if(_0x3f7686===this[_0xd8b155(0x171)])return;const _0x4aae2d=this[_0xd8b155(0x16b)][_0xd8b155(0x19c)][_0xd8b155(0x178)](_0x5b4470);if(_0x4aae2d[_0xd8b155(0x17c)]({'blurredAnnotation':this[_0xd8b155(0x171)],'activatedAnnotation':_0x3f7686,'disableAnimationOnActivatedAnnotation':!0x0}),_0x3f7686)_0x4aae2d[_0xd8b155(0x168)](_0x3f7686)?this[_0xd8b155(0x197)](_0x3f7686):this[_0xd8b155(0x187)]();else this[_0xd8b155(0x187)]();this[_0xd8b155(0x171)]=_0x3f7686;}[_0x52b9b3(0x152)](){const _0x38d815=_0x52b9b3;if(!this[_0x38d815(0x1aa)])throw new _0x313f05(_0x38d815(0x19a),this);this[_0x38d815(0x16d)](null);const _0x34af36=this[_0x38d815(0x16b)][_0x38d815(0x19c)][_0x38d815(0x178)](_0x5b4470);this[_0x38d815(0x187)](),Array[_0x38d815(0x1a7)](this[_0x38d815(0x183)][_0x38d815(0x161)](),_0xbfd10b=>_0xbfd10b[_0x38d815(0x18c)]()),this[_0x38d815(0x183)][_0x38d815(0x157)](),_0x34af36[_0x38d815(0x15d)](this[_0x38d815(0x146)]),this[_0x38d815(0x16a)](),this[_0x38d815(0x14a)][_0x38d815(0x16a)](),this[_0x38d815(0x16b)]instanceof _0x4c518a&&this[_0x38d815(0x16a)](this[_0x38d815(0x16b)][_0x38d815(0x1af)]);for(const _0x1a5b2a of Array[_0x38d815(0x1a7)](this[_0x38d815(0x186)]))this[_0x38d815(0x14c)](_0x1a5b2a);window[_0x38d815(0x195)](_0x38d815(0x18a),this[_0x38d815(0x143)]),this[_0x38d815(0x143)][_0x38d815(0x14b)](),this[_0x38d815(0x17b)]=[],this[_0x38d815(0x1aa)]=!0x1,this[_0x38d815(0x146)]=null;}[_0x52b9b3(0x18c)](){const _0xd13b65=_0x52b9b3;this[_0xd13b65(0x1aa)]&&this[_0xd13b65(0x152)](),this[_0xd13b65(0x1a9)][_0xd13b65(0x14f)]();}[_0x52b9b3(0x176)](_0x3ab937){const _0x4954eb=_0x52b9b3;if(!_0x3ab937[_0x4954eb(0x19c)][_0x4954eb(0x18e)](_0x4954eb(0x153)))return;const _0x3949ba=_0x3ab937[_0x4954eb(0x19c)][_0x4954eb(0x178)](_0x4954eb(0x153)),_0x59c75e=this[_0x4954eb(0x16b)][_0x4954eb(0x19c)][_0x4954eb(0x178)](_0x5b4470),_0x3b13cc=this[_0x4954eb(0x146)],_0x244d9a=this[_0x4954eb(0x156)],_0xbeefc2=()=>{const _0x3a64d4=_0x4954eb,_0x5d0ccd=_0x3949ba[_0x3a64d4(0x147)]({'annotations':this[_0x3a64d4(0x146)],'activeAnnotation':this[_0x3a64d4(0x171)]});this[_0x3a64d4(0x151)](_0x5d0ccd),this[_0x3a64d4(0x16d)](_0x5d0ccd[0x0]||null);};this[_0x4954eb(0x1a2)](_0x3949ba,_0x4954eb(0x17c),_0xbeefc2),this[_0x4954eb(0x1a2)](_0x3949ba,_0x4954eb(0x1a1),(_0x410ba3,{isAnnotationTracked:_0x4b2a1e})=>{const _0x3b9215=_0x4954eb;this[_0x3b9215(0x171)]&&_0x4b2a1e(this[_0x3b9215(0x171)])&&(this[_0x3b9215(0x151)]([]),this[_0x3b9215(0x16d)](null));}),this[_0x4954eb(0x1a2)](_0x3949ba,_0x4954eb(0x19f),()=>{const _0x2d500e=_0x4954eb;this[_0x2d500e(0x143)]();}),this[_0x4954eb(0x1a2)](_0x3b13cc,_0x4954eb(0x1a1),_0x50f201=>{const _0x4d941c=_0x4954eb;_0x3949ba[_0x4d941c(0x169)]()&&_0x50f201[_0x4d941c(0x145)]();},{'priority':_0x4954eb(0x1b1)}),this[_0x4954eb(0x1a2)](this[_0x4954eb(0x14a)],_0x4954eb(0x14d),(_0xc616af,_0x4a5eb2)=>{const _0x3a99f0=_0x4954eb,_0xf31bf7=_0x4a5eb2[_0x3a99f0(0x148)];_0x244d9a[_0x3a99f0(0x144)]&&_0x244d9a[_0x3a99f0(0x170)][_0x3a99f0(0x181)](_0xf31bf7)||_0x59c75e[_0x3a99f0(0x164)][_0x3a99f0(0x170)][_0x3a99f0(0x181)](_0xf31bf7)||this[_0x3a99f0(0x171)]&&_0x3949ba[_0x3a99f0(0x169)]()&&(_0xbeefc2(),_0xc616af[_0x3a99f0(0x196)]=!0x0);},{'priority':_0x4954eb(0x1b1)}),this[_0x4954eb(0x186)][_0x4954eb(0x160)](_0x3949ba);}[_0x52b9b3(0x14c)](_0x2d7f3c){const _0x57288=_0x52b9b3;_0x2d7f3c&&(this[_0x57288(0x16a)](_0x2d7f3c),this[_0x57288(0x186)][_0x57288(0x13d)](_0x2d7f3c));}[_0x52b9b3(0x151)](_0x1cffe8){const _0x29bcdd=_0x52b9b3;for(const _0xec7451 of this[_0x29bcdd(0x17b)])_0x1cffe8[_0x29bcdd(0x193)](_0xec7451)||this[_0x29bcdd(0x1a4)][_0x29bcdd(0x13b)](_0xec7451[_0x29bcdd(0x164)]);this[_0x29bcdd(0x17b)]=_0x1cffe8;}[_0x52b9b3(0x19d)](){const _0x35bb4f=_0x52b9b3,_0x5f318a=this[_0x35bb4f(0x156)];this[_0x35bb4f(0x146)][_0x35bb4f(0x17a)](),_0x5f318a[_0x35bb4f(0x144)]&&this[_0x35bb4f(0x15e)]();}[_0x52b9b3(0x197)](_0x47a545){const _0x1ce3c6=_0x52b9b3;if(this[_0x1ce3c6(0x1a4)][_0x1ce3c6(0x18e)](_0x47a545[_0x1ce3c6(0x164)]))return;const _0x311604=this[_0x1ce3c6(0x156)][_0x1ce3c6(0x199)][_0x1ce3c6(0x16f)];_0x311604!==_0x47a545[_0x1ce3c6(0x164)]?(_0x311604&&this[_0x1ce3c6(0x17d)](_0x311604),this[_0x1ce3c6(0x19b)](_0x47a545[_0x1ce3c6(0x164)]),this[_0x1ce3c6(0x156)][_0x1ce3c6(0x199)][_0x1ce3c6(0x157)](),this[_0x1ce3c6(0x156)][_0x1ce3c6(0x199)][_0x1ce3c6(0x160)](_0x47a545[_0x1ce3c6(0x164)]),this[_0x1ce3c6(0x15e)]()):this[_0x1ce3c6(0x15e)]();}[_0x52b9b3(0x15e)](){const _0x52a680=_0x52b9b3,_0x5bc144=this[_0x52a680(0x156)][_0x52a680(0x199)][_0x52a680(0x16f)],_0x3c3adf=_0x5bc144&&this[_0x52a680(0x146)][_0x52a680(0x155)](_0x5bc144);if(!_0x3c3adf||!this[_0x52a680(0x183)][_0x52a680(0x18e)](_0x3c3adf))return;const _0x252945=this[_0x52a680(0x183)][_0x52a680(0x178)](_0x3c3adf)[_0x52a680(0x170)],_0x4eacf3=(function(){const _0x3413c0=_0x52a680,_0x2fc00d=_0x466bcc[_0x3413c0(0x190)];return[_0x2fc00d[_0x3413c0(0x16c)],_0x2fc00d[_0x3413c0(0x15f)],_0x2fc00d[_0x3413c0(0x154)],_0x2fc00d[_0x3413c0(0x1ab)],_0x2fc00d[_0x3413c0(0x184)],_0x2fc00d[_0x3413c0(0x139)]];}());this[_0x52a680(0x156)][_0x52a680(0x163)]({'target':_0x252945,'positions':_0x4eacf3});}[_0x52b9b3(0x187)](){const _0x1f9317=_0x52b9b3,_0x3dd9ab=this[_0x1f9317(0x156)],_0x55e3e7=_0x3dd9ab[_0x1f9317(0x199)][_0x1f9317(0x16f)];_0x55e3e7&&(this[_0x1f9317(0x17d)](_0x55e3e7),_0x3dd9ab[_0x1f9317(0x17e)](),_0x3dd9ab[_0x1f9317(0x199)][_0x1f9317(0x157)]());}[_0x52b9b3(0x19b)](_0x5820f4){const _0x14cfe5=_0x52b9b3;this[_0x14cfe5(0x1a2)](_0x5820f4,_0x14cfe5(0x189),()=>this[_0x14cfe5(0x15e)]()),this[_0x14cfe5(0x1a2)](_0x5820f4,_0x14cfe5(0x1a8),(_0xca7525,_0x1a52c6)=>{const _0x80ff96=_0x14cfe5;this[_0x80ff96(0x1a4)][_0x80ff96(0x160)](_0x5820f4),this[_0x80ff96(0x187)](),_0x1a52c6();});}[_0x52b9b3(0x17d)](_0x3adbbd){const _0x519379=_0x52b9b3;this[_0x519379(0x16a)](_0x3adbbd);}}function _0x4766(){const _0x54f0a0=['esc','_integrateWithEditorAnnotations','4bYASbJ','get','ready','refreshPositioning','_selectedAnnotations','refresh','_detachListeners','unpin','isDirty','keyCode','contains','9GCJaNk','_annotationToNarrowView','southArrowNorthWest','execute','_editorAnnotations','_hideBalloon','attach','change:height','resize','find','destroy','number','has','6054606tSljSy','defaultPositions','15wynhbV','_annotations','includes','type','removeEventListener','preventClosingBalloon','_showBalloon','locale','content','narrowsidebar-detach-not-attached','_attachListeners','plugins','_refreshPositioning','create','uiUpdate','length','blur','listenTo','narrowsidebar-attach-already-attached','_manuallyClosedAnnotationViews','low','focusableElements','from','Esc','bodyCollection','isAttached','northArrowSouth','change:container','addAnnotation','register','editors','6610900RBzwgR','high','bind','northArrowSouthWest','ck-sidebar--narrow','delete','116503WfklTX','remove','_attachToContainer','555850DtvjDV','preventDefault','off','narrowSidebar','_refreshPositioningDebounced','isVisible','stop','annotations','getOrderedSelectedAnnotations','target','rearrange','_domEmitter','cancel','_destroyEditorAnnotationsIntegration','mousedown','init','detachFromDom','818395UxEDKr','_setSelectedAnnotations','detach','EditorAnnotations','southArrowNorth','getByView','balloonPanelView','clear','attachToDom','5678449YUbBti','pluginName','focus','addEventListener','_detachFromContainer','_updateBalloonPosition','northArrowSouthEast','add','values','NarrowSidebar','pin','view','10188120fpjSLN','annotationType','stopPropagation','getSidebarItemView','hasDomSelection','stopListening','context','southArrowNorthEast','setActiveAnnotation','set','first','element','activeAnnotation','requires','set:container','keydown'];_0x4766=function(){return _0x54f0a0;};return _0x4766();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x6d67d5=_0x53f0;(function(_0x1474de,_0x3ec105){const _0x5c2134=_0x53f0,_0x7ed0c5=_0x1474de();while(!![]){try{const _0x5a7d7c=parseInt(_0x5c2134(0x17e))/0x1*(-parseInt(_0x5c2134(0x16d))/0x2)+parseInt(_0x5c2134(0x162))/0x3*(-parseInt(_0x5c2134(0x134))/0x4)+-parseInt(_0x5c2134(0x183))/0x5+-parseInt(_0x5c2134(0x14a))/0x6+parseInt(_0x5c2134(0x15f))/0x7+parseInt(_0x5c2134(0x156))/0x8*(parseInt(_0x5c2134(0x169))/0x9)+parseInt(_0x5c2134(0x153))/0xa;if(_0x5a7d7c===_0x3ec105)break;else _0x7ed0c5['push'](_0x7ed0c5['shift']());}catch(_0x5b7046){_0x7ed0c5['push'](_0x7ed0c5['shift']());}}}(_0x4d09,0x8ab04));import{ContextPlugin as _0x15c22b}from'ckeditor5/src/core.js';import{Rect as _0x1720d3,CKEditorError as _0x45e63b}from'ckeditor5/src/utils.js';import _0x3e539a from'./view/sidebarview.js';function _0x4d09(){const _0x2b64b0=['rearrange','_detachFromContainer','change:_lastItem','height','5954221NPzXfi','list','_annotations','3nNnxVF','top','object','length','render','remove','_activeAnnotation','4628079ZKnvBQ','unbind','_getItemAfter','clear','2BOxJmY','_getMaxAvailableTop','locale','init','_alignAfterItem','_lastItem','minHeight','sidebar.preventScrollOutOfView','max','_alignToTargetRect','add','element','isAnimationDisabled','getIndex','nodeType','_createSidebarView','listenTo','685892xEUHLI','appendChild','Sidebar','change:top','_updateLastItem','4075630OflOvM','define','last','_getItemBefore','bottom','bind','pluginName','_alignForBottomChange','sidebar.container','_recalculate','3630908LRUzAq','getSidebarItemView','_getTargetTop','_sidebarItemViewToAnnotation','sidebar-setcontainer-invalid-element','content','class','_spaceBetweenItems','container','_attachToContainer','change:targetRect','context','_alignForTopChange','set','_setItemTop','_targetTop','target','_recalculateBuffer','view','config','isActive','setContainer','840888LiVYHH','sidebar-attachtocontainer-missing-container','stopListening','delete','updateHeight','addAnnotation','refresh','_annotationToSidebarItemView','_alignBeforeItem','12378960aTJdsQ','push','get','16HCUzny','change:bottom','destroy','targetRect','_destroySidebarItemView'];_0x4d09=function(){return _0x2b64b0;};return _0x4d09();}function _0x53f0(_0x44f580,_0x263bea){const _0x4d09e9=_0x4d09();return _0x53f0=function(_0x53f038,_0x26c583){_0x53f038=_0x53f038-0x12e;let _0x14790e=_0x4d09e9[_0x53f038];return _0x14790e;},_0x53f0(_0x44f580,_0x263bea);}import _0xe26e5e from'./view/sidebaritemview.js';export default class z extends _0x15c22b{static get[_0x6d67d5(0x130)](){const _0xa827a4=_0x6d67d5;return _0xa827a4(0x180);}constructor(_0x52930b){const _0x14444d=_0x6d67d5;super(_0x52930b),this[_0x14444d(0x141)](_0x14444d(0x172),void 0x0),this[_0x14444d(0x146)]=this[_0x14444d(0x17c)](),this[_0x14444d(0x141)](_0x14444d(0x13c),null),this[_0x14444d(0x13b)]=0x19,this[_0x14444d(0x137)]=new Map(),this[_0x14444d(0x151)]=new Map(),this[_0x14444d(0x13f)][_0x14444d(0x147)][_0x14444d(0x184)](_0x14444d(0x174),!0x1),this[_0x14444d(0x161)]=null,this[_0x14444d(0x168)]=null,this[_0x14444d(0x145)]=[];}[_0x6d67d5(0x170)](){const _0x533ec6=_0x6d67d5,_0x30c3c5=this[_0x533ec6(0x13f)][_0x533ec6(0x147)][_0x533ec6(0x155)](_0x533ec6(0x132));_0x30c3c5&&this[_0x533ec6(0x149)](_0x30c3c5);}[_0x6d67d5(0x149)](_0x1b8af6){const _0x4dc8a9=_0x6d67d5;if(!y(_0x1b8af6))throw new _0x45e63b(_0x4dc8a9(0x138));this[_0x4dc8a9(0x13c)]=_0x1b8af6;}[_0x6d67d5(0x13d)]({viewClass:_0x1a6dcd='',spaceBetweenItems:_0x2fa4c0=0x19}={}){const _0x42248d=_0x6d67d5;if(!y(this[_0x42248d(0x13c)]))throw new _0x45e63b(_0x42248d(0x14b),this);this[_0x42248d(0x13c)][_0x42248d(0x17f)](this[_0x42248d(0x146)][_0x42248d(0x178)]),this[_0x42248d(0x146)][_0x42248d(0x13a)]=_0x1a6dcd,this[_0x42248d(0x13b)]=_0x2fa4c0;}[_0x6d67d5(0x15b)]({removedAnnotation:_0x3e1c2a,previousAnnotation:_0x27e6fa,nextAnnotation:_0x26a2c9}){const _0x48df00=_0x6d67d5,_0xbb7de3=this[_0x48df00(0x135)](_0x3e1c2a);this[_0x48df00(0x146)][_0x48df00(0x160)][_0x48df00(0x167)](_0xbb7de3),this[_0x48df00(0x15a)](_0x3e1c2a),_0x27e6fa&&this[_0x48df00(0x176)](this[_0x48df00(0x135)](_0x27e6fa)),_0x26a2c9&&this[_0x48df00(0x176)](this[_0x48df00(0x135)](_0x26a2c9)),this[_0x48df00(0x182)]();}[_0x6d67d5(0x150)]({blurredAnnotation:_0x4a8ec8,activatedAnnotation:_0x318611,disableAnimationOnActivatedAnnotation:_0x36d502}){const _0x39d588=_0x6d67d5;if(this[_0x39d588(0x168)]=_0x318611,_0x4a8ec8){_0x4a8ec8[_0x39d588(0x148)]=!0x1;const _0x5e25bf=this[_0x39d588(0x135)](_0x4a8ec8);_0x5e25bf&&_0x36d502&&(_0x5e25bf[_0x39d588(0x179)]=!0x1);}if(_0x318611){const _0x12260e=this[_0x39d588(0x135)](_0x318611);_0x12260e&&(_0x318611[_0x39d588(0x148)]=!0x0,_0x36d502&&(_0x12260e[_0x39d588(0x179)]=!0x0,_0x12260e[_0x39d588(0x163)]+=0x1),this[_0x39d588(0x176)](_0x12260e));}}[_0x6d67d5(0x15c)](_0xe5e41){const _0x3ca340=_0x6d67d5;if(this[_0x3ca340(0x146)][_0x3ca340(0x178)][_0x3ca340(0x167)](),_0xe5e41){for(const _0x4c35d5 of _0xe5e41)this[_0x3ca340(0x15a)](_0x4c35d5);}this[_0x3ca340(0x146)][_0x3ca340(0x160)][_0x3ca340(0x16c)](),this[_0x3ca340(0x146)][_0x3ca340(0x13a)]='',this[_0x3ca340(0x172)]=null;}[_0x6d67d5(0x14f)](_0x2165c3,_0x4bb7e4){const _0x6ed6bd=_0x6d67d5;_0x4bb7e4||(_0x4bb7e4=_0x2165c3[_0x6ed6bd(0x146)]);const _0x4f1998=new _0xe26e5e(this[_0x6ed6bd(0x13f)][_0x6ed6bd(0x16f)]);this[_0x6ed6bd(0x137)][_0x6ed6bd(0x141)](_0x4f1998,_0x2165c3),this[_0x6ed6bd(0x151)][_0x6ed6bd(0x141)](_0x2165c3,_0x4f1998),_0x4f1998[_0x6ed6bd(0x139)][_0x6ed6bd(0x177)](_0x4bb7e4),this[_0x6ed6bd(0x17d)](_0x2165c3[_0x6ed6bd(0x146)],_0x6ed6bd(0x13e),(_0x49d8ce,_0x577227,_0x460a9e)=>{const _0x2e2c8a=_0x6ed6bd,_0x574328=this[_0x2e2c8a(0x136)](_0x2165c3,_0x460a9e);_0x4f1998[_0x2e2c8a(0x143)]!=_0x574328&&(_0x4f1998[_0x2e2c8a(0x143)]=_0x574328,this[_0x2e2c8a(0x142)](_0x4f1998,_0x574328));}),this[_0x6ed6bd(0x17d)](_0x4f1998,_0x6ed6bd(0x181),()=>{const _0x275372=_0x6ed6bd;this[_0x275372(0x133)](_0x4f1998,_0x275372(0x163));}),this[_0x6ed6bd(0x17d)](_0x4f1998,_0x6ed6bd(0x157),()=>{const _0x36940c=_0x6ed6bd;this[_0x36940c(0x133)](_0x4f1998,_0x36940c(0x12e));}),this[_0x6ed6bd(0x176)](_0x4f1998);const _0x1393d2=this[_0x6ed6bd(0x186)](_0x4f1998);if(_0x1393d2)this[_0x6ed6bd(0x171)](_0x1393d2,_0x4f1998)||this[_0x6ed6bd(0x176)](_0x4f1998);else this[_0x6ed6bd(0x176)](_0x4f1998);return this[_0x6ed6bd(0x182)](),this[_0x6ed6bd(0x146)][_0x6ed6bd(0x160)][_0x6ed6bd(0x177)](_0x4f1998),_0x4f1998;}[_0x6d67d5(0x140)](_0x3d1e48){const _0x4f03e5=_0x6d67d5;if(!_0x3d1e48[_0x4f03e5(0x139)][_0x4f03e5(0x165)])return;const _0x23a4be=this[_0x4f03e5(0x186)](_0x3d1e48);if(!_0x23a4be)return;const _0x504671=this[_0x4f03e5(0x137)][_0x4f03e5(0x155)](_0x23a4be),_0x109f09=this[_0x4f03e5(0x168)];_0x109f09&&_0x109f09===_0x504671?this[_0x4f03e5(0x171)](_0x23a4be,_0x3d1e48):this[_0x4f03e5(0x152)](_0x3d1e48,_0x23a4be);}[_0x6d67d5(0x131)](_0x59f3f7){const _0x4a893d=_0x6d67d5;if(!_0x59f3f7[_0x4a893d(0x139)][_0x4a893d(0x165)])return;const _0x1b74b1=this[_0x4a893d(0x16b)](_0x59f3f7);if(!_0x1b74b1)return;const _0x5b092d=this[_0x4a893d(0x137)][_0x4a893d(0x155)](_0x1b74b1),_0x5b7fde=this[_0x4a893d(0x13f)][_0x4a893d(0x147)][_0x4a893d(0x155)](_0x4a893d(0x174)),_0x2cfa6f=this[_0x4a893d(0x168)];_0x2cfa6f&&_0x2cfa6f===_0x5b092d&&_0x5b7fde?(this[_0x4a893d(0x152)](_0x1b74b1,_0x59f3f7),this[_0x4a893d(0x171)](_0x59f3f7,_0x1b74b1)):_0x2cfa6f&&_0x2cfa6f===_0x5b092d?this[_0x4a893d(0x152)](_0x1b74b1,_0x59f3f7):this[_0x4a893d(0x171)](_0x59f3f7,_0x1b74b1);}[_0x6d67d5(0x133)](_0x307f6,_0x144261){const _0x324d40=_0x6d67d5;0x0===this[_0x324d40(0x145)][_0x324d40(0x165)]&&setTimeout(()=>{const _0x2269b2=_0x324d40;for(const {sidebarItemView:_0x520e83,changedProp:_0x2f0af6}of this[_0x2269b2(0x145)])_0x2269b2(0x163)===_0x2f0af6?this[_0x2269b2(0x140)](_0x520e83):this[_0x2269b2(0x131)](_0x520e83);this[_0x2269b2(0x145)]=[];},0xa),this[_0x324d40(0x145)][_0x324d40(0x154)]({'sidebarItemView':_0x307f6,'changedProp':_0x144261});}[_0x6d67d5(0x135)](_0x5c22fc){const _0x52d44f=_0x6d67d5;return this[_0x52d44f(0x151)][_0x52d44f(0x155)](_0x5c22fc);}[_0x6d67d5(0x158)](){const _0xb8fa2c=_0x6d67d5;this[_0xb8fa2c(0x14c)](),this[_0xb8fa2c(0x146)][_0xb8fa2c(0x158)]();}[_0x6d67d5(0x15a)](_0x24e062){const _0x1f6042=_0x6d67d5,_0x158be5=this[_0x1f6042(0x135)](_0x24e062);this[_0x1f6042(0x14c)](_0x158be5),this[_0x1f6042(0x14c)](_0x24e062[_0x1f6042(0x146)]),_0x158be5[_0x1f6042(0x158)](),this[_0x1f6042(0x151)][_0x1f6042(0x14d)](_0x24e062),this[_0x1f6042(0x137)][_0x1f6042(0x14d)](_0x158be5);}[_0x6d67d5(0x17c)](){const _0x767339=_0x6d67d5,_0x5dee5a=new _0x3e539a(this[_0x767339(0x13f)][_0x767339(0x16f)]);return _0x5dee5a[_0x767339(0x166)](),this['on'](_0x767339(0x15d),(_0x558a01,_0x42ca03,_0x3692dc,_0x4297bf)=>{const _0x33eb5a=_0x767339;_0x4297bf&&_0x5dee5a[_0x33eb5a(0x16a)](_0x33eb5a(0x173)),_0x3692dc?_0x5dee5a[_0x33eb5a(0x12f)](_0x33eb5a(0x173))['to'](_0x3692dc,_0x33eb5a(0x12e)):_0x5dee5a[_0x33eb5a(0x173)]=null;}),_0x5dee5a;}[_0x6d67d5(0x182)](){const _0x5ee8fd=_0x6d67d5;var _0x6c5d16;this[_0x5ee8fd(0x172)]=(null===(_0x6c5d16=this[_0x5ee8fd(0x161)])||void 0x0===_0x6c5d16?void 0x0:_0x6c5d16[_0x5ee8fd(0x185)])?this[_0x5ee8fd(0x135)](this[_0x5ee8fd(0x161)][_0x5ee8fd(0x185)]):null;}[_0x6d67d5(0x186)](_0x1bafc0){const _0x169d52=_0x6d67d5;var _0x3ef91c;const _0x38face=this[_0x169d52(0x137)][_0x169d52(0x155)](_0x1bafc0),_0x1a7d51=_0x38face&&(null===(_0x3ef91c=this[_0x169d52(0x161)])||void 0x0===_0x3ef91c?void 0x0:_0x3ef91c[_0x169d52(0x155)](this[_0x169d52(0x161)][_0x169d52(0x17a)](_0x38face)-0x1));return _0x1a7d51&&this[_0x169d52(0x135)](_0x1a7d51)||null;}[_0x6d67d5(0x16b)](_0x483621){const _0x366035=_0x6d67d5;var _0x3956e9;const _0x2e09ca=this[_0x366035(0x137)][_0x366035(0x155)](_0x483621),_0x2edb22=_0x2e09ca&&(null===(_0x3956e9=this[_0x366035(0x161)])||void 0x0===_0x3956e9?void 0x0:_0x3956e9[_0x366035(0x155)](this[_0x366035(0x161)][_0x366035(0x17a)](_0x2e09ca)+0x1));return _0x2edb22&&this[_0x366035(0x135)](_0x2edb22)||null;}[_0x6d67d5(0x152)](_0x3abb43,_0xa886f8){const _0x55e1b4=_0x6d67d5;_0x3abb43[_0x55e1b4(0x14e)]();const _0x2662fa=M(_0xa886f8[_0x55e1b4(0x12e)]+this[_0x55e1b4(0x13b)],_0x3abb43[_0x55e1b4(0x163)]);return!!_0x2662fa&&(this[_0x55e1b4(0x142)](_0xa886f8,_0xa886f8[_0x55e1b4(0x163)]-_0x2662fa),!0x0);}[_0x6d67d5(0x171)](_0x32e9d4,_0x1900c8){const _0x5654eb=_0x6d67d5;_0x32e9d4[_0x5654eb(0x14e)]();const _0x38a7d0=M(_0x32e9d4[_0x5654eb(0x12e)]+this[_0x5654eb(0x13b)],_0x1900c8[_0x5654eb(0x163)]);return!!_0x38a7d0&&(this[_0x5654eb(0x142)](_0x1900c8,_0x1900c8[_0x5654eb(0x163)]+_0x38a7d0,!0x1),!0x0);}[_0x6d67d5(0x176)](_0x252928){const _0x186dcc=_0x6d67d5,_0x169ca6=this[_0x186dcc(0x137)][_0x186dcc(0x155)](_0x252928);if(!_0x169ca6||!_0x169ca6[_0x186dcc(0x144)]||!_0x169ca6[_0x186dcc(0x159)])return;const _0x4afe34=this[_0x186dcc(0x136)](_0x169ca6,_0x169ca6[_0x186dcc(0x159)]);this[_0x186dcc(0x142)](_0x252928,_0x4afe34);}[_0x6d67d5(0x136)](_0x305081,_0x1ce7b7){const _0x254e75=_0x6d67d5;if(null===_0x1ce7b7)return 0x0;if(_0x305081[_0x254e75(0x144)]instanceof _0x1720d3)return _0x1ce7b7[_0x254e75(0x163)];{const _0x3cf692=new _0x1720d3(this[_0x254e75(0x146)][_0x254e75(0x178)])[_0x254e75(0x163)];return _0x1ce7b7[_0x254e75(0x163)]-_0x3cf692;}}[_0x6d67d5(0x142)](_0x52555e,_0x418f35,_0x3095cb=this[_0x6d67d5(0x13f)][_0x6d67d5(0x147)][_0x6d67d5(0x155)](_0x6d67d5(0x174))){const _0x5d0962=_0x6d67d5;_0x3095cb&&(_0x418f35=Math[_0x5d0962(0x175)](_0x418f35,this[_0x5d0962(0x16e)](_0x52555e))),_0x52555e[_0x5d0962(0x163)]=_0x418f35;}[_0x6d67d5(0x16e)](_0x360d1a){const _0x24f4b9=_0x6d67d5;let _0x2569fa=this[_0x24f4b9(0x186)](_0x360d1a),_0x14a6c3=0x0;for(;_0x2569fa;)_0x2569fa[_0x24f4b9(0x14e)](),_0x14a6c3+=this[_0x24f4b9(0x13b)]+_0x2569fa[_0x24f4b9(0x15e)],_0x2569fa=this[_0x24f4b9(0x186)](_0x2569fa);return _0x14a6c3;}}function M(_0x300a1e,_0xa6fbaf){const _0x25bd9a=_0x6d67d5;return Math[_0x25bd9a(0x175)](_0x300a1e-_0xa6fbaf,0x0);}function y(_0x599220){const _0x219b5d=_0x6d67d5;return null!==_0x599220&&_0x219b5d(0x164)==typeof _0x599220&&0x1===_0x599220[_0x219b5d(0x17b)];}
|
|
23
|
+
const _0x54fa98=_0x4092;function _0x4092(_0x666a10,_0xad8e11){const _0x551cd4=_0x551c();return _0x4092=function(_0x409291,_0x2e4561){_0x409291=_0x409291-0x6b;let _0x471970=_0x551cd4[_0x409291];return _0x471970;},_0x4092(_0x666a10,_0xad8e11);}function _0x551c(){const _0x22f662=['define','pluginName','getIndex','push','set','175OlpHee','setContainer','listenTo','object','get','change:_lastItem','_getItemBefore','bind','content','_updateLastItem','_alignForTopChange','list','render','stopListening','sidebar-attachtocontainer-missing-container','_getMaxAvailableTop','delete','unbind','_attachToContainer','container','init','last','sidebar.preventScrollOutOfView','121758vsQIMY','9vDsScU','locale','clear','getSidebarItemView','minHeight','_sidebarItemViewToAnnotation','_createSidebarView','366554IawjPF','_activeAnnotation','_annotationToSidebarItemView','_recalculate','194350haSJTF','_getItemAfter','385yAANZk','_annotations','remove','_detachFromContainer','updateHeight','_recalculateBuffer','addAnnotation','change:top','bottom','_setItemTop','_targetTop','8JHNwXk','_destroySidebarItemView','view','_alignForBottomChange','change:targetRect','refresh','context','target','destroy','targetRect','_alignToTargetRect','length','change:bottom','1897348gwWcop','max','top','Sidebar','_lastItem','rearrange','config','isAnimationDisabled','3316775NJeZLy','add','_spaceBetweenItems','appendChild','isActive','_alignAfterItem','element','sidebar.container','_alignBeforeItem','height','sidebar-setcontainer-invalid-element','_getTargetTop','class','1030696giKWlQ','209979vfuokX','nodeType'];_0x551c=function(){return _0x22f662;};return _0x551c();}(function(_0x2c6126,_0x84bd39){const _0x4003a8=_0x4092,_0x5a2e6e=_0x2c6126();while(!![]){try{const _0x2db8b6=parseInt(_0x4003a8(0x93))/0x1+-parseInt(_0x4003a8(0xb1))/0x2+-parseInt(_0x4003a8(0x8c))/0x3*(parseInt(_0x4003a8(0x6c))/0x4)+-parseInt(_0x4003a8(0x74))/0x5*(-parseInt(_0x4003a8(0x8b))/0x6)+parseInt(_0x4003a8(0xb9))/0x7+parseInt(_0x4003a8(0xa4))/0x8*(-parseInt(_0x4003a8(0x6d))/0x9)+parseInt(_0x4003a8(0x97))/0xa*(parseInt(_0x4003a8(0x99))/0xb);if(_0x2db8b6===_0x84bd39)break;else _0x5a2e6e['push'](_0x5a2e6e['shift']());}catch(_0x31b935){_0x5a2e6e['push'](_0x5a2e6e['shift']());}}}(_0x551c,0x769c8));import{ContextPlugin as _0x165830}from'ckeditor5/src/core.js';import{Rect as _0x231d93,CKEditorError as _0x457452}from'ckeditor5/src/utils.js';import _0x56a2ec from'./view/sidebarview.js';import _0x14fbcf from'./view/sidebaritemview.js';export default class z extends _0x165830{static get[_0x54fa98(0x70)](){const _0x1376cf=_0x54fa98;return _0x1376cf(0xb4);}constructor(_0x3e73ff){const _0x1c768b=_0x54fa98;super(_0x3e73ff),this[_0x1c768b(0x73)](_0x1c768b(0xb5),void 0x0),this[_0x1c768b(0xa6)]=this[_0x1c768b(0x92)](),this[_0x1c768b(0x73)](_0x1c768b(0x87),null),this[_0x1c768b(0xbb)]=0x19,this[_0x1c768b(0x91)]=new Map(),this[_0x1c768b(0x95)]=new Map(),this[_0x1c768b(0xaa)][_0x1c768b(0xb7)][_0x1c768b(0x6f)](_0x1c768b(0x8a),!0x1),this[_0x1c768b(0x9a)]=null,this[_0x1c768b(0x94)]=null,this[_0x1c768b(0x9e)]=[];}[_0x54fa98(0x88)](){const _0x1dac0a=_0x54fa98,_0x590d73=this[_0x1dac0a(0xaa)][_0x1dac0a(0xb7)][_0x1dac0a(0x78)](_0x1dac0a(0xc0));_0x590d73&&this[_0x1dac0a(0x75)](_0x590d73);}[_0x54fa98(0x75)](_0x5e0f97){const _0x1c68ed=_0x54fa98;if(!y(_0x5e0f97))throw new _0x457452(_0x1c68ed(0xc3));this[_0x1c68ed(0x87)]=_0x5e0f97;}[_0x54fa98(0x86)]({viewClass:_0x36896b='',spaceBetweenItems:_0xc21f99=0x19}={}){const _0x42d119=_0x54fa98;if(!y(this[_0x42d119(0x87)]))throw new _0x457452(_0x42d119(0x82),this);this[_0x42d119(0x87)][_0x42d119(0xbc)](this[_0x42d119(0xa6)][_0x42d119(0xbf)]),this[_0x42d119(0xa6)][_0x42d119(0x6b)]=_0x36896b,this[_0x42d119(0xbb)]=_0xc21f99;}[_0x54fa98(0xb6)]({removedAnnotation:_0x32f4f3,previousAnnotation:_0x1797d4,nextAnnotation:_0x1d93c2}){const _0x146305=_0x54fa98,_0x21abc8=this[_0x146305(0x8f)](_0x32f4f3);this[_0x146305(0xa6)][_0x146305(0x7f)][_0x146305(0x9b)](_0x21abc8),this[_0x146305(0xa5)](_0x32f4f3),_0x1797d4&&this[_0x146305(0xae)](this[_0x146305(0x8f)](_0x1797d4)),_0x1d93c2&&this[_0x146305(0xae)](this[_0x146305(0x8f)](_0x1d93c2)),this[_0x146305(0x7d)]();}[_0x54fa98(0xa9)]({blurredAnnotation:_0x48927a,activatedAnnotation:_0x2357dc,disableAnimationOnActivatedAnnotation:_0x231124}){const _0x44481a=_0x54fa98;if(this[_0x44481a(0x94)]=_0x2357dc,_0x48927a){_0x48927a[_0x44481a(0xbd)]=!0x1;const _0x16a776=this[_0x44481a(0x8f)](_0x48927a);_0x16a776&&_0x231124&&(_0x16a776[_0x44481a(0xb8)]=!0x1);}if(_0x2357dc){const _0x22197d=this[_0x44481a(0x8f)](_0x2357dc);_0x22197d&&(_0x2357dc[_0x44481a(0xbd)]=!0x0,_0x231124&&(_0x22197d[_0x44481a(0xb8)]=!0x0,_0x22197d[_0x44481a(0xb3)]+=0x1),this[_0x44481a(0xae)](_0x22197d));}}[_0x54fa98(0x9c)](_0x24e3bf){const _0x5b5feb=_0x54fa98;if(this[_0x5b5feb(0xa6)][_0x5b5feb(0xbf)][_0x5b5feb(0x9b)](),_0x24e3bf){for(const _0x423311 of _0x24e3bf)this[_0x5b5feb(0xa5)](_0x423311);}this[_0x5b5feb(0xa6)][_0x5b5feb(0x7f)][_0x5b5feb(0x8e)](),this[_0x5b5feb(0xa6)][_0x5b5feb(0x6b)]='',this[_0x5b5feb(0xb5)]=null;}[_0x54fa98(0x9f)](_0xd00a44,_0x300427){const _0x275982=_0x54fa98;_0x300427||(_0x300427=_0xd00a44[_0x275982(0xa6)]);const _0x58e0e8=new _0x14fbcf(this[_0x275982(0xaa)][_0x275982(0x8d)]);this[_0x275982(0x91)][_0x275982(0x73)](_0x58e0e8,_0xd00a44),this[_0x275982(0x95)][_0x275982(0x73)](_0xd00a44,_0x58e0e8),_0x58e0e8[_0x275982(0x7c)][_0x275982(0xba)](_0x300427),this[_0x275982(0x76)](_0xd00a44[_0x275982(0xa6)],_0x275982(0xa8),(_0x13f262,_0xad669f,_0xc95885)=>{const _0x4f4a1d=_0x275982,_0x40e281=this[_0x4f4a1d(0xc4)](_0xd00a44,_0xc95885);_0x58e0e8[_0x4f4a1d(0xa3)]!=_0x40e281&&(_0x58e0e8[_0x4f4a1d(0xa3)]=_0x40e281,this[_0x4f4a1d(0xa2)](_0x58e0e8,_0x40e281));}),this[_0x275982(0x76)](_0x58e0e8,_0x275982(0xa0),()=>{const _0x8e1b2e=_0x275982;this[_0x8e1b2e(0x96)](_0x58e0e8,_0x8e1b2e(0xb3));}),this[_0x275982(0x76)](_0x58e0e8,_0x275982(0xb0),()=>{const _0x3c48a5=_0x275982;this[_0x3c48a5(0x96)](_0x58e0e8,_0x3c48a5(0xa1));}),this[_0x275982(0xae)](_0x58e0e8);const _0x3e4690=this[_0x275982(0x7a)](_0x58e0e8);if(_0x3e4690)this[_0x275982(0xbe)](_0x3e4690,_0x58e0e8)||this[_0x275982(0xae)](_0x58e0e8);else this[_0x275982(0xae)](_0x58e0e8);return this[_0x275982(0x7d)](),this[_0x275982(0xa6)][_0x275982(0x7f)][_0x275982(0xba)](_0x58e0e8),_0x58e0e8;}[_0x54fa98(0x7e)](_0x514dd3){const _0x5b095e=_0x54fa98;if(!_0x514dd3[_0x5b095e(0x7c)][_0x5b095e(0xaf)])return;const _0x2da943=this[_0x5b095e(0x7a)](_0x514dd3);if(!_0x2da943)return;const _0x4a02b2=this[_0x5b095e(0x91)][_0x5b095e(0x78)](_0x2da943),_0x49d433=this[_0x5b095e(0x94)];_0x49d433&&_0x49d433===_0x4a02b2?this[_0x5b095e(0xbe)](_0x2da943,_0x514dd3):this[_0x5b095e(0xc1)](_0x514dd3,_0x2da943);}[_0x54fa98(0xa7)](_0x541575){const _0x4e23ed=_0x54fa98;if(!_0x541575[_0x4e23ed(0x7c)][_0x4e23ed(0xaf)])return;const _0x2b63f5=this[_0x4e23ed(0x98)](_0x541575);if(!_0x2b63f5)return;const _0x5aa28=this[_0x4e23ed(0x91)][_0x4e23ed(0x78)](_0x2b63f5),_0x562a63=this[_0x4e23ed(0xaa)][_0x4e23ed(0xb7)][_0x4e23ed(0x78)](_0x4e23ed(0x8a)),_0x1e8af2=this[_0x4e23ed(0x94)];_0x1e8af2&&_0x1e8af2===_0x5aa28&&_0x562a63?(this[_0x4e23ed(0xc1)](_0x2b63f5,_0x541575),this[_0x4e23ed(0xbe)](_0x541575,_0x2b63f5)):_0x1e8af2&&_0x1e8af2===_0x5aa28?this[_0x4e23ed(0xc1)](_0x2b63f5,_0x541575):this[_0x4e23ed(0xbe)](_0x541575,_0x2b63f5);}[_0x54fa98(0x96)](_0x3f4eb6,_0x2b6f29){const _0xafe2d9=_0x54fa98;0x0===this[_0xafe2d9(0x9e)][_0xafe2d9(0xaf)]&&setTimeout(()=>{const _0x6278ba=_0xafe2d9;for(const {sidebarItemView:_0x5298be,changedProp:_0x4c920e}of this[_0x6278ba(0x9e)])_0x6278ba(0xb3)===_0x4c920e?this[_0x6278ba(0x7e)](_0x5298be):this[_0x6278ba(0xa7)](_0x5298be);this[_0x6278ba(0x9e)]=[];},0xa),this[_0xafe2d9(0x9e)][_0xafe2d9(0x72)]({'sidebarItemView':_0x3f4eb6,'changedProp':_0x2b6f29});}[_0x54fa98(0x8f)](_0x4fdbd1){const _0x1b48c4=_0x54fa98;return this[_0x1b48c4(0x95)][_0x1b48c4(0x78)](_0x4fdbd1);}[_0x54fa98(0xac)](){const _0x1c40ac=_0x54fa98;this[_0x1c40ac(0x81)](),this[_0x1c40ac(0xa6)][_0x1c40ac(0xac)]();}[_0x54fa98(0xa5)](_0x98bf6b){const _0x158ec9=_0x54fa98,_0x3b7376=this[_0x158ec9(0x8f)](_0x98bf6b);this[_0x158ec9(0x81)](_0x3b7376),this[_0x158ec9(0x81)](_0x98bf6b[_0x158ec9(0xa6)]),_0x3b7376[_0x158ec9(0xac)](),this[_0x158ec9(0x95)][_0x158ec9(0x84)](_0x98bf6b),this[_0x158ec9(0x91)][_0x158ec9(0x84)](_0x3b7376);}[_0x54fa98(0x92)](){const _0x29a696=_0x54fa98,_0x403cdd=new _0x56a2ec(this[_0x29a696(0xaa)][_0x29a696(0x8d)]);return _0x403cdd[_0x29a696(0x80)](),this['on'](_0x29a696(0x79),(_0x26672e,_0x190fbd,_0x2debd4,_0x5394e9)=>{const _0x1e6de2=_0x29a696;_0x5394e9&&_0x403cdd[_0x1e6de2(0x85)](_0x1e6de2(0x90)),_0x2debd4?_0x403cdd[_0x1e6de2(0x7b)](_0x1e6de2(0x90))['to'](_0x2debd4,_0x1e6de2(0xa1)):_0x403cdd[_0x1e6de2(0x90)]=null;}),_0x403cdd;}[_0x54fa98(0x7d)](){const _0x3ee425=_0x54fa98;var _0x3049d1;this[_0x3ee425(0xb5)]=(null===(_0x3049d1=this[_0x3ee425(0x9a)])||void 0x0===_0x3049d1?void 0x0:_0x3049d1[_0x3ee425(0x89)])?this[_0x3ee425(0x8f)](this[_0x3ee425(0x9a)][_0x3ee425(0x89)]):null;}[_0x54fa98(0x7a)](_0x417f32){const _0x578eba=_0x54fa98;var _0x145a90;const _0x4b27a8=this[_0x578eba(0x91)][_0x578eba(0x78)](_0x417f32),_0x1d7204=_0x4b27a8&&(null===(_0x145a90=this[_0x578eba(0x9a)])||void 0x0===_0x145a90?void 0x0:_0x145a90[_0x578eba(0x78)](this[_0x578eba(0x9a)][_0x578eba(0x71)](_0x4b27a8)-0x1));return _0x1d7204&&this[_0x578eba(0x8f)](_0x1d7204)||null;}[_0x54fa98(0x98)](_0x267e35){const _0xaad0f2=_0x54fa98;var _0x357d91;const _0x7b792b=this[_0xaad0f2(0x91)][_0xaad0f2(0x78)](_0x267e35),_0x139609=_0x7b792b&&(null===(_0x357d91=this[_0xaad0f2(0x9a)])||void 0x0===_0x357d91?void 0x0:_0x357d91[_0xaad0f2(0x78)](this[_0xaad0f2(0x9a)][_0xaad0f2(0x71)](_0x7b792b)+0x1));return _0x139609&&this[_0xaad0f2(0x8f)](_0x139609)||null;}[_0x54fa98(0xc1)](_0x4bb65b,_0x21b523){const _0x31c7d4=_0x54fa98;_0x4bb65b[_0x31c7d4(0x9d)]();const _0x5b7a3c=M(_0x21b523[_0x31c7d4(0xa1)]+this[_0x31c7d4(0xbb)],_0x4bb65b[_0x31c7d4(0xb3)]);return!!_0x5b7a3c&&(this[_0x31c7d4(0xa2)](_0x21b523,_0x21b523[_0x31c7d4(0xb3)]-_0x5b7a3c),!0x0);}[_0x54fa98(0xbe)](_0x153c3d,_0x2362c2){const _0x575acf=_0x54fa98;_0x153c3d[_0x575acf(0x9d)]();const _0x2610d7=M(_0x153c3d[_0x575acf(0xa1)]+this[_0x575acf(0xbb)],_0x2362c2[_0x575acf(0xb3)]);return!!_0x2610d7&&(this[_0x575acf(0xa2)](_0x2362c2,_0x2362c2[_0x575acf(0xb3)]+_0x2610d7,!0x1),!0x0);}[_0x54fa98(0xae)](_0x1766c0){const _0x22023c=_0x54fa98,_0x56e770=this[_0x22023c(0x91)][_0x22023c(0x78)](_0x1766c0);if(!_0x56e770||!_0x56e770[_0x22023c(0xab)]||!_0x56e770[_0x22023c(0xad)])return;const _0x5a784a=this[_0x22023c(0xc4)](_0x56e770,_0x56e770[_0x22023c(0xad)]);this[_0x22023c(0xa2)](_0x1766c0,_0x5a784a);}[_0x54fa98(0xc4)](_0x5a5e58,_0x36ed22){const _0x20f40f=_0x54fa98;if(null===_0x36ed22)return 0x0;if(_0x5a5e58[_0x20f40f(0xab)]instanceof _0x231d93)return _0x36ed22[_0x20f40f(0xb3)];{const _0x41835d=new _0x231d93(this[_0x20f40f(0xa6)][_0x20f40f(0xbf)])[_0x20f40f(0xb3)];return _0x36ed22[_0x20f40f(0xb3)]-_0x41835d;}}[_0x54fa98(0xa2)](_0x2380c7,_0x35a444,_0x5e5317=this[_0x54fa98(0xaa)][_0x54fa98(0xb7)][_0x54fa98(0x78)](_0x54fa98(0x8a))){const _0x1a8c2a=_0x54fa98;_0x5e5317&&(_0x35a444=Math[_0x1a8c2a(0xb2)](_0x35a444,this[_0x1a8c2a(0x83)](_0x2380c7))),_0x2380c7[_0x1a8c2a(0xb3)]=_0x35a444;}[_0x54fa98(0x83)](_0x147591){const _0x141b4e=_0x54fa98;let _0x401cf6=this[_0x141b4e(0x7a)](_0x147591),_0x2ecf12=0x0;for(;_0x401cf6;)_0x401cf6[_0x141b4e(0x9d)](),_0x2ecf12+=this[_0x141b4e(0xbb)]+_0x401cf6[_0x141b4e(0xc2)],_0x401cf6=this[_0x141b4e(0x7a)](_0x401cf6);return _0x2ecf12;}}function M(_0x22ecd9,_0x2eb0b6){const _0xe16ecb=_0x54fa98;return Math[_0xe16ecb(0xb2)](_0x22ecd9-_0x2eb0b6,0x0);}function y(_0x17886a){const _0x333cd3=_0x54fa98;return null!==_0x17886a&&_0x333cd3(0x77)==typeof _0x17886a&&0x1===_0x17886a[_0x333cd3(0x6e)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3c3498,_0x5573a4){const _0x43cb4c=_0x448e,_0x321506=_0x3c3498();while(!![]){try{const _0x1ec108=parseInt(_0x43cb4c(0x10a))/0x1*(-parseInt(_0x43cb4c(0x10f))/0x2)+-parseInt(_0x43cb4c(0x10d))/0x3+parseInt(_0x43cb4c(0x106))/0x4*(-parseInt(_0x43cb4c(0xfa))/0x5)+parseInt(_0x43cb4c(0x10e))/0x6*(-parseInt(_0x43cb4c(0xf5))/0x7)+parseInt(_0x43cb4c(0x112))/0x8+-parseInt(_0x43cb4c(0x104))/0x9+parseInt(_0x43cb4c(0x107))/0xa;if(_0x1ec108===_0x5573a4)break;else _0x321506['push'](_0x321506['shift']());}catch(_0x31760e){_0x321506['push'](_0x321506['shift']());}}}(_0x3013,0xb1729));function _0x3013(){const _0x83592c=['33941340eWWKAq','isDirty','extendTemplate','655113atUNtN','ck-annotation-counter__badge','set','926463fYxAon','3517608HYIhtz','2MjXSXJ','bindTemplate','ck-annotation-counter__badge--edit-mode','11417280vEfyMs','7UcqCTm','children','bind','annotationType','icon','6364315xENHdA','...','toString','counterView','_badge','ck-annotation-counter__badge--','span','number','setTemplate','ck-annotation-counter','11442636jLlFgj','add','4FgYprH'];_0x3013=function(){return _0x83592c;};return _0x3013();}function _0x448e(_0x249c8e,_0x5be11a){const _0x301332=_0x3013();return _0x448e=function(_0x448eae,_0x35009c){_0x448eae=_0x448eae-0xf5;let _0x256328=_0x301332[_0x448eae];return _0x256328;},_0x448e(_0x249c8e,_0x5be11a);}import{ButtonView as _0x2dd233,View as _0x543403}from'ckeditor5/src/ui.js';import _0x4b7cb2 from'../../../theme/icons/add-comment.svg';export default class D extends _0x2dd233{constructor(_0x560a11){const _0x25fe0f=_0x448e;super(_0x560a11);const _0x1356a3=this[_0x25fe0f(0x110)];this[_0x25fe0f(0x10c)](_0x25fe0f(0x108),!0x1),this[_0x25fe0f(0x10c)](_0x25fe0f(0x101),0x0),this[_0x25fe0f(0xf7)](_0x25fe0f(0xfe))['to'](this,_0x25fe0f(0x108),this,_0x25fe0f(0x101),(_0x12911b,_0x3a51e4)=>_0x12911b?_0x25fe0f(0xfb):_0x3a51e4[_0x25fe0f(0xfc)]()),this[_0x25fe0f(0x10c)](_0x25fe0f(0xf8),''),this[_0x25fe0f(0xf9)]=_0x4b7cb2,this[_0x25fe0f(0x109)]({'attributes':{'class':[_0x25fe0f(0x103)]}}),this[_0x25fe0f(0xfd)]=new _0x543403(),this[_0x25fe0f(0xfd)][_0x25fe0f(0x102)]({'tag':_0x25fe0f(0x100),'attributes':{'class':[_0x25fe0f(0x10b),_0x1356a3['to'](_0x25fe0f(0xf8),_0x2a8d67=>_0x25fe0f(0xff)+_0x2a8d67),_0x1356a3['if'](_0x25fe0f(0x108),_0x25fe0f(0x111))]},'children':[{'text':_0x1356a3['to'](_0x25fe0f(0xfe))}]}),this[_0x25fe0f(0xf6)][_0x25fe0f(0x105)](this[_0x25fe0f(0xfd)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56137f=_0x27c4;(function(_0x3d738e,_0x1863cf){const _0x4e9472=_0x27c4,_0x99ffb6=_0x3d738e();while(!![]){try{const _0x32ed06=parseInt(_0x4e9472(0xab))/0x1+-parseInt(_0x4e9472(0x91))/0x2+parseInt(_0x4e9472(0x8f))/0x3*(-parseInt(_0x4e9472(0x92))/0x4)+-parseInt(_0x4e9472(0x87))/0x5*(-parseInt(_0x4e9472(0xa6))/0x6)+-parseInt(_0x4e9472(0x97))/0x7+parseInt(_0x4e9472(0x82))/0x8*(parseInt(_0x4e9472(0x8e))/0x9)+-parseInt(_0x4e9472(0x95))/0xa*(parseInt(_0x4e9472(0x8d))/0xb);if(_0x32ed06===_0x1863cf)break;else _0x99ffb6['push'](_0x99ffb6['shift']());}catch(_0x2cab5f){_0x99ffb6['push'](_0x99ffb6['shift']());}}}(_0x499d,0xe53d3));import{View as _0x55e5d2}from'ckeditor5/src/ui.js';import{FocusTracker as _0x122b3d,KeystrokeHandler as _0x2597bf,uid as _0x1621f5}from'ckeditor5/src/utils.js';function _0x27c4(_0xc82919,_0x342b83){const _0x499d2e=_0x499d();return _0x27c4=function(_0x27c47e,_0x3f4f08){_0x27c47e=_0x27c47e-0x82;let _0x4c6e7e=_0x499d2e[_0x27c47e];return _0x4c6e7e;},_0x27c4(_0xc82919,_0x342b83);}function _0x499d(){const _0x963c46=['_updateHeight','listenTo','isActive','clear','1363735BvrHZe','clientHeight','21512VjZELW','setTemplate','div','_mutationObserver','keystrokes','25eTJKDw','element','length','focusTracker','targetRect','ck-annotation-wrapper--active','47300SRJpDE','1773LBwzHi','1191075xiDbUH','destroy','1472734jJUJfi','12vNGGki','bindTemplate','content','790YYxZaS','detach','2172611iyvXEV','createCollection','set','add','mainView','ck-rounded-corners','focus','fire','Esc','type','height','render','ck-annotation-wrapper','isDirty','attach','1947612HgNlZg'];_0x499d=function(){return _0x963c46;};return _0x499d();}import _0x439efc from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class V extends _0x55e5d2{constructor(_0x2ff88b,_0x5cc49d){const _0x22d9bf=_0x27c4;super(_0x2ff88b),this['id']=_0x1621f5(),this[_0x22d9bf(0x8a)]=new _0x122b3d(),this[_0x22d9bf(0x86)]=new _0x2597bf(),this[_0x22d9bf(0x86)][_0x22d9bf(0x99)](_0x22d9bf(0x9f),(_0x60d6aa,_0x576f70)=>this[_0x22d9bf(0x9e)](_0x22d9bf(0x9f),_0x576f70)),this[_0x22d9bf(0x99)](_0x22d9bf(0x8b),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x22d9bf(0x99)](_0x22d9bf(0xa1),0x0),this[_0x22d9bf(0x99)](_0x22d9bf(0xa9),!0x1),this[_0x22d9bf(0x99)](_0x22d9bf(0xa4),!0x1),this[_0x22d9bf(0x99)](_0x22d9bf(0x89),0x0),this[_0x22d9bf(0x99)](_0x22d9bf(0xa0),''),this[_0x22d9bf(0x85)]=_0x439efc(()=>this[_0x22d9bf(0xa7)]()),this[_0x22d9bf(0x94)]=this[_0x22d9bf(0x98)](),this[_0x22d9bf(0x94)][_0x22d9bf(0x9a)](_0x5cc49d),this[_0x22d9bf(0x9b)]=_0x5cc49d;const _0xe5d8ac=this[_0x22d9bf(0x93)];this[_0x22d9bf(0x83)]({'tag':_0x22d9bf(0x84),'attributes':{'class':['ck',_0x22d9bf(0xa3),_0x22d9bf(0x9c),_0xe5d8ac['if'](_0x22d9bf(0xa9),_0x22d9bf(0x8c))],'tabindex':-0x1},'children':this[_0x22d9bf(0x94)]});}[_0x56137f(0xa2)](){const _0x1f499d=_0x56137f;super[_0x1f499d(0xa2)](),this[_0x1f499d(0x8a)][_0x1f499d(0x9a)](this[_0x1f499d(0x88)]),this[_0x1f499d(0x86)][_0x1f499d(0xa8)](this[_0x1f499d(0x88)]),this[_0x1f499d(0x85)][_0x1f499d(0xa5)](this[_0x1f499d(0x88)]);}[_0x56137f(0x90)](){const _0x448e0c=_0x56137f;this[_0x448e0c(0x94)][_0x448e0c(0xaa)](),this[_0x448e0c(0x86)][_0x448e0c(0x90)](),this[_0x448e0c(0x8a)][_0x448e0c(0x90)](),this[_0x448e0c(0x85)][_0x448e0c(0x96)](),super[_0x448e0c(0x90)]();}[_0x56137f(0x9d)](){const _0x4f27d5=_0x56137f;this[_0x4f27d5(0x88)][_0x4f27d5(0x9d)]();}[_0x56137f(0xa7)](){const _0x6d299e=_0x56137f,_0x20be66=this[_0x6d299e(0x88)][_0x6d299e(0xac)];_0x20be66&&(this[_0x6d299e(0xa1)]=_0x20be66);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3653f7=_0x38d5;(function(_0x49ba45,_0x3aa467){const _0x2f0c99=_0x38d5,_0x207811=_0x49ba45();while(!![]){try{const _0x8e547a=-parseInt(_0x2f0c99(0x101))/0x1+parseInt(_0x2f0c99(0xfd))/0x2*(-parseInt(_0x2f0c99(0xf4))/0x3)+parseInt(_0x2f0c99(0xf8))/0x4+-parseInt(_0x2f0c99(0xfa))/0x5*(parseInt(_0x2f0c99(0xf9))/0x6)+-parseInt(_0x2f0c99(0xed))/0x7+parseInt(_0x2f0c99(0xee))/0x8*(-parseInt(_0x2f0c99(0xec))/0x9)+parseInt(_0x2f0c99(0x102))/0xa;if(_0x8e547a===_0x3aa467)break;else _0x207811['push'](_0x207811['shift']());}catch(_0x357dc5){_0x207811['push'](_0x207811['shift']());}}}(_0xcf66,0xf3661));function _0xcf66(){const _0x44cafb=['top','height','5032352tgwRyq','30rfyYtx','1846560DqYBcg','ck-sidebar-item','bindTemplate','4kiGvfT','_targetTop','createCollection','set','1415614rXouhJ','51974000ZJwUSm','div','render','bottom','_mutationObserver','bind','element','updateHeight','ck-sidebar-item--no-animation','isAnimationDisabled','detach','9eduimu','7175679obIGKc','4359248OBWKqL','clientHeight','destroy','attach','setTemplate','clear','939525VzEufi','content'];_0xcf66=function(){return _0x44cafb;};return _0xcf66();}import{View as _0x55c234}from'ckeditor5/src/ui.js';function _0x38d5(_0x5a1e27,_0x3691e1){const _0xcf668e=_0xcf66();return _0x38d5=function(_0x38d528,_0x19c439){_0x38d528=_0x38d528-0xe8;let _0x2fb25f=_0xcf668e[_0x38d528];return _0x2fb25f;},_0x38d5(_0x5a1e27,_0x3691e1);}import{toUnit as _0xd10c1b}from'ckeditor5/src/utils.js';import _0x37ed76 from'../../utils/createmutationobserver.js';const qt=_0xd10c1b('px');export default class C extends _0x55c234{constructor(_0x4f59ba){const _0x378e73=_0x38d5;super(_0x4f59ba),this[_0x378e73(0x100)](_0x378e73(0xf6),0x0),this[_0x378e73(0x100)](_0x378e73(0xf7),0x0),this[_0x378e73(0x107)](_0x378e73(0x105))['to'](this,_0x378e73(0xf6),this,_0x378e73(0xf7),(_0x5765b6,_0x220c40)=>_0x5765b6+_0x220c40),this[_0x378e73(0x100)](_0x378e73(0xea),!0x1),this[_0x378e73(0x106)]=_0x37ed76(()=>this[_0x378e73(0xe8)]()),this[_0x378e73(0xfe)]=null,this[_0x378e73(0xf5)]=this[_0x378e73(0xff)]();const _0x3c82ce=this[_0x378e73(0xfc)];this[_0x378e73(0xf2)]({'tag':_0x378e73(0x103),'attributes':{'class':[_0x378e73(0xfb),_0x3c82ce['to'](_0x378e73(0xea),_0x51662e=>_0x51662e?_0x378e73(0xe9):'')],'style':{'top':_0x3c82ce['to'](_0x378e73(0xf6),_0x5022df=>qt(_0x5022df))}},'children':this[_0x378e73(0xf5)]});}[_0x3653f7(0x104)](){const _0x166b86=_0x3653f7;super[_0x166b86(0x104)](),this[_0x166b86(0x106)][_0x166b86(0xf1)](this[_0x166b86(0x108)]);}[_0x3653f7(0xe8)](){const _0x3f90b2=_0x3653f7,_0x1101e4=this[_0x3f90b2(0x108)][_0x3f90b2(0xef)];_0x1101e4&&(this[_0x3f90b2(0xf7)]=_0x1101e4);}[_0x3653f7(0xf0)](){const _0x32f705=_0x3653f7;this[_0x32f705(0xf5)][_0x32f705(0xf3)](),this[_0x32f705(0x106)][_0x32f705(0xeb)](),super[_0x32f705(0xf0)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x19f4(){const _0x194add=['class','2104890PTDNQA','createCollection','bindTemplate','minHeight','655552JqtngC','349004zJTEPx','1894660NCBpzD','setTemplate','list','1829366QTZEzb','div','676MjKUba','set','ck-sidebar','number','437135kKjsGp','54YkloIU','19095IBfRsn','72uWxvDL','ck-reset'];_0x19f4=function(){return _0x194add;};return _0x19f4();}(function(_0x557c18,_0x288a41){const _0x23438f=_0x5f4a,_0x2ae46c=_0x557c18();while(!![]){try{const _0x4ca87d=parseInt(_0x23438f(0x1b7))/0x1+parseInt(_0x23438f(0x1c7))/0x2+-parseInt(_0x23438f(0x1c3))/0x3*(-parseInt(_0x23438f(0x1bd))/0x4)+parseInt(_0x23438f(0x1c1))/0x5*(-parseInt(_0x23438f(0x1c2))/0x6)+-parseInt(_0x23438f(0x1bb))/0x7+parseInt(_0x23438f(0x1b6))/0x8*(-parseInt(_0x23438f(0x1c4))/0x9)+-parseInt(_0x23438f(0x1b8))/0xa;if(_0x4ca87d===_0x288a41)break;else _0x2ae46c['push'](_0x2ae46c['shift']());}catch(_0x597213){_0x2ae46c['push'](_0x2ae46c['shift']());}}}(_0x19f4,0x8e8ff));import{View as _0x24b464}from'ckeditor5/src/ui.js';import{toUnit as _0x5c0efa}from'ckeditor5/src/utils.js';function _0x5f4a(_0x3cd614,_0x481329){const _0x19f479=_0x19f4();return _0x5f4a=function(_0x5f4ae6,_0x39a27e){_0x5f4ae6=_0x5f4ae6-0x1b3;let _0x5e084c=_0x19f479[_0x5f4ae6];return _0x5e084c;},_0x5f4a(_0x3cd614,_0x481329);}import'../../../theme/sidebar.css';const qt=_0x5c0efa('px');export default class T extends _0x24b464{constructor(_0x2cc8d2){const _0x3f7114=_0x5f4a;super(_0x2cc8d2);const _0xada6bc=this[_0x3f7114(0x1b4)];this[_0x3f7114(0x1be)](_0x3f7114(0x1b5),0x0),this[_0x3f7114(0x1be)](_0x3f7114(0x1c6),''),this[_0x3f7114(0x1ba)]=this[_0x3f7114(0x1b3)](),this[_0x3f7114(0x1b9)]({'tag':_0x3f7114(0x1bc),'attributes':{'class':['ck',_0x3f7114(0x1bf),_0x3f7114(0x1c5),_0xada6bc['to'](_0x3f7114(0x1c6))],'style':{'minHeight':_0xada6bc['to'](_0x3f7114(0x1b5),_0x3d1d6d=>_0x3f7114(0x1c0)==typeof _0x3d1d6d?qt(_0x3d1d6d+0xa):null)}},'children':this[_0x3f7114(0x1ba)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x352b54=_0x1d01;function _0x3956(){const _0x2e9a43=['init','isAttached','has','updateTargetRect','_annotations','wideSidebar','addAnnotation','annotations','removeEventListener','27616RTWSdO','260140cLxADr','stopListening','editors','requires','cancel','remove','container','switchTo','6XPuhrd','set','resize','_detachFromContainer','_editorAnnotations','register','add','plugins','off','1235055bUctNW','rearrange','uiUpdate','widesidebar-detach-not-attached','attach','refreshPositioning','activeAnnotation','ready','get','pluginName','14002880RkecXY','_attachToContainer','setActiveAnnotation','destroy','detach','blur','hasDomSelection','widesidebar-attach-already-attached','WideSidebar','_destroyEditorAnnotationsIntegration','EditorAnnotations','set:container','focus','addEventListener','1txXDjK','change:container','525RHeQgq','stop','getOrderedSelectedAnnotations','from','_refreshPositioningDebounced','840978gaJTBp','context','_integrateWithEditorAnnotations','ck-sidebar--wide','high','_activeAnnotation','refresh','1955964wOLKux','listenTo','254468lotsdB'];_0x3956=function(){return _0x2e9a43;};return _0x3956();}(function(_0x52068e,_0x45e292){const _0x379778=_0x1d01,_0xa3ce53=_0x52068e();while(!![]){try{const _0x2fee84=parseInt(_0x379778(0x1e1))/0x1*(parseInt(_0x379778(0x1fc))/0x2)+parseInt(_0x379778(0x1c0))/0x3*(-parseInt(_0x379778(0x1f1))/0x4)+-parseInt(_0x379778(0x1c9))/0x5+-parseInt(_0x379778(0x1ef))/0x6+parseInt(_0x379778(0x1e3))/0x7*(-parseInt(_0x379778(0x1fb))/0x8)+-parseInt(_0x379778(0x1e8))/0x9+parseInt(_0x379778(0x1d3))/0xa;if(_0x2fee84===_0x45e292)break;else _0xa3ce53['push'](_0xa3ce53['shift']());}catch(_0x4c1692){_0xa3ce53['push'](_0xa3ce53['shift']());}}}(_0x3956,0x74a51));import{ContextPlugin as _0x672e7f,Context as _0x507288}from'ckeditor5/src/core.js';import _0x51c296 from'./annotationsuis.js';import _0x33f97f from'./sidebar.js';function _0x1d01(_0x138f01,_0x271142){const _0x395641=_0x3956();return _0x1d01=function(_0x1d0101,_0x29b883){_0x1d0101=_0x1d0101-0x1be;let _0x26b13e=_0x395641[_0x1d0101];return _0x26b13e;},_0x1d01(_0x138f01,_0x271142);}import{CKEditorError as _0x55fe2f,Collection as _0xcd4742}from'ckeditor5/src/utils.js';import{debounce as _0x46ce8a}from'lodash-es';export default class n extends _0x672e7f{static get[_0x352b54(0x1ff)](){return[_0x33f97f,_0x51c296];}static get[_0x352b54(0x1d2)](){const _0x3da098=_0x352b54;return _0x3da098(0x1db);}constructor(_0x20c27f){const _0x58c880=_0x352b54;super(_0x20c27f),this[_0x58c880(0x1f3)]=!0x1,this[_0x58c880(0x1c1)](_0x58c880(0x1cf),null),this[_0x58c880(0x1f9)]=null,this[_0x58c880(0x1c4)]=new _0xcd4742(),this[_0x58c880(0x1e7)]=_0x46ce8a(()=>{const _0x44e3ad=_0x58c880;this[_0x44e3ad(0x1f9)][_0x44e3ad(0x1ce)]();},0xfa,{'leading':!0x1});}[_0x352b54(0x1f2)](){const _0x4ee837=_0x352b54,_0x24a55b=this[_0x4ee837(0x1e9)][_0x4ee837(0x1c7)][_0x4ee837(0x1d1)](_0x51c296),_0xfe414d=this[_0x4ee837(0x1e9)][_0x4ee837(0x1c7)][_0x4ee837(0x1d1)](_0x33f97f);_0x24a55b[_0x4ee837(0x1c5)](_0x4ee837(0x1f7),this),_0xfe414d[_0x4ee837(0x1be)]&&_0x24a55b[_0x4ee837(0x1bf)](_0x4ee837(0x1f7));}[_0x352b54(0x1d5)](_0x3f4ef9){const _0x56e9c7=_0x352b54;if(_0x3f4ef9===this[_0x56e9c7(0x1cf)])return;const _0x588388=this[_0x56e9c7(0x1e9)][_0x56e9c7(0x1c7)][_0x56e9c7(0x1d1)](_0x33f97f);_0x588388[_0x56e9c7(0x1ed)]=_0x3f4ef9;const _0x5d0399=this[_0x56e9c7(0x1cf)];this[_0x56e9c7(0x1cf)]=_0x3f4ef9,_0x588388[_0x56e9c7(0x1ee)]({'blurredAnnotation':_0x5d0399,'activatedAnnotation':this[_0x56e9c7(0x1cf)]});}[_0x352b54(0x1cd)](_0xffa2da){const _0x8a977f=_0x352b54;this[_0x8a977f(0x1f9)]=_0xffa2da;const _0x418245=this[_0x8a977f(0x1e9)][_0x8a977f(0x1c7)][_0x8a977f(0x1d1)](_0x33f97f);if(_0x418245[_0x8a977f(0x1f6)]=_0xffa2da,this[_0x8a977f(0x1f3)])throw new _0x55fe2f(_0x8a977f(0x1da),this);this[_0x8a977f(0x1f3)]=!0x0,this[_0x8a977f(0x1f0)](_0x418245,_0x8a977f(0x1de),()=>{const _0xa4bd1d=_0x8a977f;this[_0xa4bd1d(0x1d7)](),this[_0xa4bd1d(0x1f0)](_0x418245,_0xa4bd1d(0x1e2),_0x55ffa7=>{const _0x5a41d6=_0xa4bd1d;_0x55ffa7[_0x5a41d6(0x1c8)](),this[_0x5a41d6(0x1cd)](_0xffa2da);});}),_0x418245[_0x8a977f(0x1d4)]({'viewClass':_0x8a977f(0x1eb)});const _0x218679=_0x1b2e37=>{const _0x480e7e=_0x8a977f;_0x1b2e37[_0x480e7e(0x1f5)](),_0x418245[_0x480e7e(0x1f8)](_0x1b2e37);};for(const _0xe29bf4 of _0xffa2da)_0x218679(_0xe29bf4);this[_0x8a977f(0x1f0)](_0xffa2da,_0x8a977f(0x1c6),(_0x392d02,_0x333671)=>{_0x218679(_0x333671);}),this[_0x8a977f(0x1f0)](_0xffa2da,_0x8a977f(0x201),(_0x755625,_0x9fad0b,_0xfc28b1)=>{const _0x1cca94=_0x8a977f;_0x418245[_0x1cca94(0x1ca)]({'removedAnnotation':_0x9fad0b,'previousAnnotation':_0xffa2da[_0x1cca94(0x1d1)](_0xfc28b1-0x1),'nextAnnotation':_0xffa2da[_0x1cca94(0x1d1)](_0xfc28b1+0x1)}),_0x9fad0b===this[_0x1cca94(0x1cf)]&&this[_0x1cca94(0x1d5)](null);},{'priority':_0x8a977f(0x1ec)}),this[_0x8a977f(0x1f0)](_0xffa2da,_0x8a977f(0x1df),(_0x428e30,_0x170bd1)=>{const _0x118cec=_0x8a977f;this[_0x118cec(0x1d5)](_0x170bd1);}),this[_0x8a977f(0x1f0)](_0xffa2da,_0x8a977f(0x1d8),()=>{const _0x551730=_0x8a977f;this[_0x551730(0x1d5)](null);});const _0x136fda=this[_0x8a977f(0x1e9)]instanceof _0x507288?this[_0x8a977f(0x1e9)][_0x8a977f(0x1fe)]:new _0xcd4742([this[_0x8a977f(0x1e9)]]);for(const _0x51e125 of _0x136fda)this[_0x8a977f(0x1ea)](_0x51e125);this[_0x8a977f(0x1f0)](_0x136fda,_0x8a977f(0x1c6),(_0x342aa3,_0x3cd78e)=>{const _0x3a972d=_0x8a977f;this[_0x3a972d(0x1f0)](_0x3cd78e,_0x3a972d(0x1d0),()=>{const _0x2deadc=_0x3a972d;this[_0x2deadc(0x1ea)](_0x3cd78e);});}),this[_0x8a977f(0x1f0)](_0x136fda,_0x8a977f(0x201),(_0x1408cb,_0x4b1421)=>{const _0x10b7fd=_0x8a977f;_0x4b1421[_0x10b7fd(0x1c7)][_0x10b7fd(0x1f4)](_0x10b7fd(0x1dd))&&this[_0x10b7fd(0x1dc)](_0x4b1421[_0x10b7fd(0x1c7)][_0x10b7fd(0x1d1)](_0x10b7fd(0x1dd)));}),window[_0x8a977f(0x1e0)](_0x8a977f(0x1c2),this[_0x8a977f(0x1e7)]),this[_0x8a977f(0x1f9)][_0x8a977f(0x1ce)]();}[_0x352b54(0x1d7)](){const _0x1567af=_0x352b54;if(!this[_0x1567af(0x1f3)])throw new _0x55fe2f(_0x1567af(0x1cc),this);this[_0x1567af(0x1d5)](null);const _0x2c9afa=this[_0x1567af(0x1e9)][_0x1567af(0x1c7)][_0x1567af(0x1d1)](_0x33f97f);_0x2c9afa[_0x1567af(0x1c3)](this[_0x1567af(0x1f9)]),this[_0x1567af(0x1fd)](_0x2c9afa),this[_0x1567af(0x1fd)](this[_0x1567af(0x1f9)]),this[_0x1567af(0x1e9)]instanceof _0x507288&&this[_0x1567af(0x1fd)](this[_0x1567af(0x1e9)][_0x1567af(0x1fe)]);for(const _0x1dcfed of Array[_0x1567af(0x1e6)](this[_0x1567af(0x1c4)]))this[_0x1567af(0x1dc)](_0x1dcfed);window[_0x1567af(0x1fa)](_0x1567af(0x1c2),this[_0x1567af(0x1e7)]),this[_0x1567af(0x1e7)][_0x1567af(0x200)](),this[_0x1567af(0x1cf)]=null,this[_0x1567af(0x1f3)]=!0x1,this[_0x1567af(0x1f9)]=null;}[_0x352b54(0x1d6)](){const _0x5aa309=_0x352b54;this[_0x5aa309(0x1f3)]&&this[_0x5aa309(0x1d7)]();}[_0x352b54(0x1ea)](_0x1481bc){const _0x2b15e0=_0x352b54;if(!_0x1481bc[_0x2b15e0(0x1c7)][_0x2b15e0(0x1f4)](_0x2b15e0(0x1dd)))return;const _0x1c62ec=_0x1481bc[_0x2b15e0(0x1c7)][_0x2b15e0(0x1d1)](_0x2b15e0(0x1dd)),_0x259e10=()=>{const _0x223dda=_0x2b15e0,_0x3ce0b7=_0x1c62ec[_0x223dda(0x1e5)]({'annotations':this[_0x223dda(0x1f9)],'activeAnnotation':this[_0x223dda(0x1cf)]});this[_0x223dda(0x1d5)](_0x3ce0b7[0x0]||null);};this[_0x2b15e0(0x1f0)](_0x1c62ec,_0x2b15e0(0x1ee),_0x259e10),this[_0x2b15e0(0x1f0)](_0x1c62ec,_0x2b15e0(0x1d8),(_0x9eb2a3,{isAnnotationTracked:_0x521aef})=>{const _0x491d65=_0x2b15e0;this[_0x491d65(0x1cf)]&&_0x521aef(this[_0x491d65(0x1cf)])&&this[_0x491d65(0x1d5)](null);}),this[_0x2b15e0(0x1f0)](_0x1c62ec,_0x2b15e0(0x1cb),()=>{const _0x4911f0=_0x2b15e0;this[_0x4911f0(0x1e7)]();}),this[_0x2b15e0(0x1f0)](this[_0x2b15e0(0x1f9)],_0x2b15e0(0x1d8),_0x32f696=>{const _0x3f9e3d=_0x2b15e0;_0x1c62ec[_0x3f9e3d(0x1d9)]()&&(_0x259e10(),_0x32f696[_0x3f9e3d(0x1e4)]());},{'priority':_0x2b15e0(0x1ec)}),this[_0x2b15e0(0x1c4)][_0x2b15e0(0x1c6)](_0x1c62ec);}[_0x352b54(0x1dc)](_0x2e5df7){const _0x3d82f4=_0x352b54;this[_0x3d82f4(0x1fd)](_0x2e5df7),this[_0x3d82f4(0x1c4)][_0x3d82f4(0x201)](_0x2e5df7);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xac148b=_0x17e5;(function(_0x32ff24,_0x1363f4){const _0x3b8448=_0x17e5,_0x3998d7=_0x32ff24();while(!![]){try{const _0x46af1b=-parseInt(_0x3b8448(0x157))/0x1+parseInt(_0x3b8448(0x16f))/0x2+-parseInt(_0x3b8448(0x14d))/0x3*(parseInt(_0x3b8448(0x163))/0x4)+parseInt(_0x3b8448(0x154))/0x5*(-parseInt(_0x3b8448(0x150))/0x6)+-parseInt(_0x3b8448(0x15d))/0x7+-parseInt(_0x3b8448(0x16d))/0x8+parseInt(_0x3b8448(0x165))/0x9;if(_0x46af1b===_0x1363f4)break;else _0x3998d7['push'](_0x3998d7['shift']());}catch(_0xdce8a0){_0x3998d7['push'](_0x3998d7['shift']());}}}(_0x4379,0x8a9cb));function _0x4379(){const _0x3a7d45=['item','selection','end','3055bVZGIU','element','comment:','880553mFUzYE','isObject','_hasContent','document','change','_itemIsContent','3843805ytSKtV','push','getRanges','schema','_trimToContent','$textProxy','3654476TuykIM','execute','38544237FpemtU','tableCell','editor','substr','start','model','refresh','backward','7729976LfOhwg','addMarker','964758GszDEF','getItems','createRange','3myhUeD','isEnabled','getLastMatchingPosition','8718dVKMPY'];_0x4379=function(){return _0x3a7d45;};return _0x4379();}import{Command as _0x2a3218}from'ckeditor5/src/core.js';import{uid as _0x59dfc9}from'ckeditor5/src/utils.js';function _0x17e5(_0x5ba959,_0x4015d1){const _0x4379c8=_0x4379();return _0x17e5=function(_0x17e52d,_0x196e79){_0x17e52d=_0x17e52d-0x14b;let _0x2812ac=_0x4379c8[_0x17e52d];return _0x2812ac;},_0x17e5(_0x5ba959,_0x4015d1);}export default class G extends _0x2a3218{[_0xac148b(0x16b)](){const _0x18c0ee=_0xac148b,_0x1cbf7f=this[_0x18c0ee(0x167)][_0x18c0ee(0x16a)][_0x18c0ee(0x15a)][_0x18c0ee(0x152)];for(const _0x2bd072 of _0x1cbf7f[_0x18c0ee(0x15f)]())if(this[_0x18c0ee(0x159)](_0x2bd072))return void(this[_0x18c0ee(0x14e)]=!0x0);this[_0x18c0ee(0x14e)]=!0x1;}[_0xac148b(0x164)]({threadId:_0x310db3=_0x59dfc9()}={}){const _0x42903d=_0xac148b,_0x286ccb=this[_0x42903d(0x167)][_0x42903d(0x16a)],_0xed849=[];for(const _0x2bb00d of _0x286ccb[_0x42903d(0x15a)][_0x42903d(0x152)][_0x42903d(0x15f)]())this[_0x42903d(0x159)](_0x2bb00d)&&_0xed849[_0x42903d(0x15e)](this[_0x42903d(0x161)](_0x2bb00d));_0x286ccb[_0x42903d(0x15b)](_0x233fab=>{const _0x4a14c2=_0x42903d;for(const _0xd84c39 of _0xed849){const _0x40b1dc=_0x59dfc9()[_0x4a14c2(0x168)](0x1,0x5),_0x253f7f=_0x4a14c2(0x156)+_0x310db3+':'+_0x40b1dc;_0x233fab[_0x4a14c2(0x16e)](_0x253f7f,{'range':_0xd84c39,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0xac148b(0x159)](_0x143122){const _0x237538=_0xac148b;for(const _0x393c99 of _0x143122[_0x237538(0x14b)]())if(this[_0x237538(0x15c)](_0x393c99))return!0x0;return!0x1;}[_0xac148b(0x15c)](_0x3395ee){const _0x4724f3=_0xac148b;return _0x3395ee['is'](_0x4724f3(0x162))||this[_0x4724f3(0x167)][_0x4724f3(0x16a)][_0x4724f3(0x160)][_0x4724f3(0x158)](_0x3395ee)&&!_0x3395ee['is'](_0x4724f3(0x155),_0x4724f3(0x166));}[_0xac148b(0x161)](_0x1b8efb){const _0x4cbe33=_0xac148b,_0x3f4f4a=_0x4af962=>!this[_0x4cbe33(0x15c)](_0x4af962[_0x4cbe33(0x151)]),_0x547782=_0x1b8efb[_0x4cbe33(0x169)][_0x4cbe33(0x14f)](_0x3f4f4a),_0x2050de=_0x1b8efb[_0x4cbe33(0x153)][_0x4cbe33(0x14f)](_0x3f4f4a,{'direction':_0x4cbe33(0x16c)});return this[_0x4cbe33(0x167)][_0x4cbe33(0x16a)][_0x4cbe33(0x14c)](_0x547782,_0x2050de);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4023(_0x49ebd5,_0xda48f2){const _0x11b8e6=_0x11b8();return _0x4023=function(_0x4023fb,_0x172cea){_0x4023fb=_0x4023fb-0x18a;let _0x4fb4f7=_0x11b8e6[_0x4023fb];return _0x4fb4f7;},_0x4023(_0x49ebd5,_0xda48f2);}const _0x17a7ab=_0x4023;(function(_0x33ed39,_0x3fede7){const _0x265447=_0x4023,_0x26aeea=_0x33ed39();while(!![]){try{const _0x1de4cc=parseInt(_0x265447(0x19a))/0x1*(-parseInt(_0x265447(0x18e))/0x2)+parseInt(_0x265447(0x190))/0x3*(-parseInt(_0x265447(0x196))/0x4)+-parseInt(_0x265447(0x1aa))/0x5*(-parseInt(_0x265447(0x198))/0x6)+-parseInt(_0x265447(0x19d))/0x7*(-parseInt(_0x265447(0x18b))/0x8)+parseInt(_0x265447(0x1af))/0x9*(parseInt(_0x265447(0x1a4))/0xa)+-parseInt(_0x265447(0x193))/0xb*(-parseInt(_0x265447(0x192))/0xc)+parseInt(_0x265447(0x19f))/0xd*(-parseInt(_0x265447(0x18d))/0xe);if(_0x1de4cc===_0x3fede7)break;else _0x26aeea['push'](_0x26aeea['shift']());}catch(_0x5bb764){_0x26aeea['push'](_0x26aeea['shift']());}}}(_0x11b8,0xde20c));import{ContextPlugin as _0x1a6d5a}from'ckeditor5/src/core.js';import{Collection as _0x262a56}from'ckeditor5/src/utils.js';import _0x126de0 from'./commentsrepository.js';import _0x575ed4 from'../annotations/annotations.js';export default class p extends _0x1a6d5a{static get[_0x17a7ab(0x197)](){const _0xcb2ab2=_0x17a7ab;return _0xcb2ab2(0x1a1);}static get[_0x17a7ab(0x1b1)](){return[_0x126de0,_0x575ed4];}constructor(_0x255e2e){const _0x5b03af=_0x17a7ab;super(_0x255e2e),this[_0x5b03af(0x19b)]=new _0x262a56();}[_0x17a7ab(0x1a5)](){const _0x472e2b=_0x17a7ab,_0x495304=this[_0x472e2b(0x1ab)],_0x4a707d=_0x495304[_0x472e2b(0x1ad)][_0x472e2b(0x1a8)](_0x126de0),_0x2b0102=_0x495304[_0x472e2b(0x1ad)][_0x472e2b(0x1a8)](_0x575ed4);this[_0x472e2b(0x1a0)](_0x4a707d,_0x472e2b(0x19e),(_0x59863c,{threadId:_0x2bbefa})=>{const _0x4b9aac=_0x472e2b,_0x5e6b4d=_0x4a707d[_0x4b9aac(0x194)](_0x2bbefa);_0x5e6b4d[_0x4b9aac(0x1a9)]&&this[_0x4b9aac(0x19b)][_0x4b9aac(0x1a3)](_0x5e6b4d,this[_0x4b9aac(0x18a)](_0x5e6b4d[_0x4b9aac(0x1a9)])),this[_0x4b9aac(0x1a0)](_0x5e6b4d,_0x4b9aac(0x1a6),(_0x5a0d3e,_0x34e311,_0x4aeed9)=>{const _0x5a0296=_0x4b9aac;_0x4aeed9?this[_0x5a0296(0x19b)][_0x5a0296(0x199)](_0x5e6b4d)||this[_0x5a0296(0x19b)][_0x5a0296(0x1a3)](_0x5e6b4d,this[_0x5a0296(0x18a)](_0x5e6b4d[_0x5a0296(0x1a9)])):this[_0x5a0296(0x19b)][_0x5a0296(0x199)](_0x5e6b4d)&&this[_0x5a0296(0x19b)][_0x5a0296(0x18f)](_0x5e6b4d);});}),this[_0x472e2b(0x1a0)](_0x4a707d,_0x472e2b(0x1ae),(_0xc09da0,{threadId:_0x38078d})=>{const _0x4f67c0=_0x472e2b,_0x572237=_0x4a707d[_0x4f67c0(0x194)](_0x38078d);this[_0x4f67c0(0x1ac)](_0x572237),this[_0x4f67c0(0x19b)][_0x4f67c0(0x199)](_0x572237)&&this[_0x4f67c0(0x19b)][_0x4f67c0(0x18f)](_0x572237);},{'priority':_0x472e2b(0x1b0)}),this[_0x472e2b(0x1a0)](_0x2b0102[_0x472e2b(0x19c)],_0x472e2b(0x18c),(_0x499bcf,_0x6d5519)=>{const _0x4c72f7=_0x472e2b;_0x6d5519[_0x4c72f7(0x1a7)]=!0x0,_0x2b0102[_0x4c72f7(0x195)](_0x6d5519);});}[_0x17a7ab(0x18a)](_0x3c4157){const _0x48ba50=_0x17a7ab,_0x2dc005=[...this[_0x48ba50(0x19b)]][_0x48ba50(0x1a2)](_0x3ceb19=>_0x3ceb19[_0x48ba50(0x1a9)]<_0x3c4157);return _0x2dc005>-0x1?_0x2dc005:this[_0x48ba50(0x19b)][_0x48ba50(0x191)];}}function _0x11b8(){const _0x186e18=['1662474nbsWWe','getCommentThread','activate','37540jiuuUM','pluginName','5511378bNecfk','has','203327ZhlSOz','archivedThreads','collection','4109wiIfPi','addCommentThread','26FqIWKe','listenTo','CommentsArchive','findIndex','add','4250sGYdPJ','init','change:archivedAt','isActive','get','archivedAt','5qDYOEu','context','stopListening','plugins','removeCommentThread','28143XzQoJb','highest','requires','_calculatePosition','6664iDHvbu','focus','3844442PLhutI','10WUNZir','remove','180ICjHFg','length','24FUHpHm'];_0x11b8=function(){return _0x186e18;};return _0x11b8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5af317=_0xd664;function _0x1b2e(){const _0x44a66a=['938zubexS','set','CommentsArchiveUI','535402GJqiuk','isEnabled','hide','innerView','stopListening','Dialog','isVisible','getByInnerView','9bWGLrp','add','CommentsRepository','_calculatePosition','get','bind','_visibleAnnotations','33RVfOdd','menuBar:commentsArchive','execute','editor','EDITOR_TOP_SIDE','locale','177340LMMdcR','length','init','componentFactory','focusableElements','_threadToController','listenTo','filter','424134CmIFfB','tooltip','plugins','11034TzYbmN','indexOf','commentsArchiveView','COMMENTS_ARCHIVE','collection','show','589485IYOOWq','archivedThreads','channelId','9314520sQvsIb','annotationViews','pluginName','4195960vaxQQO','Annotations','_pendingThreads','_toggleDialog','remove','find','config','view','_createCommentsArchiveButton','commentsArchive','push','collaboration.channelId','findIndex','splice','requires','archivedAt'];_0x1b2e=function(){return _0x44a66a;};return _0x1b2e();}(function(_0x2b0a27,_0x12d175){const _0x598d70=_0xd664,_0x15a63a=_0x2b0a27();while(!![]){try{const _0x1b9460=parseInt(_0x598d70(0x1c7))/0x1+parseInt(_0x598d70(0x1a5))/0x2+-parseInt(_0x598d70(0x1d6))/0x3*(-parseInt(_0x598d70(0x1dc))/0x4)+-parseInt(_0x598d70(0x1ae))/0x5+parseInt(_0x598d70(0x1a8))/0x6*(-parseInt(_0x598d70(0x1c4))/0x7)+-parseInt(_0x598d70(0x1b4))/0x8*(-parseInt(_0x598d70(0x1cf))/0x9)+-parseInt(_0x598d70(0x1b1))/0xa;if(_0x1b9460===_0x12d175)break;else _0x15a63a['push'](_0x15a63a['shift']());}catch(_0x51122b){_0x15a63a['push'](_0x15a63a['shift']());}}}(_0x1b2e,0x71402));import'../../theme/commentsarchive.css';import{Plugin as _0x32a9ad}from'ckeditor5/src/core.js';import{ViewCollection as _0x5a7dad,MenuBarMenuListItemButtonView as _0x5e3d71,ButtonView as _0xf36b97,Dialog as _0xd8c400,DialogViewPosition as _0x3367c7}from'ckeditor5/src/ui.js';import _0x15798d from'../../theme/icons/comments-archive.svg';function _0xd664(_0x5b678e,_0x39f1bf){const _0x1b2e15=_0x1b2e();return _0xd664=function(_0xd66463,_0x2cd382){_0xd66463=_0xd66463-0x1a3;let _0x4d8141=_0x1b2e15[_0xd66463];return _0x4d8141;},_0xd664(_0x5b678e,_0x39f1bf);}import{getTranslation as _0x45f227}from'../utils/common-translations.js';import _0x2613dd from'./ui/view/commentsarchiveview.js';import _0x125a65 from'./commentsarchive.js';export default class a extends _0x32a9ad{static get[_0x5af317(0x1b3)](){const _0x552796=_0x5af317;return _0x552796(0x1c6);}static get[_0x5af317(0x1c2)](){return[_0x125a65,_0xd8c400];}constructor(_0x22d600){const _0x2eb426=_0x5af317;super(_0x22d600),this[_0x2eb426(0x1b2)]=new _0x5a7dad(),this[_0x2eb426(0x1b6)]=[];}[_0x5af317(0x1de)](){const _0xd9840c=_0x5af317;this[_0xd9840c(0x1d9)]['ui'][_0xd9840c(0x1df)][_0xd9840c(0x1d0)](_0xd9840c(0x1bd),()=>this[_0xd9840c(0x1bc)](_0xf36b97,!0x0)),this[_0xd9840c(0x1d9)]['ui'][_0xd9840c(0x1df)][_0xd9840c(0x1d0)](_0xd9840c(0x1d7),()=>this[_0xd9840c(0x1bc)](_0x5e3d71));const _0x5eae6b=this[_0xd9840c(0x1d9)][_0xd9840c(0x1a7)][_0xd9840c(0x1d3)](_0x125a65),_0xb7ce1d=this[_0xd9840c(0x1d9)][_0xd9840c(0x1a7)][_0xd9840c(0x1d3)](_0xd9840c(0x1b5)),_0x767451=this[_0xd9840c(0x1d9)][_0xd9840c(0x1a7)][_0xd9840c(0x1d3)](_0xd9840c(0x1d1));this[_0xd9840c(0x1a3)](_0x5eae6b[_0xd9840c(0x1af)],_0xd9840c(0x1d0),(_0x1866fa,_0x4c5c11)=>{const _0x4e7c4b=_0xd9840c,_0x7233fc=this[_0x4e7c4b(0x1d9)][_0x4e7c4b(0x1ba)][_0x4e7c4b(0x1d3)](_0x4e7c4b(0x1bf));if(!_0x7233fc||_0x4c5c11[_0x4e7c4b(0x1b0)]===_0x7233fc){const _0x56a436=_0x767451[_0x4e7c4b(0x1e1)][_0x4e7c4b(0x1d3)](_0x4c5c11);if(!_0x56a436)return void this[_0x4e7c4b(0x1b6)][_0x4e7c4b(0x1be)](_0x4c5c11);const _0x1f56a0=this[_0x4e7c4b(0x1d2)](_0x4c5c11[_0x4e7c4b(0x1c3)]),_0x1f2487=_0xb7ce1d[_0x4e7c4b(0x1ce)](_0x56a436[_0x4e7c4b(0x1bb)]);_0x1f2487[_0x4e7c4b(0x1cd)]&&_0xb7ce1d[_0x4e7c4b(0x1d5)][_0x4e7c4b(0x1b8)](_0x1f2487),this[_0x4e7c4b(0x1b2)][_0x4e7c4b(0x1d0)](_0x1f2487[_0x4e7c4b(0x1bb)],_0x1f56a0);}}),this[_0xd9840c(0x1a3)](_0xb7ce1d[_0xd9840c(0x1ac)],_0xd9840c(0x1d0),(_0x13c544,_0x2b13dc)=>{const _0x3fa4ad=_0xd9840c,_0x3a79d4=this[_0x3fa4ad(0x1b6)][_0x3fa4ad(0x1b9)](_0x2d8137=>{const _0x159171=_0x3fa4ad,_0xca5530=_0x767451[_0x159171(0x1e1)][_0x159171(0x1d3)](_0x2d8137);return _0xca5530&&_0x2b13dc[_0x159171(0x1ca)]===_0xca5530[_0x159171(0x1bb)];});if(_0x3a79d4){const _0x4ca780=this[_0x3fa4ad(0x1d2)](_0x3a79d4[_0x3fa4ad(0x1c3)]);this[_0x3fa4ad(0x1b2)][_0x3fa4ad(0x1d0)](_0x2b13dc[_0x3fa4ad(0x1bb)],_0x4ca780),this[_0x3fa4ad(0x1b6)][_0x3fa4ad(0x1c1)](this[_0x3fa4ad(0x1b6)][_0x3fa4ad(0x1a9)](_0x3a79d4),0x1);}}),this[_0xd9840c(0x1a3)](_0x5eae6b[_0xd9840c(0x1af)],_0xd9840c(0x1b8),(_0x38b24b,_0xe3f10c)=>{const _0x26ddef=_0xd9840c,_0x5bbb8f=this[_0x26ddef(0x1d9)][_0x26ddef(0x1ba)][_0x26ddef(0x1d3)](_0x26ddef(0x1bf));if(!_0x5bbb8f||_0xe3f10c[_0x26ddef(0x1b0)]===_0x5bbb8f){const _0x5a9949=_0x767451[_0x26ddef(0x1e1)][_0x26ddef(0x1d3)](_0xe3f10c),_0x46f00a=_0xb7ce1d[_0x26ddef(0x1ce)](_0x5a9949[_0x26ddef(0x1bb)]);this[_0x26ddef(0x1b2)][_0x26ddef(0x1b8)](_0x46f00a[_0x26ddef(0x1bb)]),this[_0x26ddef(0x1cb)](_0x46f00a[_0x26ddef(0x1e0)]);}});}[_0x5af317(0x1d2)](_0x3e1a00){const _0x32053f=_0x5af317,_0x16ad3a=this[_0x32053f(0x1d9)][_0x32053f(0x1ba)][_0x32053f(0x1d3)](_0x32053f(0x1bf)),_0x2fa7c8=[...this[_0x32053f(0x1d9)][_0x32053f(0x1a7)][_0x32053f(0x1d3)](_0x125a65)[_0x32053f(0x1af)]][_0x32053f(0x1a4)](_0x218b32=>_0x218b32[_0x32053f(0x1b0)]===_0x16ad3a)[_0x32053f(0x1c0)](_0x1599e6=>_0x1599e6[_0x32053f(0x1c3)]<_0x3e1a00);return _0x2fa7c8<0x0||_0x2fa7c8>this[_0x32053f(0x1b2)][_0x32053f(0x1dd)]?this[_0x32053f(0x1b2)][_0x32053f(0x1dd)]:_0x2fa7c8-0x1;}[_0x5af317(0x1b7)](){const _0x31919a=_0x5af317,_0x56c270=this[_0x31919a(0x1d9)],_0x15b35f=_0x56c270[_0x31919a(0x1a7)][_0x31919a(0x1d3)](_0x31919a(0x1cc));this[_0x31919a(0x1aa)]||(this[_0x31919a(0x1aa)]=new _0x2613dd(_0x56c270[_0x31919a(0x1db)],this[_0x31919a(0x1b2)])),_0x31919a(0x1bd)===_0x15b35f['id']?_0x15b35f[_0x31919a(0x1c9)]():_0x15b35f[_0x31919a(0x1ad)]({'id':_0x31919a(0x1bd),'title':_0x45f227(_0x56c270[_0x31919a(0x1db)],_0x31919a(0x1ab)),'icon':_0x15798d,'hasCloseButton':!0x0,'content':this[_0x31919a(0x1aa)],'position':_0x3367c7[_0x31919a(0x1da)]});}[_0x5af317(0x1bc)](_0x1902b4,_0x56e7f6=!0x1){const _0x4e5826=_0x5af317,_0x32ef32=this[_0x4e5826(0x1d9)][_0x4e5826(0x1db)],_0x19dcfb=new _0x1902b4(_0x32ef32);return _0x19dcfb[_0x4e5826(0x1d4)](_0x4e5826(0x1c8))['to'](this,_0x4e5826(0x1c8)),_0x19dcfb[_0x4e5826(0x1c5)]({'label':_0x45f227(_0x32ef32,_0x4e5826(0x1ab)),'icon':_0x15798d}),_0x56e7f6&&(_0x19dcfb[_0x4e5826(0x1a6)]=!0x0),this[_0x4e5826(0x1a3)](_0x19dcfb,_0x4e5826(0x1d8),()=>this[_0x4e5826(0x1b7)]()),_0x19dcfb;}}
|