@ckeditor/ckeditor5-comments 47.5.0-alpha.7 → 47.5.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 _0x53b2d4=_0x1f93;function _0x384c(){const _0x446786=['hasDirtyComment','_rearrangeExpand','remove','56LNQsMv','resolvedAt','_shouldCollapse','add','element','get','createCollection','83679TAvcuH','added','removeComment','_handleInfoComment','visibleViews','expand','commentUpdated','some','CommentView','forEach','commentViews','2461576mDnIqT','isEditMode','formatDateTime','_findOptimalIndex','ck-hidden','change','target','editorDestroyed','_model','map','focus','editorReady','focusLast','destroy','resolvedCommentView','4073670LDWunT','locale','14070vqSNcM','Thread\x20comments','maxThreadTotalWeight','bind','_handleNewCommentModel','1782837zdoGki','editorConfig','_collapsedCommentsView','_calculatePosition','weight','Marked\x20as\x20resolved','length','change:isActive','_handleRemoveCommentModel','30594yXpwns','keystrokes','updateComment','render','6nslXqb','ck-thread__comments','isActive','stopListening','setTemplate','_rearrangeCollapse','count','removed','change:isResolved','listenTo','authoredAt','reverse','_setupKeyboardNavigation','maxCommentsWhenCollapsed','resolved','_updateHasDirtyComment','insert','includes','bindTemplate','focusFirst','change:hasDirtyComment','change:isEditMode','collapse','arrowup','delegate','from','set','comments','viewUid','refreshVisibleViews','arrowdown','resolvedBy','resolveCommentThread','equal','maxCommentCharsWhenCollapsed','20IAVfmB','focusTracker','delete','_config','599665UKWhab','focusCycler'];_0x384c=function(){return _0x446786;};return _0x384c();}(function(_0x49ac26,_0x27d409){const _0x5d69fe=_0x1f93,_0x399971=_0x49ac26();while(!![]){try{const _0xc062ed=parseInt(_0x5d69fe(0x10f))/0x1*(-parseInt(_0x5d69fe(0x113))/0x2)+parseInt(_0x5d69fe(0xe5))/0x3*(parseInt(_0x5d69fe(0x136))/0x4)+parseInt(_0x5d69fe(0x13a))/0x5+-parseInt(_0x5d69fe(0x101))/0x6*(parseInt(_0x5d69fe(0xde))/0x7)+parseInt(_0x5d69fe(0xf0))/0x8+parseInt(_0x5d69fe(0x106))/0x9+-parseInt(_0x5d69fe(0xff))/0xa;if(_0xc062ed===_0x27d409)break;else _0x399971['push'](_0x399971['shift']());}catch(_0x418f41){_0x399971['push'](_0x399971['shift']());}}}(_0x384c,0x3c5ef));import{View as _0x2681b6,FocusCycler as _0x524378}from'ckeditor5/src/ui.js';import{diff as _0x5de1a5,Collection as _0x2b754a,FocusTracker as _0x1aa4a1,KeystrokeHandler as _0x524ff3}from'ckeditor5/src/utils.js';import{getTranslation as _0x3ffc8f}from'../../../utils/common-translations.js';function _0x1f93(_0x191615,_0x56dcfd){const _0x384cb3=_0x384c();return _0x1f93=function(_0x1f9343,_0x164ce1){_0x1f9343=_0x1f9343-0xdb;let _0x5011bd=_0x384cb3[_0x1f9343];return _0x5011bd;},_0x1f93(_0x191615,_0x56dcfd);}import{CollapsedCommentsView as _0x1275b0}from'./collapsedcommentsview.js';export class CommentsListView extends _0x2681b6{[_0x53b2d4(0xef)];[_0x53b2d4(0xfe)];[_0x53b2d4(0x137)];[_0x53b2d4(0x110)];[_0x53b2d4(0x13b)];[_0x53b2d4(0xf8)];[_0x53b2d4(0x139)];[_0x53b2d4(0x108)];constructor(_0x175b0b,_0x15e9e5,_0x4e892f){const _0xb59a44=_0x53b2d4;super(_0x175b0b);const _0x5c5829=this[_0xb59a44(0x125)];this[_0xb59a44(0x12d)](_0xb59a44(0xdb),!0x1),this[_0xb59a44(0x12d)](_0xb59a44(0x10c),_0x15e9e5[_0xb59a44(0x12e)][_0xb59a44(0x10c)]),this[_0xb59a44(0x12d)](_0xb59a44(0x115),!0x1),this[_0xb59a44(0xf8)]=_0x15e9e5,this[_0xb59a44(0x139)]=_0x4e892f,this[_0xb59a44(0xef)]=this[_0xb59a44(0xe4)](),this[_0xb59a44(0xe9)]=this[_0xb59a44(0xe4)](),this[_0xb59a44(0xfe)]=null,this[_0xb59a44(0x137)]=new _0x1aa4a1(),this[_0xb59a44(0x110)]=new _0x524ff3(),this[_0xb59a44(0x13b)]=new _0x524378({'focusables':this[_0xb59a44(0xef)],'focusTracker':this[_0xb59a44(0x137)],'keystrokeHandler':this[_0xb59a44(0x110)],'keystrokeHandlerOptions':{'filter':_0x50202d=>this[_0xb59a44(0xef)][_0xb59a44(0xf9)](_0x463b4f=>_0x463b4f[_0xb59a44(0xe2)])[_0xb59a44(0x124)](_0x50202d[_0xb59a44(0xf6)])},'actions':{'focusPrevious':_0xb59a44(0x12a),'focusNext':_0xb59a44(0x131)}}),this[_0xb59a44(0x108)]=new _0x1275b0(_0x175b0b),this[_0xb59a44(0x108)][_0xb59a44(0x104)](_0xb59a44(0x119))['to'](this,_0xb59a44(0x10c),_0x2976de=>_0x2976de-this[_0xb59a44(0x139)][_0xb59a44(0x120)]);for(const _0x56e657 of _0x15e9e5[_0xb59a44(0x12e)])this[_0xb59a44(0x105)](_0x56e657);this[_0xb59a44(0xe8)](),this[_0xb59a44(0x11c)](_0x15e9e5[_0xb59a44(0x12e)],_0xb59a44(0xe1),(_0x340786,_0x6fc0b7)=>{const _0xf76bad=_0xb59a44,_0x3fd7be=this[_0xf76bad(0x109)](_0x6fc0b7);this[_0xf76bad(0x10c)]++,this[_0xf76bad(0x105)](_0x6fc0b7,_0x3fd7be),this[_0xf76bad(0x130)]();}),this[_0xb59a44(0x11c)](_0x15e9e5[_0xb59a44(0x12e)],_0xb59a44(0xdd),(_0x4e97d1,_0x4e16d2)=>{const _0x7fc017=_0xb59a44;this[_0x7fc017(0x10c)]--,this[_0x7fc017(0x10e)](_0x4e16d2),this[_0x7fc017(0x130)]();}),this[_0xb59a44(0x11c)](_0x15e9e5,_0xb59a44(0xeb),()=>this[_0xb59a44(0x130)]()),this[_0xb59a44(0x11c)](_0x15e9e5,_0xb59a44(0x11b),()=>this[_0xb59a44(0xe8)]()),this['on'](_0xb59a44(0x10d),()=>this[_0xb59a44(0x130)]()),this['on'](_0xb59a44(0x127),()=>this[_0xb59a44(0x130)]()),this[_0xb59a44(0x117)]({'tag':'ul','attributes':{'class':[_0xb59a44(0x114),_0x5c5829['if'](_0xb59a44(0x10c),_0xb59a44(0xf4),_0x23683f=>!_0x23683f)],'aria-label':_0x3ffc8f(_0x175b0b,_0xb59a44(0x102))},'children':this[_0xb59a44(0xe9)]});}get[_0x53b2d4(0xe0)](){const _0x23d6fb=_0x53b2d4;return this[_0x23d6fb(0xf8)][_0x23d6fb(0x10a)]>this[_0x23d6fb(0x139)][_0x23d6fb(0x103)]&&!this[_0x23d6fb(0x115)]&&!this[_0x23d6fb(0xdb)];}[_0x53b2d4(0x112)](){const _0x35349a=_0x53b2d4;super[_0x35349a(0x112)](),this[_0x35349a(0x130)](),this[_0x35349a(0x11f)]();}[_0x53b2d4(0xfa)](_0x2028e3){const _0x2548f8=_0x53b2d4;-0x1===_0x2028e3?this[_0x2548f8(0x13b)][_0x2548f8(0xfc)]():this[_0x2548f8(0x13b)][_0x2548f8(0x126)]();}[_0x53b2d4(0xfd)](){const _0x4dcd18=_0x53b2d4;this[_0x4dcd18(0x108)][_0x4dcd18(0xfd)]();for(const _0x13d597 of this[_0x4dcd18(0xef)])_0x13d597[_0x4dcd18(0xfd)]();super[_0x4dcd18(0xfd)]();}[_0x53b2d4(0x130)](){const _0x56ede8=_0x53b2d4;this[_0x56ede8(0xe0)]?this[_0x56ede8(0x118)]():this[_0x56ede8(0xdc)]();}[_0x53b2d4(0x105)](_0x1951f3,_0x518c39){const _0x2080f9=_0x53b2d4,_0x2a6308=new this[(_0x2080f9(0x139))][(_0x2080f9(0xed))](this[_0x2080f9(0x100)],_0x1951f3,{'maxCommentCharsWhenCollapsed':this[_0x2080f9(0x139)][_0x2080f9(0x135)],'formatDateTime':this[_0x2080f9(0x139)][_0x2080f9(0xf2)],'editorConfig':this[_0x2080f9(0x139)][_0x2080f9(0x107)]});_0x2a6308[_0x2080f9(0x12f)]=_0x1951f3['id'],_0x2a6308[_0x2080f9(0x12b)](_0x2080f9(0xe7))['to'](this),_0x2a6308[_0x2080f9(0x12b)](_0x2080f9(0x111))['to'](this),_0x2a6308[_0x2080f9(0x12b)](_0x2080f9(0x133))['to'](this),_0x2a6308[_0x2080f9(0x12b)](_0x2080f9(0xfb))['to'](this),_0x2a6308[_0x2080f9(0x12b)](_0x2080f9(0xf7))['to'](this),this[_0x2080f9(0x11c)](_0x2a6308,_0x2080f9(0x128),()=>this[_0x2080f9(0x122)]()),this[_0x2080f9(0xef)][_0x2080f9(0xe1)](_0x2a6308,_0x518c39);}[_0x53b2d4(0x109)](_0x611afd){const _0x15d321=_0x53b2d4,_0x3478dd=this[_0x15d321(0xf8)][_0x15d321(0xf3)](_0x611afd);return this[_0x15d321(0xfe)]?this[_0x15d321(0xfe)][_0x15d321(0x11d)]>_0x611afd[_0x15d321(0x11d)]?_0x3478dd-0x1:_0x3478dd:_0x3478dd-0x1;}[_0x53b2d4(0xe8)](){const _0x46b081=_0x53b2d4;if(this[_0x46b081(0xf8)][_0x46b081(0x132)]&&this[_0x46b081(0xf8)][_0x46b081(0xdf)]){const _0x571f75={'id':_0x46b081(0x121),'author':this[_0x46b081(0xf8)][_0x46b081(0x132)],'authoredAt':this[_0x46b081(0xf8)][_0x46b081(0xdf)],'content':_0x3ffc8f(this[_0x46b081(0x100)],_0x46b081(0x10b)),'attributes':{}};this[_0x46b081(0xfe)]=new this[(_0x46b081(0x139))][(_0x46b081(0xed))](this[_0x46b081(0x100)],_0x571f75,{'maxCommentCharsWhenCollapsed':this[_0x46b081(0x139)][_0x46b081(0x135)],'formatDateTime':this[_0x46b081(0x139)][_0x46b081(0xf2)],'editorConfig':this[_0x46b081(0x139)][_0x46b081(0x107)],'isSystemComment':!0x0}),this[_0x46b081(0xef)][_0x46b081(0xe1)](this[_0x46b081(0xfe)],this[_0x46b081(0xf8)][_0x46b081(0xf3)](_0x571f75));}else this[_0x46b081(0xfe)]&&(this[_0x46b081(0xef)][_0x46b081(0xdd)](this[_0x46b081(0xfe)]),this[_0x46b081(0xfe)][_0x46b081(0xfd)](),this[_0x46b081(0xfe)]=null);this[_0x46b081(0x130)]();}[_0x53b2d4(0x10e)](_0x5aad14){const _0x3a4ca7=_0x53b2d4,_0x2bca1e=this[_0x3a4ca7(0xef)][_0x3a4ca7(0xdd)](_0x5aad14['id']);this[_0x3a4ca7(0x116)](_0x2bca1e),_0x2bca1e[_0x3a4ca7(0xf1)]&&this[_0x3a4ca7(0x122)](),_0x2bca1e[_0x3a4ca7(0xfd)]();}[_0x53b2d4(0x122)](){const _0x5779ad=_0x53b2d4;this[_0x5779ad(0xdb)]=Array[_0x5779ad(0x12c)](this[_0x5779ad(0xef)])[_0x5779ad(0xec)](_0x1348cd=>_0x1348cd[_0x5779ad(0xf1)]);}[_0x53b2d4(0x118)](){const _0xf129c3=_0x53b2d4,_0x4a7f9d=function(_0x2c17b7){const _0x1b3a5e=_0x1f93,_0x328ed3=new _0x2b754a();for(const _0x3192c0 of _0x2c17b7)_0x328ed3[_0x1b3a5e(0xe1)](_0x3192c0);return _0x328ed3;}(this[_0xf129c3(0xef)]),_0x698b11=this[_0xf129c3(0x108)][_0xf129c3(0x119)];for(let _0x204888=0x1;_0x204888<=_0x698b11;_0x204888++)_0x4a7f9d[_0xf129c3(0xdd)](0x1);for(const _0x5373fc of _0x4a7f9d)_0x5373fc[_0xf129c3(0x129)]();_0x698b11>0x0&&_0x4a7f9d[_0xf129c3(0xe1)](this[_0xf129c3(0x108)],0x1),ns(_0x5de1a5(Array[_0xf129c3(0x12c)](this[_0xf129c3(0xe9)]),Array[_0xf129c3(0x12c)](_0x4a7f9d)),this[_0xf129c3(0xe9)],_0x4a7f9d);}[_0x53b2d4(0xdc)](){const _0x2451b0=_0x53b2d4;ns(_0x5de1a5(Array[_0x2451b0(0x12c)](this[_0x2451b0(0xe9)]),Array[_0x2451b0(0x12c)](this[_0x2451b0(0xef)])),this[_0x2451b0(0xe9)],this[_0x2451b0(0xef)]);for(const _0xf51971 of this[_0x2451b0(0xe9)])_0xf51971[_0x2451b0(0xea)]();}[_0x53b2d4(0x11f)](){const _0x16f6b3=_0x53b2d4;this[_0x16f6b3(0xef)][_0x16f6b3(0xee)](_0x434906=>{const _0x3dcf82=_0x16f6b3;this[_0x3dcf82(0x137)][_0x3dcf82(0xe1)](_0x434906[_0x3dcf82(0xe2)]),this[_0x3dcf82(0x110)][_0x3dcf82(0x11c)](_0x434906[_0x3dcf82(0xe2)]);}),this[_0x16f6b3(0xef)]['on'](_0x16f6b3(0xf5),(_0x65431a,_0x419bc7)=>{const _0x2e5e76=_0x16f6b3;for(const _0x4f7699 of _0x419bc7[_0x2e5e76(0x11a)])this[_0x2e5e76(0x137)][_0x2e5e76(0xdd)](_0x4f7699[_0x2e5e76(0xe2)]),this[_0x2e5e76(0x110)][_0x2e5e76(0x116)](_0x4f7699[_0x2e5e76(0xe2)]);for(const _0x2168af of Array[_0x2e5e76(0x12c)](_0x419bc7[_0x2e5e76(0xe6)])[_0x2e5e76(0x11e)]())this[_0x2e5e76(0x137)][_0x2e5e76(0xe1)](_0x2168af[_0x2e5e76(0xe2)]),this[_0x2e5e76(0x110)][_0x2e5e76(0x11c)](_0x2168af[_0x2e5e76(0xe2)]);});}}function ns(_0x17351a,_0x33a3f8,_0x509aef){const _0x54b38d=_0x53b2d4;let _0x40ebf6=0x0;for(const _0x12daeb of _0x17351a)switch(_0x12daeb){case _0x54b38d(0x123):_0x33a3f8[_0x54b38d(0xe1)](_0x509aef[_0x54b38d(0xe3)](_0x40ebf6),_0x40ebf6),_0x40ebf6++;break;case _0x54b38d(0x138):_0x33a3f8[_0x54b38d(0xdd)](_0x40ebf6);break;case _0x54b38d(0x134):_0x40ebf6++;}}
|
|
23
|
+
const _0xc1e5f5=_0x5137;function _0x5137(_0x35a0d1,_0x5afad8){const _0x8fabc7=_0x8fab();return _0x5137=function(_0x5137e5,_0xc4e7f4){_0x5137e5=_0x5137e5-0x1cb;let _0xee664a=_0x8fabc7[_0x5137e5];return _0xee664a;},_0x5137(_0x35a0d1,_0x5afad8);}(function(_0x40aeca,_0x20d180){const _0x9221e7=_0x5137,_0x332144=_0x40aeca();while(!![]){try{const _0x530c86=-parseInt(_0x9221e7(0x216))/0x1+-parseInt(_0x9221e7(0x20a))/0x2*(-parseInt(_0x9221e7(0x1f1))/0x3)+parseInt(_0x9221e7(0x200))/0x4*(-parseInt(_0x9221e7(0x1e6))/0x5)+parseInt(_0x9221e7(0x20c))/0x6+parseInt(_0x9221e7(0x1d2))/0x7+-parseInt(_0x9221e7(0x1d1))/0x8*(parseInt(_0x9221e7(0x1ee))/0x9)+-parseInt(_0x9221e7(0x226))/0xa*(parseInt(_0x9221e7(0x22b))/0xb);if(_0x530c86===_0x20d180)break;else _0x332144['push'](_0x332144['shift']());}catch(_0x3b1e83){_0x332144['push'](_0x332144['shift']());}}}(_0x8fab,0xa12aa));import{View as _0x1137a0,FocusCycler as _0x9d291}from'ckeditor5/src/ui.js';import{diff as _0x1ebc86,Collection as _0x1c0031,FocusTracker as _0x6edbd1,KeystrokeHandler as _0x3dbff8}from'ckeditor5/src/utils.js';import{getTranslation as _0x1eb84d}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0xdec088}from'./collapsedcommentsview.js';export class CommentsListView extends _0x1137a0{[_0xc1e5f5(0x1ff)];[_0xc1e5f5(0x202)];[_0xc1e5f5(0x1e5)];[_0xc1e5f5(0x1cd)];[_0xc1e5f5(0x1cb)];[_0xc1e5f5(0x1d8)];[_0xc1e5f5(0x211)];[_0xc1e5f5(0x1fe)];constructor(_0x51c108,_0x47d45f,_0x100bce){const _0x4d2c14=_0xc1e5f5;super(_0x51c108);const _0x675231=this[_0x4d2c14(0x20f)];this[_0x4d2c14(0x217)](_0x4d2c14(0x1e7),!0x1),this[_0x4d2c14(0x217)](_0x4d2c14(0x1fd),_0x47d45f[_0x4d2c14(0x1f0)][_0x4d2c14(0x1fd)]),this[_0x4d2c14(0x217)](_0x4d2c14(0x1e3),!0x1),this[_0x4d2c14(0x1d8)]=_0x47d45f,this[_0x4d2c14(0x211)]=_0x100bce,this[_0x4d2c14(0x1ff)]=this[_0x4d2c14(0x1fa)](),this[_0x4d2c14(0x1ea)]=this[_0x4d2c14(0x1fa)](),this[_0x4d2c14(0x202)]=null,this[_0x4d2c14(0x1e5)]=new _0x6edbd1(),this[_0x4d2c14(0x1cd)]=new _0x3dbff8(),this[_0x4d2c14(0x1cb)]=new _0x9d291({'focusables':this[_0x4d2c14(0x1ff)],'focusTracker':this[_0x4d2c14(0x1e5)],'keystrokeHandler':this[_0x4d2c14(0x1cd)],'keystrokeHandlerOptions':{'filter':_0x515835=>this[_0x4d2c14(0x1ff)][_0x4d2c14(0x20b)](_0x43a1d2=>_0x43a1d2[_0x4d2c14(0x219)])[_0x4d2c14(0x210)](_0x515835[_0x4d2c14(0x1f8)])},'actions':{'focusPrevious':_0x4d2c14(0x1de),'focusNext':_0x4d2c14(0x1ec)}}),this[_0x4d2c14(0x1fe)]=new _0xdec088(_0x51c108),this[_0x4d2c14(0x1fe)][_0x4d2c14(0x21a)](_0x4d2c14(0x220))['to'](this,_0x4d2c14(0x1fd),_0x143c5c=>_0x143c5c-this[_0x4d2c14(0x211)][_0x4d2c14(0x218)]);for(const _0x31eb1a of _0x47d45f[_0x4d2c14(0x1f0)])this[_0x4d2c14(0x221)](_0x31eb1a);this[_0x4d2c14(0x1da)](),this[_0x4d2c14(0x1f2)](_0x47d45f[_0x4d2c14(0x1f0)],_0x4d2c14(0x212),(_0x480853,_0x2815e0)=>{const _0x34743d=_0x4d2c14,_0x1a8d91=this[_0x34743d(0x203)](_0x2815e0);this[_0x34743d(0x1fd)]++,this[_0x34743d(0x221)](_0x2815e0,_0x1a8d91),this[_0x34743d(0x1d0)]();}),this[_0x4d2c14(0x1f2)](_0x47d45f[_0x4d2c14(0x1f0)],_0x4d2c14(0x208),(_0x4b54d,_0x29d5a8)=>{const _0x21409e=_0x4d2c14;this[_0x21409e(0x1fd)]--,this[_0x21409e(0x21e)](_0x29d5a8),this[_0x21409e(0x1d0)]();}),this[_0x4d2c14(0x1f2)](_0x47d45f,_0x4d2c14(0x21c),()=>this[_0x4d2c14(0x1d0)]()),this[_0x4d2c14(0x1f2)](_0x47d45f,_0x4d2c14(0x1e0),()=>this[_0x4d2c14(0x1da)]()),this['on'](_0x4d2c14(0x214),()=>this[_0x4d2c14(0x1d0)]()),this['on'](_0x4d2c14(0x209),()=>this[_0x4d2c14(0x1d0)]()),this[_0x4d2c14(0x1d6)]({'tag':'ul','attributes':{'class':[_0x4d2c14(0x20e),_0x675231['if'](_0x4d2c14(0x1fd),_0x4d2c14(0x1d9),_0x3d14c9=>!_0x3d14c9)],'aria-label':_0x1eb84d(_0x51c108,_0x4d2c14(0x21b))},'children':this[_0x4d2c14(0x1ea)]});}get[_0xc1e5f5(0x1cc)](){const _0x5447d0=_0xc1e5f5;return this[_0x5447d0(0x1d8)][_0x5447d0(0x222)]>this[_0x5447d0(0x211)][_0x5447d0(0x1f9)]&&!this[_0x5447d0(0x1e3)]&&!this[_0x5447d0(0x1e7)];}[_0xc1e5f5(0x229)](){const _0x13d185=_0xc1e5f5;super[_0x13d185(0x229)](),this[_0x13d185(0x1d0)](),this[_0x13d185(0x228)]();}[_0xc1e5f5(0x225)](_0x4fe57c){const _0x57a0c3=_0xc1e5f5;-0x1===_0x4fe57c?this[_0x57a0c3(0x1cb)][_0x57a0c3(0x1df)]():this[_0x57a0c3(0x1cb)][_0x57a0c3(0x20d)]();}[_0xc1e5f5(0x21f)](){const _0x2280ef=_0xc1e5f5;this[_0x2280ef(0x1fe)][_0x2280ef(0x21f)]();for(const _0x556af5 of this[_0x2280ef(0x1ff)])_0x556af5[_0x2280ef(0x21f)]();super[_0x2280ef(0x21f)]();}[_0xc1e5f5(0x1d0)](){const _0x20edfb=_0xc1e5f5;this[_0x20edfb(0x1cc)]?this[_0x20edfb(0x1fb)]():this[_0x20edfb(0x1ed)]();}[_0xc1e5f5(0x221)](_0x2f16e5,_0x2f7c4d){const _0x19d191=_0xc1e5f5,_0x2647ee=new this[(_0x19d191(0x211))][(_0x19d191(0x1f3))](this[_0x19d191(0x1ef)],_0x2f16e5,{'maxCommentCharsWhenCollapsed':this[_0x19d191(0x211)][_0x19d191(0x227)],'formatDateTime':this[_0x19d191(0x211)][_0x19d191(0x1fc)],'editorConfig':this[_0x19d191(0x211)][_0x19d191(0x1e1)]});_0x2647ee[_0x19d191(0x224)]=_0x2f16e5['id'],_0x2647ee[_0x19d191(0x1f4)](_0x19d191(0x205))['to'](this),_0x2647ee[_0x19d191(0x1f4)](_0x19d191(0x1d4))['to'](this),_0x2647ee[_0x19d191(0x1f4)](_0x19d191(0x1e4))['to'](this),_0x2647ee[_0x19d191(0x1f4)](_0x19d191(0x1e8))['to'](this),_0x2647ee[_0x19d191(0x1f4)](_0x19d191(0x1f7))['to'](this),this[_0x19d191(0x1f2)](_0x2647ee,_0x19d191(0x213),()=>this[_0x19d191(0x1e9)]()),this[_0x19d191(0x1ff)][_0x19d191(0x212)](_0x2647ee,_0x2f7c4d);}[_0xc1e5f5(0x203)](_0x5c612d){const _0x4d7c04=_0xc1e5f5,_0x394391=this[_0x4d7c04(0x1d8)][_0x4d7c04(0x1e2)](_0x5c612d);return this[_0x4d7c04(0x202)]?this[_0x4d7c04(0x202)][_0x4d7c04(0x1db)]>_0x5c612d[_0x4d7c04(0x1db)]?_0x394391-0x1:_0x394391:_0x394391-0x1;}[_0xc1e5f5(0x1da)](){const _0x57e216=_0xc1e5f5;if(this[_0x57e216(0x1d8)][_0x57e216(0x1f5)]&&this[_0x57e216(0x1d8)][_0x57e216(0x206)]){const _0x251717={'id':_0x57e216(0x207),'author':this[_0x57e216(0x1d8)][_0x57e216(0x1f5)],'authoredAt':this[_0x57e216(0x1d8)][_0x57e216(0x206)],'content':_0x1eb84d(this[_0x57e216(0x1ef)],_0x57e216(0x1ce)),'attributes':{}};this[_0x57e216(0x202)]=new this[(_0x57e216(0x211))][(_0x57e216(0x1f3))](this[_0x57e216(0x1ef)],_0x251717,{'maxCommentCharsWhenCollapsed':this[_0x57e216(0x211)][_0x57e216(0x227)],'formatDateTime':this[_0x57e216(0x211)][_0x57e216(0x1fc)],'editorConfig':this[_0x57e216(0x211)][_0x57e216(0x1e1)],'isSystemComment':!0x0}),this[_0x57e216(0x1ff)][_0x57e216(0x212)](this[_0x57e216(0x202)],this[_0x57e216(0x1d8)][_0x57e216(0x1e2)](_0x251717));}else this[_0x57e216(0x202)]&&(this[_0x57e216(0x1ff)][_0x57e216(0x208)](this[_0x57e216(0x202)]),this[_0x57e216(0x202)][_0x57e216(0x21f)](),this[_0x57e216(0x202)]=null);this[_0x57e216(0x1d0)]();}[_0xc1e5f5(0x21e)](_0x182c01){const _0x46ba1c=_0xc1e5f5,_0x2dc48b=this[_0x46ba1c(0x1ff)][_0x46ba1c(0x208)](_0x182c01['id']);this[_0x46ba1c(0x22c)](_0x2dc48b),_0x2dc48b[_0x46ba1c(0x21d)]&&this[_0x46ba1c(0x1e9)](),_0x2dc48b[_0x46ba1c(0x21f)]();}[_0xc1e5f5(0x1e9)](){const _0x1f7dc7=_0xc1e5f5;this[_0x1f7dc7(0x1e7)]=Array[_0x1f7dc7(0x1d5)](this[_0x1f7dc7(0x1ff)])[_0x1f7dc7(0x1dd)](_0x535fb6=>_0x535fb6[_0x1f7dc7(0x21d)]);}[_0xc1e5f5(0x1fb)](){const _0x2d24ad=_0xc1e5f5,_0x3dfb1b=function(_0x4cd37f){const _0x4df7ac=_0x5137,_0x44da01=new _0x1c0031();for(const _0x50f15e of _0x4cd37f)_0x44da01[_0x4df7ac(0x212)](_0x50f15e);return _0x44da01;}(this[_0x2d24ad(0x1ff)]),_0x3ce2d3=this[_0x2d24ad(0x1fe)][_0x2d24ad(0x220)];for(let _0x51646b=0x1;_0x51646b<=_0x3ce2d3;_0x51646b++)_0x3dfb1b[_0x2d24ad(0x208)](0x1);for(const _0x852b05 of _0x3dfb1b)_0x852b05[_0x2d24ad(0x223)]();_0x3ce2d3>0x0&&_0x3dfb1b[_0x2d24ad(0x212)](this[_0x2d24ad(0x1fe)],0x1),ns(_0x1ebc86(Array[_0x2d24ad(0x1d5)](this[_0x2d24ad(0x1ea)]),Array[_0x2d24ad(0x1d5)](_0x3dfb1b)),this[_0x2d24ad(0x1ea)],_0x3dfb1b);}[_0xc1e5f5(0x1ed)](){const _0x429e96=_0xc1e5f5;ns(_0x1ebc86(Array[_0x429e96(0x1d5)](this[_0x429e96(0x1ea)]),Array[_0x429e96(0x1d5)](this[_0x429e96(0x1ff)])),this[_0x429e96(0x1ea)],this[_0x429e96(0x1ff)]);for(const _0x3e36d4 of this[_0x429e96(0x1ea)])_0x3e36d4[_0x429e96(0x22a)]();}[_0xc1e5f5(0x228)](){const _0x49926b=_0xc1e5f5;this[_0x49926b(0x1ff)][_0x49926b(0x201)](_0x21a723=>{const _0x153b22=_0x49926b;this[_0x153b22(0x1e5)][_0x153b22(0x212)](_0x21a723[_0x153b22(0x219)]),this[_0x153b22(0x1cd)][_0x153b22(0x1f2)](_0x21a723[_0x153b22(0x219)]);}),this[_0x49926b(0x1ff)]['on'](_0x49926b(0x1d3),(_0x51f62b,_0x92fa03)=>{const _0x25fde1=_0x49926b;for(const _0x330b55 of _0x92fa03[_0x25fde1(0x215)])this[_0x25fde1(0x1e5)][_0x25fde1(0x208)](_0x330b55[_0x25fde1(0x219)]),this[_0x25fde1(0x1cd)][_0x25fde1(0x22c)](_0x330b55[_0x25fde1(0x219)]);for(const _0x216322 of Array[_0x25fde1(0x1d5)](_0x92fa03[_0x25fde1(0x1eb)])[_0x25fde1(0x1d7)]())this[_0x25fde1(0x1e5)][_0x25fde1(0x212)](_0x216322[_0x25fde1(0x219)]),this[_0x25fde1(0x1cd)][_0x25fde1(0x1f2)](_0x216322[_0x25fde1(0x219)]);});}}function _0x8fab(){const _0x22174d=['change:isResolved','editorConfig','_findOptimalIndex','isActive','resolveCommentThread','focusTracker','320pIuTss','hasDirtyComment','editorReady','_updateHasDirtyComment','visibleViews','added','arrowdown','_rearrangeExpand','9UCwDTg','locale','comments','327oFfvml','listenTo','CommentView','delegate','resolvedBy','delete','editorDestroyed','target','maxThreadTotalWeight','createCollection','_rearrangeCollapse','formatDateTime','length','_collapsedCommentsView','commentViews','2696qukxlP','forEach','resolvedCommentView','_calculatePosition','insert','removeComment','resolvedAt','resolved','remove','change:hasDirtyComment','13682tPmffJ','map','5862756MjvaWu','focusFirst','ck-thread__comments','bindTemplate','includes','_config','add','change:isEditMode','change:isActive','removed','1021913bqXFIt','set','maxCommentsWhenCollapsed','element','bind','Thread\x20comments','commentUpdated','isEditMode','_handleRemoveCommentModel','destroy','count','_handleNewCommentModel','weight','collapse','viewUid','focus','983330VRbvgE','maxCommentCharsWhenCollapsed','_setupKeyboardNavigation','render','expand','99IuRkjg','stopListening','focusCycler','_shouldCollapse','keystrokes','Marked\x20as\x20resolved','get','refreshVisibleViews','999016pHaNNU','7085862DxkDtv','change','updateComment','from','setTemplate','reverse','_model','ck-hidden','_handleInfoComment','authoredAt','equal','some','arrowup','focusLast'];_0x8fab=function(){return _0x22174d;};return _0x8fab();}function ns(_0x59a803,_0x38e840,_0x4bced2){const _0xcbba28=_0xc1e5f5;let _0x3e9c40=0x0;for(const _0x1d80b3 of _0x59a803)switch(_0x1d80b3){case _0xcbba28(0x204):_0x38e840[_0xcbba28(0x212)](_0x4bced2[_0xcbba28(0x1cf)](_0x3e9c40),_0x3e9c40),_0x3e9c40++;break;case _0xcbba28(0x1f6):_0x38e840[_0xcbba28(0x208)](_0x3e9c40);break;case _0xcbba28(0x1dc):_0x3e9c40++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5bee22=_0x4e27;function _0x4e27(_0x1d6b76,_0x7e72be){const _0x1a74f=_0x1a74();return _0x4e27=function(_0x4e273a,_0x177366){_0x4e273a=_0x4e273a-0x8b;let _0x38bf89=_0x1a74f[_0x4e273a];return _0x38bf89;},_0x4e27(_0x1d6b76,_0x7e72be);}(function(_0x4beeb7,_0x475038){const _0x3a19c5=_0x4e27,_0xa682d8=_0x4beeb7();while(!![]){try{const _0x42a86b=parseInt(_0x3a19c5(0x90))/0x1*(parseInt(_0x3a19c5(0x96))/0x2)+-parseInt(_0x3a19c5(0x95))/0x3*(parseInt(_0x3a19c5(0x94))/0x4)+-parseInt(_0x3a19c5(0x8c))/0x5+parseInt(_0x3a19c5(0x9c))/0x6+parseInt(_0x3a19c5(0x98))/0x7+-parseInt(_0x3a19c5(0x8d))/0x8*(-parseInt(_0x3a19c5(0x93))/0x9)+-parseInt(_0x3a19c5(0x92))/0xa;if(_0x42a86b===_0x475038)break;else _0xa682d8['push'](_0xa682d8['shift']());}catch(_0x4aa6e3){_0xa682d8['push'](_0xa682d8['shift']());}}}(_0x1a74,0x7dd08));import{View as _0x2e42d3}from'ckeditor5/src/ui.js';function _0x1a74(){const _0x1e7526=['bindTemplate','2783790ckTIhT','THREAD_CONTEXT_LABEL','span','3553405ruAqwm','1824vyrQeJ','ck-context__value','focus','29473OEmZaB','set','2391370sMGPzY','21339xMfIsN','824bPcmsK','12066WwSWij','34jNyQmY','setTemplate','5516644oktBAg','contextValue','element'];_0x1a74=function(){return _0x1e7526;};return _0x1a74();}import{getTranslation as _0x2a82bb}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x2e42d3{constructor(_0x2fcd97){const _0x4357b=_0x4e27;super(_0x2fcd97);const _0x415932=this[_0x4357b(0x9b)];this[_0x4357b(0x91)](_0x4357b(0x99),''),this[_0x4357b(0x97)]({'tag':_0x4357b(0x8b),'attributes':{'class':['ck',_0x4357b(0x8e)],'aria-label':_0x415932['to'](_0x4357b(0x99),_0x3b7980=>_0x2a82bb(_0x2fcd97,_0x4357b(0x9d),_0x3b7980)),'tabindex':-0x1},'children':[{'text':_0x415932['to'](_0x4357b(0x99))}]});}[_0x5bee22(0x8f)](){const _0x211ab1=_0x5bee22;this[_0x211ab1(0x9a)][_0x211ab1(0x8f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4419f9=_0x3598;(function(_0x3776ed,_0x3437f0){const _0x250f2a=_0x3598,_0x1a94fe=_0x3776ed();while(!![]){try{const _0x41f940=-parseInt(_0x250f2a(0x16a))/0x1+-parseInt(_0x250f2a(0x15c))/0x2*(-parseInt(_0x250f2a(0x166))/0x3)+parseInt(_0x250f2a(0x177))/0x4+parseInt(_0x250f2a(0x171))/0x5+-parseInt(_0x250f2a(0x17f))/0x6*(parseInt(_0x250f2a(0x186))/0x7)+parseInt(_0x250f2a(0x165))/0x8+parseInt(_0x250f2a(0x179))/0x9;if(_0x41f940===_0x3437f0)break;else _0x1a94fe['push'](_0x1a94fe['shift']());}catch(_0x1833fe){_0x1a94fe['push'](_0x1a94fe['shift']());}}}(_0x5058,0x5e01b));import{View as _0x56dd85,ButtonView as _0x26ad3f,FocusCycler as _0x5d7eac}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2d8522,KeystrokeHandler as _0x15b334}from'ckeditor5/src/utils.js';function _0x5058(){const _0x11aeb1=['isEnabled','locale','_attachContextActions','listenTo','createCollection','30520ekGHBZ','keystrokes','lastIndexOf','setTemplate','_trimContextValue','remove','shift+tab','label','context','.ck-context','ck-context','Reopen','ck-context-wrapper','fire','icon','value','div','substring','isReadOnly','bind','scrollWidth','bindTemplate','tooltip','focusFirst','element','focusCycler','_setupKeyboardNavigation','...','length','233324KFcPIn','mouseleave','hasContext','_model','isResolved','mouseenter','overlay','_createReopenButton','offsetWidth','3970880KSUera','3aBkvTa','focus','_createContextView','.ck-context__value','714186vnqftr','focusTracker','focusables','isResolvable','render','ck-thread__header','isVisible','147780nFNOeS','reopenButtonView','classList','tab','execute','Comment\x20was\x20made\x20on\x20an\x20element','87424eMnOFR','ck-context--quotes','10152387AZZkgV','contextValue','ck-annotation__actions','contextView','reopenCommentThread','add','954GKeolH','querySelector'];_0x5058=function(){return _0x11aeb1;};return _0x5058();}import{IconUndo as _0x2a73b0}from'ckeditor5/src/icons.js';import{getTranslation as _0x1b9cd8}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x552a87}from'./commentthreadheadercontextview.js';function _0x3598(_0x17e50c,_0x5d84b5){const _0x50586c=_0x5058();return _0x3598=function(_0x35988a,_0x5696a5){_0x35988a=_0x35988a-0x14f;let _0x2657fa=_0x50586c[_0x35988a];return _0x2657fa;},_0x3598(_0x17e50c,_0x5d84b5);}export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x56dd85{[_0x4419f9(0x15f)];[_0x4419f9(0x172)];[_0x4419f9(0x17c)];[_0x4419f9(0x16c)];[_0x4419f9(0x16b)];[_0x4419f9(0x187)];[_0x4419f9(0x158)];constructor(_0x45533a,_0x2006ea){const _0x5164af=_0x4419f9;super(_0x45533a);const _0x560562=this[_0x5164af(0x154)];this[_0x5164af(0x15f)]=_0x2006ea,this[_0x5164af(0x172)]=this[_0x5164af(0x163)](),this[_0x5164af(0x17c)]=this[_0x5164af(0x168)](),this[_0x5164af(0x16c)]=this[_0x5164af(0x185)]([this[_0x5164af(0x17c)],this[_0x5164af(0x172)]]),this[_0x5164af(0x16b)]=new _0x2d8522(),this[_0x5164af(0x187)]=new _0x15b334(),this[_0x5164af(0x158)]=new _0x5d7eac({'focusables':this[_0x5164af(0x16c)],'focusTracker':this[_0x5164af(0x16b)],'keystrokeHandler':this[_0x5164af(0x187)],'actions':{'focusPrevious':_0x5164af(0x18c),'focusNext':_0x5164af(0x174)}}),this[_0x5164af(0x152)](_0x5164af(0x15e))['to'](this[_0x5164af(0x15f)],_0x5164af(0x18e),_0x246097=>!!_0x246097),this[_0x5164af(0x152)](_0x5164af(0x17a))['to'](this[_0x5164af(0x15f)],_0x5164af(0x18e),_0x3d85ab=>_0x3d85ab&&_0x3d85ab[_0x5164af(0x195)]?this[_0x5164af(0x18a)](_0x3d85ab[_0x5164af(0x195)]):_0x1b9cd8(this[_0x5164af(0x182)],_0x5164af(0x176))),this[_0x5164af(0x189)]({'tag':_0x5164af(0x14f),'attributes':{'class':[_0x5164af(0x16f)]},'children':[{'tag':_0x5164af(0x14f),'attributes':{'class':[_0x5164af(0x192)]},'children':[{'tag':_0x5164af(0x14f),'attributes':{'class':[_0x5164af(0x190),_0x560562['if'](_0x5164af(0x15e),_0x5164af(0x178))]},'children':[this[_0x5164af(0x17c)]]}]},{'tag':_0x5164af(0x14f),'attributes':{'class':[_0x5164af(0x17b)]},'children':[this[_0x5164af(0x172)]]}]});}[_0x4419f9(0x16e)](){const _0x4f8408=_0x4419f9;super[_0x4f8408(0x16e)](),this[_0x4f8408(0x183)](),this[_0x4f8408(0x159)]();}[_0x4419f9(0x167)](){const _0x528eb4=_0x4419f9;this[_0x528eb4(0x158)][_0x528eb4(0x156)]();}[_0x4419f9(0x163)](){const _0x2f6540=_0x4419f9,_0x2da42b=new _0x26ad3f(this[_0x2f6540(0x182)]);return _0x2da42b[_0x2f6540(0x18d)]=_0x1b9cd8(this[_0x2f6540(0x182)],_0x2f6540(0x191)),_0x2da42b[_0x2f6540(0x155)]=_0x1b9cd8(this[_0x2f6540(0x182)],_0x2f6540(0x191)),_0x2da42b[_0x2f6540(0x194)]=_0x2a73b0,_0x2da42b[_0x2f6540(0x152)](_0x2f6540(0x181))['to'](this[_0x2f6540(0x15f)],_0x2f6540(0x151),_0x123284=>!_0x123284),_0x2da42b[_0x2f6540(0x152)](_0x2f6540(0x170))['to'](this[_0x2f6540(0x15f)],_0x2f6540(0x16d),this[_0x2f6540(0x15f)],_0x2f6540(0x160),(_0x592524,_0x507e10)=>_0x592524&&_0x507e10),_0x2da42b['on'](_0x2f6540(0x175),()=>{const _0x2cf04d=_0x2f6540;this[_0x2cf04d(0x193)](_0x2cf04d(0x17d),this[_0x2cf04d(0x15f)]['id']);}),_0x2da42b;}[_0x4419f9(0x18a)](_0x3e4580){const _0x512cbb=_0x4419f9;if(_0x3e4580[_0x512cbb(0x15b)]<0x96)return _0x3e4580;const _0x2c9941=_0x3e4580[_0x512cbb(0x188)]('\x20',0x93);return _0x3e4580[_0x512cbb(0x150)](0x0,_0x2c9941>-0x1?_0x2c9941:0x93)+_0x512cbb(0x15a);}[_0x4419f9(0x183)](){const _0x52f095=_0x4419f9,_0x3cfda1=this[_0x52f095(0x157)][_0x52f095(0x180)](_0x52f095(0x18f)),_0x484880=_0x3cfda1[_0x52f095(0x180)](_0x52f095(0x169));this[_0x52f095(0x184)](_0x3cfda1,_0x52f095(0x161),()=>{const _0x40e248=_0x52f095;_0x484880[_0x40e248(0x164)]<_0x484880[_0x40e248(0x153)]&&_0x3cfda1[_0x40e248(0x173)][_0x40e248(0x17e)](_0x40e248(0x162));}),this[_0x52f095(0x184)](_0x3cfda1,_0x52f095(0x15d),()=>{const _0x56a8b8=_0x52f095;_0x3cfda1[_0x56a8b8(0x173)][_0x56a8b8(0x18b)](_0x56a8b8(0x162));});}[_0x4419f9(0x159)](){const _0x2ffd02=_0x4419f9;this[_0x2ffd02(0x187)][_0x2ffd02(0x184)](this[_0x2ffd02(0x157)]);for(const _0x1ef6f4 of this[_0x2ffd02(0x16c)])this[_0x2ffd02(0x16b)][_0x2ffd02(0x17e)](_0x1ef6f4[_0x2ffd02(0x157)]),this[_0x2ffd02(0x187)][_0x2ffd02(0x184)](_0x1ef6f4[_0x2ffd02(0x157)]);}[_0x4419f9(0x168)](){const _0x770986=_0x4419f9,_0x217d6f=new _0x552a87(this[_0x770986(0x182)]);return _0x217d6f[_0x770986(0x152)](_0x770986(0x17a))['to'](this),_0x217d6f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x6206(_0x2bdf0e,_0x3bdf18){const _0x15e503=_0x15e5();return _0x6206=function(_0x6206a4,_0x39d841){_0x6206a4=_0x6206a4-0xfb;let _0x58f2c9=_0x15e503[_0x6206a4];return _0x58f2c9;},_0x6206(_0x2bdf0e,_0x3bdf18);}const _0x960ef5=_0x6206;(function(_0x455cf1,_0x216c80){const _0x24447f=_0x6206,_0xa1f6f1=_0x455cf1();while(!![]){try{const _0x2f9613=-parseInt(_0x24447f(0x10e))/0x1*(-parseInt(_0x24447f(0xfb))/0x2)+-parseInt(_0x24447f(0x126))/0x3+-parseInt(_0x24447f(0x11a))/0x4+-parseInt(_0x24447f(0xff))/0x5*(parseInt(_0x24447f(0x120))/0x6)+parseInt(_0x24447f(0x118))/0x7+parseInt(_0x24447f(0x115))/0x8+parseInt(_0x24447f(0x112))/0x9;if(_0x2f9613===_0x216c80)break;else _0xa1f6f1['push'](_0xa1f6f1['shift']());}catch(_0x11aaf5){_0xa1f6f1['push'](_0xa1f6f1['shift']());}}}(_0x15e5,0x9b366));import{View as _0x17d129}from'ckeditor5/src/ui.js';import{CommentInputView as _0x1b10da}from'./commentinputview.js';function _0x15e5(){const _0x170bff=['ck-thread__input','delegate','1149134cuXaLn','element','2104976sZEztI','some','setTemplate','bind','contains','value','5928522VhnBDW','filter','editorReady','listenTo','focusCycler','render','2958882IVHBxD','set','focus','ck-comment__input-container','editing','isFocused','10hjiBWp','editorDestroyed','userView','extendTemplate','5nptmki','target','mousedown','showInput','ck-comment__input-container--active','div','_focusOnNonInteractiveMouseDown','showButtons','change:showInput','editor','focusTracker','view','bindTemplate','commentInputView','ck-thread__user','115129jsjywL','then','createEditor','getDomRoot','14083569xmJEXR','destroy','preventDefault','6653816WADeWX'];_0x15e5=function(){return _0x170bff;};return _0x15e5();}import{UserView as _0x381e68}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x17d129{constructor(_0x49beb6,_0x3cfc6d,_0x3d98ea){const _0x3bfe47=_0x6206;super(_0x49beb6),this[_0x3bfe47(0x10c)]=new _0x1b10da(_0x49beb6,_0x3d98ea),this[_0x3bfe47(0x124)]=this[_0x3bfe47(0x10c)][_0x3bfe47(0x124)],this[_0x3bfe47(0x10c)][_0x3bfe47(0x11d)](_0x3bfe47(0x106))['to'](this[_0x3bfe47(0x10c)][_0x3bfe47(0x109)],_0x3bfe47(0x12b),this[_0x3bfe47(0x10c)],_0x3bfe47(0x11f),(_0x343ea1,_0x4c4c58)=>_0x343ea1||!!_0x4c4c58),this[_0x3bfe47(0x127)](_0x3bfe47(0x102),!0x1),this['on'](_0x3bfe47(0x107),()=>{const _0x11feac=_0x3bfe47;this[_0x11feac(0x102)]&&!this[_0x11feac(0x10c)][_0x11feac(0x108)]&&this[_0x11feac(0x10c)][_0x11feac(0x110)]();}),this[_0x3bfe47(0x10c)][_0x3bfe47(0x117)](_0x3bfe47(0x122))['to'](this),this[_0x3bfe47(0x10c)][_0x3bfe47(0x117)](_0x3bfe47(0xfc))['to'](this),this[_0x3bfe47(0xfd)]=new _0x381e68(_0x49beb6,_0x3cfc6d),this[_0x3bfe47(0xfd)][_0x3bfe47(0xfe)]({'attributes':{'class':_0x3bfe47(0x10d),'aria-hidden':!0x0}}),this[_0x3bfe47(0x10c)][_0x3bfe47(0xfe)]({'attributes':{'class':_0x3bfe47(0x116)}}),this[_0x3bfe47(0x11c)]({'tag':_0x3bfe47(0x104),'attributes':{'class':[_0x3bfe47(0x129),this[_0x3bfe47(0x10b)]['if'](_0x3bfe47(0x102),_0x3bfe47(0x103))]},'children':[this[_0x3bfe47(0xfd)],this[_0x3bfe47(0x10c)]]});}[_0x960ef5(0x125)](){const _0x266b49=_0x960ef5;super[_0x266b49(0x125)](),this[_0x266b49(0x105)]();}[_0x960ef5(0x113)](){const _0x11c680=_0x960ef5;return this[_0x11c680(0x10c)][_0x11c680(0x113)]()[_0x11c680(0x10f)](()=>super[_0x11c680(0x113)]());}[_0x960ef5(0x128)](_0x9c97e){const _0xc79e6f=_0x960ef5;this[_0xc79e6f(0x10c)][_0xc79e6f(0x128)](_0x9c97e);}[_0x960ef5(0x105)](){const _0x42f379=_0x960ef5;this[_0x42f379(0x123)](this[_0x42f379(0x119)],_0x42f379(0x101),(_0x4ed01c,_0x5df748)=>{const _0x2d704c=_0x42f379,{submitButtonView:_0xfd0035,cancelButtonView:_0x50a791,editor:_0x2bbe8b}=this[_0x2d704c(0x10c)];[_0xfd0035[_0x2d704c(0x119)],_0x50a791[_0x2d704c(0x119)],_0x2bbe8b?_0x2bbe8b[_0x2d704c(0x12a)][_0x2d704c(0x10a)][_0x2d704c(0x111)]():null][_0x2d704c(0x121)](_0x3e3826=>_0x3e3826)[_0x2d704c(0x11b)](_0x4f7b0d=>_0x4f7b0d[_0x2d704c(0x11e)](_0x5df748[_0x2d704c(0x100)]))||(this[_0x2d704c(0x128)](),_0x5df748[_0x2d704c(0x114)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xb968d=_0x503d;(function(_0x3a010b,_0x47e8c9){const _0x10a318=_0x503d,_0x4810ea=_0x3a010b();while(!![]){try{const _0x2925c1=parseInt(_0x10a318(0x170))/0x1*(parseInt(_0x10a318(0x137))/0x2)+parseInt(_0x10a318(0x14e))/0x3*(parseInt(_0x10a318(0x124))/0x4)+parseInt(_0x10a318(0x16b))/0x5*(parseInt(_0x10a318(0x13d))/0x6)+-parseInt(_0x10a318(0x16d))/0x7+-parseInt(_0x10a318(0x174))/0x8*(parseInt(_0x10a318(0x147))/0x9)+-parseInt(_0x10a318(0x12f))/0xa+parseInt(_0x10a318(0x154))/0xb;if(_0x2925c1===_0x47e8c9)break;else _0x4810ea['push'](_0x4810ea['shift']());}catch(_0x573f96){_0x4810ea['push'](_0x4810ea['shift']());}}}(_0xd05b,0xe5b1e));import{ConfirmMixin as _0x480a08,LateFocusButtonView as _0x2f6f79}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x503d(_0x3df5f2,_0x22cc3d){const _0xd05b8d=_0xd05b();return _0x503d=function(_0x503da7,_0x2fec12){_0x503da7=_0x503da7-0x11e;let _0x2e03d7=_0xd05b8d[_0x503da7];return _0x2e03d7;},_0x503d(_0x3df5f2,_0x22cc3d);}import{IconCheck as _0xef4fd2}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x3ecae3}from'./basecommentthreadview.js';import{getTranslation as _0xd50185}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x480a08(_0x3ecae3){[_0xb968d(0x13a)];[_0xb968d(0x158)];[_0xb968d(0x175)];[_0xb968d(0x143)];constructor(_0x11dbe4,_0x228286,_0x17aeae,_0x5896a9){const _0xeeff4a=_0xb968d;super(_0x11dbe4,_0x228286,_0x17aeae,_0x5896a9),this[_0xeeff4a(0x13a)]=this[_0xeeff4a(0x16c)]([this[_0xeeff4a(0x122)],this[_0xeeff4a(0x159)],this[_0xeeff4a(0x151)]]),this[_0xeeff4a(0x173)](_0xeeff4a(0x133),null),this[_0xeeff4a(0x158)]=null,this[_0xeeff4a(0x143)]=null,this[_0xeeff4a(0x128)]=_0x11dbe4,this[_0xeeff4a(0x175)]=this[_0xeeff4a(0x16e)](),this[_0xeeff4a(0x164)](this[_0xeeff4a(0x148)]()),this['on'](_0xeeff4a(0x12b),(_0x88bc4c,_0x283e25,_0x524d36)=>{const _0x34285c=_0xeeff4a;_0x524d36||this[_0x34285c(0x14c)]();}),this[_0xeeff4a(0x152)](this[_0xeeff4a(0x12a)],_0xeeff4a(0x144),(_0x56046d,_0x49c494,_0x1b5fc3)=>{const _0x5e05ed=_0xeeff4a;_0x1b5fc3&&this[_0x5e05ed(0x14c)]();}),this[_0xeeff4a(0x139)]>0x0&&this[_0xeeff4a(0x15a)](),this[_0xeeff4a(0x152)](this[_0xeeff4a(0x122)][_0xeeff4a(0x12c)],_0xeeff4a(0x163),()=>{const _0x524dcf=_0xeeff4a;this[_0x524dcf(0x15a)]();});}[_0xb968d(0x148)](){const _0x11a8e7=_0xb968d,_0x240080=this[_0x11a8e7(0x130)];return{'tag':_0x11a8e7(0x13e),'attributes':{'class':['ck',_0x11a8e7(0x123),_0x11a8e7(0x142),_0x11a8e7(0x125),_0x240080['if'](_0x11a8e7(0x132),_0x11a8e7(0x150)),_0x240080['if'](_0x11a8e7(0x161),_0x11a8e7(0x135)),_0x240080['to'](_0x11a8e7(0x133),_0x3506ed=>_0x3506ed?_0x11a8e7(0x12e)+_0x3506ed:'')],'data-thread-id':this[_0x11a8e7(0x12a)]['id'],'tabindex':0x0,'role':_0x11a8e7(0x14f),'aria-label':_0x240080['to'](_0x11a8e7(0x176)),'aria-describedby':this[_0x11a8e7(0x151)]['id']},'children':[{'tag':_0x11a8e7(0x13e),'attributes':{'class':_0x11a8e7(0x14d)},'children':this[_0x11a8e7(0x13a)]}]};}[_0xb968d(0x153)](){const _0x58fadf=_0xb968d;super[_0x58fadf(0x153)](),this[_0x58fadf(0x158)]=this[_0x58fadf(0x162)][_0x58fadf(0x15c)](_0x58fadf(0x136)),this[_0x58fadf(0x12a)]['on'](_0x58fadf(0x156),()=>{const _0x4b3303=_0x58fadf;this[_0x4b3303(0x145)]();}),this[_0x58fadf(0x145)]();}[_0xb968d(0x14c)](){const _0xcf7cf5=_0xb968d;this[_0xcf7cf5(0x171)]();for(const _0x3dde0c of this[_0xcf7cf5(0x122)][_0xcf7cf5(0x12c)])_0x3dde0c[_0xcf7cf5(0x171)]();}[_0xb968d(0x15a)](){const _0xd983d6=_0xb968d,{locale:_0x26fe6c}=this,_0x100953=this[_0xd983d6(0x122)][_0xd983d6(0x12c)][_0xd983d6(0x131)](0x0);_0x100953===this[_0xd983d6(0x143)]||_0x100953[_0xd983d6(0x15d)]||(this[_0xd983d6(0x143)]=_0x100953,this[_0xd983d6(0x126)](_0xd983d6(0x133)),this[_0xd983d6(0x149)](_0xd983d6(0x133))['to'](_0x100953,_0xd983d6(0x133),_0x48537e=>_0xd983d6(0x127)===_0x48537e?_0xd983d6(0x127):null),_0x100953[_0xd983d6(0x16f)]=_0xd50185(_0x26fe6c,_0xd983d6(0x168)),_0x100953[_0xd983d6(0x12d)]['on'](_0xd983d6(0x167),_0x220988=>{const _0x3b0aae=_0xd983d6;_0x220988[_0x3b0aae(0x14a)](),this[_0x3b0aae(0x165)](_0xd50185(_0x26fe6c,_0x3b0aae(0x120)),this[_0x3b0aae(0x158)])[_0x3b0aae(0x11f)](()=>{const _0x19e8bc=_0x3b0aae;this[_0x19e8bc(0x15b)](_0x19e8bc(0x15f));});},{'priority':_0xd983d6(0x155)}),this['on'](_0xd983d6(0x138),()=>{const _0x16609b=_0xd983d6;_0x100953[_0x16609b(0x141)]();}),_0x100953[_0xd983d6(0x172)][_0xd983d6(0x163)](this[_0xd983d6(0x175)],0x0),_0x100953[_0xd983d6(0x166)][_0xd983d6(0x163)](this[_0xd983d6(0x175)],0x0));}[_0xb968d(0x16e)](){const _0x15553b=_0xb968d,_0xf99505=new _0x2f6f79(this[_0x15553b(0x128)]);return _0xf99505[_0x15553b(0x13c)]=_0xd50185(this[_0x15553b(0x128)],_0x15553b(0x134)),_0xf99505[_0x15553b(0x157)]=_0xd50185(this[_0x15553b(0x128)],_0x15553b(0x134)),_0xf99505[_0x15553b(0x169)]=_0xef4fd2,_0xf99505[_0x15553b(0x13f)]({'attributes':{'class':_0x15553b(0x129)}}),_0xf99505[_0x15553b(0x149)](_0x15553b(0x140))['to'](this[_0x15553b(0x12a)],_0x15553b(0x160),_0xe9f6ea=>!_0xe9f6ea),_0xf99505[_0x15553b(0x149)](_0x15553b(0x13b))['to'](this[_0x15553b(0x12a)],_0x15553b(0x15e),this[_0x15553b(0x12a)],_0x15553b(0x11e),(_0x206835,_0x4fc683)=>_0x206835&&!_0x4fc683),_0xf99505['on'](_0x15553b(0x167),()=>{const _0x4f58b4=_0x15553b;this[_0x4f58b4(0x15b)](_0x4f58b4(0x146),this[_0x4f58b4(0x12a)]['id']);}),_0xf99505;}[_0xb968d(0x145)](){const _0x36475c=_0xb968d;this[_0x36475c(0x12a)][_0x36475c(0x16a)]?this[_0x36475c(0x13a)][_0x36475c(0x121)](this[_0x36475c(0x14b)])||(this[_0x36475c(0x13a)][_0x36475c(0x163)](this[_0x36475c(0x14b)],0x0),this[_0x36475c(0x166)][_0x36475c(0x163)](this[_0x36475c(0x14b)],0x0)):this[_0x36475c(0x13a)][_0x36475c(0x121)](this[_0x36475c(0x14b)])&&(this[_0x36475c(0x13a)][_0x36475c(0x127)](this[_0x36475c(0x14b)]),this[_0x36475c(0x166)][_0x36475c(0x127)](this[_0x36475c(0x14b)]));}}function _0xd05b(){const _0x54a701=['ck-thread--','10473350cUSJoJ','bindTemplate','get','isActive','actionIndicator','Resolve','ck-thread--unlinked','.ck-thread__container','2IKOFKO','removeConfirm','length','commentThreadChildren','isVisible','label','126TfxBpi','div','extendTemplate','isEnabled','focus','ck-reset_all-excluded','_boundFirstCommentView','change:isReadOnly','_updateArchivedThreadHeader','resolveCommentThread','1814949BztRtb','getTemplate','bind','stop','commentThreadHeaderView','_cancelAllConfirms','ck-thread__container','4099146EWaEal','listitem','ck-thread--active','ariaDescriptionView','listenTo','render','6087081gPuySO','high','change:archivedAt','tooltip','containerElement','commentThreadInputView','_bindFirstCommentView','fire','querySelector','isSystemComment','isResolvable','removeCommentThread','isReadOnly','isUnlinked','element','add','setTemplate','showConfirm','focusables','execute','Write\x20a\x20comment...','icon','archivedAt','267565OXkaak','createCollection','11421977AqQhaA','_createResolveButton','placeholder','778011slaGSY','cancelConfirm','actionBar','set','8GHKZfd','resolveButton','ariaLabel','isResolved','then','Delete\x20comment\x20thread?','has','commentsListView','ck-thread','4iSXyEL','ck-rounded-corners','unbind','remove','locale','ck-comment--resolve','_model','change:isActive','commentViews','removeButton'];_0xd05b=function(){return _0x54a701;};return _0xd05b();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x392ebd=_0x371d;(function(_0x3c1b39,_0xed7d7){const _0x1934f1=_0x371d,_0x44388a=_0x3c1b39();while(!![]){try{const _0x3f0835=parseInt(_0x1934f1(0x256))/0x1+-parseInt(_0x1934f1(0x25a))/0x2+parseInt(_0x1934f1(0x1f5))/0x3*(-parseInt(_0x1934f1(0x23a))/0x4)+-parseInt(_0x1934f1(0x20b))/0x5+-parseInt(_0x1934f1(0x1ff))/0x6*(-parseInt(_0x1934f1(0x247))/0x7)+-parseInt(_0x1934f1(0x23d))/0x8+parseInt(_0x1934f1(0x264))/0x9*(parseInt(_0x1934f1(0x21e))/0xa);if(_0x3f0835===_0xed7d7)break;else _0x44388a['push'](_0x44388a['shift']());}catch(_0x5ce67d){_0x44388a['push'](_0x44388a['shift']());}}}(_0x2817,0xb6a20));import{IconRemoveComment as _0x5984d9,IconPencil as _0x7d29aa,IconThreeVerticalDots as _0x537643}from'ckeditor5/src/icons.js';import{ButtonView as _0x1d268e,createDropdown as _0x3a25ba,ListView as _0x53ba7a,ListItemView as _0x2d2c63,focusChildOnDropdownOpen as _0x4bd3b0}from'ckeditor5/src/ui.js';import{UserView as _0x42e83a,ConfirmMixin as _0x4a92f1,LateFocusDropdownButtonView as _0xe1f553}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x1e40b7}from'./basecommentview.js';function _0x371d(_0x47d2cf,_0x635296){const _0x2817c3=_0x2817();return _0x371d=function(_0x371d79,_0x3cbfcf){_0x371d79=_0x371d79-0x1f2;let _0x1965a3=_0x2817c3[_0x371d79];return _0x1965a3;},_0x371d(_0x47d2cf,_0x635296);}function _0x2817(){const _0x3812df=['cancelConfirm','edit','find','then','unbind','ck-annotation__user','add','ck-comment--info','100sPEWLl','resolvedAt','ck-comment__actions','mouseenter','ck-comment--edit','push','getUserViewNotificationText','Remove','placeholder','removeComment','element','ck-hidden','isEnabled','blur','ck-comment--','change:isRemovable','remove','isReadOnly','createCollection','isExternal','toMany','focus','set','render','span','time','execute','focusables','67540AMabFO','Delete\x20comment?','ck-comment','10672840FSUMFa','from','ck-comment__info','Show\x20more\x20items','ck-annotation__info','ck-annotation__info-time','extendTemplate','buttonView','_model','isSystemComment','1204GscPur','removeButton','isEditMode','ck-comment__external','panelView','isEditable','_attachActions','bindTemplate','ck-annotation__actions','listitem','ariaDescriptionView','authoredAt','ck-comment__user','Reply...','switchToEditMode','1128938GFkXNP','formatDateTime','ck-comment__actions--hidden','listenTo','713986qPGkyq','ck-annotation__info-name','setTemplate','ck-comment__main','panelPosition','Edit','editButton','fire','_createRemoveButton','userView','1715886dVzYmP','_createDropdown','withText','getTemplate','group','ck-comment--remove','locale','visibleView','45HSRinO','children','showConfirm','ck-annotation__actions--hidden','bind','actionIndicator','ck-annotation__content-wrapper','length','div','ariaLabel','39966VBfdeY','ck-comment__info-name','dropdown','isRemovable','items','some','_createCommentInputView','ck-comment__info-time','ck-comment__wrapper','getExternalCommentNote','label','_createEditButton','7443665BQCMCl','mouseleave','ck-annotation','author','addMany','actionBar','ck-annotation__main','_config','name','icon','isVisible'];_0x2817=function(){return _0x3812df;};return _0x2817();}import{getTranslation as _0x51587d}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4a92f1(_0x1e40b7){[_0x392ebd(0x210)];[_0x392ebd(0x263)];constructor(_0x187a08,_0x5b5e89,_0x19d888){const _0x3fd210=_0x392ebd;super(_0x187a08,_0x5b5e89,_0x19d888),this[_0x3fd210(0x234)](_0x3fd210(0x1fa),null),this[_0x3fd210(0x234)](_0x3fd210(0x226),_0x51587d(_0x187a08,_0x3fd210(0x254))),this[_0x3fd210(0x1f9)](_0x3fd210(0x252))['to'](_0x5b5e89),this[_0x3fd210(0x1f9)](_0x3fd210(0x21f))['to'](_0x5b5e89),this[_0x3fd210(0x210)]=this[_0x3fd210(0x230)](),this[_0x3fd210(0x246)]||(this[_0x3fd210(0x260)]=this[_0x3fd210(0x20a)](),this[_0x3fd210(0x248)]=this[_0x3fd210(0x262)](),this[_0x3fd210(0x203)]=this[_0x3fd210(0x230)](),this[_0x3fd210(0x203)][_0x3fd210(0x20f)]([this[_0x3fd210(0x260)],this[_0x3fd210(0x248)]]),this[_0x3fd210(0x201)]=this[_0x3fd210(0x265)](),this[_0x3fd210(0x210)][_0x3fd210(0x21c)](this[_0x3fd210(0x201)]),this[_0x3fd210(0x239)][_0x3fd210(0x21c)](this[_0x3fd210(0x201)])),this[_0x3fd210(0x263)]=new _0x42e83a(_0x187a08,_0x5b5e89[_0x3fd210(0x20e)],this[_0x3fd210(0x224)]()),this[_0x3fd210(0x263)][_0x3fd210(0x243)]({'attributes':{'class':[_0x3fd210(0x253),_0x3fd210(0x21b)],'aria-hidden':!0x0}}),this[_0x3fd210(0x259)](_0x5b5e89,_0x3fd210(0x22d),()=>this[_0x3fd210(0x216)]()),this[_0x3fd210(0x25c)](this[_0x3fd210(0x267)]());}[_0x392ebd(0x267)](){const _0x103544=_0x392ebd,_0x415418=this[_0x103544(0x24e)],_0x1b82d9=[{'tag':_0x103544(0x1fd),'attributes':{'class':[_0x103544(0x23f),_0x103544(0x241)]},'children':[{'tag':_0x103544(0x236),'children':[{'text':this[_0x103544(0x263)][_0x103544(0x213)]}],'attributes':{'class':[_0x103544(0x200),_0x103544(0x25b)],'data-cke-tooltip-text':this[_0x103544(0x263)][_0x103544(0x213)]}},{'tag':_0x103544(0x237),'attributes':{'datetime':_0x415418['to'](_0x103544(0x252)),'class':[_0x103544(0x206),_0x103544(0x242)]},'children':[{'text':_0x415418['to'](_0x103544(0x252),_0x20d38c=>this[_0x103544(0x212)][_0x103544(0x257)](_0x20d38c))}]}]},{'tag':_0x103544(0x1fd),'attributes':{'class':[_0x103544(0x220),_0x103544(0x24f),_0x415418['if'](_0x103544(0x249),_0x103544(0x258)),_0x415418['if'](_0x103544(0x249),_0x103544(0x1f8))]},'children':this[_0x103544(0x210)]},{'tag':_0x103544(0x1fd),'attributes':{'class':[_0x103544(0x1fb)]},'children':this[_0x103544(0x1f4)]},this[_0x103544(0x251)]];return this[_0x103544(0x245)][_0x103544(0x231)]&&_0x1b82d9[_0x103544(0x223)]({'tag':_0x103544(0x1fd),'attributes':{'class':[_0x103544(0x24a)]},'children':[{'text':this[_0x103544(0x208)]()}]}),{'tag':'li','attributes':{'class':[_0x103544(0x207)],'tabindex':-0x1,'aria-label':_0x415418['to'](_0x103544(0x1fe)),'aria-describedby':this[_0x103544(0x251)]['id'],'role':_0x103544(0x250)},'children':[{'tag':_0x103544(0x1fd),'attributes':{'class':[_0x103544(0x23c),_0x103544(0x20d),_0x415418['if'](_0x103544(0x249),_0x103544(0x222)),_0x415418['if'](_0x103544(0x246),_0x103544(0x21d)),_0x415418['to'](_0x103544(0x1fa),_0x735a9f=>_0x735a9f?_0x103544(0x22c)+_0x735a9f:'')],'data-author-id':this[_0x103544(0x245)][_0x103544(0x20e)]['id'],'data-comment-id':this[_0x103544(0x245)]['id'],'role':_0x103544(0x268)},'children':[this[_0x103544(0x263)],{'tag':_0x103544(0x1fd),'attributes':{'class':[_0x103544(0x25d),_0x103544(0x211)]},'children':_0x1b82d9}]}]};}[_0x392ebd(0x20a)](){const _0x5d36d5=_0x392ebd,_0x329221=new _0x1d268e(this[_0x5d36d5(0x1f3)]);return _0x329221[_0x5d36d5(0x209)]=_0x51587d(this[_0x5d36d5(0x1f3)],_0x5d36d5(0x25f)),_0x329221[_0x5d36d5(0x214)]=_0x7d29aa,_0x329221[_0x5d36d5(0x266)]=!0x0,_0x329221[_0x5d36d5(0x243)]({'attributes':{'class':_0x5d36d5(0x222)}}),_0x329221[_0x5d36d5(0x1f9)](_0x5d36d5(0x22a))['to'](this[_0x5d36d5(0x245)],_0x5d36d5(0x22f),_0x55bc0f=>!_0x55bc0f),_0x329221[_0x5d36d5(0x1f9)](_0x5d36d5(0x215))['to'](this[_0x5d36d5(0x245)],_0x5d36d5(0x24c)),_0x329221['on'](_0x5d36d5(0x238),()=>this[_0x5d36d5(0x255)]()),_0x329221;}[_0x392ebd(0x262)](){const _0x534cc9=_0x392ebd,_0x4d04ad=new _0x1d268e(this[_0x534cc9(0x1f3)]);return _0x4d04ad[_0x534cc9(0x209)]=_0x51587d(this[_0x534cc9(0x1f3)],_0x534cc9(0x225)),_0x4d04ad[_0x534cc9(0x214)]=_0x5984d9,_0x4d04ad[_0x534cc9(0x266)]=!0x0,_0x4d04ad[_0x534cc9(0x243)]({'attributes':{'class':_0x534cc9(0x1f2)}}),_0x4d04ad[_0x534cc9(0x1f9)](_0x534cc9(0x22a))['to'](this[_0x534cc9(0x245)],_0x534cc9(0x22f),_0x20204e=>!_0x20204e),_0x4d04ad[_0x534cc9(0x1f9)](_0x534cc9(0x215))['to'](this[_0x534cc9(0x245)],_0x534cc9(0x202)),_0x4d04ad['on'](_0x534cc9(0x238),()=>{const _0x5e5455=_0x534cc9;this[_0x5e5455(0x1f7)](_0x51587d(this[_0x5e5455(0x1f3)],_0x5e5455(0x23b)),this[_0x5e5455(0x228)])[_0x5e5455(0x219)](()=>{const _0x423460=_0x5e5455;this[_0x423460(0x261)](_0x423460(0x227),this[_0x423460(0x245)]['id']);});}),_0x4d04ad;}[_0x392ebd(0x265)](){const _0x74bf8=_0x392ebd,_0x3eddfb=_0x3a25ba(this[_0x74bf8(0x1f3)],_0xe1f553),_0x2139d0=_0x3eddfb[_0x74bf8(0x24b)][_0x74bf8(0x1f6)],_0x3d82b6=new _0x53ba7a(this[_0x74bf8(0x1f3)]),_0x49e510=_0x3eddfb[_0x74bf8(0x24e)];_0x4bd3b0(_0x3eddfb,()=>this[_0x74bf8(0x203)][_0x74bf8(0x218)](_0x21a601=>_0x21a601[_0x74bf8(0x215)])),_0x3eddfb[_0x74bf8(0x243)]({'attributes':{'class':[_0x49e510['if'](_0x74bf8(0x215),_0x74bf8(0x229),_0x4f315a=>!_0x4f315a)]}});const _0x148574=(_0x421b63,_0x18ab7f=-0x1)=>{const _0x47670f=_0x74bf8,_0x99a4cd=new _0x2d2c63(this[_0x47670f(0x1f3)]);_0x99a4cd[_0x47670f(0x1f6)][_0x47670f(0x21c)](_0x421b63);const _0x1e7eaf=_0x18ab7f>-0x1?_0x18ab7f:_0x3d82b6[_0x47670f(0x203)][_0x47670f(0x1fc)];_0x3d82b6[_0x47670f(0x203)][_0x47670f(0x21c)](_0x99a4cd,_0x1e7eaf);const _0x19472=Array[_0x47670f(0x23e)](this[_0x47670f(0x203)]);_0x3eddfb[_0x47670f(0x21a)](_0x47670f(0x22a),_0x47670f(0x215)),_0x3eddfb[_0x47670f(0x1f9)](_0x47670f(0x22a))[_0x47670f(0x232)](_0x19472,_0x47670f(0x22a),(..._0x3a1c69)=>_0x3a1c69[_0x47670f(0x204)](_0x3e2340=>_0x3e2340)),_0x3eddfb[_0x47670f(0x1f9)](_0x47670f(0x215))[_0x47670f(0x232)](_0x19472,_0x47670f(0x215),(..._0x4b5a44)=>_0x4b5a44[_0x47670f(0x204)](_0xe28952=>_0xe28952));};_0x3eddfb[_0x74bf8(0x25e)]='sw',_0x3eddfb[_0x74bf8(0x244)][_0x74bf8(0x234)]({'label':_0x51587d(this[_0x74bf8(0x1f3)],_0x74bf8(0x240)),'icon':_0x537643});for(const _0x3dd62e of this[_0x74bf8(0x203)])_0x148574(_0x3dd62e);return _0x2139d0[_0x74bf8(0x21c)](_0x3d82b6),_0x3eddfb[_0x74bf8(0x259)](this[_0x74bf8(0x203)],_0x74bf8(0x21c),(_0x110c1d,_0x66f5d8,_0x10e8fb)=>{_0x148574(_0x66f5d8,_0x10e8fb);}),_0x3eddfb[_0x74bf8(0x259)](this[_0x74bf8(0x203)],_0x74bf8(0x22e),(_0x1ec394,_0xfe2811,_0x5d0d33)=>{const _0x1bb61e=_0x74bf8;_0x3d82b6[_0x1bb61e(0x203)][_0x1bb61e(0x22e)](_0x5d0d33);}),_0x3eddfb;}[_0x392ebd(0x24d)](_0xd19037,_0x41fede){const _0x34c810=_0x392ebd,_0x586bae=_0xd19037&&_0xd19037[_0x34c810(0x228)];_0x586bae&&(this[_0x34c810(0x259)](_0x586bae,_0x34c810(0x221),()=>this[_0x34c810(0x1fa)]=_0x41fede),this[_0x34c810(0x259)](_0x586bae,_0x34c810(0x233),()=>this[_0x34c810(0x1fa)]=_0x41fede),this[_0x34c810(0x259)](_0x586bae,_0x34c810(0x20c),()=>this[_0x34c810(0x1fa)]=null),this[_0x34c810(0x259)](_0x586bae,_0x34c810(0x22b),()=>this[_0x34c810(0x1fa)]=null));}[_0x392ebd(0x205)](){const _0x46e480=_0x392ebd,_0x2eca56=super[_0x46e480(0x205)]();return _0x2eca56[_0x46e480(0x1f9)](_0x46e480(0x226))['to'](this),_0x2eca56;}[_0x392ebd(0x235)](){const _0x24a8f6=_0x392ebd;super[_0x24a8f6(0x235)](),this[_0x24a8f6(0x24d)](this[_0x24a8f6(0x260)],_0x24a8f6(0x217)),this[_0x24a8f6(0x24d)](this[_0x24a8f6(0x248)],_0x24a8f6(0x22e));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1339(_0x179207,_0x5bd787){var _0x37c6a0=_0x37c6();return _0x1339=function(_0x13394a,_0x219f59){_0x13394a=_0x13394a-0x1a6;var _0x88258a=_0x37c6a0[_0x13394a];return _0x88258a;},_0x1339(_0x179207,_0x5bd787);}var _0x588a93=_0x1339;(function(_0x18a3a9,_0x5868c4){var _0x3aac62=_0x1339,_0x4ee387=_0x18a3a9();while(!![]){try{var _0x3d770a=parseInt(_0x3aac62(0x1ae))/0x1*(-parseInt(_0x3aac62(0x1af))/0x2)+-parseInt(_0x3aac62(0x1b6))/0x3+parseInt(_0x3aac62(0x1aa))/0x4*(parseInt(_0x3aac62(0x1a7))/0x5)+-parseInt(_0x3aac62(0x1a6))/0x6*(-parseInt(_0x3aac62(0x1b4))/0x7)+parseInt(_0x3aac62(0x1b0))/0x8*(parseInt(_0x3aac62(0x1ac))/0x9)+-parseInt(_0x3aac62(0x1ad))/0xa+parseInt(_0x3aac62(0x1a8))/0xb*(parseInt(_0x3aac62(0x1b3))/0xc);if(_0x3d770a===_0x5868c4)break;else _0x4ee387['push'](_0x4ee387['shift']());}catch(_0x47ef19){_0x4ee387['push'](_0x4ee387['shift']());}}}(_0x37c6,0x30ddf));import{Plugin as _0x71359a}from'ckeditor5/src/core.js';import{CommentsRepository as _0x44c025}from'./comments/commentsrepository.js';import{CommentsEditing as _0x1f3ccc}from'./comments/commentsediting.js';import{CommentsUI as _0x52a437}from'./comments/commentsui.js';import{CommentsOnly as _0x593384}from'./commentsonly.js';import{WideSidebar as _0x1830d3}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x426520}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x302d8a}from'./annotations/inlineannotations.js';function _0x37c6(){var _0x2610f4=['1165863SecBuf','3954wbEzjs','3390zGpqXw','1716Lwhlxe','Comments','2196Wucwti','isOfficialPlugin','23553PUuzpo','3077670yNqHuH','3GDDaFw','122384VdkEuS','448cKeiLz','isPremiumPlugin','requires','36540hlqutH','917HVETbJ','pluginName'];_0x37c6=function(){return _0x2610f4;};return _0x37c6();}import{CommentsArchiveUI as _0x1d1fdc}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x7606d2}from'./comments/commentsarchive.js';export class Comments extends _0x71359a{static get[_0x588a93(0x1b2)](){return[_0x44c025,_0x1f3ccc,_0x52a437,_0x7606d2,_0x1d1fdc,_0x593384,_0x1830d3,_0x426520,_0x302d8a];}static get[_0x588a93(0x1b5)](){var _0x3bead1=_0x588a93;return _0x3bead1(0x1a9);}static get[_0x588a93(0x1ab)](){return!0x0;}static get[_0x588a93(0x1b1)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11eb9c=_0xc2ed;(function(_0x1e5d0c,_0x4da148){const _0xadeca7=_0xc2ed,_0x5538fa=_0x1e5d0c();while(!![]){try{const _0x14b36d=-parseInt(_0xadeca7(0x188))/0x1+parseInt(_0xadeca7(0x196))/0x2+parseInt(_0xadeca7(0x173))/0x3*(parseInt(_0xadeca7(0x191))/0x4)+-parseInt(_0xadeca7(0x17f))/0x5+parseInt(_0xadeca7(0x16a))/0x6+parseInt(_0xadeca7(0x171))/0x7*(-parseInt(_0xadeca7(0x18a))/0x8)+parseInt(_0xadeca7(0x18f))/0x9*(parseInt(_0xadeca7(0x194))/0xa);if(_0x14b36d===_0x4da148)break;else _0x5538fa['push'](_0x5538fa['shift']());}catch(_0x5e495f){_0x5538fa['push'](_0x5538fa['shift']());}}}(_0x3875,0x692f5));import{Plugin as _0x4846f5}from'ckeditor5/src/core.js';function _0x3875(){const _0x55cfba=['set','pluginName','highest','_enableCommentsOnlyMode','document','afterInit','347011NAKjCy','listenTo','3MjXHlR','isOfficialPlugin','plugins','RevisionTracker','stopListening','delete','cut','config','isEnabled','change:isEnabled','get','affectsData','1728955eFXQld','editor','CommentsOnly','stop','commands','editSource','view','editing','has','852699iKtOOB','DragDrop','120LhwCQr','SourceEditing','requires','addCommentThread','commentsOnlyMode','3875139EvctcX','isPremiumPlugin','2007492VZOcTo','_disableCommentsOnlyMode','forceDisabled','10YWkjNw','clearForceDisabled','1299576mqKpbD','commentsOnly','clipboardInput','4744140bhxRPM'];_0x3875=function(){return _0x55cfba;};return _0x3875();}import{CommentsEditing as _0x3a37a2}from'./comments/commentsediting.js';function _0xc2ed(_0x655f3d,_0x892c9a){const _0x387508=_0x3875();return _0xc2ed=function(_0xc2ed4e,_0x518973){_0xc2ed4e=_0xc2ed4e-0x16a;let _0xa21e32=_0x387508[_0xc2ed4e];return _0xa21e32;},_0xc2ed(_0x655f3d,_0x892c9a);}export class CommentsOnly extends _0x4846f5{static get[_0x11eb9c(0x16c)](){const _0x4647af=_0x11eb9c;return _0x4647af(0x181);}static get[_0x11eb9c(0x174)](){return!0x0;}static get[_0x11eb9c(0x190)](){return!0x0;}static get[_0x11eb9c(0x18c)](){return[_0x3a37a2];}constructor(_0x43a07a){const _0xa06c6d=_0x11eb9c;super(_0x43a07a),this[_0xa06c6d(0x16b)](_0xa06c6d(0x17b),!0x1),this['on'](_0xa06c6d(0x17c),(_0x43a8b8,_0x44f690,_0x289111)=>{const _0x46d029=_0xa06c6d;_0x289111?this[_0x46d029(0x16e)]():this[_0x46d029(0x192)]();});}[_0x11eb9c(0x170)](){const _0x506c51=_0x11eb9c;!this[_0x506c51(0x17b)]&&this[_0x506c51(0x180)][_0x506c51(0x17a)][_0x506c51(0x17d)](_0x506c51(0x197))&&(this[_0x506c51(0x17b)]=!0x0);}[_0x11eb9c(0x16e)](){const _0xb6fa38=_0x11eb9c;for(const [_0xe2981,_0x35a2ba]of this[_0xb6fa38(0x180)][_0xb6fa38(0x183)])_0x35a2ba[_0xb6fa38(0x17e)]&&_0xb6fa38(0x18d)!==_0xe2981&&_0x35a2ba[_0xb6fa38(0x193)](_0xb6fa38(0x18e));(this[_0xb6fa38(0x180)][_0xb6fa38(0x175)][_0xb6fa38(0x187)](_0xb6fa38(0x189))&&this[_0xb6fa38(0x180)][_0xb6fa38(0x175)][_0xb6fa38(0x17d)](_0xb6fa38(0x189))[_0xb6fa38(0x193)](_0xb6fa38(0x18e)),this[_0xb6fa38(0x180)][_0xb6fa38(0x175)][_0xb6fa38(0x187)](_0xb6fa38(0x176)))&&this[_0xb6fa38(0x180)][_0xb6fa38(0x175)][_0xb6fa38(0x17d)](_0xb6fa38(0x176))[_0xb6fa38(0x193)](_0xb6fa38(0x18e));this[_0xb6fa38(0x180)][_0xb6fa38(0x175)][_0xb6fa38(0x187)](_0xb6fa38(0x18b))&&this[_0xb6fa38(0x180)][_0xb6fa38(0x175)][_0xb6fa38(0x17d)](_0xb6fa38(0x18b))[_0xb6fa38(0x193)](_0xb6fa38(0x18e));this[_0xb6fa38(0x180)][_0xb6fa38(0x183)][_0xb6fa38(0x17d)](_0xb6fa38(0x184))?.[_0xb6fa38(0x193)](_0xb6fa38(0x18e));const _0x15b090=this[_0xb6fa38(0x180)][_0xb6fa38(0x186)][_0xb6fa38(0x185)][_0xb6fa38(0x16f)];this[_0xb6fa38(0x172)](_0x15b090,_0xb6fa38(0x179),_0x519d11=>_0x519d11[_0xb6fa38(0x182)](),{'priority':_0xb6fa38(0x16d)}),this[_0xb6fa38(0x172)](_0x15b090,_0xb6fa38(0x198),_0x179ec6=>_0x179ec6[_0xb6fa38(0x182)](),{'priority':_0xb6fa38(0x16d)}),this[_0xb6fa38(0x172)](_0x15b090,_0xb6fa38(0x178),_0x504ba6=>_0x504ba6[_0xb6fa38(0x182)](),{'priority':_0xb6fa38(0x16d)});}[_0x11eb9c(0x192)](){const _0x7feb0b=_0x11eb9c;for(const [_0x29ec56,_0xfed02d]of this[_0x7feb0b(0x180)][_0x7feb0b(0x183)])_0xfed02d[_0x7feb0b(0x17e)]&&_0x7feb0b(0x18d)!==_0x29ec56&&_0xfed02d[_0x7feb0b(0x195)](_0x7feb0b(0x18e));this[_0x7feb0b(0x180)][_0x7feb0b(0x175)][_0x7feb0b(0x187)](_0x7feb0b(0x176))&&this[_0x7feb0b(0x180)][_0x7feb0b(0x175)][_0x7feb0b(0x17d)](_0x7feb0b(0x176))[_0x7feb0b(0x195)](_0x7feb0b(0x18e)),this[_0x7feb0b(0x180)][_0x7feb0b(0x175)][_0x7feb0b(0x187)](_0x7feb0b(0x18b))&&this[_0x7feb0b(0x180)][_0x7feb0b(0x175)][_0x7feb0b(0x17d)](_0x7feb0b(0x18b))[_0x7feb0b(0x195)](_0x7feb0b(0x18e)),this[_0x7feb0b(0x180)][_0x7feb0b(0x183)][_0x7feb0b(0x17d)](_0x7feb0b(0x184))?.[_0x7feb0b(0x195)](_0x7feb0b(0x18e)),this[_0x7feb0b(0x177)](this[_0x7feb0b(0x180)][_0x7feb0b(0x186)][_0x7feb0b(0x185)][_0x7feb0b(0x16f)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x40a7b6,_0x4be6eb){var _0x4f2c4a=_0x33a4,_0xb4be87=_0x40a7b6();while(!![]){try{var _0x48acf5=-parseInt(_0x4f2c4a(0x190))/0x1*(-parseInt(_0x4f2c4a(0x18e))/0x2)+-parseInt(_0x4f2c4a(0x193))/0x3+-parseInt(_0x4f2c4a(0x191))/0x4*(-parseInt(_0x4f2c4a(0x194))/0x5)+-parseInt(_0x4f2c4a(0x192))/0x6+-parseInt(_0x4f2c4a(0x18d))/0x7*(parseInt(_0x4f2c4a(0x18f))/0x8)+-parseInt(_0x4f2c4a(0x18c))/0x9+parseInt(_0x4f2c4a(0x195))/0xa;if(_0x48acf5===_0x4be6eb)break;else _0xb4be87['push'](_0xb4be87['shift']());}catch(_0x546c5f){_0xb4be87['push'](_0xb4be87['shift']());}}}(_0x493f,0x2bf9e));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';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';function _0x33a4(_0x1e2df9,_0x3bb7f7){var _0x493ffd=_0x493f();return _0x33a4=function(_0x33a4b0,_0x4105e1){_0x33a4b0=_0x33a4b0-0x18c;var _0x24500d=_0x493ffd[_0x33a4b0];return _0x24500d;},_0x33a4(_0x1e2df9,_0x3bb7f7);}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';function _0x493f(){var _0x1e152f=['155WaAVhg','1291760bFyAjX','582138gdUwmk','40782SCxrmC','56962blzMeH','272CTsGTM','2riUHpO','45376LdXmmo','520068SrbvXC','24696FgscXK'];_0x493f=function(){return _0x1e152f;};return _0x493f();}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(_0x1d2dde,_0x48d652,_0x25d535){const t=_0x1d2dde['t'];switch(_0x48d652){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'},_0x25d535);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'},_0x25d535);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'},_0x25d535);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'},_0x25d535);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x25d535);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'},_0x25d535);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'},_0x25d535);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'},_0x25d535);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
|
-
function
|
|
23
|
+
function _0x1583(_0x4ce3d4,_0x3d8548){const _0x3af255=_0x3af2();return _0x1583=function(_0x158341,_0x3d9def){_0x158341=_0x158341-0x1c6;let _0x4bf210=_0x3af255[_0x158341];return _0x4bf210;},_0x1583(_0x4ce3d4,_0x3d8548);}(function(_0x561bec,_0x370047){const _0x315208=_0x1583,_0x1b98fe=_0x561bec();while(!![]){try{const _0x69bd37=parseInt(_0x315208(0x1d5))/0x1+parseInt(_0x315208(0x1d7))/0x2*(-parseInt(_0x315208(0x1d1))/0x3)+parseInt(_0x315208(0x1cb))/0x4*(-parseInt(_0x315208(0x1d8))/0x5)+-parseInt(_0x315208(0x1c6))/0x6+-parseInt(_0x315208(0x1cf))/0x7+-parseInt(_0x315208(0x1cc))/0x8+-parseInt(_0x315208(0x1c8))/0x9*(-parseInt(_0x315208(0x1cd))/0xa);if(_0x69bd37===_0x370047)break;else _0x1b98fe['push'](_0x1b98fe['shift']());}catch(_0x2ba5da){_0x1b98fe['push'](_0x1b98fe['shift']());}}}(_0x3af2,0x70807));import{throttle as _0x2bcbf2}from'es-toolkit/compat';export function createMutationObserver(_0x48b08d){const _0x2835b7=_0x2bcbf2(_0x48b08d,0x1e),_0x55fcf7=new MutationObserver(_0xd033ef=>{const _0x223c83=_0x1583;for(const _0xe3868b of _0xd033ef)(_0x223c83(0x1c7)==_0xe3868b[_0x223c83(0x1d6)]&&_0x223c83(0x1d2)==_0xe3868b[_0x223c83(0x1c9)]||_0x223c83(0x1d4)==_0xe3868b[_0x223c83(0x1d6)]||_0x223c83(0x1d3)==_0xe3868b[_0x223c83(0x1d6)])&&_0x2835b7();});return{'attach'(_0x444f30){const _0xc7d69=_0x1583;_0x55fcf7[_0xc7d69(0x1ca)](_0x444f30,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x4560ce=_0x1583;_0x55fcf7[_0x4560ce(0x1d0)](),_0x2835b7[_0x4560ce(0x1ce)]();}};}function _0x3af2(){const _0x55f77e=['854628HjFsEQ','attributes','207BamfpY','attributeName','observe','1892MZOGsb','1261504PpLaBl','354070PaGgUW','cancel','62300ebiXse','disconnect','467391fBhaTE','class','characterData','childList','647065QrUcam','type','6snWFMj','2370FVLNux'];_0x3af2=function(){return _0x55f77e;};return _0x3af2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x432e(_0x1968ae,_0x168bb2){const _0x548a81=_0x548a();return _0x432e=function(_0x432edc,_0x4f7295){_0x432edc=_0x432edc-0x168;let _0x216163=_0x548a81[_0x432edc];return _0x216163;},_0x432e(_0x1968ae,_0x168bb2);}(function(_0x2b2746,_0x5e4a57){const _0x1e8e69=_0x432e,_0x104e7d=_0x2b2746();while(!![]){try{const _0x5ba11b=parseInt(_0x1e8e69(0x172))/0x1+parseInt(_0x1e8e69(0x16f))/0x2+parseInt(_0x1e8e69(0x16c))/0x3+-parseInt(_0x1e8e69(0x16a))/0x4*(parseInt(_0x1e8e69(0x16e))/0x5)+parseInt(_0x1e8e69(0x170))/0x6*(parseInt(_0x1e8e69(0x169))/0x7)+-parseInt(_0x1e8e69(0x171))/0x8+-parseInt(_0x1e8e69(0x168))/0x9*(-parseInt(_0x1e8e69(0x16b))/0xa);if(_0x5ba11b===_0x5e4a57)break;else _0x104e7d['push'](_0x104e7d['shift']());}catch(_0x561070){_0x104e7d['push'](_0x104e7d['shift']());}}}(_0x548a,0x1aa86));function _0x548a(){const _0xaf504b=['2254YNpWPE','28MQkTmN','190aLnXKf','253713geWjVj','split','151345Gbshbe','103758qiXaCt','3792AvFYif','1311784yJUzxx','124857eAenHK','9585VzONSK'];_0x548a=function(){return _0xaf504b;};return _0x548a();}export function splitMarkerName(_0xab3be9){const _0x11dff8=_0x432e,_0x2bc11b=_0xab3be9[_0x11dff8(0x16d)](':');return{'group':_0x2bc11b[0x0],'id':_0x2bc11b[0x1],'part':_0x2bc11b[0x2]};}
|