@ckeditor/ckeditor5-comments 47.6.2-alpha.0 → 47.6.2-alpha.1
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
|
-
const _0x11f4dd=_0x4a6d;(function(_0x12d87c,_0x4ce193){const _0x256b54=_0x4a6d,_0x3ce2e0=_0x12d87c();while(!![]){try{const _0x139410=parseInt(_0x256b54(0xa8))/0x1+-parseInt(_0x256b54(0xe2))/0x2+parseInt(_0x256b54(0xcc))/0x3*(-parseInt(_0x256b54(0xb1))/0x4)+-parseInt(_0x256b54(0xf2))/0x5*(-parseInt(_0x256b54(0xa9))/0x6)+-parseInt(_0x256b54(0xf0))/0x7*(parseInt(_0x256b54(0xa1))/0x8)+-parseInt(_0x256b54(0x9d))/0x9+-parseInt(_0x256b54(0xd2))/0xa*(-parseInt(_0x256b54(0xf6))/0xb);if(_0x139410===_0x4ce193)break;else _0x3ce2e0['push'](_0x3ce2e0['shift']());}catch(_0x2cb5e4){_0x3ce2e0['push'](_0x3ce2e0['shift']());}}}(_0x4024,0xb9c03));import{View as _0x34e4c1,FocusCycler as _0x508e1a}from'ckeditor5/src/ui.js';import{diff as _0x1cd591,Collection as _0x30cf02,FocusTracker as _0x2bc597,KeystrokeHandler as _0x3b4d1f}from'ckeditor5/src/utils.js';import{getTranslation as _0x4412ff}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x281fcc}from'./collapsedcommentsview.js';export class CommentsListView extends _0x34e4c1{[_0x11f4dd(0xdd)];[_0x11f4dd(0xed)];[_0x11f4dd(0xc4)];[_0x11f4dd(0xe7)];[_0x11f4dd(0x95)];[_0x11f4dd(0xde)];[_0x11f4dd(0xc8)];[_0x11f4dd(0xa0)];constructor(_0x10dcc7,_0x36920e,_0x3b5810){const _0x50b99e=_0x11f4dd;super(_0x10dcc7);const _0x1822d7=this[_0x50b99e(0xbf)];this[_0x50b99e(0xf1)](_0x50b99e(0xab),!0x1),this[_0x50b99e(0xf1)](_0x50b99e(0xcb),_0x36920e[_0x50b99e(0xac)][_0x50b99e(0xcb)]),this[_0x50b99e(0xf1)](_0x50b99e(0xc3),!0x1),this[_0x50b99e(0xde)]=_0x36920e,this[_0x50b99e(0xc8)]=_0x3b5810,this[_0x50b99e(0xdd)]=this[_0x50b99e(0xae)](),this[_0x50b99e(0xef)]=this[_0x50b99e(0xae)](),this[_0x50b99e(0xed)]=null,this[_0x50b99e(0xc4)]=new _0x2bc597(),this[_0x50b99e(0xe7)]=new _0x3b4d1f(),this[_0x50b99e(0x95)]=new _0x508e1a({'focusables':this[_0x50b99e(0xdd)],'focusTracker':this[_0x50b99e(0xc4)],'keystrokeHandler':this[_0x50b99e(0xe7)],'keystrokeHandlerOptions':{'filter':_0x68986e=>this[_0x50b99e(0xdd)][_0x50b99e(0xe1)](_0x2c0579=>_0x2c0579[_0x50b99e(0xc9)])[_0x50b99e(0xe5)](_0x68986e[_0x50b99e(0xf4)])},'actions':{'focusPrevious':_0x50b99e(0xe8),'focusNext':_0x50b99e(0xe0)}}),this[_0x50b99e(0xa0)]=new _0x281fcc(_0x10dcc7),this[_0x50b99e(0xa0)][_0x50b99e(0xa2)](_0x50b99e(0xd4))['to'](this,_0x50b99e(0xcb),_0x53a804=>_0x53a804-this[_0x50b99e(0xc8)][_0x50b99e(0xf5)]);for(const _0x1dee6f of _0x36920e[_0x50b99e(0xac)])this[_0x50b99e(0xd1)](_0x1dee6f);this[_0x50b99e(0xee)](),this[_0x50b99e(0xe3)](_0x36920e[_0x50b99e(0xac)],_0x50b99e(0x97),(_0x334c95,_0x2c8618)=>{const _0x256f53=_0x50b99e,_0x3644b3=this[_0x256f53(0x96)](_0x2c8618);this[_0x256f53(0xcb)]++,this[_0x256f53(0xd1)](_0x2c8618,_0x3644b3),this[_0x256f53(0xeb)]();}),this[_0x50b99e(0xe3)](_0x36920e[_0x50b99e(0xac)],_0x50b99e(0xa5),(_0x2b9f8a,_0x1f2005)=>{const _0xc42366=_0x50b99e;this[_0xc42366(0xcb)]--,this[_0xc42366(0xca)](_0x1f2005),this[_0xc42366(0xeb)]();}),this[_0x50b99e(0xe3)](_0x36920e,_0x50b99e(0xd7),()=>this[_0x50b99e(0xeb)]()),this[_0x50b99e(0xe3)](_0x36920e,_0x50b99e(0xd6),()=>this[_0x50b99e(0xee)]()),this['on'](_0x50b99e(0xc1),()=>this[_0x50b99e(0xeb)]()),this['on'](_0x50b99e(0xb8),()=>this[_0x50b99e(0xeb)]()),this[_0x50b99e(0xb7)]({'tag':'ul','attributes':{'class':[_0x50b99e(0xda),_0x1822d7['if'](_0x50b99e(0xcb),_0x50b99e(0xb6),_0x2c345b=>!_0x2c345b)],'aria-label':_0x4412ff(_0x10dcc7,_0x50b99e(0xc7))},'children':this[_0x50b99e(0xef)]});}get[_0x11f4dd(0xf3)](){const _0x51b7bf=_0x11f4dd;return this[_0x51b7bf(0xde)][_0x51b7bf(0xbb)]>this[_0x51b7bf(0xc8)][_0x51b7bf(0xd5)]&&!this[_0x51b7bf(0xc3)]&&!this[_0x51b7bf(0xab)];}[_0x11f4dd(0xb3)](){const _0x88b8e0=_0x11f4dd;super[_0x88b8e0(0xb3)](),this[_0x88b8e0(0xeb)](),this[_0x88b8e0(0x9e)]();}[_0x11f4dd(0xaa)](_0x80de7c){const _0x21bd18=_0x11f4dd;-0x1===_0x80de7c?this[_0x21bd18(0x95)][_0x21bd18(0x9c)]():this[_0x21bd18(0x95)][_0x21bd18(0xe9)]();}[_0x11f4dd(0xb9)](){const _0x21afbc=_0x11f4dd;this[_0x21afbc(0xa0)][_0x21afbc(0xb9)]();for(const _0x4e90c1 of this[_0x21afbc(0xdd)])_0x4e90c1[_0x21afbc(0xb9)]();super[_0x21afbc(0xb9)]();}[_0x11f4dd(0xeb)](){const _0x29fba3=_0x11f4dd;this[_0x29fba3(0xf3)]?this[_0x29fba3(0xd8)]():this[_0x29fba3(0xa4)]();}[_0x11f4dd(0xd1)](_0x110201,_0xeb390d){const _0xef531b=_0x11f4dd,_0xf3bd2=new this[(_0xef531b(0xc8))][(_0xef531b(0xb4))](this[_0xef531b(0xea)],_0x110201,{'maxCommentCharsWhenCollapsed':this[_0xef531b(0xc8)][_0xef531b(0xdf)],'formatDateTime':this[_0xef531b(0xc8)][_0xef531b(0xad)],'editorConfig':this[_0xef531b(0xc8)][_0xef531b(0x99)]});_0xf3bd2[_0xef531b(0xe6)]=_0x110201['id'],_0xf3bd2[_0xef531b(0xc6)](_0xef531b(0xc5))['to'](this),_0xf3bd2[_0xef531b(0xc6)](_0xef531b(0xa7))['to'](this),_0xf3bd2[_0xef531b(0xc6)](_0xef531b(0xc0))['to'](this),_0xf3bd2[_0xef531b(0xc6)](_0xef531b(0xb5))['to'](this),_0xf3bd2[_0xef531b(0xc6)](_0xef531b(0xc2))['to'](this),this[_0xef531b(0xe3)](_0xf3bd2,_0xef531b(0xdb),()=>this[_0xef531b(0xa6)]()),this[_0xef531b(0xdd)][_0xef531b(0x97)](_0xf3bd2,_0xeb390d);}[_0x11f4dd(0x96)](_0x51ffe0){const _0x16788d=_0x11f4dd,_0x452578=this[_0x16788d(0xde)][_0x16788d(0xcf)](_0x51ffe0);return this[_0x16788d(0xed)]?this[_0x16788d(0xed)][_0x16788d(0xb2)]>_0x51ffe0[_0x16788d(0xb2)]?_0x452578-0x1:_0x452578:_0x452578-0x1;}[_0x11f4dd(0xee)](){const _0x314f4d=_0x11f4dd;if(this[_0x314f4d(0xde)][_0x314f4d(0xec)]&&this[_0x314f4d(0xde)][_0x314f4d(0xb0)]){const _0x5d1fe5={'id':_0x314f4d(0xce),'author':this[_0x314f4d(0xde)][_0x314f4d(0xec)],'authoredAt':this[_0x314f4d(0xde)][_0x314f4d(0xb0)],'content':_0x4412ff(this[_0x314f4d(0xea)],_0x314f4d(0xd9)),'attributes':{}};this[_0x314f4d(0xed)]=new this[(_0x314f4d(0xc8))][(_0x314f4d(0xb4))](this[_0x314f4d(0xea)],_0x5d1fe5,{'maxCommentCharsWhenCollapsed':this[_0x314f4d(0xc8)][_0x314f4d(0xdf)],'formatDateTime':this[_0x314f4d(0xc8)][_0x314f4d(0xad)],'editorConfig':this[_0x314f4d(0xc8)][_0x314f4d(0x99)],'isSystemComment':!0x0}),this[_0x314f4d(0xdd)][_0x314f4d(0x97)](this[_0x314f4d(0xed)],this[_0x314f4d(0xde)][_0x314f4d(0xcf)](_0x5d1fe5));}else this[_0x314f4d(0xed)]&&(this[_0x314f4d(0xdd)][_0x314f4d(0xa5)](this[_0x314f4d(0xed)]),this[_0x314f4d(0xed)][_0x314f4d(0xb9)](),this[_0x314f4d(0xed)]=null);this[_0x314f4d(0xeb)]();}[_0x11f4dd(0xca)](_0x34510e){const _0x1aa3e9=_0x11f4dd,_0x24e6c1=this[_0x1aa3e9(0xdd)][_0x1aa3e9(0xa5)](_0x34510e['id']);this[_0x1aa3e9(0xa3)](_0x24e6c1),_0x24e6c1[_0x1aa3e9(0xbe)]&&this[_0x1aa3e9(0xa6)](),_0x24e6c1[_0x1aa3e9(0xb9)]();}[_0x11f4dd(0xa6)](){const _0x40438d=_0x11f4dd;this[_0x40438d(0xab)]=Array[_0x40438d(0xba)](this[_0x40438d(0xdd)])[_0x40438d(0xe4)](_0x49db94=>_0x49db94[_0x40438d(0xbe)]);}[_0x11f4dd(0xd8)](){const _0x4a343d=_0x11f4dd,_0x5b1fdb=function(_0xcc2990){const _0x224981=_0x4a6d,_0x9b6671=new _0x30cf02();for(const _0x596b38 of _0xcc2990)_0x9b6671[_0x224981(0x97)](_0x596b38);return _0x9b6671;}(this[_0x4a343d(0xdd)]),_0x3904a3=this[_0x4a343d(0xa0)][_0x4a343d(0xd4)];for(let _0x588421=0x1;_0x588421<=_0x3904a3;_0x588421++)_0x5b1fdb[_0x4a343d(0xa5)](0x1);for(const _0x10908d of _0x5b1fdb)_0x10908d[_0x4a343d(0xbd)]();_0x3904a3>0x0&&_0x5b1fdb[_0x4a343d(0x97)](this[_0x4a343d(0xa0)],0x1),ns(_0x1cd591(Array[_0x4a343d(0xba)](this[_0x4a343d(0xef)]),Array[_0x4a343d(0xba)](_0x5b1fdb)),this[_0x4a343d(0xef)],_0x5b1fdb);}[_0x11f4dd(0xa4)](){const _0x5be1a4=_0x11f4dd;ns(_0x1cd591(Array[_0x5be1a4(0xba)](this[_0x5be1a4(0xef)]),Array[_0x5be1a4(0xba)](this[_0x5be1a4(0xdd)])),this[_0x5be1a4(0xef)],this[_0x5be1a4(0xdd)]);for(const _0x250f56 of this[_0x5be1a4(0xef)])_0x250f56[_0x5be1a4(0x98)]();}[_0x11f4dd(0x9e)](){const _0x1e18ef=_0x11f4dd;this[_0x1e18ef(0xdd)][_0x1e18ef(0x9f)](_0x2fd198=>{const _0x4d8e7b=_0x1e18ef;this[_0x4d8e7b(0xc4)][_0x4d8e7b(0x97)](_0x2fd198[_0x4d8e7b(0xc9)]),this[_0x4d8e7b(0xe7)][_0x4d8e7b(0xe3)](_0x2fd198[_0x4d8e7b(0xc9)]);}),this[_0x1e18ef(0xdd)]['on'](_0x1e18ef(0xd0),(_0x5df4b9,_0x2f7862)=>{const _0x2ed253=_0x1e18ef;for(const _0x5d6f35 of _0x2f7862[_0x2ed253(0xdc)])this[_0x2ed253(0xc4)][_0x2ed253(0xa5)](_0x5d6f35[_0x2ed253(0xc9)]),this[_0x2ed253(0xe7)][_0x2ed253(0xa3)](_0x5d6f35[_0x2ed253(0xc9)]);for(const _0x5e7843 of Array[_0x2ed253(0xba)](_0x2f7862[_0x2ed253(0xcd)])[_0x2ed253(0x9a)]())this[_0x2ed253(0xc4)][_0x2ed253(0x97)](_0x5e7843[_0x2ed253(0xc9)]),this[_0x2ed253(0xe7)][_0x2ed253(0xe3)](_0x5e7843[_0x2ed253(0xc9)]);});}}function _0x4a6d(_0x53cf00,_0x2d263c){const _0x402492=_0x4024();return _0x4a6d=function(_0x4a6d90,_0x390e8f){_0x4a6d90=_0x4a6d90-0x95;let _0x130d13=_0x402492[_0x4a6d90];return _0x130d13;},_0x4a6d(_0x53cf00,_0x2d263c);}function ns(_0x4548ce,_0x37aac2,_0x2a3554){const _0xe23a02=_0x11f4dd;let _0x1f999f=0x0;for(const _0x4a49c0 of _0x4548ce)switch(_0x4a49c0){case _0xe23a02(0xd3):_0x37aac2[_0xe23a02(0x97)](_0x2a3554[_0xe23a02(0x9b)](_0x1f999f),_0x1f999f),_0x1f999f++;break;case _0xe23a02(0xaf):_0x37aac2[_0xe23a02(0xa5)](_0x1f999f);break;case _0xe23a02(0xbc):_0x1f999f++;}}function _0x4024(){const _0x3cf292=['_calculatePosition','add','expand','editorConfig','reverse','get','focusLast','9373086GgEhZx','_setupKeyboardNavigation','forEach','_collapsedCommentsView','367944UfIvfT','bind','stopListening','_rearrangeExpand','remove','_updateHasDirtyComment','updateComment','647551oRQRXR','12tWbVZb','focus','hasDirtyComment','comments','formatDateTime','createCollection','delete','resolvedAt','19192GHaSjy','authoredAt','render','CommentView','editorReady','ck-hidden','setTemplate','change:hasDirtyComment','destroy','from','weight','equal','collapse','isEditMode','bindTemplate','resolveCommentThread','change:isActive','editorDestroyed','isActive','focusTracker','removeComment','delegate','Thread\x20comments','_config','element','_handleRemoveCommentModel','length','81PIXpQb','added','resolved','_findOptimalIndex','change','_handleNewCommentModel','40CmfaFx','insert','count','maxThreadTotalWeight','change:isResolved','commentUpdated','_rearrangeCollapse','Marked\x20as\x20resolved','ck-thread__comments','change:isEditMode','removed','commentViews','_model','maxCommentCharsWhenCollapsed','arrowdown','map','1121226sOiQkU','listenTo','some','includes','viewUid','keystrokes','arrowup','focusFirst','locale','refreshVisibleViews','resolvedBy','resolvedCommentView','_handleInfoComment','visibleViews','63LEvTHx','set','221015VtsgjI','_shouldCollapse','target','maxCommentsWhenCollapsed','5968677NauWQq','focusCycler'];_0x4024=function(){return _0x3cf292;};return _0x4024();}
|
|
23
|
+
const _0x4eb069=_0x43a0;(function(_0x4843ce,_0x58db49){const _0x19a5bb=_0x43a0,_0x15a32c=_0x4843ce();while(!![]){try{const _0xc47170=-parseInt(_0x19a5bb(0x229))/0x1*(-parseInt(_0x19a5bb(0x210))/0x2)+parseInt(_0x19a5bb(0x21a))/0x3+-parseInt(_0x19a5bb(0x224))/0x4*(parseInt(_0x19a5bb(0x1eb))/0x5)+parseInt(_0x19a5bb(0x1d3))/0x6*(-parseInt(_0x19a5bb(0x20d))/0x7)+parseInt(_0x19a5bb(0x226))/0x8+-parseInt(_0x19a5bb(0x1f2))/0x9+-parseInt(_0x19a5bb(0x1f1))/0xa*(parseInt(_0x19a5bb(0x1d5))/0xb);if(_0xc47170===_0x58db49)break;else _0x15a32c['push'](_0x15a32c['shift']());}catch(_0x156de8){_0x15a32c['push'](_0x15a32c['shift']());}}}(_0x3058,0x487dd));import{View as _0x3f946a,FocusCycler as _0xdae878}from'ckeditor5/src/ui.js';import{diff as _0x568076,Collection as _0x4c0672,FocusTracker as _0x50c7a6,KeystrokeHandler as _0x2dd97e}from'ckeditor5/src/utils.js';function _0x3058(){const _0x3f0d6f=['remove','maxThreadTotalWeight','commentViews','resolved','map','listenTo','delete','598735PGvipp','set','ck-thread__comments','isActive','collapse','Thread\x20comments','100GMemBJ','271665JPxzhd','count','Marked\x20as\x20resolved','bindTemplate','includes','forEach','maxCommentCharsWhenCollapsed','focusCycler','_handleRemoveCommentModel','resolvedCommentView','focusLast','add','arrowup','removeComment','authoredAt','arrowdown','get','editorReady','length','keystrokes','change:isResolved','comments','hasDirtyComment','_setupKeyboardNavigation','_shouldCollapse','focus','editorDestroyed','1355571YzVlTF','formatDateTime','removed','2XfGfRI','_updateHasDirtyComment','stopListening','viewUid','_collapsedCommentsView','change:isEditMode','change:hasDirtyComment','maxCommentsWhenCollapsed','render','locale','583062NiIFXA','bind','weight','added','_config','editorConfig','delegate','updateComment','refreshVisibleViews','_calculatePosition','4qPNMFi','equal','4326600Imeyok','isEditMode','visibleViews','346814JJXqKc','CommentView','destroy','change','from','element','setTemplate','resolvedAt','_rearrangeExpand','ck-hidden','_findOptimalIndex','expand','12lfLtZb','_handleInfoComment','272613wqaOFl','focusFirst','_model','some','_handleNewCommentModel','createCollection','resolveCommentThread','resolvedBy','change:isActive','_rearrangeCollapse','target','focusTracker','insert','reverse','commentUpdated'];_0x3058=function(){return _0x3f0d6f;};return _0x3058();}import{getTranslation as _0x2967a0}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0xd7898b}from'./collapsedcommentsview.js';export class CommentsListView extends _0x3f946a{[_0x4eb069(0x1e6)];[_0x4eb069(0x1fb)];[_0x4eb069(0x1e0)];[_0x4eb069(0x205)];[_0x4eb069(0x1f9)];[_0x4eb069(0x1d7)];[_0x4eb069(0x21e)];[_0x4eb069(0x214)];constructor(_0x41828e,_0x1a2cbb,_0x21be09){const _0x398ba0=_0x4eb069;super(_0x41828e);const _0x3f5153=this[_0x398ba0(0x1f5)];this[_0x398ba0(0x1ec)](_0x398ba0(0x208),!0x1),this[_0x398ba0(0x1ec)](_0x398ba0(0x204),_0x1a2cbb[_0x398ba0(0x207)][_0x398ba0(0x204)]),this[_0x398ba0(0x1ec)](_0x398ba0(0x1ee),!0x1),this[_0x398ba0(0x1d7)]=_0x1a2cbb,this[_0x398ba0(0x21e)]=_0x21be09,this[_0x398ba0(0x1e6)]=this[_0x398ba0(0x1da)](),this[_0x398ba0(0x228)]=this[_0x398ba0(0x1da)](),this[_0x398ba0(0x1fb)]=null,this[_0x398ba0(0x1e0)]=new _0x50c7a6(),this[_0x398ba0(0x205)]=new _0x2dd97e(),this[_0x398ba0(0x1f9)]=new _0xdae878({'focusables':this[_0x398ba0(0x1e6)],'focusTracker':this[_0x398ba0(0x1e0)],'keystrokeHandler':this[_0x398ba0(0x205)],'keystrokeHandlerOptions':{'filter':_0x5951df=>this[_0x398ba0(0x1e6)][_0x398ba0(0x1e8)](_0x1254d8=>_0x1254d8[_0x398ba0(0x22e)])[_0x398ba0(0x1f6)](_0x5951df[_0x398ba0(0x1df)])},'actions':{'focusPrevious':_0x398ba0(0x1fe),'focusNext':_0x398ba0(0x201)}}),this[_0x398ba0(0x214)]=new _0xd7898b(_0x41828e),this[_0x398ba0(0x214)][_0x398ba0(0x21b)](_0x398ba0(0x1f3))['to'](this,_0x398ba0(0x204),_0x3a67f3=>_0x3a67f3-this[_0x398ba0(0x21e)][_0x398ba0(0x217)]);for(const _0x41724c of _0x1a2cbb[_0x398ba0(0x207)])this[_0x398ba0(0x1d9)](_0x41724c);this[_0x398ba0(0x1d4)](),this[_0x398ba0(0x1e9)](_0x1a2cbb[_0x398ba0(0x207)],_0x398ba0(0x1fd),(_0x48af1f,_0x285afa)=>{const _0x2b190e=_0x398ba0,_0x265cea=this[_0x2b190e(0x223)](_0x285afa);this[_0x2b190e(0x204)]++,this[_0x2b190e(0x1d9)](_0x285afa,_0x265cea),this[_0x2b190e(0x222)]();}),this[_0x398ba0(0x1e9)](_0x1a2cbb[_0x398ba0(0x207)],_0x398ba0(0x1e4),(_0x147142,_0x2fd20f)=>{const _0x363dec=_0x398ba0;this[_0x363dec(0x204)]--,this[_0x363dec(0x1fa)](_0x2fd20f),this[_0x363dec(0x222)]();}),this[_0x398ba0(0x1e9)](_0x1a2cbb,_0x398ba0(0x1e3),()=>this[_0x398ba0(0x222)]()),this[_0x398ba0(0x1e9)](_0x1a2cbb,_0x398ba0(0x206),()=>this[_0x398ba0(0x1d4)]()),this['on'](_0x398ba0(0x1dd),()=>this[_0x398ba0(0x222)]()),this['on'](_0x398ba0(0x216),()=>this[_0x398ba0(0x222)]()),this[_0x398ba0(0x22f)]({'tag':'ul','attributes':{'class':[_0x398ba0(0x1ed),_0x3f5153['if'](_0x398ba0(0x204),_0x398ba0(0x1d0),_0x305a42=>!_0x305a42)],'aria-label':_0x2967a0(_0x41828e,_0x398ba0(0x1f0))},'children':this[_0x398ba0(0x228)]});}get[_0x4eb069(0x20a)](){const _0x5ea526=_0x4eb069;return this[_0x5ea526(0x1d7)][_0x5ea526(0x21c)]>this[_0x5ea526(0x21e)][_0x5ea526(0x1e5)]&&!this[_0x5ea526(0x1ee)]&&!this[_0x5ea526(0x208)];}[_0x4eb069(0x218)](){const _0x64306=_0x4eb069;super[_0x64306(0x218)](),this[_0x64306(0x222)](),this[_0x64306(0x209)]();}[_0x4eb069(0x20b)](_0x26cc29){const _0x9798bf=_0x4eb069;-0x1===_0x26cc29?this[_0x9798bf(0x1f9)][_0x9798bf(0x1fc)]():this[_0x9798bf(0x1f9)][_0x9798bf(0x1d6)]();}[_0x4eb069(0x22b)](){const _0x26bbaa=_0x4eb069;this[_0x26bbaa(0x214)][_0x26bbaa(0x22b)]();for(const _0x2e0de5 of this[_0x26bbaa(0x1e6)])_0x2e0de5[_0x26bbaa(0x22b)]();super[_0x26bbaa(0x22b)]();}[_0x4eb069(0x222)](){const _0x13606f=_0x4eb069;this[_0x13606f(0x20a)]?this[_0x13606f(0x1de)]():this[_0x13606f(0x1cf)]();}[_0x4eb069(0x1d9)](_0x436e5b,_0x468436){const _0x1cecfc=_0x4eb069,_0xa5adb6=new this[(_0x1cecfc(0x21e))][(_0x1cecfc(0x22a))](this[_0x1cecfc(0x219)],_0x436e5b,{'maxCommentCharsWhenCollapsed':this[_0x1cecfc(0x21e)][_0x1cecfc(0x1f8)],'formatDateTime':this[_0x1cecfc(0x21e)][_0x1cecfc(0x20e)],'editorConfig':this[_0x1cecfc(0x21e)][_0x1cecfc(0x21f)]});_0xa5adb6[_0x1cecfc(0x213)]=_0x436e5b['id'],_0xa5adb6[_0x1cecfc(0x220)](_0x1cecfc(0x1ff))['to'](this),_0xa5adb6[_0x1cecfc(0x220)](_0x1cecfc(0x221))['to'](this),_0xa5adb6[_0x1cecfc(0x220)](_0x1cecfc(0x1db))['to'](this),_0xa5adb6[_0x1cecfc(0x220)](_0x1cecfc(0x203))['to'](this),_0xa5adb6[_0x1cecfc(0x220)](_0x1cecfc(0x20c))['to'](this),this[_0x1cecfc(0x1e9)](_0xa5adb6,_0x1cecfc(0x215),()=>this[_0x1cecfc(0x211)]()),this[_0x1cecfc(0x1e6)][_0x1cecfc(0x1fd)](_0xa5adb6,_0x468436);}[_0x4eb069(0x223)](_0x1f1866){const _0x50c94a=_0x4eb069,_0x4d49f2=this[_0x50c94a(0x1d7)][_0x50c94a(0x1d1)](_0x1f1866);return this[_0x50c94a(0x1fb)]?this[_0x50c94a(0x1fb)][_0x50c94a(0x200)]>_0x1f1866[_0x50c94a(0x200)]?_0x4d49f2-0x1:_0x4d49f2:_0x4d49f2-0x1;}[_0x4eb069(0x1d4)](){const _0x31d5d4=_0x4eb069;if(this[_0x31d5d4(0x1d7)][_0x31d5d4(0x1dc)]&&this[_0x31d5d4(0x1d7)][_0x31d5d4(0x1ce)]){const _0x21a6ef={'id':_0x31d5d4(0x1e7),'author':this[_0x31d5d4(0x1d7)][_0x31d5d4(0x1dc)],'authoredAt':this[_0x31d5d4(0x1d7)][_0x31d5d4(0x1ce)],'content':_0x2967a0(this[_0x31d5d4(0x219)],_0x31d5d4(0x1f4)),'attributes':{}};this[_0x31d5d4(0x1fb)]=new this[(_0x31d5d4(0x21e))][(_0x31d5d4(0x22a))](this[_0x31d5d4(0x219)],_0x21a6ef,{'maxCommentCharsWhenCollapsed':this[_0x31d5d4(0x21e)][_0x31d5d4(0x1f8)],'formatDateTime':this[_0x31d5d4(0x21e)][_0x31d5d4(0x20e)],'editorConfig':this[_0x31d5d4(0x21e)][_0x31d5d4(0x21f)],'isSystemComment':!0x0}),this[_0x31d5d4(0x1e6)][_0x31d5d4(0x1fd)](this[_0x31d5d4(0x1fb)],this[_0x31d5d4(0x1d7)][_0x31d5d4(0x1d1)](_0x21a6ef));}else this[_0x31d5d4(0x1fb)]&&(this[_0x31d5d4(0x1e6)][_0x31d5d4(0x1e4)](this[_0x31d5d4(0x1fb)]),this[_0x31d5d4(0x1fb)][_0x31d5d4(0x22b)](),this[_0x31d5d4(0x1fb)]=null);this[_0x31d5d4(0x222)]();}[_0x4eb069(0x1fa)](_0x2fab62){const _0x12f111=_0x4eb069,_0x254da9=this[_0x12f111(0x1e6)][_0x12f111(0x1e4)](_0x2fab62['id']);this[_0x12f111(0x212)](_0x254da9),_0x254da9[_0x12f111(0x227)]&&this[_0x12f111(0x211)](),_0x254da9[_0x12f111(0x22b)]();}[_0x4eb069(0x211)](){const _0x32b364=_0x4eb069;this[_0x32b364(0x208)]=Array[_0x32b364(0x22d)](this[_0x32b364(0x1e6)])[_0x32b364(0x1d8)](_0x278c12=>_0x278c12[_0x32b364(0x227)]);}[_0x4eb069(0x1de)](){const _0x46ac5c=_0x4eb069,_0x517a9c=function(_0x2a6e75){const _0x570978=_0x43a0,_0x33fdb=new _0x4c0672();for(const _0x415562 of _0x2a6e75)_0x33fdb[_0x570978(0x1fd)](_0x415562);return _0x33fdb;}(this[_0x46ac5c(0x1e6)]),_0x4abb04=this[_0x46ac5c(0x214)][_0x46ac5c(0x1f3)];for(let _0x152c22=0x1;_0x152c22<=_0x4abb04;_0x152c22++)_0x517a9c[_0x46ac5c(0x1e4)](0x1);for(const _0x1367e5 of _0x517a9c)_0x1367e5[_0x46ac5c(0x1ef)]();_0x4abb04>0x0&&_0x517a9c[_0x46ac5c(0x1fd)](this[_0x46ac5c(0x214)],0x1),ns(_0x568076(Array[_0x46ac5c(0x22d)](this[_0x46ac5c(0x228)]),Array[_0x46ac5c(0x22d)](_0x517a9c)),this[_0x46ac5c(0x228)],_0x517a9c);}[_0x4eb069(0x1cf)](){const _0x45de35=_0x4eb069;ns(_0x568076(Array[_0x45de35(0x22d)](this[_0x45de35(0x228)]),Array[_0x45de35(0x22d)](this[_0x45de35(0x1e6)])),this[_0x45de35(0x228)],this[_0x45de35(0x1e6)]);for(const _0x14ba40 of this[_0x45de35(0x228)])_0x14ba40[_0x45de35(0x1d2)]();}[_0x4eb069(0x209)](){const _0x3a4fc5=_0x4eb069;this[_0x3a4fc5(0x1e6)][_0x3a4fc5(0x1f7)](_0x53b776=>{const _0x398b5c=_0x3a4fc5;this[_0x398b5c(0x1e0)][_0x398b5c(0x1fd)](_0x53b776[_0x398b5c(0x22e)]),this[_0x398b5c(0x205)][_0x398b5c(0x1e9)](_0x53b776[_0x398b5c(0x22e)]);}),this[_0x3a4fc5(0x1e6)]['on'](_0x3a4fc5(0x22c),(_0x4e98a3,_0x50bf73)=>{const _0x4fb7d0=_0x3a4fc5;for(const _0xf3582 of _0x50bf73[_0x4fb7d0(0x20f)])this[_0x4fb7d0(0x1e0)][_0x4fb7d0(0x1e4)](_0xf3582[_0x4fb7d0(0x22e)]),this[_0x4fb7d0(0x205)][_0x4fb7d0(0x212)](_0xf3582[_0x4fb7d0(0x22e)]);for(const _0x3d0a6f of Array[_0x4fb7d0(0x22d)](_0x50bf73[_0x4fb7d0(0x21d)])[_0x4fb7d0(0x1e2)]())this[_0x4fb7d0(0x1e0)][_0x4fb7d0(0x1fd)](_0x3d0a6f[_0x4fb7d0(0x22e)]),this[_0x4fb7d0(0x205)][_0x4fb7d0(0x1e9)](_0x3d0a6f[_0x4fb7d0(0x22e)]);});}}function _0x43a0(_0x12ea0c,_0x528058){const _0x3058db=_0x3058();return _0x43a0=function(_0x43a091,_0x401728){_0x43a091=_0x43a091-0x1ce;let _0x5e5b06=_0x3058db[_0x43a091];return _0x5e5b06;},_0x43a0(_0x12ea0c,_0x528058);}function ns(_0x190d4f,_0x1d7f03,_0x519701){const _0x34022e=_0x4eb069;let _0x802cb3=0x0;for(const _0xf83335 of _0x190d4f)switch(_0xf83335){case _0x34022e(0x1e1):_0x1d7f03[_0x34022e(0x1fd)](_0x519701[_0x34022e(0x202)](_0x802cb3),_0x802cb3),_0x802cb3++;break;case _0x34022e(0x1ea):_0x1d7f03[_0x34022e(0x1e4)](_0x802cb3);break;case _0x34022e(0x225):_0x802cb3++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x34ca(_0x38c805,_0x2fbfce){const _0xb6a034=_0xb6a0();return _0x34ca=function(_0x34ca3e,_0x87914a){_0x34ca3e=_0x34ca3e-0x78;let _0xa764f1=_0xb6a034[_0x34ca3e];return _0xa764f1;},_0x34ca(_0x38c805,_0x2fbfce);}const _0x21ec6a=_0x34ca;(function(_0x819bf3,_0x5f21b4){const _0x5a3261=_0x34ca,_0x86c7a8=_0x819bf3();while(!![]){try{const _0x5f26eb=parseInt(_0x5a3261(0x7f))/0x1+-parseInt(_0x5a3261(0x88))/0x2*(parseInt(_0x5a3261(0x8a))/0x3)+parseInt(_0x5a3261(0x85))/0x4+parseInt(_0x5a3261(0x7d))/0x5*(parseInt(_0x5a3261(0x8b))/0x6)+parseInt(_0x5a3261(0x84))/0x7*(parseInt(_0x5a3261(0x87))/0x8)+parseInt(_0x5a3261(0x82))/0x9*(-parseInt(_0x5a3261(0x89))/0xa)+-parseInt(_0x5a3261(0x7e))/0xb;if(_0x5f26eb===_0x5f21b4)break;else _0x86c7a8['push'](_0x86c7a8['shift']());}catch(_0x490551){_0x86c7a8['push'](_0x86c7a8['shift']());}}}(_0xb6a0,0x914fc));import{View as _0x36c865}from'ckeditor5/src/ui.js';import{getTranslation as _0x5332a3}from'../../../utils/common-translations.js';function _0xb6a0(){const _0x3684cc=['focus','20exfxgM','10689921sgbelY','1137137EKKgAg','set','setTemplate','661077LNXMsU','element','103817hITVuS','3965548eIVoxx','THREAD_CONTEXT_LABEL','336gzptma','332orILoJ','110kNzHOj','14982QtrsSP','678852jIODhk','ck-context__value','contextValue','span','bindTemplate'];_0xb6a0=function(){return _0x3684cc;};return _0xb6a0();}export class CommentThreadHeaderContextView extends _0x36c865{constructor(_0x128b75){const _0x120b0c=_0x34ca;super(_0x128b75);const _0x5b5954=this[_0x120b0c(0x7b)];this[_0x120b0c(0x80)](_0x120b0c(0x79),''),this[_0x120b0c(0x81)]({'tag':_0x120b0c(0x7a),'attributes':{'class':['ck',_0x120b0c(0x78)],'aria-label':_0x5b5954['to'](_0x120b0c(0x79),_0x5b1cb0=>_0x5332a3(_0x128b75,_0x120b0c(0x86),_0x5b1cb0)),'tabindex':-0x1},'children':[{'text':_0x5b5954['to'](_0x120b0c(0x79))}]});}[_0x21ec6a(0x7c)](){const _0x8cb3e7=_0x21ec6a;this[_0x8cb3e7(0x83)][_0x8cb3e7(0x7c)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x156de1=_0x54a6;(function(_0x5ba50b,_0x1524ea){const _0x343767=_0x54a6,_0x243450=_0x5ba50b();while(!![]){try{const _0xabb23b=-parseInt(_0x343767(0x181))/0x1+-parseInt(_0x343767(0x1bd))/0x2*(-parseInt(_0x343767(0x1ae))/0x3)+parseInt(_0x343767(0x1a6))/0x4+parseInt(_0x343767(0x184))/0x5*(parseInt(_0x343767(0x18b))/0x6)+-parseInt(_0x343767(0x1c6))/0x7*(parseInt(_0x343767(0x1a8))/0x8)+-parseInt(_0x343767(0x18a))/0x9*(parseInt(_0x343767(0x1a9))/0xa)+-parseInt(_0x343767(0x196))/0xb*(parseInt(_0x343767(0x1b0))/0xc);if(_0xabb23b===_0x1524ea)break;else _0x243450['push'](_0x243450['shift']());}catch(_0x43f2ad){_0x243450['push'](_0x243450['shift']());}}}(_0x2ab5,0xae6f5));import{View as _0x2a452f,ButtonView as _0x38713e,FocusCycler as _0x1f6e58}from'ckeditor5/src/ui.js';import{FocusTracker as _0x51d5d6,KeystrokeHandler as _0x524607}from'ckeditor5/src/utils.js';import{IconUndo as _0x56deee}from'ckeditor5/src/icons.js';function _0x2ab5(){const _0x4674eb=['ck-context--quotes','fire','_trimContextValue','isReadOnly','querySelector','createCollection','div','_createReopenButton','...','length','_createContextView','Reopen','contextView','icon','contextValue','3389928ACTpDh','setTemplate','4064RSxXPf','30trWJDi','reopenCommentThread','.ck-context__value','_attachContextActions','bind','12477PXBKcE','context','36kASEiI','listenTo','ck-context','scrollWidth','focusFirst','reopenButtonView','mouseleave','substring','ck-annotation__actions','isEnabled','_setupKeyboardNavigation','element','focusTracker','650IHAkMV','Comment\x20was\x20made\x20on\x20an\x20element','execute','bindTemplate','ck-context-wrapper','overlay','isResolved','render','classList','12698dIBDQG','_model','hasContext','offsetWidth','lastIndexOf','8650vXliIH','keystrokes','focusCycler','260nNGcjE','shift+tab','isVisible','focusables','mouseenter','add','1397691BQbnlX','149172IEGXaj','.ck-context','tooltip','isResolvable','locale','tab','focus','ck-thread__header','label','value','remove','5065269RUQFlq'];_0x2ab5=function(){return _0x4674eb;};return _0x2ab5();}import{getTranslation as _0x44282c}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x5216de}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;function _0x54a6(_0x27c354,_0x957c9e){const _0x2ab532=_0x2ab5();return _0x54a6=function(_0x54a6e4,_0x190e00){_0x54a6e4=_0x54a6e4-0x17d;let _0x54dd00=_0x2ab532[_0x54a6e4];return _0x54dd00;},_0x54a6(_0x27c354,_0x957c9e);}export class CommentThreadHeaderView extends _0x2a452f{[_0x156de1(0x17d)];[_0x156de1(0x1b5)];[_0x156de1(0x1a3)];[_0x156de1(0x187)];[_0x156de1(0x1bc)];[_0x156de1(0x182)];[_0x156de1(0x183)];constructor(_0xa3ee64,_0xfcd3d0){const _0x120678=_0x156de1;super(_0xa3ee64);const _0x4b1126=this[_0x120678(0x1c0)];this[_0x120678(0x17d)]=_0xfcd3d0,this[_0x120678(0x1b5)]=this[_0x120678(0x19e)](),this[_0x120678(0x1a3)]=this[_0x120678(0x1a1)](),this[_0x120678(0x187)]=this[_0x120678(0x19c)]([this[_0x120678(0x1a3)],this[_0x120678(0x1b5)]]),this[_0x120678(0x1bc)]=new _0x51d5d6(),this[_0x120678(0x182)]=new _0x524607(),this[_0x120678(0x183)]=new _0x1f6e58({'focusables':this[_0x120678(0x187)],'focusTracker':this[_0x120678(0x1bc)],'keystrokeHandler':this[_0x120678(0x182)],'actions':{'focusPrevious':_0x120678(0x185),'focusNext':_0x120678(0x190)}}),this[_0x120678(0x1ad)](_0x120678(0x17e))['to'](this[_0x120678(0x17d)],_0x120678(0x1af),_0x3437ff=>!!_0x3437ff),this[_0x120678(0x1ad)](_0x120678(0x1a5))['to'](this[_0x120678(0x17d)],_0x120678(0x1af),_0x19def4=>_0x19def4&&_0x19def4[_0x120678(0x194)]?this[_0x120678(0x199)](_0x19def4[_0x120678(0x194)]):_0x44282c(this[_0x120678(0x18f)],_0x120678(0x1be))),this[_0x120678(0x1a7)]({'tag':_0x120678(0x19d),'attributes':{'class':[_0x120678(0x192)]},'children':[{'tag':_0x120678(0x19d),'attributes':{'class':[_0x120678(0x1c1)]},'children':[{'tag':_0x120678(0x19d),'attributes':{'class':[_0x120678(0x1b2),_0x4b1126['if'](_0x120678(0x17e),_0x120678(0x197))]},'children':[this[_0x120678(0x1a3)]]}]},{'tag':_0x120678(0x19d),'attributes':{'class':[_0x120678(0x1b8)]},'children':[this[_0x120678(0x1b5)]]}]});}[_0x156de1(0x1c4)](){const _0xd936b5=_0x156de1;super[_0xd936b5(0x1c4)](),this[_0xd936b5(0x1ac)](),this[_0xd936b5(0x1ba)]();}[_0x156de1(0x191)](){const _0x1b79be=_0x156de1;this[_0x1b79be(0x183)][_0x1b79be(0x1b4)]();}[_0x156de1(0x19e)](){const _0x934a99=_0x156de1,_0x1a9473=new _0x38713e(this[_0x934a99(0x18f)]);return _0x1a9473[_0x934a99(0x193)]=_0x44282c(this[_0x934a99(0x18f)],_0x934a99(0x1a2)),_0x1a9473[_0x934a99(0x18d)]=_0x44282c(this[_0x934a99(0x18f)],_0x934a99(0x1a2)),_0x1a9473[_0x934a99(0x1a4)]=_0x56deee,_0x1a9473[_0x934a99(0x1ad)](_0x934a99(0x1b9))['to'](this[_0x934a99(0x17d)],_0x934a99(0x19a),_0x4ce230=>!_0x4ce230),_0x1a9473[_0x934a99(0x1ad)](_0x934a99(0x186))['to'](this[_0x934a99(0x17d)],_0x934a99(0x18e),this[_0x934a99(0x17d)],_0x934a99(0x1c3),(_0x4ebd39,_0x54aa75)=>_0x4ebd39&&_0x54aa75),_0x1a9473['on'](_0x934a99(0x1bf),()=>{const _0x3f2fea=_0x934a99;this[_0x3f2fea(0x198)](_0x3f2fea(0x1aa),this[_0x3f2fea(0x17d)]['id']);}),_0x1a9473;}[_0x156de1(0x199)](_0x265bc9){const _0x5a6e6d=_0x156de1;if(_0x265bc9[_0x5a6e6d(0x1a0)]<0x96)return _0x265bc9;const _0x2134c5=_0x265bc9[_0x5a6e6d(0x180)]('\x20',0x93);return _0x265bc9[_0x5a6e6d(0x1b7)](0x0,_0x2134c5>-0x1?_0x2134c5:0x93)+_0x5a6e6d(0x19f);}[_0x156de1(0x1ac)](){const _0x49a146=_0x156de1,_0x1fce9f=this[_0x49a146(0x1bb)][_0x49a146(0x19b)](_0x49a146(0x18c)),_0x1bf339=_0x1fce9f[_0x49a146(0x19b)](_0x49a146(0x1ab));this[_0x49a146(0x1b1)](_0x1fce9f,_0x49a146(0x188),()=>{const _0x3d191a=_0x49a146;_0x1bf339[_0x3d191a(0x17f)]<_0x1bf339[_0x3d191a(0x1b3)]&&_0x1fce9f[_0x3d191a(0x1c5)][_0x3d191a(0x189)](_0x3d191a(0x1c2));}),this[_0x49a146(0x1b1)](_0x1fce9f,_0x49a146(0x1b6),()=>{const _0x5079c1=_0x49a146;_0x1fce9f[_0x5079c1(0x1c5)][_0x5079c1(0x195)](_0x5079c1(0x1c2));});}[_0x156de1(0x1ba)](){const _0x98b1fb=_0x156de1;this[_0x98b1fb(0x182)][_0x98b1fb(0x1b1)](this[_0x98b1fb(0x1bb)]);for(const _0x3c978f of this[_0x98b1fb(0x187)])this[_0x98b1fb(0x1bc)][_0x98b1fb(0x189)](_0x3c978f[_0x98b1fb(0x1bb)]),this[_0x98b1fb(0x182)][_0x98b1fb(0x1b1)](_0x3c978f[_0x98b1fb(0x1bb)]);}[_0x156de1(0x1a1)](){const _0x34de62=_0x156de1,_0x1ba938=new _0x5216de(this[_0x34de62(0x18f)]);return _0x1ba938[_0x34de62(0x1ad)](_0x34de62(0x1a5))['to'](this),_0x1ba938;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0xb461d4=_0x5d18;function _0x1886(){const _0x1850ec=['110kaZQPX','8QSEDkS','5452839OCPNNw','destroy','setTemplate','mousedown','1254204degYbx','commentInputView','set','value','some','target','change:showInput','editorReady','contains','delegate','extendTemplate','preventDefault','bindTemplate','showButtons','render','filter','bind','9301536nwwvLL','editorDestroyed','then','userView','focusCycler','showInput','ck-thread__user','div','ck-comment__input-container--active','_focusOnNonInteractiveMouseDown','isFocused','element','172974hXqhfm','editor','1673268OoHUNZ','listenTo','ck-comment__input-container','ck-thread__input','createEditor','focus','7469aiRAgV','editing','getDomRoot','view','2012740yDCfnm','focusTracker'];_0x1886=function(){return _0x1850ec;};return _0x1886();}(function(_0x6ee112,_0xcf51ae){const _0x2f8faa=_0x5d18,_0x1b3016=_0x6ee112();while(!![]){try{const _0x3aaac5=-parseInt(_0x2f8faa(0xba))/0x1*(parseInt(_0x2f8faa(0x8f))/0x2)+parseInt(_0x2f8faa(0xb2))/0x3+-parseInt(_0x2f8faa(0xb4))/0x4+-parseInt(_0x2f8faa(0xbe))/0x5+-parseInt(_0x2f8faa(0x95))/0x6+parseInt(_0x2f8faa(0x91))/0x7+-parseInt(_0x2f8faa(0x90))/0x8*(-parseInt(_0x2f8faa(0xa6))/0x9);if(_0x3aaac5===_0xcf51ae)break;else _0x1b3016['push'](_0x1b3016['shift']());}catch(_0x5b7abd){_0x1b3016['push'](_0x1b3016['shift']());}}}(_0x1886,0x68d85));import{View as _0x8632bc}from'ckeditor5/src/ui.js';import{CommentInputView as _0x4560ea}from'./commentinputview.js';import{UserView as _0x57821f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5d18(_0x193491,_0x2fd88d){const _0x18862b=_0x1886();return _0x5d18=function(_0x5d1826,_0x36ad7a){_0x5d1826=_0x5d1826-0x8e;let _0x4f9365=_0x18862b[_0x5d1826];return _0x4f9365;},_0x5d18(_0x193491,_0x2fd88d);}export class CommentThreadInputView extends _0x8632bc{constructor(_0x41f343,_0x136cb2,_0x5d52ac){const _0x135401=_0x5d18;super(_0x41f343),this[_0x135401(0x96)]=new _0x4560ea(_0x41f343,_0x5d52ac),this[_0x135401(0xaa)]=this[_0x135401(0x96)][_0x135401(0xaa)],this[_0x135401(0x96)][_0x135401(0xa5)](_0x135401(0xa2))['to'](this[_0x135401(0x96)][_0x135401(0x8e)],_0x135401(0xb0),this[_0x135401(0x96)],_0x135401(0x98),(_0x5a9585,_0x2a7182)=>_0x5a9585||!!_0x2a7182),this[_0x135401(0x97)](_0x135401(0xab),!0x1),this['on'](_0x135401(0x9b),()=>{const _0x2bd6c0=_0x135401;this[_0x2bd6c0(0xab)]&&!this[_0x2bd6c0(0x96)][_0x2bd6c0(0xb3)]&&this[_0x2bd6c0(0x96)][_0x2bd6c0(0xb8)]();}),this[_0x135401(0x96)][_0x135401(0x9e)](_0x135401(0x9c))['to'](this),this[_0x135401(0x96)][_0x135401(0x9e)](_0x135401(0xa7))['to'](this),this[_0x135401(0xa9)]=new _0x57821f(_0x41f343,_0x136cb2),this[_0x135401(0xa9)][_0x135401(0x9f)]({'attributes':{'class':_0x135401(0xac),'aria-hidden':!0x0}}),this[_0x135401(0x96)][_0x135401(0x9f)]({'attributes':{'class':_0x135401(0xb7)}}),this[_0x135401(0x93)]({'tag':_0x135401(0xad),'attributes':{'class':[_0x135401(0xb6),this[_0x135401(0xa1)]['if'](_0x135401(0xab),_0x135401(0xae))]},'children':[this[_0x135401(0xa9)],this[_0x135401(0x96)]]});}[_0xb461d4(0xa3)](){const _0xf51d4c=_0xb461d4;super[_0xf51d4c(0xa3)](),this[_0xf51d4c(0xaf)]();}[_0xb461d4(0x92)](){const _0x19e93a=_0xb461d4;return this[_0x19e93a(0x96)][_0x19e93a(0x92)]()[_0x19e93a(0xa8)](()=>super[_0x19e93a(0x92)]());}[_0xb461d4(0xb9)](_0xe1a995){const _0x3fa163=_0xb461d4;this[_0x3fa163(0x96)][_0x3fa163(0xb9)](_0xe1a995);}[_0xb461d4(0xaf)](){const _0x299805=_0xb461d4;this[_0x299805(0xb5)](this[_0x299805(0xb1)],_0x299805(0x94),(_0x354224,_0xcdf848)=>{const _0x236c9a=_0x299805,{submitButtonView:_0x3d580a,cancelButtonView:_0x4138bc,editor:_0x49d7fc}=this[_0x236c9a(0x96)];[_0x3d580a[_0x236c9a(0xb1)],_0x4138bc[_0x236c9a(0xb1)],_0x49d7fc?_0x49d7fc[_0x236c9a(0xbb)][_0x236c9a(0xbd)][_0x236c9a(0xbc)]():null][_0x236c9a(0xa4)](_0x5ac407=>_0x5ac407)[_0x236c9a(0x99)](_0x311fed=>_0x311fed[_0x236c9a(0x9d)](_0xcdf848[_0x236c9a(0x9a)]))||(this[_0x236c9a(0xb9)](),_0xcdf848[_0x236c9a(0xa0)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x265d(_0x56286a,_0x2adbb1){const _0x518e69=_0x518e();return _0x265d=function(_0x265d10,_0x345eb6){_0x265d10=_0x265d10-0xb5;let _0x489833=_0x518e69[_0x265d10];return _0x489833;},_0x265d(_0x56286a,_0x2adbb1);}const _0x4f7bc2=_0x265d;(function(_0x597bab,_0x40e935){const _0xae69ec=_0x265d,_0x122c6f=_0x597bab();while(!![]){try{const _0x2a81f5=parseInt(_0xae69ec(0x102))/0x1*(-parseInt(_0xae69ec(0xd9))/0x2)+-parseInt(_0xae69ec(0xcf))/0x3+-parseInt(_0xae69ec(0xef))/0x4+-parseInt(_0xae69ec(0xe3))/0x5*(-parseInt(_0xae69ec(0xec))/0x6)+parseInt(_0xae69ec(0xb6))/0x7*(-parseInt(_0xae69ec(0xc4))/0x8)+-parseInt(_0xae69ec(0xd1))/0x9+parseInt(_0xae69ec(0xb9))/0xa*(parseInt(_0xae69ec(0xfe))/0xb);if(_0x2a81f5===_0x40e935)break;else _0x122c6f['push'](_0x122c6f['shift']());}catch(_0x391950){_0x122c6f['push'](_0x122c6f['shift']());}}}(_0x518e,0x186bf));function _0x518e(){const _0x2885e1=['_boundFirstCommentView','commentThreadInputView','containerElement','length','.ck-thread__container','high','commentThreadChildren','_createResolveButton','isReadOnly','16RCHECk','bindTemplate','ck-thread__container','resolveButton','commentsListView','tooltip','label','fire','listitem','getTemplate','extendTemplate','87171qgogSJ','icon','1011015XIunvG','change:archivedAt','isResolved','isVisible','ariaDescriptionView','actionIndicator','ck-thread--unlinked','bind','46TLHJKe','element','Write\x20a\x20comment...','isEnabled','Resolve','commentViews','locale','showConfirm','ck-comment--resolve','ariaLabel','13815TXFveh','ck-thread--active','isActive','ck-rounded-corners','Delete\x20comment\x20thread?','cancelConfirm','change:isReadOnly','_cancelAllConfirms','add','228ruUcKZ','removeCommentThread','commentThreadHeaderView','194264YtNvjn','ck-thread','isResolvable','render','get','set','querySelector','isSystemComment','listenTo','change:isActive','focusables','stop','then','execute','remove','88xMDUzJ','removeButton','resolveCommentThread','setTemplate','5209gpBJeL','unbind','isUnlinked','ck-reset_all-excluded','createCollection','has','focus','actionBar','ck-thread--','removeConfirm','div','_model','archivedAt','272097MFBMrU','_updateArchivedThreadHeader','_bindFirstCommentView','478180EgpRRb','placeholder'];_0x518e=function(){return _0x2885e1;};return _0x518e();}import{ConfirmMixin as _0x2f2f4b,LateFocusButtonView as _0x22f101}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x549f3d}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x3d8a4b}from'./basecommentthreadview.js';import{getTranslation as _0x3226fe}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2f2f4b(_0x3d8a4b){[_0x4f7bc2(0xc1)];[_0x4f7bc2(0xbd)];[_0x4f7bc2(0xc7)];[_0x4f7bc2(0xbb)];constructor(_0x5abc7a,_0x2c32a,_0x244fb6,_0x3eaed5){const _0xe3b398=_0x4f7bc2;super(_0x5abc7a,_0x2c32a,_0x244fb6,_0x3eaed5),this[_0xe3b398(0xc1)]=this[_0xe3b398(0x106)]([this[_0xe3b398(0xc8)],this[_0xe3b398(0xbc)],this[_0xe3b398(0xd5)]]),this[_0xe3b398(0xf4)](_0xe3b398(0xd6),null),this[_0xe3b398(0xbd)]=null,this[_0xe3b398(0xbb)]=null,this[_0xe3b398(0xdf)]=_0x5abc7a,this[_0xe3b398(0xc7)]=this[_0xe3b398(0xc2)](),this[_0xe3b398(0x101)](this[_0xe3b398(0xcd)]()),this['on'](_0xe3b398(0xf8),(_0x41360a,_0x48ddb9,_0x3d9be5)=>{const _0x5657cf=_0xe3b398;_0x3d9be5||this[_0x5657cf(0xea)]();}),this[_0xe3b398(0xf7)](this[_0xe3b398(0x10d)],_0xe3b398(0xe9),(_0x28ddcd,_0x5d41b2,_0x2d0905)=>{const _0x345740=_0xe3b398;_0x2d0905&&this[_0x345740(0xea)]();}),this[_0xe3b398(0xbe)]>0x0&&this[_0xe3b398(0xb8)](),this[_0xe3b398(0xf7)](this[_0xe3b398(0xc8)][_0xe3b398(0xde)],_0xe3b398(0xeb),()=>{const _0x20e5d3=_0xe3b398;this[_0x20e5d3(0xb8)]();});}[_0x4f7bc2(0xcd)](){const _0xf39362=_0x4f7bc2,_0x53369e=this[_0xf39362(0xc5)];return{'tag':_0xf39362(0x10c),'attributes':{'class':['ck',_0xf39362(0xf0),_0xf39362(0x105),_0xf39362(0xe6),_0x53369e['if'](_0xf39362(0xe5),_0xf39362(0xe4)),_0x53369e['if'](_0xf39362(0x104),_0xf39362(0xd7)),_0x53369e['to'](_0xf39362(0xd6),_0x4992f8=>_0x4992f8?_0xf39362(0x10a)+_0x4992f8:'')],'data-thread-id':this[_0xf39362(0x10d)]['id'],'tabindex':0x0,'role':_0xf39362(0xcc),'aria-label':_0x53369e['to'](_0xf39362(0xe2)),'aria-describedby':this[_0xf39362(0xd5)]['id']},'children':[{'tag':_0xf39362(0x10c),'attributes':{'class':_0xf39362(0xc6)},'children':this[_0xf39362(0xc1)]}]};}[_0x4f7bc2(0xf2)](){const _0x547d7c=_0x4f7bc2;super[_0x547d7c(0xf2)](),this[_0x547d7c(0xbd)]=this[_0x547d7c(0xda)][_0x547d7c(0xf5)](_0x547d7c(0xbf)),this[_0x547d7c(0x10d)]['on'](_0x547d7c(0xd2),()=>{const _0x103f93=_0x547d7c;this[_0x103f93(0xb7)]();}),this[_0x547d7c(0xb7)]();}[_0x4f7bc2(0xea)](){const _0x5b8629=_0x4f7bc2;this[_0x5b8629(0xe8)]();for(const _0x4ae92d of this[_0x5b8629(0xc8)][_0x5b8629(0xde)])_0x4ae92d[_0x5b8629(0xe8)]();}[_0x4f7bc2(0xb8)](){const _0xe9aa90=_0x4f7bc2,{locale:_0x1ce556}=this,_0x68069=this[_0xe9aa90(0xc8)][_0xe9aa90(0xde)][_0xe9aa90(0xf3)](0x0);_0x68069===this[_0xe9aa90(0xbb)]||_0x68069[_0xe9aa90(0xf6)]||(this[_0xe9aa90(0xbb)]=_0x68069,this[_0xe9aa90(0x103)](_0xe9aa90(0xd6)),this[_0xe9aa90(0xd8)](_0xe9aa90(0xd6))['to'](_0x68069,_0xe9aa90(0xd6),_0x353693=>_0xe9aa90(0xfd)===_0x353693?_0xe9aa90(0xfd):null),_0x68069[_0xe9aa90(0xba)]=_0x3226fe(_0x1ce556,_0xe9aa90(0xdb)),_0x68069[_0xe9aa90(0xff)]['on'](_0xe9aa90(0xfc),_0x25fab9=>{const _0x294cad=_0xe9aa90;_0x25fab9[_0x294cad(0xfa)](),this[_0x294cad(0xe0)](_0x3226fe(_0x1ce556,_0x294cad(0xe7)),this[_0x294cad(0xbd)])[_0x294cad(0xfb)](()=>{const _0x372ac0=_0x294cad;this[_0x372ac0(0xcb)](_0x372ac0(0xed));});},{'priority':_0xe9aa90(0xc0)}),this['on'](_0xe9aa90(0x10b),()=>{const _0x525621=_0xe9aa90;_0x68069[_0x525621(0x108)]();}),_0x68069[_0xe9aa90(0x109)][_0xe9aa90(0xeb)](this[_0xe9aa90(0xc7)],0x0),_0x68069[_0xe9aa90(0xf9)][_0xe9aa90(0xeb)](this[_0xe9aa90(0xc7)],0x0));}[_0x4f7bc2(0xc2)](){const _0xfbfbe2=_0x4f7bc2,_0x503941=new _0x22f101(this[_0xfbfbe2(0xdf)]);return _0x503941[_0xfbfbe2(0xca)]=_0x3226fe(this[_0xfbfbe2(0xdf)],_0xfbfbe2(0xdd)),_0x503941[_0xfbfbe2(0xc9)]=_0x3226fe(this[_0xfbfbe2(0xdf)],_0xfbfbe2(0xdd)),_0x503941[_0xfbfbe2(0xd0)]=_0x549f3d,_0x503941[_0xfbfbe2(0xce)]({'attributes':{'class':_0xfbfbe2(0xe1)}}),_0x503941[_0xfbfbe2(0xd8)](_0xfbfbe2(0xdc))['to'](this[_0xfbfbe2(0x10d)],_0xfbfbe2(0xc3),_0x5747dd=>!_0x5747dd),_0x503941[_0xfbfbe2(0xd8)](_0xfbfbe2(0xd4))['to'](this[_0xfbfbe2(0x10d)],_0xfbfbe2(0xf1),this[_0xfbfbe2(0x10d)],_0xfbfbe2(0xd3),(_0x1bb5cc,_0x51bf6e)=>_0x1bb5cc&&!_0x51bf6e),_0x503941['on'](_0xfbfbe2(0xfc),()=>{const _0x189fee=_0xfbfbe2;this[_0x189fee(0xcb)](_0x189fee(0x100),this[_0x189fee(0x10d)]['id']);}),_0x503941;}[_0x4f7bc2(0xb7)](){const _0x369841=_0x4f7bc2;this[_0x369841(0x10d)][_0x369841(0xb5)]?this[_0x369841(0xc1)][_0x369841(0x107)](this[_0x369841(0xee)])||(this[_0x369841(0xc1)][_0x369841(0xeb)](this[_0x369841(0xee)],0x0),this[_0x369841(0xf9)][_0x369841(0xeb)](this[_0x369841(0xee)],0x0)):this[_0x369841(0xc1)][_0x369841(0x107)](this[_0x369841(0xee)])&&(this[_0x369841(0xc1)][_0x369841(0xfd)](this[_0x369841(0xee)]),this[_0x369841(0xf9)][_0x369841(0xfd)](this[_0x369841(0xee)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5165f6=_0x4fde;(function(_0x495bdc,_0x84b30b){const _0xe7266=_0x4fde,_0x1aebc7=_0x495bdc();while(!![]){try{const _0x17c407=-parseInt(_0xe7266(0x226))/0x1*(-parseInt(_0xe7266(0x1cd))/0x2)+-parseInt(_0xe7266(0x1bd))/0x3+parseInt(_0xe7266(0x1d3))/0x4*(-parseInt(_0xe7266(0x205))/0x5)+-parseInt(_0xe7266(0x217))/0x6+-parseInt(_0xe7266(0x220))/0x7*(parseInt(_0xe7266(0x1c3))/0x8)+parseInt(_0xe7266(0x1f9))/0x9*(parseInt(_0xe7266(0x1cc))/0xa)+parseInt(_0xe7266(0x201))/0xb;if(_0x17c407===_0x84b30b)break;else _0x1aebc7['push'](_0x1aebc7['shift']());}catch(_0x2477a0){_0x1aebc7['push'](_0x1aebc7['shift']());}}}(_0xefbe,0xc1f06));import{IconRemoveComment as _0x5e0e97,IconPencil as _0x4766b0,IconThreeVerticalDots as _0x12f995}from'ckeditor5/src/icons.js';function _0xefbe(){const _0x34fc63=['icon','removeButton','ck-comment__info-name','ck-annotation__info-name','fire','label','ck-comment__actions--hidden','isExternal','_attachActions','set','Reply...','actionIndicator','2224692ckvLQz','ck-comment','removeComment','remove','execute','bindTemplate','4742416goOgXm','focusables','ck-annotation__info-time','ck-annotation__main','ck-annotation__actions','ck-annotation','visibleView','getUserViewNotificationText','author','30rtsGQM','4GpHApZ','then','cancelConfirm','withText','push','ariaDescriptionView','643892xhoNBH','isReadOnly','ck-comment--','mouseenter','_createEditButton','isSystemComment','ck-annotation__info','switchToEditMode','ck-comment--remove','element','ck-annotation__content-wrapper','span','getTemplate','ariaLabel','_config','ck-comment__info-time','unbind','ck-comment__wrapper','locale','Remove','bind','ck-comment__external','showConfirm','listitem','addMany','panelPosition','focus','time','name','formatDateTime','editButton','isVisible','_createRemoveButton','placeholder','isEditMode','_createDropdown','mouseleave','group','4585986CthNxj','panelView','div','ck-comment__user','Edit','isRemovable','find','from','18301624BvOxVS','ck-comment__actions','resolvedAt','add','5CVHYYg','ck-comment--edit','setTemplate','ck-annotation__user','actionBar','items','isEditable','ck-annotation__actions--hidden','Show\x20more\x20items','extendTemplate','getExternalCommentNote','blur','_createCommentInputView','ck-hidden','some','edit','children','render','6788574cddWXK','ck-comment__main','ck-comment__info','authoredAt','change:isRemovable','toMany','userView','length','listenTo','7qOoQgD','createCollection','Delete\x20comment?','dropdown','_model','ck-comment--info','114348ZlteEu','isEnabled','buttonView'];_0xefbe=function(){return _0x34fc63;};return _0xefbe();}import{ButtonView as _0x2030ed,createDropdown as _0x4d8e4e,ListView as _0x267466,ListItemView as _0x3d8e0f,focusChildOnDropdownOpen as _0x4c950e}from'ckeditor5/src/ui.js';import{UserView as _0xe747b3,ConfirmMixin as _0x57d57e,LateFocusDropdownButtonView as _0x4d1543}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x505096}from'./basecommentview.js';import{getTranslation as _0x185903}from'../../../utils/common-translations.js';function _0x4fde(_0x4ed42b,_0x35de45){const _0xefbe26=_0xefbe();return _0x4fde=function(_0x4fde4c,_0x2454a7){_0x4fde4c=_0x4fde4c-0x1b0;let _0x3bca45=_0xefbe26[_0x4fde4c];return _0x3bca45;},_0x4fde(_0x4ed42b,_0x35de45);}export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x57d57e(_0x505096){[_0x5165f6(0x209)];[_0x5165f6(0x21d)];constructor(_0x420fe1,_0x135471,_0x1a5660){const _0x31bc8c=_0x5165f6;super(_0x420fe1,_0x135471,_0x1a5660),this[_0x31bc8c(0x1ba)](_0x31bc8c(0x1bc),null),this[_0x31bc8c(0x1ba)](_0x31bc8c(0x1f4),_0x185903(_0x420fe1,_0x31bc8c(0x1bb))),this[_0x31bc8c(0x1e7)](_0x31bc8c(0x21a))['to'](_0x135471),this[_0x31bc8c(0x1e7)](_0x31bc8c(0x203))['to'](_0x135471),this[_0x31bc8c(0x209)]=this[_0x31bc8c(0x221)](),this[_0x31bc8c(0x1d8)]||(this[_0x31bc8c(0x1f1)]=this[_0x31bc8c(0x1d7)](),this[_0x31bc8c(0x1b2)]=this[_0x31bc8c(0x1f3)](),this[_0x31bc8c(0x20a)]=this[_0x31bc8c(0x221)](),this[_0x31bc8c(0x20a)][_0x31bc8c(0x1eb)]([this[_0x31bc8c(0x1f1)],this[_0x31bc8c(0x1b2)]]),this[_0x31bc8c(0x223)]=this[_0x31bc8c(0x1f6)](),this[_0x31bc8c(0x209)][_0x31bc8c(0x204)](this[_0x31bc8c(0x223)]),this[_0x31bc8c(0x1c4)][_0x31bc8c(0x204)](this[_0x31bc8c(0x223)])),this[_0x31bc8c(0x21d)]=new _0xe747b3(_0x420fe1,_0x135471[_0x31bc8c(0x1cb)],this[_0x31bc8c(0x1ca)]()),this[_0x31bc8c(0x21d)][_0x31bc8c(0x20e)]({'attributes':{'class':[_0x31bc8c(0x1fc),_0x31bc8c(0x208)],'aria-hidden':!0x0}}),this[_0x31bc8c(0x21f)](_0x135471,_0x31bc8c(0x21b),()=>this[_0x31bc8c(0x1cf)]()),this[_0x31bc8c(0x207)](this[_0x31bc8c(0x1df)]());}[_0x5165f6(0x1df)](){const _0x2728a5=_0x5165f6,_0x3bdd1b=this[_0x2728a5(0x1c2)],_0x178ec0=[{'tag':_0x2728a5(0x1fb),'attributes':{'class':[_0x2728a5(0x219),_0x2728a5(0x1d9)]},'children':[{'tag':_0x2728a5(0x1de),'children':[{'text':this[_0x2728a5(0x21d)][_0x2728a5(0x1ef)]}],'attributes':{'class':[_0x2728a5(0x1b3),_0x2728a5(0x1b4)],'data-cke-tooltip-text':this[_0x2728a5(0x21d)][_0x2728a5(0x1ef)]}},{'tag':_0x2728a5(0x1ee),'attributes':{'datetime':_0x3bdd1b['to'](_0x2728a5(0x21a)),'class':[_0x2728a5(0x1e2),_0x2728a5(0x1c5)]},'children':[{'text':_0x3bdd1b['to'](_0x2728a5(0x21a),_0x1ce7fd=>this[_0x2728a5(0x1e1)][_0x2728a5(0x1f0)](_0x1ce7fd))}]}]},{'tag':_0x2728a5(0x1fb),'attributes':{'class':[_0x2728a5(0x202),_0x2728a5(0x1c7),_0x3bdd1b['if'](_0x2728a5(0x1f5),_0x2728a5(0x1b7)),_0x3bdd1b['if'](_0x2728a5(0x1f5),_0x2728a5(0x20c))]},'children':this[_0x2728a5(0x209)]},{'tag':_0x2728a5(0x1fb),'attributes':{'class':[_0x2728a5(0x1dd)]},'children':this[_0x2728a5(0x1c9)]},this[_0x2728a5(0x1d2)]];return this[_0x2728a5(0x224)][_0x2728a5(0x1b8)]&&_0x178ec0[_0x2728a5(0x1d1)]({'tag':_0x2728a5(0x1fb),'attributes':{'class':[_0x2728a5(0x1e8)]},'children':[{'text':this[_0x2728a5(0x20f)]()}]}),{'tag':'li','attributes':{'class':[_0x2728a5(0x1e4)],'tabindex':-0x1,'aria-label':_0x3bdd1b['to'](_0x2728a5(0x1e0)),'aria-describedby':this[_0x2728a5(0x1d2)]['id'],'role':_0x2728a5(0x1ea)},'children':[{'tag':_0x2728a5(0x1fb),'attributes':{'class':[_0x2728a5(0x1be),_0x2728a5(0x1c8),_0x3bdd1b['if'](_0x2728a5(0x1f5),_0x2728a5(0x206)),_0x3bdd1b['if'](_0x2728a5(0x1d8),_0x2728a5(0x225)),_0x3bdd1b['to'](_0x2728a5(0x1bc),_0x1adc4d=>_0x1adc4d?_0x2728a5(0x1d5)+_0x1adc4d:'')],'data-author-id':this[_0x2728a5(0x224)][_0x2728a5(0x1cb)]['id'],'data-comment-id':this[_0x2728a5(0x224)]['id'],'role':_0x2728a5(0x1f8)},'children':[this[_0x2728a5(0x21d)],{'tag':_0x2728a5(0x1fb),'attributes':{'class':[_0x2728a5(0x218),_0x2728a5(0x1c6)]},'children':_0x178ec0}]}]};}[_0x5165f6(0x1d7)](){const _0x2c2de5=_0x5165f6,_0x1d2f9e=new _0x2030ed(this[_0x2c2de5(0x1e5)]);return _0x1d2f9e[_0x2c2de5(0x1b6)]=_0x185903(this[_0x2c2de5(0x1e5)],_0x2c2de5(0x1fd)),_0x1d2f9e[_0x2c2de5(0x1b1)]=_0x4766b0,_0x1d2f9e[_0x2c2de5(0x1d0)]=!0x0,_0x1d2f9e[_0x2c2de5(0x20e)]({'attributes':{'class':_0x2c2de5(0x206)}}),_0x1d2f9e[_0x2c2de5(0x1e7)](_0x2c2de5(0x227))['to'](this[_0x2c2de5(0x224)],_0x2c2de5(0x1d4),_0x14810c=>!_0x14810c),_0x1d2f9e[_0x2c2de5(0x1e7)](_0x2c2de5(0x1f2))['to'](this[_0x2c2de5(0x224)],_0x2c2de5(0x20b)),_0x1d2f9e['on'](_0x2c2de5(0x1c1),()=>this[_0x2c2de5(0x1da)]()),_0x1d2f9e;}[_0x5165f6(0x1f3)](){const _0x291c23=_0x5165f6,_0x4da1c5=new _0x2030ed(this[_0x291c23(0x1e5)]);return _0x4da1c5[_0x291c23(0x1b6)]=_0x185903(this[_0x291c23(0x1e5)],_0x291c23(0x1e6)),_0x4da1c5[_0x291c23(0x1b1)]=_0x5e0e97,_0x4da1c5[_0x291c23(0x1d0)]=!0x0,_0x4da1c5[_0x291c23(0x20e)]({'attributes':{'class':_0x291c23(0x1db)}}),_0x4da1c5[_0x291c23(0x1e7)](_0x291c23(0x227))['to'](this[_0x291c23(0x224)],_0x291c23(0x1d4),_0x40747b=>!_0x40747b),_0x4da1c5[_0x291c23(0x1e7)](_0x291c23(0x1f2))['to'](this[_0x291c23(0x224)],_0x291c23(0x1fe)),_0x4da1c5['on'](_0x291c23(0x1c1),()=>{const _0x5c2564=_0x291c23;this[_0x5c2564(0x1e9)](_0x185903(this[_0x5c2564(0x1e5)],_0x5c2564(0x222)),this[_0x5c2564(0x1dc)])[_0x5c2564(0x1ce)](()=>{const _0x223303=_0x5c2564;this[_0x223303(0x1b5)](_0x223303(0x1bf),this[_0x223303(0x224)]['id']);});}),_0x4da1c5;}[_0x5165f6(0x1f6)](){const _0x48d0a9=_0x5165f6,_0x3d728c=_0x4d8e4e(this[_0x48d0a9(0x1e5)],_0x4d1543),_0x18c02f=_0x3d728c[_0x48d0a9(0x1fa)][_0x48d0a9(0x215)],_0x920558=new _0x267466(this[_0x48d0a9(0x1e5)]),_0x143bda=_0x3d728c[_0x48d0a9(0x1c2)];_0x4c950e(_0x3d728c,()=>this[_0x48d0a9(0x20a)][_0x48d0a9(0x1ff)](_0x2c7e00=>_0x2c7e00[_0x48d0a9(0x1f2)])),_0x3d728c[_0x48d0a9(0x20e)]({'attributes':{'class':[_0x143bda['if'](_0x48d0a9(0x1f2),_0x48d0a9(0x212),_0x225745=>!_0x225745)]}});const _0x1e0c53=(_0x4be731,_0x3f26d5=-0x1)=>{const _0x9092ff=_0x48d0a9,_0x215f0f=new _0x3d8e0f(this[_0x9092ff(0x1e5)]);_0x215f0f[_0x9092ff(0x215)][_0x9092ff(0x204)](_0x4be731);const _0x4dfe9a=_0x3f26d5>-0x1?_0x3f26d5:_0x920558[_0x9092ff(0x20a)][_0x9092ff(0x21e)];_0x920558[_0x9092ff(0x20a)][_0x9092ff(0x204)](_0x215f0f,_0x4dfe9a);const _0x4244d7=Array[_0x9092ff(0x200)](this[_0x9092ff(0x20a)]);_0x3d728c[_0x9092ff(0x1e3)](_0x9092ff(0x227),_0x9092ff(0x1f2)),_0x3d728c[_0x9092ff(0x1e7)](_0x9092ff(0x227))[_0x9092ff(0x21c)](_0x4244d7,_0x9092ff(0x227),(..._0x15dff5)=>_0x15dff5[_0x9092ff(0x213)](_0x138e03=>_0x138e03)),_0x3d728c[_0x9092ff(0x1e7)](_0x9092ff(0x1f2))[_0x9092ff(0x21c)](_0x4244d7,_0x9092ff(0x1f2),(..._0x17cca1)=>_0x17cca1[_0x9092ff(0x213)](_0x2ffab2=>_0x2ffab2));};_0x3d728c[_0x48d0a9(0x1ec)]='sw',_0x3d728c[_0x48d0a9(0x1b0)][_0x48d0a9(0x1ba)]({'label':_0x185903(this[_0x48d0a9(0x1e5)],_0x48d0a9(0x20d)),'icon':_0x12f995});for(const _0x174db5 of this[_0x48d0a9(0x20a)])_0x1e0c53(_0x174db5);return _0x18c02f[_0x48d0a9(0x204)](_0x920558),_0x3d728c[_0x48d0a9(0x21f)](this[_0x48d0a9(0x20a)],_0x48d0a9(0x204),(_0x2c27ca,_0x534b10,_0x5bd1ad)=>{_0x1e0c53(_0x534b10,_0x5bd1ad);}),_0x3d728c[_0x48d0a9(0x21f)](this[_0x48d0a9(0x20a)],_0x48d0a9(0x1c0),(_0x3bd7a7,_0x29b00e,_0x4176e9)=>{const _0x4f92c6=_0x48d0a9;_0x920558[_0x4f92c6(0x20a)][_0x4f92c6(0x1c0)](_0x4176e9);}),_0x3d728c;}[_0x5165f6(0x1b9)](_0x39558e,_0x376d83){const _0x21e305=_0x5165f6,_0x23bc23=_0x39558e&&_0x39558e[_0x21e305(0x1dc)];_0x23bc23&&(this[_0x21e305(0x21f)](_0x23bc23,_0x21e305(0x1d6),()=>this[_0x21e305(0x1bc)]=_0x376d83),this[_0x21e305(0x21f)](_0x23bc23,_0x21e305(0x1ed),()=>this[_0x21e305(0x1bc)]=_0x376d83),this[_0x21e305(0x21f)](_0x23bc23,_0x21e305(0x1f7),()=>this[_0x21e305(0x1bc)]=null),this[_0x21e305(0x21f)](_0x23bc23,_0x21e305(0x210),()=>this[_0x21e305(0x1bc)]=null));}[_0x5165f6(0x211)](){const _0x44c1b8=_0x5165f6,_0x3da268=super[_0x44c1b8(0x211)]();return _0x3da268[_0x44c1b8(0x1e7)](_0x44c1b8(0x1f4))['to'](this),_0x3da268;}[_0x5165f6(0x216)](){const _0x54d04a=_0x5165f6;super[_0x54d04a(0x216)](),this[_0x54d04a(0x1b9)](this[_0x54d04a(0x1f1)],_0x54d04a(0x214)),this[_0x54d04a(0x1b9)](this[_0x54d04a(0x1b2)],_0x54d04a(0x1c0));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x876380=_0x5780;(function(_0x166deb,_0x9aa781){var _0x317ea7=_0x5780,_0x428064=_0x166deb();while(!![]){try{var _0x310df6=-parseInt(_0x317ea7(0xdc))/0x1+-parseInt(_0x317ea7(0xe2))/0x2*(-parseInt(_0x317ea7(0xdb))/0x3)+parseInt(_0x317ea7(0xe1))/0x4*(-parseInt(_0x317ea7(0xdd))/0x5)+parseInt(_0x317ea7(0xdf))/0x6+-parseInt(_0x317ea7(0xe4))/0x7+parseInt(_0x317ea7(0xe6))/0x8+-parseInt(_0x317ea7(0xd9))/0x9;if(_0x310df6===_0x9aa781)break;else _0x428064['push'](_0x428064['shift']());}catch(_0x5995c7){_0x428064['push'](_0x428064['shift']());}}}(_0x4857,0x916c3));import{Plugin as _0x4c326e}from'ckeditor5/src/core.js';function _0x4857(){var _0xc8f56d=['3157462nIzFVn','isPremiumPlugin','6214344sQoCpb','2658672CnyBij','requires','30VnxynP','715512oXsbZF','1035030JIUQDW','Comments','6552396vzrrBA','pluginName','8tgFlPO','120558JMshkT','isOfficialPlugin'];_0x4857=function(){return _0xc8f56d;};return _0x4857();}import{CommentsRepository as _0xfa9ee3}from'./comments/commentsrepository.js';import{CommentsEditing as _0xf9dd4b}from'./comments/commentsediting.js';import{CommentsUI as _0x1d2340}from'./comments/commentsui.js';import{CommentsOnly as _0xe1a256}from'./commentsonly.js';import{WideSidebar as _0x1cd51c}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x483e8b}from'./annotations/narrowsidebar.js';function _0x5780(_0x5804f8,_0x1331db){var _0x48575d=_0x4857();return _0x5780=function(_0x578096,_0x327da7){_0x578096=_0x578096-0xd9;var _0x4998e8=_0x48575d[_0x578096];return _0x4998e8;},_0x5780(_0x5804f8,_0x1331db);}import{InlineAnnotations as _0x454685}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x416750}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x18b494}from'./comments/commentsarchive.js';export class Comments extends _0x4c326e{static get[_0x876380(0xda)](){return[_0xfa9ee3,_0xf9dd4b,_0x1d2340,_0x18b494,_0x416750,_0xe1a256,_0x1cd51c,_0x483e8b,_0x454685];}static get[_0x876380(0xe0)](){var _0x1e8e57=_0x876380;return _0x1e8e57(0xde);}static get[_0x876380(0xe3)](){return!0x0;}static get[_0x876380(0xe5)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1d7f(){const _0x58aa6b=['set','commands','12805737BrxNVD','1453182rzWgRs','7093674ritcKr','addCommentThread','listenTo','isOfficialPlugin','DragDrop','clearForceDisabled','isEnabled','view','2406RjuZUS','highest','_enableCommentsOnlyMode','pluginName','SourceEditing','editSource','cut','delete','get','isPremiumPlugin','39916XiDlVl','requires','editor','forceDisabled','change:isEnabled','_disableCommentsOnlyMode','clipboardInput','stopListening','affectsData','plugins','commentsOnly','document','editing','config','commentsOnlyMode','1016wjTowP','stop','RevisionTracker','149334obDaNn','12874288oINQGB','afterInit','CommentsOnly','190ScucJk','has'];_0x1d7f=function(){return _0x58aa6b;};return _0x1d7f();}const _0x4d2601=_0x1751;function _0x1751(_0x4a753b,_0x54b671){const _0x1d7f86=_0x1d7f();return _0x1751=function(_0x175160,_0x10eccf){_0x175160=_0x175160-0x143;let _0x13b11f=_0x1d7f86[_0x175160];return _0x13b11f;},_0x1751(_0x4a753b,_0x54b671);}(function(_0x16bffd,_0x108d46){const _0x384ab2=_0x1751,_0xcf8ee3=_0x16bffd();while(!![]){try{const _0x598ef3=-parseInt(_0x384ab2(0x15e))/0x1+-parseInt(_0x384ab2(0x152))/0x2*(-parseInt(_0x384ab2(0x167))/0x3)+parseInt(_0x384ab2(0x143))/0x4+-parseInt(_0x384ab2(0x159))/0x5*(-parseInt(_0x384ab2(0x155))/0x6)+parseInt(_0x384ab2(0x15d))/0x7+-parseInt(_0x384ab2(0x156))/0x8+parseInt(_0x384ab2(0x15f))/0x9;if(_0x598ef3===_0x108d46)break;else _0xcf8ee3['push'](_0xcf8ee3['shift']());}catch(_0x327b09){_0xcf8ee3['push'](_0xcf8ee3['shift']());}}}(_0x1d7f,0xe030e));import{Plugin as _0x42145f}from'ckeditor5/src/core.js';import{CommentsEditing as _0x5ca09d}from'./comments/commentsediting.js';export class CommentsOnly extends _0x42145f{static get[_0x4d2601(0x16a)](){const _0x168d59=_0x4d2601;return _0x168d59(0x158);}static get[_0x4d2601(0x162)](){return!0x0;}static get[_0x4d2601(0x170)](){return!0x0;}static get[_0x4d2601(0x144)](){return[_0x5ca09d];}constructor(_0x5eff3a){const _0x2cc208=_0x4d2601;super(_0x5eff3a),this[_0x2cc208(0x15b)](_0x2cc208(0x165),!0x1),this['on'](_0x2cc208(0x147),(_0x5e28ea,_0x1e9ede,_0xa4e47e)=>{const _0x25f483=_0x2cc208;_0xa4e47e?this[_0x25f483(0x169)]():this[_0x25f483(0x148)]();});}[_0x4d2601(0x157)](){const _0x1342cc=_0x4d2601;!this[_0x1342cc(0x165)]&&this[_0x1342cc(0x145)][_0x1342cc(0x150)][_0x1342cc(0x16f)](_0x1342cc(0x14d))&&(this[_0x1342cc(0x165)]=!0x0);}[_0x4d2601(0x169)](){const _0x7f02d7=_0x4d2601;for(const [_0x1eb7d2,_0x370438]of this[_0x7f02d7(0x145)][_0x7f02d7(0x15c)])_0x370438[_0x7f02d7(0x14b)]&&_0x7f02d7(0x160)!==_0x1eb7d2&&_0x370438[_0x7f02d7(0x146)](_0x7f02d7(0x151));(this[_0x7f02d7(0x145)][_0x7f02d7(0x14c)][_0x7f02d7(0x15a)](_0x7f02d7(0x163))&&this[_0x7f02d7(0x145)][_0x7f02d7(0x14c)][_0x7f02d7(0x16f)](_0x7f02d7(0x163))[_0x7f02d7(0x146)](_0x7f02d7(0x151)),this[_0x7f02d7(0x145)][_0x7f02d7(0x14c)][_0x7f02d7(0x15a)](_0x7f02d7(0x154)))&&this[_0x7f02d7(0x145)][_0x7f02d7(0x14c)][_0x7f02d7(0x16f)](_0x7f02d7(0x154))[_0x7f02d7(0x146)](_0x7f02d7(0x151));this[_0x7f02d7(0x145)][_0x7f02d7(0x14c)][_0x7f02d7(0x15a)](_0x7f02d7(0x16b))&&this[_0x7f02d7(0x145)][_0x7f02d7(0x14c)][_0x7f02d7(0x16f)](_0x7f02d7(0x16b))[_0x7f02d7(0x146)](_0x7f02d7(0x151));this[_0x7f02d7(0x145)][_0x7f02d7(0x15c)][_0x7f02d7(0x16f)](_0x7f02d7(0x16c))?.[_0x7f02d7(0x146)](_0x7f02d7(0x151));const _0x54064e=this[_0x7f02d7(0x145)][_0x7f02d7(0x14f)][_0x7f02d7(0x166)][_0x7f02d7(0x14e)];this[_0x7f02d7(0x161)](_0x54064e,_0x7f02d7(0x16d),_0x2df1fe=>_0x2df1fe[_0x7f02d7(0x153)](),{'priority':_0x7f02d7(0x168)}),this[_0x7f02d7(0x161)](_0x54064e,_0x7f02d7(0x149),_0x504140=>_0x504140[_0x7f02d7(0x153)](),{'priority':_0x7f02d7(0x168)}),this[_0x7f02d7(0x161)](_0x54064e,_0x7f02d7(0x16e),_0x1c1839=>_0x1c1839[_0x7f02d7(0x153)](),{'priority':_0x7f02d7(0x168)});}[_0x4d2601(0x148)](){const _0x18d65a=_0x4d2601;for(const [_0x157f4c,_0x4f69fd]of this[_0x18d65a(0x145)][_0x18d65a(0x15c)])_0x4f69fd[_0x18d65a(0x14b)]&&_0x18d65a(0x160)!==_0x157f4c&&_0x4f69fd[_0x18d65a(0x164)](_0x18d65a(0x151));this[_0x18d65a(0x145)][_0x18d65a(0x14c)][_0x18d65a(0x15a)](_0x18d65a(0x154))&&this[_0x18d65a(0x145)][_0x18d65a(0x14c)][_0x18d65a(0x16f)](_0x18d65a(0x154))[_0x18d65a(0x164)](_0x18d65a(0x151)),this[_0x18d65a(0x145)][_0x18d65a(0x14c)][_0x18d65a(0x15a)](_0x18d65a(0x16b))&&this[_0x18d65a(0x145)][_0x18d65a(0x14c)][_0x18d65a(0x16f)](_0x18d65a(0x16b))[_0x18d65a(0x164)](_0x18d65a(0x151)),this[_0x18d65a(0x145)][_0x18d65a(0x15c)][_0x18d65a(0x16f)](_0x18d65a(0x16c))?.[_0x18d65a(0x164)](_0x18d65a(0x151)),this[_0x18d65a(0x14a)](this[_0x18d65a(0x145)][_0x18d65a(0x14f)][_0x18d65a(0x166)][_0x18d65a(0x14e)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5780(){var _0x52617c=['96JBKpFb','8zUlvXf','4094970GdYqOH','1236096IBAUsB','904972Qrolfb','107wJgXZE','651264JqzNQw','1401770sbcMSs','28371tYkkoN','4418YGvkDa'];_0x5780=function(){return _0x52617c;};return _0x5780();}(function(_0x486713,_0xb52bf3){var _0x4892d6=_0x16dd,_0x1108d1=_0x486713();while(!![]){try{var _0x3b1909=-parseInt(_0x4892d6(0x1f6))/0x1*(parseInt(_0x4892d6(0x1fa))/0x2)+-parseInt(_0x4892d6(0x1f7))/0x3+-parseInt(_0x4892d6(0x1f5))/0x4+parseInt(_0x4892d6(0x1f8))/0x5+-parseInt(_0x4892d6(0x1f1))/0x6*(-parseInt(_0x4892d6(0x1f9))/0x7)+-parseInt(_0x4892d6(0x1f2))/0x8*(-parseInt(_0x4892d6(0x1f4))/0x9)+parseInt(_0x4892d6(0x1f3))/0xa;if(_0x3b1909===_0xb52bf3)break;else _0x1108d1['push'](_0x1108d1['shift']());}catch(_0x1376bb){_0x1108d1['push'](_0x1108d1['shift']());}}}(_0x5780,0x33d7d));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';function _0x16dd(_0x2f89a6,_0x5b29aa){var _0x578026=_0x5780();return _0x16dd=function(_0x16dd85,_0x5047a2){_0x16dd85=_0x16dd85-0x1f1;var _0x76e2be=_0x578026[_0x16dd85];return _0x76e2be;},_0x16dd(_0x2f89a6,_0x5b29aa);}export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';export{CommentsArchiveUI}from'./comments/commentsarchiveui.js';export{CommentsEditing}from'./comments/commentsediting.js';export{AnnotationCounterButtonView}from'./annotations/view/annotationcounterbuttonview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x20398d,_0x4fc7b2,_0x5592b6){const t=_0x20398d['t'];switch(_0x4fc7b2){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'},_0x5592b6);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'},_0x5592b6);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'},_0x5592b6);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'},_0x5592b6);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x5592b6);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'},_0x5592b6);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'},_0x5592b6);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'},_0x5592b6);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(_0x3ecf63,_0x1d9749){const _0x37ea16=_0x9967,_0x33ce31=_0x3ecf63();while(!![]){try{const _0x307d8d=-parseInt(_0x37ea16(0x15a))/0x1*(-parseInt(_0x37ea16(0x150))/0x2)+-parseInt(_0x37ea16(0x14b))/0x3+parseInt(_0x37ea16(0x153))/0x4+parseInt(_0x37ea16(0x159))/0x5+-parseInt(_0x37ea16(0x14e))/0x6*(parseInt(_0x37ea16(0x155))/0x7)+parseInt(_0x37ea16(0x14c))/0x8+-parseInt(_0x37ea16(0x14f))/0x9;if(_0x307d8d===_0x1d9749)break;else _0x33ce31['push'](_0x33ce31['shift']());}catch(_0x4c54aa){_0x33ce31['push'](_0x33ce31['shift']());}}}(_0x4504,0xcdb07));function _0x9967(_0x12550a,_0x212b7e){const _0x450469=_0x4504();return _0x9967=function(_0x9967df,_0x3bb440){_0x9967df=_0x9967df-0x14b;let _0x517fdc=_0x450469[_0x9967df];return _0x517fdc;},_0x9967(_0x12550a,_0x212b7e);}import{throttle as _0x1d8d85}from'es-toolkit/compat';function _0x4504(){const _0x11ef3d=['attributeName','7zGLATc','attributes','class','childList','7753395VifNyP','418194shiKsI','cancel','observe','2620425NLGlEC','6615384PDdutY','characterData','5507814ZaIodY','18210456LjbYGB','4OGEwVu','type','disconnect','5773364VsLfrf'];_0x4504=function(){return _0x11ef3d;};return _0x4504();}export function createMutationObserver(_0x3cab5d){const _0x5821c3=_0x1d8d85(_0x3cab5d,0x1e),_0x59ffad=new MutationObserver(_0x3a3afb=>{const _0x121405=_0x9967;for(const _0x29fdd3 of _0x3a3afb)(_0x121405(0x156)==_0x29fdd3[_0x121405(0x151)]&&_0x121405(0x157)==_0x29fdd3[_0x121405(0x154)]||_0x121405(0x158)==_0x29fdd3[_0x121405(0x151)]||_0x121405(0x14d)==_0x29fdd3[_0x121405(0x151)])&&_0x5821c3();});return{'attach'(_0x4221c3){const _0x1c3d20=_0x9967;_0x59ffad[_0x1c3d20(0x15c)](_0x4221c3,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x4c5111=_0x9967;_0x59ffad[_0x4c5111(0x152)](),_0x5821c3[_0x4c5111(0x15b)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x56801e,_0x41e710){const _0x58d120=_0x4dd1,_0x486205=_0x56801e();while(!![]){try{const _0x460643=parseInt(_0x58d120(0x1e9))/0x1+-parseInt(_0x58d120(0x1f1))/0x2+parseInt(_0x58d120(0x1ed))/0x3*(-parseInt(_0x58d120(0x1ec))/0x4)+-parseInt(_0x58d120(0x1f0))/0x5*(-parseInt(_0x58d120(0x1ea))/0x6)+parseInt(_0x58d120(0x1e8))/0x7+parseInt(_0x58d120(0x1eb))/0x8*(parseInt(_0x58d120(0x1e7))/0x9)+-parseInt(_0x58d120(0x1ee))/0xa;if(_0x460643===_0x41e710)break;else _0x486205['push'](_0x486205['shift']());}catch(_0x5d36c8){_0x486205['push'](_0x486205['shift']());}}}(_0x19c8,0x82ec3));function _0x4dd1(_0x403046,_0x2a9f5a){const _0x19c812=_0x19c8();return _0x4dd1=function(_0x4dd190,_0x105db5){_0x4dd190=_0x4dd190-0x1e7;let _0x19fff1=_0x19c812[_0x4dd190];return _0x19fff1;},_0x4dd1(_0x403046,_0x2a9f5a);}function _0x19c8(){const _0x52060a=['72868lCVhYH','51AVXlbE','2834100vFttJE','split','45cDlmyZ','1898788QuoHXh','3954249DLZwor','3662253zMyfHd','477636QdjZdF','132810kyguiA','16pKsNMc'];_0x19c8=function(){return _0x52060a;};return _0x19c8();}export function splitMarkerName(_0x4e82ed){const _0x3f1c2a=_0x4dd1,_0x2712e4=_0x4e82ed[_0x3f1c2a(0x1ef)](':');return{'group':_0x2712e4[0x0],'id':_0x2712e4[0x1],'part':_0x2712e4[0x2]};}
|