@ckeditor/ckeditor5-comments 43.2.0-alpha.6 → 43.2.0-alpha.7
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/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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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 +15 -15
- 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/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
|
-
|
|
23
|
+
const _0x3b7883=_0x1e3a;function _0x1e3a(_0x183df6,_0x597c66){const _0x18c86d=_0x18c8();return _0x1e3a=function(_0x1e3a08,_0x55fbf8){_0x1e3a08=_0x1e3a08-0x9b;let _0x2d7329=_0x18c86d[_0x1e3a08];return _0x2d7329;},_0x1e3a(_0x183df6,_0x597c66);}(function(_0x53c814,_0x345c7b){const _0x271ae9=_0x1e3a,_0x3f7fb1=_0x53c814();while(!![]){try{const _0x3206a5=parseInt(_0x271ae9(0xb5))/0x1+parseInt(_0x271ae9(0xc3))/0x2*(-parseInt(_0x271ae9(0xa6))/0x3)+parseInt(_0x271ae9(0xbd))/0x4*(parseInt(_0x271ae9(0xc6))/0x5)+parseInt(_0x271ae9(0xa9))/0x6+-parseInt(_0x271ae9(0xa0))/0x7*(-parseInt(_0x271ae9(0x9c))/0x8)+parseInt(_0x271ae9(0xb6))/0x9*(parseInt(_0x271ae9(0xc1))/0xa)+-parseInt(_0x271ae9(0xc8))/0xb*(parseInt(_0x271ae9(0xa8))/0xc);if(_0x3206a5===_0x345c7b)break;else _0x3f7fb1['push'](_0x3f7fb1['shift']());}catch(_0xcda309){_0x3f7fb1['push'](_0x3f7fb1['shift']());}}}(_0x18c8,0x3cccb));function _0x18c8(){const _0xe2469c=['add','render','delegate','ck-hidden','_annotationViews','252934bedZTv','73341sLljDU','focusCycler','div','focus','listenTo','remove','focusTracker','28bKRkHf','ck-comments-archive','element','focusFirst','530uIrxDP','arrowup','4bAzgfJ','_setupKeyboardNavigation','setTemplate','157945tCVHGe','destroy','33fHKZVK','length','COMMENTS_ARCHIVE_LIST_LABEL','2941768sOsSLn','isActive','change','auto','7wNsjbS','set','arrowdown','focusPrevious','ck-comments-archive__content','focusNext','703764usFMHs','ck-comments-archive__info','3152532vCwQQv','1396014kbuDGG','EMPTY_COMMENTS_ARCHIVE','bindTemplate','presentation','list','isEmpty','first'];_0x18c8=function(){return _0xe2469c;};return _0x18c8();}import{View as _0x2626c2,FocusCycler as _0x11268c}from'ckeditor5/src/ui.js';import{FocusTracker as _0x502092}from'ckeditor5/src/utils.js';import{getTranslation as _0x22134e}from'../../../utils/common-translations.js';export default class tt extends _0x2626c2{constructor(_0x1ec7eb,_0x441a3f){const _0x3a95e4=_0x1e3a;super(_0x1ec7eb),this[_0x3a95e4(0xa1)](_0x3a95e4(0xae),!_0x441a3f[_0x3a95e4(0xc9)]),this[_0x3a95e4(0xbc)]=new _0x502092(),this[_0x3a95e4(0xb4)]=_0x441a3f,this[_0x3a95e4(0xb4)][_0x3a95e4(0xb2)](_0x3a95e4(0xc2),_0x3a95e4(0xa2))['to'](this),this['on'](_0x3a95e4(0xc2),()=>{const _0x534141=_0x3a95e4;this[_0x534141(0xb7)][_0x534141(0xa3)]();}),this['on'](_0x3a95e4(0xa2),()=>{const _0x1e6de7=_0x3a95e4;this[_0x1e6de7(0xb7)][_0x1e6de7(0xa5)]();}),this[_0x3a95e4(0xb7)]=new _0x11268c({'focusables':_0x441a3f,'focusTracker':this[_0x3a95e4(0xbc)]}),this[_0x3a95e4(0xba)](_0x441a3f,_0x3a95e4(0xb0),()=>{const _0x1170c8=_0x3a95e4;this[_0x1170c8(0xae)]=!0x1;}),this[_0x3a95e4(0xba)](_0x441a3f,_0x3a95e4(0xbb),(_0x405a03,_0x29cf6b)=>{const _0x3637f=_0x3a95e4;_0x29cf6b[_0x3637f(0x9d)]&&this[_0x3637f(0xb9)](),_0x441a3f[_0x3637f(0xc9)]||(this[_0x3637f(0xae)]=!0x0);});const _0x33edb3=this[_0x3a95e4(0xab)];this[_0x3a95e4(0xc5)]({'tag':_0x3a95e4(0xb8),'attributes':{'dir':_0x3a95e4(0x9f),'class':['ck',_0x3a95e4(0xbe)],'tabindex':-0x1,'role':_0x3a95e4(0xad),'aria-label':_0x22134e(_0x1ec7eb,_0x3a95e4(0x9b))},'children':[{'tag':_0x3a95e4(0xb8),'attributes':{'class':[_0x3a95e4(0xa4)],'role':_0x3a95e4(0xac)},'children':[{'tag':_0x3a95e4(0xb8),'attributes':{'role':_0x3a95e4(0xac)},'children':_0x441a3f},{'tag':'p','attributes':{'class':[_0x3a95e4(0xa7),_0x33edb3['if'](_0x3a95e4(0xae),_0x3a95e4(0xb3),_0x181f73=>!_0x181f73)]},'children':[{'text':_0x22134e(_0x1ec7eb,_0x3a95e4(0xaa))}]}]}]});}[_0x3b7883(0xb1)](){const _0x4802cc=_0x3b7883;super[_0x4802cc(0xb1)](),this[_0x4802cc(0xc4)]();}[_0x3b7883(0xc7)](){const _0x180afb=_0x3b7883;super[_0x180afb(0xc7)](),this[_0x180afb(0xbc)][_0x180afb(0xc7)]();}[_0x3b7883(0xb9)](){const _0x28f8dc=_0x3b7883;this[_0x28f8dc(0xb7)][_0x28f8dc(0xaf)]?this[_0x28f8dc(0xb7)][_0x28f8dc(0xc0)]():this[_0x28f8dc(0xbf)][_0x28f8dc(0xb9)]();}[_0x3b7883(0xc4)](){const _0x1adc0c=_0x3b7883;for(const _0x47152c of this[_0x1adc0c(0xb4)])this[_0x1adc0c(0xbc)][_0x1adc0c(0xb0)](_0x47152c[_0x1adc0c(0xbf)]);this[_0x1adc0c(0xb4)]['on'](_0x1adc0c(0x9e),(_0x4fb6b8,{added:_0x4efd37,removed:_0x21e417})=>{const _0x5e1e0c=_0x1adc0c;for(const _0x30247e of _0x4efd37)this[_0x5e1e0c(0xbc)][_0x5e1e0c(0xb0)](_0x30247e[_0x5e1e0c(0xbf)]);for(const _0xac45fa of _0x21e417)this[_0x5e1e0c(0xbc)][_0x5e1e0c(0xbb)](_0xac45fa[_0x5e1e0c(0xbf)]);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x191bf5=_0x5603;function _0x5603(_0x59c753,_0x19c03d){const _0x5dda63=_0x5dda();return _0x5603=function(_0x560345,_0x364e33){_0x560345=_0x560345-0xb6;let _0xad2583=_0x5dda63[_0x560345];return _0xad2583;},_0x5603(_0x59c753,_0x19c03d);}function _0x5dda(){const _0x2af888=['locale','formatDateTime','added','updateComment','ck-thread__comments','maxCommentsWhenCollapsed','_handleInfoComment','CommentView','keystrokes','5LpWHMO','_config','Thread\x20comments','change:isActive','authoredAt','map','setTemplate','change:isEditMode','some','focusTracker','8314730rFppDW','bindTemplate','expand','delegate','removed','13304XVgWbX','insert','_rearrangeExpand','88vcZuoq','commentViews','weight','forEach','length','change','listenTo','from','destroy','arrowup','add','stopListening','delete','maxCommentCharsWhenCollapsed','_findOptimalIndex','_handleRemoveCommentModel','resolvedAt','target','ck-hidden','179325EuejqV','6259344VzuQMt','collapse','focusFirst','comments','focus','createCollection','set','Marked\x20as\x20resolved','_collapsedCommentsView','editorDestroyed','count','_updateHasDirtyComment','isActive','removeComment','3316584vmYFRU','change:isResolved','_rearrangeCollapse','arrowdown','hasDirtyComment','includes','get','_shouldCollapse','resolveCommentThread','change:hasDirtyComment','commentUpdated','editorReady','equal','visibleViews','focusCycler','refreshVisibleViews','element','1261086meVKyw','focusLast','9300zdALxw','remove','render','_model','viewUid','isEditMode','392HkrzfE','reverse','_handleNewCommentModel','resolvedBy','bind','_calculatePosition','editorConfig','_setupKeyboardNavigation','resolved','resolvedCommentView','maxThreadTotalWeight'];_0x5dda=function(){return _0x2af888;};return _0x5dda();}(function(_0xee138f,_0x5753d1){const _0x3720b7=_0x5603,_0x2c793b=_0xee138f();while(!![]){try{const _0x381da0=parseInt(_0x3720b7(0xc7))/0x1+parseInt(_0x3720b7(0xfd))/0x2+-parseInt(_0x3720b7(0xff))/0x3*(-parseInt(_0x3720b7(0xca))/0x4)+parseInt(_0x3720b7(0xb8))/0x5*(parseInt(_0x3720b7(0xec))/0x6)+-parseInt(_0x3720b7(0xde))/0x7+-parseInt(_0x3720b7(0x105))/0x8*(-parseInt(_0x3720b7(0xdd))/0x9)+-parseInt(_0x3720b7(0xc2))/0xa;if(_0x381da0===_0x5753d1)break;else _0x2c793b['push'](_0x2c793b['shift']());}catch(_0x35196f){_0x2c793b['push'](_0x2c793b['shift']());}}}(_0x5dda,0x7dd8f));import{View as _0x3e316c,FocusCycler as _0x2ad645}from'ckeditor5/src/ui.js';import{diff as _0x1e378f,Collection as _0x1a2ac0,FocusTracker as _0x2443d7,KeystrokeHandler as _0x53ea9b}from'ckeditor5/src/utils.js';import{getTranslation as _0x4f3c6f}from'../../../utils/common-translations.js';import _0x132a08 from'./collapsedcommentsview.js';export default class xt extends _0x3e316c{constructor(_0x1d844f,_0x5f0915,_0x592f7a){const _0x4c9f23=_0x5603;super(_0x1d844f);const _0x25f832=this[_0x4c9f23(0xc3)];this[_0x4c9f23(0xe4)](_0x4c9f23(0xf0),!0x1),this[_0x4c9f23(0xe4)](_0x4c9f23(0xce),_0x5f0915[_0x4c9f23(0xe1)][_0x4c9f23(0xce)]),this[_0x4c9f23(0xe4)](_0x4c9f23(0xea),!0x1),this[_0x4c9f23(0x102)]=_0x5f0915,this[_0x4c9f23(0xb9)]=_0x592f7a,this[_0x4c9f23(0xcb)]=this[_0x4c9f23(0xe3)](),this[_0x4c9f23(0xf9)]=this[_0x4c9f23(0xe3)](),this[_0x4c9f23(0x10e)]=null,this[_0x4c9f23(0xc1)]=new _0x2443d7(),this[_0x4c9f23(0xb7)]=new _0x53ea9b(),this[_0x4c9f23(0xfa)]=new _0x2ad645({'focusables':this[_0x4c9f23(0xcb)],'focusTracker':this[_0x4c9f23(0xc1)],'keystrokeHandler':this[_0x4c9f23(0xb7)],'keystrokeHandlerOptions':{'filter':_0x82c19f=>this[_0x4c9f23(0xcb)][_0x4c9f23(0xbd)](_0x3d0ddc=>_0x3d0ddc[_0x4c9f23(0xfc)])[_0x4c9f23(0xf1)](_0x82c19f[_0x4c9f23(0xdb)])},'actions':{'focusPrevious':_0x4c9f23(0xd3),'focusNext':_0x4c9f23(0xef)}}),this[_0x4c9f23(0xe6)]=new _0x132a08(_0x1d844f),this[_0x4c9f23(0xe6)][_0x4c9f23(0x109)](_0x4c9f23(0xe8))['to'](this,_0x4c9f23(0xce),_0xf9fa66=>_0xf9fa66-this[_0x4c9f23(0xb9)][_0x4c9f23(0x115)]);for(const _0xa1c6d7 of _0x5f0915[_0x4c9f23(0xe1)])this[_0x4c9f23(0x107)](_0xa1c6d7);this[_0x4c9f23(0x116)](),this[_0x4c9f23(0xd0)](_0x5f0915[_0x4c9f23(0xe1)],_0x4c9f23(0xd4),(_0x4266b4,_0x193ee9)=>{const _0x5b3b3a=_0x4c9f23,_0x57d914=this[_0x5b3b3a(0x10a)](_0x193ee9);this[_0x5b3b3a(0xce)]++,this[_0x5b3b3a(0x107)](_0x193ee9,_0x57d914),this[_0x5b3b3a(0xfb)]();}),this[_0x4c9f23(0xd0)](_0x5f0915[_0x4c9f23(0xe1)],_0x4c9f23(0x100),(_0x46e773,_0x324123)=>{const _0xcdcf63=_0x4c9f23;this[_0xcdcf63(0xce)]--,this[_0xcdcf63(0xd9)](_0x324123),this[_0xcdcf63(0xfb)]();}),this[_0x4c9f23(0xd0)](_0x5f0915,_0x4c9f23(0xf6),()=>this[_0x4c9f23(0xfb)]()),this[_0x4c9f23(0xd0)](_0x5f0915,_0x4c9f23(0xed),()=>this[_0x4c9f23(0x116)]()),this['on'](_0x4c9f23(0xbb),()=>this[_0x4c9f23(0xfb)]()),this['on'](_0x4c9f23(0xf5),()=>this[_0x4c9f23(0xfb)]()),this[_0x4c9f23(0xbe)]({'tag':'ul','attributes':{'class':[_0x4c9f23(0x114),_0x25f832['if'](_0x4c9f23(0xce),_0x4c9f23(0xdc),_0x4586a1=>!_0x4586a1)],'aria-label':_0x4f3c6f(_0x1d844f,_0x4c9f23(0xba))},'children':this[_0x4c9f23(0xf9)]});}get[_0x191bf5(0xf3)](){const _0x523164=_0x191bf5;return this[_0x523164(0x102)][_0x523164(0xcc)]>this[_0x523164(0xb9)][_0x523164(0x10f)]&&!this[_0x523164(0xea)]&&!this[_0x523164(0xf0)];}[_0x191bf5(0x101)](){const _0x48064b=_0x191bf5;super[_0x48064b(0x101)](),this[_0x48064b(0xfb)](),this[_0x48064b(0x10c)]();}[_0x191bf5(0xe2)](_0x34c712){const _0x56a7ca=_0x191bf5;-0x1===_0x34c712?this[_0x56a7ca(0xfa)][_0x56a7ca(0xfe)]():this[_0x56a7ca(0xfa)][_0x56a7ca(0xe0)]();}[_0x191bf5(0xd2)](){const _0x201dfc=_0x191bf5;this[_0x201dfc(0xe6)][_0x201dfc(0xd2)]();for(const _0x5a1a66 of this[_0x201dfc(0xcb)])_0x5a1a66[_0x201dfc(0xd2)]();super[_0x201dfc(0xd2)]();}[_0x191bf5(0xfb)](){const _0x25675a=_0x191bf5;this[_0x25675a(0xf3)]?this[_0x25675a(0xee)]():this[_0x25675a(0xc9)]();}[_0x191bf5(0x107)](_0x2041a9,_0x21dfe8){const _0x4566cc=_0x191bf5,_0x212615=new this[(_0x4566cc(0xb9))][(_0x4566cc(0xb6))](this[_0x4566cc(0x110)],_0x2041a9,{'maxCommentCharsWhenCollapsed':this[_0x4566cc(0xb9)][_0x4566cc(0xd7)],'formatDateTime':this[_0x4566cc(0xb9)][_0x4566cc(0x111)],'editorConfig':this[_0x4566cc(0xb9)][_0x4566cc(0x10b)]});_0x212615[_0x4566cc(0x103)]=_0x2041a9['id'],_0x212615[_0x4566cc(0xc5)](_0x4566cc(0xeb))['to'](this),_0x212615[_0x4566cc(0xc5)](_0x4566cc(0x113))['to'](this),_0x212615[_0x4566cc(0xc5)](_0x4566cc(0xf4))['to'](this),_0x212615[_0x4566cc(0xc5)](_0x4566cc(0xf7))['to'](this),_0x212615[_0x4566cc(0xc5)](_0x4566cc(0xe7))['to'](this),this[_0x4566cc(0xd0)](_0x212615,_0x4566cc(0xbf),()=>this[_0x4566cc(0xe9)]()),this[_0x4566cc(0xcb)][_0x4566cc(0xd4)](_0x212615,_0x21dfe8);}[_0x191bf5(0x10a)](_0x1680ac){const _0x4bb2b4=_0x191bf5,_0x28dd55=this[_0x4bb2b4(0x102)][_0x4bb2b4(0xd8)](_0x1680ac);return this[_0x4bb2b4(0x10e)]?this[_0x4bb2b4(0x10e)][_0x4bb2b4(0xbc)]>_0x1680ac[_0x4bb2b4(0xbc)]?_0x28dd55-0x1:_0x28dd55:_0x28dd55-0x1;}[_0x191bf5(0x116)](){const _0x5df145=_0x191bf5;if(this[_0x5df145(0x102)][_0x5df145(0x108)]&&this[_0x5df145(0x102)][_0x5df145(0xda)]){const _0x4ca986={'id':_0x5df145(0x10d),'author':this[_0x5df145(0x102)][_0x5df145(0x108)],'authoredAt':this[_0x5df145(0x102)][_0x5df145(0xda)],'content':_0x4f3c6f(this[_0x5df145(0x110)],_0x5df145(0xe5)),'attributes':{}};this[_0x5df145(0x10e)]=new this[(_0x5df145(0xb9))][(_0x5df145(0xb6))](this[_0x5df145(0x110)],_0x4ca986,{'maxCommentCharsWhenCollapsed':this[_0x5df145(0xb9)][_0x5df145(0xd7)],'formatDateTime':this[_0x5df145(0xb9)][_0x5df145(0x111)],'editorConfig':this[_0x5df145(0xb9)][_0x5df145(0x10b)],'isSystemComment':!0x0}),this[_0x5df145(0xcb)][_0x5df145(0xd4)](this[_0x5df145(0x10e)],this[_0x5df145(0x102)][_0x5df145(0xd8)](_0x4ca986));}else this[_0x5df145(0x10e)]&&(this[_0x5df145(0xcb)][_0x5df145(0x100)](this[_0x5df145(0x10e)]),this[_0x5df145(0x10e)][_0x5df145(0xd2)](),this[_0x5df145(0x10e)]=null);this[_0x5df145(0xfb)]();}[_0x191bf5(0xd9)](_0x44c96d){const _0x5101d6=_0x191bf5,_0x310ea3=this[_0x5101d6(0xcb)][_0x5101d6(0x100)](_0x44c96d['id']);this[_0x5101d6(0xd5)](_0x310ea3),_0x310ea3[_0x5101d6(0x104)]&&this[_0x5101d6(0xe9)](),_0x310ea3[_0x5101d6(0xd2)]();}[_0x191bf5(0xe9)](){const _0x60f83f=_0x191bf5;this[_0x60f83f(0xf0)]=Array[_0x60f83f(0xd1)](this[_0x60f83f(0xcb)])[_0x60f83f(0xc0)](_0x146217=>_0x146217[_0x60f83f(0x104)]);}[_0x191bf5(0xee)](){const _0x19c874=_0x191bf5,_0x4378ce=function(_0x2800a3){const _0x208ec0=_0x5603,_0x500b2d=new _0x1a2ac0();for(const _0x5814e6 of _0x2800a3)_0x500b2d[_0x208ec0(0xd4)](_0x5814e6);return _0x500b2d;}(this[_0x19c874(0xcb)]),_0x2cea4c=this[_0x19c874(0xe6)][_0x19c874(0xe8)];for(let _0x4d2ec2=0x1;_0x4d2ec2<=_0x2cea4c;_0x4d2ec2++)_0x4378ce[_0x19c874(0x100)](0x1);for(const _0x2698d8 of _0x4378ce)_0x2698d8[_0x19c874(0xdf)]();_0x2cea4c>0x0&&_0x4378ce[_0x19c874(0xd4)](this[_0x19c874(0xe6)],0x1),ms(_0x1e378f(Array[_0x19c874(0xd1)](this[_0x19c874(0xf9)]),Array[_0x19c874(0xd1)](_0x4378ce)),this[_0x19c874(0xf9)],_0x4378ce);}[_0x191bf5(0xc9)](){const _0x1c1899=_0x191bf5;ms(_0x1e378f(Array[_0x1c1899(0xd1)](this[_0x1c1899(0xf9)]),Array[_0x1c1899(0xd1)](this[_0x1c1899(0xcb)])),this[_0x1c1899(0xf9)],this[_0x1c1899(0xcb)]);for(const _0x2de1df of this[_0x1c1899(0xf9)])_0x2de1df[_0x1c1899(0xc4)]();}[_0x191bf5(0x10c)](){const _0x4dd67e=_0x191bf5;this[_0x4dd67e(0xcb)][_0x4dd67e(0xcd)](_0x3daedf=>{const _0x56e674=_0x4dd67e;this[_0x56e674(0xc1)][_0x56e674(0xd4)](_0x3daedf[_0x56e674(0xfc)]),this[_0x56e674(0xb7)][_0x56e674(0xd0)](_0x3daedf[_0x56e674(0xfc)]);}),this[_0x4dd67e(0xcb)]['on'](_0x4dd67e(0xcf),(_0x1afc08,_0x45579b)=>{const _0x173536=_0x4dd67e;for(const _0x3a4424 of _0x45579b[_0x173536(0xc6)])this[_0x173536(0xc1)][_0x173536(0x100)](_0x3a4424[_0x173536(0xfc)]),this[_0x173536(0xb7)][_0x173536(0xd5)](_0x3a4424[_0x173536(0xfc)]);for(const _0x27e858 of Array[_0x173536(0xd1)](_0x45579b[_0x173536(0x112)])[_0x173536(0x106)]())this[_0x173536(0xc1)][_0x173536(0xd4)](_0x27e858[_0x173536(0xfc)]),this[_0x173536(0xb7)][_0x173536(0xd0)](_0x27e858[_0x173536(0xfc)]);});}}function ms(_0x34f390,_0x17d07,_0x17693d){const _0x7e8da5=_0x191bf5;let _0x1838e4=0x0;for(const _0x5e7fbb of _0x34f390)switch(_0x5e7fbb){case _0x7e8da5(0xc8):_0x17d07[_0x7e8da5(0xd4)](_0x17693d[_0x7e8da5(0xf2)](_0x1838e4),_0x1838e4),_0x1838e4++;break;case _0x7e8da5(0xd6):_0x17d07[_0x7e8da5(0x100)](_0x1838e4);break;case _0x7e8da5(0xf8):_0x1838e4++;}}
|
|
23
|
+
function _0x24ea(){const _0x53e551=['resolveCommentThread','viewUid','change:hasDirtyComment','visibleViews','ck-hidden','some','_collapsedCommentsView','1476702DAzucf','focus','expand','CommentView','forEach','isEditMode','delete','resolvedCommentView','listenTo','hasDirtyComment','weight','equal','add','resolved','map','34452SRDVYc','331586tUqLka','updateComment','focusCycler','_rearrangeExpand','delegate','arrowup','authoredAt','editorDestroyed','editorConfig','removeComment','commentUpdated','count','change:isActive','4960134wrAOEw','3568520tleOcS','stopListening','_shouldCollapse','resolvedBy','change','focusLast','destroy','change:isResolved','isActive','includes','maxCommentsWhenCollapsed','_handleInfoComment','length','5McRnwL','5061931crtzdi','element','_updateHasDirtyComment','_rearrangeCollapse','change:isEditMode','editorReady','from','_model','_setupKeyboardNavigation','360FShGJV','Thread\x20comments','focusFirst','removed','bind','reverse','maxCommentCharsWhenCollapsed','formatDateTime','focusTracker','insert','set','remove','2HXPCRT','refreshVisibleViews','_config','target','7854810mCCxnx','_findOptimalIndex','collapse','createCollection','comments','Marked\x20as\x20resolved','get','render','commentViews','locale','_calculatePosition','_handleRemoveCommentModel','added','setTemplate','bindTemplate','arrowdown','keystrokes','ck-thread__comments','_handleNewCommentModel','maxThreadTotalWeight','resolvedAt'];_0x24ea=function(){return _0x53e551;};return _0x24ea();}const _0x575885=_0x358d;(function(_0x2b3fd5,_0x29bc96){const _0x2b4058=_0x358d,_0x24c312=_0x2b3fd5();while(!![]){try{const _0x4ae6c5=-parseInt(_0x2b4058(0x18b))/0x1*(parseInt(_0x2b4058(0x15b))/0x2)+parseInt(_0x2b4058(0x17b))/0x3+parseInt(_0x2b4058(0x199))/0x4*(parseInt(_0x2b4058(0x1a6))/0x5)+-parseInt(_0x2b4058(0x198))/0x6+-parseInt(_0x2b4058(0x1a7))/0x7+parseInt(_0x2b4058(0x1b0))/0x8*(parseInt(_0x2b4058(0x18a))/0x9)+parseInt(_0x2b4058(0x15f))/0xa;if(_0x4ae6c5===_0x29bc96)break;else _0x24c312['push'](_0x24c312['shift']());}catch(_0x31d94a){_0x24c312['push'](_0x24c312['shift']());}}}(_0x24ea,0x70799));import{View as _0x478adb,FocusCycler as _0xb4034}from'ckeditor5/src/ui.js';import{diff as _0x185275,Collection as _0x28e190,FocusTracker as _0x221bca,KeystrokeHandler as _0x576fca}from'ckeditor5/src/utils.js';import{getTranslation as _0xba777f}from'../../../utils/common-translations.js';function _0x358d(_0x5ce495,_0x14ae82){const _0x24ea81=_0x24ea();return _0x358d=function(_0x358db6,_0x4fb2a3){_0x358db6=_0x358db6-0x150;let _0x346784=_0x24ea81[_0x358db6];return _0x346784;},_0x358d(_0x5ce495,_0x14ae82);}import _0x2c5af3 from'./collapsedcommentsview.js';export default class xt extends _0x478adb{constructor(_0x34e09b,_0x2adf63,_0x193d6a){const _0x598fc0=_0x358d;super(_0x34e09b);const _0x252454=this[_0x598fc0(0x16d)];this[_0x598fc0(0x159)](_0x598fc0(0x184),!0x1),this[_0x598fc0(0x159)](_0x598fc0(0x1a5),_0x2adf63[_0x598fc0(0x163)][_0x598fc0(0x1a5)]),this[_0x598fc0(0x159)](_0x598fc0(0x1a1),!0x1),this[_0x598fc0(0x1ae)]=_0x2adf63,this[_0x598fc0(0x15d)]=_0x193d6a,this[_0x598fc0(0x167)]=this[_0x598fc0(0x162)](),this[_0x598fc0(0x177)]=this[_0x598fc0(0x162)](),this[_0x598fc0(0x182)]=null,this[_0x598fc0(0x157)]=new _0x221bca(),this[_0x598fc0(0x16f)]=new _0x576fca(),this[_0x598fc0(0x18d)]=new _0xb4034({'focusables':this[_0x598fc0(0x167)],'focusTracker':this[_0x598fc0(0x157)],'keystrokeHandler':this[_0x598fc0(0x16f)],'keystrokeHandlerOptions':{'filter':_0x5593f8=>this[_0x598fc0(0x167)][_0x598fc0(0x189)](_0x2a5d9f=>_0x2a5d9f[_0x598fc0(0x1a8)])[_0x598fc0(0x1a2)](_0x5593f8[_0x598fc0(0x15e)])},'actions':{'focusPrevious':_0x598fc0(0x190),'focusNext':_0x598fc0(0x16e)}}),this[_0x598fc0(0x17a)]=new _0x2c5af3(_0x34e09b),this[_0x598fc0(0x17a)][_0x598fc0(0x153)](_0x598fc0(0x196))['to'](this,_0x598fc0(0x1a5),_0x134cdc=>_0x134cdc-this[_0x598fc0(0x15d)][_0x598fc0(0x1a3)]);for(const _0x344672 of _0x2adf63[_0x598fc0(0x163)])this[_0x598fc0(0x171)](_0x344672);this[_0x598fc0(0x1a4)](),this[_0x598fc0(0x183)](_0x2adf63[_0x598fc0(0x163)],_0x598fc0(0x187),(_0x122c71,_0xb4d9f2)=>{const _0x15aac1=_0x598fc0,_0x35daff=this[_0x15aac1(0x169)](_0xb4d9f2);this[_0x15aac1(0x1a5)]++,this[_0x15aac1(0x171)](_0xb4d9f2,_0x35daff),this[_0x15aac1(0x15c)]();}),this[_0x598fc0(0x183)](_0x2adf63[_0x598fc0(0x163)],_0x598fc0(0x15a),(_0xbe3b3,_0x3e0895)=>{const _0x49ab5a=_0x598fc0;this[_0x49ab5a(0x1a5)]--,this[_0x49ab5a(0x16a)](_0x3e0895),this[_0x49ab5a(0x15c)]();}),this[_0x598fc0(0x183)](_0x2adf63,_0x598fc0(0x195),()=>this[_0x598fc0(0x15c)]()),this[_0x598fc0(0x183)](_0x2adf63,_0x598fc0(0x1a0),()=>this[_0x598fc0(0x1a4)]()),this['on'](_0x598fc0(0x197),()=>this[_0x598fc0(0x15c)]()),this['on'](_0x598fc0(0x176),()=>this[_0x598fc0(0x15c)]()),this[_0x598fc0(0x16c)]({'tag':'ul','attributes':{'class':[_0x598fc0(0x170),_0x252454['if'](_0x598fc0(0x1a5),_0x598fc0(0x178),_0xfc55c1=>!_0xfc55c1)],'aria-label':_0xba777f(_0x34e09b,_0x598fc0(0x150))},'children':this[_0x598fc0(0x177)]});}get[_0x575885(0x19b)](){const _0x565e72=_0x575885;return this[_0x565e72(0x1ae)][_0x565e72(0x185)]>this[_0x565e72(0x15d)][_0x565e72(0x172)]&&!this[_0x565e72(0x1a1)]&&!this[_0x565e72(0x184)];}[_0x575885(0x166)](){const _0x7c716e=_0x575885;super[_0x7c716e(0x166)](),this[_0x7c716e(0x15c)](),this[_0x7c716e(0x1af)]();}[_0x575885(0x17c)](_0x4ec3be){const _0x272fb0=_0x575885;-0x1===_0x4ec3be?this[_0x272fb0(0x18d)][_0x272fb0(0x19e)]():this[_0x272fb0(0x18d)][_0x272fb0(0x151)]();}[_0x575885(0x19f)](){const _0x5e55f0=_0x575885;this[_0x5e55f0(0x17a)][_0x5e55f0(0x19f)]();for(const _0x1a053c of this[_0x5e55f0(0x167)])_0x1a053c[_0x5e55f0(0x19f)]();super[_0x5e55f0(0x19f)]();}[_0x575885(0x15c)](){const _0x45fcb9=_0x575885;this[_0x45fcb9(0x19b)]?this[_0x45fcb9(0x1aa)]():this[_0x45fcb9(0x18e)]();}[_0x575885(0x171)](_0x26e445,_0x538e53){const _0x58b9e1=_0x575885,_0x18d11f=new this[(_0x58b9e1(0x15d))][(_0x58b9e1(0x17e))](this[_0x58b9e1(0x168)],_0x26e445,{'maxCommentCharsWhenCollapsed':this[_0x58b9e1(0x15d)][_0x58b9e1(0x155)],'formatDateTime':this[_0x58b9e1(0x15d)][_0x58b9e1(0x156)],'editorConfig':this[_0x58b9e1(0x15d)][_0x58b9e1(0x193)]});_0x18d11f[_0x58b9e1(0x175)]=_0x26e445['id'],_0x18d11f[_0x58b9e1(0x18f)](_0x58b9e1(0x194))['to'](this),_0x18d11f[_0x58b9e1(0x18f)](_0x58b9e1(0x18c))['to'](this),_0x18d11f[_0x58b9e1(0x18f)](_0x58b9e1(0x174))['to'](this),_0x18d11f[_0x58b9e1(0x18f)](_0x58b9e1(0x1ac))['to'](this),_0x18d11f[_0x58b9e1(0x18f)](_0x58b9e1(0x192))['to'](this),this[_0x58b9e1(0x183)](_0x18d11f,_0x58b9e1(0x1ab),()=>this[_0x58b9e1(0x1a9)]()),this[_0x58b9e1(0x167)][_0x58b9e1(0x187)](_0x18d11f,_0x538e53);}[_0x575885(0x169)](_0x1b0215){const _0x9c6848=_0x575885,_0xee5da8=this[_0x9c6848(0x1ae)][_0x9c6848(0x160)](_0x1b0215);return this[_0x9c6848(0x182)]?this[_0x9c6848(0x182)][_0x9c6848(0x191)]>_0x1b0215[_0x9c6848(0x191)]?_0xee5da8-0x1:_0xee5da8:_0xee5da8-0x1;}[_0x575885(0x1a4)](){const _0x2902fb=_0x575885;if(this[_0x2902fb(0x1ae)][_0x2902fb(0x19c)]&&this[_0x2902fb(0x1ae)][_0x2902fb(0x173)]){const _0x39de45={'id':_0x2902fb(0x188),'author':this[_0x2902fb(0x1ae)][_0x2902fb(0x19c)],'authoredAt':this[_0x2902fb(0x1ae)][_0x2902fb(0x173)],'content':_0xba777f(this[_0x2902fb(0x168)],_0x2902fb(0x164)),'attributes':{}};this[_0x2902fb(0x182)]=new this[(_0x2902fb(0x15d))][(_0x2902fb(0x17e))](this[_0x2902fb(0x168)],_0x39de45,{'maxCommentCharsWhenCollapsed':this[_0x2902fb(0x15d)][_0x2902fb(0x155)],'formatDateTime':this[_0x2902fb(0x15d)][_0x2902fb(0x156)],'editorConfig':this[_0x2902fb(0x15d)][_0x2902fb(0x193)],'isSystemComment':!0x0}),this[_0x2902fb(0x167)][_0x2902fb(0x187)](this[_0x2902fb(0x182)],this[_0x2902fb(0x1ae)][_0x2902fb(0x160)](_0x39de45));}else this[_0x2902fb(0x182)]&&(this[_0x2902fb(0x167)][_0x2902fb(0x15a)](this[_0x2902fb(0x182)]),this[_0x2902fb(0x182)][_0x2902fb(0x19f)](),this[_0x2902fb(0x182)]=null);this[_0x2902fb(0x15c)]();}[_0x575885(0x16a)](_0x3b16c5){const _0x157f18=_0x575885,_0x241e18=this[_0x157f18(0x167)][_0x157f18(0x15a)](_0x3b16c5['id']);this[_0x157f18(0x19a)](_0x241e18),_0x241e18[_0x157f18(0x180)]&&this[_0x157f18(0x1a9)](),_0x241e18[_0x157f18(0x19f)]();}[_0x575885(0x1a9)](){const _0x442aa3=_0x575885;this[_0x442aa3(0x184)]=Array[_0x442aa3(0x1ad)](this[_0x442aa3(0x167)])[_0x442aa3(0x179)](_0x206377=>_0x206377[_0x442aa3(0x180)]);}[_0x575885(0x1aa)](){const _0x427f3a=_0x575885,_0x3286bc=function(_0xad51e7){const _0x42f734=_0x358d,_0x5b7ee4=new _0x28e190();for(const _0x3d11a3 of _0xad51e7)_0x5b7ee4[_0x42f734(0x187)](_0x3d11a3);return _0x5b7ee4;}(this[_0x427f3a(0x167)]),_0x1b6774=this[_0x427f3a(0x17a)][_0x427f3a(0x196)];for(let _0x3b88e4=0x1;_0x3b88e4<=_0x1b6774;_0x3b88e4++)_0x3286bc[_0x427f3a(0x15a)](0x1);for(const _0x3a4a67 of _0x3286bc)_0x3a4a67[_0x427f3a(0x161)]();_0x1b6774>0x0&&_0x3286bc[_0x427f3a(0x187)](this[_0x427f3a(0x17a)],0x1),ms(_0x185275(Array[_0x427f3a(0x1ad)](this[_0x427f3a(0x177)]),Array[_0x427f3a(0x1ad)](_0x3286bc)),this[_0x427f3a(0x177)],_0x3286bc);}[_0x575885(0x18e)](){const _0x3467fa=_0x575885;ms(_0x185275(Array[_0x3467fa(0x1ad)](this[_0x3467fa(0x177)]),Array[_0x3467fa(0x1ad)](this[_0x3467fa(0x167)])),this[_0x3467fa(0x177)],this[_0x3467fa(0x167)]);for(const _0x4b9f39 of this[_0x3467fa(0x177)])_0x4b9f39[_0x3467fa(0x17d)]();}[_0x575885(0x1af)](){const _0x2691b7=_0x575885;this[_0x2691b7(0x167)][_0x2691b7(0x17f)](_0x4172f9=>{const _0x50f6d9=_0x2691b7;this[_0x50f6d9(0x157)][_0x50f6d9(0x187)](_0x4172f9[_0x50f6d9(0x1a8)]),this[_0x50f6d9(0x16f)][_0x50f6d9(0x183)](_0x4172f9[_0x50f6d9(0x1a8)]);}),this[_0x2691b7(0x167)]['on'](_0x2691b7(0x19d),(_0x11e6d8,_0xb9eec0)=>{const _0x1bad21=_0x2691b7;for(const _0x40d7cd of _0xb9eec0[_0x1bad21(0x152)])this[_0x1bad21(0x157)][_0x1bad21(0x15a)](_0x40d7cd[_0x1bad21(0x1a8)]),this[_0x1bad21(0x16f)][_0x1bad21(0x19a)](_0x40d7cd[_0x1bad21(0x1a8)]);for(const _0x375fce of Array[_0x1bad21(0x1ad)](_0xb9eec0[_0x1bad21(0x16b)])[_0x1bad21(0x154)]())this[_0x1bad21(0x157)][_0x1bad21(0x187)](_0x375fce[_0x1bad21(0x1a8)]),this[_0x1bad21(0x16f)][_0x1bad21(0x183)](_0x375fce[_0x1bad21(0x1a8)]);});}}function ms(_0x28fbf1,_0x4eb3c1,_0x281200){const _0x1ff5dd=_0x575885;let _0x37d6fb=0x0;for(const _0x52889d of _0x28fbf1)switch(_0x52889d){case _0x1ff5dd(0x158):_0x4eb3c1[_0x1ff5dd(0x187)](_0x281200[_0x1ff5dd(0x165)](_0x37d6fb),_0x37d6fb),_0x37d6fb++;break;case _0x1ff5dd(0x181):_0x4eb3c1[_0x1ff5dd(0x15a)](_0x37d6fb);break;case _0x1ff5dd(0x186):_0x37d6fb++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1247cf=_0x58b6;function _0x58b6(_0x37fda1,_0x31e6bc){const _0x22981f=_0x2298();return _0x58b6=function(_0x58b672,_0x3a1213){_0x58b672=_0x58b672-0xba;let _0x14034a=_0x22981f[_0x58b672];return _0x14034a;},_0x58b6(_0x37fda1,_0x31e6bc);}function _0x2298(){const _0x2c049b=['1626360cEsZWo','212268WXgCxo','770RJVFry','35OocSwk','span','THREAD_CONTEXT_LABEL','2043XYrrJY','focus','set','315jYlZYe','165606YjYHms','254204xEjpNa','4300pxZWrk','element','contextValue','ck-context__value','1212040NrsqgM','bindTemplate','setTemplate'];_0x2298=function(){return _0x2c049b;};return _0x2298();}(function(_0x2a1152,_0x2c96c0){const _0x509079=_0x58b6,_0x324db0=_0x2a1152();while(!![]){try{const _0xcb75e0=-parseInt(_0x509079(0xc0))/0x1+parseInt(_0x509079(0xca))/0x2*(parseInt(_0x509079(0xbb))/0x3)+parseInt(_0x509079(0xc9))/0x4+parseInt(_0x509079(0xc8))/0x5+-parseInt(_0x509079(0xbf))/0x6*(parseInt(_0x509079(0xcb))/0x7)+parseInt(_0x509079(0xc5))/0x8+-parseInt(_0x509079(0xbe))/0x9*(parseInt(_0x509079(0xc1))/0xa);if(_0xcb75e0===_0x2c96c0)break;else _0x324db0['push'](_0x324db0['shift']());}catch(_0x1a4932){_0x324db0['push'](_0x324db0['shift']());}}}(_0x2298,0x5df02));import{View as _0x4e3948}from'ckeditor5/src/ui.js';import{getTranslation as _0x500b92}from'../../../utils/common-translations.js';export default class ls extends _0x4e3948{constructor(_0x38a60c){const _0x39b7ae=_0x58b6;super(_0x38a60c);const _0x590553=this[_0x39b7ae(0xc6)];this[_0x39b7ae(0xbd)](_0x39b7ae(0xc3),''),this[_0x39b7ae(0xc7)]({'tag':_0x39b7ae(0xcc),'attributes':{'class':['ck',_0x39b7ae(0xc4)],'aria-label':_0x590553['to'](_0x39b7ae(0xc3),_0x2c531f=>_0x500b92(_0x38a60c,_0x39b7ae(0xba),_0x2c531f)),'tabindex':-0x1},'children':[{'text':_0x590553['to'](_0x39b7ae(0xc3))}]});}[_0x1247cf(0xbc)](){const _0x5e539f=_0x1247cf;this[_0x5e539f(0xc2)][_0x5e539f(0xbc)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x306c56=_0x531f;function _0x4103(){const _0x2f8501=['_setupKeyboardNavigation','10uNFPpc','ck-thread__header','tab','focusCycler','bind','586530XHdXcO','mouseenter','isResolved','icon','render','reopenCommentThread','length','_model','remove','isResolvable','isEnabled','fire','reopenButtonView','2410100aCIeOS','focus','scrollWidth','26298lLpmjl','shift+tab','ck-context','338914hjsnrx','lastIndexOf','mouseleave','value','locale','ck-context-wrapper','add','contextView','div','Reopen','38248PrEsBp','3354784tzFFiD','focusTracker','.ck-context','focusables','overlay','.ck-context__value','offsetWidth','execute','isReadOnly','_createReopenButton','_createContextView','hasContext','contextValue','bindTemplate','context','keystrokes','Comment\x20was\x20made\x20on\x20an\x20element','ck-context--quotes','listenTo','...','querySelector','ck-annotation__actions','substring','focusFirst','createCollection','111NWNNhB','setTemplate','isVisible','element','classList','_attachContextActions','14746635bAezpD','462YDpUKb','label','tooltip','_trimContextValue'];_0x4103=function(){return _0x2f8501;};return _0x4103();}(function(_0x4a78ba,_0x2a3c47){const _0x5a2956=_0x531f,_0x429c05=_0x4a78ba();while(!![]){try{const _0x17a522=parseInt(_0x5a2956(0x124))/0x1+-parseInt(_0x5a2956(0x137))/0x2+-parseInt(_0x5a2956(0x15b))/0x3*(-parseInt(_0x5a2956(0x141))/0x4)+parseInt(_0x5a2956(0x131))/0x5+parseInt(_0x5a2956(0x134))/0x6*(parseInt(_0x5a2956(0x162))/0x7)+parseInt(_0x5a2956(0x142))/0x8+-parseInt(_0x5a2956(0x161))/0x9*(parseInt(_0x5a2956(0x11f))/0xa);if(_0x17a522===_0x2a3c47)break;else _0x429c05['push'](_0x429c05['shift']());}catch(_0x2b5c20){_0x429c05['push'](_0x429c05['shift']());}}}(_0x4103,0x4edb6));import{View as _0x458dab,ButtonView as _0x5c976b,FocusCycler as _0x44cbd4}from'ckeditor5/src/ui.js';import{FocusTracker as _0x198e84,KeystrokeHandler as _0x32c8e3}from'ckeditor5/src/utils.js';import{getTranslation as _0x2ebb6e}from'../../../utils/common-translations.js';import _0x29ac7e from'../../../../theme/icons/undo.svg';import _0x345122 from'./commentthreadheadercontextview.js';function _0x531f(_0x4bda59,_0x51648a){const _0x41033a=_0x4103();return _0x531f=function(_0x531fd3,_0x45c451){_0x531fd3=_0x531fd3-0x11c;let _0x48dc91=_0x41033a[_0x531fd3];return _0x48dc91;},_0x531f(_0x4bda59,_0x51648a);}export const MAX_CONTENT_LENGTH=0x96;export default class ts extends _0x458dab{constructor(_0x378b08,_0xa6d5f6){const _0x1076f4=_0x531f;super(_0x378b08);const _0x3d7901=this[_0x1076f4(0x14f)];this[_0x1076f4(0x12b)]=_0xa6d5f6,this[_0x1076f4(0x130)]=this[_0x1076f4(0x14b)](),this[_0x1076f4(0x13e)]=this[_0x1076f4(0x14c)](),this[_0x1076f4(0x145)]=this[_0x1076f4(0x15a)]([this[_0x1076f4(0x13e)],this[_0x1076f4(0x130)]]),this[_0x1076f4(0x143)]=new _0x198e84(),this[_0x1076f4(0x151)]=new _0x32c8e3(),this[_0x1076f4(0x122)]=new _0x44cbd4({'focusables':this[_0x1076f4(0x145)],'focusTracker':this[_0x1076f4(0x143)],'keystrokeHandler':this[_0x1076f4(0x151)],'actions':{'focusPrevious':_0x1076f4(0x135),'focusNext':_0x1076f4(0x121)}}),this[_0x1076f4(0x123)](_0x1076f4(0x14d))['to'](this[_0x1076f4(0x12b)],_0x1076f4(0x150),_0x43e5d8=>!!_0x43e5d8),this[_0x1076f4(0x123)](_0x1076f4(0x14e))['to'](this[_0x1076f4(0x12b)],_0x1076f4(0x150),_0xac8c05=>_0xac8c05&&_0xac8c05[_0x1076f4(0x13a)]?this[_0x1076f4(0x11d)](_0xac8c05[_0x1076f4(0x13a)]):_0x2ebb6e(this[_0x1076f4(0x13b)],_0x1076f4(0x152))),this[_0x1076f4(0x15c)]({'tag':_0x1076f4(0x13f),'attributes':{'class':[_0x1076f4(0x120)]},'children':[{'tag':_0x1076f4(0x13f),'attributes':{'class':[_0x1076f4(0x13c)]},'children':[{'tag':_0x1076f4(0x13f),'attributes':{'class':[_0x1076f4(0x136),_0x3d7901['if'](_0x1076f4(0x14d),_0x1076f4(0x153))]},'children':[this[_0x1076f4(0x13e)]]}]},{'tag':_0x1076f4(0x13f),'attributes':{'class':[_0x1076f4(0x157)]},'children':[this[_0x1076f4(0x130)]]}]});}[_0x306c56(0x128)](){const _0x4c7490=_0x306c56;super[_0x4c7490(0x128)](),this[_0x4c7490(0x160)](),this[_0x4c7490(0x11e)]();}[_0x306c56(0x132)](){const _0x198690=_0x306c56;this[_0x198690(0x122)][_0x198690(0x159)]();}[_0x306c56(0x14b)](){const _0xde6a74=_0x306c56,_0x56d776=new _0x5c976b(this[_0xde6a74(0x13b)]);return _0x56d776[_0xde6a74(0x163)]=_0x2ebb6e(this[_0xde6a74(0x13b)],_0xde6a74(0x140)),_0x56d776[_0xde6a74(0x11c)]=_0x2ebb6e(this[_0xde6a74(0x13b)],_0xde6a74(0x140)),_0x56d776[_0xde6a74(0x127)]=_0x29ac7e,_0x56d776[_0xde6a74(0x123)](_0xde6a74(0x12e))['to'](this[_0xde6a74(0x12b)],_0xde6a74(0x14a),_0x1c8323=>!_0x1c8323),_0x56d776[_0xde6a74(0x123)](_0xde6a74(0x15d))['to'](this[_0xde6a74(0x12b)],_0xde6a74(0x12d),this[_0xde6a74(0x12b)],_0xde6a74(0x126),(_0x8cbdc9,_0x2ee513)=>_0x8cbdc9&&_0x2ee513),_0x56d776['on'](_0xde6a74(0x149),()=>{const _0x5c4812=_0xde6a74;this[_0x5c4812(0x12f)](_0x5c4812(0x129),this[_0x5c4812(0x12b)]['id']);}),_0x56d776;}[_0x306c56(0x11d)](_0x5d1ccc){const _0x1fc9d0=_0x306c56;if(_0x5d1ccc[_0x1fc9d0(0x12a)]<0x96)return _0x5d1ccc;const _0x4d1202=_0x5d1ccc[_0x1fc9d0(0x138)]('\x20',0x93);return _0x5d1ccc[_0x1fc9d0(0x158)](0x0,_0x4d1202>-0x1?_0x4d1202:0x93)+_0x1fc9d0(0x155);}[_0x306c56(0x160)](){const _0x4aa24b=_0x306c56,_0x2b8e26=this[_0x4aa24b(0x15e)][_0x4aa24b(0x156)](_0x4aa24b(0x144)),_0x58a17c=_0x2b8e26[_0x4aa24b(0x156)](_0x4aa24b(0x147));this[_0x4aa24b(0x154)](_0x2b8e26,_0x4aa24b(0x125),()=>{const _0x2be354=_0x4aa24b;_0x58a17c[_0x2be354(0x148)]<_0x58a17c[_0x2be354(0x133)]&&_0x2b8e26[_0x2be354(0x15f)][_0x2be354(0x13d)](_0x2be354(0x146));}),this[_0x4aa24b(0x154)](_0x2b8e26,_0x4aa24b(0x139),()=>{const _0x9b8373=_0x4aa24b;_0x2b8e26[_0x9b8373(0x15f)][_0x9b8373(0x12c)](_0x9b8373(0x146));});}[_0x306c56(0x11e)](){const _0x2dfbdd=_0x306c56;this[_0x2dfbdd(0x151)][_0x2dfbdd(0x154)](this[_0x2dfbdd(0x15e)]);for(const _0x54ce70 of this[_0x2dfbdd(0x145)])this[_0x2dfbdd(0x143)][_0x2dfbdd(0x13d)](_0x54ce70[_0x2dfbdd(0x15e)]),this[_0x2dfbdd(0x151)][_0x2dfbdd(0x154)](_0x54ce70[_0x2dfbdd(0x15e)]);}[_0x306c56(0x14c)](){const _0x3660c5=_0x306c56,_0x5a32d0=new _0x345122(this[_0x3660c5(0x13b)]);return _0x5a32d0[_0x3660c5(0x123)](_0x3660c5(0x14e))['to'](this),_0x5a32d0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4aaa8d=_0x234c;(function(_0x53439a,_0x52b0f9){const _0x58ebe4=_0x234c,_0x17542a=_0x53439a();while(!![]){try{const _0x8e909a=-parseInt(_0x58ebe4(0xa0))/0x1+parseInt(_0x58ebe4(0x94))/0x2*(-parseInt(_0x58ebe4(0xb4))/0x3)+-parseInt(_0x58ebe4(0xa5))/0x4+parseInt(_0x58ebe4(0x97))/0x5+parseInt(_0x58ebe4(0xa8))/0x6*(parseInt(_0x58ebe4(0x8a))/0x7)+parseInt(_0x58ebe4(0x93))/0x8*(-parseInt(_0x58ebe4(0xac))/0x9)+parseInt(_0x58ebe4(0x8e))/0xa;if(_0x8e909a===_0x52b0f9)break;else _0x17542a['push'](_0x17542a['shift']());}catch(_0x2552f8){_0x17542a['push'](_0x17542a['shift']());}}}(_0x30b2,0x3a804));import{View as _0x3d4513}from'ckeditor5/src/ui.js';import _0x11c9f0 from'./commentinputview.js';import{UserView as _0x198735}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x234c(_0x39654f,_0x274e2c){const _0x30b249=_0x30b2();return _0x234c=function(_0x234c78,_0x1e7695){_0x234c78=_0x234c78-0x86;let _0x19f5c9=_0x30b249[_0x234c78];return _0x19f5c9;},_0x234c(_0x39654f,_0x274e2c);}function _0x30b2(){const _0x20f4de=['1034289uMayJo','createEditor','delegate','focusTracker','editorReady','bind','contains','filter','547854NOZUIn','mousedown','listenTo','editor','target','getDomRoot','then','ck-thread__user','3360GEnJMT','ck-thread__input','editorDestroyed','ck-comment__input-container--active','7655950PypEHK','showInput','isFocused','render','destroy','16qFztsn','4EHcRkh','ck-comment__input-container','extendTemplate','503640umTMfR','element','commentInputView','editing','change:showInput','userView','set','value','div','152505IkWRuR','some','showButtons','bindTemplate','view','758720mLudYo','preventDefault','_focusOnNonInteractiveMouseDown','3882RNhbaf','focus','setTemplate','focusCycler'];_0x30b2=function(){return _0x20f4de;};return _0x30b2();}export default class kt extends _0x3d4513{constructor(_0x1a42d5,_0x30adf9,_0x279703){const _0x31414b=_0x234c;super(_0x1a42d5),this[_0x31414b(0x99)]=new _0x11c9f0(_0x1a42d5,_0x279703),this[_0x31414b(0xab)]=this[_0x31414b(0x99)][_0x31414b(0xab)],this[_0x31414b(0x99)][_0x31414b(0xb1)](_0x31414b(0xa2))['to'](this[_0x31414b(0x99)][_0x31414b(0xaf)],_0x31414b(0x90),this[_0x31414b(0x99)],_0x31414b(0x9e),(_0x552681,_0xfac37f)=>_0x552681||!!_0xfac37f),this[_0x31414b(0x9d)](_0x31414b(0x8f),!0x1),this['on'](_0x31414b(0x9b),()=>{const _0x541494=_0x31414b;this[_0x541494(0x8f)]&&!this[_0x541494(0x99)][_0x541494(0xb7)]&&this[_0x541494(0x99)][_0x541494(0xad)]();}),this[_0x31414b(0x99)][_0x31414b(0xae)](_0x31414b(0xb0))['to'](this),this[_0x31414b(0x99)][_0x31414b(0xae)](_0x31414b(0x8c))['to'](this),this[_0x31414b(0x9c)]=new _0x198735(_0x1a42d5,_0x30adf9),this[_0x31414b(0x9c)][_0x31414b(0x96)]({'attributes':{'class':_0x31414b(0x89),'aria-hidden':!0x0}}),this[_0x31414b(0x99)][_0x31414b(0x96)]({'attributes':{'class':_0x31414b(0x8b)}}),this[_0x31414b(0xaa)]({'tag':_0x31414b(0x9f),'attributes':{'class':[_0x31414b(0x95),this[_0x31414b(0xa3)]['if'](_0x31414b(0x8f),_0x31414b(0x8d))]},'children':[this[_0x31414b(0x9c)],this[_0x31414b(0x99)]]});}[_0x4aaa8d(0x91)](){const _0x3538b5=_0x4aaa8d;super[_0x3538b5(0x91)](),this[_0x3538b5(0xa7)]();}[_0x4aaa8d(0x92)](){const _0x4bc552=_0x4aaa8d;return this[_0x4bc552(0x99)][_0x4bc552(0x92)]()[_0x4bc552(0x88)](()=>super[_0x4bc552(0x92)]());}[_0x4aaa8d(0xa9)](_0x1af7a1){const _0x290fd7=_0x4aaa8d;this[_0x290fd7(0x99)][_0x290fd7(0xa9)](_0x1af7a1);}[_0x4aaa8d(0xa7)](){const _0x20fc0d=_0x4aaa8d;this[_0x20fc0d(0xb6)](this[_0x20fc0d(0x98)],_0x20fc0d(0xb5),(_0x5d04f5,_0x5cbfe1)=>{const _0xffa41d=_0x20fc0d,{submitButtonView:_0x52fc83,cancelButtonView:_0x3b8990,editor:_0x949aed}=this[_0xffa41d(0x99)];[_0x52fc83[_0xffa41d(0x98)],_0x3b8990[_0xffa41d(0x98)],_0x949aed?_0x949aed[_0xffa41d(0x9a)][_0xffa41d(0xa4)][_0xffa41d(0x87)]():null][_0xffa41d(0xb3)](_0x27e2e5=>_0x27e2e5)[_0xffa41d(0xa1)](_0x31f113=>_0x31f113[_0xffa41d(0xb2)](_0x5cbfe1[_0xffa41d(0x86)]))||(this[_0xffa41d(0xa9)](),_0x5cbfe1[_0xffa41d(0xa6)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x309042=_0x8fdb;(function(_0x531667,_0x421e34){const _0x52ee4e=_0x8fdb,_0x2d8ff1=_0x531667();while(!![]){try{const _0x5c1c3d=parseInt(_0x52ee4e(0xc7))/0x1+parseInt(_0x52ee4e(0xb1))/0x2*(parseInt(_0x52ee4e(0xe6))/0x3)+parseInt(_0x52ee4e(0xae))/0x4*(-parseInt(_0x52ee4e(0xe7))/0x5)+parseInt(_0x52ee4e(0xce))/0x6*(-parseInt(_0x52ee4e(0xc1))/0x7)+-parseInt(_0x52ee4e(0xad))/0x8*(-parseInt(_0x52ee4e(0xd0))/0x9)+parseInt(_0x52ee4e(0xdb))/0xa+parseInt(_0x52ee4e(0xd6))/0xb*(parseInt(_0x52ee4e(0xcb))/0xc);if(_0x5c1c3d===_0x421e34)break;else _0x2d8ff1['push'](_0x2d8ff1['shift']());}catch(_0x340b4f){_0x2d8ff1['push'](_0x2d8ff1['shift']());}}}(_0x5ad7,0xda27c));import{ConfirmMixin as _0x419dd2,LateFocusButtonView as _0x4bad70}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x4a43a6}from'ckeditor5/src/core.js';import _0x50e66b from'./basecommentthreadview.js';function _0x5ad7(){const _0x209b32=['setTemplate','remove','bindTemplate','ck-reset_all-excluded','ariaLabel','ck-rounded-corners','isConfirm','commentThreadChildren','check','render','showConfirm','removeButton','Resolve','then','fire','isResolved','icon','containerElement','ck-thread--remove-confirmation','_model','resolveCommentThread','commentThreadHeaderView','5064XXdAQF','40XeKjYM','_boundFirstCommentView','element','1168486fKjHda','isUnlinked','_cancelAllConfirms','commentsListView','getTemplate','change:archivedAt','change:isReadOnly','execute','isActive','listenTo','actionBar','length','commentThreadInputView','focus','change:isActive','ck-thread--unlinked','42oqdbyG','isVisible','Delete\x20comment\x20thread?','isReadOnly','listitem','actionIndicator','78837RUFnBv','div','get','focusables','245232yMdiWb','_updateArchivedThreadHeader','stop','1552014yIrvCe','has','1899dxaAEp','high','removeCommentThread','Write\x20a\x20comment...','cancelConfirm','ck-thread--active','121mHXMcp','_createResolveButton','extendTemplate','resolveButton','set','16552830axPLCk','archivedAt','.ck-thread__container','unbind','ck-thread--','isSystemComment','bind','add','tooltip','ck-thread__container','label','9zlabqg','699815WdjCpd','ck-comment--resolve','querySelector','locale','ariaDescriptionView','isEnabled','removeConfirm','createCollection','ck-thread','isResolvable','placeholder','commentViews','_bindFirstCommentView'];_0x5ad7=function(){return _0x209b32;};return _0x5ad7();}function _0x8fdb(_0x420902,_0x3d7934){const _0x5ad761=_0x5ad7();return _0x8fdb=function(_0x8fdb08,_0x415fbd){_0x8fdb08=_0x8fdb08-0x9f;let _0x406430=_0x5ad761[_0x8fdb08];return _0x406430;},_0x8fdb(_0x420902,_0x3d7934);}import{getTranslation as _0x392bff}from'../../../utils/common-translations.js';export default class Ct extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x419dd2(_0x50e66b){constructor(_0x2509d9,_0x1349a6,_0x2f2f30,_0x2df5b2){const _0x2c4a63=_0x8fdb;super(_0x2509d9,_0x1349a6,_0x2f2f30,_0x2df5b2),this[_0x2c4a63(0xfb)]=this[_0x2c4a63(0xee)]([this[_0x2c4a63(0xb4)],this[_0x2c4a63(0xbd)],this[_0x2c4a63(0xeb)]]),this[_0x2c4a63(0xda)](_0x2c4a63(0xc6),null),this[_0x2c4a63(0xa8)]=null,this[_0x2c4a63(0xaf)]=null,this[_0x2c4a63(0xea)]=_0x2509d9,this[_0x2c4a63(0xd9)]=this[_0x2c4a63(0xd7)](),this[_0x2c4a63(0xf4)](this[_0x2c4a63(0xb5)]()),this['on'](_0x2c4a63(0xbf),(_0x183ed7,_0x3d108d,_0x4a42af)=>{const _0x478b7f=_0x2c4a63;_0x4a42af||this[_0x478b7f(0xb3)]();}),this[_0x2c4a63(0xba)](this[_0x2c4a63(0xaa)],_0x2c4a63(0xb7),(_0x598be0,_0x396bbd,_0x5a6eba)=>{const _0x535653=_0x2c4a63;_0x5a6eba&&this[_0x535653(0xb3)]();}),this[_0x2c4a63(0xbc)]>0x0&&this[_0x2c4a63(0xf3)](),this[_0x2c4a63(0xba)](this[_0x2c4a63(0xb4)][_0x2c4a63(0xf2)],_0x2c4a63(0xe2),()=>{const _0x346c7c=_0x2c4a63;this[_0x346c7c(0xf3)]();});}[_0x309042(0xb5)](){const _0x380ac8=_0x309042,_0x1c5fdf=this[_0x380ac8(0xf6)];return{'tag':_0x380ac8(0xc8),'attributes':{'class':['ck',_0x380ac8(0xef),_0x380ac8(0xf7),_0x380ac8(0xf9),_0x1c5fdf['if'](_0x380ac8(0xb9),_0x380ac8(0xd5)),_0x1c5fdf['if'](_0x380ac8(0xb2),_0x380ac8(0xc0)),_0x1c5fdf['if'](_0x380ac8(0xfa),_0x380ac8(0xa9)),_0x1c5fdf['to'](_0x380ac8(0xc6),_0x4ffcfe=>_0x4ffcfe?_0x380ac8(0xdf)+_0x4ffcfe:'')],'data-thread-id':this[_0x380ac8(0xaa)]['id'],'tabindex':0x0,'role':_0x380ac8(0xc5),'aria-label':_0x1c5fdf['to'](_0x380ac8(0xf8)),'aria-describedby':this[_0x380ac8(0xeb)]['id']},'children':[{'tag':_0x380ac8(0xc8),'attributes':{'class':_0x380ac8(0xe4)},'children':this[_0x380ac8(0xfb)]}]};}[_0x309042(0xa0)](){const _0x225ea9=_0x309042;super[_0x225ea9(0xa0)](),this[_0x225ea9(0xa8)]=this[_0x225ea9(0xb0)][_0x225ea9(0xe9)](_0x225ea9(0xdd)),this[_0x225ea9(0xaa)]['on'](_0x225ea9(0xb6),()=>{const _0x39d1ff=_0x225ea9;this[_0x39d1ff(0xcc)]();}),this[_0x225ea9(0xcc)]();}[_0x309042(0xb3)](){const _0x841429=_0x309042;this[_0x841429(0xd4)]();for(const _0x23f661 of this[_0x841429(0xb4)][_0x841429(0xf2)])_0x23f661[_0x841429(0xd4)]();}[_0x309042(0xf3)](){const _0x2281fa=_0x309042,{locale:_0x14051e}=this,_0x43d85e=this[_0x2281fa(0xb4)][_0x2281fa(0xf2)][_0x2281fa(0xc9)](0x0);_0x43d85e===this[_0x2281fa(0xaf)]||_0x43d85e[_0x2281fa(0xe0)]||(this[_0x2281fa(0xaf)]=_0x43d85e,this[_0x2281fa(0xde)](_0x2281fa(0xc6)),this[_0x2281fa(0xe1)](_0x2281fa(0xc6))['to'](_0x43d85e,_0x2281fa(0xc6),_0x476c17=>_0x2281fa(0xf5)===_0x476c17?_0x2281fa(0xf5):null),_0x43d85e[_0x2281fa(0xf1)]=_0x392bff(_0x14051e,_0x2281fa(0xd3)),_0x43d85e[_0x2281fa(0xa2)]['on'](_0x2281fa(0xb8),_0x58ca45=>{const _0x307938=_0x2281fa;_0x58ca45[_0x307938(0xcd)](),this[_0x307938(0xa1)](_0x392bff(_0x14051e,_0x307938(0xc3)),this[_0x307938(0xa8)])[_0x307938(0xa4)](()=>{const _0x2a6d6f=_0x307938;this[_0x2a6d6f(0xa5)](_0x2a6d6f(0xd2));});},{'priority':_0x2281fa(0xd1)}),this['on'](_0x2281fa(0xed),()=>{const _0x5f294e=_0x2281fa;_0x43d85e[_0x5f294e(0xbe)]();}),_0x43d85e[_0x2281fa(0xbb)][_0x2281fa(0xe2)](this[_0x2281fa(0xd9)],0x0),_0x43d85e[_0x2281fa(0xca)][_0x2281fa(0xe2)](this[_0x2281fa(0xd9)],0x0));}[_0x309042(0xd7)](){const _0x277ecd=_0x309042,_0x1ab1c0=new _0x4bad70(this[_0x277ecd(0xea)]);return _0x1ab1c0[_0x277ecd(0xe5)]=_0x392bff(this[_0x277ecd(0xea)],_0x277ecd(0xa3)),_0x1ab1c0[_0x277ecd(0xe3)]=_0x392bff(this[_0x277ecd(0xea)],_0x277ecd(0xa3)),_0x1ab1c0[_0x277ecd(0xa7)]=_0x4a43a6[_0x277ecd(0x9f)],_0x1ab1c0[_0x277ecd(0xd8)]({'attributes':{'class':_0x277ecd(0xe8)}}),_0x1ab1c0[_0x277ecd(0xe1)](_0x277ecd(0xec))['to'](this[_0x277ecd(0xaa)],_0x277ecd(0xc4),_0x3726aa=>!_0x3726aa),_0x1ab1c0[_0x277ecd(0xe1)](_0x277ecd(0xc2))['to'](this[_0x277ecd(0xaa)],_0x277ecd(0xf0),this[_0x277ecd(0xaa)],_0x277ecd(0xa6),(_0x38aaa2,_0x2bc40e)=>_0x38aaa2&&!_0x2bc40e),_0x1ab1c0['on'](_0x277ecd(0xb8),()=>{const _0x372e92=_0x277ecd;this[_0x372e92(0xa5)](_0x372e92(0xab),this[_0x372e92(0xaa)]['id']);}),_0x1ab1c0;}[_0x309042(0xcc)](){const _0x34c8ae=_0x309042;this[_0x34c8ae(0xaa)][_0x34c8ae(0xdc)]?this[_0x34c8ae(0xfb)][_0x34c8ae(0xcf)](this[_0x34c8ae(0xac)])||(this[_0x34c8ae(0xfb)][_0x34c8ae(0xe2)](this[_0x34c8ae(0xac)],0x0),this[_0x34c8ae(0xca)][_0x34c8ae(0xe2)](this[_0x34c8ae(0xac)],0x0)):this[_0x34c8ae(0xfb)][_0x34c8ae(0xcf)](this[_0x34c8ae(0xac)])&&(this[_0x34c8ae(0xfb)][_0x34c8ae(0xf5)](this[_0x34c8ae(0xac)]),this[_0x34c8ae(0xca)][_0x34c8ae(0xf5)](this[_0x34c8ae(0xac)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x2f44(){const _0x5e2efa=['ck-annotation__content-wrapper','_model','editButton','3103635tCszgR','ck-comment__external','extendTemplate','2833144IADGqt','ck-comment__info-name','ck-annotation__info-time','pencil','setTemplate','push','getUserViewNotificationText','change:isRemovable','ariaLabel','focus','unbind','isRemovable','length','panelPosition','execute','mouseleave','getTemplate','add','element','18xWlqsV','resolvedAt','actionIndicator','ck-comment','isEditable','find','_config','11802850ULLAxh','ck-annotation__info','time','userView','Show\x20more\x20items','_createCommentInputView','name','div','author','listitem','addMany','mouseenter','then','ck-comment__actions--hidden','ck-comment--edit','_attachActions','ck-annotation','508dkijDH','isVisible','ck-comment__main','ck-hidden','isReadOnly','ck-comment__user','dropdown','ck-annotation__user','blur','ck-annotation__actions--hidden','Edit','_createDropdown','ck-annotation__info-name','edit','ck-comment--info','ck-comment__actions','cancelConfirm','set','Delete\x20comment?','ck-comment__info-time','some','icon','items','authoredAt','ck-comment__wrapper','12802680uiFplj','3080ZHiEfv','switchToEditMode','threeVerticalDots','Reply...','removeButton','_createEditButton','showConfirm','996DbLrYi','toMany','children','placeholder','bindTemplate','visibleView','label','_createRemoveButton','ck-annotation__actions','ck-annotation__main','bind','isSystemComment','removeComment','locale','panelView','buttonView','formatDateTime','listenTo','withText','actionBar','getExternalCommentNote','group','from','isEditMode','1684vZiJxb','isEnabled','render','ariaDescriptionView','focusables','ck-comment--remove','createCollection','span','5ewHhAP','ck-comment__info','fire','isExternal','remove','Remove','1442264XDiiFP','isConfirm','ck-comment--remove-confirmation','ck-comment--'];_0x2f44=function(){return _0x5e2efa;};return _0x2f44();}const _0x12910d=_0x5b19;(function(_0x34204b,_0x5b984c){const _0x138307=_0x5b19,_0x18ada6=_0x34204b();while(!![]){try{const _0x8c64f6=-parseInt(_0x138307(0x20e))/0x1*(parseInt(_0x138307(0x1d5))/0x2)+-parseInt(_0x138307(0x223))/0x3+parseInt(_0x138307(0x226))/0x4*(-parseInt(_0x138307(0x216))/0x5)+parseInt(_0x138307(0x1f6))/0x6*(parseInt(_0x138307(0x1ef))/0x7)+parseInt(_0x138307(0x21c))/0x8*(parseInt(_0x138307(0x239))/0x9)+parseInt(_0x138307(0x240))/0xa+parseInt(_0x138307(0x1ee))/0xb;if(_0x8c64f6===_0x5b984c)break;else _0x18ada6['push'](_0x18ada6['shift']());}catch(_0x10ae6e){_0x18ada6['push'](_0x18ada6['shift']());}}}(_0x2f44,0x943e4));import{ButtonView as _0x8eb63,createDropdown as _0x42be08,ListView as _0x51e901,ListItemView as _0x20cf5f,focusChildOnDropdownOpen as _0x550745}from'ckeditor5/src/ui.js';import{icons as _0x1e8c92}from'ckeditor5/src/core.js';import{UserView as _0xcead97,ConfirmMixin as _0x23cb2c,LateFocusDropdownButtonView as _0x4c54b6}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5b19(_0x4ad73c,_0x570399){const _0x2f4449=_0x2f44();return _0x5b19=function(_0x5b1923,_0x252b12){_0x5b1923=_0x5b1923-0x1ca;let _0x14ff44=_0x2f4449[_0x5b1923];return _0x14ff44;},_0x5b19(_0x4ad73c,_0x570399);}import _0x3eff01 from'./basecommentview.js';import _0x5f01e5 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x511c81}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x23cb2c(_0x3eff01){constructor(_0x164962,_0x24512f,_0x50f73a){const _0x16ff67=_0x5b19;super(_0x164962,_0x24512f,_0x50f73a),this[_0x16ff67(0x1e6)](_0x16ff67(0x23b),null),this[_0x16ff67(0x1e6)](_0x16ff67(0x1f9),_0x511c81(_0x164962,_0x16ff67(0x1f2))),this[_0x16ff67(0x200)](_0x16ff67(0x1ec))['to'](_0x24512f),this[_0x16ff67(0x200)](_0x16ff67(0x23a))['to'](_0x24512f),this[_0x16ff67(0x209)]=this[_0x16ff67(0x214)](),this[_0x16ff67(0x201)]||(this[_0x16ff67(0x222)]=this[_0x16ff67(0x1f4)](),this[_0x16ff67(0x1f3)]=this[_0x16ff67(0x1fd)](),this[_0x16ff67(0x1eb)]=this[_0x16ff67(0x214)](),this[_0x16ff67(0x1eb)][_0x16ff67(0x1ce)]([this[_0x16ff67(0x222)],this[_0x16ff67(0x1f3)]]),this[_0x16ff67(0x1db)]=this[_0x16ff67(0x1e0)](),this[_0x16ff67(0x209)][_0x16ff67(0x237)](this[_0x16ff67(0x1db)]),this[_0x16ff67(0x212)][_0x16ff67(0x237)](this[_0x16ff67(0x1db)])),this[_0x16ff67(0x243)]=new _0xcead97(_0x164962,_0x24512f[_0x16ff67(0x1cc)],this[_0x16ff67(0x22c)]()),this[_0x16ff67(0x243)][_0x16ff67(0x225)]({'attributes':{'class':[_0x16ff67(0x1da),_0x16ff67(0x1dc)],'aria-hidden':!0x0}}),this[_0x16ff67(0x207)](_0x24512f,_0x16ff67(0x22d),()=>this[_0x16ff67(0x1e5)]()),this[_0x16ff67(0x22a)](this[_0x16ff67(0x236)]());}[_0x12910d(0x236)](){const _0x4f35df=_0x12910d,_0x5dc8b7=this[_0x4f35df(0x1fa)],_0x3660dd=[{'tag':_0x4f35df(0x1cb),'attributes':{'class':[_0x4f35df(0x217),_0x4f35df(0x241)]},'children':[{'tag':_0x4f35df(0x215),'children':[{'text':this[_0x4f35df(0x243)][_0x4f35df(0x1ca)]}],'attributes':{'class':[_0x4f35df(0x227),_0x4f35df(0x1e1)]}},{'tag':_0x4f35df(0x242),'attributes':{'datetime':_0x5dc8b7['to'](_0x4f35df(0x1ec)),'class':[_0x4f35df(0x1e8),_0x4f35df(0x228)]},'children':[{'text':_0x5dc8b7['to'](_0x4f35df(0x1ec),_0x2d89b1=>this[_0x4f35df(0x23f)][_0x4f35df(0x206)](_0x2d89b1))}]}]},{'tag':_0x4f35df(0x1cb),'attributes':{'class':[_0x4f35df(0x1e4),_0x4f35df(0x1fe),_0x5dc8b7['if'](_0x4f35df(0x20d),_0x4f35df(0x1d1)),_0x5dc8b7['if'](_0x4f35df(0x20d),_0x4f35df(0x1de))]},'children':this[_0x4f35df(0x209)]},{'tag':_0x4f35df(0x1cb),'attributes':{'class':[_0x4f35df(0x220)]},'children':this[_0x4f35df(0x1fb)]},this[_0x4f35df(0x211)]];return this[_0x4f35df(0x221)][_0x4f35df(0x219)]&&_0x3660dd[_0x4f35df(0x22b)]({'tag':_0x4f35df(0x1cb),'attributes':{'class':[_0x4f35df(0x224)]},'children':[{'text':this[_0x4f35df(0x20a)]()}]}),{'tag':'li','attributes':{'class':[_0x4f35df(0x1ed),_0x5dc8b7['if'](_0x4f35df(0x21d),_0x4f35df(0x21e))],'tabindex':-0x1,'aria-label':_0x5dc8b7['to'](_0x4f35df(0x22e)),'aria-describedby':this[_0x4f35df(0x211)]['id'],'role':_0x4f35df(0x1cd)},'children':[{'tag':_0x4f35df(0x1cb),'attributes':{'class':[_0x4f35df(0x23c),_0x4f35df(0x1d4),_0x5dc8b7['if'](_0x4f35df(0x20d),_0x4f35df(0x1d2)),_0x5dc8b7['if'](_0x4f35df(0x201),_0x4f35df(0x1e3)),_0x5dc8b7['to'](_0x4f35df(0x23b),_0x579b53=>_0x579b53?_0x4f35df(0x21f)+_0x579b53:'')],'data-author-id':this[_0x4f35df(0x221)][_0x4f35df(0x1cc)]['id'],'data-comment-id':this[_0x4f35df(0x221)]['id'],'role':_0x4f35df(0x20b)},'children':[this[_0x4f35df(0x243)],{'tag':_0x4f35df(0x1cb),'attributes':{'class':[_0x4f35df(0x1d7),_0x4f35df(0x1ff)]},'children':_0x3660dd}]}]};}[_0x12910d(0x1f4)](){const _0x17c749=_0x12910d,_0x9e2439=new _0x8eb63(this[_0x17c749(0x203)]);return _0x9e2439[_0x17c749(0x1fc)]=_0x511c81(this[_0x17c749(0x203)],_0x17c749(0x1df)),_0x9e2439[_0x17c749(0x1ea)]=_0x1e8c92[_0x17c749(0x229)],_0x9e2439[_0x17c749(0x208)]=!0x0,_0x9e2439[_0x17c749(0x225)]({'attributes':{'class':_0x17c749(0x1d2)}}),_0x9e2439[_0x17c749(0x200)](_0x17c749(0x20f))['to'](this[_0x17c749(0x221)],_0x17c749(0x1d9),_0x25675c=>!_0x25675c),_0x9e2439[_0x17c749(0x200)](_0x17c749(0x1d6))['to'](this[_0x17c749(0x221)],_0x17c749(0x23d)),_0x9e2439['on'](_0x17c749(0x234),()=>this[_0x17c749(0x1f0)]()),_0x9e2439;}[_0x12910d(0x1fd)](){const _0x4f4e09=_0x12910d,_0x17ec7e=new _0x8eb63(this[_0x4f4e09(0x203)]);return _0x17ec7e[_0x4f4e09(0x1fc)]=_0x511c81(this[_0x4f4e09(0x203)],_0x4f4e09(0x21b)),_0x17ec7e[_0x4f4e09(0x1ea)]=_0x5f01e5,_0x17ec7e[_0x4f4e09(0x208)]=!0x0,_0x17ec7e[_0x4f4e09(0x225)]({'attributes':{'class':_0x4f4e09(0x213)}}),_0x17ec7e[_0x4f4e09(0x200)](_0x4f4e09(0x20f))['to'](this[_0x4f4e09(0x221)],_0x4f4e09(0x1d9),_0x5d8748=>!_0x5d8748),_0x17ec7e[_0x4f4e09(0x200)](_0x4f4e09(0x1d6))['to'](this[_0x4f4e09(0x221)],_0x4f4e09(0x231)),_0x17ec7e['on'](_0x4f4e09(0x234),()=>{const _0x3aeed2=_0x4f4e09;this[_0x3aeed2(0x1f5)](_0x511c81(this[_0x3aeed2(0x203)],_0x3aeed2(0x1e7)),this[_0x3aeed2(0x238)])[_0x3aeed2(0x1d0)](()=>{const _0x3810af=_0x3aeed2;this[_0x3810af(0x218)](_0x3810af(0x202),this[_0x3810af(0x221)]['id']);});}),_0x17ec7e;}[_0x12910d(0x1e0)](){const _0x13e272=_0x12910d,_0x766881=_0x42be08(this[_0x13e272(0x203)],_0x4c54b6),_0x3d8363=_0x766881[_0x13e272(0x204)][_0x13e272(0x1f8)],_0x453c9a=new _0x51e901(this[_0x13e272(0x203)]),_0x3c8569=_0x766881[_0x13e272(0x1fa)];_0x550745(_0x766881,()=>this[_0x13e272(0x1eb)][_0x13e272(0x23e)](_0x3b9ed7=>_0x3b9ed7[_0x13e272(0x1d6)])),_0x766881[_0x13e272(0x225)]({'attributes':{'class':[_0x3c8569['if'](_0x13e272(0x1d6),_0x13e272(0x1d8),_0x4b9594=>!_0x4b9594)]}});const _0x2b0ad8=(_0xeaaa95,_0xfb9437=-0x1)=>{const _0x2764d4=_0x13e272,_0x4fb022=new _0x20cf5f(this[_0x2764d4(0x203)]);_0x4fb022[_0x2764d4(0x1f8)][_0x2764d4(0x237)](_0xeaaa95);const _0x447ab2=_0xfb9437>-0x1?_0xfb9437:_0x453c9a[_0x2764d4(0x1eb)][_0x2764d4(0x232)];_0x453c9a[_0x2764d4(0x1eb)][_0x2764d4(0x237)](_0x4fb022,_0x447ab2);const _0x1fd3d7=Array[_0x2764d4(0x20c)](this[_0x2764d4(0x1eb)]);_0x766881[_0x2764d4(0x230)](_0x2764d4(0x20f),_0x2764d4(0x1d6)),_0x766881[_0x2764d4(0x200)](_0x2764d4(0x20f))[_0x2764d4(0x1f7)](_0x1fd3d7,_0x2764d4(0x20f),(..._0x3afac9)=>_0x3afac9[_0x2764d4(0x1e9)](_0x32eaa7=>_0x32eaa7)),_0x766881[_0x2764d4(0x200)](_0x2764d4(0x1d6))[_0x2764d4(0x1f7)](_0x1fd3d7,_0x2764d4(0x1d6),(..._0x186b90)=>_0x186b90[_0x2764d4(0x1e9)](_0x21bb2b=>_0x21bb2b));};_0x766881[_0x13e272(0x233)]='sw',_0x766881[_0x13e272(0x205)][_0x13e272(0x1e6)]({'label':_0x511c81(this[_0x13e272(0x203)],_0x13e272(0x244)),'icon':_0x1e8c92[_0x13e272(0x1f1)]}),_0x766881[_0x13e272(0x20f)]=[...this[_0x13e272(0x1eb)]][_0x13e272(0x1e9)](_0x309fad=>_0x309fad[_0x13e272(0x20f)]),_0x766881[_0x13e272(0x205)][_0x13e272(0x1d6)]=[...this[_0x13e272(0x1eb)]][_0x13e272(0x1e9)](_0x57c902=>_0x57c902[_0x13e272(0x1d6)]);for(const _0x58dd7d of this[_0x13e272(0x1eb)])_0x2b0ad8(_0x58dd7d);return _0x3d8363[_0x13e272(0x237)](_0x453c9a),_0x766881[_0x13e272(0x207)](this[_0x13e272(0x1eb)],_0x13e272(0x237),(_0x425ca4,_0x13cd61,_0x484441)=>{_0x2b0ad8(_0x13cd61,_0x484441);}),_0x766881[_0x13e272(0x207)](this[_0x13e272(0x1eb)],_0x13e272(0x21a),(_0x2f1601,_0x4324af,_0x498abc)=>{const _0x4e97e8=_0x13e272;_0x453c9a[_0x4e97e8(0x1eb)][_0x4e97e8(0x21a)](_0x498abc);}),_0x766881;}[_0x12910d(0x1d3)](_0x47b392,_0x14bb3f){const _0xb677ed=_0x12910d,_0x47f815=_0x47b392&&_0x47b392[_0xb677ed(0x238)];_0x47f815&&(this[_0xb677ed(0x207)](_0x47f815,_0xb677ed(0x1cf),()=>this[_0xb677ed(0x23b)]=_0x14bb3f),this[_0xb677ed(0x207)](_0x47f815,_0xb677ed(0x22f),()=>this[_0xb677ed(0x23b)]=_0x14bb3f),this[_0xb677ed(0x207)](_0x47f815,_0xb677ed(0x235),()=>this[_0xb677ed(0x23b)]=null),this[_0xb677ed(0x207)](_0x47f815,_0xb677ed(0x1dd),()=>this[_0xb677ed(0x23b)]=null));}[_0x12910d(0x245)](){const _0x4f80b3=_0x12910d,_0x170f4d=super[_0x4f80b3(0x245)]();return _0x170f4d[_0x4f80b3(0x200)](_0x4f80b3(0x1f9))['to'](this),_0x170f4d;}[_0x12910d(0x210)](){const _0x155152=_0x12910d;super[_0x155152(0x210)](),this[_0x155152(0x1d3)](this[_0x155152(0x222)],_0x155152(0x1e2)),this[_0x155152(0x1d3)](this[_0x155152(0x1f3)],_0x155152(0x21a));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4533b1=_0x9f92;(function(_0x1706f1,_0x5ca3e8){var _0x457d1e=_0x9f92,_0x233e21=_0x1706f1();while(!![]){try{var _0x48d34b=parseInt(_0x457d1e(0x7b))/0x1*(parseInt(_0x457d1e(0x78))/0x2)+-parseInt(_0x457d1e(0x77))/0x3*(parseInt(_0x457d1e(0x79))/0x4)+-parseInt(_0x457d1e(0x7c))/0x5+parseInt(_0x457d1e(0x76))/0x6+parseInt(_0x457d1e(0x7d))/0x7+-parseInt(_0x457d1e(0x75))/0x8+parseInt(_0x457d1e(0x7f))/0x9;if(_0x48d34b===_0x5ca3e8)break;else _0x233e21['push'](_0x233e21['shift']());}catch(_0x1fc69e){_0x233e21['push'](_0x233e21['shift']());}}}(_0x53df,0xc8ff2));import{Plugin as _0x10e347}from'ckeditor5/src/core.js';import _0x5b197f from'./comments/commentsrepository.js';import _0x31c25d from'./comments/commentsediting.js';import _0x378f1f from'./comments/commentsui.js';import _0x1ae8d3 from'./commentsonly.js';function _0x9f92(_0x5d454f,_0x9803e){var _0x53df2a=_0x53df();return _0x9f92=function(_0x9f92e5,_0xc22735){_0x9f92e5=_0x9f92e5-0x74;var _0x5021c7=_0x53df2a[_0x9f92e5];return _0x5021c7;},_0x9f92(_0x5d454f,_0x9803e);}import _0x5839db from'./annotations/widesidebar.js';function _0x53df(){var _0x26500d=['pluginName','11054792tsHszP','2927736SXHCmN','3279fzMKju','77344GQyAWP','988caWSIb','requires','21hjCXeR','5210100JiPSoJ','3123813AFGxKy','Comments','15937155tpotgJ'];_0x53df=function(){return _0x26500d;};return _0x53df();}import _0x273895 from'./annotations/narrowsidebar.js';import _0x97d354 from'./annotations/inlineannotations.js';import _0x52a70b from'./comments/commentsarchiveui.js';import _0x379fdf from'./comments/commentsarchive.js';export default class f extends _0x10e347{static get[_0x4533b1(0x7a)](){return[_0x5b197f,_0x31c25d,_0x378f1f,_0x379fdf,_0x52a70b,_0x1ae8d3,_0x5839db,_0x273895,_0x97d354];}static get[_0x4533b1(0x74)](){var _0x33d782=_0x4533b1;return _0x33d782(0x7e);}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4789(_0x4aa65b,_0x47d927){const _0x55568d=_0x5556();return _0x4789=function(_0x478908,_0x372d3e){_0x478908=_0x478908-0x1d5;let _0x853277=_0x55568d[_0x478908];return _0x853277;},_0x4789(_0x4aa65b,_0x47d927);}const _0x2e4068=_0x4789;(function(_0x3eaf6d,_0x423758){const _0xd9ce9f=_0x4789,_0x260864=_0x3eaf6d();while(!![]){try{const _0x9cc8d0=parseInt(_0xd9ce9f(0x1f3))/0x1+parseInt(_0xd9ce9f(0x1dd))/0x2+-parseInt(_0xd9ce9f(0x1f7))/0x3*(parseInt(_0xd9ce9f(0x1fc))/0x4)+-parseInt(_0xd9ce9f(0x1de))/0x5+parseInt(_0xd9ce9f(0x1e8))/0x6*(-parseInt(_0xd9ce9f(0x1ec))/0x7)+-parseInt(_0xd9ce9f(0x1f5))/0x8+-parseInt(_0xd9ce9f(0x1d8))/0x9*(-parseInt(_0xd9ce9f(0x1eb))/0xa);if(_0x9cc8d0===_0x423758)break;else _0x260864['push'](_0x260864['shift']());}catch(_0x11cc5b){_0x260864['push'](_0x260864['shift']());}}}(_0x5556,0xd7168));function _0x5556(){const _0x401dab=['plugins','_enableCommentsOnlyMode','set','afterInit','4hACcqC','pluginName','CommentsOnly','clearForceDisabled','addCommentThread','commands','42430779GMKcoZ','config','stop','commentsOnly','DragDrop','1051148QsuYKO','7712755HQkrvY','cut','clipboardInput','editing','isEnabled','get','affectsData','change:isEnabled','view','forceDisabled','12UXqYFP','document','requires','10OLsmGM','3077144TLdyCA','editor','highest','_disableCommentsOnlyMode','listenTo','has','stopListening','22645jCISyE','delete','3771400VkTvOV','commentsOnlyMode','4465770RNGEJZ'];_0x5556=function(){return _0x401dab;};return _0x5556();}import{Plugin as _0x3f2383}from'ckeditor5/src/core.js';import _0x3f41ae from'./comments/commentsediting.js';export default class e extends _0x3f2383{static get[_0x2e4068(0x1fd)](){const _0x18e2e1=_0x2e4068;return _0x18e2e1(0x1fe);}static get[_0x2e4068(0x1ea)](){return[_0x3f41ae];}constructor(_0x45a1ea){const _0x578fe2=_0x2e4068;super(_0x45a1ea),this[_0x578fe2(0x1fa)](_0x578fe2(0x1e2),!0x1),this['on'](_0x578fe2(0x1e5),(_0x59beba,_0x3e7e11,_0x15a06b)=>{const _0x31a93b=_0x578fe2;_0x15a06b?this[_0x31a93b(0x1f9)]():this[_0x31a93b(0x1ef)]();});}[_0x2e4068(0x1fb)](){const _0x2ac557=_0x2e4068;!this[_0x2ac557(0x1e2)]&&this[_0x2ac557(0x1ed)][_0x2ac557(0x1d9)][_0x2ac557(0x1e3)](_0x2ac557(0x1db))&&(this[_0x2ac557(0x1e2)]=!0x0);}[_0x2e4068(0x1f9)](){const _0x314238=_0x2e4068;for(const [_0x5c6c6e,_0x516c19]of this[_0x314238(0x1ed)][_0x314238(0x1d7)])_0x516c19[_0x314238(0x1e4)]&&_0x314238(0x1d6)!==_0x5c6c6e&&_0x516c19[_0x314238(0x1e7)](_0x314238(0x1f6));this[_0x314238(0x1ed)][_0x314238(0x1f8)][_0x314238(0x1f1)](_0x314238(0x1dc))&&this[_0x314238(0x1ed)][_0x314238(0x1f8)][_0x314238(0x1e3)](_0x314238(0x1dc))[_0x314238(0x1e7)](_0x314238(0x1f6));const _0xd603d4=this[_0x314238(0x1ed)][_0x314238(0x1e1)][_0x314238(0x1e6)][_0x314238(0x1e9)];this[_0x314238(0x1f0)](_0xd603d4,_0x314238(0x1df),_0x1d8493=>_0x1d8493[_0x314238(0x1da)](),{'priority':_0x314238(0x1ee)}),this[_0x314238(0x1f0)](_0xd603d4,_0x314238(0x1e0),_0x996026=>_0x996026[_0x314238(0x1da)](),{'priority':_0x314238(0x1ee)}),this[_0x314238(0x1f0)](_0xd603d4,_0x314238(0x1f4),_0x2b1306=>_0x2b1306[_0x314238(0x1da)](),{'priority':_0x314238(0x1ee)});}[_0x2e4068(0x1ef)](){const _0x1a26f0=_0x2e4068;for(const [_0xa258c5,_0x4bc1bc]of this[_0x1a26f0(0x1ed)][_0x1a26f0(0x1d7)])_0x4bc1bc[_0x1a26f0(0x1e4)]&&_0x1a26f0(0x1d6)!==_0xa258c5&&_0x4bc1bc[_0x1a26f0(0x1d5)](_0x1a26f0(0x1f6));this[_0x1a26f0(0x1f2)](this[_0x1a26f0(0x1ed)][_0x1a26f0(0x1e1)][_0x1a26f0(0x1e6)][_0x1a26f0(0x1e9)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3be3e5,_0x573247){var _0x104f6e=_0x462b,_0x5b02a4=_0x3be3e5();while(!![]){try{var _0x4a90f0=parseInt(_0x104f6e(0xee))/0x1*(-parseInt(_0x104f6e(0xe7))/0x2)+-parseInt(_0x104f6e(0xf0))/0x3+parseInt(_0x104f6e(0xef))/0x4*(parseInt(_0x104f6e(0xed))/0x5)+parseInt(_0x104f6e(0xe6))/0x6*(-parseInt(_0x104f6e(0xeb))/0x7)+-parseInt(_0x104f6e(0xe8))/0x8*(parseInt(_0x104f6e(0xe9))/0x9)+parseInt(_0x104f6e(0xea))/0xa+-parseInt(_0x104f6e(0xec))/0xb*(-parseInt(_0x104f6e(0xf1))/0xc);if(_0x4a90f0===_0x573247)break;else _0x5b02a4['push'](_0x5b02a4['shift']());}catch(_0x3d24cf){_0x5b02a4['push'](_0x5b02a4['shift']());}}}(_0x52b6,0xa25a2));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotation}from'./annotations/annotation.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationCollection}from'./annotations/annotationcollection.js';function _0x52b6(){var _0x4a76f0=['26rWkFSI','25644yVCRUK','2513406ngIVjV','7850028ppqFLy','6CtgpUI','49458CNFtYM','32jwTaDp','2131317uDbvAW','12439530BNAuCo','7301371DRqpDZ','33GgmCCb','725jzcaOK'];_0x52b6=function(){return _0x4a76f0;};return _0x52b6();}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';function _0x462b(_0x55f93c,_0x5c11b4){var _0x52b691=_0x52b6();return _0x462b=function(_0x462bc7,_0x3eacef){_0x462bc7=_0x462bc7-0xe6;var _0x110c54=_0x52b691[_0x462bc7];return _0x110c54;},_0x462b(_0x55f93c,_0x5c11b4);}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';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x285352,_0x3c1ae8,_0x29753d){const t=_0x285352['t'];switch(_0x3c1ae8){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'},_0x29753d);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'},_0x29753d);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'},_0x29753d);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'},_0x29753d);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x29753d);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'},_0x29753d);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'},_0x29753d);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'},_0x29753d);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 _0x2cb3(_0x39937a,_0x3a984d){const _0x245d1d=_0x245d();return _0x2cb3=function(_0x2cb34b,_0x38fbdf){_0x2cb34b=_0x2cb34b-0x1bd;let _0x1cc23c=_0x245d1d[_0x2cb34b];return _0x1cc23c;},_0x2cb3(_0x39937a,_0x3a984d);}(function(_0x1a1977,_0x3ec80b){const _0x1607ea=_0x2cb3,_0x2dd6c8=_0x1a1977();while(!![]){try{const _0x1533fe=-parseInt(_0x1607ea(0x1d1))/0x1*(-parseInt(_0x1607ea(0x1c4))/0x2)+-parseInt(_0x1607ea(0x1c0))/0x3*(-parseInt(_0x1607ea(0x1ce))/0x4)+-parseInt(_0x1607ea(0x1c1))/0x5*(-parseInt(_0x1607ea(0x1c7))/0x6)+-parseInt(_0x1607ea(0x1c5))/0x7*(parseInt(_0x1607ea(0x1bd))/0x8)+-parseInt(_0x1607ea(0x1c8))/0x9+-parseInt(_0x1607ea(0x1c2))/0xa*(parseInt(_0x1607ea(0x1cb))/0xb)+parseInt(_0x1607ea(0x1be))/0xc;if(_0x1533fe===_0x3ec80b)break;else _0x2dd6c8['push'](_0x2dd6c8['shift']());}catch(_0x4f7be6){_0x2dd6c8['push'](_0x2dd6c8['shift']());}}}(_0x245d,0x5f1d4));function _0x245d(){const _0x22d19e=['17001912hQdwcc','cancel','123hSBeXi','365bwcQyd','119230lfTAEP','attributes','522094VdYuvs','2016XlPBZo','attributeName','39792qFWrUl','6956361UwkwYt','characterData','observe','583upFgtt','disconnect','childList','24268wguqOb','type','class','1EAxNRC','17120HyzgjV'];_0x245d=function(){return _0x22d19e;};return _0x245d();}import{throttle as _0x5e535f}from'lodash-es';export default function Lt(_0x2ec8a3){const _0x45f0cc=_0x5e535f(_0x2ec8a3,0x1e),_0x42f4e6=new MutationObserver(_0x593af5=>{const _0x12be0f=_0x2cb3;for(const _0x1ee243 of _0x593af5)(_0x12be0f(0x1c3)==_0x1ee243[_0x12be0f(0x1cf)]&&_0x12be0f(0x1d0)==_0x1ee243[_0x12be0f(0x1c6)]||_0x12be0f(0x1cd)==_0x1ee243[_0x12be0f(0x1cf)]||_0x12be0f(0x1c9)==_0x1ee243[_0x12be0f(0x1cf)])&&_0x45f0cc();});return{'attach'(_0x113291){const _0x15e222=_0x2cb3;_0x42f4e6[_0x15e222(0x1ca)](_0x113291,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0xa769e0=_0x2cb3;_0x42f4e6[_0xa769e0(0x1cc)](),_0x45f0cc[_0xa769e0(0x1bf)]();}};}
|