@ckeditor/ckeditor5-comments 46.0.1-alpha.1 → 46.0.1-alpha.3
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
|
+
const _0xa62803=_0x4cd5;(function(_0x5518b6,_0x2c9e21){const _0x15a968=_0x4cd5,_0x5bfcbb=_0x5518b6();while(!![]){try{const _0x16c083=-parseInt(_0x15a968(0x1f7))/0x1*(-parseInt(_0x15a968(0x1cb))/0x2)+-parseInt(_0x15a968(0x20c))/0x3+parseInt(_0x15a968(0x1ca))/0x4*(-parseInt(_0x15a968(0x216))/0x5)+-parseInt(_0x15a968(0x1ee))/0x6*(parseInt(_0x15a968(0x1db))/0x7)+parseInt(_0x15a968(0x1b7))/0x8*(-parseInt(_0x15a968(0x203))/0x9)+-parseInt(_0x15a968(0x1cc))/0xa+parseInt(_0x15a968(0x217))/0xb;if(_0x16c083===_0x2c9e21)break;else _0x5bfcbb['push'](_0x5bfcbb['shift']());}catch(_0x79db59){_0x5bfcbb['push'](_0x5bfcbb['shift']());}}}(_0x9e08,0xc377f));import{View as _0x42869f,FocusCycler as _0x217aee}from'ckeditor5/src/ui.js';import{diff as _0x5db599,Collection as _0xd43131,FocusTracker as _0x2cc2ab,KeystrokeHandler as _0x888b8}from'ckeditor5/src/utils.js';import{getTranslation as _0x41e20f}from'../../../utils/common-translations.js';function _0x9e08(){const _0x164991=['hasDirtyComment','resolvedAt','change:isEditMode','998948vVNxmt','10648vnpMPs','13036050uLFvUz','isActive','destroy','keystrokes','comments','target','bindTemplate','get','ck-thread__comments','remove','removeComment','maxCommentsWhenCollapsed','arrowup','change:isActive','resolveCommentThread','226191NaHuJP','delegate','map','collapse','set','expand','_collapsedCommentsView','render','refreshVisibleViews','_calculatePosition','createCollection','_shouldCollapse','_setupKeyboardNavigation','Marked\x20as\x20resolved','resolved','delete','listenTo','maxThreadTotalWeight','from','84RKrQaV','includes','stopListening','ck-hidden','length','add','change:hasDirtyComment','maxCommentCharsWhenCollapsed','visibleViews','19sPhCaC','focusTracker','CommentView','_model','some','_config','isEditMode','change','authoredAt','forEach','change:isResolved','editorReady','6079959ZiRjdx','updateComment','reverse','_handleRemoveCommentModel','focusCycler','focus','commentUpdated','removed','equal','4654905DQnobv','added','arrowdown','resolvedCommentView','commentViews','_rearrangeExpand','focusFirst','setTemplate','_rearrangeCollapse','resolvedBy','10LFEBjM','57003430KsaDuG','focusLast','8gCqddV','_updateHasDirtyComment','element','weight','_findOptimalIndex','Thread\x20comments','locale','editorConfig','_handleInfoComment','insert','formatDateTime','bind','editorDestroyed','viewUid','count','_handleNewCommentModel'];_0x9e08=function(){return _0x164991;};return _0x9e08();}import{CollapsedCommentsView as _0x3d82c8}from'./collapsedcommentsview.js';function _0x4cd5(_0x350653,_0x29c792){const _0x9e086f=_0x9e08();return _0x4cd5=function(_0x4cd58e,_0x528b84){_0x4cd58e=_0x4cd58e-0x1b6;let _0x1b2f11=_0x9e086f[_0x4cd58e];return _0x1b2f11;},_0x4cd5(_0x350653,_0x29c792);}export class CommentsListView extends _0x42869f{[_0xa62803(0x210)];[_0xa62803(0x20f)];[_0xa62803(0x1f8)];[_0xa62803(0x1cf)];[_0xa62803(0x207)];[_0xa62803(0x1fa)];[_0xa62803(0x1fc)];[_0xa62803(0x1e1)];constructor(_0x4da6f1,_0x272a06,_0x76a582){const _0x2e3ee6=_0xa62803;super(_0x4da6f1);const _0x49d744=this[_0x2e3ee6(0x1d2)];this[_0x2e3ee6(0x1df)](_0x2e3ee6(0x1c7),!0x1),this[_0x2e3ee6(0x1df)](_0x2e3ee6(0x1f2),_0x272a06[_0x2e3ee6(0x1d0)][_0x2e3ee6(0x1f2)]),this[_0x2e3ee6(0x1df)](_0x2e3ee6(0x1cd),!0x1),this[_0x2e3ee6(0x1fa)]=_0x272a06,this[_0x2e3ee6(0x1fc)]=_0x76a582,this[_0x2e3ee6(0x210)]=this[_0x2e3ee6(0x1e5)](),this[_0x2e3ee6(0x1f6)]=this[_0x2e3ee6(0x1e5)](),this[_0x2e3ee6(0x20f)]=null,this[_0x2e3ee6(0x1f8)]=new _0x2cc2ab(),this[_0x2e3ee6(0x1cf)]=new _0x888b8(),this[_0x2e3ee6(0x207)]=new _0x217aee({'focusables':this[_0x2e3ee6(0x210)],'focusTracker':this[_0x2e3ee6(0x1f8)],'keystrokeHandler':this[_0x2e3ee6(0x1cf)],'keystrokeHandlerOptions':{'filter':_0x161604=>this[_0x2e3ee6(0x210)][_0x2e3ee6(0x1dd)](_0x8ccd8b=>_0x8ccd8b[_0x2e3ee6(0x1b9)])[_0x2e3ee6(0x1ef)](_0x161604[_0x2e3ee6(0x1d1)])},'actions':{'focusPrevious':_0x2e3ee6(0x1d8),'focusNext':_0x2e3ee6(0x20e)}}),this[_0x2e3ee6(0x1e1)]=new _0x3d82c8(_0x4da6f1),this[_0x2e3ee6(0x1e1)][_0x2e3ee6(0x1c2)](_0x2e3ee6(0x1c5))['to'](this,_0x2e3ee6(0x1f2),_0x52ca6c=>_0x52ca6c-this[_0x2e3ee6(0x1fc)][_0x2e3ee6(0x1d7)]);for(const _0x214195 of _0x272a06[_0x2e3ee6(0x1d0)])this[_0x2e3ee6(0x1c6)](_0x214195);this[_0x2e3ee6(0x1bf)](),this[_0x2e3ee6(0x1eb)](_0x272a06[_0x2e3ee6(0x1d0)],_0x2e3ee6(0x1f3),(_0x52b409,_0x406e3d)=>{const _0x51f47b=_0x2e3ee6,_0x4c59a6=this[_0x51f47b(0x1e4)](_0x406e3d);this[_0x51f47b(0x1f2)]++,this[_0x51f47b(0x1c6)](_0x406e3d,_0x4c59a6),this[_0x51f47b(0x1e3)]();}),this[_0x2e3ee6(0x1eb)](_0x272a06[_0x2e3ee6(0x1d0)],_0x2e3ee6(0x1d5),(_0x11547d,_0x2184e2)=>{const _0x21ca14=_0x2e3ee6;this[_0x21ca14(0x1f2)]--,this[_0x21ca14(0x206)](_0x2184e2),this[_0x21ca14(0x1e3)]();}),this[_0x2e3ee6(0x1eb)](_0x272a06,_0x2e3ee6(0x209),()=>this[_0x2e3ee6(0x1e3)]()),this[_0x2e3ee6(0x1eb)](_0x272a06,_0x2e3ee6(0x201),()=>this[_0x2e3ee6(0x1bf)]()),this['on'](_0x2e3ee6(0x1d9),()=>this[_0x2e3ee6(0x1e3)]()),this['on'](_0x2e3ee6(0x1f4),()=>this[_0x2e3ee6(0x1e3)]()),this[_0x2e3ee6(0x213)]({'tag':'ul','attributes':{'class':[_0x2e3ee6(0x1d4),_0x49d744['if'](_0x2e3ee6(0x1f2),_0x2e3ee6(0x1f1),_0x48dfae=>!_0x48dfae)],'aria-label':_0x41e20f(_0x4da6f1,_0x2e3ee6(0x1bc))},'children':this[_0x2e3ee6(0x1f6)]});}get[_0xa62803(0x1e6)](){const _0x973b06=_0xa62803;return this[_0x973b06(0x1fa)][_0x973b06(0x1ba)]>this[_0x973b06(0x1fc)][_0x973b06(0x1ec)]&&!this[_0x973b06(0x1cd)]&&!this[_0x973b06(0x1c7)];}[_0xa62803(0x1e2)](){const _0x255531=_0xa62803;super[_0x255531(0x1e2)](),this[_0x255531(0x1e3)](),this[_0x255531(0x1e7)]();}[_0xa62803(0x208)](_0x2a8203){const _0x32527b=_0xa62803;-0x1===_0x2a8203?this[_0x32527b(0x207)][_0x32527b(0x1b6)]():this[_0x32527b(0x207)][_0x32527b(0x212)]();}[_0xa62803(0x1ce)](){const _0x869b76=_0xa62803;this[_0x869b76(0x1e1)][_0x869b76(0x1ce)]();for(const _0x23d03d of this[_0x869b76(0x210)])_0x23d03d[_0x869b76(0x1ce)]();super[_0x869b76(0x1ce)]();}[_0xa62803(0x1e3)](){const _0x3063ce=_0xa62803;this[_0x3063ce(0x1e6)]?this[_0x3063ce(0x214)]():this[_0x3063ce(0x211)]();}[_0xa62803(0x1c6)](_0x2e704e,_0x2a1be6){const _0x2da607=_0xa62803,_0x175a8f=new this[(_0x2da607(0x1fc))][(_0x2da607(0x1f9))](this[_0x2da607(0x1bd)],_0x2e704e,{'maxCommentCharsWhenCollapsed':this[_0x2da607(0x1fc)][_0x2da607(0x1f5)],'formatDateTime':this[_0x2da607(0x1fc)][_0x2da607(0x1c1)],'editorConfig':this[_0x2da607(0x1fc)][_0x2da607(0x1be)]});_0x175a8f[_0x2da607(0x1c4)]=_0x2e704e['id'],_0x175a8f[_0x2da607(0x1dc)](_0x2da607(0x1d6))['to'](this),_0x175a8f[_0x2da607(0x1dc)](_0x2da607(0x204))['to'](this),_0x175a8f[_0x2da607(0x1dc)](_0x2da607(0x1da))['to'](this),_0x175a8f[_0x2da607(0x1dc)](_0x2da607(0x202))['to'](this),_0x175a8f[_0x2da607(0x1dc)](_0x2da607(0x1c3))['to'](this),this[_0x2da607(0x1eb)](_0x175a8f,_0x2da607(0x1c9),()=>this[_0x2da607(0x1b8)]()),this[_0x2da607(0x210)][_0x2da607(0x1f3)](_0x175a8f,_0x2a1be6);}[_0xa62803(0x1e4)](_0x792b63){const _0x2a5fe0=_0xa62803,_0x3e4e20=this[_0x2a5fe0(0x1fa)][_0x2a5fe0(0x1bb)](_0x792b63);return this[_0x2a5fe0(0x20f)]?this[_0x2a5fe0(0x20f)][_0x2a5fe0(0x1ff)]>_0x792b63[_0x2a5fe0(0x1ff)]?_0x3e4e20-0x1:_0x3e4e20:_0x3e4e20-0x1;}[_0xa62803(0x1bf)](){const _0x32a9df=_0xa62803;if(this[_0x32a9df(0x1fa)][_0x32a9df(0x215)]&&this[_0x32a9df(0x1fa)][_0x32a9df(0x1c8)]){const _0x561e07={'id':_0x32a9df(0x1e9),'author':this[_0x32a9df(0x1fa)][_0x32a9df(0x215)],'authoredAt':this[_0x32a9df(0x1fa)][_0x32a9df(0x1c8)],'content':_0x41e20f(this[_0x32a9df(0x1bd)],_0x32a9df(0x1e8)),'attributes':{}};this[_0x32a9df(0x20f)]=new this[(_0x32a9df(0x1fc))][(_0x32a9df(0x1f9))](this[_0x32a9df(0x1bd)],_0x561e07,{'maxCommentCharsWhenCollapsed':this[_0x32a9df(0x1fc)][_0x32a9df(0x1f5)],'formatDateTime':this[_0x32a9df(0x1fc)][_0x32a9df(0x1c1)],'editorConfig':this[_0x32a9df(0x1fc)][_0x32a9df(0x1be)],'isSystemComment':!0x0}),this[_0x32a9df(0x210)][_0x32a9df(0x1f3)](this[_0x32a9df(0x20f)],this[_0x32a9df(0x1fa)][_0x32a9df(0x1bb)](_0x561e07));}else this[_0x32a9df(0x20f)]&&(this[_0x32a9df(0x210)][_0x32a9df(0x1d5)](this[_0x32a9df(0x20f)]),this[_0x32a9df(0x20f)][_0x32a9df(0x1ce)](),this[_0x32a9df(0x20f)]=null);this[_0x32a9df(0x1e3)]();}[_0xa62803(0x206)](_0x2324ec){const _0x197fbf=_0xa62803,_0x3af659=this[_0x197fbf(0x210)][_0x197fbf(0x1d5)](_0x2324ec['id']);this[_0x197fbf(0x1f0)](_0x3af659),_0x3af659[_0x197fbf(0x1fd)]&&this[_0x197fbf(0x1b8)](),_0x3af659[_0x197fbf(0x1ce)]();}[_0xa62803(0x1b8)](){const _0xf05287=_0xa62803;this[_0xf05287(0x1c7)]=Array[_0xf05287(0x1ed)](this[_0xf05287(0x210)])[_0xf05287(0x1fb)](_0x130d44=>_0x130d44[_0xf05287(0x1fd)]);}[_0xa62803(0x214)](){const _0x3b327f=_0xa62803,_0x28da85=function(_0x1c0203){const _0x389cf5=_0x4cd5,_0x56fa61=new _0xd43131();for(const _0x529d40 of _0x1c0203)_0x56fa61[_0x389cf5(0x1f3)](_0x529d40);return _0x56fa61;}(this[_0x3b327f(0x210)]),_0x2fe012=this[_0x3b327f(0x1e1)][_0x3b327f(0x1c5)];for(let _0x5b0205=0x1;_0x5b0205<=_0x2fe012;_0x5b0205++)_0x28da85[_0x3b327f(0x1d5)](0x1);for(const _0x1c2aed of _0x28da85)_0x1c2aed[_0x3b327f(0x1de)]();_0x2fe012>0x0&&_0x28da85[_0x3b327f(0x1f3)](this[_0x3b327f(0x1e1)],0x1),ns(_0x5db599(Array[_0x3b327f(0x1ed)](this[_0x3b327f(0x1f6)]),Array[_0x3b327f(0x1ed)](_0x28da85)),this[_0x3b327f(0x1f6)],_0x28da85);}[_0xa62803(0x211)](){const _0x366478=_0xa62803;ns(_0x5db599(Array[_0x366478(0x1ed)](this[_0x366478(0x1f6)]),Array[_0x366478(0x1ed)](this[_0x366478(0x210)])),this[_0x366478(0x1f6)],this[_0x366478(0x210)]);for(const _0x109e21 of this[_0x366478(0x1f6)])_0x109e21[_0x366478(0x1e0)]();}[_0xa62803(0x1e7)](){const _0x404271=_0xa62803;this[_0x404271(0x210)][_0x404271(0x200)](_0x4895f3=>{const _0x1e9faf=_0x404271;this[_0x1e9faf(0x1f8)][_0x1e9faf(0x1f3)](_0x4895f3[_0x1e9faf(0x1b9)]),this[_0x1e9faf(0x1cf)][_0x1e9faf(0x1eb)](_0x4895f3[_0x1e9faf(0x1b9)]);}),this[_0x404271(0x210)]['on'](_0x404271(0x1fe),(_0x10b0b1,_0x5a1c26)=>{const _0x20bb11=_0x404271;for(const _0x42f0a3 of _0x5a1c26[_0x20bb11(0x20a)])this[_0x20bb11(0x1f8)][_0x20bb11(0x1d5)](_0x42f0a3[_0x20bb11(0x1b9)]),this[_0x20bb11(0x1cf)][_0x20bb11(0x1f0)](_0x42f0a3[_0x20bb11(0x1b9)]);for(const _0x143ee4 of Array[_0x20bb11(0x1ed)](_0x5a1c26[_0x20bb11(0x20d)])[_0x20bb11(0x205)]())this[_0x20bb11(0x1f8)][_0x20bb11(0x1f3)](_0x143ee4[_0x20bb11(0x1b9)]),this[_0x20bb11(0x1cf)][_0x20bb11(0x1eb)](_0x143ee4[_0x20bb11(0x1b9)]);});}}function ns(_0x1d8f55,_0x432763,_0x103e75){const _0x1551ef=_0xa62803;let _0x56d477=0x0;for(const _0x3a4ffa of _0x1d8f55)switch(_0x3a4ffa){case _0x1551ef(0x1c0):_0x432763[_0x1551ef(0x1f3)](_0x103e75[_0x1551ef(0x1d3)](_0x56d477),_0x56d477),_0x56d477++;break;case _0x1551ef(0x1ea):_0x432763[_0x1551ef(0x1d5)](_0x56d477);break;case _0x1551ef(0x20b):_0x56d477++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x116d70=_0x4964;(function(_0x99cc23,_0x3d1b41){const _0xddbc1e=_0x4964,_0x21771b=_0x99cc23();while(!![]){try{const _0x48b647=-parseInt(_0xddbc1e(0x1fa))/0x1+parseInt(_0xddbc1e(0x1ff))/0x2+parseInt(_0xddbc1e(0x201))/0x3+parseInt(_0xddbc1e(0x1fc))/0x4+parseInt(_0xddbc1e(0x1f8))/0x5*(-parseInt(_0xddbc1e(0x200))/0x6)+-parseInt(_0xddbc1e(0x1f9))/0x7*(-parseInt(_0xddbc1e(0x1f5))/0x8)+-parseInt(_0xddbc1e(0x1f2))/0x9;if(_0x48b647===_0x3d1b41)break;else _0x21771b['push'](_0x21771b['shift']());}catch(_0x189cf8){_0x21771b['push'](_0x21771b['shift']());}}}(_0x3a64,0x1e21d));import{View as _0x254d18}from'ckeditor5/src/ui.js';function _0x4964(_0x25a580,_0x23d5b5){const _0x3a6403=_0x3a64();return _0x4964=function(_0x496430,_0x324cad){_0x496430=_0x496430-0x1f2;let _0x335867=_0x3a6403[_0x496430];return _0x335867;},_0x4964(_0x25a580,_0x23d5b5);}function _0x3a64(){const _0x518ffa=['631182dXqGse','ck-context__value','span','1289628rvmsoY','focus','contextValue','64lOTLSL','element','THREAD_CONTEXT_LABEL','781025NYaYjT','62356NnspBg','54390AiEnes','set','372112aDrTBb','bindTemplate','setTemplate','205244pavcjM','6diIlwp'];_0x3a64=function(){return _0x518ffa;};return _0x3a64();}import{getTranslation as _0x389f4a}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x254d18{constructor(_0xdb9a25){const _0x34f70e=_0x4964;super(_0xdb9a25);const _0x1a9463=this[_0x34f70e(0x1fd)];this[_0x34f70e(0x1fb)](_0x34f70e(0x1f4),''),this[_0x34f70e(0x1fe)]({'tag':_0x34f70e(0x203),'attributes':{'class':['ck',_0x34f70e(0x202)],'aria-label':_0x1a9463['to'](_0x34f70e(0x1f4),_0x318b2f=>_0x389f4a(_0xdb9a25,_0x34f70e(0x1f7),_0x318b2f)),'tabindex':-0x1},'children':[{'text':_0x1a9463['to'](_0x34f70e(0x1f4))}]});}[_0x116d70(0x1f3)](){const _0x89aa50=_0x116d70;this[_0x89aa50(0x1f6)][_0x89aa50(0x1f3)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x28c0c8=_0x3944;(function(_0x1be0e6,_0x423b65){const _0x4add2d=_0x3944,_0x775d15=_0x1be0e6();while(!![]){try{const _0x4bcc49=-parseInt(_0x4add2d(0x226))/0x1*(-parseInt(_0x4add2d(0x1fa))/0x2)+parseInt(_0x4add2d(0x21b))/0x3+-parseInt(_0x4add2d(0x214))/0x4+parseInt(_0x4add2d(0x213))/0x5+parseInt(_0x4add2d(0x223))/0x6*(-parseInt(_0x4add2d(0x22b))/0x7)+parseInt(_0x4add2d(0x21d))/0x8*(-parseInt(_0x4add2d(0x20e))/0x9)+parseInt(_0x4add2d(0x20d))/0xa*(parseInt(_0x4add2d(0x20f))/0xb);if(_0x4bcc49===_0x423b65)break;else _0x775d15['push'](_0x775d15['shift']());}catch(_0x5378b7){_0x775d15['push'](_0x775d15['shift']());}}}(_0x1fbc,0x83405));import{View as _0x1b77d5,ButtonView as _0x3e4dca,FocusCycler as _0x5e7132}from'ckeditor5/src/ui.js';function _0x3944(_0x4826d8,_0x240158){const _0x1fbcf6=_0x1fbc();return _0x3944=function(_0x39447f,_0x54d5ae){_0x39447f=_0x39447f-0x1ee;let _0x36c0f9=_0x1fbcf6[_0x39447f];return _0x36c0f9;},_0x3944(_0x4826d8,_0x240158);}import{FocusTracker as _0x43a89a,KeystrokeHandler as _0x4125f9}from'ckeditor5/src/utils.js';import{IconUndo as _0x48c5f5}from'ckeditor5/src/icons.js';import{getTranslation as _0x2a99e8}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x14c3d0}from'./commentthreadheadercontextview.js';function _0x1fbc(){const _0x2aee69=['_setupKeyboardNavigation','fire','scrollWidth','440424fPZkal','Comment\x20was\x20made\x20on\x20an\x20element','render','97qjIwjJ','isResolvable','lastIndexOf','ck-thread__header','mouseleave','98ZLmKRp','focusables','contextValue','focusTracker','focus','listenTo','_attachContextActions','isResolved','.ck-context','ck-context-wrapper','_createContextView','reopenButtonView','shift+tab','ck-annotation__actions','ck-context','reopenCommentThread','contextView','focusCycler','hasContext','context','Reopen','createCollection','label','focusFirst','12266MofbRB','mouseenter','bind','keystrokes','value','length','classList','execute','add','bindTemplate','tooltip','overlay','_createReopenButton','locale','ck-context--quotes','isEnabled','_model','remove','_trimContextValue','14279270DynoWC','3645cXlGxr','11HFJzit','...','element','substring','1746755GiSwCi','2177096eHPCYQ','div','offsetWidth','querySelector','icon','isReadOnly','.ck-context__value','1529073BwsqSJ','isVisible','15256wQMGgy','tab','setTemplate'];_0x1fbc=function(){return _0x2aee69;};return _0x1fbc();}export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x1b77d5{[_0x28c0c8(0x20a)];[_0x28c0c8(0x236)];[_0x28c0c8(0x1f2)];[_0x28c0c8(0x22c)];[_0x28c0c8(0x22e)];[_0x28c0c8(0x1fd)];[_0x28c0c8(0x1f3)];constructor(_0x5736e6,_0x10091e){const _0x576837=_0x28c0c8;super(_0x5736e6);const _0x58b594=this[_0x576837(0x203)];this[_0x576837(0x20a)]=_0x10091e,this[_0x576837(0x236)]=this[_0x576837(0x206)](),this[_0x576837(0x1f2)]=this[_0x576837(0x235)](),this[_0x576837(0x22c)]=this[_0x576837(0x1f7)]([this[_0x576837(0x1f2)],this[_0x576837(0x236)]]),this[_0x576837(0x22e)]=new _0x43a89a(),this[_0x576837(0x1fd)]=new _0x4125f9(),this[_0x576837(0x1f3)]=new _0x5e7132({'focusables':this[_0x576837(0x22c)],'focusTracker':this[_0x576837(0x22e)],'keystrokeHandler':this[_0x576837(0x1fd)],'actions':{'focusPrevious':_0x576837(0x1ee),'focusNext':_0x576837(0x21e)}}),this[_0x576837(0x1fc)](_0x576837(0x1f4))['to'](this[_0x576837(0x20a)],_0x576837(0x1f5),_0x3cdfcd=>!!_0x3cdfcd),this[_0x576837(0x1fc)](_0x576837(0x22d))['to'](this[_0x576837(0x20a)],_0x576837(0x1f5),_0x3a294a=>_0x3a294a&&_0x3a294a[_0x576837(0x1fe)]?this[_0x576837(0x20c)](_0x3a294a[_0x576837(0x1fe)]):_0x2a99e8(this[_0x576837(0x207)],_0x576837(0x224))),this[_0x576837(0x21f)]({'tag':_0x576837(0x215),'attributes':{'class':[_0x576837(0x229)]},'children':[{'tag':_0x576837(0x215),'attributes':{'class':[_0x576837(0x234)]},'children':[{'tag':_0x576837(0x215),'attributes':{'class':[_0x576837(0x1f0),_0x58b594['if'](_0x576837(0x1f4),_0x576837(0x208))]},'children':[this[_0x576837(0x1f2)]]}]},{'tag':_0x576837(0x215),'attributes':{'class':[_0x576837(0x1ef)]},'children':[this[_0x576837(0x236)]]}]});}[_0x28c0c8(0x225)](){const _0x3a6e7a=_0x28c0c8;super[_0x3a6e7a(0x225)](),this[_0x3a6e7a(0x231)](),this[_0x3a6e7a(0x220)]();}[_0x28c0c8(0x22f)](){const _0x24ba55=_0x28c0c8;this[_0x24ba55(0x1f3)][_0x24ba55(0x1f9)]();}[_0x28c0c8(0x206)](){const _0x5accae=_0x28c0c8,_0x330f1e=new _0x3e4dca(this[_0x5accae(0x207)]);return _0x330f1e[_0x5accae(0x1f8)]=_0x2a99e8(this[_0x5accae(0x207)],_0x5accae(0x1f6)),_0x330f1e[_0x5accae(0x204)]=_0x2a99e8(this[_0x5accae(0x207)],_0x5accae(0x1f6)),_0x330f1e[_0x5accae(0x218)]=_0x48c5f5,_0x330f1e[_0x5accae(0x1fc)](_0x5accae(0x209))['to'](this[_0x5accae(0x20a)],_0x5accae(0x219),_0x2257a6=>!_0x2257a6),_0x330f1e[_0x5accae(0x1fc)](_0x5accae(0x21c))['to'](this[_0x5accae(0x20a)],_0x5accae(0x227),this[_0x5accae(0x20a)],_0x5accae(0x232),(_0x2e8f2e,_0x1df54f)=>_0x2e8f2e&&_0x1df54f),_0x330f1e['on'](_0x5accae(0x201),()=>{const _0x3043b6=_0x5accae;this[_0x3043b6(0x221)](_0x3043b6(0x1f1),this[_0x3043b6(0x20a)]['id']);}),_0x330f1e;}[_0x28c0c8(0x20c)](_0x319fc1){const _0x124173=_0x28c0c8;if(_0x319fc1[_0x124173(0x1ff)]<0x96)return _0x319fc1;const _0x44264e=_0x319fc1[_0x124173(0x228)]('\x20',0x93);return _0x319fc1[_0x124173(0x212)](0x0,_0x44264e>-0x1?_0x44264e:0x93)+_0x124173(0x210);}[_0x28c0c8(0x231)](){const _0x377f6e=_0x28c0c8,_0x4ba30b=this[_0x377f6e(0x211)][_0x377f6e(0x217)](_0x377f6e(0x233)),_0x5ad490=_0x4ba30b[_0x377f6e(0x217)](_0x377f6e(0x21a));this[_0x377f6e(0x230)](_0x4ba30b,_0x377f6e(0x1fb),()=>{const _0x57593e=_0x377f6e;_0x5ad490[_0x57593e(0x216)]<_0x5ad490[_0x57593e(0x222)]&&_0x4ba30b[_0x57593e(0x200)][_0x57593e(0x202)](_0x57593e(0x205));}),this[_0x377f6e(0x230)](_0x4ba30b,_0x377f6e(0x22a),()=>{const _0x6e3f1f=_0x377f6e;_0x4ba30b[_0x6e3f1f(0x200)][_0x6e3f1f(0x20b)](_0x6e3f1f(0x205));});}[_0x28c0c8(0x220)](){const _0x5df58b=_0x28c0c8;this[_0x5df58b(0x1fd)][_0x5df58b(0x230)](this[_0x5df58b(0x211)]);for(const _0x943f97 of this[_0x5df58b(0x22c)])this[_0x5df58b(0x22e)][_0x5df58b(0x202)](_0x943f97[_0x5df58b(0x211)]),this[_0x5df58b(0x1fd)][_0x5df58b(0x230)](_0x943f97[_0x5df58b(0x211)]);}[_0x28c0c8(0x235)](){const _0x2074b1=_0x28c0c8,_0x55c60d=new _0x14c3d0(this[_0x2074b1(0x207)]);return _0x55c60d[_0x2074b1(0x1fc)](_0x2074b1(0x22d))['to'](this),_0x55c60d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47d1fd=_0x35e7;function _0x213e(){const _0x4f2c57=['listenTo','commentInputView','focus','userView','2807HNDLiq','extendTemplate','contains','4628196FSagmU','19560QuNUKZ','showInput','destroy','bind','element','isFocused','filter','focusTracker','848946MWecZa','setTemplate','view','preventDefault','createEditor','then','editing','render','showButtons','set','delegate','div','ck-comment__input-container--active','editorReady','editor','change:showInput','focusCycler','782685GgATGk','_focusOnNonInteractiveMouseDown','mousedown','ck-comment__input-container','ck-thread__input','721594OFSfec','target','1045455KUBpTo','editorDestroyed','1kAcsjr','some','ck-thread__user','value','getDomRoot','bindTemplate','552330FIDmOx'];_0x213e=function(){return _0x4f2c57;};return _0x213e();}(function(_0x201137,_0x4ca229){const _0x3b96ad=_0x35e7,_0x3c9701=_0x201137();while(!![]){try{const _0x479ab7=parseInt(_0x3b96ad(0x1c6))/0x1*(parseInt(_0x3b96ad(0x1c2))/0x2)+parseInt(_0x3b96ad(0x1ac))/0x3+parseInt(_0x3b96ad(0x1a3))/0x4+-parseInt(_0x3b96ad(0x1c4))/0x5+parseInt(_0x3b96ad(0x1cc))/0x6+-parseInt(_0x3b96ad(0x1d1))/0x7*(parseInt(_0x3b96ad(0x1a4))/0x8)+-parseInt(_0x3b96ad(0x1bd))/0x9;if(_0x479ab7===_0x4ca229)break;else _0x3c9701['push'](_0x3c9701['shift']());}catch(_0x48d478){_0x3c9701['push'](_0x3c9701['shift']());}}}(_0x213e,0x967be));import{View as _0x4aca7b}from'ckeditor5/src/ui.js';function _0x35e7(_0x20422d,_0xabe016){const _0x213ecd=_0x213e();return _0x35e7=function(_0x35e7d5,_0x11aa8c){_0x35e7d5=_0x35e7d5-0x1a2;let _0x27250b=_0x213ecd[_0x35e7d5];return _0x27250b;},_0x35e7(_0x20422d,_0xabe016);}import{CommentInputView as _0x56d4bf}from'./commentinputview.js';import{UserView as _0x32c1c4}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x4aca7b{constructor(_0x156fc4,_0x333a6a,_0x4826b8){const _0x535d7e=_0x35e7;super(_0x156fc4),this[_0x535d7e(0x1ce)]=new _0x56d4bf(_0x156fc4,_0x4826b8),this[_0x535d7e(0x1bc)]=this[_0x535d7e(0x1ce)][_0x535d7e(0x1bc)],this[_0x535d7e(0x1ce)][_0x535d7e(0x1a7)](_0x535d7e(0x1b4))['to'](this[_0x535d7e(0x1ce)][_0x535d7e(0x1ab)],_0x535d7e(0x1a9),this[_0x535d7e(0x1ce)],_0x535d7e(0x1c9),(_0x11bc43,_0x341bed)=>_0x11bc43||!!_0x341bed),this[_0x535d7e(0x1b5)](_0x535d7e(0x1a5),!0x1),this['on'](_0x535d7e(0x1bb),()=>{const _0xffae6a=_0x535d7e;this[_0xffae6a(0x1a5)]&&!this[_0xffae6a(0x1ce)][_0xffae6a(0x1ba)]&&this[_0xffae6a(0x1ce)][_0xffae6a(0x1b0)]();}),this[_0x535d7e(0x1ce)][_0x535d7e(0x1b6)](_0x535d7e(0x1b9))['to'](this),this[_0x535d7e(0x1ce)][_0x535d7e(0x1b6)](_0x535d7e(0x1c5))['to'](this),this[_0x535d7e(0x1d0)]=new _0x32c1c4(_0x156fc4,_0x333a6a),this[_0x535d7e(0x1d0)][_0x535d7e(0x1d2)]({'attributes':{'class':_0x535d7e(0x1c8),'aria-hidden':!0x0}}),this[_0x535d7e(0x1ce)][_0x535d7e(0x1d2)]({'attributes':{'class':_0x535d7e(0x1c1)}}),this[_0x535d7e(0x1ad)]({'tag':_0x535d7e(0x1b7),'attributes':{'class':[_0x535d7e(0x1c0),this[_0x535d7e(0x1cb)]['if'](_0x535d7e(0x1a5),_0x535d7e(0x1b8))]},'children':[this[_0x535d7e(0x1d0)],this[_0x535d7e(0x1ce)]]});}[_0x47d1fd(0x1b3)](){const _0xc6bf66=_0x47d1fd;super[_0xc6bf66(0x1b3)](),this[_0xc6bf66(0x1be)]();}[_0x47d1fd(0x1a6)](){const _0x5028fe=_0x47d1fd;return this[_0x5028fe(0x1ce)][_0x5028fe(0x1a6)]()[_0x5028fe(0x1b1)](()=>super[_0x5028fe(0x1a6)]());}[_0x47d1fd(0x1cf)](_0x25e688){const _0x33c99e=_0x47d1fd;this[_0x33c99e(0x1ce)][_0x33c99e(0x1cf)](_0x25e688);}[_0x47d1fd(0x1be)](){const _0x2b0034=_0x47d1fd;this[_0x2b0034(0x1cd)](this[_0x2b0034(0x1a8)],_0x2b0034(0x1bf),(_0x55f01e,_0x4b89b6)=>{const _0x56c9d=_0x2b0034,{submitButtonView:_0x5cda2f,cancelButtonView:_0x56626b,editor:_0x40430d}=this[_0x56c9d(0x1ce)];[_0x5cda2f[_0x56c9d(0x1a8)],_0x56626b[_0x56c9d(0x1a8)],_0x40430d?_0x40430d[_0x56c9d(0x1b2)][_0x56c9d(0x1ae)][_0x56c9d(0x1ca)]():null][_0x56c9d(0x1aa)](_0x595315=>_0x595315)[_0x56c9d(0x1c7)](_0x4a1cd1=>_0x4a1cd1[_0x56c9d(0x1a2)](_0x4b89b6[_0x56c9d(0x1c3)]))||(this[_0x56c9d(0x1cf)](),_0x4b89b6[_0x56c9d(0x1af)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x432b49=_0x21df;(function(_0x138e5f,_0x5ad0ac){const _0x599935=_0x21df,_0x3de101=_0x138e5f();while(!![]){try{const _0x4d1b4f=-parseInt(_0x599935(0x14b))/0x1*(-parseInt(_0x599935(0x127))/0x2)+-parseInt(_0x599935(0x13c))/0x3+-parseInt(_0x599935(0x147))/0x4+parseInt(_0x599935(0x126))/0x5*(-parseInt(_0x599935(0x155))/0x6)+parseInt(_0x599935(0x154))/0x7+-parseInt(_0x599935(0x128))/0x8+parseInt(_0x599935(0x102))/0x9*(parseInt(_0x599935(0x14f))/0xa);if(_0x4d1b4f===_0x5ad0ac)break;else _0x3de101['push'](_0x3de101['shift']());}catch(_0xa9354d){_0x3de101['push'](_0x3de101['shift']());}}}(_0x1cd7,0xbbabf));import{ConfirmMixin as _0x18ace0,LateFocusButtonView as _0x1eeba4}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x592b1e}from'ckeditor5/src/icons.js';function _0x21df(_0x104142,_0x219ded){const _0x1cd7d1=_0x1cd7();return _0x21df=function(_0x21df1c,_0x1b6b72){_0x21df1c=_0x21df1c-0xfd;let _0x1e265b=_0x1cd7d1[_0x21df1c];return _0x1e265b;},_0x21df(_0x104142,_0x219ded);}function _0x1cd7(){const _0x502414=['placeholder','add','listenTo','isActive','focusables','isResolvable','ck-thread--remove-confirmation','setTemplate','cancelConfirm','1435800JhaUwv','isEnabled','getTemplate','commentThreadChildren','render','actionIndicator','tooltip','label','ariaLabel','listitem','length','2574848NXgJEb','_model','isResolved','extendTemplate','3HsvaVK','then','ck-thread--active','commentThreadHeaderView','122050iXzaNS','commentsListView','ck-thread','ck-reset_all-excluded','ck-thread__container','2990974OzuoUZ','25944Wfzkls','showConfirm','archivedAt','removeCommentThread','bind','removeButton','change:isReadOnly','1602lPaRhv','bindTemplate','containerElement','change:archivedAt','unbind','ariaDescriptionView','icon','commentViews','locale','resolveButton','_bindFirstCommentView','querySelector','remove','.ck-thread__container','set','resolveCommentThread','Write\x20a\x20comment...','element','change:isActive','ck-comment--resolve','isVisible','ck-thread--','focus','actionBar','_cancelAllConfirms','execute','isConfirm','Delete\x20comment\x20thread?','createCollection','_createResolveButton','ck-thread--unlinked','div','isSystemComment','removeConfirm','get','has','635nNlJaw','71662VhzzUC','2136816OnnJXL','stop','isUnlinked','high','_updateArchivedThreadHeader','ck-rounded-corners','Resolve','isReadOnly','fire','commentThreadInputView','_boundFirstCommentView'];_0x1cd7=function(){return _0x502414;};return _0x1cd7();}import{BaseCommentThreadView as _0x1cb79b}from'./basecommentthreadview.js';import{getTranslation as _0x2c4209}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x18ace0(_0x1cb79b){[_0x432b49(0x13f)];[_0x432b49(0x104)];[_0x432b49(0x10b)];[_0x432b49(0x132)];constructor(_0xfe00da,_0x276959,_0x4ec24b,_0x4b0274){const _0xdc26f1=_0x432b49;super(_0xfe00da,_0x276959,_0x4ec24b,_0x4b0274),this[_0xdc26f1(0x13f)]=this[_0xdc26f1(0x11e)]([this[_0xdc26f1(0x150)],this[_0xdc26f1(0x131)],this[_0xdc26f1(0x107)]]),this[_0xdc26f1(0x110)](_0xdc26f1(0x141),null),this[_0xdc26f1(0x104)]=null,this[_0xdc26f1(0x132)]=null,this[_0xdc26f1(0x10a)]=_0xfe00da,this[_0xdc26f1(0x10b)]=this[_0xdc26f1(0x11f)](),this[_0xdc26f1(0x13a)](this[_0xdc26f1(0x13e)]()),this['on'](_0xdc26f1(0x114),(_0xf5fd53,_0x1dca7d,_0x46a4b0)=>{const _0x7405cb=_0xdc26f1;_0x46a4b0||this[_0x7405cb(0x11a)]();}),this[_0xdc26f1(0x135)](this[_0xdc26f1(0x148)],_0xdc26f1(0x101),(_0x49c7c1,_0x4abdcd,_0x28be14)=>{const _0x4b5223=_0xdc26f1;_0x28be14&&this[_0x4b5223(0x11a)]();}),this[_0xdc26f1(0x146)]>0x0&&this[_0xdc26f1(0x10c)](),this[_0xdc26f1(0x135)](this[_0xdc26f1(0x150)][_0xdc26f1(0x109)],_0xdc26f1(0x134),()=>{const _0x1eb4ff=_0xdc26f1;this[_0x1eb4ff(0x10c)]();});}[_0x432b49(0x13e)](){const _0x3284e5=_0x432b49,_0x6e94dc=this[_0x3284e5(0x103)];return{'tag':_0x3284e5(0x121),'attributes':{'class':['ck',_0x3284e5(0x151),_0x3284e5(0x152),_0x3284e5(0x12d),_0x6e94dc['if'](_0x3284e5(0x136),_0x3284e5(0x14d)),_0x6e94dc['if'](_0x3284e5(0x12a),_0x3284e5(0x120)),_0x6e94dc['if'](_0x3284e5(0x11c),_0x3284e5(0x139)),_0x6e94dc['to'](_0x3284e5(0x141),_0x32c057=>_0x32c057?_0x3284e5(0x117)+_0x32c057:'')],'data-thread-id':this[_0x3284e5(0x148)]['id'],'tabindex':0x0,'role':_0x3284e5(0x145),'aria-label':_0x6e94dc['to'](_0x3284e5(0x144)),'aria-describedby':this[_0x3284e5(0x107)]['id']},'children':[{'tag':_0x3284e5(0x121),'attributes':{'class':_0x3284e5(0x153)},'children':this[_0x3284e5(0x13f)]}]};}[_0x432b49(0x140)](){const _0x228e04=_0x432b49;super[_0x228e04(0x140)](),this[_0x228e04(0x104)]=this[_0x228e04(0x113)][_0x228e04(0x10d)](_0x228e04(0x10f)),this[_0x228e04(0x148)]['on'](_0x228e04(0x105),()=>{const _0x516843=_0x228e04;this[_0x516843(0x12c)]();}),this[_0x228e04(0x12c)]();}[_0x432b49(0x11a)](){const _0x47f53a=_0x432b49;this[_0x47f53a(0x13b)]();for(const _0x23309b of this[_0x47f53a(0x150)][_0x47f53a(0x109)])_0x23309b[_0x47f53a(0x13b)]();}[_0x432b49(0x10c)](){const _0x54802c=_0x432b49,{locale:_0x36e139}=this,_0x291100=this[_0x54802c(0x150)][_0x54802c(0x109)][_0x54802c(0x124)](0x0);_0x291100===this[_0x54802c(0x132)]||_0x291100[_0x54802c(0x122)]||(this[_0x54802c(0x132)]=_0x291100,this[_0x54802c(0x106)](_0x54802c(0x141)),this[_0x54802c(0xff)](_0x54802c(0x141))['to'](_0x291100,_0x54802c(0x141),_0x175ef4=>_0x54802c(0x10e)===_0x175ef4?_0x54802c(0x10e):null),_0x291100[_0x54802c(0x133)]=_0x2c4209(_0x36e139,_0x54802c(0x112)),_0x291100[_0x54802c(0x100)]['on'](_0x54802c(0x11b),_0x614d8c=>{const _0x3b6fdd=_0x54802c;_0x614d8c[_0x3b6fdd(0x129)](),this[_0x3b6fdd(0x156)](_0x2c4209(_0x36e139,_0x3b6fdd(0x11d)),this[_0x3b6fdd(0x104)])[_0x3b6fdd(0x14c)](()=>{const _0x469ce1=_0x3b6fdd;this[_0x469ce1(0x130)](_0x469ce1(0xfe));});},{'priority':_0x54802c(0x12b)}),this['on'](_0x54802c(0x123),()=>{const _0x1a39b3=_0x54802c;_0x291100[_0x1a39b3(0x118)]();}),_0x291100[_0x54802c(0x119)][_0x54802c(0x134)](this[_0x54802c(0x10b)],0x0),_0x291100[_0x54802c(0x137)][_0x54802c(0x134)](this[_0x54802c(0x10b)],0x0));}[_0x432b49(0x11f)](){const _0x4310cb=_0x432b49,_0x4c3c52=new _0x1eeba4(this[_0x4310cb(0x10a)]);return _0x4c3c52[_0x4310cb(0x143)]=_0x2c4209(this[_0x4310cb(0x10a)],_0x4310cb(0x12e)),_0x4c3c52[_0x4310cb(0x142)]=_0x2c4209(this[_0x4310cb(0x10a)],_0x4310cb(0x12e)),_0x4c3c52[_0x4310cb(0x108)]=_0x592b1e,_0x4c3c52[_0x4310cb(0x14a)]({'attributes':{'class':_0x4310cb(0x115)}}),_0x4c3c52[_0x4310cb(0xff)](_0x4310cb(0x13d))['to'](this[_0x4310cb(0x148)],_0x4310cb(0x12f),_0x31bcdc=>!_0x31bcdc),_0x4c3c52[_0x4310cb(0xff)](_0x4310cb(0x116))['to'](this[_0x4310cb(0x148)],_0x4310cb(0x138),this[_0x4310cb(0x148)],_0x4310cb(0x149),(_0x5c5811,_0x47fac8)=>_0x5c5811&&!_0x47fac8),_0x4c3c52['on'](_0x4310cb(0x11b),()=>{const _0x1c2f37=_0x4310cb;this[_0x1c2f37(0x130)](_0x1c2f37(0x111),this[_0x1c2f37(0x148)]['id']);}),_0x4c3c52;}[_0x432b49(0x12c)](){const _0x1aee96=_0x432b49;this[_0x1aee96(0x148)][_0x1aee96(0xfd)]?this[_0x1aee96(0x13f)][_0x1aee96(0x125)](this[_0x1aee96(0x14e)])||(this[_0x1aee96(0x13f)][_0x1aee96(0x134)](this[_0x1aee96(0x14e)],0x0),this[_0x1aee96(0x137)][_0x1aee96(0x134)](this[_0x1aee96(0x14e)],0x0)):this[_0x1aee96(0x13f)][_0x1aee96(0x125)](this[_0x1aee96(0x14e)])&&(this[_0x1aee96(0x13f)][_0x1aee96(0x10e)](this[_0x1aee96(0x14e)]),this[_0x1aee96(0x137)][_0x1aee96(0x10e)](this[_0x1aee96(0x14e)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x29b6cb=_0x49fd;(function(_0x4d70fe,_0x1639a0){const _0x11ee6f=_0x49fd,_0x24f767=_0x4d70fe();while(!![]){try{const _0x5a5057=parseInt(_0x11ee6f(0x115))/0x1+parseInt(_0x11ee6f(0x120))/0x2*(parseInt(_0x11ee6f(0xe3))/0x3)+-parseInt(_0x11ee6f(0x139))/0x4*(parseInt(_0x11ee6f(0x121))/0x5)+-parseInt(_0x11ee6f(0xfb))/0x6+parseInt(_0x11ee6f(0xcd))/0x7*(-parseInt(_0x11ee6f(0xe9))/0x8)+-parseInt(_0x11ee6f(0xf2))/0x9*(parseInt(_0x11ee6f(0x122))/0xa)+-parseInt(_0x11ee6f(0x12b))/0xb*(-parseInt(_0x11ee6f(0x10f))/0xc);if(_0x5a5057===_0x1639a0)break;else _0x24f767['push'](_0x24f767['shift']());}catch(_0x5802a7){_0x24f767['push'](_0x24f767['shift']());}}}(_0x450f,0x4f47d));function _0x450f(){const _0x2641f2=['removeButton','Delete\x20comment?','ck-comment__actions--hidden','727098XHdxGh','ck-annotation__info-time','Edit','name','Remove','focus','element','ck-annotation__info','switchToEditMode','ck-comment__external','ck-annotation__content-wrapper','execute','isExternal','editButton','edit','placeholder','buttonView','actionBar','isEditable','addMany','160452HkVGqc','find','ck-comment__info-name','_createRemoveButton','ck-annotation','ck-annotation__user','384436LcTPbB','isEditMode','createCollection','extendTemplate','Reply...','panelView','authoredAt','panelPosition','_createDropdown','removeComment','ck-comment--info','4KRIlwg','965OxckHT','40mUnjhh','visibleView','ck-comment__info','change:isRemovable','ck-comment--','from','dropdown','locale','ck-comment__wrapper','517XULnFU','render','bind','some','formatDateTime','time','ck-comment__info-time','toMany','getExternalCommentNote','fire','isReadOnly','mouseleave','Show\x20more\x20items','ck-annotation__actions--hidden','428heZBFU','children','label','isConfirm','focusables','length','ck-comment__actions','add','isSystemComment','ck-annotation__info-name','group','resolvedAt','showConfirm','author','then','1559124sPoWWJ','items','bindTemplate','ck-comment--edit','blur','getUserViewNotificationText','listenTo','ck-comment','isVisible','ck-annotation__actions','set','_createEditButton','icon','_attachActions','withText','getTemplate','cancelConfirm','ariaDescriptionView','mouseenter','unbind','isRemovable','ck-annotation__main','78117rBuTYu','_model','_createCommentInputView','span','div','ariaLabel','8XgRsUq','ck-comment--remove-confirmation','ck-comment__main','listitem','ck-hidden','actionIndicator','ck-comment--remove','userView','ck-comment__user','845217KFXWge','_config','isEnabled','setTemplate','push','remove'];_0x450f=function(){return _0x2641f2;};return _0x450f();}import{IconRemoveComment as _0x42ba7c,IconPencil as _0x19ff0a,IconThreeVerticalDots as _0x2f5b15}from'ckeditor5/src/icons.js';import{ButtonView as _0xdc9499,createDropdown as _0x13c249,ListView as _0x126058,ListItemView as _0x5510bf,focusChildOnDropdownOpen as _0x538912}from'ckeditor5/src/ui.js';import{UserView as _0xf0f210,ConfirmMixin as _0x5c9d24,LateFocusDropdownButtonView as _0x3708bf}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x49fd(_0x279d64,_0x56576a){const _0x450f45=_0x450f();return _0x49fd=function(_0x49fd15,_0x11c913){_0x49fd15=_0x49fd15-0xbf;let _0x567e3e=_0x450f45[_0x49fd15];return _0x567e3e;},_0x49fd(_0x279d64,_0x56576a);}import{BaseCommentView as _0x2f9c4a}from'./basecommentview.js';import{getTranslation as _0x5cefee}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5c9d24(_0x2f9c4a){[_0x29b6cb(0x10c)];[_0x29b6cb(0xf0)];constructor(_0x5b02cb,_0x3a5c03,_0x58e824){const _0x558df9=_0x29b6cb;super(_0x5b02cb,_0x3a5c03,_0x58e824),this[_0x558df9(0xd7)](_0x558df9(0xee),null),this[_0x558df9(0xd7)](_0x558df9(0x10a),_0x5cefee(_0x5b02cb,_0x558df9(0x119))),this[_0x558df9(0x12d)](_0x558df9(0x11b))['to'](_0x3a5c03),this[_0x558df9(0x12d)](_0x558df9(0xc9))['to'](_0x3a5c03),this[_0x558df9(0x10c)]=this[_0x558df9(0x117)](),this[_0x558df9(0xc6)]||(this[_0x558df9(0x108)]=this[_0x558df9(0xd8)](),this[_0x558df9(0xf8)]=this[_0x558df9(0x112)](),this[_0x558df9(0xce)]=this[_0x558df9(0x117)](),this[_0x558df9(0xce)][_0x558df9(0x10e)]([this[_0x558df9(0x108)],this[_0x558df9(0xf8)]]),this[_0x558df9(0x128)]=this[_0x558df9(0x11d)](),this[_0x558df9(0x10c)][_0x558df9(0xc5)](this[_0x558df9(0x128)]),this[_0x558df9(0xc2)][_0x558df9(0xc5)](this[_0x558df9(0x128)])),this[_0x558df9(0xf0)]=new _0xf0f210(_0x5b02cb,_0x3a5c03[_0x558df9(0xcb)],this[_0x558df9(0xd2)]()),this[_0x558df9(0xf0)][_0x558df9(0x118)]({'attributes':{'class':[_0x558df9(0xf1),_0x558df9(0x114)],'aria-hidden':!0x0}}),this[_0x558df9(0xd3)](_0x3a5c03,_0x558df9(0x125),()=>this[_0x558df9(0xdd)]()),this[_0x558df9(0xf5)](this[_0x558df9(0xdc)]());}[_0x29b6cb(0xdc)](){const _0xacc03a=_0x29b6cb,_0x586c18=this[_0xacc03a(0xcf)],_0x203c7b=[{'tag':_0xacc03a(0xe7),'attributes':{'class':[_0xacc03a(0x124),_0xacc03a(0x102)]},'children':[{'tag':_0xacc03a(0xe6),'children':[{'text':this[_0xacc03a(0xf0)][_0xacc03a(0xfe)]}],'attributes':{'class':[_0xacc03a(0x111),_0xacc03a(0xc7)],'data-cke-tooltip-text':this[_0xacc03a(0xf0)][_0xacc03a(0xfe)]}},{'tag':_0xacc03a(0x130),'attributes':{'datetime':_0x586c18['to'](_0xacc03a(0x11b)),'class':[_0xacc03a(0x131),_0xacc03a(0xfc)]},'children':[{'text':_0x586c18['to'](_0xacc03a(0x11b),_0x19f749=>this[_0xacc03a(0xf3)][_0xacc03a(0x12f)](_0x19f749))}]}]},{'tag':_0xacc03a(0xe7),'attributes':{'class':[_0xacc03a(0xc4),_0xacc03a(0xd6),_0x586c18['if'](_0xacc03a(0x116),_0xacc03a(0xfa)),_0x586c18['if'](_0xacc03a(0x116),_0xacc03a(0x138))]},'children':this[_0xacc03a(0x10c)]},{'tag':_0xacc03a(0xe7),'attributes':{'class':[_0xacc03a(0x105)]},'children':this[_0xacc03a(0x123)]},this[_0xacc03a(0xde)]];return this[_0xacc03a(0xe4)][_0xacc03a(0x107)]&&_0x203c7b[_0xacc03a(0xf6)]({'tag':_0xacc03a(0xe7),'attributes':{'class':[_0xacc03a(0x104)]},'children':[{'text':this[_0xacc03a(0x133)]()}]}),{'tag':'li','attributes':{'class':[_0xacc03a(0x12a),_0x586c18['if'](_0xacc03a(0xc1),_0xacc03a(0xea))],'tabindex':-0x1,'aria-label':_0x586c18['to'](_0xacc03a(0xe8)),'aria-describedby':this[_0xacc03a(0xde)]['id'],'role':_0xacc03a(0xec)},'children':[{'tag':_0xacc03a(0xe7),'attributes':{'class':[_0xacc03a(0xd4),_0xacc03a(0x113),_0x586c18['if'](_0xacc03a(0x116),_0xacc03a(0xd0)),_0x586c18['if'](_0xacc03a(0xc6),_0xacc03a(0x11f)),_0x586c18['to'](_0xacc03a(0xee),_0x1bc470=>_0x1bc470?_0xacc03a(0x126)+_0x1bc470:'')],'data-author-id':this[_0xacc03a(0xe4)][_0xacc03a(0xcb)]['id'],'data-comment-id':this[_0xacc03a(0xe4)]['id'],'role':_0xacc03a(0xc8)},'children':[this[_0xacc03a(0xf0)],{'tag':_0xacc03a(0xe7),'attributes':{'class':[_0xacc03a(0xeb),_0xacc03a(0xe2)]},'children':_0x203c7b}]}]};}[_0x29b6cb(0xd8)](){const _0x443d19=_0x29b6cb,_0x3cfef0=new _0xdc9499(this[_0x443d19(0x129)]);return _0x3cfef0[_0x443d19(0xc0)]=_0x5cefee(this[_0x443d19(0x129)],_0x443d19(0xfd)),_0x3cfef0[_0x443d19(0xd9)]=_0x19ff0a,_0x3cfef0[_0x443d19(0xdb)]=!0x0,_0x3cfef0[_0x443d19(0x118)]({'attributes':{'class':_0x443d19(0xd0)}}),_0x3cfef0[_0x443d19(0x12d)](_0x443d19(0xf4))['to'](this[_0x443d19(0xe4)],_0x443d19(0x135),_0x505f2d=>!_0x505f2d),_0x3cfef0[_0x443d19(0x12d)](_0x443d19(0xd5))['to'](this[_0x443d19(0xe4)],_0x443d19(0x10d)),_0x3cfef0['on'](_0x443d19(0x106),()=>this[_0x443d19(0x103)]()),_0x3cfef0;}[_0x29b6cb(0x112)](){const _0x4fae1f=_0x29b6cb,_0x134809=new _0xdc9499(this[_0x4fae1f(0x129)]);return _0x134809[_0x4fae1f(0xc0)]=_0x5cefee(this[_0x4fae1f(0x129)],_0x4fae1f(0xff)),_0x134809[_0x4fae1f(0xd9)]=_0x42ba7c,_0x134809[_0x4fae1f(0xdb)]=!0x0,_0x134809[_0x4fae1f(0x118)]({'attributes':{'class':_0x4fae1f(0xef)}}),_0x134809[_0x4fae1f(0x12d)](_0x4fae1f(0xf4))['to'](this[_0x4fae1f(0xe4)],_0x4fae1f(0x135),_0x56cc7f=>!_0x56cc7f),_0x134809[_0x4fae1f(0x12d)](_0x4fae1f(0xd5))['to'](this[_0x4fae1f(0xe4)],_0x4fae1f(0xe1)),_0x134809['on'](_0x4fae1f(0x106),()=>{const _0x3892e3=_0x4fae1f;this[_0x3892e3(0xca)](_0x5cefee(this[_0x3892e3(0x129)],_0x3892e3(0xf9)),this[_0x3892e3(0x101)])[_0x3892e3(0xcc)](()=>{const _0x4fdb29=_0x3892e3;this[_0x4fdb29(0x134)](_0x4fdb29(0x11e),this[_0x4fdb29(0xe4)]['id']);});}),_0x134809;}[_0x29b6cb(0x11d)](){const _0x3005cd=_0x29b6cb,_0x4ff7f7=_0x13c249(this[_0x3005cd(0x129)],_0x3708bf),_0x2fed25=_0x4ff7f7[_0x3005cd(0x11a)][_0x3005cd(0xbf)],_0x39f62e=new _0x126058(this[_0x3005cd(0x129)]),_0x275dfc=_0x4ff7f7[_0x3005cd(0xcf)];_0x538912(_0x4ff7f7,()=>this[_0x3005cd(0xce)][_0x3005cd(0x110)](_0x1b3fcf=>_0x1b3fcf[_0x3005cd(0xd5)])),_0x4ff7f7[_0x3005cd(0x118)]({'attributes':{'class':[_0x275dfc['if'](_0x3005cd(0xd5),_0x3005cd(0xed),_0x1f21f9=>!_0x1f21f9)]}});const _0xbb5e8a=(_0x4c22c4,_0x3bf7ad=-0x1)=>{const _0x554472=_0x3005cd,_0x177b76=new _0x5510bf(this[_0x554472(0x129)]);_0x177b76[_0x554472(0xbf)][_0x554472(0xc5)](_0x4c22c4);const _0x498402=_0x3bf7ad>-0x1?_0x3bf7ad:_0x39f62e[_0x554472(0xce)][_0x554472(0xc3)];_0x39f62e[_0x554472(0xce)][_0x554472(0xc5)](_0x177b76,_0x498402);const _0x3432ae=Array[_0x554472(0x127)](this[_0x554472(0xce)]);_0x4ff7f7[_0x554472(0xe0)](_0x554472(0xf4),_0x554472(0xd5)),_0x4ff7f7[_0x554472(0x12d)](_0x554472(0xf4))[_0x554472(0x132)](_0x3432ae,_0x554472(0xf4),(..._0x2008bb)=>_0x2008bb[_0x554472(0x12e)](_0x5680a0=>_0x5680a0)),_0x4ff7f7[_0x554472(0x12d)](_0x554472(0xd5))[_0x554472(0x132)](_0x3432ae,_0x554472(0xd5),(..._0x44699f)=>_0x44699f[_0x554472(0x12e)](_0x1de3bd=>_0x1de3bd));};_0x4ff7f7[_0x3005cd(0x11c)]='sw',_0x4ff7f7[_0x3005cd(0x10b)][_0x3005cd(0xd7)]({'label':_0x5cefee(this[_0x3005cd(0x129)],_0x3005cd(0x137)),'icon':_0x2f5b15});for(const _0x57e757 of this[_0x3005cd(0xce)])_0xbb5e8a(_0x57e757);return _0x2fed25[_0x3005cd(0xc5)](_0x39f62e),_0x4ff7f7[_0x3005cd(0xd3)](this[_0x3005cd(0xce)],_0x3005cd(0xc5),(_0x12d803,_0x7c8978,_0x36d19f)=>{_0xbb5e8a(_0x7c8978,_0x36d19f);}),_0x4ff7f7[_0x3005cd(0xd3)](this[_0x3005cd(0xce)],_0x3005cd(0xf7),(_0x21cd85,_0x9839ea,_0xb90e83)=>{const _0x282bab=_0x3005cd;_0x39f62e[_0x282bab(0xce)][_0x282bab(0xf7)](_0xb90e83);}),_0x4ff7f7;}[_0x29b6cb(0xda)](_0x2c438f,_0x26cb11){const _0x238a10=_0x29b6cb,_0x375854=_0x2c438f&&_0x2c438f[_0x238a10(0x101)];_0x375854&&(this[_0x238a10(0xd3)](_0x375854,_0x238a10(0xdf),()=>this[_0x238a10(0xee)]=_0x26cb11),this[_0x238a10(0xd3)](_0x375854,_0x238a10(0x100),()=>this[_0x238a10(0xee)]=_0x26cb11),this[_0x238a10(0xd3)](_0x375854,_0x238a10(0x136),()=>this[_0x238a10(0xee)]=null),this[_0x238a10(0xd3)](_0x375854,_0x238a10(0xd1),()=>this[_0x238a10(0xee)]=null));}[_0x29b6cb(0xe5)](){const _0x39e413=_0x29b6cb,_0x4450ab=super[_0x39e413(0xe5)]();return _0x4450ab[_0x39e413(0x12d)](_0x39e413(0x10a))['to'](this),_0x4450ab;}[_0x29b6cb(0x12c)](){const _0x3915a1=_0x29b6cb;super[_0x3915a1(0x12c)](),this[_0x3915a1(0xda)](this[_0x3915a1(0x108)],_0x3915a1(0x109)),this[_0x3915a1(0xda)](this[_0x3915a1(0xf8)],_0x3915a1(0xf7));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1acec8=_0x39a8;(function(_0x5e8af3,_0x1fa4e6){var _0x4ef531=_0x39a8,_0x1becfc=_0x5e8af3();while(!![]){try{var _0x3b5219=-parseInt(_0x4ef531(0x193))/0x1*(-parseInt(_0x4ef531(0x19a))/0x2)+parseInt(_0x4ef531(0x191))/0x3+-parseInt(_0x4ef531(0x18d))/0x4*(-parseInt(_0x4ef531(0x18e))/0x5)+-parseInt(_0x4ef531(0x197))/0x6+parseInt(_0x4ef531(0x18c))/0x7*(parseInt(_0x4ef531(0x19b))/0x8)+parseInt(_0x4ef531(0x190))/0x9*(parseInt(_0x4ef531(0x192))/0xa)+-parseInt(_0x4ef531(0x196))/0xb;if(_0x3b5219===_0x1fa4e6)break;else _0x1becfc['push'](_0x1becfc['shift']());}catch(_0x33cc06){_0x1becfc['push'](_0x1becfc['shift']());}}}(_0x33f6,0x9df1d));import{Plugin as _0x1c78c0}from'ckeditor5/src/core.js';import{CommentsRepository as _0x18af0e}from'./comments/commentsrepository.js';import{CommentsEditing as _0x233218}from'./comments/commentsediting.js';import{CommentsUI as _0x52666a}from'./comments/commentsui.js';import{CommentsOnly as _0x35dd2d}from'./commentsonly.js';import{WideSidebar as _0x40e280}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x57311e}from'./annotations/narrowsidebar.js';function _0x33f6(){var _0x92be5f=['113CyFuCx','requires','pluginName','19801727zUokUn','5340894NQPkTU','isOfficialPlugin','Comments','4556mGaMTs','2880EjGIUF','10780GAOman','521908QekIhG','30TdUsIH','isPremiumPlugin','198OrXtWP','3064761ZnDBaw','327720InIaMH'];_0x33f6=function(){return _0x92be5f;};return _0x33f6();}import{InlineAnnotations as _0x1eb1ed}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x37bd81}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x5209bd}from'./comments/commentsarchive.js';function _0x39a8(_0x39faec,_0x23d19e){var _0x33f6b7=_0x33f6();return _0x39a8=function(_0x39a8aa,_0x1dbd9c){_0x39a8aa=_0x39a8aa-0x18c;var _0x3794e3=_0x33f6b7[_0x39a8aa];return _0x3794e3;},_0x39a8(_0x39faec,_0x23d19e);}export class Comments extends _0x1c78c0{static get[_0x1acec8(0x194)](){return[_0x18af0e,_0x233218,_0x52666a,_0x5209bd,_0x37bd81,_0x35dd2d,_0x40e280,_0x57311e,_0x1eb1ed];}static get[_0x1acec8(0x195)](){var _0x20218c=_0x1acec8;return _0x20218c(0x199);}static get[_0x1acec8(0x198)](){return!0x0;}static get[_0x1acec8(0x18f)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x204ace=_0xd56f;function _0xd56f(_0x105fbc,_0x1f8704){const _0x489c5f=_0x489c();return _0xd56f=function(_0xd56fa6,_0x310e46){_0xd56fa6=_0xd56fa6-0x1ea;let _0x1579f4=_0x489c5f[_0xd56fa6];return _0x1579f4;},_0xd56f(_0x105fbc,_0x1f8704);}(function(_0x1e0c67,_0x11381d){const _0x4bde2a=_0xd56f,_0x4619e6=_0x1e0c67();while(!![]){try{const _0x23719b=parseInt(_0x4bde2a(0x207))/0x1*(parseInt(_0x4bde2a(0x1fd))/0x2)+-parseInt(_0x4bde2a(0x1f2))/0x3+parseInt(_0x4bde2a(0x1ef))/0x4*(-parseInt(_0x4bde2a(0x219))/0x5)+parseInt(_0x4bde2a(0x20c))/0x6*(parseInt(_0x4bde2a(0x1f4))/0x7)+-parseInt(_0x4bde2a(0x1f1))/0x8*(-parseInt(_0x4bde2a(0x1ec))/0x9)+parseInt(_0x4bde2a(0x1f0))/0xa*(-parseInt(_0x4bde2a(0x1fc))/0xb)+parseInt(_0x4bde2a(0x21a))/0xc*(parseInt(_0x4bde2a(0x217))/0xd);if(_0x23719b===_0x11381d)break;else _0x4619e6['push'](_0x4619e6['shift']());}catch(_0x5c85f8){_0x4619e6['push'](_0x4619e6['shift']());}}}(_0x489c,0x9fac2));import{Plugin as _0xe6e6ab}from'ckeditor5/src/core.js';import{CommentsEditing as _0x25dbc0}from'./comments/commentsediting.js';export class CommentsOnly extends _0xe6e6ab{static get[_0x204ace(0x1f5)](){const _0x2ceb03=_0x204ace;return _0x2ceb03(0x1f8);}static get[_0x204ace(0x210)](){return!0x0;}static get[_0x204ace(0x1eb)](){return!0x0;}static get[_0x204ace(0x213)](){return[_0x25dbc0];}constructor(_0x453108){const _0x99e888=_0x204ace;super(_0x453108),this[_0x99e888(0x216)](_0x99e888(0x200),!0x1),this['on'](_0x99e888(0x20d),(_0x389b2b,_0x294e5d,_0x197a7e)=>{const _0xc6c8ba=_0x99e888;_0x197a7e?this[_0xc6c8ba(0x1fa)]():this[_0xc6c8ba(0x20e)]();});}[_0x204ace(0x209)](){const _0x3a27e4=_0x204ace;!this[_0x3a27e4(0x200)]&&this[_0x3a27e4(0x215)][_0x3a27e4(0x1f9)][_0x3a27e4(0x204)](_0x3a27e4(0x208))&&(this[_0x3a27e4(0x200)]=!0x0);}[_0x204ace(0x1fa)](){const _0x1d089e=_0x204ace;for(const [_0x30be0f,_0x29f42b]of this[_0x1d089e(0x215)][_0x1d089e(0x202)])_0x29f42b[_0x1d089e(0x1f3)]&&_0x1d089e(0x1ea)!==_0x30be0f&&_0x29f42b[_0x1d089e(0x1ed)](_0x1d089e(0x1ff));(this[_0x1d089e(0x215)][_0x1d089e(0x214)][_0x1d089e(0x1fb)](_0x1d089e(0x20f))&&this[_0x1d089e(0x215)][_0x1d089e(0x214)][_0x1d089e(0x204)](_0x1d089e(0x20f))[_0x1d089e(0x1ed)](_0x1d089e(0x1ff)),this[_0x1d089e(0x215)][_0x1d089e(0x214)][_0x1d089e(0x1fb)](_0x1d089e(0x203)))&&this[_0x1d089e(0x215)][_0x1d089e(0x214)][_0x1d089e(0x204)](_0x1d089e(0x203))[_0x1d089e(0x1ed)](_0x1d089e(0x1ff));this[_0x1d089e(0x215)][_0x1d089e(0x202)][_0x1d089e(0x204)](_0x1d089e(0x1ee))?.[_0x1d089e(0x1ed)](_0x1d089e(0x1ff));const _0x3f49d5=this[_0x1d089e(0x215)][_0x1d089e(0x212)][_0x1d089e(0x206)][_0x1d089e(0x1f7)];this[_0x1d089e(0x1f6)](_0x3f49d5,_0x1d089e(0x218),_0x31e550=>_0x31e550[_0x1d089e(0x20a)](),{'priority':_0x1d089e(0x1fe)}),this[_0x1d089e(0x1f6)](_0x3f49d5,_0x1d089e(0x201),_0x56f7b5=>_0x56f7b5[_0x1d089e(0x20a)](),{'priority':_0x1d089e(0x1fe)}),this[_0x1d089e(0x1f6)](_0x3f49d5,_0x1d089e(0x211),_0x4f2bb8=>_0x4f2bb8[_0x1d089e(0x20a)](),{'priority':_0x1d089e(0x1fe)});}[_0x204ace(0x20e)](){const _0x2af706=_0x204ace;for(const [_0x34856e,_0x28e2ad]of this[_0x2af706(0x215)][_0x2af706(0x202)])_0x28e2ad[_0x2af706(0x1f3)]&&_0x2af706(0x1ea)!==_0x34856e&&_0x28e2ad[_0x2af706(0x20b)](_0x2af706(0x1ff));this[_0x2af706(0x215)][_0x2af706(0x214)][_0x2af706(0x1fb)](_0x2af706(0x203))&&this[_0x2af706(0x215)][_0x2af706(0x214)][_0x2af706(0x204)](_0x2af706(0x203))[_0x2af706(0x20b)](_0x2af706(0x1ff)),this[_0x2af706(0x215)][_0x2af706(0x202)][_0x2af706(0x204)](_0x2af706(0x1ee))?.[_0x2af706(0x20b)](_0x2af706(0x1ff)),this[_0x2af706(0x205)](this[_0x2af706(0x215)][_0x2af706(0x212)][_0x2af706(0x206)][_0x2af706(0x1f7)]);}}function _0x489c(){const _0x328e40=['highest','commentsOnlyMode','isEnabled','clipboardInput','commands','SourceEditing','get','stopListening','view','751PbCGbb','commentsOnly','afterInit','stop','clearForceDisabled','3030sBssQj','change:isEnabled','_disableCommentsOnlyMode','DragDrop','isOfficialPlugin','delete','editing','requires','plugins','editor','set','20839039ydhKZZ','cut','20QcZZDW','12zRccVe','addCommentThread','isPremiumPlugin','27iGpzoC','forceDisabled','editSource','1137296RRYSnI','1612330rgHGUc','785864nJNbsM','2755695hZOTMi','affectsData','11221KFVoSB','pluginName','listenTo','document','CommentsOnly','config','_enableCommentsOnlyMode','has','55LGIUiw','2154ArJIPK'];_0x489c=function(){return _0x328e40;};return _0x489c();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x307436,_0x45fda8){var _0x446fd2=_0x503e,_0x16b02b=_0x307436();while(!![]){try{var _0x9bae0d=-parseInt(_0x446fd2(0x11e))/0x1*(-parseInt(_0x446fd2(0x118))/0x2)+-parseInt(_0x446fd2(0x120))/0x3*(parseInt(_0x446fd2(0x11f))/0x4)+parseInt(_0x446fd2(0x11b))/0x5*(-parseInt(_0x446fd2(0x117))/0x6)+parseInt(_0x446fd2(0x122))/0x7*(-parseInt(_0x446fd2(0x11c))/0x8)+parseInt(_0x446fd2(0x116))/0x9*(parseInt(_0x446fd2(0x121))/0xa)+parseInt(_0x446fd2(0x119))/0xb+parseInt(_0x446fd2(0x11d))/0xc*(parseInt(_0x446fd2(0x11a))/0xd);if(_0x9bae0d===_0x45fda8)break;else _0x16b02b['push'](_0x16b02b['shift']());}catch(_0x309f01){_0x16b02b['push'](_0x16b02b['shift']());}}}(_0x55c6,0x9d0da));function _0x55c6(){var _0x44e421=['304116qlpBnA','9WXxwio','2419530QdRftO','7OgcsaA','9upLLjw','24kBDPZX','2ytOvGu','14016519kiYqqd','13OCGEqj','841230XsWAAv','8867512XZMnvD','9864588ceSfNy','314569TLMCaU'];_0x55c6=function(){return _0x44e421;};return _0x55c6();}export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';function _0x503e(_0x14b1c6,_0x381d6b){var _0x55c6c0=_0x55c6();return _0x503e=function(_0x503ef5,_0x24fd0d){_0x503ef5=_0x503ef5-0x116;var _0x15cf34=_0x55c6c0[_0x503ef5];return _0x15cf34;},_0x503e(_0x14b1c6,_0x381d6b);}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';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';export{CommentsArchiveUI}from'./comments/commentsarchiveui.js';export{CommentsEditing}from'./comments/commentsediting.js';export{AnnotationCounterButtonView}from'./annotations/view/annotationcounterbuttonview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x444e34,_0x2839c5,_0x43bf56){const t=_0x444e34['t'];switch(_0x2839c5){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'},_0x43bf56);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'},_0x43bf56);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'},_0x43bf56);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'},_0x43bf56);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x43bf56);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'},_0x43bf56);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'},_0x43bf56);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'},_0x43bf56);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(_0x1497f6,_0x20f578){const _0x1de1cb=_0x5cdf,_0x2a5bf3=_0x1497f6();while(!![]){try{const _0x1c95be=-parseInt(_0x1de1cb(0xa9))/0x1*(parseInt(_0x1de1cb(0xa3))/0x2)+parseInt(_0x1de1cb(0xa4))/0x3*(parseInt(_0x1de1cb(0x9b))/0x4)+-parseInt(_0x1de1cb(0xaa))/0x5*(parseInt(_0x1de1cb(0x9c))/0x6)+-parseInt(_0x1de1cb(0xab))/0x7*(-parseInt(_0x1de1cb(0xa0))/0x8)+-parseInt(_0x1de1cb(0xa8))/0x9*(parseInt(_0x1de1cb(0x98))/0xa)+parseInt(_0x1de1cb(0x9e))/0xb+parseInt(_0x1de1cb(0xa1))/0xc;if(_0x1c95be===_0x20f578)break;else _0x2a5bf3['push'](_0x2a5bf3['shift']());}catch(_0x31e0a){_0x2a5bf3['push'](_0x2a5bf3['shift']());}}}(_0x32bd,0x5e711));import{throttle as _0x3ec2f1}from'es-toolkit/compat';function _0x5cdf(_0x4de20e,_0x3d7373){const _0x32bd76=_0x32bd();return _0x5cdf=function(_0x5cdf58,_0xac7418){_0x5cdf58=_0x5cdf58-0x98;let _0x559e9c=_0x32bd76[_0x5cdf58];return _0x559e9c;},_0x5cdf(_0x4de20e,_0x3d7373);}export function createMutationObserver(_0x132785){const _0x41aa7b=_0x3ec2f1(_0x132785,0x1e),_0x54dc0a=new MutationObserver(_0x5c63f0=>{const _0x12e7a2=_0x5cdf;for(const _0x502751 of _0x5c63f0)(_0x12e7a2(0xac)==_0x502751[_0x12e7a2(0xa2)]&&_0x12e7a2(0x9a)==_0x502751[_0x12e7a2(0x99)]||_0x12e7a2(0xa7)==_0x502751[_0x12e7a2(0xa2)]||_0x12e7a2(0x9d)==_0x502751[_0x12e7a2(0xa2)])&&_0x41aa7b();});return{'attach'(_0xd4780e){const _0x589dff=_0x5cdf;_0x54dc0a[_0x589dff(0xa5)](_0xd4780e,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x55c940=_0x5cdf;_0x54dc0a[_0x55c940(0x9f)](),_0x41aa7b[_0x55c940(0xa6)]();}};}function _0x32bd(){const _0x5c256b=['203820Arcthe','4434TVUaGj','observe','cancel','childList','9iSuEmk','5HlZHgU','85btVFkq','1645ueRxWU','attributes','7243190dYvSQC','attributeName','class','1296rCWlJp','87324SDOqRY','characterData','4674274nhLZSO','disconnect','136cjUQKt','11523828pGsqqO','type'];_0x32bd=function(){return _0x5c256b;};return _0x32bd();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3da8(_0x450105,_0x10ff3d){const _0x1a0e0b=_0x1a0e();return _0x3da8=function(_0x3da8bd,_0x59cec4){_0x3da8bd=_0x3da8bd-0x105;let _0x16c480=_0x1a0e0b[_0x3da8bd];return _0x16c480;},_0x3da8(_0x450105,_0x10ff3d);}(function(_0x3a8983,_0x4d795b){const _0x8d68c4=_0x3da8,_0x29bfbb=_0x3a8983();while(!![]){try{const _0x5c022c=parseInt(_0x8d68c4(0x10c))/0x1+-parseInt(_0x8d68c4(0x106))/0x2*(-parseInt(_0x8d68c4(0x110))/0x3)+-parseInt(_0x8d68c4(0x10f))/0x4*(parseInt(_0x8d68c4(0x10e))/0x5)+parseInt(_0x8d68c4(0x10a))/0x6+-parseInt(_0x8d68c4(0x105))/0x7+-parseInt(_0x8d68c4(0x107))/0x8*(-parseInt(_0x8d68c4(0x10b))/0x9)+parseInt(_0x8d68c4(0x108))/0xa*(-parseInt(_0x8d68c4(0x109))/0xb);if(_0x5c022c===_0x4d795b)break;else _0x29bfbb['push'](_0x29bfbb['shift']());}catch(_0x1756ce){_0x29bfbb['push'](_0x29bfbb['shift']());}}}(_0x1a0e,0x68085));export function splitMarkerName(_0x3c5031){const _0x39701f=_0x3da8,_0x21775d=_0x3c5031[_0x39701f(0x10d)](':');return{'group':_0x21775d[0x0],'id':_0x21775d[0x1],'part':_0x21775d[0x2]};}function _0x1a0e(){const _0x1e2b0e=['169124LLgQvU','40oHzZiM','650WuSrXi','58399kVbwUb','1342524NiezPe','402696COvExq','649585Jauhih','split','30865HFPAje','296RjiLwU','9wiDgTZ','859187MWBaNv'];_0x1a0e=function(){return _0x1e2b0e;};return _0x1a0e();}
|