@ckeditor/ckeditor5-comments 47.6.0-alpha.8 → 47.6.0-alpha.9
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 _0x378d5b=_0x3397;(function(_0x29f1ca,_0x59d1be){const _0x1369c4=_0x3397,_0x191761=_0x29f1ca();while(!![]){try{const _0xc84ba=-parseInt(_0x1369c4(0x142))/0x1+-parseInt(_0x1369c4(0x140))/0x2+-parseInt(_0x1369c4(0x16e))/0x3*(parseInt(_0x1369c4(0x193))/0x4)+-parseInt(_0x1369c4(0x152))/0x5*(-parseInt(_0x1369c4(0x156))/0x6)+-parseInt(_0x1369c4(0x182))/0x7+parseInt(_0x1369c4(0x13c))/0x8*(parseInt(_0x1369c4(0x179))/0x9)+-parseInt(_0x1369c4(0x175))/0xa*(-parseInt(_0x1369c4(0x145))/0xb);if(_0xc84ba===_0x59d1be)break;else _0x191761['push'](_0x191761['shift']());}catch(_0xd50ff9){_0x191761['push'](_0x191761['shift']());}}}(_0x4392,0x2dffe));import{View as _0xf64763,FocusCycler as _0x556176}from'ckeditor5/src/ui.js';import{diff as _0x11e53f,Collection as _0x5a0d21,FocusTracker as _0xeb2c23,KeystrokeHandler as _0x1ef210}from'ckeditor5/src/utils.js';import{getTranslation as _0x27459d}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x595371}from'./collapsedcommentsview.js';function _0x4392(){const _0x27bab6=['_handleInfoComment','set','forEach','_updateHasDirtyComment','focus','removeComment','_model','68AjsgVA','reverse','render','hasDirtyComment','_config','weight','editorReady','maxCommentCharsWhenCollapsed','_shouldCollapse','viewUid','focusTracker','229144qLCMyR','authoredAt','bind','focusLast','132402jXKvnX','change:isResolved','132143rYLfvx','resolveCommentThread','ck-hidden','1367938XnnXwy','setTemplate','keystrokes','commentUpdated','resolvedCommentView','removed','change:isEditMode','arrowdown','_collapsedCommentsView','isEditMode','expand','get','resolvedBy','75cYEuGg','maxCommentsWhenCollapsed','listenTo','comments','100236RFKcPc','refreshVisibleViews','commentViews','target','maxThreadTotalWeight','_rearrangeExpand','editorConfig','element','focusFirst','from','_findOptimalIndex','stopListening','arrowup','visibleViews','_setupKeyboardNavigation','resolved','added','includes','isActive','createCollection','_rearrangeCollapse','map','ck-thread__comments','add','45249sLOeeF','collapse','change','delegate','change:hasDirtyComment','length','equal','40ySyuGz','_handleNewCommentModel','focusCycler','_calculatePosition','63BaNPBO','CommentView','remove','formatDateTime','updateComment','_handleRemoveCommentModel','some','delete','resolvedAt','2137478GoBrhd','locale','bindTemplate','Marked\x20as\x20resolved','count','destroy','change:isActive','Thread\x20comments','insert','editorDestroyed'];_0x4392=function(){return _0x27bab6;};return _0x4392();}function _0x3397(_0x498c53,_0x3aa519){const _0x43928c=_0x4392();return _0x3397=function(_0x33971b,_0x5a5cba){_0x33971b=_0x33971b-0x134;let _0x1bb862=_0x43928c[_0x33971b];return _0x1bb862;},_0x3397(_0x498c53,_0x3aa519);}export class CommentsListView extends _0xf64763{[_0x378d5b(0x158)];[_0x378d5b(0x149)];[_0x378d5b(0x13b)];[_0x378d5b(0x147)];[_0x378d5b(0x177)];[_0x378d5b(0x192)];[_0x378d5b(0x135)];[_0x378d5b(0x14d)];constructor(_0xb080a9,_0x2262bc,_0x281af9){const _0x270b2c=_0x378d5b;super(_0xb080a9);const _0xb5faf0=this[_0x270b2c(0x184)];this[_0x270b2c(0x18d)](_0x270b2c(0x134),!0x1),this[_0x270b2c(0x18d)](_0x270b2c(0x173),_0x2262bc[_0x270b2c(0x155)][_0x270b2c(0x173)]),this[_0x270b2c(0x18d)](_0x270b2c(0x168),!0x1),this[_0x270b2c(0x192)]=_0x2262bc,this[_0x270b2c(0x135)]=_0x281af9,this[_0x270b2c(0x158)]=this[_0x270b2c(0x169)](),this[_0x270b2c(0x163)]=this[_0x270b2c(0x169)](),this[_0x270b2c(0x149)]=null,this[_0x270b2c(0x13b)]=new _0xeb2c23(),this[_0x270b2c(0x147)]=new _0x1ef210(),this[_0x270b2c(0x177)]=new _0x556176({'focusables':this[_0x270b2c(0x158)],'focusTracker':this[_0x270b2c(0x13b)],'keystrokeHandler':this[_0x270b2c(0x147)],'keystrokeHandlerOptions':{'filter':_0x4bbdd4=>this[_0x270b2c(0x158)][_0x270b2c(0x16b)](_0x3ba45c=>_0x3ba45c[_0x270b2c(0x15d)])[_0x270b2c(0x167)](_0x4bbdd4[_0x270b2c(0x159)])},'actions':{'focusPrevious':_0x270b2c(0x162),'focusNext':_0x270b2c(0x14c)}}),this[_0x270b2c(0x14d)]=new _0x595371(_0xb080a9),this[_0x270b2c(0x14d)][_0x270b2c(0x13e)](_0x270b2c(0x186))['to'](this,_0x270b2c(0x173),_0xeecdf=>_0xeecdf-this[_0x270b2c(0x135)][_0x270b2c(0x153)]);for(const _0x4181e1 of _0x2262bc[_0x270b2c(0x155)])this[_0x270b2c(0x176)](_0x4181e1);this[_0x270b2c(0x18c)](),this[_0x270b2c(0x154)](_0x2262bc[_0x270b2c(0x155)],_0x270b2c(0x16d),(_0x5b109c,_0x11c3c7)=>{const _0x3154c1=_0x270b2c,_0x31b46d=this[_0x3154c1(0x178)](_0x11c3c7);this[_0x3154c1(0x173)]++,this[_0x3154c1(0x176)](_0x11c3c7,_0x31b46d),this[_0x3154c1(0x157)]();}),this[_0x270b2c(0x154)](_0x2262bc[_0x270b2c(0x155)],_0x270b2c(0x17b),(_0x3cf57f,_0x2ef722)=>{const _0x35bf3a=_0x270b2c;this[_0x35bf3a(0x173)]--,this[_0x35bf3a(0x17e)](_0x2ef722),this[_0x35bf3a(0x157)]();}),this[_0x270b2c(0x154)](_0x2262bc,_0x270b2c(0x148),()=>this[_0x270b2c(0x157)]()),this[_0x270b2c(0x154)](_0x2262bc,_0x270b2c(0x141),()=>this[_0x270b2c(0x18c)]()),this['on'](_0x270b2c(0x188),()=>this[_0x270b2c(0x157)]()),this['on'](_0x270b2c(0x172),()=>this[_0x270b2c(0x157)]()),this[_0x270b2c(0x146)]({'tag':'ul','attributes':{'class':[_0x270b2c(0x16c),_0xb5faf0['if'](_0x270b2c(0x173),_0x270b2c(0x144),_0x1207f8=>!_0x1207f8)],'aria-label':_0x27459d(_0xb080a9,_0x270b2c(0x189))},'children':this[_0x270b2c(0x163)]});}get[_0x378d5b(0x139)](){const _0x5eca11=_0x378d5b;return this[_0x5eca11(0x192)][_0x5eca11(0x136)]>this[_0x5eca11(0x135)][_0x5eca11(0x15a)]&&!this[_0x5eca11(0x168)]&&!this[_0x5eca11(0x134)];}[_0x378d5b(0x195)](){const _0x3962a7=_0x378d5b;super[_0x3962a7(0x195)](),this[_0x3962a7(0x157)](),this[_0x3962a7(0x164)]();}[_0x378d5b(0x190)](_0x1a2c29){const _0x249fb6=_0x378d5b;-0x1===_0x1a2c29?this[_0x249fb6(0x177)][_0x249fb6(0x13f)]():this[_0x249fb6(0x177)][_0x249fb6(0x15e)]();}[_0x378d5b(0x187)](){const _0x60d49a=_0x378d5b;this[_0x60d49a(0x14d)][_0x60d49a(0x187)]();for(const _0xc743a2 of this[_0x60d49a(0x158)])_0xc743a2[_0x60d49a(0x187)]();super[_0x60d49a(0x187)]();}[_0x378d5b(0x157)](){const _0x58a49e=_0x378d5b;this[_0x58a49e(0x139)]?this[_0x58a49e(0x16a)]():this[_0x58a49e(0x15b)]();}[_0x378d5b(0x176)](_0x509793,_0x55f1ec){const _0x2b8932=_0x378d5b,_0x2bfaef=new this[(_0x2b8932(0x135))][(_0x2b8932(0x17a))](this[_0x2b8932(0x183)],_0x509793,{'maxCommentCharsWhenCollapsed':this[_0x2b8932(0x135)][_0x2b8932(0x138)],'formatDateTime':this[_0x2b8932(0x135)][_0x2b8932(0x17c)],'editorConfig':this[_0x2b8932(0x135)][_0x2b8932(0x15c)]});_0x2bfaef[_0x2b8932(0x13a)]=_0x509793['id'],_0x2bfaef[_0x2b8932(0x171)](_0x2b8932(0x191))['to'](this),_0x2bfaef[_0x2b8932(0x171)](_0x2b8932(0x17d))['to'](this),_0x2bfaef[_0x2b8932(0x171)](_0x2b8932(0x143))['to'](this),_0x2bfaef[_0x2b8932(0x171)](_0x2b8932(0x137))['to'](this),_0x2bfaef[_0x2b8932(0x171)](_0x2b8932(0x18b))['to'](this),this[_0x2b8932(0x154)](_0x2bfaef,_0x2b8932(0x14b),()=>this[_0x2b8932(0x18f)]()),this[_0x2b8932(0x158)][_0x2b8932(0x16d)](_0x2bfaef,_0x55f1ec);}[_0x378d5b(0x178)](_0x114ae4){const _0x680a39=_0x378d5b,_0x5f04c3=this[_0x680a39(0x192)][_0x680a39(0x160)](_0x114ae4);return this[_0x680a39(0x149)]?this[_0x680a39(0x149)][_0x680a39(0x13d)]>_0x114ae4[_0x680a39(0x13d)]?_0x5f04c3-0x1:_0x5f04c3:_0x5f04c3-0x1;}[_0x378d5b(0x18c)](){const _0x2c7324=_0x378d5b;if(this[_0x2c7324(0x192)][_0x2c7324(0x151)]&&this[_0x2c7324(0x192)][_0x2c7324(0x181)]){const _0x1f6ecf={'id':_0x2c7324(0x165),'author':this[_0x2c7324(0x192)][_0x2c7324(0x151)],'authoredAt':this[_0x2c7324(0x192)][_0x2c7324(0x181)],'content':_0x27459d(this[_0x2c7324(0x183)],_0x2c7324(0x185)),'attributes':{}};this[_0x2c7324(0x149)]=new this[(_0x2c7324(0x135))][(_0x2c7324(0x17a))](this[_0x2c7324(0x183)],_0x1f6ecf,{'maxCommentCharsWhenCollapsed':this[_0x2c7324(0x135)][_0x2c7324(0x138)],'formatDateTime':this[_0x2c7324(0x135)][_0x2c7324(0x17c)],'editorConfig':this[_0x2c7324(0x135)][_0x2c7324(0x15c)],'isSystemComment':!0x0}),this[_0x2c7324(0x158)][_0x2c7324(0x16d)](this[_0x2c7324(0x149)],this[_0x2c7324(0x192)][_0x2c7324(0x160)](_0x1f6ecf));}else this[_0x2c7324(0x149)]&&(this[_0x2c7324(0x158)][_0x2c7324(0x17b)](this[_0x2c7324(0x149)]),this[_0x2c7324(0x149)][_0x2c7324(0x187)](),this[_0x2c7324(0x149)]=null);this[_0x2c7324(0x157)]();}[_0x378d5b(0x17e)](_0x22fa75){const _0x5ba63f=_0x378d5b,_0x4f6f05=this[_0x5ba63f(0x158)][_0x5ba63f(0x17b)](_0x22fa75['id']);this[_0x5ba63f(0x161)](_0x4f6f05),_0x4f6f05[_0x5ba63f(0x14e)]&&this[_0x5ba63f(0x18f)](),_0x4f6f05[_0x5ba63f(0x187)]();}[_0x378d5b(0x18f)](){const _0x307bf9=_0x378d5b;this[_0x307bf9(0x134)]=Array[_0x307bf9(0x15f)](this[_0x307bf9(0x158)])[_0x307bf9(0x17f)](_0x452f70=>_0x452f70[_0x307bf9(0x14e)]);}[_0x378d5b(0x16a)](){const _0x468261=_0x378d5b,_0x514bbc=function(_0x1bb4e){const _0x1645aa=_0x3397,_0x4ff3e9=new _0x5a0d21();for(const _0xf0ed3e of _0x1bb4e)_0x4ff3e9[_0x1645aa(0x16d)](_0xf0ed3e);return _0x4ff3e9;}(this[_0x468261(0x158)]),_0x41b7a3=this[_0x468261(0x14d)][_0x468261(0x186)];for(let _0x3369c6=0x1;_0x3369c6<=_0x41b7a3;_0x3369c6++)_0x514bbc[_0x468261(0x17b)](0x1);for(const _0x104867 of _0x514bbc)_0x104867[_0x468261(0x16f)]();_0x41b7a3>0x0&&_0x514bbc[_0x468261(0x16d)](this[_0x468261(0x14d)],0x1),ns(_0x11e53f(Array[_0x468261(0x15f)](this[_0x468261(0x163)]),Array[_0x468261(0x15f)](_0x514bbc)),this[_0x468261(0x163)],_0x514bbc);}[_0x378d5b(0x15b)](){const _0x42813b=_0x378d5b;ns(_0x11e53f(Array[_0x42813b(0x15f)](this[_0x42813b(0x163)]),Array[_0x42813b(0x15f)](this[_0x42813b(0x158)])),this[_0x42813b(0x163)],this[_0x42813b(0x158)]);for(const _0x3ae8da of this[_0x42813b(0x163)])_0x3ae8da[_0x42813b(0x14f)]();}[_0x378d5b(0x164)](){const _0x33406b=_0x378d5b;this[_0x33406b(0x158)][_0x33406b(0x18e)](_0x2b1fe5=>{const _0x3e29b6=_0x33406b;this[_0x3e29b6(0x13b)][_0x3e29b6(0x16d)](_0x2b1fe5[_0x3e29b6(0x15d)]),this[_0x3e29b6(0x147)][_0x3e29b6(0x154)](_0x2b1fe5[_0x3e29b6(0x15d)]);}),this[_0x33406b(0x158)]['on'](_0x33406b(0x170),(_0x3f2967,_0x55abb6)=>{const _0x1c52b7=_0x33406b;for(const _0x1b7346 of _0x55abb6[_0x1c52b7(0x14a)])this[_0x1c52b7(0x13b)][_0x1c52b7(0x17b)](_0x1b7346[_0x1c52b7(0x15d)]),this[_0x1c52b7(0x147)][_0x1c52b7(0x161)](_0x1b7346[_0x1c52b7(0x15d)]);for(const _0xf14e7 of Array[_0x1c52b7(0x15f)](_0x55abb6[_0x1c52b7(0x166)])[_0x1c52b7(0x194)]())this[_0x1c52b7(0x13b)][_0x1c52b7(0x16d)](_0xf14e7[_0x1c52b7(0x15d)]),this[_0x1c52b7(0x147)][_0x1c52b7(0x154)](_0xf14e7[_0x1c52b7(0x15d)]);});}}function ns(_0x428d57,_0x5a8b91,_0x44d184){const _0x2fb607=_0x378d5b;let _0x234a6e=0x0;for(const _0x55500c of _0x428d57)switch(_0x55500c){case _0x2fb607(0x18a):_0x5a8b91[_0x2fb607(0x16d)](_0x44d184[_0x2fb607(0x150)](_0x234a6e),_0x234a6e),_0x234a6e++;break;case _0x2fb607(0x180):_0x5a8b91[_0x2fb607(0x17b)](_0x234a6e);break;case _0x2fb607(0x174):_0x234a6e++;}}
|
|
23
|
+
const _0x4d4ad6=_0x2d83;function _0x4d7f(){const _0x36dfc8=['element','resolved','count','reverse','setTemplate','_findOptimalIndex','1279960RwaDFU','resolveCommentThread','_rearrangeCollapse','ck-hidden','arrowdown','21NMlVAp','_handleRemoveCommentModel','2921769jHOGQH','130xfodpb','focusFirst','removed','change:isResolved','refreshVisibleViews','get','destroy','resolvedBy','change:hasDirtyComment','editorDestroyed','arrowup','_handleNewCommentModel','753ndqajw','commentUpdated','createCollection','from','224730CxcRfU','resolvedAt','1000076gbStnP','keystrokes','bind','expand','some','_model','add','focusTracker','visibleViews','_updateHasDirtyComment','authoredAt','insert','commentViews','set','resolvedCommentView','added','_shouldCollapse','collapse','_rearrangeExpand','change:isEditMode','_handleInfoComment','isActive','stopListening','equal','Thread\x20comments','maxCommentsWhenCollapsed','_config','locale','editorReady','editorConfig','isEditMode','change','bindTemplate','remove','render','includes','delete','_calculatePosition','ck-thread__comments','length','removeComment','100lhGGHh','focusLast','26948hMAeVf','hasDirtyComment','maxThreadTotalWeight','focus','weight','listenTo','change:isActive','_setupKeyboardNavigation','delegate','123654dUWYgd','comments','_collapsedCommentsView','focusCycler','forEach','viewUid','Marked\x20as\x20resolved','CommentView','updateComment','map','target','796ZBKnQQ','maxCommentCharsWhenCollapsed','formatDateTime'];_0x4d7f=function(){return _0x36dfc8;};return _0x4d7f();}function _0x2d83(_0x264141,_0x379c35){const _0x4d7fca=_0x4d7f();return _0x2d83=function(_0x2d834b,_0x2afd4a){_0x2d834b=_0x2d834b-0x189;let _0x32c47f=_0x4d7fca[_0x2d834b];return _0x32c47f;},_0x2d83(_0x264141,_0x379c35);}(function(_0x3bec66,_0x249b71){const _0x169881=_0x2d83,_0x55acee=_0x3bec66();while(!![]){try{const _0x86aa98=-parseInt(_0x169881(0x1a3))/0x1+-parseInt(_0x169881(0x1e4))/0x2*(parseInt(_0x169881(0x19f))/0x3)+-parseInt(_0x169881(0x1d0))/0x4*(-parseInt(_0x169881(0x193))/0x5)+parseInt(_0x169881(0x1d9))/0x6*(parseInt(_0x169881(0x190))/0x7)+parseInt(_0x169881(0x18b))/0x8+-parseInt(_0x169881(0x192))/0x9+-parseInt(_0x169881(0x1ce))/0xa*(-parseInt(_0x169881(0x1a5))/0xb);if(_0x86aa98===_0x249b71)break;else _0x55acee['push'](_0x55acee['shift']());}catch(_0x14d708){_0x55acee['push'](_0x55acee['shift']());}}}(_0x4d7f,0xa05eb));import{View as _0x510f19,FocusCycler as _0x3a068c}from'ckeditor5/src/ui.js';import{diff as _0x1eb1fd,Collection as _0x4c4270,FocusTracker as _0x105b53,KeystrokeHandler as _0x39c687}from'ckeditor5/src/utils.js';import{getTranslation as _0x20b361}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x42158f}from'./collapsedcommentsview.js';export class CommentsListView extends _0x510f19{[_0x4d4ad6(0x1b1)];[_0x4d4ad6(0x1b3)];[_0x4d4ad6(0x1ac)];[_0x4d4ad6(0x1a6)];[_0x4d4ad6(0x1dc)];[_0x4d4ad6(0x1aa)];[_0x4d4ad6(0x1bf)];[_0x4d4ad6(0x1db)];constructor(_0x11ddcd,_0x2bc967,_0x3ca694){const _0x2453f8=_0x4d4ad6;super(_0x11ddcd);const _0x1c9c3b=this[_0x2453f8(0x1c5)];this[_0x2453f8(0x1b2)](_0x2453f8(0x1d1),!0x1),this[_0x2453f8(0x1b2)](_0x2453f8(0x1cc),_0x2bc967[_0x2453f8(0x1da)][_0x2453f8(0x1cc)]),this[_0x2453f8(0x1b2)](_0x2453f8(0x1ba),!0x1),this[_0x2453f8(0x1aa)]=_0x2bc967,this[_0x2453f8(0x1bf)]=_0x3ca694,this[_0x2453f8(0x1b1)]=this[_0x2453f8(0x1a1)](),this[_0x2453f8(0x1ad)]=this[_0x2453f8(0x1a1)](),this[_0x2453f8(0x1b3)]=null,this[_0x2453f8(0x1ac)]=new _0x105b53(),this[_0x2453f8(0x1a6)]=new _0x39c687(),this[_0x2453f8(0x1dc)]=new _0x3a068c({'focusables':this[_0x2453f8(0x1b1)],'focusTracker':this[_0x2453f8(0x1ac)],'keystrokeHandler':this[_0x2453f8(0x1a6)],'keystrokeHandlerOptions':{'filter':_0x58e7c5=>this[_0x2453f8(0x1b1)][_0x2453f8(0x1e2)](_0x21eb5c=>_0x21eb5c[_0x2453f8(0x1e7)])[_0x2453f8(0x1c8)](_0x58e7c5[_0x2453f8(0x1e3)])},'actions':{'focusPrevious':_0x2453f8(0x19d),'focusNext':_0x2453f8(0x18f)}}),this[_0x2453f8(0x1db)]=new _0x42158f(_0x11ddcd),this[_0x2453f8(0x1db)][_0x2453f8(0x1a7)](_0x2453f8(0x1e9))['to'](this,_0x2453f8(0x1cc),_0x454ae9=>_0x454ae9-this[_0x2453f8(0x1bf)][_0x2453f8(0x1be)]);for(const _0xae21cb of _0x2bc967[_0x2453f8(0x1da)])this[_0x2453f8(0x19e)](_0xae21cb);this[_0x2453f8(0x1b9)](),this[_0x2453f8(0x1d5)](_0x2bc967[_0x2453f8(0x1da)],_0x2453f8(0x1ab),(_0x479640,_0x2a7aa6)=>{const _0x1e8895=_0x2453f8,_0x39b945=this[_0x1e8895(0x1ca)](_0x2a7aa6);this[_0x1e8895(0x1cc)]++,this[_0x1e8895(0x19e)](_0x2a7aa6,_0x39b945),this[_0x1e8895(0x197)]();}),this[_0x2453f8(0x1d5)](_0x2bc967[_0x2453f8(0x1da)],_0x2453f8(0x1c6),(_0x11e4c0,_0x3f94aa)=>{const _0x49b0d6=_0x2453f8;this[_0x49b0d6(0x1cc)]--,this[_0x49b0d6(0x191)](_0x3f94aa),this[_0x49b0d6(0x197)]();}),this[_0x2453f8(0x1d5)](_0x2bc967,_0x2453f8(0x1a0),()=>this[_0x2453f8(0x197)]()),this[_0x2453f8(0x1d5)](_0x2bc967,_0x2453f8(0x196),()=>this[_0x2453f8(0x1b9)]()),this['on'](_0x2453f8(0x1d6),()=>this[_0x2453f8(0x197)]()),this['on'](_0x2453f8(0x19b),()=>this[_0x2453f8(0x197)]()),this[_0x2453f8(0x189)]({'tag':'ul','attributes':{'class':[_0x2453f8(0x1cb),_0x1c9c3b['if'](_0x2453f8(0x1cc),_0x2453f8(0x18e),_0x1f5e0f=>!_0x1f5e0f)],'aria-label':_0x20b361(_0x11ddcd,_0x2453f8(0x1bd))},'children':this[_0x2453f8(0x1ad)]});}get[_0x4d4ad6(0x1b5)](){const _0x25af33=_0x4d4ad6;return this[_0x25af33(0x1aa)][_0x25af33(0x1d4)]>this[_0x25af33(0x1bf)][_0x25af33(0x1d2)]&&!this[_0x25af33(0x1ba)]&&!this[_0x25af33(0x1d1)];}[_0x4d4ad6(0x1c7)](){const _0x2a82e8=_0x4d4ad6;super[_0x2a82e8(0x1c7)](),this[_0x2a82e8(0x197)](),this[_0x2a82e8(0x1d7)]();}[_0x4d4ad6(0x1d3)](_0x101cd1){const _0x11e590=_0x4d4ad6;-0x1===_0x101cd1?this[_0x11e590(0x1dc)][_0x11e590(0x1cf)]():this[_0x11e590(0x1dc)][_0x11e590(0x194)]();}[_0x4d4ad6(0x199)](){const _0x27162f=_0x4d4ad6;this[_0x27162f(0x1db)][_0x27162f(0x199)]();for(const _0x42b4a4 of this[_0x27162f(0x1b1)])_0x42b4a4[_0x27162f(0x199)]();super[_0x27162f(0x199)]();}[_0x4d4ad6(0x197)](){const _0x2c4f4d=_0x4d4ad6;this[_0x2c4f4d(0x1b5)]?this[_0x2c4f4d(0x18d)]():this[_0x2c4f4d(0x1b7)]();}[_0x4d4ad6(0x19e)](_0x16f182,_0x44ae6a){const _0x4fecf7=_0x4d4ad6,_0x264106=new this[(_0x4fecf7(0x1bf))][(_0x4fecf7(0x1e0))](this[_0x4fecf7(0x1c0)],_0x16f182,{'maxCommentCharsWhenCollapsed':this[_0x4fecf7(0x1bf)][_0x4fecf7(0x1e5)],'formatDateTime':this[_0x4fecf7(0x1bf)][_0x4fecf7(0x1e6)],'editorConfig':this[_0x4fecf7(0x1bf)][_0x4fecf7(0x1c2)]});_0x264106[_0x4fecf7(0x1de)]=_0x16f182['id'],_0x264106[_0x4fecf7(0x1d8)](_0x4fecf7(0x1cd))['to'](this),_0x264106[_0x4fecf7(0x1d8)](_0x4fecf7(0x1e1))['to'](this),_0x264106[_0x4fecf7(0x1d8)](_0x4fecf7(0x18c))['to'](this),_0x264106[_0x4fecf7(0x1d8)](_0x4fecf7(0x1c1))['to'](this),_0x264106[_0x4fecf7(0x1d8)](_0x4fecf7(0x19c))['to'](this),this[_0x4fecf7(0x1d5)](_0x264106,_0x4fecf7(0x1b8),()=>this[_0x4fecf7(0x1ae)]()),this[_0x4fecf7(0x1b1)][_0x4fecf7(0x1ab)](_0x264106,_0x44ae6a);}[_0x4d4ad6(0x1ca)](_0x1a586c){const _0x51ac54=_0x4d4ad6,_0x480fb2=this[_0x51ac54(0x1aa)][_0x51ac54(0x18a)](_0x1a586c);return this[_0x51ac54(0x1b3)]?this[_0x51ac54(0x1b3)][_0x51ac54(0x1af)]>_0x1a586c[_0x51ac54(0x1af)]?_0x480fb2-0x1:_0x480fb2:_0x480fb2-0x1;}[_0x4d4ad6(0x1b9)](){const _0x286632=_0x4d4ad6;if(this[_0x286632(0x1aa)][_0x286632(0x19a)]&&this[_0x286632(0x1aa)][_0x286632(0x1a4)]){const _0xaaec94={'id':_0x286632(0x1e8),'author':this[_0x286632(0x1aa)][_0x286632(0x19a)],'authoredAt':this[_0x286632(0x1aa)][_0x286632(0x1a4)],'content':_0x20b361(this[_0x286632(0x1c0)],_0x286632(0x1df)),'attributes':{}};this[_0x286632(0x1b3)]=new this[(_0x286632(0x1bf))][(_0x286632(0x1e0))](this[_0x286632(0x1c0)],_0xaaec94,{'maxCommentCharsWhenCollapsed':this[_0x286632(0x1bf)][_0x286632(0x1e5)],'formatDateTime':this[_0x286632(0x1bf)][_0x286632(0x1e6)],'editorConfig':this[_0x286632(0x1bf)][_0x286632(0x1c2)],'isSystemComment':!0x0}),this[_0x286632(0x1b1)][_0x286632(0x1ab)](this[_0x286632(0x1b3)],this[_0x286632(0x1aa)][_0x286632(0x18a)](_0xaaec94));}else this[_0x286632(0x1b3)]&&(this[_0x286632(0x1b1)][_0x286632(0x1c6)](this[_0x286632(0x1b3)]),this[_0x286632(0x1b3)][_0x286632(0x199)](),this[_0x286632(0x1b3)]=null);this[_0x286632(0x197)]();}[_0x4d4ad6(0x191)](_0x2e421d){const _0x392e49=_0x4d4ad6,_0x588b27=this[_0x392e49(0x1b1)][_0x392e49(0x1c6)](_0x2e421d['id']);this[_0x392e49(0x1bb)](_0x588b27),_0x588b27[_0x392e49(0x1c3)]&&this[_0x392e49(0x1ae)](),_0x588b27[_0x392e49(0x199)]();}[_0x4d4ad6(0x1ae)](){const _0x36b17a=_0x4d4ad6;this[_0x36b17a(0x1d1)]=Array[_0x36b17a(0x1a2)](this[_0x36b17a(0x1b1)])[_0x36b17a(0x1a9)](_0x5bdd6a=>_0x5bdd6a[_0x36b17a(0x1c3)]);}[_0x4d4ad6(0x18d)](){const _0x5d65a=_0x4d4ad6,_0x200998=function(_0x36b4fb){const _0x4f8dad=_0x2d83,_0x4d88a5=new _0x4c4270();for(const _0x4ffdbf of _0x36b4fb)_0x4d88a5[_0x4f8dad(0x1ab)](_0x4ffdbf);return _0x4d88a5;}(this[_0x5d65a(0x1b1)]),_0x30eff3=this[_0x5d65a(0x1db)][_0x5d65a(0x1e9)];for(let _0x5e58ed=0x1;_0x5e58ed<=_0x30eff3;_0x5e58ed++)_0x200998[_0x5d65a(0x1c6)](0x1);for(const _0xa0b1f of _0x200998)_0xa0b1f[_0x5d65a(0x1b6)]();_0x30eff3>0x0&&_0x200998[_0x5d65a(0x1ab)](this[_0x5d65a(0x1db)],0x1),ns(_0x1eb1fd(Array[_0x5d65a(0x1a2)](this[_0x5d65a(0x1ad)]),Array[_0x5d65a(0x1a2)](_0x200998)),this[_0x5d65a(0x1ad)],_0x200998);}[_0x4d4ad6(0x1b7)](){const _0x1309b3=_0x4d4ad6;ns(_0x1eb1fd(Array[_0x1309b3(0x1a2)](this[_0x1309b3(0x1ad)]),Array[_0x1309b3(0x1a2)](this[_0x1309b3(0x1b1)])),this[_0x1309b3(0x1ad)],this[_0x1309b3(0x1b1)]);for(const _0x53752 of this[_0x1309b3(0x1ad)])_0x53752[_0x1309b3(0x1a8)]();}[_0x4d4ad6(0x1d7)](){const _0x36d7f3=_0x4d4ad6;this[_0x36d7f3(0x1b1)][_0x36d7f3(0x1dd)](_0x41fcc1=>{const _0x457232=_0x36d7f3;this[_0x457232(0x1ac)][_0x457232(0x1ab)](_0x41fcc1[_0x457232(0x1e7)]),this[_0x457232(0x1a6)][_0x457232(0x1d5)](_0x41fcc1[_0x457232(0x1e7)]);}),this[_0x36d7f3(0x1b1)]['on'](_0x36d7f3(0x1c4),(_0x3a9218,_0x59a41c)=>{const _0x34b113=_0x36d7f3;for(const _0x459397 of _0x59a41c[_0x34b113(0x195)])this[_0x34b113(0x1ac)][_0x34b113(0x1c6)](_0x459397[_0x34b113(0x1e7)]),this[_0x34b113(0x1a6)][_0x34b113(0x1bb)](_0x459397[_0x34b113(0x1e7)]);for(const _0x1243b1 of Array[_0x34b113(0x1a2)](_0x59a41c[_0x34b113(0x1b4)])[_0x34b113(0x1ea)]())this[_0x34b113(0x1ac)][_0x34b113(0x1ab)](_0x1243b1[_0x34b113(0x1e7)]),this[_0x34b113(0x1a6)][_0x34b113(0x1d5)](_0x1243b1[_0x34b113(0x1e7)]);});}}function ns(_0xce9440,_0x596d07,_0xfc8a56){const _0x478b7b=_0x4d4ad6;let _0x432e34=0x0;for(const _0x30b825 of _0xce9440)switch(_0x30b825){case _0x478b7b(0x1b0):_0x596d07[_0x478b7b(0x1ab)](_0xfc8a56[_0x478b7b(0x198)](_0x432e34),_0x432e34),_0x432e34++;break;case _0x478b7b(0x1c9):_0x596d07[_0x478b7b(0x1c6)](_0x432e34);break;case _0x478b7b(0x1bc):_0x432e34++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48e903=_0x4600;(function(_0xab7f2a,_0x51a8bf){const _0x31ccc5=_0x4600,_0x49f2fe=_0xab7f2a();while(!![]){try{const _0x15a744=-parseInt(_0x31ccc5(0x191))/0x1+-parseInt(_0x31ccc5(0x18f))/0x2+parseInt(_0x31ccc5(0x192))/0x3*(parseInt(_0x31ccc5(0x19d))/0x4)+-parseInt(_0x31ccc5(0x19c))/0x5*(parseInt(_0x31ccc5(0x195))/0x6)+parseInt(_0x31ccc5(0x198))/0x7*(-parseInt(_0x31ccc5(0x18b))/0x8)+parseInt(_0x31ccc5(0x19b))/0x9+parseInt(_0x31ccc5(0x18e))/0xa*(parseInt(_0x31ccc5(0x196))/0xb);if(_0x15a744===_0x51a8bf)break;else _0x49f2fe['push'](_0x49f2fe['shift']());}catch(_0x300976){_0x49f2fe['push'](_0x49f2fe['shift']());}}}(_0x5e39,0x2ba0f));import{View as _0x48cf17}from'ckeditor5/src/ui.js';import{getTranslation as _0x4f72fd}from'../../../utils/common-translations.js';function _0x4600(_0x3edbee,_0x4d22f3){const _0x5e39b5=_0x5e39();return _0x4600=function(_0x46001b,_0x4d1f3e){_0x46001b=_0x46001b-0x18b;let _0x2ac51a=_0x5e39b5[_0x46001b];return _0x2ac51a;},_0x4600(_0x3edbee,_0x4d22f3);}export class CommentThreadHeaderContextView extends _0x48cf17{constructor(_0x5f3e5a){const _0x4e9879=_0x4600;super(_0x5f3e5a);const _0x340eec=this[_0x4e9879(0x194)];this[_0x4e9879(0x18d)](_0x4e9879(0x19a),''),this[_0x4e9879(0x18c)]({'tag':_0x4e9879(0x199),'attributes':{'class':['ck',_0x4e9879(0x19e)],'aria-label':_0x340eec['to'](_0x4e9879(0x19a),_0x1beaf2=>_0x4f72fd(_0x5f3e5a,_0x4e9879(0x197),_0x1beaf2)),'tabindex':-0x1},'children':[{'text':_0x340eec['to'](_0x4e9879(0x19a))}]});}[_0x48e903(0x193)](){const _0x1557f9=_0x48e903;this[_0x1557f9(0x190)][_0x1557f9(0x193)]();}}function _0x5e39(){const _0x45b2bf=['179373FGUclG','focus','bindTemplate','6iTbyik','11WPwYpt','THREAD_CONTEXT_LABEL','7jjNOaK','span','contextValue','2663235WMlKWk','918455BlWGkZ','12Azuaqp','ck-context__value','2547192fmynqb','setTemplate','set','2747740DvcVfZ','109354QjRfdi','element','14592jPYbwd'];_0x5e39=function(){return _0x45b2bf;};return _0x5e39();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1422b2=_0x2b9e;(function(_0x31e95d,_0x5b9946){const _0x2c4fd2=_0x2b9e,_0x22c24e=_0x31e95d();while(!![]){try{const _0x303d8e=-parseInt(_0x2c4fd2(0x1bb))/0x1+-parseInt(_0x2c4fd2(0x1b2))/0x2+-parseInt(_0x2c4fd2(0x1be))/0x3+parseInt(_0x2c4fd2(0x1f0))/0x4+-parseInt(_0x2c4fd2(0x1e7))/0x5+-parseInt(_0x2c4fd2(0x1db))/0x6*(-parseInt(_0x2c4fd2(0x1b6))/0x7)+parseInt(_0x2c4fd2(0x1d2))/0x8;if(_0x303d8e===_0x5b9946)break;else _0x22c24e['push'](_0x22c24e['shift']());}catch(_0x38709e){_0x22c24e['push'](_0x22c24e['shift']());}}}(_0x3efc,0x52e5a));import{View as _0x543ce7,ButtonView as _0x986f5a,FocusCycler as _0xd84c1}from'ckeditor5/src/ui.js';function _0x2b9e(_0xb85462,_0x27485f){const _0x3efc9b=_0x3efc();return _0x2b9e=function(_0x2b9ed5,_0x2ca044){_0x2b9ed5=_0x2b9ed5-0x1b1;let _0x3d30dc=_0x3efc9b[_0x2b9ed5];return _0x3d30dc;},_0x2b9e(_0xb85462,_0x27485f);}import{FocusTracker as _0x47568b,KeystrokeHandler as _0x3d83ef}from'ckeditor5/src/utils.js';import{IconUndo as _0x4338d4}from'ckeditor5/src/icons.js';import{getTranslation as _0x434938}from'../../../utils/common-translations.js';function _0x3efc(){const _0x10d5a4=['582595DsNxEJ','createCollection','locale','ck-annotation__actions','_model','focusCycler','isResolved','...','ck-thread__header','223504bOTyRD','setTemplate','_attachContextActions','reopenButtonView','.ck-context__value','shift+tab','isReadOnly','scrollWidth','1263420lGpSpn','_createReopenButton','listenTo','_trimContextValue','7gTLwDM','substring','fire','hasContext','Reopen','276649gizaqF','focus','focusables','773286QbZtlL','isVisible','context','bindTemplate','mouseleave','ck-context--quotes','label','_createContextView','bind','tab','value','focusFirst','querySelector','element','focusTracker','isResolvable','tooltip','add','mouseenter','remove','8411896nwDuQy','offsetWidth','contextView','ck-context-wrapper','isEnabled','ck-context','div','keystrokes','classList','3088938KjORkb','icon','Comment\x20was\x20made\x20on\x20an\x20element','_setupKeyboardNavigation','render','execute','.ck-context','contextValue','lastIndexOf','length','overlay','reopenCommentThread'];_0x3efc=function(){return _0x10d5a4;};return _0x3efc();}import{CommentThreadHeaderContextView as _0x266083}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x543ce7{[_0x1422b2(0x1eb)];[_0x1422b2(0x1f3)];[_0x1422b2(0x1d4)];[_0x1422b2(0x1bd)];[_0x1422b2(0x1cc)];[_0x1422b2(0x1d9)];[_0x1422b2(0x1ec)];constructor(_0x474be5,_0x43d105){const _0x4c93bf=_0x1422b2;super(_0x474be5);const _0x4ea587=this[_0x4c93bf(0x1c1)];this[_0x4c93bf(0x1eb)]=_0x43d105,this[_0x4c93bf(0x1f3)]=this[_0x4c93bf(0x1b3)](),this[_0x4c93bf(0x1d4)]=this[_0x4c93bf(0x1c5)](),this[_0x4c93bf(0x1bd)]=this[_0x4c93bf(0x1e8)]([this[_0x4c93bf(0x1d4)],this[_0x4c93bf(0x1f3)]]),this[_0x4c93bf(0x1cc)]=new _0x47568b(),this[_0x4c93bf(0x1d9)]=new _0x3d83ef(),this[_0x4c93bf(0x1ec)]=new _0xd84c1({'focusables':this[_0x4c93bf(0x1bd)],'focusTracker':this[_0x4c93bf(0x1cc)],'keystrokeHandler':this[_0x4c93bf(0x1d9)],'actions':{'focusPrevious':_0x4c93bf(0x1f5),'focusNext':_0x4c93bf(0x1c7)}}),this[_0x4c93bf(0x1c6)](_0x4c93bf(0x1b9))['to'](this[_0x4c93bf(0x1eb)],_0x4c93bf(0x1c0),_0x5232cb=>!!_0x5232cb),this[_0x4c93bf(0x1c6)](_0x4c93bf(0x1e2))['to'](this[_0x4c93bf(0x1eb)],_0x4c93bf(0x1c0),_0x4ca680=>_0x4ca680&&_0x4ca680[_0x4c93bf(0x1c8)]?this[_0x4c93bf(0x1b5)](_0x4ca680[_0x4c93bf(0x1c8)]):_0x434938(this[_0x4c93bf(0x1e9)],_0x4c93bf(0x1dd))),this[_0x4c93bf(0x1f1)]({'tag':_0x4c93bf(0x1d8),'attributes':{'class':[_0x4c93bf(0x1ef)]},'children':[{'tag':_0x4c93bf(0x1d8),'attributes':{'class':[_0x4c93bf(0x1d5)]},'children':[{'tag':_0x4c93bf(0x1d8),'attributes':{'class':[_0x4c93bf(0x1d7),_0x4ea587['if'](_0x4c93bf(0x1b9),_0x4c93bf(0x1c3))]},'children':[this[_0x4c93bf(0x1d4)]]}]},{'tag':_0x4c93bf(0x1d8),'attributes':{'class':[_0x4c93bf(0x1ea)]},'children':[this[_0x4c93bf(0x1f3)]]}]});}[_0x1422b2(0x1df)](){const _0x4d3ecf=_0x1422b2;super[_0x4d3ecf(0x1df)](),this[_0x4d3ecf(0x1f2)](),this[_0x4d3ecf(0x1de)]();}[_0x1422b2(0x1bc)](){const _0x55b3c9=_0x1422b2;this[_0x55b3c9(0x1ec)][_0x55b3c9(0x1c9)]();}[_0x1422b2(0x1b3)](){const _0x8df775=_0x1422b2,_0x113446=new _0x986f5a(this[_0x8df775(0x1e9)]);return _0x113446[_0x8df775(0x1c4)]=_0x434938(this[_0x8df775(0x1e9)],_0x8df775(0x1ba)),_0x113446[_0x8df775(0x1ce)]=_0x434938(this[_0x8df775(0x1e9)],_0x8df775(0x1ba)),_0x113446[_0x8df775(0x1dc)]=_0x4338d4,_0x113446[_0x8df775(0x1c6)](_0x8df775(0x1d6))['to'](this[_0x8df775(0x1eb)],_0x8df775(0x1f6),_0x58d1f7=>!_0x58d1f7),_0x113446[_0x8df775(0x1c6)](_0x8df775(0x1bf))['to'](this[_0x8df775(0x1eb)],_0x8df775(0x1cd),this[_0x8df775(0x1eb)],_0x8df775(0x1ed),(_0x15b85e,_0x907e1)=>_0x15b85e&&_0x907e1),_0x113446['on'](_0x8df775(0x1e0),()=>{const _0x1c90a8=_0x8df775;this[_0x1c90a8(0x1b8)](_0x1c90a8(0x1e6),this[_0x1c90a8(0x1eb)]['id']);}),_0x113446;}[_0x1422b2(0x1b5)](_0x275ec1){const _0x4d9753=_0x1422b2;if(_0x275ec1[_0x4d9753(0x1e4)]<0x96)return _0x275ec1;const _0x4d372a=_0x275ec1[_0x4d9753(0x1e3)]('\x20',0x93);return _0x275ec1[_0x4d9753(0x1b7)](0x0,_0x4d372a>-0x1?_0x4d372a:0x93)+_0x4d9753(0x1ee);}[_0x1422b2(0x1f2)](){const _0xbd55e1=_0x1422b2,_0x16085f=this[_0xbd55e1(0x1cb)][_0xbd55e1(0x1ca)](_0xbd55e1(0x1e1)),_0x4520f9=_0x16085f[_0xbd55e1(0x1ca)](_0xbd55e1(0x1f4));this[_0xbd55e1(0x1b4)](_0x16085f,_0xbd55e1(0x1d0),()=>{const _0x2bae07=_0xbd55e1;_0x4520f9[_0x2bae07(0x1d3)]<_0x4520f9[_0x2bae07(0x1b1)]&&_0x16085f[_0x2bae07(0x1da)][_0x2bae07(0x1cf)](_0x2bae07(0x1e5));}),this[_0xbd55e1(0x1b4)](_0x16085f,_0xbd55e1(0x1c2),()=>{const _0x5f4c34=_0xbd55e1;_0x16085f[_0x5f4c34(0x1da)][_0x5f4c34(0x1d1)](_0x5f4c34(0x1e5));});}[_0x1422b2(0x1de)](){const _0xdd487a=_0x1422b2;this[_0xdd487a(0x1d9)][_0xdd487a(0x1b4)](this[_0xdd487a(0x1cb)]);for(const _0x57bd05 of this[_0xdd487a(0x1bd)])this[_0xdd487a(0x1cc)][_0xdd487a(0x1cf)](_0x57bd05[_0xdd487a(0x1cb)]),this[_0xdd487a(0x1d9)][_0xdd487a(0x1b4)](_0x57bd05[_0xdd487a(0x1cb)]);}[_0x1422b2(0x1c5)](){const _0x177d18=_0x1422b2,_0x446920=new _0x266083(this[_0x177d18(0x1e9)]);return _0x446920[_0x177d18(0x1c6)](_0x177d18(0x1e2))['to'](this),_0x446920;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2e7d9b=_0x1aa2;function _0x1aa2(_0x213ea9,_0x97a99a){const _0x5cb83f=_0x5cb8();return _0x1aa2=function(_0x1aa26a,_0x12aa98){_0x1aa26a=_0x1aa26a-0x108;let _0x44b2d7=_0x5cb83f[_0x1aa26a];return _0x44b2d7;},_0x1aa2(_0x213ea9,_0x97a99a);}(function(_0x3a54d9,_0x327053){const _0x19c357=_0x1aa2,_0xd94e81=_0x3a54d9();while(!![]){try{const _0x41db08=-parseInt(_0x19c357(0x12b))/0x1+-parseInt(_0x19c357(0x110))/0x2+-parseInt(_0x19c357(0x12e))/0x3*(parseInt(_0x19c357(0x130))/0x4)+parseInt(_0x19c357(0x10c))/0x5*(parseInt(_0x19c357(0x133))/0x6)+parseInt(_0x19c357(0x10e))/0x7+-parseInt(_0x19c357(0x10a))/0x8+parseInt(_0x19c357(0x123))/0x9;if(_0x41db08===_0x327053)break;else _0xd94e81['push'](_0xd94e81['shift']());}catch(_0x49a871){_0xd94e81['push'](_0xd94e81['shift']());}}}(_0x5cb8,0xaab71));import{View as _0x2c4d2d}from'ckeditor5/src/ui.js';import{CommentInputView as _0x576c7f}from'./commentinputview.js';function _0x5cb8(){const _0x35f8b1=['change:showInput','isFocused','setTemplate','createEditor','editorDestroyed','set','6109840ZgswVq','value','185DanIke','focus','643993VPRWHw','preventDefault','534190byYpaq','some','getDomRoot','editor','contains','showInput','listenTo','extendTemplate','ck-thread__input','showButtons','view','filter','editing','bind','_focusOnNonInteractiveMouseDown','editorReady','focusCycler','mousedown','ck-comment__input-container--active','36061038EHdLow','focusTracker','then','bindTemplate','destroy','target','ck-comment__input-container','userView','1186991OSpwos','delegate','ck-thread__user','3929874zyxmQS','render','4UXiYPQ','div','element','20796KiROHP','commentInputView'];_0x5cb8=function(){return _0x35f8b1;};return _0x5cb8();}import{UserView as _0x5f7685}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x2c4d2d{constructor(_0x451d6a,_0x413755,_0x258057){const _0x5a5009=_0x1aa2;super(_0x451d6a),this[_0x5a5009(0x134)]=new _0x576c7f(_0x451d6a,_0x258057),this[_0x5a5009(0x120)]=this[_0x5a5009(0x134)][_0x5a5009(0x120)],this[_0x5a5009(0x134)][_0x5a5009(0x11d)](_0x5a5009(0x119))['to'](this[_0x5a5009(0x134)][_0x5a5009(0x124)],_0x5a5009(0x136),this[_0x5a5009(0x134)],_0x5a5009(0x10b),(_0x4bb685,_0x51c9fe)=>_0x4bb685||!!_0x51c9fe),this[_0x5a5009(0x109)](_0x5a5009(0x115),!0x1),this['on'](_0x5a5009(0x135),()=>{const _0x235aa1=_0x5a5009;this[_0x235aa1(0x115)]&&!this[_0x235aa1(0x134)][_0x235aa1(0x113)]&&this[_0x235aa1(0x134)][_0x235aa1(0x138)]();}),this[_0x5a5009(0x134)][_0x5a5009(0x12c)](_0x5a5009(0x11f))['to'](this),this[_0x5a5009(0x134)][_0x5a5009(0x12c)](_0x5a5009(0x108))['to'](this),this[_0x5a5009(0x12a)]=new _0x5f7685(_0x451d6a,_0x413755),this[_0x5a5009(0x12a)][_0x5a5009(0x117)]({'attributes':{'class':_0x5a5009(0x12d),'aria-hidden':!0x0}}),this[_0x5a5009(0x134)][_0x5a5009(0x117)]({'attributes':{'class':_0x5a5009(0x118)}}),this[_0x5a5009(0x137)]({'tag':_0x5a5009(0x131),'attributes':{'class':[_0x5a5009(0x129),this[_0x5a5009(0x126)]['if'](_0x5a5009(0x115),_0x5a5009(0x122))]},'children':[this[_0x5a5009(0x12a)],this[_0x5a5009(0x134)]]});}[_0x2e7d9b(0x12f)](){const _0x52e80a=_0x2e7d9b;super[_0x52e80a(0x12f)](),this[_0x52e80a(0x11e)]();}[_0x2e7d9b(0x127)](){const _0x3fd9a1=_0x2e7d9b;return this[_0x3fd9a1(0x134)][_0x3fd9a1(0x127)]()[_0x3fd9a1(0x125)](()=>super[_0x3fd9a1(0x127)]());}[_0x2e7d9b(0x10d)](_0x25735d){const _0x849af7=_0x2e7d9b;this[_0x849af7(0x134)][_0x849af7(0x10d)](_0x25735d);}[_0x2e7d9b(0x11e)](){const _0x37c08e=_0x2e7d9b;this[_0x37c08e(0x116)](this[_0x37c08e(0x132)],_0x37c08e(0x121),(_0x29ad19,_0x52f9ae)=>{const _0x1d5227=_0x37c08e,{submitButtonView:_0x2cc809,cancelButtonView:_0x59517d,editor:_0x1d70a7}=this[_0x1d5227(0x134)];[_0x2cc809[_0x1d5227(0x132)],_0x59517d[_0x1d5227(0x132)],_0x1d70a7?_0x1d70a7[_0x1d5227(0x11c)][_0x1d5227(0x11a)][_0x1d5227(0x112)]():null][_0x1d5227(0x11b)](_0x2a5942=>_0x2a5942)[_0x1d5227(0x111)](_0x596169=>_0x596169[_0x1d5227(0x114)](_0x52f9ae[_0x1d5227(0x128)]))||(this[_0x1d5227(0x10d)](),_0x52f9ae[_0x1d5227(0x10f)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x3660(){const _0x2d0bb1=['focus','ck-thread--','length','233191amBLPo','then','Delete\x20comment\x20thread?','isReadOnly','setTemplate','2329845tlyobX','set','tooltip','get','focusables','resolveCommentThread','.ck-thread__container','add','commentThreadInputView','containerElement','remove','commentThreadChildren','Resolve','commentsListView','render','removeConfirm','querySelector','commentThreadHeaderView','bindTemplate','placeholder','showConfirm','ck-thread','isEnabled','_updateArchivedThreadHeader','div','actionIndicator','isResolvable','createCollection','ariaLabel','ck-rounded-corners','isSystemComment','execute','icon','getTemplate','isActive','70GEBvHX','ck-thread--active','isUnlinked','element','ck-thread--unlinked','removeButton','Write\x20a\x20comment...','isVisible','archivedAt','ck-comment--resolve','_boundFirstCommentView','1241838SvdFxo','label','change:isReadOnly','high','57764wEEXai','ariaDescriptionView','9807HjNFin','listenTo','fire','has','_bindFirstCommentView','stop','change:archivedAt','_createResolveButton','cancelConfirm','unbind','resolveButton','extendTemplate','ck-reset_all-excluded','bind','_model','change:isActive','1359784LxxYbL','commentViews','_cancelAllConfirms','2712wmcVPV','removeCommentThread','actionBar','ck-thread__container','locale','listitem','isResolved','1352884DNlgtI'];_0x3660=function(){return _0x2d0bb1;};return _0x3660();}const _0x50e18c=_0x388f;(function(_0x2ee646,_0x4b7a40){const _0x96c3be=_0x388f,_0x2207dd=_0x2ee646();while(!![]){try{const _0x2e1b46=-parseInt(_0x96c3be(0x1a8))/0x1+parseInt(_0x96c3be(0x1a4))/0x2+-parseInt(_0x96c3be(0x1ad))/0x3+-parseInt(_0x96c3be(0x188))/0x4*(parseInt(_0x96c3be(0x179))/0x5)+-parseInt(_0x96c3be(0x19d))/0x6*(-parseInt(_0x96c3be(0x18a))/0x7)+parseInt(_0x96c3be(0x19a))/0x8+parseInt(_0x96c3be(0x184))/0x9;if(_0x2e1b46===_0x4b7a40)break;else _0x2207dd['push'](_0x2207dd['shift']());}catch(_0x5c270f){_0x2207dd['push'](_0x2207dd['shift']());}}}(_0x3660,0x630a5));import{ConfirmMixin as _0x1c76f5,LateFocusButtonView as _0x3180f2}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x388f(_0x46276d,_0xe3c6b3){const _0x366042=_0x3660();return _0x388f=function(_0x388f0d,_0x4b0b2d){_0x388f0d=_0x388f0d-0x16e;let _0x275671=_0x366042[_0x388f0d];return _0x275671;},_0x388f(_0x46276d,_0xe3c6b3);}import{IconCheck as _0x560370}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x4e81b0}from'./basecommentthreadview.js';import{getTranslation as _0x3c0c9e}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1c76f5(_0x4e81b0){[_0x50e18c(0x1b8)];[_0x50e18c(0x1b6)];[_0x50e18c(0x194)];[_0x50e18c(0x183)];constructor(_0x192d08,_0x27d428,_0x21c5a0,_0x5730cd){const _0x1b2148=_0x50e18c;super(_0x192d08,_0x27d428,_0x21c5a0,_0x5730cd),this[_0x1b2148(0x1b8)]=this[_0x1b2148(0x171)]([this[_0x1b2148(0x1ba)],this[_0x1b2148(0x1b5)],this[_0x1b2148(0x189)]]),this[_0x1b2148(0x1ae)](_0x1b2148(0x16f),null),this[_0x1b2148(0x1b6)]=null,this[_0x1b2148(0x183)]=null,this[_0x1b2148(0x1a1)]=_0x192d08,this[_0x1b2148(0x194)]=this[_0x1b2148(0x191)](),this[_0x1b2148(0x1ac)](this[_0x1b2148(0x177)]()),this['on'](_0x1b2148(0x199),(_0xb43701,_0x2d8133,_0x2af847)=>{const _0x416f65=_0x1b2148;_0x2af847||this[_0x416f65(0x19c)]();}),this[_0x1b2148(0x18b)](this[_0x1b2148(0x198)],_0x1b2148(0x186),(_0x516300,_0xf91d38,_0x1c9a66)=>{const _0x8541bf=_0x1b2148;_0x1c9a66&&this[_0x8541bf(0x19c)]();}),this[_0x1b2148(0x1a7)]>0x0&&this[_0x1b2148(0x18e)](),this[_0x1b2148(0x18b)](this[_0x1b2148(0x1ba)][_0x1b2148(0x19b)],_0x1b2148(0x1b4),()=>{const _0x2568d7=_0x1b2148;this[_0x2568d7(0x18e)]();});}[_0x50e18c(0x177)](){const _0x486be0=_0x50e18c,_0x24b854=this[_0x486be0(0x1bf)];return{'tag':_0x486be0(0x16e),'attributes':{'class':['ck',_0x486be0(0x1c2),_0x486be0(0x196),_0x486be0(0x173),_0x24b854['if'](_0x486be0(0x178),_0x486be0(0x17a)),_0x24b854['if'](_0x486be0(0x17b),_0x486be0(0x17d)),_0x24b854['to'](_0x486be0(0x16f),_0x34f067=>_0x34f067?_0x486be0(0x1a6)+_0x34f067:'')],'data-thread-id':this[_0x486be0(0x198)]['id'],'tabindex':0x0,'role':_0x486be0(0x1a2),'aria-label':_0x24b854['to'](_0x486be0(0x172)),'aria-describedby':this[_0x486be0(0x189)]['id']},'children':[{'tag':_0x486be0(0x16e),'attributes':{'class':_0x486be0(0x1a0)},'children':this[_0x486be0(0x1b8)]}]};}[_0x50e18c(0x1bb)](){const _0x17833f=_0x50e18c;super[_0x17833f(0x1bb)](),this[_0x17833f(0x1b6)]=this[_0x17833f(0x17c)][_0x17833f(0x1bd)](_0x17833f(0x1b3)),this[_0x17833f(0x198)]['on'](_0x17833f(0x190),()=>{const _0x54ae0d=_0x17833f;this[_0x54ae0d(0x1c4)]();}),this[_0x17833f(0x1c4)]();}[_0x50e18c(0x19c)](){const _0xfea7a1=_0x50e18c;this[_0xfea7a1(0x192)]();for(const _0x10512d of this[_0xfea7a1(0x1ba)][_0xfea7a1(0x19b)])_0x10512d[_0xfea7a1(0x192)]();}[_0x50e18c(0x18e)](){const _0x493de7=_0x50e18c,{locale:_0xdc42ac}=this,_0x3ad329=this[_0x493de7(0x1ba)][_0x493de7(0x19b)][_0x493de7(0x1b0)](0x0);_0x3ad329===this[_0x493de7(0x183)]||_0x3ad329[_0x493de7(0x174)]||(this[_0x493de7(0x183)]=_0x3ad329,this[_0x493de7(0x193)](_0x493de7(0x16f)),this[_0x493de7(0x197)](_0x493de7(0x16f))['to'](_0x3ad329,_0x493de7(0x16f),_0x34c831=>_0x493de7(0x1b7)===_0x34c831?_0x493de7(0x1b7):null),_0x3ad329[_0x493de7(0x1c0)]=_0x3c0c9e(_0xdc42ac,_0x493de7(0x17f)),_0x3ad329[_0x493de7(0x17e)]['on'](_0x493de7(0x175),_0x84c2e8=>{const _0x163c5d=_0x493de7;_0x84c2e8[_0x163c5d(0x18f)](),this[_0x163c5d(0x1c1)](_0x3c0c9e(_0xdc42ac,_0x163c5d(0x1aa)),this[_0x163c5d(0x1b6)])[_0x163c5d(0x1a9)](()=>{const _0x5cadee=_0x163c5d;this[_0x5cadee(0x18c)](_0x5cadee(0x19e));});},{'priority':_0x493de7(0x187)}),this['on'](_0x493de7(0x1bc),()=>{const _0x3efd91=_0x493de7;_0x3ad329[_0x3efd91(0x1a5)]();}),_0x3ad329[_0x493de7(0x19f)][_0x493de7(0x1b4)](this[_0x493de7(0x194)],0x0),_0x3ad329[_0x493de7(0x1b1)][_0x493de7(0x1b4)](this[_0x493de7(0x194)],0x0));}[_0x50e18c(0x191)](){const _0x21df41=_0x50e18c,_0x41c1c8=new _0x3180f2(this[_0x21df41(0x1a1)]);return _0x41c1c8[_0x21df41(0x185)]=_0x3c0c9e(this[_0x21df41(0x1a1)],_0x21df41(0x1b9)),_0x41c1c8[_0x21df41(0x1af)]=_0x3c0c9e(this[_0x21df41(0x1a1)],_0x21df41(0x1b9)),_0x41c1c8[_0x21df41(0x176)]=_0x560370,_0x41c1c8[_0x21df41(0x195)]({'attributes':{'class':_0x21df41(0x182)}}),_0x41c1c8[_0x21df41(0x197)](_0x21df41(0x1c3))['to'](this[_0x21df41(0x198)],_0x21df41(0x1ab),_0x324e97=>!_0x324e97),_0x41c1c8[_0x21df41(0x197)](_0x21df41(0x180))['to'](this[_0x21df41(0x198)],_0x21df41(0x170),this[_0x21df41(0x198)],_0x21df41(0x1a3),(_0x150572,_0x54884c)=>_0x150572&&!_0x54884c),_0x41c1c8['on'](_0x21df41(0x175),()=>{const _0x3b9f41=_0x21df41;this[_0x3b9f41(0x18c)](_0x3b9f41(0x1b2),this[_0x3b9f41(0x198)]['id']);}),_0x41c1c8;}[_0x50e18c(0x1c4)](){const _0x4b0713=_0x50e18c;this[_0x4b0713(0x198)][_0x4b0713(0x181)]?this[_0x4b0713(0x1b8)][_0x4b0713(0x18d)](this[_0x4b0713(0x1be)])||(this[_0x4b0713(0x1b8)][_0x4b0713(0x1b4)](this[_0x4b0713(0x1be)],0x0),this[_0x4b0713(0x1b1)][_0x4b0713(0x1b4)](this[_0x4b0713(0x1be)],0x0)):this[_0x4b0713(0x1b8)][_0x4b0713(0x18d)](this[_0x4b0713(0x1be)])&&(this[_0x4b0713(0x1b8)][_0x4b0713(0x1b7)](this[_0x4b0713(0x1be)]),this[_0x4b0713(0x1b1)][_0x4b0713(0x1b7)](this[_0x4b0713(0x1be)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x2f8edd=_0x395e;(function(_0x5c9f1b,_0x52eea9){const _0x58f1c8=_0x395e,_0x5d59af=_0x5c9f1b();while(!![]){try{const _0x155cc1=-parseInt(_0x58f1c8(0x6d))/0x1+-parseInt(_0x58f1c8(0xa0))/0x2+-parseInt(_0x58f1c8(0x95))/0x3*(-parseInt(_0x58f1c8(0x99))/0x4)+-parseInt(_0x58f1c8(0x6e))/0x5+parseInt(_0x58f1c8(0x9a))/0x6*(-parseInt(_0x58f1c8(0xb4))/0x7)+parseInt(_0x58f1c8(0xc4))/0x8+parseInt(_0x58f1c8(0xbc))/0x9*(parseInt(_0x58f1c8(0xc8))/0xa);if(_0x155cc1===_0x52eea9)break;else _0x5d59af['push'](_0x5d59af['shift']());}catch(_0x381ae2){_0x5d59af['push'](_0x5d59af['shift']());}}}(_0x2ceb,0x6a47f));import{IconRemoveComment as _0x5e0e28,IconPencil as _0x18ddeb,IconThreeVerticalDots as _0x390bfb}from'ckeditor5/src/icons.js';import{ButtonView as _0x4ffcbe,createDropdown as _0x3bcf57,ListView as _0x4d8fef,ListItemView as _0x580dec,focusChildOnDropdownOpen as _0x21419b}from'ckeditor5/src/ui.js';import{UserView as _0x5db2a5,ConfirmMixin as _0x396e37,LateFocusDropdownButtonView as _0x38f5a5}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x3615a7}from'./basecommentview.js';function _0x395e(_0x20821d,_0x4d54bf){const _0x2ceb5a=_0x2ceb();return _0x395e=function(_0x395e12,_0x3eee91){_0x395e12=_0x395e12-0x68;let _0x30c2aa=_0x2ceb5a[_0x395e12];return _0x30c2aa;},_0x395e(_0x20821d,_0x4d54bf);}import{getTranslation as _0x55e114}from'../../../utils/common-translations.js';function _0x2ceb(){const _0x4a9ce8=['render','ck-comment--','actionIndicator','focusables','ck-comment__wrapper','_model','getExternalCommentNote','userView','actionBar','Show\x20more\x20items','ck-comment__external','ck-comment__info-time','ariaLabel','icon','group','set','blur','ck-comment--edit','formatDateTime','execute','695024cIUIit','2212730CFbitO','length','label','extendTemplate','then','_createDropdown','Reply...','getTemplate','setTemplate','ck-annotation__actions--hidden','removeComment','dropdown','_config','Edit','remove','bindTemplate','isEnabled','isExternal','isVisible','visibleView','_createRemoveButton','panelPosition','addMany','fire','cancelConfirm','mouseenter','name','removeButton','ck-comment__user','focus','from','element','ck-annotation__info-name','div','authoredAt','placeholder','isEditable','_attachActions','ck-comment__info','26400MwCxhI','isRemovable','getUserViewNotificationText','ck-comment__main','220hmfIcx','306sbGCaR','_createEditButton','createCollection','some','ck-hidden','panelView','137318drVLPe','switchToEditMode','editButton','unbind','bind','ck-annotation__info-time','buttonView','span','listenTo','author','showConfirm','ck-annotation__actions','time','find','ck-annotation__main','ck-comment__actions','edit','resolvedAt','ck-annotation__user','ck-comment__actions--hidden','40523EtgZzt','Remove','withText','Delete\x20comment?','_createCommentInputView','ck-annotation','ck-comment','isSystemComment','8950509rkAgmz','push','ck-comment--remove','ck-annotation__info','mouseleave','children','ck-comment--info','items','3666352GSnyPb','ck-comment__info-name','locale','add','10MpcwbF','isEditMode','change:isRemovable','ck-annotation__content-wrapper','ariaDescriptionView','listitem','toMany','isReadOnly'];_0x2ceb=function(){return _0x4a9ce8;};return _0x2ceb();}export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x396e37(_0x3615a7){[_0x2f8edd(0xd8)];[_0x2f8edd(0xd7)];constructor(_0x3b59d0,_0x4eb20c,_0x408ae7){const _0x598063=_0x2f8edd;super(_0x3b59d0,_0x4eb20c,_0x408ae7),this[_0x598063(0x68)](_0x598063(0xd2),null),this[_0x598063(0x68)](_0x598063(0x91),_0x55e114(_0x3b59d0,_0x598063(0x74))),this[_0x598063(0xa4)](_0x598063(0x90))['to'](_0x4eb20c),this[_0x598063(0xa4)](_0x598063(0xb1))['to'](_0x4eb20c),this[_0x598063(0xd8)]=this[_0x598063(0x9c)](),this[_0x598063(0xbb)]||(this[_0x598063(0xa2)]=this[_0x598063(0x9b)](),this[_0x598063(0x89)]=this[_0x598063(0x82)](),this[_0x598063(0xc3)]=this[_0x598063(0x9c)](),this[_0x598063(0xc3)][_0x598063(0x84)]([this[_0x598063(0xa2)],this[_0x598063(0x89)]]),this[_0x598063(0x79)]=this[_0x598063(0x73)](),this[_0x598063(0xd8)][_0x598063(0xc7)](this[_0x598063(0x79)]),this[_0x598063(0xd3)][_0x598063(0xc7)](this[_0x598063(0x79)])),this[_0x598063(0xd7)]=new _0x5db2a5(_0x3b59d0,_0x4eb20c[_0x598063(0xa9)],this[_0x598063(0x97)]()),this[_0x598063(0xd7)][_0x598063(0x71)]({'attributes':{'class':[_0x598063(0x8a),_0x598063(0xb2)],'aria-hidden':!0x0}}),this[_0x598063(0xa8)](_0x4eb20c,_0x598063(0xca),()=>this[_0x598063(0x86)]()),this[_0x598063(0x76)](this[_0x598063(0x75)]());}[_0x2f8edd(0x75)](){const _0x4afdac=_0x2f8edd,_0x3f607c=this[_0x4afdac(0x7d)],_0x2ed186=[{'tag':_0x4afdac(0x8f),'attributes':{'class':[_0x4afdac(0x94),_0x4afdac(0xbf)]},'children':[{'tag':_0x4afdac(0xa7),'children':[{'text':this[_0x4afdac(0xd7)][_0x4afdac(0x88)]}],'attributes':{'class':[_0x4afdac(0xc5),_0x4afdac(0x8e)],'data-cke-tooltip-text':this[_0x4afdac(0xd7)][_0x4afdac(0x88)]}},{'tag':_0x4afdac(0xac),'attributes':{'datetime':_0x3f607c['to'](_0x4afdac(0x90)),'class':[_0x4afdac(0xdb),_0x4afdac(0xa5)]},'children':[{'text':_0x3f607c['to'](_0x4afdac(0x90),_0x5e7c04=>this[_0x4afdac(0x7a)][_0x4afdac(0x6b)](_0x5e7c04))}]}]},{'tag':_0x4afdac(0x8f),'attributes':{'class':[_0x4afdac(0xaf),_0x4afdac(0xab),_0x3f607c['if'](_0x4afdac(0xc9),_0x4afdac(0xb3)),_0x3f607c['if'](_0x4afdac(0xc9),_0x4afdac(0x77))]},'children':this[_0x4afdac(0xd8)]},{'tag':_0x4afdac(0x8f),'attributes':{'class':[_0x4afdac(0xcb)]},'children':this[_0x4afdac(0x81)]},this[_0x4afdac(0xcc)]];return this[_0x4afdac(0xd5)][_0x4afdac(0x7f)]&&_0x2ed186[_0x4afdac(0xbd)]({'tag':_0x4afdac(0x8f),'attributes':{'class':[_0x4afdac(0xda)]},'children':[{'text':this[_0x4afdac(0xd6)]()}]}),{'tag':'li','attributes':{'class':[_0x4afdac(0xd4)],'tabindex':-0x1,'aria-label':_0x3f607c['to'](_0x4afdac(0xdc)),'aria-describedby':this[_0x4afdac(0xcc)]['id'],'role':_0x4afdac(0xcd)},'children':[{'tag':_0x4afdac(0x8f),'attributes':{'class':[_0x4afdac(0xba),_0x4afdac(0xb9),_0x3f607c['if'](_0x4afdac(0xc9),_0x4afdac(0x6a)),_0x3f607c['if'](_0x4afdac(0xbb),_0x4afdac(0xc2)),_0x3f607c['to'](_0x4afdac(0xd2),_0x54342a=>_0x54342a?_0x4afdac(0xd1)+_0x54342a:'')],'data-author-id':this[_0x4afdac(0xd5)][_0x4afdac(0xa9)]['id'],'data-comment-id':this[_0x4afdac(0xd5)]['id'],'role':_0x4afdac(0xde)},'children':[this[_0x4afdac(0xd7)],{'tag':_0x4afdac(0x8f),'attributes':{'class':[_0x4afdac(0x98),_0x4afdac(0xae)]},'children':_0x2ed186}]}]};}[_0x2f8edd(0x9b)](){const _0x26ee6c=_0x2f8edd,_0x15c56f=new _0x4ffcbe(this[_0x26ee6c(0xc6)]);return _0x15c56f[_0x26ee6c(0x70)]=_0x55e114(this[_0x26ee6c(0xc6)],_0x26ee6c(0x7b)),_0x15c56f[_0x26ee6c(0xdd)]=_0x18ddeb,_0x15c56f[_0x26ee6c(0xb6)]=!0x0,_0x15c56f[_0x26ee6c(0x71)]({'attributes':{'class':_0x26ee6c(0x6a)}}),_0x15c56f[_0x26ee6c(0xa4)](_0x26ee6c(0x7e))['to'](this[_0x26ee6c(0xd5)],_0x26ee6c(0xcf),_0x5add9e=>!_0x5add9e),_0x15c56f[_0x26ee6c(0xa4)](_0x26ee6c(0x80))['to'](this[_0x26ee6c(0xd5)],_0x26ee6c(0x92)),_0x15c56f['on'](_0x26ee6c(0x6c),()=>this[_0x26ee6c(0xa1)]()),_0x15c56f;}[_0x2f8edd(0x82)](){const _0x3bb47f=_0x2f8edd,_0x1ab1c9=new _0x4ffcbe(this[_0x3bb47f(0xc6)]);return _0x1ab1c9[_0x3bb47f(0x70)]=_0x55e114(this[_0x3bb47f(0xc6)],_0x3bb47f(0xb5)),_0x1ab1c9[_0x3bb47f(0xdd)]=_0x5e0e28,_0x1ab1c9[_0x3bb47f(0xb6)]=!0x0,_0x1ab1c9[_0x3bb47f(0x71)]({'attributes':{'class':_0x3bb47f(0xbe)}}),_0x1ab1c9[_0x3bb47f(0xa4)](_0x3bb47f(0x7e))['to'](this[_0x3bb47f(0xd5)],_0x3bb47f(0xcf),_0xba2692=>!_0xba2692),_0x1ab1c9[_0x3bb47f(0xa4)](_0x3bb47f(0x80))['to'](this[_0x3bb47f(0xd5)],_0x3bb47f(0x96)),_0x1ab1c9['on'](_0x3bb47f(0x6c),()=>{const _0x27fabd=_0x3bb47f;this[_0x27fabd(0xaa)](_0x55e114(this[_0x27fabd(0xc6)],_0x27fabd(0xb7)),this[_0x27fabd(0x8d)])[_0x27fabd(0x72)](()=>{const _0x3f4334=_0x27fabd;this[_0x3f4334(0x85)](_0x3f4334(0x78),this[_0x3f4334(0xd5)]['id']);});}),_0x1ab1c9;}[_0x2f8edd(0x73)](){const _0x54eabb=_0x2f8edd,_0x3bbb9c=_0x3bcf57(this[_0x54eabb(0xc6)],_0x38f5a5),_0x69facb=_0x3bbb9c[_0x54eabb(0x9f)][_0x54eabb(0xc1)],_0x675366=new _0x4d8fef(this[_0x54eabb(0xc6)]),_0x2d7f27=_0x3bbb9c[_0x54eabb(0x7d)];_0x21419b(_0x3bbb9c,()=>this[_0x54eabb(0xc3)][_0x54eabb(0xad)](_0x145175=>_0x145175[_0x54eabb(0x80)])),_0x3bbb9c[_0x54eabb(0x71)]({'attributes':{'class':[_0x2d7f27['if'](_0x54eabb(0x80),_0x54eabb(0x9e),_0x4032ab=>!_0x4032ab)]}});const _0x427571=(_0x2b640d,_0x92f347=-0x1)=>{const _0xcbdcb3=_0x54eabb,_0x3e407f=new _0x580dec(this[_0xcbdcb3(0xc6)]);_0x3e407f[_0xcbdcb3(0xc1)][_0xcbdcb3(0xc7)](_0x2b640d);const _0x29f0bb=_0x92f347>-0x1?_0x92f347:_0x675366[_0xcbdcb3(0xc3)][_0xcbdcb3(0x6f)];_0x675366[_0xcbdcb3(0xc3)][_0xcbdcb3(0xc7)](_0x3e407f,_0x29f0bb);const _0x212ebe=Array[_0xcbdcb3(0x8c)](this[_0xcbdcb3(0xc3)]);_0x3bbb9c[_0xcbdcb3(0xa3)](_0xcbdcb3(0x7e),_0xcbdcb3(0x80)),_0x3bbb9c[_0xcbdcb3(0xa4)](_0xcbdcb3(0x7e))[_0xcbdcb3(0xce)](_0x212ebe,_0xcbdcb3(0x7e),(..._0x32c56f)=>_0x32c56f[_0xcbdcb3(0x9d)](_0x178b02=>_0x178b02)),_0x3bbb9c[_0xcbdcb3(0xa4)](_0xcbdcb3(0x80))[_0xcbdcb3(0xce)](_0x212ebe,_0xcbdcb3(0x80),(..._0x225b76)=>_0x225b76[_0xcbdcb3(0x9d)](_0x320eeb=>_0x320eeb));};_0x3bbb9c[_0x54eabb(0x83)]='sw',_0x3bbb9c[_0x54eabb(0xa6)][_0x54eabb(0x68)]({'label':_0x55e114(this[_0x54eabb(0xc6)],_0x54eabb(0xd9)),'icon':_0x390bfb});for(const _0x3209ee of this[_0x54eabb(0xc3)])_0x427571(_0x3209ee);return _0x69facb[_0x54eabb(0xc7)](_0x675366),_0x3bbb9c[_0x54eabb(0xa8)](this[_0x54eabb(0xc3)],_0x54eabb(0xc7),(_0x259178,_0x1b3f04,_0x5deaf6)=>{_0x427571(_0x1b3f04,_0x5deaf6);}),_0x3bbb9c[_0x54eabb(0xa8)](this[_0x54eabb(0xc3)],_0x54eabb(0x7c),(_0x2820d0,_0x5a8bff,_0x197b4c)=>{const _0x229bb0=_0x54eabb;_0x675366[_0x229bb0(0xc3)][_0x229bb0(0x7c)](_0x197b4c);}),_0x3bbb9c;}[_0x2f8edd(0x93)](_0x53131a,_0x2ee6d8){const _0x134c88=_0x2f8edd,_0x3f75e3=_0x53131a&&_0x53131a[_0x134c88(0x8d)];_0x3f75e3&&(this[_0x134c88(0xa8)](_0x3f75e3,_0x134c88(0x87),()=>this[_0x134c88(0xd2)]=_0x2ee6d8),this[_0x134c88(0xa8)](_0x3f75e3,_0x134c88(0x8b),()=>this[_0x134c88(0xd2)]=_0x2ee6d8),this[_0x134c88(0xa8)](_0x3f75e3,_0x134c88(0xc0),()=>this[_0x134c88(0xd2)]=null),this[_0x134c88(0xa8)](_0x3f75e3,_0x134c88(0x69),()=>this[_0x134c88(0xd2)]=null));}[_0x2f8edd(0xb8)](){const _0x584996=_0x2f8edd,_0xb8c48f=super[_0x584996(0xb8)]();return _0xb8c48f[_0x584996(0xa4)](_0x584996(0x91))['to'](this),_0xb8c48f;}[_0x2f8edd(0xd0)](){const _0x4d4b6f=_0x2f8edd;super[_0x4d4b6f(0xd0)](),this[_0x4d4b6f(0x93)](this[_0x4d4b6f(0xa2)],_0x4d4b6f(0xb0)),this[_0x4d4b6f(0x93)](this[_0x4d4b6f(0x89)],_0x4d4b6f(0x7c));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x17a7fe=_0x2e47;function _0x2e47(_0x5dd65a,_0x598063){var _0x58c500=_0x58c5();return _0x2e47=function(_0x2e47a4,_0x20a98e){_0x2e47a4=_0x2e47a4-0x15e;var _0x34ae08=_0x58c500[_0x2e47a4];return _0x34ae08;},_0x2e47(_0x5dd65a,_0x598063);}(function(_0x59b7f0,_0x28cce7){var _0x3af766=_0x2e47,_0x1d3175=_0x59b7f0();while(!![]){try{var _0x55c953=-parseInt(_0x3af766(0x168))/0x1*(-parseInt(_0x3af766(0x165))/0x2)+-parseInt(_0x3af766(0x162))/0x3*(parseInt(_0x3af766(0x16d))/0x4)+parseInt(_0x3af766(0x166))/0x5*(-parseInt(_0x3af766(0x167))/0x6)+-parseInt(_0x3af766(0x160))/0x7+parseInt(_0x3af766(0x164))/0x8+parseInt(_0x3af766(0x16a))/0x9*(parseInt(_0x3af766(0x161))/0xa)+parseInt(_0x3af766(0x169))/0xb;if(_0x55c953===_0x28cce7)break;else _0x1d3175['push'](_0x1d3175['shift']());}catch(_0x196aec){_0x1d3175['push'](_0x1d3175['shift']());}}}(_0x58c5,0x89b1a));import{Plugin as _0x3d65dd}from'ckeditor5/src/core.js';import{CommentsRepository as _0x27dce3}from'./comments/commentsrepository.js';import{CommentsEditing as _0xc61e8f}from'./comments/commentsediting.js';function _0x58c5(){var _0x24bd51=['306855JNdtfH','isOfficialPlugin','requires','100616eDPgtZ','isPremiumPlugin','pluginName','3650612HYKCpN','170IbdjLA','132GyWUBs','Comments','7679296TCsMir','22jLXCUq','327035VBjWWl','24SnDsqg','68861xeSfhV','1726076rXIUGh'];_0x58c5=function(){return _0x24bd51;};return _0x58c5();}import{CommentsUI as _0x311d9d}from'./comments/commentsui.js';import{CommentsOnly as _0xc3b707}from'./commentsonly.js';import{WideSidebar as _0x24d1d2}from'./annotations/widesidebar.js';import{NarrowSidebar as _0xa85c7d}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x1d8c49}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x40eb42}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x123530}from'./comments/commentsarchive.js';export class Comments extends _0x3d65dd{static get[_0x17a7fe(0x16c)](){return[_0x27dce3,_0xc61e8f,_0x311d9d,_0x123530,_0x40eb42,_0xc3b707,_0x24d1d2,_0xa85c7d,_0x1d8c49];}static get[_0x17a7fe(0x15f)](){var _0x50025d=_0x17a7fe;return _0x50025d(0x163);}static get[_0x17a7fe(0x16b)](){return!0x0;}static get[_0x17a7fe(0x15e)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5612(_0x3d2194,_0x548b5f){const _0x1ca51e=_0x1ca5();return _0x5612=function(_0x5612a4,_0x3d1c45){_0x5612a4=_0x5612a4-0x12b;let _0x5e5003=_0x1ca51e[_0x5612a4];return _0x5e5003;},_0x5612(_0x3d2194,_0x548b5f);}const _0x3a724c=_0x5612;(function(_0xd46596,_0x8be6da){const _0x55259f=_0x5612,_0x5eb151=_0xd46596();while(!![]){try{const _0xe8e33f=-parseInt(_0x55259f(0x137))/0x1*(parseInt(_0x55259f(0x143))/0x2)+parseInt(_0x55259f(0x150))/0x3*(-parseInt(_0x55259f(0x144))/0x4)+parseInt(_0x55259f(0x149))/0x5*(-parseInt(_0x55259f(0x136))/0x6)+parseInt(_0x55259f(0x140))/0x7*(parseInt(_0x55259f(0x12d))/0x8)+parseInt(_0x55259f(0x13e))/0x9*(parseInt(_0x55259f(0x132))/0xa)+-parseInt(_0x55259f(0x155))/0xb+parseInt(_0x55259f(0x135))/0xc;if(_0xe8e33f===_0x8be6da)break;else _0x5eb151['push'](_0x5eb151['shift']());}catch(_0x5dc1b6){_0x5eb151['push'](_0x5eb151['shift']());}}}(_0x1ca5,0x5037b));function _0x1ca5(){const _0x3f337c=['highest','afterInit','SourceEditing','change:isEnabled','isEnabled','editSource','commentsOnlyMode','2340304YxEvlx','document','addCommentThread','forceDisabled','editing','290XXGYwH','CommentsOnly','commentsOnly','11888352OVHnqe','7830FSSgHr','1145WTTtQz','listenTo','affectsData','pluginName','has','DragDrop','commands','14481mYHkdW','requires','7FuVkRj','isPremiumPlugin','delete','358OqZAnS','1010804svCMxo','config','stop','_enableCommentsOnlyMode','cut','930rbNodd','stopListening','plugins','editor','clipboardInput','_disableCommentsOnlyMode','set','6xkqnHv','isOfficialPlugin','clearForceDisabled','RevisionTracker','view','530607KzZaxf','get'];_0x1ca5=function(){return _0x3f337c;};return _0x1ca5();}import{Plugin as _0x51f844}from'ckeditor5/src/core.js';import{CommentsEditing as _0x1c5722}from'./comments/commentsediting.js';export class CommentsOnly extends _0x51f844{static get[_0x3a724c(0x13a)](){const _0x1eb561=_0x3a724c;return _0x1eb561(0x133);}static get[_0x3a724c(0x151)](){return!0x0;}static get[_0x3a724c(0x141)](){return!0x0;}static get[_0x3a724c(0x13f)](){return[_0x1c5722];}constructor(_0x4e75f9){const _0x52bac0=_0x3a724c;super(_0x4e75f9),this[_0x52bac0(0x14f)](_0x52bac0(0x15b),!0x1),this['on'](_0x52bac0(0x15a),(_0x208e27,_0xe8d03e,_0x4b9bd9)=>{const _0xa62064=_0x52bac0;_0x4b9bd9?this[_0xa62064(0x147)]():this[_0xa62064(0x14e)]();});}[_0x3a724c(0x158)](){const _0x34d1e0=_0x3a724c;!this[_0x34d1e0(0x15b)]&&this[_0x34d1e0(0x14c)][_0x34d1e0(0x145)][_0x34d1e0(0x156)](_0x34d1e0(0x134))&&(this[_0x34d1e0(0x15b)]=!0x0);}[_0x3a724c(0x147)](){const _0x463d00=_0x3a724c;for(const [_0x508d3c,_0x5939c5]of this[_0x463d00(0x14c)][_0x463d00(0x13d)])_0x5939c5[_0x463d00(0x139)]&&_0x463d00(0x12f)!==_0x508d3c&&_0x5939c5[_0x463d00(0x130)](_0x463d00(0x12c));(this[_0x463d00(0x14c)][_0x463d00(0x14b)][_0x463d00(0x13b)](_0x463d00(0x13c))&&this[_0x463d00(0x14c)][_0x463d00(0x14b)][_0x463d00(0x156)](_0x463d00(0x13c))[_0x463d00(0x130)](_0x463d00(0x12c)),this[_0x463d00(0x14c)][_0x463d00(0x14b)][_0x463d00(0x13b)](_0x463d00(0x153)))&&this[_0x463d00(0x14c)][_0x463d00(0x14b)][_0x463d00(0x156)](_0x463d00(0x153))[_0x463d00(0x130)](_0x463d00(0x12c));this[_0x463d00(0x14c)][_0x463d00(0x14b)][_0x463d00(0x13b)](_0x463d00(0x159))&&this[_0x463d00(0x14c)][_0x463d00(0x14b)][_0x463d00(0x156)](_0x463d00(0x159))[_0x463d00(0x130)](_0x463d00(0x12c));this[_0x463d00(0x14c)][_0x463d00(0x13d)][_0x463d00(0x156)](_0x463d00(0x12b))?.[_0x463d00(0x130)](_0x463d00(0x12c));const _0x25b2ac=this[_0x463d00(0x14c)][_0x463d00(0x131)][_0x463d00(0x154)][_0x463d00(0x12e)];this[_0x463d00(0x138)](_0x25b2ac,_0x463d00(0x148),_0x21e619=>_0x21e619[_0x463d00(0x146)](),{'priority':_0x463d00(0x157)}),this[_0x463d00(0x138)](_0x25b2ac,_0x463d00(0x14d),_0x5e59e1=>_0x5e59e1[_0x463d00(0x146)](),{'priority':_0x463d00(0x157)}),this[_0x463d00(0x138)](_0x25b2ac,_0x463d00(0x142),_0x22cc35=>_0x22cc35[_0x463d00(0x146)](),{'priority':_0x463d00(0x157)});}[_0x3a724c(0x14e)](){const _0x20be67=_0x3a724c;for(const [_0x22ba0f,_0x41d4bb]of this[_0x20be67(0x14c)][_0x20be67(0x13d)])_0x41d4bb[_0x20be67(0x139)]&&_0x20be67(0x12f)!==_0x22ba0f&&_0x41d4bb[_0x20be67(0x152)](_0x20be67(0x12c));this[_0x20be67(0x14c)][_0x20be67(0x14b)][_0x20be67(0x13b)](_0x20be67(0x153))&&this[_0x20be67(0x14c)][_0x20be67(0x14b)][_0x20be67(0x156)](_0x20be67(0x153))[_0x20be67(0x152)](_0x20be67(0x12c)),this[_0x20be67(0x14c)][_0x20be67(0x14b)][_0x20be67(0x13b)](_0x20be67(0x159))&&this[_0x20be67(0x14c)][_0x20be67(0x14b)][_0x20be67(0x156)](_0x20be67(0x159))[_0x20be67(0x152)](_0x20be67(0x12c)),this[_0x20be67(0x14c)][_0x20be67(0x13d)][_0x20be67(0x156)](_0x20be67(0x12b))?.[_0x20be67(0x152)](_0x20be67(0x12c)),this[_0x20be67(0x14a)](this[_0x20be67(0x14c)][_0x20be67(0x131)][_0x20be67(0x154)][_0x20be67(0x12e)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x15c63c,_0x40a97a){var _0x15b931=_0x47a5,_0x24a843=_0x15c63c();while(!![]){try{var _0x5a7fe5=-parseInt(_0x15b931(0x92))/0x1*(parseInt(_0x15b931(0x96))/0x2)+parseInt(_0x15b931(0x91))/0x3*(-parseInt(_0x15b931(0x90))/0x4)+-parseInt(_0x15b931(0x94))/0x5*(-parseInt(_0x15b931(0x93))/0x6)+parseInt(_0x15b931(0x99))/0x7+parseInt(_0x15b931(0x97))/0x8+-parseInt(_0x15b931(0x8f))/0x9*(-parseInt(_0x15b931(0x98))/0xa)+-parseInt(_0x15b931(0x95))/0xb;if(_0x5a7fe5===_0x40a97a)break;else _0x24a843['push'](_0x24a843['shift']());}catch(_0x104f0d){_0x24a843['push'](_0x24a843['shift']());}}}(_0x3b65,0x4f736));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';function _0x47a5(_0x2981b0,_0x5a1a82){var _0x3b657a=_0x3b65();return _0x47a5=function(_0x47a513,_0x59e5bd){_0x47a513=_0x47a513-0x8f;var _0x43d287=_0x3b657a[_0x47a513];return _0x43d287;},_0x47a5(_0x2981b0,_0x5a1a82);}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';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';function _0x3b65(){var _0xfd41e6=['10965jcCvQL','10784257anjPAF','12QAEUTZ','2807704bEllgT','6427430uiyVBw','395934ULSbgL','9cTLMVF','284fWMxTL','6759yWLCds','35281mTvqII','1716sfplwx'];_0x3b65=function(){return _0xfd41e6;};return _0x3b65();}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(_0x49b5fb,_0xe40e65,_0x3dfab7){const t=_0x49b5fb['t'];switch(_0xe40e65){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'},_0x3dfab7);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'},_0x3dfab7);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'},_0x3dfab7);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'},_0x3dfab7);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x3dfab7);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'},_0x3dfab7);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'},_0x3dfab7);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'},_0x3dfab7);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 _0x2c75(){const _0x147185=['40mSxmoO','type','characterData','disconnect','6SieRgD','childList','attributes','7YsgmZv','13089321tknQrG','4139705vaVZTI','3031312GhVmNY','7862151CrDxjy','10tPuPvO','cancel','attributeName','924797NGOKSA','observe','class','8962864OpmDnp','27129ldlQbJ'];_0x2c75=function(){return _0x147185;};return _0x2c75();}(function(_0x3981b0,_0x20a048){const _0x21bf48=_0x50f1,_0x697769=_0x3981b0();while(!![]){try{const _0xfa84bc=parseInt(_0x21bf48(0x112))/0x1+parseInt(_0x21bf48(0x10f))/0x2*(parseInt(_0x21bf48(0x116))/0x3)+-parseInt(_0x21bf48(0x121))/0x4+parseInt(_0x21bf48(0x120))/0x5*(parseInt(_0x21bf48(0x11b))/0x6)+-parseInt(_0x21bf48(0x11e))/0x7*(-parseInt(_0x21bf48(0x115))/0x8)+parseInt(_0x21bf48(0x11f))/0x9+parseInt(_0x21bf48(0x117))/0xa*(-parseInt(_0x21bf48(0x122))/0xb);if(_0xfa84bc===_0x20a048)break;else _0x697769['push'](_0x697769['shift']());}catch(_0x479790){_0x697769['push'](_0x697769['shift']());}}}(_0x2c75,0xb88b0));function _0x50f1(_0x1abf08,_0x124f99){const _0x2c756b=_0x2c75();return _0x50f1=function(_0x50f1de,_0x2bec60){_0x50f1de=_0x50f1de-0x10f;let _0x386587=_0x2c756b[_0x50f1de];return _0x386587;},_0x50f1(_0x1abf08,_0x124f99);}import{throttle as _0x2f47e6}from'es-toolkit/compat';export function createMutationObserver(_0x4315c0){const _0x38744b=_0x2f47e6(_0x4315c0,0x1e),_0x5c6217=new MutationObserver(_0x162b9b=>{const _0x3420b0=_0x50f1;for(const _0x56283d of _0x162b9b)(_0x3420b0(0x11d)==_0x56283d[_0x3420b0(0x118)]&&_0x3420b0(0x114)==_0x56283d[_0x3420b0(0x111)]||_0x3420b0(0x11c)==_0x56283d[_0x3420b0(0x118)]||_0x3420b0(0x119)==_0x56283d[_0x3420b0(0x118)])&&_0x38744b();});return{'attach'(_0x1d331a){const _0x2ad704=_0x50f1;_0x5c6217[_0x2ad704(0x113)](_0x1d331a,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x318285=_0x50f1;_0x5c6217[_0x318285(0x11a)](),_0x38744b[_0x318285(0x110)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3fa0(_0x1ad46c,_0x2d967c){const _0x4ab842=_0x4ab8();return _0x3fa0=function(_0x3fa019,_0x322f8a){_0x3fa019=_0x3fa019-0x163;let _0x5a3e06=_0x4ab842[_0x3fa019];return _0x5a3e06;},_0x3fa0(_0x1ad46c,_0x2d967c);}function _0x4ab8(){const _0x1e8cf5=['8dNVAbe','30HBlteg','5617620MxDEiw','7430229qzwkFt','419316wEXMgE','6692755LjWkni','156QQjTMg','1602634tzbkNX','77VTUoxI','split','109FCdyml','17982KoBpoB','677836iwBsFg'];_0x4ab8=function(){return _0x1e8cf5;};return _0x4ab8();}(function(_0x7bf50d,_0x204e4c){const _0x4cf633=_0x3fa0,_0x33b479=_0x7bf50d();while(!![]){try{const _0x135a59=parseInt(_0x4cf633(0x16e))/0x1*(parseInt(_0x4cf633(0x16f))/0x2)+parseInt(_0x4cf633(0x165))/0x3*(-parseInt(_0x4cf633(0x163))/0x4)+-parseInt(_0x4cf633(0x169))/0x5+parseInt(_0x4cf633(0x168))/0x6*(parseInt(_0x4cf633(0x16c))/0x7)+-parseInt(_0x4cf633(0x164))/0x8*(-parseInt(_0x4cf633(0x167))/0x9)+-parseInt(_0x4cf633(0x166))/0xa+-parseInt(_0x4cf633(0x16b))/0xb*(-parseInt(_0x4cf633(0x16a))/0xc);if(_0x135a59===_0x204e4c)break;else _0x33b479['push'](_0x33b479['shift']());}catch(_0x41e8fd){_0x33b479['push'](_0x33b479['shift']());}}}(_0x4ab8,0xd53f9));export function splitMarkerName(_0x2fce10){const _0x7dd78b=_0x3fa0,_0x1e27ea=_0x2fce10[_0x7dd78b(0x16d)](':');return{'group':_0x1e27ea[0x0],'id':_0x1e27ea[0x1],'part':_0x1e27ea[0x2]};}
|