@ckeditor/ckeditor5-comments 47.0.0-alpha.4 → 47.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/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x322850=_0x4e60;function _0x4e60(_0xf3270c,_0x38a73e){const _0x41e36c=_0x41e3();return _0x4e60=function(_0x4e6062,_0x3d1139){_0x4e6062=_0x4e6062-0xa9;let _0x5dfd77=_0x41e36c[_0x4e6062];return _0x5dfd77;},_0x4e60(_0xf3270c,_0x38a73e);}(function(_0x1f169a,_0x416837){const _0x4d5b18=_0x4e60,_0x3d8328=_0x1f169a();while(!![]){try{const _0xd67337=parseInt(_0x4d5b18(0xcc))/0x1+-parseInt(_0x4d5b18(0xf3))/0x2*(-parseInt(_0x4d5b18(0xcf))/0x3)+-parseInt(_0x4d5b18(0xae))/0x4*(-parseInt(_0x4d5b18(0xc3))/0x5)+-parseInt(_0x4d5b18(0x106))/0x6*(-parseInt(_0x4d5b18(0xaf))/0x7)+parseInt(_0x4d5b18(0xc2))/0x8*(-parseInt(_0x4d5b18(0xf5))/0x9)+parseInt(_0x4d5b18(0xe0))/0xa*(parseInt(_0x4d5b18(0xca))/0xb)+-parseInt(_0x4d5b18(0xe4))/0xc*(parseInt(_0x4d5b18(0xdb))/0xd);if(_0xd67337===_0x416837)break;else _0x3d8328['push'](_0x3d8328['shift']());}catch(_0x5023a1){_0x3d8328['push'](_0x3d8328['shift']());}}}(_0x41e3,0x789b3));function _0x41e3(){const _0x2a8f4e=['isEditMode','12cyZBST','_handleInfoComment','_handleNewCommentModel','change:hasDirtyComment','createCollection','length','_findOptimalIndex','weight','focus','Thread\x20comments','_calculatePosition','destroy','editorDestroyed','_model','element','1824506PpTHPs','_rearrangeExpand','18rNUKRD','render','locale','removeComment','map','get','focusCycler','maxCommentCharsWhenCollapsed','added','Marked\x20as\x20resolved','commentUpdated','change','target','_updateHasDirtyComment','_config','maxThreadTotalWeight','viewUid','241320IeMECU','_shouldCollapse','ck-thread__comments','remove','_rearrangeCollapse','arrowup','change:isEditMode','some','comments','resolvedCommentView','hasDirtyComment','authoredAt','854344nmCGGY','35YVLbTY','bindTemplate','insert','delegate','setTemplate','removed','updateComment','maxCommentsWhenCollapsed','bind','keystrokes','forEach','count','commentViews','focusLast','isActive','_collapsedCommentsView','formatDateTime','resolvedBy','resolvedAt','1933664bECWZT','10nHYXPy','reverse','CommentView','refreshVisibleViews','ck-hidden','focusTracker','set','1069090UxRmmX','change:isActive','924330gofXFK','change:isResolved','focusFirst','3yIMXVT','arrowdown','editorReady','equal','stopListening','from','listenTo','add','resolved','visibleViews','_handleRemoveCommentModel','includes','29444428TjHodO','collapse','editorConfig','delete','_setupKeyboardNavigation','80JpEDgi','expand','resolveCommentThread'];_0x41e3=function(){return _0x2a8f4e;};return _0x41e3();}import{View as _0x3bae9a,FocusCycler as _0x58304a}from'ckeditor5/src/ui.js';import{diff as _0x483e58,Collection as _0x5575e9,FocusTracker as _0x13d16c,KeystrokeHandler as _0x222854}from'ckeditor5/src/utils.js';import{getTranslation as _0x31dbb7}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x234098}from'./collapsedcommentsview.js';export class CommentsListView extends _0x3bae9a{[_0x322850(0xbb)];[_0x322850(0xab)];[_0x322850(0xc8)];[_0x322850(0xb8)];[_0x322850(0xfb)];[_0x322850(0xf1)];[_0x322850(0x103)];[_0x322850(0xbe)];constructor(_0xec30db,_0x501a37,_0x2a9098){const _0x20e426=_0x322850;super(_0xec30db);const _0x487790=this[_0x20e426(0xb0)];this[_0x20e426(0xc9)](_0x20e426(0xac),!0x1),this[_0x20e426(0xc9)](_0x20e426(0xe9),_0x501a37[_0x20e426(0xaa)][_0x20e426(0xe9)]),this[_0x20e426(0xc9)](_0x20e426(0xbd),!0x1),this[_0x20e426(0xf1)]=_0x501a37,this[_0x20e426(0x103)]=_0x2a9098,this[_0x20e426(0xbb)]=this[_0x20e426(0xe8)](),this[_0x20e426(0xd8)]=this[_0x20e426(0xe8)](),this[_0x20e426(0xab)]=null,this[_0x20e426(0xc8)]=new _0x13d16c(),this[_0x20e426(0xb8)]=new _0x222854(),this[_0x20e426(0xfb)]=new _0x58304a({'focusables':this[_0x20e426(0xbb)],'focusTracker':this[_0x20e426(0xc8)],'keystrokeHandler':this[_0x20e426(0xb8)],'keystrokeHandlerOptions':{'filter':_0xb434d2=>this[_0x20e426(0xbb)][_0x20e426(0xf9)](_0x242f84=>_0x242f84[_0x20e426(0xf2)])[_0x20e426(0xda)](_0xb434d2[_0x20e426(0x101)])},'actions':{'focusPrevious':_0x20e426(0x10b),'focusNext':_0x20e426(0xd0)}}),this[_0x20e426(0xbe)]=new _0x234098(_0xec30db),this[_0x20e426(0xbe)][_0x20e426(0xb7)](_0x20e426(0xba))['to'](this,_0x20e426(0xe9),_0x5ae0c7=>_0x5ae0c7-this[_0x20e426(0x103)][_0x20e426(0xb6)]);for(const _0x519177 of _0x501a37[_0x20e426(0xaa)])this[_0x20e426(0xe6)](_0x519177);this[_0x20e426(0xe5)](),this[_0x20e426(0xd5)](_0x501a37[_0x20e426(0xaa)],_0x20e426(0xd6),(_0x58aecd,_0x1a3ee6)=>{const _0x511a95=_0x20e426,_0xbafc5f=this[_0x511a95(0xee)](_0x1a3ee6);this[_0x511a95(0xe9)]++,this[_0x511a95(0xe6)](_0x1a3ee6,_0xbafc5f),this[_0x511a95(0xc6)]();}),this[_0x20e426(0xd5)](_0x501a37[_0x20e426(0xaa)],_0x20e426(0x109),(_0x5a7f7c,_0x426e1d)=>{const _0x8ea050=_0x20e426;this[_0x8ea050(0xe9)]--,this[_0x8ea050(0xd9)](_0x426e1d),this[_0x8ea050(0xc6)]();}),this[_0x20e426(0xd5)](_0x501a37,_0x20e426(0xff),()=>this[_0x20e426(0xc6)]()),this[_0x20e426(0xd5)](_0x501a37,_0x20e426(0xcd),()=>this[_0x20e426(0xe5)]()),this['on'](_0x20e426(0xcb),()=>this[_0x20e426(0xc6)]()),this['on'](_0x20e426(0xe7),()=>this[_0x20e426(0xc6)]()),this[_0x20e426(0xb3)]({'tag':'ul','attributes':{'class':[_0x20e426(0x108),_0x487790['if'](_0x20e426(0xe9),_0x20e426(0xc7),_0xb5f37c=>!_0xb5f37c)],'aria-label':_0x31dbb7(_0xec30db,_0x20e426(0xed))},'children':this[_0x20e426(0xd8)]});}get[_0x322850(0x107)](){const _0x42447a=_0x322850;return this[_0x42447a(0xf1)][_0x42447a(0xeb)]>this[_0x42447a(0x103)][_0x42447a(0x104)]&&!this[_0x42447a(0xbd)]&&!this[_0x42447a(0xac)];}[_0x322850(0xf6)](){const _0x72df88=_0x322850;super[_0x72df88(0xf6)](),this[_0x72df88(0xc6)](),this[_0x72df88(0xdf)]();}[_0x322850(0xec)](_0x29f804){const _0x5ab49d=_0x322850;-0x1===_0x29f804?this[_0x5ab49d(0xfb)][_0x5ab49d(0xbc)]():this[_0x5ab49d(0xfb)][_0x5ab49d(0xce)]();}[_0x322850(0xef)](){const _0x459d05=_0x322850;this[_0x459d05(0xbe)][_0x459d05(0xef)]();for(const _0x24f10e of this[_0x459d05(0xbb)])_0x24f10e[_0x459d05(0xef)]();super[_0x459d05(0xef)]();}[_0x322850(0xc6)](){const _0x2941b6=_0x322850;this[_0x2941b6(0x107)]?this[_0x2941b6(0x10a)]():this[_0x2941b6(0xf4)]();}[_0x322850(0xe6)](_0x5f1f75,_0x4aa013){const _0x4e4ce1=_0x322850,_0x51e80c=new this[(_0x4e4ce1(0x103))][(_0x4e4ce1(0xc5))](this[_0x4e4ce1(0xf7)],_0x5f1f75,{'maxCommentCharsWhenCollapsed':this[_0x4e4ce1(0x103)][_0x4e4ce1(0xfc)],'formatDateTime':this[_0x4e4ce1(0x103)][_0x4e4ce1(0xbf)],'editorConfig':this[_0x4e4ce1(0x103)][_0x4e4ce1(0xdd)]});_0x51e80c[_0x4e4ce1(0x105)]=_0x5f1f75['id'],_0x51e80c[_0x4e4ce1(0xb2)](_0x4e4ce1(0xf8))['to'](this),_0x51e80c[_0x4e4ce1(0xb2)](_0x4e4ce1(0xb5))['to'](this),_0x51e80c[_0x4e4ce1(0xb2)](_0x4e4ce1(0xe2))['to'](this),_0x51e80c[_0x4e4ce1(0xb2)](_0x4e4ce1(0xd1))['to'](this),_0x51e80c[_0x4e4ce1(0xb2)](_0x4e4ce1(0xf0))['to'](this),this[_0x4e4ce1(0xd5)](_0x51e80c,_0x4e4ce1(0x10c),()=>this[_0x4e4ce1(0x102)]()),this[_0x4e4ce1(0xbb)][_0x4e4ce1(0xd6)](_0x51e80c,_0x4aa013);}[_0x322850(0xee)](_0xd85cb2){const _0x3b52fb=_0x322850,_0x366cd0=this[_0x3b52fb(0xf1)][_0x3b52fb(0xea)](_0xd85cb2);return this[_0x3b52fb(0xab)]?this[_0x3b52fb(0xab)][_0x3b52fb(0xad)]>_0xd85cb2[_0x3b52fb(0xad)]?_0x366cd0-0x1:_0x366cd0:_0x366cd0-0x1;}[_0x322850(0xe5)](){const _0xa436a6=_0x322850;if(this[_0xa436a6(0xf1)][_0xa436a6(0xc0)]&&this[_0xa436a6(0xf1)][_0xa436a6(0xc1)]){const _0x4b1b6c={'id':_0xa436a6(0xd7),'author':this[_0xa436a6(0xf1)][_0xa436a6(0xc0)],'authoredAt':this[_0xa436a6(0xf1)][_0xa436a6(0xc1)],'content':_0x31dbb7(this[_0xa436a6(0xf7)],_0xa436a6(0xfe)),'attributes':{}};this[_0xa436a6(0xab)]=new this[(_0xa436a6(0x103))][(_0xa436a6(0xc5))](this[_0xa436a6(0xf7)],_0x4b1b6c,{'maxCommentCharsWhenCollapsed':this[_0xa436a6(0x103)][_0xa436a6(0xfc)],'formatDateTime':this[_0xa436a6(0x103)][_0xa436a6(0xbf)],'editorConfig':this[_0xa436a6(0x103)][_0xa436a6(0xdd)],'isSystemComment':!0x0}),this[_0xa436a6(0xbb)][_0xa436a6(0xd6)](this[_0xa436a6(0xab)],this[_0xa436a6(0xf1)][_0xa436a6(0xea)](_0x4b1b6c));}else this[_0xa436a6(0xab)]&&(this[_0xa436a6(0xbb)][_0xa436a6(0x109)](this[_0xa436a6(0xab)]),this[_0xa436a6(0xab)][_0xa436a6(0xef)](),this[_0xa436a6(0xab)]=null);this[_0xa436a6(0xc6)]();}[_0x322850(0xd9)](_0x58dfdf){const _0x2821df=_0x322850,_0x33315d=this[_0x2821df(0xbb)][_0x2821df(0x109)](_0x58dfdf['id']);this[_0x2821df(0xd3)](_0x33315d),_0x33315d[_0x2821df(0xe3)]&&this[_0x2821df(0x102)](),_0x33315d[_0x2821df(0xef)]();}[_0x322850(0x102)](){const _0x424a94=_0x322850;this[_0x424a94(0xac)]=Array[_0x424a94(0xd4)](this[_0x424a94(0xbb)])[_0x424a94(0xa9)](_0x27bece=>_0x27bece[_0x424a94(0xe3)]);}[_0x322850(0x10a)](){const _0xbd2255=_0x322850,_0x55f33e=function(_0x51bc5c){const _0x41ed96=_0x4e60,_0x2c9c0f=new _0x5575e9();for(const _0x73a1be of _0x51bc5c)_0x2c9c0f[_0x41ed96(0xd6)](_0x73a1be);return _0x2c9c0f;}(this[_0xbd2255(0xbb)]),_0x3cc5ff=this[_0xbd2255(0xbe)][_0xbd2255(0xba)];for(let _0x5f5b30=0x1;_0x5f5b30<=_0x3cc5ff;_0x5f5b30++)_0x55f33e[_0xbd2255(0x109)](0x1);for(const _0x167e7b of _0x55f33e)_0x167e7b[_0xbd2255(0xdc)]();_0x3cc5ff>0x0&&_0x55f33e[_0xbd2255(0xd6)](this[_0xbd2255(0xbe)],0x1),ns(_0x483e58(Array[_0xbd2255(0xd4)](this[_0xbd2255(0xd8)]),Array[_0xbd2255(0xd4)](_0x55f33e)),this[_0xbd2255(0xd8)],_0x55f33e);}[_0x322850(0xf4)](){const _0x3114f0=_0x322850;ns(_0x483e58(Array[_0x3114f0(0xd4)](this[_0x3114f0(0xd8)]),Array[_0x3114f0(0xd4)](this[_0x3114f0(0xbb)])),this[_0x3114f0(0xd8)],this[_0x3114f0(0xbb)]);for(const _0xb64ebf of this[_0x3114f0(0xd8)])_0xb64ebf[_0x3114f0(0xe1)]();}[_0x322850(0xdf)](){const _0x30d13f=_0x322850;this[_0x30d13f(0xbb)][_0x30d13f(0xb9)](_0x1f9f87=>{const _0x3bce9a=_0x30d13f;this[_0x3bce9a(0xc8)][_0x3bce9a(0xd6)](_0x1f9f87[_0x3bce9a(0xf2)]),this[_0x3bce9a(0xb8)][_0x3bce9a(0xd5)](_0x1f9f87[_0x3bce9a(0xf2)]);}),this[_0x30d13f(0xbb)]['on'](_0x30d13f(0x100),(_0x567fda,_0xd2df1a)=>{const _0x5abb3d=_0x30d13f;for(const _0xf2c75c of _0xd2df1a[_0x5abb3d(0xb4)])this[_0x5abb3d(0xc8)][_0x5abb3d(0x109)](_0xf2c75c[_0x5abb3d(0xf2)]),this[_0x5abb3d(0xb8)][_0x5abb3d(0xd3)](_0xf2c75c[_0x5abb3d(0xf2)]);for(const _0x2d3fb9 of Array[_0x5abb3d(0xd4)](_0xd2df1a[_0x5abb3d(0xfd)])[_0x5abb3d(0xc4)]())this[_0x5abb3d(0xc8)][_0x5abb3d(0xd6)](_0x2d3fb9[_0x5abb3d(0xf2)]),this[_0x5abb3d(0xb8)][_0x5abb3d(0xd5)](_0x2d3fb9[_0x5abb3d(0xf2)]);});}}function ns(_0x21a78b,_0x48219b,_0x36a706){const _0x19bcf5=_0x322850;let _0x51146c=0x0;for(const _0x484e65 of _0x21a78b)switch(_0x484e65){case _0x19bcf5(0xb1):_0x48219b[_0x19bcf5(0xd6)](_0x36a706[_0x19bcf5(0xfa)](_0x51146c),_0x51146c),_0x51146c++;break;case _0x19bcf5(0xde):_0x48219b[_0x19bcf5(0x109)](_0x51146c);break;case _0x19bcf5(0xd2):_0x51146c++;}}
|
|
23
|
+
const _0xdb2214=_0x94e6;(function(_0x278727,_0x18e501){const _0x2de943=_0x94e6,_0x337d60=_0x278727();while(!![]){try{const _0x22db3b=parseInt(_0x2de943(0x1d1))/0x1*(-parseInt(_0x2de943(0x1e2))/0x2)+-parseInt(_0x2de943(0x1c5))/0x3+parseInt(_0x2de943(0x1da))/0x4+-parseInt(_0x2de943(0x1bc))/0x5*(-parseInt(_0x2de943(0x1eb))/0x6)+parseInt(_0x2de943(0x19b))/0x7+parseInt(_0x2de943(0x1c2))/0x8+-parseInt(_0x2de943(0x1ee))/0x9;if(_0x22db3b===_0x18e501)break;else _0x337d60['push'](_0x337d60['shift']());}catch(_0x32af16){_0x337d60['push'](_0x337d60['shift']());}}}(_0x5024,0xa8c4b));import{View as _0x1c2883,FocusCycler as _0x21e2f4}from'ckeditor5/src/ui.js';import{diff as _0x3998af,Collection as _0x22a864,FocusTracker as _0x2254ff,KeystrokeHandler as _0x339bb1}from'ckeditor5/src/utils.js';function _0x5024(){const _0x19b176=['_updateHasDirtyComment','1734364ZhKAPp','stopListening','delegate','_handleNewCommentModel','resolved','focusTracker','_model','remove','914SWukYC','Thread\x20comments','arrowdown','hasDirtyComment','weight','viewUid','add','collapse','ck-thread__comments','3949878ptbQfF','removeComment','element','12601728OjkhkF','focusFirst','Marked\x20as\x20resolved','change:isEditMode','count','target','setTemplate','ck-hidden','editorReady','some','isActive','keystrokes','maxThreadTotalWeight','4612132nWgjcd','bindTemplate','arrowup','resolveCommentThread','equal','_config','updateComment','locale','_rearrangeCollapse','focus','_setupKeyboardNavigation','_findOptimalIndex','destroy','_handleInfoComment','reverse','_calculatePosition','change','includes','commentUpdated','createCollection','render','expand','_handleRemoveCommentModel','resolvedCommentView','maxCommentsWhenCollapsed','formatDateTime','delete','resolvedBy','CommentView','insert','focusLast','refreshVisibleViews','removed','5HcPXdg','get','authoredAt','from','added','listenTo','10042424ViVNOI','set','editorConfig','2517633iaFKbp','length','_shouldCollapse','resolvedAt','isEditMode','visibleViews','maxCommentCharsWhenCollapsed','change:isResolved','map','change:isActive','editorDestroyed','forEach','165TGTxPI','commentViews','comments','_collapsedCommentsView','focusCycler','_rearrangeExpand','change:hasDirtyComment','bind'];_0x5024=function(){return _0x19b176;};return _0x5024();}import{getTranslation as _0x58dd5b}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x2d8cf2}from'./collapsedcommentsview.js';function _0x94e6(_0x58ea33,_0x291917){const _0x5024f7=_0x5024();return _0x94e6=function(_0x94e617,_0x24a2d9){_0x94e617=_0x94e617-0x199;let _0x4378e3=_0x5024f7[_0x94e617];return _0x4378e3;},_0x94e6(_0x58ea33,_0x291917);}export class CommentsListView extends _0x1c2883{[_0xdb2214(0x1d2)];[_0xdb2214(0x1b2)];[_0xdb2214(0x1df)];[_0xdb2214(0x199)];[_0xdb2214(0x1d5)];[_0xdb2214(0x1e0)];[_0xdb2214(0x1a0)];[_0xdb2214(0x1d4)];constructor(_0xf2e006,_0x75b5e7,_0x359fa2){const _0x1802c0=_0xdb2214;super(_0xf2e006);const _0x12b8fd=this[_0x1802c0(0x19c)];this[_0x1802c0(0x1c3)](_0x1802c0(0x1e5),!0x1),this[_0x1802c0(0x1c3)](_0x1802c0(0x1c6),_0x75b5e7[_0x1802c0(0x1d3)][_0x1802c0(0x1c6)]),this[_0x1802c0(0x1c3)](_0x1802c0(0x1f8),!0x1),this[_0x1802c0(0x1e0)]=_0x75b5e7,this[_0x1802c0(0x1a0)]=_0x359fa2,this[_0x1802c0(0x1d2)]=this[_0x1802c0(0x1ae)](),this[_0x1802c0(0x1ca)]=this[_0x1802c0(0x1ae)](),this[_0x1802c0(0x1b2)]=null,this[_0x1802c0(0x1df)]=new _0x2254ff(),this[_0x1802c0(0x199)]=new _0x339bb1(),this[_0x1802c0(0x1d5)]=new _0x21e2f4({'focusables':this[_0x1802c0(0x1d2)],'focusTracker':this[_0x1802c0(0x1df)],'keystrokeHandler':this[_0x1802c0(0x199)],'keystrokeHandlerOptions':{'filter':_0x2976f4=>this[_0x1802c0(0x1d2)][_0x1802c0(0x1cd)](_0x8f53b3=>_0x8f53b3[_0x1802c0(0x1ed)])[_0x1802c0(0x1ac)](_0x2976f4[_0x1802c0(0x1f3)])},'actions':{'focusPrevious':_0x1802c0(0x19d),'focusNext':_0x1802c0(0x1e4)}}),this[_0x1802c0(0x1d4)]=new _0x2d8cf2(_0xf2e006),this[_0x1802c0(0x1d4)][_0x1802c0(0x1d8)](_0x1802c0(0x1f2))['to'](this,_0x1802c0(0x1c6),_0x52214a=>_0x52214a-this[_0x1802c0(0x1a0)][_0x1802c0(0x1b3)]);for(const _0x2b9838 of _0x75b5e7[_0x1802c0(0x1d3)])this[_0x1802c0(0x1dd)](_0x2b9838);this[_0x1802c0(0x1a8)](),this[_0x1802c0(0x1c1)](_0x75b5e7[_0x1802c0(0x1d3)],_0x1802c0(0x1e8),(_0x413dc5,_0x57cd9c)=>{const _0x13228b=_0x1802c0,_0x5a5ece=this[_0x13228b(0x1aa)](_0x57cd9c);this[_0x13228b(0x1c6)]++,this[_0x13228b(0x1dd)](_0x57cd9c,_0x5a5ece),this[_0x13228b(0x1ba)]();}),this[_0x1802c0(0x1c1)](_0x75b5e7[_0x1802c0(0x1d3)],_0x1802c0(0x1e1),(_0x1bb81b,_0x59781e)=>{const _0x425e92=_0x1802c0;this[_0x425e92(0x1c6)]--,this[_0x425e92(0x1b1)](_0x59781e),this[_0x425e92(0x1ba)]();}),this[_0x1802c0(0x1c1)](_0x75b5e7,_0x1802c0(0x1ad),()=>this[_0x1802c0(0x1ba)]()),this[_0x1802c0(0x1c1)](_0x75b5e7,_0x1802c0(0x1cc),()=>this[_0x1802c0(0x1a8)]()),this['on'](_0x1802c0(0x1ce),()=>this[_0x1802c0(0x1ba)]()),this['on'](_0x1802c0(0x1d7),()=>this[_0x1802c0(0x1ba)]()),this[_0x1802c0(0x1f4)]({'tag':'ul','attributes':{'class':[_0x1802c0(0x1ea),_0x12b8fd['if'](_0x1802c0(0x1c6),_0x1802c0(0x1f5),_0x3d6e89=>!_0x3d6e89)],'aria-label':_0x58dd5b(_0xf2e006,_0x1802c0(0x1e3))},'children':this[_0x1802c0(0x1ca)]});}get[_0xdb2214(0x1c7)](){const _0x59461d=_0xdb2214;return this[_0x59461d(0x1e0)][_0x59461d(0x1e6)]>this[_0x59461d(0x1a0)][_0x59461d(0x19a)]&&!this[_0x59461d(0x1f8)]&&!this[_0x59461d(0x1e5)];}[_0xdb2214(0x1af)](){const _0x4d3d90=_0xdb2214;super[_0x4d3d90(0x1af)](),this[_0x4d3d90(0x1ba)](),this[_0x4d3d90(0x1a5)]();}[_0xdb2214(0x1a4)](_0x25a0c6){const _0xcbbdc=_0xdb2214;-0x1===_0x25a0c6?this[_0xcbbdc(0x1d5)][_0xcbbdc(0x1b9)]():this[_0xcbbdc(0x1d5)][_0xcbbdc(0x1ef)]();}[_0xdb2214(0x1a7)](){const _0x287f51=_0xdb2214;this[_0x287f51(0x1d4)][_0x287f51(0x1a7)]();for(const _0x87858 of this[_0x287f51(0x1d2)])_0x87858[_0x287f51(0x1a7)]();super[_0x287f51(0x1a7)]();}[_0xdb2214(0x1ba)](){const _0x4f0e7d=_0xdb2214;this[_0x4f0e7d(0x1c7)]?this[_0x4f0e7d(0x1a3)]():this[_0x4f0e7d(0x1d6)]();}[_0xdb2214(0x1dd)](_0x11bf85,_0x2a8695){const _0x1e41c8=_0xdb2214,_0x4e330a=new this[(_0x1e41c8(0x1a0))][(_0x1e41c8(0x1b7))](this[_0x1e41c8(0x1a2)],_0x11bf85,{'maxCommentCharsWhenCollapsed':this[_0x1e41c8(0x1a0)][_0x1e41c8(0x1cb)],'formatDateTime':this[_0x1e41c8(0x1a0)][_0x1e41c8(0x1b4)],'editorConfig':this[_0x1e41c8(0x1a0)][_0x1e41c8(0x1c4)]});_0x4e330a[_0x1e41c8(0x1e7)]=_0x11bf85['id'],_0x4e330a[_0x1e41c8(0x1dc)](_0x1e41c8(0x1ec))['to'](this),_0x4e330a[_0x1e41c8(0x1dc)](_0x1e41c8(0x1a1))['to'](this),_0x4e330a[_0x1e41c8(0x1dc)](_0x1e41c8(0x19e))['to'](this),_0x4e330a[_0x1e41c8(0x1dc)](_0x1e41c8(0x1f6))['to'](this),_0x4e330a[_0x1e41c8(0x1dc)](_0x1e41c8(0x1cf))['to'](this),this[_0x1e41c8(0x1c1)](_0x4e330a,_0x1e41c8(0x1f1),()=>this[_0x1e41c8(0x1d9)]()),this[_0x1e41c8(0x1d2)][_0x1e41c8(0x1e8)](_0x4e330a,_0x2a8695);}[_0xdb2214(0x1aa)](_0x27d067){const _0x26a252=_0xdb2214,_0x3d8ccf=this[_0x26a252(0x1e0)][_0x26a252(0x1a6)](_0x27d067);return this[_0x26a252(0x1b2)]?this[_0x26a252(0x1b2)][_0x26a252(0x1be)]>_0x27d067[_0x26a252(0x1be)]?_0x3d8ccf-0x1:_0x3d8ccf:_0x3d8ccf-0x1;}[_0xdb2214(0x1a8)](){const _0xaa1e7=_0xdb2214;if(this[_0xaa1e7(0x1e0)][_0xaa1e7(0x1b6)]&&this[_0xaa1e7(0x1e0)][_0xaa1e7(0x1c8)]){const _0x1fd55d={'id':_0xaa1e7(0x1de),'author':this[_0xaa1e7(0x1e0)][_0xaa1e7(0x1b6)],'authoredAt':this[_0xaa1e7(0x1e0)][_0xaa1e7(0x1c8)],'content':_0x58dd5b(this[_0xaa1e7(0x1a2)],_0xaa1e7(0x1f0)),'attributes':{}};this[_0xaa1e7(0x1b2)]=new this[(_0xaa1e7(0x1a0))][(_0xaa1e7(0x1b7))](this[_0xaa1e7(0x1a2)],_0x1fd55d,{'maxCommentCharsWhenCollapsed':this[_0xaa1e7(0x1a0)][_0xaa1e7(0x1cb)],'formatDateTime':this[_0xaa1e7(0x1a0)][_0xaa1e7(0x1b4)],'editorConfig':this[_0xaa1e7(0x1a0)][_0xaa1e7(0x1c4)],'isSystemComment':!0x0}),this[_0xaa1e7(0x1d2)][_0xaa1e7(0x1e8)](this[_0xaa1e7(0x1b2)],this[_0xaa1e7(0x1e0)][_0xaa1e7(0x1a6)](_0x1fd55d));}else this[_0xaa1e7(0x1b2)]&&(this[_0xaa1e7(0x1d2)][_0xaa1e7(0x1e1)](this[_0xaa1e7(0x1b2)]),this[_0xaa1e7(0x1b2)][_0xaa1e7(0x1a7)](),this[_0xaa1e7(0x1b2)]=null);this[_0xaa1e7(0x1ba)]();}[_0xdb2214(0x1b1)](_0x428427){const _0x34722d=_0xdb2214,_0x1a1f18=this[_0x34722d(0x1d2)][_0x34722d(0x1e1)](_0x428427['id']);this[_0x34722d(0x1db)](_0x1a1f18),_0x1a1f18[_0x34722d(0x1c9)]&&this[_0x34722d(0x1d9)](),_0x1a1f18[_0x34722d(0x1a7)]();}[_0xdb2214(0x1d9)](){const _0x2e9bc3=_0xdb2214;this[_0x2e9bc3(0x1e5)]=Array[_0x2e9bc3(0x1bf)](this[_0x2e9bc3(0x1d2)])[_0x2e9bc3(0x1f7)](_0x13d20c=>_0x13d20c[_0x2e9bc3(0x1c9)]);}[_0xdb2214(0x1a3)](){const _0x460779=_0xdb2214,_0x1454ce=function(_0x46e1de){const _0x47cbe8=_0x94e6,_0x37567b=new _0x22a864();for(const _0xa08cd8 of _0x46e1de)_0x37567b[_0x47cbe8(0x1e8)](_0xa08cd8);return _0x37567b;}(this[_0x460779(0x1d2)]),_0x44865e=this[_0x460779(0x1d4)][_0x460779(0x1f2)];for(let _0x5eeb59=0x1;_0x5eeb59<=_0x44865e;_0x5eeb59++)_0x1454ce[_0x460779(0x1e1)](0x1);for(const _0x40b569 of _0x1454ce)_0x40b569[_0x460779(0x1e9)]();_0x44865e>0x0&&_0x1454ce[_0x460779(0x1e8)](this[_0x460779(0x1d4)],0x1),ns(_0x3998af(Array[_0x460779(0x1bf)](this[_0x460779(0x1ca)]),Array[_0x460779(0x1bf)](_0x1454ce)),this[_0x460779(0x1ca)],_0x1454ce);}[_0xdb2214(0x1d6)](){const _0xf6b7ec=_0xdb2214;ns(_0x3998af(Array[_0xf6b7ec(0x1bf)](this[_0xf6b7ec(0x1ca)]),Array[_0xf6b7ec(0x1bf)](this[_0xf6b7ec(0x1d2)])),this[_0xf6b7ec(0x1ca)],this[_0xf6b7ec(0x1d2)]);for(const _0x2a1187 of this[_0xf6b7ec(0x1ca)])_0x2a1187[_0xf6b7ec(0x1b0)]();}[_0xdb2214(0x1a5)](){const _0x776b1f=_0xdb2214;this[_0x776b1f(0x1d2)][_0x776b1f(0x1d0)](_0x11190d=>{const _0x245193=_0x776b1f;this[_0x245193(0x1df)][_0x245193(0x1e8)](_0x11190d[_0x245193(0x1ed)]),this[_0x245193(0x199)][_0x245193(0x1c1)](_0x11190d[_0x245193(0x1ed)]);}),this[_0x776b1f(0x1d2)]['on'](_0x776b1f(0x1ab),(_0x3a68d9,_0x375b24)=>{const _0x572e9e=_0x776b1f;for(const _0x43770e of _0x375b24[_0x572e9e(0x1bb)])this[_0x572e9e(0x1df)][_0x572e9e(0x1e1)](_0x43770e[_0x572e9e(0x1ed)]),this[_0x572e9e(0x199)][_0x572e9e(0x1db)](_0x43770e[_0x572e9e(0x1ed)]);for(const _0x3d1507 of Array[_0x572e9e(0x1bf)](_0x375b24[_0x572e9e(0x1c0)])[_0x572e9e(0x1a9)]())this[_0x572e9e(0x1df)][_0x572e9e(0x1e8)](_0x3d1507[_0x572e9e(0x1ed)]),this[_0x572e9e(0x199)][_0x572e9e(0x1c1)](_0x3d1507[_0x572e9e(0x1ed)]);});}}function ns(_0x529a1f,_0x5e27a2,_0xa1a1ef){const _0x2cab9=_0xdb2214;let _0x4f3204=0x0;for(const _0x321a2b of _0x529a1f)switch(_0x321a2b){case _0x2cab9(0x1b8):_0x5e27a2[_0x2cab9(0x1e8)](_0xa1a1ef[_0x2cab9(0x1bd)](_0x4f3204),_0x4f3204),_0x4f3204++;break;case _0x2cab9(0x1b5):_0x5e27a2[_0x2cab9(0x1e1)](_0x4f3204);break;case _0x2cab9(0x19f):_0x4f3204++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2604(_0x166dfc,_0x43bbb4){const _0x30d124=_0x30d1();return _0x2604=function(_0x260409,_0x1d0671){_0x260409=_0x260409-0x17f;let _0x411c81=_0x30d124[_0x260409];return _0x411c81;},_0x2604(_0x166dfc,_0x43bbb4);}const _0xab32ce=_0x2604;(function(_0xe990fc,_0x104ec8){const _0x5b2039=_0x2604,_0x487cee=_0xe990fc();while(!![]){try{const _0x36adf3=parseInt(_0x5b2039(0x180))/0x1+-parseInt(_0x5b2039(0x190))/0x2*(-parseInt(_0x5b2039(0x182))/0x3)+-parseInt(_0x5b2039(0x191))/0x4*(parseInt(_0x5b2039(0x18c))/0x5)+-parseInt(_0x5b2039(0x17f))/0x6+parseInt(_0x5b2039(0x18f))/0x7*(parseInt(_0x5b2039(0x192))/0x8)+-parseInt(_0x5b2039(0x181))/0x9*(parseInt(_0x5b2039(0x18a))/0xa)+parseInt(_0x5b2039(0x183))/0xb*(parseInt(_0x5b2039(0x185))/0xc);if(_0x36adf3===_0x104ec8)break;else _0x487cee['push'](_0x487cee['shift']());}catch(_0x2229fc){_0x487cee['push'](_0x487cee['shift']());}}}(_0x30d1,0x6c486));import{View as _0x477a18}from'ckeditor5/src/ui.js';import{getTranslation as _0x287930}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x477a18{constructor(_0x375243){const _0x70b396=_0x2604;super(_0x375243);const _0xffa30=this[_0x70b396(0x188)];this[_0x70b396(0x18d)](_0x70b396(0x187),''),this[_0x70b396(0x18b)]({'tag':_0x70b396(0x193),'attributes':{'class':['ck',_0x70b396(0x18e)],'aria-label':_0xffa30['to'](_0x70b396(0x187),_0x56b12d=>_0x287930(_0x375243,_0x70b396(0x186),_0x56b12d)),'tabindex':-0x1},'children':[{'text':_0xffa30['to'](_0x70b396(0x187))}]});}[_0xab32ce(0x184)](){const _0xb90afd=_0xab32ce;this[_0xb90afd(0x189)][_0xb90afd(0x184)]();}}function _0x30d1(){const _0x5cefb8=['bindTemplate','element','20pXeefa','setTemplate','115hEspnD','set','ck-context__value','238otLuhX','20hPkoaQ','149652rzXYKX','124224AoebLK','span','2083164jHPaHU','271658ROmVJk','3465729pfuwDq','121860QvDYFq','2321NeFCBQ','focus','69132YMiasr','THREAD_CONTEXT_LABEL','contextValue'];_0x30d1=function(){return _0x5cefb8;};return _0x30d1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xee8914=_0x2ba5;function _0x7ad7(){const _0xb9e647=['ck-thread__header','ck-context-wrapper','8EamBwD','384140kYgOzA','mouseenter','isEnabled','26692HNCaiT','bind','render','fire','contextValue','231UfSryy','_createReopenButton','Reopen','overlay','value','_attachContextActions','focusCycler','hasContext','setTemplate','_trimContextValue','label','focus','locale','listenTo','tooltip','execute','shift+tab','focusables','_model','isReadOnly','bindTemplate','length','Comment\x20was\x20made\x20on\x20an\x20element','contextView','ck-annotation__actions','keystrokes','mouseleave','5459594iEwnCp','offsetWidth','_createContextView','remove','reopenButtonView','.ck-context','querySelector','656836Nkldpq','scrollWidth','context','reopenCommentThread','.ck-context__value','createCollection','1586226KDfoQm','isResolved','2035521hAwcOf','ck-context','ck-context--quotes','isVisible','lastIndexOf','substring','737RYvWek','add','focusTracker','2036746lMgjRd','...','div','classList','focusFirst','_setupKeyboardNavigation','element','15FIsSyI','isResolvable','tab','icon'];_0x7ad7=function(){return _0xb9e647;};return _0x7ad7();}(function(_0x8b5f40,_0x1afdc4){const _0x24b423=_0x2ba5,_0x464321=_0x8b5f40();while(!![]){try{const _0x560776=-parseInt(_0x24b423(0x145))/0x1+-parseInt(_0x24b423(0x156))/0x2+parseInt(_0x24b423(0x123))/0x3*(-parseInt(_0x24b423(0x11e))/0x4)+-parseInt(_0x24b423(0x114))/0x5*(parseInt(_0x24b423(0x14b))/0x6)+parseInt(_0x24b423(0x13e))/0x7+parseInt(_0x24b423(0x11a))/0x8*(parseInt(_0x24b423(0x14d))/0x9)+parseInt(_0x24b423(0x11b))/0xa*(parseInt(_0x24b423(0x153))/0xb);if(_0x560776===_0x1afdc4)break;else _0x464321['push'](_0x464321['shift']());}catch(_0x165c9b){_0x464321['push'](_0x464321['shift']());}}}(_0x7ad7,0x91eca));import{View as _0x482965,ButtonView as _0x3c546b,FocusCycler as _0x45a183}from'ckeditor5/src/ui.js';function _0x2ba5(_0x3929e4,_0x47421d){const _0x7ad799=_0x7ad7();return _0x2ba5=function(_0x2ba5ed,_0x36e0f6){_0x2ba5ed=_0x2ba5ed-0x112;let _0x4a4fbc=_0x7ad799[_0x2ba5ed];return _0x4a4fbc;},_0x2ba5(_0x3929e4,_0x47421d);}import{FocusTracker as _0x46a86a,KeystrokeHandler as _0x41b282}from'ckeditor5/src/utils.js';import{IconUndo as _0x4f6b23}from'ckeditor5/src/icons.js';import{getTranslation as _0x593c1c}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0xb54b68}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x482965{[_0xee8914(0x135)];[_0xee8914(0x142)];[_0xee8914(0x13a)];[_0xee8914(0x134)];[_0xee8914(0x155)];[_0xee8914(0x13c)];[_0xee8914(0x129)];constructor(_0x525e39,_0x4f0aeb){const _0x38f3a9=_0xee8914;super(_0x525e39);const _0x22aaf9=this[_0x38f3a9(0x137)];this[_0x38f3a9(0x135)]=_0x4f0aeb,this[_0x38f3a9(0x142)]=this[_0x38f3a9(0x124)](),this[_0x38f3a9(0x13a)]=this[_0x38f3a9(0x140)](),this[_0x38f3a9(0x134)]=this[_0x38f3a9(0x14a)]([this[_0x38f3a9(0x13a)],this[_0x38f3a9(0x142)]]),this[_0x38f3a9(0x155)]=new _0x46a86a(),this[_0x38f3a9(0x13c)]=new _0x41b282(),this[_0x38f3a9(0x129)]=new _0x45a183({'focusables':this[_0x38f3a9(0x134)],'focusTracker':this[_0x38f3a9(0x155)],'keystrokeHandler':this[_0x38f3a9(0x13c)],'actions':{'focusPrevious':_0x38f3a9(0x133),'focusNext':_0x38f3a9(0x116)}}),this[_0x38f3a9(0x11f)](_0x38f3a9(0x12a))['to'](this[_0x38f3a9(0x135)],_0x38f3a9(0x147),_0x3b7edc=>!!_0x3b7edc),this[_0x38f3a9(0x11f)](_0x38f3a9(0x122))['to'](this[_0x38f3a9(0x135)],_0x38f3a9(0x147),_0x3905d7=>_0x3905d7&&_0x3905d7[_0x38f3a9(0x127)]?this[_0x38f3a9(0x12c)](_0x3905d7[_0x38f3a9(0x127)]):_0x593c1c(this[_0x38f3a9(0x12f)],_0x38f3a9(0x139))),this[_0x38f3a9(0x12b)]({'tag':_0x38f3a9(0x158),'attributes':{'class':[_0x38f3a9(0x118)]},'children':[{'tag':_0x38f3a9(0x158),'attributes':{'class':[_0x38f3a9(0x119)]},'children':[{'tag':_0x38f3a9(0x158),'attributes':{'class':[_0x38f3a9(0x14e),_0x22aaf9['if'](_0x38f3a9(0x12a),_0x38f3a9(0x14f))]},'children':[this[_0x38f3a9(0x13a)]]}]},{'tag':_0x38f3a9(0x158),'attributes':{'class':[_0x38f3a9(0x13b)]},'children':[this[_0x38f3a9(0x142)]]}]});}[_0xee8914(0x120)](){const _0x59df66=_0xee8914;super[_0x59df66(0x120)](),this[_0x59df66(0x128)](),this[_0x59df66(0x112)]();}[_0xee8914(0x12e)](){const _0x27f578=_0xee8914;this[_0x27f578(0x129)][_0x27f578(0x15a)]();}[_0xee8914(0x124)](){const _0x145c38=_0xee8914,_0x24cd61=new _0x3c546b(this[_0x145c38(0x12f)]);return _0x24cd61[_0x145c38(0x12d)]=_0x593c1c(this[_0x145c38(0x12f)],_0x145c38(0x125)),_0x24cd61[_0x145c38(0x131)]=_0x593c1c(this[_0x145c38(0x12f)],_0x145c38(0x125)),_0x24cd61[_0x145c38(0x117)]=_0x4f6b23,_0x24cd61[_0x145c38(0x11f)](_0x145c38(0x11d))['to'](this[_0x145c38(0x135)],_0x145c38(0x136),_0x452f2a=>!_0x452f2a),_0x24cd61[_0x145c38(0x11f)](_0x145c38(0x150))['to'](this[_0x145c38(0x135)],_0x145c38(0x115),this[_0x145c38(0x135)],_0x145c38(0x14c),(_0x424984,_0x455f82)=>_0x424984&&_0x455f82),_0x24cd61['on'](_0x145c38(0x132),()=>{const _0x556b1d=_0x145c38;this[_0x556b1d(0x121)](_0x556b1d(0x148),this[_0x556b1d(0x135)]['id']);}),_0x24cd61;}[_0xee8914(0x12c)](_0x1798c3){const _0xd5d511=_0xee8914;if(_0x1798c3[_0xd5d511(0x138)]<0x96)return _0x1798c3;const _0x3efd74=_0x1798c3[_0xd5d511(0x151)]('\x20',0x93);return _0x1798c3[_0xd5d511(0x152)](0x0,_0x3efd74>-0x1?_0x3efd74:0x93)+_0xd5d511(0x157);}[_0xee8914(0x128)](){const _0x10060b=_0xee8914,_0x2750a7=this[_0x10060b(0x113)][_0x10060b(0x144)](_0x10060b(0x143)),_0x401998=_0x2750a7[_0x10060b(0x144)](_0x10060b(0x149));this[_0x10060b(0x130)](_0x2750a7,_0x10060b(0x11c),()=>{const _0x1d58ca=_0x10060b;_0x401998[_0x1d58ca(0x13f)]<_0x401998[_0x1d58ca(0x146)]&&_0x2750a7[_0x1d58ca(0x159)][_0x1d58ca(0x154)](_0x1d58ca(0x126));}),this[_0x10060b(0x130)](_0x2750a7,_0x10060b(0x13d),()=>{const _0x5f3e80=_0x10060b;_0x2750a7[_0x5f3e80(0x159)][_0x5f3e80(0x141)](_0x5f3e80(0x126));});}[_0xee8914(0x112)](){const _0x42515d=_0xee8914;this[_0x42515d(0x13c)][_0x42515d(0x130)](this[_0x42515d(0x113)]);for(const _0x89e502 of this[_0x42515d(0x134)])this[_0x42515d(0x155)][_0x42515d(0x154)](_0x89e502[_0x42515d(0x113)]),this[_0x42515d(0x13c)][_0x42515d(0x130)](_0x89e502[_0x42515d(0x113)]);}[_0xee8914(0x140)](){const _0x91f130=_0xee8914,_0x40f194=new _0xb54b68(this[_0x91f130(0x12f)]);return _0x40f194[_0x91f130(0x11f)](_0x91f130(0x122))['to'](this),_0x40f194;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x679f0b=_0x17d9;(function(_0xef0277,_0x216747){const _0x5af525=_0x17d9,_0x307c6f=_0xef0277();while(!![]){try{const _0x4ebd42=parseInt(_0x5af525(0xd5))/0x1+-parseInt(_0x5af525(0xf0))/0x2*(-parseInt(_0x5af525(0xef))/0x3)+parseInt(_0x5af525(0xee))/0x4+-parseInt(_0x5af525(0xe4))/0x5*(parseInt(_0x5af525(0xe6))/0x6)+parseInt(_0x5af525(0xdd))/0x7*(-parseInt(_0x5af525(0xd1))/0x8)+-parseInt(_0x5af525(0xdf))/0x9*(-parseInt(_0x5af525(0xe8))/0xa)+parseInt(_0x5af525(0xe2))/0xb*(parseInt(_0x5af525(0xce))/0xc);if(_0x4ebd42===_0x216747)break;else _0x307c6f['push'](_0x307c6f['shift']());}catch(_0x46c40c){_0x307c6f['push'](_0x307c6f['shift']());}}}(_0x5989,0xe441e));import{View as _0x5456f9}from'ckeditor5/src/ui.js';function _0x5989(){const _0x220ff0=['set','div','1868097mraePp','isFocused','1355rAvJHU','mousedown','29580XTTWCh','showButtons','917770mIxMuw','bindTemplate','commentInputView','focus','render','focusTracker','698884OKfrBb','237EijMAg','13966FlZZaJ','extendTemplate','ck-comment__input-container--active','editor','value','preventDefault','userView','filter','some','then','setTemplate','element','target','delegate','editorDestroyed','destroy','change:showInput','createEditor','36UamWdj','editorReady','ck-thread__input','8cnAsUo','view','focusCycler','showInput','1004775jBHARX','listenTo','ck-thread__user','ck-comment__input-container','getDomRoot','_focusOnNonInteractiveMouseDown','editing','contains','8139341gVGXMb','bind','117RjzsJX'];_0x5989=function(){return _0x220ff0;};return _0x5989();}function _0x17d9(_0x1528f0,_0x458934){const _0x5989c9=_0x5989();return _0x17d9=function(_0x17d9b8,_0x5ce046){_0x17d9b8=_0x17d9b8-0xc5;let _0x2354e4=_0x5989c9[_0x17d9b8];return _0x2354e4;},_0x17d9(_0x1528f0,_0x458934);}import{CommentInputView as _0x567fcb}from'./commentinputview.js';import{UserView as _0x913ba4}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x5456f9{constructor(_0x2f17b4,_0x419f45,_0x1d7370){const _0x3cdb0b=_0x17d9;super(_0x2f17b4),this[_0x3cdb0b(0xea)]=new _0x567fcb(_0x2f17b4,_0x1d7370),this[_0x3cdb0b(0xd3)]=this[_0x3cdb0b(0xea)][_0x3cdb0b(0xd3)],this[_0x3cdb0b(0xea)][_0x3cdb0b(0xde)](_0x3cdb0b(0xe7))['to'](this[_0x3cdb0b(0xea)][_0x3cdb0b(0xed)],_0x3cdb0b(0xe3),this[_0x3cdb0b(0xea)],_0x3cdb0b(0xf4),(_0x28373b,_0x2a635d)=>_0x28373b||!!_0x2a635d),this[_0x3cdb0b(0xe0)](_0x3cdb0b(0xd4),!0x1),this['on'](_0x3cdb0b(0xcc),()=>{const _0x48bd43=_0x3cdb0b;this[_0x48bd43(0xd4)]&&!this[_0x48bd43(0xea)][_0x48bd43(0xf3)]&&this[_0x48bd43(0xea)][_0x48bd43(0xcd)]();}),this[_0x3cdb0b(0xea)][_0x3cdb0b(0xc9)](_0x3cdb0b(0xcf))['to'](this),this[_0x3cdb0b(0xea)][_0x3cdb0b(0xc9)](_0x3cdb0b(0xca))['to'](this),this[_0x3cdb0b(0xf6)]=new _0x913ba4(_0x2f17b4,_0x419f45),this[_0x3cdb0b(0xf6)][_0x3cdb0b(0xf1)]({'attributes':{'class':_0x3cdb0b(0xd7),'aria-hidden':!0x0}}),this[_0x3cdb0b(0xea)][_0x3cdb0b(0xf1)]({'attributes':{'class':_0x3cdb0b(0xd0)}}),this[_0x3cdb0b(0xc6)]({'tag':_0x3cdb0b(0xe1),'attributes':{'class':[_0x3cdb0b(0xd8),this[_0x3cdb0b(0xe9)]['if'](_0x3cdb0b(0xd4),_0x3cdb0b(0xf2))]},'children':[this[_0x3cdb0b(0xf6)],this[_0x3cdb0b(0xea)]]});}[_0x679f0b(0xec)](){const _0x12e9e5=_0x679f0b;super[_0x12e9e5(0xec)](),this[_0x12e9e5(0xda)]();}[_0x679f0b(0xcb)](){const _0x4c280f=_0x679f0b;return this[_0x4c280f(0xea)][_0x4c280f(0xcb)]()[_0x4c280f(0xc5)](()=>super[_0x4c280f(0xcb)]());}[_0x679f0b(0xeb)](_0x20efb9){const _0x409b91=_0x679f0b;this[_0x409b91(0xea)][_0x409b91(0xeb)](_0x20efb9);}[_0x679f0b(0xda)](){const _0x41445a=_0x679f0b;this[_0x41445a(0xd6)](this[_0x41445a(0xc7)],_0x41445a(0xe5),(_0x3dc094,_0x1a53c9)=>{const _0xc9096a=_0x41445a,{submitButtonView:_0x5ea890,cancelButtonView:_0x1f4833,editor:_0x4729f3}=this[_0xc9096a(0xea)];[_0x5ea890[_0xc9096a(0xc7)],_0x1f4833[_0xc9096a(0xc7)],_0x4729f3?_0x4729f3[_0xc9096a(0xdb)][_0xc9096a(0xd2)][_0xc9096a(0xd9)]():null][_0xc9096a(0xf7)](_0x34940b=>_0x34940b)[_0xc9096a(0xf8)](_0xcaef6d=>_0xcaef6d[_0xc9096a(0xdc)](_0x1a53c9[_0xc9096a(0xc8)]))||(this[_0xc9096a(0xeb)](),_0x1a53c9[_0xc9096a(0xf5)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xec2a92=_0x16cb;(function(_0x21ed13,_0x394ee5){const _0x4ed009=_0x16cb,_0x1d9b6b=_0x21ed13();while(!![]){try{const _0x518929=-parseInt(_0x4ed009(0x1cc))/0x1+-parseInt(_0x4ed009(0x223))/0x2*(parseInt(_0x4ed009(0x1ef))/0x3)+parseInt(_0x4ed009(0x1e6))/0x4+parseInt(_0x4ed009(0x1d1))/0x5*(parseInt(_0x4ed009(0x216))/0x6)+-parseInt(_0x4ed009(0x20f))/0x7+parseInt(_0x4ed009(0x1f0))/0x8+parseInt(_0x4ed009(0x210))/0x9*(-parseInt(_0x4ed009(0x1ce))/0xa);if(_0x518929===_0x394ee5)break;else _0x1d9b6b['push'](_0x1d9b6b['shift']());}catch(_0x599a64){_0x1d9b6b['push'](_0x1d9b6b['shift']());}}}(_0x2ad6,0xa5e01));import{ConfirmMixin as _0xee504d,LateFocusButtonView as _0x2e0508}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x344c0a}from'ckeditor5/src/icons.js';function _0x16cb(_0x538d45,_0x1efb35){const _0x2ad6bd=_0x2ad6();return _0x16cb=function(_0x16cb1c,_0x49f843){_0x16cb1c=_0x16cb1c-0x1cc;let _0x26ce1b=_0x2ad6bd[_0x16cb1c];return _0x26ce1b;},_0x16cb(_0x538d45,_0x1efb35);}function _0x2ad6(){const _0x3b6e0c=['focus','has','cancelConfirm','div','stop','listitem','execute','placeholder','isVisible','ariaLabel','isEnabled','commentViews','get','removeConfirm','isUnlinked','setTemplate','actionIndicator','removeButton','3281852DEooYh','Resolve','showConfirm','ck-thread--','isReadOnly','bindTemplate','ck-rounded-corners','ck-thread--active','render','226857JXiRWm','4734224LQRUFQ','listenTo','focusables','_model','bind','change:archivedAt','_boundFirstCommentView','containerElement','add','set','commentThreadHeaderView','ck-reset_all-excluded','commentThreadChildren','commentsListView','unbind','getTemplate','resolveCommentThread','locale','tooltip','high','actionBar','ck-thread__container','ck-thread--unlinked','fire','extendTemplate','isSystemComment','_cancelAllConfirms','_bindFirstCommentView','remove','change:isReadOnly','removeCommentThread','1514471TfFuyw','9kXcaUh','change:isActive','_createResolveButton','label','.ck-thread__container','_updateArchivedThreadHeader','6708LkMQxP','archivedAt','ck-comment--resolve','isResolvable','Write\x20a\x20comment...','element','length','createCollection','commentThreadInputView','resolveButton','isActive','querySelector','ck-thread','2xQPjPA','1122417zRiMqZ','icon','4252470bSxVWv','ariaDescriptionView','Delete\x20comment\x20thread?','4950lAMXwi','then','isResolved'];_0x2ad6=function(){return _0x3b6e0c;};return _0x2ad6();}import{BaseCommentThreadView as _0x266dfc}from'./basecommentthreadview.js';import{getTranslation as _0x109e15}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xee504d(_0x266dfc){[_0xec2a92(0x1fc)];[_0xec2a92(0x1f7)];[_0xec2a92(0x21f)];[_0xec2a92(0x1f6)];constructor(_0x5656b7,_0x37b0f6,_0x471b9c,_0x541770){const _0x3f9f48=_0xec2a92;super(_0x5656b7,_0x37b0f6,_0x471b9c,_0x541770),this[_0x3f9f48(0x1fc)]=this[_0x3f9f48(0x21d)]([this[_0x3f9f48(0x1fd)],this[_0x3f9f48(0x21e)],this[_0x3f9f48(0x1cf)]]),this[_0x3f9f48(0x1f9)](_0x3f9f48(0x1e4),null),this[_0x3f9f48(0x1f7)]=null,this[_0x3f9f48(0x1f6)]=null,this[_0x3f9f48(0x201)]=_0x5656b7,this[_0x3f9f48(0x21f)]=this[_0x3f9f48(0x212)](),this[_0x3f9f48(0x1e3)](this[_0x3f9f48(0x1ff)]()),this['on'](_0x3f9f48(0x211),(_0x1b7e42,_0x308385,_0x2baa38)=>{const _0x3c6973=_0x3f9f48;_0x2baa38||this[_0x3c6973(0x20a)]();}),this[_0x3f9f48(0x1f1)](this[_0x3f9f48(0x1f3)],_0x3f9f48(0x20d),(_0x50b1e2,_0x36701e,_0x1c9815)=>{const _0x2cccfe=_0x3f9f48;_0x1c9815&&this[_0x2cccfe(0x20a)]();}),this[_0x3f9f48(0x21c)]>0x0&&this[_0x3f9f48(0x20b)](),this[_0x3f9f48(0x1f1)](this[_0x3f9f48(0x1fd)][_0x3f9f48(0x1df)],_0x3f9f48(0x1f8),()=>{const _0x5c3fa7=_0x3f9f48;this[_0x5c3fa7(0x20b)]();});}[_0xec2a92(0x1ff)](){const _0x542bf0=_0xec2a92,_0x3d21cf=this[_0x542bf0(0x1eb)];return{'tag':_0x542bf0(0x1d7),'attributes':{'class':['ck',_0x542bf0(0x222),_0x542bf0(0x1fb),_0x542bf0(0x1ec),_0x3d21cf['if'](_0x542bf0(0x220),_0x542bf0(0x1ed)),_0x3d21cf['if'](_0x542bf0(0x1e2),_0x542bf0(0x206)),_0x3d21cf['to'](_0x542bf0(0x1e4),_0x2a996a=>_0x2a996a?_0x542bf0(0x1e9)+_0x2a996a:'')],'data-thread-id':this[_0x542bf0(0x1f3)]['id'],'tabindex':0x0,'role':_0x542bf0(0x1d9),'aria-label':_0x3d21cf['to'](_0x542bf0(0x1dd)),'aria-describedby':this[_0x542bf0(0x1cf)]['id']},'children':[{'tag':_0x542bf0(0x1d7),'attributes':{'class':_0x542bf0(0x205)},'children':this[_0x542bf0(0x1fc)]}]};}[_0xec2a92(0x1ee)](){const _0x1a7dd5=_0xec2a92;super[_0x1a7dd5(0x1ee)](),this[_0x1a7dd5(0x1f7)]=this[_0x1a7dd5(0x21b)][_0x1a7dd5(0x221)](_0x1a7dd5(0x214)),this[_0x1a7dd5(0x1f3)]['on'](_0x1a7dd5(0x1f5),()=>{const _0x1883c0=_0x1a7dd5;this[_0x1883c0(0x215)]();}),this[_0x1a7dd5(0x215)]();}[_0xec2a92(0x20a)](){const _0x338d94=_0xec2a92;this[_0x338d94(0x1d6)]();for(const _0x3f4f23 of this[_0x338d94(0x1fd)][_0x338d94(0x1df)])_0x3f4f23[_0x338d94(0x1d6)]();}[_0xec2a92(0x20b)](){const _0x11bcad=_0xec2a92,{locale:_0x53d742}=this,_0x2fabb2=this[_0x11bcad(0x1fd)][_0x11bcad(0x1df)][_0x11bcad(0x1e0)](0x0);_0x2fabb2===this[_0x11bcad(0x1f6)]||_0x2fabb2[_0x11bcad(0x209)]||(this[_0x11bcad(0x1f6)]=_0x2fabb2,this[_0x11bcad(0x1fe)](_0x11bcad(0x1e4)),this[_0x11bcad(0x1f4)](_0x11bcad(0x1e4))['to'](_0x2fabb2,_0x11bcad(0x1e4),_0x3d5d64=>_0x11bcad(0x20c)===_0x3d5d64?_0x11bcad(0x20c):null),_0x2fabb2[_0x11bcad(0x1db)]=_0x109e15(_0x53d742,_0x11bcad(0x21a)),_0x2fabb2[_0x11bcad(0x1e5)]['on'](_0x11bcad(0x1da),_0x10f4d0=>{const _0x4a0c88=_0x11bcad;_0x10f4d0[_0x4a0c88(0x1d8)](),this[_0x4a0c88(0x1e8)](_0x109e15(_0x53d742,_0x4a0c88(0x1d0)),this[_0x4a0c88(0x1f7)])[_0x4a0c88(0x1d2)](()=>{const _0x50d727=_0x4a0c88;this[_0x50d727(0x207)](_0x50d727(0x20e));});},{'priority':_0x11bcad(0x203)}),this['on'](_0x11bcad(0x1e1),()=>{const _0x5d00b8=_0x11bcad;_0x2fabb2[_0x5d00b8(0x1d4)]();}),_0x2fabb2[_0x11bcad(0x204)][_0x11bcad(0x1f8)](this[_0x11bcad(0x21f)],0x0),_0x2fabb2[_0x11bcad(0x1f2)][_0x11bcad(0x1f8)](this[_0x11bcad(0x21f)],0x0));}[_0xec2a92(0x212)](){const _0x28ad8b=_0xec2a92,_0x44263f=new _0x2e0508(this[_0x28ad8b(0x201)]);return _0x44263f[_0x28ad8b(0x213)]=_0x109e15(this[_0x28ad8b(0x201)],_0x28ad8b(0x1e7)),_0x44263f[_0x28ad8b(0x202)]=_0x109e15(this[_0x28ad8b(0x201)],_0x28ad8b(0x1e7)),_0x44263f[_0x28ad8b(0x1cd)]=_0x344c0a,_0x44263f[_0x28ad8b(0x208)]({'attributes':{'class':_0x28ad8b(0x218)}}),_0x44263f[_0x28ad8b(0x1f4)](_0x28ad8b(0x1de))['to'](this[_0x28ad8b(0x1f3)],_0x28ad8b(0x1ea),_0x20a3c9=>!_0x20a3c9),_0x44263f[_0x28ad8b(0x1f4)](_0x28ad8b(0x1dc))['to'](this[_0x28ad8b(0x1f3)],_0x28ad8b(0x219),this[_0x28ad8b(0x1f3)],_0x28ad8b(0x1d3),(_0x5e85b5,_0x103a13)=>_0x5e85b5&&!_0x103a13),_0x44263f['on'](_0x28ad8b(0x1da),()=>{const _0x27444c=_0x28ad8b;this[_0x27444c(0x207)](_0x27444c(0x200),this[_0x27444c(0x1f3)]['id']);}),_0x44263f;}[_0xec2a92(0x215)](){const _0xb824f2=_0xec2a92;this[_0xb824f2(0x1f3)][_0xb824f2(0x217)]?this[_0xb824f2(0x1fc)][_0xb824f2(0x1d5)](this[_0xb824f2(0x1fa)])||(this[_0xb824f2(0x1fc)][_0xb824f2(0x1f8)](this[_0xb824f2(0x1fa)],0x0),this[_0xb824f2(0x1f2)][_0xb824f2(0x1f8)](this[_0xb824f2(0x1fa)],0x0)):this[_0xb824f2(0x1fc)][_0xb824f2(0x1d5)](this[_0xb824f2(0x1fa)])&&(this[_0xb824f2(0x1fc)][_0xb824f2(0x20c)](this[_0xb824f2(0x1fa)]),this[_0xb824f2(0x1f2)][_0xb824f2(0x20c)](this[_0xb824f2(0x1fa)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3896a1=_0x2421;(function(_0x37b596,_0x46a61e){const _0x104d4a=_0x2421,_0x31cbda=_0x37b596();while(!![]){try{const _0x43775e=parseInt(_0x104d4a(0x129))/0x1*(-parseInt(_0x104d4a(0x13a))/0x2)+parseInt(_0x104d4a(0x116))/0x3*(parseInt(_0x104d4a(0xff))/0x4)+parseInt(_0x104d4a(0x103))/0x5*(parseInt(_0x104d4a(0x101))/0x6)+-parseInt(_0x104d4a(0xfb))/0x7+-parseInt(_0x104d4a(0xf8))/0x8*(-parseInt(_0x104d4a(0xf5))/0x9)+-parseInt(_0x104d4a(0x16b))/0xa*(-parseInt(_0x104d4a(0x113))/0xb)+-parseInt(_0x104d4a(0x12f))/0xc*(parseInt(_0x104d4a(0xf4))/0xd);if(_0x43775e===_0x46a61e)break;else _0x31cbda['push'](_0x31cbda['shift']());}catch(_0xab34f9){_0x31cbda['push'](_0x31cbda['shift']());}}}(_0x3767,0xa4c9f));import{IconRemoveComment as _0x595454,IconPencil as _0x2eed51,IconThreeVerticalDots as _0x57491d}from'ckeditor5/src/icons.js';import{ButtonView as _0x1fc2f0,createDropdown as _0xecbd1d,ListView as _0x54ec89,ListItemView as _0x19fb62,focusChildOnDropdownOpen as _0x2e2385}from'ckeditor5/src/ui.js';import{UserView as _0x1f5293,ConfirmMixin as _0x5f19a3,LateFocusDropdownButtonView as _0x9210cd}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x296950}from'./basecommentview.js';import{getTranslation as _0x3db0aa}from'../../../utils/common-translations.js';function _0x3767(){const _0x4333c9=['ck-annotation__main','then','ck-comment__info','156547ixZHwS','ck-comment__external','_createDropdown','ck-comment__wrapper','Remove','mouseenter','48DNcmcB','ck-annotation__actions','visibleView','buttonView','icon','blur','getExternalCommentNote','ck-comment--info','Show\x20more\x20items','withText','resolvedAt','2UgCSmi','userView','switchToEditMode','ck-comment--remove','ck-annotation__info','extendTemplate','isEditable','group','isVisible','showConfirm','isSystemComment','focus','unbind','add','remove','isEditMode','ck-annotation__info-name','Reply...','ck-comment','actionIndicator','getTemplate','toMany','ariaLabel','actionBar','ck-comment__user','element','Delete\x20comment?','execute','ck-annotation__actions--hidden','author','from','listenTo','ck-annotation','render','mouseleave','panelView','locale','focusables','children','removeButton','ck-comment__actions--hidden','isEnabled','Edit','bindTemplate','_model','find','_createCommentInputView','items','isExternal','227170nlghmN','change:isRemovable','ck-comment__info-time','1441882sMoAGO','279BRMfXd','fire','ck-comment__info-name','26344IBuoaj','_attachActions','dropdown','2203663vMLeLv','_config','name','panelPosition','4616jWXpdA','edit','1595526VldZFq','getUserViewNotificationText','5lKUrPi','placeholder','ck-comment--edit','ck-comment--','div','listitem','set','isReadOnly','ariaDescriptionView','_createEditButton','bind','ck-comment__main','authoredAt','length','editButton','ck-annotation__content-wrapper','143ibgDkL','createCollection','removeComment','2409tfJbAp','label','ck-annotation__info-time','addMany','setTemplate','isRemovable','_createRemoveButton','time','formatDateTime','cancelConfirm','ck-hidden','ck-comment__actions','span','some','push','ck-annotation__user'];_0x3767=function(){return _0x4333c9;};return _0x3767();}function _0x2421(_0x2d0ed1,_0x4230ea){const _0x376741=_0x3767();return _0x2421=function(_0x24212c,_0x562eaa){_0x24212c=_0x24212c-0xf2;let _0x5dbe50=_0x376741[_0x24212c];return _0x5dbe50;},_0x2421(_0x2d0ed1,_0x4230ea);}export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5f19a3(_0x296950){[_0x3896a1(0x151)];[_0x3896a1(0x13b)];constructor(_0x31d5fe,_0x15ba83,_0x1cf185){const _0x28c8b5=_0x3896a1;super(_0x31d5fe,_0x15ba83,_0x1cf185),this[_0x28c8b5(0x109)](_0x28c8b5(0x14d),null),this[_0x28c8b5(0x109)](_0x28c8b5(0x104),_0x3db0aa(_0x31d5fe,_0x28c8b5(0x14b))),this[_0x28c8b5(0x10d)](_0x28c8b5(0x10f))['to'](_0x15ba83),this[_0x28c8b5(0x10d)](_0x28c8b5(0x139))['to'](_0x15ba83),this[_0x28c8b5(0x151)]=this[_0x28c8b5(0x114)](),this[_0x28c8b5(0x144)]||(this[_0x28c8b5(0x111)]=this[_0x28c8b5(0x10c)](),this[_0x28c8b5(0x161)]=this[_0x28c8b5(0x11c)](),this[_0x28c8b5(0x169)]=this[_0x28c8b5(0x114)](),this[_0x28c8b5(0x169)][_0x28c8b5(0x119)]([this[_0x28c8b5(0x111)],this[_0x28c8b5(0x161)]]),this[_0x28c8b5(0xfa)]=this[_0x28c8b5(0x12b)](),this[_0x28c8b5(0x151)][_0x28c8b5(0x147)](this[_0x28c8b5(0xfa)]),this[_0x28c8b5(0x15f)][_0x28c8b5(0x147)](this[_0x28c8b5(0xfa)])),this[_0x28c8b5(0x13b)]=new _0x1f5293(_0x31d5fe,_0x15ba83[_0x28c8b5(0x157)],this[_0x28c8b5(0x102)]()),this[_0x28c8b5(0x13b)][_0x28c8b5(0x13f)]({'attributes':{'class':[_0x28c8b5(0x152),_0x28c8b5(0x125)],'aria-hidden':!0x0}}),this[_0x28c8b5(0x159)](_0x15ba83,_0x28c8b5(0xf2),()=>this[_0x28c8b5(0x11f)]()),this[_0x28c8b5(0x11a)](this[_0x28c8b5(0x14e)]());}[_0x3896a1(0x14e)](){const _0x1f5fbc=_0x3896a1,_0xc28c45=this[_0x1f5fbc(0x165)],_0x5d8a8a=[{'tag':_0x1f5fbc(0x107),'attributes':{'class':[_0x1f5fbc(0x128),_0x1f5fbc(0x13e)]},'children':[{'tag':_0x1f5fbc(0x122),'children':[{'text':this[_0x1f5fbc(0x13b)][_0x1f5fbc(0xfd)]}],'attributes':{'class':[_0x1f5fbc(0xf7),_0x1f5fbc(0x14a)],'data-cke-tooltip-text':this[_0x1f5fbc(0x13b)][_0x1f5fbc(0xfd)]}},{'tag':_0x1f5fbc(0x11d),'attributes':{'datetime':_0xc28c45['to'](_0x1f5fbc(0x10f)),'class':[_0x1f5fbc(0xf3),_0x1f5fbc(0x118)]},'children':[{'text':_0xc28c45['to'](_0x1f5fbc(0x10f),_0x5852f3=>this[_0x1f5fbc(0xfc)][_0x1f5fbc(0x11e)](_0x5852f3))}]}]},{'tag':_0x1f5fbc(0x107),'attributes':{'class':[_0x1f5fbc(0x121),_0x1f5fbc(0x130),_0xc28c45['if'](_0x1f5fbc(0x149),_0x1f5fbc(0x162)),_0xc28c45['if'](_0x1f5fbc(0x149),_0x1f5fbc(0x156))]},'children':this[_0x1f5fbc(0x151)]},{'tag':_0x1f5fbc(0x107),'attributes':{'class':[_0x1f5fbc(0x112)]},'children':this[_0x1f5fbc(0x131)]},this[_0x1f5fbc(0x10b)]];return this[_0x1f5fbc(0x166)][_0x1f5fbc(0x16a)]&&_0x5d8a8a[_0x1f5fbc(0x124)]({'tag':_0x1f5fbc(0x107),'attributes':{'class':[_0x1f5fbc(0x12a)]},'children':[{'text':this[_0x1f5fbc(0x135)]()}]}),{'tag':'li','attributes':{'class':[_0x1f5fbc(0x12c)],'tabindex':-0x1,'aria-label':_0xc28c45['to'](_0x1f5fbc(0x150)),'aria-describedby':this[_0x1f5fbc(0x10b)]['id'],'role':_0x1f5fbc(0x108)},'children':[{'tag':_0x1f5fbc(0x107),'attributes':{'class':[_0x1f5fbc(0x14c),_0x1f5fbc(0x15a),_0xc28c45['if'](_0x1f5fbc(0x149),_0x1f5fbc(0x105)),_0xc28c45['if'](_0x1f5fbc(0x144),_0x1f5fbc(0x136)),_0xc28c45['to'](_0x1f5fbc(0x14d),_0x20580d=>_0x20580d?_0x1f5fbc(0x106)+_0x20580d:'')],'data-author-id':this[_0x1f5fbc(0x166)][_0x1f5fbc(0x157)]['id'],'data-comment-id':this[_0x1f5fbc(0x166)]['id'],'role':_0x1f5fbc(0x141)},'children':[this[_0x1f5fbc(0x13b)],{'tag':_0x1f5fbc(0x107),'attributes':{'class':[_0x1f5fbc(0x10e),_0x1f5fbc(0x126)]},'children':_0x5d8a8a}]}]};}[_0x3896a1(0x10c)](){const _0x43815a=_0x3896a1,_0x4e4ed7=new _0x1fc2f0(this[_0x43815a(0x15e)]);return _0x4e4ed7[_0x43815a(0x117)]=_0x3db0aa(this[_0x43815a(0x15e)],_0x43815a(0x164)),_0x4e4ed7[_0x43815a(0x133)]=_0x2eed51,_0x4e4ed7[_0x43815a(0x138)]=!0x0,_0x4e4ed7[_0x43815a(0x13f)]({'attributes':{'class':_0x43815a(0x105)}}),_0x4e4ed7[_0x43815a(0x10d)](_0x43815a(0x163))['to'](this[_0x43815a(0x166)],_0x43815a(0x10a),_0x1c8b3c=>!_0x1c8b3c),_0x4e4ed7[_0x43815a(0x10d)](_0x43815a(0x142))['to'](this[_0x43815a(0x166)],_0x43815a(0x140)),_0x4e4ed7['on'](_0x43815a(0x155),()=>this[_0x43815a(0x13c)]()),_0x4e4ed7;}[_0x3896a1(0x11c)](){const _0x44513b=_0x3896a1,_0x2f512e=new _0x1fc2f0(this[_0x44513b(0x15e)]);return _0x2f512e[_0x44513b(0x117)]=_0x3db0aa(this[_0x44513b(0x15e)],_0x44513b(0x12d)),_0x2f512e[_0x44513b(0x133)]=_0x595454,_0x2f512e[_0x44513b(0x138)]=!0x0,_0x2f512e[_0x44513b(0x13f)]({'attributes':{'class':_0x44513b(0x13d)}}),_0x2f512e[_0x44513b(0x10d)](_0x44513b(0x163))['to'](this[_0x44513b(0x166)],_0x44513b(0x10a),_0x14ec3f=>!_0x14ec3f),_0x2f512e[_0x44513b(0x10d)](_0x44513b(0x142))['to'](this[_0x44513b(0x166)],_0x44513b(0x11b)),_0x2f512e['on'](_0x44513b(0x155),()=>{const _0xd02e98=_0x44513b;this[_0xd02e98(0x143)](_0x3db0aa(this[_0xd02e98(0x15e)],_0xd02e98(0x154)),this[_0xd02e98(0x153)])[_0xd02e98(0x127)](()=>{const _0x5db4de=_0xd02e98;this[_0x5db4de(0xf6)](_0x5db4de(0x115),this[_0x5db4de(0x166)]['id']);});}),_0x2f512e;}[_0x3896a1(0x12b)](){const _0x4f3ab2=_0x3896a1,_0x2f1cde=_0xecbd1d(this[_0x4f3ab2(0x15e)],_0x9210cd),_0x264756=_0x2f1cde[_0x4f3ab2(0x15d)][_0x4f3ab2(0x160)],_0x117fa7=new _0x54ec89(this[_0x4f3ab2(0x15e)]),_0x4ebfa8=_0x2f1cde[_0x4f3ab2(0x165)];_0x2e2385(_0x2f1cde,()=>this[_0x4f3ab2(0x169)][_0x4f3ab2(0x167)](_0x4a887a=>_0x4a887a[_0x4f3ab2(0x142)])),_0x2f1cde[_0x4f3ab2(0x13f)]({'attributes':{'class':[_0x4ebfa8['if'](_0x4f3ab2(0x142),_0x4f3ab2(0x120),_0x442959=>!_0x442959)]}});const _0x37df51=(_0x27b003,_0x224200=-0x1)=>{const _0x1f013c=_0x4f3ab2,_0x41aab5=new _0x19fb62(this[_0x1f013c(0x15e)]);_0x41aab5[_0x1f013c(0x160)][_0x1f013c(0x147)](_0x27b003);const _0x5a3c21=_0x224200>-0x1?_0x224200:_0x117fa7[_0x1f013c(0x169)][_0x1f013c(0x110)];_0x117fa7[_0x1f013c(0x169)][_0x1f013c(0x147)](_0x41aab5,_0x5a3c21);const _0x515397=Array[_0x1f013c(0x158)](this[_0x1f013c(0x169)]);_0x2f1cde[_0x1f013c(0x146)](_0x1f013c(0x163),_0x1f013c(0x142)),_0x2f1cde[_0x1f013c(0x10d)](_0x1f013c(0x163))[_0x1f013c(0x14f)](_0x515397,_0x1f013c(0x163),(..._0x4c0f7f)=>_0x4c0f7f[_0x1f013c(0x123)](_0x2eb5a1=>_0x2eb5a1)),_0x2f1cde[_0x1f013c(0x10d)](_0x1f013c(0x142))[_0x1f013c(0x14f)](_0x515397,_0x1f013c(0x142),(..._0x6829fb)=>_0x6829fb[_0x1f013c(0x123)](_0x139773=>_0x139773));};_0x2f1cde[_0x4f3ab2(0xfe)]='sw',_0x2f1cde[_0x4f3ab2(0x132)][_0x4f3ab2(0x109)]({'label':_0x3db0aa(this[_0x4f3ab2(0x15e)],_0x4f3ab2(0x137)),'icon':_0x57491d});for(const _0x3c3ef1 of this[_0x4f3ab2(0x169)])_0x37df51(_0x3c3ef1);return _0x264756[_0x4f3ab2(0x147)](_0x117fa7),_0x2f1cde[_0x4f3ab2(0x159)](this[_0x4f3ab2(0x169)],_0x4f3ab2(0x147),(_0xff393a,_0x1e4605,_0x43e899)=>{_0x37df51(_0x1e4605,_0x43e899);}),_0x2f1cde[_0x4f3ab2(0x159)](this[_0x4f3ab2(0x169)],_0x4f3ab2(0x148),(_0x348607,_0x212fb2,_0x50dab9)=>{const _0x153ce9=_0x4f3ab2;_0x117fa7[_0x153ce9(0x169)][_0x153ce9(0x148)](_0x50dab9);}),_0x2f1cde;}[_0x3896a1(0xf9)](_0x4f39e6,_0x53e2dd){const _0x593be0=_0x3896a1,_0x218cf8=_0x4f39e6&&_0x4f39e6[_0x593be0(0x153)];_0x218cf8&&(this[_0x593be0(0x159)](_0x218cf8,_0x593be0(0x12e),()=>this[_0x593be0(0x14d)]=_0x53e2dd),this[_0x593be0(0x159)](_0x218cf8,_0x593be0(0x145),()=>this[_0x593be0(0x14d)]=_0x53e2dd),this[_0x593be0(0x159)](_0x218cf8,_0x593be0(0x15c),()=>this[_0x593be0(0x14d)]=null),this[_0x593be0(0x159)](_0x218cf8,_0x593be0(0x134),()=>this[_0x593be0(0x14d)]=null));}[_0x3896a1(0x168)](){const _0x5cfc48=_0x3896a1,_0x1b66ea=super[_0x5cfc48(0x168)]();return _0x1b66ea[_0x5cfc48(0x10d)](_0x5cfc48(0x104))['to'](this),_0x1b66ea;}[_0x3896a1(0x15b)](){const _0x3fa463=_0x3896a1;super[_0x3fa463(0x15b)](),this[_0x3fa463(0xf9)](this[_0x3fa463(0x111)],_0x3fa463(0x100)),this[_0x3fa463(0xf9)](this[_0x3fa463(0x161)],_0x3fa463(0x148));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x120ef1=_0x354c;(function(_0x2c7a59,_0x59a8ab){var _0x1793ce=_0x354c,_0x5053e7=_0x2c7a59();while(!![]){try{var _0x18f52d=parseInt(_0x1793ce(0x1a8))/0x1*(parseInt(_0x1793ce(0x1af))/0x2)+parseInt(_0x1793ce(0x1a7))/0x3+parseInt(_0x1793ce(0x1a6))/0x4+parseInt(_0x1793ce(0x1ad))/0x5+-parseInt(_0x1793ce(0x1ac))/0x6*(-parseInt(_0x1793ce(0x1ab))/0x7)+-parseInt(_0x1793ce(0x1a2))/0x8+-parseInt(_0x1793ce(0x1aa))/0x9*(parseInt(_0x1793ce(0x1a3))/0xa);if(_0x18f52d===_0x59a8ab)break;else _0x5053e7['push'](_0x5053e7['shift']());}catch(_0x6ae1a1){_0x5053e7['push'](_0x5053e7['shift']());}}}(_0x5c4e,0xe4a41));function _0x5c4e(){var _0x3e7e26=['2TEJfpM','requires','3678376AoaXIP','10zcQswu','pluginName','isPremiumPlugin','1149184xGWYbA','468180mJGGxC','1622596ycSFFx','Comments','23373297RGdUCB','7iWBbHA','1297188hciKNk','8555965QtKaCx','isOfficialPlugin'];_0x5c4e=function(){return _0x3e7e26;};return _0x5c4e();}import{Plugin as _0x1f58fe}from'ckeditor5/src/core.js';import{CommentsRepository as _0x5e9110}from'./comments/commentsrepository.js';import{CommentsEditing as _0x508b42}from'./comments/commentsediting.js';import{CommentsUI as _0x4fc184}from'./comments/commentsui.js';import{CommentsOnly as _0x2c552a}from'./commentsonly.js';import{WideSidebar as _0x288bba}from'./annotations/widesidebar.js';function _0x354c(_0x56f79f,_0x25a1b7){var _0x5c4e81=_0x5c4e();return _0x354c=function(_0x354ca2,_0xad5f88){_0x354ca2=_0x354ca2-0x1a1;var _0x594662=_0x5c4e81[_0x354ca2];return _0x594662;},_0x354c(_0x56f79f,_0x25a1b7);}import{NarrowSidebar as _0x344df5}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x42a086}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x516a62}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x85b587}from'./comments/commentsarchive.js';export class Comments extends _0x1f58fe{static get[_0x120ef1(0x1a1)](){return[_0x5e9110,_0x508b42,_0x4fc184,_0x85b587,_0x516a62,_0x2c552a,_0x288bba,_0x344df5,_0x42a086];}static get[_0x120ef1(0x1a4)](){var _0x2c4f75=_0x120ef1;return _0x2c4f75(0x1a9);}static get[_0x120ef1(0x1ae)](){return!0x0;}static get[_0x120ef1(0x1a5)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x495344=_0x357e;(function(_0x164209,_0x3c0001){const _0x3d0450=_0x357e,_0x297788=_0x164209();while(!![]){try{const _0x33c279=-parseInt(_0x3d0450(0x10c))/0x1+-parseInt(_0x3d0450(0x112))/0x2+-parseInt(_0x3d0450(0x129))/0x3*(-parseInt(_0x3d0450(0x127))/0x4)+parseInt(_0x3d0450(0x12c))/0x5*(parseInt(_0x3d0450(0x110))/0x6)+parseInt(_0x3d0450(0x11f))/0x7*(parseInt(_0x3d0450(0x111))/0x8)+-parseInt(_0x3d0450(0x120))/0x9*(parseInt(_0x3d0450(0x125))/0xa)+-parseInt(_0x3d0450(0x11d))/0xb*(-parseInt(_0x3d0450(0x118))/0xc);if(_0x33c279===_0x3c0001)break;else _0x297788['push'](_0x297788['shift']());}catch(_0x318405){_0x297788['push'](_0x297788['shift']());}}}(_0x5666,0xdf511));import{Plugin as _0x3dc943}from'ckeditor5/src/core.js';function _0x357e(_0xbdad0,_0x31db2f){const _0x56663d=_0x5666();return _0x357e=function(_0x357e1a,_0x30eef8){_0x357e1a=_0x357e1a-0x107;let _0x4a0b19=_0x56663d[_0x357e1a];return _0x4a0b19;},_0x357e(_0xbdad0,_0x31db2f);}function _0x5666(){const _0x4b70ef=['forceDisabled','affectsData','690bmBiMq','DragDrop','2796ltlHJy','plugins','807FNxDnN','requires','addCommentThread','28205eeMjNa','editor','view','afterInit','commentsOnlyMode','change:isEnabled','_enableCommentsOnlyMode','stopListening','document','isEnabled','editSource','pluginName','stop','listenTo','cut','config','332234hxxhak','_disableCommentsOnlyMode','SourceEditing','delete','588wZOduM','14162776ufAnmb','2635048KKdHti','set','highest','clearForceDisabled','commands','get','12sVkbut','has','CommentsOnly','commentsOnly','editing','6038593QnjwLM','clipboardInput','7JqFyVm','64656sXsaSh','isPremiumPlugin','isOfficialPlugin'];_0x5666=function(){return _0x4b70ef;};return _0x5666();}import{CommentsEditing as _0x3b295d}from'./comments/commentsediting.js';export class CommentsOnly extends _0x3dc943{static get[_0x495344(0x107)](){const _0x3fa242=_0x495344;return _0x3fa242(0x11a);}static get[_0x495344(0x122)](){return!0x0;}static get[_0x495344(0x121)](){return!0x0;}static get[_0x495344(0x12a)](){return[_0x3b295d];}constructor(_0x1dadb1){const _0x1c2672=_0x495344;super(_0x1dadb1),this[_0x1c2672(0x113)](_0x1c2672(0x135),!0x1),this['on'](_0x1c2672(0x131),(_0x2fd06f,_0x3c846b,_0x34037a)=>{const _0x148175=_0x1c2672;_0x34037a?this[_0x148175(0x132)]():this[_0x148175(0x10d)]();});}[_0x495344(0x12f)](){const _0x8f39b7=_0x495344;!this[_0x8f39b7(0x135)]&&this[_0x8f39b7(0x12d)][_0x8f39b7(0x10b)][_0x8f39b7(0x117)](_0x8f39b7(0x11b))&&(this[_0x8f39b7(0x135)]=!0x0);}[_0x495344(0x132)](){const _0x19aff4=_0x495344;for(const [_0x2d973f,_0x4ca9b6]of this[_0x19aff4(0x12d)][_0x19aff4(0x116)])_0x4ca9b6[_0x19aff4(0x124)]&&_0x19aff4(0x12b)!==_0x2d973f&&_0x4ca9b6[_0x19aff4(0x123)](_0x19aff4(0x130));(this[_0x19aff4(0x12d)][_0x19aff4(0x128)][_0x19aff4(0x119)](_0x19aff4(0x126))&&this[_0x19aff4(0x12d)][_0x19aff4(0x128)][_0x19aff4(0x117)](_0x19aff4(0x126))[_0x19aff4(0x123)](_0x19aff4(0x130)),this[_0x19aff4(0x12d)][_0x19aff4(0x128)][_0x19aff4(0x119)](_0x19aff4(0x10e)))&&this[_0x19aff4(0x12d)][_0x19aff4(0x128)][_0x19aff4(0x117)](_0x19aff4(0x10e))[_0x19aff4(0x123)](_0x19aff4(0x130));this[_0x19aff4(0x12d)][_0x19aff4(0x116)][_0x19aff4(0x117)](_0x19aff4(0x136))?.[_0x19aff4(0x123)](_0x19aff4(0x130));const _0x18f610=this[_0x19aff4(0x12d)][_0x19aff4(0x11c)][_0x19aff4(0x12e)][_0x19aff4(0x134)];this[_0x19aff4(0x109)](_0x18f610,_0x19aff4(0x10a),_0x6bcb12=>_0x6bcb12[_0x19aff4(0x108)](),{'priority':_0x19aff4(0x114)}),this[_0x19aff4(0x109)](_0x18f610,_0x19aff4(0x11e),_0x3e6412=>_0x3e6412[_0x19aff4(0x108)](),{'priority':_0x19aff4(0x114)}),this[_0x19aff4(0x109)](_0x18f610,_0x19aff4(0x10f),_0x133474=>_0x133474[_0x19aff4(0x108)](),{'priority':_0x19aff4(0x114)});}[_0x495344(0x10d)](){const _0x2422c9=_0x495344;for(const [_0x4aff84,_0x504c89]of this[_0x2422c9(0x12d)][_0x2422c9(0x116)])_0x504c89[_0x2422c9(0x124)]&&_0x2422c9(0x12b)!==_0x4aff84&&_0x504c89[_0x2422c9(0x115)](_0x2422c9(0x130));this[_0x2422c9(0x12d)][_0x2422c9(0x128)][_0x2422c9(0x119)](_0x2422c9(0x10e))&&this[_0x2422c9(0x12d)][_0x2422c9(0x128)][_0x2422c9(0x117)](_0x2422c9(0x10e))[_0x2422c9(0x115)](_0x2422c9(0x130)),this[_0x2422c9(0x12d)][_0x2422c9(0x116)][_0x2422c9(0x117)](_0x2422c9(0x136))?.[_0x2422c9(0x115)](_0x2422c9(0x130)),this[_0x2422c9(0x133)](this[_0x2422c9(0x12d)][_0x2422c9(0x11c)][_0x2422c9(0x12e)][_0x2422c9(0x134)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4a053c,_0x1545be){var _0x1bad05=_0x4a7e,_0x925de7=_0x4a053c();while(!![]){try{var _0x3f713d=-parseInt(_0x1bad05(0x7e))/0x1*(-parseInt(_0x1bad05(0x83))/0x2)+-parseInt(_0x1bad05(0x7f))/0x3*(-parseInt(_0x1bad05(0x7c))/0x4)+-parseInt(_0x1bad05(0x82))/0x5*(parseInt(_0x1bad05(0x88))/0x6)+parseInt(_0x1bad05(0x80))/0x7*(-parseInt(_0x1bad05(0x87))/0x8)+parseInt(_0x1bad05(0x7d))/0x9*(-parseInt(_0x1bad05(0x84))/0xa)+-parseInt(_0x1bad05(0x86))/0xb*(-parseInt(_0x1bad05(0x85))/0xc)+parseInt(_0x1bad05(0x81))/0xd;if(_0x3f713d===_0x1545be)break;else _0x925de7['push'](_0x925de7['shift']());}catch(_0x97aa30){_0x925de7['push'](_0x925de7['shift']());}}}(_0x4372,0x5e3f0));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';function _0x4372(){var _0x20c6a6=['8gBYatB','72eZDrDP','16gNJAAj','1173294IvwnGt','1NtaWba','43629JcuTmi','1887753MRzcXh','6571019uODCTM','120295SZHOXh','1351502AWmtjj','30KWVXYe','2604GfRENX','4873XwcxzN'];_0x4372=function(){return _0x20c6a6;};return _0x4372();}export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';function _0x4a7e(_0xfd7e5f,_0x6cb085){var _0x43725b=_0x4372();return _0x4a7e=function(_0x4a7e6f,_0x30ae1e){_0x4a7e6f=_0x4a7e6f-0x7c;var _0x1aa4e3=_0x43725b[_0x4a7e6f];return _0x1aa4e3;},_0x4a7e(_0xfd7e5f,_0x6cb085);}export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';export{CommentsArchiveUI}from'./comments/commentsarchiveui.js';export{CommentsEditing}from'./comments/commentsediting.js';export{AnnotationCounterButtonView}from'./annotations/view/annotationcounterbuttonview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x2dfad7,_0x113085,_0x48240f){const t=_0x2dfad7['t'];switch(_0x113085){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'},_0x48240f);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'},_0x48240f);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'},_0x48240f);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'},_0x48240f);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x48240f);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'},_0x48240f);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'},_0x48240f);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'},_0x48240f);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 _0x4bf9(_0x1c536f,_0x401c62){const _0x505fbf=_0x505f();return _0x4bf9=function(_0x4bf939,_0x22317c){_0x4bf939=_0x4bf939-0x172;let _0x41c3b4=_0x505fbf[_0x4bf939];return _0x41c3b4;},_0x4bf9(_0x1c536f,_0x401c62);}(function(_0x1289c0,_0x45f504){const _0x1703c0=_0x4bf9,_0x1620b2=_0x1289c0();while(!![]){try{const _0xbd3425=-parseInt(_0x1703c0(0x185))/0x1*(parseInt(_0x1703c0(0x174))/0x2)+-parseInt(_0x1703c0(0x173))/0x3+-parseInt(_0x1703c0(0x180))/0x4*(-parseInt(_0x1703c0(0x183))/0x5)+-parseInt(_0x1703c0(0x179))/0x6*(-parseInt(_0x1703c0(0x17a))/0x7)+-parseInt(_0x1703c0(0x17b))/0x8+-parseInt(_0x1703c0(0x17e))/0x9+-parseInt(_0x1703c0(0x184))/0xa*(-parseInt(_0x1703c0(0x17d))/0xb);if(_0xbd3425===_0x45f504)break;else _0x1620b2['push'](_0x1620b2['shift']());}catch(_0x4d8580){_0x1620b2['push'](_0x1620b2['shift']());}}}(_0x505f,0x2230b));import{throttle as _0x5978f4}from'es-toolkit/compat';export function createMutationObserver(_0x5217fe){const _0x525f30=_0x5978f4(_0x5217fe,0x1e),_0x2307dd=new MutationObserver(_0x3ac33a=>{const _0x345d2e=_0x4bf9;for(const _0x29e2d2 of _0x3ac33a)(_0x345d2e(0x17c)==_0x29e2d2[_0x345d2e(0x177)]&&_0x345d2e(0x175)==_0x29e2d2[_0x345d2e(0x182)]||_0x345d2e(0x178)==_0x29e2d2[_0x345d2e(0x177)]||_0x345d2e(0x176)==_0x29e2d2[_0x345d2e(0x177)])&&_0x525f30();});return{'attach'(_0x5cb8e1){const _0x5f2c5c=_0x4bf9;_0x2307dd[_0x5f2c5c(0x181)](_0x5cb8e1,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x41c071=_0x4bf9;_0x2307dd[_0x41c071(0x17f)](),_0x525f30[_0x41c071(0x172)]();}};}function _0x505f(){const _0x3475e9=['cancel','749589rNupXv','167984UsnsUY','class','characterData','type','childList','10992AcQnTz','385NpGQtn','1070104LElDws','attributes','2903626jOjDyD','1412370OsASwJ','disconnect','293188ilTiXP','observe','attributeName','15tHqJDk','20IcDfcm','2oOFzPE'];_0x505f=function(){return _0x3475e9;};return _0x505f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x41f233,_0x175480){const _0x3f3d29=_0x35c4,_0x573300=_0x41f233();while(!![]){try{const _0x3ede7e=parseInt(_0x3f3d29(0xd0))/0x1*(parseInt(_0x3f3d29(0xcf))/0x2)+parseInt(_0x3f3d29(0xcb))/0x3*(-parseInt(_0x3f3d29(0xce))/0x4)+parseInt(_0x3f3d29(0xd2))/0x5+-parseInt(_0x3f3d29(0xcd))/0x6+-parseInt(_0x3f3d29(0xcc))/0x7+-parseInt(_0x3f3d29(0xc9))/0x8+parseInt(_0x3f3d29(0xd1))/0x9;if(_0x3ede7e===_0x175480)break;else _0x573300['push'](_0x573300['shift']());}catch(_0x5ccce2){_0x573300['push'](_0x573300['shift']());}}}(_0x2606,0x947fe));export function splitMarkerName(_0x3b52fb){const _0x45e469=_0x35c4,_0x2f3e25=_0x3b52fb[_0x45e469(0xca)](':');return{'group':_0x2f3e25[0x0],'id':_0x2f3e25[0x1],'part':_0x2f3e25[0x2]};}function _0x35c4(_0x1615be,_0x3f6f0f){const _0x260672=_0x2606();return _0x35c4=function(_0x35c4a2,_0x4b5c66){_0x35c4a2=_0x35c4a2-0xc9;let _0x127891=_0x260672[_0x35c4a2];return _0x127891;},_0x35c4(_0x1615be,_0x3f6f0f);}function _0x2606(){const _0x59764a=['25516yoKZrV','18fIhsbr','119227hclxzt','8597484qKbtjA','4218365pVVRJX','2339616CrSHcM','split','21RsvDnn','5338522AUYASQ','6983922CEIkTB'];_0x2606=function(){return _0x59764a;};return _0x2606();}
|