@ckeditor/ckeditor5-comments 45.1.0-alpha.4 → 45.1.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +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/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +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 _0x4e3d89=_0x4f46;function _0x4f46(_0x8e80ff,_0x121dbd){const _0x56394a=_0x5639();return _0x4f46=function(_0x4f46e2,_0x38b9df){_0x4f46e2=_0x4f46e2-0x13d;let _0x48edae=_0x56394a[_0x4f46e2];return _0x48edae;},_0x4f46(_0x8e80ff,_0x121dbd);}(function(_0x5c6d52,_0x1cd067){const _0x57fb1e=_0x4f46,_0x5ce639=_0x5c6d52();while(!![]){try{const _0x491781=parseInt(_0x57fb1e(0x199))/0x1+-parseInt(_0x57fb1e(0x16a))/0x2*(parseInt(_0x57fb1e(0x154))/0x3)+parseInt(_0x57fb1e(0x14c))/0x4*(parseInt(_0x57fb1e(0x17a))/0x5)+-parseInt(_0x57fb1e(0x184))/0x6+-parseInt(_0x57fb1e(0x17d))/0x7*(-parseInt(_0x57fb1e(0x188))/0x8)+-parseInt(_0x57fb1e(0x174))/0x9*(parseInt(_0x57fb1e(0x16f))/0xa)+-parseInt(_0x57fb1e(0x19a))/0xb;if(_0x491781===_0x1cd067)break;else _0x5ce639['push'](_0x5ce639['shift']());}catch(_0x3ee916){_0x5ce639['push'](_0x5ce639['shift']());}}}(_0x5639,0xe0eba));import{View as _0x57f0e6,FocusCycler as _0x2e1e11}from'ckeditor5/src/ui.js';import{diff as _0x40e6f1,Collection as _0x38d81c,FocusTracker as _0x46b6fb,KeystrokeHandler as _0x376b5d}from'ckeditor5/src/utils.js';function _0x5639(){const _0x48aa72=['_rearrangeExpand','change','resolveCommentThread','map','maxCommentCharsWhenCollapsed','focusLast','ck-thread__comments','_shouldCollapse','listenTo','change:isEditMode','_collapsedCommentsView','CommentView','keystrokes','_rearrangeCollapse','count','1816445nmfzRW','6617622Aelpbv','locale','viewUid','createCollection','_model','editorReady','commentViews','some','change:isActive','focusCycler','setTemplate','editorConfig','_findOptimalIndex','visibleViews','hasDirtyComment','_handleRemoveCommentModel','resolvedAt','focusTracker','remove','formatDateTime','939852Dhxucy','removed','bindTemplate','_calculatePosition','change:isResolved','length','arrowup','bind','3273465OwDNqo','refreshVisibleViews','maxCommentsWhenCollapsed','isActive','expand','_handleNewCommentModel','reverse','forEach','resolvedCommentView','Thread\x20comments','set','focusFirst','get','stopListening','_handleInfoComment','commentUpdated','weight','delegate','added','equal','Marked\x20as\x20resolved','comments','2eTnjAf','resolved','removeComment','includes','collapse','10iJjvtE','insert','isEditMode','updateComment','_setupKeyboardNavigation','4224078zjyRJR','delete','add','focus','change:hasDirtyComment','_updateHasDirtyComment','15HLDUCa','editorDestroyed','from','4462528euIweY','authoredAt','ck-hidden','_config','resolvedBy','destroy','render','452790TCdQZI','target','maxThreadTotalWeight','arrowdown','8ZHfSrS','element'];_0x5639=function(){return _0x48aa72;};return _0x5639();}import{getTranslation as _0x2e1d76}from'../../../utils/common-translations.js';import _0x167646 from'./collapsedcommentsview.js';export default class te extends _0x57f0e6{[_0x4e3d89(0x13e)];[_0x4e3d89(0x15c)];[_0x4e3d89(0x149)];[_0x4e3d89(0x196)];[_0x4e3d89(0x141)];[_0x4e3d89(0x19e)];[_0x4e3d89(0x180)];[_0x4e3d89(0x194)];constructor(_0x54b8f7,_0x1ac833,_0x1d1fbd){const _0x1ef15f=_0x4e3d89;super(_0x54b8f7);const _0x1a775a=this[_0x1ef15f(0x14e)];this[_0x1ef15f(0x15e)](_0x1ef15f(0x146),!0x1),this[_0x1ef15f(0x15e)](_0x1ef15f(0x151),_0x1ac833[_0x1ef15f(0x169)][_0x1ef15f(0x151)]),this[_0x1ef15f(0x15e)](_0x1ef15f(0x157),!0x1),this[_0x1ef15f(0x19e)]=_0x1ac833,this[_0x1ef15f(0x180)]=_0x1d1fbd,this[_0x1ef15f(0x13e)]=this[_0x1ef15f(0x19d)](),this[_0x1ef15f(0x145)]=this[_0x1ef15f(0x19d)](),this[_0x1ef15f(0x15c)]=null,this[_0x1ef15f(0x149)]=new _0x46b6fb(),this[_0x1ef15f(0x196)]=new _0x376b5d(),this[_0x1ef15f(0x141)]=new _0x2e1e11({'focusables':this[_0x1ef15f(0x13e)],'focusTracker':this[_0x1ef15f(0x149)],'keystrokeHandler':this[_0x1ef15f(0x196)],'keystrokeHandlerOptions':{'filter':_0x582c44=>this[_0x1ef15f(0x13e)][_0x1ef15f(0x18d)](_0x13e590=>_0x13e590[_0x1ef15f(0x189)])[_0x1ef15f(0x16d)](_0x582c44[_0x1ef15f(0x185)])},'actions':{'focusPrevious':_0x1ef15f(0x152),'focusNext':_0x1ef15f(0x187)}}),this[_0x1ef15f(0x194)]=new _0x167646(_0x54b8f7),this[_0x1ef15f(0x194)][_0x1ef15f(0x153)](_0x1ef15f(0x198))['to'](this,_0x1ef15f(0x151),_0x225baf=>_0x225baf-this[_0x1ef15f(0x180)][_0x1ef15f(0x156)]);for(const _0x50e125 of _0x1ac833[_0x1ef15f(0x169)])this[_0x1ef15f(0x159)](_0x50e125);this[_0x1ef15f(0x162)](),this[_0x1ef15f(0x192)](_0x1ac833[_0x1ef15f(0x169)],_0x1ef15f(0x176),(_0x1bd390,_0x641ffb)=>{const _0x1e51e8=_0x1ef15f,_0x448d61=this[_0x1e51e8(0x14f)](_0x641ffb);this[_0x1e51e8(0x151)]++,this[_0x1e51e8(0x159)](_0x641ffb,_0x448d61),this[_0x1e51e8(0x155)]();}),this[_0x1ef15f(0x192)](_0x1ac833[_0x1ef15f(0x169)],_0x1ef15f(0x14a),(_0x1cc1cd,_0x56b28c)=>{const _0x46be98=_0x1ef15f;this[_0x46be98(0x151)]--,this[_0x46be98(0x147)](_0x56b28c),this[_0x46be98(0x155)]();}),this[_0x1ef15f(0x192)](_0x1ac833,_0x1ef15f(0x163),()=>this[_0x1ef15f(0x155)]()),this[_0x1ef15f(0x192)](_0x1ac833,_0x1ef15f(0x150),()=>this[_0x1ef15f(0x162)]()),this['on'](_0x1ef15f(0x140),()=>this[_0x1ef15f(0x155)]()),this['on'](_0x1ef15f(0x178),()=>this[_0x1ef15f(0x155)]()),this[_0x1ef15f(0x142)]({'tag':'ul','attributes':{'class':[_0x1ef15f(0x190),_0x1a775a['if'](_0x1ef15f(0x151),_0x1ef15f(0x17f),_0x139aa4=>!_0x139aa4)],'aria-label':_0x2e1d76(_0x54b8f7,_0x1ef15f(0x15d))},'children':this[_0x1ef15f(0x145)]});}get[_0x4e3d89(0x191)](){const _0x459cfb=_0x4e3d89;return this[_0x459cfb(0x19e)][_0x459cfb(0x164)]>this[_0x459cfb(0x180)][_0x459cfb(0x186)]&&!this[_0x459cfb(0x157)]&&!this[_0x459cfb(0x146)];}[_0x4e3d89(0x183)](){const _0x25454d=_0x4e3d89;super[_0x25454d(0x183)](),this[_0x25454d(0x155)](),this[_0x25454d(0x173)]();}[_0x4e3d89(0x177)](_0x96791a){const _0x58282d=_0x4e3d89;-0x1===_0x96791a?this[_0x58282d(0x141)][_0x58282d(0x18f)]():this[_0x58282d(0x141)][_0x58282d(0x15f)]();}[_0x4e3d89(0x182)](){const _0x24c76f=_0x4e3d89;this[_0x24c76f(0x194)][_0x24c76f(0x182)]();for(const _0x45382b of this[_0x24c76f(0x13e)])_0x45382b[_0x24c76f(0x182)]();super[_0x24c76f(0x182)]();}[_0x4e3d89(0x155)](){const _0x4730b9=_0x4e3d89;this[_0x4730b9(0x191)]?this[_0x4730b9(0x197)]():this[_0x4730b9(0x18a)]();}[_0x4e3d89(0x159)](_0x339917,_0x2ac753){const _0x51d0da=_0x4e3d89,_0x5a2f68=new this[(_0x51d0da(0x180))][(_0x51d0da(0x195))](this[_0x51d0da(0x19b)],_0x339917,{'maxCommentCharsWhenCollapsed':this[_0x51d0da(0x180)][_0x51d0da(0x18e)],'formatDateTime':this[_0x51d0da(0x180)][_0x51d0da(0x14b)],'editorConfig':this[_0x51d0da(0x180)][_0x51d0da(0x143)]});_0x5a2f68[_0x51d0da(0x19c)]=_0x339917['id'],_0x5a2f68[_0x51d0da(0x165)](_0x51d0da(0x16c))['to'](this),_0x5a2f68[_0x51d0da(0x165)](_0x51d0da(0x172))['to'](this),_0x5a2f68[_0x51d0da(0x165)](_0x51d0da(0x18c))['to'](this),_0x5a2f68[_0x51d0da(0x165)](_0x51d0da(0x13d))['to'](this),_0x5a2f68[_0x51d0da(0x165)](_0x51d0da(0x17b))['to'](this),this[_0x51d0da(0x192)](_0x5a2f68,_0x51d0da(0x193),()=>this[_0x51d0da(0x179)]()),this[_0x51d0da(0x13e)][_0x51d0da(0x176)](_0x5a2f68,_0x2ac753);}[_0x4e3d89(0x14f)](_0x30d6a0){const _0xaffc7f=_0x4e3d89,_0x29ae27=this[_0xaffc7f(0x19e)][_0xaffc7f(0x144)](_0x30d6a0);return this[_0xaffc7f(0x15c)]?this[_0xaffc7f(0x15c)][_0xaffc7f(0x17e)]>_0x30d6a0[_0xaffc7f(0x17e)]?_0x29ae27-0x1:_0x29ae27:_0x29ae27-0x1;}[_0x4e3d89(0x162)](){const _0x5ea2bc=_0x4e3d89;if(this[_0x5ea2bc(0x19e)][_0x5ea2bc(0x181)]&&this[_0x5ea2bc(0x19e)][_0x5ea2bc(0x148)]){const _0x5ab521={'id':_0x5ea2bc(0x16b),'author':this[_0x5ea2bc(0x19e)][_0x5ea2bc(0x181)],'authoredAt':this[_0x5ea2bc(0x19e)][_0x5ea2bc(0x148)],'content':_0x2e1d76(this[_0x5ea2bc(0x19b)],_0x5ea2bc(0x168)),'attributes':{}};this[_0x5ea2bc(0x15c)]=new this[(_0x5ea2bc(0x180))][(_0x5ea2bc(0x195))](this[_0x5ea2bc(0x19b)],_0x5ab521,{'maxCommentCharsWhenCollapsed':this[_0x5ea2bc(0x180)][_0x5ea2bc(0x18e)],'formatDateTime':this[_0x5ea2bc(0x180)][_0x5ea2bc(0x14b)],'editorConfig':this[_0x5ea2bc(0x180)][_0x5ea2bc(0x143)],'isSystemComment':!0x0}),this[_0x5ea2bc(0x13e)][_0x5ea2bc(0x176)](this[_0x5ea2bc(0x15c)],this[_0x5ea2bc(0x19e)][_0x5ea2bc(0x144)](_0x5ab521));}else this[_0x5ea2bc(0x15c)]&&(this[_0x5ea2bc(0x13e)][_0x5ea2bc(0x14a)](this[_0x5ea2bc(0x15c)]),this[_0x5ea2bc(0x15c)][_0x5ea2bc(0x182)](),this[_0x5ea2bc(0x15c)]=null);this[_0x5ea2bc(0x155)]();}[_0x4e3d89(0x147)](_0x259f38){const _0x1fce3c=_0x4e3d89,_0x351eca=this[_0x1fce3c(0x13e)][_0x1fce3c(0x14a)](_0x259f38['id']);this[_0x1fce3c(0x161)](_0x351eca),_0x351eca[_0x1fce3c(0x171)]&&this[_0x1fce3c(0x179)](),_0x351eca[_0x1fce3c(0x182)]();}[_0x4e3d89(0x179)](){const _0x213341=_0x4e3d89;this[_0x213341(0x146)]=Array[_0x213341(0x17c)](this[_0x213341(0x13e)])[_0x213341(0x13f)](_0x575b05=>_0x575b05[_0x213341(0x171)]);}[_0x4e3d89(0x197)](){const _0x5c38cd=_0x4e3d89,_0x32a90e=function(_0x47af44){const _0x9fd55c=_0x4f46,_0xc12b3b=new _0x38d81c();for(const _0x10fb90 of _0x47af44)_0xc12b3b[_0x9fd55c(0x176)](_0x10fb90);return _0xc12b3b;}(this[_0x5c38cd(0x13e)]),_0x1f20af=this[_0x5c38cd(0x194)][_0x5c38cd(0x198)];for(let _0x2e9194=0x1;_0x2e9194<=_0x1f20af;_0x2e9194++)_0x32a90e[_0x5c38cd(0x14a)](0x1);for(const _0x5a7de8 of _0x32a90e)_0x5a7de8[_0x5c38cd(0x16e)]();_0x1f20af>0x0&&_0x32a90e[_0x5c38cd(0x176)](this[_0x5c38cd(0x194)],0x1),ns(_0x40e6f1(Array[_0x5c38cd(0x17c)](this[_0x5c38cd(0x145)]),Array[_0x5c38cd(0x17c)](_0x32a90e)),this[_0x5c38cd(0x145)],_0x32a90e);}[_0x4e3d89(0x18a)](){const _0x5a4fbb=_0x4e3d89;ns(_0x40e6f1(Array[_0x5a4fbb(0x17c)](this[_0x5a4fbb(0x145)]),Array[_0x5a4fbb(0x17c)](this[_0x5a4fbb(0x13e)])),this[_0x5a4fbb(0x145)],this[_0x5a4fbb(0x13e)]);for(const _0x409f72 of this[_0x5a4fbb(0x145)])_0x409f72[_0x5a4fbb(0x158)]();}[_0x4e3d89(0x173)](){const _0x4d55a9=_0x4e3d89;this[_0x4d55a9(0x13e)][_0x4d55a9(0x15b)](_0x488d9f=>{const _0x3d3c0a=_0x4d55a9;this[_0x3d3c0a(0x149)][_0x3d3c0a(0x176)](_0x488d9f[_0x3d3c0a(0x189)]),this[_0x3d3c0a(0x196)][_0x3d3c0a(0x192)](_0x488d9f[_0x3d3c0a(0x189)]);}),this[_0x4d55a9(0x13e)]['on'](_0x4d55a9(0x18b),(_0x2de9de,_0x303202)=>{const _0x37c0ef=_0x4d55a9;for(const _0x123824 of _0x303202[_0x37c0ef(0x14d)])this[_0x37c0ef(0x149)][_0x37c0ef(0x14a)](_0x123824[_0x37c0ef(0x189)]),this[_0x37c0ef(0x196)][_0x37c0ef(0x161)](_0x123824[_0x37c0ef(0x189)]);for(const _0x1774b1 of Array[_0x37c0ef(0x17c)](_0x303202[_0x37c0ef(0x166)])[_0x37c0ef(0x15a)]())this[_0x37c0ef(0x149)][_0x37c0ef(0x176)](_0x1774b1[_0x37c0ef(0x189)]),this[_0x37c0ef(0x196)][_0x37c0ef(0x192)](_0x1774b1[_0x37c0ef(0x189)]);});}}function ns(_0x3655f5,_0x27fad9,_0xda360a){const _0x1502a5=_0x4e3d89;let _0x2c230c=0x0;for(const _0x1b3d45 of _0x3655f5)switch(_0x1b3d45){case _0x1502a5(0x170):_0x27fad9[_0x1502a5(0x176)](_0xda360a[_0x1502a5(0x160)](_0x2c230c),_0x2c230c),_0x2c230c++;break;case _0x1502a5(0x175):_0x27fad9[_0x1502a5(0x14a)](_0x2c230c);break;case _0x1502a5(0x167):_0x2c230c++;}}
|
|
23
|
+
const _0x41110f=_0x2a98;(function(_0x488406,_0x30e777){const _0x36d337=_0x2a98,_0x1627fa=_0x488406();while(!![]){try{const _0x1bd9f9=-parseInt(_0x36d337(0xc6))/0x1*(-parseInt(_0x36d337(0x89))/0x2)+parseInt(_0x36d337(0xb2))/0x3+parseInt(_0x36d337(0xc0))/0x4*(-parseInt(_0x36d337(0x67))/0x5)+-parseInt(_0x36d337(0x8e))/0x6+parseInt(_0x36d337(0x6c))/0x7*(-parseInt(_0x36d337(0xbb))/0x8)+parseInt(_0x36d337(0x90))/0x9*(-parseInt(_0x36d337(0x97))/0xa)+-parseInt(_0x36d337(0xc7))/0xb*(-parseInt(_0x36d337(0x6e))/0xc);if(_0x1bd9f9===_0x30e777)break;else _0x1627fa['push'](_0x1627fa['shift']());}catch(_0x47fa4b){_0x1627fa['push'](_0x1627fa['shift']());}}}(_0x13e8,0x9afec));import{View as _0x45c669,FocusCycler as _0x267969}from'ckeditor5/src/ui.js';import{diff as _0x19ebfe,Collection as _0x33882f,FocusTracker as _0x679cd8,KeystrokeHandler as _0x11fb2f}from'ckeditor5/src/utils.js';import{getTranslation as _0x39da63}from'../../../utils/common-translations.js';function _0x13e8(){const _0x3f6432=['isActive','245580AbhSxx','from','createCollection','formatDateTime','weight','set','bindTemplate','resolvedAt','focusLast','change:isActive','_updateHasDirtyComment','count','change:isEditMode','maxThreadTotalWeight','some','commentUpdated','refreshVisibleViews','change:hasDirtyComment','_handleRemoveCommentModel','get','updateComment','arrowup','insert','arrowdown','_findOptimalIndex','CommentView','ck-thread__comments','3015942bBFIZm','_calculatePosition','comments','focus','includes','stopListening','editorReady','isEditMode','add','27512WPGhrV','maxCommentsWhenCollapsed','destroy','removed','locale','1530548sCpKjW','_collapsedCommentsView','resolvedCommentView','Thread\x20comments','visibleViews','map','2wFruWY','22KDGghS','editorConfig','_handleInfoComment','5LYSZTq','resolved','removeComment','element','reverse','1197izOOIH','delete','9619332niOyqU','length','ck-hidden','_config','change','remove','keystrokes','maxCommentCharsWhenCollapsed','_shouldCollapse','authoredAt','collapse','focusCycler','_setupKeyboardNavigation','render','resolvedBy','forEach','commentViews','target','editorDestroyed','viewUid','delegate','focusFirst','added','bind','focusTracker','Marked\x20as\x20resolved','setTemplate','311390GdozFq','hasDirtyComment','expand','_rearrangeExpand','equal','666108wlFKMA','change:isResolved','441pOFpjw','_handleNewCommentModel','listenTo','_model','resolveCommentThread','_rearrangeCollapse'];_0x13e8=function(){return _0x3f6432;};return _0x13e8();}import _0x3a5f49 from'./collapsedcommentsview.js';function _0x2a98(_0x1c8e46,_0x1d0d4){const _0x13e848=_0x13e8();return _0x2a98=function(_0x2a98e1,_0x65470a){_0x2a98e1=_0x2a98e1-0x65;let _0x516749=_0x13e848[_0x2a98e1];return _0x516749;},_0x2a98(_0x1c8e46,_0x1d0d4);}export default class te extends _0x45c669{[_0x41110f(0x7e)];[_0x41110f(0xc2)];[_0x41110f(0x86)];[_0x41110f(0x74)];[_0x41110f(0x79)];[_0x41110f(0x93)];[_0x41110f(0x71)];[_0x41110f(0xc1)];constructor(_0x81dee0,_0x4a7438,_0x336221){const _0x37fed8=_0x41110f;super(_0x81dee0);const _0x936de2=this[_0x37fed8(0x9d)];this[_0x37fed8(0x9c)](_0x37fed8(0x8a),!0x1),this[_0x37fed8(0x9c)](_0x37fed8(0x6f),_0x4a7438[_0x37fed8(0xb4)][_0x37fed8(0x6f)]),this[_0x37fed8(0x9c)](_0x37fed8(0x96),!0x1),this[_0x37fed8(0x93)]=_0x4a7438,this[_0x37fed8(0x71)]=_0x336221,this[_0x37fed8(0x7e)]=this[_0x37fed8(0x99)](),this[_0x37fed8(0xc4)]=this[_0x37fed8(0x99)](),this[_0x37fed8(0xc2)]=null,this[_0x37fed8(0x86)]=new _0x679cd8(),this[_0x37fed8(0x74)]=new _0x11fb2f(),this[_0x37fed8(0x79)]=new _0x267969({'focusables':this[_0x37fed8(0x7e)],'focusTracker':this[_0x37fed8(0x86)],'keystrokeHandler':this[_0x37fed8(0x74)],'keystrokeHandlerOptions':{'filter':_0x41d56f=>this[_0x37fed8(0x7e)][_0x37fed8(0xc5)](_0x4eefb6=>_0x4eefb6[_0x37fed8(0x6a)])[_0x37fed8(0xb6)](_0x41d56f[_0x37fed8(0x7f)])},'actions':{'focusPrevious':_0x37fed8(0xac),'focusNext':_0x37fed8(0xae)}}),this[_0x37fed8(0xc1)]=new _0x3a5f49(_0x81dee0),this[_0x37fed8(0xc1)][_0x37fed8(0x85)](_0x37fed8(0xa2))['to'](this,_0x37fed8(0x6f),_0x502180=>_0x502180-this[_0x37fed8(0x71)][_0x37fed8(0xbc)]);for(const _0x553209 of _0x4a7438[_0x37fed8(0xb4)])this[_0x37fed8(0x91)](_0x553209);this[_0x37fed8(0x66)](),this[_0x37fed8(0x92)](_0x4a7438[_0x37fed8(0xb4)],_0x37fed8(0xba),(_0x41d059,_0x3d82ac)=>{const _0x1c3f91=_0x37fed8,_0x2b0115=this[_0x1c3f91(0xb3)](_0x3d82ac);this[_0x1c3f91(0x6f)]++,this[_0x1c3f91(0x91)](_0x3d82ac,_0x2b0115),this[_0x1c3f91(0xa7)]();}),this[_0x37fed8(0x92)](_0x4a7438[_0x37fed8(0xb4)],_0x37fed8(0x73),(_0x5e0f77,_0x4a519a)=>{const _0x224036=_0x37fed8;this[_0x224036(0x6f)]--,this[_0x224036(0xa9)](_0x4a519a),this[_0x224036(0xa7)]();}),this[_0x37fed8(0x92)](_0x4a7438,_0x37fed8(0xa6),()=>this[_0x37fed8(0xa7)]()),this[_0x37fed8(0x92)](_0x4a7438,_0x37fed8(0x8f),()=>this[_0x37fed8(0x66)]()),this['on'](_0x37fed8(0xa0),()=>this[_0x37fed8(0xa7)]()),this['on'](_0x37fed8(0xa8),()=>this[_0x37fed8(0xa7)]()),this[_0x37fed8(0x88)]({'tag':'ul','attributes':{'class':[_0x37fed8(0xb1),_0x936de2['if'](_0x37fed8(0x6f),_0x37fed8(0x70),_0x353bbf=>!_0x353bbf)],'aria-label':_0x39da63(_0x81dee0,_0x37fed8(0xc3))},'children':this[_0x37fed8(0xc4)]});}get[_0x41110f(0x76)](){const _0x4789c6=_0x41110f;return this[_0x4789c6(0x93)][_0x4789c6(0x9b)]>this[_0x4789c6(0x71)][_0x4789c6(0xa4)]&&!this[_0x4789c6(0x96)]&&!this[_0x4789c6(0x8a)];}[_0x41110f(0x7b)](){const _0x496d3f=_0x41110f;super[_0x496d3f(0x7b)](),this[_0x496d3f(0xa7)](),this[_0x496d3f(0x7a)]();}[_0x41110f(0xb5)](_0x44bc7e){const _0x16a681=_0x41110f;-0x1===_0x44bc7e?this[_0x16a681(0x79)][_0x16a681(0x9f)]():this[_0x16a681(0x79)][_0x16a681(0x83)]();}[_0x41110f(0xbd)](){const _0x186391=_0x41110f;this[_0x186391(0xc1)][_0x186391(0xbd)]();for(const _0x35c114 of this[_0x186391(0x7e)])_0x35c114[_0x186391(0xbd)]();super[_0x186391(0xbd)]();}[_0x41110f(0xa7)](){const _0x4b2cac=_0x41110f;this[_0x4b2cac(0x76)]?this[_0x4b2cac(0x95)]():this[_0x4b2cac(0x8c)]();}[_0x41110f(0x91)](_0x2b16ec,_0x3523f1){const _0x2df057=_0x41110f,_0x2a38d2=new this[(_0x2df057(0x71))][(_0x2df057(0xb0))](this[_0x2df057(0xbf)],_0x2b16ec,{'maxCommentCharsWhenCollapsed':this[_0x2df057(0x71)][_0x2df057(0x75)],'formatDateTime':this[_0x2df057(0x71)][_0x2df057(0x9a)],'editorConfig':this[_0x2df057(0x71)][_0x2df057(0x65)]});_0x2a38d2[_0x2df057(0x81)]=_0x2b16ec['id'],_0x2a38d2[_0x2df057(0x82)](_0x2df057(0x69))['to'](this),_0x2a38d2[_0x2df057(0x82)](_0x2df057(0xab))['to'](this),_0x2a38d2[_0x2df057(0x82)](_0x2df057(0x94))['to'](this),_0x2a38d2[_0x2df057(0x82)](_0x2df057(0xb8))['to'](this),_0x2a38d2[_0x2df057(0x82)](_0x2df057(0x80))['to'](this),this[_0x2df057(0x92)](_0x2a38d2,_0x2df057(0xa3),()=>this[_0x2df057(0xa1)]()),this[_0x2df057(0x7e)][_0x2df057(0xba)](_0x2a38d2,_0x3523f1);}[_0x41110f(0xb3)](_0x5bf227){const _0x844ae0=_0x41110f,_0xd9e4d0=this[_0x844ae0(0x93)][_0x844ae0(0xaf)](_0x5bf227);return this[_0x844ae0(0xc2)]?this[_0x844ae0(0xc2)][_0x844ae0(0x77)]>_0x5bf227[_0x844ae0(0x77)]?_0xd9e4d0-0x1:_0xd9e4d0:_0xd9e4d0-0x1;}[_0x41110f(0x66)](){const _0x29cd4e=_0x41110f;if(this[_0x29cd4e(0x93)][_0x29cd4e(0x7c)]&&this[_0x29cd4e(0x93)][_0x29cd4e(0x9e)]){const _0x41b1b6={'id':_0x29cd4e(0x68),'author':this[_0x29cd4e(0x93)][_0x29cd4e(0x7c)],'authoredAt':this[_0x29cd4e(0x93)][_0x29cd4e(0x9e)],'content':_0x39da63(this[_0x29cd4e(0xbf)],_0x29cd4e(0x87)),'attributes':{}};this[_0x29cd4e(0xc2)]=new this[(_0x29cd4e(0x71))][(_0x29cd4e(0xb0))](this[_0x29cd4e(0xbf)],_0x41b1b6,{'maxCommentCharsWhenCollapsed':this[_0x29cd4e(0x71)][_0x29cd4e(0x75)],'formatDateTime':this[_0x29cd4e(0x71)][_0x29cd4e(0x9a)],'editorConfig':this[_0x29cd4e(0x71)][_0x29cd4e(0x65)],'isSystemComment':!0x0}),this[_0x29cd4e(0x7e)][_0x29cd4e(0xba)](this[_0x29cd4e(0xc2)],this[_0x29cd4e(0x93)][_0x29cd4e(0xaf)](_0x41b1b6));}else this[_0x29cd4e(0xc2)]&&(this[_0x29cd4e(0x7e)][_0x29cd4e(0x73)](this[_0x29cd4e(0xc2)]),this[_0x29cd4e(0xc2)][_0x29cd4e(0xbd)](),this[_0x29cd4e(0xc2)]=null);this[_0x29cd4e(0xa7)]();}[_0x41110f(0xa9)](_0x39cfba){const _0x2b28c5=_0x41110f,_0x47180c=this[_0x2b28c5(0x7e)][_0x2b28c5(0x73)](_0x39cfba['id']);this[_0x2b28c5(0xb7)](_0x47180c),_0x47180c[_0x2b28c5(0xb9)]&&this[_0x2b28c5(0xa1)](),_0x47180c[_0x2b28c5(0xbd)]();}[_0x41110f(0xa1)](){const _0xeb8f18=_0x41110f;this[_0xeb8f18(0x8a)]=Array[_0xeb8f18(0x98)](this[_0xeb8f18(0x7e)])[_0xeb8f18(0xa5)](_0x57e107=>_0x57e107[_0xeb8f18(0xb9)]);}[_0x41110f(0x95)](){const _0x2b1a96=_0x41110f,_0x1d9ee5=function(_0x4c0a1b){const _0x5e5afd=_0x2a98,_0x24b48f=new _0x33882f();for(const _0x33e93d of _0x4c0a1b)_0x24b48f[_0x5e5afd(0xba)](_0x33e93d);return _0x24b48f;}(this[_0x2b1a96(0x7e)]),_0x5648bd=this[_0x2b1a96(0xc1)][_0x2b1a96(0xa2)];for(let _0x539543=0x1;_0x539543<=_0x5648bd;_0x539543++)_0x1d9ee5[_0x2b1a96(0x73)](0x1);for(const _0x286ec4 of _0x1d9ee5)_0x286ec4[_0x2b1a96(0x78)]();_0x5648bd>0x0&&_0x1d9ee5[_0x2b1a96(0xba)](this[_0x2b1a96(0xc1)],0x1),ns(_0x19ebfe(Array[_0x2b1a96(0x98)](this[_0x2b1a96(0xc4)]),Array[_0x2b1a96(0x98)](_0x1d9ee5)),this[_0x2b1a96(0xc4)],_0x1d9ee5);}[_0x41110f(0x8c)](){const _0xb07014=_0x41110f;ns(_0x19ebfe(Array[_0xb07014(0x98)](this[_0xb07014(0xc4)]),Array[_0xb07014(0x98)](this[_0xb07014(0x7e)])),this[_0xb07014(0xc4)],this[_0xb07014(0x7e)]);for(const _0x27b11 of this[_0xb07014(0xc4)])_0x27b11[_0xb07014(0x8b)]();}[_0x41110f(0x7a)](){const _0x22eb43=_0x41110f;this[_0x22eb43(0x7e)][_0x22eb43(0x7d)](_0x623324=>{const _0x36c3fa=_0x22eb43;this[_0x36c3fa(0x86)][_0x36c3fa(0xba)](_0x623324[_0x36c3fa(0x6a)]),this[_0x36c3fa(0x74)][_0x36c3fa(0x92)](_0x623324[_0x36c3fa(0x6a)]);}),this[_0x22eb43(0x7e)]['on'](_0x22eb43(0x72),(_0x5f53fc,_0x1e7b1c)=>{const _0x1f0838=_0x22eb43;for(const _0x5f32f8 of _0x1e7b1c[_0x1f0838(0xbe)])this[_0x1f0838(0x86)][_0x1f0838(0x73)](_0x5f32f8[_0x1f0838(0x6a)]),this[_0x1f0838(0x74)][_0x1f0838(0xb7)](_0x5f32f8[_0x1f0838(0x6a)]);for(const _0xd21ce2 of Array[_0x1f0838(0x98)](_0x1e7b1c[_0x1f0838(0x84)])[_0x1f0838(0x6b)]())this[_0x1f0838(0x86)][_0x1f0838(0xba)](_0xd21ce2[_0x1f0838(0x6a)]),this[_0x1f0838(0x74)][_0x1f0838(0x92)](_0xd21ce2[_0x1f0838(0x6a)]);});}}function ns(_0x4a64a0,_0x2f3212,_0x5e448c){const _0x30d515=_0x41110f;let _0xf49085=0x0;for(const _0x5525dc of _0x4a64a0)switch(_0x5525dc){case _0x30d515(0xad):_0x2f3212[_0x30d515(0xba)](_0x5e448c[_0x30d515(0xaa)](_0xf49085),_0xf49085),_0xf49085++;break;case _0x30d515(0x6d):_0x2f3212[_0x30d515(0x73)](_0xf49085);break;case _0x30d515(0x8d):_0xf49085++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4cc2(_0x1d91d1,_0x30675b){const _0x300ec8=_0x300e();return _0x4cc2=function(_0x4cc210,_0x26c37d){_0x4cc210=_0x4cc210-0x17b;let _0x240464=_0x300ec8[_0x4cc210];return _0x240464;},_0x4cc2(_0x1d91d1,_0x30675b);}const _0x41f240=_0x4cc2;(function(_0x4a43fc,_0x43a3ce){const _0x440455=_0x4cc2,_0x32e769=_0x4a43fc();while(!![]){try{const _0x752004=parseInt(_0x440455(0x17f))/0x1*(parseInt(_0x440455(0x187))/0x2)+-parseInt(_0x440455(0x189))/0x3+-parseInt(_0x440455(0x17e))/0x4*(-parseInt(_0x440455(0x18b))/0x5)+parseInt(_0x440455(0x183))/0x6*(-parseInt(_0x440455(0x188))/0x7)+-parseInt(_0x440455(0x18f))/0x8*(-parseInt(_0x440455(0x17c))/0x9)+parseInt(_0x440455(0x180))/0xa+-parseInt(_0x440455(0x185))/0xb*(-parseInt(_0x440455(0x18c))/0xc);if(_0x752004===_0x43a3ce)break;else _0x32e769['push'](_0x32e769['shift']());}catch(_0x5a6214){_0x32e769['push'](_0x32e769['shift']());}}}(_0x300e,0x71ebd));import{View as _0x440ae4}from'ckeditor5/src/ui.js';import{getTranslation as _0x5ca79f}from'../../../utils/common-translations.js';function _0x300e(){const _0xf2364c=['136788hdAWon','4296803WnYRwQ','2177073rVTuHN','THREAD_CONTEXT_LABEL','5krYCeP','60EHGMMf','contextValue','ck-context__value','8ClLchi','setTemplate','3991068vWahdY','element','2016292dIVgxT','8Lfazri','2746890ofsoqx','focus','bindTemplate','6JmcrDz','set','80905igLRMo','span'];_0x300e=function(){return _0xf2364c;};return _0x300e();}export default class as extends _0x440ae4{constructor(_0x4db50f){const _0x4738cb=_0x4cc2;super(_0x4db50f);const _0x192fb7=this[_0x4738cb(0x182)];this[_0x4738cb(0x184)](_0x4738cb(0x18d),''),this[_0x4738cb(0x17b)]({'tag':_0x4738cb(0x186),'attributes':{'class':['ck',_0x4738cb(0x18e)],'aria-label':_0x192fb7['to'](_0x4738cb(0x18d),_0x457043=>_0x5ca79f(_0x4db50f,_0x4738cb(0x18a),_0x457043)),'tabindex':-0x1},'children':[{'text':_0x192fb7['to'](_0x4738cb(0x18d))}]});}[_0x41f240(0x181)](){const _0x5ad5f1=_0x41f240;this[_0x5ad5f1(0x17d)][_0x5ad5f1(0x181)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1150b2=_0x1094;(function(_0x259158,_0x87d26e){const _0x5a492e=_0x1094,_0x22cbf2=_0x259158();while(!![]){try{const _0x20f1b8=-parseInt(_0x5a492e(0x99))/0x1*(parseInt(_0x5a492e(0x7b))/0x2)+-parseInt(_0x5a492e(0x72))/0x3*(-parseInt(_0x5a492e(0x6f))/0x4)+parseInt(_0x5a492e(0x84))/0x5*(-parseInt(_0x5a492e(0x90))/0x6)+-parseInt(_0x5a492e(0x96))/0x7+parseInt(_0x5a492e(0x86))/0x8+parseInt(_0x5a492e(0xa6))/0x9*(parseInt(_0x5a492e(0x74))/0xa)+parseInt(_0x5a492e(0x7a))/0xb*(parseInt(_0x5a492e(0x82))/0xc);if(_0x20f1b8===_0x87d26e)break;else _0x22cbf2['push'](_0x22cbf2['shift']());}catch(_0x26e913){_0x22cbf2['push'](_0x22cbf2['shift']());}}}(_0x327b,0x5d966));function _0x327b(){const _0x2aa771=['.ck-context','3220552rwIwWZ','_setupKeyboardNavigation','isReadOnly','shift+tab','value','bindTemplate','_createReopenButton','tooltip','execute','ck-thread__header','71766rvQXIO','lastIndexOf','reopenCommentThread','classList','context','focus','3560270lTJJsD','ck-context-wrapper','render','187256zRWATO','_model','icon','mouseenter','isVisible','createCollection','contextValue','bind','reopenButtonView','ck-context--quotes','focusCycler','locale','setTemplate','1998342qLaCSt','tab','ck-context','substring','element','isResolvable','focusables','Reopen','div','.ck-context__value','fire','keystrokes','scrollWidth','hasContext','offsetWidth','label','_trimContextValue','ck-annotation__actions','remove','12sYkcAu','isResolved','overlay','708198tKGSiM','_createContextView','10vIAjft','Comment\x20was\x20made\x20on\x20an\x20element','isEnabled','add','...','_attachContextActions','11152482iBobEU','8kliseT','querySelector','contextView','listenTo','length','focusFirst','focusTracker','12YxtqeY','mouseleave','295mCMgbS'];_0x327b=function(){return _0x2aa771;};return _0x327b();}function _0x1094(_0x4ef9d0,_0x37f229){const _0x327b7e=_0x327b();return _0x1094=function(_0x109441,_0x39440b){_0x109441=_0x109441-0x68;let _0x3f22f5=_0x327b7e[_0x109441];return _0x3f22f5;},_0x1094(_0x4ef9d0,_0x37f229);}import{View as _0x35b8c7,ButtonView as _0x3b336a,FocusCycler as _0xe5bb5e}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4385b2,KeystrokeHandler as _0x49514e}from'ckeditor5/src/utils.js';import{IconUndo as _0x2a236b}from'ckeditor5/src/icons.js';import{getTranslation as _0x428390}from'../../../utils/common-translations.js';import _0x362288 from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export default class Xt extends _0x35b8c7{[_0x1150b2(0x9a)];[_0x1150b2(0xa1)];[_0x1150b2(0x7d)];[_0x1150b2(0xac)];[_0x1150b2(0x81)];[_0x1150b2(0xb1)];[_0x1150b2(0xa3)];constructor(_0x3ffaf3,_0x3d950f){const _0x3fd162=_0x1150b2;super(_0x3ffaf3);const _0x2272a5=this[_0x3fd162(0x8b)];this[_0x3fd162(0x9a)]=_0x3d950f,this[_0x3fd162(0xa1)]=this[_0x3fd162(0x8c)](),this[_0x3fd162(0x7d)]=this[_0x3fd162(0x73)](),this[_0x3fd162(0xac)]=this[_0x3fd162(0x9e)]([this[_0x3fd162(0x7d)],this[_0x3fd162(0xa1)]]),this[_0x3fd162(0x81)]=new _0x4385b2(),this[_0x3fd162(0xb1)]=new _0x49514e(),this[_0x3fd162(0xa3)]=new _0xe5bb5e({'focusables':this[_0x3fd162(0xac)],'focusTracker':this[_0x3fd162(0x81)],'keystrokeHandler':this[_0x3fd162(0xb1)],'actions':{'focusPrevious':_0x3fd162(0x89),'focusNext':_0x3fd162(0xa7)}}),this[_0x3fd162(0xa0)](_0x3fd162(0x69))['to'](this[_0x3fd162(0x9a)],_0x3fd162(0x94),_0x16805c=>!!_0x16805c),this[_0x3fd162(0xa0)](_0x3fd162(0x9f))['to'](this[_0x3fd162(0x9a)],_0x3fd162(0x94),_0x198ea3=>_0x198ea3&&_0x198ea3[_0x3fd162(0x8a)]?this[_0x3fd162(0x6c)](_0x198ea3[_0x3fd162(0x8a)]):_0x428390(this[_0x3fd162(0xa4)],_0x3fd162(0x75))),this[_0x3fd162(0xa5)]({'tag':_0x3fd162(0xae),'attributes':{'class':[_0x3fd162(0x8f)]},'children':[{'tag':_0x3fd162(0xae),'attributes':{'class':[_0x3fd162(0x97)]},'children':[{'tag':_0x3fd162(0xae),'attributes':{'class':[_0x3fd162(0xa8),_0x2272a5['if'](_0x3fd162(0x69),_0x3fd162(0xa2))]},'children':[this[_0x3fd162(0x7d)]]}]},{'tag':_0x3fd162(0xae),'attributes':{'class':[_0x3fd162(0x6d)]},'children':[this[_0x3fd162(0xa1)]]}]});}[_0x1150b2(0x98)](){const _0x2fa562=_0x1150b2;super[_0x2fa562(0x98)](),this[_0x2fa562(0x79)](),this[_0x2fa562(0x87)]();}[_0x1150b2(0x95)](){const _0x358cd6=_0x1150b2;this[_0x358cd6(0xa3)][_0x358cd6(0x80)]();}[_0x1150b2(0x8c)](){const _0x33daad=_0x1150b2,_0x3c8ee0=new _0x3b336a(this[_0x33daad(0xa4)]);return _0x3c8ee0[_0x33daad(0x6b)]=_0x428390(this[_0x33daad(0xa4)],_0x33daad(0xad)),_0x3c8ee0[_0x33daad(0x8d)]=_0x428390(this[_0x33daad(0xa4)],_0x33daad(0xad)),_0x3c8ee0[_0x33daad(0x9b)]=_0x2a236b,_0x3c8ee0[_0x33daad(0xa0)](_0x33daad(0x76))['to'](this[_0x33daad(0x9a)],_0x33daad(0x88),_0x4c3946=>!_0x4c3946),_0x3c8ee0[_0x33daad(0xa0)](_0x33daad(0x9d))['to'](this[_0x33daad(0x9a)],_0x33daad(0xab),this[_0x33daad(0x9a)],_0x33daad(0x70),(_0x12b73c,_0x2ffcea)=>_0x12b73c&&_0x2ffcea),_0x3c8ee0['on'](_0x33daad(0x8e),()=>{const _0x3c345b=_0x33daad;this[_0x3c345b(0xb0)](_0x3c345b(0x92),this[_0x3c345b(0x9a)]['id']);}),_0x3c8ee0;}[_0x1150b2(0x6c)](_0x1627fa){const _0x295a1d=_0x1150b2;if(_0x1627fa[_0x295a1d(0x7f)]<0x96)return _0x1627fa;const _0x5aed31=_0x1627fa[_0x295a1d(0x91)]('\x20',0x93);return _0x1627fa[_0x295a1d(0xa9)](0x0,_0x5aed31>-0x1?_0x5aed31:0x93)+_0x295a1d(0x78);}[_0x1150b2(0x79)](){const _0x2cdf3a=_0x1150b2,_0x14ac14=this[_0x2cdf3a(0xaa)][_0x2cdf3a(0x7c)](_0x2cdf3a(0x85)),_0x4dc3b0=_0x14ac14[_0x2cdf3a(0x7c)](_0x2cdf3a(0xaf));this[_0x2cdf3a(0x7e)](_0x14ac14,_0x2cdf3a(0x9c),()=>{const _0x569461=_0x2cdf3a;_0x4dc3b0[_0x569461(0x6a)]<_0x4dc3b0[_0x569461(0x68)]&&_0x14ac14[_0x569461(0x93)][_0x569461(0x77)](_0x569461(0x71));}),this[_0x2cdf3a(0x7e)](_0x14ac14,_0x2cdf3a(0x83),()=>{const _0x13c613=_0x2cdf3a;_0x14ac14[_0x13c613(0x93)][_0x13c613(0x6e)](_0x13c613(0x71));});}[_0x1150b2(0x87)](){const _0x4fd7e4=_0x1150b2;this[_0x4fd7e4(0xb1)][_0x4fd7e4(0x7e)](this[_0x4fd7e4(0xaa)]);for(const _0x5131aa of this[_0x4fd7e4(0xac)])this[_0x4fd7e4(0x81)][_0x4fd7e4(0x77)](_0x5131aa[_0x4fd7e4(0xaa)]),this[_0x4fd7e4(0xb1)][_0x4fd7e4(0x7e)](_0x5131aa[_0x4fd7e4(0xaa)]);}[_0x1150b2(0x73)](){const _0x58c5a3=_0x1150b2,_0x566e65=new _0x362288(this[_0x58c5a3(0xa4)]);return _0x566e65[_0x58c5a3(0xa0)](_0x58c5a3(0x9f))['to'](this),_0x566e65;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x533d(){const _0x30092f=['some','ck-thread__input','listenTo','div','ck-thread__user','3872466SobkEy','ck-comment__input-container--active','32JglkqM','focus','set','106605Bgoqiy','commentInputView','filter','showButtons','editing','createEditor','_focusOnNonInteractiveMouseDown','render','editorDestroyed','preventDefault','focusCycler','2583609nvLWLO','showInput','editorReady','mousedown','967920TDgkhj','element','target','140569SQhdwN','editor','focusTracker','bind','destroy','value','getDomRoot','then','contains','extendTemplate','bindTemplate','delegate','setTemplate','userView','view','isFocused','ck-comment__input-container','275IoMtJp','change:showInput','1742592pTvPRd','26706uINfsC'];_0x533d=function(){return _0x30092f;};return _0x533d();}function _0x25b4(_0x589a77,_0x282cfb){const _0x533d61=_0x533d();return _0x25b4=function(_0x25b49b,_0x185cd7){_0x25b49b=_0x25b49b-0x195;let _0x2d0750=_0x533d61[_0x25b49b];return _0x2d0750;},_0x25b4(_0x589a77,_0x282cfb);}const _0x262897=_0x25b4;(function(_0x47cd78,_0x585765){const _0x2f9a3f=_0x25b4,_0x2be139=_0x47cd78();while(!![]){try{const _0x1fed04=-parseInt(_0x2f9a3f(0x1c0))/0x1+-parseInt(_0x2f9a3f(0x1bd))/0x2+-parseInt(_0x2f9a3f(0x1ae))/0x3*(parseInt(_0x2f9a3f(0x1ab))/0x4)+parseInt(_0x2f9a3f(0x1a0))/0x5*(parseInt(_0x2f9a3f(0x1a3))/0x6)+parseInt(_0x2f9a3f(0x1b9))/0x7+parseInt(_0x2f9a3f(0x1a2))/0x8+parseInt(_0x2f9a3f(0x1a9))/0x9;if(_0x1fed04===_0x585765)break;else _0x2be139['push'](_0x2be139['shift']());}catch(_0x435006){_0x2be139['push'](_0x2be139['shift']());}}}(_0x533d,0x5639d));import{View as _0x1df52c}from'ckeditor5/src/ui.js';import _0xc33ed0 from'./commentinputview.js';import{UserView as _0xafeebe}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ie extends _0x1df52c{constructor(_0x1a9ec3,_0x5ce5af,_0x3941c1){const _0x35892a=_0x25b4;super(_0x1a9ec3),this[_0x35892a(0x1af)]=new _0xc33ed0(_0x1a9ec3,_0x3941c1),this[_0x35892a(0x1b8)]=this[_0x35892a(0x1af)][_0x35892a(0x1b8)],this[_0x35892a(0x1af)][_0x35892a(0x1c3)](_0x35892a(0x1b1))['to'](this[_0x35892a(0x1af)][_0x35892a(0x1c2)],_0x35892a(0x19e),this[_0x35892a(0x1af)],_0x35892a(0x1c5),(_0xdd50b7,_0x52d466)=>_0xdd50b7||!!_0x52d466),this[_0x35892a(0x1ad)](_0x35892a(0x1ba),!0x1),this['on'](_0x35892a(0x1a1),()=>{const _0x2d3dc=_0x35892a;this[_0x2d3dc(0x1ba)]&&!this[_0x2d3dc(0x1af)][_0x2d3dc(0x1c1)]&&this[_0x2d3dc(0x1af)][_0x2d3dc(0x1b3)]();}),this[_0x35892a(0x1af)][_0x35892a(0x19a)](_0x35892a(0x1bb))['to'](this),this[_0x35892a(0x1af)][_0x35892a(0x19a)](_0x35892a(0x1b6))['to'](this),this[_0x35892a(0x19c)]=new _0xafeebe(_0x1a9ec3,_0x5ce5af),this[_0x35892a(0x19c)][_0x35892a(0x198)]({'attributes':{'class':_0x35892a(0x1a8),'aria-hidden':!0x0}}),this[_0x35892a(0x1af)][_0x35892a(0x198)]({'attributes':{'class':_0x35892a(0x1a5)}}),this[_0x35892a(0x19b)]({'tag':_0x35892a(0x1a7),'attributes':{'class':[_0x35892a(0x19f),this[_0x35892a(0x199)]['if'](_0x35892a(0x1ba),_0x35892a(0x1aa))]},'children':[this[_0x35892a(0x19c)],this[_0x35892a(0x1af)]]});}[_0x262897(0x1b5)](){const _0x4d69dc=_0x262897;super[_0x4d69dc(0x1b5)](),this[_0x4d69dc(0x1b4)]();}[_0x262897(0x1c4)](){const _0x44e0bf=_0x262897;return this[_0x44e0bf(0x1af)][_0x44e0bf(0x1c4)]()[_0x44e0bf(0x196)](()=>super[_0x44e0bf(0x1c4)]());}[_0x262897(0x1ac)](_0x45eed7){const _0x20b974=_0x262897;this[_0x20b974(0x1af)][_0x20b974(0x1ac)](_0x45eed7);}[_0x262897(0x1b4)](){const _0x45f98c=_0x262897;this[_0x45f98c(0x1a6)](this[_0x45f98c(0x1be)],_0x45f98c(0x1bc),(_0x18466e,_0x59c714)=>{const _0x11f2ed=_0x45f98c,{submitButtonView:_0x3025cb,cancelButtonView:_0x5dbc59,editor:_0x461654}=this[_0x11f2ed(0x1af)];[_0x3025cb[_0x11f2ed(0x1be)],_0x5dbc59[_0x11f2ed(0x1be)],_0x461654?_0x461654[_0x11f2ed(0x1b2)][_0x11f2ed(0x19d)][_0x11f2ed(0x195)]():null][_0x11f2ed(0x1b0)](_0x26bad8=>_0x26bad8)[_0x11f2ed(0x1a4)](_0x2276df=>_0x2276df[_0x11f2ed(0x197)](_0x59c714[_0x11f2ed(0x1bf)]))||(this[_0x11f2ed(0x1ac)](),_0x59c714[_0x11f2ed(0x1b7)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x4761ff=_0x4e9c;(function(_0x5e5e53,_0x5442cb){const _0x5e9d08=_0x4e9c,_0xe0bc62=_0x5e5e53();while(!![]){try{const _0x14e3eb=-parseInt(_0x5e9d08(0x1c3))/0x1*(-parseInt(_0x5e9d08(0x1ca))/0x2)+parseInt(_0x5e9d08(0x1c2))/0x3+parseInt(_0x5e9d08(0x17c))/0x4+parseInt(_0x5e9d08(0x1cd))/0x5+-parseInt(_0x5e9d08(0x1aa))/0x6+-parseInt(_0x5e9d08(0x1b5))/0x7*(-parseInt(_0x5e9d08(0x1b3))/0x8)+-parseInt(_0x5e9d08(0x195))/0x9*(parseInt(_0x5e9d08(0x179))/0xa);if(_0x14e3eb===_0x5442cb)break;else _0xe0bc62['push'](_0xe0bc62['shift']());}catch(_0x4e076b){_0xe0bc62['push'](_0xe0bc62['shift']());}}}(_0x13ac,0x5cd3a));import{ConfirmMixin as _0x36c10b,LateFocusButtonView as _0x31b1a2}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x13ac(){const _0x334923=['247DqLWrj','ariaLabel','add','placeholder','ck-thread__container','ck-thread--','isResolved','5898BVhcNa','_bindFirstCommentView','isVisible','440685UATmqr','bindTemplate','ck-thread--remove-confirmation','icon','bind','querySelector','50IfCOFT','locale','execute','1602032mrUMJc','_updateArchivedThreadHeader','archivedAt','ariaDescriptionView','commentThreadHeaderView','commentViews','change:isActive','showConfirm','.ck-thread__container','ck-reset_all-excluded','ck-thread--active','removeCommentThread','getTemplate','_createResolveButton','isReadOnly','setTemplate','Delete\x20comment\x20thread?','get','removeConfirm','Write\x20a\x20comment...','isConfirm','resolveButton','commentThreadChildren','cancelConfirm','tooltip','3307248oejhWU','createCollection','change:isReadOnly','label','isSystemComment','has','ck-thread','stop','high','isEnabled','ck-thread--unlinked','commentThreadInputView','_cancelAllConfirms','listitem','containerElement','ck-rounded-corners','commentsListView','fire','render','actionBar','isResolvable','779712IhkaTY','actionIndicator','isActive','then','removeButton','unbind','listenTo','set','_boundFirstCommentView','16wQyMHb','focus','1646827NHWygK','length','remove','focusables','extendTemplate','change:archivedAt','div','element','Resolve','ck-comment--resolve','resolveCommentThread','_model','isUnlinked','1979880fsGKfN'];_0x13ac=function(){return _0x334923;};return _0x13ac();}import{IconCheck as _0x1bb0a6}from'ckeditor5/src/icons.js';import _0x5232db from'./basecommentthreadview.js';import{getTranslation as _0x10661d}from'../../../utils/common-translations.js';function _0x4e9c(_0x391c66,_0x1d3568){const _0x13ac48=_0x13ac();return _0x4e9c=function(_0x4e9cc9,_0xa18c5){_0x4e9cc9=_0x4e9cc9-0x174;let _0x1d26b6=_0x13ac48[_0x4e9cc9];return _0x1d26b6;},_0x4e9c(_0x391c66,_0x1d3568);}export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x36c10b(_0x5232db){[_0x4761ff(0x192)];[_0x4761ff(0x1a3)];[_0x4761ff(0x191)];[_0x4761ff(0x1b2)];constructor(_0x50317e,_0x3e9e0e,_0x2188ce,_0x457718){const _0x517e67=_0x4761ff;super(_0x50317e,_0x3e9e0e,_0x2188ce,_0x457718),this[_0x517e67(0x192)]=this[_0x517e67(0x196)]([this[_0x517e67(0x1a5)],this[_0x517e67(0x1a0)],this[_0x517e67(0x17f)]]),this[_0x517e67(0x1b1)](_0x517e67(0x1ab),null),this[_0x517e67(0x1a3)]=null,this[_0x517e67(0x1b2)]=null,this[_0x517e67(0x17a)]=_0x50317e,this[_0x517e67(0x191)]=this[_0x517e67(0x189)](),this[_0x517e67(0x18b)](this[_0x517e67(0x188)]()),this['on'](_0x517e67(0x182),(_0x53b789,_0x2d407e,_0xde7e51)=>{const _0xaada2e=_0x517e67;_0xde7e51||this[_0xaada2e(0x1a1)]();}),this[_0x517e67(0x1b0)](this[_0x517e67(0x1c0)],_0x517e67(0x197),(_0x4b6205,_0x47201f,_0x172d5b)=>{const _0x4f0a67=_0x517e67;_0x172d5b&&this[_0x4f0a67(0x1a1)]();}),this[_0x517e67(0x1b6)]>0x0&&this[_0x517e67(0x1cb)](),this[_0x517e67(0x1b0)](this[_0x517e67(0x1a5)][_0x517e67(0x181)],_0x517e67(0x1c5),()=>{const _0x66ca19=_0x517e67;this[_0x66ca19(0x1cb)]();});}[_0x4761ff(0x188)](){const _0x154caf=_0x4761ff,_0xa120e9=this[_0x154caf(0x174)];return{'tag':_0x154caf(0x1bb),'attributes':{'class':['ck',_0x154caf(0x19b),_0x154caf(0x185),_0x154caf(0x1a4),_0xa120e9['if'](_0x154caf(0x1ac),_0x154caf(0x186)),_0xa120e9['if'](_0x154caf(0x1c1),_0x154caf(0x19f)),_0xa120e9['if'](_0x154caf(0x190),_0x154caf(0x175)),_0xa120e9['to'](_0x154caf(0x1ab),_0x3ff7b=>_0x3ff7b?_0x154caf(0x1c8)+_0x3ff7b:'')],'data-thread-id':this[_0x154caf(0x1c0)]['id'],'tabindex':0x0,'role':_0x154caf(0x1a2),'aria-label':_0xa120e9['to'](_0x154caf(0x1c4)),'aria-describedby':this[_0x154caf(0x17f)]['id']},'children':[{'tag':_0x154caf(0x1bb),'attributes':{'class':_0x154caf(0x1c7)},'children':this[_0x154caf(0x192)]}]};}[_0x4761ff(0x1a7)](){const _0x501012=_0x4761ff;super[_0x501012(0x1a7)](),this[_0x501012(0x1a3)]=this[_0x501012(0x1bc)][_0x501012(0x178)](_0x501012(0x184)),this[_0x501012(0x1c0)]['on'](_0x501012(0x1ba),()=>{const _0x4d79b0=_0x501012;this[_0x4d79b0(0x17d)]();}),this[_0x501012(0x17d)]();}[_0x4761ff(0x1a1)](){const _0x47c45d=_0x4761ff;this[_0x47c45d(0x193)]();for(const _0x1d5b93 of this[_0x47c45d(0x1a5)][_0x47c45d(0x181)])_0x1d5b93[_0x47c45d(0x193)]();}[_0x4761ff(0x1cb)](){const _0x15153a=_0x4761ff,{locale:_0x46e378}=this,_0x4d8eca=this[_0x15153a(0x1a5)][_0x15153a(0x181)][_0x15153a(0x18d)](0x0);_0x4d8eca===this[_0x15153a(0x1b2)]||_0x4d8eca[_0x15153a(0x199)]||(this[_0x15153a(0x1b2)]=_0x4d8eca,this[_0x15153a(0x1af)](_0x15153a(0x1ab)),this[_0x15153a(0x177)](_0x15153a(0x1ab))['to'](_0x4d8eca,_0x15153a(0x1ab),_0x4f73ee=>_0x15153a(0x1b7)===_0x4f73ee?_0x15153a(0x1b7):null),_0x4d8eca[_0x15153a(0x1c6)]=_0x10661d(_0x46e378,_0x15153a(0x18f)),_0x4d8eca[_0x15153a(0x1ae)]['on'](_0x15153a(0x17b),_0x224019=>{const _0x25cc16=_0x15153a;_0x224019[_0x25cc16(0x19c)](),this[_0x25cc16(0x183)](_0x10661d(_0x46e378,_0x25cc16(0x18c)),this[_0x25cc16(0x1a3)])[_0x25cc16(0x1ad)](()=>{const _0x994147=_0x25cc16;this[_0x994147(0x1a6)](_0x994147(0x187));});},{'priority':_0x15153a(0x19d)}),this['on'](_0x15153a(0x18e),()=>{const _0x30fd79=_0x15153a;_0x4d8eca[_0x30fd79(0x1b4)]();}),_0x4d8eca[_0x15153a(0x1a8)][_0x15153a(0x1c5)](this[_0x15153a(0x191)],0x0),_0x4d8eca[_0x15153a(0x1b8)][_0x15153a(0x1c5)](this[_0x15153a(0x191)],0x0));}[_0x4761ff(0x189)](){const _0x5375c2=_0x4761ff,_0x5edaab=new _0x31b1a2(this[_0x5375c2(0x17a)]);return _0x5edaab[_0x5375c2(0x198)]=_0x10661d(this[_0x5375c2(0x17a)],_0x5375c2(0x1bd)),_0x5edaab[_0x5375c2(0x194)]=_0x10661d(this[_0x5375c2(0x17a)],_0x5375c2(0x1bd)),_0x5edaab[_0x5375c2(0x176)]=_0x1bb0a6,_0x5edaab[_0x5375c2(0x1b9)]({'attributes':{'class':_0x5375c2(0x1be)}}),_0x5edaab[_0x5375c2(0x177)](_0x5375c2(0x19e))['to'](this[_0x5375c2(0x1c0)],_0x5375c2(0x18a),_0x35c49b=>!_0x35c49b),_0x5edaab[_0x5375c2(0x177)](_0x5375c2(0x1cc))['to'](this[_0x5375c2(0x1c0)],_0x5375c2(0x1a9),this[_0x5375c2(0x1c0)],_0x5375c2(0x1c9),(_0x1c8939,_0x43bd55)=>_0x1c8939&&!_0x43bd55),_0x5edaab['on'](_0x5375c2(0x17b),()=>{const _0x3d4074=_0x5375c2;this[_0x3d4074(0x1a6)](_0x3d4074(0x1bf),this[_0x3d4074(0x1c0)]['id']);}),_0x5edaab;}[_0x4761ff(0x17d)](){const _0x2d0362=_0x4761ff;this[_0x2d0362(0x1c0)][_0x2d0362(0x17e)]?this[_0x2d0362(0x192)][_0x2d0362(0x19a)](this[_0x2d0362(0x180)])||(this[_0x2d0362(0x192)][_0x2d0362(0x1c5)](this[_0x2d0362(0x180)],0x0),this[_0x2d0362(0x1b8)][_0x2d0362(0x1c5)](this[_0x2d0362(0x180)],0x0)):this[_0x2d0362(0x192)][_0x2d0362(0x19a)](this[_0x2d0362(0x180)])&&(this[_0x2d0362(0x192)][_0x2d0362(0x1b7)](this[_0x2d0362(0x180)]),this[_0x2d0362(0x1b8)][_0x2d0362(0x1b7)](this[_0x2d0362(0x180)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x127cd0=_0x1423;(function(_0x1b4295,_0xda41d0){const _0xa6feea=_0x1423,_0x30e517=_0x1b4295();while(!![]){try{const _0x3115ef=-parseInt(_0xa6feea(0x1df))/0x1*(-parseInt(_0xa6feea(0x1fa))/0x2)+-parseInt(_0xa6feea(0x1d0))/0x3+parseInt(_0xa6feea(0x1f9))/0x4*(-parseInt(_0xa6feea(0x1ea))/0x5)+parseInt(_0xa6feea(0x1ba))/0x6+-parseInt(_0xa6feea(0x1e7))/0x7*(parseInt(_0xa6feea(0x1db))/0x8)+parseInt(_0xa6feea(0x1a6))/0x9+-parseInt(_0xa6feea(0x1f6))/0xa;if(_0x3115ef===_0xda41d0)break;else _0x30e517['push'](_0x30e517['shift']());}catch(_0x8fdccf){_0x30e517['push'](_0x30e517['shift']());}}}(_0x1ab9,0xedb6a));function _0x1423(_0x4baa90,_0x57f4a5){const _0x1ab927=_0x1ab9();return _0x1423=function(_0x1423f3,_0x5b0201){_0x1423f3=_0x1423f3-0x18f;let _0x46d0cb=_0x1ab927[_0x1423f3];return _0x46d0cb;},_0x1423(_0x4baa90,_0x57f4a5);}import{IconRemoveComment as _0xd2699f,IconPencil as _0x15234f,IconThreeVerticalDots as _0x5b05a2}from'ckeditor5/src/icons.js';function _0x1ab9(){const _0x30f7c2=['removeComment','Delete\x20comment?','ck-comment--info','ck-annotation__actions','toMany','Show\x20more\x20items','resolvedAt','ariaLabel','panelView','getUserViewNotificationText','4734910nSPcLE','_createDropdown','ck-annotation__main','8804zRaRAQ','2846NxRZhL','showConfirm','ck-comment__info','render','ck-comment--remove','icon','length','switchToEditMode','ck-comment__actions--hidden','createCollection','ck-comment__wrapper','mouseleave','ck-comment__user','ck-annotation__info','getTemplate','buttonView','ck-annotation__content-wrapper','dropdown','addMany','ck-comment__external','ck-annotation__user','formatDateTime','Edit','author','_attachActions','group','ck-annotation__info-name','bind','_createRemoveButton','ck-annotation__info-time','fire','isEditable','ck-comment--edit','bindTemplate','withText','isReadOnly','blur','7968591mnrhtK','listitem','focusables','isExternal','isSystemComment','mouseenter','getExternalCommentNote','isEditMode','actionIndicator','isRemovable','then','isVisible','isEnabled','setTemplate','focus','push','Reply...','change:isRemovable','some','_createEditButton','7938648rgNVcf','editButton','from','ck-annotation','isConfirm','span','edit','_model','authoredAt','items','actionBar','add','ck-comment','find','ck-comment--remove-confirmation','placeholder','_config','removeButton','ck-comment__info-time','children','ck-comment__main','extendTemplate','1926867mKjedo','label','name','element','ck-annotation__actions--hidden','div','ck-comment__actions','execute','unbind','remove','listenTo','1210296RbcuLO','visibleView','userView','ck-comment--','1321yjbDBd','ck-comment__info-name','set','ariaDescriptionView','time','Remove','locale','panelPosition','49kJExIU','ck-hidden','cancelConfirm','2135KsAHoR','_createCommentInputView'];_0x1ab9=function(){return _0x30f7c2;};return _0x1ab9();}import{ButtonView as _0x1b07f7,createDropdown as _0x1e2e5e,ListView as _0x52cea4,ListItemView as _0x5bde9a,focusChildOnDropdownOpen as _0x3a81b4}from'ckeditor5/src/ui.js';import{UserView as _0x19b557,ConfirmMixin as _0x1b8745,LateFocusDropdownButtonView as _0xe08d9e}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3a24ee from'./basecommentview.js';import{getTranslation as _0x2504c3}from'../../../utils/common-translations.js';export default class gt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1b8745(_0x3a24ee){[_0x127cd0(0x1c4)];[_0x127cd0(0x1dd)];constructor(_0x323bff,_0x16a144,_0x2694f3){const _0x28489e=_0x127cd0;super(_0x323bff,_0x16a144,_0x2694f3),this[_0x28489e(0x1e1)](_0x28489e(0x1ae),null),this[_0x28489e(0x1e1)](_0x28489e(0x1c9),_0x2504c3(_0x323bff,_0x28489e(0x1b6))),this[_0x28489e(0x19c)](_0x28489e(0x1c2))['to'](_0x16a144),this[_0x28489e(0x19c)](_0x28489e(0x1f2))['to'](_0x16a144),this[_0x28489e(0x1c4)]=this[_0x28489e(0x203)](),this[_0x28489e(0x1aa)]||(this[_0x28489e(0x1bb)]=this[_0x28489e(0x1b9)](),this[_0x28489e(0x1cb)]=this[_0x28489e(0x19d)](),this[_0x28489e(0x1c3)]=this[_0x28489e(0x203)](),this[_0x28489e(0x1c3)][_0x28489e(0x193)]([this[_0x28489e(0x1bb)],this[_0x28489e(0x1cb)]]),this[_0x28489e(0x192)]=this[_0x28489e(0x1f7)](),this[_0x28489e(0x1c4)][_0x28489e(0x1c5)](this[_0x28489e(0x192)]),this[_0x28489e(0x1a8)][_0x28489e(0x1c5)](this[_0x28489e(0x192)])),this[_0x28489e(0x1dd)]=new _0x19b557(_0x323bff,_0x16a144[_0x28489e(0x198)],this[_0x28489e(0x1f5)]()),this[_0x28489e(0x1dd)][_0x28489e(0x1cf)]({'attributes':{'class':[_0x28489e(0x206),_0x28489e(0x195)],'aria-hidden':!0x0}}),this[_0x28489e(0x1da)](_0x16a144,_0x28489e(0x1b7),()=>this[_0x28489e(0x1e9)]()),this[_0x28489e(0x1b3)](this[_0x28489e(0x18f)]());}[_0x127cd0(0x18f)](){const _0x4ee7c6=_0x127cd0,_0x46f8d9=this[_0x4ee7c6(0x1a2)],_0x3942ed=[{'tag':_0x4ee7c6(0x1d5),'attributes':{'class':[_0x4ee7c6(0x1fc),_0x4ee7c6(0x207)]},'children':[{'tag':_0x4ee7c6(0x1bf),'children':[{'text':this[_0x4ee7c6(0x1dd)][_0x4ee7c6(0x1d2)]}],'attributes':{'class':[_0x4ee7c6(0x1e0),_0x4ee7c6(0x19b)],'data-cke-tooltip-text':this[_0x4ee7c6(0x1dd)][_0x4ee7c6(0x1d2)]}},{'tag':_0x4ee7c6(0x1e3),'attributes':{'datetime':_0x46f8d9['to'](_0x4ee7c6(0x1c2)),'class':[_0x4ee7c6(0x1cc),_0x4ee7c6(0x19e)]},'children':[{'text':_0x46f8d9['to'](_0x4ee7c6(0x1c2),_0x1e5fd3=>this[_0x4ee7c6(0x1ca)][_0x4ee7c6(0x196)](_0x1e5fd3))}]}]},{'tag':_0x4ee7c6(0x1d5),'attributes':{'class':[_0x4ee7c6(0x1d6),_0x4ee7c6(0x1ef),_0x46f8d9['if'](_0x4ee7c6(0x1ad),_0x4ee7c6(0x202)),_0x46f8d9['if'](_0x4ee7c6(0x1ad),_0x4ee7c6(0x1d4))]},'children':this[_0x4ee7c6(0x1c4)]},{'tag':_0x4ee7c6(0x1d5),'attributes':{'class':[_0x4ee7c6(0x191)]},'children':this[_0x4ee7c6(0x1dc)]},this[_0x4ee7c6(0x1e2)]];return this[_0x4ee7c6(0x1c1)][_0x4ee7c6(0x1a9)]&&_0x3942ed[_0x4ee7c6(0x1b5)]({'tag':_0x4ee7c6(0x1d5),'attributes':{'class':[_0x4ee7c6(0x194)]},'children':[{'text':this[_0x4ee7c6(0x1ac)]()}]}),{'tag':'li','attributes':{'class':[_0x4ee7c6(0x204),_0x46f8d9['if'](_0x4ee7c6(0x1be),_0x4ee7c6(0x1c8))],'tabindex':-0x1,'aria-label':_0x46f8d9['to'](_0x4ee7c6(0x1f3)),'aria-describedby':this[_0x4ee7c6(0x1e2)]['id'],'role':_0x4ee7c6(0x1a7)},'children':[{'tag':_0x4ee7c6(0x1d5),'attributes':{'class':[_0x4ee7c6(0x1c6),_0x4ee7c6(0x1bd),_0x46f8d9['if'](_0x4ee7c6(0x1ad),_0x4ee7c6(0x1a1)),_0x46f8d9['if'](_0x4ee7c6(0x1aa),_0x4ee7c6(0x1ee)),_0x46f8d9['to'](_0x4ee7c6(0x1ae),_0x7e43b5=>_0x7e43b5?_0x4ee7c6(0x1de)+_0x7e43b5:'')],'data-author-id':this[_0x4ee7c6(0x1c1)][_0x4ee7c6(0x198)]['id'],'data-comment-id':this[_0x4ee7c6(0x1c1)]['id'],'role':_0x4ee7c6(0x19a)},'children':[this[_0x4ee7c6(0x1dd)],{'tag':_0x4ee7c6(0x1d5),'attributes':{'class':[_0x4ee7c6(0x1ce),_0x4ee7c6(0x1f8)]},'children':_0x3942ed}]}]};}[_0x127cd0(0x1b9)](){const _0xdc1a4f=_0x127cd0,_0x4667b4=new _0x1b07f7(this[_0xdc1a4f(0x1e5)]);return _0x4667b4[_0xdc1a4f(0x1d1)]=_0x2504c3(this[_0xdc1a4f(0x1e5)],_0xdc1a4f(0x197)),_0x4667b4[_0xdc1a4f(0x1ff)]=_0x15234f,_0x4667b4[_0xdc1a4f(0x1a3)]=!0x0,_0x4667b4[_0xdc1a4f(0x1cf)]({'attributes':{'class':_0xdc1a4f(0x1a1)}}),_0x4667b4[_0xdc1a4f(0x19c)](_0xdc1a4f(0x1b2))['to'](this[_0xdc1a4f(0x1c1)],_0xdc1a4f(0x1a4),_0x301606=>!_0x301606),_0x4667b4[_0xdc1a4f(0x19c)](_0xdc1a4f(0x1b1))['to'](this[_0xdc1a4f(0x1c1)],_0xdc1a4f(0x1a0)),_0x4667b4['on'](_0xdc1a4f(0x1d7),()=>this[_0xdc1a4f(0x201)]()),_0x4667b4;}[_0x127cd0(0x19d)](){const _0xe21f02=_0x127cd0,_0x3bb06f=new _0x1b07f7(this[_0xe21f02(0x1e5)]);return _0x3bb06f[_0xe21f02(0x1d1)]=_0x2504c3(this[_0xe21f02(0x1e5)],_0xe21f02(0x1e4)),_0x3bb06f[_0xe21f02(0x1ff)]=_0xd2699f,_0x3bb06f[_0xe21f02(0x1a3)]=!0x0,_0x3bb06f[_0xe21f02(0x1cf)]({'attributes':{'class':_0xe21f02(0x1fe)}}),_0x3bb06f[_0xe21f02(0x19c)](_0xe21f02(0x1b2))['to'](this[_0xe21f02(0x1c1)],_0xe21f02(0x1a4),_0x1762b4=>!_0x1762b4),_0x3bb06f[_0xe21f02(0x19c)](_0xe21f02(0x1b1))['to'](this[_0xe21f02(0x1c1)],_0xe21f02(0x1af)),_0x3bb06f['on'](_0xe21f02(0x1d7),()=>{const _0x5e0031=_0xe21f02;this[_0x5e0031(0x1fb)](_0x2504c3(this[_0x5e0031(0x1e5)],_0x5e0031(0x1ed)),this[_0x5e0031(0x1d3)])[_0x5e0031(0x1b0)](()=>{const _0x111d95=_0x5e0031;this[_0x111d95(0x19f)](_0x111d95(0x1ec),this[_0x111d95(0x1c1)]['id']);});}),_0x3bb06f;}[_0x127cd0(0x1f7)](){const _0x394de8=_0x127cd0,_0x249eab=_0x1e2e5e(this[_0x394de8(0x1e5)],_0xe08d9e),_0x587470=_0x249eab[_0x394de8(0x1f4)][_0x394de8(0x1cd)],_0x45ab99=new _0x52cea4(this[_0x394de8(0x1e5)]),_0x2e3e52=_0x249eab[_0x394de8(0x1a2)];_0x3a81b4(_0x249eab,()=>this[_0x394de8(0x1c3)][_0x394de8(0x1c7)](_0x48cfd1=>_0x48cfd1[_0x394de8(0x1b1)])),_0x249eab[_0x394de8(0x1cf)]({'attributes':{'class':[_0x2e3e52['if'](_0x394de8(0x1b1),_0x394de8(0x1e8),_0x2541f8=>!_0x2541f8)]}});const _0xd864be=(_0x39ee4b,_0x3f3cce=-0x1)=>{const _0x45fe73=_0x394de8,_0x4a9e93=new _0x5bde9a(this[_0x45fe73(0x1e5)]);_0x4a9e93[_0x45fe73(0x1cd)][_0x45fe73(0x1c5)](_0x39ee4b);const _0x56ab1b=_0x3f3cce>-0x1?_0x3f3cce:_0x45ab99[_0x45fe73(0x1c3)][_0x45fe73(0x200)];_0x45ab99[_0x45fe73(0x1c3)][_0x45fe73(0x1c5)](_0x4a9e93,_0x56ab1b);const _0x3c9cc8=Array[_0x45fe73(0x1bc)](this[_0x45fe73(0x1c3)]);_0x249eab[_0x45fe73(0x1d8)](_0x45fe73(0x1b2),_0x45fe73(0x1b1)),_0x249eab[_0x45fe73(0x19c)](_0x45fe73(0x1b2))[_0x45fe73(0x1f0)](_0x3c9cc8,_0x45fe73(0x1b2),(..._0x572bfa)=>_0x572bfa[_0x45fe73(0x1b8)](_0x202594=>_0x202594)),_0x249eab[_0x45fe73(0x19c)](_0x45fe73(0x1b1))[_0x45fe73(0x1f0)](_0x3c9cc8,_0x45fe73(0x1b1),(..._0x548053)=>_0x548053[_0x45fe73(0x1b8)](_0x3be205=>_0x3be205));};_0x249eab[_0x394de8(0x1e6)]='sw',_0x249eab[_0x394de8(0x190)][_0x394de8(0x1e1)]({'label':_0x2504c3(this[_0x394de8(0x1e5)],_0x394de8(0x1f1)),'icon':_0x5b05a2});for(const _0x37b68e of this[_0x394de8(0x1c3)])_0xd864be(_0x37b68e);return _0x587470[_0x394de8(0x1c5)](_0x45ab99),_0x249eab[_0x394de8(0x1da)](this[_0x394de8(0x1c3)],_0x394de8(0x1c5),(_0x1a6450,_0x56e348,_0x459b9f)=>{_0xd864be(_0x56e348,_0x459b9f);}),_0x249eab[_0x394de8(0x1da)](this[_0x394de8(0x1c3)],_0x394de8(0x1d9),(_0x261ef7,_0x2cd682,_0x94b4e0)=>{const _0x2128e5=_0x394de8;_0x45ab99[_0x2128e5(0x1c3)][_0x2128e5(0x1d9)](_0x94b4e0);}),_0x249eab;}[_0x127cd0(0x199)](_0x380901,_0x2490f2){const _0x52c722=_0x127cd0,_0x233718=_0x380901&&_0x380901[_0x52c722(0x1d3)];_0x233718&&(this[_0x52c722(0x1da)](_0x233718,_0x52c722(0x1ab),()=>this[_0x52c722(0x1ae)]=_0x2490f2),this[_0x52c722(0x1da)](_0x233718,_0x52c722(0x1b4),()=>this[_0x52c722(0x1ae)]=_0x2490f2),this[_0x52c722(0x1da)](_0x233718,_0x52c722(0x205),()=>this[_0x52c722(0x1ae)]=null),this[_0x52c722(0x1da)](_0x233718,_0x52c722(0x1a5),()=>this[_0x52c722(0x1ae)]=null));}[_0x127cd0(0x1eb)](){const _0x3b046c=_0x127cd0,_0x3c526f=super[_0x3b046c(0x1eb)]();return _0x3c526f[_0x3b046c(0x19c)](_0x3b046c(0x1c9))['to'](this),_0x3c526f;}[_0x127cd0(0x1fd)](){const _0x13497a=_0x127cd0;super[_0x13497a(0x1fd)](),this[_0x13497a(0x199)](this[_0x13497a(0x1bb)],_0x13497a(0x1c0)),this[_0x13497a(0x199)](this[_0x13497a(0x1cb)],_0x13497a(0x1d9));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4388(){var _0x376ba1=['579606JPdrWb','isOfficialPlugin','requires','810088leirYj','125436iAjQWP','2117910KCMfRW','1656056RAYtOU','isPremiumPlugin','583222HcUMfE','pluginName','Comments','25bWVhoo','721576wPfEqS','35CjpMjj','36YsfIMY'];_0x4388=function(){return _0x376ba1;};return _0x4388();}var _0x262a84=_0x13e5;(function(_0x36183a,_0x65cfd2){var _0x1cea07=_0x13e5,_0x29a0db=_0x36183a();while(!![]){try{var _0x43ef0b=parseInt(_0x1cea07(0x1a6))/0x1+parseInt(_0x1cea07(0x1a4))/0x2+-parseInt(_0x1cea07(0x19e))/0x3+-parseInt(_0x1cea07(0x1a1))/0x4+parseInt(_0x1cea07(0x19a))/0x5*(-parseInt(_0x1cea07(0x1a2))/0x6)+parseInt(_0x1cea07(0x19c))/0x7*(parseInt(_0x1cea07(0x19b))/0x8)+parseInt(_0x1cea07(0x19d))/0x9*(-parseInt(_0x1cea07(0x1a3))/0xa);if(_0x43ef0b===_0x65cfd2)break;else _0x29a0db['push'](_0x29a0db['shift']());}catch(_0x417770){_0x29a0db['push'](_0x29a0db['shift']());}}}(_0x4388,0x7db01));import{Plugin as _0x53be16}from'ckeditor5/src/core.js';import _0x239394 from'./comments/commentsrepository.js';import _0x576668 from'./comments/commentsediting.js';import _0x42538d from'./comments/commentsui.js';import _0xd5ad77 from'./commentsonly.js';import _0x18ada8 from'./annotations/widesidebar.js';import _0xa500fa from'./annotations/narrowsidebar.js';import _0xffde7e from'./annotations/inlineannotations.js';function _0x13e5(_0x4629c7,_0x230087){var _0x43888c=_0x4388();return _0x13e5=function(_0x13e581,_0x54ee3d){_0x13e581=_0x13e581-0x198;var _0x250a91=_0x43888c[_0x13e581];return _0x250a91;},_0x13e5(_0x4629c7,_0x230087);}import _0x497cbf from'./comments/commentsarchiveui.js';import _0x4fbcfc from'./comments/commentsarchive.js';export default class p extends _0x53be16{static get[_0x262a84(0x1a0)](){return[_0x239394,_0x576668,_0x42538d,_0x4fbcfc,_0x497cbf,_0xd5ad77,_0x18ada8,_0xa500fa,_0xffde7e];}static get[_0x262a84(0x198)](){var _0x398f76=_0x262a84;return _0x398f76(0x199);}static get[_0x262a84(0x19f)](){return!0x0;}static get[_0x262a84(0x1a5)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40e13c=_0x4439;function _0x4439(_0x10be05,_0x5c9346){const _0x5ba655=_0x5ba6();return _0x4439=function(_0x4439c4,_0x46cdb7){_0x4439c4=_0x4439c4-0x181;let _0x393254=_0x5ba655[_0x4439c4];return _0x393254;},_0x4439(_0x10be05,_0x5c9346);}(function(_0x1c8ad7,_0x473aa5){const _0x2f4ad8=_0x4439,_0x57a98c=_0x1c8ad7();while(!![]){try{const _0x25ea60=parseInt(_0x2f4ad8(0x199))/0x1*(parseInt(_0x2f4ad8(0x196))/0x2)+parseInt(_0x2f4ad8(0x189))/0x3*(parseInt(_0x2f4ad8(0x1a0))/0x4)+parseInt(_0x2f4ad8(0x18a))/0x5+-parseInt(_0x2f4ad8(0x1a6))/0x6*(parseInt(_0x2f4ad8(0x18c))/0x7)+-parseInt(_0x2f4ad8(0x19b))/0x8+parseInt(_0x2f4ad8(0x18f))/0x9+-parseInt(_0x2f4ad8(0x19f))/0xa;if(_0x25ea60===_0x473aa5)break;else _0x57a98c['push'](_0x57a98c['shift']());}catch(_0x6e3e0b){_0x57a98c['push'](_0x57a98c['shift']());}}}(_0x5ba6,0x462f7));import{Plugin as _0x51cf2e}from'ckeditor5/src/core.js';import _0x49074a from'./comments/commentsediting.js';export default class s extends _0x51cf2e{static get[_0x40e13c(0x1a9)](){const _0x455a6c=_0x40e13c;return _0x455a6c(0x1a3);}static get[_0x40e13c(0x1a7)](){return!0x0;}static get[_0x40e13c(0x198)](){return!0x0;}static get[_0x40e13c(0x1ad)](){return[_0x49074a];}constructor(_0x350bbd){const _0x4d450c=_0x40e13c;super(_0x350bbd),this[_0x4d450c(0x190)](_0x4d450c(0x184),!0x1),this['on'](_0x4d450c(0x18d),(_0x4fee49,_0xdfc231,_0x5817f9)=>{const _0x3b379e=_0x4d450c;_0x5817f9?this[_0x3b379e(0x1a4)]():this[_0x3b379e(0x1ac)]();});}[_0x40e13c(0x195)](){const _0x461a4f=_0x40e13c;!this[_0x461a4f(0x184)]&&this[_0x461a4f(0x1aa)][_0x461a4f(0x19d)][_0x461a4f(0x18b)](_0x461a4f(0x185))&&(this[_0x461a4f(0x184)]=!0x0);}[_0x40e13c(0x1a4)](){const _0x17f61a=_0x40e13c;for(const [_0x3ab388,_0x1f773d]of this[_0x17f61a(0x1aa)][_0x17f61a(0x1a8)])_0x1f773d[_0x17f61a(0x197)]&&_0x17f61a(0x19a)!==_0x3ab388&&_0x1f773d[_0x17f61a(0x1ab)](_0x17f61a(0x194));(this[_0x17f61a(0x1aa)][_0x17f61a(0x1a5)][_0x17f61a(0x1a1)](_0x17f61a(0x182))&&this[_0x17f61a(0x1aa)][_0x17f61a(0x1a5)][_0x17f61a(0x18b)](_0x17f61a(0x182))[_0x17f61a(0x1ab)](_0x17f61a(0x194)),this[_0x17f61a(0x1aa)][_0x17f61a(0x1a5)][_0x17f61a(0x1a1)](_0x17f61a(0x1a2)))&&this[_0x17f61a(0x1aa)][_0x17f61a(0x1a5)][_0x17f61a(0x18b)](_0x17f61a(0x1a2))[_0x17f61a(0x1ab)](_0x17f61a(0x194));this[_0x17f61a(0x1aa)][_0x17f61a(0x1a8)][_0x17f61a(0x18b)](_0x17f61a(0x192))?.[_0x17f61a(0x1ab)](_0x17f61a(0x194));const _0x4e098b=this[_0x17f61a(0x1aa)][_0x17f61a(0x191)][_0x17f61a(0x18e)][_0x17f61a(0x183)];this[_0x17f61a(0x19e)](_0x4e098b,_0x17f61a(0x193),_0x155c66=>_0x155c66[_0x17f61a(0x186)](),{'priority':_0x17f61a(0x188)}),this[_0x17f61a(0x19e)](_0x4e098b,_0x17f61a(0x187),_0x5e76a=>_0x5e76a[_0x17f61a(0x186)](),{'priority':_0x17f61a(0x188)}),this[_0x17f61a(0x19e)](_0x4e098b,_0x17f61a(0x19c),_0x2ca635=>_0x2ca635[_0x17f61a(0x186)](),{'priority':_0x17f61a(0x188)});}[_0x40e13c(0x1ac)](){const _0x3ffb56=_0x40e13c;for(const [_0x2ade47,_0x54c25c]of this[_0x3ffb56(0x1aa)][_0x3ffb56(0x1a8)])_0x54c25c[_0x3ffb56(0x197)]&&_0x3ffb56(0x19a)!==_0x2ade47&&_0x54c25c[_0x3ffb56(0x181)](_0x3ffb56(0x194));this[_0x3ffb56(0x1aa)][_0x3ffb56(0x1a5)][_0x3ffb56(0x1a1)](_0x3ffb56(0x1a2))&&this[_0x3ffb56(0x1aa)][_0x3ffb56(0x1a5)][_0x3ffb56(0x18b)](_0x3ffb56(0x1a2))[_0x3ffb56(0x181)](_0x3ffb56(0x194)),this[_0x3ffb56(0x1aa)][_0x3ffb56(0x1a8)][_0x3ffb56(0x18b)](_0x3ffb56(0x192))?.[_0x3ffb56(0x181)](_0x3ffb56(0x194)),this[_0x3ffb56(0x1ae)](this[_0x3ffb56(0x1aa)][_0x3ffb56(0x191)][_0x3ffb56(0x18e)][_0x3ffb56(0x183)]);}}function _0x5ba6(){const _0x2a21ef=['editing','editSource','cut','commentsOnlyMode','afterInit','353194ysqbEa','affectsData','isPremiumPlugin','1WgfLTo','addCommentThread','972000LMuaTB','delete','config','listenTo','1608250kEgOQX','56776TIgHUZ','has','SourceEditing','CommentsOnly','_enableCommentsOnlyMode','plugins','6PeQWxI','isOfficialPlugin','commands','pluginName','editor','forceDisabled','_disableCommentsOnlyMode','requires','stopListening','clearForceDisabled','DragDrop','document','isEnabled','commentsOnly','stop','clipboardInput','highest','30tLWjjK','764760RWSMkw','get','419440ZQxosK','change:isEnabled','view','1424115MlfUSK','set'];_0x5ba6=function(){return _0x2a21ef;};return _0x5ba6();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x8ce814,_0x3736b9){var _0xb1e20c=_0x5139,_0x2f94a0=_0x8ce814();while(!![]){try{var _0x3cbc68=-parseInt(_0xb1e20c(0x141))/0x1*(parseInt(_0xb1e20c(0x13c))/0x2)+parseInt(_0xb1e20c(0x142))/0x3+parseInt(_0xb1e20c(0x13f))/0x4+-parseInt(_0xb1e20c(0x143))/0x5*(parseInt(_0xb1e20c(0x13a))/0x6)+parseInt(_0xb1e20c(0x13e))/0x7*(parseInt(_0xb1e20c(0x139))/0x8)+-parseInt(_0xb1e20c(0x13b))/0x9+-parseInt(_0xb1e20c(0x13d))/0xa*(parseInt(_0xb1e20c(0x140))/0xb);if(_0x3cbc68===_0x3736b9)break;else _0x2f94a0['push'](_0x2f94a0['shift']());}catch(_0x1d2818){_0x2f94a0['push'](_0x2f94a0['shift']());}}}(_0x3620,0xde7e7));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';export{default as Sidebar}from'./annotations/sidebar.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';function _0x5139(_0x48b5ae,_0x4d8a5d){var _0x36209d=_0x3620();return _0x5139=function(_0x5139f8,_0x40b263){_0x5139f8=_0x5139f8-0x139;var _0x2acd05=_0x36209d[_0x5139f8];return _0x2acd05;},_0x5139(_0x48b5ae,_0x4d8a5d);}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';function _0x3620(){var _0x77b09e=['4837800gREBoQ','2101035AVOXUS','3522296fYTdPP','18WmdTjJ','6538833gAZWjP','86466UcsBWf','17280NoQxFC','28KCtPfA','1085096qSoowL','4477xlwwWj','1DqoNWh'];_0x3620=function(){return _0x77b09e;};return _0x3620();}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(_0x21940e,_0x39fa2e,_0x492491){const t=_0x21940e['t'];switch(_0x39fa2e){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'},_0x492491);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'},_0x492491);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'},_0x492491);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'},_0x492491);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x492491);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'},_0x492491);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'},_0x492491);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'},_0x492491);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 _0x5515(){const _0x77ab28=['observe','7260750fMnOms','childList','8504960bdAgXI','1221126rdCuXF','type','characterData','1WCpbRZ','10043utpNjf','disconnect','cancel','attributeName','72oeGqee','2308146jSHbbd','class','99022LGkADS','attributes','200lDSHHM','182344jgXmuC','7356dSUfdY','5iRULVq'];_0x5515=function(){return _0x77ab28;};return _0x5515();}(function(_0x43fed3,_0x12e59e){const _0x476869=_0x1d20,_0x2d8edb=_0x43fed3();while(!![]){try{const _0x15b5ec=-parseInt(_0x476869(0x1a5))/0x1*(parseInt(_0x476869(0x1ab))/0x2)+parseInt(_0x476869(0x1aa))/0x3*(parseInt(_0x476869(0x1b0))/0x4)+-parseInt(_0x476869(0x19d))/0x5*(parseInt(_0x476869(0x1a2))/0x6)+-parseInt(_0x476869(0x1ad))/0x7*(-parseInt(_0x476869(0x1af))/0x8)+parseInt(_0x476869(0x19f))/0x9+-parseInt(_0x476869(0x1a1))/0xa+parseInt(_0x476869(0x1a6))/0xb*(parseInt(_0x476869(0x19c))/0xc);if(_0x15b5ec===_0x12e59e)break;else _0x2d8edb['push'](_0x2d8edb['shift']());}catch(_0x3012c1){_0x2d8edb['push'](_0x2d8edb['shift']());}}}(_0x5515,0x93f5b));import{throttle as _0x2cbe8f}from'es-toolkit/compat';function _0x1d20(_0x151679,_0x37c19f){const _0x5515d1=_0x5515();return _0x1d20=function(_0x1d20ef,_0x4a624c){_0x1d20ef=_0x1d20ef-0x19c;let _0x3f6cfd=_0x5515d1[_0x1d20ef];return _0x3f6cfd;},_0x1d20(_0x151679,_0x37c19f);}export default function Lt(_0x6e53cb){const _0x4510f5=_0x2cbe8f(_0x6e53cb,0x1e),_0x889178=new MutationObserver(_0x38237=>{const _0x2879fc=_0x1d20;for(const _0xee1bbd of _0x38237)(_0x2879fc(0x1ae)==_0xee1bbd[_0x2879fc(0x1a3)]&&_0x2879fc(0x1ac)==_0xee1bbd[_0x2879fc(0x1a9)]||_0x2879fc(0x1a0)==_0xee1bbd[_0x2879fc(0x1a3)]||_0x2879fc(0x1a4)==_0xee1bbd[_0x2879fc(0x1a3)])&&_0x4510f5();});return{'attach'(_0x2d85c2){const _0x2d038c=_0x1d20;_0x889178[_0x2d038c(0x19e)](_0x2d85c2,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x486cf7=_0x1d20;_0x889178[_0x486cf7(0x1a7)](),_0x4510f5[_0x486cf7(0x1a8)]();}};}
|