@ckeditor/ckeditor5-comments 44.2.0-alpha.6 → 44.2.0-alpha.8
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 +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/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/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 +17 -17
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x49c973=_0x2d84;(function(_0x20175f,_0x2a593d){const _0x538f9a=_0x2d84,_0x3920c1=_0x20175f();while(!![]){try{const _0x50495a=-parseInt(_0x538f9a(0x126))/0x1*(-parseInt(_0x538f9a(0x154))/0x2)+-parseInt(_0x538f9a(0x120))/0x3*(parseInt(_0x538f9a(0x160))/0x4)+parseInt(_0x538f9a(0x13d))/0x5*(-parseInt(_0x538f9a(0x142))/0x6)+-parseInt(_0x538f9a(0x138))/0x7+parseInt(_0x538f9a(0x169))/0x8+parseInt(_0x538f9a(0x12b))/0x9*(-parseInt(_0x538f9a(0x15f))/0xa)+parseInt(_0x538f9a(0x13f))/0xb;if(_0x50495a===_0x2a593d)break;else _0x3920c1['push'](_0x3920c1['shift']());}catch(_0x276761){_0x3920c1['push'](_0x3920c1['shift']());}}}(_0x32a1,0xf2fbe));import{View as _0x2b474f,FocusCycler as _0x153c8c}from'ckeditor5/src/ui.js';import{diff as _0x35fdf1,Collection as _0x2709fc,FocusTracker as _0x425ef0,KeystrokeHandler as _0xfbeb0b}from'ckeditor5/src/utils.js';import{getTranslation as _0x3d21cb}from'../../../utils/common-translations.js';function _0x32a1(){const _0x4aeb39=['_rearrangeCollapse','visibleViews','editorReady','weight','delegate','resolvedCommentView','refreshVisibleViews','maxCommentsWhenCollapsed','createCollection','435wmtNMX','element','forEach','set','target','locale','2038nZfGKB','updateComment','change:isActive','maxCommentCharsWhenCollapsed','arrowdown','2912013CRkWQB','isEditMode','isActive','_rearrangeExpand','focusFirst','formatDateTime','listenTo','_handleNewCommentModel','change:isEditMode','remove','_handleRemoveCommentModel','resolved','focusLast','6259694NqSEET','_findOptimalIndex','commentViews','_handleInfoComment','_setupKeyboardNavigation','30wbBeCN','_calculatePosition','40122071PjDiYN','change:isResolved','insert','1486866zAKcIN','editorConfig','_shouldCollapse','delete','from','change','authoredAt','get','count','length','includes','arrowup','_config','collapse','resolveCommentThread','bindTemplate','Marked\x20as\x20resolved','added','1736GQHUfp','_updateHasDirtyComment','maxThreadTotalWeight','ck-hidden','destroy','render','stopListening','Thread\x20comments','setTemplate','focus','change:hasDirtyComment','50QpXxoQ','22028UNbEga','hasDirtyComment','some','comments','equal','resolvedAt','_model','map','commentUpdated','3009800hvOLcA','focusCycler','removed','editorDestroyed','add','viewUid','_collapsedCommentsView','CommentView','bind','keystrokes','expand','ck-thread__comments','removeComment','reverse','resolvedBy','focusTracker'];_0x32a1=function(){return _0x4aeb39;};return _0x32a1();}import _0x1c888a from'./collapsedcommentsview.js';export default class te extends _0x2b474f{constructor(_0x2bbe67,_0x9ea620,_0xb3b540){const _0x489486=_0x2d84;super(_0x2bbe67);const _0x5c23fd=this[_0x489486(0x151)];this[_0x489486(0x123)](_0x489486(0x161),!0x1),this[_0x489486(0x123)](_0x489486(0x14b),_0x9ea620[_0x489486(0x163)][_0x489486(0x14b)]),this[_0x489486(0x123)](_0x489486(0x12d),!0x1),this[_0x489486(0x166)]=_0x9ea620,this[_0x489486(0x14e)]=_0xb3b540,this[_0x489486(0x13a)]=this[_0x489486(0x11f)](),this[_0x489486(0x118)]=this[_0x489486(0x11f)](),this[_0x489486(0x11c)]=null,this[_0x489486(0x116)]=new _0x425ef0(),this[_0x489486(0x110)]=new _0xfbeb0b(),this[_0x489486(0x108)]=new _0x153c8c({'focusables':this[_0x489486(0x13a)],'focusTracker':this[_0x489486(0x116)],'keystrokeHandler':this[_0x489486(0x110)],'keystrokeHandlerOptions':{'filter':_0x5e6880=>this[_0x489486(0x13a)][_0x489486(0x167)](_0x58d482=>_0x58d482[_0x489486(0x121)])[_0x489486(0x14c)](_0x5e6880[_0x489486(0x124)])},'actions':{'focusPrevious':_0x489486(0x14d),'focusNext':_0x489486(0x12a)}}),this[_0x489486(0x10d)]=new _0x1c888a(_0x2bbe67),this[_0x489486(0x10d)][_0x489486(0x10f)](_0x489486(0x14a))['to'](this,_0x489486(0x14b),_0x52fe57=>_0x52fe57-this[_0x489486(0x14e)][_0x489486(0x11e)]);for(const _0x6f0021 of _0x9ea620[_0x489486(0x163)])this[_0x489486(0x132)](_0x6f0021);this[_0x489486(0x13b)](),this[_0x489486(0x131)](_0x9ea620[_0x489486(0x163)],_0x489486(0x10b),(_0x183480,_0x5f2d4a)=>{const _0x8c05a0=_0x489486,_0x142a03=this[_0x8c05a0(0x13e)](_0x5f2d4a);this[_0x8c05a0(0x14b)]++,this[_0x8c05a0(0x132)](_0x5f2d4a,_0x142a03),this[_0x8c05a0(0x11d)]();}),this[_0x489486(0x131)](_0x9ea620[_0x489486(0x163)],_0x489486(0x134),(_0x1be2b7,_0x3512e2)=>{const _0x155e5c=_0x489486;this[_0x155e5c(0x14b)]--,this[_0x155e5c(0x135)](_0x3512e2),this[_0x155e5c(0x11d)]();}),this[_0x489486(0x131)](_0x9ea620,_0x489486(0x168),()=>this[_0x489486(0x11d)]()),this[_0x489486(0x131)](_0x9ea620,_0x489486(0x140),()=>this[_0x489486(0x13b)]()),this['on'](_0x489486(0x128),()=>this[_0x489486(0x11d)]()),this['on'](_0x489486(0x15e),()=>this[_0x489486(0x11d)]()),this[_0x489486(0x15c)]({'tag':'ul','attributes':{'class':[_0x489486(0x112),_0x5c23fd['if'](_0x489486(0x14b),_0x489486(0x157),_0x4c636f=>!_0x4c636f)],'aria-label':_0x3d21cb(_0x2bbe67,_0x489486(0x15b))},'children':this[_0x489486(0x118)]});}get[_0x49c973(0x144)](){const _0x5a2387=_0x49c973;return this[_0x5a2387(0x166)][_0x5a2387(0x11a)]>this[_0x5a2387(0x14e)][_0x5a2387(0x156)]&&!this[_0x5a2387(0x12d)]&&!this[_0x5a2387(0x161)];}[_0x49c973(0x159)](){const _0x1d2dfe=_0x49c973;super[_0x1d2dfe(0x159)](),this[_0x1d2dfe(0x11d)](),this[_0x1d2dfe(0x13c)]();}[_0x49c973(0x15d)](_0x335e98){const _0x4e0c31=_0x49c973;-0x1===_0x335e98?this[_0x4e0c31(0x108)][_0x4e0c31(0x137)]():this[_0x4e0c31(0x108)][_0x4e0c31(0x12f)]();}[_0x49c973(0x158)](){const _0x59dde4=_0x49c973;this[_0x59dde4(0x10d)][_0x59dde4(0x158)]();for(const _0x40a201 of this[_0x59dde4(0x13a)])_0x40a201[_0x59dde4(0x158)]();super[_0x59dde4(0x158)]();}[_0x49c973(0x11d)](){const _0x1708ee=_0x49c973;this[_0x1708ee(0x144)]?this[_0x1708ee(0x117)]():this[_0x1708ee(0x12e)]();}[_0x49c973(0x132)](_0x589cd7,_0x42dada){const _0x4e6225=_0x49c973,_0x27a198=new this[(_0x4e6225(0x14e))][(_0x4e6225(0x10e))](this[_0x4e6225(0x125)],_0x589cd7,{'maxCommentCharsWhenCollapsed':this[_0x4e6225(0x14e)][_0x4e6225(0x129)],'formatDateTime':this[_0x4e6225(0x14e)][_0x4e6225(0x130)],'editorConfig':this[_0x4e6225(0x14e)][_0x4e6225(0x143)]});_0x27a198[_0x4e6225(0x10c)]=_0x589cd7['id'],_0x27a198[_0x4e6225(0x11b)](_0x4e6225(0x113))['to'](this),_0x27a198[_0x4e6225(0x11b)](_0x4e6225(0x127))['to'](this),_0x27a198[_0x4e6225(0x11b)](_0x4e6225(0x150))['to'](this),_0x27a198[_0x4e6225(0x11b)](_0x4e6225(0x119))['to'](this),_0x27a198[_0x4e6225(0x11b)](_0x4e6225(0x10a))['to'](this),this[_0x4e6225(0x131)](_0x27a198,_0x4e6225(0x133),()=>this[_0x4e6225(0x155)]()),this[_0x4e6225(0x13a)][_0x4e6225(0x10b)](_0x27a198,_0x42dada);}[_0x49c973(0x13e)](_0x647fc8){const _0x5a3cd9=_0x49c973,_0x11d38e=this[_0x5a3cd9(0x166)][_0x5a3cd9(0x139)](_0x647fc8);return this[_0x5a3cd9(0x11c)]?this[_0x5a3cd9(0x11c)][_0x5a3cd9(0x148)]>_0x647fc8[_0x5a3cd9(0x148)]?_0x11d38e-0x1:_0x11d38e:_0x11d38e-0x1;}[_0x49c973(0x13b)](){const _0x526e0c=_0x49c973;if(this[_0x526e0c(0x166)][_0x526e0c(0x115)]&&this[_0x526e0c(0x166)][_0x526e0c(0x165)]){const _0x2c0710={'id':_0x526e0c(0x136),'author':this[_0x526e0c(0x166)][_0x526e0c(0x115)],'authoredAt':this[_0x526e0c(0x166)][_0x526e0c(0x165)],'content':_0x3d21cb(this[_0x526e0c(0x125)],_0x526e0c(0x152)),'attributes':{}};this[_0x526e0c(0x11c)]=new this[(_0x526e0c(0x14e))][(_0x526e0c(0x10e))](this[_0x526e0c(0x125)],_0x2c0710,{'maxCommentCharsWhenCollapsed':this[_0x526e0c(0x14e)][_0x526e0c(0x129)],'formatDateTime':this[_0x526e0c(0x14e)][_0x526e0c(0x130)],'editorConfig':this[_0x526e0c(0x14e)][_0x526e0c(0x143)],'isSystemComment':!0x0}),this[_0x526e0c(0x13a)][_0x526e0c(0x10b)](this[_0x526e0c(0x11c)],this[_0x526e0c(0x166)][_0x526e0c(0x139)](_0x2c0710));}else this[_0x526e0c(0x11c)]&&(this[_0x526e0c(0x13a)][_0x526e0c(0x134)](this[_0x526e0c(0x11c)]),this[_0x526e0c(0x11c)][_0x526e0c(0x158)](),this[_0x526e0c(0x11c)]=null);this[_0x526e0c(0x11d)]();}[_0x49c973(0x135)](_0x46d3a7){const _0x16b1b5=_0x49c973,_0x13a8f9=this[_0x16b1b5(0x13a)][_0x16b1b5(0x134)](_0x46d3a7['id']);this[_0x16b1b5(0x15a)](_0x13a8f9),_0x13a8f9[_0x16b1b5(0x12c)]&&this[_0x16b1b5(0x155)](),_0x13a8f9[_0x16b1b5(0x158)]();}[_0x49c973(0x155)](){const _0x46f648=_0x49c973;this[_0x46f648(0x161)]=Array[_0x46f648(0x146)](this[_0x46f648(0x13a)])[_0x46f648(0x162)](_0x2b8856=>_0x2b8856[_0x46f648(0x12c)]);}[_0x49c973(0x117)](){const _0x3f9353=_0x49c973,_0x42280b=function(_0x4543de){const _0x31c9d5=_0x2d84,_0x283f76=new _0x2709fc();for(const _0x52b8fa of _0x4543de)_0x283f76[_0x31c9d5(0x10b)](_0x52b8fa);return _0x283f76;}(this[_0x3f9353(0x13a)]),_0x97955a=this[_0x3f9353(0x10d)][_0x3f9353(0x14a)];for(let _0x5740ef=0x1;_0x5740ef<=_0x97955a;_0x5740ef++)_0x42280b[_0x3f9353(0x134)](0x1);for(const _0x3938af of _0x42280b)_0x3938af[_0x3f9353(0x14f)]();_0x97955a>0x0&&_0x42280b[_0x3f9353(0x10b)](this[_0x3f9353(0x10d)],0x1),as(_0x35fdf1(Array[_0x3f9353(0x146)](this[_0x3f9353(0x118)]),Array[_0x3f9353(0x146)](_0x42280b)),this[_0x3f9353(0x118)],_0x42280b);}[_0x49c973(0x12e)](){const _0x5007f9=_0x49c973;as(_0x35fdf1(Array[_0x5007f9(0x146)](this[_0x5007f9(0x118)]),Array[_0x5007f9(0x146)](this[_0x5007f9(0x13a)])),this[_0x5007f9(0x118)],this[_0x5007f9(0x13a)]);for(const _0x265eaa of this[_0x5007f9(0x118)])_0x265eaa[_0x5007f9(0x111)]();}[_0x49c973(0x13c)](){const _0x1bdb36=_0x49c973;this[_0x1bdb36(0x13a)][_0x1bdb36(0x122)](_0x43c6f1=>{const _0x19bcc9=_0x1bdb36;this[_0x19bcc9(0x116)][_0x19bcc9(0x10b)](_0x43c6f1[_0x19bcc9(0x121)]),this[_0x19bcc9(0x110)][_0x19bcc9(0x131)](_0x43c6f1[_0x19bcc9(0x121)]);}),this[_0x1bdb36(0x13a)]['on'](_0x1bdb36(0x147),(_0x3baa4c,_0x31c52c)=>{const _0x3a7538=_0x1bdb36;for(const _0x139a55 of _0x31c52c[_0x3a7538(0x109)])this[_0x3a7538(0x116)][_0x3a7538(0x134)](_0x139a55[_0x3a7538(0x121)]),this[_0x3a7538(0x110)][_0x3a7538(0x15a)](_0x139a55[_0x3a7538(0x121)]);for(const _0x2a7966 of Array[_0x3a7538(0x146)](_0x31c52c[_0x3a7538(0x153)])[_0x3a7538(0x114)]())this[_0x3a7538(0x116)][_0x3a7538(0x10b)](_0x2a7966[_0x3a7538(0x121)]),this[_0x3a7538(0x110)][_0x3a7538(0x131)](_0x2a7966[_0x3a7538(0x121)]);});}}function _0x2d84(_0x51cdde,_0x5c7e9e){const _0x32a1a9=_0x32a1();return _0x2d84=function(_0x2d848f,_0x519696){_0x2d848f=_0x2d848f-0x108;let _0x2833e2=_0x32a1a9[_0x2d848f];return _0x2833e2;},_0x2d84(_0x51cdde,_0x5c7e9e);}function as(_0x189c62,_0x1d2604,_0xbaaf1f){const _0x41fc63=_0x49c973;let _0xac151f=0x0;for(const _0x4189b2 of _0x189c62)switch(_0x4189b2){case _0x41fc63(0x141):_0x1d2604[_0x41fc63(0x10b)](_0xbaaf1f[_0x41fc63(0x149)](_0xac151f),_0xac151f),_0xac151f++;break;case _0x41fc63(0x145):_0x1d2604[_0x41fc63(0x134)](_0xac151f);break;case _0x41fc63(0x164):_0xac151f++;}}
|
|
23
|
+
const _0x428676=_0x3e1a;function _0x3e1a(_0x5a573f,_0x9010db){const _0x3a6fca=_0x3a6f();return _0x3e1a=function(_0x3e1a9d,_0x35fc1f){_0x3e1a9d=_0x3e1a9d-0x1c1;let _0x31bec1=_0x3a6fca[_0x3e1a9d];return _0x31bec1;},_0x3e1a(_0x5a573f,_0x9010db);}(function(_0x45ed2c,_0x260961){const _0x152f16=_0x3e1a,_0x4cce2e=_0x45ed2c();while(!![]){try{const _0xb5177d=-parseInt(_0x152f16(0x201))/0x1*(parseInt(_0x152f16(0x1d6))/0x2)+parseInt(_0x152f16(0x21d))/0x3+parseInt(_0x152f16(0x1d8))/0x4+parseInt(_0x152f16(0x1d3))/0x5*(parseInt(_0x152f16(0x1c7))/0x6)+-parseInt(_0x152f16(0x1c1))/0x7+-parseInt(_0x152f16(0x1c4))/0x8+-parseInt(_0x152f16(0x1cb))/0x9*(-parseInt(_0x152f16(0x1cc))/0xa);if(_0xb5177d===_0x260961)break;else _0x4cce2e['push'](_0x4cce2e['shift']());}catch(_0x2e0bda){_0x4cce2e['push'](_0x4cce2e['shift']());}}}(_0x3a6f,0xe5c70));function _0x3a6f(){const _0x27bc14=['forEach','updateComment','718dDEkUm','Thread\x20comments','_calculatePosition','locale','length','render','resolveCommentThread','listenTo','_rearrangeCollapse','focusLast','_shouldCollapse','reverse','count','target','element','focus','refreshVisibleViews','remove','maxCommentCharsWhenCollapsed','_handleNewCommentModel','Marked\x20as\x20resolved','change:isResolved','some','comments','_handleRemoveCommentModel','weight','maxCommentsWhenCollapsed','focusCycler','2738040mQSEzG','ck-hidden','keystrokes','hasDirtyComment','resolvedBy','8754529FDFXeu','expand','equal','7387400xKzgwb','editorConfig','CommentView','2426778ohHkoM','resolved','commentUpdated','change','5771502rcFLzL','40wNwtMC','collapse','destroy','ck-thread__comments','authoredAt','change:isActive','isActive','10xMthaO','resolvedCommentView','get','4888AtOVbH','editorReady','2333256GQALMl','focusFirst','delegate','insert','bindTemplate','maxThreadTotalWeight','viewUid','change:isEditMode','_findOptimalIndex','visibleViews','formatDateTime','_updateHasDirtyComment','editorDestroyed','_handleInfoComment','isEditMode','set','includes','_collapsedCommentsView','focusTracker','removed','change:hasDirtyComment','added','commentViews','_setupKeyboardNavigation','from','add','removeComment','arrowdown','delete','_config','createCollection','_model','setTemplate','arrowup','_rearrangeExpand','map','resolvedAt','stopListening','bind'];_0x3a6f=function(){return _0x27bc14;};return _0x3a6f();}import{View as _0x35cd6d,FocusCycler as _0x49bc0a}from'ckeditor5/src/ui.js';import{diff as _0x1493e7,Collection as _0x333605,FocusTracker as _0x357ad3,KeystrokeHandler as _0x3e1e1b}from'ckeditor5/src/utils.js';import{getTranslation as _0x37c874}from'../../../utils/common-translations.js';import _0x240131 from'./collapsedcommentsview.js';export default class te extends _0x35cd6d{constructor(_0x5ad83c,_0x4bf79d,_0x15ab24){const _0x243556=_0x3e1a;super(_0x5ad83c);const _0x1a9e62=this[_0x243556(0x1dc)];this[_0x243556(0x1e7)](_0x243556(0x220),!0x1),this[_0x243556(0x1e7)](_0x243556(0x205),_0x4bf79d[_0x243556(0x218)][_0x243556(0x205)]),this[_0x243556(0x1e7)](_0x243556(0x1d2),!0x1),this[_0x243556(0x1f7)]=_0x4bf79d,this[_0x243556(0x1f5)]=_0x15ab24,this[_0x243556(0x1ee)]=this[_0x243556(0x1f6)](),this[_0x243556(0x1e1)]=this[_0x243556(0x1f6)](),this[_0x243556(0x1d4)]=null,this[_0x243556(0x1ea)]=new _0x357ad3(),this[_0x243556(0x21f)]=new _0x3e1e1b(),this[_0x243556(0x21c)]=new _0x49bc0a({'focusables':this[_0x243556(0x1ee)],'focusTracker':this[_0x243556(0x1ea)],'keystrokeHandler':this[_0x243556(0x21f)],'keystrokeHandlerOptions':{'filter':_0x5516eb=>this[_0x243556(0x1ee)][_0x243556(0x1fb)](_0x447646=>_0x447646[_0x243556(0x20f)])[_0x243556(0x1e8)](_0x5516eb[_0x243556(0x20e)])},'actions':{'focusPrevious':_0x243556(0x1f9),'focusNext':_0x243556(0x1f3)}}),this[_0x243556(0x1e9)]=new _0x240131(_0x5ad83c),this[_0x243556(0x1e9)][_0x243556(0x1fe)](_0x243556(0x20d))['to'](this,_0x243556(0x205),_0x5d5bc4=>_0x5d5bc4-this[_0x243556(0x1f5)][_0x243556(0x21b)]);for(const _0x5da745 of _0x4bf79d[_0x243556(0x218)])this[_0x243556(0x214)](_0x5da745);this[_0x243556(0x1e5)](),this[_0x243556(0x208)](_0x4bf79d[_0x243556(0x218)],_0x243556(0x1f1),(_0x285452,_0x5181f4)=>{const _0x349661=_0x243556,_0x2ac358=this[_0x349661(0x203)](_0x5181f4);this[_0x349661(0x205)]++,this[_0x349661(0x214)](_0x5181f4,_0x2ac358),this[_0x349661(0x211)]();}),this[_0x243556(0x208)](_0x4bf79d[_0x243556(0x218)],_0x243556(0x212),(_0xf4e0a7,_0x24880c)=>{const _0x2800f2=_0x243556;this[_0x2800f2(0x205)]--,this[_0x2800f2(0x219)](_0x24880c),this[_0x2800f2(0x211)]();}),this[_0x243556(0x208)](_0x4bf79d,_0x243556(0x1c9),()=>this[_0x243556(0x211)]()),this[_0x243556(0x208)](_0x4bf79d,_0x243556(0x216),()=>this[_0x243556(0x1e5)]()),this['on'](_0x243556(0x1d1),()=>this[_0x243556(0x211)]()),this['on'](_0x243556(0x1ec),()=>this[_0x243556(0x211)]()),this[_0x243556(0x1f8)]({'tag':'ul','attributes':{'class':[_0x243556(0x1cf),_0x1a9e62['if'](_0x243556(0x205),_0x243556(0x21e),_0x2bf15c=>!_0x2bf15c)],'aria-label':_0x37c874(_0x5ad83c,_0x243556(0x202))},'children':this[_0x243556(0x1e1)]});}get[_0x428676(0x20b)](){const _0x23d63b=_0x428676;return this[_0x23d63b(0x1f7)][_0x23d63b(0x21a)]>this[_0x23d63b(0x1f5)][_0x23d63b(0x1dd)]&&!this[_0x23d63b(0x1d2)]&&!this[_0x23d63b(0x220)];}[_0x428676(0x206)](){const _0x38ecae=_0x428676;super[_0x38ecae(0x206)](),this[_0x38ecae(0x211)](),this[_0x38ecae(0x1ef)]();}[_0x428676(0x210)](_0x2aa21a){const _0x42e52c=_0x428676;-0x1===_0x2aa21a?this[_0x42e52c(0x21c)][_0x42e52c(0x20a)]():this[_0x42e52c(0x21c)][_0x42e52c(0x1d9)]();}[_0x428676(0x1ce)](){const _0x485c7a=_0x428676;this[_0x485c7a(0x1e9)][_0x485c7a(0x1ce)]();for(const _0x35a5b8 of this[_0x485c7a(0x1ee)])_0x35a5b8[_0x485c7a(0x1ce)]();super[_0x485c7a(0x1ce)]();}[_0x428676(0x211)](){const _0x1d7e86=_0x428676;this[_0x1d7e86(0x20b)]?this[_0x1d7e86(0x209)]():this[_0x1d7e86(0x1fa)]();}[_0x428676(0x214)](_0x5a45f0,_0x897934){const _0xd54c4e=_0x428676,_0x2c4bbe=new this[(_0xd54c4e(0x1f5))][(_0xd54c4e(0x1c6))](this[_0xd54c4e(0x204)],_0x5a45f0,{'maxCommentCharsWhenCollapsed':this[_0xd54c4e(0x1f5)][_0xd54c4e(0x213)],'formatDateTime':this[_0xd54c4e(0x1f5)][_0xd54c4e(0x1e2)],'editorConfig':this[_0xd54c4e(0x1f5)][_0xd54c4e(0x1c5)]});_0x2c4bbe[_0xd54c4e(0x1de)]=_0x5a45f0['id'],_0x2c4bbe[_0xd54c4e(0x1da)](_0xd54c4e(0x1f2))['to'](this),_0x2c4bbe[_0xd54c4e(0x1da)](_0xd54c4e(0x200))['to'](this),_0x2c4bbe[_0xd54c4e(0x1da)](_0xd54c4e(0x207))['to'](this),_0x2c4bbe[_0xd54c4e(0x1da)](_0xd54c4e(0x1d7))['to'](this),_0x2c4bbe[_0xd54c4e(0x1da)](_0xd54c4e(0x1e4))['to'](this),this[_0xd54c4e(0x208)](_0x2c4bbe,_0xd54c4e(0x1df),()=>this[_0xd54c4e(0x1e3)]()),this[_0xd54c4e(0x1ee)][_0xd54c4e(0x1f1)](_0x2c4bbe,_0x897934);}[_0x428676(0x203)](_0x45ceab){const _0x4441e1=_0x428676,_0x69d448=this[_0x4441e1(0x1f7)][_0x4441e1(0x1e0)](_0x45ceab);return this[_0x4441e1(0x1d4)]?this[_0x4441e1(0x1d4)][_0x4441e1(0x1d0)]>_0x45ceab[_0x4441e1(0x1d0)]?_0x69d448-0x1:_0x69d448:_0x69d448-0x1;}[_0x428676(0x1e5)](){const _0x2ce182=_0x428676;if(this[_0x2ce182(0x1f7)][_0x2ce182(0x221)]&&this[_0x2ce182(0x1f7)][_0x2ce182(0x1fc)]){const _0x3694bf={'id':_0x2ce182(0x1c8),'author':this[_0x2ce182(0x1f7)][_0x2ce182(0x221)],'authoredAt':this[_0x2ce182(0x1f7)][_0x2ce182(0x1fc)],'content':_0x37c874(this[_0x2ce182(0x204)],_0x2ce182(0x215)),'attributes':{}};this[_0x2ce182(0x1d4)]=new this[(_0x2ce182(0x1f5))][(_0x2ce182(0x1c6))](this[_0x2ce182(0x204)],_0x3694bf,{'maxCommentCharsWhenCollapsed':this[_0x2ce182(0x1f5)][_0x2ce182(0x213)],'formatDateTime':this[_0x2ce182(0x1f5)][_0x2ce182(0x1e2)],'editorConfig':this[_0x2ce182(0x1f5)][_0x2ce182(0x1c5)],'isSystemComment':!0x0}),this[_0x2ce182(0x1ee)][_0x2ce182(0x1f1)](this[_0x2ce182(0x1d4)],this[_0x2ce182(0x1f7)][_0x2ce182(0x1e0)](_0x3694bf));}else this[_0x2ce182(0x1d4)]&&(this[_0x2ce182(0x1ee)][_0x2ce182(0x212)](this[_0x2ce182(0x1d4)]),this[_0x2ce182(0x1d4)][_0x2ce182(0x1ce)](),this[_0x2ce182(0x1d4)]=null);this[_0x2ce182(0x211)]();}[_0x428676(0x219)](_0x15538c){const _0x22348c=_0x428676,_0x4b2251=this[_0x22348c(0x1ee)][_0x22348c(0x212)](_0x15538c['id']);this[_0x22348c(0x1fd)](_0x4b2251),_0x4b2251[_0x22348c(0x1e6)]&&this[_0x22348c(0x1e3)](),_0x4b2251[_0x22348c(0x1ce)]();}[_0x428676(0x1e3)](){const _0x3ab4fd=_0x428676;this[_0x3ab4fd(0x220)]=Array[_0x3ab4fd(0x1f0)](this[_0x3ab4fd(0x1ee)])[_0x3ab4fd(0x217)](_0x310371=>_0x310371[_0x3ab4fd(0x1e6)]);}[_0x428676(0x209)](){const _0x3a048e=_0x428676,_0x513e91=function(_0x10ce29){const _0x4c7d4c=_0x3e1a,_0x189f10=new _0x333605();for(const _0x48615b of _0x10ce29)_0x189f10[_0x4c7d4c(0x1f1)](_0x48615b);return _0x189f10;}(this[_0x3a048e(0x1ee)]),_0x30f8c3=this[_0x3a048e(0x1e9)][_0x3a048e(0x20d)];for(let _0x1675c1=0x1;_0x1675c1<=_0x30f8c3;_0x1675c1++)_0x513e91[_0x3a048e(0x212)](0x1);for(const _0x24cd3f of _0x513e91)_0x24cd3f[_0x3a048e(0x1cd)]();_0x30f8c3>0x0&&_0x513e91[_0x3a048e(0x1f1)](this[_0x3a048e(0x1e9)],0x1),as(_0x1493e7(Array[_0x3a048e(0x1f0)](this[_0x3a048e(0x1e1)]),Array[_0x3a048e(0x1f0)](_0x513e91)),this[_0x3a048e(0x1e1)],_0x513e91);}[_0x428676(0x1fa)](){const _0x13a26=_0x428676;as(_0x1493e7(Array[_0x13a26(0x1f0)](this[_0x13a26(0x1e1)]),Array[_0x13a26(0x1f0)](this[_0x13a26(0x1ee)])),this[_0x13a26(0x1e1)],this[_0x13a26(0x1ee)]);for(const _0x11a71e of this[_0x13a26(0x1e1)])_0x11a71e[_0x13a26(0x1c2)]();}[_0x428676(0x1ef)](){const _0x57bf01=_0x428676;this[_0x57bf01(0x1ee)][_0x57bf01(0x1ff)](_0x1ce38e=>{const _0x497698=_0x57bf01;this[_0x497698(0x1ea)][_0x497698(0x1f1)](_0x1ce38e[_0x497698(0x20f)]),this[_0x497698(0x21f)][_0x497698(0x208)](_0x1ce38e[_0x497698(0x20f)]);}),this[_0x57bf01(0x1ee)]['on'](_0x57bf01(0x1ca),(_0x52ee59,_0x5f0008)=>{const _0x3cf2d2=_0x57bf01;for(const _0x50257c of _0x5f0008[_0x3cf2d2(0x1eb)])this[_0x3cf2d2(0x1ea)][_0x3cf2d2(0x212)](_0x50257c[_0x3cf2d2(0x20f)]),this[_0x3cf2d2(0x21f)][_0x3cf2d2(0x1fd)](_0x50257c[_0x3cf2d2(0x20f)]);for(const _0xceaa86 of Array[_0x3cf2d2(0x1f0)](_0x5f0008[_0x3cf2d2(0x1ed)])[_0x3cf2d2(0x20c)]())this[_0x3cf2d2(0x1ea)][_0x3cf2d2(0x1f1)](_0xceaa86[_0x3cf2d2(0x20f)]),this[_0x3cf2d2(0x21f)][_0x3cf2d2(0x208)](_0xceaa86[_0x3cf2d2(0x20f)]);});}}function as(_0x450982,_0x5a2156,_0x4a2049){const _0x5807bf=_0x428676;let _0x5e2f57=0x0;for(const _0x12efb9 of _0x450982)switch(_0x12efb9){case _0x5807bf(0x1db):_0x5a2156[_0x5807bf(0x1f1)](_0x4a2049[_0x5807bf(0x1d5)](_0x5e2f57),_0x5e2f57),_0x5e2f57++;break;case _0x5807bf(0x1f4):_0x5a2156[_0x5807bf(0x212)](_0x5e2f57);break;case _0x5807bf(0x1c3):_0x5e2f57++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x47a2c5=_0x13d9;(function(_0x4c4a12,_0x3b3ed6){const _0x1be2a5=_0x13d9,_0x50d37d=_0x4c4a12();while(!![]){try{const _0x4c52d4=parseInt(_0x1be2a5(0xb5))/0x1*(-parseInt(_0x1be2a5(0xab))/0x2)+parseInt(_0x1be2a5(0xa8))/0x3+-parseInt(_0x1be2a5(0xb2))/0x4+-parseInt(_0x1be2a5(0xa6))/0x5+-parseInt(_0x1be2a5(0xa9))/0x6*(-parseInt(_0x1be2a5(0xa4))/0x7)+parseInt(_0x1be2a5(0xb0))/0x8*(parseInt(_0x1be2a5(0xa5))/0x9)+-parseInt(_0x1be2a5(0xa7))/0xa*(-parseInt(_0x1be2a5(0xae))/0xb);if(_0x4c52d4===_0x3b3ed6)break;else _0x50d37d['push'](_0x50d37d['shift']());}catch(_0x591a54){_0x50d37d['push'](_0x50d37d['shift']());}}}(_0x4d8f,0x48a92));import{View as _0x39f079}from'ckeditor5/src/ui.js';function _0x13d9(_0x36e03a,_0x1b546b){const _0x4d8f7f=_0x4d8f();return _0x13d9=function(_0x13d976,_0x18ae40){_0x13d976=_0x13d976-0xa3;let _0x5670c8=_0x4d8f7f[_0x13d976];return _0x5670c8;},_0x13d9(_0x36e03a,_0x1b546b);}import{getTranslation as _0xf2da}from'../../../utils/common-translations.js';function _0x4d8f(){const _0xa0bf07=['43482lYNEWJ','set','887758PPLZnT','element','span','1978504RqJVZx','contextValue','1987952WJVRwD','THREAD_CONTEXT_LABEL','771792hulImb','ck-context__value','setTemplate','1Uaoyxs','bindTemplate','focus','518qEDdKZ','9JKEQfq','2860550osYYxH','20SliEyW','1086165RPfptr'];_0x4d8f=function(){return _0xa0bf07;};return _0x4d8f();}export default class ls extends _0x39f079{constructor(_0x410dc9){const _0x444904=_0x13d9;super(_0x410dc9);const _0x7bf19c=this[_0x444904(0xb6)];this[_0x444904(0xaa)](_0x444904(0xaf),''),this[_0x444904(0xb4)]({'tag':_0x444904(0xad),'attributes':{'class':['ck',_0x444904(0xb3)],'aria-label':_0x7bf19c['to'](_0x444904(0xaf),_0x1d5d1=>_0xf2da(_0x410dc9,_0x444904(0xb1),_0x1d5d1)),'tabindex':-0x1},'children':[{'text':_0x7bf19c['to'](_0x444904(0xaf))}]});}[_0x47a2c5(0xa3)](){const _0x5443b5=_0x47a2c5;this[_0x5443b5(0xac)][_0x5443b5(0xa3)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33eb66=_0x3d5c;(function(_0x51510c,_0x9548c9){const _0xc7cbfc=_0x3d5c,_0x2d7a44=_0x51510c();while(!![]){try{const _0xf9e20a=parseInt(_0xc7cbfc(0x1ac))/0x1*(parseInt(_0xc7cbfc(0x1ae))/0x2)+-parseInt(_0xc7cbfc(0x17d))/0x3*(parseInt(_0xc7cbfc(0x1a5))/0x4)+parseInt(_0xc7cbfc(0x179))/0x5+parseInt(_0xc7cbfc(0x1b3))/0x6*(-parseInt(_0xc7cbfc(0x1b2))/0x7)+parseInt(_0xc7cbfc(0x1a3))/0x8+parseInt(_0xc7cbfc(0x188))/0x9*(parseInt(_0xc7cbfc(0x184))/0xa)+-parseInt(_0xc7cbfc(0x194))/0xb*(parseInt(_0xc7cbfc(0x1af))/0xc);if(_0xf9e20a===_0x9548c9)break;else _0x2d7a44['push'](_0x2d7a44['shift']());}catch(_0xd0a737){_0x2d7a44['push'](_0x2d7a44['shift']());}}}(_0x3cf1,0x1ceb5));import{View as _0x5d88ce,ButtonView as _0x180a91,FocusCycler as _0x5dab34}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2a77ed,KeystrokeHandler as _0x454941}from'ckeditor5/src/utils.js';import{getTranslation as _0x21e6e7}from'../../../utils/common-translations.js';function _0x3cf1(){const _0x15b667=['overlay','createCollection','Reopen','ck-context--quotes','isResolvable','_trimContextValue','keystrokes','value','shift+tab','1130365WCNTBB','render','bind','ck-thread__header','2172gNdOGR','ck-annotation__actions','isVisible','lastIndexOf','ck-context-wrapper','contextView','classList','10EUuikM','execute','focusables','locale','924093yDNNwo','_createContextView','setTemplate','focusTracker','mouseenter','.ck-context','offsetWidth','Comment\x20was\x20made\x20on\x20an\x20element','icon','mouseleave','label','bindTemplate','157377JsKori','ck-context','contextValue','remove','scrollWidth','focusCycler','_model','tooltip','focus','_setupKeyboardNavigation','...','focusFirst','div','.ck-context__value','isReadOnly','1281008iJQEil','querySelector','968rJFebY','_attachContextActions','hasContext','fire','isEnabled','listenTo','add','79EgbBIv','isResolved','454sFkHhR','156BbMhTp','element','reopenButtonView','14623PvXdnC','78qEnEAx','context','reopenCommentThread','length','substring','tab','_createReopenButton'];_0x3cf1=function(){return _0x15b667;};return _0x3cf1();}import _0x58d455 from'../../../../theme/icons/undo.svg';import _0x4869e8 from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;function _0x3d5c(_0x21c61e,_0x4bf801){const _0x3cf1b9=_0x3cf1();return _0x3d5c=function(_0x3d5cea,_0x580e4e){_0x3d5cea=_0x3d5cea-0x177;let _0x37dfb0=_0x3cf1b9[_0x3d5cea];return _0x37dfb0;},_0x3d5c(_0x21c61e,_0x4bf801);}export default class Zt extends _0x5d88ce{constructor(_0x1e6d27,_0x168334){const _0x492542=_0x3d5c;super(_0x1e6d27);const _0x3a4ed7=this[_0x492542(0x193)];this[_0x492542(0x19a)]=_0x168334,this[_0x492542(0x1b1)]=this[_0x492542(0x1b9)](),this[_0x492542(0x182)]=this[_0x492542(0x189)](),this[_0x492542(0x186)]=this[_0x492542(0x1bb)]([this[_0x492542(0x182)],this[_0x492542(0x1b1)]]),this[_0x492542(0x18b)]=new _0x2a77ed(),this[_0x492542(0x1c0)]=new _0x454941(),this[_0x492542(0x199)]=new _0x5dab34({'focusables':this[_0x492542(0x186)],'focusTracker':this[_0x492542(0x18b)],'keystrokeHandler':this[_0x492542(0x1c0)],'actions':{'focusPrevious':_0x492542(0x178),'focusNext':_0x492542(0x1b8)}}),this[_0x492542(0x17b)](_0x492542(0x1a7))['to'](this[_0x492542(0x19a)],_0x492542(0x1b4),_0x8405df=>!!_0x8405df),this[_0x492542(0x17b)](_0x492542(0x196))['to'](this[_0x492542(0x19a)],_0x492542(0x1b4),_0x1d0a9e=>_0x1d0a9e&&_0x1d0a9e[_0x492542(0x177)]?this[_0x492542(0x1bf)](_0x1d0a9e[_0x492542(0x177)]):_0x21e6e7(this[_0x492542(0x187)],_0x492542(0x18f))),this[_0x492542(0x18a)]({'tag':_0x492542(0x1a0),'attributes':{'class':[_0x492542(0x17c)]},'children':[{'tag':_0x492542(0x1a0),'attributes':{'class':[_0x492542(0x181)]},'children':[{'tag':_0x492542(0x1a0),'attributes':{'class':[_0x492542(0x195),_0x3a4ed7['if'](_0x492542(0x1a7),_0x492542(0x1bd))]},'children':[this[_0x492542(0x182)]]}]},{'tag':_0x492542(0x1a0),'attributes':{'class':[_0x492542(0x17e)]},'children':[this[_0x492542(0x1b1)]]}]});}[_0x33eb66(0x17a)](){const _0x51b2e1=_0x33eb66;super[_0x51b2e1(0x17a)](),this[_0x51b2e1(0x1a6)](),this[_0x51b2e1(0x19d)]();}[_0x33eb66(0x19c)](){const _0x144b27=_0x33eb66;this[_0x144b27(0x199)][_0x144b27(0x19f)]();}[_0x33eb66(0x1b9)](){const _0x25c446=_0x33eb66,_0x13aefd=new _0x180a91(this[_0x25c446(0x187)]);return _0x13aefd[_0x25c446(0x192)]=_0x21e6e7(this[_0x25c446(0x187)],_0x25c446(0x1bc)),_0x13aefd[_0x25c446(0x19b)]=_0x21e6e7(this[_0x25c446(0x187)],_0x25c446(0x1bc)),_0x13aefd[_0x25c446(0x190)]=_0x58d455,_0x13aefd[_0x25c446(0x17b)](_0x25c446(0x1a9))['to'](this[_0x25c446(0x19a)],_0x25c446(0x1a2),_0x4ac1c9=>!_0x4ac1c9),_0x13aefd[_0x25c446(0x17b)](_0x25c446(0x17f))['to'](this[_0x25c446(0x19a)],_0x25c446(0x1be),this[_0x25c446(0x19a)],_0x25c446(0x1ad),(_0x22b28e,_0x3696f7)=>_0x22b28e&&_0x3696f7),_0x13aefd['on'](_0x25c446(0x185),()=>{const _0x2a191d=_0x25c446;this[_0x2a191d(0x1a8)](_0x2a191d(0x1b5),this[_0x2a191d(0x19a)]['id']);}),_0x13aefd;}[_0x33eb66(0x1bf)](_0xd04973){const _0x1f89a1=_0x33eb66;if(_0xd04973[_0x1f89a1(0x1b6)]<0x96)return _0xd04973;const _0x4b09b0=_0xd04973[_0x1f89a1(0x180)]('\x20',0x93);return _0xd04973[_0x1f89a1(0x1b7)](0x0,_0x4b09b0>-0x1?_0x4b09b0:0x93)+_0x1f89a1(0x19e);}[_0x33eb66(0x1a6)](){const _0x3ea91a=_0x33eb66,_0x24d53d=this[_0x3ea91a(0x1b0)][_0x3ea91a(0x1a4)](_0x3ea91a(0x18d)),_0x406b84=_0x24d53d[_0x3ea91a(0x1a4)](_0x3ea91a(0x1a1));this[_0x3ea91a(0x1aa)](_0x24d53d,_0x3ea91a(0x18c),()=>{const _0x32d6a8=_0x3ea91a;_0x406b84[_0x32d6a8(0x18e)]<_0x406b84[_0x32d6a8(0x198)]&&_0x24d53d[_0x32d6a8(0x183)][_0x32d6a8(0x1ab)](_0x32d6a8(0x1ba));}),this[_0x3ea91a(0x1aa)](_0x24d53d,_0x3ea91a(0x191),()=>{const _0xd9fe5b=_0x3ea91a;_0x24d53d[_0xd9fe5b(0x183)][_0xd9fe5b(0x197)](_0xd9fe5b(0x1ba));});}[_0x33eb66(0x19d)](){const _0x4ff2ae=_0x33eb66;this[_0x4ff2ae(0x1c0)][_0x4ff2ae(0x1aa)](this[_0x4ff2ae(0x1b0)]);for(const _0x5d2da3 of this[_0x4ff2ae(0x186)])this[_0x4ff2ae(0x18b)][_0x4ff2ae(0x1ab)](_0x5d2da3[_0x4ff2ae(0x1b0)]),this[_0x4ff2ae(0x1c0)][_0x4ff2ae(0x1aa)](_0x5d2da3[_0x4ff2ae(0x1b0)]);}[_0x33eb66(0x189)](){const _0xcba4e4=_0x33eb66,_0x4cc888=new _0x4869e8(this[_0xcba4e4(0x187)]);return _0x4cc888[_0xcba4e4(0x17b)](_0xcba4e4(0x196))['to'](this),_0x4cc888;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4713f6=_0x55e6;(function(_0x180322,_0x5057a2){const _0x1d91d6=_0x55e6,_0xe2e984=_0x180322();while(!![]){try{const _0x15da2e=-parseInt(_0x1d91d6(0x180))/0x1+-parseInt(_0x1d91d6(0x18b))/0x2*(-parseInt(_0x1d91d6(0x195))/0x3)+parseInt(_0x1d91d6(0x17c))/0x4*(-parseInt(_0x1d91d6(0x1a8))/0x5)+-parseInt(_0x1d91d6(0x192))/0x6+-parseInt(_0x1d91d6(0x1a9))/0x7+-parseInt(_0x1d91d6(0x19e))/0x8*(-parseInt(_0x1d91d6(0x1ab))/0x9)+parseInt(_0x1d91d6(0x181))/0xa;if(_0x15da2e===_0x5057a2)break;else _0xe2e984['push'](_0xe2e984['shift']());}catch(_0x15c53c){_0xe2e984['push'](_0xe2e984['shift']());}}}(_0x4e40,0x1fd46));function _0x4e40(){const _0x20b679=['1048khDZRU','showButtons','focusCycler','listenTo','76309xfSuIO','5905080tbCWct','setTemplate','editorReady','commentInputView','ck-thread__user','focusTracker','createEditor','value','element','contains','47556WSpgIo','preventDefault','ck-comment__input-container--active','extendTemplate','set','target','view','358014CAiryO','isFocused','bind','9zpXtiI','getDomRoot','editorDestroyed','editor','editing','showInput','div','then','ck-thread__input','4104XeisgM','delegate','focus','mousedown','some','change:showInput','filter','ck-comment__input-container','userView','_focusOnNonInteractiveMouseDown','3735GhzKaG','1610301GznZGC','destroy','531dkixFL','bindTemplate','render'];_0x4e40=function(){return _0x20b679;};return _0x4e40();}import{View as _0x94a3da}from'ckeditor5/src/ui.js';import _0x237e40 from'./commentinputview.js';function _0x55e6(_0x5ab41e,_0x2fe412){const _0x4e4038=_0x4e40();return _0x55e6=function(_0x55e691,_0x29d817){_0x55e691=_0x55e691-0x17b;let _0x4502f4=_0x4e4038[_0x55e691];return _0x4502f4;},_0x55e6(_0x5ab41e,_0x2fe412);}import{UserView as _0x2a79e2}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ie extends _0x94a3da{constructor(_0x5e3e5b,_0x3e916c,_0x2c1003){const _0x55071a=_0x55e6;super(_0x5e3e5b),this[_0x55071a(0x184)]=new _0x237e40(_0x5e3e5b,_0x2c1003),this[_0x55071a(0x17e)]=this[_0x55071a(0x184)][_0x55071a(0x17e)],this[_0x55071a(0x184)][_0x55071a(0x194)](_0x55071a(0x17d))['to'](this[_0x55071a(0x184)][_0x55071a(0x186)],_0x55071a(0x193),this[_0x55071a(0x184)],_0x55071a(0x188),(_0x92d78,_0x1375ee)=>_0x92d78||!!_0x1375ee),this[_0x55071a(0x18f)](_0x55071a(0x19a),!0x1),this['on'](_0x55071a(0x1a3),()=>{const _0x220311=_0x55071a;this[_0x220311(0x19a)]&&!this[_0x220311(0x184)][_0x220311(0x198)]&&this[_0x220311(0x184)][_0x220311(0x187)]();}),this[_0x55071a(0x184)][_0x55071a(0x19f)](_0x55071a(0x183))['to'](this),this[_0x55071a(0x184)][_0x55071a(0x19f)](_0x55071a(0x197))['to'](this),this[_0x55071a(0x1a6)]=new _0x2a79e2(_0x5e3e5b,_0x3e916c),this[_0x55071a(0x1a6)][_0x55071a(0x18e)]({'attributes':{'class':_0x55071a(0x185),'aria-hidden':!0x0}}),this[_0x55071a(0x184)][_0x55071a(0x18e)]({'attributes':{'class':_0x55071a(0x19d)}}),this[_0x55071a(0x182)]({'tag':_0x55071a(0x19b),'attributes':{'class':[_0x55071a(0x1a5),this[_0x55071a(0x1ac)]['if'](_0x55071a(0x19a),_0x55071a(0x18d))]},'children':[this[_0x55071a(0x1a6)],this[_0x55071a(0x184)]]});}[_0x4713f6(0x17b)](){const _0x4c2089=_0x4713f6;super[_0x4c2089(0x17b)](),this[_0x4c2089(0x1a7)]();}[_0x4713f6(0x1aa)](){const _0x14f1ef=_0x4713f6;return this[_0x14f1ef(0x184)][_0x14f1ef(0x1aa)]()[_0x14f1ef(0x19c)](()=>super[_0x14f1ef(0x1aa)]());}[_0x4713f6(0x1a0)](_0x391d5c){const _0x1e5935=_0x4713f6;this[_0x1e5935(0x184)][_0x1e5935(0x1a0)](_0x391d5c);}[_0x4713f6(0x1a7)](){const _0x57f943=_0x4713f6;this[_0x57f943(0x17f)](this[_0x57f943(0x189)],_0x57f943(0x1a1),(_0x17a238,_0x39006e)=>{const _0x43eb62=_0x57f943,{submitButtonView:_0xe75f30,cancelButtonView:_0x39b518,editor:_0x4994dc}=this[_0x43eb62(0x184)];[_0xe75f30[_0x43eb62(0x189)],_0x39b518[_0x43eb62(0x189)],_0x4994dc?_0x4994dc[_0x43eb62(0x199)][_0x43eb62(0x191)][_0x43eb62(0x196)]():null][_0x43eb62(0x1a4)](_0x3ab544=>_0x3ab544)[_0x43eb62(0x1a2)](_0x5adfc3=>_0x5adfc3[_0x43eb62(0x18a)](_0x39006e[_0x43eb62(0x190)]))||(this[_0x43eb62(0x1a0)](),_0x39006e[_0x43eb62(0x18c)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x28ec86=_0x4b5c;(function(_0x25822c,_0x24b25d){const _0x3df555=_0x4b5c,_0x88e698=_0x25822c();while(!![]){try{const _0x5864de=parseInt(_0x3df555(0x172))/0x1+-parseInt(_0x3df555(0x16c))/0x2+-parseInt(_0x3df555(0x176))/0x3+-parseInt(_0x3df555(0x153))/0x4+-parseInt(_0x3df555(0x15d))/0x5*(parseInt(_0x3df555(0x168))/0x6)+parseInt(_0x3df555(0x148))/0x7+parseInt(_0x3df555(0x16e))/0x8;if(_0x5864de===_0x24b25d)break;else _0x88e698['push'](_0x88e698['shift']());}catch(_0x4b0983){_0x88e698['push'](_0x88e698['shift']());}}}(_0x343c,0x9cdbd));function _0x343c(){const _0x2de0a8=['then','createCollection','stop','1258359ybsLVJ','listitem','ck-rounded-corners','isActive','isResolved','isVisible','listenTo','ck-thread--active','change:isActive','isUnlinked','commentThreadHeaderView','set','containerElement','_updateArchivedThreadHeader','placeholder','isSystemComment','showConfirm','ck-thread','.ck-thread__container','bind','ck-reset_all-excluded','actionIndicator','add','render','ck-thread__container','archivedAt','high','commentViews','commentsListView','cancelConfirm','div','has','unbind','_createResolveButton','tooltip','ariaLabel','ck-thread--','remove','querySelector','ck-comment--resolve','removeCommentThread','isResolvable','extendTemplate','7390376Jfrprc','focus','get','check','_bindFirstCommentView','isEnabled','getTemplate','ck-thread--remove-confirmation','Delete\x20comment\x20thread?','focusables','label','4736100NqKjaG','_model','commentThreadChildren','locale','setTemplate','removeConfirm','commentThreadInputView','change:isReadOnly','Write\x20a\x20comment...','icon','1490tgKxEU','isConfirm','ariaDescriptionView','execute','element','actionBar','removeButton','_cancelAllConfirms','length','resolveCommentThread','change:archivedAt','13974YyOTZU','fire','resolveButton','bindTemplate','2416962PLgJan','isReadOnly','17704360IaNAft','_boundFirstCommentView','ck-thread--unlinked','Resolve','879681GeXDEQ'];_0x343c=function(){return _0x2de0a8;};return _0x343c();}import{ConfirmMixin as _0x2382a4,LateFocusButtonView as _0x3b7f18}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4b5c(_0x46ee0f,_0x368aa8){const _0x343c38=_0x343c();return _0x4b5c=function(_0x4b5c53,_0x353b56){_0x4b5c53=_0x4b5c53-0x13b;let _0x274fa2=_0x343c38[_0x4b5c53];return _0x274fa2;},_0x4b5c(_0x46ee0f,_0x368aa8);}import{icons as _0xbb2bb8}from'ckeditor5/src/core.js';import _0x293cd2 from'./basecommentthreadview.js';import{getTranslation as _0x48f3fe}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2382a4(_0x293cd2){constructor(_0x324bb8,_0x6ed3bd,_0x111c0a,_0x1357d6){const _0x5d9ad9=_0x4b5c;super(_0x324bb8,_0x6ed3bd,_0x111c0a,_0x1357d6),this[_0x5d9ad9(0x155)]=this[_0x5d9ad9(0x174)]([this[_0x5d9ad9(0x192)],this[_0x5d9ad9(0x159)],this[_0x5d9ad9(0x15f)]]),this[_0x5d9ad9(0x181)](_0x5d9ad9(0x18b),null),this[_0x5d9ad9(0x182)]=null,this[_0x5d9ad9(0x16f)]=null,this[_0x5d9ad9(0x156)]=_0x324bb8,this[_0x5d9ad9(0x16a)]=this[_0x5d9ad9(0x13e)](),this[_0x5d9ad9(0x157)](this[_0x5d9ad9(0x14e)]()),this['on'](_0x5d9ad9(0x17e),(_0x4feb44,_0x1766d0,_0x452ccf)=>{const _0x165b13=_0x5d9ad9;_0x452ccf||this[_0x165b13(0x164)]();}),this[_0x5d9ad9(0x17c)](this[_0x5d9ad9(0x154)],_0x5d9ad9(0x15a),(_0x4076e4,_0x8ca0be,_0x5225c3)=>{const _0x16dabe=_0x5d9ad9;_0x5225c3&&this[_0x16dabe(0x164)]();}),this[_0x5d9ad9(0x165)]>0x0&&this[_0x5d9ad9(0x14c)](),this[_0x5d9ad9(0x17c)](this[_0x5d9ad9(0x192)][_0x5d9ad9(0x191)],_0x5d9ad9(0x18c),()=>{const _0x58e3e2=_0x5d9ad9;this[_0x58e3e2(0x14c)]();});}[_0x28ec86(0x14e)](){const _0x4cb7ae=_0x28ec86,_0x281a99=this[_0x4cb7ae(0x16b)];return{'tag':_0x4cb7ae(0x13b),'attributes':{'class':['ck',_0x4cb7ae(0x187),_0x4cb7ae(0x18a),_0x4cb7ae(0x178),_0x281a99['if'](_0x4cb7ae(0x179),_0x4cb7ae(0x17d)),_0x281a99['if'](_0x4cb7ae(0x17f),_0x4cb7ae(0x170)),_0x281a99['if'](_0x4cb7ae(0x15e),_0x4cb7ae(0x14f)),_0x281a99['to'](_0x4cb7ae(0x18b),_0x43ce7f=>_0x43ce7f?_0x4cb7ae(0x141)+_0x43ce7f:'')],'data-thread-id':this[_0x4cb7ae(0x154)]['id'],'tabindex':0x0,'role':_0x4cb7ae(0x177),'aria-label':_0x281a99['to'](_0x4cb7ae(0x140)),'aria-describedby':this[_0x4cb7ae(0x15f)]['id']},'children':[{'tag':_0x4cb7ae(0x13b),'attributes':{'class':_0x4cb7ae(0x18e)},'children':this[_0x4cb7ae(0x155)]}]};}[_0x28ec86(0x18d)](){const _0xd57056=_0x28ec86;super[_0xd57056(0x18d)](),this[_0xd57056(0x182)]=this[_0xd57056(0x161)][_0xd57056(0x143)](_0xd57056(0x188)),this[_0xd57056(0x154)]['on'](_0xd57056(0x167),()=>{const _0x2f7733=_0xd57056;this[_0x2f7733(0x183)]();}),this[_0xd57056(0x183)]();}[_0x28ec86(0x164)](){const _0x2ac2f9=_0x28ec86;this[_0x2ac2f9(0x193)]();for(const _0x316f55 of this[_0x2ac2f9(0x192)][_0x2ac2f9(0x191)])_0x316f55[_0x2ac2f9(0x193)]();}[_0x28ec86(0x14c)](){const _0x162ef7=_0x28ec86,{locale:_0x161f0d}=this,_0x271e0e=this[_0x162ef7(0x192)][_0x162ef7(0x191)][_0x162ef7(0x14a)](0x0);_0x271e0e===this[_0x162ef7(0x16f)]||_0x271e0e[_0x162ef7(0x185)]||(this[_0x162ef7(0x16f)]=_0x271e0e,this[_0x162ef7(0x13d)](_0x162ef7(0x18b)),this[_0x162ef7(0x189)](_0x162ef7(0x18b))['to'](_0x271e0e,_0x162ef7(0x18b),_0x8f8461=>_0x162ef7(0x142)===_0x8f8461?_0x162ef7(0x142):null),_0x271e0e[_0x162ef7(0x184)]=_0x48f3fe(_0x161f0d,_0x162ef7(0x15b)),_0x271e0e[_0x162ef7(0x163)]['on'](_0x162ef7(0x160),_0x3a1119=>{const _0x7dd480=_0x162ef7;_0x3a1119[_0x7dd480(0x175)](),this[_0x7dd480(0x186)](_0x48f3fe(_0x161f0d,_0x7dd480(0x150)),this[_0x7dd480(0x182)])[_0x7dd480(0x173)](()=>{const _0x21317b=_0x7dd480;this[_0x21317b(0x169)](_0x21317b(0x145));});},{'priority':_0x162ef7(0x190)}),this['on'](_0x162ef7(0x158),()=>{const _0x477c9f=_0x162ef7;_0x271e0e[_0x477c9f(0x149)]();}),_0x271e0e[_0x162ef7(0x162)][_0x162ef7(0x18c)](this[_0x162ef7(0x16a)],0x0),_0x271e0e[_0x162ef7(0x151)][_0x162ef7(0x18c)](this[_0x162ef7(0x16a)],0x0));}[_0x28ec86(0x13e)](){const _0x20236d=_0x28ec86,_0x58f6b1=new _0x3b7f18(this[_0x20236d(0x156)]);return _0x58f6b1[_0x20236d(0x152)]=_0x48f3fe(this[_0x20236d(0x156)],_0x20236d(0x171)),_0x58f6b1[_0x20236d(0x13f)]=_0x48f3fe(this[_0x20236d(0x156)],_0x20236d(0x171)),_0x58f6b1[_0x20236d(0x15c)]=_0xbb2bb8[_0x20236d(0x14b)],_0x58f6b1[_0x20236d(0x147)]({'attributes':{'class':_0x20236d(0x144)}}),_0x58f6b1[_0x20236d(0x189)](_0x20236d(0x14d))['to'](this[_0x20236d(0x154)],_0x20236d(0x16d),_0x54be98=>!_0x54be98),_0x58f6b1[_0x20236d(0x189)](_0x20236d(0x17b))['to'](this[_0x20236d(0x154)],_0x20236d(0x146),this[_0x20236d(0x154)],_0x20236d(0x17a),(_0x4b8c37,_0x59e0da)=>_0x4b8c37&&!_0x59e0da),_0x58f6b1['on'](_0x20236d(0x160),()=>{const _0x46fccb=_0x20236d;this[_0x46fccb(0x169)](_0x46fccb(0x166),this[_0x46fccb(0x154)]['id']);}),_0x58f6b1;}[_0x28ec86(0x183)](){const _0x5c3b25=_0x28ec86;this[_0x5c3b25(0x154)][_0x5c3b25(0x18f)]?this[_0x5c3b25(0x155)][_0x5c3b25(0x13c)](this[_0x5c3b25(0x180)])||(this[_0x5c3b25(0x155)][_0x5c3b25(0x18c)](this[_0x5c3b25(0x180)],0x0),this[_0x5c3b25(0x151)][_0x5c3b25(0x18c)](this[_0x5c3b25(0x180)],0x0)):this[_0x5c3b25(0x155)][_0x5c3b25(0x13c)](this[_0x5c3b25(0x180)])&&(this[_0x5c3b25(0x155)][_0x5c3b25(0x142)](this[_0x5c3b25(0x180)]),this[_0x5c3b25(0x151)][_0x5c3b25(0x142)](this[_0x5c3b25(0x180)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1dfab0=_0x569e;(function(_0x55ff9e,_0x247f94){const _0x24607d=_0x569e,_0x42a776=_0x55ff9e();while(!![]){try{const _0x118d3c=parseInt(_0x24607d(0x178))/0x1+-parseInt(_0x24607d(0x197))/0x2*(-parseInt(_0x24607d(0x181))/0x3)+parseInt(_0x24607d(0x19e))/0x4+parseInt(_0x24607d(0x18c))/0x5+parseInt(_0x24607d(0x158))/0x6+-parseInt(_0x24607d(0x1a8))/0x7*(parseInt(_0x24607d(0x19c))/0x8)+parseInt(_0x24607d(0x165))/0x9*(-parseInt(_0x24607d(0x156))/0xa);if(_0x118d3c===_0x247f94)break;else _0x42a776['push'](_0x42a776['shift']());}catch(_0x44e842){_0x42a776['push'](_0x42a776['shift']());}}}(_0xf9c5,0x1b109));import{ButtonView as _0x5e028b,createDropdown as _0x19b387,ListView as _0xb439b1,ListItemView as _0xddd44b,focusChildOnDropdownOpen as _0x5e4f47}from'ckeditor5/src/ui.js';import{icons as _0x22ccf8}from'ckeditor5/src/core.js';import{UserView as _0x3fd0f5,ConfirmMixin as _0x345c0e,LateFocusDropdownButtonView as _0xd28be}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4cd0b8 from'./basecommentview.js';function _0xf9c5(){const _0x529064=['push','isEditMode','group','visibleView','ck-comment__external','_attachActions','listitem','ck-annotation__actions','length','items','formatDateTime','ariaDescriptionView','removeButton','_model','listenTo','addMany','_createRemoveButton','find','ck-hidden','set','ck-comment','pencil','unbind','isEditable','_createEditButton','div','bindTemplate','ck-comment__info-time','Delete\x20comment?','panelPosition','Reply...','children','focusables','element','10TwdBTv','focus','700518HHplAN','panelView','ck-annotation__main','getUserViewNotificationText','ck-comment__wrapper','isConfirm','isSystemComment','mouseleave','editButton','ariaLabel','bind','time','remove','1282887kkcTZb','ck-annotation__info-time','isExternal','ck-comment__main','ck-annotation__info-name','ck-comment--edit','createCollection','render','change:isRemovable','ck-annotation__content-wrapper','setTemplate','toMany','ck-comment__user','ck-annotation','showConfirm','ck-annotation__user','removeComment','edit','resolvedAt','41497ttoLSC','ck-comment--','getTemplate','author','_createCommentInputView','isEnabled','placeholder','ck-comment--remove-confirmation','ck-comment__info-name','489rpTTPA','actionBar','blur','isVisible','Edit','label','name','actionIndicator','ck-comment--remove','withText','ck-comment__actions--hidden','215840CghvSw','ck-comment--info','_config','some','isRemovable','then','Remove','switchToEditMode','fire','add','authoredAt','2494sxCMPE','Show\x20more\x20items','isReadOnly','buttonView','locale','1277224CsgJOt','getExternalCommentNote','33496AqFEdX','_createDropdown','cancelConfirm','icon','ck-annotation__actions--hidden','ck-comment__actions','execute','threeVerticalDots','span','mouseenter','7SRlLUN','ck-annotation__info','ck-comment__info','extendTemplate','from','dropdown','userView'];_0xf9c5=function(){return _0x529064;};return _0xf9c5();}function _0x569e(_0x263340,_0xd69500){const _0xf9c5bb=_0xf9c5();return _0x569e=function(_0x569e13,_0xa6c3f8){_0x569e13=_0x569e13-0x13b;let _0x3841e9=_0xf9c5bb[_0x569e13];return _0x3841e9;},_0x569e(_0x263340,_0xd69500);}import _0x11d5c4 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x293251}from'../../../utils/common-translations.js';export default class gt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x345c0e(_0x4cd0b8){constructor(_0x4d48a4,_0x391010,_0x1c6e40){const _0x499411=_0x569e;super(_0x4d48a4,_0x391010,_0x1c6e40),this[_0x499411(0x147)](_0x499411(0x188),null),this[_0x499411(0x147)](_0x499411(0x17e),_0x293251(_0x4d48a4,_0x499411(0x152))),this[_0x499411(0x162)](_0x499411(0x196))['to'](_0x391010),this[_0x499411(0x162)](_0x499411(0x177))['to'](_0x391010),this[_0x499411(0x182)]=this[_0x499411(0x16b)](),this[_0x499411(0x15e)]||(this[_0x499411(0x160)]=this[_0x499411(0x14c)](),this[_0x499411(0x140)]=this[_0x499411(0x144)](),this[_0x499411(0x13d)]=this[_0x499411(0x16b)](),this[_0x499411(0x13d)][_0x499411(0x143)]([this[_0x499411(0x160)],this[_0x499411(0x140)]]),this[_0x499411(0x1ad)]=this[_0x499411(0x19f)](),this[_0x499411(0x182)][_0x499411(0x195)](this[_0x499411(0x1ad)]),this[_0x499411(0x154)][_0x499411(0x195)](this[_0x499411(0x1ad)])),this[_0x499411(0x1ae)]=new _0x3fd0f5(_0x4d48a4,_0x391010[_0x499411(0x17b)],this[_0x499411(0x15b)]()),this[_0x499411(0x1ae)][_0x499411(0x1ab)]({'attributes':{'class':[_0x499411(0x171),_0x499411(0x174)],'aria-hidden':!0x0}}),this[_0x499411(0x142)](_0x391010,_0x499411(0x16d),()=>this[_0x499411(0x1a0)]()),this[_0x499411(0x16f)](this[_0x499411(0x17a)]());}[_0x1dfab0(0x17a)](){const _0x31fd3c=_0x1dfab0,_0x289ce9=this[_0x31fd3c(0x14e)],_0xfe00=[{'tag':_0x31fd3c(0x14d),'attributes':{'class':[_0x31fd3c(0x1aa),_0x31fd3c(0x1a9)]},'children':[{'tag':_0x31fd3c(0x1a6),'children':[{'text':this[_0x31fd3c(0x1ae)][_0x31fd3c(0x187)]}],'attributes':{'class':[_0x31fd3c(0x180),_0x31fd3c(0x169)],'data-cke-tooltip-text':this[_0x31fd3c(0x1ae)][_0x31fd3c(0x187)]}},{'tag':_0x31fd3c(0x163),'attributes':{'datetime':_0x289ce9['to'](_0x31fd3c(0x196)),'class':[_0x31fd3c(0x14f),_0x31fd3c(0x166)]},'children':[{'text':_0x289ce9['to'](_0x31fd3c(0x196),_0x1d93c5=>this[_0x31fd3c(0x18e)][_0x31fd3c(0x13e)](_0x1d93c5))}]}]},{'tag':_0x31fd3c(0x14d),'attributes':{'class':[_0x31fd3c(0x1a3),_0x31fd3c(0x13b),_0x289ce9['if'](_0x31fd3c(0x1b0),_0x31fd3c(0x18b)),_0x289ce9['if'](_0x31fd3c(0x1b0),_0x31fd3c(0x1a2))]},'children':this[_0x31fd3c(0x182)]},{'tag':_0x31fd3c(0x14d),'attributes':{'class':[_0x31fd3c(0x16e)]},'children':this[_0x31fd3c(0x1b2)]},this[_0x31fd3c(0x13f)]];return this[_0x31fd3c(0x141)][_0x31fd3c(0x167)]&&_0xfe00[_0x31fd3c(0x1af)]({'tag':_0x31fd3c(0x14d),'attributes':{'class':[_0x31fd3c(0x1b3)]},'children':[{'text':this[_0x31fd3c(0x19d)]()}]}),{'tag':'li','attributes':{'class':[_0x31fd3c(0x15c),_0x289ce9['if'](_0x31fd3c(0x15d),_0x31fd3c(0x17f))],'tabindex':-0x1,'aria-label':_0x289ce9['to'](_0x31fd3c(0x161)),'aria-describedby':this[_0x31fd3c(0x13f)]['id'],'role':_0x31fd3c(0x1b5)},'children':[{'tag':_0x31fd3c(0x14d),'attributes':{'class':[_0x31fd3c(0x148),_0x31fd3c(0x172),_0x289ce9['if'](_0x31fd3c(0x1b0),_0x31fd3c(0x16a)),_0x289ce9['if'](_0x31fd3c(0x15e),_0x31fd3c(0x18d)),_0x289ce9['to'](_0x31fd3c(0x188),_0x1f3ed6=>_0x1f3ed6?_0x31fd3c(0x179)+_0x1f3ed6:'')],'data-author-id':this[_0x31fd3c(0x141)][_0x31fd3c(0x17b)]['id'],'data-comment-id':this[_0x31fd3c(0x141)]['id'],'role':_0x31fd3c(0x1b1)},'children':[this[_0x31fd3c(0x1ae)],{'tag':_0x31fd3c(0x14d),'attributes':{'class':[_0x31fd3c(0x168),_0x31fd3c(0x15a)]},'children':_0xfe00}]}]};}[_0x1dfab0(0x14c)](){const _0x2cb10c=_0x1dfab0,_0x5f5ac9=new _0x5e028b(this[_0x2cb10c(0x19b)]);return _0x5f5ac9[_0x2cb10c(0x186)]=_0x293251(this[_0x2cb10c(0x19b)],_0x2cb10c(0x185)),_0x5f5ac9[_0x2cb10c(0x1a1)]=_0x22ccf8[_0x2cb10c(0x149)],_0x5f5ac9[_0x2cb10c(0x18a)]=!0x0,_0x5f5ac9[_0x2cb10c(0x1ab)]({'attributes':{'class':_0x2cb10c(0x16a)}}),_0x5f5ac9[_0x2cb10c(0x162)](_0x2cb10c(0x17d))['to'](this[_0x2cb10c(0x141)],_0x2cb10c(0x199),_0x152828=>!_0x152828),_0x5f5ac9[_0x2cb10c(0x162)](_0x2cb10c(0x184))['to'](this[_0x2cb10c(0x141)],_0x2cb10c(0x14b)),_0x5f5ac9['on'](_0x2cb10c(0x1a4),()=>this[_0x2cb10c(0x193)]()),_0x5f5ac9;}[_0x1dfab0(0x144)](){const _0x1f2adb=_0x1dfab0,_0x3d7a49=new _0x5e028b(this[_0x1f2adb(0x19b)]);return _0x3d7a49[_0x1f2adb(0x186)]=_0x293251(this[_0x1f2adb(0x19b)],_0x1f2adb(0x192)),_0x3d7a49[_0x1f2adb(0x1a1)]=_0x11d5c4,_0x3d7a49[_0x1f2adb(0x18a)]=!0x0,_0x3d7a49[_0x1f2adb(0x1ab)]({'attributes':{'class':_0x1f2adb(0x189)}}),_0x3d7a49[_0x1f2adb(0x162)](_0x1f2adb(0x17d))['to'](this[_0x1f2adb(0x141)],_0x1f2adb(0x199),_0x21d3b2=>!_0x21d3b2),_0x3d7a49[_0x1f2adb(0x162)](_0x1f2adb(0x184))['to'](this[_0x1f2adb(0x141)],_0x1f2adb(0x190)),_0x3d7a49['on'](_0x1f2adb(0x1a4),()=>{const _0x32a836=_0x1f2adb;this[_0x32a836(0x173)](_0x293251(this[_0x32a836(0x19b)],_0x32a836(0x150)),this[_0x32a836(0x155)])[_0x32a836(0x191)](()=>{const _0x12a9df=_0x32a836;this[_0x12a9df(0x194)](_0x12a9df(0x175),this[_0x12a9df(0x141)]['id']);});}),_0x3d7a49;}[_0x1dfab0(0x19f)](){const _0x4913ab=_0x1dfab0,_0x19b99e=_0x19b387(this[_0x4913ab(0x19b)],_0xd28be),_0x2e8123=_0x19b99e[_0x4913ab(0x159)][_0x4913ab(0x153)],_0x2cc005=new _0xb439b1(this[_0x4913ab(0x19b)]),_0x167fb4=_0x19b99e[_0x4913ab(0x14e)];_0x5e4f47(_0x19b99e,()=>this[_0x4913ab(0x13d)][_0x4913ab(0x145)](_0xff8108=>_0xff8108[_0x4913ab(0x184)])),_0x19b99e[_0x4913ab(0x1ab)]({'attributes':{'class':[_0x167fb4['if'](_0x4913ab(0x184),_0x4913ab(0x146),_0x3d0ec6=>!_0x3d0ec6)]}});const _0x6ff037=(_0x2c6cef,_0x519ae5=-0x1)=>{const _0x490b4e=_0x4913ab,_0x2e1be6=new _0xddd44b(this[_0x490b4e(0x19b)]);_0x2e1be6[_0x490b4e(0x153)][_0x490b4e(0x195)](_0x2c6cef);const _0x460c30=_0x519ae5>-0x1?_0x519ae5:_0x2cc005[_0x490b4e(0x13d)][_0x490b4e(0x13c)];_0x2cc005[_0x490b4e(0x13d)][_0x490b4e(0x195)](_0x2e1be6,_0x460c30);const _0x3263ba=Array[_0x490b4e(0x1ac)](this[_0x490b4e(0x13d)]);_0x19b99e[_0x490b4e(0x14a)](_0x490b4e(0x17d),_0x490b4e(0x184)),_0x19b99e[_0x490b4e(0x162)](_0x490b4e(0x17d))[_0x490b4e(0x170)](_0x3263ba,_0x490b4e(0x17d),(..._0x3e92e4)=>_0x3e92e4[_0x490b4e(0x18f)](_0x11bb71=>_0x11bb71)),_0x19b99e[_0x490b4e(0x162)](_0x490b4e(0x184))[_0x490b4e(0x170)](_0x3263ba,_0x490b4e(0x184),(..._0x3dfe4c)=>_0x3dfe4c[_0x490b4e(0x18f)](_0x4dd813=>_0x4dd813));};_0x19b99e[_0x4913ab(0x151)]='sw',_0x19b99e[_0x4913ab(0x19a)][_0x4913ab(0x147)]({'label':_0x293251(this[_0x4913ab(0x19b)],_0x4913ab(0x198)),'icon':_0x22ccf8[_0x4913ab(0x1a5)]});for(const _0x56e795 of this[_0x4913ab(0x13d)])_0x6ff037(_0x56e795);return _0x2e8123[_0x4913ab(0x195)](_0x2cc005),_0x19b99e[_0x4913ab(0x142)](this[_0x4913ab(0x13d)],_0x4913ab(0x195),(_0x567206,_0x5030c7,_0x564183)=>{_0x6ff037(_0x5030c7,_0x564183);}),_0x19b99e[_0x4913ab(0x142)](this[_0x4913ab(0x13d)],_0x4913ab(0x164),(_0x25d110,_0x16f5ea,_0x62e4b5)=>{const _0x16177=_0x4913ab;_0x2cc005[_0x16177(0x13d)][_0x16177(0x164)](_0x62e4b5);}),_0x19b99e;}[_0x1dfab0(0x1b4)](_0x55b847,_0x51e5a1){const _0x49efe6=_0x1dfab0,_0x109d2f=_0x55b847&&_0x55b847[_0x49efe6(0x155)];_0x109d2f&&(this[_0x49efe6(0x142)](_0x109d2f,_0x49efe6(0x1a7),()=>this[_0x49efe6(0x188)]=_0x51e5a1),this[_0x49efe6(0x142)](_0x109d2f,_0x49efe6(0x157),()=>this[_0x49efe6(0x188)]=_0x51e5a1),this[_0x49efe6(0x142)](_0x109d2f,_0x49efe6(0x15f),()=>this[_0x49efe6(0x188)]=null),this[_0x49efe6(0x142)](_0x109d2f,_0x49efe6(0x183),()=>this[_0x49efe6(0x188)]=null));}[_0x1dfab0(0x17c)](){const _0x2b3141=_0x1dfab0,_0x3b2eb9=super[_0x2b3141(0x17c)]();return _0x3b2eb9[_0x2b3141(0x162)](_0x2b3141(0x17e))['to'](this),_0x3b2eb9;}[_0x1dfab0(0x16c)](){const _0x56a198=_0x1dfab0;super[_0x56a198(0x16c)](),this[_0x56a198(0x1b4)](this[_0x56a198(0x160)],_0x56a198(0x176)),this[_0x56a198(0x1b4)](this[_0x56a198(0x140)],_0x56a198(0x164));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3597cf=_0x437c;(function(_0x355d23,_0x47cfd1){var _0x35f11e=_0x437c,_0x4551b3=_0x355d23();while(!![]){try{var _0x57a0d3=parseInt(_0x35f11e(0x1d2))/0x1*(parseInt(_0x35f11e(0x1d0))/0x2)+parseInt(_0x35f11e(0x1dd))/0x3+parseInt(_0x35f11e(0x1cf))/0x4*(-parseInt(_0x35f11e(0x1dc))/0x5)+parseInt(_0x35f11e(0x1d8))/0x6*(-parseInt(_0x35f11e(0x1df))/0x7)+-parseInt(_0x35f11e(0x1db))/0x8+parseInt(_0x35f11e(0x1d6))/0x9*(parseInt(_0x35f11e(0x1de))/0xa)+parseInt(_0x35f11e(0x1da))/0xb*(parseInt(_0x35f11e(0x1d7))/0xc);if(_0x57a0d3===_0x47cfd1)break;else _0x4551b3['push'](_0x4551b3['shift']());}catch(_0x31209a){_0x4551b3['push'](_0x4551b3['shift']());}}}(_0x16e5,0xc2b9b));import{Plugin as _0xa36c3c}from'ckeditor5/src/core.js';import _0x464894 from'./comments/commentsrepository.js';import _0x2f0b52 from'./comments/commentsediting.js';import _0x11308c from'./comments/commentsui.js';import _0x59f5c5 from'./commentsonly.js';import _0x39d8c7 from'./annotations/widesidebar.js';import _0x3c1351 from'./annotations/narrowsidebar.js';import _0x221729 from'./annotations/inlineannotations.js';import _0x50774a from'./comments/commentsarchiveui.js';function _0x16e5(){var _0x57fba5=['336420lXPSii','isPremiumPlugin','11mbFeGv','11035400ZOocNi','65vcJkwv','4009794lUqkPJ','30BDoEEn','154jQxQaA','407332yFTPRP','147836gxFNZo','requires','1qrkcsY','Comments','isOfficialPlugin','pluginName','4504905MIZvJQ','21866856uRIIaU'];_0x16e5=function(){return _0x57fba5;};return _0x16e5();}function _0x437c(_0x252d20,_0x758931){var _0x16e5b7=_0x16e5();return _0x437c=function(_0x437c91,_0x30d79c){_0x437c91=_0x437c91-0x1cf;var _0x414873=_0x16e5b7[_0x437c91];return _0x414873;},_0x437c(_0x252d20,_0x758931);}import _0x4b0668 from'./comments/commentsarchive.js';export default class p extends _0xa36c3c{static get[_0x3597cf(0x1d1)](){return[_0x464894,_0x2f0b52,_0x11308c,_0x4b0668,_0x50774a,_0x59f5c5,_0x39d8c7,_0x3c1351,_0x221729];}static get[_0x3597cf(0x1d5)](){var _0x49d43e=_0x3597cf;return _0x49d43e(0x1d3);}static get[_0x3597cf(0x1d4)](){return!0x0;}static get[_0x3597cf(0x1d9)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc49609=_0x5bca;(function(_0x4c12e9,_0x1eaa09){const _0x31b697=_0x5bca,_0x48ef61=_0x4c12e9();while(!![]){try{const _0x598600=parseInt(_0x31b697(0x14c))/0x1+-parseInt(_0x31b697(0x14a))/0x2*(parseInt(_0x31b697(0x158))/0x3)+parseInt(_0x31b697(0x145))/0x4+-parseInt(_0x31b697(0x153))/0x5+parseInt(_0x31b697(0x15b))/0x6+parseInt(_0x31b697(0x14f))/0x7+-parseInt(_0x31b697(0x15c))/0x8;if(_0x598600===_0x1eaa09)break;else _0x48ef61['push'](_0x48ef61['shift']());}catch(_0x274981){_0x48ef61['push'](_0x48ef61['shift']());}}}(_0x1b12,0x43d14));function _0x1b12(){const _0x409629=['change:isEnabled','set','editSource','document','affectsData','isEnabled','_enableCommentsOnlyMode','stop','pluginName','forceDisabled','editor','CommentsOnly','stopListening','listenTo','clipboardInput','view','1624440uMerfV','highest','requires','isOfficialPlugin','addCommentThread','2158othwbD','afterInit','379678tlbqNN','clearForceDisabled','commentsOnlyMode','526785HVZPot','cut','plugins','config','2752445wRYWJn','editing','get','commands','has','138iaGHTb','delete','isPremiumPlugin','1583136tSoRHQ','1975968NOoTcJ','DragDrop','commentsOnly','SourceEditing','_disableCommentsOnlyMode'];_0x1b12=function(){return _0x409629;};return _0x1b12();}import{Plugin as _0x370fe6}from'ckeditor5/src/core.js';import _0x19587c from'./comments/commentsediting.js';function _0x5bca(_0x53f94f,_0x2c1f75){const _0x1b12de=_0x1b12();return _0x5bca=function(_0x5bca0a,_0x3ffd21){_0x5bca0a=_0x5bca0a-0x13f;let _0x386307=_0x1b12de[_0x5bca0a];return _0x386307;},_0x5bca(_0x53f94f,_0x2c1f75);}export default class s extends _0x370fe6{static get[_0xc49609(0x169)](){const _0x494180=_0xc49609;return _0x494180(0x140);}static get[_0xc49609(0x148)](){return!0x0;}static get[_0xc49609(0x15a)](){return!0x0;}static get[_0xc49609(0x147)](){return[_0x19587c];}constructor(_0x473be9){const _0x22dcc8=_0xc49609;super(_0x473be9),this[_0x22dcc8(0x162)](_0x22dcc8(0x166),!0x1),this['on'](_0x22dcc8(0x161),(_0x38b4fa,_0x351548,_0x56e4ce)=>{const _0x4acd5c=_0x22dcc8;_0x56e4ce?this[_0x4acd5c(0x167)]():this[_0x4acd5c(0x160)]();});}[_0xc49609(0x14b)](){const _0x4aad0f=_0xc49609;!this[_0x4aad0f(0x166)]&&this[_0x4aad0f(0x13f)][_0x4aad0f(0x152)][_0x4aad0f(0x155)](_0x4aad0f(0x15e))&&(this[_0x4aad0f(0x166)]=!0x0);}[_0xc49609(0x167)](){const _0x1fd37b=_0xc49609;var _0x3b35e0;for(const [_0x1353d3,_0x10589f]of this[_0x1fd37b(0x13f)][_0x1fd37b(0x156)])_0x10589f[_0x1fd37b(0x165)]&&_0x1fd37b(0x149)!==_0x1353d3&&_0x10589f[_0x1fd37b(0x16a)](_0x1fd37b(0x14e));(this[_0x1fd37b(0x13f)][_0x1fd37b(0x151)][_0x1fd37b(0x157)](_0x1fd37b(0x15d))&&this[_0x1fd37b(0x13f)][_0x1fd37b(0x151)][_0x1fd37b(0x155)](_0x1fd37b(0x15d))[_0x1fd37b(0x16a)](_0x1fd37b(0x14e)),this[_0x1fd37b(0x13f)][_0x1fd37b(0x151)][_0x1fd37b(0x157)](_0x1fd37b(0x15f)))&&this[_0x1fd37b(0x13f)][_0x1fd37b(0x151)][_0x1fd37b(0x155)](_0x1fd37b(0x15f))[_0x1fd37b(0x16a)](_0x1fd37b(0x14e));null===(_0x3b35e0=this[_0x1fd37b(0x13f)][_0x1fd37b(0x156)][_0x1fd37b(0x155)](_0x1fd37b(0x163)))||void 0x0===_0x3b35e0||_0x3b35e0[_0x1fd37b(0x16a)](_0x1fd37b(0x14e));const _0xc7f7e5=this[_0x1fd37b(0x13f)][_0x1fd37b(0x154)][_0x1fd37b(0x144)][_0x1fd37b(0x164)];this[_0x1fd37b(0x142)](_0xc7f7e5,_0x1fd37b(0x150),_0x59bc00=>_0x59bc00[_0x1fd37b(0x168)](),{'priority':_0x1fd37b(0x146)}),this[_0x1fd37b(0x142)](_0xc7f7e5,_0x1fd37b(0x143),_0x4e409d=>_0x4e409d[_0x1fd37b(0x168)](),{'priority':_0x1fd37b(0x146)}),this[_0x1fd37b(0x142)](_0xc7f7e5,_0x1fd37b(0x159),_0x185652=>_0x185652[_0x1fd37b(0x168)](),{'priority':_0x1fd37b(0x146)});}[_0xc49609(0x160)](){const _0x4172a0=_0xc49609;var _0x3078dd;for(const [_0x3cfb92,_0x1b6419]of this[_0x4172a0(0x13f)][_0x4172a0(0x156)])_0x1b6419[_0x4172a0(0x165)]&&_0x4172a0(0x149)!==_0x3cfb92&&_0x1b6419[_0x4172a0(0x14d)](_0x4172a0(0x14e));this[_0x4172a0(0x13f)][_0x4172a0(0x151)][_0x4172a0(0x157)](_0x4172a0(0x15f))&&this[_0x4172a0(0x13f)][_0x4172a0(0x151)][_0x4172a0(0x155)](_0x4172a0(0x15f))[_0x4172a0(0x14d)](_0x4172a0(0x14e)),null===(_0x3078dd=this[_0x4172a0(0x13f)][_0x4172a0(0x156)][_0x4172a0(0x155)](_0x4172a0(0x163)))||void 0x0===_0x3078dd||_0x3078dd[_0x4172a0(0x14d)](_0x4172a0(0x14e)),this[_0x4172a0(0x141)](this[_0x4172a0(0x13f)][_0x4172a0(0x154)][_0x4172a0(0x144)][_0x4172a0(0x164)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x21b0e1,_0x211176){var _0x2443f1=_0x3b72,_0x42bf6e=_0x21b0e1();while(!![]){try{var _0x1734d0=-parseInt(_0x2443f1(0x1cb))/0x1*(parseInt(_0x2443f1(0x1cf))/0x2)+parseInt(_0x2443f1(0x1cd))/0x3+-parseInt(_0x2443f1(0x1d0))/0x4+-parseInt(_0x2443f1(0x1ce))/0x5+-parseInt(_0x2443f1(0x1d2))/0x6+-parseInt(_0x2443f1(0x1cc))/0x7+-parseInt(_0x2443f1(0x1ca))/0x8*(-parseInt(_0x2443f1(0x1d1))/0x9);if(_0x1734d0===_0x211176)break;else _0x42bf6e['push'](_0x42bf6e['shift']());}catch(_0x1cf4c0){_0x42bf6e['push'](_0x42bf6e['shift']());}}}(_0x2669,0xb03d1));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotation}from'./annotations/annotation.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationCollection}from'./annotations/annotationcollection.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';function _0x2669(){var _0x109dbd=['15372711zuHriu','1445772mKxeis','16frIytc','26279tRBnyJ','5258239kjQTtE','3519684upHaoH','6385805ZajCrw','90sHJaqS','1662632DmYqiU'];_0x2669=function(){return _0x109dbd;};return _0x2669();}export{default as WideSidebar}from'./annotations/widesidebar.js';function _0x3b72(_0x107fa3,_0x42afcb){var _0x266951=_0x2669();return _0x3b72=function(_0x3b72aa,_0x566804){_0x3b72aa=_0x3b72aa-0x1ca;var _0x4d74d5=_0x266951[_0x3b72aa];return _0x4d74d5;},_0x3b72(_0x107fa3,_0x42afcb);}export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{default as CommentsArchive}from'./comments/commentsarchive.js';export{default as CommentsArchiveUI}from'./comments/commentsarchiveui.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x2c8545,_0x4c364f,_0x44109a){const t=_0x2c8545['t'];switch(_0x4c364f){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'},_0x44109a);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'},_0x44109a);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'},_0x44109a);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'},_0x44109a);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x44109a);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'},_0x44109a);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'},_0x44109a);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'},_0x44109a);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(_0x1e7171,_0xe289f9){const _0x570418=_0x5cf6,_0x461529=_0x1e7171();while(!![]){try{const _0x28cbfa=-parseInt(_0x570418(0x143))/0x1*(parseInt(_0x570418(0x13d))/0x2)+parseInt(_0x570418(0x149))/0x3+parseInt(_0x570418(0x140))/0x4+parseInt(_0x570418(0x13b))/0x5*(parseInt(_0x570418(0x13e))/0x6)+parseInt(_0x570418(0x137))/0x7*(-parseInt(_0x570418(0x141))/0x8)+parseInt(_0x570418(0x13c))/0x9+parseInt(_0x570418(0x148))/0xa*(-parseInt(_0x570418(0x139))/0xb);if(_0x28cbfa===_0xe289f9)break;else _0x461529['push'](_0x461529['shift']());}catch(_0x28f3a1){_0x461529['push'](_0x461529['shift']());}}}(_0x1045,0x4e669));function _0x5cf6(_0x13ca35,_0x40f881){const _0x104515=_0x1045();return _0x5cf6=function(_0x5cf61a,_0xb2509a){_0x5cf61a=_0x5cf61a-0x137;let _0x5597d0=_0x104515[_0x5cf61a];return _0x5597d0;},_0x5cf6(_0x13ca35,_0x40f881);}import{throttle as _0x38892f}from'lodash-es';function _0x1045(){const _0x44318c=['656634pqxhqo','childList','1408728vEpGPp','1987784hrfDyS','attributes','552LODvfz','type','cancel','attributeName','observe','10YpAyKV','709281vkOVfz','class','14qWWaor','characterData','2129765jOTXsd','disconnect','25bylhdO','1098702ZxZQjp','892RsFfeS'];_0x1045=function(){return _0x44318c;};return _0x1045();}export default function Lt(_0x23588f){const _0x395f83=_0x38892f(_0x23588f,0x1e),_0x35d7c8=new MutationObserver(_0x2440e7=>{const _0x3099d8=_0x5cf6;for(const _0x4ae188 of _0x2440e7)(_0x3099d8(0x142)==_0x4ae188[_0x3099d8(0x144)]&&_0x3099d8(0x14a)==_0x4ae188[_0x3099d8(0x146)]||_0x3099d8(0x13f)==_0x4ae188[_0x3099d8(0x144)]||_0x3099d8(0x138)==_0x4ae188[_0x3099d8(0x144)])&&_0x395f83();});return{'attach'(_0x3458ca){const _0x4a302c=_0x5cf6;_0x35d7c8[_0x4a302c(0x147)](_0x3458ca,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x353d4c=_0x5cf6;_0x35d7c8[_0x353d4c(0x13a)](),_0x395f83[_0x353d4c(0x145)]();}};}
|