@ckeditor/ckeditor5-comments 47.0.0-alpha.1 → 47.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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 _0x1e1342=_0x5e2b;(function(_0x35ba11,_0x3ce42e){const _0x136400=_0x5e2b,_0x39e532=_0x35ba11();while(!![]){try{const _0x324354=parseInt(_0x136400(0xd9))/0x1+-parseInt(_0x136400(0x8e))/0x2+-parseInt(_0x136400(0xae))/0x3*(-parseInt(_0x136400(0xad))/0x4)+-parseInt(_0x136400(0xd1))/0x5*(-parseInt(_0x136400(0xab))/0x6)+-parseInt(_0x136400(0x7c))/0x7*(parseInt(_0x136400(0xce))/0x8)+-parseInt(_0x136400(0x8c))/0x9*(-parseInt(_0x136400(0xd7))/0xa)+parseInt(_0x136400(0x85))/0xb*(-parseInt(_0x136400(0xd8))/0xc);if(_0x324354===_0x3ce42e)break;else _0x39e532['push'](_0x39e532['shift']());}catch(_0x50379c){_0x39e532['push'](_0x39e532['shift']());}}}(_0x34fb,0xc72cf));import{View as _0x1368d5,FocusCycler as _0x581ab2}from'ckeditor5/src/ui.js';import{diff as _0x4243e1,Collection as _0x3fba5c,FocusTracker as _0x4fabce,KeystrokeHandler as _0x528ed0}from'ckeditor5/src/utils.js';import{getTranslation as _0xd73356}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x4f24f5}from'./collapsedcommentsview.js';export class CommentsListView extends _0x1368d5{[_0x1e1342(0x8b)];[_0x1e1342(0x9a)];[_0x1e1342(0xc7)];[_0x1e1342(0xb9)];[_0x1e1342(0xba)];[_0x1e1342(0xdb)];[_0x1e1342(0x86)];[_0x1e1342(0x84)];constructor(_0x495455,_0x1f55c4,_0x4ec245){const _0x502cbb=_0x1e1342;super(_0x495455);const _0xc35837=this[_0x502cbb(0xb6)];this[_0x502cbb(0xc5)](_0x502cbb(0xb4),!0x1),this[_0x502cbb(0xc5)](_0x502cbb(0x8d),_0x1f55c4[_0x502cbb(0xc6)][_0x502cbb(0x8d)]),this[_0x502cbb(0xc5)](_0x502cbb(0xa3),!0x1),this[_0x502cbb(0xdb)]=_0x1f55c4,this[_0x502cbb(0x86)]=_0x4ec245,this[_0x502cbb(0x8b)]=this[_0x502cbb(0xa8)](),this[_0x502cbb(0x91)]=this[_0x502cbb(0xa8)](),this[_0x502cbb(0x9a)]=null,this[_0x502cbb(0xc7)]=new _0x4fabce(),this[_0x502cbb(0xb9)]=new _0x528ed0(),this[_0x502cbb(0xba)]=new _0x581ab2({'focusables':this[_0x502cbb(0x8b)],'focusTracker':this[_0x502cbb(0xc7)],'keystrokeHandler':this[_0x502cbb(0xb9)],'keystrokeHandlerOptions':{'filter':_0x35cb50=>this[_0x502cbb(0x8b)][_0x502cbb(0x7e)](_0x31fc16=>_0x31fc16[_0x502cbb(0x8a)])[_0x502cbb(0xbd)](_0x35cb50[_0x502cbb(0x9f)])},'actions':{'focusPrevious':_0x502cbb(0x7d),'focusNext':_0x502cbb(0x92)}}),this[_0x502cbb(0x84)]=new _0x4f24f5(_0x495455),this[_0x502cbb(0x84)][_0x502cbb(0x87)](_0x502cbb(0xb8))['to'](this,_0x502cbb(0x8d),_0x4d3ad1=>_0x4d3ad1-this[_0x502cbb(0x86)][_0x502cbb(0xbc)]);for(const _0x38d288 of _0x1f55c4[_0x502cbb(0xc6)])this[_0x502cbb(0xbb)](_0x38d288);this[_0x502cbb(0xd2)](),this[_0x502cbb(0xbf)](_0x1f55c4[_0x502cbb(0xc6)],_0x502cbb(0x98),(_0x19ba39,_0x13e813)=>{const _0x54c2aa=_0x502cbb,_0x2efbb2=this[_0x54c2aa(0xd4)](_0x13e813);this[_0x54c2aa(0x8d)]++,this[_0x54c2aa(0xbb)](_0x13e813,_0x2efbb2),this[_0x54c2aa(0xbe)]();}),this[_0x502cbb(0xbf)](_0x1f55c4[_0x502cbb(0xc6)],_0x502cbb(0xca),(_0x3a1151,_0x25d5e2)=>{const _0x4d8d7d=_0x502cbb;this[_0x4d8d7d(0x8d)]--,this[_0x4d8d7d(0x7b)](_0x25d5e2),this[_0x4d8d7d(0xbe)]();}),this[_0x502cbb(0xbf)](_0x1f55c4,_0x502cbb(0xd5),()=>this[_0x502cbb(0xbe)]()),this[_0x502cbb(0xbf)](_0x1f55c4,_0x502cbb(0xcb),()=>this[_0x502cbb(0xd2)]()),this['on'](_0x502cbb(0xb7),()=>this[_0x502cbb(0xbe)]()),this['on'](_0x502cbb(0x9b),()=>this[_0x502cbb(0xbe)]()),this[_0x502cbb(0x8f)]({'tag':'ul','attributes':{'class':[_0x502cbb(0xb1),_0xc35837['if'](_0x502cbb(0x8d),_0x502cbb(0xc9),_0x235999=>!_0x235999)],'aria-label':_0xd73356(_0x495455,_0x502cbb(0xb5))},'children':this[_0x502cbb(0x91)]});}get[_0x1e1342(0x90)](){const _0x3298ba=_0x1e1342;return this[_0x3298ba(0xdb)][_0x3298ba(0x95)]>this[_0x3298ba(0x86)][_0x3298ba(0xda)]&&!this[_0x3298ba(0xa3)]&&!this[_0x3298ba(0xb4)];}[_0x1e1342(0xcf)](){const _0x4d2b75=_0x1e1342;super[_0x4d2b75(0xcf)](),this[_0x4d2b75(0xbe)](),this[_0x4d2b75(0xa7)]();}[_0x1e1342(0x9c)](_0x3364e7){const _0x1c9806=_0x1e1342;-0x1===_0x3364e7?this[_0x1c9806(0xba)][_0x1c9806(0x89)]():this[_0x1c9806(0xba)][_0x1c9806(0xa1)]();}[_0x1e1342(0x9e)](){const _0x1cc85e=_0x1e1342;this[_0x1cc85e(0x84)][_0x1cc85e(0x9e)]();for(const _0xb38576 of this[_0x1cc85e(0x8b)])_0xb38576[_0x1cc85e(0x9e)]();super[_0x1cc85e(0x9e)]();}[_0x1e1342(0xbe)](){const _0x236cdd=_0x1e1342;this[_0x236cdd(0x90)]?this[_0x236cdd(0xa9)]():this[_0x236cdd(0xac)]();}[_0x1e1342(0xbb)](_0x2a2ca6,_0x1f45b8){const _0x41c40f=_0x1e1342,_0x2ea85f=new this[(_0x41c40f(0x86))][(_0x41c40f(0xcc))](this[_0x41c40f(0xa5)],_0x2a2ca6,{'maxCommentCharsWhenCollapsed':this[_0x41c40f(0x86)][_0x41c40f(0xcd)],'formatDateTime':this[_0x41c40f(0x86)][_0x41c40f(0x96)],'editorConfig':this[_0x41c40f(0x86)][_0x41c40f(0x88)]});_0x2ea85f[_0x41c40f(0x7a)]=_0x2a2ca6['id'],_0x2ea85f[_0x41c40f(0x93)](_0x41c40f(0xd0))['to'](this),_0x2ea85f[_0x41c40f(0x93)](_0x41c40f(0xc1))['to'](this),_0x2ea85f[_0x41c40f(0x93)](_0x41c40f(0xaa))['to'](this),_0x2ea85f[_0x41c40f(0x93)](_0x41c40f(0xc0))['to'](this),_0x2ea85f[_0x41c40f(0x93)](_0x41c40f(0xa6))['to'](this),this[_0x41c40f(0xbf)](_0x2ea85f,_0x41c40f(0x82),()=>this[_0x41c40f(0x81)]()),this[_0x41c40f(0x8b)][_0x41c40f(0x98)](_0x2ea85f,_0x1f45b8);}[_0x1e1342(0xd4)](_0xa481c1){const _0x4b25c7=_0x1e1342,_0x34ab4d=this[_0x4b25c7(0xdb)][_0x4b25c7(0x99)](_0xa481c1);return this[_0x4b25c7(0x9a)]?this[_0x4b25c7(0x9a)][_0x4b25c7(0xb0)]>_0xa481c1[_0x4b25c7(0xb0)]?_0x34ab4d-0x1:_0x34ab4d:_0x34ab4d-0x1;}[_0x1e1342(0xd2)](){const _0x58d982=_0x1e1342;if(this[_0x58d982(0xdb)][_0x58d982(0xa4)]&&this[_0x58d982(0xdb)][_0x58d982(0xc3)]){const _0x3fdb2d={'id':_0x58d982(0x80),'author':this[_0x58d982(0xdb)][_0x58d982(0xa4)],'authoredAt':this[_0x58d982(0xdb)][_0x58d982(0xc3)],'content':_0xd73356(this[_0x58d982(0xa5)],_0x58d982(0x7f)),'attributes':{}};this[_0x58d982(0x9a)]=new this[(_0x58d982(0x86))][(_0x58d982(0xcc))](this[_0x58d982(0xa5)],_0x3fdb2d,{'maxCommentCharsWhenCollapsed':this[_0x58d982(0x86)][_0x58d982(0xcd)],'formatDateTime':this[_0x58d982(0x86)][_0x58d982(0x96)],'editorConfig':this[_0x58d982(0x86)][_0x58d982(0x88)],'isSystemComment':!0x0}),this[_0x58d982(0x8b)][_0x58d982(0x98)](this[_0x58d982(0x9a)],this[_0x58d982(0xdb)][_0x58d982(0x99)](_0x3fdb2d));}else this[_0x58d982(0x9a)]&&(this[_0x58d982(0x8b)][_0x58d982(0xca)](this[_0x58d982(0x9a)]),this[_0x58d982(0x9a)][_0x58d982(0x9e)](),this[_0x58d982(0x9a)]=null);this[_0x58d982(0xbe)]();}[_0x1e1342(0x7b)](_0x1920aa){const _0x21f0ea=_0x1e1342,_0xbe0ddc=this[_0x21f0ea(0x8b)][_0x21f0ea(0xca)](_0x1920aa['id']);this[_0x21f0ea(0xd3)](_0xbe0ddc),_0xbe0ddc[_0x21f0ea(0x97)]&&this[_0x21f0ea(0x81)](),_0xbe0ddc[_0x21f0ea(0x9e)]();}[_0x1e1342(0x81)](){const _0x38e26c=_0x1e1342;this[_0x38e26c(0xb4)]=Array[_0x38e26c(0x94)](this[_0x38e26c(0x8b)])[_0x38e26c(0xaf)](_0xac9a53=>_0xac9a53[_0x38e26c(0x97)]);}[_0x1e1342(0xa9)](){const _0x1130d3=_0x1e1342,_0x51523a=function(_0x233b11){const _0x34c0f6=_0x5e2b,_0x400b96=new _0x3fba5c();for(const _0x160bc5 of _0x233b11)_0x400b96[_0x34c0f6(0x98)](_0x160bc5);return _0x400b96;}(this[_0x1130d3(0x8b)]),_0x473182=this[_0x1130d3(0x84)][_0x1130d3(0xb8)];for(let _0x36e0de=0x1;_0x36e0de<=_0x473182;_0x36e0de++)_0x51523a[_0x1130d3(0xca)](0x1);for(const _0x43f047 of _0x51523a)_0x43f047[_0x1130d3(0xd6)]();_0x473182>0x0&&_0x51523a[_0x1130d3(0x98)](this[_0x1130d3(0x84)],0x1),ns(_0x4243e1(Array[_0x1130d3(0x94)](this[_0x1130d3(0x91)]),Array[_0x1130d3(0x94)](_0x51523a)),this[_0x1130d3(0x91)],_0x51523a);}[_0x1e1342(0xac)](){const _0x2cd04d=_0x1e1342;ns(_0x4243e1(Array[_0x2cd04d(0x94)](this[_0x2cd04d(0x91)]),Array[_0x2cd04d(0x94)](this[_0x2cd04d(0x8b)])),this[_0x2cd04d(0x91)],this[_0x2cd04d(0x8b)]);for(const _0xacd7fb of this[_0x2cd04d(0x91)])_0xacd7fb[_0x2cd04d(0xa0)]();}[_0x1e1342(0xa7)](){const _0x160257=_0x1e1342;this[_0x160257(0x8b)][_0x160257(0x9d)](_0x274c1b=>{const _0x295487=_0x160257;this[_0x295487(0xc7)][_0x295487(0x98)](_0x274c1b[_0x295487(0x8a)]),this[_0x295487(0xb9)][_0x295487(0xbf)](_0x274c1b[_0x295487(0x8a)]);}),this[_0x160257(0x8b)]['on'](_0x160257(0xb2),(_0x57a650,_0x3f5372)=>{const _0x1e5624=_0x160257;for(const _0x18ad36 of _0x3f5372[_0x1e5624(0x83)])this[_0x1e5624(0xc7)][_0x1e5624(0xca)](_0x18ad36[_0x1e5624(0x8a)]),this[_0x1e5624(0xb9)][_0x1e5624(0xd3)](_0x18ad36[_0x1e5624(0x8a)]);for(const _0x350c42 of Array[_0x1e5624(0x94)](_0x3f5372[_0x1e5624(0xa2)])[_0x1e5624(0xc8)]())this[_0x1e5624(0xc7)][_0x1e5624(0x98)](_0x350c42[_0x1e5624(0x8a)]),this[_0x1e5624(0xb9)][_0x1e5624(0xbf)](_0x350c42[_0x1e5624(0x8a)]);});}}function _0x5e2b(_0x4b864b,_0x4aa3dd){const _0x34fbc0=_0x34fb();return _0x5e2b=function(_0x5e2b99,_0x12be77){_0x5e2b99=_0x5e2b99-0x7a;let _0x2a666a=_0x34fbc0[_0x5e2b99];return _0x2a666a;},_0x5e2b(_0x4b864b,_0x4aa3dd);}function ns(_0x296649,_0x55b5ab,_0x18133f){const _0x17824b=_0x1e1342;let _0x491a6c=0x0;for(const _0x4753b8 of _0x296649)switch(_0x4753b8){case _0x17824b(0xb3):_0x55b5ab[_0x17824b(0x98)](_0x18133f[_0x17824b(0xc4)](_0x491a6c),_0x491a6c),_0x491a6c++;break;case _0x17824b(0xc2):_0x55b5ab[_0x17824b(0xca)](_0x491a6c);break;case _0x17824b(0xdc):_0x491a6c++;}}function _0x34fb(){const _0x3be205=['change:isActive','count','keystrokes','focusCycler','_handleNewCommentModel','maxCommentsWhenCollapsed','includes','refreshVisibleViews','listenTo','editorReady','updateComment','delete','resolvedAt','get','set','comments','focusTracker','reverse','ck-hidden','remove','change:isResolved','CommentView','maxCommentCharsWhenCollapsed','104YSfOrT','render','removeComment','18885TMfzYn','_handleInfoComment','stopListening','_calculatePosition','commentUpdated','collapse','12093890YbsPLt','12dhOTiF','872473gyszrx','maxThreadTotalWeight','_model','equal','viewUid','_handleRemoveCommentModel','734909wXiaHp','arrowup','map','Marked\x20as\x20resolved','resolved','_updateHasDirtyComment','change:isEditMode','removed','_collapsedCommentsView','23251173fhwNFV','_config','bind','editorConfig','focusLast','element','commentViews','9AVIyTk','length','986158axlTWj','setTemplate','_shouldCollapse','visibleViews','arrowdown','delegate','from','weight','formatDateTime','isEditMode','add','_findOptimalIndex','resolvedCommentView','change:hasDirtyComment','focus','forEach','destroy','target','expand','focusFirst','added','isActive','resolvedBy','locale','editorDestroyed','_setupKeyboardNavigation','createCollection','_rearrangeCollapse','resolveCommentThread','2370UxkHOf','_rearrangeExpand','4854796rYBsdr','3zeghlw','some','authoredAt','ck-thread__comments','change','insert','hasDirtyComment','Thread\x20comments','bindTemplate'];_0x34fb=function(){return _0x3be205;};return _0x34fb();}
|
|
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++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x370df8=_0x4da1;function _0x4da1(_0x4d7a01,_0x684907){const _0x556df9=_0x556d();return _0x4da1=function(_0x4da1f8,_0x6601d3){_0x4da1f8=_0x4da1f8-0x7f;let _0x201ad4=_0x556df9[_0x4da1f8];return _0x201ad4;},_0x4da1(_0x4d7a01,_0x684907);}(function(_0x2dc04b,_0x3f5945){const _0x5dc59c=_0x4da1,_0x164ace=_0x2dc04b();while(!![]){try{const _0x38b415=parseInt(_0x5dc59c(0x8b))/0x1+parseInt(_0x5dc59c(0x84))/0x2+parseInt(_0x5dc59c(0x88))/0x3+parseInt(_0x5dc59c(0x80))/0x4+parseInt(_0x5dc59c(0x87))/0x5*(-parseInt(_0x5dc59c(0x8f))/0x6)+parseInt(_0x5dc59c(0x8a))/0x7+parseInt(_0x5dc59c(0x8d))/0x8*(-parseInt(_0x5dc59c(0x8c))/0x9);if(_0x38b415===_0x3f5945)break;else _0x164ace['push'](_0x164ace['shift']());}catch(_0x45e789){_0x164ace['push'](_0x164ace['shift']());}}}(_0x556d,0x461eb));import{View as _0x27b5ce}from'ckeditor5/src/ui.js';import{getTranslation as _0x3f8da4}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x27b5ce{constructor(_0x269d23){const _0x2ebea0=_0x4da1;super(_0x269d23);const _0x25ab49=this[_0x2ebea0(0x8e)];this[_0x2ebea0(0x82)](_0x2ebea0(0x86),''),this[_0x2ebea0(0x81)]({'tag':_0x2ebea0(0x90),'attributes':{'class':['ck',_0x2ebea0(0x85)],'aria-label':_0x25ab49['to'](_0x2ebea0(0x86),_0x2d0bfb=>_0x3f8da4(_0x269d23,_0x2ebea0(0x89),_0x2d0bfb)),'tabindex':-0x1},'children':[{'text':_0x25ab49['to'](_0x2ebea0(0x86))}]});}[_0x370df8(0x83)](){const _0xa00fc3=_0x370df8;this[_0xa00fc3(0x7f)][_0xa00fc3(0x83)]();}}function _0x556d(){const _0x23a806=['THREAD_CONTEXT_LABEL','685818xAyUZD','181712fDKyvs','585XXxwiW','26168oBiHBx','bindTemplate','168GHBdcu','span','element','407424qlxuHX','setTemplate','set','focus','689838SVOUNL','ck-context__value','contextValue','89795SjDDBI','828651lBtbHv'];_0x556d=function(){return _0x23a806;};return _0x556d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15f750=_0x3052;(function(_0x386215,_0xa2b2ef){const _0x228d73=_0x3052,_0xa02371=_0x386215();while(!![]){try{const _0x189153=-parseInt(_0x228d73(0x122))/0x1*(parseInt(_0x228d73(0x116))/0x2)+parseInt(_0x228d73(0xfb))/0x3+-parseInt(_0x228d73(0xed))/0x4*(-parseInt(_0x228d73(0xe2))/0x5)+parseInt(_0x228d73(0xf3))/0x6+parseInt(_0x228d73(0x110))/0x7*(parseInt(_0x228d73(0x10a))/0x8)+parseInt(_0x228d73(0xfe))/0x9*(-parseInt(_0x228d73(0x100))/0xa)+-parseInt(_0x228d73(0x128))/0xb;if(_0x189153===_0xa2b2ef)break;else _0xa02371['push'](_0xa02371['shift']());}catch(_0x1d5b07){_0xa02371['push'](_0xa02371['shift']());}}}(_0x27e5,0xea285));import{View as _0x270880,ButtonView as _0x63aefa,FocusCycler as _0x8bb6b6}from'ckeditor5/src/ui.js';function _0x27e5(){const _0x2ff202=['ck-context-wrapper','hasContext','_trimContextValue','createCollection','isReadOnly','8zQhvtD','_setupKeyboardNavigation','element','_model','scrollWidth','Reopen','11677393ppASzj','setTemplate','.ck-context__value','fire','focusFirst','ck-annotation__actions','2KwkUtG','querySelector','context','bindTemplate','listenTo','locale','Comment\x20was\x20made\x20on\x20an\x20element','.ck-context','isVisible','mouseenter','bind','add','1228372ewMmCx','div','shift+tab','focusables','label','isEnabled','26892382kTiYxW','isResolved','ck-thread__header','1323235DysZLN','reopenCommentThread','isResolvable','lastIndexOf','offsetWidth','mouseleave','_attachContextActions','icon','ck-context','substring','contextValue','28TzBBCR','focus','tab','classList','remove','execute','4821048HlgvST','overlay','_createReopenButton','length','ck-context--quotes','focusTracker','reopenButtonView','tooltip','1708242VTizWa','contextView','...','9xhfqYl','focusCycler','2614070clKPoh','value','render','keystrokes','_createContextView'];_0x27e5=function(){return _0x2ff202;};return _0x27e5();}import{FocusTracker as _0x33c7ae,KeystrokeHandler as _0x21fa30}from'ckeditor5/src/utils.js';import{IconUndo as _0x6e7cc5}from'ckeditor5/src/icons.js';function _0x3052(_0x139204,_0x42e64c){const _0x27e59e=_0x27e5();return _0x3052=function(_0x305231,_0xbb8e97){_0x305231=_0x305231-0xe0;let _0x4da355=_0x27e59e[_0x305231];return _0x4da355;},_0x3052(_0x139204,_0x42e64c);}import{getTranslation as _0x116d63}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x1da4d2}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x270880{[_0x15f750(0x10d)];[_0x15f750(0xf9)];[_0x15f750(0xfc)];[_0x15f750(0x125)];[_0x15f750(0xf8)];[_0x15f750(0x103)];[_0x15f750(0xff)];constructor(_0x27bc30,_0x34beae){const _0x5bd7d9=_0x15f750;super(_0x27bc30);const _0x2fffef=this[_0x5bd7d9(0x119)];this[_0x5bd7d9(0x10d)]=_0x34beae,this[_0x5bd7d9(0xf9)]=this[_0x5bd7d9(0xf5)](),this[_0x5bd7d9(0xfc)]=this[_0x5bd7d9(0x104)](),this[_0x5bd7d9(0x125)]=this[_0x5bd7d9(0x108)]([this[_0x5bd7d9(0xfc)],this[_0x5bd7d9(0xf9)]]),this[_0x5bd7d9(0xf8)]=new _0x33c7ae(),this[_0x5bd7d9(0x103)]=new _0x21fa30(),this[_0x5bd7d9(0xff)]=new _0x8bb6b6({'focusables':this[_0x5bd7d9(0x125)],'focusTracker':this[_0x5bd7d9(0xf8)],'keystrokeHandler':this[_0x5bd7d9(0x103)],'actions':{'focusPrevious':_0x5bd7d9(0x124),'focusNext':_0x5bd7d9(0xef)}}),this[_0x5bd7d9(0x120)](_0x5bd7d9(0x106))['to'](this[_0x5bd7d9(0x10d)],_0x5bd7d9(0x118),_0x19318c=>!!_0x19318c),this[_0x5bd7d9(0x120)](_0x5bd7d9(0xec))['to'](this[_0x5bd7d9(0x10d)],_0x5bd7d9(0x118),_0x13da65=>_0x13da65&&_0x13da65[_0x5bd7d9(0x101)]?this[_0x5bd7d9(0x107)](_0x13da65[_0x5bd7d9(0x101)]):_0x116d63(this[_0x5bd7d9(0x11b)],_0x5bd7d9(0x11c))),this[_0x5bd7d9(0x111)]({'tag':_0x5bd7d9(0x123),'attributes':{'class':[_0x5bd7d9(0xe1)]},'children':[{'tag':_0x5bd7d9(0x123),'attributes':{'class':[_0x5bd7d9(0x105)]},'children':[{'tag':_0x5bd7d9(0x123),'attributes':{'class':[_0x5bd7d9(0xea),_0x2fffef['if'](_0x5bd7d9(0x106),_0x5bd7d9(0xf7))]},'children':[this[_0x5bd7d9(0xfc)]]}]},{'tag':_0x5bd7d9(0x123),'attributes':{'class':[_0x5bd7d9(0x115)]},'children':[this[_0x5bd7d9(0xf9)]]}]});}[_0x15f750(0x102)](){const _0x31c411=_0x15f750;super[_0x31c411(0x102)](),this[_0x31c411(0xe8)](),this[_0x31c411(0x10b)]();}[_0x15f750(0xee)](){const _0x487c37=_0x15f750;this[_0x487c37(0xff)][_0x487c37(0x114)]();}[_0x15f750(0xf5)](){const _0x49e888=_0x15f750,_0x5151bb=new _0x63aefa(this[_0x49e888(0x11b)]);return _0x5151bb[_0x49e888(0x126)]=_0x116d63(this[_0x49e888(0x11b)],_0x49e888(0x10f)),_0x5151bb[_0x49e888(0xfa)]=_0x116d63(this[_0x49e888(0x11b)],_0x49e888(0x10f)),_0x5151bb[_0x49e888(0xe9)]=_0x6e7cc5,_0x5151bb[_0x49e888(0x120)](_0x49e888(0x127))['to'](this[_0x49e888(0x10d)],_0x49e888(0x109),_0x40dc78=>!_0x40dc78),_0x5151bb[_0x49e888(0x120)](_0x49e888(0x11e))['to'](this[_0x49e888(0x10d)],_0x49e888(0xe4),this[_0x49e888(0x10d)],_0x49e888(0xe0),(_0x32d4a4,_0x431486)=>_0x32d4a4&&_0x431486),_0x5151bb['on'](_0x49e888(0xf2),()=>{const _0x37113b=_0x49e888;this[_0x37113b(0x113)](_0x37113b(0xe3),this[_0x37113b(0x10d)]['id']);}),_0x5151bb;}[_0x15f750(0x107)](_0x3106c0){const _0xfa35c=_0x15f750;if(_0x3106c0[_0xfa35c(0xf6)]<0x96)return _0x3106c0;const _0x3dd581=_0x3106c0[_0xfa35c(0xe5)]('\x20',0x93);return _0x3106c0[_0xfa35c(0xeb)](0x0,_0x3dd581>-0x1?_0x3dd581:0x93)+_0xfa35c(0xfd);}[_0x15f750(0xe8)](){const _0x30be58=_0x15f750,_0x495740=this[_0x30be58(0x10c)][_0x30be58(0x117)](_0x30be58(0x11d)),_0x147735=_0x495740[_0x30be58(0x117)](_0x30be58(0x112));this[_0x30be58(0x11a)](_0x495740,_0x30be58(0x11f),()=>{const _0x8db7f9=_0x30be58;_0x147735[_0x8db7f9(0xe6)]<_0x147735[_0x8db7f9(0x10e)]&&_0x495740[_0x8db7f9(0xf0)][_0x8db7f9(0x121)](_0x8db7f9(0xf4));}),this[_0x30be58(0x11a)](_0x495740,_0x30be58(0xe7),()=>{const _0x5b0480=_0x30be58;_0x495740[_0x5b0480(0xf0)][_0x5b0480(0xf1)](_0x5b0480(0xf4));});}[_0x15f750(0x10b)](){const _0x1afd32=_0x15f750;this[_0x1afd32(0x103)][_0x1afd32(0x11a)](this[_0x1afd32(0x10c)]);for(const _0x3f0374 of this[_0x1afd32(0x125)])this[_0x1afd32(0xf8)][_0x1afd32(0x121)](_0x3f0374[_0x1afd32(0x10c)]),this[_0x1afd32(0x103)][_0x1afd32(0x11a)](_0x3f0374[_0x1afd32(0x10c)]);}[_0x15f750(0x104)](){const _0x54acae=_0x15f750,_0x495ebf=new _0x1da4d2(this[_0x54acae(0x11b)]);return _0x495ebf[_0x54acae(0x120)](_0x54acae(0xec))['to'](this),_0x495ebf;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x493388=_0xc9b0;(function(_0x13b98a,_0x4da65d){const _0xa5a896=_0xc9b0,_0x1a8abe=_0x13b98a();while(!![]){try{const _0x5a0f19=-parseInt(_0xa5a896(0x98))/0x1+-parseInt(_0xa5a896(0xc0))/0x2*(-parseInt(_0xa5a896(0x9b))/0x3)+parseInt(_0xa5a896(0xba))/0x4*(-parseInt(_0xa5a896(0x9e))/0x5)+-parseInt(_0xa5a896(0xbb))/0x6+parseInt(_0xa5a896(0xa1))/0x7*(-parseInt(_0xa5a896(0xb2))/0x8)+-parseInt(_0xa5a896(0xaf))/0x9+parseInt(_0xa5a896(0xac))/0xa*(parseInt(_0xa5a896(0x97))/0xb);if(_0x5a0f19===_0x4da65d)break;else _0x1a8abe['push'](_0x1a8abe['shift']());}catch(_0x405b37){_0x1a8abe['push'](_0x1a8abe['shift']());}}}(_0x17a8,0x9dacf));function _0x17a8(){const _0x2c7eb0=['bindTemplate','some','80cTQMlO','commentInputView','change:showInput','destroy','isFocused','editing','render','ck-thread__user','284YGFlIx','4009692uwSVqb','_focusOnNonInteractiveMouseDown','focus','div','setTemplate','85898vpESAJ','ck-thread__input','filter','getDomRoot','value','ck-comment__input-container','listenTo','target','delegate','editor','1399277TPQgcD','1242771JPvyGU','mousedown','userView','57ZJnifk','element','showButtons','86785GYrNUu','view','set','496916erNINA','ck-comment__input-container--active','createEditor','focusTracker','then','bind','focusCycler','preventDefault','extendTemplate','showInput','editorReady','350RcJnqU','editorDestroyed','contains','6922413OjoOyJ'];_0x17a8=function(){return _0x2c7eb0;};return _0x17a8();}import{View as _0x14a0db}from'ckeditor5/src/ui.js';function _0xc9b0(_0x3cefbc,_0x17f505){const _0x17a82f=_0x17a8();return _0xc9b0=function(_0xc9b07c,_0x416019){_0xc9b07c=_0xc9b07c-0x96;let _0xeb34c5=_0x17a82f[_0xc9b07c];return _0xeb34c5;},_0xc9b0(_0x3cefbc,_0x17f505);}import{CommentInputView as _0x2a57e4}from'./commentinputview.js';import{UserView as _0x3bbf10}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x14a0db{constructor(_0x97c8bb,_0x805373,_0x5e1140){const _0x30affb=_0xc9b0;super(_0x97c8bb),this[_0x30affb(0xb3)]=new _0x2a57e4(_0x97c8bb,_0x5e1140),this[_0x30affb(0xa7)]=this[_0x30affb(0xb3)][_0x30affb(0xa7)],this[_0x30affb(0xb3)][_0x30affb(0xa6)](_0x30affb(0x9d))['to'](this[_0x30affb(0xb3)][_0x30affb(0xa4)],_0x30affb(0xb6),this[_0x30affb(0xb3)],_0x30affb(0xc4),(_0x20afe6,_0x20d8f3)=>_0x20afe6||!!_0x20d8f3),this[_0x30affb(0xa0)](_0x30affb(0xaa),!0x1),this['on'](_0x30affb(0xb4),()=>{const _0x3a3251=_0x30affb;this[_0x3a3251(0xaa)]&&!this[_0x3a3251(0xb3)][_0x3a3251(0x96)]&&this[_0x3a3251(0xb3)][_0x3a3251(0xa3)]();}),this[_0x30affb(0xb3)][_0x30affb(0xc8)](_0x30affb(0xab))['to'](this),this[_0x30affb(0xb3)][_0x30affb(0xc8)](_0x30affb(0xad))['to'](this),this[_0x30affb(0x9a)]=new _0x3bbf10(_0x97c8bb,_0x805373),this[_0x30affb(0x9a)][_0x30affb(0xa9)]({'attributes':{'class':_0x30affb(0xb9),'aria-hidden':!0x0}}),this[_0x30affb(0xb3)][_0x30affb(0xa9)]({'attributes':{'class':_0x30affb(0xc1)}}),this[_0x30affb(0xbf)]({'tag':_0x30affb(0xbe),'attributes':{'class':[_0x30affb(0xc5),this[_0x30affb(0xb0)]['if'](_0x30affb(0xaa),_0x30affb(0xa2))]},'children':[this[_0x30affb(0x9a)],this[_0x30affb(0xb3)]]});}[_0x493388(0xb8)](){const _0x4b1fbf=_0x493388;super[_0x4b1fbf(0xb8)](),this[_0x4b1fbf(0xbc)]();}[_0x493388(0xb5)](){const _0x251578=_0x493388;return this[_0x251578(0xb3)][_0x251578(0xb5)]()[_0x251578(0xa5)](()=>super[_0x251578(0xb5)]());}[_0x493388(0xbd)](_0xf0079c){const _0x551331=_0x493388;this[_0x551331(0xb3)][_0x551331(0xbd)](_0xf0079c);}[_0x493388(0xbc)](){const _0x3d342f=_0x493388;this[_0x3d342f(0xc6)](this[_0x3d342f(0x9c)],_0x3d342f(0x99),(_0x493eb4,_0x1b0163)=>{const _0x129e4e=_0x3d342f,{submitButtonView:_0x2b4a98,cancelButtonView:_0x4abd48,editor:_0x5e3cb7}=this[_0x129e4e(0xb3)];[_0x2b4a98[_0x129e4e(0x9c)],_0x4abd48[_0x129e4e(0x9c)],_0x5e3cb7?_0x5e3cb7[_0x129e4e(0xb7)][_0x129e4e(0x9f)][_0x129e4e(0xc3)]():null][_0x129e4e(0xc2)](_0x1a8e36=>_0x1a8e36)[_0x129e4e(0xb1)](_0x4e1a83=>_0x4e1a83[_0x129e4e(0xae)](_0x1b0163[_0x129e4e(0xc7)]))||(this[_0x129e4e(0xbd)](),_0x1b0163[_0x129e4e(0xa8)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x555626=_0x305a;(function(_0x22eec8,_0x24cb22){const _0x5799fc=_0x305a,_0x22aa6c=_0x22eec8();while(!![]){try{const _0x30f60f=-parseInt(_0x5799fc(0xfa))/0x1+-parseInt(_0x5799fc(0xf9))/0x2*(parseInt(_0x5799fc(0xe7))/0x3)+-parseInt(_0x5799fc(0xb9))/0x4*(-parseInt(_0x5799fc(0xd4))/0x5)+parseInt(_0x5799fc(0xac))/0x6*(-parseInt(_0x5799fc(0xcb))/0x7)+-parseInt(_0x5799fc(0xf4))/0x8+-parseInt(_0x5799fc(0xb6))/0x9+parseInt(_0x5799fc(0xb4))/0xa;if(_0x30f60f===_0x24cb22)break;else _0x22aa6c['push'](_0x22aa6c['shift']());}catch(_0x14d0ed){_0x22aa6c['push'](_0x22aa6c['shift']());}}}(_0x3681,0x1f50b));import{ConfirmMixin as _0x5afab9,LateFocusButtonView as _0x1563f8}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3681(){const _0xb6ff2=['isReadOnly','focus','isActive','commentViews','change:isReadOnly','isEnabled','ck-comment--resolve','ariaDescriptionView','locale','2618HWpPWu','removeButton','execute','unbind','removeConfirm','length','Resolve','add','.ck-thread__container','2165nlVSTh','ck-thread--active','high','containerElement','stop','bindTemplate','archivedAt','ck-reset_all-excluded','placeholder','cancelConfirm','change:archivedAt','createCollection','then','ck-thread--unlinked','showConfirm','element','setTemplate','_model','_createResolveButton','17730WYeMJv','ck-thread--','set','isResolvable','actionIndicator','div','isResolved','fire','extendTemplate','removeCommentThread','isVisible','has','querySelector','279336JUPnRs','bind','_bindFirstCommentView','_updateArchivedThreadHeader','get','50sSEKkH','149099aaEvdK','change:isActive','resolveCommentThread','listitem','isUnlinked','_cancelAllConfirms','remove','ariaLabel','ck-thread__container','tooltip','2004vPRPZf','ck-thread','label','resolveButton','ck-rounded-corners','commentThreadHeaderView','commentsListView','listenTo','4912100oHnARf','commentThreadInputView','161775XoiFNe','Delete\x20comment\x20thread?','commentThreadChildren','1032qnasUE','isSystemComment','actionBar','_boundFirstCommentView','render','getTemplate','Write\x20a\x20comment...','focusables','icon'];_0x3681=function(){return _0xb6ff2;};return _0x3681();}import{IconCheck as _0xf071a3}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x3cd61b}from'./basecommentthreadview.js';function _0x305a(_0x5010ce,_0x3cfe24){const _0x36810f=_0x3681();return _0x305a=function(_0x305a72,_0x146163){_0x305a72=_0x305a72-0xab;let _0x566c3f=_0x36810f[_0x305a72];return _0x566c3f;},_0x305a(_0x5010ce,_0x3cfe24);}import{getTranslation as _0x397a94}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5afab9(_0x3cd61b){[_0x555626(0xb8)];[_0x555626(0xd7)];[_0x555626(0xaf)];[_0x555626(0xbc)];constructor(_0x4cd7a9,_0x5c11e7,_0x15ad6f,_0x1b811c){const _0x3f1b07=_0x555626;super(_0x4cd7a9,_0x5c11e7,_0x15ad6f,_0x1b811c),this[_0x3f1b07(0xb8)]=this[_0x3f1b07(0xdf)]([this[_0x3f1b07(0xb2)],this[_0x3f1b07(0xb5)],this[_0x3f1b07(0xc9)]]),this[_0x3f1b07(0xe9)](_0x3f1b07(0xeb),null),this[_0x3f1b07(0xd7)]=null,this[_0x3f1b07(0xbc)]=null,this[_0x3f1b07(0xca)]=_0x4cd7a9,this[_0x3f1b07(0xaf)]=this[_0x3f1b07(0xe6)](),this[_0x3f1b07(0xe4)](this[_0x3f1b07(0xbe)]()),this['on'](_0x3f1b07(0xfb),(_0x53dfb7,_0x183dac,_0x3fe555)=>{const _0x5ee536=_0x3f1b07;_0x3fe555||this[_0x5ee536(0xff)]();}),this[_0x3f1b07(0xb3)](this[_0x3f1b07(0xe5)],_0x3f1b07(0xc6),(_0x116470,_0x226352,_0x4847f6)=>{const _0x5aeb3f=_0x3f1b07;_0x4847f6&&this[_0x5aeb3f(0xff)]();}),this[_0x3f1b07(0xd0)]>0x0&&this[_0x3f1b07(0xf6)](),this[_0x3f1b07(0xb3)](this[_0x3f1b07(0xb2)][_0x3f1b07(0xc5)],_0x3f1b07(0xd2),()=>{const _0x4ce248=_0x3f1b07;this[_0x4ce248(0xf6)]();});}[_0x555626(0xbe)](){const _0x1c58ea=_0x555626,_0x3f9b23=this[_0x1c58ea(0xd9)];return{'tag':_0x1c58ea(0xec),'attributes':{'class':['ck',_0x1c58ea(0xad),_0x1c58ea(0xdb),_0x1c58ea(0xb0),_0x3f9b23['if'](_0x1c58ea(0xc4),_0x1c58ea(0xd5)),_0x3f9b23['if'](_0x1c58ea(0xfe),_0x1c58ea(0xe1)),_0x3f9b23['to'](_0x1c58ea(0xeb),_0x32ad64=>_0x32ad64?_0x1c58ea(0xe8)+_0x32ad64:'')],'data-thread-id':this[_0x1c58ea(0xe5)]['id'],'tabindex':0x0,'role':_0x1c58ea(0xfd),'aria-label':_0x3f9b23['to'](_0x1c58ea(0x101)),'aria-describedby':this[_0x1c58ea(0xc9)]['id']},'children':[{'tag':_0x1c58ea(0xec),'attributes':{'class':_0x1c58ea(0x102)},'children':this[_0x1c58ea(0xb8)]}]};}[_0x555626(0xbd)](){const _0x3b709d=_0x555626;super[_0x3b709d(0xbd)](),this[_0x3b709d(0xd7)]=this[_0x3b709d(0xe3)][_0x3b709d(0xf3)](_0x3b709d(0xd3)),this[_0x3b709d(0xe5)]['on'](_0x3b709d(0xde),()=>{const _0x58be2f=_0x3b709d;this[_0x58be2f(0xf7)]();}),this[_0x3b709d(0xf7)]();}[_0x555626(0xff)](){const _0x2fc002=_0x555626;this[_0x2fc002(0xdd)]();for(const _0x38ae4b of this[_0x2fc002(0xb2)][_0x2fc002(0xc5)])_0x38ae4b[_0x2fc002(0xdd)]();}[_0x555626(0xf6)](){const _0x155e49=_0x555626,{locale:_0x4d2020}=this,_0xda5c63=this[_0x155e49(0xb2)][_0x155e49(0xc5)][_0x155e49(0xf8)](0x0);_0xda5c63===this[_0x155e49(0xbc)]||_0xda5c63[_0x155e49(0xba)]||(this[_0x155e49(0xbc)]=_0xda5c63,this[_0x155e49(0xce)](_0x155e49(0xeb)),this[_0x155e49(0xf5)](_0x155e49(0xeb))['to'](_0xda5c63,_0x155e49(0xeb),_0x62524e=>_0x155e49(0x100)===_0x62524e?_0x155e49(0x100):null),_0xda5c63[_0x155e49(0xdc)]=_0x397a94(_0x4d2020,_0x155e49(0xbf)),_0xda5c63[_0x155e49(0xcc)]['on'](_0x155e49(0xcd),_0x5c5221=>{const _0xb5f1cd=_0x155e49;_0x5c5221[_0xb5f1cd(0xd8)](),this[_0xb5f1cd(0xe2)](_0x397a94(_0x4d2020,_0xb5f1cd(0xb7)),this[_0xb5f1cd(0xd7)])[_0xb5f1cd(0xe0)](()=>{const _0x53a47a=_0xb5f1cd;this[_0x53a47a(0xee)](_0x53a47a(0xf0));});},{'priority':_0x155e49(0xd6)}),this['on'](_0x155e49(0xcf),()=>{const _0x35a829=_0x155e49;_0xda5c63[_0x35a829(0xc3)]();}),_0xda5c63[_0x155e49(0xbb)][_0x155e49(0xd2)](this[_0x155e49(0xaf)],0x0),_0xda5c63[_0x155e49(0xc0)][_0x155e49(0xd2)](this[_0x155e49(0xaf)],0x0));}[_0x555626(0xe6)](){const _0x3d54d6=_0x555626,_0x3151e6=new _0x1563f8(this[_0x3d54d6(0xca)]);return _0x3151e6[_0x3d54d6(0xae)]=_0x397a94(this[_0x3d54d6(0xca)],_0x3d54d6(0xd1)),_0x3151e6[_0x3d54d6(0xab)]=_0x397a94(this[_0x3d54d6(0xca)],_0x3d54d6(0xd1)),_0x3151e6[_0x3d54d6(0xc1)]=_0xf071a3,_0x3151e6[_0x3d54d6(0xef)]({'attributes':{'class':_0x3d54d6(0xc8)}}),_0x3151e6[_0x3d54d6(0xf5)](_0x3d54d6(0xc7))['to'](this[_0x3d54d6(0xe5)],_0x3d54d6(0xc2),_0x3ab529=>!_0x3ab529),_0x3151e6[_0x3d54d6(0xf5)](_0x3d54d6(0xf1))['to'](this[_0x3d54d6(0xe5)],_0x3d54d6(0xea),this[_0x3d54d6(0xe5)],_0x3d54d6(0xed),(_0x1fc7dc,_0x2f250b)=>_0x1fc7dc&&!_0x2f250b),_0x3151e6['on'](_0x3d54d6(0xcd),()=>{const _0x263fe3=_0x3d54d6;this[_0x263fe3(0xee)](_0x263fe3(0xfc),this[_0x263fe3(0xe5)]['id']);}),_0x3151e6;}[_0x555626(0xf7)](){const _0x133c4e=_0x555626;this[_0x133c4e(0xe5)][_0x133c4e(0xda)]?this[_0x133c4e(0xb8)][_0x133c4e(0xf2)](this[_0x133c4e(0xb1)])||(this[_0x133c4e(0xb8)][_0x133c4e(0xd2)](this[_0x133c4e(0xb1)],0x0),this[_0x133c4e(0xc0)][_0x133c4e(0xd2)](this[_0x133c4e(0xb1)],0x0)):this[_0x133c4e(0xb8)][_0x133c4e(0xf2)](this[_0x133c4e(0xb1)])&&(this[_0x133c4e(0xb8)][_0x133c4e(0x100)](this[_0x133c4e(0xb1)]),this[_0x133c4e(0xc0)][_0x133c4e(0x100)](this[_0x133c4e(0xb1)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x4802bb=_0x12ac;(function(_0x2d6a09,_0x268581){const _0x217931=_0x12ac,_0x3c59c1=_0x2d6a09();while(!![]){try{const _0x50473b=-parseInt(_0x217931(0x220))/0x1+-parseInt(_0x217931(0x1f3))/0x2+-parseInt(_0x217931(0x20f))/0x3+parseInt(_0x217931(0x211))/0x4+parseInt(_0x217931(0x1cf))/0x5+parseInt(_0x217931(0x1dd))/0x6+-parseInt(_0x217931(0x1c7))/0x7;if(_0x50473b===_0x268581)break;else _0x3c59c1['push'](_0x3c59c1['shift']());}catch(_0x423233){_0x3c59c1['push'](_0x3c59c1['shift']());}}}(_0x321a,0x344e5));import{IconRemoveComment as _0x191d1b,IconPencil as _0x12baff,IconThreeVerticalDots as _0x49ea5f}from'ckeditor5/src/icons.js';import{ButtonView as _0x5e9780,createDropdown as _0x59c45b,ListView as _0x370da5,ListItemView as _0x35661b,focusChildOnDropdownOpen as _0x80789d}from'ckeditor5/src/ui.js';function _0x12ac(_0x1ae5b2,_0x285320){const _0x321a29=_0x321a();return _0x12ac=function(_0x12ac5c,_0xed8e14){_0x12ac5c=_0x12ac5c-0x1b3;let _0x156f85=_0x321a29[_0x12ac5c];return _0x156f85;},_0x12ac(_0x1ae5b2,_0x285320);}import{UserView as _0x2a5ae3,ConfirmMixin as _0x468579,LateFocusDropdownButtonView as _0x2a4676}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x582660}from'./basecommentview.js';function _0x321a(){const _0x964489=['ck-annotation__user','ck-comment__actions','push','toMany','focusables','ck-comment--','focus','getUserViewNotificationText','ck-annotation__actions--hidden','ck-annotation__info','mouseenter','ck-annotation__info-time','ck-annotation__main','actionIndicator','placeholder','Show\x20more\x20items','panelView','panelPosition','_createRemoveButton','extendTemplate','ck-annotation','from','2038260fXKQMY','ck-comment__actions--hidden','withText','ck-comment__user','element','ck-comment__info','_config','switchToEditMode','32815wvcpvn','name','getExternalCommentNote','_model','ck-comment__external','isVisible','ck-comment__info-time','_attachActions','render','children','dropdown','createCollection','change:isRemovable','userView','1386990oXhMAa','Remove','ck-comment--edit','ck-comment__main','ck-hidden','ck-annotation__content-wrapper','isSystemComment','isEnabled','add','execute','getTemplate','items','fire','ck-annotation__info-name','remove','_createCommentInputView','ck-comment__wrapper','then','isEditable','authoredAt','listenTo','some','120298zdAlbg','mouseleave','blur','ariaLabel','span','Reply...','icon','isExternal','find','ariaDescriptionView','locale','Edit','Delete\x20comment?','ck-comment--info','setTemplate','group','bindTemplate','_createEditButton','editButton','set','removeButton','showConfirm','formatDateTime','removeComment','actionBar','visibleView','listitem','ck-annotation__actions','205815jkwlBB','bind','1591348nqxCBU','ck-comment','isRemovable','length','addMany','edit','ck-comment__info-name','author','ck-comment--remove','label','isReadOnly','time','resolvedAt','_createDropdown','unbind','1386PEuVWp','div','isEditMode','buttonView','cancelConfirm'];_0x321a=function(){return _0x964489;};return _0x321a();}import{getTranslation as _0x5b24ec}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x468579(_0x582660){[_0x4802bb(0x20b)];[_0x4802bb(0x1dc)];constructor(_0x34323f,_0x24129f,_0x2a2551){const _0x4c4a2b=_0x4802bb;super(_0x34323f,_0x24129f,_0x2a2551),this[_0x4c4a2b(0x206)](_0x4c4a2b(0x1be),null),this[_0x4c4a2b(0x206)](_0x4c4a2b(0x1bf),_0x5b24ec(_0x34323f,_0x4c4a2b(0x1f8))),this[_0x4c4a2b(0x210)](_0x4c4a2b(0x1f0))['to'](_0x24129f),this[_0x4c4a2b(0x210)](_0x4c4a2b(0x21d))['to'](_0x24129f),this[_0x4c4a2b(0x20b)]=this[_0x4c4a2b(0x1da)](),this[_0x4c4a2b(0x1e3)]||(this[_0x4c4a2b(0x205)]=this[_0x4c4a2b(0x204)](),this[_0x4c4a2b(0x207)]=this[_0x4c4a2b(0x1c3)](),this[_0x4c4a2b(0x1e8)]=this[_0x4c4a2b(0x1da)](),this[_0x4c4a2b(0x1e8)][_0x4c4a2b(0x215)]([this[_0x4c4a2b(0x205)],this[_0x4c4a2b(0x207)]]),this[_0x4c4a2b(0x1d9)]=this[_0x4c4a2b(0x21e)](),this[_0x4c4a2b(0x20b)][_0x4c4a2b(0x1e5)](this[_0x4c4a2b(0x1d9)]),this[_0x4c4a2b(0x1b5)][_0x4c4a2b(0x1e5)](this[_0x4c4a2b(0x1d9)])),this[_0x4c4a2b(0x1dc)]=new _0x2a5ae3(_0x34323f,_0x24129f[_0x4c4a2b(0x218)],this[_0x4c4a2b(0x1b8)]()),this[_0x4c4a2b(0x1dc)][_0x4c4a2b(0x1c4)]({'attributes':{'class':[_0x4c4a2b(0x1ca),_0x4c4a2b(0x225)],'aria-hidden':!0x0}}),this[_0x4c4a2b(0x1f1)](_0x24129f,_0x4c4a2b(0x1db),()=>this[_0x4c4a2b(0x224)]()),this[_0x4c4a2b(0x201)](this[_0x4c4a2b(0x1e7)]());}[_0x4802bb(0x1e7)](){const _0x4fd6fc=_0x4802bb,_0x3cecfd=this[_0x4fd6fc(0x203)],_0x162d0a=[{'tag':_0x4fd6fc(0x221),'attributes':{'class':[_0x4fd6fc(0x1cc),_0x4fd6fc(0x1ba)]},'children':[{'tag':_0x4fd6fc(0x1f7),'children':[{'text':this[_0x4fd6fc(0x1dc)][_0x4fd6fc(0x1d0)]}],'attributes':{'class':[_0x4fd6fc(0x217),_0x4fd6fc(0x1ea)],'data-cke-tooltip-text':this[_0x4fd6fc(0x1dc)][_0x4fd6fc(0x1d0)]}},{'tag':_0x4fd6fc(0x21c),'attributes':{'datetime':_0x3cecfd['to'](_0x4fd6fc(0x1f0)),'class':[_0x4fd6fc(0x1d5),_0x4fd6fc(0x1bc)]},'children':[{'text':_0x3cecfd['to'](_0x4fd6fc(0x1f0),_0x2a0805=>this[_0x4fd6fc(0x1cd)][_0x4fd6fc(0x209)](_0x2a0805))}]}]},{'tag':_0x4fd6fc(0x221),'attributes':{'class':[_0x4fd6fc(0x226),_0x4fd6fc(0x20e),_0x3cecfd['if'](_0x4fd6fc(0x222),_0x4fd6fc(0x1c8)),_0x3cecfd['if'](_0x4fd6fc(0x222),_0x4fd6fc(0x1b9))]},'children':this[_0x4fd6fc(0x20b)]},{'tag':_0x4fd6fc(0x221),'attributes':{'class':[_0x4fd6fc(0x1e2)]},'children':this[_0x4fd6fc(0x20c)]},this[_0x4fd6fc(0x1fc)]];return this[_0x4fd6fc(0x1d2)][_0x4fd6fc(0x1fa)]&&_0x162d0a[_0x4fd6fc(0x1b3)]({'tag':_0x4fd6fc(0x221),'attributes':{'class':[_0x4fd6fc(0x1d3)]},'children':[{'text':this[_0x4fd6fc(0x1d1)]()}]}),{'tag':'li','attributes':{'class':[_0x4fd6fc(0x1ed)],'tabindex':-0x1,'aria-label':_0x3cecfd['to'](_0x4fd6fc(0x1f6)),'aria-describedby':this[_0x4fd6fc(0x1fc)]['id'],'role':_0x4fd6fc(0x20d)},'children':[{'tag':_0x4fd6fc(0x221),'attributes':{'class':[_0x4fd6fc(0x212),_0x4fd6fc(0x1c5),_0x3cecfd['if'](_0x4fd6fc(0x222),_0x4fd6fc(0x1df)),_0x3cecfd['if'](_0x4fd6fc(0x1e3),_0x4fd6fc(0x200)),_0x3cecfd['to'](_0x4fd6fc(0x1be),_0x369a85=>_0x369a85?_0x4fd6fc(0x1b6)+_0x369a85:'')],'data-author-id':this[_0x4fd6fc(0x1d2)][_0x4fd6fc(0x218)]['id'],'data-comment-id':this[_0x4fd6fc(0x1d2)]['id'],'role':_0x4fd6fc(0x202)},'children':[this[_0x4fd6fc(0x1dc)],{'tag':_0x4fd6fc(0x221),'attributes':{'class':[_0x4fd6fc(0x1e0),_0x4fd6fc(0x1bd)]},'children':_0x162d0a}]}]};}[_0x4802bb(0x204)](){const _0x2e1683=_0x4802bb,_0x5a0550=new _0x5e9780(this[_0x2e1683(0x1fd)]);return _0x5a0550[_0x2e1683(0x21a)]=_0x5b24ec(this[_0x2e1683(0x1fd)],_0x2e1683(0x1fe)),_0x5a0550[_0x2e1683(0x1f9)]=_0x12baff,_0x5a0550[_0x2e1683(0x1c9)]=!0x0,_0x5a0550[_0x2e1683(0x1c4)]({'attributes':{'class':_0x2e1683(0x1df)}}),_0x5a0550[_0x2e1683(0x210)](_0x2e1683(0x1e4))['to'](this[_0x2e1683(0x1d2)],_0x2e1683(0x21b),_0x4d451d=>!_0x4d451d),_0x5a0550[_0x2e1683(0x210)](_0x2e1683(0x1d4))['to'](this[_0x2e1683(0x1d2)],_0x2e1683(0x1ef)),_0x5a0550['on'](_0x2e1683(0x1e6),()=>this[_0x2e1683(0x1ce)]()),_0x5a0550;}[_0x4802bb(0x1c3)](){const _0x1cc083=_0x4802bb,_0x73bed6=new _0x5e9780(this[_0x1cc083(0x1fd)]);return _0x73bed6[_0x1cc083(0x21a)]=_0x5b24ec(this[_0x1cc083(0x1fd)],_0x1cc083(0x1de)),_0x73bed6[_0x1cc083(0x1f9)]=_0x191d1b,_0x73bed6[_0x1cc083(0x1c9)]=!0x0,_0x73bed6[_0x1cc083(0x1c4)]({'attributes':{'class':_0x1cc083(0x219)}}),_0x73bed6[_0x1cc083(0x210)](_0x1cc083(0x1e4))['to'](this[_0x1cc083(0x1d2)],_0x1cc083(0x21b),_0x35ee56=>!_0x35ee56),_0x73bed6[_0x1cc083(0x210)](_0x1cc083(0x1d4))['to'](this[_0x1cc083(0x1d2)],_0x1cc083(0x213)),_0x73bed6['on'](_0x1cc083(0x1e6),()=>{const _0x173681=_0x1cc083;this[_0x173681(0x208)](_0x5b24ec(this[_0x173681(0x1fd)],_0x173681(0x1ff)),this[_0x173681(0x1cb)])[_0x173681(0x1ee)](()=>{const _0x596c48=_0x173681;this[_0x596c48(0x1e9)](_0x596c48(0x20a),this[_0x596c48(0x1d2)]['id']);});}),_0x73bed6;}[_0x4802bb(0x21e)](){const _0x3a325b=_0x4802bb,_0x3bcb55=_0x59c45b(this[_0x3a325b(0x1fd)],_0x2a4676),_0x38a198=_0x3bcb55[_0x3a325b(0x1c1)][_0x3a325b(0x1d8)],_0x1097b3=new _0x370da5(this[_0x3a325b(0x1fd)]),_0x5a8400=_0x3bcb55[_0x3a325b(0x203)];_0x80789d(_0x3bcb55,()=>this[_0x3a325b(0x1e8)][_0x3a325b(0x1fb)](_0x44b7c8=>_0x44b7c8[_0x3a325b(0x1d4)])),_0x3bcb55[_0x3a325b(0x1c4)]({'attributes':{'class':[_0x5a8400['if'](_0x3a325b(0x1d4),_0x3a325b(0x1e1),_0x4ea94b=>!_0x4ea94b)]}});const _0x23518c=(_0x446c2a,_0x122305=-0x1)=>{const _0x1a8c54=_0x3a325b,_0x32e771=new _0x35661b(this[_0x1a8c54(0x1fd)]);_0x32e771[_0x1a8c54(0x1d8)][_0x1a8c54(0x1e5)](_0x446c2a);const _0x2ec979=_0x122305>-0x1?_0x122305:_0x1097b3[_0x1a8c54(0x1e8)][_0x1a8c54(0x214)];_0x1097b3[_0x1a8c54(0x1e8)][_0x1a8c54(0x1e5)](_0x32e771,_0x2ec979);const _0x14c39c=Array[_0x1a8c54(0x1c6)](this[_0x1a8c54(0x1e8)]);_0x3bcb55[_0x1a8c54(0x21f)](_0x1a8c54(0x1e4),_0x1a8c54(0x1d4)),_0x3bcb55[_0x1a8c54(0x210)](_0x1a8c54(0x1e4))[_0x1a8c54(0x1b4)](_0x14c39c,_0x1a8c54(0x1e4),(..._0x47e592)=>_0x47e592[_0x1a8c54(0x1f2)](_0x5e3028=>_0x5e3028)),_0x3bcb55[_0x1a8c54(0x210)](_0x1a8c54(0x1d4))[_0x1a8c54(0x1b4)](_0x14c39c,_0x1a8c54(0x1d4),(..._0x2bc918)=>_0x2bc918[_0x1a8c54(0x1f2)](_0xb8edb7=>_0xb8edb7));};_0x3bcb55[_0x3a325b(0x1c2)]='sw',_0x3bcb55[_0x3a325b(0x223)][_0x3a325b(0x206)]({'label':_0x5b24ec(this[_0x3a325b(0x1fd)],_0x3a325b(0x1c0)),'icon':_0x49ea5f});for(const _0x5359a3 of this[_0x3a325b(0x1e8)])_0x23518c(_0x5359a3);return _0x38a198[_0x3a325b(0x1e5)](_0x1097b3),_0x3bcb55[_0x3a325b(0x1f1)](this[_0x3a325b(0x1e8)],_0x3a325b(0x1e5),(_0x259014,_0x41e166,_0x4ed9ee)=>{_0x23518c(_0x41e166,_0x4ed9ee);}),_0x3bcb55[_0x3a325b(0x1f1)](this[_0x3a325b(0x1e8)],_0x3a325b(0x1eb),(_0x2089d3,_0x3e846b,_0xeb1e45)=>{const _0x3e18d5=_0x3a325b;_0x1097b3[_0x3e18d5(0x1e8)][_0x3e18d5(0x1eb)](_0xeb1e45);}),_0x3bcb55;}[_0x4802bb(0x1d6)](_0x353cae,_0x22400d){const _0x4da8ea=_0x4802bb,_0x1c1d04=_0x353cae&&_0x353cae[_0x4da8ea(0x1cb)];_0x1c1d04&&(this[_0x4da8ea(0x1f1)](_0x1c1d04,_0x4da8ea(0x1bb),()=>this[_0x4da8ea(0x1be)]=_0x22400d),this[_0x4da8ea(0x1f1)](_0x1c1d04,_0x4da8ea(0x1b7),()=>this[_0x4da8ea(0x1be)]=_0x22400d),this[_0x4da8ea(0x1f1)](_0x1c1d04,_0x4da8ea(0x1f4),()=>this[_0x4da8ea(0x1be)]=null),this[_0x4da8ea(0x1f1)](_0x1c1d04,_0x4da8ea(0x1f5),()=>this[_0x4da8ea(0x1be)]=null));}[_0x4802bb(0x1ec)](){const _0x11443d=_0x4802bb,_0x36fdec=super[_0x11443d(0x1ec)]();return _0x36fdec[_0x11443d(0x210)](_0x11443d(0x1bf))['to'](this),_0x36fdec;}[_0x4802bb(0x1d7)](){const _0x2047e6=_0x4802bb;super[_0x2047e6(0x1d7)](),this[_0x2047e6(0x1d6)](this[_0x2047e6(0x205)],_0x2047e6(0x216)),this[_0x2047e6(0x1d6)](this[_0x2047e6(0x207)],_0x2047e6(0x1eb));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1fbd6d=_0x1b7e;(function(_0x542eb6,_0x28b467){var _0x3916ed=_0x1b7e,_0x428539=_0x542eb6();while(!![]){try{var _0x20c742=-parseInt(_0x3916ed(0x157))/0x1+-parseInt(_0x3916ed(0x155))/0x2*(-parseInt(_0x3916ed(0x159))/0x3)+-parseInt(_0x3916ed(0x15e))/0x4+-parseInt(_0x3916ed(0x15c))/0x5*(-parseInt(_0x3916ed(0x158))/0x6)+-parseInt(_0x3916ed(0x162))/0x7*(-parseInt(_0x3916ed(0x15b))/0x8)+-parseInt(_0x3916ed(0x160))/0x9*(parseInt(_0x3916ed(0x154))/0xa)+parseInt(_0x3916ed(0x15d))/0xb*(parseInt(_0x3916ed(0x15a))/0xc);if(_0x20c742===_0x28b467)break;else _0x428539['push'](_0x428539['shift']());}catch(_0x37ad00){_0x428539['push'](_0x428539['shift']());}}}(_0x5669,0xcc904));function _0x1b7e(_0x2c34e3,_0x2e2599){var _0x5669e7=_0x5669();return _0x1b7e=function(_0x1b7eb7,_0x5d98f3){_0x1b7eb7=_0x1b7eb7-0x153;var _0x1a1b3f=_0x5669e7[_0x1b7eb7];return _0x1a1b3f;},_0x1b7e(_0x2c34e3,_0x2e2599);}import{Plugin as _0x4b5ffe}from'ckeditor5/src/core.js';import{CommentsRepository as _0x252588}from'./comments/commentsrepository.js';import{CommentsEditing as _0x1e2865}from'./comments/commentsediting.js';import{CommentsUI as _0x11d4c1}from'./comments/commentsui.js';import{CommentsOnly as _0x35f216}from'./commentsonly.js';import{WideSidebar as _0x258413}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x3b7ad5}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x3db173}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x3e5208}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x3ada7d}from'./comments/commentsarchive.js';export class Comments extends _0x4b5ffe{static get[_0x1fbd6d(0x161)](){return[_0x252588,_0x1e2865,_0x11d4c1,_0x3ada7d,_0x3e5208,_0x35f216,_0x258413,_0x3b7ad5,_0x3db173];}static get[_0x1fbd6d(0x15f)](){var _0x5e5683=_0x1fbd6d;return _0x5e5683(0x153);}static get[_0x1fbd6d(0x156)](){return!0x0;}static get[_0x1fbd6d(0x163)](){return!0x0;}}function _0x5669(){var _0x25195f=['3474249QYjhCo','10007136KeTPxr','120xMgbxR','5TztvUJ','11LvKUgo','1001388didNti','pluginName','4750173ythjmD','requires','174643XPYFbr','isPremiumPlugin','Comments','30VgRBBZ','2QWIgwK','isOfficialPlugin','1066155Zhpkfp','8229234jsznUN'];_0x5669=function(){return _0x25195f;};return _0x5669();}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12059d=_0x53c1;function _0x29a7(){const _0xb8f62d=['isPremiumPlugin','DragDrop','13295qFsrzJ','commands','view','forceDisabled','clearForceDisabled','1477413BIiGnl','885493BiSPLA','clipboardInput','_disableCommentsOnlyMode','isEnabled','get','addCommentThread','highest','_enableCommentsOnlyMode','cut','delete','906qsAQYO','stopListening','pluginName','editSource','1848444oACxCl','requires','affectsData','document','change:isEnabled','set','editor','commentsOnly','24vTbLcw','listenTo','473451gITQxw','stop','commentsOnlyMode','1665150ImpVEa','isOfficialPlugin','has','259ATrzcp','editing','794aqSjQy','config','plugins','250nhxEgo','SourceEditing','afterInit','CommentsOnly'];_0x29a7=function(){return _0xb8f62d;};return _0x29a7();}(function(_0x3b5adc,_0xf9fedd){const _0xb5bcc7=_0x53c1,_0x58aaf2=_0x3b5adc();while(!![]){try{const _0x3d369b=-parseInt(_0xb5bcc7(0x97))/0x1*(-parseInt(_0xb5bcc7(0x99))/0x2)+parseInt(_0xb5bcc7(0x94))/0x3+-parseInt(_0xb5bcc7(0x87))/0x4+-parseInt(_0xb5bcc7(0xa2))/0x5*(parseInt(_0xb5bcc7(0xb2))/0x6)+-parseInt(_0xb5bcc7(0xa8))/0x7*(parseInt(_0xb5bcc7(0x8f))/0x8)+-parseInt(_0xb5bcc7(0xa7))/0x9+-parseInt(_0xb5bcc7(0x9c))/0xa*(-parseInt(_0xb5bcc7(0x91))/0xb);if(_0x3d369b===_0xf9fedd)break;else _0x58aaf2['push'](_0x58aaf2['shift']());}catch(_0x3eebc3){_0x58aaf2['push'](_0x58aaf2['shift']());}}}(_0x29a7,0x4fbe0));import{Plugin as _0x5bdc73}from'ckeditor5/src/core.js';import{CommentsEditing as _0x5548e9}from'./comments/commentsediting.js';function _0x53c1(_0x259d17,_0x461406){const _0x29a703=_0x29a7();return _0x53c1=function(_0x53c1ca,_0x20fc6a){_0x53c1ca=_0x53c1ca-0x87;let _0x29f8b3=_0x29a703[_0x53c1ca];return _0x29f8b3;},_0x53c1(_0x259d17,_0x461406);}export class CommentsOnly extends _0x5bdc73{static get[_0x12059d(0xb4)](){const _0x486523=_0x12059d;return _0x486523(0x9f);}static get[_0x12059d(0x95)](){return!0x0;}static get[_0x12059d(0xa0)](){return!0x0;}static get[_0x12059d(0x88)](){return[_0x5548e9];}constructor(_0x3a41e7){const _0x3ae9ad=_0x12059d;super(_0x3a41e7),this[_0x3ae9ad(0x8c)](_0x3ae9ad(0xab),!0x1),this['on'](_0x3ae9ad(0x8b),(_0x2ab18b,_0x294ca8,_0x4e07d1)=>{const _0x15de6a=_0x3ae9ad;_0x4e07d1?this[_0x15de6a(0xaf)]():this[_0x15de6a(0xaa)]();});}[_0x12059d(0x9e)](){const _0x53d370=_0x12059d;!this[_0x53d370(0xab)]&&this[_0x53d370(0x8d)][_0x53d370(0x9a)][_0x53d370(0xac)](_0x53d370(0x8e))&&(this[_0x53d370(0xab)]=!0x0);}[_0x12059d(0xaf)](){const _0x34c5ea=_0x12059d;for(const [_0x2e8232,_0x293f51]of this[_0x34c5ea(0x8d)][_0x34c5ea(0xa3)])_0x293f51[_0x34c5ea(0x89)]&&_0x34c5ea(0xad)!==_0x2e8232&&_0x293f51[_0x34c5ea(0xa5)](_0x34c5ea(0x93));(this[_0x34c5ea(0x8d)][_0x34c5ea(0x9b)][_0x34c5ea(0x96)](_0x34c5ea(0xa1))&&this[_0x34c5ea(0x8d)][_0x34c5ea(0x9b)][_0x34c5ea(0xac)](_0x34c5ea(0xa1))[_0x34c5ea(0xa5)](_0x34c5ea(0x93)),this[_0x34c5ea(0x8d)][_0x34c5ea(0x9b)][_0x34c5ea(0x96)](_0x34c5ea(0x9d)))&&this[_0x34c5ea(0x8d)][_0x34c5ea(0x9b)][_0x34c5ea(0xac)](_0x34c5ea(0x9d))[_0x34c5ea(0xa5)](_0x34c5ea(0x93));this[_0x34c5ea(0x8d)][_0x34c5ea(0xa3)][_0x34c5ea(0xac)](_0x34c5ea(0xb5))?.[_0x34c5ea(0xa5)](_0x34c5ea(0x93));const _0xc860a1=this[_0x34c5ea(0x8d)][_0x34c5ea(0x98)][_0x34c5ea(0xa4)][_0x34c5ea(0x8a)];this[_0x34c5ea(0x90)](_0xc860a1,_0x34c5ea(0xb0),_0x54c11d=>_0x54c11d[_0x34c5ea(0x92)](),{'priority':_0x34c5ea(0xae)}),this[_0x34c5ea(0x90)](_0xc860a1,_0x34c5ea(0xa9),_0x4978b4=>_0x4978b4[_0x34c5ea(0x92)](),{'priority':_0x34c5ea(0xae)}),this[_0x34c5ea(0x90)](_0xc860a1,_0x34c5ea(0xb1),_0x164b22=>_0x164b22[_0x34c5ea(0x92)](),{'priority':_0x34c5ea(0xae)});}[_0x12059d(0xaa)](){const _0x11b2a1=_0x12059d;for(const [_0x32cec1,_0x26681b]of this[_0x11b2a1(0x8d)][_0x11b2a1(0xa3)])_0x26681b[_0x11b2a1(0x89)]&&_0x11b2a1(0xad)!==_0x32cec1&&_0x26681b[_0x11b2a1(0xa6)](_0x11b2a1(0x93));this[_0x11b2a1(0x8d)][_0x11b2a1(0x9b)][_0x11b2a1(0x96)](_0x11b2a1(0x9d))&&this[_0x11b2a1(0x8d)][_0x11b2a1(0x9b)][_0x11b2a1(0xac)](_0x11b2a1(0x9d))[_0x11b2a1(0xa6)](_0x11b2a1(0x93)),this[_0x11b2a1(0x8d)][_0x11b2a1(0xa3)][_0x11b2a1(0xac)](_0x11b2a1(0xb5))?.[_0x11b2a1(0xa6)](_0x11b2a1(0x93)),this[_0x11b2a1(0xb3)](this[_0x11b2a1(0x8d)][_0x11b2a1(0x98)][_0x11b2a1(0xa4)][_0x11b2a1(0x8a)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4e0162,_0x4f51a7){var _0x4e2df4=_0x22f7,_0x142d06=_0x4e0162();while(!![]){try{var _0x3d7fb9=-parseInt(_0x4e2df4(0x108))/0x1+-parseInt(_0x4e2df4(0x107))/0x2*(-parseInt(_0x4e2df4(0x103))/0x3)+parseInt(_0x4e2df4(0x109))/0x4*(parseInt(_0x4e2df4(0x105))/0x5)+-parseInt(_0x4e2df4(0x10a))/0x6+parseInt(_0x4e2df4(0x102))/0x7+-parseInt(_0x4e2df4(0x104))/0x8+-parseInt(_0x4e2df4(0x101))/0x9*(parseInt(_0x4e2df4(0x106))/0xa);if(_0x3d7fb9===_0x4f51a7)break;else _0x142d06['push'](_0x142d06['shift']());}catch(_0x4d2ced){_0x142d06['push'](_0x142d06['shift']());}}}(_0x1e40,0x25d48));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 _0x1e40(){var _0x59d699=['911811uuwZjx','520792NUVrVq','39105WXTsvm','290XZJTfS','2mEGwYv','133828AdXlmu','20OHtMVM','408084GfCoVU','20457jabYkP','1013376ybhVFz'];_0x1e40=function(){return _0x59d699;};return _0x1e40();}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';function _0x22f7(_0x427d7c,_0x16feb1){var _0x1e4080=_0x1e40();return _0x22f7=function(_0x22f7ad,_0x5f52c5){_0x22f7ad=_0x22f7ad-0x101;var _0x4d12ed=_0x1e4080[_0x22f7ad];return _0x4d12ed;},_0x22f7(_0x427d7c,_0x16feb1);}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(_0xecb9c0,_0x4fd939,_0x52e895){const t=_0xecb9c0['t'];switch(_0x4fd939){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'},_0x52e895);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'},_0x52e895);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'},_0x52e895);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'},_0x52e895);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x52e895);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'},_0x52e895);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'},_0x52e895);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'},_0x52e895);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(_0x5d575b,_0x52ba9b){const _0x367fc0=_0x8e45,_0x2ca3d9=_0x5d575b();while(!![]){try{const _0x4219d3=parseInt(_0x367fc0(0xca))/0x1+-parseInt(_0x367fc0(0xc5))/0x2*(-parseInt(_0x367fc0(0xcf))/0x3)+parseInt(_0x367fc0(0xd0))/0x4*(-parseInt(_0x367fc0(0xc4))/0x5)+parseInt(_0x367fc0(0xd1))/0x6*(-parseInt(_0x367fc0(0xd2))/0x7)+-parseInt(_0x367fc0(0xc2))/0x8+parseInt(_0x367fc0(0xc8))/0x9*(parseInt(_0x367fc0(0xc6))/0xa)+parseInt(_0x367fc0(0xd5))/0xb*(-parseInt(_0x367fc0(0xd3))/0xc);if(_0x4219d3===_0x52ba9b)break;else _0x2ca3d9['push'](_0x2ca3d9['shift']());}catch(_0x57e58e){_0x2ca3d9['push'](_0x2ca3d9['shift']());}}}(_0x13db,0xb1fed));import{throttle as _0x307a15}from'es-toolkit/compat';function _0x13db(){const _0x4e972b=['class','36VqaDqU','attributes','966955kljtFN','disconnect','characterData','cancel','observe','2967WrwBSa','15152blfnjg','248832WzOWRc','112zDjEWr','96732kYAHuz','childList','1067YmvvsO','type','4090272ChgpvR','attributeName','360daKqvi','2910OfYCct','1381520fFOUDE'];_0x13db=function(){return _0x4e972b;};return _0x13db();}function _0x8e45(_0x3423a4,_0x422c4f){const _0x13dbb4=_0x13db();return _0x8e45=function(_0x8e45fd,_0x48bdfa){_0x8e45fd=_0x8e45fd-0xc2;let _0x4d17ee=_0x13dbb4[_0x8e45fd];return _0x4d17ee;},_0x8e45(_0x3423a4,_0x422c4f);}export function createMutationObserver(_0x1bdaa6){const _0x8e3639=_0x307a15(_0x1bdaa6,0x1e),_0x11eb25=new MutationObserver(_0x3c0f9e=>{const _0x1a8eca=_0x8e45;for(const _0x5ffa94 of _0x3c0f9e)(_0x1a8eca(0xc9)==_0x5ffa94[_0x1a8eca(0xd6)]&&_0x1a8eca(0xc7)==_0x5ffa94[_0x1a8eca(0xc3)]||_0x1a8eca(0xd4)==_0x5ffa94[_0x1a8eca(0xd6)]||_0x1a8eca(0xcc)==_0x5ffa94[_0x1a8eca(0xd6)])&&_0x8e3639();});return{'attach'(_0x480e1c){const _0x3d0978=_0x8e45;_0x11eb25[_0x3d0978(0xce)](_0x480e1c,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x1912a0=_0x8e45;_0x11eb25[_0x1912a0(0xcb)](),_0x8e3639[_0x1912a0(0xcd)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x55ed1b,_0x2bfc22){const _0x268570=_0xe816,_0x4ae4f4=_0x55ed1b();while(!![]){try{const _0x47beb3=-parseInt(_0x268570(0x110))/0x1*(parseInt(_0x268570(0x10f))/0x2)+-parseInt(_0x268570(0x112))/0x3+-parseInt(_0x268570(0x113))/0x4+-parseInt(_0x268570(0x10e))/0x5+parseInt(_0x268570(0x111))/0x6+-parseInt(_0x268570(0x114))/0x7*(parseInt(_0x268570(0x10c))/0x8)+parseInt(_0x268570(0x115))/0x9;if(_0x47beb3===_0x2bfc22)break;else _0x4ae4f4['push'](_0x4ae4f4['shift']());}catch(_0xffc789){_0x4ae4f4['push'](_0x4ae4f4['shift']());}}}(_0x41f8,0x7e5cc));export function splitMarkerName(_0x22eebb){const _0x571605=_0xe816,_0x21aa16=_0x22eebb[_0x571605(0x10d)](':');return{'group':_0x21aa16[0x0],'id':_0x21aa16[0x1],'part':_0x21aa16[0x2]};}function _0xe816(_0x49c3ce,_0x28b1a1){const _0x41f8a7=_0x41f8();return _0xe816=function(_0xe81654,_0x377f99){_0xe81654=_0xe81654-0x10c;let _0x9a06e5=_0x41f8a7[_0xe81654];return _0x9a06e5;},_0xe816(_0x49c3ce,_0x28b1a1);}function _0x41f8(){const _0x31b6a1=['868OfmGUc','24354081qDcJhw','19496TUBNcv','split','1254395tJFZrk','2YSWicY','973411axpMXS','3383190mvsFOn','1074633OxyfXT','3470420fIcnHd'];_0x41f8=function(){return _0x31b6a1;};return _0x41f8();}
|