@ckeditor/ckeditor5-comments 46.0.1-alpha.5 → 46.0.1-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xa62803=_0x4cd5;(function(_0x5518b6,_0x2c9e21){const _0x15a968=_0x4cd5,_0x5bfcbb=_0x5518b6();while(!![]){try{const _0x16c083=-parseInt(_0x15a968(0x1f7))/0x1*(-parseInt(_0x15a968(0x1cb))/0x2)+-parseInt(_0x15a968(0x20c))/0x3+parseInt(_0x15a968(0x1ca))/0x4*(-parseInt(_0x15a968(0x216))/0x5)+-parseInt(_0x15a968(0x1ee))/0x6*(parseInt(_0x15a968(0x1db))/0x7)+parseInt(_0x15a968(0x1b7))/0x8*(-parseInt(_0x15a968(0x203))/0x9)+-parseInt(_0x15a968(0x1cc))/0xa+parseInt(_0x15a968(0x217))/0xb;if(_0x16c083===_0x2c9e21)break;else _0x5bfcbb['push'](_0x5bfcbb['shift']());}catch(_0x79db59){_0x5bfcbb['push'](_0x5bfcbb['shift']());}}}(_0x9e08,0xc377f));import{View as _0x42869f,FocusCycler as _0x217aee}from'ckeditor5/src/ui.js';import{diff as _0x5db599,Collection as _0xd43131,FocusTracker as _0x2cc2ab,KeystrokeHandler as _0x888b8}from'ckeditor5/src/utils.js';import{getTranslation as _0x41e20f}from'../../../utils/common-translations.js';function _0x9e08(){const _0x164991=['hasDirtyComment','resolvedAt','change:isEditMode','998948vVNxmt','10648vnpMPs','13036050uLFvUz','isActive','destroy','keystrokes','comments','target','bindTemplate','get','ck-thread__comments','remove','removeComment','maxCommentsWhenCollapsed','arrowup','change:isActive','resolveCommentThread','226191NaHuJP','delegate','map','collapse','set','expand','_collapsedCommentsView','render','refreshVisibleViews','_calculatePosition','createCollection','_shouldCollapse','_setupKeyboardNavigation','Marked\x20as\x20resolved','resolved','delete','listenTo','maxThreadTotalWeight','from','84RKrQaV','includes','stopListening','ck-hidden','length','add','change:hasDirtyComment','maxCommentCharsWhenCollapsed','visibleViews','19sPhCaC','focusTracker','CommentView','_model','some','_config','isEditMode','change','authoredAt','forEach','change:isResolved','editorReady','6079959ZiRjdx','updateComment','reverse','_handleRemoveCommentModel','focusCycler','focus','commentUpdated','removed','equal','4654905DQnobv','added','arrowdown','resolvedCommentView','commentViews','_rearrangeExpand','focusFirst','setTemplate','_rearrangeCollapse','resolvedBy','10LFEBjM','57003430KsaDuG','focusLast','8gCqddV','_updateHasDirtyComment','element','weight','_findOptimalIndex','Thread\x20comments','locale','editorConfig','_handleInfoComment','insert','formatDateTime','bind','editorDestroyed','viewUid','count','_handleNewCommentModel'];_0x9e08=function(){return _0x164991;};return _0x9e08();}import{CollapsedCommentsView as _0x3d82c8}from'./collapsedcommentsview.js';function _0x4cd5(_0x350653,_0x29c792){const _0x9e086f=_0x9e08();return _0x4cd5=function(_0x4cd58e,_0x528b84){_0x4cd58e=_0x4cd58e-0x1b6;let _0x1b2f11=_0x9e086f[_0x4cd58e];return _0x1b2f11;},_0x4cd5(_0x350653,_0x29c792);}export class CommentsListView extends _0x42869f{[_0xa62803(0x210)];[_0xa62803(0x20f)];[_0xa62803(0x1f8)];[_0xa62803(0x1cf)];[_0xa62803(0x207)];[_0xa62803(0x1fa)];[_0xa62803(0x1fc)];[_0xa62803(0x1e1)];constructor(_0x4da6f1,_0x272a06,_0x76a582){const _0x2e3ee6=_0xa62803;super(_0x4da6f1);const _0x49d744=this[_0x2e3ee6(0x1d2)];this[_0x2e3ee6(0x1df)](_0x2e3ee6(0x1c7),!0x1),this[_0x2e3ee6(0x1df)](_0x2e3ee6(0x1f2),_0x272a06[_0x2e3ee6(0x1d0)][_0x2e3ee6(0x1f2)]),this[_0x2e3ee6(0x1df)](_0x2e3ee6(0x1cd),!0x1),this[_0x2e3ee6(0x1fa)]=_0x272a06,this[_0x2e3ee6(0x1fc)]=_0x76a582,this[_0x2e3ee6(0x210)]=this[_0x2e3ee6(0x1e5)](),this[_0x2e3ee6(0x1f6)]=this[_0x2e3ee6(0x1e5)](),this[_0x2e3ee6(0x20f)]=null,this[_0x2e3ee6(0x1f8)]=new _0x2cc2ab(),this[_0x2e3ee6(0x1cf)]=new _0x888b8(),this[_0x2e3ee6(0x207)]=new _0x217aee({'focusables':this[_0x2e3ee6(0x210)],'focusTracker':this[_0x2e3ee6(0x1f8)],'keystrokeHandler':this[_0x2e3ee6(0x1cf)],'keystrokeHandlerOptions':{'filter':_0x161604=>this[_0x2e3ee6(0x210)][_0x2e3ee6(0x1dd)](_0x8ccd8b=>_0x8ccd8b[_0x2e3ee6(0x1b9)])[_0x2e3ee6(0x1ef)](_0x161604[_0x2e3ee6(0x1d1)])},'actions':{'focusPrevious':_0x2e3ee6(0x1d8),'focusNext':_0x2e3ee6(0x20e)}}),this[_0x2e3ee6(0x1e1)]=new _0x3d82c8(_0x4da6f1),this[_0x2e3ee6(0x1e1)][_0x2e3ee6(0x1c2)](_0x2e3ee6(0x1c5))['to'](this,_0x2e3ee6(0x1f2),_0x52ca6c=>_0x52ca6c-this[_0x2e3ee6(0x1fc)][_0x2e3ee6(0x1d7)]);for(const _0x214195 of _0x272a06[_0x2e3ee6(0x1d0)])this[_0x2e3ee6(0x1c6)](_0x214195);this[_0x2e3ee6(0x1bf)](),this[_0x2e3ee6(0x1eb)](_0x272a06[_0x2e3ee6(0x1d0)],_0x2e3ee6(0x1f3),(_0x52b409,_0x406e3d)=>{const _0x51f47b=_0x2e3ee6,_0x4c59a6=this[_0x51f47b(0x1e4)](_0x406e3d);this[_0x51f47b(0x1f2)]++,this[_0x51f47b(0x1c6)](_0x406e3d,_0x4c59a6),this[_0x51f47b(0x1e3)]();}),this[_0x2e3ee6(0x1eb)](_0x272a06[_0x2e3ee6(0x1d0)],_0x2e3ee6(0x1d5),(_0x11547d,_0x2184e2)=>{const _0x21ca14=_0x2e3ee6;this[_0x21ca14(0x1f2)]--,this[_0x21ca14(0x206)](_0x2184e2),this[_0x21ca14(0x1e3)]();}),this[_0x2e3ee6(0x1eb)](_0x272a06,_0x2e3ee6(0x209),()=>this[_0x2e3ee6(0x1e3)]()),this[_0x2e3ee6(0x1eb)](_0x272a06,_0x2e3ee6(0x201),()=>this[_0x2e3ee6(0x1bf)]()),this['on'](_0x2e3ee6(0x1d9),()=>this[_0x2e3ee6(0x1e3)]()),this['on'](_0x2e3ee6(0x1f4),()=>this[_0x2e3ee6(0x1e3)]()),this[_0x2e3ee6(0x213)]({'tag':'ul','attributes':{'class':[_0x2e3ee6(0x1d4),_0x49d744['if'](_0x2e3ee6(0x1f2),_0x2e3ee6(0x1f1),_0x48dfae=>!_0x48dfae)],'aria-label':_0x41e20f(_0x4da6f1,_0x2e3ee6(0x1bc))},'children':this[_0x2e3ee6(0x1f6)]});}get[_0xa62803(0x1e6)](){const _0x973b06=_0xa62803;return this[_0x973b06(0x1fa)][_0x973b06(0x1ba)]>this[_0x973b06(0x1fc)][_0x973b06(0x1ec)]&&!this[_0x973b06(0x1cd)]&&!this[_0x973b06(0x1c7)];}[_0xa62803(0x1e2)](){const _0x255531=_0xa62803;super[_0x255531(0x1e2)](),this[_0x255531(0x1e3)](),this[_0x255531(0x1e7)]();}[_0xa62803(0x208)](_0x2a8203){const _0x32527b=_0xa62803;-0x1===_0x2a8203?this[_0x32527b(0x207)][_0x32527b(0x1b6)]():this[_0x32527b(0x207)][_0x32527b(0x212)]();}[_0xa62803(0x1ce)](){const _0x869b76=_0xa62803;this[_0x869b76(0x1e1)][_0x869b76(0x1ce)]();for(const _0x23d03d of this[_0x869b76(0x210)])_0x23d03d[_0x869b76(0x1ce)]();super[_0x869b76(0x1ce)]();}[_0xa62803(0x1e3)](){const _0x3063ce=_0xa62803;this[_0x3063ce(0x1e6)]?this[_0x3063ce(0x214)]():this[_0x3063ce(0x211)]();}[_0xa62803(0x1c6)](_0x2e704e,_0x2a1be6){const _0x2da607=_0xa62803,_0x175a8f=new this[(_0x2da607(0x1fc))][(_0x2da607(0x1f9))](this[_0x2da607(0x1bd)],_0x2e704e,{'maxCommentCharsWhenCollapsed':this[_0x2da607(0x1fc)][_0x2da607(0x1f5)],'formatDateTime':this[_0x2da607(0x1fc)][_0x2da607(0x1c1)],'editorConfig':this[_0x2da607(0x1fc)][_0x2da607(0x1be)]});_0x175a8f[_0x2da607(0x1c4)]=_0x2e704e['id'],_0x175a8f[_0x2da607(0x1dc)](_0x2da607(0x1d6))['to'](this),_0x175a8f[_0x2da607(0x1dc)](_0x2da607(0x204))['to'](this),_0x175a8f[_0x2da607(0x1dc)](_0x2da607(0x1da))['to'](this),_0x175a8f[_0x2da607(0x1dc)](_0x2da607(0x202))['to'](this),_0x175a8f[_0x2da607(0x1dc)](_0x2da607(0x1c3))['to'](this),this[_0x2da607(0x1eb)](_0x175a8f,_0x2da607(0x1c9),()=>this[_0x2da607(0x1b8)]()),this[_0x2da607(0x210)][_0x2da607(0x1f3)](_0x175a8f,_0x2a1be6);}[_0xa62803(0x1e4)](_0x792b63){const _0x2a5fe0=_0xa62803,_0x3e4e20=this[_0x2a5fe0(0x1fa)][_0x2a5fe0(0x1bb)](_0x792b63);return this[_0x2a5fe0(0x20f)]?this[_0x2a5fe0(0x20f)][_0x2a5fe0(0x1ff)]>_0x792b63[_0x2a5fe0(0x1ff)]?_0x3e4e20-0x1:_0x3e4e20:_0x3e4e20-0x1;}[_0xa62803(0x1bf)](){const _0x32a9df=_0xa62803;if(this[_0x32a9df(0x1fa)][_0x32a9df(0x215)]&&this[_0x32a9df(0x1fa)][_0x32a9df(0x1c8)]){const _0x561e07={'id':_0x32a9df(0x1e9),'author':this[_0x32a9df(0x1fa)][_0x32a9df(0x215)],'authoredAt':this[_0x32a9df(0x1fa)][_0x32a9df(0x1c8)],'content':_0x41e20f(this[_0x32a9df(0x1bd)],_0x32a9df(0x1e8)),'attributes':{}};this[_0x32a9df(0x20f)]=new this[(_0x32a9df(0x1fc))][(_0x32a9df(0x1f9))](this[_0x32a9df(0x1bd)],_0x561e07,{'maxCommentCharsWhenCollapsed':this[_0x32a9df(0x1fc)][_0x32a9df(0x1f5)],'formatDateTime':this[_0x32a9df(0x1fc)][_0x32a9df(0x1c1)],'editorConfig':this[_0x32a9df(0x1fc)][_0x32a9df(0x1be)],'isSystemComment':!0x0}),this[_0x32a9df(0x210)][_0x32a9df(0x1f3)](this[_0x32a9df(0x20f)],this[_0x32a9df(0x1fa)][_0x32a9df(0x1bb)](_0x561e07));}else this[_0x32a9df(0x20f)]&&(this[_0x32a9df(0x210)][_0x32a9df(0x1d5)](this[_0x32a9df(0x20f)]),this[_0x32a9df(0x20f)][_0x32a9df(0x1ce)](),this[_0x32a9df(0x20f)]=null);this[_0x32a9df(0x1e3)]();}[_0xa62803(0x206)](_0x2324ec){const _0x197fbf=_0xa62803,_0x3af659=this[_0x197fbf(0x210)][_0x197fbf(0x1d5)](_0x2324ec['id']);this[_0x197fbf(0x1f0)](_0x3af659),_0x3af659[_0x197fbf(0x1fd)]&&this[_0x197fbf(0x1b8)](),_0x3af659[_0x197fbf(0x1ce)]();}[_0xa62803(0x1b8)](){const _0xf05287=_0xa62803;this[_0xf05287(0x1c7)]=Array[_0xf05287(0x1ed)](this[_0xf05287(0x210)])[_0xf05287(0x1fb)](_0x130d44=>_0x130d44[_0xf05287(0x1fd)]);}[_0xa62803(0x214)](){const _0x3b327f=_0xa62803,_0x28da85=function(_0x1c0203){const _0x389cf5=_0x4cd5,_0x56fa61=new _0xd43131();for(const _0x529d40 of _0x1c0203)_0x56fa61[_0x389cf5(0x1f3)](_0x529d40);return _0x56fa61;}(this[_0x3b327f(0x210)]),_0x2fe012=this[_0x3b327f(0x1e1)][_0x3b327f(0x1c5)];for(let _0x5b0205=0x1;_0x5b0205<=_0x2fe012;_0x5b0205++)_0x28da85[_0x3b327f(0x1d5)](0x1);for(const _0x1c2aed of _0x28da85)_0x1c2aed[_0x3b327f(0x1de)]();_0x2fe012>0x0&&_0x28da85[_0x3b327f(0x1f3)](this[_0x3b327f(0x1e1)],0x1),ns(_0x5db599(Array[_0x3b327f(0x1ed)](this[_0x3b327f(0x1f6)]),Array[_0x3b327f(0x1ed)](_0x28da85)),this[_0x3b327f(0x1f6)],_0x28da85);}[_0xa62803(0x211)](){const _0x366478=_0xa62803;ns(_0x5db599(Array[_0x366478(0x1ed)](this[_0x366478(0x1f6)]),Array[_0x366478(0x1ed)](this[_0x366478(0x210)])),this[_0x366478(0x1f6)],this[_0x366478(0x210)]);for(const _0x109e21 of this[_0x366478(0x1f6)])_0x109e21[_0x366478(0x1e0)]();}[_0xa62803(0x1e7)](){const _0x404271=_0xa62803;this[_0x404271(0x210)][_0x404271(0x200)](_0x4895f3=>{const _0x1e9faf=_0x404271;this[_0x1e9faf(0x1f8)][_0x1e9faf(0x1f3)](_0x4895f3[_0x1e9faf(0x1b9)]),this[_0x1e9faf(0x1cf)][_0x1e9faf(0x1eb)](_0x4895f3[_0x1e9faf(0x1b9)]);}),this[_0x404271(0x210)]['on'](_0x404271(0x1fe),(_0x10b0b1,_0x5a1c26)=>{const _0x20bb11=_0x404271;for(const _0x42f0a3 of _0x5a1c26[_0x20bb11(0x20a)])this[_0x20bb11(0x1f8)][_0x20bb11(0x1d5)](_0x42f0a3[_0x20bb11(0x1b9)]),this[_0x20bb11(0x1cf)][_0x20bb11(0x1f0)](_0x42f0a3[_0x20bb11(0x1b9)]);for(const _0x143ee4 of Array[_0x20bb11(0x1ed)](_0x5a1c26[_0x20bb11(0x20d)])[_0x20bb11(0x205)]())this[_0x20bb11(0x1f8)][_0x20bb11(0x1f3)](_0x143ee4[_0x20bb11(0x1b9)]),this[_0x20bb11(0x1cf)][_0x20bb11(0x1eb)](_0x143ee4[_0x20bb11(0x1b9)]);});}}function ns(_0x1d8f55,_0x432763,_0x103e75){const _0x1551ef=_0xa62803;let _0x56d477=0x0;for(const _0x3a4ffa of _0x1d8f55)switch(_0x3a4ffa){case _0x1551ef(0x1c0):_0x432763[_0x1551ef(0x1f3)](_0x103e75[_0x1551ef(0x1d3)](_0x56d477),_0x56d477),_0x56d477++;break;case _0x1551ef(0x1ea):_0x432763[_0x1551ef(0x1d5)](_0x56d477);break;case _0x1551ef(0x20b):_0x56d477++;}}
|
|
23
|
+
const _0x23d1b7=_0x365f;(function(_0x171e7c,_0x1946fd){const _0xdc4575=_0x365f,_0x33ed03=_0x171e7c();while(!![]){try{const _0x3738d9=parseInt(_0xdc4575(0x168))/0x1+parseInt(_0xdc4575(0x16a))/0x2+-parseInt(_0xdc4575(0x143))/0x3+-parseInt(_0xdc4575(0x18f))/0x4+parseInt(_0xdc4575(0x185))/0x5+parseInt(_0xdc4575(0x14a))/0x6+-parseInt(_0xdc4575(0x186))/0x7;if(_0x3738d9===_0x1946fd)break;else _0x33ed03['push'](_0x33ed03['shift']());}catch(_0x30b3ed){_0x33ed03['push'](_0x33ed03['shift']());}}}(_0x20b6,0xb7f56));import{View as _0xce2596,FocusCycler as _0x410eee}from'ckeditor5/src/ui.js';import{diff as _0x481854,Collection as _0x307e71,FocusTracker as _0x12991c,KeystrokeHandler as _0x588a13}from'ckeditor5/src/utils.js';function _0x365f(_0x41b852,_0x12e995){const _0x20b611=_0x20b6();return _0x365f=function(_0x365f64,_0x346905){_0x365f64=_0x365f64-0x140;let _0x38f8a0=_0x20b611[_0x365f64];return _0x38f8a0;},_0x365f(_0x41b852,_0x12e995);}import{getTranslation as _0x352511}from'../../../utils/common-translations.js';function _0x20b6(){const _0x288ce2=['formatDateTime','maxCommentCharsWhenCollapsed','includes','_calculatePosition','focusCycler','change:isActive','reverse','updateComment','_shouldCollapse','ck-hidden','commentUpdated','insert','bind','listenTo','change','_rearrangeCollapse','2131017MPVzEa','Thread\x20comments','get','element','_collapsedCommentsView','CommentView','setTemplate','7371912cbqLpd','add','delete','keystrokes','viewUid','resolvedBy','hasDirtyComment','some','isEditMode','set','bindTemplate','collapse','stopListening','expand','destroy','render','_findOptimalIndex','target','change:hasDirtyComment','Marked\x20as\x20resolved','_updateHasDirtyComment','forEach','length','_rearrangeExpand','resolveCommentThread','createCollection','map','focusFirst','locale','equal','292244pSxIAK','visibleViews','1494210OGMoPE','change:isResolved','comments','refreshVisibleViews','added','arrowup','arrowdown','resolvedAt','weight','count','_handleRemoveCommentModel','_config','_handleInfoComment','authoredAt','maxThreadTotalWeight','editorConfig','remove','focus','removeComment','resolved','maxCommentsWhenCollapsed','editorReady','focusTracker','commentViews','ck-thread__comments','_setupKeyboardNavigation','change:isEditMode','1217250lUQoPw','4009894LPzjtS','_handleNewCommentModel','editorDestroyed','delegate','_model','removed','isActive','resolvedCommentView','focusLast','1899104HOpyTS','from'];_0x20b6=function(){return _0x288ce2;};return _0x20b6();}import{CollapsedCommentsView as _0xfa29fd}from'./collapsedcommentsview.js';export class CommentsListView extends _0xce2596{[_0x23d1b7(0x181)];[_0x23d1b7(0x18d)];[_0x23d1b7(0x180)];[_0x23d1b7(0x14d)];[_0x23d1b7(0x195)];[_0x23d1b7(0x18a)];[_0x23d1b7(0x175)];[_0x23d1b7(0x147)];constructor(_0x5b7ab9,_0x4a15db,_0xf6d94e){const _0x1f36ec=_0x23d1b7;super(_0x5b7ab9);const _0x166379=this[_0x1f36ec(0x154)];this[_0x1f36ec(0x153)](_0x1f36ec(0x150),!0x1),this[_0x1f36ec(0x153)](_0x1f36ec(0x160),_0x4a15db[_0x1f36ec(0x16c)][_0x1f36ec(0x160)]),this[_0x1f36ec(0x153)](_0x1f36ec(0x18c),!0x1),this[_0x1f36ec(0x18a)]=_0x4a15db,this[_0x1f36ec(0x175)]=_0xf6d94e,this[_0x1f36ec(0x181)]=this[_0x1f36ec(0x163)](),this[_0x1f36ec(0x169)]=this[_0x1f36ec(0x163)](),this[_0x1f36ec(0x18d)]=null,this[_0x1f36ec(0x180)]=new _0x12991c(),this[_0x1f36ec(0x14d)]=new _0x588a13(),this[_0x1f36ec(0x195)]=new _0x410eee({'focusables':this[_0x1f36ec(0x181)],'focusTracker':this[_0x1f36ec(0x180)],'keystrokeHandler':this[_0x1f36ec(0x14d)],'keystrokeHandlerOptions':{'filter':_0x3d0a9a=>this[_0x1f36ec(0x181)][_0x1f36ec(0x164)](_0x2f7803=>_0x2f7803[_0x1f36ec(0x146)])[_0x1f36ec(0x193)](_0x3d0a9a[_0x1f36ec(0x15b)])},'actions':{'focusPrevious':_0x1f36ec(0x16f),'focusNext':_0x1f36ec(0x170)}}),this[_0x1f36ec(0x147)]=new _0xfa29fd(_0x5b7ab9),this[_0x1f36ec(0x147)][_0x1f36ec(0x19d)](_0x1f36ec(0x173))['to'](this,_0x1f36ec(0x160),_0x4f2566=>_0x4f2566-this[_0x1f36ec(0x175)][_0x1f36ec(0x17e)]);for(const _0x110094 of _0x4a15db[_0x1f36ec(0x16c)])this[_0x1f36ec(0x187)](_0x110094);this[_0x1f36ec(0x176)](),this[_0x1f36ec(0x140)](_0x4a15db[_0x1f36ec(0x16c)],_0x1f36ec(0x14b),(_0x4f3438,_0x261448)=>{const _0x1c849f=_0x1f36ec,_0x42af1d=this[_0x1c849f(0x194)](_0x261448);this[_0x1c849f(0x160)]++,this[_0x1c849f(0x187)](_0x261448,_0x42af1d),this[_0x1c849f(0x16d)]();}),this[_0x1f36ec(0x140)](_0x4a15db[_0x1f36ec(0x16c)],_0x1f36ec(0x17a),(_0x48f6d3,_0xe5e530)=>{const _0x3f13bd=_0x1f36ec;this[_0x3f13bd(0x160)]--,this[_0x3f13bd(0x174)](_0xe5e530),this[_0x3f13bd(0x16d)]();}),this[_0x1f36ec(0x140)](_0x4a15db,_0x1f36ec(0x19b),()=>this[_0x1f36ec(0x16d)]()),this[_0x1f36ec(0x140)](_0x4a15db,_0x1f36ec(0x16b),()=>this[_0x1f36ec(0x176)]()),this['on'](_0x1f36ec(0x196),()=>this[_0x1f36ec(0x16d)]()),this['on'](_0x1f36ec(0x15c),()=>this[_0x1f36ec(0x16d)]()),this[_0x1f36ec(0x149)]({'tag':'ul','attributes':{'class':[_0x1f36ec(0x182),_0x166379['if'](_0x1f36ec(0x160),_0x1f36ec(0x19a),_0x4da0ea=>!_0x4da0ea)],'aria-label':_0x352511(_0x5b7ab9,_0x1f36ec(0x144))},'children':this[_0x1f36ec(0x169)]});}get[_0x23d1b7(0x199)](){const _0x3c594c=_0x23d1b7;return this[_0x3c594c(0x18a)][_0x3c594c(0x172)]>this[_0x3c594c(0x175)][_0x3c594c(0x178)]&&!this[_0x3c594c(0x18c)]&&!this[_0x3c594c(0x150)];}[_0x23d1b7(0x159)](){const _0x4bf89d=_0x23d1b7;super[_0x4bf89d(0x159)](),this[_0x4bf89d(0x16d)](),this[_0x4bf89d(0x183)]();}[_0x23d1b7(0x17b)](_0x4f2528){const _0x49f3c3=_0x23d1b7;-0x1===_0x4f2528?this[_0x49f3c3(0x195)][_0x49f3c3(0x18e)]():this[_0x49f3c3(0x195)][_0x49f3c3(0x165)]();}[_0x23d1b7(0x158)](){const _0xcf3601=_0x23d1b7;this[_0xcf3601(0x147)][_0xcf3601(0x158)]();for(const _0x2d67b0 of this[_0xcf3601(0x181)])_0x2d67b0[_0xcf3601(0x158)]();super[_0xcf3601(0x158)]();}[_0x23d1b7(0x16d)](){const _0x1a0d95=_0x23d1b7;this[_0x1a0d95(0x199)]?this[_0x1a0d95(0x142)]():this[_0x1a0d95(0x161)]();}[_0x23d1b7(0x187)](_0x1afc1e,_0x23ad5a){const _0x59b363=_0x23d1b7,_0x4e2719=new this[(_0x59b363(0x175))][(_0x59b363(0x148))](this[_0x59b363(0x166)],_0x1afc1e,{'maxCommentCharsWhenCollapsed':this[_0x59b363(0x175)][_0x59b363(0x192)],'formatDateTime':this[_0x59b363(0x175)][_0x59b363(0x191)],'editorConfig':this[_0x59b363(0x175)][_0x59b363(0x179)]});_0x4e2719[_0x59b363(0x14e)]=_0x1afc1e['id'],_0x4e2719[_0x59b363(0x189)](_0x59b363(0x17c))['to'](this),_0x4e2719[_0x59b363(0x189)](_0x59b363(0x198))['to'](this),_0x4e2719[_0x59b363(0x189)](_0x59b363(0x162))['to'](this),_0x4e2719[_0x59b363(0x189)](_0x59b363(0x17f))['to'](this),_0x4e2719[_0x59b363(0x189)](_0x59b363(0x188))['to'](this),this[_0x59b363(0x140)](_0x4e2719,_0x59b363(0x184),()=>this[_0x59b363(0x15e)]()),this[_0x59b363(0x181)][_0x59b363(0x14b)](_0x4e2719,_0x23ad5a);}[_0x23d1b7(0x194)](_0x26ef5b){const _0x3fc275=_0x23d1b7,_0x4cd1a8=this[_0x3fc275(0x18a)][_0x3fc275(0x15a)](_0x26ef5b);return this[_0x3fc275(0x18d)]?this[_0x3fc275(0x18d)][_0x3fc275(0x177)]>_0x26ef5b[_0x3fc275(0x177)]?_0x4cd1a8-0x1:_0x4cd1a8:_0x4cd1a8-0x1;}[_0x23d1b7(0x176)](){const _0x1406b4=_0x23d1b7;if(this[_0x1406b4(0x18a)][_0x1406b4(0x14f)]&&this[_0x1406b4(0x18a)][_0x1406b4(0x171)]){const _0xefdc2e={'id':_0x1406b4(0x17d),'author':this[_0x1406b4(0x18a)][_0x1406b4(0x14f)],'authoredAt':this[_0x1406b4(0x18a)][_0x1406b4(0x171)],'content':_0x352511(this[_0x1406b4(0x166)],_0x1406b4(0x15d)),'attributes':{}};this[_0x1406b4(0x18d)]=new this[(_0x1406b4(0x175))][(_0x1406b4(0x148))](this[_0x1406b4(0x166)],_0xefdc2e,{'maxCommentCharsWhenCollapsed':this[_0x1406b4(0x175)][_0x1406b4(0x192)],'formatDateTime':this[_0x1406b4(0x175)][_0x1406b4(0x191)],'editorConfig':this[_0x1406b4(0x175)][_0x1406b4(0x179)],'isSystemComment':!0x0}),this[_0x1406b4(0x181)][_0x1406b4(0x14b)](this[_0x1406b4(0x18d)],this[_0x1406b4(0x18a)][_0x1406b4(0x15a)](_0xefdc2e));}else this[_0x1406b4(0x18d)]&&(this[_0x1406b4(0x181)][_0x1406b4(0x17a)](this[_0x1406b4(0x18d)]),this[_0x1406b4(0x18d)][_0x1406b4(0x158)](),this[_0x1406b4(0x18d)]=null);this[_0x1406b4(0x16d)]();}[_0x23d1b7(0x174)](_0x229e08){const _0x27c66c=_0x23d1b7,_0x519767=this[_0x27c66c(0x181)][_0x27c66c(0x17a)](_0x229e08['id']);this[_0x27c66c(0x156)](_0x519767),_0x519767[_0x27c66c(0x152)]&&this[_0x27c66c(0x15e)](),_0x519767[_0x27c66c(0x158)]();}[_0x23d1b7(0x15e)](){const _0x359d6e=_0x23d1b7;this[_0x359d6e(0x150)]=Array[_0x359d6e(0x190)](this[_0x359d6e(0x181)])[_0x359d6e(0x151)](_0x37e914=>_0x37e914[_0x359d6e(0x152)]);}[_0x23d1b7(0x142)](){const _0x459125=_0x23d1b7,_0x461d14=function(_0x48579c){const _0x3d5a4c=_0x365f,_0x2536f5=new _0x307e71();for(const _0x8b593a of _0x48579c)_0x2536f5[_0x3d5a4c(0x14b)](_0x8b593a);return _0x2536f5;}(this[_0x459125(0x181)]),_0x484dfb=this[_0x459125(0x147)][_0x459125(0x173)];for(let _0x74fa7d=0x1;_0x74fa7d<=_0x484dfb;_0x74fa7d++)_0x461d14[_0x459125(0x17a)](0x1);for(const _0x10f34e of _0x461d14)_0x10f34e[_0x459125(0x155)]();_0x484dfb>0x0&&_0x461d14[_0x459125(0x14b)](this[_0x459125(0x147)],0x1),ns(_0x481854(Array[_0x459125(0x190)](this[_0x459125(0x169)]),Array[_0x459125(0x190)](_0x461d14)),this[_0x459125(0x169)],_0x461d14);}[_0x23d1b7(0x161)](){const _0x2e01ac=_0x23d1b7;ns(_0x481854(Array[_0x2e01ac(0x190)](this[_0x2e01ac(0x169)]),Array[_0x2e01ac(0x190)](this[_0x2e01ac(0x181)])),this[_0x2e01ac(0x169)],this[_0x2e01ac(0x181)]);for(const _0x265c48 of this[_0x2e01ac(0x169)])_0x265c48[_0x2e01ac(0x157)]();}[_0x23d1b7(0x183)](){const _0xf5e7e5=_0x23d1b7;this[_0xf5e7e5(0x181)][_0xf5e7e5(0x15f)](_0x48bff1=>{const _0xfbce48=_0xf5e7e5;this[_0xfbce48(0x180)][_0xfbce48(0x14b)](_0x48bff1[_0xfbce48(0x146)]),this[_0xfbce48(0x14d)][_0xfbce48(0x140)](_0x48bff1[_0xfbce48(0x146)]);}),this[_0xf5e7e5(0x181)]['on'](_0xf5e7e5(0x141),(_0x4fb775,_0x16ebbc)=>{const _0x178139=_0xf5e7e5;for(const _0x38d89b of _0x16ebbc[_0x178139(0x18b)])this[_0x178139(0x180)][_0x178139(0x17a)](_0x38d89b[_0x178139(0x146)]),this[_0x178139(0x14d)][_0x178139(0x156)](_0x38d89b[_0x178139(0x146)]);for(const _0x41dc28 of Array[_0x178139(0x190)](_0x16ebbc[_0x178139(0x16e)])[_0x178139(0x197)]())this[_0x178139(0x180)][_0x178139(0x14b)](_0x41dc28[_0x178139(0x146)]),this[_0x178139(0x14d)][_0x178139(0x140)](_0x41dc28[_0x178139(0x146)]);});}}function ns(_0x3713ad,_0x33fc61,_0x4d8a6a){const _0x5c5045=_0x23d1b7;let _0x1a6520=0x0;for(const _0x47b45c of _0x3713ad)switch(_0x47b45c){case _0x5c5045(0x19c):_0x33fc61[_0x5c5045(0x14b)](_0x4d8a6a[_0x5c5045(0x145)](_0x1a6520),_0x1a6520),_0x1a6520++;break;case _0x5c5045(0x14c):_0x33fc61[_0x5c5045(0x17a)](_0x1a6520);break;case _0x5c5045(0x167):_0x1a6520++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5980(_0x558749,_0x574216){const _0x477feb=_0x477f();return _0x5980=function(_0x598025,_0x428c2a){_0x598025=_0x598025-0x107;let _0x39f7c9=_0x477feb[_0x598025];return _0x39f7c9;},_0x5980(_0x558749,_0x574216);}const _0x537d85=_0x5980;(function(_0x209c90,_0x1b39aa){const _0x2c4d61=_0x5980,_0x214688=_0x209c90();while(!![]){try{const _0x402ef9=-parseInt(_0x2c4d61(0x108))/0x1+-parseInt(_0x2c4d61(0x114))/0x2+-parseInt(_0x2c4d61(0x116))/0x3+parseInt(_0x2c4d61(0x110))/0x4*(-parseInt(_0x2c4d61(0x107))/0x5)+parseInt(_0x2c4d61(0x119))/0x6*(parseInt(_0x2c4d61(0x11a))/0x7)+parseInt(_0x2c4d61(0x10c))/0x8*(-parseInt(_0x2c4d61(0x109))/0x9)+parseInt(_0x2c4d61(0x10f))/0xa*(parseInt(_0x2c4d61(0x10e))/0xb);if(_0x402ef9===_0x1b39aa)break;else _0x214688['push'](_0x214688['shift']());}catch(_0x2f1c6b){_0x214688['push'](_0x214688['shift']());}}}(_0x477f,0x96e75));import{View as _0x270485}from'ckeditor5/src/ui.js';import{getTranslation as _0x172b9f}from'../../../utils/common-translations.js';function _0x477f(){const _0x237b41=['538203UjGiHR','contextValue','ck-context__value','66ovdybX','25522JanGdZ','10YOCXap','534378Rosboi','2978253gNHoSk','span','set','8OobsEU','setTemplate','11FQQfLe','23706970ijkAUY','1161836kTzLBO','THREAD_CONTEXT_LABEL','bindTemplate','element','334176XGYyPe','focus'];_0x477f=function(){return _0x237b41;};return _0x477f();}export class CommentThreadHeaderContextView extends _0x270485{constructor(_0x3c2f0a){const _0x4f5984=_0x5980;super(_0x3c2f0a);const _0xc15e54=this[_0x4f5984(0x112)];this[_0x4f5984(0x10b)](_0x4f5984(0x117),''),this[_0x4f5984(0x10d)]({'tag':_0x4f5984(0x10a),'attributes':{'class':['ck',_0x4f5984(0x118)],'aria-label':_0xc15e54['to'](_0x4f5984(0x117),_0x3b8a84=>_0x172b9f(_0x3c2f0a,_0x4f5984(0x111),_0x3b8a84)),'tabindex':-0x1},'children':[{'text':_0xc15e54['to'](_0x4f5984(0x117))}]});}[_0x537d85(0x115)](){const _0x21e028=_0x537d85;this[_0x21e028(0x113)][_0x21e028(0x115)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x25d7(){const _0x4429d8=['focusFirst','_trimContextValue','Reopen','mouseleave','tooltip','querySelector','11060950WmheCY','reopenButtonView','classList','div','value','.ck-context__value','label','focusables','tab','hasContext','232097vkCGkX','_model','55cufkRf','scrollWidth','add','ck-context--quotes','contextValue','_createContextView','length','isVisible','isResolved','67417eqShzY','ck-context-wrapper','bindTemplate','reopenCommentThread','focus','listenTo','overlay','1579312IqcZHN','fire','element','ck-context','focusCycler','113356qRqAow','contextView','.ck-context','isResolvable','11dStlir','setTemplate','...','execute','locale','1949994auNjpU','mouseenter','icon','1005660EoRejC','context','_setupKeyboardNavigation','offsetWidth','Comment\x20was\x20made\x20on\x20an\x20element','keystrokes','ck-thread__header','substring','12UjQxCF','createCollection','isReadOnly','lastIndexOf','2nRGWqc','_createReopenButton','isEnabled','render','focusTracker','_attachContextActions','bind','ck-annotation__actions','remove','shift+tab'];_0x25d7=function(){return _0x4429d8;};return _0x25d7();}const _0xd2f2b0=_0x42cf;(function(_0x1ecf82,_0x23b8b8){const _0xf65920=_0x42cf,_0x274548=_0x1ecf82();while(!![]){try{const _0x5ec21c=parseInt(_0xf65920(0xad))/0x1+-parseInt(_0xf65920(0x93))/0x2*(-parseInt(_0xf65920(0x87))/0x3)+parseInt(_0xf65920(0xc4))/0x4*(parseInt(_0xf65920(0xaf))/0x5)+-parseInt(_0xf65920(0x8f))/0x6*(parseInt(_0xf65920(0xb8))/0x7)+parseInt(_0xf65920(0xbf))/0x8+parseInt(_0xf65920(0x84))/0x9+parseInt(_0xf65920(0xa3))/0xa*(-parseInt(_0xf65920(0xc8))/0xb);if(_0x5ec21c===_0x23b8b8)break;else _0x274548['push'](_0x274548['shift']());}catch(_0xba4ed1){_0x274548['push'](_0x274548['shift']());}}}(_0x25d7,0x28f59));import{View as _0xb0517b,ButtonView as _0x3f89ac,FocusCycler as _0x524be3}from'ckeditor5/src/ui.js';import{FocusTracker as _0x912a94,KeystrokeHandler as _0x59a7cf}from'ckeditor5/src/utils.js';function _0x42cf(_0x232377,_0x1b4022){const _0x25d7be=_0x25d7();return _0x42cf=function(_0x42cf46,_0x5d9afb){_0x42cf46=_0x42cf46-0x80;let _0x310a07=_0x25d7be[_0x42cf46];return _0x310a07;},_0x42cf(_0x232377,_0x1b4022);}import{IconUndo as _0x2ea5c5}from'ckeditor5/src/icons.js';import{getTranslation as _0x3d5d20}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x42c5b9}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0xb0517b{[_0xd2f2b0(0xae)];[_0xd2f2b0(0xa4)];[_0xd2f2b0(0xc5)];[_0xd2f2b0(0xaa)];[_0xd2f2b0(0x97)];[_0xd2f2b0(0x8c)];[_0xd2f2b0(0xc3)];constructor(_0x30666c,_0x31d940){const _0x442768=_0xd2f2b0;super(_0x30666c);const _0x37524c=this[_0x442768(0xba)];this[_0x442768(0xae)]=_0x31d940,this[_0x442768(0xa4)]=this[_0x442768(0x94)](),this[_0x442768(0xc5)]=this[_0x442768(0xb4)](),this[_0x442768(0xaa)]=this[_0x442768(0x90)]([this[_0x442768(0xc5)],this[_0x442768(0xa4)]]),this[_0x442768(0x97)]=new _0x912a94(),this[_0x442768(0x8c)]=new _0x59a7cf(),this[_0x442768(0xc3)]=new _0x524be3({'focusables':this[_0x442768(0xaa)],'focusTracker':this[_0x442768(0x97)],'keystrokeHandler':this[_0x442768(0x8c)],'actions':{'focusPrevious':_0x442768(0x9c),'focusNext':_0x442768(0xab)}}),this[_0x442768(0x99)](_0x442768(0xac))['to'](this[_0x442768(0xae)],_0x442768(0x88),_0x5c3fef=>!!_0x5c3fef),this[_0x442768(0x99)](_0x442768(0xb3))['to'](this[_0x442768(0xae)],_0x442768(0x88),_0xf78de3=>_0xf78de3&&_0xf78de3[_0x442768(0xa7)]?this[_0x442768(0x9e)](_0xf78de3[_0x442768(0xa7)]):_0x3d5d20(this[_0x442768(0x83)],_0x442768(0x8b))),this[_0x442768(0x80)]({'tag':_0x442768(0xa6),'attributes':{'class':[_0x442768(0x8d)]},'children':[{'tag':_0x442768(0xa6),'attributes':{'class':[_0x442768(0xb9)]},'children':[{'tag':_0x442768(0xa6),'attributes':{'class':[_0x442768(0xc2),_0x37524c['if'](_0x442768(0xac),_0x442768(0xb2))]},'children':[this[_0x442768(0xc5)]]}]},{'tag':_0x442768(0xa6),'attributes':{'class':[_0x442768(0x9a)]},'children':[this[_0x442768(0xa4)]]}]});}[_0xd2f2b0(0x96)](){const _0x12d1ca=_0xd2f2b0;super[_0x12d1ca(0x96)](),this[_0x12d1ca(0x98)](),this[_0x12d1ca(0x89)]();}[_0xd2f2b0(0xbc)](){const _0x5eb28a=_0xd2f2b0;this[_0x5eb28a(0xc3)][_0x5eb28a(0x9d)]();}[_0xd2f2b0(0x94)](){const _0x2a4836=_0xd2f2b0,_0x13da63=new _0x3f89ac(this[_0x2a4836(0x83)]);return _0x13da63[_0x2a4836(0xa9)]=_0x3d5d20(this[_0x2a4836(0x83)],_0x2a4836(0x9f)),_0x13da63[_0x2a4836(0xa1)]=_0x3d5d20(this[_0x2a4836(0x83)],_0x2a4836(0x9f)),_0x13da63[_0x2a4836(0x86)]=_0x2ea5c5,_0x13da63[_0x2a4836(0x99)](_0x2a4836(0x95))['to'](this[_0x2a4836(0xae)],_0x2a4836(0x91),_0x275693=>!_0x275693),_0x13da63[_0x2a4836(0x99)](_0x2a4836(0xb6))['to'](this[_0x2a4836(0xae)],_0x2a4836(0xc7),this[_0x2a4836(0xae)],_0x2a4836(0xb7),(_0x27cfb1,_0x2ebe22)=>_0x27cfb1&&_0x2ebe22),_0x13da63['on'](_0x2a4836(0x82),()=>{const _0x3dd1b6=_0x2a4836;this[_0x3dd1b6(0xc0)](_0x3dd1b6(0xbb),this[_0x3dd1b6(0xae)]['id']);}),_0x13da63;}[_0xd2f2b0(0x9e)](_0x5cba63){const _0x123edb=_0xd2f2b0;if(_0x5cba63[_0x123edb(0xb5)]<0x96)return _0x5cba63;const _0x300b86=_0x5cba63[_0x123edb(0x92)]('\x20',0x93);return _0x5cba63[_0x123edb(0x8e)](0x0,_0x300b86>-0x1?_0x300b86:0x93)+_0x123edb(0x81);}[_0xd2f2b0(0x98)](){const _0x42c667=_0xd2f2b0,_0x10d326=this[_0x42c667(0xc1)][_0x42c667(0xa2)](_0x42c667(0xc6)),_0xba18f7=_0x10d326[_0x42c667(0xa2)](_0x42c667(0xa8));this[_0x42c667(0xbd)](_0x10d326,_0x42c667(0x85),()=>{const _0x43834c=_0x42c667;_0xba18f7[_0x43834c(0x8a)]<_0xba18f7[_0x43834c(0xb0)]&&_0x10d326[_0x43834c(0xa5)][_0x43834c(0xb1)](_0x43834c(0xbe));}),this[_0x42c667(0xbd)](_0x10d326,_0x42c667(0xa0),()=>{const _0x2db00f=_0x42c667;_0x10d326[_0x2db00f(0xa5)][_0x2db00f(0x9b)](_0x2db00f(0xbe));});}[_0xd2f2b0(0x89)](){const _0x2e278d=_0xd2f2b0;this[_0x2e278d(0x8c)][_0x2e278d(0xbd)](this[_0x2e278d(0xc1)]);for(const _0x2486a3 of this[_0x2e278d(0xaa)])this[_0x2e278d(0x97)][_0x2e278d(0xb1)](_0x2486a3[_0x2e278d(0xc1)]),this[_0x2e278d(0x8c)][_0x2e278d(0xbd)](_0x2486a3[_0x2e278d(0xc1)]);}[_0xd2f2b0(0xb4)](){const _0x69ad16=_0xd2f2b0,_0x138d87=new _0x42c5b9(this[_0x69ad16(0x83)]);return _0x138d87[_0x69ad16(0x99)](_0x69ad16(0xb3))['to'](this),_0x138d87;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2c1d(_0x31b7bb,_0x45766f){const _0x30e76b=_0x30e7();return _0x2c1d=function(_0x2c1dc0,_0x43ed68){_0x2c1dc0=_0x2c1dc0-0xdd;let _0x5b1ff6=_0x30e76b[_0x2c1dc0];return _0x5b1ff6;},_0x2c1d(_0x31b7bb,_0x45766f);}const _0x47fb33=_0x2c1d;(function(_0x4b79ca,_0xb5c042){const _0x5ea96b=_0x2c1d,_0x5ec399=_0x4b79ca();while(!![]){try{const _0x494520=parseInt(_0x5ea96b(0x10e))/0x1*(-parseInt(_0x5ea96b(0xe9))/0x2)+parseInt(_0x5ea96b(0xf2))/0x3*(-parseInt(_0x5ea96b(0xfe))/0x4)+-parseInt(_0x5ea96b(0xfb))/0x5+parseInt(_0x5ea96b(0xee))/0x6*(parseInt(_0x5ea96b(0x107))/0x7)+-parseInt(_0x5ea96b(0xf5))/0x8*(parseInt(_0x5ea96b(0x108))/0x9)+-parseInt(_0x5ea96b(0xff))/0xa+parseInt(_0x5ea96b(0xf8))/0xb;if(_0x494520===_0xb5c042)break;else _0x5ec399['push'](_0x5ec399['shift']());}catch(_0x7304ec){_0x5ec399['push'](_0x5ec399['shift']());}}}(_0x30e7,0x575af));import{View as _0x19adc5}from'ckeditor5/src/ui.js';import{CommentInputView as _0x203e54}from'./commentinputview.js';import{UserView as _0x30c22f}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x19adc5{constructor(_0x5ece22,_0xaf3bb8,_0x1d06e0){const _0x2c9eb3=_0x2c1d;super(_0x5ece22),this[_0x2c9eb3(0xfd)]=new _0x203e54(_0x5ece22,_0x1d06e0),this[_0x2c9eb3(0xdf)]=this[_0x2c9eb3(0xfd)][_0x2c9eb3(0xdf)],this[_0x2c9eb3(0xfd)][_0x2c9eb3(0xf1)](_0x2c9eb3(0x10b))['to'](this[_0x2c9eb3(0xfd)][_0x2c9eb3(0x10c)],_0x2c9eb3(0xe4),this[_0x2c9eb3(0xfd)],_0x2c9eb3(0x10a),(_0x59cd56,_0x4efed3)=>_0x59cd56||!!_0x4efed3),this[_0x2c9eb3(0xec)](_0x2c9eb3(0x100),!0x1),this['on'](_0x2c9eb3(0xf0),()=>{const _0x2c1dd4=_0x2c9eb3;this[_0x2c1dd4(0x100)]&&!this[_0x2c1dd4(0xfd)][_0x2c1dd4(0xf3)]&&this[_0x2c1dd4(0xfd)][_0x2c1dd4(0xe2)]();}),this[_0x2c9eb3(0xfd)][_0x2c9eb3(0xdd)](_0x2c9eb3(0xed))['to'](this),this[_0x2c9eb3(0xfd)][_0x2c9eb3(0xdd)](_0x2c9eb3(0xf6))['to'](this),this[_0x2c9eb3(0xfc)]=new _0x30c22f(_0x5ece22,_0xaf3bb8),this[_0x2c9eb3(0xfc)][_0x2c9eb3(0x109)]({'attributes':{'class':_0x2c9eb3(0xeb),'aria-hidden':!0x0}}),this[_0x2c9eb3(0xfd)][_0x2c9eb3(0x109)]({'attributes':{'class':_0x2c9eb3(0x104)}}),this[_0x2c9eb3(0xe3)]({'tag':_0x2c9eb3(0xe8),'attributes':{'class':[_0x2c9eb3(0xde),this[_0x2c9eb3(0xef)]['if'](_0x2c9eb3(0x100),_0x2c9eb3(0x10d))]},'children':[this[_0x2c9eb3(0xfc)],this[_0x2c9eb3(0xfd)]]});}[_0x47fb33(0xe0)](){const _0x2aa041=_0x47fb33;super[_0x2aa041(0xe0)](),this[_0x2aa041(0xea)]();}[_0x47fb33(0xe1)](){const _0x4aa0ae=_0x47fb33;return this[_0x4aa0ae(0xfd)][_0x4aa0ae(0xe1)]()[_0x4aa0ae(0xfa)](()=>super[_0x4aa0ae(0xe1)]());}[_0x47fb33(0x105)](_0x305c22){const _0x41a4b7=_0x47fb33;this[_0x41a4b7(0xfd)][_0x41a4b7(0x105)](_0x305c22);}[_0x47fb33(0xea)](){const _0x24153d=_0x47fb33;this[_0x24153d(0xf7)](this[_0x24153d(0xe5)],_0x24153d(0x103),(_0x38c972,_0x3b80e5)=>{const _0x1adbcc=_0x24153d,{submitButtonView:_0x3e69f1,cancelButtonView:_0x59fd1a,editor:_0x358dc4}=this[_0x1adbcc(0xfd)];[_0x3e69f1[_0x1adbcc(0xe5)],_0x59fd1a[_0x1adbcc(0xe5)],_0x358dc4?_0x358dc4[_0x1adbcc(0x106)][_0x1adbcc(0xf9)][_0x1adbcc(0xe6)]():null][_0x1adbcc(0x101)](_0x1756a1=>_0x1756a1)[_0x1adbcc(0xf4)](_0x28fcac=>_0x28fcac[_0x1adbcc(0x10f)](_0x3b80e5[_0x1adbcc(0x102)]))||(this[_0x1adbcc(0x105)](),_0x3b80e5[_0x1adbcc(0xe7)]());});}}function _0x30e7(){const _0x1c9488=['delegate','ck-comment__input-container','focusCycler','render','destroy','createEditor','setTemplate','isFocused','element','getDomRoot','preventDefault','div','706ZbebyL','_focusOnNonInteractiveMouseDown','ck-thread__user','set','editorReady','6gQCsDo','bindTemplate','change:showInput','bind','156987LeTqcb','editor','some','248048eOwOwc','editorDestroyed','listenTo','17986441cMqYSI','view','then','2232275haCCPc','userView','commentInputView','12olHqkU','6032380CWFMdn','showInput','filter','target','mousedown','ck-thread__input','focus','editing','3563385wMZHSh','153WdvBvA','extendTemplate','value','showButtons','focusTracker','ck-comment__input-container--active','149VWvIBg','contains'];_0x30e7=function(){return _0x1c9488;};return _0x30e7();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x12e1(_0x1c6380,_0xd33c1d){const _0x390dc3=_0x390d();return _0x12e1=function(_0x12e15e,_0x410f3f){_0x12e15e=_0x12e15e-0x165;let _0x14e530=_0x390dc3[_0x12e15e];return _0x14e530;},_0x12e1(_0x1c6380,_0xd33c1d);}const _0x47f52a=_0x12e1;(function(_0x3de03a,_0x359da4){const _0x57baa3=_0x12e1,_0x18b096=_0x3de03a();while(!![]){try{const _0x4ea368=parseInt(_0x57baa3(0x184))/0x1*(parseInt(_0x57baa3(0x18a))/0x2)+-parseInt(_0x57baa3(0x19c))/0x3+parseInt(_0x57baa3(0x1b1))/0x4*(-parseInt(_0x57baa3(0x192))/0x5)+-parseInt(_0x57baa3(0x1b4))/0x6*(-parseInt(_0x57baa3(0x171))/0x7)+parseInt(_0x57baa3(0x19b))/0x8*(parseInt(_0x57baa3(0x1aa))/0x9)+parseInt(_0x57baa3(0x16c))/0xa+parseInt(_0x57baa3(0x1a0))/0xb*(-parseInt(_0x57baa3(0x1b7))/0xc);if(_0x4ea368===_0x359da4)break;else _0x18b096['push'](_0x18b096['shift']());}catch(_0x243dab){_0x18b096['push'](_0x18b096['shift']());}}}(_0x390d,0xba7bd));import{ConfirmMixin as _0x280253,LateFocusButtonView as _0x501568}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x390d(){const _0x36db46=['change:archivedAt','commentViews','Write\x20a\x20comment...','then','_boundFirstCommentView','1213zAbOJw','resolveCommentThread','ck-thread--unlinked','bind','commentThreadHeaderView','showConfirm','344SBUcLI','high','_cancelAllConfirms','set','listitem','commentThreadInputView','listenTo','icon','130190Zhkhxb','isVisible','extendTemplate','_bindFirstCommentView','element','querySelector','isUnlinked','isResolvable','isResolved','8TflyCQ','817449dEAEpv','resolveButton','focusables','Resolve','11SlSxGk','length','removeButton','_model','label','removeConfirm','isSystemComment','ck-thread--active','placeholder','stop','7076961FIJFUr','add','ck-thread--','isEnabled','change:isActive','isConfirm','containerElement','16xJSoZI','cancelConfirm','actionBar','4525548Xyuywf','isActive','removeCommentThread','34334436DMzJEj','ck-rounded-corners','ck-thread','div','ck-thread__container','createCollection','Delete\x20comment\x20thread?','ck-thread--remove-confirmation','actionIndicator','change:isReadOnly','archivedAt','_createResolveButton','commentThreadChildren','ck-reset_all-excluded','execute','ariaDescriptionView','bindTemplate','14981940YWFzke','tooltip','getTemplate','locale','_updateArchivedThreadHeader','14VXyjPB','remove','.ck-thread__container','has','get','fire','unbind','focus','setTemplate','commentsListView','ck-comment--resolve','ariaLabel','render','isReadOnly'];_0x390d=function(){return _0x36db46;};return _0x390d();}import{IconCheck as _0x51e2a5}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x539afe}from'./basecommentthreadview.js';import{getTranslation as _0x3d1557}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x280253(_0x539afe){[_0x47f52a(0x167)];[_0x47f52a(0x1b0)];[_0x47f52a(0x19d)];[_0x47f52a(0x183)];constructor(_0x3f8399,_0x5826f3,_0x796c8f,_0x5a2faf){const _0x383be=_0x47f52a;super(_0x3f8399,_0x5826f3,_0x796c8f,_0x5a2faf),this[_0x383be(0x167)]=this[_0x383be(0x1bc)]([this[_0x383be(0x17a)],this[_0x383be(0x18f)],this[_0x383be(0x16a)]]),this[_0x383be(0x18d)](_0x383be(0x1bf),null),this[_0x383be(0x1b0)]=null,this[_0x383be(0x183)]=null,this[_0x383be(0x16f)]=_0x3f8399,this[_0x383be(0x19d)]=this[_0x383be(0x166)](),this[_0x383be(0x179)](this[_0x383be(0x16e)]()),this['on'](_0x383be(0x1ae),(_0x237d35,_0x2dea5c,_0x3bea17)=>{const _0x4b0833=_0x383be;_0x3bea17||this[_0x4b0833(0x18c)]();}),this[_0x383be(0x190)](this[_0x383be(0x1a3)],_0x383be(0x1c0),(_0x3efafe,_0x3cc559,_0x1b9150)=>{const _0x2fd8bc=_0x383be;_0x1b9150&&this[_0x2fd8bc(0x18c)]();}),this[_0x383be(0x1a1)]>0x0&&this[_0x383be(0x195)](),this[_0x383be(0x190)](this[_0x383be(0x17a)][_0x383be(0x180)],_0x383be(0x1ab),()=>{const _0x48e876=_0x383be;this[_0x48e876(0x195)]();});}[_0x47f52a(0x16e)](){const _0x9ff21c=_0x47f52a,_0x8a3893=this[_0x9ff21c(0x16b)];return{'tag':_0x9ff21c(0x1ba),'attributes':{'class':['ck',_0x9ff21c(0x1b9),_0x9ff21c(0x168),_0x9ff21c(0x1b8),_0x8a3893['if'](_0x9ff21c(0x1b5),_0x9ff21c(0x1a7)),_0x8a3893['if'](_0x9ff21c(0x198),_0x9ff21c(0x186)),_0x8a3893['if'](_0x9ff21c(0x1af),_0x9ff21c(0x1be)),_0x8a3893['to'](_0x9ff21c(0x1bf),_0x16c8ac=>_0x16c8ac?_0x9ff21c(0x1ac)+_0x16c8ac:'')],'data-thread-id':this[_0x9ff21c(0x1a3)]['id'],'tabindex':0x0,'role':_0x9ff21c(0x18e),'aria-label':_0x8a3893['to'](_0x9ff21c(0x17c)),'aria-describedby':this[_0x9ff21c(0x16a)]['id']},'children':[{'tag':_0x9ff21c(0x1ba),'attributes':{'class':_0x9ff21c(0x1bb)},'children':this[_0x9ff21c(0x167)]}]};}[_0x47f52a(0x17d)](){const _0x186212=_0x47f52a;super[_0x186212(0x17d)](),this[_0x186212(0x1b0)]=this[_0x186212(0x196)][_0x186212(0x197)](_0x186212(0x173)),this[_0x186212(0x1a3)]['on'](_0x186212(0x17f),()=>{const _0x3178d3=_0x186212;this[_0x3178d3(0x170)]();}),this[_0x186212(0x170)]();}[_0x47f52a(0x18c)](){const _0x14c670=_0x47f52a;this[_0x14c670(0x1b2)]();for(const _0x26ab34 of this[_0x14c670(0x17a)][_0x14c670(0x180)])_0x26ab34[_0x14c670(0x1b2)]();}[_0x47f52a(0x195)](){const _0xb692e2=_0x47f52a,{locale:_0x11ba89}=this,_0x116542=this[_0xb692e2(0x17a)][_0xb692e2(0x180)][_0xb692e2(0x175)](0x0);_0x116542===this[_0xb692e2(0x183)]||_0x116542[_0xb692e2(0x1a6)]||(this[_0xb692e2(0x183)]=_0x116542,this[_0xb692e2(0x177)](_0xb692e2(0x1bf)),this[_0xb692e2(0x187)](_0xb692e2(0x1bf))['to'](_0x116542,_0xb692e2(0x1bf),_0x5003ab=>_0xb692e2(0x172)===_0x5003ab?_0xb692e2(0x172):null),_0x116542[_0xb692e2(0x1a8)]=_0x3d1557(_0x11ba89,_0xb692e2(0x181)),_0x116542[_0xb692e2(0x1a2)]['on'](_0xb692e2(0x169),_0x55649e=>{const _0x5934cc=_0xb692e2;_0x55649e[_0x5934cc(0x1a9)](),this[_0x5934cc(0x189)](_0x3d1557(_0x11ba89,_0x5934cc(0x1bd)),this[_0x5934cc(0x1b0)])[_0x5934cc(0x182)](()=>{const _0x26d7cf=_0x5934cc;this[_0x26d7cf(0x176)](_0x26d7cf(0x1b6));});},{'priority':_0xb692e2(0x18b)}),this['on'](_0xb692e2(0x1a5),()=>{const _0x501bf9=_0xb692e2;_0x116542[_0x501bf9(0x178)]();}),_0x116542[_0xb692e2(0x1b3)][_0xb692e2(0x1ab)](this[_0xb692e2(0x19d)],0x0),_0x116542[_0xb692e2(0x19e)][_0xb692e2(0x1ab)](this[_0xb692e2(0x19d)],0x0));}[_0x47f52a(0x166)](){const _0x49ccc7=_0x47f52a,_0x2e337b=new _0x501568(this[_0x49ccc7(0x16f)]);return _0x2e337b[_0x49ccc7(0x1a4)]=_0x3d1557(this[_0x49ccc7(0x16f)],_0x49ccc7(0x19f)),_0x2e337b[_0x49ccc7(0x16d)]=_0x3d1557(this[_0x49ccc7(0x16f)],_0x49ccc7(0x19f)),_0x2e337b[_0x49ccc7(0x191)]=_0x51e2a5,_0x2e337b[_0x49ccc7(0x194)]({'attributes':{'class':_0x49ccc7(0x17b)}}),_0x2e337b[_0x49ccc7(0x187)](_0x49ccc7(0x1ad))['to'](this[_0x49ccc7(0x1a3)],_0x49ccc7(0x17e),_0x4ff3b4=>!_0x4ff3b4),_0x2e337b[_0x49ccc7(0x187)](_0x49ccc7(0x193))['to'](this[_0x49ccc7(0x1a3)],_0x49ccc7(0x199),this[_0x49ccc7(0x1a3)],_0x49ccc7(0x19a),(_0x18db46,_0x2489f9)=>_0x18db46&&!_0x2489f9),_0x2e337b['on'](_0x49ccc7(0x169),()=>{const _0x2a508d=_0x49ccc7;this[_0x2a508d(0x176)](_0x2a508d(0x185),this[_0x2a508d(0x1a3)]['id']);}),_0x2e337b;}[_0x47f52a(0x170)](){const _0x381bc7=_0x47f52a;this[_0x381bc7(0x1a3)][_0x381bc7(0x165)]?this[_0x381bc7(0x167)][_0x381bc7(0x174)](this[_0x381bc7(0x188)])||(this[_0x381bc7(0x167)][_0x381bc7(0x1ab)](this[_0x381bc7(0x188)],0x0),this[_0x381bc7(0x19e)][_0x381bc7(0x1ab)](this[_0x381bc7(0x188)],0x0)):this[_0x381bc7(0x167)][_0x381bc7(0x174)](this[_0x381bc7(0x188)])&&(this[_0x381bc7(0x167)][_0x381bc7(0x172)](this[_0x381bc7(0x188)]),this[_0x381bc7(0x19e)][_0x381bc7(0x172)](this[_0x381bc7(0x188)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x4a0530=_0x5b6b;function _0x2985(){const _0x328b4c=['withText','panelView','5396994XOzTtU','ck-comment__main','edit','placeholder','some','ck-annotation__info-time','then','time','buttonView','formatDateTime','userView','isEnabled','switchToEditMode','ck-annotation__actions--hidden','actionIndicator','focus','unbind','ck-comment__actions','blur','Remove','editButton','listitem','isVisible','find','set','ck-comment--','mouseleave','ck-annotation','Reply...','from','locale','3776612QkTxEs','_createRemoveButton','ck-comment--edit','add','dropdown','ck-comment__info','isExternal','bindTemplate','ck-annotation__content-wrapper','div','isConfirm','push','_config','_model','ck-comment__wrapper','isEditable','element','ck-comment--remove','actionBar','getTemplate','1374324ZqFHzp','change:isRemovable','ariaLabel','focusables','177428ksDtYk','span','setTemplate','ck-hidden','isEditMode','ck-annotation__info','createCollection','ck-comment--remove-confirmation','author','fire','isSystemComment','18802752vYRWgU','ck-comment__user','ck-comment__actions--hidden','execute','isRemovable','_createEditButton','render','ck-comment','panelPosition','Edit','icon','resolvedAt','getExternalCommentNote','ck-annotation__info-name','45956sWkiOU','bind','toMany','_attachActions','items','showConfirm','ck-annotation__user','ck-comment--info','addMany','group','mouseenter','2027414GUqFIz','ariaDescriptionView','cancelConfirm','getUserViewNotificationText','authoredAt','children','ck-annotation__actions','listenTo','isReadOnly','label','ck-comment__external','remove','removeComment','_createCommentInputView','visibleView','ck-comment__info-name','Show\x20more\x20items','75pEnrkv','_createDropdown','name','ck-annotation__main','ck-comment__info-time','extendTemplate','removeButton','Delete\x20comment?','length'];_0x2985=function(){return _0x328b4c;};return _0x2985();}(function(_0xccd9d1,_0x43bfb0){const _0x4173ba=_0x5b6b,_0x48bbe3=_0xccd9d1();while(!![]){try{const _0x443d28=parseInt(_0x4173ba(0x157))/0x1+-parseInt(_0x4173ba(0x17b))/0x2+parseInt(_0x4173ba(0x153))/0x3+-parseInt(_0x4173ba(0x170))/0x4*(-parseInt(_0x4173ba(0x115))/0x5)+-parseInt(_0x4173ba(0x120))/0x6+-parseInt(_0x4173ba(0x13f))/0x7+parseInt(_0x4173ba(0x162))/0x8;if(_0x443d28===_0x43bfb0)break;else _0x48bbe3['push'](_0x48bbe3['shift']());}catch(_0x2179ec){_0x48bbe3['push'](_0x48bbe3['shift']());}}}(_0x2985,0xac3d5));import{IconRemoveComment as _0x43cc8d,IconPencil as _0x4382e3,IconThreeVerticalDots as _0x5e420f}from'ckeditor5/src/icons.js';import{ButtonView as _0x26028e,createDropdown as _0x99252a,ListView as _0x12386d,ListItemView as _0x41dea9,focusChildOnDropdownOpen as _0x3ee52c}from'ckeditor5/src/ui.js';import{UserView as _0x2f38e2,ConfirmMixin as _0x6b5018,LateFocusDropdownButtonView as _0x3dfdb1}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5b6b(_0x1cc45d,_0x5ea946){const _0x29858f=_0x2985();return _0x5b6b=function(_0x5b6b05,_0x3ce3b6){_0x5b6b05=_0x5b6b05-0x105;let _0x598d4f=_0x29858f[_0x5b6b05];return _0x598d4f;},_0x5b6b(_0x1cc45d,_0x5ea946);}import{BaseCommentView as _0x3eb092}from'./basecommentview.js';import{getTranslation as _0x547b2d}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x6b5018(_0x3eb092){[_0x4a0530(0x151)];[_0x4a0530(0x12a)];constructor(_0x15a88f,_0x54b085,_0x300cb7){const _0x4c9018=_0x4a0530;super(_0x15a88f,_0x54b085,_0x300cb7),this[_0x4c9018(0x138)](_0x4c9018(0x12e),null),this[_0x4c9018(0x138)](_0x4c9018(0x123),_0x547b2d(_0x15a88f,_0x4c9018(0x13c))),this[_0x4c9018(0x171)](_0x4c9018(0x108))['to'](_0x54b085),this[_0x4c9018(0x171)](_0x4c9018(0x16d))['to'](_0x54b085),this[_0x4c9018(0x151)]=this[_0x4c9018(0x15d)](),this[_0x4c9018(0x161)]||(this[_0x4c9018(0x134)]=this[_0x4c9018(0x167)](),this[_0x4c9018(0x11b)]=this[_0x4c9018(0x140)](),this[_0x4c9018(0x174)]=this[_0x4c9018(0x15d)](),this[_0x4c9018(0x174)][_0x4c9018(0x178)]([this[_0x4c9018(0x134)],this[_0x4c9018(0x11b)]]),this[_0x4c9018(0x143)]=this[_0x4c9018(0x116)](),this[_0x4c9018(0x151)][_0x4c9018(0x142)](this[_0x4c9018(0x143)]),this[_0x4c9018(0x156)][_0x4c9018(0x142)](this[_0x4c9018(0x143)])),this[_0x4c9018(0x12a)]=new _0x2f38e2(_0x15a88f,_0x54b085[_0x4c9018(0x15f)],this[_0x4c9018(0x107)]()),this[_0x4c9018(0x12a)][_0x4c9018(0x11a)]({'attributes':{'class':[_0x4c9018(0x163),_0x4c9018(0x176)],'aria-hidden':!0x0}}),this[_0x4c9018(0x10b)](_0x54b085,_0x4c9018(0x154),()=>this[_0x4c9018(0x106)]()),this[_0x4c9018(0x159)](this[_0x4c9018(0x152)]());}[_0x4a0530(0x152)](){const _0x12b2f2=_0x4a0530,_0x6f808=this[_0x12b2f2(0x146)],_0x22eb4b=[{'tag':_0x12b2f2(0x148),'attributes':{'class':[_0x12b2f2(0x144),_0x12b2f2(0x15c)]},'children':[{'tag':_0x12b2f2(0x158),'children':[{'text':this[_0x12b2f2(0x12a)][_0x12b2f2(0x117)]}],'attributes':{'class':[_0x12b2f2(0x113),_0x12b2f2(0x16f)],'data-cke-tooltip-text':this[_0x12b2f2(0x12a)][_0x12b2f2(0x117)]}},{'tag':_0x12b2f2(0x127),'attributes':{'datetime':_0x6f808['to'](_0x12b2f2(0x108)),'class':[_0x12b2f2(0x119),_0x12b2f2(0x125)]},'children':[{'text':_0x6f808['to'](_0x12b2f2(0x108),_0x4b4661=>this[_0x12b2f2(0x14b)][_0x12b2f2(0x129)](_0x4b4661))}]}]},{'tag':_0x12b2f2(0x148),'attributes':{'class':[_0x12b2f2(0x131),_0x12b2f2(0x10a),_0x6f808['if'](_0x12b2f2(0x15b),_0x12b2f2(0x164)),_0x6f808['if'](_0x12b2f2(0x15b),_0x12b2f2(0x12d))]},'children':this[_0x12b2f2(0x151)]},{'tag':_0x12b2f2(0x148),'attributes':{'class':[_0x12b2f2(0x147)]},'children':this[_0x12b2f2(0x112)]},this[_0x12b2f2(0x105)]];return this[_0x12b2f2(0x14c)][_0x12b2f2(0x145)]&&_0x22eb4b[_0x12b2f2(0x14a)]({'tag':_0x12b2f2(0x148),'attributes':{'class':[_0x12b2f2(0x10e)]},'children':[{'text':this[_0x12b2f2(0x16e)]()}]}),{'tag':'li','attributes':{'class':[_0x12b2f2(0x14d),_0x6f808['if'](_0x12b2f2(0x149),_0x12b2f2(0x15e))],'tabindex':-0x1,'aria-label':_0x6f808['to'](_0x12b2f2(0x155)),'aria-describedby':this[_0x12b2f2(0x105)]['id'],'role':_0x12b2f2(0x135)},'children':[{'tag':_0x12b2f2(0x148),'attributes':{'class':[_0x12b2f2(0x169),_0x12b2f2(0x13b),_0x6f808['if'](_0x12b2f2(0x15b),_0x12b2f2(0x141)),_0x6f808['if'](_0x12b2f2(0x161),_0x12b2f2(0x177)),_0x6f808['to'](_0x12b2f2(0x12e),_0x4da76d=>_0x4da76d?_0x12b2f2(0x139)+_0x4da76d:'')],'data-author-id':this[_0x12b2f2(0x14c)][_0x12b2f2(0x15f)]['id'],'data-comment-id':this[_0x12b2f2(0x14c)]['id'],'role':_0x12b2f2(0x179)},'children':[this[_0x12b2f2(0x12a)],{'tag':_0x12b2f2(0x148),'attributes':{'class':[_0x12b2f2(0x121),_0x12b2f2(0x118)]},'children':_0x22eb4b}]}]};}[_0x4a0530(0x167)](){const _0x38e47a=_0x4a0530,_0x2e18ce=new _0x26028e(this[_0x38e47a(0x13e)]);return _0x2e18ce[_0x38e47a(0x10d)]=_0x547b2d(this[_0x38e47a(0x13e)],_0x38e47a(0x16b)),_0x2e18ce[_0x38e47a(0x16c)]=_0x4382e3,_0x2e18ce[_0x38e47a(0x11e)]=!0x0,_0x2e18ce[_0x38e47a(0x11a)]({'attributes':{'class':_0x38e47a(0x141)}}),_0x2e18ce[_0x38e47a(0x171)](_0x38e47a(0x12b))['to'](this[_0x38e47a(0x14c)],_0x38e47a(0x10c),_0x40fe9c=>!_0x40fe9c),_0x2e18ce[_0x38e47a(0x171)](_0x38e47a(0x136))['to'](this[_0x38e47a(0x14c)],_0x38e47a(0x14e)),_0x2e18ce['on'](_0x38e47a(0x165),()=>this[_0x38e47a(0x12c)]()),_0x2e18ce;}[_0x4a0530(0x140)](){const _0x34176d=_0x4a0530,_0x311221=new _0x26028e(this[_0x34176d(0x13e)]);return _0x311221[_0x34176d(0x10d)]=_0x547b2d(this[_0x34176d(0x13e)],_0x34176d(0x133)),_0x311221[_0x34176d(0x16c)]=_0x43cc8d,_0x311221[_0x34176d(0x11e)]=!0x0,_0x311221[_0x34176d(0x11a)]({'attributes':{'class':_0x34176d(0x150)}}),_0x311221[_0x34176d(0x171)](_0x34176d(0x12b))['to'](this[_0x34176d(0x14c)],_0x34176d(0x10c),_0x13e341=>!_0x13e341),_0x311221[_0x34176d(0x171)](_0x34176d(0x136))['to'](this[_0x34176d(0x14c)],_0x34176d(0x166)),_0x311221['on'](_0x34176d(0x165),()=>{const _0xcfbd39=_0x34176d;this[_0xcfbd39(0x175)](_0x547b2d(this[_0xcfbd39(0x13e)],_0xcfbd39(0x11c)),this[_0xcfbd39(0x14f)])[_0xcfbd39(0x126)](()=>{const _0x5ca050=_0xcfbd39;this[_0x5ca050(0x160)](_0x5ca050(0x110),this[_0x5ca050(0x14c)]['id']);});}),_0x311221;}[_0x4a0530(0x116)](){const _0xd0070a=_0x4a0530,_0x9a7158=_0x99252a(this[_0xd0070a(0x13e)],_0x3dfdb1),_0x2a5a77=_0x9a7158[_0xd0070a(0x11f)][_0xd0070a(0x109)],_0x3d3b9c=new _0x12386d(this[_0xd0070a(0x13e)]),_0x599324=_0x9a7158[_0xd0070a(0x146)];_0x3ee52c(_0x9a7158,()=>this[_0xd0070a(0x174)][_0xd0070a(0x137)](_0x3b8316=>_0x3b8316[_0xd0070a(0x136)])),_0x9a7158[_0xd0070a(0x11a)]({'attributes':{'class':[_0x599324['if'](_0xd0070a(0x136),_0xd0070a(0x15a),_0x25fc5b=>!_0x25fc5b)]}});const _0x4372ff=(_0x28724a,_0x1d9da3=-0x1)=>{const _0x4d3fa3=_0xd0070a,_0x822111=new _0x41dea9(this[_0x4d3fa3(0x13e)]);_0x822111[_0x4d3fa3(0x109)][_0x4d3fa3(0x142)](_0x28724a);const _0x44c54c=_0x1d9da3>-0x1?_0x1d9da3:_0x3d3b9c[_0x4d3fa3(0x174)][_0x4d3fa3(0x11d)];_0x3d3b9c[_0x4d3fa3(0x174)][_0x4d3fa3(0x142)](_0x822111,_0x44c54c);const _0x1c6e74=Array[_0x4d3fa3(0x13d)](this[_0x4d3fa3(0x174)]);_0x9a7158[_0x4d3fa3(0x130)](_0x4d3fa3(0x12b),_0x4d3fa3(0x136)),_0x9a7158[_0x4d3fa3(0x171)](_0x4d3fa3(0x12b))[_0x4d3fa3(0x172)](_0x1c6e74,_0x4d3fa3(0x12b),(..._0x1ba7a1)=>_0x1ba7a1[_0x4d3fa3(0x124)](_0x3de03c=>_0x3de03c)),_0x9a7158[_0x4d3fa3(0x171)](_0x4d3fa3(0x136))[_0x4d3fa3(0x172)](_0x1c6e74,_0x4d3fa3(0x136),(..._0x5ef02f)=>_0x5ef02f[_0x4d3fa3(0x124)](_0xd264a2=>_0xd264a2));};_0x9a7158[_0xd0070a(0x16a)]='sw',_0x9a7158[_0xd0070a(0x128)][_0xd0070a(0x138)]({'label':_0x547b2d(this[_0xd0070a(0x13e)],_0xd0070a(0x114)),'icon':_0x5e420f});for(const _0x33c4e7 of this[_0xd0070a(0x174)])_0x4372ff(_0x33c4e7);return _0x2a5a77[_0xd0070a(0x142)](_0x3d3b9c),_0x9a7158[_0xd0070a(0x10b)](this[_0xd0070a(0x174)],_0xd0070a(0x142),(_0xff237f,_0x97e57,_0x2fe346)=>{_0x4372ff(_0x97e57,_0x2fe346);}),_0x9a7158[_0xd0070a(0x10b)](this[_0xd0070a(0x174)],_0xd0070a(0x10f),(_0x17fba7,_0x1ee9e4,_0x378d0f)=>{const _0x5381f7=_0xd0070a;_0x3d3b9c[_0x5381f7(0x174)][_0x5381f7(0x10f)](_0x378d0f);}),_0x9a7158;}[_0x4a0530(0x173)](_0x35c6a7,_0x1da104){const _0x3d852c=_0x4a0530,_0x2f8866=_0x35c6a7&&_0x35c6a7[_0x3d852c(0x14f)];_0x2f8866&&(this[_0x3d852c(0x10b)](_0x2f8866,_0x3d852c(0x17a),()=>this[_0x3d852c(0x12e)]=_0x1da104),this[_0x3d852c(0x10b)](_0x2f8866,_0x3d852c(0x12f),()=>this[_0x3d852c(0x12e)]=_0x1da104),this[_0x3d852c(0x10b)](_0x2f8866,_0x3d852c(0x13a),()=>this[_0x3d852c(0x12e)]=null),this[_0x3d852c(0x10b)](_0x2f8866,_0x3d852c(0x132),()=>this[_0x3d852c(0x12e)]=null));}[_0x4a0530(0x111)](){const _0x3929ae=_0x4a0530,_0x47d3b3=super[_0x3929ae(0x111)]();return _0x47d3b3[_0x3929ae(0x171)](_0x3929ae(0x123))['to'](this),_0x47d3b3;}[_0x4a0530(0x168)](){const _0x5a2b4e=_0x4a0530;super[_0x5a2b4e(0x168)](),this[_0x5a2b4e(0x173)](this[_0x5a2b4e(0x134)],_0x5a2b4e(0x122)),this[_0x5a2b4e(0x173)](this[_0x5a2b4e(0x11b)],_0x5a2b4e(0x10f));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5ae645=_0x51eb;(function(_0x978f25,_0x5bd1bb){var _0x28c876=_0x51eb,_0x46ca8f=_0x978f25();while(!![]){try{var _0x4be43c=parseInt(_0x28c876(0x11f))/0x1*(parseInt(_0x28c876(0x122))/0x2)+-parseInt(_0x28c876(0x116))/0x3+parseInt(_0x28c876(0x11e))/0x4*(parseInt(_0x28c876(0x121))/0x5)+-parseInt(_0x28c876(0x11b))/0x6+-parseInt(_0x28c876(0x120))/0x7*(parseInt(_0x28c876(0x119))/0x8)+-parseInt(_0x28c876(0x115))/0x9+parseInt(_0x28c876(0x117))/0xa;if(_0x4be43c===_0x5bd1bb)break;else _0x46ca8f['push'](_0x46ca8f['shift']());}catch(_0x1ee6b6){_0x46ca8f['push'](_0x46ca8f['shift']());}}}(_0x494c,0x1c479));import{Plugin as _0x165b02}from'ckeditor5/src/core.js';import{CommentsRepository as _0x43b412}from'./comments/commentsrepository.js';function _0x51eb(_0x130db6,_0xbe6299){var _0x494cf6=_0x494c();return _0x51eb=function(_0x51ebe9,_0x5d9ef9){_0x51ebe9=_0x51ebe9-0x114;var _0x1750ef=_0x494cf6[_0x51ebe9];return _0x1750ef;},_0x51eb(_0x130db6,_0xbe6299);}function _0x494c(){var _0x40e592=['25BucDAj','566xbKTTq','pluginName','284823kXDwKe','617715KAHqtI','6326710ujqLKq','isOfficialPlugin','479480hepWvX','requires','1380978VXlOQn','Comments','isPremiumPlugin','52296FLJvUE','19EeUVgh','14PVZIMj'];_0x494c=function(){return _0x40e592;};return _0x494c();}import{CommentsEditing as _0x335f6b}from'./comments/commentsediting.js';import{CommentsUI as _0x5eb4db}from'./comments/commentsui.js';import{CommentsOnly as _0x2f8384}from'./commentsonly.js';import{WideSidebar as _0x2a943d}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x54bf34}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x2628a3}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x2da9f2}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x36cdd3}from'./comments/commentsarchive.js';export class Comments extends _0x165b02{static get[_0x5ae645(0x11a)](){return[_0x43b412,_0x335f6b,_0x5eb4db,_0x36cdd3,_0x2da9f2,_0x2f8384,_0x2a943d,_0x54bf34,_0x2628a3];}static get[_0x5ae645(0x114)](){var _0x2be259=_0x5ae645;return _0x2be259(0x11c);}static get[_0x5ae645(0x118)](){return!0x0;}static get[_0x5ae645(0x11d)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9425c3=_0x3d8a;function _0x3d8a(_0x241a09,_0x243a8b){const _0xc93488=_0xc934();return _0x3d8a=function(_0x3d8acc,_0x192e02){_0x3d8acc=_0x3d8acc-0xa5;let _0x1297f8=_0xc93488[_0x3d8acc];return _0x1297f8;},_0x3d8a(_0x241a09,_0x243a8b);}(function(_0x57a338,_0x882624){const _0x25a136=_0x3d8a,_0x5e1a59=_0x57a338();while(!![]){try{const _0x51eeff=parseInt(_0x25a136(0xb9))/0x1+-parseInt(_0x25a136(0xcd))/0x2*(parseInt(_0x25a136(0xc8))/0x3)+-parseInt(_0x25a136(0xb5))/0x4*(-parseInt(_0x25a136(0xcc))/0x5)+parseInt(_0x25a136(0xd0))/0x6+-parseInt(_0x25a136(0xc3))/0x7+parseInt(_0x25a136(0xc1))/0x8*(-parseInt(_0x25a136(0xb4))/0x9)+-parseInt(_0x25a136(0xa5))/0xa;if(_0x51eeff===_0x882624)break;else _0x5e1a59['push'](_0x5e1a59['shift']());}catch(_0x84cb61){_0x5e1a59['push'](_0x5e1a59['shift']());}}}(_0xc934,0x89e12));import{Plugin as _0x43ab0b}from'ckeditor5/src/core.js';function _0xc934(){const _0x26c741=['41709juDSjA','get','clearForceDisabled','editSource','5JQRBgz','4mGBVtE','commentsOnly','cut','4345452EUYtxS','stopListening','commentsOnlyMode','3012470hGZqSO','DragDrop','change:isEnabled','_disableCommentsOnlyMode','_enableCommentsOnlyMode','plugins','editor','isPremiumPlugin','document','requires','afterInit','listenTo','CommentsOnly','set','isEnabled','7479BuFaTF','304628sTrIxm','affectsData','addCommentThread','stop','1025695BOVQqO','config','delete','has','commands','isOfficialPlugin','clipboardInput','editing','8112cllJVk','view','627571xDRknx','pluginName','forceDisabled','SourceEditing','highest'];_0xc934=function(){return _0x26c741;};return _0xc934();}import{CommentsEditing as _0x5cb7f8}from'./comments/commentsediting.js';export class CommentsOnly extends _0x43ab0b{static get[_0x9425c3(0xc4)](){const _0x51f8b8=_0x9425c3;return _0x51f8b8(0xb1);}static get[_0x9425c3(0xbe)](){return!0x0;}static get[_0x9425c3(0xac)](){return!0x0;}static get[_0x9425c3(0xae)](){return[_0x5cb7f8];}constructor(_0x3fbe6d){const _0x8e3570=_0x9425c3;super(_0x3fbe6d),this[_0x8e3570(0xb2)](_0x8e3570(0xb3),!0x1),this['on'](_0x8e3570(0xa7),(_0x5464b,_0x41f14c,_0x19eb05)=>{const _0x1717c3=_0x8e3570;_0x19eb05?this[_0x1717c3(0xa9)]():this[_0x1717c3(0xa8)]();});}[_0x9425c3(0xaf)](){const _0x5dd5ba=_0x9425c3;!this[_0x5dd5ba(0xb3)]&&this[_0x5dd5ba(0xab)][_0x5dd5ba(0xba)][_0x5dd5ba(0xc9)](_0x5dd5ba(0xce))&&(this[_0x5dd5ba(0xb3)]=!0x0);}[_0x9425c3(0xa9)](){const _0x3184bf=_0x9425c3;for(const [_0x3020a2,_0x4941e1]of this[_0x3184bf(0xab)][_0x3184bf(0xbd)])_0x4941e1[_0x3184bf(0xb6)]&&_0x3184bf(0xb7)!==_0x3020a2&&_0x4941e1[_0x3184bf(0xc5)](_0x3184bf(0xd2));(this[_0x3184bf(0xab)][_0x3184bf(0xaa)][_0x3184bf(0xbc)](_0x3184bf(0xa6))&&this[_0x3184bf(0xab)][_0x3184bf(0xaa)][_0x3184bf(0xc9)](_0x3184bf(0xa6))[_0x3184bf(0xc5)](_0x3184bf(0xd2)),this[_0x3184bf(0xab)][_0x3184bf(0xaa)][_0x3184bf(0xbc)](_0x3184bf(0xc6)))&&this[_0x3184bf(0xab)][_0x3184bf(0xaa)][_0x3184bf(0xc9)](_0x3184bf(0xc6))[_0x3184bf(0xc5)](_0x3184bf(0xd2));this[_0x3184bf(0xab)][_0x3184bf(0xbd)][_0x3184bf(0xc9)](_0x3184bf(0xcb))?.[_0x3184bf(0xc5)](_0x3184bf(0xd2));const _0x545845=this[_0x3184bf(0xab)][_0x3184bf(0xc0)][_0x3184bf(0xc2)][_0x3184bf(0xad)];this[_0x3184bf(0xb0)](_0x545845,_0x3184bf(0xcf),_0x43f9be=>_0x43f9be[_0x3184bf(0xb8)](),{'priority':_0x3184bf(0xc7)}),this[_0x3184bf(0xb0)](_0x545845,_0x3184bf(0xbf),_0x56eda7=>_0x56eda7[_0x3184bf(0xb8)](),{'priority':_0x3184bf(0xc7)}),this[_0x3184bf(0xb0)](_0x545845,_0x3184bf(0xbb),_0x3fcff0=>_0x3fcff0[_0x3184bf(0xb8)](),{'priority':_0x3184bf(0xc7)});}[_0x9425c3(0xa8)](){const _0x1167f3=_0x9425c3;for(const [_0x1fba82,_0x429408]of this[_0x1167f3(0xab)][_0x1167f3(0xbd)])_0x429408[_0x1167f3(0xb6)]&&_0x1167f3(0xb7)!==_0x1fba82&&_0x429408[_0x1167f3(0xca)](_0x1167f3(0xd2));this[_0x1167f3(0xab)][_0x1167f3(0xaa)][_0x1167f3(0xbc)](_0x1167f3(0xc6))&&this[_0x1167f3(0xab)][_0x1167f3(0xaa)][_0x1167f3(0xc9)](_0x1167f3(0xc6))[_0x1167f3(0xca)](_0x1167f3(0xd2)),this[_0x1167f3(0xab)][_0x1167f3(0xbd)][_0x1167f3(0xc9)](_0x1167f3(0xcb))?.[_0x1167f3(0xca)](_0x1167f3(0xd2)),this[_0x1167f3(0xd1)](this[_0x1167f3(0xab)][_0x1167f3(0xc0)][_0x1167f3(0xc2)][_0x1167f3(0xad)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5a666c,_0x42eca3){var _0x718b2b=_0x5b69,_0x16658d=_0x5a666c();while(!![]){try{var _0x5e50a9=-parseInt(_0x718b2b(0x178))/0x1+parseInt(_0x718b2b(0x173))/0x2+-parseInt(_0x718b2b(0x177))/0x3+parseInt(_0x718b2b(0x17b))/0x4+parseInt(_0x718b2b(0x176))/0x5*(-parseInt(_0x718b2b(0x17a))/0x6)+parseInt(_0x718b2b(0x172))/0x7*(-parseInt(_0x718b2b(0x175))/0x8)+-parseInt(_0x718b2b(0x174))/0x9*(-parseInt(_0x718b2b(0x179))/0xa);if(_0x5e50a9===_0x42eca3)break;else _0x16658d['push'](_0x16658d['shift']());}catch(_0x73b456){_0x16658d['push'](_0x16658d['shift']());}}}(_0x1b65,0x733ea));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';function _0x5b69(_0x50c04b,_0x4ed80b){var _0x1b6584=_0x1b65();return _0x5b69=function(_0x5b69ef,_0x565837){_0x5b69ef=_0x5b69ef-0x172;var _0x220d59=_0x1b6584[_0x5b69ef];return _0x220d59;},_0x5b69(_0x50c04b,_0x4ed80b);}export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';export{CommentsArchiveUI}from'./comments/commentsarchiveui.js';export{CommentsEditing}from'./comments/commentsediting.js';function _0x1b65(){var _0x3c8b1f=['1313148RZZaSo','198372HbabSP','3038060eBzSYu','6AQPpGB','2707392NSsCPK','385gIIKNW','1618614xCMDXA','9wCkiFs','82808yvpStd','562630AebMXZ'];_0x1b65=function(){return _0x3c8b1f;};return _0x1b65();}export{AnnotationCounterButtonView}from'./annotations/view/annotationcounterbuttonview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x3392b4,_0x2042e1,_0x3c9d6d){const t=_0x3392b4['t'];switch(_0x2042e1){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'},_0x3c9d6d);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'},_0x3c9d6d);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'},_0x3c9d6d);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'},_0x3c9d6d);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x3c9d6d);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'},_0x3c9d6d);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'},_0x3c9d6d);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'},_0x3c9d6d);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(_0x2d335e,_0x3cd876){const _0x109278=_0x28c2,_0x11e5ab=_0x2d335e();while(!![]){try{const _0x27bb25=parseInt(_0x109278(0xfe))/0x1+-parseInt(_0x109278(0xf8))/0x2*(-parseInt(_0x109278(0xfc))/0x3)+parseInt(_0x109278(0xfb))/0x4+-parseInt(_0x109278(0x103))/0x5*(parseInt(_0x109278(0x101))/0x6)+-parseInt(_0x109278(0x107))/0x7+-parseInt(_0x109278(0xf6))/0x8*(-parseInt(_0x109278(0xf9))/0x9)+-parseInt(_0x109278(0x105))/0xa*(parseInt(_0x109278(0x106))/0xb);if(_0x27bb25===_0x3cd876)break;else _0x11e5ab['push'](_0x11e5ab['shift']());}catch(_0x4b3146){_0x11e5ab['push'](_0x11e5ab['shift']());}}}(_0x1422,0x76c01));function _0x28c2(_0x31cb7a,_0x3ddc8d){const _0x1422a5=_0x1422();return _0x28c2=function(_0x28c22c,_0x346168){_0x28c22c=_0x28c22c-0xf4;let _0x52bd65=_0x1422a5[_0x28c22c];return _0x52bd65;},_0x28c2(_0x31cb7a,_0x3ddc8d);}function _0x1422(){const _0x31e7b4=['observe','12abNMpY','type','2108780WyrEkh','disconnect','10pVugmY','6060626lJMAFq','467866mFZpfc','characterData','childList','22072UXkXRw','cancel','38PbfKHN','1467LLuaOP','attributeName','3421132FZUtdD','84387huwkmw','attributes','108266QnDala','class'];_0x1422=function(){return _0x31e7b4;};return _0x1422();}import{throttle as _0x21d41c}from'es-toolkit/compat';export function createMutationObserver(_0x1123f6){const _0x15c103=_0x21d41c(_0x1123f6,0x1e),_0x271a98=new MutationObserver(_0x4c443f=>{const _0x1a249d=_0x28c2;for(const _0xa7eba8 of _0x4c443f)(_0x1a249d(0xfd)==_0xa7eba8[_0x1a249d(0x102)]&&_0x1a249d(0xff)==_0xa7eba8[_0x1a249d(0xfa)]||_0x1a249d(0xf5)==_0xa7eba8[_0x1a249d(0x102)]||_0x1a249d(0xf4)==_0xa7eba8[_0x1a249d(0x102)])&&_0x15c103();});return{'attach'(_0x45e7a1){const _0x234031=_0x28c2;_0x271a98[_0x234031(0x100)](_0x45e7a1,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x14c56d=_0x28c2;_0x271a98[_0x14c56d(0x104)](),_0x15c103[_0x14c56d(0xf7)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3ef7(_0x4a6d8,_0x397a4f){const _0x1b8666=_0x1b86();return _0x3ef7=function(_0x3ef7c8,_0x3eb973){_0x3ef7c8=_0x3ef7c8-0x6d;let _0x352be7=_0x1b8666[_0x3ef7c8];return _0x352be7;},_0x3ef7(_0x4a6d8,_0x397a4f);}(function(_0x534cb5,_0x50c32b){const _0x3d6909=_0x3ef7,_0x1b88ae=_0x534cb5();while(!![]){try{const _0x232c09=-parseInt(_0x3d6909(0x6d))/0x1+parseInt(_0x3d6909(0x71))/0x2+parseInt(_0x3d6909(0x75))/0x3*(parseInt(_0x3d6909(0x72))/0x4)+parseInt(_0x3d6909(0x74))/0x5+parseInt(_0x3d6909(0x6f))/0x6+parseInt(_0x3d6909(0x70))/0x7+-parseInt(_0x3d6909(0x73))/0x8;if(_0x232c09===_0x50c32b)break;else _0x1b88ae['push'](_0x1b88ae['shift']());}catch(_0xd7177c){_0x1b88ae['push'](_0x1b88ae['shift']());}}}(_0x1b86,0xeca8e));function _0x1b86(){const _0x374c4f=['2803787kggGMY','3446682nxitFl','4rLScou','37062688scwARe','7403020JtzgfV','2007741zhZjSC','539610uotZHn','split','11208426DGLlee'];_0x1b86=function(){return _0x374c4f;};return _0x1b86();}export function splitMarkerName(_0x559f3d){const _0x220322=_0x3ef7,_0x1fb217=_0x559f3d[_0x220322(0x6e)](':');return{'group':_0x1fb217[0x0],'id':_0x1fb217[0x1],'part':_0x1fb217[0x2]};}
|