@ckeditor/ckeditor5-comments 47.7.1-alpha.0 → 47.7.2-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 _0xae492c=_0xa381;(function(_0x4130f9,_0x20c770){const _0x4a3d54=_0xa381,_0x3f8122=_0x4130f9();while(!![]){try{const _0x56dfb0=-parseInt(_0x4a3d54(0x109))/0x1*(-parseInt(_0x4a3d54(0x144))/0x2)+-parseInt(_0x4a3d54(0x142))/0x3+parseInt(_0x4a3d54(0x104))/0x4*(parseInt(_0x4a3d54(0x113))/0x5)+parseInt(_0x4a3d54(0x126))/0x6*(-parseInt(_0x4a3d54(0x127))/0x7)+parseInt(_0x4a3d54(0x108))/0x8+-parseInt(_0x4a3d54(0xed))/0x9*(-parseInt(_0x4a3d54(0xfd))/0xa)+-parseInt(_0x4a3d54(0x13a))/0xb;if(_0x56dfb0===_0x20c770)break;else _0x3f8122['push'](_0x3f8122['shift']());}catch(_0x449ae2){_0x3f8122['push'](_0x3f8122['shift']());}}}(_0x4f3b,0xe7c70));import{View as _0x2f4cc8,FocusCycler as _0x4ea160}from'ckeditor5/src/ui.js';import{diff as _0x8e9e0c,Collection as _0x1c6f78,FocusTracker as _0x32829a,KeystrokeHandler as _0x277555}from'ckeditor5/src/utils.js';function _0x4f3b(){const _0x643c19=['change','_handleRemoveCommentModel','_calculatePosition','hasDirtyComment','2470XWlyBL','authoredAt','weight','_config','isActive','_shouldCollapse','target','4961596OkajOl','commentUpdated','resolvedCommentView','element','3666328nqfboB','2IIlJbC','collapse','added','stopListening','keystrokes','removeComment','get','Thread\x20comments','includes','render','5DtiPeT','_model','delete','viewUid','arrowup','createCollection','change:hasDirtyComment','bind','comments','change:isEditMode','focus','_setupKeyboardNavigation','count','ck-hidden','map','change:isActive','refreshVisibleViews','equal','change:isResolved','2538402UEwcoU','28eEamKA','listenTo','_rearrangeCollapse','ck-thread__comments','focusFirst','removed','CommentView','maxCommentsWhenCollapsed','_collapsedCommentsView','_rearrangeExpand','expand','bindTemplate','_findOptimalIndex','some','editorConfig','Marked\x20as\x20resolved','focusTracker','editorReady','updateComment','1739265jeAqSr','visibleViews','length','setTemplate','resolvedAt','maxCommentCharsWhenCollapsed','destroy','maxThreadTotalWeight','4141872zfdYgP','_handleNewCommentModel','1479598ifYDHU','focusCycler','from','_updateHasDirtyComment','insert','formatDateTime','arrowdown','forEach','remove','_handleInfoComment','commentViews','36513dKcQsi','editorDestroyed','reverse','delegate','locale','resolved','focusLast','set','isEditMode','add','resolvedBy','resolveCommentThread'];_0x4f3b=function(){return _0x643c19;};return _0x4f3b();}import{getTranslation as _0x880cbd}from'../../../utils/common-translations.js';function _0xa381(_0x5de2e0,_0x2ec6d9){const _0x4f3b3d=_0x4f3b();return _0xa381=function(_0xa38185,_0x1168e8){_0xa38185=_0xa38185-0xe9;let _0x31dc89=_0x4f3b3d[_0xa38185];return _0x31dc89;},_0xa381(_0x5de2e0,_0x2ec6d9);}import{CollapsedCommentsView as _0x2a9a1a}from'./collapsedcommentsview.js';export class CommentsListView extends _0x2f4cc8{[_0xae492c(0xec)];[_0xae492c(0x106)];[_0xae492c(0x137)];[_0xae492c(0x10d)];[_0xae492c(0x145)];[_0xae492c(0x114)];[_0xae492c(0x100)];[_0xae492c(0x12f)];constructor(_0x1aac9a,_0x54fb65,_0x5321df){const _0x83218e=_0xae492c;super(_0x1aac9a);const _0x414fca=this[_0x83218e(0x132)];this[_0x83218e(0xf4)](_0x83218e(0xfc),!0x1),this[_0x83218e(0xf4)](_0x83218e(0x13c),_0x54fb65[_0x83218e(0x11b)][_0x83218e(0x13c)]),this[_0x83218e(0xf4)](_0x83218e(0x101),!0x1),this[_0x83218e(0x114)]=_0x54fb65,this[_0x83218e(0x100)]=_0x5321df,this[_0x83218e(0xec)]=this[_0x83218e(0x118)](),this[_0x83218e(0x13b)]=this[_0x83218e(0x118)](),this[_0x83218e(0x106)]=null,this[_0x83218e(0x137)]=new _0x32829a(),this[_0x83218e(0x10d)]=new _0x277555(),this[_0x83218e(0x145)]=new _0x4ea160({'focusables':this[_0x83218e(0xec)],'focusTracker':this[_0x83218e(0x137)],'keystrokeHandler':this[_0x83218e(0x10d)],'keystrokeHandlerOptions':{'filter':_0x23b992=>this[_0x83218e(0xec)][_0x83218e(0x121)](_0x21e7d4=>_0x21e7d4[_0x83218e(0x107)])[_0x83218e(0x111)](_0x23b992[_0x83218e(0x103)])},'actions':{'focusPrevious':_0x83218e(0x117),'focusNext':_0x83218e(0x14a)}}),this[_0x83218e(0x12f)]=new _0x2a9a1a(_0x1aac9a),this[_0x83218e(0x12f)][_0x83218e(0x11a)](_0x83218e(0x11f))['to'](this,_0x83218e(0x13c),_0x37ba13=>_0x37ba13-this[_0x83218e(0x100)][_0x83218e(0x12e)]);for(const _0x2727fa of _0x54fb65[_0x83218e(0x11b)])this[_0x83218e(0x143)](_0x2727fa);this[_0x83218e(0xeb)](),this[_0x83218e(0x128)](_0x54fb65[_0x83218e(0x11b)],_0x83218e(0xf6),(_0x46e28e,_0x2982e3)=>{const _0x38537c=_0x83218e,_0x18e1c6=this[_0x38537c(0xfb)](_0x2982e3);this[_0x38537c(0x13c)]++,this[_0x38537c(0x143)](_0x2982e3,_0x18e1c6),this[_0x38537c(0x123)]();}),this[_0x83218e(0x128)](_0x54fb65[_0x83218e(0x11b)],_0x83218e(0xea),(_0x56ef2f,_0x4fd493)=>{const _0x3c578b=_0x83218e;this[_0x3c578b(0x13c)]--,this[_0x3c578b(0xfa)](_0x4fd493),this[_0x3c578b(0x123)]();}),this[_0x83218e(0x128)](_0x54fb65,_0x83218e(0x105),()=>this[_0x83218e(0x123)]()),this[_0x83218e(0x128)](_0x54fb65,_0x83218e(0x125),()=>this[_0x83218e(0xeb)]()),this['on'](_0x83218e(0x122),()=>this[_0x83218e(0x123)]()),this['on'](_0x83218e(0x119),()=>this[_0x83218e(0x123)]()),this[_0x83218e(0x13d)]({'tag':'ul','attributes':{'class':[_0x83218e(0x12a),_0x414fca['if'](_0x83218e(0x13c),_0x83218e(0x120),_0x13fa62=>!_0x13fa62)],'aria-label':_0x880cbd(_0x1aac9a,_0x83218e(0x110))},'children':this[_0x83218e(0x13b)]});}get[_0xae492c(0x102)](){const _0x20c069=_0xae492c;return this[_0x20c069(0x114)][_0x20c069(0xff)]>this[_0x20c069(0x100)][_0x20c069(0x141)]&&!this[_0x20c069(0x101)]&&!this[_0x20c069(0xfc)];}[_0xae492c(0x112)](){const _0xd47985=_0xae492c;super[_0xd47985(0x112)](),this[_0xd47985(0x123)](),this[_0xd47985(0x11e)]();}[_0xae492c(0x11d)](_0x261688){const _0x1b4db7=_0xae492c;-0x1===_0x261688?this[_0x1b4db7(0x145)][_0x1b4db7(0xf3)]():this[_0x1b4db7(0x145)][_0x1b4db7(0x12b)]();}[_0xae492c(0x140)](){const _0x501793=_0xae492c;this[_0x501793(0x12f)][_0x501793(0x140)]();for(const _0x7dc86b of this[_0x501793(0xec)])_0x7dc86b[_0x501793(0x140)]();super[_0x501793(0x140)]();}[_0xae492c(0x123)](){const _0x4b9a8b=_0xae492c;this[_0x4b9a8b(0x102)]?this[_0x4b9a8b(0x129)]():this[_0x4b9a8b(0x130)]();}[_0xae492c(0x143)](_0x17081d,_0x16c461){const _0x31869e=_0xae492c,_0xa85ce2=new this[(_0x31869e(0x100))][(_0x31869e(0x12d))](this[_0x31869e(0xf1)],_0x17081d,{'maxCommentCharsWhenCollapsed':this[_0x31869e(0x100)][_0x31869e(0x13f)],'formatDateTime':this[_0x31869e(0x100)][_0x31869e(0x149)],'editorConfig':this[_0x31869e(0x100)][_0x31869e(0x135)]});_0xa85ce2[_0x31869e(0x116)]=_0x17081d['id'],_0xa85ce2[_0x31869e(0xf0)](_0x31869e(0x10e))['to'](this),_0xa85ce2[_0x31869e(0xf0)](_0x31869e(0x139))['to'](this),_0xa85ce2[_0x31869e(0xf0)](_0x31869e(0xf8))['to'](this),_0xa85ce2[_0x31869e(0xf0)](_0x31869e(0x138))['to'](this),_0xa85ce2[_0x31869e(0xf0)](_0x31869e(0xee))['to'](this),this[_0x31869e(0x128)](_0xa85ce2,_0x31869e(0x11c),()=>this[_0x31869e(0x147)]()),this[_0x31869e(0xec)][_0x31869e(0xf6)](_0xa85ce2,_0x16c461);}[_0xae492c(0xfb)](_0xa52afc){const _0x267a53=_0xae492c,_0x4a3ec1=this[_0x267a53(0x114)][_0x267a53(0x133)](_0xa52afc);return this[_0x267a53(0x106)]?this[_0x267a53(0x106)][_0x267a53(0xfe)]>_0xa52afc[_0x267a53(0xfe)]?_0x4a3ec1-0x1:_0x4a3ec1:_0x4a3ec1-0x1;}[_0xae492c(0xeb)](){const _0x147df3=_0xae492c;if(this[_0x147df3(0x114)][_0x147df3(0xf7)]&&this[_0x147df3(0x114)][_0x147df3(0x13e)]){const _0x40f9d8={'id':_0x147df3(0xf2),'author':this[_0x147df3(0x114)][_0x147df3(0xf7)],'authoredAt':this[_0x147df3(0x114)][_0x147df3(0x13e)],'content':_0x880cbd(this[_0x147df3(0xf1)],_0x147df3(0x136)),'attributes':{}};this[_0x147df3(0x106)]=new this[(_0x147df3(0x100))][(_0x147df3(0x12d))](this[_0x147df3(0xf1)],_0x40f9d8,{'maxCommentCharsWhenCollapsed':this[_0x147df3(0x100)][_0x147df3(0x13f)],'formatDateTime':this[_0x147df3(0x100)][_0x147df3(0x149)],'editorConfig':this[_0x147df3(0x100)][_0x147df3(0x135)],'isSystemComment':!0x0}),this[_0x147df3(0xec)][_0x147df3(0xf6)](this[_0x147df3(0x106)],this[_0x147df3(0x114)][_0x147df3(0x133)](_0x40f9d8));}else this[_0x147df3(0x106)]&&(this[_0x147df3(0xec)][_0x147df3(0xea)](this[_0x147df3(0x106)]),this[_0x147df3(0x106)][_0x147df3(0x140)](),this[_0x147df3(0x106)]=null);this[_0x147df3(0x123)]();}[_0xae492c(0xfa)](_0x3f7619){const _0xaf3ce6=_0xae492c,_0x429d9f=this[_0xaf3ce6(0xec)][_0xaf3ce6(0xea)](_0x3f7619['id']);this[_0xaf3ce6(0x10c)](_0x429d9f),_0x429d9f[_0xaf3ce6(0xf5)]&&this[_0xaf3ce6(0x147)](),_0x429d9f[_0xaf3ce6(0x140)]();}[_0xae492c(0x147)](){const _0x52f079=_0xae492c;this[_0x52f079(0xfc)]=Array[_0x52f079(0x146)](this[_0x52f079(0xec)])[_0x52f079(0x134)](_0x588e06=>_0x588e06[_0x52f079(0xf5)]);}[_0xae492c(0x129)](){const _0x5466d9=_0xae492c,_0x47a4e1=function(_0x57796f){const _0x43e581=_0xa381,_0x42fbf5=new _0x1c6f78();for(const _0x483508 of _0x57796f)_0x42fbf5[_0x43e581(0xf6)](_0x483508);return _0x42fbf5;}(this[_0x5466d9(0xec)]),_0x30dbec=this[_0x5466d9(0x12f)][_0x5466d9(0x11f)];for(let _0x512f75=0x1;_0x512f75<=_0x30dbec;_0x512f75++)_0x47a4e1[_0x5466d9(0xea)](0x1);for(const _0xf77348 of _0x47a4e1)_0xf77348[_0x5466d9(0x10a)]();_0x30dbec>0x0&&_0x47a4e1[_0x5466d9(0xf6)](this[_0x5466d9(0x12f)],0x1),ns(_0x8e9e0c(Array[_0x5466d9(0x146)](this[_0x5466d9(0x13b)]),Array[_0x5466d9(0x146)](_0x47a4e1)),this[_0x5466d9(0x13b)],_0x47a4e1);}[_0xae492c(0x130)](){const _0x4a57e4=_0xae492c;ns(_0x8e9e0c(Array[_0x4a57e4(0x146)](this[_0x4a57e4(0x13b)]),Array[_0x4a57e4(0x146)](this[_0x4a57e4(0xec)])),this[_0x4a57e4(0x13b)],this[_0x4a57e4(0xec)]);for(const _0x3191b9 of this[_0x4a57e4(0x13b)])_0x3191b9[_0x4a57e4(0x131)]();}[_0xae492c(0x11e)](){const _0x2d8885=_0xae492c;this[_0x2d8885(0xec)][_0x2d8885(0xe9)](_0x3ee210=>{const _0xb3b05b=_0x2d8885;this[_0xb3b05b(0x137)][_0xb3b05b(0xf6)](_0x3ee210[_0xb3b05b(0x107)]),this[_0xb3b05b(0x10d)][_0xb3b05b(0x128)](_0x3ee210[_0xb3b05b(0x107)]);}),this[_0x2d8885(0xec)]['on'](_0x2d8885(0xf9),(_0x3e1e1e,_0x37be8b)=>{const _0x1f65b0=_0x2d8885;for(const _0x942f02 of _0x37be8b[_0x1f65b0(0x12c)])this[_0x1f65b0(0x137)][_0x1f65b0(0xea)](_0x942f02[_0x1f65b0(0x107)]),this[_0x1f65b0(0x10d)][_0x1f65b0(0x10c)](_0x942f02[_0x1f65b0(0x107)]);for(const _0x2d6460 of Array[_0x1f65b0(0x146)](_0x37be8b[_0x1f65b0(0x10b)])[_0x1f65b0(0xef)]())this[_0x1f65b0(0x137)][_0x1f65b0(0xf6)](_0x2d6460[_0x1f65b0(0x107)]),this[_0x1f65b0(0x10d)][_0x1f65b0(0x128)](_0x2d6460[_0x1f65b0(0x107)]);});}}function ns(_0x950361,_0x68d2ca,_0x12842d){const _0x34f9a0=_0xae492c;let _0x2a7192=0x0;for(const _0x392ef7 of _0x950361)switch(_0x392ef7){case _0x34f9a0(0x148):_0x68d2ca[_0x34f9a0(0xf6)](_0x12842d[_0x34f9a0(0x10f)](_0x2a7192),_0x2a7192),_0x2a7192++;break;case _0x34f9a0(0x115):_0x68d2ca[_0x34f9a0(0xea)](_0x2a7192);break;case _0x34f9a0(0x124):_0x2a7192++;}}
|
|
23
|
+
const _0x90d96f=_0x241f;(function(_0x185233,_0x5d7b3c){const _0x14d423=_0x241f,_0x3c85d1=_0x185233();while(!![]){try{const _0x539f49=-parseInt(_0x14d423(0xd6))/0x1*(-parseInt(_0x14d423(0x86))/0x2)+-parseInt(_0x14d423(0xab))/0x3*(parseInt(_0x14d423(0xcc))/0x4)+-parseInt(_0x14d423(0xad))/0x5+parseInt(_0x14d423(0xc5))/0x6+-parseInt(_0x14d423(0x8c))/0x7*(parseInt(_0x14d423(0xb3))/0x8)+parseInt(_0x14d423(0xbe))/0x9*(parseInt(_0x14d423(0xdb))/0xa)+parseInt(_0x14d423(0xa5))/0xb;if(_0x539f49===_0x5d7b3c)break;else _0x3c85d1['push'](_0x3c85d1['shift']());}catch(_0x4e0e5b){_0x3c85d1['push'](_0x3c85d1['shift']());}}}(_0x1c08,0x517e0));function _0x241f(_0x354396,_0x1f536c){const _0x1c08cb=_0x1c08();return _0x241f=function(_0x241fa8,_0x2f1665){_0x241fa8=_0x241fa8-0x7f;let _0x61efb4=_0x1c08cb[_0x241fa8];return _0x61efb4;},_0x241f(_0x354396,_0x1f536c);}import{View as _0x28d766,FocusCycler as _0x3342fa}from'ckeditor5/src/ui.js';import{diff as _0x16531f,Collection as _0xb16557,FocusTracker as _0x50ce6e,KeystrokeHandler as _0x2518e0}from'ckeditor5/src/utils.js';import{getTranslation as _0x46a4aa}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x2fe2f7}from'./collapsedcommentsview.js';export class CommentsListView extends _0x28d766{[_0x90d96f(0xb0)];[_0x90d96f(0x80)];[_0x90d96f(0xa6)];[_0x90d96f(0xc3)];[_0x90d96f(0xe0)];[_0x90d96f(0xcf)];[_0x90d96f(0xa2)];[_0x90d96f(0xd2)];constructor(_0x47e4ee,_0x37fe9c,_0x201d93){const _0x37cded=_0x90d96f;super(_0x47e4ee);const _0x32fedc=this[_0x37cded(0xd7)];this[_0x37cded(0xb8)](_0x37cded(0x8b),!0x1),this[_0x37cded(0xb8)](_0x37cded(0xa0),_0x37fe9c[_0x37cded(0x9f)][_0x37cded(0xa0)]),this[_0x37cded(0xb8)](_0x37cded(0xde),!0x1),this[_0x37cded(0xcf)]=_0x37fe9c,this[_0x37cded(0xa2)]=_0x201d93,this[_0x37cded(0xb0)]=this[_0x37cded(0xc1)](),this[_0x37cded(0x83)]=this[_0x37cded(0xc1)](),this[_0x37cded(0x80)]=null,this[_0x37cded(0xa6)]=new _0x50ce6e(),this[_0x37cded(0xc3)]=new _0x2518e0(),this[_0x37cded(0xe0)]=new _0x3342fa({'focusables':this[_0x37cded(0xb0)],'focusTracker':this[_0x37cded(0xa6)],'keystrokeHandler':this[_0x37cded(0xc3)],'keystrokeHandlerOptions':{'filter':_0x544853=>this[_0x37cded(0xb0)][_0x37cded(0xca)](_0x20652c=>_0x20652c[_0x37cded(0x99)])[_0x37cded(0xcb)](_0x544853[_0x37cded(0xce)])},'actions':{'focusPrevious':_0x37cded(0x88),'focusNext':_0x37cded(0xcd)}}),this[_0x37cded(0xd2)]=new _0x2fe2f7(_0x47e4ee),this[_0x37cded(0xd2)][_0x37cded(0xc0)](_0x37cded(0xba))['to'](this,_0x37cded(0xa0),_0x41cdb9=>_0x41cdb9-this[_0x37cded(0xa2)][_0x37cded(0x93)]);for(const _0x262561 of _0x37fe9c[_0x37cded(0x9f)])this[_0x37cded(0xd8)](_0x262561);this[_0x37cded(0xdd)](),this[_0x37cded(0xd1)](_0x37fe9c[_0x37cded(0x9f)],_0x37cded(0x81),(_0x48f979,_0x14a795)=>{const _0x2b12bc=_0x37cded,_0x48af06=this[_0x2b12bc(0xa3)](_0x14a795);this[_0x2b12bc(0xa0)]++,this[_0x2b12bc(0xd8)](_0x14a795,_0x48af06),this[_0x2b12bc(0x7f)]();}),this[_0x37cded(0xd1)](_0x37fe9c[_0x37cded(0x9f)],_0x37cded(0x91),(_0x37c01b,_0x2f3f92)=>{const _0x2ba37d=_0x37cded;this[_0x2ba37d(0xa0)]--,this[_0x2ba37d(0x85)](_0x2f3f92),this[_0x2ba37d(0x7f)]();}),this[_0x37cded(0xd1)](_0x37fe9c,_0x37cded(0x89),()=>this[_0x37cded(0x7f)]()),this[_0x37cded(0xd1)](_0x37fe9c,_0x37cded(0x96),()=>this[_0x37cded(0xdd)]()),this['on'](_0x37cded(0x9b),()=>this[_0x37cded(0x7f)]()),this['on'](_0x37cded(0xb4),()=>this[_0x37cded(0x7f)]()),this[_0x37cded(0xc4)]({'tag':'ul','attributes':{'class':[_0x37cded(0x8d),_0x32fedc['if'](_0x37cded(0xa0),_0x37cded(0xb2),_0x14f0ad=>!_0x14f0ad)],'aria-label':_0x46a4aa(_0x47e4ee,_0x37cded(0x8e))},'children':this[_0x37cded(0x83)]});}get[_0x90d96f(0xa1)](){const _0x27edb8=_0x90d96f;return this[_0x27edb8(0xcf)][_0x27edb8(0xd9)]>this[_0x27edb8(0xa2)][_0x27edb8(0xd3)]&&!this[_0x27edb8(0xde)]&&!this[_0x27edb8(0x8b)];}[_0x90d96f(0xa9)](){const _0x390440=_0x90d96f;super[_0x390440(0xa9)](),this[_0x390440(0x7f)](),this[_0x390440(0xb1)]();}[_0x90d96f(0xb5)](_0x117606){const _0x4561b0=_0x90d96f;-0x1===_0x117606?this[_0x4561b0(0xe0)][_0x4561b0(0xdc)]():this[_0x4561b0(0xe0)][_0x4561b0(0x90)]();}[_0x90d96f(0x95)](){const _0x276dcb=_0x90d96f;this[_0x276dcb(0xd2)][_0x276dcb(0x95)]();for(const _0x37e9a5 of this[_0x276dcb(0xb0)])_0x37e9a5[_0x276dcb(0x95)]();super[_0x276dcb(0x95)]();}[_0x90d96f(0x7f)](){const _0x117a2a=_0x90d96f;this[_0x117a2a(0xa1)]?this[_0x117a2a(0xaa)]():this[_0x117a2a(0xa7)]();}[_0x90d96f(0xd8)](_0x4c2e34,_0x54f060){const _0x589480=_0x90d96f,_0x3232b1=new this[(_0x589480(0xa2))][(_0x589480(0xbb))](this[_0x589480(0x84)],_0x4c2e34,{'maxCommentCharsWhenCollapsed':this[_0x589480(0xa2)][_0x589480(0xd0)],'formatDateTime':this[_0x589480(0xa2)][_0x589480(0x9d)],'editorConfig':this[_0x589480(0xa2)][_0x589480(0x94)]});_0x3232b1[_0x589480(0xd5)]=_0x4c2e34['id'],_0x3232b1[_0x589480(0xae)](_0x589480(0xa8))['to'](this),_0x3232b1[_0x589480(0xae)](_0x589480(0xb6))['to'](this),_0x3232b1[_0x589480(0xae)](_0x589480(0xc8))['to'](this),_0x3232b1[_0x589480(0xae)](_0x589480(0x98))['to'](this),_0x3232b1[_0x589480(0xae)](_0x589480(0xda))['to'](this),this[_0x589480(0xd1)](_0x3232b1,_0x589480(0xaf),()=>this[_0x589480(0xdf)]()),this[_0x589480(0xb0)][_0x589480(0x81)](_0x3232b1,_0x54f060);}[_0x90d96f(0xa3)](_0xe67dce){const _0x58ea37=_0x90d96f,_0x940d5c=this[_0x58ea37(0xcf)][_0x58ea37(0x9e)](_0xe67dce);return this[_0x58ea37(0x80)]?this[_0x58ea37(0x80)][_0x58ea37(0xc9)]>_0xe67dce[_0x58ea37(0xc9)]?_0x940d5c-0x1:_0x940d5c:_0x940d5c-0x1;}[_0x90d96f(0xdd)](){const _0x4f2a13=_0x90d96f;if(this[_0x4f2a13(0xcf)][_0x4f2a13(0xc6)]&&this[_0x4f2a13(0xcf)][_0x4f2a13(0x97)]){const _0xa75a64={'id':_0x4f2a13(0xc7),'author':this[_0x4f2a13(0xcf)][_0x4f2a13(0xc6)],'authoredAt':this[_0x4f2a13(0xcf)][_0x4f2a13(0x97)],'content':_0x46a4aa(this[_0x4f2a13(0x84)],_0x4f2a13(0x9c)),'attributes':{}};this[_0x4f2a13(0x80)]=new this[(_0x4f2a13(0xa2))][(_0x4f2a13(0xbb))](this[_0x4f2a13(0x84)],_0xa75a64,{'maxCommentCharsWhenCollapsed':this[_0x4f2a13(0xa2)][_0x4f2a13(0xd0)],'formatDateTime':this[_0x4f2a13(0xa2)][_0x4f2a13(0x9d)],'editorConfig':this[_0x4f2a13(0xa2)][_0x4f2a13(0x94)],'isSystemComment':!0x0}),this[_0x4f2a13(0xb0)][_0x4f2a13(0x81)](this[_0x4f2a13(0x80)],this[_0x4f2a13(0xcf)][_0x4f2a13(0x9e)](_0xa75a64));}else this[_0x4f2a13(0x80)]&&(this[_0x4f2a13(0xb0)][_0x4f2a13(0x91)](this[_0x4f2a13(0x80)]),this[_0x4f2a13(0x80)][_0x4f2a13(0x95)](),this[_0x4f2a13(0x80)]=null);this[_0x4f2a13(0x7f)]();}[_0x90d96f(0x85)](_0x57787c){const _0x451f3f=_0x90d96f,_0x5e3696=this[_0x451f3f(0xb0)][_0x451f3f(0x91)](_0x57787c['id']);this[_0x451f3f(0xa4)](_0x5e3696),_0x5e3696[_0x451f3f(0xac)]&&this[_0x451f3f(0xdf)](),_0x5e3696[_0x451f3f(0x95)]();}[_0x90d96f(0xdf)](){const _0x2aaa86=_0x90d96f;this[_0x2aaa86(0x8b)]=Array[_0x2aaa86(0x92)](this[_0x2aaa86(0xb0)])[_0x2aaa86(0x8f)](_0x29cb82=>_0x29cb82[_0x2aaa86(0xac)]);}[_0x90d96f(0xaa)](){const _0x45d6dc=_0x90d96f,_0x21e16e=function(_0x120113){const _0x4de1ee=_0x241f,_0x71b75f=new _0xb16557();for(const _0x289702 of _0x120113)_0x71b75f[_0x4de1ee(0x81)](_0x289702);return _0x71b75f;}(this[_0x45d6dc(0xb0)]),_0x545af8=this[_0x45d6dc(0xd2)][_0x45d6dc(0xba)];for(let _0x2ba021=0x1;_0x2ba021<=_0x545af8;_0x2ba021++)_0x21e16e[_0x45d6dc(0x91)](0x1);for(const _0x306726 of _0x21e16e)_0x306726[_0x45d6dc(0xb9)]();_0x545af8>0x0&&_0x21e16e[_0x45d6dc(0x81)](this[_0x45d6dc(0xd2)],0x1),ns(_0x16531f(Array[_0x45d6dc(0x92)](this[_0x45d6dc(0x83)]),Array[_0x45d6dc(0x92)](_0x21e16e)),this[_0x45d6dc(0x83)],_0x21e16e);}[_0x90d96f(0xa7)](){const _0x17250e=_0x90d96f;ns(_0x16531f(Array[_0x17250e(0x92)](this[_0x17250e(0x83)]),Array[_0x17250e(0x92)](this[_0x17250e(0xb0)])),this[_0x17250e(0x83)],this[_0x17250e(0xb0)]);for(const _0x85d969 of this[_0x17250e(0x83)])_0x85d969[_0x17250e(0x87)]();}[_0x90d96f(0xb1)](){const _0x1505fc=_0x90d96f;this[_0x1505fc(0xb0)][_0x1505fc(0x9a)](_0x4010e7=>{const _0x3dbf75=_0x1505fc;this[_0x3dbf75(0xa6)][_0x3dbf75(0x81)](_0x4010e7[_0x3dbf75(0x99)]),this[_0x3dbf75(0xc3)][_0x3dbf75(0xd1)](_0x4010e7[_0x3dbf75(0x99)]);}),this[_0x1505fc(0xb0)]['on'](_0x1505fc(0x82),(_0x431b0b,_0x423944)=>{const _0x2ace4d=_0x1505fc;for(const _0x2bb6ee of _0x423944[_0x2ace4d(0xbd)])this[_0x2ace4d(0xa6)][_0x2ace4d(0x91)](_0x2bb6ee[_0x2ace4d(0x99)]),this[_0x2ace4d(0xc3)][_0x2ace4d(0xa4)](_0x2bb6ee[_0x2ace4d(0x99)]);for(const _0x1b4067 of Array[_0x2ace4d(0x92)](_0x423944[_0x2ace4d(0x8a)])[_0x2ace4d(0xbf)]())this[_0x2ace4d(0xa6)][_0x2ace4d(0x81)](_0x1b4067[_0x2ace4d(0x99)]),this[_0x2ace4d(0xc3)][_0x2ace4d(0xd1)](_0x1b4067[_0x2ace4d(0x99)]);});}}function _0x1c08(){const _0x46dc7f=['setTemplate','206754luWjWZ','resolvedBy','resolved','resolveCommentThread','authoredAt','map','includes','6108pijAhB','arrowdown','target','_model','maxCommentCharsWhenCollapsed','listenTo','_collapsedCommentsView','maxThreadTotalWeight','insert','viewUid','2947YHOcQM','bindTemplate','_handleNewCommentModel','weight','editorDestroyed','14890aexBfH','focusLast','_handleInfoComment','isActive','_updateHasDirtyComment','focusCycler','refreshVisibleViews','resolvedCommentView','add','change','visibleViews','locale','_handleRemoveCommentModel','122IfGNcU','expand','arrowup','commentUpdated','added','hasDirtyComment','56NBbHTD','ck-thread__comments','Thread\x20comments','some','focusFirst','remove','from','maxCommentsWhenCollapsed','editorConfig','destroy','change:isResolved','resolvedAt','editorReady','element','forEach','change:isActive','Marked\x20as\x20resolved','formatDateTime','_findOptimalIndex','comments','length','_shouldCollapse','_config','_calculatePosition','stopListening','7676130SxJtlt','focusTracker','_rearrangeExpand','removeComment','render','_rearrangeCollapse','849YlXkoO','isEditMode','1509480ljvwWq','delegate','change:isEditMode','commentViews','_setupKeyboardNavigation','ck-hidden','54176bAeViD','change:hasDirtyComment','focus','updateComment','get','set','collapse','count','CommentView','delete','removed','1269vxIuUi','reverse','bind','createCollection','equal','keystrokes'];_0x1c08=function(){return _0x46dc7f;};return _0x1c08();}function ns(_0x534dd2,_0x1295ea,_0x52e2d9){const _0x3739be=_0x90d96f;let _0xe60494=0x0;for(const _0x331d6c of _0x534dd2)switch(_0x331d6c){case _0x3739be(0xd4):_0x1295ea[_0x3739be(0x81)](_0x52e2d9[_0x3739be(0xb7)](_0xe60494),_0xe60494),_0xe60494++;break;case _0x3739be(0xbc):_0x1295ea[_0x3739be(0x91)](_0xe60494);break;case _0x3739be(0xc2):_0xe60494++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x29a542=_0x1020;function _0x1020(_0x563d32,_0x235ba7){const _0x4db2b9=_0x4db2();return _0x1020=function(_0x102084,_0x1687bb){_0x102084=_0x102084-0x12e;let _0x11911a=_0x4db2b9[_0x102084];return _0x11911a;},_0x1020(_0x563d32,_0x235ba7);}function _0x4db2(){const _0x32af53=['1763560lBaFuX','THREAD_CONTEXT_LABEL','span','916lfwWHy','4mwikJF','contextValue','ck-context__value','setTemplate','3799494JfFRgN','set','element','bindTemplate','2440XqtBxW','focus','232057YXrKOD','3557157WlEpIy','70164QJsArO','2836608sgujOX'];_0x4db2=function(){return _0x32af53;};return _0x4db2();}(function(_0x57453f,_0x41286b){const _0x39de45=_0x1020,_0x37951e=_0x57453f();while(!![]){try{const _0x2f0313=-parseInt(_0x39de45(0x13b))/0x1*(parseInt(_0x39de45(0x132))/0x2)+parseInt(_0x39de45(0x13e))/0x3*(parseInt(_0x39de45(0x133))/0x4)+parseInt(_0x39de45(0x12f))/0x5+parseInt(_0x39de45(0x137))/0x6+-parseInt(_0x39de45(0x13d))/0x7+-parseInt(_0x39de45(0x12e))/0x8+-parseInt(_0x39de45(0x13f))/0x9;if(_0x2f0313===_0x41286b)break;else _0x37951e['push'](_0x37951e['shift']());}catch(_0x38b6e3){_0x37951e['push'](_0x37951e['shift']());}}}(_0x4db2,0xa0ccd));import{View as _0x303a8c}from'ckeditor5/src/ui.js';import{getTranslation as _0x3b4fd1}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x303a8c{constructor(_0x544b52){const _0x394f97=_0x1020;super(_0x544b52);const _0x412a01=this[_0x394f97(0x13a)];this[_0x394f97(0x138)](_0x394f97(0x134),''),this[_0x394f97(0x136)]({'tag':_0x394f97(0x131),'attributes':{'class':['ck',_0x394f97(0x135)],'aria-label':_0x412a01['to'](_0x394f97(0x134),_0x3c5d77=>_0x3b4fd1(_0x544b52,_0x394f97(0x130),_0x3c5d77)),'tabindex':-0x1},'children':[{'text':_0x412a01['to'](_0x394f97(0x134))}]});}[_0x29a542(0x13c)](){const _0x3ee4bc=_0x29a542;this[_0x3ee4bc(0x139)][_0x3ee4bc(0x13c)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3dacc9=_0x3372;(function(_0x36c348,_0x363ec0){const _0x1ccb39=_0x3372,_0x11f7ab=_0x36c348();while(!![]){try{const _0xfca543=parseInt(_0x1ccb39(0xed))/0x1+-parseInt(_0x1ccb39(0xdf))/0x2*(parseInt(_0x1ccb39(0xc5))/0x3)+parseInt(_0x1ccb39(0xcd))/0x4+parseInt(_0x1ccb39(0xe2))/0x5+-parseInt(_0x1ccb39(0xd6))/0x6+-parseInt(_0x1ccb39(0xb8))/0x7*(parseInt(_0x1ccb39(0xe5))/0x8)+-parseInt(_0x1ccb39(0xc6))/0x9*(-parseInt(_0x1ccb39(0xf4))/0xa);if(_0xfca543===_0x363ec0)break;else _0x11f7ab['push'](_0x11f7ab['shift']());}catch(_0x53922f){_0x11f7ab['push'](_0x11f7ab['shift']());}}}(_0x2ded,0x4569c));function _0x2ded(){const _0x2cc63a=['fire','scrollWidth','65912GJlLax','add','label','ck-thread__header','contextView','focusTracker','icon','Comment\x20was\x20made\x20on\x20an\x20element','bind','2281446JWADal','listenTo','remove','Reopen','reopenCommentThread','ck-context--quotes','element','div','mouseenter','14xaiJjw','_model','isEnabled','973835Qgfjue','execute','shift+tab','168ZxZBor','ck-context-wrapper','_trimContextValue','hasContext','reopenButtonView','isReadOnly','querySelector','locale','478102FzgSud','classList','tab','isResolvable','overlay','focusables','context','10ePFnVv','offsetWidth','bindTemplate','render','substring','focusFirst','keystrokes','_createContextView','_attachContextActions','length','_setupKeyboardNavigation','tooltip','107863eixWvm','contextValue','setTemplate','.ck-context__value','isResolved','ck-annotation__actions','value','_createReopenButton','focus','isVisible','createCollection','focusCycler','ck-context','150333zjBgNX','5846184AWWWdI','.ck-context','mouseleave','lastIndexOf','...'];_0x2ded=function(){return _0x2cc63a;};return _0x2ded();}import{View as _0x3570bb,ButtonView as _0x4125c4,FocusCycler as _0x148221}from'ckeditor5/src/ui.js';import{FocusTracker as _0x49a001,KeystrokeHandler as _0x5e518b}from'ckeditor5/src/utils.js';import{IconUndo as _0x36b2e8}from'ckeditor5/src/icons.js';import{getTranslation as _0xf6dc6d}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x432f87}from'./commentthreadheadercontextview.js';function _0x3372(_0x308b6f,_0x1fa6d6){const _0x2ded24=_0x2ded();return _0x3372=function(_0x33728f,_0x5218f8){_0x33728f=_0x33728f-0xb7;let _0x2e4755=_0x2ded24[_0x33728f];return _0x2e4755;},_0x3372(_0x308b6f,_0x1fa6d6);}export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x3570bb{[_0x3dacc9(0xe0)];[_0x3dacc9(0xe9)];[_0x3dacc9(0xd1)];[_0x3dacc9(0xf2)];[_0x3dacc9(0xd2)];[_0x3dacc9(0xfa)];[_0x3dacc9(0xc3)];constructor(_0x5554e9,_0x15290d){const _0x3fc976=_0x3dacc9;super(_0x5554e9);const _0x41345d=this[_0x3fc976(0xf6)];this[_0x3fc976(0xe0)]=_0x15290d,this[_0x3fc976(0xe9)]=this[_0x3fc976(0xbf)](),this[_0x3fc976(0xd1)]=this[_0x3fc976(0xfb)](),this[_0x3fc976(0xf2)]=this[_0x3fc976(0xc2)]([this[_0x3fc976(0xd1)],this[_0x3fc976(0xe9)]]),this[_0x3fc976(0xd2)]=new _0x49a001(),this[_0x3fc976(0xfa)]=new _0x5e518b(),this[_0x3fc976(0xc3)]=new _0x148221({'focusables':this[_0x3fc976(0xf2)],'focusTracker':this[_0x3fc976(0xd2)],'keystrokeHandler':this[_0x3fc976(0xfa)],'actions':{'focusPrevious':_0x3fc976(0xe4),'focusNext':_0x3fc976(0xef)}}),this[_0x3fc976(0xd5)](_0x3fc976(0xe8))['to'](this[_0x3fc976(0xe0)],_0x3fc976(0xf3),_0x4c0826=>!!_0x4c0826),this[_0x3fc976(0xd5)](_0x3fc976(0xb9))['to'](this[_0x3fc976(0xe0)],_0x3fc976(0xf3),_0x262294=>_0x262294&&_0x262294[_0x3fc976(0xbe)]?this[_0x3fc976(0xe7)](_0x262294[_0x3fc976(0xbe)]):_0xf6dc6d(this[_0x3fc976(0xec)],_0x3fc976(0xd4))),this[_0x3fc976(0xba)]({'tag':_0x3fc976(0xdd),'attributes':{'class':[_0x3fc976(0xd0)]},'children':[{'tag':_0x3fc976(0xdd),'attributes':{'class':[_0x3fc976(0xe6)]},'children':[{'tag':_0x3fc976(0xdd),'attributes':{'class':[_0x3fc976(0xc4),_0x41345d['if'](_0x3fc976(0xe8),_0x3fc976(0xdb))]},'children':[this[_0x3fc976(0xd1)]]}]},{'tag':_0x3fc976(0xdd),'attributes':{'class':[_0x3fc976(0xbd)]},'children':[this[_0x3fc976(0xe9)]]}]});}[_0x3dacc9(0xf7)](){const _0x478828=_0x3dacc9;super[_0x478828(0xf7)](),this[_0x478828(0xfc)](),this[_0x478828(0xfe)]();}[_0x3dacc9(0xc0)](){const _0x2f957a=_0x3dacc9;this[_0x2f957a(0xc3)][_0x2f957a(0xf9)]();}[_0x3dacc9(0xbf)](){const _0x48e29d=_0x3dacc9,_0x1df70d=new _0x4125c4(this[_0x48e29d(0xec)]);return _0x1df70d[_0x48e29d(0xcf)]=_0xf6dc6d(this[_0x48e29d(0xec)],_0x48e29d(0xd9)),_0x1df70d[_0x48e29d(0xb7)]=_0xf6dc6d(this[_0x48e29d(0xec)],_0x48e29d(0xd9)),_0x1df70d[_0x48e29d(0xd3)]=_0x36b2e8,_0x1df70d[_0x48e29d(0xd5)](_0x48e29d(0xe1))['to'](this[_0x48e29d(0xe0)],_0x48e29d(0xea),_0x478266=>!_0x478266),_0x1df70d[_0x48e29d(0xd5)](_0x48e29d(0xc1))['to'](this[_0x48e29d(0xe0)],_0x48e29d(0xf0),this[_0x48e29d(0xe0)],_0x48e29d(0xbc),(_0x5168a5,_0x82167b)=>_0x5168a5&&_0x82167b),_0x1df70d['on'](_0x48e29d(0xe3),()=>{const _0x22e3fb=_0x48e29d;this[_0x22e3fb(0xcb)](_0x22e3fb(0xda),this[_0x22e3fb(0xe0)]['id']);}),_0x1df70d;}[_0x3dacc9(0xe7)](_0x3f8b70){const _0x1b6739=_0x3dacc9;if(_0x3f8b70[_0x1b6739(0xfd)]<0x96)return _0x3f8b70;const _0x6d2699=_0x3f8b70[_0x1b6739(0xc9)]('\x20',0x93);return _0x3f8b70[_0x1b6739(0xf8)](0x0,_0x6d2699>-0x1?_0x6d2699:0x93)+_0x1b6739(0xca);}[_0x3dacc9(0xfc)](){const _0x5c63b5=_0x3dacc9,_0x3997cf=this[_0x5c63b5(0xdc)][_0x5c63b5(0xeb)](_0x5c63b5(0xc7)),_0x4c2891=_0x3997cf[_0x5c63b5(0xeb)](_0x5c63b5(0xbb));this[_0x5c63b5(0xd7)](_0x3997cf,_0x5c63b5(0xde),()=>{const _0x180a25=_0x5c63b5;_0x4c2891[_0x180a25(0xf5)]<_0x4c2891[_0x180a25(0xcc)]&&_0x3997cf[_0x180a25(0xee)][_0x180a25(0xce)](_0x180a25(0xf1));}),this[_0x5c63b5(0xd7)](_0x3997cf,_0x5c63b5(0xc8),()=>{const _0x89a4db=_0x5c63b5;_0x3997cf[_0x89a4db(0xee)][_0x89a4db(0xd8)](_0x89a4db(0xf1));});}[_0x3dacc9(0xfe)](){const _0x4af7e0=_0x3dacc9;this[_0x4af7e0(0xfa)][_0x4af7e0(0xd7)](this[_0x4af7e0(0xdc)]);for(const _0x58021f of this[_0x4af7e0(0xf2)])this[_0x4af7e0(0xd2)][_0x4af7e0(0xce)](_0x58021f[_0x4af7e0(0xdc)]),this[_0x4af7e0(0xfa)][_0x4af7e0(0xd7)](_0x58021f[_0x4af7e0(0xdc)]);}[_0x3dacc9(0xfb)](){const _0x530fb1=_0x3dacc9,_0xbb5518=new _0x432f87(this[_0x530fb1(0xec)]);return _0xbb5518[_0x530fb1(0xd5)](_0x530fb1(0xb9))['to'](this),_0xbb5518;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1a94b9=_0x538f;(function(_0x1c2116,_0x499757){const _0x422891=_0x538f,_0x3518f5=_0x1c2116();while(!![]){try{const _0x18cbe3=parseInt(_0x422891(0x1cf))/0x1+-parseInt(_0x422891(0x1d7))/0x2+-parseInt(_0x422891(0x1c4))/0x3*(parseInt(_0x422891(0x1c7))/0x4)+-parseInt(_0x422891(0x1cb))/0x5*(-parseInt(_0x422891(0x1d8))/0x6)+parseInt(_0x422891(0x1c2))/0x7+parseInt(_0x422891(0x1cc))/0x8+-parseInt(_0x422891(0x1d6))/0x9*(-parseInt(_0x422891(0x1d5))/0xa);if(_0x18cbe3===_0x499757)break;else _0x3518f5['push'](_0x3518f5['shift']());}catch(_0x41ac39){_0x3518f5['push'](_0x3518f5['shift']());}}}(_0x505b,0x2100c));function _0x538f(_0x95e209,_0x4c0243){const _0x505b12=_0x505b();return _0x538f=function(_0x538f5d,_0x343e52){_0x538f5d=_0x538f5d-0x1b3;let _0x9601d7=_0x505b12[_0x538f5d];return _0x9601d7;},_0x538f(_0x95e209,_0x4c0243);}import{View as _0x16451a}from'ckeditor5/src/ui.js';import{CommentInputView as _0x103c8d}from'./commentinputview.js';import{UserView as _0x2b15fa}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x16451a{constructor(_0x1d0bd0,_0x24dccb,_0x29e155){const _0x81b61=_0x538f;super(_0x1d0bd0),this[_0x81b61(0x1e3)]=new _0x103c8d(_0x1d0bd0,_0x29e155),this[_0x81b61(0x1da)]=this[_0x81b61(0x1e3)][_0x81b61(0x1da)],this[_0x81b61(0x1e3)][_0x81b61(0x1bc)](_0x81b61(0x1d0))['to'](this[_0x81b61(0x1e3)][_0x81b61(0x1be)],_0x81b61(0x1c1),this[_0x81b61(0x1e3)],_0x81b61(0x1e4),(_0x4540f9,_0x11aa0a)=>_0x4540f9||!!_0x11aa0a),this[_0x81b61(0x1bb)](_0x81b61(0x1b5),!0x1),this['on'](_0x81b61(0x1b4),()=>{const _0x367a9f=_0x81b61;this[_0x367a9f(0x1b5)]&&!this[_0x367a9f(0x1e3)][_0x367a9f(0x1dd)]&&this[_0x367a9f(0x1e3)][_0x367a9f(0x1b3)]();}),this[_0x81b61(0x1e3)][_0x81b61(0x1b8)](_0x81b61(0x1b6))['to'](this),this[_0x81b61(0x1e3)][_0x81b61(0x1b8)](_0x81b61(0x1e1))['to'](this),this[_0x81b61(0x1d1)]=new _0x2b15fa(_0x1d0bd0,_0x24dccb),this[_0x81b61(0x1d1)][_0x81b61(0x1ba)]({'attributes':{'class':_0x81b61(0x1d4),'aria-hidden':!0x0}}),this[_0x81b61(0x1e3)][_0x81b61(0x1ba)]({'attributes':{'class':_0x81b61(0x1c6)}}),this[_0x81b61(0x1e0)]({'tag':_0x81b61(0x1d9),'attributes':{'class':[_0x81b61(0x1b9),this[_0x81b61(0x1dc)]['if'](_0x81b61(0x1b5),_0x81b61(0x1b7))]},'children':[this[_0x81b61(0x1d1)],this[_0x81b61(0x1e3)]]});}[_0x1a94b9(0x1c5)](){const _0x7f1193=_0x1a94b9;super[_0x7f1193(0x1c5)](),this[_0x7f1193(0x1df)]();}[_0x1a94b9(0x1d2)](){const _0x54bd00=_0x1a94b9;return this[_0x54bd00(0x1e3)][_0x54bd00(0x1d2)]()[_0x54bd00(0x1e2)](()=>super[_0x54bd00(0x1d2)]());}[_0x1a94b9(0x1cd)](_0x5769b8){const _0x504213=_0x1a94b9;this[_0x504213(0x1e3)][_0x504213(0x1cd)](_0x5769b8);}[_0x1a94b9(0x1df)](){const _0x35f947=_0x1a94b9;this[_0x35f947(0x1de)](this[_0x35f947(0x1c3)],_0x35f947(0x1bf),(_0x5486b2,_0x31843d)=>{const _0x200b8b=_0x35f947,{submitButtonView:_0x368c28,cancelButtonView:_0x3768d8,editor:_0x1ee291}=this[_0x200b8b(0x1e3)];[_0x368c28[_0x200b8b(0x1c3)],_0x3768d8[_0x200b8b(0x1c3)],_0x1ee291?_0x1ee291[_0x200b8b(0x1c9)][_0x200b8b(0x1c0)][_0x200b8b(0x1db)]():null][_0x200b8b(0x1d3)](_0x4b6de4=>_0x4b6de4)[_0x200b8b(0x1c8)](_0x16b6c5=>_0x16b6c5[_0x200b8b(0x1ce)](_0x31843d[_0x200b8b(0x1bd)]))||(this[_0x200b8b(0x1cd)](),_0x31843d[_0x200b8b(0x1ca)]());});}}function _0x505b(){const _0x1592ea=['commentInputView','value','createEditor','change:showInput','showInput','editorReady','ck-comment__input-container--active','delegate','ck-comment__input-container','extendTemplate','set','bind','target','focusTracker','mousedown','view','isFocused','82929oESNDe','element','246MnqXUJ','render','ck-thread__input','1856LpyjWw','some','editing','preventDefault','174275nTyCxC','332672fdYPWY','focus','contains','25817ZNjDgd','showButtons','userView','destroy','filter','ck-thread__user','448660rwIMZQ','27iLekhi','429786BfnNts','30fDMCcQ','div','focusCycler','getDomRoot','bindTemplate','editor','listenTo','_focusOnNonInteractiveMouseDown','setTemplate','editorDestroyed','then'];_0x505b=function(){return _0x1592ea;};return _0x505b();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x501722=_0x2f2f;(function(_0x535af1,_0x55a66d){const _0x3fb0ef=_0x2f2f,_0x4d6fbe=_0x535af1();while(!![]){try{const _0x92c0b1=parseInt(_0x3fb0ef(0x1e2))/0x1+-parseInt(_0x3fb0ef(0x207))/0x2*(-parseInt(_0x3fb0ef(0x22a))/0x3)+parseInt(_0x3fb0ef(0x1d9))/0x4+-parseInt(_0x3fb0ef(0x203))/0x5*(-parseInt(_0x3fb0ef(0x206))/0x6)+-parseInt(_0x3fb0ef(0x1fa))/0x7+-parseInt(_0x3fb0ef(0x1e4))/0x8+-parseInt(_0x3fb0ef(0x21f))/0x9;if(_0x92c0b1===_0x55a66d)break;else _0x4d6fbe['push'](_0x4d6fbe['shift']());}catch(_0xec8a87){_0x4d6fbe['push'](_0x4d6fbe['shift']());}}}(_0x490f,0x9d20f));import{ConfirmMixin as _0x56ca35,LateFocusButtonView as _0x34e123}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x490f(){const _0x97541d=['get','1966023BZEUOf','commentThreadChildren','listenTo','ariaDescriptionView','containerElement','listitem','1832912rEwXUL','isResolved','actionBar','_updateArchivedThreadHeader','ck-thread--unlinked','isEnabled','unbind','remove','ck-rounded-corners','1235997Xyehuz','querySelector','1609048dRYGGh','add','bind','tooltip','removeConfirm','set','ck-thread--','cancelConfirm','placeholder','focusables','div','focus','createCollection','.ck-thread__container','ck-thread','render','commentsListView','has','isVisible','ck-reset_all-excluded','commentViews','commentThreadHeaderView','8378720FBFrFU','Resolve','Delete\x20comment\x20thread?','ck-thread__container','length','isReadOnly','ck-thread--active','removeButton','isSystemComment','5yAmzTc','ck-comment--resolve','commentThreadInputView','7673136YvRSWW','2oJzICT','actionIndicator','_createResolveButton','removeCommentThread','element','bindTemplate','extendTemplate','setTemplate','_bindFirstCommentView','Write\x20a\x20comment...','resolveButton','locale','showConfirm','isUnlinked','change:isReadOnly','change:archivedAt','isResolvable','_boundFirstCommentView','high','change:isActive','stop','isActive','icon','execute','14280588ngLZir','_model','getTemplate','resolveCommentThread','then','archivedAt','ariaLabel','_cancelAllConfirms','label','fire'];_0x490f=function(){return _0x97541d;};return _0x490f();}import{IconCheck as _0x424ed6}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x593530}from'./basecommentthreadview.js';import{getTranslation as _0x164d4d}from'../../../utils/common-translations.js';function _0x2f2f(_0x428be9,_0xe28ed){const _0x490fc4=_0x490f();return _0x2f2f=function(_0x2f2f44,_0x145400){_0x2f2f44=_0x2f2f44-0x1d8;let _0x1f0ab1=_0x490fc4[_0x2f2f44];return _0x1f0ab1;},_0x2f2f(_0x428be9,_0xe28ed);}export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x56ca35(_0x593530){[_0x501722(0x22b)];[_0x501722(0x22e)];[_0x501722(0x211)];[_0x501722(0x218)];constructor(_0x1c7e96,_0x2ba57c,_0x58c15,_0x489236){const _0x29060e=_0x501722;super(_0x1c7e96,_0x2ba57c,_0x58c15,_0x489236),this[_0x29060e(0x22b)]=this[_0x29060e(0x1f0)]([this[_0x29060e(0x1f4)],this[_0x29060e(0x205)],this[_0x29060e(0x22d)]]),this[_0x29060e(0x1e9)](_0x29060e(0x208),null),this[_0x29060e(0x22e)]=null,this[_0x29060e(0x218)]=null,this[_0x29060e(0x212)]=_0x1c7e96,this[_0x29060e(0x211)]=this[_0x29060e(0x209)](),this[_0x29060e(0x20e)](this[_0x29060e(0x221)]()),this['on'](_0x29060e(0x21a),(_0x27dd7c,_0x37ee2f,_0x217a3a)=>{const _0x40c97e=_0x29060e;_0x217a3a||this[_0x40c97e(0x226)]();}),this[_0x29060e(0x22c)](this[_0x29060e(0x220)],_0x29060e(0x215),(_0x24c45b,_0x401bb3,_0x42ca6d)=>{const _0x299316=_0x29060e;_0x42ca6d&&this[_0x299316(0x226)]();}),this[_0x29060e(0x1fe)]>0x0&&this[_0x29060e(0x20f)](),this[_0x29060e(0x22c)](this[_0x29060e(0x1f4)][_0x29060e(0x1f8)],_0x29060e(0x1e5),()=>{const _0x18a5f7=_0x29060e;this[_0x18a5f7(0x20f)]();});}[_0x501722(0x221)](){const _0xb8bebc=_0x501722,_0x13699d=this[_0xb8bebc(0x20c)];return{'tag':_0xb8bebc(0x1ee),'attributes':{'class':['ck',_0xb8bebc(0x1f2),_0xb8bebc(0x1f7),_0xb8bebc(0x1e1),_0x13699d['if'](_0xb8bebc(0x21c),_0xb8bebc(0x200)),_0x13699d['if'](_0xb8bebc(0x214),_0xb8bebc(0x1dd)),_0x13699d['to'](_0xb8bebc(0x208),_0x39ca91=>_0x39ca91?_0xb8bebc(0x1ea)+_0x39ca91:'')],'data-thread-id':this[_0xb8bebc(0x220)]['id'],'tabindex':0x0,'role':_0xb8bebc(0x1d8),'aria-label':_0x13699d['to'](_0xb8bebc(0x225)),'aria-describedby':this[_0xb8bebc(0x22d)]['id']},'children':[{'tag':_0xb8bebc(0x1ee),'attributes':{'class':_0xb8bebc(0x1fd)},'children':this[_0xb8bebc(0x22b)]}]};}[_0x501722(0x1f3)](){const _0x288717=_0x501722;super[_0x288717(0x1f3)](),this[_0x288717(0x22e)]=this[_0x288717(0x20b)][_0x288717(0x1e3)](_0x288717(0x1f1)),this[_0x288717(0x220)]['on'](_0x288717(0x216),()=>{const _0x17e860=_0x288717;this[_0x17e860(0x1dc)]();}),this[_0x288717(0x1dc)]();}[_0x501722(0x226)](){const _0x4761e9=_0x501722;this[_0x4761e9(0x1eb)]();for(const _0x15922d of this[_0x4761e9(0x1f4)][_0x4761e9(0x1f8)])_0x15922d[_0x4761e9(0x1eb)]();}[_0x501722(0x20f)](){const _0x28b778=_0x501722,{locale:_0x25845e}=this,_0x5473b7=this[_0x28b778(0x1f4)][_0x28b778(0x1f8)][_0x28b778(0x229)](0x0);_0x5473b7===this[_0x28b778(0x218)]||_0x5473b7[_0x28b778(0x202)]||(this[_0x28b778(0x218)]=_0x5473b7,this[_0x28b778(0x1df)](_0x28b778(0x208)),this[_0x28b778(0x1e6)](_0x28b778(0x208))['to'](_0x5473b7,_0x28b778(0x208),_0x1f9ced=>_0x28b778(0x1e0)===_0x1f9ced?_0x28b778(0x1e0):null),_0x5473b7[_0x28b778(0x1ec)]=_0x164d4d(_0x25845e,_0x28b778(0x210)),_0x5473b7[_0x28b778(0x201)]['on'](_0x28b778(0x21e),_0x5dbc29=>{const _0x219176=_0x28b778;_0x5dbc29[_0x219176(0x21b)](),this[_0x219176(0x213)](_0x164d4d(_0x25845e,_0x219176(0x1fc)),this[_0x219176(0x22e)])[_0x219176(0x223)](()=>{const _0x5e84fa=_0x219176;this[_0x5e84fa(0x228)](_0x5e84fa(0x20a));});},{'priority':_0x28b778(0x219)}),this['on'](_0x28b778(0x1e8),()=>{const _0x4b140b=_0x28b778;_0x5473b7[_0x4b140b(0x1ef)]();}),_0x5473b7[_0x28b778(0x1db)][_0x28b778(0x1e5)](this[_0x28b778(0x211)],0x0),_0x5473b7[_0x28b778(0x1ed)][_0x28b778(0x1e5)](this[_0x28b778(0x211)],0x0));}[_0x501722(0x209)](){const _0x569f70=_0x501722,_0x574ea5=new _0x34e123(this[_0x569f70(0x212)]);return _0x574ea5[_0x569f70(0x227)]=_0x164d4d(this[_0x569f70(0x212)],_0x569f70(0x1fb)),_0x574ea5[_0x569f70(0x1e7)]=_0x164d4d(this[_0x569f70(0x212)],_0x569f70(0x1fb)),_0x574ea5[_0x569f70(0x21d)]=_0x424ed6,_0x574ea5[_0x569f70(0x20d)]({'attributes':{'class':_0x569f70(0x204)}}),_0x574ea5[_0x569f70(0x1e6)](_0x569f70(0x1de))['to'](this[_0x569f70(0x220)],_0x569f70(0x1ff),_0x27c7c8=>!_0x27c7c8),_0x574ea5[_0x569f70(0x1e6)](_0x569f70(0x1f6))['to'](this[_0x569f70(0x220)],_0x569f70(0x217),this[_0x569f70(0x220)],_0x569f70(0x1da),(_0x46b574,_0x3a9387)=>_0x46b574&&!_0x3a9387),_0x574ea5['on'](_0x569f70(0x21e),()=>{const _0x27a56f=_0x569f70;this[_0x27a56f(0x228)](_0x27a56f(0x222),this[_0x27a56f(0x220)]['id']);}),_0x574ea5;}[_0x501722(0x1dc)](){const _0x139628=_0x501722;this[_0x139628(0x220)][_0x139628(0x224)]?this[_0x139628(0x22b)][_0x139628(0x1f5)](this[_0x139628(0x1f9)])||(this[_0x139628(0x22b)][_0x139628(0x1e5)](this[_0x139628(0x1f9)],0x0),this[_0x139628(0x1ed)][_0x139628(0x1e5)](this[_0x139628(0x1f9)],0x0)):this[_0x139628(0x22b)][_0x139628(0x1f5)](this[_0x139628(0x1f9)])&&(this[_0x139628(0x22b)][_0x139628(0x1e0)](this[_0x139628(0x1f9)]),this[_0x139628(0x1ed)][_0x139628(0x1e0)](this[_0x139628(0x1f9)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x24d0b3=_0x1a45;(function(_0xa36310,_0x54a093){const _0x11fd92=_0x1a45,_0x27bd7a=_0xa36310();while(!![]){try{const _0x12e210=parseInt(_0x11fd92(0x125))/0x1*(-parseInt(_0x11fd92(0x159))/0x2)+parseInt(_0x11fd92(0x15d))/0x3+parseInt(_0x11fd92(0x147))/0x4+-parseInt(_0x11fd92(0x110))/0x5+-parseInt(_0x11fd92(0x17c))/0x6*(-parseInt(_0x11fd92(0x16d))/0x7)+parseInt(_0x11fd92(0x16f))/0x8+parseInt(_0x11fd92(0x13a))/0x9*(-parseInt(_0x11fd92(0x122))/0xa);if(_0x12e210===_0x54a093)break;else _0x27bd7a['push'](_0x27bd7a['shift']());}catch(_0xe6cbd9){_0x27bd7a['push'](_0x27bd7a['shift']());}}}(_0x5d07,0xa8b16));function _0x1a45(_0x13afba,_0x5926cd){const _0x5d079d=_0x5d07();return _0x1a45=function(_0x1a452b,_0x1009e0){_0x1a452b=_0x1a452b-0x10a;let _0x42698a=_0x5d079d[_0x1a452b];return _0x42698a;},_0x1a45(_0x13afba,_0x5926cd);}import{IconRemoveComment as _0x239870,IconPencil as _0x11b2f2,IconThreeVerticalDots as _0x1f1dff}from'ckeditor5/src/icons.js';import{ButtonView as _0x35e8c1,createDropdown as _0x49e559,ListView as _0x5d2237,ListItemView as _0x575e7a,focusChildOnDropdownOpen as _0x380d68}from'ckeditor5/src/ui.js';import{UserView as _0x1171ce,ConfirmMixin as _0x87af36,LateFocusDropdownButtonView as _0x12b9f0}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5d07(){const _0x3db963=['removeButton','ck-comment__external','isEditMode','getUserViewNotificationText','blur','items','isReadOnly','from','formatDateTime','_createRemoveButton','focus','ck-comment__wrapper','3195500bwVMVg','_attachActions','name','bindTemplate','edit','element','buttonView','showConfirm','author','createCollection','getExternalCommentNote','execute','_model','ck-annotation__info-time','ck-comment','push','Edit','_createEditButton','28RjDuku','ck-comment--','then','ck-comment__actions','1091037CozoRY','bind','isSystemComment','ck-comment__main','ck-annotation__info','ck-comment__actions--hidden','find','isRemovable','cancelConfirm','placeholder','authoredAt','mouseenter','extendTemplate','resolvedAt','userView','change:isRemovable','1540svPfzT','isEnabled','3664984eocDQL','Remove','label','ck-annotation__user','locale','ck-comment--info','actionBar','some','ck-comment__user','ck-comment--remove','remove','mouseleave','ck-annotation__info-name','6030xOJIZZ','ck-comment__info-name','ck-comment--edit','getTemplate','ck-annotation__content-wrapper','toMany','ck-annotation__main','icon','children','focusables','Show\x20more\x20items','2599660ZkUHaq','panelView','listenTo','visibleView','actionIndicator','ck-annotation__actions','Delete\x20comment?','unbind','render','add','ck-annotation','addMany','setTemplate','removeComment','switchToEditMode','_createCommentInputView','editButton','ck-annotation__actions--hidden','23210UCvWdS','ck-comment__info-time','time','14724QKNbmI','listitem','length','Reply...','ariaLabel','_createDropdown','fire','div','isEditable','isVisible','span','group','_config','ck-comment__info','ck-hidden','ariaDescriptionView','panelPosition','dropdown','set','isExternal','withText','1647WnuukS'];_0x5d07=function(){return _0x3db963;};return _0x5d07();}import{BaseCommentView as _0xb98eaa}from'./basecommentview.js';import{getTranslation as _0x59cc7e}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x87af36(_0xb98eaa){[_0x24d0b3(0x175)];[_0x24d0b3(0x16b)];constructor(_0x29cd5a,_0x53e3a3,_0x3b8a45){const _0x20e521=_0x24d0b3;super(_0x29cd5a,_0x53e3a3,_0x3b8a45),this[_0x20e521(0x137)](_0x20e521(0x114),null),this[_0x20e521(0x137)](_0x20e521(0x166),_0x59cc7e(_0x29cd5a,_0x20e521(0x128))),this[_0x20e521(0x15e)](_0x20e521(0x167))['to'](_0x53e3a3),this[_0x20e521(0x15e)](_0x20e521(0x16a))['to'](_0x53e3a3),this[_0x20e521(0x175)]=this[_0x20e521(0x150)](),this[_0x20e521(0x15f)]||(this[_0x20e521(0x120)]=this[_0x20e521(0x158)](),this[_0x20e521(0x13b)]=this[_0x20e521(0x144)](),this[_0x20e521(0x140)]=this[_0x20e521(0x150)](),this[_0x20e521(0x140)][_0x20e521(0x11b)]([this[_0x20e521(0x120)],this[_0x20e521(0x13b)]]),this[_0x20e521(0x136)]=this[_0x20e521(0x12a)](),this[_0x20e521(0x175)][_0x20e521(0x119)](this[_0x20e521(0x136)]),this[_0x20e521(0x10e)][_0x20e521(0x119)](this[_0x20e521(0x136)])),this[_0x20e521(0x16b)]=new _0x1171ce(_0x29cd5a,_0x53e3a3[_0x20e521(0x14f)],this[_0x20e521(0x13e)]()),this[_0x20e521(0x16b)][_0x20e521(0x169)]({'attributes':{'class':[_0x20e521(0x177),_0x20e521(0x172)],'aria-hidden':!0x0}}),this[_0x20e521(0x112)](_0x53e3a3,_0x20e521(0x16c),()=>this[_0x20e521(0x165)]()),this[_0x20e521(0x11c)](this[_0x20e521(0x17f)]());}[_0x24d0b3(0x17f)](){const _0x506164=_0x24d0b3,_0x4a2bcc=this[_0x506164(0x14a)],_0x44e732=[{'tag':_0x506164(0x12c),'attributes':{'class':[_0x506164(0x132),_0x506164(0x161)]},'children':[{'tag':_0x506164(0x12f),'children':[{'text':this[_0x506164(0x16b)][_0x506164(0x149)]}],'attributes':{'class':[_0x506164(0x17d),_0x506164(0x17b)],'data-cke-tooltip-text':this[_0x506164(0x16b)][_0x506164(0x149)]}},{'tag':_0x506164(0x124),'attributes':{'datetime':_0x4a2bcc['to'](_0x506164(0x167)),'class':[_0x506164(0x123),_0x506164(0x154)]},'children':[{'text':_0x4a2bcc['to'](_0x506164(0x167),_0x5113dd=>this[_0x506164(0x131)][_0x506164(0x143)](_0x5113dd))}]}]},{'tag':_0x506164(0x12c),'attributes':{'class':[_0x506164(0x15c),_0x506164(0x115),_0x4a2bcc['if'](_0x506164(0x13d),_0x506164(0x162)),_0x4a2bcc['if'](_0x506164(0x13d),_0x506164(0x121))]},'children':this[_0x506164(0x175)]},{'tag':_0x506164(0x12c),'attributes':{'class':[_0x506164(0x180)]},'children':this[_0x506164(0x113)]},this[_0x506164(0x134)]];return this[_0x506164(0x153)][_0x506164(0x138)]&&_0x44e732[_0x506164(0x156)]({'tag':_0x506164(0x12c),'attributes':{'class':[_0x506164(0x13c)]},'children':[{'text':this[_0x506164(0x151)]()}]}),{'tag':'li','attributes':{'class':[_0x506164(0x146)],'tabindex':-0x1,'aria-label':_0x4a2bcc['to'](_0x506164(0x129)),'aria-describedby':this[_0x506164(0x134)]['id'],'role':_0x506164(0x126)},'children':[{'tag':_0x506164(0x12c),'attributes':{'class':[_0x506164(0x155),_0x506164(0x11a),_0x4a2bcc['if'](_0x506164(0x13d),_0x506164(0x17e)),_0x4a2bcc['if'](_0x506164(0x15f),_0x506164(0x174)),_0x4a2bcc['to'](_0x506164(0x114),_0x4ed9bb=>_0x4ed9bb?_0x506164(0x15a)+_0x4ed9bb:'')],'data-author-id':this[_0x506164(0x153)][_0x506164(0x14f)]['id'],'data-comment-id':this[_0x506164(0x153)]['id'],'role':_0x506164(0x130)},'children':[this[_0x506164(0x16b)],{'tag':_0x506164(0x12c),'attributes':{'class':[_0x506164(0x160),_0x506164(0x10b)]},'children':_0x44e732}]}]};}[_0x24d0b3(0x158)](){const _0x323146=_0x24d0b3,_0x172ef0=new _0x35e8c1(this[_0x323146(0x173)]);return _0x172ef0[_0x323146(0x171)]=_0x59cc7e(this[_0x323146(0x173)],_0x323146(0x157)),_0x172ef0[_0x323146(0x10c)]=_0x11b2f2,_0x172ef0[_0x323146(0x139)]=!0x0,_0x172ef0[_0x323146(0x169)]({'attributes':{'class':_0x323146(0x17e)}}),_0x172ef0[_0x323146(0x15e)](_0x323146(0x16e))['to'](this[_0x323146(0x153)],_0x323146(0x141),_0x350d30=>!_0x350d30),_0x172ef0[_0x323146(0x15e)](_0x323146(0x12e))['to'](this[_0x323146(0x153)],_0x323146(0x12d)),_0x172ef0['on'](_0x323146(0x152),()=>this[_0x323146(0x11e)]()),_0x172ef0;}[_0x24d0b3(0x144)](){const _0x2dcdfb=_0x24d0b3,_0x467c32=new _0x35e8c1(this[_0x2dcdfb(0x173)]);return _0x467c32[_0x2dcdfb(0x171)]=_0x59cc7e(this[_0x2dcdfb(0x173)],_0x2dcdfb(0x170)),_0x467c32[_0x2dcdfb(0x10c)]=_0x239870,_0x467c32[_0x2dcdfb(0x139)]=!0x0,_0x467c32[_0x2dcdfb(0x169)]({'attributes':{'class':_0x2dcdfb(0x178)}}),_0x467c32[_0x2dcdfb(0x15e)](_0x2dcdfb(0x16e))['to'](this[_0x2dcdfb(0x153)],_0x2dcdfb(0x141),_0x55d80e=>!_0x55d80e),_0x467c32[_0x2dcdfb(0x15e)](_0x2dcdfb(0x12e))['to'](this[_0x2dcdfb(0x153)],_0x2dcdfb(0x164)),_0x467c32['on'](_0x2dcdfb(0x152),()=>{const _0xa01fba=_0x2dcdfb;this[_0xa01fba(0x14e)](_0x59cc7e(this[_0xa01fba(0x173)],_0xa01fba(0x116)),this[_0xa01fba(0x14c)])[_0xa01fba(0x15b)](()=>{const _0x176aa5=_0xa01fba;this[_0x176aa5(0x12b)](_0x176aa5(0x11d),this[_0x176aa5(0x153)]['id']);});}),_0x467c32;}[_0x24d0b3(0x12a)](){const _0x2e4988=_0x24d0b3,_0x730f5e=_0x49e559(this[_0x2e4988(0x173)],_0x12b9f0),_0x5c1f22=_0x730f5e[_0x2e4988(0x111)][_0x2e4988(0x10d)],_0x436105=new _0x5d2237(this[_0x2e4988(0x173)]),_0x57f3bc=_0x730f5e[_0x2e4988(0x14a)];_0x380d68(_0x730f5e,()=>this[_0x2e4988(0x140)][_0x2e4988(0x163)](_0xaa27c1=>_0xaa27c1[_0x2e4988(0x12e)])),_0x730f5e[_0x2e4988(0x169)]({'attributes':{'class':[_0x57f3bc['if'](_0x2e4988(0x12e),_0x2e4988(0x133),_0x4bce62=>!_0x4bce62)]}});const _0x44b72a=(_0x2c193a,_0x2bf30f=-0x1)=>{const _0x20394e=_0x2e4988,_0x4644cc=new _0x575e7a(this[_0x20394e(0x173)]);_0x4644cc[_0x20394e(0x10d)][_0x20394e(0x119)](_0x2c193a);const _0x1f23cb=_0x2bf30f>-0x1?_0x2bf30f:_0x436105[_0x20394e(0x140)][_0x20394e(0x127)];_0x436105[_0x20394e(0x140)][_0x20394e(0x119)](_0x4644cc,_0x1f23cb);const _0x235d1b=Array[_0x20394e(0x142)](this[_0x20394e(0x140)]);_0x730f5e[_0x20394e(0x117)](_0x20394e(0x16e),_0x20394e(0x12e)),_0x730f5e[_0x20394e(0x15e)](_0x20394e(0x16e))[_0x20394e(0x10a)](_0x235d1b,_0x20394e(0x16e),(..._0x31b392)=>_0x31b392[_0x20394e(0x176)](_0xbba7c7=>_0xbba7c7)),_0x730f5e[_0x20394e(0x15e)](_0x20394e(0x12e))[_0x20394e(0x10a)](_0x235d1b,_0x20394e(0x12e),(..._0x391962)=>_0x391962[_0x20394e(0x176)](_0x24d2bd=>_0x24d2bd));};_0x730f5e[_0x2e4988(0x135)]='sw',_0x730f5e[_0x2e4988(0x14d)][_0x2e4988(0x137)]({'label':_0x59cc7e(this[_0x2e4988(0x173)],_0x2e4988(0x10f)),'icon':_0x1f1dff});for(const _0x2d9250 of this[_0x2e4988(0x140)])_0x44b72a(_0x2d9250);return _0x5c1f22[_0x2e4988(0x119)](_0x436105),_0x730f5e[_0x2e4988(0x112)](this[_0x2e4988(0x140)],_0x2e4988(0x119),(_0x2ded8b,_0x596fe3,_0x999f5b)=>{_0x44b72a(_0x596fe3,_0x999f5b);}),_0x730f5e[_0x2e4988(0x112)](this[_0x2e4988(0x140)],_0x2e4988(0x179),(_0x2032f9,_0x1d6312,_0x1aaa60)=>{const _0x379ac2=_0x2e4988;_0x436105[_0x379ac2(0x140)][_0x379ac2(0x179)](_0x1aaa60);}),_0x730f5e;}[_0x24d0b3(0x148)](_0xba4e57,_0x20b00e){const _0x58a6f5=_0x24d0b3,_0x353a04=_0xba4e57&&_0xba4e57[_0x58a6f5(0x14c)];_0x353a04&&(this[_0x58a6f5(0x112)](_0x353a04,_0x58a6f5(0x168),()=>this[_0x58a6f5(0x114)]=_0x20b00e),this[_0x58a6f5(0x112)](_0x353a04,_0x58a6f5(0x145),()=>this[_0x58a6f5(0x114)]=_0x20b00e),this[_0x58a6f5(0x112)](_0x353a04,_0x58a6f5(0x17a),()=>this[_0x58a6f5(0x114)]=null),this[_0x58a6f5(0x112)](_0x353a04,_0x58a6f5(0x13f),()=>this[_0x58a6f5(0x114)]=null));}[_0x24d0b3(0x11f)](){const _0x19f439=_0x24d0b3,_0x38d1b4=super[_0x19f439(0x11f)]();return _0x38d1b4[_0x19f439(0x15e)](_0x19f439(0x166))['to'](this),_0x38d1b4;}[_0x24d0b3(0x118)](){const _0x15bc35=_0x24d0b3;super[_0x15bc35(0x118)](),this[_0x15bc35(0x148)](this[_0x15bc35(0x120)],_0x15bc35(0x14b)),this[_0x15bc35(0x148)](this[_0x15bc35(0x13b)],_0x15bc35(0x179));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1d23(){var _0x34f8ab=['17096zQNLWw','isOfficialPlugin','requires','290828qEEbrM','2791872kqztrL','Comments','pluginName','282330hRkdmp','295277MTwXPJ','12162590feONPF','isPremiumPlugin','25RkgMaF','3LdwpxN','1407HBJDfg','8dVMLOE','9024HJauHM'];_0x1d23=function(){return _0x34f8ab;};return _0x1d23();}var _0xeb6d7=_0x2d4f;(function(_0x564de1,_0x3fbac3){var _0x5871db=_0x2d4f,_0x28c794=_0x564de1();while(!![]){try{var _0x49ff86=parseInt(_0x5871db(0x160))/0x1+parseInt(_0x5871db(0x168))/0x2*(parseInt(_0x5871db(0x164))/0x3)+parseInt(_0x5871db(0x16b))/0x4*(parseInt(_0x5871db(0x163))/0x5)+-parseInt(_0x5871db(0x167))/0x6*(-parseInt(_0x5871db(0x165))/0x7)+parseInt(_0x5871db(0x166))/0x8*(parseInt(_0x5871db(0x15c))/0x9)+parseInt(_0x5871db(0x15f))/0xa+-parseInt(_0x5871db(0x161))/0xb;if(_0x49ff86===_0x3fbac3)break;else _0x28c794['push'](_0x28c794['shift']());}catch(_0x2b5bc3){_0x28c794['push'](_0x28c794['shift']());}}}(_0x1d23,0x316af));import{Plugin as _0x2096fe}from'ckeditor5/src/core.js';import{CommentsRepository as _0x5742c8}from'./comments/commentsrepository.js';import{CommentsEditing as _0x2bc75a}from'./comments/commentsediting.js';import{CommentsUI as _0x427ddf}from'./comments/commentsui.js';function _0x2d4f(_0x2d69a2,_0x39f1a1){var _0x1d23e1=_0x1d23();return _0x2d4f=function(_0x2d4f81,_0x36d6cc){_0x2d4f81=_0x2d4f81-0x15c;var _0x51644c=_0x1d23e1[_0x2d4f81];return _0x51644c;},_0x2d4f(_0x2d69a2,_0x39f1a1);}import{CommentsOnly as _0x4ba29e}from'./commentsonly.js';import{WideSidebar as _0xaf227f}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x1769a9}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x17bb83}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x4bf327}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x58d5c2}from'./comments/commentsarchive.js';export class Comments extends _0x2096fe{static get[_0xeb6d7(0x16a)](){return[_0x5742c8,_0x2bc75a,_0x427ddf,_0x58d5c2,_0x4bf327,_0x4ba29e,_0xaf227f,_0x1769a9,_0x17bb83];}static get[_0xeb6d7(0x15e)](){var _0x5af63c=_0xeb6d7;return _0x5af63c(0x15d);}static get[_0xeb6d7(0x169)](){return!0x0;}static get[_0xeb6d7(0x162)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x373e(_0x7a15c6,_0x36a797){const _0x48652d=_0x4865();return _0x373e=function(_0x373e2e,_0x43637c){_0x373e2e=_0x373e2e-0xd8;let _0x4a7979=_0x48652d[_0x373e2e];return _0x4a7979;},_0x373e(_0x7a15c6,_0x36a797);}const _0x549326=_0x373e;(function(_0x9f2616,_0x1320ce){const _0xc87973=_0x373e,_0x5b01f2=_0x9f2616();while(!![]){try{const _0x56ac28=-parseInt(_0xc87973(0xd8))/0x1*(parseInt(_0xc87973(0xf7))/0x2)+parseInt(_0xc87973(0x101))/0x3+-parseInt(_0xc87973(0xf5))/0x4*(-parseInt(_0xc87973(0xe3))/0x5)+-parseInt(_0xc87973(0xee))/0x6+parseInt(_0xc87973(0xf2))/0x7+-parseInt(_0xc87973(0xfd))/0x8+-parseInt(_0xc87973(0x102))/0x9*(-parseInt(_0xc87973(0xf3))/0xa);if(_0x56ac28===_0x1320ce)break;else _0x5b01f2['push'](_0x5b01f2['shift']());}catch(_0x11aa7c){_0x5b01f2['push'](_0x5b01f2['shift']());}}}(_0x4865,0xc1359));import{Plugin as _0x18e168}from'ckeditor5/src/core.js';function _0x4865(){const _0x565597=['4558032yemKyh','DragDrop','listenTo','plugins','8029371gLJUTn','10FOmeRh','stopListening','383316cNkTQg','editSource','4RyVwHg','commentsOnlyMode','requires','clipboardInput','commentsOnly','delete','2128864SOECyZ','clearForceDisabled','isOfficialPlugin','CommentsOnly','1928694NdmCPY','4368321HUhrQI','addCommentThread','pluginName','stop','config','276992IhDJRA','affectsData','isPremiumPlugin','_disableCommentsOnlyMode','isEnabled','cut','view','afterInit','commands','editing','forceDisabled','5dukKuL','_enableCommentsOnlyMode','has','document','RevisionTracker','get','set','change:isEnabled','highest','SourceEditing','editor'];_0x4865=function(){return _0x565597;};return _0x4865();}import{CommentsEditing as _0x452def}from'./comments/commentsediting.js';export class CommentsOnly extends _0x18e168{static get[_0x549326(0x104)](){const _0x153e8=_0x549326;return _0x153e8(0x100);}static get[_0x549326(0xff)](){return!0x0;}static get[_0x549326(0xda)](){return!0x0;}static get[_0x549326(0xf9)](){return[_0x452def];}constructor(_0x6a7518){const _0x2a4a3b=_0x549326;super(_0x6a7518),this[_0x2a4a3b(0xe9)](_0x2a4a3b(0xdc),!0x1),this['on'](_0x2a4a3b(0xea),(_0x3cb052,_0x8bbcb0,_0x4d2b61)=>{const _0xdf19a4=_0x2a4a3b;_0x4d2b61?this[_0xdf19a4(0xe4)]():this[_0xdf19a4(0xdb)]();});}[_0x549326(0xdf)](){const _0x246ac9=_0x549326;!this[_0x246ac9(0xdc)]&&this[_0x246ac9(0xed)][_0x246ac9(0x106)][_0x246ac9(0xe8)](_0x246ac9(0xfb))&&(this[_0x246ac9(0xdc)]=!0x0);}[_0x549326(0xe4)](){const _0x418f82=_0x549326;for(const [_0x30b374,_0x14c337]of this[_0x418f82(0xed)][_0x418f82(0xe0)])_0x14c337[_0x418f82(0xd9)]&&_0x418f82(0x103)!==_0x30b374&&_0x14c337[_0x418f82(0xe2)](_0x418f82(0xf8));(this[_0x418f82(0xed)][_0x418f82(0xf1)][_0x418f82(0xe5)](_0x418f82(0xef))&&this[_0x418f82(0xed)][_0x418f82(0xf1)][_0x418f82(0xe8)](_0x418f82(0xef))[_0x418f82(0xe2)](_0x418f82(0xf8)),this[_0x418f82(0xed)][_0x418f82(0xf1)][_0x418f82(0xe5)](_0x418f82(0xe7)))&&this[_0x418f82(0xed)][_0x418f82(0xf1)][_0x418f82(0xe8)](_0x418f82(0xe7))[_0x418f82(0xe2)](_0x418f82(0xf8));this[_0x418f82(0xed)][_0x418f82(0xf1)][_0x418f82(0xe5)](_0x418f82(0xec))&&this[_0x418f82(0xed)][_0x418f82(0xf1)][_0x418f82(0xe8)](_0x418f82(0xec))[_0x418f82(0xe2)](_0x418f82(0xf8));this[_0x418f82(0xed)][_0x418f82(0xe0)][_0x418f82(0xe8)](_0x418f82(0xf6))?.[_0x418f82(0xe2)](_0x418f82(0xf8));const _0x32f590=this[_0x418f82(0xed)][_0x418f82(0xe1)][_0x418f82(0xde)][_0x418f82(0xe6)];this[_0x418f82(0xf0)](_0x32f590,_0x418f82(0xdd),_0x4a995b=>_0x4a995b[_0x418f82(0x105)](),{'priority':_0x418f82(0xeb)}),this[_0x418f82(0xf0)](_0x32f590,_0x418f82(0xfa),_0x19143d=>_0x19143d[_0x418f82(0x105)](),{'priority':_0x418f82(0xeb)}),this[_0x418f82(0xf0)](_0x32f590,_0x418f82(0xfc),_0x2a7462=>_0x2a7462[_0x418f82(0x105)](),{'priority':_0x418f82(0xeb)});}[_0x549326(0xdb)](){const _0x198f04=_0x549326;for(const [_0x7da0da,_0x4706fc]of this[_0x198f04(0xed)][_0x198f04(0xe0)])_0x4706fc[_0x198f04(0xd9)]&&_0x198f04(0x103)!==_0x7da0da&&_0x4706fc[_0x198f04(0xfe)](_0x198f04(0xf8));this[_0x198f04(0xed)][_0x198f04(0xf1)][_0x198f04(0xe5)](_0x198f04(0xe7))&&this[_0x198f04(0xed)][_0x198f04(0xf1)][_0x198f04(0xe8)](_0x198f04(0xe7))[_0x198f04(0xfe)](_0x198f04(0xf8)),this[_0x198f04(0xed)][_0x198f04(0xf1)][_0x198f04(0xe5)](_0x198f04(0xec))&&this[_0x198f04(0xed)][_0x198f04(0xf1)][_0x198f04(0xe8)](_0x198f04(0xec))[_0x198f04(0xfe)](_0x198f04(0xf8)),this[_0x198f04(0xed)][_0x198f04(0xe0)][_0x198f04(0xe8)](_0x198f04(0xf6))?.[_0x198f04(0xfe)](_0x198f04(0xf8)),this[_0x198f04(0xf4)](this[_0x198f04(0xed)][_0x198f04(0xe1)][_0x198f04(0xde)][_0x198f04(0xe6)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xb84662,_0x260fe5){var _0x14137f=_0x4aaa,_0x5a9934=_0xb84662();while(!![]){try{var _0x486f8c=parseInt(_0x14137f(0xcc))/0x1*(parseInt(_0x14137f(0xc2))/0x2)+parseInt(_0x14137f(0xc8))/0x3*(-parseInt(_0x14137f(0xc4))/0x4)+-parseInt(_0x14137f(0xc1))/0x5*(parseInt(_0x14137f(0xc6))/0x6)+-parseInt(_0x14137f(0xc9))/0x7*(-parseInt(_0x14137f(0xc5))/0x8)+parseInt(_0x14137f(0xc7))/0x9+-parseInt(_0x14137f(0xc3))/0xa*(parseInt(_0x14137f(0xca))/0xb)+-parseInt(_0x14137f(0xc0))/0xc*(-parseInt(_0x14137f(0xcb))/0xd);if(_0x486f8c===_0x260fe5)break;else _0x5a9934['push'](_0x5a9934['shift']());}catch(_0x3a06a2){_0x5a9934['push'](_0x5a9934['shift']());}}}(_0x5ac3,0x1a335));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';function _0x4aaa(_0x398e40,_0x4d09a6){var _0x5ac347=_0x5ac3();return _0x4aaa=function(_0x4aaa5e,_0x1aedb2){_0x4aaa5e=_0x4aaa5e-0xc0;var _0x49319e=_0x5ac347[_0x4aaa5e];return _0x49319e;},_0x4aaa(_0x398e40,_0x4d09a6);}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';function _0x5ac3(){var _0x3e1c4d=['14916JclZyQ','145QghsZC','2oMGJLr','10JOXNyB','109064XpPavu','119848FjzVsc','15414WQTfMi','887391fGduxk','15eCOvDV','14dcRwCz','1992199FKQeOb','2366NabOei','144470BQalkQ'];_0x5ac3=function(){return _0x3e1c4d;};return _0x5ac3();}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(_0x224360,_0x335953,_0x1cd1b6){const t=_0x224360['t'];switch(_0x335953){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'},_0x1cd1b6);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'},_0x1cd1b6);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'},_0x1cd1b6);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'},_0x1cd1b6);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x1cd1b6);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'},_0x1cd1b6);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'},_0x1cd1b6);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'},_0x1cd1b6);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(_0x2953b2,_0x315361){const _0x2903b0=_0x3cee,_0x59659e=_0x2953b2();while(!![]){try{const _0x52228a=-parseInt(_0x2903b0(0x1d6))/0x1*(-parseInt(_0x2903b0(0x1d3))/0x2)+parseInt(_0x2903b0(0x1ca))/0x3+-parseInt(_0x2903b0(0x1ce))/0x4*(-parseInt(_0x2903b0(0x1da))/0x5)+-parseInt(_0x2903b0(0x1cf))/0x6+parseInt(_0x2903b0(0x1d8))/0x7+parseInt(_0x2903b0(0x1d9))/0x8+parseInt(_0x2903b0(0x1d4))/0x9*(-parseInt(_0x2903b0(0x1cc))/0xa);if(_0x52228a===_0x315361)break;else _0x59659e['push'](_0x59659e['shift']());}catch(_0x401d79){_0x59659e['push'](_0x59659e['shift']());}}}(_0x53d2,0xe72d9));import{throttle as _0xba9af2}from'es-toolkit/compat';function _0x3cee(_0x10d48d,_0x4d2eee){const _0x53d26c=_0x53d2();return _0x3cee=function(_0x3cee19,_0xfa850b){_0x3cee19=_0x3cee19-0x1c8;let _0x10e2b5=_0x53d26c[_0x3cee19];return _0x10e2b5;},_0x3cee(_0x10d48d,_0x4d2eee);}export function createMutationObserver(_0x4973b0){const _0x310d11=_0xba9af2(_0x4973b0,0x1e),_0x573280=new MutationObserver(_0x4a5efa=>{const _0x4c3baf=_0x3cee;for(const _0xf64505 of _0x4a5efa)(_0x4c3baf(0x1d2)==_0xf64505[_0x4c3baf(0x1d7)]&&_0x4c3baf(0x1cb)==_0xf64505[_0x4c3baf(0x1c8)]||_0x4c3baf(0x1d5)==_0xf64505[_0x4c3baf(0x1d7)]||_0x4c3baf(0x1d0)==_0xf64505[_0x4c3baf(0x1d7)])&&_0x310d11();});return{'attach'(_0x48ae0a){const _0x41dd0b=_0x3cee;_0x573280[_0x41dd0b(0x1cd)](_0x48ae0a,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x21db3f=_0x3cee;_0x573280[_0x21db3f(0x1d1)](),_0x310d11[_0x21db3f(0x1c9)]();}};}function _0x53d2(){const _0x1f78c5=['observe','2057456bcLBCz','11188674jUGRYL','characterData','disconnect','attributes','2mQryYk','323469pnbAFH','childList','716003yWLuvI','type','3459106JVZwHP','12984680vTMEqF','10dosdNO','attributeName','cancel','4288917FnuUnD','class','690oYCvXc'];_0x53d2=function(){return _0x1f78c5;};return _0x53d2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x36334e,_0x1a76c9){const _0x1c1d1e=_0x4af3,_0x4baf89=_0x36334e();while(!![]){try{const _0x2f20e5=parseInt(_0x1c1d1e(0x87))/0x1*(parseInt(_0x1c1d1e(0x8d))/0x2)+-parseInt(_0x1c1d1e(0x83))/0x3*(parseInt(_0x1c1d1e(0x84))/0x4)+parseInt(_0x1c1d1e(0x8c))/0x5*(parseInt(_0x1c1d1e(0x8f))/0x6)+parseInt(_0x1c1d1e(0x8e))/0x7*(-parseInt(_0x1c1d1e(0x89))/0x8)+parseInt(_0x1c1d1e(0x88))/0x9+-parseInt(_0x1c1d1e(0x86))/0xa+parseInt(_0x1c1d1e(0x85))/0xb*(parseInt(_0x1c1d1e(0x8a))/0xc);if(_0x2f20e5===_0x1a76c9)break;else _0x4baf89['push'](_0x4baf89['shift']());}catch(_0x108af8){_0x4baf89['push'](_0x4baf89['shift']());}}}(_0x2f2f,0x5a699));function _0x4af3(_0x492783,_0x52e93b){const _0x2f2fae=_0x2f2f();return _0x4af3=function(_0x4af3a1,_0x21c86d){_0x4af3a1=_0x4af3a1-0x83;let _0x1f9c51=_0x2f2fae[_0x4af3a1];return _0x1f9c51;},_0x4af3(_0x492783,_0x52e93b);}function _0x2f2f(){const _0x42ed97=['61dTgMRu','408159xsgFAS','8lwXvGg','12581052yIhYeb','split','35tWcfIK','3482UGDYtK','3986199lRScAT','148830DHmBqC','82554mvENtN','44MedTRs','11BqzWlH','1311240JqnJOY'];_0x2f2f=function(){return _0x42ed97;};return _0x2f2f();}export function splitMarkerName(_0x958c9b){const _0x109ed4=_0x4af3,_0x252430=_0x958c9b[_0x109ed4(0x8b)](':');return{'group':_0x252430[0x0],'id':_0x252430[0x1],'part':_0x252430[0x2]};}
|