@ckeditor/ckeditor5-comments 46.1.1-alpha.3 → 46.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3c1d(){const _0x10993d=['arrowup','comments','_collapsedCommentsView','hasDirtyComment','count','138icMQpZ','removeComment','keystrokes','_findOptimalIndex','change:isResolved','remove','editorConfig','map','locale','insert','authoredAt','from','change','editorDestroyed','forEach','resolvedBy','change:isEditMode','resolveCommentThread','_setupKeyboardNavigation','updateComment','focusTracker','focusFirst','Thread\x20comments','removed','5144gDWQRe','refreshVisibleViews','render','bind','weight','maxThreadTotalWeight','delete','focus','isActive','focusCycler','focusLast','listenTo','resolvedCommentView','104rhNdLY','resolvedAt','target','resolved','_updateHasDirtyComment','_config','14440120mKNagy','set','_handleRemoveCommentModel','formatDateTime','231155eYHcAi','_shouldCollapse','expand','element','get','viewUid','commentUpdated','commentViews','571653oforQP','arrowdown','add','_model','createCollection','_rearrangeCollapse','ck-thread__comments','CommentView','some','Marked\x20as\x20resolved','924444RDUoNY','3906826BcoDZq','change:isActive','_rearrangeExpand','bindTemplate','_handleNewCommentModel','623538IkutfO','includes','collapse','maxCommentCharsWhenCollapsed','length','editorReady','equal','stopListening','reverse','setTemplate','maxCommentsWhenCollapsed','_calculatePosition','visibleViews','_handleInfoComment','delegate','added','destroy','ck-hidden','isEditMode','change:hasDirtyComment','2550QmwDeh'];_0x3c1d=function(){return _0x10993d;};return _0x3c1d();}const _0x3216fb=_0x4847;(function(_0x1a1d20,_0xacf96f){const _0xaa87df=_0x4847,_0x4aa568=_0x1a1d20();while(!![]){try{const _0x499d9f=-parseInt(_0xaa87df(0xf5))/0x1+parseInt(_0xaa87df(0xfb))/0x2+-parseInt(_0xaa87df(0xae))/0x3*(-parseInt(_0xaa87df(0xcc))/0x4)+parseInt(_0xaa87df(0xe3))/0x5*(-parseInt(_0xaa87df(0xb4))/0x6)+parseInt(_0xaa87df(0xf6))/0x7+-parseInt(_0xaa87df(0xd9))/0x8*(parseInt(_0xaa87df(0xeb))/0x9)+parseInt(_0xaa87df(0xdf))/0xa;if(_0x499d9f===_0xacf96f)break;else _0x4aa568['push'](_0x4aa568['shift']());}catch(_0x4cea21){_0x4aa568['push'](_0x4aa568['shift']());}}}(_0x3c1d,0x90e71));import{View as _0x9fcf4d,FocusCycler as _0x347da1}from'ckeditor5/src/ui.js';import{diff as _0x3a8dbe,Collection as _0x3bd370,FocusTracker as _0x1c79be,KeystrokeHandler as _0xa8a15a}from'ckeditor5/src/utils.js';import{getTranslation as _0x561331}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x50cb44}from'./collapsedcommentsview.js';export class CommentsListView extends _0x9fcf4d{[_0x3216fb(0xea)];[_0x3216fb(0xd8)];[_0x3216fb(0xc8)];[_0x3216fb(0xb6)];[_0x3216fb(0xd5)];[_0x3216fb(0xee)];[_0x3216fb(0xde)];[_0x3216fb(0xb1)];constructor(_0x375118,_0xaeff1f,_0x3401cf){const _0x299143=_0x3216fb;super(_0x375118);const _0x434ccd=this[_0x299143(0xf9)];this[_0x299143(0xe0)](_0x299143(0xb2),!0x1),this[_0x299143(0xe0)](_0x299143(0x9e),_0xaeff1f[_0x299143(0xb0)][_0x299143(0x9e)]),this[_0x299143(0xe0)](_0x299143(0xd4),!0x1),this[_0x299143(0xee)]=_0xaeff1f,this[_0x299143(0xde)]=_0x3401cf,this[_0x299143(0xea)]=this[_0x299143(0xef)](),this[_0x299143(0xa6)]=this[_0x299143(0xef)](),this[_0x299143(0xd8)]=null,this[_0x299143(0xc8)]=new _0x1c79be(),this[_0x299143(0xb6)]=new _0xa8a15a(),this[_0x299143(0xd5)]=new _0x347da1({'focusables':this[_0x299143(0xea)],'focusTracker':this[_0x299143(0xc8)],'keystrokeHandler':this[_0x299143(0xb6)],'keystrokeHandlerOptions':{'filter':_0x3cac38=>this[_0x299143(0xea)][_0x299143(0xbb)](_0xa97b59=>_0xa97b59[_0x299143(0xe6)])[_0x299143(0xfc)](_0x3cac38[_0x299143(0xdb)])},'actions':{'focusPrevious':_0x299143(0xaf),'focusNext':_0x299143(0xec)}}),this[_0x299143(0xb1)]=new _0x50cb44(_0x375118),this[_0x299143(0xb1)][_0x299143(0xcf)](_0x299143(0xb3))['to'](this,_0x299143(0x9e),_0x85e92e=>_0x85e92e-this[_0x299143(0xde)][_0x299143(0xa4)]);for(const _0xe73009 of _0xaeff1f[_0x299143(0xb0)])this[_0x299143(0xfa)](_0xe73009);this[_0x299143(0xa7)](),this[_0x299143(0xd7)](_0xaeff1f[_0x299143(0xb0)],_0x299143(0xed),(_0x2df76e,_0x16c912)=>{const _0x34409f=_0x299143,_0x10b211=this[_0x34409f(0xa5)](_0x16c912);this[_0x34409f(0x9e)]++,this[_0x34409f(0xfa)](_0x16c912,_0x10b211),this[_0x34409f(0xcd)]();}),this[_0x299143(0xd7)](_0xaeff1f[_0x299143(0xb0)],_0x299143(0xb9),(_0x1aa26b,_0x342e0c)=>{const _0x2e7e74=_0x299143;this[_0x2e7e74(0x9e)]--,this[_0x2e7e74(0xe1)](_0x342e0c),this[_0x2e7e74(0xcd)]();}),this[_0x299143(0xd7)](_0xaeff1f,_0x299143(0xe9),()=>this[_0x299143(0xcd)]()),this[_0x299143(0xd7)](_0xaeff1f,_0x299143(0xb8),()=>this[_0x299143(0xa7)]()),this['on'](_0x299143(0xf7),()=>this[_0x299143(0xcd)]()),this['on'](_0x299143(0xad),()=>this[_0x299143(0xcd)]()),this[_0x299143(0xa3)]({'tag':'ul','attributes':{'class':[_0x299143(0xf1),_0x434ccd['if'](_0x299143(0x9e),_0x299143(0xab),_0x5e51cc=>!_0x5e51cc)],'aria-label':_0x561331(_0x375118,_0x299143(0xca))},'children':this[_0x299143(0xa6)]});}get[_0x3216fb(0xe4)](){const _0x45dbd7=_0x3216fb;return this[_0x45dbd7(0xee)][_0x45dbd7(0xd0)]>this[_0x45dbd7(0xde)][_0x45dbd7(0xd1)]&&!this[_0x45dbd7(0xd4)]&&!this[_0x45dbd7(0xb2)];}[_0x3216fb(0xce)](){const _0x49c2a3=_0x3216fb;super[_0x49c2a3(0xce)](),this[_0x49c2a3(0xcd)](),this[_0x49c2a3(0xc6)]();}[_0x3216fb(0xd3)](_0x78994a){const _0x3a2a8d=_0x3216fb;-0x1===_0x78994a?this[_0x3a2a8d(0xd5)][_0x3a2a8d(0xd6)]():this[_0x3a2a8d(0xd5)][_0x3a2a8d(0xc9)]();}[_0x3216fb(0xaa)](){const _0x1b2dcd=_0x3216fb;this[_0x1b2dcd(0xb1)][_0x1b2dcd(0xaa)]();for(const _0x1e0071 of this[_0x1b2dcd(0xea)])_0x1e0071[_0x1b2dcd(0xaa)]();super[_0x1b2dcd(0xaa)]();}[_0x3216fb(0xcd)](){const _0x455750=_0x3216fb;this[_0x455750(0xe4)]?this[_0x455750(0xf0)]():this[_0x455750(0xf8)]();}[_0x3216fb(0xfa)](_0x4b9269,_0x5a2c1a){const _0x14ccdc=_0x3216fb,_0x49a8bb=new this[(_0x14ccdc(0xde))][(_0x14ccdc(0xf2))](this[_0x14ccdc(0xbc)],_0x4b9269,{'maxCommentCharsWhenCollapsed':this[_0x14ccdc(0xde)][_0x14ccdc(0x9d)],'formatDateTime':this[_0x14ccdc(0xde)][_0x14ccdc(0xe2)],'editorConfig':this[_0x14ccdc(0xde)][_0x14ccdc(0xba)]});_0x49a8bb[_0x14ccdc(0xe8)]=_0x4b9269['id'],_0x49a8bb[_0x14ccdc(0xa8)](_0x14ccdc(0xb5))['to'](this),_0x49a8bb[_0x14ccdc(0xa8)](_0x14ccdc(0xc7))['to'](this),_0x49a8bb[_0x14ccdc(0xa8)](_0x14ccdc(0xc5))['to'](this),_0x49a8bb[_0x14ccdc(0xa8)](_0x14ccdc(0x9f))['to'](this),_0x49a8bb[_0x14ccdc(0xa8)](_0x14ccdc(0xc1))['to'](this),this[_0x14ccdc(0xd7)](_0x49a8bb,_0x14ccdc(0xc4),()=>this[_0x14ccdc(0xdd)]()),this[_0x14ccdc(0xea)][_0x14ccdc(0xed)](_0x49a8bb,_0x5a2c1a);}[_0x3216fb(0xa5)](_0x54733a){const _0x25e721=_0x3216fb,_0x4d96a0=this[_0x25e721(0xee)][_0x25e721(0xb7)](_0x54733a);return this[_0x25e721(0xd8)]?this[_0x25e721(0xd8)][_0x25e721(0xbe)]>_0x54733a[_0x25e721(0xbe)]?_0x4d96a0-0x1:_0x4d96a0:_0x4d96a0-0x1;}[_0x3216fb(0xa7)](){const _0x3cba27=_0x3216fb;if(this[_0x3cba27(0xee)][_0x3cba27(0xc3)]&&this[_0x3cba27(0xee)][_0x3cba27(0xda)]){const _0x4e2b4a={'id':_0x3cba27(0xdc),'author':this[_0x3cba27(0xee)][_0x3cba27(0xc3)],'authoredAt':this[_0x3cba27(0xee)][_0x3cba27(0xda)],'content':_0x561331(this[_0x3cba27(0xbc)],_0x3cba27(0xf4)),'attributes':{}};this[_0x3cba27(0xd8)]=new this[(_0x3cba27(0xde))][(_0x3cba27(0xf2))](this[_0x3cba27(0xbc)],_0x4e2b4a,{'maxCommentCharsWhenCollapsed':this[_0x3cba27(0xde)][_0x3cba27(0x9d)],'formatDateTime':this[_0x3cba27(0xde)][_0x3cba27(0xe2)],'editorConfig':this[_0x3cba27(0xde)][_0x3cba27(0xba)],'isSystemComment':!0x0}),this[_0x3cba27(0xea)][_0x3cba27(0xed)](this[_0x3cba27(0xd8)],this[_0x3cba27(0xee)][_0x3cba27(0xb7)](_0x4e2b4a));}else this[_0x3cba27(0xd8)]&&(this[_0x3cba27(0xea)][_0x3cba27(0xb9)](this[_0x3cba27(0xd8)]),this[_0x3cba27(0xd8)][_0x3cba27(0xaa)](),this[_0x3cba27(0xd8)]=null);this[_0x3cba27(0xcd)]();}[_0x3216fb(0xe1)](_0x140229){const _0x2fd9fb=_0x3216fb,_0x2f1ed6=this[_0x2fd9fb(0xea)][_0x2fd9fb(0xb9)](_0x140229['id']);this[_0x2fd9fb(0xa1)](_0x2f1ed6),_0x2f1ed6[_0x2fd9fb(0xac)]&&this[_0x2fd9fb(0xdd)](),_0x2f1ed6[_0x2fd9fb(0xaa)]();}[_0x3216fb(0xdd)](){const _0x1f1b50=_0x3216fb;this[_0x1f1b50(0xb2)]=Array[_0x1f1b50(0xbf)](this[_0x1f1b50(0xea)])[_0x1f1b50(0xf3)](_0x4e9d50=>_0x4e9d50[_0x1f1b50(0xac)]);}[_0x3216fb(0xf0)](){const _0x2296af=_0x3216fb,_0x3386c8=function(_0xfc870f){const _0x518581=_0x4847,_0x28d92b=new _0x3bd370();for(const _0x5ad1fd of _0xfc870f)_0x28d92b[_0x518581(0xed)](_0x5ad1fd);return _0x28d92b;}(this[_0x2296af(0xea)]),_0x494726=this[_0x2296af(0xb1)][_0x2296af(0xb3)];for(let _0xb95902=0x1;_0xb95902<=_0x494726;_0xb95902++)_0x3386c8[_0x2296af(0xb9)](0x1);for(const _0x30bffe of _0x3386c8)_0x30bffe[_0x2296af(0x9c)]();_0x494726>0x0&&_0x3386c8[_0x2296af(0xed)](this[_0x2296af(0xb1)],0x1),ns(_0x3a8dbe(Array[_0x2296af(0xbf)](this[_0x2296af(0xa6)]),Array[_0x2296af(0xbf)](_0x3386c8)),this[_0x2296af(0xa6)],_0x3386c8);}[_0x3216fb(0xf8)](){const _0x5c1814=_0x3216fb;ns(_0x3a8dbe(Array[_0x5c1814(0xbf)](this[_0x5c1814(0xa6)]),Array[_0x5c1814(0xbf)](this[_0x5c1814(0xea)])),this[_0x5c1814(0xa6)],this[_0x5c1814(0xea)]);for(const _0x57c451 of this[_0x5c1814(0xa6)])_0x57c451[_0x5c1814(0xe5)]();}[_0x3216fb(0xc6)](){const _0x3649bb=_0x3216fb;this[_0x3649bb(0xea)][_0x3649bb(0xc2)](_0xfbc212=>{const _0x32ad30=_0x3649bb;this[_0x32ad30(0xc8)][_0x32ad30(0xed)](_0xfbc212[_0x32ad30(0xe6)]),this[_0x32ad30(0xb6)][_0x32ad30(0xd7)](_0xfbc212[_0x32ad30(0xe6)]);}),this[_0x3649bb(0xea)]['on'](_0x3649bb(0xc0),(_0x2acd92,_0x554987)=>{const _0x4e4361=_0x3649bb;for(const _0x4daf70 of _0x554987[_0x4e4361(0xcb)])this[_0x4e4361(0xc8)][_0x4e4361(0xb9)](_0x4daf70[_0x4e4361(0xe6)]),this[_0x4e4361(0xb6)][_0x4e4361(0xa1)](_0x4daf70[_0x4e4361(0xe6)]);for(const _0x4c6ee9 of Array[_0x4e4361(0xbf)](_0x554987[_0x4e4361(0xa9)])[_0x4e4361(0xa2)]())this[_0x4e4361(0xc8)][_0x4e4361(0xed)](_0x4c6ee9[_0x4e4361(0xe6)]),this[_0x4e4361(0xb6)][_0x4e4361(0xd7)](_0x4c6ee9[_0x4e4361(0xe6)]);});}}function _0x4847(_0x15a29e,_0x91bede){const _0x3c1db3=_0x3c1d();return _0x4847=function(_0x484749,_0x5e72f6){_0x484749=_0x484749-0x9c;let _0xb9f058=_0x3c1db3[_0x484749];return _0xb9f058;},_0x4847(_0x15a29e,_0x91bede);}function ns(_0x26cec9,_0x3624ff,_0x144fbb){const _0x116cd7=_0x3216fb;let _0x2a2749=0x0;for(const _0x2c8a5e of _0x26cec9)switch(_0x2c8a5e){case _0x116cd7(0xbd):_0x3624ff[_0x116cd7(0xed)](_0x144fbb[_0x116cd7(0xe7)](_0x2a2749),_0x2a2749),_0x2a2749++;break;case _0x116cd7(0xd2):_0x3624ff[_0x116cd7(0xb9)](_0x2a2749);break;case _0x116cd7(0xa0):_0x2a2749++;}}
|
|
23
|
+
const _0x2ec3b8=_0x464b;(function(_0x409e54,_0x482a86){const _0x5ab277=_0x464b,_0x1ef61c=_0x409e54();while(!![]){try{const _0x510b91=-parseInt(_0x5ab277(0x1f4))/0x1+-parseInt(_0x5ab277(0x1ee))/0x2*(parseInt(_0x5ab277(0x20d))/0x3)+-parseInt(_0x5ab277(0x201))/0x4+-parseInt(_0x5ab277(0x1fe))/0x5+parseInt(_0x5ab277(0x227))/0x6+-parseInt(_0x5ab277(0x23c))/0x7*(-parseInt(_0x5ab277(0x20f))/0x8)+parseInt(_0x5ab277(0x1e6))/0x9;if(_0x510b91===_0x482a86)break;else _0x1ef61c['push'](_0x1ef61c['shift']());}catch(_0x159d65){_0x1ef61c['push'](_0x1ef61c['shift']());}}}(_0xbbfc,0xa027c));import{View as _0x1652da,FocusCycler as _0x2d397a}from'ckeditor5/src/ui.js';function _0xbbfc(){const _0xeee813=['reverse','equal','19004121LxocTn','change:hasDirtyComment','removed','_rearrangeCollapse','element','collapse','target','stopListening','108RVLEvj','_handleInfoComment','_handleRemoveCommentModel','Marked\x20as\x20resolved','focusCycler','keystrokes','932724fQVyoz','resolvedCommentView','set','isActive','ck-thread__comments','focus','length','maxCommentsWhenCollapsed','createCollection','_handleNewCommentModel','4268190xaoqbn','ck-hidden','authoredAt','2043552hKdkDg','bind','expand','maxCommentCharsWhenCollapsed','delegate','includes','_collapsedCommentsView','removeComment','change:isActive','resolved','comments','setTemplate','43479VpnMtg','weight','192SfZwZK','formatDateTime','Thread\x20comments','remove','forEach','count','commentViews','locale','updateComment','editorConfig','get','visibleViews','delete','render','editorDestroyed','focusTracker','insert','isEditMode','added','maxThreadTotalWeight','resolvedAt','resolveCommentThread','_updateHasDirtyComment','some','7208514XdJJox','change','CommentView','focusLast','_shouldCollapse','change:isResolved','arrowup','_findOptimalIndex','commentUpdated','_calculatePosition','_rearrangeExpand','viewUid','_config','map','_model','bindTemplate','focusFirst','arrowdown','from','resolvedBy','add','123340cALNCs','change:isEditMode','destroy','listenTo','hasDirtyComment','editorReady','refreshVisibleViews','_setupKeyboardNavigation'];_0xbbfc=function(){return _0xeee813;};return _0xbbfc();}import{diff as _0x1938ce,Collection as _0x394fe0,FocusTracker as _0x1ffaf9,KeystrokeHandler as _0x2cf56d}from'ckeditor5/src/utils.js';function _0x464b(_0x560689,_0x1e99b2){const _0xbbfc87=_0xbbfc();return _0x464b=function(_0x464bcd,_0x15b54a){_0x464bcd=_0x464bcd-0x1de;let _0x393a46=_0xbbfc87[_0x464bcd];return _0x393a46;},_0x464b(_0x560689,_0x1e99b2);}import{getTranslation as _0x5287b5}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x26d65e}from'./collapsedcommentsview.js';export class CommentsListView extends _0x1652da{[_0x2ec3b8(0x215)];[_0x2ec3b8(0x1f5)];[_0x2ec3b8(0x21e)];[_0x2ec3b8(0x1f3)];[_0x2ec3b8(0x1f2)];[_0x2ec3b8(0x235)];[_0x2ec3b8(0x233)];[_0x2ec3b8(0x207)];constructor(_0x4a4f4c,_0x5b0835,_0xac3850){const _0x435eaa=_0x2ec3b8;super(_0x4a4f4c);const _0x5d4c74=this[_0x435eaa(0x236)];this[_0x435eaa(0x1f6)](_0x435eaa(0x1e0),!0x1),this[_0x435eaa(0x1f6)](_0x435eaa(0x1fa),_0x5b0835[_0x435eaa(0x20b)][_0x435eaa(0x1fa)]),this[_0x435eaa(0x1f6)](_0x435eaa(0x1f7),!0x1),this[_0x435eaa(0x235)]=_0x5b0835,this[_0x435eaa(0x233)]=_0xac3850,this[_0x435eaa(0x215)]=this[_0x435eaa(0x1fc)](),this[_0x435eaa(0x21a)]=this[_0x435eaa(0x1fc)](),this[_0x435eaa(0x1f5)]=null,this[_0x435eaa(0x21e)]=new _0x1ffaf9(),this[_0x435eaa(0x1f3)]=new _0x2cf56d(),this[_0x435eaa(0x1f2)]=new _0x2d397a({'focusables':this[_0x435eaa(0x215)],'focusTracker':this[_0x435eaa(0x21e)],'keystrokeHandler':this[_0x435eaa(0x1f3)],'keystrokeHandlerOptions':{'filter':_0x2c1ac8=>this[_0x435eaa(0x215)][_0x435eaa(0x234)](_0x12e69a=>_0x12e69a[_0x435eaa(0x1ea)])[_0x435eaa(0x206)](_0x2c1ac8[_0x435eaa(0x1ec)])},'actions':{'focusPrevious':_0x435eaa(0x22d),'focusNext':_0x435eaa(0x238)}}),this[_0x435eaa(0x207)]=new _0x26d65e(_0x4a4f4c),this[_0x435eaa(0x207)][_0x435eaa(0x202)](_0x435eaa(0x214))['to'](this,_0x435eaa(0x1fa),_0x56fc08=>_0x56fc08-this[_0x435eaa(0x233)][_0x435eaa(0x1fb)]);for(const _0x41db4f of _0x5b0835[_0x435eaa(0x20b)])this[_0x435eaa(0x1fd)](_0x41db4f);this[_0x435eaa(0x1ef)](),this[_0x435eaa(0x1df)](_0x5b0835[_0x435eaa(0x20b)],_0x435eaa(0x23b),(_0x1c9544,_0x1aa67f)=>{const _0x19ce99=_0x435eaa,_0x558969=this[_0x19ce99(0x230)](_0x1aa67f);this[_0x19ce99(0x1fa)]++,this[_0x19ce99(0x1fd)](_0x1aa67f,_0x558969),this[_0x19ce99(0x1e2)]();}),this[_0x435eaa(0x1df)](_0x5b0835[_0x435eaa(0x20b)],_0x435eaa(0x212),(_0x2e2e5a,_0x56fc03)=>{const _0x541210=_0x435eaa;this[_0x541210(0x1fa)]--,this[_0x541210(0x1f0)](_0x56fc03),this[_0x541210(0x1e2)]();}),this[_0x435eaa(0x1df)](_0x5b0835,_0x435eaa(0x22f),()=>this[_0x435eaa(0x1e2)]()),this[_0x435eaa(0x1df)](_0x5b0835,_0x435eaa(0x22c),()=>this[_0x435eaa(0x1ef)]()),this['on'](_0x435eaa(0x209),()=>this[_0x435eaa(0x1e2)]()),this['on'](_0x435eaa(0x1e7),()=>this[_0x435eaa(0x1e2)]()),this[_0x435eaa(0x20c)]({'tag':'ul','attributes':{'class':[_0x435eaa(0x1f8),_0x5d4c74['if'](_0x435eaa(0x1fa),_0x435eaa(0x1ff),_0x164cec=>!_0x164cec)],'aria-label':_0x5287b5(_0x4a4f4c,_0x435eaa(0x211))},'children':this[_0x435eaa(0x21a)]});}get[_0x2ec3b8(0x22b)](){const _0x314cc1=_0x2ec3b8;return this[_0x314cc1(0x235)][_0x314cc1(0x20e)]>this[_0x314cc1(0x233)][_0x314cc1(0x222)]&&!this[_0x314cc1(0x1f7)]&&!this[_0x314cc1(0x1e0)];}[_0x2ec3b8(0x21c)](){const _0x3480c0=_0x2ec3b8;super[_0x3480c0(0x21c)](),this[_0x3480c0(0x1e2)](),this[_0x3480c0(0x1e3)]();}[_0x2ec3b8(0x1f9)](_0x3be318){const _0x1c903b=_0x2ec3b8;-0x1===_0x3be318?this[_0x1c903b(0x1f2)][_0x1c903b(0x22a)]():this[_0x1c903b(0x1f2)][_0x1c903b(0x237)]();}[_0x2ec3b8(0x1de)](){const _0x112c65=_0x2ec3b8;this[_0x112c65(0x207)][_0x112c65(0x1de)]();for(const _0x368eb4 of this[_0x112c65(0x215)])_0x368eb4[_0x112c65(0x1de)]();super[_0x112c65(0x1de)]();}[_0x2ec3b8(0x1e2)](){const _0x2819d5=_0x2ec3b8;this[_0x2819d5(0x22b)]?this[_0x2819d5(0x1e9)]():this[_0x2819d5(0x231)]();}[_0x2ec3b8(0x1fd)](_0x5303df,_0x3ae7fd){const _0x363ac7=_0x2ec3b8,_0x341a74=new this[(_0x363ac7(0x233))][(_0x363ac7(0x229))](this[_0x363ac7(0x216)],_0x5303df,{'maxCommentCharsWhenCollapsed':this[_0x363ac7(0x233)][_0x363ac7(0x204)],'formatDateTime':this[_0x363ac7(0x233)][_0x363ac7(0x210)],'editorConfig':this[_0x363ac7(0x233)][_0x363ac7(0x218)]});_0x341a74[_0x363ac7(0x232)]=_0x5303df['id'],_0x341a74[_0x363ac7(0x205)](_0x363ac7(0x208))['to'](this),_0x341a74[_0x363ac7(0x205)](_0x363ac7(0x217))['to'](this),_0x341a74[_0x363ac7(0x205)](_0x363ac7(0x224))['to'](this),_0x341a74[_0x363ac7(0x205)](_0x363ac7(0x1e1))['to'](this),_0x341a74[_0x363ac7(0x205)](_0x363ac7(0x21d))['to'](this),this[_0x363ac7(0x1df)](_0x341a74,_0x363ac7(0x23d),()=>this[_0x363ac7(0x225)]()),this[_0x363ac7(0x215)][_0x363ac7(0x23b)](_0x341a74,_0x3ae7fd);}[_0x2ec3b8(0x230)](_0x6b109f){const _0x56e538=_0x2ec3b8,_0x36ed5f=this[_0x56e538(0x235)][_0x56e538(0x22e)](_0x6b109f);return this[_0x56e538(0x1f5)]?this[_0x56e538(0x1f5)][_0x56e538(0x200)]>_0x6b109f[_0x56e538(0x200)]?_0x36ed5f-0x1:_0x36ed5f:_0x36ed5f-0x1;}[_0x2ec3b8(0x1ef)](){const _0x79aa6=_0x2ec3b8;if(this[_0x79aa6(0x235)][_0x79aa6(0x23a)]&&this[_0x79aa6(0x235)][_0x79aa6(0x223)]){const _0x14ce86={'id':_0x79aa6(0x20a),'author':this[_0x79aa6(0x235)][_0x79aa6(0x23a)],'authoredAt':this[_0x79aa6(0x235)][_0x79aa6(0x223)],'content':_0x5287b5(this[_0x79aa6(0x216)],_0x79aa6(0x1f1)),'attributes':{}};this[_0x79aa6(0x1f5)]=new this[(_0x79aa6(0x233))][(_0x79aa6(0x229))](this[_0x79aa6(0x216)],_0x14ce86,{'maxCommentCharsWhenCollapsed':this[_0x79aa6(0x233)][_0x79aa6(0x204)],'formatDateTime':this[_0x79aa6(0x233)][_0x79aa6(0x210)],'editorConfig':this[_0x79aa6(0x233)][_0x79aa6(0x218)],'isSystemComment':!0x0}),this[_0x79aa6(0x215)][_0x79aa6(0x23b)](this[_0x79aa6(0x1f5)],this[_0x79aa6(0x235)][_0x79aa6(0x22e)](_0x14ce86));}else this[_0x79aa6(0x1f5)]&&(this[_0x79aa6(0x215)][_0x79aa6(0x212)](this[_0x79aa6(0x1f5)]),this[_0x79aa6(0x1f5)][_0x79aa6(0x1de)](),this[_0x79aa6(0x1f5)]=null);this[_0x79aa6(0x1e2)]();}[_0x2ec3b8(0x1f0)](_0x2d11ec){const _0x44fec8=_0x2ec3b8,_0x3b1799=this[_0x44fec8(0x215)][_0x44fec8(0x212)](_0x2d11ec['id']);this[_0x44fec8(0x1ed)](_0x3b1799),_0x3b1799[_0x44fec8(0x220)]&&this[_0x44fec8(0x225)](),_0x3b1799[_0x44fec8(0x1de)]();}[_0x2ec3b8(0x225)](){const _0x52d8d1=_0x2ec3b8;this[_0x52d8d1(0x1e0)]=Array[_0x52d8d1(0x239)](this[_0x52d8d1(0x215)])[_0x52d8d1(0x226)](_0x46a2da=>_0x46a2da[_0x52d8d1(0x220)]);}[_0x2ec3b8(0x1e9)](){const _0x4445c9=_0x2ec3b8,_0x1bc30f=function(_0x3bbec0){const _0x254d9c=_0x464b,_0xa6a453=new _0x394fe0();for(const _0x1cd6bd of _0x3bbec0)_0xa6a453[_0x254d9c(0x23b)](_0x1cd6bd);return _0xa6a453;}(this[_0x4445c9(0x215)]),_0x25432b=this[_0x4445c9(0x207)][_0x4445c9(0x214)];for(let _0x4dd903=0x1;_0x4dd903<=_0x25432b;_0x4dd903++)_0x1bc30f[_0x4445c9(0x212)](0x1);for(const _0x38428c of _0x1bc30f)_0x38428c[_0x4445c9(0x1eb)]();_0x25432b>0x0&&_0x1bc30f[_0x4445c9(0x23b)](this[_0x4445c9(0x207)],0x1),Ut(_0x1938ce(Array[_0x4445c9(0x239)](this[_0x4445c9(0x21a)]),Array[_0x4445c9(0x239)](_0x1bc30f)),this[_0x4445c9(0x21a)],_0x1bc30f);}[_0x2ec3b8(0x231)](){const _0x410a14=_0x2ec3b8;Ut(_0x1938ce(Array[_0x410a14(0x239)](this[_0x410a14(0x21a)]),Array[_0x410a14(0x239)](this[_0x410a14(0x215)])),this[_0x410a14(0x21a)],this[_0x410a14(0x215)]);for(const _0x255446 of this[_0x410a14(0x21a)])_0x255446[_0x410a14(0x203)]();}[_0x2ec3b8(0x1e3)](){const _0x5ec13b=_0x2ec3b8;this[_0x5ec13b(0x215)][_0x5ec13b(0x213)](_0x1035c6=>{const _0x229f09=_0x5ec13b;this[_0x229f09(0x21e)][_0x229f09(0x23b)](_0x1035c6[_0x229f09(0x1ea)]),this[_0x229f09(0x1f3)][_0x229f09(0x1df)](_0x1035c6[_0x229f09(0x1ea)]);}),this[_0x5ec13b(0x215)]['on'](_0x5ec13b(0x228),(_0x49c527,_0x13075d)=>{const _0x332b06=_0x5ec13b;for(const _0x14f3d9 of _0x13075d[_0x332b06(0x1e8)])this[_0x332b06(0x21e)][_0x332b06(0x212)](_0x14f3d9[_0x332b06(0x1ea)]),this[_0x332b06(0x1f3)][_0x332b06(0x1ed)](_0x14f3d9[_0x332b06(0x1ea)]);for(const _0x307a2d of Array[_0x332b06(0x239)](_0x13075d[_0x332b06(0x221)])[_0x332b06(0x1e4)]())this[_0x332b06(0x21e)][_0x332b06(0x23b)](_0x307a2d[_0x332b06(0x1ea)]),this[_0x332b06(0x1f3)][_0x332b06(0x1df)](_0x307a2d[_0x332b06(0x1ea)]);});}}function Ut(_0x4196a6,_0x438273,_0x40660a){const _0x37faa8=_0x2ec3b8;let _0x49dcdc=0x0;for(const _0x24bc0e of _0x4196a6)switch(_0x24bc0e){case _0x37faa8(0x21f):_0x438273[_0x37faa8(0x23b)](_0x40660a[_0x37faa8(0x219)](_0x49dcdc),_0x49dcdc),_0x49dcdc++;break;case _0x37faa8(0x21b):_0x438273[_0x37faa8(0x212)](_0x49dcdc);break;case _0x37faa8(0x1e5):_0x49dcdc++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5f260b=_0x1f76;(function(_0x36940f,_0x1ab6ad){const _0x166b54=_0x1f76,_0x5293d9=_0x36940f();while(!![]){try{const _0x4d18f1=parseInt(_0x166b54(0x10a))/0x1*(parseInt(_0x166b54(0x112))/0x2)+parseInt(_0x166b54(0x118))/0x3*(parseInt(_0x166b54(0x11a))/0x4)+-parseInt(_0x166b54(0x110))/0x5*(parseInt(_0x166b54(0x107))/0x6)+parseInt(_0x166b54(0x119))/0x7+parseInt(_0x166b54(0x106))/0x8*(-parseInt(_0x166b54(0x115))/0x9)+parseInt(_0x166b54(0x10c))/0xa*(-parseInt(_0x166b54(0x114))/0xb)+parseInt(_0x166b54(0x10b))/0xc*(parseInt(_0x166b54(0x10f))/0xd);if(_0x4d18f1===_0x1ab6ad)break;else _0x5293d9['push'](_0x5293d9['shift']());}catch(_0x16cd05){_0x5293d9['push'](_0x5293d9['shift']());}}}(_0x4a99,0x48160));import{View as _0x27d57f}from'ckeditor5/src/ui.js';function _0x4a99(){const _0x4954a2=['ck-context__value','1560jujgsh','420006XOlRgr','bindTemplate','THREAD_CONTEXT_LABEL','1tfmnmF','2748MSwhCA','390AGFZVO','setTemplate','set','13546NwrlIi','5bhCAhN','span','521554LPxlPi','contextValue','28413OBFWPY','23535aEcBvS','element','focus','21VsrDcs','368480etoptU','242224OMWPDf'];_0x4a99=function(){return _0x4954a2;};return _0x4a99();}import{getTranslation as _0x5bebb5}from'../../../utils/common-translations.js';function _0x1f76(_0x3f04a2,_0x12148a){const _0x4a9918=_0x4a99();return _0x1f76=function(_0x1f7624,_0x4fbb79){_0x1f7624=_0x1f7624-0x105;let _0x305ab4=_0x4a9918[_0x1f7624];return _0x305ab4;},_0x1f76(_0x3f04a2,_0x12148a);}export class CommentThreadHeaderContextView extends _0x27d57f{constructor(_0x5ec6c4){const _0x14071c=_0x1f76;super(_0x5ec6c4);const _0x42846a=this[_0x14071c(0x108)];this[_0x14071c(0x10e)](_0x14071c(0x113),''),this[_0x14071c(0x10d)]({'tag':_0x14071c(0x111),'attributes':{'class':['ck',_0x14071c(0x105)],'aria-label':_0x42846a['to'](_0x14071c(0x113),_0x4bcd7f=>_0x5bebb5(_0x5ec6c4,_0x14071c(0x109),_0x4bcd7f)),'tabindex':-0x1},'children':[{'text':_0x42846a['to'](_0x14071c(0x113))}]});}[_0x5f260b(0x117)](){const _0x5a3d6e=_0x5f260b;this[_0x5a3d6e(0x116)][_0x5a3d6e(0x117)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x343506=_0x114f;function _0x114f(_0x16b2fe,_0x1be45f){const _0x312fc3=_0x312f();return _0x114f=function(_0x114fd7,_0x45fbc0){_0x114fd7=_0x114fd7-0x1be;let _0x477f73=_0x312fc3[_0x114fd7];return _0x477f73;},_0x114f(_0x16b2fe,_0x1be45f);}function _0x312f(){const _0x1ba421=['_setupKeyboardNavigation','substring','1884491VeyedS','listenTo','reopenCommentThread','length','div','contextValue','keystrokes','mouseleave','tab','lastIndexOf','isEnabled','hasContext','render','8DcQvme','_attachContextActions','offsetWidth','execute','isResolvable','querySelector','ck-annotation__actions','context','1730138sCMWHZ','fire','bind','ck-context','Reopen','_createReopenButton','overlay','tooltip','ck-context-wrapper','contextView','_createContextView','_model','scrollWidth','isReadOnly','shift+tab','34548HKKvpI','isVisible','456sYiNuG','...','ck-thread__header','element','bindTemplate','focus','label','3320ZKTaGA','isResolved','.ck-context__value','setTemplate','remove','mouseenter','10674GXiTpX','35920Jbzwfa','reopenButtonView','add','focusFirst','focusCycler','4933940kAazPb','focusables','focusTracker','classList','_trimContextValue','createCollection','value','489093nsJUOE','Comment\x20was\x20made\x20on\x20an\x20element','locale','icon','489dnyWim','ck-context--quotes','.ck-context'];_0x312f=function(){return _0x1ba421;};return _0x312f();}(function(_0x4a95a7,_0xb4707){const _0x3a5b9c=_0x114f,_0x5d0408=_0x4a95a7();while(!![]){try{const _0x473139=-parseInt(_0x3a5b9c(0x1f3))/0x1+-parseInt(_0x3a5b9c(0x1c8))/0x2+-parseInt(_0x3a5b9c(0x1f7))/0x3*(-parseInt(_0x3a5b9c(0x1d7))/0x4)+parseInt(_0x3a5b9c(0x1e7))/0x5*(parseInt(_0x3a5b9c(0x1d9))/0x6)+-parseInt(_0x3a5b9c(0x1fc))/0x7*(-parseInt(_0x3a5b9c(0x1c0))/0x8)+parseInt(_0x3a5b9c(0x1e6))/0x9*(-parseInt(_0x3a5b9c(0x1e0))/0xa)+parseInt(_0x3a5b9c(0x1ec))/0xb;if(_0x473139===_0xb4707)break;else _0x5d0408['push'](_0x5d0408['shift']());}catch(_0x1b293a){_0x5d0408['push'](_0x5d0408['shift']());}}}(_0x312f,0xe1806));import{View as _0x135995,ButtonView as _0x4db389,FocusCycler as _0x44f79c}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4aecce,KeystrokeHandler as _0x19222c}from'ckeditor5/src/utils.js';import{IconUndo as _0x3d74a8}from'ckeditor5/src/icons.js';import{getTranslation as _0x3c9ebe}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x16ac82}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x135995{[_0x343506(0x1d3)];[_0x343506(0x1e8)];[_0x343506(0x1d1)];[_0x343506(0x1ed)];[_0x343506(0x1ee)];[_0x343506(0x202)];[_0x343506(0x1eb)];constructor(_0x5ec231,_0x4c3f89){const _0x500a05=_0x343506;super(_0x5ec231);const _0x10f4ab=this[_0x500a05(0x1dd)];this[_0x500a05(0x1d3)]=_0x4c3f89,this[_0x500a05(0x1e8)]=this[_0x500a05(0x1cd)](),this[_0x500a05(0x1d1)]=this[_0x500a05(0x1d2)](),this[_0x500a05(0x1ed)]=this[_0x500a05(0x1f1)]([this[_0x500a05(0x1d1)],this[_0x500a05(0x1e8)]]),this[_0x500a05(0x1ee)]=new _0x4aecce(),this[_0x500a05(0x202)]=new _0x19222c(),this[_0x500a05(0x1eb)]=new _0x44f79c({'focusables':this[_0x500a05(0x1ed)],'focusTracker':this[_0x500a05(0x1ee)],'keystrokeHandler':this[_0x500a05(0x202)],'actions':{'focusPrevious':_0x500a05(0x1d6),'focusNext':_0x500a05(0x204)}}),this[_0x500a05(0x1ca)](_0x500a05(0x1be))['to'](this[_0x500a05(0x1d3)],_0x500a05(0x1c7),_0x21cab0=>!!_0x21cab0),this[_0x500a05(0x1ca)](_0x500a05(0x201))['to'](this[_0x500a05(0x1d3)],_0x500a05(0x1c7),_0x756ce5=>_0x756ce5&&_0x756ce5[_0x500a05(0x1f2)]?this[_0x500a05(0x1f0)](_0x756ce5[_0x500a05(0x1f2)]):_0x3c9ebe(this[_0x500a05(0x1f5)],_0x500a05(0x1f4))),this[_0x500a05(0x1e3)]({'tag':_0x500a05(0x200),'attributes':{'class':[_0x500a05(0x1db)]},'children':[{'tag':_0x500a05(0x200),'attributes':{'class':[_0x500a05(0x1d0)]},'children':[{'tag':_0x500a05(0x200),'attributes':{'class':[_0x500a05(0x1cb),_0x10f4ab['if'](_0x500a05(0x1be),_0x500a05(0x1f8))]},'children':[this[_0x500a05(0x1d1)]]}]},{'tag':_0x500a05(0x200),'attributes':{'class':[_0x500a05(0x1c6)]},'children':[this[_0x500a05(0x1e8)]]}]});}[_0x343506(0x1bf)](){const _0x4778b0=_0x343506;super[_0x4778b0(0x1bf)](),this[_0x4778b0(0x1c1)](),this[_0x4778b0(0x1fa)]();}[_0x343506(0x1de)](){const _0x28599d=_0x343506;this[_0x28599d(0x1eb)][_0x28599d(0x1ea)]();}[_0x343506(0x1cd)](){const _0x99bc23=_0x343506,_0x495894=new _0x4db389(this[_0x99bc23(0x1f5)]);return _0x495894[_0x99bc23(0x1df)]=_0x3c9ebe(this[_0x99bc23(0x1f5)],_0x99bc23(0x1cc)),_0x495894[_0x99bc23(0x1cf)]=_0x3c9ebe(this[_0x99bc23(0x1f5)],_0x99bc23(0x1cc)),_0x495894[_0x99bc23(0x1f6)]=_0x3d74a8,_0x495894[_0x99bc23(0x1ca)](_0x99bc23(0x206))['to'](this[_0x99bc23(0x1d3)],_0x99bc23(0x1d5),_0x4b45d0=>!_0x4b45d0),_0x495894[_0x99bc23(0x1ca)](_0x99bc23(0x1d8))['to'](this[_0x99bc23(0x1d3)],_0x99bc23(0x1c4),this[_0x99bc23(0x1d3)],_0x99bc23(0x1e1),(_0x1df823,_0x40535e)=>_0x1df823&&_0x40535e),_0x495894['on'](_0x99bc23(0x1c3),()=>{const _0x285ca7=_0x99bc23;this[_0x285ca7(0x1c9)](_0x285ca7(0x1fe),this[_0x285ca7(0x1d3)]['id']);}),_0x495894;}[_0x343506(0x1f0)](_0x2ad328){const _0x5b9138=_0x343506;if(_0x2ad328[_0x5b9138(0x1ff)]<0x96)return _0x2ad328;const _0x1d0c92=_0x2ad328[_0x5b9138(0x205)]('\x20',0x93);return _0x2ad328[_0x5b9138(0x1fb)](0x0,_0x1d0c92>-0x1?_0x1d0c92:0x93)+_0x5b9138(0x1da);}[_0x343506(0x1c1)](){const _0xaca932=_0x343506,_0x372151=this[_0xaca932(0x1dc)][_0xaca932(0x1c5)](_0xaca932(0x1f9)),_0x510fb1=_0x372151[_0xaca932(0x1c5)](_0xaca932(0x1e2));this[_0xaca932(0x1fd)](_0x372151,_0xaca932(0x1e5),()=>{const _0x774ed5=_0xaca932;_0x510fb1[_0x774ed5(0x1c2)]<_0x510fb1[_0x774ed5(0x1d4)]&&_0x372151[_0x774ed5(0x1ef)][_0x774ed5(0x1e9)](_0x774ed5(0x1ce));}),this[_0xaca932(0x1fd)](_0x372151,_0xaca932(0x203),()=>{const _0x3fed86=_0xaca932;_0x372151[_0x3fed86(0x1ef)][_0x3fed86(0x1e4)](_0x3fed86(0x1ce));});}[_0x343506(0x1fa)](){const _0x2eb0fb=_0x343506;this[_0x2eb0fb(0x202)][_0x2eb0fb(0x1fd)](this[_0x2eb0fb(0x1dc)]);for(const _0x399a5e of this[_0x2eb0fb(0x1ed)])this[_0x2eb0fb(0x1ee)][_0x2eb0fb(0x1e9)](_0x399a5e[_0x2eb0fb(0x1dc)]),this[_0x2eb0fb(0x202)][_0x2eb0fb(0x1fd)](_0x399a5e[_0x2eb0fb(0x1dc)]);}[_0x343506(0x1d2)](){const _0x12b28e=_0x343506,_0x35b4e3=new _0x16ac82(this[_0x12b28e(0x1f5)]);return _0x35b4e3[_0x12b28e(0x1ca)](_0x12b28e(0x201))['to'](this),_0x35b4e3;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x539b5d=_0x1e14;function _0x1e14(_0xbf7444,_0x114caf){const _0x14928f=_0x1492();return _0x1e14=function(_0x1e143e,_0x6cf9b8){_0x1e143e=_0x1e143e-0xbe;let _0x4414f1=_0x14928f[_0x1e143e];return _0x4414f1;},_0x1e14(_0xbf7444,_0x114caf);}(function(_0x195ad4,_0x3e09bd){const _0x1153be=_0x1e14,_0x4f4732=_0x195ad4();while(!![]){try{const _0x20a477=parseInt(_0x1153be(0xd9))/0x1+parseInt(_0x1153be(0xcc))/0x2+-parseInt(_0x1153be(0xdb))/0x3+parseInt(_0x1153be(0xc0))/0x4+-parseInt(_0x1153be(0xe0))/0x5+-parseInt(_0x1153be(0xd0))/0x6*(parseInt(_0x1153be(0xdd))/0x7)+-parseInt(_0x1153be(0xd5))/0x8*(-parseInt(_0x1153be(0xca))/0x9);if(_0x20a477===_0x3e09bd)break;else _0x4f4732['push'](_0x4f4732['shift']());}catch(_0x515bff){_0x4f4732['push'](_0x4f4732['shift']());}}}(_0x1492,0x43426));function _0x1492(){const _0x1ce140=['bind','div','2707340nqOEyl','createEditor','contains','delegate','editorDestroyed','change:showInput','mousedown','showInput','target','focusCycler','filter','userView','showButtons','focus','preventDefault','render','some','879768tNeasd','ck-comment__input-container--active','destroy','view','value','editorReady','extendTemplate','commentInputView','set','ck-comment__input-container','2800773jdTHNH','_focusOnNonInteractiveMouseDown','1027358hWKtYR','setTemplate','bindTemplate','focusTracker','5526ohAXbK','then','isFocused','ck-thread__input','getDomRoot','8DgymoP','listenTo','editing','ck-thread__user','508123voDZpZ','element','718680ukJpPK','editor','3773lsRAMG'];_0x1492=function(){return _0x1ce140;};return _0x1492();}import{View as _0x4a973d}from'ckeditor5/src/ui.js';import{CommentInputView as _0x54133f}from'./commentinputview.js';import{UserView as _0x37bc4a}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x4a973d{constructor(_0x2d0381,_0x4cf830,_0x15dfff){const _0x423fb5=_0x1e14;super(_0x2d0381),this[_0x423fb5(0xc7)]=new _0x54133f(_0x2d0381,_0x15dfff),this[_0x423fb5(0xe9)]=this[_0x423fb5(0xc7)][_0x423fb5(0xe9)],this[_0x423fb5(0xc7)][_0x423fb5(0xde)](_0x423fb5(0xec))['to'](this[_0x423fb5(0xc7)][_0x423fb5(0xcf)],_0x423fb5(0xd2),this[_0x423fb5(0xc7)],_0x423fb5(0xc4),(_0x526459,_0x2cb146)=>_0x526459||!!_0x2cb146),this[_0x423fb5(0xc8)](_0x423fb5(0xe7),!0x1),this['on'](_0x423fb5(0xe5),()=>{const _0x12de05=_0x423fb5;this[_0x12de05(0xe7)]&&!this[_0x12de05(0xc7)][_0x12de05(0xdc)]&&this[_0x12de05(0xc7)][_0x12de05(0xe1)]();}),this[_0x423fb5(0xc7)][_0x423fb5(0xe3)](_0x423fb5(0xc5))['to'](this),this[_0x423fb5(0xc7)][_0x423fb5(0xe3)](_0x423fb5(0xe4))['to'](this),this[_0x423fb5(0xeb)]=new _0x37bc4a(_0x2d0381,_0x4cf830),this[_0x423fb5(0xeb)][_0x423fb5(0xc6)]({'attributes':{'class':_0x423fb5(0xd8),'aria-hidden':!0x0}}),this[_0x423fb5(0xc7)][_0x423fb5(0xc6)]({'attributes':{'class':_0x423fb5(0xd3)}}),this[_0x423fb5(0xcd)]({'tag':_0x423fb5(0xdf),'attributes':{'class':[_0x423fb5(0xc9),this[_0x423fb5(0xce)]['if'](_0x423fb5(0xe7),_0x423fb5(0xc1))]},'children':[this[_0x423fb5(0xeb)],this[_0x423fb5(0xc7)]]});}[_0x539b5d(0xbe)](){const _0x59e41c=_0x539b5d;super[_0x59e41c(0xbe)](),this[_0x59e41c(0xcb)]();}[_0x539b5d(0xc2)](){const _0x59f68f=_0x539b5d;return this[_0x59f68f(0xc7)][_0x59f68f(0xc2)]()[_0x59f68f(0xd1)](()=>super[_0x59f68f(0xc2)]());}[_0x539b5d(0xed)](_0xa5700f){const _0x13a704=_0x539b5d;this[_0x13a704(0xc7)][_0x13a704(0xed)](_0xa5700f);}[_0x539b5d(0xcb)](){const _0x5eb11f=_0x539b5d;this[_0x5eb11f(0xd6)](this[_0x5eb11f(0xda)],_0x5eb11f(0xe6),(_0x12df8a,_0x27e4b1)=>{const _0x3cc3f8=_0x5eb11f,{submitButtonView:_0xfb04e5,cancelButtonView:_0x8f6b9e,editor:_0x99aca5}=this[_0x3cc3f8(0xc7)];[_0xfb04e5[_0x3cc3f8(0xda)],_0x8f6b9e[_0x3cc3f8(0xda)],_0x99aca5?_0x99aca5[_0x3cc3f8(0xd7)][_0x3cc3f8(0xc3)][_0x3cc3f8(0xd4)]():null][_0x3cc3f8(0xea)](_0x51465e=>_0x51465e)[_0x3cc3f8(0xbf)](_0x1236fb=>_0x1236fb[_0x3cc3f8(0xe2)](_0x27e4b1[_0x3cc3f8(0xe8)]))||(this[_0x3cc3f8(0xed)](),_0x27e4b1[_0x3cc3f8(0xee)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x254f(_0x551a8d,_0x58de79){const _0x623719=_0x6237();return _0x254f=function(_0x254f89,_0x3be1cd){_0x254f89=_0x254f89-0xe6;let _0x4d94f2=_0x623719[_0x254f89];return _0x4d94f2;},_0x254f(_0x551a8d,_0x58de79);}const _0x33eaff=_0x254f;(function(_0x48e16b,_0x3aed1b){const _0xfbdc0a=_0x254f,_0x5c695f=_0x48e16b();while(!![]){try{const _0x4d29bf=-parseInt(_0xfbdc0a(0xe6))/0x1+-parseInt(_0xfbdc0a(0x137))/0x2+parseInt(_0xfbdc0a(0x10c))/0x3+-parseInt(_0xfbdc0a(0xe9))/0x4+parseInt(_0xfbdc0a(0x129))/0x5+-parseInt(_0xfbdc0a(0x10b))/0x6*(-parseInt(_0xfbdc0a(0x112))/0x7)+parseInt(_0xfbdc0a(0xef))/0x8;if(_0x4d29bf===_0x3aed1b)break;else _0x5c695f['push'](_0x5c695f['shift']());}catch(_0x2f61be){_0x5c695f['push'](_0x5c695f['shift']());}}}(_0x6237,0x8b536));import{ConfirmMixin as _0x256872,LateFocusButtonView as _0x1d010e}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x27ed1c}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x3544a}from'./basecommentthreadview.js';import{getTranslation as _0x22bef4}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x256872(_0x3544a){[_0x33eaff(0x12e)];[_0x33eaff(0x110)];[_0x33eaff(0x106)];[_0x33eaff(0x107)];constructor(_0x33af1c,_0x2b94c8,_0x50c557,_0x4bee76){const _0x217c61=_0x33eaff;super(_0x33af1c,_0x2b94c8,_0x50c557,_0x4bee76),this[_0x217c61(0x12e)]=this[_0x217c61(0x132)]([this[_0x217c61(0x126)],this[_0x217c61(0x104)],this[_0x217c61(0x101)]]),this[_0x217c61(0x128)](_0x217c61(0xea),null),this[_0x217c61(0x110)]=null,this[_0x217c61(0x107)]=null,this[_0x217c61(0xe7)]=_0x33af1c,this[_0x217c61(0x106)]=this[_0x217c61(0x138)](),this[_0x217c61(0x100)](this[_0x217c61(0x124)]()),this['on'](_0x217c61(0x116),(_0x55d5c6,_0x213f7d,_0xa8d87b)=>{const _0x23b78e=_0x217c61;_0xa8d87b||this[_0x23b78e(0x11a)]();}),this[_0x217c61(0xf7)](this[_0x217c61(0x13c)],_0x217c61(0xf6),(_0x1d2d68,_0x4bad0e,_0x372247)=>{const _0x3370a8=_0x217c61;_0x372247&&this[_0x3370a8(0x11a)]();}),this[_0x217c61(0x121)]>0x0&&this[_0x217c61(0x123)](),this[_0x217c61(0xf7)](this[_0x217c61(0x126)][_0x217c61(0xeb)],_0x217c61(0x134),()=>{const _0x254e18=_0x217c61;this[_0x254e18(0x123)]();});}[_0x33eaff(0x124)](){const _0x3f181c=_0x33eaff,_0x2d0de5=this[_0x3f181c(0x131)];return{'tag':_0x3f181c(0x12b),'attributes':{'class':['ck',_0x3f181c(0x10d),_0x3f181c(0xf3),_0x3f181c(0x108),_0x2d0de5['if'](_0x3f181c(0x102),_0x3f181c(0x122)),_0x2d0de5['if'](_0x3f181c(0x12a),_0x3f181c(0x13d)),_0x2d0de5['if'](_0x3f181c(0x114),_0x3f181c(0x12f)),_0x2d0de5['to'](_0x3f181c(0xea),_0x57c6b0=>_0x57c6b0?_0x3f181c(0x13b)+_0x57c6b0:'')],'data-thread-id':this[_0x3f181c(0x13c)]['id'],'tabindex':0x0,'role':_0x3f181c(0x111),'aria-label':_0x2d0de5['to'](_0x3f181c(0x11b)),'aria-describedby':this[_0x3f181c(0x101)]['id']},'children':[{'tag':_0x3f181c(0x12b),'attributes':{'class':_0x3f181c(0x10e)},'children':this[_0x3f181c(0x12e)]}]};}[_0x33eaff(0x105)](){const _0x4c7742=_0x33eaff;super[_0x4c7742(0x105)](),this[_0x4c7742(0x110)]=this[_0x4c7742(0x113)][_0x4c7742(0x103)](_0x4c7742(0x12d)),this[_0x4c7742(0x13c)]['on'](_0x4c7742(0xff),()=>{const _0x4defa7=_0x4c7742;this[_0x4defa7(0x11f)]();}),this[_0x4c7742(0x11f)]();}[_0x33eaff(0x11a)](){const _0x2ec6d4=_0x33eaff;this[_0x2ec6d4(0xe8)]();for(const _0x3e1c03 of this[_0x2ec6d4(0x126)][_0x2ec6d4(0xeb)])_0x3e1c03[_0x2ec6d4(0xe8)]();}[_0x33eaff(0x123)](){const _0x3f47c7=_0x33eaff,{locale:_0x483c40}=this,_0xecdf70=this[_0x3f47c7(0x126)][_0x3f47c7(0xeb)][_0x3f47c7(0x133)](0x0);_0xecdf70===this[_0x3f47c7(0x107)]||_0xecdf70[_0x3f47c7(0xf5)]||(this[_0x3f47c7(0x107)]=_0xecdf70,this[_0x3f47c7(0x109)](_0x3f47c7(0xea)),this[_0x3f47c7(0xf9)](_0x3f47c7(0xea))['to'](_0xecdf70,_0x3f47c7(0xea),_0x5d872d=>_0x3f47c7(0x135)===_0x5d872d?_0x3f47c7(0x135):null),_0xecdf70[_0x3f47c7(0x12c)]=_0x22bef4(_0x483c40,_0x3f47c7(0xfb)),_0xecdf70[_0x3f47c7(0x11e)]['on'](_0x3f47c7(0xfd),_0x3159a4=>{const _0x418c46=_0x3f47c7;_0x3159a4[_0x418c46(0x139)](),this[_0x418c46(0x115)](_0x22bef4(_0x483c40,_0x418c46(0xf8)),this[_0x418c46(0x110)])[_0x418c46(0xfc)](()=>{const _0x3e0d22=_0x418c46;this[_0x3e0d22(0x118)](_0x3e0d22(0xfa));});},{'priority':_0x3f47c7(0x130)}),this['on'](_0x3f47c7(0x125),()=>{const _0x2b3e4d=_0x3f47c7;_0xecdf70[_0x2b3e4d(0x119)]();}),_0xecdf70[_0x3f47c7(0x11d)][_0x3f47c7(0x134)](this[_0x3f47c7(0x106)],0x0),_0xecdf70[_0x3f47c7(0x10f)][_0x3f47c7(0x134)](this[_0x3f47c7(0x106)],0x0));}[_0x33eaff(0x138)](){const _0x22ac58=_0x33eaff,_0x22e661=new _0x1d010e(this[_0x22ac58(0xe7)]);return _0x22e661[_0x22ac58(0x13a)]=_0x22bef4(this[_0x22ac58(0xe7)],_0x22ac58(0xed)),_0x22e661[_0x22ac58(0x120)]=_0x22bef4(this[_0x22ac58(0xe7)],_0x22ac58(0xed)),_0x22e661[_0x22ac58(0xf1)]=_0x27ed1c,_0x22e661[_0x22ac58(0xf2)]({'attributes':{'class':_0x22ac58(0xf0)}}),_0x22e661[_0x22ac58(0xf9)](_0x22ac58(0x10a))['to'](this[_0x22ac58(0x13c)],_0x22ac58(0x136),_0x1c938a=>!_0x1c938a),_0x22e661[_0x22ac58(0xf9)](_0x22ac58(0x11c))['to'](this[_0x22ac58(0x13c)],_0x22ac58(0xee),this[_0x22ac58(0x13c)],_0x22ac58(0x117),(_0x40556e,_0x36bdba)=>_0x40556e&&!_0x36bdba),_0x22e661['on'](_0x22ac58(0xfd),()=>{const _0xeeb37c=_0x22ac58;this[_0xeeb37c(0x118)](_0xeeb37c(0x127),this[_0xeeb37c(0x13c)]['id']);}),_0x22e661;}[_0x33eaff(0x11f)](){const _0x4e695a=_0x33eaff;this[_0x4e695a(0x13c)][_0x4e695a(0xec)]?this[_0x4e695a(0x12e)][_0x4e695a(0xf4)](this[_0x4e695a(0xfe)])||(this[_0x4e695a(0x12e)][_0x4e695a(0x134)](this[_0x4e695a(0xfe)],0x0),this[_0x4e695a(0x10f)][_0x4e695a(0x134)](this[_0x4e695a(0xfe)],0x0)):this[_0x4e695a(0x12e)][_0x4e695a(0xf4)](this[_0x4e695a(0xfe)])&&(this[_0x4e695a(0x12e)][_0x4e695a(0x135)](this[_0x4e695a(0xfe)]),this[_0x4e695a(0x10f)][_0x4e695a(0x135)](this[_0x4e695a(0xfe)]));}}function _0x6237(){const _0x2c7052=['955533AFHMPY','locale','cancelConfirm','2281168MBYbMy','actionIndicator','commentViews','archivedAt','Resolve','isResolvable','6021912wgqclV','ck-comment--resolve','icon','extendTemplate','ck-reset_all-excluded','has','isSystemComment','change:isReadOnly','listenTo','Delete\x20comment\x20thread?','bind','removeCommentThread','Write\x20a\x20comment...','then','execute','commentThreadHeaderView','change:archivedAt','setTemplate','ariaDescriptionView','isActive','querySelector','commentThreadInputView','render','resolveButton','_boundFirstCommentView','ck-rounded-corners','unbind','isEnabled','24NvMWLf','1747548soRxcZ','ck-thread','ck-thread__container','focusables','containerElement','listitem','827407sqhYIf','element','isConfirm','showConfirm','change:isActive','isResolved','fire','focus','_cancelAllConfirms','ariaLabel','isVisible','actionBar','removeButton','_updateArchivedThreadHeader','tooltip','length','ck-thread--active','_bindFirstCommentView','getTemplate','removeConfirm','commentsListView','resolveCommentThread','set','2624060WnNhbQ','isUnlinked','div','placeholder','.ck-thread__container','commentThreadChildren','ck-thread--remove-confirmation','high','bindTemplate','createCollection','get','add','remove','isReadOnly','472736WxzrCS','_createResolveButton','stop','label','ck-thread--','_model','ck-thread--unlinked'];_0x6237=function(){return _0x2c7052;};return _0x6237();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1d1a98=_0x4806;(function(_0x18a134,_0x282285){const _0x1f0f0e=_0x4806,_0x3b3cab=_0x18a134();while(!![]){try{const _0x5b41ee=parseInt(_0x1f0f0e(0x171))/0x1+parseInt(_0x1f0f0e(0x166))/0x2*(-parseInt(_0x1f0f0e(0x138))/0x3)+parseInt(_0x1f0f0e(0x164))/0x4+-parseInt(_0x1f0f0e(0x17b))/0x5*(-parseInt(_0x1f0f0e(0x152))/0x6)+-parseInt(_0x1f0f0e(0x12f))/0x7+parseInt(_0x1f0f0e(0x13c))/0x8*(parseInt(_0x1f0f0e(0x11f))/0x9)+-parseInt(_0x1f0f0e(0x14c))/0xa*(-parseInt(_0x1f0f0e(0x162))/0xb);if(_0x5b41ee===_0x282285)break;else _0x3b3cab['push'](_0x3b3cab['shift']());}catch(_0x44f59c){_0x3b3cab['push'](_0x3b3cab['shift']());}}}(_0x2968,0x9e75c));import{IconRemoveComment as _0x3dd488,IconPencil as _0x52fd6f,IconThreeVerticalDots as _0x259a4e}from'ckeditor5/src/icons.js';import{ButtonView as _0x360542,createDropdown as _0x531bc1,ListView as _0x58ac56,ListItemView as _0x16c20c,focusChildOnDropdownOpen as _0x197138}from'ckeditor5/src/ui.js';function _0x4806(_0x21e5f6,_0x4a41bd){const _0x29686b=_0x2968();return _0x4806=function(_0x4806f3,_0xf92c2d){_0x4806f3=_0x4806f3-0x109;let _0x28286c=_0x29686b[_0x4806f3];return _0x28286c;},_0x4806(_0x21e5f6,_0x4a41bd);}import{UserView as _0x5b4f16,ConfirmMixin as _0xe7b1f2,LateFocusDropdownButtonView as _0x557833}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x8cc9a2}from'./basecommentview.js';import{getTranslation as _0xca1a44}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xe7b1f2(_0x8cc9a2){[_0x1d1a98(0x148)];[_0x1d1a98(0x170)];constructor(_0x5080cd,_0x466c19,_0x39111a){const _0x1d9246=_0x1d1a98;super(_0x5080cd,_0x466c19,_0x39111a),this[_0x1d9246(0x123)](_0x1d9246(0x154),null),this[_0x1d9246(0x123)](_0x1d9246(0x158),_0xca1a44(_0x5080cd,_0x1d9246(0x116))),this[_0x1d9246(0x12a)](_0x1d9246(0x131))['to'](_0x466c19),this[_0x1d9246(0x12a)](_0x1d9246(0x111))['to'](_0x466c19),this[_0x1d9246(0x148)]=this[_0x1d9246(0x17a)](),this[_0x1d9246(0x135)]||(this[_0x1d9246(0x12e)]=this[_0x1d9246(0x155)](),this[_0x1d9246(0x165)]=this[_0x1d9246(0x136)](),this[_0x1d9246(0x11e)]=this[_0x1d9246(0x17a)](),this[_0x1d9246(0x11e)][_0x1d9246(0x12b)]([this[_0x1d9246(0x12e)],this[_0x1d9246(0x165)]]),this[_0x1d9246(0x14f)]=this[_0x1d9246(0x173)](),this[_0x1d9246(0x148)][_0x1d9246(0x13b)](this[_0x1d9246(0x14f)]),this[_0x1d9246(0x112)][_0x1d9246(0x13b)](this[_0x1d9246(0x14f)])),this[_0x1d9246(0x170)]=new _0x5b4f16(_0x5080cd,_0x466c19[_0x1d9246(0x126)],this[_0x1d9246(0x17e)]()),this[_0x1d9246(0x170)][_0x1d9246(0x153)]({'attributes':{'class':[_0x1d9246(0x157),_0x1d9246(0x16f)],'aria-hidden':!0x0}}),this[_0x1d9246(0x114)](_0x466c19,_0x1d9246(0x180),()=>this[_0x1d9246(0x15d)]()),this[_0x1d9246(0x151)](this[_0x1d9246(0x130)]());}[_0x1d1a98(0x130)](){const _0x24e2bd=_0x1d1a98,_0x48f299=this[_0x24e2bd(0x13f)],_0x4a5d17=[{'tag':_0x24e2bd(0x181),'attributes':{'class':[_0x24e2bd(0x147),_0x24e2bd(0x17c)]},'children':[{'tag':_0x24e2bd(0x141),'children':[{'text':this[_0x24e2bd(0x170)][_0x24e2bd(0x127)]}],'attributes':{'class':[_0x24e2bd(0x10a),_0x24e2bd(0x128)],'data-cke-tooltip-text':this[_0x24e2bd(0x170)][_0x24e2bd(0x127)]}},{'tag':_0x24e2bd(0x16d),'attributes':{'datetime':_0x48f299['to'](_0x24e2bd(0x131)),'class':[_0x24e2bd(0x11a),_0x24e2bd(0x169)]},'children':[{'text':_0x48f299['to'](_0x24e2bd(0x131),_0x137681=>this[_0x24e2bd(0x119)][_0x24e2bd(0x137)](_0x137681))}]}]},{'tag':_0x24e2bd(0x181),'attributes':{'class':[_0x24e2bd(0x140),_0x24e2bd(0x132),_0x48f299['if'](_0x24e2bd(0x17f),_0x24e2bd(0x124)),_0x48f299['if'](_0x24e2bd(0x17f),_0x24e2bd(0x15a))]},'children':this[_0x24e2bd(0x148)]},{'tag':_0x24e2bd(0x181),'attributes':{'class':[_0x24e2bd(0x14e)]},'children':this[_0x24e2bd(0x10b)]},this[_0x24e2bd(0x16a)]];return this[_0x24e2bd(0x15f)][_0x24e2bd(0x13d)]&&_0x4a5d17[_0x24e2bd(0x110)]({'tag':_0x24e2bd(0x181),'attributes':{'class':[_0x24e2bd(0x175)]},'children':[{'text':this[_0x24e2bd(0x179)]()}]}),{'tag':'li','attributes':{'class':[_0x24e2bd(0x113),_0x48f299['if'](_0x24e2bd(0x159),_0x24e2bd(0x16c))],'tabindex':-0x1,'aria-label':_0x48f299['to'](_0x24e2bd(0x10c)),'aria-describedby':this[_0x24e2bd(0x16a)]['id'],'role':_0x24e2bd(0x177)},'children':[{'tag':_0x24e2bd(0x181),'attributes':{'class':[_0x24e2bd(0x168),_0x24e2bd(0x167),_0x48f299['if'](_0x24e2bd(0x17f),_0x24e2bd(0x14a)),_0x48f299['if'](_0x24e2bd(0x135),_0x24e2bd(0x11c)),_0x48f299['to'](_0x24e2bd(0x154),_0x32b1d6=>_0x32b1d6?_0x24e2bd(0x174)+_0x32b1d6:'')],'data-author-id':this[_0x24e2bd(0x15f)][_0x24e2bd(0x126)]['id'],'data-comment-id':this[_0x24e2bd(0x15f)]['id'],'role':_0x24e2bd(0x176)},'children':[this[_0x24e2bd(0x170)],{'tag':_0x24e2bd(0x181),'attributes':{'class':[_0x24e2bd(0x15b),_0x24e2bd(0x14d)]},'children':_0x4a5d17}]}]};}[_0x1d1a98(0x155)](){const _0x3766b2=_0x1d1a98,_0x33f1a8=new _0x360542(this[_0x3766b2(0x122)]);return _0x33f1a8[_0x3766b2(0x12d)]=_0xca1a44(this[_0x3766b2(0x122)],_0x3766b2(0x17d)),_0x33f1a8[_0x3766b2(0x150)]=_0x52fd6f,_0x33f1a8[_0x3766b2(0x14b)]=!0x0,_0x33f1a8[_0x3766b2(0x153)]({'attributes':{'class':_0x3766b2(0x14a)}}),_0x33f1a8[_0x3766b2(0x12a)](_0x3766b2(0x133))['to'](this[_0x3766b2(0x15f)],_0x3766b2(0x16b),_0x5041f5=>!_0x5041f5),_0x33f1a8[_0x3766b2(0x12a)](_0x3766b2(0x109))['to'](this[_0x3766b2(0x15f)],_0x3766b2(0x139)),_0x33f1a8['on'](_0x3766b2(0x125),()=>this[_0x3766b2(0x15c)]()),_0x33f1a8;}[_0x1d1a98(0x136)](){const _0x599449=_0x1d1a98,_0x35935a=new _0x360542(this[_0x599449(0x122)]);return _0x35935a[_0x599449(0x12d)]=_0xca1a44(this[_0x599449(0x122)],_0x599449(0x15e)),_0x35935a[_0x599449(0x150)]=_0x3dd488,_0x35935a[_0x599449(0x14b)]=!0x0,_0x35935a[_0x599449(0x153)]({'attributes':{'class':_0x599449(0x146)}}),_0x35935a[_0x599449(0x12a)](_0x599449(0x133))['to'](this[_0x599449(0x15f)],_0x599449(0x16b),_0x487fb7=>!_0x487fb7),_0x35935a[_0x599449(0x12a)](_0x599449(0x109))['to'](this[_0x599449(0x15f)],_0x599449(0x115)),_0x35935a['on'](_0x599449(0x125),()=>{const _0x3d8e9e=_0x599449;this[_0x3d8e9e(0x16e)](_0xca1a44(this[_0x3d8e9e(0x122)],_0x3d8e9e(0x129)),this[_0x3d8e9e(0x144)])[_0x3d8e9e(0x172)](()=>{const _0x29217e=_0x3d8e9e;this[_0x29217e(0x134)](_0x29217e(0x13a),this[_0x29217e(0x15f)]['id']);});}),_0x35935a;}[_0x1d1a98(0x173)](){const _0x426467=_0x1d1a98,_0x488026=_0x531bc1(this[_0x426467(0x122)],_0x557833),_0xa0b465=_0x488026[_0x426467(0x10e)][_0x426467(0x160)],_0xae23f1=new _0x58ac56(this[_0x426467(0x122)]),_0x5271cb=_0x488026[_0x426467(0x13f)];_0x197138(_0x488026,()=>this[_0x426467(0x11e)][_0x426467(0x11d)](_0x3e86aa=>_0x3e86aa[_0x426467(0x109)])),_0x488026[_0x426467(0x153)]({'attributes':{'class':[_0x5271cb['if'](_0x426467(0x109),_0x426467(0x182),_0x2adc23=>!_0x2adc23)]}});const _0x4810e0=(_0x2f3f5a,_0x13a99a=-0x1)=>{const _0x793af3=_0x426467,_0x5646a0=new _0x16c20c(this[_0x793af3(0x122)]);_0x5646a0[_0x793af3(0x160)][_0x793af3(0x13b)](_0x2f3f5a);const _0x4fc317=_0x13a99a>-0x1?_0x13a99a:_0xae23f1[_0x793af3(0x11e)][_0x793af3(0x117)];_0xae23f1[_0x793af3(0x11e)][_0x793af3(0x13b)](_0x5646a0,_0x4fc317);const _0x3ef577=Array[_0x793af3(0x10f)](this[_0x793af3(0x11e)]);_0x488026[_0x793af3(0x161)](_0x793af3(0x133),_0x793af3(0x109)),_0x488026[_0x793af3(0x12a)](_0x793af3(0x133))[_0x793af3(0x118)](_0x3ef577,_0x793af3(0x133),(..._0x46da60)=>_0x46da60[_0x793af3(0x10d)](_0xc0b55e=>_0xc0b55e)),_0x488026[_0x793af3(0x12a)](_0x793af3(0x109))[_0x793af3(0x118)](_0x3ef577,_0x793af3(0x109),(..._0xb9db51)=>_0xb9db51[_0x793af3(0x10d)](_0x256300=>_0x256300));};_0x488026[_0x426467(0x11b)]='sw',_0x488026[_0x426467(0x149)][_0x426467(0x123)]({'label':_0xca1a44(this[_0x426467(0x122)],_0x426467(0x120)),'icon':_0x259a4e});for(const _0x2a3b8e of this[_0x426467(0x11e)])_0x4810e0(_0x2a3b8e);return _0xa0b465[_0x426467(0x13b)](_0xae23f1),_0x488026[_0x426467(0x114)](this[_0x426467(0x11e)],_0x426467(0x13b),(_0xe930e7,_0x42bc2a,_0x5672fc)=>{_0x4810e0(_0x42bc2a,_0x5672fc);}),_0x488026[_0x426467(0x114)](this[_0x426467(0x11e)],_0x426467(0x142),(_0x47b385,_0x1e76b3,_0x39156c)=>{const _0x5322a2=_0x426467;_0xae23f1[_0x5322a2(0x11e)][_0x5322a2(0x142)](_0x39156c);}),_0x488026;}[_0x1d1a98(0x178)](_0x4cceb2,_0x1139cc){const _0x5c6e2c=_0x1d1a98,_0x30cb6d=_0x4cceb2&&_0x4cceb2[_0x5c6e2c(0x144)];_0x30cb6d&&(this[_0x5c6e2c(0x114)](_0x30cb6d,_0x5c6e2c(0x143),()=>this[_0x5c6e2c(0x154)]=_0x1139cc),this[_0x5c6e2c(0x114)](_0x30cb6d,_0x5c6e2c(0x12c),()=>this[_0x5c6e2c(0x154)]=_0x1139cc),this[_0x5c6e2c(0x114)](_0x30cb6d,_0x5c6e2c(0x13e),()=>this[_0x5c6e2c(0x154)]=null),this[_0x5c6e2c(0x114)](_0x30cb6d,_0x5c6e2c(0x121),()=>this[_0x5c6e2c(0x154)]=null));}[_0x1d1a98(0x156)](){const _0x44becc=_0x1d1a98,_0x22d4aa=super[_0x44becc(0x156)]();return _0x22d4aa[_0x44becc(0x12a)](_0x44becc(0x158))['to'](this),_0x22d4aa;}[_0x1d1a98(0x163)](){const _0x569e4c=_0x1d1a98;super[_0x569e4c(0x163)](),this[_0x569e4c(0x178)](this[_0x569e4c(0x12e)],_0x569e4c(0x145)),this[_0x569e4c(0x178)](this[_0x569e4c(0x165)],_0x569e4c(0x142));}}function _0x2968(){const _0x5a3695=['icon','setTemplate','132lUOqPJ','extendTemplate','actionIndicator','_createEditButton','_createCommentInputView','ck-comment__user','placeholder','isConfirm','ck-annotation__actions--hidden','ck-comment__main','switchToEditMode','cancelConfirm','Remove','_model','children','unbind','5179801mVQbTq','render','4976200kicqlP','removeButton','1032776wCqTZl','ck-annotation','ck-comment','ck-annotation__info-time','ariaDescriptionView','isReadOnly','ck-comment--remove-confirmation','time','showConfirm','ck-annotation__user','userView','136650xYQwTV','then','_createDropdown','ck-comment--','ck-comment__external','group','listitem','_attachActions','getExternalCommentNote','createCollection','56015ircYHl','ck-annotation__info','Edit','getUserViewNotificationText','isEditMode','change:isRemovable','div','ck-hidden','isVisible','ck-comment__info-name','visibleView','ariaLabel','some','panelView','from','push','resolvedAt','focusables','ck-comment__wrapper','listenTo','isRemovable','Reply...','length','toMany','_config','ck-comment__info-time','panelPosition','ck-comment--info','find','items','2729961xMbSJk','Show\x20more\x20items','blur','locale','set','ck-comment__actions--hidden','execute','author','name','ck-annotation__info-name','Delete\x20comment?','bind','addMany','focus','label','editButton','8651622UIWcBz','getTemplate','authoredAt','ck-annotation__actions','isEnabled','fire','isSystemComment','_createRemoveButton','formatDateTime','3WAUizA','isEditable','removeComment','add','8vdXpDg','isExternal','mouseleave','bindTemplate','ck-comment__actions','span','remove','mouseenter','element','edit','ck-comment--remove','ck-comment__info','actionBar','buttonView','ck-comment--edit','withText','10YewLRF','ck-annotation__main','ck-annotation__content-wrapper','dropdown'];_0x2968=function(){return _0x5a3695;};return _0x2968();}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x4f69f7=_0x18a2;(function(_0x8daca0,_0x509526){var _0x1eff34=_0x18a2,_0x1349ac=_0x8daca0();while(!![]){try{var _0x12d9ba=-parseInt(_0x1eff34(0x80))/0x1+-parseInt(_0x1eff34(0x78))/0x2*(parseInt(_0x1eff34(0x72))/0x3)+-parseInt(_0x1eff34(0x7f))/0x4+-parseInt(_0x1eff34(0x79))/0x5*(-parseInt(_0x1eff34(0x7d))/0x6)+-parseInt(_0x1eff34(0x74))/0x7*(-parseInt(_0x1eff34(0x7b))/0x8)+-parseInt(_0x1eff34(0x7a))/0x9+parseInt(_0x1eff34(0x76))/0xa;if(_0x12d9ba===_0x509526)break;else _0x1349ac['push'](_0x1349ac['shift']());}catch(_0x4280c0){_0x1349ac['push'](_0x1349ac['shift']());}}}(_0x9088,0xebdd1));import{Plugin as _0x1c4da2}from'ckeditor5/src/core.js';import{CommentsRepository as _0x161f58}from'./comments/commentsrepository.js';import{CommentsEditing as _0x43b8f0}from'./comments/commentsediting.js';function _0x18a2(_0x4629e3,_0x503efd){var _0x9088e=_0x9088();return _0x18a2=function(_0x18a21d,_0x22c83){_0x18a21d=_0x18a21d-0x72;var _0x4f780a=_0x9088e[_0x18a21d];return _0x4f780a;},_0x18a2(_0x4629e3,_0x503efd);}import{CommentsUI as _0x1a4848}from'./comments/commentsui.js';function _0x9088(){var _0x366a70=['13184316vbZZsJ','8SaSGEv','Comments','48OuJdAz','isOfficialPlugin','2469648qBNLDl','86585eTqbTF','443739omLDud','pluginName','10351075TZxsaD','requires','18654000XvnSKn','isPremiumPlugin','6WPwGMd','146645AbFoCr'];_0x9088=function(){return _0x366a70;};return _0x9088();}import{CommentsOnly as _0xb6e3c5}from'./commentsonly.js';import{WideSidebar as _0x36e361}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x38fc79}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x486582}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x46868f}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x10af2a}from'./comments/commentsarchive.js';export class Comments extends _0x1c4da2{static get[_0x4f69f7(0x75)](){return[_0x161f58,_0x43b8f0,_0x1a4848,_0x10af2a,_0x46868f,_0xb6e3c5,_0x36e361,_0x38fc79,_0x486582];}static get[_0x4f69f7(0x73)](){var _0x5fbc46=_0x4f69f7;return _0x5fbc46(0x7c);}static get[_0x4f69f7(0x7e)](){return!0x0;}static get[_0x4f69f7(0x77)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4bdd71=_0x3b0d;(function(_0x13facf,_0xfd884b){const _0x4fa1ab=_0x3b0d,_0x4865d5=_0x13facf();while(!![]){try{const _0x600ed=-parseInt(_0x4fa1ab(0x192))/0x1+parseInt(_0x4fa1ab(0x199))/0x2+parseInt(_0x4fa1ab(0x1a4))/0x3*(-parseInt(_0x4fa1ab(0x188))/0x4)+parseInt(_0x4fa1ab(0x187))/0x5+-parseInt(_0x4fa1ab(0x1a6))/0x6*(-parseInt(_0x4fa1ab(0x1ac))/0x7)+-parseInt(_0x4fa1ab(0x190))/0x8+-parseInt(_0x4fa1ab(0x191))/0x9;if(_0x600ed===_0xfd884b)break;else _0x4865d5['push'](_0x4865d5['shift']());}catch(_0x56a56b){_0x4865d5['push'](_0x4865d5['shift']());}}}(_0x3fed,0x49a23));function _0x3fed(){const _0x316853=['view','isPremiumPlugin','1219024gLaEAS','1469484vWwWpp','250139GnQHZB','has','editSource','CommentsOnly','affectsData','requires','_enableCommentsOnlyMode','447506FBjVhA','config','addCommentThread','SourceEditing','_disableCommentsOnlyMode','stopListening','change:isEnabled','clipboardInput','DragDrop','listenTo','editor','201567vQAAjd','forceDisabled','330MoVDMo','pluginName','clearForceDisabled','cut','isEnabled','get','20825NFaLbR','delete','highest','plugins','commentsOnlyMode','afterInit','document','isOfficialPlugin','2736035nmPDMu','4jylMPg','stop','commands','commentsOnly','set','editing'];_0x3fed=function(){return _0x316853;};return _0x3fed();}function _0x3b0d(_0x338da6,_0x2e4cd3){const _0x3fede1=_0x3fed();return _0x3b0d=function(_0x3b0d29,_0x30360b){_0x3b0d29=_0x3b0d29-0x185;let _0x33e661=_0x3fede1[_0x3b0d29];return _0x33e661;},_0x3b0d(_0x338da6,_0x2e4cd3);}import{Plugin as _0x5624f0}from'ckeditor5/src/core.js';import{CommentsEditing as _0x54a1a8}from'./comments/commentsediting.js';export class CommentsOnly extends _0x5624f0{static get[_0x4bdd71(0x1a7)](){const _0x784f1a=_0x4bdd71;return _0x784f1a(0x195);}static get[_0x4bdd71(0x186)](){return!0x0;}static get[_0x4bdd71(0x18f)](){return!0x0;}static get[_0x4bdd71(0x197)](){return[_0x54a1a8];}constructor(_0x554ce9){const _0x415aed=_0x4bdd71;super(_0x554ce9),this[_0x415aed(0x18c)](_0x415aed(0x1aa),!0x1),this['on'](_0x415aed(0x19f),(_0x10c8e3,_0x5bf245,_0x31815c)=>{const _0x4a2b15=_0x415aed;_0x31815c?this[_0x4a2b15(0x198)]():this[_0x4a2b15(0x19d)]();});}[_0x4bdd71(0x1b1)](){const _0x2f4dee=_0x4bdd71;!this[_0x2f4dee(0x1aa)]&&this[_0x2f4dee(0x1a3)][_0x2f4dee(0x19a)][_0x2f4dee(0x1ab)](_0x2f4dee(0x18b))&&(this[_0x2f4dee(0x1aa)]=!0x0);}[_0x4bdd71(0x198)](){const _0x22da0e=_0x4bdd71;for(const [_0x107367,_0xbc1ae7]of this[_0x22da0e(0x1a3)][_0x22da0e(0x18a)])_0xbc1ae7[_0x22da0e(0x196)]&&_0x22da0e(0x19b)!==_0x107367&&_0xbc1ae7[_0x22da0e(0x1a5)](_0x22da0e(0x1b0));(this[_0x22da0e(0x1a3)][_0x22da0e(0x1af)][_0x22da0e(0x193)](_0x22da0e(0x1a1))&&this[_0x22da0e(0x1a3)][_0x22da0e(0x1af)][_0x22da0e(0x1ab)](_0x22da0e(0x1a1))[_0x22da0e(0x1a5)](_0x22da0e(0x1b0)),this[_0x22da0e(0x1a3)][_0x22da0e(0x1af)][_0x22da0e(0x193)](_0x22da0e(0x19c)))&&this[_0x22da0e(0x1a3)][_0x22da0e(0x1af)][_0x22da0e(0x1ab)](_0x22da0e(0x19c))[_0x22da0e(0x1a5)](_0x22da0e(0x1b0));this[_0x22da0e(0x1a3)][_0x22da0e(0x18a)][_0x22da0e(0x1ab)](_0x22da0e(0x194))?.[_0x22da0e(0x1a5)](_0x22da0e(0x1b0));const _0x1997a4=this[_0x22da0e(0x1a3)][_0x22da0e(0x18d)][_0x22da0e(0x18e)][_0x22da0e(0x185)];this[_0x22da0e(0x1a2)](_0x1997a4,_0x22da0e(0x1a9),_0x5159c8=>_0x5159c8[_0x22da0e(0x189)](),{'priority':_0x22da0e(0x1ae)}),this[_0x22da0e(0x1a2)](_0x1997a4,_0x22da0e(0x1a0),_0x10da0e=>_0x10da0e[_0x22da0e(0x189)](),{'priority':_0x22da0e(0x1ae)}),this[_0x22da0e(0x1a2)](_0x1997a4,_0x22da0e(0x1ad),_0x49a212=>_0x49a212[_0x22da0e(0x189)](),{'priority':_0x22da0e(0x1ae)});}[_0x4bdd71(0x19d)](){const _0x2e55c6=_0x4bdd71;for(const [_0x501c4f,_0x4b069d]of this[_0x2e55c6(0x1a3)][_0x2e55c6(0x18a)])_0x4b069d[_0x2e55c6(0x196)]&&_0x2e55c6(0x19b)!==_0x501c4f&&_0x4b069d[_0x2e55c6(0x1a8)](_0x2e55c6(0x1b0));this[_0x2e55c6(0x1a3)][_0x2e55c6(0x1af)][_0x2e55c6(0x193)](_0x2e55c6(0x19c))&&this[_0x2e55c6(0x1a3)][_0x2e55c6(0x1af)][_0x2e55c6(0x1ab)](_0x2e55c6(0x19c))[_0x2e55c6(0x1a8)](_0x2e55c6(0x1b0)),this[_0x2e55c6(0x1a3)][_0x2e55c6(0x18a)][_0x2e55c6(0x1ab)](_0x2e55c6(0x194))?.[_0x2e55c6(0x1a8)](_0x2e55c6(0x1b0)),this[_0x2e55c6(0x19e)](this[_0x2e55c6(0x1a3)][_0x2e55c6(0x18d)][_0x2e55c6(0x18e)][_0x2e55c6(0x185)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3534a5,_0x317a9e){var _0xbc382e=_0x5cbc,_0x11aa73=_0x3534a5();while(!![]){try{var _0x40e5bb=-parseInt(_0xbc382e(0x135))/0x1+-parseInt(_0xbc382e(0x139))/0x2+-parseInt(_0xbc382e(0x13b))/0x3+-parseInt(_0xbc382e(0x136))/0x4+parseInt(_0xbc382e(0x138))/0x5+parseInt(_0xbc382e(0x13a))/0x6*(-parseInt(_0xbc382e(0x13c))/0x7)+parseInt(_0xbc382e(0x137))/0x8;if(_0x40e5bb===_0x317a9e)break;else _0x11aa73['push'](_0x11aa73['shift']());}catch(_0x124d88){_0x11aa73['push'](_0x11aa73['shift']());}}}(_0x33b8,0x5b193));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';function _0x33b8(){var _0x4de907=['637278XLsYln','4990727RBpYYk','496684MiwenV','1177280bkdhHy','17758456BwRtSO','1789435xJgBDt','976328sWRBnV','6FmdDAk'];_0x33b8=function(){return _0x4de907;};return _0x33b8();}export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';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';function _0x5cbc(_0x2fa0ae,_0x2a59d2){var _0x33b870=_0x33b8();return _0x5cbc=function(_0x5cbcf3,_0x2bed31){_0x5cbcf3=_0x5cbcf3-0x135;var _0x36172a=_0x33b870[_0x5cbcf3];return _0x36172a;},_0x5cbc(_0x2fa0ae,_0x2a59d2);}export{CommentsEditing}from'./comments/commentsediting.js';export{AnnotationCounterButtonView}from'./annotations/view/annotationcounterbuttonview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x5f552e,_0x5bfa10,_0xc939ee){const t=_0x5f552e['t'];switch(_0x5bfa10){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'},_0xc939ee);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'},_0xc939ee);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'},_0xc939ee);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'},_0xc939ee);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0xc939ee);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'},_0xc939ee);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'},_0xc939ee);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'},_0xc939ee);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(_0x47d024,_0x2df19){const _0x473052=_0x1f5f,_0xbe2120=_0x47d024();while(!![]){try{const _0x5d294d=parseInt(_0x473052(0x11f))/0x1*(-parseInt(_0x473052(0x12f))/0x2)+-parseInt(_0x473052(0x128))/0x3+parseInt(_0x473052(0x120))/0x4*(parseInt(_0x473052(0x127))/0x5)+-parseInt(_0x473052(0x125))/0x6*(-parseInt(_0x473052(0x130))/0x7)+-parseInt(_0x473052(0x12c))/0x8*(parseInt(_0x473052(0x12e))/0x9)+parseInt(_0x473052(0x12d))/0xa+parseInt(_0x473052(0x122))/0xb;if(_0x5d294d===_0x2df19)break;else _0xbe2120['push'](_0xbe2120['shift']());}catch(_0x44b72f){_0xbe2120['push'](_0xbe2120['shift']());}}}(_0x2ce4,0xf41e4));function _0x1f5f(_0x30a9cd,_0x17be52){const _0x2ce49e=_0x2ce4();return _0x1f5f=function(_0x1f5fff,_0x5baf2f){_0x1f5fff=_0x1f5fff-0x11d;let _0x4509b7=_0x2ce49e[_0x1f5fff];return _0x4509b7;},_0x1f5f(_0x30a9cd,_0x17be52);}import{throttle as _0x2c9c3d}from'es-toolkit/compat';function _0x2ce4(){const _0x5e5074=['class','observe','8rderqo','8111000ruBdxq','17747946cuGdbL','94SUEyle','8099483jZlyUb','attributeName','characterData','21430sLQhhA','3684hlXhDP','disconnect','30545724cOLkxo','attributes','childList','6gzlCmJ','type','3235ySnXmI','4085484GhHoOQ','cancel'];_0x2ce4=function(){return _0x5e5074;};return _0x2ce4();}export function createMutationObserver(_0x310a5c){const _0x5ac217=_0x2c9c3d(_0x310a5c,0x1e),_0x231222=new MutationObserver(_0x4e9559=>{const _0xea46f6=_0x1f5f;for(const _0x35a856 of _0x4e9559)(_0xea46f6(0x123)==_0x35a856[_0xea46f6(0x126)]&&_0xea46f6(0x12a)==_0x35a856[_0xea46f6(0x11d)]||_0xea46f6(0x124)==_0x35a856[_0xea46f6(0x126)]||_0xea46f6(0x11e)==_0x35a856[_0xea46f6(0x126)])&&_0x5ac217();});return{'attach'(_0xb6ccd3){const _0x4b8ace=_0x1f5f;_0x231222[_0x4b8ace(0x12b)](_0xb6ccd3,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x2d4c75=_0x1f5f;_0x231222[_0x2d4c75(0x121)](),_0x5ac217[_0x2d4c75(0x129)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4d036f,_0x4652b7){const _0xb55ae8=_0x209a,_0x3d36bb=_0x4d036f();while(!![]){try{const _0x2fe37d=parseInt(_0xb55ae8(0x72))/0x1*(-parseInt(_0xb55ae8(0x67))/0x2)+parseInt(_0xb55ae8(0x6a))/0x3*(parseInt(_0xb55ae8(0x69))/0x4)+-parseInt(_0xb55ae8(0x6b))/0x5+-parseInt(_0xb55ae8(0x6e))/0x6+-parseInt(_0xb55ae8(0x70))/0x7*(-parseInt(_0xb55ae8(0x71))/0x8)+parseInt(_0xb55ae8(0x73))/0x9*(-parseInt(_0xb55ae8(0x6c))/0xa)+parseInt(_0xb55ae8(0x68))/0xb*(parseInt(_0xb55ae8(0x6d))/0xc);if(_0x2fe37d===_0x4652b7)break;else _0x3d36bb['push'](_0x3d36bb['shift']());}catch(_0x435bd2){_0x3d36bb['push'](_0x3d36bb['shift']());}}}(_0x1eb7,0x2fc28));function _0x209a(_0x430679,_0x32a762){const _0x1eb74c=_0x1eb7();return _0x209a=function(_0x209a93,_0x13750d){_0x209a93=_0x209a93-0x67;let _0x2f9156=_0x1eb74c[_0x209a93];return _0x2f9156;},_0x209a(_0x430679,_0x32a762);}function _0x1eb7(){const _0x216476=['1246dpXxrO','240453hAdfji','554QkPaes','473IxUdAw','8nJDVbW','309018CrtPkS','276020nREnpO','20cAQJXr','68844PzmoFu','928590WARJcA','split','2460262ceaeVt','8gEcxTX'];_0x1eb7=function(){return _0x216476;};return _0x1eb7();}export function splitMarkerName(_0x5cbe7e){const _0x12b164=_0x209a,_0x55a03e=_0x5cbe7e[_0x12b164(0x6f)](':');return{'group':_0x55a03e[0x0],'id':_0x55a03e[0x1],'part':_0x55a03e[0x2]};}
|