@ckeditor/ckeditor5-comments 47.0.0-alpha.6 → 47.0.0-alpha.8
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 _0x580874=_0xbd67;(function(_0xfe7413,_0x51a327){const _0x566214=_0xbd67,_0x4b3e5e=_0xfe7413();while(!![]){try{const _0x2a5768=parseInt(_0x566214(0x115))/0x1+parseInt(_0x566214(0xe2))/0x2*(-parseInt(_0x566214(0xe0))/0x3)+-parseInt(_0x566214(0xed))/0x4*(-parseInt(_0x566214(0xfb))/0x5)+parseInt(_0x566214(0xd9))/0x6+-parseInt(_0x566214(0xc8))/0x7*(parseInt(_0x566214(0xc3))/0x8)+-parseInt(_0x566214(0xfd))/0x9*(parseInt(_0x566214(0xf9))/0xa)+parseInt(_0x566214(0xe5))/0xb;if(_0x2a5768===_0x51a327)break;else _0x4b3e5e['push'](_0x4b3e5e['shift']());}catch(_0x2dfff0){_0x4b3e5e['push'](_0x4b3e5e['shift']());}}}(_0x5ec6,0xafa4a));import{ContextPlugin as _0x2d4d48}from'ckeditor5/src/core.js';import{Rect as _0x4ca7ed,CKEditorError as _0x49e40f}from'ckeditor5/src/utils.js';function _0x5ec6(){const _0x2e7c31=['sidebar-attachtocontainer-missing-container','addAnnotation','change:bottom','_getTargetTop','length','_getMaxAvailableTop','remove','context','set','view','5257158oxIiLH','updateHeight','isAnimationDisabled','getSidebarItemView','getIndex','minHeight','_setItemTop','3ivOqbO','_annotations','1759256KasedE','_sidebarItemViewToAnnotation','_alignToTargetRect','5570312irYoXu','target','_alignAfterItem','_getItemAfter','config','listenTo','Sidebar','height','142172RcbYLV','_alignForTopChange','_updateLastItem','object','change:targetRect','last','setContainer','_targetTop','stopListening','push','change:_lastItem','locale','39110jjkYkC','targetRect','15ZdjOIP','_createSidebarView','18UezaDt','destroy','isPremiumPlugin','container','refresh','_alignForBottomChange','isOfficialPlugin','change:top','class','_destroySidebarItemView','sidebar.preventScrollOutOfView','rearrange','_detachFromContainer','list','_getItemBefore','delete','pluginName','_recalculateBuffer','unbind','_annotationToSidebarItemView','bottom','_spaceBetweenItems','_recalculate','sidebar.container','850795HztcAU','add','sidebar-setcontainer-invalid-element','max','render','define','_activeAnnotation','_alignBeforeItem','bind','init','15000gnoQdX','content','element','appendChild','clear','2737MxPXhh','isActive','nodeType','_attachToContainer','get','_lastItem','top'];_0x5ec6=function(){return _0x2e7c31;};return _0x5ec6();}import{AnnotationsSidebarView as _0x15e797}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x2400f1}from'./view/sidebaritemview.js';function _0xbd67(_0x2dc938,_0x5ee55f){const _0x5ec690=_0x5ec6();return _0xbd67=function(_0xbd67c1,_0x3ca93e){_0xbd67c1=_0xbd67c1-0xc1;let _0x2bd717=_0x5ec690[_0xbd67c1];return _0x2bd717;},_0xbd67(_0x2dc938,_0x5ee55f);}export class Sidebar extends _0x2d4d48{[_0x580874(0xd8)];[_0x580874(0x11b)];[_0x580874(0xe1)];[_0x580874(0x112)];[_0x580874(0xe3)];[_0x580874(0x110)];[_0x580874(0x10e)];static get[_0x580874(0x10d)](){const _0x198668=_0x580874;return _0x198668(0xeb);}static get[_0x580874(0x103)](){return!0x0;}static get[_0x580874(0xff)](){return!0x0;}constructor(_0x4aab4b){const _0x506a2e=_0x580874;super(_0x4aab4b),this[_0x506a2e(0xd7)](_0x506a2e(0xcd),void 0x0),this[_0x506a2e(0xd8)]=this[_0x506a2e(0xfc)](),this[_0x506a2e(0xd7)](_0x506a2e(0x100),null),this[_0x506a2e(0x112)]=0x19,this[_0x506a2e(0xe3)]=new Map(),this[_0x506a2e(0x110)]=new Map(),this[_0x506a2e(0xd6)][_0x506a2e(0xe9)][_0x506a2e(0x11a)](_0x506a2e(0x107),!0x1),this[_0x506a2e(0xe1)]=null,this[_0x506a2e(0x11b)]=null,this[_0x506a2e(0x10e)]=[];}[_0x580874(0xc2)](){const _0x3acfa1=_0x580874,_0xdc36e4=this[_0x3acfa1(0xd6)][_0x3acfa1(0xe9)][_0x3acfa1(0xcc)](_0x3acfa1(0x114));_0xdc36e4&&this[_0x3acfa1(0xf3)](_0xdc36e4);}[_0x580874(0xf3)](_0x279f2d){const _0x4c9773=_0x580874;if(!g(_0x279f2d))throw new _0x49e40f(_0x4c9773(0x117));this[_0x4c9773(0x100)]=_0x279f2d;}[_0x580874(0xcb)]({viewClass:_0xa9ba5f='',spaceBetweenItems:_0x55f9df=0x19}={}){const _0x33f0ae=_0x580874;if(!g(this[_0x33f0ae(0x100)]))throw new _0x49e40f(_0x33f0ae(0xcf),this);this[_0x33f0ae(0x100)][_0x33f0ae(0xc6)](this[_0x33f0ae(0xd8)][_0x33f0ae(0xc5)]),this[_0x33f0ae(0xd8)][_0x33f0ae(0x105)]=_0xa9ba5f,this[_0x33f0ae(0x112)]=_0x55f9df;}[_0x580874(0x108)]({removedAnnotation:_0x16c66c,previousAnnotation:_0x205353,nextAnnotation:_0xb9b733}){const _0x2675a4=_0x580874,_0x376610=this[_0x2675a4(0xdc)](_0x16c66c);this[_0x2675a4(0xd8)][_0x2675a4(0x10a)][_0x2675a4(0xd5)](_0x376610),this[_0x2675a4(0x106)](_0x16c66c),_0x205353&&this[_0x2675a4(0xe4)](this[_0x2675a4(0xdc)](_0x205353)),_0xb9b733&&this[_0x2675a4(0xe4)](this[_0x2675a4(0xdc)](_0xb9b733)),this[_0x2675a4(0xef)]();}[_0x580874(0x101)]({blurredAnnotation:_0x4be400,activatedAnnotation:_0x51ab4c,disableAnimationOnActivatedAnnotation:_0x259304}){const _0x5db6ef=_0x580874;if(this[_0x5db6ef(0x11b)]=_0x51ab4c,_0x4be400){_0x4be400[_0x5db6ef(0xc9)]=!0x1;const _0x11470c=this[_0x5db6ef(0xdc)](_0x4be400);_0x11470c&&_0x259304&&(_0x11470c[_0x5db6ef(0xdb)]=!0x1);}if(_0x51ab4c){const _0x453703=this[_0x5db6ef(0xdc)](_0x51ab4c);_0x453703&&(_0x51ab4c[_0x5db6ef(0xc9)]=!0x0,_0x259304&&(_0x453703[_0x5db6ef(0xdb)]=!0x0,_0x453703[_0x5db6ef(0xce)]+=0x1),this[_0x5db6ef(0xe4)](_0x453703));}}[_0x580874(0x109)](_0x212af6){const _0xedf585=_0x580874;if(this[_0xedf585(0xd8)][_0xedf585(0xc5)][_0xedf585(0xd5)](),_0x212af6){for(const _0x3c6807 of _0x212af6)this[_0xedf585(0x106)](_0x3c6807);}this[_0xedf585(0xd8)][_0xedf585(0x10a)][_0xedf585(0xc7)](),this[_0xedf585(0xd8)][_0xedf585(0x105)]='',this[_0xedf585(0xcd)]=null;}[_0x580874(0xd0)](_0x1115f8,_0x9fef1d){const _0x274242=_0x580874;_0x9fef1d||(_0x9fef1d=_0x1115f8[_0x274242(0xd8)]);const _0x11b748=new _0x2400f1(this[_0x274242(0xd6)][_0x274242(0xf8)]);this[_0x274242(0xe3)][_0x274242(0xd7)](_0x11b748,_0x1115f8),this[_0x274242(0x110)][_0x274242(0xd7)](_0x1115f8,_0x11b748),_0x11b748[_0x274242(0xc4)][_0x274242(0x116)](_0x9fef1d),this[_0x274242(0xea)](_0x1115f8[_0x274242(0xd8)],_0x274242(0xf1),(_0xf5fa5e,_0x325f48,_0x59be08)=>{const _0x1f02d7=_0x274242,_0x130ce1=this[_0x1f02d7(0xd2)](_0x1115f8,_0x59be08);_0x11b748[_0x1f02d7(0xf4)]!=_0x130ce1&&(_0x11b748[_0x1f02d7(0xf4)]=_0x130ce1,this[_0x1f02d7(0xdf)](_0x11b748,_0x130ce1));}),this[_0x274242(0xea)](_0x11b748,_0x274242(0x104),()=>{const _0x553182=_0x274242;this[_0x553182(0x113)](_0x11b748,_0x553182(0xce));}),this[_0x274242(0xea)](_0x11b748,_0x274242(0xd1),()=>{const _0x9d829a=_0x274242;this[_0x9d829a(0x113)](_0x11b748,_0x9d829a(0x111));}),this[_0x274242(0xe4)](_0x11b748);const _0x2baf21=this[_0x274242(0x10b)](_0x11b748);if(_0x2baf21)this[_0x274242(0xe7)](_0x2baf21,_0x11b748)||this[_0x274242(0xe4)](_0x11b748);else this[_0x274242(0xe4)](_0x11b748);return this[_0x274242(0xef)](),this[_0x274242(0xd8)][_0x274242(0x10a)][_0x274242(0x116)](_0x11b748),_0x11b748;}[_0x580874(0xee)](_0x582b61){const _0x40d3ec=_0x580874;if(!_0x582b61[_0x40d3ec(0xc4)][_0x40d3ec(0xd3)])return;const _0xe0a889=this[_0x40d3ec(0x10b)](_0x582b61);if(!_0xe0a889)return;const _0x3380b1=this[_0x40d3ec(0xe3)][_0x40d3ec(0xcc)](_0xe0a889),_0x295832=this[_0x40d3ec(0x11b)];_0x295832&&_0x295832===_0x3380b1?this[_0x40d3ec(0xe7)](_0xe0a889,_0x582b61):this[_0x40d3ec(0x11c)](_0x582b61,_0xe0a889);}[_0x580874(0x102)](_0x5c864a){const _0x326b64=_0x580874;if(!_0x5c864a[_0x326b64(0xc4)][_0x326b64(0xd3)])return;const _0x477316=this[_0x326b64(0xe8)](_0x5c864a);if(!_0x477316)return;const _0x3c623f=this[_0x326b64(0xe3)][_0x326b64(0xcc)](_0x477316),_0x5f2100=this[_0x326b64(0xd6)][_0x326b64(0xe9)][_0x326b64(0xcc)](_0x326b64(0x107)),_0x53a4a2=this[_0x326b64(0x11b)];_0x53a4a2&&_0x53a4a2===_0x3c623f&&_0x5f2100?(this[_0x326b64(0x11c)](_0x477316,_0x5c864a),this[_0x326b64(0xe7)](_0x5c864a,_0x477316)):_0x53a4a2&&_0x53a4a2===_0x3c623f?this[_0x326b64(0x11c)](_0x477316,_0x5c864a):this[_0x326b64(0xe7)](_0x5c864a,_0x477316);}[_0x580874(0x113)](_0x11eb1d,_0x5130f5){const _0x53cbb1=_0x580874;0x0===this[_0x53cbb1(0x10e)][_0x53cbb1(0xd3)]&&setTimeout(()=>{const _0x26836e=_0x53cbb1;for(const {sidebarItemView:_0x34f6c5,changedProp:_0x447b87}of this[_0x26836e(0x10e)])_0x26836e(0xce)===_0x447b87?this[_0x26836e(0xee)](_0x34f6c5):this[_0x26836e(0x102)](_0x34f6c5);this[_0x26836e(0x10e)]=[];},0xa),this[_0x53cbb1(0x10e)][_0x53cbb1(0xf6)]({'sidebarItemView':_0x11eb1d,'changedProp':_0x5130f5});}[_0x580874(0xdc)](_0x33d123){const _0x161733=_0x580874;return this[_0x161733(0x110)][_0x161733(0xcc)](_0x33d123);}[_0x580874(0xfe)](){const _0x186d60=_0x580874;this[_0x186d60(0xf5)](),this[_0x186d60(0xd8)][_0x186d60(0xfe)]();}[_0x580874(0x106)](_0x47aee3){const _0x4b0ac5=_0x580874,_0x5dabec=this[_0x4b0ac5(0xdc)](_0x47aee3);this[_0x4b0ac5(0xf5)](_0x5dabec),this[_0x4b0ac5(0xf5)](_0x47aee3[_0x4b0ac5(0xd8)]),_0x5dabec[_0x4b0ac5(0xfe)](),this[_0x4b0ac5(0x110)][_0x4b0ac5(0x10c)](_0x47aee3),this[_0x4b0ac5(0xe3)][_0x4b0ac5(0x10c)](_0x5dabec);}[_0x580874(0xfc)](){const _0x4196ab=_0x580874,_0x3a4ddb=new _0x15e797(this[_0x4196ab(0xd6)][_0x4196ab(0xf8)]);return _0x3a4ddb[_0x4196ab(0x119)](),this['on'](_0x4196ab(0xf7),(_0x1ca4a8,_0x356089,_0x2873ea,_0x4b85b8)=>{const _0x260272=_0x4196ab;_0x4b85b8&&_0x3a4ddb[_0x260272(0x10f)](_0x260272(0xde)),_0x2873ea?_0x3a4ddb[_0x260272(0xc1)](_0x260272(0xde))['to'](_0x2873ea,_0x260272(0x111)):_0x3a4ddb[_0x260272(0xde)]=null;}),_0x3a4ddb;}[_0x580874(0xef)](){const _0x6f322d=_0x580874;this[_0x6f322d(0xcd)]=this[_0x6f322d(0xe1)]?.[_0x6f322d(0xf2)]?this[_0x6f322d(0xdc)](this[_0x6f322d(0xe1)][_0x6f322d(0xf2)]):null;}[_0x580874(0x10b)](_0x3e8a27){const _0x231055=_0x580874,_0x33b7a1=this[_0x231055(0xe3)][_0x231055(0xcc)](_0x3e8a27),_0x1c7910=_0x33b7a1&&this[_0x231055(0xe1)]?.[_0x231055(0xcc)](this[_0x231055(0xe1)][_0x231055(0xdd)](_0x33b7a1)-0x1);return _0x1c7910&&this[_0x231055(0xdc)](_0x1c7910)||null;}[_0x580874(0xe8)](_0x422f5b){const _0x1655cf=_0x580874,_0xb8001a=this[_0x1655cf(0xe3)][_0x1655cf(0xcc)](_0x422f5b),_0x1af3fc=_0xb8001a&&this[_0x1655cf(0xe1)]?.[_0x1655cf(0xcc)](this[_0x1655cf(0xe1)][_0x1655cf(0xdd)](_0xb8001a)+0x1);return _0x1af3fc&&this[_0x1655cf(0xdc)](_0x1af3fc)||null;}[_0x580874(0x11c)](_0x3f881b,_0x56a149){const _0x389283=_0x580874;_0x3f881b[_0x389283(0xda)]();const _0x40f657=G(_0x56a149[_0x389283(0x111)]+this[_0x389283(0x112)],_0x3f881b[_0x389283(0xce)]);return!!_0x40f657&&(this[_0x389283(0xdf)](_0x56a149,_0x56a149[_0x389283(0xce)]-_0x40f657),!0x0);}[_0x580874(0xe7)](_0x520209,_0x14be52){const _0x3be6be=_0x580874;_0x520209[_0x3be6be(0xda)]();const _0x3202d4=G(_0x520209[_0x3be6be(0x111)]+this[_0x3be6be(0x112)],_0x14be52[_0x3be6be(0xce)]);return!!_0x3202d4&&(this[_0x3be6be(0xdf)](_0x14be52,_0x14be52[_0x3be6be(0xce)]+_0x3202d4,!0x1),!0x0);}[_0x580874(0xe4)](_0x1a4f7c){const _0x21d9e4=_0x580874,_0x1699e7=this[_0x21d9e4(0xe3)][_0x21d9e4(0xcc)](_0x1a4f7c);if(!_0x1699e7||!_0x1699e7[_0x21d9e4(0xe6)]||!_0x1699e7[_0x21d9e4(0xfa)])return;const _0x40b21c=this[_0x21d9e4(0xd2)](_0x1699e7,_0x1699e7[_0x21d9e4(0xfa)]);this[_0x21d9e4(0xdf)](_0x1a4f7c,_0x40b21c);}[_0x580874(0xd2)](_0x30721a,_0x5c014b){const _0x204ce6=_0x580874;if(null===_0x5c014b)return 0x0;if(_0x30721a[_0x204ce6(0xe6)]instanceof _0x4ca7ed)return _0x5c014b[_0x204ce6(0xce)];{const _0x272f6a=new _0x4ca7ed(this[_0x204ce6(0xd8)][_0x204ce6(0xc5)])[_0x204ce6(0xce)];return _0x5c014b[_0x204ce6(0xce)]-_0x272f6a;}}[_0x580874(0xdf)](_0x4a5150,_0x13afa5,_0x750e5=this[_0x580874(0xd6)][_0x580874(0xe9)][_0x580874(0xcc)](_0x580874(0x107))){const _0x343e3c=_0x580874;_0x750e5&&(_0x13afa5=Math[_0x343e3c(0x118)](_0x13afa5,this[_0x343e3c(0xd4)](_0x4a5150))),_0x4a5150[_0x343e3c(0xce)]=_0x13afa5;}[_0x580874(0xd4)](_0x3d98d7){const _0x31e1ae=_0x580874;let _0x247484=this[_0x31e1ae(0x10b)](_0x3d98d7),_0x44ad31=0x0;for(;_0x247484;)_0x247484[_0x31e1ae(0xda)](),_0x44ad31+=this[_0x31e1ae(0x112)]+_0x247484[_0x31e1ae(0xec)],_0x247484=this[_0x31e1ae(0x10b)](_0x247484);return _0x44ad31;}}function G(_0x32f055,_0x152097){const _0x171eee=_0x580874;return Math[_0x171eee(0x118)](_0x32f055-_0x152097,0x0);}function g(_0xc763e4){const _0x267087=_0x580874;return null!==_0xc763e4&&_0x267087(0xf0)==typeof _0xc763e4&&0x1===_0xc763e4[_0x267087(0xca)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2ba4(){const _0x19d208=['children','7581YLQJms','...','ck-annotation-counter','938120TVooxx','105dWaXyf','6277780RqIBLV','ck-annotation-counter__badge','toString','241296QcsrDz','span','736216YZInEF','bindTemplate','extendTemplate','icon','counterView','_badge','10239156cHVCmL','24zoBodE','550oWHXtJ','annotationType','add','setTemplate','isDirty','bind','ck-annotation-counter__badge--edit-mode','1956916irGMvn','number','ck-annotation-counter__badge--','set'];_0x2ba4=function(){return _0x19d208;};return _0x2ba4();}const _0x13dad3=_0x436f;function _0x436f(_0x3a08a4,_0x54d66e){const _0x2ba41a=_0x2ba4();return _0x436f=function(_0x436f87,_0x3cf3b5){_0x436f87=_0x436f87-0x10f;let _0x5c82ba=_0x2ba41a[_0x436f87];return _0x5c82ba;},_0x436f(_0x3a08a4,_0x54d66e);}(function(_0x4a047d,_0x459c01){const _0x3a220f=_0x436f,_0x5c6512=_0x4a047d();while(!![]){try{const _0xbf0962=-parseInt(_0x3a220f(0x129))/0x1+-parseInt(_0x3a220f(0x115))/0x2*(-parseInt(_0x3a220f(0x121))/0x3)+parseInt(_0x3a220f(0x11c))/0x4+-parseInt(_0x3a220f(0x124))/0x5*(-parseInt(_0x3a220f(0x114))/0x6)+parseInt(_0x3a220f(0x125))/0x7*(-parseInt(_0x3a220f(0x12b))/0x8)+parseInt(_0x3a220f(0x113))/0x9+-parseInt(_0x3a220f(0x126))/0xa;if(_0xbf0962===_0x459c01)break;else _0x5c6512['push'](_0x5c6512['shift']());}catch(_0x8fc23a){_0x5c6512['push'](_0x5c6512['shift']());}}}(_0x2ba4,0xc8e47));import{ButtonView as _0x3a3bbc,View as _0x24c151}from'ckeditor5/src/ui.js';import{IconAddComment as _0x4d305d}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x3a3bbc{[_0x13dad3(0x111)];constructor(_0x5b3a88){const _0x4e0b74=_0x13dad3;super(_0x5b3a88);const _0x14c959=this[_0x4e0b74(0x12c)];this[_0x4e0b74(0x11f)](_0x4e0b74(0x119),!0x1),this[_0x4e0b74(0x11f)](_0x4e0b74(0x11d),0x0),this[_0x4e0b74(0x11a)](_0x4e0b74(0x112))['to'](this,_0x4e0b74(0x119),this,_0x4e0b74(0x11d),(_0x7ed692,_0x47fe6e)=>_0x7ed692?_0x4e0b74(0x122):_0x47fe6e[_0x4e0b74(0x128)]()),this[_0x4e0b74(0x11f)](_0x4e0b74(0x116),''),this[_0x4e0b74(0x110)]=_0x4d305d,this[_0x4e0b74(0x10f)]({'attributes':{'class':[_0x4e0b74(0x123)]}}),this[_0x4e0b74(0x111)]=new _0x24c151(),this[_0x4e0b74(0x111)][_0x4e0b74(0x118)]({'tag':_0x4e0b74(0x12a),'attributes':{'class':[_0x4e0b74(0x127),_0x14c959['to'](_0x4e0b74(0x116),_0xf8e737=>_0x4e0b74(0x11e)+_0xf8e737),_0x14c959['if'](_0x4e0b74(0x119),_0x4e0b74(0x11b))]},'children':[{'text':_0x14c959['to'](_0x4e0b74(0x112))}]}),this[_0x4e0b74(0x120)][_0x4e0b74(0x117)](this[_0x4e0b74(0x111)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x27d9(_0x4c091d,_0x5e2b63){const _0x37bca5=_0x37bc();return _0x27d9=function(_0x27d907,_0x116091){_0x27d907=_0x27d907-0x157;let _0x359a47=_0x37bca5[_0x27d907];return _0x359a47;},_0x27d9(_0x4c091d,_0x5e2b63);}const _0x105059=_0x27d9;(function(_0x55a7de,_0x1a73e8){const _0x5cd0b2=_0x27d9,_0xc5c17d=_0x55a7de();while(!![]){try{const _0x224cc3=-parseInt(_0x5cd0b2(0x17a))/0x1+-parseInt(_0x5cd0b2(0x16e))/0x2*(parseInt(_0x5cd0b2(0x17c))/0x3)+-parseInt(_0x5cd0b2(0x161))/0x4*(-parseInt(_0x5cd0b2(0x16b))/0x5)+-parseInt(_0x5cd0b2(0x158))/0x6*(-parseInt(_0x5cd0b2(0x15e))/0x7)+-parseInt(_0x5cd0b2(0x170))/0x8*(-parseInt(_0x5cd0b2(0x16a))/0x9)+-parseInt(_0x5cd0b2(0x166))/0xa*(parseInt(_0x5cd0b2(0x174))/0xb)+-parseInt(_0x5cd0b2(0x16f))/0xc;if(_0x224cc3===_0x1a73e8)break;else _0xc5c17d['push'](_0xc5c17d['shift']());}catch(_0x208f79){_0xc5c17d['push'](_0xc5c17d['shift']());}}}(_0x37bc,0xeaa84));import{View as _0x51c1e0}from'ckeditor5/src/ui.js';import{FocusTracker as _0x500f31,KeystrokeHandler as _0x5d6f1a,uid as _0x2e16a5}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x32acee}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x51c1e0{[_0x105059(0x181)];['id'];[_0x105059(0x162)];[_0x105059(0x184)];[_0x105059(0x186)];[_0x105059(0x164)];constructor(_0x160b3e,_0x636015){const _0x418586=_0x105059;super(_0x160b3e),this['id']=_0x2e16a5(),this[_0x418586(0x181)]=new _0x500f31(),this[_0x418586(0x162)]=new _0x5d6f1a(),this[_0x418586(0x162)][_0x418586(0x187)](_0x418586(0x167),(_0x3f3c2,_0x1ac6af)=>this[_0x418586(0x168)](_0x418586(0x167),_0x1ac6af)),this[_0x418586(0x187)](_0x418586(0x17b),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x418586(0x187)](_0x418586(0x17d),0x0),this[_0x418586(0x187)](_0x418586(0x176),!0x1),this[_0x418586(0x187)](_0x418586(0x15d),!0x1),this[_0x418586(0x187)](_0x418586(0x16c),0x0),this[_0x418586(0x187)](_0x418586(0x169),''),this[_0x418586(0x164)]=_0x32acee(()=>this[_0x418586(0x159)]()),this[_0x418586(0x184)]=this[_0x418586(0x160)](),this[_0x418586(0x184)][_0x418586(0x177)](_0x418586(0x182),_0x418586(0x16d))['to'](this),this[_0x418586(0x184)][_0x418586(0x180)](_0x636015),this[_0x418586(0x186)]=_0x636015;const _0x5c9957=this[_0x418586(0x171)];this[_0x418586(0x15f)]({'tag':_0x418586(0x15a),'attributes':{'class':['ck',_0x418586(0x15c),_0x418586(0x175),_0x5c9957['if'](_0x418586(0x176),_0x418586(0x163))],'role':_0x418586(0x183)},'children':this[_0x418586(0x184)]});}[_0x105059(0x17e)](){const _0x2802f8=_0x105059;super[_0x2802f8(0x17e)](),this[_0x2802f8(0x181)][_0x2802f8(0x180)](this[_0x2802f8(0x157)]),this[_0x2802f8(0x162)][_0x2802f8(0x172)](this[_0x2802f8(0x157)]),this[_0x2802f8(0x164)][_0x2802f8(0x173)](this[_0x2802f8(0x157)]);}[_0x105059(0x15b)](){const _0x3dbfc1=_0x105059;this[_0x3dbfc1(0x184)][_0x3dbfc1(0x165)](),this[_0x3dbfc1(0x162)][_0x3dbfc1(0x15b)](),this[_0x3dbfc1(0x181)][_0x3dbfc1(0x15b)](),this[_0x3dbfc1(0x164)][_0x3dbfc1(0x179)](),super[_0x3dbfc1(0x15b)]();}[_0x105059(0x185)](){const _0x3164e7=_0x105059;this[_0x3164e7(0x184)][_0x3164e7(0x17f)]&&this[_0x3164e7(0x184)][_0x3164e7(0x17f)][_0x3164e7(0x185)]();}[_0x105059(0x159)](){const _0x26f572=_0x105059,_0xe87199=this[_0x26f572(0x157)][_0x26f572(0x178)];_0xe87199&&(this[_0x26f572(0x17d)]=_0xe87199);}}function _0x37bc(){const _0x7ca63a=['bindTemplate','listenTo','attach','22SwmcPG','ck-rounded-corners','isActive','delegate','clientHeight','detach','114978pBaAAX','targetRect','2846469UhCxTH','height','render','first','add','focusTracker','arrowup','presentation','content','focus','mainView','set','element','845886nSxave','_updateHeight','div','destroy','ck-annotation-wrapper','isDirty','77XCDTBY','setTemplate','createCollection','844iipcgX','keystrokes','ck-annotation-wrapper--active','_mutationObserver','clear','527840aVLaUv','Esc','fire','type','18dNLsTW','18555pnddYn','length','arrowdown','2WBAiUh','23343660vxXziW','6968072TTzoUY'];_0x37bc=function(){return _0x7ca63a;};return _0x37bc();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x33393c=_0xfd85;(function(_0x2fea7b,_0x5f1652){const _0x78e7c2=_0xfd85,_0x4a2001=_0x2fea7b();while(!![]){try{const _0x414bda=parseInt(_0x78e7c2(0x16b))/0x1+-parseInt(_0x78e7c2(0x15b))/0x2*(-parseInt(_0x78e7c2(0x166))/0x3)+parseInt(_0x78e7c2(0x177))/0x4+parseInt(_0x78e7c2(0x162))/0x5*(-parseInt(_0x78e7c2(0x155))/0x6)+-parseInt(_0x78e7c2(0x15d))/0x7*(-parseInt(_0x78e7c2(0x165))/0x8)+parseInt(_0x78e7c2(0x152))/0x9+parseInt(_0x78e7c2(0x154))/0xa*(-parseInt(_0x78e7c2(0x161))/0xb);if(_0x414bda===_0x5f1652)break;else _0x4a2001['push'](_0x4a2001['shift']());}catch(_0x39cccb){_0x4a2001['push'](_0x4a2001['shift']());}}}(_0x8a05,0x4ec7c));import{View as _0x23c43b}from'ckeditor5/src/ui.js';function _0x8a05(){const _0x442263=['174nphzgE','ck-sidebar-item','delegate','setTemplate','ck-sidebar-item--no-animation','isAnimationDisabled','2nzNyCK','arrowdown','30653XjUbZJ','set','_targetTop','arrowup','11hMvrME','66335qJUkQO','destroy','detach','56upPVaL','1545342qtkWAL','element','content','bottom','createCollection','400314PBCEJG','bind','div','presentation','_mutationObserver','render','top','clientHeight','updateHeight','first','height','focus','488148DGloUV','bindTemplate','clear','4260366CiSEBv','attach','8340650gtfdjT'];_0x8a05=function(){return _0x442263;};return _0x8a05();}import{toUnit as _0x2b9aca}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x1ba0df}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2b9aca('px');function _0xfd85(_0x4afe83,_0x19bc86){const _0x8a05c3=_0x8a05();return _0xfd85=function(_0xfd8514,_0x70717e){_0xfd8514=_0xfd8514-0x152;let _0x417d62=_0x8a05c3[_0xfd8514];return _0x417d62;},_0xfd85(_0x4afe83,_0x19bc86);}export class AnnotationsSidebarItemView extends _0x23c43b{[_0x33393c(0x168)];[_0x33393c(0x15f)];[_0x33393c(0x16f)];constructor(_0x3a60cc){const _0x38fde4=_0x33393c;super(_0x3a60cc),this[_0x38fde4(0x15e)](_0x38fde4(0x171),0x0),this[_0x38fde4(0x15e)](_0x38fde4(0x175),0x0),this[_0x38fde4(0x16c)](_0x38fde4(0x169))['to'](this,_0x38fde4(0x171),this,_0x38fde4(0x175),(_0xdd6fe9,_0x4b5241)=>_0xdd6fe9+_0x4b5241),this[_0x38fde4(0x15e)](_0x38fde4(0x15a),!0x1),this[_0x38fde4(0x16f)]=_0x1ba0df(()=>this[_0x38fde4(0x173)]()),this[_0x38fde4(0x15f)]=null,this[_0x38fde4(0x168)]=this[_0x38fde4(0x16a)](),this[_0x38fde4(0x168)][_0x38fde4(0x157)](_0x38fde4(0x160),_0x38fde4(0x15c))['to'](this);const _0x27d308=this[_0x38fde4(0x178)];this[_0x38fde4(0x158)]({'tag':_0x38fde4(0x16d),'attributes':{'class':[_0x38fde4(0x156),_0x27d308['to'](_0x38fde4(0x15a),_0x27116d=>_0x27116d?_0x38fde4(0x159):'')],'style':{'top':_0x27d308['to'](_0x38fde4(0x171),_0x5afcf9=>Ot(_0x5afcf9))},'role':_0x38fde4(0x16e)},'children':this[_0x38fde4(0x168)]});}[_0x33393c(0x170)](){const _0x59fd9d=_0x33393c;super[_0x59fd9d(0x170)](),this[_0x59fd9d(0x16f)][_0x59fd9d(0x153)](this[_0x59fd9d(0x167)]);}[_0x33393c(0x176)](){const _0x1ceb14=_0x33393c;this[_0x1ceb14(0x168)][_0x1ceb14(0x174)]&&this[_0x1ceb14(0x168)][_0x1ceb14(0x174)][_0x1ceb14(0x176)]();}[_0x33393c(0x173)](){const _0x45255e=_0x33393c,_0x3071d6=this[_0x45255e(0x167)][_0x45255e(0x172)];_0x3071d6&&(this[_0x45255e(0x175)]=_0x3071d6);}[_0x33393c(0x163)](){const _0x4c5675=_0x33393c;this[_0x4c5675(0x168)][_0x4c5675(0x179)](),this[_0x4c5675(0x16f)][_0x4c5675(0x164)](),super[_0x4c5675(0x163)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x519b90=_0x2f19;(function(_0x2ac480,_0x30b574){const _0x16802b=_0x2f19,_0x2635a8=_0x2ac480();while(!![]){try{const _0x62e92b=parseInt(_0x16802b(0x125))/0x1+-parseInt(_0x16802b(0x129))/0x2*(parseInt(_0x16802b(0x112))/0x3)+parseInt(_0x16802b(0x10a))/0x4+parseInt(_0x16802b(0x12a))/0x5*(-parseInt(_0x16802b(0x12b))/0x6)+parseInt(_0x16802b(0x134))/0x7+parseInt(_0x16802b(0x139))/0x8*(parseInt(_0x16802b(0x113))/0x9)+parseInt(_0x16802b(0x121))/0xa;if(_0x62e92b===_0x30b574)break;else _0x2635a8['push'](_0x2635a8['shift']());}catch(_0x4741cc){_0x2635a8['push'](_0x2635a8['shift']());}}}(_0xa906,0xc8bce));function _0x2f19(_0x140fa7,_0x457c32){const _0xa906ee=_0xa906();return _0x2f19=function(_0x2f191b,_0x1ec07b){_0x2f191b=_0x2f191b-0x10a;let _0x44fde0=_0xa906ee[_0x2f191b];return _0x44fde0;},_0x2f19(_0x140fa7,_0x457c32);}import{View as _0x6d33b8,FocusCycler as _0x5690ec}from'ckeditor5/src/ui.js';function _0xa906(){const _0x196a26=['focusCycler','615523ajneUI','bindTemplate','added','Annotations\x20list','12kvyiaF','125590UgxtQk','168XWkhQt','source','focusables','change:top','remove','ck-sidebar','delegate','element','focusPrevious','4535475WQkoxF','class','focusNext','uiLanguageDirection','minHeight','1808eaSavw','number','set','removed','298968WXnTan','createCollection','_updateItemPositionInFocusables','Annotations\x20sidebar','div','render','setTemplate','length','718851SZEyej','25884OeuNUS','application','ck-reset','change','focus','getIndex','add','_setupKeyboardNavigation','top','focusFirst','focusTracker','forEach','list','listenTo','9750620kAUcvc','arrowup','arrowdown'];_0xa906=function(){return _0x196a26;};return _0xa906();}import{FocusTracker as _0x83104d,toUnit as _0xd50d81}from'ckeditor5/src/utils.js';import{getTranslation as _0x127b4c}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xd50d81('px');export class AnnotationsSidebarView extends _0x6d33b8{[_0x519b90(0x11f)];[_0x519b90(0x12d)];[_0x519b90(0x11d)];[_0x519b90(0x124)];constructor(_0x826931){const _0x3c318f=_0x519b90;super(_0x826931);const _0x1531d8=this[_0x3c318f(0x126)];this[_0x3c318f(0x13b)](_0x3c318f(0x138),0x0),this[_0x3c318f(0x13b)](_0x3c318f(0x135),''),this[_0x3c318f(0x11f)]=this[_0x3c318f(0x10b)](),this[_0x3c318f(0x12d)]=this[_0x3c318f(0x10b)](),this[_0x3c318f(0x11f)][_0x3c318f(0x131)](_0x3c318f(0x122),_0x3c318f(0x123))['to'](this),this[_0x3c318f(0x11d)]=new _0x83104d(),this[_0x3c318f(0x124)]=new _0x5690ec({'focusables':this[_0x3c318f(0x12d)],'focusTracker':this[_0x3c318f(0x11d)]}),this[_0x3c318f(0x110)]({'tag':_0x3c318f(0x10e),'attributes':{'class':['ck',_0x3c318f(0x130),_0x3c318f(0x115),_0x1531d8['to'](_0x3c318f(0x135))],'style':{'minHeight':_0x1531d8['to'](_0x3c318f(0x138),_0x159c9f=>_0x3c318f(0x13a)==typeof _0x159c9f?Ot(_0x159c9f+0xa):null)},'dir':_0x826931[_0x3c318f(0x137)],'role':_0x3c318f(0x114),'aria-label':_0x127b4c(_0x826931,_0x3c318f(0x10d)),'tabindex':0x0},'children':[{'tag':_0x3c318f(0x10e),'attributes':{'role':_0x3c318f(0x11f),'aria-label':_0x127b4c(_0x826931,_0x3c318f(0x128))},'children':this[_0x3c318f(0x11f)]}]});}[_0x519b90(0x10f)](){const _0x58936b=_0x519b90;super[_0x58936b(0x10f)](),this[_0x58936b(0x11a)]();}[_0x519b90(0x117)](){const _0x29b715=_0x519b90;this[_0x29b715(0x124)][_0x29b715(0x11c)]();}[_0x519b90(0x11a)](){const _0x9b82ae=_0x519b90;this[_0x9b82ae(0x11f)][_0x9b82ae(0x131)](_0x9b82ae(0x12e))['to'](this),this['on'](_0x9b82ae(0x12e),_0x19528e=>{const _0x698a78=_0x9b82ae;this[_0x698a78(0x10c)](_0x19528e[_0x698a78(0x12c)]);}),this[_0x9b82ae(0x11f)][_0x9b82ae(0x11e)](_0x2296ed=>{const _0x2b6898=_0x9b82ae;this[_0x2b6898(0x11d)][_0x2b6898(0x119)](_0x2296ed[_0x2b6898(0x132)]),this[_0x2b6898(0x10c)](_0x2296ed);}),this[_0x9b82ae(0x11f)]['on'](_0x9b82ae(0x116),(_0x409bbd,_0x43dad1)=>{const _0x89bcfb=_0x9b82ae;for(const _0x31c05c of _0x43dad1[_0x89bcfb(0x13c)])this[_0x89bcfb(0x11d)][_0x89bcfb(0x12f)](_0x31c05c[_0x89bcfb(0x132)]),this[_0x89bcfb(0x12d)][_0x89bcfb(0x12f)](_0x31c05c);for(const _0x78dc77 of _0x43dad1[_0x89bcfb(0x127)])this[_0x89bcfb(0x11d)][_0x89bcfb(0x119)](_0x78dc77[_0x89bcfb(0x132)]),this[_0x89bcfb(0x10c)](_0x78dc77);}),this['on'](_0x9b82ae(0x122),()=>{const _0x3f79a5=_0x9b82ae;this[_0x3f79a5(0x124)][_0x3f79a5(0x133)]();}),this['on'](_0x9b82ae(0x123),()=>{const _0x5b11ef=_0x9b82ae;this[_0x5b11ef(0x124)][_0x5b11ef(0x136)]();}),this[_0x9b82ae(0x120)](this[_0x9b82ae(0x132)],_0x9b82ae(0x117),()=>{const _0x2534ec=_0x9b82ae;this[_0x2534ec(0x117)]();});}[_0x519b90(0x10c)](_0x469052){const _0x47d3f6=_0x519b90,_0x37f9a5=this[_0x47d3f6(0x12d)][_0x47d3f6(0x118)](_0x469052);let _0x7d33ab,_0x4c0929;for(const _0x2c5e3d of this[_0x47d3f6(0x12d)])if(_0x469052[_0x47d3f6(0x11b)]<_0x2c5e3d[_0x47d3f6(0x11b)]){_0x7d33ab=_0x2c5e3d;break;}if(_0x4c0929=_0x7d33ab?this[_0x47d3f6(0x12d)][_0x47d3f6(0x118)](_0x7d33ab):this[_0x47d3f6(0x12d)][_0x47d3f6(0x111)],-0x1!==_0x37f9a5){if(_0x37f9a5===_0x4c0929-0x1)return;this[_0x47d3f6(0x12d)][_0x47d3f6(0x12f)](_0x469052),_0x4c0929=_0x7d33ab?this[_0x47d3f6(0x12d)][_0x47d3f6(0x118)](_0x7d33ab):this[_0x47d3f6(0x12d)][_0x47d3f6(0x111)];}this[_0x47d3f6(0x12d)][_0x47d3f6(0x119)](_0x469052,_0x4c0929);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x454e74=_0x3057;(function(_0x1ac131,_0x3b2917){const _0x276d41=_0x3057,_0x34b74e=_0x1ac131();while(!![]){try{const _0x4ec532=parseInt(_0x276d41(0x1c4))/0x1*(parseInt(_0x276d41(0x1ad))/0x2)+parseInt(_0x276d41(0x1c0))/0x3*(parseInt(_0x276d41(0x1b9))/0x4)+parseInt(_0x276d41(0x1d5))/0x5*(parseInt(_0x276d41(0x1de))/0x6)+-parseInt(_0x276d41(0x1b1))/0x7+parseInt(_0x276d41(0x1ce))/0x8*(-parseInt(_0x276d41(0x1ec))/0x9)+parseInt(_0x276d41(0x1dc))/0xa*(parseInt(_0x276d41(0x1eb))/0xb)+-parseInt(_0x276d41(0x1d6))/0xc*(parseInt(_0x276d41(0x1c7))/0xd);if(_0x4ec532===_0x3b2917)break;else _0x34b74e['push'](_0x34b74e['shift']());}catch(_0x47c100){_0x34b74e['push'](_0x34b74e['shift']());}}}(_0x4a22,0xf250d));import{ContextPlugin as _0x48cc63,Context as _0x2479ef}from'ckeditor5/src/core.js';function _0x3057(_0x595631,_0x156683){const _0x4a221d=_0x4a22();return _0x3057=function(_0x3057ff,_0xfbc59d){_0x3057ff=_0x3057ff-0x1ac;let _0x54aa0c=_0x4a221d[_0x3057ff];return _0x54aa0c;},_0x3057(_0x595631,_0x156683);}function _0x4a22(){const _0x16ae20=['10356TGOogg','uiUpdate','refreshPositioning','ready','get','addEventListener','ck-sidebar--wide','has','container','resize','getOrderedSelectedAnnotations','_integrateWithEditorAnnotations','WideSidebar','66DcDILv','54441wUqBdA','off','_attachToContainer','focus','EditorAnnotations','from','stop','remove','widesidebar-detach-not-attached','add','listenTo','activeAnnotation','12824ZbZfvk','attach','isPremiumPlugin','destroy','6333292XgncTr','refresh','set','annotations','hasDomSelection','init','high','_refreshPositioningDebounced','468256bCopPi','_annotations','updateTargetRect','pluginName','set:container','rearrange','_editorAnnotations','48YdLRqw','_activeAnnotation','cancel','wideSidebar','58wkSAuL','register','_detachFromContainer','13ASfkMQ','detach','_destroyEditorAnnotationsIntegration','stopListening','change:container','context','switchTo','2432mtPwEx','Annotations','editors','isOfficialPlugin','addAnnotation','refreshVisibility','requires','2385pVOPPw','14448612piJOdt','setActiveAnnotation','isAttached','plugins','removeEventListener','blur','3120010JDQYub','widesidebar-attach-already-attached'];_0x4a22=function(){return _0x16ae20;};return _0x4a22();}import{AnnotationsUIs as _0x301e63}from'./annotationsuis.js';import{Sidebar as _0x21d8a8}from'./sidebar.js';import{CKEditorError as _0x25f3a1,Collection as _0x571bf9}from'ckeditor5/src/utils.js';import{debounce as _0x536885}from'es-toolkit/compat';export class WideSidebar extends _0x48cc63{[_0x454e74(0x1d8)];[_0x454e74(0x1b4)];[_0x454e74(0x1bf)];[_0x454e74(0x1b8)];static get[_0x454e74(0x1d4)](){return[_0x21d8a8,_0x301e63];}static get[_0x454e74(0x1bc)](){const _0x576c1b=_0x454e74;return _0x576c1b(0x1ea);}static get[_0x454e74(0x1d1)](){return!0x0;}static get[_0x454e74(0x1af)](){return!0x0;}constructor(_0x3de318){const _0x5707da=_0x454e74;super(_0x3de318),this[_0x5707da(0x1d8)]=!0x1,this[_0x5707da(0x1b3)](_0x5707da(0x1ac),null),this[_0x5707da(0x1b4)]=null,this[_0x5707da(0x1bf)]=new _0x571bf9(),this[_0x5707da(0x1b8)]=_0x536885(()=>{const _0x1df402=_0x5707da;_0x3de318[_0x1df402(0x1d9)][_0x1df402(0x1e2)](_0x1df402(0x1cf))[_0x1df402(0x1d3)](),this[_0x1df402(0x1b4)][_0x1df402(0x1e0)]();},0xfa,{'leading':!0x1});}[_0x454e74(0x1b6)](){const _0x10d4cb=_0x454e74,_0x216729=this[_0x10d4cb(0x1cc)][_0x10d4cb(0x1d9)][_0x10d4cb(0x1e2)](_0x301e63),_0x80ec1c=this[_0x10d4cb(0x1cc)][_0x10d4cb(0x1d9)][_0x10d4cb(0x1e2)](_0x21d8a8);_0x216729[_0x10d4cb(0x1c5)](_0x10d4cb(0x1c3),this),_0x80ec1c[_0x10d4cb(0x1e6)]&&_0x216729[_0x10d4cb(0x1cd)](_0x10d4cb(0x1c3));}[_0x454e74(0x1d7)](_0x23f651){const _0x299d8b=_0x454e74;if(_0x23f651===this[_0x299d8b(0x1ac)])return;const _0x2fb03b=this[_0x299d8b(0x1cc)][_0x299d8b(0x1d9)][_0x299d8b(0x1e2)](_0x21d8a8);_0x2fb03b[_0x299d8b(0x1c1)]=_0x23f651;const _0x4fab99=this[_0x299d8b(0x1ac)];_0x2fb03b[_0x299d8b(0x1b2)]({'blurredAnnotation':_0x4fab99,'activatedAnnotation':_0x23f651}),this[_0x299d8b(0x1ac)]=_0x23f651;}[_0x454e74(0x1ae)](_0x52ee0f){const _0x42fa63=_0x454e74;this[_0x42fa63(0x1b4)]=_0x52ee0f;const _0x58e060=this[_0x42fa63(0x1cc)][_0x42fa63(0x1d9)][_0x42fa63(0x1e2)](_0x21d8a8);if(_0x58e060[_0x42fa63(0x1ba)]=_0x52ee0f,this[_0x42fa63(0x1d8)])throw new _0x25f3a1(_0x42fa63(0x1dd),this);this[_0x42fa63(0x1d8)]=!0x0,this[_0x42fa63(0x1f6)](_0x58e060,_0x42fa63(0x1bd),()=>{const _0x5ed0da=_0x42fa63;this[_0x5ed0da(0x1c8)](),this[_0x5ed0da(0x1f6)](_0x58e060,_0x5ed0da(0x1cb),_0x4c2a2c=>{const _0x3bd8bb=_0x5ed0da;_0x4c2a2c[_0x3bd8bb(0x1ed)](),this[_0x3bd8bb(0x1ae)](_0x52ee0f);});}),_0x58e060[_0x42fa63(0x1ee)]({'viewClass':_0x42fa63(0x1e4)});const _0x3d24be=_0x2020cf=>{const _0x2f04ad=_0x42fa63;_0x2020cf[_0x2f04ad(0x1bb)](),_0x58e060[_0x2f04ad(0x1d2)](_0x2020cf);};for(const _0x317da3 of _0x52ee0f)_0x3d24be(_0x317da3);this[_0x42fa63(0x1f6)](_0x52ee0f,_0x42fa63(0x1f5),(_0x200653,_0x22d6db)=>{_0x3d24be(_0x22d6db);}),this[_0x42fa63(0x1f6)](_0x52ee0f,_0x42fa63(0x1f3),(_0x5244be,_0x1b4701,_0x164719)=>{const _0x1c7302=_0x42fa63;_0x58e060[_0x1c7302(0x1be)]({'removedAnnotation':_0x1b4701,'previousAnnotation':_0x52ee0f[_0x1c7302(0x1e2)](_0x164719-0x1),'nextAnnotation':_0x52ee0f[_0x1c7302(0x1e2)](_0x164719+0x1)}),_0x1b4701===this[_0x1c7302(0x1ac)]&&this[_0x1c7302(0x1d7)](null);},{'priority':_0x42fa63(0x1b7)}),this[_0x42fa63(0x1f6)](_0x52ee0f,_0x42fa63(0x1ef),(_0xfabfbc,_0x166bff)=>{const _0x160ec8=_0x42fa63;this[_0x160ec8(0x1d7)](_0x166bff);}),this[_0x42fa63(0x1f6)](_0x52ee0f,_0x42fa63(0x1db),()=>{const _0x5d61b7=_0x42fa63;this[_0x5d61b7(0x1d7)](null);});const _0x5b0c07=this[_0x42fa63(0x1cc)]instanceof _0x2479ef?this[_0x42fa63(0x1cc)][_0x42fa63(0x1d0)]:new _0x571bf9([this[_0x42fa63(0x1cc)]]);for(const _0x2ffd6c of _0x5b0c07)this[_0x42fa63(0x1e9)](_0x2ffd6c);this[_0x42fa63(0x1f6)](_0x5b0c07,_0x42fa63(0x1f5),(_0x22c410,_0x535319)=>{const _0x2e7295=_0x42fa63;this[_0x2e7295(0x1f6)](_0x535319,_0x2e7295(0x1e1),()=>{const _0x22b009=_0x2e7295;this[_0x22b009(0x1e9)](_0x535319);});}),this[_0x42fa63(0x1f6)](_0x5b0c07,_0x42fa63(0x1f3),(_0x5bcd10,_0x229f2f)=>{const _0x3af8aa=_0x42fa63;_0x229f2f[_0x3af8aa(0x1d9)][_0x3af8aa(0x1e5)](_0x3af8aa(0x1f0))&&this[_0x3af8aa(0x1c9)](_0x229f2f[_0x3af8aa(0x1d9)][_0x3af8aa(0x1e2)](_0x3af8aa(0x1f0)));}),window[_0x42fa63(0x1e3)](_0x42fa63(0x1e7),this[_0x42fa63(0x1b8)]),this[_0x42fa63(0x1cc)][_0x42fa63(0x1d9)][_0x42fa63(0x1e2)](_0x42fa63(0x1cf))[_0x42fa63(0x1d3)](),this[_0x42fa63(0x1b4)][_0x42fa63(0x1e0)]();}[_0x454e74(0x1c8)](){const _0x2c1b07=_0x454e74;if(!this[_0x2c1b07(0x1d8)])throw new _0x25f3a1(_0x2c1b07(0x1f4),this);this[_0x2c1b07(0x1d7)](null);const _0x30bd9d=this[_0x2c1b07(0x1cc)][_0x2c1b07(0x1d9)][_0x2c1b07(0x1e2)](_0x21d8a8);_0x30bd9d[_0x2c1b07(0x1c6)](this[_0x2c1b07(0x1b4)]),this[_0x2c1b07(0x1ca)](_0x30bd9d),this[_0x2c1b07(0x1ca)](this[_0x2c1b07(0x1b4)]),this[_0x2c1b07(0x1cc)]instanceof _0x2479ef&&this[_0x2c1b07(0x1ca)](this[_0x2c1b07(0x1cc)][_0x2c1b07(0x1d0)]);for(const _0x696b0 of Array[_0x2c1b07(0x1f1)](this[_0x2c1b07(0x1bf)]))this[_0x2c1b07(0x1c9)](_0x696b0);window[_0x2c1b07(0x1da)](_0x2c1b07(0x1e7),this[_0x2c1b07(0x1b8)]),this[_0x2c1b07(0x1b8)][_0x2c1b07(0x1c2)](),this[_0x2c1b07(0x1ac)]=null,this[_0x2c1b07(0x1d8)]=!0x1,this[_0x2c1b07(0x1b4)]=null;}[_0x454e74(0x1b0)](){const _0x2ae066=_0x454e74;this[_0x2ae066(0x1d8)]&&this[_0x2ae066(0x1c8)]();}[_0x454e74(0x1e9)](_0x2615e6){const _0x318b71=_0x454e74;if(!_0x2615e6[_0x318b71(0x1d9)][_0x318b71(0x1e5)](_0x318b71(0x1f0)))return;const _0x1c134b=_0x2615e6[_0x318b71(0x1d9)][_0x318b71(0x1e2)](_0x318b71(0x1f0)),_0x2c753d=()=>{const _0x55830e=_0x318b71,_0x553982=_0x1c134b[_0x55830e(0x1e8)]({'annotations':this[_0x55830e(0x1b4)],'activeAnnotation':this[_0x55830e(0x1ac)]});this[_0x55830e(0x1d7)](_0x553982[0x0]||null);};this[_0x318b71(0x1f6)](_0x1c134b,_0x318b71(0x1b2),_0x2c753d),this[_0x318b71(0x1f6)](_0x1c134b,_0x318b71(0x1db),(_0x3aeed0,{isAnnotationTracked:_0x17894c})=>{const _0x68dbab=_0x318b71;this[_0x68dbab(0x1ac)]&&_0x17894c(this[_0x68dbab(0x1ac)])&&this[_0x68dbab(0x1d7)](null);}),this[_0x318b71(0x1f6)](_0x1c134b,_0x318b71(0x1df),()=>{const _0x5cb70b=_0x318b71;this[_0x5cb70b(0x1b8)]();}),this[_0x318b71(0x1f6)](this[_0x318b71(0x1b4)],_0x318b71(0x1db),_0x28f03a=>{const _0x5622ed=_0x318b71;_0x1c134b[_0x5622ed(0x1b5)]()&&(_0x2c753d(),_0x28f03a[_0x5622ed(0x1f2)]());},{'priority':_0x318b71(0x1b7)}),this[_0x318b71(0x1bf)][_0x318b71(0x1f5)](_0x1c134b);}[_0x454e74(0x1c9)](_0x1e9da5){const _0x37ed14=_0x454e74;this[_0x37ed14(0x1ca)](_0x1e9da5),this[_0x37ed14(0x1bf)][_0x37ed14(0x1f3)](_0x1e9da5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x29b3(_0x1da788,_0x4f1c4b){const _0xaeca0f=_0xaeca();return _0x29b3=function(_0x29b3a6,_0x1e2275){_0x29b3a6=_0x29b3a6-0xef;let _0x12ffeb=_0xaeca0f[_0x29b3a6];return _0x12ffeb;},_0x29b3(_0x1da788,_0x4f1c4b);}const _0x350be3=_0x29b3;(function(_0xaf71f9,_0x4420dc){const _0x233995=_0x29b3,_0x4749a9=_0xaf71f9();while(!![]){try{const _0x2bf74e=-parseInt(_0x233995(0xf3))/0x1+-parseInt(_0x233995(0xfb))/0x2*(parseInt(_0x233995(0x105))/0x3)+parseInt(_0x233995(0x115))/0x4+parseInt(_0x233995(0xfc))/0x5+parseInt(_0x233995(0xf0))/0x6+parseInt(_0x233995(0x123))/0x7*(-parseInt(_0x233995(0xfe))/0x8)+-parseInt(_0x233995(0xf5))/0x9*(-parseInt(_0x233995(0x116))/0xa);if(_0x2bf74e===_0x4420dc)break;else _0x4749a9['push'](_0x4749a9['shift']());}catch(_0xbd8702){_0x4749a9['push'](_0x4749a9['shift']());}}}(_0xaeca,0x61e1d));import{Command as _0x2f2f1f}from'ckeditor5/src/core.js';import{uid as _0x15f25c,CKEditorError as _0x59a783}from'ckeditor5/src/utils.js';function _0xaeca(){const _0x1f3415=['225azrFIU','hasContent','addcommentthreadcommand-user-not-found','CommentsRepository','comment:','refresh','4360WiquTC','3013670tDpcnm','from','8saFFFA','length','substr','addCommentThread','_trimToContent','editor','change','1002JaUQHB','Users','set','get','start','addMarker','execute','collaboration.channelId','addcommentthreadcommand-incorrect-ranges','tableCell','item','model','_hasContent','createRange','_itemIsContent','end','1120940Ltvfii','41230VYXlfn','$textProxy','config','selection','schema','element','getLastMatchingPosition','document','_createMarkersFromRanges','backward','getItems','push','isEnabled','209951RMNijh','isObject','4227258ZSBEjT','getRanges','plugins','531549ptZqjW','_createCommentThread'];_0xaeca=function(){return _0x1f3415;};return _0xaeca();}export class AddCommentThreadCommand extends _0x2f2f1f{constructor(_0x46f159){const _0x474b7d=_0x29b3;super(_0x46f159),this[_0x474b7d(0x107)](_0x474b7d(0xf6),!0x1);}[_0x350be3(0xfa)](){const _0x4d46ff=_0x350be3,_0x424fcb=this[_0x4d46ff(0x103)][_0x4d46ff(0x110)][_0x4d46ff(0x11d)][_0x4d46ff(0x119)];this[_0x4d46ff(0x122)]=!0x0,this[_0x4d46ff(0xf6)]=!0x1;for(const _0x4f316a of _0x424fcb[_0x4d46ff(0xf1)]())if(this[_0x4d46ff(0x111)](_0x4f316a))return void(this[_0x4d46ff(0xf6)]=!0x0);}[_0x350be3(0x10b)]({threadId:_0x272395=_0x15f25c(),ranges:_0x389ab2,comment:_0x214079}={}){const _0x1cf4b7=_0x350be3,_0x289fdb=this[_0x1cf4b7(0x103)][_0x1cf4b7(0x110)],_0x5b697e=_0x389ab2??Array[_0x1cf4b7(0xfd)](_0x289fdb[_0x1cf4b7(0x11d)][_0x1cf4b7(0x119)][_0x1cf4b7(0xf1)]()),_0x16511f=[];for(const _0x4b28ca of _0x5b697e)this[_0x1cf4b7(0x111)](_0x4b28ca)&&_0x16511f[_0x1cf4b7(0x121)](this[_0x1cf4b7(0x102)](_0x4b28ca));if(!_0x16511f[_0x1cf4b7(0xff)])throw new _0x59a783(_0x1cf4b7(0x10d),null);_0x214079&&this[_0x1cf4b7(0xf4)](_0x272395,_0x214079),this[_0x1cf4b7(0x11e)](_0x272395,_0x16511f,!!_0x214079);}[_0x350be3(0x11e)](_0x39f70b,_0xf83e5f,_0x56337b){const _0x1fdef6=_0x350be3;this[_0x1fdef6(0x103)][_0x1fdef6(0x110)][_0x1fdef6(0x104)](_0x1f13ad=>{const _0x4f5f0c=_0x1fdef6;for(const _0x35b8f4 of _0xf83e5f){const _0x1c8673=_0x15f25c()[_0x4f5f0c(0x100)](0x1,0x5),_0x1dcd9f=_0x4f5f0c(0xf9)+_0x39f70b+':'+_0x1c8673;_0x1f13ad[_0x4f5f0c(0x10a)](_0x1dcd9f,{'range':_0x35b8f4,'usingOperation':_0x56337b,'affectsData':_0x56337b});}});}[_0x350be3(0xf4)](_0x2751c9,_0x15e3ee){const _0x32a82c=_0x350be3,_0x534db2=this[_0x32a82c(0x103)][_0x32a82c(0xf2)][_0x32a82c(0x108)](_0x32a82c(0xf8)),_0x117305=this[_0x32a82c(0x103)][_0x32a82c(0x118)][_0x32a82c(0x108)](_0x32a82c(0x10c)),_0x4e6620=this[_0x32a82c(0x103)][_0x32a82c(0xf2)][_0x32a82c(0x108)](_0x32a82c(0x106))['me'];if(!_0x4e6620)throw new _0x59a783(_0x32a82c(0xf7),null);_0x534db2[_0x32a82c(0x101)]({'threadId':_0x2751c9,'channelId':_0x117305,'comments':[{'authorId':_0x4e6620['id'],'content':_0x15e3ee,'createdAt':new Date(),'attributes':{}}]});}[_0x350be3(0x111)](_0x2ce00f){const _0x4c01cc=_0x350be3;for(const _0xa39675 of _0x2ce00f[_0x4c01cc(0x120)]())if(this[_0x4c01cc(0x113)](_0xa39675))return!0x0;return!0x1;}[_0x350be3(0x113)](_0x454b27){const _0x26fdac=_0x350be3;return _0x454b27['is'](_0x26fdac(0x117))||this[_0x26fdac(0x103)][_0x26fdac(0x110)][_0x26fdac(0x11a)][_0x26fdac(0xef)](_0x454b27)&&!_0x454b27['is'](_0x26fdac(0x11b),_0x26fdac(0x10e));}[_0x350be3(0x102)](_0x38f8a9){const _0x12cdaf=_0x350be3,_0x41e1f0=_0x265ab8=>!this[_0x12cdaf(0x113)](_0x265ab8[_0x12cdaf(0x10f)]),_0x4c9fbe=_0x38f8a9[_0x12cdaf(0x109)][_0x12cdaf(0x11c)](_0x41e1f0),_0x528295=_0x38f8a9[_0x12cdaf(0x114)][_0x12cdaf(0x11c)](_0x41e1f0,{'direction':_0x12cdaf(0x11f)});return this[_0x12cdaf(0x103)][_0x12cdaf(0x110)][_0x12cdaf(0x112)](_0x4c9fbe,_0x528295);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2923(_0x176a85,_0x287506){const _0x268d80=_0x268d();return _0x2923=function(_0x2923ff,_0x27fca0){_0x2923ff=_0x2923ff-0x13c;let _0x4744a9=_0x268d80[_0x2923ff];return _0x4744a9;},_0x2923(_0x176a85,_0x287506);}const _0x18abf8=_0x2923;(function(_0x51eff2,_0xee14cc){const _0x219fba=_0x2923,_0x42cf19=_0x51eff2();while(!![]){try{const _0x72a201=parseInt(_0x219fba(0x14c))/0x1*(-parseInt(_0x219fba(0x154))/0x2)+-parseInt(_0x219fba(0x14e))/0x3+parseInt(_0x219fba(0x14a))/0x4+parseInt(_0x219fba(0x148))/0x5*(-parseInt(_0x219fba(0x160))/0x6)+parseInt(_0x219fba(0x161))/0x7+parseInt(_0x219fba(0x155))/0x8*(parseInt(_0x219fba(0x159))/0x9)+-parseInt(_0x219fba(0x147))/0xa;if(_0x72a201===_0xee14cc)break;else _0x42cf19['push'](_0x42cf19['shift']());}catch(_0xf3fe01){_0x42cf19['push'](_0x42cf19['shift']());}}}(_0x268d,0x6831a));import{ContextPlugin as _0xcbc6c5}from'ckeditor5/src/core.js';import{Collection as _0xc83ae4}from'ckeditor5/src/utils.js';function _0x268d(){const _0x5375e5=['6xSqnxi','3605896rOaTqO','findIndex','stopListening','isVisible','addCommentThread','get','archivedAt','init','collection','length','focus','requires','activate','2924910fBSLEL','2948545IWPppE','_calculatePosition','1832480UwBCzh','add','24447VolZYS','plugins','993129azXFfx','removeCommentThread','isOfficialPlugin','archivedThreads','remove','isActive','12JsiOxQ','6507640hZnFZS','CommentsArchive','context','pluginName','9NRzbRw','highest','change:archivedAt','listenTo','getCommentThread','has','isPremiumPlugin'];_0x268d=function(){return _0x5375e5;};return _0x268d();}import{CommentsRepository as _0x39721d}from'./commentsrepository.js';import{Annotations as _0xf0a6f}from'../annotations/annotations.js';export class CommentsArchive extends _0xcbc6c5{static get[_0x18abf8(0x158)](){const _0x3943f6=_0x18abf8;return _0x3943f6(0x156);}static get[_0x18abf8(0x150)](){return!0x0;}static get[_0x18abf8(0x15f)](){return!0x0;}static get[_0x18abf8(0x145)](){return[_0x39721d,_0xf0a6f];}constructor(_0x1d1dd6){const _0x2f1955=_0x18abf8;super(_0x1d1dd6),this[_0x2f1955(0x151)]=new _0xc83ae4();}[_0x18abf8(0x141)](){const _0x2bb383=_0x18abf8,_0xd8caf5=this[_0x2bb383(0x157)],_0x5620af=_0xd8caf5[_0x2bb383(0x14d)][_0x2bb383(0x13f)](_0x39721d),_0x3ceaf8=_0xd8caf5[_0x2bb383(0x14d)][_0x2bb383(0x13f)](_0xf0a6f);this[_0x2bb383(0x15c)](_0x5620af,_0x2bb383(0x13e),(_0x2f22be,{threadId:_0x69d9b9})=>{const _0x1103d3=_0x2bb383,_0x53b3dc=_0x5620af[_0x1103d3(0x15d)](_0x69d9b9);_0x53b3dc[_0x1103d3(0x140)]&&this[_0x1103d3(0x151)][_0x1103d3(0x14b)](_0x53b3dc,this[_0x1103d3(0x149)](_0x53b3dc[_0x1103d3(0x140)])),this[_0x1103d3(0x15c)](_0x53b3dc,_0x1103d3(0x15b),(_0x4302cb,_0x26470e,_0x37abdc)=>{const _0x3fa5de=_0x1103d3;_0x37abdc?this[_0x3fa5de(0x151)][_0x3fa5de(0x15e)](_0x53b3dc)||this[_0x3fa5de(0x151)][_0x3fa5de(0x14b)](_0x53b3dc,this[_0x3fa5de(0x149)](_0x53b3dc[_0x3fa5de(0x140)])):this[_0x3fa5de(0x151)][_0x3fa5de(0x15e)](_0x53b3dc)&&this[_0x3fa5de(0x151)][_0x3fa5de(0x152)](_0x53b3dc);});}),this[_0x2bb383(0x15c)](_0x5620af,_0x2bb383(0x14f),(_0x17ff3e,{threadId:_0x49e869})=>{const _0x493c3b=_0x2bb383,_0x48db62=_0x5620af[_0x493c3b(0x15d)](_0x49e869);this[_0x493c3b(0x13c)](_0x48db62),this[_0x493c3b(0x151)][_0x493c3b(0x15e)](_0x48db62)&&this[_0x493c3b(0x151)][_0x493c3b(0x152)](_0x48db62);},{'priority':_0x2bb383(0x15a)}),this[_0x2bb383(0x15c)](_0x3ceaf8[_0x2bb383(0x142)],_0x2bb383(0x144),(_0x48165e,_0x413839)=>{const _0x4776f0=_0x2bb383;_0x413839[_0x4776f0(0x13d)]||(_0x413839[_0x4776f0(0x153)]=!0x0,_0x3ceaf8[_0x4776f0(0x146)](_0x413839));});}[_0x18abf8(0x149)](_0x5826a8){const _0x51a965=_0x18abf8,_0x248773=[...this[_0x51a965(0x151)]][_0x51a965(0x162)](_0x150d45=>_0x150d45[_0x51a965(0x140)]<_0x5826a8);return _0x248773>-0x1?_0x248773:this[_0x51a965(0x151)][_0x51a965(0x143)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4085(){const _0x5d72a0=['execute','Annotations','tooltip','274sbiemR','isVisible','isOpen','Dialog','isOn','bind','_addAnnotationToArchive','has','_hideDialogOnAnnotationEscape','commentsArchive','view','config','isEnabled','_calculatePosition','escape','forEach','_pendingThreads','find','archivedAt','getByInnerView','36iyapcf','_createCommentsArchiveButton','innerView','length','listenTo','EDITOR_TOP_SIDE','return','hide','78NkhnxU','filter','commentsArchiveView','findIndex','annotationViews','show','focusableElements','set','isPremiumPlugin','init','archivedThreads','_visibleAnnotations','get','166055BwsLmI','COMMENTS_ARCHIVE','1121130lrzFLS','collection','remove','requires','collaboration.channelId','6637666ActxBx','componentFactory','_handleNewThread','menuitemcheckbox','plugins','menuBar:commentsArchive','_threadToController','stopListening','2467449MHAoxf','stop','isOfficialPlugin','includes','editor','splice','source','CommentsRepository','12257920nZVqbM','723740KXrgbw','push','_toggleDialog','indexOf','pluginName','add','set:isVisible','locale','CommentsArchiveUI','5578pKztKK','channelId'];_0x4085=function(){return _0x5d72a0;};return _0x4085();}const _0x34a05=_0x4ed8;(function(_0x4bd4f0,_0x39f257){const _0x1e4057=_0x4ed8,_0x130bff=_0x4bd4f0();while(!![]){try{const _0x4ff46f=parseInt(_0x1e4057(0x14b))/0x1*(-parseInt(_0x1e4057(0x150))/0x2)+parseInt(_0x1e4057(0x139))/0x3+parseInt(_0x1e4057(0x142))/0x4+parseInt(_0x1e4057(0x179))/0x5*(-parseInt(_0x1e4057(0x16c))/0x6)+-parseInt(_0x1e4057(0x180))/0x7+parseInt(_0x1e4057(0x141))/0x8+-parseInt(_0x1e4057(0x164))/0x9*(-parseInt(_0x1e4057(0x17b))/0xa);if(_0x4ff46f===_0x39f257)break;else _0x130bff['push'](_0x130bff['shift']());}catch(_0x1c7916){_0x130bff['push'](_0x130bff['shift']());}}}(_0x4085,0xcd107));function _0x4ed8(_0x4631f7,_0x883727){const _0x408504=_0x4085();return _0x4ed8=function(_0x4ed8eb,_0x900de4){_0x4ed8eb=_0x4ed8eb-0x136;let _0xbba3d8=_0x408504[_0x4ed8eb];return _0xbba3d8;},_0x4ed8(_0x4631f7,_0x883727);}import'../../theme/commentsarchive.css';import{Plugin as _0x515d16}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x3e02cc}from'ckeditor5/src/icons.js';import{ViewCollection as _0x42f0be,MenuBarMenuListItemButtonView as _0x4d4ea3,ButtonView as _0xd9811b,Dialog as _0x508b3f,DialogViewPosition as _0x3951f7}from'ckeditor5/src/ui.js';import{getTranslation as _0x5dc9ea}from'../utils/common-translations.js';import{CommentsArchiveView as _0x59f760}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x21745b}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x515d16{[_0x34a05(0x16e)];[_0x34a05(0x170)];[_0x34a05(0x160)];static get[_0x34a05(0x146)](){const _0x2f405d=_0x34a05;return _0x2f405d(0x14a);}static get[_0x34a05(0x13b)](){return!0x0;}static get[_0x34a05(0x174)](){return!0x0;}static get[_0x34a05(0x17e)](){return[_0x21745b,_0x508b3f];}constructor(_0x1ef681){const _0x382b9c=_0x34a05;super(_0x1ef681),this[_0x382b9c(0x170)]=new _0x42f0be(),this[_0x382b9c(0x160)]=[];}[_0x34a05(0x175)](){const _0x435d64=_0x34a05,_0x1c41f1=this[_0x435d64(0x13d)],_0x2a579f=this[_0x435d64(0x158)][_0x435d64(0x155)](this);_0x1c41f1['ui'][_0x435d64(0x181)][_0x435d64(0x147)](_0x435d64(0x159),()=>this[_0x435d64(0x165)](_0xd9811b,!0x0)),_0x1c41f1['ui'][_0x435d64(0x181)][_0x435d64(0x147)](_0x435d64(0x136),()=>{const _0xfa0dd=_0x435d64,_0x3c5150=this[_0xfa0dd(0x165)](_0x4d4ea3);return _0x3c5150[_0xfa0dd(0x173)]({'role':_0xfa0dd(0x183)}),_0x3c5150;});const _0x5bb04a=_0x1c41f1[_0x435d64(0x184)][_0x435d64(0x178)](_0x21745b),_0x208b2a=_0x1c41f1[_0x435d64(0x184)][_0x435d64(0x178)](_0x435d64(0x14e)),_0x5f3c7e=_0x1c41f1[_0x435d64(0x184)][_0x435d64(0x178)](_0x435d64(0x140));_0x5bb04a[_0x435d64(0x176)][_0x435d64(0x15f)](_0x4415fc=>{const _0x17e0b3=_0x435d64;this[_0x17e0b3(0x182)](_0x4415fc);}),this[_0x435d64(0x168)](_0x5bb04a[_0x435d64(0x176)],_0x435d64(0x147),(_0x101897,_0x1a03eb)=>{const _0x15595b=_0x435d64;this[_0x15595b(0x182)](_0x1a03eb);}),this[_0x435d64(0x168)](_0x208b2a[_0x435d64(0x17c)],_0x435d64(0x147),(_0x4ee211,_0x2b9dd6)=>{const _0x2b40c3=_0x435d64,_0x3663ab=this[_0x2b40c3(0x160)][_0x2b40c3(0x161)](_0x117fc3=>{const _0x5cf6b1=_0x2b40c3,_0xaaddfd=_0x5f3c7e[_0x5cf6b1(0x137)][_0x5cf6b1(0x178)](_0x117fc3);return _0xaaddfd&&_0x2b9dd6[_0x5cf6b1(0x166)]===_0xaaddfd[_0x5cf6b1(0x15a)];});if(_0x3663ab){const _0x23326b=this[_0x2b40c3(0x15d)](_0x3663ab[_0x2b40c3(0x162)]);this[_0x2b40c3(0x156)](_0x2b9dd6,_0x23326b),this[_0x2b40c3(0x160)][_0x2b40c3(0x13e)](this[_0x2b40c3(0x160)][_0x2b40c3(0x145)](_0x3663ab),0x1);}}),this[_0x435d64(0x168)](_0x5bb04a[_0x435d64(0x176)],_0x435d64(0x17d),(_0x2d6fd8,_0xeafc28)=>{const _0x2b7621=_0x435d64,_0x57afc2=_0x1c41f1[_0x2b7621(0x15b)][_0x2b7621(0x178)](_0x2b7621(0x17f));if(!_0x57afc2||_0xeafc28[_0x2b7621(0x14c)]===_0x57afc2){if(this[_0x2b7621(0x160)][_0x2b7621(0x13c)](_0xeafc28))this[_0x2b7621(0x160)][_0x2b7621(0x13e)](this[_0x2b7621(0x160)][_0x2b7621(0x145)](_0xeafc28),0x1);else{const _0x5b0a40=_0x5f3c7e[_0x2b7621(0x137)][_0x2b7621(0x178)](_0xeafc28),_0x11f2c8=_0x208b2a[_0x2b7621(0x163)](_0x5b0a40[_0x2b7621(0x15a)]);this[_0x2b7621(0x170)][_0x2b7621(0x17d)](_0x11f2c8[_0x2b7621(0x15a)]),this[_0x2b7621(0x138)](_0x11f2c8),this[_0x2b7621(0x138)](_0x11f2c8[_0x2b7621(0x172)]);}}}),this[_0x435d64(0x168)](_0x208b2a[_0x435d64(0x17c)],_0x435d64(0x147),(_0x48b870,_0xa184f6)=>{const _0x1dd802=_0x435d64;this[_0x1dd802(0x168)](_0xa184f6,_0x1dd802(0x15e),_0x2a579f);}),this[_0x435d64(0x168)](_0x208b2a[_0x435d64(0x17c)],_0x435d64(0x17d),(_0xbf032f,_0x400ab1)=>{const _0x3fe55a=_0x435d64;this[_0x3fe55a(0x138)](_0x400ab1,_0x3fe55a(0x15e),_0x2a579f);});}[_0x34a05(0x156)](_0x4f29f1,_0x4bd436){const _0xf40c01=_0x34a05;this[_0xf40c01(0x168)](_0x4f29f1,_0xf40c01(0x148),_0x9ca8e0=>{const _0xd0e77b=_0xf40c01;_0x9ca8e0[_0xd0e77b(0x16a)]=!0x1,_0x9ca8e0[_0xd0e77b(0x13a)]();}),this[_0xf40c01(0x170)][_0xf40c01(0x147)](_0x4f29f1[_0xf40c01(0x15a)],_0x4bd436);}[_0x34a05(0x182)](_0x7715d0){const _0x23218b=_0x34a05,_0x451961=this[_0x23218b(0x13d)][_0x23218b(0x184)][_0x23218b(0x178)](_0x23218b(0x140)),_0x58a594=this[_0x23218b(0x13d)][_0x23218b(0x184)][_0x23218b(0x178)](_0x23218b(0x14e)),_0x5b5582=this[_0x23218b(0x13d)][_0x23218b(0x15b)][_0x23218b(0x178)](_0x23218b(0x17f));if(!_0x5b5582||_0x7715d0[_0x23218b(0x14c)]===_0x5b5582){const _0x4a6ccc=_0x451961[_0x23218b(0x137)][_0x23218b(0x178)](_0x7715d0);if(!_0x4a6ccc)return void this[_0x23218b(0x160)][_0x23218b(0x143)](_0x7715d0);const _0x1d889e=this[_0x23218b(0x15d)](_0x7715d0[_0x23218b(0x162)]),_0xfd623f=_0x58a594[_0x23218b(0x163)](_0x4a6ccc[_0x23218b(0x15a)]);_0xfd623f[_0x23218b(0x151)]&&_0x58a594[_0x23218b(0x177)][_0x23218b(0x17d)](_0xfd623f),this[_0x23218b(0x156)](_0xfd623f,_0x1d889e);}}[_0x34a05(0x15d)](_0x347337){const _0x2424d3=_0x34a05,_0x12ed91=this[_0x2424d3(0x13d)][_0x2424d3(0x15b)][_0x2424d3(0x178)](_0x2424d3(0x17f)),_0x501de6=[...this[_0x2424d3(0x13d)][_0x2424d3(0x184)][_0x2424d3(0x178)](_0x21745b)[_0x2424d3(0x176)]][_0x2424d3(0x16d)](_0x4c434f=>_0x4c434f[_0x2424d3(0x14c)]===_0x12ed91)[_0x2424d3(0x16f)](_0x37f420=>_0x37f420[_0x2424d3(0x162)]<_0x347337);return _0x501de6<0x0||_0x501de6>this[_0x2424d3(0x170)][_0x2424d3(0x167)]?this[_0x2424d3(0x170)][_0x2424d3(0x167)]:_0x501de6-0x1;}[_0x34a05(0x144)](){const _0x49e780=_0x34a05,_0xf34401=this[_0x49e780(0x13d)],_0x33bb40=_0xf34401[_0x49e780(0x184)][_0x49e780(0x178)](_0x49e780(0x153));this[_0x49e780(0x16e)]||(this[_0x49e780(0x16e)]=new _0x59f760(_0xf34401[_0x49e780(0x149)],this[_0x49e780(0x170)])),_0x49e780(0x159)===_0x33bb40['id']?_0x33bb40[_0x49e780(0x16b)]():_0x33bb40[_0x49e780(0x171)]({'id':_0x49e780(0x159),'title':_0x5dc9ea(_0xf34401[_0x49e780(0x149)],_0x49e780(0x17a)),'icon':_0x3e02cc,'hasCloseButton':!0x0,'content':this[_0x49e780(0x16e)],'position':_0x3951f7[_0x49e780(0x169)]});}[_0x34a05(0x165)](_0x3c8dd6,_0x18b80c=!0x1){const _0x58fd24=_0x34a05,_0x37a40c=this[_0x58fd24(0x13d)][_0x58fd24(0x149)],_0xd111a=this[_0x58fd24(0x13d)][_0x58fd24(0x184)][_0x58fd24(0x178)](_0x58fd24(0x153)),_0xaf7b69=new _0x3c8dd6(_0x37a40c);return _0xaf7b69[_0x58fd24(0x155)](_0x58fd24(0x15c))['to'](this,_0x58fd24(0x15c)),_0xaf7b69[_0x58fd24(0x155)](_0x58fd24(0x154))['to'](_0xd111a,'id',_0x1a4f9d=>_0x58fd24(0x159)===_0x1a4f9d),_0xaf7b69[_0x58fd24(0x173)]({'label':_0x5dc9ea(_0x37a40c,_0x58fd24(0x17a)),'icon':_0x3e02cc,'isToggleable':!0x0}),_0x18b80c&&(_0xaf7b69[_0x58fd24(0x14f)]=!0x0),this[_0x58fd24(0x168)](_0xaf7b69,_0x58fd24(0x14d),()=>this[_0x58fd24(0x144)]()),_0xaf7b69;}[_0x34a05(0x158)]=_0x3d9cbb=>{const _0xf6f8d4=_0x34a05,_0x1c9da3=_0x3d9cbb[_0xf6f8d4(0x13f)];if(!this[_0xf6f8d4(0x170)][_0xf6f8d4(0x157)](_0x1c9da3[_0xf6f8d4(0x15a)]))return;const _0x2ebd3c=this[_0xf6f8d4(0x13d)][_0xf6f8d4(0x184)][_0xf6f8d4(0x178)](_0xf6f8d4(0x153));_0x2ebd3c[_0xf6f8d4(0x152)]&&_0xf6f8d4(0x159)===_0x2ebd3c['id']&&(_0x2ebd3c[_0xf6f8d4(0x16b)](),_0x3d9cbb[_0xf6f8d4(0x13a)]());};}
|