@ckeditor/ckeditor5-comments 47.7.3 → 47.7.5-alpha.0
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 +20 -20
- 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 _0x4318(_0x4e6877,_0x41fa42){const _0x180d69=_0x180d();return _0x4318=function(_0x4318b6,_0x5dc67d){_0x4318b6=_0x4318b6-0x158;let _0x154a96=_0x180d69[_0x4318b6];return _0x154a96;},_0x4318(_0x4e6877,_0x41fa42);}const _0x270498=_0x4318;(function(_0x344fd9,_0x4d737a){const _0x401422=_0x4318,_0x398c32=_0x344fd9();while(!![]){try{const _0x2ca916=-parseInt(_0x401422(0x161))/0x1*(-parseInt(_0x401422(0x18e))/0x2)+-parseInt(_0x401422(0x16b))/0x3+parseInt(_0x401422(0x196))/0x4+-parseInt(_0x401422(0x16d))/0x5+parseInt(_0x401422(0x1a7))/0x6+-parseInt(_0x401422(0x19c))/0x7+-parseInt(_0x401422(0x1b5))/0x8*(-parseInt(_0x401422(0x171))/0x9);if(_0x2ca916===_0x4d737a)break;else _0x398c32['push'](_0x398c32['shift']());}catch(_0x81ed49){_0x398c32['push'](_0x398c32['shift']());}}}(_0x180d,0xd94a7));import{View as _0x34ef3f,FocusCycler as _0x4fc82a}from'ckeditor5/src/ui.js';import{diff as _0x5d8128,Collection as _0xf24083,FocusTracker as _0x164ac1,KeystrokeHandler as _0x354fe1}from'ckeditor5/src/utils.js';import{getTranslation as _0x22bd4a}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x4fd72c}from'./collapsedcommentsview.js';function _0x180d(){const _0x536f98=['viewUid','_handleInfoComment','collapse','_setupKeyboardNavigation','removed','forEach','isActive','set','maxCommentsWhenCollapsed','424gbLmUU','ck-thread__comments','change','formatDateTime','locale','_config','length','target','focusLast','bindTemplate','editorReady','_findOptimalIndex','70772VQYTDH','resolvedAt','get','resolved','destroy','keystrokes','bind','stopListening','_shouldCollapse','from','4451223dpxvrf','change:isEditMode','5117220fgxZkK','_calculatePosition','focus','remove','269046QGRsfv','map','Thread\x20comments','removeComment','resolvedCommentView','render','add','authoredAt','comments','isEditMode','CommentView','expand','delegate','createCollection','_rearrangeExpand','insert','_collapsedCommentsView','refreshVisibleViews','updateComment','resolveCommentThread','commentUpdated','visibleViews','ck-hidden','element','maxCommentCharsWhenCollapsed','listenTo','_handleRemoveCommentModel','_updateHasDirtyComment','weight','14yfCCUa','resolvedBy','some','Marked\x20as\x20resolved','count','setTemplate','equal','focusTracker','1618580ebikRr','hasDirtyComment','editorDestroyed','change:isActive','delete','_rearrangeCollapse','1393987TkWnOm','arrowdown','change:hasDirtyComment','arrowup','added','change:isResolved','_handleNewCommentModel','_model','includes','editorConfig','reverse','6671508tzHdhA','focusFirst','commentViews','focusCycler','maxThreadTotalWeight'];_0x180d=function(){return _0x536f98;};return _0x180d();}export class CommentsListView extends _0x34ef3f{[_0x270498(0x1a9)];[_0x270498(0x175)];[_0x270498(0x195)];[_0x270498(0x166)];[_0x270498(0x1aa)];[_0x270498(0x1a3)];[_0x270498(0x15a)];[_0x270498(0x181)];constructor(_0x2361ac,_0x53e735,_0xede7ae){const _0x85e1eb=_0x270498;super(_0x2361ac);const _0x132f22=this[_0x85e1eb(0x15e)];this[_0x85e1eb(0x1b3)](_0x85e1eb(0x197),!0x1),this[_0x85e1eb(0x1b3)](_0x85e1eb(0x15b),_0x53e735[_0x85e1eb(0x179)][_0x85e1eb(0x15b)]),this[_0x85e1eb(0x1b3)](_0x85e1eb(0x1b2),!0x1),this[_0x85e1eb(0x1a3)]=_0x53e735,this[_0x85e1eb(0x15a)]=_0xede7ae,this[_0x85e1eb(0x1a9)]=this[_0x85e1eb(0x17e)](),this[_0x85e1eb(0x186)]=this[_0x85e1eb(0x17e)](),this[_0x85e1eb(0x175)]=null,this[_0x85e1eb(0x195)]=new _0x164ac1(),this[_0x85e1eb(0x166)]=new _0x354fe1(),this[_0x85e1eb(0x1aa)]=new _0x4fc82a({'focusables':this[_0x85e1eb(0x1a9)],'focusTracker':this[_0x85e1eb(0x195)],'keystrokeHandler':this[_0x85e1eb(0x166)],'keystrokeHandlerOptions':{'filter':_0x5a9fec=>this[_0x85e1eb(0x1a9)][_0x85e1eb(0x172)](_0x30c958=>_0x30c958[_0x85e1eb(0x188)])[_0x85e1eb(0x1a4)](_0x5a9fec[_0x85e1eb(0x15c)])},'actions':{'focusPrevious':_0x85e1eb(0x19f),'focusNext':_0x85e1eb(0x19d)}}),this[_0x85e1eb(0x181)]=new _0x4fd72c(_0x2361ac),this[_0x85e1eb(0x181)][_0x85e1eb(0x167)](_0x85e1eb(0x192))['to'](this,_0x85e1eb(0x15b),_0x263cdf=>_0x263cdf-this[_0x85e1eb(0x15a)][_0x85e1eb(0x1b4)]);for(const _0x520b72 of _0x53e735[_0x85e1eb(0x179)])this[_0x85e1eb(0x1a2)](_0x520b72);this[_0x85e1eb(0x1ad)](),this[_0x85e1eb(0x18a)](_0x53e735[_0x85e1eb(0x179)],_0x85e1eb(0x177),(_0x41851a,_0x288e0a)=>{const _0x25dfa7=_0x85e1eb,_0x292a52=this[_0x25dfa7(0x16e)](_0x288e0a);this[_0x25dfa7(0x15b)]++,this[_0x25dfa7(0x1a2)](_0x288e0a,_0x292a52),this[_0x25dfa7(0x182)]();}),this[_0x85e1eb(0x18a)](_0x53e735[_0x85e1eb(0x179)],_0x85e1eb(0x170),(_0x34ee83,_0x30fa8c)=>{const _0x1fef11=_0x85e1eb;this[_0x1fef11(0x15b)]--,this[_0x1fef11(0x18b)](_0x30fa8c),this[_0x1fef11(0x182)]();}),this[_0x85e1eb(0x18a)](_0x53e735,_0x85e1eb(0x185),()=>this[_0x85e1eb(0x182)]()),this[_0x85e1eb(0x18a)](_0x53e735,_0x85e1eb(0x1a1),()=>this[_0x85e1eb(0x1ad)]()),this['on'](_0x85e1eb(0x199),()=>this[_0x85e1eb(0x182)]()),this['on'](_0x85e1eb(0x19e),()=>this[_0x85e1eb(0x182)]()),this[_0x85e1eb(0x193)]({'tag':'ul','attributes':{'class':[_0x85e1eb(0x1b6),_0x132f22['if'](_0x85e1eb(0x15b),_0x85e1eb(0x187),_0xbad19f=>!_0xbad19f)],'aria-label':_0x22bd4a(_0x2361ac,_0x85e1eb(0x173))},'children':this[_0x85e1eb(0x186)]});}get[_0x270498(0x169)](){const _0x2cb535=_0x270498;return this[_0x2cb535(0x1a3)][_0x2cb535(0x18d)]>this[_0x2cb535(0x15a)][_0x2cb535(0x1ab)]&&!this[_0x2cb535(0x1b2)]&&!this[_0x2cb535(0x197)];}[_0x270498(0x176)](){const _0x4c1bea=_0x270498;super[_0x4c1bea(0x176)](),this[_0x4c1bea(0x182)](),this[_0x4c1bea(0x1af)]();}[_0x270498(0x16f)](_0x178b50){const _0xeb7829=_0x270498;-0x1===_0x178b50?this[_0xeb7829(0x1aa)][_0xeb7829(0x15d)]():this[_0xeb7829(0x1aa)][_0xeb7829(0x1a8)]();}[_0x270498(0x165)](){const _0x42b677=_0x270498;this[_0x42b677(0x181)][_0x42b677(0x165)]();for(const _0x5c9fd1 of this[_0x42b677(0x1a9)])_0x5c9fd1[_0x42b677(0x165)]();super[_0x42b677(0x165)]();}[_0x270498(0x182)](){const _0xb0da27=_0x270498;this[_0xb0da27(0x169)]?this[_0xb0da27(0x19b)]():this[_0xb0da27(0x17f)]();}[_0x270498(0x1a2)](_0x5a4a35,_0x4281a6){const _0x5edb2b=_0x270498,_0x46f186=new this[(_0x5edb2b(0x15a))][(_0x5edb2b(0x17b))](this[_0x5edb2b(0x159)],_0x5a4a35,{'maxCommentCharsWhenCollapsed':this[_0x5edb2b(0x15a)][_0x5edb2b(0x189)],'formatDateTime':this[_0x5edb2b(0x15a)][_0x5edb2b(0x158)],'editorConfig':this[_0x5edb2b(0x15a)][_0x5edb2b(0x1a5)]});_0x46f186[_0x5edb2b(0x1ac)]=_0x5a4a35['id'],_0x46f186[_0x5edb2b(0x17d)](_0x5edb2b(0x174))['to'](this),_0x46f186[_0x5edb2b(0x17d)](_0x5edb2b(0x183))['to'](this),_0x46f186[_0x5edb2b(0x17d)](_0x5edb2b(0x184))['to'](this),_0x46f186[_0x5edb2b(0x17d)](_0x5edb2b(0x15f))['to'](this),_0x46f186[_0x5edb2b(0x17d)](_0x5edb2b(0x198))['to'](this),this[_0x5edb2b(0x18a)](_0x46f186,_0x5edb2b(0x16c),()=>this[_0x5edb2b(0x18c)]()),this[_0x5edb2b(0x1a9)][_0x5edb2b(0x177)](_0x46f186,_0x4281a6);}[_0x270498(0x16e)](_0x4711b3){const _0x3ed874=_0x270498,_0x214ea8=this[_0x3ed874(0x1a3)][_0x3ed874(0x160)](_0x4711b3);return this[_0x3ed874(0x175)]?this[_0x3ed874(0x175)][_0x3ed874(0x178)]>_0x4711b3[_0x3ed874(0x178)]?_0x214ea8-0x1:_0x214ea8:_0x214ea8-0x1;}[_0x270498(0x1ad)](){const _0x481104=_0x270498;if(this[_0x481104(0x1a3)][_0x481104(0x18f)]&&this[_0x481104(0x1a3)][_0x481104(0x162)]){const _0x228dfb={'id':_0x481104(0x164),'author':this[_0x481104(0x1a3)][_0x481104(0x18f)],'authoredAt':this[_0x481104(0x1a3)][_0x481104(0x162)],'content':_0x22bd4a(this[_0x481104(0x159)],_0x481104(0x191)),'attributes':{}};this[_0x481104(0x175)]=new this[(_0x481104(0x15a))][(_0x481104(0x17b))](this[_0x481104(0x159)],_0x228dfb,{'maxCommentCharsWhenCollapsed':this[_0x481104(0x15a)][_0x481104(0x189)],'formatDateTime':this[_0x481104(0x15a)][_0x481104(0x158)],'editorConfig':this[_0x481104(0x15a)][_0x481104(0x1a5)],'isSystemComment':!0x0}),this[_0x481104(0x1a9)][_0x481104(0x177)](this[_0x481104(0x175)],this[_0x481104(0x1a3)][_0x481104(0x160)](_0x228dfb));}else this[_0x481104(0x175)]&&(this[_0x481104(0x1a9)][_0x481104(0x170)](this[_0x481104(0x175)]),this[_0x481104(0x175)][_0x481104(0x165)](),this[_0x481104(0x175)]=null);this[_0x481104(0x182)]();}[_0x270498(0x18b)](_0x54db5c){const _0x298c74=_0x270498,_0x12a180=this[_0x298c74(0x1a9)][_0x298c74(0x170)](_0x54db5c['id']);this[_0x298c74(0x168)](_0x12a180),_0x12a180[_0x298c74(0x17a)]&&this[_0x298c74(0x18c)](),_0x12a180[_0x298c74(0x165)]();}[_0x270498(0x18c)](){const _0x41e54d=_0x270498;this[_0x41e54d(0x197)]=Array[_0x41e54d(0x16a)](this[_0x41e54d(0x1a9)])[_0x41e54d(0x190)](_0xcd0128=>_0xcd0128[_0x41e54d(0x17a)]);}[_0x270498(0x19b)](){const _0x17146a=_0x270498,_0x475ae7=function(_0x1a18e5){const _0x4fdb79=_0x4318,_0x16a6cf=new _0xf24083();for(const _0x56a44b of _0x1a18e5)_0x16a6cf[_0x4fdb79(0x177)](_0x56a44b);return _0x16a6cf;}(this[_0x17146a(0x1a9)]),_0x3ff64d=this[_0x17146a(0x181)][_0x17146a(0x192)];for(let _0x92b761=0x1;_0x92b761<=_0x3ff64d;_0x92b761++)_0x475ae7[_0x17146a(0x170)](0x1);for(const _0x354a4d of _0x475ae7)_0x354a4d[_0x17146a(0x1ae)]();_0x3ff64d>0x0&&_0x475ae7[_0x17146a(0x177)](this[_0x17146a(0x181)],0x1),ns(_0x5d8128(Array[_0x17146a(0x16a)](this[_0x17146a(0x186)]),Array[_0x17146a(0x16a)](_0x475ae7)),this[_0x17146a(0x186)],_0x475ae7);}[_0x270498(0x17f)](){const _0x5c7acf=_0x270498;ns(_0x5d8128(Array[_0x5c7acf(0x16a)](this[_0x5c7acf(0x186)]),Array[_0x5c7acf(0x16a)](this[_0x5c7acf(0x1a9)])),this[_0x5c7acf(0x186)],this[_0x5c7acf(0x1a9)]);for(const _0x50e40a of this[_0x5c7acf(0x186)])_0x50e40a[_0x5c7acf(0x17c)]();}[_0x270498(0x1af)](){const _0x4f5399=_0x270498;this[_0x4f5399(0x1a9)][_0x4f5399(0x1b1)](_0x31fbf5=>{const _0x19d09e=_0x4f5399;this[_0x19d09e(0x195)][_0x19d09e(0x177)](_0x31fbf5[_0x19d09e(0x188)]),this[_0x19d09e(0x166)][_0x19d09e(0x18a)](_0x31fbf5[_0x19d09e(0x188)]);}),this[_0x4f5399(0x1a9)]['on'](_0x4f5399(0x1b7),(_0x2ff938,_0x2f0509)=>{const _0x184d1f=_0x4f5399;for(const _0x3d776b of _0x2f0509[_0x184d1f(0x1b0)])this[_0x184d1f(0x195)][_0x184d1f(0x170)](_0x3d776b[_0x184d1f(0x188)]),this[_0x184d1f(0x166)][_0x184d1f(0x168)](_0x3d776b[_0x184d1f(0x188)]);for(const _0x60d338 of Array[_0x184d1f(0x16a)](_0x2f0509[_0x184d1f(0x1a0)])[_0x184d1f(0x1a6)]())this[_0x184d1f(0x195)][_0x184d1f(0x177)](_0x60d338[_0x184d1f(0x188)]),this[_0x184d1f(0x166)][_0x184d1f(0x18a)](_0x60d338[_0x184d1f(0x188)]);});}}function ns(_0x76bc10,_0xa7aec4,_0x5c405d){const _0x2dad99=_0x270498;let _0x52df49=0x0;for(const _0x3dfab3 of _0x76bc10)switch(_0x3dfab3){case _0x2dad99(0x180):_0xa7aec4[_0x2dad99(0x177)](_0x5c405d[_0x2dad99(0x163)](_0x52df49),_0x52df49),_0x52df49++;break;case _0x2dad99(0x19a):_0xa7aec4[_0x2dad99(0x170)](_0x52df49);break;case _0x2dad99(0x194):_0x52df49++;}}
|
|
23
|
+
function _0x3f68(_0xdc2839,_0x2ed8b1){const _0x48ec0d=_0x48ec();return _0x3f68=function(_0x3f6873,_0x2f9e24){_0x3f6873=_0x3f6873-0x1f3;let _0x450707=_0x48ec0d[_0x3f6873];return _0x450707;},_0x3f68(_0xdc2839,_0x2ed8b1);}const _0x2fbc67=_0x3f68;(function(_0xe44734,_0x58e485){const _0x145f82=_0x3f68,_0x3ffd6b=_0xe44734();while(!![]){try{const _0x20fb0d=parseInt(_0x145f82(0x218))/0x1*(parseInt(_0x145f82(0x222))/0x2)+parseInt(_0x145f82(0x205))/0x3*(-parseInt(_0x145f82(0x20e))/0x4)+-parseInt(_0x145f82(0x226))/0x5*(parseInt(_0x145f82(0x20b))/0x6)+parseInt(_0x145f82(0x252))/0x7+-parseInt(_0x145f82(0x253))/0x8+-parseInt(_0x145f82(0x238))/0x9+-parseInt(_0x145f82(0x236))/0xa*(-parseInt(_0x145f82(0x1fc))/0xb);if(_0x20fb0d===_0x58e485)break;else _0x3ffd6b['push'](_0x3ffd6b['shift']());}catch(_0x32d7f0){_0x3ffd6b['push'](_0x3ffd6b['shift']());}}}(_0x48ec,0x728f8));import{View as _0x226e88,FocusCycler as _0x4009f0}from'ckeditor5/src/ui.js';import{diff as _0x3a2591,Collection as _0x3745f8,FocusTracker as _0x1d6335,KeystrokeHandler as _0x3271c9}from'ckeditor5/src/utils.js';import{getTranslation as _0x50aae6}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0xbc963b}from'./collapsedcommentsview.js';export class CommentsListView extends _0x226e88{[_0x2fbc67(0x212)];[_0x2fbc67(0x1fe)];[_0x2fbc67(0x207)];[_0x2fbc67(0x21d)];[_0x2fbc67(0x22d)];[_0x2fbc67(0x21f)];[_0x2fbc67(0x216)];[_0x2fbc67(0x249)];constructor(_0x53571f,_0x52a2dd,_0x41b9db){const _0x5a4e31=_0x2fbc67;super(_0x53571f);const _0x5e78a3=this[_0x5a4e31(0x1f6)];this[_0x5a4e31(0x241)](_0x5a4e31(0x23e),!0x1),this[_0x5a4e31(0x241)](_0x5a4e31(0x24e),_0x52a2dd[_0x5a4e31(0x21b)][_0x5a4e31(0x24e)]),this[_0x5a4e31(0x241)](_0x5a4e31(0x20d),!0x1),this[_0x5a4e31(0x21f)]=_0x52a2dd,this[_0x5a4e31(0x216)]=_0x41b9db,this[_0x5a4e31(0x212)]=this[_0x5a4e31(0x237)](),this[_0x5a4e31(0x213)]=this[_0x5a4e31(0x237)](),this[_0x5a4e31(0x1fe)]=null,this[_0x5a4e31(0x207)]=new _0x1d6335(),this[_0x5a4e31(0x21d)]=new _0x3271c9(),this[_0x5a4e31(0x22d)]=new _0x4009f0({'focusables':this[_0x5a4e31(0x212)],'focusTracker':this[_0x5a4e31(0x207)],'keystrokeHandler':this[_0x5a4e31(0x21d)],'keystrokeHandlerOptions':{'filter':_0x1e1f5a=>this[_0x5a4e31(0x212)][_0x5a4e31(0x22a)](_0x389c77=>_0x389c77[_0x5a4e31(0x21c)])[_0x5a4e31(0x21e)](_0x1e1f5a[_0x5a4e31(0x24a)])},'actions':{'focusPrevious':_0x5a4e31(0x234),'focusNext':_0x5a4e31(0x1ff)}}),this[_0x5a4e31(0x249)]=new _0xbc963b(_0x53571f),this[_0x5a4e31(0x249)][_0x5a4e31(0x24f)](_0x5a4e31(0x245))['to'](this,_0x5a4e31(0x24e),_0x3494bc=>_0x3494bc-this[_0x5a4e31(0x216)][_0x5a4e31(0x22b)]);for(const _0x5f09e8 of _0x52a2dd[_0x5a4e31(0x21b)])this[_0x5a4e31(0x204)](_0x5f09e8);this[_0x5a4e31(0x231)](),this[_0x5a4e31(0x1fd)](_0x52a2dd[_0x5a4e31(0x21b)],_0x5a4e31(0x24d),(_0x5dcf23,_0x566299)=>{const _0x4fc99f=_0x5a4e31,_0x2abdec=this[_0x4fc99f(0x221)](_0x566299);this[_0x4fc99f(0x24e)]++,this[_0x4fc99f(0x204)](_0x566299,_0x2abdec),this[_0x4fc99f(0x219)]();}),this[_0x5a4e31(0x1fd)](_0x52a2dd[_0x5a4e31(0x21b)],_0x5a4e31(0x211),(_0x304e7c,_0x44ba78)=>{const _0x410c14=_0x5a4e31;this[_0x410c14(0x24e)]--,this[_0x410c14(0x206)](_0x44ba78),this[_0x410c14(0x219)]();}),this[_0x5a4e31(0x1fd)](_0x52a2dd,_0x5a4e31(0x1fa),()=>this[_0x5a4e31(0x219)]()),this[_0x5a4e31(0x1fd)](_0x52a2dd,_0x5a4e31(0x20c),()=>this[_0x5a4e31(0x231)]()),this['on'](_0x5a4e31(0x233),()=>this[_0x5a4e31(0x219)]()),this['on'](_0x5a4e31(0x240),()=>this[_0x5a4e31(0x219)]()),this[_0x5a4e31(0x247)]({'tag':'ul','attributes':{'class':[_0x5a4e31(0x209),_0x5e78a3['if'](_0x5a4e31(0x24e),_0x5a4e31(0x23a),_0x3a29e7=>!_0x3a29e7)],'aria-label':_0x50aae6(_0x53571f,_0x5a4e31(0x24b))},'children':this[_0x5a4e31(0x213)]});}get[_0x2fbc67(0x228)](){const _0x36ee9a=_0x2fbc67;return this[_0x36ee9a(0x21f)][_0x36ee9a(0x201)]>this[_0x36ee9a(0x216)][_0x36ee9a(0x235)]&&!this[_0x36ee9a(0x20d)]&&!this[_0x36ee9a(0x23e)];}[_0x2fbc67(0x242)](){const _0x44b136=_0x2fbc67;super[_0x44b136(0x242)](),this[_0x44b136(0x219)](),this[_0x44b136(0x24c)]();}[_0x2fbc67(0x251)](_0x460a7b){const _0x36a373=_0x2fbc67;-0x1===_0x460a7b?this[_0x36a373(0x22d)][_0x36a373(0x200)]():this[_0x36a373(0x22d)][_0x36a373(0x225)]();}[_0x2fbc67(0x22e)](){const _0x58557a=_0x2fbc67;this[_0x58557a(0x249)][_0x58557a(0x22e)]();for(const _0x5abe84 of this[_0x58557a(0x212)])_0x5abe84[_0x58557a(0x22e)]();super[_0x58557a(0x22e)]();}[_0x2fbc67(0x219)](){const _0x34a9bf=_0x2fbc67;this[_0x34a9bf(0x228)]?this[_0x34a9bf(0x224)]():this[_0x34a9bf(0x22c)]();}[_0x2fbc67(0x204)](_0x203b82,_0x4b18ad){const _0x49545e=_0x2fbc67,_0x2f7f18=new this[(_0x49545e(0x216))][(_0x49545e(0x214))](this[_0x49545e(0x1f9)],_0x203b82,{'maxCommentCharsWhenCollapsed':this[_0x49545e(0x216)][_0x49545e(0x23f)],'formatDateTime':this[_0x49545e(0x216)][_0x49545e(0x1f7)],'editorConfig':this[_0x49545e(0x216)][_0x49545e(0x1f3)]});_0x2f7f18[_0x49545e(0x1f5)]=_0x203b82['id'],_0x2f7f18[_0x49545e(0x239)](_0x49545e(0x1f8))['to'](this),_0x2f7f18[_0x49545e(0x239)](_0x49545e(0x217))['to'](this),_0x2f7f18[_0x49545e(0x239)](_0x49545e(0x243))['to'](this),_0x2f7f18[_0x49545e(0x239)](_0x49545e(0x203))['to'](this),_0x2f7f18[_0x49545e(0x239)](_0x49545e(0x202))['to'](this),this[_0x49545e(0x1fd)](_0x2f7f18,_0x49545e(0x230),()=>this[_0x49545e(0x254)]()),this[_0x49545e(0x212)][_0x49545e(0x24d)](_0x2f7f18,_0x4b18ad);}[_0x2fbc67(0x221)](_0x2c05b4){const _0x3591c6=_0x2fbc67,_0xd1197f=this[_0x3591c6(0x21f)][_0x3591c6(0x223)](_0x2c05b4);return this[_0x3591c6(0x1fe)]?this[_0x3591c6(0x1fe)][_0x3591c6(0x229)]>_0x2c05b4[_0x3591c6(0x229)]?_0xd1197f-0x1:_0xd1197f:_0xd1197f-0x1;}[_0x2fbc67(0x231)](){const _0x46322a=_0x2fbc67;if(this[_0x46322a(0x21f)][_0x46322a(0x215)]&&this[_0x46322a(0x21f)][_0x46322a(0x23b)]){const _0x34fdc0={'id':_0x46322a(0x1f4),'author':this[_0x46322a(0x21f)][_0x46322a(0x215)],'authoredAt':this[_0x46322a(0x21f)][_0x46322a(0x23b)],'content':_0x50aae6(this[_0x46322a(0x1f9)],_0x46322a(0x248)),'attributes':{}};this[_0x46322a(0x1fe)]=new this[(_0x46322a(0x216))][(_0x46322a(0x214))](this[_0x46322a(0x1f9)],_0x34fdc0,{'maxCommentCharsWhenCollapsed':this[_0x46322a(0x216)][_0x46322a(0x23f)],'formatDateTime':this[_0x46322a(0x216)][_0x46322a(0x1f7)],'editorConfig':this[_0x46322a(0x216)][_0x46322a(0x1f3)],'isSystemComment':!0x0}),this[_0x46322a(0x212)][_0x46322a(0x24d)](this[_0x46322a(0x1fe)],this[_0x46322a(0x21f)][_0x46322a(0x223)](_0x34fdc0));}else this[_0x46322a(0x1fe)]&&(this[_0x46322a(0x212)][_0x46322a(0x211)](this[_0x46322a(0x1fe)]),this[_0x46322a(0x1fe)][_0x46322a(0x22e)](),this[_0x46322a(0x1fe)]=null);this[_0x46322a(0x219)]();}[_0x2fbc67(0x206)](_0x16efb2){const _0xbf47f9=_0x2fbc67,_0x56e2be=this[_0xbf47f9(0x212)][_0xbf47f9(0x211)](_0x16efb2['id']);this[_0xbf47f9(0x20a)](_0x56e2be),_0x56e2be[_0xbf47f9(0x227)]&&this[_0xbf47f9(0x254)](),_0x56e2be[_0xbf47f9(0x22e)]();}[_0x2fbc67(0x254)](){const _0x206725=_0x2fbc67;this[_0x206725(0x23e)]=Array[_0x206725(0x208)](this[_0x206725(0x212)])[_0x206725(0x250)](_0x4ec186=>_0x4ec186[_0x206725(0x227)]);}[_0x2fbc67(0x224)](){const _0x4def6a=_0x2fbc67,_0x5017c2=function(_0x308adb){const _0x35e6fd=_0x3f68,_0x2ec730=new _0x3745f8();for(const _0x47535a of _0x308adb)_0x2ec730[_0x35e6fd(0x24d)](_0x47535a);return _0x2ec730;}(this[_0x4def6a(0x212)]),_0x1a84dc=this[_0x4def6a(0x249)][_0x4def6a(0x245)];for(let _0xf25d9=0x1;_0xf25d9<=_0x1a84dc;_0xf25d9++)_0x5017c2[_0x4def6a(0x211)](0x1);for(const _0x33c0a5 of _0x5017c2)_0x33c0a5[_0x4def6a(0x23d)]();_0x1a84dc>0x0&&_0x5017c2[_0x4def6a(0x24d)](this[_0x4def6a(0x249)],0x1),ns(_0x3a2591(Array[_0x4def6a(0x208)](this[_0x4def6a(0x213)]),Array[_0x4def6a(0x208)](_0x5017c2)),this[_0x4def6a(0x213)],_0x5017c2);}[_0x2fbc67(0x22c)](){const _0x4ba019=_0x2fbc67;ns(_0x3a2591(Array[_0x4ba019(0x208)](this[_0x4ba019(0x213)]),Array[_0x4ba019(0x208)](this[_0x4ba019(0x212)])),this[_0x4ba019(0x213)],this[_0x4ba019(0x212)]);for(const _0x3a1e97 of this[_0x4ba019(0x213)])_0x3a1e97[_0x4ba019(0x23c)]();}[_0x2fbc67(0x24c)](){const _0x415797=_0x2fbc67;this[_0x415797(0x212)][_0x415797(0x232)](_0x2f1258=>{const _0x541ac6=_0x415797;this[_0x541ac6(0x207)][_0x541ac6(0x24d)](_0x2f1258[_0x541ac6(0x21c)]),this[_0x541ac6(0x21d)][_0x541ac6(0x1fd)](_0x2f1258[_0x541ac6(0x21c)]);}),this[_0x415797(0x212)]['on'](_0x415797(0x220),(_0x219471,_0x180ca8)=>{const _0x8e0ee0=_0x415797;for(const _0x4b4e43 of _0x180ca8[_0x8e0ee0(0x22f)])this[_0x8e0ee0(0x207)][_0x8e0ee0(0x211)](_0x4b4e43[_0x8e0ee0(0x21c)]),this[_0x8e0ee0(0x21d)][_0x8e0ee0(0x20a)](_0x4b4e43[_0x8e0ee0(0x21c)]);for(const _0x15b49e of Array[_0x8e0ee0(0x208)](_0x180ca8[_0x8e0ee0(0x21a)])[_0x8e0ee0(0x1fb)]())this[_0x8e0ee0(0x207)][_0x8e0ee0(0x24d)](_0x15b49e[_0x8e0ee0(0x21c)]),this[_0x8e0ee0(0x21d)][_0x8e0ee0(0x1fd)](_0x15b49e[_0x8e0ee0(0x21c)]);});}}function _0x48ec(){const _0x8a34ee=['viewUid','bindTemplate','formatDateTime','removeComment','locale','commentUpdated','reverse','66WniGiS','listenTo','resolvedCommentView','arrowdown','focusLast','weight','editorDestroyed','editorReady','_handleNewCommentModel','3obzzye','_handleRemoveCommentModel','focusTracker','from','ck-thread__comments','stopListening','913494XCqaJR','change:isResolved','isActive','51236RCaLiO','insert','get','remove','commentViews','visibleViews','CommentView','resolvedBy','_config','updateComment','1wTczDE','refreshVisibleViews','added','comments','element','keystrokes','includes','_model','change','_calculatePosition','922864JoBUfT','_findOptimalIndex','_rearrangeCollapse','focusFirst','5PrkMgi','isEditMode','_shouldCollapse','authoredAt','map','maxCommentsWhenCollapsed','_rearrangeExpand','focusCycler','destroy','removed','change:isEditMode','_handleInfoComment','forEach','change:isActive','arrowup','maxThreadTotalWeight','1897910KfTSig','createCollection','6895845NcpKWB','delegate','ck-hidden','resolvedAt','expand','collapse','hasDirtyComment','maxCommentCharsWhenCollapsed','change:hasDirtyComment','set','render','resolveCommentThread','delete','count','equal','setTemplate','Marked\x20as\x20resolved','_collapsedCommentsView','target','Thread\x20comments','_setupKeyboardNavigation','add','length','bind','some','focus','5125099oRDvQH','7454656kCZTWX','_updateHasDirtyComment','editorConfig','resolved'];_0x48ec=function(){return _0x8a34ee;};return _0x48ec();}function ns(_0x158c4d,_0x380244,_0x5ef787){const _0x677244=_0x2fbc67;let _0x919f88=0x0;for(const _0x5aff52 of _0x158c4d)switch(_0x5aff52){case _0x677244(0x20f):_0x380244[_0x677244(0x24d)](_0x5ef787[_0x677244(0x210)](_0x919f88),_0x919f88),_0x919f88++;break;case _0x677244(0x244):_0x380244[_0x677244(0x211)](_0x919f88);break;case _0x677244(0x246):_0x919f88++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x44ad(_0x2a9882,_0x408662){const _0x2dfae6=_0x2dfa();return _0x44ad=function(_0x44ad0e,_0x20a11d){_0x44ad0e=_0x44ad0e-0x1bc;let _0x335c0c=_0x2dfae6[_0x44ad0e];return _0x335c0c;},_0x44ad(_0x2a9882,_0x408662);}function _0x2dfa(){const _0x142146=['21KtuBqz','set','bindTemplate','setTemplate','347760tKobte','focus','contextValue','span','ck-context__value','423WQqjrf','1XzBNPB','element','481424yyQIoS','262000AGlyTD','659750bglHEr','6890HIEcDO','759822aaEHhs','802688Spejpc','THREAD_CONTEXT_LABEL'];_0x2dfa=function(){return _0x142146;};return _0x2dfa();}const _0x316895=_0x44ad;(function(_0x51cd69,_0x52e6e5){const _0x57807b=_0x44ad,_0x23affb=_0x51cd69();while(!![]){try{const _0x2120c7=parseInt(_0x57807b(0x1ca))/0x1*(parseInt(_0x57807b(0x1cc))/0x2)+-parseInt(_0x57807b(0x1c4))/0x3+parseInt(_0x57807b(0x1be))/0x4+-parseInt(_0x57807b(0x1ce))/0x5+parseInt(_0x57807b(0x1bd))/0x6+parseInt(_0x57807b(0x1c0))/0x7*(-parseInt(_0x57807b(0x1cd))/0x8)+-parseInt(_0x57807b(0x1c9))/0x9*(parseInt(_0x57807b(0x1bc))/0xa);if(_0x2120c7===_0x52e6e5)break;else _0x23affb['push'](_0x23affb['shift']());}catch(_0x4e4869){_0x23affb['push'](_0x23affb['shift']());}}}(_0x2dfa,0x2e44e));import{View as _0x250cd9}from'ckeditor5/src/ui.js';import{getTranslation as _0x1c17c1}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x250cd9{constructor(_0x2c6a22){const _0x3a0683=_0x44ad;super(_0x2c6a22);const _0x2f47c5=this[_0x3a0683(0x1c2)];this[_0x3a0683(0x1c1)](_0x3a0683(0x1c6),''),this[_0x3a0683(0x1c3)]({'tag':_0x3a0683(0x1c7),'attributes':{'class':['ck',_0x3a0683(0x1c8)],'aria-label':_0x2f47c5['to'](_0x3a0683(0x1c6),_0x1ccb00=>_0x1c17c1(_0x2c6a22,_0x3a0683(0x1bf),_0x1ccb00)),'tabindex':-0x1},'children':[{'text':_0x2f47c5['to'](_0x3a0683(0x1c6))}]});}[_0x316895(0x1c5)](){const _0x30edaf=_0x316895;this[_0x30edaf(0x1cb)][_0x30edaf(0x1c5)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ed148=_0x339d;(function(_0xbf5a59,_0x3a9de7){const _0xe7a385=_0x339d,_0x10ed9e=_0xbf5a59();while(!![]){try{const _0x571eb9=parseInt(_0xe7a385(0xc5))/0x1*(parseInt(_0xe7a385(0xae))/0x2)+parseInt(_0xe7a385(0xb6))/0x3*(parseInt(_0xe7a385(0xb1))/0x4)+-parseInt(_0xe7a385(0xa4))/0x5*(-parseInt(_0xe7a385(0xcc))/0x6)+-parseInt(_0xe7a385(0xe3))/0x7*(parseInt(_0xe7a385(0xcd))/0x8)+parseInt(_0xe7a385(0xbd))/0x9+parseInt(_0xe7a385(0xac))/0xa*(-parseInt(_0xe7a385(0xc1))/0xb)+-parseInt(_0xe7a385(0xb5))/0xc;if(_0x571eb9===_0x3a9de7)break;else _0x10ed9e['push'](_0x10ed9e['shift']());}catch(_0x58e221){_0x10ed9e['push'](_0x10ed9e['shift']());}}}(_0x2c2a,0x91b2d));import{View as _0x1416b2,ButtonView as _0x54f5e9,FocusCycler as _0x31c171}from'ckeditor5/src/ui.js';function _0x339d(_0x4ae57c,_0x183901){const _0x2c2a31=_0x2c2a();return _0x339d=function(_0x339d82,_0x24f07a){_0x339d82=_0x339d82-0x9f;let _0xaeaf8d=_0x2c2a31[_0x339d82];return _0xaeaf8d;},_0x339d(_0x4ae57c,_0x183901);}import{FocusTracker as _0x465fbf,KeystrokeHandler as _0x1f37ca}from'ckeditor5/src/utils.js';import{IconUndo as _0x3a7bbf}from'ckeditor5/src/icons.js';import{getTranslation as _0x4a3a96}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x3b87d6}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;function _0x2c2a(){const _0x24596f=['ck-annotation__actions','_trimContextValue','focusCycler','render','537890myFJRv','ck-context-wrapper','overlay','shift+tab','context','label','focusTracker','createCollection','20gNfMiy','length','82834vTeuao','value','tooltip','139560GVFeiG','substring','_model','isEnabled','8777916EhYbvV','9tGQqjq','ck-thread__header','focusFirst','execute','offsetWidth','_setupKeyboardNavigation','setTemplate','8508609eFpoYI','listenTo','_createContextView','reopenCommentThread','1088681CvhMPw','_createReopenButton','focus','...','16ZoBjjx','contextView','bind','hasContext','mouseenter','reopenButtonView','Comment\x20was\x20made\x20on\x20an\x20element','30fBaHMX','21544ZOQPcH','locale','querySelector','fire','icon','remove','isVisible','focusables','bindTemplate','_attachContextActions','ck-context','mouseleave','.ck-context','isResolved','keystrokes','add','ck-context--quotes','element','div','.ck-context__value','scrollWidth','tab','1883yUUPSr','isReadOnly','contextValue','isResolvable','Reopen','classList','lastIndexOf'];_0x2c2a=function(){return _0x24596f;};return _0x2c2a();}export class CommentThreadHeaderView extends _0x1416b2{[_0x5ed148(0xb3)];[_0x5ed148(0xca)];[_0x5ed148(0xc6)];[_0x5ed148(0xd4)];[_0x5ed148(0xaa)];[_0x5ed148(0xdb)];[_0x5ed148(0xa2)];constructor(_0x182dfa,_0x354a4a){const _0x2847a2=_0x5ed148;super(_0x182dfa);const _0x138d84=this[_0x2847a2(0xd5)];this[_0x2847a2(0xb3)]=_0x354a4a,this[_0x2847a2(0xca)]=this[_0x2847a2(0xc2)](),this[_0x2847a2(0xc6)]=this[_0x2847a2(0xbf)](),this[_0x2847a2(0xd4)]=this[_0x2847a2(0xab)]([this[_0x2847a2(0xc6)],this[_0x2847a2(0xca)]]),this[_0x2847a2(0xaa)]=new _0x465fbf(),this[_0x2847a2(0xdb)]=new _0x1f37ca(),this[_0x2847a2(0xa2)]=new _0x31c171({'focusables':this[_0x2847a2(0xd4)],'focusTracker':this[_0x2847a2(0xaa)],'keystrokeHandler':this[_0x2847a2(0xdb)],'actions':{'focusPrevious':_0x2847a2(0xa7),'focusNext':_0x2847a2(0xe2)}}),this[_0x2847a2(0xc7)](_0x2847a2(0xc8))['to'](this[_0x2847a2(0xb3)],_0x2847a2(0xa8),_0x27a37b=>!!_0x27a37b),this[_0x2847a2(0xc7)](_0x2847a2(0xe5))['to'](this[_0x2847a2(0xb3)],_0x2847a2(0xa8),_0x394986=>_0x394986&&_0x394986[_0x2847a2(0xaf)]?this[_0x2847a2(0xa1)](_0x394986[_0x2847a2(0xaf)]):_0x4a3a96(this[_0x2847a2(0xce)],_0x2847a2(0xcb))),this[_0x2847a2(0xbc)]({'tag':_0x2847a2(0xdf),'attributes':{'class':[_0x2847a2(0xb7)]},'children':[{'tag':_0x2847a2(0xdf),'attributes':{'class':[_0x2847a2(0xa5)]},'children':[{'tag':_0x2847a2(0xdf),'attributes':{'class':[_0x2847a2(0xd7),_0x138d84['if'](_0x2847a2(0xc8),_0x2847a2(0xdd))]},'children':[this[_0x2847a2(0xc6)]]}]},{'tag':_0x2847a2(0xdf),'attributes':{'class':[_0x2847a2(0xa0)]},'children':[this[_0x2847a2(0xca)]]}]});}[_0x5ed148(0xa3)](){const _0xb21646=_0x5ed148;super[_0xb21646(0xa3)](),this[_0xb21646(0xd6)](),this[_0xb21646(0xbb)]();}[_0x5ed148(0xc3)](){const _0x2ee826=_0x5ed148;this[_0x2ee826(0xa2)][_0x2ee826(0xb8)]();}[_0x5ed148(0xc2)](){const _0x4ef82c=_0x5ed148,_0x251744=new _0x54f5e9(this[_0x4ef82c(0xce)]);return _0x251744[_0x4ef82c(0xa9)]=_0x4a3a96(this[_0x4ef82c(0xce)],_0x4ef82c(0xe7)),_0x251744[_0x4ef82c(0xb0)]=_0x4a3a96(this[_0x4ef82c(0xce)],_0x4ef82c(0xe7)),_0x251744[_0x4ef82c(0xd1)]=_0x3a7bbf,_0x251744[_0x4ef82c(0xc7)](_0x4ef82c(0xb4))['to'](this[_0x4ef82c(0xb3)],_0x4ef82c(0xe4),_0x1c4244=>!_0x1c4244),_0x251744[_0x4ef82c(0xc7)](_0x4ef82c(0xd3))['to'](this[_0x4ef82c(0xb3)],_0x4ef82c(0xe6),this[_0x4ef82c(0xb3)],_0x4ef82c(0xda),(_0x56f3ad,_0x48801d)=>_0x56f3ad&&_0x48801d),_0x251744['on'](_0x4ef82c(0xb9),()=>{const _0x18a543=_0x4ef82c;this[_0x18a543(0xd0)](_0x18a543(0xc0),this[_0x18a543(0xb3)]['id']);}),_0x251744;}[_0x5ed148(0xa1)](_0x39e10a){const _0x5cea13=_0x5ed148;if(_0x39e10a[_0x5cea13(0xad)]<0x96)return _0x39e10a;const _0x3ba3d4=_0x39e10a[_0x5cea13(0x9f)]('\x20',0x93);return _0x39e10a[_0x5cea13(0xb2)](0x0,_0x3ba3d4>-0x1?_0x3ba3d4:0x93)+_0x5cea13(0xc4);}[_0x5ed148(0xd6)](){const _0x70e421=_0x5ed148,_0x6efb7=this[_0x70e421(0xde)][_0x70e421(0xcf)](_0x70e421(0xd9)),_0x52cc2e=_0x6efb7[_0x70e421(0xcf)](_0x70e421(0xe0));this[_0x70e421(0xbe)](_0x6efb7,_0x70e421(0xc9),()=>{const _0x1ff680=_0x70e421;_0x52cc2e[_0x1ff680(0xba)]<_0x52cc2e[_0x1ff680(0xe1)]&&_0x6efb7[_0x1ff680(0xe8)][_0x1ff680(0xdc)](_0x1ff680(0xa6));}),this[_0x70e421(0xbe)](_0x6efb7,_0x70e421(0xd8),()=>{const _0x450499=_0x70e421;_0x6efb7[_0x450499(0xe8)][_0x450499(0xd2)](_0x450499(0xa6));});}[_0x5ed148(0xbb)](){const _0x13f405=_0x5ed148;this[_0x13f405(0xdb)][_0x13f405(0xbe)](this[_0x13f405(0xde)]);for(const _0xf14191 of this[_0x13f405(0xd4)])this[_0x13f405(0xaa)][_0x13f405(0xdc)](_0xf14191[_0x13f405(0xde)]),this[_0x13f405(0xdb)][_0x13f405(0xbe)](_0xf14191[_0x13f405(0xde)]);}[_0x5ed148(0xbf)](){const _0x401526=_0x5ed148,_0x5b615e=new _0x3b87d6(this[_0x401526(0xce)]);return _0x5b615e[_0x401526(0xc7)](_0x401526(0xe5))['to'](this),_0x5b615e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x162f36=_0x1bc7;(function(_0x102642,_0x2bf23c){const _0x3fb307=_0x1bc7,_0x44b64a=_0x102642();while(!![]){try{const _0x181413=-parseInt(_0x3fb307(0x139))/0x1+parseInt(_0x3fb307(0x133))/0x2*(-parseInt(_0x3fb307(0x137))/0x3)+parseInt(_0x3fb307(0x134))/0x4*(-parseInt(_0x3fb307(0x120))/0x5)+-parseInt(_0x3fb307(0x117))/0x6*(parseInt(_0x3fb307(0x121))/0x7)+-parseInt(_0x3fb307(0x119))/0x8*(-parseInt(_0x3fb307(0x138))/0x9)+-parseInt(_0x3fb307(0x116))/0xa*(parseInt(_0x3fb307(0x128))/0xb)+parseInt(_0x3fb307(0x132))/0xc;if(_0x181413===_0x2bf23c)break;else _0x44b64a['push'](_0x44b64a['shift']());}catch(_0x26c178){_0x44b64a['push'](_0x44b64a['shift']());}}}(_0x37b1,0xe6c98));import{View as _0x533cde}from'ckeditor5/src/ui.js';import{CommentInputView as _0x49d97e}from'./commentinputview.js';function _0x37b1(){const _0xf688bb=['some','extendTemplate','99rNuevZ','contains','ck-comment__input-container--active','editorDestroyed','set','_focusOnNonInteractiveMouseDown','then','showInput','getDomRoot','commentInputView','57469116TxbAiM','571430meFCee','538420EHIgBn','preventDefault','ck-thread__user','15bLDVrd','20871XphEyB','808290uURRve','filter','isFocused','value','focusCycler','userView','mousedown','ck-comment__input-container','setTemplate','createEditor','element','showButtons','change:showInput','render','editorReady','listenTo','ck-thread__input','1062420jrbyjg','36eqDxYe','bind','1240DgYgCl','view','focusTracker','div','editor','bindTemplate','target','5rhTPaS','1021517JWHqdq','focus','delegate','destroy','editing'];_0x37b1=function(){return _0xf688bb;};return _0x37b1();}import{UserView as _0x23907d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1bc7(_0x32cf3c,_0x2f8472){const _0x37b1e0=_0x37b1();return _0x1bc7=function(_0x1bc7ae,_0x4857a2){_0x1bc7ae=_0x1bc7ae-0x111;let _0xe1889b=_0x37b1e0[_0x1bc7ae];return _0xe1889b;},_0x1bc7(_0x32cf3c,_0x2f8472);}export class CommentThreadInputView extends _0x533cde{constructor(_0x528074,_0x15d0a7,_0x5e1d20){const _0x2e66e5=_0x1bc7;super(_0x528074),this[_0x2e66e5(0x131)]=new _0x49d97e(_0x528074,_0x5e1d20),this[_0x2e66e5(0x13d)]=this[_0x2e66e5(0x131)][_0x2e66e5(0x13d)],this[_0x2e66e5(0x131)][_0x2e66e5(0x118)](_0x2e66e5(0x144))['to'](this[_0x2e66e5(0x131)][_0x2e66e5(0x11b)],_0x2e66e5(0x13b),this[_0x2e66e5(0x131)],_0x2e66e5(0x13c),(_0x385f00,_0x2f6dab)=>_0x385f00||!!_0x2f6dab),this[_0x2e66e5(0x12c)](_0x2e66e5(0x12f),!0x1),this['on'](_0x2e66e5(0x111),()=>{const _0x2b7d9a=_0x2e66e5;this[_0x2b7d9a(0x12f)]&&!this[_0x2b7d9a(0x131)][_0x2b7d9a(0x11d)]&&this[_0x2b7d9a(0x131)][_0x2b7d9a(0x142)]();}),this[_0x2e66e5(0x131)][_0x2e66e5(0x123)](_0x2e66e5(0x113))['to'](this),this[_0x2e66e5(0x131)][_0x2e66e5(0x123)](_0x2e66e5(0x12b))['to'](this),this[_0x2e66e5(0x13e)]=new _0x23907d(_0x528074,_0x15d0a7),this[_0x2e66e5(0x13e)][_0x2e66e5(0x127)]({'attributes':{'class':_0x2e66e5(0x136),'aria-hidden':!0x0}}),this[_0x2e66e5(0x131)][_0x2e66e5(0x127)]({'attributes':{'class':_0x2e66e5(0x115)}}),this[_0x2e66e5(0x141)]({'tag':_0x2e66e5(0x11c),'attributes':{'class':[_0x2e66e5(0x140),this[_0x2e66e5(0x11e)]['if'](_0x2e66e5(0x12f),_0x2e66e5(0x12a))]},'children':[this[_0x2e66e5(0x13e)],this[_0x2e66e5(0x131)]]});}[_0x162f36(0x112)](){const _0x36800f=_0x162f36;super[_0x36800f(0x112)](),this[_0x36800f(0x12d)]();}[_0x162f36(0x124)](){const _0x8e46f4=_0x162f36;return this[_0x8e46f4(0x131)][_0x8e46f4(0x124)]()[_0x8e46f4(0x12e)](()=>super[_0x8e46f4(0x124)]());}[_0x162f36(0x122)](_0x16eeb1){const _0xf8c584=_0x162f36;this[_0xf8c584(0x131)][_0xf8c584(0x122)](_0x16eeb1);}[_0x162f36(0x12d)](){const _0x39b541=_0x162f36;this[_0x39b541(0x114)](this[_0x39b541(0x143)],_0x39b541(0x13f),(_0x2b62d6,_0x28c78e)=>{const _0x59ce96=_0x39b541,{submitButtonView:_0x214c06,cancelButtonView:_0x257788,editor:_0x15b156}=this[_0x59ce96(0x131)];[_0x214c06[_0x59ce96(0x143)],_0x257788[_0x59ce96(0x143)],_0x15b156?_0x15b156[_0x59ce96(0x125)][_0x59ce96(0x11a)][_0x59ce96(0x130)]():null][_0x59ce96(0x13a)](_0x390c14=>_0x390c14)[_0x59ce96(0x126)](_0x15bf20=>_0x15bf20[_0x59ce96(0x129)](_0x28c78e[_0x59ce96(0x11f)]))||(this[_0x59ce96(0x122)](),_0x28c78e[_0x59ce96(0x135)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1c9cf4=_0x2782;(function(_0x479bd0,_0x26dd2e){const _0x53815f=_0x2782,_0x4ca16b=_0x479bd0();while(!![]){try{const _0x20fc8f=-parseInt(_0x53815f(0x9d))/0x1*(-parseInt(_0x53815f(0xaa))/0x2)+parseInt(_0x53815f(0xc9))/0x3+parseInt(_0x53815f(0x8e))/0x4+parseInt(_0x53815f(0xce))/0x5+parseInt(_0x53815f(0xbf))/0x6*(parseInt(_0x53815f(0x86))/0x7)+parseInt(_0x53815f(0xb4))/0x8*(-parseInt(_0x53815f(0xae))/0x9)+parseInt(_0x53815f(0x92))/0xa*(-parseInt(_0x53815f(0x8d))/0xb);if(_0x20fc8f===_0x26dd2e)break;else _0x4ca16b['push'](_0x4ca16b['shift']());}catch(_0x261664){_0x4ca16b['push'](_0x4ca16b['shift']());}}}(_0x5a25,0x859c2));import{ConfirmMixin as _0x217cbd,LateFocusButtonView as _0x6c53d}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x181d77}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x4ac39f}from'./basecommentthreadview.js';import{getTranslation as _0x1f320a}from'../../../utils/common-translations.js';function _0x2782(_0x17d1ee,_0x3f7bb5){const _0x5a2593=_0x5a25();return _0x2782=function(_0x2782c1,_0xa027de){_0x2782c1=_0x2782c1-0x86;let _0x38cedd=_0x5a2593[_0x2782c1];return _0x38cedd;},_0x2782(_0x17d1ee,_0x3f7bb5);}export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x217cbd(_0x4ac39f){[_0x1c9cf4(0xd1)];[_0x1c9cf4(0xcf)];[_0x1c9cf4(0xb6)];[_0x1c9cf4(0x96)];constructor(_0x355170,_0x279351,_0x57138d,_0x364eac){const _0x186a14=_0x1c9cf4;super(_0x355170,_0x279351,_0x57138d,_0x364eac),this[_0x186a14(0xd1)]=this[_0x186a14(0xa0)]([this[_0x186a14(0xbd)],this[_0x186a14(0xd5)],this[_0x186a14(0x9e)]]),this[_0x186a14(0xbe)](_0x186a14(0xc6),null),this[_0x186a14(0xcf)]=null,this[_0x186a14(0x96)]=null,this[_0x186a14(0xa5)]=_0x355170,this[_0x186a14(0xb6)]=this[_0x186a14(0x8b)](),this[_0x186a14(0xbb)](this[_0x186a14(0xb5)]()),this['on'](_0x186a14(0xbc),(_0x32d88b,_0x4720d6,_0xc138a5)=>{const _0x21fac3=_0x186a14;_0xc138a5||this[_0x21fac3(0xb0)]();}),this[_0x186a14(0xaf)](this[_0x186a14(0xc4)],_0x186a14(0xb8),(_0x2aba7c,_0x392fb9,_0xe0d979)=>{const _0xf4895e=_0x186a14;_0xe0d979&&this[_0xf4895e(0xb0)]();}),this[_0x186a14(0xdc)]>0x0&&this[_0x186a14(0xde)](),this[_0x186a14(0xaf)](this[_0x186a14(0xbd)][_0x186a14(0xb2)],_0x186a14(0x87),()=>{const _0x4a04bc=_0x186a14;this[_0x4a04bc(0xde)]();});}[_0x1c9cf4(0xb5)](){const _0x38e47d=_0x1c9cf4,_0x3f5832=this[_0x38e47d(0xd8)];return{'tag':_0x38e47d(0xc1),'attributes':{'class':['ck',_0x38e47d(0xcc),_0x38e47d(0xa6),_0x38e47d(0x89),_0x3f5832['if'](_0x38e47d(0xc2),_0x38e47d(0xb7)),_0x3f5832['if'](_0x38e47d(0xa7),_0x38e47d(0xd2)),_0x3f5832['to'](_0x38e47d(0xc6),_0x4975e0=>_0x4975e0?_0x38e47d(0xd6)+_0x4975e0:'')],'data-thread-id':this[_0x38e47d(0xc4)]['id'],'tabindex':0x0,'role':_0x38e47d(0x8c),'aria-label':_0x3f5832['to'](_0x38e47d(0xad)),'aria-describedby':this[_0x38e47d(0x9e)]['id']},'children':[{'tag':_0x38e47d(0xc1),'attributes':{'class':_0x38e47d(0xab)},'children':this[_0x38e47d(0xd1)]}]};}[_0x1c9cf4(0xb1)](){const _0x2ce129=_0x1c9cf4;super[_0x2ce129(0xb1)](),this[_0x2ce129(0xcf)]=this[_0x2ce129(0x90)][_0x2ce129(0xa8)](_0x2ce129(0x95)),this[_0x2ce129(0xc4)]['on'](_0x2ce129(0xa2),()=>{const _0x16794d=_0x2ce129;this[_0x16794d(0xd9)]();}),this[_0x2ce129(0xd9)]();}[_0x1c9cf4(0xb0)](){const _0x207d79=_0x1c9cf4;this[_0x207d79(0x8f)]();for(const _0x2cbd56 of this[_0x207d79(0xbd)][_0x207d79(0xb2)])_0x2cbd56[_0x207d79(0x8f)]();}[_0x1c9cf4(0xde)](){const _0x318266=_0x1c9cf4,{locale:_0x1be3fa}=this,_0x26f5fe=this[_0x318266(0xbd)][_0x318266(0xb2)][_0x318266(0x9b)](0x0);_0x26f5fe===this[_0x318266(0x96)]||_0x26f5fe[_0x318266(0xca)]||(this[_0x318266(0x96)]=_0x26f5fe,this[_0x318266(0xd3)](_0x318266(0xc6)),this[_0x318266(0xcb)](_0x318266(0xc6))['to'](_0x26f5fe,_0x318266(0xc6),_0x2ba620=>_0x318266(0xd4)===_0x2ba620?_0x318266(0xd4):null),_0x26f5fe[_0x318266(0xc7)]=_0x1f320a(_0x1be3fa,_0x318266(0xb3)),_0x26f5fe[_0x318266(0xdd)]['on'](_0x318266(0xc5),_0x2c7fb1=>{const _0x52bebd=_0x318266;_0x2c7fb1[_0x52bebd(0xac)](),this[_0x52bebd(0xc3)](_0x1f320a(_0x1be3fa,_0x52bebd(0x93)),this[_0x52bebd(0xcf)])[_0x52bebd(0xc0)](()=>{const _0x4a5058=_0x52bebd;this[_0x4a5058(0x9c)](_0x4a5058(0xb9));});},{'priority':_0x318266(0xa4)}),this['on'](_0x318266(0xa1),()=>{const _0x139e19=_0x318266;_0x26f5fe[_0x139e19(0x91)]();}),_0x26f5fe[_0x318266(0xc8)][_0x318266(0x87)](this[_0x318266(0xb6)],0x0),_0x26f5fe[_0x318266(0x98)][_0x318266(0x87)](this[_0x318266(0xb6)],0x0));}[_0x1c9cf4(0x8b)](){const _0x5c0dcf=_0x1c9cf4,_0x37e771=new _0x6c53d(this[_0x5c0dcf(0xa5)]);return _0x37e771[_0x5c0dcf(0xd7)]=_0x1f320a(this[_0x5c0dcf(0xa5)],_0x5c0dcf(0x88)),_0x37e771[_0x5c0dcf(0x8a)]=_0x1f320a(this[_0x5c0dcf(0xa5)],_0x5c0dcf(0x88)),_0x37e771[_0x5c0dcf(0xa3)]=_0x181d77,_0x37e771[_0x5c0dcf(0x94)]({'attributes':{'class':_0x5c0dcf(0x9a)}}),_0x37e771[_0x5c0dcf(0xcb)](_0x5c0dcf(0xdb))['to'](this[_0x5c0dcf(0xc4)],_0x5c0dcf(0x9f),_0x2dd892=>!_0x2dd892),_0x37e771[_0x5c0dcf(0xcb)](_0x5c0dcf(0xba))['to'](this[_0x5c0dcf(0xc4)],_0x5c0dcf(0xd0),this[_0x5c0dcf(0xc4)],_0x5c0dcf(0xcd),(_0x355fa1,_0x591582)=>_0x355fa1&&!_0x591582),_0x37e771['on'](_0x5c0dcf(0xc5),()=>{const _0x457360=_0x5c0dcf;this[_0x457360(0x9c)](_0x457360(0xda),this[_0x457360(0xc4)]['id']);}),_0x37e771;}[_0x1c9cf4(0xd9)](){const _0x20d232=_0x1c9cf4;this[_0x20d232(0xc4)][_0x20d232(0x99)]?this[_0x20d232(0xd1)][_0x20d232(0x97)](this[_0x20d232(0xa9)])||(this[_0x20d232(0xd1)][_0x20d232(0x87)](this[_0x20d232(0xa9)],0x0),this[_0x20d232(0x98)][_0x20d232(0x87)](this[_0x20d232(0xa9)],0x0)):this[_0x20d232(0xd1)][_0x20d232(0x97)](this[_0x20d232(0xa9)])&&(this[_0x20d232(0xd1)][_0x20d232(0xd4)](this[_0x20d232(0xa9)]),this[_0x20d232(0x98)][_0x20d232(0xd4)](this[_0x20d232(0xa9)]));}}function _0x5a25(){const _0x3f13e3=['icon','high','locale','ck-reset_all-excluded','isUnlinked','querySelector','commentThreadHeaderView','4dhtBkd','ck-thread__container','stop','ariaLabel','45arapYW','listenTo','_cancelAllConfirms','render','commentViews','Write\x20a\x20comment...','1275744TFRqlF','getTemplate','resolveButton','ck-thread--active','change:isReadOnly','removeCommentThread','isVisible','setTemplate','change:isActive','commentsListView','set','6CoCzvb','then','div','isActive','showConfirm','_model','execute','actionIndicator','placeholder','actionBar','396648LWfTQK','isSystemComment','bind','ck-thread','isResolved','2638210hZNDwA','containerElement','isResolvable','commentThreadChildren','ck-thread--unlinked','unbind','remove','commentThreadInputView','ck-thread--','label','bindTemplate','_updateArchivedThreadHeader','resolveCommentThread','isEnabled','length','removeButton','_bindFirstCommentView','7287329pPKSmY','add','Resolve','ck-rounded-corners','tooltip','_createResolveButton','listitem','5269ZhywJS','1916308fVxHhi','cancelConfirm','element','focus','22020EnLrtp','Delete\x20comment\x20thread?','extendTemplate','.ck-thread__container','_boundFirstCommentView','has','focusables','archivedAt','ck-comment--resolve','get','fire','109691sZnzUG','ariaDescriptionView','isReadOnly','createCollection','removeConfirm','change:archivedAt'];_0x5a25=function(){return _0x3f13e3;};return _0x5a25();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x371087=_0x5dd0;(function(_0x243596,_0x469d3e){const _0x536d43=_0x5dd0,_0x2694e2=_0x243596();while(!![]){try{const _0x3872da=parseInt(_0x536d43(0x1bf))/0x1*(parseInt(_0x536d43(0x176))/0x2)+parseInt(_0x536d43(0x1e3))/0x3+parseInt(_0x536d43(0x1d7))/0x4+parseInt(_0x536d43(0x1b7))/0x5*(parseInt(_0x536d43(0x1a1))/0x6)+parseInt(_0x536d43(0x1b9))/0x7+parseInt(_0x536d43(0x174))/0x8+-parseInt(_0x536d43(0x1a5))/0x9*(parseInt(_0x536d43(0x17f))/0xa);if(_0x3872da===_0x469d3e)break;else _0x2694e2['push'](_0x2694e2['shift']());}catch(_0x236ea5){_0x2694e2['push'](_0x2694e2['shift']());}}}(_0x237a,0x5db51));import{IconRemoveComment as _0x403f60,IconPencil as _0x135799,IconThreeVerticalDots as _0x32cd43}from'ckeditor5/src/icons.js';import{ButtonView as _0x2f8da5,createDropdown as _0x562907,ListView as _0x402785,ListItemView as _0x5c1760,focusChildOnDropdownOpen as _0x307f04}from'ckeditor5/src/ui.js';import{UserView as _0x581dd5,ConfirmMixin as _0x16fcba,LateFocusDropdownButtonView as _0x5f31aa}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x237a(){const _0x418cc6=['withText','group','cancelConfirm','removeButton','ck-comment__wrapper','ck-comment__info','Edit','ck-comment__user','Remove','ck-comment__info-name','extendTemplate','ck-comment--remove','ck-comment--edit','visibleView','element','isVisible','render','_model','createCollection','_attachActions','ck-comment__actions','actionIndicator','ck-comment--info','_config','ck-comment__actions--hidden','Show\x20more\x20items','setTemplate','children','author','listenTo','408KqdsIf','isSystemComment','label','ck-annotation__info-name','8709669gJrylc','userView','addMany','remove','length','switchToEditMode','ariaLabel','items','buttonView','focusables','ck-annotation__info','isEditMode','bindTemplate','focus','toMany','then','Delete\x20comment?','ck-comment__main','38790nuPSzU','actionBar','4182808HgOfpQ','_createCommentInputView','resolvedAt','edit','listitem','dropdown','1172smbdtV','editButton','isEditable','panelPosition','ck-annotation__actions--hidden','find','bind','time','showConfirm','add','locale','span','panelView','_createRemoveButton','ck-annotation__actions','_createDropdown','ariaDescriptionView','div','ck-comment__external','placeholder','ck-annotation','formatDateTime','Reply...','ck-comment--','1651408BNphfp','ck-annotation__info-time','unbind','mouseleave','name','ck-annotation__content-wrapper','blur','isRemovable','ck-comment__info-time','mouseenter','execute','isExternal','374895qhLOSt','change:isRemovable','some','isReadOnly','ck-hidden','ck-annotation__main','removeComment','authoredAt','3338512mMNObY','_createEditButton','408SsFLKC','icon','set','ck-comment','getUserViewNotificationText','isEnabled','getTemplate','push','from','20EFCyJj','fire','getExternalCommentNote','ck-annotation__user'];_0x237a=function(){return _0x418cc6;};return _0x237a();}function _0x5dd0(_0x48b83e,_0x29e232){const _0x237a69=_0x237a();return _0x5dd0=function(_0x5dd000,_0x5e5ee8){_0x5dd000=_0x5dd000-0x171;let _0x483ad2=_0x237a69[_0x5dd000];return _0x483ad2;},_0x5dd0(_0x48b83e,_0x29e232);}import{BaseCommentView as _0x331501}from'./basecommentview.js';import{getTranslation as _0x482754}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x16fcba(_0x331501){[_0x371087(0x1b8)];[_0x371087(0x1a6)];constructor(_0x108be3,_0x450b42,_0x25a3c7){const _0x1e9b37=_0x371087;super(_0x108be3,_0x450b42,_0x25a3c7),this[_0x1e9b37(0x178)](_0x1e9b37(0x198),null),this[_0x1e9b37(0x178)](_0x1e9b37(0x1d2),_0x482754(_0x108be3,_0x1e9b37(0x1d5))),this[_0x1e9b37(0x1c5)](_0x1e9b37(0x173))['to'](_0x450b42),this[_0x1e9b37(0x1c5)](_0x1e9b37(0x1bb))['to'](_0x450b42),this[_0x1e9b37(0x1b8)]=this[_0x1e9b37(0x195)](),this[_0x1e9b37(0x1a2)]||(this[_0x1e9b37(0x1c0)]=this[_0x1e9b37(0x175)](),this[_0x1e9b37(0x186)]=this[_0x1e9b37(0x1cc)](),this[_0x1e9b37(0x1ac)]=this[_0x1e9b37(0x195)](),this[_0x1e9b37(0x1ac)][_0x1e9b37(0x1a7)]([this[_0x1e9b37(0x1c0)],this[_0x1e9b37(0x186)]]),this[_0x1e9b37(0x1be)]=this[_0x1e9b37(0x1ce)](),this[_0x1e9b37(0x1b8)][_0x1e9b37(0x1c8)](this[_0x1e9b37(0x1be)]),this[_0x1e9b37(0x1ae)][_0x1e9b37(0x1c8)](this[_0x1e9b37(0x1be)])),this[_0x1e9b37(0x1a6)]=new _0x581dd5(_0x108be3,_0x450b42[_0x1e9b37(0x19f)],this[_0x1e9b37(0x17a)]()),this[_0x1e9b37(0x1a6)][_0x1e9b37(0x18d)]({'attributes':{'class':[_0x1e9b37(0x18a),_0x1e9b37(0x182)],'aria-hidden':!0x0}}),this[_0x1e9b37(0x1a0)](_0x450b42,_0x1e9b37(0x1e4),()=>this[_0x1e9b37(0x185)]()),this[_0x1e9b37(0x19d)](this[_0x1e9b37(0x17c)]());}[_0x371087(0x17c)](){const _0x33ad38=_0x371087,_0x2afd4a=this[_0x33ad38(0x1b1)],_0x401cd7=[{'tag':_0x33ad38(0x1d0),'attributes':{'class':[_0x33ad38(0x188),_0x33ad38(0x1af)]},'children':[{'tag':_0x33ad38(0x1ca),'children':[{'text':this[_0x33ad38(0x1a6)][_0x33ad38(0x1db)]}],'attributes':{'class':[_0x33ad38(0x18c),_0x33ad38(0x1a4)],'data-cke-tooltip-text':this[_0x33ad38(0x1a6)][_0x33ad38(0x1db)]}},{'tag':_0x33ad38(0x1c6),'attributes':{'datetime':_0x2afd4a['to'](_0x33ad38(0x173)),'class':[_0x33ad38(0x1df),_0x33ad38(0x1d8)]},'children':[{'text':_0x2afd4a['to'](_0x33ad38(0x173),_0x1e1cb5=>this[_0x33ad38(0x19a)][_0x33ad38(0x1d4)](_0x1e1cb5))}]}]},{'tag':_0x33ad38(0x1d0),'attributes':{'class':[_0x33ad38(0x197),_0x33ad38(0x1cd),_0x2afd4a['if'](_0x33ad38(0x1b0),_0x33ad38(0x19b)),_0x2afd4a['if'](_0x33ad38(0x1b0),_0x33ad38(0x1c3))]},'children':this[_0x33ad38(0x1b8)]},{'tag':_0x33ad38(0x1d0),'attributes':{'class':[_0x33ad38(0x1dc)]},'children':this[_0x33ad38(0x190)]},this[_0x33ad38(0x1cf)]];return this[_0x33ad38(0x194)][_0x33ad38(0x1e2)]&&_0x401cd7[_0x33ad38(0x17d)]({'tag':_0x33ad38(0x1d0),'attributes':{'class':[_0x33ad38(0x1d1)]},'children':[{'text':this[_0x33ad38(0x181)]()}]}),{'tag':'li','attributes':{'class':[_0x33ad38(0x187)],'tabindex':-0x1,'aria-label':_0x2afd4a['to'](_0x33ad38(0x1ab)),'aria-describedby':this[_0x33ad38(0x1cf)]['id'],'role':_0x33ad38(0x1bd)},'children':[{'tag':_0x33ad38(0x1d0),'attributes':{'class':[_0x33ad38(0x179),_0x33ad38(0x1d3),_0x2afd4a['if'](_0x33ad38(0x1b0),_0x33ad38(0x18f)),_0x2afd4a['if'](_0x33ad38(0x1a2),_0x33ad38(0x199)),_0x2afd4a['to'](_0x33ad38(0x198),_0x3c9ac4=>_0x3c9ac4?_0x33ad38(0x1d6)+_0x3c9ac4:'')],'data-author-id':this[_0x33ad38(0x194)][_0x33ad38(0x19f)]['id'],'data-comment-id':this[_0x33ad38(0x194)]['id'],'role':_0x33ad38(0x184)},'children':[this[_0x33ad38(0x1a6)],{'tag':_0x33ad38(0x1d0),'attributes':{'class':[_0x33ad38(0x1b6),_0x33ad38(0x171)]},'children':_0x401cd7}]}]};}[_0x371087(0x175)](){const _0xeb2781=_0x371087,_0x1dbdc7=new _0x2f8da5(this[_0xeb2781(0x1c9)]);return _0x1dbdc7[_0xeb2781(0x1a3)]=_0x482754(this[_0xeb2781(0x1c9)],_0xeb2781(0x189)),_0x1dbdc7[_0xeb2781(0x177)]=_0x135799,_0x1dbdc7[_0xeb2781(0x183)]=!0x0,_0x1dbdc7[_0xeb2781(0x18d)]({'attributes':{'class':_0xeb2781(0x18f)}}),_0x1dbdc7[_0xeb2781(0x1c5)](_0xeb2781(0x17b))['to'](this[_0xeb2781(0x194)],_0xeb2781(0x1e6),_0x2995f5=>!_0x2995f5),_0x1dbdc7[_0xeb2781(0x1c5)](_0xeb2781(0x192))['to'](this[_0xeb2781(0x194)],_0xeb2781(0x1c1)),_0x1dbdc7['on'](_0xeb2781(0x1e1),()=>this[_0xeb2781(0x1aa)]()),_0x1dbdc7;}[_0x371087(0x1cc)](){const _0x215fab=_0x371087,_0x42d5f9=new _0x2f8da5(this[_0x215fab(0x1c9)]);return _0x42d5f9[_0x215fab(0x1a3)]=_0x482754(this[_0x215fab(0x1c9)],_0x215fab(0x18b)),_0x42d5f9[_0x215fab(0x177)]=_0x403f60,_0x42d5f9[_0x215fab(0x183)]=!0x0,_0x42d5f9[_0x215fab(0x18d)]({'attributes':{'class':_0x215fab(0x18e)}}),_0x42d5f9[_0x215fab(0x1c5)](_0x215fab(0x17b))['to'](this[_0x215fab(0x194)],_0x215fab(0x1e6),_0xdedbc4=>!_0xdedbc4),_0x42d5f9[_0x215fab(0x1c5)](_0x215fab(0x192))['to'](this[_0x215fab(0x194)],_0x215fab(0x1de)),_0x42d5f9['on'](_0x215fab(0x1e1),()=>{const _0x5a357a=_0x215fab;this[_0x5a357a(0x1c7)](_0x482754(this[_0x5a357a(0x1c9)],_0x5a357a(0x1b5)),this[_0x5a357a(0x191)])[_0x5a357a(0x1b4)](()=>{const _0x2f47c=_0x5a357a;this[_0x2f47c(0x180)](_0x2f47c(0x172),this[_0x2f47c(0x194)]['id']);});}),_0x42d5f9;}[_0x371087(0x1ce)](){const _0x14b9df=_0x371087,_0x1e9386=_0x562907(this[_0x14b9df(0x1c9)],_0x5f31aa),_0x133d92=_0x1e9386[_0x14b9df(0x1cb)][_0x14b9df(0x19e)],_0x54962f=new _0x402785(this[_0x14b9df(0x1c9)]),_0x53a7b5=_0x1e9386[_0x14b9df(0x1b1)];_0x307f04(_0x1e9386,()=>this[_0x14b9df(0x1ac)][_0x14b9df(0x1c4)](_0x134062=>_0x134062[_0x14b9df(0x192)])),_0x1e9386[_0x14b9df(0x18d)]({'attributes':{'class':[_0x53a7b5['if'](_0x14b9df(0x192),_0x14b9df(0x1e7),_0x55523c=>!_0x55523c)]}});const _0xa3ab41=(_0x12c9b9,_0x12f1c6=-0x1)=>{const _0x2b14bc=_0x14b9df,_0x35e138=new _0x5c1760(this[_0x2b14bc(0x1c9)]);_0x35e138[_0x2b14bc(0x19e)][_0x2b14bc(0x1c8)](_0x12c9b9);const _0x2fc620=_0x12f1c6>-0x1?_0x12f1c6:_0x54962f[_0x2b14bc(0x1ac)][_0x2b14bc(0x1a9)];_0x54962f[_0x2b14bc(0x1ac)][_0x2b14bc(0x1c8)](_0x35e138,_0x2fc620);const _0x24016f=Array[_0x2b14bc(0x17e)](this[_0x2b14bc(0x1ac)]);_0x1e9386[_0x2b14bc(0x1d9)](_0x2b14bc(0x17b),_0x2b14bc(0x192)),_0x1e9386[_0x2b14bc(0x1c5)](_0x2b14bc(0x17b))[_0x2b14bc(0x1b3)](_0x24016f,_0x2b14bc(0x17b),(..._0x527336)=>_0x527336[_0x2b14bc(0x1e5)](_0x1be78b=>_0x1be78b)),_0x1e9386[_0x2b14bc(0x1c5)](_0x2b14bc(0x192))[_0x2b14bc(0x1b3)](_0x24016f,_0x2b14bc(0x192),(..._0xd7a8c3)=>_0xd7a8c3[_0x2b14bc(0x1e5)](_0x36f92d=>_0x36f92d));};_0x1e9386[_0x14b9df(0x1c2)]='sw',_0x1e9386[_0x14b9df(0x1ad)][_0x14b9df(0x178)]({'label':_0x482754(this[_0x14b9df(0x1c9)],_0x14b9df(0x19c)),'icon':_0x32cd43});for(const _0x245d75 of this[_0x14b9df(0x1ac)])_0xa3ab41(_0x245d75);return _0x133d92[_0x14b9df(0x1c8)](_0x54962f),_0x1e9386[_0x14b9df(0x1a0)](this[_0x14b9df(0x1ac)],_0x14b9df(0x1c8),(_0x59311f,_0x3f45c6,_0x1a49f0)=>{_0xa3ab41(_0x3f45c6,_0x1a49f0);}),_0x1e9386[_0x14b9df(0x1a0)](this[_0x14b9df(0x1ac)],_0x14b9df(0x1a8),(_0x1885e1,_0x3be9d3,_0x2f1e6e)=>{const _0x433480=_0x14b9df;_0x54962f[_0x433480(0x1ac)][_0x433480(0x1a8)](_0x2f1e6e);}),_0x1e9386;}[_0x371087(0x196)](_0x6163c7,_0x2876d7){const _0x2ef7e1=_0x371087,_0x5700d1=_0x6163c7&&_0x6163c7[_0x2ef7e1(0x191)];_0x5700d1&&(this[_0x2ef7e1(0x1a0)](_0x5700d1,_0x2ef7e1(0x1e0),()=>this[_0x2ef7e1(0x198)]=_0x2876d7),this[_0x2ef7e1(0x1a0)](_0x5700d1,_0x2ef7e1(0x1b2),()=>this[_0x2ef7e1(0x198)]=_0x2876d7),this[_0x2ef7e1(0x1a0)](_0x5700d1,_0x2ef7e1(0x1da),()=>this[_0x2ef7e1(0x198)]=null),this[_0x2ef7e1(0x1a0)](_0x5700d1,_0x2ef7e1(0x1dd),()=>this[_0x2ef7e1(0x198)]=null));}[_0x371087(0x1ba)](){const _0x4feafb=_0x371087,_0x299536=super[_0x4feafb(0x1ba)]();return _0x299536[_0x4feafb(0x1c5)](_0x4feafb(0x1d2))['to'](this),_0x299536;}[_0x371087(0x193)](){const _0x9f5521=_0x371087;super[_0x9f5521(0x193)](),this[_0x9f5521(0x196)](this[_0x9f5521(0x1c0)],_0x9f5521(0x1bc)),this[_0x9f5521(0x196)](this[_0x9f5521(0x186)],_0x9f5521(0x1a8));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4fde5f=_0x69af;function _0x69af(_0x58ea4b,_0x1fb375){var _0x3df67b=_0x3df6();return _0x69af=function(_0x69afcb,_0xe41a40){_0x69afcb=_0x69afcb-0x1eb;var _0x57a16c=_0x3df67b[_0x69afcb];return _0x57a16c;},_0x69af(_0x58ea4b,_0x1fb375);}(function(_0x35418,_0x8e4e08){var _0x4d47b1=_0x69af,_0x174be2=_0x35418();while(!![]){try{var _0xc237d8=parseInt(_0x4d47b1(0x1f5))/0x1+-parseInt(_0x4d47b1(0x1f0))/0x2*(parseInt(_0x4d47b1(0x1f1))/0x3)+-parseInt(_0x4d47b1(0x1f4))/0x4+-parseInt(_0x4d47b1(0x1f6))/0x5+parseInt(_0x4d47b1(0x1f2))/0x6+parseInt(_0x4d47b1(0x1f3))/0x7+-parseInt(_0x4d47b1(0x1ed))/0x8;if(_0xc237d8===_0x8e4e08)break;else _0x174be2['push'](_0x174be2['shift']());}catch(_0x81554f){_0x174be2['push'](_0x174be2['shift']());}}}(_0x3df6,0x38b03));import{Plugin as _0x375797}from'ckeditor5/src/core.js';import{CommentsRepository as _0x421448}from'./comments/commentsrepository.js';import{CommentsEditing as _0x3dd032}from'./comments/commentsediting.js';function _0x3df6(){var _0x4dbd57=['72536NTNZHf','33qeegov','2615574JhnUso','2274265TnFeWa','12544albRzu','52698DzyzVQ','720235nIyycw','isOfficialPlugin','isPremiumPlugin','Comments','281568mpofMq','pluginName','requires'];_0x3df6=function(){return _0x4dbd57;};return _0x3df6();}import{CommentsUI as _0x1844e2}from'./comments/commentsui.js';import{CommentsOnly as _0x202848}from'./commentsonly.js';import{WideSidebar as _0x3054ee}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x5c85b5}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x2428d5}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x32f0e7}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x2fc252}from'./comments/commentsarchive.js';export class Comments extends _0x375797{static get[_0x4fde5f(0x1ef)](){return[_0x421448,_0x3dd032,_0x1844e2,_0x2fc252,_0x32f0e7,_0x202848,_0x3054ee,_0x5c85b5,_0x2428d5];}static get[_0x4fde5f(0x1ee)](){var _0x198a6b=_0x4fde5f;return _0x198a6b(0x1ec);}static get[_0x4fde5f(0x1f7)](){return!0x0;}static get[_0x4fde5f(0x1eb)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40d55e=_0x1a97;(function(_0x5bbd18,_0x58df66){const _0x32183e=_0x1a97,_0x3c5d19=_0x5bbd18();while(!![]){try{const _0x5e05d9=parseInt(_0x32183e(0x145))/0x1+-parseInt(_0x32183e(0x15b))/0x2*(parseInt(_0x32183e(0x14f))/0x3)+parseInt(_0x32183e(0x14c))/0x4+-parseInt(_0x32183e(0x132))/0x5+parseInt(_0x32183e(0x144))/0x6*(parseInt(_0x32183e(0x149))/0x7)+-parseInt(_0x32183e(0x13b))/0x8+parseInt(_0x32183e(0x14e))/0x9;if(_0x5e05d9===_0x58df66)break;else _0x3c5d19['push'](_0x3c5d19['shift']());}catch(_0x3303a){_0x3c5d19['push'](_0x3c5d19['shift']());}}}(_0xf709,0x56b35));function _0xf709(){const _0x2fcca6=['set','config','pluginName','stop','addCommentThread','CommentsOnly','editSource','editor','document','delete','2aGoiFk','commentsOnly','isEnabled','highest','plugins','1574165hLMTRJ','requires','cut','_enableCommentsOnlyMode','afterInit','view','listenTo','commentsOnlyMode','isOfficialPlugin','177752BbRcdU','has','get','RevisionTracker','editing','stopListening','isPremiumPlugin','forceDisabled','affectsData','2467758wIAuAD','289607pnaXCk','commands','clearForceDisabled','SourceEditing','7cNvBUo','DragDrop','clipboardInput','280232rzihDC','change:isEnabled','1942830eOHXRK','883953RMikQN','_disableCommentsOnlyMode'];_0xf709=function(){return _0x2fcca6;};return _0xf709();}function _0x1a97(_0x2c4939,_0x5da47e){const _0xf70921=_0xf709();return _0x1a97=function(_0x1a977e,_0x29f708){_0x1a977e=_0x1a977e-0x131;let _0xec246a=_0xf70921[_0x1a977e];return _0xec246a;},_0x1a97(_0x2c4939,_0x5da47e);}import{Plugin as _0xcd2e77}from'ckeditor5/src/core.js';import{CommentsEditing as _0x21ca43}from'./comments/commentsediting.js';export class CommentsOnly extends _0xcd2e77{static get[_0x40d55e(0x153)](){const _0x46f262=_0x40d55e;return _0x46f262(0x156);}static get[_0x40d55e(0x13a)](){return!0x0;}static get[_0x40d55e(0x141)](){return!0x0;}static get[_0x40d55e(0x133)](){return[_0x21ca43];}constructor(_0x20c2bd){const _0x42ae1a=_0x40d55e;super(_0x20c2bd),this[_0x42ae1a(0x151)](_0x42ae1a(0x15d),!0x1),this['on'](_0x42ae1a(0x14d),(_0x2f7fc0,_0x53e9a9,_0x57e00d)=>{const _0x3aa976=_0x42ae1a;_0x57e00d?this[_0x3aa976(0x135)]():this[_0x3aa976(0x150)]();});}[_0x40d55e(0x136)](){const _0x3d888e=_0x40d55e;!this[_0x3d888e(0x15d)]&&this[_0x3d888e(0x158)][_0x3d888e(0x152)][_0x3d888e(0x13d)](_0x3d888e(0x15c))&&(this[_0x3d888e(0x15d)]=!0x0);}[_0x40d55e(0x135)](){const _0x457e7e=_0x40d55e;for(const [_0x168a08,_0x5b6050]of this[_0x457e7e(0x158)][_0x457e7e(0x146)])_0x5b6050[_0x457e7e(0x143)]&&_0x457e7e(0x155)!==_0x168a08&&_0x5b6050[_0x457e7e(0x142)](_0x457e7e(0x139));(this[_0x457e7e(0x158)][_0x457e7e(0x131)][_0x457e7e(0x13c)](_0x457e7e(0x14a))&&this[_0x457e7e(0x158)][_0x457e7e(0x131)][_0x457e7e(0x13d)](_0x457e7e(0x14a))[_0x457e7e(0x142)](_0x457e7e(0x139)),this[_0x457e7e(0x158)][_0x457e7e(0x131)][_0x457e7e(0x13c)](_0x457e7e(0x13e)))&&this[_0x457e7e(0x158)][_0x457e7e(0x131)][_0x457e7e(0x13d)](_0x457e7e(0x13e))[_0x457e7e(0x142)](_0x457e7e(0x139));this[_0x457e7e(0x158)][_0x457e7e(0x131)][_0x457e7e(0x13c)](_0x457e7e(0x148))&&this[_0x457e7e(0x158)][_0x457e7e(0x131)][_0x457e7e(0x13d)](_0x457e7e(0x148))[_0x457e7e(0x142)](_0x457e7e(0x139));this[_0x457e7e(0x158)][_0x457e7e(0x146)][_0x457e7e(0x13d)](_0x457e7e(0x157))?.[_0x457e7e(0x142)](_0x457e7e(0x139));const _0x14bf0f=this[_0x457e7e(0x158)][_0x457e7e(0x13f)][_0x457e7e(0x137)][_0x457e7e(0x159)];this[_0x457e7e(0x138)](_0x14bf0f,_0x457e7e(0x134),_0x416e1a=>_0x416e1a[_0x457e7e(0x154)](),{'priority':_0x457e7e(0x15e)}),this[_0x457e7e(0x138)](_0x14bf0f,_0x457e7e(0x14b),_0x3e702a=>_0x3e702a[_0x457e7e(0x154)](),{'priority':_0x457e7e(0x15e)}),this[_0x457e7e(0x138)](_0x14bf0f,_0x457e7e(0x15a),_0x53bb0e=>_0x53bb0e[_0x457e7e(0x154)](),{'priority':_0x457e7e(0x15e)});}[_0x40d55e(0x150)](){const _0x17e8e0=_0x40d55e;for(const [_0x5d4561,_0x8c4674]of this[_0x17e8e0(0x158)][_0x17e8e0(0x146)])_0x8c4674[_0x17e8e0(0x143)]&&_0x17e8e0(0x155)!==_0x5d4561&&_0x8c4674[_0x17e8e0(0x147)](_0x17e8e0(0x139));this[_0x17e8e0(0x158)][_0x17e8e0(0x131)][_0x17e8e0(0x13c)](_0x17e8e0(0x13e))&&this[_0x17e8e0(0x158)][_0x17e8e0(0x131)][_0x17e8e0(0x13d)](_0x17e8e0(0x13e))[_0x17e8e0(0x147)](_0x17e8e0(0x139)),this[_0x17e8e0(0x158)][_0x17e8e0(0x131)][_0x17e8e0(0x13c)](_0x17e8e0(0x148))&&this[_0x17e8e0(0x158)][_0x17e8e0(0x131)][_0x17e8e0(0x13d)](_0x17e8e0(0x148))[_0x17e8e0(0x147)](_0x17e8e0(0x139)),this[_0x17e8e0(0x158)][_0x17e8e0(0x146)][_0x17e8e0(0x13d)](_0x17e8e0(0x157))?.[_0x17e8e0(0x147)](_0x17e8e0(0x139)),this[_0x17e8e0(0x140)](this[_0x17e8e0(0x158)][_0x17e8e0(0x13f)][_0x17e8e0(0x137)][_0x17e8e0(0x159)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5ca505,_0xaf3ab9){var _0x23badb=_0x5eee,_0x534721=_0x5ca505();while(!![]){try{var _0x98a843=parseInt(_0x23badb(0xee))/0x1*(parseInt(_0x23badb(0xeb))/0x2)+-parseInt(_0x23badb(0xea))/0x3+-parseInt(_0x23badb(0xef))/0x4*(-parseInt(_0x23badb(0xe8))/0x5)+parseInt(_0x23badb(0xe7))/0x6*(-parseInt(_0x23badb(0xf1))/0x7)+parseInt(_0x23badb(0xf0))/0x8+parseInt(_0x23badb(0xec))/0x9*(-parseInt(_0x23badb(0xf2))/0xa)+-parseInt(_0x23badb(0xe9))/0xb*(-parseInt(_0x23badb(0xed))/0xc);if(_0x98a843===_0xaf3ab9)break;else _0x534721['push'](_0x534721['shift']());}catch(_0x2ceaf6){_0x534721['push'](_0x534721['shift']());}}}(_0x1f0f,0xabfe1));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';function _0x5eee(_0x4fdcb8,_0x58d082){var _0x1f0fcb=_0x1f0f();return _0x5eee=function(_0x5eee90,_0x110249){_0x5eee90=_0x5eee90-0xe7;var _0x1a9d83=_0x1f0fcb[_0x5eee90];return _0x1a9d83;},_0x5eee(_0x4fdcb8,_0x58d082);}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';function _0x1f0f(){var _0x4822f7=['1132034OIfKFg','18756ncpIWH','12JOVthM','2MZBMRJ','220wOLadS','10903376KxPloX','868fIziWq','5460DuuNnj','25854sKECdV','65675JaxmMa','1305656eCQxur','2878248jKiyTo'];_0x1f0f=function(){return _0x4822f7;};return _0x1f0f();}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';export{CommentsArchiveUI}from'./comments/commentsarchiveui.js';export{CommentsEditing}from'./comments/commentsediting.js';export{AnnotationCounterButtonView}from'./annotations/view/annotationcounterbuttonview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x130784,_0x5eee67,_0x4840d8){const t=_0x130784['t'];switch(_0x5eee67){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'},_0x4840d8);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'},_0x4840d8);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'},_0x4840d8);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'},_0x4840d8);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x4840d8);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'},_0x4840d8);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'},_0x4840d8);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'},_0x4840d8);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 _0x8c60(){const _0x995eba=['type','observe','176646lRMvUv','cancel','176088odkKWA','attributes','class','childList','1194746IUXCZn','500373kiRDrf','25cDIbmx','262864zSGynQ','disconnect','47108MiFvgm','118300yWAWvj','attributeName','characterData','27bJpNAM'];_0x8c60=function(){return _0x995eba;};return _0x8c60();}function _0x1fd5(_0x109f13,_0xa2d93c){const _0x8c60d=_0x8c60();return _0x1fd5=function(_0x1fd5d9,_0x23e111){_0x1fd5d9=_0x1fd5d9-0x1d4;let _0x187117=_0x8c60d[_0x1fd5d9];return _0x187117;},_0x1fd5(_0x109f13,_0xa2d93c);}(function(_0x47e032,_0x10cbe1){const _0x7f31d6=_0x1fd5,_0x2a5c35=_0x47e032();while(!![]){try{const _0x3abf6a=parseInt(_0x7f31d6(0x1d5))/0x1+parseInt(_0x7f31d6(0x1dd))/0x2+-parseInt(_0x7f31d6(0x1d8))/0x3*(parseInt(_0x7f31d6(0x1d4))/0x4)+-parseInt(_0x7f31d6(0x1e3))/0x5*(parseInt(_0x7f31d6(0x1db))/0x6)+parseInt(_0x7f31d6(0x1e1))/0x7+parseInt(_0x7f31d6(0x1e4))/0x8+-parseInt(_0x7f31d6(0x1e2))/0x9;if(_0x3abf6a===_0x10cbe1)break;else _0x2a5c35['push'](_0x2a5c35['shift']());}catch(_0x53468c){_0x2a5c35['push'](_0x2a5c35['shift']());}}}(_0x8c60,0x18add));import{throttle as _0x363f41}from'es-toolkit/compat';export function createMutationObserver(_0xca160){const _0x2b6071=_0x363f41(_0xca160,0x1e),_0x11dc19=new MutationObserver(_0x5cef88=>{const _0xe52bf4=_0x1fd5;for(const _0x5cd3e7 of _0x5cef88)(_0xe52bf4(0x1de)==_0x5cd3e7[_0xe52bf4(0x1d9)]&&_0xe52bf4(0x1df)==_0x5cd3e7[_0xe52bf4(0x1d6)]||_0xe52bf4(0x1e0)==_0x5cd3e7[_0xe52bf4(0x1d9)]||_0xe52bf4(0x1d7)==_0x5cd3e7[_0xe52bf4(0x1d9)])&&_0x2b6071();});return{'attach'(_0x3d7e88){const _0xec53b=_0x1fd5;_0x11dc19[_0xec53b(0x1da)](_0x3d7e88,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x48f285=_0x1fd5;_0x11dc19[_0x48f285(0x1e5)](),_0x2b6071[_0x48f285(0x1dc)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x776c(){const _0x37dc99=['3tutFWe','2447354mSfFzS','790801fVQGhh','3952600JTcBEU','27GSMiNB','1575316DtYdvH','65614FQzsCt','48385ldUhZo','14NXGgDd','36vkFhRD','split','90zOZifR','803080HvPlij'];_0x776c=function(){return _0x37dc99;};return _0x776c();}function _0x11e0(_0x4eabf4,_0x41944c){const _0x776c62=_0x776c();return _0x11e0=function(_0x11e002,_0x963396){_0x11e002=_0x11e002-0xaa;let _0x15c847=_0x776c62[_0x11e002];return _0x15c847;},_0x11e0(_0x4eabf4,_0x41944c);}(function(_0x38c565,_0x1994a0){const _0x5763a4=_0x11e0,_0x5bec5a=_0x38c565();while(!![]){try{const _0x336fef=-parseInt(_0x5763a4(0xb0))/0x1*(parseInt(_0x5763a4(0xae))/0x2)+parseInt(_0x5763a4(0xb5))/0x3*(parseInt(_0x5763a4(0xad))/0x4)+-parseInt(_0x5763a4(0xaf))/0x5*(parseInt(_0x5763a4(0xb3))/0x6)+parseInt(_0x5763a4(0xb6))/0x7+-parseInt(_0x5763a4(0xb4))/0x8*(-parseInt(_0x5763a4(0xac))/0x9)+-parseInt(_0x5763a4(0xab))/0xa+parseInt(_0x5763a4(0xaa))/0xb*(parseInt(_0x5763a4(0xb1))/0xc);if(_0x336fef===_0x1994a0)break;else _0x5bec5a['push'](_0x5bec5a['shift']());}catch(_0x1cb4be){_0x5bec5a['push'](_0x5bec5a['shift']());}}}(_0x776c,0x3f9d6));export function splitMarkerName(_0x344e17){const _0x2e6db0=_0x11e0,_0x5edc68=_0x344e17[_0x2e6db0(0xb2)](':');return{'group':_0x5edc68[0x0],'id':_0x5edc68[0x1],'part':_0x5edc68[0x2]};}
|