@ckeditor/ckeditor5-comments 43.0.0-alpha.4 → 43.0.0-alpha.6
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/comments/ui/view/commentthreadinputview.d.ts +4 -0
- package/dist/index-editor.css +1 -5
- package/dist/index.css +1 -5
- package/dist/index.js +9 -9
- 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/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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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 +14 -14
- 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 +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- 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/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.d.ts +4 -0
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/comment.css +1 -5
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x92a129=_0x3c48;(function(_0x4e515f,_0x1b3166){const _0x42b9f5=_0x3c48,_0xdf759d=_0x4e515f();while(!![]){try{const _0xa5e98c=parseInt(_0x42b9f5(0xb4))/0x1*(-parseInt(_0x42b9f5(0x8e))/0x2)+parseInt(_0x42b9f5(0x8b))/0x3*(-parseInt(_0x42b9f5(0x9e))/0x4)+parseInt(_0x42b9f5(0xac))/0x5*(parseInt(_0x42b9f5(0x8d))/0x6)+parseInt(_0x42b9f5(0x91))/0x7*(-parseInt(_0x42b9f5(0xae))/0x8)+-parseInt(_0x42b9f5(0x99))/0x9*(-parseInt(_0x42b9f5(0x9d))/0xa)+parseInt(_0x42b9f5(0xb2))/0xb*(-parseInt(_0x42b9f5(0x9a))/0xc)+parseInt(_0x42b9f5(0xa6))/0xd;if(_0xa5e98c===_0x1b3166)break;else _0xdf759d['push'](_0xdf759d['shift']());}catch(_0x38e680){_0xdf759d['push'](_0xdf759d['shift']());}}}(_0x277f,0xedbf3));import{View as _0x11ea6f,FocusCycler as _0x443c70}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3b428e}from'ckeditor5/src/utils.js';function _0x3c48(_0x1674fb,_0x1cd371){const _0x277f67=_0x277f();return _0x3c48=function(_0x3c4809,_0x2e89fa){_0x3c4809=_0x3c4809-0x89;let _0x41e9c3=_0x277f67[_0x3c4809];return _0x41e9c3;},_0x3c48(_0x1674fb,_0x1cd371);}function _0x277f(){const _0x22fbdf=['ck-comments-archive','COMMENTS_ARCHIVE_LIST_LABEL','setTemplate','set','change','focus','36ICdjDM','420miAzRY','auto','listenTo','4271690lqGuwh','272EvAoVY','list','_annotationViews','isActive','add','arrowup','delegate','EMPTY_COMMENTS_ARCHIVE','30363996EfpwWD','focusPrevious','focusCycler','div','focusNext','ck-comments-archive__content','1760bJJoKK','focusTracker','472mpTjbs','arrowdown','ck-hidden','render','505945JhlYGD','focusFirst','18161BowLlj','presentation','ck-comments-archive__info','isEmpty','first','element','remove','75354pACGPE','bindTemplate','16266MZMyel','46WePelW','length','destroy','34321cBGXAT','_setupKeyboardNavigation'];_0x277f=function(){return _0x22fbdf;};return _0x277f();}import{getTranslation as _0x599b7c}from'../../../utils/common-translations.js';export default class Y extends _0x11ea6f{constructor(_0x8c6b8b,_0x5688e2){const _0x222f4c=_0x3c48;super(_0x8c6b8b),this[_0x222f4c(0x96)](_0x222f4c(0xb7),!_0x5688e2[_0x222f4c(0x8f)]),this[_0x222f4c(0xad)]=new _0x3b428e(),this[_0x222f4c(0xa0)]=_0x5688e2,this[_0x222f4c(0xa0)][_0x222f4c(0xa4)](_0x222f4c(0xa3),_0x222f4c(0xaf))['to'](this),this['on'](_0x222f4c(0xa3),()=>{const _0x8869fa=_0x222f4c;this[_0x8869fa(0xa8)][_0x8869fa(0xa7)]();}),this['on'](_0x222f4c(0xaf),()=>{const _0x26e0cf=_0x222f4c;this[_0x26e0cf(0xa8)][_0x26e0cf(0xaa)]();}),this[_0x222f4c(0xa8)]=new _0x443c70({'focusables':_0x5688e2,'focusTracker':this[_0x222f4c(0xad)]}),this[_0x222f4c(0x9c)](_0x5688e2,_0x222f4c(0xa2),()=>{const _0x5b48ca=_0x222f4c;this[_0x5b48ca(0xb7)]=!0x1;}),this[_0x222f4c(0x9c)](_0x5688e2,_0x222f4c(0x8a),(_0x532620,_0x2c6704)=>{const _0x29aa3c=_0x222f4c;_0x2c6704[_0x29aa3c(0xa1)]&&this[_0x29aa3c(0x98)](),_0x5688e2[_0x29aa3c(0x8f)]||(this[_0x29aa3c(0xb7)]=!0x0);});const _0x3218b3=this[_0x222f4c(0x8c)];this[_0x222f4c(0x95)]({'tag':_0x222f4c(0xa9),'attributes':{'dir':_0x222f4c(0x9b),'class':['ck',_0x222f4c(0x93)],'tabindex':-0x1,'role':_0x222f4c(0x9f),'aria-label':_0x599b7c(_0x8c6b8b,_0x222f4c(0x94))},'children':[{'tag':_0x222f4c(0xa9),'attributes':{'class':[_0x222f4c(0xab)],'role':_0x222f4c(0xb5)},'children':[{'tag':_0x222f4c(0xa9),'attributes':{'role':_0x222f4c(0xb5)},'children':_0x5688e2},{'tag':'p','attributes':{'class':[_0x222f4c(0xb6),_0x3218b3['if'](_0x222f4c(0xb7),_0x222f4c(0xb0),_0x108777=>!_0x108777)]},'children':[{'text':_0x599b7c(_0x8c6b8b,_0x222f4c(0xa5))}]}]}]});}[_0x92a129(0xb1)](){const _0x9de945=_0x92a129;super[_0x9de945(0xb1)](),this[_0x9de945(0x92)]();}[_0x92a129(0x90)](){const _0x1b8724=_0x92a129;super[_0x1b8724(0x90)](),this[_0x1b8724(0xad)][_0x1b8724(0x90)]();}[_0x92a129(0x98)](){const _0x33dc1b=_0x92a129;this[_0x33dc1b(0xa8)][_0x33dc1b(0xb8)]?this[_0x33dc1b(0xa8)][_0x33dc1b(0xb3)]():this[_0x33dc1b(0x89)][_0x33dc1b(0x98)]();}[_0x92a129(0x92)](){const _0x4d79cc=_0x92a129;for(const _0x10c1b9 of this[_0x4d79cc(0xa0)])this[_0x4d79cc(0xad)][_0x4d79cc(0xa2)](_0x10c1b9[_0x4d79cc(0x89)]);this[_0x4d79cc(0xa0)]['on'](_0x4d79cc(0x97),(_0x49844d,{added:_0x4cd80d,removed:_0x287613})=>{const _0x3bde47=_0x4d79cc;for(const _0xe7e114 of _0x4cd80d)this[_0x3bde47(0xad)][_0x3bde47(0xa2)](_0xe7e114[_0x3bde47(0x89)]);for(const _0x1e7eed of _0x287613)this[_0x3bde47(0xad)][_0x3bde47(0x8a)](_0x1e7eed[_0x3bde47(0x89)]);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x260ae=_0x23d9;(function(_0x7792bd,_0x2c795d){const _0x55de8a=_0x23d9,_0x2eeea3=_0x7792bd();while(!![]){try{const _0x350a63=-parseInt(_0x55de8a(0x1cd))/0x1*(parseInt(_0x55de8a(0x228))/0x2)+-parseInt(_0x55de8a(0x224))/0x3*(parseInt(_0x55de8a(0x20c))/0x4)+parseInt(_0x55de8a(0x1d7))/0x5*(-parseInt(_0x55de8a(0x1ff))/0x6)+parseInt(_0x55de8a(0x1c8))/0x7*(parseInt(_0x55de8a(0x211))/0x8)+parseInt(_0x55de8a(0x1ee))/0x9*(parseInt(_0x55de8a(0x1dd))/0xa)+-parseInt(_0x55de8a(0x209))/0xb*(-parseInt(_0x55de8a(0x206))/0xc)+parseInt(_0x55de8a(0x205))/0xd;if(_0x350a63===_0x2c795d)break;else _0x2eeea3['push'](_0x2eeea3['shift']());}catch(_0x14ae42){_0x2eeea3['push'](_0x2eeea3['shift']());}}}(_0x5200,0x2a7dc));import{View as _0x3384e5,FocusCycler as _0x57c7a3}from'ckeditor5/src/ui.js';import{diff as _0xf516a1,Collection as _0x4e9465,FocusTracker as _0x15003b,KeystrokeHandler as _0x599e5b}from'ckeditor5/src/utils.js';import{getTranslation as _0x2a43ee}from'../../../utils/common-translations.js';function _0x5200(){const _0x2f3cd4=['maxCommentCharsWhenCollapsed','createCollection','789270bfEsUf','weight','_config','focusCycler','_rearrangeCollapse','setTemplate','10XmTYoz','resolvedCommentView','_handleRemoveCommentModel','focusLast','equal','resolveCommentThread','focusTracker','focusFirst','locale','_collapsedCommentsView','bindTemplate','ck-hidden','map','_calculatePosition','insert','_handleNewCommentModel','formatDateTime','2887749tYSQcV','change:hasDirtyComment','_rearrangeExpand','hasDirtyComment','updateComment','includes','CommentView','listenTo','change:isEditMode','collapse','ck-thread__comments','arrowdown','reverse','commentViews','count','resolved','forEach','12zVGIoe','viewUid','length','stopListening','target','destroy','3530072NjWEvW','12hyITdV','arrowup','removeComment','2429119JiAyQa','remove','expand','10452NkOHPf','some','_handleInfoComment','_model','removed','1072aHdIuO','delete','isActive','set','change:isActive','editorConfig','added','visibleViews','editorReady','_updateHasDirtyComment','_shouldCollapse','isEditMode','get','comments','commentUpdated','focus','bind','render','refreshVisibleViews','144vNwgva','maxCommentsWhenCollapsed','resolvedBy','Marked\x20as\x20resolved','8BwoDAk','delegate','keystrokes','authoredAt','3605hDbaVP','from','change:isResolved','maxThreadTotalWeight','_setupKeyboardNavigation','66767FxpNRz','Thread\x20comments','add','change','editorDestroyed','element','_findOptimalIndex','resolvedAt'];_0x5200=function(){return _0x2f3cd4;};return _0x5200();}import _0x17c8dc from'./collapsedcommentsview.js';function _0x23d9(_0x37093c,_0x30745b){const _0x52004a=_0x5200();return _0x23d9=function(_0x23d94c,_0x51ab11){_0x23d94c=_0x23d94c-0x1c8;let _0x447edf=_0x52004a[_0x23d94c];return _0x447edf;},_0x23d9(_0x37093c,_0x30745b);}export default class kt extends _0x3384e5{constructor(_0x432d74,_0x139bcd,_0x1f786e){const _0xb2f1e5=_0x23d9;super(_0x432d74);const _0x5418c9=this[_0xb2f1e5(0x1e7)];this[_0xb2f1e5(0x214)](_0xb2f1e5(0x1f1),!0x1),this[_0xb2f1e5(0x214)](_0xb2f1e5(0x201),_0x139bcd[_0xb2f1e5(0x21e)][_0xb2f1e5(0x201)]),this[_0xb2f1e5(0x214)](_0xb2f1e5(0x213),!0x1),this[_0xb2f1e5(0x20f)]=_0x139bcd,this[_0xb2f1e5(0x1d9)]=_0x1f786e,this[_0xb2f1e5(0x1fb)]=this[_0xb2f1e5(0x1d6)](),this[_0xb2f1e5(0x218)]=this[_0xb2f1e5(0x1d6)](),this[_0xb2f1e5(0x1de)]=null,this[_0xb2f1e5(0x1e3)]=new _0x15003b(),this[_0xb2f1e5(0x22a)]=new _0x599e5b(),this[_0xb2f1e5(0x1da)]=new _0x57c7a3({'focusables':this[_0xb2f1e5(0x1fb)],'focusTracker':this[_0xb2f1e5(0x1e3)],'keystrokeHandler':this[_0xb2f1e5(0x22a)],'keystrokeHandlerOptions':{'filter':_0x49bf08=>this[_0xb2f1e5(0x1fb)][_0xb2f1e5(0x1e9)](_0x537e83=>_0x537e83[_0xb2f1e5(0x1d2)])[_0xb2f1e5(0x1f3)](_0x49bf08[_0xb2f1e5(0x203)])},'actions':{'focusPrevious':_0xb2f1e5(0x207),'focusNext':_0xb2f1e5(0x1f9)}}),this[_0xb2f1e5(0x1e6)]=new _0x17c8dc(_0x432d74),this[_0xb2f1e5(0x1e6)][_0xb2f1e5(0x221)](_0xb2f1e5(0x1fc))['to'](this,_0xb2f1e5(0x201),_0x555d75=>_0x555d75-this[_0xb2f1e5(0x1d9)][_0xb2f1e5(0x225)]);for(const _0x47c2d9 of _0x139bcd[_0xb2f1e5(0x21e)])this[_0xb2f1e5(0x1ec)](_0x47c2d9);this[_0xb2f1e5(0x20e)](),this[_0xb2f1e5(0x1f5)](_0x139bcd[_0xb2f1e5(0x21e)],_0xb2f1e5(0x1cf),(_0x47b859,_0x1b47fa)=>{const _0x2a6c13=_0xb2f1e5,_0x213d84=this[_0x2a6c13(0x1ea)](_0x1b47fa);this[_0x2a6c13(0x201)]++,this[_0x2a6c13(0x1ec)](_0x1b47fa,_0x213d84),this[_0x2a6c13(0x223)]();}),this[_0xb2f1e5(0x1f5)](_0x139bcd[_0xb2f1e5(0x21e)],_0xb2f1e5(0x20a),(_0x12f667,_0x5c5df3)=>{const _0x5639b8=_0xb2f1e5;this[_0x5639b8(0x201)]--,this[_0x5639b8(0x1df)](_0x5c5df3),this[_0x5639b8(0x223)]();}),this[_0xb2f1e5(0x1f5)](_0x139bcd,_0xb2f1e5(0x21f),()=>this[_0xb2f1e5(0x223)]()),this[_0xb2f1e5(0x1f5)](_0x139bcd,_0xb2f1e5(0x1ca),()=>this[_0xb2f1e5(0x20e)]()),this['on'](_0xb2f1e5(0x215),()=>this[_0xb2f1e5(0x223)]()),this['on'](_0xb2f1e5(0x1ef),()=>this[_0xb2f1e5(0x223)]()),this[_0xb2f1e5(0x1dc)]({'tag':'ul','attributes':{'class':[_0xb2f1e5(0x1f8),_0x5418c9['if'](_0xb2f1e5(0x201),_0xb2f1e5(0x1e8),_0x4dc51b=>!_0x4dc51b)],'aria-label':_0x2a43ee(_0x432d74,_0xb2f1e5(0x1ce))},'children':this[_0xb2f1e5(0x218)]});}get[_0x260ae(0x21b)](){const _0x5bcdb3=_0x260ae;return this[_0x5bcdb3(0x20f)][_0x5bcdb3(0x1d8)]>this[_0x5bcdb3(0x1d9)][_0x5bcdb3(0x1cb)]&&!this[_0x5bcdb3(0x213)]&&!this[_0x5bcdb3(0x1f1)];}[_0x260ae(0x222)](){const _0x4b38df=_0x260ae;super[_0x4b38df(0x222)](),this[_0x4b38df(0x223)](),this[_0x4b38df(0x1cc)]();}[_0x260ae(0x220)](_0x1e0b3d){const _0x3f1093=_0x260ae;-0x1===_0x1e0b3d?this[_0x3f1093(0x1da)][_0x3f1093(0x1e0)]():this[_0x3f1093(0x1da)][_0x3f1093(0x1e4)]();}[_0x260ae(0x204)](){const _0x56ab6f=_0x260ae;this[_0x56ab6f(0x1e6)][_0x56ab6f(0x204)]();for(const _0xc5bef9 of this[_0x56ab6f(0x1fb)])_0xc5bef9[_0x56ab6f(0x204)]();super[_0x56ab6f(0x204)]();}[_0x260ae(0x223)](){const _0x3cd574=_0x260ae;this[_0x3cd574(0x21b)]?this[_0x3cd574(0x1db)]():this[_0x3cd574(0x1f0)]();}[_0x260ae(0x1ec)](_0x3a48a7,_0x1bee6b){const _0x386701=_0x260ae,_0x1aca6e=new this[(_0x386701(0x1d9))][(_0x386701(0x1f4))](this[_0x386701(0x1e5)],_0x3a48a7,{'maxCommentCharsWhenCollapsed':this[_0x386701(0x1d9)][_0x386701(0x1d5)],'formatDateTime':this[_0x386701(0x1d9)][_0x386701(0x1ed)],'editorConfig':this[_0x386701(0x1d9)][_0x386701(0x216)]});_0x1aca6e[_0x386701(0x200)]=_0x3a48a7['id'],_0x1aca6e[_0x386701(0x229)](_0x386701(0x208))['to'](this),_0x1aca6e[_0x386701(0x229)](_0x386701(0x1f2))['to'](this),_0x1aca6e[_0x386701(0x229)](_0x386701(0x1e2))['to'](this),_0x1aca6e[_0x386701(0x229)](_0x386701(0x219))['to'](this),_0x1aca6e[_0x386701(0x229)](_0x386701(0x1d1))['to'](this),this[_0x386701(0x1f5)](_0x1aca6e,_0x386701(0x1f6),()=>this[_0x386701(0x21a)]()),this[_0x386701(0x1fb)][_0x386701(0x1cf)](_0x1aca6e,_0x1bee6b);}[_0x260ae(0x1ea)](_0x491e82){const _0x25f559=_0x260ae,_0xa687ed=this[_0x25f559(0x20f)][_0x25f559(0x1d3)](_0x491e82);return this[_0x25f559(0x1de)]?this[_0x25f559(0x1de)][_0x25f559(0x22b)]>_0x491e82[_0x25f559(0x22b)]?_0xa687ed-0x1:_0xa687ed:_0xa687ed-0x1;}[_0x260ae(0x20e)](){const _0x5bce55=_0x260ae;if(this[_0x5bce55(0x20f)][_0x5bce55(0x226)]&&this[_0x5bce55(0x20f)][_0x5bce55(0x1d4)]){const _0x5c39d0={'id':_0x5bce55(0x1fd),'author':this[_0x5bce55(0x20f)][_0x5bce55(0x226)],'authoredAt':this[_0x5bce55(0x20f)][_0x5bce55(0x1d4)],'content':_0x2a43ee(this[_0x5bce55(0x1e5)],_0x5bce55(0x227)),'attributes':{}};this[_0x5bce55(0x1de)]=new this[(_0x5bce55(0x1d9))][(_0x5bce55(0x1f4))](this[_0x5bce55(0x1e5)],_0x5c39d0,{'maxCommentCharsWhenCollapsed':this[_0x5bce55(0x1d9)][_0x5bce55(0x1d5)],'formatDateTime':this[_0x5bce55(0x1d9)][_0x5bce55(0x1ed)],'editorConfig':this[_0x5bce55(0x1d9)][_0x5bce55(0x216)],'isSystemComment':!0x0}),this[_0x5bce55(0x1fb)][_0x5bce55(0x1cf)](this[_0x5bce55(0x1de)],this[_0x5bce55(0x20f)][_0x5bce55(0x1d3)](_0x5c39d0));}else this[_0x5bce55(0x1de)]&&(this[_0x5bce55(0x1fb)][_0x5bce55(0x20a)](this[_0x5bce55(0x1de)]),this[_0x5bce55(0x1de)][_0x5bce55(0x204)](),this[_0x5bce55(0x1de)]=null);this[_0x5bce55(0x223)]();}[_0x260ae(0x1df)](_0x21d3e7){const _0x2fa684=_0x260ae,_0x44f836=this[_0x2fa684(0x1fb)][_0x2fa684(0x20a)](_0x21d3e7['id']);this[_0x2fa684(0x202)](_0x44f836),_0x44f836[_0x2fa684(0x21c)]&&this[_0x2fa684(0x21a)](),_0x44f836[_0x2fa684(0x204)]();}[_0x260ae(0x21a)](){const _0x18bd59=_0x260ae;this[_0x18bd59(0x1f1)]=Array[_0x18bd59(0x1c9)](this[_0x18bd59(0x1fb)])[_0x18bd59(0x20d)](_0x5ad780=>_0x5ad780[_0x18bd59(0x21c)]);}[_0x260ae(0x1db)](){const _0x1be2db=_0x260ae,_0x11d800=function(_0x4ab9d6){const _0x1fac8a=_0x23d9,_0x4210b7=new _0x4e9465();for(const _0x14e7f8 of _0x4ab9d6)_0x4210b7[_0x1fac8a(0x1cf)](_0x14e7f8);return _0x4210b7;}(this[_0x1be2db(0x1fb)]),_0xdadb7a=this[_0x1be2db(0x1e6)][_0x1be2db(0x1fc)];for(let _0x122086=0x1;_0x122086<=_0xdadb7a;_0x122086++)_0x11d800[_0x1be2db(0x20a)](0x1);for(const _0x31ccca of _0x11d800)_0x31ccca[_0x1be2db(0x1f7)]();_0xdadb7a>0x0&&_0x11d800[_0x1be2db(0x1cf)](this[_0x1be2db(0x1e6)],0x1),ms(_0xf516a1(Array[_0x1be2db(0x1c9)](this[_0x1be2db(0x218)]),Array[_0x1be2db(0x1c9)](_0x11d800)),this[_0x1be2db(0x218)],_0x11d800);}[_0x260ae(0x1f0)](){const _0x3ee51a=_0x260ae;ms(_0xf516a1(Array[_0x3ee51a(0x1c9)](this[_0x3ee51a(0x218)]),Array[_0x3ee51a(0x1c9)](this[_0x3ee51a(0x1fb)])),this[_0x3ee51a(0x218)],this[_0x3ee51a(0x1fb)]);for(const _0x267306 of this[_0x3ee51a(0x218)])_0x267306[_0x3ee51a(0x20b)]();}[_0x260ae(0x1cc)](){const _0x5079b9=_0x260ae;this[_0x5079b9(0x1fb)][_0x5079b9(0x1fe)](_0x25eecf=>{const _0x3bbad9=_0x5079b9;this[_0x3bbad9(0x1e3)][_0x3bbad9(0x1cf)](_0x25eecf[_0x3bbad9(0x1d2)]),this[_0x3bbad9(0x22a)][_0x3bbad9(0x1f5)](_0x25eecf[_0x3bbad9(0x1d2)]);}),this[_0x5079b9(0x1fb)]['on'](_0x5079b9(0x1d0),(_0x45a9d6,_0x25e3ad)=>{const _0x314716=_0x5079b9;for(const _0x5c66d5 of _0x25e3ad[_0x314716(0x210)])this[_0x314716(0x1e3)][_0x314716(0x20a)](_0x5c66d5[_0x314716(0x1d2)]),this[_0x314716(0x22a)][_0x314716(0x202)](_0x5c66d5[_0x314716(0x1d2)]);for(const _0xffee42 of Array[_0x314716(0x1c9)](_0x25e3ad[_0x314716(0x217)])[_0x314716(0x1fa)]())this[_0x314716(0x1e3)][_0x314716(0x1cf)](_0xffee42[_0x314716(0x1d2)]),this[_0x314716(0x22a)][_0x314716(0x1f5)](_0xffee42[_0x314716(0x1d2)]);});}}function ms(_0x417197,_0x3329dc,_0x2f5e10){const _0x25d627=_0x260ae;let _0x2b7b8e=0x0;for(const _0x5ef6d0 of _0x417197)switch(_0x5ef6d0){case _0x25d627(0x1eb):_0x3329dc[_0x25d627(0x1cf)](_0x2f5e10[_0x25d627(0x21d)](_0x2b7b8e),_0x2b7b8e),_0x2b7b8e++;break;case _0x25d627(0x212):_0x3329dc[_0x25d627(0x20a)](_0x2b7b8e);break;case _0x25d627(0x1e1):_0x2b7b8e++;}}
|
|
23
|
+
const _0x3a65be=_0x3445;(function(_0x15fd5e,_0x11b50c){const _0x672bae=_0x3445,_0x45c3e4=_0x15fd5e();while(!![]){try{const _0x4672ad=parseInt(_0x672bae(0xec))/0x1+-parseInt(_0x672bae(0xf3))/0x2*(-parseInt(_0x672bae(0x102))/0x3)+parseInt(_0x672bae(0xe9))/0x4+parseInt(_0x672bae(0xf6))/0x5*(-parseInt(_0x672bae(0xab))/0x6)+-parseInt(_0x672bae(0xd3))/0x7+-parseInt(_0x672bae(0xac))/0x8+parseInt(_0x672bae(0xc6))/0x9*(-parseInt(_0x672bae(0xf1))/0xa);if(_0x4672ad===_0x11b50c)break;else _0x45c3e4['push'](_0x45c3e4['shift']());}catch(_0x396cb7){_0x45c3e4['push'](_0x45c3e4['shift']());}}}(_0x5052,0x9abe4));function _0x3445(_0x480883,_0xefdb00){const _0x5052bc=_0x5052();return _0x3445=function(_0x344522,_0xbaf360){_0x344522=_0x344522-0xa9;let _0x3f552b=_0x5052bc[_0x344522];return _0x3f552b;},_0x3445(_0x480883,_0xefdb00);}import{View as _0x5681f0,FocusCycler as _0x4497ed}from'ckeditor5/src/ui.js';import{diff as _0x10771c,Collection as _0x305846,FocusTracker as _0x371496,KeystrokeHandler as _0x3c4812}from'ckeditor5/src/utils.js';import{getTranslation as _0x283cbc}from'../../../utils/common-translations.js';import _0x41be28 from'./collapsedcommentsview.js';function _0x5052(){const _0x2cfc13=['change:isActive','Marked\x20as\x20resolved','_handleInfoComment','maxCommentsWhenCollapsed','isActive','weight','change:hasDirtyComment','ck-hidden','resolvedAt','createCollection','added','editorDestroyed','focusTracker','focusCycler','_config','_calculatePosition','change','removeComment','expand','_model','focusFirst','11277cszDDF','hasDirtyComment','editorConfig','ck-thread__comments','get','remove','length','arrowdown','setTemplate','delete','equal','bind','collapse','646954iBslyG','from','editorReady','delegate','resolvedCommentView','change:isEditMode','visibleViews','locale','forEach','resolvedBy','_collapsedCommentsView','focusLast','arrowup','keystrokes','add','formatDateTime','authoredAt','_rearrangeExpand','render','listenTo','_setupKeyboardNavigation','commentViews','4663764OTTwnC','_handleRemoveCommentModel','maxThreadTotalWeight','784298mwqlOe','refreshVisibleViews','target','updateComment','maxCommentCharsWhenCollapsed','4470CuOLvQ','count','554530GvSQMi','_shouldCollapse','viewUid','4010IRYZyn','resolved','change:isResolved','resolveCommentThread','removed','CommentView','focus','set','stopListening','element','destroy','includes','3ednmHL','some','map','commentUpdated','insert','reverse','isEditMode','_updateHasDirtyComment','_findOptimalIndex','_rearrangeCollapse','6426dTKUtb','657768HEobKQ','bindTemplate','Thread\x20comments','_handleNewCommentModel','comments'];_0x5052=function(){return _0x2cfc13;};return _0x5052();}export default class kt extends _0x5681f0{constructor(_0x1765e2,_0x5ef53b,_0x24f686){const _0x6d6deb=_0x3445;super(_0x1765e2);const _0x4f9f52=this[_0x6d6deb(0xad)];this[_0x6d6deb(0xfd)](_0x6d6deb(0xc7),!0x1),this[_0x6d6deb(0xfd)](_0x6d6deb(0xcc),_0x5ef53b[_0x6d6deb(0xb0)][_0x6d6deb(0xcc)]),this[_0x6d6deb(0xfd)](_0x6d6deb(0xb5),!0x1),this[_0x6d6deb(0xc4)]=_0x5ef53b,this[_0x6d6deb(0xbf)]=_0x24f686,this[_0x6d6deb(0xe8)]=this[_0x6d6deb(0xba)](),this[_0x6d6deb(0xd9)]=this[_0x6d6deb(0xba)](),this[_0x6d6deb(0xd7)]=null,this[_0x6d6deb(0xbd)]=new _0x371496(),this[_0x6d6deb(0xe0)]=new _0x3c4812(),this[_0x6d6deb(0xbe)]=new _0x4497ed({'focusables':this[_0x6d6deb(0xe8)],'focusTracker':this[_0x6d6deb(0xbd)],'keystrokeHandler':this[_0x6d6deb(0xe0)],'keystrokeHandlerOptions':{'filter':_0x1309e1=>this[_0x6d6deb(0xe8)][_0x6d6deb(0x104)](_0x16f72d=>_0x16f72d[_0x6d6deb(0xff)])[_0x6d6deb(0x101)](_0x1309e1[_0x6d6deb(0xee)])},'actions':{'focusPrevious':_0x6d6deb(0xdf),'focusNext':_0x6d6deb(0xcd)}}),this[_0x6d6deb(0xdd)]=new _0x41be28(_0x1765e2),this[_0x6d6deb(0xdd)][_0x6d6deb(0xd1)](_0x6d6deb(0xf2))['to'](this,_0x6d6deb(0xcc),_0x34ee39=>_0x34ee39-this[_0x6d6deb(0xbf)][_0x6d6deb(0xb4)]);for(const _0x21d0a6 of _0x5ef53b[_0x6d6deb(0xb0)])this[_0x6d6deb(0xaf)](_0x21d0a6);this[_0x6d6deb(0xb3)](),this[_0x6d6deb(0xe6)](_0x5ef53b[_0x6d6deb(0xb0)],_0x6d6deb(0xe1),(_0x550df1,_0x574c94)=>{const _0x4d1fed=_0x6d6deb,_0x21f036=this[_0x4d1fed(0xc0)](_0x574c94);this[_0x4d1fed(0xcc)]++,this[_0x4d1fed(0xaf)](_0x574c94,_0x21f036),this[_0x4d1fed(0xed)]();}),this[_0x6d6deb(0xe6)](_0x5ef53b[_0x6d6deb(0xb0)],_0x6d6deb(0xcb),(_0xeee708,_0x1bb8dd)=>{const _0x2e848d=_0x6d6deb;this[_0x2e848d(0xcc)]--,this[_0x2e848d(0xea)](_0x1bb8dd),this[_0x2e848d(0xed)]();}),this[_0x6d6deb(0xe6)](_0x5ef53b,_0x6d6deb(0x105),()=>this[_0x6d6deb(0xed)]()),this[_0x6d6deb(0xe6)](_0x5ef53b,_0x6d6deb(0xf8),()=>this[_0x6d6deb(0xb3)]()),this['on'](_0x6d6deb(0xb1),()=>this[_0x6d6deb(0xed)]()),this['on'](_0x6d6deb(0xb7),()=>this[_0x6d6deb(0xed)]()),this[_0x6d6deb(0xce)]({'tag':'ul','attributes':{'class':[_0x6d6deb(0xc9),_0x4f9f52['if'](_0x6d6deb(0xcc),_0x6d6deb(0xb8),_0x3ca9be=>!_0x3ca9be)],'aria-label':_0x283cbc(_0x1765e2,_0x6d6deb(0xae))},'children':this[_0x6d6deb(0xd9)]});}get[_0x3a65be(0xf4)](){const _0x4bf71e=_0x3a65be;return this[_0x4bf71e(0xc4)][_0x4bf71e(0xb6)]>this[_0x4bf71e(0xbf)][_0x4bf71e(0xeb)]&&!this[_0x4bf71e(0xb5)]&&!this[_0x4bf71e(0xc7)];}[_0x3a65be(0xe5)](){const _0x63a0a1=_0x3a65be;super[_0x63a0a1(0xe5)](),this[_0x63a0a1(0xed)](),this[_0x63a0a1(0xe7)]();}[_0x3a65be(0xfc)](_0x2ae345){const _0x36f7e1=_0x3a65be;-0x1===_0x2ae345?this[_0x36f7e1(0xbe)][_0x36f7e1(0xde)]():this[_0x36f7e1(0xbe)][_0x36f7e1(0xc5)]();}[_0x3a65be(0x100)](){const _0x3d17f8=_0x3a65be;this[_0x3d17f8(0xdd)][_0x3d17f8(0x100)]();for(const _0x46d77b of this[_0x3d17f8(0xe8)])_0x46d77b[_0x3d17f8(0x100)]();super[_0x3d17f8(0x100)]();}[_0x3a65be(0xed)](){const _0x17b3c8=_0x3a65be;this[_0x17b3c8(0xf4)]?this[_0x17b3c8(0xaa)]():this[_0x17b3c8(0xe4)]();}[_0x3a65be(0xaf)](_0x37df7c,_0x1511a8){const _0x241e5a=_0x3a65be,_0x10b799=new this[(_0x241e5a(0xbf))][(_0x241e5a(0xfb))](this[_0x241e5a(0xda)],_0x37df7c,{'maxCommentCharsWhenCollapsed':this[_0x241e5a(0xbf)][_0x241e5a(0xf0)],'formatDateTime':this[_0x241e5a(0xbf)][_0x241e5a(0xe2)],'editorConfig':this[_0x241e5a(0xbf)][_0x241e5a(0xc8)]});_0x10b799[_0x241e5a(0xf5)]=_0x37df7c['id'],_0x10b799[_0x241e5a(0xd6)](_0x241e5a(0xc2))['to'](this),_0x10b799[_0x241e5a(0xd6)](_0x241e5a(0xef))['to'](this),_0x10b799[_0x241e5a(0xd6)](_0x241e5a(0xf9))['to'](this),_0x10b799[_0x241e5a(0xd6)](_0x241e5a(0xd5))['to'](this),_0x10b799[_0x241e5a(0xd6)](_0x241e5a(0xbc))['to'](this),this[_0x241e5a(0xe6)](_0x10b799,_0x241e5a(0xd8),()=>this[_0x241e5a(0x109)]()),this[_0x241e5a(0xe8)][_0x241e5a(0xe1)](_0x10b799,_0x1511a8);}[_0x3a65be(0xc0)](_0x404d9f){const _0x3333bd=_0x3a65be,_0x173aa0=this[_0x3333bd(0xc4)][_0x3333bd(0xa9)](_0x404d9f);return this[_0x3333bd(0xd7)]?this[_0x3333bd(0xd7)][_0x3333bd(0xe3)]>_0x404d9f[_0x3333bd(0xe3)]?_0x173aa0-0x1:_0x173aa0:_0x173aa0-0x1;}[_0x3a65be(0xb3)](){const _0x2819dd=_0x3a65be;if(this[_0x2819dd(0xc4)][_0x2819dd(0xdc)]&&this[_0x2819dd(0xc4)][_0x2819dd(0xb9)]){const _0x8b51c7={'id':_0x2819dd(0xf7),'author':this[_0x2819dd(0xc4)][_0x2819dd(0xdc)],'authoredAt':this[_0x2819dd(0xc4)][_0x2819dd(0xb9)],'content':_0x283cbc(this[_0x2819dd(0xda)],_0x2819dd(0xb2)),'attributes':{}};this[_0x2819dd(0xd7)]=new this[(_0x2819dd(0xbf))][(_0x2819dd(0xfb))](this[_0x2819dd(0xda)],_0x8b51c7,{'maxCommentCharsWhenCollapsed':this[_0x2819dd(0xbf)][_0x2819dd(0xf0)],'formatDateTime':this[_0x2819dd(0xbf)][_0x2819dd(0xe2)],'editorConfig':this[_0x2819dd(0xbf)][_0x2819dd(0xc8)],'isSystemComment':!0x0}),this[_0x2819dd(0xe8)][_0x2819dd(0xe1)](this[_0x2819dd(0xd7)],this[_0x2819dd(0xc4)][_0x2819dd(0xa9)](_0x8b51c7));}else this[_0x2819dd(0xd7)]&&(this[_0x2819dd(0xe8)][_0x2819dd(0xcb)](this[_0x2819dd(0xd7)]),this[_0x2819dd(0xd7)][_0x2819dd(0x100)](),this[_0x2819dd(0xd7)]=null);this[_0x2819dd(0xed)]();}[_0x3a65be(0xea)](_0x22e957){const _0x2a48fd=_0x3a65be,_0x11717c=this[_0x2a48fd(0xe8)][_0x2a48fd(0xcb)](_0x22e957['id']);this[_0x2a48fd(0xfe)](_0x11717c),_0x11717c[_0x2a48fd(0x108)]&&this[_0x2a48fd(0x109)](),_0x11717c[_0x2a48fd(0x100)]();}[_0x3a65be(0x109)](){const _0x5548eb=_0x3a65be;this[_0x5548eb(0xc7)]=Array[_0x5548eb(0xd4)](this[_0x5548eb(0xe8)])[_0x5548eb(0x103)](_0x47e249=>_0x47e249[_0x5548eb(0x108)]);}[_0x3a65be(0xaa)](){const _0x49dc49=_0x3a65be,_0x273d22=function(_0x24f760){const _0x2a22e9=_0x3445,_0x56c420=new _0x305846();for(const _0x96bfe5 of _0x24f760)_0x56c420[_0x2a22e9(0xe1)](_0x96bfe5);return _0x56c420;}(this[_0x49dc49(0xe8)]),_0x58f2b6=this[_0x49dc49(0xdd)][_0x49dc49(0xf2)];for(let _0x299fd5=0x1;_0x299fd5<=_0x58f2b6;_0x299fd5++)_0x273d22[_0x49dc49(0xcb)](0x1);for(const _0x43ba2d of _0x273d22)_0x43ba2d[_0x49dc49(0xd2)]();_0x58f2b6>0x0&&_0x273d22[_0x49dc49(0xe1)](this[_0x49dc49(0xdd)],0x1),ms(_0x10771c(Array[_0x49dc49(0xd4)](this[_0x49dc49(0xd9)]),Array[_0x49dc49(0xd4)](_0x273d22)),this[_0x49dc49(0xd9)],_0x273d22);}[_0x3a65be(0xe4)](){const _0x32946c=_0x3a65be;ms(_0x10771c(Array[_0x32946c(0xd4)](this[_0x32946c(0xd9)]),Array[_0x32946c(0xd4)](this[_0x32946c(0xe8)])),this[_0x32946c(0xd9)],this[_0x32946c(0xe8)]);for(const _0xcd3801 of this[_0x32946c(0xd9)])_0xcd3801[_0x32946c(0xc3)]();}[_0x3a65be(0xe7)](){const _0x4fa8c2=_0x3a65be;this[_0x4fa8c2(0xe8)][_0x4fa8c2(0xdb)](_0x3f6aa2=>{const _0x8f13a=_0x4fa8c2;this[_0x8f13a(0xbd)][_0x8f13a(0xe1)](_0x3f6aa2[_0x8f13a(0xff)]),this[_0x8f13a(0xe0)][_0x8f13a(0xe6)](_0x3f6aa2[_0x8f13a(0xff)]);}),this[_0x4fa8c2(0xe8)]['on'](_0x4fa8c2(0xc1),(_0x191568,_0x315258)=>{const _0x574634=_0x4fa8c2;for(const _0x14bea1 of _0x315258[_0x574634(0xfa)])this[_0x574634(0xbd)][_0x574634(0xcb)](_0x14bea1[_0x574634(0xff)]),this[_0x574634(0xe0)][_0x574634(0xfe)](_0x14bea1[_0x574634(0xff)]);for(const _0x3611af of Array[_0x574634(0xd4)](_0x315258[_0x574634(0xbb)])[_0x574634(0x107)]())this[_0x574634(0xbd)][_0x574634(0xe1)](_0x3611af[_0x574634(0xff)]),this[_0x574634(0xe0)][_0x574634(0xe6)](_0x3611af[_0x574634(0xff)]);});}}function ms(_0x5622f0,_0x238ad5,_0x18a630){const _0x25a548=_0x3a65be;let _0x3acf7a=0x0;for(const _0x85803c of _0x5622f0)switch(_0x85803c){case _0x25a548(0x106):_0x238ad5[_0x25a548(0xe1)](_0x18a630[_0x25a548(0xca)](_0x3acf7a),_0x3acf7a),_0x3acf7a++;break;case _0x25a548(0xcf):_0x238ad5[_0x25a548(0xcb)](_0x3acf7a);break;case _0x25a548(0xd0):_0x3acf7a++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x39d2(_0x4fe54a,_0x5a658b){const _0x2593a6=_0x2593();return _0x39d2=function(_0x39d285,_0x55403e){_0x39d285=_0x39d285-0x124;let _0x56927d=_0x2593a6[_0x39d285];return _0x56927d;},_0x39d2(_0x4fe54a,_0x5a658b);}const _0x16762f=_0x39d2;(function(_0x24bfe4,_0x4cafec){const _0x21589e=_0x39d2,_0x3c28ec=_0x24bfe4();while(!![]){try{const _0x1395a0=-parseInt(_0x21589e(0x12c))/0x1+-parseInt(_0x21589e(0x126))/0x2+parseInt(_0x21589e(0x124))/0x3+parseInt(_0x21589e(0x12e))/0x4+parseInt(_0x21589e(0x129))/0x5*(-parseInt(_0x21589e(0x125))/0x6)+-parseInt(_0x21589e(0x132))/0x7+parseInt(_0x21589e(0x12b))/0x8;if(_0x1395a0===_0x4cafec)break;else _0x3c28ec['push'](_0x3c28ec['shift']());}catch(_0x45973b){_0x3c28ec['push'](_0x3c28ec['shift']());}}}(_0x2593,0x9548e));import{View as _0x4c8341}from'ckeditor5/src/ui.js';function _0x2593(){const _0x389e78=['10OGCJIx','ck-context__value','12385360NdQvYv','342671VqKpou','contextValue','3887368foZLMq','bindTemplate','THREAD_CONTEXT_LABEL','set','5913593DVhjiz','element','focus','3555567RsMXge','3002526hYRzBJ','1810838wtxKWs','setTemplate','span'];_0x2593=function(){return _0x389e78;};return _0x2593();}import{getTranslation as _0x465776}from'../../../utils/common-translations.js';export default class ls extends _0x4c8341{constructor(_0x4588d5){const _0x6b7596=_0x39d2;super(_0x4588d5);const _0xa09c32=this[_0x6b7596(0x12f)];this[_0x6b7596(0x131)](_0x6b7596(0x12d),''),this[_0x6b7596(0x127)]({'tag':_0x6b7596(0x128),'attributes':{'class':['ck',_0x6b7596(0x12a)],'aria-label':_0xa09c32['to'](_0x6b7596(0x12d),_0x594391=>_0x465776(_0x4588d5,_0x6b7596(0x130),_0x594391)),'tabindex':-0x1},'children':[{'text':_0xa09c32['to'](_0x6b7596(0x12d))}]});}[_0x16762f(0x134)](){const _0x43f925=_0x16762f;this[_0x43f925(0x133)][_0x43f925(0x134)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x296715=_0x28b0;(function(_0x1055ef,_0xcbf5bb){const _0x20642d=_0x28b0,_0x2147e1=_0x1055ef();while(!![]){try{const _0x3ffe2c=parseInt(_0x20642d(0xa6))/0x1*(-parseInt(_0x20642d(0x98))/0x2)+parseInt(_0x20642d(0x83))/0x3*(-parseInt(_0x20642d(0xab))/0x4)+parseInt(_0x20642d(0x8c))/0x5+-parseInt(_0x20642d(0x97))/0x6+-parseInt(_0x20642d(0xb4))/0x7*(parseInt(_0x20642d(0x79))/0x8)+-parseInt(_0x20642d(0x7b))/0x9+parseInt(_0x20642d(0xa8))/0xa;if(_0x3ffe2c===_0xcbf5bb)break;else _0x2147e1['push'](_0x2147e1['shift']());}catch(_0x3fe815){_0x2147e1['push'](_0x2147e1['shift']());}}}(_0x24de,0xe62b8));import{View as _0x210f5a,ButtonView as _0x57acb3,FocusCycler as _0x187e66}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4ba37c,KeystrokeHandler as _0x3d0d9f}from'ckeditor5/src/utils.js';function _0x28b0(_0x5144e0,_0x4ee434){const _0x24dec4=_0x24de();return _0x28b0=function(_0x28b0ce,_0x2c58af){_0x28b0ce=_0x28b0ce-0x6d;let _0x2bf4ca=_0x24dec4[_0x28b0ce];return _0x2bf4ca;},_0x28b0(_0x5144e0,_0x4ee434);}function _0x24de(){const _0x5de77d=['div','.ck-context','fire','mouseleave','_model','1579640iUDiVa','lastIndexOf','57120320NZfgVI','value','label','44PENgrO','ck-thread__header','bindTemplate','shift+tab','_setupKeyboardNavigation','tab','tooltip','ck-context--quotes','reopenCommentThread','9630901GWwgDd','isResolved','isResolvable','bind','focusables','ck-context','focus','createCollection','element','scrollWidth','ck-annotation__actions','substring','focusCycler','8DQQwVS','focusTracker','16599654zVgLFs','overlay','remove','length','_trimContextValue','querySelector','Reopen','Comment\x20was\x20made\x20on\x20an\x20element','77250ixeGnC','icon','_createContextView','add','isVisible','isEnabled','contextView','context','_attachContextActions','8078920RXOFUB','contextValue','setTemplate','listenTo','render','offsetWidth','ck-context-wrapper','_createReopenButton','isReadOnly','focusFirst','keystrokes','7811406TUwIwU','2vWYzIL','reopenButtonView','.ck-context__value','locale','mouseenter','classList','hasContext','...','execute'];_0x24de=function(){return _0x5de77d;};return _0x24de();}import{getTranslation as _0x12c6d5}from'../../../utils/common-translations.js';import _0x287483 from'../../../../theme/icons/undo.svg';import _0x104afb from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export default class ts extends _0x210f5a{constructor(_0x563ace,_0x47eb32){const _0xadb74d=_0x28b0;super(_0x563ace);const _0x5bbfdc=this[_0xadb74d(0xad)];this[_0xadb74d(0xa5)]=_0x47eb32,this[_0xadb74d(0x99)]=this[_0xadb74d(0x93)](),this[_0xadb74d(0x89)]=this[_0xadb74d(0x85)](),this[_0xadb74d(0x70)]=this[_0xadb74d(0x73)]([this[_0xadb74d(0x89)],this[_0xadb74d(0x99)]]),this[_0xadb74d(0x7a)]=new _0x4ba37c(),this[_0xadb74d(0x96)]=new _0x3d0d9f(),this[_0xadb74d(0x78)]=new _0x187e66({'focusables':this[_0xadb74d(0x70)],'focusTracker':this[_0xadb74d(0x7a)],'keystrokeHandler':this[_0xadb74d(0x96)],'actions':{'focusPrevious':_0xadb74d(0xae),'focusNext':_0xadb74d(0xb0)}}),this[_0xadb74d(0x6f)](_0xadb74d(0x9e))['to'](this[_0xadb74d(0xa5)],_0xadb74d(0x8a),_0x1e6d44=>!!_0x1e6d44),this[_0xadb74d(0x6f)](_0xadb74d(0x8d))['to'](this[_0xadb74d(0xa5)],_0xadb74d(0x8a),_0x2caf35=>_0x2caf35&&_0x2caf35[_0xadb74d(0xa9)]?this[_0xadb74d(0x7f)](_0x2caf35[_0xadb74d(0xa9)]):_0x12c6d5(this[_0xadb74d(0x9b)],_0xadb74d(0x82))),this[_0xadb74d(0x8e)]({'tag':_0xadb74d(0xa1),'attributes':{'class':[_0xadb74d(0xac)]},'children':[{'tag':_0xadb74d(0xa1),'attributes':{'class':[_0xadb74d(0x92)]},'children':[{'tag':_0xadb74d(0xa1),'attributes':{'class':[_0xadb74d(0x71),_0x5bbfdc['if'](_0xadb74d(0x9e),_0xadb74d(0xb2))]},'children':[this[_0xadb74d(0x89)]]}]},{'tag':_0xadb74d(0xa1),'attributes':{'class':[_0xadb74d(0x76)]},'children':[this[_0xadb74d(0x99)]]}]});}[_0x296715(0x90)](){const _0x39f66f=_0x296715;super[_0x39f66f(0x90)](),this[_0x39f66f(0x8b)](),this[_0x39f66f(0xaf)]();}[_0x296715(0x72)](){const _0x4de1c6=_0x296715;this[_0x4de1c6(0x78)][_0x4de1c6(0x95)]();}[_0x296715(0x93)](){const _0x254904=_0x296715,_0x388a61=new _0x57acb3(this[_0x254904(0x9b)]);return _0x388a61[_0x254904(0xaa)]=_0x12c6d5(this[_0x254904(0x9b)],_0x254904(0x81)),_0x388a61[_0x254904(0xb1)]=_0x12c6d5(this[_0x254904(0x9b)],_0x254904(0x81)),_0x388a61[_0x254904(0x84)]=_0x287483,_0x388a61[_0x254904(0x6f)](_0x254904(0x88))['to'](this[_0x254904(0xa5)],_0x254904(0x94),_0x58ce51=>!_0x58ce51),_0x388a61[_0x254904(0x6f)](_0x254904(0x87))['to'](this[_0x254904(0xa5)],_0x254904(0x6e),this[_0x254904(0xa5)],_0x254904(0x6d),(_0x3c6f78,_0x436d35)=>_0x3c6f78&&_0x436d35),_0x388a61['on'](_0x254904(0xa0),()=>{const _0x2e796f=_0x254904;this[_0x2e796f(0xa3)](_0x2e796f(0xb3),this[_0x2e796f(0xa5)]['id']);}),_0x388a61;}[_0x296715(0x7f)](_0x130af3){const _0x2fa353=_0x296715;if(_0x130af3[_0x2fa353(0x7e)]<0x96)return _0x130af3;const _0x450dfe=_0x130af3[_0x2fa353(0xa7)]('\x20',0x93);return _0x130af3[_0x2fa353(0x77)](0x0,_0x450dfe>-0x1?_0x450dfe:0x93)+_0x2fa353(0x9f);}[_0x296715(0x8b)](){const _0x86a71e=_0x296715,_0x4ae0c5=this[_0x86a71e(0x74)][_0x86a71e(0x80)](_0x86a71e(0xa2)),_0x45b65a=_0x4ae0c5[_0x86a71e(0x80)](_0x86a71e(0x9a));this[_0x86a71e(0x8f)](_0x4ae0c5,_0x86a71e(0x9c),()=>{const _0x1e2d47=_0x86a71e;_0x45b65a[_0x1e2d47(0x91)]<_0x45b65a[_0x1e2d47(0x75)]&&_0x4ae0c5[_0x1e2d47(0x9d)][_0x1e2d47(0x86)](_0x1e2d47(0x7c));}),this[_0x86a71e(0x8f)](_0x4ae0c5,_0x86a71e(0xa4),()=>{const _0xe5238=_0x86a71e;_0x4ae0c5[_0xe5238(0x9d)][_0xe5238(0x7d)](_0xe5238(0x7c));});}[_0x296715(0xaf)](){const _0x20fcc1=_0x296715;this[_0x20fcc1(0x96)][_0x20fcc1(0x8f)](this[_0x20fcc1(0x74)]);for(const _0x24a318 of this[_0x20fcc1(0x70)])this[_0x20fcc1(0x7a)][_0x20fcc1(0x86)](_0x24a318[_0x20fcc1(0x74)]),this[_0x20fcc1(0x96)][_0x20fcc1(0x8f)](_0x24a318[_0x20fcc1(0x74)]);}[_0x296715(0x85)](){const _0x32a5b8=_0x296715,_0x81ff37=new _0x104afb(this[_0x32a5b8(0x9b)]);return _0x81ff37[_0x32a5b8(0x6f)](_0x32a5b8(0x8d))['to'](this),_0x81ff37;}}
|
|
@@ -41,6 +41,10 @@ export default class CommentThreadInputView extends View implements FocusableVie
|
|
|
41
41
|
* @param editorConfig
|
|
42
42
|
*/
|
|
43
43
|
constructor(locale: Locale, localUser: User, editorConfig: EditorConfig);
|
|
44
|
+
/**
|
|
45
|
+
* @inheritDoc
|
|
46
|
+
*/
|
|
47
|
+
render(): void;
|
|
44
48
|
/**
|
|
45
49
|
* @inheritDoc
|
|
46
50
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x57ca(){const _0x114ebe=['ck-comment__input-container--active','1168PSPMqE','filter','contains','focusTracker','22kFqqAD','some','commentInputView','set','editorDestroyed','showButtons','_focusOnNonInteractiveMouseDown','setTemplate','then','delegate','createEditor','render','element','72XpnbYJ','editing','editor','ck-comment__input-container','32788KrupSt','userView','editorReady','4Wrwavp','ck-thread__user','2085690wEFuvk','60JOJcxm','focus','view','815244HLVHzk','getDomRoot','ck-thread__input','extendTemplate','302895MAdCfP','target','change:showInput','bindTemplate','preventDefault','value','div','focusCycler','destroy','listenTo','657UPirDo','104ZKBQCN','26533rXkqXB','823626EWihgk','bind','4816YDMQyg','mousedown','showInput','isFocused'];_0x57ca=function(){return _0x114ebe;};return _0x57ca();}const _0x4451e9=_0x262d;(function(_0x5ed4b3,_0x345dc8){const _0x3c99c0=_0x262d,_0x36cab8=_0x5ed4b3();while(!![]){try{const _0x319515=parseInt(_0x3c99c0(0x139))/0x1*(parseInt(_0x3c99c0(0x143))/0x2)+parseInt(_0x3c99c0(0x15d))/0x3*(parseInt(_0x3c99c0(0x15b))/0x4)+-parseInt(_0x3c99c0(0x12f))/0x5*(-parseInt(_0x3c99c0(0x154))/0x6)+-parseInt(_0x3c99c0(0x158))/0x7*(-parseInt(_0x3c99c0(0x13a))/0x8)+parseInt(_0x3c99c0(0x13c))/0x9*(-parseInt(_0x3c99c0(0x15e))/0xa)+parseInt(_0x3c99c0(0x147))/0xb*(-parseInt(_0x3c99c0(0x12b))/0xc)+-parseInt(_0x3c99c0(0x13b))/0xd*(parseInt(_0x3c99c0(0x13e))/0xe);if(_0x319515===_0x345dc8)break;else _0x36cab8['push'](_0x36cab8['shift']());}catch(_0x536125){_0x36cab8['push'](_0x36cab8['shift']());}}}(_0x57ca,0x751d0));import{View as _0x4f3809}from'ckeditor5/src/ui.js';function _0x262d(_0x2d1891,_0x4539ac){const _0x57ca41=_0x57ca();return _0x262d=function(_0x262d77,_0x49213e){_0x262d77=_0x262d77-0x129;let _0x19a7a7=_0x57ca41[_0x262d77];return _0x19a7a7;},_0x262d(_0x2d1891,_0x4539ac);}import _0x38d0d6 from'./commentinputview.js';import{UserView as _0x352c3d}from'ckeditor5-collaboration/src/collaboration-core.js';export default class xt extends _0x4f3809{constructor(_0x4a75ec,_0x3a2f5e,_0x13c557){const _0x315045=_0x262d;super(_0x4a75ec),this[_0x315045(0x149)]=new _0x38d0d6(_0x4a75ec,_0x13c557),this[_0x315045(0x136)]=this[_0x315045(0x149)][_0x315045(0x136)],this[_0x315045(0x149)][_0x315045(0x13d)](_0x315045(0x14c))['to'](this[_0x315045(0x149)][_0x315045(0x146)],_0x315045(0x141),this[_0x315045(0x149)],_0x315045(0x134),(_0x4a9cfe,_0x4941fc)=>_0x4a9cfe||!!_0x4941fc),this[_0x315045(0x14a)](_0x315045(0x140),!0x1),this['on'](_0x315045(0x131),()=>{const _0x4b3be3=_0x315045;this[_0x4b3be3(0x140)]&&!this[_0x4b3be3(0x149)][_0x4b3be3(0x156)]&&this[_0x4b3be3(0x149)][_0x4b3be3(0x151)]();}),this[_0x315045(0x149)][_0x315045(0x150)](_0x315045(0x15a))['to'](this),this[_0x315045(0x149)][_0x315045(0x150)](_0x315045(0x14b))['to'](this),this[_0x315045(0x159)]=new _0x352c3d(_0x4a75ec,_0x3a2f5e),this[_0x315045(0x159)][_0x315045(0x12e)]({'attributes':{'class':_0x315045(0x15c),'aria-hidden':!0x0}}),this[_0x315045(0x149)][_0x315045(0x12e)]({'attributes':{'class':_0x315045(0x12d)}}),this[_0x315045(0x14e)]({'tag':_0x315045(0x135),'attributes':{'class':[_0x315045(0x157),this[_0x315045(0x132)]['if'](_0x315045(0x140),_0x315045(0x142))]},'children':[this[_0x315045(0x159)],this[_0x315045(0x149)]]});}[_0x4451e9(0x152)](){const _0x3da966=_0x4451e9;super[_0x3da966(0x152)](),this[_0x3da966(0x14d)]();}[_0x4451e9(0x137)](){const _0x3ee207=_0x4451e9;return this[_0x3ee207(0x149)][_0x3ee207(0x137)]()[_0x3ee207(0x14f)](()=>super[_0x3ee207(0x137)]());}[_0x4451e9(0x129)](_0xcd2c86){const _0x4fc8a1=_0x4451e9;this[_0x4fc8a1(0x149)][_0x4fc8a1(0x129)](_0xcd2c86);}[_0x4451e9(0x14d)](){const _0x10fc38=_0x4451e9;this[_0x10fc38(0x138)](this[_0x10fc38(0x153)],_0x10fc38(0x13f),(_0x53c968,_0xacc93a)=>{const _0x621558=_0x10fc38,{submitButtonView:_0x4252b5,cancelButtonView:_0x13f341,editor:_0x2174ba}=this[_0x621558(0x149)];[_0x4252b5[_0x621558(0x153)],_0x13f341[_0x621558(0x153)],_0x2174ba?_0x2174ba[_0x621558(0x155)][_0x621558(0x12a)][_0x621558(0x12c)]():null][_0x621558(0x144)](_0x5c31f3=>_0x5c31f3)[_0x621558(0x148)](_0x241f88=>_0x241f88[_0x621558(0x145)](_0xacc93a[_0x621558(0x130)]))||(this[_0x621558(0x129)](),_0xacc93a[_0x621558(0x133)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2f7a1a=_0x10ef;(function(_0x21b8f0,_0x15234d){const _0x190e48=_0x10ef,_0x3c2cc3=_0x21b8f0();while(!![]){try{const _0x36ccc2=parseInt(_0x190e48(0x14f))/0x1+-parseInt(_0x190e48(0x12d))/0x2*(parseInt(_0x190e48(0x141))/0x3)+parseInt(_0x190e48(0x12c))/0x4*(parseInt(_0x190e48(0x122))/0x5)+-parseInt(_0x190e48(0x151))/0x6*(-parseInt(_0x190e48(0x11a))/0x7)+parseInt(_0x190e48(0x146))/0x8*(parseInt(_0x190e48(0x105))/0x9)+-parseInt(_0x190e48(0x112))/0xa+-parseInt(_0x190e48(0x13a))/0xb;if(_0x36ccc2===_0x15234d)break;else _0x3c2cc3['push'](_0x3c2cc3['shift']());}catch(_0x3dd5b8){_0x3c2cc3['push'](_0x3c2cc3['shift']());}}}(_0x1930,0xdbe76));import{ConfirmMixin as _0x4be5ea,LateFocusButtonView as _0x253333}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x5e4705}from'ckeditor5/src/core.js';import _0x5caea0 from'./basecommentthreadview.js';function _0x1930(){const _0x46dbe8=['check','div','focus','change:isActive','set','isResolvable','5dnQkec','removeCommentThread','Resolve','then','ck-thread--active','_cancelAllConfirms','ck-thread','actionBar','change:isReadOnly','bindTemplate','5622604kOCbBh','2DReQRm','_updateArchivedThreadHeader','Delete\x20comment\x20thread?','icon','ariaLabel','commentThreadHeaderView','actionIndicator','ck-thread--unlinked','isSystemComment','stop','length','remove','bind','23985148ueYVsQ','commentThreadChildren','showConfirm','_model','has','_createResolveButton','locale','728169VfdxSq','archivedAt','_bindFirstCommentView','isResolved','listenTo','24bXRVVH','.ck-thread__container','containerElement','commentsListView','isEnabled','ck-thread--remove-confirmation','isReadOnly','cancelConfirm','commentViews','1126706LcJfxR','execute','301206UuJASK','getTemplate','commentThreadInputView','element','change:archivedAt','high','isActive','_boundFirstCommentView','isUnlinked','get','ck-thread__container','resolveButton','render','isConfirm','ariaDescriptionView','listitem','2538396RXXDcY','unbind','createCollection','Write\x20a\x20comment...','tooltip','querySelector','label','extendTemplate','removeConfirm','resolveCommentThread','ck-comment--resolve','focusables','ck-rounded-corners','14099990ziBWxy','ck-reset_all-excluded','setTemplate','isVisible','placeholder','add','fire','ck-thread--','189rcPCjA','removeButton'];_0x1930=function(){return _0x46dbe8;};return _0x1930();}import{getTranslation as _0x38e56f}from'../../../utils/common-translations.js';function _0x10ef(_0x2e325a,_0x3b2b93){const _0x193054=_0x1930();return _0x10ef=function(_0x10ef80,_0x539244){_0x10ef80=_0x10ef80-0x104;let _0x23fad9=_0x193054[_0x10ef80];return _0x23fad9;},_0x10ef(_0x2e325a,_0x3b2b93);}export default class At extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4be5ea(_0x5caea0){constructor(_0x216490,_0x423de7,_0x552d95,_0x48172d){const _0x9c6401=_0x10ef;super(_0x216490,_0x423de7,_0x552d95,_0x48172d),this[_0x9c6401(0x13b)]=this[_0x9c6401(0x107)]([this[_0x9c6401(0x149)],this[_0x9c6401(0x153)],this[_0x9c6401(0x15f)]]),this[_0x9c6401(0x120)](_0x9c6401(0x133),null),this[_0x9c6401(0x148)]=null,this[_0x9c6401(0x158)]=null,this[_0x9c6401(0x140)]=_0x216490,this[_0x9c6401(0x15c)]=this[_0x9c6401(0x13f)](),this[_0x9c6401(0x114)](this[_0x9c6401(0x152)]()),this['on'](_0x9c6401(0x11f),(_0x49bcf4,_0x172262,_0x327a88)=>{const _0x1acb3f=_0x9c6401;_0x327a88||this[_0x1acb3f(0x127)]();}),this[_0x9c6401(0x145)](this[_0x9c6401(0x13d)],_0x9c6401(0x12a),(_0x362147,_0x33c00d,_0x2846ed)=>{const _0x2f850a=_0x9c6401;_0x2846ed&&this[_0x2f850a(0x127)]();}),this[_0x9c6401(0x137)]>0x0&&this[_0x9c6401(0x143)](),this[_0x9c6401(0x145)](this[_0x9c6401(0x149)][_0x9c6401(0x14e)],_0x9c6401(0x117),()=>{const _0x55947a=_0x9c6401;this[_0x55947a(0x143)]();});}[_0x2f7a1a(0x152)](){const _0x5e49e6=_0x2f7a1a,_0xd795ed=this[_0x5e49e6(0x12b)];return{'tag':_0x5e49e6(0x11d),'attributes':{'class':['ck',_0x5e49e6(0x128),_0x5e49e6(0x113),_0x5e49e6(0x111),_0xd795ed['if'](_0x5e49e6(0x157),_0x5e49e6(0x126)),_0xd795ed['if'](_0x5e49e6(0x159),_0x5e49e6(0x134)),_0xd795ed['if'](_0x5e49e6(0x15e),_0x5e49e6(0x14b)),_0xd795ed['to'](_0x5e49e6(0x133),_0x2e84ef=>_0x2e84ef?_0x5e49e6(0x119)+_0x2e84ef:'')],'data-thread-id':this[_0x5e49e6(0x13d)]['id'],'tabindex':0x0,'role':_0x5e49e6(0x104),'aria-label':_0xd795ed['to'](_0x5e49e6(0x131)),'aria-describedby':this[_0x5e49e6(0x15f)]['id']},'children':[{'tag':_0x5e49e6(0x11d),'attributes':{'class':_0x5e49e6(0x15b)},'children':this[_0x5e49e6(0x13b)]}]};}[_0x2f7a1a(0x15d)](){const _0x13562b=_0x2f7a1a;super[_0x13562b(0x15d)](),this[_0x13562b(0x148)]=this[_0x13562b(0x154)][_0x13562b(0x10a)](_0x13562b(0x147)),this[_0x13562b(0x13d)]['on'](_0x13562b(0x155),()=>{const _0x2259e4=_0x13562b;this[_0x2259e4(0x12e)]();}),this[_0x13562b(0x12e)]();}[_0x2f7a1a(0x127)](){const _0x7016ab=_0x2f7a1a;this[_0x7016ab(0x14d)]();for(const _0x25eb77 of this[_0x7016ab(0x149)][_0x7016ab(0x14e)])_0x25eb77[_0x7016ab(0x14d)]();}[_0x2f7a1a(0x143)](){const _0x5db75f=_0x2f7a1a,{locale:_0x565102}=this,_0xd0b5ef=this[_0x5db75f(0x149)][_0x5db75f(0x14e)][_0x5db75f(0x15a)](0x0);_0xd0b5ef===this[_0x5db75f(0x158)]||_0xd0b5ef[_0x5db75f(0x135)]||(this[_0x5db75f(0x158)]=_0xd0b5ef,this[_0x5db75f(0x106)](_0x5db75f(0x133)),this[_0x5db75f(0x139)](_0x5db75f(0x133))['to'](_0xd0b5ef,_0x5db75f(0x133),_0x4eb5fd=>_0x5db75f(0x138)===_0x4eb5fd?_0x5db75f(0x138):null),_0xd0b5ef[_0x5db75f(0x116)]=_0x38e56f(_0x565102,_0x5db75f(0x108)),_0xd0b5ef[_0x5db75f(0x11b)]['on'](_0x5db75f(0x150),_0x42ced5=>{const _0x5edd3e=_0x5db75f;_0x42ced5[_0x5edd3e(0x136)](),this[_0x5edd3e(0x13c)](_0x38e56f(_0x565102,_0x5edd3e(0x12f)),this[_0x5edd3e(0x148)])[_0x5edd3e(0x125)](()=>{const _0x444d8b=_0x5edd3e;this[_0x444d8b(0x118)](_0x444d8b(0x123));});},{'priority':_0x5db75f(0x156)}),this['on'](_0x5db75f(0x10d),()=>{const _0x3fe80d=_0x5db75f;_0xd0b5ef[_0x3fe80d(0x11e)]();}),_0xd0b5ef[_0x5db75f(0x129)][_0x5db75f(0x117)](this[_0x5db75f(0x15c)],0x0),_0xd0b5ef[_0x5db75f(0x110)][_0x5db75f(0x117)](this[_0x5db75f(0x15c)],0x0));}[_0x2f7a1a(0x13f)](){const _0x17d19b=_0x2f7a1a,_0x303d55=new _0x253333(this[_0x17d19b(0x140)]);return _0x303d55[_0x17d19b(0x10b)]=_0x38e56f(this[_0x17d19b(0x140)],_0x17d19b(0x124)),_0x303d55[_0x17d19b(0x109)]=_0x38e56f(this[_0x17d19b(0x140)],_0x17d19b(0x124)),_0x303d55[_0x17d19b(0x130)]=_0x5e4705[_0x17d19b(0x11c)],_0x303d55[_0x17d19b(0x10c)]({'attributes':{'class':_0x17d19b(0x10f)}}),_0x303d55[_0x17d19b(0x139)](_0x17d19b(0x14a))['to'](this[_0x17d19b(0x13d)],_0x17d19b(0x14c),_0x12d3a4=>!_0x12d3a4),_0x303d55[_0x17d19b(0x139)](_0x17d19b(0x115))['to'](this[_0x17d19b(0x13d)],_0x17d19b(0x121),this[_0x17d19b(0x13d)],_0x17d19b(0x144),(_0x1ab914,_0x29dc81)=>_0x1ab914&&!_0x29dc81),_0x303d55['on'](_0x17d19b(0x150),()=>{const _0x43cfe6=_0x17d19b;this[_0x43cfe6(0x118)](_0x43cfe6(0x10e),this[_0x43cfe6(0x13d)]['id']);}),_0x303d55;}[_0x2f7a1a(0x12e)](){const _0x3ca151=_0x2f7a1a;this[_0x3ca151(0x13d)][_0x3ca151(0x142)]?this[_0x3ca151(0x13b)][_0x3ca151(0x13e)](this[_0x3ca151(0x132)])||(this[_0x3ca151(0x13b)][_0x3ca151(0x117)](this[_0x3ca151(0x132)],0x0),this[_0x3ca151(0x110)][_0x3ca151(0x117)](this[_0x3ca151(0x132)],0x0)):this[_0x3ca151(0x13b)][_0x3ca151(0x13e)](this[_0x3ca151(0x132)])&&(this[_0x3ca151(0x13b)][_0x3ca151(0x138)](this[_0x3ca151(0x132)]),this[_0x3ca151(0x110)][_0x3ca151(0x138)](this[_0x3ca151(0x132)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0xcf8950=_0x36f1;(function(_0x577575,_0x317398){const _0x34a37f=_0x36f1,_0x16d0d9=_0x577575();while(!![]){try{const _0x1febc4=-parseInt(_0x34a37f(0x1fa))/0x1+-parseInt(_0x34a37f(0x24f))/0x2+-parseInt(_0x34a37f(0x209))/0x3+parseInt(_0x34a37f(0x24b))/0x4*(parseInt(_0x34a37f(0x253))/0x5)+parseInt(_0x34a37f(0x232))/0x6+parseInt(_0x34a37f(0x246))/0x7+-parseInt(_0x34a37f(0x205))/0x8;if(_0x1febc4===_0x317398)break;else _0x16d0d9['push'](_0x16d0d9['shift']());}catch(_0x4cc4eb){_0x16d0d9['push'](_0x16d0d9['shift']());}}}(_0x418c,0xf2b7a));import{ButtonView as _0x329ad4,createDropdown as _0x41f494,ListView as _0x19d423,ListItemView as _0xcf3822,focusChildOnDropdownOpen as _0x26edf5}from'ckeditor5/src/ui.js';function _0x418c(){const _0x565d47=['withText','then','isEditMode','getExternalCommentNote','children','listenTo','ck-annotation__info-name','getUserViewNotificationText','showConfirm','name','Remove','bindTemplate','focus','3608962WnKGvI','ck-comment--remove','element','ck-annotation__info-time','div','32DMwheP','items','cancelConfirm','execute','134626sHThJT','label','isRemovable','ck-annotation__user','189095cmdtVn','extendTemplate','render','editButton','icon','isEditable','ck-comment__info-time','removeButton','dropdown','actionIndicator','ck-comment','authoredAt','Edit','ck-comment__wrapper','Reply...','removeComment','actionBar','set','Delete\x20comment?','span','isReadOnly','_model','from','ck-comment__actions','ck-annotation__actions--hidden','push','group','edit','ck-comment__main','_createCommentInputView','ck-comment__actions--hidden','_createRemoveButton','808498Ktmmqe','ck-comment--edit','ck-annotation__content-wrapper','mouseenter','ck-hidden','resolvedAt','buttonView','_attachActions','_createDropdown','blur','pencil','5152456OcXmcm','switchToEditMode','ariaLabel','_createEditButton','52032bfFLVa','listitem','getTemplate','ck-comment__external','fire','_config','ariaDescriptionView','isVisible','addMany','ck-comment--remove-confirmation','isEnabled','toMany','ck-annotation','add','panelPosition','author','setTemplate','change:isRemovable','createCollection','ck-annotation__info','ck-comment--','ck-annotation__main','userView','find','some','ck-comment__user','ck-comment--info','ck-annotation__actions','unbind','isConfirm','Show\x20more\x20items','mouseleave','locale','visibleView','isSystemComment','threeVerticalDots','formatDateTime','focusables','placeholder','bind','ck-comment__info-name','10279584zejcRu','length','ck-comment__info','remove','time','isExternal','panelView'];_0x418c=function(){return _0x565d47;};return _0x418c();}import{icons as _0x3cb094}from'ckeditor5/src/core.js';import{UserView as _0x2873b4,ConfirmMixin as _0x3cf1be,LateFocusDropdownButtonView as _0x19bd45}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4fea39 from'./basecommentview.js';import _0x2c0fa6 from'../../../../theme/icons/remove-comment.svg';function _0x36f1(_0x384147,_0x22097b){const _0x418c87=_0x418c();return _0x36f1=function(_0x36f174,_0x4fea7a){_0x36f174=_0x36f174-0x1e3;let _0x1a6495=_0x418c87[_0x36f174];return _0x1a6495;},_0x36f1(_0x384147,_0x22097b);}import{getTranslation as _0x2afd82}from'../../../utils/common-translations.js';export default class Ct extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3cf1be(_0x4fea39){constructor(_0x5e5a63,_0x38eec1,_0x8e0b88){const _0x499bee=_0x36f1;super(_0x5e5a63,_0x38eec1,_0x8e0b88),this[_0x499bee(0x1eb)](_0x499bee(0x1e3),null),this[_0x499bee(0x1eb)](_0x499bee(0x22f),_0x2afd82(_0x5e5a63,_0x499bee(0x1e8))),this[_0x499bee(0x230)](_0x499bee(0x1e5))['to'](_0x38eec1),this[_0x499bee(0x230)](_0x499bee(0x1ff))['to'](_0x38eec1),this[_0x499bee(0x1ea)]=this[_0x499bee(0x21b)](),this[_0x499bee(0x22b)]||(this[_0x499bee(0x256)]=this[_0x499bee(0x208)](),this[_0x499bee(0x25a)]=this[_0x499bee(0x1f9)](),this[_0x499bee(0x24c)]=this[_0x499bee(0x21b)](),this[_0x499bee(0x24c)][_0x499bee(0x211)]([this[_0x499bee(0x256)],this[_0x499bee(0x25a)]]),this[_0x499bee(0x25b)]=this[_0x499bee(0x202)](),this[_0x499bee(0x1ea)][_0x499bee(0x216)](this[_0x499bee(0x25b)]),this[_0x499bee(0x22e)][_0x499bee(0x216)](this[_0x499bee(0x25b)])),this[_0x499bee(0x21f)]=new _0x2873b4(_0x5e5a63,_0x38eec1[_0x499bee(0x218)],this[_0x499bee(0x240)]()),this[_0x499bee(0x21f)][_0x499bee(0x254)]({'attributes':{'class':[_0x499bee(0x222),_0x499bee(0x252)],'aria-hidden':!0x0}}),this[_0x499bee(0x23e)](_0x38eec1,_0x499bee(0x21a),()=>this[_0x499bee(0x24d)]()),this[_0x499bee(0x219)](this[_0x499bee(0x20b)]());}[_0xcf8950(0x20b)](){const _0x4a066f=_0xcf8950,_0x4448d0=this[_0x4a066f(0x244)],_0x350c4d=[{'tag':_0x4a066f(0x24a),'attributes':{'class':[_0x4a066f(0x234),_0x4a066f(0x21c)]},'children':[{'tag':_0x4a066f(0x1ed),'children':[{'text':this[_0x4a066f(0x21f)][_0x4a066f(0x242)]}],'attributes':{'class':[_0x4a066f(0x231),_0x4a066f(0x23f)]}},{'tag':_0x4a066f(0x236),'attributes':{'datetime':_0x4448d0['to'](_0x4a066f(0x1e5)),'class':[_0x4a066f(0x259),_0x4a066f(0x249)]},'children':[{'text':_0x4448d0['to'](_0x4a066f(0x1e5),_0x1ab0fc=>this[_0x4a066f(0x20e)][_0x4a066f(0x22d)](_0x1ab0fc))}]}]},{'tag':_0x4a066f(0x24a),'attributes':{'class':[_0x4a066f(0x1f1),_0x4a066f(0x224),_0x4448d0['if'](_0x4a066f(0x23b),_0x4a066f(0x1f8)),_0x4448d0['if'](_0x4a066f(0x23b),_0x4a066f(0x1f2))]},'children':this[_0x4a066f(0x1ea)]},{'tag':_0x4a066f(0x24a),'attributes':{'class':[_0x4a066f(0x1fc)]},'children':this[_0x4a066f(0x22a)]},this[_0x4a066f(0x20f)]];return this[_0x4a066f(0x1ef)][_0x4a066f(0x237)]&&_0x350c4d[_0x4a066f(0x1f3)]({'tag':_0x4a066f(0x24a),'attributes':{'class':[_0x4a066f(0x20c)]},'children':[{'text':this[_0x4a066f(0x23c)]()}]}),{'tag':'li','attributes':{'class':[_0x4a066f(0x1e7),_0x4448d0['if'](_0x4a066f(0x226),_0x4a066f(0x212))],'tabindex':-0x1,'aria-label':_0x4448d0['to'](_0x4a066f(0x207)),'aria-describedby':this[_0x4a066f(0x20f)]['id'],'role':_0x4a066f(0x20a)},'children':[{'tag':_0x4a066f(0x24a),'attributes':{'class':[_0x4a066f(0x1e4),_0x4a066f(0x215),_0x4448d0['if'](_0x4a066f(0x23b),_0x4a066f(0x1fb)),_0x4448d0['if'](_0x4a066f(0x22b),_0x4a066f(0x223)),_0x4448d0['to'](_0x4a066f(0x1e3),_0x5f21c1=>_0x5f21c1?_0x4a066f(0x21d)+_0x5f21c1:'')],'data-author-id':this[_0x4a066f(0x1ef)][_0x4a066f(0x218)]['id'],'data-comment-id':this[_0x4a066f(0x1ef)]['id'],'role':_0x4a066f(0x1f4)},'children':[this[_0x4a066f(0x21f)],{'tag':_0x4a066f(0x24a),'attributes':{'class':[_0x4a066f(0x1f6),_0x4a066f(0x21e)]},'children':_0x350c4d}]}]};}[_0xcf8950(0x208)](){const _0x51ed94=_0xcf8950,_0x4cbc77=new _0x329ad4(this[_0x51ed94(0x229)]);return _0x4cbc77[_0x51ed94(0x250)]=_0x2afd82(this[_0x51ed94(0x229)],_0x51ed94(0x1e6)),_0x4cbc77[_0x51ed94(0x257)]=_0x3cb094[_0x51ed94(0x204)],_0x4cbc77[_0x51ed94(0x239)]=!0x0,_0x4cbc77[_0x51ed94(0x254)]({'attributes':{'class':_0x51ed94(0x1fb)}}),_0x4cbc77[_0x51ed94(0x230)](_0x51ed94(0x213))['to'](this[_0x51ed94(0x1ef)],_0x51ed94(0x1ee),_0x39913c=>!_0x39913c),_0x4cbc77[_0x51ed94(0x230)](_0x51ed94(0x210))['to'](this[_0x51ed94(0x1ef)],_0x51ed94(0x258)),_0x4cbc77['on'](_0x51ed94(0x24e),()=>this[_0x51ed94(0x206)]()),_0x4cbc77;}[_0xcf8950(0x1f9)](){const _0x57e15e=_0xcf8950,_0x430528=new _0x329ad4(this[_0x57e15e(0x229)]);return _0x430528[_0x57e15e(0x250)]=_0x2afd82(this[_0x57e15e(0x229)],_0x57e15e(0x243)),_0x430528[_0x57e15e(0x257)]=_0x2c0fa6,_0x430528[_0x57e15e(0x239)]=!0x0,_0x430528[_0x57e15e(0x254)]({'attributes':{'class':_0x57e15e(0x247)}}),_0x430528[_0x57e15e(0x230)](_0x57e15e(0x213))['to'](this[_0x57e15e(0x1ef)],_0x57e15e(0x1ee),_0x144e75=>!_0x144e75),_0x430528[_0x57e15e(0x230)](_0x57e15e(0x210))['to'](this[_0x57e15e(0x1ef)],_0x57e15e(0x251)),_0x430528['on'](_0x57e15e(0x24e),()=>{const _0x101f58=_0x57e15e;this[_0x101f58(0x241)](_0x2afd82(this[_0x101f58(0x229)],_0x101f58(0x1ec)),this[_0x101f58(0x248)])[_0x101f58(0x23a)](()=>{const _0x1cd0f3=_0x101f58;this[_0x1cd0f3(0x20d)](_0x1cd0f3(0x1e9),this[_0x1cd0f3(0x1ef)]['id']);});}),_0x430528;}[_0xcf8950(0x202)](){const _0x12b3f7=_0xcf8950,_0x251703=_0x41f494(this[_0x12b3f7(0x229)],_0x19bd45),_0x496d08=_0x251703[_0x12b3f7(0x238)][_0x12b3f7(0x23d)],_0x7093d0=new _0x19d423(this[_0x12b3f7(0x229)]),_0x4270ed=_0x251703[_0x12b3f7(0x244)];_0x26edf5(_0x251703,()=>this[_0x12b3f7(0x24c)][_0x12b3f7(0x220)](_0x247f28=>_0x247f28[_0x12b3f7(0x210)])),_0x251703[_0x12b3f7(0x254)]({'attributes':{'class':[_0x4270ed['if'](_0x12b3f7(0x210),_0x12b3f7(0x1fe),_0x187cf0=>!_0x187cf0)]}});const _0x229ee0=(_0x1be702,_0x1898c5=-0x1)=>{const _0x12c401=_0x12b3f7,_0x2f2651=new _0xcf3822(this[_0x12c401(0x229)]);_0x2f2651[_0x12c401(0x23d)][_0x12c401(0x216)](_0x1be702);const _0x3a9876=_0x1898c5>-0x1?_0x1898c5:_0x7093d0[_0x12c401(0x24c)][_0x12c401(0x233)];_0x7093d0[_0x12c401(0x24c)][_0x12c401(0x216)](_0x2f2651,_0x3a9876);const _0x454ce5=Array[_0x12c401(0x1f0)](this[_0x12c401(0x24c)]);_0x251703[_0x12c401(0x225)](_0x12c401(0x213),_0x12c401(0x210)),_0x251703[_0x12c401(0x230)](_0x12c401(0x213))[_0x12c401(0x214)](_0x454ce5,_0x12c401(0x213),(..._0x1f1a13)=>_0x1f1a13[_0x12c401(0x221)](_0x25cb95=>_0x25cb95)),_0x251703[_0x12c401(0x230)](_0x12c401(0x210))[_0x12c401(0x214)](_0x454ce5,_0x12c401(0x210),(..._0x195abc)=>_0x195abc[_0x12c401(0x221)](_0x3cd696=>_0x3cd696));};_0x251703[_0x12b3f7(0x217)]='sw',_0x251703[_0x12b3f7(0x200)][_0x12b3f7(0x1eb)]({'label':_0x2afd82(this[_0x12b3f7(0x229)],_0x12b3f7(0x227)),'icon':_0x3cb094[_0x12b3f7(0x22c)]}),_0x251703[_0x12b3f7(0x213)]=[...this[_0x12b3f7(0x24c)]][_0x12b3f7(0x221)](_0x19e9e5=>_0x19e9e5[_0x12b3f7(0x213)]),_0x251703[_0x12b3f7(0x200)][_0x12b3f7(0x210)]=[...this[_0x12b3f7(0x24c)]][_0x12b3f7(0x221)](_0x1774e8=>_0x1774e8[_0x12b3f7(0x210)]);for(const _0x32b09 of this[_0x12b3f7(0x24c)])_0x229ee0(_0x32b09);return _0x496d08[_0x12b3f7(0x216)](_0x7093d0),_0x251703[_0x12b3f7(0x23e)](this[_0x12b3f7(0x24c)],_0x12b3f7(0x216),(_0x27ed54,_0x2eea08,_0x1d0cc3)=>{_0x229ee0(_0x2eea08,_0x1d0cc3);}),_0x251703[_0x12b3f7(0x23e)](this[_0x12b3f7(0x24c)],_0x12b3f7(0x235),(_0x3105fe,_0x5ec0c3,_0x2957a1)=>{const _0x2e7b1e=_0x12b3f7;_0x7093d0[_0x2e7b1e(0x24c)][_0x2e7b1e(0x235)](_0x2957a1);}),_0x251703;}[_0xcf8950(0x201)](_0x19a921,_0x59ec24){const _0x568316=_0xcf8950,_0xfbeeed=_0x19a921&&_0x19a921[_0x568316(0x248)];_0xfbeeed&&(this[_0x568316(0x23e)](_0xfbeeed,_0x568316(0x1fd),()=>this[_0x568316(0x1e3)]=_0x59ec24),this[_0x568316(0x23e)](_0xfbeeed,_0x568316(0x245),()=>this[_0x568316(0x1e3)]=_0x59ec24),this[_0x568316(0x23e)](_0xfbeeed,_0x568316(0x228),()=>this[_0x568316(0x1e3)]=null),this[_0x568316(0x23e)](_0xfbeeed,_0x568316(0x203),()=>this[_0x568316(0x1e3)]=null));}[_0xcf8950(0x1f7)](){const _0x2eca28=_0xcf8950,_0x38fb35=super[_0x2eca28(0x1f7)]();return _0x38fb35[_0x2eca28(0x230)](_0x2eca28(0x22f))['to'](this),_0x38fb35;}[_0xcf8950(0x255)](){const _0x459045=_0xcf8950;super[_0x459045(0x255)](),this[_0x459045(0x201)](this[_0x459045(0x256)],_0x459045(0x1f5)),this[_0x459045(0x201)](this[_0x459045(0x25a)],_0x459045(0x235));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x530016=_0x3e2c;(function(_0x29f6b8,_0x14172d){var _0x22176e=_0x3e2c,_0x5ef44c=_0x29f6b8();while(!![]){try{var _0xb49dfb=parseInt(_0x22176e(0xf2))/0x1*(parseInt(_0x22176e(0xf3))/0x2)+parseInt(_0x22176e(0xea))/0x3*(parseInt(_0x22176e(0xed))/0x4)+parseInt(_0x22176e(0xe8))/0x5*(-parseInt(_0x22176e(0xf4))/0x6)+parseInt(_0x22176e(0xf7))/0x7*(-parseInt(_0x22176e(0xeb))/0x8)+parseInt(_0x22176e(0xf0))/0x9*(parseInt(_0x22176e(0xec))/0xa)+parseInt(_0x22176e(0xf6))/0xb+-parseInt(_0x22176e(0xef))/0xc*(parseInt(_0x22176e(0xf1))/0xd);if(_0xb49dfb===_0x14172d)break;else _0x5ef44c['push'](_0x5ef44c['shift']());}catch(_0x35aeec){_0x5ef44c['push'](_0x5ef44c['shift']());}}}(_0x2178,0xd2f37));import{Plugin as _0x15dd9b}from'ckeditor5/src/core.js';import _0x8c6c57 from'./comments/commentsrepository.js';import _0x4e05bb from'./comments/commentsediting.js';import _0x14f882 from'./comments/commentsui.js';import _0xaa93ec from'./commentsonly.js';import _0x291e91 from'./annotations/widesidebar.js';import _0x28b226 from'./annotations/narrowsidebar.js';function _0x2178(){var _0xaba501=['pluginName','48BHbjtr','11007BSXdKu','2559544WxOmgj','8147MhZoLu','94aAcwfD','6aoNCgy','requires','9035488wVJlcb','56AofJGG','3883290NEZaZB','Comments','15QUOuBw','1435736snkXhL','13030sDlNwt','852892igqiOU'];_0x2178=function(){return _0xaba501;};return _0x2178();}import _0x1282ea from'./annotations/inlineannotations.js';import _0x5e09cf from'./comments/commentsarchiveui.js';function _0x3e2c(_0x17a447,_0x2904dc){var _0x2178b8=_0x2178();return _0x3e2c=function(_0x3e2c55,_0x20e9e2){_0x3e2c55=_0x3e2c55-0xe8;var _0x13c60f=_0x2178b8[_0x3e2c55];return _0x13c60f;},_0x3e2c(_0x17a447,_0x2904dc);}import _0x4c1ab4 from'./comments/commentsarchive.js';export default class f extends _0x15dd9b{static get[_0x530016(0xf5)](){return[_0x8c6c57,_0x4e05bb,_0x14f882,_0x4c1ab4,_0x5e09cf,_0xaa93ec,_0x291e91,_0x28b226,_0x1282ea];}static get[_0x530016(0xee)](){var _0x526f83=_0x530016;return _0x526f83(0xe9);}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4d01(){const _0x12463c=['change:isEnabled','7273sbWplw','requires','798083fOYCuv','pluginName','3536XtDKZo','config','listenTo','767169QISATK','afterInit','stopListening','_disableCommentsOnlyMode','isEnabled','561346ogqdlf','336249iNVeAS','118824WvgYtj','clearForceDisabled','commentsOnlyMode','affectsData','37980WRcmKI','DragDrop','cut','stop','_enableCommentsOnlyMode','150GcvjlX','delete','has','set','5HRLlxu','30AiZPck','plugins','get','clipboardInput','highest','addCommentThread','CommentsOnly','commentsOnly','document','editor','editing','commands','forceDisabled','view'];_0x4d01=function(){return _0x12463c;};return _0x4d01();}function _0x3011(_0x4f6ec2,_0x4dfb8e){const _0x4d012e=_0x4d01();return _0x3011=function(_0x3011e1,_0x1033ee){_0x3011e1=_0x3011e1-0x1ae;let _0x5536c7=_0x4d012e[_0x3011e1];return _0x5536c7;},_0x3011(_0x4f6ec2,_0x4dfb8e);}const _0x36cc5d=_0x3011;(function(_0x461e24,_0x48857d){const _0x26e56d=_0x3011,_0x418eb2=_0x461e24();while(!![]){try{const _0x36a3e5=-parseInt(_0x26e56d(0x1cb))/0x1+parseInt(_0x26e56d(0x1ca))/0x2+-parseInt(_0x26e56d(0x1d5))/0x3*(parseInt(_0x26e56d(0x1d0))/0x4)+parseInt(_0x26e56d(0x1ae))/0x5*(parseInt(_0x26e56d(0x1cc))/0x6)+parseInt(_0x26e56d(0x1be))/0x7*(parseInt(_0x26e56d(0x1c2))/0x8)+parseInt(_0x26e56d(0x1c5))/0x9+-parseInt(_0x26e56d(0x1af))/0xa*(-parseInt(_0x26e56d(0x1c0))/0xb);if(_0x36a3e5===_0x48857d)break;else _0x418eb2['push'](_0x418eb2['shift']());}catch(_0x5ba2fa){_0x418eb2['push'](_0x418eb2['shift']());}}}(_0x4d01,0x3d6e0));import{Plugin as _0x5095aa}from'ckeditor5/src/core.js';import _0x5e00e7 from'./comments/commentsediting.js';export default class e extends _0x5095aa{static get[_0x36cc5d(0x1c1)](){const _0x46ce61=_0x36cc5d;return _0x46ce61(0x1b5);}static get[_0x36cc5d(0x1bf)](){return[_0x5e00e7];}constructor(_0x4877ac){const _0x131d1d=_0x36cc5d;super(_0x4877ac),this[_0x131d1d(0x1d8)](_0x131d1d(0x1c9),!0x1),this['on'](_0x131d1d(0x1bd),(_0x1decac,_0x133c93,_0x4c95c5)=>{const _0x591d04=_0x131d1d;_0x4c95c5?this[_0x591d04(0x1d4)]():this[_0x591d04(0x1c8)]();});}[_0x36cc5d(0x1c6)](){const _0x1146ed=_0x36cc5d;!this[_0x1146ed(0x1c9)]&&this[_0x1146ed(0x1b8)][_0x1146ed(0x1c3)][_0x1146ed(0x1b1)](_0x1146ed(0x1b6))&&(this[_0x1146ed(0x1c9)]=!0x0);}[_0x36cc5d(0x1d4)](){const _0x3c69ac=_0x36cc5d;for(const [_0x406aac,_0x3013cb]of this[_0x3c69ac(0x1b8)][_0x3c69ac(0x1ba)])_0x3013cb[_0x3c69ac(0x1cf)]&&_0x3c69ac(0x1b4)!==_0x406aac&&_0x3013cb[_0x3c69ac(0x1bb)](_0x3c69ac(0x1ce));this[_0x3c69ac(0x1b8)][_0x3c69ac(0x1b0)][_0x3c69ac(0x1d7)](_0x3c69ac(0x1d1))&&this[_0x3c69ac(0x1b8)][_0x3c69ac(0x1b0)][_0x3c69ac(0x1b1)](_0x3c69ac(0x1d1))[_0x3c69ac(0x1bb)](_0x3c69ac(0x1ce));const _0x2fe5e9=this[_0x3c69ac(0x1b8)][_0x3c69ac(0x1b9)][_0x3c69ac(0x1bc)][_0x3c69ac(0x1b7)];this[_0x3c69ac(0x1c4)](_0x2fe5e9,_0x3c69ac(0x1d2),_0x236f26=>_0x236f26[_0x3c69ac(0x1d3)](),{'priority':_0x3c69ac(0x1b3)}),this[_0x3c69ac(0x1c4)](_0x2fe5e9,_0x3c69ac(0x1b2),_0x1be3a0=>_0x1be3a0[_0x3c69ac(0x1d3)](),{'priority':_0x3c69ac(0x1b3)}),this[_0x3c69ac(0x1c4)](_0x2fe5e9,_0x3c69ac(0x1d6),_0x3d17ce=>_0x3d17ce[_0x3c69ac(0x1d3)](),{'priority':_0x3c69ac(0x1b3)});}[_0x36cc5d(0x1c8)](){const _0x6d9da0=_0x36cc5d;for(const [_0x538c21,_0x50ad60]of this[_0x6d9da0(0x1b8)][_0x6d9da0(0x1ba)])_0x50ad60[_0x6d9da0(0x1cf)]&&_0x6d9da0(0x1b4)!==_0x538c21&&_0x50ad60[_0x6d9da0(0x1cd)](_0x6d9da0(0x1ce));this[_0x6d9da0(0x1c7)](this[_0x6d9da0(0x1b8)][_0x6d9da0(0x1b9)][_0x6d9da0(0x1bc)][_0x6d9da0(0x1b7)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1e4d5c,_0x47d755){var _0x1891df=_0x25f1,_0x218549=_0x1e4d5c();while(!![]){try{var _0x41e466=parseInt(_0x1891df(0x6c))/0x1*(parseInt(_0x1891df(0x6e))/0x2)+-parseInt(_0x1891df(0x73))/0x3*(-parseInt(_0x1891df(0x70))/0x4)+parseInt(_0x1891df(0x74))/0x5*(parseInt(_0x1891df(0x71))/0x6)+parseInt(_0x1891df(0x72))/0x7*(parseInt(_0x1891df(0x6d))/0x8)+-parseInt(_0x1891df(0x6a))/0x9+parseInt(_0x1891df(0x6b))/0xa+-parseInt(_0x1891df(0x6f))/0xb;if(_0x41e466===_0x47d755)break;else _0x218549['push'](_0x218549['shift']());}catch(_0xa139d6){_0x218549['push'](_0x218549['shift']());}}}(_0x49e5,0xda1ed));export{default as Comments}from'./comments.js';function _0x49e5(){var _0x2d3475=['4hrAmYv','18mtXTPA','81592wsbsEI','4101903iXDvMi','2104150ATYnPp','7870833vYwnIh','505230AJqZuk','335417hYoTZk','104itqomz','4eBvGeU','19081898TWJsGz'];_0x49e5=function(){return _0x2d3475;};return _0x49e5();}function _0x25f1(_0x106c2a,_0x251206){var _0x49e52f=_0x49e5();return _0x25f1=function(_0x25f1ba,_0x21b620){_0x25f1ba=_0x25f1ba-0x6a;var _0x38f4d6=_0x49e52f[_0x25f1ba];return _0x38f4d6;},_0x25f1(_0x106c2a,_0x251206);}export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x14c48c,_0x3a38c4,_0x5c2c29){const t=_0x14c48c['t'];switch(_0x3a38c4){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'},_0x5c2c29);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'},_0x5c2c29);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'},_0x5c2c29);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'},_0x5c2c29);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x5c2c29);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'},_0x5c2c29);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'},_0x5c2c29);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'},_0x5c2c29);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 _0x3603(_0x4b4c07,_0x481254){const _0x63a19b=_0x63a1();return _0x3603=function(_0x360387,_0x2fe0fe){_0x360387=_0x360387-0x1bc;let _0xa285d1=_0x63a19b[_0x360387];return _0xa285d1;},_0x3603(_0x4b4c07,_0x481254);}function _0x63a1(){const _0x166c30=['4xYgRUM','3VzXncG','1580889cYpbqe','class','childList','attributes','888805fqcVTC','580VxjNjv','897224iqBmdT','cancel','201398QZyhmW','27lkneUF','characterData','3522030AeXmuN','disconnect','309474YmjGHl','observe','4879224EhLeUx','attributeName','type'];_0x63a1=function(){return _0x166c30;};return _0x63a1();}(function(_0xce6506,_0x5a04df){const _0x587e32=_0x3603,_0x3c9ebf=_0xce6506();while(!![]){try{const _0x5ef317=parseInt(_0x587e32(0x1c2))/0x1*(-parseInt(_0x587e32(0x1cb))/0x2)+parseInt(_0x587e32(0x1c3))/0x3*(-parseInt(_0x587e32(0x1c1))/0x4)+-parseInt(_0x587e32(0x1c7))/0x5+-parseInt(_0x587e32(0x1ce))/0x6+parseInt(_0x587e32(0x1be))/0x7+parseInt(_0x587e32(0x1c9))/0x8*(-parseInt(_0x587e32(0x1cc))/0x9)+parseInt(_0x587e32(0x1c8))/0xa*(parseInt(_0x587e32(0x1bc))/0xb);if(_0x5ef317===_0x5a04df)break;else _0x3c9ebf['push'](_0x3c9ebf['shift']());}catch(_0x27187e){_0x3c9ebf['push'](_0x3c9ebf['shift']());}}}(_0x63a1,0x614b7));import{throttle as _0x97bafc}from'lodash-es';export default function Lt(_0x19d91f){const _0x168815=_0x97bafc(_0x19d91f,0x1e),_0x631401=new MutationObserver(_0x49fbf6=>{const _0x168196=_0x3603;for(const _0x155a51 of _0x49fbf6)(_0x168196(0x1c6)==_0x155a51[_0x168196(0x1c0)]&&_0x168196(0x1c4)==_0x155a51[_0x168196(0x1bf)]||_0x168196(0x1c5)==_0x155a51[_0x168196(0x1c0)]||_0x168196(0x1cd)==_0x155a51[_0x168196(0x1c0)])&&_0x168815();});return{'attach'(_0x120f1d){const _0x32fa27=_0x3603;_0x631401[_0x32fa27(0x1bd)](_0x120f1d,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x4c71dc=_0x3603;_0x631401[_0x4c71dc(0x1cf)](),_0x168815[_0x4c71dc(0x1ca)]();}};}
|
package/theme/comment.css
CHANGED
|
@@ -164,7 +164,7 @@ We are styling resetting list-style because of parent <ul> element. */
|
|
|
164
164
|
|
|
165
165
|
& .ck-list {
|
|
166
166
|
margin: 0;
|
|
167
|
-
padding: 0;
|
|
167
|
+
padding: var(--ck-spacing-small) 0;
|
|
168
168
|
|
|
169
169
|
& .ck-list__item {
|
|
170
170
|
font-size: 1.2em;
|
|
@@ -174,10 +174,6 @@ We are styling resetting list-style because of parent <ul> element. */
|
|
|
174
174
|
& .ck-button {
|
|
175
175
|
color: var(--ck-color-text);
|
|
176
176
|
}
|
|
177
|
-
|
|
178
|
-
& .ck-button__label {
|
|
179
|
-
margin: 0 var(--ck-spacing-large);
|
|
180
|
-
}
|
|
181
177
|
}
|
|
182
178
|
}
|
|
183
179
|
}
|