@ckeditor/ckeditor5-comments 43.2.0-alpha.6 → 43.2.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/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
|
-
function
|
|
23
|
+
function _0x5af3(_0x211da8,_0x24266c){const _0x11fcd6=_0x11fc();return _0x5af3=function(_0x5af378,_0x5a4638){_0x5af378=_0x5af378-0x70;let _0x558921=_0x11fcd6[_0x5af378];return _0x558921;},_0x5af3(_0x211da8,_0x24266c);}const _0x30004b=_0x5af3;(function(_0x4b4448,_0x5a89f2){const _0x511cd=_0x5af3,_0x5685bc=_0x4b4448();while(!![]){try{const _0x45b202=-parseInt(_0x511cd(0x79))/0x1+-parseInt(_0x511cd(0x75))/0x2+-parseInt(_0x511cd(0x80))/0x3+-parseInt(_0x511cd(0x9a))/0x4*(-parseInt(_0x511cd(0x88))/0x5)+-parseInt(_0x511cd(0x97))/0x6+-parseInt(_0x511cd(0x96))/0x7*(parseInt(_0x511cd(0x8c))/0x8)+parseInt(_0x511cd(0x77))/0x9;if(_0x45b202===_0x5a89f2)break;else _0x5685bc['push'](_0x5685bc['shift']());}catch(_0x58d192){_0x5685bc['push'](_0x5685bc['shift']());}}}(_0x11fc,0xede75));import{View as _0x349f67,FocusCycler as _0x2bf95b}from'ckeditor5/src/ui.js';function _0x11fc(){const _0x4005bc=['change','1776HqgRGg','focusNext','setTemplate','isActive','isEmpty','delegate','listenTo','1458030IIPWKt','arrowdown','51979599juaSJE','_setupKeyboardNavigation','1051741WKQhAq','length','focusCycler','add','remove','presentation','ck-comments-archive__content','5188251Wjuxms','COMMENTS_ARCHIVE_LIST_LABEL','ck-hidden','ck-comments-archive__info','destroy','ck-comments-archive','auto','list','7285TcnGLC','set','bindTemplate','div','500304IcYSMC','EMPTY_COMMENTS_ARCHIVE','focusTracker','first','render','focusFirst','element','focusPrevious','arrowup','focus','28qYnheZ','10125846UZZvYJ','_annotationViews'];_0x11fc=function(){return _0x4005bc;};return _0x11fc();}import{FocusTracker as _0x4b05d0}from'ckeditor5/src/utils.js';import{getTranslation as _0xdffe36}from'../../../utils/common-translations.js';export default class st extends _0x349f67{constructor(_0x43bf38,_0x5d4c9d){const _0x393f3e=_0x5af3;super(_0x43bf38),this[_0x393f3e(0x89)](_0x393f3e(0x72),!_0x5d4c9d[_0x393f3e(0x7a)]),this[_0x393f3e(0x8e)]=new _0x4b05d0(),this[_0x393f3e(0x98)]=_0x5d4c9d,this[_0x393f3e(0x98)][_0x393f3e(0x73)](_0x393f3e(0x94),_0x393f3e(0x76))['to'](this),this['on'](_0x393f3e(0x94),()=>{const _0x41adcf=_0x393f3e;this[_0x41adcf(0x7b)][_0x41adcf(0x93)]();}),this['on'](_0x393f3e(0x76),()=>{const _0x2be798=_0x393f3e;this[_0x2be798(0x7b)][_0x2be798(0x9b)]();}),this[_0x393f3e(0x7b)]=new _0x2bf95b({'focusables':_0x5d4c9d,'focusTracker':this[_0x393f3e(0x8e)]}),this[_0x393f3e(0x74)](_0x5d4c9d,_0x393f3e(0x7c),()=>{const _0x1c19f4=_0x393f3e;this[_0x1c19f4(0x72)]=!0x1;}),this[_0x393f3e(0x74)](_0x5d4c9d,_0x393f3e(0x7d),(_0x3bf0b6,_0x44547f)=>{const _0x243a3f=_0x393f3e;_0x44547f[_0x243a3f(0x71)]&&this[_0x243a3f(0x95)](),_0x5d4c9d[_0x243a3f(0x7a)]||(this[_0x243a3f(0x72)]=!0x0);});const _0xc30ad9=this[_0x393f3e(0x8a)];this[_0x393f3e(0x70)]({'tag':_0x393f3e(0x8b),'attributes':{'dir':_0x393f3e(0x86),'class':['ck',_0x393f3e(0x85)],'tabindex':-0x1,'role':_0x393f3e(0x87),'aria-label':_0xdffe36(_0x43bf38,_0x393f3e(0x81))},'children':[{'tag':_0x393f3e(0x8b),'attributes':{'class':[_0x393f3e(0x7f)],'role':_0x393f3e(0x7e)},'children':[{'tag':_0x393f3e(0x8b),'attributes':{'role':_0x393f3e(0x7e)},'children':_0x5d4c9d},{'tag':'p','attributes':{'class':[_0x393f3e(0x83),_0xc30ad9['if'](_0x393f3e(0x72),_0x393f3e(0x82),_0x2a3f2e=>!_0x2a3f2e)]},'children':[{'text':_0xdffe36(_0x43bf38,_0x393f3e(0x8d))}]}]}]});}[_0x30004b(0x90)](){const _0x15ec66=_0x30004b;super[_0x15ec66(0x90)](),this[_0x15ec66(0x78)]();}[_0x30004b(0x84)](){const _0x511167=_0x30004b;super[_0x511167(0x84)](),this[_0x511167(0x8e)][_0x511167(0x84)]();}[_0x30004b(0x95)](){const _0x300c2d=_0x30004b;this[_0x300c2d(0x7b)][_0x300c2d(0x8f)]?this[_0x300c2d(0x7b)][_0x300c2d(0x91)]():this[_0x300c2d(0x92)][_0x300c2d(0x95)]();}[_0x30004b(0x78)](){const _0x43a6f5=_0x30004b;for(const _0x974882 of this[_0x43a6f5(0x98)])this[_0x43a6f5(0x8e)][_0x43a6f5(0x7c)](_0x974882[_0x43a6f5(0x92)]);this[_0x43a6f5(0x98)]['on'](_0x43a6f5(0x99),(_0xb00191,{added:_0x43b993,removed:_0x2d5a66})=>{const _0x4c6d46=_0x43a6f5;for(const _0x197233 of _0x43b993)this[_0x4c6d46(0x8e)][_0x4c6d46(0x7c)](_0x197233[_0x4c6d46(0x92)]);for(const _0x4b3fba of _0x2d5a66)this[_0x4c6d46(0x8e)][_0x4c6d46(0x7d)](_0x4b3fba[_0x4c6d46(0x92)]);});}}
|
|
@@ -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
|
+
const _0x3117a0=_0x3289;(function(_0x2fa102,_0x15be27){const _0x583840=_0x3289,_0x387cce=_0x2fa102();while(!![]){try{const _0x34671f=parseInt(_0x583840(0x1f2))/0x1+parseInt(_0x583840(0x1de))/0x2*(-parseInt(_0x583840(0x1c6))/0x3)+parseInt(_0x583840(0x1e8))/0x4*(-parseInt(_0x583840(0x215))/0x5)+parseInt(_0x583840(0x1f5))/0x6+parseInt(_0x583840(0x1c0))/0x7*(-parseInt(_0x583840(0x1e2))/0x8)+-parseInt(_0x583840(0x20d))/0x9*(-parseInt(_0x583840(0x1d8))/0xa)+parseInt(_0x583840(0x20f))/0xb;if(_0x34671f===_0x15be27)break;else _0x387cce['push'](_0x387cce['shift']());}catch(_0x1ed0e8){_0x387cce['push'](_0x387cce['shift']());}}}(_0x47fc,0xc2011));import{View as _0x504f73,FocusCycler as _0x226f1f}from'ckeditor5/src/ui.js';import{diff as _0x21421f,Collection as _0x127f1a,FocusTracker as _0x12717f,KeystrokeHandler as _0x5490dd}from'ckeditor5/src/utils.js';function _0x47fc(){const _0xc9a367=['delegate','removed','change:isActive','_collapsedCommentsView','keystrokes','refreshVisibleViews','commentViews','4455370WeaRLl','insert','bindTemplate','equal','reverse','viewUid','1990hPMadb','_rearrangeExpand','destroy','maxCommentCharsWhenCollapsed','10456Btonpx','maxThreadTotalWeight','target','authoredAt','map','forEach','12mqvFKk','resolvedCommentView','add','CommentView','editorConfig','focusTracker','createCollection','collapse','formatDateTime','element','790668jiVvsE','ck-thread__comments','listenTo','3427116ROcmui','locale','resolveCommentThread','commentUpdated','_config','render','change:isResolved','ck-hidden','isEditMode','Marked\x20as\x20resolved','setTemplate','bind','_handleInfoComment','includes','comments','resolved','focusFirst','_setupKeyboardNavigation','visibleViews','focus','get','_updateHasDirtyComment','change:hasDirtyComment','expand','27DuAEUw','editorDestroyed','9190016rEmANe','resolvedAt','length','removeComment','_shouldCollapse','editorReady','1859635lzbPri','set','focusLast','change','_calculatePosition','count','Thread\x20comments','focusCycler','resolvedBy','_findOptimalIndex','change:isEditMode','_model','remove','3899mZtjIF','arrowup','delete','_handleRemoveCommentModel','weight','updateComment','2700yuozSU','maxCommentsWhenCollapsed','hasDirtyComment','some','stopListening','_handleNewCommentModel','arrowdown','added','from','_rearrangeCollapse','isActive'];_0x47fc=function(){return _0xc9a367;};return _0x47fc();}import{getTranslation as _0x502044}from'../../../utils/common-translations.js';import _0x71e4d0 from'./collapsedcommentsview.js';export default class xt extends _0x504f73{constructor(_0x556a94,_0xd0ba1f,_0x53fce7){const _0x46c1ce=_0x3289;super(_0x556a94);const _0x22a3d4=this[_0x46c1ce(0x1da)];this[_0x46c1ce(0x216)](_0x46c1ce(0x1c8),!0x1),this[_0x46c1ce(0x216)](_0x46c1ce(0x211),_0xd0ba1f[_0x46c1ce(0x203)][_0x46c1ce(0x211)]),this[_0x46c1ce(0x216)](_0x46c1ce(0x1d0),!0x1),this[_0x46c1ce(0x1be)]=_0xd0ba1f,this[_0x46c1ce(0x1f9)]=_0x53fce7,this[_0x46c1ce(0x1d7)]=this[_0x46c1ce(0x1ee)](),this[_0x46c1ce(0x207)]=this[_0x46c1ce(0x1ee)](),this[_0x46c1ce(0x1e9)]=null,this[_0x46c1ce(0x1ed)]=new _0x12717f(),this[_0x46c1ce(0x1d5)]=new _0x5490dd(),this[_0x46c1ce(0x1ba)]=new _0x226f1f({'focusables':this[_0x46c1ce(0x1d7)],'focusTracker':this[_0x46c1ce(0x1ed)],'keystrokeHandler':this[_0x46c1ce(0x1d5)],'keystrokeHandlerOptions':{'filter':_0x1872b5=>this[_0x46c1ce(0x1d7)][_0x46c1ce(0x1e6)](_0x57f92c=>_0x57f92c[_0x46c1ce(0x1f1)])[_0x46c1ce(0x202)](_0x1872b5[_0x46c1ce(0x1e4)])},'actions':{'focusPrevious':_0x46c1ce(0x1c1),'focusNext':_0x46c1ce(0x1cc)}}),this[_0x46c1ce(0x1d4)]=new _0x71e4d0(_0x556a94),this[_0x46c1ce(0x1d4)][_0x46c1ce(0x200)](_0x46c1ce(0x1b8))['to'](this,_0x46c1ce(0x211),_0x5b7d17=>_0x5b7d17-this[_0x46c1ce(0x1f9)][_0x46c1ce(0x1c7)]);for(const _0xf77303 of _0xd0ba1f[_0x46c1ce(0x203)])this[_0x46c1ce(0x1cb)](_0xf77303);this[_0x46c1ce(0x201)](),this[_0x46c1ce(0x1f4)](_0xd0ba1f[_0x46c1ce(0x203)],_0x46c1ce(0x1ea),(_0x10acca,_0x5e4ab0)=>{const _0x25096c=_0x46c1ce,_0x24a0d2=this[_0x25096c(0x1b7)](_0x5e4ab0);this[_0x25096c(0x211)]++,this[_0x25096c(0x1cb)](_0x5e4ab0,_0x24a0d2),this[_0x25096c(0x1d6)]();}),this[_0x46c1ce(0x1f4)](_0xd0ba1f[_0x46c1ce(0x203)],_0x46c1ce(0x1bf),(_0x169a98,_0x231778)=>{const _0x10fb81=_0x46c1ce;this[_0x10fb81(0x211)]--,this[_0x10fb81(0x1c3)](_0x231778),this[_0x10fb81(0x1d6)]();}),this[_0x46c1ce(0x1f4)](_0xd0ba1f,_0x46c1ce(0x1f8),()=>this[_0x46c1ce(0x1d6)]()),this[_0x46c1ce(0x1f4)](_0xd0ba1f,_0x46c1ce(0x1fb),()=>this[_0x46c1ce(0x201)]()),this['on'](_0x46c1ce(0x1d3),()=>this[_0x46c1ce(0x1d6)]()),this['on'](_0x46c1ce(0x20b),()=>this[_0x46c1ce(0x1d6)]()),this[_0x46c1ce(0x1ff)]({'tag':'ul','attributes':{'class':[_0x46c1ce(0x1f3),_0x22a3d4['if'](_0x46c1ce(0x211),_0x46c1ce(0x1fc),_0x4ee7d6=>!_0x4ee7d6)],'aria-label':_0x502044(_0x556a94,_0x46c1ce(0x1b9))},'children':this[_0x46c1ce(0x207)]});}get[_0x3117a0(0x213)](){const _0x31f235=_0x3117a0;return this[_0x31f235(0x1be)][_0x31f235(0x1c4)]>this[_0x31f235(0x1f9)][_0x31f235(0x1e3)]&&!this[_0x31f235(0x1d0)]&&!this[_0x31f235(0x1c8)];}[_0x3117a0(0x1fa)](){const _0x72100c=_0x3117a0;super[_0x72100c(0x1fa)](),this[_0x72100c(0x1d6)](),this[_0x72100c(0x206)]();}[_0x3117a0(0x208)](_0x2f9238){const _0x5aa550=_0x3117a0;-0x1===_0x2f9238?this[_0x5aa550(0x1ba)][_0x5aa550(0x217)]():this[_0x5aa550(0x1ba)][_0x5aa550(0x205)]();}[_0x3117a0(0x1e0)](){const _0x5e2c72=_0x3117a0;this[_0x5e2c72(0x1d4)][_0x5e2c72(0x1e0)]();for(const _0x542af7 of this[_0x5e2c72(0x1d7)])_0x542af7[_0x5e2c72(0x1e0)]();super[_0x5e2c72(0x1e0)]();}[_0x3117a0(0x1d6)](){const _0x55d5a1=_0x3117a0;this[_0x55d5a1(0x213)]?this[_0x55d5a1(0x1cf)]():this[_0x55d5a1(0x1df)]();}[_0x3117a0(0x1cb)](_0x23fd77,_0x596d74){const _0x2d76ca=_0x3117a0,_0x3165f0=new this[(_0x2d76ca(0x1f9))][(_0x2d76ca(0x1eb))](this[_0x2d76ca(0x1f6)],_0x23fd77,{'maxCommentCharsWhenCollapsed':this[_0x2d76ca(0x1f9)][_0x2d76ca(0x1e1)],'formatDateTime':this[_0x2d76ca(0x1f9)][_0x2d76ca(0x1f0)],'editorConfig':this[_0x2d76ca(0x1f9)][_0x2d76ca(0x1ec)]});_0x3165f0[_0x2d76ca(0x1dd)]=_0x23fd77['id'],_0x3165f0[_0x2d76ca(0x1d1)](_0x2d76ca(0x212))['to'](this),_0x3165f0[_0x2d76ca(0x1d1)](_0x2d76ca(0x1c5))['to'](this),_0x3165f0[_0x2d76ca(0x1d1)](_0x2d76ca(0x1f7))['to'](this),_0x3165f0[_0x2d76ca(0x1d1)](_0x2d76ca(0x214))['to'](this),_0x3165f0[_0x2d76ca(0x1d1)](_0x2d76ca(0x20e))['to'](this),this[_0x2d76ca(0x1f4)](_0x3165f0,_0x2d76ca(0x1bd),()=>this[_0x2d76ca(0x20a)]()),this[_0x2d76ca(0x1d7)][_0x2d76ca(0x1ea)](_0x3165f0,_0x596d74);}[_0x3117a0(0x1b7)](_0x586b2a){const _0x3426fe=_0x3117a0,_0x281d7b=this[_0x3426fe(0x1be)][_0x3426fe(0x1bc)](_0x586b2a);return this[_0x3426fe(0x1e9)]?this[_0x3426fe(0x1e9)][_0x3426fe(0x1e5)]>_0x586b2a[_0x3426fe(0x1e5)]?_0x281d7b-0x1:_0x281d7b:_0x281d7b-0x1;}[_0x3117a0(0x201)](){const _0x29ecbe=_0x3117a0;if(this[_0x29ecbe(0x1be)][_0x29ecbe(0x1bb)]&&this[_0x29ecbe(0x1be)][_0x29ecbe(0x210)]){const _0x6986d4={'id':_0x29ecbe(0x204),'author':this[_0x29ecbe(0x1be)][_0x29ecbe(0x1bb)],'authoredAt':this[_0x29ecbe(0x1be)][_0x29ecbe(0x210)],'content':_0x502044(this[_0x29ecbe(0x1f6)],_0x29ecbe(0x1fe)),'attributes':{}};this[_0x29ecbe(0x1e9)]=new this[(_0x29ecbe(0x1f9))][(_0x29ecbe(0x1eb))](this[_0x29ecbe(0x1f6)],_0x6986d4,{'maxCommentCharsWhenCollapsed':this[_0x29ecbe(0x1f9)][_0x29ecbe(0x1e1)],'formatDateTime':this[_0x29ecbe(0x1f9)][_0x29ecbe(0x1f0)],'editorConfig':this[_0x29ecbe(0x1f9)][_0x29ecbe(0x1ec)],'isSystemComment':!0x0}),this[_0x29ecbe(0x1d7)][_0x29ecbe(0x1ea)](this[_0x29ecbe(0x1e9)],this[_0x29ecbe(0x1be)][_0x29ecbe(0x1bc)](_0x6986d4));}else this[_0x29ecbe(0x1e9)]&&(this[_0x29ecbe(0x1d7)][_0x29ecbe(0x1bf)](this[_0x29ecbe(0x1e9)]),this[_0x29ecbe(0x1e9)][_0x29ecbe(0x1e0)](),this[_0x29ecbe(0x1e9)]=null);this[_0x29ecbe(0x1d6)]();}[_0x3117a0(0x1c3)](_0x1cbe58){const _0x4555e2=_0x3117a0,_0x5a7141=this[_0x4555e2(0x1d7)][_0x4555e2(0x1bf)](_0x1cbe58['id']);this[_0x4555e2(0x1ca)](_0x5a7141),_0x5a7141[_0x4555e2(0x1fd)]&&this[_0x4555e2(0x20a)](),_0x5a7141[_0x4555e2(0x1e0)]();}[_0x3117a0(0x20a)](){const _0xd4f1b7=_0x3117a0;this[_0xd4f1b7(0x1c8)]=Array[_0xd4f1b7(0x1ce)](this[_0xd4f1b7(0x1d7)])[_0xd4f1b7(0x1c9)](_0x4ec8f6=>_0x4ec8f6[_0xd4f1b7(0x1fd)]);}[_0x3117a0(0x1cf)](){const _0x43d7aa=_0x3117a0,_0x3b06b1=function(_0x460aa9){const _0x495df9=_0x3289,_0x2e8f48=new _0x127f1a();for(const _0x392703 of _0x460aa9)_0x2e8f48[_0x495df9(0x1ea)](_0x392703);return _0x2e8f48;}(this[_0x43d7aa(0x1d7)]),_0x4cf566=this[_0x43d7aa(0x1d4)][_0x43d7aa(0x1b8)];for(let _0x34ad17=0x1;_0x34ad17<=_0x4cf566;_0x34ad17++)_0x3b06b1[_0x43d7aa(0x1bf)](0x1);for(const _0x2d5dbf of _0x3b06b1)_0x2d5dbf[_0x43d7aa(0x1ef)]();_0x4cf566>0x0&&_0x3b06b1[_0x43d7aa(0x1ea)](this[_0x43d7aa(0x1d4)],0x1),ms(_0x21421f(Array[_0x43d7aa(0x1ce)](this[_0x43d7aa(0x207)]),Array[_0x43d7aa(0x1ce)](_0x3b06b1)),this[_0x43d7aa(0x207)],_0x3b06b1);}[_0x3117a0(0x1df)](){const _0x56c454=_0x3117a0;ms(_0x21421f(Array[_0x56c454(0x1ce)](this[_0x56c454(0x207)]),Array[_0x56c454(0x1ce)](this[_0x56c454(0x1d7)])),this[_0x56c454(0x207)],this[_0x56c454(0x1d7)]);for(const _0x35fbb6 of this[_0x56c454(0x207)])_0x35fbb6[_0x56c454(0x20c)]();}[_0x3117a0(0x206)](){const _0x96ae83=_0x3117a0;this[_0x96ae83(0x1d7)][_0x96ae83(0x1e7)](_0x14daee=>{const _0x6bee93=_0x96ae83;this[_0x6bee93(0x1ed)][_0x6bee93(0x1ea)](_0x14daee[_0x6bee93(0x1f1)]),this[_0x6bee93(0x1d5)][_0x6bee93(0x1f4)](_0x14daee[_0x6bee93(0x1f1)]);}),this[_0x96ae83(0x1d7)]['on'](_0x96ae83(0x218),(_0x1c7c3b,_0x12f508)=>{const _0x47238b=_0x96ae83;for(const _0x1db797 of _0x12f508[_0x47238b(0x1d2)])this[_0x47238b(0x1ed)][_0x47238b(0x1bf)](_0x1db797[_0x47238b(0x1f1)]),this[_0x47238b(0x1d5)][_0x47238b(0x1ca)](_0x1db797[_0x47238b(0x1f1)]);for(const _0x5f0162 of Array[_0x47238b(0x1ce)](_0x12f508[_0x47238b(0x1cd)])[_0x47238b(0x1dc)]())this[_0x47238b(0x1ed)][_0x47238b(0x1ea)](_0x5f0162[_0x47238b(0x1f1)]),this[_0x47238b(0x1d5)][_0x47238b(0x1f4)](_0x5f0162[_0x47238b(0x1f1)]);});}}function _0x3289(_0x3a91d8,_0x4f1bfe){const _0x47fc2d=_0x47fc();return _0x3289=function(_0x3289f9,_0x2edf4c){_0x3289f9=_0x3289f9-0x1b7;let _0x27abc1=_0x47fc2d[_0x3289f9];return _0x27abc1;},_0x3289(_0x3a91d8,_0x4f1bfe);}function ms(_0x331185,_0x4bd799,_0x2166e8){const _0x496d99=_0x3117a0;let _0x28e6f5=0x0;for(const _0x5726d0 of _0x331185)switch(_0x5726d0){case _0x496d99(0x1d9):_0x4bd799[_0x496d99(0x1ea)](_0x2166e8[_0x496d99(0x209)](_0x28e6f5),_0x28e6f5),_0x28e6f5++;break;case _0x496d99(0x1c2):_0x4bd799[_0x496d99(0x1bf)](_0x28e6f5);break;case _0x496d99(0x1db):_0x28e6f5++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15be1a=_0x169e;(function(_0x57de1c,_0x192488){const _0x209a1c=_0x169e,_0x4acbeb=_0x57de1c();while(!![]){try{const _0x2e62ed=parseInt(_0x209a1c(0xcc))/0x1*(parseInt(_0x209a1c(0xdb))/0x2)+-parseInt(_0x209a1c(0xd4))/0x3*(-parseInt(_0x209a1c(0xd0))/0x4)+parseInt(_0x209a1c(0xcf))/0x5*(-parseInt(_0x209a1c(0xd6))/0x6)+-parseInt(_0x209a1c(0xd7))/0x7+-parseInt(_0x209a1c(0xcb))/0x8*(-parseInt(_0x209a1c(0xd3))/0x9)+parseInt(_0x209a1c(0xd2))/0xa*(parseInt(_0x209a1c(0xd9))/0xb)+-parseInt(_0x209a1c(0xcd))/0xc;if(_0x2e62ed===_0x192488)break;else _0x4acbeb['push'](_0x4acbeb['shift']());}catch(_0x1f3d4e){_0x4acbeb['push'](_0x4acbeb['shift']());}}}(_0x127e,0x526a7));function _0x169e(_0x376601,_0x3d92ef){const _0x127e2e=_0x127e();return _0x169e=function(_0x169e6f,_0x36e07e){_0x169e6f=_0x169e6f-0xc8;let _0x423269=_0x127e2e[_0x169e6f];return _0x423269;},_0x169e(_0x376601,_0x3d92ef);}import{View as _0x5e90f9}from'ckeditor5/src/ui.js';import{getTranslation as _0x240446}from'../../../utils/common-translations.js';export default class ls extends _0x5e90f9{constructor(_0x541dbf){const _0xdd6bd3=_0x169e;super(_0x541dbf);const _0x2b43b8=this[_0xdd6bd3(0xd5)];this[_0xdd6bd3(0xdc)](_0xdd6bd3(0xce),''),this[_0xdd6bd3(0xda)]({'tag':_0xdd6bd3(0xc8),'attributes':{'class':['ck',_0xdd6bd3(0xca)],'aria-label':_0x2b43b8['to'](_0xdd6bd3(0xce),_0x575b52=>_0x240446(_0x541dbf,_0xdd6bd3(0xd1),_0x575b52)),'tabindex':-0x1},'children':[{'text':_0x2b43b8['to'](_0xdd6bd3(0xce))}]});}[_0x15be1a(0xc9)](){const _0x2e0bfe=_0x15be1a;this[_0x2e0bfe(0xd8)][_0x2e0bfe(0xc9)]();}}function _0x127e(){const _0x348b77=['span','focus','ck-context__value','1208crKflD','14013yVRNAn','1483740LpDkVc','contextValue','5755dXPCAE','350164vzankk','THREAD_CONTEXT_LABEL','2280kNPhBF','28233fTLlbU','3ZxSAdF','bindTemplate','1830WAaWKT','2941148scJuct','element','22242yuBmfD','setTemplate','30NxxNgA','set'];_0x127e=function(){return _0x348b77;};return _0x127e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3dd7(_0x331c97,_0x57b3bd){const _0xf98060=_0xf980();return _0x3dd7=function(_0x3dd75b,_0xcd839f){_0x3dd75b=_0x3dd75b-0xd2;let _0x3685e3=_0xf98060[_0x3dd75b];return _0x3685e3;},_0x3dd7(_0x331c97,_0x57b3bd);}const _0x40c820=_0x3dd7;(function(_0x5d50da,_0x429963){const _0x23b3ca=_0x3dd7,_0x1836b3=_0x5d50da();while(!![]){try{const _0xd56f47=parseInt(_0x23b3ca(0x109))/0x1*(-parseInt(_0x23b3ca(0xea))/0x2)+parseInt(_0x23b3ca(0x108))/0x3+parseInt(_0x23b3ca(0xdc))/0x4+parseInt(_0x23b3ca(0x10e))/0x5+-parseInt(_0x23b3ca(0xe4))/0x6+-parseInt(_0x23b3ca(0x10d))/0x7*(parseInt(_0x23b3ca(0xda))/0x8)+parseInt(_0x23b3ca(0xf2))/0x9;if(_0xd56f47===_0x429963)break;else _0x1836b3['push'](_0x1836b3['shift']());}catch(_0x575640){_0x1836b3['push'](_0x1836b3['shift']());}}}(_0xf980,0xf1808));import{View as _0x5c4752,ButtonView as _0x138f35,FocusCycler as _0x5c856d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2769b6,KeystrokeHandler as _0x46da8a}from'ckeditor5/src/utils.js';import{getTranslation as _0x319f21}from'../../../utils/common-translations.js';function _0xf980(){const _0x2b5139=['focus','.ck-context','1322QvvFFI','length','_trimContextValue','setTemplate','mouseleave','execute','_createContextView','ck-context','28613637ePzzEB','icon','bindTemplate','bind','ck-annotation__actions','value','focusCycler','tab','createCollection','remove','ck-context-wrapper','reopenButtonView','element','locale','_createReopenButton','context','isResolved','isVisible','lastIndexOf','ck-context--quotes','focusTracker','_setupKeyboardNavigation','152463foDFIX','346JrasQI','querySelector','substring','render','2511761yikdgU','583330tYZmJR','Reopen','...','tooltip','contextValue','listenTo','isResolvable','add','scrollWidth','_model','keystrokes','fire','focusables','_attachContextActions','overlay','hasContext','isEnabled','focusFirst','shift+tab','40XRabXV','ck-thread__header','2544152njFCBv','reopenCommentThread','offsetWidth','Comment\x20was\x20made\x20on\x20an\x20element','isReadOnly','label','classList','mouseenter','5824830cfPlaC','.ck-context__value','contextView','div'];_0xf980=function(){return _0x2b5139;};return _0xf980();}import _0x35ce13 from'../../../../theme/icons/undo.svg';import _0x1ba3fe from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export default class ts extends _0x5c4752{constructor(_0x4b47d4,_0x229070){const _0x1dc100=_0x3dd7;super(_0x4b47d4);const _0x26da90=this[_0x1dc100(0xf4)];this[_0x1dc100(0x117)]=_0x229070,this[_0x1dc100(0xfd)]=this[_0x1dc100(0x100)](),this[_0x1dc100(0xe6)]=this[_0x1dc100(0xf0)](),this[_0x1dc100(0xd3)]=this[_0x1dc100(0xfa)]([this[_0x1dc100(0xe6)],this[_0x1dc100(0xfd)]]),this[_0x1dc100(0x106)]=new _0x2769b6(),this[_0x1dc100(0x118)]=new _0x46da8a(),this[_0x1dc100(0xf8)]=new _0x5c856d({'focusables':this[_0x1dc100(0xd3)],'focusTracker':this[_0x1dc100(0x106)],'keystrokeHandler':this[_0x1dc100(0x118)],'actions':{'focusPrevious':_0x1dc100(0xd9),'focusNext':_0x1dc100(0xf9)}}),this[_0x1dc100(0xf5)](_0x1dc100(0xd6))['to'](this[_0x1dc100(0x117)],_0x1dc100(0x101),_0xae962d=>!!_0xae962d),this[_0x1dc100(0xf5)](_0x1dc100(0x112))['to'](this[_0x1dc100(0x117)],_0x1dc100(0x101),_0x2bc598=>_0x2bc598&&_0x2bc598[_0x1dc100(0xf7)]?this[_0x1dc100(0xec)](_0x2bc598[_0x1dc100(0xf7)]):_0x319f21(this[_0x1dc100(0xff)],_0x1dc100(0xdf))),this[_0x1dc100(0xed)]({'tag':_0x1dc100(0xe7),'attributes':{'class':[_0x1dc100(0xdb)]},'children':[{'tag':_0x1dc100(0xe7),'attributes':{'class':[_0x1dc100(0xfc)]},'children':[{'tag':_0x1dc100(0xe7),'attributes':{'class':[_0x1dc100(0xf1),_0x26da90['if'](_0x1dc100(0xd6),_0x1dc100(0x105))]},'children':[this[_0x1dc100(0xe6)]]}]},{'tag':_0x1dc100(0xe7),'attributes':{'class':[_0x1dc100(0xf6)]},'children':[this[_0x1dc100(0xfd)]]}]});}[_0x40c820(0x10c)](){const _0x5ca181=_0x40c820;super[_0x5ca181(0x10c)](),this[_0x5ca181(0xd4)](),this[_0x5ca181(0x107)]();}[_0x40c820(0xe8)](){const _0x14bb22=_0x40c820;this[_0x14bb22(0xf8)][_0x14bb22(0xd8)]();}[_0x40c820(0x100)](){const _0x4270e5=_0x40c820,_0x3ab1ca=new _0x138f35(this[_0x4270e5(0xff)]);return _0x3ab1ca[_0x4270e5(0xe1)]=_0x319f21(this[_0x4270e5(0xff)],_0x4270e5(0x10f)),_0x3ab1ca[_0x4270e5(0x111)]=_0x319f21(this[_0x4270e5(0xff)],_0x4270e5(0x10f)),_0x3ab1ca[_0x4270e5(0xf3)]=_0x35ce13,_0x3ab1ca[_0x4270e5(0xf5)](_0x4270e5(0xd7))['to'](this[_0x4270e5(0x117)],_0x4270e5(0xe0),_0x40c51e=>!_0x40c51e),_0x3ab1ca[_0x4270e5(0xf5)](_0x4270e5(0x103))['to'](this[_0x4270e5(0x117)],_0x4270e5(0x114),this[_0x4270e5(0x117)],_0x4270e5(0x102),(_0x1fcbf8,_0x184edf)=>_0x1fcbf8&&_0x184edf),_0x3ab1ca['on'](_0x4270e5(0xef),()=>{const _0xf0fc40=_0x4270e5;this[_0xf0fc40(0xd2)](_0xf0fc40(0xdd),this[_0xf0fc40(0x117)]['id']);}),_0x3ab1ca;}[_0x40c820(0xec)](_0x58ad8c){const _0x1b3595=_0x40c820;if(_0x58ad8c[_0x1b3595(0xeb)]<0x96)return _0x58ad8c;const _0x1641d8=_0x58ad8c[_0x1b3595(0x104)]('\x20',0x93);return _0x58ad8c[_0x1b3595(0x10b)](0x0,_0x1641d8>-0x1?_0x1641d8:0x93)+_0x1b3595(0x110);}[_0x40c820(0xd4)](){const _0x274b10=_0x40c820,_0x16d1ec=this[_0x274b10(0xfe)][_0x274b10(0x10a)](_0x274b10(0xe9)),_0x2fc170=_0x16d1ec[_0x274b10(0x10a)](_0x274b10(0xe5));this[_0x274b10(0x113)](_0x16d1ec,_0x274b10(0xe3),()=>{const _0xa715b8=_0x274b10;_0x2fc170[_0xa715b8(0xde)]<_0x2fc170[_0xa715b8(0x116)]&&_0x16d1ec[_0xa715b8(0xe2)][_0xa715b8(0x115)](_0xa715b8(0xd5));}),this[_0x274b10(0x113)](_0x16d1ec,_0x274b10(0xee),()=>{const _0x462312=_0x274b10;_0x16d1ec[_0x462312(0xe2)][_0x462312(0xfb)](_0x462312(0xd5));});}[_0x40c820(0x107)](){const _0x14f613=_0x40c820;this[_0x14f613(0x118)][_0x14f613(0x113)](this[_0x14f613(0xfe)]);for(const _0x34aba3 of this[_0x14f613(0xd3)])this[_0x14f613(0x106)][_0x14f613(0x115)](_0x34aba3[_0x14f613(0xfe)]),this[_0x14f613(0x118)][_0x14f613(0x113)](_0x34aba3[_0x14f613(0xfe)]);}[_0x40c820(0xf0)](){const _0x483c62=_0x40c820,_0x2a54b8=new _0x1ba3fe(this[_0x483c62(0xff)]);return _0x2a54b8[_0x483c62(0xf5)](_0x483c62(0x112))['to'](this),_0x2a54b8;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x958bf7=_0x18bd;(function(_0x41b09b,_0x2731b0){const _0x9c3923=_0x18bd,_0x243910=_0x41b09b();while(!![]){try{const _0x387116=parseInt(_0x9c3923(0xd5))/0x1*(parseInt(_0x9c3923(0xb8))/0x2)+-parseInt(_0x9c3923(0xd7))/0x3*(parseInt(_0x9c3923(0xbe))/0x4)+-parseInt(_0x9c3923(0xdc))/0x5+parseInt(_0x9c3923(0xcd))/0x6+-parseInt(_0x9c3923(0xd4))/0x7*(-parseInt(_0x9c3923(0xb9))/0x8)+-parseInt(_0x9c3923(0xc6))/0x9+-parseInt(_0x9c3923(0xb1))/0xa*(-parseInt(_0x9c3923(0xaf))/0xb);if(_0x387116===_0x2731b0)break;else _0x243910['push'](_0x243910['shift']());}catch(_0x38da92){_0x243910['push'](_0x243910['shift']());}}}(_0x5a3e,0x2f0f1));import{View as _0x258586}from'ckeditor5/src/ui.js';import _0x39aaca from'./commentinputview.js';function _0x18bd(_0x1ce86b,_0x586da8){const _0x5a3ee8=_0x5a3e();return _0x18bd=function(_0x18bd00,_0x363844){_0x18bd00=_0x18bd00-0xae;let _0x2ba146=_0x5a3ee8[_0x18bd00];return _0x2ba146;},_0x18bd(_0x1ce86b,_0x586da8);}function _0x5a3e(){const _0xf8791a=['451228pXUYLA','delegate','editorDestroyed','focus','ck-comment__input-container','isFocused','focusTracker','extendTemplate','19827WufFUs','value','div','preventDefault','filter','element','view','1168068HlzbtZ','editorReady','showButtons','set','ck-thread__input','change:showInput','then','749umzFvy','1BQJxgF','getDomRoot','9qDCfii','showInput','ck-comment__input-container--active','commentInputView','mousedown','1361675SudKaJ','createEditor','ck-thread__user','contains','bind','listenTo','257697WwOApc','bindTemplate','60afwRkz','userView','focusCycler','_focusOnNonInteractiveMouseDown','setTemplate','editor','target','608602PwAjcD','12424fDtOAc','editing','some','render','destroy'];_0x5a3e=function(){return _0xf8791a;};return _0x5a3e();}import{UserView as _0x381901}from'ckeditor5-collaboration/src/collaboration-core.js';export default class kt extends _0x258586{constructor(_0x299edc,_0x55eaad,_0x3c08cd){const _0x5c1b2e=_0x18bd;super(_0x299edc),this[_0x5c1b2e(0xda)]=new _0x39aaca(_0x299edc,_0x3c08cd),this[_0x5c1b2e(0xb3)]=this[_0x5c1b2e(0xda)][_0x5c1b2e(0xb3)],this[_0x5c1b2e(0xda)][_0x5c1b2e(0xe0)](_0x5c1b2e(0xcf))['to'](this[_0x5c1b2e(0xda)][_0x5c1b2e(0xc4)],_0x5c1b2e(0xc3),this[_0x5c1b2e(0xda)],_0x5c1b2e(0xc7),(_0x2037b7,_0x12a409)=>_0x2037b7||!!_0x12a409),this[_0x5c1b2e(0xd0)](_0x5c1b2e(0xd8),!0x1),this['on'](_0x5c1b2e(0xd2),()=>{const _0x13dbc4=_0x5c1b2e;this[_0x13dbc4(0xd8)]&&!this[_0x13dbc4(0xda)][_0x13dbc4(0xb6)]&&this[_0x13dbc4(0xda)][_0x13dbc4(0xdd)]();}),this[_0x5c1b2e(0xda)][_0x5c1b2e(0xbf)](_0x5c1b2e(0xce))['to'](this),this[_0x5c1b2e(0xda)][_0x5c1b2e(0xbf)](_0x5c1b2e(0xc0))['to'](this),this[_0x5c1b2e(0xb2)]=new _0x381901(_0x299edc,_0x55eaad),this[_0x5c1b2e(0xb2)][_0x5c1b2e(0xc5)]({'attributes':{'class':_0x5c1b2e(0xde),'aria-hidden':!0x0}}),this[_0x5c1b2e(0xda)][_0x5c1b2e(0xc5)]({'attributes':{'class':_0x5c1b2e(0xd1)}}),this[_0x5c1b2e(0xb5)]({'tag':_0x5c1b2e(0xc8),'attributes':{'class':[_0x5c1b2e(0xc2),this[_0x5c1b2e(0xb0)]['if'](_0x5c1b2e(0xd8),_0x5c1b2e(0xd9))]},'children':[this[_0x5c1b2e(0xb2)],this[_0x5c1b2e(0xda)]]});}[_0x958bf7(0xbc)](){const _0x43e4b5=_0x958bf7;super[_0x43e4b5(0xbc)](),this[_0x43e4b5(0xb4)]();}[_0x958bf7(0xbd)](){const _0x42058e=_0x958bf7;return this[_0x42058e(0xda)][_0x42058e(0xbd)]()[_0x42058e(0xd3)](()=>super[_0x42058e(0xbd)]());}[_0x958bf7(0xc1)](_0x252fd0){const _0x1a1f6a=_0x958bf7;this[_0x1a1f6a(0xda)][_0x1a1f6a(0xc1)](_0x252fd0);}[_0x958bf7(0xb4)](){const _0x4370fb=_0x958bf7;this[_0x4370fb(0xae)](this[_0x4370fb(0xcb)],_0x4370fb(0xdb),(_0x4feb0,_0x1916b0)=>{const _0x1ca27f=_0x4370fb,{submitButtonView:_0xe4a6a2,cancelButtonView:_0x550dba,editor:_0x46969e}=this[_0x1ca27f(0xda)];[_0xe4a6a2[_0x1ca27f(0xcb)],_0x550dba[_0x1ca27f(0xcb)],_0x46969e?_0x46969e[_0x1ca27f(0xba)][_0x1ca27f(0xcc)][_0x1ca27f(0xd6)]():null][_0x1ca27f(0xca)](_0x5d6cd7=>_0x5d6cd7)[_0x1ca27f(0xbb)](_0x25b7fb=>_0x25b7fb[_0x1ca27f(0xdf)](_0x1916b0[_0x1ca27f(0xb7)]))||(this[_0x1ca27f(0xc1)](),_0x1916b0[_0x1ca27f(0xc9)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x3ee5(_0x25627c,_0x45da06){const _0xda0ed1=_0xda0e();return _0x3ee5=function(_0x3ee5a9,_0x35b43b){_0x3ee5a9=_0x3ee5a9-0x9e;let _0x46853d=_0xda0ed1[_0x3ee5a9];return _0x46853d;},_0x3ee5(_0x25627c,_0x45da06);}const _0x2b8ce4=_0x3ee5;(function(_0x47e53d,_0x1fa538){const _0x3d6b68=_0x3ee5,_0x260b68=_0x47e53d();while(!![]){try{const _0x3db16a=parseInt(_0x3d6b68(0xc0))/0x1*(-parseInt(_0x3d6b68(0xcc))/0x2)+parseInt(_0x3d6b68(0xcd))/0x3+-parseInt(_0x3d6b68(0xca))/0x4+-parseInt(_0x3d6b68(0xf3))/0x5+parseInt(_0x3d6b68(0xc6))/0x6+-parseInt(_0x3d6b68(0xf6))/0x7*(parseInt(_0x3d6b68(0xc9))/0x8)+parseInt(_0x3d6b68(0xc8))/0x9;if(_0x3db16a===_0x1fa538)break;else _0x260b68['push'](_0x260b68['shift']());}catch(_0xa44b20){_0x260b68['push'](_0x260b68['shift']());}}}(_0xda0e,0x78cc7));function _0xda0e(){const _0x510661=['resolveButton','ck-reset_all-excluded','bind','actionBar','isVisible','setTemplate','change:isReadOnly','Write\x20a\x20comment...','has','_cancelAllConfirms','isUnlinked','containerElement','div','get','listenTo','ck-rounded-corners','ck-thread--active','_updateArchivedThreadHeader','remove','ck-thread--unlinked','element','_model','_boundFirstCommentView','isConfirm','stop','ck-comment--resolve','cancelConfirm','label','.ck-thread__container','actionIndicator','Resolve','isResolved','ariaDescriptionView','commentThreadHeaderView','high','3195825IttFNK','change:archivedAt','then','469yPjDdS','commentsListView','commentThreadInputView','isResolvable','length','set','placeholder','add','removeButton','check','commentViews','ck-thread','isActive','isEnabled','listitem','ck-thread--','bindTemplate','showConfirm','isSystemComment','ariaLabel','extendTemplate','archivedAt','execute','render','fire','resolveCommentThread','commentThreadChildren','focus','removeCommentThread','tooltip','ck-thread--remove-confirmation','focusables','unbind','getTemplate','change:isActive','locale','296OAUSWd','querySelector','ck-thread__container','isReadOnly','createCollection','removeConfirm','3532020CSDQiJ','_createResolveButton','11951712JOeZGU','113968gLOMhS','726484GCHRTK','_bindFirstCommentView','3238dTZPsk','2497935RIUCcC','Delete\x20comment\x20thread?','icon'];_0xda0e=function(){return _0x510661;};return _0xda0e();}import{ConfirmMixin as _0x4b90d5,LateFocusButtonView as _0x2bf480}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x2e0934}from'ckeditor5/src/core.js';import _0x1a8915 from'./basecommentthreadview.js';import{getTranslation as _0x507b11}from'../../../utils/common-translations.js';export default class gt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4b90d5(_0x1a8915){constructor(_0x1b4fdc,_0x16e9f2,_0x2d8317,_0x2fa776){const _0x9d53d5=_0x3ee5;super(_0x1b4fdc,_0x16e9f2,_0x2d8317,_0x2fa776),this[_0x9d53d5(0xb6)]=this[_0x9d53d5(0xc4)]([this[_0x9d53d5(0xf7)],this[_0x9d53d5(0x9e)],this[_0x9d53d5(0xf0)]]),this[_0x9d53d5(0xa1)](_0x9d53d5(0xed),null),this[_0x9d53d5(0xdb)]=null,this[_0x9d53d5(0xe6)]=null,this[_0x9d53d5(0xbf)]=_0x1b4fdc,this[_0x9d53d5(0xd0)]=this[_0x9d53d5(0xc7)](),this[_0x9d53d5(0xd5)](this[_0x9d53d5(0xbd)]()),this['on'](_0x9d53d5(0xbe),(_0x2f6c3d,_0x5cf4df,_0x2b1a75)=>{const _0x30c827=_0x9d53d5;_0x2b1a75||this[_0x30c827(0xd9)]();}),this[_0x9d53d5(0xde)](this[_0x9d53d5(0xe5)],_0x9d53d5(0xd6),(_0x148762,_0x590800,_0x154446)=>{const _0x3510d5=_0x9d53d5;_0x154446&&this[_0x3510d5(0xd9)]();}),this[_0x9d53d5(0xa0)]>0x0&&this[_0x9d53d5(0xcb)](),this[_0x9d53d5(0xde)](this[_0x9d53d5(0xf7)][_0x9d53d5(0xa6)],_0x9d53d5(0xa3),()=>{const _0x228600=_0x9d53d5;this[_0x228600(0xcb)]();});}[_0x2b8ce4(0xbd)](){const _0xbabee7=_0x2b8ce4,_0x5a7645=this[_0xbabee7(0xac)];return{'tag':_0xbabee7(0xdc),'attributes':{'class':['ck',_0xbabee7(0xa7),_0xbabee7(0xd1),_0xbabee7(0xdf),_0x5a7645['if'](_0xbabee7(0xa8),_0xbabee7(0xe0)),_0x5a7645['if'](_0xbabee7(0xda),_0xbabee7(0xe3)),_0x5a7645['if'](_0xbabee7(0xe7),_0xbabee7(0xba)),_0x5a7645['to'](_0xbabee7(0xed),_0x55f2d8=>_0x55f2d8?_0xbabee7(0xab)+_0x55f2d8:'')],'data-thread-id':this[_0xbabee7(0xe5)]['id'],'tabindex':0x0,'role':_0xbabee7(0xaa),'aria-label':_0x5a7645['to'](_0xbabee7(0xaf)),'aria-describedby':this[_0xbabee7(0xf0)]['id']},'children':[{'tag':_0xbabee7(0xdc),'attributes':{'class':_0xbabee7(0xc2)},'children':this[_0xbabee7(0xb6)]}]};}[_0x2b8ce4(0xb3)](){const _0x55383d=_0x2b8ce4;super[_0x55383d(0xb3)](),this[_0x55383d(0xdb)]=this[_0x55383d(0xe4)][_0x55383d(0xc1)](_0x55383d(0xec)),this[_0x55383d(0xe5)]['on'](_0x55383d(0xf4),()=>{const _0x27b2da=_0x55383d;this[_0x27b2da(0xe1)]();}),this[_0x55383d(0xe1)]();}[_0x2b8ce4(0xd9)](){const _0x33961c=_0x2b8ce4;this[_0x33961c(0xea)]();for(const _0x282f89 of this[_0x33961c(0xf7)][_0x33961c(0xa6)])_0x282f89[_0x33961c(0xea)]();}[_0x2b8ce4(0xcb)](){const _0xbb50f8=_0x2b8ce4,{locale:_0x10d84c}=this,_0x46bec2=this[_0xbb50f8(0xf7)][_0xbb50f8(0xa6)][_0xbb50f8(0xdd)](0x0);_0x46bec2===this[_0xbb50f8(0xe6)]||_0x46bec2[_0xbb50f8(0xae)]||(this[_0xbb50f8(0xe6)]=_0x46bec2,this[_0xbb50f8(0xbc)](_0xbb50f8(0xed)),this[_0xbb50f8(0xd2)](_0xbb50f8(0xed))['to'](_0x46bec2,_0xbb50f8(0xed),_0x3c456a=>_0xbb50f8(0xe2)===_0x3c456a?_0xbb50f8(0xe2):null),_0x46bec2[_0xbb50f8(0xa2)]=_0x507b11(_0x10d84c,_0xbb50f8(0xd7)),_0x46bec2[_0xbb50f8(0xa4)]['on'](_0xbb50f8(0xb2),_0x1c114a=>{const _0x3553dd=_0xbb50f8;_0x1c114a[_0x3553dd(0xe8)](),this[_0x3553dd(0xad)](_0x507b11(_0x10d84c,_0x3553dd(0xce)),this[_0x3553dd(0xdb)])[_0x3553dd(0xf5)](()=>{const _0x4bff54=_0x3553dd;this[_0x4bff54(0xb4)](_0x4bff54(0xb8));});},{'priority':_0xbb50f8(0xf2)}),this['on'](_0xbb50f8(0xc5),()=>{const _0x5b22bf=_0xbb50f8;_0x46bec2[_0x5b22bf(0xb7)]();}),_0x46bec2[_0xbb50f8(0xd3)][_0xbb50f8(0xa3)](this[_0xbb50f8(0xd0)],0x0),_0x46bec2[_0xbb50f8(0xbb)][_0xbb50f8(0xa3)](this[_0xbb50f8(0xd0)],0x0));}[_0x2b8ce4(0xc7)](){const _0x3fdae8=_0x2b8ce4,_0x5b8b4a=new _0x2bf480(this[_0x3fdae8(0xbf)]);return _0x5b8b4a[_0x3fdae8(0xeb)]=_0x507b11(this[_0x3fdae8(0xbf)],_0x3fdae8(0xee)),_0x5b8b4a[_0x3fdae8(0xb9)]=_0x507b11(this[_0x3fdae8(0xbf)],_0x3fdae8(0xee)),_0x5b8b4a[_0x3fdae8(0xcf)]=_0x2e0934[_0x3fdae8(0xa5)],_0x5b8b4a[_0x3fdae8(0xb0)]({'attributes':{'class':_0x3fdae8(0xe9)}}),_0x5b8b4a[_0x3fdae8(0xd2)](_0x3fdae8(0xa9))['to'](this[_0x3fdae8(0xe5)],_0x3fdae8(0xc3),_0x2d2747=>!_0x2d2747),_0x5b8b4a[_0x3fdae8(0xd2)](_0x3fdae8(0xd4))['to'](this[_0x3fdae8(0xe5)],_0x3fdae8(0x9f),this[_0x3fdae8(0xe5)],_0x3fdae8(0xef),(_0x418286,_0x1450f6)=>_0x418286&&!_0x1450f6),_0x5b8b4a['on'](_0x3fdae8(0xb2),()=>{const _0x39e8ee=_0x3fdae8;this[_0x39e8ee(0xb4)](_0x39e8ee(0xb5),this[_0x39e8ee(0xe5)]['id']);}),_0x5b8b4a;}[_0x2b8ce4(0xe1)](){const _0x233bc3=_0x2b8ce4;this[_0x233bc3(0xe5)][_0x233bc3(0xb1)]?this[_0x233bc3(0xb6)][_0x233bc3(0xd8)](this[_0x233bc3(0xf1)])||(this[_0x233bc3(0xb6)][_0x233bc3(0xa3)](this[_0x233bc3(0xf1)],0x0),this[_0x233bc3(0xbb)][_0x233bc3(0xa3)](this[_0x233bc3(0xf1)],0x0)):this[_0x233bc3(0xb6)][_0x233bc3(0xd8)](this[_0x233bc3(0xf1)])&&(this[_0x233bc3(0xb6)][_0x233bc3(0xe2)](this[_0x233bc3(0xf1)]),this[_0x233bc3(0xbb)][_0x233bc3(0xe2)](this[_0x233bc3(0xf1)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x354e0a=_0x157b;(function(_0x28a13e,_0x35b502){const _0x4173a6=_0x157b,_0x40c859=_0x28a13e();while(!![]){try{const _0x2484e7=-parseInt(_0x4173a6(0x146))/0x1+parseInt(_0x4173a6(0x111))/0x2+-parseInt(_0x4173a6(0x129))/0x3*(-parseInt(_0x4173a6(0x135))/0x4)+-parseInt(_0x4173a6(0x11a))/0x5*(-parseInt(_0x4173a6(0x14d))/0x6)+-parseInt(_0x4173a6(0x12e))/0x7+-parseInt(_0x4173a6(0x10b))/0x8*(parseInt(_0x4173a6(0x13e))/0x9)+-parseInt(_0x4173a6(0x149))/0xa;if(_0x2484e7===_0x35b502)break;else _0x40c859['push'](_0x40c859['shift']());}catch(_0x4e7a85){_0x40c859['push'](_0x40c859['shift']());}}}(_0x3fd8,0x4608f));import{ButtonView as _0x117fae,createDropdown as _0x161186,ListView as _0xe2a532,ListItemView as _0x4994ca,focusChildOnDropdownOpen as _0x364517}from'ckeditor5/src/ui.js';import{icons as _0x2c8940}from'ckeditor5/src/core.js';import{UserView as _0x49f80e,ConfirmMixin as _0x3bbd53,LateFocusDropdownButtonView as _0x45c289}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4b4d9f from'./basecommentview.js';import _0x507810 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x30c8cd}from'../../../utils/common-translations.js';function _0x157b(_0x4394f3,_0x102159){const _0x3fd8fb=_0x3fd8();return _0x157b=function(_0x157bbf,_0x149b96){_0x157bbf=_0x157bbf-0xe7;let _0xb7caeb=_0x3fd8fb[_0x157bbf];return _0xb7caeb;},_0x157b(_0x4394f3,_0x102159);}export default class Tt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3bbd53(_0x4b4d9f){constructor(_0x142a13,_0x1fcdcc,_0x324848){const _0x1d0073=_0x157b;super(_0x142a13,_0x1fcdcc,_0x324848),this[_0x1d0073(0x11b)](_0x1d0073(0x12f),null),this[_0x1d0073(0x11b)](_0x1d0073(0x10a),_0x30c8cd(_0x142a13,_0x1d0073(0x12a))),this[_0x1d0073(0x123)](_0x1d0073(0xef))['to'](_0x1fcdcc),this[_0x1d0073(0x123)](_0x1d0073(0x137))['to'](_0x1fcdcc),this[_0x1d0073(0xec)]=this[_0x1d0073(0x131)](),this[_0x1d0073(0x120)]||(this[_0x1d0073(0x11e)]=this[_0x1d0073(0xe8)](),this[_0x1d0073(0x106)]=this[_0x1d0073(0x118)](),this[_0x1d0073(0x11f)]=this[_0x1d0073(0x131)](),this[_0x1d0073(0x11f)][_0x1d0073(0x105)]([this[_0x1d0073(0x11e)],this[_0x1d0073(0x106)]]),this[_0x1d0073(0xf8)]=this[_0x1d0073(0x114)](),this[_0x1d0073(0xec)][_0x1d0073(0x160)](this[_0x1d0073(0xf8)]),this[_0x1d0073(0x153)][_0x1d0073(0x160)](this[_0x1d0073(0xf8)])),this[_0x1d0073(0x152)]=new _0x49f80e(_0x142a13,_0x1fcdcc[_0x1d0073(0x133)],this[_0x1d0073(0x15e)]()),this[_0x1d0073(0x152)][_0x1d0073(0x101)]({'attributes':{'class':[_0x1d0073(0x126),_0x1d0073(0x103)],'aria-hidden':!0x0}}),this[_0x1d0073(0x14c)](_0x1fcdcc,_0x1d0073(0x121),()=>this[_0x1d0073(0x144)]()),this[_0x1d0073(0x155)](this[_0x1d0073(0x125)]());}[_0x354e0a(0x125)](){const _0x31c0bc=_0x354e0a,_0x420f3c=this[_0x31c0bc(0x12d)],_0x207890=[{'tag':_0x31c0bc(0x119),'attributes':{'class':[_0x31c0bc(0x14a),_0x31c0bc(0x15f)]},'children':[{'tag':_0x31c0bc(0x100),'children':[{'text':this[_0x31c0bc(0x152)][_0x31c0bc(0x128)]}],'attributes':{'class':[_0x31c0bc(0x109),_0x31c0bc(0x159)]}},{'tag':_0x31c0bc(0x10c),'attributes':{'datetime':_0x420f3c['to'](_0x31c0bc(0xef)),'class':[_0x31c0bc(0xf4),_0x31c0bc(0x138)]},'children':[{'text':_0x420f3c['to'](_0x31c0bc(0xef),_0xc85bbc=>this[_0x31c0bc(0xed)][_0x31c0bc(0x11d)](_0xc85bbc))}]}]},{'tag':_0x31c0bc(0x119),'attributes':{'class':[_0x31c0bc(0x127),_0x31c0bc(0x134),_0x420f3c['if'](_0x31c0bc(0x14f),_0x31c0bc(0xea)),_0x420f3c['if'](_0x31c0bc(0x14f),_0x31c0bc(0x115))]},'children':this[_0x31c0bc(0xec)]},{'tag':_0x31c0bc(0x119),'attributes':{'class':[_0x31c0bc(0x132)]},'children':this[_0x31c0bc(0x110)]},this[_0x31c0bc(0x122)]];return this[_0x31c0bc(0x13b)][_0x31c0bc(0x14e)]&&_0x207890[_0x31c0bc(0x151)]({'tag':_0x31c0bc(0x119),'attributes':{'class':[_0x31c0bc(0x140)]},'children':[{'text':this[_0x31c0bc(0x15b)]()}]}),{'tag':'li','attributes':{'class':[_0x31c0bc(0xf3),_0x420f3c['if'](_0x31c0bc(0x13f),_0x31c0bc(0x145))],'tabindex':-0x1,'aria-label':_0x420f3c['to'](_0x31c0bc(0x117)),'aria-describedby':this[_0x31c0bc(0x122)]['id'],'role':_0x31c0bc(0x156)},'children':[{'tag':_0x31c0bc(0x119),'attributes':{'class':[_0x31c0bc(0x14b),_0x31c0bc(0x158),_0x420f3c['if'](_0x31c0bc(0x14f),_0x31c0bc(0xf1)),_0x420f3c['if'](_0x31c0bc(0x120),_0x31c0bc(0xfb)),_0x420f3c['to'](_0x31c0bc(0x12f),_0x12fde2=>_0x12fde2?_0x31c0bc(0xfd)+_0x12fde2:'')],'data-author-id':this[_0x31c0bc(0x13b)][_0x31c0bc(0x133)]['id'],'data-comment-id':this[_0x31c0bc(0x13b)]['id'],'role':_0x31c0bc(0x13c)},'children':[this[_0x31c0bc(0x152)],{'tag':_0x31c0bc(0x119),'attributes':{'class':[_0x31c0bc(0xff),_0x31c0bc(0x136)]},'children':_0x207890}]}]};}[_0x354e0a(0xe8)](){const _0x15f7ea=_0x354e0a,_0x19dabd=new _0x117fae(this[_0x15f7ea(0xe7)]);return _0x19dabd[_0x15f7ea(0x148)]=_0x30c8cd(this[_0x15f7ea(0xe7)],_0x15f7ea(0xee)),_0x19dabd[_0x15f7ea(0xf7)]=_0x2c8940[_0x15f7ea(0x130)],_0x19dabd[_0x15f7ea(0x154)]=!0x0,_0x19dabd[_0x15f7ea(0x101)]({'attributes':{'class':_0x15f7ea(0xf1)}}),_0x19dabd[_0x15f7ea(0x123)](_0x15f7ea(0x13d))['to'](this[_0x15f7ea(0x13b)],_0x15f7ea(0xfc),_0x267721=>!_0x267721),_0x19dabd[_0x15f7ea(0x123)](_0x15f7ea(0x150))['to'](this[_0x15f7ea(0x13b)],_0x15f7ea(0x139)),_0x19dabd['on'](_0x15f7ea(0x104),()=>this[_0x15f7ea(0x113)]()),_0x19dabd;}[_0x354e0a(0x118)](){const _0x31d66d=_0x354e0a,_0x419e88=new _0x117fae(this[_0x31d66d(0xe7)]);return _0x419e88[_0x31d66d(0x148)]=_0x30c8cd(this[_0x31d66d(0xe7)],_0x31d66d(0xe9)),_0x419e88[_0x31d66d(0xf7)]=_0x507810,_0x419e88[_0x31d66d(0x154)]=!0x0,_0x419e88[_0x31d66d(0x101)]({'attributes':{'class':_0x31d66d(0x116)}}),_0x419e88[_0x31d66d(0x123)](_0x31d66d(0x13d))['to'](this[_0x31d66d(0x13b)],_0x31d66d(0xfc),_0x232e52=>!_0x232e52),_0x419e88[_0x31d66d(0x123)](_0x31d66d(0x150))['to'](this[_0x31d66d(0x13b)],_0x31d66d(0x11c)),_0x419e88['on'](_0x31d66d(0x104),()=>{const _0x1b9479=_0x31d66d;this[_0x1b9479(0x141)](_0x30c8cd(this[_0x1b9479(0xe7)],_0x1b9479(0x15d)),this[_0x1b9479(0x102)])[_0x1b9479(0x15c)](()=>{const _0x3bc4cd=_0x1b9479;this[_0x3bc4cd(0x10d)](_0x3bc4cd(0x142),this[_0x3bc4cd(0x13b)]['id']);});}),_0x419e88;}[_0x354e0a(0x114)](){const _0x1bd50f=_0x354e0a,_0x3f41e0=_0x161186(this[_0x1bd50f(0xe7)],_0x45c289),_0x3694c7=_0x3f41e0[_0x1bd50f(0xeb)][_0x1bd50f(0x13a)],_0x2ed45a=new _0xe2a532(this[_0x1bd50f(0xe7)]),_0x241692=_0x3f41e0[_0x1bd50f(0x12d)];_0x364517(_0x3f41e0,()=>this[_0x1bd50f(0x11f)][_0x1bd50f(0x124)](_0x3b19bb=>_0x3b19bb[_0x1bd50f(0x150)])),_0x3f41e0[_0x1bd50f(0x101)]({'attributes':{'class':[_0x241692['if'](_0x1bd50f(0x150),_0x1bd50f(0x112),_0x4b0ec7=>!_0x4b0ec7)]}});const _0x1a4e0f=(_0x3c3c4b,_0x17b3bf=-0x1)=>{const _0x486b61=_0x1bd50f,_0x666c35=new _0x4994ca(this[_0x486b61(0xe7)]);_0x666c35[_0x486b61(0x13a)][_0x486b61(0x160)](_0x3c3c4b);const _0x37f38d=_0x17b3bf>-0x1?_0x17b3bf:_0x2ed45a[_0x486b61(0x11f)][_0x486b61(0xf9)];_0x2ed45a[_0x486b61(0x11f)][_0x486b61(0x160)](_0x666c35,_0x37f38d);const _0x5ec6c1=Array[_0x486b61(0x10f)](this[_0x486b61(0x11f)]);_0x3f41e0[_0x486b61(0xf5)](_0x486b61(0x13d),_0x486b61(0x150)),_0x3f41e0[_0x486b61(0x123)](_0x486b61(0x13d))[_0x486b61(0x10e)](_0x5ec6c1,_0x486b61(0x13d),(..._0x24be3d)=>_0x24be3d[_0x486b61(0xf0)](_0xa0843e=>_0xa0843e)),_0x3f41e0[_0x486b61(0x123)](_0x486b61(0x150))[_0x486b61(0x10e)](_0x5ec6c1,_0x486b61(0x150),(..._0x36e96a)=>_0x36e96a[_0x486b61(0xf0)](_0x24820d=>_0x24820d));};_0x3f41e0[_0x1bd50f(0x143)]='sw',_0x3f41e0[_0x1bd50f(0x147)][_0x1bd50f(0x11b)]({'label':_0x30c8cd(this[_0x1bd50f(0xe7)],_0x1bd50f(0xf6)),'icon':_0x2c8940[_0x1bd50f(0x107)]}),_0x3f41e0[_0x1bd50f(0x13d)]=[...this[_0x1bd50f(0x11f)]][_0x1bd50f(0xf0)](_0x3b0f4f=>_0x3b0f4f[_0x1bd50f(0x13d)]),_0x3f41e0[_0x1bd50f(0x147)][_0x1bd50f(0x150)]=[...this[_0x1bd50f(0x11f)]][_0x1bd50f(0xf0)](_0x2b1edd=>_0x2b1edd[_0x1bd50f(0x150)]);for(const _0x43f111 of this[_0x1bd50f(0x11f)])_0x1a4e0f(_0x43f111);return _0x3694c7[_0x1bd50f(0x160)](_0x2ed45a),_0x3f41e0[_0x1bd50f(0x14c)](this[_0x1bd50f(0x11f)],_0x1bd50f(0x160),(_0x18155c,_0x5740de,_0x346e20)=>{_0x1a4e0f(_0x5740de,_0x346e20);}),_0x3f41e0[_0x1bd50f(0x14c)](this[_0x1bd50f(0x11f)],_0x1bd50f(0x108),(_0x1f645a,_0x27f6f3,_0x292a11)=>{const _0x5bc17a=_0x1bd50f;_0x2ed45a[_0x5bc17a(0x11f)][_0x5bc17a(0x108)](_0x292a11);}),_0x3f41e0;}[_0x354e0a(0x15a)](_0x41b21c,_0x193192){const _0x25984b=_0x354e0a,_0x20a148=_0x41b21c&&_0x41b21c[_0x25984b(0x102)];_0x20a148&&(this[_0x25984b(0x14c)](_0x20a148,_0x25984b(0x161),()=>this[_0x25984b(0x12f)]=_0x193192),this[_0x25984b(0x14c)](_0x20a148,_0x25984b(0xfa),()=>this[_0x25984b(0x12f)]=_0x193192),this[_0x25984b(0x14c)](_0x20a148,_0x25984b(0x12c),()=>this[_0x25984b(0x12f)]=null),this[_0x25984b(0x14c)](_0x20a148,_0x25984b(0x12b),()=>this[_0x25984b(0x12f)]=null));}[_0x354e0a(0xfe)](){const _0x1a6eb0=_0x354e0a,_0x885f2c=super[_0x1a6eb0(0xfe)]();return _0x885f2c[_0x1a6eb0(0x123)](_0x1a6eb0(0x10a))['to'](this),_0x885f2c;}[_0x354e0a(0xf2)](){const _0x539a68=_0x354e0a;super[_0x539a68(0xf2)](),this[_0x539a68(0x15a)](this[_0x539a68(0x11e)],_0x539a68(0x157)),this[_0x539a68(0x15a)](this[_0x539a68(0x106)],_0x539a68(0x108));}}function _0x3fd8(){const _0x4ae84b=['isReadOnly','ck-comment--','_createCommentInputView','ck-comment__main','span','extendTemplate','element','ck-annotation__user','execute','addMany','removeButton','threeVerticalDots','remove','ck-comment__info-name','placeholder','200MEUYev','time','fire','toMany','from','visibleView','451448KOZHML','ck-hidden','switchToEditMode','_createDropdown','ck-annotation__actions--hidden','ck-comment--remove','ariaLabel','_createRemoveButton','div','285835fgjCEK','set','isRemovable','formatDateTime','editButton','items','isSystemComment','change:isRemovable','ariaDescriptionView','bind','find','getTemplate','ck-comment__user','ck-comment__actions','name','1097277fgrdmb','Reply...','blur','mouseleave','bindTemplate','2128658TpsClh','actionIndicator','pencil','createCollection','ck-annotation__content-wrapper','author','ck-annotation__actions','4jJezdw','ck-annotation__main','resolvedAt','ck-annotation__info-time','isEditable','children','_model','group','isEnabled','19476qhvogb','isConfirm','ck-comment__external','showConfirm','removeComment','panelPosition','cancelConfirm','ck-comment--remove-confirmation','3902BFhTWP','buttonView','label','1711920lOyoqQ','ck-comment__info','ck-comment','listenTo','24VTtfMR','isExternal','isEditMode','isVisible','push','userView','focusables','withText','setTemplate','listitem','edit','ck-annotation','ck-annotation__info-name','_attachActions','getExternalCommentNote','then','Delete\x20comment?','getUserViewNotificationText','ck-annotation__info','add','mouseenter','locale','_createEditButton','Remove','ck-comment__actions--hidden','panelView','actionBar','_config','Edit','authoredAt','some','ck-comment--edit','render','ck-comment__wrapper','ck-comment__info-time','unbind','Show\x20more\x20items','icon','dropdown','length','focus','ck-comment--info'];_0x3fd8=function(){return _0x4ae84b;};return _0x3fd8();}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4e96(_0x721079,_0x8732a6){var _0x34a3fb=_0x34a3();return _0x4e96=function(_0x4e9623,_0x11d3fb){_0x4e9623=_0x4e9623-0x98;var _0xf3e072=_0x34a3fb[_0x4e9623];return _0xf3e072;},_0x4e96(_0x721079,_0x8732a6);}var _0x48aceb=_0x4e96;(function(_0x301f41,_0x1b267e){var _0x5eacfa=_0x4e96,_0x165ad6=_0x301f41();while(!![]){try{var _0x53ee3a=parseInt(_0x5eacfa(0x9e))/0x1+-parseInt(_0x5eacfa(0xa4))/0x2+parseInt(_0x5eacfa(0x9c))/0x3*(-parseInt(_0x5eacfa(0x9b))/0x4)+parseInt(_0x5eacfa(0xa3))/0x5*(parseInt(_0x5eacfa(0x9f))/0x6)+-parseInt(_0x5eacfa(0x98))/0x7*(parseInt(_0x5eacfa(0xa1))/0x8)+parseInt(_0x5eacfa(0x9a))/0x9*(-parseInt(_0x5eacfa(0xa2))/0xa)+parseInt(_0x5eacfa(0xa5))/0xb;if(_0x53ee3a===_0x1b267e)break;else _0x165ad6['push'](_0x165ad6['shift']());}catch(_0x29624b){_0x165ad6['push'](_0x165ad6['shift']());}}}(_0x34a3,0x723d9));import{Plugin as _0x29f71f}from'ckeditor5/src/core.js';import _0x1e70e3 from'./comments/commentsrepository.js';import _0x1591e7 from'./comments/commentsediting.js';import _0x201291 from'./comments/commentsui.js';function _0x34a3(){var _0x2007fb=['15148430Vzqyxn','11403VfVXAm','pluginName','15849klzxJs','1136JTAAWA','1086OPSwyd','requires','531723PGqhLF','1374822vaLXKf','Comments','2424sxwJsJ','2320ltWHIo','5LmOyUY','1330228KGPDzE'];_0x34a3=function(){return _0x2007fb;};return _0x34a3();}import _0x37db38 from'./commentsonly.js';import _0x246950 from'./annotations/widesidebar.js';import _0xeaaa0 from'./annotations/narrowsidebar.js';import _0x55f95b from'./annotations/inlineannotations.js';import _0x20a0e7 from'./comments/commentsarchiveui.js';import _0x58d138 from'./comments/commentsarchive.js';export default class f extends _0x29f71f{static get[_0x48aceb(0x9d)](){return[_0x1e70e3,_0x1591e7,_0x201291,_0x58d138,_0x20a0e7,_0x37db38,_0x246950,_0xeaaa0,_0x55f95b];}static get[_0x48aceb(0x99)](){var _0xc920aa=_0x48aceb;return _0xc920aa(0xa0);}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x569a(){const _0x2439f1=['highest','5681268kpHhmB','affectsData','editor','256347akJsoL','clearForceDisabled','forceDisabled','311358XsyrHn','6mUojTM','CommentsOnly','delete','commentsOnly','DragDrop','set','view','get','editing','listenTo','340usrAap','_disableCommentsOnlyMode','requires','1661744niXVpw','plugins','pluginName','stop','stopListening','2942075mWzLbt','_enableCommentsOnlyMode','isEnabled','has','afterInit','commentsOnlyMode','change:isEnabled','6398792huhkpp','26YPWDDB','134091djuIHH','clipboardInput','addCommentThread','config','cut','document','commands'];_0x569a=function(){return _0x2439f1;};return _0x569a();}const _0x368b62=_0x58e8;(function(_0x52d31b,_0x28e947){const _0x1061d0=_0x58e8,_0x30fcca=_0x52d31b();while(!![]){try{const _0x45af7e=parseInt(_0x1061d0(0x1e6))/0x1+parseInt(_0x1061d0(0x1d7))/0x2*(parseInt(_0x1061d0(0x1d8))/0x3)+parseInt(_0x1061d0(0x1e0))/0x4+parseInt(_0x1061d0(0x1cf))/0x5*(parseInt(_0x1061d0(0x1e7))/0x6)+-parseInt(_0x1061d0(0x1ca))/0x7+-parseInt(_0x1061d0(0x1d6))/0x8+-parseInt(_0x1061d0(0x1e3))/0x9*(parseInt(_0x1061d0(0x1c7))/0xa);if(_0x45af7e===_0x28e947)break;else _0x30fcca['push'](_0x30fcca['shift']());}catch(_0x3baedb){_0x30fcca['push'](_0x30fcca['shift']());}}}(_0x569a,0xdaa00));import{Plugin as _0x1dfa90}from'ckeditor5/src/core.js';function _0x58e8(_0x1eb184,_0x469f87){const _0x569a7e=_0x569a();return _0x58e8=function(_0x58e823,_0x5ed9a2){_0x58e823=_0x58e823-0x1c5;let _0x41e0a9=_0x569a7e[_0x58e823];return _0x41e0a9;},_0x58e8(_0x1eb184,_0x469f87);}import _0x272817 from'./comments/commentsediting.js';export default class e extends _0x1dfa90{static get[_0x368b62(0x1cc)](){const _0x3316b6=_0x368b62;return _0x3316b6(0x1e8);}static get[_0x368b62(0x1c9)](){return[_0x272817];}constructor(_0x105211){const _0x57294a=_0x368b62;super(_0x105211),this[_0x57294a(0x1ec)](_0x57294a(0x1d1),!0x1),this['on'](_0x57294a(0x1d5),(_0x2a1672,_0x398574,_0x46efcf)=>{const _0x252c2b=_0x57294a;_0x46efcf?this[_0x252c2b(0x1d0)]():this[_0x252c2b(0x1c8)]();});}[_0x368b62(0x1d3)](){const _0x1fa198=_0x368b62;!this[_0x1fa198(0x1d1)]&&this[_0x1fa198(0x1e2)][_0x1fa198(0x1db)][_0x1fa198(0x1ee)](_0x1fa198(0x1ea))&&(this[_0x1fa198(0x1d1)]=!0x0);}[_0x368b62(0x1d0)](){const _0x1a82a4=_0x368b62;for(const [_0x1bbbbb,_0x21a164]of this[_0x1a82a4(0x1e2)][_0x1a82a4(0x1de)])_0x21a164[_0x1a82a4(0x1e1)]&&_0x1a82a4(0x1da)!==_0x1bbbbb&&_0x21a164[_0x1a82a4(0x1e5)](_0x1a82a4(0x1d4));this[_0x1a82a4(0x1e2)][_0x1a82a4(0x1cb)][_0x1a82a4(0x1d2)](_0x1a82a4(0x1eb))&&this[_0x1a82a4(0x1e2)][_0x1a82a4(0x1cb)][_0x1a82a4(0x1ee)](_0x1a82a4(0x1eb))[_0x1a82a4(0x1e5)](_0x1a82a4(0x1d4));const _0x455668=this[_0x1a82a4(0x1e2)][_0x1a82a4(0x1c5)][_0x1a82a4(0x1ed)][_0x1a82a4(0x1dd)];this[_0x1a82a4(0x1c6)](_0x455668,_0x1a82a4(0x1dc),_0x10215e=>_0x10215e[_0x1a82a4(0x1cd)](),{'priority':_0x1a82a4(0x1df)}),this[_0x1a82a4(0x1c6)](_0x455668,_0x1a82a4(0x1d9),_0x466d10=>_0x466d10[_0x1a82a4(0x1cd)](),{'priority':_0x1a82a4(0x1df)}),this[_0x1a82a4(0x1c6)](_0x455668,_0x1a82a4(0x1e9),_0x22505a=>_0x22505a[_0x1a82a4(0x1cd)](),{'priority':_0x1a82a4(0x1df)});}[_0x368b62(0x1c8)](){const _0xaa786f=_0x368b62;for(const [_0x2000d1,_0x164bb6]of this[_0xaa786f(0x1e2)][_0xaa786f(0x1de)])_0x164bb6[_0xaa786f(0x1e1)]&&_0xaa786f(0x1da)!==_0x2000d1&&_0x164bb6[_0xaa786f(0x1e4)](_0xaa786f(0x1d4));this[_0xaa786f(0x1ce)](this[_0xaa786f(0x1e2)][_0xaa786f(0x1c5)][_0xaa786f(0x1ed)][_0xaa786f(0x1dd)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1bb677,_0x3e0d84){var _0x1ecea5=_0x160a,_0x449c05=_0x1bb677();while(!![]){try{var _0x2d748e=parseInt(_0x1ecea5(0x1e7))/0x1+-parseInt(_0x1ecea5(0x1e9))/0x2*(parseInt(_0x1ecea5(0x1ec))/0x3)+parseInt(_0x1ecea5(0x1e8))/0x4+parseInt(_0x1ecea5(0x1e4))/0x5+parseInt(_0x1ecea5(0x1e5))/0x6*(-parseInt(_0x1ecea5(0x1e6))/0x7)+-parseInt(_0x1ecea5(0x1e3))/0x8*(parseInt(_0x1ecea5(0x1ea))/0x9)+parseInt(_0x1ecea5(0x1eb))/0xa;if(_0x2d748e===_0x3e0d84)break;else _0x449c05['push'](_0x449c05['shift']());}catch(_0x2976ca){_0x449c05['push'](_0x449c05['shift']());}}}(_0x354b,0xe6905));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotation}from'./annotations/annotation.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationCollection}from'./annotations/annotationcollection.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';function _0x160a(_0x2a1237,_0x5d1f11){var _0x354b95=_0x354b();return _0x160a=function(_0x160a16,_0x1dabe1){_0x160a16=_0x160a16-0x1e3;var _0x518257=_0x354b95[_0x160a16];return _0x518257;},_0x160a(_0x2a1237,_0x5d1f11);}export{default as WideSidebar}from'./annotations/widesidebar.js';function _0x354b(){var _0x53f9d5=['687gqpTTP','12286776MScumH','2651345RwJygm','174YvmDGZ','425089MZtnHM','1441333ljZQwC','2158004PuNtoy','13722ylZaeF','9ubcybJ','33013850cLEffI'];_0x354b=function(){return _0x53f9d5;};return _0x354b();}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';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0xaa4338,_0x2d98c6,_0x4db2eb){const t=_0xaa4338['t'];switch(_0x2d98c6){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'},_0x4db2eb);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'},_0x4db2eb);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'},_0x4db2eb);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'},_0x4db2eb);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x4db2eb);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'},_0x4db2eb);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'},_0x4db2eb);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'},_0x4db2eb);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(_0x397f60,_0x385626){const _0x21ee8f=_0x235e,_0x4a6f33=_0x397f60();while(!![]){try{const _0x2ab461=parseInt(_0x21ee8f(0xb8))/0x1+-parseInt(_0x21ee8f(0xb6))/0x2*(parseInt(_0x21ee8f(0xb3))/0x3)+parseInt(_0x21ee8f(0xbb))/0x4*(parseInt(_0x21ee8f(0xbc))/0x5)+-parseInt(_0x21ee8f(0xba))/0x6*(parseInt(_0x21ee8f(0xc0))/0x7)+parseInt(_0x21ee8f(0xaf))/0x8*(parseInt(_0x21ee8f(0xb9))/0x9)+parseInt(_0x21ee8f(0xbe))/0xa*(parseInt(_0x21ee8f(0xb4))/0xb)+parseInt(_0x21ee8f(0xad))/0xc;if(_0x2ab461===_0x385626)break;else _0x4a6f33['push'](_0x4a6f33['shift']());}catch(_0x3d2e34){_0x4a6f33['push'](_0x4a6f33['shift']());}}}(_0x4826,0x63663));import{throttle as _0x280b35}from'lodash-es';function _0x235e(_0x222d36,_0x41d28b){const _0x4826e5=_0x4826();return _0x235e=function(_0x235e33,_0x2379ce){_0x235e33=_0x235e33-0xad;let _0x557e7a=_0x4826e5[_0x235e33];return _0x557e7a;},_0x235e(_0x222d36,_0x41d28b);}function _0x4826(){const _0x11a8f1=['type','1210340RpHATe','attributes','34139TDOHDw','cancel','4228896feeioj','disconnect','328yoQout','characterData','class','observe','1410FUlWry','22DuIfVx','attributeName','1834kGUzLD','childList','425563lVhGQv','13941WNCvxQ','732UQjcwf','1580wHNqMZ','4425mGZbAc'];_0x4826=function(){return _0x11a8f1;};return _0x4826();}export default function J(_0x103f5e){const _0x14b8b3=_0x280b35(_0x103f5e,0x1e),_0x4a33dd=new MutationObserver(_0x1d7515=>{const _0x548459=_0x235e;for(const _0x41ca9b of _0x1d7515)(_0x548459(0xbf)==_0x41ca9b[_0x548459(0xbd)]&&_0x548459(0xb1)==_0x41ca9b[_0x548459(0xb5)]||_0x548459(0xb7)==_0x41ca9b[_0x548459(0xbd)]||_0x548459(0xb0)==_0x41ca9b[_0x548459(0xbd)])&&_0x14b8b3();});return{'attach'(_0x486228){const _0x19d92d=_0x235e;_0x4a33dd[_0x19d92d(0xb2)](_0x486228,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x2bf882=_0x235e;_0x4a33dd[_0x2bf882(0xae)](),_0x14b8b3[_0x2bf882(0xc1)]();}};}
|