@ckeditor/ckeditor5-comments 47.0.0-alpha.6 → 47.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3d5f(_0x357dac,_0x4f245a){const _0x3a20b7=_0x3a20();return _0x3d5f=function(_0x3d5f4b,_0x217d51){_0x3d5f4b=_0x3d5f4b-0xa6;let _0x49da40=_0x3a20b7[_0x3d5f4b];return _0x49da40;},_0x3d5f(_0x357dac,_0x4f245a);}const _0x45d37f=_0x3d5f;(function(_0x2d5b00,_0x1ec6d8){const _0x8384b8=_0x3d5f,_0xccc2a=_0x2d5b00();while(!![]){try{const _0x1d1346=parseInt(_0x8384b8(0xb6))/0x1*(parseInt(_0x8384b8(0xba))/0x2)+parseInt(_0x8384b8(0xf2))/0x3*(-parseInt(_0x8384b8(0xea))/0x4)+parseInt(_0x8384b8(0xd8))/0x5+parseInt(_0x8384b8(0xf1))/0x6*(-parseInt(_0x8384b8(0xf3))/0x7)+parseInt(_0x8384b8(0xde))/0x8+parseInt(_0x8384b8(0xc8))/0x9+-parseInt(_0x8384b8(0xcf))/0xa;if(_0x1d1346===_0x1ec6d8)break;else _0xccc2a['push'](_0xccc2a['shift']());}catch(_0x3ac4b3){_0xccc2a['push'](_0xccc2a['shift']());}}}(_0x3a20,0xa23eb));import{ContextPlugin as _0x1814ae}from'ckeditor5/src/core.js';function _0x3a20(){const _0x154530=['2753495ijbNtj','_alignForBottomChange','listenTo','isPremiumPlugin','_attachToContainer','_recalculateBuffer','5245744FXkAXI','_annotations','sidebar-attachtocontainer-missing-container','_alignAfterItem','view','pluginName','isAnimationDisabled','_lastItem','_getMaxAvailableTop','_createSidebarView','minHeight','refresh','61436tRqmUu','target','top','render','change:bottom','appendChild','config','571446SgCber','90GSfnsd','63skjNbi','getIndex','_alignBeforeItem','_getItemAfter','change:top','_targetTop','destroy','_getItemBefore','get','_alignToTargetRect','isOfficialPlugin','sidebar.preventScrollOutOfView','add','max','_activeAnnotation','isActive','setContainer','rearrange','bottom','push','_annotationToSidebarItemView','last','list','updateHeight','element','unbind','_recalculate','content','addAnnotation','_getTargetTop','605Jhndhc','targetRect','change:targetRect','delete','2414IoVyav','object','getSidebarItemView','init','height','sidebar-setcontainer-invalid-element','_updateLastItem','context','_setItemTop','remove','_alignForTopChange','_destroySidebarItemView','Sidebar','sidebar.container','10118277RUOrms','bind','change:_lastItem','define','_spaceBetweenItems','length','stopListening','10784110aTywnV','nodeType','clear','locale','container','_detachFromContainer','class','_sidebarItemViewToAnnotation','set'];_0x3a20=function(){return _0x154530;};return _0x3a20();}import{Rect as _0x3d4486,CKEditorError as _0x38f0ed}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x38ec08}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x654b41}from'./view/sidebaritemview.js';export class Sidebar extends _0x1814ae{[_0x45d37f(0xe2)];[_0x45d37f(0xa6)];[_0x45d37f(0xdf)];[_0x45d37f(0xcc)];[_0x45d37f(0xd6)];[_0x45d37f(0xac)];[_0x45d37f(0xdd)];static get[_0x45d37f(0xe3)](){const _0xc345e3=_0x45d37f;return _0xc345e3(0xc6);}static get[_0x45d37f(0xfd)](){return!0x0;}static get[_0x45d37f(0xdb)](){return!0x0;}constructor(_0x3f5e72){const _0x14a2a3=_0x45d37f;super(_0x3f5e72),this[_0x14a2a3(0xd7)](_0x14a2a3(0xe5),void 0x0),this[_0x14a2a3(0xe2)]=this[_0x14a2a3(0xe7)](),this[_0x14a2a3(0xd7)](_0x14a2a3(0xd3),null),this[_0x14a2a3(0xcc)]=0x19,this[_0x14a2a3(0xd6)]=new Map(),this[_0x14a2a3(0xac)]=new Map(),this[_0x14a2a3(0xc1)][_0x14a2a3(0xf0)][_0x14a2a3(0xcb)](_0x14a2a3(0xfe),!0x1),this[_0x14a2a3(0xdf)]=null,this[_0x14a2a3(0xa6)]=null,this[_0x14a2a3(0xdd)]=[];}[_0x45d37f(0xbd)](){const _0x363bdd=_0x45d37f,_0x1dc2d5=this[_0x363bdd(0xc1)][_0x363bdd(0xf0)][_0x363bdd(0xfb)](_0x363bdd(0xc7));_0x1dc2d5&&this[_0x363bdd(0xa8)](_0x1dc2d5);}[_0x45d37f(0xa8)](_0x3f67b6){const _0x496a5c=_0x45d37f;if(!g(_0x3f67b6))throw new _0x38f0ed(_0x496a5c(0xbf));this[_0x496a5c(0xd3)]=_0x3f67b6;}[_0x45d37f(0xdc)]({viewClass:_0x48ed0a='',spaceBetweenItems:_0x507f3a=0x19}={}){const _0x5ce1e3=_0x45d37f;if(!g(this[_0x5ce1e3(0xd3)]))throw new _0x38f0ed(_0x5ce1e3(0xe0),this);this[_0x5ce1e3(0xd3)][_0x5ce1e3(0xef)](this[_0x5ce1e3(0xe2)][_0x5ce1e3(0xb0)]),this[_0x5ce1e3(0xe2)][_0x5ce1e3(0xd5)]=_0x48ed0a,this[_0x5ce1e3(0xcc)]=_0x507f3a;}[_0x45d37f(0xa9)]({removedAnnotation:_0x17e037,previousAnnotation:_0x3fcc0a,nextAnnotation:_0x100f14}){const _0x493e69=_0x45d37f,_0x272694=this[_0x493e69(0xbc)](_0x17e037);this[_0x493e69(0xe2)][_0x493e69(0xae)][_0x493e69(0xc3)](_0x272694),this[_0x493e69(0xc5)](_0x17e037),_0x3fcc0a&&this[_0x493e69(0xfc)](this[_0x493e69(0xbc)](_0x3fcc0a)),_0x100f14&&this[_0x493e69(0xfc)](this[_0x493e69(0xbc)](_0x100f14)),this[_0x493e69(0xc0)]();}[_0x45d37f(0xe9)]({blurredAnnotation:_0x47529f,activatedAnnotation:_0x3ab24a,disableAnimationOnActivatedAnnotation:_0x14c914}){const _0x297b0c=_0x45d37f;if(this[_0x297b0c(0xa6)]=_0x3ab24a,_0x47529f){_0x47529f[_0x297b0c(0xa7)]=!0x1;const _0x53cbc1=this[_0x297b0c(0xbc)](_0x47529f);_0x53cbc1&&_0x14c914&&(_0x53cbc1[_0x297b0c(0xe4)]=!0x1);}if(_0x3ab24a){const _0x308b94=this[_0x297b0c(0xbc)](_0x3ab24a);_0x308b94&&(_0x3ab24a[_0x297b0c(0xa7)]=!0x0,_0x14c914&&(_0x308b94[_0x297b0c(0xe4)]=!0x0,_0x308b94[_0x297b0c(0xec)]+=0x1),this[_0x297b0c(0xfc)](_0x308b94));}}[_0x45d37f(0xd4)](_0x31a437){const _0x3eed14=_0x45d37f;if(this[_0x3eed14(0xe2)][_0x3eed14(0xb0)][_0x3eed14(0xc3)](),_0x31a437){for(const _0x817e22 of _0x31a437)this[_0x3eed14(0xc5)](_0x817e22);}this[_0x3eed14(0xe2)][_0x3eed14(0xae)][_0x3eed14(0xd1)](),this[_0x3eed14(0xe2)][_0x3eed14(0xd5)]='',this[_0x3eed14(0xe5)]=null;}[_0x45d37f(0xb4)](_0x280ff8,_0x37fe94){const _0x4ffc18=_0x45d37f;_0x37fe94||(_0x37fe94=_0x280ff8[_0x4ffc18(0xe2)]);const _0x520de8=new _0x654b41(this[_0x4ffc18(0xc1)][_0x4ffc18(0xd2)]);this[_0x4ffc18(0xd6)][_0x4ffc18(0xd7)](_0x520de8,_0x280ff8),this[_0x4ffc18(0xac)][_0x4ffc18(0xd7)](_0x280ff8,_0x520de8),_0x520de8[_0x4ffc18(0xb3)][_0x4ffc18(0xff)](_0x37fe94),this[_0x4ffc18(0xda)](_0x280ff8[_0x4ffc18(0xe2)],_0x4ffc18(0xb8),(_0x456061,_0x2b1a37,_0x5312e3)=>{const _0x5ce376=_0x4ffc18,_0xf59567=this[_0x5ce376(0xb5)](_0x280ff8,_0x5312e3);_0x520de8[_0x5ce376(0xf8)]!=_0xf59567&&(_0x520de8[_0x5ce376(0xf8)]=_0xf59567,this[_0x5ce376(0xc2)](_0x520de8,_0xf59567));}),this[_0x4ffc18(0xda)](_0x520de8,_0x4ffc18(0xf7),()=>{const _0xb2fd3=_0x4ffc18;this[_0xb2fd3(0xb2)](_0x520de8,_0xb2fd3(0xec));}),this[_0x4ffc18(0xda)](_0x520de8,_0x4ffc18(0xee),()=>{const _0x45fdf7=_0x4ffc18;this[_0x45fdf7(0xb2)](_0x520de8,_0x45fdf7(0xaa));}),this[_0x4ffc18(0xfc)](_0x520de8);const _0x421ce0=this[_0x4ffc18(0xfa)](_0x520de8);if(_0x421ce0)this[_0x4ffc18(0xe1)](_0x421ce0,_0x520de8)||this[_0x4ffc18(0xfc)](_0x520de8);else this[_0x4ffc18(0xfc)](_0x520de8);return this[_0x4ffc18(0xc0)](),this[_0x4ffc18(0xe2)][_0x4ffc18(0xae)][_0x4ffc18(0xff)](_0x520de8),_0x520de8;}[_0x45d37f(0xc4)](_0x234c37){const _0x4469d7=_0x45d37f;if(!_0x234c37[_0x4469d7(0xb3)][_0x4469d7(0xcd)])return;const _0x539a77=this[_0x4469d7(0xfa)](_0x234c37);if(!_0x539a77)return;const _0x3da166=this[_0x4469d7(0xd6)][_0x4469d7(0xfb)](_0x539a77),_0x1306b7=this[_0x4469d7(0xa6)];_0x1306b7&&_0x1306b7===_0x3da166?this[_0x4469d7(0xe1)](_0x539a77,_0x234c37):this[_0x4469d7(0xf5)](_0x234c37,_0x539a77);}[_0x45d37f(0xd9)](_0x30cc8b){const _0x28a422=_0x45d37f;if(!_0x30cc8b[_0x28a422(0xb3)][_0x28a422(0xcd)])return;const _0x335e1c=this[_0x28a422(0xf6)](_0x30cc8b);if(!_0x335e1c)return;const _0x4e6627=this[_0x28a422(0xd6)][_0x28a422(0xfb)](_0x335e1c),_0x6229ee=this[_0x28a422(0xc1)][_0x28a422(0xf0)][_0x28a422(0xfb)](_0x28a422(0xfe)),_0x375fdf=this[_0x28a422(0xa6)];_0x375fdf&&_0x375fdf===_0x4e6627&&_0x6229ee?(this[_0x28a422(0xf5)](_0x335e1c,_0x30cc8b),this[_0x28a422(0xe1)](_0x30cc8b,_0x335e1c)):_0x375fdf&&_0x375fdf===_0x4e6627?this[_0x28a422(0xf5)](_0x335e1c,_0x30cc8b):this[_0x28a422(0xe1)](_0x30cc8b,_0x335e1c);}[_0x45d37f(0xb2)](_0x4bee5b,_0x1af95){const _0x567af4=_0x45d37f;0x0===this[_0x567af4(0xdd)][_0x567af4(0xcd)]&&setTimeout(()=>{const _0x2ab843=_0x567af4;for(const {sidebarItemView:_0x2d824d,changedProp:_0x53deeb}of this[_0x2ab843(0xdd)])_0x2ab843(0xec)===_0x53deeb?this[_0x2ab843(0xc4)](_0x2d824d):this[_0x2ab843(0xd9)](_0x2d824d);this[_0x2ab843(0xdd)]=[];},0xa),this[_0x567af4(0xdd)][_0x567af4(0xab)]({'sidebarItemView':_0x4bee5b,'changedProp':_0x1af95});}[_0x45d37f(0xbc)](_0x4b5c6c){const _0x47b6be=_0x45d37f;return this[_0x47b6be(0xac)][_0x47b6be(0xfb)](_0x4b5c6c);}[_0x45d37f(0xf9)](){const _0x1982d9=_0x45d37f;this[_0x1982d9(0xce)](),this[_0x1982d9(0xe2)][_0x1982d9(0xf9)]();}[_0x45d37f(0xc5)](_0x381dfd){const _0x226105=_0x45d37f,_0x3fbaca=this[_0x226105(0xbc)](_0x381dfd);this[_0x226105(0xce)](_0x3fbaca),this[_0x226105(0xce)](_0x381dfd[_0x226105(0xe2)]),_0x3fbaca[_0x226105(0xf9)](),this[_0x226105(0xac)][_0x226105(0xb9)](_0x381dfd),this[_0x226105(0xd6)][_0x226105(0xb9)](_0x3fbaca);}[_0x45d37f(0xe7)](){const _0x43f67e=_0x45d37f,_0x1ac1a9=new _0x38ec08(this[_0x43f67e(0xc1)][_0x43f67e(0xd2)]);return _0x1ac1a9[_0x43f67e(0xed)](),this['on'](_0x43f67e(0xca),(_0x1c7f97,_0x2eeff7,_0x449802,_0x54a817)=>{const _0x1fe604=_0x43f67e;_0x54a817&&_0x1ac1a9[_0x1fe604(0xb1)](_0x1fe604(0xe8)),_0x449802?_0x1ac1a9[_0x1fe604(0xc9)](_0x1fe604(0xe8))['to'](_0x449802,_0x1fe604(0xaa)):_0x1ac1a9[_0x1fe604(0xe8)]=null;}),_0x1ac1a9;}[_0x45d37f(0xc0)](){const _0x37e33f=_0x45d37f;this[_0x37e33f(0xe5)]=this[_0x37e33f(0xdf)]?.[_0x37e33f(0xad)]?this[_0x37e33f(0xbc)](this[_0x37e33f(0xdf)][_0x37e33f(0xad)]):null;}[_0x45d37f(0xfa)](_0x506338){const _0x2ef3e9=_0x45d37f,_0x46478f=this[_0x2ef3e9(0xd6)][_0x2ef3e9(0xfb)](_0x506338),_0x21e124=_0x46478f&&this[_0x2ef3e9(0xdf)]?.[_0x2ef3e9(0xfb)](this[_0x2ef3e9(0xdf)][_0x2ef3e9(0xf4)](_0x46478f)-0x1);return _0x21e124&&this[_0x2ef3e9(0xbc)](_0x21e124)||null;}[_0x45d37f(0xf6)](_0x37387f){const _0x3ede1e=_0x45d37f,_0x46c6b9=this[_0x3ede1e(0xd6)][_0x3ede1e(0xfb)](_0x37387f),_0x5afe74=_0x46c6b9&&this[_0x3ede1e(0xdf)]?.[_0x3ede1e(0xfb)](this[_0x3ede1e(0xdf)][_0x3ede1e(0xf4)](_0x46c6b9)+0x1);return _0x5afe74&&this[_0x3ede1e(0xbc)](_0x5afe74)||null;}[_0x45d37f(0xf5)](_0x4efab9,_0x23d75f){const _0x7c1ee1=_0x45d37f;_0x4efab9[_0x7c1ee1(0xaf)]();const _0x54a9cf=G(_0x23d75f[_0x7c1ee1(0xaa)]+this[_0x7c1ee1(0xcc)],_0x4efab9[_0x7c1ee1(0xec)]);return!!_0x54a9cf&&(this[_0x7c1ee1(0xc2)](_0x23d75f,_0x23d75f[_0x7c1ee1(0xec)]-_0x54a9cf),!0x0);}[_0x45d37f(0xe1)](_0x5b2b6b,_0xe54af1){const _0x114a95=_0x45d37f;_0x5b2b6b[_0x114a95(0xaf)]();const _0x35e611=G(_0x5b2b6b[_0x114a95(0xaa)]+this[_0x114a95(0xcc)],_0xe54af1[_0x114a95(0xec)]);return!!_0x35e611&&(this[_0x114a95(0xc2)](_0xe54af1,_0xe54af1[_0x114a95(0xec)]+_0x35e611,!0x1),!0x0);}[_0x45d37f(0xfc)](_0x2956a1){const _0xb22ae5=_0x45d37f,_0x780d4b=this[_0xb22ae5(0xd6)][_0xb22ae5(0xfb)](_0x2956a1);if(!_0x780d4b||!_0x780d4b[_0xb22ae5(0xeb)]||!_0x780d4b[_0xb22ae5(0xb7)])return;const _0x4e4cac=this[_0xb22ae5(0xb5)](_0x780d4b,_0x780d4b[_0xb22ae5(0xb7)]);this[_0xb22ae5(0xc2)](_0x2956a1,_0x4e4cac);}[_0x45d37f(0xb5)](_0x5e4a48,_0x143918){const _0x1bdbae=_0x45d37f;if(null===_0x143918)return 0x0;if(_0x5e4a48[_0x1bdbae(0xeb)]instanceof _0x3d4486)return _0x143918[_0x1bdbae(0xec)];{const _0x4c0c93=new _0x3d4486(this[_0x1bdbae(0xe2)][_0x1bdbae(0xb0)])[_0x1bdbae(0xec)];return _0x143918[_0x1bdbae(0xec)]-_0x4c0c93;}}[_0x45d37f(0xc2)](_0x126d2b,_0x25a151,_0x3a2aaa=this[_0x45d37f(0xc1)][_0x45d37f(0xf0)][_0x45d37f(0xfb)](_0x45d37f(0xfe))){const _0x180a97=_0x45d37f;_0x3a2aaa&&(_0x25a151=Math[_0x180a97(0x100)](_0x25a151,this[_0x180a97(0xe6)](_0x126d2b))),_0x126d2b[_0x180a97(0xec)]=_0x25a151;}[_0x45d37f(0xe6)](_0x4b72bd){const _0x5812cf=_0x45d37f;let _0x2383f9=this[_0x5812cf(0xfa)](_0x4b72bd),_0x11160e=0x0;for(;_0x2383f9;)_0x2383f9[_0x5812cf(0xaf)](),_0x11160e+=this[_0x5812cf(0xcc)]+_0x2383f9[_0x5812cf(0xbe)],_0x2383f9=this[_0x5812cf(0xfa)](_0x2383f9);return _0x11160e;}}function G(_0x25d897,_0x3b488e){const _0x491693=_0x45d37f;return Math[_0x491693(0x100)](_0x25d897-_0x3b488e,0x0);}function g(_0xff9a3c){const _0x3f1309=_0x45d37f;return null!==_0xff9a3c&&_0x3f1309(0xbb)==typeof _0xff9a3c&&0x1===_0xff9a3c[_0x3f1309(0xd0)];}
|
|
23
|
+
const _0xba0ed9=_0x5484;function _0x5484(_0x344b83,_0x5bf8d3){const _0xf1d964=_0xf1d9();return _0x5484=function(_0x54844d,_0x262a25){_0x54844d=_0x54844d-0x10e;let _0xf9396=_0xf1d964[_0x54844d];return _0xf9396;},_0x5484(_0x344b83,_0x5bf8d3);}function _0xf1d9(){const _0xab8dfa=['isOfficialPlugin','target','sidebar-setcontainer-invalid-element','appendChild','context','get','push','_detachFromContainer','length','refresh','_alignAfterItem','993sYbbPF','_getMaxAvailableTop','change:targetRect','locale','_alignToTargetRect','height','_setItemTop','last','unbind','minHeight','top','isPremiumPlugin','change:bottom','remove','_updateLastItem','delete','change:_lastItem','change:top','_createSidebarView','set','_alignForBottomChange','_getItemAfter','clear','_alignForTopChange','483785zMCqti','858441WLEWfb','sidebar.container','_spaceBetweenItems','config','Sidebar','max','define','_attachToContainer','_annotations','stopListening','_destroySidebarItemView','targetRect','addAnnotation','getIndex','element','_annotationToSidebarItemView','listenTo','_getTargetTop','container','_activeAnnotation','_sidebarItemViewToAnnotation','isActive','add','_lastItem','destroy','_targetTop','sidebar-attachtocontainer-missing-container','4006282UULuuz','_alignBeforeItem','_recalculateBuffer','_getItemBefore','nodeType','getSidebarItemView','bind','rearrange','class','5420wOofej','2473803cPcKRO','1696784IFZzgI','view','bottom','77nmHwdv','updateHeight','render','init','isAnimationDisabled','content','pluginName','object','_recalculate','24yazdYR','list','sidebar.preventScrollOutOfView','722290yrSyun','6lMVKRB','setContainer'];_0xf1d9=function(){return _0xab8dfa;};return _0xf1d9();}(function(_0x5e8d41,_0x27ff04){const _0x10df6d=_0x5484,_0x5f0c21=_0x5e8d41();while(!![]){try{const _0x3bd856=parseInt(_0x10df6d(0x111))/0x1+parseInt(_0x10df6d(0x135))/0x2*(-parseInt(_0x10df6d(0x154))/0x3)+-parseInt(_0x10df6d(0x137))/0x4+-parseInt(_0x10df6d(0x110))/0x5*(-parseInt(_0x10df6d(0x147))/0x6)+parseInt(_0x10df6d(0x12c))/0x7+parseInt(_0x10df6d(0x143))/0x8*(parseInt(_0x10df6d(0x136))/0x9)+parseInt(_0x10df6d(0x146))/0xa*(-parseInt(_0x10df6d(0x13a))/0xb);if(_0x3bd856===_0x27ff04)break;else _0x5f0c21['push'](_0x5f0c21['shift']());}catch(_0x519db1){_0x5f0c21['push'](_0x5f0c21['shift']());}}}(_0xf1d9,0x80404));import{ContextPlugin as _0x3c8414}from'ckeditor5/src/core.js';import{Rect as _0x3840cf,CKEditorError as _0x11b40a}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0xd05e50}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x10d2da}from'./view/sidebaritemview.js';export class Sidebar extends _0x3c8414{[_0xba0ed9(0x138)];[_0xba0ed9(0x124)];[_0xba0ed9(0x119)];[_0xba0ed9(0x113)];[_0xba0ed9(0x125)];[_0xba0ed9(0x120)];[_0xba0ed9(0x12e)];static get[_0xba0ed9(0x140)](){const _0x576176=_0xba0ed9;return _0x576176(0x115);}static get[_0xba0ed9(0x149)](){return!0x0;}static get[_0xba0ed9(0x15f)](){return!0x0;}constructor(_0x542c6b){const _0xe4396e=_0xba0ed9;super(_0x542c6b),this[_0xe4396e(0x167)](_0xe4396e(0x128),void 0x0),this[_0xe4396e(0x138)]=this[_0xe4396e(0x166)](),this[_0xe4396e(0x167)](_0xe4396e(0x123),null),this[_0xe4396e(0x113)]=0x19,this[_0xe4396e(0x125)]=new Map(),this[_0xe4396e(0x120)]=new Map(),this[_0xe4396e(0x14d)][_0xe4396e(0x114)][_0xe4396e(0x117)](_0xe4396e(0x145),!0x1),this[_0xe4396e(0x119)]=null,this[_0xe4396e(0x124)]=null,this[_0xe4396e(0x12e)]=[];}[_0xba0ed9(0x13d)](){const _0x237006=_0xba0ed9,_0xd3d9b6=this[_0x237006(0x14d)][_0x237006(0x114)][_0x237006(0x14e)](_0x237006(0x112));_0xd3d9b6&&this[_0x237006(0x148)](_0xd3d9b6);}[_0xba0ed9(0x148)](_0x4022a3){const _0x2e90ba=_0xba0ed9;if(!g(_0x4022a3))throw new _0x11b40a(_0x2e90ba(0x14b));this[_0x2e90ba(0x123)]=_0x4022a3;}[_0xba0ed9(0x118)]({viewClass:_0x1bdd05='',spaceBetweenItems:_0x5838a2=0x19}={}){const _0x43676c=_0xba0ed9;if(!g(this[_0x43676c(0x123)]))throw new _0x11b40a(_0x43676c(0x12b),this);this[_0x43676c(0x123)][_0x43676c(0x14c)](this[_0x43676c(0x138)][_0x43676c(0x11f)]),this[_0x43676c(0x138)][_0x43676c(0x134)]=_0x1bdd05,this[_0x43676c(0x113)]=_0x5838a2;}[_0xba0ed9(0x133)]({removedAnnotation:_0x469931,previousAnnotation:_0xa452c4,nextAnnotation:_0x44bee8}){const _0x371c2b=_0xba0ed9,_0x2dabcb=this[_0x371c2b(0x131)](_0x469931);this[_0x371c2b(0x138)][_0x371c2b(0x144)][_0x371c2b(0x161)](_0x2dabcb),this[_0x371c2b(0x11b)](_0x469931),_0xa452c4&&this[_0x371c2b(0x158)](this[_0x371c2b(0x131)](_0xa452c4)),_0x44bee8&&this[_0x371c2b(0x158)](this[_0x371c2b(0x131)](_0x44bee8)),this[_0x371c2b(0x162)]();}[_0xba0ed9(0x152)]({blurredAnnotation:_0x571bb3,activatedAnnotation:_0x2c3cd4,disableAnimationOnActivatedAnnotation:_0x1236a7}){const _0x24a0be=_0xba0ed9;if(this[_0x24a0be(0x124)]=_0x2c3cd4,_0x571bb3){_0x571bb3[_0x24a0be(0x126)]=!0x1;const _0x41fbdc=this[_0x24a0be(0x131)](_0x571bb3);_0x41fbdc&&_0x1236a7&&(_0x41fbdc[_0x24a0be(0x13e)]=!0x1);}if(_0x2c3cd4){const _0x511588=this[_0x24a0be(0x131)](_0x2c3cd4);_0x511588&&(_0x2c3cd4[_0x24a0be(0x126)]=!0x0,_0x1236a7&&(_0x511588[_0x24a0be(0x13e)]=!0x0,_0x511588[_0x24a0be(0x15e)]+=0x1),this[_0x24a0be(0x158)](_0x511588));}}[_0xba0ed9(0x150)](_0x1a66c1){const _0x68ea08=_0xba0ed9;if(this[_0x68ea08(0x138)][_0x68ea08(0x11f)][_0x68ea08(0x161)](),_0x1a66c1){for(const _0x2680e2 of _0x1a66c1)this[_0x68ea08(0x11b)](_0x2680e2);}this[_0x68ea08(0x138)][_0x68ea08(0x144)][_0x68ea08(0x10e)](),this[_0x68ea08(0x138)][_0x68ea08(0x134)]='',this[_0x68ea08(0x128)]=null;}[_0xba0ed9(0x11d)](_0x468dc0,_0xcb760){const _0x2c2086=_0xba0ed9;_0xcb760||(_0xcb760=_0x468dc0[_0x2c2086(0x138)]);const _0x2eb96b=new _0x10d2da(this[_0x2c2086(0x14d)][_0x2c2086(0x157)]);this[_0x2c2086(0x125)][_0x2c2086(0x167)](_0x2eb96b,_0x468dc0),this[_0x2c2086(0x120)][_0x2c2086(0x167)](_0x468dc0,_0x2eb96b),_0x2eb96b[_0x2c2086(0x13f)][_0x2c2086(0x127)](_0xcb760),this[_0x2c2086(0x121)](_0x468dc0[_0x2c2086(0x138)],_0x2c2086(0x156),(_0x5f15cf,_0x2b2b83,_0x2ac7cb)=>{const _0x385efd=_0x2c2086,_0x1df5b1=this[_0x385efd(0x122)](_0x468dc0,_0x2ac7cb);_0x2eb96b[_0x385efd(0x12a)]!=_0x1df5b1&&(_0x2eb96b[_0x385efd(0x12a)]=_0x1df5b1,this[_0x385efd(0x15a)](_0x2eb96b,_0x1df5b1));}),this[_0x2c2086(0x121)](_0x2eb96b,_0x2c2086(0x165),()=>{const _0x5a57ec=_0x2c2086;this[_0x5a57ec(0x142)](_0x2eb96b,_0x5a57ec(0x15e));}),this[_0x2c2086(0x121)](_0x2eb96b,_0x2c2086(0x160),()=>{const _0x2f094c=_0x2c2086;this[_0x2f094c(0x142)](_0x2eb96b,_0x2f094c(0x139));}),this[_0x2c2086(0x158)](_0x2eb96b);const _0x4e2a66=this[_0x2c2086(0x12f)](_0x2eb96b);if(_0x4e2a66)this[_0x2c2086(0x153)](_0x4e2a66,_0x2eb96b)||this[_0x2c2086(0x158)](_0x2eb96b);else this[_0x2c2086(0x158)](_0x2eb96b);return this[_0x2c2086(0x162)](),this[_0x2c2086(0x138)][_0x2c2086(0x144)][_0x2c2086(0x127)](_0x2eb96b),_0x2eb96b;}[_0xba0ed9(0x10f)](_0x30b8f7){const _0x53af0f=_0xba0ed9;if(!_0x30b8f7[_0x53af0f(0x13f)][_0x53af0f(0x151)])return;const _0x590305=this[_0x53af0f(0x12f)](_0x30b8f7);if(!_0x590305)return;const _0x22984e=this[_0x53af0f(0x125)][_0x53af0f(0x14e)](_0x590305),_0x4ce4ec=this[_0x53af0f(0x124)];_0x4ce4ec&&_0x4ce4ec===_0x22984e?this[_0x53af0f(0x153)](_0x590305,_0x30b8f7):this[_0x53af0f(0x12d)](_0x30b8f7,_0x590305);}[_0xba0ed9(0x168)](_0x293169){const _0x341b92=_0xba0ed9;if(!_0x293169[_0x341b92(0x13f)][_0x341b92(0x151)])return;const _0x2b6980=this[_0x341b92(0x169)](_0x293169);if(!_0x2b6980)return;const _0x556d63=this[_0x341b92(0x125)][_0x341b92(0x14e)](_0x2b6980),_0x150e2a=this[_0x341b92(0x14d)][_0x341b92(0x114)][_0x341b92(0x14e)](_0x341b92(0x145)),_0x2eec5a=this[_0x341b92(0x124)];_0x2eec5a&&_0x2eec5a===_0x556d63&&_0x150e2a?(this[_0x341b92(0x12d)](_0x2b6980,_0x293169),this[_0x341b92(0x153)](_0x293169,_0x2b6980)):_0x2eec5a&&_0x2eec5a===_0x556d63?this[_0x341b92(0x12d)](_0x2b6980,_0x293169):this[_0x341b92(0x153)](_0x293169,_0x2b6980);}[_0xba0ed9(0x142)](_0x4b3ca5,_0x31c5f2){const _0x61734d=_0xba0ed9;0x0===this[_0x61734d(0x12e)][_0x61734d(0x151)]&&setTimeout(()=>{const _0x2a7758=_0x61734d;for(const {sidebarItemView:_0x61b99b,changedProp:_0x1743e1}of this[_0x2a7758(0x12e)])_0x2a7758(0x15e)===_0x1743e1?this[_0x2a7758(0x10f)](_0x61b99b):this[_0x2a7758(0x168)](_0x61b99b);this[_0x2a7758(0x12e)]=[];},0xa),this[_0x61734d(0x12e)][_0x61734d(0x14f)]({'sidebarItemView':_0x4b3ca5,'changedProp':_0x31c5f2});}[_0xba0ed9(0x131)](_0x3af1ed){const _0x27eeb9=_0xba0ed9;return this[_0x27eeb9(0x120)][_0x27eeb9(0x14e)](_0x3af1ed);}[_0xba0ed9(0x129)](){const _0x5bc579=_0xba0ed9;this[_0x5bc579(0x11a)](),this[_0x5bc579(0x138)][_0x5bc579(0x129)]();}[_0xba0ed9(0x11b)](_0x46b7a6){const _0x4e1959=_0xba0ed9,_0x132cf7=this[_0x4e1959(0x131)](_0x46b7a6);this[_0x4e1959(0x11a)](_0x132cf7),this[_0x4e1959(0x11a)](_0x46b7a6[_0x4e1959(0x138)]),_0x132cf7[_0x4e1959(0x129)](),this[_0x4e1959(0x120)][_0x4e1959(0x163)](_0x46b7a6),this[_0x4e1959(0x125)][_0x4e1959(0x163)](_0x132cf7);}[_0xba0ed9(0x166)](){const _0x21e508=_0xba0ed9,_0x46cf35=new _0xd05e50(this[_0x21e508(0x14d)][_0x21e508(0x157)]);return _0x46cf35[_0x21e508(0x13c)](),this['on'](_0x21e508(0x164),(_0x3db516,_0x32c196,_0x130b45,_0x286521)=>{const _0x35cefc=_0x21e508;_0x286521&&_0x46cf35[_0x35cefc(0x15c)](_0x35cefc(0x15d)),_0x130b45?_0x46cf35[_0x35cefc(0x132)](_0x35cefc(0x15d))['to'](_0x130b45,_0x35cefc(0x139)):_0x46cf35[_0x35cefc(0x15d)]=null;}),_0x46cf35;}[_0xba0ed9(0x162)](){const _0x31ec44=_0xba0ed9;this[_0x31ec44(0x128)]=this[_0x31ec44(0x119)]?.[_0x31ec44(0x15b)]?this[_0x31ec44(0x131)](this[_0x31ec44(0x119)][_0x31ec44(0x15b)]):null;}[_0xba0ed9(0x12f)](_0x12e2d9){const _0x490b7a=_0xba0ed9,_0x52ab27=this[_0x490b7a(0x125)][_0x490b7a(0x14e)](_0x12e2d9),_0x8d7787=_0x52ab27&&this[_0x490b7a(0x119)]?.[_0x490b7a(0x14e)](this[_0x490b7a(0x119)][_0x490b7a(0x11e)](_0x52ab27)-0x1);return _0x8d7787&&this[_0x490b7a(0x131)](_0x8d7787)||null;}[_0xba0ed9(0x169)](_0x2c776a){const _0x532451=_0xba0ed9,_0x208c5b=this[_0x532451(0x125)][_0x532451(0x14e)](_0x2c776a),_0x68f4e2=_0x208c5b&&this[_0x532451(0x119)]?.[_0x532451(0x14e)](this[_0x532451(0x119)][_0x532451(0x11e)](_0x208c5b)+0x1);return _0x68f4e2&&this[_0x532451(0x131)](_0x68f4e2)||null;}[_0xba0ed9(0x12d)](_0x4b0485,_0x2888a9){const _0x4cc38d=_0xba0ed9;_0x4b0485[_0x4cc38d(0x13b)]();const _0x229c36=G(_0x2888a9[_0x4cc38d(0x139)]+this[_0x4cc38d(0x113)],_0x4b0485[_0x4cc38d(0x15e)]);return!!_0x229c36&&(this[_0x4cc38d(0x15a)](_0x2888a9,_0x2888a9[_0x4cc38d(0x15e)]-_0x229c36),!0x0);}[_0xba0ed9(0x153)](_0x2f8db7,_0x2eb775){const _0x7f7abe=_0xba0ed9;_0x2f8db7[_0x7f7abe(0x13b)]();const _0x1f994c=G(_0x2f8db7[_0x7f7abe(0x139)]+this[_0x7f7abe(0x113)],_0x2eb775[_0x7f7abe(0x15e)]);return!!_0x1f994c&&(this[_0x7f7abe(0x15a)](_0x2eb775,_0x2eb775[_0x7f7abe(0x15e)]+_0x1f994c,!0x1),!0x0);}[_0xba0ed9(0x158)](_0x1e6b46){const _0x5aa474=_0xba0ed9,_0xcc9bd9=this[_0x5aa474(0x125)][_0x5aa474(0x14e)](_0x1e6b46);if(!_0xcc9bd9||!_0xcc9bd9[_0x5aa474(0x14a)]||!_0xcc9bd9[_0x5aa474(0x11c)])return;const _0x565f4f=this[_0x5aa474(0x122)](_0xcc9bd9,_0xcc9bd9[_0x5aa474(0x11c)]);this[_0x5aa474(0x15a)](_0x1e6b46,_0x565f4f);}[_0xba0ed9(0x122)](_0x1944d4,_0x1be1a6){const _0x3ef091=_0xba0ed9;if(null===_0x1be1a6)return 0x0;if(_0x1944d4[_0x3ef091(0x14a)]instanceof _0x3840cf)return _0x1be1a6[_0x3ef091(0x15e)];{const _0x4399eb=new _0x3840cf(this[_0x3ef091(0x138)][_0x3ef091(0x11f)])[_0x3ef091(0x15e)];return _0x1be1a6[_0x3ef091(0x15e)]-_0x4399eb;}}[_0xba0ed9(0x15a)](_0x300290,_0x153582,_0x45cba4=this[_0xba0ed9(0x14d)][_0xba0ed9(0x114)][_0xba0ed9(0x14e)](_0xba0ed9(0x145))){const _0x15eca5=_0xba0ed9;_0x45cba4&&(_0x153582=Math[_0x15eca5(0x116)](_0x153582,this[_0x15eca5(0x155)](_0x300290))),_0x300290[_0x15eca5(0x15e)]=_0x153582;}[_0xba0ed9(0x155)](_0x51dd47){const _0x1753ac=_0xba0ed9;let _0xcf0ea3=this[_0x1753ac(0x12f)](_0x51dd47),_0x28cc7d=0x0;for(;_0xcf0ea3;)_0xcf0ea3[_0x1753ac(0x13b)](),_0x28cc7d+=this[_0x1753ac(0x113)]+_0xcf0ea3[_0x1753ac(0x159)],_0xcf0ea3=this[_0x1753ac(0x12f)](_0xcf0ea3);return _0x28cc7d;}}function G(_0x10177c,_0xe23ac9){const _0x407c27=_0xba0ed9;return Math[_0x407c27(0x116)](_0x10177c-_0xe23ac9,0x0);}function g(_0x3f6af3){const _0x42e1b6=_0xba0ed9;return null!==_0x3f6af3&&_0x42e1b6(0x141)==typeof _0x3f6af3&&0x1===_0x3f6af3[_0x42e1b6(0x130)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2adc(_0x3cc9ba,_0x221a60){const _0x448b28=_0x448b();return _0x2adc=function(_0x2adc0c,_0x2eac72){_0x2adc0c=_0x2adc0c-0x12f;let _0x46e778=_0x448b28[_0x2adc0c];return _0x46e778;},_0x2adc(_0x3cc9ba,_0x221a60);}const _0x293bae=_0x2adc;(function(_0x1162d1,_0x307e1f){const _0x3c7ee9=_0x2adc,_0xd775e7=_0x1162d1();while(!![]){try{const _0x20449e=-parseInt(_0x3c7ee9(0x13a))/0x1*(parseInt(_0x3c7ee9(0x14d))/0x2)+-parseInt(_0x3c7ee9(0x145))/0x3+parseInt(_0x3c7ee9(0x148))/0x4*(parseInt(_0x3c7ee9(0x147))/0x5)+parseInt(_0x3c7ee9(0x13c))/0x6+-parseInt(_0x3c7ee9(0x13f))/0x7+-parseInt(_0x3c7ee9(0x142))/0x8*(parseInt(_0x3c7ee9(0x13e))/0x9)+parseInt(_0x3c7ee9(0x139))/0xa*(parseInt(_0x3c7ee9(0x136))/0xb);if(_0x20449e===_0x307e1f)break;else _0xd775e7['push'](_0xd775e7['shift']());}catch(_0x209541){_0xd775e7['push'](_0xd775e7['shift']());}}}(_0x448b,0x67660));function _0x448b(){const _0x131d65=['isDirty','_badge','14150ogqunK','50TOINsY','ck-annotation-counter__badge--edit-mode','4114638IHuHzW','counterView','4599Qbqxuc','3585666saZdYC','setTemplate','ck-annotation-counter','11168phKbII','add','number','1319304PIUOXh','ck-annotation-counter__badge--','60GQCaYS','136388cgEXcT','toString','children','set','icon','31728VSjhWZ','bindTemplate','extendTemplate','span','bind','ck-annotation-counter__badge','...','annotationType','13893eqobVp'];_0x448b=function(){return _0x131d65;};return _0x448b();}import{ButtonView as _0x4810d7,View as _0x2c132e}from'ckeditor5/src/ui.js';import{IconAddComment as _0x315e32}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x4810d7{[_0x293bae(0x13d)];constructor(_0x4366b9){const _0xf41b7e=_0x293bae;super(_0x4366b9);const _0x140baa=this[_0xf41b7e(0x12f)];this[_0xf41b7e(0x14b)](_0xf41b7e(0x137),!0x1),this[_0xf41b7e(0x14b)](_0xf41b7e(0x144),0x0),this[_0xf41b7e(0x132)](_0xf41b7e(0x138))['to'](this,_0xf41b7e(0x137),this,_0xf41b7e(0x144),(_0x8db869,_0x221cc6)=>_0x8db869?_0xf41b7e(0x134):_0x221cc6[_0xf41b7e(0x149)]()),this[_0xf41b7e(0x14b)](_0xf41b7e(0x135),''),this[_0xf41b7e(0x14c)]=_0x315e32,this[_0xf41b7e(0x130)]({'attributes':{'class':[_0xf41b7e(0x141)]}}),this[_0xf41b7e(0x13d)]=new _0x2c132e(),this[_0xf41b7e(0x13d)][_0xf41b7e(0x140)]({'tag':_0xf41b7e(0x131),'attributes':{'class':[_0xf41b7e(0x133),_0x140baa['to'](_0xf41b7e(0x135),_0x2aa66f=>_0xf41b7e(0x146)+_0x2aa66f),_0x140baa['if'](_0xf41b7e(0x137),_0xf41b7e(0x13b))]},'children':[{'text':_0x140baa['to'](_0xf41b7e(0x138))}]}),this[_0xf41b7e(0x14a)][_0xf41b7e(0x143)](this[_0xf41b7e(0x13d)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x406e8d=_0x8ccd;(function(_0x1aa85b,_0x3e8520){const _0x779c2b=_0x8ccd,_0x52574b=_0x1aa85b();while(!![]){try{const _0x4d051a=-parseInt(_0x779c2b(0xd8))/0x1+parseInt(_0x779c2b(0xf7))/0x2+-parseInt(_0x779c2b(0xdd))/0x3+-parseInt(_0x779c2b(0x102))/0x4+parseInt(_0x779c2b(0x100))/0x5*(-parseInt(_0x779c2b(0xea))/0x6)+parseInt(_0x779c2b(0xdb))/0x7+-parseInt(_0x779c2b(0xee))/0x8*(-parseInt(_0x779c2b(0xf1))/0x9);if(_0x4d051a===_0x3e8520)break;else _0x52574b['push'](_0x52574b['shift']());}catch(_0x1f0c91){_0x52574b['push'](_0x52574b['shift']());}}}(_0x57b4,0x5e9b7));import{View as _0x162f09}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3bd868,KeystrokeHandler as _0x358555,uid as _0x55f3d8}from'ckeditor5/src/utils.js';function _0x57b4(){const _0x21ad70=['element','9TCCDgV','attach','listenTo','_updateHeight','bindTemplate','arrowup','1195502eOkTHQ','set','setTemplate','focus','createCollection','isActive','fire','isDirty','ck-rounded-corners','2525cpwDzy','ck-annotation-wrapper--active','2913640TcmvVK','mainView','clear','_mutationObserver','569865NJTyKx','render','detach','3667853sGXSOj','destroy','2194770wirGKP','clientHeight','arrowdown','add','type','height','focusTracker','delegate','ck-annotation-wrapper','targetRect','div','length','keystrokes','8490IncrVX','presentation','Esc','content','16081768gICgLO','first'];_0x57b4=function(){return _0x21ad70;};return _0x57b4();}import{createMutationObserver as _0x572d11}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';function _0x8ccd(_0x17fa8e,_0x5a9c4b){const _0x57b449=_0x57b4();return _0x8ccd=function(_0x8ccde0,_0x5aab75){_0x8ccde0=_0x8ccde0-0xd5;let _0x41fa07=_0x57b449[_0x8ccde0];return _0x41fa07;},_0x8ccd(_0x17fa8e,_0x5a9c4b);}export class AnnotationView extends _0x162f09{[_0x406e8d(0xe3)];['id'];[_0x406e8d(0xe9)];[_0x406e8d(0xed)];[_0x406e8d(0xd5)];[_0x406e8d(0xd7)];constructor(_0x3bd2be,_0x265266){const _0x295ac8=_0x406e8d;super(_0x3bd2be),this['id']=_0x55f3d8(),this[_0x295ac8(0xe3)]=new _0x3bd868(),this[_0x295ac8(0xe9)]=new _0x358555(),this[_0x295ac8(0xe9)][_0x295ac8(0xf8)](_0x295ac8(0xec),(_0x32bc34,_0x3ef3b3)=>this[_0x295ac8(0xfd)](_0x295ac8(0xec),_0x3ef3b3)),this[_0x295ac8(0xf8)](_0x295ac8(0xe6),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x295ac8(0xf8)](_0x295ac8(0xe2),0x0),this[_0x295ac8(0xf8)](_0x295ac8(0xfc),!0x1),this[_0x295ac8(0xf8)](_0x295ac8(0xfe),!0x1),this[_0x295ac8(0xf8)](_0x295ac8(0xe8),0x0),this[_0x295ac8(0xf8)](_0x295ac8(0xe1),''),this[_0x295ac8(0xd7)]=_0x572d11(()=>this[_0x295ac8(0xf4)]()),this[_0x295ac8(0xed)]=this[_0x295ac8(0xfb)](),this[_0x295ac8(0xed)][_0x295ac8(0xe4)](_0x295ac8(0xf6),_0x295ac8(0xdf))['to'](this),this[_0x295ac8(0xed)][_0x295ac8(0xe0)](_0x265266),this[_0x295ac8(0xd5)]=_0x265266;const _0x25922e=this[_0x295ac8(0xf5)];this[_0x295ac8(0xf9)]({'tag':_0x295ac8(0xe7),'attributes':{'class':['ck',_0x295ac8(0xe5),_0x295ac8(0xff),_0x25922e['if'](_0x295ac8(0xfc),_0x295ac8(0x101))],'role':_0x295ac8(0xeb)},'children':this[_0x295ac8(0xed)]});}[_0x406e8d(0xd9)](){const _0x16b711=_0x406e8d;super[_0x16b711(0xd9)](),this[_0x16b711(0xe3)][_0x16b711(0xe0)](this[_0x16b711(0xf0)]),this[_0x16b711(0xe9)][_0x16b711(0xf3)](this[_0x16b711(0xf0)]),this[_0x16b711(0xd7)][_0x16b711(0xf2)](this[_0x16b711(0xf0)]);}[_0x406e8d(0xdc)](){const _0x4eef3c=_0x406e8d;this[_0x4eef3c(0xed)][_0x4eef3c(0xd6)](),this[_0x4eef3c(0xe9)][_0x4eef3c(0xdc)](),this[_0x4eef3c(0xe3)][_0x4eef3c(0xdc)](),this[_0x4eef3c(0xd7)][_0x4eef3c(0xda)](),super[_0x4eef3c(0xdc)]();}[_0x406e8d(0xfa)](){const _0x1c215c=_0x406e8d;this[_0x1c215c(0xed)][_0x1c215c(0xef)]&&this[_0x1c215c(0xed)][_0x1c215c(0xef)][_0x1c215c(0xfa)]();}[_0x406e8d(0xf4)](){const _0x5c9630=_0x406e8d,_0x51933e=this[_0x5c9630(0xf0)][_0x5c9630(0xde)];_0x51933e&&(this[_0x5c9630(0xe2)]=_0x51933e);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3296f1=_0x4cbc;function _0x109a(){const _0x589362=['34979VPerwx','_targetTop','createCollection','isAnimationDisabled','ck-sidebar-item','12cZhNJA','focus','7757659qZIVPd','1164bqdvaN','first','content','8tOsUKI','set','10941359MIbLlA','10IoOFgK','destroy','arrowdown','clear','element','attach','setTemplate','render','45578TUzGbr','bind','clientHeight','bottom','45xouXwU','presentation','279umDvrF','height','bindTemplate','top','321964LbafQz','updateHeight','div','298048NcBKEZ','_mutationObserver','804099FVBhCR','detach','arrowup','delegate','ck-sidebar-item--no-animation'];_0x109a=function(){return _0x589362;};return _0x109a();}(function(_0xe0886f,_0x58f4f7){const _0x5df086=_0x4cbc,_0x10be11=_0xe0886f();while(!![]){try{const _0x2c2970=parseInt(_0x5df086(0xc3))/0x1*(parseInt(_0x5df086(0xce))/0x2)+-parseInt(_0x5df086(0xdd))/0x3+parseInt(_0x5df086(0xd8))/0x4*(-parseInt(_0x5df086(0xd2))/0x5)+parseInt(_0x5df086(0xc0))/0x6*(parseInt(_0x5df086(0xe2))/0x7)+-parseInt(_0x5df086(0xdb))/0x8*(-parseInt(_0x5df086(0xd4))/0x9)+parseInt(_0x5df086(0xc6))/0xa*(-parseInt(_0x5df086(0xc5))/0xb)+parseInt(_0x5df086(0xbd))/0xc*(parseInt(_0x5df086(0xbf))/0xd);if(_0x2c2970===_0x58f4f7)break;else _0x10be11['push'](_0x10be11['shift']());}catch(_0x4a4f1a){_0x10be11['push'](_0x10be11['shift']());}}}(_0x109a,0xdfb40));import{View as _0x421fdb}from'ckeditor5/src/ui.js';import{toUnit as _0x505b86}from'ckeditor5/src/utils.js';function _0x4cbc(_0x27a9bf,_0x6877f8){const _0x109a5c=_0x109a();return _0x4cbc=function(_0x4cbc22,_0x4804ae){_0x4cbc22=_0x4cbc22-0xba;let _0x5fcdad=_0x109a5c[_0x4cbc22];return _0x5fcdad;},_0x4cbc(_0x27a9bf,_0x6877f8);}import{createMutationObserver as _0x2eab3d}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x505b86('px');export class AnnotationsSidebarItemView extends _0x421fdb{[_0x3296f1(0xc2)];[_0x3296f1(0xe3)];[_0x3296f1(0xdc)];constructor(_0x23b86c){const _0x2e0277=_0x3296f1;super(_0x23b86c),this[_0x2e0277(0xc4)](_0x2e0277(0xd7),0x0),this[_0x2e0277(0xc4)](_0x2e0277(0xd5),0x0),this[_0x2e0277(0xcf)](_0x2e0277(0xd1))['to'](this,_0x2e0277(0xd7),this,_0x2e0277(0xd5),(_0x2ac001,_0x3f5d53)=>_0x2ac001+_0x3f5d53),this[_0x2e0277(0xc4)](_0x2e0277(0xbb),!0x1),this[_0x2e0277(0xdc)]=_0x2eab3d(()=>this[_0x2e0277(0xd9)]()),this[_0x2e0277(0xe3)]=null,this[_0x2e0277(0xc2)]=this[_0x2e0277(0xba)](),this[_0x2e0277(0xc2)][_0x2e0277(0xe0)](_0x2e0277(0xdf),_0x2e0277(0xc8))['to'](this);const _0x1bb9e1=this[_0x2e0277(0xd6)];this[_0x2e0277(0xcc)]({'tag':_0x2e0277(0xda),'attributes':{'class':[_0x2e0277(0xbc),_0x1bb9e1['to'](_0x2e0277(0xbb),_0x24b006=>_0x24b006?_0x2e0277(0xe1):'')],'style':{'top':_0x1bb9e1['to'](_0x2e0277(0xd7),_0x28e461=>Ot(_0x28e461))},'role':_0x2e0277(0xd3)},'children':this[_0x2e0277(0xc2)]});}[_0x3296f1(0xcd)](){const _0x112768=_0x3296f1;super[_0x112768(0xcd)](),this[_0x112768(0xdc)][_0x112768(0xcb)](this[_0x112768(0xca)]);}[_0x3296f1(0xbe)](){const _0x470e7c=_0x3296f1;this[_0x470e7c(0xc2)][_0x470e7c(0xc1)]&&this[_0x470e7c(0xc2)][_0x470e7c(0xc1)][_0x470e7c(0xbe)]();}[_0x3296f1(0xd9)](){const _0x3ee908=_0x3296f1,_0x1c64f0=this[_0x3ee908(0xca)][_0x3ee908(0xd0)];_0x1c64f0&&(this[_0x3ee908(0xd5)]=_0x1c64f0);}[_0x3296f1(0xc7)](){const _0x4b6494=_0x3296f1;this[_0x4b6494(0xc2)][_0x4b6494(0xc9)](),this[_0x4b6494(0xdc)][_0x4b6494(0xde)](),super[_0x4b6494(0xc7)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3dc524=_0x532b;(function(_0x38a34b,_0x1baad3){const _0x47069b=_0x532b,_0x4974a2=_0x38a34b();while(!![]){try{const _0x456a44=-parseInt(_0x47069b(0x17f))/0x1+-parseInt(_0x47069b(0x196))/0x2+parseInt(_0x47069b(0x17a))/0x3+-parseInt(_0x47069b(0x1a4))/0x4+-parseInt(_0x47069b(0x1a0))/0x5*(parseInt(_0x47069b(0x19f))/0x6)+parseInt(_0x47069b(0x192))/0x7*(parseInt(_0x47069b(0x17e))/0x8)+parseInt(_0x47069b(0x18e))/0x9;if(_0x456a44===_0x1baad3)break;else _0x4974a2['push'](_0x4974a2['shift']());}catch(_0xfe6a78){_0x4974a2['push'](_0x4974a2['shift']());}}}(_0x3e6a,0x81a91));import{View as _0x1dd998,FocusCycler as _0x3630f9}from'ckeditor5/src/ui.js';function _0x3e6a(){const _0x318aa3=['class','arrowup','Annotations\x20sidebar','div','1657914oqZCfT','10RSzQlA','createCollection','ck-sidebar','added','3325812iHmSCZ','focus','_setupKeyboardNavigation','change','getIndex','focusPrevious','set','application','1907184JAwTCB','forEach','ck-reset','delegate','8AAzWhq','400440PGJUeT','number','add','top','removed','change:top','length','list','focusables','element','remove','Annotations\x20list','source','focusFirst','uiLanguageDirection','23577129hhpnMG','minHeight','focusTracker','bindTemplate','255535dYwaTF','_updateItemPositionInFocusables','setTemplate','render','1952588woTlMH','listenTo','focusCycler','focusNext','arrowdown'];_0x3e6a=function(){return _0x318aa3;};return _0x3e6a();}import{FocusTracker as _0x3f78a5,toUnit as _0x30577e}from'ckeditor5/src/utils.js';import{getTranslation as _0x24e57c}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';function _0x532b(_0x39d8ba,_0xcc1ada){const _0x3e6a54=_0x3e6a();return _0x532b=function(_0x532bbd,_0x3ae73b){_0x532bbd=_0x532bbd-0x175;let _0x261332=_0x3e6a54[_0x532bbd];return _0x261332;},_0x532b(_0x39d8ba,_0xcc1ada);}const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x30577e('px');export class AnnotationsSidebarView extends _0x1dd998{[_0x3dc524(0x186)];[_0x3dc524(0x187)];[_0x3dc524(0x190)];[_0x3dc524(0x198)];constructor(_0x134716){const _0x187f39=_0x3dc524;super(_0x134716);const _0x2b8661=this[_0x187f39(0x191)];this[_0x187f39(0x178)](_0x187f39(0x18f),0x0),this[_0x187f39(0x178)](_0x187f39(0x19b),''),this[_0x187f39(0x186)]=this[_0x187f39(0x1a1)](),this[_0x187f39(0x187)]=this[_0x187f39(0x1a1)](),this[_0x187f39(0x186)][_0x187f39(0x17d)](_0x187f39(0x19c),_0x187f39(0x19a))['to'](this),this[_0x187f39(0x190)]=new _0x3f78a5(),this[_0x187f39(0x198)]=new _0x3630f9({'focusables':this[_0x187f39(0x187)],'focusTracker':this[_0x187f39(0x190)]}),this[_0x187f39(0x194)]({'tag':_0x187f39(0x19e),'attributes':{'class':['ck',_0x187f39(0x1a2),_0x187f39(0x17c),_0x2b8661['to'](_0x187f39(0x19b))],'style':{'minHeight':_0x2b8661['to'](_0x187f39(0x18f),_0x478d9c=>_0x187f39(0x180)==typeof _0x478d9c?Ot(_0x478d9c+0xa):null)},'dir':_0x134716[_0x187f39(0x18d)],'role':_0x187f39(0x179),'aria-label':_0x24e57c(_0x134716,_0x187f39(0x19d)),'tabindex':0x0},'children':[{'tag':_0x187f39(0x19e),'attributes':{'role':_0x187f39(0x186),'aria-label':_0x24e57c(_0x134716,_0x187f39(0x18a))},'children':this[_0x187f39(0x186)]}]});}[_0x3dc524(0x195)](){const _0xbf1520=_0x3dc524;super[_0xbf1520(0x195)](),this[_0xbf1520(0x1a6)]();}[_0x3dc524(0x1a5)](){const _0x43810e=_0x3dc524;this[_0x43810e(0x198)][_0x43810e(0x18c)]();}[_0x3dc524(0x1a6)](){const _0x27ed97=_0x3dc524;this[_0x27ed97(0x186)][_0x27ed97(0x17d)](_0x27ed97(0x184))['to'](this),this['on'](_0x27ed97(0x184),_0x13de43=>{const _0x52d3f3=_0x27ed97;this[_0x52d3f3(0x193)](_0x13de43[_0x52d3f3(0x18b)]);}),this[_0x27ed97(0x186)][_0x27ed97(0x17b)](_0x3fea27=>{const _0x2155f8=_0x27ed97;this[_0x2155f8(0x190)][_0x2155f8(0x181)](_0x3fea27[_0x2155f8(0x188)]),this[_0x2155f8(0x193)](_0x3fea27);}),this[_0x27ed97(0x186)]['on'](_0x27ed97(0x175),(_0x1ec6a0,_0x1f7a3f)=>{const _0x5e3943=_0x27ed97;for(const _0x3c1e5a of _0x1f7a3f[_0x5e3943(0x183)])this[_0x5e3943(0x190)][_0x5e3943(0x189)](_0x3c1e5a[_0x5e3943(0x188)]),this[_0x5e3943(0x187)][_0x5e3943(0x189)](_0x3c1e5a);for(const _0x3529a4 of _0x1f7a3f[_0x5e3943(0x1a3)])this[_0x5e3943(0x190)][_0x5e3943(0x181)](_0x3529a4[_0x5e3943(0x188)]),this[_0x5e3943(0x193)](_0x3529a4);}),this['on'](_0x27ed97(0x19c),()=>{const _0x2ef26e=_0x27ed97;this[_0x2ef26e(0x198)][_0x2ef26e(0x177)]();}),this['on'](_0x27ed97(0x19a),()=>{const _0x36563f=_0x27ed97;this[_0x36563f(0x198)][_0x36563f(0x199)]();}),this[_0x27ed97(0x197)](this[_0x27ed97(0x188)],_0x27ed97(0x1a5),()=>{const _0x2fac65=_0x27ed97;this[_0x2fac65(0x1a5)]();});}[_0x3dc524(0x193)](_0x28062c){const _0x187b2b=_0x3dc524,_0x5468b7=this[_0x187b2b(0x187)][_0x187b2b(0x176)](_0x28062c);let _0x15ccc0,_0x481137;for(const _0x2d1a01 of this[_0x187b2b(0x187)])if(_0x28062c[_0x187b2b(0x182)]<_0x2d1a01[_0x187b2b(0x182)]){_0x15ccc0=_0x2d1a01;break;}if(_0x481137=_0x15ccc0?this[_0x187b2b(0x187)][_0x187b2b(0x176)](_0x15ccc0):this[_0x187b2b(0x187)][_0x187b2b(0x185)],-0x1!==_0x5468b7){if(_0x5468b7===_0x481137-0x1)return;this[_0x187b2b(0x187)][_0x187b2b(0x189)](_0x28062c),_0x481137=_0x15ccc0?this[_0x187b2b(0x187)][_0x187b2b(0x176)](_0x15ccc0):this[_0x187b2b(0x187)][_0x187b2b(0x185)];}this[_0x187b2b(0x187)][_0x187b2b(0x181)](_0x28062c,_0x481137);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4baf(_0x34c0cb,_0x17ed98){const _0x5e68f6=_0x5e68();return _0x4baf=function(_0x4bafe1,_0x9a7171){_0x4bafe1=_0x4bafe1-0xfc;let _0x3996e9=_0x5e68f6[_0x4bafe1];return _0x3996e9;},_0x4baf(_0x34c0cb,_0x17ed98);}const _0x40b222=_0x4baf;(function(_0x32abec,_0x46be66){const _0x1e779f=_0x4baf,_0x93be1e=_0x32abec();while(!![]){try{const _0x93712f=-parseInt(_0x1e779f(0x12b))/0x1*(parseInt(_0x1e779f(0x139))/0x2)+-parseInt(_0x1e779f(0x12d))/0x3*(parseInt(_0x1e779f(0x140))/0x4)+-parseInt(_0x1e779f(0x124))/0x5+parseInt(_0x1e779f(0x10b))/0x6+-parseInt(_0x1e779f(0x108))/0x7+parseInt(_0x1e779f(0xfc))/0x8*(-parseInt(_0x1e779f(0x142))/0x9)+parseInt(_0x1e779f(0x125))/0xa;if(_0x93712f===_0x46be66)break;else _0x93be1e['push'](_0x93be1e['shift']());}catch(_0x2ec40c){_0x93be1e['push'](_0x93be1e['shift']());}}}(_0x5e68,0xd2abb));import{ContextPlugin as _0x58a390,Context as _0x2dbe62}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x1b1be5}from'./annotationsuis.js';import{Sidebar as _0x3a60db}from'./sidebar.js';function _0x5e68(){const _0x3aa936=['4703727bxHUKe','cancel','addAnnotation','1690692tPbExP','off','uiUpdate','add','detach','_integrateWithEditorAnnotations','activeAnnotation','pluginName','ck-sidebar--wide','_annotations','_refreshPositioningDebounced','_destroyEditorAnnotationsIntegration','init','isPremiumPlugin','_editorAnnotations','focus','stopListening','addEventListener','register','_detachFromContainer','widesidebar-detach-not-attached','stop','widesidebar-attach-already-attached','editors','from','5423770UcJaIV','53726440LNJyPZ','set:container','hasDomSelection','_attachToContainer','EditorAnnotations','remove','2uKwZpw','resize','18cmrOWA','updateTargetRect','removeEventListener','context','WideSidebar','attach','listenTo','wideSidebar','refresh','switchTo','rearrange','high','628978sRVfPj','change:container','_activeAnnotation','isOfficialPlugin','isAttached','setActiveAnnotation','refreshVisibility','534388WPaXWS','annotations','83943jaFnQE','blur','1376KiUweI','has','set','container','refreshPositioning','Annotations','requires','getOrderedSelectedAnnotations','get','destroy','ready','plugins'];_0x5e68=function(){return _0x3aa936;};return _0x5e68();}import{CKEditorError as _0x3f524a,Collection as _0x5b72bd}from'ckeditor5/src/utils.js';import{debounce as _0x2a8d91}from'es-toolkit/compat';export class WideSidebar extends _0x58a390{[_0x40b222(0x13d)];[_0x40b222(0x141)];[_0x40b222(0x119)];[_0x40b222(0x115)];static get[_0x40b222(0x102)](){return[_0x3a60db,_0x1b1be5];}static get[_0x40b222(0x112)](){const _0x184588=_0x40b222;return _0x184588(0x131);}static get[_0x40b222(0x13c)](){return!0x0;}static get[_0x40b222(0x118)](){return!0x0;}constructor(_0x4f913c){const _0x508591=_0x40b222;super(_0x4f913c),this[_0x508591(0x13d)]=!0x1,this[_0x508591(0xfe)](_0x508591(0x111),null),this[_0x508591(0x141)]=null,this[_0x508591(0x119)]=new _0x5b72bd(),this[_0x508591(0x115)]=_0x2a8d91(()=>{const _0x24a992=_0x508591;_0x4f913c[_0x24a992(0x107)][_0x24a992(0x104)](_0x24a992(0x101))[_0x24a992(0x13f)](),this[_0x24a992(0x141)][_0x24a992(0x100)]();},0xfa,{'leading':!0x1});}[_0x40b222(0x117)](){const _0xf00d38=_0x40b222,_0x320d29=this[_0xf00d38(0x130)][_0xf00d38(0x107)][_0xf00d38(0x104)](_0x1b1be5),_0x2f3ccb=this[_0xf00d38(0x130)][_0xf00d38(0x107)][_0xf00d38(0x104)](_0x3a60db);_0x320d29[_0xf00d38(0x11d)](_0xf00d38(0x134),this),_0x2f3ccb[_0xf00d38(0xff)]&&_0x320d29[_0xf00d38(0x136)](_0xf00d38(0x134));}[_0x40b222(0x13e)](_0x177166){const _0x37948b=_0x40b222;if(_0x177166===this[_0x37948b(0x111)])return;const _0x1333ed=this[_0x37948b(0x130)][_0x37948b(0x107)][_0x37948b(0x104)](_0x3a60db);_0x1333ed[_0x37948b(0x13b)]=_0x177166;const _0x46749d=this[_0x37948b(0x111)];_0x1333ed[_0x37948b(0x135)]({'blurredAnnotation':_0x46749d,'activatedAnnotation':_0x177166}),this[_0x37948b(0x111)]=_0x177166;}[_0x40b222(0x132)](_0x39af51){const _0x2a05a5=_0x40b222;this[_0x2a05a5(0x141)]=_0x39af51;const _0x173d7b=this[_0x2a05a5(0x130)][_0x2a05a5(0x107)][_0x2a05a5(0x104)](_0x3a60db);if(_0x173d7b[_0x2a05a5(0x114)]=_0x39af51,this[_0x2a05a5(0x13d)])throw new _0x3f524a(_0x2a05a5(0x121),this);this[_0x2a05a5(0x13d)]=!0x0,this[_0x2a05a5(0x133)](_0x173d7b,_0x2a05a5(0x126),()=>{const _0x34172d=_0x2a05a5;this[_0x34172d(0x10f)](),this[_0x34172d(0x133)](_0x173d7b,_0x34172d(0x13a),_0x12cf32=>{const _0x450e1d=_0x34172d;_0x12cf32[_0x450e1d(0x10c)](),this[_0x450e1d(0x132)](_0x39af51);});}),_0x173d7b[_0x2a05a5(0x128)]({'viewClass':_0x2a05a5(0x113)});const _0x6add49=_0x5eb509=>{const _0x499ab7=_0x2a05a5;_0x5eb509[_0x499ab7(0x12e)](),_0x173d7b[_0x499ab7(0x10a)](_0x5eb509);};for(const _0x345361 of _0x39af51)_0x6add49(_0x345361);this[_0x2a05a5(0x133)](_0x39af51,_0x2a05a5(0x10e),(_0x552b1b,_0x35c17a)=>{_0x6add49(_0x35c17a);}),this[_0x2a05a5(0x133)](_0x39af51,_0x2a05a5(0x12a),(_0x1369af,_0x82a02f,_0x279a01)=>{const _0x18118a=_0x2a05a5;_0x173d7b[_0x18118a(0x137)]({'removedAnnotation':_0x82a02f,'previousAnnotation':_0x39af51[_0x18118a(0x104)](_0x279a01-0x1),'nextAnnotation':_0x39af51[_0x18118a(0x104)](_0x279a01+0x1)}),_0x82a02f===this[_0x18118a(0x111)]&&this[_0x18118a(0x13e)](null);},{'priority':_0x2a05a5(0x138)}),this[_0x2a05a5(0x133)](_0x39af51,_0x2a05a5(0x11a),(_0x128092,_0x56d359)=>{const _0x1a4bf5=_0x2a05a5;this[_0x1a4bf5(0x13e)](_0x56d359);}),this[_0x2a05a5(0x133)](_0x39af51,_0x2a05a5(0x143),()=>{const _0x3f0649=_0x2a05a5;this[_0x3f0649(0x13e)](null);});const _0x1acef0=this[_0x2a05a5(0x130)]instanceof _0x2dbe62?this[_0x2a05a5(0x130)][_0x2a05a5(0x122)]:new _0x5b72bd([this[_0x2a05a5(0x130)]]);for(const _0x1f2fe3 of _0x1acef0)this[_0x2a05a5(0x110)](_0x1f2fe3);this[_0x2a05a5(0x133)](_0x1acef0,_0x2a05a5(0x10e),(_0x42caf4,_0x2826d9)=>{const _0x14404b=_0x2a05a5;this[_0x14404b(0x133)](_0x2826d9,_0x14404b(0x106),()=>{const _0x397e2d=_0x14404b;this[_0x397e2d(0x110)](_0x2826d9);});}),this[_0x2a05a5(0x133)](_0x1acef0,_0x2a05a5(0x12a),(_0x4ac056,_0x3b0c64)=>{const _0x41d380=_0x2a05a5;_0x3b0c64[_0x41d380(0x107)][_0x41d380(0xfd)](_0x41d380(0x129))&&this[_0x41d380(0x116)](_0x3b0c64[_0x41d380(0x107)][_0x41d380(0x104)](_0x41d380(0x129)));}),window[_0x2a05a5(0x11c)](_0x2a05a5(0x12c),this[_0x2a05a5(0x115)]),this[_0x2a05a5(0x130)][_0x2a05a5(0x107)][_0x2a05a5(0x104)](_0x2a05a5(0x101))[_0x2a05a5(0x13f)](),this[_0x2a05a5(0x141)][_0x2a05a5(0x100)]();}[_0x40b222(0x10f)](){const _0x23b0f0=_0x40b222;if(!this[_0x23b0f0(0x13d)])throw new _0x3f524a(_0x23b0f0(0x11f),this);this[_0x23b0f0(0x13e)](null);const _0xa60521=this[_0x23b0f0(0x130)][_0x23b0f0(0x107)][_0x23b0f0(0x104)](_0x3a60db);_0xa60521[_0x23b0f0(0x11e)](this[_0x23b0f0(0x141)]),this[_0x23b0f0(0x11b)](_0xa60521),this[_0x23b0f0(0x11b)](this[_0x23b0f0(0x141)]),this[_0x23b0f0(0x130)]instanceof _0x2dbe62&&this[_0x23b0f0(0x11b)](this[_0x23b0f0(0x130)][_0x23b0f0(0x122)]);for(const _0x3cfd47 of Array[_0x23b0f0(0x123)](this[_0x23b0f0(0x119)]))this[_0x23b0f0(0x116)](_0x3cfd47);window[_0x23b0f0(0x12f)](_0x23b0f0(0x12c),this[_0x23b0f0(0x115)]),this[_0x23b0f0(0x115)][_0x23b0f0(0x109)](),this[_0x23b0f0(0x111)]=null,this[_0x23b0f0(0x13d)]=!0x1,this[_0x23b0f0(0x141)]=null;}[_0x40b222(0x105)](){const _0x3deed2=_0x40b222;this[_0x3deed2(0x13d)]&&this[_0x3deed2(0x10f)]();}[_0x40b222(0x110)](_0x491fde){const _0x4508c9=_0x40b222;if(!_0x491fde[_0x4508c9(0x107)][_0x4508c9(0xfd)](_0x4508c9(0x129)))return;const _0x5b0b66=_0x491fde[_0x4508c9(0x107)][_0x4508c9(0x104)](_0x4508c9(0x129)),_0x4899a5=()=>{const _0x1d3fe4=_0x4508c9,_0x1756c4=_0x5b0b66[_0x1d3fe4(0x103)]({'annotations':this[_0x1d3fe4(0x141)],'activeAnnotation':this[_0x1d3fe4(0x111)]});this[_0x1d3fe4(0x13e)](_0x1756c4[0x0]||null);};this[_0x4508c9(0x133)](_0x5b0b66,_0x4508c9(0x135),_0x4899a5),this[_0x4508c9(0x133)](_0x5b0b66,_0x4508c9(0x143),(_0x6c3b,{isAnnotationTracked:_0x4d0f7d})=>{const _0x42c38f=_0x4508c9;this[_0x42c38f(0x111)]&&_0x4d0f7d(this[_0x42c38f(0x111)])&&this[_0x42c38f(0x13e)](null);}),this[_0x4508c9(0x133)](_0x5b0b66,_0x4508c9(0x10d),()=>{const _0x3e4bbb=_0x4508c9;this[_0x3e4bbb(0x115)]();}),this[_0x4508c9(0x133)](this[_0x4508c9(0x141)],_0x4508c9(0x143),_0x49e1d8=>{const _0x1ce509=_0x4508c9;_0x5b0b66[_0x1ce509(0x127)]()&&(_0x4899a5(),_0x49e1d8[_0x1ce509(0x120)]());},{'priority':_0x4508c9(0x138)}),this[_0x4508c9(0x119)][_0x4508c9(0x10e)](_0x5b0b66);}[_0x40b222(0x116)](_0x33316a){const _0x5073a7=_0x40b222;this[_0x5073a7(0x11b)](_0x33316a),this[_0x5073a7(0x119)][_0x5073a7(0x12a)](_0x33316a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x138f(_0x3ae2d6,_0x18d506){const _0xdcfe23=_0xdcfe();return _0x138f=function(_0x138f42,_0x3ffabd){_0x138f42=_0x138f42-0x1bc;let _0x31630f=_0xdcfe23[_0x138f42];return _0x31630f;},_0x138f(_0x3ae2d6,_0x18d506);}const _0x3485f1=_0x138f;function _0xdcfe(){const _0x4e71ae=['length','CommentsRepository','end','4315585mAufjv','2PeXpBm','document','Users','getLastMatchingPosition','change','1629FvyaFF','set','element','_createMarkersFromRanges','addMarker','selection','getRanges','757443FhoDtl','push','_trimToContent','tableCell','plugins','execute','addcommentthreadcommand-user-not-found','model','_hasContent','comment:','addcommentthreadcommand-incorrect-ranges','isEnabled','hasContent','_createCommentThread','item','collaboration.channelId','28258032cqlwXh','4WTUNMZ','editor','backward','addCommentThread','isObject','from','_itemIsContent','config','948Tinezz','schema','getItems','$textProxy','get','53030CfmEQx','12063808xDzJgc','12649WjzaeK','refresh','381358ZgzcQd','substr','start','createRange'];_0xdcfe=function(){return _0x4e71ae;};return _0xdcfe();}(function(_0x2a081b,_0x77fbcf){const _0x45e811=_0x138f,_0xd6f6cb=_0x2a081b();while(!![]){try{const _0x56cd6a=-parseInt(_0x45e811(0x1da))/0x1*(-parseInt(_0x45e811(0x1e2))/0x2)+-parseInt(_0x45e811(0x1ee))/0x3+parseInt(_0x45e811(0x1c9))/0x4*(parseInt(_0x45e811(0x1e1))/0x5)+parseInt(_0x45e811(0x1d1))/0x6*(-parseInt(_0x45e811(0x1d8))/0x7)+-parseInt(_0x45e811(0x1d7))/0x8+-parseInt(_0x45e811(0x1e7))/0x9*(parseInt(_0x45e811(0x1d6))/0xa)+parseInt(_0x45e811(0x1c8))/0xb;if(_0x56cd6a===_0x77fbcf)break;else _0xd6f6cb['push'](_0xd6f6cb['shift']());}catch(_0x471bdd){_0xd6f6cb['push'](_0xd6f6cb['shift']());}}}(_0xdcfe,0xc529d));import{Command as _0x3e2a96}from'ckeditor5/src/core.js';import{uid as _0x379bd0,CKEditorError as _0x27c4be}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x3e2a96{constructor(_0x45bc32){const _0x4a263f=_0x138f;super(_0x45bc32),this[_0x4a263f(0x1e8)](_0x4a263f(0x1c4),!0x1);}[_0x3485f1(0x1d9)](){const _0x318e5e=_0x3485f1,_0x29fb7c=this[_0x318e5e(0x1ca)][_0x318e5e(0x1bf)][_0x318e5e(0x1e3)][_0x318e5e(0x1ec)];this[_0x318e5e(0x1c3)]=!0x0,this[_0x318e5e(0x1c4)]=!0x1;for(const _0x2d7c2c of _0x29fb7c[_0x318e5e(0x1ed)]())if(this[_0x318e5e(0x1c0)](_0x2d7c2c))return void(this[_0x318e5e(0x1c4)]=!0x0);}[_0x3485f1(0x1bd)]({threadId:_0x308ece=_0x379bd0(),ranges:_0x5ead2d,comment:_0x11bdc4}={}){const _0x10be2c=_0x3485f1,_0xe60b98=this[_0x10be2c(0x1ca)][_0x10be2c(0x1bf)],_0x370d7a=_0x5ead2d??Array[_0x10be2c(0x1ce)](_0xe60b98[_0x10be2c(0x1e3)][_0x10be2c(0x1ec)][_0x10be2c(0x1ed)]()),_0x5e69a9=[];for(const _0x3a53f7 of _0x370d7a)this[_0x10be2c(0x1c0)](_0x3a53f7)&&_0x5e69a9[_0x10be2c(0x1ef)](this[_0x10be2c(0x1f0)](_0x3a53f7));if(!_0x5e69a9[_0x10be2c(0x1de)])throw new _0x27c4be(_0x10be2c(0x1c2),null);_0x11bdc4&&this[_0x10be2c(0x1c5)](_0x308ece,_0x11bdc4),this[_0x10be2c(0x1ea)](_0x308ece,_0x5e69a9,!!_0x11bdc4);}[_0x3485f1(0x1ea)](_0x2a8cd9,_0x16d90f,_0x2e8bb4){const _0xf4db78=_0x3485f1;this[_0xf4db78(0x1ca)][_0xf4db78(0x1bf)][_0xf4db78(0x1e6)](_0x99f462=>{const _0x501132=_0xf4db78;for(const _0x55b9fa of _0x16d90f){const _0x28596b=_0x379bd0()[_0x501132(0x1db)](0x1,0x5),_0x468acc=_0x501132(0x1c1)+_0x2a8cd9+':'+_0x28596b;_0x99f462[_0x501132(0x1eb)](_0x468acc,{'range':_0x55b9fa,'usingOperation':_0x2e8bb4,'affectsData':_0x2e8bb4});}});}[_0x3485f1(0x1c5)](_0x1f1988,_0x18b93a){const _0x571855=_0x3485f1,_0x41ab13=this[_0x571855(0x1ca)][_0x571855(0x1bc)][_0x571855(0x1d5)](_0x571855(0x1df)),_0x6ca22c=this[_0x571855(0x1ca)][_0x571855(0x1d0)][_0x571855(0x1d5)](_0x571855(0x1c7)),_0x10a53d=this[_0x571855(0x1ca)][_0x571855(0x1bc)][_0x571855(0x1d5)](_0x571855(0x1e4))['me'];if(!_0x10a53d)throw new _0x27c4be(_0x571855(0x1be),null);_0x41ab13[_0x571855(0x1cc)]({'threadId':_0x1f1988,'channelId':_0x6ca22c,'comments':[{'authorId':_0x10a53d['id'],'content':_0x18b93a,'createdAt':new Date(),'attributes':{}}]});}[_0x3485f1(0x1c0)](_0x538f28){const _0x51e97b=_0x3485f1;for(const _0x3aedf2 of _0x538f28[_0x51e97b(0x1d3)]())if(this[_0x51e97b(0x1cf)](_0x3aedf2))return!0x0;return!0x1;}[_0x3485f1(0x1cf)](_0x326c4c){const _0x3e0ce7=_0x3485f1;return _0x326c4c['is'](_0x3e0ce7(0x1d4))||this[_0x3e0ce7(0x1ca)][_0x3e0ce7(0x1bf)][_0x3e0ce7(0x1d2)][_0x3e0ce7(0x1cd)](_0x326c4c)&&!_0x326c4c['is'](_0x3e0ce7(0x1e9),_0x3e0ce7(0x1f1));}[_0x3485f1(0x1f0)](_0x4afc72){const _0x43095c=_0x3485f1,_0x55bb61=_0x6371c8=>!this[_0x43095c(0x1cf)](_0x6371c8[_0x43095c(0x1c6)]),_0x2145c9=_0x4afc72[_0x43095c(0x1dc)][_0x43095c(0x1e5)](_0x55bb61),_0x56df46=_0x4afc72[_0x43095c(0x1e0)][_0x43095c(0x1e5)](_0x55bb61,{'direction':_0x43095c(0x1cb)});return this[_0x43095c(0x1ca)][_0x43095c(0x1bf)][_0x43095c(0x1dd)](_0x2145c9,_0x56df46);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20d3c3=_0x196e;(function(_0x53e123,_0x486d53){const _0x464df3=_0x196e,_0x3cd013=_0x53e123();while(!![]){try{const _0x48a26b=parseInt(_0x464df3(0x84))/0x1+-parseInt(_0x464df3(0x7d))/0x2*(parseInt(_0x464df3(0x90))/0x3)+parseInt(_0x464df3(0x73))/0x4*(-parseInt(_0x464df3(0x9b))/0x5)+-parseInt(_0x464df3(0x75))/0x6*(parseInt(_0x464df3(0x8c))/0x7)+parseInt(_0x464df3(0x8f))/0x8*(parseInt(_0x464df3(0x83))/0x9)+parseInt(_0x464df3(0x85))/0xa*(-parseInt(_0x464df3(0x82))/0xb)+parseInt(_0x464df3(0x89))/0xc*(parseInt(_0x464df3(0x8d))/0xd);if(_0x48a26b===_0x486d53)break;else _0x3cd013['push'](_0x3cd013['shift']());}catch(_0x1869aa){_0x3cd013['push'](_0x3cd013['shift']());}}}(_0xd68e,0x670fe));function _0xd68e(){const _0x42b1d6=['collection','4364154nRoDZP','findIndex','length','_calculatePosition','context','remove','activate','isOfficialPlugin','1200192WUtojw','focus','isVisible','isPremiumPlugin','change:archivedAt','2957009ttqUem','90Sduuge','637996bROPNU','30rzPyvX','archivedAt','archivedThreads','get','5877936TuOpxW','listenTo','add','7XnbYPd','39qHOUSc','removeCommentThread','630968oscEQh','3VItjPg','stopListening','has','pluginName','requires','getCommentThread','highest','isActive','init','CommentsArchive','addCommentThread','5bkQhYh','plugins','1360544PGcvtB'];_0xd68e=function(){return _0x42b1d6;};return _0xd68e();}import{ContextPlugin as _0x1af63a}from'ckeditor5/src/core.js';import{Collection as _0x54dc68}from'ckeditor5/src/utils.js';import{CommentsRepository as _0xb0f02a}from'./commentsrepository.js';import{Annotations as _0x4da1c2}from'../annotations/annotations.js';function _0x196e(_0x1c62b9,_0x5aa282){const _0xd68e31=_0xd68e();return _0x196e=function(_0x196ee9,_0x4c42ca){_0x196ee9=_0x196ee9-0x72;let _0x24715d=_0xd68e31[_0x196ee9];return _0x24715d;},_0x196e(_0x1c62b9,_0x5aa282);}export class CommentsArchive extends _0x1af63a{static get[_0x20d3c3(0x93)](){const _0x1f79e1=_0x20d3c3;return _0x1f79e1(0x99);}static get[_0x20d3c3(0x7c)](){return!0x0;}static get[_0x20d3c3(0x80)](){return!0x0;}static get[_0x20d3c3(0x94)](){return[_0xb0f02a,_0x4da1c2];}constructor(_0x1a6ade){const _0x5ceea3=_0x20d3c3;super(_0x1a6ade),this[_0x5ceea3(0x87)]=new _0x54dc68();}[_0x20d3c3(0x98)](){const _0x1cf324=_0x20d3c3,_0x2103d8=this[_0x1cf324(0x79)],_0xcb1e84=_0x2103d8[_0x1cf324(0x72)][_0x1cf324(0x88)](_0xb0f02a),_0x55c292=_0x2103d8[_0x1cf324(0x72)][_0x1cf324(0x88)](_0x4da1c2);this[_0x1cf324(0x8a)](_0xcb1e84,_0x1cf324(0x9a),(_0x3473c8,{threadId:_0x306322})=>{const _0x5df338=_0x1cf324,_0x3fd525=_0xcb1e84[_0x5df338(0x95)](_0x306322);_0x3fd525[_0x5df338(0x86)]&&this[_0x5df338(0x87)][_0x5df338(0x8b)](_0x3fd525,this[_0x5df338(0x78)](_0x3fd525[_0x5df338(0x86)])),this[_0x5df338(0x8a)](_0x3fd525,_0x5df338(0x81),(_0x745be4,_0x48c1da,_0x265eae)=>{const _0x1660f4=_0x5df338;_0x265eae?this[_0x1660f4(0x87)][_0x1660f4(0x92)](_0x3fd525)||this[_0x1660f4(0x87)][_0x1660f4(0x8b)](_0x3fd525,this[_0x1660f4(0x78)](_0x3fd525[_0x1660f4(0x86)])):this[_0x1660f4(0x87)][_0x1660f4(0x92)](_0x3fd525)&&this[_0x1660f4(0x87)][_0x1660f4(0x7a)](_0x3fd525);});}),this[_0x1cf324(0x8a)](_0xcb1e84,_0x1cf324(0x8e),(_0x1ac38c,{threadId:_0x5a2e7e})=>{const _0x4735d6=_0x1cf324,_0x400a86=_0xcb1e84[_0x4735d6(0x95)](_0x5a2e7e);this[_0x4735d6(0x91)](_0x400a86),this[_0x4735d6(0x87)][_0x4735d6(0x92)](_0x400a86)&&this[_0x4735d6(0x87)][_0x4735d6(0x7a)](_0x400a86);},{'priority':_0x1cf324(0x96)}),this[_0x1cf324(0x8a)](_0x55c292[_0x1cf324(0x74)],_0x1cf324(0x7e),(_0x5311f7,_0x419847)=>{const _0x182f03=_0x1cf324;_0x419847[_0x182f03(0x7f)]||(_0x419847[_0x182f03(0x97)]=!0x0,_0x55c292[_0x182f03(0x7b)](_0x419847));});}[_0x20d3c3(0x78)](_0x149b63){const _0x1dfd5d=_0x20d3c3,_0x20b3e3=[...this[_0x1dfd5d(0x87)]][_0x1dfd5d(0x76)](_0x3b91ea=>_0x3b91ea[_0x1dfd5d(0x86)]<_0x149b63);return _0x20b3e3>-0x1?_0x20b3e3:this[_0x1dfd5d(0x87)][_0x1dfd5d(0x77)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f7eed=_0x5c2b;(function(_0x4eeb9f,_0x2334be){const _0xe409d2=_0x5c2b,_0x218a4e=_0x4eeb9f();while(!![]){try{const _0xd2d0ba=parseInt(_0xe409d2(0xbb))/0x1*(parseInt(_0xe409d2(0xa7))/0x2)+-parseInt(_0xe409d2(0xbd))/0x3+-parseInt(_0xe409d2(0xcd))/0x4*(parseInt(_0xe409d2(0xb9))/0x5)+parseInt(_0xe409d2(0x88))/0x6+-parseInt(_0xe409d2(0x95))/0x7+-parseInt(_0xe409d2(0xa6))/0x8*(-parseInt(_0xe409d2(0xb7))/0x9)+-parseInt(_0xe409d2(0xb8))/0xa*(parseInt(_0xe409d2(0xa9))/0xb);if(_0xd2d0ba===_0x2334be)break;else _0x218a4e['push'](_0x218a4e['shift']());}catch(_0x25c23e){_0x218a4e['push'](_0x218a4e['shift']());}}}(_0x2ba9,0x6055d));import'../../theme/commentsarchive.css';import{Plugin as _0x545abf}from'ckeditor5/src/core.js';function _0x5c2b(_0x19e566,_0xaeed39){const _0x2ba93c=_0x2ba9();return _0x5c2b=function(_0x5c2bc6,_0x39c6b2){_0x5c2bc6=_0x5c2bc6-0x87;let _0x504e31=_0x2ba93c[_0x5c2bc6];return _0x504e31;},_0x5c2b(_0x19e566,_0xaeed39);}import{IconCommentsArchive as _0x32214f}from'ckeditor5/src/icons.js';function _0x2ba9(){const _0x59a82a=['EDITOR_TOP_SIDE','_calculatePosition','isPremiumPlugin','forEach','71892mzYVTf','channelId','includes','_hideDialogOnAnnotationEscape','CommentsRepository','focusableElements','archivedAt','set','execute','_pendingThreads','escape','1904478aobmDV','_toggleDialog','push','isOpen','_threadToController','COMMENTS_ARCHIVE','splice','listenTo','length','_handleNewThread','componentFactory','getByInnerView','bind','1452269ZxDLOt','indexOf','isVisible','view','menuitemcheckbox','add','pluginName','isEnabled','source','locale','filter','collection','archivedThreads','Dialog','findIndex','find','menuBar:commentsArchive','56vuevNt','474sdMubp','requires','11JwNxmB','_visibleAnnotations','commentsArchiveView','CommentsArchiveUI','hide','get','has','stopListening','remove','show','_createCommentsArchiveButton','commentsArchive','_addAnnotationToArchive','isOn','757719qVGptY','1189910ZpcdLD','35JcJVTz','editor','997YSpQYU','Annotations','888543zoqdYj','return','innerView','plugins','isOfficialPlugin','stop','annotationViews','config','tooltip','set:isVisible','collaboration.channelId','init'];_0x2ba9=function(){return _0x59a82a;};return _0x2ba9();}import{ViewCollection as _0x511ebe,MenuBarMenuListItemButtonView as _0x4f715a,ButtonView as _0xa3fd25,Dialog as _0x31e260,DialogViewPosition as _0x565ad4}from'ckeditor5/src/ui.js';import{getTranslation as _0x39561e}from'../utils/common-translations.js';import{CommentsArchiveView as _0x1f4d17}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x30ed56}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x545abf{[_0x4f7eed(0xab)];[_0x4f7eed(0xc3)];[_0x4f7eed(0xd6)];static get[_0x4f7eed(0x9b)](){const _0x3d56d5=_0x4f7eed;return _0x3d56d5(0xac);}static get[_0x4f7eed(0xc1)](){return!0x0;}static get[_0x4f7eed(0xcb)](){return!0x0;}static get[_0x4f7eed(0xa8)](){return[_0x30ed56,_0x31e260];}constructor(_0x20db9c){const _0x16b7f7=_0x4f7eed;super(_0x20db9c),this[_0x16b7f7(0xc3)]=new _0x511ebe(),this[_0x16b7f7(0xd6)]=[];}[_0x4f7eed(0xc8)](){const _0x230427=_0x4f7eed,_0x2f4c5f=this[_0x230427(0xba)],_0x30c0f8=this[_0x230427(0xd0)][_0x230427(0x94)](this);_0x2f4c5f['ui'][_0x230427(0x92)][_0x230427(0x9a)](_0x230427(0xb4),()=>this[_0x230427(0xb3)](_0xa3fd25,!0x0)),_0x2f4c5f['ui'][_0x230427(0x92)][_0x230427(0x9a)](_0x230427(0xa5),()=>{const _0x47b318=_0x230427,_0x3fb02d=this[_0x47b318(0xb3)](_0x4f715a);return _0x3fb02d[_0x47b318(0xd4)]({'role':_0x47b318(0x99)}),_0x3fb02d;});const _0x2005f4=_0x2f4c5f[_0x230427(0xc0)][_0x230427(0xae)](_0x30ed56),_0x339781=_0x2f4c5f[_0x230427(0xc0)][_0x230427(0xae)](_0x230427(0xbc)),_0x14a12f=_0x2f4c5f[_0x230427(0xc0)][_0x230427(0xae)](_0x230427(0xd1));_0x2005f4[_0x230427(0xa1)][_0x230427(0xcc)](_0x9735db=>{const _0x15bec4=_0x230427;this[_0x15bec4(0x91)](_0x9735db);}),this[_0x230427(0x8f)](_0x2005f4[_0x230427(0xa1)],_0x230427(0x9a),(_0x473d4d,_0x57b81f)=>{const _0x328327=_0x230427;this[_0x328327(0x91)](_0x57b81f);}),this[_0x230427(0x8f)](_0x339781[_0x230427(0xa0)],_0x230427(0x9a),(_0x5ef695,_0x437096)=>{const _0x3cf416=_0x230427,_0x11b02f=this[_0x3cf416(0xd6)][_0x3cf416(0xa4)](_0x206a0c=>{const _0x1311ab=_0x3cf416,_0x25b4ed=_0x14a12f[_0x1311ab(0x8c)][_0x1311ab(0xae)](_0x206a0c);return _0x25b4ed&&_0x437096[_0x1311ab(0xbf)]===_0x25b4ed[_0x1311ab(0x98)];});if(_0x11b02f){const _0x4b3986=this[_0x3cf416(0xca)](_0x11b02f[_0x3cf416(0xd3)]);this[_0x3cf416(0xb5)](_0x437096,_0x4b3986),this[_0x3cf416(0xd6)][_0x3cf416(0x8e)](this[_0x3cf416(0xd6)][_0x3cf416(0x96)](_0x11b02f),0x1);}}),this[_0x230427(0x8f)](_0x2005f4[_0x230427(0xa1)],_0x230427(0xb1),(_0x580292,_0xbd7da8)=>{const _0x2a0846=_0x230427,_0x150cfe=_0x2f4c5f[_0x2a0846(0xc4)][_0x2a0846(0xae)](_0x2a0846(0xc7));if(!_0x150cfe||_0xbd7da8[_0x2a0846(0xce)]===_0x150cfe){if(this[_0x2a0846(0xd6)][_0x2a0846(0xcf)](_0xbd7da8))this[_0x2a0846(0xd6)][_0x2a0846(0x8e)](this[_0x2a0846(0xd6)][_0x2a0846(0x96)](_0xbd7da8),0x1);else{const _0x4ba662=_0x14a12f[_0x2a0846(0x8c)][_0x2a0846(0xae)](_0xbd7da8),_0xd214a1=_0x339781[_0x2a0846(0x93)](_0x4ba662[_0x2a0846(0x98)]);this[_0x2a0846(0xc3)][_0x2a0846(0xb1)](_0xd214a1[_0x2a0846(0x98)]),this[_0x2a0846(0xb0)](_0xd214a1),this[_0x2a0846(0xb0)](_0xd214a1[_0x2a0846(0xd2)]);}}}),this[_0x230427(0x8f)](_0x339781[_0x230427(0xa0)],_0x230427(0x9a),(_0x20b02e,_0x44b771)=>{const _0x237a8d=_0x230427;this[_0x237a8d(0x8f)](_0x44b771,_0x237a8d(0x87),_0x30c0f8);}),this[_0x230427(0x8f)](_0x339781[_0x230427(0xa0)],_0x230427(0xb1),(_0x3f5c7e,_0x55560a)=>{const _0x5526c9=_0x230427;this[_0x5526c9(0xb0)](_0x55560a,_0x5526c9(0x87),_0x30c0f8);});}[_0x4f7eed(0xb5)](_0x13e2dc,_0x294efb){const _0x28eea7=_0x4f7eed;this[_0x28eea7(0x8f)](_0x13e2dc,_0x28eea7(0xc6),_0x2a1d28=>{const _0x5d5954=_0x28eea7;_0x2a1d28[_0x5d5954(0xbe)]=!0x1,_0x2a1d28[_0x5d5954(0xc2)]();}),this[_0x28eea7(0xc3)][_0x28eea7(0x9a)](_0x13e2dc[_0x28eea7(0x98)],_0x294efb);}[_0x4f7eed(0x91)](_0x30eb28){const _0x1b997d=_0x4f7eed,_0x626824=this[_0x1b997d(0xba)][_0x1b997d(0xc0)][_0x1b997d(0xae)](_0x1b997d(0xd1)),_0x1948ac=this[_0x1b997d(0xba)][_0x1b997d(0xc0)][_0x1b997d(0xae)](_0x1b997d(0xbc)),_0x214c5a=this[_0x1b997d(0xba)][_0x1b997d(0xc4)][_0x1b997d(0xae)](_0x1b997d(0xc7));if(!_0x214c5a||_0x30eb28[_0x1b997d(0xce)]===_0x214c5a){const _0x599c3f=_0x626824[_0x1b997d(0x8c)][_0x1b997d(0xae)](_0x30eb28);if(!_0x599c3f)return void this[_0x1b997d(0xd6)][_0x1b997d(0x8a)](_0x30eb28);const _0x598eb7=this[_0x1b997d(0xca)](_0x30eb28[_0x1b997d(0xd3)]),_0x49a2cf=_0x1948ac[_0x1b997d(0x93)](_0x599c3f[_0x1b997d(0x98)]);_0x49a2cf[_0x1b997d(0x97)]&&_0x1948ac[_0x1b997d(0xaa)][_0x1b997d(0xb1)](_0x49a2cf),this[_0x1b997d(0xb5)](_0x49a2cf,_0x598eb7);}}[_0x4f7eed(0xca)](_0x3df8b3){const _0x546923=_0x4f7eed,_0x589119=this[_0x546923(0xba)][_0x546923(0xc4)][_0x546923(0xae)](_0x546923(0xc7)),_0x8263b3=[...this[_0x546923(0xba)][_0x546923(0xc0)][_0x546923(0xae)](_0x30ed56)[_0x546923(0xa1)]][_0x546923(0x9f)](_0x4aefd6=>_0x4aefd6[_0x546923(0xce)]===_0x589119)[_0x546923(0xa3)](_0xd5ad0e=>_0xd5ad0e[_0x546923(0xd3)]<_0x3df8b3);return _0x8263b3<0x0||_0x8263b3>this[_0x546923(0xc3)][_0x546923(0x90)]?this[_0x546923(0xc3)][_0x546923(0x90)]:_0x8263b3-0x1;}[_0x4f7eed(0x89)](){const _0x4e8e23=_0x4f7eed,_0x5aed15=this[_0x4e8e23(0xba)],_0x5f210c=_0x5aed15[_0x4e8e23(0xc0)][_0x4e8e23(0xae)](_0x4e8e23(0xa2));this[_0x4e8e23(0xab)]||(this[_0x4e8e23(0xab)]=new _0x1f4d17(_0x5aed15[_0x4e8e23(0x9e)],this[_0x4e8e23(0xc3)])),_0x4e8e23(0xb4)===_0x5f210c['id']?_0x5f210c[_0x4e8e23(0xad)]():_0x5f210c[_0x4e8e23(0xb2)]({'id':_0x4e8e23(0xb4),'title':_0x39561e(_0x5aed15[_0x4e8e23(0x9e)],_0x4e8e23(0x8d)),'icon':_0x32214f,'hasCloseButton':!0x0,'content':this[_0x4e8e23(0xab)],'position':_0x565ad4[_0x4e8e23(0xc9)]});}[_0x4f7eed(0xb3)](_0x4ea46a,_0x4f0b15=!0x1){const _0x3b27a7=_0x4f7eed,_0x2e2556=this[_0x3b27a7(0xba)][_0x3b27a7(0x9e)],_0x1ad618=this[_0x3b27a7(0xba)][_0x3b27a7(0xc0)][_0x3b27a7(0xae)](_0x3b27a7(0xa2)),_0x5d2f63=new _0x4ea46a(_0x2e2556);return _0x5d2f63[_0x3b27a7(0x94)](_0x3b27a7(0x9c))['to'](this,_0x3b27a7(0x9c)),_0x5d2f63[_0x3b27a7(0x94)](_0x3b27a7(0xb6))['to'](_0x1ad618,'id',_0xb0ccb5=>_0x3b27a7(0xb4)===_0xb0ccb5),_0x5d2f63[_0x3b27a7(0xd4)]({'label':_0x39561e(_0x2e2556,_0x3b27a7(0x8d)),'icon':_0x32214f,'isToggleable':!0x0}),_0x4f0b15&&(_0x5d2f63[_0x3b27a7(0xc5)]=!0x0),this[_0x3b27a7(0x8f)](_0x5d2f63,_0x3b27a7(0xd5),()=>this[_0x3b27a7(0x89)]()),_0x5d2f63;}[_0x4f7eed(0xd0)]=_0x13632d=>{const _0x3fcbae=_0x4f7eed,_0x25c1bb=_0x13632d[_0x3fcbae(0x9d)];if(!this[_0x3fcbae(0xc3)][_0x3fcbae(0xaf)](_0x25c1bb[_0x3fcbae(0x98)]))return;const _0x3999ad=this[_0x3fcbae(0xba)][_0x3fcbae(0xc0)][_0x3fcbae(0xae)](_0x3fcbae(0xa2));_0x3999ad[_0x3fcbae(0x8b)]&&_0x3fcbae(0xb4)===_0x3999ad['id']&&(_0x3999ad[_0x3fcbae(0xad)](),_0x13632d[_0x3fcbae(0xc2)]());};}
|