@ckeditor/ckeditor5-comments 44.1.0-alpha.5 → 44.1.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 +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +16 -16
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x189dfd=_0x1fa0;(function(_0x169b40,_0x2166a2){const _0x270cd3=_0x1fa0,_0x1cd1aa=_0x169b40();while(!![]){try{const _0x261b2d=-parseInt(_0x270cd3(0x20f))/0x1+parseInt(_0x270cd3(0x205))/0x2+-parseInt(_0x270cd3(0x1ff))/0x3+-parseInt(_0x270cd3(0x1e0))/0x4+-parseInt(_0x270cd3(0x1d5))/0x5+parseInt(_0x270cd3(0x219))/0x6*(-parseInt(_0x270cd3(0x1e5))/0x7)+-parseInt(_0x270cd3(0x1f6))/0x8*(-parseInt(_0x270cd3(0x1f9))/0x9);if(_0x261b2d===_0x2166a2)break;else _0x1cd1aa['push'](_0x1cd1aa['shift']());}catch(_0x4aed6c){_0x1cd1aa['push'](_0x1cd1aa['shift']());}}}(_0x51a9,0x6cd1b));import{View as _0x578bee,FocusCycler as _0x5ce2ab}from'ckeditor5/src/ui.js';import{diff as _0x541527,Collection as _0xd14954,FocusTracker as _0xb6f085,KeystrokeHandler as _0x1017c1}from'ckeditor5/src/utils.js';import{getTranslation as _0x2dbd56}from'../../../utils/common-translations.js';function _0x1fa0(_0x109190,_0x5cdfae){const _0x51a9a1=_0x51a9();return _0x1fa0=function(_0x1fa03e,_0x4a42f1){_0x1fa03e=_0x1fa03e-0x1bc;let _0x53ec00=_0x51a9a1[_0x1fa03e];return _0x53ec00;},_0x1fa0(_0x109190,_0x5cdfae);}import _0x3a4746 from'./collapsedcommentsview.js';function _0x51a9(){const _0x49b8e6=['_rearrangeExpand','target','map','change:hasDirtyComment','2349160tOaODl','bind','formatDateTime','54GYHqJZ','resolved','focusCycler','length','remove','some','1204404zfEkCG','includes','resolvedCommentView','set','focusFirst','_findOptimalIndex','907484Sdslvi','removed','refreshVisibleViews','commentViews','stopListening','listenTo','updateComment','viewUid','ck-thread__comments','add','601769lGouwW','maxCommentsWhenCollapsed','change','Thread\x20comments','get','isActive','focusLast','_config','destroy','commentUpdated','6DSPlMO','visibleViews','added','resolvedAt','_handleRemoveCommentModel','forEach','delegate','maxCommentCharsWhenCollapsed','_rearrangeCollapse','from','weight','_calculatePosition','comments','insert','createCollection','focusTracker','expand','resolvedBy','CommentView','arrowup','bindTemplate','_handleNewCommentModel','authoredAt','editorDestroyed','_collapsedCommentsView','_shouldCollapse','_updateHasDirtyComment','render','2248745MeqXnP','change:isEditMode','focus','count','hasDirtyComment','_model','setTemplate','element','maxThreadTotalWeight','removeComment','editorReady','360328dBVRrN','collapse','resolveCommentThread','keystrokes','reverse','1587747gGKfTM','Marked\x20as\x20resolved','isEditMode','arrowdown','change:isActive','ck-hidden','editorConfig','delete','locale','_handleInfoComment','change:isResolved','_setupKeyboardNavigation','equal'];_0x51a9=function(){return _0x49b8e6;};return _0x51a9();}export default class te extends _0x578bee{constructor(_0x6de9b5,_0x52ea49,_0x2b736b){const _0x14def4=_0x1fa0;super(_0x6de9b5);const _0x2d3c3a=this[_0x14def4(0x1cd)];this[_0x14def4(0x202)](_0x14def4(0x1d9),!0x1),this[_0x14def4(0x202)](_0x14def4(0x1fc),_0x52ea49[_0x14def4(0x1c5)][_0x14def4(0x1fc)]),this[_0x14def4(0x202)](_0x14def4(0x214),!0x1),this[_0x14def4(0x1da)]=_0x52ea49,this[_0x14def4(0x216)]=_0x2b736b,this[_0x14def4(0x208)]=this[_0x14def4(0x1c7)](),this[_0x14def4(0x21a)]=this[_0x14def4(0x1c7)](),this[_0x14def4(0x201)]=null,this[_0x14def4(0x1c8)]=new _0xb6f085(),this[_0x14def4(0x1e3)]=new _0x1017c1(),this[_0x14def4(0x1fb)]=new _0x5ce2ab({'focusables':this[_0x14def4(0x208)],'focusTracker':this[_0x14def4(0x1c8)],'keystrokeHandler':this[_0x14def4(0x1e3)],'keystrokeHandlerOptions':{'filter':_0x32081a=>this[_0x14def4(0x208)][_0x14def4(0x1f4)](_0x5a3867=>_0x5a3867[_0x14def4(0x1dc)])[_0x14def4(0x200)](_0x32081a[_0x14def4(0x1f3)])},'actions':{'focusPrevious':_0x14def4(0x1cc),'focusNext':_0x14def4(0x1e8)}}),this[_0x14def4(0x1d1)]=new _0x3a4746(_0x6de9b5),this[_0x14def4(0x1d1)][_0x14def4(0x1f7)](_0x14def4(0x1d8))['to'](this,_0x14def4(0x1fc),_0x1f372e=>_0x1f372e-this[_0x14def4(0x216)][_0x14def4(0x210)]);for(const _0x1a0081 of _0x52ea49[_0x14def4(0x1c5)])this[_0x14def4(0x1ce)](_0x1a0081);this[_0x14def4(0x1ee)](),this[_0x14def4(0x20a)](_0x52ea49[_0x14def4(0x1c5)],_0x14def4(0x20e),(_0x42535a,_0x404b3b)=>{const _0x34090d=_0x14def4,_0x3f2d49=this[_0x34090d(0x1c4)](_0x404b3b);this[_0x34090d(0x1fc)]++,this[_0x34090d(0x1ce)](_0x404b3b,_0x3f2d49),this[_0x34090d(0x207)]();}),this[_0x14def4(0x20a)](_0x52ea49[_0x14def4(0x1c5)],_0x14def4(0x1fd),(_0x2d7368,_0x4df072)=>{const _0xfe3350=_0x14def4;this[_0xfe3350(0x1fc)]--,this[_0xfe3350(0x1bd)](_0x4df072),this[_0xfe3350(0x207)]();}),this[_0x14def4(0x20a)](_0x52ea49,_0x14def4(0x218),()=>this[_0x14def4(0x207)]()),this[_0x14def4(0x20a)](_0x52ea49,_0x14def4(0x1ef),()=>this[_0x14def4(0x1ee)]()),this['on'](_0x14def4(0x1e9),()=>this[_0x14def4(0x207)]()),this['on'](_0x14def4(0x1f5),()=>this[_0x14def4(0x207)]()),this[_0x14def4(0x1db)]({'tag':'ul','attributes':{'class':[_0x14def4(0x20d),_0x2d3c3a['if'](_0x14def4(0x1fc),_0x14def4(0x1ea),_0x4f9b7a=>!_0x4f9b7a)],'aria-label':_0x2dbd56(_0x6de9b5,_0x14def4(0x212))},'children':this[_0x14def4(0x21a)]});}get[_0x189dfd(0x1d2)](){const _0x2bab00=_0x189dfd;return this[_0x2bab00(0x1da)][_0x2bab00(0x1c3)]>this[_0x2bab00(0x216)][_0x2bab00(0x1dd)]&&!this[_0x2bab00(0x214)]&&!this[_0x2bab00(0x1d9)];}[_0x189dfd(0x1d4)](){const _0x30bcfd=_0x189dfd;super[_0x30bcfd(0x1d4)](),this[_0x30bcfd(0x207)](),this[_0x30bcfd(0x1f0)]();}[_0x189dfd(0x1d7)](_0x47a3f6){const _0x4465aa=_0x189dfd;-0x1===_0x47a3f6?this[_0x4465aa(0x1fb)][_0x4465aa(0x215)]():this[_0x4465aa(0x1fb)][_0x4465aa(0x203)]();}[_0x189dfd(0x217)](){const _0x4948c9=_0x189dfd;this[_0x4948c9(0x1d1)][_0x4948c9(0x217)]();for(const _0x1ed6b7 of this[_0x4948c9(0x208)])_0x1ed6b7[_0x4948c9(0x217)]();super[_0x4948c9(0x217)]();}[_0x189dfd(0x207)](){const _0x27a680=_0x189dfd;this[_0x27a680(0x1d2)]?this[_0x27a680(0x1c1)]():this[_0x27a680(0x1f2)]();}[_0x189dfd(0x1ce)](_0x3b4ab3,_0x5c0eb4){const _0x17732e=_0x189dfd,_0x5e473d=new this[(_0x17732e(0x216))][(_0x17732e(0x1cb))](this[_0x17732e(0x1ed)],_0x3b4ab3,{'maxCommentCharsWhenCollapsed':this[_0x17732e(0x216)][_0x17732e(0x1c0)],'formatDateTime':this[_0x17732e(0x216)][_0x17732e(0x1f8)],'editorConfig':this[_0x17732e(0x216)][_0x17732e(0x1eb)]});_0x5e473d[_0x17732e(0x20c)]=_0x3b4ab3['id'],_0x5e473d[_0x17732e(0x1bf)](_0x17732e(0x1de))['to'](this),_0x5e473d[_0x17732e(0x1bf)](_0x17732e(0x20b))['to'](this),_0x5e473d[_0x17732e(0x1bf)](_0x17732e(0x1e2))['to'](this),_0x5e473d[_0x17732e(0x1bf)](_0x17732e(0x1df))['to'](this),_0x5e473d[_0x17732e(0x1bf)](_0x17732e(0x1d0))['to'](this),this[_0x17732e(0x20a)](_0x5e473d,_0x17732e(0x1d6),()=>this[_0x17732e(0x1d3)]()),this[_0x17732e(0x208)][_0x17732e(0x20e)](_0x5e473d,_0x5c0eb4);}[_0x189dfd(0x1c4)](_0x2eaa72){const _0x3aacce=_0x189dfd,_0x56c03d=this[_0x3aacce(0x1da)][_0x3aacce(0x204)](_0x2eaa72);return this[_0x3aacce(0x201)]?this[_0x3aacce(0x201)][_0x3aacce(0x1cf)]>_0x2eaa72[_0x3aacce(0x1cf)]?_0x56c03d-0x1:_0x56c03d:_0x56c03d-0x1;}[_0x189dfd(0x1ee)](){const _0x5d4e55=_0x189dfd;if(this[_0x5d4e55(0x1da)][_0x5d4e55(0x1ca)]&&this[_0x5d4e55(0x1da)][_0x5d4e55(0x1bc)]){const _0x91e2fd={'id':_0x5d4e55(0x1fa),'author':this[_0x5d4e55(0x1da)][_0x5d4e55(0x1ca)],'authoredAt':this[_0x5d4e55(0x1da)][_0x5d4e55(0x1bc)],'content':_0x2dbd56(this[_0x5d4e55(0x1ed)],_0x5d4e55(0x1e6)),'attributes':{}};this[_0x5d4e55(0x201)]=new this[(_0x5d4e55(0x216))][(_0x5d4e55(0x1cb))](this[_0x5d4e55(0x1ed)],_0x91e2fd,{'maxCommentCharsWhenCollapsed':this[_0x5d4e55(0x216)][_0x5d4e55(0x1c0)],'formatDateTime':this[_0x5d4e55(0x216)][_0x5d4e55(0x1f8)],'editorConfig':this[_0x5d4e55(0x216)][_0x5d4e55(0x1eb)],'isSystemComment':!0x0}),this[_0x5d4e55(0x208)][_0x5d4e55(0x20e)](this[_0x5d4e55(0x201)],this[_0x5d4e55(0x1da)][_0x5d4e55(0x204)](_0x91e2fd));}else this[_0x5d4e55(0x201)]&&(this[_0x5d4e55(0x208)][_0x5d4e55(0x1fd)](this[_0x5d4e55(0x201)]),this[_0x5d4e55(0x201)][_0x5d4e55(0x217)](),this[_0x5d4e55(0x201)]=null);this[_0x5d4e55(0x207)]();}[_0x189dfd(0x1bd)](_0x4e7878){const _0x4bfe56=_0x189dfd,_0x3c5ac6=this[_0x4bfe56(0x208)][_0x4bfe56(0x1fd)](_0x4e7878['id']);this[_0x4bfe56(0x209)](_0x3c5ac6),_0x3c5ac6[_0x4bfe56(0x1e7)]&&this[_0x4bfe56(0x1d3)](),_0x3c5ac6[_0x4bfe56(0x217)]();}[_0x189dfd(0x1d3)](){const _0x201f4f=_0x189dfd;this[_0x201f4f(0x1d9)]=Array[_0x201f4f(0x1c2)](this[_0x201f4f(0x208)])[_0x201f4f(0x1fe)](_0x210433=>_0x210433[_0x201f4f(0x1e7)]);}[_0x189dfd(0x1c1)](){const _0x15dd72=_0x189dfd,_0x34a552=function(_0x11856c){const _0x52de85=_0x1fa0,_0x3d6814=new _0xd14954();for(const _0x3965cb of _0x11856c)_0x3d6814[_0x52de85(0x20e)](_0x3965cb);return _0x3d6814;}(this[_0x15dd72(0x208)]),_0x2e220b=this[_0x15dd72(0x1d1)][_0x15dd72(0x1d8)];for(let _0x2ef42d=0x1;_0x2ef42d<=_0x2e220b;_0x2ef42d++)_0x34a552[_0x15dd72(0x1fd)](0x1);for(const _0x5c1b6b of _0x34a552)_0x5c1b6b[_0x15dd72(0x1e1)]();_0x2e220b>0x0&&_0x34a552[_0x15dd72(0x20e)](this[_0x15dd72(0x1d1)],0x1),as(_0x541527(Array[_0x15dd72(0x1c2)](this[_0x15dd72(0x21a)]),Array[_0x15dd72(0x1c2)](_0x34a552)),this[_0x15dd72(0x21a)],_0x34a552);}[_0x189dfd(0x1f2)](){const _0x3d8cc5=_0x189dfd;as(_0x541527(Array[_0x3d8cc5(0x1c2)](this[_0x3d8cc5(0x21a)]),Array[_0x3d8cc5(0x1c2)](this[_0x3d8cc5(0x208)])),this[_0x3d8cc5(0x21a)],this[_0x3d8cc5(0x208)]);for(const _0x367c59 of this[_0x3d8cc5(0x21a)])_0x367c59[_0x3d8cc5(0x1c9)]();}[_0x189dfd(0x1f0)](){const _0x52edb0=_0x189dfd;this[_0x52edb0(0x208)][_0x52edb0(0x1be)](_0x2b6b65=>{const _0x504e13=_0x52edb0;this[_0x504e13(0x1c8)][_0x504e13(0x20e)](_0x2b6b65[_0x504e13(0x1dc)]),this[_0x504e13(0x1e3)][_0x504e13(0x20a)](_0x2b6b65[_0x504e13(0x1dc)]);}),this[_0x52edb0(0x208)]['on'](_0x52edb0(0x211),(_0xd2f255,_0x3122e1)=>{const _0x2fc53d=_0x52edb0;for(const _0x4678bb of _0x3122e1[_0x2fc53d(0x206)])this[_0x2fc53d(0x1c8)][_0x2fc53d(0x1fd)](_0x4678bb[_0x2fc53d(0x1dc)]),this[_0x2fc53d(0x1e3)][_0x2fc53d(0x209)](_0x4678bb[_0x2fc53d(0x1dc)]);for(const _0x797c43 of Array[_0x2fc53d(0x1c2)](_0x3122e1[_0x2fc53d(0x21b)])[_0x2fc53d(0x1e4)]())this[_0x2fc53d(0x1c8)][_0x2fc53d(0x20e)](_0x797c43[_0x2fc53d(0x1dc)]),this[_0x2fc53d(0x1e3)][_0x2fc53d(0x20a)](_0x797c43[_0x2fc53d(0x1dc)]);});}}function as(_0x2c976e,_0x42edcc,_0x339e2e){const _0x36ca8d=_0x189dfd;let _0xdf5101=0x0;for(const _0x30a718 of _0x2c976e)switch(_0x30a718){case _0x36ca8d(0x1c6):_0x42edcc[_0x36ca8d(0x20e)](_0x339e2e[_0x36ca8d(0x213)](_0xdf5101),_0xdf5101),_0xdf5101++;break;case _0x36ca8d(0x1ec):_0x42edcc[_0x36ca8d(0x1fd)](_0xdf5101);break;case _0x36ca8d(0x1f1):_0xdf5101++;}}
|
|
23
|
+
const _0x1a13a7=_0x562e;(function(_0x25ddae,_0x4d7253){const _0x493db4=_0x562e,_0x2b201c=_0x25ddae();while(!![]){try{const _0x49b2ad=-parseInt(_0x493db4(0x1ca))/0x1*(-parseInt(_0x493db4(0x1a2))/0x2)+-parseInt(_0x493db4(0x16f))/0x3+-parseInt(_0x493db4(0x18a))/0x4*(parseInt(_0x493db4(0x18c))/0x5)+parseInt(_0x493db4(0x182))/0x6*(parseInt(_0x493db4(0x1ce))/0x7)+-parseInt(_0x493db4(0x193))/0x8*(-parseInt(_0x493db4(0x189))/0x9)+parseInt(_0x493db4(0x1ad))/0xa*(-parseInt(_0x493db4(0x18d))/0xb)+-parseInt(_0x493db4(0x178))/0xc*(-parseInt(_0x493db4(0x1c1))/0xd);if(_0x49b2ad===_0x4d7253)break;else _0x2b201c['push'](_0x2b201c['shift']());}catch(_0x312de1){_0x2b201c['push'](_0x2b201c['shift']());}}}(_0x2924,0x7de32));function _0x562e(_0x3b2437,_0x221e77){const _0x2924c8=_0x2924();return _0x562e=function(_0x562e90,_0x26a516){_0x562e90=_0x562e90-0x16e;let _0x1bfc02=_0x2924c8[_0x562e90];return _0x1bfc02;},_0x562e(_0x3b2437,_0x221e77);}function _0x2924(){const _0x46a12b=['_rearrangeExpand','insert','change:isActive','add','focusFirst','change:isEditMode','8001PhHOnG','3905092qlvrtL','viewUid','5dbTISS','275RnnIDd','resolvedBy','Thread\x20comments','arrowdown','delegate','render','7160gImBuV','_rearrangeCollapse','maxCommentCharsWhenCollapsed','focusLast','weight','includes','_handleNewCommentModel','isEditMode','editorReady','hasDirtyComment','_updateHasDirtyComment','removed','map','_findOptimalIndex','get','2rPwWOJ','stopListening','updateComment','keystrokes','_handleRemoveCommentModel','change','change:hasDirtyComment','removeComment','focus','arrowup','reverse','279800iEppBW','editorDestroyed','resolvedAt','forEach','locale','destroy','from','CommentView','comments','focusTracker','_model','_calculatePosition','_setupKeyboardNavigation','length','createCollection','element','added','authoredAt','ck-hidden','commentUpdated','133315xDxZZU','Marked\x20as\x20resolved','formatDateTime','ck-thread__comments','count','bind','bindTemplate','change:isResolved','resolvedCommentView','869189PtPcfO','delete','target','refreshVisibleViews','42BaCpOP','resolveCommentThread','editorConfig','expand','resolved','1958766nXlsve','isActive','commentViews','remove','some','_shouldCollapse','_collapsedCommentsView','_handleInfoComment','listenTo','708AneLHM','setTemplate','_config','maxCommentsWhenCollapsed','maxThreadTotalWeight','collapse','equal','visibleViews','focusCycler','set','574440JBhvTB'];_0x2924=function(){return _0x46a12b;};return _0x2924();}import{View as _0x19df0c,FocusCycler as _0x5d8e86}from'ckeditor5/src/ui.js';import{diff as _0x1ff9fa,Collection as _0x433d6b,FocusTracker as _0x312d80,KeystrokeHandler as _0x803c88}from'ckeditor5/src/utils.js';import{getTranslation as _0x28b9f8}from'../../../utils/common-translations.js';import _0x333002 from'./collapsedcommentsview.js';export default class te extends _0x19df0c{constructor(_0x2419b9,_0xf0e9c0,_0x1dc220){const _0x79660f=_0x562e;super(_0x2419b9);const _0x3c0915=this[_0x79660f(0x1c7)];this[_0x79660f(0x181)](_0x79660f(0x19c),!0x1),this[_0x79660f(0x181)](_0x79660f(0x1ba),_0xf0e9c0[_0x79660f(0x1b5)][_0x79660f(0x1ba)]),this[_0x79660f(0x181)](_0x79660f(0x170),!0x1),this[_0x79660f(0x1b7)]=_0xf0e9c0,this[_0x79660f(0x17a)]=_0x1dc220,this[_0x79660f(0x171)]=this[_0x79660f(0x1bb)](),this[_0x79660f(0x17f)]=this[_0x79660f(0x1bb)](),this[_0x79660f(0x1c9)]=null,this[_0x79660f(0x1b6)]=new _0x312d80(),this[_0x79660f(0x1a5)]=new _0x803c88(),this[_0x79660f(0x180)]=new _0x5d8e86({'focusables':this[_0x79660f(0x171)],'focusTracker':this[_0x79660f(0x1b6)],'keystrokeHandler':this[_0x79660f(0x1a5)],'keystrokeHandlerOptions':{'filter':_0x558fc0=>this[_0x79660f(0x171)][_0x79660f(0x19f)](_0x27234a=>_0x27234a[_0x79660f(0x1bc)])[_0x79660f(0x198)](_0x558fc0[_0x79660f(0x1cc)])},'actions':{'focusPrevious':_0x79660f(0x1ab),'focusNext':_0x79660f(0x190)}}),this[_0x79660f(0x175)]=new _0x333002(_0x2419b9),this[_0x79660f(0x175)][_0x79660f(0x1c6)](_0x79660f(0x1c5))['to'](this,_0x79660f(0x1ba),_0x5b339b=>_0x5b339b-this[_0x79660f(0x17a)][_0x79660f(0x17b)]);for(const _0x4a2576 of _0xf0e9c0[_0x79660f(0x1b5)])this[_0x79660f(0x199)](_0x4a2576);this[_0x79660f(0x176)](),this[_0x79660f(0x177)](_0xf0e9c0[_0x79660f(0x1b5)],_0x79660f(0x186),(_0x2b0fd8,_0x5317fc)=>{const _0x58cb02=_0x79660f,_0x7bcc86=this[_0x58cb02(0x1b8)](_0x5317fc);this[_0x58cb02(0x1ba)]++,this[_0x58cb02(0x199)](_0x5317fc,_0x7bcc86),this[_0x58cb02(0x1cd)]();}),this[_0x79660f(0x177)](_0xf0e9c0[_0x79660f(0x1b5)],_0x79660f(0x172),(_0x3e6f78,_0x294401)=>{const _0xc52ff=_0x79660f;this[_0xc52ff(0x1ba)]--,this[_0xc52ff(0x1a6)](_0x294401),this[_0xc52ff(0x1cd)]();}),this[_0x79660f(0x177)](_0xf0e9c0,_0x79660f(0x1c0),()=>this[_0x79660f(0x1cd)]()),this[_0x79660f(0x177)](_0xf0e9c0,_0x79660f(0x1c8),()=>this[_0x79660f(0x176)]()),this['on'](_0x79660f(0x185),()=>this[_0x79660f(0x1cd)]()),this['on'](_0x79660f(0x1a8),()=>this[_0x79660f(0x1cd)]()),this[_0x79660f(0x179)]({'tag':'ul','attributes':{'class':[_0x79660f(0x1c4),_0x3c0915['if'](_0x79660f(0x1ba),_0x79660f(0x1bf),_0x41ad8b=>!_0x41ad8b)],'aria-label':_0x28b9f8(_0x2419b9,_0x79660f(0x18f))},'children':this[_0x79660f(0x17f)]});}get[_0x1a13a7(0x174)](){const _0x482064=_0x1a13a7;return this[_0x482064(0x1b7)][_0x482064(0x197)]>this[_0x482064(0x17a)][_0x482064(0x17c)]&&!this[_0x482064(0x170)]&&!this[_0x482064(0x19c)];}[_0x1a13a7(0x192)](){const _0x34876e=_0x1a13a7;super[_0x34876e(0x192)](),this[_0x34876e(0x1cd)](),this[_0x34876e(0x1b9)]();}[_0x1a13a7(0x1aa)](_0x77c042){const _0x13ff47=_0x1a13a7;-0x1===_0x77c042?this[_0x13ff47(0x180)][_0x13ff47(0x196)]():this[_0x13ff47(0x180)][_0x13ff47(0x187)]();}[_0x1a13a7(0x1b2)](){const _0x9fac1f=_0x1a13a7;this[_0x9fac1f(0x175)][_0x9fac1f(0x1b2)]();for(const _0x23f488 of this[_0x9fac1f(0x171)])_0x23f488[_0x9fac1f(0x1b2)]();super[_0x9fac1f(0x1b2)]();}[_0x1a13a7(0x1cd)](){const _0x3a0471=_0x1a13a7;this[_0x3a0471(0x174)]?this[_0x3a0471(0x194)]():this[_0x3a0471(0x183)]();}[_0x1a13a7(0x199)](_0xc5606b,_0x52d412){const _0x4cdc77=_0x1a13a7,_0x4fef63=new this[(_0x4cdc77(0x17a))][(_0x4cdc77(0x1b4))](this[_0x4cdc77(0x1b1)],_0xc5606b,{'maxCommentCharsWhenCollapsed':this[_0x4cdc77(0x17a)][_0x4cdc77(0x195)],'formatDateTime':this[_0x4cdc77(0x17a)][_0x4cdc77(0x1c3)],'editorConfig':this[_0x4cdc77(0x17a)][_0x4cdc77(0x1d0)]});_0x4fef63[_0x4cdc77(0x18b)]=_0xc5606b['id'],_0x4fef63[_0x4cdc77(0x191)](_0x4cdc77(0x1a9))['to'](this),_0x4fef63[_0x4cdc77(0x191)](_0x4cdc77(0x1a4))['to'](this),_0x4fef63[_0x4cdc77(0x191)](_0x4cdc77(0x1cf))['to'](this),_0x4fef63[_0x4cdc77(0x191)](_0x4cdc77(0x19b))['to'](this),_0x4fef63[_0x4cdc77(0x191)](_0x4cdc77(0x1ae))['to'](this),this[_0x4cdc77(0x177)](_0x4fef63,_0x4cdc77(0x188),()=>this[_0x4cdc77(0x19d)]()),this[_0x4cdc77(0x171)][_0x4cdc77(0x186)](_0x4fef63,_0x52d412);}[_0x1a13a7(0x1b8)](_0xc78f27){const _0x4be0ae=_0x1a13a7,_0x46b172=this[_0x4be0ae(0x1b7)][_0x4be0ae(0x1a0)](_0xc78f27);return this[_0x4be0ae(0x1c9)]?this[_0x4be0ae(0x1c9)][_0x4be0ae(0x1be)]>_0xc78f27[_0x4be0ae(0x1be)]?_0x46b172-0x1:_0x46b172:_0x46b172-0x1;}[_0x1a13a7(0x176)](){const _0x1c8192=_0x1a13a7;if(this[_0x1c8192(0x1b7)][_0x1c8192(0x18e)]&&this[_0x1c8192(0x1b7)][_0x1c8192(0x1af)]){const _0x8ba50e={'id':_0x1c8192(0x16e),'author':this[_0x1c8192(0x1b7)][_0x1c8192(0x18e)],'authoredAt':this[_0x1c8192(0x1b7)][_0x1c8192(0x1af)],'content':_0x28b9f8(this[_0x1c8192(0x1b1)],_0x1c8192(0x1c2)),'attributes':{}};this[_0x1c8192(0x1c9)]=new this[(_0x1c8192(0x17a))][(_0x1c8192(0x1b4))](this[_0x1c8192(0x1b1)],_0x8ba50e,{'maxCommentCharsWhenCollapsed':this[_0x1c8192(0x17a)][_0x1c8192(0x195)],'formatDateTime':this[_0x1c8192(0x17a)][_0x1c8192(0x1c3)],'editorConfig':this[_0x1c8192(0x17a)][_0x1c8192(0x1d0)],'isSystemComment':!0x0}),this[_0x1c8192(0x171)][_0x1c8192(0x186)](this[_0x1c8192(0x1c9)],this[_0x1c8192(0x1b7)][_0x1c8192(0x1a0)](_0x8ba50e));}else this[_0x1c8192(0x1c9)]&&(this[_0x1c8192(0x171)][_0x1c8192(0x172)](this[_0x1c8192(0x1c9)]),this[_0x1c8192(0x1c9)][_0x1c8192(0x1b2)](),this[_0x1c8192(0x1c9)]=null);this[_0x1c8192(0x1cd)]();}[_0x1a13a7(0x1a6)](_0xb43f58){const _0x11e1b7=_0x1a13a7,_0x5524f6=this[_0x11e1b7(0x171)][_0x11e1b7(0x172)](_0xb43f58['id']);this[_0x11e1b7(0x1a3)](_0x5524f6),_0x5524f6[_0x11e1b7(0x19a)]&&this[_0x11e1b7(0x19d)](),_0x5524f6[_0x11e1b7(0x1b2)]();}[_0x1a13a7(0x19d)](){const _0x44c36c=_0x1a13a7;this[_0x44c36c(0x19c)]=Array[_0x44c36c(0x1b3)](this[_0x44c36c(0x171)])[_0x44c36c(0x173)](_0x16698a=>_0x16698a[_0x44c36c(0x19a)]);}[_0x1a13a7(0x194)](){const _0x59626d=_0x1a13a7,_0x3d4479=function(_0x4433ff){const _0x58bcbe=_0x562e,_0x1b45cb=new _0x433d6b();for(const _0x1b340 of _0x4433ff)_0x1b45cb[_0x58bcbe(0x186)](_0x1b340);return _0x1b45cb;}(this[_0x59626d(0x171)]),_0x1babae=this[_0x59626d(0x175)][_0x59626d(0x1c5)];for(let _0x481334=0x1;_0x481334<=_0x1babae;_0x481334++)_0x3d4479[_0x59626d(0x172)](0x1);for(const _0x45aac3 of _0x3d4479)_0x45aac3[_0x59626d(0x17d)]();_0x1babae>0x0&&_0x3d4479[_0x59626d(0x186)](this[_0x59626d(0x175)],0x1),as(_0x1ff9fa(Array[_0x59626d(0x1b3)](this[_0x59626d(0x17f)]),Array[_0x59626d(0x1b3)](_0x3d4479)),this[_0x59626d(0x17f)],_0x3d4479);}[_0x1a13a7(0x183)](){const _0x5df7f6=_0x1a13a7;as(_0x1ff9fa(Array[_0x5df7f6(0x1b3)](this[_0x5df7f6(0x17f)]),Array[_0x5df7f6(0x1b3)](this[_0x5df7f6(0x171)])),this[_0x5df7f6(0x17f)],this[_0x5df7f6(0x171)]);for(const _0x1228ae of this[_0x5df7f6(0x17f)])_0x1228ae[_0x5df7f6(0x1d1)]();}[_0x1a13a7(0x1b9)](){const _0x191700=_0x1a13a7;this[_0x191700(0x171)][_0x191700(0x1b0)](_0x5a9968=>{const _0x13e2c7=_0x191700;this[_0x13e2c7(0x1b6)][_0x13e2c7(0x186)](_0x5a9968[_0x13e2c7(0x1bc)]),this[_0x13e2c7(0x1a5)][_0x13e2c7(0x177)](_0x5a9968[_0x13e2c7(0x1bc)]);}),this[_0x191700(0x171)]['on'](_0x191700(0x1a7),(_0x4ac9d2,_0x171762)=>{const _0x5e7ab5=_0x191700;for(const _0x3b3c27 of _0x171762[_0x5e7ab5(0x19e)])this[_0x5e7ab5(0x1b6)][_0x5e7ab5(0x172)](_0x3b3c27[_0x5e7ab5(0x1bc)]),this[_0x5e7ab5(0x1a5)][_0x5e7ab5(0x1a3)](_0x3b3c27[_0x5e7ab5(0x1bc)]);for(const _0x4d9be3 of Array[_0x5e7ab5(0x1b3)](_0x171762[_0x5e7ab5(0x1bd)])[_0x5e7ab5(0x1ac)]())this[_0x5e7ab5(0x1b6)][_0x5e7ab5(0x186)](_0x4d9be3[_0x5e7ab5(0x1bc)]),this[_0x5e7ab5(0x1a5)][_0x5e7ab5(0x177)](_0x4d9be3[_0x5e7ab5(0x1bc)]);});}}function as(_0xea966a,_0x314b48,_0x11ace8){const _0x436cfe=_0x1a13a7;let _0x4429b7=0x0;for(const _0x3d8dae of _0xea966a)switch(_0x3d8dae){case _0x436cfe(0x184):_0x314b48[_0x436cfe(0x186)](_0x11ace8[_0x436cfe(0x1a1)](_0x4429b7),_0x4429b7),_0x4429b7++;break;case _0x436cfe(0x1cb):_0x314b48[_0x436cfe(0x172)](_0x4429b7);break;case _0x436cfe(0x17e):_0x4429b7++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x17171d=_0x250d;(function(_0x59c0ce,_0x1805eb){const _0x5a14cc=_0x250d,_0x204757=_0x59c0ce();while(!![]){try{const _0x1d323c=parseInt(_0x5a14cc(0xaa))/0x1+-parseInt(_0x5a14cc(0xad))/0x2*(parseInt(_0x5a14cc(0xa6))/0x3)+-parseInt(_0x5a14cc(0xaf))/0x4+parseInt(_0x5a14cc(0xa5))/0x5+parseInt(_0x5a14cc(0xa3))/0x6+parseInt(_0x5a14cc(0xa4))/0x7+-parseInt(_0x5a14cc(0xa7))/0x8*(-parseInt(_0x5a14cc(0xa1))/0x9);if(_0x1d323c===_0x1805eb)break;else _0x204757['push'](_0x204757['shift']());}catch(_0x2a7d2a){_0x204757['push'](_0x204757['shift']());}}}(_0x1a20,0x5306b));import{View as _0x158215}from'ckeditor5/src/ui.js';import{getTranslation as _0x36c284}from'../../../utils/common-translations.js';function _0x250d(_0x18a680,_0x411bfc){const _0x1a2032=_0x1a20();return _0x250d=function(_0x250dfc,_0x4ffd0c){_0x250dfc=_0x250dfc-0x9f;let _0x53fe40=_0x1a2032[_0x250dfc];return _0x53fe40;},_0x250d(_0x18a680,_0x411bfc);}export default class ls extends _0x158215{constructor(_0x31b126){const _0x163449=_0x250d;super(_0x31b126);const _0x129df8=this[_0x163449(0xa8)];this[_0x163449(0xb0)](_0x163449(0x9f),''),this[_0x163449(0xae)]({'tag':_0x163449(0xa9),'attributes':{'class':['ck',_0x163449(0xa2)],'aria-label':_0x129df8['to'](_0x163449(0x9f),_0x46e3ee=>_0x36c284(_0x31b126,_0x163449(0xab),_0x46e3ee)),'tabindex':-0x1},'children':[{'text':_0x129df8['to'](_0x163449(0x9f))}]});}[_0x17171d(0xa0)](){const _0x4b5b62=_0x17171d;this[_0x4b5b62(0xac)][_0x4b5b62(0xa0)]();}}function _0x1a20(){const _0x23604e=['158238cZWyPz','setTemplate','2673328hEdpOz','set','contextValue','focus','227889dvhcJX','ck-context__value','2367930eYqnxk','597464BVsnnY','2468430XLYeQE','6VvNcwy','56heQKTv','bindTemplate','span','15705cEHInk','THREAD_CONTEXT_LABEL','element'];_0x1a20=function(){return _0x23604e;};return _0x1a20();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x202f95=_0x441c;(function(_0x4f0fbf,_0x5eda98){const _0x6fe16d=_0x441c,_0x4b278b=_0x4f0fbf();while(!![]){try{const _0x556f87=-parseInt(_0x6fe16d(0x8b))/0x1+-parseInt(_0x6fe16d(0xa8))/0x2*(parseInt(_0x6fe16d(0xa5))/0x3)+parseInt(_0x6fe16d(0xc9))/0x4*(-parseInt(_0x6fe16d(0xb8))/0x5)+parseInt(_0x6fe16d(0x8f))/0x6*(-parseInt(_0x6fe16d(0x9e))/0x7)+parseInt(_0x6fe16d(0xc7))/0x8+parseInt(_0x6fe16d(0x8e))/0x9+parseInt(_0x6fe16d(0xb6))/0xa*(parseInt(_0x6fe16d(0xc4))/0xb);if(_0x556f87===_0x5eda98)break;else _0x4b278b['push'](_0x4b278b['shift']());}catch(_0x406c36){_0x4b278b['push'](_0x4b278b['shift']());}}}(_0x46fd,0xecc5f));import{View as _0x31b7af,ButtonView as _0x36532a,FocusCycler as _0x8e177f}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4e7fba,KeystrokeHandler as _0x1eeb77}from'ckeditor5/src/utils.js';function _0x441c(_0xaf8a6e,_0x5eae40){const _0x46fd2a=_0x46fd();return _0x441c=function(_0x441cfc,_0x32dac5){_0x441cfc=_0x441cfc-0x83;let _0x1bbada=_0x46fd2a[_0x441cfc];return _0x1bbada;},_0x441c(_0xaf8a6e,_0x5eae40);}import{getTranslation as _0x1215f7}from'../../../utils/common-translations.js';import _0x317cfe from'../../../../theme/icons/undo.svg';function _0x46fd(){const _0x4114e0=['substring','reopenCommentThread','isReadOnly','tab','ck-context-wrapper','Reopen','scrollWidth','14809267UvnErV','lastIndexOf','focus','13802280WOIdAn','setTemplate','12bBlxlL','focusables','label','bind','div','listenTo','offsetWidth','classList','focusTracker','locale','_attachContextActions','1114121jNNtou','_createContextView','element','12391011jTdEDK','234ofIBUd','isResolved','reopenButtonView','mouseenter','mouseleave','overlay','length','context','remove','focusCycler','querySelector','isResolvable','_model','ck-context--quotes','contextView','205856cZxshL','hasContext','keystrokes','render','value','...','add','153HCJjWL','execute','icon','5124smlgfz','contextValue','tooltip','isEnabled','.ck-context','shift+tab','bindTemplate','_trimContextValue','isVisible','ck-context','.ck-context__value','ck-thread__header','Comment\x20was\x20made\x20on\x20an\x20element','_createReopenButton','10qNuRaQ','fire','1811405ceWNYO','focusFirst','_setupKeyboardNavigation','createCollection','ck-annotation__actions'];_0x46fd=function(){return _0x4114e0;};return _0x46fd();}import _0x4d1698 from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export default class Zt extends _0x31b7af{constructor(_0x24f84e,_0x469420){const _0x261813=_0x441c;super(_0x24f84e);const _0x51a761=this[_0x261813(0xae)];this[_0x261813(0x9b)]=_0x469420,this[_0x261813(0x91)]=this[_0x261813(0xb5)](),this[_0x261813(0x9d)]=this[_0x261813(0x8c)](),this[_0x261813(0xca)]=this[_0x261813(0xbb)]([this[_0x261813(0x9d)],this[_0x261813(0x91)]]),this[_0x261813(0x88)]=new _0x4e7fba(),this[_0x261813(0xa0)]=new _0x1eeb77(),this[_0x261813(0x98)]=new _0x8e177f({'focusables':this[_0x261813(0xca)],'focusTracker':this[_0x261813(0x88)],'keystrokeHandler':this[_0x261813(0xa0)],'actions':{'focusPrevious':_0x261813(0xad),'focusNext':_0x261813(0xc0)}}),this[_0x261813(0x83)](_0x261813(0x9f))['to'](this[_0x261813(0x9b)],_0x261813(0x96),_0x2a05dc=>!!_0x2a05dc),this[_0x261813(0x83)](_0x261813(0xa9))['to'](this[_0x261813(0x9b)],_0x261813(0x96),_0x49785e=>_0x49785e&&_0x49785e[_0x261813(0xa2)]?this[_0x261813(0xaf)](_0x49785e[_0x261813(0xa2)]):_0x1215f7(this[_0x261813(0x89)],_0x261813(0xb4))),this[_0x261813(0xc8)]({'tag':_0x261813(0x84),'attributes':{'class':[_0x261813(0xb3)]},'children':[{'tag':_0x261813(0x84),'attributes':{'class':[_0x261813(0xc1)]},'children':[{'tag':_0x261813(0x84),'attributes':{'class':[_0x261813(0xb1),_0x51a761['if'](_0x261813(0x9f),_0x261813(0x9c))]},'children':[this[_0x261813(0x9d)]]}]},{'tag':_0x261813(0x84),'attributes':{'class':[_0x261813(0xbc)]},'children':[this[_0x261813(0x91)]]}]});}[_0x202f95(0xa1)](){const _0x41b312=_0x202f95;super[_0x41b312(0xa1)](),this[_0x41b312(0x8a)](),this[_0x41b312(0xba)]();}[_0x202f95(0xc6)](){const _0x3ad103=_0x202f95;this[_0x3ad103(0x98)][_0x3ad103(0xb9)]();}[_0x202f95(0xb5)](){const _0x30547a=_0x202f95,_0x25f529=new _0x36532a(this[_0x30547a(0x89)]);return _0x25f529[_0x30547a(0xcb)]=_0x1215f7(this[_0x30547a(0x89)],_0x30547a(0xc2)),_0x25f529[_0x30547a(0xaa)]=_0x1215f7(this[_0x30547a(0x89)],_0x30547a(0xc2)),_0x25f529[_0x30547a(0xa7)]=_0x317cfe,_0x25f529[_0x30547a(0x83)](_0x30547a(0xab))['to'](this[_0x30547a(0x9b)],_0x30547a(0xbf),_0xe02068=>!_0xe02068),_0x25f529[_0x30547a(0x83)](_0x30547a(0xb0))['to'](this[_0x30547a(0x9b)],_0x30547a(0x9a),this[_0x30547a(0x9b)],_0x30547a(0x90),(_0x25c166,_0x5b6f6c)=>_0x25c166&&_0x5b6f6c),_0x25f529['on'](_0x30547a(0xa6),()=>{const _0x85e66e=_0x30547a;this[_0x85e66e(0xb7)](_0x85e66e(0xbe),this[_0x85e66e(0x9b)]['id']);}),_0x25f529;}[_0x202f95(0xaf)](_0x35d9c5){const _0x154489=_0x202f95;if(_0x35d9c5[_0x154489(0x95)]<0x96)return _0x35d9c5;const _0x238dc4=_0x35d9c5[_0x154489(0xc5)]('\x20',0x93);return _0x35d9c5[_0x154489(0xbd)](0x0,_0x238dc4>-0x1?_0x238dc4:0x93)+_0x154489(0xa3);}[_0x202f95(0x8a)](){const _0x3f7a92=_0x202f95,_0x4733c0=this[_0x3f7a92(0x8d)][_0x3f7a92(0x99)](_0x3f7a92(0xac)),_0x1a0fa5=_0x4733c0[_0x3f7a92(0x99)](_0x3f7a92(0xb2));this[_0x3f7a92(0x85)](_0x4733c0,_0x3f7a92(0x92),()=>{const _0x1f5261=_0x3f7a92;_0x1a0fa5[_0x1f5261(0x86)]<_0x1a0fa5[_0x1f5261(0xc3)]&&_0x4733c0[_0x1f5261(0x87)][_0x1f5261(0xa4)](_0x1f5261(0x94));}),this[_0x3f7a92(0x85)](_0x4733c0,_0x3f7a92(0x93),()=>{const _0x52c345=_0x3f7a92;_0x4733c0[_0x52c345(0x87)][_0x52c345(0x97)](_0x52c345(0x94));});}[_0x202f95(0xba)](){const _0x1b4721=_0x202f95;this[_0x1b4721(0xa0)][_0x1b4721(0x85)](this[_0x1b4721(0x8d)]);for(const _0x454d94 of this[_0x1b4721(0xca)])this[_0x1b4721(0x88)][_0x1b4721(0xa4)](_0x454d94[_0x1b4721(0x8d)]),this[_0x1b4721(0xa0)][_0x1b4721(0x85)](_0x454d94[_0x1b4721(0x8d)]);}[_0x202f95(0x8c)](){const _0x25dedb=_0x202f95,_0x4c85ac=new _0x4d1698(this[_0x25dedb(0x89)]);return _0x4c85ac[_0x25dedb(0x83)](_0x25dedb(0xa9))['to'](this),_0x4c85ac;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e62b4=_0x1b00;(function(_0x513547,_0x49d93a){const _0xda6854=_0x1b00,_0x235f22=_0x513547();while(!![]){try{const _0x194b3a=parseInt(_0xda6854(0x1aa))/0x1+-parseInt(_0xda6854(0x18c))/0x2+-parseInt(_0xda6854(0x187))/0x3*(-parseInt(_0xda6854(0x189))/0x4)+parseInt(_0xda6854(0x195))/0x5*(-parseInt(_0xda6854(0x1b4))/0x6)+-parseInt(_0xda6854(0x1b3))/0x7+-parseInt(_0xda6854(0x1a6))/0x8*(parseInt(_0xda6854(0x1b0))/0x9)+parseInt(_0xda6854(0x1b2))/0xa;if(_0x194b3a===_0x49d93a)break;else _0x235f22['push'](_0x235f22['shift']());}catch(_0x1f3bb3){_0x235f22['push'](_0x235f22['shift']());}}}(_0x38c7,0xa8065));import{View as _0x5ba617}from'ckeditor5/src/ui.js';function _0x1b00(_0x3cb06f,_0x3edcb5){const _0x1b00b1=_0x38c7();return _0x1b00=function(_0x45989c,_0x183ac3){_0x45989c=_0x45989c-0x186;let _0x1c2eb3=_0x1b00b1[_0x45989c];return _0x1c2eb3;},_0x1b00(_0x3cb06f,_0x3edcb5);}function _0x38c7(){const _0x43b5a5=['showButtons','showInput','commentInputView','createEditor','destroy','bind','1870otvnqB','contains','ck-thread__user','value','focusTracker','mousedown','extendTemplate','target','editorReady','render','editor','ck-comment__input-container--active','bindTemplate','isFocused','userView','editing','setTemplate','26192abGBMY','preventDefault','some','element','604218XaCBFR','ck-thread__input','focus','delegate','focusCycler','_focusOnNonInteractiveMouseDown','2826ELTFjQ','set','27575670sLUcbR','8436281pUviOY','1236vlkeWr','div','editorDestroyed','view','filter','94347xUtwNX','change:showInput','44wPmsRb','listenTo','then','1418464tyTYDj','getDomRoot','ck-comment__input-container'];_0x38c7=function(){return _0x43b5a5;};return _0x38c7();}import _0x3afaa1 from'./commentinputview.js';import{UserView as _0x313be0}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ie extends _0x5ba617{constructor(_0x5c9529,_0x5e5527,_0x2cbcc3){const _0x457023=_0x1b00;super(_0x5c9529),this[_0x457023(0x191)]=new _0x3afaa1(_0x5c9529,_0x2cbcc3),this[_0x457023(0x1ae)]=this[_0x457023(0x191)][_0x457023(0x1ae)],this[_0x457023(0x191)][_0x457023(0x194)](_0x457023(0x18f))['to'](this[_0x457023(0x191)][_0x457023(0x199)],_0x457023(0x1a2),this[_0x457023(0x191)],_0x457023(0x198),(_0x34d28b,_0x43c540)=>_0x34d28b||!!_0x43c540),this[_0x457023(0x1b1)](_0x457023(0x190),!0x1),this['on'](_0x457023(0x188),()=>{const _0x5277fd=_0x457023;this[_0x5277fd(0x190)]&&!this[_0x5277fd(0x191)][_0x5277fd(0x19f)]&&this[_0x5277fd(0x191)][_0x5277fd(0x192)]();}),this[_0x457023(0x191)][_0x457023(0x1ad)](_0x457023(0x19d))['to'](this),this[_0x457023(0x191)][_0x457023(0x1ad)](_0x457023(0x1b6))['to'](this),this[_0x457023(0x1a3)]=new _0x313be0(_0x5c9529,_0x5e5527),this[_0x457023(0x1a3)][_0x457023(0x19b)]({'attributes':{'class':_0x457023(0x197),'aria-hidden':!0x0}}),this[_0x457023(0x191)][_0x457023(0x19b)]({'attributes':{'class':_0x457023(0x1ab)}}),this[_0x457023(0x1a5)]({'tag':_0x457023(0x1b5),'attributes':{'class':[_0x457023(0x18e),this[_0x457023(0x1a1)]['if'](_0x457023(0x190),_0x457023(0x1a0))]},'children':[this[_0x457023(0x1a3)],this[_0x457023(0x191)]]});}[_0x5e62b4(0x19e)](){const _0x1d71cb=_0x5e62b4;super[_0x1d71cb(0x19e)](),this[_0x1d71cb(0x1af)]();}[_0x5e62b4(0x193)](){const _0x5241de=_0x5e62b4;return this[_0x5241de(0x191)][_0x5241de(0x193)]()[_0x5241de(0x18b)](()=>super[_0x5241de(0x193)]());}[_0x5e62b4(0x1ac)](_0x713979){const _0x176279=_0x5e62b4;this[_0x176279(0x191)][_0x176279(0x1ac)](_0x713979);}[_0x5e62b4(0x1af)](){const _0x154e6e=_0x5e62b4;this[_0x154e6e(0x18a)](this[_0x154e6e(0x1a9)],_0x154e6e(0x19a),(_0x4665d8,_0x37990d)=>{const _0x11fe9f=_0x154e6e,{submitButtonView:_0x3e5402,cancelButtonView:_0x54d3b1,editor:_0x1881a0}=this[_0x11fe9f(0x191)];[_0x3e5402[_0x11fe9f(0x1a9)],_0x54d3b1[_0x11fe9f(0x1a9)],_0x1881a0?_0x1881a0[_0x11fe9f(0x1a4)][_0x11fe9f(0x1b7)][_0x11fe9f(0x18d)]():null][_0x11fe9f(0x186)](_0x5029f6=>_0x5029f6)[_0x11fe9f(0x1a8)](_0x472297=>_0x472297[_0x11fe9f(0x196)](_0x37990d[_0x11fe9f(0x19c)]))||(this[_0x11fe9f(0x1ac)](),_0x37990d[_0x11fe9f(0x1a7)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x40c4(){const _0xe94082=['918495jIWiHO','remove','commentThreadChildren','isConfirm','listitem','isEnabled','commentViews','ck-thread--','1150938dbcKqx','add','render','isResolvable','72610BwYKxp','_updateArchivedThreadHeader','12dHuSZW','createCollection','check','bind','_cancelAllConfirms','actionBar','getTemplate','querySelector','ck-thread__container','element','set','ck-thread--remove-confirmation','commentThreadInputView','resolveCommentThread','cancelConfirm','setTemplate','67859FMKsQN','placeholder','focusables','high','.ck-thread__container','focus','_boundFirstCommentView','70LDSUJq','isUnlinked','isSystemComment','label','ck-thread--unlinked','containerElement','isResolved','has','stop','div','_createResolveButton','commentThreadHeaderView','archivedAt','change:archivedAt','Resolve','listenTo','extendTemplate','actionIndicator','then','bindTemplate','removeConfirm','removeCommentThread','isActive','_bindFirstCommentView','length','tooltip','unbind','ck-reset_all-excluded','execute','isReadOnly','3Gkwdkn','showConfirm','icon','ck-comment--resolve','commentsListView','63790HNUbSb','Delete\x20comment\x20thread?','ck-thread','locale','198994ZvaKah','removeButton','change:isActive','ck-rounded-corners','ck-thread--active','resolveButton','ariaDescriptionView','fire','24zvkamb','_model','change:isReadOnly','ariaLabel','isVisible','get','Write\x20a\x20comment...','707966dRpDzg'];_0x40c4=function(){return _0xe94082;};return _0x40c4();}const _0x508a4f=_0x3dd6;(function(_0x462558,_0x339ebc){const _0x2f878e=_0x3dd6,_0x4e4bfb=_0x462558();while(!![]){try{const _0x48c762=parseInt(_0x2f878e(0x1c0))/0x1+-parseInt(_0x2f878e(0x1c4))/0x2*(-parseInt(_0x2f878e(0x1bb))/0x3)+parseInt(_0x2f878e(0x186))/0x4*(parseInt(_0x2f878e(0x184))/0x5)+parseInt(_0x2f878e(0x180))/0x6+-parseInt(_0x2f878e(0x177))/0x7*(parseInt(_0x2f878e(0x1cc))/0x8)+parseInt(_0x2f878e(0x178))/0x9+-parseInt(_0x2f878e(0x19d))/0xa*(-parseInt(_0x2f878e(0x196))/0xb);if(_0x48c762===_0x339ebc)break;else _0x4e4bfb['push'](_0x4e4bfb['shift']());}catch(_0x4aa319){_0x4e4bfb['push'](_0x4e4bfb['shift']());}}}(_0x40c4,0x3ab74));function _0x3dd6(_0x1e7a20,_0x231e69){const _0x40c434=_0x40c4();return _0x3dd6=function(_0x3dd61b,_0x17e9cd){_0x3dd61b=_0x3dd61b-0x175;let _0x4ba865=_0x40c434[_0x3dd61b];return _0x4ba865;},_0x3dd6(_0x1e7a20,_0x231e69);}import{ConfirmMixin as _0x232a0e,LateFocusButtonView as _0x119530}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x548172}from'ckeditor5/src/core.js';import _0x496b1b from'./basecommentthreadview.js';import{getTranslation as _0x3c64b5}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x232a0e(_0x496b1b){constructor(_0x18c067,_0xdf6167,_0x33b320,_0x188ad7){const _0x4b7e86=_0x3dd6;super(_0x18c067,_0xdf6167,_0x33b320,_0x188ad7),this[_0x4b7e86(0x17a)]=this[_0x4b7e86(0x187)]([this[_0x4b7e86(0x1bf)],this[_0x4b7e86(0x192)],this[_0x4b7e86(0x1ca)]]),this[_0x4b7e86(0x190)](_0x4b7e86(0x1ae),null),this[_0x4b7e86(0x1a2)]=null,this[_0x4b7e86(0x19c)]=null,this[_0x4b7e86(0x1c3)]=_0x18c067,this[_0x4b7e86(0x1c9)]=this[_0x4b7e86(0x1a7)](),this[_0x4b7e86(0x195)](this[_0x4b7e86(0x18c)]()),this['on'](_0x4b7e86(0x1c6),(_0x4d20e8,_0x59daae,_0xb57a45)=>{const _0x2309fd=_0x4b7e86;_0xb57a45||this[_0x2309fd(0x18a)]();}),this[_0x4b7e86(0x1ac)](this[_0x4b7e86(0x1cd)],_0x4b7e86(0x1ce),(_0x24bcd5,_0x156d7e,_0x2ff405)=>{const _0x158b1=_0x4b7e86;_0x2ff405&&this[_0x158b1(0x18a)]();}),this[_0x4b7e86(0x1b5)]>0x0&&this[_0x4b7e86(0x1b4)](),this[_0x4b7e86(0x1ac)](this[_0x4b7e86(0x1bf)][_0x4b7e86(0x17e)],_0x4b7e86(0x181),()=>{const _0x3c9a71=_0x4b7e86;this[_0x3c9a71(0x1b4)]();});}[_0x508a4f(0x18c)](){const _0x7224ae=_0x508a4f,_0x14faed=this[_0x7224ae(0x1b0)];return{'tag':_0x7224ae(0x1a6),'attributes':{'class':['ck',_0x7224ae(0x1c2),_0x7224ae(0x1b8),_0x7224ae(0x1c7),_0x14faed['if'](_0x7224ae(0x1b3),_0x7224ae(0x1c8)),_0x14faed['if'](_0x7224ae(0x19e),_0x7224ae(0x1a1)),_0x14faed['if'](_0x7224ae(0x17b),_0x7224ae(0x191)),_0x14faed['to'](_0x7224ae(0x1ae),_0xad25c7=>_0xad25c7?_0x7224ae(0x17f)+_0xad25c7:'')],'data-thread-id':this[_0x7224ae(0x1cd)]['id'],'tabindex':0x0,'role':_0x7224ae(0x17c),'aria-label':_0x14faed['to'](_0x7224ae(0x1cf)),'aria-describedby':this[_0x7224ae(0x1ca)]['id']},'children':[{'tag':_0x7224ae(0x1a6),'attributes':{'class':_0x7224ae(0x18e)},'children':this[_0x7224ae(0x17a)]}]};}[_0x508a4f(0x182)](){const _0x7ecac5=_0x508a4f;super[_0x7ecac5(0x182)](),this[_0x7ecac5(0x1a2)]=this[_0x7ecac5(0x18f)][_0x7ecac5(0x18d)](_0x7ecac5(0x19a)),this[_0x7ecac5(0x1cd)]['on'](_0x7ecac5(0x1aa),()=>{const _0x28a2bc=_0x7ecac5;this[_0x28a2bc(0x185)]();}),this[_0x7ecac5(0x185)]();}[_0x508a4f(0x18a)](){const _0x382de6=_0x508a4f;this[_0x382de6(0x194)]();for(const _0xcadcdb of this[_0x382de6(0x1bf)][_0x382de6(0x17e)])_0xcadcdb[_0x382de6(0x194)]();}[_0x508a4f(0x1b4)](){const _0x394379=_0x508a4f,{locale:_0x5939b5}=this,_0x247e2d=this[_0x394379(0x1bf)][_0x394379(0x17e)][_0x394379(0x175)](0x0);_0x247e2d===this[_0x394379(0x19c)]||_0x247e2d[_0x394379(0x19f)]||(this[_0x394379(0x19c)]=_0x247e2d,this[_0x394379(0x1b7)](_0x394379(0x1ae)),this[_0x394379(0x189)](_0x394379(0x1ae))['to'](_0x247e2d,_0x394379(0x1ae),_0x4ffe2e=>_0x394379(0x179)===_0x4ffe2e?_0x394379(0x179):null),_0x247e2d[_0x394379(0x197)]=_0x3c64b5(_0x5939b5,_0x394379(0x176)),_0x247e2d[_0x394379(0x1c5)]['on'](_0x394379(0x1b9),_0xfe6149=>{const _0x44f1aa=_0x394379;_0xfe6149[_0x44f1aa(0x1a5)](),this[_0x44f1aa(0x1bc)](_0x3c64b5(_0x5939b5,_0x44f1aa(0x1c1)),this[_0x44f1aa(0x1a2)])[_0x44f1aa(0x1af)](()=>{const _0x581cb4=_0x44f1aa;this[_0x581cb4(0x1cb)](_0x581cb4(0x1b2));});},{'priority':_0x394379(0x199)}),this['on'](_0x394379(0x1b1),()=>{const _0x33def4=_0x394379;_0x247e2d[_0x33def4(0x19b)]();}),_0x247e2d[_0x394379(0x18b)][_0x394379(0x181)](this[_0x394379(0x1c9)],0x0),_0x247e2d[_0x394379(0x198)][_0x394379(0x181)](this[_0x394379(0x1c9)],0x0));}[_0x508a4f(0x1a7)](){const _0x38f173=_0x508a4f,_0x4f2310=new _0x119530(this[_0x38f173(0x1c3)]);return _0x4f2310[_0x38f173(0x1a0)]=_0x3c64b5(this[_0x38f173(0x1c3)],_0x38f173(0x1ab)),_0x4f2310[_0x38f173(0x1b6)]=_0x3c64b5(this[_0x38f173(0x1c3)],_0x38f173(0x1ab)),_0x4f2310[_0x38f173(0x1bd)]=_0x548172[_0x38f173(0x188)],_0x4f2310[_0x38f173(0x1ad)]({'attributes':{'class':_0x38f173(0x1be)}}),_0x4f2310[_0x38f173(0x189)](_0x38f173(0x17d))['to'](this[_0x38f173(0x1cd)],_0x38f173(0x1ba),_0x27d7d5=>!_0x27d7d5),_0x4f2310[_0x38f173(0x189)](_0x38f173(0x1d0))['to'](this[_0x38f173(0x1cd)],_0x38f173(0x183),this[_0x38f173(0x1cd)],_0x38f173(0x1a3),(_0x231277,_0x44d6cd)=>_0x231277&&!_0x44d6cd),_0x4f2310['on'](_0x38f173(0x1b9),()=>{const _0x39e7c1=_0x38f173;this[_0x39e7c1(0x1cb)](_0x39e7c1(0x193),this[_0x39e7c1(0x1cd)]['id']);}),_0x4f2310;}[_0x508a4f(0x185)](){const _0x1f0e70=_0x508a4f;this[_0x1f0e70(0x1cd)][_0x1f0e70(0x1a9)]?this[_0x1f0e70(0x17a)][_0x1f0e70(0x1a4)](this[_0x1f0e70(0x1a8)])||(this[_0x1f0e70(0x17a)][_0x1f0e70(0x181)](this[_0x1f0e70(0x1a8)],0x0),this[_0x1f0e70(0x198)][_0x1f0e70(0x181)](this[_0x1f0e70(0x1a8)],0x0)):this[_0x1f0e70(0x17a)][_0x1f0e70(0x1a4)](this[_0x1f0e70(0x1a8)])&&(this[_0x1f0e70(0x17a)][_0x1f0e70(0x179)](this[_0x1f0e70(0x1a8)]),this[_0x1f0e70(0x198)][_0x1f0e70(0x179)](this[_0x1f0e70(0x1a8)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x3e37(_0x4e4f89,_0x236feb){const _0x57d531=_0x57d5();return _0x3e37=function(_0x3e37ee,_0x3915bc){_0x3e37ee=_0x3e37ee-0x16b;let _0x41c38e=_0x57d531[_0x3e37ee];return _0x41c38e;},_0x3e37(_0x4e4f89,_0x236feb);}const _0x2dea7a=_0x3e37;function _0x57d5(){const _0x4b6386=['isEditMode','switchToEditMode','_createRemoveButton','remove','1669020ykdZSf','locale','ck-comment__user','ck-comment__actions','isReadOnly','visibleView','Delete\x20comment?','blur','execute','toMany','ck-annotation__main','cancelConfirm','Edit','placeholder','then','actionBar','panelPosition','time','showConfirm','bindTemplate','getExternalCommentNote','isRemovable','_attachActions','icon','from','ck-comment--remove','length','items','getUserViewNotificationText','isEditable','pencil','ck-comment__main','getTemplate','isExternal','isConfirm','bind','mouseenter','ck-annotation__info','_createEditButton','focus','112861TtufWP','formatDateTime','setTemplate','ariaDescriptionView','author','ck-comment__external','189ZELmAS','removeButton','addMany','_model','2678940XtpfgH','createCollection','ck-annotation__actions','6219qwjXQn','span','1293903tTUpaU','ck-comment__actions--hidden','mouseleave','element','panelView','Remove','isVisible','find','ck-comment__info-time','ck-comment--info','ck-comment--edit','actionIndicator','ck-annotation','4FImKdt','change:isRemovable','listitem','label','add','ck-annotation__user','authoredAt','listenTo','buttonView','15224ikcSrs','removeComment','name','ariaLabel','unbind','group','247234zmNOCz','isSystemComment','ck-annotation__actions--hidden','2150XqefVQ','Show\x20more\x20items','extendTemplate','ck-annotation__info-name','ck-annotation__info-time','set','fire','_config','children','Reply...','push','ck-hidden','div','ck-comment__wrapper','ck-comment__info','userView','ck-comment--','ck-annotation__content-wrapper','ck-comment','focusables','render','ck-comment--remove-confirmation','withText','editButton','dropdown','edit','ck-comment__info-name','threeVerticalDots','some','_createDropdown','_createCommentInputView','resolvedAt','isEnabled'];_0x57d5=function(){return _0x4b6386;};return _0x57d5();}(function(_0x1d1c57,_0x3d4ea7){const _0x5f33aa=_0x3e37,_0xfbf919=_0x1d1c57();while(!![]){try{const _0xe67b1b=-parseInt(_0x5f33aa(0x1a9))/0x1+-parseInt(_0x5f33aa(0x1d4))/0x2+parseInt(_0x5f33aa(0x1b8))/0x3*(parseInt(_0x5f33aa(0x1c5))/0x4)+-parseInt(_0x5f33aa(0x181))/0x5+parseInt(_0x5f33aa(0x1b3))/0x6+parseInt(_0x5f33aa(0x1af))/0x7*(-parseInt(_0x5f33aa(0x1ce))/0x8)+-parseInt(_0x5f33aa(0x1b6))/0x9*(-parseInt(_0x5f33aa(0x1d7))/0xa);if(_0xe67b1b===_0x3d4ea7)break;else _0xfbf919['push'](_0xfbf919['shift']());}catch(_0x167465){_0xfbf919['push'](_0xfbf919['shift']());}}}(_0x57d5,0x62cd5));import{ButtonView as _0x354df6,createDropdown as _0x132fcc,ListView as _0x163509,ListItemView as _0x50c741,focusChildOnDropdownOpen as _0x3a2c83}from'ckeditor5/src/ui.js';import{icons as _0x5770e3}from'ckeditor5/src/core.js';import{UserView as _0x2aca0b,ConfirmMixin as _0x130918,LateFocusDropdownButtonView as _0x3dae01}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x58000d from'./basecommentview.js';import _0x20554c from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x5eebb9}from'../../../utils/common-translations.js';export default class gt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x130918(_0x58000d){constructor(_0x2cd553,_0x465f25,_0x4c72ee){const _0x22fe4e=_0x3e37;super(_0x2cd553,_0x465f25,_0x4c72ee),this[_0x22fe4e(0x1dc)](_0x22fe4e(0x1c3),null),this[_0x22fe4e(0x1dc)](_0x22fe4e(0x18e),_0x5eebb9(_0x2cd553,_0x22fe4e(0x1e0))),this[_0x22fe4e(0x1a4)](_0x22fe4e(0x1cb))['to'](_0x465f25),this[_0x22fe4e(0x1a4)](_0x22fe4e(0x17b))['to'](_0x465f25),this[_0x22fe4e(0x190)]=this[_0x22fe4e(0x1b4)](),this[_0x22fe4e(0x1d5)]||(this[_0x22fe4e(0x173)]=this[_0x22fe4e(0x1a7)](),this[_0x22fe4e(0x1b0)]=this[_0x22fe4e(0x17f)](),this[_0x22fe4e(0x19c)]=this[_0x22fe4e(0x1b4)](),this[_0x22fe4e(0x19c)][_0x22fe4e(0x1b1)]([this[_0x22fe4e(0x173)],this[_0x22fe4e(0x1b0)]]),this[_0x22fe4e(0x174)]=this[_0x22fe4e(0x179)](),this[_0x22fe4e(0x190)][_0x22fe4e(0x1c9)](this[_0x22fe4e(0x174)]),this[_0x22fe4e(0x16f)][_0x22fe4e(0x1c9)](this[_0x22fe4e(0x174)])),this[_0x22fe4e(0x16b)]=new _0x2aca0b(_0x2cd553,_0x465f25[_0x22fe4e(0x1ad)],this[_0x22fe4e(0x19d)]()),this[_0x22fe4e(0x16b)][_0x22fe4e(0x1d9)]({'attributes':{'class':[_0x22fe4e(0x183),_0x22fe4e(0x1ca)],'aria-hidden':!0x0}}),this[_0x22fe4e(0x1cc)](_0x465f25,_0x22fe4e(0x1c6),()=>this[_0x22fe4e(0x18c)]()),this[_0x22fe4e(0x1ab)](this[_0x22fe4e(0x1a1)]());}[_0x2dea7a(0x1a1)](){const _0xd7c5c6=_0x2dea7a,_0x3adb86=this[_0xd7c5c6(0x194)],_0x906177=[{'tag':_0xd7c5c6(0x1e3),'attributes':{'class':[_0xd7c5c6(0x1e5),_0xd7c5c6(0x1a6)]},'children':[{'tag':_0xd7c5c6(0x1b7),'children':[{'text':this[_0xd7c5c6(0x16b)][_0xd7c5c6(0x1d0)]}],'attributes':{'class':[_0xd7c5c6(0x176),_0xd7c5c6(0x1da)]}},{'tag':_0xd7c5c6(0x192),'attributes':{'datetime':_0x3adb86['to'](_0xd7c5c6(0x1cb)),'class':[_0xd7c5c6(0x1c0),_0xd7c5c6(0x1db)]},'children':[{'text':_0x3adb86['to'](_0xd7c5c6(0x1cb),_0xdaf01a=>this[_0xd7c5c6(0x1de)][_0xd7c5c6(0x1aa)](_0xdaf01a))}]}]},{'tag':_0xd7c5c6(0x1e3),'attributes':{'class':[_0xd7c5c6(0x184),_0xd7c5c6(0x1b5),_0x3adb86['if'](_0xd7c5c6(0x17d),_0xd7c5c6(0x1b9)),_0x3adb86['if'](_0xd7c5c6(0x17d),_0xd7c5c6(0x1d6))]},'children':this[_0xd7c5c6(0x190)]},{'tag':_0xd7c5c6(0x1e3),'attributes':{'class':[_0xd7c5c6(0x16d)]},'children':this[_0xd7c5c6(0x186)]},this[_0xd7c5c6(0x1ac)]];return this[_0xd7c5c6(0x1b2)][_0xd7c5c6(0x1a2)]&&_0x906177[_0xd7c5c6(0x1e1)]({'tag':_0xd7c5c6(0x1e3),'attributes':{'class':[_0xd7c5c6(0x1ae)]},'children':[{'text':this[_0xd7c5c6(0x195)]()}]}),{'tag':'li','attributes':{'class':[_0xd7c5c6(0x1e4),_0x3adb86['if'](_0xd7c5c6(0x1a3),_0xd7c5c6(0x171))],'tabindex':-0x1,'aria-label':_0x3adb86['to'](_0xd7c5c6(0x1d1)),'aria-describedby':this[_0xd7c5c6(0x1ac)]['id'],'role':_0xd7c5c6(0x1c7)},'children':[{'tag':_0xd7c5c6(0x1e3),'attributes':{'class':[_0xd7c5c6(0x16e),_0xd7c5c6(0x1c4),_0x3adb86['if'](_0xd7c5c6(0x17d),_0xd7c5c6(0x1c2)),_0x3adb86['if'](_0xd7c5c6(0x1d5),_0xd7c5c6(0x1c1)),_0x3adb86['to'](_0xd7c5c6(0x1c3),_0x1af792=>_0x1af792?_0xd7c5c6(0x16c)+_0x1af792:'')],'data-author-id':this[_0xd7c5c6(0x1b2)][_0xd7c5c6(0x1ad)]['id'],'data-comment-id':this[_0xd7c5c6(0x1b2)]['id'],'role':_0xd7c5c6(0x1d3)},'children':[this[_0xd7c5c6(0x16b)],{'tag':_0xd7c5c6(0x1e3),'attributes':{'class':[_0xd7c5c6(0x1a0),_0xd7c5c6(0x18b)]},'children':_0x906177}]}]};}[_0x2dea7a(0x1a7)](){const _0x2c2d0c=_0x2dea7a,_0x4de8fa=new _0x354df6(this[_0x2c2d0c(0x182)]);return _0x4de8fa[_0x2c2d0c(0x1c8)]=_0x5eebb9(this[_0x2c2d0c(0x182)],_0x2c2d0c(0x18d)),_0x4de8fa[_0x2c2d0c(0x198)]=_0x5770e3[_0x2c2d0c(0x19f)],_0x4de8fa[_0x2c2d0c(0x172)]=!0x0,_0x4de8fa[_0x2c2d0c(0x1d9)]({'attributes':{'class':_0x2c2d0c(0x1c2)}}),_0x4de8fa[_0x2c2d0c(0x1a4)](_0x2c2d0c(0x17c))['to'](this[_0x2c2d0c(0x1b2)],_0x2c2d0c(0x185),_0x180ae5=>!_0x180ae5),_0x4de8fa[_0x2c2d0c(0x1a4)](_0x2c2d0c(0x1be))['to'](this[_0x2c2d0c(0x1b2)],_0x2c2d0c(0x19e)),_0x4de8fa['on'](_0x2c2d0c(0x189),()=>this[_0x2c2d0c(0x17e)]()),_0x4de8fa;}[_0x2dea7a(0x17f)](){const _0x216ac1=_0x2dea7a,_0x20e267=new _0x354df6(this[_0x216ac1(0x182)]);return _0x20e267[_0x216ac1(0x1c8)]=_0x5eebb9(this[_0x216ac1(0x182)],_0x216ac1(0x1bd)),_0x20e267[_0x216ac1(0x198)]=_0x20554c,_0x20e267[_0x216ac1(0x172)]=!0x0,_0x20e267[_0x216ac1(0x1d9)]({'attributes':{'class':_0x216ac1(0x19a)}}),_0x20e267[_0x216ac1(0x1a4)](_0x216ac1(0x17c))['to'](this[_0x216ac1(0x1b2)],_0x216ac1(0x185),_0x5a2496=>!_0x5a2496),_0x20e267[_0x216ac1(0x1a4)](_0x216ac1(0x1be))['to'](this[_0x216ac1(0x1b2)],_0x216ac1(0x196)),_0x20e267['on'](_0x216ac1(0x189),()=>{const _0x48fd0b=_0x216ac1;this[_0x48fd0b(0x193)](_0x5eebb9(this[_0x48fd0b(0x182)],_0x48fd0b(0x187)),this[_0x48fd0b(0x1bb)])[_0x48fd0b(0x18f)](()=>{const _0x5bac33=_0x48fd0b;this[_0x5bac33(0x1dd)](_0x5bac33(0x1cf),this[_0x5bac33(0x1b2)]['id']);});}),_0x20e267;}[_0x2dea7a(0x179)](){const _0x112ebb=_0x2dea7a,_0x3ce16f=_0x132fcc(this[_0x112ebb(0x182)],_0x3dae01),_0x466a91=_0x3ce16f[_0x112ebb(0x1bc)][_0x112ebb(0x1df)],_0xc3d3c9=new _0x163509(this[_0x112ebb(0x182)]),_0x115ab3=_0x3ce16f[_0x112ebb(0x194)];_0x3a2c83(_0x3ce16f,()=>this[_0x112ebb(0x19c)][_0x112ebb(0x1bf)](_0x3ffa0a=>_0x3ffa0a[_0x112ebb(0x1be)])),_0x3ce16f[_0x112ebb(0x1d9)]({'attributes':{'class':[_0x115ab3['if'](_0x112ebb(0x1be),_0x112ebb(0x1e2),_0x38f3b3=>!_0x38f3b3)]}});const _0x67b6de=(_0x548400,_0x6af998=-0x1)=>{const _0x3ac40a=_0x112ebb,_0x421d1b=new _0x50c741(this[_0x3ac40a(0x182)]);_0x421d1b[_0x3ac40a(0x1df)][_0x3ac40a(0x1c9)](_0x548400);const _0x5e8f04=_0x6af998>-0x1?_0x6af998:_0xc3d3c9[_0x3ac40a(0x19c)][_0x3ac40a(0x19b)];_0xc3d3c9[_0x3ac40a(0x19c)][_0x3ac40a(0x1c9)](_0x421d1b,_0x5e8f04);const _0x1511a9=Array[_0x3ac40a(0x199)](this[_0x3ac40a(0x19c)]);_0x3ce16f[_0x3ac40a(0x1d2)](_0x3ac40a(0x17c),_0x3ac40a(0x1be)),_0x3ce16f[_0x3ac40a(0x1a4)](_0x3ac40a(0x17c))[_0x3ac40a(0x18a)](_0x1511a9,_0x3ac40a(0x17c),(..._0x27c5b8)=>_0x27c5b8[_0x3ac40a(0x178)](_0x2e777b=>_0x2e777b)),_0x3ce16f[_0x3ac40a(0x1a4)](_0x3ac40a(0x1be))[_0x3ac40a(0x18a)](_0x1511a9,_0x3ac40a(0x1be),(..._0x1ff6e3)=>_0x1ff6e3[_0x3ac40a(0x178)](_0x54dd07=>_0x54dd07));};_0x3ce16f[_0x112ebb(0x191)]='sw',_0x3ce16f[_0x112ebb(0x1cd)][_0x112ebb(0x1dc)]({'label':_0x5eebb9(this[_0x112ebb(0x182)],_0x112ebb(0x1d8)),'icon':_0x5770e3[_0x112ebb(0x177)]});for(const _0x1f5355 of this[_0x112ebb(0x19c)])_0x67b6de(_0x1f5355);return _0x466a91[_0x112ebb(0x1c9)](_0xc3d3c9),_0x3ce16f[_0x112ebb(0x1cc)](this[_0x112ebb(0x19c)],_0x112ebb(0x1c9),(_0x206304,_0x15c7cb,_0x51f32a)=>{_0x67b6de(_0x15c7cb,_0x51f32a);}),_0x3ce16f[_0x112ebb(0x1cc)](this[_0x112ebb(0x19c)],_0x112ebb(0x180),(_0x9f9e4f,_0x54b382,_0x56423b)=>{const _0x307a2=_0x112ebb;_0xc3d3c9[_0x307a2(0x19c)][_0x307a2(0x180)](_0x56423b);}),_0x3ce16f;}[_0x2dea7a(0x197)](_0x30f986,_0x3432c5){const _0x2f65a8=_0x2dea7a,_0x585f20=_0x30f986&&_0x30f986[_0x2f65a8(0x1bb)];_0x585f20&&(this[_0x2f65a8(0x1cc)](_0x585f20,_0x2f65a8(0x1a5),()=>this[_0x2f65a8(0x1c3)]=_0x3432c5),this[_0x2f65a8(0x1cc)](_0x585f20,_0x2f65a8(0x1a8),()=>this[_0x2f65a8(0x1c3)]=_0x3432c5),this[_0x2f65a8(0x1cc)](_0x585f20,_0x2f65a8(0x1ba),()=>this[_0x2f65a8(0x1c3)]=null),this[_0x2f65a8(0x1cc)](_0x585f20,_0x2f65a8(0x188),()=>this[_0x2f65a8(0x1c3)]=null));}[_0x2dea7a(0x17a)](){const _0x50d529=_0x2dea7a,_0x586584=super[_0x50d529(0x17a)]();return _0x586584[_0x50d529(0x1a4)](_0x50d529(0x18e))['to'](this),_0x586584;}[_0x2dea7a(0x170)](){const _0x4da24a=_0x2dea7a;super[_0x4da24a(0x170)](),this[_0x4da24a(0x197)](this[_0x4da24a(0x173)],_0x4da24a(0x175)),this[_0x4da24a(0x197)](this[_0x4da24a(0x1b0)],_0x4da24a(0x180));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x1d4b21=_0x594a;(function(_0x5b1c0d,_0x11d206){var _0x5b61ab=_0x594a,_0x48b26a=_0x5b1c0d();while(!![]){try{var _0x10c74e=parseInt(_0x5b61ab(0x19f))/0x1+-parseInt(_0x5b61ab(0x19e))/0x2*(parseInt(_0x5b61ab(0x1a2))/0x3)+-parseInt(_0x5b61ab(0x19c))/0x4+parseInt(_0x5b61ab(0x1a1))/0x5+-parseInt(_0x5b61ab(0x198))/0x6+parseInt(_0x5b61ab(0x19d))/0x7*(-parseInt(_0x5b61ab(0x199))/0x8)+parseInt(_0x5b61ab(0x196))/0x9;if(_0x10c74e===_0x11d206)break;else _0x48b26a['push'](_0x48b26a['shift']());}catch(_0x48e96c){_0x48b26a['push'](_0x48b26a['shift']());}}}(_0x2d0d,0xa5a76));import{Plugin as _0x3dfe0f}from'ckeditor5/src/core.js';import _0xd7b6d8 from'./comments/commentsrepository.js';import _0x26a9d8 from'./comments/commentsediting.js';import _0x240e57 from'./comments/commentsui.js';import _0x148c40 from'./commentsonly.js';import _0x9703c3 from'./annotations/widesidebar.js';import _0x3d6d64 from'./annotations/narrowsidebar.js';import _0x33dbf5 from'./annotations/inlineannotations.js';function _0x594a(_0x170827,_0x1bf99d){var _0x2d0d6e=_0x2d0d();return _0x594a=function(_0x594abf,_0x2cc935){_0x594abf=_0x594abf-0x195;var _0x37188a=_0x2d0d6e[_0x594abf];return _0x37188a;},_0x594a(_0x170827,_0x1bf99d);}import _0x5c916d from'./comments/commentsarchiveui.js';function _0x2d0d(){var _0x3487b3=['600537xWZocN','2tgbOqv','628127YENXSG','requires','3634265NqKGAi','998871vWXzKX','isPremiumPlugin','18408186TgNyUc','isOfficialPlugin','2934492lBuTdt','112ayDKsX','pluginName','Comments','2794812DpHwQO'];_0x2d0d=function(){return _0x3487b3;};return _0x2d0d();}import _0x3013e3 from'./comments/commentsarchive.js';export default class p extends _0x3dfe0f{static get[_0x1d4b21(0x1a0)](){return[_0xd7b6d8,_0x26a9d8,_0x240e57,_0x3013e3,_0x5c916d,_0x148c40,_0x9703c3,_0x3d6d64,_0x33dbf5];}static get[_0x1d4b21(0x19a)](){var _0x353d20=_0x1d4b21;return _0x353d20(0x19b);}static get[_0x1d4b21(0x197)](){return!0x0;}static get[_0x1d4b21(0x195)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44dc25=_0xcec1;(function(_0xf4be6,_0x4676e0){const _0x478ab4=_0xcec1,_0xf764eb=_0xf4be6();while(!![]){try{const _0x5f2686=parseInt(_0x478ab4(0x73))/0x1+parseInt(_0x478ab4(0x77))/0x2+parseInt(_0x478ab4(0x79))/0x3+parseInt(_0x478ab4(0x6d))/0x4*(parseInt(_0x478ab4(0x8f))/0x5)+-parseInt(_0x478ab4(0x84))/0x6+parseInt(_0x478ab4(0x7a))/0x7+parseInt(_0x478ab4(0x94))/0x8*(-parseInt(_0x478ab4(0x82))/0x9);if(_0x5f2686===_0x4676e0)break;else _0xf764eb['push'](_0xf764eb['shift']());}catch(_0x2dc291){_0xf764eb['push'](_0xf764eb['shift']());}}}(_0x383f,0xa64e5));function _0xcec1(_0x5d8a0c,_0x4bde23){const _0x383f9d=_0x383f();return _0xcec1=function(_0xcec168,_0x56ccd2){_0xcec168=_0xcec168-0x6a;let _0x28d28d=_0x383f9d[_0xcec168];return _0x28d28d;},_0xcec1(_0x5d8a0c,_0x4bde23);}function _0x383f(){const _0x259000=['297870bIhwTc','change:isEnabled','124602OoPTdU','168378cJWbVt','affectsData','get','editing','forceDisabled','afterInit','listenTo','has','1702773RWcYLE','set','3860850qEdyPH','config','commentsOnly','clipboardInput','view','commands','isPremiumPlugin','requires','highest','isEnabled','document','2417710Vkqvru','delete','isOfficialPlugin','cut','clearForceDisabled','8FLfCVw','commentsOnlyMode','stopListening','editor','4HGjutJ','CommentsOnly','stop','plugins','_enableCommentsOnlyMode','pluginName','815796mwWsKD','addCommentThread','_disableCommentsOnlyMode','DragDrop'];_0x383f=function(){return _0x259000;};return _0x383f();}import{Plugin as _0x488669}from'ckeditor5/src/core.js';import _0x2d3e97 from'./comments/commentsediting.js';export default class s extends _0x488669{static get[_0x44dc25(0x72)](){const _0xfa0396=_0x44dc25;return _0xfa0396(0x6e);}static get[_0x44dc25(0x91)](){return!0x0;}static get[_0x44dc25(0x8a)](){return!0x0;}static get[_0x44dc25(0x8b)](){return[_0x2d3e97];}constructor(_0x49a064){const _0x121101=_0x44dc25;super(_0x49a064),this[_0x121101(0x83)](_0x121101(0x8d),!0x1),this['on'](_0x121101(0x78),(_0x49ff13,_0x3cf08f,_0x57787b)=>{const _0x415525=_0x121101;_0x57787b?this[_0x415525(0x71)]():this[_0x415525(0x75)]();});}[_0x44dc25(0x7f)](){const _0x4dcd2f=_0x44dc25;!this[_0x4dcd2f(0x8d)]&&this[_0x4dcd2f(0x6c)][_0x4dcd2f(0x85)][_0x4dcd2f(0x7c)](_0x4dcd2f(0x86))&&(this[_0x4dcd2f(0x8d)]=!0x0);}[_0x44dc25(0x71)](){const _0x148398=_0x44dc25;for(const [_0x1b8467,_0x3cb5f3]of this[_0x148398(0x6c)][_0x148398(0x89)])_0x3cb5f3[_0x148398(0x7b)]&&_0x148398(0x74)!==_0x1b8467&&_0x3cb5f3[_0x148398(0x7e)](_0x148398(0x6a));this[_0x148398(0x6c)][_0x148398(0x70)][_0x148398(0x81)](_0x148398(0x76))&&this[_0x148398(0x6c)][_0x148398(0x70)][_0x148398(0x7c)](_0x148398(0x76))[_0x148398(0x7e)](_0x148398(0x6a));const _0x37b767=this[_0x148398(0x6c)][_0x148398(0x7d)][_0x148398(0x88)][_0x148398(0x8e)];this[_0x148398(0x80)](_0x37b767,_0x148398(0x92),_0x4857fc=>_0x4857fc[_0x148398(0x6f)](),{'priority':_0x148398(0x8c)}),this[_0x148398(0x80)](_0x37b767,_0x148398(0x87),_0x58d55e=>_0x58d55e[_0x148398(0x6f)](),{'priority':_0x148398(0x8c)}),this[_0x148398(0x80)](_0x37b767,_0x148398(0x90),_0x7e051d=>_0x7e051d[_0x148398(0x6f)](),{'priority':_0x148398(0x8c)});}[_0x44dc25(0x75)](){const _0x268f0a=_0x44dc25;for(const [_0x23ddb0,_0x2322b1]of this[_0x268f0a(0x6c)][_0x268f0a(0x89)])_0x2322b1[_0x268f0a(0x7b)]&&_0x268f0a(0x74)!==_0x23ddb0&&_0x2322b1[_0x268f0a(0x93)](_0x268f0a(0x6a));this[_0x268f0a(0x6b)](this[_0x268f0a(0x6c)][_0x268f0a(0x7d)][_0x268f0a(0x88)][_0x268f0a(0x8e)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x97dbc3,_0x32bd9b){var _0x138e81=_0x4c98,_0x329726=_0x97dbc3();while(!![]){try{var _0x12f9b2=-parseInt(_0x138e81(0x135))/0x1*(parseInt(_0x138e81(0x13a))/0x2)+-parseInt(_0x138e81(0x132))/0x3*(parseInt(_0x138e81(0x131))/0x4)+-parseInt(_0x138e81(0x139))/0x5*(-parseInt(_0x138e81(0x134))/0x6)+-parseInt(_0x138e81(0x138))/0x7+parseInt(_0x138e81(0x137))/0x8+parseInt(_0x138e81(0x133))/0x9*(-parseInt(_0x138e81(0x13b))/0xa)+-parseInt(_0x138e81(0x136))/0xb*(-parseInt(_0x138e81(0x13c))/0xc);if(_0x12f9b2===_0x32bd9b)break;else _0x329726['push'](_0x329726['shift']());}catch(_0x1d1ba5){_0x329726['push'](_0x329726['shift']());}}}(_0x346b,0x9c47a));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';function _0x4c98(_0x9c7fcd,_0x588488){var _0x346b9a=_0x346b();return _0x4c98=function(_0x4c9879,_0x36e37d){_0x4c9879=_0x4c9879-0x131;var _0x48ad97=_0x346b9a[_0x4c9879];return _0x48ad97;},_0x4c98(_0x9c7fcd,_0x588488);}export{default as Annotation}from'./annotations/annotation.js';function _0x346b(){var _0x359ca4=['537jCLtAi','386749JeCUtD','4401504zSgkXF','899892aZYuRX','30ZFDHjj','2304IFmOxn','5145210adMPNg','696YUmliK','8RjXkRi','611868bHqCuz','18JKNiBd','234846cGXSEv'];_0x346b=function(){return _0x359ca4;};return _0x346b();}export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationCollection}from'./annotations/annotationcollection.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{default as CommentsArchive}from'./comments/commentsarchive.js';export{default as CommentsArchiveUI}from'./comments/commentsarchiveui.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x13791a,_0x24c9bd,_0x2d88e8){const t=_0x13791a['t'];switch(_0x24c9bd){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'},_0x2d88e8);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'},_0x2d88e8);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'},_0x2d88e8);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'},_0x2d88e8);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x2d88e8);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'},_0x2d88e8);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'},_0x2d88e8);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'},_0x2d88e8);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
|
-
|
|
23
|
+
(function(_0x4d19d2,_0x5bb56e){const _0x3ba64e=_0x25c2,_0x3e90de=_0x4d19d2();while(!![]){try{const _0x51d47e=parseInt(_0x3ba64e(0x9d))/0x1+-parseInt(_0x3ba64e(0xa0))/0x2+-parseInt(_0x3ba64e(0x9c))/0x3+parseInt(_0x3ba64e(0xa2))/0x4+parseInt(_0x3ba64e(0xa7))/0x5*(parseInt(_0x3ba64e(0x9f))/0x6)+parseInt(_0x3ba64e(0xa8))/0x7+parseInt(_0x3ba64e(0x9b))/0x8*(-parseInt(_0x3ba64e(0xa9))/0x9);if(_0x51d47e===_0x5bb56e)break;else _0x3e90de['push'](_0x3e90de['shift']());}catch(_0x5d5c76){_0x3e90de['push'](_0x3e90de['shift']());}}}(_0x4be6,0x834b5));function _0x25c2(_0x568b41,_0x31f5ca){const _0x4be67a=_0x4be6();return _0x25c2=function(_0x25c2ba,_0x18dedf){_0x25c2ba=_0x25c2ba-0x9a;let _0x1c1e15=_0x4be67a[_0x25c2ba];return _0x1c1e15;},_0x25c2(_0x568b41,_0x31f5ca);}import{throttle as _0x6b9fc2}from'lodash-es';function _0x4be6(){const _0x4ee65e=['disconnect','attributeName','8oovnQG','2561577tlwDsJ','981040qYHZZV','type','918dpSnww','325870bMVBGw','cancel','1941236sngsVZ','attributes','class','characterData','observe','27835FwHwlw','7166376dguJRw','16085637zfazZv','childList'];_0x4be6=function(){return _0x4ee65e;};return _0x4be6();}export default function Lt(_0x991a8d){const _0x5f4ba2=_0x6b9fc2(_0x991a8d,0x1e),_0x3e6eb0=new MutationObserver(_0x354207=>{const _0x36b43a=_0x25c2;for(const _0x5ef135 of _0x354207)(_0x36b43a(0xa3)==_0x5ef135[_0x36b43a(0x9e)]&&_0x36b43a(0xa4)==_0x5ef135[_0x36b43a(0x9a)]||_0x36b43a(0xaa)==_0x5ef135[_0x36b43a(0x9e)]||_0x36b43a(0xa5)==_0x5ef135[_0x36b43a(0x9e)])&&_0x5f4ba2();});return{'attach'(_0x1ee557){const _0x34d88e=_0x25c2;_0x3e6eb0[_0x34d88e(0xa6)](_0x1ee557,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x479287=_0x25c2;_0x3e6eb0[_0x479287(0xab)](),_0x5f4ba2[_0x479287(0xa1)]();}};}
|