@ckeditor/ckeditor5-comments 46.0.0-alpha.1 → 46.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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x57c6be=_0x474d;function _0x474d(_0x4e71ff,_0x224afa){const _0x173b0b=_0x173b();return _0x474d=function(_0x474d85,_0x2be5e5){_0x474d85=_0x474d85-0x9a;let _0x5adbd0=_0x173b0b[_0x474d85];return _0x5adbd0;},_0x474d(_0x4e71ff,_0x224afa);}(function(_0x37d022,_0x53ec71){const _0x4b905f=_0x474d,_0x49757b=_0x37d022();while(!![]){try{const _0x5b371b=-parseInt(_0x4b905f(0xb7))/0x1+-parseInt(_0x4b905f(0x9c))/0x2+-parseInt(_0x4b905f(0xc6))/0x3+-parseInt(_0x4b905f(0xbf))/0x4*(parseInt(_0x4b905f(0xdf))/0x5)+parseInt(_0x4b905f(0xdb))/0x6*(-parseInt(_0x4b905f(0xce))/0x7)+parseInt(_0x4b905f(0xed))/0x8+parseInt(_0x4b905f(0xe7))/0x9;if(_0x5b371b===_0x53ec71)break;else _0x49757b['push'](_0x49757b['shift']());}catch(_0x5d2345){_0x49757b['push'](_0x49757b['shift']());}}}(_0x173b,0xd44ca));import{View as _0x5178c0,FocusCycler as _0x2be28c}from'ckeditor5/src/ui.js';import{diff as _0x5b4755,Collection as _0x5da799,FocusTracker as _0x4f3b07,KeystrokeHandler as _0x3fe769}from'ckeditor5/src/utils.js';import{getTranslation as _0x10f072}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x3f9da6}from'./collapsedcommentsview.js';export class CommentsListView extends _0x5178c0{[_0x57c6be(0xde)];[_0x57c6be(0xf3)];[_0x57c6be(0xc0)];[_0x57c6be(0xaf)];[_0x57c6be(0xbb)];[_0x57c6be(0xf2)];[_0x57c6be(0xa1)];[_0x57c6be(0xd0)];constructor(_0x547f67,_0x4c8537,_0xd89842){const _0x5c1f44=_0x57c6be;super(_0x547f67);const _0x4acea9=this[_0x5c1f44(0xbc)];this[_0x5c1f44(0xb1)](_0x5c1f44(0xa8),!0x1),this[_0x5c1f44(0xb1)](_0x5c1f44(0xf6),_0x4c8537[_0x5c1f44(0x9d)][_0x5c1f44(0xf6)]),this[_0x5c1f44(0xb1)](_0x5c1f44(0xf7),!0x1),this[_0x5c1f44(0xf2)]=_0x4c8537,this[_0x5c1f44(0xa1)]=_0xd89842,this[_0x5c1f44(0xde)]=this[_0x5c1f44(0xb4)](),this[_0x5c1f44(0xf8)]=this[_0x5c1f44(0xb4)](),this[_0x5c1f44(0xf3)]=null,this[_0x5c1f44(0xc0)]=new _0x4f3b07(),this[_0x5c1f44(0xaf)]=new _0x3fe769(),this[_0x5c1f44(0xbb)]=new _0x2be28c({'focusables':this[_0x5c1f44(0xde)],'focusTracker':this[_0x5c1f44(0xc0)],'keystrokeHandler':this[_0x5c1f44(0xaf)],'keystrokeHandlerOptions':{'filter':_0x5055bb=>this[_0x5c1f44(0xde)][_0x5c1f44(0xc1)](_0x34b0c4=>_0x34b0c4[_0x5c1f44(0xd3)])[_0x5c1f44(0xea)](_0x5055bb[_0x5c1f44(0xdc)])},'actions':{'focusPrevious':_0x5c1f44(0xf1),'focusNext':_0x5c1f44(0x9f)}}),this[_0x5c1f44(0xd0)]=new _0x3f9da6(_0x547f67),this[_0x5c1f44(0xd0)][_0x5c1f44(0xc5)](_0x5c1f44(0xdd))['to'](this,_0x5c1f44(0xf6),_0x380691=>_0x380691-this[_0x5c1f44(0xa1)][_0x5c1f44(0xb0)]);for(const _0x2a0472 of _0x4c8537[_0x5c1f44(0x9d)])this[_0x5c1f44(0xe3)](_0x2a0472);this[_0x5c1f44(0xd8)](),this[_0x5c1f44(0xcb)](_0x4c8537[_0x5c1f44(0x9d)],_0x5c1f44(0xd7),(_0x4f0695,_0x2573f4)=>{const _0x40e304=_0x5c1f44,_0x14f7ed=this[_0x40e304(0xb6)](_0x2573f4);this[_0x40e304(0xf6)]++,this[_0x40e304(0xe3)](_0x2573f4,_0x14f7ed),this[_0x40e304(0xa3)]();}),this[_0x5c1f44(0xcb)](_0x4c8537[_0x5c1f44(0x9d)],_0x5c1f44(0x9b),(_0x44aa25,_0x1710eb)=>{const _0x39d74c=_0x5c1f44;this[_0x39d74c(0xf6)]--,this[_0x39d74c(0xee)](_0x1710eb),this[_0x39d74c(0xa3)]();}),this[_0x5c1f44(0xcb)](_0x4c8537,_0x5c1f44(0xec),()=>this[_0x5c1f44(0xa3)]()),this[_0x5c1f44(0xcb)](_0x4c8537,_0x5c1f44(0xd9),()=>this[_0x5c1f44(0xd8)]()),this['on'](_0x5c1f44(0xa9),()=>this[_0x5c1f44(0xa3)]()),this['on'](_0x5c1f44(0xa0),()=>this[_0x5c1f44(0xa3)]()),this[_0x5c1f44(0xc9)]({'tag':'ul','attributes':{'class':[_0x5c1f44(0xc2),_0x4acea9['if'](_0x5c1f44(0xf6),_0x5c1f44(0xef),_0x5f5361=>!_0x5f5361)],'aria-label':_0x10f072(_0x547f67,_0x5c1f44(0xd2))},'children':this[_0x5c1f44(0xf8)]});}get[_0x57c6be(0xaa)](){const _0x4d4b8a=_0x57c6be;return this[_0x4d4b8a(0xf2)][_0x4d4b8a(0xc7)]>this[_0x4d4b8a(0xa1)][_0x4d4b8a(0xe8)]&&!this[_0x4d4b8a(0xf7)]&&!this[_0x4d4b8a(0xa8)];}[_0x57c6be(0xf0)](){const _0x28e536=_0x57c6be;super[_0x28e536(0xf0)](),this[_0x28e536(0xa3)](),this[_0x28e536(0xca)]();}[_0x57c6be(0xb3)](_0x37013d){const _0x248b45=_0x57c6be;-0x1===_0x37013d?this[_0x248b45(0xbb)][_0x248b45(0xeb)]():this[_0x248b45(0xbb)][_0x248b45(0xf9)]();}[_0x57c6be(0xad)](){const _0x4a6732=_0x57c6be;this[_0x4a6732(0xd0)][_0x4a6732(0xad)]();for(const _0x4f179b of this[_0x4a6732(0xde)])_0x4f179b[_0x4a6732(0xad)]();super[_0x4a6732(0xad)]();}[_0x57c6be(0xa3)](){const _0x19a01c=_0x57c6be;this[_0x19a01c(0xaa)]?this[_0x19a01c(0xae)]():this[_0x19a01c(0xe5)]();}[_0x57c6be(0xe3)](_0x4579be,_0x4c2520){const _0x2b77e2=_0x57c6be,_0x9b650c=new this[(_0x2b77e2(0xa1))][(_0x2b77e2(0xc4))](this[_0x2b77e2(0xcf)],_0x4579be,{'maxCommentCharsWhenCollapsed':this[_0x2b77e2(0xa1)][_0x2b77e2(0xa5)],'formatDateTime':this[_0x2b77e2(0xa1)][_0x2b77e2(0xbe)],'editorConfig':this[_0x2b77e2(0xa1)][_0x2b77e2(0xe1)]});_0x9b650c[_0x2b77e2(0xda)]=_0x4579be['id'],_0x9b650c[_0x2b77e2(0xb8)](_0x2b77e2(0xe4))['to'](this),_0x9b650c[_0x2b77e2(0xb8)](_0x2b77e2(0xd1))['to'](this),_0x9b650c[_0x2b77e2(0xb8)](_0x2b77e2(0xba))['to'](this),_0x9b650c[_0x2b77e2(0xb8)](_0x2b77e2(0xcd))['to'](this),_0x9b650c[_0x2b77e2(0xb8)](_0x2b77e2(0xa7))['to'](this),this[_0x2b77e2(0xcb)](_0x9b650c,_0x2b77e2(0xe6),()=>this[_0x2b77e2(0xe9)]()),this[_0x2b77e2(0xde)][_0x2b77e2(0xd7)](_0x9b650c,_0x4c2520);}[_0x57c6be(0xb6)](_0x31e505){const _0xc31b7d=_0x57c6be,_0x1cd2d9=this[_0xc31b7d(0xf2)][_0xc31b7d(0xa6)](_0x31e505);return this[_0xc31b7d(0xf3)]?this[_0xc31b7d(0xf3)][_0xc31b7d(0xac)]>_0x31e505[_0xc31b7d(0xac)]?_0x1cd2d9-0x1:_0x1cd2d9:_0x1cd2d9-0x1;}[_0x57c6be(0xd8)](){const _0x3e1a03=_0x57c6be;if(this[_0x3e1a03(0xf2)][_0x3e1a03(0xb2)]&&this[_0x3e1a03(0xf2)][_0x3e1a03(0xb9)]){const _0x2c66b2={'id':_0x3e1a03(0xd6),'author':this[_0x3e1a03(0xf2)][_0x3e1a03(0xb2)],'authoredAt':this[_0x3e1a03(0xf2)][_0x3e1a03(0xb9)],'content':_0x10f072(this[_0x3e1a03(0xcf)],_0x3e1a03(0x9a)),'attributes':{}};this[_0x3e1a03(0xf3)]=new this[(_0x3e1a03(0xa1))][(_0x3e1a03(0xc4))](this[_0x3e1a03(0xcf)],_0x2c66b2,{'maxCommentCharsWhenCollapsed':this[_0x3e1a03(0xa1)][_0x3e1a03(0xa5)],'formatDateTime':this[_0x3e1a03(0xa1)][_0x3e1a03(0xbe)],'editorConfig':this[_0x3e1a03(0xa1)][_0x3e1a03(0xe1)],'isSystemComment':!0x0}),this[_0x3e1a03(0xde)][_0x3e1a03(0xd7)](this[_0x3e1a03(0xf3)],this[_0x3e1a03(0xf2)][_0x3e1a03(0xa6)](_0x2c66b2));}else this[_0x3e1a03(0xf3)]&&(this[_0x3e1a03(0xde)][_0x3e1a03(0x9b)](this[_0x3e1a03(0xf3)]),this[_0x3e1a03(0xf3)][_0x3e1a03(0xad)](),this[_0x3e1a03(0xf3)]=null);this[_0x3e1a03(0xa3)]();}[_0x57c6be(0xee)](_0x5ece04){const _0x33963f=_0x57c6be,_0x4c9e68=this[_0x33963f(0xde)][_0x33963f(0x9b)](_0x5ece04['id']);this[_0x33963f(0xb5)](_0x4c9e68),_0x4c9e68[_0x33963f(0xc3)]&&this[_0x33963f(0xe9)](),_0x4c9e68[_0x33963f(0xad)]();}[_0x57c6be(0xe9)](){const _0xcf1645=_0x57c6be;this[_0xcf1645(0xa8)]=Array[_0xcf1645(0xd4)](this[_0xcf1645(0xde)])[_0xcf1645(0x9e)](_0x86c50c=>_0x86c50c[_0xcf1645(0xc3)]);}[_0x57c6be(0xae)](){const _0x25ed35=_0x57c6be,_0x3dd0e3=function(_0x122259){const _0x122dfa=_0x474d,_0x440cea=new _0x5da799();for(const _0x595cc5 of _0x122259)_0x440cea[_0x122dfa(0xd7)](_0x595cc5);return _0x440cea;}(this[_0x25ed35(0xde)]),_0x5dd2ab=this[_0x25ed35(0xd0)][_0x25ed35(0xdd)];for(let _0x50dd9b=0x1;_0x50dd9b<=_0x5dd2ab;_0x50dd9b++)_0x3dd0e3[_0x25ed35(0x9b)](0x1);for(const _0x17d8ac of _0x3dd0e3)_0x17d8ac[_0x25ed35(0xab)]();_0x5dd2ab>0x0&&_0x3dd0e3[_0x25ed35(0xd7)](this[_0x25ed35(0xd0)],0x1),rs(_0x5b4755(Array[_0x25ed35(0xd4)](this[_0x25ed35(0xf8)]),Array[_0x25ed35(0xd4)](_0x3dd0e3)),this[_0x25ed35(0xf8)],_0x3dd0e3);}[_0x57c6be(0xe5)](){const _0x27b924=_0x57c6be;rs(_0x5b4755(Array[_0x27b924(0xd4)](this[_0x27b924(0xf8)]),Array[_0x27b924(0xd4)](this[_0x27b924(0xde)])),this[_0x27b924(0xf8)],this[_0x27b924(0xde)]);for(const _0x43b12f of this[_0x27b924(0xf8)])_0x43b12f[_0x27b924(0xf5)]();}[_0x57c6be(0xca)](){const _0x562d56=_0x57c6be;this[_0x562d56(0xde)][_0x562d56(0xe0)](_0x5e1a11=>{const _0x53771e=_0x562d56;this[_0x53771e(0xc0)][_0x53771e(0xd7)](_0x5e1a11[_0x53771e(0xd3)]),this[_0x53771e(0xaf)][_0x53771e(0xcb)](_0x5e1a11[_0x53771e(0xd3)]);}),this[_0x562d56(0xde)]['on'](_0x562d56(0xe2),(_0x3c3754,_0x4b7aed)=>{const _0x35ff5d=_0x562d56;for(const _0x2a4951 of _0x4b7aed[_0x35ff5d(0xa4)])this[_0x35ff5d(0xc0)][_0x35ff5d(0x9b)](_0x2a4951[_0x35ff5d(0xd3)]),this[_0x35ff5d(0xaf)][_0x35ff5d(0xb5)](_0x2a4951[_0x35ff5d(0xd3)]);for(const _0x25eaa7 of Array[_0x35ff5d(0xd4)](_0x4b7aed[_0x35ff5d(0xa2)])[_0x35ff5d(0xf4)]())this[_0x35ff5d(0xc0)][_0x35ff5d(0xd7)](_0x25eaa7[_0x35ff5d(0xd3)]),this[_0x35ff5d(0xaf)][_0x35ff5d(0xcb)](_0x25eaa7[_0x35ff5d(0xd3)]);});}}function _0x173b(){const _0x43663a=['change:isEditMode','35914599vfeufX','maxThreadTotalWeight','_updateHasDirtyComment','includes','focusLast','commentUpdated','13156984QzFxwx','_handleRemoveCommentModel','ck-hidden','render','arrowup','_model','resolvedCommentView','reverse','expand','length','isActive','visibleViews','focusFirst','Marked\x20as\x20resolved','remove','801770FlgbtS','comments','some','arrowdown','change:hasDirtyComment','_config','added','refreshVisibleViews','removed','maxCommentCharsWhenCollapsed','_findOptimalIndex','editorDestroyed','hasDirtyComment','change:isActive','_shouldCollapse','collapse','authoredAt','destroy','_rearrangeCollapse','keystrokes','maxCommentsWhenCollapsed','set','resolvedBy','focus','createCollection','stopListening','_calculatePosition','1458877WzZKme','delegate','resolvedAt','resolveCommentThread','focusCycler','bindTemplate','get','formatDateTime','4090376WUKKWF','focusTracker','map','ck-thread__comments','isEditMode','CommentView','bind','3547941lADXyo','weight','insert','setTemplate','_setupKeyboardNavigation','listenTo','delete','editorReady','288463YvGMWr','locale','_collapsedCommentsView','updateComment','Thread\x20comments','element','from','equal','resolved','add','_handleInfoComment','change:isResolved','viewUid','102SPDdsg','target','count','commentViews','5GmEyaM','forEach','editorConfig','change','_handleNewCommentModel','removeComment','_rearrangeExpand'];_0x173b=function(){return _0x43663a;};return _0x173b();}function rs(_0x423439,_0x59f4c5,_0x9a398c){const _0x44abf1=_0x57c6be;let _0x4b5744=0x0;for(const _0x5d37a7 of _0x423439)switch(_0x5d37a7){case _0x44abf1(0xc8):_0x59f4c5[_0x44abf1(0xd7)](_0x9a398c[_0x44abf1(0xbd)](_0x4b5744),_0x4b5744),_0x4b5744++;break;case _0x44abf1(0xcc):_0x59f4c5[_0x44abf1(0x9b)](_0x4b5744);break;case _0x44abf1(0xd5):_0x4b5744++;}}
|
|
23
|
+
function _0x47ab(_0x33f009,_0x223c1b){const _0x438c88=_0x438c();return _0x47ab=function(_0x47ab5f,_0x1943c5){_0x47ab5f=_0x47ab5f-0xce;let _0x40244e=_0x438c88[_0x47ab5f];return _0x40244e;},_0x47ab(_0x33f009,_0x223c1b);}const _0x5318be=_0x47ab;function _0x438c(){const _0x528363=['ck-hidden','keystrokes','_config','_shouldCollapse','element','formatDateTime','CommentView','5ejrhwu','change:hasDirtyComment','from','70KUguNF','change','_calculatePosition','_handleRemoveCommentModel','editorConfig','2874xYMIvK','Thread\x20comments','1354jjnRXn','removed','change:isActive','772317uACyXM','resolveCommentThread','resolvedAt','change:isEditMode','authoredAt','expand','resolved','editorDestroyed','commentViews','createCollection','arrowup','isEditMode','forEach','maxThreadTotalWeight','collapse','visibleViews','36YEhYHx','includes','3369311jcYeRg','weight','listenTo','_rearrangeCollapse','_handleNewCommentModel','hasDirtyComment','some','editorReady','comments','render','isActive','setTemplate','focusTracker','stopListening','commentUpdated','1053857tYOcFr','ck-thread__comments','1477696tbYegP','4346922vqWcFK','count','resolvedCommentView','insert','updateComment','focusCycler','equal','arrowdown','focus','viewUid','set','locale','destroy','remove','_handleInfoComment','_setupKeyboardNavigation','_rearrangeExpand','delete','removeComment','focusLast','282796vUfKjc','40MxzioR','refreshVisibleViews','length','map','added','reverse','_model','add','bind','maxCommentCharsWhenCollapsed','_updateHasDirtyComment','_collapsedCommentsView','delegate','Marked\x20as\x20resolved','resolvedBy','change:isResolved','bindTemplate','_findOptimalIndex','focusFirst','get','target','maxCommentsWhenCollapsed'];_0x438c=function(){return _0x528363;};return _0x438c();}(function(_0x345c53,_0xbfd738){const _0x638920=_0x47ab,_0x2b1baf=_0x345c53();while(!![]){try{const _0x5f0af9=parseInt(_0x638920(0x10b))/0x1+parseInt(_0x638920(0xd0))/0x2*(-parseInt(_0x638920(0xce))/0x3)+-parseInt(_0x638920(0xf6))/0x4+-parseInt(_0x638920(0x129))/0x5*(-parseInt(_0x638920(0xf7))/0x6)+-parseInt(_0x638920(0xf4))/0x7*(-parseInt(_0x638920(0x10c))/0x8)+parseInt(_0x638920(0xd3))/0x9*(parseInt(_0x638920(0x12c))/0xa)+-parseInt(_0x638920(0xe5))/0xb*(parseInt(_0x638920(0xe3))/0xc);if(_0x5f0af9===_0xbfd738)break;else _0x2b1baf['push'](_0x2b1baf['shift']());}catch(_0x528310){_0x2b1baf['push'](_0x2b1baf['shift']());}}}(_0x438c,0x6779c));import{View as _0x3a5476,FocusCycler as _0x48f1e4}from'ckeditor5/src/ui.js';import{diff as _0xb305ea,Collection as _0x59db30,FocusTracker as _0xbab38e,KeystrokeHandler as _0xdeb0d3}from'ckeditor5/src/utils.js';import{getTranslation as _0x207b1b}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x2bcf8c}from'./collapsedcommentsview.js';export class CommentsListView extends _0x3a5476{[_0x5318be(0xdb)];[_0x5318be(0xf9)];[_0x5318be(0xf1)];[_0x5318be(0x123)];[_0x5318be(0xfc)];[_0x5318be(0x112)];[_0x5318be(0x124)];[_0x5318be(0x117)];constructor(_0x12e9d9,_0x5048fd,_0x262d16){const _0x28c892=_0x5318be;super(_0x12e9d9);const _0x18ed3f=this[_0x28c892(0x11c)];this[_0x28c892(0x101)](_0x28c892(0xea),!0x1),this[_0x28c892(0x101)](_0x28c892(0x10e),_0x5048fd[_0x28c892(0xed)][_0x28c892(0x10e)]),this[_0x28c892(0x101)](_0x28c892(0xef),!0x1),this[_0x28c892(0x112)]=_0x5048fd,this[_0x28c892(0x124)]=_0x262d16,this[_0x28c892(0xdb)]=this[_0x28c892(0xdc)](),this[_0x28c892(0xe2)]=this[_0x28c892(0xdc)](),this[_0x28c892(0xf9)]=null,this[_0x28c892(0xf1)]=new _0xbab38e(),this[_0x28c892(0x123)]=new _0xdeb0d3(),this[_0x28c892(0xfc)]=new _0x48f1e4({'focusables':this[_0x28c892(0xdb)],'focusTracker':this[_0x28c892(0xf1)],'keystrokeHandler':this[_0x28c892(0x123)],'keystrokeHandlerOptions':{'filter':_0x430094=>this[_0x28c892(0xdb)][_0x28c892(0x10f)](_0x1127a4=>_0x1127a4[_0x28c892(0x126)])[_0x28c892(0xe4)](_0x430094[_0x28c892(0x120)])},'actions':{'focusPrevious':_0x28c892(0xdd),'focusNext':_0x28c892(0xfe)}}),this[_0x28c892(0x117)]=new _0x2bcf8c(_0x12e9d9),this[_0x28c892(0x117)][_0x28c892(0x114)](_0x28c892(0xf8))['to'](this,_0x28c892(0x10e),_0xd0fd0a=>_0xd0fd0a-this[_0x28c892(0x124)][_0x28c892(0x121)]);for(const _0x2b0e56 of _0x5048fd[_0x28c892(0xed)])this[_0x28c892(0xe9)](_0x2b0e56);this[_0x28c892(0x105)](),this[_0x28c892(0xe7)](_0x5048fd[_0x28c892(0xed)],_0x28c892(0x113),(_0x348ab9,_0x381102)=>{const _0x4d6aee=_0x28c892,_0x122a1a=this[_0x4d6aee(0x12e)](_0x381102);this[_0x4d6aee(0x10e)]++,this[_0x4d6aee(0xe9)](_0x381102,_0x122a1a),this[_0x4d6aee(0x10d)]();}),this[_0x28c892(0xe7)](_0x5048fd[_0x28c892(0xed)],_0x28c892(0x104),(_0x5ad2e7,_0x7d6e4b)=>{const _0x2bbfbe=_0x28c892;this[_0x2bbfbe(0x10e)]--,this[_0x2bbfbe(0x12f)](_0x7d6e4b),this[_0x2bbfbe(0x10d)]();}),this[_0x28c892(0xe7)](_0x5048fd,_0x28c892(0xf3),()=>this[_0x28c892(0x10d)]()),this[_0x28c892(0xe7)](_0x5048fd,_0x28c892(0x11b),()=>this[_0x28c892(0x105)]()),this['on'](_0x28c892(0xd2),()=>this[_0x28c892(0x10d)]()),this['on'](_0x28c892(0x12a),()=>this[_0x28c892(0x10d)]()),this[_0x28c892(0xf0)]({'tag':'ul','attributes':{'class':[_0x28c892(0xf5),_0x18ed3f['if'](_0x28c892(0x10e),_0x28c892(0x122),_0x3a9c94=>!_0x3a9c94)],'aria-label':_0x207b1b(_0x12e9d9,_0x28c892(0xcf))},'children':this[_0x28c892(0xe2)]});}get[_0x5318be(0x125)](){const _0x1c1fdc=_0x5318be;return this[_0x1c1fdc(0x112)][_0x1c1fdc(0xe6)]>this[_0x1c1fdc(0x124)][_0x1c1fdc(0xe0)]&&!this[_0x1c1fdc(0xef)]&&!this[_0x1c1fdc(0xea)];}[_0x5318be(0xee)](){const _0x50f080=_0x5318be;super[_0x50f080(0xee)](),this[_0x50f080(0x10d)](),this[_0x50f080(0x106)]();}[_0x5318be(0xff)](_0x506396){const _0x7c4883=_0x5318be;-0x1===_0x506396?this[_0x7c4883(0xfc)][_0x7c4883(0x10a)]():this[_0x7c4883(0xfc)][_0x7c4883(0x11e)]();}[_0x5318be(0x103)](){const _0x2e9eb5=_0x5318be;this[_0x2e9eb5(0x117)][_0x2e9eb5(0x103)]();for(const _0x5a6f4a of this[_0x2e9eb5(0xdb)])_0x5a6f4a[_0x2e9eb5(0x103)]();super[_0x2e9eb5(0x103)]();}[_0x5318be(0x10d)](){const _0x13c994=_0x5318be;this[_0x13c994(0x125)]?this[_0x13c994(0xe8)]():this[_0x13c994(0x107)]();}[_0x5318be(0xe9)](_0x4a2ada,_0x1fbdd0){const _0x140ec2=_0x5318be,_0x468683=new this[(_0x140ec2(0x124))][(_0x140ec2(0x128))](this[_0x140ec2(0x102)],_0x4a2ada,{'maxCommentCharsWhenCollapsed':this[_0x140ec2(0x124)][_0x140ec2(0x115)],'formatDateTime':this[_0x140ec2(0x124)][_0x140ec2(0x127)],'editorConfig':this[_0x140ec2(0x124)][_0x140ec2(0x130)]});_0x468683[_0x140ec2(0x100)]=_0x4a2ada['id'],_0x468683[_0x140ec2(0x118)](_0x140ec2(0x109))['to'](this),_0x468683[_0x140ec2(0x118)](_0x140ec2(0xfb))['to'](this),_0x468683[_0x140ec2(0x118)](_0x140ec2(0xd4))['to'](this),_0x468683[_0x140ec2(0x118)](_0x140ec2(0xec))['to'](this),_0x468683[_0x140ec2(0x118)](_0x140ec2(0xda))['to'](this),this[_0x140ec2(0xe7)](_0x468683,_0x140ec2(0xd6),()=>this[_0x140ec2(0x116)]()),this[_0x140ec2(0xdb)][_0x140ec2(0x113)](_0x468683,_0x1fbdd0);}[_0x5318be(0x12e)](_0x51895b){const _0x239260=_0x5318be,_0x130ee2=this[_0x239260(0x112)][_0x239260(0x11d)](_0x51895b);return this[_0x239260(0xf9)]?this[_0x239260(0xf9)][_0x239260(0xd7)]>_0x51895b[_0x239260(0xd7)]?_0x130ee2-0x1:_0x130ee2:_0x130ee2-0x1;}[_0x5318be(0x105)](){const _0x23e288=_0x5318be;if(this[_0x23e288(0x112)][_0x23e288(0x11a)]&&this[_0x23e288(0x112)][_0x23e288(0xd5)]){const _0x2fffb0={'id':_0x23e288(0xd9),'author':this[_0x23e288(0x112)][_0x23e288(0x11a)],'authoredAt':this[_0x23e288(0x112)][_0x23e288(0xd5)],'content':_0x207b1b(this[_0x23e288(0x102)],_0x23e288(0x119)),'attributes':{}};this[_0x23e288(0xf9)]=new this[(_0x23e288(0x124))][(_0x23e288(0x128))](this[_0x23e288(0x102)],_0x2fffb0,{'maxCommentCharsWhenCollapsed':this[_0x23e288(0x124)][_0x23e288(0x115)],'formatDateTime':this[_0x23e288(0x124)][_0x23e288(0x127)],'editorConfig':this[_0x23e288(0x124)][_0x23e288(0x130)],'isSystemComment':!0x0}),this[_0x23e288(0xdb)][_0x23e288(0x113)](this[_0x23e288(0xf9)],this[_0x23e288(0x112)][_0x23e288(0x11d)](_0x2fffb0));}else this[_0x23e288(0xf9)]&&(this[_0x23e288(0xdb)][_0x23e288(0x104)](this[_0x23e288(0xf9)]),this[_0x23e288(0xf9)][_0x23e288(0x103)](),this[_0x23e288(0xf9)]=null);this[_0x23e288(0x10d)]();}[_0x5318be(0x12f)](_0x100ad5){const _0x8a9109=_0x5318be,_0x441742=this[_0x8a9109(0xdb)][_0x8a9109(0x104)](_0x100ad5['id']);this[_0x8a9109(0xf2)](_0x441742),_0x441742[_0x8a9109(0xde)]&&this[_0x8a9109(0x116)](),_0x441742[_0x8a9109(0x103)]();}[_0x5318be(0x116)](){const _0x4940e2=_0x5318be;this[_0x4940e2(0xea)]=Array[_0x4940e2(0x12b)](this[_0x4940e2(0xdb)])[_0x4940e2(0xeb)](_0x22eb8a=>_0x22eb8a[_0x4940e2(0xde)]);}[_0x5318be(0xe8)](){const _0x3fdc83=_0x5318be,_0x38c864=function(_0x8e018c){const _0x331022=_0x47ab,_0x45eb30=new _0x59db30();for(const _0x276369 of _0x8e018c)_0x45eb30[_0x331022(0x113)](_0x276369);return _0x45eb30;}(this[_0x3fdc83(0xdb)]),_0x445002=this[_0x3fdc83(0x117)][_0x3fdc83(0xf8)];for(let _0x476ca4=0x1;_0x476ca4<=_0x445002;_0x476ca4++)_0x38c864[_0x3fdc83(0x104)](0x1);for(const _0x142b26 of _0x38c864)_0x142b26[_0x3fdc83(0xe1)]();_0x445002>0x0&&_0x38c864[_0x3fdc83(0x113)](this[_0x3fdc83(0x117)],0x1),rs(_0xb305ea(Array[_0x3fdc83(0x12b)](this[_0x3fdc83(0xe2)]),Array[_0x3fdc83(0x12b)](_0x38c864)),this[_0x3fdc83(0xe2)],_0x38c864);}[_0x5318be(0x107)](){const _0x268a2f=_0x5318be;rs(_0xb305ea(Array[_0x268a2f(0x12b)](this[_0x268a2f(0xe2)]),Array[_0x268a2f(0x12b)](this[_0x268a2f(0xdb)])),this[_0x268a2f(0xe2)],this[_0x268a2f(0xdb)]);for(const _0x3bf8ee of this[_0x268a2f(0xe2)])_0x3bf8ee[_0x268a2f(0xd8)]();}[_0x5318be(0x106)](){const _0x118908=_0x5318be;this[_0x118908(0xdb)][_0x118908(0xdf)](_0x47f6b3=>{const _0x752ffb=_0x118908;this[_0x752ffb(0xf1)][_0x752ffb(0x113)](_0x47f6b3[_0x752ffb(0x126)]),this[_0x752ffb(0x123)][_0x752ffb(0xe7)](_0x47f6b3[_0x752ffb(0x126)]);}),this[_0x118908(0xdb)]['on'](_0x118908(0x12d),(_0x3f58fa,_0x2046f1)=>{const _0x11a0af=_0x118908;for(const _0x51b690 of _0x2046f1[_0x11a0af(0xd1)])this[_0x11a0af(0xf1)][_0x11a0af(0x104)](_0x51b690[_0x11a0af(0x126)]),this[_0x11a0af(0x123)][_0x11a0af(0xf2)](_0x51b690[_0x11a0af(0x126)]);for(const _0x1aeb2f of Array[_0x11a0af(0x12b)](_0x2046f1[_0x11a0af(0x110)])[_0x11a0af(0x111)]())this[_0x11a0af(0xf1)][_0x11a0af(0x113)](_0x1aeb2f[_0x11a0af(0x126)]),this[_0x11a0af(0x123)][_0x11a0af(0xe7)](_0x1aeb2f[_0x11a0af(0x126)]);});}}function rs(_0x42d318,_0xf774ea,_0x586741){const _0x3dc078=_0x5318be;let _0x99f9a=0x0;for(const _0x4a72c0 of _0x42d318)switch(_0x4a72c0){case _0x3dc078(0xfa):_0xf774ea[_0x3dc078(0x113)](_0x586741[_0x3dc078(0x11f)](_0x99f9a),_0x99f9a),_0x99f9a++;break;case _0x3dc078(0x108):_0xf774ea[_0x3dc078(0x104)](_0x99f9a);break;case _0x3dc078(0xfd):_0x99f9a++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xf531af=_0x56ca;function _0x2708(){const _0xa1db75=['3709656aqFsuT','element','bindTemplate','2Sirrgz','261NxmJft','1225195uGHxal','contextValue','923529CJSMhn','THREAD_CONTEXT_LABEL','169020sIbZKx','span','629587zFhLyU','ck-context__value','focus','2204136nbktLf','266744nirrVt','set','setTemplate'];_0x2708=function(){return _0xa1db75;};return _0x2708();}(function(_0x5a39ba,_0x29320a){const _0x27d638=_0x56ca,_0x4a109d=_0x5a39ba();while(!![]){try{const _0x56f936=-parseInt(_0x27d638(0xef))/0x1*(parseInt(_0x27d638(0xf5))/0x2)+-parseInt(_0x27d638(0xf3))/0x3+-parseInt(_0x27d638(0xfa))/0x4+-parseInt(_0x27d638(0xf1))/0x5+parseInt(_0x27d638(0xec))/0x6+parseInt(_0x27d638(0xf7))/0x7+parseInt(_0x27d638(0xfb))/0x8*(parseInt(_0x27d638(0xf0))/0x9);if(_0x56f936===_0x29320a)break;else _0x4a109d['push'](_0x4a109d['shift']());}catch(_0x44df0e){_0x4a109d['push'](_0x4a109d['shift']());}}}(_0x2708,0x62334));function _0x56ca(_0x757890,_0x5ef0fc){const _0x270853=_0x2708();return _0x56ca=function(_0x56ca9c,_0x53f16d){_0x56ca9c=_0x56ca9c-0xea;let _0x27f6b2=_0x270853[_0x56ca9c];return _0x27f6b2;},_0x56ca(_0x757890,_0x5ef0fc);}import{View as _0x198925}from'ckeditor5/src/ui.js';import{getTranslation as _0x4efea0}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x198925{constructor(_0x12ffab){const _0x271439=_0x56ca;super(_0x12ffab);const _0x11a054=this[_0x271439(0xee)];this[_0x271439(0xea)](_0x271439(0xf2),''),this[_0x271439(0xeb)]({'tag':_0x271439(0xf6),'attributes':{'class':['ck',_0x271439(0xf8)],'aria-label':_0x11a054['to'](_0x271439(0xf2),_0xff92df=>_0x4efea0(_0x12ffab,_0x271439(0xf4),_0xff92df)),'tabindex':-0x1},'children':[{'text':_0x11a054['to'](_0x271439(0xf2))}]});}[_0xf531af(0xf9)](){const _0x157613=_0xf531af;this[_0x157613(0xed)][_0x157613(0xf9)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3becc1=_0x5113;(function(_0x185150,_0x46b2e9){const _0x213f3b=_0x5113,_0x65f1ff=_0x185150();while(!![]){try{const _0x2cc7a5=-parseInt(_0x213f3b(0xef))/0x1+-parseInt(_0x213f3b(0xea))/0x2+parseInt(_0x213f3b(0x11e))/0x3*(parseInt(_0x213f3b(0xf2))/0x4)+parseInt(_0x213f3b(0xd9))/0x5*(-parseInt(_0x213f3b(0x103))/0x6)+parseInt(_0x213f3b(0x11d))/0x7+-parseInt(_0x213f3b(0x115))/0x8+-parseInt(_0x213f3b(0x10b))/0x9*(parseInt(_0x213f3b(0xe2))/0xa);if(_0x2cc7a5===_0x46b2e9)break;else _0x65f1ff['push'](_0x65f1ff['shift']());}catch(_0x370605){_0x65f1ff['push'](_0x65f1ff['shift']());}}}(_0x153d,0xf2df0));function _0x5113(_0x555fa9,_0x413860){const _0x153dab=_0x153d();return _0x5113=function(_0x5113f8,_0x130b57){_0x5113f8=_0x5113f8-0xd7;let _0x13207f=_0x153dab[_0x5113f8];return _0x13207f;},_0x5113(_0x555fa9,_0x413860);}import{View as _0x332f0a,ButtonView as _0x4a2a4c,FocusCycler as _0x15608f}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5423ee,KeystrokeHandler as _0x4e9b41}from'ckeditor5/src/utils.js';import{IconUndo as _0x264727}from'ckeditor5/src/icons.js';import{getTranslation as _0x2c5d4a}from'../../../utils/common-translations.js';function _0x153d(){const _0x39de71=['bind','substring','setTemplate','_attachContextActions','6BIDjSD','lastIndexOf','Reopen','value','remove','.ck-context__value','fire','ck-context--quotes','114687ODhows','isResolved','keystrokes','classList','focusCycler','label','.ck-context','scrollWidth','focusTracker','context','6680072YmYYTf','mouseenter','_model','element','bindTemplate','_trimContextValue','querySelector','isReadOnly','10849706WQFFuO','2938989ZfxRYW','contextView','focusFirst','2224535CmJAlA','contextValue','_createReopenButton','_setupKeyboardNavigation','ck-annotation__actions','shift+tab','length','hasContext','reopenButtonView','700pljNSA','Comment\x20was\x20made\x20on\x20an\x20element','isResolvable','offsetWidth','ck-thread__header','focusables','mouseleave','tooltip','368392CXFDLJ','overlay','focus','listenTo','add','158362IQCEhe','...','locale','8EbczLN','div','_createContextView','render','reopenCommentThread','ck-context','ck-context-wrapper','icon','execute','isEnabled','tab','createCollection','isVisible'];_0x153d=function(){return _0x39de71;};return _0x153d();}import{CommentThreadHeaderContextView as _0x25fa0a}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x332f0a{[_0x3becc1(0x117)];[_0x3becc1(0xe1)];[_0x3becc1(0xd7)];[_0x3becc1(0xe7)];[_0x3becc1(0x113)];[_0x3becc1(0x10d)];[_0x3becc1(0x10f)];constructor(_0x538c45,_0x174160){const _0x51e157=_0x3becc1;super(_0x538c45);const _0x2d0ff2=this[_0x51e157(0x119)];this[_0x51e157(0x117)]=_0x174160,this[_0x51e157(0xe1)]=this[_0x51e157(0xdb)](),this[_0x51e157(0xd7)]=this[_0x51e157(0xf4)](),this[_0x51e157(0xe7)]=this[_0x51e157(0xfd)]([this[_0x51e157(0xd7)],this[_0x51e157(0xe1)]]),this[_0x51e157(0x113)]=new _0x5423ee(),this[_0x51e157(0x10d)]=new _0x4e9b41(),this[_0x51e157(0x10f)]=new _0x15608f({'focusables':this[_0x51e157(0xe7)],'focusTracker':this[_0x51e157(0x113)],'keystrokeHandler':this[_0x51e157(0x10d)],'actions':{'focusPrevious':_0x51e157(0xde),'focusNext':_0x51e157(0xfc)}}),this[_0x51e157(0xff)](_0x51e157(0xe0))['to'](this[_0x51e157(0x117)],_0x51e157(0x114),_0x5a718d=>!!_0x5a718d),this[_0x51e157(0xff)](_0x51e157(0xda))['to'](this[_0x51e157(0x117)],_0x51e157(0x114),_0x5c5389=>_0x5c5389&&_0x5c5389[_0x51e157(0x106)]?this[_0x51e157(0x11a)](_0x5c5389[_0x51e157(0x106)]):_0x2c5d4a(this[_0x51e157(0xf1)],_0x51e157(0xe3))),this[_0x51e157(0x101)]({'tag':_0x51e157(0xf3),'attributes':{'class':[_0x51e157(0xe6)]},'children':[{'tag':_0x51e157(0xf3),'attributes':{'class':[_0x51e157(0xf8)]},'children':[{'tag':_0x51e157(0xf3),'attributes':{'class':[_0x51e157(0xf7),_0x2d0ff2['if'](_0x51e157(0xe0),_0x51e157(0x10a))]},'children':[this[_0x51e157(0xd7)]]}]},{'tag':_0x51e157(0xf3),'attributes':{'class':[_0x51e157(0xdd)]},'children':[this[_0x51e157(0xe1)]]}]});}[_0x3becc1(0xf5)](){const _0x5a0988=_0x3becc1;super[_0x5a0988(0xf5)](),this[_0x5a0988(0x102)](),this[_0x5a0988(0xdc)]();}[_0x3becc1(0xec)](){const _0x20373d=_0x3becc1;this[_0x20373d(0x10f)][_0x20373d(0xd8)]();}[_0x3becc1(0xdb)](){const _0x3e5e24=_0x3becc1,_0x13e23c=new _0x4a2a4c(this[_0x3e5e24(0xf1)]);return _0x13e23c[_0x3e5e24(0x110)]=_0x2c5d4a(this[_0x3e5e24(0xf1)],_0x3e5e24(0x105)),_0x13e23c[_0x3e5e24(0xe9)]=_0x2c5d4a(this[_0x3e5e24(0xf1)],_0x3e5e24(0x105)),_0x13e23c[_0x3e5e24(0xf9)]=_0x264727,_0x13e23c[_0x3e5e24(0xff)](_0x3e5e24(0xfb))['to'](this[_0x3e5e24(0x117)],_0x3e5e24(0x11c),_0x135937=>!_0x135937),_0x13e23c[_0x3e5e24(0xff)](_0x3e5e24(0xfe))['to'](this[_0x3e5e24(0x117)],_0x3e5e24(0xe4),this[_0x3e5e24(0x117)],_0x3e5e24(0x10c),(_0x463781,_0x1ecb44)=>_0x463781&&_0x1ecb44),_0x13e23c['on'](_0x3e5e24(0xfa),()=>{const _0x2ed28c=_0x3e5e24;this[_0x2ed28c(0x109)](_0x2ed28c(0xf6),this[_0x2ed28c(0x117)]['id']);}),_0x13e23c;}[_0x3becc1(0x11a)](_0x3a7d5c){const _0x25ab48=_0x3becc1;if(_0x3a7d5c[_0x25ab48(0xdf)]<0x96)return _0x3a7d5c;const _0xfa2597=_0x3a7d5c[_0x25ab48(0x104)]('\x20',0x93);return _0x3a7d5c[_0x25ab48(0x100)](0x0,_0xfa2597>-0x1?_0xfa2597:0x93)+_0x25ab48(0xf0);}[_0x3becc1(0x102)](){const _0x5b83de=_0x3becc1,_0x10327c=this[_0x5b83de(0x118)][_0x5b83de(0x11b)](_0x5b83de(0x111)),_0x126f3c=_0x10327c[_0x5b83de(0x11b)](_0x5b83de(0x108));this[_0x5b83de(0xed)](_0x10327c,_0x5b83de(0x116),()=>{const _0x5918ca=_0x5b83de;_0x126f3c[_0x5918ca(0xe5)]<_0x126f3c[_0x5918ca(0x112)]&&_0x10327c[_0x5918ca(0x10e)][_0x5918ca(0xee)](_0x5918ca(0xeb));}),this[_0x5b83de(0xed)](_0x10327c,_0x5b83de(0xe8),()=>{const _0x2bd181=_0x5b83de;_0x10327c[_0x2bd181(0x10e)][_0x2bd181(0x107)](_0x2bd181(0xeb));});}[_0x3becc1(0xdc)](){const _0x4769ec=_0x3becc1;this[_0x4769ec(0x10d)][_0x4769ec(0xed)](this[_0x4769ec(0x118)]);for(const _0x522773 of this[_0x4769ec(0xe7)])this[_0x4769ec(0x113)][_0x4769ec(0xee)](_0x522773[_0x4769ec(0x118)]),this[_0x4769ec(0x10d)][_0x4769ec(0xed)](_0x522773[_0x4769ec(0x118)]);}[_0x3becc1(0xf4)](){const _0x10483f=_0x3becc1,_0x1ff931=new _0x25fa0a(this[_0x10483f(0xf1)]);return _0x1ff931[_0x10483f(0xff)](_0x10483f(0xda))['to'](this),_0x1ff931;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a12dc=_0x4c07;function _0x4c07(_0x2f30c1,_0x3df8dc){const _0x585297=_0x5852();return _0x4c07=function(_0x4c07ba,_0x15aa5f){_0x4c07ba=_0x4c07ba-0x1d4;let _0x26e8cd=_0x585297[_0x4c07ba];return _0x26e8cd;},_0x4c07(_0x2f30c1,_0x3df8dc);}(function(_0x251b44,_0x2eb3e0){const _0x7b1fe6=_0x4c07,_0x22b413=_0x251b44();while(!![]){try{const _0x2dc836=-parseInt(_0x7b1fe6(0x1ff))/0x1*(-parseInt(_0x7b1fe6(0x203))/0x2)+-parseInt(_0x7b1fe6(0x1f2))/0x3*(parseInt(_0x7b1fe6(0x1da))/0x4)+parseInt(_0x7b1fe6(0x1eb))/0x5+parseInt(_0x7b1fe6(0x1ed))/0x6+-parseInt(_0x7b1fe6(0x1e1))/0x7+parseInt(_0x7b1fe6(0x204))/0x8+-parseInt(_0x7b1fe6(0x202))/0x9;if(_0x2dc836===_0x2eb3e0)break;else _0x22b413['push'](_0x22b413['shift']());}catch(_0x2f67be){_0x22b413['push'](_0x22b413['shift']());}}}(_0x5852,0xaa17c));import{View as _0x45feea}from'ckeditor5/src/ui.js';function _0x5852(){const _0x1730a3=['editing','view','bindTemplate','322408MSMLPx','ck-thread__input','getDomRoot','15750063lvIGzS','6WJRDFh','2638040gjJzlE','showButtons','target','delegate','change:showInput','mousedown','set','1021032OOjWWp','userView','showInput','contains','render','value','destroy','772100NXckVU','div','setTemplate','isFocused','focus','focusCycler','element','ck-comment__input-container','then','createEditor','4926600ldJDrX','extendTemplate','6242892nRHfeQ','commentInputView','preventDefault','ck-comment__input-container--active','editorDestroyed','9UHWpwA','bind','filter','focusTracker','editor','listenTo','editorReady','some','ck-thread__user','_focusOnNonInteractiveMouseDown'];_0x5852=function(){return _0x1730a3;};return _0x5852();}import{CommentInputView as _0x3e47bf}from'./commentinputview.js';import{UserView as _0x56020c}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x45feea{constructor(_0x2444fa,_0x1e814d,_0x3dceb0){const _0x284ee4=_0x4c07;super(_0x2444fa),this[_0x284ee4(0x1ee)]=new _0x3e47bf(_0x2444fa,_0x3dceb0),this[_0x284ee4(0x1e6)]=this[_0x284ee4(0x1ee)][_0x284ee4(0x1e6)],this[_0x284ee4(0x1ee)][_0x284ee4(0x1f3)](_0x284ee4(0x1d4))['to'](this[_0x284ee4(0x1ee)][_0x284ee4(0x1f5)],_0x284ee4(0x1e4),this[_0x284ee4(0x1ee)],_0x284ee4(0x1df),(_0x35a082,_0x41c8c4)=>_0x35a082||!!_0x41c8c4),this[_0x284ee4(0x1d9)](_0x284ee4(0x1dc),!0x1),this['on'](_0x284ee4(0x1d7),()=>{const _0x427fee=_0x284ee4;this[_0x427fee(0x1dc)]&&!this[_0x427fee(0x1ee)][_0x427fee(0x1f6)]&&this[_0x427fee(0x1ee)][_0x427fee(0x1ea)]();}),this[_0x284ee4(0x1ee)][_0x284ee4(0x1d6)](_0x284ee4(0x1f8))['to'](this),this[_0x284ee4(0x1ee)][_0x284ee4(0x1d6)](_0x284ee4(0x1f1))['to'](this),this[_0x284ee4(0x1db)]=new _0x56020c(_0x2444fa,_0x1e814d),this[_0x284ee4(0x1db)][_0x284ee4(0x1ec)]({'attributes':{'class':_0x284ee4(0x1fa),'aria-hidden':!0x0}}),this[_0x284ee4(0x1ee)][_0x284ee4(0x1ec)]({'attributes':{'class':_0x284ee4(0x200)}}),this[_0x284ee4(0x1e3)]({'tag':_0x284ee4(0x1e2),'attributes':{'class':[_0x284ee4(0x1e8),this[_0x284ee4(0x1fe)]['if'](_0x284ee4(0x1dc),_0x284ee4(0x1f0))]},'children':[this[_0x284ee4(0x1db)],this[_0x284ee4(0x1ee)]]});}[_0x4a12dc(0x1de)](){const _0x768e3c=_0x4a12dc;super[_0x768e3c(0x1de)](),this[_0x768e3c(0x1fb)]();}[_0x4a12dc(0x1e0)](){const _0x3b5619=_0x4a12dc;return this[_0x3b5619(0x1ee)][_0x3b5619(0x1e0)]()[_0x3b5619(0x1e9)](()=>super[_0x3b5619(0x1e0)]());}[_0x4a12dc(0x1e5)](_0x1c26da){const _0x2100b1=_0x4a12dc;this[_0x2100b1(0x1ee)][_0x2100b1(0x1e5)](_0x1c26da);}[_0x4a12dc(0x1fb)](){const _0x19c158=_0x4a12dc;this[_0x19c158(0x1f7)](this[_0x19c158(0x1e7)],_0x19c158(0x1d8),(_0x5cec4b,_0x59d45e)=>{const _0x267b02=_0x19c158,{submitButtonView:_0x3f5608,cancelButtonView:_0x143dee,editor:_0x1035dc}=this[_0x267b02(0x1ee)];[_0x3f5608[_0x267b02(0x1e7)],_0x143dee[_0x267b02(0x1e7)],_0x1035dc?_0x1035dc[_0x267b02(0x1fc)][_0x267b02(0x1fd)][_0x267b02(0x201)]():null][_0x267b02(0x1f4)](_0xe67ea=>_0xe67ea)[_0x267b02(0x1f9)](_0x27a833=>_0x27a833[_0x267b02(0x1dd)](_0x59d45e[_0x267b02(0x1d5)]))||(this[_0x267b02(0x1e5)](),_0x59d45e[_0x267b02(0x1ef)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xb0e850=_0x10c8;function _0x3b86(){const _0x338a12=['getTemplate','bind','commentThreadHeaderView','3exNnTs','2084104kljzPF','117EoMsBG','add','removeButton','649355QGCrEs','placeholder','get','14lEyuam','5885363NNufdD','ck-thread','Write\x20a\x20comment...','306490umFroi','ck-rounded-corners','stop','change:archivedAt','Resolve','set','archivedAt','ck-thread--active','Delete\x20comment\x20thread?','listitem','isUnlinked','actionIndicator','removeConfirm','ck-thread__container','resolveCommentThread','_cancelAllConfirms','isConfirm','element','isVisible','div','commentThreadInputView','_bindFirstCommentView','ck-thread--','_model','commentsListView','createCollection','resolveButton','isReadOnly','_updateArchivedThreadHeader','locale','tooltip','extendTemplate','ck-thread--remove-confirmation','querySelector','2236692yNPkTB','execute','isSystemComment','change:isReadOnly','_createResolveButton','remove','actionBar','isActive','ariaDescriptionView','focus','render','commentViews','commentThreadChildren','containerElement','then','change:isActive','ck-reset_all-excluded','ck-comment--resolve','ariaLabel','fire','2uiUIYU','high','removeCommentThread','219749iJBYud','isResolvable','length','has','icon','.ck-thread__container','12nAcQao','ck-thread--unlinked','bindTemplate','isEnabled','showConfirm','cancelConfirm','26NKawRA','isResolved','label','listenTo','_boundFirstCommentView','focusables','unbind','2257508tjftZr','setTemplate'];_0x3b86=function(){return _0x338a12;};return _0x3b86();}(function(_0x158ea6,_0x34d7ce){const _0xc0312b=_0x10c8,_0x2bdd84=_0x158ea6();while(!![]){try{const _0x3eee77=parseInt(_0xc0312b(0x1ec))/0x1*(-parseInt(_0xc0312b(0x1e9))/0x2)+parseInt(_0xc0312b(0x204))/0x3*(parseInt(_0xc0312b(0x1ff))/0x4)+-parseInt(_0xc0312b(0x209))/0x5*(-parseInt(_0xc0312b(0x1f2))/0x6)+-parseInt(_0xc0312b(0x1af))/0x7*(parseInt(_0xc0312b(0x205))/0x8)+-parseInt(_0xc0312b(0x206))/0x9*(-parseInt(_0xc0312b(0x1b3))/0xa)+-parseInt(_0xc0312b(0x1b0))/0xb+-parseInt(_0xc0312b(0x1d5))/0xc*(-parseInt(_0xc0312b(0x1f8))/0xd);if(_0x3eee77===_0x34d7ce)break;else _0x2bdd84['push'](_0x2bdd84['shift']());}catch(_0x55a70a){_0x2bdd84['push'](_0x2bdd84['shift']());}}}(_0x3b86,0x4e02a));import{ConfirmMixin as _0x1570e1,LateFocusButtonView as _0x39c22a}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x42cbe9}from'ckeditor5/src/icons.js';function _0x10c8(_0x28dbc2,_0x5cf824){const _0x3b861b=_0x3b86();return _0x10c8=function(_0x10c86c,_0x2d3685){_0x10c86c=_0x10c86c-0x1ad;let _0x1dfb40=_0x3b861b[_0x10c86c];return _0x1dfb40;},_0x10c8(_0x28dbc2,_0x5cf824);}import{BaseCommentThreadView as _0x7d232d}from'./basecommentthreadview.js';import{getTranslation as _0x6f89f8}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1570e1(_0x7d232d){[_0xb0e850(0x1e1)];[_0xb0e850(0x1e2)];[_0xb0e850(0x1cd)];[_0xb0e850(0x1fc)];constructor(_0x336d1b,_0x362fb0,_0x22f39f,_0x9bbed4){const _0x1a3235=_0xb0e850;super(_0x336d1b,_0x362fb0,_0x22f39f,_0x9bbed4),this[_0x1a3235(0x1e1)]=this[_0x1a3235(0x1cc)]([this[_0x1a3235(0x1cb)],this[_0x1a3235(0x1c7)],this[_0x1a3235(0x1dd)]]),this[_0x1a3235(0x1b8)](_0x1a3235(0x1be),null),this[_0x1a3235(0x1e2)]=null,this[_0x1a3235(0x1fc)]=null,this[_0x1a3235(0x1d0)]=_0x336d1b,this[_0x1a3235(0x1cd)]=this[_0x1a3235(0x1d9)](),this[_0x1a3235(0x200)](this[_0x1a3235(0x201)]()),this['on'](_0x1a3235(0x1e4),(_0x4f1be1,_0x1d6aa7,_0x36cca2)=>{const _0x3f6a5b=_0x1a3235;_0x36cca2||this[_0x3f6a5b(0x1c2)]();}),this[_0x1a3235(0x1fb)](this[_0x1a3235(0x1ca)],_0x1a3235(0x1d8),(_0x26c6c9,_0x2be1e8,_0x4811ae)=>{const _0x20be76=_0x1a3235;_0x4811ae&&this[_0x20be76(0x1c2)]();}),this[_0x1a3235(0x1ee)]>0x0&&this[_0x1a3235(0x1c8)](),this[_0x1a3235(0x1fb)](this[_0x1a3235(0x1cb)][_0x1a3235(0x1e0)],_0x1a3235(0x207),()=>{const _0x4465b8=_0x1a3235;this[_0x4465b8(0x1c8)]();});}[_0xb0e850(0x201)](){const _0xab617b=_0xb0e850,_0x242bfe=this[_0xab617b(0x1f4)];return{'tag':_0xab617b(0x1c6),'attributes':{'class':['ck',_0xab617b(0x1b1),_0xab617b(0x1e5),_0xab617b(0x1b4),_0x242bfe['if'](_0xab617b(0x1dc),_0xab617b(0x1ba)),_0x242bfe['if'](_0xab617b(0x1bd),_0xab617b(0x1f3)),_0x242bfe['if'](_0xab617b(0x1c3),_0xab617b(0x1d3)),_0x242bfe['to'](_0xab617b(0x1be),_0x4d047f=>_0x4d047f?_0xab617b(0x1c9)+_0x4d047f:'')],'data-thread-id':this[_0xab617b(0x1ca)]['id'],'tabindex':0x0,'role':_0xab617b(0x1bc),'aria-label':_0x242bfe['to'](_0xab617b(0x1e7)),'aria-describedby':this[_0xab617b(0x1dd)]['id']},'children':[{'tag':_0xab617b(0x1c6),'attributes':{'class':_0xab617b(0x1c0)},'children':this[_0xab617b(0x1e1)]}]};}[_0xb0e850(0x1df)](){const _0x45ccdd=_0xb0e850;super[_0x45ccdd(0x1df)](),this[_0x45ccdd(0x1e2)]=this[_0x45ccdd(0x1c4)][_0x45ccdd(0x1d4)](_0x45ccdd(0x1f1)),this[_0x45ccdd(0x1ca)]['on'](_0x45ccdd(0x1b6),()=>{const _0x14af55=_0x45ccdd;this[_0x14af55(0x1cf)]();}),this[_0x45ccdd(0x1cf)]();}[_0xb0e850(0x1c2)](){const _0x13ee97=_0xb0e850;this[_0x13ee97(0x1f7)]();for(const _0x53afb9 of this[_0x13ee97(0x1cb)][_0x13ee97(0x1e0)])_0x53afb9[_0x13ee97(0x1f7)]();}[_0xb0e850(0x1c8)](){const _0x332bce=_0xb0e850,{locale:_0x157382}=this,_0x230586=this[_0x332bce(0x1cb)][_0x332bce(0x1e0)][_0x332bce(0x1ae)](0x0);_0x230586===this[_0x332bce(0x1fc)]||_0x230586[_0x332bce(0x1d7)]||(this[_0x332bce(0x1fc)]=_0x230586,this[_0x332bce(0x1fe)](_0x332bce(0x1be)),this[_0x332bce(0x202)](_0x332bce(0x1be))['to'](_0x230586,_0x332bce(0x1be),_0x232b4c=>_0x332bce(0x1da)===_0x232b4c?_0x332bce(0x1da):null),_0x230586[_0x332bce(0x1ad)]=_0x6f89f8(_0x157382,_0x332bce(0x1b2)),_0x230586[_0x332bce(0x208)]['on'](_0x332bce(0x1d6),_0x2c6b1e=>{const _0x3473fc=_0x332bce;_0x2c6b1e[_0x3473fc(0x1b5)](),this[_0x3473fc(0x1f6)](_0x6f89f8(_0x157382,_0x3473fc(0x1bb)),this[_0x3473fc(0x1e2)])[_0x3473fc(0x1e3)](()=>{const _0x33250a=_0x3473fc;this[_0x33250a(0x1e8)](_0x33250a(0x1eb));});},{'priority':_0x332bce(0x1ea)}),this['on'](_0x332bce(0x1bf),()=>{const _0x3d8a5f=_0x332bce;_0x230586[_0x3d8a5f(0x1de)]();}),_0x230586[_0x332bce(0x1db)][_0x332bce(0x207)](this[_0x332bce(0x1cd)],0x0),_0x230586[_0x332bce(0x1fd)][_0x332bce(0x207)](this[_0x332bce(0x1cd)],0x0));}[_0xb0e850(0x1d9)](){const _0x346de7=_0xb0e850,_0x23a8e7=new _0x39c22a(this[_0x346de7(0x1d0)]);return _0x23a8e7[_0x346de7(0x1fa)]=_0x6f89f8(this[_0x346de7(0x1d0)],_0x346de7(0x1b7)),_0x23a8e7[_0x346de7(0x1d1)]=_0x6f89f8(this[_0x346de7(0x1d0)],_0x346de7(0x1b7)),_0x23a8e7[_0x346de7(0x1f0)]=_0x42cbe9,_0x23a8e7[_0x346de7(0x1d2)]({'attributes':{'class':_0x346de7(0x1e6)}}),_0x23a8e7[_0x346de7(0x202)](_0x346de7(0x1f5))['to'](this[_0x346de7(0x1ca)],_0x346de7(0x1ce),_0x2e8f2d=>!_0x2e8f2d),_0x23a8e7[_0x346de7(0x202)](_0x346de7(0x1c5))['to'](this[_0x346de7(0x1ca)],_0x346de7(0x1ed),this[_0x346de7(0x1ca)],_0x346de7(0x1f9),(_0xd0a3f4,_0x26384a)=>_0xd0a3f4&&!_0x26384a),_0x23a8e7['on'](_0x346de7(0x1d6),()=>{const _0x27f415=_0x346de7;this[_0x27f415(0x1e8)](_0x27f415(0x1c1),this[_0x27f415(0x1ca)]['id']);}),_0x23a8e7;}[_0xb0e850(0x1cf)](){const _0x1f27a2=_0xb0e850;this[_0x1f27a2(0x1ca)][_0x1f27a2(0x1b9)]?this[_0x1f27a2(0x1e1)][_0x1f27a2(0x1ef)](this[_0x1f27a2(0x203)])||(this[_0x1f27a2(0x1e1)][_0x1f27a2(0x207)](this[_0x1f27a2(0x203)],0x0),this[_0x1f27a2(0x1fd)][_0x1f27a2(0x207)](this[_0x1f27a2(0x203)],0x0)):this[_0x1f27a2(0x1e1)][_0x1f27a2(0x1ef)](this[_0x1f27a2(0x203)])&&(this[_0x1f27a2(0x1e1)][_0x1f27a2(0x1da)](this[_0x1f27a2(0x203)]),this[_0x1f27a2(0x1fd)][_0x1f27a2(0x1da)](this[_0x1f27a2(0x203)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x43a5d7=_0x1532;function _0x1532(_0x73cec0,_0x46bd8b){const _0x5eac41=_0x5eac();return _0x1532=function(_0x153234,_0x2faaf6){_0x153234=_0x153234-0x9c;let _0x9c39fd=_0x5eac41[_0x153234];return _0x9c39fd;},_0x1532(_0x73cec0,_0x46bd8b);}(function(_0x134a6a,_0x59a14e){const _0x3fb229=_0x1532,_0x506143=_0x134a6a();while(!![]){try{const _0x5c51ad=-parseInt(_0x3fb229(0xa4))/0x1*(parseInt(_0x3fb229(0xf1))/0x2)+-parseInt(_0x3fb229(0xe7))/0x3+-parseInt(_0x3fb229(0xbd))/0x4+-parseInt(_0x3fb229(0xd1))/0x5*(-parseInt(_0x3fb229(0xf7))/0x6)+-parseInt(_0x3fb229(0x9e))/0x7*(-parseInt(_0x3fb229(0xf4))/0x8)+-parseInt(_0x3fb229(0xd5))/0x9+parseInt(_0x3fb229(0xb9))/0xa*(parseInt(_0x3fb229(0xb3))/0xb);if(_0x5c51ad===_0x59a14e)break;else _0x506143['push'](_0x506143['shift']());}catch(_0x5489a8){_0x506143['push'](_0x506143['shift']());}}}(_0x5eac,0xa0547));import{IconRemoveComment as _0x4b298d,IconPencil as _0x43407b,IconThreeVerticalDots as _0x50f1fc}from'ckeditor5/src/icons.js';function _0x5eac(){const _0x59cd63=['listitem','fire','withText','ck-comment__user','isEditable','ck-annotation__info-name','unbind','2319672ASTmtZ','push','ck-comment__info-time','ck-comment--','author','setTemplate','getUserViewNotificationText','switchToEditMode','formatDateTime','actionBar','689414NBifxG','authoredAt','Remove','873608jPtUNB','cancelConfirm','_createRemoveButton','42CPRiXr','ck-annotation__content-wrapper','ck-hidden','Show\x20more\x20items','group','Delete\x20comment?','ck-annotation__user','placeholder','name','isConfirm','getTemplate','ck-comment__info-name','ck-comment--edit','ck-comment__wrapper','ariaLabel','isExternal','panelPosition','some','addMany','ariaDescriptionView','panelView','ck-comment--info','visibleView','isRemovable','isEditMode','userView','length','items','isReadOnly','ck-annotation__actions--hidden','add','edit','locale','35nQWHpD','_attachActions','ck-annotation__actions','span','Reply...','execute','1jzwUib','change:isRemovable','time','focus','isSystemComment','getExternalCommentNote','then','remove','isVisible','resolvedAt','ck-annotation','element','mouseleave','find','_model','7283870bsSxLG','ck-comment--remove','blur','showConfirm','_createCommentInputView','_config','30hJbzLZ','_createDropdown','isEnabled','ck-comment--remove-confirmation','4766004BdpWbz','_createEditButton','bind','removeComment','ck-comment__actions--hidden','ck-comment__main','from','createCollection','div','bindTemplate','focusables','removeButton','label','icon','ck-comment__external','buttonView','set','children','ck-annotation__main','render','464185qVFguF','mouseenter','editButton','listenTo','1946079RNXtJs','extendTemplate','dropdown','ck-comment__info','toMany','ck-annotation__info-time','ck-annotation__info','ck-comment__actions','Edit','actionIndicator','ck-comment'];_0x5eac=function(){return _0x59cd63;};return _0x5eac();}import{ButtonView as _0xe5a210,createDropdown as _0x3847ab,ListView as _0xfc3db0,ListItemView as _0x2ee50d,focusChildOnDropdownOpen as _0x13d32c}from'ckeditor5/src/ui.js';import{UserView as _0x488d5f,ConfirmMixin as _0xbbfe22,LateFocusDropdownButtonView as _0x128899}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x5e80b3}from'./basecommentview.js';import{getTranslation as _0x54948d}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xbbfe22(_0x5e80b3){[_0x43a5d7(0xf0)];[_0x43a5d7(0x110)];constructor(_0xc47180,_0x230b8e,_0x2360d7){const _0x2aa720=_0x43a5d7;super(_0xc47180,_0x230b8e,_0x2360d7),this[_0x2aa720(0xcd)](_0x2aa720(0xde),null),this[_0x2aa720(0xcd)](_0x2aa720(0xfe),_0x54948d(_0xc47180,_0x2aa720(0xa2))),this[_0x2aa720(0xbf)](_0x2aa720(0xf2))['to'](_0x230b8e),this[_0x2aa720(0xbf)](_0x2aa720(0xad))['to'](_0x230b8e),this[_0x2aa720(0xf0)]=this[_0x2aa720(0xc4)](),this[_0x2aa720(0xa8)]||(this[_0x2aa720(0xd3)]=this[_0x2aa720(0xbe)](),this[_0x2aa720(0xc8)]=this[_0x2aa720(0xf6)](),this[_0x2aa720(0x112)]=this[_0x2aa720(0xc4)](),this[_0x2aa720(0x112)][_0x2aa720(0x109)]([this[_0x2aa720(0xd3)],this[_0x2aa720(0xc8)]]),this[_0x2aa720(0xd7)]=this[_0x2aa720(0xba)](),this[_0x2aa720(0xf0)][_0x2aa720(0x115)](this[_0x2aa720(0xd7)]),this[_0x2aa720(0xc7)][_0x2aa720(0x115)](this[_0x2aa720(0xd7)])),this[_0x2aa720(0x110)]=new _0x488d5f(_0xc47180,_0x230b8e[_0x2aa720(0xeb)],this[_0x2aa720(0xed)]()),this[_0x2aa720(0x110)][_0x2aa720(0xd6)]({'attributes':{'class':[_0x2aa720(0xe3),_0x2aa720(0xfd)],'aria-hidden':!0x0}}),this[_0x2aa720(0xd4)](_0x230b8e,_0x2aa720(0xa5),()=>this[_0x2aa720(0xf5)]()),this[_0x2aa720(0xec)](this[_0x2aa720(0x101)]());}[_0x43a5d7(0x101)](){const _0x380be6=_0x43a5d7,_0x217be7=this[_0x380be6(0xc6)],_0x96bbd5=[{'tag':_0x380be6(0xc5),'attributes':{'class':[_0x380be6(0xd8),_0x380be6(0xdb)]},'children':[{'tag':_0x380be6(0xa1),'children':[{'text':this[_0x380be6(0x110)][_0x380be6(0xff)]}],'attributes':{'class':[_0x380be6(0x102),_0x380be6(0xe5)],'data-cke-tooltip-text':this[_0x380be6(0x110)][_0x380be6(0xff)]}},{'tag':_0x380be6(0xa6),'attributes':{'datetime':_0x217be7['to'](_0x380be6(0xf2)),'class':[_0x380be6(0xe9),_0x380be6(0xda)]},'children':[{'text':_0x217be7['to'](_0x380be6(0xf2),_0x352b4b=>this[_0x380be6(0xb8)][_0x380be6(0xef)](_0x352b4b))}]}]},{'tag':_0x380be6(0xc5),'attributes':{'class':[_0x380be6(0xdc),_0x380be6(0xa0),_0x217be7['if'](_0x380be6(0x10f),_0x380be6(0xc1)),_0x217be7['if'](_0x380be6(0x10f),_0x380be6(0x114))]},'children':this[_0x380be6(0xf0)]},{'tag':_0x380be6(0xc5),'attributes':{'class':[_0x380be6(0xf8)]},'children':this[_0x380be6(0x10d)]},this[_0x380be6(0x10a)]];return this[_0x380be6(0xb2)][_0x380be6(0x106)]&&_0x96bbd5[_0x380be6(0xe8)]({'tag':_0x380be6(0xc5),'attributes':{'class':[_0x380be6(0xcb)]},'children':[{'text':this[_0x380be6(0xa9)]()}]}),{'tag':'li','attributes':{'class':[_0x380be6(0x104),_0x217be7['if'](_0x380be6(0x100),_0x380be6(0xbc))],'tabindex':-0x1,'aria-label':_0x217be7['to'](_0x380be6(0x105)),'aria-describedby':this[_0x380be6(0x10a)]['id'],'role':_0x380be6(0xe0)},'children':[{'tag':_0x380be6(0xc5),'attributes':{'class':[_0x380be6(0xdf),_0x380be6(0xae),_0x217be7['if'](_0x380be6(0x10f),_0x380be6(0x103)),_0x217be7['if'](_0x380be6(0xa8),_0x380be6(0x10c)),_0x217be7['to'](_0x380be6(0xde),_0x2dc93c=>_0x2dc93c?_0x380be6(0xea)+_0x2dc93c:'')],'data-author-id':this[_0x380be6(0xb2)][_0x380be6(0xeb)]['id'],'data-comment-id':this[_0x380be6(0xb2)]['id'],'role':_0x380be6(0xfb)},'children':[this[_0x380be6(0x110)],{'tag':_0x380be6(0xc5),'attributes':{'class':[_0x380be6(0xc2),_0x380be6(0xcf)]},'children':_0x96bbd5}]}]};}[_0x43a5d7(0xbe)](){const _0x504549=_0x43a5d7,_0x25095b=new _0xe5a210(this[_0x504549(0x9d)]);return _0x25095b[_0x504549(0xc9)]=_0x54948d(this[_0x504549(0x9d)],_0x504549(0xdd)),_0x25095b[_0x504549(0xca)]=_0x43407b,_0x25095b[_0x504549(0xe2)]=!0x0,_0x25095b[_0x504549(0xd6)]({'attributes':{'class':_0x504549(0x103)}}),_0x25095b[_0x504549(0xbf)](_0x504549(0xbb))['to'](this[_0x504549(0xb2)],_0x504549(0x113),_0x451f25=>!_0x451f25),_0x25095b[_0x504549(0xbf)](_0x504549(0xac))['to'](this[_0x504549(0xb2)],_0x504549(0xe4)),_0x25095b['on'](_0x504549(0xa3),()=>this[_0x504549(0xee)]()),_0x25095b;}[_0x43a5d7(0xf6)](){const _0x382736=_0x43a5d7,_0xd528ad=new _0xe5a210(this[_0x382736(0x9d)]);return _0xd528ad[_0x382736(0xc9)]=_0x54948d(this[_0x382736(0x9d)],_0x382736(0xf3)),_0xd528ad[_0x382736(0xca)]=_0x4b298d,_0xd528ad[_0x382736(0xe2)]=!0x0,_0xd528ad[_0x382736(0xd6)]({'attributes':{'class':_0x382736(0xb4)}}),_0xd528ad[_0x382736(0xbf)](_0x382736(0xbb))['to'](this[_0x382736(0xb2)],_0x382736(0x113),_0x4d13b0=>!_0x4d13b0),_0xd528ad[_0x382736(0xbf)](_0x382736(0xac))['to'](this[_0x382736(0xb2)],_0x382736(0x10e)),_0xd528ad['on'](_0x382736(0xa3),()=>{const _0x16792e=_0x382736;this[_0x16792e(0xb6)](_0x54948d(this[_0x16792e(0x9d)],_0x16792e(0xfc)),this[_0x16792e(0xaf)])[_0x16792e(0xaa)](()=>{const _0x4c3c0a=_0x16792e;this[_0x4c3c0a(0xe1)](_0x4c3c0a(0xc0),this[_0x4c3c0a(0xb2)]['id']);});}),_0xd528ad;}[_0x43a5d7(0xba)](){const _0x2635b6=_0x43a5d7,_0x3cd3c4=_0x3847ab(this[_0x2635b6(0x9d)],_0x128899),_0x4d3ec4=_0x3cd3c4[_0x2635b6(0x10b)][_0x2635b6(0xce)],_0x14fd93=new _0xfc3db0(this[_0x2635b6(0x9d)]),_0x2f1656=_0x3cd3c4[_0x2635b6(0xc6)];_0x13d32c(_0x3cd3c4,()=>this[_0x2635b6(0x112)][_0x2635b6(0xb1)](_0x4a8cdf=>_0x4a8cdf[_0x2635b6(0xac)])),_0x3cd3c4[_0x2635b6(0xd6)]({'attributes':{'class':[_0x2f1656['if'](_0x2635b6(0xac),_0x2635b6(0xf9),_0x175d3b=>!_0x175d3b)]}});const _0x3eeb05=(_0x768f5f,_0x182a1c=-0x1)=>{const _0x19c43f=_0x2635b6,_0x54c161=new _0x2ee50d(this[_0x19c43f(0x9d)]);_0x54c161[_0x19c43f(0xce)][_0x19c43f(0x115)](_0x768f5f);const _0x1eefbc=_0x182a1c>-0x1?_0x182a1c:_0x14fd93[_0x19c43f(0x112)][_0x19c43f(0x111)];_0x14fd93[_0x19c43f(0x112)][_0x19c43f(0x115)](_0x54c161,_0x1eefbc);const _0x12b341=Array[_0x19c43f(0xc3)](this[_0x19c43f(0x112)]);_0x3cd3c4[_0x19c43f(0xe6)](_0x19c43f(0xbb),_0x19c43f(0xac)),_0x3cd3c4[_0x19c43f(0xbf)](_0x19c43f(0xbb))[_0x19c43f(0xd9)](_0x12b341,_0x19c43f(0xbb),(..._0x2bfad6)=>_0x2bfad6[_0x19c43f(0x108)](_0x2c051c=>_0x2c051c)),_0x3cd3c4[_0x19c43f(0xbf)](_0x19c43f(0xac))[_0x19c43f(0xd9)](_0x12b341,_0x19c43f(0xac),(..._0x3e6fb8)=>_0x3e6fb8[_0x19c43f(0x108)](_0x594028=>_0x594028));};_0x3cd3c4[_0x2635b6(0x107)]='sw',_0x3cd3c4[_0x2635b6(0xcc)][_0x2635b6(0xcd)]({'label':_0x54948d(this[_0x2635b6(0x9d)],_0x2635b6(0xfa)),'icon':_0x50f1fc});for(const _0xbc72b5 of this[_0x2635b6(0x112)])_0x3eeb05(_0xbc72b5);return _0x4d3ec4[_0x2635b6(0x115)](_0x14fd93),_0x3cd3c4[_0x2635b6(0xd4)](this[_0x2635b6(0x112)],_0x2635b6(0x115),(_0x1b380b,_0x393022,_0x370f2e)=>{_0x3eeb05(_0x393022,_0x370f2e);}),_0x3cd3c4[_0x2635b6(0xd4)](this[_0x2635b6(0x112)],_0x2635b6(0xab),(_0x10e5e5,_0x260752,_0x3fb469)=>{const _0x13ed6b=_0x2635b6;_0x14fd93[_0x13ed6b(0x112)][_0x13ed6b(0xab)](_0x3fb469);}),_0x3cd3c4;}[_0x43a5d7(0x9f)](_0x11cb55,_0x32f360){const _0x5972aa=_0x43a5d7,_0x423c41=_0x11cb55&&_0x11cb55[_0x5972aa(0xaf)];_0x423c41&&(this[_0x5972aa(0xd4)](_0x423c41,_0x5972aa(0xd2),()=>this[_0x5972aa(0xde)]=_0x32f360),this[_0x5972aa(0xd4)](_0x423c41,_0x5972aa(0xa7),()=>this[_0x5972aa(0xde)]=_0x32f360),this[_0x5972aa(0xd4)](_0x423c41,_0x5972aa(0xb0),()=>this[_0x5972aa(0xde)]=null),this[_0x5972aa(0xd4)](_0x423c41,_0x5972aa(0xb5),()=>this[_0x5972aa(0xde)]=null));}[_0x43a5d7(0xb7)](){const _0x3ad717=_0x43a5d7,_0x639eb7=super[_0x3ad717(0xb7)]();return _0x639eb7[_0x3ad717(0xbf)](_0x3ad717(0xfe))['to'](this),_0x639eb7;}[_0x43a5d7(0xd0)](){const _0x1f419c=_0x43a5d7;super[_0x1f419c(0xd0)](),this[_0x1f419c(0x9f)](this[_0x1f419c(0xd3)],_0x1f419c(0x9c)),this[_0x1f419c(0x9f)](this[_0x1f419c(0xc8)],_0x1f419c(0xab));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2149fa=_0x1fdf;(function(_0x3b1285,_0x4ab1fc){var _0x402ec1=_0x1fdf,_0x2230ed=_0x3b1285();while(!![]){try{var _0x1efa1d=-parseInt(_0x402ec1(0x13f))/0x1+-parseInt(_0x402ec1(0x143))/0x2*(parseInt(_0x402ec1(0x144))/0x3)+parseInt(_0x402ec1(0x145))/0x4*(parseInt(_0x402ec1(0x146))/0x5)+-parseInt(_0x402ec1(0x13a))/0x6+parseInt(_0x402ec1(0x149))/0x7*(parseInt(_0x402ec1(0x13b))/0x8)+-parseInt(_0x402ec1(0x13d))/0x9+-parseInt(_0x402ec1(0x147))/0xa*(-parseInt(_0x402ec1(0x142))/0xb);if(_0x1efa1d===_0x4ab1fc)break;else _0x2230ed['push'](_0x2230ed['shift']());}catch(_0x2c60c9){_0x2230ed['push'](_0x2230ed['shift']());}}}(_0x3474,0x325b6));import{Plugin as _0x318743}from'ckeditor5/src/core.js';import{CommentsRepository as _0x485879}from'./comments/commentsrepository.js';import{CommentsEditing as _0x423a61}from'./comments/commentsediting.js';import{CommentsUI as _0x466686}from'./comments/commentsui.js';import{CommentsOnly as _0x20e0b7}from'./commentsonly.js';import{WideSidebar as _0xc41f3f}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x429371}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x279b22}from'./annotations/inlineannotations.js';function _0x3474(){var _0x48c6e2=['pluginName','231jMSSjk','1231284KfrGcC','24016GoSxpA','isOfficialPlugin','5292AAKufs','requires','352064LdTmIU','Comments','isPremiumPlugin','22vucxKN','210YaVilS','10107xKOUpt','107852VAmeRz','15vvWRfg','4689590LCnXIx'];_0x3474=function(){return _0x48c6e2;};return _0x3474();}function _0x1fdf(_0x2478c6,_0x3c1017){var _0x347484=_0x3474();return _0x1fdf=function(_0x1fdf9c,_0x2ff956){_0x1fdf9c=_0x1fdf9c-0x13a;var _0x187b45=_0x347484[_0x1fdf9c];return _0x187b45;},_0x1fdf(_0x2478c6,_0x3c1017);}import{CommentsArchiveUI as _0x49bfa4}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x3ca211}from'./comments/commentsarchive.js';export class Comments extends _0x318743{static get[_0x2149fa(0x13e)](){return[_0x485879,_0x423a61,_0x466686,_0x3ca211,_0x49bfa4,_0x20e0b7,_0xc41f3f,_0x429371,_0x279b22];}static get[_0x2149fa(0x148)](){var _0x3349ce=_0x2149fa;return _0x3349ce(0x140);}static get[_0x2149fa(0x13c)](){return!0x0;}static get[_0x2149fa(0x141)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x15a08b=_0x529e;function _0x529e(_0x2f7b06,_0x26d44c){const _0x174a63=_0x174a();return _0x529e=function(_0x529e20,_0x4a8e34){_0x529e20=_0x529e20-0x117;let _0x1e4147=_0x174a63[_0x529e20];return _0x1e4147;},_0x529e(_0x2f7b06,_0x26d44c);}(function(_0x1bf190,_0x571f87){const _0x3f6386=_0x529e,_0x5b7b77=_0x1bf190();while(!![]){try{const _0x4374a7=parseInt(_0x3f6386(0x134))/0x1*(-parseInt(_0x3f6386(0x13b))/0x2)+-parseInt(_0x3f6386(0x12d))/0x3+-parseInt(_0x3f6386(0x125))/0x4+parseInt(_0x3f6386(0x142))/0x5+parseInt(_0x3f6386(0x129))/0x6*(-parseInt(_0x3f6386(0x11c))/0x7)+parseInt(_0x3f6386(0x118))/0x8+parseInt(_0x3f6386(0x11a))/0x9*(parseInt(_0x3f6386(0x127))/0xa);if(_0x4374a7===_0x571f87)break;else _0x5b7b77['push'](_0x5b7b77['shift']());}catch(_0x2315bc){_0x5b7b77['push'](_0x5b7b77['shift']());}}}(_0x174a,0x3809d));import{Plugin as _0x26eec6}from'ckeditor5/src/core.js';function _0x174a(){const _0x124dab=['isEnabled','clipboardInput','commentsOnly','document','listenTo','affectsData','forceDisabled','1097468ADQbKF','addCommentThread','670KIHZyv','set','660546UmIWWT','DragDrop','delete','editing','1292826NWpjff','stop','config','get','plugins','commands','commentsOnlyMode','124543VuBeKL','editSource','change:isEnabled','_enableCommentsOnlyMode','highest','stopListening','_disableCommentsOnlyMode','4qJbNiw','cut','has','CommentsOnly','SourceEditing','afterInit','isPremiumPlugin','583860DWieWO','editor','clearForceDisabled','isOfficialPlugin','3598168MNyaVB','pluginName','112509ITErZm','view','14dYHsfr','requires'];_0x174a=function(){return _0x124dab;};return _0x174a();}import{CommentsEditing as _0xb2ec5e}from'./comments/commentsediting.js';export class CommentsOnly extends _0x26eec6{static get[_0x15a08b(0x119)](){const _0x18fb4b=_0x15a08b;return _0x18fb4b(0x13e);}static get[_0x15a08b(0x117)](){return!0x0;}static get[_0x15a08b(0x141)](){return!0x0;}static get[_0x15a08b(0x11d)](){return[_0xb2ec5e];}constructor(_0x4afef5){const _0xd60e6e=_0x15a08b;super(_0x4afef5),this[_0xd60e6e(0x128)](_0xd60e6e(0x11e),!0x1),this['on'](_0xd60e6e(0x136),(_0x46f01b,_0x5ecd22,_0x53b4e7)=>{const _0x1a2b64=_0xd60e6e;_0x53b4e7?this[_0x1a2b64(0x137)]():this[_0x1a2b64(0x13a)]();});}[_0x15a08b(0x140)](){const _0x335215=_0x15a08b;!this[_0x335215(0x11e)]&&this[_0x335215(0x143)][_0x335215(0x12f)][_0x335215(0x130)](_0x335215(0x120))&&(this[_0x335215(0x11e)]=!0x0);}[_0x15a08b(0x137)](){const _0x5cf060=_0x15a08b;for(const [_0x26a033,_0x5cc6d0]of this[_0x5cf060(0x143)][_0x5cf060(0x132)])_0x5cc6d0[_0x5cf060(0x123)]&&_0x5cf060(0x126)!==_0x26a033&&_0x5cc6d0[_0x5cf060(0x124)](_0x5cf060(0x133));(this[_0x5cf060(0x143)][_0x5cf060(0x131)][_0x5cf060(0x13d)](_0x5cf060(0x12a))&&this[_0x5cf060(0x143)][_0x5cf060(0x131)][_0x5cf060(0x130)](_0x5cf060(0x12a))[_0x5cf060(0x124)](_0x5cf060(0x133)),this[_0x5cf060(0x143)][_0x5cf060(0x131)][_0x5cf060(0x13d)](_0x5cf060(0x13f)))&&this[_0x5cf060(0x143)][_0x5cf060(0x131)][_0x5cf060(0x130)](_0x5cf060(0x13f))[_0x5cf060(0x124)](_0x5cf060(0x133));this[_0x5cf060(0x143)][_0x5cf060(0x132)][_0x5cf060(0x130)](_0x5cf060(0x135))?.[_0x5cf060(0x124)](_0x5cf060(0x133));const _0x27f565=this[_0x5cf060(0x143)][_0x5cf060(0x12c)][_0x5cf060(0x11b)][_0x5cf060(0x121)];this[_0x5cf060(0x122)](_0x27f565,_0x5cf060(0x13c),_0x5d8dfb=>_0x5d8dfb[_0x5cf060(0x12e)](),{'priority':_0x5cf060(0x138)}),this[_0x5cf060(0x122)](_0x27f565,_0x5cf060(0x11f),_0x52ae41=>_0x52ae41[_0x5cf060(0x12e)](),{'priority':_0x5cf060(0x138)}),this[_0x5cf060(0x122)](_0x27f565,_0x5cf060(0x12b),_0x1dc906=>_0x1dc906[_0x5cf060(0x12e)](),{'priority':_0x5cf060(0x138)});}[_0x15a08b(0x13a)](){const _0x1671df=_0x15a08b;for(const [_0x5996b0,_0x5b5e91]of this[_0x1671df(0x143)][_0x1671df(0x132)])_0x5b5e91[_0x1671df(0x123)]&&_0x1671df(0x126)!==_0x5996b0&&_0x5b5e91[_0x1671df(0x144)](_0x1671df(0x133));this[_0x1671df(0x143)][_0x1671df(0x131)][_0x1671df(0x13d)](_0x1671df(0x13f))&&this[_0x1671df(0x143)][_0x1671df(0x131)][_0x1671df(0x130)](_0x1671df(0x13f))[_0x1671df(0x144)](_0x1671df(0x133)),this[_0x1671df(0x143)][_0x1671df(0x132)][_0x1671df(0x130)](_0x1671df(0x135))?.[_0x1671df(0x144)](_0x1671df(0x133)),this[_0x1671df(0x139)](this[_0x1671df(0x143)][_0x1671df(0x12c)][_0x1671df(0x11b)][_0x1671df(0x121)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1c9bc2,_0x470141){var _0x4208c8=_0x1615,_0x2d1199=_0x1c9bc2();while(!![]){try{var _0xc69e4d=-parseInt(_0x4208c8(0x189))/0x1+parseInt(_0x4208c8(0x18a))/0x2+parseInt(_0x4208c8(0x187))/0x3+parseInt(_0x4208c8(0x188))/0x4+-parseInt(_0x4208c8(0x186))/0x5+-parseInt(_0x4208c8(0x184))/0x6+parseInt(_0x4208c8(0x185))/0x7;if(_0xc69e4d===_0x470141)break;else _0x2d1199['push'](_0x2d1199['shift']());}catch(_0x95324f){_0x2d1199['push'](_0x2d1199['shift']());}}}(_0x59be,0xbe151));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';function _0x1615(_0x5e9ec8,_0xd9efb0){var _0x59bee7=_0x59be();return _0x1615=function(_0x1615aa,_0x46a5ac){_0x1615aa=_0x1615aa-0x184;var _0x14b038=_0x59bee7[_0x1615aa];return _0x14b038;},_0x1615(_0x5e9ec8,_0xd9efb0);}export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';function _0x59be(){var _0xcb775f=['11838953tveAuA','7713215WuOIFS','1864872irDtcu','3668888CwPKov','1064700hzqBSH','1031780JCSCcX','2160570oeTCWK'];_0x59be=function(){return _0xcb775f;};return _0x59be();}export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';export{CommentsArchiveUI}from'./comments/commentsarchiveui.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(_0x45361e,_0x42e124,_0x1045b4){const t=_0x45361e['t'];switch(_0x42e124){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'},_0x1045b4);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'},_0x1045b4);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'},_0x1045b4);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'},_0x1045b4);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x1045b4);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'},_0x1045b4);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'},_0x1045b4);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'},_0x1045b4);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 _0x5021(_0x3b0422,_0x434709){const _0x4c0081=_0x4c00();return _0x5021=function(_0x5021eb,_0x38e832){_0x5021eb=_0x5021eb-0x116;let _0x1bbb97=_0x4c0081[_0x5021eb];return _0x1bbb97;},_0x5021(_0x3b0422,_0x434709);}function _0x4c00(){const _0x42d185=['disconnect','18PvVSjo','characterData','attributes','childList','46kiBfOX','3478517rGGlYM','840700RdUZbW','observe','class','12182iHINUM','930728Capcut','229953dTQjhN','attributeName','type','24268VzQrtT','cancel','115788YYgDiH'];_0x4c00=function(){return _0x42d185;};return _0x4c00();}(function(_0xdbc58d,_0x9dfd2e){const _0x2b1412=_0x5021,_0x12388e=_0xdbc58d();while(!![]){try{const _0x5c7080=parseInt(_0x2b1412(0x121))/0x1*(parseInt(_0x2b1412(0x126))/0x2)+parseInt(_0x2b1412(0x116))/0x3+-parseInt(_0x2b1412(0x119))/0x4+parseInt(_0x2b1412(0x123))/0x5+parseInt(_0x2b1412(0x11b))/0x6+-parseInt(_0x2b1412(0x122))/0x7+parseInt(_0x2b1412(0x127))/0x8*(parseInt(_0x2b1412(0x11d))/0x9);if(_0x5c7080===_0x9dfd2e)break;else _0x12388e['push'](_0x12388e['shift']());}catch(_0x259f2e){_0x12388e['push'](_0x12388e['shift']());}}}(_0x4c00,0x42e27));import{throttle as _0x537453}from'es-toolkit/compat';export function createMutationObserver(_0x1af946){const _0x1e090f=_0x537453(_0x1af946,0x1e),_0x1ac555=new MutationObserver(_0x39834f=>{const _0x57f1f0=_0x5021;for(const _0x43ce04 of _0x39834f)(_0x57f1f0(0x11f)==_0x43ce04[_0x57f1f0(0x118)]&&_0x57f1f0(0x125)==_0x43ce04[_0x57f1f0(0x117)]||_0x57f1f0(0x120)==_0x43ce04[_0x57f1f0(0x118)]||_0x57f1f0(0x11e)==_0x43ce04[_0x57f1f0(0x118)])&&_0x1e090f();});return{'attach'(_0x4f795f){const _0x47be19=_0x5021;_0x1ac555[_0x47be19(0x124)](_0x4f795f,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x3cf761=_0x5021;_0x1ac555[_0x3cf761(0x11c)](),_0x1e090f[_0x3cf761(0x11a)]();}};}
|