@ckeditor/ckeditor5-comments 47.6.0 → 47.6.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/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 +19 -19
- 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 _0x4d4ad6=_0x2d83;function _0x4d7f(){const _0x36dfc8=['element','resolved','count','reverse','setTemplate','_findOptimalIndex','1279960RwaDFU','resolveCommentThread','_rearrangeCollapse','ck-hidden','arrowdown','21NMlVAp','_handleRemoveCommentModel','2921769jHOGQH','130xfodpb','focusFirst','removed','change:isResolved','refreshVisibleViews','get','destroy','resolvedBy','change:hasDirtyComment','editorDestroyed','arrowup','_handleNewCommentModel','753ndqajw','commentUpdated','createCollection','from','224730CxcRfU','resolvedAt','1000076gbStnP','keystrokes','bind','expand','some','_model','add','focusTracker','visibleViews','_updateHasDirtyComment','authoredAt','insert','commentViews','set','resolvedCommentView','added','_shouldCollapse','collapse','_rearrangeExpand','change:isEditMode','_handleInfoComment','isActive','stopListening','equal','Thread\x20comments','maxCommentsWhenCollapsed','_config','locale','editorReady','editorConfig','isEditMode','change','bindTemplate','remove','render','includes','delete','_calculatePosition','ck-thread__comments','length','removeComment','100lhGGHh','focusLast','26948hMAeVf','hasDirtyComment','maxThreadTotalWeight','focus','weight','listenTo','change:isActive','_setupKeyboardNavigation','delegate','123654dUWYgd','comments','_collapsedCommentsView','focusCycler','forEach','viewUid','Marked\x20as\x20resolved','CommentView','updateComment','map','target','796ZBKnQQ','maxCommentCharsWhenCollapsed','formatDateTime'];_0x4d7f=function(){return _0x36dfc8;};return _0x4d7f();}function _0x2d83(_0x264141,_0x379c35){const _0x4d7fca=_0x4d7f();return _0x2d83=function(_0x2d834b,_0x2afd4a){_0x2d834b=_0x2d834b-0x189;let _0x32c47f=_0x4d7fca[_0x2d834b];return _0x32c47f;},_0x2d83(_0x264141,_0x379c35);}(function(_0x3bec66,_0x249b71){const _0x169881=_0x2d83,_0x55acee=_0x3bec66();while(!![]){try{const _0x86aa98=-parseInt(_0x169881(0x1a3))/0x1+-parseInt(_0x169881(0x1e4))/0x2*(parseInt(_0x169881(0x19f))/0x3)+-parseInt(_0x169881(0x1d0))/0x4*(-parseInt(_0x169881(0x193))/0x5)+parseInt(_0x169881(0x1d9))/0x6*(parseInt(_0x169881(0x190))/0x7)+parseInt(_0x169881(0x18b))/0x8+-parseInt(_0x169881(0x192))/0x9+-parseInt(_0x169881(0x1ce))/0xa*(-parseInt(_0x169881(0x1a5))/0xb);if(_0x86aa98===_0x249b71)break;else _0x55acee['push'](_0x55acee['shift']());}catch(_0x14d708){_0x55acee['push'](_0x55acee['shift']());}}}(_0x4d7f,0xa05eb));import{View as _0x510f19,FocusCycler as _0x3a068c}from'ckeditor5/src/ui.js';import{diff as _0x1eb1fd,Collection as _0x4c4270,FocusTracker as _0x105b53,KeystrokeHandler as _0x39c687}from'ckeditor5/src/utils.js';import{getTranslation as _0x20b361}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x42158f}from'./collapsedcommentsview.js';export class CommentsListView extends _0x510f19{[_0x4d4ad6(0x1b1)];[_0x4d4ad6(0x1b3)];[_0x4d4ad6(0x1ac)];[_0x4d4ad6(0x1a6)];[_0x4d4ad6(0x1dc)];[_0x4d4ad6(0x1aa)];[_0x4d4ad6(0x1bf)];[_0x4d4ad6(0x1db)];constructor(_0x11ddcd,_0x2bc967,_0x3ca694){const _0x2453f8=_0x4d4ad6;super(_0x11ddcd);const _0x1c9c3b=this[_0x2453f8(0x1c5)];this[_0x2453f8(0x1b2)](_0x2453f8(0x1d1),!0x1),this[_0x2453f8(0x1b2)](_0x2453f8(0x1cc),_0x2bc967[_0x2453f8(0x1da)][_0x2453f8(0x1cc)]),this[_0x2453f8(0x1b2)](_0x2453f8(0x1ba),!0x1),this[_0x2453f8(0x1aa)]=_0x2bc967,this[_0x2453f8(0x1bf)]=_0x3ca694,this[_0x2453f8(0x1b1)]=this[_0x2453f8(0x1a1)](),this[_0x2453f8(0x1ad)]=this[_0x2453f8(0x1a1)](),this[_0x2453f8(0x1b3)]=null,this[_0x2453f8(0x1ac)]=new _0x105b53(),this[_0x2453f8(0x1a6)]=new _0x39c687(),this[_0x2453f8(0x1dc)]=new _0x3a068c({'focusables':this[_0x2453f8(0x1b1)],'focusTracker':this[_0x2453f8(0x1ac)],'keystrokeHandler':this[_0x2453f8(0x1a6)],'keystrokeHandlerOptions':{'filter':_0x58e7c5=>this[_0x2453f8(0x1b1)][_0x2453f8(0x1e2)](_0x21eb5c=>_0x21eb5c[_0x2453f8(0x1e7)])[_0x2453f8(0x1c8)](_0x58e7c5[_0x2453f8(0x1e3)])},'actions':{'focusPrevious':_0x2453f8(0x19d),'focusNext':_0x2453f8(0x18f)}}),this[_0x2453f8(0x1db)]=new _0x42158f(_0x11ddcd),this[_0x2453f8(0x1db)][_0x2453f8(0x1a7)](_0x2453f8(0x1e9))['to'](this,_0x2453f8(0x1cc),_0x454ae9=>_0x454ae9-this[_0x2453f8(0x1bf)][_0x2453f8(0x1be)]);for(const _0xae21cb of _0x2bc967[_0x2453f8(0x1da)])this[_0x2453f8(0x19e)](_0xae21cb);this[_0x2453f8(0x1b9)](),this[_0x2453f8(0x1d5)](_0x2bc967[_0x2453f8(0x1da)],_0x2453f8(0x1ab),(_0x479640,_0x2a7aa6)=>{const _0x1e8895=_0x2453f8,_0x39b945=this[_0x1e8895(0x1ca)](_0x2a7aa6);this[_0x1e8895(0x1cc)]++,this[_0x1e8895(0x19e)](_0x2a7aa6,_0x39b945),this[_0x1e8895(0x197)]();}),this[_0x2453f8(0x1d5)](_0x2bc967[_0x2453f8(0x1da)],_0x2453f8(0x1c6),(_0x11e4c0,_0x3f94aa)=>{const _0x49b0d6=_0x2453f8;this[_0x49b0d6(0x1cc)]--,this[_0x49b0d6(0x191)](_0x3f94aa),this[_0x49b0d6(0x197)]();}),this[_0x2453f8(0x1d5)](_0x2bc967,_0x2453f8(0x1a0),()=>this[_0x2453f8(0x197)]()),this[_0x2453f8(0x1d5)](_0x2bc967,_0x2453f8(0x196),()=>this[_0x2453f8(0x1b9)]()),this['on'](_0x2453f8(0x1d6),()=>this[_0x2453f8(0x197)]()),this['on'](_0x2453f8(0x19b),()=>this[_0x2453f8(0x197)]()),this[_0x2453f8(0x189)]({'tag':'ul','attributes':{'class':[_0x2453f8(0x1cb),_0x1c9c3b['if'](_0x2453f8(0x1cc),_0x2453f8(0x18e),_0x1f5e0f=>!_0x1f5e0f)],'aria-label':_0x20b361(_0x11ddcd,_0x2453f8(0x1bd))},'children':this[_0x2453f8(0x1ad)]});}get[_0x4d4ad6(0x1b5)](){const _0x25af33=_0x4d4ad6;return this[_0x25af33(0x1aa)][_0x25af33(0x1d4)]>this[_0x25af33(0x1bf)][_0x25af33(0x1d2)]&&!this[_0x25af33(0x1ba)]&&!this[_0x25af33(0x1d1)];}[_0x4d4ad6(0x1c7)](){const _0x2a82e8=_0x4d4ad6;super[_0x2a82e8(0x1c7)](),this[_0x2a82e8(0x197)](),this[_0x2a82e8(0x1d7)]();}[_0x4d4ad6(0x1d3)](_0x101cd1){const _0x11e590=_0x4d4ad6;-0x1===_0x101cd1?this[_0x11e590(0x1dc)][_0x11e590(0x1cf)]():this[_0x11e590(0x1dc)][_0x11e590(0x194)]();}[_0x4d4ad6(0x199)](){const _0x27162f=_0x4d4ad6;this[_0x27162f(0x1db)][_0x27162f(0x199)]();for(const _0x42b4a4 of this[_0x27162f(0x1b1)])_0x42b4a4[_0x27162f(0x199)]();super[_0x27162f(0x199)]();}[_0x4d4ad6(0x197)](){const _0x2c4f4d=_0x4d4ad6;this[_0x2c4f4d(0x1b5)]?this[_0x2c4f4d(0x18d)]():this[_0x2c4f4d(0x1b7)]();}[_0x4d4ad6(0x19e)](_0x16f182,_0x44ae6a){const _0x4fecf7=_0x4d4ad6,_0x264106=new this[(_0x4fecf7(0x1bf))][(_0x4fecf7(0x1e0))](this[_0x4fecf7(0x1c0)],_0x16f182,{'maxCommentCharsWhenCollapsed':this[_0x4fecf7(0x1bf)][_0x4fecf7(0x1e5)],'formatDateTime':this[_0x4fecf7(0x1bf)][_0x4fecf7(0x1e6)],'editorConfig':this[_0x4fecf7(0x1bf)][_0x4fecf7(0x1c2)]});_0x264106[_0x4fecf7(0x1de)]=_0x16f182['id'],_0x264106[_0x4fecf7(0x1d8)](_0x4fecf7(0x1cd))['to'](this),_0x264106[_0x4fecf7(0x1d8)](_0x4fecf7(0x1e1))['to'](this),_0x264106[_0x4fecf7(0x1d8)](_0x4fecf7(0x18c))['to'](this),_0x264106[_0x4fecf7(0x1d8)](_0x4fecf7(0x1c1))['to'](this),_0x264106[_0x4fecf7(0x1d8)](_0x4fecf7(0x19c))['to'](this),this[_0x4fecf7(0x1d5)](_0x264106,_0x4fecf7(0x1b8),()=>this[_0x4fecf7(0x1ae)]()),this[_0x4fecf7(0x1b1)][_0x4fecf7(0x1ab)](_0x264106,_0x44ae6a);}[_0x4d4ad6(0x1ca)](_0x1a586c){const _0x51ac54=_0x4d4ad6,_0x480fb2=this[_0x51ac54(0x1aa)][_0x51ac54(0x18a)](_0x1a586c);return this[_0x51ac54(0x1b3)]?this[_0x51ac54(0x1b3)][_0x51ac54(0x1af)]>_0x1a586c[_0x51ac54(0x1af)]?_0x480fb2-0x1:_0x480fb2:_0x480fb2-0x1;}[_0x4d4ad6(0x1b9)](){const _0x286632=_0x4d4ad6;if(this[_0x286632(0x1aa)][_0x286632(0x19a)]&&this[_0x286632(0x1aa)][_0x286632(0x1a4)]){const _0xaaec94={'id':_0x286632(0x1e8),'author':this[_0x286632(0x1aa)][_0x286632(0x19a)],'authoredAt':this[_0x286632(0x1aa)][_0x286632(0x1a4)],'content':_0x20b361(this[_0x286632(0x1c0)],_0x286632(0x1df)),'attributes':{}};this[_0x286632(0x1b3)]=new this[(_0x286632(0x1bf))][(_0x286632(0x1e0))](this[_0x286632(0x1c0)],_0xaaec94,{'maxCommentCharsWhenCollapsed':this[_0x286632(0x1bf)][_0x286632(0x1e5)],'formatDateTime':this[_0x286632(0x1bf)][_0x286632(0x1e6)],'editorConfig':this[_0x286632(0x1bf)][_0x286632(0x1c2)],'isSystemComment':!0x0}),this[_0x286632(0x1b1)][_0x286632(0x1ab)](this[_0x286632(0x1b3)],this[_0x286632(0x1aa)][_0x286632(0x18a)](_0xaaec94));}else this[_0x286632(0x1b3)]&&(this[_0x286632(0x1b1)][_0x286632(0x1c6)](this[_0x286632(0x1b3)]),this[_0x286632(0x1b3)][_0x286632(0x199)](),this[_0x286632(0x1b3)]=null);this[_0x286632(0x197)]();}[_0x4d4ad6(0x191)](_0x2e421d){const _0x392e49=_0x4d4ad6,_0x588b27=this[_0x392e49(0x1b1)][_0x392e49(0x1c6)](_0x2e421d['id']);this[_0x392e49(0x1bb)](_0x588b27),_0x588b27[_0x392e49(0x1c3)]&&this[_0x392e49(0x1ae)](),_0x588b27[_0x392e49(0x199)]();}[_0x4d4ad6(0x1ae)](){const _0x36b17a=_0x4d4ad6;this[_0x36b17a(0x1d1)]=Array[_0x36b17a(0x1a2)](this[_0x36b17a(0x1b1)])[_0x36b17a(0x1a9)](_0x5bdd6a=>_0x5bdd6a[_0x36b17a(0x1c3)]);}[_0x4d4ad6(0x18d)](){const _0x5d65a=_0x4d4ad6,_0x200998=function(_0x36b4fb){const _0x4f8dad=_0x2d83,_0x4d88a5=new _0x4c4270();for(const _0x4ffdbf of _0x36b4fb)_0x4d88a5[_0x4f8dad(0x1ab)](_0x4ffdbf);return _0x4d88a5;}(this[_0x5d65a(0x1b1)]),_0x30eff3=this[_0x5d65a(0x1db)][_0x5d65a(0x1e9)];for(let _0x5e58ed=0x1;_0x5e58ed<=_0x30eff3;_0x5e58ed++)_0x200998[_0x5d65a(0x1c6)](0x1);for(const _0xa0b1f of _0x200998)_0xa0b1f[_0x5d65a(0x1b6)]();_0x30eff3>0x0&&_0x200998[_0x5d65a(0x1ab)](this[_0x5d65a(0x1db)],0x1),ns(_0x1eb1fd(Array[_0x5d65a(0x1a2)](this[_0x5d65a(0x1ad)]),Array[_0x5d65a(0x1a2)](_0x200998)),this[_0x5d65a(0x1ad)],_0x200998);}[_0x4d4ad6(0x1b7)](){const _0x1309b3=_0x4d4ad6;ns(_0x1eb1fd(Array[_0x1309b3(0x1a2)](this[_0x1309b3(0x1ad)]),Array[_0x1309b3(0x1a2)](this[_0x1309b3(0x1b1)])),this[_0x1309b3(0x1ad)],this[_0x1309b3(0x1b1)]);for(const _0x53752 of this[_0x1309b3(0x1ad)])_0x53752[_0x1309b3(0x1a8)]();}[_0x4d4ad6(0x1d7)](){const _0x36d7f3=_0x4d4ad6;this[_0x36d7f3(0x1b1)][_0x36d7f3(0x1dd)](_0x41fcc1=>{const _0x457232=_0x36d7f3;this[_0x457232(0x1ac)][_0x457232(0x1ab)](_0x41fcc1[_0x457232(0x1e7)]),this[_0x457232(0x1a6)][_0x457232(0x1d5)](_0x41fcc1[_0x457232(0x1e7)]);}),this[_0x36d7f3(0x1b1)]['on'](_0x36d7f3(0x1c4),(_0x3a9218,_0x59a41c)=>{const _0x34b113=_0x36d7f3;for(const _0x459397 of _0x59a41c[_0x34b113(0x195)])this[_0x34b113(0x1ac)][_0x34b113(0x1c6)](_0x459397[_0x34b113(0x1e7)]),this[_0x34b113(0x1a6)][_0x34b113(0x1bb)](_0x459397[_0x34b113(0x1e7)]);for(const _0x1243b1 of Array[_0x34b113(0x1a2)](_0x59a41c[_0x34b113(0x1b4)])[_0x34b113(0x1ea)]())this[_0x34b113(0x1ac)][_0x34b113(0x1ab)](_0x1243b1[_0x34b113(0x1e7)]),this[_0x34b113(0x1a6)][_0x34b113(0x1d5)](_0x1243b1[_0x34b113(0x1e7)]);});}}function ns(_0xce9440,_0x596d07,_0xfc8a56){const _0x478b7b=_0x4d4ad6;let _0x432e34=0x0;for(const _0x30b825 of _0xce9440)switch(_0x30b825){case _0x478b7b(0x1b0):_0x596d07[_0x478b7b(0x1ab)](_0xfc8a56[_0x478b7b(0x198)](_0x432e34),_0x432e34),_0x432e34++;break;case _0x478b7b(0x1c9):_0x596d07[_0x478b7b(0x1c6)](_0x432e34);break;case _0x478b7b(0x1bc):_0x432e34++;}}
|
|
23
|
+
const _0x2da07c=_0x1f39;(function(_0x16662f,_0x153c97){const _0x48d057=_0x1f39,_0x57b3ce=_0x16662f();while(!![]){try{const _0x4fb50e=-parseInt(_0x48d057(0x1a2))/0x1+-parseInt(_0x48d057(0x1a1))/0x2+-parseInt(_0x48d057(0x1af))/0x3*(-parseInt(_0x48d057(0x19c))/0x4)+parseInt(_0x48d057(0x186))/0x5+-parseInt(_0x48d057(0x1a7))/0x6+parseInt(_0x48d057(0x17b))/0x7+parseInt(_0x48d057(0x163))/0x8;if(_0x4fb50e===_0x153c97)break;else _0x57b3ce['push'](_0x57b3ce['shift']());}catch(_0x3fb890){_0x57b3ce['push'](_0x57b3ce['shift']());}}}(_0x9143,0x4ca39));import{View as _0x2b1cd5,FocusCycler as _0x506b5a}from'ckeditor5/src/ui.js';function _0x1f39(_0x8f80d,_0x45f826){const _0x914301=_0x9143();return _0x1f39=function(_0x1f39f6,_0x131a98){_0x1f39f6=_0x1f39f6-0x152;let _0x1b1ae7=_0x914301[_0x1f39f6];return _0x1b1ae7;},_0x1f39(_0x8f80d,_0x45f826);}import{diff as _0x50e1d6,Collection as _0x130403,FocusTracker as _0x3962d4,KeystrokeHandler as _0x59de5a}from'ckeditor5/src/utils.js';import{getTranslation as _0x4a1618}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x12265a}from'./collapsedcommentsview.js';export class CommentsListView extends _0x2b1cd5{[_0x2da07c(0x157)];[_0x2da07c(0x179)];[_0x2da07c(0x18d)];[_0x2da07c(0x17e)];[_0x2da07c(0x17f)];[_0x2da07c(0x173)];[_0x2da07c(0x154)];[_0x2da07c(0x17c)];constructor(_0x1ea2e3,_0x4becd7,_0x2d264a){const _0x1d81f6=_0x2da07c;super(_0x1ea2e3);const _0x5098df=this[_0x1d81f6(0x188)];this[_0x1d81f6(0x1ae)](_0x1d81f6(0x177),!0x1),this[_0x1d81f6(0x1ae)](_0x1d81f6(0x18c),_0x4becd7[_0x1d81f6(0x18f)][_0x1d81f6(0x18c)]),this[_0x1d81f6(0x1ae)](_0x1d81f6(0x199),!0x1),this[_0x1d81f6(0x173)]=_0x4becd7,this[_0x1d81f6(0x154)]=_0x2d264a,this[_0x1d81f6(0x157)]=this[_0x1d81f6(0x1a5)](),this[_0x1d81f6(0x153)]=this[_0x1d81f6(0x1a5)](),this[_0x1d81f6(0x179)]=null,this[_0x1d81f6(0x18d)]=new _0x3962d4(),this[_0x1d81f6(0x17e)]=new _0x59de5a(),this[_0x1d81f6(0x17f)]=new _0x506b5a({'focusables':this[_0x1d81f6(0x157)],'focusTracker':this[_0x1d81f6(0x18d)],'keystrokeHandler':this[_0x1d81f6(0x17e)],'keystrokeHandlerOptions':{'filter':_0x4f8f39=>this[_0x1d81f6(0x157)][_0x1d81f6(0x178)](_0x3dc256=>_0x3dc256[_0x1d81f6(0x1a0)])[_0x1d81f6(0x189)](_0x4f8f39[_0x1d81f6(0x18e)])},'actions':{'focusPrevious':_0x1d81f6(0x162),'focusNext':_0x1d81f6(0x16b)}}),this[_0x1d81f6(0x17c)]=new _0x12265a(_0x1ea2e3),this[_0x1d81f6(0x17c)][_0x1d81f6(0x15c)](_0x1d81f6(0x183))['to'](this,_0x1d81f6(0x18c),_0x28cb09=>_0x28cb09-this[_0x1d81f6(0x154)][_0x1d81f6(0x184)]);for(const _0x36daa9 of _0x4becd7[_0x1d81f6(0x18f)])this[_0x1d81f6(0x18b)](_0x36daa9);this[_0x1d81f6(0x169)](),this[_0x1d81f6(0x185)](_0x4becd7[_0x1d81f6(0x18f)],_0x1d81f6(0x161),(_0x5a5081,_0x2cc0c9)=>{const _0x17c6a8=_0x1d81f6,_0x4f4226=this[_0x17c6a8(0x160)](_0x2cc0c9);this[_0x17c6a8(0x18c)]++,this[_0x17c6a8(0x18b)](_0x2cc0c9,_0x4f4226),this[_0x17c6a8(0x15d)]();}),this[_0x1d81f6(0x185)](_0x4becd7[_0x1d81f6(0x18f)],_0x1d81f6(0x194),(_0x48e83b,_0x770af9)=>{const _0x5cf16e=_0x1d81f6;this[_0x5cf16e(0x18c)]--,this[_0x5cf16e(0x1a4)](_0x770af9),this[_0x5cf16e(0x15d)]();}),this[_0x1d81f6(0x185)](_0x4becd7,_0x1d81f6(0x15b),()=>this[_0x1d81f6(0x15d)]()),this[_0x1d81f6(0x185)](_0x4becd7,_0x1d81f6(0x176),()=>this[_0x1d81f6(0x169)]()),this['on'](_0x1d81f6(0x19a),()=>this[_0x1d81f6(0x15d)]()),this['on'](_0x1d81f6(0x1ab),()=>this[_0x1d81f6(0x15d)]()),this[_0x1d81f6(0x197)]({'tag':'ul','attributes':{'class':[_0x1d81f6(0x1ac),_0x5098df['if'](_0x1d81f6(0x18c),_0x1d81f6(0x196),_0x46f9f9=>!_0x46f9f9)],'aria-label':_0x4a1618(_0x1ea2e3,_0x1d81f6(0x182))},'children':this[_0x1d81f6(0x153)]});}get[_0x2da07c(0x18a)](){const _0x384c1f=_0x2da07c;return this[_0x384c1f(0x173)][_0x384c1f(0x16c)]>this[_0x384c1f(0x154)][_0x384c1f(0x172)]&&!this[_0x384c1f(0x199)]&&!this[_0x384c1f(0x177)];}[_0x2da07c(0x195)](){const _0x50281e=_0x2da07c;super[_0x50281e(0x195)](),this[_0x50281e(0x15d)](),this[_0x50281e(0x198)]();}[_0x2da07c(0x187)](_0x2a1155){const _0x2fe571=_0x2da07c;-0x1===_0x2a1155?this[_0x2fe571(0x17f)][_0x2fe571(0x19f)]():this[_0x2fe571(0x17f)][_0x2fe571(0x175)]();}[_0x2da07c(0x1a3)](){const _0x1af1d9=_0x2da07c;this[_0x1af1d9(0x17c)][_0x1af1d9(0x1a3)]();for(const _0x4fc1be of this[_0x1af1d9(0x157)])_0x4fc1be[_0x1af1d9(0x1a3)]();super[_0x1af1d9(0x1a3)]();}[_0x2da07c(0x15d)](){const _0x3a5451=_0x2da07c;this[_0x3a5451(0x18a)]?this[_0x3a5451(0x190)]():this[_0x3a5451(0x19b)]();}[_0x2da07c(0x18b)](_0x540143,_0x13285b){const _0x1238c9=_0x2da07c,_0x428df0=new this[(_0x1238c9(0x154))][(_0x1238c9(0x1a6))](this[_0x1238c9(0x16d)],_0x540143,{'maxCommentCharsWhenCollapsed':this[_0x1238c9(0x154)][_0x1238c9(0x19d)],'formatDateTime':this[_0x1238c9(0x154)][_0x1238c9(0x170)],'editorConfig':this[_0x1238c9(0x154)][_0x1238c9(0x181)]});_0x428df0[_0x1238c9(0x158)]=_0x540143['id'],_0x428df0[_0x1238c9(0x168)](_0x1238c9(0x180))['to'](this),_0x428df0[_0x1238c9(0x168)](_0x1238c9(0x1a8))['to'](this),_0x428df0[_0x1238c9(0x168)](_0x1238c9(0x165))['to'](this),_0x428df0[_0x1238c9(0x168)](_0x1238c9(0x193))['to'](this),_0x428df0[_0x1238c9(0x168)](_0x1238c9(0x164))['to'](this),this[_0x1238c9(0x185)](_0x428df0,_0x1238c9(0x1aa),()=>this[_0x1238c9(0x156)]()),this[_0x1238c9(0x157)][_0x1238c9(0x161)](_0x428df0,_0x13285b);}[_0x2da07c(0x160)](_0x5daf74){const _0x4da9ab=_0x2da07c,_0x1c1715=this[_0x4da9ab(0x173)][_0x4da9ab(0x152)](_0x5daf74);return this[_0x4da9ab(0x179)]?this[_0x4da9ab(0x179)][_0x4da9ab(0x167)]>_0x5daf74[_0x4da9ab(0x167)]?_0x1c1715-0x1:_0x1c1715:_0x1c1715-0x1;}[_0x2da07c(0x169)](){const _0x46488f=_0x2da07c;if(this[_0x46488f(0x173)][_0x46488f(0x166)]&&this[_0x46488f(0x173)][_0x46488f(0x159)]){const _0x48c7d6={'id':_0x46488f(0x192),'author':this[_0x46488f(0x173)][_0x46488f(0x166)],'authoredAt':this[_0x46488f(0x173)][_0x46488f(0x159)],'content':_0x4a1618(this[_0x46488f(0x16d)],_0x46488f(0x171)),'attributes':{}};this[_0x46488f(0x179)]=new this[(_0x46488f(0x154))][(_0x46488f(0x1a6))](this[_0x46488f(0x16d)],_0x48c7d6,{'maxCommentCharsWhenCollapsed':this[_0x46488f(0x154)][_0x46488f(0x19d)],'formatDateTime':this[_0x46488f(0x154)][_0x46488f(0x170)],'editorConfig':this[_0x46488f(0x154)][_0x46488f(0x181)],'isSystemComment':!0x0}),this[_0x46488f(0x157)][_0x46488f(0x161)](this[_0x46488f(0x179)],this[_0x46488f(0x173)][_0x46488f(0x152)](_0x48c7d6));}else this[_0x46488f(0x179)]&&(this[_0x46488f(0x157)][_0x46488f(0x194)](this[_0x46488f(0x179)]),this[_0x46488f(0x179)][_0x46488f(0x1a3)](),this[_0x46488f(0x179)]=null);this[_0x46488f(0x15d)]();}[_0x2da07c(0x1a4)](_0x28693e){const _0x34022e=_0x2da07c,_0x2e90c2=this[_0x34022e(0x157)][_0x34022e(0x194)](_0x28693e['id']);this[_0x34022e(0x17a)](_0x2e90c2),_0x2e90c2[_0x34022e(0x16e)]&&this[_0x34022e(0x156)](),_0x2e90c2[_0x34022e(0x1a3)]();}[_0x2da07c(0x156)](){const _0x28922e=_0x2da07c;this[_0x28922e(0x177)]=Array[_0x28922e(0x17d)](this[_0x28922e(0x157)])[_0x28922e(0x1a9)](_0xf8f0c6=>_0xf8f0c6[_0x28922e(0x16e)]);}[_0x2da07c(0x190)](){const _0x40bbcd=_0x2da07c,_0x503efc=function(_0x5567c5){const _0x5025fb=_0x1f39,_0x193622=new _0x130403();for(const _0xc7abe9 of _0x5567c5)_0x193622[_0x5025fb(0x161)](_0xc7abe9);return _0x193622;}(this[_0x40bbcd(0x157)]),_0x3e100c=this[_0x40bbcd(0x17c)][_0x40bbcd(0x183)];for(let _0x1deaff=0x1;_0x1deaff<=_0x3e100c;_0x1deaff++)_0x503efc[_0x40bbcd(0x194)](0x1);for(const _0x37ae53 of _0x503efc)_0x37ae53[_0x40bbcd(0x15a)]();_0x3e100c>0x0&&_0x503efc[_0x40bbcd(0x161)](this[_0x40bbcd(0x17c)],0x1),ns(_0x50e1d6(Array[_0x40bbcd(0x17d)](this[_0x40bbcd(0x153)]),Array[_0x40bbcd(0x17d)](_0x503efc)),this[_0x40bbcd(0x153)],_0x503efc);}[_0x2da07c(0x19b)](){const _0x2ac280=_0x2da07c;ns(_0x50e1d6(Array[_0x2ac280(0x17d)](this[_0x2ac280(0x153)]),Array[_0x2ac280(0x17d)](this[_0x2ac280(0x157)])),this[_0x2ac280(0x153)],this[_0x2ac280(0x157)]);for(const _0x5b1c44 of this[_0x2ac280(0x153)])_0x5b1c44[_0x2ac280(0x1ad)]();}[_0x2da07c(0x198)](){const _0x4f5a8f=_0x2da07c;this[_0x4f5a8f(0x157)][_0x4f5a8f(0x16a)](_0x5444e0=>{const _0x146929=_0x4f5a8f;this[_0x146929(0x18d)][_0x146929(0x161)](_0x5444e0[_0x146929(0x1a0)]),this[_0x146929(0x17e)][_0x146929(0x185)](_0x5444e0[_0x146929(0x1a0)]);}),this[_0x4f5a8f(0x157)]['on'](_0x4f5a8f(0x15e),(_0x22a085,_0x450462)=>{const _0x5e135d=_0x4f5a8f;for(const _0x394b9a of _0x450462[_0x5e135d(0x16f)])this[_0x5e135d(0x18d)][_0x5e135d(0x194)](_0x394b9a[_0x5e135d(0x1a0)]),this[_0x5e135d(0x17e)][_0x5e135d(0x17a)](_0x394b9a[_0x5e135d(0x1a0)]);for(const _0x5a9567 of Array[_0x5e135d(0x17d)](_0x450462[_0x5e135d(0x1b0)])[_0x5e135d(0x174)]())this[_0x5e135d(0x18d)][_0x5e135d(0x161)](_0x5a9567[_0x5e135d(0x1a0)]),this[_0x5e135d(0x17e)][_0x5e135d(0x185)](_0x5a9567[_0x5e135d(0x1a0)]);});}}function ns(_0x4d256b,_0x53f215,_0x392df0){const _0x5417d6=_0x2da07c;let _0xa92e8c=0x0;for(const _0x45dd3e of _0x4d256b)switch(_0x45dd3e){case _0x5417d6(0x15f):_0x53f215[_0x5417d6(0x161)](_0x392df0[_0x5417d6(0x191)](_0xa92e8c),_0xa92e8c),_0xa92e8c++;break;case _0x5417d6(0x155):_0x53f215[_0x5417d6(0x194)](_0xa92e8c);break;case _0x5417d6(0x19e):_0xa92e8c++;}}function _0x9143(){const _0x570df9=['bind','refreshVisibleViews','change','insert','_calculatePosition','add','arrowup','1080520ZuRfbM','editorDestroyed','resolveCommentThread','resolvedBy','authoredAt','delegate','_handleInfoComment','forEach','arrowdown','weight','locale','isEditMode','removed','formatDateTime','Marked\x20as\x20resolved','maxThreadTotalWeight','_model','reverse','focusFirst','change:isResolved','hasDirtyComment','map','resolvedCommentView','stopListening','2346946gYFBVF','_collapsedCommentsView','from','keystrokes','focusCycler','removeComment','editorConfig','Thread\x20comments','count','maxCommentsWhenCollapsed','listenTo','1558765gAYqmj','focus','bindTemplate','includes','_shouldCollapse','_handleNewCommentModel','length','focusTracker','target','comments','_rearrangeCollapse','get','resolved','editorReady','remove','render','ck-hidden','setTemplate','_setupKeyboardNavigation','isActive','change:isActive','_rearrangeExpand','52pOglii','maxCommentCharsWhenCollapsed','equal','focusLast','element','733656SvBWxt','368133BNzeys','destroy','_handleRemoveCommentModel','createCollection','CommentView','1797402PlhKCZ','updateComment','some','change:isEditMode','change:hasDirtyComment','ck-thread__comments','expand','set','130695idSoYu','added','_findOptimalIndex','visibleViews','_config','delete','_updateHasDirtyComment','commentViews','viewUid','resolvedAt','collapse','commentUpdated'];_0x9143=function(){return _0x570df9;};return _0x9143();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4008(_0x1ee767,_0x266cc7){const _0x1df107=_0x1df1();return _0x4008=function(_0x400814,_0x567cdf){_0x400814=_0x400814-0xc3;let _0x129992=_0x1df107[_0x400814];return _0x129992;},_0x4008(_0x1ee767,_0x266cc7);}const _0x5181c0=_0x4008;(function(_0xb0a23b,_0x23ec8f){const _0xd0b66c=_0x4008,_0x5e0698=_0xb0a23b();while(!![]){try{const _0x1d62e5=parseInt(_0xd0b66c(0xc9))/0x1+parseInt(_0xd0b66c(0xc6))/0x2*(-parseInt(_0xd0b66c(0xc8))/0x3)+-parseInt(_0xd0b66c(0xc3))/0x4*(parseInt(_0xd0b66c(0xc7))/0x5)+-parseInt(_0xd0b66c(0xcd))/0x6+-parseInt(_0xd0b66c(0xcc))/0x7*(-parseInt(_0xd0b66c(0xc5))/0x8)+parseInt(_0xd0b66c(0xce))/0x9*(-parseInt(_0xd0b66c(0xd6))/0xa)+-parseInt(_0xd0b66c(0xd3))/0xb*(-parseInt(_0xd0b66c(0xd5))/0xc);if(_0x1d62e5===_0x23ec8f)break;else _0x5e0698['push'](_0x5e0698['shift']());}catch(_0x2db84d){_0x5e0698['push'](_0x5e0698['shift']());}}}(_0x1df1,0x1b0e3));import{View as _0x2b15c5}from'ckeditor5/src/ui.js';import{getTranslation as _0x28454e}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x2b15c5{constructor(_0x36f9c8){const _0x5286fe=_0x4008;super(_0x36f9c8);const _0x50d652=this[_0x5286fe(0xd7)];this[_0x5286fe(0xd4)](_0x5286fe(0xcf),''),this[_0x5286fe(0xc4)]({'tag':_0x5286fe(0xd2),'attributes':{'class':['ck',_0x5286fe(0xd0)],'aria-label':_0x50d652['to'](_0x5286fe(0xcf),_0x4b774d=>_0x28454e(_0x36f9c8,_0x5286fe(0xcb),_0x4b774d)),'tabindex':-0x1},'children':[{'text':_0x50d652['to'](_0x5286fe(0xcf))}]});}[_0x5181c0(0xd1)](){const _0x19e0fc=_0x5181c0;this[_0x19e0fc(0xca)][_0x19e0fc(0xd1)]();}}function _0x1df1(){const _0x3762fc=['143GCVlLx','set','501108xjbsGR','490dRyiCO','bindTemplate','8692lOXTVj','setTemplate','109704cfPKuZ','34PALDMH','365feyaXC','37941aeLZNF','41166IsnOoY','element','THREAD_CONTEXT_LABEL','21IjPnLb','612384arNdLx','7101wNsmGX','contextValue','ck-context__value','focus','span'];_0x1df1=function(){return _0x3762fc;};return _0x1df1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24538b=_0xa575;(function(_0x419299,_0x5c1618){const _0x35e040=_0xa575,_0x581de9=_0x419299();while(!![]){try{const _0x40ded5=parseInt(_0x35e040(0x141))/0x1*(parseInt(_0x35e040(0x14e))/0x2)+-parseInt(_0x35e040(0x174))/0x3*(parseInt(_0x35e040(0x17b))/0x4)+-parseInt(_0x35e040(0x163))/0x5+-parseInt(_0x35e040(0x161))/0x6+-parseInt(_0x35e040(0x142))/0x7+parseInt(_0x35e040(0x15b))/0x8*(parseInt(_0x35e040(0x143))/0x9)+parseInt(_0x35e040(0x13b))/0xa;if(_0x40ded5===_0x5c1618)break;else _0x581de9['push'](_0x581de9['shift']());}catch(_0xf1e90b){_0x581de9['push'](_0x581de9['shift']());}}}(_0x2965,0x2980f));import{View as _0x4e28a1,ButtonView as _0x305d34,FocusCycler as _0x43bcf8}from'ckeditor5/src/ui.js';import{FocusTracker as _0x393fa7,KeystrokeHandler as _0x453f9e}from'ckeditor5/src/utils.js';import{IconUndo as _0x657e11}from'ckeditor5/src/icons.js';function _0x2965(){const _0xdb714f=['substring','createCollection','focusCycler','icon','setTemplate','ck-context-wrapper','querySelector','classList','focusTracker','.ck-context__value','_model','mouseleave','value','locale','isReadOnly','591441MZoTAV','focus','contextView','tab','isVisible','add','.ck-context','4gFdeHi','isEnabled','ck-context','execute','_attachContextActions','_createContextView','remove','keystrokes','7505680uTjVDY','isResolvable','_setupKeyboardNavigation','bind','ck-annotation__actions','offsetWidth','4ksoyeZ','2168383rfccyS','261QpsEFJ','context','mouseenter','fire','reopenCommentThread','focusables','contextValue','ck-context--quotes','_trimContextValue','length','div','58842RHpXKL','reopenButtonView','lastIndexOf','isResolved','listenTo','label','hasContext','bindTemplate','...','focusFirst','Reopen','scrollWidth','_createReopenButton','78112kCsPTr','overlay','shift+tab','tooltip','ck-thread__header','element','1176504MrxBwM','Comment\x20was\x20made\x20on\x20an\x20element','1392045suWRiA','render'];_0x2965=function(){return _0xdb714f;};return _0x2965();}import{getTranslation as _0x29c167}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x3acd71}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;function _0xa575(_0x1c426b,_0x3fe990){const _0x296562=_0x2965();return _0xa575=function(_0xa57511,_0x55b683){_0xa57511=_0xa57511-0x13a;let _0x331d2d=_0x296562[_0xa57511];return _0x331d2d;},_0xa575(_0x1c426b,_0x3fe990);}export class CommentThreadHeaderView extends _0x4e28a1{[_0x24538b(0x16f)];[_0x24538b(0x14f)];[_0x24538b(0x176)];[_0x24538b(0x148)];[_0x24538b(0x16d)];[_0x24538b(0x13a)];[_0x24538b(0x167)];constructor(_0x3976a5,_0x18690c){const _0x221609=_0x24538b;super(_0x3976a5);const _0x5ba484=this[_0x221609(0x155)];this[_0x221609(0x16f)]=_0x18690c,this[_0x221609(0x14f)]=this[_0x221609(0x15a)](),this[_0x221609(0x176)]=this[_0x221609(0x180)](),this[_0x221609(0x148)]=this[_0x221609(0x166)]([this[_0x221609(0x176)],this[_0x221609(0x14f)]]),this[_0x221609(0x16d)]=new _0x393fa7(),this[_0x221609(0x13a)]=new _0x453f9e(),this[_0x221609(0x167)]=new _0x43bcf8({'focusables':this[_0x221609(0x148)],'focusTracker':this[_0x221609(0x16d)],'keystrokeHandler':this[_0x221609(0x13a)],'actions':{'focusPrevious':_0x221609(0x15d),'focusNext':_0x221609(0x177)}}),this[_0x221609(0x13e)](_0x221609(0x154))['to'](this[_0x221609(0x16f)],_0x221609(0x144),_0x5d0bda=>!!_0x5d0bda),this[_0x221609(0x13e)](_0x221609(0x149))['to'](this[_0x221609(0x16f)],_0x221609(0x144),_0x17e1bd=>_0x17e1bd&&_0x17e1bd[_0x221609(0x171)]?this[_0x221609(0x14b)](_0x17e1bd[_0x221609(0x171)]):_0x29c167(this[_0x221609(0x172)],_0x221609(0x162))),this[_0x221609(0x169)]({'tag':_0x221609(0x14d),'attributes':{'class':[_0x221609(0x15f)]},'children':[{'tag':_0x221609(0x14d),'attributes':{'class':[_0x221609(0x16a)]},'children':[{'tag':_0x221609(0x14d),'attributes':{'class':[_0x221609(0x17d),_0x5ba484['if'](_0x221609(0x154),_0x221609(0x14a))]},'children':[this[_0x221609(0x176)]]}]},{'tag':_0x221609(0x14d),'attributes':{'class':[_0x221609(0x13f)]},'children':[this[_0x221609(0x14f)]]}]});}[_0x24538b(0x164)](){const _0x56b3cc=_0x24538b;super[_0x56b3cc(0x164)](),this[_0x56b3cc(0x17f)](),this[_0x56b3cc(0x13d)]();}[_0x24538b(0x175)](){const _0x30c25b=_0x24538b;this[_0x30c25b(0x167)][_0x30c25b(0x157)]();}[_0x24538b(0x15a)](){const _0x1102f7=_0x24538b,_0x5f7005=new _0x305d34(this[_0x1102f7(0x172)]);return _0x5f7005[_0x1102f7(0x153)]=_0x29c167(this[_0x1102f7(0x172)],_0x1102f7(0x158)),_0x5f7005[_0x1102f7(0x15e)]=_0x29c167(this[_0x1102f7(0x172)],_0x1102f7(0x158)),_0x5f7005[_0x1102f7(0x168)]=_0x657e11,_0x5f7005[_0x1102f7(0x13e)](_0x1102f7(0x17c))['to'](this[_0x1102f7(0x16f)],_0x1102f7(0x173),_0x591d3f=>!_0x591d3f),_0x5f7005[_0x1102f7(0x13e)](_0x1102f7(0x178))['to'](this[_0x1102f7(0x16f)],_0x1102f7(0x13c),this[_0x1102f7(0x16f)],_0x1102f7(0x151),(_0x34f06c,_0x341761)=>_0x34f06c&&_0x341761),_0x5f7005['on'](_0x1102f7(0x17e),()=>{const _0x23792e=_0x1102f7;this[_0x23792e(0x146)](_0x23792e(0x147),this[_0x23792e(0x16f)]['id']);}),_0x5f7005;}[_0x24538b(0x14b)](_0x5575df){const _0x1b26fa=_0x24538b;if(_0x5575df[_0x1b26fa(0x14c)]<0x96)return _0x5575df;const _0x18bb6a=_0x5575df[_0x1b26fa(0x150)]('\x20',0x93);return _0x5575df[_0x1b26fa(0x165)](0x0,_0x18bb6a>-0x1?_0x18bb6a:0x93)+_0x1b26fa(0x156);}[_0x24538b(0x17f)](){const _0x4d16a9=_0x24538b,_0x577d5a=this[_0x4d16a9(0x160)][_0x4d16a9(0x16b)](_0x4d16a9(0x17a)),_0x4f2bee=_0x577d5a[_0x4d16a9(0x16b)](_0x4d16a9(0x16e));this[_0x4d16a9(0x152)](_0x577d5a,_0x4d16a9(0x145),()=>{const _0x32068e=_0x4d16a9;_0x4f2bee[_0x32068e(0x140)]<_0x4f2bee[_0x32068e(0x159)]&&_0x577d5a[_0x32068e(0x16c)][_0x32068e(0x179)](_0x32068e(0x15c));}),this[_0x4d16a9(0x152)](_0x577d5a,_0x4d16a9(0x170),()=>{const _0x4e52bd=_0x4d16a9;_0x577d5a[_0x4e52bd(0x16c)][_0x4e52bd(0x181)](_0x4e52bd(0x15c));});}[_0x24538b(0x13d)](){const _0x24da5e=_0x24538b;this[_0x24da5e(0x13a)][_0x24da5e(0x152)](this[_0x24da5e(0x160)]);for(const _0x239a46 of this[_0x24da5e(0x148)])this[_0x24da5e(0x16d)][_0x24da5e(0x179)](_0x239a46[_0x24da5e(0x160)]),this[_0x24da5e(0x13a)][_0x24da5e(0x152)](_0x239a46[_0x24da5e(0x160)]);}[_0x24538b(0x180)](){const _0x24a07b=_0x24538b,_0x2459c2=new _0x3acd71(this[_0x24a07b(0x172)]);return _0x2459c2[_0x24a07b(0x13e)](_0x24a07b(0x149))['to'](this),_0x2459c2;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xb6e9(_0x31e143,_0x20683c){const _0x5b5257=_0x5b52();return _0xb6e9=function(_0xb6e943,_0xf02137){_0xb6e943=_0xb6e943-0x1a3;let _0x2dd101=_0x5b5257[_0xb6e943];return _0x2dd101;},_0xb6e9(_0x31e143,_0x20683c);}const _0x57786c=_0xb6e9;(function(_0xe66685,_0x240f6c){const _0x356adb=_0xb6e9,_0x1a7b03=_0xe66685();while(!![]){try{const _0x54aefa=-parseInt(_0x356adb(0x1c5))/0x1+-parseInt(_0x356adb(0x1cf))/0x2*(parseInt(_0x356adb(0x1a5))/0x3)+parseInt(_0x356adb(0x1af))/0x4+parseInt(_0x356adb(0x1c1))/0x5+-parseInt(_0x356adb(0x1ad))/0x6*(-parseInt(_0x356adb(0x1a8))/0x7)+parseInt(_0x356adb(0x1b8))/0x8*(parseInt(_0x356adb(0x1aa))/0x9)+-parseInt(_0x356adb(0x1ba))/0xa*(parseInt(_0x356adb(0x1c0))/0xb);if(_0x54aefa===_0x240f6c)break;else _0x1a7b03['push'](_0x1a7b03['shift']());}catch(_0x52b716){_0x1a7b03['push'](_0x1a7b03['shift']());}}}(_0x5b52,0x378fe));import{View as _0x2e91f8}from'ckeditor5/src/ui.js';function _0x5b52(){const _0x3db627=['515409sPjHSA','ck-thread__input','showInput','233177PTBjQt','userView','153koSxrK','isFocused','value','30HKepYL','setTemplate','954544HcpnNw','change:showInput','filter','then','focusCycler','bind','render','some','bindTemplate','103080iiTyZT','destroy','190fFzrZx','getDomRoot','preventDefault','delegate','_focusOnNonInteractiveMouseDown','view','86548ZfBFAq','534700QORHRh','ck-comment__input-container','ck-thread__user','set','10496vyHxsZ','showButtons','element','div','editing','target','focus','mousedown','editorReady','extendTemplate','4DRtuJC','editorDestroyed','ck-comment__input-container--active','editor','commentInputView','createEditor','contains','focusTracker','listenTo'];_0x5b52=function(){return _0x3db627;};return _0x5b52();}import{CommentInputView as _0x1c7b62}from'./commentinputview.js';import{UserView as _0x1be133}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x2e91f8{constructor(_0x23de90,_0x202ed,_0x3f6a62){const _0x25c51e=_0xb6e9;super(_0x23de90),this[_0x25c51e(0x1d3)]=new _0x1c7b62(_0x23de90,_0x3f6a62),this[_0x25c51e(0x1b3)]=this[_0x25c51e(0x1d3)][_0x25c51e(0x1b3)],this[_0x25c51e(0x1d3)][_0x25c51e(0x1b4)](_0x25c51e(0x1c6))['to'](this[_0x25c51e(0x1d3)][_0x25c51e(0x1a3)],_0x25c51e(0x1ab),this[_0x25c51e(0x1d3)],_0x25c51e(0x1ac),(_0x1d3a82,_0x2e054a)=>_0x1d3a82||!!_0x2e054a),this[_0x25c51e(0x1c4)](_0x25c51e(0x1a7),!0x1),this['on'](_0x25c51e(0x1b0),()=>{const _0x333c8c=_0x25c51e;this[_0x333c8c(0x1a7)]&&!this[_0x333c8c(0x1d3)][_0x333c8c(0x1d2)]&&this[_0x333c8c(0x1d3)][_0x333c8c(0x1d4)]();}),this[_0x25c51e(0x1d3)][_0x25c51e(0x1bd)](_0x25c51e(0x1cd))['to'](this),this[_0x25c51e(0x1d3)][_0x25c51e(0x1bd)](_0x25c51e(0x1d0))['to'](this),this[_0x25c51e(0x1a9)]=new _0x1be133(_0x23de90,_0x202ed),this[_0x25c51e(0x1a9)][_0x25c51e(0x1ce)]({'attributes':{'class':_0x25c51e(0x1c3),'aria-hidden':!0x0}}),this[_0x25c51e(0x1d3)][_0x25c51e(0x1ce)]({'attributes':{'class':_0x25c51e(0x1a6)}}),this[_0x25c51e(0x1ae)]({'tag':_0x25c51e(0x1c8),'attributes':{'class':[_0x25c51e(0x1c2),this[_0x25c51e(0x1b7)]['if'](_0x25c51e(0x1a7),_0x25c51e(0x1d1))]},'children':[this[_0x25c51e(0x1a9)],this[_0x25c51e(0x1d3)]]});}[_0x57786c(0x1b5)](){const _0xf0afc4=_0x57786c;super[_0xf0afc4(0x1b5)](),this[_0xf0afc4(0x1be)]();}[_0x57786c(0x1b9)](){const _0x5cfcfc=_0x57786c;return this[_0x5cfcfc(0x1d3)][_0x5cfcfc(0x1b9)]()[_0x5cfcfc(0x1b2)](()=>super[_0x5cfcfc(0x1b9)]());}[_0x57786c(0x1cb)](_0x374eff){const _0x12ef03=_0x57786c;this[_0x12ef03(0x1d3)][_0x12ef03(0x1cb)](_0x374eff);}[_0x57786c(0x1be)](){const _0x28f936=_0x57786c;this[_0x28f936(0x1a4)](this[_0x28f936(0x1c7)],_0x28f936(0x1cc),(_0x3868a5,_0x10f6eb)=>{const _0x252b88=_0x28f936,{submitButtonView:_0x21639f,cancelButtonView:_0x1ad64d,editor:_0x172d86}=this[_0x252b88(0x1d3)];[_0x21639f[_0x252b88(0x1c7)],_0x1ad64d[_0x252b88(0x1c7)],_0x172d86?_0x172d86[_0x252b88(0x1c9)][_0x252b88(0x1bf)][_0x252b88(0x1bb)]():null][_0x252b88(0x1b1)](_0x1f101e=>_0x1f101e)[_0x252b88(0x1b6)](_0x4b13b5=>_0x4b13b5[_0x252b88(0x1d5)](_0x10f6eb[_0x252b88(0x1ca)]))||(this[_0x252b88(0x1cb)](),_0x10f6eb[_0x252b88(0x1bc)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x3a8e(_0x102740,_0xf98ea1){const _0x529379=_0x5293();return _0x3a8e=function(_0x3a8e4b,_0x93e6a2){_0x3a8e4b=_0x3a8e4b-0xeb;let _0x5c6e3e=_0x529379[_0x3a8e4b];return _0x5c6e3e;},_0x3a8e(_0x102740,_0xf98ea1);}const _0x51e1b1=_0x3a8e;(function(_0x1e917b,_0x1622d0){const _0x3e2491=_0x3a8e,_0x4ee124=_0x1e917b();while(!![]){try{const _0x147e92=parseInt(_0x3e2491(0x11c))/0x1+-parseInt(_0x3e2491(0x135))/0x2+parseInt(_0x3e2491(0x13b))/0x3*(-parseInt(_0x3e2491(0x129))/0x4)+parseInt(_0x3e2491(0x121))/0x5*(parseInt(_0x3e2491(0xee))/0x6)+parseInt(_0x3e2491(0x119))/0x7+parseInt(_0x3e2491(0xfb))/0x8*(-parseInt(_0x3e2491(0x128))/0x9)+-parseInt(_0x3e2491(0x137))/0xa;if(_0x147e92===_0x1622d0)break;else _0x4ee124['push'](_0x4ee124['shift']());}catch(_0x5dd64d){_0x4ee124['push'](_0x4ee124['shift']());}}}(_0x5293,0x7a35c));import{ConfirmMixin as _0x24e492,LateFocusButtonView as _0x8aff1d}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x4651ce}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x1889bc}from'./basecommentthreadview.js';function _0x5293(){const _0x3f2430=['get','getTemplate','render','locale','placeholder','remove','commentViews','6595204qUZQFq','Delete\x20comment\x20thread?','commentThreadHeaderView','682243xwAIsa','commentsListView','Resolve','length','focusables','4080770bHuWeo','_cancelAllConfirms','focus','createCollection','ck-reset_all-excluded','isActive','unbind','9XbWXKh','2793052HBrGNo','ck-comment--resolve','Write\x20a\x20comment...','_boundFirstCommentView','add','isUnlinked','commentThreadChildren','isReadOnly','containerElement','div','resolveButton','cancelConfirm','1219442TnauBh','tooltip','5969160HOcmCK','change:isReadOnly','listitem','_updateArchivedThreadHeader','3vkxpio','showConfirm','extendTemplate','fire','actionBar','high','_createResolveButton','then','ck-thread__container','ck-thread--','_bindFirstCommentView','6lToZpL','listenTo','ariaLabel','element','isEnabled','isVisible','ck-thread','execute','bind','ck-rounded-corners','setTemplate','ck-thread--unlinked','removeButton','280776lYpUos','isSystemComment','change:isActive','removeConfirm','change:archivedAt','actionIndicator','commentThreadInputView','stop','archivedAt','ck-thread--active','label','_model','set','ariaDescriptionView','querySelector','removeCommentThread','isResolved','isResolvable','icon','bindTemplate','resolveCommentThread','has','.ck-thread__container'];_0x5293=function(){return _0x3f2430;};return _0x5293();}import{getTranslation as _0x4b0bd2}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x24e492(_0x1889bc){[_0x51e1b1(0x12f)];[_0x51e1b1(0x131)];[_0x51e1b1(0x133)];[_0x51e1b1(0x12c)];constructor(_0x463418,_0x1100e9,_0x2453e2,_0x52df51){const _0x4d4d7d=_0x51e1b1;super(_0x463418,_0x1100e9,_0x2453e2,_0x52df51),this[_0x4d4d7d(0x12f)]=this[_0x4d4d7d(0x124)]([this[_0x4d4d7d(0x11d)],this[_0x4d4d7d(0x101)],this[_0x4d4d7d(0x108)]]),this[_0x4d4d7d(0x107)](_0x4d4d7d(0x100),null),this[_0x4d4d7d(0x131)]=null,this[_0x4d4d7d(0x12c)]=null,this[_0x4d4d7d(0x115)]=_0x463418,this[_0x4d4d7d(0x133)]=this[_0x4d4d7d(0x141)](),this[_0x4d4d7d(0xf8)](this[_0x4d4d7d(0x113)]()),this['on'](_0x4d4d7d(0xfd),(_0x4272e2,_0x350e72,_0x335abc)=>{const _0x42180d=_0x4d4d7d;_0x335abc||this[_0x42180d(0x122)]();}),this[_0x4d4d7d(0xef)](this[_0x4d4d7d(0x106)],_0x4d4d7d(0x138),(_0x2d1930,_0x5de725,_0x12ccd5)=>{const _0x178ceb=_0x4d4d7d;_0x12ccd5&&this[_0x178ceb(0x122)]();}),this[_0x4d4d7d(0x11f)]>0x0&&this[_0x4d4d7d(0xed)](),this[_0x4d4d7d(0xef)](this[_0x4d4d7d(0x11d)][_0x4d4d7d(0x118)],_0x4d4d7d(0x12d),()=>{const _0xaef287=_0x4d4d7d;this[_0xaef287(0xed)]();});}[_0x51e1b1(0x113)](){const _0x1f6165=_0x51e1b1,_0x4cea1a=this[_0x1f6165(0x10e)];return{'tag':_0x1f6165(0x132),'attributes':{'class':['ck',_0x1f6165(0xf4),_0x1f6165(0x125),_0x1f6165(0xf7),_0x4cea1a['if'](_0x1f6165(0x126),_0x1f6165(0x104)),_0x4cea1a['if'](_0x1f6165(0x12e),_0x1f6165(0xf9)),_0x4cea1a['to'](_0x1f6165(0x100),_0x3b3891=>_0x3b3891?_0x1f6165(0xec)+_0x3b3891:'')],'data-thread-id':this[_0x1f6165(0x106)]['id'],'tabindex':0x0,'role':_0x1f6165(0x139),'aria-label':_0x4cea1a['to'](_0x1f6165(0xf0)),'aria-describedby':this[_0x1f6165(0x108)]['id']},'children':[{'tag':_0x1f6165(0x132),'attributes':{'class':_0x1f6165(0xeb)},'children':this[_0x1f6165(0x12f)]}]};}[_0x51e1b1(0x114)](){const _0x2aa603=_0x51e1b1;super[_0x2aa603(0x114)](),this[_0x2aa603(0x131)]=this[_0x2aa603(0xf1)][_0x2aa603(0x109)](_0x2aa603(0x111)),this[_0x2aa603(0x106)]['on'](_0x2aa603(0xff),()=>{const _0x54cca3=_0x2aa603;this[_0x54cca3(0x13a)]();}),this[_0x2aa603(0x13a)]();}[_0x51e1b1(0x122)](){const _0x1f6d89=_0x51e1b1;this[_0x1f6d89(0x134)]();for(const _0x25b5e4 of this[_0x1f6d89(0x11d)][_0x1f6d89(0x118)])_0x25b5e4[_0x1f6d89(0x134)]();}[_0x51e1b1(0xed)](){const _0x20ca96=_0x51e1b1,{locale:_0x58556c}=this,_0x498d14=this[_0x20ca96(0x11d)][_0x20ca96(0x118)][_0x20ca96(0x112)](0x0);_0x498d14===this[_0x20ca96(0x12c)]||_0x498d14[_0x20ca96(0xfc)]||(this[_0x20ca96(0x12c)]=_0x498d14,this[_0x20ca96(0x127)](_0x20ca96(0x100)),this[_0x20ca96(0xf6)](_0x20ca96(0x100))['to'](_0x498d14,_0x20ca96(0x100),_0x41600d=>_0x20ca96(0x117)===_0x41600d?_0x20ca96(0x117):null),_0x498d14[_0x20ca96(0x116)]=_0x4b0bd2(_0x58556c,_0x20ca96(0x12b)),_0x498d14[_0x20ca96(0xfa)]['on'](_0x20ca96(0xf5),_0xa439fb=>{const _0x590b47=_0x20ca96;_0xa439fb[_0x590b47(0x102)](),this[_0x590b47(0x13c)](_0x4b0bd2(_0x58556c,_0x590b47(0x11a)),this[_0x590b47(0x131)])[_0x590b47(0x142)](()=>{const _0xd7d222=_0x590b47;this[_0xd7d222(0x13e)](_0xd7d222(0x10a));});},{'priority':_0x20ca96(0x140)}),this['on'](_0x20ca96(0xfe),()=>{const _0x17069e=_0x20ca96;_0x498d14[_0x17069e(0x123)]();}),_0x498d14[_0x20ca96(0x13f)][_0x20ca96(0x12d)](this[_0x20ca96(0x133)],0x0),_0x498d14[_0x20ca96(0x120)][_0x20ca96(0x12d)](this[_0x20ca96(0x133)],0x0));}[_0x51e1b1(0x141)](){const _0x51c917=_0x51e1b1,_0x2cd713=new _0x8aff1d(this[_0x51c917(0x115)]);return _0x2cd713[_0x51c917(0x105)]=_0x4b0bd2(this[_0x51c917(0x115)],_0x51c917(0x11e)),_0x2cd713[_0x51c917(0x136)]=_0x4b0bd2(this[_0x51c917(0x115)],_0x51c917(0x11e)),_0x2cd713[_0x51c917(0x10d)]=_0x4651ce,_0x2cd713[_0x51c917(0x13d)]({'attributes':{'class':_0x51c917(0x12a)}}),_0x2cd713[_0x51c917(0xf6)](_0x51c917(0xf2))['to'](this[_0x51c917(0x106)],_0x51c917(0x130),_0x2b8012=>!_0x2b8012),_0x2cd713[_0x51c917(0xf6)](_0x51c917(0xf3))['to'](this[_0x51c917(0x106)],_0x51c917(0x10c),this[_0x51c917(0x106)],_0x51c917(0x10b),(_0x55baee,_0x513a5d)=>_0x55baee&&!_0x513a5d),_0x2cd713['on'](_0x51c917(0xf5),()=>{const _0xeb1552=_0x51c917;this[_0xeb1552(0x13e)](_0xeb1552(0x10f),this[_0xeb1552(0x106)]['id']);}),_0x2cd713;}[_0x51e1b1(0x13a)](){const _0x596124=_0x51e1b1;this[_0x596124(0x106)][_0x596124(0x103)]?this[_0x596124(0x12f)][_0x596124(0x110)](this[_0x596124(0x11b)])||(this[_0x596124(0x12f)][_0x596124(0x12d)](this[_0x596124(0x11b)],0x0),this[_0x596124(0x120)][_0x596124(0x12d)](this[_0x596124(0x11b)],0x0)):this[_0x596124(0x12f)][_0x596124(0x110)](this[_0x596124(0x11b)])&&(this[_0x596124(0x12f)][_0x596124(0x117)](this[_0x596124(0x11b)]),this[_0x596124(0x120)][_0x596124(0x117)](this[_0x596124(0x11b)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x132e(){const _0x3ad357=['ck-comment__info','isVisible','ck-annotation__info','mouseleave','ck-comment--','then','find','520445bYJmvX','edit','setTemplate','removeButton','_config','unbind','20871684OghsQq','503260WoqWMn','_attachActions','Edit','ck-comment','some','userView','Remove','removeComment','blur','_createCommentInputView','isReadOnly','ck-comment__wrapper','element','push','getUserViewNotificationText','remove','isExternal','cancelConfirm','length','ck-annotation__user','_createDropdown','ck-comment__external','addMany','placeholder','_createEditButton','span','getTemplate','focusables','ariaLabel','items','actionIndicator','isRemovable','bind','buttonView','locale','ck-comment--info','ck-comment__info-name','bindTemplate','formatDateTime','author','ck-comment__user','ck-comment--remove','getExternalCommentNote','396ArAvdB','isEnabled','ck-annotation__main','Show\x20more\x20items','Reply...','withText','3122krFPjZ','from','ck-comment__main','isEditMode','render','ck-hidden','ck-annotation__actions--hidden','6195438qDdHrs','ck-annotation__info-time','add','dropdown','ck-comment__actions','listitem','_createRemoveButton','group','ck-annotation__info-name','set','children','icon','name','createCollection','ck-comment--edit','3255951KOmnPc','div','label','change:isRemovable','execute','authoredAt','actionBar','switchToEditMode','ariaDescriptionView','panelView','mouseenter','9992iyttfF','Delete\x20comment?','showConfirm','_model','listenTo','time','toMany','focus','editButton','panelPosition','visibleView','ck-annotation__actions','extendTemplate','isSystemComment','ck-annotation__content-wrapper','resolvedAt','ck-annotation','ck-comment__actions--hidden','fire','40990dLDaiF','ck-comment__info-time','isEditable'];_0x132e=function(){return _0x3ad357;};return _0x132e();}function _0x4c3d(_0x52e061,_0x2f4e9b){const _0x132eb5=_0x132e();return _0x4c3d=function(_0x4c3d01,_0x99ba96){_0x4c3d01=_0x4c3d01-0x14b;let _0x5aa35c=_0x132eb5[_0x4c3d01];return _0x5aa35c;},_0x4c3d(_0x52e061,_0x2f4e9b);}const _0x22e41e=_0x4c3d;(function(_0x45091a,_0x1cdd1b){const _0xf05744=_0x4c3d,_0x1632fa=_0x45091a();while(!![]){try{const _0xae79c6=parseInt(_0xf05744(0x185))/0x1+parseInt(_0xf05744(0x18c))/0x2+-parseInt(_0xf05744(0x15d))/0x3+parseInt(_0xf05744(0x1b7))/0x4*(-parseInt(_0xf05744(0x17b))/0x5)+-parseInt(_0xf05744(0x14e))/0x6+-parseInt(_0xf05744(0x1bd))/0x7*(-parseInt(_0xf05744(0x168))/0x8)+parseInt(_0xf05744(0x18b))/0x9;if(_0xae79c6===_0x1cdd1b)break;else _0x1632fa['push'](_0x1632fa['shift']());}catch(_0x1b07ae){_0x1632fa['push'](_0x1632fa['shift']());}}}(_0x132e,0xaf779));import{IconRemoveComment as _0x2b6329,IconPencil as _0x29582d,IconThreeVerticalDots as _0x5b768a}from'ckeditor5/src/icons.js';import{ButtonView as _0x5845ff,createDropdown as _0x513275,ListView as _0x213124,ListItemView as _0x1f800b,focusChildOnDropdownOpen as _0x353d1b}from'ckeditor5/src/ui.js';import{UserView as _0x5b9602,ConfirmMixin as _0x46d6b6,LateFocusDropdownButtonView as _0x133a2f}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x573292}from'./basecommentview.js';import{getTranslation as _0x398f1e}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x46d6b6(_0x573292){[_0x22e41e(0x163)];[_0x22e41e(0x191)];constructor(_0x471941,_0x1306b4,_0x1d1523){const _0x339168=_0x22e41e;super(_0x471941,_0x1306b4,_0x1d1523),this[_0x339168(0x157)](_0x339168(0x1aa),null),this[_0x339168(0x157)](_0x339168(0x1a3),_0x398f1e(_0x471941,_0x339168(0x1bb))),this[_0x339168(0x1ac)](_0x339168(0x162))['to'](_0x1306b4),this[_0x339168(0x1ac)](_0x339168(0x177))['to'](_0x1306b4),this[_0x339168(0x163)]=this[_0x339168(0x15b)](),this[_0x339168(0x175)]||(this[_0x339168(0x170)]=this[_0x339168(0x1a4)](),this[_0x339168(0x188)]=this[_0x339168(0x154)](),this[_0x339168(0x1a9)]=this[_0x339168(0x15b)](),this[_0x339168(0x1a9)][_0x339168(0x1a2)]([this[_0x339168(0x170)],this[_0x339168(0x188)]]),this[_0x339168(0x151)]=this[_0x339168(0x1a0)](),this[_0x339168(0x163)][_0x339168(0x150)](this[_0x339168(0x151)]),this[_0x339168(0x1a7)][_0x339168(0x150)](this[_0x339168(0x151)])),this[_0x339168(0x191)]=new _0x5b9602(_0x471941,_0x1306b4[_0x339168(0x1b3)],this[_0x339168(0x19a)]()),this[_0x339168(0x191)][_0x339168(0x174)]({'attributes':{'class':[_0x339168(0x1b4),_0x339168(0x19f)],'aria-hidden':!0x0}}),this[_0x339168(0x16c)](_0x1306b4,_0x339168(0x160),()=>this[_0x339168(0x19d)]()),this[_0x339168(0x187)](this[_0x339168(0x1a6)]());}[_0x22e41e(0x1a6)](){const _0xc72314=_0x22e41e,_0x758888=this[_0xc72314(0x1b1)],_0x5b2fbb=[{'tag':_0xc72314(0x15e),'attributes':{'class':[_0xc72314(0x17e),_0xc72314(0x180)]},'children':[{'tag':_0xc72314(0x1a5),'children':[{'text':this[_0xc72314(0x191)][_0xc72314(0x15a)]}],'attributes':{'class':[_0xc72314(0x1b0),_0xc72314(0x156)],'data-cke-tooltip-text':this[_0xc72314(0x191)][_0xc72314(0x15a)]}},{'tag':_0xc72314(0x16d),'attributes':{'datetime':_0x758888['to'](_0xc72314(0x162)),'class':[_0xc72314(0x17c),_0xc72314(0x14f)]},'children':[{'text':_0x758888['to'](_0xc72314(0x162),_0x56e7cf=>this[_0xc72314(0x189)][_0xc72314(0x1b2)](_0x56e7cf))}]}]},{'tag':_0xc72314(0x15e),'attributes':{'class':[_0xc72314(0x152),_0xc72314(0x173),_0x758888['if'](_0xc72314(0x1c0),_0xc72314(0x179)),_0x758888['if'](_0xc72314(0x1c0),_0xc72314(0x14d))]},'children':this[_0xc72314(0x163)]},{'tag':_0xc72314(0x15e),'attributes':{'class':[_0xc72314(0x176)]},'children':this[_0xc72314(0x172)]},this[_0xc72314(0x165)]];return this[_0xc72314(0x16b)][_0xc72314(0x19c)]&&_0x5b2fbb[_0xc72314(0x199)]({'tag':_0xc72314(0x15e),'attributes':{'class':[_0xc72314(0x1a1)]},'children':[{'text':this[_0xc72314(0x1b6)]()}]}),{'tag':'li','attributes':{'class':[_0xc72314(0x197)],'tabindex':-0x1,'aria-label':_0x758888['to'](_0xc72314(0x1a8)),'aria-describedby':this[_0xc72314(0x165)]['id'],'role':_0xc72314(0x153)},'children':[{'tag':_0xc72314(0x15e),'attributes':{'class':[_0xc72314(0x18f),_0xc72314(0x178),_0x758888['if'](_0xc72314(0x1c0),_0xc72314(0x15c)),_0x758888['if'](_0xc72314(0x175),_0xc72314(0x1af)),_0x758888['to'](_0xc72314(0x1aa),_0x1877ff=>_0x1877ff?_0xc72314(0x182)+_0x1877ff:'')],'data-author-id':this[_0xc72314(0x16b)][_0xc72314(0x1b3)]['id'],'data-comment-id':this[_0xc72314(0x16b)]['id'],'role':_0xc72314(0x155)},'children':[this[_0xc72314(0x191)],{'tag':_0xc72314(0x15e),'attributes':{'class':[_0xc72314(0x1bf),_0xc72314(0x1b9)]},'children':_0x5b2fbb}]}]};}[_0x22e41e(0x1a4)](){const _0x124bc9=_0x22e41e,_0x450457=new _0x5845ff(this[_0x124bc9(0x1ae)]);return _0x450457[_0x124bc9(0x15f)]=_0x398f1e(this[_0x124bc9(0x1ae)],_0x124bc9(0x18e)),_0x450457[_0x124bc9(0x159)]=_0x29582d,_0x450457[_0x124bc9(0x1bc)]=!0x0,_0x450457[_0x124bc9(0x174)]({'attributes':{'class':_0x124bc9(0x15c)}}),_0x450457[_0x124bc9(0x1ac)](_0x124bc9(0x1b8))['to'](this[_0x124bc9(0x16b)],_0x124bc9(0x196),_0xd4eeb=>!_0xd4eeb),_0x450457[_0x124bc9(0x1ac)](_0x124bc9(0x17f))['to'](this[_0x124bc9(0x16b)],_0x124bc9(0x17d)),_0x450457['on'](_0x124bc9(0x161),()=>this[_0x124bc9(0x164)]()),_0x450457;}[_0x22e41e(0x154)](){const _0x24b639=_0x22e41e,_0x1c48d5=new _0x5845ff(this[_0x24b639(0x1ae)]);return _0x1c48d5[_0x24b639(0x15f)]=_0x398f1e(this[_0x24b639(0x1ae)],_0x24b639(0x192)),_0x1c48d5[_0x24b639(0x159)]=_0x2b6329,_0x1c48d5[_0x24b639(0x1bc)]=!0x0,_0x1c48d5[_0x24b639(0x174)]({'attributes':{'class':_0x24b639(0x1b5)}}),_0x1c48d5[_0x24b639(0x1ac)](_0x24b639(0x1b8))['to'](this[_0x24b639(0x16b)],_0x24b639(0x196),_0x50e0f2=>!_0x50e0f2),_0x1c48d5[_0x24b639(0x1ac)](_0x24b639(0x17f))['to'](this[_0x24b639(0x16b)],_0x24b639(0x1ab)),_0x1c48d5['on'](_0x24b639(0x161),()=>{const _0x1cde52=_0x24b639;this[_0x1cde52(0x16a)](_0x398f1e(this[_0x1cde52(0x1ae)],_0x1cde52(0x169)),this[_0x1cde52(0x198)])[_0x1cde52(0x183)](()=>{const _0x36544d=_0x1cde52;this[_0x36544d(0x17a)](_0x36544d(0x193),this[_0x36544d(0x16b)]['id']);});}),_0x1c48d5;}[_0x22e41e(0x1a0)](){const _0x338818=_0x22e41e,_0x45ccb0=_0x513275(this[_0x338818(0x1ae)],_0x133a2f),_0xb97b6b=_0x45ccb0[_0x338818(0x166)][_0x338818(0x158)],_0x359f51=new _0x213124(this[_0x338818(0x1ae)]),_0x38a46a=_0x45ccb0[_0x338818(0x1b1)];_0x353d1b(_0x45ccb0,()=>this[_0x338818(0x1a9)][_0x338818(0x184)](_0x4532c7=>_0x4532c7[_0x338818(0x17f)])),_0x45ccb0[_0x338818(0x174)]({'attributes':{'class':[_0x38a46a['if'](_0x338818(0x17f),_0x338818(0x14c),_0x998943=>!_0x998943)]}});const _0x36f43b=(_0x1293ab,_0x50090d=-0x1)=>{const _0x43f35c=_0x338818,_0x85e863=new _0x1f800b(this[_0x43f35c(0x1ae)]);_0x85e863[_0x43f35c(0x158)][_0x43f35c(0x150)](_0x1293ab);const _0x3bd6d8=_0x50090d>-0x1?_0x50090d:_0x359f51[_0x43f35c(0x1a9)][_0x43f35c(0x19e)];_0x359f51[_0x43f35c(0x1a9)][_0x43f35c(0x150)](_0x85e863,_0x3bd6d8);const _0x4a3625=Array[_0x43f35c(0x1be)](this[_0x43f35c(0x1a9)]);_0x45ccb0[_0x43f35c(0x18a)](_0x43f35c(0x1b8),_0x43f35c(0x17f)),_0x45ccb0[_0x43f35c(0x1ac)](_0x43f35c(0x1b8))[_0x43f35c(0x16e)](_0x4a3625,_0x43f35c(0x1b8),(..._0x2b14c6)=>_0x2b14c6[_0x43f35c(0x190)](_0x57ebef=>_0x57ebef)),_0x45ccb0[_0x43f35c(0x1ac)](_0x43f35c(0x17f))[_0x43f35c(0x16e)](_0x4a3625,_0x43f35c(0x17f),(..._0x37302b)=>_0x37302b[_0x43f35c(0x190)](_0x25e990=>_0x25e990));};_0x45ccb0[_0x338818(0x171)]='sw',_0x45ccb0[_0x338818(0x1ad)][_0x338818(0x157)]({'label':_0x398f1e(this[_0x338818(0x1ae)],_0x338818(0x1ba)),'icon':_0x5b768a});for(const _0x47d2a9 of this[_0x338818(0x1a9)])_0x36f43b(_0x47d2a9);return _0xb97b6b[_0x338818(0x150)](_0x359f51),_0x45ccb0[_0x338818(0x16c)](this[_0x338818(0x1a9)],_0x338818(0x150),(_0x43a802,_0x2a151b,_0x442c45)=>{_0x36f43b(_0x2a151b,_0x442c45);}),_0x45ccb0[_0x338818(0x16c)](this[_0x338818(0x1a9)],_0x338818(0x19b),(_0xd47f1a,_0x3ce19b,_0x4e489f)=>{const _0x11dfe1=_0x338818;_0x359f51[_0x11dfe1(0x1a9)][_0x11dfe1(0x19b)](_0x4e489f);}),_0x45ccb0;}[_0x22e41e(0x18d)](_0x3ff77c,_0x528d55){const _0x5df909=_0x22e41e,_0x4611fe=_0x3ff77c&&_0x3ff77c[_0x5df909(0x198)];_0x4611fe&&(this[_0x5df909(0x16c)](_0x4611fe,_0x5df909(0x167),()=>this[_0x5df909(0x1aa)]=_0x528d55),this[_0x5df909(0x16c)](_0x4611fe,_0x5df909(0x16f),()=>this[_0x5df909(0x1aa)]=_0x528d55),this[_0x5df909(0x16c)](_0x4611fe,_0x5df909(0x181),()=>this[_0x5df909(0x1aa)]=null),this[_0x5df909(0x16c)](_0x4611fe,_0x5df909(0x194),()=>this[_0x5df909(0x1aa)]=null));}[_0x22e41e(0x195)](){const _0x3ac0f5=_0x22e41e,_0x378c41=super[_0x3ac0f5(0x195)]();return _0x378c41[_0x3ac0f5(0x1ac)](_0x3ac0f5(0x1a3))['to'](this),_0x378c41;}[_0x22e41e(0x14b)](){const _0x2bff91=_0x22e41e;super[_0x2bff91(0x14b)](),this[_0x2bff91(0x18d)](this[_0x2bff91(0x170)],_0x2bff91(0x186)),this[_0x2bff91(0x18d)](this[_0x2bff91(0x188)],_0x2bff91(0x19b));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x56e091=_0x55e9;function _0x1a5d(){var _0x47899a=['pluginName','3244230eWfiZp','7777wjYDjD','20ZovhSL','2730732WqixRG','214zPaDij','12648ryPJyT','Comments','623313TINOyl','2539225zOYIwF','requires','isPremiumPlugin','isOfficialPlugin','7ZYPaBq','27280VWywUQ','8YhlkNw','32664FToUDD'];_0x1a5d=function(){return _0x47899a;};return _0x1a5d();}(function(_0x456cba,_0x5079bc){var _0x20924e=_0x55e9,_0x33e577=_0x456cba();while(!![]){try{var _0x206d69=parseInt(_0x20924e(0x1ec))/0x1*(-parseInt(_0x20924e(0x1ef))/0x2)+parseInt(_0x20924e(0x1e9))/0x3*(parseInt(_0x20924e(0x1ed))/0x4)+-parseInt(_0x20924e(0x1f3))/0x5+parseInt(_0x20924e(0x1ee))/0x6*(-parseInt(_0x20924e(0x1f7))/0x7)+-parseInt(_0x20924e(0x1e8))/0x8*(parseInt(_0x20924e(0x1f2))/0x9)+-parseInt(_0x20924e(0x1eb))/0xa+parseInt(_0x20924e(0x1f8))/0xb*(parseInt(_0x20924e(0x1f0))/0xc);if(_0x206d69===_0x5079bc)break;else _0x33e577['push'](_0x33e577['shift']());}catch(_0xa2a574){_0x33e577['push'](_0x33e577['shift']());}}}(_0x1a5d,0x75156));import{Plugin as _0x230b4b}from'ckeditor5/src/core.js';import{CommentsRepository as _0x15d6d9}from'./comments/commentsrepository.js';import{CommentsEditing as _0x41f42f}from'./comments/commentsediting.js';function _0x55e9(_0x446295,_0x404f38){var _0x1a5d41=_0x1a5d();return _0x55e9=function(_0x55e9dd,_0x1c4508){_0x55e9dd=_0x55e9dd-0x1e8;var _0x2b07f6=_0x1a5d41[_0x55e9dd];return _0x2b07f6;},_0x55e9(_0x446295,_0x404f38);}import{CommentsUI as _0x19b367}from'./comments/commentsui.js';import{CommentsOnly as _0x8c81ff}from'./commentsonly.js';import{WideSidebar as _0x438ac9}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x28c0f4}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x5e1afb}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x4f5eae}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x4089eb}from'./comments/commentsarchive.js';export class Comments extends _0x230b4b{static get[_0x56e091(0x1f4)](){return[_0x15d6d9,_0x41f42f,_0x19b367,_0x4089eb,_0x4f5eae,_0x8c81ff,_0x438ac9,_0x28c0f4,_0x5e1afb];}static get[_0x56e091(0x1ea)](){var _0x2ae499=_0x56e091;return _0x2ae499(0x1f1);}static get[_0x56e091(0x1f6)](){return!0x0;}static get[_0x56e091(0x1f5)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x16df(_0x4abd70,_0x3becfd){const _0x3dc9e1=_0x3dc9();return _0x16df=function(_0x16df4c,_0x4959c0){_0x16df4c=_0x16df4c-0x1ce;let _0xcd9718=_0x3dc9e1[_0x16df4c];return _0xcd9718;},_0x16df(_0x4abd70,_0x3becfd);}const _0x43d290=_0x16df;(function(_0x3d3e5c,_0x3e1d21){const _0x9df963=_0x16df,_0xec6b15=_0x3d3e5c();while(!![]){try{const _0x2b155e=-parseInt(_0x9df963(0x1dc))/0x1+-parseInt(_0x9df963(0x1ed))/0x2+-parseInt(_0x9df963(0x1d0))/0x3+-parseInt(_0x9df963(0x1e4))/0x4*(-parseInt(_0x9df963(0x1d2))/0x5)+-parseInt(_0x9df963(0x1d1))/0x6+-parseInt(_0x9df963(0x1ce))/0x7+parseInt(_0x9df963(0x1e8))/0x8;if(_0x2b155e===_0x3e1d21)break;else _0xec6b15['push'](_0xec6b15['shift']());}catch(_0x3cfea7){_0xec6b15['push'](_0xec6b15['shift']());}}}(_0x3dc9,0xd4501));import{Plugin as _0x5d6849}from'ckeditor5/src/core.js';import{CommentsEditing as _0x4344b8}from'./comments/commentsediting.js';export class CommentsOnly extends _0x5d6849{static get[_0x43d290(0x1e6)](){const _0x5c28b3=_0x43d290;return _0x5c28b3(0x1e7);}static get[_0x43d290(0x1df)](){return!0x0;}static get[_0x43d290(0x1f8)](){return!0x0;}static get[_0x43d290(0x1e2)](){return[_0x4344b8];}constructor(_0x2873cb){const _0x7c5892=_0x43d290;super(_0x2873cb),this[_0x7c5892(0x1f7)](_0x7c5892(0x1ef),!0x1),this['on'](_0x7c5892(0x1f9),(_0x2eb1fc,_0x40ead7,_0x5bb895)=>{const _0x463b96=_0x7c5892;_0x5bb895?this[_0x463b96(0x1ec)]():this[_0x463b96(0x1e5)]();});}[_0x43d290(0x1e3)](){const _0x4856dc=_0x43d290;!this[_0x4856dc(0x1ef)]&&this[_0x4856dc(0x1f0)][_0x4856dc(0x1de)][_0x4856dc(0x1fa)](_0x4856dc(0x1ea))&&(this[_0x4856dc(0x1ef)]=!0x0);}[_0x43d290(0x1ec)](){const _0x2ce7e2=_0x43d290;for(const [_0x57e393,_0x762e8c]of this[_0x2ce7e2(0x1f0)][_0x2ce7e2(0x1f5)])_0x762e8c[_0x2ce7e2(0x1d4)]&&_0x2ce7e2(0x1f4)!==_0x57e393&&_0x762e8c[_0x2ce7e2(0x1e9)](_0x2ce7e2(0x1eb));(this[_0x2ce7e2(0x1f0)][_0x2ce7e2(0x1e1)][_0x2ce7e2(0x1f1)](_0x2ce7e2(0x1d6))&&this[_0x2ce7e2(0x1f0)][_0x2ce7e2(0x1e1)][_0x2ce7e2(0x1fa)](_0x2ce7e2(0x1d6))[_0x2ce7e2(0x1e9)](_0x2ce7e2(0x1eb)),this[_0x2ce7e2(0x1f0)][_0x2ce7e2(0x1e1)][_0x2ce7e2(0x1f1)](_0x2ce7e2(0x1f2)))&&this[_0x2ce7e2(0x1f0)][_0x2ce7e2(0x1e1)][_0x2ce7e2(0x1fa)](_0x2ce7e2(0x1f2))[_0x2ce7e2(0x1e9)](_0x2ce7e2(0x1eb));this[_0x2ce7e2(0x1f0)][_0x2ce7e2(0x1e1)][_0x2ce7e2(0x1f1)](_0x2ce7e2(0x1cf))&&this[_0x2ce7e2(0x1f0)][_0x2ce7e2(0x1e1)][_0x2ce7e2(0x1fa)](_0x2ce7e2(0x1cf))[_0x2ce7e2(0x1e9)](_0x2ce7e2(0x1eb));this[_0x2ce7e2(0x1f0)][_0x2ce7e2(0x1f5)][_0x2ce7e2(0x1fa)](_0x2ce7e2(0x1d3))?.[_0x2ce7e2(0x1e9)](_0x2ce7e2(0x1eb));const _0x275add=this[_0x2ce7e2(0x1f0)][_0x2ce7e2(0x1d8)][_0x2ce7e2(0x1d9)][_0x2ce7e2(0x1dd)];this[_0x2ce7e2(0x1ee)](_0x275add,_0x2ce7e2(0x1f3),_0xc0b524=>_0xc0b524[_0x2ce7e2(0x1d7)](),{'priority':_0x2ce7e2(0x1db)}),this[_0x2ce7e2(0x1ee)](_0x275add,_0x2ce7e2(0x1f6),_0x10ecb8=>_0x10ecb8[_0x2ce7e2(0x1d7)](),{'priority':_0x2ce7e2(0x1db)}),this[_0x2ce7e2(0x1ee)](_0x275add,_0x2ce7e2(0x1da),_0x4d6b6c=>_0x4d6b6c[_0x2ce7e2(0x1d7)](),{'priority':_0x2ce7e2(0x1db)});}[_0x43d290(0x1e5)](){const _0x35e54a=_0x43d290;for(const [_0x267a98,_0x582b31]of this[_0x35e54a(0x1f0)][_0x35e54a(0x1f5)])_0x582b31[_0x35e54a(0x1d4)]&&_0x35e54a(0x1f4)!==_0x267a98&&_0x582b31[_0x35e54a(0x1d5)](_0x35e54a(0x1eb));this[_0x35e54a(0x1f0)][_0x35e54a(0x1e1)][_0x35e54a(0x1f1)](_0x35e54a(0x1f2))&&this[_0x35e54a(0x1f0)][_0x35e54a(0x1e1)][_0x35e54a(0x1fa)](_0x35e54a(0x1f2))[_0x35e54a(0x1d5)](_0x35e54a(0x1eb)),this[_0x35e54a(0x1f0)][_0x35e54a(0x1e1)][_0x35e54a(0x1f1)](_0x35e54a(0x1cf))&&this[_0x35e54a(0x1f0)][_0x35e54a(0x1e1)][_0x35e54a(0x1fa)](_0x35e54a(0x1cf))[_0x35e54a(0x1d5)](_0x35e54a(0x1eb)),this[_0x35e54a(0x1f0)][_0x35e54a(0x1f5)][_0x35e54a(0x1fa)](_0x35e54a(0x1d3))?.[_0x35e54a(0x1d5)](_0x35e54a(0x1eb)),this[_0x35e54a(0x1e0)](this[_0x35e54a(0x1f0)][_0x35e54a(0x1d8)][_0x35e54a(0x1d9)][_0x35e54a(0x1dd)]);}}function _0x3dc9(){const _0x16b7de=['_disableCommentsOnlyMode','pluginName','CommentsOnly','45457176GLclGO','forceDisabled','commentsOnly','commentsOnlyMode','_enableCommentsOnlyMode','2254644fQtUdD','listenTo','isEnabled','editor','has','RevisionTracker','cut','addCommentThread','commands','clipboardInput','set','isPremiumPlugin','change:isEnabled','get','9661575VNnzUg','SourceEditing','2374824YgCEfJ','9733668IUfIGl','5105wDUjXB','editSource','affectsData','clearForceDisabled','DragDrop','stop','editing','view','delete','highest','61588hJKSnE','document','config','isOfficialPlugin','stopListening','plugins','requires','afterInit','668ShjKif'];_0x3dc9=function(){return _0x16b7de;};return _0x3dc9();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x489ae7,_0x90662b){var _0x35194a=_0x5d20,_0x367d64=_0x489ae7();while(!![]){try{var _0x29937f=parseInt(_0x35194a(0x11c))/0x1+-parseInt(_0x35194a(0x122))/0x2*(parseInt(_0x35194a(0x11e))/0x3)+parseInt(_0x35194a(0x120))/0x4+-parseInt(_0x35194a(0x121))/0x5+parseInt(_0x35194a(0x11d))/0x6+-parseInt(_0x35194a(0x11f))/0x7*(-parseInt(_0x35194a(0x11b))/0x8)+-parseInt(_0x35194a(0x123))/0x9;if(_0x29937f===_0x90662b)break;else _0x367d64['push'](_0x367d64['shift']());}catch(_0x40ba7b){_0x367d64['push'](_0x367d64['shift']());}}}(_0x3c62,0x8d756));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';function _0x3c62(){var _0x5f16b8=['1622624MsalYY','1855270jotmUZ','2hCDqup','9318006NCSyHa','24ShpMTR','154679FFCIGH','6468552rhSPgu','1807122EBaPrr','2216081pXnpyS'];_0x3c62=function(){return _0x5f16b8;};return _0x3c62();}export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';function _0x5d20(_0x3d3fae,_0x3ad660){var _0x3c62bb=_0x3c62();return _0x5d20=function(_0x5d20ed,_0x27047a){_0x5d20ed=_0x5d20ed-0x11b;var _0x30cf83=_0x3c62bb[_0x5d20ed];return _0x30cf83;},_0x5d20(_0x3d3fae,_0x3ad660);}export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';export{CommentsArchiveUI}from'./comments/commentsarchiveui.js';export{CommentsEditing}from'./comments/commentsediting.js';export{AnnotationCounterButtonView}from'./annotations/view/annotationcounterbuttonview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x13f576,_0x534a36,_0x15b96c){const t=_0x13f576['t'];switch(_0x534a36){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'Annotations\x20sidebar':return t('Annotations\x20sidebar');case'Annotations\x20list':return t('Annotations\x20list');case'Thread\x20comments':return t('Thread\x20comments');case'THREAD_CONTEXT_LABEL':return t({'string':'Thread\x20context:\x20%0','id':'THREAD_CONTEXT_LABEL'},_0x15b96c);case'COMMENT_THREAD_LABEL':return t({'string':'Comment\x20thread\x20by\x20%1.\x20%1\x20reply.','plural':'Comment\x20thread\x20by\x20%1.\x20%0\x20replies.','id':'COMMENT_THREAD_LABEL'},_0x15b96c);case'COMMENT_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'COMMENT_THREAD_DESCRIPTION'});case'COMMENT_ARIA_LABEL':return t({'string':'Comment\x20by\x20%0.\x20Created\x20on\x20%1.\x20%2.\x20%3','id':'COMMENT_ARIA_LABEL'},_0x15b96c);case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20content\x20with\x20comments.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20content\x20with\x20comments.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_COMMENT_ANNOUNCEMENT'},_0x15b96c);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x15b96c);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x15b96c);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x15b96c);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x15b96c);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x592a70,_0xc3f8e0){const _0x2512b0=_0x512b,_0x4ee92b=_0x592a70();while(!![]){try{const _0x54df16=-parseInt(_0x2512b0(0xd3))/0x1+-parseInt(_0x2512b0(0xce))/0x2+parseInt(_0x2512b0(0xd4))/0x3+parseInt(_0x2512b0(0xd7))/0x4+parseInt(_0x2512b0(0xd6))/0x5*(parseInt(_0x2512b0(0xd2))/0x6)+parseInt(_0x2512b0(0xc9))/0x7+parseInt(_0x2512b0(0xd5))/0x8;if(_0x54df16===_0xc3f8e0)break;else _0x4ee92b['push'](_0x4ee92b['shift']());}catch(_0x8129d4){_0x4ee92b['push'](_0x4ee92b['shift']());}}}(_0x1a86,0x3ff5b));import{throttle as _0x5c1c9b}from'es-toolkit/compat';function _0x512b(_0x3d77bf,_0x1c17ae){const _0x1a86eb=_0x1a86();return _0x512b=function(_0x512b51,_0x3f5ba8){_0x512b51=_0x512b51-0xc9;let _0x43eca5=_0x1a86eb[_0x512b51];return _0x43eca5;},_0x512b(_0x3d77bf,_0x1c17ae);}function _0x1a86(){const _0x28c5bd=['376600rHvgZp','attributes','cancel','2716728VtGomK','class','characterData','attributeName','disconnect','485104MFfxTo','observe','type','childList','11544rEzbVx','479759qmzlxu','787752pfIAlc','1346112XvRSDR','185LskPvy'];_0x1a86=function(){return _0x28c5bd;};return _0x1a86();}export function createMutationObserver(_0xafea80){const _0x589f1e=_0x5c1c9b(_0xafea80,0x1e),_0x132419=new MutationObserver(_0x27e20e=>{const _0x39c60f=_0x512b;for(const _0x461f1e of _0x27e20e)(_0x39c60f(0xd8)==_0x461f1e[_0x39c60f(0xd0)]&&_0x39c60f(0xca)==_0x461f1e[_0x39c60f(0xcc)]||_0x39c60f(0xd1)==_0x461f1e[_0x39c60f(0xd0)]||_0x39c60f(0xcb)==_0x461f1e[_0x39c60f(0xd0)])&&_0x589f1e();});return{'attach'(_0x5b6d4d){const _0x2f5e37=_0x512b;_0x132419[_0x2f5e37(0xcf)](_0x5b6d4d,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x56add9=_0x512b;_0x132419[_0x56add9(0xcd)](),_0x589f1e[_0x56add9(0xd9)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x477f(){const _0x921fbf=['1225628cFSxXW','34288yYieNy','1001GWhajT','2NgJtvj','14502785FcQqXE','279254BUrccj','48756JjTgjm','6dihgEg','30Ynpygs','1483335IrnWLB','split','7148920VGSoHY'];_0x477f=function(){return _0x921fbf;};return _0x477f();}(function(_0x727434,_0x52ab0c){const _0x31d043=_0x3cd2,_0x337680=_0x727434();while(!![]){try{const _0x1546a7=parseInt(_0x31d043(0x145))/0x1*(-parseInt(_0x31d043(0x13b))/0x2)+parseInt(_0x31d043(0x13d))/0x3*(parseInt(_0x31d043(0x142))/0x4)+parseInt(_0x31d043(0x13e))/0x5*(-parseInt(_0x31d043(0x13c))/0x6)+-parseInt(_0x31d043(0x144))/0x7*(-parseInt(_0x31d043(0x143))/0x8)+parseInt(_0x31d043(0x13f))/0x9+parseInt(_0x31d043(0x141))/0xa+-parseInt(_0x31d043(0x13a))/0xb;if(_0x1546a7===_0x52ab0c)break;else _0x337680['push'](_0x337680['shift']());}catch(_0x3829e7){_0x337680['push'](_0x337680['shift']());}}}(_0x477f,0x700de));function _0x3cd2(_0x280b1d,_0x52bd56){const _0x477fbc=_0x477f();return _0x3cd2=function(_0x3cd207,_0x5a3d28){_0x3cd207=_0x3cd207-0x13a;let _0x48d4a1=_0x477fbc[_0x3cd207];return _0x48d4a1;},_0x3cd2(_0x280b1d,_0x52bd56);}export function splitMarkerName(_0x5ae898){const _0x1081fc=_0x3cd2,_0x54c28f=_0x5ae898[_0x1081fc(0x140)](':');return{'group':_0x54c28f[0x0],'id':_0x54c28f[0x1],'part':_0x54c28f[0x2]};}
|