@ckeditor/ckeditor5-comments 45.0.0-alpha.5 → 45.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/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 +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x535f2a=_0x5e2b;(function(_0x2c6876,_0x1c96ad){const _0x5de6d8=_0x5e2b,_0x1ad952=_0x2c6876();while(!![]){try{const _0x4c0c91=-parseInt(_0x5de6d8(0x73))/0x1*(parseInt(_0x5de6d8(0x72))/0x2)+parseInt(_0x5de6d8(0x81))/0x3+parseInt(_0x5de6d8(0x83))/0x4+-parseInt(_0x5de6d8(0x77))/0x5+parseInt(_0x5de6d8(0x8e))/0x6+-parseInt(_0x5de6d8(0xa6))/0x7+parseInt(_0x5de6d8(0x99))/0x8;if(_0x4c0c91===_0x1c96ad)break;else _0x1ad952['push'](_0x1ad952['shift']());}catch(_0x249fd4){_0x1ad952['push'](_0x1ad952['shift']());}}}(_0x3088,0xdbee9));function _0x5e2b(_0xa7eee,_0x2c4d57){const _0x3088b0=_0x3088();return _0x5e2b=function(_0x5e2b20,_0x1b48e8){_0x5e2b20=_0x5e2b20-0x67;let _0x5082d9=_0x3088b0[_0x5e2b20];return _0x5082d9;},_0x5e2b(_0xa7eee,_0x2c4d57);}import{View as _0x44a724,FocusCycler as _0x4e2a74}from'ckeditor5/src/ui.js';import{diff as _0x3d77a8,Collection as _0x4998e7,FocusTracker as _0x5bde98,KeystrokeHandler as _0x4906a7}from'ckeditor5/src/utils.js';import{getTranslation as _0x516821}from'../../../utils/common-translations.js';import _0x3d0cbc from'./collapsedcommentsview.js';function _0x3088(){const _0xc9a22c=['resolvedCommentView','from','collapse','editorConfig','render','focusFirst','change:isEditMode','count','get','682766oCHHoW','includes','ck-hidden','_model','removeComment','ck-thread__comments','commentViews','focusLast','formatDateTime','setTemplate','arrowdown','remove','focusTracker','arrowup','bindTemplate','resolvedAt','length','_findOptimalIndex','change:isActive','_collapsedCommentsView','map','some','stopListening','_handleInfoComment','resolvedBy','_handleRemoveCommentModel','_rearrangeExpand','_handleNewCommentModel','_shouldCollapse','expand','isActive','reverse','maxCommentsWhenCollapsed','Marked\x20as\x20resolved','forEach','maxCommentCharsWhenCollapsed','editorReady','commentUpdated','_updateHasDirtyComment','delete','maxThreadTotalWeight','resolveCommentThread','hasDirtyComment','24QlTjid','36221wXuzEE','element','destroy','set','6825475Egrdrp','add','resolved','Thread\x20comments','change:hasDirtyComment','added','listenTo','visibleViews','_setupKeyboardNavigation','focus','3455358qpHbTt','createCollection','508388fRPUdn','refreshVisibleViews','weight','_calculatePosition','_config','CommentView','delegate','target','_rearrangeCollapse','updateComment','authoredAt','586434kfwgNV','removed','isEditMode','insert','comments','focusCycler','keystrokes','editorDestroyed','change:isResolved','bind','change','11372032epFDBp','equal','locale','viewUid'];_0x3088=function(){return _0xc9a22c;};return _0x3088();}export default class te extends _0x44a724{[_0x535f2a(0xac)];[_0x535f2a(0x9d)];[_0x535f2a(0xb2)];[_0x535f2a(0x94)];[_0x535f2a(0x93)];[_0x535f2a(0xa9)];[_0x535f2a(0x87)];[_0x535f2a(0xb9)];constructor(_0xf00a5d,_0x2e7327,_0x4e21ab){const _0x346343=_0x535f2a;super(_0xf00a5d);const _0x1b07f8=this[_0x346343(0xb4)];this[_0x346343(0x76)](_0x346343(0x71),!0x1),this[_0x346343(0x76)](_0x346343(0xb6),_0x2e7327[_0x346343(0x92)][_0x346343(0xb6)]),this[_0x346343(0x76)](_0x346343(0xc4),!0x1),this[_0x346343(0xa9)]=_0x2e7327,this[_0x346343(0x87)]=_0x4e21ab,this[_0x346343(0xac)]=this[_0x346343(0x82)](),this[_0x346343(0x7e)]=this[_0x346343(0x82)](),this[_0x346343(0x9d)]=null,this[_0x346343(0xb2)]=new _0x5bde98(),this[_0x346343(0x94)]=new _0x4906a7(),this[_0x346343(0x93)]=new _0x4e2a74({'focusables':this[_0x346343(0xac)],'focusTracker':this[_0x346343(0xb2)],'keystrokeHandler':this[_0x346343(0x94)],'keystrokeHandlerOptions':{'filter':_0x1061f2=>this[_0x346343(0xac)][_0x346343(0xba)](_0x20ae41=>_0x20ae41[_0x346343(0x74)])[_0x346343(0xa7)](_0x1061f2[_0x346343(0x8a)])},'actions':{'focusPrevious':_0x346343(0xb3),'focusNext':_0x346343(0xb0)}}),this[_0x346343(0xb9)]=new _0x3d0cbc(_0xf00a5d),this[_0x346343(0xb9)][_0x346343(0x97)](_0x346343(0xa4))['to'](this,_0x346343(0xb6),_0x5da371=>_0x5da371-this[_0x346343(0x87)][_0x346343(0x67)]);for(const _0x45dd10 of _0x2e7327[_0x346343(0x92)])this[_0x346343(0xc1)](_0x45dd10);this[_0x346343(0xbd)](),this[_0x346343(0x7d)](_0x2e7327[_0x346343(0x92)],_0x346343(0x78),(_0x335f41,_0x433967)=>{const _0xe925c0=_0x346343,_0x3a0d4f=this[_0xe925c0(0x86)](_0x433967);this[_0xe925c0(0xb6)]++,this[_0xe925c0(0xc1)](_0x433967,_0x3a0d4f),this[_0xe925c0(0x84)]();}),this[_0x346343(0x7d)](_0x2e7327[_0x346343(0x92)],_0x346343(0xb1),(_0x4eadef,_0x587ce3)=>{const _0x2bb81c=_0x346343;this[_0x2bb81c(0xb6)]--,this[_0x2bb81c(0xbf)](_0x587ce3),this[_0x2bb81c(0x84)]();}),this[_0x346343(0x7d)](_0x2e7327,_0x346343(0x6c),()=>this[_0x346343(0x84)]()),this[_0x346343(0x7d)](_0x2e7327,_0x346343(0x96),()=>this[_0x346343(0xbd)]()),this['on'](_0x346343(0xb8),()=>this[_0x346343(0x84)]()),this['on'](_0x346343(0x7b),()=>this[_0x346343(0x84)]()),this[_0x346343(0xaf)]({'tag':'ul','attributes':{'class':[_0x346343(0xab),_0x1b07f8['if'](_0x346343(0xb6),_0x346343(0xa8),_0x12193a=>!_0x12193a)],'aria-label':_0x516821(_0xf00a5d,_0x346343(0x7a))},'children':this[_0x346343(0x7e)]});}get[_0x535f2a(0xc2)](){const _0x4c5eef=_0x535f2a;return this[_0x4c5eef(0xa9)][_0x4c5eef(0x85)]>this[_0x4c5eef(0x87)][_0x4c5eef(0x6f)]&&!this[_0x4c5eef(0xc4)]&&!this[_0x4c5eef(0x71)];}[_0x535f2a(0xa1)](){const _0xf2a019=_0x535f2a;super[_0xf2a019(0xa1)](),this[_0xf2a019(0x84)](),this[_0xf2a019(0x7f)]();}[_0x535f2a(0x80)](_0x4700c9){const _0x4c90a7=_0x535f2a;-0x1===_0x4700c9?this[_0x4c90a7(0x93)][_0x4c90a7(0xad)]():this[_0x4c90a7(0x93)][_0x4c90a7(0xa2)]();}[_0x535f2a(0x75)](){const _0x3429cc=_0x535f2a;this[_0x3429cc(0xb9)][_0x3429cc(0x75)]();for(const _0x2a97f9 of this[_0x3429cc(0xac)])_0x2a97f9[_0x3429cc(0x75)]();super[_0x3429cc(0x75)]();}[_0x535f2a(0x84)](){const _0xd8091a=_0x535f2a;this[_0xd8091a(0xc2)]?this[_0xd8091a(0x8b)]():this[_0xd8091a(0xc0)]();}[_0x535f2a(0xc1)](_0x4579c7,_0x3ef4a6){const _0x423cfa=_0x535f2a,_0x3361a9=new this[(_0x423cfa(0x87))][(_0x423cfa(0x88))](this[_0x423cfa(0x9b)],_0x4579c7,{'maxCommentCharsWhenCollapsed':this[_0x423cfa(0x87)][_0x423cfa(0x6a)],'formatDateTime':this[_0x423cfa(0x87)][_0x423cfa(0xae)],'editorConfig':this[_0x423cfa(0x87)][_0x423cfa(0xa0)]});_0x3361a9[_0x423cfa(0x9c)]=_0x4579c7['id'],_0x3361a9[_0x423cfa(0x89)](_0x423cfa(0xaa))['to'](this),_0x3361a9[_0x423cfa(0x89)](_0x423cfa(0x8c))['to'](this),_0x3361a9[_0x423cfa(0x89)](_0x423cfa(0x70))['to'](this),_0x3361a9[_0x423cfa(0x89)](_0x423cfa(0x6b))['to'](this),_0x3361a9[_0x423cfa(0x89)](_0x423cfa(0x95))['to'](this),this[_0x423cfa(0x7d)](_0x3361a9,_0x423cfa(0xa3),()=>this[_0x423cfa(0x6d)]()),this[_0x423cfa(0xac)][_0x423cfa(0x78)](_0x3361a9,_0x3ef4a6);}[_0x535f2a(0x86)](_0x51d48e){const _0x46ab3a=_0x535f2a,_0x527fcd=this[_0x46ab3a(0xa9)][_0x46ab3a(0xb7)](_0x51d48e);return this[_0x46ab3a(0x9d)]?this[_0x46ab3a(0x9d)][_0x46ab3a(0x8d)]>_0x51d48e[_0x46ab3a(0x8d)]?_0x527fcd-0x1:_0x527fcd:_0x527fcd-0x1;}[_0x535f2a(0xbd)](){const _0x11aba3=_0x535f2a;if(this[_0x11aba3(0xa9)][_0x11aba3(0xbe)]&&this[_0x11aba3(0xa9)][_0x11aba3(0xb5)]){const _0x479bf9={'id':_0x11aba3(0x79),'author':this[_0x11aba3(0xa9)][_0x11aba3(0xbe)],'authoredAt':this[_0x11aba3(0xa9)][_0x11aba3(0xb5)],'content':_0x516821(this[_0x11aba3(0x9b)],_0x11aba3(0x68)),'attributes':{}};this[_0x11aba3(0x9d)]=new this[(_0x11aba3(0x87))][(_0x11aba3(0x88))](this[_0x11aba3(0x9b)],_0x479bf9,{'maxCommentCharsWhenCollapsed':this[_0x11aba3(0x87)][_0x11aba3(0x6a)],'formatDateTime':this[_0x11aba3(0x87)][_0x11aba3(0xae)],'editorConfig':this[_0x11aba3(0x87)][_0x11aba3(0xa0)],'isSystemComment':!0x0}),this[_0x11aba3(0xac)][_0x11aba3(0x78)](this[_0x11aba3(0x9d)],this[_0x11aba3(0xa9)][_0x11aba3(0xb7)](_0x479bf9));}else this[_0x11aba3(0x9d)]&&(this[_0x11aba3(0xac)][_0x11aba3(0xb1)](this[_0x11aba3(0x9d)]),this[_0x11aba3(0x9d)][_0x11aba3(0x75)](),this[_0x11aba3(0x9d)]=null);this[_0x11aba3(0x84)]();}[_0x535f2a(0xbf)](_0x3c95ca){const _0x517c47=_0x535f2a,_0x5c66b6=this[_0x517c47(0xac)][_0x517c47(0xb1)](_0x3c95ca['id']);this[_0x517c47(0xbc)](_0x5c66b6),_0x5c66b6[_0x517c47(0x90)]&&this[_0x517c47(0x6d)](),_0x5c66b6[_0x517c47(0x75)]();}[_0x535f2a(0x6d)](){const _0x25c927=_0x535f2a;this[_0x25c927(0x71)]=Array[_0x25c927(0x9e)](this[_0x25c927(0xac)])[_0x25c927(0xbb)](_0x6ac5be=>_0x6ac5be[_0x25c927(0x90)]);}[_0x535f2a(0x8b)](){const _0x455ed0=_0x535f2a,_0x3c2840=function(_0x1a5c32){const _0x1744bc=_0x5e2b,_0x853c2b=new _0x4998e7();for(const _0xbb548b of _0x1a5c32)_0x853c2b[_0x1744bc(0x78)](_0xbb548b);return _0x853c2b;}(this[_0x455ed0(0xac)]),_0x4e7907=this[_0x455ed0(0xb9)][_0x455ed0(0xa4)];for(let _0x394c6e=0x1;_0x394c6e<=_0x4e7907;_0x394c6e++)_0x3c2840[_0x455ed0(0xb1)](0x1);for(const _0x2b1112 of _0x3c2840)_0x2b1112[_0x455ed0(0x9f)]();_0x4e7907>0x0&&_0x3c2840[_0x455ed0(0x78)](this[_0x455ed0(0xb9)],0x1),ns(_0x3d77a8(Array[_0x455ed0(0x9e)](this[_0x455ed0(0x7e)]),Array[_0x455ed0(0x9e)](_0x3c2840)),this[_0x455ed0(0x7e)],_0x3c2840);}[_0x535f2a(0xc0)](){const _0x73ed12=_0x535f2a;ns(_0x3d77a8(Array[_0x73ed12(0x9e)](this[_0x73ed12(0x7e)]),Array[_0x73ed12(0x9e)](this[_0x73ed12(0xac)])),this[_0x73ed12(0x7e)],this[_0x73ed12(0xac)]);for(const _0x31d3ae of this[_0x73ed12(0x7e)])_0x31d3ae[_0x73ed12(0xc3)]();}[_0x535f2a(0x7f)](){const _0x5e8b5d=_0x535f2a;this[_0x5e8b5d(0xac)][_0x5e8b5d(0x69)](_0x1cc3dc=>{const _0x5424c3=_0x5e8b5d;this[_0x5424c3(0xb2)][_0x5424c3(0x78)](_0x1cc3dc[_0x5424c3(0x74)]),this[_0x5424c3(0x94)][_0x5424c3(0x7d)](_0x1cc3dc[_0x5424c3(0x74)]);}),this[_0x5e8b5d(0xac)]['on'](_0x5e8b5d(0x98),(_0x3730eb,_0x96fec)=>{const _0x1fa2cf=_0x5e8b5d;for(const _0x48b26e of _0x96fec[_0x1fa2cf(0x8f)])this[_0x1fa2cf(0xb2)][_0x1fa2cf(0xb1)](_0x48b26e[_0x1fa2cf(0x74)]),this[_0x1fa2cf(0x94)][_0x1fa2cf(0xbc)](_0x48b26e[_0x1fa2cf(0x74)]);for(const _0x433855 of Array[_0x1fa2cf(0x9e)](_0x96fec[_0x1fa2cf(0x7c)])[_0x1fa2cf(0xc5)]())this[_0x1fa2cf(0xb2)][_0x1fa2cf(0x78)](_0x433855[_0x1fa2cf(0x74)]),this[_0x1fa2cf(0x94)][_0x1fa2cf(0x7d)](_0x433855[_0x1fa2cf(0x74)]);});}}function ns(_0xf594e9,_0x40138b,_0x810cd8){const _0x5f8d1b=_0x535f2a;let _0x2f66db=0x0;for(const _0x178431 of _0xf594e9)switch(_0x178431){case _0x5f8d1b(0x91):_0x40138b[_0x5f8d1b(0x78)](_0x810cd8[_0x5f8d1b(0xa5)](_0x2f66db),_0x2f66db),_0x2f66db++;break;case _0x5f8d1b(0x6e):_0x40138b[_0x5f8d1b(0xb1)](_0x2f66db);break;case _0x5f8d1b(0x9a):_0x2f66db++;}}
|
|
23
|
+
const _0x129c24=_0x5977;(function(_0x2b113e,_0x206272){const _0x16ff15=_0x5977,_0x5103a9=_0x2b113e();while(!![]){try{const _0x3ad4bf=parseInt(_0x16ff15(0x133))/0x1+parseInt(_0x16ff15(0x11f))/0x2+parseInt(_0x16ff15(0x13e))/0x3+parseInt(_0x16ff15(0x128))/0x4+-parseInt(_0x16ff15(0x15b))/0x5+parseInt(_0x16ff15(0x13b))/0x6+parseInt(_0x16ff15(0x126))/0x7*(-parseInt(_0x16ff15(0x157))/0x8);if(_0x3ad4bf===_0x206272)break;else _0x5103a9['push'](_0x5103a9['shift']());}catch(_0x37d6d0){_0x5103a9['push'](_0x5103a9['shift']());}}}(_0x5c77,0x38c6f));import{View as _0x320ef4,FocusCycler as _0x355c13}from'ckeditor5/src/ui.js';import{diff as _0x109544,Collection as _0x569087,FocusTracker as _0x1766f6,KeystrokeHandler as _0x21e26a}from'ckeditor5/src/utils.js';function _0x5977(_0x161617,_0x59fdae){const _0x5c7725=_0x5c77();return _0x5977=function(_0x5977b7,_0x56d469){_0x5977b7=_0x5977b7-0x11f;let _0x3149da=_0x5c7725[_0x5977b7];return _0x3149da;},_0x5977(_0x161617,_0x59fdae);}import{getTranslation as _0x3a8cd5}from'../../../utils/common-translations.js';import _0x45233e from'./collapsedcommentsview.js';export default class te extends _0x320ef4{[_0x129c24(0x130)];[_0x129c24(0x13f)];[_0x129c24(0x147)];[_0x129c24(0x131)];[_0x129c24(0x15f)];[_0x129c24(0x163)];[_0x129c24(0x15d)];[_0x129c24(0x139)];constructor(_0x23bb50,_0x1185dc,_0x3b6d10){const _0x1914c3=_0x129c24;super(_0x23bb50);const _0x29bfb2=this[_0x1914c3(0x12c)];this[_0x1914c3(0x179)](_0x1914c3(0x12f),!0x1),this[_0x1914c3(0x179)](_0x1914c3(0x174),_0x1185dc[_0x1914c3(0x169)][_0x1914c3(0x174)]),this[_0x1914c3(0x179)](_0x1914c3(0x12a),!0x1),this[_0x1914c3(0x163)]=_0x1185dc,this[_0x1914c3(0x15d)]=_0x3b6d10,this[_0x1914c3(0x130)]=this[_0x1914c3(0x13c)](),this[_0x1914c3(0x155)]=this[_0x1914c3(0x13c)](),this[_0x1914c3(0x13f)]=null,this[_0x1914c3(0x147)]=new _0x1766f6(),this[_0x1914c3(0x131)]=new _0x21e26a(),this[_0x1914c3(0x15f)]=new _0x355c13({'focusables':this[_0x1914c3(0x130)],'focusTracker':this[_0x1914c3(0x147)],'keystrokeHandler':this[_0x1914c3(0x131)],'keystrokeHandlerOptions':{'filter':_0x27ff00=>this[_0x1914c3(0x130)][_0x1914c3(0x152)](_0x371cc7=>_0x371cc7[_0x1914c3(0x15e)])[_0x1914c3(0x122)](_0x27ff00[_0x1914c3(0x136)])},'actions':{'focusPrevious':_0x1914c3(0x17c),'focusNext':_0x1914c3(0x160)}}),this[_0x1914c3(0x139)]=new _0x45233e(_0x23bb50),this[_0x1914c3(0x139)][_0x1914c3(0x175)](_0x1914c3(0x176))['to'](this,_0x1914c3(0x174),_0x534d07=>_0x534d07-this[_0x1914c3(0x15d)][_0x1914c3(0x141)]);for(const _0x26629b of _0x1185dc[_0x1914c3(0x169)])this[_0x1914c3(0x149)](_0x26629b);this[_0x1914c3(0x17a)](),this[_0x1914c3(0x123)](_0x1185dc[_0x1914c3(0x169)],_0x1914c3(0x12b),(_0x2081de,_0xd3e37d)=>{const _0x1d82cd=_0x1914c3,_0x23c661=this[_0x1d82cd(0x142)](_0xd3e37d);this[_0x1d82cd(0x174)]++,this[_0x1d82cd(0x149)](_0xd3e37d,_0x23c661),this[_0x1d82cd(0x151)]();}),this[_0x1914c3(0x123)](_0x1185dc[_0x1914c3(0x169)],_0x1914c3(0x168),(_0xa3db23,_0x3786e0)=>{const _0x30b203=_0x1914c3;this[_0x30b203(0x174)]--,this[_0x30b203(0x132)](_0x3786e0),this[_0x30b203(0x151)]();}),this[_0x1914c3(0x123)](_0x1185dc,_0x1914c3(0x173),()=>this[_0x1914c3(0x151)]()),this[_0x1914c3(0x123)](_0x1185dc,_0x1914c3(0x14d),()=>this[_0x1914c3(0x17a)]()),this['on'](_0x1914c3(0x16a),()=>this[_0x1914c3(0x151)]()),this['on'](_0x1914c3(0x150),()=>this[_0x1914c3(0x151)]()),this[_0x1914c3(0x134)]({'tag':'ul','attributes':{'class':[_0x1914c3(0x154),_0x29bfb2['if'](_0x1914c3(0x174),_0x1914c3(0x16e),_0xbc7a0b=>!_0xbc7a0b)],'aria-label':_0x3a8cd5(_0x23bb50,_0x1914c3(0x125))},'children':this[_0x1914c3(0x155)]});}get[_0x129c24(0x129)](){const _0x54e6c0=_0x129c24;return this[_0x54e6c0(0x163)][_0x54e6c0(0x178)]>this[_0x54e6c0(0x15d)][_0x54e6c0(0x15a)]&&!this[_0x54e6c0(0x12a)]&&!this[_0x54e6c0(0x12f)];}[_0x129c24(0x16f)](){const _0x7bb4ea=_0x129c24;super[_0x7bb4ea(0x16f)](),this[_0x7bb4ea(0x151)](),this[_0x7bb4ea(0x121)]();}[_0x129c24(0x143)](_0x455f89){const _0x23680c=_0x129c24;-0x1===_0x455f89?this[_0x23680c(0x15f)][_0x23680c(0x14a)]():this[_0x23680c(0x15f)][_0x23680c(0x162)]();}[_0x129c24(0x156)](){const _0x33e0fb=_0x129c24;this[_0x33e0fb(0x139)][_0x33e0fb(0x156)]();for(const _0x4558e4 of this[_0x33e0fb(0x130)])_0x4558e4[_0x33e0fb(0x156)]();super[_0x33e0fb(0x156)]();}[_0x129c24(0x151)](){const _0x33225b=_0x129c24;this[_0x33225b(0x129)]?this[_0x33225b(0x16d)]():this[_0x33225b(0x135)]();}[_0x129c24(0x149)](_0x4f334e,_0x101fb2){const _0x3697ea=_0x129c24,_0x205f05=new this[(_0x3697ea(0x15d))][(_0x3697ea(0x14e))](this[_0x3697ea(0x144)],_0x4f334e,{'maxCommentCharsWhenCollapsed':this[_0x3697ea(0x15d)][_0x3697ea(0x16b)],'formatDateTime':this[_0x3697ea(0x15d)][_0x3697ea(0x13d)],'editorConfig':this[_0x3697ea(0x15d)][_0x3697ea(0x16c)]});_0x205f05[_0x3697ea(0x127)]=_0x4f334e['id'],_0x205f05[_0x3697ea(0x17b)](_0x3697ea(0x124))['to'](this),_0x205f05[_0x3697ea(0x17b)](_0x3697ea(0x146))['to'](this),_0x205f05[_0x3697ea(0x17b)](_0x3697ea(0x12e))['to'](this),_0x205f05[_0x3697ea(0x17b)](_0x3697ea(0x161))['to'](this),_0x205f05[_0x3697ea(0x17b)](_0x3697ea(0x138))['to'](this),this[_0x3697ea(0x123)](_0x205f05,_0x3697ea(0x145),()=>this[_0x3697ea(0x166)]()),this[_0x3697ea(0x130)][_0x3697ea(0x12b)](_0x205f05,_0x101fb2);}[_0x129c24(0x142)](_0x47af4a){const _0x45417d=_0x129c24,_0x4ff92f=this[_0x45417d(0x163)][_0x45417d(0x172)](_0x47af4a);return this[_0x45417d(0x13f)]?this[_0x45417d(0x13f)][_0x45417d(0x137)]>_0x47af4a[_0x45417d(0x137)]?_0x4ff92f-0x1:_0x4ff92f:_0x4ff92f-0x1;}[_0x129c24(0x17a)](){const _0xa3047=_0x129c24;if(this[_0xa3047(0x163)][_0xa3047(0x165)]&&this[_0xa3047(0x163)][_0xa3047(0x167)]){const _0x261fb4={'id':_0xa3047(0x15c),'author':this[_0xa3047(0x163)][_0xa3047(0x165)],'authoredAt':this[_0xa3047(0x163)][_0xa3047(0x167)],'content':_0x3a8cd5(this[_0xa3047(0x144)],_0xa3047(0x120)),'attributes':{}};this[_0xa3047(0x13f)]=new this[(_0xa3047(0x15d))][(_0xa3047(0x14e))](this[_0xa3047(0x144)],_0x261fb4,{'maxCommentCharsWhenCollapsed':this[_0xa3047(0x15d)][_0xa3047(0x16b)],'formatDateTime':this[_0xa3047(0x15d)][_0xa3047(0x13d)],'editorConfig':this[_0xa3047(0x15d)][_0xa3047(0x16c)],'isSystemComment':!0x0}),this[_0xa3047(0x130)][_0xa3047(0x12b)](this[_0xa3047(0x13f)],this[_0xa3047(0x163)][_0xa3047(0x172)](_0x261fb4));}else this[_0xa3047(0x13f)]&&(this[_0xa3047(0x130)][_0xa3047(0x168)](this[_0xa3047(0x13f)]),this[_0xa3047(0x13f)][_0xa3047(0x156)](),this[_0xa3047(0x13f)]=null);this[_0xa3047(0x151)]();}[_0x129c24(0x132)](_0x23913b){const _0x47e871=_0x129c24,_0x3e7e5f=this[_0x47e871(0x130)][_0x47e871(0x168)](_0x23913b['id']);this[_0x47e871(0x14b)](_0x3e7e5f),_0x3e7e5f[_0x47e871(0x17d)]&&this[_0x47e871(0x166)](),_0x3e7e5f[_0x47e871(0x156)]();}[_0x129c24(0x166)](){const _0x406798=_0x129c24;this[_0x406798(0x12f)]=Array[_0x406798(0x12d)](this[_0x406798(0x130)])[_0x406798(0x159)](_0x1f89b4=>_0x1f89b4[_0x406798(0x17d)]);}[_0x129c24(0x16d)](){const _0x2eddd5=_0x129c24,_0x107e14=function(_0x401f33){const _0x50b2fd=_0x5977,_0x2ff930=new _0x569087();for(const _0x3d7945 of _0x401f33)_0x2ff930[_0x50b2fd(0x12b)](_0x3d7945);return _0x2ff930;}(this[_0x2eddd5(0x130)]),_0x13b834=this[_0x2eddd5(0x139)][_0x2eddd5(0x176)];for(let _0x2f898c=0x1;_0x2f898c<=_0x13b834;_0x2f898c++)_0x107e14[_0x2eddd5(0x168)](0x1);for(const _0x10c7d5 of _0x107e14)_0x10c7d5[_0x2eddd5(0x148)]();_0x13b834>0x0&&_0x107e14[_0x2eddd5(0x12b)](this[_0x2eddd5(0x139)],0x1),ns(_0x109544(Array[_0x2eddd5(0x12d)](this[_0x2eddd5(0x155)]),Array[_0x2eddd5(0x12d)](_0x107e14)),this[_0x2eddd5(0x155)],_0x107e14);}[_0x129c24(0x135)](){const _0x298df5=_0x129c24;ns(_0x109544(Array[_0x298df5(0x12d)](this[_0x298df5(0x155)]),Array[_0x298df5(0x12d)](this[_0x298df5(0x130)])),this[_0x298df5(0x155)],this[_0x298df5(0x130)]);for(const _0x4aad71 of this[_0x298df5(0x155)])_0x4aad71[_0x298df5(0x177)]();}[_0x129c24(0x121)](){const _0x1dab46=_0x129c24;this[_0x1dab46(0x130)][_0x1dab46(0x164)](_0x55cef9=>{const _0x118d28=_0x1dab46;this[_0x118d28(0x147)][_0x118d28(0x12b)](_0x55cef9[_0x118d28(0x15e)]),this[_0x118d28(0x131)][_0x118d28(0x123)](_0x55cef9[_0x118d28(0x15e)]);}),this[_0x1dab46(0x130)]['on'](_0x1dab46(0x171),(_0xaf1a0d,_0x45a252)=>{const _0x52f1c4=_0x1dab46;for(const _0x1b67a4 of _0x45a252[_0x52f1c4(0x14f)])this[_0x52f1c4(0x147)][_0x52f1c4(0x168)](_0x1b67a4[_0x52f1c4(0x15e)]),this[_0x52f1c4(0x131)][_0x52f1c4(0x14b)](_0x1b67a4[_0x52f1c4(0x15e)]);for(const _0x59a248 of Array[_0x52f1c4(0x12d)](_0x45a252[_0x52f1c4(0x170)])[_0x52f1c4(0x140)]())this[_0x52f1c4(0x147)][_0x52f1c4(0x12b)](_0x59a248[_0x52f1c4(0x15e)]),this[_0x52f1c4(0x131)][_0x52f1c4(0x123)](_0x59a248[_0x52f1c4(0x15e)]);});}}function _0x5c77(){const _0x514c8d=['setTemplate','_rearrangeExpand','target','authoredAt','editorDestroyed','_collapsedCommentsView','equal','697158tBFYLl','createCollection','formatDateTime','978042OCuYrS','resolvedCommentView','reverse','maxCommentsWhenCollapsed','_calculatePosition','focus','locale','change:isEditMode','updateComment','focusTracker','collapse','_handleNewCommentModel','focusLast','stopListening','insert','change:isResolved','CommentView','removed','change:hasDirtyComment','refreshVisibleViews','map','delete','ck-thread__comments','visibleViews','destroy','8PfgBjm','get','some','maxThreadTotalWeight','1769815Shuocx','resolved','_config','element','focusCycler','arrowdown','editorReady','focusFirst','_model','forEach','resolvedBy','_updateHasDirtyComment','resolvedAt','remove','comments','change:isActive','maxCommentCharsWhenCollapsed','editorConfig','_rearrangeCollapse','ck-hidden','render','added','change','_findOptimalIndex','commentUpdated','length','bind','count','expand','weight','set','_handleInfoComment','delegate','arrowup','isEditMode','652564JcqfPW','Marked\x20as\x20resolved','_setupKeyboardNavigation','includes','listenTo','removeComment','Thread\x20comments','5224114tbsShM','viewUid','1575296lGMWpt','_shouldCollapse','isActive','add','bindTemplate','from','resolveCommentThread','hasDirtyComment','commentViews','keystrokes','_handleRemoveCommentModel','170511wjXduo'];_0x5c77=function(){return _0x514c8d;};return _0x5c77();}function ns(_0x2f23b4,_0x58fd5e,_0x34e7d6){const _0x2d009e=_0x129c24;let _0x1b3754=0x0;for(const _0x489d37 of _0x2f23b4)switch(_0x489d37){case _0x2d009e(0x14c):_0x58fd5e[_0x2d009e(0x12b)](_0x34e7d6[_0x2d009e(0x158)](_0x1b3754),_0x1b3754),_0x1b3754++;break;case _0x2d009e(0x153):_0x58fd5e[_0x2d009e(0x168)](_0x1b3754);break;case _0x2d009e(0x13a):_0x1b3754++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1942dd=_0x1a8e;function _0x1a8e(_0xa696b7,_0x3f3a81){const _0xc23666=_0xc236();return _0x1a8e=function(_0x1a8e4b,_0x563022){_0x1a8e4b=_0x1a8e4b-0x1cd;let _0x14e6db=_0xc23666[_0x1a8e4b];return _0x14e6db;},_0x1a8e(_0xa696b7,_0x3f3a81);}(function(_0x31772d,_0x24f956){const _0x1d9bb5=_0x1a8e,_0x5a53fd=_0x31772d();while(!![]){try{const _0x28fe42=-parseInt(_0x1d9bb5(0x1de))/0x1*(parseInt(_0x1d9bb5(0x1cd))/0x2)+-parseInt(_0x1d9bb5(0x1db))/0x3+-parseInt(_0x1d9bb5(0x1cf))/0x4+parseInt(_0x1d9bb5(0x1d8))/0x5+-parseInt(_0x1d9bb5(0x1da))/0x6+-parseInt(_0x1d9bb5(0x1d1))/0x7*(-parseInt(_0x1d9bb5(0x1d9))/0x8)+parseInt(_0x1d9bb5(0x1dc))/0x9;if(_0x28fe42===_0x24f956)break;else _0x5a53fd['push'](_0x5a53fd['shift']());}catch(_0x1b00e1){_0x5a53fd['push'](_0x5a53fd['shift']());}}}(_0xc236,0x844c0));function _0xc236(){const _0x1590dd=['2884956GtOldg','24795972KNEJbu','focus','53yQvYWz','11518dAtbTJ','span','782600esNwtl','contextValue','7wrFMQh','setTemplate','set','bindTemplate','THREAD_CONTEXT_LABEL','ck-context__value','element','555225irOmSx','1152584mLbNsL','6034854rboGZd'];_0xc236=function(){return _0x1590dd;};return _0xc236();}import{View as _0x207035}from'ckeditor5/src/ui.js';import{getTranslation as _0x492328}from'../../../utils/common-translations.js';export default class as extends _0x207035{constructor(_0x389a83){const _0xe4aab1=_0x1a8e;super(_0x389a83);const _0x5df6c0=this[_0xe4aab1(0x1d4)];this[_0xe4aab1(0x1d3)](_0xe4aab1(0x1d0),''),this[_0xe4aab1(0x1d2)]({'tag':_0xe4aab1(0x1ce),'attributes':{'class':['ck',_0xe4aab1(0x1d6)],'aria-label':_0x5df6c0['to'](_0xe4aab1(0x1d0),_0x25dff9=>_0x492328(_0x389a83,_0xe4aab1(0x1d5),_0x25dff9)),'tabindex':-0x1},'children':[{'text':_0x5df6c0['to'](_0xe4aab1(0x1d0))}]});}[_0x1942dd(0x1dd)](){const _0x5b9dd1=_0x1942dd;this[_0x5b9dd1(0x1d7)][_0x5b9dd1(0x1dd)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2595(_0x5e4c6c,_0x1a3e89){const _0x37a1fa=_0x37a1();return _0x2595=function(_0x259535,_0x1abe4b){_0x259535=_0x259535-0x13a;let _0x55d56b=_0x37a1fa[_0x259535];return _0x55d56b;},_0x2595(_0x5e4c6c,_0x1a3e89);}const _0x5f04e0=_0x2595;(function(_0x26a15e,_0x10dfa2){const _0x3dbb47=_0x2595,_0x231dd3=_0x26a15e();while(!![]){try{const _0x41b4a7=-parseInt(_0x3dbb47(0x145))/0x1*(parseInt(_0x3dbb47(0x164))/0x2)+parseInt(_0x3dbb47(0x17d))/0x3+-parseInt(_0x3dbb47(0x176))/0x4*(parseInt(_0x3dbb47(0x16a))/0x5)+-parseInt(_0x3dbb47(0x163))/0x6+parseInt(_0x3dbb47(0x153))/0x7*(-parseInt(_0x3dbb47(0x17e))/0x8)+-parseInt(_0x3dbb47(0x16e))/0x9*(-parseInt(_0x3dbb47(0x162))/0xa)+parseInt(_0x3dbb47(0x14f))/0xb*(parseInt(_0x3dbb47(0x15b))/0xc);if(_0x41b4a7===_0x10dfa2)break;else _0x231dd3['push'](_0x231dd3['shift']());}catch(_0x9eeb04){_0x231dd3['push'](_0x231dd3['shift']());}}}(_0x37a1,0x45646));import{View as _0x44331a,ButtonView as _0xafde4f,FocusCycler as _0xe3350f}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4b23cb,KeystrokeHandler as _0x1c232b}from'ckeditor5/src/utils.js';function _0x37a1(){const _0x5e8170=['overlay','remove','scrollWidth','tooltip','hasContext','add','71290gCiqrO','657072tmVmbN','323254RaiOey','isVisible','ck-context','focusFirst','isEnabled','render','235rfoLPi','div','focusCycler','ck-context--quotes','189qeWLKD','fire','element','.ck-context__value','mouseleave','classList','shift+tab','lastIndexOf','18412TwudiV','keystrokes','tab','focusables','setTemplate','contextValue','_setupKeyboardNavigation','1304379pgeYlY','349648QtyhfR','_attachContextActions','substring','focus','length','.ck-context','querySelector','execute','bindTemplate','mouseenter','_createContextView','isResolvable','...','icon','Comment\x20was\x20made\x20on\x20an\x20element','_trimContextValue','ck-thread__header','3QoHMgP','context','offsetWidth','focusTracker','reopenCommentThread','bind','ck-annotation__actions','value','contextView','ck-context-wrapper','1656996cxMSFC','label','_model','isReadOnly','63ilPuCL','Reopen','locale','isResolved','_createReopenButton','reopenButtonView','createCollection','listenTo','72CDTxVS'];_0x37a1=function(){return _0x5e8170;};return _0x37a1();}import{IconUndo as _0x1fb297}from'ckeditor5/src/icons.js';import{getTranslation as _0x29cf70}from'../../../utils/common-translations.js';import _0x3fafb9 from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export default class Xt extends _0x44331a{[_0x5f04e0(0x151)];[_0x5f04e0(0x158)];[_0x5f04e0(0x14d)];[_0x5f04e0(0x179)];[_0x5f04e0(0x148)];[_0x5f04e0(0x177)];[_0x5f04e0(0x16c)];constructor(_0x5968a3,_0xf1836c){const _0x3c9734=_0x5f04e0;super(_0x5968a3);const _0xc5b10b=this[_0x3c9734(0x13c)];this[_0x3c9734(0x151)]=_0xf1836c,this[_0x3c9734(0x158)]=this[_0x3c9734(0x157)](),this[_0x3c9734(0x14d)]=this[_0x3c9734(0x13e)](),this[_0x3c9734(0x179)]=this[_0x3c9734(0x159)]([this[_0x3c9734(0x14d)],this[_0x3c9734(0x158)]]),this[_0x3c9734(0x148)]=new _0x4b23cb(),this[_0x3c9734(0x177)]=new _0x1c232b(),this[_0x3c9734(0x16c)]=new _0xe3350f({'focusables':this[_0x3c9734(0x179)],'focusTracker':this[_0x3c9734(0x148)],'keystrokeHandler':this[_0x3c9734(0x177)],'actions':{'focusPrevious':_0x3c9734(0x174),'focusNext':_0x3c9734(0x178)}}),this[_0x3c9734(0x14a)](_0x3c9734(0x160))['to'](this[_0x3c9734(0x151)],_0x3c9734(0x146),_0x5c5036=>!!_0x5c5036),this[_0x3c9734(0x14a)](_0x3c9734(0x17b))['to'](this[_0x3c9734(0x151)],_0x3c9734(0x146),_0x533997=>_0x533997&&_0x533997[_0x3c9734(0x14c)]?this[_0x3c9734(0x143)](_0x533997[_0x3c9734(0x14c)]):_0x29cf70(this[_0x3c9734(0x155)],_0x3c9734(0x142))),this[_0x3c9734(0x17a)]({'tag':_0x3c9734(0x16b),'attributes':{'class':[_0x3c9734(0x144)]},'children':[{'tag':_0x3c9734(0x16b),'attributes':{'class':[_0x3c9734(0x14e)]},'children':[{'tag':_0x3c9734(0x16b),'attributes':{'class':[_0x3c9734(0x166),_0xc5b10b['if'](_0x3c9734(0x160),_0x3c9734(0x16d))]},'children':[this[_0x3c9734(0x14d)]]}]},{'tag':_0x3c9734(0x16b),'attributes':{'class':[_0x3c9734(0x14b)]},'children':[this[_0x3c9734(0x158)]]}]});}[_0x5f04e0(0x169)](){const _0x4bdfa0=_0x5f04e0;super[_0x4bdfa0(0x169)](),this[_0x4bdfa0(0x17f)](),this[_0x4bdfa0(0x17c)]();}[_0x5f04e0(0x181)](){const _0x5177ed=_0x5f04e0;this[_0x5177ed(0x16c)][_0x5177ed(0x167)]();}[_0x5f04e0(0x157)](){const _0x3554eb=_0x5f04e0,_0x202128=new _0xafde4f(this[_0x3554eb(0x155)]);return _0x202128[_0x3554eb(0x150)]=_0x29cf70(this[_0x3554eb(0x155)],_0x3554eb(0x154)),_0x202128[_0x3554eb(0x15f)]=_0x29cf70(this[_0x3554eb(0x155)],_0x3554eb(0x154)),_0x202128[_0x3554eb(0x141)]=_0x1fb297,_0x202128[_0x3554eb(0x14a)](_0x3554eb(0x168))['to'](this[_0x3554eb(0x151)],_0x3554eb(0x152),_0x464be9=>!_0x464be9),_0x202128[_0x3554eb(0x14a)](_0x3554eb(0x165))['to'](this[_0x3554eb(0x151)],_0x3554eb(0x13f),this[_0x3554eb(0x151)],_0x3554eb(0x156),(_0x2a77f7,_0x2c138d)=>_0x2a77f7&&_0x2c138d),_0x202128['on'](_0x3554eb(0x13b),()=>{const _0x59ce6f=_0x3554eb;this[_0x59ce6f(0x16f)](_0x59ce6f(0x149),this[_0x59ce6f(0x151)]['id']);}),_0x202128;}[_0x5f04e0(0x143)](_0xb3b59c){const _0x1d48c7=_0x5f04e0;if(_0xb3b59c[_0x1d48c7(0x182)]<0x96)return _0xb3b59c;const _0x223ec3=_0xb3b59c[_0x1d48c7(0x175)]('\x20',0x93);return _0xb3b59c[_0x1d48c7(0x180)](0x0,_0x223ec3>-0x1?_0x223ec3:0x93)+_0x1d48c7(0x140);}[_0x5f04e0(0x17f)](){const _0x2bd44e=_0x5f04e0,_0x369e69=this[_0x2bd44e(0x170)][_0x2bd44e(0x13a)](_0x2bd44e(0x183)),_0x8b302=_0x369e69[_0x2bd44e(0x13a)](_0x2bd44e(0x171));this[_0x2bd44e(0x15a)](_0x369e69,_0x2bd44e(0x13d),()=>{const _0xe14583=_0x2bd44e;_0x8b302[_0xe14583(0x147)]<_0x8b302[_0xe14583(0x15e)]&&_0x369e69[_0xe14583(0x173)][_0xe14583(0x161)](_0xe14583(0x15c));}),this[_0x2bd44e(0x15a)](_0x369e69,_0x2bd44e(0x172),()=>{const _0x363711=_0x2bd44e;_0x369e69[_0x363711(0x173)][_0x363711(0x15d)](_0x363711(0x15c));});}[_0x5f04e0(0x17c)](){const _0x3a4d15=_0x5f04e0;this[_0x3a4d15(0x177)][_0x3a4d15(0x15a)](this[_0x3a4d15(0x170)]);for(const _0x44d856 of this[_0x3a4d15(0x179)])this[_0x3a4d15(0x148)][_0x3a4d15(0x161)](_0x44d856[_0x3a4d15(0x170)]),this[_0x3a4d15(0x177)][_0x3a4d15(0x15a)](_0x44d856[_0x3a4d15(0x170)]);}[_0x5f04e0(0x13e)](){const _0xba5d1e=_0x5f04e0,_0x59a1d4=new _0x3fafb9(this[_0xba5d1e(0x155)]);return _0x59a1d4[_0xba5d1e(0x14a)](_0xba5d1e(0x17b))['to'](this),_0x59a1d4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4b3953=_0x27b8;function _0x27b8(_0x44a20c,_0x45c79a){const _0x2ee787=_0x2ee7();return _0x27b8=function(_0x27b8fa,_0x5d55d8){_0x27b8fa=_0x27b8fa-0x1bb;let _0x5275c3=_0x2ee787[_0x27b8fa];return _0x5275c3;},_0x27b8(_0x44a20c,_0x45c79a);}(function(_0x249ff1,_0x36c2f6){const _0x1ea509=_0x27b8,_0x27ff34=_0x249ff1();while(!![]){try{const _0x502b11=-parseInt(_0x1ea509(0x1d3))/0x1*(parseInt(_0x1ea509(0x1d8))/0x2)+-parseInt(_0x1ea509(0x1ca))/0x3*(-parseInt(_0x1ea509(0x1d6))/0x4)+-parseInt(_0x1ea509(0x1e4))/0x5+-parseInt(_0x1ea509(0x1d2))/0x6*(-parseInt(_0x1ea509(0x1be))/0x7)+parseInt(_0x1ea509(0x1e0))/0x8+-parseInt(_0x1ea509(0x1c0))/0x9+parseInt(_0x1ea509(0x1c3))/0xa;if(_0x502b11===_0x36c2f6)break;else _0x27ff34['push'](_0x27ff34['shift']());}catch(_0x5d7bf3){_0x27ff34['push'](_0x27ff34['shift']());}}}(_0x2ee7,0xf3938));function _0x2ee7(){const _0x3454e3=['mousedown','delegate','div','9029344xOXehk','focusCycler','target','ck-thread__input','5031820iCDFtR','element','setTemplate','editing','focus','view','value','destroy','bind','showInput','extendTemplate','contains','28XXKkIL','preventDefault','6110181WnISJQ','_focusOnNonInteractiveMouseDown','commentInputView','1876740RDbIBx','ck-thread__user','showButtons','listenTo','isFocused','ck-comment__input-container--active','set','6ZagREd','ck-comment__input-container','focusTracker','bindTemplate','render','editorReady','createEditor','some','1291104OWEVqH','1kNjYnO','editorDestroyed','then','3515672hIWVpc','userView','2503906QkgAxK','editor','filter','getDomRoot','change:showInput'];_0x2ee7=function(){return _0x3454e3;};return _0x2ee7();}import{View as _0x111af7}from'ckeditor5/src/ui.js';import _0x5e66d3 from'./commentinputview.js';import{UserView as _0x51eb3f}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ie extends _0x111af7{constructor(_0x1c4c8e,_0x1743a4,_0x3cb5cb){const _0x15b7fd=_0x27b8;super(_0x1c4c8e),this[_0x15b7fd(0x1c2)]=new _0x5e66d3(_0x1c4c8e,_0x3cb5cb),this[_0x15b7fd(0x1e1)]=this[_0x15b7fd(0x1c2)][_0x15b7fd(0x1e1)],this[_0x15b7fd(0x1c2)][_0x15b7fd(0x1ec)](_0x15b7fd(0x1c5))['to'](this[_0x15b7fd(0x1c2)][_0x15b7fd(0x1cc)],_0x15b7fd(0x1c7),this[_0x15b7fd(0x1c2)],_0x15b7fd(0x1ea),(_0x114174,_0x1e4d45)=>_0x114174||!!_0x1e4d45),this[_0x15b7fd(0x1c9)](_0x15b7fd(0x1bb),!0x1),this['on'](_0x15b7fd(0x1dc),()=>{const _0x41e3bb=_0x15b7fd;this[_0x41e3bb(0x1bb)]&&!this[_0x41e3bb(0x1c2)][_0x41e3bb(0x1d9)]&&this[_0x41e3bb(0x1c2)][_0x41e3bb(0x1d0)]();}),this[_0x15b7fd(0x1c2)][_0x15b7fd(0x1de)](_0x15b7fd(0x1cf))['to'](this),this[_0x15b7fd(0x1c2)][_0x15b7fd(0x1de)](_0x15b7fd(0x1d4))['to'](this),this[_0x15b7fd(0x1d7)]=new _0x51eb3f(_0x1c4c8e,_0x1743a4),this[_0x15b7fd(0x1d7)][_0x15b7fd(0x1bc)]({'attributes':{'class':_0x15b7fd(0x1c4),'aria-hidden':!0x0}}),this[_0x15b7fd(0x1c2)][_0x15b7fd(0x1bc)]({'attributes':{'class':_0x15b7fd(0x1e3)}}),this[_0x15b7fd(0x1e6)]({'tag':_0x15b7fd(0x1df),'attributes':{'class':[_0x15b7fd(0x1cb),this[_0x15b7fd(0x1cd)]['if'](_0x15b7fd(0x1bb),_0x15b7fd(0x1c8))]},'children':[this[_0x15b7fd(0x1d7)],this[_0x15b7fd(0x1c2)]]});}[_0x4b3953(0x1ce)](){const _0x22b8db=_0x4b3953;super[_0x22b8db(0x1ce)](),this[_0x22b8db(0x1c1)]();}[_0x4b3953(0x1eb)](){const _0x2d4917=_0x4b3953;return this[_0x2d4917(0x1c2)][_0x2d4917(0x1eb)]()[_0x2d4917(0x1d5)](()=>super[_0x2d4917(0x1eb)]());}[_0x4b3953(0x1e8)](_0x148726){const _0x159b62=_0x4b3953;this[_0x159b62(0x1c2)][_0x159b62(0x1e8)](_0x148726);}[_0x4b3953(0x1c1)](){const _0x374667=_0x4b3953;this[_0x374667(0x1c6)](this[_0x374667(0x1e5)],_0x374667(0x1dd),(_0x222584,_0x2aec08)=>{const _0x335d56=_0x374667,{submitButtonView:_0x265923,cancelButtonView:_0x4ef6d1,editor:_0x12d37f}=this[_0x335d56(0x1c2)];[_0x265923[_0x335d56(0x1e5)],_0x4ef6d1[_0x335d56(0x1e5)],_0x12d37f?_0x12d37f[_0x335d56(0x1e7)][_0x335d56(0x1e9)][_0x335d56(0x1db)]():null][_0x335d56(0x1da)](_0xb17811=>_0xb17811)[_0x335d56(0x1d1)](_0x477746=>_0x477746[_0x335d56(0x1bd)](_0x2aec08[_0x335d56(0x1e2)]))||(this[_0x335d56(0x1e8)](),_0x2aec08[_0x335d56(0x1bf)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x1b2132=_0x3c42;(function(_0x4ac7e2,_0xb75a6f){const _0x285060=_0x3c42,_0x5c8ad6=_0x4ac7e2();while(!![]){try{const _0x21aff3=parseInt(_0x285060(0xef))/0x1+parseInt(_0x285060(0xfc))/0x2+parseInt(_0x285060(0x12d))/0x3*(parseInt(_0x285060(0x122))/0x4)+parseInt(_0x285060(0xed))/0x5+parseInt(_0x285060(0xf9))/0x6+parseInt(_0x285060(0xea))/0x7+-parseInt(_0x285060(0x11b))/0x8;if(_0x21aff3===_0xb75a6f)break;else _0x5c8ad6['push'](_0x5c8ad6['shift']());}catch(_0x3fb29f){_0x5c8ad6['push'](_0x5c8ad6['shift']());}}}(_0xc1d2,0x8679c));function _0xc1d2(){const _0x3ed837=['isReadOnly','cancelConfirm','12JsZuEI','high','change:archivedAt','_boundFirstCommentView','ck-thread--','locale','placeholder','ck-rounded-corners','actionIndicator','commentsListView','resolveButton','759078JBxlBL','removeConfirm','ck-thread','div','archivedAt','isResolved','commentThreadInputView','icon','listenTo','label','_model','isEnabled','removeButton','extendTemplate','change:isReadOnly','ariaLabel','render','unbind','focus','containerElement','execute','71253gSUggg','then','Delete\x20comment\x20thread?','4581125SRkKlc','_bindFirstCommentView','890456ZXeHPn','isUnlinked','ck-thread--remove-confirmation','tooltip','createCollection','bind','isSystemComment','setTemplate','isVisible','stop','3995400GMzchm','commentViews','Resolve','513702RHtjwD','_cancelAllConfirms','ck-thread__container','ck-thread--active','ck-comment--resolve','bindTemplate','length','ariaDescriptionView','set','showConfirm','.ck-thread__container','ck-reset_all-excluded','commentThreadHeaderView','_updateArchivedThreadHeader','has','commentThreadChildren','isConfirm','isActive','resolveCommentThread','get','element','listitem','removeCommentThread','isResolvable','getTemplate','change:isActive','Write\x20a\x20comment...','_createResolveButton','querySelector','remove','fire','23583016sVyTZl','add','actionBar','focusables','ck-thread--unlinked'];_0xc1d2=function(){return _0x3ed837;};return _0xc1d2();}function _0x3c42(_0x2551ef,_0x2dcf49){const _0xc1d28f=_0xc1d2();return _0x3c42=function(_0x3c42d4,_0x146ea0){_0x3c42d4=_0x3c42d4-0xe9;let _0x3a8c18=_0xc1d28f[_0x3c42d4];return _0x3a8c18;},_0x3c42(_0x2551ef,_0x2dcf49);}import{ConfirmMixin as _0x3aa5bd,LateFocusButtonView as _0x36f0e1}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x2f02f6}from'ckeditor5/src/icons.js';import _0x500940 from'./basecommentthreadview.js';import{getTranslation as _0x1b3002}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3aa5bd(_0x500940){[_0x1b2132(0x10b)];[_0x1b2132(0x140)];[_0x1b2132(0x12c)];[_0x1b2132(0x125)];constructor(_0x4c0b50,_0x193cd7,_0x26c298,_0x53c6ee){const _0x4e4516=_0x1b2132;super(_0x4c0b50,_0x193cd7,_0x26c298,_0x53c6ee),this[_0x4e4516(0x10b)]=this[_0x4e4516(0xf3)]([this[_0x4e4516(0x12b)],this[_0x4e4516(0x133)],this[_0x4e4516(0x103)]]),this[_0x4e4516(0x104)](_0x4e4516(0x12a),null),this[_0x4e4516(0x140)]=null,this[_0x4e4516(0x125)]=null,this[_0x4e4516(0x127)]=_0x4c0b50,this[_0x4e4516(0x12c)]=this[_0x4e4516(0x117)](),this[_0x4e4516(0xf6)](this[_0x4e4516(0x114)]()),this['on'](_0x4e4516(0x115),(_0x50f992,_0x1806db,_0x1ed87e)=>{const _0x293813=_0x4e4516;_0x1ed87e||this[_0x293813(0xfd)]();}),this[_0x4e4516(0x135)](this[_0x4e4516(0x137)],_0x4e4516(0x13b),(_0x415340,_0x5575ab,_0x4dc299)=>{const _0x55485f=_0x4e4516;_0x4dc299&&this[_0x55485f(0xfd)]();}),this[_0x4e4516(0x102)]>0x0&&this[_0x4e4516(0xee)](),this[_0x4e4516(0x135)](this[_0x4e4516(0x12b)][_0x4e4516(0xfa)],_0x4e4516(0x11c),()=>{const _0x53b531=_0x4e4516;this[_0x53b531(0xee)]();});}[_0x1b2132(0x114)](){const _0x459e6c=_0x1b2132,_0x176cf6=this[_0x459e6c(0x101)];return{'tag':_0x459e6c(0x130),'attributes':{'class':['ck',_0x459e6c(0x12f),_0x459e6c(0x107),_0x459e6c(0x129),_0x176cf6['if'](_0x459e6c(0x10d),_0x459e6c(0xff)),_0x176cf6['if'](_0x459e6c(0xf0),_0x459e6c(0x11f)),_0x176cf6['if'](_0x459e6c(0x10c),_0x459e6c(0xf1)),_0x176cf6['to'](_0x459e6c(0x12a),_0x1b3ad8=>_0x1b3ad8?_0x459e6c(0x126)+_0x1b3ad8:'')],'data-thread-id':this[_0x459e6c(0x137)]['id'],'tabindex':0x0,'role':_0x459e6c(0x111),'aria-label':_0x176cf6['to'](_0x459e6c(0x13c)),'aria-describedby':this[_0x459e6c(0x103)]['id']},'children':[{'tag':_0x459e6c(0x130),'attributes':{'class':_0x459e6c(0xfe)},'children':this[_0x459e6c(0x10b)]}]};}[_0x1b2132(0x13d)](){const _0x30dc19=_0x1b2132;super[_0x30dc19(0x13d)](),this[_0x30dc19(0x140)]=this[_0x30dc19(0x110)][_0x30dc19(0x118)](_0x30dc19(0x106)),this[_0x30dc19(0x137)]['on'](_0x30dc19(0x124),()=>{const _0x534627=_0x30dc19;this[_0x534627(0x109)]();}),this[_0x30dc19(0x109)]();}[_0x1b2132(0xfd)](){const _0x48c898=_0x1b2132;this[_0x48c898(0x121)]();for(const _0x49e534 of this[_0x48c898(0x12b)][_0x48c898(0xfa)])_0x49e534[_0x48c898(0x121)]();}[_0x1b2132(0xee)](){const _0x1d6fbf=_0x1b2132,{locale:_0x1ab43d}=this,_0x3aa956=this[_0x1d6fbf(0x12b)][_0x1d6fbf(0xfa)][_0x1d6fbf(0x10f)](0x0);_0x3aa956===this[_0x1d6fbf(0x125)]||_0x3aa956[_0x1d6fbf(0xf5)]||(this[_0x1d6fbf(0x125)]=_0x3aa956,this[_0x1d6fbf(0x13e)](_0x1d6fbf(0x12a)),this[_0x1d6fbf(0xf4)](_0x1d6fbf(0x12a))['to'](_0x3aa956,_0x1d6fbf(0x12a),_0x5e9a9d=>_0x1d6fbf(0x119)===_0x5e9a9d?_0x1d6fbf(0x119):null),_0x3aa956[_0x1d6fbf(0x128)]=_0x1b3002(_0x1ab43d,_0x1d6fbf(0x116)),_0x3aa956[_0x1d6fbf(0x139)]['on'](_0x1d6fbf(0xe9),_0x170f3c=>{const _0x38062e=_0x1d6fbf;_0x170f3c[_0x38062e(0xf8)](),this[_0x38062e(0x105)](_0x1b3002(_0x1ab43d,_0x38062e(0xec)),this[_0x38062e(0x140)])[_0x38062e(0xeb)](()=>{const _0x4d8972=_0x38062e;this[_0x4d8972(0x11a)](_0x4d8972(0x112));});},{'priority':_0x1d6fbf(0x123)}),this['on'](_0x1d6fbf(0x12e),()=>{const _0x14b5df=_0x1d6fbf;_0x3aa956[_0x14b5df(0x13f)]();}),_0x3aa956[_0x1d6fbf(0x11d)][_0x1d6fbf(0x11c)](this[_0x1d6fbf(0x12c)],0x0),_0x3aa956[_0x1d6fbf(0x11e)][_0x1d6fbf(0x11c)](this[_0x1d6fbf(0x12c)],0x0));}[_0x1b2132(0x117)](){const _0x1055a3=_0x1b2132,_0x578bc2=new _0x36f0e1(this[_0x1055a3(0x127)]);return _0x578bc2[_0x1055a3(0x136)]=_0x1b3002(this[_0x1055a3(0x127)],_0x1055a3(0xfb)),_0x578bc2[_0x1055a3(0xf2)]=_0x1b3002(this[_0x1055a3(0x127)],_0x1055a3(0xfb)),_0x578bc2[_0x1055a3(0x134)]=_0x2f02f6,_0x578bc2[_0x1055a3(0x13a)]({'attributes':{'class':_0x1055a3(0x100)}}),_0x578bc2[_0x1055a3(0xf4)](_0x1055a3(0x138))['to'](this[_0x1055a3(0x137)],_0x1055a3(0x120),_0x1c7889=>!_0x1c7889),_0x578bc2[_0x1055a3(0xf4)](_0x1055a3(0xf7))['to'](this[_0x1055a3(0x137)],_0x1055a3(0x113),this[_0x1055a3(0x137)],_0x1055a3(0x132),(_0x1e0e82,_0xf7376f)=>_0x1e0e82&&!_0xf7376f),_0x578bc2['on'](_0x1055a3(0xe9),()=>{const _0x152553=_0x1055a3;this[_0x152553(0x11a)](_0x152553(0x10e),this[_0x152553(0x137)]['id']);}),_0x578bc2;}[_0x1b2132(0x109)](){const _0x472542=_0x1b2132;this[_0x472542(0x137)][_0x472542(0x131)]?this[_0x472542(0x10b)][_0x472542(0x10a)](this[_0x472542(0x108)])||(this[_0x472542(0x10b)][_0x472542(0x11c)](this[_0x472542(0x108)],0x0),this[_0x472542(0x11e)][_0x472542(0x11c)](this[_0x472542(0x108)],0x0)):this[_0x472542(0x10b)][_0x472542(0x10a)](this[_0x472542(0x108)])&&(this[_0x472542(0x10b)][_0x472542(0x119)](this[_0x472542(0x108)]),this[_0x472542(0x11e)][_0x472542(0x119)](this[_0x472542(0x108)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x14cbce=_0x3c6d;function _0x3c6d(_0x1de21d,_0x15df31){const _0x5cb000=_0x5cb0();return _0x3c6d=function(_0x3c6da8,_0x1dfc64){_0x3c6da8=_0x3c6da8-0x15e;let _0x320b13=_0x5cb000[_0x3c6da8];return _0x320b13;},_0x3c6d(_0x1de21d,_0x15df31);}(function(_0xcd398,_0x3222ec){const _0x4f4590=_0x3c6d,_0x19e4fd=_0xcd398();while(!![]){try{const _0x2b8291=parseInt(_0x4f4590(0x1bb))/0x1*(-parseInt(_0x4f4590(0x16b))/0x2)+-parseInt(_0x4f4590(0x1af))/0x3*(parseInt(_0x4f4590(0x171))/0x4)+-parseInt(_0x4f4590(0x19b))/0x5+-parseInt(_0x4f4590(0x169))/0x6+-parseInt(_0x4f4590(0x197))/0x7+parseInt(_0x4f4590(0x1a2))/0x8+-parseInt(_0x4f4590(0x1c2))/0x9*(-parseInt(_0x4f4590(0x19d))/0xa);if(_0x2b8291===_0x3222ec)break;else _0x19e4fd['push'](_0x19e4fd['shift']());}catch(_0x27defc){_0x19e4fd['push'](_0x19e4fd['shift']());}}}(_0x5cb0,0xe7411));import{IconRemoveComment as _0x31d9bd,IconPencil as _0x1b7ea9,IconThreeVerticalDots as _0xa29095}from'ckeditor5/src/icons.js';import{ButtonView as _0x156083,createDropdown as _0x54482f,ListView as _0x26bda7,ListItemView as _0x3a7c2e,focusChildOnDropdownOpen as _0x48996e}from'ckeditor5/src/ui.js';import{UserView as _0x319bdb,ConfirmMixin as _0xd0f19c,LateFocusDropdownButtonView as _0x5453fc}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1f6fb3 from'./basecommentview.js';function _0x5cb0(){const _0x3a0342=['length','isConfirm','formatDateTime','mouseenter','time','6780456jfDSoo','_createRemoveButton','538vwtQoB','group','editButton','edit','bind','ck-comment--remove','8HQBxJF','some','ck-comment__info-name','find','from','isEditMode','extendTemplate','isEnabled','ck-comment__user','isSystemComment','resolvedAt','ck-comment__info','ck-comment--','isExternal','author','setTemplate','ck-annotation__info-time','_createCommentInputView','isEditable','label','visibleView','_model','ck-comment__actions--hidden','ck-annotation__content-wrapper','listitem','userView','actionIndicator','change:isRemovable','isRemovable','icon','_config','div','set','actionBar','ck-comment--edit','isReadOnly','ck-comment--info','ck-comment__actions','9354422KfRvXc','_attachActions','isVisible','ck-comment__main','4578185qTJfSy','_createEditButton','6100iHLtyS','placeholder','add','ck-annotation__actions','getUserViewNotificationText','3832248hTuaEZ','focusables','blur','_createDropdown','toMany','ck-annotation__user','span','Show\x20more\x20items','getTemplate','panelPosition','then','ck-comment__external','Reply...','369039rLGByn','Remove','removeButton','execute','ck-comment__wrapper','showConfirm','createCollection','Edit','dropdown','focus','buttonView','cancelConfirm','571oFlmgn','authoredAt','render','mouseleave','name','children','locale','62703irEVlL','remove','getExternalCommentNote','ck-annotation__actions--hidden','ariaLabel','switchToEditMode','element','fire','listenTo','ariaDescriptionView','ck-annotation','removeComment','Delete\x20comment?','addMany','ck-hidden','withText','ck-annotation__info-name','items','ck-comment','ck-comment--remove-confirmation','ck-annotation__info','unbind','bindTemplate','ck-annotation__main','panelView','ck-comment__info-time','push'];_0x5cb0=function(){return _0x3a0342;};return _0x5cb0();}import{getTranslation as _0x4ecb97}from'../../../utils/common-translations.js';export default class gt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xd0f19c(_0x1f6fb3){[_0x14cbce(0x192)];[_0x14cbce(0x18a)];constructor(_0x155253,_0x4f6c22,_0x4b6621){const _0x4eceff=_0x14cbce;super(_0x155253,_0x4f6c22,_0x4b6621),this[_0x4eceff(0x191)](_0x4eceff(0x18b),null),this[_0x4eceff(0x191)](_0x4eceff(0x19e),_0x4ecb97(_0x155253,_0x4eceff(0x1ae))),this[_0x4eceff(0x16f)](_0x4eceff(0x1bc))['to'](_0x4f6c22),this[_0x4eceff(0x16f)](_0x4eceff(0x17b))['to'](_0x4f6c22),this[_0x4eceff(0x192)]=this[_0x4eceff(0x1b5)](),this[_0x4eceff(0x17a)]||(this[_0x4eceff(0x16d)]=this[_0x4eceff(0x19c)](),this[_0x4eceff(0x1b1)]=this[_0x4eceff(0x16a)](),this[_0x4eceff(0x1d3)]=this[_0x4eceff(0x1b5)](),this[_0x4eceff(0x1d3)][_0x4eceff(0x1cf)]([this[_0x4eceff(0x16d)],this[_0x4eceff(0x1b1)]]),this[_0x4eceff(0x1b7)]=this[_0x4eceff(0x1a5)](),this[_0x4eceff(0x192)][_0x4eceff(0x19f)](this[_0x4eceff(0x1b7)]),this[_0x4eceff(0x1a3)][_0x4eceff(0x19f)](this[_0x4eceff(0x1b7)])),this[_0x4eceff(0x18a)]=new _0x319bdb(_0x155253,_0x4f6c22[_0x4eceff(0x17f)],this[_0x4eceff(0x1a1)]()),this[_0x4eceff(0x18a)][_0x4eceff(0x177)]({'attributes':{'class':[_0x4eceff(0x179),_0x4eceff(0x1a7)],'aria-hidden':!0x0}}),this[_0x4eceff(0x1ca)](_0x4f6c22,_0x4eceff(0x18c),()=>this[_0x4eceff(0x1ba)]()),this[_0x4eceff(0x180)](this[_0x4eceff(0x1aa)]());}[_0x14cbce(0x1aa)](){const _0x130d37=_0x14cbce,_0x492dff=this[_0x130d37(0x15f)],_0x443a04=[{'tag':_0x130d37(0x190),'attributes':{'class':[_0x130d37(0x17c),_0x130d37(0x1d6)]},'children':[{'tag':_0x130d37(0x1a8),'children':[{'text':this[_0x130d37(0x18a)][_0x130d37(0x1bf)]}],'attributes':{'class':[_0x130d37(0x173),_0x130d37(0x1d2)],'data-cke-tooltip-text':this[_0x130d37(0x18a)][_0x130d37(0x1bf)]}},{'tag':_0x130d37(0x168),'attributes':{'datetime':_0x492dff['to'](_0x130d37(0x1bc)),'class':[_0x130d37(0x162),_0x130d37(0x181)]},'children':[{'text':_0x492dff['to'](_0x130d37(0x1bc),_0x5d44e2=>this[_0x130d37(0x18f)][_0x130d37(0x166)](_0x5d44e2))}]}]},{'tag':_0x130d37(0x190),'attributes':{'class':[_0x130d37(0x196),_0x130d37(0x1a0),_0x492dff['if'](_0x130d37(0x176),_0x130d37(0x187)),_0x492dff['if'](_0x130d37(0x176),_0x130d37(0x1c5))]},'children':this[_0x130d37(0x192)]},{'tag':_0x130d37(0x190),'attributes':{'class':[_0x130d37(0x188)]},'children':this[_0x130d37(0x185)]},this[_0x130d37(0x1cb)]];return this[_0x130d37(0x186)][_0x130d37(0x17e)]&&_0x443a04[_0x130d37(0x163)]({'tag':_0x130d37(0x190),'attributes':{'class':[_0x130d37(0x1ad)]},'children':[{'text':this[_0x130d37(0x1c4)]()}]}),{'tag':'li','attributes':{'class':[_0x130d37(0x1b3),_0x492dff['if'](_0x130d37(0x165),_0x130d37(0x1d5))],'tabindex':-0x1,'aria-label':_0x492dff['to'](_0x130d37(0x1c6)),'aria-describedby':this[_0x130d37(0x1cb)]['id'],'role':_0x130d37(0x189)},'children':[{'tag':_0x130d37(0x190),'attributes':{'class':[_0x130d37(0x1d4),_0x130d37(0x1cc),_0x492dff['if'](_0x130d37(0x176),_0x130d37(0x193)),_0x492dff['if'](_0x130d37(0x17a),_0x130d37(0x195)),_0x492dff['to'](_0x130d37(0x18b),_0x3e4927=>_0x3e4927?_0x130d37(0x17d)+_0x3e4927:'')],'data-author-id':this[_0x130d37(0x186)][_0x130d37(0x17f)]['id'],'data-comment-id':this[_0x130d37(0x186)]['id'],'role':_0x130d37(0x16c)},'children':[this[_0x130d37(0x18a)],{'tag':_0x130d37(0x190),'attributes':{'class':[_0x130d37(0x19a),_0x130d37(0x160)]},'children':_0x443a04}]}]};}[_0x14cbce(0x19c)](){const _0x12bed6=_0x14cbce,_0x3b4901=new _0x156083(this[_0x12bed6(0x1c1)]);return _0x3b4901[_0x12bed6(0x184)]=_0x4ecb97(this[_0x12bed6(0x1c1)],_0x12bed6(0x1b6)),_0x3b4901[_0x12bed6(0x18e)]=_0x1b7ea9,_0x3b4901[_0x12bed6(0x1d1)]=!0x0,_0x3b4901[_0x12bed6(0x177)]({'attributes':{'class':_0x12bed6(0x193)}}),_0x3b4901[_0x12bed6(0x16f)](_0x12bed6(0x178))['to'](this[_0x12bed6(0x186)],_0x12bed6(0x194),_0x160673=>!_0x160673),_0x3b4901[_0x12bed6(0x16f)](_0x12bed6(0x199))['to'](this[_0x12bed6(0x186)],_0x12bed6(0x183)),_0x3b4901['on'](_0x12bed6(0x1b2),()=>this[_0x12bed6(0x1c7)]()),_0x3b4901;}[_0x14cbce(0x16a)](){const _0x481588=_0x14cbce,_0x25006b=new _0x156083(this[_0x481588(0x1c1)]);return _0x25006b[_0x481588(0x184)]=_0x4ecb97(this[_0x481588(0x1c1)],_0x481588(0x1b0)),_0x25006b[_0x481588(0x18e)]=_0x31d9bd,_0x25006b[_0x481588(0x1d1)]=!0x0,_0x25006b[_0x481588(0x177)]({'attributes':{'class':_0x481588(0x170)}}),_0x25006b[_0x481588(0x16f)](_0x481588(0x178))['to'](this[_0x481588(0x186)],_0x481588(0x194),_0x4eba6d=>!_0x4eba6d),_0x25006b[_0x481588(0x16f)](_0x481588(0x199))['to'](this[_0x481588(0x186)],_0x481588(0x18d)),_0x25006b['on'](_0x481588(0x1b2),()=>{const _0x1c5933=_0x481588;this[_0x1c5933(0x1b4)](_0x4ecb97(this[_0x1c5933(0x1c1)],_0x1c5933(0x1ce)),this[_0x1c5933(0x1c8)])[_0x1c5933(0x1ac)](()=>{const _0x4fad1f=_0x1c5933;this[_0x4fad1f(0x1c9)](_0x4fad1f(0x1cd),this[_0x4fad1f(0x186)]['id']);});}),_0x25006b;}[_0x14cbce(0x1a5)](){const _0x4f7f0a=_0x14cbce,_0x2a8b25=_0x54482f(this[_0x4f7f0a(0x1c1)],_0x5453fc),_0x1bb1cc=_0x2a8b25[_0x4f7f0a(0x161)][_0x4f7f0a(0x1c0)],_0x455ce8=new _0x26bda7(this[_0x4f7f0a(0x1c1)]),_0x57da66=_0x2a8b25[_0x4f7f0a(0x15f)];_0x48996e(_0x2a8b25,()=>this[_0x4f7f0a(0x1d3)][_0x4f7f0a(0x174)](_0xd0c68b=>_0xd0c68b[_0x4f7f0a(0x199)])),_0x2a8b25[_0x4f7f0a(0x177)]({'attributes':{'class':[_0x57da66['if'](_0x4f7f0a(0x199),_0x4f7f0a(0x1d0),_0x5524b9=>!_0x5524b9)]}});const _0x1ed904=(_0x3bd731,_0xebf3da=-0x1)=>{const _0x129182=_0x4f7f0a,_0x5a7a75=new _0x3a7c2e(this[_0x129182(0x1c1)]);_0x5a7a75[_0x129182(0x1c0)][_0x129182(0x19f)](_0x3bd731);const _0x1d5d97=_0xebf3da>-0x1?_0xebf3da:_0x455ce8[_0x129182(0x1d3)][_0x129182(0x164)];_0x455ce8[_0x129182(0x1d3)][_0x129182(0x19f)](_0x5a7a75,_0x1d5d97);const _0x37da3b=Array[_0x129182(0x175)](this[_0x129182(0x1d3)]);_0x2a8b25[_0x129182(0x15e)](_0x129182(0x178),_0x129182(0x199)),_0x2a8b25[_0x129182(0x16f)](_0x129182(0x178))[_0x129182(0x1a6)](_0x37da3b,_0x129182(0x178),(..._0x307645)=>_0x307645[_0x129182(0x172)](_0x3a42c7=>_0x3a42c7)),_0x2a8b25[_0x129182(0x16f)](_0x129182(0x199))[_0x129182(0x1a6)](_0x37da3b,_0x129182(0x199),(..._0xb8a1fe)=>_0xb8a1fe[_0x129182(0x172)](_0x49c60d=>_0x49c60d));};_0x2a8b25[_0x4f7f0a(0x1ab)]='sw',_0x2a8b25[_0x4f7f0a(0x1b9)][_0x4f7f0a(0x191)]({'label':_0x4ecb97(this[_0x4f7f0a(0x1c1)],_0x4f7f0a(0x1a9)),'icon':_0xa29095});for(const _0x1dd253 of this[_0x4f7f0a(0x1d3)])_0x1ed904(_0x1dd253);return _0x1bb1cc[_0x4f7f0a(0x19f)](_0x455ce8),_0x2a8b25[_0x4f7f0a(0x1ca)](this[_0x4f7f0a(0x1d3)],_0x4f7f0a(0x19f),(_0x4dd88c,_0x4b109e,_0x40de28)=>{_0x1ed904(_0x4b109e,_0x40de28);}),_0x2a8b25[_0x4f7f0a(0x1ca)](this[_0x4f7f0a(0x1d3)],_0x4f7f0a(0x1c3),(_0x3cc8e1,_0x4967ed,_0x3fadfa)=>{const _0x51af6e=_0x4f7f0a;_0x455ce8[_0x51af6e(0x1d3)][_0x51af6e(0x1c3)](_0x3fadfa);}),_0x2a8b25;}[_0x14cbce(0x198)](_0x5765bb,_0x53cff8){const _0x425edd=_0x14cbce,_0xacbcb8=_0x5765bb&&_0x5765bb[_0x425edd(0x1c8)];_0xacbcb8&&(this[_0x425edd(0x1ca)](_0xacbcb8,_0x425edd(0x167),()=>this[_0x425edd(0x18b)]=_0x53cff8),this[_0x425edd(0x1ca)](_0xacbcb8,_0x425edd(0x1b8),()=>this[_0x425edd(0x18b)]=_0x53cff8),this[_0x425edd(0x1ca)](_0xacbcb8,_0x425edd(0x1be),()=>this[_0x425edd(0x18b)]=null),this[_0x425edd(0x1ca)](_0xacbcb8,_0x425edd(0x1a4),()=>this[_0x425edd(0x18b)]=null));}[_0x14cbce(0x182)](){const _0x309b46=_0x14cbce,_0x38043a=super[_0x309b46(0x182)]();return _0x38043a[_0x309b46(0x16f)](_0x309b46(0x19e))['to'](this),_0x38043a;}[_0x14cbce(0x1bd)](){const _0x565940=_0x14cbce;super[_0x565940(0x1bd)](),this[_0x565940(0x198)](this[_0x565940(0x16d)],_0x565940(0x16e)),this[_0x565940(0x198)](this[_0x565940(0x1b1)],_0x565940(0x1c3));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4e7912=_0x134c;(function(_0x53665b,_0x27763c){var _0xb97ec3=_0x134c,_0x19a7e6=_0x53665b();while(!![]){try{var _0x26af04=-parseInt(_0xb97ec3(0x1d5))/0x1*(-parseInt(_0xb97ec3(0x1d2))/0x2)+-parseInt(_0xb97ec3(0x1dd))/0x3+parseInt(_0xb97ec3(0x1d3))/0x4+parseInt(_0xb97ec3(0x1d9))/0x5*(-parseInt(_0xb97ec3(0x1d1))/0x6)+parseInt(_0xb97ec3(0x1d7))/0x7*(-parseInt(_0xb97ec3(0x1da))/0x8)+-parseInt(_0xb97ec3(0x1db))/0x9+parseInt(_0xb97ec3(0x1d4))/0xa;if(_0x26af04===_0x27763c)break;else _0x19a7e6['push'](_0x19a7e6['shift']());}catch(_0x3e4fc5){_0x19a7e6['push'](_0x19a7e6['shift']());}}}(_0x2699,0xdd6f0));function _0x2699(){var _0x4cdfa9=['4110384gCeLku','27842660fSvVGk','6IGdFcs','Comments','403879GaBbRH','isPremiumPlugin','15nEkplN','80wvWaFY','4337568UIfGtj','isOfficialPlugin','2246211Vnubud','pluginName','requires','2487762LXNcZU','48890daKkpy'];_0x2699=function(){return _0x4cdfa9;};return _0x2699();}import{Plugin as _0x2b7430}from'ckeditor5/src/core.js';import _0x24fb26 from'./comments/commentsrepository.js';import _0x125c04 from'./comments/commentsediting.js';import _0x2423a8 from'./comments/commentsui.js';import _0x550125 from'./commentsonly.js';import _0x285d34 from'./annotations/widesidebar.js';import _0x4fca3d from'./annotations/narrowsidebar.js';function _0x134c(_0x33b995,_0x28ac55){var _0x269981=_0x2699();return _0x134c=function(_0x134cb7,_0x98cc4f){_0x134cb7=_0x134cb7-0x1cf;var _0x330395=_0x269981[_0x134cb7];return _0x330395;},_0x134c(_0x33b995,_0x28ac55);}import _0x569fca from'./annotations/inlineannotations.js';import _0x30f394 from'./comments/commentsarchiveui.js';import _0x467096 from'./comments/commentsarchive.js';export default class p extends _0x2b7430{static get[_0x4e7912(0x1d0)](){return[_0x24fb26,_0x125c04,_0x2423a8,_0x467096,_0x30f394,_0x550125,_0x285d34,_0x4fca3d,_0x569fca];}static get[_0x4e7912(0x1cf)](){var _0x2be262=_0x4e7912;return _0x2be262(0x1d6);}static get[_0x4e7912(0x1dc)](){return!0x0;}static get[_0x4e7912(0x1d8)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x13d8(_0x50ea92,_0x45b861){const _0x32aa64=_0x32aa();return _0x13d8=function(_0x13d8f0,_0x548114){_0x13d8f0=_0x13d8f0-0xe2;let _0x2a883d=_0x32aa64[_0x13d8f0];return _0x2a883d;},_0x13d8(_0x50ea92,_0x45b861);}function _0x32aa(){const _0x4889d7=['editSource','editing','has','clearForceDisabled','commands','620012cNJsUz','DragDrop','8pZhnQn','isPremiumPlugin','commentsOnlyMode','listenTo','5EbbEcL','config','3364236JJYruI','3067232fFxQce','document','view','afterInit','213346bSoenH','SourceEditing','6792tnlZKl','isOfficialPlugin','requires','addCommentThread','change:isEnabled','8966500GoeqNT','forceDisabled','isEnabled','delete','_enableCommentsOnlyMode','pluginName','CommentsOnly','commentsOnly','stop','set','get','894858XzfqLy','_disableCommentsOnlyMode','clipboardInput','stopListening','678AFnqrT','cut','highest','editor','plugins','affectsData'];_0x32aa=function(){return _0x4889d7;};return _0x32aa();}const _0x5509a5=_0x13d8;(function(_0x554629,_0x20b33d){const _0x1c2106=_0x13d8,_0x526eb4=_0x554629();while(!![]){try{const _0x189300=-parseInt(_0x1c2106(0xf5))/0x1+-parseInt(_0x1c2106(0x102))/0x2+-parseInt(_0x1c2106(0xea))/0x3*(-parseInt(_0x1c2106(0x104))/0x4)+-parseInt(_0x1c2106(0xfb))/0x5*(parseInt(_0x1c2106(0xe6))/0x6)+-parseInt(_0x1c2106(0xfe))/0x7+-parseInt(_0x1c2106(0xf7))/0x8*(-parseInt(_0x1c2106(0xfd))/0x9)+parseInt(_0x1c2106(0x109))/0xa;if(_0x189300===_0x20b33d)break;else _0x526eb4['push'](_0x526eb4['shift']());}catch(_0x324bc3){_0x526eb4['push'](_0x526eb4['shift']());}}}(_0x32aa,0x530e6));import{Plugin as _0x16ac70}from'ckeditor5/src/core.js';import _0x1cf7a7 from'./comments/commentsediting.js';export default class s extends _0x16ac70{static get[_0x5509a5(0x10e)](){const _0x4cd9d1=_0x5509a5;return _0x4cd9d1(0x10f);}static get[_0x5509a5(0x105)](){return!0x0;}static get[_0x5509a5(0xf8)](){return!0x0;}static get[_0x5509a5(0x106)](){return[_0x1cf7a7];}constructor(_0x3a89f8){const _0x16eade=_0x5509a5;super(_0x3a89f8),this[_0x16eade(0xe4)](_0x16eade(0x10b),!0x1),this['on'](_0x16eade(0x108),(_0x2d8c94,_0x5b426e,_0xb331c9)=>{const _0x252a1a=_0x16eade;_0xb331c9?this[_0x252a1a(0x10d)]():this[_0x252a1a(0xe7)]();});}[_0x5509a5(0x101)](){const _0x1e2d54=_0x5509a5;!this[_0x1e2d54(0x10b)]&&this[_0x1e2d54(0xed)][_0x1e2d54(0xfc)][_0x1e2d54(0xe5)](_0x1e2d54(0xe2))&&(this[_0x1e2d54(0x10b)]=!0x0);}[_0x5509a5(0x10d)](){const _0x53230b=_0x5509a5;for(const [_0x100e4c,_0x1a389d]of this[_0x53230b(0xed)][_0x53230b(0xf4)])_0x1a389d[_0x53230b(0xef)]&&_0x53230b(0x107)!==_0x100e4c&&_0x1a389d[_0x53230b(0x10a)](_0x53230b(0xf9));(this[_0x53230b(0xed)][_0x53230b(0xee)][_0x53230b(0xf2)](_0x53230b(0xf6))&&this[_0x53230b(0xed)][_0x53230b(0xee)][_0x53230b(0xe5)](_0x53230b(0xf6))[_0x53230b(0x10a)](_0x53230b(0xf9)),this[_0x53230b(0xed)][_0x53230b(0xee)][_0x53230b(0xf2)](_0x53230b(0x103)))&&this[_0x53230b(0xed)][_0x53230b(0xee)][_0x53230b(0xe5)](_0x53230b(0x103))[_0x53230b(0x10a)](_0x53230b(0xf9));this[_0x53230b(0xed)][_0x53230b(0xf4)][_0x53230b(0xe5)](_0x53230b(0xf0))?.[_0x53230b(0x10a)](_0x53230b(0xf9));const _0x569e85=this[_0x53230b(0xed)][_0x53230b(0xf1)][_0x53230b(0x100)][_0x53230b(0xff)];this[_0x53230b(0xfa)](_0x569e85,_0x53230b(0xeb),_0x20ff7f=>_0x20ff7f[_0x53230b(0xe3)](),{'priority':_0x53230b(0xec)}),this[_0x53230b(0xfa)](_0x569e85,_0x53230b(0xe8),_0x5326ab=>_0x5326ab[_0x53230b(0xe3)](),{'priority':_0x53230b(0xec)}),this[_0x53230b(0xfa)](_0x569e85,_0x53230b(0x10c),_0x147645=>_0x147645[_0x53230b(0xe3)](),{'priority':_0x53230b(0xec)});}[_0x5509a5(0xe7)](){const _0x3c0f60=_0x5509a5;for(const [_0x2c9ce2,_0x5b36a0]of this[_0x3c0f60(0xed)][_0x3c0f60(0xf4)])_0x5b36a0[_0x3c0f60(0xef)]&&_0x3c0f60(0x107)!==_0x2c9ce2&&_0x5b36a0[_0x3c0f60(0xf3)](_0x3c0f60(0xf9));this[_0x3c0f60(0xed)][_0x3c0f60(0xee)][_0x3c0f60(0xf2)](_0x3c0f60(0x103))&&this[_0x3c0f60(0xed)][_0x3c0f60(0xee)][_0x3c0f60(0xe5)](_0x3c0f60(0x103))[_0x3c0f60(0xf3)](_0x3c0f60(0xf9)),this[_0x3c0f60(0xed)][_0x3c0f60(0xf4)][_0x3c0f60(0xe5)](_0x3c0f60(0xf0))?.[_0x3c0f60(0xf3)](_0x3c0f60(0xf9)),this[_0x3c0f60(0xe9)](this[_0x3c0f60(0xed)][_0x3c0f60(0xf1)][_0x3c0f60(0x100)][_0x3c0f60(0xff)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x13ea2a,_0x2ae425){var _0x321323=_0x4805,_0x27e182=_0x13ea2a();while(!![]){try{var _0x4e87b6=parseInt(_0x321323(0x73))/0x1*(-parseInt(_0x321323(0x72))/0x2)+-parseInt(_0x321323(0x74))/0x3+parseInt(_0x321323(0x6f))/0x4+parseInt(_0x321323(0x70))/0x5+parseInt(_0x321323(0x6d))/0x6*(-parseInt(_0x321323(0x75))/0x7)+parseInt(_0x321323(0x71))/0x8*(-parseInt(_0x321323(0x6c))/0x9)+parseInt(_0x321323(0x6e))/0xa;if(_0x4e87b6===_0x2ae425)break;else _0x27e182['push'](_0x27e182['shift']());}catch(_0x120f5c){_0x27e182['push'](_0x27e182['shift']());}}}(_0x3d29,0x31e3a));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';export{default as Sidebar}from'./annotations/sidebar.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{default as CommentsArchive}from'./comments/commentsarchive.js';function _0x3d29(){var _0x2ebde2=['12303mOWqYR','36fzBGDh','11272620jugHRP','25680hsUzUE','641640rTsXBp','1032sjonzl','562406BblEnd','1LSVClC','1213392DDannD','228263RrcOMy'];_0x3d29=function(){return _0x2ebde2;};return _0x3d29();}function _0x4805(_0x3837ca,_0xaae07d){var _0x3d2927=_0x3d29();return _0x4805=function(_0x48057e,_0x228746){_0x48057e=_0x48057e-0x6c;var _0x3a4ce1=_0x3d2927[_0x48057e];return _0x3a4ce1;},_0x4805(_0x3837ca,_0xaae07d);}export{default as CommentsArchiveUI}from'./comments/commentsarchiveui.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x2f09a1,_0xc9e657,_0x3cd1cc){const t=_0x2f09a1['t'];switch(_0xc9e657){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'},_0x3cd1cc);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'},_0x3cd1cc);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'},_0x3cd1cc);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'},_0x3cd1cc);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x3cd1cc);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'},_0x3cd1cc);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'},_0x3cd1cc);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'},_0x3cd1cc);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(_0x38683b,_0xc3bf85){const _0xe9b9f8=_0x4a40,_0x1bf785=_0x38683b();while(!![]){try{const _0x2256c7=parseInt(_0xe9b9f8(0x1e1))/0x1+parseInt(_0xe9b9f8(0x1e0))/0x2+parseInt(_0xe9b9f8(0x1dc))/0x3+-parseInt(_0xe9b9f8(0x1d4))/0x4+parseInt(_0xe9b9f8(0x1e2))/0x5*(-parseInt(_0xe9b9f8(0x1de))/0x6)+parseInt(_0xe9b9f8(0x1db))/0x7+parseInt(_0xe9b9f8(0x1da))/0x8;if(_0x2256c7===_0xc3bf85)break;else _0x1bf785['push'](_0x1bf785['shift']());}catch(_0x26bae2){_0x1bf785['push'](_0x1bf785['shift']());}}}(_0xe8d4,0x765e9));function _0x4a40(_0x220485,_0x44ad05){const _0xe8d44d=_0xe8d4();return _0x4a40=function(_0x4a40e3,_0x4cbbd1){_0x4a40e3=_0x4a40e3-0x1d2;let _0x15753f=_0xe8d44d[_0x4a40e3];return _0x15753f;},_0x4a40(_0x220485,_0x44ad05);}import{throttle as _0x4a4066}from'es-toolkit/compat';function _0xe8d4(){const _0x22548a=['characterData','5292984PHZhGV','class','1064650BNKPCs','462716NnSpmp','5dlgRHw','type','attributeName','627732XkGWON','cancel','attributes','disconnect','observe','childList','472848hFNQzo','516733pSKAqh','1187916pRmXPa'];_0xe8d4=function(){return _0x22548a;};return _0xe8d4();}export default function Lt(_0x1acd0a){const _0x242c04=_0x4a4066(_0x1acd0a,0x1e),_0x509872=new MutationObserver(_0x27f105=>{const _0x30428b=_0x4a40;for(const _0xba2d74 of _0x27f105)(_0x30428b(0x1d6)==_0xba2d74[_0x30428b(0x1d2)]&&_0x30428b(0x1df)==_0xba2d74[_0x30428b(0x1d3)]||_0x30428b(0x1d9)==_0xba2d74[_0x30428b(0x1d2)]||_0x30428b(0x1dd)==_0xba2d74[_0x30428b(0x1d2)])&&_0x242c04();});return{'attach'(_0x471f85){const _0xba221d=_0x4a40;_0x509872[_0xba221d(0x1d8)](_0x471f85,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x3d34ff=_0x4a40;_0x509872[_0x3d34ff(0x1d7)](),_0x242c04[_0x3d34ff(0x1d5)]();}};}
|