@ckeditor/ckeditor5-comments 47.0.0-alpha.8 → 47.0.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 +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x9969(_0x16f784,_0x47f467){const _0x60736b=_0x6073();return _0x9969=function(_0x996969,_0x2565aa){_0x996969=_0x996969-0x132;let _0x46d4d9=_0x60736b[_0x996969];return _0x46d4d9;},_0x9969(_0x16f784,_0x47f467);}const _0x52a164=_0x9969;(function(_0x380257,_0x575793){const _0x169328=_0x9969,_0x588656=_0x380257();while(!![]){try{const _0x55e23b=parseInt(_0x169328(0x164))/0x1+-parseInt(_0x169328(0x16c))/0x2*(parseInt(_0x169328(0x15d))/0x3)+-parseInt(_0x169328(0x18d))/0x4+parseInt(_0x169328(0x18a))/0x5+-parseInt(_0x169328(0x18c))/0x6+-parseInt(_0x169328(0x16e))/0x7*(-parseInt(_0x169328(0x16f))/0x8)+-parseInt(_0x169328(0x173))/0x9*(-parseInt(_0x169328(0x149))/0xa);if(_0x55e23b===_0x575793)break;else _0x588656['push'](_0x588656['shift']());}catch(_0x56597b){_0x588656['push'](_0x588656['shift']());}}}(_0x6073,0xd022f));import{View as _0x151677,FocusCycler as _0x4f714b}from'ckeditor5/src/ui.js';import{diff as _0x5d458d,Collection as _0x3e2c5b,FocusTracker as _0x4a2e7f,KeystrokeHandler as _0x36c000}from'ckeditor5/src/utils.js';function _0x6073(){const _0x1721ca=['from','763prnSxN','19904YIZsYa','refreshVisibleViews','focusFirst','maxCommentCharsWhenCollapsed','2655fpCnTP','element','_handleNewCommentModel','set','bind','destroy','hasDirtyComment','some','commentViews','updateComment','delegate','change:isActive','bindTemplate','commentUpdated','editorConfig','comments','resolvedCommentView','resolvedBy','editorDestroyed','focusTracker','resolved','delete','isActive','4899410uzIfSS','ck-thread__comments','5667924miBbEx','4459308aYnwwy','get','focusCycler','_collapsedCommentsView','_config','includes','listenTo','render','added','equal','change:hasDirtyComment','CommentView','change:isEditMode','isEditMode','keystrokes','change:isResolved','maxCommentsWhenCollapsed','focus','Thread\x20comments','stopListening','Marked\x20as\x20resolved','reverse','weight','length','arrowdown','insert','collapse','_shouldCollapse','_handleInfoComment','42830muZPyh','viewUid','maxThreadTotalWeight','setTemplate','_findOptimalIndex','target','_updateHasDirtyComment','resolvedAt','resolveCommentThread','_calculatePosition','ck-hidden','change','add','_model','formatDateTime','_handleRemoveCommentModel','_rearrangeCollapse','expand','visibleViews','forEach','3NeOuNK','count','_setupKeyboardNavigation','removeComment','focusLast','authoredAt','map','1555350hDWQxF','removed','_rearrangeExpand','editorReady','arrowup','createCollection','remove','locale','2315802QLrmvn'];_0x6073=function(){return _0x1721ca;};return _0x6073();}import{getTranslation as _0x121420}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x2412e4}from'./collapsedcommentsview.js';export class CommentsListView extends _0x151677{[_0x52a164(0x17b)];[_0x52a164(0x183)];[_0x52a164(0x186)];[_0x52a164(0x13a)];[_0x52a164(0x18f)];[_0x52a164(0x156)];[_0x52a164(0x191)];[_0x52a164(0x190)];constructor(_0x212663,_0x579c04,_0x12c505){const _0x2f1489=_0x52a164;super(_0x212663);const _0x29ec06=this[_0x2f1489(0x17f)];this[_0x2f1489(0x176)](_0x2f1489(0x179),!0x1),this[_0x2f1489(0x176)](_0x2f1489(0x143),_0x579c04[_0x2f1489(0x182)][_0x2f1489(0x143)]),this[_0x2f1489(0x176)](_0x2f1489(0x189),!0x1),this[_0x2f1489(0x156)]=_0x579c04,this[_0x2f1489(0x191)]=_0x12c505,this[_0x2f1489(0x17b)]=this[_0x2f1489(0x169)](),this[_0x2f1489(0x15b)]=this[_0x2f1489(0x169)](),this[_0x2f1489(0x183)]=null,this[_0x2f1489(0x186)]=new _0x4a2e7f(),this[_0x2f1489(0x13a)]=new _0x36c000(),this[_0x2f1489(0x18f)]=new _0x4f714b({'focusables':this[_0x2f1489(0x17b)],'focusTracker':this[_0x2f1489(0x186)],'keystrokeHandler':this[_0x2f1489(0x13a)],'keystrokeHandlerOptions':{'filter':_0x5a8e8b=>this[_0x2f1489(0x17b)][_0x2f1489(0x163)](_0x385324=>_0x385324[_0x2f1489(0x174)])[_0x2f1489(0x192)](_0x5a8e8b[_0x2f1489(0x14e)])},'actions':{'focusPrevious':_0x2f1489(0x168),'focusNext':_0x2f1489(0x144)}}),this[_0x2f1489(0x190)]=new _0x2412e4(_0x212663),this[_0x2f1489(0x190)][_0x2f1489(0x177)](_0x2f1489(0x15e))['to'](this,_0x2f1489(0x143),_0x29f40c=>_0x29f40c-this[_0x2f1489(0x191)][_0x2f1489(0x13c)]);for(const _0x5c9ca8 of _0x579c04[_0x2f1489(0x182)])this[_0x2f1489(0x175)](_0x5c9ca8);this[_0x2f1489(0x148)](),this[_0x2f1489(0x132)](_0x579c04[_0x2f1489(0x182)],_0x2f1489(0x155),(_0x7211f3,_0x3ea3fb)=>{const _0x1b3f98=_0x2f1489,_0x41320f=this[_0x1b3f98(0x152)](_0x3ea3fb);this[_0x1b3f98(0x143)]++,this[_0x1b3f98(0x175)](_0x3ea3fb,_0x41320f),this[_0x1b3f98(0x170)]();}),this[_0x2f1489(0x132)](_0x579c04[_0x2f1489(0x182)],_0x2f1489(0x16a),(_0x4572d8,_0x173a8c)=>{const _0x32bde7=_0x2f1489;this[_0x32bde7(0x143)]--,this[_0x32bde7(0x158)](_0x173a8c),this[_0x32bde7(0x170)]();}),this[_0x2f1489(0x132)](_0x579c04,_0x2f1489(0x180),()=>this[_0x2f1489(0x170)]()),this[_0x2f1489(0x132)](_0x579c04,_0x2f1489(0x13b),()=>this[_0x2f1489(0x148)]()),this['on'](_0x2f1489(0x17e),()=>this[_0x2f1489(0x170)]()),this['on'](_0x2f1489(0x136),()=>this[_0x2f1489(0x170)]()),this[_0x2f1489(0x14c)]({'tag':'ul','attributes':{'class':[_0x2f1489(0x18b),_0x29ec06['if'](_0x2f1489(0x143),_0x2f1489(0x153),_0x20b9cb=>!_0x20b9cb)],'aria-label':_0x121420(_0x212663,_0x2f1489(0x13e))},'children':this[_0x2f1489(0x15b)]});}get[_0x52a164(0x147)](){const _0x5e9e69=_0x52a164;return this[_0x5e9e69(0x156)][_0x5e9e69(0x142)]>this[_0x5e9e69(0x191)][_0x5e9e69(0x14b)]&&!this[_0x5e9e69(0x189)]&&!this[_0x5e9e69(0x179)];}[_0x52a164(0x133)](){const _0x1a1764=_0x52a164;super[_0x1a1764(0x133)](),this[_0x1a1764(0x170)](),this[_0x1a1764(0x15f)]();}[_0x52a164(0x13d)](_0x3c0a47){const _0xe44b54=_0x52a164;-0x1===_0x3c0a47?this[_0xe44b54(0x18f)][_0xe44b54(0x161)]():this[_0xe44b54(0x18f)][_0xe44b54(0x171)]();}[_0x52a164(0x178)](){const _0x15a424=_0x52a164;this[_0x15a424(0x190)][_0x15a424(0x178)]();for(const _0x10781d of this[_0x15a424(0x17b)])_0x10781d[_0x15a424(0x178)]();super[_0x15a424(0x178)]();}[_0x52a164(0x170)](){const _0x131226=_0x52a164;this[_0x131226(0x147)]?this[_0x131226(0x159)]():this[_0x131226(0x166)]();}[_0x52a164(0x175)](_0x212738,_0x50e06c){const _0x586884=_0x52a164,_0x4612fd=new this[(_0x586884(0x191))][(_0x586884(0x137))](this[_0x586884(0x16b)],_0x212738,{'maxCommentCharsWhenCollapsed':this[_0x586884(0x191)][_0x586884(0x172)],'formatDateTime':this[_0x586884(0x191)][_0x586884(0x157)],'editorConfig':this[_0x586884(0x191)][_0x586884(0x181)]});_0x4612fd[_0x586884(0x14a)]=_0x212738['id'],_0x4612fd[_0x586884(0x17d)](_0x586884(0x160))['to'](this),_0x4612fd[_0x586884(0x17d)](_0x586884(0x17c))['to'](this),_0x4612fd[_0x586884(0x17d)](_0x586884(0x151))['to'](this),_0x4612fd[_0x586884(0x17d)](_0x586884(0x167))['to'](this),_0x4612fd[_0x586884(0x17d)](_0x586884(0x185))['to'](this),this[_0x586884(0x132)](_0x4612fd,_0x586884(0x138),()=>this[_0x586884(0x14f)]()),this[_0x586884(0x17b)][_0x586884(0x155)](_0x4612fd,_0x50e06c);}[_0x52a164(0x152)](_0x154a2e){const _0x54492d=_0x52a164,_0x1fe273=this[_0x54492d(0x156)][_0x54492d(0x14d)](_0x154a2e);return this[_0x54492d(0x183)]?this[_0x54492d(0x183)][_0x54492d(0x162)]>_0x154a2e[_0x54492d(0x162)]?_0x1fe273-0x1:_0x1fe273:_0x1fe273-0x1;}[_0x52a164(0x148)](){const _0x430344=_0x52a164;if(this[_0x430344(0x156)][_0x430344(0x184)]&&this[_0x430344(0x156)][_0x430344(0x150)]){const _0x1ae64b={'id':_0x430344(0x187),'author':this[_0x430344(0x156)][_0x430344(0x184)],'authoredAt':this[_0x430344(0x156)][_0x430344(0x150)],'content':_0x121420(this[_0x430344(0x16b)],_0x430344(0x140)),'attributes':{}};this[_0x430344(0x183)]=new this[(_0x430344(0x191))][(_0x430344(0x137))](this[_0x430344(0x16b)],_0x1ae64b,{'maxCommentCharsWhenCollapsed':this[_0x430344(0x191)][_0x430344(0x172)],'formatDateTime':this[_0x430344(0x191)][_0x430344(0x157)],'editorConfig':this[_0x430344(0x191)][_0x430344(0x181)],'isSystemComment':!0x0}),this[_0x430344(0x17b)][_0x430344(0x155)](this[_0x430344(0x183)],this[_0x430344(0x156)][_0x430344(0x14d)](_0x1ae64b));}else this[_0x430344(0x183)]&&(this[_0x430344(0x17b)][_0x430344(0x16a)](this[_0x430344(0x183)]),this[_0x430344(0x183)][_0x430344(0x178)](),this[_0x430344(0x183)]=null);this[_0x430344(0x170)]();}[_0x52a164(0x158)](_0x2c1b7d){const _0x543a6a=_0x52a164,_0x9538c4=this[_0x543a6a(0x17b)][_0x543a6a(0x16a)](_0x2c1b7d['id']);this[_0x543a6a(0x13f)](_0x9538c4),_0x9538c4[_0x543a6a(0x139)]&&this[_0x543a6a(0x14f)](),_0x9538c4[_0x543a6a(0x178)]();}[_0x52a164(0x14f)](){const _0x11b05d=_0x52a164;this[_0x11b05d(0x179)]=Array[_0x11b05d(0x16d)](this[_0x11b05d(0x17b)])[_0x11b05d(0x17a)](_0x2f424d=>_0x2f424d[_0x11b05d(0x139)]);}[_0x52a164(0x159)](){const _0x3b5df7=_0x52a164,_0x156abc=function(_0x39d9a3){const _0x29cb33=_0x9969,_0x41f483=new _0x3e2c5b();for(const _0x56e043 of _0x39d9a3)_0x41f483[_0x29cb33(0x155)](_0x56e043);return _0x41f483;}(this[_0x3b5df7(0x17b)]),_0x3a6d21=this[_0x3b5df7(0x190)][_0x3b5df7(0x15e)];for(let _0x2c25e2=0x1;_0x2c25e2<=_0x3a6d21;_0x2c25e2++)_0x156abc[_0x3b5df7(0x16a)](0x1);for(const _0x2076c9 of _0x156abc)_0x2076c9[_0x3b5df7(0x146)]();_0x3a6d21>0x0&&_0x156abc[_0x3b5df7(0x155)](this[_0x3b5df7(0x190)],0x1),ns(_0x5d458d(Array[_0x3b5df7(0x16d)](this[_0x3b5df7(0x15b)]),Array[_0x3b5df7(0x16d)](_0x156abc)),this[_0x3b5df7(0x15b)],_0x156abc);}[_0x52a164(0x166)](){const _0x1c1346=_0x52a164;ns(_0x5d458d(Array[_0x1c1346(0x16d)](this[_0x1c1346(0x15b)]),Array[_0x1c1346(0x16d)](this[_0x1c1346(0x17b)])),this[_0x1c1346(0x15b)],this[_0x1c1346(0x17b)]);for(const _0x44ef53 of this[_0x1c1346(0x15b)])_0x44ef53[_0x1c1346(0x15a)]();}[_0x52a164(0x15f)](){const _0xbbb3a1=_0x52a164;this[_0xbbb3a1(0x17b)][_0xbbb3a1(0x15c)](_0x4b9048=>{const _0x448460=_0xbbb3a1;this[_0x448460(0x186)][_0x448460(0x155)](_0x4b9048[_0x448460(0x174)]),this[_0x448460(0x13a)][_0x448460(0x132)](_0x4b9048[_0x448460(0x174)]);}),this[_0xbbb3a1(0x17b)]['on'](_0xbbb3a1(0x154),(_0x184b62,_0x307e64)=>{const _0x3f9910=_0xbbb3a1;for(const _0x4a5771 of _0x307e64[_0x3f9910(0x165)])this[_0x3f9910(0x186)][_0x3f9910(0x16a)](_0x4a5771[_0x3f9910(0x174)]),this[_0x3f9910(0x13a)][_0x3f9910(0x13f)](_0x4a5771[_0x3f9910(0x174)]);for(const _0x214a77 of Array[_0x3f9910(0x16d)](_0x307e64[_0x3f9910(0x134)])[_0x3f9910(0x141)]())this[_0x3f9910(0x186)][_0x3f9910(0x155)](_0x214a77[_0x3f9910(0x174)]),this[_0x3f9910(0x13a)][_0x3f9910(0x132)](_0x214a77[_0x3f9910(0x174)]);});}}function ns(_0x3d8b3f,_0x10fb27,_0x2081d1){const _0xbbfc02=_0x52a164;let _0xb06908=0x0;for(const _0x3eafe6 of _0x3d8b3f)switch(_0x3eafe6){case _0xbbfc02(0x145):_0x10fb27[_0xbbfc02(0x155)](_0x2081d1[_0xbbfc02(0x18e)](_0xb06908),_0xb06908),_0xb06908++;break;case _0xbbfc02(0x188):_0x10fb27[_0xbbfc02(0x16a)](_0xb06908);break;case _0xbbfc02(0x135):_0xb06908++;}}
|
|
23
|
+
const _0xd3979=_0x272a;(function(_0x416de1,_0xb3561c){const _0x4a8d9a=_0x272a,_0x4eb30d=_0x416de1();while(!![]){try{const _0x2b0406=parseInt(_0x4a8d9a(0xb3))/0x1*(-parseInt(_0x4a8d9a(0x9b))/0x2)+-parseInt(_0x4a8d9a(0xcd))/0x3+-parseInt(_0x4a8d9a(0x9c))/0x4+parseInt(_0x4a8d9a(0x85))/0x5*(parseInt(_0x4a8d9a(0xa4))/0x6)+-parseInt(_0x4a8d9a(0x99))/0x7+-parseInt(_0x4a8d9a(0xc5))/0x8*(parseInt(_0x4a8d9a(0x77))/0x9)+parseInt(_0x4a8d9a(0x7d))/0xa;if(_0x2b0406===_0xb3561c)break;else _0x4eb30d['push'](_0x4eb30d['shift']());}catch(_0xd5521){_0x4eb30d['push'](_0x4eb30d['shift']());}}}(_0x4c23,0xc02e2));import{View as _0x4966b9,FocusCycler as _0x2e1297}from'ckeditor5/src/ui.js';import{diff as _0x3ce273,Collection as _0x4c4a35,FocusTracker as _0x2fbe31,KeystrokeHandler as _0x3a1821}from'ckeditor5/src/utils.js';import{getTranslation as _0x4480ce}from'../../../utils/common-translations.js';function _0x272a(_0x4401fd,_0x1be0c0){const _0x4c233b=_0x4c23();return _0x272a=function(_0x272abf,_0x5e5a72){_0x272abf=_0x272abf-0x73;let _0x11c92e=_0x4c233b[_0x272abf];return _0x11c92e;},_0x272a(_0x4401fd,_0x1be0c0);}function _0x4c23(){const _0x4d94e8=['focusCycler','add','get','commentUpdated','maxCommentCharsWhenCollapsed','viewUid','delegate','34119EGPnIQ','maxCommentsWhenCollapsed','editorConfig','change:isActive','editorDestroyed','expand','43675790OiHEEc','updateComment','removed','destroy','_config','comments','change:hasDirtyComment','stopListening','24835NUuxOd','change','maxThreadTotalWeight','Thread\x20comments','resolvedBy','removeComment','_findOptimalIndex','editorReady','remove','render','resolvedCommentView','collapse','count','ck-hidden','_shouldCollapse','map','focusFirst','change:isEditMode','from','authoredAt','7805329juFxRL','weight','1562kUBAsJ','1609808mjfAco','isEditMode','_updateHasDirtyComment','listenTo','formatDateTime','Marked\x20as\x20resolved','commentViews','some','234pwhRvj','target','hasDirtyComment','forEach','keystrokes','resolvedAt','locale','set','_setupKeyboardNavigation','ck-thread__comments','insert','setTemplate','resolved','delete','_model','1609cytKUk','_handleRemoveCommentModel','focus','refreshVisibleViews','equal','_calculatePosition','added','arrowdown','_rearrangeExpand','bind','includes','length','resolveCommentThread','focusTracker','element','_handleNewCommentModel','bindTemplate','visibleViews','232fibWWX','change:isResolved','focusLast','_collapsedCommentsView','isActive','_handleInfoComment','arrowup','_rearrangeCollapse','2670165ywNKYI','reverse','createCollection','CommentView'];_0x4c23=function(){return _0x4d94e8;};return _0x4c23();}import{CollapsedCommentsView as _0x4068d0}from'./collapsedcommentsview.js';export class CommentsListView extends _0x4966b9{[_0xd3979(0xa2)];[_0xd3979(0x8f)];[_0xd3979(0xc0)];[_0xd3979(0xa8)];[_0xd3979(0xd1)];[_0xd3979(0xb2)];[_0xd3979(0x81)];[_0xd3979(0xc8)];constructor(_0x1c9580,_0x3bc11c,_0x5be1bc){const _0x207c2e=_0xd3979;super(_0x1c9580);const _0x38961d=this[_0x207c2e(0xc3)];this[_0x207c2e(0xab)](_0x207c2e(0xa6),!0x1),this[_0x207c2e(0xab)](_0x207c2e(0xbe),_0x3bc11c[_0x207c2e(0x82)][_0x207c2e(0xbe)]),this[_0x207c2e(0xab)](_0x207c2e(0xc9),!0x1),this[_0x207c2e(0xb2)]=_0x3bc11c,this[_0x207c2e(0x81)]=_0x5be1bc,this[_0x207c2e(0xa2)]=this[_0x207c2e(0xcf)](),this[_0x207c2e(0xc4)]=this[_0x207c2e(0xcf)](),this[_0x207c2e(0x8f)]=null,this[_0x207c2e(0xc0)]=new _0x2fbe31(),this[_0x207c2e(0xa8)]=new _0x3a1821(),this[_0x207c2e(0xd1)]=new _0x2e1297({'focusables':this[_0x207c2e(0xa2)],'focusTracker':this[_0x207c2e(0xc0)],'keystrokeHandler':this[_0x207c2e(0xa8)],'keystrokeHandlerOptions':{'filter':_0x4aa6e2=>this[_0x207c2e(0xa2)][_0x207c2e(0x94)](_0x1efd70=>_0x1efd70[_0x207c2e(0xc1)])[_0x207c2e(0xbd)](_0x4aa6e2[_0x207c2e(0xa5)])},'actions':{'focusPrevious':_0x207c2e(0xcb),'focusNext':_0x207c2e(0xba)}}),this[_0x207c2e(0xc8)]=new _0x4068d0(_0x1c9580),this[_0x207c2e(0xc8)][_0x207c2e(0xbc)](_0x207c2e(0x91))['to'](this,_0x207c2e(0xbe),_0x4d16fb=>_0x4d16fb-this[_0x207c2e(0x81)][_0x207c2e(0x78)]);for(const _0x18b243 of _0x3bc11c[_0x207c2e(0x82)])this[_0x207c2e(0xc2)](_0x18b243);this[_0x207c2e(0xca)](),this[_0x207c2e(0x9f)](_0x3bc11c[_0x207c2e(0x82)],_0x207c2e(0xd2),(_0x118357,_0x58e4d7)=>{const _0x1ee651=_0x207c2e,_0x5c4968=this[_0x1ee651(0xb8)](_0x58e4d7);this[_0x1ee651(0xbe)]++,this[_0x1ee651(0xc2)](_0x58e4d7,_0x5c4968),this[_0x1ee651(0xb6)]();}),this[_0x207c2e(0x9f)](_0x3bc11c[_0x207c2e(0x82)],_0x207c2e(0x8d),(_0x1931d1,_0x1c78be)=>{const _0x131892=_0x207c2e;this[_0x131892(0xbe)]--,this[_0x131892(0xb4)](_0x1c78be),this[_0x131892(0xb6)]();}),this[_0x207c2e(0x9f)](_0x3bc11c,_0x207c2e(0x73),()=>this[_0x207c2e(0xb6)]()),this[_0x207c2e(0x9f)](_0x3bc11c,_0x207c2e(0xc6),()=>this[_0x207c2e(0xca)]()),this['on'](_0x207c2e(0x7a),()=>this[_0x207c2e(0xb6)]()),this['on'](_0x207c2e(0x83),()=>this[_0x207c2e(0xb6)]()),this[_0x207c2e(0xaf)]({'tag':'ul','attributes':{'class':[_0x207c2e(0xad),_0x38961d['if'](_0x207c2e(0xbe),_0x207c2e(0x92),_0x1aa79e=>!_0x1aa79e)],'aria-label':_0x4480ce(_0x1c9580,_0x207c2e(0x88))},'children':this[_0x207c2e(0xc4)]});}get[_0xd3979(0x93)](){const _0xf0932f=_0xd3979;return this[_0xf0932f(0xb2)][_0xf0932f(0x9a)]>this[_0xf0932f(0x81)][_0xf0932f(0x87)]&&!this[_0xf0932f(0xc9)]&&!this[_0xf0932f(0xa6)];}[_0xd3979(0x8e)](){const _0x398c59=_0xd3979;super[_0x398c59(0x8e)](),this[_0x398c59(0xb6)](),this[_0x398c59(0xac)]();}[_0xd3979(0xb5)](_0x4426a7){const _0x5921d8=_0xd3979;-0x1===_0x4426a7?this[_0x5921d8(0xd1)][_0x5921d8(0xc7)]():this[_0x5921d8(0xd1)][_0x5921d8(0x95)]();}[_0xd3979(0x80)](){const _0x2821a0=_0xd3979;this[_0x2821a0(0xc8)][_0x2821a0(0x80)]();for(const _0x3c1e2a of this[_0x2821a0(0xa2)])_0x3c1e2a[_0x2821a0(0x80)]();super[_0x2821a0(0x80)]();}[_0xd3979(0xb6)](){const _0x934ad9=_0xd3979;this[_0x934ad9(0x93)]?this[_0x934ad9(0xcc)]():this[_0x934ad9(0xbb)]();}[_0xd3979(0xc2)](_0x320f22,_0x590a85){const _0x8d4473=_0xd3979,_0x1cc395=new this[(_0x8d4473(0x81))][(_0x8d4473(0xd0))](this[_0x8d4473(0xaa)],_0x320f22,{'maxCommentCharsWhenCollapsed':this[_0x8d4473(0x81)][_0x8d4473(0x74)],'formatDateTime':this[_0x8d4473(0x81)][_0x8d4473(0xa0)],'editorConfig':this[_0x8d4473(0x81)][_0x8d4473(0x79)]});_0x1cc395[_0x8d4473(0x75)]=_0x320f22['id'],_0x1cc395[_0x8d4473(0x76)](_0x8d4473(0x8a))['to'](this),_0x1cc395[_0x8d4473(0x76)](_0x8d4473(0x7e))['to'](this),_0x1cc395[_0x8d4473(0x76)](_0x8d4473(0xbf))['to'](this),_0x1cc395[_0x8d4473(0x76)](_0x8d4473(0x8c))['to'](this),_0x1cc395[_0x8d4473(0x76)](_0x8d4473(0x7b))['to'](this),this[_0x8d4473(0x9f)](_0x1cc395,_0x8d4473(0x96),()=>this[_0x8d4473(0x9e)]()),this[_0x8d4473(0xa2)][_0x8d4473(0xd2)](_0x1cc395,_0x590a85);}[_0xd3979(0xb8)](_0x3ecfaa){const _0x1aa76c=_0xd3979,_0x252f75=this[_0x1aa76c(0xb2)][_0x1aa76c(0x8b)](_0x3ecfaa);return this[_0x1aa76c(0x8f)]?this[_0x1aa76c(0x8f)][_0x1aa76c(0x98)]>_0x3ecfaa[_0x1aa76c(0x98)]?_0x252f75-0x1:_0x252f75:_0x252f75-0x1;}[_0xd3979(0xca)](){const _0x3934c5=_0xd3979;if(this[_0x3934c5(0xb2)][_0x3934c5(0x89)]&&this[_0x3934c5(0xb2)][_0x3934c5(0xa9)]){const _0xb7215f={'id':_0x3934c5(0xb0),'author':this[_0x3934c5(0xb2)][_0x3934c5(0x89)],'authoredAt':this[_0x3934c5(0xb2)][_0x3934c5(0xa9)],'content':_0x4480ce(this[_0x3934c5(0xaa)],_0x3934c5(0xa1)),'attributes':{}};this[_0x3934c5(0x8f)]=new this[(_0x3934c5(0x81))][(_0x3934c5(0xd0))](this[_0x3934c5(0xaa)],_0xb7215f,{'maxCommentCharsWhenCollapsed':this[_0x3934c5(0x81)][_0x3934c5(0x74)],'formatDateTime':this[_0x3934c5(0x81)][_0x3934c5(0xa0)],'editorConfig':this[_0x3934c5(0x81)][_0x3934c5(0x79)],'isSystemComment':!0x0}),this[_0x3934c5(0xa2)][_0x3934c5(0xd2)](this[_0x3934c5(0x8f)],this[_0x3934c5(0xb2)][_0x3934c5(0x8b)](_0xb7215f));}else this[_0x3934c5(0x8f)]&&(this[_0x3934c5(0xa2)][_0x3934c5(0x8d)](this[_0x3934c5(0x8f)]),this[_0x3934c5(0x8f)][_0x3934c5(0x80)](),this[_0x3934c5(0x8f)]=null);this[_0x3934c5(0xb6)]();}[_0xd3979(0xb4)](_0x53ecd3){const _0xc6c595=_0xd3979,_0x286da5=this[_0xc6c595(0xa2)][_0xc6c595(0x8d)](_0x53ecd3['id']);this[_0xc6c595(0x84)](_0x286da5),_0x286da5[_0xc6c595(0x9d)]&&this[_0xc6c595(0x9e)](),_0x286da5[_0xc6c595(0x80)]();}[_0xd3979(0x9e)](){const _0x21b73e=_0xd3979;this[_0x21b73e(0xa6)]=Array[_0x21b73e(0x97)](this[_0x21b73e(0xa2)])[_0x21b73e(0xa3)](_0xbf5ae7=>_0xbf5ae7[_0x21b73e(0x9d)]);}[_0xd3979(0xcc)](){const _0x2365df=_0xd3979,_0x543c51=function(_0x533f81){const _0x2ab59a=_0x272a,_0x317193=new _0x4c4a35();for(const _0x166226 of _0x533f81)_0x317193[_0x2ab59a(0xd2)](_0x166226);return _0x317193;}(this[_0x2365df(0xa2)]),_0x406b52=this[_0x2365df(0xc8)][_0x2365df(0x91)];for(let _0x480b9f=0x1;_0x480b9f<=_0x406b52;_0x480b9f++)_0x543c51[_0x2365df(0x8d)](0x1);for(const _0x3f3a71 of _0x543c51)_0x3f3a71[_0x2365df(0x90)]();_0x406b52>0x0&&_0x543c51[_0x2365df(0xd2)](this[_0x2365df(0xc8)],0x1),ns(_0x3ce273(Array[_0x2365df(0x97)](this[_0x2365df(0xc4)]),Array[_0x2365df(0x97)](_0x543c51)),this[_0x2365df(0xc4)],_0x543c51);}[_0xd3979(0xbb)](){const _0x15f934=_0xd3979;ns(_0x3ce273(Array[_0x15f934(0x97)](this[_0x15f934(0xc4)]),Array[_0x15f934(0x97)](this[_0x15f934(0xa2)])),this[_0x15f934(0xc4)],this[_0x15f934(0xa2)]);for(const _0x22e1e8 of this[_0x15f934(0xc4)])_0x22e1e8[_0x15f934(0x7c)]();}[_0xd3979(0xac)](){const _0x9b6769=_0xd3979;this[_0x9b6769(0xa2)][_0x9b6769(0xa7)](_0x394a3e=>{const _0x4477b2=_0x9b6769;this[_0x4477b2(0xc0)][_0x4477b2(0xd2)](_0x394a3e[_0x4477b2(0xc1)]),this[_0x4477b2(0xa8)][_0x4477b2(0x9f)](_0x394a3e[_0x4477b2(0xc1)]);}),this[_0x9b6769(0xa2)]['on'](_0x9b6769(0x86),(_0x2e5664,_0x234ec9)=>{const _0x4ed49d=_0x9b6769;for(const _0x455767 of _0x234ec9[_0x4ed49d(0x7f)])this[_0x4ed49d(0xc0)][_0x4ed49d(0x8d)](_0x455767[_0x4ed49d(0xc1)]),this[_0x4ed49d(0xa8)][_0x4ed49d(0x84)](_0x455767[_0x4ed49d(0xc1)]);for(const _0x2c89d6 of Array[_0x4ed49d(0x97)](_0x234ec9[_0x4ed49d(0xb9)])[_0x4ed49d(0xce)]())this[_0x4ed49d(0xc0)][_0x4ed49d(0xd2)](_0x2c89d6[_0x4ed49d(0xc1)]),this[_0x4ed49d(0xa8)][_0x4ed49d(0x9f)](_0x2c89d6[_0x4ed49d(0xc1)]);});}}function ns(_0x11eee1,_0x229683,_0x547de4){const _0x463710=_0xd3979;let _0x32178b=0x0;for(const _0x8b8f29 of _0x11eee1)switch(_0x8b8f29){case _0x463710(0xae):_0x229683[_0x463710(0xd2)](_0x547de4[_0x463710(0xd3)](_0x32178b),_0x32178b),_0x32178b++;break;case _0x463710(0xb1):_0x229683[_0x463710(0x8d)](_0x32178b);break;case _0x463710(0xb7):_0x32178b++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c5367=_0x19e2;(function(_0x47d3f9,_0x50c33c){const _0x49bcfb=_0x19e2,_0x13719d=_0x47d3f9();while(!![]){try{const _0x38e943=parseInt(_0x49bcfb(0x196))/0x1*(-parseInt(_0x49bcfb(0x197))/0x2)+parseInt(_0x49bcfb(0x199))/0x3+parseInt(_0x49bcfb(0x19d))/0x4*(-parseInt(_0x49bcfb(0x1a1))/0x5)+-parseInt(_0x49bcfb(0x19a))/0x6+parseInt(_0x49bcfb(0x19e))/0x7+parseInt(_0x49bcfb(0x1a3))/0x8+-parseInt(_0x49bcfb(0x19b))/0x9*(-parseInt(_0x49bcfb(0x1a4))/0xa);if(_0x38e943===_0x50c33c)break;else _0x13719d['push'](_0x13719d['shift']());}catch(_0x2a9b64){_0x13719d['push'](_0x13719d['shift']());}}}(_0x2324,0x46a01));function _0x2324(){const _0x3764ab=['969cBuRes','302JcFRGU','ck-context__value','1316793zErJpo','2013636GrVsoq','212517UMxmun','set','4DGtMIx','956774nkisfB','span','setTemplate','2090995OXFFrJ','focus','2832392pHqKjB','110wjczvN','bindTemplate','THREAD_CONTEXT_LABEL','contextValue','element'];_0x2324=function(){return _0x3764ab;};return _0x2324();}import{View as _0x38d41a}from'ckeditor5/src/ui.js';function _0x19e2(_0x2db8d1,_0x54eb41){const _0x232436=_0x2324();return _0x19e2=function(_0x19e2bb,_0x197981){_0x19e2bb=_0x19e2bb-0x193;let _0x57c344=_0x232436[_0x19e2bb];return _0x57c344;},_0x19e2(_0x2db8d1,_0x54eb41);}import{getTranslation as _0x34a87c}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x38d41a{constructor(_0xe5fad){const _0x2ad9e0=_0x19e2;super(_0xe5fad);const _0x1fb698=this[_0x2ad9e0(0x1a5)];this[_0x2ad9e0(0x19c)](_0x2ad9e0(0x194),''),this[_0x2ad9e0(0x1a0)]({'tag':_0x2ad9e0(0x19f),'attributes':{'class':['ck',_0x2ad9e0(0x198)],'aria-label':_0x1fb698['to'](_0x2ad9e0(0x194),_0x1f34aa=>_0x34a87c(_0xe5fad,_0x2ad9e0(0x193),_0x1f34aa)),'tabindex':-0x1},'children':[{'text':_0x1fb698['to'](_0x2ad9e0(0x194))}]});}[_0x2c5367(0x1a2)](){const _0x4b32a1=_0x2c5367;this[_0x4b32a1(0x195)][_0x4b32a1(0x1a2)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x192f(_0x2b4b5c,_0x3d59b9){const _0x290764=_0x2907();return _0x192f=function(_0x192f37,_0xaceb49){_0x192f37=_0x192f37-0x90;let _0x5cc8fb=_0x290764[_0x192f37];return _0x5cc8fb;},_0x192f(_0x2b4b5c,_0x3d59b9);}const _0x2b76c1=_0x192f;(function(_0x4f458b,_0x1905b4){const _0x96dfbd=_0x192f,_0x37f8e1=_0x4f458b();while(!![]){try{const _0x3e3bf7=parseInt(_0x96dfbd(0xc8))/0x1+-parseInt(_0x96dfbd(0xd6))/0x2*(-parseInt(_0x96dfbd(0xc7))/0x3)+-parseInt(_0x96dfbd(0xd4))/0x4+-parseInt(_0x96dfbd(0xaa))/0x5*(parseInt(_0x96dfbd(0xb8))/0x6)+parseInt(_0x96dfbd(0xc3))/0x7*(-parseInt(_0x96dfbd(0xc5))/0x8)+parseInt(_0x96dfbd(0x91))/0x9*(-parseInt(_0x96dfbd(0xa9))/0xa)+parseInt(_0x96dfbd(0xc6))/0xb;if(_0x3e3bf7===_0x1905b4)break;else _0x37f8e1['push'](_0x37f8e1['shift']());}catch(_0x3b21b5){_0x37f8e1['push'](_0x37f8e1['shift']());}}}(_0x2907,0xc326c));import{View as _0x1183d7,ButtonView as _0x1bfaab,FocusCycler as _0x52be01}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4a3c6b,KeystrokeHandler as _0x48eb98}from'ckeditor5/src/utils.js';function _0x2907(){const _0x3b6afc=['bind','ck-thread__header','classList','keystrokes','offsetWidth','focus','371KeRrKN','scrollWidth','238584KzOWqU','24094026sGOHYk','3469611CqKHKa','1310506CuCxhD','isResolvable','overlay','...','focusTracker','value','ck-context-wrapper','locale','focusFirst','_model','reopenButtonView','_setupKeyboardNavigation','854552PgyllB','ck-annotation__actions','2sTfmdV','contextValue','tooltip','length','45xbWDiu','contextView','mouseenter','hasContext','_attachContextActions','.ck-context__value','remove','fire','isEnabled','context','isReadOnly','isVisible','div','Reopen','isResolved','bindTemplate','icon','mouseleave','ck-context--quotes','.ck-context','Comment\x20was\x20made\x20on\x20an\x20element','_createReopenButton','add','substring','2657990jThBji','3674085OzsTCO','focusCycler','listenTo','shift+tab','reopenCommentThread','execute','element','label','setTemplate','tab','ck-context','_trimContextValue','querySelector','createCollection','6UNBATk','render','_createContextView','lastIndexOf','focusables'];_0x2907=function(){return _0x3b6afc;};return _0x2907();}import{IconUndo as _0x2cfdd7}from'ckeditor5/src/icons.js';import{getTranslation as _0x7b7123}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x109c3d}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x1183d7{[_0x2b76c1(0xd1)];[_0x2b76c1(0xd2)];[_0x2b76c1(0x92)];[_0x2b76c1(0xbc)];[_0x2b76c1(0xcc)];[_0x2b76c1(0xc0)];[_0x2b76c1(0xab)];constructor(_0x2a782c,_0x2b22b7){const _0x3ab087=_0x2b76c1;super(_0x2a782c);const _0x3019ca=this[_0x3ab087(0xa0)];this[_0x3ab087(0xd1)]=_0x2b22b7,this[_0x3ab087(0xd2)]=this[_0x3ab087(0xa6)](),this[_0x3ab087(0x92)]=this[_0x3ab087(0xba)](),this[_0x3ab087(0xbc)]=this[_0x3ab087(0xb7)]([this[_0x3ab087(0x92)],this[_0x3ab087(0xd2)]]),this[_0x3ab087(0xcc)]=new _0x4a3c6b(),this[_0x3ab087(0xc0)]=new _0x48eb98(),this[_0x3ab087(0xab)]=new _0x52be01({'focusables':this[_0x3ab087(0xbc)],'focusTracker':this[_0x3ab087(0xcc)],'keystrokeHandler':this[_0x3ab087(0xc0)],'actions':{'focusPrevious':_0x3ab087(0xad),'focusNext':_0x3ab087(0xb3)}}),this[_0x3ab087(0xbd)](_0x3ab087(0x94))['to'](this[_0x3ab087(0xd1)],_0x3ab087(0x9a),_0x592021=>!!_0x592021),this[_0x3ab087(0xbd)](_0x3ab087(0xd7))['to'](this[_0x3ab087(0xd1)],_0x3ab087(0x9a),_0x21dd3d=>_0x21dd3d&&_0x21dd3d[_0x3ab087(0xcd)]?this[_0x3ab087(0xb5)](_0x21dd3d[_0x3ab087(0xcd)]):_0x7b7123(this[_0x3ab087(0xcf)],_0x3ab087(0xa5))),this[_0x3ab087(0xb2)]({'tag':_0x3ab087(0x9d),'attributes':{'class':[_0x3ab087(0xbe)]},'children':[{'tag':_0x3ab087(0x9d),'attributes':{'class':[_0x3ab087(0xce)]},'children':[{'tag':_0x3ab087(0x9d),'attributes':{'class':[_0x3ab087(0xb4),_0x3019ca['if'](_0x3ab087(0x94),_0x3ab087(0xa3))]},'children':[this[_0x3ab087(0x92)]]}]},{'tag':_0x3ab087(0x9d),'attributes':{'class':[_0x3ab087(0xd5)]},'children':[this[_0x3ab087(0xd2)]]}]});}[_0x2b76c1(0xb9)](){const _0x27f1cb=_0x2b76c1;super[_0x27f1cb(0xb9)](),this[_0x27f1cb(0x95)](),this[_0x27f1cb(0xd3)]();}[_0x2b76c1(0xc2)](){const _0x581b99=_0x2b76c1;this[_0x581b99(0xab)][_0x581b99(0xd0)]();}[_0x2b76c1(0xa6)](){const _0x486988=_0x2b76c1,_0x2259d4=new _0x1bfaab(this[_0x486988(0xcf)]);return _0x2259d4[_0x486988(0xb1)]=_0x7b7123(this[_0x486988(0xcf)],_0x486988(0x9e)),_0x2259d4[_0x486988(0xd8)]=_0x7b7123(this[_0x486988(0xcf)],_0x486988(0x9e)),_0x2259d4[_0x486988(0xa1)]=_0x2cfdd7,_0x2259d4[_0x486988(0xbd)](_0x486988(0x99))['to'](this[_0x486988(0xd1)],_0x486988(0x9b),_0x5c86df=>!_0x5c86df),_0x2259d4[_0x486988(0xbd)](_0x486988(0x9c))['to'](this[_0x486988(0xd1)],_0x486988(0xc9),this[_0x486988(0xd1)],_0x486988(0x9f),(_0x58a5e6,_0x127be8)=>_0x58a5e6&&_0x127be8),_0x2259d4['on'](_0x486988(0xaf),()=>{const _0x533a26=_0x486988;this[_0x533a26(0x98)](_0x533a26(0xae),this[_0x533a26(0xd1)]['id']);}),_0x2259d4;}[_0x2b76c1(0xb5)](_0x166ae2){const _0x281ca4=_0x2b76c1;if(_0x166ae2[_0x281ca4(0x90)]<0x96)return _0x166ae2;const _0x2d8564=_0x166ae2[_0x281ca4(0xbb)]('\x20',0x93);return _0x166ae2[_0x281ca4(0xa8)](0x0,_0x2d8564>-0x1?_0x2d8564:0x93)+_0x281ca4(0xcb);}[_0x2b76c1(0x95)](){const _0x25d398=_0x2b76c1,_0x4f8a4f=this[_0x25d398(0xb0)][_0x25d398(0xb6)](_0x25d398(0xa4)),_0x54d38e=_0x4f8a4f[_0x25d398(0xb6)](_0x25d398(0x96));this[_0x25d398(0xac)](_0x4f8a4f,_0x25d398(0x93),()=>{const _0x329df1=_0x25d398;_0x54d38e[_0x329df1(0xc1)]<_0x54d38e[_0x329df1(0xc4)]&&_0x4f8a4f[_0x329df1(0xbf)][_0x329df1(0xa7)](_0x329df1(0xca));}),this[_0x25d398(0xac)](_0x4f8a4f,_0x25d398(0xa2),()=>{const _0x305d66=_0x25d398;_0x4f8a4f[_0x305d66(0xbf)][_0x305d66(0x97)](_0x305d66(0xca));});}[_0x2b76c1(0xd3)](){const _0x3337dd=_0x2b76c1;this[_0x3337dd(0xc0)][_0x3337dd(0xac)](this[_0x3337dd(0xb0)]);for(const _0x55ef3e of this[_0x3337dd(0xbc)])this[_0x3337dd(0xcc)][_0x3337dd(0xa7)](_0x55ef3e[_0x3337dd(0xb0)]),this[_0x3337dd(0xc0)][_0x3337dd(0xac)](_0x55ef3e[_0x3337dd(0xb0)]);}[_0x2b76c1(0xba)](){const _0x38897c=_0x2b76c1,_0x1fc55a=new _0x109c3d(this[_0x38897c(0xcf)]);return _0x1fc55a[_0x38897c(0xbd)](_0x38897c(0xd7))['to'](this),_0x1fc55a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1837ac=_0x4a70;(function(_0x2a85e9,_0x2e3a0d){const _0x2c5909=_0x4a70,_0x493a24=_0x2a85e9();while(!![]){try{const _0x4274af=parseInt(_0x2c5909(0x179))/0x1*(parseInt(_0x2c5909(0x15b))/0x2)+-parseInt(_0x2c5909(0x14b))/0x3+parseInt(_0x2c5909(0x170))/0x4+-parseInt(_0x2c5909(0x178))/0x5+-parseInt(_0x2c5909(0x161))/0x6+parseInt(_0x2c5909(0x156))/0x7+-parseInt(_0x2c5909(0x15a))/0x8;if(_0x4274af===_0x2e3a0d)break;else _0x493a24['push'](_0x493a24['shift']());}catch(_0x519c95){_0x493a24['push'](_0x493a24['shift']());}}}(_0x23b0,0xf4017));import{View as _0x42db0f}from'ckeditor5/src/ui.js';import{CommentInputView as _0x4a2983}from'./commentinputview.js';import{UserView as _0x3caaf8}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4a70(_0x48ce7d,_0x240a74){const _0x23b017=_0x23b0();return _0x4a70=function(_0x4a7018,_0x267439){_0x4a7018=_0x4a7018-0x14a;let _0x4bde50=_0x23b017[_0x4a7018];return _0x4bde50;},_0x4a70(_0x48ce7d,_0x240a74);}export class CommentThreadInputView extends _0x42db0f{constructor(_0x124320,_0x4e74f6,_0x452000){const _0x281088=_0x4a70;super(_0x124320),this[_0x281088(0x172)]=new _0x4a2983(_0x124320,_0x452000),this[_0x281088(0x168)]=this[_0x281088(0x172)][_0x281088(0x168)],this[_0x281088(0x172)][_0x281088(0x15f)](_0x281088(0x150))['to'](this[_0x281088(0x172)][_0x281088(0x15c)],_0x281088(0x14a),this[_0x281088(0x172)],_0x281088(0x174),(_0x36a9f0,_0x421c5c)=>_0x36a9f0||!!_0x421c5c),this[_0x281088(0x167)](_0x281088(0x154),!0x1),this['on'](_0x281088(0x157),()=>{const _0xbdc446=_0x281088;this[_0xbdc446(0x154)]&&!this[_0xbdc446(0x172)][_0xbdc446(0x158)]&&this[_0xbdc446(0x172)][_0xbdc446(0x160)]();}),this[_0x281088(0x172)][_0x281088(0x16f)](_0x281088(0x166))['to'](this),this[_0x281088(0x172)][_0x281088(0x16f)](_0x281088(0x16e))['to'](this),this[_0x281088(0x171)]=new _0x3caaf8(_0x124320,_0x4e74f6),this[_0x281088(0x171)][_0x281088(0x16b)]({'attributes':{'class':_0x281088(0x16c),'aria-hidden':!0x0}}),this[_0x281088(0x172)][_0x281088(0x16b)]({'attributes':{'class':_0x281088(0x155)}}),this[_0x281088(0x165)]({'tag':_0x281088(0x177),'attributes':{'class':[_0x281088(0x14f),this[_0x281088(0x14e)]['if'](_0x281088(0x154),_0x281088(0x153))]},'children':[this[_0x281088(0x171)],this[_0x281088(0x172)]]});}[_0x1837ac(0x176)](){const _0x2f07f9=_0x1837ac;super[_0x2f07f9(0x176)](),this[_0x2f07f9(0x152)]();}[_0x1837ac(0x169)](){const _0x1b8a9b=_0x1837ac;return this[_0x1b8a9b(0x172)][_0x1b8a9b(0x169)]()[_0x1b8a9b(0x15d)](()=>super[_0x1b8a9b(0x169)]());}[_0x1837ac(0x151)](_0x55aa0e){const _0x29e7b6=_0x1837ac;this[_0x29e7b6(0x172)][_0x29e7b6(0x151)](_0x55aa0e);}[_0x1837ac(0x152)](){const _0x4b81a0=_0x1837ac;this[_0x4b81a0(0x162)](this[_0x4b81a0(0x163)],_0x4b81a0(0x159),(_0x2cd2df,_0x332672)=>{const _0x22c040=_0x4b81a0,{submitButtonView:_0x339b10,cancelButtonView:_0x4c4fbf,editor:_0x580c66}=this[_0x22c040(0x172)];[_0x339b10[_0x22c040(0x163)],_0x4c4fbf[_0x22c040(0x163)],_0x580c66?_0x580c66[_0x22c040(0x16a)][_0x22c040(0x14d)][_0x22c040(0x16d)]():null][_0x22c040(0x14c)](_0x7a82c6=>_0x7a82c6)[_0x22c040(0x15e)](_0x30e693=>_0x30e693[_0x22c040(0x175)](_0x332672[_0x22c040(0x173)]))||(this[_0x22c040(0x151)](),_0x332672[_0x22c040(0x164)]());});}}function _0x23b0(){const _0x45db65=['target','value','contains','render','div','5521580slzBmz','1IQObuu','isFocused','590466nirZKB','filter','view','bindTemplate','ck-comment__input-container','showButtons','focus','_focusOnNonInteractiveMouseDown','ck-comment__input-container--active','showInput','ck-thread__input','469154QppzUd','change:showInput','editor','mousedown','1162096YQnlKa','1974382ztcYRG','focusTracker','then','some','bind','createEditor','2140620RRyGAN','listenTo','element','preventDefault','setTemplate','editorReady','set','focusCycler','destroy','editing','extendTemplate','ck-thread__user','getDomRoot','editorDestroyed','delegate','6993616XnyfwH','userView','commentInputView'];_0x23b0=function(){return _0x45db65;};return _0x23b0();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x509b20=_0x519b;(function(_0x2a0408,_0x422c44){const _0x4d41b3=_0x519b,_0x1fc4ff=_0x2a0408();while(!![]){try{const _0x3923f1=-parseInt(_0x4d41b3(0x1b4))/0x1*(parseInt(_0x4d41b3(0x1d1))/0x2)+parseInt(_0x4d41b3(0x1e2))/0x3+-parseInt(_0x4d41b3(0x1c8))/0x4+parseInt(_0x4d41b3(0x1f5))/0x5*(-parseInt(_0x4d41b3(0x1ba))/0x6)+-parseInt(_0x4d41b3(0x1e7))/0x7*(-parseInt(_0x4d41b3(0x1cf))/0x8)+parseInt(_0x4d41b3(0x1e3))/0x9+-parseInt(_0x4d41b3(0x1b0))/0xa;if(_0x3923f1===_0x422c44)break;else _0x1fc4ff['push'](_0x1fc4ff['shift']());}catch(_0x2f0682){_0x1fc4ff['push'](_0x1fc4ff['shift']());}}}(_0x1a5e,0x5693b));import{ConfirmMixin as _0x55c4c6,LateFocusButtonView as _0x51db3f}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x39f6ef}from'ckeditor5/src/icons.js';function _0x519b(_0x584bb8,_0x3e6eb4){const _0x1a5e44=_0x1a5e();return _0x519b=function(_0x519b5b,_0x263e81){_0x519b5b=_0x519b5b-0x1b0;let _0x3ad462=_0x1a5e44[_0x519b5b];return _0x3ad462;},_0x519b(_0x584bb8,_0x3e6eb4);}function _0x1a5e(){const _0x2daf6c=['ck-thread--active','ck-reset_all-excluded','isResolvable','execute','listenTo','remove','commentThreadInputView','removeCommentThread','bind','extendTemplate','change:isActive','actionBar','resolveCommentThread','commentViews','isResolved','577480oHUmqR','getTemplate','containerElement','_model','223DeavcN','length','focus','commentsListView','_createResolveButton','bindTemplate','72pVAWYh','ck-thread--unlinked','ariaLabel','listitem','Delete\x20comment\x20thread?','high','change:isReadOnly','ck-comment--resolve','setTemplate','ck-thread__container','change:archivedAt','_cancelAllConfirms','then','focusables','2561448HYyLJs','isSystemComment','commentThreadHeaderView','add','commentThreadChildren','element','locale','20624aaUANX','isEnabled','228AZvsdZ','isReadOnly','tooltip','div','actionIndicator','createCollection','set','unbind','resolveButton','isUnlinked','get','ariaDescriptionView','render','Resolve','stop','ck-thread--','.ck-thread__container','630045ucWLOR','6362226UucbUo','querySelector','placeholder','Write\x20a\x20comment...','791RaHRoc','ck-thread','cancelConfirm','isVisible','_bindFirstCommentView','has','showConfirm','removeConfirm','icon','archivedAt','fire','removeButton','_boundFirstCommentView','label','54205UEhIxw','isActive','ck-rounded-corners','_updateArchivedThreadHeader'];_0x1a5e=function(){return _0x2daf6c;};return _0x1a5e();}import{BaseCommentThreadView as _0x5eb453}from'./basecommentthreadview.js';import{getTranslation as _0x1583ce}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x55c4c6(_0x5eb453){[_0x509b20(0x1cc)];[_0x509b20(0x1b2)];[_0x509b20(0x1d9)];[_0x509b20(0x1f3)];constructor(_0x5dca9b,_0x219240,_0x4f1c44,_0x35edfb){const _0x2d9df7=_0x509b20;super(_0x5dca9b,_0x219240,_0x4f1c44,_0x35edfb),this[_0x2d9df7(0x1cc)]=this[_0x2d9df7(0x1d6)]([this[_0x2d9df7(0x1b7)],this[_0x2d9df7(0x1ff)],this[_0x2d9df7(0x1dc)]]),this[_0x2d9df7(0x1d7)](_0x2d9df7(0x1d5),null),this[_0x2d9df7(0x1b2)]=null,this[_0x2d9df7(0x1f3)]=null,this[_0x2d9df7(0x1ce)]=_0x5dca9b,this[_0x2d9df7(0x1d9)]=this[_0x2d9df7(0x1b8)](),this[_0x2d9df7(0x1c2)](this[_0x2d9df7(0x1b1)]()),this['on'](_0x2d9df7(0x203),(_0xb7aa23,_0x3939fa,_0x502b9f)=>{const _0x5d5f43=_0x2d9df7;_0x502b9f||this[_0x5d5f43(0x1c5)]();}),this[_0x2d9df7(0x1fd)](this[_0x2d9df7(0x1b3)],_0x2d9df7(0x1c0),(_0x5f1659,_0x427027,_0x1cf043)=>{const _0x47249d=_0x2d9df7;_0x1cf043&&this[_0x47249d(0x1c5)]();}),this[_0x2d9df7(0x1b5)]>0x0&&this[_0x2d9df7(0x1eb)](),this[_0x2d9df7(0x1fd)](this[_0x2d9df7(0x1b7)][_0x2d9df7(0x206)],_0x2d9df7(0x1cb),()=>{const _0x358a8b=_0x2d9df7;this[_0x358a8b(0x1eb)]();});}[_0x509b20(0x1b1)](){const _0x57bb00=_0x509b20,_0x1a758f=this[_0x57bb00(0x1b9)];return{'tag':_0x57bb00(0x1d4),'attributes':{'class':['ck',_0x57bb00(0x1e8),_0x57bb00(0x1fa),_0x57bb00(0x1f7),_0x1a758f['if'](_0x57bb00(0x1f6),_0x57bb00(0x1f9)),_0x1a758f['if'](_0x57bb00(0x1da),_0x57bb00(0x1bb)),_0x1a758f['to'](_0x57bb00(0x1d5),_0x259f04=>_0x259f04?_0x57bb00(0x1e0)+_0x259f04:'')],'data-thread-id':this[_0x57bb00(0x1b3)]['id'],'tabindex':0x0,'role':_0x57bb00(0x1bd),'aria-label':_0x1a758f['to'](_0x57bb00(0x1bc)),'aria-describedby':this[_0x57bb00(0x1dc)]['id']},'children':[{'tag':_0x57bb00(0x1d4),'attributes':{'class':_0x57bb00(0x1c3)},'children':this[_0x57bb00(0x1cc)]}]};}[_0x509b20(0x1dd)](){const _0x39f598=_0x509b20;super[_0x39f598(0x1dd)](),this[_0x39f598(0x1b2)]=this[_0x39f598(0x1cd)][_0x39f598(0x1e4)](_0x39f598(0x1e1)),this[_0x39f598(0x1b3)]['on'](_0x39f598(0x1c4),()=>{const _0x2e0499=_0x39f598;this[_0x2e0499(0x1f8)]();}),this[_0x39f598(0x1f8)]();}[_0x509b20(0x1c5)](){const _0x36b5d0=_0x509b20;this[_0x36b5d0(0x1e9)]();for(const _0xe18b93 of this[_0x36b5d0(0x1b7)][_0x36b5d0(0x206)])_0xe18b93[_0x36b5d0(0x1e9)]();}[_0x509b20(0x1eb)](){const _0x1fce4f=_0x509b20,{locale:_0x20e5ff}=this,_0x1c7e4d=this[_0x1fce4f(0x1b7)][_0x1fce4f(0x206)][_0x1fce4f(0x1db)](0x0);_0x1c7e4d===this[_0x1fce4f(0x1f3)]||_0x1c7e4d[_0x1fce4f(0x1c9)]||(this[_0x1fce4f(0x1f3)]=_0x1c7e4d,this[_0x1fce4f(0x1d8)](_0x1fce4f(0x1d5)),this[_0x1fce4f(0x201)](_0x1fce4f(0x1d5))['to'](_0x1c7e4d,_0x1fce4f(0x1d5),_0x4b0406=>_0x1fce4f(0x1fe)===_0x4b0406?_0x1fce4f(0x1fe):null),_0x1c7e4d[_0x1fce4f(0x1e5)]=_0x1583ce(_0x20e5ff,_0x1fce4f(0x1e6)),_0x1c7e4d[_0x1fce4f(0x1f2)]['on'](_0x1fce4f(0x1fc),_0x4753c8=>{const _0x16183e=_0x1fce4f;_0x4753c8[_0x16183e(0x1df)](),this[_0x16183e(0x1ed)](_0x1583ce(_0x20e5ff,_0x16183e(0x1be)),this[_0x16183e(0x1b2)])[_0x16183e(0x1c6)](()=>{const _0x18ef53=_0x16183e;this[_0x18ef53(0x1f1)](_0x18ef53(0x200));});},{'priority':_0x1fce4f(0x1bf)}),this['on'](_0x1fce4f(0x1ee),()=>{const _0x5965c0=_0x1fce4f;_0x1c7e4d[_0x5965c0(0x1b6)]();}),_0x1c7e4d[_0x1fce4f(0x204)][_0x1fce4f(0x1cb)](this[_0x1fce4f(0x1d9)],0x0),_0x1c7e4d[_0x1fce4f(0x1c7)][_0x1fce4f(0x1cb)](this[_0x1fce4f(0x1d9)],0x0));}[_0x509b20(0x1b8)](){const _0x1097a4=_0x509b20,_0x5318f9=new _0x51db3f(this[_0x1097a4(0x1ce)]);return _0x5318f9[_0x1097a4(0x1f4)]=_0x1583ce(this[_0x1097a4(0x1ce)],_0x1097a4(0x1de)),_0x5318f9[_0x1097a4(0x1d3)]=_0x1583ce(this[_0x1097a4(0x1ce)],_0x1097a4(0x1de)),_0x5318f9[_0x1097a4(0x1ef)]=_0x39f6ef,_0x5318f9[_0x1097a4(0x202)]({'attributes':{'class':_0x1097a4(0x1c1)}}),_0x5318f9[_0x1097a4(0x201)](_0x1097a4(0x1d0))['to'](this[_0x1097a4(0x1b3)],_0x1097a4(0x1d2),_0x4b174c=>!_0x4b174c),_0x5318f9[_0x1097a4(0x201)](_0x1097a4(0x1ea))['to'](this[_0x1097a4(0x1b3)],_0x1097a4(0x1fb),this[_0x1097a4(0x1b3)],_0x1097a4(0x207),(_0x4074dd,_0x4fd528)=>_0x4074dd&&!_0x4fd528),_0x5318f9['on'](_0x1097a4(0x1fc),()=>{const _0x482bbf=_0x1097a4;this[_0x482bbf(0x1f1)](_0x482bbf(0x205),this[_0x482bbf(0x1b3)]['id']);}),_0x5318f9;}[_0x509b20(0x1f8)](){const _0x1f839e=_0x509b20;this[_0x1f839e(0x1b3)][_0x1f839e(0x1f0)]?this[_0x1f839e(0x1cc)][_0x1f839e(0x1ec)](this[_0x1f839e(0x1ca)])||(this[_0x1f839e(0x1cc)][_0x1f839e(0x1cb)](this[_0x1f839e(0x1ca)],0x0),this[_0x1f839e(0x1c7)][_0x1f839e(0x1cb)](this[_0x1f839e(0x1ca)],0x0)):this[_0x1f839e(0x1cc)][_0x1f839e(0x1ec)](this[_0x1f839e(0x1ca)])&&(this[_0x1f839e(0x1cc)][_0x1f839e(0x1fe)](this[_0x1f839e(0x1ca)]),this[_0x1f839e(0x1c7)][_0x1f839e(0x1fe)](this[_0x1f839e(0x1ca)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x245d14=_0x2cb8;function _0x2cb8(_0x5c79d0,_0x33a693){const _0x5c40ea=_0x5c40();return _0x2cb8=function(_0x2cb856,_0x79ab4b){_0x2cb856=_0x2cb856-0x12c;let _0x3da4bf=_0x5c40ea[_0x2cb856];return _0x3da4bf;},_0x2cb8(_0x5c79d0,_0x33a693);}(function(_0x5116ec,_0x3d4246){const _0x4509fe=_0x2cb8,_0x4402fb=_0x5116ec();while(!![]){try{const _0x3b39da=-parseInt(_0x4509fe(0x12d))/0x1+parseInt(_0x4509fe(0x1a0))/0x2*(parseInt(_0x4509fe(0x17e))/0x3)+parseInt(_0x4509fe(0x14a))/0x4*(-parseInt(_0x4509fe(0x15c))/0x5)+-parseInt(_0x4509fe(0x14d))/0x6+-parseInt(_0x4509fe(0x192))/0x7*(-parseInt(_0x4509fe(0x19d))/0x8)+-parseInt(_0x4509fe(0x1a1))/0x9+-parseInt(_0x4509fe(0x168))/0xa*(-parseInt(_0x4509fe(0x184))/0xb);if(_0x3b39da===_0x3d4246)break;else _0x4402fb['push'](_0x4402fb['shift']());}catch(_0x3780d2){_0x4402fb['push'](_0x4402fb['shift']());}}}(_0x5c40,0x39ffc));import{IconRemoveComment as _0x421276,IconPencil as _0x297b91,IconThreeVerticalDots as _0x64dac3}from'ckeditor5/src/icons.js';function _0x5c40(){const _0x5b2273=['33452nLWYhq','setTemplate','userView','916044NcklCl','focus','ariaDescriptionView','ck-annotation__actions','ariaLabel','Delete\x20comment?','icon','panelView','ck-comment--info','_model','ck-comment__external','fire','ck-hidden','div','from','60GJYwqY','ck-comment__info','some','formatDateTime','ck-comment__user','_createRemoveButton','getUserViewNotificationText','isSystemComment','ck-comment__actions--hidden','actionIndicator','placeholder','mouseleave','6002380pcwuox','listenTo','isReadOnly','removeButton','ck-comment__main','bindTemplate','isVisible','resolvedAt','panelPosition','edit','editButton','find','showConfirm','ck-comment--','createCollection','push','ck-annotation','visibleView','actionBar','extendTemplate','ck-annotation__user','_config','1614RXdVHd','label','ck-annotation__actions--hidden','isRemovable','Show\x20more\x20items','then','11IWVUns','isEnabled','author','_createCommentInputView','getExternalCommentNote','ck-annotation__main','isExternal','add','ck-comment__info-time','cancelConfirm','render','ck-annotation__info','unbind','Remove','7tajNgo','children','locale','ck-comment__info-name','group','mouseenter','ck-comment__actions','element','ck-annotation__info-time','_createEditButton','remove','358736JjeiQA','execute','length','698LQuSIF','2245338ZihCoU','_createDropdown','Edit','getTemplate','92766eQRPmI','time','addMany','listitem','set','toMany','dropdown','blur','ck-comment--remove','authoredAt','span','switchToEditMode','ck-annotation__info-name','ck-comment--edit','isEditMode','ck-annotation__content-wrapper','change:isRemovable','isEditable','items','buttonView','bind','focusables','withText','ck-comment','ck-comment__wrapper','name','_attachActions','removeComment','Reply...'];_0x5c40=function(){return _0x5b2273;};return _0x5c40();}import{ButtonView as _0x1db04f,createDropdown as _0x31f5de,ListView as _0x43fa08,ListItemView as _0x1e289e,focusChildOnDropdownOpen as _0x2ca9b8}from'ckeditor5/src/ui.js';import{UserView as _0x4609ee,ConfirmMixin as _0x59396c,LateFocusDropdownButtonView as _0x12fa12}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x21845e}from'./basecommentview.js';import{getTranslation as _0x4dd368}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x59396c(_0x21845e){[_0x245d14(0x17a)];[_0x245d14(0x14c)];constructor(_0x536263,_0x3bf978,_0x19053f){const _0x26fb08=_0x245d14;super(_0x536263,_0x3bf978,_0x19053f),this[_0x26fb08(0x131)](_0x26fb08(0x165),null),this[_0x26fb08(0x131)](_0x26fb08(0x166),_0x4dd368(_0x536263,_0x26fb08(0x149))),this[_0x26fb08(0x141)](_0x26fb08(0x136))['to'](_0x3bf978),this[_0x26fb08(0x141)](_0x26fb08(0x16f))['to'](_0x3bf978),this[_0x26fb08(0x17a)]=this[_0x26fb08(0x176)](),this[_0x26fb08(0x163)]||(this[_0x26fb08(0x172)]=this[_0x26fb08(0x19b)](),this[_0x26fb08(0x16b)]=this[_0x26fb08(0x161)](),this[_0x26fb08(0x13f)]=this[_0x26fb08(0x176)](),this[_0x26fb08(0x13f)][_0x26fb08(0x12f)]([this[_0x26fb08(0x172)],this[_0x26fb08(0x16b)]]),this[_0x26fb08(0x133)]=this[_0x26fb08(0x1a2)](),this[_0x26fb08(0x17a)][_0x26fb08(0x18b)](this[_0x26fb08(0x133)]),this[_0x26fb08(0x142)][_0x26fb08(0x18b)](this[_0x26fb08(0x133)])),this[_0x26fb08(0x14c)]=new _0x4609ee(_0x536263,_0x3bf978[_0x26fb08(0x186)],this[_0x26fb08(0x162)]()),this[_0x26fb08(0x14c)][_0x26fb08(0x17b)]({'attributes':{'class':[_0x26fb08(0x160),_0x26fb08(0x17c)],'aria-hidden':!0x0}}),this[_0x26fb08(0x169)](_0x3bf978,_0x26fb08(0x13d),()=>this[_0x26fb08(0x18d)]()),this[_0x26fb08(0x14b)](this[_0x26fb08(0x12c)]());}[_0x245d14(0x12c)](){const _0x2266d4=_0x245d14,_0x14e670=this[_0x2266d4(0x16d)],_0x14654c=[{'tag':_0x2266d4(0x15a),'attributes':{'class':[_0x2266d4(0x15d),_0x2266d4(0x18f)]},'children':[{'tag':_0x2266d4(0x137),'children':[{'text':this[_0x2266d4(0x14c)][_0x2266d4(0x146)]}],'attributes':{'class':[_0x2266d4(0x195),_0x2266d4(0x139)],'data-cke-tooltip-text':this[_0x2266d4(0x14c)][_0x2266d4(0x146)]}},{'tag':_0x2266d4(0x12e),'attributes':{'datetime':_0x14e670['to'](_0x2266d4(0x136)),'class':[_0x2266d4(0x18c),_0x2266d4(0x19a)]},'children':[{'text':_0x14e670['to'](_0x2266d4(0x136),_0x17ca49=>this[_0x2266d4(0x17d)][_0x2266d4(0x15f)](_0x17ca49))}]}]},{'tag':_0x2266d4(0x15a),'attributes':{'class':[_0x2266d4(0x198),_0x2266d4(0x150),_0x14e670['if'](_0x2266d4(0x13b),_0x2266d4(0x164)),_0x14e670['if'](_0x2266d4(0x13b),_0x2266d4(0x180))]},'children':this[_0x2266d4(0x17a)]},{'tag':_0x2266d4(0x15a),'attributes':{'class':[_0x2266d4(0x13c)]},'children':this[_0x2266d4(0x179)]},this[_0x2266d4(0x14f)]];return this[_0x2266d4(0x156)][_0x2266d4(0x18a)]&&_0x14654c[_0x2266d4(0x177)]({'tag':_0x2266d4(0x15a),'attributes':{'class':[_0x2266d4(0x157)]},'children':[{'text':this[_0x2266d4(0x188)]()}]}),{'tag':'li','attributes':{'class':[_0x2266d4(0x145)],'tabindex':-0x1,'aria-label':_0x14e670['to'](_0x2266d4(0x151)),'aria-describedby':this[_0x2266d4(0x14f)]['id'],'role':_0x2266d4(0x130)},'children':[{'tag':_0x2266d4(0x15a),'attributes':{'class':[_0x2266d4(0x144),_0x2266d4(0x178),_0x14e670['if'](_0x2266d4(0x13b),_0x2266d4(0x13a)),_0x14e670['if'](_0x2266d4(0x163),_0x2266d4(0x155)),_0x14e670['to'](_0x2266d4(0x165),_0x311e75=>_0x311e75?_0x2266d4(0x175)+_0x311e75:'')],'data-author-id':this[_0x2266d4(0x156)][_0x2266d4(0x186)]['id'],'data-comment-id':this[_0x2266d4(0x156)]['id'],'role':_0x2266d4(0x196)},'children':[this[_0x2266d4(0x14c)],{'tag':_0x2266d4(0x15a),'attributes':{'class':[_0x2266d4(0x16c),_0x2266d4(0x189)]},'children':_0x14654c}]}]};}[_0x245d14(0x19b)](){const _0x1da8aa=_0x245d14,_0x3faa0f=new _0x1db04f(this[_0x1da8aa(0x194)]);return _0x3faa0f[_0x1da8aa(0x17f)]=_0x4dd368(this[_0x1da8aa(0x194)],_0x1da8aa(0x1a3)),_0x3faa0f[_0x1da8aa(0x153)]=_0x297b91,_0x3faa0f[_0x1da8aa(0x143)]=!0x0,_0x3faa0f[_0x1da8aa(0x17b)]({'attributes':{'class':_0x1da8aa(0x13a)}}),_0x3faa0f[_0x1da8aa(0x141)](_0x1da8aa(0x185))['to'](this[_0x1da8aa(0x156)],_0x1da8aa(0x16a),_0x48ba0d=>!_0x48ba0d),_0x3faa0f[_0x1da8aa(0x141)](_0x1da8aa(0x16e))['to'](this[_0x1da8aa(0x156)],_0x1da8aa(0x13e)),_0x3faa0f['on'](_0x1da8aa(0x19e),()=>this[_0x1da8aa(0x138)]()),_0x3faa0f;}[_0x245d14(0x161)](){const _0x5cc120=_0x245d14,_0x2dc4f1=new _0x1db04f(this[_0x5cc120(0x194)]);return _0x2dc4f1[_0x5cc120(0x17f)]=_0x4dd368(this[_0x5cc120(0x194)],_0x5cc120(0x191)),_0x2dc4f1[_0x5cc120(0x153)]=_0x421276,_0x2dc4f1[_0x5cc120(0x143)]=!0x0,_0x2dc4f1[_0x5cc120(0x17b)]({'attributes':{'class':_0x5cc120(0x135)}}),_0x2dc4f1[_0x5cc120(0x141)](_0x5cc120(0x185))['to'](this[_0x5cc120(0x156)],_0x5cc120(0x16a),_0x108b1d=>!_0x108b1d),_0x2dc4f1[_0x5cc120(0x141)](_0x5cc120(0x16e))['to'](this[_0x5cc120(0x156)],_0x5cc120(0x181)),_0x2dc4f1['on'](_0x5cc120(0x19e),()=>{const _0x21e281=_0x5cc120;this[_0x21e281(0x174)](_0x4dd368(this[_0x21e281(0x194)],_0x21e281(0x152)),this[_0x21e281(0x199)])[_0x21e281(0x183)](()=>{const _0x530ac5=_0x21e281;this[_0x530ac5(0x158)](_0x530ac5(0x148),this[_0x530ac5(0x156)]['id']);});}),_0x2dc4f1;}[_0x245d14(0x1a2)](){const _0x367b57=_0x245d14,_0x68b20f=_0x31f5de(this[_0x367b57(0x194)],_0x12fa12),_0x1d0432=_0x68b20f[_0x367b57(0x154)][_0x367b57(0x193)],_0x15c2cd=new _0x43fa08(this[_0x367b57(0x194)]),_0x264a1d=_0x68b20f[_0x367b57(0x16d)];_0x2ca9b8(_0x68b20f,()=>this[_0x367b57(0x13f)][_0x367b57(0x173)](_0xdf54d9=>_0xdf54d9[_0x367b57(0x16e)])),_0x68b20f[_0x367b57(0x17b)]({'attributes':{'class':[_0x264a1d['if'](_0x367b57(0x16e),_0x367b57(0x159),_0x445125=>!_0x445125)]}});const _0xfe32b4=(_0x47daa1,_0xb19449=-0x1)=>{const _0x52f830=_0x367b57,_0x3362a7=new _0x1e289e(this[_0x52f830(0x194)]);_0x3362a7[_0x52f830(0x193)][_0x52f830(0x18b)](_0x47daa1);const _0x5bb277=_0xb19449>-0x1?_0xb19449:_0x15c2cd[_0x52f830(0x13f)][_0x52f830(0x19f)];_0x15c2cd[_0x52f830(0x13f)][_0x52f830(0x18b)](_0x3362a7,_0x5bb277);const _0x2f481b=Array[_0x52f830(0x15b)](this[_0x52f830(0x13f)]);_0x68b20f[_0x52f830(0x190)](_0x52f830(0x185),_0x52f830(0x16e)),_0x68b20f[_0x52f830(0x141)](_0x52f830(0x185))[_0x52f830(0x132)](_0x2f481b,_0x52f830(0x185),(..._0x5ade7a)=>_0x5ade7a[_0x52f830(0x15e)](_0x27b358=>_0x27b358)),_0x68b20f[_0x52f830(0x141)](_0x52f830(0x16e))[_0x52f830(0x132)](_0x2f481b,_0x52f830(0x16e),(..._0x3f27b7)=>_0x3f27b7[_0x52f830(0x15e)](_0x127427=>_0x127427));};_0x68b20f[_0x367b57(0x170)]='sw',_0x68b20f[_0x367b57(0x140)][_0x367b57(0x131)]({'label':_0x4dd368(this[_0x367b57(0x194)],_0x367b57(0x182)),'icon':_0x64dac3});for(const _0x3ce25a of this[_0x367b57(0x13f)])_0xfe32b4(_0x3ce25a);return _0x1d0432[_0x367b57(0x18b)](_0x15c2cd),_0x68b20f[_0x367b57(0x169)](this[_0x367b57(0x13f)],_0x367b57(0x18b),(_0x56a9e3,_0x5962b8,_0x307252)=>{_0xfe32b4(_0x5962b8,_0x307252);}),_0x68b20f[_0x367b57(0x169)](this[_0x367b57(0x13f)],_0x367b57(0x19c),(_0x370ab3,_0x321a2f,_0x368db2)=>{const _0x142a77=_0x367b57;_0x15c2cd[_0x142a77(0x13f)][_0x142a77(0x19c)](_0x368db2);}),_0x68b20f;}[_0x245d14(0x147)](_0x558ced,_0x2dc25a){const _0x5e5a68=_0x245d14,_0x3339ab=_0x558ced&&_0x558ced[_0x5e5a68(0x199)];_0x3339ab&&(this[_0x5e5a68(0x169)](_0x3339ab,_0x5e5a68(0x197),()=>this[_0x5e5a68(0x165)]=_0x2dc25a),this[_0x5e5a68(0x169)](_0x3339ab,_0x5e5a68(0x14e),()=>this[_0x5e5a68(0x165)]=_0x2dc25a),this[_0x5e5a68(0x169)](_0x3339ab,_0x5e5a68(0x167),()=>this[_0x5e5a68(0x165)]=null),this[_0x5e5a68(0x169)](_0x3339ab,_0x5e5a68(0x134),()=>this[_0x5e5a68(0x165)]=null));}[_0x245d14(0x187)](){const _0x301fff=_0x245d14,_0x359b66=super[_0x301fff(0x187)]();return _0x359b66[_0x301fff(0x141)](_0x301fff(0x166))['to'](this),_0x359b66;}[_0x245d14(0x18e)](){const _0xbeb21f=_0x245d14;super[_0xbeb21f(0x18e)](),this[_0xbeb21f(0x147)](this[_0xbeb21f(0x172)],_0xbeb21f(0x171)),this[_0xbeb21f(0x147)](this[_0xbeb21f(0x16b)],_0xbeb21f(0x19c));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2cbc6f=_0x29ef;(function(_0x1f242e,_0x353980){var _0x1e5538=_0x29ef,_0x53f567=_0x1f242e();while(!![]){try{var _0x54cd7a=-parseInt(_0x1e5538(0x19f))/0x1+-parseInt(_0x1e5538(0x1a5))/0x2*(parseInt(_0x1e5538(0x1aa))/0x3)+parseInt(_0x1e5538(0x1a4))/0x4*(-parseInt(_0x1e5538(0x1a8))/0x5)+-parseInt(_0x1e5538(0x19e))/0x6*(parseInt(_0x1e5538(0x1a7))/0x7)+parseInt(_0x1e5538(0x1a6))/0x8*(-parseInt(_0x1e5538(0x19d))/0x9)+-parseInt(_0x1e5538(0x1a1))/0xa+parseInt(_0x1e5538(0x1a3))/0xb;if(_0x54cd7a===_0x353980)break;else _0x53f567['push'](_0x53f567['shift']());}catch(_0x41fe47){_0x53f567['push'](_0x53f567['shift']());}}}(_0x4385,0x7b4dc));import{Plugin as _0x4ac10f}from'ckeditor5/src/core.js';import{CommentsRepository as _0xaacf65}from'./comments/commentsrepository.js';import{CommentsEditing as _0x343c9f}from'./comments/commentsediting.js';import{CommentsUI as _0x2e0ed6}from'./comments/commentsui.js';import{CommentsOnly as _0xe5c32b}from'./commentsonly.js';function _0x4385(){var _0x22e030=['requires','2315630tdfJtj','Comments','38571423ozsUYC','4724FUbmeL','408sSAxkU','94056OnfjDp','1799qKuxvy','510HcYxun','isPremiumPlugin','2661qyUgDP','pluginName','isOfficialPlugin','738FBheye','15258zvMNMp','850843rkekTc'];_0x4385=function(){return _0x22e030;};return _0x4385();}function _0x29ef(_0x59dad0,_0x273280){var _0x4385be=_0x4385();return _0x29ef=function(_0x29ef14,_0x18d0c7){_0x29ef14=_0x29ef14-0x19b;var _0x5b6ca9=_0x4385be[_0x29ef14];return _0x5b6ca9;},_0x29ef(_0x59dad0,_0x273280);}import{WideSidebar as _0xb03a7a}from'./annotations/widesidebar.js';import{NarrowSidebar as _0xd07499}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x3ba0d4}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x265cd1}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x1633df}from'./comments/commentsarchive.js';export class Comments extends _0x4ac10f{static get[_0x2cbc6f(0x1a0)](){return[_0xaacf65,_0x343c9f,_0x2e0ed6,_0x1633df,_0x265cd1,_0xe5c32b,_0xb03a7a,_0xd07499,_0x3ba0d4];}static get[_0x2cbc6f(0x19b)](){var _0x320bf2=_0x2cbc6f;return _0x320bf2(0x1a2);}static get[_0x2cbc6f(0x19c)](){return!0x0;}static get[_0x2cbc6f(0x1a9)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2661a0=_0x19c9;function _0x2625(){const _0x12eab7=['editSource','commands','get','24KFoCxB','listenTo','isEnabled','afterInit','314994jTpqLM','clipboardInput','148IKfvqN','_disableCommentsOnlyMode','plugins','_enableCommentsOnlyMode','136010Cibwyo','cut','change:isEnabled','commentsOnly','document','editing','9wFnTOy','532emlcpl','pluginName','stop','view','isOfficialPlugin','forceDisabled','requires','isPremiumPlugin','delete','set','highest','SourceEditing','10794608clqlPO','config','805974qOftbr','clearForceDisabled','40MQRPAN','commentsOnlyMode','affectsData','DragDrop','1741641gqYbLE','21sldRNT','stopListening','addCommentThread','editor','has','CommentsOnly','99048cErGqJ','1239996gEhGHI'];_0x2625=function(){return _0x12eab7;};return _0x2625();}(function(_0x488c1e,_0xa68269){const _0x4e97ac=_0x19c9,_0x2dca9e=_0x488c1e();while(!![]){try{const _0x176325=-parseInt(_0x4e97ac(0x1f7))/0x1+-parseInt(_0x4e97ac(0x1ff))/0x2*(-parseInt(_0x4e97ac(0x1f0))/0x3)+-parseInt(_0x4e97ac(0x201))/0x4*(parseInt(_0x4e97ac(0x205))/0x5)+-parseInt(_0x4e97ac(0x1f6))/0x6*(-parseInt(_0x4e97ac(0x20c))/0x7)+parseInt(_0x4e97ac(0x1e7))/0x8*(parseInt(_0x4e97ac(0x20b))/0x9)+-parseInt(_0x4e97ac(0x1eb))/0xa*(parseInt(_0x4e97ac(0x1ef))/0xb)+-parseInt(_0x4e97ac(0x1fb))/0xc*(parseInt(_0x4e97ac(0x1e9))/0xd);if(_0x176325===_0xa68269)break;else _0x2dca9e['push'](_0x2dca9e['shift']());}catch(_0x238755){_0x2dca9e['push'](_0x2dca9e['shift']());}}}(_0x2625,0xab89f));import{Plugin as _0x18c91a}from'ckeditor5/src/core.js';import{CommentsEditing as _0x1fc902}from'./comments/commentsediting.js';function _0x19c9(_0xcce6ce,_0x2bd446){const _0x26250a=_0x2625();return _0x19c9=function(_0x19c9ac,_0x32a3ab){_0x19c9ac=_0x19c9ac-0x1e0;let _0x3d38bf=_0x26250a[_0x19c9ac];return _0x3d38bf;},_0x19c9(_0xcce6ce,_0x2bd446);}export class CommentsOnly extends _0x18c91a{static get[_0x2661a0(0x20d)](){const _0x1ec5e1=_0x2661a0;return _0x1ec5e1(0x1f5);}static get[_0x2661a0(0x210)](){return!0x0;}static get[_0x2661a0(0x1e2)](){return!0x0;}static get[_0x2661a0(0x1e1)](){return[_0x1fc902];}constructor(_0x45e35c){const _0xd44508=_0x2661a0;super(_0x45e35c),this[_0xd44508(0x1e4)](_0xd44508(0x1fd),!0x1),this['on'](_0xd44508(0x207),(_0x1c8112,_0x2cbbf4,_0x13b8a7)=>{const _0x791030=_0xd44508;_0x13b8a7?this[_0x791030(0x204)]():this[_0x791030(0x202)]();});}[_0x2661a0(0x1fe)](){const _0x2bbd53=_0x2661a0;!this[_0x2bbd53(0x1fd)]&&this[_0x2bbd53(0x1f3)][_0x2bbd53(0x1e8)][_0x2bbd53(0x1fa)](_0x2bbd53(0x208))&&(this[_0x2bbd53(0x1fd)]=!0x0);}[_0x2661a0(0x204)](){const _0x1e65ef=_0x2661a0;for(const [_0x541630,_0x537b83]of this[_0x1e65ef(0x1f3)][_0x1e65ef(0x1f9)])_0x537b83[_0x1e65ef(0x1ed)]&&_0x1e65ef(0x1f2)!==_0x541630&&_0x537b83[_0x1e65ef(0x1e0)](_0x1e65ef(0x1ec));(this[_0x1e65ef(0x1f3)][_0x1e65ef(0x203)][_0x1e65ef(0x1f4)](_0x1e65ef(0x1ee))&&this[_0x1e65ef(0x1f3)][_0x1e65ef(0x203)][_0x1e65ef(0x1fa)](_0x1e65ef(0x1ee))[_0x1e65ef(0x1e0)](_0x1e65ef(0x1ec)),this[_0x1e65ef(0x1f3)][_0x1e65ef(0x203)][_0x1e65ef(0x1f4)](_0x1e65ef(0x1e6)))&&this[_0x1e65ef(0x1f3)][_0x1e65ef(0x203)][_0x1e65ef(0x1fa)](_0x1e65ef(0x1e6))[_0x1e65ef(0x1e0)](_0x1e65ef(0x1ec));this[_0x1e65ef(0x1f3)][_0x1e65ef(0x1f9)][_0x1e65ef(0x1fa)](_0x1e65ef(0x1f8))?.[_0x1e65ef(0x1e0)](_0x1e65ef(0x1ec));const _0x27bd7d=this[_0x1e65ef(0x1f3)][_0x1e65ef(0x20a)][_0x1e65ef(0x20f)][_0x1e65ef(0x209)];this[_0x1e65ef(0x1fc)](_0x27bd7d,_0x1e65ef(0x206),_0x5bc41e=>_0x5bc41e[_0x1e65ef(0x20e)](),{'priority':_0x1e65ef(0x1e5)}),this[_0x1e65ef(0x1fc)](_0x27bd7d,_0x1e65ef(0x200),_0xb6dbb8=>_0xb6dbb8[_0x1e65ef(0x20e)](),{'priority':_0x1e65ef(0x1e5)}),this[_0x1e65ef(0x1fc)](_0x27bd7d,_0x1e65ef(0x1e3),_0x2330c6=>_0x2330c6[_0x1e65ef(0x20e)](),{'priority':_0x1e65ef(0x1e5)});}[_0x2661a0(0x202)](){const _0x2e6a2c=_0x2661a0;for(const [_0x3345c1,_0x555ba9]of this[_0x2e6a2c(0x1f3)][_0x2e6a2c(0x1f9)])_0x555ba9[_0x2e6a2c(0x1ed)]&&_0x2e6a2c(0x1f2)!==_0x3345c1&&_0x555ba9[_0x2e6a2c(0x1ea)](_0x2e6a2c(0x1ec));this[_0x2e6a2c(0x1f3)][_0x2e6a2c(0x203)][_0x2e6a2c(0x1f4)](_0x2e6a2c(0x1e6))&&this[_0x2e6a2c(0x1f3)][_0x2e6a2c(0x203)][_0x2e6a2c(0x1fa)](_0x2e6a2c(0x1e6))[_0x2e6a2c(0x1ea)](_0x2e6a2c(0x1ec)),this[_0x2e6a2c(0x1f3)][_0x2e6a2c(0x1f9)][_0x2e6a2c(0x1fa)](_0x2e6a2c(0x1f8))?.[_0x2e6a2c(0x1ea)](_0x2e6a2c(0x1ec)),this[_0x2e6a2c(0x1f1)](this[_0x2e6a2c(0x1f3)][_0x2e6a2c(0x20a)][_0x2e6a2c(0x20f)][_0x2e6a2c(0x209)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3803ef,_0x12b355){var _0x12ef8c=_0x2770,_0x15047d=_0x3803ef();while(!![]){try{var _0x4da768=parseInt(_0x12ef8c(0x18a))/0x1*(parseInt(_0x12ef8c(0x18b))/0x2)+-parseInt(_0x12ef8c(0x187))/0x3+-parseInt(_0x12ef8c(0x18d))/0x4*(parseInt(_0x12ef8c(0x18c))/0x5)+parseInt(_0x12ef8c(0x186))/0x6+-parseInt(_0x12ef8c(0x184))/0x7*(parseInt(_0x12ef8c(0x185))/0x8)+-parseInt(_0x12ef8c(0x188))/0x9+parseInt(_0x12ef8c(0x189))/0xa;if(_0x4da768===_0x12b355)break;else _0x15047d['push'](_0x15047d['shift']());}catch(_0x316c22){_0x15047d['push'](_0x15047d['shift']());}}}(_0x17a6,0x5ad4a));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';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 _0x2770(_0x31c9da,_0x1c3864){var _0x17a632=_0x17a6();return _0x2770=function(_0x27707d,_0x376a84){_0x27707d=_0x27707d-0x184;var _0x5918e3=_0x17a632[_0x27707d];return _0x5918e3;},_0x2770(_0x31c9da,_0x1c3864);}export{CommentsArchiveUI}from'./comments/commentsarchiveui.js';function _0x17a6(){var _0x473246=['909771wBFzir','3248946vHhteJ','17132520qoXLfN','89681ImeKEP','2nSLIao','13705hzgEWv','1052xzBlbI','35MPOLTS','1149328MOxSIn','4035438hUsSOw'];_0x17a6=function(){return _0x473246;};return _0x17a6();}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(_0x4a0095,_0x556132,_0x1d38d1){const t=_0x4a0095['t'];switch(_0x556132){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'},_0x1d38d1);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'},_0x1d38d1);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'},_0x1d38d1);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'},_0x1d38d1);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x1d38d1);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'},_0x1d38d1);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'},_0x1d38d1);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'},_0x1d38d1);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(_0x16b6ba,_0x55138f){const _0x2d28f7=_0x4642,_0x3d5f3b=_0x16b6ba();while(!![]){try{const _0x553108=parseInt(_0x2d28f7(0x12b))/0x1+-parseInt(_0x2d28f7(0x130))/0x2*(-parseInt(_0x2d28f7(0x127))/0x3)+parseInt(_0x2d28f7(0x12a))/0x4+parseInt(_0x2d28f7(0x122))/0x5*(-parseInt(_0x2d28f7(0x131))/0x6)+parseInt(_0x2d28f7(0x12d))/0x7+parseInt(_0x2d28f7(0x123))/0x8*(-parseInt(_0x2d28f7(0x124))/0x9)+-parseInt(_0x2d28f7(0x128))/0xa;if(_0x553108===_0x55138f)break;else _0x3d5f3b['push'](_0x3d5f3b['shift']());}catch(_0x45c406){_0x3d5f3b['push'](_0x3d5f3b['shift']());}}}(_0x46e6,0xdcf67));import{throttle as _0x526351}from'es-toolkit/compat';function _0x46e6(){const _0x565033=['5240721LqVGaJ','30925480GcVInN','class','4977604NbeVSw','1011210WLSPZX','characterData','10214631AzoMxi','attributes','disconnect','2MzkYkI','12IKywFB','attributeName','observe','type','2928995gJMTLl','16mupSrL','1316439uSzHNs','cancel','childList'];_0x46e6=function(){return _0x565033;};return _0x46e6();}function _0x4642(_0x2b7d72,_0x10180f){const _0x46e657=_0x46e6();return _0x4642=function(_0x464249,_0x528565){_0x464249=_0x464249-0x120;let _0x5ac63f=_0x46e657[_0x464249];return _0x5ac63f;},_0x4642(_0x2b7d72,_0x10180f);}export function createMutationObserver(_0x3765f9){const _0x2fca8c=_0x526351(_0x3765f9,0x1e),_0x46b505=new MutationObserver(_0x312643=>{const _0x2d8f02=_0x4642;for(const _0x4bb850 of _0x312643)(_0x2d8f02(0x12e)==_0x4bb850[_0x2d8f02(0x121)]&&_0x2d8f02(0x129)==_0x4bb850[_0x2d8f02(0x132)]||_0x2d8f02(0x126)==_0x4bb850[_0x2d8f02(0x121)]||_0x2d8f02(0x12c)==_0x4bb850[_0x2d8f02(0x121)])&&_0x2fca8c();});return{'attach'(_0x585025){const _0x2afd60=_0x4642;_0x46b505[_0x2afd60(0x120)](_0x585025,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x286d31=_0x4642;_0x46b505[_0x286d31(0x12f)](),_0x2fca8c[_0x286d31(0x125)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5852d6,_0x2f76bf){const _0x310197=_0x55e0,_0x57f8f4=_0x5852d6();while(!![]){try{const _0x51219d=parseInt(_0x310197(0xb0))/0x1*(-parseInt(_0x310197(0xb5))/0x2)+-parseInt(_0x310197(0xad))/0x3*(-parseInt(_0x310197(0xb2))/0x4)+-parseInt(_0x310197(0xb1))/0x5+-parseInt(_0x310197(0xb7))/0x6+-parseInt(_0x310197(0xb6))/0x7*(-parseInt(_0x310197(0xaf))/0x8)+parseInt(_0x310197(0xac))/0x9*(-parseInt(_0x310197(0xb4))/0xa)+parseInt(_0x310197(0xb3))/0xb;if(_0x51219d===_0x2f76bf)break;else _0x57f8f4['push'](_0x57f8f4['shift']());}catch(_0xb07f07){_0x57f8f4['push'](_0x57f8f4['shift']());}}}(_0x228c,0x4cef7));function _0x228c(){const _0x558b30=['1908336vdJujU','99mlQJyC','104898LAIkLd','split','392lzpVFe','43BfLwqY','148340Jgsclr','28cTXwJR','11548911XnrcMy','388910EEjNVg','23120DWGSMn','41867NjTmfi'];_0x228c=function(){return _0x558b30;};return _0x228c();}function _0x55e0(_0x5bb979,_0x2a05f8){const _0x228c72=_0x228c();return _0x55e0=function(_0x55e0e5,_0x4fe5bc){_0x55e0e5=_0x55e0e5-0xac;let _0x256cf4=_0x228c72[_0x55e0e5];return _0x256cf4;},_0x55e0(_0x5bb979,_0x2a05f8);}export function splitMarkerName(_0x427521){const _0x3aab81=_0x55e0,_0x35b649=_0x427521[_0x3aab81(0xae)](':');return{'group':_0x35b649[0x0],'id':_0x35b649[0x1],'part':_0x35b649[0x2]};}
|