@ckeditor/ckeditor5-comments 47.7.5-alpha.0 → 47.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +19 -19
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3f68(_0xdc2839,_0x2ed8b1){const _0x48ec0d=_0x48ec();return _0x3f68=function(_0x3f6873,_0x2f9e24){_0x3f6873=_0x3f6873-0x1f3;let _0x450707=_0x48ec0d[_0x3f6873];return _0x450707;},_0x3f68(_0xdc2839,_0x2ed8b1);}const _0x2fbc67=_0x3f68;(function(_0xe44734,_0x58e485){const _0x145f82=_0x3f68,_0x3ffd6b=_0xe44734();while(!![]){try{const _0x20fb0d=parseInt(_0x145f82(0x218))/0x1*(parseInt(_0x145f82(0x222))/0x2)+parseInt(_0x145f82(0x205))/0x3*(-parseInt(_0x145f82(0x20e))/0x4)+-parseInt(_0x145f82(0x226))/0x5*(parseInt(_0x145f82(0x20b))/0x6)+parseInt(_0x145f82(0x252))/0x7+-parseInt(_0x145f82(0x253))/0x8+-parseInt(_0x145f82(0x238))/0x9+-parseInt(_0x145f82(0x236))/0xa*(-parseInt(_0x145f82(0x1fc))/0xb);if(_0x20fb0d===_0x58e485)break;else _0x3ffd6b['push'](_0x3ffd6b['shift']());}catch(_0x32d7f0){_0x3ffd6b['push'](_0x3ffd6b['shift']());}}}(_0x48ec,0x728f8));import{View as _0x226e88,FocusCycler as _0x4009f0}from'ckeditor5/src/ui.js';import{diff as _0x3a2591,Collection as _0x3745f8,FocusTracker as _0x1d6335,KeystrokeHandler as _0x3271c9}from'ckeditor5/src/utils.js';import{getTranslation as _0x50aae6}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0xbc963b}from'./collapsedcommentsview.js';export class CommentsListView extends _0x226e88{[_0x2fbc67(0x212)];[_0x2fbc67(0x1fe)];[_0x2fbc67(0x207)];[_0x2fbc67(0x21d)];[_0x2fbc67(0x22d)];[_0x2fbc67(0x21f)];[_0x2fbc67(0x216)];[_0x2fbc67(0x249)];constructor(_0x53571f,_0x52a2dd,_0x41b9db){const _0x5a4e31=_0x2fbc67;super(_0x53571f);const _0x5e78a3=this[_0x5a4e31(0x1f6)];this[_0x5a4e31(0x241)](_0x5a4e31(0x23e),!0x1),this[_0x5a4e31(0x241)](_0x5a4e31(0x24e),_0x52a2dd[_0x5a4e31(0x21b)][_0x5a4e31(0x24e)]),this[_0x5a4e31(0x241)](_0x5a4e31(0x20d),!0x1),this[_0x5a4e31(0x21f)]=_0x52a2dd,this[_0x5a4e31(0x216)]=_0x41b9db,this[_0x5a4e31(0x212)]=this[_0x5a4e31(0x237)](),this[_0x5a4e31(0x213)]=this[_0x5a4e31(0x237)](),this[_0x5a4e31(0x1fe)]=null,this[_0x5a4e31(0x207)]=new _0x1d6335(),this[_0x5a4e31(0x21d)]=new _0x3271c9(),this[_0x5a4e31(0x22d)]=new _0x4009f0({'focusables':this[_0x5a4e31(0x212)],'focusTracker':this[_0x5a4e31(0x207)],'keystrokeHandler':this[_0x5a4e31(0x21d)],'keystrokeHandlerOptions':{'filter':_0x1e1f5a=>this[_0x5a4e31(0x212)][_0x5a4e31(0x22a)](_0x389c77=>_0x389c77[_0x5a4e31(0x21c)])[_0x5a4e31(0x21e)](_0x1e1f5a[_0x5a4e31(0x24a)])},'actions':{'focusPrevious':_0x5a4e31(0x234),'focusNext':_0x5a4e31(0x1ff)}}),this[_0x5a4e31(0x249)]=new _0xbc963b(_0x53571f),this[_0x5a4e31(0x249)][_0x5a4e31(0x24f)](_0x5a4e31(0x245))['to'](this,_0x5a4e31(0x24e),_0x3494bc=>_0x3494bc-this[_0x5a4e31(0x216)][_0x5a4e31(0x22b)]);for(const _0x5f09e8 of _0x52a2dd[_0x5a4e31(0x21b)])this[_0x5a4e31(0x204)](_0x5f09e8);this[_0x5a4e31(0x231)](),this[_0x5a4e31(0x1fd)](_0x52a2dd[_0x5a4e31(0x21b)],_0x5a4e31(0x24d),(_0x5dcf23,_0x566299)=>{const _0x4fc99f=_0x5a4e31,_0x2abdec=this[_0x4fc99f(0x221)](_0x566299);this[_0x4fc99f(0x24e)]++,this[_0x4fc99f(0x204)](_0x566299,_0x2abdec),this[_0x4fc99f(0x219)]();}),this[_0x5a4e31(0x1fd)](_0x52a2dd[_0x5a4e31(0x21b)],_0x5a4e31(0x211),(_0x304e7c,_0x44ba78)=>{const _0x410c14=_0x5a4e31;this[_0x410c14(0x24e)]--,this[_0x410c14(0x206)](_0x44ba78),this[_0x410c14(0x219)]();}),this[_0x5a4e31(0x1fd)](_0x52a2dd,_0x5a4e31(0x1fa),()=>this[_0x5a4e31(0x219)]()),this[_0x5a4e31(0x1fd)](_0x52a2dd,_0x5a4e31(0x20c),()=>this[_0x5a4e31(0x231)]()),this['on'](_0x5a4e31(0x233),()=>this[_0x5a4e31(0x219)]()),this['on'](_0x5a4e31(0x240),()=>this[_0x5a4e31(0x219)]()),this[_0x5a4e31(0x247)]({'tag':'ul','attributes':{'class':[_0x5a4e31(0x209),_0x5e78a3['if'](_0x5a4e31(0x24e),_0x5a4e31(0x23a),_0x3a29e7=>!_0x3a29e7)],'aria-label':_0x50aae6(_0x53571f,_0x5a4e31(0x24b))},'children':this[_0x5a4e31(0x213)]});}get[_0x2fbc67(0x228)](){const _0x36ee9a=_0x2fbc67;return this[_0x36ee9a(0x21f)][_0x36ee9a(0x201)]>this[_0x36ee9a(0x216)][_0x36ee9a(0x235)]&&!this[_0x36ee9a(0x20d)]&&!this[_0x36ee9a(0x23e)];}[_0x2fbc67(0x242)](){const _0x44b136=_0x2fbc67;super[_0x44b136(0x242)](),this[_0x44b136(0x219)](),this[_0x44b136(0x24c)]();}[_0x2fbc67(0x251)](_0x460a7b){const _0x36a373=_0x2fbc67;-0x1===_0x460a7b?this[_0x36a373(0x22d)][_0x36a373(0x200)]():this[_0x36a373(0x22d)][_0x36a373(0x225)]();}[_0x2fbc67(0x22e)](){const _0x58557a=_0x2fbc67;this[_0x58557a(0x249)][_0x58557a(0x22e)]();for(const _0x5abe84 of this[_0x58557a(0x212)])_0x5abe84[_0x58557a(0x22e)]();super[_0x58557a(0x22e)]();}[_0x2fbc67(0x219)](){const _0x34a9bf=_0x2fbc67;this[_0x34a9bf(0x228)]?this[_0x34a9bf(0x224)]():this[_0x34a9bf(0x22c)]();}[_0x2fbc67(0x204)](_0x203b82,_0x4b18ad){const _0x49545e=_0x2fbc67,_0x2f7f18=new this[(_0x49545e(0x216))][(_0x49545e(0x214))](this[_0x49545e(0x1f9)],_0x203b82,{'maxCommentCharsWhenCollapsed':this[_0x49545e(0x216)][_0x49545e(0x23f)],'formatDateTime':this[_0x49545e(0x216)][_0x49545e(0x1f7)],'editorConfig':this[_0x49545e(0x216)][_0x49545e(0x1f3)]});_0x2f7f18[_0x49545e(0x1f5)]=_0x203b82['id'],_0x2f7f18[_0x49545e(0x239)](_0x49545e(0x1f8))['to'](this),_0x2f7f18[_0x49545e(0x239)](_0x49545e(0x217))['to'](this),_0x2f7f18[_0x49545e(0x239)](_0x49545e(0x243))['to'](this),_0x2f7f18[_0x49545e(0x239)](_0x49545e(0x203))['to'](this),_0x2f7f18[_0x49545e(0x239)](_0x49545e(0x202))['to'](this),this[_0x49545e(0x1fd)](_0x2f7f18,_0x49545e(0x230),()=>this[_0x49545e(0x254)]()),this[_0x49545e(0x212)][_0x49545e(0x24d)](_0x2f7f18,_0x4b18ad);}[_0x2fbc67(0x221)](_0x2c05b4){const _0x3591c6=_0x2fbc67,_0xd1197f=this[_0x3591c6(0x21f)][_0x3591c6(0x223)](_0x2c05b4);return this[_0x3591c6(0x1fe)]?this[_0x3591c6(0x1fe)][_0x3591c6(0x229)]>_0x2c05b4[_0x3591c6(0x229)]?_0xd1197f-0x1:_0xd1197f:_0xd1197f-0x1;}[_0x2fbc67(0x231)](){const _0x46322a=_0x2fbc67;if(this[_0x46322a(0x21f)][_0x46322a(0x215)]&&this[_0x46322a(0x21f)][_0x46322a(0x23b)]){const _0x34fdc0={'id':_0x46322a(0x1f4),'author':this[_0x46322a(0x21f)][_0x46322a(0x215)],'authoredAt':this[_0x46322a(0x21f)][_0x46322a(0x23b)],'content':_0x50aae6(this[_0x46322a(0x1f9)],_0x46322a(0x248)),'attributes':{}};this[_0x46322a(0x1fe)]=new this[(_0x46322a(0x216))][(_0x46322a(0x214))](this[_0x46322a(0x1f9)],_0x34fdc0,{'maxCommentCharsWhenCollapsed':this[_0x46322a(0x216)][_0x46322a(0x23f)],'formatDateTime':this[_0x46322a(0x216)][_0x46322a(0x1f7)],'editorConfig':this[_0x46322a(0x216)][_0x46322a(0x1f3)],'isSystemComment':!0x0}),this[_0x46322a(0x212)][_0x46322a(0x24d)](this[_0x46322a(0x1fe)],this[_0x46322a(0x21f)][_0x46322a(0x223)](_0x34fdc0));}else this[_0x46322a(0x1fe)]&&(this[_0x46322a(0x212)][_0x46322a(0x211)](this[_0x46322a(0x1fe)]),this[_0x46322a(0x1fe)][_0x46322a(0x22e)](),this[_0x46322a(0x1fe)]=null);this[_0x46322a(0x219)]();}[_0x2fbc67(0x206)](_0x16efb2){const _0xbf47f9=_0x2fbc67,_0x56e2be=this[_0xbf47f9(0x212)][_0xbf47f9(0x211)](_0x16efb2['id']);this[_0xbf47f9(0x20a)](_0x56e2be),_0x56e2be[_0xbf47f9(0x227)]&&this[_0xbf47f9(0x254)](),_0x56e2be[_0xbf47f9(0x22e)]();}[_0x2fbc67(0x254)](){const _0x206725=_0x2fbc67;this[_0x206725(0x23e)]=Array[_0x206725(0x208)](this[_0x206725(0x212)])[_0x206725(0x250)](_0x4ec186=>_0x4ec186[_0x206725(0x227)]);}[_0x2fbc67(0x224)](){const _0x4def6a=_0x2fbc67,_0x5017c2=function(_0x308adb){const _0x35e6fd=_0x3f68,_0x2ec730=new _0x3745f8();for(const _0x47535a of _0x308adb)_0x2ec730[_0x35e6fd(0x24d)](_0x47535a);return _0x2ec730;}(this[_0x4def6a(0x212)]),_0x1a84dc=this[_0x4def6a(0x249)][_0x4def6a(0x245)];for(let _0xf25d9=0x1;_0xf25d9<=_0x1a84dc;_0xf25d9++)_0x5017c2[_0x4def6a(0x211)](0x1);for(const _0x33c0a5 of _0x5017c2)_0x33c0a5[_0x4def6a(0x23d)]();_0x1a84dc>0x0&&_0x5017c2[_0x4def6a(0x24d)](this[_0x4def6a(0x249)],0x1),ns(_0x3a2591(Array[_0x4def6a(0x208)](this[_0x4def6a(0x213)]),Array[_0x4def6a(0x208)](_0x5017c2)),this[_0x4def6a(0x213)],_0x5017c2);}[_0x2fbc67(0x22c)](){const _0x4ba019=_0x2fbc67;ns(_0x3a2591(Array[_0x4ba019(0x208)](this[_0x4ba019(0x213)]),Array[_0x4ba019(0x208)](this[_0x4ba019(0x212)])),this[_0x4ba019(0x213)],this[_0x4ba019(0x212)]);for(const _0x3a1e97 of this[_0x4ba019(0x213)])_0x3a1e97[_0x4ba019(0x23c)]();}[_0x2fbc67(0x24c)](){const _0x415797=_0x2fbc67;this[_0x415797(0x212)][_0x415797(0x232)](_0x2f1258=>{const _0x541ac6=_0x415797;this[_0x541ac6(0x207)][_0x541ac6(0x24d)](_0x2f1258[_0x541ac6(0x21c)]),this[_0x541ac6(0x21d)][_0x541ac6(0x1fd)](_0x2f1258[_0x541ac6(0x21c)]);}),this[_0x415797(0x212)]['on'](_0x415797(0x220),(_0x219471,_0x180ca8)=>{const _0x8e0ee0=_0x415797;for(const _0x4b4e43 of _0x180ca8[_0x8e0ee0(0x22f)])this[_0x8e0ee0(0x207)][_0x8e0ee0(0x211)](_0x4b4e43[_0x8e0ee0(0x21c)]),this[_0x8e0ee0(0x21d)][_0x8e0ee0(0x20a)](_0x4b4e43[_0x8e0ee0(0x21c)]);for(const _0x15b49e of Array[_0x8e0ee0(0x208)](_0x180ca8[_0x8e0ee0(0x21a)])[_0x8e0ee0(0x1fb)]())this[_0x8e0ee0(0x207)][_0x8e0ee0(0x24d)](_0x15b49e[_0x8e0ee0(0x21c)]),this[_0x8e0ee0(0x21d)][_0x8e0ee0(0x1fd)](_0x15b49e[_0x8e0ee0(0x21c)]);});}}function _0x48ec(){const _0x8a34ee=['viewUid','bindTemplate','formatDateTime','removeComment','locale','commentUpdated','reverse','66WniGiS','listenTo','resolvedCommentView','arrowdown','focusLast','weight','editorDestroyed','editorReady','_handleNewCommentModel','3obzzye','_handleRemoveCommentModel','focusTracker','from','ck-thread__comments','stopListening','913494XCqaJR','change:isResolved','isActive','51236RCaLiO','insert','get','remove','commentViews','visibleViews','CommentView','resolvedBy','_config','updateComment','1wTczDE','refreshVisibleViews','added','comments','element','keystrokes','includes','_model','change','_calculatePosition','922864JoBUfT','_findOptimalIndex','_rearrangeCollapse','focusFirst','5PrkMgi','isEditMode','_shouldCollapse','authoredAt','map','maxCommentsWhenCollapsed','_rearrangeExpand','focusCycler','destroy','removed','change:isEditMode','_handleInfoComment','forEach','change:isActive','arrowup','maxThreadTotalWeight','1897910KfTSig','createCollection','6895845NcpKWB','delegate','ck-hidden','resolvedAt','expand','collapse','hasDirtyComment','maxCommentCharsWhenCollapsed','change:hasDirtyComment','set','render','resolveCommentThread','delete','count','equal','setTemplate','Marked\x20as\x20resolved','_collapsedCommentsView','target','Thread\x20comments','_setupKeyboardNavigation','add','length','bind','some','focus','5125099oRDvQH','7454656kCZTWX','_updateHasDirtyComment','editorConfig','resolved'];_0x48ec=function(){return _0x8a34ee;};return _0x48ec();}function ns(_0x158c4d,_0x380244,_0x5ef787){const _0x677244=_0x2fbc67;let _0x919f88=0x0;for(const _0x5aff52 of _0x158c4d)switch(_0x5aff52){case _0x677244(0x20f):_0x380244[_0x677244(0x24d)](_0x5ef787[_0x677244(0x210)](_0x919f88),_0x919f88),_0x919f88++;break;case _0x677244(0x244):_0x380244[_0x677244(0x211)](_0x919f88);break;case _0x677244(0x246):_0x919f88++;}}
|
|
23
|
+
function _0x1915(){const _0x45bd5b=['bind','setTemplate','viewUid','formatDateTime','authoredAt','visibleViews','resolvedCommentView','change:hasDirtyComment','delete','reverse','_model','render','commentUpdated','target','80kZdFie','comments','bindTemplate','remove','get','removed','listenTo','updateComment','equal','Thread\x20comments','isEditMode','refreshVisibleViews','_config','focusFirst','insert','arrowup','_rearrangeExpand','ck-hidden','resolvedBy','change:isActive','130xhJpnG','maxCommentsWhenCollapsed','maxCommentCharsWhenCollapsed','_handleNewCommentModel','expand','removeComment','delegate','commentViews','focusLast','288401edXBSn','focusCycler','235256Nnljrt','_shouldCollapse','forEach','locale','includes','from','map','91RcFCHD','CommentView','_rearrangeCollapse','maxThreadTotalWeight','_setupKeyboardNavigation','some','stopListening','weight','resolvedAt','collapse','focus','count','67006guumoF','hasDirtyComment','set','add','_handleInfoComment','isActive','resolveCommentThread','_updateHasDirtyComment','arrowdown','1602348gcrURj','87720dxcMYD','_handleRemoveCommentModel','Marked\x20as\x20resolved','keystrokes','_collapsedCommentsView','editorConfig','editorReady','focusTracker','_calculatePosition','resolved','84quULVh','added','createCollection','_findOptimalIndex','change:isEditMode','change','editorDestroyed','element','4374524HSgBJv','change:isResolved','24KieOcM','440379dwgBow','ck-thread__comments','destroy','length'];_0x1915=function(){return _0x45bd5b;};return _0x1915();}const _0x4826c4=_0x233a;(function(_0x38ad73,_0x2c4536){const _0x2476e3=_0x233a,_0x35b112=_0x38ad73();while(!![]){try{const _0x20bb36=-parseInt(_0x2476e3(0x170))/0x1+parseInt(_0x2476e3(0x185))/0x2*(-parseInt(_0x2476e3(0x199))/0x3)+parseInt(_0x2476e3(0x18f))/0x4*(-parseInt(_0x2476e3(0x1b6))/0x5)+parseInt(_0x2476e3(0x18e))/0x6+parseInt(_0x2476e3(0x179))/0x7*(parseInt(_0x2476e3(0x172))/0x8)+parseInt(_0x2476e3(0x1a4))/0x9*(parseInt(_0x2476e3(0x167))/0xa)+-parseInt(_0x2476e3(0x1a1))/0xb*(-parseInt(_0x2476e3(0x1a3))/0xc);if(_0x20bb36===_0x2c4536)break;else _0x35b112['push'](_0x35b112['shift']());}catch(_0x40c104){_0x35b112['push'](_0x35b112['shift']());}}}(_0x1915,0x7ae9f));function _0x233a(_0x4b0c2b,_0x533204){const _0x19155e=_0x1915();return _0x233a=function(_0x233a05,_0x592526){_0x233a05=_0x233a05-0x159;let _0x42206f=_0x19155e[_0x233a05];return _0x42206f;},_0x233a(_0x4b0c2b,_0x533204);}import{View as _0x41d5a9,FocusCycler as _0x59e299}from'ckeditor5/src/ui.js';import{diff as _0x504c9d,Collection as _0x1f485f,FocusTracker as _0x1c7669,KeystrokeHandler as _0x7e6e90}from'ckeditor5/src/utils.js';import{getTranslation as _0x5d25e}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x1eb61d}from'./collapsedcommentsview.js';export class CommentsListView extends _0x41d5a9{[_0x4826c4(0x16e)];[_0x4826c4(0x1ae)];[_0x4826c4(0x196)];[_0x4826c4(0x192)];[_0x4826c4(0x171)];[_0x4826c4(0x1b2)];[_0x4826c4(0x15f)];[_0x4826c4(0x193)];constructor(_0x17d6e1,_0x33c8f7,_0x585965){const _0x5404ca=_0x4826c4;super(_0x17d6e1);const _0xce57d8=this[_0x5404ca(0x1b8)];this[_0x5404ca(0x187)](_0x5404ca(0x186),!0x1),this[_0x5404ca(0x187)](_0x5404ca(0x1a7),_0x33c8f7[_0x5404ca(0x1b7)][_0x5404ca(0x1a7)]),this[_0x5404ca(0x187)](_0x5404ca(0x18a),!0x1),this[_0x5404ca(0x1b2)]=_0x33c8f7,this[_0x5404ca(0x15f)]=_0x585965,this[_0x5404ca(0x16e)]=this[_0x5404ca(0x19b)](),this[_0x5404ca(0x1ad)]=this[_0x5404ca(0x19b)](),this[_0x5404ca(0x1ae)]=null,this[_0x5404ca(0x196)]=new _0x1c7669(),this[_0x5404ca(0x192)]=new _0x7e6e90(),this[_0x5404ca(0x171)]=new _0x59e299({'focusables':this[_0x5404ca(0x16e)],'focusTracker':this[_0x5404ca(0x196)],'keystrokeHandler':this[_0x5404ca(0x192)],'keystrokeHandlerOptions':{'filter':_0x390c2a=>this[_0x5404ca(0x16e)][_0x5404ca(0x178)](_0x415137=>_0x415137[_0x5404ca(0x1a0)])[_0x5404ca(0x176)](_0x390c2a[_0x5404ca(0x1b5)])},'actions':{'focusPrevious':_0x5404ca(0x162),'focusNext':_0x5404ca(0x18d)}}),this[_0x5404ca(0x193)]=new _0x1eb61d(_0x17d6e1),this[_0x5404ca(0x193)][_0x5404ca(0x1a8)](_0x5404ca(0x184))['to'](this,_0x5404ca(0x1a7),_0xdb5ecc=>_0xdb5ecc-this[_0x5404ca(0x15f)][_0x5404ca(0x168)]);for(const _0x32d984 of _0x33c8f7[_0x5404ca(0x1b7)])this[_0x5404ca(0x16a)](_0x32d984);this[_0x5404ca(0x189)](),this[_0x5404ca(0x159)](_0x33c8f7[_0x5404ca(0x1b7)],_0x5404ca(0x188),(_0x285413,_0x496a82)=>{const _0xf02697=_0x5404ca,_0x33b282=this[_0xf02697(0x197)](_0x496a82);this[_0xf02697(0x1a7)]++,this[_0xf02697(0x16a)](_0x496a82,_0x33b282),this[_0xf02697(0x15e)]();}),this[_0x5404ca(0x159)](_0x33c8f7[_0x5404ca(0x1b7)],_0x5404ca(0x1b9),(_0x55f222,_0x5ebaf2)=>{const _0x36847c=_0x5404ca;this[_0x36847c(0x1a7)]--,this[_0x36847c(0x190)](_0x5ebaf2),this[_0x36847c(0x15e)]();}),this[_0x5404ca(0x159)](_0x33c8f7,_0x5404ca(0x1b4),()=>this[_0x5404ca(0x15e)]()),this[_0x5404ca(0x159)](_0x33c8f7,_0x5404ca(0x1a2),()=>this[_0x5404ca(0x189)]()),this['on'](_0x5404ca(0x166),()=>this[_0x5404ca(0x15e)]()),this['on'](_0x5404ca(0x1af),()=>this[_0x5404ca(0x15e)]()),this[_0x5404ca(0x1a9)]({'tag':'ul','attributes':{'class':[_0x5404ca(0x1a5),_0xce57d8['if'](_0x5404ca(0x1a7),_0x5404ca(0x164),_0x2463d6=>!_0x2463d6)],'aria-label':_0x5d25e(_0x17d6e1,_0x5404ca(0x15c))},'children':this[_0x5404ca(0x1ad)]});}get[_0x4826c4(0x173)](){const _0x100f50=_0x4826c4;return this[_0x100f50(0x1b2)][_0x100f50(0x180)]>this[_0x100f50(0x15f)][_0x100f50(0x17c)]&&!this[_0x100f50(0x18a)]&&!this[_0x100f50(0x186)];}[_0x4826c4(0x1b3)](){const _0x56b4f0=_0x4826c4;super[_0x56b4f0(0x1b3)](),this[_0x56b4f0(0x15e)](),this[_0x56b4f0(0x17d)]();}[_0x4826c4(0x183)](_0x16bcaa){const _0x5a1dd7=_0x4826c4;-0x1===_0x16bcaa?this[_0x5a1dd7(0x171)][_0x5a1dd7(0x16f)]():this[_0x5a1dd7(0x171)][_0x5a1dd7(0x160)]();}[_0x4826c4(0x1a6)](){const _0x1ad7b1=_0x4826c4;this[_0x1ad7b1(0x193)][_0x1ad7b1(0x1a6)]();for(const _0x335f00 of this[_0x1ad7b1(0x16e)])_0x335f00[_0x1ad7b1(0x1a6)]();super[_0x1ad7b1(0x1a6)]();}[_0x4826c4(0x15e)](){const _0xdf7c1d=_0x4826c4;this[_0xdf7c1d(0x173)]?this[_0xdf7c1d(0x17b)]():this[_0xdf7c1d(0x163)]();}[_0x4826c4(0x16a)](_0x356018,_0x1a0ff3){const _0x55824e=_0x4826c4,_0x1fe47e=new this[(_0x55824e(0x15f))][(_0x55824e(0x17a))](this[_0x55824e(0x175)],_0x356018,{'maxCommentCharsWhenCollapsed':this[_0x55824e(0x15f)][_0x55824e(0x169)],'formatDateTime':this[_0x55824e(0x15f)][_0x55824e(0x1ab)],'editorConfig':this[_0x55824e(0x15f)][_0x55824e(0x194)]});_0x1fe47e[_0x55824e(0x1aa)]=_0x356018['id'],_0x1fe47e[_0x55824e(0x16d)](_0x55824e(0x16c))['to'](this),_0x1fe47e[_0x55824e(0x16d)](_0x55824e(0x15a))['to'](this),_0x1fe47e[_0x55824e(0x16d)](_0x55824e(0x18b))['to'](this),_0x1fe47e[_0x55824e(0x16d)](_0x55824e(0x195))['to'](this),_0x1fe47e[_0x55824e(0x16d)](_0x55824e(0x19f))['to'](this),this[_0x55824e(0x159)](_0x1fe47e,_0x55824e(0x19d),()=>this[_0x55824e(0x18c)]()),this[_0x55824e(0x16e)][_0x55824e(0x188)](_0x1fe47e,_0x1a0ff3);}[_0x4826c4(0x197)](_0x444a58){const _0x31d2fe=_0x4826c4,_0xf15ba2=this[_0x31d2fe(0x1b2)][_0x31d2fe(0x19c)](_0x444a58);return this[_0x31d2fe(0x1ae)]?this[_0x31d2fe(0x1ae)][_0x31d2fe(0x1ac)]>_0x444a58[_0x31d2fe(0x1ac)]?_0xf15ba2-0x1:_0xf15ba2:_0xf15ba2-0x1;}[_0x4826c4(0x189)](){const _0x4bcd6e=_0x4826c4;if(this[_0x4bcd6e(0x1b2)][_0x4bcd6e(0x165)]&&this[_0x4bcd6e(0x1b2)][_0x4bcd6e(0x181)]){const _0x1117e3={'id':_0x4bcd6e(0x198),'author':this[_0x4bcd6e(0x1b2)][_0x4bcd6e(0x165)],'authoredAt':this[_0x4bcd6e(0x1b2)][_0x4bcd6e(0x181)],'content':_0x5d25e(this[_0x4bcd6e(0x175)],_0x4bcd6e(0x191)),'attributes':{}};this[_0x4bcd6e(0x1ae)]=new this[(_0x4bcd6e(0x15f))][(_0x4bcd6e(0x17a))](this[_0x4bcd6e(0x175)],_0x1117e3,{'maxCommentCharsWhenCollapsed':this[_0x4bcd6e(0x15f)][_0x4bcd6e(0x169)],'formatDateTime':this[_0x4bcd6e(0x15f)][_0x4bcd6e(0x1ab)],'editorConfig':this[_0x4bcd6e(0x15f)][_0x4bcd6e(0x194)],'isSystemComment':!0x0}),this[_0x4bcd6e(0x16e)][_0x4bcd6e(0x188)](this[_0x4bcd6e(0x1ae)],this[_0x4bcd6e(0x1b2)][_0x4bcd6e(0x19c)](_0x1117e3));}else this[_0x4bcd6e(0x1ae)]&&(this[_0x4bcd6e(0x16e)][_0x4bcd6e(0x1b9)](this[_0x4bcd6e(0x1ae)]),this[_0x4bcd6e(0x1ae)][_0x4bcd6e(0x1a6)](),this[_0x4bcd6e(0x1ae)]=null);this[_0x4bcd6e(0x15e)]();}[_0x4826c4(0x190)](_0x43229f){const _0x22fbf7=_0x4826c4,_0x50a27a=this[_0x22fbf7(0x16e)][_0x22fbf7(0x1b9)](_0x43229f['id']);this[_0x22fbf7(0x17f)](_0x50a27a),_0x50a27a[_0x22fbf7(0x15d)]&&this[_0x22fbf7(0x18c)](),_0x50a27a[_0x22fbf7(0x1a6)]();}[_0x4826c4(0x18c)](){const _0x40543b=_0x4826c4;this[_0x40543b(0x186)]=Array[_0x40543b(0x177)](this[_0x40543b(0x16e)])[_0x40543b(0x17e)](_0x2d3072=>_0x2d3072[_0x40543b(0x15d)]);}[_0x4826c4(0x17b)](){const _0x1c56cf=_0x4826c4,_0x364f15=function(_0x5e80e2){const _0x3a0770=_0x233a,_0x13711a=new _0x1f485f();for(const _0x58eb3b of _0x5e80e2)_0x13711a[_0x3a0770(0x188)](_0x58eb3b);return _0x13711a;}(this[_0x1c56cf(0x16e)]),_0x438a9c=this[_0x1c56cf(0x193)][_0x1c56cf(0x184)];for(let _0x571934=0x1;_0x571934<=_0x438a9c;_0x571934++)_0x364f15[_0x1c56cf(0x1b9)](0x1);for(const _0x4fcc32 of _0x364f15)_0x4fcc32[_0x1c56cf(0x182)]();_0x438a9c>0x0&&_0x364f15[_0x1c56cf(0x188)](this[_0x1c56cf(0x193)],0x1),ns(_0x504c9d(Array[_0x1c56cf(0x177)](this[_0x1c56cf(0x1ad)]),Array[_0x1c56cf(0x177)](_0x364f15)),this[_0x1c56cf(0x1ad)],_0x364f15);}[_0x4826c4(0x163)](){const _0x2a25e6=_0x4826c4;ns(_0x504c9d(Array[_0x2a25e6(0x177)](this[_0x2a25e6(0x1ad)]),Array[_0x2a25e6(0x177)](this[_0x2a25e6(0x16e)])),this[_0x2a25e6(0x1ad)],this[_0x2a25e6(0x16e)]);for(const _0x4d35a2 of this[_0x2a25e6(0x1ad)])_0x4d35a2[_0x2a25e6(0x16b)]();}[_0x4826c4(0x17d)](){const _0x3893a8=_0x4826c4;this[_0x3893a8(0x16e)][_0x3893a8(0x174)](_0x3ad0fb=>{const _0x425d04=_0x3893a8;this[_0x425d04(0x196)][_0x425d04(0x188)](_0x3ad0fb[_0x425d04(0x1a0)]),this[_0x425d04(0x192)][_0x425d04(0x159)](_0x3ad0fb[_0x425d04(0x1a0)]);}),this[_0x3893a8(0x16e)]['on'](_0x3893a8(0x19e),(_0x3d28a5,_0x567a3a)=>{const _0x3b52d1=_0x3893a8;for(const _0x1f10fc of _0x567a3a[_0x3b52d1(0x1bb)])this[_0x3b52d1(0x196)][_0x3b52d1(0x1b9)](_0x1f10fc[_0x3b52d1(0x1a0)]),this[_0x3b52d1(0x192)][_0x3b52d1(0x17f)](_0x1f10fc[_0x3b52d1(0x1a0)]);for(const _0x27f547 of Array[_0x3b52d1(0x177)](_0x567a3a[_0x3b52d1(0x19a)])[_0x3b52d1(0x1b1)]())this[_0x3b52d1(0x196)][_0x3b52d1(0x188)](_0x27f547[_0x3b52d1(0x1a0)]),this[_0x3b52d1(0x192)][_0x3b52d1(0x159)](_0x27f547[_0x3b52d1(0x1a0)]);});}}function ns(_0x41b8b6,_0x37e577,_0x45c038){const _0x574d7a=_0x4826c4;let _0x537bd8=0x0;for(const _0x217b6e of _0x41b8b6)switch(_0x217b6e){case _0x574d7a(0x161):_0x37e577[_0x574d7a(0x188)](_0x45c038[_0x574d7a(0x1ba)](_0x537bd8),_0x537bd8),_0x537bd8++;break;case _0x574d7a(0x1b0):_0x37e577[_0x574d7a(0x1b9)](_0x537bd8);break;case _0x574d7a(0x15b):_0x537bd8++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x366efe=_0x8fb1;function _0x24b4(){const _0x3169d9=['5422764FlMdaF','720248nOCBpH','element','758446jGmSki','3832595hJqhFP','span','3SHKrJV','THREAD_CONTEXT_LABEL','bindTemplate','10FiTcmp','focus','916803jegaFG','761076HetmnJ','setTemplate','set','3411368YENDna','ck-context__value','contextValue','7UVtnQD'];_0x24b4=function(){return _0x3169d9;};return _0x24b4();}(function(_0x5a9e42,_0x48fbd9){const _0x10eac6=_0x8fb1,_0x503a2d=_0x5a9e42();while(!![]){try{const _0x1ec6f1=parseInt(_0x10eac6(0xd8))/0x1+parseInt(_0x10eac6(0xe1))/0x2+-parseInt(_0x10eac6(0xdb))/0x3*(parseInt(_0x10eac6(0xd6))/0x4)+parseInt(_0x10eac6(0xd9))/0x5+-parseInt(_0x10eac6(0xd5))/0x6*(parseInt(_0x10eac6(0xd4))/0x7)+-parseInt(_0x10eac6(0xd1))/0x8+-parseInt(_0x10eac6(0xe0))/0x9*(-parseInt(_0x10eac6(0xde))/0xa);if(_0x1ec6f1===_0x48fbd9)break;else _0x503a2d['push'](_0x503a2d['shift']());}catch(_0x5708b5){_0x503a2d['push'](_0x503a2d['shift']());}}}(_0x24b4,0x795c5));import{View as _0x36df4b}from'ckeditor5/src/ui.js';import{getTranslation as _0x151779}from'../../../utils/common-translations.js';function _0x8fb1(_0x8a543a,_0x14c90e){const _0x24b4e3=_0x24b4();return _0x8fb1=function(_0x8fb16f,_0x5b6fb){_0x8fb16f=_0x8fb16f-0xcf;let _0x3093ee=_0x24b4e3[_0x8fb16f];return _0x3093ee;},_0x8fb1(_0x8a543a,_0x14c90e);}export class CommentThreadHeaderContextView extends _0x36df4b{constructor(_0x862554){const _0x155a4a=_0x8fb1;super(_0x862554);const _0x2569aa=this[_0x155a4a(0xdd)];this[_0x155a4a(0xd0)](_0x155a4a(0xd3),''),this[_0x155a4a(0xcf)]({'tag':_0x155a4a(0xda),'attributes':{'class':['ck',_0x155a4a(0xd2)],'aria-label':_0x2569aa['to'](_0x155a4a(0xd3),_0x22f7eb=>_0x151779(_0x862554,_0x155a4a(0xdc),_0x22f7eb)),'tabindex':-0x1},'children':[{'text':_0x2569aa['to'](_0x155a4a(0xd3))}]});}[_0x366efe(0xdf)](){const _0x52a9a4=_0x366efe;this[_0x52a9a4(0xd7)][_0x52a9a4(0xdf)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x34ae(_0x49a4cb,_0x402803){const _0x1c664b=_0x1c66();return _0x34ae=function(_0x34ae59,_0x594584){_0x34ae59=_0x34ae59-0x11e;let _0x46b928=_0x1c664b[_0x34ae59];return _0x46b928;},_0x34ae(_0x49a4cb,_0x402803);}const _0x38e761=_0x34ae;(function(_0x10a23d,_0x2123f2){const _0xb60222=_0x34ae,_0x6a88c7=_0x10a23d();while(!![]){try{const _0xbe463e=-parseInt(_0xb60222(0x13b))/0x1+parseInt(_0xb60222(0x11e))/0x2+-parseInt(_0xb60222(0x133))/0x3*(-parseInt(_0xb60222(0x136))/0x4)+parseInt(_0xb60222(0x15d))/0x5+parseInt(_0xb60222(0x145))/0x6*(parseInt(_0xb60222(0x157))/0x7)+-parseInt(_0xb60222(0x151))/0x8*(-parseInt(_0xb60222(0x142))/0x9)+parseInt(_0xb60222(0x11f))/0xa*(-parseInt(_0xb60222(0x121))/0xb);if(_0xbe463e===_0x2123f2)break;else _0x6a88c7['push'](_0x6a88c7['shift']());}catch(_0x3f28c0){_0x6a88c7['push'](_0x6a88c7['shift']());}}}(_0x1c66,0x9b257));import{View as _0x29e5bc,ButtonView as _0x4997e0,FocusCycler as _0x2995d7}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3cf647,KeystrokeHandler as _0x52d60e}from'ckeditor5/src/utils.js';import{IconUndo as _0x5bd8c1}from'ckeditor5/src/icons.js';import{getTranslation as _0x5c4151}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x65bbac}from'./commentthreadheadercontextview.js';function _0x1c66(){const _0x15b9fb=['ck-thread__header','ck-context--quotes','createCollection','classList','Reopen','6000150uSSfcb','fire','element','offsetWidth','shift+tab','substring','_setupKeyboardNavigation','render','Comment\x20was\x20made\x20on\x20an\x20element','scrollWidth','497910TVxCdV','11426160MQZAGV','hasContext','22CPFXKV','locale','_trimContextValue','add','querySelector','ck-context','focusFirst','setTemplate','_createReopenButton','...','ck-annotation__actions','focus','_model','mouseleave','overlay','context','lastIndexOf','bindTemplate','26517WHdmSa','listenTo','length','308VINCyY','icon','isVisible','tooltip','_attachContextActions','888539sNsZQO','focusTracker','.ck-context','ck-context-wrapper','keystrokes','.ck-context__value','execute','288uwNPbm','remove','tab','2115594vPwjkA','div','isResolvable','isEnabled','value','_createContextView','bind','contextValue','mouseenter','reopenButtonView','reopenCommentThread','label','243616jeeTzi','focusCycler','contextView','focusables','isReadOnly','isResolved','14IDpiSJ'];_0x1c66=function(){return _0x15b9fb;};return _0x1c66();}export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x29e5bc{[_0x38e761(0x12d)];[_0x38e761(0x14e)];[_0x38e761(0x153)];[_0x38e761(0x154)];[_0x38e761(0x13c)];[_0x38e761(0x13f)];[_0x38e761(0x152)];constructor(_0x31fee6,_0x18548e){const _0x85135b=_0x38e761;super(_0x31fee6);const _0x54e39d=this[_0x85135b(0x132)];this[_0x85135b(0x12d)]=_0x18548e,this[_0x85135b(0x14e)]=this[_0x85135b(0x129)](),this[_0x85135b(0x153)]=this[_0x85135b(0x14a)](),this[_0x85135b(0x154)]=this[_0x85135b(0x15a)]([this[_0x85135b(0x153)],this[_0x85135b(0x14e)]]),this[_0x85135b(0x13c)]=new _0x3cf647(),this[_0x85135b(0x13f)]=new _0x52d60e(),this[_0x85135b(0x152)]=new _0x2995d7({'focusables':this[_0x85135b(0x154)],'focusTracker':this[_0x85135b(0x13c)],'keystrokeHandler':this[_0x85135b(0x13f)],'actions':{'focusPrevious':_0x85135b(0x161),'focusNext':_0x85135b(0x144)}}),this[_0x85135b(0x14b)](_0x85135b(0x120))['to'](this[_0x85135b(0x12d)],_0x85135b(0x130),_0x2d5dab=>!!_0x2d5dab),this[_0x85135b(0x14b)](_0x85135b(0x14c))['to'](this[_0x85135b(0x12d)],_0x85135b(0x130),_0x10f0d0=>_0x10f0d0&&_0x10f0d0[_0x85135b(0x149)]?this[_0x85135b(0x123)](_0x10f0d0[_0x85135b(0x149)]):_0x5c4151(this[_0x85135b(0x122)],_0x85135b(0x165))),this[_0x85135b(0x128)]({'tag':_0x85135b(0x146),'attributes':{'class':[_0x85135b(0x158)]},'children':[{'tag':_0x85135b(0x146),'attributes':{'class':[_0x85135b(0x13e)]},'children':[{'tag':_0x85135b(0x146),'attributes':{'class':[_0x85135b(0x126),_0x54e39d['if'](_0x85135b(0x120),_0x85135b(0x159))]},'children':[this[_0x85135b(0x153)]]}]},{'tag':_0x85135b(0x146),'attributes':{'class':[_0x85135b(0x12b)]},'children':[this[_0x85135b(0x14e)]]}]});}[_0x38e761(0x164)](){const _0x3a3571=_0x38e761;super[_0x3a3571(0x164)](),this[_0x3a3571(0x13a)](),this[_0x3a3571(0x163)]();}[_0x38e761(0x12c)](){const _0x218853=_0x38e761;this[_0x218853(0x152)][_0x218853(0x127)]();}[_0x38e761(0x129)](){const _0x57b062=_0x38e761,_0x1be0af=new _0x4997e0(this[_0x57b062(0x122)]);return _0x1be0af[_0x57b062(0x150)]=_0x5c4151(this[_0x57b062(0x122)],_0x57b062(0x15c)),_0x1be0af[_0x57b062(0x139)]=_0x5c4151(this[_0x57b062(0x122)],_0x57b062(0x15c)),_0x1be0af[_0x57b062(0x137)]=_0x5bd8c1,_0x1be0af[_0x57b062(0x14b)](_0x57b062(0x148))['to'](this[_0x57b062(0x12d)],_0x57b062(0x155),_0x1930cc=>!_0x1930cc),_0x1be0af[_0x57b062(0x14b)](_0x57b062(0x138))['to'](this[_0x57b062(0x12d)],_0x57b062(0x147),this[_0x57b062(0x12d)],_0x57b062(0x156),(_0x53d50d,_0x498aa1)=>_0x53d50d&&_0x498aa1),_0x1be0af['on'](_0x57b062(0x141),()=>{const _0x227399=_0x57b062;this[_0x227399(0x15e)](_0x227399(0x14f),this[_0x227399(0x12d)]['id']);}),_0x1be0af;}[_0x38e761(0x123)](_0x300c9d){const _0x24a0cf=_0x38e761;if(_0x300c9d[_0x24a0cf(0x135)]<0x96)return _0x300c9d;const _0x4e617f=_0x300c9d[_0x24a0cf(0x131)]('\x20',0x93);return _0x300c9d[_0x24a0cf(0x162)](0x0,_0x4e617f>-0x1?_0x4e617f:0x93)+_0x24a0cf(0x12a);}[_0x38e761(0x13a)](){const _0x1032e9=_0x38e761,_0x1010e4=this[_0x1032e9(0x15f)][_0x1032e9(0x125)](_0x1032e9(0x13d)),_0x35d50e=_0x1010e4[_0x1032e9(0x125)](_0x1032e9(0x140));this[_0x1032e9(0x134)](_0x1010e4,_0x1032e9(0x14d),()=>{const _0x3b642e=_0x1032e9;_0x35d50e[_0x3b642e(0x160)]<_0x35d50e[_0x3b642e(0x166)]&&_0x1010e4[_0x3b642e(0x15b)][_0x3b642e(0x124)](_0x3b642e(0x12f));}),this[_0x1032e9(0x134)](_0x1010e4,_0x1032e9(0x12e),()=>{const _0x2b5607=_0x1032e9;_0x1010e4[_0x2b5607(0x15b)][_0x2b5607(0x143)](_0x2b5607(0x12f));});}[_0x38e761(0x163)](){const _0x6b249d=_0x38e761;this[_0x6b249d(0x13f)][_0x6b249d(0x134)](this[_0x6b249d(0x15f)]);for(const _0x5d0067 of this[_0x6b249d(0x154)])this[_0x6b249d(0x13c)][_0x6b249d(0x124)](_0x5d0067[_0x6b249d(0x15f)]),this[_0x6b249d(0x13f)][_0x6b249d(0x134)](_0x5d0067[_0x6b249d(0x15f)]);}[_0x38e761(0x14a)](){const _0xd2fdd2=_0x38e761,_0x39822e=new _0x65bbac(this[_0xd2fdd2(0x122)]);return _0x39822e[_0xd2fdd2(0x14b)](_0xd2fdd2(0x14c))['to'](this),_0x39822e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10aab0=_0x2d4b;(function(_0x44cdf0,_0x1db714){const _0x3fe126=_0x2d4b,_0x146b17=_0x44cdf0();while(!![]){try{const _0x3b48f5=-parseInt(_0x3fe126(0x147))/0x1*(-parseInt(_0x3fe126(0x170))/0x2)+-parseInt(_0x3fe126(0x145))/0x3+-parseInt(_0x3fe126(0x15d))/0x4+-parseInt(_0x3fe126(0x155))/0x5*(-parseInt(_0x3fe126(0x153))/0x6)+parseInt(_0x3fe126(0x144))/0x7+parseInt(_0x3fe126(0x167))/0x8*(parseInt(_0x3fe126(0x14d))/0x9)+-parseInt(_0x3fe126(0x164))/0xa*(parseInt(_0x3fe126(0x16f))/0xb);if(_0x3b48f5===_0x1db714)break;else _0x146b17['push'](_0x146b17['shift']());}catch(_0x69a040){_0x146b17['push'](_0x146b17['shift']());}}}(_0x36d6,0xdc958));import{View as _0x5be6d1}from'ckeditor5/src/ui.js';function _0x2d4b(_0x8acdb2,_0x1f2483){const _0x36d691=_0x36d6();return _0x2d4b=function(_0x2d4bd2,_0x246f24){_0x2d4bd2=_0x2d4bd2-0x141;let _0x4a1b1a=_0x36d691[_0x2d4bd2];return _0x4a1b1a;},_0x2d4b(_0x8acdb2,_0x1f2483);}function _0x36d6(){const _0x469821=['ck-thread__input','some','editor','bind','set','1823332ZrONqO','4175904HhjWMe','destroy','40889MIdLdq','ck-comment__input-container','div','focus','bindTemplate','editorReady','165906UpaOLy','then','userView','commentInputView','delegate','_focusOnNonInteractiveMouseDown','10658658jqGuit','target','5bclyII','focusTracker','change:showInput','focusCycler','editorDestroyed','getDomRoot','value','showInput','2488872UukBwE','filter','contains','isFocused','editing','render','listenTo','90EtrqAi','ck-thread__user','preventDefault','248blOBwR','setTemplate','element','view','showButtons','ck-comment__input-container--active','createEditor','mousedown','1521003duDcHz','76BurqDv','extendTemplate'];_0x36d6=function(){return _0x469821;};return _0x36d6();}import{CommentInputView as _0x28df3a}from'./commentinputview.js';import{UserView as _0x55bc0f}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x5be6d1{constructor(_0x3a7f3f,_0x520c94,_0x5698aa){const _0x37b1ef=_0x2d4b;super(_0x3a7f3f),this[_0x37b1ef(0x150)]=new _0x28df3a(_0x3a7f3f,_0x5698aa),this[_0x37b1ef(0x158)]=this[_0x37b1ef(0x150)][_0x37b1ef(0x158)],this[_0x37b1ef(0x150)][_0x37b1ef(0x142)](_0x37b1ef(0x16b))['to'](this[_0x37b1ef(0x150)][_0x37b1ef(0x156)],_0x37b1ef(0x160),this[_0x37b1ef(0x150)],_0x37b1ef(0x15b),(_0x5a7398,_0x4e4b6e)=>_0x5a7398||!!_0x4e4b6e),this[_0x37b1ef(0x143)](_0x37b1ef(0x15c),!0x1),this['on'](_0x37b1ef(0x157),()=>{const _0x432720=_0x37b1ef;this[_0x432720(0x15c)]&&!this[_0x432720(0x150)][_0x432720(0x141)]&&this[_0x432720(0x150)][_0x432720(0x16d)]();}),this[_0x37b1ef(0x150)][_0x37b1ef(0x151)](_0x37b1ef(0x14c))['to'](this),this[_0x37b1ef(0x150)][_0x37b1ef(0x151)](_0x37b1ef(0x159))['to'](this),this[_0x37b1ef(0x14f)]=new _0x55bc0f(_0x3a7f3f,_0x520c94),this[_0x37b1ef(0x14f)][_0x37b1ef(0x171)]({'attributes':{'class':_0x37b1ef(0x165),'aria-hidden':!0x0}}),this[_0x37b1ef(0x150)][_0x37b1ef(0x171)]({'attributes':{'class':_0x37b1ef(0x172)}}),this[_0x37b1ef(0x168)]({'tag':_0x37b1ef(0x149),'attributes':{'class':[_0x37b1ef(0x148),this[_0x37b1ef(0x14b)]['if'](_0x37b1ef(0x15c),_0x37b1ef(0x16c))]},'children':[this[_0x37b1ef(0x14f)],this[_0x37b1ef(0x150)]]});}[_0x10aab0(0x162)](){const _0xbe5d28=_0x10aab0;super[_0xbe5d28(0x162)](),this[_0xbe5d28(0x152)]();}[_0x10aab0(0x146)](){const _0x54196b=_0x10aab0;return this[_0x54196b(0x150)][_0x54196b(0x146)]()[_0x54196b(0x14e)](()=>super[_0x54196b(0x146)]());}[_0x10aab0(0x14a)](_0x393c4e){const _0x14ccc5=_0x10aab0;this[_0x14ccc5(0x150)][_0x14ccc5(0x14a)](_0x393c4e);}[_0x10aab0(0x152)](){const _0x240920=_0x10aab0;this[_0x240920(0x163)](this[_0x240920(0x169)],_0x240920(0x16e),(_0x340b92,_0x5c139a)=>{const _0x4eaf5f=_0x240920,{submitButtonView:_0x2b6437,cancelButtonView:_0x27334b,editor:_0x1d2959}=this[_0x4eaf5f(0x150)];[_0x2b6437[_0x4eaf5f(0x169)],_0x27334b[_0x4eaf5f(0x169)],_0x1d2959?_0x1d2959[_0x4eaf5f(0x161)][_0x4eaf5f(0x16a)][_0x4eaf5f(0x15a)]():null][_0x4eaf5f(0x15e)](_0xfd38a3=>_0xfd38a3)[_0x4eaf5f(0x173)](_0x3d91bd=>_0x3d91bd[_0x4eaf5f(0x15f)](_0x5c139a[_0x4eaf5f(0x154)]))||(this[_0x4eaf5f(0x14a)](),_0x5c139a[_0x4eaf5f(0x166)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1c32d9=_0x4832;(function(_0x2d3f3b,_0x3438fe){const _0x1d9050=_0x4832,_0x32ae60=_0x2d3f3b();while(!![]){try{const _0x46c75d=-parseInt(_0x1d9050(0x105))/0x1+-parseInt(_0x1d9050(0x12a))/0x2*(parseInt(_0x1d9050(0xff))/0x3)+-parseInt(_0x1d9050(0x138))/0x4*(parseInt(_0x1d9050(0x118))/0x5)+-parseInt(_0x1d9050(0x13f))/0x6+-parseInt(_0x1d9050(0xe8))/0x7+parseInt(_0x1d9050(0xed))/0x8+-parseInt(_0x1d9050(0x108))/0x9*(-parseInt(_0x1d9050(0x120))/0xa);if(_0x46c75d===_0x3438fe)break;else _0x32ae60['push'](_0x32ae60['shift']());}catch(_0x598ddb){_0x32ae60['push'](_0x32ae60['shift']());}}}(_0x1a2a,0xca963));function _0x1a2a(){const _0x3fe61f=['actionBar','1178KpLhBL','div','ck-rounded-corners','resolveCommentThread','ck-thread--','removeCommentThread','actionIndicator','ck-thread__container','add','archivedAt','ariaDescriptionView','setTemplate','isUnlinked','isVisible','4uMMzUH','ariaLabel','commentViews','placeholder','removeConfirm','label','getTemplate','6239976VUONQO','4840913gfyMui','Write\x20a\x20comment...','extendTemplate','isResolved','element','10585488SUwxWU','isReadOnly','containerElement','commentThreadHeaderView','resolveButton','length','icon','showConfirm','isResolvable','unbind','commentThreadChildren','removeButton','cancelConfirm','tooltip','locale','fire','Delete\x20comment\x20thread?','bindTemplate','6774JlnmJF','remove','listitem','stop','ck-thread','.ck-thread__container','1097164rqZgqc','get','render','9wLcqUH','set','querySelector','commentThreadInputView','listenTo','_boundFirstCommentView','isEnabled','has','_updateArchivedThreadHeader','ck-comment--resolve','isActive','focus','commentsListView','isSystemComment','ck-reset_all-excluded','createCollection','5889605UIVjxP','focusables','high','_bindFirstCommentView','ck-thread--active','change:archivedAt','_createResolveButton','then','48432110dujpig','execute','_cancelAllConfirms','ck-thread--unlinked','change:isReadOnly','bind','_model','change:isActive','Resolve'];_0x1a2a=function(){return _0x3fe61f;};return _0x1a2a();}import{ConfirmMixin as _0x3febce,LateFocusButtonView as _0x53dafa}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4832(_0x2fbf66,_0x56b085){const _0x1a2a6e=_0x1a2a();return _0x4832=function(_0x483267,_0x23fe16){_0x483267=_0x483267-0xe8;let _0x5af941=_0x1a2a6e[_0x483267];return _0x5af941;},_0x4832(_0x2fbf66,_0x56b085);}import{IconCheck as _0x4ffe8e}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x157c51}from'./basecommentthreadview.js';import{getTranslation as _0x2e0224}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3febce(_0x157c51){[_0x1c32d9(0xf7)];[_0x1c32d9(0xef)];[_0x1c32d9(0xf1)];[_0x1c32d9(0x10d)];constructor(_0x4ff379,_0x31f947,_0x5c0465,_0x3289ca){const _0x475216=_0x1c32d9;super(_0x4ff379,_0x31f947,_0x5c0465,_0x3289ca),this[_0x475216(0xf7)]=this[_0x475216(0x117)]([this[_0x475216(0x114)],this[_0x475216(0x10b)],this[_0x475216(0x134)]]),this[_0x475216(0x109)](_0x475216(0x130),null),this[_0x475216(0xef)]=null,this[_0x475216(0x10d)]=null,this[_0x475216(0xfb)]=_0x4ff379,this[_0x475216(0xf1)]=this[_0x475216(0x11e)](),this[_0x475216(0x135)](this[_0x475216(0x13e)]()),this['on'](_0x475216(0x127),(_0x5b8cd5,_0x4c570e,_0x331374)=>{const _0x57ce14=_0x475216;_0x331374||this[_0x57ce14(0x122)]();}),this[_0x475216(0x10c)](this[_0x475216(0x126)],_0x475216(0x124),(_0x176150,_0x3fb91e,_0x5a97e3)=>{const _0x2807f3=_0x475216;_0x5a97e3&&this[_0x2807f3(0x122)]();}),this[_0x475216(0xf2)]>0x0&&this[_0x475216(0x11b)](),this[_0x475216(0x10c)](this[_0x475216(0x114)][_0x475216(0x13a)],_0x475216(0x132),()=>{const _0x5c9eb2=_0x475216;this[_0x5c9eb2(0x11b)]();});}[_0x1c32d9(0x13e)](){const _0x2e9988=_0x1c32d9,_0x28c7ea=this[_0x2e9988(0xfe)];return{'tag':_0x2e9988(0x12b),'attributes':{'class':['ck',_0x2e9988(0x103),_0x2e9988(0x116),_0x2e9988(0x12c),_0x28c7ea['if'](_0x2e9988(0x112),_0x2e9988(0x11c)),_0x28c7ea['if'](_0x2e9988(0x136),_0x2e9988(0x123)),_0x28c7ea['to'](_0x2e9988(0x130),_0x820c59=>_0x820c59?_0x2e9988(0x12e)+_0x820c59:'')],'data-thread-id':this[_0x2e9988(0x126)]['id'],'tabindex':0x0,'role':_0x2e9988(0x101),'aria-label':_0x28c7ea['to'](_0x2e9988(0x139)),'aria-describedby':this[_0x2e9988(0x134)]['id']},'children':[{'tag':_0x2e9988(0x12b),'attributes':{'class':_0x2e9988(0x131)},'children':this[_0x2e9988(0xf7)]}]};}[_0x1c32d9(0x107)](){const _0x1f3206=_0x1c32d9;super[_0x1f3206(0x107)](),this[_0x1f3206(0xef)]=this[_0x1f3206(0xec)][_0x1f3206(0x10a)](_0x1f3206(0x104)),this[_0x1f3206(0x126)]['on'](_0x1f3206(0x11d),()=>{const _0x284afc=_0x1f3206;this[_0x284afc(0x110)]();}),this[_0x1f3206(0x110)]();}[_0x1c32d9(0x122)](){const _0x45f031=_0x1c32d9;this[_0x45f031(0xf9)]();for(const _0x1e9c95 of this[_0x45f031(0x114)][_0x45f031(0x13a)])_0x1e9c95[_0x45f031(0xf9)]();}[_0x1c32d9(0x11b)](){const _0x449e80=_0x1c32d9,{locale:_0x18b6d5}=this,_0x38c0cc=this[_0x449e80(0x114)][_0x449e80(0x13a)][_0x449e80(0x106)](0x0);_0x38c0cc===this[_0x449e80(0x10d)]||_0x38c0cc[_0x449e80(0x115)]||(this[_0x449e80(0x10d)]=_0x38c0cc,this[_0x449e80(0xf6)](_0x449e80(0x130)),this[_0x449e80(0x125)](_0x449e80(0x130))['to'](_0x38c0cc,_0x449e80(0x130),_0x1cedd0=>_0x449e80(0x100)===_0x1cedd0?_0x449e80(0x100):null),_0x38c0cc[_0x449e80(0x13b)]=_0x2e0224(_0x18b6d5,_0x449e80(0xe9)),_0x38c0cc[_0x449e80(0xf8)]['on'](_0x449e80(0x121),_0x32b47a=>{const _0x2d96b3=_0x449e80;_0x32b47a[_0x2d96b3(0x102)](),this[_0x2d96b3(0xf4)](_0x2e0224(_0x18b6d5,_0x2d96b3(0xfd)),this[_0x2d96b3(0xef)])[_0x2d96b3(0x11f)](()=>{const _0x37f5bd=_0x2d96b3;this[_0x37f5bd(0xfc)](_0x37f5bd(0x12f));});},{'priority':_0x449e80(0x11a)}),this['on'](_0x449e80(0x13c),()=>{const _0x428c75=_0x449e80;_0x38c0cc[_0x428c75(0x113)]();}),_0x38c0cc[_0x449e80(0x129)][_0x449e80(0x132)](this[_0x449e80(0xf1)],0x0),_0x38c0cc[_0x449e80(0x119)][_0x449e80(0x132)](this[_0x449e80(0xf1)],0x0));}[_0x1c32d9(0x11e)](){const _0x9b82ec=_0x1c32d9,_0x342f43=new _0x53dafa(this[_0x9b82ec(0xfb)]);return _0x342f43[_0x9b82ec(0x13d)]=_0x2e0224(this[_0x9b82ec(0xfb)],_0x9b82ec(0x128)),_0x342f43[_0x9b82ec(0xfa)]=_0x2e0224(this[_0x9b82ec(0xfb)],_0x9b82ec(0x128)),_0x342f43[_0x9b82ec(0xf3)]=_0x4ffe8e,_0x342f43[_0x9b82ec(0xea)]({'attributes':{'class':_0x9b82ec(0x111)}}),_0x342f43[_0x9b82ec(0x125)](_0x9b82ec(0x10e))['to'](this[_0x9b82ec(0x126)],_0x9b82ec(0xee),_0x1ea99e=>!_0x1ea99e),_0x342f43[_0x9b82ec(0x125)](_0x9b82ec(0x137))['to'](this[_0x9b82ec(0x126)],_0x9b82ec(0xf5),this[_0x9b82ec(0x126)],_0x9b82ec(0xeb),(_0x20d661,_0x59e608)=>_0x20d661&&!_0x59e608),_0x342f43['on'](_0x9b82ec(0x121),()=>{const _0x27f599=_0x9b82ec;this[_0x27f599(0xfc)](_0x27f599(0x12d),this[_0x27f599(0x126)]['id']);}),_0x342f43;}[_0x1c32d9(0x110)](){const _0x200a40=_0x1c32d9;this[_0x200a40(0x126)][_0x200a40(0x133)]?this[_0x200a40(0xf7)][_0x200a40(0x10f)](this[_0x200a40(0xf0)])||(this[_0x200a40(0xf7)][_0x200a40(0x132)](this[_0x200a40(0xf0)],0x0),this[_0x200a40(0x119)][_0x200a40(0x132)](this[_0x200a40(0xf0)],0x0)):this[_0x200a40(0xf7)][_0x200a40(0x10f)](this[_0x200a40(0xf0)])&&(this[_0x200a40(0xf7)][_0x200a40(0x100)](this[_0x200a40(0xf0)]),this[_0x200a40(0x119)][_0x200a40(0x100)](this[_0x200a40(0xf0)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x28636=_0x235a;(function(_0x5bfd69,_0x151b1f){const _0x180c08=_0x235a,_0x3ebfff=_0x5bfd69();while(!![]){try{const _0x44ce6e=-parseInt(_0x180c08(0x1b8))/0x1+-parseInt(_0x180c08(0x182))/0x2+parseInt(_0x180c08(0x1c4))/0x3*(parseInt(_0x180c08(0x177))/0x4)+-parseInt(_0x180c08(0x1db))/0x5*(-parseInt(_0x180c08(0x1d9))/0x6)+parseInt(_0x180c08(0x1cf))/0x7*(parseInt(_0x180c08(0x1be))/0x8)+parseInt(_0x180c08(0x1df))/0x9+-parseInt(_0x180c08(0x1a9))/0xa*(parseInt(_0x180c08(0x196))/0xb);if(_0x44ce6e===_0x151b1f)break;else _0x3ebfff['push'](_0x3ebfff['shift']());}catch(_0x2cd6fb){_0x3ebfff['push'](_0x3ebfff['shift']());}}}(_0x18c4,0x1e7d5));function _0x235a(_0x89dd50,_0x1bb72a){const _0x18c41b=_0x18c4();return _0x235a=function(_0x235aad,_0x2ebada){_0x235aad=_0x235aad-0x176;let _0x4db868=_0x18c41b[_0x235aad];return _0x4db868;},_0x235a(_0x89dd50,_0x1bb72a);}import{IconRemoveComment as _0x48b3d3,IconPencil as _0x164910,IconThreeVerticalDots as _0x3d8ace}from'ckeditor5/src/icons.js';import{ButtonView as _0x582e0a,createDropdown as _0x5a48ac,ListView as _0x2184ca,ListItemView as _0x215578,focusChildOnDropdownOpen as _0x33d74c}from'ckeditor5/src/ui.js';import{UserView as _0x430263,ConfirmMixin as _0x44abc0,LateFocusDropdownButtonView as _0x3ef585}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x18c4(){const _0x536c64=['1451736eQQBdE','getExternalCommentNote','add','children','ck-annotation__info-time','resolvedAt','cancelConfirm','Show\x20more\x20items','ck-comment__actions--hidden','authoredAt','change:isRemovable','ck-comment__main','group','getUserViewNotificationText','execute','ck-comment','464ynbpEP','_createCommentInputView','set','showConfirm','ck-comment__info','ck-annotation__info-name','listitem','ck-comment__wrapper','author','mouseleave','isReadOnly','87398dUAIKy','_config','length','createCollection','render','isEditMode','mouseenter','ck-comment__actions','some','_attachActions','ck-comment--','isEnabled','_createRemoveButton','ck-comment--remove','withText','bind','addMany','ck-comment--info','focusables','time','42317wUsmzn','ck-annotation__info','extendTemplate','bindTemplate','Reply...','toMany','push','_createEditButton','ariaDescriptionView','element','visibleView','dropdown','panelView','_model','editButton','focus','buttonView','find','isEditable','760tqUslz','span','ck-comment__external','_createDropdown','isRemovable','ck-annotation__actions--hidden','listenTo','div','blur','locale','ck-comment--edit','isExternal','removeButton','label','removeComment','162908iLInKO','edit','remove','ck-comment__user','ck-annotation','then','677656WbEHgy','from','ck-annotation__user','ariaLabel','switchToEditMode','actionBar','1542LQLOnu','Remove','ck-annotation__content-wrapper','name','ck-comment__info-name','ck-annotation__main','formatDateTime','ck-comment__info-time','isVisible','fire','userView','14kbZkkx','unbind','setTemplate','icon','placeholder','actionIndicator','Delete\x20comment?','Edit','ck-annotation__actions','ck-hidden','354lmxScS','isSystemComment','19790kcplRN','getTemplate','panelPosition','items'];_0x18c4=function(){return _0x536c64;};return _0x18c4();}import{BaseCommentView as _0x12730e}from'./basecommentview.js';import{getTranslation as _0x792c13}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x44abc0(_0x12730e){[_0x28636(0x1c3)];[_0x28636(0x1ce)];constructor(_0x5b46cb,_0x2f420f,_0x268a34){const _0x5c4414=_0x28636;super(_0x5b46cb,_0x2f420f,_0x268a34),this[_0x5c4414(0x179)](_0x5c4414(0x1d4),null),this[_0x5c4414(0x179)](_0x5c4414(0x1d3),_0x792c13(_0x5b46cb,_0x5c4414(0x19a))),this[_0x5c4414(0x191)](_0x5c4414(0x1e8))['to'](_0x2f420f),this[_0x5c4414(0x191)](_0x5c4414(0x1e4))['to'](_0x2f420f),this[_0x5c4414(0x1c3)]=this[_0x5c4414(0x185)](),this[_0x5c4414(0x1da)]||(this[_0x5c4414(0x1a4)]=this[_0x5c4414(0x19d)](),this[_0x5c4414(0x1b5)]=this[_0x5c4414(0x18e)](),this[_0x5c4414(0x1de)]=this[_0x5c4414(0x185)](),this[_0x5c4414(0x1de)][_0x5c4414(0x192)]([this[_0x5c4414(0x1a4)],this[_0x5c4414(0x1b5)]]),this[_0x5c4414(0x1a1)]=this[_0x5c4414(0x1ac)](),this[_0x5c4414(0x1c3)][_0x5c4414(0x1e1)](this[_0x5c4414(0x1a1)]),this[_0x5c4414(0x194)][_0x5c4414(0x1e1)](this[_0x5c4414(0x1a1)])),this[_0x5c4414(0x1ce)]=new _0x430263(_0x5b46cb,_0x2f420f[_0x5c4414(0x17f)],this[_0x5c4414(0x1ec)]()),this[_0x5c4414(0x1ce)][_0x5c4414(0x198)]({'attributes':{'class':[_0x5c4414(0x1bb),_0x5c4414(0x1c0)],'aria-hidden':!0x0}}),this[_0x5c4414(0x1af)](_0x2f420f,_0x5c4414(0x1e9),()=>this[_0x5c4414(0x1e5)]()),this[_0x5c4414(0x1d1)](this[_0x5c4414(0x1dc)]());}[_0x28636(0x1dc)](){const _0x1153f9=_0x28636,_0x2ba5e7=this[_0x1153f9(0x199)],_0x12e153=[{'tag':_0x1153f9(0x1b0),'attributes':{'class':[_0x1153f9(0x17b),_0x1153f9(0x197)]},'children':[{'tag':_0x1153f9(0x1aa),'children':[{'text':this[_0x1153f9(0x1ce)][_0x1153f9(0x1c7)]}],'attributes':{'class':[_0x1153f9(0x1c8),_0x1153f9(0x17c)],'data-cke-tooltip-text':this[_0x1153f9(0x1ce)][_0x1153f9(0x1c7)]}},{'tag':_0x1153f9(0x195),'attributes':{'datetime':_0x2ba5e7['to'](_0x1153f9(0x1e8)),'class':[_0x1153f9(0x1cb),_0x1153f9(0x1e3)]},'children':[{'text':_0x2ba5e7['to'](_0x1153f9(0x1e8),_0x2de9c5=>this[_0x1153f9(0x183)][_0x1153f9(0x1ca)](_0x2de9c5))}]}]},{'tag':_0x1153f9(0x1b0),'attributes':{'class':[_0x1153f9(0x189),_0x1153f9(0x1d7),_0x2ba5e7['if'](_0x1153f9(0x187),_0x1153f9(0x1e7)),_0x2ba5e7['if'](_0x1153f9(0x187),_0x1153f9(0x1ae))]},'children':this[_0x1153f9(0x1c3)]},{'tag':_0x1153f9(0x1b0),'attributes':{'class':[_0x1153f9(0x1c6)]},'children':this[_0x1153f9(0x1a0)]},this[_0x1153f9(0x19e)]];return this[_0x1153f9(0x1a3)][_0x1153f9(0x1b4)]&&_0x12e153[_0x1153f9(0x19c)]({'tag':_0x1153f9(0x1b0),'attributes':{'class':[_0x1153f9(0x1ab)]},'children':[{'text':this[_0x1153f9(0x1e0)]()}]}),{'tag':'li','attributes':{'class':[_0x1153f9(0x17e)],'tabindex':-0x1,'aria-label':_0x2ba5e7['to'](_0x1153f9(0x1c1)),'aria-describedby':this[_0x1153f9(0x19e)]['id'],'role':_0x1153f9(0x17d)},'children':[{'tag':_0x1153f9(0x1b0),'attributes':{'class':[_0x1153f9(0x176),_0x1153f9(0x1bc),_0x2ba5e7['if'](_0x1153f9(0x187),_0x1153f9(0x1b3)),_0x2ba5e7['if'](_0x1153f9(0x1da),_0x1153f9(0x193)),_0x2ba5e7['to'](_0x1153f9(0x1d4),_0x8c2493=>_0x8c2493?_0x1153f9(0x18c)+_0x8c2493:'')],'data-author-id':this[_0x1153f9(0x1a3)][_0x1153f9(0x17f)]['id'],'data-comment-id':this[_0x1153f9(0x1a3)]['id'],'role':_0x1153f9(0x1eb)},'children':[this[_0x1153f9(0x1ce)],{'tag':_0x1153f9(0x1b0),'attributes':{'class':[_0x1153f9(0x1ea),_0x1153f9(0x1c9)]},'children':_0x12e153}]}]};}[_0x28636(0x19d)](){const _0x24eecb=_0x28636,_0x2a8a4a=new _0x582e0a(this[_0x24eecb(0x1b2)]);return _0x2a8a4a[_0x24eecb(0x1b6)]=_0x792c13(this[_0x24eecb(0x1b2)],_0x24eecb(0x1d6)),_0x2a8a4a[_0x24eecb(0x1d2)]=_0x164910,_0x2a8a4a[_0x24eecb(0x190)]=!0x0,_0x2a8a4a[_0x24eecb(0x198)]({'attributes':{'class':_0x24eecb(0x1b3)}}),_0x2a8a4a[_0x24eecb(0x191)](_0x24eecb(0x18d))['to'](this[_0x24eecb(0x1a3)],_0x24eecb(0x181),_0x391e43=>!_0x391e43),_0x2a8a4a[_0x24eecb(0x191)](_0x24eecb(0x1cc))['to'](this[_0x24eecb(0x1a3)],_0x24eecb(0x1a8)),_0x2a8a4a['on'](_0x24eecb(0x1ed),()=>this[_0x24eecb(0x1c2)]()),_0x2a8a4a;}[_0x28636(0x18e)](){const _0xf67bfe=_0x28636,_0x10df97=new _0x582e0a(this[_0xf67bfe(0x1b2)]);return _0x10df97[_0xf67bfe(0x1b6)]=_0x792c13(this[_0xf67bfe(0x1b2)],_0xf67bfe(0x1c5)),_0x10df97[_0xf67bfe(0x1d2)]=_0x48b3d3,_0x10df97[_0xf67bfe(0x190)]=!0x0,_0x10df97[_0xf67bfe(0x198)]({'attributes':{'class':_0xf67bfe(0x18f)}}),_0x10df97[_0xf67bfe(0x191)](_0xf67bfe(0x18d))['to'](this[_0xf67bfe(0x1a3)],_0xf67bfe(0x181),_0x1b27ef=>!_0x1b27ef),_0x10df97[_0xf67bfe(0x191)](_0xf67bfe(0x1cc))['to'](this[_0xf67bfe(0x1a3)],_0xf67bfe(0x1ad)),_0x10df97['on'](_0xf67bfe(0x1ed),()=>{const _0xaf48a4=_0xf67bfe;this[_0xaf48a4(0x17a)](_0x792c13(this[_0xaf48a4(0x1b2)],_0xaf48a4(0x1d5)),this[_0xaf48a4(0x19f)])[_0xaf48a4(0x1bd)](()=>{const _0x43d010=_0xaf48a4;this[_0x43d010(0x1cd)](_0x43d010(0x1b7),this[_0x43d010(0x1a3)]['id']);});}),_0x10df97;}[_0x28636(0x1ac)](){const _0x3c873f=_0x28636,_0x447dcd=_0x5a48ac(this[_0x3c873f(0x1b2)],_0x3ef585),_0x471fb4=_0x447dcd[_0x3c873f(0x1a2)][_0x3c873f(0x1e2)],_0x1c3fa8=new _0x2184ca(this[_0x3c873f(0x1b2)]),_0xdb371f=_0x447dcd[_0x3c873f(0x199)];_0x33d74c(_0x447dcd,()=>this[_0x3c873f(0x1de)][_0x3c873f(0x1a7)](_0x3ba732=>_0x3ba732[_0x3c873f(0x1cc)])),_0x447dcd[_0x3c873f(0x198)]({'attributes':{'class':[_0xdb371f['if'](_0x3c873f(0x1cc),_0x3c873f(0x1d8),_0x4769a7=>!_0x4769a7)]}});const _0x30d3ca=(_0x328944,_0x3b076e=-0x1)=>{const _0x46c370=_0x3c873f,_0x148119=new _0x215578(this[_0x46c370(0x1b2)]);_0x148119[_0x46c370(0x1e2)][_0x46c370(0x1e1)](_0x328944);const _0x4e2120=_0x3b076e>-0x1?_0x3b076e:_0x1c3fa8[_0x46c370(0x1de)][_0x46c370(0x184)];_0x1c3fa8[_0x46c370(0x1de)][_0x46c370(0x1e1)](_0x148119,_0x4e2120);const _0x419d3f=Array[_0x46c370(0x1bf)](this[_0x46c370(0x1de)]);_0x447dcd[_0x46c370(0x1d0)](_0x46c370(0x18d),_0x46c370(0x1cc)),_0x447dcd[_0x46c370(0x191)](_0x46c370(0x18d))[_0x46c370(0x19b)](_0x419d3f,_0x46c370(0x18d),(..._0x4120c0)=>_0x4120c0[_0x46c370(0x18a)](_0x1f2148=>_0x1f2148)),_0x447dcd[_0x46c370(0x191)](_0x46c370(0x1cc))[_0x46c370(0x19b)](_0x419d3f,_0x46c370(0x1cc),(..._0x4d900e)=>_0x4d900e[_0x46c370(0x18a)](_0x12a1fe=>_0x12a1fe));};_0x447dcd[_0x3c873f(0x1dd)]='sw',_0x447dcd[_0x3c873f(0x1a6)][_0x3c873f(0x179)]({'label':_0x792c13(this[_0x3c873f(0x1b2)],_0x3c873f(0x1e6)),'icon':_0x3d8ace});for(const _0x53215b of this[_0x3c873f(0x1de)])_0x30d3ca(_0x53215b);return _0x471fb4[_0x3c873f(0x1e1)](_0x1c3fa8),_0x447dcd[_0x3c873f(0x1af)](this[_0x3c873f(0x1de)],_0x3c873f(0x1e1),(_0x5a887b,_0x163621,_0x25fad2)=>{_0x30d3ca(_0x163621,_0x25fad2);}),_0x447dcd[_0x3c873f(0x1af)](this[_0x3c873f(0x1de)],_0x3c873f(0x1ba),(_0x18f851,_0x304a2c,_0x46f3ca)=>{const _0x48e078=_0x3c873f;_0x1c3fa8[_0x48e078(0x1de)][_0x48e078(0x1ba)](_0x46f3ca);}),_0x447dcd;}[_0x28636(0x18b)](_0x479926,_0x2d2a3c){const _0x114c73=_0x28636,_0x50e742=_0x479926&&_0x479926[_0x114c73(0x19f)];_0x50e742&&(this[_0x114c73(0x1af)](_0x50e742,_0x114c73(0x188),()=>this[_0x114c73(0x1d4)]=_0x2d2a3c),this[_0x114c73(0x1af)](_0x50e742,_0x114c73(0x1a5),()=>this[_0x114c73(0x1d4)]=_0x2d2a3c),this[_0x114c73(0x1af)](_0x50e742,_0x114c73(0x180),()=>this[_0x114c73(0x1d4)]=null),this[_0x114c73(0x1af)](_0x50e742,_0x114c73(0x1b1),()=>this[_0x114c73(0x1d4)]=null));}[_0x28636(0x178)](){const _0x607d93=_0x28636,_0x425404=super[_0x607d93(0x178)]();return _0x425404[_0x607d93(0x191)](_0x607d93(0x1d3))['to'](this),_0x425404;}[_0x28636(0x186)](){const _0x159b49=_0x28636;super[_0x159b49(0x186)](),this[_0x159b49(0x18b)](this[_0x159b49(0x1a4)],_0x159b49(0x1b9)),this[_0x159b49(0x18b)](this[_0x159b49(0x1b5)],_0x159b49(0x1ba));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x7c3bfc=_0x58be;function _0x55a7(){var _0x42d115=['Comments','5657520aadxGS','2386422yWegiQ','isPremiumPlugin','7851045qvUbDL','isOfficialPlugin','1756181cwfvEc','requires','32KsNkIA','761845PmIgFe','pluginName','618207twkpoL','2PkaTIQ','12470382yFgCyE'];_0x55a7=function(){return _0x42d115;};return _0x55a7();}(function(_0x54719f,_0x5c7768){var _0x5652cb=_0x58be,_0x139e89=_0x54719f();while(!![]){try{var _0xdb4179=-parseInt(_0x5652cb(0x130))/0x1*(parseInt(_0x5652cb(0x136))/0x2)+parseInt(_0x5652cb(0x135))/0x3+parseInt(_0x5652cb(0x12b))/0x4+parseInt(_0x5652cb(0x12e))/0x5+parseInt(_0x5652cb(0x12c))/0x6+parseInt(_0x5652cb(0x133))/0x7*(parseInt(_0x5652cb(0x132))/0x8)+-parseInt(_0x5652cb(0x129))/0x9;if(_0xdb4179===_0x5c7768)break;else _0x139e89['push'](_0x139e89['shift']());}catch(_0x23bd47){_0x139e89['push'](_0x139e89['shift']());}}}(_0x55a7,0xd7524));import{Plugin as _0x199665}from'ckeditor5/src/core.js';import{CommentsRepository as _0x3b45e4}from'./comments/commentsrepository.js';import{CommentsEditing as _0x400fc0}from'./comments/commentsediting.js';import{CommentsUI as _0x5c4a61}from'./comments/commentsui.js';import{CommentsOnly as _0x222768}from'./commentsonly.js';import{WideSidebar as _0x45a7c2}from'./annotations/widesidebar.js';import{NarrowSidebar as _0xfd5589}from'./annotations/narrowsidebar.js';function _0x58be(_0x5a87a0,_0x14aa74){var _0x55a79f=_0x55a7();return _0x58be=function(_0x58beaa,_0x121ccb){_0x58beaa=_0x58beaa-0x129;var _0x37cb37=_0x55a79f[_0x58beaa];return _0x37cb37;},_0x58be(_0x5a87a0,_0x14aa74);}import{InlineAnnotations as _0x32c482}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x556770}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0xa71fce}from'./comments/commentsarchive.js';export class Comments extends _0x199665{static get[_0x7c3bfc(0x131)](){return[_0x3b45e4,_0x400fc0,_0x5c4a61,_0xa71fce,_0x556770,_0x222768,_0x45a7c2,_0xfd5589,_0x32c482];}static get[_0x7c3bfc(0x134)](){var _0x3ac0e5=_0x7c3bfc;return _0x3ac0e5(0x12a);}static get[_0x7c3bfc(0x12f)](){return!0x0;}static get[_0x7c3bfc(0x12d)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e053d=_0x107e;function _0x107e(_0x18f107,_0x1e5ef5){const _0xd33346=_0xd333();return _0x107e=function(_0x107eca,_0x5c68a9){_0x107eca=_0x107eca-0x16e;let _0x4b27ed=_0xd33346[_0x107eca];return _0x4b27ed;},_0x107e(_0x18f107,_0x1e5ef5);}(function(_0x581b12,_0x1bf989){const _0x11b5ca=_0x107e,_0x5c5788=_0x581b12();while(!![]){try{const _0x4b91ec=parseInt(_0x11b5ca(0x19a))/0x1*(-parseInt(_0x11b5ca(0x19c))/0x2)+-parseInt(_0x11b5ca(0x170))/0x3*(-parseInt(_0x11b5ca(0x188))/0x4)+-parseInt(_0x11b5ca(0x176))/0x5+-parseInt(_0x11b5ca(0x192))/0x6*(-parseInt(_0x11b5ca(0x199))/0x7)+parseInt(_0x11b5ca(0x18e))/0x8*(-parseInt(_0x11b5ca(0x19d))/0x9)+-parseInt(_0x11b5ca(0x197))/0xa+-parseInt(_0x11b5ca(0x18f))/0xb*(-parseInt(_0x11b5ca(0x196))/0xc);if(_0x4b91ec===_0x1bf989)break;else _0x5c5788['push'](_0x5c5788['shift']());}catch(_0x37876c){_0x5c5788['push'](_0x5c5788['shift']());}}}(_0xd333,0xe55e2));import{Plugin as _0x2ca7a9}from'ckeditor5/src/core.js';import{CommentsEditing as _0x8cec8c}from'./comments/commentsediting.js';export class CommentsOnly extends _0x2ca7a9{static get[_0x4e053d(0x185)](){const _0x510f5e=_0x4e053d;return _0x510f5e(0x182);}static get[_0x4e053d(0x187)](){return!0x0;}static get[_0x4e053d(0x183)](){return!0x0;}static get[_0x4e053d(0x190)](){return[_0x8cec8c];}constructor(_0x4fbd84){const _0x78ada2=_0x4e053d;super(_0x4fbd84),this[_0x78ada2(0x18a)](_0x78ada2(0x17a),!0x1),this['on'](_0x78ada2(0x198),(_0x32ffea,_0x270247,_0x3d78a6)=>{const _0x2a8435=_0x78ada2;_0x3d78a6?this[_0x2a8435(0x17d)]():this[_0x2a8435(0x18b)]();});}[_0x4e053d(0x173)](){const _0x3ebe6e=_0x4e053d;!this[_0x3ebe6e(0x17a)]&&this[_0x3ebe6e(0x193)][_0x3ebe6e(0x18d)][_0x3ebe6e(0x184)](_0x3ebe6e(0x195))&&(this[_0x3ebe6e(0x17a)]=!0x0);}[_0x4e053d(0x17d)](){const _0x3eb66f=_0x4e053d;for(const [_0x33e658,_0x2f9d71]of this[_0x3eb66f(0x193)][_0x3eb66f(0x179)])_0x2f9d71[_0x3eb66f(0x17f)]&&_0x3eb66f(0x171)!==_0x33e658&&_0x2f9d71[_0x3eb66f(0x17b)](_0x3eb66f(0x16e));(this[_0x3eb66f(0x193)][_0x3eb66f(0x186)][_0x3eb66f(0x172)](_0x3eb66f(0x17c))&&this[_0x3eb66f(0x193)][_0x3eb66f(0x186)][_0x3eb66f(0x184)](_0x3eb66f(0x17c))[_0x3eb66f(0x17b)](_0x3eb66f(0x16e)),this[_0x3eb66f(0x193)][_0x3eb66f(0x186)][_0x3eb66f(0x172)](_0x3eb66f(0x178)))&&this[_0x3eb66f(0x193)][_0x3eb66f(0x186)][_0x3eb66f(0x184)](_0x3eb66f(0x178))[_0x3eb66f(0x17b)](_0x3eb66f(0x16e));this[_0x3eb66f(0x193)][_0x3eb66f(0x186)][_0x3eb66f(0x172)](_0x3eb66f(0x17e))&&this[_0x3eb66f(0x193)][_0x3eb66f(0x186)][_0x3eb66f(0x184)](_0x3eb66f(0x17e))[_0x3eb66f(0x17b)](_0x3eb66f(0x16e));this[_0x3eb66f(0x193)][_0x3eb66f(0x179)][_0x3eb66f(0x184)](_0x3eb66f(0x19e))?.[_0x3eb66f(0x17b)](_0x3eb66f(0x16e));const _0x17ac3f=this[_0x3eb66f(0x193)][_0x3eb66f(0x177)][_0x3eb66f(0x174)][_0x3eb66f(0x189)];this[_0x3eb66f(0x18c)](_0x17ac3f,_0x3eb66f(0x194),_0x1c660c=>_0x1c660c[_0x3eb66f(0x181)](),{'priority':_0x3eb66f(0x180)}),this[_0x3eb66f(0x18c)](_0x17ac3f,_0x3eb66f(0x19b),_0x377b9d=>_0x377b9d[_0x3eb66f(0x181)](),{'priority':_0x3eb66f(0x180)}),this[_0x3eb66f(0x18c)](_0x17ac3f,_0x3eb66f(0x191),_0x438faf=>_0x438faf[_0x3eb66f(0x181)](),{'priority':_0x3eb66f(0x180)});}[_0x4e053d(0x18b)](){const _0x144543=_0x4e053d;for(const [_0x2c548a,_0x508bb0]of this[_0x144543(0x193)][_0x144543(0x179)])_0x508bb0[_0x144543(0x17f)]&&_0x144543(0x171)!==_0x2c548a&&_0x508bb0[_0x144543(0x16f)](_0x144543(0x16e));this[_0x144543(0x193)][_0x144543(0x186)][_0x144543(0x172)](_0x144543(0x178))&&this[_0x144543(0x193)][_0x144543(0x186)][_0x144543(0x184)](_0x144543(0x178))[_0x144543(0x16f)](_0x144543(0x16e)),this[_0x144543(0x193)][_0x144543(0x186)][_0x144543(0x172)](_0x144543(0x17e))&&this[_0x144543(0x193)][_0x144543(0x186)][_0x144543(0x184)](_0x144543(0x17e))[_0x144543(0x16f)](_0x144543(0x16e)),this[_0x144543(0x193)][_0x144543(0x179)][_0x144543(0x184)](_0x144543(0x19e))?.[_0x144543(0x16f)](_0x144543(0x16e)),this[_0x144543(0x175)](this[_0x144543(0x193)][_0x144543(0x177)][_0x144543(0x174)][_0x144543(0x189)]);}}function _0xd333(){const _0x35945a=['6835703gNNfuE','1274308HKfJaW','clipboardInput','2oiHhfX','54MeqxYC','editSource','commentsOnlyMode','clearForceDisabled','1257iEmeTq','addCommentThread','has','afterInit','view','stopListening','3817135VWDQPG','editing','RevisionTracker','commands','isEnabled','forceDisabled','DragDrop','_enableCommentsOnlyMode','SourceEditing','affectsData','highest','stop','CommentsOnly','isPremiumPlugin','get','pluginName','plugins','isOfficialPlugin','10276clLPaY','document','set','_disableCommentsOnlyMode','listenTo','config','1966056bzMJjc','12875313HItRQF','requires','delete','6lVrgJk','editor','cut','commentsOnly','36BMHGYw','11126220aaDcII','change:isEnabled'];_0xd333=function(){return _0x35945a;};return _0xd333();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3d5f82,_0x14bffd){var _0x39ae2a=_0x452d,_0x19c560=_0x3d5f82();while(!![]){try{var _0x467571=-parseInt(_0x39ae2a(0xf8))/0x1*(-parseInt(_0x39ae2a(0xf2))/0x2)+-parseInt(_0x39ae2a(0xf9))/0x3+-parseInt(_0x39ae2a(0xf3))/0x4+parseInt(_0x39ae2a(0xf5))/0x5+parseInt(_0x39ae2a(0xf7))/0x6+parseInt(_0x39ae2a(0xf4))/0x7+-parseInt(_0x39ae2a(0xf6))/0x8*(parseInt(_0x39ae2a(0xf1))/0x9);if(_0x467571===_0x14bffd)break;else _0x19c560['push'](_0x19c560['shift']());}catch(_0x3faf03){_0x19c560['push'](_0x19c560['shift']());}}}(_0x3abe,0x38625));function _0x452d(_0x40b7cb,_0x245b4c){var _0x3abe7c=_0x3abe();return _0x452d=function(_0x452dd6,_0x13ef6d){_0x452dd6=_0x452dd6-0xf1;var _0x45c421=_0x3abe7c[_0x452dd6];return _0x45c421;},_0x452d(_0x40b7cb,_0x245b4c);}export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';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';function _0x3abe(){var _0x2900c2=['1488916MHWutk','2085972VxTRPE','260hqCDtv','296BjZRdK','791604AsujHR','1HOZLIs','203481ASNZbX','6363aiUWOX','534364NLHEmO'];_0x3abe=function(){return _0x2900c2;};return _0x3abe();}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(_0x50dffd,_0x25d0a8,_0xa451b4){const t=_0x50dffd['t'];switch(_0x25d0a8){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'},_0xa451b4);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'},_0xa451b4);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'},_0xa451b4);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'},_0xa451b4);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0xa451b4);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'},_0xa451b4);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'},_0xa451b4);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'},_0xa451b4);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
|
-
|
|
23
|
+
(function(_0x165f98,_0x46991b){const _0x49b9ba=_0x5809,_0x2117cf=_0x165f98();while(!![]){try{const _0x1bc410=parseInt(_0x49b9ba(0x195))/0x1*(-parseInt(_0x49b9ba(0x19b))/0x2)+-parseInt(_0x49b9ba(0x198))/0x3+-parseInt(_0x49b9ba(0x19d))/0x4*(-parseInt(_0x49b9ba(0x19e))/0x5)+parseInt(_0x49b9ba(0x19a))/0x6*(parseInt(_0x49b9ba(0x196))/0x7)+parseInt(_0x49b9ba(0x18d))/0x8+parseInt(_0x49b9ba(0x194))/0x9+-parseInt(_0x49b9ba(0x199))/0xa;if(_0x1bc410===_0x46991b)break;else _0x2117cf['push'](_0x2117cf['shift']());}catch(_0x3af06e){_0x2117cf['push'](_0x2117cf['shift']());}}}(_0x4354,0xe2a36));function _0x5809(_0x5b0625,_0x4b74c5){const _0x435442=_0x4354();return _0x5809=function(_0x580900,_0x32f26b){_0x580900=_0x580900-0x18d;let _0x49e1cd=_0x435442[_0x580900];return _0x49e1cd;},_0x5809(_0x5b0625,_0x4b74c5);}import{throttle as _0x2355fc}from'es-toolkit/compat';export function createMutationObserver(_0x4c69a4){const _0x3779c3=_0x2355fc(_0x4c69a4,0x1e),_0x316132=new MutationObserver(_0x1d8837=>{const _0x92ecfb=_0x5809;for(const _0x2168de of _0x1d8837)(_0x92ecfb(0x18e)==_0x2168de[_0x92ecfb(0x191)]&&_0x92ecfb(0x192)==_0x2168de[_0x92ecfb(0x18f)]||_0x92ecfb(0x190)==_0x2168de[_0x92ecfb(0x191)]||_0x92ecfb(0x19c)==_0x2168de[_0x92ecfb(0x191)])&&_0x3779c3();});return{'attach'(_0x112e76){const _0x36211b=_0x5809;_0x316132[_0x36211b(0x197)](_0x112e76,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x5f37bf=_0x5809;_0x316132[_0x5f37bf(0x19f)](),_0x3779c3[_0x5f37bf(0x193)]();}};}function _0x4354(){const _0xc781f5=['49AgWBsk','observe','686412TpLbjv','26798810pmOuwq','796362zodNzw','4bfYopT','characterData','544812Qvihzg','40UxCLgp','disconnect','8123336txeDok','attributes','attributeName','childList','type','class','cancel','11552751oerUjh','240387DtiItK'];_0x4354=function(){return _0xc781f5;};return _0x4354();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5237(_0x5f4262,_0x9e2a92){const _0x507374=_0x5073();return _0x5237=function(_0x5237ec,_0x10c6e9){_0x5237ec=_0x5237ec-0x1d9;let _0x338027=_0x507374[_0x5237ec];return _0x338027;},_0x5237(_0x5f4262,_0x9e2a92);}function _0x5073(){const _0x572826=['11716974uwDkGc','split','1281468DsusLG','2HPoQct','1579272Hxgxxd','215859tGnezo','3SRXJsC','3052553aoPYwj','4281730XvCLaN','2034144ADleeQ'];_0x5073=function(){return _0x572826;};return _0x5073();}(function(_0x29a66f,_0x30f1c5){const _0x292e7f=_0x5237,_0x45c0f2=_0x29a66f();while(!![]){try{const _0x269ff0=parseInt(_0x292e7f(0x1e0))/0x1*(parseInt(_0x292e7f(0x1de))/0x2)+parseInt(_0x292e7f(0x1e1))/0x3*(parseInt(_0x292e7f(0x1dd))/0x4)+parseInt(_0x292e7f(0x1d9))/0x5+-parseInt(_0x292e7f(0x1df))/0x6+parseInt(_0x292e7f(0x1e2))/0x7+parseInt(_0x292e7f(0x1da))/0x8+-parseInt(_0x292e7f(0x1db))/0x9;if(_0x269ff0===_0x30f1c5)break;else _0x45c0f2['push'](_0x45c0f2['shift']());}catch(_0x5c2b4d){_0x45c0f2['push'](_0x45c0f2['shift']());}}}(_0x5073,0x7e6bd));export function splitMarkerName(_0x15c78d){const _0x48222d=_0x5237,_0x5dd3d2=_0x15c78d[_0x48222d(0x1dc)](':');return{'group':_0x5dd3d2[0x0],'id':_0x5dd3d2[0x1],'part':_0x5dd3d2[0x2]};}
|