@ckeditor/ckeditor5-comments 41.4.0-alpha.0 → 41.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/build/translations/ti.js +1 -0
- package/dist/index.css +64 -0
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +23 -0
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +23 -0
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +23 -0
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +23 -0
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +23 -0
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +23 -0
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +23 -0
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +23 -0
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +23 -0
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +23 -0
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +23 -0
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/ti.d.ts +8 -0
- package/dist/translations/ti.js +23 -0
- package/dist/translations/ti.umd.js +23 -0
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +23 -0
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +23 -0
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +23 -0
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +23 -0
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +23 -0
- package/dist/types/comments/commentsrepository.d.ts +1 -1
- package/lang/translations/ti.po +120 -0
- package/package.json +3 -3
- package/src/annotations/annotation.js +1 -1
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +1 -1
- package/src/comments/commentsrepository.js +1 -1
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/annotation.css +13 -0
- package/theme/comment.css +4 -0
- package/theme/commentinput.css +4 -0
- package/theme/commentthread.css +8 -0
- package/theme/sidebar.css +8 -0
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x143724=_0x4786;(function(_0x429f1c,_0x1ce153){const _0x460643=_0x4786,_0x59c3a4=_0x429f1c();while(!![]){try{const _0x467aa8=parseInt(_0x460643(0xbe))/0x1*(-parseInt(_0x460643(0x9e))/0x2)+-parseInt(_0x460643(0xd3))/0x3*(parseInt(_0x460643(0xc2))/0x4)+parseInt(_0x460643(0xbc))/0x5*(parseInt(_0x460643(0xa3))/0x6)+parseInt(_0x460643(0xd6))/0x7*(parseInt(_0x460643(0xb5))/0x8)+-parseInt(_0x460643(0x9f))/0x9+parseInt(_0x460643(0xad))/0xa+-parseInt(_0x460643(0xc4))/0xb*(-parseInt(_0x460643(0xb9))/0xc);if(_0x467aa8===_0x1ce153)break;else _0x59c3a4['push'](_0x59c3a4['shift']());}catch(_0x190b18){_0x59c3a4['push'](_0x59c3a4['shift']());}}}(_0x1e76,0x8106a));function _0x4786(_0x15c908,_0x25b109){const _0x1e7615=_0x1e76();return _0x4786=function(_0x478604,_0x273649){_0x478604=_0x478604-0x9b;let _0x42f254=_0x1e7615[_0x478604];return _0x42f254;},_0x4786(_0x15c908,_0x25b109);}import{Plugin as _0x27595a}from'ckeditor5/src/core.js';import{CKEditorError as _0x49c343}from'ckeditor5/src/utils.js';import{debounce as _0x1bf135}from'lodash-es';function _0x1e76(){const _0x4377ab=['6cGxJtJ','blur','annotation','18949JYKmXc','focusTracker','registerAnnotation','innerView','update','set','init','editing','uiUpdate','2zXutTm','9262566pLqyiR','getRanges','isEqual','add','4190124EfIbdz','refreshSelectedViews','addSourceCollector','view','fire','cancel','collection','_dataCollectors','requires','directChange','4489470gCBKEe','isReadOnly','map','_editorAnnotationsData','get','push','has','pluginName','1480mGDynH','EditorAnnotations','editorannotations-invalid-source-callback','model','12FQSwkB','plugins','sort','5tZTlJO','selection','639419qOVgZp','listenTo','change:isFocused','refresh','1710996rovzct','editor','15449335sfiDPP','range','function','document','delete','_editorAnnotations','element','containsRange','getByInnerView','from','isCollapsed','remove','change:range','hasDomSelection','getOrderedSelectedAnnotations'];_0x1e76=function(){return _0x4377ab;};return _0x1e76();}import _0x3cf1ed from'./annotations.js';export default class k extends _0x27595a{static get[_0x143724(0xab)](){return[_0x3cf1ed];}static get[_0x143724(0xb4)](){const _0x449874=_0x143724;return _0x449874(0xb6);}constructor(_0x417593){const _0x5c1a81=_0x143724;super(_0x417593),this[_0x5c1a81(0xaa)]=new Set(),this[_0x5c1a81(0xc9)]=new Set();}[_0x143724(0x9b)](){const _0x2a5cce=_0x143724,_0xc3eae3=this[_0x2a5cce(0xc3)],_0x448652=_0xc3eae3[_0x2a5cce(0xb8)][_0x2a5cce(0xc7)][_0x2a5cce(0xbd)],_0x3f196c=_0x1bf135(()=>this[_0x2a5cce(0xa4)](),0xa);_0x448652['on'](_0x2a5cce(0xd0),(_0x3219ba,_0x17e37b)=>{const _0x559281=_0x2a5cce;_0x17e37b[_0x559281(0xac)]&&(_0x3f196c[_0x559281(0xa8)](),this[_0x559281(0xa4)]());}),this[_0x2a5cce(0xbf)](_0xc3eae3[_0x2a5cce(0x9c)][_0x2a5cce(0xa6)][_0x2a5cce(0xc7)],_0x2a5cce(0xc0),(_0x107ad4,_0x3b0e85,_0x3623f2)=>{_0x3623f2&&_0x3f196c();}),this[_0x2a5cce(0xbf)](_0xc3eae3['ui'][_0x2a5cce(0xd7)],_0x2a5cce(0xc0),(_0x1e467d,_0x1ee530,_0x38bd98)=>{const _0x2f1b74=_0x2a5cce;_0x38bd98||_0xc3eae3[_0x2f1b74(0xae)]||this[_0x2f1b74(0xa7)](_0x2f1b74(0xd4),{'isAnnotationTracked':_0x5cdc00=>this[_0x2f1b74(0xb0)][_0x2f1b74(0xb3)](_0x5cdc00[_0x2f1b74(0xd9)])});}),this[_0x2a5cce(0xbf)](this[_0x2a5cce(0xc3)]['ui'],_0x2a5cce(0xda),()=>this[_0x2a5cce(0xa7)](_0x2a5cce(0x9d)));}[_0x143724(0xd8)](_0x46e50d){const _0x3cd73f=_0x143724;if(this[_0x3cd73f(0xc9)][_0x3cd73f(0xb3)](_0x46e50d[_0x3cd73f(0xa6)]))return;this[_0x3cd73f(0xc9)][_0x3cd73f(0xa2)](_0x46e50d[_0x3cd73f(0xa6)]),this[_0x3cd73f(0xc3)]['ui'][_0x3cd73f(0xd7)][_0x3cd73f(0xa2)](_0x46e50d[_0x3cd73f(0xa6)][_0x3cd73f(0xca)]);const _0x211650=this[_0x3cd73f(0xc3)][_0x3cd73f(0xba)][_0x3cd73f(0xb1)](_0x3cf1ed);this[_0x3cd73f(0xbf)](_0x211650[_0x3cd73f(0xa9)],_0x3cd73f(0xcf),(_0xab620e,_0x4ff0bb)=>{const _0x4417cd=_0x3cd73f;this[_0x4417cd(0xc3)]['ui'][_0x4417cd(0xd7)][_0x4417cd(0xcf)](_0x4ff0bb[_0x4417cd(0xa6)][_0x4417cd(0xca)]),this[_0x4417cd(0xc9)][_0x4417cd(0xc8)](_0x4ff0bb[_0x4417cd(0xa6)]);});}[_0x143724(0xd1)](){const _0x5ac59a=_0x143724;return this[_0x5ac59a(0xc3)][_0x5ac59a(0x9c)][_0x5ac59a(0xa6)][_0x5ac59a(0xd1)];}[_0x143724(0xa5)](_0x45f972){const _0x4d569a=_0x143724;if(_0x4d569a(0xc6)!=typeof _0x45f972)throw new _0x49c343(_0x4d569a(0xb7));this[_0x4d569a(0xaa)][_0x4d569a(0xa2)](_0x45f972);}[_0x143724(0xa4)](){const _0x36e342=_0x143724;this[_0x36e342(0xa7)](_0x36e342(0xc1));}[_0x143724(0xd2)]({activeAnnotation:_0x244358,annotations:_0x1ad78b}){const _0x43ca36=_0x143724,_0x5016a8=[],_0x576938=this[_0x43ca36(0xc3)][_0x43ca36(0xb8)][_0x43ca36(0xc7)][_0x43ca36(0xbd)],_0x3785a1=Array[_0x43ca36(0xcd)](_0x576938[_0x43ca36(0xa0)]());for(const [_0x45522b,_0x304cc4]of this[_0x43ca36(0xb0)]){const _0x560a79=_0x376c5e(_0x304cc4),_0x432f63=_0x1ad78b[_0x43ca36(0xcc)](_0x45522b);_0x560a79&&_0x432f63&&_0x5016a8[_0x43ca36(0xb2)]({'annotation':_0x432f63,'range':_0x560a79});}function _0x376c5e(_0x2a1a3d){const _0x24df68=_0x43ca36;for(const _0x28eacd of _0x2a1a3d)for(const _0x1cbafb of _0x3785a1)if(_0x28eacd[_0x24df68(0xcb)](_0x1cbafb,!_0x576938[_0x24df68(0xce)]))return _0x28eacd;return null;}return _0x5016a8[_0x43ca36(0xbb)]((_0x2aa072,_0x382250)=>{const _0x291774=_0x43ca36,_0x438908=_0x2aa072[_0x291774(0xc5)],_0x3ec564=_0x382250[_0x291774(0xc5)];if(!_0x438908[_0x291774(0xa1)](_0x3ec564)){if(_0x438908[_0x291774(0xcb)](_0x3ec564,!0x0))return 0x1;if(_0x3ec564[_0x291774(0xcb)](_0x438908,!0x0))return-0x1;}return _0x2aa072[_0x291774(0xd5)]==_0x244358?-0x1:_0x382250[_0x291774(0xd5)]==_0x244358?0x1:0x0;})[_0x43ca36(0xaf)](_0x2cf0ca=>_0x2cf0ca[_0x43ca36(0xd5)]);}get[_0x143724(0xb0)](){const _0x1b2823=_0x143724,_0x58a60b=new Map();for(const _0x4a628a of Array[_0x1b2823(0xcd)](this[_0x1b2823(0xaa)]))for(const [_0x41307a,_0x2908a3]of _0x4a628a())_0x58a60b[_0x1b2823(0xdb)](_0x41307a,_0x2908a3);return _0x58a60b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x19a4(){const _0xae585b=['stopListening','bottom','getBoundingClientRect','inlineannotations-detach-not-attached','width','InlineAnnotations','length','clear','3oHDkjm','3314048ecTijo','targetRect','getClientRects','_forceRefresh','collapse','listenTo','from','add','change:visibleView','showStack','isFocused','focus','target','_getBalloonTargetForAnnotation','inlineannotations-not-allowed-with-context','5403936dagMxz','getOrderedSelectedAnnotations','inlineannotations-attach-already-attached','keystrokes','_balloon','push','init','inline','domConverter','activeAnnotation','5gxLdUl','updatePosition','1151730uXZkLP','visibleView','viewRangeToDom','addObserver','set','has','find','isAttached','view','focusTracker','blur','hasActive','right','remove','editor','_closeAnnotation','detach','includes','1573212RiPFdL','annotations','_setSelectedAnnotations','hasView','every','afterInit','plugins','attach','getFirstRange','_removeAnnotationFromBalloon','getByView','8438248FiqasS','_manuallyClosed','pluginName','switchTo','_addedAnnotations','_addAnnotationToBalloon','fromRect','setActiveAnnotation','requires','3575280vLkNCy','delete','destroy','get','top','mousedown','isActive','context','document','54894222YzoeRm','selection','Esc','change:isFocused','editableElement','_selectedAnnotations','change:height','map','register','left','editing','update','refresh'];_0x19a4=function(){return _0xae585b;};return _0x19a4();}function _0x3def(_0x140075,_0x29e0ba){const _0x19a4b0=_0x19a4();return _0x3def=function(_0x3def5e,_0x2ed5df){_0x3def5e=_0x3def5e-0x110;let _0xe6d109=_0x19a4b0[_0x3def5e];return _0xe6d109;},_0x3def(_0x140075,_0x29e0ba);}const _0x5a836e=_0x3def;(function(_0x1960e4,_0x32ebb1){const _0x15cf42=_0x3def,_0x40523b=_0x1960e4();while(!![]){try{const _0x30d650=-parseInt(_0x15cf42(0x134))/0x1+parseInt(_0x15cf42(0x119))/0x2*(-parseInt(_0x15cf42(0x118))/0x3)+-parseInt(_0x15cf42(0x128))/0x4+parseInt(_0x15cf42(0x132))/0x5*(-parseInt(_0x15cf42(0x146))/0x6)+-parseInt(_0x15cf42(0x151))/0x7+parseInt(_0x15cf42(0x15a))/0x8+parseInt(_0x15cf42(0x163))/0x9;if(_0x30d650===_0x32ebb1)break;else _0x40523b['push'](_0x40523b['shift']());}catch(_0x62c54d){_0x40523b['push'](_0x40523b['shift']());}}}(_0x19a4,0xe0550));import{Plugin as _0x528d7d}from'ckeditor5/src/core.js';import _0x1f4ac0 from'./annotationsuis.js';import _0x4e9793 from'./editorannotations.js';import{ContextualBalloon as _0x3b54b7}from'ckeditor5/src/ui.js';import{MouseObserver as _0x3dcfc6}from'ckeditor5/src/engine.js';import{CKEditorError as _0x4abc3a,Rect as _0x4bd205}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x528d7d{static get[_0x5a836e(0x159)](){return[_0x4e9793,_0x3b54b7,_0x1f4ac0];}static get[_0x5a836e(0x153)](){const _0x39f349=_0x5a836e;return _0x39f349(0x115);}constructor(_0x17e31f){const _0x1898c0=_0x5a836e;super(_0x17e31f),_0x17e31f[_0x1898c0(0x16d)][_0x1898c0(0x13c)][_0x1898c0(0x137)](_0x3dcfc6),this[_0x1898c0(0x13b)]=!0x1,this[_0x1898c0(0x138)](_0x1898c0(0x131),null),this[_0x1898c0(0x147)]=null,this[_0x1898c0(0x152)]=new Set(),this[_0x1898c0(0x12c)]=_0x17e31f[_0x1898c0(0x14c)][_0x1898c0(0x15d)](_0x3b54b7),this[_0x1898c0(0x155)]=new Set(),this[_0x1898c0(0x168)]=[],this[_0x1898c0(0x11c)]=!0x1;}[_0x5a836e(0x12e)](){const _0x40b7fb=_0x5a836e,_0x5edf8e=this[_0x40b7fb(0x142)][_0x40b7fb(0x14c)][_0x40b7fb(0x15d)](_0x1f4ac0);_0x5edf8e[_0x40b7fb(0x161)]===this[_0x40b7fb(0x142)]&&(_0x5edf8e[_0x40b7fb(0x16b)](_0x40b7fb(0x12f),this),this[_0x40b7fb(0x142)][_0x40b7fb(0x12b)][_0x40b7fb(0x138)](_0x40b7fb(0x165),(_0x374beb,_0x1638ee)=>{const _0x3dc9c7=_0x40b7fb,_0x17b8a7=this[_0x3dc9c7(0x12c)];if(this[_0x3dc9c7(0x13b)]&&_0x17b8a7[_0x3dc9c7(0x135)]){const _0xd6dac4=this[_0x3dc9c7(0x147)][_0x3dc9c7(0x150)](_0x17b8a7[_0x3dc9c7(0x135)]);_0xd6dac4&&this[_0x3dc9c7(0x143)](_0xd6dac4),_0x1638ee();}}));}[_0x5a836e(0x14b)](){const _0x1cfaeb=_0x5a836e,_0x1491fc=this[_0x1cfaeb(0x142)][_0x1cfaeb(0x14c)][_0x1cfaeb(0x15d)](_0x1f4ac0);_0x1491fc[_0x1cfaeb(0x161)]===this[_0x1cfaeb(0x142)]&&(_0x1491fc[_0x1cfaeb(0x13f)]()||_0x1491fc[_0x1cfaeb(0x154)](_0x1cfaeb(0x12f)));}[_0x5a836e(0x158)](_0x19fda2){const _0x2a12cf=_0x5a836e;_0x19fda2!==this[_0x2a12cf(0x131)]&&(this[_0x2a12cf(0x131)]&&(this[_0x2a12cf(0x131)][_0x2a12cf(0x160)]=!0x1),_0x19fda2&&this[_0x2a12cf(0x142)]['ui'][_0x2a12cf(0x13d)][_0x2a12cf(0x123)]&&(this[_0x2a12cf(0x147)][_0x2a12cf(0x139)](_0x19fda2)&&this[_0x2a12cf(0x156)](_0x19fda2,!0x0),_0x19fda2[_0x2a12cf(0x160)]=!0x0),_0x19fda2||this[_0x2a12cf(0x148)]([]),this[_0x2a12cf(0x131)]=_0x19fda2);}[_0x5a836e(0x14d)](_0x402fbf){const _0x3041dc=_0x5a836e;this[_0x3041dc(0x147)]=_0x402fbf;const _0x47f71c=this[_0x3041dc(0x142)][_0x3041dc(0x14c)][_0x3041dc(0x15d)](_0x1f4ac0),_0xa292c7=this[_0x3041dc(0x12c)];if(this[_0x3041dc(0x13b)])throw new _0x4abc3a(_0x3041dc(0x12a),this);if(_0x47f71c[_0x3041dc(0x161)]!==this[_0x3041dc(0x142)])throw new _0x4abc3a(_0x3041dc(0x127),this);const _0x2557d3=this[_0x3041dc(0x142)][_0x3041dc(0x14c)][_0x3041dc(0x15d)](_0x4e9793);this[_0x3041dc(0x11e)](_0x2557d3,_0x3041dc(0x16f),()=>{const _0xaeca79=_0x3041dc,_0x5daf5f=_0x2557d3[_0xaeca79(0x129)]({'annotations':this[_0xaeca79(0x147)],'activeAnnotation':this[_0xaeca79(0x131)]});var _0x525e63,_0x366ae0;!this[_0xaeca79(0x11c)]&&(_0x525e63=_0x5daf5f,_0x366ae0=this[_0xaeca79(0x168)],_0x525e63[_0xaeca79(0x116)]===_0x366ae0[_0xaeca79(0x116)]&&_0x525e63[_0xaeca79(0x14a)](_0x38a103=>_0x366ae0[_0xaeca79(0x145)](_0x38a103)))||(this[_0xaeca79(0x11c)]=!0x1,this[_0xaeca79(0x148)](_0x5daf5f),this[_0xaeca79(0x158)](_0x5daf5f[0x0]||null));}),this[_0x3041dc(0x11e)](_0x2557d3,_0x3041dc(0x13e),(_0x3e9a1f,{isAnnotationTracked:_0x3722db})=>{const _0x5de6d2=_0x3041dc;this[_0x5de6d2(0x131)]&&_0x3722db(this[_0x5de6d2(0x131)])&&(this[_0x5de6d2(0x148)]([]),this[_0x5de6d2(0x158)](null));}),this[_0x3041dc(0x11e)](this[_0x3041dc(0x142)]['ui'][_0x3041dc(0x13d)],_0x3041dc(0x166),(_0x496f5f,_0x4dc5d3,_0x24fc16)=>{const _0x3a1a3c=_0x3041dc;_0x24fc16||this[_0x3a1a3c(0x158)](null);}),this[_0x3041dc(0x11e)](_0x402fbf,_0x3041dc(0x141),(_0x4f1ee5,_0x12de86)=>{const _0x509c57=_0x3041dc;this[_0x509c57(0x14f)](_0x12de86),_0x12de86===this[_0x509c57(0x131)]&&this[_0x509c57(0x158)](null);}),this[_0x3041dc(0x11e)](_0xa292c7,_0x3041dc(0x121),(_0x165f1b,_0x29857f,_0x55742e,_0x5f988f)=>{const _0x152486=_0x3041dc;_0x5f988f&&this[_0x152486(0x110)](_0x5f988f);const _0x16abca=_0x402fbf[_0x152486(0x150)](_0x55742e);_0x55742e&&_0x16abca&&(this[_0x152486(0x11e)](_0x55742e,_0x152486(0x169),()=>{const _0x2284e4=_0x152486;_0xa292c7[_0x2284e4(0x133)]();}),this[_0x152486(0x11e)](_0x55742e,_0x152486(0x165),()=>{const _0x559738=_0x152486;this[_0x559738(0x143)](_0x16abca),this[_0x559738(0x142)][_0x559738(0x16d)][_0x559738(0x13c)][_0x559738(0x124)]();}),this[_0x152486(0x131)]!==_0x16abca&&this[_0x152486(0x158)](_0x16abca));}),this[_0x3041dc(0x11e)](this[_0x3041dc(0x142)]['ui'],_0x3041dc(0x16e),()=>{const _0x214c0e=_0x3041dc;_0xa292c7[_0x214c0e(0x135)]&&(_0x402fbf[_0x214c0e(0x150)](_0xa292c7[_0x214c0e(0x135)])&&_0xa292c7[_0x214c0e(0x133)]());}),this[_0x3041dc(0x11e)](this[_0x3041dc(0x142)][_0x3041dc(0x16d)][_0x3041dc(0x13c)][_0x3041dc(0x162)],_0x3041dc(0x15f),()=>{const _0x5d7779=_0x3041dc;this[_0x5d7779(0x11c)]=!0x0,this[_0x5d7779(0x152)][_0x5d7779(0x117)]();}),this[_0x3041dc(0x142)][_0x3041dc(0x16d)][_0x3041dc(0x13c)][_0x3041dc(0x162)][_0x3041dc(0x164)][_0x3041dc(0x167)]&&this[_0x3041dc(0x142)][_0x3041dc(0x16d)][_0x3041dc(0x13c)][_0x3041dc(0x124)](),this[_0x3041dc(0x13b)]=!0x0;}[_0x5a836e(0x144)](){const _0x534c3c=_0x5a836e;if(!this[_0x534c3c(0x13b)])throw new _0x4abc3a(_0x534c3c(0x113),this);this[_0x534c3c(0x158)](null);for(const _0x434597 of this[_0x534c3c(0x155)])this[_0x534c3c(0x14f)](_0x434597);this[_0x534c3c(0x110)](),this[_0x534c3c(0x13b)]=!0x1,this[_0x534c3c(0x147)]=null;}[_0x5a836e(0x15c)](){const _0x840a07=_0x5a836e;this[_0x840a07(0x13b)]&&this[_0x840a07(0x144)]();}[_0x5a836e(0x148)](_0x1cfdea){const _0x2efdfa=_0x5a836e;for(const _0x22da43 of this[_0x2efdfa(0x168)])_0x1cfdea[_0x2efdfa(0x145)](_0x22da43)||this[_0x2efdfa(0x152)][_0x2efdfa(0x15b)](_0x22da43);for(const _0xca2f15 of this[_0x2efdfa(0x147)])_0x1cfdea[_0x2efdfa(0x145)](_0xca2f15)||this[_0x2efdfa(0x14f)](_0xca2f15);if(this[_0x2efdfa(0x142)]['ui'][_0x2efdfa(0x13d)][_0x2efdfa(0x123)]){for(const _0x23e5b3 of _0x1cfdea)this[_0x2efdfa(0x156)](_0x23e5b3);}this[_0x2efdfa(0x168)]=_0x1cfdea;}[_0x5a836e(0x156)](_0x5c3418,_0x550abb=!0x1){const _0x14fa4b=_0x5a836e;this[_0x14fa4b(0x152)][_0x14fa4b(0x139)](_0x5c3418)||(this[_0x14fa4b(0x155)][_0x14fa4b(0x139)](_0x5c3418)||this[_0x14fa4b(0x12c)][_0x14fa4b(0x149)](_0x5c3418[_0x14fa4b(0x13c)])||(this[_0x14fa4b(0x155)][_0x14fa4b(0x120)](_0x5c3418),this[_0x14fa4b(0x12c)][_0x14fa4b(0x120)]({'stackId':_0x5c3418[_0x14fa4b(0x13c)]['id'],'view':_0x5c3418[_0x14fa4b(0x13c)],'position':{'target':()=>this[_0x14fa4b(0x126)](_0x5c3418)}})),_0x550abb&&this[_0x14fa4b(0x12c)][_0x14fa4b(0x122)](_0x5c3418[_0x14fa4b(0x13c)]['id']));}[_0x5a836e(0x126)](_0x3e23e6){const _0x3c2801=_0x5a836e,_0x17bdd1=_0x3e23e6[_0x3c2801(0x125)],_0x118d1b=this[_0x3c2801(0x142)][_0x3c2801(0x16d)][_0x3c2801(0x13c)],_0x5b71c4=_0x118d1b[_0x3c2801(0x162)][_0x3c2801(0x164)][_0x3c2801(0x14e)](),_0x2de269=_0x118d1b[_0x3c2801(0x130)][_0x3c2801(0x136)](_0x5b71c4);if(_0x2de269[_0x3c2801(0x11d)](!0x0),_0x17bdd1){if(_0x17bdd1 instanceof _0x4bd205)return _0x17bdd1;let _0x1d0e7b=[];for(const _0x3ec016 of _0x17bdd1)_0x1d0e7b[_0x3c2801(0x12d)](...(_0x907322=_0x3ec016[_0x3c2801(0x11b)](),Array[_0x3c2801(0x11f)](_0x907322)[_0x3c2801(0x16a)](DOMRect[_0x3c2801(0x157)])));_0x1d0e7b=function(_0x41cd2c){const _0x5e979b=_0x3c2801,_0x4a07fd=[];let _0x3fc776=_0x41cd2c[0x0];for(let _0x160a75=0x1;_0x160a75<_0x41cd2c[_0x5e979b(0x116)];_0x160a75++)F(_0x3fc776,_0x41cd2c[_0x160a75])?_0x3fc776[_0x5e979b(0x114)]+=_0x41cd2c[_0x160a75][_0x5e979b(0x114)]:(_0x4a07fd[_0x5e979b(0x12d)](_0x3fc776),_0x3fc776=_0x41cd2c[_0x160a75]);return _0x4a07fd[_0x5e979b(0x12d)](_0x3fc776),_0x4a07fd;}(_0x1d0e7b);const _0x428719=_0x2de269[_0x3c2801(0x112)]();return _0x1d0e7b[_0x3c2801(0x13a)](_0x74b12d=>_0x74b12d[_0x3c2801(0x15e)]<=_0x428719[_0x3c2801(0x15e)]&&_0x74b12d[_0x3c2801(0x111)]>=_0x428719[_0x3c2801(0x111)]&&_0x74b12d[_0x3c2801(0x16c)]<=_0x428719[_0x3c2801(0x16c)]&&_0x74b12d[_0x3c2801(0x140)]>=_0x428719[_0x3c2801(0x140)])||_0x1d0e7b[0x0];}var _0x907322;return _0x3e23e6[_0x3c2801(0x11a)]||_0x2de269;}[_0x5a836e(0x14f)](_0x34abe2){const _0x1c66db=_0x5a836e;this[_0x1c66db(0x155)][_0x1c66db(0x139)](_0x34abe2)&&this[_0x1c66db(0x12c)][_0x1c66db(0x149)](_0x34abe2[_0x1c66db(0x13c)])&&(this[_0x1c66db(0x155)][_0x1c66db(0x15b)](_0x34abe2),this[_0x1c66db(0x12c)][_0x1c66db(0x141)](_0x34abe2[_0x1c66db(0x13c)]));}[_0x5a836e(0x143)](_0x1aafa2){const _0x8fcfaa=_0x5a836e;this[_0x8fcfaa(0x152)][_0x8fcfaa(0x120)](_0x1aafa2),this[_0x8fcfaa(0x14f)](_0x1aafa2);}}function F(_0x315956,_0x25e51e){const _0x26010f=_0x5a836e;return _0x315956[_0x26010f(0x15e)]===_0x25e51e[_0x26010f(0x15e)]&&_0x315956[_0x26010f(0x111)]===_0x25e51e[_0x26010f(0x111)]&&_0x315956[_0x26010f(0x140)]===_0x25e51e[_0x26010f(0x16c)];}
|
|
23
|
+
const _0x4b81c6=_0x38ad;function _0x38ad(_0x59b451,_0x47cf8b){const _0x461ca8=_0x461c();return _0x38ad=function(_0x38ad04,_0x102239){_0x38ad04=_0x38ad04-0x169;let _0x3fa90a=_0x461ca8[_0x38ad04];return _0x3fa90a;},_0x38ad(_0x59b451,_0x47cf8b);}(function(_0x414f6e,_0x13f399){const _0x36d5d5=_0x38ad,_0x413bf9=_0x414f6e();while(!![]){try{const _0x2b015d=-parseInt(_0x36d5d5(0x1b8))/0x1*(parseInt(_0x36d5d5(0x1b7))/0x2)+-parseInt(_0x36d5d5(0x197))/0x3*(-parseInt(_0x36d5d5(0x17f))/0x4)+-parseInt(_0x36d5d5(0x1c1))/0x5*(parseInt(_0x36d5d5(0x186))/0x6)+-parseInt(_0x36d5d5(0x1b9))/0x7+-parseInt(_0x36d5d5(0x18f))/0x8*(-parseInt(_0x36d5d5(0x195))/0x9)+-parseInt(_0x36d5d5(0x173))/0xa*(-parseInt(_0x36d5d5(0x18d))/0xb)+parseInt(_0x36d5d5(0x1c6))/0xc;if(_0x2b015d===_0x13f399)break;else _0x413bf9['push'](_0x413bf9['shift']());}catch(_0x1f6415){_0x413bf9['push'](_0x413bf9['shift']());}}}(_0x461c,0xecbe1));import{Plugin as _0x58f990}from'ckeditor5/src/core.js';function _0x461c(){const _0x332bcf=['inline','left','listenTo','viewRangeToDom','isActive','delete','9290874lDgFwj','clear','getByView','bottom','right','_selectedAnnotations','domConverter','34298IRWbgm','_balloon','5313576NveCXH','hasActive','editor','InlineAnnotations','add','inlineannotations-attach-already-attached','9IwxMnW','remove','2273190WctxIU','update','mousedown','register','isFocused','inlineannotations-not-allowed-with-context','plugins','map','requires','document','change:isFocused','destroy','focus','target','hasView','pluginName','getOrderedSelectedAnnotations','updatePosition','switchTo','keystrokes','blur','width','_manuallyClosed','has','set','editing','stopListening','inlineannotations-detach-not-attached','includes','_setSelectedAnnotations','_addAnnotationToBalloon','addObserver','65978vVJFsD','11cWRDhE','12936672JfDKsK','editableElement','refresh','fromRect','afterInit','getFirstRange','targetRect','length','5lpMQzs','showStack','_forceRefresh','top','visibleView','14355384pzFpgn','change:visibleView','focusTracker','_removeAnnotationFromBalloon','detach','get','context','_getBalloonTargetForAnnotation','Esc','change:height','isAttached','_addedAnnotations','view','collapse','setActiveAnnotation','find','4340YKTGvW','push','selection','attach','getBoundingClientRect','init','_closeAnnotation','from','activeAnnotation','annotations','getClientRects','every','8egOzzc'];_0x461c=function(){return _0x332bcf;};return _0x461c();}import _0x26e7ef from'./annotationsuis.js';import _0x10784b from'./editorannotations.js';import{ContextualBalloon as _0x167ec5}from'ckeditor5/src/ui.js';import{MouseObserver as _0x2aa85c}from'ckeditor5/src/engine.js';import{CKEditorError as _0x49e82d,Rect as _0x41971d}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x58f990{static get[_0x4b81c6(0x19f)](){return[_0x10784b,_0x167ec5,_0x26e7ef];}static get[_0x4b81c6(0x1a6)](){const _0x4e33a0=_0x4b81c6;return _0x4e33a0(0x192);}constructor(_0x23c76d){const _0x1ef033=_0x4b81c6;super(_0x23c76d),_0x23c76d[_0x1ef033(0x1b0)][_0x1ef033(0x16f)][_0x1ef033(0x1b6)](_0x2aa85c),this[_0x1ef033(0x16d)]=!0x1,this[_0x1ef033(0x1af)](_0x1ef033(0x17b),null),this[_0x1ef033(0x17c)]=null,this[_0x1ef033(0x1ad)]=new Set(),this[_0x1ef033(0x18e)]=_0x23c76d[_0x1ef033(0x19d)][_0x1ef033(0x1cb)](_0x167ec5),this[_0x1ef033(0x16e)]=new Set(),this[_0x1ef033(0x18b)]=[],this[_0x1ef033(0x1c3)]=!0x1;}[_0x4b81c6(0x178)](){const _0x3c78f7=_0x4b81c6,_0x3baff2=this[_0x3c78f7(0x191)][_0x3c78f7(0x19d)][_0x3c78f7(0x1cb)](_0x26e7ef);_0x3baff2[_0x3c78f7(0x169)]===this[_0x3c78f7(0x191)]&&(_0x3baff2[_0x3c78f7(0x19a)](_0x3c78f7(0x180),this),this[_0x3c78f7(0x191)][_0x3c78f7(0x1aa)][_0x3c78f7(0x1af)](_0x3c78f7(0x16b),(_0x5f1b38,_0xe4d65d)=>{const _0x880266=_0x3c78f7,_0x16f5b3=this[_0x880266(0x18e)];if(this[_0x880266(0x16d)]&&_0x16f5b3[_0x880266(0x1c5)]){const _0xf3624e=this[_0x880266(0x17c)][_0x880266(0x188)](_0x16f5b3[_0x880266(0x1c5)]);_0xf3624e&&this[_0x880266(0x179)](_0xf3624e),_0xe4d65d();}}));}[_0x4b81c6(0x1bd)](){const _0x1b9e09=_0x4b81c6,_0x4ae8bd=this[_0x1b9e09(0x191)][_0x1b9e09(0x19d)][_0x1b9e09(0x1cb)](_0x26e7ef);_0x4ae8bd[_0x1b9e09(0x169)]===this[_0x1b9e09(0x191)]&&(_0x4ae8bd[_0x1b9e09(0x190)]()||_0x4ae8bd[_0x1b9e09(0x1a9)](_0x1b9e09(0x180)));}[_0x4b81c6(0x171)](_0xa3e597){const _0x28f078=_0x4b81c6;_0xa3e597!==this[_0x28f078(0x17b)]&&(this[_0x28f078(0x17b)]&&(this[_0x28f078(0x17b)][_0x28f078(0x184)]=!0x1),_0xa3e597&&this[_0x28f078(0x191)]['ui'][_0x28f078(0x1c8)][_0x28f078(0x19b)]&&(this[_0x28f078(0x17c)][_0x28f078(0x1ae)](_0xa3e597)&&this[_0x28f078(0x1b5)](_0xa3e597,!0x0),_0xa3e597[_0x28f078(0x184)]=!0x0),_0xa3e597||this[_0x28f078(0x1b4)]([]),this[_0x28f078(0x17b)]=_0xa3e597);}[_0x4b81c6(0x176)](_0xac9bc6){const _0x13e1bb=_0x4b81c6;this[_0x13e1bb(0x17c)]=_0xac9bc6;const _0x2c399e=this[_0x13e1bb(0x191)][_0x13e1bb(0x19d)][_0x13e1bb(0x1cb)](_0x26e7ef),_0x2c02ef=this[_0x13e1bb(0x18e)];if(this[_0x13e1bb(0x16d)])throw new _0x49e82d(_0x13e1bb(0x194),this);if(_0x2c399e[_0x13e1bb(0x169)]!==this[_0x13e1bb(0x191)])throw new _0x49e82d(_0x13e1bb(0x19c),this);const _0x9d5a80=this[_0x13e1bb(0x191)][_0x13e1bb(0x19d)][_0x13e1bb(0x1cb)](_0x10784b);this[_0x13e1bb(0x182)](_0x9d5a80,_0x13e1bb(0x1bb),()=>{const _0x18d04c=_0x13e1bb,_0x1d9111=_0x9d5a80[_0x18d04c(0x1a7)]({'annotations':this[_0x18d04c(0x17c)],'activeAnnotation':this[_0x18d04c(0x17b)]});var _0x4c54a0,_0x5f0b0f;!this[_0x18d04c(0x1c3)]&&(_0x4c54a0=_0x1d9111,_0x5f0b0f=this[_0x18d04c(0x18b)],_0x4c54a0[_0x18d04c(0x1c0)]===_0x5f0b0f[_0x18d04c(0x1c0)]&&_0x4c54a0[_0x18d04c(0x17e)](_0x4c8601=>_0x5f0b0f[_0x18d04c(0x1b3)](_0x4c8601)))||(this[_0x18d04c(0x1c3)]=!0x1,this[_0x18d04c(0x1b4)](_0x1d9111),this[_0x18d04c(0x171)](_0x1d9111[0x0]||null));}),this[_0x13e1bb(0x182)](_0x9d5a80,_0x13e1bb(0x1ab),(_0x2e056b,{isAnnotationTracked:_0x2f7f1d})=>{const _0x25338e=_0x13e1bb;this[_0x25338e(0x17b)]&&_0x2f7f1d(this[_0x25338e(0x17b)])&&(this[_0x25338e(0x1b4)]([]),this[_0x25338e(0x171)](null));}),this[_0x13e1bb(0x182)](this[_0x13e1bb(0x191)]['ui'][_0x13e1bb(0x1c8)],_0x13e1bb(0x1a1),(_0x20a5d4,_0x384380,_0x3e6d8d)=>{const _0x13b52e=_0x13e1bb;_0x3e6d8d||this[_0x13b52e(0x171)](null);}),this[_0x13e1bb(0x182)](_0xac9bc6,_0x13e1bb(0x196),(_0x559d4e,_0xd073dc)=>{const _0x5253ea=_0x13e1bb;this[_0x5253ea(0x1c9)](_0xd073dc),_0xd073dc===this[_0x5253ea(0x17b)]&&this[_0x5253ea(0x171)](null);}),this[_0x13e1bb(0x182)](_0x2c02ef,_0x13e1bb(0x1c7),(_0x2b1ec1,_0x4786d4,_0x13fa44,_0x4d7cfc)=>{const _0x611d2d=_0x13e1bb;_0x4d7cfc&&this[_0x611d2d(0x1b1)](_0x4d7cfc);const _0x199d37=_0xac9bc6[_0x611d2d(0x188)](_0x13fa44);_0x13fa44&&_0x199d37&&(this[_0x611d2d(0x182)](_0x13fa44,_0x611d2d(0x16c),()=>{const _0x4bb0ba=_0x611d2d;_0x2c02ef[_0x4bb0ba(0x1a8)]();}),this[_0x611d2d(0x182)](_0x13fa44,_0x611d2d(0x16b),()=>{const _0x2d863d=_0x611d2d;this[_0x2d863d(0x179)](_0x199d37),this[_0x2d863d(0x191)][_0x2d863d(0x1b0)][_0x2d863d(0x16f)][_0x2d863d(0x1a3)]();}),this[_0x611d2d(0x17b)]!==_0x199d37&&this[_0x611d2d(0x171)](_0x199d37));}),this[_0x13e1bb(0x182)](this[_0x13e1bb(0x191)]['ui'],_0x13e1bb(0x198),()=>{const _0x49df2d=_0x13e1bb;_0x2c02ef[_0x49df2d(0x1c5)]&&(_0xac9bc6[_0x49df2d(0x188)](_0x2c02ef[_0x49df2d(0x1c5)])&&_0x2c02ef[_0x49df2d(0x1a8)]());}),this[_0x13e1bb(0x182)](this[_0x13e1bb(0x191)][_0x13e1bb(0x1b0)][_0x13e1bb(0x16f)][_0x13e1bb(0x1a0)],_0x13e1bb(0x199),()=>{const _0xd37439=_0x13e1bb;this[_0xd37439(0x1c3)]=!0x0,this[_0xd37439(0x1ad)][_0xd37439(0x187)]();}),this[_0x13e1bb(0x191)][_0x13e1bb(0x1b0)][_0x13e1bb(0x16f)][_0x13e1bb(0x1a0)][_0x13e1bb(0x175)][_0x13e1bb(0x1ba)]&&this[_0x13e1bb(0x191)][_0x13e1bb(0x1b0)][_0x13e1bb(0x16f)][_0x13e1bb(0x1a3)](),this[_0x13e1bb(0x16d)]=!0x0;}[_0x4b81c6(0x1ca)](){const _0x50d05a=_0x4b81c6;if(!this[_0x50d05a(0x16d)])throw new _0x49e82d(_0x50d05a(0x1b2),this);this[_0x50d05a(0x171)](null);for(const _0x41ee11 of this[_0x50d05a(0x16e)])this[_0x50d05a(0x1c9)](_0x41ee11);this[_0x50d05a(0x1b1)](),this[_0x50d05a(0x16d)]=!0x1,this[_0x50d05a(0x17c)]=null;}[_0x4b81c6(0x1a2)](){const _0x4fb6f6=_0x4b81c6;this[_0x4fb6f6(0x16d)]&&this[_0x4fb6f6(0x1ca)]();}[_0x4b81c6(0x1b4)](_0x184ddb){const _0x3595db=_0x4b81c6;for(const _0x3ad052 of this[_0x3595db(0x18b)])_0x184ddb[_0x3595db(0x1b3)](_0x3ad052)||this[_0x3595db(0x1ad)][_0x3595db(0x185)](_0x3ad052);for(const _0x40897b of this[_0x3595db(0x17c)])_0x184ddb[_0x3595db(0x1b3)](_0x40897b)||this[_0x3595db(0x1c9)](_0x40897b);if(this[_0x3595db(0x191)]['ui'][_0x3595db(0x1c8)][_0x3595db(0x19b)]){for(const _0x43203a of _0x184ddb)this[_0x3595db(0x1b5)](_0x43203a);}this[_0x3595db(0x18b)]=_0x184ddb;}[_0x4b81c6(0x1b5)](_0x5b8119,_0x34fc9a=!0x1){const _0x445348=_0x4b81c6;this[_0x445348(0x1ad)][_0x445348(0x1ae)](_0x5b8119)||(this[_0x445348(0x16e)][_0x445348(0x1ae)](_0x5b8119)||this[_0x445348(0x18e)][_0x445348(0x1a5)](_0x5b8119[_0x445348(0x16f)])||(this[_0x445348(0x16e)][_0x445348(0x193)](_0x5b8119),this[_0x445348(0x18e)][_0x445348(0x193)]({'stackId':_0x5b8119[_0x445348(0x16f)]['id'],'view':_0x5b8119[_0x445348(0x16f)],'position':{'target':()=>this[_0x445348(0x16a)](_0x5b8119)}})),_0x34fc9a&&this[_0x445348(0x18e)][_0x445348(0x1c2)](_0x5b8119[_0x445348(0x16f)]['id']));}[_0x4b81c6(0x16a)](_0x277c9b){const _0x12f97c=_0x4b81c6,_0x48f8a1=_0x277c9b[_0x12f97c(0x1a4)],_0x11da63=this[_0x12f97c(0x191)][_0x12f97c(0x1b0)][_0x12f97c(0x16f)],_0x40a616=_0x11da63[_0x12f97c(0x1a0)][_0x12f97c(0x175)][_0x12f97c(0x1be)](),_0x4ecba9=_0x11da63[_0x12f97c(0x18c)][_0x12f97c(0x183)](_0x40a616);if(_0x4ecba9[_0x12f97c(0x170)](!0x0),_0x48f8a1){if(_0x48f8a1 instanceof _0x41971d)return _0x48f8a1;let _0x8240cc=[];for(const _0x49e24b of _0x48f8a1)_0x8240cc[_0x12f97c(0x174)](...(_0x2702f1=_0x49e24b[_0x12f97c(0x17d)](),Array[_0x12f97c(0x17a)](_0x2702f1)[_0x12f97c(0x19e)](DOMRect[_0x12f97c(0x1bc)])));_0x8240cc=function(_0x540aaf){const _0x1e3afa=_0x12f97c,_0xeed573=[];let _0x3d79c0=_0x540aaf[0x0];for(let _0x5f5bb3=0x1;_0x5f5bb3<_0x540aaf[_0x1e3afa(0x1c0)];_0x5f5bb3++)F(_0x3d79c0,_0x540aaf[_0x5f5bb3])?_0x3d79c0[_0x1e3afa(0x1ac)]+=_0x540aaf[_0x5f5bb3][_0x1e3afa(0x1ac)]:(_0xeed573[_0x1e3afa(0x174)](_0x3d79c0),_0x3d79c0=_0x540aaf[_0x5f5bb3]);return _0xeed573[_0x1e3afa(0x174)](_0x3d79c0),_0xeed573;}(_0x8240cc);const _0xc79de1=_0x4ecba9[_0x12f97c(0x177)]();return _0x8240cc[_0x12f97c(0x172)](_0x4e1c46=>_0x4e1c46[_0x12f97c(0x1c4)]<=_0xc79de1[_0x12f97c(0x1c4)]&&_0x4e1c46[_0x12f97c(0x189)]>=_0xc79de1[_0x12f97c(0x189)]&&_0x4e1c46[_0x12f97c(0x181)]<=_0xc79de1[_0x12f97c(0x181)]&&_0x4e1c46[_0x12f97c(0x18a)]>=_0xc79de1[_0x12f97c(0x18a)])||_0x8240cc[0x0];}var _0x2702f1;return _0x277c9b[_0x12f97c(0x1bf)]||_0x4ecba9;}[_0x4b81c6(0x1c9)](_0x24861a){const _0x400075=_0x4b81c6;this[_0x400075(0x16e)][_0x400075(0x1ae)](_0x24861a)&&this[_0x400075(0x18e)][_0x400075(0x1a5)](_0x24861a[_0x400075(0x16f)])&&(this[_0x400075(0x16e)][_0x400075(0x185)](_0x24861a),this[_0x400075(0x18e)][_0x400075(0x196)](_0x24861a[_0x400075(0x16f)]));}[_0x4b81c6(0x179)](_0x211c6a){const _0x7b2342=_0x4b81c6;this[_0x7b2342(0x1ad)][_0x7b2342(0x193)](_0x211c6a),this[_0x7b2342(0x1c9)](_0x211c6a);}}function F(_0x1f889f,_0x38e968){const _0x500d70=_0x4b81c6;return _0x1f889f[_0x500d70(0x1c4)]===_0x38e968[_0x500d70(0x1c4)]&&_0x1f889f[_0x500d70(0x189)]===_0x38e968[_0x500d70(0x189)]&&_0x1f889f[_0x500d70(0x18a)]===_0x38e968[_0x500d70(0x181)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x30a086=_0xc342;(function(_0x1c4649,_0x53a5f4){const _0x4cbbe9=_0xc342,_0x261242=_0x1c4649();while(!![]){try{const _0xfcd48=-parseInt(_0x4cbbe9(0x214))/0x1+parseInt(_0x4cbbe9(0x1c6))/0x2+-parseInt(_0x4cbbe9(0x22f))/0x3*(parseInt(_0x4cbbe9(0x206))/0x4)+parseInt(_0x4cbbe9(0x203))/0x5+parseInt(_0x4cbbe9(0x1c9))/0x6+-parseInt(_0x4cbbe9(0x1d2))/0x7+-parseInt(_0x4cbbe9(0x21e))/0x8*(parseInt(_0x4cbbe9(0x20a))/0x9);if(_0xfcd48===_0x53a5f4)break;else _0x261242['push'](_0x261242['shift']());}catch(_0x5adc7b){_0x261242['push'](_0x261242['shift']());}}}(_0x4803,0x72198));import{ContextPlugin as _0x46ae30,Context as _0xa0f2be}from'ckeditor5/src/core.js';import _0x55211d from'./annotationsuis.js';import _0x4da7ee from'./sidebar.js';import _0x53d82a from'./view/annotationcounterbuttonview.js';function _0x4803(){const _0x27d624=['balloonPanelView','_showBalloon','3966240DpIxRj','remove','values','refresh','off','getByView','esc','change:container','_selectedAnnotations','1323623eQGPXm','locale','northArrowSouthEast','_attachListeners','EditorAnnotations','from','isAttached','northArrowSouthWest','destroy','includes','view','element','execute','activeAnnotation','removeEventListener','resize','init','detach','annotations','_annotationToNarrowView','create','_editorAnnotations','delete','isVisible','pin','change:height','get','clear','length','attachToDom','stopListening','isDirty','add','narrowsidebar-detach-not-attached','_destroyEditorAnnotationsIntegration','requires','annotationType','high','_detachFromContainer','_domEmitter','stop','mousedown','plugins','editors','pluginName','contains','find','number','uiUpdate','4071365vNJPJZ','southArrowNorthEast','_updateBalloonPosition','3038316CZBqCQ','first','ck-sidebar--narrow','has','581319VfCcUm','type','register','listenTo','getOrderedSelectedAnnotations','_integrateWithEditorAnnotations','addAnnotation','defaultPositions','_manuallyClosedAnnotationViews','bind','269746GligDu','_detachListeners','refreshPositioning','keyCode','focusableElements','set','rearrange','_refreshPositioningDebounced','narrowsidebar-attach-already-attached','_hideBalloon','8YKQwNF','detachFromDom','addEventListener','southArrowNorth','bodyCollection','keydown','cancel','hasDomSelection','focus','content','unpin','_annotations','_refreshPositioning','southArrowNorthWest','preventClosingBalloon','Esc','context','3HTEPHC','stopPropagation','setActiveAnnotation','blur','target','narrowSidebar','getSidebarItemView','low','set:container','_attachToContainer','ready','NarrowSidebar','preventDefault','_setSelectedAnnotations','northArrowSouth','attach','550088nvkMFe'];_0x4803=function(){return _0x27d624;};return _0x4803();}function _0xc342(_0x3eb1df,_0x43c7df){const _0x4803f9=_0x4803();return _0xc342=function(_0xc3426a,_0x4341d2){_0xc3426a=_0xc3426a-0x1c6;let _0x4ae081=_0x4803f9[_0xc3426a];return _0x4ae081;},_0xc342(_0x3eb1df,_0x43c7df);}import{BalloonPanelView as _0x7230d5,BodyCollection as _0x2b7a5f}from'ckeditor5/src/ui.js';import{CKEditorError as _0xe4df12,DomEmitterMixin as _0xc772ab,keyCodes as _0x8741aa,Collection as _0x3b3ccd}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x5b0b31}from'lodash-es';import _0x2f23d9 from'./editorannotations.js';export default class i extends _0x46ae30{static get[_0x30a086(0x1f5)](){return[_0x4da7ee,_0x55211d];}static get[_0x30a086(0x1fe)](){const _0x5430a3=_0x30a086;return _0x5430a3(0x23a);}constructor(_0x2b7975){const _0x244cb3=_0x30a086;super(_0x2b7975),this[_0x244cb3(0x1d8)]=!0x1,this[_0x244cb3(0x212)]=new Set(),this[_0x244cb3(0x1f9)]=Object[_0x244cb3(0x1e6)](_0xc772ab),this[_0x244cb3(0x1e5)]=new Map(),this[_0x244cb3(0x219)](_0x244cb3(0x1df),null),this[_0x244cb3(0x1e4)]=null,this[_0x244cb3(0x1d1)]=[],this[_0x244cb3(0x1e7)]=new _0x3b3ccd(),this[_0x244cb3(0x21b)]=_0x5b0b31(()=>{const _0x29769e=_0x244cb3;this[_0x29769e(0x22a)]();},0xfa,{'leading':!0x1});}[_0x30a086(0x1e2)](){const _0xa6832c=_0x30a086;this[_0xa6832c(0x22e)][_0xa6832c(0x1fc)][_0xa6832c(0x1ec)](_0x55211d)[_0xa6832c(0x20c)](_0xa6832c(0x234),this),this[_0xa6832c(0x222)]=new _0x2b7a5f(this[_0xa6832c(0x22e)][_0xa6832c(0x1d3)]),this[_0xa6832c(0x1c7)]=new _0x7230d5(this[_0xa6832c(0x22e)][_0xa6832c(0x1d3)]),this[_0xa6832c(0x222)][_0xa6832c(0x1ef)](),this[_0xa6832c(0x222)][_0xa6832c(0x1f2)](this[_0xa6832c(0x1c7)]);}[_0x30a086(0x23e)](_0x5d7d8c){const _0x4452e5=_0x30a086;this[_0x4452e5(0x1e4)]=_0x5d7d8c;const _0x61d383=this[_0x4452e5(0x22e)][_0x4452e5(0x1fc)][_0x4452e5(0x1ec)](_0x4da7ee),_0x5895ec=this[_0x4452e5(0x1c7)];if(_0x61d383[_0x4452e5(0x229)]=_0x5d7d8c,this[_0x4452e5(0x1d8)])throw new _0xe4df12(_0x4452e5(0x21c),this);this[_0x4452e5(0x1d8)]=!0x0,this[_0x4452e5(0x20d)](_0x61d383,_0x4452e5(0x237),()=>{const _0x2feb52=_0x4452e5;this[_0x2feb52(0x1e3)](),this[_0x2feb52(0x20d)](_0x61d383,_0x2feb52(0x1d0),_0x2c33db=>{const _0xa10ed4=_0x2feb52;_0x2c33db[_0xa10ed4(0x1cd)](),this[_0xa10ed4(0x23e)](_0x5d7d8c);});}),_0x61d383[_0x4452e5(0x238)]({'viewClass':_0x4452e5(0x208),'spaceBetweenItems':0x5});const _0x58357e=_0x275b4a=>{const _0x5e0755=_0x4452e5,_0x2f3f2f=new _0x53d82a(this[_0x5e0755(0x22e)][_0x5e0755(0x1d3)]);_0x61d383[_0x5e0755(0x210)](_0x275b4a,_0x2f3f2f),this[_0x5e0755(0x1e5)][_0x5e0755(0x219)](_0x275b4a,_0x2f3f2f),_0x2f3f2f[_0x5e0755(0x213)](_0x5e0755(0x1f1),_0x5e0755(0x1f6),_0x5e0755(0x201))['to'](_0x275b4a[_0x5e0755(0x1dc)],_0x5e0755(0x1f1),_0x5e0755(0x20b),_0x5e0755(0x1ee)),_0x2f3f2f['on'](_0x5e0755(0x1de),()=>{const _0x12b8e3=_0x5e0755;this[_0x12b8e3(0x212)][_0x12b8e3(0x1ed)](),_0x5895ec[_0x12b8e3(0x227)][_0x12b8e3(0x207)]!==_0x275b4a[_0x12b8e3(0x1dc)]?(this[_0x12b8e3(0x1c8)](_0x275b4a),_0x275b4a[_0x12b8e3(0x1dc)][_0x12b8e3(0x1dd)][_0x12b8e3(0x226)](),this[_0x12b8e3(0x231)](_0x275b4a)):this[_0x12b8e3(0x231)](null);});};for(const _0x31c4b7 of _0x5d7d8c)_0x58357e(_0x31c4b7);this[_0x4452e5(0x20d)](_0x5d7d8c,_0x4452e5(0x1f2),(_0xd5cf2c,_0x1d02c0)=>{_0x58357e(_0x1d02c0);}),this[_0x4452e5(0x20d)](_0x5d7d8c,_0x4452e5(0x1ca),(_0x39c2bc,_0x143683,_0x1311ab)=>{const _0x242ff1=_0x4452e5;this[_0x242ff1(0x1e5)][_0x242ff1(0x1ec)](_0x143683)[_0x242ff1(0x1da)](),this[_0x242ff1(0x1e5)][_0x242ff1(0x1e8)](_0x143683),_0x61d383[_0x242ff1(0x21a)]({'removedAnnotation':_0x143683,'previousAnnotation':_0x5d7d8c[_0x242ff1(0x1ec)](_0x1311ab-0x1),'nextAnnotation':_0x5d7d8c[_0x242ff1(0x1ec)](_0x1311ab+0x1)}),_0x143683===this[_0x242ff1(0x1df)]&&this[_0x242ff1(0x231)](null);},{'priority':_0x4452e5(0x236)}),this[_0x4452e5(0x20d)](_0x5d7d8c,_0x4452e5(0x226),(_0x247545,_0x1e434b)=>{const _0x1d9e43=_0x4452e5;this[_0x1d9e43(0x231)](_0x1e434b);}),this[_0x4452e5(0x20d)](_0x5d7d8c,_0x4452e5(0x232),()=>{const _0x3e208a=_0x4452e5;this[_0x3e208a(0x231)](null);}),this[_0x4452e5(0x1f9)][_0x4452e5(0x20d)](document,_0x4452e5(0x223),(_0x59706e,_0x4230f2)=>{const _0x221ac3=_0x4452e5;_0x4230f2[_0x221ac3(0x217)]===_0x8741aa[_0x221ac3(0x1cf)]&&_0x5895ec[_0x221ac3(0x1e9)]&&(this[_0x221ac3(0x212)][_0x221ac3(0x1f2)](_0x5895ec[_0x221ac3(0x227)][_0x221ac3(0x207)]),this[_0x221ac3(0x21d)](),_0x4230f2[_0x221ac3(0x230)](),_0x4230f2[_0x221ac3(0x23b)]());}),this[_0x4452e5(0x1f9)][_0x4452e5(0x20d)](document,_0x4452e5(0x1fb),(_0x59df11,_0x59f8c1)=>{const _0xe7a49b=_0x4452e5,_0x21b950=_0x59f8c1[_0xe7a49b(0x233)];_0x5895ec[_0xe7a49b(0x1e9)]&&_0x5895ec[_0xe7a49b(0x1dd)][_0xe7a49b(0x1ff)](_0x21b950)||_0x61d383[_0xe7a49b(0x1dc)][_0xe7a49b(0x1dd)][_0xe7a49b(0x1ff)](_0x21b950)||_0x59df11[_0xe7a49b(0x22c)]||this[_0xe7a49b(0x1df)]&&this[_0xe7a49b(0x1df)][_0xe7a49b(0x218)][_0xe7a49b(0x200)](_0x26d72c=>_0x26d72c[_0xe7a49b(0x1ff)](_0x21b950))||(this[_0xe7a49b(0x212)][_0xe7a49b(0x1ed)](),this[_0xe7a49b(0x21d)](),this[_0xe7a49b(0x231)](null));});const _0x178735=this[_0x4452e5(0x22e)]instanceof _0xa0f2be?this[_0x4452e5(0x22e)][_0x4452e5(0x1fd)]:new _0x3b3ccd([this[_0x4452e5(0x22e)]]);for(const _0xad59a of _0x178735)this[_0x4452e5(0x20f)](_0xad59a);this[_0x4452e5(0x20d)](_0x178735,_0x4452e5(0x1f2),(_0x5e6e79,_0x1b8ed9)=>{const _0x572367=_0x4452e5;this[_0x572367(0x20d)](_0x1b8ed9,_0x572367(0x239),()=>{const _0x15940f=_0x572367;this[_0x15940f(0x20f)](_0x1b8ed9);});}),this[_0x4452e5(0x20d)](_0x178735,_0x4452e5(0x1ca),(_0x371566,_0x26c897)=>{const _0x17491a=_0x4452e5;_0x26c897[_0x17491a(0x1fc)][_0x17491a(0x209)](_0x17491a(0x1d6))&&this[_0x17491a(0x1f4)](_0x26c897[_0x17491a(0x1fc)][_0x17491a(0x1ec)](_0x17491a(0x1d6)));}),window[_0x4452e5(0x220)](_0x4452e5(0x1e1),this[_0x4452e5(0x21b)]),this[_0x4452e5(0x22a)]();}[_0x30a086(0x231)](_0x468745){const _0x4ed9ec=_0x30a086;if(_0x468745===this[_0x4ed9ec(0x1df)])return;const _0x420a27=this[_0x4ed9ec(0x22e)][_0x4ed9ec(0x1fc)][_0x4ed9ec(0x1ec)](_0x4da7ee);if(_0x420a27[_0x4ed9ec(0x1cc)]({'blurredAnnotation':this[_0x4ed9ec(0x1df)],'activatedAnnotation':_0x468745,'disableAnimationOnActivatedAnnotation':!0x0}),_0x468745)_0x420a27[_0x4ed9ec(0x235)](_0x468745)?this[_0x4ed9ec(0x1c8)](_0x468745):this[_0x4ed9ec(0x21d)]();else this[_0x4ed9ec(0x21d)]();this[_0x4ed9ec(0x1df)]=_0x468745;}[_0x30a086(0x1e3)](){const _0x41edaa=_0x30a086;if(!this[_0x41edaa(0x1d8)])throw new _0xe4df12(_0x41edaa(0x1f3),this);this[_0x41edaa(0x231)](null);const _0x28b30d=this[_0x41edaa(0x22e)][_0x41edaa(0x1fc)][_0x41edaa(0x1ec)](_0x4da7ee);this[_0x41edaa(0x21d)](),Array[_0x41edaa(0x1d7)](this[_0x41edaa(0x1e5)][_0x41edaa(0x1cb)](),_0x5ab792=>_0x5ab792[_0x41edaa(0x1da)]()),this[_0x41edaa(0x1e5)][_0x41edaa(0x1ed)](),_0x28b30d[_0x41edaa(0x1f8)](this[_0x41edaa(0x1e4)]),this[_0x41edaa(0x1f0)](),this[_0x41edaa(0x1f9)][_0x41edaa(0x1f0)](),this[_0x41edaa(0x22e)]instanceof _0xa0f2be&&this[_0x41edaa(0x1f0)](this[_0x41edaa(0x22e)][_0x41edaa(0x1fd)]);for(const _0x2d21cf of Array[_0x41edaa(0x1d7)](this[_0x41edaa(0x1e7)]))this[_0x41edaa(0x1f4)](_0x2d21cf);window[_0x41edaa(0x1e0)](_0x41edaa(0x1e1),this[_0x41edaa(0x21b)]),this[_0x41edaa(0x21b)][_0x41edaa(0x224)](),this[_0x41edaa(0x1d1)]=[],this[_0x41edaa(0x1d8)]=!0x1,this[_0x41edaa(0x1e4)]=null;}[_0x30a086(0x1da)](){const _0x29f213=_0x30a086;this[_0x29f213(0x1d8)]&&this[_0x29f213(0x1e3)](),this[_0x29f213(0x222)][_0x29f213(0x21f)]();}[_0x30a086(0x20f)](_0x35977e){const _0x57b8ee=_0x30a086,_0x105b95=_0x35977e[_0x57b8ee(0x1fc)][_0x57b8ee(0x1ec)](_0x2f23d9),_0x2ede47=this[_0x57b8ee(0x22e)][_0x57b8ee(0x1fc)][_0x57b8ee(0x1ec)](_0x4da7ee),_0xb1fa82=this[_0x57b8ee(0x1e4)],_0x3ea6e3=this[_0x57b8ee(0x1c7)],_0x380f82=()=>{const _0x4d252c=_0x57b8ee,_0x2f9cbf=_0x105b95[_0x4d252c(0x20e)]({'annotations':this[_0x4d252c(0x1e4)],'activeAnnotation':this[_0x4d252c(0x1df)]});this[_0x4d252c(0x23c)](_0x2f9cbf),this[_0x4d252c(0x231)](_0x2f9cbf[0x0]||null);};this[_0x57b8ee(0x20d)](_0x105b95,_0x57b8ee(0x1cc),_0x380f82),this[_0x57b8ee(0x20d)](_0x105b95,_0x57b8ee(0x232),(_0x1c1354,{isAnnotationTracked:_0x5b7c8b})=>{const _0x558352=_0x57b8ee;this[_0x558352(0x1df)]&&_0x5b7c8b(this[_0x558352(0x1df)])&&(this[_0x558352(0x23c)]([]),this[_0x558352(0x231)](null));}),this[_0x57b8ee(0x20d)](_0x105b95,_0x57b8ee(0x202),()=>{const _0x2b1291=_0x57b8ee;this[_0x2b1291(0x21b)]();}),this[_0x57b8ee(0x20d)](_0xb1fa82,_0x57b8ee(0x232),_0x2ca9bd=>{const _0x46c95d=_0x57b8ee;_0x105b95[_0x46c95d(0x225)]()&&_0x2ca9bd[_0x46c95d(0x1fa)]();},{'priority':_0x57b8ee(0x1f7)}),this[_0x57b8ee(0x20d)](this[_0x57b8ee(0x1f9)],_0x57b8ee(0x1fb),(_0xb06f6a,_0x36215a)=>{const _0x103ce8=_0x57b8ee,_0x4ec970=_0x36215a[_0x103ce8(0x233)];_0x3ea6e3[_0x103ce8(0x1e9)]&&_0x3ea6e3[_0x103ce8(0x1dd)][_0x103ce8(0x1ff)](_0x4ec970)||_0x2ede47[_0x103ce8(0x1dc)][_0x103ce8(0x1dd)][_0x103ce8(0x1ff)](_0x4ec970)||this[_0x103ce8(0x1df)]&&_0x105b95[_0x103ce8(0x225)]()&&(_0x380f82(),_0xb06f6a[_0x103ce8(0x22c)]=!0x0);},{'priority':_0x57b8ee(0x1f7)}),this[_0x57b8ee(0x1e7)][_0x57b8ee(0x1f2)](_0x105b95);}[_0x30a086(0x1f4)](_0x1b60ac){const _0x559407=_0x30a086;_0x1b60ac&&(this[_0x559407(0x1f0)](_0x1b60ac),this[_0x559407(0x1e7)][_0x559407(0x1ca)](_0x1b60ac));}[_0x30a086(0x23c)](_0x58f2dc){const _0x51ef3c=_0x30a086;for(const _0x2109aa of this[_0x51ef3c(0x1d1)])_0x58f2dc[_0x51ef3c(0x1db)](_0x2109aa)||this[_0x51ef3c(0x212)][_0x51ef3c(0x1e8)](_0x2109aa[_0x51ef3c(0x1dc)]);this[_0x51ef3c(0x1d1)]=_0x58f2dc;}[_0x30a086(0x22a)](){const _0x2075bb=_0x30a086,_0x69c8d2=this[_0x2075bb(0x1c7)];this[_0x2075bb(0x1e4)][_0x2075bb(0x216)](),_0x69c8d2[_0x2075bb(0x1e9)]&&this[_0x2075bb(0x205)]();}[_0x30a086(0x1c8)](_0x53a893){const _0x294a40=_0x30a086;if(this[_0x294a40(0x212)][_0x294a40(0x209)](_0x53a893[_0x294a40(0x1dc)]))return;const _0x221da0=this[_0x294a40(0x1c7)][_0x294a40(0x227)][_0x294a40(0x207)];_0x221da0!==_0x53a893[_0x294a40(0x1dc)]?(_0x221da0&&this[_0x294a40(0x215)](_0x221da0),this[_0x294a40(0x1d5)](_0x53a893[_0x294a40(0x1dc)]),this[_0x294a40(0x1c7)][_0x294a40(0x227)][_0x294a40(0x1ed)](),this[_0x294a40(0x1c7)][_0x294a40(0x227)][_0x294a40(0x1f2)](_0x53a893[_0x294a40(0x1dc)]),this[_0x294a40(0x205)]()):this[_0x294a40(0x205)]();}[_0x30a086(0x205)](){const _0x2d3542=_0x30a086,_0x2fc494=this[_0x2d3542(0x1c7)][_0x2d3542(0x227)][_0x2d3542(0x207)],_0x40dc89=_0x2fc494&&this[_0x2d3542(0x1e4)][_0x2d3542(0x1ce)](_0x2fc494);if(!_0x40dc89||!this[_0x2d3542(0x1e5)][_0x2d3542(0x209)](_0x40dc89))return;const _0x44e9e8=this[_0x2d3542(0x1e5)][_0x2d3542(0x1ec)](_0x40dc89)[_0x2d3542(0x1dd)],_0x1833ae=(function(){const _0x28a038=_0x2d3542,_0xca2014=_0x7230d5[_0x28a038(0x211)];return[_0xca2014[_0x28a038(0x204)],_0xca2014[_0x28a038(0x1d4)],_0xca2014[_0x28a038(0x221)],_0xca2014[_0x28a038(0x23d)],_0xca2014[_0x28a038(0x22b)],_0xca2014[_0x28a038(0x1d9)]];}());this[_0x2d3542(0x1c7)][_0x2d3542(0x1ea)]({'target':_0x44e9e8,'positions':_0x1833ae});}[_0x30a086(0x21d)](){const _0x335a75=_0x30a086,_0x4c73ea=this[_0x335a75(0x1c7)],_0x188354=_0x4c73ea[_0x335a75(0x227)][_0x335a75(0x207)];_0x188354&&(this[_0x335a75(0x215)](_0x188354),_0x4c73ea[_0x335a75(0x228)](),_0x4c73ea[_0x335a75(0x227)][_0x335a75(0x1ed)]());}[_0x30a086(0x1d5)](_0x52b5fa){const _0x8a3bda=_0x30a086;this[_0x8a3bda(0x20d)](_0x52b5fa,_0x8a3bda(0x1eb),()=>this[_0x8a3bda(0x205)]()),this[_0x8a3bda(0x20d)](_0x52b5fa,_0x8a3bda(0x22d),(_0x59b791,_0x4e261f)=>{const _0x1fcb0e=_0x8a3bda;this[_0x1fcb0e(0x212)][_0x1fcb0e(0x1f2)](_0x52b5fa),this[_0x1fcb0e(0x21d)](),_0x4e261f();});}[_0x30a086(0x215)](_0x1fa6fa){const _0x56246f=_0x30a086;this[_0x56246f(0x1f0)](_0x1fa6fa);}}
|
|
23
|
+
const _0x2912c1=_0x253b;(function(_0x3203d0,_0x3bea02){const _0x56c725=_0x253b,_0x19267b=_0x3203d0();while(!![]){try{const _0x524e41=parseInt(_0x56c725(0x199))/0x1*(parseInt(_0x56c725(0x17d))/0x2)+-parseInt(_0x56c725(0x1b5))/0x3+-parseInt(_0x56c725(0x1b2))/0x4*(parseInt(_0x56c725(0x186))/0x5)+-parseInt(_0x56c725(0x1d8))/0x6*(parseInt(_0x56c725(0x17c))/0x7)+-parseInt(_0x56c725(0x182))/0x8+parseInt(_0x56c725(0x1b8))/0x9+parseInt(_0x56c725(0x18b))/0xa*(parseInt(_0x56c725(0x17a))/0xb);if(_0x524e41===_0x3bea02)break;else _0x19267b['push'](_0x19267b['shift']());}catch(_0x40662c){_0x19267b['push'](_0x19267b['shift']());}}}(_0x5065,0x56a4c));import{ContextPlugin as _0x332b46,Context as _0x4adc78}from'ckeditor5/src/core.js';import _0x1d71f1 from'./annotationsuis.js';import _0x4861dd from'./sidebar.js';import _0x4e7455 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0xf92090,BodyCollection as _0x3566ad}from'ckeditor5/src/ui.js';function _0x5065(){const _0x2398dd=['narrowsidebar-detach-not-attached','isAttached','attachToDom','2164080IBXjDo','_annotationToNarrowView','blur','narrowSidebar','5QEVueV','_selectedAnnotations','get','getSidebarItemView','addEventListener','10UCESTH','context','add','cancel','northArrowSouthEast','mousedown','southArrowNorth','setActiveAnnotation','refreshPositioning','clear','length','southArrowNorthEast','northArrowSouthWest','narrowsidebar-attach-already-attached','440203IaqOoJ','_destroyEditorAnnotationsIntegration','focus','remove','getOrderedSelectedAnnotations','isVisible','_domEmitter','preventDefault','rearrange','removeEventListener','detachFromDom','ready','pluginName','stop','resize','getByView','defaultPositions','stopPropagation','_updateBalloonPosition','isDirty','element','ck-sidebar--narrow','execute','_hideBalloon','_attachToContainer','491380YakZGj','_refreshPositioningDebounced','register','1819404fLcZst','_showBalloon','stopListening','5128794LJhBLi','annotations','init','bind','keyCode','listenTo','bodyCollection','_setSelectedAnnotations','target','set:container','_detachFromContainer','focusableElements','_annotations','locale','change:height','_refreshPositioning','from','_attachListeners','requires','balloonPanelView','northArrowSouth','detach','plugins','low','refresh','esc','hasDomSelection','activeAnnotation','editors','_manuallyClosedAnnotationViews','set','unpin','6jPqDWY','southArrowNorthWest','Esc','contains','create','has','delete','uiUpdate','high','EditorAnnotations','_integrateWithEditorAnnotations','first','attach','_editorAnnotations','content','addAnnotation','off','view','preventClosingBalloon','keydown','includes','NarrowSidebar','annotationType','type','change:container','number','values','destroy','find','4557619FqABOl','pin','487781sQmATx','2BwdTwA','_detachListeners'];_0x5065=function(){return _0x2398dd;};return _0x5065();}function _0x253b(_0x54b989,_0x4d1ced){const _0x5065f4=_0x5065();return _0x253b=function(_0x253bb3,_0x4fe2d6){_0x253bb3=_0x253bb3-0x15e;let _0x1f580e=_0x5065f4[_0x253bb3];return _0x1f580e;},_0x253b(_0x54b989,_0x4d1ced);}import{CKEditorError as _0x431b3e,DomEmitterMixin as _0x2b1b35,keyCodes as _0x13db19,Collection as _0x125871}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x38bf8e}from'lodash-es';import _0x3c8341 from'./editorannotations.js';export default class i extends _0x332b46{static get[_0x2912c1(0x1ca)](){return[_0x4861dd,_0x1d71f1];}static get[_0x2912c1(0x1a5)](){const _0x702525=_0x2912c1;return _0x702525(0x172);}constructor(_0x9c3303){const _0x484711=_0x2912c1;super(_0x9c3303),this[_0x484711(0x180)]=!0x1,this[_0x484711(0x1d5)]=new Set(),this[_0x484711(0x19f)]=Object[_0x484711(0x161)](_0x2b1b35),this[_0x484711(0x183)]=new Map(),this[_0x484711(0x1d6)](_0x484711(0x1d3),null),this[_0x484711(0x1b9)]=null,this[_0x484711(0x187)]=[],this[_0x484711(0x16a)]=new _0x125871(),this[_0x484711(0x1b3)]=_0x38bf8e(()=>{const _0x338a38=_0x484711;this[_0x338a38(0x1c7)]();},0xfa,{'leading':!0x1});}[_0x2912c1(0x1ba)](){const _0xf4ea5f=_0x2912c1;this[_0xf4ea5f(0x18c)][_0xf4ea5f(0x1ce)][_0xf4ea5f(0x188)](_0x1d71f1)[_0xf4ea5f(0x1b4)](_0xf4ea5f(0x185),this),this[_0xf4ea5f(0x1be)]=new _0x3566ad(this[_0xf4ea5f(0x18c)][_0xf4ea5f(0x1c5)]),this[_0xf4ea5f(0x1cb)]=new _0xf92090(this[_0xf4ea5f(0x18c)][_0xf4ea5f(0x1c5)]),this[_0xf4ea5f(0x1be)][_0xf4ea5f(0x181)](),this[_0xf4ea5f(0x1be)][_0xf4ea5f(0x18d)](this[_0xf4ea5f(0x1cb)]);}[_0x2912c1(0x169)](_0x57ca5b){const _0xa131a1=_0x2912c1;this[_0xa131a1(0x1b9)]=_0x57ca5b;const _0x3ff538=this[_0xa131a1(0x18c)][_0xa131a1(0x1ce)][_0xa131a1(0x188)](_0x4861dd),_0x2949af=this[_0xa131a1(0x1cb)];if(_0x3ff538[_0xa131a1(0x1c4)]=_0x57ca5b,this[_0xa131a1(0x180)])throw new _0x431b3e(_0xa131a1(0x198),this);this[_0xa131a1(0x180)]=!0x0,this[_0xa131a1(0x1bd)](_0x3ff538,_0xa131a1(0x1c1),()=>{const _0x3f7a74=_0xa131a1;this[_0x3f7a74(0x1cd)](),this[_0x3f7a74(0x1bd)](_0x3ff538,_0x3f7a74(0x175),_0x1cca56=>{const _0x5b96eb=_0x3f7a74;_0x1cca56[_0x5b96eb(0x16d)](),this[_0x5b96eb(0x169)](_0x57ca5b);});}),_0x3ff538[_0xa131a1(0x1b1)]({'viewClass':_0xa131a1(0x1ae),'spaceBetweenItems':0x5});const _0x4e38c1=_0x51fe82=>{const _0x324ff9=_0xa131a1,_0x42a597=new _0x4e7455(this[_0x324ff9(0x18c)][_0x324ff9(0x1c5)]);_0x3ff538[_0x324ff9(0x16c)](_0x51fe82,_0x42a597),this[_0x324ff9(0x183)][_0x324ff9(0x1d6)](_0x51fe82,_0x42a597),_0x42a597[_0x324ff9(0x1bb)](_0x324ff9(0x1ac),_0x324ff9(0x173),_0x324ff9(0x176))['to'](_0x51fe82[_0x324ff9(0x16e)],_0x324ff9(0x1ac),_0x324ff9(0x174),_0x324ff9(0x195)),_0x42a597['on'](_0x324ff9(0x1af),()=>{const _0x7d4f0=_0x324ff9;this[_0x7d4f0(0x1d5)][_0x7d4f0(0x194)](),_0x2949af[_0x7d4f0(0x16b)][_0x7d4f0(0x168)]!==_0x51fe82[_0x7d4f0(0x16e)]?(this[_0x7d4f0(0x1b6)](_0x51fe82),_0x51fe82[_0x7d4f0(0x16e)][_0x7d4f0(0x1ad)][_0x7d4f0(0x19b)](),this[_0x7d4f0(0x192)](_0x51fe82)):this[_0x7d4f0(0x192)](null);});};for(const _0x30caff of _0x57ca5b)_0x4e38c1(_0x30caff);this[_0xa131a1(0x1bd)](_0x57ca5b,_0xa131a1(0x18d),(_0x7ce76,_0x3dffae)=>{_0x4e38c1(_0x3dffae);}),this[_0xa131a1(0x1bd)](_0x57ca5b,_0xa131a1(0x19c),(_0x791589,_0x3908eb,_0x47064e)=>{const _0xeffe1f=_0xa131a1;this[_0xeffe1f(0x183)][_0xeffe1f(0x188)](_0x3908eb)[_0xeffe1f(0x178)](),this[_0xeffe1f(0x183)][_0xeffe1f(0x163)](_0x3908eb),_0x3ff538[_0xeffe1f(0x1a1)]({'removedAnnotation':_0x3908eb,'previousAnnotation':_0x57ca5b[_0xeffe1f(0x188)](_0x47064e-0x1),'nextAnnotation':_0x57ca5b[_0xeffe1f(0x188)](_0x47064e+0x1)}),_0x3908eb===this[_0xeffe1f(0x1d3)]&&this[_0xeffe1f(0x192)](null);},{'priority':_0xa131a1(0x1cf)}),this[_0xa131a1(0x1bd)](_0x57ca5b,_0xa131a1(0x19b),(_0x5e386c,_0x40d157)=>{const _0x77d5c9=_0xa131a1;this[_0x77d5c9(0x192)](_0x40d157);}),this[_0xa131a1(0x1bd)](_0x57ca5b,_0xa131a1(0x184),()=>{const _0x54a944=_0xa131a1;this[_0x54a944(0x192)](null);}),this[_0xa131a1(0x19f)][_0xa131a1(0x1bd)](document,_0xa131a1(0x170),(_0x64236c,_0x226b15)=>{const _0x3a8a66=_0xa131a1;_0x226b15[_0x3a8a66(0x1bc)]===_0x13db19[_0x3a8a66(0x1d1)]&&_0x2949af[_0x3a8a66(0x19e)]&&(this[_0x3a8a66(0x1d5)][_0x3a8a66(0x18d)](_0x2949af[_0x3a8a66(0x16b)][_0x3a8a66(0x168)]),this[_0x3a8a66(0x1b0)](),_0x226b15[_0x3a8a66(0x1aa)](),_0x226b15[_0x3a8a66(0x1a0)]());}),this[_0xa131a1(0x19f)][_0xa131a1(0x1bd)](document,_0xa131a1(0x190),(_0x2ec8e3,_0xc56e7)=>{const _0x35d78d=_0xa131a1,_0x51ba01=_0xc56e7[_0x35d78d(0x1c0)];_0x2949af[_0x35d78d(0x19e)]&&_0x2949af[_0x35d78d(0x1ad)][_0x35d78d(0x160)](_0x51ba01)||_0x3ff538[_0x35d78d(0x16e)][_0x35d78d(0x1ad)][_0x35d78d(0x160)](_0x51ba01)||_0x2ec8e3[_0x35d78d(0x16f)]||this[_0x35d78d(0x1d3)]&&this[_0x35d78d(0x1d3)][_0x35d78d(0x1c3)][_0x35d78d(0x179)](_0x549373=>_0x549373[_0x35d78d(0x160)](_0x51ba01))||(this[_0x35d78d(0x1d5)][_0x35d78d(0x194)](),this[_0x35d78d(0x1b0)](),this[_0x35d78d(0x192)](null));});const _0x445f85=this[_0xa131a1(0x18c)]instanceof _0x4adc78?this[_0xa131a1(0x18c)][_0xa131a1(0x1d4)]:new _0x125871([this[_0xa131a1(0x18c)]]);for(const _0x2e8275 of _0x445f85)this[_0xa131a1(0x167)](_0x2e8275);this[_0xa131a1(0x1bd)](_0x445f85,_0xa131a1(0x18d),(_0x137d00,_0x501310)=>{const _0x50824e=_0xa131a1;this[_0x50824e(0x1bd)](_0x501310,_0x50824e(0x1a4),()=>{const _0x15601e=_0x50824e;this[_0x15601e(0x167)](_0x501310);});}),this[_0xa131a1(0x1bd)](_0x445f85,_0xa131a1(0x19c),(_0x201930,_0x5c422a)=>{const _0x53544f=_0xa131a1;_0x5c422a[_0x53544f(0x1ce)][_0x53544f(0x162)](_0x53544f(0x166))&&this[_0x53544f(0x19a)](_0x5c422a[_0x53544f(0x1ce)][_0x53544f(0x188)](_0x53544f(0x166)));}),window[_0xa131a1(0x18a)](_0xa131a1(0x1a7),this[_0xa131a1(0x1b3)]),this[_0xa131a1(0x1c7)]();}[_0x2912c1(0x192)](_0x1fec1d){const _0x2e5c8b=_0x2912c1;if(_0x1fec1d===this[_0x2e5c8b(0x1d3)])return;const _0x1d2ed0=this[_0x2e5c8b(0x18c)][_0x2e5c8b(0x1ce)][_0x2e5c8b(0x188)](_0x4861dd);if(_0x1d2ed0[_0x2e5c8b(0x1d0)]({'blurredAnnotation':this[_0x2e5c8b(0x1d3)],'activatedAnnotation':_0x1fec1d,'disableAnimationOnActivatedAnnotation':!0x0}),_0x1fec1d)_0x1d2ed0[_0x2e5c8b(0x189)](_0x1fec1d)?this[_0x2e5c8b(0x1b6)](_0x1fec1d):this[_0x2e5c8b(0x1b0)]();else this[_0x2e5c8b(0x1b0)]();this[_0x2e5c8b(0x1d3)]=_0x1fec1d;}[_0x2912c1(0x1cd)](){const _0x377b3b=_0x2912c1;if(!this[_0x377b3b(0x180)])throw new _0x431b3e(_0x377b3b(0x17f),this);this[_0x377b3b(0x192)](null);const _0x9ed05f=this[_0x377b3b(0x18c)][_0x377b3b(0x1ce)][_0x377b3b(0x188)](_0x4861dd);this[_0x377b3b(0x1b0)](),Array[_0x377b3b(0x1c8)](this[_0x377b3b(0x183)][_0x377b3b(0x177)](),_0x28c9f9=>_0x28c9f9[_0x377b3b(0x178)]()),this[_0x377b3b(0x183)][_0x377b3b(0x194)](),_0x9ed05f[_0x377b3b(0x1c2)](this[_0x377b3b(0x1b9)]),this[_0x377b3b(0x1b7)](),this[_0x377b3b(0x19f)][_0x377b3b(0x1b7)](),this[_0x377b3b(0x18c)]instanceof _0x4adc78&&this[_0x377b3b(0x1b7)](this[_0x377b3b(0x18c)][_0x377b3b(0x1d4)]);for(const _0x125161 of Array[_0x377b3b(0x1c8)](this[_0x377b3b(0x16a)]))this[_0x377b3b(0x19a)](_0x125161);window[_0x377b3b(0x1a2)](_0x377b3b(0x1a7),this[_0x377b3b(0x1b3)]),this[_0x377b3b(0x1b3)][_0x377b3b(0x18e)](),this[_0x377b3b(0x187)]=[],this[_0x377b3b(0x180)]=!0x1,this[_0x377b3b(0x1b9)]=null;}[_0x2912c1(0x178)](){const _0x13b37d=_0x2912c1;this[_0x13b37d(0x180)]&&this[_0x13b37d(0x1cd)](),this[_0x13b37d(0x1be)][_0x13b37d(0x1a3)]();}[_0x2912c1(0x167)](_0x51a09b){const _0x2f6d6e=_0x2912c1,_0x4294e4=_0x51a09b[_0x2f6d6e(0x1ce)][_0x2f6d6e(0x188)](_0x3c8341),_0x13df15=this[_0x2f6d6e(0x18c)][_0x2f6d6e(0x1ce)][_0x2f6d6e(0x188)](_0x4861dd),_0x6b46cf=this[_0x2f6d6e(0x1b9)],_0x27e293=this[_0x2f6d6e(0x1cb)],_0x310524=()=>{const _0x5b245a=_0x2f6d6e,_0x4c4663=_0x4294e4[_0x5b245a(0x19d)]({'annotations':this[_0x5b245a(0x1b9)],'activeAnnotation':this[_0x5b245a(0x1d3)]});this[_0x5b245a(0x1bf)](_0x4c4663),this[_0x5b245a(0x192)](_0x4c4663[0x0]||null);};this[_0x2f6d6e(0x1bd)](_0x4294e4,_0x2f6d6e(0x1d0),_0x310524),this[_0x2f6d6e(0x1bd)](_0x4294e4,_0x2f6d6e(0x184),(_0x13bb93,{isAnnotationTracked:_0x214d65})=>{const _0x1ce266=_0x2f6d6e;this[_0x1ce266(0x1d3)]&&_0x214d65(this[_0x1ce266(0x1d3)])&&(this[_0x1ce266(0x1bf)]([]),this[_0x1ce266(0x192)](null));}),this[_0x2f6d6e(0x1bd)](_0x4294e4,_0x2f6d6e(0x164),()=>{const _0x4c6ffe=_0x2f6d6e;this[_0x4c6ffe(0x1b3)]();}),this[_0x2f6d6e(0x1bd)](_0x6b46cf,_0x2f6d6e(0x184),_0xb21f0f=>{const _0x3fdb13=_0x2f6d6e;_0x4294e4[_0x3fdb13(0x1d2)]()&&_0xb21f0f[_0x3fdb13(0x1a6)]();},{'priority':_0x2f6d6e(0x165)}),this[_0x2f6d6e(0x1bd)](this[_0x2f6d6e(0x19f)],_0x2f6d6e(0x190),(_0x268a24,_0x12f472)=>{const _0x47371b=_0x2f6d6e,_0xe7c412=_0x12f472[_0x47371b(0x1c0)];_0x27e293[_0x47371b(0x19e)]&&_0x27e293[_0x47371b(0x1ad)][_0x47371b(0x160)](_0xe7c412)||_0x13df15[_0x47371b(0x16e)][_0x47371b(0x1ad)][_0x47371b(0x160)](_0xe7c412)||this[_0x47371b(0x1d3)]&&_0x4294e4[_0x47371b(0x1d2)]()&&(_0x310524(),_0x268a24[_0x47371b(0x16f)]=!0x0);},{'priority':_0x2f6d6e(0x165)}),this[_0x2f6d6e(0x16a)][_0x2f6d6e(0x18d)](_0x4294e4);}[_0x2912c1(0x19a)](_0x95e074){const _0x4a11d5=_0x2912c1;_0x95e074&&(this[_0x4a11d5(0x1b7)](_0x95e074),this[_0x4a11d5(0x16a)][_0x4a11d5(0x19c)](_0x95e074));}[_0x2912c1(0x1bf)](_0x11b758){const _0x1a1f86=_0x2912c1;for(const _0x37ea22 of this[_0x1a1f86(0x187)])_0x11b758[_0x1a1f86(0x171)](_0x37ea22)||this[_0x1a1f86(0x1d5)][_0x1a1f86(0x163)](_0x37ea22[_0x1a1f86(0x16e)]);this[_0x1a1f86(0x187)]=_0x11b758;}[_0x2912c1(0x1c7)](){const _0x318089=_0x2912c1,_0x26c259=this[_0x318089(0x1cb)];this[_0x318089(0x1b9)][_0x318089(0x193)](),_0x26c259[_0x318089(0x19e)]&&this[_0x318089(0x1ab)]();}[_0x2912c1(0x1b6)](_0x2bb5c6){const _0x49a2a2=_0x2912c1;if(this[_0x49a2a2(0x1d5)][_0x49a2a2(0x162)](_0x2bb5c6[_0x49a2a2(0x16e)]))return;const _0x1bf0eb=this[_0x49a2a2(0x1cb)][_0x49a2a2(0x16b)][_0x49a2a2(0x168)];_0x1bf0eb!==_0x2bb5c6[_0x49a2a2(0x16e)]?(_0x1bf0eb&&this[_0x49a2a2(0x17e)](_0x1bf0eb),this[_0x49a2a2(0x1c9)](_0x2bb5c6[_0x49a2a2(0x16e)]),this[_0x49a2a2(0x1cb)][_0x49a2a2(0x16b)][_0x49a2a2(0x194)](),this[_0x49a2a2(0x1cb)][_0x49a2a2(0x16b)][_0x49a2a2(0x18d)](_0x2bb5c6[_0x49a2a2(0x16e)]),this[_0x49a2a2(0x1ab)]()):this[_0x49a2a2(0x1ab)]();}[_0x2912c1(0x1ab)](){const _0x3c3d59=_0x2912c1,_0x5b8155=this[_0x3c3d59(0x1cb)][_0x3c3d59(0x16b)][_0x3c3d59(0x168)],_0x5ab0a9=_0x5b8155&&this[_0x3c3d59(0x1b9)][_0x3c3d59(0x1a8)](_0x5b8155);if(!_0x5ab0a9||!this[_0x3c3d59(0x183)][_0x3c3d59(0x162)](_0x5ab0a9))return;const _0x46de5d=this[_0x3c3d59(0x183)][_0x3c3d59(0x188)](_0x5ab0a9)[_0x3c3d59(0x1ad)],_0x4586ce=(function(){const _0x5d72af=_0x3c3d59,_0x47c055=_0xf92090[_0x5d72af(0x1a9)];return[_0x47c055[_0x5d72af(0x196)],_0x47c055[_0x5d72af(0x18f)],_0x47c055[_0x5d72af(0x191)],_0x47c055[_0x5d72af(0x1cc)],_0x47c055[_0x5d72af(0x15e)],_0x47c055[_0x5d72af(0x197)]];}());this[_0x3c3d59(0x1cb)][_0x3c3d59(0x17b)]({'target':_0x46de5d,'positions':_0x4586ce});}[_0x2912c1(0x1b0)](){const _0x2ec043=_0x2912c1,_0x3cf6d2=this[_0x2ec043(0x1cb)],_0x3ef453=_0x3cf6d2[_0x2ec043(0x16b)][_0x2ec043(0x168)];_0x3ef453&&(this[_0x2ec043(0x17e)](_0x3ef453),_0x3cf6d2[_0x2ec043(0x1d7)](),_0x3cf6d2[_0x2ec043(0x16b)][_0x2ec043(0x194)]());}[_0x2912c1(0x1c9)](_0x2f1510){const _0x33b176=_0x2912c1;this[_0x33b176(0x1bd)](_0x2f1510,_0x33b176(0x1c6),()=>this[_0x33b176(0x1ab)]()),this[_0x33b176(0x1bd)](_0x2f1510,_0x33b176(0x15f),(_0x430123,_0x164795)=>{const _0x261352=_0x33b176;this[_0x261352(0x1d5)][_0x261352(0x18d)](_0x2f1510),this[_0x261352(0x1b0)](),_0x164795();});}[_0x2912c1(0x17e)](_0x3c387b){const _0x108a48=_0x2912c1;this[_0x108a48(0x1b7)](_0x3c387b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x44f5af=_0x1e9a;(function(_0x3fb0bf,_0x204111){const _0x4917de=_0x1e9a,_0x7702fb=_0x3fb0bf();while(!![]){try{const _0x2512d5=-parseInt(_0x4917de(0xc7))/0x1*(parseInt(_0x4917de(0x10c))/0x2)+-parseInt(_0x4917de(0xec))/0x3*(parseInt(_0x4917de(0x113))/0x4)+parseInt(_0x4917de(0x114))/0x5+-parseInt(_0x4917de(0xce))/0x6+parseInt(_0x4917de(0xe5))/0x7*(-parseInt(_0x4917de(0x111))/0x8)+-parseInt(_0x4917de(0xf4))/0x9+parseInt(_0x4917de(0xcf))/0xa*(parseInt(_0x4917de(0xfa))/0xb);if(_0x2512d5===_0x204111)break;else _0x7702fb['push'](_0x7702fb['shift']());}catch(_0x3d211e){_0x7702fb['push'](_0x7702fb['shift']());}}}(_0x4045,0x8b3de));import{ContextPlugin as _0x29c569}from'ckeditor5/src/core.js';function _0x4045(){const _0x247b45=['max','isActive','clear','Sidebar','getSidebarItemView','_alignBeforeItem','_createSidebarView','bind','54472xgdCgQ','init','_getItemBefore','_spaceBetweenItems','define','3517848WbGcLS','list','678668qXWQEG','3664260wfCktg','change:_lastItem','_sidebarItemViewToAnnotation','change:targetRect','_recalculateBuffer','_alignToTargetRect','_detachFromContainer','targetRect','sidebar.preventScrollOutOfView','_activeAnnotation','_alignAfterItem','object','rearrange','28NXJYhn','_getItemAfter','context','stopListening','_getMaxAvailableTop','getIndex','_getTargetTop','4700472Svivaz','88220eBWerG','appendChild','sidebar.container','set','_annotationToSidebarItemView','render','class','locale','pluginName','_recalculate','setContainer','unbind','view','add','_annotations','_alignForBottomChange','listenTo','target','element','isAnimationDisabled','get','_updateLastItem','7LDofQt','config','change:top','nodeType','content','length','last','12kGRkkc','push','_attachToContainer','_setItemTop','_alignForTopChange','addAnnotation','height','container','6463161NgqRwk','change:bottom','destroy','bottom','updateHeight','_destroySidebarItemView','4015IWtkmT','delete','sidebar-attachtocontainer-missing-container','_lastItem','top','minHeight','_targetTop','refresh','sidebar-setcontainer-invalid-element','remove'];_0x4045=function(){return _0x247b45;};return _0x4045();}import{Rect as _0x44cb11,CKEditorError as _0x2f839f}from'ckeditor5/src/utils.js';function _0x1e9a(_0x41b44a,_0x2f91d4){const _0x4045af=_0x4045();return _0x1e9a=function(_0x1e9a51,_0x2a4c29){_0x1e9a51=_0x1e9a51-0xc2;let _0x8d85b3=_0x4045af[_0x1e9a51];return _0x8d85b3;},_0x1e9a(_0x41b44a,_0x2f91d4);}import _0x18adca from'./view/sidebarview.js';import _0xdef5c from'./view/sidebaritemview.js';export default class z extends _0x29c569{static get[_0x44f5af(0xd7)](){const _0x51a1f2=_0x44f5af;return _0x51a1f2(0x107);}constructor(_0x528bce){const _0x3d409d=_0x44f5af;super(_0x528bce),this[_0x3d409d(0xd2)](_0x3d409d(0xfd),void 0x0),this[_0x3d409d(0xdb)]=this[_0x3d409d(0x10a)](),this[_0x3d409d(0xd2)](_0x3d409d(0xf3),null),this[_0x3d409d(0x10f)]=0x19,this[_0x3d409d(0x116)]=new Map(),this[_0x3d409d(0xd3)]=new Map(),this[_0x3d409d(0xc9)][_0x3d409d(0xe6)][_0x3d409d(0x110)](_0x3d409d(0xc2),!0x1),this[_0x3d409d(0xdd)]=null,this[_0x3d409d(0xc3)]=null,this[_0x3d409d(0x118)]=[];}[_0x44f5af(0x10d)](){const _0x2df1ca=_0x44f5af,_0x2c2cc3=this[_0x2df1ca(0xc9)][_0x2df1ca(0xe6)][_0x2df1ca(0xe3)](_0x2df1ca(0xd1));_0x2c2cc3&&this[_0x2df1ca(0xd9)](_0x2c2cc3);}[_0x44f5af(0xd9)](_0x59bbf0){const _0x1a9a0d=_0x44f5af;if(!y(_0x59bbf0))throw new _0x2f839f(_0x1a9a0d(0x102));this[_0x1a9a0d(0xf3)]=_0x59bbf0;}[_0x44f5af(0xee)]({viewClass:_0x464af6='',spaceBetweenItems:_0x49edc1=0x19}={}){const _0x4dbb4e=_0x44f5af;if(!y(this[_0x4dbb4e(0xf3)]))throw new _0x2f839f(_0x4dbb4e(0xfc),this);this[_0x4dbb4e(0xf3)][_0x4dbb4e(0xd0)](this[_0x4dbb4e(0xdb)][_0x4dbb4e(0xe1)]),this[_0x4dbb4e(0xdb)][_0x4dbb4e(0xd5)]=_0x464af6,this[_0x4dbb4e(0x10f)]=_0x49edc1;}[_0x44f5af(0xc6)]({removedAnnotation:_0x5f5508,previousAnnotation:_0x59dd03,nextAnnotation:_0x316f}){const _0x1f596a=_0x44f5af,_0x2a2a19=this[_0x1f596a(0x108)](_0x5f5508);this[_0x1f596a(0xdb)][_0x1f596a(0x112)][_0x1f596a(0x103)](_0x2a2a19),this[_0x1f596a(0xf9)](_0x5f5508),_0x59dd03&&this[_0x1f596a(0x119)](this[_0x1f596a(0x108)](_0x59dd03)),_0x316f&&this[_0x1f596a(0x119)](this[_0x1f596a(0x108)](_0x316f)),this[_0x1f596a(0xe4)]();}[_0x44f5af(0x101)]({blurredAnnotation:_0x10ad12,activatedAnnotation:_0x46521b,disableAnimationOnActivatedAnnotation:_0xfbc24b}){const _0x169db8=_0x44f5af;if(this[_0x169db8(0xc3)]=_0x46521b,_0x10ad12){_0x10ad12[_0x169db8(0x105)]=!0x1;const _0x18663f=this[_0x169db8(0x108)](_0x10ad12);_0x18663f&&_0xfbc24b&&(_0x18663f[_0x169db8(0xe2)]=!0x1);}if(_0x46521b){const _0x59929b=this[_0x169db8(0x108)](_0x46521b);_0x59929b&&(_0x46521b[_0x169db8(0x105)]=!0x0,_0xfbc24b&&(_0x59929b[_0x169db8(0xe2)]=!0x0,_0x59929b[_0x169db8(0xfe)]+=0x1),this[_0x169db8(0x119)](_0x59929b));}}[_0x44f5af(0x11a)](_0x3dab59){const _0x40fa96=_0x44f5af;if(this[_0x40fa96(0xdb)][_0x40fa96(0xe1)][_0x40fa96(0x103)](),_0x3dab59){for(const _0x421626 of _0x3dab59)this[_0x40fa96(0xf9)](_0x421626);}this[_0x40fa96(0xdb)][_0x40fa96(0x112)][_0x40fa96(0x106)](),this[_0x40fa96(0xdb)][_0x40fa96(0xd5)]='',this[_0x40fa96(0xfd)]=null;}[_0x44f5af(0xf1)](_0x4bba8d,_0x31c222){const _0x332fe8=_0x44f5af;_0x31c222||(_0x31c222=_0x4bba8d[_0x332fe8(0xdb)]);const _0x12d10a=new _0xdef5c(this[_0x332fe8(0xc9)][_0x332fe8(0xd6)]);this[_0x332fe8(0x116)][_0x332fe8(0xd2)](_0x12d10a,_0x4bba8d),this[_0x332fe8(0xd3)][_0x332fe8(0xd2)](_0x4bba8d,_0x12d10a),_0x12d10a[_0x332fe8(0xe9)][_0x332fe8(0xdc)](_0x31c222),this[_0x332fe8(0xdf)](_0x4bba8d[_0x332fe8(0xdb)],_0x332fe8(0x117),(_0x3f7d44,_0x1f9622,_0x2134d1)=>{const _0x230778=_0x332fe8,_0x324d1a=this[_0x230778(0xcd)](_0x4bba8d,_0x2134d1);_0x12d10a[_0x230778(0x100)]!=_0x324d1a&&(_0x12d10a[_0x230778(0x100)]=_0x324d1a,this[_0x230778(0xef)](_0x12d10a,_0x324d1a));}),this[_0x332fe8(0xdf)](_0x12d10a,_0x332fe8(0xe7),()=>{const _0xe914b9=_0x332fe8;this[_0xe914b9(0xd8)](_0x12d10a,_0xe914b9(0xfe));}),this[_0x332fe8(0xdf)](_0x12d10a,_0x332fe8(0xf5),()=>{const _0x217bdb=_0x332fe8;this[_0x217bdb(0xd8)](_0x12d10a,_0x217bdb(0xf7));}),this[_0x332fe8(0x119)](_0x12d10a);const _0x3ffd31=this[_0x332fe8(0x10e)](_0x12d10a);if(_0x3ffd31)this[_0x332fe8(0xc4)](_0x3ffd31,_0x12d10a)||this[_0x332fe8(0x119)](_0x12d10a);else this[_0x332fe8(0x119)](_0x12d10a);return this[_0x332fe8(0xe4)](),this[_0x332fe8(0xdb)][_0x332fe8(0x112)][_0x332fe8(0xdc)](_0x12d10a),_0x12d10a;}[_0x44f5af(0xf0)](_0x3df29d){const _0x450ce2=_0x44f5af;if(!_0x3df29d[_0x450ce2(0xe9)][_0x450ce2(0xea)])return;const _0x114164=this[_0x450ce2(0x10e)](_0x3df29d);if(!_0x114164)return;const _0x263868=this[_0x450ce2(0x116)][_0x450ce2(0xe3)](_0x114164),_0x29f14f=this[_0x450ce2(0xc3)];_0x29f14f&&_0x29f14f===_0x263868?this[_0x450ce2(0xc4)](_0x114164,_0x3df29d):this[_0x450ce2(0x109)](_0x3df29d,_0x114164);}[_0x44f5af(0xde)](_0x33ae42){const _0x2b5fef=_0x44f5af;if(!_0x33ae42[_0x2b5fef(0xe9)][_0x2b5fef(0xea)])return;const _0x56dab3=this[_0x2b5fef(0xc8)](_0x33ae42);if(!_0x56dab3)return;const _0x17a15a=this[_0x2b5fef(0x116)][_0x2b5fef(0xe3)](_0x56dab3),_0x5d894a=this[_0x2b5fef(0xc9)][_0x2b5fef(0xe6)][_0x2b5fef(0xe3)](_0x2b5fef(0xc2)),_0x4802fb=this[_0x2b5fef(0xc3)];_0x4802fb&&_0x4802fb===_0x17a15a&&_0x5d894a?(this[_0x2b5fef(0x109)](_0x56dab3,_0x33ae42),this[_0x2b5fef(0xc4)](_0x33ae42,_0x56dab3)):_0x4802fb&&_0x4802fb===_0x17a15a?this[_0x2b5fef(0x109)](_0x56dab3,_0x33ae42):this[_0x2b5fef(0xc4)](_0x33ae42,_0x56dab3);}[_0x44f5af(0xd8)](_0x31688a,_0x1d1231){const _0x48f6ce=_0x44f5af;0x0===this[_0x48f6ce(0x118)][_0x48f6ce(0xea)]&&setTimeout(()=>{const _0x7b3866=_0x48f6ce;for(const {sidebarItemView:_0x1ee5d5,changedProp:_0xb5ee7}of this[_0x7b3866(0x118)])_0x7b3866(0xfe)===_0xb5ee7?this[_0x7b3866(0xf0)](_0x1ee5d5):this[_0x7b3866(0xde)](_0x1ee5d5);this[_0x7b3866(0x118)]=[];},0xa),this[_0x48f6ce(0x118)][_0x48f6ce(0xed)]({'sidebarItemView':_0x31688a,'changedProp':_0x1d1231});}[_0x44f5af(0x108)](_0x1daa42){const _0x5ea4a7=_0x44f5af;return this[_0x5ea4a7(0xd3)][_0x5ea4a7(0xe3)](_0x1daa42);}[_0x44f5af(0xf6)](){const _0x2d56c5=_0x44f5af;this[_0x2d56c5(0xca)](),this[_0x2d56c5(0xdb)][_0x2d56c5(0xf6)]();}[_0x44f5af(0xf9)](_0x329707){const _0x5e7d61=_0x44f5af,_0x1a6117=this[_0x5e7d61(0x108)](_0x329707);this[_0x5e7d61(0xca)](_0x1a6117),this[_0x5e7d61(0xca)](_0x329707[_0x5e7d61(0xdb)]),_0x1a6117[_0x5e7d61(0xf6)](),this[_0x5e7d61(0xd3)][_0x5e7d61(0xfb)](_0x329707),this[_0x5e7d61(0x116)][_0x5e7d61(0xfb)](_0x1a6117);}[_0x44f5af(0x10a)](){const _0x53160c=_0x44f5af,_0xeb0a77=new _0x18adca(this[_0x53160c(0xc9)][_0x53160c(0xd6)]);return _0xeb0a77[_0x53160c(0xd4)](),this['on'](_0x53160c(0x115),(_0xd0b4e2,_0xb6bd79,_0xe08dbf,_0x25ce5a)=>{const _0x115a37=_0x53160c;_0x25ce5a&&_0xeb0a77[_0x115a37(0xda)](_0x115a37(0xff)),_0xe08dbf?_0xeb0a77[_0x115a37(0x10b)](_0x115a37(0xff))['to'](_0xe08dbf,_0x115a37(0xf7)):_0xeb0a77[_0x115a37(0xff)]=null;}),_0xeb0a77;}[_0x44f5af(0xe4)](){const _0x221153=_0x44f5af;var _0x5bef4a;this[_0x221153(0xfd)]=(null===(_0x5bef4a=this[_0x221153(0xdd)])||void 0x0===_0x5bef4a?void 0x0:_0x5bef4a[_0x221153(0xeb)])?this[_0x221153(0x108)](this[_0x221153(0xdd)][_0x221153(0xeb)]):null;}[_0x44f5af(0x10e)](_0x297629){const _0x35dece=_0x44f5af;var _0x252486;const _0x31aa97=this[_0x35dece(0x116)][_0x35dece(0xe3)](_0x297629),_0x27126b=_0x31aa97&&(null===(_0x252486=this[_0x35dece(0xdd)])||void 0x0===_0x252486?void 0x0:_0x252486[_0x35dece(0xe3)](this[_0x35dece(0xdd)][_0x35dece(0xcc)](_0x31aa97)-0x1));return _0x27126b&&this[_0x35dece(0x108)](_0x27126b)||null;}[_0x44f5af(0xc8)](_0x2ecec9){const _0x5e7886=_0x44f5af;var _0x15c01e;const _0x52326d=this[_0x5e7886(0x116)][_0x5e7886(0xe3)](_0x2ecec9),_0x1633d1=_0x52326d&&(null===(_0x15c01e=this[_0x5e7886(0xdd)])||void 0x0===_0x15c01e?void 0x0:_0x15c01e[_0x5e7886(0xe3)](this[_0x5e7886(0xdd)][_0x5e7886(0xcc)](_0x52326d)+0x1));return _0x1633d1&&this[_0x5e7886(0x108)](_0x1633d1)||null;}[_0x44f5af(0x109)](_0x27cdca,_0x4ce8dd){const _0x591505=_0x44f5af;_0x27cdca[_0x591505(0xf8)]();const _0x469efa=M(_0x4ce8dd[_0x591505(0xf7)]+this[_0x591505(0x10f)],_0x27cdca[_0x591505(0xfe)]);return!!_0x469efa&&(this[_0x591505(0xef)](_0x4ce8dd,_0x4ce8dd[_0x591505(0xfe)]-_0x469efa),!0x0);}[_0x44f5af(0xc4)](_0x4eb560,_0x486520){const _0x21f4fc=_0x44f5af;_0x4eb560[_0x21f4fc(0xf8)]();const _0x25b6aa=M(_0x4eb560[_0x21f4fc(0xf7)]+this[_0x21f4fc(0x10f)],_0x486520[_0x21f4fc(0xfe)]);return!!_0x25b6aa&&(this[_0x21f4fc(0xef)](_0x486520,_0x486520[_0x21f4fc(0xfe)]+_0x25b6aa,!0x1),!0x0);}[_0x44f5af(0x119)](_0x15442c){const _0x4401f9=_0x44f5af,_0x4ed8c8=this[_0x4401f9(0x116)][_0x4401f9(0xe3)](_0x15442c);if(!_0x4ed8c8||!_0x4ed8c8[_0x4401f9(0xe0)]||!_0x4ed8c8[_0x4401f9(0x11b)])return;const _0x21f36d=this[_0x4401f9(0xcd)](_0x4ed8c8,_0x4ed8c8[_0x4401f9(0x11b)]);this[_0x4401f9(0xef)](_0x15442c,_0x21f36d);}[_0x44f5af(0xcd)](_0x33332c,_0x384f9b){const _0x252663=_0x44f5af;if(null===_0x384f9b)return 0x0;if(_0x33332c[_0x252663(0xe0)]instanceof _0x44cb11)return _0x384f9b[_0x252663(0xfe)];{const _0x52cb45=new _0x44cb11(this[_0x252663(0xdb)][_0x252663(0xe1)])[_0x252663(0xfe)];return _0x384f9b[_0x252663(0xfe)]-_0x52cb45;}}[_0x44f5af(0xef)](_0x40a46e,_0x5dad73,_0xbb399d=this[_0x44f5af(0xc9)][_0x44f5af(0xe6)][_0x44f5af(0xe3)](_0x44f5af(0xc2))){const _0x22a24e=_0x44f5af;_0xbb399d&&(_0x5dad73=Math[_0x22a24e(0x104)](_0x5dad73,this[_0x22a24e(0xcb)](_0x40a46e))),_0x40a46e[_0x22a24e(0xfe)]=_0x5dad73;}[_0x44f5af(0xcb)](_0x4abaf6){const _0x2463c1=_0x44f5af;let _0x52ac6b=this[_0x2463c1(0x10e)](_0x4abaf6),_0x5cf199=0x0;for(;_0x52ac6b;)_0x52ac6b[_0x2463c1(0xf8)](),_0x5cf199+=this[_0x2463c1(0x10f)]+_0x52ac6b[_0x2463c1(0xf2)],_0x52ac6b=this[_0x2463c1(0x10e)](_0x52ac6b);return _0x5cf199;}}function M(_0x44d290,_0x40053d){const _0x5bc151=_0x44f5af;return Math[_0x5bc151(0x104)](_0x44d290-_0x40053d,0x0);}function y(_0x1b005c){const _0x3d5b2a=_0x44f5af;return null!==_0x1b005c&&_0x3d5b2a(0xc5)==typeof _0x1b005c&&0x1===_0x1b005c[_0x3d5b2a(0xe8)];}
|
|
23
|
+
const _0x5318e4=_0x134a;function _0x3a14(){const _0x4e07f0=['31377XvdePk','_updateLastItem','change:_lastItem','_alignForBottomChange','isActive','_createSidebarView','setContainer','refresh','_getItemBefore','list','bottom','change:bottom','811768lhGpxG','_getTargetTop','last','sidebar-attachtocontainer-missing-container','4166757BKXmFb','sidebar.preventScrollOutOfView','unbind','_alignToTargetRect','remove','_targetTop','_annotations','addAnnotation','clear','_destroySidebarItemView','_detachFromContainer','_lastItem','listenTo','change:top','container','isAnimationDisabled','init','bind','35TaHVmJ','_spaceBetweenItems','_alignBeforeItem','_alignAfterItem','stopListening','element','pluginName','2109912kejFIy','targetRect','appendChild','define','height','locale','_recalculateBuffer','delete','length','_recalculate','sidebar.container','21gRZzYZ','change:targetRect','object','_sidebarItemViewToAnnotation','sidebar-setcontainer-invalid-element','set','Sidebar','config','context','push','destroy','rearrange','getIndex','382878bGaFaL','minHeight','content','_annotationToSidebarItemView','getSidebarItemView','_attachToContainer','max','view','top','target','_activeAnnotation','nodeType','272855wOdcjK','get','_getMaxAvailableTop','class','_setItemTop','render','76WDCimx','3365010jXPrNc','add','_getItemAfter','updateHeight','_alignForTopChange'];_0x3a14=function(){return _0x4e07f0;};return _0x3a14();}(function(_0x1855d1,_0xd888aa){const _0x4945d5=_0x134a,_0x25d946=_0x1855d1();while(!![]){try{const _0x3f4a51=-parseInt(_0x4945d5(0x1ec))/0x1+parseInt(_0x4945d5(0x221))/0x2+parseInt(_0x4945d5(0x1f8))/0x3*(-parseInt(_0x4945d5(0x1f2))/0x4)+-parseInt(_0x4945d5(0x21a))/0x5*(-parseInt(_0x4945d5(0x239))/0x6)+-parseInt(_0x4945d5(0x22c))/0x7*(-parseInt(_0x4945d5(0x204))/0x8)+-parseInt(_0x4945d5(0x208))/0x9+-parseInt(_0x4945d5(0x1f3))/0xa;if(_0x3f4a51===_0xd888aa)break;else _0x25d946['push'](_0x25d946['shift']());}catch(_0x4580d6){_0x25d946['push'](_0x25d946['shift']());}}}(_0x3a14,0x829e2));function _0x134a(_0x203b1a,_0x3f8d3e){const _0x3a14bd=_0x3a14();return _0x134a=function(_0x134a48,_0x2c1b0f){_0x134a48=_0x134a48-0x1e1;let _0xa66ceb=_0x3a14bd[_0x134a48];return _0xa66ceb;},_0x134a(_0x203b1a,_0x3f8d3e);}import{ContextPlugin as _0xed209b}from'ckeditor5/src/core.js';import{Rect as _0x5611cc,CKEditorError as _0x2db9b3}from'ckeditor5/src/utils.js';import _0x5300d6 from'./view/sidebarview.js';import _0xc3121f from'./view/sidebaritemview.js';export default class z extends _0xed209b{static get[_0x5318e4(0x220)](){const _0x3bc79b=_0x5318e4;return _0x3bc79b(0x232);}constructor(_0x4deb64){const _0x4676f1=_0x5318e4;super(_0x4deb64),this[_0x4676f1(0x231)](_0x4676f1(0x213),void 0x0),this[_0x4676f1(0x1e7)]=this[_0x4676f1(0x1fd)](),this[_0x4676f1(0x231)](_0x4676f1(0x216),null),this[_0x4676f1(0x21b)]=0x19,this[_0x4676f1(0x22f)]=new Map(),this[_0x4676f1(0x1e3)]=new Map(),this[_0x4676f1(0x234)][_0x4676f1(0x233)][_0x4676f1(0x224)](_0x4676f1(0x209),!0x1),this[_0x4676f1(0x20e)]=null,this[_0x4676f1(0x1ea)]=null,this[_0x4676f1(0x227)]=[];}[_0x5318e4(0x218)](){const _0x61ddf0=_0x5318e4,_0x4b047d=this[_0x61ddf0(0x234)][_0x61ddf0(0x233)][_0x61ddf0(0x1ed)](_0x61ddf0(0x22b));_0x4b047d&&this[_0x61ddf0(0x1fe)](_0x4b047d);}[_0x5318e4(0x1fe)](_0x422f58){const _0x15a68f=_0x5318e4;if(!y(_0x422f58))throw new _0x2db9b3(_0x15a68f(0x230));this[_0x15a68f(0x216)]=_0x422f58;}[_0x5318e4(0x1e5)]({viewClass:_0x587654='',spaceBetweenItems:_0x30d240=0x19}={}){const _0x330882=_0x5318e4;if(!y(this[_0x330882(0x216)]))throw new _0x2db9b3(_0x330882(0x207),this);this[_0x330882(0x216)][_0x330882(0x223)](this[_0x330882(0x1e7)][_0x330882(0x21f)]),this[_0x330882(0x1e7)][_0x330882(0x1ef)]=_0x587654,this[_0x330882(0x21b)]=_0x30d240;}[_0x5318e4(0x237)]({removedAnnotation:_0x20b2ce,previousAnnotation:_0x1c1b29,nextAnnotation:_0x1ad169}){const _0x1ecd33=_0x5318e4,_0xeb786c=this[_0x1ecd33(0x1e4)](_0x20b2ce);this[_0x1ecd33(0x1e7)][_0x1ecd33(0x201)][_0x1ecd33(0x20c)](_0xeb786c),this[_0x1ecd33(0x211)](_0x20b2ce),_0x1c1b29&&this[_0x1ecd33(0x20b)](this[_0x1ecd33(0x1e4)](_0x1c1b29)),_0x1ad169&&this[_0x1ecd33(0x20b)](this[_0x1ecd33(0x1e4)](_0x1ad169)),this[_0x1ecd33(0x1f9)]();}[_0x5318e4(0x1ff)]({blurredAnnotation:_0x139eaa,activatedAnnotation:_0x4f1496,disableAnimationOnActivatedAnnotation:_0x3105af}){const _0x38e8c0=_0x5318e4;if(this[_0x38e8c0(0x1ea)]=_0x4f1496,_0x139eaa){_0x139eaa[_0x38e8c0(0x1fc)]=!0x1;const _0x5665fe=this[_0x38e8c0(0x1e4)](_0x139eaa);_0x5665fe&&_0x3105af&&(_0x5665fe[_0x38e8c0(0x217)]=!0x1);}if(_0x4f1496){const _0x311e34=this[_0x38e8c0(0x1e4)](_0x4f1496);_0x311e34&&(_0x4f1496[_0x38e8c0(0x1fc)]=!0x0,_0x3105af&&(_0x311e34[_0x38e8c0(0x217)]=!0x0,_0x311e34[_0x38e8c0(0x1e8)]+=0x1),this[_0x38e8c0(0x20b)](_0x311e34));}}[_0x5318e4(0x212)](_0x38a17d){const _0x54db5b=_0x5318e4;if(this[_0x54db5b(0x1e7)][_0x54db5b(0x21f)][_0x54db5b(0x20c)](),_0x38a17d){for(const _0x3c3074 of _0x38a17d)this[_0x54db5b(0x211)](_0x3c3074);}this[_0x54db5b(0x1e7)][_0x54db5b(0x201)][_0x54db5b(0x210)](),this[_0x54db5b(0x1e7)][_0x54db5b(0x1ef)]='',this[_0x54db5b(0x213)]=null;}[_0x5318e4(0x20f)](_0x107cee,_0xe8d12b){const _0x1ed99c=_0x5318e4;_0xe8d12b||(_0xe8d12b=_0x107cee[_0x1ed99c(0x1e7)]);const _0x5adcd8=new _0xc3121f(this[_0x1ed99c(0x234)][_0x1ed99c(0x226)]);this[_0x1ed99c(0x22f)][_0x1ed99c(0x231)](_0x5adcd8,_0x107cee),this[_0x1ed99c(0x1e3)][_0x1ed99c(0x231)](_0x107cee,_0x5adcd8),_0x5adcd8[_0x1ed99c(0x1e2)][_0x1ed99c(0x1f4)](_0xe8d12b),this[_0x1ed99c(0x214)](_0x107cee[_0x1ed99c(0x1e7)],_0x1ed99c(0x22d),(_0x5f05fd,_0x175f63,_0x45a126)=>{const _0x5284a4=_0x1ed99c,_0x148749=this[_0x5284a4(0x205)](_0x107cee,_0x45a126);_0x5adcd8[_0x5284a4(0x20d)]!=_0x148749&&(_0x5adcd8[_0x5284a4(0x20d)]=_0x148749,this[_0x5284a4(0x1f0)](_0x5adcd8,_0x148749));}),this[_0x1ed99c(0x214)](_0x5adcd8,_0x1ed99c(0x215),()=>{const _0x3993e8=_0x1ed99c;this[_0x3993e8(0x22a)](_0x5adcd8,_0x3993e8(0x1e8));}),this[_0x1ed99c(0x214)](_0x5adcd8,_0x1ed99c(0x203),()=>{const _0x1603b5=_0x1ed99c;this[_0x1603b5(0x22a)](_0x5adcd8,_0x1603b5(0x202));}),this[_0x1ed99c(0x20b)](_0x5adcd8);const _0x251523=this[_0x1ed99c(0x200)](_0x5adcd8);if(_0x251523)this[_0x1ed99c(0x21d)](_0x251523,_0x5adcd8)||this[_0x1ed99c(0x20b)](_0x5adcd8);else this[_0x1ed99c(0x20b)](_0x5adcd8);return this[_0x1ed99c(0x1f9)](),this[_0x1ed99c(0x1e7)][_0x1ed99c(0x201)][_0x1ed99c(0x1f4)](_0x5adcd8),_0x5adcd8;}[_0x5318e4(0x1f7)](_0x306e85){const _0x3e612d=_0x5318e4;if(!_0x306e85[_0x3e612d(0x1e2)][_0x3e612d(0x229)])return;const _0xaa913=this[_0x3e612d(0x200)](_0x306e85);if(!_0xaa913)return;const _0x2dae59=this[_0x3e612d(0x22f)][_0x3e612d(0x1ed)](_0xaa913),_0x572dd1=this[_0x3e612d(0x1ea)];_0x572dd1&&_0x572dd1===_0x2dae59?this[_0x3e612d(0x21d)](_0xaa913,_0x306e85):this[_0x3e612d(0x21c)](_0x306e85,_0xaa913);}[_0x5318e4(0x1fb)](_0x1f1708){const _0xbb3bb8=_0x5318e4;if(!_0x1f1708[_0xbb3bb8(0x1e2)][_0xbb3bb8(0x229)])return;const _0x2f41f8=this[_0xbb3bb8(0x1f5)](_0x1f1708);if(!_0x2f41f8)return;const _0x4d44ef=this[_0xbb3bb8(0x22f)][_0xbb3bb8(0x1ed)](_0x2f41f8),_0xfca518=this[_0xbb3bb8(0x234)][_0xbb3bb8(0x233)][_0xbb3bb8(0x1ed)](_0xbb3bb8(0x209)),_0x586c09=this[_0xbb3bb8(0x1ea)];_0x586c09&&_0x586c09===_0x4d44ef&&_0xfca518?(this[_0xbb3bb8(0x21c)](_0x2f41f8,_0x1f1708),this[_0xbb3bb8(0x21d)](_0x1f1708,_0x2f41f8)):_0x586c09&&_0x586c09===_0x4d44ef?this[_0xbb3bb8(0x21c)](_0x2f41f8,_0x1f1708):this[_0xbb3bb8(0x21d)](_0x1f1708,_0x2f41f8);}[_0x5318e4(0x22a)](_0x520525,_0x1c2cf2){const _0x5a8e1a=_0x5318e4;0x0===this[_0x5a8e1a(0x227)][_0x5a8e1a(0x229)]&&setTimeout(()=>{const _0x5d993a=_0x5a8e1a;for(const {sidebarItemView:_0x29e8da,changedProp:_0x304e8c}of this[_0x5d993a(0x227)])_0x5d993a(0x1e8)===_0x304e8c?this[_0x5d993a(0x1f7)](_0x29e8da):this[_0x5d993a(0x1fb)](_0x29e8da);this[_0x5d993a(0x227)]=[];},0xa),this[_0x5a8e1a(0x227)][_0x5a8e1a(0x235)]({'sidebarItemView':_0x520525,'changedProp':_0x1c2cf2});}[_0x5318e4(0x1e4)](_0x3fe712){const _0xfdaa=_0x5318e4;return this[_0xfdaa(0x1e3)][_0xfdaa(0x1ed)](_0x3fe712);}[_0x5318e4(0x236)](){const _0x59a3de=_0x5318e4;this[_0x59a3de(0x21e)](),this[_0x59a3de(0x1e7)][_0x59a3de(0x236)]();}[_0x5318e4(0x211)](_0x11406f){const _0x50e654=_0x5318e4,_0x1cb68d=this[_0x50e654(0x1e4)](_0x11406f);this[_0x50e654(0x21e)](_0x1cb68d),this[_0x50e654(0x21e)](_0x11406f[_0x50e654(0x1e7)]),_0x1cb68d[_0x50e654(0x236)](),this[_0x50e654(0x1e3)][_0x50e654(0x228)](_0x11406f),this[_0x50e654(0x22f)][_0x50e654(0x228)](_0x1cb68d);}[_0x5318e4(0x1fd)](){const _0x48f441=_0x5318e4,_0x4e5051=new _0x5300d6(this[_0x48f441(0x234)][_0x48f441(0x226)]);return _0x4e5051[_0x48f441(0x1f1)](),this['on'](_0x48f441(0x1fa),(_0x505268,_0x427927,_0x4c245c,_0x9dfb21)=>{const _0x46485c=_0x48f441;_0x9dfb21&&_0x4e5051[_0x46485c(0x20a)](_0x46485c(0x1e1)),_0x4c245c?_0x4e5051[_0x46485c(0x219)](_0x46485c(0x1e1))['to'](_0x4c245c,_0x46485c(0x202)):_0x4e5051[_0x46485c(0x1e1)]=null;}),_0x4e5051;}[_0x5318e4(0x1f9)](){const _0x149df4=_0x5318e4;var _0x18c994;this[_0x149df4(0x213)]=(null===(_0x18c994=this[_0x149df4(0x20e)])||void 0x0===_0x18c994?void 0x0:_0x18c994[_0x149df4(0x206)])?this[_0x149df4(0x1e4)](this[_0x149df4(0x20e)][_0x149df4(0x206)]):null;}[_0x5318e4(0x200)](_0x47e72c){const _0x4473f8=_0x5318e4;var _0x1ccc81;const _0xb8ee44=this[_0x4473f8(0x22f)][_0x4473f8(0x1ed)](_0x47e72c),_0x273c96=_0xb8ee44&&(null===(_0x1ccc81=this[_0x4473f8(0x20e)])||void 0x0===_0x1ccc81?void 0x0:_0x1ccc81[_0x4473f8(0x1ed)](this[_0x4473f8(0x20e)][_0x4473f8(0x238)](_0xb8ee44)-0x1));return _0x273c96&&this[_0x4473f8(0x1e4)](_0x273c96)||null;}[_0x5318e4(0x1f5)](_0x4ac9ca){const _0x1800d3=_0x5318e4;var _0x4fc62b;const _0x2f1b09=this[_0x1800d3(0x22f)][_0x1800d3(0x1ed)](_0x4ac9ca),_0x4a0da7=_0x2f1b09&&(null===(_0x4fc62b=this[_0x1800d3(0x20e)])||void 0x0===_0x4fc62b?void 0x0:_0x4fc62b[_0x1800d3(0x1ed)](this[_0x1800d3(0x20e)][_0x1800d3(0x238)](_0x2f1b09)+0x1));return _0x4a0da7&&this[_0x1800d3(0x1e4)](_0x4a0da7)||null;}[_0x5318e4(0x21c)](_0x1ec40a,_0xaaead8){const _0x68e300=_0x5318e4;_0x1ec40a[_0x68e300(0x1f6)]();const _0x1f0cc1=M(_0xaaead8[_0x68e300(0x202)]+this[_0x68e300(0x21b)],_0x1ec40a[_0x68e300(0x1e8)]);return!!_0x1f0cc1&&(this[_0x68e300(0x1f0)](_0xaaead8,_0xaaead8[_0x68e300(0x1e8)]-_0x1f0cc1),!0x0);}[_0x5318e4(0x21d)](_0x58750,_0x4101c0){const _0x32d89a=_0x5318e4;_0x58750[_0x32d89a(0x1f6)]();const _0xd3fc2=M(_0x58750[_0x32d89a(0x202)]+this[_0x32d89a(0x21b)],_0x4101c0[_0x32d89a(0x1e8)]);return!!_0xd3fc2&&(this[_0x32d89a(0x1f0)](_0x4101c0,_0x4101c0[_0x32d89a(0x1e8)]+_0xd3fc2,!0x1),!0x0);}[_0x5318e4(0x20b)](_0x533691){const _0x3b79d4=_0x5318e4,_0x324b6d=this[_0x3b79d4(0x22f)][_0x3b79d4(0x1ed)](_0x533691);if(!_0x324b6d||!_0x324b6d[_0x3b79d4(0x1e9)]||!_0x324b6d[_0x3b79d4(0x222)])return;const _0x51be33=this[_0x3b79d4(0x205)](_0x324b6d,_0x324b6d[_0x3b79d4(0x222)]);this[_0x3b79d4(0x1f0)](_0x533691,_0x51be33);}[_0x5318e4(0x205)](_0x1c9e9d,_0x4a62cd){const _0x2f134c=_0x5318e4;if(null===_0x4a62cd)return 0x0;if(_0x1c9e9d[_0x2f134c(0x1e9)]instanceof _0x5611cc)return _0x4a62cd[_0x2f134c(0x1e8)];{const _0x2497f2=new _0x5611cc(this[_0x2f134c(0x1e7)][_0x2f134c(0x21f)])[_0x2f134c(0x1e8)];return _0x4a62cd[_0x2f134c(0x1e8)]-_0x2497f2;}}[_0x5318e4(0x1f0)](_0x4132eb,_0x1c505c,_0x4819a4=this[_0x5318e4(0x234)][_0x5318e4(0x233)][_0x5318e4(0x1ed)](_0x5318e4(0x209))){const _0x56d190=_0x5318e4;_0x4819a4&&(_0x1c505c=Math[_0x56d190(0x1e6)](_0x1c505c,this[_0x56d190(0x1ee)](_0x4132eb))),_0x4132eb[_0x56d190(0x1e8)]=_0x1c505c;}[_0x5318e4(0x1ee)](_0x5f47dd){const _0x20636c=_0x5318e4;let _0x32ad3f=this[_0x20636c(0x200)](_0x5f47dd),_0x56ed3f=0x0;for(;_0x32ad3f;)_0x32ad3f[_0x20636c(0x1f6)](),_0x56ed3f+=this[_0x20636c(0x21b)]+_0x32ad3f[_0x20636c(0x225)],_0x32ad3f=this[_0x20636c(0x200)](_0x32ad3f);return _0x56ed3f;}}function M(_0x3477b3,_0x563cbe){const _0x223a9d=_0x5318e4;return Math[_0x223a9d(0x1e6)](_0x3477b3-_0x563cbe,0x0);}function y(_0x186731){const _0x43492a=_0x5318e4;return null!==_0x186731&&_0x43492a(0x22e)==typeof _0x186731&&0x1===_0x186731[_0x43492a(0x1eb)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4a112c,_0xbca6fe){const _0x2417c8=_0x2dbc,_0xada4d1=_0x4a112c();while(!![]){try{const _0x1cab95=parseInt(_0x2417c8(0xfd))/0x1*(-parseInt(_0x2417c8(0xf0))/0x2)+parseInt(_0x2417c8(0x104))/0x3*(-parseInt(_0x2417c8(0x100))/0x4)+-parseInt(_0x2417c8(0xf3))/0x5*(parseInt(_0x2417c8(0xf4))/0x6)+-parseInt(_0x2417c8(0x102))/0x7+parseInt(_0x2417c8(0xf2))/0x8*(parseInt(_0x2417c8(0xef))/0x9)+-parseInt(_0x2417c8(0x10b))/0xa+parseInt(_0x2417c8(0x10a))/0xb;if(_0x1cab95===_0xbca6fe)break;else _0xada4d1['push'](_0xada4d1['shift']());}catch(_0x15e9f2){_0xada4d1['push'](_0xada4d1['shift']());}}}(_0x212b,0xd67bf));function _0x2dbc(_0x8a79fb,_0x8cdbe0){const _0x212be3=_0x212b();return _0x2dbc=function(_0x2dbc0d,_0xb0f996){_0x2dbc0d=_0x2dbc0d-0xee;let _0x55bf18=_0x212be3[_0x2dbc0d];return _0x55bf18;},_0x2dbc(_0x8a79fb,_0x8cdbe0);}import{ButtonView as _0x3bc0c2,View as _0xdd4e65}from'ckeditor5/src/ui.js';import _0x2537cb from'../../../theme/icons/add-comment.svg';export default class D extends _0x3bc0c2{constructor(_0x42ebe7){const _0x22f027=_0x2dbc;super(_0x42ebe7);const _0x2eac93=this[_0x22f027(0x106)];this[_0x22f027(0xf7)](_0x22f027(0xee),!0x1),this[_0x22f027(0xf7)](_0x22f027(0xff),0x0),this[_0x22f027(0xf5)](_0x22f027(0x101))['to'](this,_0x22f027(0xee),this,_0x22f027(0xff),(_0x49f594,_0x31f405)=>_0x49f594?_0x22f027(0x109):_0x31f405[_0x22f027(0xfc)]()),this[_0x22f027(0xf7)](_0x22f027(0xf8),''),this[_0x22f027(0xf1)]=_0x2537cb,this[_0x22f027(0xf6)]({'attributes':{'class':[_0x22f027(0x103)]}}),this[_0x22f027(0xf9)]=new _0xdd4e65(),this[_0x22f027(0xf9)][_0x22f027(0xfe)]({'tag':_0x22f027(0x105),'attributes':{'class':[_0x22f027(0x10c),_0x2eac93['to'](_0x22f027(0xf8),_0x50c8ba=>_0x22f027(0xfb)+_0x50c8ba),_0x2eac93['if'](_0x22f027(0xee),_0x22f027(0xfa))]},'children':[{'text':_0x2eac93['to'](_0x22f027(0x101))}]}),this[_0x22f027(0x108)][_0x22f027(0x107)](this[_0x22f027(0xf9)]);}}function _0x212b(){const _0x30bd44=['ck-annotation-counter__badge--','toString','4135yABqjZ','setTemplate','number','8uJIoil','_badge','2121511YIMzWu','ck-annotation-counter','2272299FOGoxc','span','bindTemplate','add','children','...','43885864uxRnHK','14366120AdIgSB','ck-annotation-counter__badge','isDirty','61083BgIFri','548gffGIP','icon','2024RZUHWq','115965BCOmtf','114eCVgLS','bind','extendTemplate','set','annotationType','counterView','ck-annotation-counter__badge--edit-mode'];_0x212b=function(){return _0x30bd44;};return _0x212b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x493a8c=_0x17a9;function _0x17a9(_0x45dcbb,_0x4cf5ab){const _0x3ad731=_0x3ad7();return _0x17a9=function(_0x17a9a6,_0x5925bb){_0x17a9a6=_0x17a9a6-0x194;let _0x17694d=_0x3ad731[_0x17a9a6];return _0x17694d;},_0x17a9(_0x45dcbb,_0x4cf5ab);}(function(_0x233201,_0x32bc2f){const _0x31af1b=_0x17a9,_0x6621f6=_0x233201();while(!![]){try{const _0x311871=-parseInt(_0x31af1b(0x197))/0x1+-parseInt(_0x31af1b(0x1a9))/0x2*(-parseInt(_0x31af1b(0x1a8))/0x3)+-parseInt(_0x31af1b(0x1ac))/0x4+parseInt(_0x31af1b(0x19c))/0x5+-parseInt(_0x31af1b(0x19b))/0x6*(-parseInt(_0x31af1b(0x1a7))/0x7)+-parseInt(_0x31af1b(0x1b5))/0x8+-parseInt(_0x31af1b(0x1b9))/0x9*(-parseInt(_0x31af1b(0x1a3))/0xa);if(_0x311871===_0x32bc2f)break;else _0x6621f6['push'](_0x6621f6['shift']());}catch(_0x344d39){_0x6621f6['push'](_0x6621f6['shift']());}}}(_0x3ad7,0x27c89));import{View as _0x16632d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x222a28,KeystrokeHandler as _0x19f694,uid as _0x10aece}from'ckeditor5/src/utils.js';import _0x4f6f26 from'../../utils/createmutationobserver.js';function _0x3ad7(){const _0x3c489e=['_updateHeight','setTemplate','length','focusTracker','811528hcPYyL','add','type','isActive','18QDmMJF','content','height','element','Esc','attach','keystrokes','bindTemplate','303781usvBfw','render','listenTo','ck-annotation-wrapper--active','1406454diKTTe','884840jXCfwE','clear','targetRect','fire','set','createCollection','mainView','1269280obWSCp','detach','destroy','clientHeight','7kkPrfL','90777LSsDmQ','4wmJvYC','isDirty','focus','630304ctGHCT','_mutationObserver','ck-annotation-wrapper','div','ck-rounded-corners'];_0x3ad7=function(){return _0x3c489e;};return _0x3ad7();}import'../../../theme/annotation.css';export default class V extends _0x16632d{constructor(_0x5016aa,_0x259772){const _0x54f163=_0x17a9;super(_0x5016aa),this['id']=_0x10aece(),this[_0x54f163(0x1b4)]=new _0x222a28(),this[_0x54f163(0x195)]=new _0x19f694(),this[_0x54f163(0x195)][_0x54f163(0x1a0)](_0x54f163(0x1bd),(_0x1a4333,_0x1cf6a7)=>this[_0x54f163(0x19f)](_0x54f163(0x1bd),_0x1cf6a7)),this[_0x54f163(0x1a0)](_0x54f163(0x19e),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x54f163(0x1a0)](_0x54f163(0x1bb),0x0),this[_0x54f163(0x1a0)](_0x54f163(0x1b8),!0x1),this[_0x54f163(0x1a0)](_0x54f163(0x1aa),!0x1),this[_0x54f163(0x1a0)](_0x54f163(0x1b3),0x0),this[_0x54f163(0x1a0)](_0x54f163(0x1b7),''),this[_0x54f163(0x1ad)]=_0x4f6f26(()=>this[_0x54f163(0x1b1)]()),this[_0x54f163(0x1ba)]=this[_0x54f163(0x1a1)](),this[_0x54f163(0x1ba)][_0x54f163(0x1b6)](_0x259772),this[_0x54f163(0x1a2)]=_0x259772;const _0x18af86=this[_0x54f163(0x196)];this[_0x54f163(0x1b2)]({'tag':_0x54f163(0x1af),'attributes':{'class':['ck',_0x54f163(0x1ae),_0x54f163(0x1b0),_0x18af86['if'](_0x54f163(0x1b8),_0x54f163(0x19a))],'tabindex':-0x1},'children':this[_0x54f163(0x1ba)]});}[_0x493a8c(0x198)](){const _0x363b92=_0x493a8c;super[_0x363b92(0x198)](),this[_0x363b92(0x1b4)][_0x363b92(0x1b6)](this[_0x363b92(0x1bc)]),this[_0x363b92(0x195)][_0x363b92(0x199)](this[_0x363b92(0x1bc)]),this[_0x363b92(0x1ad)][_0x363b92(0x194)](this[_0x363b92(0x1bc)]);}[_0x493a8c(0x1a5)](){const _0x133416=_0x493a8c;this[_0x133416(0x1ba)][_0x133416(0x19d)](),this[_0x133416(0x195)][_0x133416(0x1a5)](),this[_0x133416(0x1b4)][_0x133416(0x1a5)](),this[_0x133416(0x1ad)][_0x133416(0x1a4)](),super[_0x133416(0x1a5)]();}[_0x493a8c(0x1ab)](){const _0x88812e=_0x493a8c;this[_0x88812e(0x1bc)][_0x88812e(0x1ab)]();}[_0x493a8c(0x1b1)](){const _0x5c0057=_0x493a8c,_0x1d5c47=this[_0x5c0057(0x1bc)][_0x5c0057(0x1a6)];_0x1d5c47&&(this[_0x5c0057(0x1bb)]=_0x1d5c47);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43fcc3=_0x145b;function _0x2e05(){const _0x28f148=['420364gHGRMR','height','createCollection','setTemplate','detach','bindTemplate','set','bind','4MoLuRg','bottom','div','220510pyKeNc','render','ck-sidebar-item','clientHeight','isAnimationDisabled','198EpjfGV','element','_mutationObserver','clear','4445BqGYCI','9twGBSv','updateHeight','1215348oSsree','content','destroy','_targetTop','1025290Xbcskh','246843ybmOUM','attach','114JVVnHK','top','ck-sidebar-item--no-animation','1889544EvSlJs'];_0x2e05=function(){return _0x28f148;};return _0x2e05();}(function(_0x4fab53,_0x5b0c29){const _0x3afd3d=_0x145b,_0x548513=_0x4fab53();while(!![]){try{const _0x155ed9=-parseInt(_0x3afd3d(0x137))/0x1+-parseInt(_0x3afd3d(0x13f))/0x2*(parseInt(_0x3afd3d(0x131))/0x3)+parseInt(_0x3afd3d(0x14e))/0x4+parseInt(_0x3afd3d(0x14b))/0x5*(parseInt(_0x3afd3d(0x133))/0x6)+-parseInt(_0x3afd3d(0x130))/0x7+parseInt(_0x3afd3d(0x136))/0x8*(parseInt(_0x3afd3d(0x14c))/0x9)+-parseInt(_0x3afd3d(0x142))/0xa*(-parseInt(_0x3afd3d(0x147))/0xb);if(_0x155ed9===_0x5b0c29)break;else _0x548513['push'](_0x548513['shift']());}catch(_0x290753){_0x548513['push'](_0x548513['shift']());}}}(_0x2e05,0x364eb));import{View as _0xfa7624}from'ckeditor5/src/ui.js';import{toUnit as _0x2cb4f8}from'ckeditor5/src/utils.js';function _0x145b(_0x19faa3,_0x32218c){const _0x2e057e=_0x2e05();return _0x145b=function(_0x145b01,_0x509c4c){_0x145b01=_0x145b01-0x12f;let _0x32cde2=_0x2e057e[_0x145b01];return _0x32cde2;},_0x145b(_0x19faa3,_0x32218c);}import _0x3238f8 from'../../utils/createmutationobserver.js';const qt=_0x2cb4f8('px');export default class C extends _0xfa7624{constructor(_0x14612a){const _0x3dfcb9=_0x145b;super(_0x14612a),this[_0x3dfcb9(0x13d)](_0x3dfcb9(0x134),0x0),this[_0x3dfcb9(0x13d)](_0x3dfcb9(0x138),0x0),this[_0x3dfcb9(0x13e)](_0x3dfcb9(0x140))['to'](this,_0x3dfcb9(0x134),this,_0x3dfcb9(0x138),(_0x2036e9,_0x36a3e3)=>_0x2036e9+_0x36a3e3),this[_0x3dfcb9(0x13d)](_0x3dfcb9(0x146),!0x1),this[_0x3dfcb9(0x149)]=_0x3238f8(()=>this[_0x3dfcb9(0x14d)]()),this[_0x3dfcb9(0x12f)]=null,this[_0x3dfcb9(0x14f)]=this[_0x3dfcb9(0x139)]();const _0x2459ff=this[_0x3dfcb9(0x13c)];this[_0x3dfcb9(0x13a)]({'tag':_0x3dfcb9(0x141),'attributes':{'class':[_0x3dfcb9(0x144),_0x2459ff['to'](_0x3dfcb9(0x146),_0x5830d4=>_0x5830d4?_0x3dfcb9(0x135):'')],'style':{'top':_0x2459ff['to'](_0x3dfcb9(0x134),_0xc17423=>qt(_0xc17423))}},'children':this[_0x3dfcb9(0x14f)]});}[_0x43fcc3(0x143)](){const _0x57ed2b=_0x43fcc3;super[_0x57ed2b(0x143)](),this[_0x57ed2b(0x149)][_0x57ed2b(0x132)](this[_0x57ed2b(0x148)]);}[_0x43fcc3(0x14d)](){const _0xa6496=_0x43fcc3,_0xe814e2=this[_0xa6496(0x148)][_0xa6496(0x145)];_0xe814e2&&(this[_0xa6496(0x138)]=_0xe814e2);}[_0x43fcc3(0x150)](){const _0x21e1be=_0x43fcc3;this[_0x21e1be(0x14f)][_0x21e1be(0x14a)](),this[_0x21e1be(0x149)][_0x21e1be(0x13b)](),super[_0x21e1be(0x150)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x480640,_0x4a2b3e){const _0x2001d7=_0x17e8,_0x4bba00=_0x480640();while(!![]){try{const _0x4b8ee5=parseInt(_0x2001d7(0xb5))/0x1*(parseInt(_0x2001d7(0xbb))/0x2)+parseInt(_0x2001d7(0xb1))/0x3+-parseInt(_0x2001d7(0xba))/0x4*(-parseInt(_0x2001d7(0xb3))/0x5)+-parseInt(_0x2001d7(0xad))/0x6+parseInt(_0x2001d7(0xac))/0x7+parseInt(_0x2001d7(0xb0))/0x8+parseInt(_0x2001d7(0xae))/0x9*(-parseInt(_0x2001d7(0xb4))/0xa);if(_0x4b8ee5===_0x4a2b3e)break;else _0x4bba00['push'](_0x4bba00['shift']());}catch(_0x247420){_0x4bba00['push'](_0x4bba00['shift']());}}}(_0x50d1,0x75321));import{View as _0x504743}from'ckeditor5/src/ui.js';function _0x50d1(){const _0x1cad26=['div','ck-reset','41528IutJYs','236288ETKMUy','class','setTemplate','createCollection','list','number','3940622zXZYUK','4046058sOgYEr','554643AvjwZU','bindTemplate','7311640lOcVan','1452087aKsyTI','ck-sidebar','215bFmyhM','280jtENsy','4ZdGNth','set','minHeight'];_0x50d1=function(){return _0x1cad26;};return _0x50d1();}import{toUnit as _0x263611}from'ckeditor5/src/utils.js';function _0x17e8(_0xb8cb01,_0x7653a1){const _0x50d1a4=_0x50d1();return _0x17e8=function(_0x17e80f,_0x1f622d){_0x17e80f=_0x17e80f-0xaa;let _0x2b5c41=_0x50d1a4[_0x17e80f];return _0x2b5c41;},_0x17e8(_0xb8cb01,_0x7653a1);}import'../../../theme/sidebar.css';const qt=_0x263611('px');export default class T extends _0x504743{constructor(_0x1e037c){const _0x4e4bb3=_0x17e8;super(_0x1e037c);const _0x52f52c=this[_0x4e4bb3(0xaf)];this[_0x4e4bb3(0xb6)](_0x4e4bb3(0xb7),0x0),this[_0x4e4bb3(0xb6)](_0x4e4bb3(0xbc),''),this[_0x4e4bb3(0xaa)]=this[_0x4e4bb3(0xbe)](),this[_0x4e4bb3(0xbd)]({'tag':_0x4e4bb3(0xb8),'attributes':{'class':['ck',_0x4e4bb3(0xb2),_0x4e4bb3(0xb9),_0x52f52c['to'](_0x4e4bb3(0xbc))],'style':{'minHeight':_0x52f52c['to'](_0x4e4bb3(0xb7),_0x3f61e0=>_0x4e4bb3(0xab)==typeof _0x3f61e0?qt(_0x3f61e0+0xa):null)}},'children':this[_0x4e4bb3(0xaa)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c3707=_0x3f1c;(function(_0x2946ca,_0x48b524){const _0x1f8f3c=_0x3f1c,_0xe9da8a=_0x2946ca();while(!![]){try{const _0x116adf=parseInt(_0x1f8f3c(0x185))/0x1*(-parseInt(_0x1f8f3c(0x1a7))/0x2)+-parseInt(_0x1f8f3c(0x1a2))/0x3*(-parseInt(_0x1f8f3c(0x182))/0x4)+parseInt(_0x1f8f3c(0x1b0))/0x5+-parseInt(_0x1f8f3c(0x192))/0x6*(-parseInt(_0x1f8f3c(0x1b4))/0x7)+-parseInt(_0x1f8f3c(0x18f))/0x8*(-parseInt(_0x1f8f3c(0x184))/0x9)+-parseInt(_0x1f8f3c(0x1af))/0xa+parseInt(_0x1f8f3c(0x1b2))/0xb*(-parseInt(_0x1f8f3c(0x180))/0xc);if(_0x116adf===_0x48b524)break;else _0xe9da8a['push'](_0xe9da8a['shift']());}catch(_0x1a2ad6){_0xe9da8a['push'](_0xe9da8a['shift']());}}}(_0x52b0,0x88118));import{ContextPlugin as _0x4f92f8,Context as _0x19f28b}from'ckeditor5/src/core.js';import _0xcced16 from'./annotationsuis.js';function _0x52b0(){const _0x210ca1=['widesidebar-detach-not-attached','plugins','_annotations','pluginName','_attachToContainer','remove','1695850gWKYph','3778665KtawHg','WideSidebar','20713IeAoUK','_detachFromContainer','8092SoAFQG','requires','change:container','refresh','get','switchTo','ready','removeEventListener','rearrange','uiUpdate','ck-sidebar--wide','stop','stopListening','_destroyEditorAnnotationsIntegration','resize','context','addEventListener','_integrateWithEditorAnnotations','10680OdEdCs','init','22816OWtapD','register','7102476KGHyXs','722758jjZYia','blur','editors','_activeAnnotation','activeAnnotation','hasDomSelection','off','widesidebar-attach-already-attached','cancel','focus','8uURBGZ','addAnnotation','_editorAnnotations','5658GieGjD','EditorAnnotations','isAttached','container','high','getOrderedSelectedAnnotations','set:container','add','annotations','refreshPositioning','updateTargetRect','has','detach','from','setActiveAnnotation','set','258OQhiHX','_refreshPositioningDebounced','listenTo','destroy','attach','2zrLDxS','wideSidebar'];_0x52b0=function(){return _0x210ca1;};return _0x52b0();}import _0x5d8433 from'./sidebar.js';import{CKEditorError as _0x20bb11,Collection as _0x598c24}from'ckeditor5/src/utils.js';import{debounce as _0x23fec1}from'lodash-es';function _0x3f1c(_0x437a02,_0x244d6f){const _0x52b00d=_0x52b0();return _0x3f1c=function(_0x3f1cac,_0x3ab14f){_0x3f1cac=_0x3f1cac-0x171;let _0x2ed70d=_0x52b00d[_0x3f1cac];return _0x2ed70d;},_0x3f1c(_0x437a02,_0x244d6f);}import _0x4f8468 from'./editorannotations.js';export default class n extends _0x4f92f8{static get[_0x5c3707(0x1b5)](){return[_0x5d8433,_0xcced16];}static get[_0x5c3707(0x1ac)](){const _0x185098=_0x5c3707;return _0x185098(0x1b1);}constructor(_0x5ee3fe){const _0x1fe01b=_0x5c3707;super(_0x5ee3fe),this[_0x1fe01b(0x194)]=!0x1,this[_0x1fe01b(0x1a1)](_0x1fe01b(0x189),null),this[_0x1fe01b(0x19a)]=null,this[_0x1fe01b(0x191)]=new _0x598c24(),this[_0x1fe01b(0x1a3)]=_0x23fec1(()=>{const _0x3e161d=_0x1fe01b;this[_0x3e161d(0x19a)][_0x3e161d(0x19b)]();},0xfa,{'leading':!0x1});}[_0x5c3707(0x181)](){const _0x598566=_0x5c3707,_0x585b81=this[_0x598566(0x17d)][_0x598566(0x1aa)][_0x598566(0x172)](_0xcced16),_0x34888e=this[_0x598566(0x17d)][_0x598566(0x1aa)][_0x598566(0x172)](_0x5d8433);_0x585b81[_0x598566(0x183)](_0x598566(0x1a8),this),_0x34888e[_0x598566(0x195)]&&_0x585b81[_0x598566(0x173)](_0x598566(0x1a8));}[_0x5c3707(0x1a0)](_0x19cd23){const _0x4c014c=_0x5c3707;if(_0x19cd23===this[_0x4c014c(0x189)])return;const _0x100820=this[_0x4c014c(0x17d)][_0x4c014c(0x1aa)][_0x4c014c(0x172)](_0x5d8433);_0x100820[_0x4c014c(0x188)]=_0x19cd23;const _0x3cd0f0=this[_0x4c014c(0x189)];this[_0x4c014c(0x189)]=_0x19cd23,_0x100820[_0x4c014c(0x171)]({'blurredAnnotation':_0x3cd0f0,'activatedAnnotation':this[_0x4c014c(0x189)]});}[_0x5c3707(0x1a6)](_0x33ddbd){const _0x259ff5=_0x5c3707;this[_0x259ff5(0x19a)]=_0x33ddbd;const _0x5ebfc7=this[_0x259ff5(0x17d)][_0x259ff5(0x1aa)][_0x259ff5(0x172)](_0x5d8433);if(_0x5ebfc7[_0x259ff5(0x1ab)]=_0x33ddbd,this[_0x259ff5(0x194)])throw new _0x20bb11(_0x259ff5(0x18c),this);this[_0x259ff5(0x194)]=!0x0,this[_0x259ff5(0x1a4)](_0x5ebfc7,_0x259ff5(0x198),()=>{const _0x169fd4=_0x259ff5;this[_0x169fd4(0x19e)](),this[_0x169fd4(0x1a4)](_0x5ebfc7,_0x169fd4(0x1b6),_0x1de1e6=>{const _0xde9031=_0x169fd4;_0x1de1e6[_0xde9031(0x18b)](),this[_0xde9031(0x1a6)](_0x33ddbd);});}),_0x5ebfc7[_0x259ff5(0x1ad)]({'viewClass':_0x259ff5(0x178)});const _0x4f3f12=_0x22f184=>{const _0x32a8f9=_0x259ff5;_0x22f184[_0x32a8f9(0x19c)](),_0x5ebfc7[_0x32a8f9(0x190)](_0x22f184);};for(const _0x3c7685 of _0x33ddbd)_0x4f3f12(_0x3c7685);this[_0x259ff5(0x1a4)](_0x33ddbd,_0x259ff5(0x199),(_0x3a84a8,_0x51d4bd)=>{_0x4f3f12(_0x51d4bd);}),this[_0x259ff5(0x1a4)](_0x33ddbd,_0x259ff5(0x1ae),(_0xaae148,_0x588ea0,_0x19762c)=>{const _0x45044a=_0x259ff5;_0x5ebfc7[_0x45044a(0x176)]({'removedAnnotation':_0x588ea0,'previousAnnotation':_0x33ddbd[_0x45044a(0x172)](_0x19762c-0x1),'nextAnnotation':_0x33ddbd[_0x45044a(0x172)](_0x19762c+0x1)}),_0x588ea0===this[_0x45044a(0x189)]&&this[_0x45044a(0x1a0)](null);},{'priority':_0x259ff5(0x196)}),this[_0x259ff5(0x1a4)](_0x33ddbd,_0x259ff5(0x18e),(_0x348476,_0x187a9d)=>{const _0x4f9d43=_0x259ff5;this[_0x4f9d43(0x1a0)](_0x187a9d);}),this[_0x259ff5(0x1a4)](_0x33ddbd,_0x259ff5(0x186),()=>{const _0x22f962=_0x259ff5;this[_0x22f962(0x1a0)](null);});const _0x3cee0b=this[_0x259ff5(0x17d)]instanceof _0x19f28b?this[_0x259ff5(0x17d)][_0x259ff5(0x187)]:new _0x598c24([this[_0x259ff5(0x17d)]]);for(const _0x34933e of _0x3cee0b)this[_0x259ff5(0x17f)](_0x34933e);this[_0x259ff5(0x1a4)](_0x3cee0b,_0x259ff5(0x199),(_0x2ec080,_0x82be62)=>{const _0x18533f=_0x259ff5;this[_0x18533f(0x1a4)](_0x82be62,_0x18533f(0x174),()=>{const _0x157eaf=_0x18533f;this[_0x157eaf(0x17f)](_0x82be62);});}),this[_0x259ff5(0x1a4)](_0x3cee0b,_0x259ff5(0x1ae),(_0x4a87e5,_0x311bc9)=>{const _0x3c785f=_0x259ff5;_0x311bc9[_0x3c785f(0x1aa)][_0x3c785f(0x19d)](_0x3c785f(0x193))&&this[_0x3c785f(0x17b)](_0x311bc9[_0x3c785f(0x1aa)][_0x3c785f(0x172)](_0x3c785f(0x193)));}),window[_0x259ff5(0x17e)](_0x259ff5(0x17c),this[_0x259ff5(0x1a3)]),this[_0x259ff5(0x19a)][_0x259ff5(0x19b)]();}[_0x5c3707(0x19e)](){const _0x14f68b=_0x5c3707;if(!this[_0x14f68b(0x194)])throw new _0x20bb11(_0x14f68b(0x1a9),this);this[_0x14f68b(0x1a0)](null);const _0x2745bd=this[_0x14f68b(0x17d)][_0x14f68b(0x1aa)][_0x14f68b(0x172)](_0x5d8433);_0x2745bd[_0x14f68b(0x1b3)](this[_0x14f68b(0x19a)]),this[_0x14f68b(0x17a)](_0x2745bd),this[_0x14f68b(0x17a)](this[_0x14f68b(0x19a)]),this[_0x14f68b(0x17d)]instanceof _0x19f28b&&this[_0x14f68b(0x17a)](this[_0x14f68b(0x17d)][_0x14f68b(0x187)]);for(const _0x305b2b of Array[_0x14f68b(0x19f)](this[_0x14f68b(0x191)]))this[_0x14f68b(0x17b)](_0x305b2b);window[_0x14f68b(0x175)](_0x14f68b(0x17c),this[_0x14f68b(0x1a3)]),this[_0x14f68b(0x1a3)][_0x14f68b(0x18d)](),this[_0x14f68b(0x189)]=null,this[_0x14f68b(0x194)]=!0x1,this[_0x14f68b(0x19a)]=null;}[_0x5c3707(0x1a5)](){const _0x4b58c6=_0x5c3707;this[_0x4b58c6(0x194)]&&this[_0x4b58c6(0x19e)]();}[_0x5c3707(0x17f)](_0xa08b1d){const _0xf75428=_0x5c3707,_0x5791a9=_0xa08b1d[_0xf75428(0x1aa)][_0xf75428(0x172)](_0x4f8468);if(!_0x5791a9)return;const _0x196580=()=>{const _0x4d2f4f=_0xf75428,_0x11af18=_0x5791a9[_0x4d2f4f(0x197)]({'annotations':this[_0x4d2f4f(0x19a)],'activeAnnotation':this[_0x4d2f4f(0x189)]});this[_0x4d2f4f(0x1a0)](_0x11af18[0x0]||null);};this[_0xf75428(0x1a4)](_0x5791a9,_0xf75428(0x171),_0x196580),this[_0xf75428(0x1a4)](_0x5791a9,_0xf75428(0x186),(_0x3c6d78,{isAnnotationTracked:_0x5b0d97})=>{const _0x2bc819=_0xf75428;this[_0x2bc819(0x189)]&&_0x5b0d97(this[_0x2bc819(0x189)])&&this[_0x2bc819(0x1a0)](null);}),this[_0xf75428(0x1a4)](_0x5791a9,_0xf75428(0x177),()=>{const _0x3dd521=_0xf75428;this[_0x3dd521(0x1a3)]();}),this[_0xf75428(0x1a4)](this[_0xf75428(0x19a)],_0xf75428(0x186),_0x11d7f8=>{const _0x3f1e40=_0xf75428;_0x5791a9[_0x3f1e40(0x18a)]()&&(_0x196580(),_0x11d7f8[_0x3f1e40(0x179)]());},{'priority':_0xf75428(0x196)}),this[_0xf75428(0x191)][_0xf75428(0x199)](_0x5791a9);}[_0x5c3707(0x17b)](_0x37925d){const _0x3a7633=_0x5c3707;this[_0x3a7633(0x17a)](_0x37925d),this[_0x3a7633(0x191)][_0x3a7633(0x1ae)](_0x37925d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5629d9=_0x4b53;(function(_0x2e7c20,_0x21947d){const _0x5b06ca=_0x4b53,_0x29bb8a=_0x2e7c20();while(!![]){try{const _0x33bcce=-parseInt(_0x5b06ca(0x92))/0x1*(parseInt(_0x5b06ca(0x93))/0x2)+-parseInt(_0x5b06ca(0x7f))/0x3+-parseInt(_0x5b06ca(0x79))/0x4*(parseInt(_0x5b06ca(0x84))/0x5)+-parseInt(_0x5b06ca(0x89))/0x6*(parseInt(_0x5b06ca(0x96))/0x7)+-parseInt(_0x5b06ca(0x7e))/0x8*(-parseInt(_0x5b06ca(0x7c))/0x9)+-parseInt(_0x5b06ca(0x81))/0xa+-parseInt(_0x5b06ca(0x85))/0xb*(-parseInt(_0x5b06ca(0x9a))/0xc);if(_0x33bcce===_0x21947d)break;else _0x29bb8a['push'](_0x29bb8a['shift']());}catch(_0x521d3c){_0x29bb8a['push'](_0x29bb8a['shift']());}}}(_0x29aa,0xa29ca));function _0x29aa(){const _0x3b29a7=['selection','element','backward','getItems','execute','change','substr','schema','819809AHZqcM','2iSRcTC','push','start','77hMxuEF','$textProxy','_itemIsContent','editor','45069492OrMLTg','_trimToContent','createRange','end','refresh','_hasContent','comment:','496980xgciXn','isObject','getLastMatchingPosition','2859750yylsvG','addMarker','24TOlbvI','2919834yqdarm','item','647790oaHsCM','getRanges','isEnabled','50bledxK','11IhkGJb','model','tableCell','document','514182Gbscyd'];_0x29aa=function(){return _0x3b29a7;};return _0x29aa();}import{Command as _0x50ca7e}from'ckeditor5/src/core.js';import{uid as _0x325b72}from'ckeditor5/src/utils.js';function _0x4b53(_0x4749c6,_0x47cb93){const _0x29aaaa=_0x29aa();return _0x4b53=function(_0x4b53bf,_0x1c78ca){_0x4b53bf=_0x4b53bf-0x74;let _0x2bbd8b=_0x29aaaa[_0x4b53bf];return _0x2bbd8b;},_0x4b53(_0x4749c6,_0x47cb93);}export default class G extends _0x50ca7e{[_0x5629d9(0x76)](){const _0xc6997c=_0x5629d9,_0x56ef13=this[_0xc6997c(0x99)][_0xc6997c(0x86)][_0xc6997c(0x88)][_0xc6997c(0x8a)];for(const _0x28571c of _0x56ef13[_0xc6997c(0x82)]())if(this[_0xc6997c(0x77)](_0x28571c))return void(this[_0xc6997c(0x83)]=!0x0);this[_0xc6997c(0x83)]=!0x1;}[_0x5629d9(0x8e)]({threadId:_0x68f87d=_0x325b72()}={}){const _0x450c98=_0x5629d9,_0x5d7a34=this[_0x450c98(0x99)][_0x450c98(0x86)],_0x1f961a=[];for(const _0x550390 of _0x5d7a34[_0x450c98(0x88)][_0x450c98(0x8a)][_0x450c98(0x82)]())this[_0x450c98(0x77)](_0x550390)&&_0x1f961a[_0x450c98(0x94)](this[_0x450c98(0x9b)](_0x550390));_0x5d7a34[_0x450c98(0x8f)](_0x20a5e8=>{const _0x41d556=_0x450c98;for(const _0x17ca85 of _0x1f961a){const _0x242ecc=_0x325b72()[_0x41d556(0x90)](0x1,0x5),_0x1329be=_0x41d556(0x78)+_0x68f87d+':'+_0x242ecc;_0x20a5e8[_0x41d556(0x7d)](_0x1329be,{'range':_0x17ca85,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x5629d9(0x77)](_0x11afee){const _0x5690bd=_0x5629d9;for(const _0x154513 of _0x11afee[_0x5690bd(0x8d)]())if(this[_0x5690bd(0x98)](_0x154513))return!0x0;return!0x1;}[_0x5629d9(0x98)](_0x5b18cb){const _0x51d442=_0x5629d9;return _0x5b18cb['is'](_0x51d442(0x97))||this[_0x51d442(0x99)][_0x51d442(0x86)][_0x51d442(0x91)][_0x51d442(0x7a)](_0x5b18cb)&&!_0x5b18cb['is'](_0x51d442(0x8b),_0x51d442(0x87));}[_0x5629d9(0x9b)](_0x481b65){const _0x4956f1=_0x5629d9,_0x28d193=_0x509741=>!this[_0x4956f1(0x98)](_0x509741[_0x4956f1(0x80)]),_0x11f951=_0x481b65[_0x4956f1(0x95)][_0x4956f1(0x7b)](_0x28d193),_0x33145a=_0x481b65[_0x4956f1(0x75)][_0x4956f1(0x7b)](_0x28d193,{'direction':_0x4956f1(0x8c)});return this[_0x4956f1(0x99)][_0x4956f1(0x86)][_0x4956f1(0x74)](_0x11f951,_0x33145a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5eee53=_0x1c21;(function(_0x385c5d,_0x92bab2){const _0x594d9e=_0x1c21,_0x3a2db2=_0x385c5d();while(!![]){try{const _0x55aecf=-parseInt(_0x594d9e(0xbf))/0x1*(-parseInt(_0x594d9e(0xc8))/0x2)+-parseInt(_0x594d9e(0xc0))/0x3+parseInt(_0x594d9e(0xbc))/0x4*(-parseInt(_0x594d9e(0xd1))/0x5)+parseInt(_0x594d9e(0xd6))/0x6*(-parseInt(_0x594d9e(0xc6))/0x7)+-parseInt(_0x594d9e(0xd0))/0x8*(-parseInt(_0x594d9e(0xb6))/0x9)+parseInt(_0x594d9e(0xb7))/0xa+-parseInt(_0x594d9e(0xd3))/0xb*(-parseInt(_0x594d9e(0xcb))/0xc);if(_0x55aecf===_0x92bab2)break;else _0x3a2db2['push'](_0x3a2db2['shift']());}catch(_0x3f41a4){_0x3a2db2['push'](_0x3a2db2['shift']());}}}(_0x1579,0x97282));import{ContextPlugin as _0x30d920}from'ckeditor5/src/core.js';function _0x1c21(_0x6e3ae8,_0x27d1f1){const _0x157917=_0x1579();return _0x1c21=function(_0x1c21b5,_0x2543ee){_0x1c21b5=_0x1c21b5-0xb2;let _0x31ca58=_0x157917[_0x1c21b5];return _0x31ca58;},_0x1c21(_0x6e3ae8,_0x27d1f1);}import{Collection as _0x1ed608}from'ckeditor5/src/utils.js';function _0x1579(){const _0x39c852=['2495260qgTume','getCommentThread','removeCommentThread','focus','findIndex','20ITGdwa','_calculatePosition','archivedAt','5OCHqWm','110505hCYOJm','stopListening','get','isActive','highest','pluginName','7Fuqilf','has','329390BKAvZz','addCommentThread','listenTo','224412rAmdPs','init','remove','plugins','activate','136uamzKU','900355doxYOk','context','308kLYgLu','length','CommentsArchive','2510796XLfXnT','add','change:archivedAt','collection','archivedThreads','requires','200205uWFkYn'];_0x1579=function(){return _0x39c852;};return _0x1579();}import _0x1f6a34 from'./commentsrepository.js';import _0x345e09 from'../annotations/annotations.js';export default class p extends _0x30d920{static get[_0x5eee53(0xc5)](){const _0x23c672=_0x5eee53;return _0x23c672(0xd5);}static get[_0x5eee53(0xb5)](){return[_0x1f6a34,_0x345e09];}constructor(_0x51bca1){const _0x37505f=_0x5eee53;super(_0x51bca1),this[_0x37505f(0xb4)]=new _0x1ed608();}[_0x5eee53(0xcc)](){const _0x18ded3=_0x5eee53,_0x5b8420=this[_0x18ded3(0xd2)],_0x95449a=_0x5b8420[_0x18ded3(0xce)][_0x18ded3(0xc2)](_0x1f6a34),_0x173dba=_0x5b8420[_0x18ded3(0xce)][_0x18ded3(0xc2)](_0x345e09);this[_0x18ded3(0xca)](_0x95449a,_0x18ded3(0xc9),(_0xba8e97,{threadId:_0xdfdeb6})=>{const _0x2637ed=_0x18ded3,_0x3552d2=_0x95449a[_0x2637ed(0xb8)](_0xdfdeb6);_0x3552d2[_0x2637ed(0xbe)]&&this[_0x2637ed(0xb4)][_0x2637ed(0xd7)](_0x3552d2,this[_0x2637ed(0xbd)](_0x3552d2[_0x2637ed(0xbe)])),this[_0x2637ed(0xca)](_0x3552d2,_0x2637ed(0xb2),(_0x46d376,_0x8afd0c,_0x59e1fa)=>{const _0x4d5f58=_0x2637ed;_0x59e1fa?this[_0x4d5f58(0xb4)][_0x4d5f58(0xc7)](_0x3552d2)||this[_0x4d5f58(0xb4)][_0x4d5f58(0xd7)](_0x3552d2,this[_0x4d5f58(0xbd)](_0x3552d2[_0x4d5f58(0xbe)])):this[_0x4d5f58(0xb4)][_0x4d5f58(0xc7)](_0x3552d2)&&this[_0x4d5f58(0xb4)][_0x4d5f58(0xcd)](_0x3552d2);});}),this[_0x18ded3(0xca)](_0x95449a,_0x18ded3(0xb9),(_0x609ada,{threadId:_0x2964be})=>{const _0x3309c2=_0x18ded3,_0x3b5449=_0x95449a[_0x3309c2(0xb8)](_0x2964be);this[_0x3309c2(0xc1)](_0x3b5449),this[_0x3309c2(0xb4)][_0x3309c2(0xc7)](_0x3b5449)&&this[_0x3309c2(0xb4)][_0x3309c2(0xcd)](_0x3b5449);},{'priority':_0x18ded3(0xc4)}),this[_0x18ded3(0xca)](_0x173dba[_0x18ded3(0xb3)],_0x18ded3(0xba),(_0x10e369,_0x171f5f)=>{const _0xc645f2=_0x18ded3;_0x171f5f[_0xc645f2(0xc3)]=!0x0,_0x173dba[_0xc645f2(0xcf)](_0x171f5f);});}[_0x5eee53(0xbd)](_0x3ef786){const _0x2576fb=_0x5eee53,_0x2de907=[...this[_0x2576fb(0xb4)]][_0x2576fb(0xbb)](_0x44d045=>_0x44d045[_0x2576fb(0xbe)]<_0x3ef786);return _0x2de907>-0x1?_0x2de907:this[_0x2576fb(0xb4)][_0x2576fb(0xd4)];}}
|