@ckeditor/ckeditor5-comments 47.6.1 → 47.6.2
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 _0x565c3=_0x152b;(function(_0x302bbb,_0x361a46){const _0x29b737=_0x152b,_0x421169=_0x302bbb();while(!![]){try{const _0x506352=parseInt(_0x29b737(0x146))/0x1+-parseInt(_0x29b737(0x156))/0x2+parseInt(_0x29b737(0xff))/0x3+parseInt(_0x29b737(0x12c))/0x4*(parseInt(_0x29b737(0x139))/0x5)+-parseInt(_0x29b737(0x137))/0x6*(-parseInt(_0x29b737(0x110))/0x7)+parseInt(_0x29b737(0x15a))/0x8*(-parseInt(_0x29b737(0x12a))/0x9)+parseInt(_0x29b737(0x121))/0xa*(-parseInt(_0x29b737(0x116))/0xb);if(_0x506352===_0x361a46)break;else _0x421169['push'](_0x421169['shift']());}catch(_0x1a121a){_0x421169['push'](_0x421169['shift']());}}}(_0x59cc,0x98656));function _0x59cc(){const _0x3ef854=['arrowup','forEach','bindTemplate','_rearrangeExpand','_model','length','3865206LhmOpt','change:isEditMode','9940ZCHTZK','delegate','resolvedAt','_collapsedCommentsView','change:isResolved','_shouldCollapse','maxThreadTotalWeight','some','_handleInfoComment','change','maxCommentsWhenCollapsed','visibleViews','map','325069GGbCSZ','authoredAt','Thread\x20comments','equal','createCollection','ck-thread__comments','arrowdown','collapse','change:hasDirtyComment','_handleNewCommentModel','formatDateTime','add','listenTo','_calculatePosition','editorConfig','destroy','583710nKDxrB','keystrokes','hasDirtyComment','locale','949064Otbulf','removeComment','_rearrangeCollapse','resolvedCommentView','includes','_findOptimalIndex','count','3098814iCeowi','isEditMode','stopListening','reverse','_setupKeyboardNavigation','commentUpdated','refreshVisibleViews','bind','isActive','CommentView','viewUid','set','Marked\x20as\x20resolved','get','target','weight','change:isActive','7TQrNHk','maxCommentCharsWhenCollapsed','element','focusTracker','_handleRemoveCommentModel','editorReady','4169nYiGTu','updateComment','added','editorDestroyed','from','setTemplate','ck-hidden','commentViews','insert','_updateHasDirtyComment','remove','25490OxrbXE','focusCycler','removed','resolved','focusLast','delete','focus','resolvedBy','render','72kIVgWI','_config','1668VzSxzk','focusFirst','expand','resolveCommentThread','comments'];_0x59cc=function(){return _0x3ef854;};return _0x59cc();}import{View as _0x1cab8f,FocusCycler as _0x40732d}from'ckeditor5/src/ui.js';import{diff as _0x26afa1,Collection as _0x582077,FocusTracker as _0x2d317f,KeystrokeHandler as _0x195323}from'ckeditor5/src/utils.js';import{getTranslation as _0x35425e}from'../../../utils/common-translations.js';function _0x152b(_0x17844c,_0x4e775b){const _0x59cca8=_0x59cc();return _0x152b=function(_0x152b0c,_0x15752f){_0x152b0c=_0x152b0c-0xfb;let _0x50341a=_0x59cca8[_0x152b0c];return _0x50341a;},_0x152b(_0x17844c,_0x4e775b);}import{CollapsedCommentsView as _0x2536b9}from'./collapsedcommentsview.js';export class CommentsListView extends _0x1cab8f{[_0x565c3(0x11d)];[_0x565c3(0xfb)];[_0x565c3(0x113)];[_0x565c3(0x157)];[_0x565c3(0x122)];[_0x565c3(0x135)];[_0x565c3(0x12b)];[_0x565c3(0x13c)];constructor(_0x17719e,_0x1619ac,_0x414c1b){const _0x29bfb0=_0x565c3;super(_0x17719e);const _0x3f9ae6=this[_0x29bfb0(0x133)];this[_0x29bfb0(0x10a)](_0x29bfb0(0x158),!0x1),this[_0x29bfb0(0x10a)](_0x29bfb0(0x136),_0x1619ac[_0x29bfb0(0x130)][_0x29bfb0(0x136)]),this[_0x29bfb0(0x10a)](_0x29bfb0(0x107),!0x1),this[_0x29bfb0(0x135)]=_0x1619ac,this[_0x29bfb0(0x12b)]=_0x414c1b,this[_0x29bfb0(0x11d)]=this[_0x29bfb0(0x14a)](),this[_0x29bfb0(0x144)]=this[_0x29bfb0(0x14a)](),this[_0x29bfb0(0xfb)]=null,this[_0x29bfb0(0x113)]=new _0x2d317f(),this[_0x29bfb0(0x157)]=new _0x195323(),this[_0x29bfb0(0x122)]=new _0x40732d({'focusables':this[_0x29bfb0(0x11d)],'focusTracker':this[_0x29bfb0(0x113)],'keystrokeHandler':this[_0x29bfb0(0x157)],'keystrokeHandlerOptions':{'filter':_0x4098c2=>this[_0x29bfb0(0x11d)][_0x29bfb0(0x145)](_0x53b221=>_0x53b221[_0x29bfb0(0x112)])[_0x29bfb0(0xfc)](_0x4098c2[_0x29bfb0(0x10d)])},'actions':{'focusPrevious':_0x29bfb0(0x131),'focusNext':_0x29bfb0(0x14c)}}),this[_0x29bfb0(0x13c)]=new _0x2536b9(_0x17719e),this[_0x29bfb0(0x13c)][_0x29bfb0(0x106)](_0x29bfb0(0xfe))['to'](this,_0x29bfb0(0x136),_0x96a016=>_0x96a016-this[_0x29bfb0(0x12b)][_0x29bfb0(0x143)]);for(const _0x2c7169 of _0x1619ac[_0x29bfb0(0x130)])this[_0x29bfb0(0x14f)](_0x2c7169);this[_0x29bfb0(0x141)](),this[_0x29bfb0(0x152)](_0x1619ac[_0x29bfb0(0x130)],_0x29bfb0(0x151),(_0x1acac4,_0x3d1c5b)=>{const _0x31441e=_0x29bfb0,_0x95c24b=this[_0x31441e(0x153)](_0x3d1c5b);this[_0x31441e(0x136)]++,this[_0x31441e(0x14f)](_0x3d1c5b,_0x95c24b),this[_0x31441e(0x105)]();}),this[_0x29bfb0(0x152)](_0x1619ac[_0x29bfb0(0x130)],_0x29bfb0(0x120),(_0x259999,_0x141f1b)=>{const _0x1ed06a=_0x29bfb0;this[_0x1ed06a(0x136)]--,this[_0x1ed06a(0x114)](_0x141f1b),this[_0x1ed06a(0x105)]();}),this[_0x29bfb0(0x152)](_0x1619ac,_0x29bfb0(0x104),()=>this[_0x29bfb0(0x105)]()),this[_0x29bfb0(0x152)](_0x1619ac,_0x29bfb0(0x13d),()=>this[_0x29bfb0(0x141)]()),this['on'](_0x29bfb0(0x10f),()=>this[_0x29bfb0(0x105)]()),this['on'](_0x29bfb0(0x14e),()=>this[_0x29bfb0(0x105)]()),this[_0x29bfb0(0x11b)]({'tag':'ul','attributes':{'class':[_0x29bfb0(0x14b),_0x3f9ae6['if'](_0x29bfb0(0x136),_0x29bfb0(0x11c),_0x7f6c2f=>!_0x7f6c2f)],'aria-label':_0x35425e(_0x17719e,_0x29bfb0(0x148))},'children':this[_0x29bfb0(0x144)]});}get[_0x565c3(0x13e)](){const _0x536927=_0x565c3;return this[_0x536927(0x135)][_0x536927(0x10e)]>this[_0x536927(0x12b)][_0x536927(0x13f)]&&!this[_0x536927(0x107)]&&!this[_0x536927(0x158)];}[_0x565c3(0x129)](){const _0x8b3953=_0x565c3;super[_0x8b3953(0x129)](),this[_0x8b3953(0x105)](),this[_0x8b3953(0x103)]();}[_0x565c3(0x127)](_0x3c6e7f){const _0x52bd10=_0x565c3;-0x1===_0x3c6e7f?this[_0x52bd10(0x122)][_0x52bd10(0x125)]():this[_0x52bd10(0x122)][_0x52bd10(0x12d)]();}[_0x565c3(0x155)](){const _0x340239=_0x565c3;this[_0x340239(0x13c)][_0x340239(0x155)]();for(const _0x148e80 of this[_0x340239(0x11d)])_0x148e80[_0x340239(0x155)]();super[_0x340239(0x155)]();}[_0x565c3(0x105)](){const _0x8f5915=_0x565c3;this[_0x8f5915(0x13e)]?this[_0x8f5915(0x15c)]():this[_0x8f5915(0x134)]();}[_0x565c3(0x14f)](_0xb02863,_0x2ab1cb){const _0x244a4d=_0x565c3,_0x240233=new this[(_0x244a4d(0x12b))][(_0x244a4d(0x108))](this[_0x244a4d(0x159)],_0xb02863,{'maxCommentCharsWhenCollapsed':this[_0x244a4d(0x12b)][_0x244a4d(0x111)],'formatDateTime':this[_0x244a4d(0x12b)][_0x244a4d(0x150)],'editorConfig':this[_0x244a4d(0x12b)][_0x244a4d(0x154)]});_0x240233[_0x244a4d(0x109)]=_0xb02863['id'],_0x240233[_0x244a4d(0x13a)](_0x244a4d(0x15b))['to'](this),_0x240233[_0x244a4d(0x13a)](_0x244a4d(0x117))['to'](this),_0x240233[_0x244a4d(0x13a)](_0x244a4d(0x12f))['to'](this),_0x240233[_0x244a4d(0x13a)](_0x244a4d(0x115))['to'](this),_0x240233[_0x244a4d(0x13a)](_0x244a4d(0x119))['to'](this),this[_0x244a4d(0x152)](_0x240233,_0x244a4d(0x138),()=>this[_0x244a4d(0x11f)]()),this[_0x244a4d(0x11d)][_0x244a4d(0x151)](_0x240233,_0x2ab1cb);}[_0x565c3(0x153)](_0x41f9f4){const _0x131700=_0x565c3,_0xb0921f=this[_0x131700(0x135)][_0x131700(0xfd)](_0x41f9f4);return this[_0x131700(0xfb)]?this[_0x131700(0xfb)][_0x131700(0x147)]>_0x41f9f4[_0x131700(0x147)]?_0xb0921f-0x1:_0xb0921f:_0xb0921f-0x1;}[_0x565c3(0x141)](){const _0x1da53d=_0x565c3;if(this[_0x1da53d(0x135)][_0x1da53d(0x128)]&&this[_0x1da53d(0x135)][_0x1da53d(0x13b)]){const _0x17c567={'id':_0x1da53d(0x124),'author':this[_0x1da53d(0x135)][_0x1da53d(0x128)],'authoredAt':this[_0x1da53d(0x135)][_0x1da53d(0x13b)],'content':_0x35425e(this[_0x1da53d(0x159)],_0x1da53d(0x10b)),'attributes':{}};this[_0x1da53d(0xfb)]=new this[(_0x1da53d(0x12b))][(_0x1da53d(0x108))](this[_0x1da53d(0x159)],_0x17c567,{'maxCommentCharsWhenCollapsed':this[_0x1da53d(0x12b)][_0x1da53d(0x111)],'formatDateTime':this[_0x1da53d(0x12b)][_0x1da53d(0x150)],'editorConfig':this[_0x1da53d(0x12b)][_0x1da53d(0x154)],'isSystemComment':!0x0}),this[_0x1da53d(0x11d)][_0x1da53d(0x151)](this[_0x1da53d(0xfb)],this[_0x1da53d(0x135)][_0x1da53d(0xfd)](_0x17c567));}else this[_0x1da53d(0xfb)]&&(this[_0x1da53d(0x11d)][_0x1da53d(0x120)](this[_0x1da53d(0xfb)]),this[_0x1da53d(0xfb)][_0x1da53d(0x155)](),this[_0x1da53d(0xfb)]=null);this[_0x1da53d(0x105)]();}[_0x565c3(0x114)](_0x407d11){const _0x391040=_0x565c3,_0x1d7843=this[_0x391040(0x11d)][_0x391040(0x120)](_0x407d11['id']);this[_0x391040(0x101)](_0x1d7843),_0x1d7843[_0x391040(0x100)]&&this[_0x391040(0x11f)](),_0x1d7843[_0x391040(0x155)]();}[_0x565c3(0x11f)](){const _0x3a42f9=_0x565c3;this[_0x3a42f9(0x158)]=Array[_0x3a42f9(0x11a)](this[_0x3a42f9(0x11d)])[_0x3a42f9(0x140)](_0x5edc3a=>_0x5edc3a[_0x3a42f9(0x100)]);}[_0x565c3(0x15c)](){const _0x2291ff=_0x565c3,_0x1972c9=function(_0x20c4fd){const _0x2b2c1=_0x152b,_0x4c6d95=new _0x582077();for(const _0xf2d737 of _0x20c4fd)_0x4c6d95[_0x2b2c1(0x151)](_0xf2d737);return _0x4c6d95;}(this[_0x2291ff(0x11d)]),_0x2af7da=this[_0x2291ff(0x13c)][_0x2291ff(0xfe)];for(let _0x121476=0x1;_0x121476<=_0x2af7da;_0x121476++)_0x1972c9[_0x2291ff(0x120)](0x1);for(const _0x3b4f7e of _0x1972c9)_0x3b4f7e[_0x2291ff(0x14d)]();_0x2af7da>0x0&&_0x1972c9[_0x2291ff(0x151)](this[_0x2291ff(0x13c)],0x1),ns(_0x26afa1(Array[_0x2291ff(0x11a)](this[_0x2291ff(0x144)]),Array[_0x2291ff(0x11a)](_0x1972c9)),this[_0x2291ff(0x144)],_0x1972c9);}[_0x565c3(0x134)](){const _0x5eeba7=_0x565c3;ns(_0x26afa1(Array[_0x5eeba7(0x11a)](this[_0x5eeba7(0x144)]),Array[_0x5eeba7(0x11a)](this[_0x5eeba7(0x11d)])),this[_0x5eeba7(0x144)],this[_0x5eeba7(0x11d)]);for(const _0x21cd2f of this[_0x5eeba7(0x144)])_0x21cd2f[_0x5eeba7(0x12e)]();}[_0x565c3(0x103)](){const _0x3dddc0=_0x565c3;this[_0x3dddc0(0x11d)][_0x3dddc0(0x132)](_0x4ef7a4=>{const _0x4395dc=_0x3dddc0;this[_0x4395dc(0x113)][_0x4395dc(0x151)](_0x4ef7a4[_0x4395dc(0x112)]),this[_0x4395dc(0x157)][_0x4395dc(0x152)](_0x4ef7a4[_0x4395dc(0x112)]);}),this[_0x3dddc0(0x11d)]['on'](_0x3dddc0(0x142),(_0x416127,_0x7fcee9)=>{const _0x288489=_0x3dddc0;for(const _0x429002 of _0x7fcee9[_0x288489(0x123)])this[_0x288489(0x113)][_0x288489(0x120)](_0x429002[_0x288489(0x112)]),this[_0x288489(0x157)][_0x288489(0x101)](_0x429002[_0x288489(0x112)]);for(const _0x10a61 of Array[_0x288489(0x11a)](_0x7fcee9[_0x288489(0x118)])[_0x288489(0x102)]())this[_0x288489(0x113)][_0x288489(0x151)](_0x10a61[_0x288489(0x112)]),this[_0x288489(0x157)][_0x288489(0x152)](_0x10a61[_0x288489(0x112)]);});}}function ns(_0x413a9a,_0x18f578,_0x3542fd){const _0x505fa6=_0x565c3;let _0x2ef0a8=0x0;for(const _0x45ec80 of _0x413a9a)switch(_0x45ec80){case _0x505fa6(0x11e):_0x18f578[_0x505fa6(0x151)](_0x3542fd[_0x505fa6(0x10c)](_0x2ef0a8),_0x2ef0a8),_0x2ef0a8++;break;case _0x505fa6(0x126):_0x18f578[_0x505fa6(0x120)](_0x2ef0a8);break;case _0x505fa6(0x149):_0x2ef0a8++;}}
|
|
23
|
+
const _0x11f4dd=_0x4a6d;(function(_0x12d87c,_0x4ce193){const _0x256b54=_0x4a6d,_0x3ce2e0=_0x12d87c();while(!![]){try{const _0x139410=parseInt(_0x256b54(0xa8))/0x1+-parseInt(_0x256b54(0xe2))/0x2+parseInt(_0x256b54(0xcc))/0x3*(-parseInt(_0x256b54(0xb1))/0x4)+-parseInt(_0x256b54(0xf2))/0x5*(-parseInt(_0x256b54(0xa9))/0x6)+-parseInt(_0x256b54(0xf0))/0x7*(parseInt(_0x256b54(0xa1))/0x8)+-parseInt(_0x256b54(0x9d))/0x9+-parseInt(_0x256b54(0xd2))/0xa*(-parseInt(_0x256b54(0xf6))/0xb);if(_0x139410===_0x4ce193)break;else _0x3ce2e0['push'](_0x3ce2e0['shift']());}catch(_0x2cb5e4){_0x3ce2e0['push'](_0x3ce2e0['shift']());}}}(_0x4024,0xb9c03));import{View as _0x34e4c1,FocusCycler as _0x508e1a}from'ckeditor5/src/ui.js';import{diff as _0x1cd591,Collection as _0x30cf02,FocusTracker as _0x2bc597,KeystrokeHandler as _0x3b4d1f}from'ckeditor5/src/utils.js';import{getTranslation as _0x4412ff}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x281fcc}from'./collapsedcommentsview.js';export class CommentsListView extends _0x34e4c1{[_0x11f4dd(0xdd)];[_0x11f4dd(0xed)];[_0x11f4dd(0xc4)];[_0x11f4dd(0xe7)];[_0x11f4dd(0x95)];[_0x11f4dd(0xde)];[_0x11f4dd(0xc8)];[_0x11f4dd(0xa0)];constructor(_0x10dcc7,_0x36920e,_0x3b5810){const _0x50b99e=_0x11f4dd;super(_0x10dcc7);const _0x1822d7=this[_0x50b99e(0xbf)];this[_0x50b99e(0xf1)](_0x50b99e(0xab),!0x1),this[_0x50b99e(0xf1)](_0x50b99e(0xcb),_0x36920e[_0x50b99e(0xac)][_0x50b99e(0xcb)]),this[_0x50b99e(0xf1)](_0x50b99e(0xc3),!0x1),this[_0x50b99e(0xde)]=_0x36920e,this[_0x50b99e(0xc8)]=_0x3b5810,this[_0x50b99e(0xdd)]=this[_0x50b99e(0xae)](),this[_0x50b99e(0xef)]=this[_0x50b99e(0xae)](),this[_0x50b99e(0xed)]=null,this[_0x50b99e(0xc4)]=new _0x2bc597(),this[_0x50b99e(0xe7)]=new _0x3b4d1f(),this[_0x50b99e(0x95)]=new _0x508e1a({'focusables':this[_0x50b99e(0xdd)],'focusTracker':this[_0x50b99e(0xc4)],'keystrokeHandler':this[_0x50b99e(0xe7)],'keystrokeHandlerOptions':{'filter':_0x68986e=>this[_0x50b99e(0xdd)][_0x50b99e(0xe1)](_0x2c0579=>_0x2c0579[_0x50b99e(0xc9)])[_0x50b99e(0xe5)](_0x68986e[_0x50b99e(0xf4)])},'actions':{'focusPrevious':_0x50b99e(0xe8),'focusNext':_0x50b99e(0xe0)}}),this[_0x50b99e(0xa0)]=new _0x281fcc(_0x10dcc7),this[_0x50b99e(0xa0)][_0x50b99e(0xa2)](_0x50b99e(0xd4))['to'](this,_0x50b99e(0xcb),_0x53a804=>_0x53a804-this[_0x50b99e(0xc8)][_0x50b99e(0xf5)]);for(const _0x1dee6f of _0x36920e[_0x50b99e(0xac)])this[_0x50b99e(0xd1)](_0x1dee6f);this[_0x50b99e(0xee)](),this[_0x50b99e(0xe3)](_0x36920e[_0x50b99e(0xac)],_0x50b99e(0x97),(_0x334c95,_0x2c8618)=>{const _0x256f53=_0x50b99e,_0x3644b3=this[_0x256f53(0x96)](_0x2c8618);this[_0x256f53(0xcb)]++,this[_0x256f53(0xd1)](_0x2c8618,_0x3644b3),this[_0x256f53(0xeb)]();}),this[_0x50b99e(0xe3)](_0x36920e[_0x50b99e(0xac)],_0x50b99e(0xa5),(_0x2b9f8a,_0x1f2005)=>{const _0xc42366=_0x50b99e;this[_0xc42366(0xcb)]--,this[_0xc42366(0xca)](_0x1f2005),this[_0xc42366(0xeb)]();}),this[_0x50b99e(0xe3)](_0x36920e,_0x50b99e(0xd7),()=>this[_0x50b99e(0xeb)]()),this[_0x50b99e(0xe3)](_0x36920e,_0x50b99e(0xd6),()=>this[_0x50b99e(0xee)]()),this['on'](_0x50b99e(0xc1),()=>this[_0x50b99e(0xeb)]()),this['on'](_0x50b99e(0xb8),()=>this[_0x50b99e(0xeb)]()),this[_0x50b99e(0xb7)]({'tag':'ul','attributes':{'class':[_0x50b99e(0xda),_0x1822d7['if'](_0x50b99e(0xcb),_0x50b99e(0xb6),_0x2c345b=>!_0x2c345b)],'aria-label':_0x4412ff(_0x10dcc7,_0x50b99e(0xc7))},'children':this[_0x50b99e(0xef)]});}get[_0x11f4dd(0xf3)](){const _0x51b7bf=_0x11f4dd;return this[_0x51b7bf(0xde)][_0x51b7bf(0xbb)]>this[_0x51b7bf(0xc8)][_0x51b7bf(0xd5)]&&!this[_0x51b7bf(0xc3)]&&!this[_0x51b7bf(0xab)];}[_0x11f4dd(0xb3)](){const _0x88b8e0=_0x11f4dd;super[_0x88b8e0(0xb3)](),this[_0x88b8e0(0xeb)](),this[_0x88b8e0(0x9e)]();}[_0x11f4dd(0xaa)](_0x80de7c){const _0x21bd18=_0x11f4dd;-0x1===_0x80de7c?this[_0x21bd18(0x95)][_0x21bd18(0x9c)]():this[_0x21bd18(0x95)][_0x21bd18(0xe9)]();}[_0x11f4dd(0xb9)](){const _0x21afbc=_0x11f4dd;this[_0x21afbc(0xa0)][_0x21afbc(0xb9)]();for(const _0x4e90c1 of this[_0x21afbc(0xdd)])_0x4e90c1[_0x21afbc(0xb9)]();super[_0x21afbc(0xb9)]();}[_0x11f4dd(0xeb)](){const _0x29fba3=_0x11f4dd;this[_0x29fba3(0xf3)]?this[_0x29fba3(0xd8)]():this[_0x29fba3(0xa4)]();}[_0x11f4dd(0xd1)](_0x110201,_0xeb390d){const _0xef531b=_0x11f4dd,_0xf3bd2=new this[(_0xef531b(0xc8))][(_0xef531b(0xb4))](this[_0xef531b(0xea)],_0x110201,{'maxCommentCharsWhenCollapsed':this[_0xef531b(0xc8)][_0xef531b(0xdf)],'formatDateTime':this[_0xef531b(0xc8)][_0xef531b(0xad)],'editorConfig':this[_0xef531b(0xc8)][_0xef531b(0x99)]});_0xf3bd2[_0xef531b(0xe6)]=_0x110201['id'],_0xf3bd2[_0xef531b(0xc6)](_0xef531b(0xc5))['to'](this),_0xf3bd2[_0xef531b(0xc6)](_0xef531b(0xa7))['to'](this),_0xf3bd2[_0xef531b(0xc6)](_0xef531b(0xc0))['to'](this),_0xf3bd2[_0xef531b(0xc6)](_0xef531b(0xb5))['to'](this),_0xf3bd2[_0xef531b(0xc6)](_0xef531b(0xc2))['to'](this),this[_0xef531b(0xe3)](_0xf3bd2,_0xef531b(0xdb),()=>this[_0xef531b(0xa6)]()),this[_0xef531b(0xdd)][_0xef531b(0x97)](_0xf3bd2,_0xeb390d);}[_0x11f4dd(0x96)](_0x51ffe0){const _0x16788d=_0x11f4dd,_0x452578=this[_0x16788d(0xde)][_0x16788d(0xcf)](_0x51ffe0);return this[_0x16788d(0xed)]?this[_0x16788d(0xed)][_0x16788d(0xb2)]>_0x51ffe0[_0x16788d(0xb2)]?_0x452578-0x1:_0x452578:_0x452578-0x1;}[_0x11f4dd(0xee)](){const _0x314f4d=_0x11f4dd;if(this[_0x314f4d(0xde)][_0x314f4d(0xec)]&&this[_0x314f4d(0xde)][_0x314f4d(0xb0)]){const _0x5d1fe5={'id':_0x314f4d(0xce),'author':this[_0x314f4d(0xde)][_0x314f4d(0xec)],'authoredAt':this[_0x314f4d(0xde)][_0x314f4d(0xb0)],'content':_0x4412ff(this[_0x314f4d(0xea)],_0x314f4d(0xd9)),'attributes':{}};this[_0x314f4d(0xed)]=new this[(_0x314f4d(0xc8))][(_0x314f4d(0xb4))](this[_0x314f4d(0xea)],_0x5d1fe5,{'maxCommentCharsWhenCollapsed':this[_0x314f4d(0xc8)][_0x314f4d(0xdf)],'formatDateTime':this[_0x314f4d(0xc8)][_0x314f4d(0xad)],'editorConfig':this[_0x314f4d(0xc8)][_0x314f4d(0x99)],'isSystemComment':!0x0}),this[_0x314f4d(0xdd)][_0x314f4d(0x97)](this[_0x314f4d(0xed)],this[_0x314f4d(0xde)][_0x314f4d(0xcf)](_0x5d1fe5));}else this[_0x314f4d(0xed)]&&(this[_0x314f4d(0xdd)][_0x314f4d(0xa5)](this[_0x314f4d(0xed)]),this[_0x314f4d(0xed)][_0x314f4d(0xb9)](),this[_0x314f4d(0xed)]=null);this[_0x314f4d(0xeb)]();}[_0x11f4dd(0xca)](_0x34510e){const _0x1aa3e9=_0x11f4dd,_0x24e6c1=this[_0x1aa3e9(0xdd)][_0x1aa3e9(0xa5)](_0x34510e['id']);this[_0x1aa3e9(0xa3)](_0x24e6c1),_0x24e6c1[_0x1aa3e9(0xbe)]&&this[_0x1aa3e9(0xa6)](),_0x24e6c1[_0x1aa3e9(0xb9)]();}[_0x11f4dd(0xa6)](){const _0x40438d=_0x11f4dd;this[_0x40438d(0xab)]=Array[_0x40438d(0xba)](this[_0x40438d(0xdd)])[_0x40438d(0xe4)](_0x49db94=>_0x49db94[_0x40438d(0xbe)]);}[_0x11f4dd(0xd8)](){const _0x4a343d=_0x11f4dd,_0x5b1fdb=function(_0xcc2990){const _0x224981=_0x4a6d,_0x9b6671=new _0x30cf02();for(const _0x596b38 of _0xcc2990)_0x9b6671[_0x224981(0x97)](_0x596b38);return _0x9b6671;}(this[_0x4a343d(0xdd)]),_0x3904a3=this[_0x4a343d(0xa0)][_0x4a343d(0xd4)];for(let _0x588421=0x1;_0x588421<=_0x3904a3;_0x588421++)_0x5b1fdb[_0x4a343d(0xa5)](0x1);for(const _0x10908d of _0x5b1fdb)_0x10908d[_0x4a343d(0xbd)]();_0x3904a3>0x0&&_0x5b1fdb[_0x4a343d(0x97)](this[_0x4a343d(0xa0)],0x1),ns(_0x1cd591(Array[_0x4a343d(0xba)](this[_0x4a343d(0xef)]),Array[_0x4a343d(0xba)](_0x5b1fdb)),this[_0x4a343d(0xef)],_0x5b1fdb);}[_0x11f4dd(0xa4)](){const _0x5be1a4=_0x11f4dd;ns(_0x1cd591(Array[_0x5be1a4(0xba)](this[_0x5be1a4(0xef)]),Array[_0x5be1a4(0xba)](this[_0x5be1a4(0xdd)])),this[_0x5be1a4(0xef)],this[_0x5be1a4(0xdd)]);for(const _0x250f56 of this[_0x5be1a4(0xef)])_0x250f56[_0x5be1a4(0x98)]();}[_0x11f4dd(0x9e)](){const _0x1e18ef=_0x11f4dd;this[_0x1e18ef(0xdd)][_0x1e18ef(0x9f)](_0x2fd198=>{const _0x4d8e7b=_0x1e18ef;this[_0x4d8e7b(0xc4)][_0x4d8e7b(0x97)](_0x2fd198[_0x4d8e7b(0xc9)]),this[_0x4d8e7b(0xe7)][_0x4d8e7b(0xe3)](_0x2fd198[_0x4d8e7b(0xc9)]);}),this[_0x1e18ef(0xdd)]['on'](_0x1e18ef(0xd0),(_0x5df4b9,_0x2f7862)=>{const _0x2ed253=_0x1e18ef;for(const _0x5d6f35 of _0x2f7862[_0x2ed253(0xdc)])this[_0x2ed253(0xc4)][_0x2ed253(0xa5)](_0x5d6f35[_0x2ed253(0xc9)]),this[_0x2ed253(0xe7)][_0x2ed253(0xa3)](_0x5d6f35[_0x2ed253(0xc9)]);for(const _0x5e7843 of Array[_0x2ed253(0xba)](_0x2f7862[_0x2ed253(0xcd)])[_0x2ed253(0x9a)]())this[_0x2ed253(0xc4)][_0x2ed253(0x97)](_0x5e7843[_0x2ed253(0xc9)]),this[_0x2ed253(0xe7)][_0x2ed253(0xe3)](_0x5e7843[_0x2ed253(0xc9)]);});}}function _0x4a6d(_0x53cf00,_0x2d263c){const _0x402492=_0x4024();return _0x4a6d=function(_0x4a6d90,_0x390e8f){_0x4a6d90=_0x4a6d90-0x95;let _0x130d13=_0x402492[_0x4a6d90];return _0x130d13;},_0x4a6d(_0x53cf00,_0x2d263c);}function ns(_0x4548ce,_0x37aac2,_0x2a3554){const _0xe23a02=_0x11f4dd;let _0x1f999f=0x0;for(const _0x4a49c0 of _0x4548ce)switch(_0x4a49c0){case _0xe23a02(0xd3):_0x37aac2[_0xe23a02(0x97)](_0x2a3554[_0xe23a02(0x9b)](_0x1f999f),_0x1f999f),_0x1f999f++;break;case _0xe23a02(0xaf):_0x37aac2[_0xe23a02(0xa5)](_0x1f999f);break;case _0xe23a02(0xbc):_0x1f999f++;}}function _0x4024(){const _0x3cf292=['_calculatePosition','add','expand','editorConfig','reverse','get','focusLast','9373086GgEhZx','_setupKeyboardNavigation','forEach','_collapsedCommentsView','367944UfIvfT','bind','stopListening','_rearrangeExpand','remove','_updateHasDirtyComment','updateComment','647551oRQRXR','12tWbVZb','focus','hasDirtyComment','comments','formatDateTime','createCollection','delete','resolvedAt','19192GHaSjy','authoredAt','render','CommentView','editorReady','ck-hidden','setTemplate','change:hasDirtyComment','destroy','from','weight','equal','collapse','isEditMode','bindTemplate','resolveCommentThread','change:isActive','editorDestroyed','isActive','focusTracker','removeComment','delegate','Thread\x20comments','_config','element','_handleRemoveCommentModel','length','81PIXpQb','added','resolved','_findOptimalIndex','change','_handleNewCommentModel','40CmfaFx','insert','count','maxThreadTotalWeight','change:isResolved','commentUpdated','_rearrangeCollapse','Marked\x20as\x20resolved','ck-thread__comments','change:isEditMode','removed','commentViews','_model','maxCommentCharsWhenCollapsed','arrowdown','map','1121226sOiQkU','listenTo','some','includes','viewUid','keystrokes','arrowup','focusFirst','locale','refreshVisibleViews','resolvedBy','resolvedCommentView','_handleInfoComment','visibleViews','63LEvTHx','set','221015VtsgjI','_shouldCollapse','target','maxCommentsWhenCollapsed','5968677NauWQq','focusCycler'];_0x4024=function(){return _0x3cf292;};return _0x4024();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x57dca8=_0x3725;function _0x2794(){const _0x57179e=['bindTemplate','1174068IswEzC','140HJZiJL','set','5YEZaUW','contextValue','2981crouDS','element','21030vBOVUd','3072880FYoEgC','1116575tltZSt','focus','THREAD_CONTEXT_LABEL','3114lpZeGl','394062xUOrTH','819hBzJiP','ck-context__value','2584004jwnVig','span','setTemplate'];_0x2794=function(){return _0x57179e;};return _0x2794();}(function(_0x3ade7d,_0x4a326a){const _0x4dea4b=_0x3725,_0x56f541=_0x3ade7d();while(!![]){try{const _0x3f271d=-parseInt(_0x4dea4b(0x190))/0x1+parseInt(_0x4dea4b(0x193))/0x2*(parseInt(_0x4dea4b(0x181))/0x3)+parseInt(_0x4dea4b(0x183))/0x4*(-parseInt(_0x4dea4b(0x18a))/0x5)+parseInt(_0x4dea4b(0x180))/0x6*(parseInt(_0x4dea4b(0x188))/0x7)+parseInt(_0x4dea4b(0x18f))/0x8+-parseInt(_0x4dea4b(0x187))/0x9+parseInt(_0x4dea4b(0x18e))/0xa*(parseInt(_0x4dea4b(0x18c))/0xb);if(_0x3f271d===_0x4a326a)break;else _0x56f541['push'](_0x56f541['shift']());}catch(_0x3138b7){_0x56f541['push'](_0x56f541['shift']());}}}(_0x2794,0xc336c));import{View as _0x20ade8}from'ckeditor5/src/ui.js';import{getTranslation as _0x21636a}from'../../../utils/common-translations.js';function _0x3725(_0x41bbb6,_0x5471de){const _0x279469=_0x2794();return _0x3725=function(_0x372569,_0x39a804){_0x372569=_0x372569-0x180;let _0x37a546=_0x279469[_0x372569];return _0x37a546;},_0x3725(_0x41bbb6,_0x5471de);}export class CommentThreadHeaderContextView extends _0x20ade8{constructor(_0x295803){const _0xbac96b=_0x3725;super(_0x295803);const _0x2e3405=this[_0xbac96b(0x186)];this[_0xbac96b(0x189)](_0xbac96b(0x18b),''),this[_0xbac96b(0x185)]({'tag':_0xbac96b(0x184),'attributes':{'class':['ck',_0xbac96b(0x182)],'aria-label':_0x2e3405['to'](_0xbac96b(0x18b),_0x39c71f=>_0x21636a(_0x295803,_0xbac96b(0x192),_0x39c71f)),'tabindex':-0x1},'children':[{'text':_0x2e3405['to'](_0xbac96b(0x18b))}]});}[_0x57dca8(0x191)](){const _0x17b3e3=_0x57dca8;this[_0x17b3e3(0x18d)][_0x17b3e3(0x191)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x457549=_0x51e2;(function(_0xc23f8b,_0x2d5739){const _0x4db8a3=_0x51e2,_0xc0a739=_0xc23f8b();while(!![]){try{const _0x55b204=-parseInt(_0x4db8a3(0x11a))/0x1*(-parseInt(_0x4db8a3(0xe6))/0x2)+parseInt(_0x4db8a3(0x107))/0x3+parseInt(_0x4db8a3(0x10d))/0x4*(-parseInt(_0x4db8a3(0x120))/0x5)+-parseInt(_0x4db8a3(0x105))/0x6+-parseInt(_0x4db8a3(0xfa))/0x7+parseInt(_0x4db8a3(0xf0))/0x8+-parseInt(_0x4db8a3(0xe2))/0x9*(parseInt(_0x4db8a3(0xeb))/0xa);if(_0x55b204===_0x2d5739)break;else _0xc0a739['push'](_0xc0a739['shift']());}catch(_0x14b169){_0xc0a739['push'](_0xc0a739['shift']());}}}(_0x1338,0x707ed));import{View as _0x406175,ButtonView as _0x29136f,FocusCycler as _0x74c508}from'ckeditor5/src/ui.js';function _0x51e2(_0x512fb7,_0xae25bb){const _0x13381e=_0x1338();return _0x51e2=function(_0x51e298,_0x52563e){_0x51e298=_0x51e298-0xdb;let _0x4577b0=_0x13381e[_0x51e298];return _0x4577b0;},_0x51e2(_0x512fb7,_0xae25bb);}import{FocusTracker as _0x11caaa,KeystrokeHandler as _0x57b5c9}from'ckeditor5/src/utils.js';import{IconUndo as _0x47ed1d}from'ckeditor5/src/icons.js';import{getTranslation as _0x4d6db0}from'../../../utils/common-translations.js';function _0x1338(){const _0x1a0a55=['.ck-context__value','tooltip','Reopen','focusFirst','isResolved','classList','93541yMVzVz','context','_createReopenButton','focusTracker','render','label','execute','querySelector','isVisible','reopenCommentThread','substring','642768YPtPkI','ck-annotation__actions','828447CJKhVo','locale','contextView','add','hasContext','shift+tab','81980EeczVR','overlay','ck-context','isResolvable','icon','fire','ck-context-wrapper','_attachContextActions','lastIndexOf','createCollection','listenTo','focusables','_trimContextValue','619321TmzAIt','contextValue','focus','keystrokes','_model','reopenButtonView','90cZbIXh','element','bind','offsetWidth','setTemplate','_setupKeyboardNavigation','scrollWidth','mouseleave','ck-thread__header','value','29781XeMjxm','mouseenter','bindTemplate','ck-context--quotes','2agHALj','focusCycler','isEnabled','isReadOnly','div','2260npwGUk','_createContextView','remove','Comment\x20was\x20made\x20on\x20an\x20element','tab','6420368BsdiIV','...','length','.ck-context'];_0x1338=function(){return _0x1a0a55;};return _0x1338();}import{CommentThreadHeaderContextView as _0x1b50a7}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x406175{[_0x457549(0x11e)];[_0x457549(0x11f)];[_0x457549(0x109)];[_0x457549(0x118)];[_0x457549(0xfd)];[_0x457549(0x11d)];[_0x457549(0xe7)];constructor(_0x12a22d,_0x53faa2){const _0x34fc03=_0x457549;super(_0x12a22d);const _0x28cce1=this[_0x34fc03(0xe4)];this[_0x34fc03(0x11e)]=_0x53faa2,this[_0x34fc03(0x11f)]=this[_0x34fc03(0xfc)](),this[_0x34fc03(0x109)]=this[_0x34fc03(0xec)](),this[_0x34fc03(0x118)]=this[_0x34fc03(0x116)]([this[_0x34fc03(0x109)],this[_0x34fc03(0x11f)]]),this[_0x34fc03(0xfd)]=new _0x11caaa(),this[_0x34fc03(0x11d)]=new _0x57b5c9(),this[_0x34fc03(0xe7)]=new _0x74c508({'focusables':this[_0x34fc03(0x118)],'focusTracker':this[_0x34fc03(0xfd)],'keystrokeHandler':this[_0x34fc03(0x11d)],'actions':{'focusPrevious':_0x34fc03(0x10c),'focusNext':_0x34fc03(0xef)}}),this[_0x34fc03(0x122)](_0x34fc03(0x10b))['to'](this[_0x34fc03(0x11e)],_0x34fc03(0xfb),_0x3d5258=>!!_0x3d5258),this[_0x34fc03(0x122)](_0x34fc03(0x11b))['to'](this[_0x34fc03(0x11e)],_0x34fc03(0xfb),_0x54722e=>_0x54722e&&_0x54722e[_0x34fc03(0xe1)]?this[_0x34fc03(0x119)](_0x54722e[_0x34fc03(0xe1)]):_0x4d6db0(this[_0x34fc03(0x108)],_0x34fc03(0xee))),this[_0x34fc03(0xdc)]({'tag':_0x34fc03(0xea),'attributes':{'class':[_0x34fc03(0xe0)]},'children':[{'tag':_0x34fc03(0xea),'attributes':{'class':[_0x34fc03(0x113)]},'children':[{'tag':_0x34fc03(0xea),'attributes':{'class':[_0x34fc03(0x10f),_0x28cce1['if'](_0x34fc03(0x10b),_0x34fc03(0xe5))]},'children':[this[_0x34fc03(0x109)]]}]},{'tag':_0x34fc03(0xea),'attributes':{'class':[_0x34fc03(0x106)]},'children':[this[_0x34fc03(0x11f)]]}]});}[_0x457549(0xfe)](){const _0x4b8539=_0x457549;super[_0x4b8539(0xfe)](),this[_0x4b8539(0x114)](),this[_0x4b8539(0xdd)]();}[_0x457549(0x11c)](){const _0x465482=_0x457549;this[_0x465482(0xe7)][_0x465482(0xf7)]();}[_0x457549(0xfc)](){const _0x181732=_0x457549,_0xc40e3d=new _0x29136f(this[_0x181732(0x108)]);return _0xc40e3d[_0x181732(0xff)]=_0x4d6db0(this[_0x181732(0x108)],_0x181732(0xf6)),_0xc40e3d[_0x181732(0xf5)]=_0x4d6db0(this[_0x181732(0x108)],_0x181732(0xf6)),_0xc40e3d[_0x181732(0x111)]=_0x47ed1d,_0xc40e3d[_0x181732(0x122)](_0x181732(0xe8))['to'](this[_0x181732(0x11e)],_0x181732(0xe9),_0x5ab2d4=>!_0x5ab2d4),_0xc40e3d[_0x181732(0x122)](_0x181732(0x102))['to'](this[_0x181732(0x11e)],_0x181732(0x110),this[_0x181732(0x11e)],_0x181732(0xf8),(_0x5a26eb,_0x122c00)=>_0x5a26eb&&_0x122c00),_0xc40e3d['on'](_0x181732(0x100),()=>{const _0x1fec1a=_0x181732;this[_0x1fec1a(0x112)](_0x1fec1a(0x103),this[_0x1fec1a(0x11e)]['id']);}),_0xc40e3d;}[_0x457549(0x119)](_0x594882){const _0x3bd5e9=_0x457549;if(_0x594882[_0x3bd5e9(0xf2)]<0x96)return _0x594882;const _0x3f4eb7=_0x594882[_0x3bd5e9(0x115)]('\x20',0x93);return _0x594882[_0x3bd5e9(0x104)](0x0,_0x3f4eb7>-0x1?_0x3f4eb7:0x93)+_0x3bd5e9(0xf1);}[_0x457549(0x114)](){const _0x33907b=_0x457549,_0x2d330a=this[_0x33907b(0x121)][_0x33907b(0x101)](_0x33907b(0xf3)),_0x6d8437=_0x2d330a[_0x33907b(0x101)](_0x33907b(0xf4));this[_0x33907b(0x117)](_0x2d330a,_0x33907b(0xe3),()=>{const _0x3fae5d=_0x33907b;_0x6d8437[_0x3fae5d(0xdb)]<_0x6d8437[_0x3fae5d(0xde)]&&_0x2d330a[_0x3fae5d(0xf9)][_0x3fae5d(0x10a)](_0x3fae5d(0x10e));}),this[_0x33907b(0x117)](_0x2d330a,_0x33907b(0xdf),()=>{const _0x1dda0b=_0x33907b;_0x2d330a[_0x1dda0b(0xf9)][_0x1dda0b(0xed)](_0x1dda0b(0x10e));});}[_0x457549(0xdd)](){const _0x2734b2=_0x457549;this[_0x2734b2(0x11d)][_0x2734b2(0x117)](this[_0x2734b2(0x121)]);for(const _0x15da15 of this[_0x2734b2(0x118)])this[_0x2734b2(0xfd)][_0x2734b2(0x10a)](_0x15da15[_0x2734b2(0x121)]),this[_0x2734b2(0x11d)][_0x2734b2(0x117)](_0x15da15[_0x2734b2(0x121)]);}[_0x457549(0xec)](){const _0x1c9c7b=_0x457549,_0x4622c8=new _0x1b50a7(this[_0x1c9c7b(0x108)]);return _0x4622c8[_0x1c9c7b(0x122)](_0x1c9c7b(0x11b))['to'](this),_0x4622c8;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3ca9(){const _0x4e416e=['5296675NduVVL','editor','setTemplate','getDomRoot','value','div','destroy','showButtons','target','userView','focus','extendTemplate','28845YakHDY','createEditor','set','2234040gRablS','element','preventDefault','focusCycler','isFocused','mousedown','2oQYfgQ','render','6bansre','focusTracker','some','3170930CLMZyl','bindTemplate','7614744UeFuSx','delegate','editorReady','commentInputView','filter','change:showInput','showInput','ck-thread__input','listenTo','contains','3768eWTCGi','_focusOnNonInteractiveMouseDown','editorDestroyed','ck-thread__user','then','4823658ATIayp','45836ThVYZt','ck-comment__input-container--active','bind','view','ck-comment__input-container','editing'];_0x3ca9=function(){return _0x4e416e;};return _0x3ca9();}const _0x4711f7=_0x2ab4;(function(_0x456c8f,_0x36660d){const _0x2b45c1=_0x2ab4,_0x3f842c=_0x456c8f();while(!![]){try{const _0x5ddddc=parseInt(_0x2b45c1(0x1ef))/0x1+-parseInt(_0x2b45c1(0x20a))/0x2*(parseInt(_0x2b45c1(0x204))/0x3)+-parseInt(_0x2b45c1(0x211))/0x4+-parseInt(_0x2b45c1(0x1f5))/0x5*(-parseInt(_0x2b45c1(0x20c))/0x6)+parseInt(_0x2b45c1(0x1ee))/0x7+-parseInt(_0x2b45c1(0x21b))/0x8*(-parseInt(_0x2b45c1(0x201))/0x9)+parseInt(_0x2b45c1(0x20f))/0xa;if(_0x5ddddc===_0x36660d)break;else _0x3f842c['push'](_0x3f842c['shift']());}catch(_0x4d1df6){_0x3f842c['push'](_0x3f842c['shift']());}}}(_0x3ca9,0xed703));import{View as _0x290ae5}from'ckeditor5/src/ui.js';import{CommentInputView as _0x4a5ae5}from'./commentinputview.js';function _0x2ab4(_0x70e09c,_0xac339b){const _0x3ca979=_0x3ca9();return _0x2ab4=function(_0x2ab47d,_0x2de0db){_0x2ab47d=_0x2ab47d-0x1ee;let _0x26c8f8=_0x3ca979[_0x2ab47d];return _0x26c8f8;},_0x2ab4(_0x70e09c,_0xac339b);}import{UserView as _0x3433ee}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x290ae5{constructor(_0x34a593,_0x17e746,_0x5efe78){const _0x291f02=_0x2ab4;super(_0x34a593),this[_0x291f02(0x214)]=new _0x4a5ae5(_0x34a593,_0x5efe78),this[_0x291f02(0x207)]=this[_0x291f02(0x214)][_0x291f02(0x207)],this[_0x291f02(0x214)][_0x291f02(0x1f1)](_0x291f02(0x1fc))['to'](this[_0x291f02(0x214)][_0x291f02(0x20d)],_0x291f02(0x208),this[_0x291f02(0x214)],_0x291f02(0x1f9),(_0x2fca66,_0x350b49)=>_0x2fca66||!!_0x350b49),this[_0x291f02(0x203)](_0x291f02(0x217),!0x1),this['on'](_0x291f02(0x216),()=>{const _0x482f8a=_0x291f02;this[_0x482f8a(0x217)]&&!this[_0x482f8a(0x214)][_0x482f8a(0x1f6)]&&this[_0x482f8a(0x214)][_0x482f8a(0x202)]();}),this[_0x291f02(0x214)][_0x291f02(0x212)](_0x291f02(0x213))['to'](this),this[_0x291f02(0x214)][_0x291f02(0x212)](_0x291f02(0x21d))['to'](this),this[_0x291f02(0x1fe)]=new _0x3433ee(_0x34a593,_0x17e746),this[_0x291f02(0x1fe)][_0x291f02(0x200)]({'attributes':{'class':_0x291f02(0x21e),'aria-hidden':!0x0}}),this[_0x291f02(0x214)][_0x291f02(0x200)]({'attributes':{'class':_0x291f02(0x218)}}),this[_0x291f02(0x1f7)]({'tag':_0x291f02(0x1fa),'attributes':{'class':[_0x291f02(0x1f3),this[_0x291f02(0x210)]['if'](_0x291f02(0x217),_0x291f02(0x1f0))]},'children':[this[_0x291f02(0x1fe)],this[_0x291f02(0x214)]]});}[_0x4711f7(0x20b)](){const _0xcf9715=_0x4711f7;super[_0xcf9715(0x20b)](),this[_0xcf9715(0x21c)]();}[_0x4711f7(0x1fb)](){const _0x549348=_0x4711f7;return this[_0x549348(0x214)][_0x549348(0x1fb)]()[_0x549348(0x21f)](()=>super[_0x549348(0x1fb)]());}[_0x4711f7(0x1ff)](_0x3cf2cb){const _0x155ae6=_0x4711f7;this[_0x155ae6(0x214)][_0x155ae6(0x1ff)](_0x3cf2cb);}[_0x4711f7(0x21c)](){const _0x2dfdd9=_0x4711f7;this[_0x2dfdd9(0x219)](this[_0x2dfdd9(0x205)],_0x2dfdd9(0x209),(_0x3f89cc,_0x235b71)=>{const _0xefd8c7=_0x2dfdd9,{submitButtonView:_0x34323d,cancelButtonView:_0x3e759d,editor:_0x3e1850}=this[_0xefd8c7(0x214)];[_0x34323d[_0xefd8c7(0x205)],_0x3e759d[_0xefd8c7(0x205)],_0x3e1850?_0x3e1850[_0xefd8c7(0x1f4)][_0xefd8c7(0x1f2)][_0xefd8c7(0x1f8)]():null][_0xefd8c7(0x215)](_0x44185a=>_0x44185a)[_0xefd8c7(0x20e)](_0x5d813d=>_0x5d813d[_0xefd8c7(0x21a)](_0x235b71[_0xefd8c7(0x1fd)]))||(this[_0xefd8c7(0x1ff)](),_0x235b71[_0xefd8c7(0x206)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x7c41f3=_0x27e9;function _0x41ce(){const _0x1ef9a6=['createCollection','29331861dhpOuC','_model','_createResolveButton','focus','commentViews','listenTo','_boundFirstCommentView','change:archivedAt','removeConfirm','commentThreadChildren','high','isResolved','removeButton','commentThreadHeaderView','ck-thread--','resolveButton','ariaLabel','execute','render','231cUMfpy','ck-thread--active','commentThreadInputView','containerElement','length','cancelConfirm','37586HjfjIN','querySelector','40456ZbHWxk','isActive','resolveCommentThread','12113580MMiWyz','remove','isSystemComment','17sJnCsa','tooltip','stop','listitem','has','icon','placeholder','showConfirm','isResolvable','ck-comment--resolve','set','isReadOnly','removeCommentThread','change:isReadOnly','ck-thread','extendTemplate','Write\x20a\x20comment...','isVisible','ck-thread__container','setTemplate','11zPiatZ','_updateArchivedThreadHeader','isUnlinked','bind','actionBar','ck-thread--unlinked','.ck-thread__container','element','isEnabled','462RoBXQW','ck-rounded-corners','div','label','42505LvfuyX','ck-reset_all-excluded','3TOnJSw','commentsListView','bindTemplate','45693iBDOeO','Delete\x20comment\x20thread?','_cancelAllConfirms','getTemplate','then','actionIndicator','3936764YfcHjO','locale','_bindFirstCommentView','unbind','590xFSkpi','change:isActive','add','archivedAt','Resolve','fire','focusables','get','ariaDescriptionView'];_0x41ce=function(){return _0x1ef9a6;};return _0x41ce();}(function(_0x4dcc64,_0x37f847){const _0x21104a=_0x27e9,_0xc7493d=_0x4dcc64();while(!![]){try{const _0x2d6e12=parseInt(_0x21104a(0x1a2))/0x1*(parseInt(_0x21104a(0x19a))/0x2)+parseInt(_0x21104a(0x16a))/0x3*(parseInt(_0x21104a(0x173))/0x4)+parseInt(_0x21104a(0x168))/0x5*(parseInt(_0x21104a(0x164))/0x6)+-parseInt(_0x21104a(0x194))/0x7*(-parseInt(_0x21104a(0x19c))/0x8)+-parseInt(_0x21104a(0x16d))/0x9*(parseInt(_0x21104a(0x177))/0xa)+-parseInt(_0x21104a(0x1b6))/0xb*(-parseInt(_0x21104a(0x19f))/0xc)+-parseInt(_0x21104a(0x181))/0xd;if(_0x2d6e12===_0x37f847)break;else _0xc7493d['push'](_0xc7493d['shift']());}catch(_0x3a9829){_0xc7493d['push'](_0xc7493d['shift']());}}}(_0x41ce,0x8d4c3));import{ConfirmMixin as _0x3da74b,LateFocusButtonView as _0x105168}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x1a95e4}from'ckeditor5/src/icons.js';function _0x27e9(_0x49d280,_0x55158c){const _0x41ce94=_0x41ce();return _0x27e9=function(_0x27e9ae,_0x32c8be){_0x27e9ae=_0x27e9ae-0x161;let _0x4d6eb8=_0x41ce94[_0x27e9ae];return _0x4d6eb8;},_0x27e9(_0x49d280,_0x55158c);}import{BaseCommentThreadView as _0x249615}from'./basecommentthreadview.js';import{getTranslation as _0x48b64f}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3da74b(_0x249615){[_0x7c41f3(0x18a)];[_0x7c41f3(0x197)];[_0x7c41f3(0x190)];[_0x7c41f3(0x187)];constructor(_0x160bf7,_0x2da24c,_0x1f68f1,_0x146ddf){const _0x496d9c=_0x7c41f3;super(_0x160bf7,_0x2da24c,_0x1f68f1,_0x146ddf),this[_0x496d9c(0x18a)]=this[_0x496d9c(0x180)]([this[_0x496d9c(0x16b)],this[_0x496d9c(0x196)],this[_0x496d9c(0x17f)]]),this[_0x496d9c(0x1ac)](_0x496d9c(0x172),null),this[_0x496d9c(0x197)]=null,this[_0x496d9c(0x187)]=null,this[_0x496d9c(0x174)]=_0x160bf7,this[_0x496d9c(0x190)]=this[_0x496d9c(0x183)](),this[_0x496d9c(0x1b5)](this[_0x496d9c(0x170)]()),this['on'](_0x496d9c(0x178),(_0x3f1282,_0xf164eb,_0x5c0463)=>{const _0x1c1080=_0x496d9c;_0x5c0463||this[_0x1c1080(0x16f)]();}),this[_0x496d9c(0x186)](this[_0x496d9c(0x182)],_0x496d9c(0x1af),(_0x1daa96,_0x78d4ed,_0x14ab00)=>{const _0x4550dd=_0x496d9c;_0x14ab00&&this[_0x4550dd(0x16f)]();}),this[_0x496d9c(0x198)]>0x0&&this[_0x496d9c(0x175)](),this[_0x496d9c(0x186)](this[_0x496d9c(0x16b)][_0x496d9c(0x185)],_0x496d9c(0x179),()=>{const _0x86f791=_0x496d9c;this[_0x86f791(0x175)]();});}[_0x7c41f3(0x170)](){const _0x1f7bbf=_0x7c41f3,_0x2e84ce=this[_0x1f7bbf(0x16c)];return{'tag':_0x1f7bbf(0x166),'attributes':{'class':['ck',_0x1f7bbf(0x1b0),_0x1f7bbf(0x169),_0x1f7bbf(0x165),_0x2e84ce['if'](_0x1f7bbf(0x19d),_0x1f7bbf(0x195)),_0x2e84ce['if'](_0x1f7bbf(0x1b8),_0x1f7bbf(0x1bb)),_0x2e84ce['to'](_0x1f7bbf(0x172),_0x394c44=>_0x394c44?_0x1f7bbf(0x18f)+_0x394c44:'')],'data-thread-id':this[_0x1f7bbf(0x182)]['id'],'tabindex':0x0,'role':_0x1f7bbf(0x1a5),'aria-label':_0x2e84ce['to'](_0x1f7bbf(0x191)),'aria-describedby':this[_0x1f7bbf(0x17f)]['id']},'children':[{'tag':_0x1f7bbf(0x166),'attributes':{'class':_0x1f7bbf(0x1b4)},'children':this[_0x1f7bbf(0x18a)]}]};}[_0x7c41f3(0x193)](){const _0x431943=_0x7c41f3;super[_0x431943(0x193)](),this[_0x431943(0x197)]=this[_0x431943(0x162)][_0x431943(0x19b)](_0x431943(0x161)),this[_0x431943(0x182)]['on'](_0x431943(0x188),()=>{const _0x5e467b=_0x431943;this[_0x5e467b(0x1b7)]();}),this[_0x431943(0x1b7)]();}[_0x7c41f3(0x16f)](){const _0x550fe7=_0x7c41f3;this[_0x550fe7(0x199)]();for(const _0x95742c of this[_0x550fe7(0x16b)][_0x550fe7(0x185)])_0x95742c[_0x550fe7(0x199)]();}[_0x7c41f3(0x175)](){const _0x2088c5=_0x7c41f3,{locale:_0x448912}=this,_0x5c3b48=this[_0x2088c5(0x16b)][_0x2088c5(0x185)][_0x2088c5(0x17e)](0x0);_0x5c3b48===this[_0x2088c5(0x187)]||_0x5c3b48[_0x2088c5(0x1a1)]||(this[_0x2088c5(0x187)]=_0x5c3b48,this[_0x2088c5(0x176)](_0x2088c5(0x172)),this[_0x2088c5(0x1b9)](_0x2088c5(0x172))['to'](_0x5c3b48,_0x2088c5(0x172),_0x490f66=>_0x2088c5(0x1a0)===_0x490f66?_0x2088c5(0x1a0):null),_0x5c3b48[_0x2088c5(0x1a8)]=_0x48b64f(_0x448912,_0x2088c5(0x1b2)),_0x5c3b48[_0x2088c5(0x18d)]['on'](_0x2088c5(0x192),_0x1fa9f0=>{const _0x523ea7=_0x2088c5;_0x1fa9f0[_0x523ea7(0x1a4)](),this[_0x523ea7(0x1a9)](_0x48b64f(_0x448912,_0x523ea7(0x16e)),this[_0x523ea7(0x197)])[_0x523ea7(0x171)](()=>{const _0x8ec833=_0x523ea7;this[_0x8ec833(0x17c)](_0x8ec833(0x1ae));});},{'priority':_0x2088c5(0x18b)}),this['on'](_0x2088c5(0x189),()=>{const _0x24a0ca=_0x2088c5;_0x5c3b48[_0x24a0ca(0x184)]();}),_0x5c3b48[_0x2088c5(0x1ba)][_0x2088c5(0x179)](this[_0x2088c5(0x190)],0x0),_0x5c3b48[_0x2088c5(0x17d)][_0x2088c5(0x179)](this[_0x2088c5(0x190)],0x0));}[_0x7c41f3(0x183)](){const _0x1bf39e=_0x7c41f3,_0xf18690=new _0x105168(this[_0x1bf39e(0x174)]);return _0xf18690[_0x1bf39e(0x167)]=_0x48b64f(this[_0x1bf39e(0x174)],_0x1bf39e(0x17b)),_0xf18690[_0x1bf39e(0x1a3)]=_0x48b64f(this[_0x1bf39e(0x174)],_0x1bf39e(0x17b)),_0xf18690[_0x1bf39e(0x1a7)]=_0x1a95e4,_0xf18690[_0x1bf39e(0x1b1)]({'attributes':{'class':_0x1bf39e(0x1ab)}}),_0xf18690[_0x1bf39e(0x1b9)](_0x1bf39e(0x163))['to'](this[_0x1bf39e(0x182)],_0x1bf39e(0x1ad),_0x88a4ff=>!_0x88a4ff),_0xf18690[_0x1bf39e(0x1b9)](_0x1bf39e(0x1b3))['to'](this[_0x1bf39e(0x182)],_0x1bf39e(0x1aa),this[_0x1bf39e(0x182)],_0x1bf39e(0x18c),(_0x28a14b,_0x2d1849)=>_0x28a14b&&!_0x2d1849),_0xf18690['on'](_0x1bf39e(0x192),()=>{const _0x551eda=_0x1bf39e;this[_0x551eda(0x17c)](_0x551eda(0x19e),this[_0x551eda(0x182)]['id']);}),_0xf18690;}[_0x7c41f3(0x1b7)](){const _0x2dfeff=_0x7c41f3;this[_0x2dfeff(0x182)][_0x2dfeff(0x17a)]?this[_0x2dfeff(0x18a)][_0x2dfeff(0x1a6)](this[_0x2dfeff(0x18e)])||(this[_0x2dfeff(0x18a)][_0x2dfeff(0x179)](this[_0x2dfeff(0x18e)],0x0),this[_0x2dfeff(0x17d)][_0x2dfeff(0x179)](this[_0x2dfeff(0x18e)],0x0)):this[_0x2dfeff(0x18a)][_0x2dfeff(0x1a6)](this[_0x2dfeff(0x18e)])&&(this[_0x2dfeff(0x18a)][_0x2dfeff(0x1a0)](this[_0x2dfeff(0x18e)]),this[_0x2dfeff(0x17d)][_0x2dfeff(0x1a0)](this[_0x2dfeff(0x18e)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5c71a4=_0x5b73;(function(_0x2b91b8,_0x196d59){const _0x3c2c2b=_0x5b73,_0xb5ff38=_0x2b91b8();while(!![]){try{const _0x4895a5=parseInt(_0x3c2c2b(0xed))/0x1*(parseInt(_0x3c2c2b(0x143))/0x2)+-parseInt(_0x3c2c2b(0xd6))/0x3*(parseInt(_0x3c2c2b(0x119))/0x4)+parseInt(_0x3c2c2b(0x111))/0x5*(parseInt(_0x3c2c2b(0x110))/0x6)+-parseInt(_0x3c2c2b(0xe0))/0x7+-parseInt(_0x3c2c2b(0xce))/0x8*(parseInt(_0x3c2c2b(0x138))/0x9)+-parseInt(_0x3c2c2b(0xfd))/0xa+parseInt(_0x3c2c2b(0xf7))/0xb;if(_0x4895a5===_0x196d59)break;else _0xb5ff38['push'](_0xb5ff38['shift']());}catch(_0x4c0248){_0xb5ff38['push'](_0xb5ff38['shift']());}}}(_0x2f92,0xee70b));import{IconRemoveComment as _0x3d6972,IconPencil as _0x5aa8de,IconThreeVerticalDots as _0x3efcf1}from'ckeditor5/src/icons.js';function _0x5b73(_0x150981,_0x418913){const _0x2f92b4=_0x2f92();return _0x5b73=function(_0x5b73b7,_0x35befa){_0x5b73b7=_0x5b73b7-0xcd;let _0xcc3ad6=_0x2f92b4[_0x5b73b7];return _0xcc3ad6;},_0x5b73(_0x150981,_0x418913);}import{ButtonView as _0x186827,createDropdown as _0x4498b2,ListView as _0x17baa6,ListItemView as _0x2e7fbf,focusChildOnDropdownOpen as _0x1c59d6}from'ckeditor5/src/ui.js';function _0x2f92(){const _0x8b719=['icon','_model','Edit','remove','cancelConfirm','ck-comment--remove','formatDateTime','panelPosition','change:isRemovable','isVisible','getExternalCommentNote','ck-hidden','ck-comment__actions--hidden','isReadOnly','ck-annotation__content-wrapper','ck-annotation','ck-comment__main','_createEditButton','setTemplate','ck-comment__user','bind','9JTnGJc','_createCommentInputView','ck-annotation__user','ck-comment__info-name','ck-annotation__main','isEnabled','visibleView','Remove','bindTemplate','actionIndicator','ck-annotation__actions','69796HVNVJD','createCollection','dropdown','9566552kUQeXQ','isEditMode','span','fire','ck-annotation__actions--hidden','execute','div','addMany','12zPWugM','_attachActions','locale','time','mouseleave','Show\x20more\x20items','ck-annotation__info-time','name','then','ck-comment--edit','8300950cSMtMb','isEditable','mouseenter','extendTemplate','getUserViewNotificationText','element','items','length','isExternal','userView','switchToEditMode','ck-annotation__info-name','ariaDescriptionView','23QHLUsk','author','label','push','_config','blur','_createDropdown','Delete\x20comment?','unbind','set','39969952PYrKXL','add','getTemplate','ck-comment__info-time','placeholder','ck-comment','9621910BEveNr','editButton','listenTo','ariaLabel','panelView','focus','listitem','some','isRemovable','removeComment','ck-comment__actions','Reply...','actionBar','ck-comment__info','render','showConfirm','buttonView','focusables','authoredAt','136698AOGdmc','155bCqEDk','ck-comment--','edit','group','ck-comment__external','ck-comment__wrapper','toMany','withText','822048PKkojA','resolvedAt','from','_createRemoveButton','find','ck-comment--info','children','isSystemComment','ck-annotation__info','removeButton'];_0x2f92=function(){return _0x8b719;};return _0x2f92();}import{UserView as _0xc11d87,ConfirmMixin as _0x3a13a6,LateFocusDropdownButtonView as _0x2b6a40}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0xc160b4}from'./basecommentview.js';import{getTranslation as _0x3bd01b}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3a13a6(_0xc160b4){[_0x5c71a4(0x109)];[_0x5c71a4(0xe9)];constructor(_0x4cc458,_0x1b187c,_0x2db3de){const _0x4918e3=_0x5c71a4;super(_0x4cc458,_0x1b187c,_0x2db3de),this[_0x4918e3(0xf6)](_0x4918e3(0x141),null),this[_0x4918e3(0xf6)](_0x4918e3(0xfb),_0x3bd01b(_0x4cc458,_0x4918e3(0x108))),this[_0x4918e3(0x137)](_0x4918e3(0x10f))['to'](_0x1b187c),this[_0x4918e3(0x137)](_0x4918e3(0x11a))['to'](_0x1b187c),this[_0x4918e3(0x109)]=this[_0x4918e3(0x144)](),this[_0x4918e3(0x120)]||(this[_0x4918e3(0xfe)]=this[_0x4918e3(0x134)](),this[_0x4918e3(0x122)]=this[_0x4918e3(0x11c)](),this[_0x4918e3(0xe6)]=this[_0x4918e3(0x144)](),this[_0x4918e3(0xe6)][_0x4918e3(0xd5)]([this[_0x4918e3(0xfe)],this[_0x4918e3(0x122)]]),this[_0x4918e3(0xcd)]=this[_0x4918e3(0xf3)](),this[_0x4918e3(0x109)][_0x4918e3(0xf8)](this[_0x4918e3(0xcd)]),this[_0x4918e3(0x10e)][_0x4918e3(0xf8)](this[_0x4918e3(0xcd)])),this[_0x4918e3(0xe9)]=new _0xc11d87(_0x4cc458,_0x1b187c[_0x4918e3(0xee)],this[_0x4918e3(0xe4)]()),this[_0x4918e3(0xe9)][_0x4918e3(0xe3)]({'attributes':{'class':[_0x4918e3(0x136),_0x4918e3(0x13a)],'aria-hidden':!0x0}}),this[_0x4918e3(0xff)](_0x1b187c,_0x4918e3(0x12b),()=>this[_0x4918e3(0x127)]()),this[_0x4918e3(0x135)](this[_0x4918e3(0xf9)]());}[_0x5c71a4(0xf9)](){const _0x5a9f2c=_0x5c71a4,_0x343aea=this[_0x5a9f2c(0x140)],_0x28c608=[{'tag':_0x5a9f2c(0xd4),'attributes':{'class':[_0x5a9f2c(0x10a),_0x5a9f2c(0x121)]},'children':[{'tag':_0x5a9f2c(0xd0),'children':[{'text':this[_0x5a9f2c(0xe9)][_0x5a9f2c(0xdd)]}],'attributes':{'class':[_0x5a9f2c(0x13b),_0x5a9f2c(0xeb)],'data-cke-tooltip-text':this[_0x5a9f2c(0xe9)][_0x5a9f2c(0xdd)]}},{'tag':_0x5a9f2c(0xd9),'attributes':{'datetime':_0x343aea['to'](_0x5a9f2c(0x10f)),'class':[_0x5a9f2c(0xfa),_0x5a9f2c(0xdc)]},'children':[{'text':_0x343aea['to'](_0x5a9f2c(0x10f),_0x4dc636=>this[_0x5a9f2c(0xf1)][_0x5a9f2c(0x129)](_0x4dc636))}]}]},{'tag':_0x5a9f2c(0xd4),'attributes':{'class':[_0x5a9f2c(0x107),_0x5a9f2c(0x142),_0x343aea['if'](_0x5a9f2c(0xcf),_0x5a9f2c(0x12f)),_0x343aea['if'](_0x5a9f2c(0xcf),_0x5a9f2c(0xd2))]},'children':this[_0x5a9f2c(0x109)]},{'tag':_0x5a9f2c(0xd4),'attributes':{'class':[_0x5a9f2c(0x131)]},'children':this[_0x5a9f2c(0x13e)]},this[_0x5a9f2c(0xec)]];return this[_0x5a9f2c(0x124)][_0x5a9f2c(0xe8)]&&_0x28c608[_0x5a9f2c(0xf0)]({'tag':_0x5a9f2c(0xd4),'attributes':{'class':[_0x5a9f2c(0x115)]},'children':[{'text':this[_0x5a9f2c(0x12d)]()}]}),{'tag':'li','attributes':{'class':[_0x5a9f2c(0x116)],'tabindex':-0x1,'aria-label':_0x343aea['to'](_0x5a9f2c(0x100)),'aria-describedby':this[_0x5a9f2c(0xec)]['id'],'role':_0x5a9f2c(0x103)},'children':[{'tag':_0x5a9f2c(0xd4),'attributes':{'class':[_0x5a9f2c(0xfc),_0x5a9f2c(0x132),_0x343aea['if'](_0x5a9f2c(0xcf),_0x5a9f2c(0xdf)),_0x343aea['if'](_0x5a9f2c(0x120),_0x5a9f2c(0x11e)),_0x343aea['to'](_0x5a9f2c(0x141),_0x7d202e=>_0x7d202e?_0x5a9f2c(0x112)+_0x7d202e:'')],'data-author-id':this[_0x5a9f2c(0x124)][_0x5a9f2c(0xee)]['id'],'data-comment-id':this[_0x5a9f2c(0x124)]['id'],'role':_0x5a9f2c(0x114)},'children':[this[_0x5a9f2c(0xe9)],{'tag':_0x5a9f2c(0xd4),'attributes':{'class':[_0x5a9f2c(0x133),_0x5a9f2c(0x13c)]},'children':_0x28c608}]}]};}[_0x5c71a4(0x134)](){const _0x2ec657=_0x5c71a4,_0x49cc72=new _0x186827(this[_0x2ec657(0xd8)]);return _0x49cc72[_0x2ec657(0xef)]=_0x3bd01b(this[_0x2ec657(0xd8)],_0x2ec657(0x125)),_0x49cc72[_0x2ec657(0x123)]=_0x5aa8de,_0x49cc72[_0x2ec657(0x118)]=!0x0,_0x49cc72[_0x2ec657(0xe3)]({'attributes':{'class':_0x2ec657(0xdf)}}),_0x49cc72[_0x2ec657(0x137)](_0x2ec657(0x13d))['to'](this[_0x2ec657(0x124)],_0x2ec657(0x130),_0x402e27=>!_0x402e27),_0x49cc72[_0x2ec657(0x137)](_0x2ec657(0x12c))['to'](this[_0x2ec657(0x124)],_0x2ec657(0xe1)),_0x49cc72['on'](_0x2ec657(0xd3),()=>this[_0x2ec657(0xea)]()),_0x49cc72;}[_0x5c71a4(0x11c)](){const _0x3f5f01=_0x5c71a4,_0x245de4=new _0x186827(this[_0x3f5f01(0xd8)]);return _0x245de4[_0x3f5f01(0xef)]=_0x3bd01b(this[_0x3f5f01(0xd8)],_0x3f5f01(0x13f)),_0x245de4[_0x3f5f01(0x123)]=_0x3d6972,_0x245de4[_0x3f5f01(0x118)]=!0x0,_0x245de4[_0x3f5f01(0xe3)]({'attributes':{'class':_0x3f5f01(0x128)}}),_0x245de4[_0x3f5f01(0x137)](_0x3f5f01(0x13d))['to'](this[_0x3f5f01(0x124)],_0x3f5f01(0x130),_0x5ade7d=>!_0x5ade7d),_0x245de4[_0x3f5f01(0x137)](_0x3f5f01(0x12c))['to'](this[_0x3f5f01(0x124)],_0x3f5f01(0x105)),_0x245de4['on'](_0x3f5f01(0xd3),()=>{const _0x2570ee=_0x3f5f01;this[_0x2570ee(0x10c)](_0x3bd01b(this[_0x2570ee(0xd8)],_0x2570ee(0xf4)),this[_0x2570ee(0xe5)])[_0x2570ee(0xde)](()=>{const _0x34d888=_0x2570ee;this[_0x34d888(0xd1)](_0x34d888(0x106),this[_0x34d888(0x124)]['id']);});}),_0x245de4;}[_0x5c71a4(0xf3)](){const _0x2faf4e=_0x5c71a4,_0x67ee5c=_0x4498b2(this[_0x2faf4e(0xd8)],_0x2b6a40),_0x17e8a8=_0x67ee5c[_0x2faf4e(0x101)][_0x2faf4e(0x11f)],_0x36939a=new _0x17baa6(this[_0x2faf4e(0xd8)]),_0x1158a1=_0x67ee5c[_0x2faf4e(0x140)];_0x1c59d6(_0x67ee5c,()=>this[_0x2faf4e(0xe6)][_0x2faf4e(0x11d)](_0x329e2e=>_0x329e2e[_0x2faf4e(0x12c)])),_0x67ee5c[_0x2faf4e(0xe3)]({'attributes':{'class':[_0x1158a1['if'](_0x2faf4e(0x12c),_0x2faf4e(0x12e),_0xe66815=>!_0xe66815)]}});const _0x59749c=(_0x195f79,_0x287ecf=-0x1)=>{const _0x1d3c2c=_0x2faf4e,_0x2a7f92=new _0x2e7fbf(this[_0x1d3c2c(0xd8)]);_0x2a7f92[_0x1d3c2c(0x11f)][_0x1d3c2c(0xf8)](_0x195f79);const _0x46f5e9=_0x287ecf>-0x1?_0x287ecf:_0x36939a[_0x1d3c2c(0xe6)][_0x1d3c2c(0xe7)];_0x36939a[_0x1d3c2c(0xe6)][_0x1d3c2c(0xf8)](_0x2a7f92,_0x46f5e9);const _0x50e021=Array[_0x1d3c2c(0x11b)](this[_0x1d3c2c(0xe6)]);_0x67ee5c[_0x1d3c2c(0xf5)](_0x1d3c2c(0x13d),_0x1d3c2c(0x12c)),_0x67ee5c[_0x1d3c2c(0x137)](_0x1d3c2c(0x13d))[_0x1d3c2c(0x117)](_0x50e021,_0x1d3c2c(0x13d),(..._0x5014d0)=>_0x5014d0[_0x1d3c2c(0x104)](_0x10f46b=>_0x10f46b)),_0x67ee5c[_0x1d3c2c(0x137)](_0x1d3c2c(0x12c))[_0x1d3c2c(0x117)](_0x50e021,_0x1d3c2c(0x12c),(..._0x353ac2)=>_0x353ac2[_0x1d3c2c(0x104)](_0xb9faac=>_0xb9faac));};_0x67ee5c[_0x2faf4e(0x12a)]='sw',_0x67ee5c[_0x2faf4e(0x10d)][_0x2faf4e(0xf6)]({'label':_0x3bd01b(this[_0x2faf4e(0xd8)],_0x2faf4e(0xdb)),'icon':_0x3efcf1});for(const _0x13d026 of this[_0x2faf4e(0xe6)])_0x59749c(_0x13d026);return _0x17e8a8[_0x2faf4e(0xf8)](_0x36939a),_0x67ee5c[_0x2faf4e(0xff)](this[_0x2faf4e(0xe6)],_0x2faf4e(0xf8),(_0x331dd9,_0x136b6c,_0x31cdb0)=>{_0x59749c(_0x136b6c,_0x31cdb0);}),_0x67ee5c[_0x2faf4e(0xff)](this[_0x2faf4e(0xe6)],_0x2faf4e(0x126),(_0x15be92,_0x5a9393,_0x557d2c)=>{const _0x440202=_0x2faf4e;_0x36939a[_0x440202(0xe6)][_0x440202(0x126)](_0x557d2c);}),_0x67ee5c;}[_0x5c71a4(0xd7)](_0x3135ea,_0x5612ef){const _0xffa97c=_0x5c71a4,_0x5e9da5=_0x3135ea&&_0x3135ea[_0xffa97c(0xe5)];_0x5e9da5&&(this[_0xffa97c(0xff)](_0x5e9da5,_0xffa97c(0xe2),()=>this[_0xffa97c(0x141)]=_0x5612ef),this[_0xffa97c(0xff)](_0x5e9da5,_0xffa97c(0x102),()=>this[_0xffa97c(0x141)]=_0x5612ef),this[_0xffa97c(0xff)](_0x5e9da5,_0xffa97c(0xda),()=>this[_0xffa97c(0x141)]=null),this[_0xffa97c(0xff)](_0x5e9da5,_0xffa97c(0xf2),()=>this[_0xffa97c(0x141)]=null));}[_0x5c71a4(0x139)](){const _0x1f86aa=_0x5c71a4,_0x43ee62=super[_0x1f86aa(0x139)]();return _0x43ee62[_0x1f86aa(0x137)](_0x1f86aa(0xfb))['to'](this),_0x43ee62;}[_0x5c71a4(0x10b)](){const _0xb7faa7=_0x5c71a4;super[_0xb7faa7(0x10b)](),this[_0xb7faa7(0xd7)](this[_0xb7faa7(0xfe)],_0xb7faa7(0x113)),this[_0xb7faa7(0xd7)](this[_0xb7faa7(0x122)],_0xb7faa7(0x126));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5c44a1=_0x432d;function _0x48ef(){var _0x4adab3=['Comments','pluginName','2674PsiMLs','80wtSaeT','231132TcKWjM','993023NHQZxy','isPremiumPlugin','25619250iKbcqx','4013817UDEMYO','536AUdjab','isOfficialPlugin','5175632vruffG','9704466ScWVWm','requires','2VGvTLz'];_0x48ef=function(){return _0x4adab3;};return _0x48ef();}(function(_0x227c3c,_0x362243){var _0x488471=_0x432d,_0x1f6a83=_0x227c3c();while(!![]){try{var _0x1881a5=-parseInt(_0x488471(0x16e))/0x1+-parseInt(_0x488471(0x168))/0x2*(-parseInt(_0x488471(0x171))/0x3)+parseInt(_0x488471(0x165))/0x4+parseInt(_0x488471(0x16c))/0x5*(parseInt(_0x488471(0x16d))/0x6)+parseInt(_0x488471(0x16b))/0x7*(-parseInt(_0x488471(0x172))/0x8)+parseInt(_0x488471(0x166))/0x9+-parseInt(_0x488471(0x170))/0xa;if(_0x1881a5===_0x362243)break;else _0x1f6a83['push'](_0x1f6a83['shift']());}catch(_0x4d2765){_0x1f6a83['push'](_0x1f6a83['shift']());}}}(_0x48ef,0xb61cb));import{Plugin as _0x1cb98b}from'ckeditor5/src/core.js';import{CommentsRepository as _0x335db2}from'./comments/commentsrepository.js';import{CommentsEditing as _0x27c7e2}from'./comments/commentsediting.js';import{CommentsUI as _0x5cf8f4}from'./comments/commentsui.js';import{CommentsOnly as _0x12affa}from'./commentsonly.js';function _0x432d(_0x45a1a4,_0x7a8766){var _0x48efc4=_0x48ef();return _0x432d=function(_0x432d1f,_0x5f0e84){_0x432d1f=_0x432d1f-0x165;var _0x2e4ca4=_0x48efc4[_0x432d1f];return _0x2e4ca4;},_0x432d(_0x45a1a4,_0x7a8766);}import{WideSidebar as _0x2e078e}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x4a7c54}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x4a7723}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x1cdced}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x1b5324}from'./comments/commentsarchive.js';export class Comments extends _0x1cb98b{static get[_0x5c44a1(0x167)](){return[_0x335db2,_0x27c7e2,_0x5cf8f4,_0x1b5324,_0x1cdced,_0x12affa,_0x2e078e,_0x4a7c54,_0x4a7723];}static get[_0x5c44a1(0x16a)](){var _0x5047aa=_0x5c44a1;return _0x5047aa(0x169);}static get[_0x5c44a1(0x173)](){return!0x0;}static get[_0x5c44a1(0x16f)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c1c0=_0x2c39;(function(_0x6b71f4,_0x10280d){const _0x162417=_0x2c39,_0x22d2ef=_0x6b71f4();while(!![]){try{const _0x560adf=-parseInt(_0x162417(0xe2))/0x1+parseInt(_0x162417(0xf8))/0x2+parseInt(_0x162417(0xfa))/0x3+parseInt(_0x162417(0xf3))/0x4*(-parseInt(_0x162417(0xfb))/0x5)+-parseInt(_0x162417(0x103))/0x6+-parseInt(_0x162417(0xf2))/0x7+parseInt(_0x162417(0xf9))/0x8;if(_0x560adf===_0x10280d)break;else _0x22d2ef['push'](_0x22d2ef['shift']());}catch(_0x3b1584){_0x22d2ef['push'](_0x22d2ef['shift']());}}}(_0x32ce,0xe5e8d));import{Plugin as _0x31bdb1}from'ckeditor5/src/core.js';function _0x32ce(){const _0x3a0b50=['listenTo','document','_disableCommentsOnlyMode','8118887rKdjxi','4029524WPTTlP','forceDisabled','requires','change:isEnabled','pluginName','2407292kHBGsW','33499120pdqYsI','2023458HJHKmr','5ukNcNJ','set','addCommentThread','commentsOnly','isPremiumPlugin','CommentsOnly','afterInit','stop','10749348XTchwv','view','commentsOnlyMode','affectsData','has','editSource','delete','cut','_enableCommentsOnlyMode','editor','isOfficialPlugin','clipboardInput','1165033nWzjGs','clearForceDisabled','highest','DragDrop','config','commands','isEnabled','get','SourceEditing','RevisionTracker','stopListening','editing','plugins'];_0x32ce=function(){return _0x3a0b50;};return _0x32ce();}import{CommentsEditing as _0x5d2787}from'./comments/commentsediting.js';function _0x2c39(_0x455dfe,_0x514482){const _0x32ce48=_0x32ce();return _0x2c39=function(_0x2c39cd,_0x454361){_0x2c39cd=_0x2c39cd-0xd9;let _0x1f83bc=_0x32ce48[_0x2c39cd];return _0x1f83bc;},_0x2c39(_0x455dfe,_0x514482);}export class CommentsOnly extends _0x31bdb1{static get[_0x4c1c0(0xf7)](){const _0x156bec=_0x4c1c0;return _0x156bec(0x100);}static get[_0x4c1c0(0xe0)](){return!0x0;}static get[_0x4c1c0(0xff)](){return!0x0;}static get[_0x4c1c0(0xf5)](){return[_0x5d2787];}constructor(_0x466779){const _0x54df89=_0x4c1c0;super(_0x466779),this[_0x54df89(0xfc)](_0x54df89(0xe8),!0x1),this['on'](_0x54df89(0xf6),(_0x5118b9,_0x404744,_0x491810)=>{const _0x2ab9d4=_0x54df89;_0x491810?this[_0x2ab9d4(0xde)]():this[_0x2ab9d4(0xf1)]();});}[_0x4c1c0(0x101)](){const _0x587b27=_0x4c1c0;!this[_0x587b27(0xe8)]&&this[_0x587b27(0xdf)][_0x587b27(0xe6)][_0x587b27(0xe9)](_0x587b27(0xfe))&&(this[_0x587b27(0xe8)]=!0x0);}[_0x4c1c0(0xde)](){const _0x40942a=_0x4c1c0;for(const [_0x35b420,_0x1082cd]of this[_0x40942a(0xdf)][_0x40942a(0xe7)])_0x1082cd[_0x40942a(0xd9)]&&_0x40942a(0xfd)!==_0x35b420&&_0x1082cd[_0x40942a(0xf4)](_0x40942a(0x105));(this[_0x40942a(0xdf)][_0x40942a(0xee)][_0x40942a(0xda)](_0x40942a(0xe5))&&this[_0x40942a(0xdf)][_0x40942a(0xee)][_0x40942a(0xe9)](_0x40942a(0xe5))[_0x40942a(0xf4)](_0x40942a(0x105)),this[_0x40942a(0xdf)][_0x40942a(0xee)][_0x40942a(0xda)](_0x40942a(0xeb)))&&this[_0x40942a(0xdf)][_0x40942a(0xee)][_0x40942a(0xe9)](_0x40942a(0xeb))[_0x40942a(0xf4)](_0x40942a(0x105));this[_0x40942a(0xdf)][_0x40942a(0xee)][_0x40942a(0xda)](_0x40942a(0xea))&&this[_0x40942a(0xdf)][_0x40942a(0xee)][_0x40942a(0xe9)](_0x40942a(0xea))[_0x40942a(0xf4)](_0x40942a(0x105));this[_0x40942a(0xdf)][_0x40942a(0xe7)][_0x40942a(0xe9)](_0x40942a(0xdb))?.[_0x40942a(0xf4)](_0x40942a(0x105));const _0x5827e2=this[_0x40942a(0xdf)][_0x40942a(0xed)][_0x40942a(0x104)][_0x40942a(0xf0)];this[_0x40942a(0xef)](_0x5827e2,_0x40942a(0xdd),_0x51ed75=>_0x51ed75[_0x40942a(0x102)](),{'priority':_0x40942a(0xe4)}),this[_0x40942a(0xef)](_0x5827e2,_0x40942a(0xe1),_0x342753=>_0x342753[_0x40942a(0x102)](),{'priority':_0x40942a(0xe4)}),this[_0x40942a(0xef)](_0x5827e2,_0x40942a(0xdc),_0x1a37d1=>_0x1a37d1[_0x40942a(0x102)](),{'priority':_0x40942a(0xe4)});}[_0x4c1c0(0xf1)](){const _0x4bdecb=_0x4c1c0;for(const [_0x149f94,_0x58f827]of this[_0x4bdecb(0xdf)][_0x4bdecb(0xe7)])_0x58f827[_0x4bdecb(0xd9)]&&_0x4bdecb(0xfd)!==_0x149f94&&_0x58f827[_0x4bdecb(0xe3)](_0x4bdecb(0x105));this[_0x4bdecb(0xdf)][_0x4bdecb(0xee)][_0x4bdecb(0xda)](_0x4bdecb(0xeb))&&this[_0x4bdecb(0xdf)][_0x4bdecb(0xee)][_0x4bdecb(0xe9)](_0x4bdecb(0xeb))[_0x4bdecb(0xe3)](_0x4bdecb(0x105)),this[_0x4bdecb(0xdf)][_0x4bdecb(0xee)][_0x4bdecb(0xda)](_0x4bdecb(0xea))&&this[_0x4bdecb(0xdf)][_0x4bdecb(0xee)][_0x4bdecb(0xe9)](_0x4bdecb(0xea))[_0x4bdecb(0xe3)](_0x4bdecb(0x105)),this[_0x4bdecb(0xdf)][_0x4bdecb(0xe7)][_0x4bdecb(0xe9)](_0x4bdecb(0xdb))?.[_0x4bdecb(0xe3)](_0x4bdecb(0x105)),this[_0x4bdecb(0xec)](this[_0x4bdecb(0xdf)][_0x4bdecb(0xed)][_0x4bdecb(0x104)][_0x4bdecb(0xf0)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2f64ec,_0x5b6d2e){var _0xbb43b5=_0x3ebd,_0xe7ea56=_0x2f64ec();while(!![]){try{var _0x39ea85=-parseInt(_0xbb43b5(0x156))/0x1*(parseInt(_0xbb43b5(0x15b))/0x2)+-parseInt(_0xbb43b5(0x153))/0x3+-parseInt(_0xbb43b5(0x15d))/0x4+parseInt(_0xbb43b5(0x15a))/0x5*(-parseInt(_0xbb43b5(0x154))/0x6)+-parseInt(_0xbb43b5(0x15c))/0x7+parseInt(_0xbb43b5(0x159))/0x8*(parseInt(_0xbb43b5(0x157))/0x9)+-parseInt(_0xbb43b5(0x158))/0xa*(-parseInt(_0xbb43b5(0x155))/0xb);if(_0x39ea85===_0x5b6d2e)break;else _0xe7ea56['push'](_0xe7ea56['shift']());}catch(_0x13e9fd){_0xe7ea56['push'](_0xe7ea56['shift']());}}}(_0x2404,0x7aa00));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';function _0x3ebd(_0x498256,_0x25882a){var _0x2404e3=_0x2404();return _0x3ebd=function(_0x3ebdae,_0x3105b6){_0x3ebdae=_0x3ebdae-0x153;var _0x5dd8a5=_0x2404e3[_0x3ebdae];return _0x5dd8a5;},_0x3ebd(_0x498256,_0x25882a);}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';function _0x2404(){var _0x3c34d0=['54YMhvIy','3009468zgAeDZ','41332QriqYO','2484783PvobWn','195396oeHnCf','3419053NMXcVe','34283yREVUW','3034971vaYnpN','100CSoykD','8ABAmux','115rPqovY'];_0x2404=function(){return _0x3c34d0;};return _0x2404();}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(_0xe4bbb1,_0x125167,_0x467124){const t=_0xe4bbb1['t'];switch(_0x125167){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'},_0x467124);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'},_0x467124);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'},_0x467124);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'},_0x467124);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x467124);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'},_0x467124);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'},_0x467124);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'},_0x467124);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(_0x42896d,_0x2ab779){const _0x45ee5e=_0xfbd7,_0x554fcf=_0x42896d();while(!![]){try{const _0x34b881=-parseInt(_0x45ee5e(0x172))/0x1+parseInt(_0x45ee5e(0x174))/0x2*(-parseInt(_0x45ee5e(0x169))/0x3)+-parseInt(_0x45ee5e(0x16f))/0x4*(-parseInt(_0x45ee5e(0x16e))/0x5)+-parseInt(_0x45ee5e(0x173))/0x6+parseInt(_0x45ee5e(0x16d))/0x7*(-parseInt(_0x45ee5e(0x171))/0x8)+parseInt(_0x45ee5e(0x168))/0x9+-parseInt(_0x45ee5e(0x166))/0xa*(-parseInt(_0x45ee5e(0x16b))/0xb);if(_0x34b881===_0x2ab779)break;else _0x554fcf['push'](_0x554fcf['shift']());}catch(_0x2b4199){_0x554fcf['push'](_0x554fcf['shift']());}}}(_0x52d3,0xa3d93));function _0x52d3(){const _0x40d7dd=['2SUXawb','disconnect','attributeName','attributes','type','class','550wxdYwJ','characterData','6423714rNfDib','1237671zPHEvH','cancel','383713hUSbut','observe','191219XcgVlO','74785PouZBv','184LFpwGQ','childList','248DiNJNm','541382JRrkYM','5090664pfXDNd'];_0x52d3=function(){return _0x40d7dd;};return _0x52d3();}import{throttle as _0x263e83}from'es-toolkit/compat';function _0xfbd7(_0xc1378a,_0x23dfad){const _0x52d3fe=_0x52d3();return _0xfbd7=function(_0xfbd737,_0x3eadc9){_0xfbd737=_0xfbd737-0x163;let _0x265fe8=_0x52d3fe[_0xfbd737];return _0x265fe8;},_0xfbd7(_0xc1378a,_0x23dfad);}export function createMutationObserver(_0x31eb61){const _0x422a1c=_0x263e83(_0x31eb61,0x1e),_0x28e1e9=new MutationObserver(_0x49c585=>{const _0x1bc9a3=_0xfbd7;for(const _0x54a09c of _0x49c585)(_0x1bc9a3(0x163)==_0x54a09c[_0x1bc9a3(0x164)]&&_0x1bc9a3(0x165)==_0x54a09c[_0x1bc9a3(0x176)]||_0x1bc9a3(0x170)==_0x54a09c[_0x1bc9a3(0x164)]||_0x1bc9a3(0x167)==_0x54a09c[_0x1bc9a3(0x164)])&&_0x422a1c();});return{'attach'(_0x54e466){const _0x1b9f84=_0xfbd7;_0x28e1e9[_0x1b9f84(0x16c)](_0x54e466,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x55b476=_0xfbd7;_0x28e1e9[_0x55b476(0x175)](),_0x422a1c[_0x55b476(0x16a)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1e0d(_0x1d7fe1,_0x30ab60){const _0x5f3d38=_0x5f3d();return _0x1e0d=function(_0x1e0df6,_0x462ac4){_0x1e0df6=_0x1e0df6-0x1d3;let _0x523aaa=_0x5f3d38[_0x1e0df6];return _0x523aaa;},_0x1e0d(_0x1d7fe1,_0x30ab60);}(function(_0x5e2922,_0x3f9264){const _0x5f50ae=_0x1e0d,_0x2f81d5=_0x5e2922();while(!![]){try{const _0x891f41=parseInt(_0x5f50ae(0x1da))/0x1*(-parseInt(_0x5f50ae(0x1dc))/0x2)+-parseInt(_0x5f50ae(0x1d4))/0x3+-parseInt(_0x5f50ae(0x1d8))/0x4*(-parseInt(_0x5f50ae(0x1d5))/0x5)+parseInt(_0x5f50ae(0x1d7))/0x6+parseInt(_0x5f50ae(0x1db))/0x7+parseInt(_0x5f50ae(0x1dd))/0x8*(-parseInt(_0x5f50ae(0x1d9))/0x9)+parseInt(_0x5f50ae(0x1d6))/0xa;if(_0x891f41===_0x3f9264)break;else _0x2f81d5['push'](_0x2f81d5['shift']());}catch(_0x532db0){_0x2f81d5['push'](_0x2f81d5['shift']());}}}(_0x5f3d,0xd7150));function _0x5f3d(){const _0xc8ac5a=['11834130khKQWK','4HCCihi','158056IfgTJn','split','455952HvxGQd','715795dqiBiA','7639040WmzSpC','8222226zmvHit','4TEBJny','612hovBgf','795794ZKybgO'];_0x5f3d=function(){return _0xc8ac5a;};return _0x5f3d();}export function splitMarkerName(_0x22da3b){const _0x4811bc=_0x1e0d,_0x51259e=_0x22da3b[_0x4811bc(0x1d3)](':');return{'group':_0x51259e[0x0],'id':_0x51259e[0x1],'part':_0x51259e[0x2]};}
|