@ckeditor/ckeditor5-comments 46.0.1-alpha.1 → 46.0.1-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x8d95(){const _0x34751d=['visibleViews','setTemplate','authoredAt','render','896hjxzQW','Thread\x20comments','from','element','add','removed','32586IXAtqG','reverse','editorReady','change:isActive','resolveCommentThread','viewUid','change:isResolved','focusFirst','bindTemplate','_model','focus','focusLast','_rearrangeCollapse','_shouldCollapse','change:isEditMode','9103120lfmTMR','destroy','editorDestroyed','expand','_config','Marked\x20as\x20resolved','map','length','createCollection','_rearrangeExpand','_calculatePosition','resolvedAt','_handleInfoComment','change:hasDirtyComment','maxThreadTotalWeight','1425972HFMfqO','refreshVisibleViews','_updateHasDirtyComment','arrowup','925204hiCNJX','equal','forEach','weight','count','arrowdown','_setupKeyboardNavigation','ck-hidden','isActive','listenTo','commentUpdated','added','keystrokes','isEditMode','locale','focusTracker','480951jEDnmp','resolvedCommentView','formatDateTime','25679286RVjwKV','maxCommentsWhenCollapsed','_handleRemoveCommentModel','CommentView','updateComment','get','hasDirtyComment','419470TQYxFp','stopListening','collapse','insert','maxCommentCharsWhenCollapsed','resolvedBy','bind','resolved','target','change','set','16ESqIlk','removeComment','comments','commentViews','focusCycler','ck-thread__comments','_findOptimalIndex','_collapsedCommentsView','includes','delegate','_handleNewCommentModel','delete','remove','some','editorConfig'];_0x8d95=function(){return _0x34751d;};return _0x8d95();}const _0x8590bb=_0x20e1;(function(_0x32d38f,_0x161f8c){const _0x5aa812=_0x20e1,_0x3f08bc=_0x32d38f();while(!![]){try{const _0x4fd436=-parseInt(_0x5aa812(0x11a))/0x1+parseInt(_0x5aa812(0x116))/0x2+parseInt(_0x5aa812(0x12a))/0x3+parseInt(_0x5aa812(0x13f))/0x4*(-parseInt(_0x5aa812(0x134))/0x5)+parseInt(_0x5aa812(0x158))/0x6*(-parseInt(_0x5aa812(0x152))/0x7)+-parseInt(_0x5aa812(0x167))/0x8+parseInt(_0x5aa812(0x12d))/0x9;if(_0x4fd436===_0x161f8c)break;else _0x3f08bc['push'](_0x3f08bc['shift']());}catch(_0x494648){_0x3f08bc['push'](_0x3f08bc['shift']());}}}(_0x8d95,0x9a78f));import{View as _0x197337,FocusCycler as _0x4e1f6f}from'ckeditor5/src/ui.js';function _0x20e1(_0x3b37a6,_0x5123e6){const _0x8d95df=_0x8d95();return _0x20e1=function(_0x20e1a8,_0x1ff0f2){_0x20e1a8=_0x20e1a8-0x108;let _0x37371e=_0x8d95df[_0x20e1a8];return _0x37371e;},_0x20e1(_0x3b37a6,_0x5123e6);}import{diff as _0x222110,Collection as _0x5e881f,FocusTracker as _0x25808b,KeystrokeHandler as _0x3c5f9a}from'ckeditor5/src/utils.js';import{getTranslation as _0x2f2cc5}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x2d549f}from'./collapsedcommentsview.js';export class CommentsListView extends _0x197337{[_0x8590bb(0x142)];[_0x8590bb(0x12b)];[_0x8590bb(0x129)];[_0x8590bb(0x126)];[_0x8590bb(0x143)];[_0x8590bb(0x161)];[_0x8590bb(0x10b)];[_0x8590bb(0x146)];constructor(_0x3cd631,_0x4fc75d,_0x1fdbd5){const _0x24c585=_0x8590bb;super(_0x3cd631);const _0x9fc8e8=this[_0x24c585(0x160)];this[_0x24c585(0x13e)](_0x24c585(0x133),!0x1),this[_0x24c585(0x13e)](_0x24c585(0x10e),_0x4fc75d[_0x24c585(0x141)][_0x24c585(0x10e)]),this[_0x24c585(0x13e)](_0x24c585(0x122),!0x1),this[_0x24c585(0x161)]=_0x4fc75d,this[_0x24c585(0x10b)]=_0x1fdbd5,this[_0x24c585(0x142)]=this[_0x24c585(0x10f)](),this[_0x24c585(0x14e)]=this[_0x24c585(0x10f)](),this[_0x24c585(0x12b)]=null,this[_0x24c585(0x129)]=new _0x25808b(),this[_0x24c585(0x126)]=new _0x3c5f9a(),this[_0x24c585(0x143)]=new _0x4e1f6f({'focusables':this[_0x24c585(0x142)],'focusTracker':this[_0x24c585(0x129)],'keystrokeHandler':this[_0x24c585(0x126)],'keystrokeHandlerOptions':{'filter':_0x419a98=>this[_0x24c585(0x142)][_0x24c585(0x10d)](_0x200e6c=>_0x200e6c[_0x24c585(0x155)])[_0x24c585(0x147)](_0x419a98[_0x24c585(0x13c)])},'actions':{'focusPrevious':_0x24c585(0x119),'focusNext':_0x24c585(0x11f)}}),this[_0x24c585(0x146)]=new _0x2d549f(_0x3cd631),this[_0x24c585(0x146)][_0x24c585(0x13a)](_0x24c585(0x11e))['to'](this,_0x24c585(0x10e),_0x40d0a9=>_0x40d0a9-this[_0x24c585(0x10b)][_0x24c585(0x12e)]);for(const _0x511341 of _0x4fc75d[_0x24c585(0x141)])this[_0x24c585(0x149)](_0x511341);this[_0x24c585(0x113)](),this[_0x24c585(0x123)](_0x4fc75d[_0x24c585(0x141)],_0x24c585(0x156),(_0x5624ab,_0x41c2dc)=>{const _0x105508=_0x24c585,_0x436b40=this[_0x105508(0x111)](_0x41c2dc);this[_0x105508(0x10e)]++,this[_0x105508(0x149)](_0x41c2dc,_0x436b40),this[_0x105508(0x117)]();}),this[_0x24c585(0x123)](_0x4fc75d[_0x24c585(0x141)],_0x24c585(0x14b),(_0x45fd71,_0x47b158)=>{const _0x24a97f=_0x24c585;this[_0x24a97f(0x10e)]--,this[_0x24a97f(0x12f)](_0x47b158),this[_0x24a97f(0x117)]();}),this[_0x24c585(0x123)](_0x4fc75d,_0x24c585(0x124),()=>this[_0x24c585(0x117)]()),this[_0x24c585(0x123)](_0x4fc75d,_0x24c585(0x15e),()=>this[_0x24c585(0x113)]()),this['on'](_0x24c585(0x15b),()=>this[_0x24c585(0x117)]()),this['on'](_0x24c585(0x114),()=>this[_0x24c585(0x117)]()),this[_0x24c585(0x14f)]({'tag':'ul','attributes':{'class':[_0x24c585(0x144),_0x9fc8e8['if'](_0x24c585(0x10e),_0x24c585(0x121),_0x5cb73d=>!_0x5cb73d)],'aria-label':_0x2f2cc5(_0x3cd631,_0x24c585(0x153))},'children':this[_0x24c585(0x14e)]});}get[_0x8590bb(0x165)](){const _0x461356=_0x8590bb;return this[_0x461356(0x161)][_0x461356(0x11d)]>this[_0x461356(0x10b)][_0x461356(0x115)]&&!this[_0x461356(0x122)]&&!this[_0x461356(0x133)];}[_0x8590bb(0x151)](){const _0xaa47e=_0x8590bb;super[_0xaa47e(0x151)](),this[_0xaa47e(0x117)](),this[_0xaa47e(0x120)]();}[_0x8590bb(0x162)](_0x36ae72){const _0x2517d3=_0x8590bb;-0x1===_0x36ae72?this[_0x2517d3(0x143)][_0x2517d3(0x163)]():this[_0x2517d3(0x143)][_0x2517d3(0x15f)]();}[_0x8590bb(0x108)](){const _0x16fc59=_0x8590bb;this[_0x16fc59(0x146)][_0x16fc59(0x108)]();for(const _0x440fe0 of this[_0x16fc59(0x142)])_0x440fe0[_0x16fc59(0x108)]();super[_0x16fc59(0x108)]();}[_0x8590bb(0x117)](){const _0x2d0621=_0x8590bb;this[_0x2d0621(0x165)]?this[_0x2d0621(0x164)]():this[_0x2d0621(0x110)]();}[_0x8590bb(0x149)](_0x123d4b,_0x51ccca){const _0x26c3b8=_0x8590bb,_0x2f2ef7=new this[(_0x26c3b8(0x10b))][(_0x26c3b8(0x130))](this[_0x26c3b8(0x128)],_0x123d4b,{'maxCommentCharsWhenCollapsed':this[_0x26c3b8(0x10b)][_0x26c3b8(0x138)],'formatDateTime':this[_0x26c3b8(0x10b)][_0x26c3b8(0x12c)],'editorConfig':this[_0x26c3b8(0x10b)][_0x26c3b8(0x14d)]});_0x2f2ef7[_0x26c3b8(0x15d)]=_0x123d4b['id'],_0x2f2ef7[_0x26c3b8(0x148)](_0x26c3b8(0x140))['to'](this),_0x2f2ef7[_0x26c3b8(0x148)](_0x26c3b8(0x131))['to'](this),_0x2f2ef7[_0x26c3b8(0x148)](_0x26c3b8(0x15c))['to'](this),_0x2f2ef7[_0x26c3b8(0x148)](_0x26c3b8(0x15a))['to'](this),_0x2f2ef7[_0x26c3b8(0x148)](_0x26c3b8(0x109))['to'](this),this[_0x26c3b8(0x123)](_0x2f2ef7,_0x26c3b8(0x166),()=>this[_0x26c3b8(0x118)]()),this[_0x26c3b8(0x142)][_0x26c3b8(0x156)](_0x2f2ef7,_0x51ccca);}[_0x8590bb(0x111)](_0x283511){const _0x35b331=_0x8590bb,_0x3ca067=this[_0x35b331(0x161)][_0x35b331(0x145)](_0x283511);return this[_0x35b331(0x12b)]?this[_0x35b331(0x12b)][_0x35b331(0x150)]>_0x283511[_0x35b331(0x150)]?_0x3ca067-0x1:_0x3ca067:_0x3ca067-0x1;}[_0x8590bb(0x113)](){const _0x5bdbf4=_0x8590bb;if(this[_0x5bdbf4(0x161)][_0x5bdbf4(0x139)]&&this[_0x5bdbf4(0x161)][_0x5bdbf4(0x112)]){const _0x4f8bb0={'id':_0x5bdbf4(0x13b),'author':this[_0x5bdbf4(0x161)][_0x5bdbf4(0x139)],'authoredAt':this[_0x5bdbf4(0x161)][_0x5bdbf4(0x112)],'content':_0x2f2cc5(this[_0x5bdbf4(0x128)],_0x5bdbf4(0x10c)),'attributes':{}};this[_0x5bdbf4(0x12b)]=new this[(_0x5bdbf4(0x10b))][(_0x5bdbf4(0x130))](this[_0x5bdbf4(0x128)],_0x4f8bb0,{'maxCommentCharsWhenCollapsed':this[_0x5bdbf4(0x10b)][_0x5bdbf4(0x138)],'formatDateTime':this[_0x5bdbf4(0x10b)][_0x5bdbf4(0x12c)],'editorConfig':this[_0x5bdbf4(0x10b)][_0x5bdbf4(0x14d)],'isSystemComment':!0x0}),this[_0x5bdbf4(0x142)][_0x5bdbf4(0x156)](this[_0x5bdbf4(0x12b)],this[_0x5bdbf4(0x161)][_0x5bdbf4(0x145)](_0x4f8bb0));}else this[_0x5bdbf4(0x12b)]&&(this[_0x5bdbf4(0x142)][_0x5bdbf4(0x14b)](this[_0x5bdbf4(0x12b)]),this[_0x5bdbf4(0x12b)][_0x5bdbf4(0x108)](),this[_0x5bdbf4(0x12b)]=null);this[_0x5bdbf4(0x117)]();}[_0x8590bb(0x12f)](_0x36a46e){const _0x494dcd=_0x8590bb,_0x1d5487=this[_0x494dcd(0x142)][_0x494dcd(0x14b)](_0x36a46e['id']);this[_0x494dcd(0x135)](_0x1d5487),_0x1d5487[_0x494dcd(0x127)]&&this[_0x494dcd(0x118)](),_0x1d5487[_0x494dcd(0x108)]();}[_0x8590bb(0x118)](){const _0x210a09=_0x8590bb;this[_0x210a09(0x133)]=Array[_0x210a09(0x154)](this[_0x210a09(0x142)])[_0x210a09(0x14c)](_0x536bc7=>_0x536bc7[_0x210a09(0x127)]);}[_0x8590bb(0x164)](){const _0x3bd7ff=_0x8590bb,_0x3920ec=function(_0x489825){const _0x7ff94e=_0x20e1,_0xd7c3bb=new _0x5e881f();for(const _0x4264a5 of _0x489825)_0xd7c3bb[_0x7ff94e(0x156)](_0x4264a5);return _0xd7c3bb;}(this[_0x3bd7ff(0x142)]),_0x3b65df=this[_0x3bd7ff(0x146)][_0x3bd7ff(0x11e)];for(let _0x21155f=0x1;_0x21155f<=_0x3b65df;_0x21155f++)_0x3920ec[_0x3bd7ff(0x14b)](0x1);for(const _0x91f110 of _0x3920ec)_0x91f110[_0x3bd7ff(0x136)]();_0x3b65df>0x0&&_0x3920ec[_0x3bd7ff(0x156)](this[_0x3bd7ff(0x146)],0x1),ns(_0x222110(Array[_0x3bd7ff(0x154)](this[_0x3bd7ff(0x14e)]),Array[_0x3bd7ff(0x154)](_0x3920ec)),this[_0x3bd7ff(0x14e)],_0x3920ec);}[_0x8590bb(0x110)](){const _0x397a21=_0x8590bb;ns(_0x222110(Array[_0x397a21(0x154)](this[_0x397a21(0x14e)]),Array[_0x397a21(0x154)](this[_0x397a21(0x142)])),this[_0x397a21(0x14e)],this[_0x397a21(0x142)]);for(const _0x5dfa88 of this[_0x397a21(0x14e)])_0x5dfa88[_0x397a21(0x10a)]();}[_0x8590bb(0x120)](){const _0x31ccbf=_0x8590bb;this[_0x31ccbf(0x142)][_0x31ccbf(0x11c)](_0x2924cb=>{const _0x3dbf44=_0x31ccbf;this[_0x3dbf44(0x129)][_0x3dbf44(0x156)](_0x2924cb[_0x3dbf44(0x155)]),this[_0x3dbf44(0x126)][_0x3dbf44(0x123)](_0x2924cb[_0x3dbf44(0x155)]);}),this[_0x31ccbf(0x142)]['on'](_0x31ccbf(0x13d),(_0x54cd59,_0x30717f)=>{const _0x485c2a=_0x31ccbf;for(const _0x4a87c4 of _0x30717f[_0x485c2a(0x157)])this[_0x485c2a(0x129)][_0x485c2a(0x14b)](_0x4a87c4[_0x485c2a(0x155)]),this[_0x485c2a(0x126)][_0x485c2a(0x135)](_0x4a87c4[_0x485c2a(0x155)]);for(const _0x2f3ef4 of Array[_0x485c2a(0x154)](_0x30717f[_0x485c2a(0x125)])[_0x485c2a(0x159)]())this[_0x485c2a(0x129)][_0x485c2a(0x156)](_0x2f3ef4[_0x485c2a(0x155)]),this[_0x485c2a(0x126)][_0x485c2a(0x123)](_0x2f3ef4[_0x485c2a(0x155)]);});}}function ns(_0x28e0cb,_0x590cf8,_0x3d84bf){const _0x1bd544=_0x8590bb;let _0x2371a3=0x0;for(const _0x12f7d7 of _0x28e0cb)switch(_0x12f7d7){case _0x1bd544(0x137):_0x590cf8[_0x1bd544(0x156)](_0x3d84bf[_0x1bd544(0x132)](_0x2371a3),_0x2371a3),_0x2371a3++;break;case _0x1bd544(0x14a):_0x590cf8[_0x1bd544(0x14b)](_0x2371a3);break;case _0x1bd544(0x11b):_0x2371a3++;}}
|
|
23
|
+
function _0x55d5(){const _0x55cdfe=['commentUpdated','focusFirst','_rearrangeCollapse','116vZGiIx','CommentView','204660eUQowt','arrowup','added','_handleInfoComment','delete','850938irUKaY','_handleRemoveCommentModel','_rearrangeExpand','remove','focus','reverse','isActive','_updateHasDirtyComment','commentViews','_collapsedCommentsView','authoredAt','set','8UPcCAr','resolvedBy','collapse','_shouldCollapse','visibleViews','removeComment','_handleNewCommentModel','5secqAP','some','editorDestroyed','length','bindTemplate','comments','change:isResolved','focusTracker','_calculatePosition','target','expand','viewUid','resolvedCommentView','_model','refreshVisibleViews','change:isActive','focusLast','removed','2773855rxbqUv','get','resolveCommentThread','focusCycler','_findOptimalIndex','from','setTemplate','updateComment','destroy','4571778EAWKQz','delegate','1015596WtViuW','Thread\x20comments','maxCommentsWhenCollapsed','change:hasDirtyComment','element','count','arrowdown','keystrokes','resolvedAt','includes','render','hasDirtyComment','formatDateTime','_setupKeyboardNavigation','_config','Marked\x20as\x20resolved','editorConfig','bind','maxCommentCharsWhenCollapsed','editorReady','map','resolved','85539sNZvyi','equal','weight','listenTo','280oIQtds','ck-hidden','forEach','change:isEditMode','insert','isEditMode','locale','stopListening','429310tmuEFG','ck-thread__comments','change','add','createCollection','maxThreadTotalWeight'];_0x55d5=function(){return _0x55cdfe;};return _0x55d5();}const _0x305fc3=_0x2739;(function(_0x36c6a2,_0x49e233){const _0x3f2dae=_0x2739,_0x9bb3bc=_0x36c6a2();while(!![]){try{const _0xcc1df1=parseInt(_0x3f2dae(0x1a9))/0x1+parseInt(_0x3f2dae(0x19e))/0x2+parseInt(_0x3f2dae(0x192))/0x3*(-parseInt(_0x3f2dae(0x1a7))/0x4)+parseInt(_0x3f2dae(0x1c1))/0x5*(-parseInt(_0x3f2dae(0x1dc))/0x6)+-parseInt(_0x3f2dae(0x1d3))/0x7+parseInt(_0x3f2dae(0x1ba))/0x8*(-parseInt(_0x3f2dae(0x17c))/0x9)+parseInt(_0x3f2dae(0x196))/0xa*(parseInt(_0x3f2dae(0x1ae))/0xb);if(_0xcc1df1===_0x49e233)break;else _0x9bb3bc['push'](_0x9bb3bc['shift']());}catch(_0x143fd0){_0x9bb3bc['push'](_0x9bb3bc['shift']());}}}(_0x55d5,0x76fde));import{View as _0x23eaf5,FocusCycler as _0x4b8343}from'ckeditor5/src/ui.js';import{diff as _0x390856,Collection as _0x3650db,FocusTracker as _0x4f9ab3,KeystrokeHandler as _0x11558f}from'ckeditor5/src/utils.js';import{getTranslation as _0x5b6b7d}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x121238}from'./collapsedcommentsview.js';function _0x2739(_0x2d4c4f,_0x2d9fe6){const _0x55d5d5=_0x55d5();return _0x2739=function(_0x27390b,_0x5f2f2c){_0x27390b=_0x27390b-0x17c;let _0x2371fc=_0x55d5d5[_0x27390b];return _0x2371fc;},_0x2739(_0x2d4c4f,_0x2d9fe6);}export class CommentsListView extends _0x23eaf5{[_0x305fc3(0x1b6)];[_0x305fc3(0x1cd)];[_0x305fc3(0x1c8)];[_0x305fc3(0x183)];[_0x305fc3(0x1d6)];[_0x305fc3(0x1ce)];[_0x305fc3(0x18a)];[_0x305fc3(0x1b7)];constructor(_0x3d8001,_0x4deff3,_0x53b80d){const _0x376fe4=_0x305fc3;super(_0x3d8001);const _0x4ff4ca=this[_0x376fe4(0x1c5)];this[_0x376fe4(0x1b9)](_0x376fe4(0x187),!0x1),this[_0x376fe4(0x1b9)](_0x376fe4(0x1c4),_0x4deff3[_0x376fe4(0x1c6)][_0x376fe4(0x1c4)]),this[_0x376fe4(0x1b9)](_0x376fe4(0x1b4),!0x1),this[_0x376fe4(0x1ce)]=_0x4deff3,this[_0x376fe4(0x18a)]=_0x53b80d,this[_0x376fe4(0x1b6)]=this[_0x376fe4(0x1a2)](),this[_0x376fe4(0x1be)]=this[_0x376fe4(0x1a2)](),this[_0x376fe4(0x1cd)]=null,this[_0x376fe4(0x1c8)]=new _0x4f9ab3(),this[_0x376fe4(0x183)]=new _0x11558f(),this[_0x376fe4(0x1d6)]=new _0x4b8343({'focusables':this[_0x376fe4(0x1b6)],'focusTracker':this[_0x376fe4(0x1c8)],'keystrokeHandler':this[_0x376fe4(0x183)],'keystrokeHandlerOptions':{'filter':_0x4501d2=>this[_0x376fe4(0x1b6)][_0x376fe4(0x190)](_0x3af351=>_0x3af351[_0x376fe4(0x180)])[_0x376fe4(0x185)](_0x4501d2[_0x376fe4(0x1ca)])},'actions':{'focusPrevious':_0x376fe4(0x1aa),'focusNext':_0x376fe4(0x182)}}),this[_0x376fe4(0x1b7)]=new _0x121238(_0x3d8001),this[_0x376fe4(0x1b7)][_0x376fe4(0x18d)](_0x376fe4(0x181))['to'](this,_0x376fe4(0x1c4),_0x1831ec=>_0x1831ec-this[_0x376fe4(0x18a)][_0x376fe4(0x17e)]);for(const _0x5bd8bc of _0x4deff3[_0x376fe4(0x1c6)])this[_0x376fe4(0x1c0)](_0x5bd8bc);this[_0x376fe4(0x1ac)](),this[_0x376fe4(0x195)](_0x4deff3[_0x376fe4(0x1c6)],_0x376fe4(0x1a1),(_0x590a78,_0x5553f5)=>{const _0x5561a0=_0x376fe4,_0x4e648e=this[_0x5561a0(0x1c9)](_0x5553f5);this[_0x5561a0(0x1c4)]++,this[_0x5561a0(0x1c0)](_0x5553f5,_0x4e648e),this[_0x5561a0(0x1cf)]();}),this[_0x376fe4(0x195)](_0x4deff3[_0x376fe4(0x1c6)],_0x376fe4(0x1b1),(_0x86d471,_0x428cc3)=>{const _0x12c73d=_0x376fe4;this[_0x12c73d(0x1c4)]--,this[_0x12c73d(0x1af)](_0x428cc3),this[_0x12c73d(0x1cf)]();}),this[_0x376fe4(0x195)](_0x4deff3,_0x376fe4(0x1a4),()=>this[_0x376fe4(0x1cf)]()),this[_0x376fe4(0x195)](_0x4deff3,_0x376fe4(0x1c7),()=>this[_0x376fe4(0x1ac)]()),this['on'](_0x376fe4(0x1d0),()=>this[_0x376fe4(0x1cf)]()),this['on'](_0x376fe4(0x17f),()=>this[_0x376fe4(0x1cf)]()),this[_0x376fe4(0x1d9)]({'tag':'ul','attributes':{'class':[_0x376fe4(0x19f),_0x4ff4ca['if'](_0x376fe4(0x1c4),_0x376fe4(0x197),_0x58fa2f=>!_0x58fa2f)],'aria-label':_0x5b6b7d(_0x3d8001,_0x376fe4(0x17d))},'children':this[_0x376fe4(0x1be)]});}get[_0x305fc3(0x1bd)](){const _0x302d0b=_0x305fc3;return this[_0x302d0b(0x1ce)][_0x302d0b(0x194)]>this[_0x302d0b(0x18a)][_0x302d0b(0x1a3)]&&!this[_0x302d0b(0x1b4)]&&!this[_0x302d0b(0x187)];}[_0x305fc3(0x186)](){const _0x3276f3=_0x305fc3;super[_0x3276f3(0x186)](),this[_0x3276f3(0x1cf)](),this[_0x3276f3(0x189)]();}[_0x305fc3(0x1b2)](_0x49655d){const _0xf16a77=_0x305fc3;-0x1===_0x49655d?this[_0xf16a77(0x1d6)][_0xf16a77(0x1d1)]():this[_0xf16a77(0x1d6)][_0xf16a77(0x1a5)]();}[_0x305fc3(0x1db)](){const _0x36ac0c=_0x305fc3;this[_0x36ac0c(0x1b7)][_0x36ac0c(0x1db)]();for(const _0x186d21 of this[_0x36ac0c(0x1b6)])_0x186d21[_0x36ac0c(0x1db)]();super[_0x36ac0c(0x1db)]();}[_0x305fc3(0x1cf)](){const _0x5329cf=_0x305fc3;this[_0x5329cf(0x1bd)]?this[_0x5329cf(0x1a6)]():this[_0x5329cf(0x1b0)]();}[_0x305fc3(0x1c0)](_0x1906fc,_0x60b9a3){const _0x57b232=_0x305fc3,_0x222f59=new this[(_0x57b232(0x18a))][(_0x57b232(0x1a8))](this[_0x57b232(0x19c)],_0x1906fc,{'maxCommentCharsWhenCollapsed':this[_0x57b232(0x18a)][_0x57b232(0x18e)],'formatDateTime':this[_0x57b232(0x18a)][_0x57b232(0x188)],'editorConfig':this[_0x57b232(0x18a)][_0x57b232(0x18c)]});_0x222f59[_0x57b232(0x1cc)]=_0x1906fc['id'],_0x222f59[_0x57b232(0x1dd)](_0x57b232(0x1bf))['to'](this),_0x222f59[_0x57b232(0x1dd)](_0x57b232(0x1da))['to'](this),_0x222f59[_0x57b232(0x1dd)](_0x57b232(0x1d5))['to'](this),_0x222f59[_0x57b232(0x1dd)](_0x57b232(0x18f))['to'](this),_0x222f59[_0x57b232(0x1dd)](_0x57b232(0x1c3))['to'](this),this[_0x57b232(0x195)](_0x222f59,_0x57b232(0x199),()=>this[_0x57b232(0x1b5)]()),this[_0x57b232(0x1b6)][_0x57b232(0x1a1)](_0x222f59,_0x60b9a3);}[_0x305fc3(0x1c9)](_0x4cbeac){const _0x31623d=_0x305fc3,_0x5b0d8f=this[_0x31623d(0x1ce)][_0x31623d(0x1d7)](_0x4cbeac);return this[_0x31623d(0x1cd)]?this[_0x31623d(0x1cd)][_0x31623d(0x1b8)]>_0x4cbeac[_0x31623d(0x1b8)]?_0x5b0d8f-0x1:_0x5b0d8f:_0x5b0d8f-0x1;}[_0x305fc3(0x1ac)](){const _0x55c614=_0x305fc3;if(this[_0x55c614(0x1ce)][_0x55c614(0x1bb)]&&this[_0x55c614(0x1ce)][_0x55c614(0x184)]){const _0x9af82={'id':_0x55c614(0x191),'author':this[_0x55c614(0x1ce)][_0x55c614(0x1bb)],'authoredAt':this[_0x55c614(0x1ce)][_0x55c614(0x184)],'content':_0x5b6b7d(this[_0x55c614(0x19c)],_0x55c614(0x18b)),'attributes':{}};this[_0x55c614(0x1cd)]=new this[(_0x55c614(0x18a))][(_0x55c614(0x1a8))](this[_0x55c614(0x19c)],_0x9af82,{'maxCommentCharsWhenCollapsed':this[_0x55c614(0x18a)][_0x55c614(0x18e)],'formatDateTime':this[_0x55c614(0x18a)][_0x55c614(0x188)],'editorConfig':this[_0x55c614(0x18a)][_0x55c614(0x18c)],'isSystemComment':!0x0}),this[_0x55c614(0x1b6)][_0x55c614(0x1a1)](this[_0x55c614(0x1cd)],this[_0x55c614(0x1ce)][_0x55c614(0x1d7)](_0x9af82));}else this[_0x55c614(0x1cd)]&&(this[_0x55c614(0x1b6)][_0x55c614(0x1b1)](this[_0x55c614(0x1cd)]),this[_0x55c614(0x1cd)][_0x55c614(0x1db)](),this[_0x55c614(0x1cd)]=null);this[_0x55c614(0x1cf)]();}[_0x305fc3(0x1af)](_0x5d6dd3){const _0x2644dc=_0x305fc3,_0x5b2052=this[_0x2644dc(0x1b6)][_0x2644dc(0x1b1)](_0x5d6dd3['id']);this[_0x2644dc(0x19d)](_0x5b2052),_0x5b2052[_0x2644dc(0x19b)]&&this[_0x2644dc(0x1b5)](),_0x5b2052[_0x2644dc(0x1db)]();}[_0x305fc3(0x1b5)](){const _0x369817=_0x305fc3;this[_0x369817(0x187)]=Array[_0x369817(0x1d8)](this[_0x369817(0x1b6)])[_0x369817(0x1c2)](_0x244143=>_0x244143[_0x369817(0x19b)]);}[_0x305fc3(0x1a6)](){const _0x4fe3b2=_0x305fc3,_0x3f84ca=function(_0x3bfba0){const _0x1b444d=_0x2739,_0xfed48d=new _0x3650db();for(const _0xf628de of _0x3bfba0)_0xfed48d[_0x1b444d(0x1a1)](_0xf628de);return _0xfed48d;}(this[_0x4fe3b2(0x1b6)]),_0x4ec46b=this[_0x4fe3b2(0x1b7)][_0x4fe3b2(0x181)];for(let _0x4ed5f1=0x1;_0x4ed5f1<=_0x4ec46b;_0x4ed5f1++)_0x3f84ca[_0x4fe3b2(0x1b1)](0x1);for(const _0x3d46c0 of _0x3f84ca)_0x3d46c0[_0x4fe3b2(0x1bc)]();_0x4ec46b>0x0&&_0x3f84ca[_0x4fe3b2(0x1a1)](this[_0x4fe3b2(0x1b7)],0x1),ns(_0x390856(Array[_0x4fe3b2(0x1d8)](this[_0x4fe3b2(0x1be)]),Array[_0x4fe3b2(0x1d8)](_0x3f84ca)),this[_0x4fe3b2(0x1be)],_0x3f84ca);}[_0x305fc3(0x1b0)](){const _0x53348b=_0x305fc3;ns(_0x390856(Array[_0x53348b(0x1d8)](this[_0x53348b(0x1be)]),Array[_0x53348b(0x1d8)](this[_0x53348b(0x1b6)])),this[_0x53348b(0x1be)],this[_0x53348b(0x1b6)]);for(const _0x58072c of this[_0x53348b(0x1be)])_0x58072c[_0x53348b(0x1cb)]();}[_0x305fc3(0x189)](){const _0x509844=_0x305fc3;this[_0x509844(0x1b6)][_0x509844(0x198)](_0x2b5436=>{const _0xde0de6=_0x509844;this[_0xde0de6(0x1c8)][_0xde0de6(0x1a1)](_0x2b5436[_0xde0de6(0x180)]),this[_0xde0de6(0x183)][_0xde0de6(0x195)](_0x2b5436[_0xde0de6(0x180)]);}),this[_0x509844(0x1b6)]['on'](_0x509844(0x1a0),(_0xcaca7c,_0x265383)=>{const _0x40875c=_0x509844;for(const _0x56c016 of _0x265383[_0x40875c(0x1d2)])this[_0x40875c(0x1c8)][_0x40875c(0x1b1)](_0x56c016[_0x40875c(0x180)]),this[_0x40875c(0x183)][_0x40875c(0x19d)](_0x56c016[_0x40875c(0x180)]);for(const _0x4f3deb of Array[_0x40875c(0x1d8)](_0x265383[_0x40875c(0x1ab)])[_0x40875c(0x1b3)]())this[_0x40875c(0x1c8)][_0x40875c(0x1a1)](_0x4f3deb[_0x40875c(0x180)]),this[_0x40875c(0x183)][_0x40875c(0x195)](_0x4f3deb[_0x40875c(0x180)]);});}}function ns(_0xf38c95,_0x4d459b,_0x5042d1){const _0x1db62c=_0x305fc3;let _0x2eddd5=0x0;for(const _0x488133 of _0xf38c95)switch(_0x488133){case _0x1db62c(0x19a):_0x4d459b[_0x1db62c(0x1a1)](_0x5042d1[_0x1db62c(0x1d4)](_0x2eddd5),_0x2eddd5),_0x2eddd5++;break;case _0x1db62c(0x1ad):_0x4d459b[_0x1db62c(0x1b1)](_0x2eddd5);break;case _0x1db62c(0x193):_0x2eddd5++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x8fd6ac=_0xf706;(function(_0x444b9f,_0x2fcb8d){const _0xd0c23f=_0xf706,_0x129836=_0x444b9f();while(!![]){try{const _0x3aae6d=-parseInt(_0xd0c23f(0x159))/0x1*(parseInt(_0xd0c23f(0x14d))/0x2)+-parseInt(_0xd0c23f(0x150))/0x3*(parseInt(_0xd0c23f(0x154))/0x4)+parseInt(_0xd0c23f(0x15f))/0x5*(-parseInt(_0xd0c23f(0x152))/0x6)+-parseInt(_0xd0c23f(0x161))/0x7*(parseInt(_0xd0c23f(0x156))/0x8)+-parseInt(_0xd0c23f(0x162))/0x9*(-parseInt(_0xd0c23f(0x151))/0xa)+-parseInt(_0xd0c23f(0x14f))/0xb+parseInt(_0xd0c23f(0x155))/0xc*(parseInt(_0xd0c23f(0x15a))/0xd);if(_0x3aae6d===_0x2fcb8d)break;else _0x129836['push'](_0x129836['shift']());}catch(_0x18a5d1){_0x129836['push'](_0x129836['shift']());}}}(_0x15e2,0xc04a5));import{View as _0x610a10}from'ckeditor5/src/ui.js';function _0xf706(_0x30bfa4,_0x41d297){const _0x15e26c=_0x15e2();return _0xf706=function(_0xf70636,_0x4536f0){_0xf70636=_0xf70636-0x14d;let _0x16c3f3=_0x15e26c[_0xf70636];return _0x16c3f3;},_0xf706(_0x30bfa4,_0x41d297);}import{getTranslation as _0x10c96e}from'../../../utils/common-translations.js';function _0x15e2(){const _0x177b15=['1227331CBBaiX','10726218FRhHtK','2369012jYxIEJ','bindTemplate','14334441XKUdqv','495906zEfYbB','10cIgyeb','18phUBBV','focus','28cPdfCO','396vviBPe','48GJjPsb','contextValue','span','1tttalq','1980914vMlrnz','set','THREAD_CONTEXT_LABEL','ck-context__value','setTemplate','1226510oqdTlB','element'];_0x15e2=function(){return _0x177b15;};return _0x15e2();}export class CommentThreadHeaderContextView extends _0x610a10{constructor(_0x4f8f74){const _0x31c330=_0xf706;super(_0x4f8f74);const _0x8c2a27=this[_0x31c330(0x14e)];this[_0x31c330(0x15b)](_0x31c330(0x157),''),this[_0x31c330(0x15e)]({'tag':_0x31c330(0x158),'attributes':{'class':['ck',_0x31c330(0x15d)],'aria-label':_0x8c2a27['to'](_0x31c330(0x157),_0x4fe40c=>_0x10c96e(_0x4f8f74,_0x31c330(0x15c),_0x4fe40c)),'tabindex':-0x1},'children':[{'text':_0x8c2a27['to'](_0x31c330(0x157))}]});}[_0x8fd6ac(0x153)](){const _0x5b5bfe=_0x8fd6ac;this[_0x5b5bfe(0x160)][_0x5b5bfe(0x153)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5c73(_0x2dcc50,_0x952312){const _0x361a20=_0x361a();return _0x5c73=function(_0x5c7335,_0x357e72){_0x5c7335=_0x5c7335-0x1c4;let _0x7b2ab5=_0x361a20[_0x5c7335];return _0x7b2ab5;},_0x5c73(_0x2dcc50,_0x952312);}const _0x4e5673=_0x5c73;(function(_0x26cdb4,_0x3c189c){const _0x7a7b0f=_0x5c73,_0x2e038d=_0x26cdb4();while(!![]){try{const _0x4621fd=parseInt(_0x7a7b0f(0x1db))/0x1*(parseInt(_0x7a7b0f(0x1fc))/0x2)+parseInt(_0x7a7b0f(0x1e1))/0x3*(-parseInt(_0x7a7b0f(0x1fa))/0x4)+-parseInt(_0x7a7b0f(0x1cf))/0x5+-parseInt(_0x7a7b0f(0x1ca))/0x6*(parseInt(_0x7a7b0f(0x1fd))/0x7)+parseInt(_0x7a7b0f(0x1e5))/0x8*(parseInt(_0x7a7b0f(0x1d8))/0x9)+parseInt(_0x7a7b0f(0x1f3))/0xa*(parseInt(_0x7a7b0f(0x1d6))/0xb)+-parseInt(_0x7a7b0f(0x1c9))/0xc*(-parseInt(_0x7a7b0f(0x1df))/0xd);if(_0x4621fd===_0x3c189c)break;else _0x2e038d['push'](_0x2e038d['shift']());}catch(_0x4c6178){_0x2e038d['push'](_0x2e038d['shift']());}}}(_0x361a,0x95bf8));import{View as _0x4d539e,ButtonView as _0x3199eb,FocusCycler as _0x50296b}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1b2678,KeystrokeHandler as _0x28f75e}from'ckeditor5/src/utils.js';import{IconUndo as _0x14a4c3}from'ckeditor5/src/icons.js';import{getTranslation as _0x3565af}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x219d63}from'./commentthreadheadercontextview.js';function _0x361a(){const _0xe27698=['Reopen','.ck-context','mouseenter','isEnabled','mouseleave','351910sHXAgd','label','offsetWidth','classList','Comment\x20was\x20made\x20on\x20an\x20element','lastIndexOf','isVisible','4xzhMwK','_model','1525006QpOgjS','4559079gPqeZk','focus','remove','_createContextView','focusFirst','ck-context-wrapper','div','contextView','setTemplate','fire','substring','ck-context--quotes','length','isResolvable','bind','render','reopenButtonView','tab','createCollection','element','overlay','...','contextValue','5688qZyzYN','6XjmWyC','bindTemplate','icon','locale','focusTracker','1984570HumtRn','keystrokes','ck-context','execute','value','isResolved','_trimContextValue','55sMSlWB','_createReopenButton','3516984NdvZSZ','ck-annotation__actions','context','1PQWKcF','_setupKeyboardNavigation','ck-thread__header','isReadOnly','35282vNRvbN','listenTo','2862273UHgmFl','reopenCommentThread','shift+tab','add','8rFFciu','scrollWidth','hasContext','querySelector','focusables','_attachContextActions','focusCycler','tooltip','.ck-context__value'];_0x361a=function(){return _0xe27698;};return _0x361a();}export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x4d539e{[_0x4e5673(0x1fb)];[_0x4e5673(0x20d)];[_0x4e5673(0x204)];[_0x4e5673(0x1e9)];[_0x4e5673(0x1ce)];[_0x4e5673(0x1d0)];[_0x4e5673(0x1eb)];constructor(_0x50a462,_0x5f0f80){const _0x2b2d69=_0x4e5673;super(_0x50a462);const _0x31fb92=this[_0x2b2d69(0x1cb)];this[_0x2b2d69(0x1fb)]=_0x5f0f80,this[_0x2b2d69(0x20d)]=this[_0x2b2d69(0x1d7)](),this[_0x2b2d69(0x204)]=this[_0x2b2d69(0x200)](),this[_0x2b2d69(0x1e9)]=this[_0x2b2d69(0x1c4)]([this[_0x2b2d69(0x204)],this[_0x2b2d69(0x20d)]]),this[_0x2b2d69(0x1ce)]=new _0x1b2678(),this[_0x2b2d69(0x1d0)]=new _0x28f75e(),this[_0x2b2d69(0x1eb)]=new _0x50296b({'focusables':this[_0x2b2d69(0x1e9)],'focusTracker':this[_0x2b2d69(0x1ce)],'keystrokeHandler':this[_0x2b2d69(0x1d0)],'actions':{'focusPrevious':_0x2b2d69(0x1e3),'focusNext':_0x2b2d69(0x20e)}}),this[_0x2b2d69(0x20b)](_0x2b2d69(0x1e7))['to'](this[_0x2b2d69(0x1fb)],_0x2b2d69(0x1da),_0x5756f8=>!!_0x5756f8),this[_0x2b2d69(0x20b)](_0x2b2d69(0x1c8))['to'](this[_0x2b2d69(0x1fb)],_0x2b2d69(0x1da),_0x2ebcad=>_0x2ebcad&&_0x2ebcad[_0x2b2d69(0x1d3)]?this[_0x2b2d69(0x1d5)](_0x2ebcad[_0x2b2d69(0x1d3)]):_0x3565af(this[_0x2b2d69(0x1cd)],_0x2b2d69(0x1f7))),this[_0x2b2d69(0x205)]({'tag':_0x2b2d69(0x203),'attributes':{'class':[_0x2b2d69(0x1dd)]},'children':[{'tag':_0x2b2d69(0x203),'attributes':{'class':[_0x2b2d69(0x202)]},'children':[{'tag':_0x2b2d69(0x203),'attributes':{'class':[_0x2b2d69(0x1d1),_0x31fb92['if'](_0x2b2d69(0x1e7),_0x2b2d69(0x208))]},'children':[this[_0x2b2d69(0x204)]]}]},{'tag':_0x2b2d69(0x203),'attributes':{'class':[_0x2b2d69(0x1d9)]},'children':[this[_0x2b2d69(0x20d)]]}]});}[_0x4e5673(0x20c)](){const _0x3f59ac=_0x4e5673;super[_0x3f59ac(0x20c)](),this[_0x3f59ac(0x1ea)](),this[_0x3f59ac(0x1dc)]();}[_0x4e5673(0x1fe)](){const _0x3dbdd1=_0x4e5673;this[_0x3dbdd1(0x1eb)][_0x3dbdd1(0x201)]();}[_0x4e5673(0x1d7)](){const _0x169712=_0x4e5673,_0x53f2ab=new _0x3199eb(this[_0x169712(0x1cd)]);return _0x53f2ab[_0x169712(0x1f4)]=_0x3565af(this[_0x169712(0x1cd)],_0x169712(0x1ee)),_0x53f2ab[_0x169712(0x1ec)]=_0x3565af(this[_0x169712(0x1cd)],_0x169712(0x1ee)),_0x53f2ab[_0x169712(0x1cc)]=_0x14a4c3,_0x53f2ab[_0x169712(0x20b)](_0x169712(0x1f1))['to'](this[_0x169712(0x1fb)],_0x169712(0x1de),_0x4b6945=>!_0x4b6945),_0x53f2ab[_0x169712(0x20b)](_0x169712(0x1f9))['to'](this[_0x169712(0x1fb)],_0x169712(0x20a),this[_0x169712(0x1fb)],_0x169712(0x1d4),(_0x580e95,_0x3ef555)=>_0x580e95&&_0x3ef555),_0x53f2ab['on'](_0x169712(0x1d2),()=>{const _0x210f7f=_0x169712;this[_0x210f7f(0x206)](_0x210f7f(0x1e2),this[_0x210f7f(0x1fb)]['id']);}),_0x53f2ab;}[_0x4e5673(0x1d5)](_0x49a3f8){const _0x30e8c2=_0x4e5673;if(_0x49a3f8[_0x30e8c2(0x209)]<0x96)return _0x49a3f8;const _0xb21ab6=_0x49a3f8[_0x30e8c2(0x1f8)]('\x20',0x93);return _0x49a3f8[_0x30e8c2(0x207)](0x0,_0xb21ab6>-0x1?_0xb21ab6:0x93)+_0x30e8c2(0x1c7);}[_0x4e5673(0x1ea)](){const _0x58e9e4=_0x4e5673,_0x2b0cb2=this[_0x58e9e4(0x1c5)][_0x58e9e4(0x1e8)](_0x58e9e4(0x1ef)),_0x5a4fef=_0x2b0cb2[_0x58e9e4(0x1e8)](_0x58e9e4(0x1ed));this[_0x58e9e4(0x1e0)](_0x2b0cb2,_0x58e9e4(0x1f0),()=>{const _0x5aced6=_0x58e9e4;_0x5a4fef[_0x5aced6(0x1f5)]<_0x5a4fef[_0x5aced6(0x1e6)]&&_0x2b0cb2[_0x5aced6(0x1f6)][_0x5aced6(0x1e4)](_0x5aced6(0x1c6));}),this[_0x58e9e4(0x1e0)](_0x2b0cb2,_0x58e9e4(0x1f2),()=>{const _0x543dbf=_0x58e9e4;_0x2b0cb2[_0x543dbf(0x1f6)][_0x543dbf(0x1ff)](_0x543dbf(0x1c6));});}[_0x4e5673(0x1dc)](){const _0x4818af=_0x4e5673;this[_0x4818af(0x1d0)][_0x4818af(0x1e0)](this[_0x4818af(0x1c5)]);for(const _0x3cfaa8 of this[_0x4818af(0x1e9)])this[_0x4818af(0x1ce)][_0x4818af(0x1e4)](_0x3cfaa8[_0x4818af(0x1c5)]),this[_0x4818af(0x1d0)][_0x4818af(0x1e0)](_0x3cfaa8[_0x4818af(0x1c5)]);}[_0x4e5673(0x200)](){const _0xa58353=_0x4e5673,_0x439d0c=new _0x219d63(this[_0xa58353(0x1cd)]);return _0x439d0c[_0xa58353(0x20b)](_0xa58353(0x1c8))['to'](this),_0x439d0c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13cd64=_0x65c4;function _0x65c4(_0xbe7201,_0x3c7205){const _0x4924c6=_0x4924();return _0x65c4=function(_0x65c492,_0x4b8fc5){_0x65c492=_0x65c492-0x1dc;let _0x2dbf6d=_0x4924c6[_0x65c492];return _0x2dbf6d;},_0x65c4(_0xbe7201,_0x3c7205);}(function(_0x5b39d9,_0x5b8e48){const _0x365831=_0x65c4,_0x4c6fbc=_0x5b39d9();while(!![]){try{const _0x4daf01=parseInt(_0x365831(0x209))/0x1+-parseInt(_0x365831(0x1fc))/0x2+parseInt(_0x365831(0x1e4))/0x3*(parseInt(_0x365831(0x20a))/0x4)+-parseInt(_0x365831(0x208))/0x5*(parseInt(_0x365831(0x204))/0x6)+-parseInt(_0x365831(0x1e0))/0x7*(-parseInt(_0x365831(0x1f3))/0x8)+-parseInt(_0x365831(0x1f9))/0x9+parseInt(_0x365831(0x1fd))/0xa*(-parseInt(_0x365831(0x1f2))/0xb);if(_0x4daf01===_0x5b8e48)break;else _0x4c6fbc['push'](_0x4c6fbc['shift']());}catch(_0x599751){_0x4c6fbc['push'](_0x4c6fbc['shift']());}}}(_0x4924,0xb059d));import{View as _0x1db873}from'ckeditor5/src/ui.js';function _0x4924(){const _0x5ed6ca=['183656TqJToo','4727888FtdUDO','delegate','ck-thread__user','editorDestroyed','destroy','render','1212750eAOnQT','getDomRoot','commentInputView','107440AxJMkS','390CaCdkU','mousedown','ck-comment__input-container--active','focusCycler','editing','then','filter','1932144WBXlyY','focus','ck-comment__input-container','listenTo','15rSMQYv','1227244HvFgAt','4Smnjmt','some','isFocused','_focusOnNonInteractiveMouseDown','contains','showInput','value','setTemplate','createEditor','7mxHZFW','editor','target','element','2129367byauQX','focusTracker','showButtons','div','extendTemplate','userView','bindTemplate','change:showInput','ck-thread__input','view','preventDefault','bind','set','editorReady'];_0x4924=function(){return _0x5ed6ca;};return _0x4924();}import{CommentInputView as _0x3ad4f0}from'./commentinputview.js';import{UserView as _0x36a585}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x1db873{constructor(_0x214759,_0x2bcf58,_0x36b033){const _0x14913c=_0x65c4;super(_0x214759),this[_0x14913c(0x1fb)]=new _0x3ad4f0(_0x214759,_0x36b033),this[_0x14913c(0x200)]=this[_0x14913c(0x1fb)][_0x14913c(0x200)],this[_0x14913c(0x1fb)][_0x14913c(0x1ef)](_0x14913c(0x1e6))['to'](this[_0x14913c(0x1fb)][_0x14913c(0x1e5)],_0x14913c(0x20c),this[_0x14913c(0x1fb)],_0x14913c(0x1dd),(_0x1f3c05,_0xca5d57)=>_0x1f3c05||!!_0xca5d57),this[_0x14913c(0x1f0)](_0x14913c(0x1dc),!0x1),this['on'](_0x14913c(0x1eb),()=>{const _0x4cd3a3=_0x14913c;this[_0x4cd3a3(0x1dc)]&&!this[_0x4cd3a3(0x1fb)][_0x4cd3a3(0x1e1)]&&this[_0x4cd3a3(0x1fb)][_0x4cd3a3(0x1df)]();}),this[_0x14913c(0x1fb)][_0x14913c(0x1f4)](_0x14913c(0x1f1))['to'](this),this[_0x14913c(0x1fb)][_0x14913c(0x1f4)](_0x14913c(0x1f6))['to'](this),this[_0x14913c(0x1e9)]=new _0x36a585(_0x214759,_0x2bcf58),this[_0x14913c(0x1e9)][_0x14913c(0x1e8)]({'attributes':{'class':_0x14913c(0x1f5),'aria-hidden':!0x0}}),this[_0x14913c(0x1fb)][_0x14913c(0x1e8)]({'attributes':{'class':_0x14913c(0x1ec)}}),this[_0x14913c(0x1de)]({'tag':_0x14913c(0x1e7),'attributes':{'class':[_0x14913c(0x206),this[_0x14913c(0x1ea)]['if'](_0x14913c(0x1dc),_0x14913c(0x1ff))]},'children':[this[_0x14913c(0x1e9)],this[_0x14913c(0x1fb)]]});}[_0x13cd64(0x1f8)](){const _0x2134af=_0x13cd64;super[_0x2134af(0x1f8)](),this[_0x2134af(0x20d)]();}[_0x13cd64(0x1f7)](){const _0x327079=_0x13cd64;return this[_0x327079(0x1fb)][_0x327079(0x1f7)]()[_0x327079(0x202)](()=>super[_0x327079(0x1f7)]());}[_0x13cd64(0x205)](_0xa7ac37){const _0x165dec=_0x13cd64;this[_0x165dec(0x1fb)][_0x165dec(0x205)](_0xa7ac37);}[_0x13cd64(0x20d)](){const _0x2ed7f4=_0x13cd64;this[_0x2ed7f4(0x207)](this[_0x2ed7f4(0x1e3)],_0x2ed7f4(0x1fe),(_0x1ad80b,_0x3b93f7)=>{const _0x49d620=_0x2ed7f4,{submitButtonView:_0x279c81,cancelButtonView:_0x5bb19c,editor:_0x254136}=this[_0x49d620(0x1fb)];[_0x279c81[_0x49d620(0x1e3)],_0x5bb19c[_0x49d620(0x1e3)],_0x254136?_0x254136[_0x49d620(0x201)][_0x49d620(0x1ed)][_0x49d620(0x1fa)]():null][_0x49d620(0x203)](_0x7c8671=>_0x7c8671)[_0x49d620(0x20b)](_0x468e67=>_0x468e67[_0x49d620(0x20e)](_0x3b93f7[_0x49d620(0x1e2)]))||(this[_0x49d620(0x205)](),_0x3b93f7[_0x49d620(0x1ee)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x576c29=_0x128b;(function(_0x293c4b,_0x1c7f79){const _0x5aa363=_0x128b,_0x1e2d29=_0x293c4b();while(!![]){try{const _0x1737ad=-parseInt(_0x5aa363(0x1d8))/0x1+parseInt(_0x5aa363(0x1e2))/0x2*(parseInt(_0x5aa363(0x1b8))/0x3)+-parseInt(_0x5aa363(0x1ed))/0x4+parseInt(_0x5aa363(0x1c1))/0x5+parseInt(_0x5aa363(0x1f5))/0x6*(-parseInt(_0x5aa363(0x1b4))/0x7)+-parseInt(_0x5aa363(0x1d2))/0x8+parseInt(_0x5aa363(0x1d3))/0x9;if(_0x1737ad===_0x1c7f79)break;else _0x1e2d29['push'](_0x1e2d29['shift']());}catch(_0x317017){_0x1e2d29['push'](_0x1e2d29['shift']());}}}(_0x1ee4,0x6cb0e));function _0x1ee4(){const _0x201ac7=['ck-reset_all-excluded','removeButton','listenTo','Resolve','ck-thread--remove-confirmation','_model','icon','commentThreadInputView','1604cBFgNV','focusables','add','actionIndicator','ck-thread--unlinked','has','high','isUnlinked','showConfirm','createCollection','ck-comment--resolve','580184vSMsja','locale','commentsListView','removeCommentThread','ariaLabel','ck-thread--','stop','div','1028472DIJusi','change:isReadOnly','ck-thread','bindTemplate','isActive','.ck-thread__container','_cancelAllConfirms','focus','isResolvable','actionBar','get','unbind','then','isVisible','_updateArchivedThreadHeader','getTemplate','resolveCommentThread','length','resolveButton','isResolved','placeholder','ck-thread__container','change:isActive','setTemplate','14bsxMVB','render','querySelector','Write\x20a\x20comment...','1305HEAGgX','isSystemComment','_bindFirstCommentView','ck-thread--active','fire','remove','listitem','ck-rounded-corners','tooltip','3990365nPeFBk','isReadOnly','ariaDescriptionView','commentViews','isEnabled','commentThreadHeaderView','containerElement','archivedAt','isConfirm','_boundFirstCommentView','removeConfirm','change:archivedAt','set','_createResolveButton','commentThreadChildren','Delete\x20comment\x20thread?','label','6622312vxJGbM','10607634qTFgQT','execute','element','cancelConfirm','extendTemplate','564712VZUQCN','bind'];_0x1ee4=function(){return _0x201ac7;};return _0x1ee4();}import{ConfirmMixin as _0x56d417,LateFocusButtonView as _0x407865}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x1c0a92}from'ckeditor5/src/icons.js';function _0x128b(_0x44a358,_0x24d036){const _0x1ee41e=_0x1ee4();return _0x128b=function(_0x128b69,_0x19c4fa){_0x128b69=_0x128b69-0x1a2;let _0x4e9e6b=_0x1ee41e[_0x128b69];return _0x4e9e6b;},_0x128b(_0x44a358,_0x24d036);}import{BaseCommentThreadView as _0x5ed005}from'./basecommentthreadview.js';import{getTranslation as _0x5d55cb}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x56d417(_0x5ed005){[_0x576c29(0x1cf)];[_0x576c29(0x1c7)];[_0x576c29(0x1ae)];[_0x576c29(0x1ca)];constructor(_0x29b2c0,_0x243305,_0xb78dea,_0x473474){const _0x1da7d7=_0x576c29;super(_0x29b2c0,_0x243305,_0xb78dea,_0x473474),this[_0x1da7d7(0x1cf)]=this[_0x1da7d7(0x1eb)]([this[_0x1da7d7(0x1ef)],this[_0x1da7d7(0x1e1)],this[_0x1da7d7(0x1c3)]]),this[_0x1da7d7(0x1cd)](_0x1da7d7(0x1e5),null),this[_0x1da7d7(0x1c7)]=null,this[_0x1da7d7(0x1ca)]=null,this[_0x1da7d7(0x1ee)]=_0x29b2c0,this[_0x1da7d7(0x1ae)]=this[_0x1da7d7(0x1ce)](),this[_0x1da7d7(0x1b3)](this[_0x1da7d7(0x1ab)]()),this['on'](_0x1da7d7(0x1b2),(_0x54b4a7,_0x40433b,_0x3a4a14)=>{const _0x50cb2f=_0x1da7d7;_0x3a4a14||this[_0x50cb2f(0x1a2)]();}),this[_0x1da7d7(0x1dc)](this[_0x1da7d7(0x1df)],_0x1da7d7(0x1f6),(_0x16d0a5,_0x4a7479,_0x43fafd)=>{const _0x582514=_0x1da7d7;_0x43fafd&&this[_0x582514(0x1a2)]();}),this[_0x1da7d7(0x1ad)]>0x0&&this[_0x1da7d7(0x1ba)](),this[_0x1da7d7(0x1dc)](this[_0x1da7d7(0x1ef)][_0x1da7d7(0x1c4)],_0x1da7d7(0x1e4),()=>{const _0x20d60d=_0x1da7d7;this[_0x20d60d(0x1ba)]();});}[_0x576c29(0x1ab)](){const _0x4bd36e=_0x576c29,_0x1d26be=this[_0x4bd36e(0x1f8)];return{'tag':_0x4bd36e(0x1f4),'attributes':{'class':['ck',_0x4bd36e(0x1f7),_0x4bd36e(0x1da),_0x4bd36e(0x1bf),_0x1d26be['if'](_0x4bd36e(0x1f9),_0x4bd36e(0x1bb)),_0x1d26be['if'](_0x4bd36e(0x1e9),_0x4bd36e(0x1e6)),_0x1d26be['if'](_0x4bd36e(0x1c9),_0x4bd36e(0x1de)),_0x1d26be['to'](_0x4bd36e(0x1e5),_0x23e63a=>_0x23e63a?_0x4bd36e(0x1f2)+_0x23e63a:'')],'data-thread-id':this[_0x4bd36e(0x1df)]['id'],'tabindex':0x0,'role':_0x4bd36e(0x1be),'aria-label':_0x1d26be['to'](_0x4bd36e(0x1f1)),'aria-describedby':this[_0x4bd36e(0x1c3)]['id']},'children':[{'tag':_0x4bd36e(0x1f4),'attributes':{'class':_0x4bd36e(0x1b1)},'children':this[_0x4bd36e(0x1cf)]}]};}[_0x576c29(0x1b5)](){const _0x77cc43=_0x576c29;super[_0x77cc43(0x1b5)](),this[_0x77cc43(0x1c7)]=this[_0x77cc43(0x1d5)][_0x77cc43(0x1b6)](_0x77cc43(0x1fa)),this[_0x77cc43(0x1df)]['on'](_0x77cc43(0x1cc),()=>{const _0x13fd4e=_0x77cc43;this[_0x13fd4e(0x1aa)]();}),this[_0x77cc43(0x1aa)]();}[_0x576c29(0x1a2)](){const _0x57e055=_0x576c29;this[_0x57e055(0x1d6)]();for(const _0x593cb5 of this[_0x57e055(0x1ef)][_0x57e055(0x1c4)])_0x593cb5[_0x57e055(0x1d6)]();}[_0x576c29(0x1ba)](){const _0x33e0b1=_0x576c29,{locale:_0xcb337d}=this,_0x1db73b=this[_0x33e0b1(0x1ef)][_0x33e0b1(0x1c4)][_0x33e0b1(0x1a6)](0x0);_0x1db73b===this[_0x33e0b1(0x1ca)]||_0x1db73b[_0x33e0b1(0x1b9)]||(this[_0x33e0b1(0x1ca)]=_0x1db73b,this[_0x33e0b1(0x1a7)](_0x33e0b1(0x1e5)),this[_0x33e0b1(0x1d9)](_0x33e0b1(0x1e5))['to'](_0x1db73b,_0x33e0b1(0x1e5),_0x5866c9=>_0x33e0b1(0x1bd)===_0x5866c9?_0x33e0b1(0x1bd):null),_0x1db73b[_0x33e0b1(0x1b0)]=_0x5d55cb(_0xcb337d,_0x33e0b1(0x1b7)),_0x1db73b[_0x33e0b1(0x1db)]['on'](_0x33e0b1(0x1d4),_0x157247=>{const _0x528d06=_0x33e0b1;_0x157247[_0x528d06(0x1f3)](),this[_0x528d06(0x1ea)](_0x5d55cb(_0xcb337d,_0x528d06(0x1d0)),this[_0x528d06(0x1c7)])[_0x528d06(0x1a8)](()=>{const _0x201463=_0x528d06;this[_0x201463(0x1bc)](_0x201463(0x1f0));});},{'priority':_0x33e0b1(0x1e8)}),this['on'](_0x33e0b1(0x1cb),()=>{const _0x81c297=_0x33e0b1;_0x1db73b[_0x81c297(0x1a3)]();}),_0x1db73b[_0x33e0b1(0x1a5)][_0x33e0b1(0x1e4)](this[_0x33e0b1(0x1ae)],0x0),_0x1db73b[_0x33e0b1(0x1e3)][_0x33e0b1(0x1e4)](this[_0x33e0b1(0x1ae)],0x0));}[_0x576c29(0x1ce)](){const _0xa96a44=_0x576c29,_0x4e9870=new _0x407865(this[_0xa96a44(0x1ee)]);return _0x4e9870[_0xa96a44(0x1d1)]=_0x5d55cb(this[_0xa96a44(0x1ee)],_0xa96a44(0x1dd)),_0x4e9870[_0xa96a44(0x1c0)]=_0x5d55cb(this[_0xa96a44(0x1ee)],_0xa96a44(0x1dd)),_0x4e9870[_0xa96a44(0x1e0)]=_0x1c0a92,_0x4e9870[_0xa96a44(0x1d7)]({'attributes':{'class':_0xa96a44(0x1ec)}}),_0x4e9870[_0xa96a44(0x1d9)](_0xa96a44(0x1c5))['to'](this[_0xa96a44(0x1df)],_0xa96a44(0x1c2),_0x3cfd36=>!_0x3cfd36),_0x4e9870[_0xa96a44(0x1d9)](_0xa96a44(0x1a9))['to'](this[_0xa96a44(0x1df)],_0xa96a44(0x1a4),this[_0xa96a44(0x1df)],_0xa96a44(0x1af),(_0x12fe26,_0x5247c2)=>_0x12fe26&&!_0x5247c2),_0x4e9870['on'](_0xa96a44(0x1d4),()=>{const _0x32a4a9=_0xa96a44;this[_0x32a4a9(0x1bc)](_0x32a4a9(0x1ac),this[_0x32a4a9(0x1df)]['id']);}),_0x4e9870;}[_0x576c29(0x1aa)](){const _0x23dd38=_0x576c29;this[_0x23dd38(0x1df)][_0x23dd38(0x1c8)]?this[_0x23dd38(0x1cf)][_0x23dd38(0x1e7)](this[_0x23dd38(0x1c6)])||(this[_0x23dd38(0x1cf)][_0x23dd38(0x1e4)](this[_0x23dd38(0x1c6)],0x0),this[_0x23dd38(0x1e3)][_0x23dd38(0x1e4)](this[_0x23dd38(0x1c6)],0x0)):this[_0x23dd38(0x1cf)][_0x23dd38(0x1e7)](this[_0x23dd38(0x1c6)])&&(this[_0x23dd38(0x1cf)][_0x23dd38(0x1bd)](this[_0x23dd38(0x1c6)]),this[_0x23dd38(0x1e3)][_0x23dd38(0x1bd)](this[_0x23dd38(0x1c6)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x37e9(){const _0x55c259=['_model','Remove','bindTemplate','blur','1299542fxStMC','ck-comment','Show\x20more\x20items','_createDropdown','ck-comment--edit','151528ASkinL','length','ck-annotation__info','_config','span','switchToEditMode','find','Reply...','ck-comment__info-name','isSystemComment','2334633UHVsNy','ck-annotation__info-name','actionBar','userView','children','toMany','ck-comment__actions--hidden','isVisible','then','from','ck-hidden','createCollection','authoredAt','ck-comment__info-time','ck-comment__actions','showConfirm','dropdown','isEditMode','unbind','div','getExternalCommentNote','getUserViewNotificationText','_attachActions','label','addMany','getTemplate','focus','ck-comment--remove','visibleView','ck-comment--remove-confirmation','isRemovable','fire','items','ck-annotation__info-time','_createEditButton','buttonView','panelView','ck-annotation','mouseenter','ck-annotation__user','listenTo','21775428Sryjkw','isEditable','author','isReadOnly','5OCwvyy','Delete\x20comment?','actionIndicator','push','setTemplate','ck-comment--','element','cancelConfirm','group','517351CikqSn','focusables','removeButton','ariaLabel','remove','ck-annotation__main','edit','some','ck-comment__external','ck-annotation__actions','ck-comment__info','add','execute','ck-annotation__actions--hidden','withText','mouseleave','change:isRemovable','ck-annotation__content-wrapper','bind','locale','isExternal','editButton','panelPosition','ck-comment__wrapper','_createRemoveButton','formatDateTime','ck-comment__user','resolvedAt','ariaDescriptionView','placeholder','_createCommentInputView','isConfirm','name','set','ck-comment__main','ck-comment--info','Edit','1946652iOWnjQ','render','6FEmaRc','extendTemplate','time','3009276BSgpBd','listitem','removeComment','icon','isEnabled'];_0x37e9=function(){return _0x55c259;};return _0x37e9();}const _0xec12bf=_0x46e0;(function(_0x387790,_0x56f093){const _0x53e9ec=_0x46e0,_0x593f5d=_0x387790();while(!![]){try{const _0x130d46=-parseInt(_0x53e9ec(0x191))/0x1+parseInt(_0x53e9ec(0x1c4))/0x2*(-parseInt(_0x53e9ec(0x1b8))/0x3)+-parseInt(_0x53e9ec(0x1b6))/0x4*(parseInt(_0x53e9ec(0x188))/0x5)+parseInt(_0x53e9ec(0x1bb))/0x6+parseInt(_0x53e9ec(0x1d3))/0x7+parseInt(_0x53e9ec(0x1c9))/0x8+parseInt(_0x53e9ec(0x184))/0x9;if(_0x130d46===_0x56f093)break;else _0x593f5d['push'](_0x593f5d['shift']());}catch(_0x400e65){_0x593f5d['push'](_0x593f5d['shift']());}}}(_0x37e9,0xeccd6));function _0x46e0(_0x4f68d4,_0x4b9092){const _0x37e950=_0x37e9();return _0x46e0=function(_0x46e0d2,_0x3d92d8){_0x46e0d2=_0x46e0d2-0x17c;let _0x109ef9=_0x37e950[_0x46e0d2];return _0x109ef9;},_0x46e0(_0x4f68d4,_0x4b9092);}import{IconRemoveComment as _0x32ed39,IconPencil as _0x4190c5,IconThreeVerticalDots as _0x145533}from'ckeditor5/src/icons.js';import{ButtonView as _0x28065b,createDropdown as _0xe58f39,ListView as _0x1b7430,ListItemView as _0x4af4d6,focusChildOnDropdownOpen as _0x29ddb6}from'ckeditor5/src/ui.js';import{UserView as _0x150ceb,ConfirmMixin as _0x20eb05,LateFocusDropdownButtonView as _0x503eb4}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x47cc60}from'./basecommentview.js';import{getTranslation as _0x85dcdb}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x20eb05(_0x47cc60){[_0xec12bf(0x1d5)];[_0xec12bf(0x1d6)];constructor(_0x22df3d,_0x7aace6,_0x343a52){const _0x2279a8=_0xec12bf;super(_0x22df3d,_0x7aace6,_0x343a52),this[_0x2279a8(0x1b2)](_0x2279a8(0x18a),null),this[_0x2279a8(0x1b2)](_0x2279a8(0x1ae),_0x85dcdb(_0x22df3d,_0x2279a8(0x1d0))),this[_0x2279a8(0x1a3)](_0x2279a8(0x1df))['to'](_0x7aace6),this[_0x2279a8(0x1a3)](_0x2279a8(0x1ac))['to'](_0x7aace6),this[_0x2279a8(0x1d5)]=this[_0x2279a8(0x1de)](),this[_0x2279a8(0x1d2)]||(this[_0x2279a8(0x1a6)]=this[_0x2279a8(0x17d)](),this[_0x2279a8(0x193)]=this[_0x2279a8(0x1a9)](),this[_0x2279a8(0x1f3)]=this[_0x2279a8(0x1de)](),this[_0x2279a8(0x1f3)][_0x2279a8(0x1eb)]([this[_0x2279a8(0x1a6)],this[_0x2279a8(0x193)]]),this[_0x2279a8(0x1e3)]=this[_0x2279a8(0x1c7)](),this[_0x2279a8(0x1d5)][_0x2279a8(0x19c)](this[_0x2279a8(0x1e3)]),this[_0x2279a8(0x192)][_0x2279a8(0x19c)](this[_0x2279a8(0x1e3)])),this[_0x2279a8(0x1d6)]=new _0x150ceb(_0x22df3d,_0x7aace6[_0x2279a8(0x186)],this[_0x2279a8(0x1e8)]()),this[_0x2279a8(0x1d6)][_0x2279a8(0x1b9)]({'attributes':{'class':[_0x2279a8(0x1ab),_0x2279a8(0x182)],'aria-hidden':!0x0}}),this[_0x2279a8(0x183)](_0x7aace6,_0x2279a8(0x1a1),()=>this[_0x2279a8(0x18f)]()),this[_0x2279a8(0x18c)](this[_0x2279a8(0x1ec)]());}[_0xec12bf(0x1ec)](){const _0x406f00=_0xec12bf,_0x2d9cc0=this[_0x406f00(0x1c2)],_0x1259d7=[{'tag':_0x406f00(0x1e6),'attributes':{'class':[_0x406f00(0x19b),_0x406f00(0x1cb)]},'children':[{'tag':_0x406f00(0x1cd),'children':[{'text':this[_0x406f00(0x1d6)][_0x406f00(0x1b1)]}],'attributes':{'class':[_0x406f00(0x1d1),_0x406f00(0x1d4)],'data-cke-tooltip-text':this[_0x406f00(0x1d6)][_0x406f00(0x1b1)]}},{'tag':_0x406f00(0x1ba),'attributes':{'datetime':_0x2d9cc0['to'](_0x406f00(0x1df)),'class':[_0x406f00(0x1e0),_0x406f00(0x17c)]},'children':[{'text':_0x2d9cc0['to'](_0x406f00(0x1df),_0x5ac288=>this[_0x406f00(0x1cc)][_0x406f00(0x1aa)](_0x5ac288))}]}]},{'tag':_0x406f00(0x1e6),'attributes':{'class':[_0x406f00(0x1e1),_0x406f00(0x19a),_0x2d9cc0['if'](_0x406f00(0x1e4),_0x406f00(0x1d9)),_0x2d9cc0['if'](_0x406f00(0x1e4),_0x406f00(0x19e))]},'children':this[_0x406f00(0x1d5)]},{'tag':_0x406f00(0x1e6),'attributes':{'class':[_0x406f00(0x1a2)]},'children':this[_0x406f00(0x1ef)]},this[_0x406f00(0x1ad)]];return this[_0x406f00(0x1c0)][_0x406f00(0x1a5)]&&_0x1259d7[_0x406f00(0x18b)]({'tag':_0x406f00(0x1e6),'attributes':{'class':[_0x406f00(0x199)]},'children':[{'text':this[_0x406f00(0x1e7)]()}]}),{'tag':'li','attributes':{'class':[_0x406f00(0x1a8),_0x2d9cc0['if'](_0x406f00(0x1b0),_0x406f00(0x1f0))],'tabindex':-0x1,'aria-label':_0x2d9cc0['to'](_0x406f00(0x194)),'aria-describedby':this[_0x406f00(0x1ad)]['id'],'role':_0x406f00(0x1bc)},'children':[{'tag':_0x406f00(0x1e6),'attributes':{'class':[_0x406f00(0x1c5),_0x406f00(0x180),_0x2d9cc0['if'](_0x406f00(0x1e4),_0x406f00(0x1c8)),_0x2d9cc0['if'](_0x406f00(0x1d2),_0x406f00(0x1b4)),_0x2d9cc0['to'](_0x406f00(0x18a),_0xe00e2=>_0xe00e2?_0x406f00(0x18d)+_0xe00e2:'')],'data-author-id':this[_0x406f00(0x1c0)][_0x406f00(0x186)]['id'],'data-comment-id':this[_0x406f00(0x1c0)]['id'],'role':_0x406f00(0x190)},'children':[this[_0x406f00(0x1d6)],{'tag':_0x406f00(0x1e6),'attributes':{'class':[_0x406f00(0x1b3),_0x406f00(0x196)]},'children':_0x1259d7}]}]};}[_0xec12bf(0x17d)](){const _0x3c849b=_0xec12bf,_0x4acfdc=new _0x28065b(this[_0x3c849b(0x1a4)]);return _0x4acfdc[_0x3c849b(0x1ea)]=_0x85dcdb(this[_0x3c849b(0x1a4)],_0x3c849b(0x1b5)),_0x4acfdc[_0x3c849b(0x1be)]=_0x4190c5,_0x4acfdc[_0x3c849b(0x19f)]=!0x0,_0x4acfdc[_0x3c849b(0x1b9)]({'attributes':{'class':_0x3c849b(0x1c8)}}),_0x4acfdc[_0x3c849b(0x1a3)](_0x3c849b(0x1bf))['to'](this[_0x3c849b(0x1c0)],_0x3c849b(0x187),_0x584d9a=>!_0x584d9a),_0x4acfdc[_0x3c849b(0x1a3)](_0x3c849b(0x1da))['to'](this[_0x3c849b(0x1c0)],_0x3c849b(0x185)),_0x4acfdc['on'](_0x3c849b(0x19d),()=>this[_0x3c849b(0x1ce)]()),_0x4acfdc;}[_0xec12bf(0x1a9)](){const _0x593da5=_0xec12bf,_0x4a312f=new _0x28065b(this[_0x593da5(0x1a4)]);return _0x4a312f[_0x593da5(0x1ea)]=_0x85dcdb(this[_0x593da5(0x1a4)],_0x593da5(0x1c1)),_0x4a312f[_0x593da5(0x1be)]=_0x32ed39,_0x4a312f[_0x593da5(0x19f)]=!0x0,_0x4a312f[_0x593da5(0x1b9)]({'attributes':{'class':_0x593da5(0x1ee)}}),_0x4a312f[_0x593da5(0x1a3)](_0x593da5(0x1bf))['to'](this[_0x593da5(0x1c0)],_0x593da5(0x187),_0x4e06a4=>!_0x4e06a4),_0x4a312f[_0x593da5(0x1a3)](_0x593da5(0x1da))['to'](this[_0x593da5(0x1c0)],_0x593da5(0x1f1)),_0x4a312f['on'](_0x593da5(0x19d),()=>{const _0x307d73=_0x593da5;this[_0x307d73(0x1e2)](_0x85dcdb(this[_0x307d73(0x1a4)],_0x307d73(0x189)),this[_0x307d73(0x18e)])[_0x307d73(0x1db)](()=>{const _0x2f63cc=_0x307d73;this[_0x2f63cc(0x1f2)](_0x2f63cc(0x1bd),this[_0x2f63cc(0x1c0)]['id']);});}),_0x4a312f;}[_0xec12bf(0x1c7)](){const _0x38c2de=_0xec12bf,_0x3e1e94=_0xe58f39(this[_0x38c2de(0x1a4)],_0x503eb4),_0x1ef7f8=_0x3e1e94[_0x38c2de(0x17f)][_0x38c2de(0x1d7)],_0x287e39=new _0x1b7430(this[_0x38c2de(0x1a4)]),_0x235cfd=_0x3e1e94[_0x38c2de(0x1c2)];_0x29ddb6(_0x3e1e94,()=>this[_0x38c2de(0x1f3)][_0x38c2de(0x1cf)](_0x17f2b5=>_0x17f2b5[_0x38c2de(0x1da)])),_0x3e1e94[_0x38c2de(0x1b9)]({'attributes':{'class':[_0x235cfd['if'](_0x38c2de(0x1da),_0x38c2de(0x1dd),_0xf1b663=>!_0xf1b663)]}});const _0x58ac92=(_0x1ece8f,_0x32faa3=-0x1)=>{const _0x323c48=_0x38c2de,_0x16b886=new _0x4af4d6(this[_0x323c48(0x1a4)]);_0x16b886[_0x323c48(0x1d7)][_0x323c48(0x19c)](_0x1ece8f);const _0x2f4c40=_0x32faa3>-0x1?_0x32faa3:_0x287e39[_0x323c48(0x1f3)][_0x323c48(0x1ca)];_0x287e39[_0x323c48(0x1f3)][_0x323c48(0x19c)](_0x16b886,_0x2f4c40);const _0x5677b2=Array[_0x323c48(0x1dc)](this[_0x323c48(0x1f3)]);_0x3e1e94[_0x323c48(0x1e5)](_0x323c48(0x1bf),_0x323c48(0x1da)),_0x3e1e94[_0x323c48(0x1a3)](_0x323c48(0x1bf))[_0x323c48(0x1d8)](_0x5677b2,_0x323c48(0x1bf),(..._0x2ba3a4)=>_0x2ba3a4[_0x323c48(0x198)](_0x5760bb=>_0x5760bb)),_0x3e1e94[_0x323c48(0x1a3)](_0x323c48(0x1da))[_0x323c48(0x1d8)](_0x5677b2,_0x323c48(0x1da),(..._0x5ee39a)=>_0x5ee39a[_0x323c48(0x198)](_0x3e8e75=>_0x3e8e75));};_0x3e1e94[_0x38c2de(0x1a7)]='sw',_0x3e1e94[_0x38c2de(0x17e)][_0x38c2de(0x1b2)]({'label':_0x85dcdb(this[_0x38c2de(0x1a4)],_0x38c2de(0x1c6)),'icon':_0x145533});for(const _0x459705 of this[_0x38c2de(0x1f3)])_0x58ac92(_0x459705);return _0x1ef7f8[_0x38c2de(0x19c)](_0x287e39),_0x3e1e94[_0x38c2de(0x183)](this[_0x38c2de(0x1f3)],_0x38c2de(0x19c),(_0x3667c5,_0x5b7744,_0x34d248)=>{_0x58ac92(_0x5b7744,_0x34d248);}),_0x3e1e94[_0x38c2de(0x183)](this[_0x38c2de(0x1f3)],_0x38c2de(0x195),(_0x5c0f93,_0x278b4b,_0x4238ce)=>{const _0xb926f6=_0x38c2de;_0x287e39[_0xb926f6(0x1f3)][_0xb926f6(0x195)](_0x4238ce);}),_0x3e1e94;}[_0xec12bf(0x1e9)](_0x14924d,_0x12ec44){const _0x59e7f4=_0xec12bf,_0x421d24=_0x14924d&&_0x14924d[_0x59e7f4(0x18e)];_0x421d24&&(this[_0x59e7f4(0x183)](_0x421d24,_0x59e7f4(0x181),()=>this[_0x59e7f4(0x18a)]=_0x12ec44),this[_0x59e7f4(0x183)](_0x421d24,_0x59e7f4(0x1ed),()=>this[_0x59e7f4(0x18a)]=_0x12ec44),this[_0x59e7f4(0x183)](_0x421d24,_0x59e7f4(0x1a0),()=>this[_0x59e7f4(0x18a)]=null),this[_0x59e7f4(0x183)](_0x421d24,_0x59e7f4(0x1c3),()=>this[_0x59e7f4(0x18a)]=null));}[_0xec12bf(0x1af)](){const _0xf49cb2=_0xec12bf,_0x9a20ab=super[_0xf49cb2(0x1af)]();return _0x9a20ab[_0xf49cb2(0x1a3)](_0xf49cb2(0x1ae))['to'](this),_0x9a20ab;}[_0xec12bf(0x1b7)](){const _0x2b6ff9=_0xec12bf;super[_0x2b6ff9(0x1b7)](),this[_0x2b6ff9(0x1e9)](this[_0x2b6ff9(0x1a6)],_0x2b6ff9(0x197)),this[_0x2b6ff9(0x1e9)](this[_0x2b6ff9(0x193)],_0x2b6ff9(0x195));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1afa20=_0x3361;(function(_0x37eca4,_0x3867a1){var _0x4bdde2=_0x3361,_0x15c39b=_0x37eca4();while(!![]){try{var _0x39666f=parseInt(_0x4bdde2(0x106))/0x1*(-parseInt(_0x4bdde2(0x10b))/0x2)+parseInt(_0x4bdde2(0x104))/0x3+-parseInt(_0x4bdde2(0x101))/0x4+-parseInt(_0x4bdde2(0x108))/0x5+-parseInt(_0x4bdde2(0x105))/0x6+parseInt(_0x4bdde2(0x102))/0x7*(-parseInt(_0x4bdde2(0xff))/0x8)+parseInt(_0x4bdde2(0x10c))/0x9*(parseInt(_0x4bdde2(0x103))/0xa);if(_0x39666f===_0x3867a1)break;else _0x15c39b['push'](_0x15c39b['shift']());}catch(_0x12f463){_0x15c39b['push'](_0x15c39b['shift']());}}}(_0x1e11,0x67549));import{Plugin as _0x3304c2}from'ckeditor5/src/core.js';import{CommentsRepository as _0x9f0964}from'./comments/commentsrepository.js';import{CommentsEditing as _0x491726}from'./comments/commentsediting.js';import{CommentsUI as _0x5c7ac6}from'./comments/commentsui.js';import{CommentsOnly as _0x4dbe23}from'./commentsonly.js';import{WideSidebar as _0x58af7b}from'./annotations/widesidebar.js';function _0x3361(_0x1f737d,_0x19513f){var _0x1e1187=_0x1e11();return _0x3361=function(_0x336156,_0x2548d9){_0x336156=_0x336156-0xfe;var _0x3e96a9=_0x1e1187[_0x336156];return _0x3e96a9;},_0x3361(_0x1f737d,_0x19513f);}import{NarrowSidebar as _0x152cc8}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x2dd127}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0xb91fa2}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x9f5361}from'./comments/commentsarchive.js';export class Comments extends _0x3304c2{static get[_0x1afa20(0x109)](){return[_0x9f0964,_0x491726,_0x5c7ac6,_0x9f5361,_0xb91fa2,_0x4dbe23,_0x58af7b,_0x152cc8,_0x2dd127];}static get[_0x1afa20(0xfe)](){var _0x428c6e=_0x1afa20;return _0x428c6e(0x100);}static get[_0x1afa20(0x107)](){return!0x0;}static get[_0x1afa20(0x10a)](){return!0x0;}}function _0x1e11(){var _0x25d5a7=['792023XHCuMD','isOfficialPlugin','2795370GZyfIf','requires','isPremiumPlugin','2cBSlXH','20702817ZVsKqR','pluginName','441608MnNkHA','Comments','3014568TrkKUP','14SUyEbY','10BtQnpL','1852479xUubly','1676544fdPErl'];_0x1e11=function(){return _0x25d5a7;};return _0x1e11();}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x88bc09=_0x16ba;function _0x16ba(_0x51d7b6,_0x5b5bd4){const _0x2077b4=_0x2077();return _0x16ba=function(_0x16ba79,_0xa2d632){_0x16ba79=_0x16ba79-0x70;let _0x40f399=_0x2077b4[_0x16ba79];return _0x40f399;},_0x16ba(_0x51d7b6,_0x5b5bd4);}(function(_0x175aca,_0x5845bd){const _0x26b314=_0x16ba,_0x4f34f5=_0x175aca();while(!![]){try{const _0x564141=-parseInt(_0x26b314(0x7b))/0x1+-parseInt(_0x26b314(0x8f))/0x2+-parseInt(_0x26b314(0x96))/0x3*(parseInt(_0x26b314(0x78))/0x4)+-parseInt(_0x26b314(0x8b))/0x5+-parseInt(_0x26b314(0x79))/0x6+parseInt(_0x26b314(0x7d))/0x7*(parseInt(_0x26b314(0x75))/0x8)+-parseInt(_0x26b314(0x80))/0x9*(-parseInt(_0x26b314(0x72))/0xa);if(_0x564141===_0x5845bd)break;else _0x4f34f5['push'](_0x4f34f5['shift']());}catch(_0x41f0b0){_0x4f34f5['push'](_0x4f34f5['shift']());}}}(_0x2077,0xce087));import{Plugin as _0x5a803b}from'ckeditor5/src/core.js';import{CommentsEditing as _0x1b211b}from'./comments/commentsediting.js';function _0x2077(){const _0x2306e4=['has','1438149xSiKWe','editing','417760wRvKas','commands','clipboardInput','920331HYHcGq','requires','_disableCommentsOnlyMode','pluginName','get','isEnabled','DragDrop','CommentsOnly','addCommentThread','cut','stop','2298195sXQanz','listenTo','document','clearForceDisabled','1892168iOXdrE','stopListening','highest','config','commentsOnly','editSource','afterInit','78939SEfLoH','view','forceDisabled','editor','isPremiumPlugin','affectsData','isOfficialPlugin','plugins','change:isEnabled','set','460XMbeSs','_enableCommentsOnlyMode','delete','96OzeONL','commentsOnlyMode','SourceEditing','72tDSwRn','7551942sXVltt'];_0x2077=function(){return _0x2306e4;};return _0x2077();}export class CommentsOnly extends _0x5a803b{static get[_0x88bc09(0x83)](){const _0x59d32a=_0x88bc09;return _0x59d32a(0x87);}static get[_0x88bc09(0x9c)](){return!0x0;}static get[_0x88bc09(0x9a)](){return!0x0;}static get[_0x88bc09(0x81)](){return[_0x1b211b];}constructor(_0x410e92){const _0x350145=_0x88bc09;super(_0x410e92),this[_0x350145(0x71)](_0x350145(0x85),!0x1),this['on'](_0x350145(0x70),(_0x4580dd,_0x5de051,_0x43e656)=>{const _0x538e20=_0x350145;_0x43e656?this[_0x538e20(0x73)]():this[_0x538e20(0x82)]();});}[_0x88bc09(0x95)](){const _0x566210=_0x88bc09;!this[_0x566210(0x85)]&&this[_0x566210(0x99)][_0x566210(0x92)][_0x566210(0x84)](_0x566210(0x93))&&(this[_0x566210(0x85)]=!0x0);}[_0x88bc09(0x73)](){const _0x40a2f9=_0x88bc09;for(const [_0x38d0fd,_0x12820a]of this[_0x40a2f9(0x99)][_0x40a2f9(0x7e)])_0x12820a[_0x40a2f9(0x9b)]&&_0x40a2f9(0x88)!==_0x38d0fd&&_0x12820a[_0x40a2f9(0x98)](_0x40a2f9(0x76));(this[_0x40a2f9(0x99)][_0x40a2f9(0x9d)][_0x40a2f9(0x7a)](_0x40a2f9(0x86))&&this[_0x40a2f9(0x99)][_0x40a2f9(0x9d)][_0x40a2f9(0x84)](_0x40a2f9(0x86))[_0x40a2f9(0x98)](_0x40a2f9(0x76)),this[_0x40a2f9(0x99)][_0x40a2f9(0x9d)][_0x40a2f9(0x7a)](_0x40a2f9(0x77)))&&this[_0x40a2f9(0x99)][_0x40a2f9(0x9d)][_0x40a2f9(0x84)](_0x40a2f9(0x77))[_0x40a2f9(0x98)](_0x40a2f9(0x76));this[_0x40a2f9(0x99)][_0x40a2f9(0x7e)][_0x40a2f9(0x84)](_0x40a2f9(0x94))?.[_0x40a2f9(0x98)](_0x40a2f9(0x76));const _0x22ee3b=this[_0x40a2f9(0x99)][_0x40a2f9(0x7c)][_0x40a2f9(0x97)][_0x40a2f9(0x8d)];this[_0x40a2f9(0x8c)](_0x22ee3b,_0x40a2f9(0x89),_0x253892=>_0x253892[_0x40a2f9(0x8a)](),{'priority':_0x40a2f9(0x91)}),this[_0x40a2f9(0x8c)](_0x22ee3b,_0x40a2f9(0x7f),_0x1ab996=>_0x1ab996[_0x40a2f9(0x8a)](),{'priority':_0x40a2f9(0x91)}),this[_0x40a2f9(0x8c)](_0x22ee3b,_0x40a2f9(0x74),_0xe6ad77=>_0xe6ad77[_0x40a2f9(0x8a)](),{'priority':_0x40a2f9(0x91)});}[_0x88bc09(0x82)](){const _0x39427e=_0x88bc09;for(const [_0x332b09,_0x147e8f]of this[_0x39427e(0x99)][_0x39427e(0x7e)])_0x147e8f[_0x39427e(0x9b)]&&_0x39427e(0x88)!==_0x332b09&&_0x147e8f[_0x39427e(0x8e)](_0x39427e(0x76));this[_0x39427e(0x99)][_0x39427e(0x9d)][_0x39427e(0x7a)](_0x39427e(0x77))&&this[_0x39427e(0x99)][_0x39427e(0x9d)][_0x39427e(0x84)](_0x39427e(0x77))[_0x39427e(0x8e)](_0x39427e(0x76)),this[_0x39427e(0x99)][_0x39427e(0x7e)][_0x39427e(0x84)](_0x39427e(0x94))?.[_0x39427e(0x8e)](_0x39427e(0x76)),this[_0x39427e(0x90)](this[_0x39427e(0x99)][_0x39427e(0x7c)][_0x39427e(0x97)][_0x39427e(0x8d)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x51af1b,_0x2040e6){var _0x1e9c70=_0x17bd,_0x389098=_0x51af1b();while(!![]){try{var _0x5c7291=parseInt(_0x1e9c70(0x1dc))/0x1*(-parseInt(_0x1e9c70(0x1df))/0x2)+parseInt(_0x1e9c70(0x1de))/0x3+-parseInt(_0x1e9c70(0x1da))/0x4*(parseInt(_0x1e9c70(0x1e4))/0x5)+-parseInt(_0x1e9c70(0x1e5))/0x6+-parseInt(_0x1e9c70(0x1db))/0x7*(parseInt(_0x1e9c70(0x1e1))/0x8)+parseInt(_0x1e9c70(0x1e0))/0x9*(-parseInt(_0x1e9c70(0x1dd))/0xa)+-parseInt(_0x1e9c70(0x1e2))/0xb*(-parseInt(_0x1e9c70(0x1e3))/0xc);if(_0x5c7291===_0x2040e6)break;else _0x389098['push'](_0x389098['shift']());}catch(_0x4dd6ba){_0x389098['push'](_0x389098['shift']());}}}(_0x3750,0x2ea7f));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';function _0x17bd(_0x1e2ab2,_0xdc9abf){var _0x3750b2=_0x3750();return _0x17bd=function(_0x17bd58,_0x497e28){_0x17bd58=_0x17bd58-0x1da;var _0x205727=_0x3750b2[_0x17bd58];return _0x205727;},_0x17bd(_0x1e2ab2,_0xdc9abf);}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';function _0x3750(){var _0x689aeb=['1Qkpgnv','10vzNrOz','1140426QKcmFL','270056wzpzKr','3051063zmjafw','25576IRUAzS','48367MYvhba','2832cvKWjN','5ilumrE','2106402ENgevY','1210088sWsUbb','217njkAYg'];_0x3750=function(){return _0x689aeb;};return _0x3750();}import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x3a4d83,_0x4752cc,_0x422455){const t=_0x3a4d83['t'];switch(_0x4752cc){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'},_0x422455);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'},_0x422455);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'},_0x422455);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'},_0x422455);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x422455);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'},_0x422455);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'},_0x422455);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'},_0x422455);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 _0x4f01(){const _0x1b1e71=['504hFPHOY','disconnect','2wzTLPv','type','characterData','4060329PRgGca','cancel','78424sdypaY','observe','attributes','129DXkcTV','1308039CgTOtF','2395656AiSLbC','451JaoQxP','27uLoarO','class','6605UEHRjO','attributeName','6487BJpYJu','498kaEeZb','childList','156930aFVioc'];_0x4f01=function(){return _0x1b1e71;};return _0x4f01();}(function(_0x52f0b3,_0x2e7939){const _0x225737=_0x48e5,_0x26600a=_0x52f0b3();while(!![]){try{const _0x3843fa=parseInt(_0x225737(0xa3))/0x1*(parseInt(_0x225737(0x9a))/0x2)+parseInt(_0x225737(0xa2))/0x3*(-parseInt(_0x225737(0x9f))/0x4)+-parseInt(_0x225737(0x92))/0x5*(-parseInt(_0x225737(0x95))/0x6)+parseInt(_0x225737(0x9d))/0x7+parseInt(_0x225737(0xa4))/0x8*(-parseInt(_0x225737(0x90))/0x9)+-parseInt(_0x225737(0x97))/0xa*(-parseInt(_0x225737(0xa5))/0xb)+parseInt(_0x225737(0x98))/0xc*(parseInt(_0x225737(0x94))/0xd);if(_0x3843fa===_0x2e7939)break;else _0x26600a['push'](_0x26600a['shift']());}catch(_0x17a76a){_0x26600a['push'](_0x26600a['shift']());}}}(_0x4f01,0xe0c5f));import{throttle as _0x2fb123}from'es-toolkit/compat';function _0x48e5(_0x3c7321,_0x5d7353){const _0x4f0142=_0x4f01();return _0x48e5=function(_0x48e5d8,_0x17e542){_0x48e5d8=_0x48e5d8-0x90;let _0x4adf16=_0x4f0142[_0x48e5d8];return _0x4adf16;},_0x48e5(_0x3c7321,_0x5d7353);}export function createMutationObserver(_0x46145c){const _0x43d6d6=_0x2fb123(_0x46145c,0x1e),_0x51ad23=new MutationObserver(_0x285410=>{const _0x244074=_0x48e5;for(const _0x1bd6ef of _0x285410)(_0x244074(0xa1)==_0x1bd6ef[_0x244074(0x9b)]&&_0x244074(0x91)==_0x1bd6ef[_0x244074(0x93)]||_0x244074(0x96)==_0x1bd6ef[_0x244074(0x9b)]||_0x244074(0x9c)==_0x1bd6ef[_0x244074(0x9b)])&&_0x43d6d6();});return{'attach'(_0x219dc6){const _0xde8b3d=_0x48e5;_0x51ad23[_0xde8b3d(0xa0)](_0x219dc6,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x42dbd4=_0x48e5;_0x51ad23[_0x42dbd4(0x99)](),_0x43d6d6[_0x42dbd4(0x9e)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x68b9(){const _0x52a36b=['5518055dvuFDE','1021752YsdYlM','10422567jhGatf','202200ussKjs','285xxCiMe','4384482XZmkht','split','969792egoYeC','21AwWFce','5838OLXnfK'];_0x68b9=function(){return _0x52a36b;};return _0x68b9();}function _0x62f8(_0x1a4922,_0x16c695){const _0x68b944=_0x68b9();return _0x62f8=function(_0x62f8a7,_0x1439be){_0x62f8a7=_0x62f8a7-0xe7;let _0x554f5d=_0x68b944[_0x62f8a7];return _0x554f5d;},_0x62f8(_0x1a4922,_0x16c695);}(function(_0x397a9c,_0x515335){const _0x1e1a20=_0x62f8,_0x2c7552=_0x397a9c();while(!![]){try{const _0xab8784=-parseInt(_0x1e1a20(0xeb))/0x1*(parseInt(_0x1e1a20(0xf0))/0x2)+parseInt(_0x1e1a20(0xe8))/0x3+parseInt(_0x1e1a20(0xea))/0x4+-parseInt(_0x1e1a20(0xe7))/0x5+parseInt(_0x1e1a20(0xec))/0x6+-parseInt(_0x1e1a20(0xef))/0x7*(-parseInt(_0x1e1a20(0xee))/0x8)+parseInt(_0x1e1a20(0xe9))/0x9;if(_0xab8784===_0x515335)break;else _0x2c7552['push'](_0x2c7552['shift']());}catch(_0x5b796f){_0x2c7552['push'](_0x2c7552['shift']());}}}(_0x68b9,0xacdfa));export function splitMarkerName(_0x228157){const _0x483b57=_0x62f8,_0x418837=_0x228157[_0x483b57(0xed)](':');return{'group':_0x418837[0x0],'id':_0x418837[0x1],'part':_0x418837[0x2]};}
|