@ckeditor/ckeditor5-comments 46.0.1-alpha.8 → 46.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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
|
-
const _0x1373f2=_0x2b19;(function(_0x240855,_0x30a14d){const _0x49ebde=_0x2b19,_0x293d51=_0x240855();while(!![]){try{const _0x38cbd7=parseInt(_0x49ebde(0xc7))/0x1+-parseInt(_0x49ebde(0x9d))/0x2+-parseInt(_0x49ebde(0xc4))/0x3+-parseInt(_0x49ebde(0xb0))/0x4+parseInt(_0x49ebde(0xc3))/0x5*(-parseInt(_0x49ebde(0xad))/0x6)+-parseInt(_0x49ebde(0x9b))/0x7*(parseInt(_0x49ebde(0xba))/0x8)+parseInt(_0x49ebde(0xca))/0x9;if(_0x38cbd7===_0x30a14d)break;else _0x293d51['push'](_0x293d51['shift']());}catch(_0x964921){_0x293d51['push'](_0x293d51['shift']());}}}(_0x35c6,0xd3fc0));import{ContextPlugin as _0x57c55a}from'ckeditor5/src/core.js';import{Rect as _0xf19d35,CKEditorError as _0x37ad0c}from'ckeditor5/src/utils.js';function _0x35c6(){const _0x20acdf=['get','appendChild','change:top','_attachToContainer','_targetTop','_updateLastItem','_destroySidebarItemView','bind','966ahevXj','config','719574CxZdjV','init','view','_spaceBetweenItems','addAnnotation','clear','element','targetRect','sidebar-attachtocontainer-missing-container','_alignToTargetRect','_annotations','nodeType','_alignForBottomChange','change:_lastItem','_recalculateBuffer','max','19038gjSiqW','_sidebarItemViewToAnnotation','define','1108724gvtpmY','container','pluginName','rearrange','updateHeight','_detachFromContainer','context','setContainer','Sidebar','_annotationToSidebarItemView','33704pChHLJ','sidebar-setcontainer-invalid-element','stopListening','change:targetRect','unbind','height','_getItemAfter','refresh','change:bottom','105YRVshI','4272036sZPXQs','_getMaxAvailableTop','last','672282vyXjCo','length','_createSidebarView','26145117WXTqpe','remove','content','sidebar.preventScrollOutOfView','_activeAnnotation','isAnimationDisabled','listenTo','push','getSidebarItemView','list','_getItemBefore','top','_setItemTop','getIndex','_recalculate','sidebar.container','locale','_alignAfterItem','destroy','isPremiumPlugin','object','bottom','_alignForTopChange','set','class','_lastItem','isActive','target','add','isOfficialPlugin','_getTargetTop','delete','_alignBeforeItem','minHeight','render'];_0x35c6=function(){return _0x20acdf;};return _0x35c6();}function _0x2b19(_0x3daf5b,_0xd4b828){const _0x35c63d=_0x35c6();return _0x2b19=function(_0x2b1942,_0x3d9b3){_0x2b1942=_0x2b1942-0x92;let _0x262066=_0x35c63d[_0x2b1942];return _0x262066;},_0x2b19(_0x3daf5b,_0xd4b828);}import{AnnotationsSidebarView as _0x15143c}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x24c2ae}from'./view/sidebaritemview.js';export class Sidebar extends _0x57c55a{[_0x1373f2(0x9f)];[_0x1373f2(0xce)];[_0x1373f2(0xa7)];[_0x1373f2(0xa0)];[_0x1373f2(0xae)];[_0x1373f2(0xb9)];[_0x1373f2(0xab)];static get[_0x1373f2(0xb2)](){const _0x4a9a0a=_0x1373f2;return _0x4a9a0a(0xb8);}static get[_0x1373f2(0xe7)](){return!0x0;}static get[_0x1373f2(0xdd)](){return!0x0;}constructor(_0x47823a){const _0xdee6e1=_0x1373f2;super(_0x47823a),this[_0xdee6e1(0xe1)](_0xdee6e1(0xe3),void 0x0),this[_0xdee6e1(0x9f)]=this[_0xdee6e1(0xc9)](),this[_0xdee6e1(0xe1)](_0xdee6e1(0xb1),null),this[_0xdee6e1(0xa0)]=0x19,this[_0xdee6e1(0xae)]=new Map(),this[_0xdee6e1(0xb9)]=new Map(),this[_0xdee6e1(0xb6)][_0xdee6e1(0x9c)][_0xdee6e1(0xaf)](_0xdee6e1(0xcd),!0x1),this[_0xdee6e1(0xa7)]=null,this[_0xdee6e1(0xce)]=null,this[_0xdee6e1(0xab)]=[];}[_0x1373f2(0x9e)](){const _0x279f7c=_0x1373f2,_0x545276=this[_0x279f7c(0xb6)][_0x279f7c(0x9c)][_0x279f7c(0x93)](_0x279f7c(0xd9));_0x545276&&this[_0x279f7c(0xb7)](_0x545276);}[_0x1373f2(0xb7)](_0x12aeb8){const _0x472f0a=_0x1373f2;if(!g(_0x12aeb8))throw new _0x37ad0c(_0x472f0a(0xbb));this[_0x472f0a(0xb1)]=_0x12aeb8;}[_0x1373f2(0x96)]({viewClass:_0x340261='',spaceBetweenItems:_0x3cfd49=0x19}={}){const _0x4ef532=_0x1373f2;if(!g(this[_0x4ef532(0xb1)]))throw new _0x37ad0c(_0x4ef532(0xa5),this);this[_0x4ef532(0xb1)][_0x4ef532(0x94)](this[_0x4ef532(0x9f)][_0x4ef532(0xa3)]),this[_0x4ef532(0x9f)][_0x4ef532(0xe2)]=_0x340261,this[_0x4ef532(0xa0)]=_0x3cfd49;}[_0x1373f2(0xb3)]({removedAnnotation:_0xa71515,previousAnnotation:_0x4d99c4,nextAnnotation:_0x424223}){const _0x29d90f=_0x1373f2,_0x523835=this[_0x29d90f(0xd2)](_0xa71515);this[_0x29d90f(0x9f)][_0x29d90f(0xd3)][_0x29d90f(0xcb)](_0x523835),this[_0x29d90f(0x99)](_0xa71515),_0x4d99c4&&this[_0x29d90f(0xa6)](this[_0x29d90f(0xd2)](_0x4d99c4)),_0x424223&&this[_0x29d90f(0xa6)](this[_0x29d90f(0xd2)](_0x424223)),this[_0x29d90f(0x98)]();}[_0x1373f2(0xc1)]({blurredAnnotation:_0x588a6f,activatedAnnotation:_0x513b62,disableAnimationOnActivatedAnnotation:_0x550b59}){const _0x60efec=_0x1373f2;if(this[_0x60efec(0xce)]=_0x513b62,_0x588a6f){_0x588a6f[_0x60efec(0xe4)]=!0x1;const _0x1d59f1=this[_0x60efec(0xd2)](_0x588a6f);_0x1d59f1&&_0x550b59&&(_0x1d59f1[_0x60efec(0xcf)]=!0x1);}if(_0x513b62){const _0x5b1007=this[_0x60efec(0xd2)](_0x513b62);_0x5b1007&&(_0x513b62[_0x60efec(0xe4)]=!0x0,_0x550b59&&(_0x5b1007[_0x60efec(0xcf)]=!0x0,_0x5b1007[_0x60efec(0xd5)]+=0x1),this[_0x60efec(0xa6)](_0x5b1007));}}[_0x1373f2(0xb5)](_0xd245c5){const _0x598c2=_0x1373f2;if(this[_0x598c2(0x9f)][_0x598c2(0xa3)][_0x598c2(0xcb)](),_0xd245c5){for(const _0x4d3437 of _0xd245c5)this[_0x598c2(0x99)](_0x4d3437);}this[_0x598c2(0x9f)][_0x598c2(0xd3)][_0x598c2(0xa2)](),this[_0x598c2(0x9f)][_0x598c2(0xe2)]='',this[_0x598c2(0xe3)]=null;}[_0x1373f2(0xa1)](_0x38e505,_0x2bffa9){const _0x12f960=_0x1373f2;_0x2bffa9||(_0x2bffa9=_0x38e505[_0x12f960(0x9f)]);const _0x6728ee=new _0x24c2ae(this[_0x12f960(0xb6)][_0x12f960(0xda)]);this[_0x12f960(0xae)][_0x12f960(0xe1)](_0x6728ee,_0x38e505),this[_0x12f960(0xb9)][_0x12f960(0xe1)](_0x38e505,_0x6728ee),_0x6728ee[_0x12f960(0xcc)][_0x12f960(0xe6)](_0x2bffa9),this[_0x12f960(0xd0)](_0x38e505[_0x12f960(0x9f)],_0x12f960(0xbd),(_0x53ce49,_0x3dab87,_0x25e276)=>{const _0x2515d8=_0x12f960,_0x23d688=this[_0x2515d8(0xe8)](_0x38e505,_0x25e276);_0x6728ee[_0x2515d8(0x97)]!=_0x23d688&&(_0x6728ee[_0x2515d8(0x97)]=_0x23d688,this[_0x2515d8(0xd6)](_0x6728ee,_0x23d688));}),this[_0x12f960(0xd0)](_0x6728ee,_0x12f960(0x95),()=>{const _0x28ef3c=_0x12f960;this[_0x28ef3c(0xd8)](_0x6728ee,_0x28ef3c(0xd5));}),this[_0x12f960(0xd0)](_0x6728ee,_0x12f960(0xc2),()=>{const _0x563782=_0x12f960;this[_0x563782(0xd8)](_0x6728ee,_0x563782(0xdf));}),this[_0x12f960(0xa6)](_0x6728ee);const _0xe9c479=this[_0x12f960(0xd4)](_0x6728ee);if(_0xe9c479)this[_0x12f960(0xdb)](_0xe9c479,_0x6728ee)||this[_0x12f960(0xa6)](_0x6728ee);else this[_0x12f960(0xa6)](_0x6728ee);return this[_0x12f960(0x98)](),this[_0x12f960(0x9f)][_0x12f960(0xd3)][_0x12f960(0xe6)](_0x6728ee),_0x6728ee;}[_0x1373f2(0xe0)](_0x5e4059){const _0x518dc2=_0x1373f2;if(!_0x5e4059[_0x518dc2(0xcc)][_0x518dc2(0xc8)])return;const _0x294d38=this[_0x518dc2(0xd4)](_0x5e4059);if(!_0x294d38)return;const _0x357a5a=this[_0x518dc2(0xae)][_0x518dc2(0x93)](_0x294d38),_0x1d140a=this[_0x518dc2(0xce)];_0x1d140a&&_0x1d140a===_0x357a5a?this[_0x518dc2(0xdb)](_0x294d38,_0x5e4059):this[_0x518dc2(0xea)](_0x5e4059,_0x294d38);}[_0x1373f2(0xa9)](_0x16f4da){const _0x4ac242=_0x1373f2;if(!_0x16f4da[_0x4ac242(0xcc)][_0x4ac242(0xc8)])return;const _0x59f695=this[_0x4ac242(0xc0)](_0x16f4da);if(!_0x59f695)return;const _0x22f201=this[_0x4ac242(0xae)][_0x4ac242(0x93)](_0x59f695),_0x260265=this[_0x4ac242(0xb6)][_0x4ac242(0x9c)][_0x4ac242(0x93)](_0x4ac242(0xcd)),_0x533b73=this[_0x4ac242(0xce)];_0x533b73&&_0x533b73===_0x22f201&&_0x260265?(this[_0x4ac242(0xea)](_0x59f695,_0x16f4da),this[_0x4ac242(0xdb)](_0x16f4da,_0x59f695)):_0x533b73&&_0x533b73===_0x22f201?this[_0x4ac242(0xea)](_0x59f695,_0x16f4da):this[_0x4ac242(0xdb)](_0x16f4da,_0x59f695);}[_0x1373f2(0xd8)](_0x258f92,_0x2fc6b7){const _0x1b682e=_0x1373f2;0x0===this[_0x1b682e(0xab)][_0x1b682e(0xc8)]&&setTimeout(()=>{const _0x3f0a08=_0x1b682e;for(const {sidebarItemView:_0x350d68,changedProp:_0x59e8ef}of this[_0x3f0a08(0xab)])_0x3f0a08(0xd5)===_0x59e8ef?this[_0x3f0a08(0xe0)](_0x350d68):this[_0x3f0a08(0xa9)](_0x350d68);this[_0x3f0a08(0xab)]=[];},0xa),this[_0x1b682e(0xab)][_0x1b682e(0xd1)]({'sidebarItemView':_0x258f92,'changedProp':_0x2fc6b7});}[_0x1373f2(0xd2)](_0x475c3a){const _0x3c02c4=_0x1373f2;return this[_0x3c02c4(0xb9)][_0x3c02c4(0x93)](_0x475c3a);}[_0x1373f2(0xdc)](){const _0xbe8804=_0x1373f2;this[_0xbe8804(0xbc)](),this[_0xbe8804(0x9f)][_0xbe8804(0xdc)]();}[_0x1373f2(0x99)](_0x4adbbd){const _0x47a127=_0x1373f2,_0x59162c=this[_0x47a127(0xd2)](_0x4adbbd);this[_0x47a127(0xbc)](_0x59162c),this[_0x47a127(0xbc)](_0x4adbbd[_0x47a127(0x9f)]),_0x59162c[_0x47a127(0xdc)](),this[_0x47a127(0xb9)][_0x47a127(0xe9)](_0x4adbbd),this[_0x47a127(0xae)][_0x47a127(0xe9)](_0x59162c);}[_0x1373f2(0xc9)](){const _0x456607=_0x1373f2,_0x15703=new _0x15143c(this[_0x456607(0xb6)][_0x456607(0xda)]);return _0x15703[_0x456607(0x92)](),this['on'](_0x456607(0xaa),(_0xaff5be,_0x5736fc,_0x562035,_0x5cec0b)=>{const _0x41ccba=_0x456607;_0x5cec0b&&_0x15703[_0x41ccba(0xbe)](_0x41ccba(0xeb)),_0x562035?_0x15703[_0x41ccba(0x9a)](_0x41ccba(0xeb))['to'](_0x562035,_0x41ccba(0xdf)):_0x15703[_0x41ccba(0xeb)]=null;}),_0x15703;}[_0x1373f2(0x98)](){const _0x1a2410=_0x1373f2;this[_0x1a2410(0xe3)]=this[_0x1a2410(0xa7)]?.[_0x1a2410(0xc6)]?this[_0x1a2410(0xd2)](this[_0x1a2410(0xa7)][_0x1a2410(0xc6)]):null;}[_0x1373f2(0xd4)](_0xc4c4b){const _0x1e9c5c=_0x1373f2,_0x4b4ee8=this[_0x1e9c5c(0xae)][_0x1e9c5c(0x93)](_0xc4c4b),_0xf6d155=_0x4b4ee8&&this[_0x1e9c5c(0xa7)]?.[_0x1e9c5c(0x93)](this[_0x1e9c5c(0xa7)][_0x1e9c5c(0xd7)](_0x4b4ee8)-0x1);return _0xf6d155&&this[_0x1e9c5c(0xd2)](_0xf6d155)||null;}[_0x1373f2(0xc0)](_0x2f0099){const _0x185040=_0x1373f2,_0x1c5d8a=this[_0x185040(0xae)][_0x185040(0x93)](_0x2f0099),_0x33fed9=_0x1c5d8a&&this[_0x185040(0xa7)]?.[_0x185040(0x93)](this[_0x185040(0xa7)][_0x185040(0xd7)](_0x1c5d8a)+0x1);return _0x33fed9&&this[_0x185040(0xd2)](_0x33fed9)||null;}[_0x1373f2(0xea)](_0x334bf6,_0x4eebf7){const _0x1c1694=_0x1373f2;_0x334bf6[_0x1c1694(0xb4)]();const _0x552008=G(_0x4eebf7[_0x1c1694(0xdf)]+this[_0x1c1694(0xa0)],_0x334bf6[_0x1c1694(0xd5)]);return!!_0x552008&&(this[_0x1c1694(0xd6)](_0x4eebf7,_0x4eebf7[_0x1c1694(0xd5)]-_0x552008),!0x0);}[_0x1373f2(0xdb)](_0x5b7f9c,_0x2700fd){const _0x40e03c=_0x1373f2;_0x5b7f9c[_0x40e03c(0xb4)]();const _0x2a0717=G(_0x5b7f9c[_0x40e03c(0xdf)]+this[_0x40e03c(0xa0)],_0x2700fd[_0x40e03c(0xd5)]);return!!_0x2a0717&&(this[_0x40e03c(0xd6)](_0x2700fd,_0x2700fd[_0x40e03c(0xd5)]+_0x2a0717,!0x1),!0x0);}[_0x1373f2(0xa6)](_0x2fe0e8){const _0x5a3e00=_0x1373f2,_0x216df0=this[_0x5a3e00(0xae)][_0x5a3e00(0x93)](_0x2fe0e8);if(!_0x216df0||!_0x216df0[_0x5a3e00(0xe5)]||!_0x216df0[_0x5a3e00(0xa4)])return;const _0x55411f=this[_0x5a3e00(0xe8)](_0x216df0,_0x216df0[_0x5a3e00(0xa4)]);this[_0x5a3e00(0xd6)](_0x2fe0e8,_0x55411f);}[_0x1373f2(0xe8)](_0x619b5a,_0x2c24e9){const _0x47027f=_0x1373f2;if(null===_0x2c24e9)return 0x0;if(_0x619b5a[_0x47027f(0xe5)]instanceof _0xf19d35)return _0x2c24e9[_0x47027f(0xd5)];{const _0x2d6fd0=new _0xf19d35(this[_0x47027f(0x9f)][_0x47027f(0xa3)])[_0x47027f(0xd5)];return _0x2c24e9[_0x47027f(0xd5)]-_0x2d6fd0;}}[_0x1373f2(0xd6)](_0x94cf87,_0x3257d4,_0x3517d4=this[_0x1373f2(0xb6)][_0x1373f2(0x9c)][_0x1373f2(0x93)](_0x1373f2(0xcd))){const _0x44a0dd=_0x1373f2;_0x3517d4&&(_0x3257d4=Math[_0x44a0dd(0xac)](_0x3257d4,this[_0x44a0dd(0xc5)](_0x94cf87))),_0x94cf87[_0x44a0dd(0xd5)]=_0x3257d4;}[_0x1373f2(0xc5)](_0x48fb77){const _0x315913=_0x1373f2;let _0x1e2f9e=this[_0x315913(0xd4)](_0x48fb77),_0x1aeb70=0x0;for(;_0x1e2f9e;)_0x1e2f9e[_0x315913(0xb4)](),_0x1aeb70+=this[_0x315913(0xa0)]+_0x1e2f9e[_0x315913(0xbf)],_0x1e2f9e=this[_0x315913(0xd4)](_0x1e2f9e);return _0x1aeb70;}}function G(_0x4a6779,_0x367b94){const _0x18db52=_0x1373f2;return Math[_0x18db52(0xac)](_0x4a6779-_0x367b94,0x0);}function g(_0x3b2a53){const _0x4d644a=_0x1373f2;return null!==_0x3b2a53&&_0x4d644a(0xde)==typeof _0x3b2a53&&0x1===_0x3b2a53[_0x4d644a(0xa8)];}
|
|
23
|
+
const _0x566335=_0x52a1;(function(_0x2fdaa2,_0x51763e){const _0x1ad660=_0x52a1,_0xa727c=_0x2fdaa2();while(!![]){try{const _0x3f7218=-parseInt(_0x1ad660(0xf8))/0x1*(-parseInt(_0x1ad660(0xf5))/0x2)+parseInt(_0x1ad660(0x10c))/0x3*(-parseInt(_0x1ad660(0x113))/0x4)+parseInt(_0x1ad660(0xd2))/0x5+parseInt(_0x1ad660(0xe6))/0x6+-parseInt(_0x1ad660(0xd8))/0x7*(parseInt(_0x1ad660(0x114))/0x8)+parseInt(_0x1ad660(0xee))/0x9*(-parseInt(_0x1ad660(0x120))/0xa)+parseInt(_0x1ad660(0x116))/0xb;if(_0x3f7218===_0x51763e)break;else _0xa727c['push'](_0xa727c['shift']());}catch(_0x499b76){_0xa727c['push'](_0xa727c['shift']());}}}(_0x2c30,0x78759));import{ContextPlugin as _0x4c23fa}from'ckeditor5/src/core.js';import{Rect as _0x5dff84,CKEditorError as _0x3b5b05}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x2e2d78}from'./view/sidebarview.js';function _0x2c30(){const _0x5043da=['object','delete','change:targetRect','_setItemTop','Sidebar','rearrange','3480020NdnWxk','_destroySidebarItemView','_recalculateBuffer','init','push','_alignForTopChange','_sidebarItemViewToAnnotation','add','_getTargetTop','unbind','_targetTop','sidebar-attachtocontainer-missing-container','_spaceBetweenItems','class','108215dzkkTx','_attachToContainer','container','pluginName','config','isOfficialPlugin','98OlRKAn','_activeAnnotation','target','locale','_alignForBottomChange','setContainer','element','listenTo','_annotations','max','remove','_annotationToSidebarItemView','isAnimationDisabled','stopListening','2848008cdeEFR','_getMaxAvailableTop','list','getIndex','appendChild','refresh','change:bottom','minHeight','9fqbgNW','render','destroy','_detachFromContainer','_getItemBefore','height','last','1498232VSumAo','top','change:_lastItem','1pQPzWr','targetRect','sidebar.container','length','set','context','content','isPremiumPlugin','_getItemAfter','get','sidebar.preventScrollOutOfView','_createSidebarView','nodeType','_updateLastItem','bind','bottom','addAnnotation','_alignBeforeItem','isActive','change:top','9732HwduVb','define','_alignAfterItem','sidebar-setcontainer-invalid-element','getSidebarItemView','_lastItem','_recalculate','224cPKFaf','309688oyoElV','_alignToTargetRect','3515534KWBkqN','view','updateHeight','clear'];_0x2c30=function(){return _0x5043da;};return _0x2c30();}import{AnnotationsSidebarItemView as _0x220ec3}from'./view/sidebaritemview.js';export class Sidebar extends _0x4c23fa{[_0x566335(0x117)];[_0x566335(0xd9)];[_0x566335(0xe0)];[_0x566335(0xd0)];[_0x566335(0x126)];[_0x566335(0xe3)];[_0x566335(0x122)];static get[_0x566335(0xd5)](){const _0x63e944=_0x566335;return _0x63e944(0x11e);}static get[_0x566335(0xd7)](){return!0x0;}static get[_0x566335(0xff)](){return!0x0;}constructor(_0x1e78d0){const _0x6a8575=_0x566335;super(_0x1e78d0),this[_0x6a8575(0xfc)](_0x6a8575(0x111),void 0x0),this[_0x6a8575(0x117)]=this[_0x6a8575(0x103)](),this[_0x6a8575(0xfc)](_0x6a8575(0xd4),null),this[_0x6a8575(0xd0)]=0x19,this[_0x6a8575(0x126)]=new Map(),this[_0x6a8575(0xe3)]=new Map(),this[_0x6a8575(0xfd)][_0x6a8575(0xd6)][_0x6a8575(0x10d)](_0x6a8575(0x102),!0x1),this[_0x6a8575(0xe0)]=null,this[_0x6a8575(0xd9)]=null,this[_0x6a8575(0x122)]=[];}[_0x566335(0x123)](){const _0x56c26b=_0x566335,_0x23091e=this[_0x56c26b(0xfd)][_0x56c26b(0xd6)][_0x56c26b(0x101)](_0x56c26b(0xfa));_0x23091e&&this[_0x56c26b(0xdd)](_0x23091e);}[_0x566335(0xdd)](_0x232e3a){const _0x15abc1=_0x566335;if(!g(_0x232e3a))throw new _0x3b5b05(_0x15abc1(0x10f));this[_0x15abc1(0xd4)]=_0x232e3a;}[_0x566335(0xd3)]({viewClass:_0x421e4d='',spaceBetweenItems:_0x2bc836=0x19}={}){const _0x536344=_0x566335;if(!g(this[_0x536344(0xd4)]))throw new _0x3b5b05(_0x536344(0xcf),this);this[_0x536344(0xd4)][_0x536344(0xea)](this[_0x536344(0x117)][_0x536344(0xde)]),this[_0x536344(0x117)][_0x536344(0xd1)]=_0x421e4d,this[_0x536344(0xd0)]=_0x2bc836;}[_0x566335(0x11f)]({removedAnnotation:_0x3568ca,previousAnnotation:_0x1afc0d,nextAnnotation:_0xc938bd}){const _0x3e5183=_0x566335,_0x46f5d9=this[_0x3e5183(0x110)](_0x3568ca);this[_0x3e5183(0x117)][_0x3e5183(0xe8)][_0x3e5183(0xe2)](_0x46f5d9),this[_0x3e5183(0x121)](_0x3568ca),_0x1afc0d&&this[_0x3e5183(0x115)](this[_0x3e5183(0x110)](_0x1afc0d)),_0xc938bd&&this[_0x3e5183(0x115)](this[_0x3e5183(0x110)](_0xc938bd)),this[_0x3e5183(0x105)]();}[_0x566335(0xeb)]({blurredAnnotation:_0x4c7a1d,activatedAnnotation:_0x57f7b9,disableAnimationOnActivatedAnnotation:_0x5765cc}){const _0x2fa1bd=_0x566335;if(this[_0x2fa1bd(0xd9)]=_0x57f7b9,_0x4c7a1d){_0x4c7a1d[_0x2fa1bd(0x10a)]=!0x1;const _0x58cbdd=this[_0x2fa1bd(0x110)](_0x4c7a1d);_0x58cbdd&&_0x5765cc&&(_0x58cbdd[_0x2fa1bd(0xe4)]=!0x1);}if(_0x57f7b9){const _0x3949c7=this[_0x2fa1bd(0x110)](_0x57f7b9);_0x3949c7&&(_0x57f7b9[_0x2fa1bd(0x10a)]=!0x0,_0x5765cc&&(_0x3949c7[_0x2fa1bd(0xe4)]=!0x0,_0x3949c7[_0x2fa1bd(0xf6)]+=0x1),this[_0x2fa1bd(0x115)](_0x3949c7));}}[_0x566335(0xf1)](_0x325eb6){const _0xdea16=_0x566335;if(this[_0xdea16(0x117)][_0xdea16(0xde)][_0xdea16(0xe2)](),_0x325eb6){for(const _0x4bbc21 of _0x325eb6)this[_0xdea16(0x121)](_0x4bbc21);}this[_0xdea16(0x117)][_0xdea16(0xe8)][_0xdea16(0x119)](),this[_0xdea16(0x117)][_0xdea16(0xd1)]='',this[_0xdea16(0x111)]=null;}[_0x566335(0x108)](_0x180d04,_0x7cc07f){const _0x3f5fe5=_0x566335;_0x7cc07f||(_0x7cc07f=_0x180d04[_0x3f5fe5(0x117)]);const _0x5195b4=new _0x220ec3(this[_0x3f5fe5(0xfd)][_0x3f5fe5(0xdb)]);this[_0x3f5fe5(0x126)][_0x3f5fe5(0xfc)](_0x5195b4,_0x180d04),this[_0x3f5fe5(0xe3)][_0x3f5fe5(0xfc)](_0x180d04,_0x5195b4),_0x5195b4[_0x3f5fe5(0xfe)][_0x3f5fe5(0x127)](_0x7cc07f),this[_0x3f5fe5(0xdf)](_0x180d04[_0x3f5fe5(0x117)],_0x3f5fe5(0x11c),(_0x208f4e,_0x88f8a7,_0xd9390b)=>{const _0x1fdd0b=_0x3f5fe5,_0x167b02=this[_0x1fdd0b(0x128)](_0x180d04,_0xd9390b);_0x5195b4[_0x1fdd0b(0x12a)]!=_0x167b02&&(_0x5195b4[_0x1fdd0b(0x12a)]=_0x167b02,this[_0x1fdd0b(0x11d)](_0x5195b4,_0x167b02));}),this[_0x3f5fe5(0xdf)](_0x5195b4,_0x3f5fe5(0x10b),()=>{const _0x564863=_0x3f5fe5;this[_0x564863(0x112)](_0x5195b4,_0x564863(0xf6));}),this[_0x3f5fe5(0xdf)](_0x5195b4,_0x3f5fe5(0xec),()=>{const _0x47964f=_0x3f5fe5;this[_0x47964f(0x112)](_0x5195b4,_0x47964f(0x107));}),this[_0x3f5fe5(0x115)](_0x5195b4);const _0x3870b2=this[_0x3f5fe5(0xf2)](_0x5195b4);if(_0x3870b2)this[_0x3f5fe5(0x10e)](_0x3870b2,_0x5195b4)||this[_0x3f5fe5(0x115)](_0x5195b4);else this[_0x3f5fe5(0x115)](_0x5195b4);return this[_0x3f5fe5(0x105)](),this[_0x3f5fe5(0x117)][_0x3f5fe5(0xe8)][_0x3f5fe5(0x127)](_0x5195b4),_0x5195b4;}[_0x566335(0x125)](_0x8fc09b){const _0x2701a0=_0x566335;if(!_0x8fc09b[_0x2701a0(0xfe)][_0x2701a0(0xfb)])return;const _0x21c0d0=this[_0x2701a0(0xf2)](_0x8fc09b);if(!_0x21c0d0)return;const _0x4f7959=this[_0x2701a0(0x126)][_0x2701a0(0x101)](_0x21c0d0),_0x51a763=this[_0x2701a0(0xd9)];_0x51a763&&_0x51a763===_0x4f7959?this[_0x2701a0(0x10e)](_0x21c0d0,_0x8fc09b):this[_0x2701a0(0x109)](_0x8fc09b,_0x21c0d0);}[_0x566335(0xdc)](_0x2b4909){const _0x51ce99=_0x566335;if(!_0x2b4909[_0x51ce99(0xfe)][_0x51ce99(0xfb)])return;const _0xc9a541=this[_0x51ce99(0x100)](_0x2b4909);if(!_0xc9a541)return;const _0x342b60=this[_0x51ce99(0x126)][_0x51ce99(0x101)](_0xc9a541),_0x39bd51=this[_0x51ce99(0xfd)][_0x51ce99(0xd6)][_0x51ce99(0x101)](_0x51ce99(0x102)),_0x1141a0=this[_0x51ce99(0xd9)];_0x1141a0&&_0x1141a0===_0x342b60&&_0x39bd51?(this[_0x51ce99(0x109)](_0xc9a541,_0x2b4909),this[_0x51ce99(0x10e)](_0x2b4909,_0xc9a541)):_0x1141a0&&_0x1141a0===_0x342b60?this[_0x51ce99(0x109)](_0xc9a541,_0x2b4909):this[_0x51ce99(0x10e)](_0x2b4909,_0xc9a541);}[_0x566335(0x112)](_0x5c87ae,_0x1b9e2d){const _0x1e9247=_0x566335;0x0===this[_0x1e9247(0x122)][_0x1e9247(0xfb)]&&setTimeout(()=>{const _0xff77de=_0x1e9247;for(const {sidebarItemView:_0x4f2e8c,changedProp:_0x325bf4}of this[_0xff77de(0x122)])_0xff77de(0xf6)===_0x325bf4?this[_0xff77de(0x125)](_0x4f2e8c):this[_0xff77de(0xdc)](_0x4f2e8c);this[_0xff77de(0x122)]=[];},0xa),this[_0x1e9247(0x122)][_0x1e9247(0x124)]({'sidebarItemView':_0x5c87ae,'changedProp':_0x1b9e2d});}[_0x566335(0x110)](_0x2b1dd7){const _0xd1522c=_0x566335;return this[_0xd1522c(0xe3)][_0xd1522c(0x101)](_0x2b1dd7);}[_0x566335(0xf0)](){const _0x4b7686=_0x566335;this[_0x4b7686(0xe5)](),this[_0x4b7686(0x117)][_0x4b7686(0xf0)]();}[_0x566335(0x121)](_0x277791){const _0x4fb8ed=_0x566335,_0x52e98c=this[_0x4fb8ed(0x110)](_0x277791);this[_0x4fb8ed(0xe5)](_0x52e98c),this[_0x4fb8ed(0xe5)](_0x277791[_0x4fb8ed(0x117)]),_0x52e98c[_0x4fb8ed(0xf0)](),this[_0x4fb8ed(0xe3)][_0x4fb8ed(0x11b)](_0x277791),this[_0x4fb8ed(0x126)][_0x4fb8ed(0x11b)](_0x52e98c);}[_0x566335(0x103)](){const _0x5d737f=_0x566335,_0x343b0a=new _0x2e2d78(this[_0x5d737f(0xfd)][_0x5d737f(0xdb)]);return _0x343b0a[_0x5d737f(0xef)](),this['on'](_0x5d737f(0xf7),(_0x403059,_0x21d968,_0x4b93e3,_0x365a91)=>{const _0x81bbd2=_0x5d737f;_0x365a91&&_0x343b0a[_0x81bbd2(0x129)](_0x81bbd2(0xed)),_0x4b93e3?_0x343b0a[_0x81bbd2(0x106)](_0x81bbd2(0xed))['to'](_0x4b93e3,_0x81bbd2(0x107)):_0x343b0a[_0x81bbd2(0xed)]=null;}),_0x343b0a;}[_0x566335(0x105)](){const _0x5a564c=_0x566335;this[_0x5a564c(0x111)]=this[_0x5a564c(0xe0)]?.[_0x5a564c(0xf4)]?this[_0x5a564c(0x110)](this[_0x5a564c(0xe0)][_0x5a564c(0xf4)]):null;}[_0x566335(0xf2)](_0x40dfc1){const _0x36e9f4=_0x566335,_0x432328=this[_0x36e9f4(0x126)][_0x36e9f4(0x101)](_0x40dfc1),_0x3c0c93=_0x432328&&this[_0x36e9f4(0xe0)]?.[_0x36e9f4(0x101)](this[_0x36e9f4(0xe0)][_0x36e9f4(0xe9)](_0x432328)-0x1);return _0x3c0c93&&this[_0x36e9f4(0x110)](_0x3c0c93)||null;}[_0x566335(0x100)](_0x38bb03){const _0x1e2b28=_0x566335,_0x33c081=this[_0x1e2b28(0x126)][_0x1e2b28(0x101)](_0x38bb03),_0x23bb6b=_0x33c081&&this[_0x1e2b28(0xe0)]?.[_0x1e2b28(0x101)](this[_0x1e2b28(0xe0)][_0x1e2b28(0xe9)](_0x33c081)+0x1);return _0x23bb6b&&this[_0x1e2b28(0x110)](_0x23bb6b)||null;}[_0x566335(0x109)](_0x1fa591,_0x5af885){const _0x556b8a=_0x566335;_0x1fa591[_0x556b8a(0x118)]();const _0x4dd19=G(_0x5af885[_0x556b8a(0x107)]+this[_0x556b8a(0xd0)],_0x1fa591[_0x556b8a(0xf6)]);return!!_0x4dd19&&(this[_0x556b8a(0x11d)](_0x5af885,_0x5af885[_0x556b8a(0xf6)]-_0x4dd19),!0x0);}[_0x566335(0x10e)](_0x14a286,_0x792f07){const _0x4ba3db=_0x566335;_0x14a286[_0x4ba3db(0x118)]();const _0x5a8bba=G(_0x14a286[_0x4ba3db(0x107)]+this[_0x4ba3db(0xd0)],_0x792f07[_0x4ba3db(0xf6)]);return!!_0x5a8bba&&(this[_0x4ba3db(0x11d)](_0x792f07,_0x792f07[_0x4ba3db(0xf6)]+_0x5a8bba,!0x1),!0x0);}[_0x566335(0x115)](_0x3660c1){const _0x5f001d=_0x566335,_0x2c71a4=this[_0x5f001d(0x126)][_0x5f001d(0x101)](_0x3660c1);if(!_0x2c71a4||!_0x2c71a4[_0x5f001d(0xda)]||!_0x2c71a4[_0x5f001d(0xf9)])return;const _0xbbc054=this[_0x5f001d(0x128)](_0x2c71a4,_0x2c71a4[_0x5f001d(0xf9)]);this[_0x5f001d(0x11d)](_0x3660c1,_0xbbc054);}[_0x566335(0x128)](_0x4047bb,_0xfe23c7){const _0x5384b5=_0x566335;if(null===_0xfe23c7)return 0x0;if(_0x4047bb[_0x5384b5(0xda)]instanceof _0x5dff84)return _0xfe23c7[_0x5384b5(0xf6)];{const _0x1ef4c3=new _0x5dff84(this[_0x5384b5(0x117)][_0x5384b5(0xde)])[_0x5384b5(0xf6)];return _0xfe23c7[_0x5384b5(0xf6)]-_0x1ef4c3;}}[_0x566335(0x11d)](_0x5992d3,_0x5016e,_0x45bff2=this[_0x566335(0xfd)][_0x566335(0xd6)][_0x566335(0x101)](_0x566335(0x102))){const _0x1c5dbb=_0x566335;_0x45bff2&&(_0x5016e=Math[_0x1c5dbb(0xe1)](_0x5016e,this[_0x1c5dbb(0xe7)](_0x5992d3))),_0x5992d3[_0x1c5dbb(0xf6)]=_0x5016e;}[_0x566335(0xe7)](_0x415dda){const _0x143b64=_0x566335;let _0x1fc0ce=this[_0x143b64(0xf2)](_0x415dda),_0x356111=0x0;for(;_0x1fc0ce;)_0x1fc0ce[_0x143b64(0x118)](),_0x356111+=this[_0x143b64(0xd0)]+_0x1fc0ce[_0x143b64(0xf3)],_0x1fc0ce=this[_0x143b64(0xf2)](_0x1fc0ce);return _0x356111;}}function _0x52a1(_0x5a7a9a,_0x4172cf){const _0x2c30b2=_0x2c30();return _0x52a1=function(_0x52a11d,_0x48b06c){_0x52a11d=_0x52a11d-0xcf;let _0x1b92b0=_0x2c30b2[_0x52a11d];return _0x1b92b0;},_0x52a1(_0x5a7a9a,_0x4172cf);}function G(_0x1061a2,_0x4c4ffc){const _0x16d006=_0x566335;return Math[_0x16d006(0xe1)](_0x1061a2-_0x4c4ffc,0x0);}function g(_0x49c6c7){const _0x462a3c=_0x566335;return null!==_0x49c6c7&&_0x462a3c(0x11a)==typeof _0x49c6c7&&0x1===_0x49c6c7[_0x462a3c(0x104)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x234dce=_0x3ac8;(function(_0x53e875,_0x4bc1d1){const _0x19fd8d=_0x3ac8,_0x288e76=_0x53e875();while(!![]){try{const _0x2316b2=parseInt(_0x19fd8d(0x93))/0x1*(parseInt(_0x19fd8d(0x90))/0x2)+-parseInt(_0x19fd8d(0x7d))/0x3*(-parseInt(_0x19fd8d(0x8a))/0x4)+parseInt(_0x19fd8d(0x96))/0x5*(parseInt(_0x19fd8d(0x87))/0x6)+-parseInt(_0x19fd8d(0x83))/0x7*(-parseInt(_0x19fd8d(0x8f))/0x8)+parseInt(_0x19fd8d(0x91))/0x9+-parseInt(_0x19fd8d(0x88))/0xa*(-parseInt(_0x19fd8d(0x99))/0xb)+-parseInt(_0x19fd8d(0x89))/0xc;if(_0x2316b2===_0x4bc1d1)break;else _0x288e76['push'](_0x288e76['shift']());}catch(_0x5472dc){_0x288e76['push'](_0x288e76['shift']());}}}(_0x19ab,0xe5e57));import{ButtonView as _0xaa57ce,View as _0x38c1a5}from'ckeditor5/src/ui.js';function _0x19ab(){const _0xd12401=['setTemplate','isDirty','2766ZlBhyY','8611640DijpdW','49602384zgCVDM','5642020ibuepX','ck-annotation-counter__badge--','annotationType','children','add','8Smigoj','950422lLxUjb','9558810XgvYxL','ck-annotation-counter','1geAXqQ','number','bindTemplate','5020qOkSYQ','set','_badge','11HvgjYE','bind','ck-annotation-counter__badge--edit-mode','span','3IAArQE','ck-annotation-counter__badge','...','counterView','icon','toString','5623611GMidIN','extendTemplate'];_0x19ab=function(){return _0xd12401;};return _0x19ab();}import{IconAddComment as _0x39d06a}from'ckeditor5/src/icons.js';function _0x3ac8(_0x2c4f5e,_0x5ac82f){const _0x19abb6=_0x19ab();return _0x3ac8=function(_0x3ac8f8,_0x60fb2f){_0x3ac8f8=_0x3ac8f8-0x7d;let _0x510de5=_0x19abb6[_0x3ac8f8];return _0x510de5;},_0x3ac8(_0x2c4f5e,_0x5ac82f);}export class AnnotationCounterButtonView extends _0xaa57ce{[_0x234dce(0x80)];constructor(_0x476b3a){const _0x260111=_0x234dce;super(_0x476b3a);const _0x5a4d81=this[_0x260111(0x95)];this[_0x260111(0x97)](_0x260111(0x86),!0x1),this[_0x260111(0x97)](_0x260111(0x94),0x0),this[_0x260111(0x9a)](_0x260111(0x98))['to'](this,_0x260111(0x86),this,_0x260111(0x94),(_0x353bc5,_0x3c9a7a)=>_0x353bc5?_0x260111(0x7f):_0x3c9a7a[_0x260111(0x82)]()),this[_0x260111(0x97)](_0x260111(0x8c),''),this[_0x260111(0x81)]=_0x39d06a,this[_0x260111(0x84)]({'attributes':{'class':[_0x260111(0x92)]}}),this[_0x260111(0x80)]=new _0x38c1a5(),this[_0x260111(0x80)][_0x260111(0x85)]({'tag':_0x260111(0x9c),'attributes':{'class':[_0x260111(0x7e),_0x5a4d81['to'](_0x260111(0x8c),_0x478ca2=>_0x260111(0x8b)+_0x478ca2),_0x5a4d81['if'](_0x260111(0x86),_0x260111(0x9b))]},'children':[{'text':_0x5a4d81['to'](_0x260111(0x98))}]}),this[_0x260111(0x8d)][_0x260111(0x8e)](this[_0x260111(0x80)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4d15e1=_0x79d7;(function(_0x33d899,_0x1d6ca5){const _0x3d9ea6=_0x79d7,_0x1ba53e=_0x33d899();while(!![]){try{const _0x28ac7d=-parseInt(_0x3d9ea6(0x1ee))/0x1*(-parseInt(_0x3d9ea6(0x1d9))/0x2)+-parseInt(_0x3d9ea6(0x1fd))/0x3+-parseInt(_0x3d9ea6(0x1ff))/0x4+parseInt(_0x3d9ea6(0x1f4))/0x5+parseInt(_0x3d9ea6(0x1fe))/0x6*(parseInt(_0x3d9ea6(0x201))/0x7)+-parseInt(_0x3d9ea6(0x1fa))/0x8*(-parseInt(_0x3d9ea6(0x1f6))/0x9)+parseInt(_0x3d9ea6(0x1e5))/0xa*(-parseInt(_0x3d9ea6(0x1de))/0xb);if(_0x28ac7d===_0x1d6ca5)break;else _0x1ba53e['push'](_0x1ba53e['shift']());}catch(_0x207d94){_0x1ba53e['push'](_0x1ba53e['shift']());}}}(_0x4e2c,0x74f17));import{View as _0x2f1f8b}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1c3743,KeystrokeHandler as _0x36cd94,uid as _0x5c25b4}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x9c6485}from'../../utils/createmutationobserver.js';function _0x79d7(_0x5bd964,_0x224c65){const _0x4e2c6b=_0x4e2c();return _0x79d7=function(_0x79d77a,_0x22157f){_0x79d77a=_0x79d77a-0x1d7;let _0x4bb375=_0x4e2c6b[_0x79d77a];return _0x4bb375;},_0x79d7(_0x5bd964,_0x224c65);}import'../../../theme/annotation.css';function _0x4e2c(){const _0x18d9fa=['listenTo','isActive','1501593rnxjxq','5738526SVehPz','3238764ucMNUH','height','7whbLLy','targetRect','isDirty','ck-rounded-corners','first','attach','_mutationObserver','bindTemplate','218hkKuhq','mainView','div','clientHeight','add','325061fxryDE','content','_updateHeight','set','presentation','element','type','130pxmjwO','focusTracker','Esc','keystrokes','destroy','arrowup','render','createCollection','arrowdown','1583rXiPJw','focus','length','ck-annotation-wrapper--active','ck-annotation-wrapper','detach','897135VBayXB','setTemplate','7784901NJGfEk','fire','delegate','clear','8widDDk'];_0x4e2c=function(){return _0x18d9fa;};return _0x4e2c();}export class AnnotationView extends _0x2f1f8b{[_0x4d15e1(0x1e6)];['id'];[_0x4d15e1(0x1e8)];[_0x4d15e1(0x1df)];[_0x4d15e1(0x1da)];[_0x4d15e1(0x1d7)];constructor(_0x42f013,_0x78ffd3){const _0x362931=_0x4d15e1;super(_0x42f013),this['id']=_0x5c25b4(),this[_0x362931(0x1e6)]=new _0x1c3743(),this[_0x362931(0x1e8)]=new _0x36cd94(),this[_0x362931(0x1e8)][_0x362931(0x1e1)](_0x362931(0x1e7),(_0x4efa4e,_0x1528cc)=>this[_0x362931(0x1f7)](_0x362931(0x1e7),_0x1528cc)),this[_0x362931(0x1e1)](_0x362931(0x202),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x362931(0x1e1)](_0x362931(0x200),0x0),this[_0x362931(0x1e1)](_0x362931(0x1fc),!0x1),this[_0x362931(0x1e1)](_0x362931(0x203),!0x1),this[_0x362931(0x1e1)](_0x362931(0x1f0),0x0),this[_0x362931(0x1e1)](_0x362931(0x1e4),''),this[_0x362931(0x1d7)]=_0x9c6485(()=>this[_0x362931(0x1e0)]()),this[_0x362931(0x1df)]=this[_0x362931(0x1ec)](),this[_0x362931(0x1df)][_0x362931(0x1f8)](_0x362931(0x1ea),_0x362931(0x1ed))['to'](this),this[_0x362931(0x1df)][_0x362931(0x1dd)](_0x78ffd3),this[_0x362931(0x1da)]=_0x78ffd3;const _0x36e8bc=this[_0x362931(0x1d8)];this[_0x362931(0x1f5)]({'tag':_0x362931(0x1db),'attributes':{'class':['ck',_0x362931(0x1f2),_0x362931(0x204),_0x36e8bc['if'](_0x362931(0x1fc),_0x362931(0x1f1))],'role':_0x362931(0x1e2)},'children':this[_0x362931(0x1df)]});}[_0x4d15e1(0x1eb)](){const _0x1facaa=_0x4d15e1;super[_0x1facaa(0x1eb)](),this[_0x1facaa(0x1e6)][_0x1facaa(0x1dd)](this[_0x1facaa(0x1e3)]),this[_0x1facaa(0x1e8)][_0x1facaa(0x1fb)](this[_0x1facaa(0x1e3)]),this[_0x1facaa(0x1d7)][_0x1facaa(0x206)](this[_0x1facaa(0x1e3)]);}[_0x4d15e1(0x1e9)](){const _0x54dce9=_0x4d15e1;this[_0x54dce9(0x1df)][_0x54dce9(0x1f9)](),this[_0x54dce9(0x1e8)][_0x54dce9(0x1e9)](),this[_0x54dce9(0x1e6)][_0x54dce9(0x1e9)](),this[_0x54dce9(0x1d7)][_0x54dce9(0x1f3)](),super[_0x54dce9(0x1e9)]();}[_0x4d15e1(0x1ef)](){const _0x2ded58=_0x4d15e1;this[_0x2ded58(0x1df)][_0x2ded58(0x205)]&&this[_0x2ded58(0x1df)][_0x2ded58(0x205)][_0x2ded58(0x1ef)]();}[_0x4d15e1(0x1e0)](){const _0x5a6671=_0x4d15e1,_0x20840d=this[_0x5a6671(0x1e3)][_0x5a6671(0x1dc)];_0x20840d&&(this[_0x5a6671(0x200)]=_0x20840d);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1d16bb=_0x4778;(function(_0x502c9e,_0x5e818c){const _0x567eb3=_0x4778,_0x2aec17=_0x502c9e();while(!![]){try{const _0x1fc6a0=parseInt(_0x567eb3(0x8c))/0x1*(parseInt(_0x567eb3(0x90))/0x2)+-parseInt(_0x567eb3(0x7d))/0x3*(parseInt(_0x567eb3(0x7c))/0x4)+-parseInt(_0x567eb3(0x75))/0x5+parseInt(_0x567eb3(0x7e))/0x6+parseInt(_0x567eb3(0x77))/0x7+parseInt(_0x567eb3(0x6e))/0x8*(parseInt(_0x567eb3(0x7a))/0x9)+parseInt(_0x567eb3(0x85))/0xa*(-parseInt(_0x567eb3(0x78))/0xb);if(_0x1fc6a0===_0x5e818c)break;else _0x2aec17['push'](_0x2aec17['shift']());}catch(_0x1381db){_0x2aec17['push'](_0x2aec17['shift']());}}}(_0x4142,0x675e9));function _0x4142(){const _0x29d087=['50gJDaki','content','element','presentation','ck-sidebar-item','first','arrowup','3UQwWGp','setTemplate','_mutationObserver','detach','149636oLtfLg','clear','height','delegate','clientHeight','bottom','2089040ZUnWOC','arrowdown','attach','focus','_targetTop','div','isAnimationDisabled','646690sRoxoi','render','1541792DPqumi','1963247rXxZSt','bind','27oqAEgC','top','2880lBGjeD','1569rsQqPy','3561504sFYJKF','set','updateHeight','createCollection','bindTemplate','destroy','ck-sidebar-item--no-animation'];_0x4142=function(){return _0x29d087;};return _0x4142();}function _0x4778(_0x57d03a,_0x18eced){const _0x4142a8=_0x4142();return _0x4778=function(_0x47780a,_0x2cf6d1){_0x47780a=_0x47780a-0x6e;let _0xd1b9a5=_0x4142a8[_0x47780a];return _0xd1b9a5;},_0x4778(_0x57d03a,_0x18eced);}import{View as _0x26226d}from'ckeditor5/src/ui.js';import{toUnit as _0x5074c1}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x3611cb}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5074c1('px');export class AnnotationsSidebarItemView extends _0x26226d{[_0x1d16bb(0x86)];[_0x1d16bb(0x72)];[_0x1d16bb(0x8e)];constructor(_0x358793){const _0x313ddf=_0x1d16bb;super(_0x358793),this[_0x313ddf(0x7f)](_0x313ddf(0x7b),0x0),this[_0x313ddf(0x7f)](_0x313ddf(0x92),0x0),this[_0x313ddf(0x79)](_0x313ddf(0x95))['to'](this,_0x313ddf(0x7b),this,_0x313ddf(0x92),(_0x25f08e,_0x35d85c)=>_0x25f08e+_0x35d85c),this[_0x313ddf(0x7f)](_0x313ddf(0x74),!0x1),this[_0x313ddf(0x8e)]=_0x3611cb(()=>this[_0x313ddf(0x80)]()),this[_0x313ddf(0x72)]=null,this[_0x313ddf(0x86)]=this[_0x313ddf(0x81)](),this[_0x313ddf(0x86)][_0x313ddf(0x93)](_0x313ddf(0x8b),_0x313ddf(0x6f))['to'](this);const _0x30495c=this[_0x313ddf(0x82)];this[_0x313ddf(0x8d)]({'tag':_0x313ddf(0x73),'attributes':{'class':[_0x313ddf(0x89),_0x30495c['to'](_0x313ddf(0x74),_0x334f34=>_0x334f34?_0x313ddf(0x84):'')],'style':{'top':_0x30495c['to'](_0x313ddf(0x7b),_0x12ad35=>Ot(_0x12ad35))},'role':_0x313ddf(0x88)},'children':this[_0x313ddf(0x86)]});}[_0x1d16bb(0x76)](){const _0x126391=_0x1d16bb;super[_0x126391(0x76)](),this[_0x126391(0x8e)][_0x126391(0x70)](this[_0x126391(0x87)]);}[_0x1d16bb(0x71)](){const _0x315395=_0x1d16bb;this[_0x315395(0x86)][_0x315395(0x8a)]&&this[_0x315395(0x86)][_0x315395(0x8a)][_0x315395(0x71)]();}[_0x1d16bb(0x80)](){const _0x1f966b=_0x1d16bb,_0x2d0630=this[_0x1f966b(0x87)][_0x1f966b(0x94)];_0x2d0630&&(this[_0x1f966b(0x92)]=_0x2d0630);}[_0x1d16bb(0x83)](){const _0x5f4a38=_0x1d16bb;this[_0x5f4a38(0x86)][_0x5f4a38(0x91)](),this[_0x5f4a38(0x8e)][_0x5f4a38(0x8f)](),super[_0x5f4a38(0x83)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2d925d=_0x4ad0;function _0x4ad0(_0x3f7912,_0x1192a1){const _0x3cd0fa=_0x3cd0();return _0x4ad0=function(_0x4ad01f,_0x3b089b){_0x4ad01f=_0x4ad01f-0x102;let _0x492235=_0x3cd0fa[_0x4ad01f];return _0x492235;},_0x4ad0(_0x3f7912,_0x1192a1);}(function(_0xd9d1a3,_0x4fc99d){const _0x265591=_0x4ad0,_0x323b1f=_0xd9d1a3();while(!![]){try{const _0x14d425=parseInt(_0x265591(0x121))/0x1*(parseInt(_0x265591(0x117))/0x2)+-parseInt(_0x265591(0x113))/0x3*(-parseInt(_0x265591(0x112))/0x4)+-parseInt(_0x265591(0x11c))/0x5*(-parseInt(_0x265591(0x133))/0x6)+parseInt(_0x265591(0x102))/0x7+parseInt(_0x265591(0x10b))/0x8*(-parseInt(_0x265591(0x10f))/0x9)+parseInt(_0x265591(0x104))/0xa*(-parseInt(_0x265591(0x11d))/0xb)+-parseInt(_0x265591(0x125))/0xc;if(_0x14d425===_0x4fc99d)break;else _0x323b1f['push'](_0x323b1f['shift']());}catch(_0x502041){_0x323b1f['push'](_0x323b1f['shift']());}}}(_0x3cd0,0xb0fe8));import{View as _0x1ce0c0,FocusCycler as _0x1bdeab}from'ckeditor5/src/ui.js';import{FocusTracker as _0x24b43f,toUnit as _0x4a51d5}from'ckeditor5/src/utils.js';import{getTranslation as _0x33c718}from'../../utils/common-translations.js';function _0x3cd0(){const _0x5113d4=['9QkKcFR','added','getIndex','88KxtIfD','189096GFEfyM','setTemplate','createCollection','list','57244PZhFWY','uiLanguageDirection','focusables','number','focusPrevious','6759765UuHJJs','110AvxRAq','forEach','focus','arrowdown','25mVrJRT','Annotations\x20sidebar','delegate','source','25905648FBGKxf','_setupKeyboardNavigation','remove','focusNext','class','bindTemplate','div','top','ck-reset','add','ck-sidebar','change','Annotations\x20list','removed','6YwKEgK','change:top','application','arrowup','9313738cTuiNk','render','770380IRgrnW','listenTo','minHeight','element','_updateItemPositionInFocusables','focusTracker','set','9044712TkdPQh','length','focusCycler','focusFirst'];_0x3cd0=function(){return _0x5113d4;};return _0x3cd0();}import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4a51d5('px');export class AnnotationsSidebarView extends _0x1ce0c0{[_0x2d925d(0x116)];[_0x2d925d(0x119)];[_0x2d925d(0x109)];[_0x2d925d(0x10d)];constructor(_0x58605c){const _0x5b94cc=_0x2d925d;super(_0x58605c);const _0x13d192=this[_0x5b94cc(0x12a)];this[_0x5b94cc(0x10a)](_0x5b94cc(0x106),0x0),this[_0x5b94cc(0x10a)](_0x5b94cc(0x129),''),this[_0x5b94cc(0x116)]=this[_0x5b94cc(0x115)](),this[_0x5b94cc(0x119)]=this[_0x5b94cc(0x115)](),this[_0x5b94cc(0x116)][_0x5b94cc(0x123)](_0x5b94cc(0x136),_0x5b94cc(0x120))['to'](this),this[_0x5b94cc(0x109)]=new _0x24b43f(),this[_0x5b94cc(0x10d)]=new _0x1bdeab({'focusables':this[_0x5b94cc(0x119)],'focusTracker':this[_0x5b94cc(0x109)]}),this[_0x5b94cc(0x114)]({'tag':_0x5b94cc(0x12b),'attributes':{'class':['ck',_0x5b94cc(0x12f),_0x5b94cc(0x12d),_0x13d192['to'](_0x5b94cc(0x129))],'style':{'minHeight':_0x13d192['to'](_0x5b94cc(0x106),_0x5bcc10=>_0x5b94cc(0x11a)==typeof _0x5bcc10?Ot(_0x5bcc10+0xa):null)},'dir':_0x58605c[_0x5b94cc(0x118)],'role':_0x5b94cc(0x135),'aria-label':_0x33c718(_0x58605c,_0x5b94cc(0x122)),'tabindex':0x0},'children':[{'tag':_0x5b94cc(0x12b),'attributes':{'role':_0x5b94cc(0x116),'aria-label':_0x33c718(_0x58605c,_0x5b94cc(0x131))},'children':this[_0x5b94cc(0x116)]}]});}[_0x2d925d(0x103)](){const _0x5017b1=_0x2d925d;super[_0x5017b1(0x103)](),this[_0x5017b1(0x126)]();}[_0x2d925d(0x11f)](){const _0x415af0=_0x2d925d;this[_0x415af0(0x10d)][_0x415af0(0x10e)]();}[_0x2d925d(0x126)](){const _0x4dcca6=_0x2d925d;this[_0x4dcca6(0x116)][_0x4dcca6(0x123)](_0x4dcca6(0x134))['to'](this),this['on'](_0x4dcca6(0x134),_0x4511e0=>{const _0x2683ff=_0x4dcca6;this[_0x2683ff(0x108)](_0x4511e0[_0x2683ff(0x124)]);}),this[_0x4dcca6(0x116)][_0x4dcca6(0x11e)](_0x322720=>{const _0x5036b0=_0x4dcca6;this[_0x5036b0(0x109)][_0x5036b0(0x12e)](_0x322720[_0x5036b0(0x107)]),this[_0x5036b0(0x108)](_0x322720);}),this[_0x4dcca6(0x116)]['on'](_0x4dcca6(0x130),(_0x140bd0,_0x128331)=>{const _0x40d630=_0x4dcca6;for(const _0x456319 of _0x128331[_0x40d630(0x132)])this[_0x40d630(0x109)][_0x40d630(0x127)](_0x456319[_0x40d630(0x107)]),this[_0x40d630(0x119)][_0x40d630(0x127)](_0x456319);for(const _0x36819f of _0x128331[_0x40d630(0x110)])this[_0x40d630(0x109)][_0x40d630(0x12e)](_0x36819f[_0x40d630(0x107)]),this[_0x40d630(0x108)](_0x36819f);}),this['on'](_0x4dcca6(0x136),()=>{const _0x27577b=_0x4dcca6;this[_0x27577b(0x10d)][_0x27577b(0x11b)]();}),this['on'](_0x4dcca6(0x120),()=>{const _0xb0666e=_0x4dcca6;this[_0xb0666e(0x10d)][_0xb0666e(0x128)]();}),this[_0x4dcca6(0x105)](this[_0x4dcca6(0x107)],_0x4dcca6(0x11f),()=>{const _0x3dc984=_0x4dcca6;this[_0x3dc984(0x11f)]();});}[_0x2d925d(0x108)](_0x2b200b){const _0x21b44d=_0x2d925d,_0x2796e2=this[_0x21b44d(0x119)][_0x21b44d(0x111)](_0x2b200b);let _0x5d81ce,_0x84f6de;for(const _0x300b99 of this[_0x21b44d(0x119)])if(_0x2b200b[_0x21b44d(0x12c)]<_0x300b99[_0x21b44d(0x12c)]){_0x5d81ce=_0x300b99;break;}if(_0x84f6de=_0x5d81ce?this[_0x21b44d(0x119)][_0x21b44d(0x111)](_0x5d81ce):this[_0x21b44d(0x119)][_0x21b44d(0x10c)],-0x1!==_0x2796e2){if(_0x2796e2===_0x84f6de-0x1)return;this[_0x21b44d(0x119)][_0x21b44d(0x127)](_0x2b200b),_0x84f6de=_0x5d81ce?this[_0x21b44d(0x119)][_0x21b44d(0x111)](_0x5d81ce):this[_0x21b44d(0x119)][_0x21b44d(0x10c)];}this[_0x21b44d(0x119)][_0x21b44d(0x12e)](_0x2b200b,_0x84f6de);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x14fe(){const _0x4ff720=['_activeAnnotation','context','EditorAnnotations','cancel','addAnnotation','removeEventListener','isAttached','_annotations','plugins','add','remove','editors','get','_destroyEditorAnnotationsIntegration','isOfficialPlugin','focus','ready','hasDomSelection','36bcxdRW','15188949ecpKpg','_editorAnnotations','listenTo','attach','Annotations','blur','has','isPremiumPlugin','activeAnnotation','wideSidebar','_detachFromContainer','addEventListener','register','2663340Oagnpn','requires','refreshPositioning','10DwjocU','set:container','204921uXmufV','pluginName','set','_refreshPositioningDebounced','init','off','3541982hgqCeS','getOrderedSelectedAnnotations','2528coRMuy','_attachToContainer','widesidebar-attach-already-attached','refresh','WideSidebar','high','_integrateWithEditorAnnotations','switchTo','4389044rXFKvB','detach','widesidebar-detach-not-attached','stopListening','rearrange','5806220mXuDSP','refreshVisibility','7154MZYFwt','resize','updateTargetRect','uiUpdate','change:container','setActiveAnnotation','from','1xYPdof','annotations','ck-sidebar--wide','container','destroy','stop'];_0x14fe=function(){return _0x4ff720;};return _0x14fe();}const _0x566465=_0x4a15;(function(_0x1008ac,_0x1b19b8){const _0x17b20a=_0x4a15,_0x3eea7f=_0x1008ac();while(!![]){try{const _0x4185c9=parseInt(_0x17b20a(0x198))/0x1*(parseInt(_0x17b20a(0x180))/0x2)+-parseInt(_0x17b20a(0x17a))/0x3*(parseInt(_0x17b20a(0x1b0))/0x4)+parseInt(_0x17b20a(0x18f))/0x5+parseInt(_0x17b20a(0x1be))/0x6+-parseInt(_0x17b20a(0x191))/0x7*(-parseInt(_0x17b20a(0x182))/0x8)+parseInt(_0x17b20a(0x1b1))/0x9*(-parseInt(_0x17b20a(0x178))/0xa)+-parseInt(_0x17b20a(0x18a))/0xb;if(_0x4185c9===_0x1b19b8)break;else _0x3eea7f['push'](_0x3eea7f['shift']());}catch(_0x3e4988){_0x3eea7f['push'](_0x3eea7f['shift']());}}}(_0x14fe,0xf3911));import{ContextPlugin as _0x4ec1f3,Context as _0x36674a}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x28d713}from'./annotationsuis.js';import{Sidebar as _0x5679cf}from'./sidebar.js';function _0x4a15(_0x3fc1e4,_0x443cd3){const _0x14fe50=_0x14fe();return _0x4a15=function(_0x4a154b,_0x51acf1){_0x4a154b=_0x4a154b-0x178;let _0x33c7fd=_0x14fe50[_0x4a154b];return _0x33c7fd;},_0x4a15(_0x3fc1e4,_0x443cd3);}import{CKEditorError as _0x2a6ca9,Collection as _0x143084}from'ckeditor5/src/utils.js';import{debounce as _0xf3712c}from'es-toolkit/compat';export class WideSidebar extends _0x4ec1f3{[_0x566465(0x1a4)];[_0x566465(0x199)];[_0x566465(0x1b2)];[_0x566465(0x17d)];static get[_0x566465(0x1bf)](){return[_0x5679cf,_0x28d713];}static get[_0x566465(0x17b)](){const _0x3e9a78=_0x566465;return _0x3e9a78(0x186);}static get[_0x566465(0x1ac)](){return!0x0;}static get[_0x566465(0x1b8)](){return!0x0;}constructor(_0x578b67){const _0x29ed5e=_0x566465;super(_0x578b67),this[_0x29ed5e(0x1a4)]=!0x1,this[_0x29ed5e(0x17c)](_0x29ed5e(0x1b9),null),this[_0x29ed5e(0x199)]=null,this[_0x29ed5e(0x1b2)]=new _0x143084(),this[_0x29ed5e(0x17d)]=_0xf3712c(()=>{const _0x3c6c6f=_0x29ed5e;_0x578b67[_0x3c6c6f(0x1a6)][_0x3c6c6f(0x1aa)](_0x3c6c6f(0x1b5))[_0x3c6c6f(0x190)](),this[_0x3c6c6f(0x199)][_0x3c6c6f(0x1c0)]();},0xfa,{'leading':!0x1});}[_0x566465(0x17e)](){const _0x225522=_0x566465,_0x2d703a=this[_0x225522(0x19f)][_0x225522(0x1a6)][_0x225522(0x1aa)](_0x28d713),_0x5d035a=this[_0x225522(0x19f)][_0x225522(0x1a6)][_0x225522(0x1aa)](_0x5679cf);_0x2d703a[_0x225522(0x1bd)](_0x225522(0x1ba),this),_0x5d035a[_0x225522(0x19b)]&&_0x2d703a[_0x225522(0x189)](_0x225522(0x1ba));}[_0x566465(0x196)](_0x190199){const _0xfa8950=_0x566465;if(_0x190199===this[_0xfa8950(0x1b9)])return;const _0x572637=this[_0xfa8950(0x19f)][_0xfa8950(0x1a6)][_0xfa8950(0x1aa)](_0x5679cf);_0x572637[_0xfa8950(0x19e)]=_0x190199;const _0x3c6d0f=this[_0xfa8950(0x1b9)];_0x572637[_0xfa8950(0x185)]({'blurredAnnotation':_0x3c6d0f,'activatedAnnotation':_0x190199}),this[_0xfa8950(0x1b9)]=_0x190199;}[_0x566465(0x1b4)](_0x5ea196){const _0x29b1e2=_0x566465;this[_0x29b1e2(0x199)]=_0x5ea196;const _0x32bd54=this[_0x29b1e2(0x19f)][_0x29b1e2(0x1a6)][_0x29b1e2(0x1aa)](_0x5679cf);if(_0x32bd54[_0x29b1e2(0x1a5)]=_0x5ea196,this[_0x29b1e2(0x1a4)])throw new _0x2a6ca9(_0x29b1e2(0x184),this);this[_0x29b1e2(0x1a4)]=!0x0,this[_0x29b1e2(0x1b3)](_0x32bd54,_0x29b1e2(0x179),()=>{const _0x369896=_0x29b1e2;this[_0x369896(0x18b)](),this[_0x369896(0x1b3)](_0x32bd54,_0x369896(0x195),_0x1bdebb=>{const _0x16d2cc=_0x369896;_0x1bdebb[_0x16d2cc(0x17f)](),this[_0x16d2cc(0x1b4)](_0x5ea196);});}),_0x32bd54[_0x29b1e2(0x183)]({'viewClass':_0x29b1e2(0x19a)});const _0x5e4d47=_0x213458=>{const _0x3e635e=_0x29b1e2;_0x213458[_0x3e635e(0x193)](),_0x32bd54[_0x3e635e(0x1a2)](_0x213458);};for(const _0x502bdf of _0x5ea196)_0x5e4d47(_0x502bdf);this[_0x29b1e2(0x1b3)](_0x5ea196,_0x29b1e2(0x1a7),(_0xae4e2b,_0x136c61)=>{_0x5e4d47(_0x136c61);}),this[_0x29b1e2(0x1b3)](_0x5ea196,_0x29b1e2(0x1a8),(_0x464a79,_0x2a70bf,_0x1f7d87)=>{const _0x149148=_0x29b1e2;_0x32bd54[_0x149148(0x18e)]({'removedAnnotation':_0x2a70bf,'previousAnnotation':_0x5ea196[_0x149148(0x1aa)](_0x1f7d87-0x1),'nextAnnotation':_0x5ea196[_0x149148(0x1aa)](_0x1f7d87+0x1)}),_0x2a70bf===this[_0x149148(0x1b9)]&&this[_0x149148(0x196)](null);},{'priority':_0x29b1e2(0x187)}),this[_0x29b1e2(0x1b3)](_0x5ea196,_0x29b1e2(0x1ad),(_0x4fceb0,_0x594b1f)=>{const _0x5e3781=_0x29b1e2;this[_0x5e3781(0x196)](_0x594b1f);}),this[_0x29b1e2(0x1b3)](_0x5ea196,_0x29b1e2(0x1b6),()=>{const _0x5ade52=_0x29b1e2;this[_0x5ade52(0x196)](null);});const _0x147b64=this[_0x29b1e2(0x19f)]instanceof _0x36674a?this[_0x29b1e2(0x19f)][_0x29b1e2(0x1a9)]:new _0x143084([this[_0x29b1e2(0x19f)]]);for(const _0x45f82d of _0x147b64)this[_0x29b1e2(0x188)](_0x45f82d);this[_0x29b1e2(0x1b3)](_0x147b64,_0x29b1e2(0x1a7),(_0x3f1c21,_0x235e94)=>{const _0x30f193=_0x29b1e2;this[_0x30f193(0x1b3)](_0x235e94,_0x30f193(0x1ae),()=>{const _0x48e27f=_0x30f193;this[_0x48e27f(0x188)](_0x235e94);});}),this[_0x29b1e2(0x1b3)](_0x147b64,_0x29b1e2(0x1a8),(_0x37e855,_0x2ae5cd)=>{const _0x120035=_0x29b1e2;_0x2ae5cd[_0x120035(0x1a6)][_0x120035(0x1b7)](_0x120035(0x1a0))&&this[_0x120035(0x1ab)](_0x2ae5cd[_0x120035(0x1a6)][_0x120035(0x1aa)](_0x120035(0x1a0)));}),window[_0x29b1e2(0x1bc)](_0x29b1e2(0x192),this[_0x29b1e2(0x17d)]),this[_0x29b1e2(0x19f)][_0x29b1e2(0x1a6)][_0x29b1e2(0x1aa)](_0x29b1e2(0x1b5))[_0x29b1e2(0x190)](),this[_0x29b1e2(0x199)][_0x29b1e2(0x1c0)]();}[_0x566465(0x18b)](){const _0x543dba=_0x566465;if(!this[_0x543dba(0x1a4)])throw new _0x2a6ca9(_0x543dba(0x18c),this);this[_0x543dba(0x196)](null);const _0x54df48=this[_0x543dba(0x19f)][_0x543dba(0x1a6)][_0x543dba(0x1aa)](_0x5679cf);_0x54df48[_0x543dba(0x1bb)](this[_0x543dba(0x199)]),this[_0x543dba(0x18d)](_0x54df48),this[_0x543dba(0x18d)](this[_0x543dba(0x199)]),this[_0x543dba(0x19f)]instanceof _0x36674a&&this[_0x543dba(0x18d)](this[_0x543dba(0x19f)][_0x543dba(0x1a9)]);for(const _0x2c81b2 of Array[_0x543dba(0x197)](this[_0x543dba(0x1b2)]))this[_0x543dba(0x1ab)](_0x2c81b2);window[_0x543dba(0x1a3)](_0x543dba(0x192),this[_0x543dba(0x17d)]),this[_0x543dba(0x17d)][_0x543dba(0x1a1)](),this[_0x543dba(0x1b9)]=null,this[_0x543dba(0x1a4)]=!0x1,this[_0x543dba(0x199)]=null;}[_0x566465(0x19c)](){const _0xe4500b=_0x566465;this[_0xe4500b(0x1a4)]&&this[_0xe4500b(0x18b)]();}[_0x566465(0x188)](_0x499fc2){const _0x1e2ad9=_0x566465;if(!_0x499fc2[_0x1e2ad9(0x1a6)][_0x1e2ad9(0x1b7)](_0x1e2ad9(0x1a0)))return;const _0x4ab2a3=_0x499fc2[_0x1e2ad9(0x1a6)][_0x1e2ad9(0x1aa)](_0x1e2ad9(0x1a0)),_0x4c7be1=()=>{const _0x430f8d=_0x1e2ad9,_0x15663a=_0x4ab2a3[_0x430f8d(0x181)]({'annotations':this[_0x430f8d(0x199)],'activeAnnotation':this[_0x430f8d(0x1b9)]});this[_0x430f8d(0x196)](_0x15663a[0x0]||null);};this[_0x1e2ad9(0x1b3)](_0x4ab2a3,_0x1e2ad9(0x185),_0x4c7be1),this[_0x1e2ad9(0x1b3)](_0x4ab2a3,_0x1e2ad9(0x1b6),(_0x4af192,{isAnnotationTracked:_0x1a9124})=>{const _0x15aa22=_0x1e2ad9;this[_0x15aa22(0x1b9)]&&_0x1a9124(this[_0x15aa22(0x1b9)])&&this[_0x15aa22(0x196)](null);}),this[_0x1e2ad9(0x1b3)](_0x4ab2a3,_0x1e2ad9(0x194),()=>{const _0x4df11e=_0x1e2ad9;this[_0x4df11e(0x17d)]();}),this[_0x1e2ad9(0x1b3)](this[_0x1e2ad9(0x199)],_0x1e2ad9(0x1b6),_0xa18ba3=>{const _0x15a092=_0x1e2ad9;_0x4ab2a3[_0x15a092(0x1af)]()&&(_0x4c7be1(),_0xa18ba3[_0x15a092(0x19d)]());},{'priority':_0x1e2ad9(0x187)}),this[_0x1e2ad9(0x1b2)][_0x1e2ad9(0x1a7)](_0x4ab2a3);}[_0x566465(0x1ab)](_0x447776){const _0x6f173f=_0x566465;this[_0x6f173f(0x18d)](_0x447776),this[_0x6f173f(0x1b2)][_0x6f173f(0x1a8)](_0x447776);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x37970c=_0x8f59;(function(_0x1a242f,_0x5d3bd3){const _0x5cbd4c=_0x8f59,_0x20dd3b=_0x1a242f();while(!![]){try{const _0x1c7b56=-parseInt(_0x5cbd4c(0x181))/0x1*(parseInt(_0x5cbd4c(0x16a))/0x2)+parseInt(_0x5cbd4c(0x189))/0x3+parseInt(_0x5cbd4c(0x15f))/0x4+-parseInt(_0x5cbd4c(0x16b))/0x5+parseInt(_0x5cbd4c(0x161))/0x6+parseInt(_0x5cbd4c(0x180))/0x7+-parseInt(_0x5cbd4c(0x179))/0x8*(parseInt(_0x5cbd4c(0x192))/0x9);if(_0x1c7b56===_0x5d3bd3)break;else _0x20dd3b['push'](_0x20dd3b['shift']());}catch(_0x2dc158){_0x20dd3b['push'](_0x20dd3b['shift']());}}}(_0x11be,0xf170a));import{Command as _0x36c818}from'ckeditor5/src/core.js';import{uid as _0x4320e5,CKEditorError as _0x3768d7}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x36c818{constructor(_0x5c47a1){const _0x211706=_0x8f59;super(_0x5c47a1),this[_0x211706(0x171)](_0x211706(0x173),!0x1);}[_0x37970c(0x18f)](){const _0x55053a=_0x37970c,_0x441f18=this[_0x55053a(0x166)][_0x55053a(0x16e)][_0x55053a(0x17c)][_0x55053a(0x182)];this[_0x55053a(0x17b)]=!0x0,this[_0x55053a(0x173)]=!0x1;for(const _0x4449f1 of _0x441f18[_0x55053a(0x177)]())if(this[_0x55053a(0x16d)](_0x4449f1))return void(this[_0x55053a(0x173)]=!0x0);}[_0x37970c(0x17d)]({threadId:_0x11581e=_0x4320e5(),ranges:_0x14d0bc,comment:_0x202162}={}){const _0x49c37c=_0x37970c,_0x14fa06=this[_0x49c37c(0x166)][_0x49c37c(0x16e)],_0x276756=_0x14d0bc??Array[_0x49c37c(0x187)](_0x14fa06[_0x49c37c(0x17c)][_0x49c37c(0x182)][_0x49c37c(0x177)]()),_0x5c66e9=[];for(const _0x5dae2e of _0x276756)this[_0x49c37c(0x16d)](_0x5dae2e)&&_0x5c66e9[_0x49c37c(0x167)](this[_0x49c37c(0x165)](_0x5dae2e));if(!_0x5c66e9[_0x49c37c(0x17a)])throw new _0x3768d7(_0x49c37c(0x190),null);_0x202162&&this[_0x49c37c(0x18c)](_0x11581e,_0x202162),this[_0x49c37c(0x18a)](_0x11581e,_0x5c66e9,!!_0x202162);}[_0x37970c(0x18a)](_0x3fb6a5,_0x1e940d,_0x1975dd){const _0x3eece1=_0x37970c;this[_0x3eece1(0x166)][_0x3eece1(0x16e)][_0x3eece1(0x17e)](_0x32f148=>{const _0x37a872=_0x3eece1;for(const _0x1da6ab of _0x1e940d){const _0x162d74=_0x4320e5()[_0x37a872(0x163)](0x1,0x5),_0x2c0417=_0x37a872(0x188)+_0x3fb6a5+':'+_0x162d74;_0x32f148[_0x37a872(0x18b)](_0x2c0417,{'range':_0x1da6ab,'usingOperation':_0x1975dd,'affectsData':_0x1975dd});}});}[_0x37970c(0x18c)](_0x5e1574,_0x55f524){const _0x2ff62e=_0x37970c,_0x4a0aca=this[_0x2ff62e(0x166)][_0x2ff62e(0x183)][_0x2ff62e(0x186)](_0x2ff62e(0x184)),_0x1c3761=this[_0x2ff62e(0x166)][_0x2ff62e(0x17f)][_0x2ff62e(0x186)](_0x2ff62e(0x185)),_0x34edd0=this[_0x2ff62e(0x166)][_0x2ff62e(0x183)][_0x2ff62e(0x186)](_0x2ff62e(0x191))['me'];if(!_0x34edd0)throw new _0x3768d7(_0x2ff62e(0x170),null);_0x4a0aca[_0x2ff62e(0x178)]({'threadId':_0x5e1574,'channelId':_0x1c3761,'comments':[{'authorId':_0x34edd0['id'],'content':_0x55f524,'createdAt':new Date(),'attributes':{}}]});}[_0x37970c(0x16d)](_0x155721){const _0x3b12ef=_0x37970c;for(const _0x1f5ead of _0x155721[_0x3b12ef(0x168)]())if(this[_0x3b12ef(0x16c)](_0x1f5ead))return!0x0;return!0x1;}[_0x37970c(0x16c)](_0x3aff04){const _0x38aa12=_0x37970c;return _0x3aff04['is'](_0x38aa12(0x176))||this[_0x38aa12(0x166)][_0x38aa12(0x16e)][_0x38aa12(0x164)][_0x38aa12(0x18d)](_0x3aff04)&&!_0x3aff04['is'](_0x38aa12(0x16f),_0x38aa12(0x175));}[_0x37970c(0x165)](_0x41e07e){const _0x153355=_0x37970c,_0xf92c38=_0x3f7d13=>!this[_0x153355(0x16c)](_0x3f7d13[_0x153355(0x162)]),_0x5e60a2=_0x41e07e[_0x153355(0x169)][_0x153355(0x160)](_0xf92c38),_0x532ea5=_0x41e07e[_0x153355(0x174)][_0x153355(0x160)](_0xf92c38,{'direction':_0x153355(0x18e)});return this[_0x153355(0x166)][_0x153355(0x16e)][_0x153355(0x172)](_0x5e60a2,_0x532ea5);}}function _0x8f59(_0x58b39d,_0x25a78b){const _0x11be61=_0x11be();return _0x8f59=function(_0x8f596f,_0x48b847){_0x8f596f=_0x8f596f-0x15f;let _0x233e01=_0x11be61[_0x8f596f];return _0x233e01;},_0x8f59(_0x58b39d,_0x25a78b);}function _0x11be(){const _0x145493=['end','tableCell','$textProxy','getRanges','addCommentThread','8PZNfJw','length','isEnabled','document','execute','change','config','12573372xoBPhl','4mLSrPz','selection','plugins','CommentsRepository','collaboration.channelId','get','from','comment:','1079913gWxKja','_createMarkersFromRanges','addMarker','_createCommentThread','isObject','backward','refresh','addcommentthreadcommand-incorrect-ranges','Users','8316369lilZsB','2624236khiyJP','getLastMatchingPosition','9458184dgYFGe','item','substr','schema','_trimToContent','editor','push','getItems','start','840568dRusyX','3972375tKoMQX','_itemIsContent','_hasContent','model','element','addcommentthreadcommand-user-not-found','set','createRange','hasContent'];_0x11be=function(){return _0x145493;};return _0x11be();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d8e78=_0xefc8;(function(_0x2fb285,_0x4635ef){const _0x20cdf6=_0xefc8,_0x3c8f5b=_0x2fb285();while(!![]){try{const _0x821890=-parseInt(_0x20cdf6(0xe8))/0x1*(parseInt(_0x20cdf6(0xf0))/0x2)+-parseInt(_0x20cdf6(0xe7))/0x3+parseInt(_0x20cdf6(0xcd))/0x4*(-parseInt(_0x20cdf6(0xf1))/0x5)+-parseInt(_0x20cdf6(0xe6))/0x6*(parseInt(_0x20cdf6(0xd1))/0x7)+parseInt(_0x20cdf6(0xf4))/0x8*(parseInt(_0x20cdf6(0xe2))/0x9)+parseInt(_0x20cdf6(0xdf))/0xa*(-parseInt(_0x20cdf6(0xd0))/0xb)+parseInt(_0x20cdf6(0xe4))/0xc;if(_0x821890===_0x4635ef)break;else _0x3c8f5b['push'](_0x3c8f5b['shift']());}catch(_0x5a23af){_0x3c8f5b['push'](_0x3c8f5b['shift']());}}}(_0x24e2,0x6171c));import{ContextPlugin as _0x269605}from'ckeditor5/src/core.js';import{Collection as _0x4e49d8}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x281398}from'./commentsrepository.js';function _0x24e2(){const _0x5b190b=['archivedAt','add','activate','findIndex','isActive','getCommentThread','context','length','collection','highest','init','get','39340WvRvgY','listenTo','change:archivedAt','9ldjmKU','isVisible','26729088GnRcur','CommentsArchive','21084hsubgQ','546921DdZhOF','450Coqbhs','focus','requires','isOfficialPlugin','pluginName','plugins','_calculatePosition','archivedThreads','3426oiRchz','1160850ISkovR','isPremiumPlugin','addCommentThread','3591448bjKqum','has','8NEyDYo','removeCommentThread','remove','1441wkIveY','686tkfUqY','stopListening'];_0x24e2=function(){return _0x5b190b;};return _0x24e2();}import{Annotations as _0x21f11a}from'../annotations/annotations.js';function _0xefc8(_0x3ca86c,_0x3865c6){const _0x24e263=_0x24e2();return _0xefc8=function(_0xefc86c,_0x73fe3e){_0xefc86c=_0xefc86c-0xcd;let _0xcebb1e=_0x24e263[_0xefc86c];return _0xcebb1e;},_0xefc8(_0x3ca86c,_0x3865c6);}export class CommentsArchive extends _0x269605{static get[_0x1d8e78(0xec)](){const _0x3dcc08=_0x1d8e78;return _0x3dcc08(0xe5);}static get[_0x1d8e78(0xeb)](){return!0x0;}static get[_0x1d8e78(0xf2)](){return!0x0;}static get[_0x1d8e78(0xea)](){return[_0x281398,_0x21f11a];}constructor(_0x410933){const _0x3a283c=_0x1d8e78;super(_0x410933),this[_0x3a283c(0xef)]=new _0x4e49d8();}[_0x1d8e78(0xdd)](){const _0x160926=_0x1d8e78,_0x8e887=this[_0x160926(0xd9)],_0x9c1c8f=_0x8e887[_0x160926(0xed)][_0x160926(0xde)](_0x281398),_0x45e5ea=_0x8e887[_0x160926(0xed)][_0x160926(0xde)](_0x21f11a);this[_0x160926(0xe0)](_0x9c1c8f,_0x160926(0xf3),(_0x3b8b21,{threadId:_0x5234e2})=>{const _0x56ded2=_0x160926,_0x2dea34=_0x9c1c8f[_0x56ded2(0xd8)](_0x5234e2);_0x2dea34[_0x56ded2(0xd3)]&&this[_0x56ded2(0xef)][_0x56ded2(0xd4)](_0x2dea34,this[_0x56ded2(0xee)](_0x2dea34[_0x56ded2(0xd3)])),this[_0x56ded2(0xe0)](_0x2dea34,_0x56ded2(0xe1),(_0x380b4b,_0x26db3d,_0x56dd31)=>{const _0x5f00ee=_0x56ded2;_0x56dd31?this[_0x5f00ee(0xef)][_0x5f00ee(0xf5)](_0x2dea34)||this[_0x5f00ee(0xef)][_0x5f00ee(0xd4)](_0x2dea34,this[_0x5f00ee(0xee)](_0x2dea34[_0x5f00ee(0xd3)])):this[_0x5f00ee(0xef)][_0x5f00ee(0xf5)](_0x2dea34)&&this[_0x5f00ee(0xef)][_0x5f00ee(0xcf)](_0x2dea34);});}),this[_0x160926(0xe0)](_0x9c1c8f,_0x160926(0xce),(_0x4bbeff,{threadId:_0x5db8cd})=>{const _0x613a4e=_0x160926,_0x3f3c10=_0x9c1c8f[_0x613a4e(0xd8)](_0x5db8cd);this[_0x613a4e(0xd2)](_0x3f3c10),this[_0x613a4e(0xef)][_0x613a4e(0xf5)](_0x3f3c10)&&this[_0x613a4e(0xef)][_0x613a4e(0xcf)](_0x3f3c10);},{'priority':_0x160926(0xdc)}),this[_0x160926(0xe0)](_0x45e5ea[_0x160926(0xdb)],_0x160926(0xe9),(_0x4babba,_0x1e1083)=>{const _0x5dfb8c=_0x160926;_0x1e1083[_0x5dfb8c(0xe3)]||(_0x1e1083[_0x5dfb8c(0xd7)]=!0x0,_0x45e5ea[_0x5dfb8c(0xd5)](_0x1e1083));});}[_0x1d8e78(0xee)](_0x1c192e){const _0x4d260c=_0x1d8e78,_0x36c739=[...this[_0x4d260c(0xef)]][_0x4d260c(0xd6)](_0x316797=>_0x316797[_0x4d260c(0xd3)]<_0x1c192e);return _0x36c739>-0x1?_0x36c739:this[_0x4d260c(0xef)][_0x4d260c(0xda)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2b18(){const _0x4de499=['isOpen','_pendingThreads','tooltip','innerView','indexOf','menuBar:commentsArchive','remove','hide','archivedThreads','_calculatePosition','isEnabled','369naWVFz','isOfficialPlugin','3250842UzGVTQ','findIndex','COMMENTS_ARCHIVE','commentsArchiveView','bind','add','splice','stopListening','commentsArchive','archivedAt','listenTo','stop','focusableElements','EDITOR_TOP_SIDE','editor','locale','requires','get','321622ssCMdF','componentFactory','annotationViews','init','config','has','CommentsRepository','includes','length','_hideDialogOnAnnotationEscape','isOn','source','execute','getByInnerView','filter','12qLOvwn','323938SVgFuL','776120KTaSaF','set','Annotations','collection','_toggleDialog','channelId','forEach','15720BfDzAf','isVisible','pluginName','menuitemcheckbox','_threadToController','3589908BSInZR','view','CommentsArchiveUI','push','_visibleAnnotations','find','4NxjeBf','plugins','473661HVGbhY','_createCommentsArchiveButton','77xjIblc','show','168LlQdMe','isPremiumPlugin','escape','_handleNewThread','collaboration.channelId','Dialog'];_0x2b18=function(){return _0x4de499;};return _0x2b18();}const _0x5cde83=_0x595a;(function(_0x5f281,_0x46774b){const _0xfcffc=_0x595a,_0x673139=_0x5f281();while(!![]){try{const _0x4df4a5=parseInt(_0xfcffc(0x209))/0x1+parseInt(_0xfcffc(0x1f4))/0x2*(-parseInt(_0xfcffc(0x1f3))/0x3)+parseInt(_0xfcffc(0x207))/0x4*(parseInt(_0xfcffc(0x1f5))/0x5)+-parseInt(_0xfcffc(0x1d2))/0x6+parseInt(_0xfcffc(0x1e4))/0x7*(-parseInt(_0xfcffc(0x20d))/0x8)+parseInt(_0xfcffc(0x1d0))/0x9*(-parseInt(_0xfcffc(0x1fc))/0xa)+-parseInt(_0xfcffc(0x20b))/0xb*(-parseInt(_0xfcffc(0x201))/0xc);if(_0x4df4a5===_0x46774b)break;else _0x673139['push'](_0x673139['shift']());}catch(_0x368f66){_0x673139['push'](_0x673139['shift']());}}}(_0x2b18,0x7b0bd));import'../../theme/commentsarchive.css';import{Plugin as _0x40be50}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x2b0b14}from'ckeditor5/src/icons.js';import{ViewCollection as _0x346ee3,MenuBarMenuListItemButtonView as _0x4fad83,ButtonView as _0x2531b4,Dialog as _0x4e11b6,DialogViewPosition as _0x1aac28}from'ckeditor5/src/ui.js';import{getTranslation as _0x241fbc}from'../utils/common-translations.js';import{CommentsArchiveView as _0x9524a5}from'./ui/view/commentsarchiveview.js';function _0x595a(_0x1c4cd4,_0x5ef0b4){const _0x2b1885=_0x2b18();return _0x595a=function(_0x595a13,_0x2d2165){_0x595a13=_0x595a13-0x1c6;let _0x4c3019=_0x2b1885[_0x595a13];return _0x4c3019;},_0x595a(_0x1c4cd4,_0x5ef0b4);}import{CommentsArchive as _0x28320d}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x40be50{[_0x5cde83(0x1d5)];[_0x5cde83(0x1e6)];[_0x5cde83(0x1c6)];static get[_0x5cde83(0x1fe)](){const _0x1d1db7=_0x5cde83;return _0x1d1db7(0x203);}static get[_0x5cde83(0x1d1)](){return!0x0;}static get[_0x5cde83(0x20e)](){return!0x0;}static get[_0x5cde83(0x1e2)](){return[_0x28320d,_0x4e11b6];}constructor(_0x4b8c40){const _0x32bba8=_0x5cde83;super(_0x4b8c40),this[_0x32bba8(0x1e6)]=new _0x346ee3(),this[_0x32bba8(0x1c6)]=[];}[_0x5cde83(0x1e7)](){const _0x3c5575=_0x5cde83,_0x451190=this[_0x3c5575(0x1e0)],_0x5cbe75=this[_0x3c5575(0x1ed)][_0x3c5575(0x1d6)](this);_0x451190['ui'][_0x3c5575(0x1e5)][_0x3c5575(0x1d7)](_0x3c5575(0x1da),()=>this[_0x3c5575(0x20a)](_0x2531b4,!0x0)),_0x451190['ui'][_0x3c5575(0x1e5)][_0x3c5575(0x1d7)](_0x3c5575(0x1ca),()=>{const _0x417ada=_0x3c5575,_0x2c940b=this[_0x417ada(0x20a)](_0x4fad83);return _0x2c940b[_0x417ada(0x1f6)]({'role':_0x417ada(0x1ff)}),_0x2c940b;});const _0x37e792=_0x451190[_0x3c5575(0x208)][_0x3c5575(0x1e3)](_0x28320d),_0x5a944f=_0x451190[_0x3c5575(0x208)][_0x3c5575(0x1e3)](_0x3c5575(0x1f7)),_0x2565a6=_0x451190[_0x3c5575(0x208)][_0x3c5575(0x1e3)](_0x3c5575(0x1ea));_0x37e792[_0x3c5575(0x1cd)][_0x3c5575(0x1fb)](_0x474794=>{const _0xc3a357=_0x3c5575;this[_0xc3a357(0x210)](_0x474794);}),this[_0x3c5575(0x1dc)](_0x37e792[_0x3c5575(0x1cd)],_0x3c5575(0x1d7),(_0x4229b0,_0x27999a)=>{const _0xa03eb1=_0x3c5575;this[_0xa03eb1(0x210)](_0x27999a);}),this[_0x3c5575(0x1dc)](_0x5a944f[_0x3c5575(0x1f8)],_0x3c5575(0x1d7),(_0x2b56e8,_0x383904)=>{const _0x3161f3=_0x3c5575,_0x579eac=this[_0x3161f3(0x1c6)][_0x3161f3(0x206)](_0x2cb4ef=>{const _0x5daa9a=_0x3161f3,_0x413dbc=_0x2565a6[_0x5daa9a(0x200)][_0x5daa9a(0x1e3)](_0x2cb4ef);return _0x413dbc&&_0x383904[_0x5daa9a(0x1c8)]===_0x413dbc[_0x5daa9a(0x202)];});if(_0x579eac){const _0x449303=this[_0x3161f3(0x1ce)](_0x579eac[_0x3161f3(0x1db)]);this[_0x3161f3(0x1e6)][_0x3161f3(0x1d7)](_0x383904[_0x3161f3(0x202)],_0x449303),this[_0x3161f3(0x1c6)][_0x3161f3(0x1d8)](this[_0x3161f3(0x1c6)][_0x3161f3(0x1c9)](_0x579eac),0x1);}}),this[_0x3c5575(0x1dc)](_0x37e792[_0x3c5575(0x1cd)],_0x3c5575(0x1cb),(_0x516864,_0x42629f)=>{const _0x142bfe=_0x3c5575,_0x75d0c5=_0x451190[_0x142bfe(0x1e8)][_0x142bfe(0x1e3)](_0x142bfe(0x211));if(!_0x75d0c5||_0x42629f[_0x142bfe(0x1fa)]===_0x75d0c5){if(this[_0x142bfe(0x1c6)][_0x142bfe(0x1eb)](_0x42629f))this[_0x142bfe(0x1c6)][_0x142bfe(0x1d8)](this[_0x142bfe(0x1c6)][_0x142bfe(0x1c9)](_0x42629f),0x1);else{const _0x1cda65=_0x2565a6[_0x142bfe(0x200)][_0x142bfe(0x1e3)](_0x42629f),_0x22f3cd=_0x5a944f[_0x142bfe(0x1f1)](_0x1cda65[_0x142bfe(0x202)]);this[_0x142bfe(0x1e6)][_0x142bfe(0x1cb)](_0x22f3cd[_0x142bfe(0x202)]),this[_0x142bfe(0x1d9)](_0x22f3cd[_0x142bfe(0x1de)]);}}}),this[_0x3c5575(0x1dc)](_0x5a944f[_0x3c5575(0x1f8)],_0x3c5575(0x1d7),(_0x73b257,_0x16cdda)=>{const _0x7563b3=_0x3c5575;this[_0x7563b3(0x1dc)](_0x16cdda,_0x7563b3(0x20f),_0x5cbe75);}),this[_0x3c5575(0x1dc)](_0x5a944f[_0x3c5575(0x1f8)],_0x3c5575(0x1cb),(_0x3786d0,_0x39906a)=>{const _0x1bf7d4=_0x3c5575;this[_0x1bf7d4(0x1d9)](_0x39906a,_0x1bf7d4(0x20f),_0x5cbe75);});}[_0x5cde83(0x210)](_0xfafbdb){const _0x20b440=_0x5cde83,_0x148969=this[_0x20b440(0x1e0)][_0x20b440(0x208)][_0x20b440(0x1e3)](_0x20b440(0x1ea)),_0x3a95d6=this[_0x20b440(0x1e0)][_0x20b440(0x208)][_0x20b440(0x1e3)](_0x20b440(0x1f7)),_0x927ad1=this[_0x20b440(0x1e0)][_0x20b440(0x1e8)][_0x20b440(0x1e3)](_0x20b440(0x211));if(!_0x927ad1||_0xfafbdb[_0x20b440(0x1fa)]===_0x927ad1){const _0x1f4c20=_0x148969[_0x20b440(0x200)][_0x20b440(0x1e3)](_0xfafbdb);if(!_0x1f4c20)return void this[_0x20b440(0x1c6)][_0x20b440(0x204)](_0xfafbdb);const _0x57b7e9=this[_0x20b440(0x1ce)](_0xfafbdb[_0x20b440(0x1db)]),_0x39bd2d=_0x3a95d6[_0x20b440(0x1f1)](_0x1f4c20[_0x20b440(0x202)]);_0x39bd2d[_0x20b440(0x1fd)]&&_0x3a95d6[_0x20b440(0x205)][_0x20b440(0x1cb)](_0x39bd2d),this[_0x20b440(0x1e6)][_0x20b440(0x1d7)](_0x39bd2d[_0x20b440(0x202)],_0x57b7e9);}}[_0x5cde83(0x1ce)](_0xd9c63){const _0x3701ee=_0x5cde83,_0x2eeb4a=this[_0x3701ee(0x1e0)][_0x3701ee(0x1e8)][_0x3701ee(0x1e3)](_0x3701ee(0x211)),_0x1d2511=[...this[_0x3701ee(0x1e0)][_0x3701ee(0x208)][_0x3701ee(0x1e3)](_0x28320d)[_0x3701ee(0x1cd)]][_0x3701ee(0x1f2)](_0xcfdf35=>_0xcfdf35[_0x3701ee(0x1fa)]===_0x2eeb4a)[_0x3701ee(0x1d3)](_0x3a401c=>_0x3a401c[_0x3701ee(0x1db)]<_0xd9c63);return _0x1d2511<0x0||_0x1d2511>this[_0x3701ee(0x1e6)][_0x3701ee(0x1ec)]?this[_0x3701ee(0x1e6)][_0x3701ee(0x1ec)]:_0x1d2511-0x1;}[_0x5cde83(0x1f9)](){const _0x185f23=_0x5cde83,_0x58340e=this[_0x185f23(0x1e0)],_0x274270=_0x58340e[_0x185f23(0x208)][_0x185f23(0x1e3)](_0x185f23(0x212));this[_0x185f23(0x1d5)]||(this[_0x185f23(0x1d5)]=new _0x9524a5(_0x58340e[_0x185f23(0x1e1)],this[_0x185f23(0x1e6)])),_0x185f23(0x1da)===_0x274270['id']?_0x274270[_0x185f23(0x1cc)]():_0x274270[_0x185f23(0x20c)]({'id':_0x185f23(0x1da),'title':_0x241fbc(_0x58340e[_0x185f23(0x1e1)],_0x185f23(0x1d4)),'icon':_0x2b0b14,'hasCloseButton':!0x0,'content':this[_0x185f23(0x1d5)],'position':_0x1aac28[_0x185f23(0x1df)]});}[_0x5cde83(0x20a)](_0x26fbe9,_0x50ab9b=!0x1){const _0x37f10a=_0x5cde83,_0x1ec840=this[_0x37f10a(0x1e0)][_0x37f10a(0x1e1)],_0x19017b=this[_0x37f10a(0x1e0)][_0x37f10a(0x208)][_0x37f10a(0x1e3)](_0x37f10a(0x212)),_0x25de0c=new _0x26fbe9(_0x1ec840);return _0x25de0c[_0x37f10a(0x1d6)](_0x37f10a(0x1cf))['to'](this,_0x37f10a(0x1cf)),_0x25de0c[_0x37f10a(0x1d6)](_0x37f10a(0x1ee))['to'](_0x19017b,'id',_0x459f30=>_0x37f10a(0x1da)===_0x459f30),_0x25de0c[_0x37f10a(0x1f6)]({'label':_0x241fbc(_0x1ec840,_0x37f10a(0x1d4)),'icon':_0x2b0b14,'isToggleable':!0x0}),_0x50ab9b&&(_0x25de0c[_0x37f10a(0x1c7)]=!0x0),this[_0x37f10a(0x1dc)](_0x25de0c,_0x37f10a(0x1f0),()=>this[_0x37f10a(0x1f9)]()),_0x25de0c;}[_0x5cde83(0x1ed)]=_0x2fc54c=>{const _0x57dfa8=_0x5cde83,_0x4f7d6f=_0x2fc54c[_0x57dfa8(0x1ef)];if(!this[_0x57dfa8(0x1e6)][_0x57dfa8(0x1e9)](_0x4f7d6f[_0x57dfa8(0x202)]))return;const _0x21719c=this[_0x57dfa8(0x1e0)][_0x57dfa8(0x208)][_0x57dfa8(0x1e3)](_0x57dfa8(0x212));_0x21719c[_0x57dfa8(0x213)]&&_0x57dfa8(0x1da)===_0x21719c['id']&&(_0x21719c[_0x57dfa8(0x1cc)](),_0x2fc54c[_0x57dfa8(0x1dd)]());};}
|