@ckeditor/ckeditor5-comments 47.0.0-alpha.2 → 47.0.0-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
|
-
const _0xcab6ec=_0x4d32;(function(_0x5dd3bf,_0x4233b5){const _0x5e90bb=_0x4d32,_0x344a39=_0x5dd3bf();while(!![]){try{const _0x29b213=parseInt(_0x5e90bb(0x119))/0x1*(parseInt(_0x5e90bb(0xfe))/0x2)+parseInt(_0x5e90bb(0x108))/0x3+-parseInt(_0x5e90bb(0xe8))/0x4+parseInt(_0x5e90bb(0xf3))/0x5*(parseInt(_0x5e90bb(0xe5))/0x6)+-parseInt(_0x5e90bb(0x113))/0x7+-parseInt(_0x5e90bb(0x11c))/0x8+parseInt(_0x5e90bb(0x100))/0x9;if(_0x29b213===_0x4233b5)break;else _0x344a39['push'](_0x344a39['shift']());}catch(_0x43f156){_0x344a39['push'](_0x344a39['shift']());}}}(_0x43dc,0xa95ce));import{View as _0x35661a,FocusCycler as _0x1d5a20}from'ckeditor5/src/ui.js';function _0x43dc(){const _0x48b363=['change:isResolved','includes','delete','CommentView','78HgrzeY','focusCycler','5767155mFOQWl','forEach','focusFirst','listenTo','element','_handleInfoComment','bindTemplate','viewUid','1553148NajBtS','target','keystrokes','focus','ck-hidden','destroy','createCollection','locale','hasDirtyComment','_rearrangeExpand','updateComment','7939190ydyoiQ','resolvedCommentView','collapse','_collapsedCommentsView','refreshVisibleViews','setTemplate','10583JlXNDd','commentViews','_setupKeyboardNavigation','2817864OgLhVt','_shouldCollapse','render','delegate','commentUpdated','removed','arrowdown','focusLast','editorReady','ck-thread__comments','added','resolvedAt','length','_config','change:isActive','isActive','_handleNewCommentModel','isEditMode','Thread\x20comments','set','_updateHasDirtyComment','comments','maxCommentsWhenCollapsed','change','get','stopListening','resolvedBy','equal','expand','weight','_calculatePosition','add','visibleViews','resolved','_model','count','_handleRemoveCommentModel','insert','from','authoredAt','maxCommentCharsWhenCollapsed','503886rvmboW','formatDateTime','reverse','587856dHdHBK','remove','bind','change:isEditMode','Marked\x20as\x20resolved','_rearrangeCollapse','editorConfig','map','maxThreadTotalWeight','focusTracker','change:hasDirtyComment','45auHpzh','editorDestroyed','resolveCommentThread','some','removeComment','arrowup','_findOptimalIndex'];_0x43dc=function(){return _0x48b363;};return _0x43dc();}import{diff as _0x293489,Collection as _0x4dbb6d,FocusTracker as _0xba8428,KeystrokeHandler as _0x4fb197}from'ckeditor5/src/utils.js';import{getTranslation as _0x5856bc}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x5a627a}from'./collapsedcommentsview.js';function _0x4d32(_0x4acf7c,_0x5473f0){const _0x43dc31=_0x43dc();return _0x4d32=function(_0x4d32b5,_0x4676ed){_0x4d32b5=_0x4d32b5-0xc6;let _0x49d4c8=_0x43dc31[_0x4d32b5];return _0x49d4c8;},_0x4d32(_0x4acf7c,_0x5473f0);}export class CommentsListView extends _0x35661a{[_0xcab6ec(0x11a)];[_0xcab6ec(0x114)];[_0xcab6ec(0xf1)];[_0xcab6ec(0x10a)];[_0xcab6ec(0xff)];[_0xcab6ec(0xde)];[_0xcab6ec(0xc9)];[_0xcab6ec(0x116)];constructor(_0x5a1ee5,_0x3596b8,_0x1976dc){const _0x6e1dec=_0xcab6ec;super(_0x5a1ee5);const _0x4e7d1c=this[_0x6e1dec(0x106)];this[_0x6e1dec(0xcf)](_0x6e1dec(0x110),!0x1),this[_0x6e1dec(0xcf)](_0x6e1dec(0xc8),_0x3596b8[_0x6e1dec(0xd1)][_0x6e1dec(0xc8)]),this[_0x6e1dec(0xcf)](_0x6e1dec(0xcb),!0x1),this[_0x6e1dec(0xde)]=_0x3596b8,this[_0x6e1dec(0xc9)]=_0x1976dc,this[_0x6e1dec(0x11a)]=this[_0x6e1dec(0x10e)](),this[_0x6e1dec(0xdc)]=this[_0x6e1dec(0x10e)](),this[_0x6e1dec(0x114)]=null,this[_0x6e1dec(0xf1)]=new _0xba8428(),this[_0x6e1dec(0x10a)]=new _0x4fb197(),this[_0x6e1dec(0xff)]=new _0x1d5a20({'focusables':this[_0x6e1dec(0x11a)],'focusTracker':this[_0x6e1dec(0xf1)],'keystrokeHandler':this[_0x6e1dec(0x10a)],'keystrokeHandlerOptions':{'filter':_0x3b1b4e=>this[_0x6e1dec(0x11a)][_0x6e1dec(0xef)](_0xffa826=>_0xffa826[_0x6e1dec(0x104)])[_0x6e1dec(0xfb)](_0x3b1b4e[_0x6e1dec(0x109)])},'actions':{'focusPrevious':_0x6e1dec(0xf8),'focusNext':_0x6e1dec(0x122)}}),this[_0x6e1dec(0x116)]=new _0x5a627a(_0x5a1ee5),this[_0x6e1dec(0x116)][_0x6e1dec(0xea)](_0x6e1dec(0xdf))['to'](this,_0x6e1dec(0xc8),_0x17ca31=>_0x17ca31-this[_0x6e1dec(0xc9)][_0x6e1dec(0xd2)]);for(const _0x39842f of _0x3596b8[_0x6e1dec(0xd1)])this[_0x6e1dec(0xcc)](_0x39842f);this[_0x6e1dec(0x105)](),this[_0x6e1dec(0x103)](_0x3596b8[_0x6e1dec(0xd1)],_0x6e1dec(0xdb),(_0x443bc4,_0x5055e4)=>{const _0x386af4=_0x6e1dec,_0xe849d0=this[_0x386af4(0xda)](_0x5055e4);this[_0x386af4(0xc8)]++,this[_0x386af4(0xcc)](_0x5055e4,_0xe849d0),this[_0x386af4(0x117)]();}),this[_0x6e1dec(0x103)](_0x3596b8[_0x6e1dec(0xd1)],_0x6e1dec(0xe9),(_0x5b6b68,_0x5846eb)=>{const _0xb48f6f=_0x6e1dec;this[_0xb48f6f(0xc8)]--,this[_0xb48f6f(0xe0)](_0x5846eb),this[_0xb48f6f(0x117)]();}),this[_0x6e1dec(0x103)](_0x3596b8,_0x6e1dec(0x120),()=>this[_0x6e1dec(0x117)]()),this[_0x6e1dec(0x103)](_0x3596b8,_0x6e1dec(0xfa),()=>this[_0x6e1dec(0x105)]()),this['on'](_0x6e1dec(0xca),()=>this[_0x6e1dec(0x117)]()),this['on'](_0x6e1dec(0xf2),()=>this[_0x6e1dec(0x117)]()),this[_0x6e1dec(0x118)]({'tag':'ul','attributes':{'class':[_0x6e1dec(0x125),_0x4e7d1c['if'](_0x6e1dec(0xc8),_0x6e1dec(0x10c),_0x331c4d=>!_0x331c4d)],'aria-label':_0x5856bc(_0x5a1ee5,_0x6e1dec(0xce))},'children':this[_0x6e1dec(0xdc)]});}get[_0xcab6ec(0x11d)](){const _0x41bc3a=_0xcab6ec;return this[_0x41bc3a(0xde)][_0x41bc3a(0xd9)]>this[_0x41bc3a(0xc9)][_0x41bc3a(0xf0)]&&!this[_0x41bc3a(0xcb)]&&!this[_0x41bc3a(0x110)];}[_0xcab6ec(0x11e)](){const _0x22056a=_0xcab6ec;super[_0x22056a(0x11e)](),this[_0x22056a(0x117)](),this[_0x22056a(0x11b)]();}[_0xcab6ec(0x10b)](_0x538848){const _0x122365=_0xcab6ec;-0x1===_0x538848?this[_0x122365(0xff)][_0x122365(0x123)]():this[_0x122365(0xff)][_0x122365(0x102)]();}[_0xcab6ec(0x10d)](){const _0x514cd9=_0xcab6ec;this[_0x514cd9(0x116)][_0x514cd9(0x10d)]();for(const _0x289c55 of this[_0x514cd9(0x11a)])_0x289c55[_0x514cd9(0x10d)]();super[_0x514cd9(0x10d)]();}[_0xcab6ec(0x117)](){const _0x544120=_0xcab6ec;this[_0x544120(0x11d)]?this[_0x544120(0xed)]():this[_0x544120(0x111)]();}[_0xcab6ec(0xcc)](_0x2990c8,_0x4d94cc){const _0x5bdec1=_0xcab6ec,_0x26b83b=new this[(_0x5bdec1(0xc9))][(_0x5bdec1(0xfd))](this[_0x5bdec1(0x10f)],_0x2990c8,{'maxCommentCharsWhenCollapsed':this[_0x5bdec1(0xc9)][_0x5bdec1(0xe4)],'formatDateTime':this[_0x5bdec1(0xc9)][_0x5bdec1(0xe6)],'editorConfig':this[_0x5bdec1(0xc9)][_0x5bdec1(0xee)]});_0x26b83b[_0x5bdec1(0x107)]=_0x2990c8['id'],_0x26b83b[_0x5bdec1(0x11f)](_0x5bdec1(0xf7))['to'](this),_0x26b83b[_0x5bdec1(0x11f)](_0x5bdec1(0x112))['to'](this),_0x26b83b[_0x5bdec1(0x11f)](_0x5bdec1(0xf5))['to'](this),_0x26b83b[_0x5bdec1(0x11f)](_0x5bdec1(0x124))['to'](this),_0x26b83b[_0x5bdec1(0x11f)](_0x5bdec1(0xf4))['to'](this),this[_0x5bdec1(0x103)](_0x26b83b,_0x5bdec1(0xeb),()=>this[_0x5bdec1(0xd0)]()),this[_0x5bdec1(0x11a)][_0x5bdec1(0xdb)](_0x26b83b,_0x4d94cc);}[_0xcab6ec(0xda)](_0x1c287d){const _0x382ffa=_0xcab6ec,_0x368ce9=this[_0x382ffa(0xde)][_0x382ffa(0xf9)](_0x1c287d);return this[_0x382ffa(0x114)]?this[_0x382ffa(0x114)][_0x382ffa(0xe3)]>_0x1c287d[_0x382ffa(0xe3)]?_0x368ce9-0x1:_0x368ce9:_0x368ce9-0x1;}[_0xcab6ec(0x105)](){const _0xbf7123=_0xcab6ec;if(this[_0xbf7123(0xde)][_0xbf7123(0xd6)]&&this[_0xbf7123(0xde)][_0xbf7123(0xc7)]){const _0x1bfb46={'id':_0xbf7123(0xdd),'author':this[_0xbf7123(0xde)][_0xbf7123(0xd6)],'authoredAt':this[_0xbf7123(0xde)][_0xbf7123(0xc7)],'content':_0x5856bc(this[_0xbf7123(0x10f)],_0xbf7123(0xec)),'attributes':{}};this[_0xbf7123(0x114)]=new this[(_0xbf7123(0xc9))][(_0xbf7123(0xfd))](this[_0xbf7123(0x10f)],_0x1bfb46,{'maxCommentCharsWhenCollapsed':this[_0xbf7123(0xc9)][_0xbf7123(0xe4)],'formatDateTime':this[_0xbf7123(0xc9)][_0xbf7123(0xe6)],'editorConfig':this[_0xbf7123(0xc9)][_0xbf7123(0xee)],'isSystemComment':!0x0}),this[_0xbf7123(0x11a)][_0xbf7123(0xdb)](this[_0xbf7123(0x114)],this[_0xbf7123(0xde)][_0xbf7123(0xf9)](_0x1bfb46));}else this[_0xbf7123(0x114)]&&(this[_0xbf7123(0x11a)][_0xbf7123(0xe9)](this[_0xbf7123(0x114)]),this[_0xbf7123(0x114)][_0xbf7123(0x10d)](),this[_0xbf7123(0x114)]=null);this[_0xbf7123(0x117)]();}[_0xcab6ec(0xe0)](_0x3527d1){const _0x2cfe58=_0xcab6ec,_0x3c51cc=this[_0x2cfe58(0x11a)][_0x2cfe58(0xe9)](_0x3527d1['id']);this[_0x2cfe58(0xd5)](_0x3c51cc),_0x3c51cc[_0x2cfe58(0xcd)]&&this[_0x2cfe58(0xd0)](),_0x3c51cc[_0x2cfe58(0x10d)]();}[_0xcab6ec(0xd0)](){const _0x7265fb=_0xcab6ec;this[_0x7265fb(0x110)]=Array[_0x7265fb(0xe2)](this[_0x7265fb(0x11a)])[_0x7265fb(0xf6)](_0x4c9312=>_0x4c9312[_0x7265fb(0xcd)]);}[_0xcab6ec(0xed)](){const _0x3caf7e=_0xcab6ec,_0x88e9e8=function(_0x186928){const _0x458574=_0x4d32,_0x231574=new _0x4dbb6d();for(const _0x35a705 of _0x186928)_0x231574[_0x458574(0xdb)](_0x35a705);return _0x231574;}(this[_0x3caf7e(0x11a)]),_0x2b748b=this[_0x3caf7e(0x116)][_0x3caf7e(0xdf)];for(let _0x20f94f=0x1;_0x20f94f<=_0x2b748b;_0x20f94f++)_0x88e9e8[_0x3caf7e(0xe9)](0x1);for(const _0x4b98e6 of _0x88e9e8)_0x4b98e6[_0x3caf7e(0x115)]();_0x2b748b>0x0&&_0x88e9e8[_0x3caf7e(0xdb)](this[_0x3caf7e(0x116)],0x1),ns(_0x293489(Array[_0x3caf7e(0xe2)](this[_0x3caf7e(0xdc)]),Array[_0x3caf7e(0xe2)](_0x88e9e8)),this[_0x3caf7e(0xdc)],_0x88e9e8);}[_0xcab6ec(0x111)](){const _0x290cbe=_0xcab6ec;ns(_0x293489(Array[_0x290cbe(0xe2)](this[_0x290cbe(0xdc)]),Array[_0x290cbe(0xe2)](this[_0x290cbe(0x11a)])),this[_0x290cbe(0xdc)],this[_0x290cbe(0x11a)]);for(const _0x4dd23e of this[_0x290cbe(0xdc)])_0x4dd23e[_0x290cbe(0xd8)]();}[_0xcab6ec(0x11b)](){const _0x5ded45=_0xcab6ec;this[_0x5ded45(0x11a)][_0x5ded45(0x101)](_0x3a9fc1=>{const _0x414ea7=_0x5ded45;this[_0x414ea7(0xf1)][_0x414ea7(0xdb)](_0x3a9fc1[_0x414ea7(0x104)]),this[_0x414ea7(0x10a)][_0x414ea7(0x103)](_0x3a9fc1[_0x414ea7(0x104)]);}),this[_0x5ded45(0x11a)]['on'](_0x5ded45(0xd3),(_0x117596,_0x41f2c7)=>{const _0x53a93c=_0x5ded45;for(const _0x15ed49 of _0x41f2c7[_0x53a93c(0x121)])this[_0x53a93c(0xf1)][_0x53a93c(0xe9)](_0x15ed49[_0x53a93c(0x104)]),this[_0x53a93c(0x10a)][_0x53a93c(0xd5)](_0x15ed49[_0x53a93c(0x104)]);for(const _0x2381d6 of Array[_0x53a93c(0xe2)](_0x41f2c7[_0x53a93c(0xc6)])[_0x53a93c(0xe7)]())this[_0x53a93c(0xf1)][_0x53a93c(0xdb)](_0x2381d6[_0x53a93c(0x104)]),this[_0x53a93c(0x10a)][_0x53a93c(0x103)](_0x2381d6[_0x53a93c(0x104)]);});}}function ns(_0x599f8f,_0x3eb9e3,_0x43bc51){const _0xf4304=_0xcab6ec;let _0x5bd243=0x0;for(const _0x5bea57 of _0x599f8f)switch(_0x5bea57){case _0xf4304(0xe1):_0x3eb9e3[_0xf4304(0xdb)](_0x43bc51[_0xf4304(0xd4)](_0x5bd243),_0x5bd243),_0x5bd243++;break;case _0xf4304(0xfc):_0x3eb9e3[_0xf4304(0xe9)](_0x5bd243);break;case _0xf4304(0xd7):_0x5bd243++;}}
|
|
23
|
+
const _0x322850=_0x4e60;function _0x4e60(_0xf3270c,_0x38a73e){const _0x41e36c=_0x41e3();return _0x4e60=function(_0x4e6062,_0x3d1139){_0x4e6062=_0x4e6062-0xa9;let _0x5dfd77=_0x41e36c[_0x4e6062];return _0x5dfd77;},_0x4e60(_0xf3270c,_0x38a73e);}(function(_0x1f169a,_0x416837){const _0x4d5b18=_0x4e60,_0x3d8328=_0x1f169a();while(!![]){try{const _0xd67337=parseInt(_0x4d5b18(0xcc))/0x1+-parseInt(_0x4d5b18(0xf3))/0x2*(-parseInt(_0x4d5b18(0xcf))/0x3)+-parseInt(_0x4d5b18(0xae))/0x4*(-parseInt(_0x4d5b18(0xc3))/0x5)+-parseInt(_0x4d5b18(0x106))/0x6*(-parseInt(_0x4d5b18(0xaf))/0x7)+parseInt(_0x4d5b18(0xc2))/0x8*(-parseInt(_0x4d5b18(0xf5))/0x9)+parseInt(_0x4d5b18(0xe0))/0xa*(parseInt(_0x4d5b18(0xca))/0xb)+-parseInt(_0x4d5b18(0xe4))/0xc*(parseInt(_0x4d5b18(0xdb))/0xd);if(_0xd67337===_0x416837)break;else _0x3d8328['push'](_0x3d8328['shift']());}catch(_0x5023a1){_0x3d8328['push'](_0x3d8328['shift']());}}}(_0x41e3,0x789b3));function _0x41e3(){const _0x2a8f4e=['isEditMode','12cyZBST','_handleInfoComment','_handleNewCommentModel','change:hasDirtyComment','createCollection','length','_findOptimalIndex','weight','focus','Thread\x20comments','_calculatePosition','destroy','editorDestroyed','_model','element','1824506PpTHPs','_rearrangeExpand','18rNUKRD','render','locale','removeComment','map','get','focusCycler','maxCommentCharsWhenCollapsed','added','Marked\x20as\x20resolved','commentUpdated','change','target','_updateHasDirtyComment','_config','maxThreadTotalWeight','viewUid','241320IeMECU','_shouldCollapse','ck-thread__comments','remove','_rearrangeCollapse','arrowup','change:isEditMode','some','comments','resolvedCommentView','hasDirtyComment','authoredAt','854344nmCGGY','35YVLbTY','bindTemplate','insert','delegate','setTemplate','removed','updateComment','maxCommentsWhenCollapsed','bind','keystrokes','forEach','count','commentViews','focusLast','isActive','_collapsedCommentsView','formatDateTime','resolvedBy','resolvedAt','1933664bECWZT','10nHYXPy','reverse','CommentView','refreshVisibleViews','ck-hidden','focusTracker','set','1069090UxRmmX','change:isActive','924330gofXFK','change:isResolved','focusFirst','3yIMXVT','arrowdown','editorReady','equal','stopListening','from','listenTo','add','resolved','visibleViews','_handleRemoveCommentModel','includes','29444428TjHodO','collapse','editorConfig','delete','_setupKeyboardNavigation','80JpEDgi','expand','resolveCommentThread'];_0x41e3=function(){return _0x2a8f4e;};return _0x41e3();}import{View as _0x3bae9a,FocusCycler as _0x58304a}from'ckeditor5/src/ui.js';import{diff as _0x483e58,Collection as _0x5575e9,FocusTracker as _0x13d16c,KeystrokeHandler as _0x222854}from'ckeditor5/src/utils.js';import{getTranslation as _0x31dbb7}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x234098}from'./collapsedcommentsview.js';export class CommentsListView extends _0x3bae9a{[_0x322850(0xbb)];[_0x322850(0xab)];[_0x322850(0xc8)];[_0x322850(0xb8)];[_0x322850(0xfb)];[_0x322850(0xf1)];[_0x322850(0x103)];[_0x322850(0xbe)];constructor(_0xec30db,_0x501a37,_0x2a9098){const _0x20e426=_0x322850;super(_0xec30db);const _0x487790=this[_0x20e426(0xb0)];this[_0x20e426(0xc9)](_0x20e426(0xac),!0x1),this[_0x20e426(0xc9)](_0x20e426(0xe9),_0x501a37[_0x20e426(0xaa)][_0x20e426(0xe9)]),this[_0x20e426(0xc9)](_0x20e426(0xbd),!0x1),this[_0x20e426(0xf1)]=_0x501a37,this[_0x20e426(0x103)]=_0x2a9098,this[_0x20e426(0xbb)]=this[_0x20e426(0xe8)](),this[_0x20e426(0xd8)]=this[_0x20e426(0xe8)](),this[_0x20e426(0xab)]=null,this[_0x20e426(0xc8)]=new _0x13d16c(),this[_0x20e426(0xb8)]=new _0x222854(),this[_0x20e426(0xfb)]=new _0x58304a({'focusables':this[_0x20e426(0xbb)],'focusTracker':this[_0x20e426(0xc8)],'keystrokeHandler':this[_0x20e426(0xb8)],'keystrokeHandlerOptions':{'filter':_0xb434d2=>this[_0x20e426(0xbb)][_0x20e426(0xf9)](_0x242f84=>_0x242f84[_0x20e426(0xf2)])[_0x20e426(0xda)](_0xb434d2[_0x20e426(0x101)])},'actions':{'focusPrevious':_0x20e426(0x10b),'focusNext':_0x20e426(0xd0)}}),this[_0x20e426(0xbe)]=new _0x234098(_0xec30db),this[_0x20e426(0xbe)][_0x20e426(0xb7)](_0x20e426(0xba))['to'](this,_0x20e426(0xe9),_0x5ae0c7=>_0x5ae0c7-this[_0x20e426(0x103)][_0x20e426(0xb6)]);for(const _0x519177 of _0x501a37[_0x20e426(0xaa)])this[_0x20e426(0xe6)](_0x519177);this[_0x20e426(0xe5)](),this[_0x20e426(0xd5)](_0x501a37[_0x20e426(0xaa)],_0x20e426(0xd6),(_0x58aecd,_0x1a3ee6)=>{const _0x511a95=_0x20e426,_0xbafc5f=this[_0x511a95(0xee)](_0x1a3ee6);this[_0x511a95(0xe9)]++,this[_0x511a95(0xe6)](_0x1a3ee6,_0xbafc5f),this[_0x511a95(0xc6)]();}),this[_0x20e426(0xd5)](_0x501a37[_0x20e426(0xaa)],_0x20e426(0x109),(_0x5a7f7c,_0x426e1d)=>{const _0x8ea050=_0x20e426;this[_0x8ea050(0xe9)]--,this[_0x8ea050(0xd9)](_0x426e1d),this[_0x8ea050(0xc6)]();}),this[_0x20e426(0xd5)](_0x501a37,_0x20e426(0xff),()=>this[_0x20e426(0xc6)]()),this[_0x20e426(0xd5)](_0x501a37,_0x20e426(0xcd),()=>this[_0x20e426(0xe5)]()),this['on'](_0x20e426(0xcb),()=>this[_0x20e426(0xc6)]()),this['on'](_0x20e426(0xe7),()=>this[_0x20e426(0xc6)]()),this[_0x20e426(0xb3)]({'tag':'ul','attributes':{'class':[_0x20e426(0x108),_0x487790['if'](_0x20e426(0xe9),_0x20e426(0xc7),_0xb5f37c=>!_0xb5f37c)],'aria-label':_0x31dbb7(_0xec30db,_0x20e426(0xed))},'children':this[_0x20e426(0xd8)]});}get[_0x322850(0x107)](){const _0x42447a=_0x322850;return this[_0x42447a(0xf1)][_0x42447a(0xeb)]>this[_0x42447a(0x103)][_0x42447a(0x104)]&&!this[_0x42447a(0xbd)]&&!this[_0x42447a(0xac)];}[_0x322850(0xf6)](){const _0x72df88=_0x322850;super[_0x72df88(0xf6)](),this[_0x72df88(0xc6)](),this[_0x72df88(0xdf)]();}[_0x322850(0xec)](_0x29f804){const _0x5ab49d=_0x322850;-0x1===_0x29f804?this[_0x5ab49d(0xfb)][_0x5ab49d(0xbc)]():this[_0x5ab49d(0xfb)][_0x5ab49d(0xce)]();}[_0x322850(0xef)](){const _0x459d05=_0x322850;this[_0x459d05(0xbe)][_0x459d05(0xef)]();for(const _0x24f10e of this[_0x459d05(0xbb)])_0x24f10e[_0x459d05(0xef)]();super[_0x459d05(0xef)]();}[_0x322850(0xc6)](){const _0x2941b6=_0x322850;this[_0x2941b6(0x107)]?this[_0x2941b6(0x10a)]():this[_0x2941b6(0xf4)]();}[_0x322850(0xe6)](_0x5f1f75,_0x4aa013){const _0x4e4ce1=_0x322850,_0x51e80c=new this[(_0x4e4ce1(0x103))][(_0x4e4ce1(0xc5))](this[_0x4e4ce1(0xf7)],_0x5f1f75,{'maxCommentCharsWhenCollapsed':this[_0x4e4ce1(0x103)][_0x4e4ce1(0xfc)],'formatDateTime':this[_0x4e4ce1(0x103)][_0x4e4ce1(0xbf)],'editorConfig':this[_0x4e4ce1(0x103)][_0x4e4ce1(0xdd)]});_0x51e80c[_0x4e4ce1(0x105)]=_0x5f1f75['id'],_0x51e80c[_0x4e4ce1(0xb2)](_0x4e4ce1(0xf8))['to'](this),_0x51e80c[_0x4e4ce1(0xb2)](_0x4e4ce1(0xb5))['to'](this),_0x51e80c[_0x4e4ce1(0xb2)](_0x4e4ce1(0xe2))['to'](this),_0x51e80c[_0x4e4ce1(0xb2)](_0x4e4ce1(0xd1))['to'](this),_0x51e80c[_0x4e4ce1(0xb2)](_0x4e4ce1(0xf0))['to'](this),this[_0x4e4ce1(0xd5)](_0x51e80c,_0x4e4ce1(0x10c),()=>this[_0x4e4ce1(0x102)]()),this[_0x4e4ce1(0xbb)][_0x4e4ce1(0xd6)](_0x51e80c,_0x4aa013);}[_0x322850(0xee)](_0xd85cb2){const _0x3b52fb=_0x322850,_0x366cd0=this[_0x3b52fb(0xf1)][_0x3b52fb(0xea)](_0xd85cb2);return this[_0x3b52fb(0xab)]?this[_0x3b52fb(0xab)][_0x3b52fb(0xad)]>_0xd85cb2[_0x3b52fb(0xad)]?_0x366cd0-0x1:_0x366cd0:_0x366cd0-0x1;}[_0x322850(0xe5)](){const _0xa436a6=_0x322850;if(this[_0xa436a6(0xf1)][_0xa436a6(0xc0)]&&this[_0xa436a6(0xf1)][_0xa436a6(0xc1)]){const _0x4b1b6c={'id':_0xa436a6(0xd7),'author':this[_0xa436a6(0xf1)][_0xa436a6(0xc0)],'authoredAt':this[_0xa436a6(0xf1)][_0xa436a6(0xc1)],'content':_0x31dbb7(this[_0xa436a6(0xf7)],_0xa436a6(0xfe)),'attributes':{}};this[_0xa436a6(0xab)]=new this[(_0xa436a6(0x103))][(_0xa436a6(0xc5))](this[_0xa436a6(0xf7)],_0x4b1b6c,{'maxCommentCharsWhenCollapsed':this[_0xa436a6(0x103)][_0xa436a6(0xfc)],'formatDateTime':this[_0xa436a6(0x103)][_0xa436a6(0xbf)],'editorConfig':this[_0xa436a6(0x103)][_0xa436a6(0xdd)],'isSystemComment':!0x0}),this[_0xa436a6(0xbb)][_0xa436a6(0xd6)](this[_0xa436a6(0xab)],this[_0xa436a6(0xf1)][_0xa436a6(0xea)](_0x4b1b6c));}else this[_0xa436a6(0xab)]&&(this[_0xa436a6(0xbb)][_0xa436a6(0x109)](this[_0xa436a6(0xab)]),this[_0xa436a6(0xab)][_0xa436a6(0xef)](),this[_0xa436a6(0xab)]=null);this[_0xa436a6(0xc6)]();}[_0x322850(0xd9)](_0x58dfdf){const _0x2821df=_0x322850,_0x33315d=this[_0x2821df(0xbb)][_0x2821df(0x109)](_0x58dfdf['id']);this[_0x2821df(0xd3)](_0x33315d),_0x33315d[_0x2821df(0xe3)]&&this[_0x2821df(0x102)](),_0x33315d[_0x2821df(0xef)]();}[_0x322850(0x102)](){const _0x424a94=_0x322850;this[_0x424a94(0xac)]=Array[_0x424a94(0xd4)](this[_0x424a94(0xbb)])[_0x424a94(0xa9)](_0x27bece=>_0x27bece[_0x424a94(0xe3)]);}[_0x322850(0x10a)](){const _0xbd2255=_0x322850,_0x55f33e=function(_0x51bc5c){const _0x41ed96=_0x4e60,_0x2c9c0f=new _0x5575e9();for(const _0x73a1be of _0x51bc5c)_0x2c9c0f[_0x41ed96(0xd6)](_0x73a1be);return _0x2c9c0f;}(this[_0xbd2255(0xbb)]),_0x3cc5ff=this[_0xbd2255(0xbe)][_0xbd2255(0xba)];for(let _0x5f5b30=0x1;_0x5f5b30<=_0x3cc5ff;_0x5f5b30++)_0x55f33e[_0xbd2255(0x109)](0x1);for(const _0x167e7b of _0x55f33e)_0x167e7b[_0xbd2255(0xdc)]();_0x3cc5ff>0x0&&_0x55f33e[_0xbd2255(0xd6)](this[_0xbd2255(0xbe)],0x1),ns(_0x483e58(Array[_0xbd2255(0xd4)](this[_0xbd2255(0xd8)]),Array[_0xbd2255(0xd4)](_0x55f33e)),this[_0xbd2255(0xd8)],_0x55f33e);}[_0x322850(0xf4)](){const _0x3114f0=_0x322850;ns(_0x483e58(Array[_0x3114f0(0xd4)](this[_0x3114f0(0xd8)]),Array[_0x3114f0(0xd4)](this[_0x3114f0(0xbb)])),this[_0x3114f0(0xd8)],this[_0x3114f0(0xbb)]);for(const _0xb64ebf of this[_0x3114f0(0xd8)])_0xb64ebf[_0x3114f0(0xe1)]();}[_0x322850(0xdf)](){const _0x30d13f=_0x322850;this[_0x30d13f(0xbb)][_0x30d13f(0xb9)](_0x1f9f87=>{const _0x3bce9a=_0x30d13f;this[_0x3bce9a(0xc8)][_0x3bce9a(0xd6)](_0x1f9f87[_0x3bce9a(0xf2)]),this[_0x3bce9a(0xb8)][_0x3bce9a(0xd5)](_0x1f9f87[_0x3bce9a(0xf2)]);}),this[_0x30d13f(0xbb)]['on'](_0x30d13f(0x100),(_0x567fda,_0xd2df1a)=>{const _0x5abb3d=_0x30d13f;for(const _0xf2c75c of _0xd2df1a[_0x5abb3d(0xb4)])this[_0x5abb3d(0xc8)][_0x5abb3d(0x109)](_0xf2c75c[_0x5abb3d(0xf2)]),this[_0x5abb3d(0xb8)][_0x5abb3d(0xd3)](_0xf2c75c[_0x5abb3d(0xf2)]);for(const _0x2d3fb9 of Array[_0x5abb3d(0xd4)](_0xd2df1a[_0x5abb3d(0xfd)])[_0x5abb3d(0xc4)]())this[_0x5abb3d(0xc8)][_0x5abb3d(0xd6)](_0x2d3fb9[_0x5abb3d(0xf2)]),this[_0x5abb3d(0xb8)][_0x5abb3d(0xd5)](_0x2d3fb9[_0x5abb3d(0xf2)]);});}}function ns(_0x21a78b,_0x48219b,_0x36a706){const _0x19bcf5=_0x322850;let _0x51146c=0x0;for(const _0x484e65 of _0x21a78b)switch(_0x484e65){case _0x19bcf5(0xb1):_0x48219b[_0x19bcf5(0xd6)](_0x36a706[_0x19bcf5(0xfa)](_0x51146c),_0x51146c),_0x51146c++;break;case _0x19bcf5(0xde):_0x48219b[_0x19bcf5(0x109)](_0x51146c);break;case _0x19bcf5(0xd2):_0x51146c++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9ed3c6=_0x2b9e;(function(_0x3443be,_0xe73c32){const _0xcc1e10=_0x2b9e,_0x53118f=_0x3443be();while(!![]){try{const _0x10f9c9=-parseInt(_0xcc1e10(0x7d))/0x1*(-parseInt(_0xcc1e10(0x6d))/0x2)+-parseInt(_0xcc1e10(0x7c))/0x3+-parseInt(_0xcc1e10(0x7b))/0x4*(-parseInt(_0xcc1e10(0x6e))/0x5)+parseInt(_0xcc1e10(0x70))/0x6+parseInt(_0xcc1e10(0x79))/0x7*(parseInt(_0xcc1e10(0x77))/0x8)+-parseInt(_0xcc1e10(0x71))/0x9*(parseInt(_0xcc1e10(0x7f))/0xa)+-parseInt(_0xcc1e10(0x76))/0xb;if(_0x10f9c9===_0xe73c32)break;else _0x53118f['push'](_0x53118f['shift']());}catch(_0x329c25){_0x53118f['push'](_0x53118f['shift']());}}}(_0xb623,0x829ea));function _0x2b9e(_0x21db1b,_0x3167ce){const _0xb62331=_0xb623();return _0x2b9e=function(_0x2b9eda,_0x5a4faf){_0x2b9eda=_0x2b9eda-0x6c;let _0x5a673f=_0xb62331[_0x2b9eda];return _0x5a673f;},_0x2b9e(_0x21db1b,_0x3167ce);}import{View as _0x1f3b77}from'ckeditor5/src/ui.js';function _0xb623(){const _0x40a112=['7qyhpkc','ck-context__value','4rqSxNC','2859834vrdEPg','68rjtHSP','span','860vScvDb','THREAD_CONTEXT_LABEL','15926YOhhju','1324285ETNSoE','element','4774008DjAkIq','37458RoJKfT','focus','setTemplate','set','bindTemplate','5808517jEREHu','6178128lypbFd','contextValue'];_0xb623=function(){return _0x40a112;};return _0xb623();}import{getTranslation as _0xe8f48f}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x1f3b77{constructor(_0x183de1){const _0x509ec3=_0x2b9e;super(_0x183de1);const _0x1ff0e4=this[_0x509ec3(0x75)];this[_0x509ec3(0x74)](_0x509ec3(0x78),''),this[_0x509ec3(0x73)]({'tag':_0x509ec3(0x7e),'attributes':{'class':['ck',_0x509ec3(0x7a)],'aria-label':_0x1ff0e4['to'](_0x509ec3(0x78),_0x29b164=>_0xe8f48f(_0x183de1,_0x509ec3(0x6c),_0x29b164)),'tabindex':-0x1},'children':[{'text':_0x1ff0e4['to'](_0x509ec3(0x78))}]});}[_0x9ed3c6(0x72)](){const _0xa50a8a=_0x9ed3c6;this[_0xa50a8a(0x6f)][_0xa50a8a(0x72)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x533c81=_0x417c;(function(_0x2462c2,_0x341a1e){const _0x5a6f8d=_0x417c,_0x3712dd=_0x2462c2();while(!![]){try{const _0xc890af=-parseInt(_0x5a6f8d(0x17a))/0x1*(parseInt(_0x5a6f8d(0x151))/0x2)+parseInt(_0x5a6f8d(0x175))/0x3+parseInt(_0x5a6f8d(0x144))/0x4*(parseInt(_0x5a6f8d(0x181))/0x5)+-parseInt(_0x5a6f8d(0x163))/0x6*(-parseInt(_0x5a6f8d(0x171))/0x7)+-parseInt(_0x5a6f8d(0x15d))/0x8*(-parseInt(_0x5a6f8d(0x166))/0x9)+parseInt(_0x5a6f8d(0x17e))/0xa+-parseInt(_0x5a6f8d(0x173))/0xb;if(_0xc890af===_0x341a1e)break;else _0x3712dd['push'](_0x3712dd['shift']());}catch(_0x1bbc6a){_0x3712dd['push'](_0x3712dd['shift']());}}}(_0x3a49,0x6b234));function _0x417c(_0x4854e0,_0x9fe5fe){const _0x3a4964=_0x3a49();return _0x417c=function(_0x417c6e,_0x5f4d69){_0x417c6e=_0x417c6e-0x13b;let _0x54f2a6=_0x3a4964[_0x417c6e];return _0x54f2a6;},_0x417c(_0x4854e0,_0x9fe5fe);}import{View as _0x5a0bf0,ButtonView as _0x36ff5b,FocusCycler as _0x4e157e}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2b6934,KeystrokeHandler as _0x40d168}from'ckeditor5/src/utils.js';import{IconUndo as _0x4c080b}from'ckeditor5/src/icons.js';import{getTranslation as _0x1229b1}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x4399f3}from'./commentthreadheadercontextview.js';function _0x3a49(){const _0x10d7be=['ck-thread__header','render','locale','reopenCommentThread','contextValue','element','isEnabled','_createReopenButton','_createContextView','4fgniqG','Comment\x20was\x20made\x20on\x20an\x20element','tooltip','length','mouseenter','focusFirst','icon','listenTo','tab','contextView','label','reopenButtonView','setTemplate','4964OXZXTG','focusCycler','ck-context--quotes','overlay','offsetWidth','_trimContextValue','execute','bind','...','isResolved','value','ck-context','184gsIfZi','div','ck-annotation__actions','focus','ck-context-wrapper','mouseleave','1383654SxTlYu','.ck-context','add','53289kEIcxv','focusables','fire','.ck-context__value','substring','_model','focusTracker','shift+tab','_attachContextActions','lastIndexOf','isVisible','21sfDMTd','remove','14434849Dsecpp','classList','1424157DgNHUq','isResolvable','createCollection','Reopen','_setupKeyboardNavigation','41plMcFg','scrollWidth','keystrokes','context','972590vULNzo','isReadOnly','bindTemplate','2264345qBwPix','hasContext','querySelector'];_0x3a49=function(){return _0x10d7be;};return _0x3a49();}export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x5a0bf0{[_0x533c81(0x16b)];[_0x533c81(0x14f)];[_0x533c81(0x14d)];[_0x533c81(0x167)];[_0x533c81(0x16c)];[_0x533c81(0x17c)];[_0x533c81(0x152)];constructor(_0x19e1f5,_0x4361cc){const _0x456b5b=_0x533c81;super(_0x19e1f5);const _0x18810e=this[_0x456b5b(0x180)];this[_0x456b5b(0x16b)]=_0x4361cc,this[_0x456b5b(0x14f)]=this[_0x456b5b(0x142)](),this[_0x456b5b(0x14d)]=this[_0x456b5b(0x143)](),this[_0x456b5b(0x167)]=this[_0x456b5b(0x177)]([this[_0x456b5b(0x14d)],this[_0x456b5b(0x14f)]]),this[_0x456b5b(0x16c)]=new _0x2b6934(),this[_0x456b5b(0x17c)]=new _0x40d168(),this[_0x456b5b(0x152)]=new _0x4e157e({'focusables':this[_0x456b5b(0x167)],'focusTracker':this[_0x456b5b(0x16c)],'keystrokeHandler':this[_0x456b5b(0x17c)],'actions':{'focusPrevious':_0x456b5b(0x16d),'focusNext':_0x456b5b(0x14c)}}),this[_0x456b5b(0x158)](_0x456b5b(0x182))['to'](this[_0x456b5b(0x16b)],_0x456b5b(0x17d),_0x2e3f3f=>!!_0x2e3f3f),this[_0x456b5b(0x158)](_0x456b5b(0x13f))['to'](this[_0x456b5b(0x16b)],_0x456b5b(0x17d),_0x5c5cca=>_0x5c5cca&&_0x5c5cca[_0x456b5b(0x15b)]?this[_0x456b5b(0x156)](_0x5c5cca[_0x456b5b(0x15b)]):_0x1229b1(this[_0x456b5b(0x13d)],_0x456b5b(0x145))),this[_0x456b5b(0x150)]({'tag':_0x456b5b(0x15e),'attributes':{'class':[_0x456b5b(0x13b)]},'children':[{'tag':_0x456b5b(0x15e),'attributes':{'class':[_0x456b5b(0x161)]},'children':[{'tag':_0x456b5b(0x15e),'attributes':{'class':[_0x456b5b(0x15c),_0x18810e['if'](_0x456b5b(0x182),_0x456b5b(0x153))]},'children':[this[_0x456b5b(0x14d)]]}]},{'tag':_0x456b5b(0x15e),'attributes':{'class':[_0x456b5b(0x15f)]},'children':[this[_0x456b5b(0x14f)]]}]});}[_0x533c81(0x13c)](){const _0x3fbe53=_0x533c81;super[_0x3fbe53(0x13c)](),this[_0x3fbe53(0x16e)](),this[_0x3fbe53(0x179)]();}[_0x533c81(0x160)](){const _0x564075=_0x533c81;this[_0x564075(0x152)][_0x564075(0x149)]();}[_0x533c81(0x142)](){const _0x5757a4=_0x533c81,_0x1dc153=new _0x36ff5b(this[_0x5757a4(0x13d)]);return _0x1dc153[_0x5757a4(0x14e)]=_0x1229b1(this[_0x5757a4(0x13d)],_0x5757a4(0x178)),_0x1dc153[_0x5757a4(0x146)]=_0x1229b1(this[_0x5757a4(0x13d)],_0x5757a4(0x178)),_0x1dc153[_0x5757a4(0x14a)]=_0x4c080b,_0x1dc153[_0x5757a4(0x158)](_0x5757a4(0x141))['to'](this[_0x5757a4(0x16b)],_0x5757a4(0x17f),_0x1fb89a=>!_0x1fb89a),_0x1dc153[_0x5757a4(0x158)](_0x5757a4(0x170))['to'](this[_0x5757a4(0x16b)],_0x5757a4(0x176),this[_0x5757a4(0x16b)],_0x5757a4(0x15a),(_0x8ef392,_0x40741c)=>_0x8ef392&&_0x40741c),_0x1dc153['on'](_0x5757a4(0x157),()=>{const _0x40ed17=_0x5757a4;this[_0x40ed17(0x168)](_0x40ed17(0x13e),this[_0x40ed17(0x16b)]['id']);}),_0x1dc153;}[_0x533c81(0x156)](_0x5f4d8b){const _0x5c3b5c=_0x533c81;if(_0x5f4d8b[_0x5c3b5c(0x147)]<0x96)return _0x5f4d8b;const _0x100f09=_0x5f4d8b[_0x5c3b5c(0x16f)]('\x20',0x93);return _0x5f4d8b[_0x5c3b5c(0x16a)](0x0,_0x100f09>-0x1?_0x100f09:0x93)+_0x5c3b5c(0x159);}[_0x533c81(0x16e)](){const _0x583237=_0x533c81,_0x26d07d=this[_0x583237(0x140)][_0x583237(0x183)](_0x583237(0x164)),_0x47d4a3=_0x26d07d[_0x583237(0x183)](_0x583237(0x169));this[_0x583237(0x14b)](_0x26d07d,_0x583237(0x148),()=>{const _0x4df2e9=_0x583237;_0x47d4a3[_0x4df2e9(0x155)]<_0x47d4a3[_0x4df2e9(0x17b)]&&_0x26d07d[_0x4df2e9(0x174)][_0x4df2e9(0x165)](_0x4df2e9(0x154));}),this[_0x583237(0x14b)](_0x26d07d,_0x583237(0x162),()=>{const _0x51787f=_0x583237;_0x26d07d[_0x51787f(0x174)][_0x51787f(0x172)](_0x51787f(0x154));});}[_0x533c81(0x179)](){const _0x38b835=_0x533c81;this[_0x38b835(0x17c)][_0x38b835(0x14b)](this[_0x38b835(0x140)]);for(const _0x56a2d4 of this[_0x38b835(0x167)])this[_0x38b835(0x16c)][_0x38b835(0x165)](_0x56a2d4[_0x38b835(0x140)]),this[_0x38b835(0x17c)][_0x38b835(0x14b)](_0x56a2d4[_0x38b835(0x140)]);}[_0x533c81(0x143)](){const _0x1e5573=_0x533c81,_0x574d10=new _0x4399f3(this[_0x1e5573(0x13d)]);return _0x574d10[_0x1e5573(0x158)](_0x1e5573(0x13f))['to'](this),_0x574d10;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5db729=_0x8d96;(function(_0x2e6255,_0x1c3bf9){const _0x177bfb=_0x8d96,_0x148592=_0x2e6255();while(!![]){try{const _0x479949=parseInt(_0x177bfb(0x1d9))/0x1*(-parseInt(_0x177bfb(0x1b9))/0x2)+-parseInt(_0x177bfb(0x1bc))/0x3*(parseInt(_0x177bfb(0x1dd))/0x4)+parseInt(_0x177bfb(0x1da))/0x5*(-parseInt(_0x177bfb(0x1b0))/0x6)+-parseInt(_0x177bfb(0x1c1))/0x7*(-parseInt(_0x177bfb(0x1b2))/0x8)+-parseInt(_0x177bfb(0x1af))/0x9*(-parseInt(_0x177bfb(0x1ad))/0xa)+-parseInt(_0x177bfb(0x1c5))/0xb+parseInt(_0x177bfb(0x1ab))/0xc;if(_0x479949===_0x1c3bf9)break;else _0x148592['push'](_0x148592['shift']());}catch(_0x14ae9f){_0x148592['push'](_0x148592['shift']());}}}(_0x3675,0xc7565));function _0x3675(){const _0x53dcca=['4HqIdHO','_focusOnNonInteractiveMouseDown','34096788XhOOcc','editorReady','10iOXiDk','editor','4681647QAeKfC','111846xzBGAs','focusTracker','632qEdszY','div','filter','editorDestroyed','editing','getDomRoot','preventDefault','6286EpdFUT','ck-comment__input-container--active','setTemplate','1365618ZnUwNu','extendTemplate','commentInputView','render','userView','124859QLFjgb','bindTemplate','ck-thread__user','mousedown','15810652OzDVzd','ck-comment__input-container','element','focus','set','contains','then','focusCycler','listenTo','showInput','destroy','some','delegate','isFocused','view','ck-thread__input','createEditor','change:showInput','target','showButtons','223NzLPVJ','365TmAMsk','value','bind'];_0x3675=function(){return _0x53dcca;};return _0x3675();}function _0x8d96(_0x1d69e7,_0x1dfdef){const _0x36756f=_0x3675();return _0x8d96=function(_0x8d96ba,_0x424ab9){_0x8d96ba=_0x8d96ba-0x1ab;let _0x2d139d=_0x36756f[_0x8d96ba];return _0x2d139d;},_0x8d96(_0x1d69e7,_0x1dfdef);}import{View as _0x45146c}from'ckeditor5/src/ui.js';import{CommentInputView as _0x42f6f2}from'./commentinputview.js';import{UserView as _0x219908}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x45146c{constructor(_0x2e4e03,_0x2d91fb,_0x3def4a){const _0x37e9df=_0x8d96;super(_0x2e4e03),this[_0x37e9df(0x1be)]=new _0x42f6f2(_0x2e4e03,_0x3def4a),this[_0x37e9df(0x1cc)]=this[_0x37e9df(0x1be)][_0x37e9df(0x1cc)],this[_0x37e9df(0x1be)][_0x37e9df(0x1dc)](_0x37e9df(0x1d8))['to'](this[_0x37e9df(0x1be)][_0x37e9df(0x1b1)],_0x37e9df(0x1d2),this[_0x37e9df(0x1be)],_0x37e9df(0x1db),(_0x57622f,_0x23bba5)=>_0x57622f||!!_0x23bba5),this[_0x37e9df(0x1c9)](_0x37e9df(0x1ce),!0x1),this['on'](_0x37e9df(0x1d6),()=>{const _0x33010a=_0x37e9df;this[_0x33010a(0x1ce)]&&!this[_0x33010a(0x1be)][_0x33010a(0x1ae)]&&this[_0x33010a(0x1be)][_0x33010a(0x1d5)]();}),this[_0x37e9df(0x1be)][_0x37e9df(0x1d1)](_0x37e9df(0x1ac))['to'](this),this[_0x37e9df(0x1be)][_0x37e9df(0x1d1)](_0x37e9df(0x1b5))['to'](this),this[_0x37e9df(0x1c0)]=new _0x219908(_0x2e4e03,_0x2d91fb),this[_0x37e9df(0x1c0)][_0x37e9df(0x1bd)]({'attributes':{'class':_0x37e9df(0x1c3),'aria-hidden':!0x0}}),this[_0x37e9df(0x1be)][_0x37e9df(0x1bd)]({'attributes':{'class':_0x37e9df(0x1d4)}}),this[_0x37e9df(0x1bb)]({'tag':_0x37e9df(0x1b3),'attributes':{'class':[_0x37e9df(0x1c6),this[_0x37e9df(0x1c2)]['if'](_0x37e9df(0x1ce),_0x37e9df(0x1ba))]},'children':[this[_0x37e9df(0x1c0)],this[_0x37e9df(0x1be)]]});}[_0x5db729(0x1bf)](){const _0x3c9283=_0x5db729;super[_0x3c9283(0x1bf)](),this[_0x3c9283(0x1de)]();}[_0x5db729(0x1cf)](){const _0x4e5ccb=_0x5db729;return this[_0x4e5ccb(0x1be)][_0x4e5ccb(0x1cf)]()[_0x4e5ccb(0x1cb)](()=>super[_0x4e5ccb(0x1cf)]());}[_0x5db729(0x1c8)](_0x2ee76a){const _0x1216a2=_0x5db729;this[_0x1216a2(0x1be)][_0x1216a2(0x1c8)](_0x2ee76a);}[_0x5db729(0x1de)](){const _0x366256=_0x5db729;this[_0x366256(0x1cd)](this[_0x366256(0x1c7)],_0x366256(0x1c4),(_0x3c9d26,_0x2b685f)=>{const _0x52e71f=_0x366256,{submitButtonView:_0x4950d6,cancelButtonView:_0x2ece7d,editor:_0x13b38d}=this[_0x52e71f(0x1be)];[_0x4950d6[_0x52e71f(0x1c7)],_0x2ece7d[_0x52e71f(0x1c7)],_0x13b38d?_0x13b38d[_0x52e71f(0x1b6)][_0x52e71f(0x1d3)][_0x52e71f(0x1b7)]():null][_0x52e71f(0x1b4)](_0xf07bc2=>_0xf07bc2)[_0x52e71f(0x1d0)](_0x5f2ade=>_0x5f2ade[_0x52e71f(0x1ca)](_0x2b685f[_0x52e71f(0x1d7)]))||(this[_0x52e71f(0x1c8)](),_0x2b685f[_0x52e71f(0x1b8)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5c8f90=_0x13b0;(function(_0x4b3f8c,_0x3e2000){const _0x592af5=_0x13b0,_0x13906f=_0x4b3f8c();while(!![]){try{const _0x554c0e=-parseInt(_0x592af5(0x1a4))/0x1*(parseInt(_0x592af5(0x198))/0x2)+parseInt(_0x592af5(0x189))/0x3*(parseInt(_0x592af5(0x187))/0x4)+-parseInt(_0x592af5(0x19c))/0x5+-parseInt(_0x592af5(0x1cf))/0x6*(parseInt(_0x592af5(0x19a))/0x7)+parseInt(_0x592af5(0x1d0))/0x8+-parseInt(_0x592af5(0x1b4))/0x9*(parseInt(_0x592af5(0x1b1))/0xa)+parseInt(_0x592af5(0x184))/0xb;if(_0x554c0e===_0x3e2000)break;else _0x13906f['push'](_0x13906f['shift']());}catch(_0x387f64){_0x13906f['push'](_0x13906f['shift']());}}}(_0x2d6a,0x2fdb3));import{ConfirmMixin as _0x37352c,LateFocusButtonView as _0x4ebef9}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x13b0(_0x1b0fbd,_0x414100){const _0x2d6a49=_0x2d6a();return _0x13b0=function(_0x13b03d,_0x5cb468){_0x13b03d=_0x13b03d-0x17e;let _0x39bf1c=_0x2d6a49[_0x13b03d];return _0x39bf1c;},_0x13b0(_0x1b0fbd,_0x414100);}import{IconCheck as _0x2b7ad1}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x4afd54}from'./basecommentthreadview.js';function _0x2d6a(){const _0x3c233d=['ck-thread--active','449468NtKewU','commentThreadChildren','9WzCRFP','removeConfirm','fire','isResolved','get','ck-thread__container','isSystemComment','change:isReadOnly','render','_bindFirstCommentView','ck-reset_all-excluded','ck-thread--','containerElement','ck-thread','_createResolveButton','42cbLaoY','then','854XipfUP','commentThreadHeaderView','235505pUlNva','_cancelAllConfirms','isResolvable','tooltip','_boundFirstCommentView','set','length','commentsListView','17031qRtznO','createCollection','ariaDescriptionView','getTemplate','showConfirm','focusables','Resolve','isEnabled','resolveCommentThread','change:archivedAt','isReadOnly','_model','resolveButton','1917750sLkeiV','remove','querySelector','18uJBLLb','ck-rounded-corners','actionIndicator','_updateArchivedThreadHeader','isActive','isUnlinked','div','cancelConfirm','actionBar','commentViews','focus','unbind','change:isActive','commentThreadInputView','ck-comment--resolve','listenTo','has','element','bindTemplate','removeCommentThread','Write\x20a\x20comment...','label','icon','high','.ck-thread__container','locale','execute','10794TOozvv','1168600NMNHhZ','isVisible','placeholder','add','ariaLabel','bind','ck-thread--unlinked','removeButton','extendTemplate','listitem','archivedAt','Delete\x20comment\x20thread?','setTemplate','7926853sELedY','stop'];_0x2d6a=function(){return _0x3c233d;};return _0x2d6a();}import{getTranslation as _0xce756f}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x37352c(_0x4afd54){[_0x5c8f90(0x188)];[_0x5c8f90(0x195)];[_0x5c8f90(0x1b0)];[_0x5c8f90(0x1a0)];constructor(_0x20c618,_0x54c4e5,_0x4c9431,_0x43516a){const _0x23a987=_0x5c8f90;super(_0x20c618,_0x54c4e5,_0x4c9431,_0x43516a),this[_0x23a987(0x188)]=this[_0x23a987(0x1a5)]([this[_0x23a987(0x1a3)],this[_0x23a987(0x1c1)],this[_0x23a987(0x1a6)]]),this[_0x23a987(0x1a1)](_0x23a987(0x1b6),null),this[_0x23a987(0x195)]=null,this[_0x23a987(0x1a0)]=null,this[_0x23a987(0x1cd)]=_0x20c618,this[_0x23a987(0x1b0)]=this[_0x23a987(0x197)](),this[_0x23a987(0x183)](this[_0x23a987(0x1a7)]()),this['on'](_0x23a987(0x1c0),(_0x2dfc07,_0x15efbc,_0x48a496)=>{const _0x5e776a=_0x23a987;_0x48a496||this[_0x5e776a(0x19d)]();}),this[_0x23a987(0x1c3)](this[_0x23a987(0x1af)],_0x23a987(0x190),(_0x52389c,_0x3e3098,_0xfc8366)=>{const _0x499056=_0x23a987;_0xfc8366&&this[_0x499056(0x19d)]();}),this[_0x23a987(0x1a2)]>0x0&&this[_0x23a987(0x192)](),this[_0x23a987(0x1c3)](this[_0x23a987(0x1a3)][_0x23a987(0x1bd)],_0x23a987(0x1d3),()=>{const _0x48ba83=_0x23a987;this[_0x48ba83(0x192)]();});}[_0x5c8f90(0x1a7)](){const _0x3e0cc0=_0x5c8f90,_0x581f50=this[_0x3e0cc0(0x1c6)];return{'tag':_0x3e0cc0(0x1ba),'attributes':{'class':['ck',_0x3e0cc0(0x196),_0x3e0cc0(0x193),_0x3e0cc0(0x1b5),_0x581f50['if'](_0x3e0cc0(0x1b8),_0x3e0cc0(0x186)),_0x581f50['if'](_0x3e0cc0(0x1b9),_0x3e0cc0(0x1d6)),_0x581f50['to'](_0x3e0cc0(0x1b6),_0x5dce60=>_0x5dce60?_0x3e0cc0(0x194)+_0x5dce60:'')],'data-thread-id':this[_0x3e0cc0(0x1af)]['id'],'tabindex':0x0,'role':_0x3e0cc0(0x180),'aria-label':_0x581f50['to'](_0x3e0cc0(0x1d4)),'aria-describedby':this[_0x3e0cc0(0x1a6)]['id']},'children':[{'tag':_0x3e0cc0(0x1ba),'attributes':{'class':_0x3e0cc0(0x18e)},'children':this[_0x3e0cc0(0x188)]}]};}[_0x5c8f90(0x191)](){const _0x23a8ba=_0x5c8f90;super[_0x23a8ba(0x191)](),this[_0x23a8ba(0x195)]=this[_0x23a8ba(0x1c5)][_0x23a8ba(0x1b3)](_0x23a8ba(0x1cc)),this[_0x23a8ba(0x1af)]['on'](_0x23a8ba(0x1ad),()=>{const _0x1ccde4=_0x23a8ba;this[_0x1ccde4(0x1b7)]();}),this[_0x23a8ba(0x1b7)]();}[_0x5c8f90(0x19d)](){const _0x3d3243=_0x5c8f90;this[_0x3d3243(0x1bb)]();for(const _0x24f198 of this[_0x3d3243(0x1a3)][_0x3d3243(0x1bd)])_0x24f198[_0x3d3243(0x1bb)]();}[_0x5c8f90(0x192)](){const _0x3ebcc6=_0x5c8f90,{locale:_0x4aaced}=this,_0x309a1d=this[_0x3ebcc6(0x1a3)][_0x3ebcc6(0x1bd)][_0x3ebcc6(0x18d)](0x0);_0x309a1d===this[_0x3ebcc6(0x1a0)]||_0x309a1d[_0x3ebcc6(0x18f)]||(this[_0x3ebcc6(0x1a0)]=_0x309a1d,this[_0x3ebcc6(0x1bf)](_0x3ebcc6(0x1b6)),this[_0x3ebcc6(0x1d5)](_0x3ebcc6(0x1b6))['to'](_0x309a1d,_0x3ebcc6(0x1b6),_0x293c86=>_0x3ebcc6(0x1b2)===_0x293c86?_0x3ebcc6(0x1b2):null),_0x309a1d[_0x3ebcc6(0x1d2)]=_0xce756f(_0x4aaced,_0x3ebcc6(0x1c8)),_0x309a1d[_0x3ebcc6(0x17e)]['on'](_0x3ebcc6(0x1ce),_0x10d32b=>{const _0x4801b2=_0x3ebcc6;_0x10d32b[_0x4801b2(0x185)](),this[_0x4801b2(0x1a8)](_0xce756f(_0x4aaced,_0x4801b2(0x182)),this[_0x4801b2(0x195)])[_0x4801b2(0x199)](()=>{const _0xc7cf6a=_0x4801b2;this[_0xc7cf6a(0x18b)](_0xc7cf6a(0x1c7));});},{'priority':_0x3ebcc6(0x1cb)}),this['on'](_0x3ebcc6(0x18a),()=>{const _0x316d44=_0x3ebcc6;_0x309a1d[_0x316d44(0x1be)]();}),_0x309a1d[_0x3ebcc6(0x1bc)][_0x3ebcc6(0x1d3)](this[_0x3ebcc6(0x1b0)],0x0),_0x309a1d[_0x3ebcc6(0x1a9)][_0x3ebcc6(0x1d3)](this[_0x3ebcc6(0x1b0)],0x0));}[_0x5c8f90(0x197)](){const _0x2858db=_0x5c8f90,_0x2ae76f=new _0x4ebef9(this[_0x2858db(0x1cd)]);return _0x2ae76f[_0x2858db(0x1c9)]=_0xce756f(this[_0x2858db(0x1cd)],_0x2858db(0x1aa)),_0x2ae76f[_0x2858db(0x19f)]=_0xce756f(this[_0x2858db(0x1cd)],_0x2858db(0x1aa)),_0x2ae76f[_0x2858db(0x1ca)]=_0x2b7ad1,_0x2ae76f[_0x2858db(0x17f)]({'attributes':{'class':_0x2858db(0x1c2)}}),_0x2ae76f[_0x2858db(0x1d5)](_0x2858db(0x1ab))['to'](this[_0x2858db(0x1af)],_0x2858db(0x1ae),_0xee4ee8=>!_0xee4ee8),_0x2ae76f[_0x2858db(0x1d5)](_0x2858db(0x1d1))['to'](this[_0x2858db(0x1af)],_0x2858db(0x19e),this[_0x2858db(0x1af)],_0x2858db(0x18c),(_0x59ab3c,_0x12e257)=>_0x59ab3c&&!_0x12e257),_0x2ae76f['on'](_0x2858db(0x1ce),()=>{const _0x2e1902=_0x2858db;this[_0x2e1902(0x18b)](_0x2e1902(0x1ac),this[_0x2e1902(0x1af)]['id']);}),_0x2ae76f;}[_0x5c8f90(0x1b7)](){const _0x2e99bc=_0x5c8f90;this[_0x2e99bc(0x1af)][_0x2e99bc(0x181)]?this[_0x2e99bc(0x188)][_0x2e99bc(0x1c4)](this[_0x2e99bc(0x19b)])||(this[_0x2e99bc(0x188)][_0x2e99bc(0x1d3)](this[_0x2e99bc(0x19b)],0x0),this[_0x2e99bc(0x1a9)][_0x2e99bc(0x1d3)](this[_0x2e99bc(0x19b)],0x0)):this[_0x2e99bc(0x188)][_0x2e99bc(0x1c4)](this[_0x2e99bc(0x19b)])&&(this[_0x2e99bc(0x188)][_0x2e99bc(0x1b2)](this[_0x2e99bc(0x19b)]),this[_0x2e99bc(0x1a9)][_0x2e99bc(0x1b2)](this[_0x2e99bc(0x19b)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x408556=_0x2415;(function(_0x4a5c0f,_0x448fe6){const _0x51dc2a=_0x2415,_0x3ba137=_0x4a5c0f();while(!![]){try{const _0x230900=-parseInt(_0x51dc2a(0x146))/0x1*(-parseInt(_0x51dc2a(0xf4))/0x2)+parseInt(_0x51dc2a(0x12a))/0x3*(-parseInt(_0x51dc2a(0xf6))/0x4)+-parseInt(_0x51dc2a(0x120))/0x5*(-parseInt(_0x51dc2a(0x12b))/0x6)+-parseInt(_0x51dc2a(0xd4))/0x7+-parseInt(_0x51dc2a(0x147))/0x8*(-parseInt(_0x51dc2a(0xec))/0x9)+parseInt(_0x51dc2a(0x136))/0xa+-parseInt(_0x51dc2a(0x13a))/0xb;if(_0x230900===_0x448fe6)break;else _0x3ba137['push'](_0x3ba137['shift']());}catch(_0x41386f){_0x3ba137['push'](_0x3ba137['shift']());}}}(_0x2cc2,0x3f4a2));import{IconRemoveComment as _0x6182a2,IconPencil as _0x132a74,IconThreeVerticalDots as _0x3b1549}from'ckeditor5/src/icons.js';import{ButtonView as _0x2a390c,createDropdown as _0x3bf57f,ListView as _0x391b11,ListItemView as _0x4a8b9b,focusChildOnDropdownOpen as _0x1e975d}from'ckeditor5/src/ui.js';import{UserView as _0xc6df94,ConfirmMixin as _0x36fc9b,LateFocusDropdownButtonView as _0x2e48ff}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2415(_0x3b7fbd,_0xd6c4b0){const _0x2cc221=_0x2cc2();return _0x2415=function(_0x241543,_0x175222){_0x241543=_0x241543-0xd0;let _0x216824=_0x2cc221[_0x241543];return _0x216824;},_0x2415(_0x3b7fbd,_0xd6c4b0);}function _0x2cc2(){const _0x504ede=['children','fire','isVisible','unbind','_createEditButton','ck-comment--info','items','from','listenTo','isRemovable','actionIndicator','listitem','div','isEditMode','_config','ck-comment__actions--hidden','formatDateTime','mouseleave','extendTemplate','isExternal','Edit','ck-comment__wrapper','ck-annotation__main','label','ck-comment','icon','remove','_createDropdown','Remove','element','length','isReadOnly','span','cancelConfirm','2029460lXKAOX','focus','edit','panelView','ariaDescriptionView','push','blur','_createCommentInputView','editButton','dropdown','33AtqGWY','6bqphHA','actionBar','Show\x20more\x20items','render','execute','change:isRemovable','add','panelPosition','locale','bind','mouseenter','497850nTFjbN','ck-comment__user','showConfirm','ck-comment__actions','3012570PtOUjw','withText','isSystemComment','_createRemoveButton','ck-annotation__info-time','userView','isEnabled','getExternalCommentNote','createCollection','group','bindTemplate','focusables','133xrUEnG','16amllZz','find','ck-comment__external','set','setTemplate','561869XMMNkF','ck-comment__info-name','getUserViewNotificationText','visibleView','toMany','ck-hidden','removeButton','addMany','ariaLabel','then','ck-comment__main','ck-annotation__user','name','Reply...','ck-annotation__content-wrapper','ck-comment__info-time','ck-annotation','_model','isEditable','_attachActions','ck-comment--remove','authoredAt','ck-annotation__actions--hidden','buttonView','599958zStgeO','some','getTemplate','ck-annotation__info-name','ck-comment__info','removeComment','Delete\x20comment?','ck-annotation__info','4542NqzNzD','ck-annotation__actions','100972nohKcu','placeholder','time','ck-comment--','resolvedAt','ck-comment--edit','switchToEditMode','author'];_0x2cc2=function(){return _0x504ede;};return _0x2cc2();}import{BaseCommentView as _0xe7f4e}from'./basecommentview.js';import{getTranslation as _0x1157d3}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x36fc9b(_0xe7f4e){[_0x408556(0x12c)];[_0x408556(0x13f)];constructor(_0x5080ba,_0x81b2a4,_0x21ccbb){const _0x153992=_0x408556;super(_0x5080ba,_0x81b2a4,_0x21ccbb),this[_0x153992(0xd2)](_0x153992(0x108),null),this[_0x153992(0xd2)](_0x153992(0xf7),_0x1157d3(_0x5080ba,_0x153992(0xe1))),this[_0x153992(0x134)](_0x153992(0xe9))['to'](_0x81b2a4),this[_0x153992(0x134)](_0x153992(0xfa))['to'](_0x81b2a4),this[_0x153992(0x12c)]=this[_0x153992(0x142)](),this[_0x153992(0x13c)]||(this[_0x153992(0x128)]=this[_0x153992(0x102)](),this[_0x153992(0xda)]=this[_0x153992(0x13d)](),this[_0x153992(0x104)]=this[_0x153992(0x142)](),this[_0x153992(0x104)][_0x153992(0xdb)]([this[_0x153992(0x128)],this[_0x153992(0xda)]]),this[_0x153992(0x129)]=this[_0x153992(0x119)](),this[_0x153992(0x12c)][_0x153992(0x131)](this[_0x153992(0x129)]),this[_0x153992(0x145)][_0x153992(0x131)](this[_0x153992(0x129)])),this[_0x153992(0x13f)]=new _0xc6df94(_0x5080ba,_0x81b2a4[_0x153992(0xfd)],this[_0x153992(0xd6)]()),this[_0x153992(0x13f)][_0x153992(0x110)]({'attributes':{'class':[_0x153992(0x137),_0x153992(0xdf)],'aria-hidden':!0x0}}),this[_0x153992(0x106)](_0x81b2a4,_0x153992(0x130),()=>this[_0x153992(0x11f)]()),this[_0x153992(0xd3)](this[_0x153992(0xee)]());}[_0x408556(0xee)](){const _0x106e1=_0x408556,_0x2d8efe=this[_0x106e1(0x144)],_0x2e7194=[{'tag':_0x106e1(0x10a),'attributes':{'class':[_0x106e1(0xf0),_0x106e1(0xf3)]},'children':[{'tag':_0x106e1(0x11e),'children':[{'text':this[_0x106e1(0x13f)][_0x106e1(0xe0)]}],'attributes':{'class':[_0x106e1(0xd5),_0x106e1(0xef)],'data-cke-tooltip-text':this[_0x106e1(0x13f)][_0x106e1(0xe0)]}},{'tag':_0x106e1(0xf8),'attributes':{'datetime':_0x2d8efe['to'](_0x106e1(0xe9)),'class':[_0x106e1(0xe3),_0x106e1(0x13e)]},'children':[{'text':_0x2d8efe['to'](_0x106e1(0xe9),_0x445e3b=>this[_0x106e1(0x10c)][_0x106e1(0x10e)](_0x445e3b))}]}]},{'tag':_0x106e1(0x10a),'attributes':{'class':[_0x106e1(0x139),_0x106e1(0xf5),_0x2d8efe['if'](_0x106e1(0x10b),_0x106e1(0x10d)),_0x2d8efe['if'](_0x106e1(0x10b),_0x106e1(0xea))]},'children':this[_0x106e1(0x12c)]},{'tag':_0x106e1(0x10a),'attributes':{'class':[_0x106e1(0xe2)]},'children':this[_0x106e1(0xd7)]},this[_0x106e1(0x124)]];return this[_0x106e1(0xe5)][_0x106e1(0x111)]&&_0x2e7194[_0x106e1(0x125)]({'tag':_0x106e1(0x10a),'attributes':{'class':[_0x106e1(0xd1)]},'children':[{'text':this[_0x106e1(0x141)]()}]}),{'tag':'li','attributes':{'class':[_0x106e1(0x113)],'tabindex':-0x1,'aria-label':_0x2d8efe['to'](_0x106e1(0xdc)),'aria-describedby':this[_0x106e1(0x124)]['id'],'role':_0x106e1(0x109)},'children':[{'tag':_0x106e1(0x10a),'attributes':{'class':[_0x106e1(0x116),_0x106e1(0xe4),_0x2d8efe['if'](_0x106e1(0x10b),_0x106e1(0xfb)),_0x2d8efe['if'](_0x106e1(0x13c),_0x106e1(0x103)),_0x2d8efe['to'](_0x106e1(0x108),_0x9cd01c=>_0x9cd01c?_0x106e1(0xf9)+_0x9cd01c:'')],'data-author-id':this[_0x106e1(0xe5)][_0x106e1(0xfd)]['id'],'data-comment-id':this[_0x106e1(0xe5)]['id'],'role':_0x106e1(0x143)},'children':[this[_0x106e1(0x13f)],{'tag':_0x106e1(0x10a),'attributes':{'class':[_0x106e1(0xde),_0x106e1(0x114)]},'children':_0x2e7194}]}]};}[_0x408556(0x102)](){const _0x20e231=_0x408556,_0x4be440=new _0x2a390c(this[_0x20e231(0x133)]);return _0x4be440[_0x20e231(0x115)]=_0x1157d3(this[_0x20e231(0x133)],_0x20e231(0x112)),_0x4be440[_0x20e231(0x117)]=_0x132a74,_0x4be440[_0x20e231(0x13b)]=!0x0,_0x4be440[_0x20e231(0x110)]({'attributes':{'class':_0x20e231(0xfb)}}),_0x4be440[_0x20e231(0x134)](_0x20e231(0x140))['to'](this[_0x20e231(0xe5)],_0x20e231(0x11d),_0x452c8a=>!_0x452c8a),_0x4be440[_0x20e231(0x134)](_0x20e231(0x100))['to'](this[_0x20e231(0xe5)],_0x20e231(0xe6)),_0x4be440['on'](_0x20e231(0x12f),()=>this[_0x20e231(0xfc)]()),_0x4be440;}[_0x408556(0x13d)](){const _0x23a70a=_0x408556,_0x4073f2=new _0x2a390c(this[_0x23a70a(0x133)]);return _0x4073f2[_0x23a70a(0x115)]=_0x1157d3(this[_0x23a70a(0x133)],_0x23a70a(0x11a)),_0x4073f2[_0x23a70a(0x117)]=_0x6182a2,_0x4073f2[_0x23a70a(0x13b)]=!0x0,_0x4073f2[_0x23a70a(0x110)]({'attributes':{'class':_0x23a70a(0xe8)}}),_0x4073f2[_0x23a70a(0x134)](_0x23a70a(0x140))['to'](this[_0x23a70a(0xe5)],_0x23a70a(0x11d),_0x424ba9=>!_0x424ba9),_0x4073f2[_0x23a70a(0x134)](_0x23a70a(0x100))['to'](this[_0x23a70a(0xe5)],_0x23a70a(0x107)),_0x4073f2['on'](_0x23a70a(0x12f),()=>{const _0x46427d=_0x23a70a;this[_0x46427d(0x138)](_0x1157d3(this[_0x46427d(0x133)],_0x46427d(0xf2)),this[_0x46427d(0x11b)])[_0x46427d(0xdd)](()=>{const _0x4fdefd=_0x46427d;this[_0x4fdefd(0xff)](_0x4fdefd(0xf1),this[_0x4fdefd(0xe5)]['id']);});}),_0x4073f2;}[_0x408556(0x119)](){const _0x381fb2=_0x408556,_0x4d87d6=_0x3bf57f(this[_0x381fb2(0x133)],_0x2e48ff),_0x185f48=_0x4d87d6[_0x381fb2(0x123)][_0x381fb2(0xfe)],_0x5f49ed=new _0x391b11(this[_0x381fb2(0x133)]),_0x4e9431=_0x4d87d6[_0x381fb2(0x144)];_0x1e975d(_0x4d87d6,()=>this[_0x381fb2(0x104)][_0x381fb2(0xd0)](_0x3949ee=>_0x3949ee[_0x381fb2(0x100)])),_0x4d87d6[_0x381fb2(0x110)]({'attributes':{'class':[_0x4e9431['if'](_0x381fb2(0x100),_0x381fb2(0xd9),_0x2b4586=>!_0x2b4586)]}});const _0x48842a=(_0x5de4ac,_0x1ef084=-0x1)=>{const _0x9a623=_0x381fb2,_0x5e0842=new _0x4a8b9b(this[_0x9a623(0x133)]);_0x5e0842[_0x9a623(0xfe)][_0x9a623(0x131)](_0x5de4ac);const _0xf0df7b=_0x1ef084>-0x1?_0x1ef084:_0x5f49ed[_0x9a623(0x104)][_0x9a623(0x11c)];_0x5f49ed[_0x9a623(0x104)][_0x9a623(0x131)](_0x5e0842,_0xf0df7b);const _0x2ff5b3=Array[_0x9a623(0x105)](this[_0x9a623(0x104)]);_0x4d87d6[_0x9a623(0x101)](_0x9a623(0x140),_0x9a623(0x100)),_0x4d87d6[_0x9a623(0x134)](_0x9a623(0x140))[_0x9a623(0xd8)](_0x2ff5b3,_0x9a623(0x140),(..._0x35cdf1)=>_0x35cdf1[_0x9a623(0xed)](_0x1f617e=>_0x1f617e)),_0x4d87d6[_0x9a623(0x134)](_0x9a623(0x100))[_0x9a623(0xd8)](_0x2ff5b3,_0x9a623(0x100),(..._0x10f8c3)=>_0x10f8c3[_0x9a623(0xed)](_0xb018c9=>_0xb018c9));};_0x4d87d6[_0x381fb2(0x132)]='sw',_0x4d87d6[_0x381fb2(0xeb)][_0x381fb2(0xd2)]({'label':_0x1157d3(this[_0x381fb2(0x133)],_0x381fb2(0x12d)),'icon':_0x3b1549});for(const _0x43156b of this[_0x381fb2(0x104)])_0x48842a(_0x43156b);return _0x185f48[_0x381fb2(0x131)](_0x5f49ed),_0x4d87d6[_0x381fb2(0x106)](this[_0x381fb2(0x104)],_0x381fb2(0x131),(_0x258d17,_0x4b4a80,_0x4532e1)=>{_0x48842a(_0x4b4a80,_0x4532e1);}),_0x4d87d6[_0x381fb2(0x106)](this[_0x381fb2(0x104)],_0x381fb2(0x118),(_0xb1b9a8,_0xcf4053,_0x43239d)=>{const _0x11b1ae=_0x381fb2;_0x5f49ed[_0x11b1ae(0x104)][_0x11b1ae(0x118)](_0x43239d);}),_0x4d87d6;}[_0x408556(0xe7)](_0x84a048,_0x1c03b1){const _0x41b795=_0x408556,_0x2992e8=_0x84a048&&_0x84a048[_0x41b795(0x11b)];_0x2992e8&&(this[_0x41b795(0x106)](_0x2992e8,_0x41b795(0x135),()=>this[_0x41b795(0x108)]=_0x1c03b1),this[_0x41b795(0x106)](_0x2992e8,_0x41b795(0x121),()=>this[_0x41b795(0x108)]=_0x1c03b1),this[_0x41b795(0x106)](_0x2992e8,_0x41b795(0x10f),()=>this[_0x41b795(0x108)]=null),this[_0x41b795(0x106)](_0x2992e8,_0x41b795(0x126),()=>this[_0x41b795(0x108)]=null));}[_0x408556(0x127)](){const _0xe607a8=_0x408556,_0x1d78cd=super[_0xe607a8(0x127)]();return _0x1d78cd[_0xe607a8(0x134)](_0xe607a8(0xf7))['to'](this),_0x1d78cd;}[_0x408556(0x12e)](){const _0x1718b8=_0x408556;super[_0x1718b8(0x12e)](),this[_0x1718b8(0xe7)](this[_0x1718b8(0x128)],_0x1718b8(0x122)),this[_0x1718b8(0xe7)](this[_0x1718b8(0xda)],_0x1718b8(0x118));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x451237=_0x589f;function _0x589f(_0x173691,_0x1e1888){var _0x41e17f=_0x41e1();return _0x589f=function(_0x589fe2,_0x2e9fa1){_0x589fe2=_0x589fe2-0xe1;var _0x8c164=_0x41e17f[_0x589fe2];return _0x8c164;},_0x589f(_0x173691,_0x1e1888);}(function(_0x2b0c6b,_0x4a6fd8){var _0x437050=_0x589f,_0x2e0e1d=_0x2b0c6b();while(!![]){try{var _0xf28206=parseInt(_0x437050(0xea))/0x1+-parseInt(_0x437050(0xe4))/0x2+-parseInt(_0x437050(0xe8))/0x3+-parseInt(_0x437050(0xeb))/0x4+-parseInt(_0x437050(0xec))/0x5+-parseInt(_0x437050(0xe6))/0x6+parseInt(_0x437050(0xe2))/0x7;if(_0xf28206===_0x4a6fd8)break;else _0x2e0e1d['push'](_0x2e0e1d['shift']());}catch(_0x4ed3bc){_0x2e0e1d['push'](_0x2e0e1d['shift']());}}}(_0x41e1,0xb1f08));import{Plugin as _0x1822b9}from'ckeditor5/src/core.js';import{CommentsRepository as _0x55ed21}from'./comments/commentsrepository.js';function _0x41e1(){var _0x47ccdb=['Comments','2873682SmZzwp','isOfficialPlugin','3742893DFsVIN','isPremiumPlugin','1439240bCYfXl','845724cdNcJS','5824230jmNNcZ','pluginName','20768986hApKcx','requires','1149086QiKzSc'];_0x41e1=function(){return _0x47ccdb;};return _0x41e1();}import{CommentsEditing as _0x261bd0}from'./comments/commentsediting.js';import{CommentsUI as _0x29309b}from'./comments/commentsui.js';import{CommentsOnly as _0x38995b}from'./commentsonly.js';import{WideSidebar as _0x57c88e}from'./annotations/widesidebar.js';import{NarrowSidebar as _0xe9e7d0}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x851454}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x5443e7}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x303eae}from'./comments/commentsarchive.js';export class Comments extends _0x1822b9{static get[_0x451237(0xe3)](){return[_0x55ed21,_0x261bd0,_0x29309b,_0x303eae,_0x5443e7,_0x38995b,_0x57c88e,_0xe9e7d0,_0x851454];}static get[_0x451237(0xe1)](){var _0x5223a2=_0x451237;return _0x5223a2(0xe5);}static get[_0x451237(0xe7)](){return!0x0;}static get[_0x451237(0xe9)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56dffa=_0x2f29;(function(_0x24fe7b,_0x1921ef){const _0x324578=_0x2f29,_0x8f5ec7=_0x24fe7b();while(!![]){try{const _0x2f61ff=-parseInt(_0x324578(0xd4))/0x1*(parseInt(_0x324578(0xc5))/0x2)+-parseInt(_0x324578(0xd2))/0x3+parseInt(_0x324578(0xc4))/0x4+parseInt(_0x324578(0xe7))/0x5*(parseInt(_0x324578(0xce))/0x6)+parseInt(_0x324578(0xca))/0x7+-parseInt(_0x324578(0xe2))/0x8*(parseInt(_0x324578(0xdb))/0x9)+parseInt(_0x324578(0xcc))/0xa;if(_0x2f61ff===_0x1921ef)break;else _0x8f5ec7['push'](_0x8f5ec7['shift']());}catch(_0x412a7c){_0x8f5ec7['push'](_0x8f5ec7['shift']());}}}(_0x3cdc,0x43745));import{Plugin as _0x4b9d77}from'ckeditor5/src/core.js';import{CommentsEditing as _0x187316}from'./comments/commentsediting.js';function _0x2f29(_0x42ee28,_0x1b9e52){const _0x3cdc75=_0x3cdc();return _0x2f29=function(_0x2f2994,_0x268d3e){_0x2f2994=_0x2f2994-0xba;let _0xd5ec8d=_0x3cdc75[_0x2f2994];return _0xd5ec8d;},_0x2f29(_0x42ee28,_0x1b9e52);}export class CommentsOnly extends _0x4b9d77{static get[_0x56dffa(0xe5)](){const _0x5b18b0=_0x56dffa;return _0x5b18b0(0xd0);}static get[_0x56dffa(0xc0)](){return!0x0;}static get[_0x56dffa(0xde)](){return!0x0;}static get[_0x56dffa(0xc6)](){return[_0x187316];}constructor(_0xf6f8f0){const _0x47d986=_0x56dffa;super(_0xf6f8f0),this[_0x47d986(0xcd)](_0x47d986(0xd7),!0x1),this['on'](_0x47d986(0xc3),(_0xe012c4,_0x37af9e,_0x52d0c1)=>{const _0x491b96=_0x47d986;_0x52d0c1?this[_0x491b96(0xbf)]():this[_0x491b96(0xc1)]();});}[_0x56dffa(0xd6)](){const _0x198cd7=_0x56dffa;!this[_0x198cd7(0xd7)]&&this[_0x198cd7(0xcb)][_0x198cd7(0xd9)][_0x198cd7(0xc2)](_0x198cd7(0xcf))&&(this[_0x198cd7(0xd7)]=!0x0);}[_0x56dffa(0xbf)](){const _0x4e5b48=_0x56dffa;for(const [_0x197b72,_0x152e89]of this[_0x4e5b48(0xcb)][_0x4e5b48(0xe6)])_0x152e89[_0x4e5b48(0xbc)]&&_0x4e5b48(0xe0)!==_0x197b72&&_0x152e89[_0x4e5b48(0xda)](_0x4e5b48(0xd1));(this[_0x4e5b48(0xcb)][_0x4e5b48(0xbe)][_0x4e5b48(0xdd)](_0x4e5b48(0xd8))&&this[_0x4e5b48(0xcb)][_0x4e5b48(0xbe)][_0x4e5b48(0xc2)](_0x4e5b48(0xd8))[_0x4e5b48(0xda)](_0x4e5b48(0xd1)),this[_0x4e5b48(0xcb)][_0x4e5b48(0xbe)][_0x4e5b48(0xdd)](_0x4e5b48(0xe4)))&&this[_0x4e5b48(0xcb)][_0x4e5b48(0xbe)][_0x4e5b48(0xc2)](_0x4e5b48(0xe4))[_0x4e5b48(0xda)](_0x4e5b48(0xd1));this[_0x4e5b48(0xcb)][_0x4e5b48(0xe6)][_0x4e5b48(0xc2)](_0x4e5b48(0xc8))?.[_0x4e5b48(0xda)](_0x4e5b48(0xd1));const _0x36afe7=this[_0x4e5b48(0xcb)][_0x4e5b48(0xdc)][_0x4e5b48(0xc7)][_0x4e5b48(0xba)];this[_0x4e5b48(0xbb)](_0x36afe7,_0x4e5b48(0xdf),_0x16f2cb=>_0x16f2cb[_0x4e5b48(0xc9)](),{'priority':_0x4e5b48(0xe3)}),this[_0x4e5b48(0xbb)](_0x36afe7,_0x4e5b48(0xd5),_0xe7e1d=>_0xe7e1d[_0x4e5b48(0xc9)](),{'priority':_0x4e5b48(0xe3)}),this[_0x4e5b48(0xbb)](_0x36afe7,_0x4e5b48(0xd3),_0x314726=>_0x314726[_0x4e5b48(0xc9)](),{'priority':_0x4e5b48(0xe3)});}[_0x56dffa(0xc1)](){const _0x2e5e52=_0x56dffa;for(const [_0x4e2bda,_0x5afe8f]of this[_0x2e5e52(0xcb)][_0x2e5e52(0xe6)])_0x5afe8f[_0x2e5e52(0xbc)]&&_0x2e5e52(0xe0)!==_0x4e2bda&&_0x5afe8f[_0x2e5e52(0xbd)](_0x2e5e52(0xd1));this[_0x2e5e52(0xcb)][_0x2e5e52(0xbe)][_0x2e5e52(0xdd)](_0x2e5e52(0xe4))&&this[_0x2e5e52(0xcb)][_0x2e5e52(0xbe)][_0x2e5e52(0xc2)](_0x2e5e52(0xe4))[_0x2e5e52(0xbd)](_0x2e5e52(0xd1)),this[_0x2e5e52(0xcb)][_0x2e5e52(0xe6)][_0x2e5e52(0xc2)](_0x2e5e52(0xc8))?.[_0x2e5e52(0xbd)](_0x2e5e52(0xd1)),this[_0x2e5e52(0xe1)](this[_0x2e5e52(0xcb)][_0x2e5e52(0xdc)][_0x2e5e52(0xc7)][_0x2e5e52(0xba)]);}}function _0x3cdc(){const _0xcc9cf6=['cut','addCommentThread','stopListening','1823096SBmIqB','highest','SourceEditing','pluginName','commands','325PtKrSz','document','listenTo','affectsData','clearForceDisabled','plugins','_enableCommentsOnlyMode','isOfficialPlugin','_disableCommentsOnlyMode','get','change:isEnabled','918160wdNHMK','2bVTyFx','requires','view','editSource','stop','2507680rwJhnD','editor','409920aiSmkJ','set','30654YBFYtS','commentsOnly','CommentsOnly','commentsOnlyMode','151326ABxGZD','delete','406235BXzbuo','clipboardInput','afterInit','isEnabled','DragDrop','config','forceDisabled','9ttXwaU','editing','has','isPremiumPlugin'];_0x3cdc=function(){return _0xcc9cf6;};return _0x3cdc();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1eaf18,_0x433416){var _0x13875b=_0x4660,_0x305754=_0x1eaf18();while(!![]){try{var _0x26e0ac=parseInt(_0x13875b(0x1d7))/0x1*(parseInt(_0x13875b(0x1d4))/0x2)+parseInt(_0x13875b(0x1da))/0x3+parseInt(_0x13875b(0x1d8))/0x4*(parseInt(_0x13875b(0x1d9))/0x5)+-parseInt(_0x13875b(0x1dc))/0x6*(parseInt(_0x13875b(0x1d6))/0x7)+parseInt(_0x13875b(0x1d2))/0x8*(-parseInt(_0x13875b(0x1d1))/0x9)+parseInt(_0x13875b(0x1db))/0xa+parseInt(_0x13875b(0x1d3))/0xb*(parseInt(_0x13875b(0x1d5))/0xc);if(_0x26e0ac===_0x433416)break;else _0x305754['push'](_0x305754['shift']());}catch(_0x48e246){_0x305754['push'](_0x305754['shift']());}}}(_0x4631,0xd26aa));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';function _0x4660(_0x224786,_0x3ca1ff){var _0x46310c=_0x4631();return _0x4660=function(_0x466098,_0x236cc1){_0x466098=_0x466098-0x1d1;var _0xcedf68=_0x46310c[_0x466098];return _0xcedf68;},_0x4660(_0x224786,_0x3ca1ff);}export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';function _0x4631(){var _0x9185e9=['102159VZdTaR','88SRwFtF','14773NQFcoi','2398kdCKlK','732oofHsd','14szvWHQ','584KGbqID','4vWnYGg','3189885PkkGkr','1582251PbyZix','834560kBxhCg','3132786QfisqD'];_0x4631=function(){return _0x9185e9;};return _0x4631();}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(_0x55c68c,_0x402324,_0x585b8d){const t=_0x55c68c['t'];switch(_0x402324){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'},_0x585b8d);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'},_0x585b8d);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'},_0x585b8d);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'},_0x585b8d);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x585b8d);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'},_0x585b8d);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'},_0x585b8d);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'},_0x585b8d);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 _0x20b0(){const _0x4aa14c=['1454103JPZMiP','6SyXXyV','468IQOqdF','14534850DFJjti','1869120nnHvSQ','attributeName','8307ZTEOCF','disconnect','1648885QXekvl','observe','cancel','characterData','class','50216fGcreB','465325CEthTH','attributes','childList','type','4BQbFND','78Uuvhln'];_0x20b0=function(){return _0x4aa14c;};return _0x20b0();}function _0x4003(_0x4dabda,_0x39d241){const _0x20b04d=_0x20b0();return _0x4003=function(_0x40032d,_0x567e67){_0x40032d=_0x40032d-0x1e8;let _0x4006ac=_0x20b04d[_0x40032d];return _0x4006ac;},_0x4003(_0x4dabda,_0x39d241);}(function(_0x35fdbb,_0x535021){const _0x321a6b=_0x4003,_0x2110f4=_0x35fdbb();while(!![]){try{const _0x4f96b0=-parseInt(_0x321a6b(0x1ec))/0x1*(-parseInt(_0x321a6b(0x1f9))/0x2)+-parseInt(_0x321a6b(0x1fa))/0x3*(-parseInt(_0x321a6b(0x1f8))/0x4)+parseInt(_0x321a6b(0x1ee))/0x5*(parseInt(_0x321a6b(0x1fb))/0x6)+-parseInt(_0x321a6b(0x1f4))/0x7+parseInt(_0x321a6b(0x1f3))/0x8*(parseInt(_0x321a6b(0x1e8))/0x9)+parseInt(_0x321a6b(0x1ea))/0xa+-parseInt(_0x321a6b(0x1e9))/0xb;if(_0x4f96b0===_0x535021)break;else _0x2110f4['push'](_0x2110f4['shift']());}catch(_0x2483f7){_0x2110f4['push'](_0x2110f4['shift']());}}}(_0x20b0,0x40706));import{throttle as _0x389ef0}from'es-toolkit/compat';export function createMutationObserver(_0xb524f6){const _0x54176b=_0x389ef0(_0xb524f6,0x1e),_0x5ef2db=new MutationObserver(_0x127f2b=>{const _0x4beba3=_0x4003;for(const _0x1c1f80 of _0x127f2b)(_0x4beba3(0x1f5)==_0x1c1f80[_0x4beba3(0x1f7)]&&_0x4beba3(0x1f2)==_0x1c1f80[_0x4beba3(0x1eb)]||_0x4beba3(0x1f6)==_0x1c1f80[_0x4beba3(0x1f7)]||_0x4beba3(0x1f1)==_0x1c1f80[_0x4beba3(0x1f7)])&&_0x54176b();});return{'attach'(_0x54c393){const _0x33d1e3=_0x4003;_0x5ef2db[_0x33d1e3(0x1ef)](_0x54c393,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x26bf31=_0x4003;_0x5ef2db[_0x26bf31(0x1ed)](),_0x54176b[_0x26bf31(0x1f0)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x37ff(_0x9f905f,_0x195dc3){const _0x2c4c9b=_0x2c4c();return _0x37ff=function(_0x37ff19,_0x11bf8c){_0x37ff19=_0x37ff19-0xb8;let _0x5d589a=_0x2c4c9b[_0x37ff19];return _0x5d589a;},_0x37ff(_0x9f905f,_0x195dc3);}(function(_0x106883,_0x20f5be){const _0x4a9e62=_0x37ff,_0x35c361=_0x106883();while(!![]){try{const _0x475b1f=parseInt(_0x4a9e62(0xbb))/0x1*(parseInt(_0x4a9e62(0xc0))/0x2)+parseInt(_0x4a9e62(0xbf))/0x3+parseInt(_0x4a9e62(0xc3))/0x4*(parseInt(_0x4a9e62(0xba))/0x5)+-parseInt(_0x4a9e62(0xb8))/0x6+-parseInt(_0x4a9e62(0xc1))/0x7*(-parseInt(_0x4a9e62(0xbc))/0x8)+parseInt(_0x4a9e62(0xc2))/0x9+parseInt(_0x4a9e62(0xb9))/0xa*(-parseInt(_0x4a9e62(0xbe))/0xb);if(_0x475b1f===_0x20f5be)break;else _0x35c361['push'](_0x35c361['shift']());}catch(_0x1c2e86){_0x35c361['push'](_0x35c361['shift']());}}}(_0x2c4c,0xa5961));export function splitMarkerName(_0x18b9bd){const _0x2ee39c=_0x37ff,_0x1b9b70=_0x18b9bd[_0x2ee39c(0xbd)](':');return{'group':_0x1b9b70[0x0],'id':_0x1b9b70[0x1],'part':_0x1b9b70[0x2]};}function _0x2c4c(){const _0x42f72a=['1300oduzGM','555tfuKeu','1LlSIKJ','6814664zzwbNP','split','96437qpJDOy','1433628vbFmkY','287578OkiHyG','7xaKZkn','1114740ThIzJN','22092XRuxAw','2354760vHouyy'];_0x2c4c=function(){return _0x42f72a;};return _0x2c4c();}
|