@ckeditor/ckeditor5-comments 47.6.0-alpha.0 → 47.6.0-alpha.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 +19 -19
- 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 _0x532154=_0x29f8;(function(_0x545334,_0x1ec6c9){const _0x56e888=_0x29f8,_0xdd551b=_0x545334();while(!![]){try{const _0xd562fb=-parseInt(_0x56e888(0x207))/0x1*(parseInt(_0x56e888(0x203))/0x2)+-parseInt(_0x56e888(0x1ee))/0x3+-parseInt(_0x56e888(0x1fb))/0x4*(-parseInt(_0x56e888(0x221))/0x5)+-parseInt(_0x56e888(0x233))/0x6+-parseInt(_0x56e888(0x236))/0x7*(parseInt(_0x56e888(0x231))/0x8)+-parseInt(_0x56e888(0x21d))/0x9+parseInt(_0x56e888(0x23b))/0xa;if(_0xd562fb===_0x1ec6c9)break;else _0xdd551b['push'](_0xdd551b['shift']());}catch(_0x4cfd51){_0xdd551b['push'](_0xdd551b['shift']());}}}(_0x9c40,0x817b4));import{View as _0xd77345,FocusCycler as _0x4c4d3d}from'ckeditor5/src/ui.js';import{diff as _0x112848,Collection as _0x2d70f8,FocusTracker as _0x54340a,KeystrokeHandler as _0x307001}from'ckeditor5/src/utils.js';function _0x9c40(){const _0x39b16b=['resolvedCommentView','insert','editorConfig','1909596sLNHhE','_shouldCollapse','map','comments','expand','set','change:isEditMode','_calculatePosition','change','maxCommentCharsWhenCollapsed','element','listenTo','delete','3084vKPTDu','resolveCommentThread','refreshVisibleViews','focusFirst','focusTracker','get','maxThreadTotalWeight','viewUid','29442KZWDaf','createCollection','hasDirtyComment','_config','25BqlGzf','resolvedBy','arrowup','_findOptimalIndex','_setupKeyboardNavigation','resolved','ck-hidden','Marked\x20as\x20resolved','arrowdown','isEditMode','add','editorDestroyed','_updateHasDirtyComment','_rearrangeCollapse','CommentView','resolvedAt','commentUpdated','change:hasDirtyComment','collapse','from','maxCommentsWhenCollapsed','target','5393106YVWGrC','removed','ck-thread__comments','updateComment','1565iHDVPC','setTemplate','some','length','focusCycler','weight','isActive','_collapsedCommentsView','includes','formatDateTime','visibleViews','_handleInfoComment','authoredAt','destroy','_rearrangeExpand','equal','16jlOOJe','editorReady','2637690PnaBcl','removeComment','count','278803JNPhAm','_model','commentViews','stopListening','locale','24120970enfVlb','added','_handleRemoveCommentModel','bind','change:isActive','forEach','delegate','reverse','Thread\x20comments','focusLast','focus','bindTemplate','_handleNewCommentModel','keystrokes','change:isResolved','render','remove'];_0x9c40=function(){return _0x39b16b;};return _0x9c40();}function _0x29f8(_0x23d1c3,_0x32e9da){const _0x9c4078=_0x9c40();return _0x29f8=function(_0x29f819,_0x2fbba7){_0x29f819=_0x29f819-0x1e7;let _0x1c4372=_0x9c4078[_0x29f819];return _0x1c4372;},_0x29f8(_0x23d1c3,_0x32e9da);}import{getTranslation as _0x30c42e}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x2657ae}from'./collapsedcommentsview.js';export class CommentsListView extends _0xd77345{[_0x532154(0x238)];[_0x532154(0x1eb)];[_0x532154(0x1ff)];[_0x532154(0x1e7)];[_0x532154(0x225)];[_0x532154(0x237)];[_0x532154(0x206)];[_0x532154(0x228)];constructor(_0x5df05b,_0x1a5994,_0xefb988){const _0x3174b6=_0x532154;super(_0x5df05b);const _0x108bf7=this[_0x3174b6(0x246)];this[_0x3174b6(0x1f3)](_0x3174b6(0x205),!0x1),this[_0x3174b6(0x1f3)](_0x3174b6(0x224),_0x1a5994[_0x3174b6(0x1f1)][_0x3174b6(0x224)]),this[_0x3174b6(0x1f3)](_0x3174b6(0x227),!0x1),this[_0x3174b6(0x237)]=_0x1a5994,this[_0x3174b6(0x206)]=_0xefb988,this[_0x3174b6(0x238)]=this[_0x3174b6(0x204)](),this[_0x3174b6(0x22b)]=this[_0x3174b6(0x204)](),this[_0x3174b6(0x1eb)]=null,this[_0x3174b6(0x1ff)]=new _0x54340a(),this[_0x3174b6(0x1e7)]=new _0x307001(),this[_0x3174b6(0x225)]=new _0x4c4d3d({'focusables':this[_0x3174b6(0x238)],'focusTracker':this[_0x3174b6(0x1ff)],'keystrokeHandler':this[_0x3174b6(0x1e7)],'keystrokeHandlerOptions':{'filter':_0x2a180e=>this[_0x3174b6(0x238)][_0x3174b6(0x1f0)](_0xefcdbb=>_0xefcdbb[_0x3174b6(0x1f8)])[_0x3174b6(0x229)](_0x2a180e[_0x3174b6(0x21c)])},'actions':{'focusPrevious':_0x3174b6(0x209),'focusNext':_0x3174b6(0x20f)}}),this[_0x3174b6(0x228)]=new _0x2657ae(_0x5df05b),this[_0x3174b6(0x228)][_0x3174b6(0x23e)](_0x3174b6(0x235))['to'](this,_0x3174b6(0x224),_0x5c32b3=>_0x5c32b3-this[_0x3174b6(0x206)][_0x3174b6(0x21b)]);for(const _0xd13500 of _0x1a5994[_0x3174b6(0x1f1)])this[_0x3174b6(0x247)](_0xd13500);this[_0x3174b6(0x22c)](),this[_0x3174b6(0x1f9)](_0x1a5994[_0x3174b6(0x1f1)],_0x3174b6(0x211),(_0x21beb6,_0x4b0522)=>{const _0x12cbff=_0x3174b6,_0x197ba9=this[_0x12cbff(0x1f5)](_0x4b0522);this[_0x12cbff(0x224)]++,this[_0x12cbff(0x247)](_0x4b0522,_0x197ba9),this[_0x12cbff(0x1fd)]();}),this[_0x3174b6(0x1f9)](_0x1a5994[_0x3174b6(0x1f1)],_0x3174b6(0x1ea),(_0x22d385,_0x2f933b)=>{const _0xcedf58=_0x3174b6;this[_0xcedf58(0x224)]--,this[_0xcedf58(0x23d)](_0x2f933b),this[_0xcedf58(0x1fd)]();}),this[_0x3174b6(0x1f9)](_0x1a5994,_0x3174b6(0x217),()=>this[_0x3174b6(0x1fd)]()),this[_0x3174b6(0x1f9)](_0x1a5994,_0x3174b6(0x1e8),()=>this[_0x3174b6(0x22c)]()),this['on'](_0x3174b6(0x23f),()=>this[_0x3174b6(0x1fd)]()),this['on'](_0x3174b6(0x218),()=>this[_0x3174b6(0x1fd)]()),this[_0x3174b6(0x222)]({'tag':'ul','attributes':{'class':[_0x3174b6(0x21f),_0x108bf7['if'](_0x3174b6(0x224),_0x3174b6(0x20d),_0x578dba=>!_0x578dba)],'aria-label':_0x30c42e(_0x5df05b,_0x3174b6(0x243))},'children':this[_0x3174b6(0x22b)]});}get[_0x532154(0x1ef)](){const _0x257dd3=_0x532154;return this[_0x257dd3(0x237)][_0x257dd3(0x226)]>this[_0x257dd3(0x206)][_0x257dd3(0x201)]&&!this[_0x257dd3(0x227)]&&!this[_0x257dd3(0x205)];}[_0x532154(0x1e9)](){const _0x125d6a=_0x532154;super[_0x125d6a(0x1e9)](),this[_0x125d6a(0x1fd)](),this[_0x125d6a(0x20b)]();}[_0x532154(0x245)](_0xd667d){const _0x2af578=_0x532154;-0x1===_0xd667d?this[_0x2af578(0x225)][_0x2af578(0x244)]():this[_0x2af578(0x225)][_0x2af578(0x1fe)]();}[_0x532154(0x22e)](){const _0x59b7b5=_0x532154;this[_0x59b7b5(0x228)][_0x59b7b5(0x22e)]();for(const _0x4e336c of this[_0x59b7b5(0x238)])_0x4e336c[_0x59b7b5(0x22e)]();super[_0x59b7b5(0x22e)]();}[_0x532154(0x1fd)](){const _0x1093d0=_0x532154;this[_0x1093d0(0x1ef)]?this[_0x1093d0(0x214)]():this[_0x1093d0(0x22f)]();}[_0x532154(0x247)](_0x1cfa0e,_0x216ef5){const _0x224149=_0x532154,_0x42200b=new this[(_0x224149(0x206))][(_0x224149(0x215))](this[_0x224149(0x23a)],_0x1cfa0e,{'maxCommentCharsWhenCollapsed':this[_0x224149(0x206)][_0x224149(0x1f7)],'formatDateTime':this[_0x224149(0x206)][_0x224149(0x22a)],'editorConfig':this[_0x224149(0x206)][_0x224149(0x1ed)]});_0x42200b[_0x224149(0x202)]=_0x1cfa0e['id'],_0x42200b[_0x224149(0x241)](_0x224149(0x234))['to'](this),_0x42200b[_0x224149(0x241)](_0x224149(0x220))['to'](this),_0x42200b[_0x224149(0x241)](_0x224149(0x1fc))['to'](this),_0x42200b[_0x224149(0x241)](_0x224149(0x232))['to'](this),_0x42200b[_0x224149(0x241)](_0x224149(0x212))['to'](this),this[_0x224149(0x1f9)](_0x42200b,_0x224149(0x1f4),()=>this[_0x224149(0x213)]()),this[_0x224149(0x238)][_0x224149(0x211)](_0x42200b,_0x216ef5);}[_0x532154(0x1f5)](_0x4e9ca8){const _0x20d8a5=_0x532154,_0x243f07=this[_0x20d8a5(0x237)][_0x20d8a5(0x20a)](_0x4e9ca8);return this[_0x20d8a5(0x1eb)]?this[_0x20d8a5(0x1eb)][_0x20d8a5(0x22d)]>_0x4e9ca8[_0x20d8a5(0x22d)]?_0x243f07-0x1:_0x243f07:_0x243f07-0x1;}[_0x532154(0x22c)](){const _0x3f61de=_0x532154;if(this[_0x3f61de(0x237)][_0x3f61de(0x208)]&&this[_0x3f61de(0x237)][_0x3f61de(0x216)]){const _0x2bba46={'id':_0x3f61de(0x20c),'author':this[_0x3f61de(0x237)][_0x3f61de(0x208)],'authoredAt':this[_0x3f61de(0x237)][_0x3f61de(0x216)],'content':_0x30c42e(this[_0x3f61de(0x23a)],_0x3f61de(0x20e)),'attributes':{}};this[_0x3f61de(0x1eb)]=new this[(_0x3f61de(0x206))][(_0x3f61de(0x215))](this[_0x3f61de(0x23a)],_0x2bba46,{'maxCommentCharsWhenCollapsed':this[_0x3f61de(0x206)][_0x3f61de(0x1f7)],'formatDateTime':this[_0x3f61de(0x206)][_0x3f61de(0x22a)],'editorConfig':this[_0x3f61de(0x206)][_0x3f61de(0x1ed)],'isSystemComment':!0x0}),this[_0x3f61de(0x238)][_0x3f61de(0x211)](this[_0x3f61de(0x1eb)],this[_0x3f61de(0x237)][_0x3f61de(0x20a)](_0x2bba46));}else this[_0x3f61de(0x1eb)]&&(this[_0x3f61de(0x238)][_0x3f61de(0x1ea)](this[_0x3f61de(0x1eb)]),this[_0x3f61de(0x1eb)][_0x3f61de(0x22e)](),this[_0x3f61de(0x1eb)]=null);this[_0x3f61de(0x1fd)]();}[_0x532154(0x23d)](_0x31546f){const _0x17d295=_0x532154,_0x166b7d=this[_0x17d295(0x238)][_0x17d295(0x1ea)](_0x31546f['id']);this[_0x17d295(0x239)](_0x166b7d),_0x166b7d[_0x17d295(0x210)]&&this[_0x17d295(0x213)](),_0x166b7d[_0x17d295(0x22e)]();}[_0x532154(0x213)](){const _0x432991=_0x532154;this[_0x432991(0x205)]=Array[_0x432991(0x21a)](this[_0x432991(0x238)])[_0x432991(0x223)](_0x2ab4cb=>_0x2ab4cb[_0x432991(0x210)]);}[_0x532154(0x214)](){const _0x1d8b7c=_0x532154,_0x5dfd9c=function(_0x214aed){const _0x464808=_0x29f8,_0x483f5a=new _0x2d70f8();for(const _0x351a65 of _0x214aed)_0x483f5a[_0x464808(0x211)](_0x351a65);return _0x483f5a;}(this[_0x1d8b7c(0x238)]),_0xf45e32=this[_0x1d8b7c(0x228)][_0x1d8b7c(0x235)];for(let _0x2cc795=0x1;_0x2cc795<=_0xf45e32;_0x2cc795++)_0x5dfd9c[_0x1d8b7c(0x1ea)](0x1);for(const _0x1de862 of _0x5dfd9c)_0x1de862[_0x1d8b7c(0x219)]();_0xf45e32>0x0&&_0x5dfd9c[_0x1d8b7c(0x211)](this[_0x1d8b7c(0x228)],0x1),ns(_0x112848(Array[_0x1d8b7c(0x21a)](this[_0x1d8b7c(0x22b)]),Array[_0x1d8b7c(0x21a)](_0x5dfd9c)),this[_0x1d8b7c(0x22b)],_0x5dfd9c);}[_0x532154(0x22f)](){const _0x1ec8ae=_0x532154;ns(_0x112848(Array[_0x1ec8ae(0x21a)](this[_0x1ec8ae(0x22b)]),Array[_0x1ec8ae(0x21a)](this[_0x1ec8ae(0x238)])),this[_0x1ec8ae(0x22b)],this[_0x1ec8ae(0x238)]);for(const _0x2baa8a of this[_0x1ec8ae(0x22b)])_0x2baa8a[_0x1ec8ae(0x1f2)]();}[_0x532154(0x20b)](){const _0x1a0ff2=_0x532154;this[_0x1a0ff2(0x238)][_0x1a0ff2(0x240)](_0x21ec7d=>{const _0x302fc4=_0x1a0ff2;this[_0x302fc4(0x1ff)][_0x302fc4(0x211)](_0x21ec7d[_0x302fc4(0x1f8)]),this[_0x302fc4(0x1e7)][_0x302fc4(0x1f9)](_0x21ec7d[_0x302fc4(0x1f8)]);}),this[_0x1a0ff2(0x238)]['on'](_0x1a0ff2(0x1f6),(_0xeb0d87,_0x400119)=>{const _0x1a179d=_0x1a0ff2;for(const _0x2eb600 of _0x400119[_0x1a179d(0x21e)])this[_0x1a179d(0x1ff)][_0x1a179d(0x1ea)](_0x2eb600[_0x1a179d(0x1f8)]),this[_0x1a179d(0x1e7)][_0x1a179d(0x239)](_0x2eb600[_0x1a179d(0x1f8)]);for(const _0x3b6af8 of Array[_0x1a179d(0x21a)](_0x400119[_0x1a179d(0x23c)])[_0x1a179d(0x242)]())this[_0x1a179d(0x1ff)][_0x1a179d(0x211)](_0x3b6af8[_0x1a179d(0x1f8)]),this[_0x1a179d(0x1e7)][_0x1a179d(0x1f9)](_0x3b6af8[_0x1a179d(0x1f8)]);});}}function ns(_0x396eda,_0x118c63,_0x246c0a){const _0xda385c=_0x532154;let _0x4b43e4=0x0;for(const _0x2a5765 of _0x396eda)switch(_0x2a5765){case _0xda385c(0x1ec):_0x118c63[_0xda385c(0x211)](_0x246c0a[_0xda385c(0x200)](_0x4b43e4),_0x4b43e4),_0x4b43e4++;break;case _0xda385c(0x1fa):_0x118c63[_0xda385c(0x1ea)](_0x4b43e4);break;case _0xda385c(0x230):_0x4b43e4++;}}
|
|
23
|
+
const _0x39c028=_0x1530;(function(_0xe527dd,_0x3eabcb){const _0x145b98=_0x1530,_0x434cd8=_0xe527dd();while(!![]){try{const _0x1380c2=parseInt(_0x145b98(0x170))/0x1+-parseInt(_0x145b98(0x153))/0x2+-parseInt(_0x145b98(0x169))/0x3+-parseInt(_0x145b98(0x179))/0x4*(parseInt(_0x145b98(0x192))/0x5)+parseInt(_0x145b98(0x190))/0x6+-parseInt(_0x145b98(0x155))/0x7*(-parseInt(_0x145b98(0x162))/0x8)+parseInt(_0x145b98(0x186))/0x9;if(_0x1380c2===_0x3eabcb)break;else _0x434cd8['push'](_0x434cd8['shift']());}catch(_0x1f51d7){_0x434cd8['push'](_0x434cd8['shift']());}}}(_0x2273,0x564e9));import{View as _0x3a88d1,FocusCycler as _0x283ff8}from'ckeditor5/src/ui.js';function _0x1530(_0x3efb6f,_0x345c0e){const _0x227380=_0x2273();return _0x1530=function(_0x1530d4,_0x1ad21f){_0x1530d4=_0x1530d4-0x141;let _0x2e059a=_0x227380[_0x1530d4];return _0x2e059a;},_0x1530(_0x3efb6f,_0x345c0e);}function _0x2273(){const _0xee3c7b=['_handleInfoComment','isActive','updateComment','40lnycXA','add','focusCycler','ck-thread__comments','editorDestroyed','keystrokes','set','2057376OjmMGt','resolveCommentThread','resolvedCommentView','change:isResolved','setTemplate','get','weight','182019uqRlLY','focusLast','CommentView','delete','arrowdown','_config','element','change','destroy','8ZOMmpj','isEditMode','_setupKeyboardNavigation','bindTemplate','_rearrangeExpand','_rearrangeCollapse','resolvedAt','ck-hidden','forEach','editorConfig','expand','locale','_shouldCollapse','3207195cOHCss','hasDirtyComment','bind','maxCommentsWhenCollapsed','delegate','authoredAt','change:isActive','from','change:hasDirtyComment','map','2376486mirBMi','_updateHasDirtyComment','224155EpyZhC','commentViews','resolved','change:isEditMode','editorReady','added','removeComment','collapse','viewUid','focusFirst','listenTo','maxCommentCharsWhenCollapsed','stopListening','Marked\x20as\x20resolved','visibleViews','focus','includes','target','focusTracker','render','_handleRemoveCommentModel','resolvedBy','equal','_collapsedCommentsView','arrowup','commentUpdated','comments','removed','some','maxThreadTotalWeight','_handleNewCommentModel','createCollection','Thread\x20comments','881766RtVdVj','formatDateTime','889553GXZNtN','_findOptimalIndex','count','remove','length','_model','insert','_calculatePosition','refreshVisibleViews','reverse'];_0x2273=function(){return _0xee3c7b;};return _0x2273();}import{diff as _0x641284,Collection as _0x39d77f,FocusTracker as _0x1eb4b7,KeystrokeHandler as _0x3f9d9a}from'ckeditor5/src/utils.js';import{getTranslation as _0x373bab}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x3b4739}from'./collapsedcommentsview.js';export class CommentsListView extends _0x3a88d1{[_0x39c028(0x193)];[_0x39c028(0x16b)];[_0x39c028(0x144)];[_0x39c028(0x167)];[_0x39c028(0x164)];[_0x39c028(0x15a)];[_0x39c028(0x175)];[_0x39c028(0x149)];constructor(_0x4eb562,_0x1b63b6,_0x1a42ff){const _0x338417=_0x39c028;super(_0x4eb562);const _0xfdff53=this[_0x338417(0x17c)];this[_0x338417(0x168)](_0x338417(0x187),!0x1),this[_0x338417(0x168)](_0x338417(0x159),_0x1b63b6[_0x338417(0x14c)][_0x338417(0x159)]),this[_0x338417(0x168)](_0x338417(0x160),!0x1),this[_0x338417(0x15a)]=_0x1b63b6,this[_0x338417(0x175)]=_0x1a42ff,this[_0x338417(0x193)]=this[_0x338417(0x151)](),this[_0x338417(0x1a0)]=this[_0x338417(0x151)](),this[_0x338417(0x16b)]=null,this[_0x338417(0x144)]=new _0x1eb4b7(),this[_0x338417(0x167)]=new _0x3f9d9a(),this[_0x338417(0x164)]=new _0x283ff8({'focusables':this[_0x338417(0x193)],'focusTracker':this[_0x338417(0x144)],'keystrokeHandler':this[_0x338417(0x167)],'keystrokeHandlerOptions':{'filter':_0x3e138d=>this[_0x338417(0x193)][_0x338417(0x18f)](_0x2603ae=>_0x2603ae[_0x338417(0x176)])[_0x338417(0x142)](_0x3e138d[_0x338417(0x143)])},'actions':{'focusPrevious':_0x338417(0x14a),'focusNext':_0x338417(0x174)}}),this[_0x338417(0x149)]=new _0x3b4739(_0x4eb562),this[_0x338417(0x149)][_0x338417(0x188)](_0x338417(0x157))['to'](this,_0x338417(0x159),_0x25a68f=>_0x25a68f-this[_0x338417(0x175)][_0x338417(0x189)]);for(const _0xcb4a7f of _0x1b63b6[_0x338417(0x14c)])this[_0x338417(0x150)](_0xcb4a7f);this[_0x338417(0x15f)](),this[_0x338417(0x19c)](_0x1b63b6[_0x338417(0x14c)],_0x338417(0x163),(_0x27c731,_0x36deff)=>{const _0x28060d=_0x338417,_0x158d48=this[_0x28060d(0x15c)](_0x36deff);this[_0x28060d(0x159)]++,this[_0x28060d(0x150)](_0x36deff,_0x158d48),this[_0x28060d(0x15d)]();}),this[_0x338417(0x19c)](_0x1b63b6[_0x338417(0x14c)],_0x338417(0x158),(_0x475835,_0x5ebdba)=>{const _0x1edad7=_0x338417;this[_0x1edad7(0x159)]--,this[_0x1edad7(0x146)](_0x5ebdba),this[_0x1edad7(0x15d)]();}),this[_0x338417(0x19c)](_0x1b63b6,_0x338417(0x14b),()=>this[_0x338417(0x15d)]()),this[_0x338417(0x19c)](_0x1b63b6,_0x338417(0x16c),()=>this[_0x338417(0x15f)]()),this['on'](_0x338417(0x18c),()=>this[_0x338417(0x15d)]()),this['on'](_0x338417(0x18e),()=>this[_0x338417(0x15d)]()),this[_0x338417(0x16d)]({'tag':'ul','attributes':{'class':[_0x338417(0x165),_0xfdff53['if'](_0x338417(0x159),_0x338417(0x180),_0xb29dc1=>!_0xb29dc1)],'aria-label':_0x373bab(_0x4eb562,_0x338417(0x152))},'children':this[_0x338417(0x1a0)]});}get[_0x39c028(0x185)](){const _0x3da1f7=_0x39c028;return this[_0x3da1f7(0x15a)][_0x3da1f7(0x16f)]>this[_0x3da1f7(0x175)][_0x3da1f7(0x14f)]&&!this[_0x3da1f7(0x160)]&&!this[_0x3da1f7(0x187)];}[_0x39c028(0x145)](){const _0x395e39=_0x39c028;super[_0x395e39(0x145)](),this[_0x395e39(0x15d)](),this[_0x395e39(0x17b)]();}[_0x39c028(0x141)](_0x1e1de1){const _0x90605f=_0x39c028;-0x1===_0x1e1de1?this[_0x90605f(0x164)][_0x90605f(0x171)]():this[_0x90605f(0x164)][_0x90605f(0x19b)]();}[_0x39c028(0x178)](){const _0x1246b6=_0x39c028;this[_0x1246b6(0x149)][_0x1246b6(0x178)]();for(const _0x9114b7 of this[_0x1246b6(0x193)])_0x9114b7[_0x1246b6(0x178)]();super[_0x1246b6(0x178)]();}[_0x39c028(0x15d)](){const _0xe22407=_0x39c028;this[_0xe22407(0x185)]?this[_0xe22407(0x17e)]():this[_0xe22407(0x17d)]();}[_0x39c028(0x150)](_0x484b9d,_0x5008b1){const _0x5c6e8d=_0x39c028,_0x39a9c2=new this[(_0x5c6e8d(0x175))][(_0x5c6e8d(0x172))](this[_0x5c6e8d(0x184)],_0x484b9d,{'maxCommentCharsWhenCollapsed':this[_0x5c6e8d(0x175)][_0x5c6e8d(0x19d)],'formatDateTime':this[_0x5c6e8d(0x175)][_0x5c6e8d(0x154)],'editorConfig':this[_0x5c6e8d(0x175)][_0x5c6e8d(0x182)]});_0x39a9c2[_0x5c6e8d(0x19a)]=_0x484b9d['id'],_0x39a9c2[_0x5c6e8d(0x18a)](_0x5c6e8d(0x198))['to'](this),_0x39a9c2[_0x5c6e8d(0x18a)](_0x5c6e8d(0x161))['to'](this),_0x39a9c2[_0x5c6e8d(0x18a)](_0x5c6e8d(0x16a))['to'](this),_0x39a9c2[_0x5c6e8d(0x18a)](_0x5c6e8d(0x196))['to'](this),_0x39a9c2[_0x5c6e8d(0x18a)](_0x5c6e8d(0x166))['to'](this),this[_0x5c6e8d(0x19c)](_0x39a9c2,_0x5c6e8d(0x195),()=>this[_0x5c6e8d(0x191)]()),this[_0x5c6e8d(0x193)][_0x5c6e8d(0x163)](_0x39a9c2,_0x5008b1);}[_0x39c028(0x15c)](_0x2f5458){const _0x140e71=_0x39c028,_0x3a65ab=this[_0x140e71(0x15a)][_0x140e71(0x156)](_0x2f5458);return this[_0x140e71(0x16b)]?this[_0x140e71(0x16b)][_0x140e71(0x18b)]>_0x2f5458[_0x140e71(0x18b)]?_0x3a65ab-0x1:_0x3a65ab:_0x3a65ab-0x1;}[_0x39c028(0x15f)](){const _0x4ac18e=_0x39c028;if(this[_0x4ac18e(0x15a)][_0x4ac18e(0x147)]&&this[_0x4ac18e(0x15a)][_0x4ac18e(0x17f)]){const _0x44973d={'id':_0x4ac18e(0x194),'author':this[_0x4ac18e(0x15a)][_0x4ac18e(0x147)],'authoredAt':this[_0x4ac18e(0x15a)][_0x4ac18e(0x17f)],'content':_0x373bab(this[_0x4ac18e(0x184)],_0x4ac18e(0x19f)),'attributes':{}};this[_0x4ac18e(0x16b)]=new this[(_0x4ac18e(0x175))][(_0x4ac18e(0x172))](this[_0x4ac18e(0x184)],_0x44973d,{'maxCommentCharsWhenCollapsed':this[_0x4ac18e(0x175)][_0x4ac18e(0x19d)],'formatDateTime':this[_0x4ac18e(0x175)][_0x4ac18e(0x154)],'editorConfig':this[_0x4ac18e(0x175)][_0x4ac18e(0x182)],'isSystemComment':!0x0}),this[_0x4ac18e(0x193)][_0x4ac18e(0x163)](this[_0x4ac18e(0x16b)],this[_0x4ac18e(0x15a)][_0x4ac18e(0x156)](_0x44973d));}else this[_0x4ac18e(0x16b)]&&(this[_0x4ac18e(0x193)][_0x4ac18e(0x158)](this[_0x4ac18e(0x16b)]),this[_0x4ac18e(0x16b)][_0x4ac18e(0x178)](),this[_0x4ac18e(0x16b)]=null);this[_0x4ac18e(0x15d)]();}[_0x39c028(0x146)](_0x3b320a){const _0x5398fd=_0x39c028,_0x38c9e1=this[_0x5398fd(0x193)][_0x5398fd(0x158)](_0x3b320a['id']);this[_0x5398fd(0x19e)](_0x38c9e1),_0x38c9e1[_0x5398fd(0x17a)]&&this[_0x5398fd(0x191)](),_0x38c9e1[_0x5398fd(0x178)]();}[_0x39c028(0x191)](){const _0x3db95a=_0x39c028;this[_0x3db95a(0x187)]=Array[_0x3db95a(0x18d)](this[_0x3db95a(0x193)])[_0x3db95a(0x14e)](_0x4d3759=>_0x4d3759[_0x3db95a(0x17a)]);}[_0x39c028(0x17e)](){const _0x5dfcbc=_0x39c028,_0xe84bcd=function(_0x1c2e58){const _0x27ee1c=_0x1530,_0x408c78=new _0x39d77f();for(const _0x3c10cd of _0x1c2e58)_0x408c78[_0x27ee1c(0x163)](_0x3c10cd);return _0x408c78;}(this[_0x5dfcbc(0x193)]),_0x398d47=this[_0x5dfcbc(0x149)][_0x5dfcbc(0x157)];for(let _0x225015=0x1;_0x225015<=_0x398d47;_0x225015++)_0xe84bcd[_0x5dfcbc(0x158)](0x1);for(const _0x38628c of _0xe84bcd)_0x38628c[_0x5dfcbc(0x199)]();_0x398d47>0x0&&_0xe84bcd[_0x5dfcbc(0x163)](this[_0x5dfcbc(0x149)],0x1),ns(_0x641284(Array[_0x5dfcbc(0x18d)](this[_0x5dfcbc(0x1a0)]),Array[_0x5dfcbc(0x18d)](_0xe84bcd)),this[_0x5dfcbc(0x1a0)],_0xe84bcd);}[_0x39c028(0x17d)](){const _0x3b5582=_0x39c028;ns(_0x641284(Array[_0x3b5582(0x18d)](this[_0x3b5582(0x1a0)]),Array[_0x3b5582(0x18d)](this[_0x3b5582(0x193)])),this[_0x3b5582(0x1a0)],this[_0x3b5582(0x193)]);for(const _0x3aee50 of this[_0x3b5582(0x1a0)])_0x3aee50[_0x3b5582(0x183)]();}[_0x39c028(0x17b)](){const _0x57c607=_0x39c028;this[_0x57c607(0x193)][_0x57c607(0x181)](_0x3cd4df=>{const _0x1741b7=_0x57c607;this[_0x1741b7(0x144)][_0x1741b7(0x163)](_0x3cd4df[_0x1741b7(0x176)]),this[_0x1741b7(0x167)][_0x1741b7(0x19c)](_0x3cd4df[_0x1741b7(0x176)]);}),this[_0x57c607(0x193)]['on'](_0x57c607(0x177),(_0x80f1ad,_0x34b957)=>{const _0x39019d=_0x57c607;for(const _0x4cd067 of _0x34b957[_0x39019d(0x14d)])this[_0x39019d(0x144)][_0x39019d(0x158)](_0x4cd067[_0x39019d(0x176)]),this[_0x39019d(0x167)][_0x39019d(0x19e)](_0x4cd067[_0x39019d(0x176)]);for(const _0x58756a of Array[_0x39019d(0x18d)](_0x34b957[_0x39019d(0x197)])[_0x39019d(0x15e)]())this[_0x39019d(0x144)][_0x39019d(0x163)](_0x58756a[_0x39019d(0x176)]),this[_0x39019d(0x167)][_0x39019d(0x19c)](_0x58756a[_0x39019d(0x176)]);});}}function ns(_0x147db0,_0x1a1f42,_0x2db869){const _0x10402c=_0x39c028;let _0x51101a=0x0;for(const _0x1453b6 of _0x147db0)switch(_0x1453b6){case _0x10402c(0x15b):_0x1a1f42[_0x10402c(0x163)](_0x2db869[_0x10402c(0x16e)](_0x51101a),_0x51101a),_0x51101a++;break;case _0x10402c(0x173):_0x1a1f42[_0x10402c(0x158)](_0x51101a);break;case _0x10402c(0x148):_0x51101a++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x8854(_0xcade8b,_0xcb65ae){const _0x4be879=_0x4be8();return _0x8854=function(_0x8854e1,_0x435175){_0x8854e1=_0x8854e1-0x1b3;let _0x2edfda=_0x4be879[_0x8854e1];return _0x2edfda;},_0x8854(_0xcade8b,_0xcb65ae);}const _0x44145c=_0x8854;(function(_0x37e110,_0x3a495e){const _0x3a37f7=_0x8854,_0x385abc=_0x37e110();while(!![]){try{const _0x1f54a5=parseInt(_0x3a37f7(0x1bf))/0x1+parseInt(_0x3a37f7(0x1b8))/0x2+-parseInt(_0x3a37f7(0x1bd))/0x3+parseInt(_0x3a37f7(0x1bc))/0x4+parseInt(_0x3a37f7(0x1c0))/0x5+parseInt(_0x3a37f7(0x1b4))/0x6*(parseInt(_0x3a37f7(0x1c1))/0x7)+parseInt(_0x3a37f7(0x1ba))/0x8*(-parseInt(_0x3a37f7(0x1b9))/0x9);if(_0x1f54a5===_0x3a495e)break;else _0x385abc['push'](_0x385abc['shift']());}catch(_0x227030){_0x385abc['push'](_0x385abc['shift']());}}}(_0x4be8,0x7ae39));import{View as _0x133e1b}from'ckeditor5/src/ui.js';import{getTranslation as _0x1fe58d}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x133e1b{constructor(_0x58633c){const _0x366aeb=_0x8854;super(_0x58633c);const _0x2c8db4=this[_0x366aeb(0x1c4)];this[_0x366aeb(0x1c2)](_0x366aeb(0x1c3),''),this[_0x366aeb(0x1b6)]({'tag':_0x366aeb(0x1bb),'attributes':{'class':['ck',_0x366aeb(0x1b3)],'aria-label':_0x2c8db4['to'](_0x366aeb(0x1c3),_0x4ab5eb=>_0x1fe58d(_0x58633c,_0x366aeb(0x1b5),_0x4ab5eb)),'tabindex':-0x1},'children':[{'text':_0x2c8db4['to'](_0x366aeb(0x1c3))}]});}[_0x44145c(0x1be)](){const _0x3350bc=_0x44145c;this[_0x3350bc(0x1b7)][_0x3350bc(0x1be)]();}}function _0x4be8(){const _0x365023=['1577528iEqwLX','36drvvTb','2745896Dfddph','span','1820732SwPWws','2015403ChPyoT','focus','326169qTnStg','4246385JBJCBB','33369PWNNxo','set','contextValue','bindTemplate','ck-context__value','162EHuods','THREAD_CONTEXT_LABEL','setTemplate','element'];_0x4be8=function(){return _0x365023;};return _0x4be8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23f5a9=_0x9069;(function(_0x3f3b3d,_0xe43781){const _0x2476ae=_0x9069,_0x21389d=_0x3f3b3d();while(!![]){try{const _0x51139f=-parseInt(_0x2476ae(0x12c))/0x1+parseInt(_0x2476ae(0x130))/0x2+parseInt(_0x2476ae(0x117))/0x3+parseInt(_0x2476ae(0x11a))/0x4*(-parseInt(_0x2476ae(0x11d))/0x5)+parseInt(_0x2476ae(0xfa))/0x6*(parseInt(_0x2476ae(0x10f))/0x7)+parseInt(_0x2476ae(0x10d))/0x8*(parseInt(_0x2476ae(0x103))/0x9)+-parseInt(_0x2476ae(0xfc))/0xa;if(_0x51139f===_0xe43781)break;else _0x21389d['push'](_0x21389d['shift']());}catch(_0x2733d2){_0x21389d['push'](_0x21389d['shift']());}}}(_0x1457,0xddf35));import{View as _0x5964f3,ButtonView as _0x4e4206,FocusCycler as _0x5b1e63}from'ckeditor5/src/ui.js';import{FocusTracker as _0x214a0c,KeystrokeHandler as _0x39a127}from'ckeditor5/src/utils.js';function _0x9069(_0x3acc3e,_0x50ea0){const _0x14570d=_0x1457();return _0x9069=function(_0x906951,_0x5a3539){_0x906951=_0x906951-0xee;let _0x3fbc5d=_0x14570d[_0x906951];return _0x3fbc5d;},_0x9069(_0x3acc3e,_0x50ea0);}import{IconUndo as _0x4d6a5e}from'ckeditor5/src/icons.js';function _0x1457(){const _0x433fe0=['ck-context--quotes','label','.ck-context','mouseleave','reopenButtonView','6UOOfRs','icon','10295400FqsrVt','shift+tab','_model','keystrokes','focusFirst','add','locale','8271QUyxIf','createCollection','focusTracker','tooltip','remove','fire','_createReopenButton','_trimContextValue','_createContextView','element','12320GYnqDM','scrollWidth','2590903UFEcTv','isResolved','offsetWidth','focus','length','ck-annotation__actions','_setupKeyboardNavigation','classList','1477596NKIlBv','contextView','execute','141368uyqudR','div','mouseenter','5fsmPmX','value','bindTemplate','ck-context-wrapper','querySelector','ck-context','Comment\x20was\x20made\x20on\x20an\x20element','contextValue','listenTo','tab','focusables','.ck-context__value','lastIndexOf','isVisible','ck-thread__header','1322016PMHZAJ','setTemplate','hasContext','reopenCommentThread','2036172qGPaNv','context','bind','...','substring','overlay','isEnabled','Reopen','render','isResolvable','isReadOnly','_attachContextActions','focusCycler'];_0x1457=function(){return _0x433fe0;};return _0x1457();}import{getTranslation as _0x1b008c}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x1b9698}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x5964f3{[_0x23f5a9(0xfe)];[_0x23f5a9(0xf9)];[_0x23f5a9(0x118)];[_0x23f5a9(0x127)];[_0x23f5a9(0x105)];[_0x23f5a9(0xff)];[_0x23f5a9(0xf4)];constructor(_0x29906a,_0x11e8e8){const _0x4c9982=_0x23f5a9;super(_0x29906a);const _0x230f2c=this[_0x4c9982(0x11f)];this[_0x4c9982(0xfe)]=_0x11e8e8,this[_0x4c9982(0xf9)]=this[_0x4c9982(0x109)](),this[_0x4c9982(0x118)]=this[_0x4c9982(0x10b)](),this[_0x4c9982(0x127)]=this[_0x4c9982(0x104)]([this[_0x4c9982(0x118)],this[_0x4c9982(0xf9)]]),this[_0x4c9982(0x105)]=new _0x214a0c(),this[_0x4c9982(0xff)]=new _0x39a127(),this[_0x4c9982(0xf4)]=new _0x5b1e63({'focusables':this[_0x4c9982(0x127)],'focusTracker':this[_0x4c9982(0x105)],'keystrokeHandler':this[_0x4c9982(0xff)],'actions':{'focusPrevious':_0x4c9982(0xfd),'focusNext':_0x4c9982(0x126)}}),this[_0x4c9982(0x132)](_0x4c9982(0x12e))['to'](this[_0x4c9982(0xfe)],_0x4c9982(0x131),_0x9fea76=>!!_0x9fea76),this[_0x4c9982(0x132)](_0x4c9982(0x124))['to'](this[_0x4c9982(0xfe)],_0x4c9982(0x131),_0x41c2f3=>_0x41c2f3&&_0x41c2f3[_0x4c9982(0x11e)]?this[_0x4c9982(0x10a)](_0x41c2f3[_0x4c9982(0x11e)]):_0x1b008c(this[_0x4c9982(0x102)],_0x4c9982(0x123))),this[_0x4c9982(0x12d)]({'tag':_0x4c9982(0x11b),'attributes':{'class':[_0x4c9982(0x12b)]},'children':[{'tag':_0x4c9982(0x11b),'attributes':{'class':[_0x4c9982(0x120)]},'children':[{'tag':_0x4c9982(0x11b),'attributes':{'class':[_0x4c9982(0x122),_0x230f2c['if'](_0x4c9982(0x12e),_0x4c9982(0xf5))]},'children':[this[_0x4c9982(0x118)]]}]},{'tag':_0x4c9982(0x11b),'attributes':{'class':[_0x4c9982(0x114)]},'children':[this[_0x4c9982(0xf9)]]}]});}[_0x23f5a9(0xf0)](){const _0x2196c0=_0x23f5a9;super[_0x2196c0(0xf0)](),this[_0x2196c0(0xf3)](),this[_0x2196c0(0x115)]();}[_0x23f5a9(0x112)](){const _0x57d897=_0x23f5a9;this[_0x57d897(0xf4)][_0x57d897(0x100)]();}[_0x23f5a9(0x109)](){const _0x479d51=_0x23f5a9,_0x29837b=new _0x4e4206(this[_0x479d51(0x102)]);return _0x29837b[_0x479d51(0xf6)]=_0x1b008c(this[_0x479d51(0x102)],_0x479d51(0xef)),_0x29837b[_0x479d51(0x106)]=_0x1b008c(this[_0x479d51(0x102)],_0x479d51(0xef)),_0x29837b[_0x479d51(0xfb)]=_0x4d6a5e,_0x29837b[_0x479d51(0x132)](_0x479d51(0xee))['to'](this[_0x479d51(0xfe)],_0x479d51(0xf2),_0x37c15c=>!_0x37c15c),_0x29837b[_0x479d51(0x132)](_0x479d51(0x12a))['to'](this[_0x479d51(0xfe)],_0x479d51(0xf1),this[_0x479d51(0xfe)],_0x479d51(0x110),(_0x57f8c4,_0xca3654)=>_0x57f8c4&&_0xca3654),_0x29837b['on'](_0x479d51(0x119),()=>{const _0x4539e9=_0x479d51;this[_0x4539e9(0x108)](_0x4539e9(0x12f),this[_0x4539e9(0xfe)]['id']);}),_0x29837b;}[_0x23f5a9(0x10a)](_0xd3d9cf){const _0x415e94=_0x23f5a9;if(_0xd3d9cf[_0x415e94(0x113)]<0x96)return _0xd3d9cf;const _0x2bb209=_0xd3d9cf[_0x415e94(0x129)]('\x20',0x93);return _0xd3d9cf[_0x415e94(0x134)](0x0,_0x2bb209>-0x1?_0x2bb209:0x93)+_0x415e94(0x133);}[_0x23f5a9(0xf3)](){const _0x5941a9=_0x23f5a9,_0x5ac769=this[_0x5941a9(0x10c)][_0x5941a9(0x121)](_0x5941a9(0xf7)),_0x2189fe=_0x5ac769[_0x5941a9(0x121)](_0x5941a9(0x128));this[_0x5941a9(0x125)](_0x5ac769,_0x5941a9(0x11c),()=>{const _0x3cbc05=_0x5941a9;_0x2189fe[_0x3cbc05(0x111)]<_0x2189fe[_0x3cbc05(0x10e)]&&_0x5ac769[_0x3cbc05(0x116)][_0x3cbc05(0x101)](_0x3cbc05(0x135));}),this[_0x5941a9(0x125)](_0x5ac769,_0x5941a9(0xf8),()=>{const _0x16673f=_0x5941a9;_0x5ac769[_0x16673f(0x116)][_0x16673f(0x107)](_0x16673f(0x135));});}[_0x23f5a9(0x115)](){const _0x5ac06c=_0x23f5a9;this[_0x5ac06c(0xff)][_0x5ac06c(0x125)](this[_0x5ac06c(0x10c)]);for(const _0x10285 of this[_0x5ac06c(0x127)])this[_0x5ac06c(0x105)][_0x5ac06c(0x101)](_0x10285[_0x5ac06c(0x10c)]),this[_0x5ac06c(0xff)][_0x5ac06c(0x125)](_0x10285[_0x5ac06c(0x10c)]);}[_0x23f5a9(0x10b)](){const _0x22664a=_0x23f5a9,_0x3402b8=new _0x1b9698(this[_0x22664a(0x102)]);return _0x3402b8[_0x22664a(0x132)](_0x22664a(0x124))['to'](this),_0x3402b8;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x18a2(){const _0x32f83a=['listenTo','getDomRoot','2377140bqNzSi','ck-comment__input-container','setTemplate','8438816EJiRNy','3997936BpPesW','commentInputView','25deFCob','div','isFocused','view','508959HBOoGv','422358vwfIaV','delegate','focusCycler','bindTemplate','extendTemplate','set','ck-thread__input','target','showInput','filter','preventDefault','ck-comment__input-container--active','6018243JgVdXZ','createEditor','render','editing','change:showInput','focusTracker','userView','_focusOnNonInteractiveMouseDown','showButtons','mousedown','element','bind','destroy','ck-thread__user','1136514GXmJUY','editor','then','contains','focus','some','editorReady','value','editorDestroyed'];_0x18a2=function(){return _0x32f83a;};return _0x18a2();}const _0x2d81b0=_0x5a06;(function(_0xb9ee64,_0x4a19c9){const _0x3b2faf=_0x5a06,_0xda3ec3=_0xb9ee64();while(!![]){try{const _0x377c17=-parseInt(_0x3b2faf(0xf9))/0x1+parseInt(_0x3b2faf(0xe4))/0x2+-parseInt(_0x3b2faf(0xef))/0x3+-parseInt(_0x3b2faf(0xf3))/0x4+-parseInt(_0x3b2faf(0xf5))/0x5*(-parseInt(_0x3b2faf(0xfa))/0x6)+parseInt(_0x3b2faf(0x106))/0x7+parseInt(_0x3b2faf(0xf2))/0x8;if(_0x377c17===_0x4a19c9)break;else _0xda3ec3['push'](_0xda3ec3['shift']());}catch(_0x4e4938){_0xda3ec3['push'](_0xda3ec3['shift']());}}}(_0x18a2,0x825f0));import{View as _0x2b8e5c}from'ckeditor5/src/ui.js';function _0x5a06(_0xaabbe3,_0x26a2be){const _0x18a223=_0x18a2();return _0x5a06=function(_0x5a0657,_0x45bd77){_0x5a0657=_0x5a0657-0xe4;let _0x5b3776=_0x18a223[_0x5a0657];return _0x5b3776;},_0x5a06(_0xaabbe3,_0x26a2be);}import{CommentInputView as _0x15df08}from'./commentinputview.js';import{UserView as _0x1dc2d3}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x2b8e5c{constructor(_0x4b047e,_0xd97e68,_0x205354){const _0x5c19d9=_0x5a06;super(_0x4b047e),this[_0x5c19d9(0xf4)]=new _0x15df08(_0x4b047e,_0x205354),this[_0x5c19d9(0xfc)]=this[_0x5c19d9(0xf4)][_0x5c19d9(0xfc)],this[_0x5c19d9(0xf4)][_0x5c19d9(0x111)](_0x5c19d9(0x10e))['to'](this[_0x5c19d9(0xf4)][_0x5c19d9(0x10b)],_0x5c19d9(0xf7),this[_0x5c19d9(0xf4)],_0x5c19d9(0xeb),(_0x52af3b,_0x315eaf)=>_0x52af3b||!!_0x315eaf),this[_0x5c19d9(0xff)](_0x5c19d9(0x102),!0x1),this['on'](_0x5c19d9(0x10a),()=>{const _0x160561=_0x5c19d9;this[_0x160561(0x102)]&&!this[_0x160561(0xf4)][_0x160561(0xe5)]&&this[_0x160561(0xf4)][_0x160561(0x107)]();}),this[_0x5c19d9(0xf4)][_0x5c19d9(0xfb)](_0x5c19d9(0xea))['to'](this),this[_0x5c19d9(0xf4)][_0x5c19d9(0xfb)](_0x5c19d9(0xec))['to'](this),this[_0x5c19d9(0x10c)]=new _0x1dc2d3(_0x4b047e,_0xd97e68),this[_0x5c19d9(0x10c)][_0x5c19d9(0xfe)]({'attributes':{'class':_0x5c19d9(0x113),'aria-hidden':!0x0}}),this[_0x5c19d9(0xf4)][_0x5c19d9(0xfe)]({'attributes':{'class':_0x5c19d9(0x100)}}),this[_0x5c19d9(0xf1)]({'tag':_0x5c19d9(0xf6),'attributes':{'class':[_0x5c19d9(0xf0),this[_0x5c19d9(0xfd)]['if'](_0x5c19d9(0x102),_0x5c19d9(0x105))]},'children':[this[_0x5c19d9(0x10c)],this[_0x5c19d9(0xf4)]]});}[_0x2d81b0(0x108)](){const _0x51fc8d=_0x2d81b0;super[_0x51fc8d(0x108)](),this[_0x51fc8d(0x10d)]();}[_0x2d81b0(0x112)](){const _0x53208e=_0x2d81b0;return this[_0x53208e(0xf4)][_0x53208e(0x112)]()[_0x53208e(0xe6)](()=>super[_0x53208e(0x112)]());}[_0x2d81b0(0xe8)](_0x38e479){const _0x2499d0=_0x2d81b0;this[_0x2499d0(0xf4)][_0x2499d0(0xe8)](_0x38e479);}[_0x2d81b0(0x10d)](){const _0x399946=_0x2d81b0;this[_0x399946(0xed)](this[_0x399946(0x110)],_0x399946(0x10f),(_0x57186c,_0x1f78f7)=>{const _0x7eaca8=_0x399946,{submitButtonView:_0x4fbef8,cancelButtonView:_0x1a8ad3,editor:_0x36b846}=this[_0x7eaca8(0xf4)];[_0x4fbef8[_0x7eaca8(0x110)],_0x1a8ad3[_0x7eaca8(0x110)],_0x36b846?_0x36b846[_0x7eaca8(0x109)][_0x7eaca8(0xf8)][_0x7eaca8(0xee)]():null][_0x7eaca8(0x103)](_0x4ae90d=>_0x4ae90d)[_0x7eaca8(0xe9)](_0x46f07f=>_0x46f07f[_0x7eaca8(0xe7)](_0x1f78f7[_0x7eaca8(0x101)]))||(this[_0x7eaca8(0xe8)](),_0x1f78f7[_0x7eaca8(0x104)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x101ef2=_0xc817;(function(_0x415a43,_0x4e8af7){const _0x53c51c=_0xc817,_0x20a1ad=_0x415a43();while(!![]){try{const _0x9ae864=parseInt(_0x53c51c(0xf8))/0x1*(parseInt(_0x53c51c(0xcc))/0x2)+-parseInt(_0x53c51c(0xda))/0x3+parseInt(_0x53c51c(0xeb))/0x4*(parseInt(_0x53c51c(0xf5))/0x5)+-parseInt(_0x53c51c(0xe9))/0x6+parseInt(_0x53c51c(0xc9))/0x7+-parseInt(_0x53c51c(0xb1))/0x8+parseInt(_0x53c51c(0xe4))/0x9*(parseInt(_0x53c51c(0xd6))/0xa);if(_0x9ae864===_0x4e8af7)break;else _0x20a1ad['push'](_0x20a1ad['shift']());}catch(_0x5d5406){_0x20a1ad['push'](_0x20a1ad['shift']());}}}(_0x320e,0x94afa));import{ConfirmMixin as _0x3a69b1,LateFocusButtonView as _0x3abc6a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xc817(_0x25e0d2,_0x4624a8){const _0x320e1e=_0x320e();return _0xc817=function(_0xc817f3,_0x5a8a6a){_0xc817f3=_0xc817f3-0xaf;let _0x1c0427=_0x320e1e[_0xc817f3];return _0x1c0427;},_0xc817(_0x25e0d2,_0x4624a8);}import{IconCheck as _0x579793}from'ckeditor5/src/icons.js';function _0x320e(){const _0x54fd3c=['isSystemComment','label','resolveCommentThread','setTemplate','focusables','commentViews','archivedAt','removeCommentThread','isReadOnly','.ck-thread__container','resolveButton','7218974cKijqn','get','isUnlinked','64164ElqHkH','stop','bind','isActive','icon','querySelector','commentsListView','_bindFirstCommentView','getTemplate','isResolvable','30YMXmgN','isEnabled','ck-thread__container','set','558750qbHulB','showConfirm','cancelConfirm','ariaDescriptionView','_boundFirstCommentView','Write\x20a\x20comment...','listenTo','ck-thread--active','remove','tooltip','905328tupmcN','ck-thread--','ck-thread--unlinked','commentThreadInputView','placeholder','6310446fnTMAA','listitem','36052UEdKYN','Delete\x20comment\x20thread?','actionBar','_updateArchivedThreadHeader','_createResolveButton','Resolve','ck-thread','unbind','change:isActive','isVisible','215MbZCVX','ck-comment--resolve','render','27zsncBn','removeConfirm','fire','createCollection','locale','ariaLabel','focus','isResolved','actionIndicator','ck-reset_all-excluded','element','change:isReadOnly','_model','length','commentThreadChildren','extendTemplate','_cancelAllConfirms','5918576zoGIrK','ck-rounded-corners','then','removeButton','change:archivedAt','containerElement','bindTemplate','execute','has','add','div','commentThreadHeaderView','high'];_0x320e=function(){return _0x54fd3c;};return _0x320e();}import{BaseCommentThreadView as _0x7ecee3}from'./basecommentthreadview.js';import{getTranslation as _0x286634}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3a69b1(_0x7ecee3){[_0x101ef2(0x106)];[_0x101ef2(0xb6)];[_0x101ef2(0xc8)];[_0x101ef2(0xde)];constructor(_0x3e350a,_0x3235f0,_0x18eb1b,_0x41bdb6){const _0x3f7844=_0x101ef2;super(_0x3e350a,_0x3235f0,_0x18eb1b,_0x41bdb6),this[_0x3f7844(0x106)]=this[_0x3f7844(0xfb)]([this[_0x3f7844(0xd2)],this[_0x3f7844(0xe7)],this[_0x3f7844(0xdd)]]),this[_0x3f7844(0xd9)](_0x3f7844(0x100),null),this[_0x3f7844(0xb6)]=null,this[_0x3f7844(0xde)]=null,this[_0x3f7844(0xfc)]=_0x3e350a,this[_0x3f7844(0xc8)]=this[_0x3f7844(0xef)](),this[_0x3f7844(0xc1)](this[_0x3f7844(0xd4)]()),this['on'](_0x3f7844(0xf3),(_0x450ec0,_0x3e4b6e,_0x24bb0f)=>{const _0x2a21c4=_0x3f7844;_0x24bb0f||this[_0x2a21c4(0xb0)]();}),this[_0x3f7844(0xe0)](this[_0x3f7844(0x104)],_0x3f7844(0x103),(_0x385a49,_0x14a8eb,_0x2da0b)=>{const _0x324295=_0x3f7844;_0x2da0b&&this[_0x324295(0xb0)]();}),this[_0x3f7844(0x105)]>0x0&&this[_0x3f7844(0xd3)](),this[_0x3f7844(0xe0)](this[_0x3f7844(0xd2)][_0x3f7844(0xc3)],_0x3f7844(0xba),()=>{const _0x25d67f=_0x3f7844;this[_0x25d67f(0xd3)]();});}[_0x101ef2(0xd4)](){const _0x3be523=_0x101ef2,_0x12e43a=this[_0x3be523(0xb7)];return{'tag':_0x3be523(0xbb),'attributes':{'class':['ck',_0x3be523(0xf1),_0x3be523(0x101),_0x3be523(0xb2),_0x12e43a['if'](_0x3be523(0xcf),_0x3be523(0xe1)),_0x12e43a['if'](_0x3be523(0xcb),_0x3be523(0xe6)),_0x12e43a['to'](_0x3be523(0x100),_0x28c221=>_0x28c221?_0x3be523(0xe5)+_0x28c221:'')],'data-thread-id':this[_0x3be523(0x104)]['id'],'tabindex':0x0,'role':_0x3be523(0xea),'aria-label':_0x12e43a['to'](_0x3be523(0xfd)),'aria-describedby':this[_0x3be523(0xdd)]['id']},'children':[{'tag':_0x3be523(0xbb),'attributes':{'class':_0x3be523(0xd8)},'children':this[_0x3be523(0x106)]}]};}[_0x101ef2(0xf7)](){const _0x1078e9=_0x101ef2;super[_0x1078e9(0xf7)](),this[_0x1078e9(0xb6)]=this[_0x1078e9(0x102)][_0x1078e9(0xd1)](_0x1078e9(0xc7)),this[_0x1078e9(0x104)]['on'](_0x1078e9(0xb5),()=>{const _0x2df2b3=_0x1078e9;this[_0x2df2b3(0xee)]();}),this[_0x1078e9(0xee)]();}[_0x101ef2(0xb0)](){const _0x50baaf=_0x101ef2;this[_0x50baaf(0xdc)]();for(const _0x42bd21 of this[_0x50baaf(0xd2)][_0x50baaf(0xc3)])_0x42bd21[_0x50baaf(0xdc)]();}[_0x101ef2(0xd3)](){const _0xff9c39=_0x101ef2,{locale:_0x10a68a}=this,_0x2fb447=this[_0xff9c39(0xd2)][_0xff9c39(0xc3)][_0xff9c39(0xca)](0x0);_0x2fb447===this[_0xff9c39(0xde)]||_0x2fb447[_0xff9c39(0xbe)]||(this[_0xff9c39(0xde)]=_0x2fb447,this[_0xff9c39(0xf2)](_0xff9c39(0x100)),this[_0xff9c39(0xce)](_0xff9c39(0x100))['to'](_0x2fb447,_0xff9c39(0x100),_0x320f41=>_0xff9c39(0xe2)===_0x320f41?_0xff9c39(0xe2):null),_0x2fb447[_0xff9c39(0xe8)]=_0x286634(_0x10a68a,_0xff9c39(0xdf)),_0x2fb447[_0xff9c39(0xb4)]['on'](_0xff9c39(0xb8),_0x16abd7=>{const _0x24aec9=_0xff9c39;_0x16abd7[_0x24aec9(0xcd)](),this[_0x24aec9(0xdb)](_0x286634(_0x10a68a,_0x24aec9(0xec)),this[_0x24aec9(0xb6)])[_0x24aec9(0xb3)](()=>{const _0x5500be=_0x24aec9;this[_0x5500be(0xfa)](_0x5500be(0xc5));});},{'priority':_0xff9c39(0xbd)}),this['on'](_0xff9c39(0xf9),()=>{const _0x15d327=_0xff9c39;_0x2fb447[_0x15d327(0xfe)]();}),_0x2fb447[_0xff9c39(0xed)][_0xff9c39(0xba)](this[_0xff9c39(0xc8)],0x0),_0x2fb447[_0xff9c39(0xc2)][_0xff9c39(0xba)](this[_0xff9c39(0xc8)],0x0));}[_0x101ef2(0xef)](){const _0x5bb9cc=_0x101ef2,_0x2167a8=new _0x3abc6a(this[_0x5bb9cc(0xfc)]);return _0x2167a8[_0x5bb9cc(0xbf)]=_0x286634(this[_0x5bb9cc(0xfc)],_0x5bb9cc(0xf0)),_0x2167a8[_0x5bb9cc(0xe3)]=_0x286634(this[_0x5bb9cc(0xfc)],_0x5bb9cc(0xf0)),_0x2167a8[_0x5bb9cc(0xd0)]=_0x579793,_0x2167a8[_0x5bb9cc(0xaf)]({'attributes':{'class':_0x5bb9cc(0xf6)}}),_0x2167a8[_0x5bb9cc(0xce)](_0x5bb9cc(0xd7))['to'](this[_0x5bb9cc(0x104)],_0x5bb9cc(0xc6),_0x132461=>!_0x132461),_0x2167a8[_0x5bb9cc(0xce)](_0x5bb9cc(0xf4))['to'](this[_0x5bb9cc(0x104)],_0x5bb9cc(0xd5),this[_0x5bb9cc(0x104)],_0x5bb9cc(0xff),(_0x1b7aba,_0x375a58)=>_0x1b7aba&&!_0x375a58),_0x2167a8['on'](_0x5bb9cc(0xb8),()=>{const _0x483208=_0x5bb9cc;this[_0x483208(0xfa)](_0x483208(0xc0),this[_0x483208(0x104)]['id']);}),_0x2167a8;}[_0x101ef2(0xee)](){const _0x4a5e45=_0x101ef2;this[_0x4a5e45(0x104)][_0x4a5e45(0xc4)]?this[_0x4a5e45(0x106)][_0x4a5e45(0xb9)](this[_0x4a5e45(0xbc)])||(this[_0x4a5e45(0x106)][_0x4a5e45(0xba)](this[_0x4a5e45(0xbc)],0x0),this[_0x4a5e45(0xc2)][_0x4a5e45(0xba)](this[_0x4a5e45(0xbc)],0x0)):this[_0x4a5e45(0x106)][_0x4a5e45(0xb9)](this[_0x4a5e45(0xbc)])&&(this[_0x4a5e45(0x106)][_0x4a5e45(0xe2)](this[_0x4a5e45(0xbc)]),this[_0x4a5e45(0xc2)][_0x4a5e45(0xe2)](this[_0x4a5e45(0xbc)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x3fd981=_0x4b01;function _0x4b01(_0x2c1e88,_0x4cbc7c){const _0x3bab90=_0x3bab();return _0x4b01=function(_0x4b0169,_0x3233e1){_0x4b0169=_0x4b0169-0x79;let _0x5b386f=_0x3bab90[_0x4b0169];return _0x5b386f;},_0x4b01(_0x2c1e88,_0x4cbc7c);}(function(_0x458326,_0x1845f8){const _0x22262b=_0x4b01,_0x558228=_0x458326();while(!![]){try{const _0x50bd6e=parseInt(_0x22262b(0x9f))/0x1+parseInt(_0x22262b(0xb0))/0x2*(parseInt(_0x22262b(0x90))/0x3)+parseInt(_0x22262b(0xc7))/0x4*(parseInt(_0x22262b(0xaf))/0x5)+-parseInt(_0x22262b(0xc5))/0x6+-parseInt(_0x22262b(0xba))/0x7*(parseInt(_0x22262b(0x9c))/0x8)+-parseInt(_0x22262b(0x92))/0x9+parseInt(_0x22262b(0x95))/0xa;if(_0x50bd6e===_0x1845f8)break;else _0x558228['push'](_0x558228['shift']());}catch(_0xb3d338){_0x558228['push'](_0x558228['shift']());}}}(_0x3bab,0x5bbb7));import{IconRemoveComment as _0x108490,IconPencil as _0x43df8d,IconThreeVerticalDots as _0xefa7d3}from'ckeditor5/src/icons.js';import{ButtonView as _0x3cfcb7,createDropdown as _0x156dd2,ListView as _0x40b6f9,ListItemView as _0x678100,focusChildOnDropdownOpen as _0x3978df}from'ckeditor5/src/ui.js';import{UserView as _0x480d40,ConfirmMixin as _0x4351c8,LateFocusDropdownButtonView as _0x1ecab6}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x57609e}from'./basecommentview.js';import{getTranslation as _0x17afd1}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4351c8(_0x57609e){[_0x3fd981(0xdd)];[_0x3fd981(0xe6)];constructor(_0x46a434,_0xe2473c,_0x477cc4){const _0x40e7c5=_0x3fd981;super(_0x46a434,_0xe2473c,_0x477cc4),this[_0x40e7c5(0xce)](_0x40e7c5(0x87),null),this[_0x40e7c5(0xce)](_0x40e7c5(0xad),_0x17afd1(_0x46a434,_0x40e7c5(0xb6))),this[_0x40e7c5(0xd4)](_0x40e7c5(0xcc))['to'](_0xe2473c),this[_0x40e7c5(0xd4)](_0x40e7c5(0xb4))['to'](_0xe2473c),this[_0x40e7c5(0xdd)]=this[_0x40e7c5(0xb1)](),this[_0x40e7c5(0xd6)]||(this[_0x40e7c5(0x7e)]=this[_0x40e7c5(0x85)](),this[_0x40e7c5(0xd3)]=this[_0x40e7c5(0xb9)](),this[_0x40e7c5(0xe4)]=this[_0x40e7c5(0xb1)](),this[_0x40e7c5(0xe4)][_0x40e7c5(0xb3)]([this[_0x40e7c5(0x7e)],this[_0x40e7c5(0xd3)]]),this[_0x40e7c5(0xe2)]=this[_0x40e7c5(0xb7)](),this[_0x40e7c5(0xdd)][_0x40e7c5(0xa8)](this[_0x40e7c5(0xe2)]),this[_0x40e7c5(0x8b)][_0x40e7c5(0xa8)](this[_0x40e7c5(0xe2)])),this[_0x40e7c5(0xe6)]=new _0x480d40(_0x46a434,_0xe2473c[_0x40e7c5(0xec)],this[_0x40e7c5(0xee)]()),this[_0x40e7c5(0xe6)][_0x40e7c5(0x79)]({'attributes':{'class':[_0x40e7c5(0xc0),_0x40e7c5(0x7a)],'aria-hidden':!0x0}}),this[_0x40e7c5(0xd1)](_0xe2473c,_0x40e7c5(0x80),()=>this[_0x40e7c5(0x86)]()),this[_0x40e7c5(0xcd)](this[_0x40e7c5(0xe3)]());}[_0x3fd981(0xe3)](){const _0xcccf=_0x3fd981,_0x48f52f=this[_0xcccf(0x9d)],_0x31cafb=[{'tag':_0xcccf(0x89),'attributes':{'class':[_0xcccf(0xeb),_0xcccf(0x82)]},'children':[{'tag':_0xcccf(0xae),'children':[{'text':this[_0xcccf(0xe6)][_0xcccf(0xea)]}],'attributes':{'class':[_0xcccf(0xa1),_0xcccf(0x7c)],'data-cke-tooltip-text':this[_0xcccf(0xe6)][_0xcccf(0xea)]}},{'tag':_0xcccf(0xe1),'attributes':{'datetime':_0x48f52f['to'](_0xcccf(0xcc)),'class':[_0xcccf(0xc8),_0xcccf(0xac)]},'children':[{'text':_0x48f52f['to'](_0xcccf(0xcc),_0x3679cd=>this[_0xcccf(0x97)][_0xcccf(0x9e)](_0x3679cd))}]}]},{'tag':_0xcccf(0x89),'attributes':{'class':[_0xcccf(0xcf),_0xcccf(0xc6),_0x48f52f['if'](_0xcccf(0xbe),_0xcccf(0xca)),_0x48f52f['if'](_0xcccf(0xbe),_0xcccf(0xe5))]},'children':this[_0xcccf(0xdd)]},{'tag':_0xcccf(0x89),'attributes':{'class':[_0xcccf(0xb2)]},'children':this[_0xcccf(0x99)]},this[_0xcccf(0xab)]];return this[_0xcccf(0x7d)][_0xcccf(0xa6)]&&_0x31cafb[_0xcccf(0xc3)]({'tag':_0xcccf(0x89),'attributes':{'class':[_0xcccf(0xe0)]},'children':[{'text':this[_0xcccf(0x88)]()}]}),{'tag':'li','attributes':{'class':[_0xcccf(0xbc)],'tabindex':-0x1,'aria-label':_0x48f52f['to'](_0xcccf(0xd8)),'aria-describedby':this[_0xcccf(0xab)]['id'],'role':_0xcccf(0x9b)},'children':[{'tag':_0xcccf(0x89),'attributes':{'class':[_0xcccf(0x93),_0xcccf(0xdf),_0x48f52f['if'](_0xcccf(0xbe),_0xcccf(0x8e)),_0x48f52f['if'](_0xcccf(0xd6),_0xcccf(0xd7)),_0x48f52f['to'](_0xcccf(0x87),_0x4d4494=>_0x4d4494?_0xcccf(0xd2)+_0x4d4494:'')],'data-author-id':this[_0xcccf(0x7d)][_0xcccf(0xec)]['id'],'data-comment-id':this[_0xcccf(0x7d)]['id'],'role':_0xcccf(0xed)},'children':[this[_0xcccf(0xe6)],{'tag':_0xcccf(0x89),'attributes':{'class':[_0xcccf(0xbf),_0xcccf(0x96)]},'children':_0x31cafb}]}]};}[_0x3fd981(0x85)](){const _0x3e9f9c=_0x3fd981,_0x3cd6b0=new _0x3cfcb7(this[_0x3e9f9c(0xc4)]);return _0x3cd6b0[_0x3e9f9c(0xa0)]=_0x17afd1(this[_0x3e9f9c(0xc4)],_0x3e9f9c(0xaa)),_0x3cd6b0[_0x3e9f9c(0x8a)]=_0x43df8d,_0x3cd6b0[_0x3e9f9c(0xbd)]=!0x0,_0x3cd6b0[_0x3e9f9c(0x79)]({'attributes':{'class':_0x3e9f9c(0x8e)}}),_0x3cd6b0[_0x3e9f9c(0xd4)](_0x3e9f9c(0x98))['to'](this[_0x3e9f9c(0x7d)],_0x3e9f9c(0xc2),_0x4eade2=>!_0x4eade2),_0x3cd6b0[_0x3e9f9c(0xd4)](_0x3e9f9c(0xa2))['to'](this[_0x3e9f9c(0x7d)],_0x3e9f9c(0x84)),_0x3cd6b0['on'](_0x3e9f9c(0xb5),()=>this[_0x3e9f9c(0xd9)]()),_0x3cd6b0;}[_0x3fd981(0xb9)](){const _0x2c2a01=_0x3fd981,_0x7c773e=new _0x3cfcb7(this[_0x2c2a01(0xc4)]);return _0x7c773e[_0x2c2a01(0xa0)]=_0x17afd1(this[_0x2c2a01(0xc4)],_0x2c2a01(0x7b)),_0x7c773e[_0x2c2a01(0x8a)]=_0x108490,_0x7c773e[_0x2c2a01(0xbd)]=!0x0,_0x7c773e[_0x2c2a01(0x79)]({'attributes':{'class':_0x2c2a01(0xbb)}}),_0x7c773e[_0x2c2a01(0xd4)](_0x2c2a01(0x98))['to'](this[_0x2c2a01(0x7d)],_0x2c2a01(0xc2),_0x164460=>!_0x164460),_0x7c773e[_0x2c2a01(0xd4)](_0x2c2a01(0xa2))['to'](this[_0x2c2a01(0x7d)],_0x2c2a01(0xd5)),_0x7c773e['on'](_0x2c2a01(0xb5),()=>{const _0x3d2a26=_0x2c2a01;this[_0x3d2a26(0x83)](_0x17afd1(this[_0x3d2a26(0xc4)],_0x3d2a26(0x8c)),this[_0x3d2a26(0xe9)])[_0x3d2a26(0xa9)](()=>{const _0x46af10=_0x3d2a26;this[_0x46af10(0xde)](_0x46af10(0x94),this[_0x46af10(0x7d)]['id']);});}),_0x7c773e;}[_0x3fd981(0xb7)](){const _0x397020=_0x3fd981,_0x370dae=_0x156dd2(this[_0x397020(0xc4)],_0x1ecab6),_0x940a33=_0x370dae[_0x397020(0xb8)][_0x397020(0xa3)],_0x11316d=new _0x40b6f9(this[_0x397020(0xc4)]),_0x36426d=_0x370dae[_0x397020(0x9d)];_0x3978df(_0x370dae,()=>this[_0x397020(0xe4)][_0x397020(0xc9)](_0x286468=>_0x286468[_0x397020(0xa2)])),_0x370dae[_0x397020(0x79)]({'attributes':{'class':[_0x36426d['if'](_0x397020(0xa2),_0x397020(0xd0),_0x4849e9=>!_0x4849e9)]}});const _0x421442=(_0xe44a80,_0x3180d1=-0x1)=>{const _0x408146=_0x397020,_0x4bb13d=new _0x678100(this[_0x408146(0xc4)]);_0x4bb13d[_0x408146(0xa3)][_0x408146(0xa8)](_0xe44a80);const _0x23b173=_0x3180d1>-0x1?_0x3180d1:_0x11316d[_0x408146(0xe4)][_0x408146(0xa4)];_0x11316d[_0x408146(0xe4)][_0x408146(0xa8)](_0x4bb13d,_0x23b173);const _0x362a31=Array[_0x408146(0xe8)](this[_0x408146(0xe4)]);_0x370dae[_0x408146(0xc1)](_0x408146(0x98),_0x408146(0xa2)),_0x370dae[_0x408146(0xd4)](_0x408146(0x98))[_0x408146(0xa5)](_0x362a31,_0x408146(0x98),(..._0x79eba1)=>_0x79eba1[_0x408146(0xa7)](_0x10d948=>_0x10d948)),_0x370dae[_0x408146(0xd4)](_0x408146(0xa2))[_0x408146(0xa5)](_0x362a31,_0x408146(0xa2),(..._0x4f3efe)=>_0x4f3efe[_0x408146(0xa7)](_0x226f37=>_0x226f37));};_0x370dae[_0x397020(0xdc)]='sw',_0x370dae[_0x397020(0xdb)][_0x397020(0xce)]({'label':_0x17afd1(this[_0x397020(0xc4)],_0x397020(0x91)),'icon':_0xefa7d3});for(const _0x546ade of this[_0x397020(0xe4)])_0x421442(_0x546ade);return _0x940a33[_0x397020(0xa8)](_0x11316d),_0x370dae[_0x397020(0xd1)](this[_0x397020(0xe4)],_0x397020(0xa8),(_0x511920,_0x50bee5,_0x5cf108)=>{_0x421442(_0x50bee5,_0x5cf108);}),_0x370dae[_0x397020(0xd1)](this[_0x397020(0xe4)],_0x397020(0xda),(_0x539212,_0x3e2122,_0x3ea1bd)=>{const _0xeed581=_0x397020;_0x11316d[_0xeed581(0xe4)][_0xeed581(0xda)](_0x3ea1bd);}),_0x370dae;}[_0x3fd981(0x8d)](_0x5398b5,_0x30478b){const _0x2d5c57=_0x3fd981,_0x5b44d5=_0x5398b5&&_0x5398b5[_0x2d5c57(0xe9)];_0x5b44d5&&(this[_0x2d5c57(0xd1)](_0x5b44d5,_0x2d5c57(0xcb),()=>this[_0x2d5c57(0x87)]=_0x30478b),this[_0x2d5c57(0xd1)](_0x5b44d5,_0x2d5c57(0x7f),()=>this[_0x2d5c57(0x87)]=_0x30478b),this[_0x2d5c57(0xd1)](_0x5b44d5,_0x2d5c57(0xef),()=>this[_0x2d5c57(0x87)]=null),this[_0x2d5c57(0xd1)](_0x5b44d5,_0x2d5c57(0x81),()=>this[_0x2d5c57(0x87)]=null));}[_0x3fd981(0x9a)](){const _0x5e005f=_0x3fd981,_0x590062=super[_0x5e005f(0x9a)]();return _0x590062[_0x5e005f(0xd4)](_0x5e005f(0xad))['to'](this),_0x590062;}[_0x3fd981(0x8f)](){const _0x41d151=_0x3fd981;super[_0x41d151(0x8f)](),this[_0x41d151(0x8d)](this[_0x41d151(0x7e)],_0x41d151(0xe7)),this[_0x41d151(0x8d)](this[_0x41d151(0xd3)],_0x41d151(0xda));}}function _0x3bab(){const _0xb94b18=['getTemplate','items','ck-annotation__actions--hidden','userView','edit','from','element','name','ck-comment__info','author','group','getUserViewNotificationText','mouseleave','extendTemplate','ck-annotation__user','Remove','ck-annotation__info-name','_model','editButton','focus','change:isRemovable','blur','ck-annotation__info','showConfirm','isEditable','_createEditButton','cancelConfirm','actionIndicator','getExternalCommentNote','div','icon','focusables','Delete\x20comment?','_attachActions','ck-comment--edit','render','21441sxBJAk','Show\x20more\x20items','4711266FJrrey','ck-comment','removeComment','7320000SmYABK','ck-annotation__main','_config','isEnabled','visibleView','_createCommentInputView','listitem','2173512PFsrdi','bindTemplate','formatDateTime','202263RjGxpO','label','ck-comment__info-name','isVisible','children','length','toMany','isExternal','some','add','then','Edit','ariaDescriptionView','ck-annotation__info-time','placeholder','span','2645TEoYPe','94MlnaxQ','createCollection','ck-annotation__content-wrapper','addMany','resolvedAt','execute','Reply...','_createDropdown','panelView','_createRemoveButton','14TiJkUY','ck-comment--remove','ck-comment__wrapper','withText','isEditMode','ck-comment__main','ck-comment__user','unbind','isReadOnly','push','locale','1000044kbUJEz','ck-annotation__actions','2564vWqjYf','ck-comment__info-time','find','ck-comment__actions--hidden','mouseenter','authoredAt','setTemplate','set','ck-comment__actions','ck-hidden','listenTo','ck-comment--','removeButton','bind','isRemovable','isSystemComment','ck-comment--info','ariaLabel','switchToEditMode','remove','buttonView','panelPosition','actionBar','fire','ck-annotation','ck-comment__external','time','dropdown'];_0x3bab=function(){return _0xb94b18;};return _0x3bab();}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x428464=_0x225f;(function(_0x21d474,_0x58ded4){var _0x143e59=_0x225f,_0x48ce88=_0x21d474();while(!![]){try{var _0x1d0518=parseInt(_0x143e59(0x13d))/0x1*(parseInt(_0x143e59(0x14c))/0x2)+-parseInt(_0x143e59(0x147))/0x3+parseInt(_0x143e59(0x144))/0x4+parseInt(_0x143e59(0x148))/0x5*(parseInt(_0x143e59(0x13e))/0x6)+-parseInt(_0x143e59(0x14a))/0x7+-parseInt(_0x143e59(0x143))/0x8*(-parseInt(_0x143e59(0x145))/0x9)+parseInt(_0x143e59(0x149))/0xa*(-parseInt(_0x143e59(0x141))/0xb);if(_0x1d0518===_0x58ded4)break;else _0x48ce88['push'](_0x48ce88['shift']());}catch(_0x210aed){_0x48ce88['push'](_0x48ce88['shift']());}}}(_0x189b,0xc10bc));import{Plugin as _0x2dc60e}from'ckeditor5/src/core.js';function _0x225f(_0x432d36,_0xa31fa){var _0x189b6f=_0x189b();return _0x225f=function(_0x225fb1,_0x5b04cf){_0x225fb1=_0x225fb1-0x13d;var _0x346786=_0x189b6f[_0x225fb1];return _0x346786;},_0x225f(_0x432d36,_0xa31fa);}import{CommentsRepository as _0x1626e0}from'./comments/commentsrepository.js';function _0x189b(){var _0x592a8f=['Comments','1698771FxOFLg','31295MvlCYZ','1442590TkKAkv','7688093UdDoNo','pluginName','1082TpHhiw','2259PHCZSI','546CHXyGt','requires','isOfficialPlugin','66ANruVG','isPremiumPlugin','88WbwLwm','3051468swiTJN','626949vTRDpB'];_0x189b=function(){return _0x592a8f;};return _0x189b();}import{CommentsEditing as _0x48cfc1}from'./comments/commentsediting.js';import{CommentsUI as _0x4810b1}from'./comments/commentsui.js';import{CommentsOnly as _0x3846ef}from'./commentsonly.js';import{WideSidebar as _0x9a6137}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x9bfd4f}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x203464}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x4bca02}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x404b6c}from'./comments/commentsarchive.js';export class Comments extends _0x2dc60e{static get[_0x428464(0x13f)](){return[_0x1626e0,_0x48cfc1,_0x4810b1,_0x404b6c,_0x4bca02,_0x3846ef,_0x9a6137,_0x9bfd4f,_0x203464];}static get[_0x428464(0x14b)](){var _0x2dc1e6=_0x428464;return _0x2dc1e6(0x146);}static get[_0x428464(0x140)](){return!0x0;}static get[_0x428464(0x142)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5a10(){const _0x14d555=['RevisionTracker','3989890oMIpzo','3rhTQmz','forceDisabled','896301mYNJfR','listenTo','isPremiumPlugin','CommentsOnly','_disableCommentsOnlyMode','editSource','isEnabled','commentsOnlyMode','afterInit','102SAncnF','pluginName','highest','clearForceDisabled','9unBwWb','change:isEnabled','editor','affectsData','clipboardInput','set','isOfficialPlugin','1442950UAUNIi','plugins','93674PSDryG','15612gjqHwE','view','delete','587160kYwgpr','commands','get','SourceEditing','_enableCommentsOnlyMode','393916ZgBSFh','DragDrop','config','stopListening','requires','addCommentThread','editing','stop','document','commentsOnly','cut','has'];_0x5a10=function(){return _0x14d555;};return _0x5a10();}const _0x3852cd=_0x1041;(function(_0x4fe0d2,_0x5010f0){const _0x23f6c4=_0x1041,_0x1e6c77=_0x4fe0d2();while(!![]){try{const _0x5b650a=parseInt(_0x23f6c4(0xf7))/0x1*(parseInt(_0x23f6c4(0x110))/0x2)+-parseInt(_0x23f6c4(0x106))/0x3*(parseInt(_0x23f6c4(0x118))/0x4)+parseInt(_0x23f6c4(0x10d))/0x5+-parseInt(_0x23f6c4(0x102))/0x6*(parseInt(_0x23f6c4(0x10f))/0x7)+parseInt(_0x23f6c4(0x113))/0x8+-parseInt(_0x23f6c4(0xf9))/0x9+parseInt(_0x23f6c4(0xf6))/0xa;if(_0x5b650a===_0x5010f0)break;else _0x1e6c77['push'](_0x1e6c77['shift']());}catch(_0x36e230){_0x1e6c77['push'](_0x1e6c77['shift']());}}}(_0x5a10,0x27850));import{Plugin as _0x460f25}from'ckeditor5/src/core.js';function _0x1041(_0x18e1ea,_0x23be7c){const _0x5a10b8=_0x5a10();return _0x1041=function(_0x1041df,_0x334bc2){_0x1041df=_0x1041df-0xea;let _0x2a650e=_0x5a10b8[_0x1041df];return _0x2a650e;},_0x1041(_0x18e1ea,_0x23be7c);}import{CommentsEditing as _0x2b4558}from'./comments/commentsediting.js';export class CommentsOnly extends _0x460f25{static get[_0x3852cd(0x103)](){const _0x38ff85=_0x3852cd;return _0x38ff85(0xfc);}static get[_0x3852cd(0x10c)](){return!0x0;}static get[_0x3852cd(0xfb)](){return!0x0;}static get[_0x3852cd(0xed)](){return[_0x2b4558];}constructor(_0x520ae6){const _0x48ead6=_0x3852cd;super(_0x520ae6),this[_0x48ead6(0x10b)](_0x48ead6(0xff),!0x1),this['on'](_0x48ead6(0x107),(_0x476e73,_0x566eeb,_0x2c376f)=>{const _0x24d002=_0x48ead6;_0x2c376f?this[_0x24d002(0x117)]():this[_0x24d002(0xfd)]();});}[_0x3852cd(0x101)](){const _0x4abb69=_0x3852cd;!this[_0x4abb69(0xff)]&&this[_0x4abb69(0x108)][_0x4abb69(0xeb)][_0x4abb69(0x115)](_0x4abb69(0xf2))&&(this[_0x4abb69(0xff)]=!0x0);}[_0x3852cd(0x117)](){const _0x2afe5f=_0x3852cd;for(const [_0x15727a,_0x53d930]of this[_0x2afe5f(0x108)][_0x2afe5f(0x114)])_0x53d930[_0x2afe5f(0x109)]&&_0x2afe5f(0xee)!==_0x15727a&&_0x53d930[_0x2afe5f(0xf8)](_0x2afe5f(0x100));(this[_0x2afe5f(0x108)][_0x2afe5f(0x10e)][_0x2afe5f(0xf4)](_0x2afe5f(0xea))&&this[_0x2afe5f(0x108)][_0x2afe5f(0x10e)][_0x2afe5f(0x115)](_0x2afe5f(0xea))[_0x2afe5f(0xf8)](_0x2afe5f(0x100)),this[_0x2afe5f(0x108)][_0x2afe5f(0x10e)][_0x2afe5f(0xf4)](_0x2afe5f(0xf5)))&&this[_0x2afe5f(0x108)][_0x2afe5f(0x10e)][_0x2afe5f(0x115)](_0x2afe5f(0xf5))[_0x2afe5f(0xf8)](_0x2afe5f(0x100));this[_0x2afe5f(0x108)][_0x2afe5f(0x10e)][_0x2afe5f(0xf4)](_0x2afe5f(0x116))&&this[_0x2afe5f(0x108)][_0x2afe5f(0x10e)][_0x2afe5f(0x115)](_0x2afe5f(0x116))[_0x2afe5f(0xf8)](_0x2afe5f(0x100));this[_0x2afe5f(0x108)][_0x2afe5f(0x114)][_0x2afe5f(0x115)](_0x2afe5f(0xfe))?.[_0x2afe5f(0xf8)](_0x2afe5f(0x100));const _0x228de8=this[_0x2afe5f(0x108)][_0x2afe5f(0xef)][_0x2afe5f(0x111)][_0x2afe5f(0xf1)];this[_0x2afe5f(0xfa)](_0x228de8,_0x2afe5f(0xf3),_0x587e9b=>_0x587e9b[_0x2afe5f(0xf0)](),{'priority':_0x2afe5f(0x104)}),this[_0x2afe5f(0xfa)](_0x228de8,_0x2afe5f(0x10a),_0xf7c38d=>_0xf7c38d[_0x2afe5f(0xf0)](),{'priority':_0x2afe5f(0x104)}),this[_0x2afe5f(0xfa)](_0x228de8,_0x2afe5f(0x112),_0x5e4728=>_0x5e4728[_0x2afe5f(0xf0)](),{'priority':_0x2afe5f(0x104)});}[_0x3852cd(0xfd)](){const _0xb1b067=_0x3852cd;for(const [_0x1ebb33,_0x2f24e4]of this[_0xb1b067(0x108)][_0xb1b067(0x114)])_0x2f24e4[_0xb1b067(0x109)]&&_0xb1b067(0xee)!==_0x1ebb33&&_0x2f24e4[_0xb1b067(0x105)](_0xb1b067(0x100));this[_0xb1b067(0x108)][_0xb1b067(0x10e)][_0xb1b067(0xf4)](_0xb1b067(0xf5))&&this[_0xb1b067(0x108)][_0xb1b067(0x10e)][_0xb1b067(0x115)](_0xb1b067(0xf5))[_0xb1b067(0x105)](_0xb1b067(0x100)),this[_0xb1b067(0x108)][_0xb1b067(0x10e)][_0xb1b067(0xf4)](_0xb1b067(0x116))&&this[_0xb1b067(0x108)][_0xb1b067(0x10e)][_0xb1b067(0x115)](_0xb1b067(0x116))[_0xb1b067(0x105)](_0xb1b067(0x100)),this[_0xb1b067(0x108)][_0xb1b067(0x114)][_0xb1b067(0x115)](_0xb1b067(0xfe))?.[_0xb1b067(0x105)](_0xb1b067(0x100)),this[_0xb1b067(0xec)](this[_0xb1b067(0x108)][_0xb1b067(0xef)][_0xb1b067(0x111)][_0xb1b067(0xf1)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x13b675,_0x1ce631){var _0x3b384e=_0x1a9c,_0x3bc169=_0x13b675();while(!![]){try{var _0x34080e=-parseInt(_0x3b384e(0x112))/0x1*(parseInt(_0x3b384e(0x11c))/0x2)+parseInt(_0x3b384e(0x117))/0x3+-parseInt(_0x3b384e(0x116))/0x4+-parseInt(_0x3b384e(0x119))/0x5*(-parseInt(_0x3b384e(0x114))/0x6)+parseInt(_0x3b384e(0x118))/0x7*(parseInt(_0x3b384e(0x113))/0x8)+parseInt(_0x3b384e(0x111))/0x9*(parseInt(_0x3b384e(0x115))/0xa)+parseInt(_0x3b384e(0x11a))/0xb*(-parseInt(_0x3b384e(0x11b))/0xc);if(_0x34080e===_0x1ce631)break;else _0x3bc169['push'](_0x3bc169['shift']());}catch(_0x4e141f){_0x3bc169['push'](_0x3bc169['shift']());}}}(_0x2bb6,0x72dc6));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';function _0x1a9c(_0x3d98b5,_0x39aed0){var _0x2bb600=_0x2bb6();return _0x1a9c=function(_0x1a9c29,_0xe83ffc){_0x1a9c29=_0x1a9c29-0x111;var _0xec4e59=_0x2bb600[_0x1a9c29];return _0xec4e59;},_0x1a9c(_0x3d98b5,_0x39aed0);}export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';function _0x2bb6(){var _0x3880d0=['23000PabFRO','2585040pCVYGG','2072004MSoyfQ','42qGAEyh','157915bYdzSU','146201gEjCmT','264UwxaUR','318MhFWvB','558FosIuE','1071JEgcZf','447432dQoKko','78YOsvyW'];_0x2bb6=function(){return _0x3880d0;};return _0x2bb6();}export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';export{CommentsArchiveUI}from'./comments/commentsarchiveui.js';export{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(_0x2f6aa6,_0x187085,_0x17d671){const t=_0x2f6aa6['t'];switch(_0x187085){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'},_0x17d671);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'},_0x17d671);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'},_0x17d671);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'},_0x17d671);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x17d671);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'},_0x17d671);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'},_0x17d671);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'},_0x17d671);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(_0x58762a,_0x117bfc){const _0x34e17d=_0x25e4,_0x4e4fec=_0x58762a();while(!![]){try{const _0x1be4fa=parseInt(_0x34e17d(0xa9))/0x1+parseInt(_0x34e17d(0xa6))/0x2*(-parseInt(_0x34e17d(0xab))/0x3)+parseInt(_0x34e17d(0x9f))/0x4+parseInt(_0x34e17d(0xa3))/0x5+parseInt(_0x34e17d(0x9d))/0x6*(-parseInt(_0x34e17d(0xa8))/0x7)+-parseInt(_0x34e17d(0x9e))/0x8+parseInt(_0x34e17d(0xaf))/0x9*(parseInt(_0x34e17d(0xae))/0xa);if(_0x1be4fa===_0x117bfc)break;else _0x4e4fec['push'](_0x4e4fec['shift']());}catch(_0x2f5b83){_0x4e4fec['push'](_0x4e4fec['shift']());}}}(_0x143d,0x5104f));import{throttle as _0x138d7f}from'es-toolkit/compat';function _0x25e4(_0x824389,_0xc28d96){const _0x143d52=_0x143d();return _0x25e4=function(_0x25e40c,_0x56839a){_0x25e40c=_0x25e40c-0x9d;let _0x4f6b3a=_0x143d52[_0x25e40c];return _0x4f6b3a;},_0x25e4(_0x824389,_0xc28d96);}export function createMutationObserver(_0x8bdec9){const _0x257246=_0x138d7f(_0x8bdec9,0x1e),_0x47df42=new MutationObserver(_0x431888=>{const _0x2f2ae1=_0x25e4;for(const _0x516b1b of _0x431888)(_0x2f2ae1(0xa0)==_0x516b1b[_0x2f2ae1(0xa1)]&&_0x2f2ae1(0xac)==_0x516b1b[_0x2f2ae1(0xa2)]||_0x2f2ae1(0xa4)==_0x516b1b[_0x2f2ae1(0xa1)]||_0x2f2ae1(0xa5)==_0x516b1b[_0x2f2ae1(0xa1)])&&_0x257246();});return{'attach'(_0x243887){const _0x1fb16a=_0x25e4;_0x47df42[_0x1fb16a(0xa7)](_0x243887,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x243aa2=_0x25e4;_0x47df42[_0x243aa2(0xad)](),_0x257246[_0x243aa2(0xaa)]();}};}function _0x143d(){const _0x20caf8=['class','disconnect','460osiTFv','254871BGsJQm','18PPBasC','5012528JfqnNJ','1036812brSZKN','attributes','type','attributeName','444955AifWhm','childList','characterData','801706SbKsiT','observe','876309lsncYd','83967bonVfb','cancel','3GBSelH'];_0x143d=function(){return _0x20caf8;};return _0x143d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x442508,_0x510f4d){const _0x356d55=_0x2f74,_0x3a4701=_0x442508();while(!![]){try{const _0x2145d4=-parseInt(_0x356d55(0x14f))/0x1+parseInt(_0x356d55(0x155))/0x2*(parseInt(_0x356d55(0x154))/0x3)+parseInt(_0x356d55(0x14b))/0x4*(-parseInt(_0x356d55(0x152))/0x5)+parseInt(_0x356d55(0x151))/0x6*(-parseInt(_0x356d55(0x14d))/0x7)+-parseInt(_0x356d55(0x14a))/0x8*(parseInt(_0x356d55(0x153))/0x9)+-parseInt(_0x356d55(0x14e))/0xa*(parseInt(_0x356d55(0x156))/0xb)+parseInt(_0x356d55(0x14c))/0xc;if(_0x2145d4===_0x510f4d)break;else _0x3a4701['push'](_0x3a4701['shift']());}catch(_0x5c4411){_0x3a4701['push'](_0x3a4701['shift']());}}}(_0x2087,0xa6ef3));function _0x2087(){const _0x43937a=['split','8136USIfpS','1135BbUkuX','9vBtPmF','24oENJlS','101708FUPCXq','231PLKzdj','4360344bXmiYd','22516YgIzfA','64325616IDcegG','3325ZyWalu','622610FCQwZS','1309130PbHeKa'];_0x2087=function(){return _0x43937a;};return _0x2087();}function _0x2f74(_0x5a4d1d,_0x364219){const _0x20872c=_0x2087();return _0x2f74=function(_0x2f747c,_0xb950c5){_0x2f747c=_0x2f747c-0x14a;let _0x36c28d=_0x20872c[_0x2f747c];return _0x36c28d;},_0x2f74(_0x5a4d1d,_0x364219);}export function splitMarkerName(_0x42a66a){const _0x46ba6e=_0x2f74,_0x382f9b=_0x42a66a[_0x46ba6e(0x150)](':');return{'group':_0x382f9b[0x0],'id':_0x382f9b[0x1],'part':_0x382f9b[0x2]};}
|