@ckeditor/ckeditor5-comments 47.0.0-alpha.0 → 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 _0x369d65=_0x5de8;(function(_0x10cebf,_0x564d74){const _0x2e1563=_0x5de8,_0x54e662=_0x10cebf();while(!![]){try{const _0x2f8055=parseInt(_0x2e1563(0xf6))/0x1+-parseInt(_0x2e1563(0xce))/0x2*(-parseInt(_0x2e1563(0xe9))/0x3)+-parseInt(_0x2e1563(0x104))/0x4*(parseInt(_0x2e1563(0xe3))/0x5)+parseInt(_0x2e1563(0xd8))/0x6+-parseInt(_0x2e1563(0x10e))/0x7*(-parseInt(_0x2e1563(0xdd))/0x8)+-parseInt(_0x2e1563(0xde))/0x9*(parseInt(_0x2e1563(0xc5))/0xa)+parseInt(_0x2e1563(0x119))/0xb*(-parseInt(_0x2e1563(0xdf))/0xc);if(_0x2f8055===_0x564d74)break;else _0x54e662['push'](_0x54e662['shift']());}catch(_0x2df6c4){_0x54e662['push'](_0x54e662['shift']());}}}(_0x2c5a,0xd13c3));import{View as _0x42d300,FocusCycler as _0x4c9968}from'ckeditor5/src/ui.js';import{diff as _0x2ed1d3,Collection as _0x57c91a,FocusTracker as _0x3cb72d,KeystrokeHandler as _0x1e95fd}from'ckeditor5/src/utils.js';import{getTranslation as _0x10deb5}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x33f83e}from'./collapsedcommentsview.js';export class CommentsListView extends _0x42d300{[_0x369d65(0xf8)];[_0x369d65(0x106)];[_0x369d65(0x111)];[_0x369d65(0xbe)];[_0x369d65(0xfa)];[_0x369d65(0x109)];[_0x369d65(0x113)];[_0x369d65(0xc3)];constructor(_0x4c93c2,_0x1a07fa,_0x56ba39){const _0x21f881=_0x369d65;super(_0x4c93c2);const _0x2f63e5=this[_0x21f881(0xe8)];this[_0x21f881(0xc0)](_0x21f881(0xcb),!0x1),this[_0x21f881(0xc0)](_0x21f881(0xd3),_0x1a07fa[_0x21f881(0xd9)][_0x21f881(0xd3)]),this[_0x21f881(0xc0)](_0x21f881(0xf0),!0x1),this[_0x21f881(0x109)]=_0x1a07fa,this[_0x21f881(0x113)]=_0x56ba39,this[_0x21f881(0xf8)]=this[_0x21f881(0xc7)](),this[_0x21f881(0xfc)]=this[_0x21f881(0xc7)](),this[_0x21f881(0x106)]=null,this[_0x21f881(0x111)]=new _0x3cb72d(),this[_0x21f881(0xbe)]=new _0x1e95fd(),this[_0x21f881(0xfa)]=new _0x4c9968({'focusables':this[_0x21f881(0xf8)],'focusTracker':this[_0x21f881(0x111)],'keystrokeHandler':this[_0x21f881(0xbe)],'keystrokeHandlerOptions':{'filter':_0x3907c9=>this[_0x21f881(0xf8)][_0x21f881(0x103)](_0x2692e1=>_0x2692e1[_0x21f881(0xd5)])[_0x21f881(0xed)](_0x3907c9[_0x21f881(0xf4)])},'actions':{'focusPrevious':_0x21f881(0x117),'focusNext':_0x21f881(0xba)}}),this[_0x21f881(0xc3)]=new _0x33f83e(_0x4c93c2),this[_0x21f881(0xc3)][_0x21f881(0xee)](_0x21f881(0xd6))['to'](this,_0x21f881(0xd3),_0x3aa31a=>_0x3aa31a-this[_0x21f881(0x113)][_0x21f881(0x10f)]);for(const _0x3d5fae of _0x1a07fa[_0x21f881(0xd9)])this[_0x21f881(0x108)](_0x3d5fae);this[_0x21f881(0xf5)](),this[_0x21f881(0xe6)](_0x1a07fa[_0x21f881(0xd9)],_0x21f881(0xec),(_0x4b7449,_0x3b4b0b)=>{const _0x4341d7=_0x21f881,_0x2b12a0=this[_0x4341d7(0xd4)](_0x3b4b0b);this[_0x4341d7(0xd3)]++,this[_0x4341d7(0x108)](_0x3b4b0b,_0x2b12a0),this[_0x4341d7(0xbc)]();}),this[_0x21f881(0xe6)](_0x1a07fa[_0x21f881(0xd9)],_0x21f881(0xca),(_0x44e081,_0x2a71eb)=>{const _0x3f2733=_0x21f881;this[_0x3f2733(0xd3)]--,this[_0x3f2733(0xcf)](_0x2a71eb),this[_0x3f2733(0xbc)]();}),this[_0x21f881(0xe6)](_0x1a07fa,_0x21f881(0xf7),()=>this[_0x21f881(0xbc)]()),this[_0x21f881(0xe6)](_0x1a07fa,_0x21f881(0x114),()=>this[_0x21f881(0xf5)]()),this['on'](_0x21f881(0xf1),()=>this[_0x21f881(0xbc)]()),this['on'](_0x21f881(0x11b),()=>this[_0x21f881(0xbc)]()),this[_0x21f881(0xef)]({'tag':'ul','attributes':{'class':[_0x21f881(0x10a),_0x2f63e5['if'](_0x21f881(0xd3),_0x21f881(0x11a),_0x2c9d8a=>!_0x2c9d8a)],'aria-label':_0x10deb5(_0x4c93c2,_0x21f881(0xe4))},'children':this[_0x21f881(0xfc)]});}get[_0x369d65(0xc2)](){const _0x5f570c=_0x369d65;return this[_0x5f570c(0x109)][_0x5f570c(0xd7)]>this[_0x5f570c(0x113)][_0x5f570c(0xe5)]&&!this[_0x5f570c(0xf0)]&&!this[_0x5f570c(0xcb)];}[_0x369d65(0xff)](){const _0x172989=_0x369d65;super[_0x172989(0xff)](),this[_0x172989(0xbc)](),this[_0x172989(0xdb)]();}[_0x369d65(0xd2)](_0x16c2c2){const _0x181b85=_0x369d65;-0x1===_0x16c2c2?this[_0x181b85(0xfa)][_0x181b85(0xbf)]():this[_0x181b85(0xfa)][_0x181b85(0x102)]();}[_0x369d65(0xc1)](){const _0x51c59a=_0x369d65;this[_0x51c59a(0xc3)][_0x51c59a(0xc1)]();for(const _0x4e45ce of this[_0x51c59a(0xf8)])_0x4e45ce[_0x51c59a(0xc1)]();super[_0x51c59a(0xc1)]();}[_0x369d65(0xbc)](){const _0x4caef9=_0x369d65;this[_0x4caef9(0xc2)]?this[_0x4caef9(0xe0)]():this[_0x4caef9(0xc9)]();}[_0x369d65(0x108)](_0x154c55,_0x33a7b0){const _0x33815a=_0x369d65,_0x363194=new this[(_0x33815a(0x113))][(_0x33815a(0xc6))](this[_0x33815a(0xcd)],_0x154c55,{'maxCommentCharsWhenCollapsed':this[_0x33815a(0x113)][_0x33815a(0xfb)],'formatDateTime':this[_0x33815a(0x113)][_0x33815a(0xfd)],'editorConfig':this[_0x33815a(0x113)][_0x33815a(0xfe)]});_0x363194[_0x33815a(0xeb)]=_0x154c55['id'],_0x363194[_0x33815a(0x110)](_0x33815a(0x112))['to'](this),_0x363194[_0x33815a(0x110)](_0x33815a(0xd1))['to'](this),_0x363194[_0x33815a(0x110)](_0x33815a(0xbb))['to'](this),_0x363194[_0x33815a(0x110)](_0x33815a(0x10d))['to'](this),_0x363194[_0x33815a(0x110)](_0x33815a(0xcc))['to'](this),this[_0x33815a(0xe6)](_0x363194,_0x33815a(0xd0),()=>this[_0x33815a(0x116)]()),this[_0x33815a(0xf8)][_0x33815a(0xec)](_0x363194,_0x33a7b0);}[_0x369d65(0xd4)](_0x16ee9d){const _0x40a5c4=_0x369d65,_0x1d824b=this[_0x40a5c4(0x109)][_0x40a5c4(0x10c)](_0x16ee9d);return this[_0x40a5c4(0x106)]?this[_0x40a5c4(0x106)][_0x40a5c4(0x10b)]>_0x16ee9d[_0x40a5c4(0x10b)]?_0x1d824b-0x1:_0x1d824b:_0x1d824b-0x1;}[_0x369d65(0xf5)](){const _0x5a1438=_0x369d65;if(this[_0x5a1438(0x109)][_0x5a1438(0xf2)]&&this[_0x5a1438(0x109)][_0x5a1438(0xea)]){const _0x165754={'id':_0x5a1438(0x118),'author':this[_0x5a1438(0x109)][_0x5a1438(0xf2)],'authoredAt':this[_0x5a1438(0x109)][_0x5a1438(0xea)],'content':_0x10deb5(this[_0x5a1438(0xcd)],_0x5a1438(0x100)),'attributes':{}};this[_0x5a1438(0x106)]=new this[(_0x5a1438(0x113))][(_0x5a1438(0xc6))](this[_0x5a1438(0xcd)],_0x165754,{'maxCommentCharsWhenCollapsed':this[_0x5a1438(0x113)][_0x5a1438(0xfb)],'formatDateTime':this[_0x5a1438(0x113)][_0x5a1438(0xfd)],'editorConfig':this[_0x5a1438(0x113)][_0x5a1438(0xfe)],'isSystemComment':!0x0}),this[_0x5a1438(0xf8)][_0x5a1438(0xec)](this[_0x5a1438(0x106)],this[_0x5a1438(0x109)][_0x5a1438(0x10c)](_0x165754));}else this[_0x5a1438(0x106)]&&(this[_0x5a1438(0xf8)][_0x5a1438(0xca)](this[_0x5a1438(0x106)]),this[_0x5a1438(0x106)][_0x5a1438(0xc1)](),this[_0x5a1438(0x106)]=null);this[_0x5a1438(0xbc)]();}[_0x369d65(0xcf)](_0x12b93f){const _0x121f5a=_0x369d65,_0xb7c3ed=this[_0x121f5a(0xf8)][_0x121f5a(0xca)](_0x12b93f['id']);this[_0x121f5a(0x107)](_0xb7c3ed),_0xb7c3ed[_0x121f5a(0xc8)]&&this[_0x121f5a(0x116)](),_0xb7c3ed[_0x121f5a(0xc1)]();}[_0x369d65(0x116)](){const _0x4462c4=_0x369d65;this[_0x4462c4(0xcb)]=Array[_0x4462c4(0x101)](this[_0x4462c4(0xf8)])[_0x4462c4(0xda)](_0x59b7a5=>_0x59b7a5[_0x4462c4(0xc8)]);}[_0x369d65(0xe0)](){const _0x5d5b5f=_0x369d65,_0x1ee9cd=function(_0x4b1c5e){const _0x368d6d=_0x5de8,_0x19d708=new _0x57c91a();for(const _0x236be1 of _0x4b1c5e)_0x19d708[_0x368d6d(0xec)](_0x236be1);return _0x19d708;}(this[_0x5d5b5f(0xf8)]),_0x11b5dd=this[_0x5d5b5f(0xc3)][_0x5d5b5f(0xd6)];for(let _0x32dfd7=0x1;_0x32dfd7<=_0x11b5dd;_0x32dfd7++)_0x1ee9cd[_0x5d5b5f(0xca)](0x1);for(const _0x3f582c of _0x1ee9cd)_0x3f582c[_0x5d5b5f(0x105)]();_0x11b5dd>0x0&&_0x1ee9cd[_0x5d5b5f(0xec)](this[_0x5d5b5f(0xc3)],0x1),ns(_0x2ed1d3(Array[_0x5d5b5f(0x101)](this[_0x5d5b5f(0xfc)]),Array[_0x5d5b5f(0x101)](_0x1ee9cd)),this[_0x5d5b5f(0xfc)],_0x1ee9cd);}[_0x369d65(0xc9)](){const _0x24796b=_0x369d65;ns(_0x2ed1d3(Array[_0x24796b(0x101)](this[_0x24796b(0xfc)]),Array[_0x24796b(0x101)](this[_0x24796b(0xf8)])),this[_0x24796b(0xfc)],this[_0x24796b(0xf8)]);for(const _0x22640b of this[_0x24796b(0xfc)])_0x22640b[_0x24796b(0xc4)]();}[_0x369d65(0xdb)](){const _0x68e613=_0x369d65;this[_0x68e613(0xf8)][_0x68e613(0x115)](_0x36db18=>{const _0x5370f4=_0x68e613;this[_0x5370f4(0x111)][_0x5370f4(0xec)](_0x36db18[_0x5370f4(0xd5)]),this[_0x5370f4(0xbe)][_0x5370f4(0xe6)](_0x36db18[_0x5370f4(0xd5)]);}),this[_0x68e613(0xf8)]['on'](_0x68e613(0xdc),(_0x488857,_0x3693bd)=>{const _0x44b6ca=_0x68e613;for(const _0x5467f2 of _0x3693bd[_0x44b6ca(0xe2)])this[_0x44b6ca(0x111)][_0x44b6ca(0xca)](_0x5467f2[_0x44b6ca(0xd5)]),this[_0x44b6ca(0xbe)][_0x44b6ca(0x107)](_0x5467f2[_0x44b6ca(0xd5)]);for(const _0x1c1936 of Array[_0x44b6ca(0x101)](_0x3693bd[_0x44b6ca(0xf3)])[_0x44b6ca(0xe7)]())this[_0x44b6ca(0x111)][_0x44b6ca(0xec)](_0x1c1936[_0x44b6ca(0xd5)]),this[_0x44b6ca(0xbe)][_0x44b6ca(0xe6)](_0x1c1936[_0x44b6ca(0xd5)]);});}}function ns(_0x199d0e,_0xa2ceea,_0x126916){const _0x528c33=_0x369d65;let _0x4e58a2=0x0;for(const _0x34bbbe of _0x199d0e)switch(_0x34bbbe){case _0x528c33(0xbd):_0xa2ceea[_0x528c33(0xec)](_0x126916[_0x528c33(0xf9)](_0x4e58a2),_0x4e58a2),_0x4e58a2++;break;case _0x528c33(0xb9):_0xa2ceea[_0x528c33(0xca)](_0x4e58a2);break;case _0x528c33(0xe1):_0x4e58a2++;}}function _0x5de8(_0x41ef59,_0x156b03){const _0x2c5a0a=_0x2c5a();return _0x5de8=function(_0x5de862,_0xb9a304){_0x5de862=_0x5de862-0xb9;let _0x5c0248=_0x2c5a0a[_0x5de862];return _0x5c0248;},_0x5de8(_0x41ef59,_0x156b03);}function _0x2c5a(){const _0x206a96=['collapse','resolvedCommentView','stopListening','_handleNewCommentModel','_model','ck-thread__comments','authoredAt','_findOptimalIndex','editorReady','3855131SNcAlN','maxCommentsWhenCollapsed','delegate','focusTracker','removeComment','_config','change:isResolved','forEach','_updateHasDirtyComment','arrowup','resolved','4512299IeXqXe','ck-hidden','change:hasDirtyComment','delete','arrowdown','resolveCommentThread','refreshVisibleViews','insert','keystrokes','focusLast','set','destroy','_shouldCollapse','_collapsedCommentsView','expand','70qgRcEr','CommentView','createCollection','isEditMode','_rearrangeExpand','remove','hasDirtyComment','editorDestroyed','locale','1173332VzihmP','_handleRemoveCommentModel','change:isEditMode','updateComment','focus','length','_calculatePosition','element','count','weight','7502340omKMEn','comments','some','_setupKeyboardNavigation','change','24wyJpAB','1498806ZwBJsb','60amzwLJ','_rearrangeCollapse','equal','removed','1400740xJHBgj','Thread\x20comments','maxThreadTotalWeight','listenTo','reverse','bindTemplate','6QhIVSN','resolvedAt','viewUid','add','includes','bind','setTemplate','isActive','change:isActive','resolvedBy','added','target','_handleInfoComment','838333lUOKGp','commentUpdated','commentViews','get','focusCycler','maxCommentCharsWhenCollapsed','visibleViews','formatDateTime','editorConfig','render','Marked\x20as\x20resolved','from','focusFirst','map','12nKjBXO'];_0x2c5a=function(){return _0x206a96;};return _0x2c5a();}
|
|
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
|
-
function
|
|
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
|
-
|
|
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();}
|