@ckeditor/ckeditor5-comments 46.0.0-alpha.1 → 46.0.0-alpha.3
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
|
+
const _0x41ef15=_0x42e1;function _0x57ec(){const _0x116076=['isActive','_handleNewCommentModel','_calculatePosition','set','bindTemplate','resolveCommentThread','delete','commentUpdated','count','locale','delegate','maxCommentCharsWhenCollapsed','formatDateTime','_config','change:isActive','forEach','added','ck-hidden','add','focusFirst','Thread\x20comments','get','some','editorReady','visibleViews','_rearrangeExpand','refreshVisibleViews','957897DDvkeE','maxCommentsWhenCollapsed','271940WEeDHr','length','reverse','map','includes','CommentView','change','4308xaFnGd','from','bind','comments','266sXoWVl','_findOptimalIndex','weight','keystrokes','stopListening','isEditMode','_shouldCollapse','collapse','focusTracker','Marked\x20as\x20resolved','142404bVgUbo','viewUid','ck-thread__comments','hasDirtyComment','removeComment','change:hasDirtyComment','_setupKeyboardNavigation','_rearrangeCollapse','resolvedBy','9IZlkMH','createCollection','setTemplate','_handleRemoveCommentModel','render','_collapsedCommentsView','authoredAt','editorDestroyed','_handleInfoComment','focusLast','updateComment','change:isResolved','17758hgQkfl','element','maxThreadTotalWeight','expand','insert','equal','arrowdown','focus','target','resolvedCommentView','997280XJhQYJ','focusCycler','16DoykEv','editorConfig','commentViews','5051070nzrRCN','change:isEditMode','resolvedAt','destroy','arrowup','remove','removed','resolved','_updateHasDirtyComment','listenTo','_model'];_0x57ec=function(){return _0x116076;};return _0x57ec();}(function(_0x400be7,_0x2f4f42){const _0x185386=_0x42e1,_0x5d59e1=_0x400be7();while(!![]){try{const _0x217775=parseInt(_0x185386(0x1c6))/0x1*(parseInt(_0x185386(0x1d2))/0x2)+-parseInt(_0x185386(0x1bd))/0x3+parseInt(_0x185386(0x1de))/0x4*(-parseInt(_0x185386(0x1a8))/0x5)+-parseInt(_0x185386(0x1af))/0x6*(-parseInt(_0x185386(0x1b3))/0x7)+-parseInt(_0x185386(0x1dc))/0x8+-parseInt(_0x185386(0x1a6))/0x9+parseInt(_0x185386(0x1e1))/0xa;if(_0x217775===_0x2f4f42)break;else _0x5d59e1['push'](_0x5d59e1['shift']());}catch(_0x23f1a5){_0x5d59e1['push'](_0x5d59e1['shift']());}}}(_0x57ec,0x1c5dd));import{View as _0xaf947,FocusCycler as _0x2841c7}from'ckeditor5/src/ui.js';import{diff as _0x14ac89,Collection as _0x19d5e5,FocusTracker as _0x51eafc,KeystrokeHandler as _0x2d5873}from'ckeditor5/src/utils.js';import{getTranslation as _0x360214}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x5c347a}from'./collapsedcommentsview.js';function _0x42e1(_0x54538a,_0x5e6c78){const _0x57eca2=_0x57ec();return _0x42e1=function(_0x42e1a1,_0x407017){_0x42e1a1=_0x42e1a1-0x19e;let _0x5c5208=_0x57eca2[_0x42e1a1];return _0x5c5208;},_0x42e1(_0x54538a,_0x5e6c78);}export class CommentsListView extends _0xaf947{[_0x41ef15(0x1e0)];[_0x41ef15(0x1db)];[_0x41ef15(0x1bb)];[_0x41ef15(0x1b6)];[_0x41ef15(0x1dd)];[_0x41ef15(0x1eb)];[_0x41ef15(0x1f9)];[_0x41ef15(0x1cb)];constructor(_0x5151bf,_0x2b2272,_0x576ed8){const _0xc99d30=_0x41ef15;super(_0x5151bf);const _0x4a83f1=this[_0xc99d30(0x1f0)];this[_0xc99d30(0x1ef)](_0xc99d30(0x1c0),!0x1),this[_0xc99d30(0x1ef)](_0xc99d30(0x1a9),_0x2b2272[_0xc99d30(0x1b2)][_0xc99d30(0x1a9)]),this[_0xc99d30(0x1ef)](_0xc99d30(0x1ec),!0x1),this[_0xc99d30(0x1eb)]=_0x2b2272,this[_0xc99d30(0x1f9)]=_0x576ed8,this[_0xc99d30(0x1e0)]=this[_0xc99d30(0x1c7)](),this[_0xc99d30(0x1a3)]=this[_0xc99d30(0x1c7)](),this[_0xc99d30(0x1db)]=null,this[_0xc99d30(0x1bb)]=new _0x51eafc(),this[_0xc99d30(0x1b6)]=new _0x2d5873(),this[_0xc99d30(0x1dd)]=new _0x2841c7({'focusables':this[_0xc99d30(0x1e0)],'focusTracker':this[_0xc99d30(0x1bb)],'keystrokeHandler':this[_0xc99d30(0x1b6)],'keystrokeHandlerOptions':{'filter':_0x548b05=>this[_0xc99d30(0x1e0)][_0xc99d30(0x1ab)](_0x298949=>_0x298949[_0xc99d30(0x1d3)])[_0xc99d30(0x1ac)](_0x548b05[_0xc99d30(0x1da)])},'actions':{'focusPrevious':_0xc99d30(0x1e5),'focusNext':_0xc99d30(0x1d8)}}),this[_0xc99d30(0x1cb)]=new _0x5c347a(_0x5151bf),this[_0xc99d30(0x1cb)][_0xc99d30(0x1b1)](_0xc99d30(0x1f4))['to'](this,_0xc99d30(0x1a9),_0x545601=>_0x545601-this[_0xc99d30(0x1f9)][_0xc99d30(0x1a7)]);for(const _0x1b853e of _0x2b2272[_0xc99d30(0x1b2)])this[_0xc99d30(0x1ed)](_0x1b853e);this[_0xc99d30(0x1ce)](),this[_0xc99d30(0x1ea)](_0x2b2272[_0xc99d30(0x1b2)],_0xc99d30(0x1fe),(_0x49ec1a,_0x4da9bd)=>{const _0x145c86=_0xc99d30,_0x2ff565=this[_0x145c86(0x1ee)](_0x4da9bd);this[_0x145c86(0x1a9)]++,this[_0x145c86(0x1ed)](_0x4da9bd,_0x2ff565),this[_0x145c86(0x1a5)]();}),this[_0xc99d30(0x1ea)](_0x2b2272[_0xc99d30(0x1b2)],_0xc99d30(0x1e6),(_0x1363b6,_0x3d7c2d)=>{const _0x38db71=_0xc99d30;this[_0x38db71(0x1a9)]--,this[_0x38db71(0x1c9)](_0x3d7c2d),this[_0x38db71(0x1a5)]();}),this[_0xc99d30(0x1ea)](_0x2b2272,_0xc99d30(0x1f3),()=>this[_0xc99d30(0x1a5)]()),this[_0xc99d30(0x1ea)](_0x2b2272,_0xc99d30(0x1d1),()=>this[_0xc99d30(0x1ce)]()),this['on'](_0xc99d30(0x1fa),()=>this[_0xc99d30(0x1a5)]()),this['on'](_0xc99d30(0x1c2),()=>this[_0xc99d30(0x1a5)]()),this[_0xc99d30(0x1c8)]({'tag':'ul','attributes':{'class':[_0xc99d30(0x1bf),_0x4a83f1['if'](_0xc99d30(0x1a9),_0xc99d30(0x1fd),_0x4e4007=>!_0x4e4007)],'aria-label':_0x360214(_0x5151bf,_0xc99d30(0x19f))},'children':this[_0xc99d30(0x1a3)]});}get[_0x41ef15(0x1b9)](){const _0x37f809=_0x41ef15;return this[_0x37f809(0x1eb)][_0x37f809(0x1b5)]>this[_0x37f809(0x1f9)][_0x37f809(0x1d4)]&&!this[_0x37f809(0x1ec)]&&!this[_0x37f809(0x1c0)];}[_0x41ef15(0x1ca)](){const _0xec4201=_0x41ef15;super[_0xec4201(0x1ca)](),this[_0xec4201(0x1a5)](),this[_0xec4201(0x1c3)]();}[_0x41ef15(0x1d9)](_0x30ba3e){const _0x482a4c=_0x41ef15;-0x1===_0x30ba3e?this[_0x482a4c(0x1dd)][_0x482a4c(0x1cf)]():this[_0x482a4c(0x1dd)][_0x482a4c(0x19e)]();}[_0x41ef15(0x1e4)](){const _0x523715=_0x41ef15;this[_0x523715(0x1cb)][_0x523715(0x1e4)]();for(const _0x509d1d of this[_0x523715(0x1e0)])_0x509d1d[_0x523715(0x1e4)]();super[_0x523715(0x1e4)]();}[_0x41ef15(0x1a5)](){const _0x4564dc=_0x41ef15;this[_0x4564dc(0x1b9)]?this[_0x4564dc(0x1c4)]():this[_0x4564dc(0x1a4)]();}[_0x41ef15(0x1ed)](_0x29831e,_0x27c996){const _0x43716d=_0x41ef15,_0x598303=new this[(_0x43716d(0x1f9))][(_0x43716d(0x1ad))](this[_0x43716d(0x1f5)],_0x29831e,{'maxCommentCharsWhenCollapsed':this[_0x43716d(0x1f9)][_0x43716d(0x1f7)],'formatDateTime':this[_0x43716d(0x1f9)][_0x43716d(0x1f8)],'editorConfig':this[_0x43716d(0x1f9)][_0x43716d(0x1df)]});_0x598303[_0x43716d(0x1be)]=_0x29831e['id'],_0x598303[_0x43716d(0x1f6)](_0x43716d(0x1c1))['to'](this),_0x598303[_0x43716d(0x1f6)](_0x43716d(0x1d0))['to'](this),_0x598303[_0x43716d(0x1f6)](_0x43716d(0x1f1))['to'](this),_0x598303[_0x43716d(0x1f6)](_0x43716d(0x1a2))['to'](this),_0x598303[_0x43716d(0x1f6)](_0x43716d(0x1cd))['to'](this),this[_0x43716d(0x1ea)](_0x598303,_0x43716d(0x1e2),()=>this[_0x43716d(0x1e9)]()),this[_0x43716d(0x1e0)][_0x43716d(0x1fe)](_0x598303,_0x27c996);}[_0x41ef15(0x1ee)](_0xcb3a3d){const _0x2c9785=_0x41ef15,_0x2bf584=this[_0x2c9785(0x1eb)][_0x2c9785(0x1b4)](_0xcb3a3d);return this[_0x2c9785(0x1db)]?this[_0x2c9785(0x1db)][_0x2c9785(0x1cc)]>_0xcb3a3d[_0x2c9785(0x1cc)]?_0x2bf584-0x1:_0x2bf584:_0x2bf584-0x1;}[_0x41ef15(0x1ce)](){const _0x5e00c2=_0x41ef15;if(this[_0x5e00c2(0x1eb)][_0x5e00c2(0x1c5)]&&this[_0x5e00c2(0x1eb)][_0x5e00c2(0x1e3)]){const _0x1a5d92={'id':_0x5e00c2(0x1e8),'author':this[_0x5e00c2(0x1eb)][_0x5e00c2(0x1c5)],'authoredAt':this[_0x5e00c2(0x1eb)][_0x5e00c2(0x1e3)],'content':_0x360214(this[_0x5e00c2(0x1f5)],_0x5e00c2(0x1bc)),'attributes':{}};this[_0x5e00c2(0x1db)]=new this[(_0x5e00c2(0x1f9))][(_0x5e00c2(0x1ad))](this[_0x5e00c2(0x1f5)],_0x1a5d92,{'maxCommentCharsWhenCollapsed':this[_0x5e00c2(0x1f9)][_0x5e00c2(0x1f7)],'formatDateTime':this[_0x5e00c2(0x1f9)][_0x5e00c2(0x1f8)],'editorConfig':this[_0x5e00c2(0x1f9)][_0x5e00c2(0x1df)],'isSystemComment':!0x0}),this[_0x5e00c2(0x1e0)][_0x5e00c2(0x1fe)](this[_0x5e00c2(0x1db)],this[_0x5e00c2(0x1eb)][_0x5e00c2(0x1b4)](_0x1a5d92));}else this[_0x5e00c2(0x1db)]&&(this[_0x5e00c2(0x1e0)][_0x5e00c2(0x1e6)](this[_0x5e00c2(0x1db)]),this[_0x5e00c2(0x1db)][_0x5e00c2(0x1e4)](),this[_0x5e00c2(0x1db)]=null);this[_0x5e00c2(0x1a5)]();}[_0x41ef15(0x1c9)](_0x8ac6ec){const _0x52ee2a=_0x41ef15,_0x159860=this[_0x52ee2a(0x1e0)][_0x52ee2a(0x1e6)](_0x8ac6ec['id']);this[_0x52ee2a(0x1b7)](_0x159860),_0x159860[_0x52ee2a(0x1b8)]&&this[_0x52ee2a(0x1e9)](),_0x159860[_0x52ee2a(0x1e4)]();}[_0x41ef15(0x1e9)](){const _0x397ff0=_0x41ef15;this[_0x397ff0(0x1c0)]=Array[_0x397ff0(0x1b0)](this[_0x397ff0(0x1e0)])[_0x397ff0(0x1a1)](_0x3a5f33=>_0x3a5f33[_0x397ff0(0x1b8)]);}[_0x41ef15(0x1c4)](){const _0x6814ea=_0x41ef15,_0x21fe3d=function(_0xdcb2d7){const _0x351105=_0x42e1,_0x3b6714=new _0x19d5e5();for(const _0x253bec of _0xdcb2d7)_0x3b6714[_0x351105(0x1fe)](_0x253bec);return _0x3b6714;}(this[_0x6814ea(0x1e0)]),_0x27fe6e=this[_0x6814ea(0x1cb)][_0x6814ea(0x1f4)];for(let _0x3fc354=0x1;_0x3fc354<=_0x27fe6e;_0x3fc354++)_0x21fe3d[_0x6814ea(0x1e6)](0x1);for(const _0x196cc3 of _0x21fe3d)_0x196cc3[_0x6814ea(0x1ba)]();_0x27fe6e>0x0&&_0x21fe3d[_0x6814ea(0x1fe)](this[_0x6814ea(0x1cb)],0x1),rs(_0x14ac89(Array[_0x6814ea(0x1b0)](this[_0x6814ea(0x1a3)]),Array[_0x6814ea(0x1b0)](_0x21fe3d)),this[_0x6814ea(0x1a3)],_0x21fe3d);}[_0x41ef15(0x1a4)](){const _0x3fcb68=_0x41ef15;rs(_0x14ac89(Array[_0x3fcb68(0x1b0)](this[_0x3fcb68(0x1a3)]),Array[_0x3fcb68(0x1b0)](this[_0x3fcb68(0x1e0)])),this[_0x3fcb68(0x1a3)],this[_0x3fcb68(0x1e0)]);for(const _0x4a2194 of this[_0x3fcb68(0x1a3)])_0x4a2194[_0x3fcb68(0x1d5)]();}[_0x41ef15(0x1c3)](){const _0x2e4d8a=_0x41ef15;this[_0x2e4d8a(0x1e0)][_0x2e4d8a(0x1fb)](_0x5ec411=>{const _0x109a3d=_0x2e4d8a;this[_0x109a3d(0x1bb)][_0x109a3d(0x1fe)](_0x5ec411[_0x109a3d(0x1d3)]),this[_0x109a3d(0x1b6)][_0x109a3d(0x1ea)](_0x5ec411[_0x109a3d(0x1d3)]);}),this[_0x2e4d8a(0x1e0)]['on'](_0x2e4d8a(0x1ae),(_0x222146,_0x3a1a94)=>{const _0x1392e1=_0x2e4d8a;for(const _0x463bb4 of _0x3a1a94[_0x1392e1(0x1e7)])this[_0x1392e1(0x1bb)][_0x1392e1(0x1e6)](_0x463bb4[_0x1392e1(0x1d3)]),this[_0x1392e1(0x1b6)][_0x1392e1(0x1b7)](_0x463bb4[_0x1392e1(0x1d3)]);for(const _0x29c077 of Array[_0x1392e1(0x1b0)](_0x3a1a94[_0x1392e1(0x1fc)])[_0x1392e1(0x1aa)]())this[_0x1392e1(0x1bb)][_0x1392e1(0x1fe)](_0x29c077[_0x1392e1(0x1d3)]),this[_0x1392e1(0x1b6)][_0x1392e1(0x1ea)](_0x29c077[_0x1392e1(0x1d3)]);});}}function rs(_0x573d31,_0x3c6914,_0x27078f){const _0x24c2f4=_0x41ef15;let _0x2d413b=0x0;for(const _0x23e133 of _0x573d31)switch(_0x23e133){case _0x24c2f4(0x1d6):_0x3c6914[_0x24c2f4(0x1fe)](_0x27078f[_0x24c2f4(0x1a0)](_0x2d413b),_0x2d413b),_0x2d413b++;break;case _0x24c2f4(0x1f2):_0x3c6914[_0x24c2f4(0x1e6)](_0x2d413b);break;case _0x24c2f4(0x1d7):_0x2d413b++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xa61679=_0x20b8;(function(_0x26d636,_0x45c57f){const _0x32a1d0=_0x20b8,_0x441060=_0x26d636();while(!![]){try{const _0x20f38f=-parseInt(_0x32a1d0(0x104))/0x1+-parseInt(_0x32a1d0(0xfb))/0x2*(-parseInt(_0x32a1d0(0x101))/0x3)+-parseInt(_0x32a1d0(0xfe))/0x4*(parseInt(_0x32a1d0(0x103))/0x5)+-parseInt(_0x32a1d0(0xf8))/0x6*(-parseInt(_0x32a1d0(0xfc))/0x7)+-parseInt(_0x32a1d0(0x107))/0x8+parseInt(_0x32a1d0(0x105))/0x9*(parseInt(_0x32a1d0(0x108))/0xa)+parseInt(_0x32a1d0(0xf6))/0xb*(-parseInt(_0x32a1d0(0xf7))/0xc);if(_0x20f38f===_0x45c57f)break;else _0x441060['push'](_0x441060['shift']());}catch(_0x1247b7){_0x441060['push'](_0x441060['shift']());}}}(_0x58cd,0x9dc0f));function _0x20b8(_0x11b637,_0x116705){const _0x58cd13=_0x58cd();return _0x20b8=function(_0x20b8a8,_0x3e50e0){_0x20b8a8=_0x20b8a8-0xf4;let _0x1bc4ed=_0x58cd13[_0x20b8a8];return _0x1bc4ed;},_0x20b8(_0x11b637,_0x116705);}import{View as _0x15f1f8}from'ckeditor5/src/ui.js';import{getTranslation as _0x2f0628}from'../../../utils/common-translations.js';function _0x58cd(){const _0x5d7f6a=['THREAD_CONTEXT_LABEL','element','123706KuTWoX','7MCmQpN','set','32EUWxoc','span','contextValue','54Wdppxk','setTemplate','464125LpJyXX','96115BfRbdY','21249PjZXdb','bindTemplate','1648432vEAKpf','1490srgSJU','ck-context__value','focus','44kDZDEm','1381068RosgKu','4116846yuyZAj'];_0x58cd=function(){return _0x5d7f6a;};return _0x58cd();}export class CommentThreadHeaderContextView extends _0x15f1f8{constructor(_0x2bbe59){const _0x23f520=_0x20b8;super(_0x2bbe59);const _0x4aaf52=this[_0x23f520(0x106)];this[_0x23f520(0xfd)](_0x23f520(0x100),''),this[_0x23f520(0x102)]({'tag':_0x23f520(0xff),'attributes':{'class':['ck',_0x23f520(0xf4)],'aria-label':_0x4aaf52['to'](_0x23f520(0x100),_0x291b96=>_0x2f0628(_0x2bbe59,_0x23f520(0xf9),_0x291b96)),'tabindex':-0x1},'children':[{'text':_0x4aaf52['to'](_0x23f520(0x100))}]});}[_0xa61679(0xf5)](){const _0x485d48=_0xa61679;this[_0x485d48(0xfa)][_0x485d48(0xf5)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4fb0(){const _0x4d0173=['overlay','reopenButtonView','mouseenter','mouseleave','ck-thread__header','bindTemplate','1282136ArptBO','listenTo','_createReopenButton','contextValue','keystrokes','querySelector','_model','div','.ck-context__value','25414350XnThrE','...','length','shift+tab','context','258WCrgtU','createCollection','setTemplate','offsetWidth','lastIndexOf','label','fire','ck-context--quotes','contextView','remove','isVisible','substring','focusCycler','_setupKeyboardNavigation','focusables','28935bqEaHk','tab','render','1463405UjCIGR','isResolved','isReadOnly','3930erMsKc','focus','_attachContextActions','add','classList','_createContextView','locale','element','897955NRNUDj','isResolvable','hasContext','ck-annotation__actions','9HLYYBb','execute','focusFirst','ck-context','Comment\x20was\x20made\x20on\x20an\x20element','ck-context-wrapper','_trimContextValue','Reopen','icon','value','isEnabled','tooltip','reopenCommentThread','bind','7385fyUjmN','scrollWidth','focusTracker','.ck-context','3398028yWNrmM'];_0x4fb0=function(){return _0x4d0173;};return _0x4fb0();}const _0x5600ef=_0x4960;(function(_0x4797a2,_0x2e59b7){const _0x103bce=_0x4960,_0x43578a=_0x4797a2();while(!![]){try{const _0x43376c=-parseInt(_0x103bce(0x21c))/0x1+-parseInt(_0x103bce(0x1ff))/0x2*(parseInt(_0x103bce(0x20e))/0x3)+-parseInt(_0x103bce(0x232))/0x4+parseInt(_0x103bce(0x211))/0x5+-parseInt(_0x103bce(0x214))/0x6*(-parseInt(_0x103bce(0x22e))/0x7)+parseInt(_0x103bce(0x1f1))/0x8+parseInt(_0x103bce(0x220))/0x9*(parseInt(_0x103bce(0x1fa))/0xa);if(_0x43376c===_0x2e59b7)break;else _0x43578a['push'](_0x43578a['shift']());}catch(_0x1861c1){_0x43578a['push'](_0x43578a['shift']());}}}(_0x4fb0,0xa95ed));import{View as _0x19b7d4,ButtonView as _0x3dff6a,FocusCycler as _0x4556f7}from'ckeditor5/src/ui.js';import{FocusTracker as _0x205e9f,KeystrokeHandler as _0x281277}from'ckeditor5/src/utils.js';import{IconUndo as _0x5d9238}from'ckeditor5/src/icons.js';function _0x4960(_0x531094,_0x9abf3e){const _0x4fb0ac=_0x4fb0();return _0x4960=function(_0x496089,_0x32813b){_0x496089=_0x496089-0x1f0;let _0x24cb6d=_0x4fb0ac[_0x496089];return _0x24cb6d;},_0x4960(_0x531094,_0x9abf3e);}import{getTranslation as _0x4f6ce4}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x4f63d0}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x19b7d4{[_0x5600ef(0x1f7)];[_0x5600ef(0x234)];[_0x5600ef(0x207)];[_0x5600ef(0x20d)];[_0x5600ef(0x230)];[_0x5600ef(0x1f5)];[_0x5600ef(0x20b)];constructor(_0x14c66a,_0x3dfbb2){const _0x28d403=_0x5600ef;super(_0x14c66a);const _0x2adfdc=this[_0x28d403(0x1f0)];this[_0x28d403(0x1f7)]=_0x3dfbb2,this[_0x28d403(0x234)]=this[_0x28d403(0x1f3)](),this[_0x28d403(0x207)]=this[_0x28d403(0x219)](),this[_0x28d403(0x20d)]=this[_0x28d403(0x200)]([this[_0x28d403(0x207)],this[_0x28d403(0x234)]]),this[_0x28d403(0x230)]=new _0x205e9f(),this[_0x28d403(0x1f5)]=new _0x281277(),this[_0x28d403(0x20b)]=new _0x4556f7({'focusables':this[_0x28d403(0x20d)],'focusTracker':this[_0x28d403(0x230)],'keystrokeHandler':this[_0x28d403(0x1f5)],'actions':{'focusPrevious':_0x28d403(0x1fd),'focusNext':_0x28d403(0x20f)}}),this[_0x28d403(0x22d)](_0x28d403(0x21e))['to'](this[_0x28d403(0x1f7)],_0x28d403(0x1fe),_0x12e6d0=>!!_0x12e6d0),this[_0x28d403(0x22d)](_0x28d403(0x1f4))['to'](this[_0x28d403(0x1f7)],_0x28d403(0x1fe),_0x45d553=>_0x45d553&&_0x45d553[_0x28d403(0x229)]?this[_0x28d403(0x226)](_0x45d553[_0x28d403(0x229)]):_0x4f6ce4(this[_0x28d403(0x21a)],_0x28d403(0x224))),this[_0x28d403(0x201)]({'tag':_0x28d403(0x1f8),'attributes':{'class':[_0x28d403(0x237)]},'children':[{'tag':_0x28d403(0x1f8),'attributes':{'class':[_0x28d403(0x225)]},'children':[{'tag':_0x28d403(0x1f8),'attributes':{'class':[_0x28d403(0x223),_0x2adfdc['if'](_0x28d403(0x21e),_0x28d403(0x206))]},'children':[this[_0x28d403(0x207)]]}]},{'tag':_0x28d403(0x1f8),'attributes':{'class':[_0x28d403(0x21f)]},'children':[this[_0x28d403(0x234)]]}]});}[_0x5600ef(0x210)](){const _0x1e149a=_0x5600ef;super[_0x1e149a(0x210)](),this[_0x1e149a(0x216)](),this[_0x1e149a(0x20c)]();}[_0x5600ef(0x215)](){const _0x3cbaba=_0x5600ef;this[_0x3cbaba(0x20b)][_0x3cbaba(0x222)]();}[_0x5600ef(0x1f3)](){const _0x1f3463=_0x5600ef,_0x331931=new _0x3dff6a(this[_0x1f3463(0x21a)]);return _0x331931[_0x1f3463(0x204)]=_0x4f6ce4(this[_0x1f3463(0x21a)],_0x1f3463(0x227)),_0x331931[_0x1f3463(0x22b)]=_0x4f6ce4(this[_0x1f3463(0x21a)],_0x1f3463(0x227)),_0x331931[_0x1f3463(0x228)]=_0x5d9238,_0x331931[_0x1f3463(0x22d)](_0x1f3463(0x22a))['to'](this[_0x1f3463(0x1f7)],_0x1f3463(0x213),_0x45ce2c=>!_0x45ce2c),_0x331931[_0x1f3463(0x22d)](_0x1f3463(0x209))['to'](this[_0x1f3463(0x1f7)],_0x1f3463(0x21d),this[_0x1f3463(0x1f7)],_0x1f3463(0x212),(_0x19a898,_0x5f1b67)=>_0x19a898&&_0x5f1b67),_0x331931['on'](_0x1f3463(0x221),()=>{const _0x237d9e=_0x1f3463;this[_0x237d9e(0x205)](_0x237d9e(0x22c),this[_0x237d9e(0x1f7)]['id']);}),_0x331931;}[_0x5600ef(0x226)](_0x4b57de){const _0x474359=_0x5600ef;if(_0x4b57de[_0x474359(0x1fc)]<0x96)return _0x4b57de;const _0x436642=_0x4b57de[_0x474359(0x203)]('\x20',0x93);return _0x4b57de[_0x474359(0x20a)](0x0,_0x436642>-0x1?_0x436642:0x93)+_0x474359(0x1fb);}[_0x5600ef(0x216)](){const _0x37de10=_0x5600ef,_0x14d6b9=this[_0x37de10(0x21b)][_0x37de10(0x1f6)](_0x37de10(0x231)),_0x3c5bd0=_0x14d6b9[_0x37de10(0x1f6)](_0x37de10(0x1f9));this[_0x37de10(0x1f2)](_0x14d6b9,_0x37de10(0x235),()=>{const _0x372e0f=_0x37de10;_0x3c5bd0[_0x372e0f(0x202)]<_0x3c5bd0[_0x372e0f(0x22f)]&&_0x14d6b9[_0x372e0f(0x218)][_0x372e0f(0x217)](_0x372e0f(0x233));}),this[_0x37de10(0x1f2)](_0x14d6b9,_0x37de10(0x236),()=>{const _0x169d64=_0x37de10;_0x14d6b9[_0x169d64(0x218)][_0x169d64(0x208)](_0x169d64(0x233));});}[_0x5600ef(0x20c)](){const _0x34781f=_0x5600ef;this[_0x34781f(0x1f5)][_0x34781f(0x1f2)](this[_0x34781f(0x21b)]);for(const _0x15b0bc of this[_0x34781f(0x20d)])this[_0x34781f(0x230)][_0x34781f(0x217)](_0x15b0bc[_0x34781f(0x21b)]),this[_0x34781f(0x1f5)][_0x34781f(0x1f2)](_0x15b0bc[_0x34781f(0x21b)]);}[_0x5600ef(0x219)](){const _0x27a685=_0x5600ef,_0x5de707=new _0x4f63d0(this[_0x27a685(0x21a)]);return _0x5de707[_0x27a685(0x22d)](_0x27a685(0x1f4))['to'](this),_0x5de707;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x529781=_0x1d89;(function(_0xff0ed3,_0x106764){const _0x4162e7=_0x1d89,_0x4e4e09=_0xff0ed3();while(!![]){try{const _0x4b1edc=-parseInt(_0x4162e7(0x1e0))/0x1*(parseInt(_0x4162e7(0x1ed))/0x2)+-parseInt(_0x4162e7(0x1f5))/0x3*(parseInt(_0x4162e7(0x1d5))/0x4)+-parseInt(_0x4162e7(0x1ca))/0x5+parseInt(_0x4162e7(0x1d9))/0x6+-parseInt(_0x4162e7(0x1d1))/0x7*(parseInt(_0x4162e7(0x1db))/0x8)+-parseInt(_0x4162e7(0x1e9))/0x9*(-parseInt(_0x4162e7(0x1d2))/0xa)+parseInt(_0x4162e7(0x1f7))/0xb;if(_0x4b1edc===_0x106764)break;else _0x4e4e09['push'](_0x4e4e09['shift']());}catch(_0x2cdfe0){_0x4e4e09['push'](_0x4e4e09['shift']());}}}(_0x5cd3,0x6e0b1));function _0x5cd3(){const _0x248307=['extendTemplate','9139680lEYPaC','preventDefault','ck-comment__input-container','ck-thread__input','focusTracker','getDomRoot','2924030wXFqbd','ck-comment__input-container--active','render','some','delegate','mousedown','target','198961XrtnHl','3380uxSkbp','createEditor','showButtons','45332CtmRqp','contains','editorDestroyed','filter','3753438zBkoAj','focus','8ItKBRD','change:showInput','_focusOnNonInteractiveMouseDown','destroy','focusCycler','186023twNzUo','editing','view','isFocused','element','set','bind','div','listenTo','9414BasKtD','bindTemplate','editorReady','showInput','4OSaUks','editor','ck-thread__user','commentInputView','userView','then','value','setTemplate','99wCXQZg'];_0x5cd3=function(){return _0x248307;};return _0x5cd3();}function _0x1d89(_0x328d23,_0x33b2dd){const _0x5cd365=_0x5cd3();return _0x1d89=function(_0x1d8939,_0x3b9667){_0x1d8939=_0x1d8939-0x1ca;let _0x387091=_0x5cd365[_0x1d8939];return _0x387091;},_0x1d89(_0x328d23,_0x33b2dd);}import{View as _0x489917}from'ckeditor5/src/ui.js';import{CommentInputView as _0x592032}from'./commentinputview.js';import{UserView as _0x422fa2}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x489917{constructor(_0x1dfc66,_0x1b0e56,_0x4b8527){const _0x1b0db3=_0x1d89;super(_0x1dfc66),this[_0x1b0db3(0x1f0)]=new _0x592032(_0x1dfc66,_0x4b8527),this[_0x1b0db3(0x1df)]=this[_0x1b0db3(0x1f0)][_0x1b0db3(0x1df)],this[_0x1b0db3(0x1f0)][_0x1b0db3(0x1e6)](_0x1b0db3(0x1d4))['to'](this[_0x1b0db3(0x1f0)][_0x1b0db3(0x1fb)],_0x1b0db3(0x1e3),this[_0x1b0db3(0x1f0)],_0x1b0db3(0x1f3),(_0x48374d,_0xc9919a)=>_0x48374d||!!_0xc9919a),this[_0x1b0db3(0x1e5)](_0x1b0db3(0x1ec),!0x1),this['on'](_0x1b0db3(0x1dc),()=>{const _0x134430=_0x1b0db3;this[_0x134430(0x1ec)]&&!this[_0x134430(0x1f0)][_0x134430(0x1ee)]&&this[_0x134430(0x1f0)][_0x134430(0x1d3)]();}),this[_0x1b0db3(0x1f0)][_0x1b0db3(0x1ce)](_0x1b0db3(0x1eb))['to'](this),this[_0x1b0db3(0x1f0)][_0x1b0db3(0x1ce)](_0x1b0db3(0x1d7))['to'](this),this[_0x1b0db3(0x1f1)]=new _0x422fa2(_0x1dfc66,_0x1b0e56),this[_0x1b0db3(0x1f1)][_0x1b0db3(0x1f6)]({'attributes':{'class':_0x1b0db3(0x1ef),'aria-hidden':!0x0}}),this[_0x1b0db3(0x1f0)][_0x1b0db3(0x1f6)]({'attributes':{'class':_0x1b0db3(0x1fa)}}),this[_0x1b0db3(0x1f4)]({'tag':_0x1b0db3(0x1e7),'attributes':{'class':[_0x1b0db3(0x1f9),this[_0x1b0db3(0x1ea)]['if'](_0x1b0db3(0x1ec),_0x1b0db3(0x1cb))]},'children':[this[_0x1b0db3(0x1f1)],this[_0x1b0db3(0x1f0)]]});}[_0x529781(0x1cc)](){const _0x5958b2=_0x529781;super[_0x5958b2(0x1cc)](),this[_0x5958b2(0x1dd)]();}[_0x529781(0x1de)](){const _0x58872b=_0x529781;return this[_0x58872b(0x1f0)][_0x58872b(0x1de)]()[_0x58872b(0x1f2)](()=>super[_0x58872b(0x1de)]());}[_0x529781(0x1da)](_0x43952e){const _0x19bcee=_0x529781;this[_0x19bcee(0x1f0)][_0x19bcee(0x1da)](_0x43952e);}[_0x529781(0x1dd)](){const _0x2ac192=_0x529781;this[_0x2ac192(0x1e8)](this[_0x2ac192(0x1e4)],_0x2ac192(0x1cf),(_0x47af99,_0x16009c)=>{const _0x3a6e75=_0x2ac192,{submitButtonView:_0x4fb2f4,cancelButtonView:_0x1838d5,editor:_0x557dbc}=this[_0x3a6e75(0x1f0)];[_0x4fb2f4[_0x3a6e75(0x1e4)],_0x1838d5[_0x3a6e75(0x1e4)],_0x557dbc?_0x557dbc[_0x3a6e75(0x1e1)][_0x3a6e75(0x1e2)][_0x3a6e75(0x1fc)]():null][_0x3a6e75(0x1d8)](_0x3e5102=>_0x3e5102)[_0x3a6e75(0x1cd)](_0x37dbc4=>_0x37dbc4[_0x3a6e75(0x1d6)](_0x16009c[_0x3a6e75(0x1d0)]))||(this[_0x3a6e75(0x1da)](),_0x16009c[_0x3a6e75(0x1f8)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x501695=_0x3979;(function(_0x102578,_0x3e02c2){const _0x496e92=_0x3979,_0x2a08d1=_0x102578();while(!![]){try{const _0x38c1f5=-parseInt(_0x496e92(0x14f))/0x1+parseInt(_0x496e92(0x188))/0x2+-parseInt(_0x496e92(0x14b))/0x3*(parseInt(_0x496e92(0x169))/0x4)+-parseInt(_0x496e92(0x18f))/0x5+parseInt(_0x496e92(0x16a))/0x6+-parseInt(_0x496e92(0x190))/0x7+-parseInt(_0x496e92(0x141))/0x8*(-parseInt(_0x496e92(0x15c))/0x9);if(_0x38c1f5===_0x3e02c2)break;else _0x2a08d1['push'](_0x2a08d1['shift']());}catch(_0x89e19a){_0x2a08d1['push'](_0x2a08d1['shift']());}}}(_0x3cc6,0xc00bf));function _0x3979(_0x1b5144,_0x167442){const _0x3cc653=_0x3cc6();return _0x3979=function(_0x39795e,_0x5e26f9){_0x39795e=_0x39795e-0x13d;let _0x38c75a=_0x3cc653[_0x39795e];return _0x38c75a;},_0x3979(_0x1b5144,_0x167442);}function _0x3cc6(){const _0x189b04=['tooltip','listitem','createCollection','locale','Resolve','ariaLabel','26756yaCzwU','5292282tPSHKl','ariaDescriptionView','ck-comment--resolve','get','actionIndicator','extendTemplate','listenTo','element','change:archivedAt','commentThreadHeaderView','remove','commentViews','placeholder','_model','label','icon','commentThreadInputView','resolveCommentThread','isVisible','focus','setTemplate','ck-thread','isConfirm','bindTemplate','actionBar','cancelConfirm','set','ck-thread--unlinked','isActive','removeButton','1342840CXMUGL','render','isReadOnly','showConfirm','Delete\x20comment\x20thread?','isEnabled','ck-thread--remove-confirmation','5905790mMbGLE','6577410OVKiuv','commentThreadChildren','ck-thread--active','ck-reset_all-excluded','fire','_createResolveButton','div','_bindFirstCommentView','_boundFirstCommentView','length','1376APYFkn','has','focusables','_updateArchivedThreadHeader','ck-thread__container','isSystemComment','isResolved','.ck-thread__container','commentsListView','then','654qamXQi','_cancelAllConfirms','isUnlinked','containerElement','1323594JBXyfy','bind','unbind','archivedAt','getTemplate','removeCommentThread','execute','stop','ck-thread--','high','ck-rounded-corners','Write\x20a\x20comment...','change:isActive','216405lHjoRJ','querySelector','removeConfirm','resolveButton','change:isReadOnly','isResolvable','add'];_0x3cc6=function(){return _0x189b04;};return _0x3cc6();}import{ConfirmMixin as _0x4bab6b,LateFocusButtonView as _0x58abb8}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x2d1211}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x163c0f}from'./basecommentthreadview.js';import{getTranslation as _0x142933}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4bab6b(_0x163c0f){[_0x501695(0x191)];[_0x501695(0x14e)];[_0x501695(0x15f)];[_0x501695(0x13f)];constructor(_0x8a1970,_0x5bdc25,_0x31d24d,_0x417347){const _0x24ca7e=_0x501695;super(_0x8a1970,_0x5bdc25,_0x31d24d,_0x417347),this[_0x24ca7e(0x191)]=this[_0x24ca7e(0x165)]([this[_0x24ca7e(0x149)],this[_0x24ca7e(0x17a)],this[_0x24ca7e(0x16b)]]),this[_0x24ca7e(0x184)](_0x24ca7e(0x16e),null),this[_0x24ca7e(0x14e)]=null,this[_0x24ca7e(0x13f)]=null,this[_0x24ca7e(0x166)]=_0x8a1970,this[_0x24ca7e(0x15f)]=this[_0x24ca7e(0x195)](),this[_0x24ca7e(0x17e)](this[_0x24ca7e(0x153)]()),this['on'](_0x24ca7e(0x15b),(_0x3a8bdb,_0x1278ce,_0x1ef542)=>{const _0x35a023=_0x24ca7e;_0x1ef542||this[_0x35a023(0x14c)]();}),this[_0x24ca7e(0x170)](this[_0x24ca7e(0x177)],_0x24ca7e(0x160),(_0x142e49,_0x4eccb3,_0x279cee)=>{const _0x59b8b2=_0x24ca7e;_0x279cee&&this[_0x59b8b2(0x14c)]();}),this[_0x24ca7e(0x140)]>0x0&&this[_0x24ca7e(0x13e)](),this[_0x24ca7e(0x170)](this[_0x24ca7e(0x149)][_0x24ca7e(0x175)],_0x24ca7e(0x162),()=>{const _0x4f32df=_0x24ca7e;this[_0x4f32df(0x13e)]();});}[_0x501695(0x153)](){const _0xafb4fb=_0x501695,_0x20dc52=this[_0xafb4fb(0x181)];return{'tag':_0xafb4fb(0x13d),'attributes':{'class':['ck',_0xafb4fb(0x17f),_0xafb4fb(0x193),_0xafb4fb(0x159),_0x20dc52['if'](_0xafb4fb(0x186),_0xafb4fb(0x192)),_0x20dc52['if'](_0xafb4fb(0x14d),_0xafb4fb(0x185)),_0x20dc52['if'](_0xafb4fb(0x180),_0xafb4fb(0x18e)),_0x20dc52['to'](_0xafb4fb(0x16e),_0x2b6c85=>_0x2b6c85?_0xafb4fb(0x157)+_0x2b6c85:'')],'data-thread-id':this[_0xafb4fb(0x177)]['id'],'tabindex':0x0,'role':_0xafb4fb(0x164),'aria-label':_0x20dc52['to'](_0xafb4fb(0x168)),'aria-describedby':this[_0xafb4fb(0x16b)]['id']},'children':[{'tag':_0xafb4fb(0x13d),'attributes':{'class':_0xafb4fb(0x145)},'children':this[_0xafb4fb(0x191)]}]};}[_0x501695(0x189)](){const _0x1b07bf=_0x501695;super[_0x1b07bf(0x189)](),this[_0x1b07bf(0x14e)]=this[_0x1b07bf(0x171)][_0x1b07bf(0x15d)](_0x1b07bf(0x148)),this[_0x1b07bf(0x177)]['on'](_0x1b07bf(0x172),()=>{const _0x33cc69=_0x1b07bf;this[_0x33cc69(0x144)]();}),this[_0x1b07bf(0x144)]();}[_0x501695(0x14c)](){const _0x4189bd=_0x501695;this[_0x4189bd(0x183)]();for(const _0x55fdc1 of this[_0x4189bd(0x149)][_0x4189bd(0x175)])_0x55fdc1[_0x4189bd(0x183)]();}[_0x501695(0x13e)](){const _0x31bf42=_0x501695,{locale:_0xd41ac2}=this,_0x97c12d=this[_0x31bf42(0x149)][_0x31bf42(0x175)][_0x31bf42(0x16d)](0x0);_0x97c12d===this[_0x31bf42(0x13f)]||_0x97c12d[_0x31bf42(0x146)]||(this[_0x31bf42(0x13f)]=_0x97c12d,this[_0x31bf42(0x151)](_0x31bf42(0x16e)),this[_0x31bf42(0x150)](_0x31bf42(0x16e))['to'](_0x97c12d,_0x31bf42(0x16e),_0x2ff40f=>_0x31bf42(0x174)===_0x2ff40f?_0x31bf42(0x174):null),_0x97c12d[_0x31bf42(0x176)]=_0x142933(_0xd41ac2,_0x31bf42(0x15a)),_0x97c12d[_0x31bf42(0x187)]['on'](_0x31bf42(0x155),_0x172a9d=>{const _0x44fed0=_0x31bf42;_0x172a9d[_0x44fed0(0x156)](),this[_0x44fed0(0x18b)](_0x142933(_0xd41ac2,_0x44fed0(0x18c)),this[_0x44fed0(0x14e)])[_0x44fed0(0x14a)](()=>{const _0x59e1bc=_0x44fed0;this[_0x59e1bc(0x194)](_0x59e1bc(0x154));});},{'priority':_0x31bf42(0x158)}),this['on'](_0x31bf42(0x15e),()=>{const _0x3c23d6=_0x31bf42;_0x97c12d[_0x3c23d6(0x17d)]();}),_0x97c12d[_0x31bf42(0x182)][_0x31bf42(0x162)](this[_0x31bf42(0x15f)],0x0),_0x97c12d[_0x31bf42(0x143)][_0x31bf42(0x162)](this[_0x31bf42(0x15f)],0x0));}[_0x501695(0x195)](){const _0x4d9f07=_0x501695,_0xede23a=new _0x58abb8(this[_0x4d9f07(0x166)]);return _0xede23a[_0x4d9f07(0x178)]=_0x142933(this[_0x4d9f07(0x166)],_0x4d9f07(0x167)),_0xede23a[_0x4d9f07(0x163)]=_0x142933(this[_0x4d9f07(0x166)],_0x4d9f07(0x167)),_0xede23a[_0x4d9f07(0x179)]=_0x2d1211,_0xede23a[_0x4d9f07(0x16f)]({'attributes':{'class':_0x4d9f07(0x16c)}}),_0xede23a[_0x4d9f07(0x150)](_0x4d9f07(0x18d))['to'](this[_0x4d9f07(0x177)],_0x4d9f07(0x18a),_0x3318dc=>!_0x3318dc),_0xede23a[_0x4d9f07(0x150)](_0x4d9f07(0x17c))['to'](this[_0x4d9f07(0x177)],_0x4d9f07(0x161),this[_0x4d9f07(0x177)],_0x4d9f07(0x147),(_0x4f3666,_0x3dd5df)=>_0x4f3666&&!_0x3dd5df),_0xede23a['on'](_0x4d9f07(0x155),()=>{const _0x4278d9=_0x4d9f07;this[_0x4278d9(0x194)](_0x4278d9(0x17b),this[_0x4278d9(0x177)]['id']);}),_0xede23a;}[_0x501695(0x144)](){const _0x1aac70=_0x501695;this[_0x1aac70(0x177)][_0x1aac70(0x152)]?this[_0x1aac70(0x191)][_0x1aac70(0x142)](this[_0x1aac70(0x173)])||(this[_0x1aac70(0x191)][_0x1aac70(0x162)](this[_0x1aac70(0x173)],0x0),this[_0x1aac70(0x143)][_0x1aac70(0x162)](this[_0x1aac70(0x173)],0x0)):this[_0x1aac70(0x191)][_0x1aac70(0x142)](this[_0x1aac70(0x173)])&&(this[_0x1aac70(0x191)][_0x1aac70(0x174)](this[_0x1aac70(0x173)]),this[_0x1aac70(0x143)][_0x1aac70(0x174)](this[_0x1aac70(0x173)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x27bbee=_0x2544;(function(_0x2456ac,_0x3279f7){const _0x82c4ff=_0x2544,_0x470dc8=_0x2456ac();while(!![]){try{const _0x10c5bc=-parseInt(_0x82c4ff(0x150))/0x1+-parseInt(_0x82c4ff(0x12e))/0x2*(parseInt(_0x82c4ff(0x126))/0x3)+-parseInt(_0x82c4ff(0x117))/0x4+-parseInt(_0x82c4ff(0x125))/0x5+-parseInt(_0x82c4ff(0x161))/0x6+parseInt(_0x82c4ff(0x12c))/0x7+parseInt(_0x82c4ff(0x110))/0x8*(parseInt(_0x82c4ff(0x14b))/0x9);if(_0x10c5bc===_0x3279f7)break;else _0x470dc8['push'](_0x470dc8['shift']());}catch(_0x2f422e){_0x470dc8['push'](_0x470dc8['shift']());}}}(_0x2283,0x9a604));import{IconRemoveComment as _0xffdf1b,IconPencil as _0x2fd1ac,IconThreeVerticalDots as _0x545037}from'ckeditor5/src/icons.js';import{ButtonView as _0x504adf,createDropdown as _0x533e8a,ListView as _0x4d7ab6,ListItemView as _0x47993e,focusChildOnDropdownOpen as _0x2e2974}from'ckeditor5/src/ui.js';import{UserView as _0x77d787,ConfirmMixin as _0x2f7e62,LateFocusDropdownButtonView as _0x14042e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2283(){const _0x12eb9d=['placeholder','fire','ck-annotation__info','isExternal','getUserViewNotificationText','cancelConfirm','getTemplate','ariaDescriptionView','mouseenter','formatDateTime','730490cZPLjY','42YWwNza','Remove','ck-comment--','_model','locale','ck-comment__main','4152078lvongc','listitem','102632WRTpej','_createDropdown','_config','Reply...','ck-comment','ck-comment__user','resolvedAt','_createCommentInputView','mouseleave','removeButton','length','withText','push','listenTo','extendTemplate','isConfirm','bind','createCollection','children','ck-annotation','author','switchToEditMode','ck-comment__info','showConfirm','isSystemComment','icon','ck-hidden','ck-annotation__info-name','bindTemplate','18wvbfpG','set','actionIndicator','isEnabled','isEditable','766898riSjZF','Show\x20more\x20items','Delete\x20comment?','buttonView','focus','ck-comment--info','authoredAt','group','find','element','div','dropdown','isVisible','change:isRemovable','ck-comment__wrapper','ck-comment__info-name','_attachActions','2155146gbboOG','_createEditButton','userView','panelPosition','ck-comment__external','ck-annotation__actions--hidden','visibleView','ck-comment__actions--hidden','isRemovable','then','label','name','setTemplate','time','ariaLabel','from','panelView','blur','removeComment','edit','unbind','ck-comment__info-time','ck-annotation__user','ck-comment--remove','_createRemoveButton','editButton','render','ck-annotation__info-time','focusables','ck-comment--remove-confirmation','add','ck-annotation__main','remove','isReadOnly','span','addMany','ck-comment--edit','ck-comment__actions','ck-annotation__content-wrapper','12511248aOdjwQ','getExternalCommentNote','isEditMode','Edit','items','some','toMany','4392124aPGtaY','execute','ck-annotation__actions','actionBar'];_0x2283=function(){return _0x12eb9d;};return _0x2283();}import{BaseCommentView as _0x3d894b}from'./basecommentview.js';function _0x2544(_0x4b9236,_0x1bd4e8){const _0x228300=_0x2283();return _0x2544=function(_0x25447e,_0x26efdf){_0x25447e=_0x25447e-0xf1;let _0x45a28a=_0x228300[_0x25447e];return _0x45a28a;},_0x2544(_0x4b9236,_0x1bd4e8);}import{getTranslation as _0x4a200e}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2f7e62(_0x3d894b){[_0x27bbee(0x11a)];[_0x27bbee(0x163)];constructor(_0xcef298,_0x24f591,_0x1ed5e6){const _0x4c552f=_0x27bbee;super(_0xcef298,_0x24f591,_0x1ed5e6),this[_0x4c552f(0x14c)](_0x4c552f(0x14d),null),this[_0x4c552f(0x14c)](_0x4c552f(0x11b),_0x4a200e(_0xcef298,_0x4c552f(0x131))),this[_0x4c552f(0x13e)](_0x4c552f(0x156))['to'](_0x24f591),this[_0x4c552f(0x13e)](_0x4c552f(0x134))['to'](_0x24f591),this[_0x4c552f(0x11a)]=this[_0x4c552f(0x13f)](),this[_0x4c552f(0x146)]||(this[_0x4c552f(0x102)]=this[_0x4c552f(0x162)](),this[_0x4c552f(0x137)]=this[_0x4c552f(0x101)](),this[_0x4c552f(0x114)]=this[_0x4c552f(0x13f)](),this[_0x4c552f(0x114)][_0x4c552f(0x10c)]([this[_0x4c552f(0x102)],this[_0x4c552f(0x137)]]),this[_0x4c552f(0x15b)]=this[_0x4c552f(0x12f)](),this[_0x4c552f(0x11a)][_0x4c552f(0x107)](this[_0x4c552f(0x15b)]),this[_0x4c552f(0x105)][_0x4c552f(0x107)](this[_0x4c552f(0x15b)])),this[_0x4c552f(0x163)]=new _0x77d787(_0xcef298,_0x24f591[_0x4c552f(0x142)],this[_0x4c552f(0x11f)]()),this[_0x4c552f(0x163)][_0x4c552f(0x13c)]({'attributes':{'class':[_0x4c552f(0x133),_0x4c552f(0xff)],'aria-hidden':!0x0}}),this[_0x4c552f(0x13b)](_0x24f591,_0x4c552f(0x15d),()=>this[_0x4c552f(0x120)]()),this[_0x4c552f(0xf5)](this[_0x4c552f(0x121)]());}[_0x27bbee(0x121)](){const _0xa5dc39=_0x27bbee,_0x3354fc=this[_0xa5dc39(0x14a)],_0x5dafaf=[{'tag':_0xa5dc39(0x15a),'attributes':{'class':[_0xa5dc39(0x144),_0xa5dc39(0x11d)]},'children':[{'tag':_0xa5dc39(0x10b),'children':[{'text':this[_0xa5dc39(0x163)][_0xa5dc39(0xf4)]}],'attributes':{'class':[_0xa5dc39(0x15f),_0xa5dc39(0x149)],'data-cke-tooltip-text':this[_0xa5dc39(0x163)][_0xa5dc39(0xf4)]}},{'tag':_0xa5dc39(0xf6),'attributes':{'datetime':_0x3354fc['to'](_0xa5dc39(0x156)),'class':[_0xa5dc39(0xfe),_0xa5dc39(0x104)]},'children':[{'text':_0x3354fc['to'](_0xa5dc39(0x156),_0x586163=>this[_0xa5dc39(0x130)][_0xa5dc39(0x124)](_0x586163))}]}]},{'tag':_0xa5dc39(0x15a),'attributes':{'class':[_0xa5dc39(0x10e),_0xa5dc39(0x119),_0x3354fc['if'](_0xa5dc39(0x112),_0xa5dc39(0x168)),_0x3354fc['if'](_0xa5dc39(0x112),_0xa5dc39(0x166))]},'children':this[_0xa5dc39(0x11a)]},{'tag':_0xa5dc39(0x15a),'attributes':{'class':[_0xa5dc39(0x10f)]},'children':this[_0xa5dc39(0x167)]},this[_0xa5dc39(0x122)]];return this[_0xa5dc39(0x129)][_0xa5dc39(0x11e)]&&_0x5dafaf[_0xa5dc39(0x13a)]({'tag':_0xa5dc39(0x15a),'attributes':{'class':[_0xa5dc39(0x165)]},'children':[{'text':this[_0xa5dc39(0x111)]()}]}),{'tag':'li','attributes':{'class':[_0xa5dc39(0x15e),_0x3354fc['if'](_0xa5dc39(0x13d),_0xa5dc39(0x106))],'tabindex':-0x1,'aria-label':_0x3354fc['to'](_0xa5dc39(0xf7)),'aria-describedby':this[_0xa5dc39(0x122)]['id'],'role':_0xa5dc39(0x12d)},'children':[{'tag':_0xa5dc39(0x15a),'attributes':{'class':[_0xa5dc39(0x132),_0xa5dc39(0x141),_0x3354fc['if'](_0xa5dc39(0x112),_0xa5dc39(0x10d)),_0x3354fc['if'](_0xa5dc39(0x146),_0xa5dc39(0x155)),_0x3354fc['to'](_0xa5dc39(0x14d),_0x25e448=>_0x25e448?_0xa5dc39(0x128)+_0x25e448:'')],'data-author-id':this[_0xa5dc39(0x129)][_0xa5dc39(0x142)]['id'],'data-comment-id':this[_0xa5dc39(0x129)]['id'],'role':_0xa5dc39(0x157)},'children':[this[_0xa5dc39(0x163)],{'tag':_0xa5dc39(0x15a),'attributes':{'class':[_0xa5dc39(0x12b),_0xa5dc39(0x108)]},'children':_0x5dafaf}]}]};}[_0x27bbee(0x162)](){const _0x1d4829=_0x27bbee,_0x5bca3f=new _0x504adf(this[_0x1d4829(0x12a)]);return _0x5bca3f[_0x1d4829(0xf3)]=_0x4a200e(this[_0x1d4829(0x12a)],_0x1d4829(0x113)),_0x5bca3f[_0x1d4829(0x147)]=_0x2fd1ac,_0x5bca3f[_0x1d4829(0x139)]=!0x0,_0x5bca3f[_0x1d4829(0x13c)]({'attributes':{'class':_0x1d4829(0x10d)}}),_0x5bca3f[_0x1d4829(0x13e)](_0x1d4829(0x14e))['to'](this[_0x1d4829(0x129)],_0x1d4829(0x10a),_0x4ce922=>!_0x4ce922),_0x5bca3f[_0x1d4829(0x13e)](_0x1d4829(0x15c))['to'](this[_0x1d4829(0x129)],_0x1d4829(0x14f)),_0x5bca3f['on'](_0x1d4829(0x118),()=>this[_0x1d4829(0x143)]()),_0x5bca3f;}[_0x27bbee(0x101)](){const _0x5d0eee=_0x27bbee,_0x5c1182=new _0x504adf(this[_0x5d0eee(0x12a)]);return _0x5c1182[_0x5d0eee(0xf3)]=_0x4a200e(this[_0x5d0eee(0x12a)],_0x5d0eee(0x127)),_0x5c1182[_0x5d0eee(0x147)]=_0xffdf1b,_0x5c1182[_0x5d0eee(0x139)]=!0x0,_0x5c1182[_0x5d0eee(0x13c)]({'attributes':{'class':_0x5d0eee(0x100)}}),_0x5c1182[_0x5d0eee(0x13e)](_0x5d0eee(0x14e))['to'](this[_0x5d0eee(0x129)],_0x5d0eee(0x10a),_0x358ec3=>!_0x358ec3),_0x5c1182[_0x5d0eee(0x13e)](_0x5d0eee(0x15c))['to'](this[_0x5d0eee(0x129)],_0x5d0eee(0xf1)),_0x5c1182['on'](_0x5d0eee(0x118),()=>{const _0x369eb3=_0x5d0eee;this[_0x369eb3(0x145)](_0x4a200e(this[_0x369eb3(0x12a)],_0x369eb3(0x152)),this[_0x369eb3(0x159)])[_0x369eb3(0xf2)](()=>{const _0x3ae5e2=_0x369eb3;this[_0x3ae5e2(0x11c)](_0x3ae5e2(0xfb),this[_0x3ae5e2(0x129)]['id']);});}),_0x5c1182;}[_0x27bbee(0x12f)](){const _0x4bd152=_0x27bbee,_0x2a195f=_0x533e8a(this[_0x4bd152(0x12a)],_0x14042e),_0x46fb5a=_0x2a195f[_0x4bd152(0xf9)][_0x4bd152(0x140)],_0x475aa8=new _0x4d7ab6(this[_0x4bd152(0x12a)]),_0x2f55c1=_0x2a195f[_0x4bd152(0x14a)];_0x2e2974(_0x2a195f,()=>this[_0x4bd152(0x114)][_0x4bd152(0x158)](_0x568108=>_0x568108[_0x4bd152(0x15c)])),_0x2a195f[_0x4bd152(0x13c)]({'attributes':{'class':[_0x2f55c1['if'](_0x4bd152(0x15c),_0x4bd152(0x148),_0x4b22dc=>!_0x4b22dc)]}});const _0x5f24f0=(_0x1d7c73,_0xa30405=-0x1)=>{const _0x4a6d2e=_0x4bd152,_0x64657f=new _0x47993e(this[_0x4a6d2e(0x12a)]);_0x64657f[_0x4a6d2e(0x140)][_0x4a6d2e(0x107)](_0x1d7c73);const _0x532848=_0xa30405>-0x1?_0xa30405:_0x475aa8[_0x4a6d2e(0x114)][_0x4a6d2e(0x138)];_0x475aa8[_0x4a6d2e(0x114)][_0x4a6d2e(0x107)](_0x64657f,_0x532848);const _0xad1394=Array[_0x4a6d2e(0xf8)](this[_0x4a6d2e(0x114)]);_0x2a195f[_0x4a6d2e(0xfd)](_0x4a6d2e(0x14e),_0x4a6d2e(0x15c)),_0x2a195f[_0x4a6d2e(0x13e)](_0x4a6d2e(0x14e))[_0x4a6d2e(0x116)](_0xad1394,_0x4a6d2e(0x14e),(..._0x397475)=>_0x397475[_0x4a6d2e(0x115)](_0x323dc1=>_0x323dc1)),_0x2a195f[_0x4a6d2e(0x13e)](_0x4a6d2e(0x15c))[_0x4a6d2e(0x116)](_0xad1394,_0x4a6d2e(0x15c),(..._0x210744)=>_0x210744[_0x4a6d2e(0x115)](_0x5b99d8=>_0x5b99d8));};_0x2a195f[_0x4bd152(0x164)]='sw',_0x2a195f[_0x4bd152(0x153)][_0x4bd152(0x14c)]({'label':_0x4a200e(this[_0x4bd152(0x12a)],_0x4bd152(0x151)),'icon':_0x545037});for(const _0xbba083 of this[_0x4bd152(0x114)])_0x5f24f0(_0xbba083);return _0x46fb5a[_0x4bd152(0x107)](_0x475aa8),_0x2a195f[_0x4bd152(0x13b)](this[_0x4bd152(0x114)],_0x4bd152(0x107),(_0x4ad573,_0x40dd10,_0x2d24a2)=>{_0x5f24f0(_0x40dd10,_0x2d24a2);}),_0x2a195f[_0x4bd152(0x13b)](this[_0x4bd152(0x114)],_0x4bd152(0x109),(_0x41e786,_0xb26d18,_0x15c476)=>{const _0x1b9bc0=_0x4bd152;_0x475aa8[_0x1b9bc0(0x114)][_0x1b9bc0(0x109)](_0x15c476);}),_0x2a195f;}[_0x27bbee(0x160)](_0x1520aa,_0x5856a4){const _0x3018d5=_0x27bbee,_0x2b838f=_0x1520aa&&_0x1520aa[_0x3018d5(0x159)];_0x2b838f&&(this[_0x3018d5(0x13b)](_0x2b838f,_0x3018d5(0x123),()=>this[_0x3018d5(0x14d)]=_0x5856a4),this[_0x3018d5(0x13b)](_0x2b838f,_0x3018d5(0x154),()=>this[_0x3018d5(0x14d)]=_0x5856a4),this[_0x3018d5(0x13b)](_0x2b838f,_0x3018d5(0x136),()=>this[_0x3018d5(0x14d)]=null),this[_0x3018d5(0x13b)](_0x2b838f,_0x3018d5(0xfa),()=>this[_0x3018d5(0x14d)]=null));}[_0x27bbee(0x135)](){const _0x5b7a20=_0x27bbee,_0x1f0cbb=super[_0x5b7a20(0x135)]();return _0x1f0cbb[_0x5b7a20(0x13e)](_0x5b7a20(0x11b))['to'](this),_0x1f0cbb;}[_0x27bbee(0x103)](){const _0x43657c=_0x27bbee;super[_0x43657c(0x103)](),this[_0x43657c(0x160)](this[_0x43657c(0x102)],_0x43657c(0xfc)),this[_0x43657c(0x160)](this[_0x43657c(0x137)],_0x43657c(0x109));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x98cd6b=_0x48fb;(function(_0x44ed77,_0x316cf6){var _0x26f546=_0x48fb,_0x3bb74b=_0x44ed77();while(!![]){try{var _0x3d61bc=parseInt(_0x26f546(0xcf))/0x1+-parseInt(_0x26f546(0xd1))/0x2*(parseInt(_0x26f546(0xd2))/0x3)+parseInt(_0x26f546(0xcd))/0x4+parseInt(_0x26f546(0xda))/0x5*(parseInt(_0x26f546(0xd7))/0x6)+parseInt(_0x26f546(0xd6))/0x7+parseInt(_0x26f546(0xd3))/0x8*(-parseInt(_0x26f546(0xd4))/0x9)+parseInt(_0x26f546(0xd5))/0xa;if(_0x3d61bc===_0x316cf6)break;else _0x3bb74b['push'](_0x3bb74b['shift']());}catch(_0x1cb334){_0x3bb74b['push'](_0x3bb74b['shift']());}}}(_0x5277,0x89a87));import{Plugin as _0xbafc2a}from'ckeditor5/src/core.js';import{CommentsRepository as _0x594846}from'./comments/commentsrepository.js';import{CommentsEditing as _0x38695c}from'./comments/commentsediting.js';import{CommentsUI as _0x1f6dea}from'./comments/commentsui.js';import{CommentsOnly as _0x4f5f83}from'./commentsonly.js';import{WideSidebar as _0x3566e1}from'./annotations/widesidebar.js';function _0x48fb(_0x4e8ca9,_0xaae827){var _0x527765=_0x5277();return _0x48fb=function(_0x48fbbb,_0x2c40a8){_0x48fbbb=_0x48fbbb-0xcd;var _0x5c12ef=_0x527765[_0x48fbbb];return _0x5c12ef;},_0x48fb(_0x4e8ca9,_0xaae827);}import{NarrowSidebar as _0x36e866}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x111008}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x3c1b6b}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x3be0dd}from'./comments/commentsarchive.js';export class Comments extends _0xbafc2a{static get[_0x98cd6b(0xd0)](){return[_0x594846,_0x38695c,_0x1f6dea,_0x3be0dd,_0x3c1b6b,_0x4f5f83,_0x3566e1,_0x36e866,_0x111008];}static get[_0x98cd6b(0xdb)](){var _0x22ae71=_0x98cd6b;return _0x22ae71(0xd8);}static get[_0x98cd6b(0xd9)](){return!0x0;}static get[_0x98cd6b(0xce)](){return!0x0;}}function _0x5277(){var _0x4ec28a=['requires','1432pTatuj','2487WRDngH','9288eNcqwB','3438QZDWkZ','3772000ySvRkz','206024UlitdT','3389910HyODhp','Comments','isOfficialPlugin','5dRckbO','pluginName','345536AbVVMU','isPremiumPlugin','542912nofXcZ'];_0x5277=function(){return _0x4ec28a;};return _0x5277();}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x544655=_0x56d2;(function(_0x2ba267,_0x44ed87){const _0x1efc25=_0x56d2,_0x3a2bae=_0x2ba267();while(!![]){try{const _0x5f40c6=parseInt(_0x1efc25(0x9c))/0x1*(parseInt(_0x1efc25(0x9f))/0x2)+parseInt(_0x1efc25(0xaa))/0x3+-parseInt(_0x1efc25(0xae))/0x4+-parseInt(_0x1efc25(0x96))/0x5+parseInt(_0x1efc25(0x86))/0x6*(-parseInt(_0x1efc25(0x87))/0x7)+parseInt(_0x1efc25(0x9b))/0x8+-parseInt(_0x1efc25(0x8d))/0x9*(-parseInt(_0x1efc25(0xac))/0xa);if(_0x5f40c6===_0x44ed87)break;else _0x3a2bae['push'](_0x3a2bae['shift']());}catch(_0x4653e8){_0x3a2bae['push'](_0x3a2bae['shift']());}}}(_0x1a41,0x1b399));import{Plugin as _0x15f301}from'ckeditor5/src/core.js';function _0x1a41(){const _0x330bfd=['clearForceDisabled','20610DJtZOL','273fxJxVV','commentsOnly','delete','set','highest','editSource','45WfjYHR','addCommentThread','stopListening','isOfficialPlugin','SourceEditing','pluginName','cut','editing','has','179510cLDftX','requires','config','plugins','_disableCommentsOnlyMode','1218576LaTXyx','2591sqpplo','isEnabled','commands','14sHVZBM','document','DragDrop','forceDisabled','afterInit','commentsOnlyMode','listenTo','affectsData','stop','view','clipboardInput','139365QpnGrK','CommentsOnly','246420IkRrYH','_enableCommentsOnlyMode','234976kiHUxv','get','isPremiumPlugin','editor','change:isEnabled'];_0x1a41=function(){return _0x330bfd;};return _0x1a41();}function _0x56d2(_0x4b4399,_0x38ed51){const _0x1a41c4=_0x1a41();return _0x56d2=function(_0x56d24f,_0x3441ec){_0x56d24f=_0x56d24f-0x81;let _0x283011=_0x1a41c4[_0x56d24f];return _0x283011;},_0x56d2(_0x4b4399,_0x38ed51);}import{CommentsEditing as _0x2ec707}from'./comments/commentsediting.js';export class CommentsOnly extends _0x15f301{static get[_0x544655(0x92)](){const _0x581766=_0x544655;return _0x581766(0xab);}static get[_0x544655(0x90)](){return!0x0;}static get[_0x544655(0x82)](){return!0x0;}static get[_0x544655(0x97)](){return[_0x2ec707];}constructor(_0x50969b){const _0x190e8c=_0x544655;super(_0x50969b),this[_0x190e8c(0x8a)](_0x190e8c(0x9d),!0x1),this['on'](_0x190e8c(0x84),(_0x14ce9a,_0x10f7bc,_0x1c984f)=>{const _0x48bfc7=_0x190e8c;_0x1c984f?this[_0x48bfc7(0xad)]():this[_0x48bfc7(0x9a)]();});}[_0x544655(0xa3)](){const _0x5df207=_0x544655;!this[_0x5df207(0x9d)]&&this[_0x5df207(0x83)][_0x5df207(0x98)][_0x5df207(0x81)](_0x5df207(0x88))&&(this[_0x5df207(0x9d)]=!0x0);}[_0x544655(0xad)](){const _0x2e6941=_0x544655;for(const [_0x56c94f,_0x2598c2]of this[_0x2e6941(0x83)][_0x2e6941(0x9e)])_0x2598c2[_0x2e6941(0xa6)]&&_0x2e6941(0x8e)!==_0x56c94f&&_0x2598c2[_0x2e6941(0xa2)](_0x2e6941(0xa4));(this[_0x2e6941(0x83)][_0x2e6941(0x99)][_0x2e6941(0x95)](_0x2e6941(0xa1))&&this[_0x2e6941(0x83)][_0x2e6941(0x99)][_0x2e6941(0x81)](_0x2e6941(0xa1))[_0x2e6941(0xa2)](_0x2e6941(0xa4)),this[_0x2e6941(0x83)][_0x2e6941(0x99)][_0x2e6941(0x95)](_0x2e6941(0x91)))&&this[_0x2e6941(0x83)][_0x2e6941(0x99)][_0x2e6941(0x81)](_0x2e6941(0x91))[_0x2e6941(0xa2)](_0x2e6941(0xa4));this[_0x2e6941(0x83)][_0x2e6941(0x9e)][_0x2e6941(0x81)](_0x2e6941(0x8c))?.[_0x2e6941(0xa2)](_0x2e6941(0xa4));const _0xe72707=this[_0x2e6941(0x83)][_0x2e6941(0x94)][_0x2e6941(0xa8)][_0x2e6941(0xa0)];this[_0x2e6941(0xa5)](_0xe72707,_0x2e6941(0x93),_0x23f08d=>_0x23f08d[_0x2e6941(0xa7)](),{'priority':_0x2e6941(0x8b)}),this[_0x2e6941(0xa5)](_0xe72707,_0x2e6941(0xa9),_0x1cb0c4=>_0x1cb0c4[_0x2e6941(0xa7)](),{'priority':_0x2e6941(0x8b)}),this[_0x2e6941(0xa5)](_0xe72707,_0x2e6941(0x89),_0x3b92da=>_0x3b92da[_0x2e6941(0xa7)](),{'priority':_0x2e6941(0x8b)});}[_0x544655(0x9a)](){const _0x4e475c=_0x544655;for(const [_0x576fbd,_0x58de53]of this[_0x4e475c(0x83)][_0x4e475c(0x9e)])_0x58de53[_0x4e475c(0xa6)]&&_0x4e475c(0x8e)!==_0x576fbd&&_0x58de53[_0x4e475c(0x85)](_0x4e475c(0xa4));this[_0x4e475c(0x83)][_0x4e475c(0x99)][_0x4e475c(0x95)](_0x4e475c(0x91))&&this[_0x4e475c(0x83)][_0x4e475c(0x99)][_0x4e475c(0x81)](_0x4e475c(0x91))[_0x4e475c(0x85)](_0x4e475c(0xa4)),this[_0x4e475c(0x83)][_0x4e475c(0x9e)][_0x4e475c(0x81)](_0x4e475c(0x8c))?.[_0x4e475c(0x85)](_0x4e475c(0xa4)),this[_0x4e475c(0x8f)](this[_0x4e475c(0x83)][_0x4e475c(0x94)][_0x4e475c(0xa8)][_0x4e475c(0xa0)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xbc2933,_0x71320){var _0x591a59=_0x405d,_0x173cc6=_0xbc2933();while(!![]){try{var _0x86871f=-parseInt(_0x591a59(0x1d6))/0x1+parseInt(_0x591a59(0x1dc))/0x2+-parseInt(_0x591a59(0x1df))/0x3*(parseInt(_0x591a59(0x1d7))/0x4)+parseInt(_0x591a59(0x1d9))/0x5+parseInt(_0x591a59(0x1db))/0x6*(parseInt(_0x591a59(0x1dd))/0x7)+parseInt(_0x591a59(0x1d5))/0x8*(parseInt(_0x591a59(0x1da))/0x9)+parseInt(_0x591a59(0x1de))/0xa*(parseInt(_0x591a59(0x1d8))/0xb);if(_0x86871f===_0x71320)break;else _0x173cc6['push'](_0x173cc6['shift']());}catch(_0x324c82){_0x173cc6['push'](_0x173cc6['shift']());}}}(_0x4cb3,0x415a4));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';function _0x405d(_0xd26c15,_0x25cf34){var _0x4cb368=_0x4cb3();return _0x405d=function(_0x405d2c,_0x4841ef){_0x405d2c=_0x405d2c-0x1d5;var _0x4fff01=_0x4cb368[_0x405d2c];return _0x4fff01;},_0x405d(_0xd26c15,_0x25cf34);}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';function _0x4cb3(){var _0x348a7f=['258180CVPXRV','270tkIboL','12RwRToC','473708hUHbRS','351554lqOIGJ','30YxWPZI','3PdjYvl','15928EIKEkQ','221895jGNfBI','1212488RCPkLf','1261469btNWWA'];_0x4cb3=function(){return _0x348a7f;};return _0x4cb3();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x4ca8ad,_0x38a0c5,_0x2465d8){const t=_0x4ca8ad['t'];switch(_0x38a0c5){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'},_0x2465d8);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'},_0x2465d8);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'},_0x2465d8);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'},_0x2465d8);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x2465d8);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'},_0x2465d8);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'},_0x2465d8);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'},_0x2465d8);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(_0x4bf049,_0x401c68){const _0x4144e4=_0x2092,_0x4b4b2a=_0x4bf049();while(!![]){try{const _0x41ee07=-parseInt(_0x4144e4(0x13f))/0x1*(parseInt(_0x4144e4(0x12d))/0x2)+parseInt(_0x4144e4(0x130))/0x3*(parseInt(_0x4144e4(0x139))/0x4)+-parseInt(_0x4144e4(0x13e))/0x5+parseInt(_0x4144e4(0x132))/0x6*(-parseInt(_0x4144e4(0x12f))/0x7)+-parseInt(_0x4144e4(0x136))/0x8+-parseInt(_0x4144e4(0x13a))/0x9+parseInt(_0x4144e4(0x134))/0xa;if(_0x41ee07===_0x401c68)break;else _0x4b4b2a['push'](_0x4b4b2a['shift']());}catch(_0x471425){_0x4b4b2a['push'](_0x4b4b2a['shift']());}}}(_0x26aa,0x37016));function _0x2092(_0x441fb6,_0x5f4ed5){const _0x26aada=_0x26aa();return _0x2092=function(_0x20926a,_0x12f39b){_0x20926a=_0x20926a-0x12d;let _0x580fa5=_0x26aada[_0x20926a];return _0x580fa5;},_0x2092(_0x441fb6,_0x5f4ed5);}function _0x26aa(){const _0x1b0d8f=['2785914UEUIVZ','attributeName','cancel','childList','1438165nJrUNm','5lEkLKC','9122vqfvnv','characterData','337533uSxfsq','86889EeWefA','attributes','12TBTVAc','type','8942840WDSGom','class','1705816zpzxjv','disconnect','observe','36gdtoGJ'];_0x26aa=function(){return _0x1b0d8f;};return _0x26aa();}import{throttle as _0xc6619e}from'es-toolkit/compat';export function createMutationObserver(_0x14d1f7){const _0x1aed08=_0xc6619e(_0x14d1f7,0x1e),_0x3fde4e=new MutationObserver(_0x58462a=>{const _0x4b0875=_0x2092;for(const _0x1b07e3 of _0x58462a)(_0x4b0875(0x131)==_0x1b07e3[_0x4b0875(0x133)]&&_0x4b0875(0x135)==_0x1b07e3[_0x4b0875(0x13b)]||_0x4b0875(0x13d)==_0x1b07e3[_0x4b0875(0x133)]||_0x4b0875(0x12e)==_0x1b07e3[_0x4b0875(0x133)])&&_0x1aed08();});return{'attach'(_0x4307c7){const _0x14cc8f=_0x2092;_0x3fde4e[_0x14cc8f(0x138)](_0x4307c7,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x3fd267=_0x2092;_0x3fde4e[_0x3fd267(0x137)](),_0x1aed08[_0x3fd267(0x13c)]();}};}
|