@ckeditor/ckeditor5-comments 45.1.0-alpha.0 → 45.1.0-alpha.2
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 _0x5e6cc1=_0x4cb8;(function(_0xfa82ad,_0x360e5b){const _0x2085fb=_0x4cb8,_0x576278=_0xfa82ad();while(!![]){try{const _0x708fa0=-parseInt(_0x2085fb(0xcc))/0x1*(parseInt(_0x2085fb(0xce))/0x2)+parseInt(_0x2085fb(0x99))/0x3+parseInt(_0x2085fb(0x88))/0x4*(-parseInt(_0x2085fb(0xc8))/0x5)+parseInt(_0x2085fb(0xe0))/0x6+parseInt(_0x2085fb(0xc4))/0x7+parseInt(_0x2085fb(0xb7))/0x8*(-parseInt(_0x2085fb(0xa9))/0x9)+parseInt(_0x2085fb(0xcd))/0xa;if(_0x708fa0===_0x360e5b)break;else _0x576278['push'](_0x576278['shift']());}catch(_0x3735f2){_0x576278['push'](_0x576278['shift']());}}}(_0x4e18,0x902e4));import{View as _0x4d50fb,FocusCycler as _0x320529}from'ckeditor5/src/ui.js';import{diff as _0x2f08ff,Collection as _0x2328b4,FocusTracker as _0xab345b,KeystrokeHandler as _0x5d72f7}from'ckeditor5/src/utils.js';import{getTranslation as _0x18846a}from'../../../utils/common-translations.js';import _0x45d2a0 from'./collapsedcommentsview.js';function _0x4cb8(_0x5354fb,_0x4b65ee){const _0x4e18a3=_0x4e18();return _0x4cb8=function(_0x4cb85b,_0x5dcfcc){_0x4cb85b=_0x4cb85b-0x81;let _0x46d686=_0x4e18a3[_0x4cb85b];return _0x46d686;},_0x4cb8(_0x5354fb,_0x4b65ee);}function _0x4e18(){const _0x3283e7=['from','_setupKeyboardNavigation','target','_calculatePosition','refreshVisibleViews','_rearrangeExpand','expand','listenTo','element','Thread\x20comments','Marked\x20as\x20resolved','_shouldCollapse','_config','map','maxThreadTotalWeight','isActive','9882FxFqMP','createCollection','keystrokes','editorConfig','resolveCommentThread','arrowup','maxCommentsWhenCollapsed','setTemplate','editorDestroyed','4CiHtAC','authoredAt','bindTemplate','_handleInfoComment','change:hasDirtyComment','added','length','isEditMode','maxCommentCharsWhenCollapsed','_rearrangeCollapse','resolvedAt','count','change:isActive','arrowdown','formatDateTime','delete','_handleNewCommentModel','627990iFNxfw','resolvedBy','removed','resolved','collapse','visibleViews','focusTracker','commentViews','reverse','comments','add','ck-hidden','CommentView','_updateHasDirtyComment','_collapsedCommentsView','focusCycler','6516891cCrUqb','viewUid','_findOptimalIndex','change:isResolved','some','stopListening','locale','_model','resolvedCommentView','removeComment','updateComment','hasDirtyComment','weight','includes','8hEYSHO','get','bind','commentUpdated','render','focus','equal','focusLast','set','insert','destroy','remove','ck-thread__comments','997577ItxuMK','change','change:isEditMode','delegate','912905uPyDKf','_handleRemoveCommentModel','forEach','focusFirst','724YaETDS','17678440GvIpOt','1724OlCVyx','editorReady'];_0x4e18=function(){return _0x3283e7;};return _0x4e18();}export default class te extends _0x4d50fb{[_0x5e6cc1(0xa0)];[_0x5e6cc1(0xb1)];[_0x5e6cc1(0x9f)];[_0x5e6cc1(0x81)];[_0x5e6cc1(0xa8)];[_0x5e6cc1(0xb0)];[_0x5e6cc1(0xdc)];[_0x5e6cc1(0xa7)];constructor(_0x1c4e8f,_0x3442be,_0x518cf4){const _0x1be648=_0x5e6cc1;super(_0x1c4e8f);const _0x3562f4=this[_0x1be648(0x8a)];this[_0x1be648(0xbf)](_0x1be648(0xb4),!0x1),this[_0x1be648(0xbf)](_0x1be648(0x8e),_0x3442be[_0x1be648(0xa2)][_0x1be648(0x8e)]),this[_0x1be648(0xbf)](_0x1be648(0xdf),!0x1),this[_0x1be648(0xb0)]=_0x3442be,this[_0x1be648(0xdc)]=_0x518cf4,this[_0x1be648(0xa0)]=this[_0x1be648(0xe1)](),this[_0x1be648(0x9e)]=this[_0x1be648(0xe1)](),this[_0x1be648(0xb1)]=null,this[_0x1be648(0x9f)]=new _0xab345b(),this[_0x1be648(0x81)]=new _0x5d72f7(),this[_0x1be648(0xa8)]=new _0x320529({'focusables':this[_0x1be648(0xa0)],'focusTracker':this[_0x1be648(0x9f)],'keystrokeHandler':this[_0x1be648(0x81)],'keystrokeHandlerOptions':{'filter':_0x140390=>this[_0x1be648(0xa0)][_0x1be648(0xdd)](_0x6bf9ba=>_0x6bf9ba[_0x1be648(0xd8)])[_0x1be648(0xb6)](_0x140390[_0x1be648(0xd2)])},'actions':{'focusPrevious':_0x1be648(0x84),'focusNext':_0x1be648(0x95)}}),this[_0x1be648(0xa7)]=new _0x45d2a0(_0x1c4e8f),this[_0x1be648(0xa7)][_0x1be648(0xb9)](_0x1be648(0x93))['to'](this,_0x1be648(0x8e),_0x500644=>_0x500644-this[_0x1be648(0xdc)][_0x1be648(0x85)]);for(const _0x2109b1 of _0x3442be[_0x1be648(0xa2)])this[_0x1be648(0x98)](_0x2109b1);this[_0x1be648(0x8b)](),this[_0x1be648(0xd7)](_0x3442be[_0x1be648(0xa2)],_0x1be648(0xa3),(_0x3f01cf,_0x400756)=>{const _0x548ef0=_0x1be648,_0x31edfb=this[_0x548ef0(0xd3)](_0x400756);this[_0x548ef0(0x8e)]++,this[_0x548ef0(0x98)](_0x400756,_0x31edfb),this[_0x548ef0(0xd4)]();}),this[_0x1be648(0xd7)](_0x3442be[_0x1be648(0xa2)],_0x1be648(0xc2),(_0x554817,_0x4a9e58)=>{const _0x263693=_0x1be648;this[_0x263693(0x8e)]--,this[_0x263693(0xc9)](_0x4a9e58),this[_0x263693(0xd4)]();}),this[_0x1be648(0xd7)](_0x3442be,_0x1be648(0xba),()=>this[_0x1be648(0xd4)]()),this[_0x1be648(0xd7)](_0x3442be,_0x1be648(0xac),()=>this[_0x1be648(0x8b)]()),this['on'](_0x1be648(0x94),()=>this[_0x1be648(0xd4)]()),this['on'](_0x1be648(0x8c),()=>this[_0x1be648(0xd4)]()),this[_0x1be648(0x86)]({'tag':'ul','attributes':{'class':[_0x1be648(0xc3),_0x3562f4['if'](_0x1be648(0x8e),_0x1be648(0xa4),_0xb8b2c6=>!_0xb8b2c6)],'aria-label':_0x18846a(_0x1c4e8f,_0x1be648(0xd9))},'children':this[_0x1be648(0x9e)]});}get[_0x5e6cc1(0xdb)](){const _0x1f96af=_0x5e6cc1;return this[_0x1f96af(0xb0)][_0x1f96af(0xb5)]>this[_0x1f96af(0xdc)][_0x1f96af(0xde)]&&!this[_0x1f96af(0xdf)]&&!this[_0x1f96af(0xb4)];}[_0x5e6cc1(0xbb)](){const _0x268245=_0x5e6cc1;super[_0x268245(0xbb)](),this[_0x268245(0xd4)](),this[_0x268245(0xd1)]();}[_0x5e6cc1(0xbc)](_0x26fca7){const _0x490183=_0x5e6cc1;-0x1===_0x26fca7?this[_0x490183(0xa8)][_0x490183(0xbe)]():this[_0x490183(0xa8)][_0x490183(0xcb)]();}[_0x5e6cc1(0xc1)](){const _0x4f2744=_0x5e6cc1;this[_0x4f2744(0xa7)][_0x4f2744(0xc1)]();for(const _0x269322 of this[_0x4f2744(0xa0)])_0x269322[_0x4f2744(0xc1)]();super[_0x4f2744(0xc1)]();}[_0x5e6cc1(0xd4)](){const _0x3d0682=_0x5e6cc1;this[_0x3d0682(0xdb)]?this[_0x3d0682(0x91)]():this[_0x3d0682(0xd5)]();}[_0x5e6cc1(0x98)](_0x826d62,_0x5de697){const _0x33dc8f=_0x5e6cc1,_0x841a3d=new this[(_0x33dc8f(0xdc))][(_0x33dc8f(0xa5))](this[_0x33dc8f(0xaf)],_0x826d62,{'maxCommentCharsWhenCollapsed':this[_0x33dc8f(0xdc)][_0x33dc8f(0x90)],'formatDateTime':this[_0x33dc8f(0xdc)][_0x33dc8f(0x96)],'editorConfig':this[_0x33dc8f(0xdc)][_0x33dc8f(0x82)]});_0x841a3d[_0x33dc8f(0xaa)]=_0x826d62['id'],_0x841a3d[_0x33dc8f(0xc7)](_0x33dc8f(0xb2))['to'](this),_0x841a3d[_0x33dc8f(0xc7)](_0x33dc8f(0xb3))['to'](this),_0x841a3d[_0x33dc8f(0xc7)](_0x33dc8f(0x83))['to'](this),_0x841a3d[_0x33dc8f(0xc7)](_0x33dc8f(0xcf))['to'](this),_0x841a3d[_0x33dc8f(0xc7)](_0x33dc8f(0x87))['to'](this),this[_0x33dc8f(0xd7)](_0x841a3d,_0x33dc8f(0xc6),()=>this[_0x33dc8f(0xa6)]()),this[_0x33dc8f(0xa0)][_0x33dc8f(0xa3)](_0x841a3d,_0x5de697);}[_0x5e6cc1(0xd3)](_0x36a6af){const _0x587487=_0x5e6cc1,_0x4627c8=this[_0x587487(0xb0)][_0x587487(0xab)](_0x36a6af);return this[_0x587487(0xb1)]?this[_0x587487(0xb1)][_0x587487(0x89)]>_0x36a6af[_0x587487(0x89)]?_0x4627c8-0x1:_0x4627c8:_0x4627c8-0x1;}[_0x5e6cc1(0x8b)](){const _0x44de24=_0x5e6cc1;if(this[_0x44de24(0xb0)][_0x44de24(0x9a)]&&this[_0x44de24(0xb0)][_0x44de24(0x92)]){const _0x3e4cd7={'id':_0x44de24(0x9c),'author':this[_0x44de24(0xb0)][_0x44de24(0x9a)],'authoredAt':this[_0x44de24(0xb0)][_0x44de24(0x92)],'content':_0x18846a(this[_0x44de24(0xaf)],_0x44de24(0xda)),'attributes':{}};this[_0x44de24(0xb1)]=new this[(_0x44de24(0xdc))][(_0x44de24(0xa5))](this[_0x44de24(0xaf)],_0x3e4cd7,{'maxCommentCharsWhenCollapsed':this[_0x44de24(0xdc)][_0x44de24(0x90)],'formatDateTime':this[_0x44de24(0xdc)][_0x44de24(0x96)],'editorConfig':this[_0x44de24(0xdc)][_0x44de24(0x82)],'isSystemComment':!0x0}),this[_0x44de24(0xa0)][_0x44de24(0xa3)](this[_0x44de24(0xb1)],this[_0x44de24(0xb0)][_0x44de24(0xab)](_0x3e4cd7));}else this[_0x44de24(0xb1)]&&(this[_0x44de24(0xa0)][_0x44de24(0xc2)](this[_0x44de24(0xb1)]),this[_0x44de24(0xb1)][_0x44de24(0xc1)](),this[_0x44de24(0xb1)]=null);this[_0x44de24(0xd4)]();}[_0x5e6cc1(0xc9)](_0x52c9a4){const _0x6f037f=_0x5e6cc1,_0x21cb1b=this[_0x6f037f(0xa0)][_0x6f037f(0xc2)](_0x52c9a4['id']);this[_0x6f037f(0xae)](_0x21cb1b),_0x21cb1b[_0x6f037f(0x8f)]&&this[_0x6f037f(0xa6)](),_0x21cb1b[_0x6f037f(0xc1)]();}[_0x5e6cc1(0xa6)](){const _0x525cb6=_0x5e6cc1;this[_0x525cb6(0xb4)]=Array[_0x525cb6(0xd0)](this[_0x525cb6(0xa0)])[_0x525cb6(0xad)](_0x1a3cb5=>_0x1a3cb5[_0x525cb6(0x8f)]);}[_0x5e6cc1(0x91)](){const _0x5c7e73=_0x5e6cc1,_0x32da37=function(_0x169133){const _0x5c8334=_0x4cb8,_0x1e44f5=new _0x2328b4();for(const _0x434492 of _0x169133)_0x1e44f5[_0x5c8334(0xa3)](_0x434492);return _0x1e44f5;}(this[_0x5c7e73(0xa0)]),_0xb4dd2c=this[_0x5c7e73(0xa7)][_0x5c7e73(0x93)];for(let _0x44c598=0x1;_0x44c598<=_0xb4dd2c;_0x44c598++)_0x32da37[_0x5c7e73(0xc2)](0x1);for(const _0x5b737a of _0x32da37)_0x5b737a[_0x5c7e73(0x9d)]();_0xb4dd2c>0x0&&_0x32da37[_0x5c7e73(0xa3)](this[_0x5c7e73(0xa7)],0x1),ns(_0x2f08ff(Array[_0x5c7e73(0xd0)](this[_0x5c7e73(0x9e)]),Array[_0x5c7e73(0xd0)](_0x32da37)),this[_0x5c7e73(0x9e)],_0x32da37);}[_0x5e6cc1(0xd5)](){const _0x35f62b=_0x5e6cc1;ns(_0x2f08ff(Array[_0x35f62b(0xd0)](this[_0x35f62b(0x9e)]),Array[_0x35f62b(0xd0)](this[_0x35f62b(0xa0)])),this[_0x35f62b(0x9e)],this[_0x35f62b(0xa0)]);for(const _0x28f904 of this[_0x35f62b(0x9e)])_0x28f904[_0x35f62b(0xd6)]();}[_0x5e6cc1(0xd1)](){const _0xa00fca=_0x5e6cc1;this[_0xa00fca(0xa0)][_0xa00fca(0xca)](_0x3a3ca0=>{const _0x34acc4=_0xa00fca;this[_0x34acc4(0x9f)][_0x34acc4(0xa3)](_0x3a3ca0[_0x34acc4(0xd8)]),this[_0x34acc4(0x81)][_0x34acc4(0xd7)](_0x3a3ca0[_0x34acc4(0xd8)]);}),this[_0xa00fca(0xa0)]['on'](_0xa00fca(0xc5),(_0x3f3acd,_0x50f9f0)=>{const _0x275a6e=_0xa00fca;for(const _0x5b975b of _0x50f9f0[_0x275a6e(0x9b)])this[_0x275a6e(0x9f)][_0x275a6e(0xc2)](_0x5b975b[_0x275a6e(0xd8)]),this[_0x275a6e(0x81)][_0x275a6e(0xae)](_0x5b975b[_0x275a6e(0xd8)]);for(const _0x16fe0e of Array[_0x275a6e(0xd0)](_0x50f9f0[_0x275a6e(0x8d)])[_0x275a6e(0xa1)]())this[_0x275a6e(0x9f)][_0x275a6e(0xa3)](_0x16fe0e[_0x275a6e(0xd8)]),this[_0x275a6e(0x81)][_0x275a6e(0xd7)](_0x16fe0e[_0x275a6e(0xd8)]);});}}function ns(_0x3a8e9c,_0x25912b,_0x170f94){const _0x594499=_0x5e6cc1;let _0x33d3ee=0x0;for(const _0x2ad542 of _0x3a8e9c)switch(_0x2ad542){case _0x594499(0xc0):_0x25912b[_0x594499(0xa3)](_0x170f94[_0x594499(0xb8)](_0x33d3ee),_0x33d3ee),_0x33d3ee++;break;case _0x594499(0x97):_0x25912b[_0x594499(0xc2)](_0x33d3ee);break;case _0x594499(0xbd):_0x33d3ee++;}}
|
|
23
|
+
const _0x4e3d89=_0x4f46;function _0x4f46(_0x8e80ff,_0x121dbd){const _0x56394a=_0x5639();return _0x4f46=function(_0x4f46e2,_0x38b9df){_0x4f46e2=_0x4f46e2-0x13d;let _0x48edae=_0x56394a[_0x4f46e2];return _0x48edae;},_0x4f46(_0x8e80ff,_0x121dbd);}(function(_0x5c6d52,_0x1cd067){const _0x57fb1e=_0x4f46,_0x5ce639=_0x5c6d52();while(!![]){try{const _0x491781=parseInt(_0x57fb1e(0x199))/0x1+-parseInt(_0x57fb1e(0x16a))/0x2*(parseInt(_0x57fb1e(0x154))/0x3)+parseInt(_0x57fb1e(0x14c))/0x4*(parseInt(_0x57fb1e(0x17a))/0x5)+-parseInt(_0x57fb1e(0x184))/0x6+-parseInt(_0x57fb1e(0x17d))/0x7*(-parseInt(_0x57fb1e(0x188))/0x8)+-parseInt(_0x57fb1e(0x174))/0x9*(parseInt(_0x57fb1e(0x16f))/0xa)+-parseInt(_0x57fb1e(0x19a))/0xb;if(_0x491781===_0x1cd067)break;else _0x5ce639['push'](_0x5ce639['shift']());}catch(_0x3ee916){_0x5ce639['push'](_0x5ce639['shift']());}}}(_0x5639,0xe0eba));import{View as _0x57f0e6,FocusCycler as _0x2e1e11}from'ckeditor5/src/ui.js';import{diff as _0x40e6f1,Collection as _0x38d81c,FocusTracker as _0x46b6fb,KeystrokeHandler as _0x376b5d}from'ckeditor5/src/utils.js';function _0x5639(){const _0x48aa72=['_rearrangeExpand','change','resolveCommentThread','map','maxCommentCharsWhenCollapsed','focusLast','ck-thread__comments','_shouldCollapse','listenTo','change:isEditMode','_collapsedCommentsView','CommentView','keystrokes','_rearrangeCollapse','count','1816445nmfzRW','6617622Aelpbv','locale','viewUid','createCollection','_model','editorReady','commentViews','some','change:isActive','focusCycler','setTemplate','editorConfig','_findOptimalIndex','visibleViews','hasDirtyComment','_handleRemoveCommentModel','resolvedAt','focusTracker','remove','formatDateTime','939852Dhxucy','removed','bindTemplate','_calculatePosition','change:isResolved','length','arrowup','bind','3273465OwDNqo','refreshVisibleViews','maxCommentsWhenCollapsed','isActive','expand','_handleNewCommentModel','reverse','forEach','resolvedCommentView','Thread\x20comments','set','focusFirst','get','stopListening','_handleInfoComment','commentUpdated','weight','delegate','added','equal','Marked\x20as\x20resolved','comments','2eTnjAf','resolved','removeComment','includes','collapse','10iJjvtE','insert','isEditMode','updateComment','_setupKeyboardNavigation','4224078zjyRJR','delete','add','focus','change:hasDirtyComment','_updateHasDirtyComment','15HLDUCa','editorDestroyed','from','4462528euIweY','authoredAt','ck-hidden','_config','resolvedBy','destroy','render','452790TCdQZI','target','maxThreadTotalWeight','arrowdown','8ZHfSrS','element'];_0x5639=function(){return _0x48aa72;};return _0x5639();}import{getTranslation as _0x2e1d76}from'../../../utils/common-translations.js';import _0x167646 from'./collapsedcommentsview.js';export default class te extends _0x57f0e6{[_0x4e3d89(0x13e)];[_0x4e3d89(0x15c)];[_0x4e3d89(0x149)];[_0x4e3d89(0x196)];[_0x4e3d89(0x141)];[_0x4e3d89(0x19e)];[_0x4e3d89(0x180)];[_0x4e3d89(0x194)];constructor(_0x54b8f7,_0x1ac833,_0x1d1fbd){const _0x1ef15f=_0x4e3d89;super(_0x54b8f7);const _0x1a775a=this[_0x1ef15f(0x14e)];this[_0x1ef15f(0x15e)](_0x1ef15f(0x146),!0x1),this[_0x1ef15f(0x15e)](_0x1ef15f(0x151),_0x1ac833[_0x1ef15f(0x169)][_0x1ef15f(0x151)]),this[_0x1ef15f(0x15e)](_0x1ef15f(0x157),!0x1),this[_0x1ef15f(0x19e)]=_0x1ac833,this[_0x1ef15f(0x180)]=_0x1d1fbd,this[_0x1ef15f(0x13e)]=this[_0x1ef15f(0x19d)](),this[_0x1ef15f(0x145)]=this[_0x1ef15f(0x19d)](),this[_0x1ef15f(0x15c)]=null,this[_0x1ef15f(0x149)]=new _0x46b6fb(),this[_0x1ef15f(0x196)]=new _0x376b5d(),this[_0x1ef15f(0x141)]=new _0x2e1e11({'focusables':this[_0x1ef15f(0x13e)],'focusTracker':this[_0x1ef15f(0x149)],'keystrokeHandler':this[_0x1ef15f(0x196)],'keystrokeHandlerOptions':{'filter':_0x582c44=>this[_0x1ef15f(0x13e)][_0x1ef15f(0x18d)](_0x13e590=>_0x13e590[_0x1ef15f(0x189)])[_0x1ef15f(0x16d)](_0x582c44[_0x1ef15f(0x185)])},'actions':{'focusPrevious':_0x1ef15f(0x152),'focusNext':_0x1ef15f(0x187)}}),this[_0x1ef15f(0x194)]=new _0x167646(_0x54b8f7),this[_0x1ef15f(0x194)][_0x1ef15f(0x153)](_0x1ef15f(0x198))['to'](this,_0x1ef15f(0x151),_0x225baf=>_0x225baf-this[_0x1ef15f(0x180)][_0x1ef15f(0x156)]);for(const _0x50e125 of _0x1ac833[_0x1ef15f(0x169)])this[_0x1ef15f(0x159)](_0x50e125);this[_0x1ef15f(0x162)](),this[_0x1ef15f(0x192)](_0x1ac833[_0x1ef15f(0x169)],_0x1ef15f(0x176),(_0x1bd390,_0x641ffb)=>{const _0x1e51e8=_0x1ef15f,_0x448d61=this[_0x1e51e8(0x14f)](_0x641ffb);this[_0x1e51e8(0x151)]++,this[_0x1e51e8(0x159)](_0x641ffb,_0x448d61),this[_0x1e51e8(0x155)]();}),this[_0x1ef15f(0x192)](_0x1ac833[_0x1ef15f(0x169)],_0x1ef15f(0x14a),(_0x1cc1cd,_0x56b28c)=>{const _0x46be98=_0x1ef15f;this[_0x46be98(0x151)]--,this[_0x46be98(0x147)](_0x56b28c),this[_0x46be98(0x155)]();}),this[_0x1ef15f(0x192)](_0x1ac833,_0x1ef15f(0x163),()=>this[_0x1ef15f(0x155)]()),this[_0x1ef15f(0x192)](_0x1ac833,_0x1ef15f(0x150),()=>this[_0x1ef15f(0x162)]()),this['on'](_0x1ef15f(0x140),()=>this[_0x1ef15f(0x155)]()),this['on'](_0x1ef15f(0x178),()=>this[_0x1ef15f(0x155)]()),this[_0x1ef15f(0x142)]({'tag':'ul','attributes':{'class':[_0x1ef15f(0x190),_0x1a775a['if'](_0x1ef15f(0x151),_0x1ef15f(0x17f),_0x139aa4=>!_0x139aa4)],'aria-label':_0x2e1d76(_0x54b8f7,_0x1ef15f(0x15d))},'children':this[_0x1ef15f(0x145)]});}get[_0x4e3d89(0x191)](){const _0x459cfb=_0x4e3d89;return this[_0x459cfb(0x19e)][_0x459cfb(0x164)]>this[_0x459cfb(0x180)][_0x459cfb(0x186)]&&!this[_0x459cfb(0x157)]&&!this[_0x459cfb(0x146)];}[_0x4e3d89(0x183)](){const _0x25454d=_0x4e3d89;super[_0x25454d(0x183)](),this[_0x25454d(0x155)](),this[_0x25454d(0x173)]();}[_0x4e3d89(0x177)](_0x96791a){const _0x58282d=_0x4e3d89;-0x1===_0x96791a?this[_0x58282d(0x141)][_0x58282d(0x18f)]():this[_0x58282d(0x141)][_0x58282d(0x15f)]();}[_0x4e3d89(0x182)](){const _0x24c76f=_0x4e3d89;this[_0x24c76f(0x194)][_0x24c76f(0x182)]();for(const _0x45382b of this[_0x24c76f(0x13e)])_0x45382b[_0x24c76f(0x182)]();super[_0x24c76f(0x182)]();}[_0x4e3d89(0x155)](){const _0x4730b9=_0x4e3d89;this[_0x4730b9(0x191)]?this[_0x4730b9(0x197)]():this[_0x4730b9(0x18a)]();}[_0x4e3d89(0x159)](_0x339917,_0x2ac753){const _0x51d0da=_0x4e3d89,_0x5a2f68=new this[(_0x51d0da(0x180))][(_0x51d0da(0x195))](this[_0x51d0da(0x19b)],_0x339917,{'maxCommentCharsWhenCollapsed':this[_0x51d0da(0x180)][_0x51d0da(0x18e)],'formatDateTime':this[_0x51d0da(0x180)][_0x51d0da(0x14b)],'editorConfig':this[_0x51d0da(0x180)][_0x51d0da(0x143)]});_0x5a2f68[_0x51d0da(0x19c)]=_0x339917['id'],_0x5a2f68[_0x51d0da(0x165)](_0x51d0da(0x16c))['to'](this),_0x5a2f68[_0x51d0da(0x165)](_0x51d0da(0x172))['to'](this),_0x5a2f68[_0x51d0da(0x165)](_0x51d0da(0x18c))['to'](this),_0x5a2f68[_0x51d0da(0x165)](_0x51d0da(0x13d))['to'](this),_0x5a2f68[_0x51d0da(0x165)](_0x51d0da(0x17b))['to'](this),this[_0x51d0da(0x192)](_0x5a2f68,_0x51d0da(0x193),()=>this[_0x51d0da(0x179)]()),this[_0x51d0da(0x13e)][_0x51d0da(0x176)](_0x5a2f68,_0x2ac753);}[_0x4e3d89(0x14f)](_0x30d6a0){const _0xaffc7f=_0x4e3d89,_0x29ae27=this[_0xaffc7f(0x19e)][_0xaffc7f(0x144)](_0x30d6a0);return this[_0xaffc7f(0x15c)]?this[_0xaffc7f(0x15c)][_0xaffc7f(0x17e)]>_0x30d6a0[_0xaffc7f(0x17e)]?_0x29ae27-0x1:_0x29ae27:_0x29ae27-0x1;}[_0x4e3d89(0x162)](){const _0x5ea2bc=_0x4e3d89;if(this[_0x5ea2bc(0x19e)][_0x5ea2bc(0x181)]&&this[_0x5ea2bc(0x19e)][_0x5ea2bc(0x148)]){const _0x5ab521={'id':_0x5ea2bc(0x16b),'author':this[_0x5ea2bc(0x19e)][_0x5ea2bc(0x181)],'authoredAt':this[_0x5ea2bc(0x19e)][_0x5ea2bc(0x148)],'content':_0x2e1d76(this[_0x5ea2bc(0x19b)],_0x5ea2bc(0x168)),'attributes':{}};this[_0x5ea2bc(0x15c)]=new this[(_0x5ea2bc(0x180))][(_0x5ea2bc(0x195))](this[_0x5ea2bc(0x19b)],_0x5ab521,{'maxCommentCharsWhenCollapsed':this[_0x5ea2bc(0x180)][_0x5ea2bc(0x18e)],'formatDateTime':this[_0x5ea2bc(0x180)][_0x5ea2bc(0x14b)],'editorConfig':this[_0x5ea2bc(0x180)][_0x5ea2bc(0x143)],'isSystemComment':!0x0}),this[_0x5ea2bc(0x13e)][_0x5ea2bc(0x176)](this[_0x5ea2bc(0x15c)],this[_0x5ea2bc(0x19e)][_0x5ea2bc(0x144)](_0x5ab521));}else this[_0x5ea2bc(0x15c)]&&(this[_0x5ea2bc(0x13e)][_0x5ea2bc(0x14a)](this[_0x5ea2bc(0x15c)]),this[_0x5ea2bc(0x15c)][_0x5ea2bc(0x182)](),this[_0x5ea2bc(0x15c)]=null);this[_0x5ea2bc(0x155)]();}[_0x4e3d89(0x147)](_0x259f38){const _0x1fce3c=_0x4e3d89,_0x351eca=this[_0x1fce3c(0x13e)][_0x1fce3c(0x14a)](_0x259f38['id']);this[_0x1fce3c(0x161)](_0x351eca),_0x351eca[_0x1fce3c(0x171)]&&this[_0x1fce3c(0x179)](),_0x351eca[_0x1fce3c(0x182)]();}[_0x4e3d89(0x179)](){const _0x213341=_0x4e3d89;this[_0x213341(0x146)]=Array[_0x213341(0x17c)](this[_0x213341(0x13e)])[_0x213341(0x13f)](_0x575b05=>_0x575b05[_0x213341(0x171)]);}[_0x4e3d89(0x197)](){const _0x5c38cd=_0x4e3d89,_0x32a90e=function(_0x47af44){const _0x9fd55c=_0x4f46,_0xc12b3b=new _0x38d81c();for(const _0x10fb90 of _0x47af44)_0xc12b3b[_0x9fd55c(0x176)](_0x10fb90);return _0xc12b3b;}(this[_0x5c38cd(0x13e)]),_0x1f20af=this[_0x5c38cd(0x194)][_0x5c38cd(0x198)];for(let _0x2e9194=0x1;_0x2e9194<=_0x1f20af;_0x2e9194++)_0x32a90e[_0x5c38cd(0x14a)](0x1);for(const _0x5a7de8 of _0x32a90e)_0x5a7de8[_0x5c38cd(0x16e)]();_0x1f20af>0x0&&_0x32a90e[_0x5c38cd(0x176)](this[_0x5c38cd(0x194)],0x1),ns(_0x40e6f1(Array[_0x5c38cd(0x17c)](this[_0x5c38cd(0x145)]),Array[_0x5c38cd(0x17c)](_0x32a90e)),this[_0x5c38cd(0x145)],_0x32a90e);}[_0x4e3d89(0x18a)](){const _0x5a4fbb=_0x4e3d89;ns(_0x40e6f1(Array[_0x5a4fbb(0x17c)](this[_0x5a4fbb(0x145)]),Array[_0x5a4fbb(0x17c)](this[_0x5a4fbb(0x13e)])),this[_0x5a4fbb(0x145)],this[_0x5a4fbb(0x13e)]);for(const _0x409f72 of this[_0x5a4fbb(0x145)])_0x409f72[_0x5a4fbb(0x158)]();}[_0x4e3d89(0x173)](){const _0x4d55a9=_0x4e3d89;this[_0x4d55a9(0x13e)][_0x4d55a9(0x15b)](_0x488d9f=>{const _0x3d3c0a=_0x4d55a9;this[_0x3d3c0a(0x149)][_0x3d3c0a(0x176)](_0x488d9f[_0x3d3c0a(0x189)]),this[_0x3d3c0a(0x196)][_0x3d3c0a(0x192)](_0x488d9f[_0x3d3c0a(0x189)]);}),this[_0x4d55a9(0x13e)]['on'](_0x4d55a9(0x18b),(_0x2de9de,_0x303202)=>{const _0x37c0ef=_0x4d55a9;for(const _0x123824 of _0x303202[_0x37c0ef(0x14d)])this[_0x37c0ef(0x149)][_0x37c0ef(0x14a)](_0x123824[_0x37c0ef(0x189)]),this[_0x37c0ef(0x196)][_0x37c0ef(0x161)](_0x123824[_0x37c0ef(0x189)]);for(const _0x1774b1 of Array[_0x37c0ef(0x17c)](_0x303202[_0x37c0ef(0x166)])[_0x37c0ef(0x15a)]())this[_0x37c0ef(0x149)][_0x37c0ef(0x176)](_0x1774b1[_0x37c0ef(0x189)]),this[_0x37c0ef(0x196)][_0x37c0ef(0x192)](_0x1774b1[_0x37c0ef(0x189)]);});}}function ns(_0x3655f5,_0x27fad9,_0xda360a){const _0x1502a5=_0x4e3d89;let _0x2c230c=0x0;for(const _0x1b3d45 of _0x3655f5)switch(_0x1b3d45){case _0x1502a5(0x170):_0x27fad9[_0x1502a5(0x176)](_0xda360a[_0x1502a5(0x160)](_0x2c230c),_0x2c230c),_0x2c230c++;break;case _0x1502a5(0x175):_0x27fad9[_0x1502a5(0x14a)](_0x2c230c);break;case _0x1502a5(0x167):_0x2c230c++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x21cf(_0x3de1fd,_0x56acd7){const _0x21bd5a=_0x21bd();return _0x21cf=function(_0x21cfb2,_0x109399){_0x21cfb2=_0x21cfb2-0x187;let _0x2468e7=_0x21bd5a[_0x21cfb2];return _0x2468e7;},_0x21cf(_0x3de1fd,_0x56acd7);}const _0x42b2ec=_0x21cf;(function(_0x4dd18e,_0x47cdb0){const _0x418122=_0x21cf,_0xe35bbc=_0x4dd18e();while(!![]){try{const _0x1189a7=-parseInt(_0x418122(0x18f))/0x1*(-parseInt(_0x418122(0x18a))/0x2)+parseInt(_0x418122(0x196))/0x3*(parseInt(_0x418122(0x18e))/0x4)+parseInt(_0x418122(0x194))/0x5+parseInt(_0x418122(0x18b))/0x6+parseInt(_0x418122(0x18d))/0x7+parseInt(_0x418122(0x191))/0x8+-parseInt(_0x418122(0x188))/0x9;if(_0x1189a7===_0x47cdb0)break;else _0xe35bbc['push'](_0xe35bbc['shift']());}catch(_0x1e2092){_0xe35bbc['push'](_0xe35bbc['shift']());}}}(_0x21bd,0x82c14));import{View as _0x53513f}from'ckeditor5/src/ui.js';function _0x21bd(){const _0x38b913=['setTemplate','20918727ISUXvg','span','4eNHpYX','3219060jKbILg','set','1747725CFLNmm','240076CJxvIu','503317laOaQd','focus','260248CPWZJp','contextValue','bindTemplate','4272340coPlcf','element','9KokXJU','ck-context__value','THREAD_CONTEXT_LABEL'];_0x21bd=function(){return _0x38b913;};return _0x21bd();}import{getTranslation as _0x400c59}from'../../../utils/common-translations.js';export default class as extends _0x53513f{constructor(_0x5aba0b){const _0x61f7ee=_0x21cf;super(_0x5aba0b);const _0x388ab3=this[_0x61f7ee(0x193)];this[_0x61f7ee(0x18c)](_0x61f7ee(0x192),''),this[_0x61f7ee(0x187)]({'tag':_0x61f7ee(0x189),'attributes':{'class':['ck',_0x61f7ee(0x197)],'aria-label':_0x388ab3['to'](_0x61f7ee(0x192),_0x54b2e6=>_0x400c59(_0x5aba0b,_0x61f7ee(0x198),_0x54b2e6)),'tabindex':-0x1},'children':[{'text':_0x388ab3['to'](_0x61f7ee(0x192))}]});}[_0x42b2ec(0x190)](){const _0x334bb0=_0x42b2ec;this[_0x334bb0(0x195)][_0x334bb0(0x190)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5980(_0x549bdb,_0x3c1733){const _0x2d84fd=_0x2d84();return _0x5980=function(_0x5980da,_0x23dfed){_0x5980da=_0x5980da-0x106;let _0x4ed623=_0x2d84fd[_0x5980da];return _0x4ed623;},_0x5980(_0x549bdb,_0x3c1733);}function _0x2d84(){const _0x547a97=['div','mouseleave','substring','contextValue','element','ck-context--quotes','isVisible','context','hasContext','lastIndexOf','querySelector','21430maqHSO','bind','Reopen','remove','_createContextView','focusFirst','251166cpoMsI','render','reopenButtonView','2783uLoPPR','ck-thread__header','1250124WxqmhU','_model','shift+tab','classList','isResolvable','ck-context-wrapper','bindTemplate','keystrokes','_setupKeyboardNavigation','tooltip','setTemplate','4YXffAR','scrollWidth','icon','isReadOnly','ck-annotation__actions','ck-context','35uUmitR','focusCycler','contextView','12124575ffJwGr','_trimContextValue','offsetWidth','createCollection','...','locale','isEnabled','focus','focusables','tab','length','listenTo','Comment\x20was\x20made\x20on\x20an\x20element','mouseenter','_attachContextActions','3310800bLVHLR','value','.ck-context__value','.ck-context','label','fire','_createReopenButton','reopenCommentThread','add','focusTracker','isResolved','18973HfbHRP','142QbwHYW','execute','966215ajHcyf','overlay'];_0x2d84=function(){return _0x547a97;};return _0x2d84();}const _0x518040=_0x5980;(function(_0x1d2966,_0x154b28){const _0x4f2fa7=_0x5980,_0x346c2f=_0x1d2966();while(!![]){try{const _0x8a383c=parseInt(_0x4f2fa7(0x143))/0x1*(parseInt(_0x4f2fa7(0x144))/0x2)+parseInt(_0x4f2fa7(0x115))/0x3+-parseInt(_0x4f2fa7(0x120))/0x4*(-parseInt(_0x4f2fa7(0x146))/0x5)+-parseInt(_0x4f2fa7(0x110))/0x6*(-parseInt(_0x4f2fa7(0x126))/0x7)+parseInt(_0x4f2fa7(0x138))/0x8+-parseInt(_0x4f2fa7(0x129))/0x9+parseInt(_0x4f2fa7(0x10a))/0xa*(-parseInt(_0x4f2fa7(0x113))/0xb);if(_0x8a383c===_0x154b28)break;else _0x346c2f['push'](_0x346c2f['shift']());}catch(_0x1d07ee){_0x346c2f['push'](_0x346c2f['shift']());}}}(_0x2d84,0xa8a93));import{View as _0x3dcc3e,ButtonView as _0x5b6b61,FocusCycler as _0x42bc10}from'ckeditor5/src/ui.js';import{FocusTracker as _0x15be73,KeystrokeHandler as _0x773249}from'ckeditor5/src/utils.js';import{IconUndo as _0x3e8e9e}from'ckeditor5/src/icons.js';import{getTranslation as _0x15f054}from'../../../utils/common-translations.js';import _0x67214a from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export default class Xt extends _0x3dcc3e{[_0x518040(0x116)];[_0x518040(0x112)];[_0x518040(0x128)];[_0x518040(0x131)];[_0x518040(0x141)];[_0x518040(0x11c)];[_0x518040(0x127)];constructor(_0x133ea9,_0x16c380){const _0xe13a35=_0x518040;super(_0x133ea9);const _0x2ffb58=this[_0xe13a35(0x11b)];this[_0xe13a35(0x116)]=_0x16c380,this[_0xe13a35(0x112)]=this[_0xe13a35(0x13e)](),this[_0xe13a35(0x128)]=this[_0xe13a35(0x10e)](),this[_0xe13a35(0x131)]=this[_0xe13a35(0x12c)]([this[_0xe13a35(0x128)],this[_0xe13a35(0x112)]]),this[_0xe13a35(0x141)]=new _0x15be73(),this[_0xe13a35(0x11c)]=new _0x773249(),this[_0xe13a35(0x127)]=new _0x42bc10({'focusables':this[_0xe13a35(0x131)],'focusTracker':this[_0xe13a35(0x141)],'keystrokeHandler':this[_0xe13a35(0x11c)],'actions':{'focusPrevious':_0xe13a35(0x117),'focusNext':_0xe13a35(0x132)}}),this[_0xe13a35(0x10b)](_0xe13a35(0x107))['to'](this[_0xe13a35(0x116)],_0xe13a35(0x106),_0x278c2c=>!!_0x278c2c),this[_0xe13a35(0x10b)](_0xe13a35(0x14b))['to'](this[_0xe13a35(0x116)],_0xe13a35(0x106),_0x2a79b5=>_0x2a79b5&&_0x2a79b5[_0xe13a35(0x139)]?this[_0xe13a35(0x12a)](_0x2a79b5[_0xe13a35(0x139)]):_0x15f054(this[_0xe13a35(0x12e)],_0xe13a35(0x135))),this[_0xe13a35(0x11f)]({'tag':_0xe13a35(0x148),'attributes':{'class':[_0xe13a35(0x114)]},'children':[{'tag':_0xe13a35(0x148),'attributes':{'class':[_0xe13a35(0x11a)]},'children':[{'tag':_0xe13a35(0x148),'attributes':{'class':[_0xe13a35(0x125),_0x2ffb58['if'](_0xe13a35(0x107),_0xe13a35(0x14d))]},'children':[this[_0xe13a35(0x128)]]}]},{'tag':_0xe13a35(0x148),'attributes':{'class':[_0xe13a35(0x124)]},'children':[this[_0xe13a35(0x112)]]}]});}[_0x518040(0x111)](){const _0x5dce79=_0x518040;super[_0x5dce79(0x111)](),this[_0x5dce79(0x137)](),this[_0x5dce79(0x11d)]();}[_0x518040(0x130)](){const _0x2a01b4=_0x518040;this[_0x2a01b4(0x127)][_0x2a01b4(0x10f)]();}[_0x518040(0x13e)](){const _0x238af9=_0x518040,_0x212bcd=new _0x5b6b61(this[_0x238af9(0x12e)]);return _0x212bcd[_0x238af9(0x13c)]=_0x15f054(this[_0x238af9(0x12e)],_0x238af9(0x10c)),_0x212bcd[_0x238af9(0x11e)]=_0x15f054(this[_0x238af9(0x12e)],_0x238af9(0x10c)),_0x212bcd[_0x238af9(0x122)]=_0x3e8e9e,_0x212bcd[_0x238af9(0x10b)](_0x238af9(0x12f))['to'](this[_0x238af9(0x116)],_0x238af9(0x123),_0x3740f0=>!_0x3740f0),_0x212bcd[_0x238af9(0x10b)](_0x238af9(0x14e))['to'](this[_0x238af9(0x116)],_0x238af9(0x119),this[_0x238af9(0x116)],_0x238af9(0x142),(_0x22fb14,_0xb9c2ac)=>_0x22fb14&&_0xb9c2ac),_0x212bcd['on'](_0x238af9(0x145),()=>{const _0x4c5605=_0x238af9;this[_0x4c5605(0x13d)](_0x4c5605(0x13f),this[_0x4c5605(0x116)]['id']);}),_0x212bcd;}[_0x518040(0x12a)](_0x9a8c7d){const _0x216bab=_0x518040;if(_0x9a8c7d[_0x216bab(0x133)]<0x96)return _0x9a8c7d;const _0x5729e3=_0x9a8c7d[_0x216bab(0x108)]('\x20',0x93);return _0x9a8c7d[_0x216bab(0x14a)](0x0,_0x5729e3>-0x1?_0x5729e3:0x93)+_0x216bab(0x12d);}[_0x518040(0x137)](){const _0x125880=_0x518040,_0x436a9c=this[_0x125880(0x14c)][_0x125880(0x109)](_0x125880(0x13b)),_0x27087d=_0x436a9c[_0x125880(0x109)](_0x125880(0x13a));this[_0x125880(0x134)](_0x436a9c,_0x125880(0x136),()=>{const _0x40937c=_0x125880;_0x27087d[_0x40937c(0x12b)]<_0x27087d[_0x40937c(0x121)]&&_0x436a9c[_0x40937c(0x118)][_0x40937c(0x140)](_0x40937c(0x147));}),this[_0x125880(0x134)](_0x436a9c,_0x125880(0x149),()=>{const _0x209f8b=_0x125880;_0x436a9c[_0x209f8b(0x118)][_0x209f8b(0x10d)](_0x209f8b(0x147));});}[_0x518040(0x11d)](){const _0x54fc6b=_0x518040;this[_0x54fc6b(0x11c)][_0x54fc6b(0x134)](this[_0x54fc6b(0x14c)]);for(const _0x13e1ea of this[_0x54fc6b(0x131)])this[_0x54fc6b(0x141)][_0x54fc6b(0x140)](_0x13e1ea[_0x54fc6b(0x14c)]),this[_0x54fc6b(0x11c)][_0x54fc6b(0x134)](_0x13e1ea[_0x54fc6b(0x14c)]);}[_0x518040(0x10e)](){const _0x4fe73d=_0x518040,_0x3f0a73=new _0x67214a(this[_0x4fe73d(0x12e)]);return _0x3f0a73[_0x4fe73d(0x10b)](_0x4fe73d(0x14b))['to'](this),_0x3f0a73;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2b3a(){const _0x34be2a=['userView','focus','createEditor','change:showInput','55422ecwqNB','preventDefault','44174471ksaugZ','destroy','295sKuVJP','extendTemplate','ck-comment__input-container','3530661hLkouO','div','ck-comment__input-container--active','6159hPLPTA','value','view','commentInputView','listenTo','focusCycler','_focusOnNonInteractiveMouseDown','40kwQIGJ','filter','target','7lhbiqS','editor','editorReady','3787572qOvaEY','bind','editing','render','getDomRoot','contains','1718361ROllQw','showButtons','then','element','8328344avjjYN','setTemplate','editorDestroyed','ck-thread__user','some','bindTemplate','isFocused','mousedown','showInput','ck-thread__input','94PaDoCG','set','delegate','focusTracker'];_0x2b3a=function(){return _0x34be2a;};return _0x2b3a();}const _0x22ae00=_0x32bf;(function(_0x5d6076,_0x3a0aac){const _0x14180b=_0x32bf,_0x584748=_0x5d6076();while(!![]){try{const _0x267154=-parseInt(_0x14180b(0x14b))/0x1*(parseInt(_0x14180b(0x139))/0x2)+-parseInt(_0x14180b(0x148))/0x3+-parseInt(_0x14180b(0x125))/0x4+-parseInt(_0x14180b(0x145))/0x5*(parseInt(_0x14180b(0x141))/0x6)+-parseInt(_0x14180b(0x122))/0x7*(parseInt(_0x14180b(0x12f))/0x8)+-parseInt(_0x14180b(0x12b))/0x9*(-parseInt(_0x14180b(0x11f))/0xa)+parseInt(_0x14180b(0x143))/0xb;if(_0x267154===_0x3a0aac)break;else _0x584748['push'](_0x584748['shift']());}catch(_0x3bbbf8){_0x584748['push'](_0x584748['shift']());}}}(_0x2b3a,0xbe80a));import{View as _0x57085c}from'ckeditor5/src/ui.js';import _0x34047e from'./commentinputview.js';import{UserView as _0x1f0b0f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x32bf(_0x2143e9,_0x384ce7){const _0x2b3a55=_0x2b3a();return _0x32bf=function(_0x32bf16,_0x3fd406){_0x32bf16=_0x32bf16-0x11c;let _0x5516c2=_0x2b3a55[_0x32bf16];return _0x5516c2;},_0x32bf(_0x2143e9,_0x384ce7);}export default class ie extends _0x57085c{constructor(_0x3d50eb,_0x15b8d0,_0x2580a5){const _0x352ba5=_0x32bf;super(_0x3d50eb),this[_0x352ba5(0x14e)]=new _0x34047e(_0x3d50eb,_0x2580a5),this[_0x352ba5(0x11d)]=this[_0x352ba5(0x14e)][_0x352ba5(0x11d)],this[_0x352ba5(0x14e)][_0x352ba5(0x126)](_0x352ba5(0x12c))['to'](this[_0x352ba5(0x14e)][_0x352ba5(0x13c)],_0x352ba5(0x135),this[_0x352ba5(0x14e)],_0x352ba5(0x14c),(_0x99af90,_0xf5f808)=>_0x99af90||!!_0xf5f808),this[_0x352ba5(0x13a)](_0x352ba5(0x137),!0x1),this['on'](_0x352ba5(0x140),()=>{const _0x311b61=_0x352ba5;this[_0x311b61(0x137)]&&!this[_0x311b61(0x14e)][_0x311b61(0x123)]&&this[_0x311b61(0x14e)][_0x311b61(0x13f)]();}),this[_0x352ba5(0x14e)][_0x352ba5(0x13b)](_0x352ba5(0x124))['to'](this),this[_0x352ba5(0x14e)][_0x352ba5(0x13b)](_0x352ba5(0x131))['to'](this),this[_0x352ba5(0x13d)]=new _0x1f0b0f(_0x3d50eb,_0x15b8d0),this[_0x352ba5(0x13d)][_0x352ba5(0x146)]({'attributes':{'class':_0x352ba5(0x132),'aria-hidden':!0x0}}),this[_0x352ba5(0x14e)][_0x352ba5(0x146)]({'attributes':{'class':_0x352ba5(0x138)}}),this[_0x352ba5(0x130)]({'tag':_0x352ba5(0x149),'attributes':{'class':[_0x352ba5(0x147),this[_0x352ba5(0x134)]['if'](_0x352ba5(0x137),_0x352ba5(0x14a))]},'children':[this[_0x352ba5(0x13d)],this[_0x352ba5(0x14e)]]});}[_0x22ae00(0x128)](){const _0x167878=_0x22ae00;super[_0x167878(0x128)](),this[_0x167878(0x11e)]();}[_0x22ae00(0x144)](){const _0xd72d3b=_0x22ae00;return this[_0xd72d3b(0x14e)][_0xd72d3b(0x144)]()[_0xd72d3b(0x12d)](()=>super[_0xd72d3b(0x144)]());}[_0x22ae00(0x13e)](_0x44523f){const _0x2a8286=_0x22ae00;this[_0x2a8286(0x14e)][_0x2a8286(0x13e)](_0x44523f);}[_0x22ae00(0x11e)](){const _0x20a1f8=_0x22ae00;this[_0x20a1f8(0x11c)](this[_0x20a1f8(0x12e)],_0x20a1f8(0x136),(_0x5dd394,_0x1a31f9)=>{const _0x45917f=_0x20a1f8,{submitButtonView:_0x394e65,cancelButtonView:_0x5342ce,editor:_0x38a212}=this[_0x45917f(0x14e)];[_0x394e65[_0x45917f(0x12e)],_0x5342ce[_0x45917f(0x12e)],_0x38a212?_0x38a212[_0x45917f(0x127)][_0x45917f(0x14d)][_0x45917f(0x129)]():null][_0x45917f(0x120)](_0x4a5aaf=>_0x4a5aaf)[_0x45917f(0x133)](_0x488c48=>_0x488c48[_0x45917f(0x12a)](_0x1a31f9[_0x45917f(0x121)]))||(this[_0x45917f(0x13e)](),_0x1a31f9[_0x45917f(0x142)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x18ed(){const _0x4963f3=['commentThreadChildren','isConfirm','185809MuyCjt','isResolved','render','.ck-thread__container','ck-thread--active','ck-comment--resolve','_cancelAllConfirms','isVisible','ariaLabel','_updateArchivedThreadHeader','icon','Delete\x20comment\x20thread?','showConfirm','actionBar','length','div','focus','isActive','ck-thread--remove-confirmation','ariaDescriptionView','getTemplate','33QjJUPj','isUnlinked','resolveButton','get','ck-rounded-corners','add','ck-thread__container','435573IFjeTr','478060XVmoZP','change:isReadOnly','then','listenTo','_model','ck-thread','focusables','element','querySelector','has','ck-thread--unlinked','ck-thread--','createCollection','375xIFcps','isReadOnly','isSystemComment','label','bind','Write\x20a\x20comment...','change:isActive','_boundFirstCommentView','isResolvable','commentsListView','listitem','fire','archivedAt','tooltip','locale','removeButton','isEnabled','setTemplate','containerElement','bindTemplate','removeCommentThread','commentViews','actionIndicator','5380dSvfnW','413092ZVbMQG','extendTemplate','ck-reset_all-excluded','high','placeholder','set','remove','10SboGDG','8ZXuPUR','977874REjkLT','commentThreadInputView','unbind','1564703THabbq','cancelConfirm','commentThreadHeaderView','removeConfirm','_bindFirstCommentView','change:archivedAt','resolveCommentThread','Resolve','_createResolveButton','stop','execute'];_0x18ed=function(){return _0x4963f3;};return _0x18ed();}const _0x3259b4=_0x4db1;(function(_0x5831a9,_0x430f62){const _0x592d99=_0x4db1,_0xd118a6=_0x5831a9();while(!![]){try{const _0x17fb9=-parseInt(_0x592d99(0x145))/0x1+-parseInt(_0x592d99(0x12c))/0x2+-parseInt(_0x592d99(0x16f))/0x3*(parseInt(_0x592d99(0x12b))/0x4)+parseInt(_0x592d99(0x133))/0x5*(parseInt(_0x592d99(0x135))/0x6)+parseInt(_0x592d99(0x138))/0x7+-parseInt(_0x592d99(0x134))/0x8*(-parseInt(_0x592d99(0x161))/0x9)+-parseInt(_0x592d99(0x162))/0xa*(-parseInt(_0x592d99(0x15a))/0xb);if(_0x17fb9===_0x430f62)break;else _0xd118a6['push'](_0xd118a6['shift']());}catch(_0x58daa0){_0xd118a6['push'](_0xd118a6['shift']());}}}(_0x18ed,0x2c256));import{ConfirmMixin as _0x5f547d,LateFocusButtonView as _0x2e4e57}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x52db49}from'ckeditor5/src/icons.js';import _0x413df7 from'./basecommentthreadview.js';function _0x4db1(_0x20ad4f,_0x1e9b0b){const _0x18ed40=_0x18ed();return _0x4db1=function(_0x4db16d,_0x12bbe9){_0x4db16d=_0x4db16d-0x11d;let _0x3b6f53=_0x18ed40[_0x4db16d];return _0x3b6f53;},_0x4db1(_0x20ad4f,_0x1e9b0b);}import{getTranslation as _0x56bb94}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5f547d(_0x413df7){[_0x3259b4(0x143)];[_0x3259b4(0x126)];[_0x3259b4(0x15c)];[_0x3259b4(0x176)];constructor(_0x3794c8,_0x32f909,_0xa34ca1,_0x505647){const _0x4d4aad=_0x3259b4;super(_0x3794c8,_0x32f909,_0xa34ca1,_0x505647),this[_0x4d4aad(0x143)]=this[_0x4d4aad(0x16e)]([this[_0x4d4aad(0x11d)],this[_0x4d4aad(0x136)],this[_0x4d4aad(0x158)]]),this[_0x4d4aad(0x131)](_0x4d4aad(0x12a),null),this[_0x4d4aad(0x126)]=null,this[_0x4d4aad(0x176)]=null,this[_0x4d4aad(0x122)]=_0x3794c8,this[_0x4d4aad(0x15c)]=this[_0x4d4aad(0x140)](),this[_0x4d4aad(0x125)](this[_0x4d4aad(0x159)]()),this['on'](_0x4d4aad(0x175),(_0x2dfa46,_0x131c88,_0xb63678)=>{const _0x12c6f9=_0x4d4aad;_0xb63678||this[_0x12c6f9(0x14b)]();}),this[_0x4d4aad(0x165)](this[_0x4d4aad(0x166)],_0x4d4aad(0x163),(_0x2e6bd9,_0x2da4cb,_0xba2b8c)=>{const _0x3d90e6=_0x4d4aad;_0xba2b8c&&this[_0x3d90e6(0x14b)]();}),this[_0x4d4aad(0x153)]>0x0&&this[_0x4d4aad(0x13c)](),this[_0x4d4aad(0x165)](this[_0x4d4aad(0x11d)][_0x4d4aad(0x129)],_0x4d4aad(0x15f),()=>{const _0x21255f=_0x4d4aad;this[_0x21255f(0x13c)]();});}[_0x3259b4(0x159)](){const _0x4d287f=_0x3259b4,_0x29e429=this[_0x4d287f(0x127)];return{'tag':_0x4d287f(0x154),'attributes':{'class':['ck',_0x4d287f(0x167),_0x4d287f(0x12e),_0x4d287f(0x15e),_0x29e429['if'](_0x4d287f(0x156),_0x4d287f(0x149)),_0x29e429['if'](_0x4d287f(0x15b),_0x4d287f(0x16c)),_0x29e429['if'](_0x4d287f(0x144),_0x4d287f(0x157)),_0x29e429['to'](_0x4d287f(0x12a),_0x5d185f=>_0x5d185f?_0x4d287f(0x16d)+_0x5d185f:'')],'data-thread-id':this[_0x4d287f(0x166)]['id'],'tabindex':0x0,'role':_0x4d287f(0x11e),'aria-label':_0x29e429['to'](_0x4d287f(0x14d)),'aria-describedby':this[_0x4d287f(0x158)]['id']},'children':[{'tag':_0x4d287f(0x154),'attributes':{'class':_0x4d287f(0x160)},'children':this[_0x4d287f(0x143)]}]};}[_0x3259b4(0x147)](){const _0x19f0fc=_0x3259b4;super[_0x19f0fc(0x147)](),this[_0x19f0fc(0x126)]=this[_0x19f0fc(0x169)][_0x19f0fc(0x16a)](_0x19f0fc(0x148)),this[_0x19f0fc(0x166)]['on'](_0x19f0fc(0x13d),()=>{const _0x1b8ae7=_0x19f0fc;this[_0x1b8ae7(0x14e)]();}),this[_0x19f0fc(0x14e)]();}[_0x3259b4(0x14b)](){const _0x142c4d=_0x3259b4;this[_0x142c4d(0x139)]();for(const _0x4af675 of this[_0x142c4d(0x11d)][_0x142c4d(0x129)])_0x4af675[_0x142c4d(0x139)]();}[_0x3259b4(0x13c)](){const _0xa39738=_0x3259b4,{locale:_0x43ceb1}=this,_0x47bd05=this[_0xa39738(0x11d)][_0xa39738(0x129)][_0xa39738(0x15d)](0x0);_0x47bd05===this[_0xa39738(0x176)]||_0x47bd05[_0xa39738(0x171)]||(this[_0xa39738(0x176)]=_0x47bd05,this[_0xa39738(0x137)](_0xa39738(0x12a)),this[_0xa39738(0x173)](_0xa39738(0x12a))['to'](_0x47bd05,_0xa39738(0x12a),_0xfa1545=>_0xa39738(0x132)===_0xfa1545?_0xa39738(0x132):null),_0x47bd05[_0xa39738(0x130)]=_0x56bb94(_0x43ceb1,_0xa39738(0x174)),_0x47bd05[_0xa39738(0x123)]['on'](_0xa39738(0x142),_0x135959=>{const _0x43b7f0=_0xa39738;_0x135959[_0x43b7f0(0x141)](),this[_0x43b7f0(0x151)](_0x56bb94(_0x43ceb1,_0x43b7f0(0x150)),this[_0x43b7f0(0x126)])[_0x43b7f0(0x164)](()=>{const _0x314bc4=_0x43b7f0;this[_0x314bc4(0x11f)](_0x314bc4(0x128));});},{'priority':_0xa39738(0x12f)}),this['on'](_0xa39738(0x13b),()=>{const _0x552c57=_0xa39738;_0x47bd05[_0x552c57(0x155)]();}),_0x47bd05[_0xa39738(0x152)][_0xa39738(0x15f)](this[_0xa39738(0x15c)],0x0),_0x47bd05[_0xa39738(0x168)][_0xa39738(0x15f)](this[_0xa39738(0x15c)],0x0));}[_0x3259b4(0x140)](){const _0x337fa8=_0x3259b4,_0x578008=new _0x2e4e57(this[_0x337fa8(0x122)]);return _0x578008[_0x337fa8(0x172)]=_0x56bb94(this[_0x337fa8(0x122)],_0x337fa8(0x13f)),_0x578008[_0x337fa8(0x121)]=_0x56bb94(this[_0x337fa8(0x122)],_0x337fa8(0x13f)),_0x578008[_0x337fa8(0x14f)]=_0x52db49,_0x578008[_0x337fa8(0x12d)]({'attributes':{'class':_0x337fa8(0x14a)}}),_0x578008[_0x337fa8(0x173)](_0x337fa8(0x124))['to'](this[_0x337fa8(0x166)],_0x337fa8(0x170),_0x280383=>!_0x280383),_0x578008[_0x337fa8(0x173)](_0x337fa8(0x14c))['to'](this[_0x337fa8(0x166)],_0x337fa8(0x177),this[_0x337fa8(0x166)],_0x337fa8(0x146),(_0x29eaca,_0x44db29)=>_0x29eaca&&!_0x44db29),_0x578008['on'](_0x337fa8(0x142),()=>{const _0x2eb8fa=_0x337fa8;this[_0x2eb8fa(0x11f)](_0x2eb8fa(0x13e),this[_0x2eb8fa(0x166)]['id']);}),_0x578008;}[_0x3259b4(0x14e)](){const _0x47c237=_0x3259b4;this[_0x47c237(0x166)][_0x47c237(0x120)]?this[_0x47c237(0x143)][_0x47c237(0x16b)](this[_0x47c237(0x13a)])||(this[_0x47c237(0x143)][_0x47c237(0x15f)](this[_0x47c237(0x13a)],0x0),this[_0x47c237(0x168)][_0x47c237(0x15f)](this[_0x47c237(0x13a)],0x0)):this[_0x47c237(0x143)][_0x47c237(0x16b)](this[_0x47c237(0x13a)])&&(this[_0x47c237(0x143)][_0x47c237(0x132)](this[_0x47c237(0x13a)]),this[_0x47c237(0x168)][_0x47c237(0x132)](this[_0x47c237(0x13a)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x586f5b=_0x3d4d;function _0x3d4d(_0x336159,_0x15c622){const _0x42cc17=_0x42cc();return _0x3d4d=function(_0x3d4d35,_0x4f909b){_0x3d4d35=_0x3d4d35-0x87;let _0x1d4955=_0x42cc17[_0x3d4d35];return _0x1d4955;},_0x3d4d(_0x336159,_0x15c622);}(function(_0x387985,_0x39aa46){const _0x461e73=_0x3d4d,_0x33d796=_0x387985();while(!![]){try{const _0x43ed28=-parseInt(_0x461e73(0xb9))/0x1+-parseInt(_0x461e73(0x87))/0x2+-parseInt(_0x461e73(0xda))/0x3+parseInt(_0x461e73(0xfd))/0x4+-parseInt(_0x461e73(0x91))/0x5+parseInt(_0x461e73(0xe3))/0x6*(-parseInt(_0x461e73(0x9e))/0x7)+parseInt(_0x461e73(0xa6))/0x8*(parseInt(_0x461e73(0x99))/0x9);if(_0x43ed28===_0x39aa46)break;else _0x33d796['push'](_0x33d796['shift']());}catch(_0x2b908a){_0x33d796['push'](_0x33d796['shift']());}}}(_0x42cc,0x613bc));import{IconRemoveComment as _0x2fbcb4,IconPencil as _0x383b19,IconThreeVerticalDots as _0x2ff087}from'ckeditor5/src/icons.js';import{ButtonView as _0xc9ebe5,createDropdown as _0x281c54,ListView as _0x32dfe8,ListItemView as _0x2f7e44,focusChildOnDropdownOpen as _0x577a6c}from'ckeditor5/src/ui.js';import{UserView as _0xcd308b,ConfirmMixin as _0x40683b,LateFocusDropdownButtonView as _0x4faa5}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x42cc(){const _0x239ae5=['getUserViewNotificationText','ck-annotation__actions','ck-comment__actions','switchToEditMode','Remove','blur','ck-comment--edit','unbind','find','mouseleave','from','1651179CKPyKM','Reply...','editButton','Show\x20more\x20items','ck-comment__info-name','focusables','showConfirm','ck-comment__user','actionIndicator','2223306WYUgOs','ck-comment--remove-confirmation','createCollection','Edit','_createEditButton','ck-annotation__info','_createRemoveButton','_createDropdown','isSystemComment','bindTemplate','ck-comment__external','ariaDescriptionView','fire','change:isRemovable','getTemplate','ck-annotation','ck-comment__info-time','buttonView','getExternalCommentNote','some','_attachActions','placeholder','ck-comment__wrapper','edit','push','ck-comment__info','1370336fxzBCG','children','487018ebTAEt','execute','ck-annotation__info-name','icon','name','setTemplate','isVisible','addMany','ck-hidden','resolvedAt','686490jYmZpc','isExternal','cancelConfirm','isRemovable','length','ck-comment--remove','isConfirm','div','4851nLUHvP','ck-comment','_config','_createCommentInputView','ck-annotation__user','7gpkUKk','listitem','actionBar','listenTo','ck-annotation__info-time','focus','isEnabled','add','24264OAkKJQ','Delete\x20comment?','dropdown','visibleView','remove','element','formatDateTime','isEditable','author','ck-comment--info','_model','then','ck-annotation__content-wrapper','panelPosition','set','panelView','ck-annotation__main','time','span','277352mAnOgN','ck-comment__main','group','ck-comment--','locale','removeButton','authoredAt','removeComment','ck-annotation__actions--hidden','bind','mouseenter','toMany','label','ck-comment__actions--hidden','ariaLabel','isEditMode','userView','render','isReadOnly','withText','extendTemplate','items'];_0x42cc=function(){return _0x239ae5;};return _0x42cc();}import _0x27724c from'./basecommentview.js';import{getTranslation as _0x542615}from'../../../utils/common-translations.js';export default class gt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x40683b(_0x27724c){[_0x586f5b(0xa0)];[_0x586f5b(0xc9)];constructor(_0x56dfb0,_0x884784,_0x4a5280){const _0x12b2f6=_0x586f5b;super(_0x56dfb0,_0x884784,_0x4a5280),this[_0x12b2f6(0xb4)](_0x12b2f6(0xe2),null),this[_0x12b2f6(0xb4)](_0x12b2f6(0xf8),_0x542615(_0x56dfb0,_0x12b2f6(0xdb))),this[_0x12b2f6(0xc2)](_0x12b2f6(0xbf))['to'](_0x884784),this[_0x12b2f6(0xc2)](_0x12b2f6(0x90))['to'](_0x884784),this[_0x12b2f6(0xa0)]=this[_0x12b2f6(0xe5)](),this[_0x12b2f6(0xeb)]||(this[_0x12b2f6(0xdc)]=this[_0x12b2f6(0xe7)](),this[_0x12b2f6(0xbe)]=this[_0x12b2f6(0xe9)](),this[_0x12b2f6(0xce)]=this[_0x12b2f6(0xe5)](),this[_0x12b2f6(0xce)][_0x12b2f6(0x8e)]([this[_0x12b2f6(0xdc)],this[_0x12b2f6(0xbe)]]),this[_0x12b2f6(0xa8)]=this[_0x12b2f6(0xea)](),this[_0x12b2f6(0xa0)][_0x12b2f6(0xa5)](this[_0x12b2f6(0xa8)]),this[_0x12b2f6(0xdf)][_0x12b2f6(0xa5)](this[_0x12b2f6(0xa8)])),this[_0x12b2f6(0xc9)]=new _0xcd308b(_0x56dfb0,_0x884784[_0x12b2f6(0xae)],this[_0x12b2f6(0xcf)]()),this[_0x12b2f6(0xc9)][_0x12b2f6(0xcd)]({'attributes':{'class':[_0x12b2f6(0xe1),_0x12b2f6(0x9d)],'aria-hidden':!0x0}}),this[_0x12b2f6(0xa1)](_0x884784,_0x12b2f6(0xf0),()=>this[_0x12b2f6(0x93)]()),this[_0x12b2f6(0x8c)](this[_0x12b2f6(0xf1)]());}[_0x586f5b(0xf1)](){const _0x53ca69=_0x586f5b,_0x362a35=this[_0x53ca69(0xec)],_0x3bc292=[{'tag':_0x53ca69(0x98),'attributes':{'class':[_0x53ca69(0xfc),_0x53ca69(0xe8)]},'children':[{'tag':_0x53ca69(0xb8),'children':[{'text':this[_0x53ca69(0xc9)][_0x53ca69(0x8b)]}],'attributes':{'class':[_0x53ca69(0xde),_0x53ca69(0x89)],'data-cke-tooltip-text':this[_0x53ca69(0xc9)][_0x53ca69(0x8b)]}},{'tag':_0x53ca69(0xb7),'attributes':{'datetime':_0x362a35['to'](_0x53ca69(0xbf)),'class':[_0x53ca69(0xf3),_0x53ca69(0xa2)]},'children':[{'text':_0x362a35['to'](_0x53ca69(0xbf),_0x5cc746=>this[_0x53ca69(0x9b)][_0x53ca69(0xac)](_0x5cc746))}]}]},{'tag':_0x53ca69(0x98),'attributes':{'class':[_0x53ca69(0xd1),_0x53ca69(0xd0),_0x362a35['if'](_0x53ca69(0xc8),_0x53ca69(0xc6)),_0x362a35['if'](_0x53ca69(0xc8),_0x53ca69(0xc1))]},'children':this[_0x53ca69(0xa0)]},{'tag':_0x53ca69(0x98),'attributes':{'class':[_0x53ca69(0xb2)]},'children':this[_0x53ca69(0xa9)]},this[_0x53ca69(0xee)]];return this[_0x53ca69(0xb0)][_0x53ca69(0x92)]&&_0x3bc292[_0x53ca69(0xfb)]({'tag':_0x53ca69(0x98),'attributes':{'class':[_0x53ca69(0xed)]},'children':[{'text':this[_0x53ca69(0xf5)]()}]}),{'tag':'li','attributes':{'class':[_0x53ca69(0xf9),_0x362a35['if'](_0x53ca69(0x97),_0x53ca69(0xe4))],'tabindex':-0x1,'aria-label':_0x362a35['to'](_0x53ca69(0xc7)),'aria-describedby':this[_0x53ca69(0xee)]['id'],'role':_0x53ca69(0x9f)},'children':[{'tag':_0x53ca69(0x98),'attributes':{'class':[_0x53ca69(0x9a),_0x53ca69(0xf2),_0x362a35['if'](_0x53ca69(0xc8),_0x53ca69(0xd5)),_0x362a35['if'](_0x53ca69(0xeb),_0x53ca69(0xaf)),_0x362a35['to'](_0x53ca69(0xe2),_0x5deaa1=>_0x5deaa1?_0x53ca69(0xbc)+_0x5deaa1:'')],'data-author-id':this[_0x53ca69(0xb0)][_0x53ca69(0xae)]['id'],'data-comment-id':this[_0x53ca69(0xb0)]['id'],'role':_0x53ca69(0xbb)},'children':[this[_0x53ca69(0xc9)],{'tag':_0x53ca69(0x98),'attributes':{'class':[_0x53ca69(0xba),_0x53ca69(0xb6)]},'children':_0x3bc292}]}]};}[_0x586f5b(0xe7)](){const _0x361b8b=_0x586f5b,_0x32d6a5=new _0xc9ebe5(this[_0x361b8b(0xbd)]);return _0x32d6a5[_0x361b8b(0xc5)]=_0x542615(this[_0x361b8b(0xbd)],_0x361b8b(0xe6)),_0x32d6a5[_0x361b8b(0x8a)]=_0x383b19,_0x32d6a5[_0x361b8b(0xcc)]=!0x0,_0x32d6a5[_0x361b8b(0xcd)]({'attributes':{'class':_0x361b8b(0xd5)}}),_0x32d6a5[_0x361b8b(0xc2)](_0x361b8b(0xa4))['to'](this[_0x361b8b(0xb0)],_0x361b8b(0xcb),_0xf5d540=>!_0xf5d540),_0x32d6a5[_0x361b8b(0xc2)](_0x361b8b(0x8d))['to'](this[_0x361b8b(0xb0)],_0x361b8b(0xad)),_0x32d6a5['on'](_0x361b8b(0x88),()=>this[_0x361b8b(0xd2)]()),_0x32d6a5;}[_0x586f5b(0xe9)](){const _0x157403=_0x586f5b,_0x1fac97=new _0xc9ebe5(this[_0x157403(0xbd)]);return _0x1fac97[_0x157403(0xc5)]=_0x542615(this[_0x157403(0xbd)],_0x157403(0xd3)),_0x1fac97[_0x157403(0x8a)]=_0x2fbcb4,_0x1fac97[_0x157403(0xcc)]=!0x0,_0x1fac97[_0x157403(0xcd)]({'attributes':{'class':_0x157403(0x96)}}),_0x1fac97[_0x157403(0xc2)](_0x157403(0xa4))['to'](this[_0x157403(0xb0)],_0x157403(0xcb),_0x29f521=>!_0x29f521),_0x1fac97[_0x157403(0xc2)](_0x157403(0x8d))['to'](this[_0x157403(0xb0)],_0x157403(0x94)),_0x1fac97['on'](_0x157403(0x88),()=>{const _0x429d88=_0x157403;this[_0x429d88(0xe0)](_0x542615(this[_0x429d88(0xbd)],_0x429d88(0xa7)),this[_0x429d88(0xab)])[_0x429d88(0xb1)](()=>{const _0x52747f=_0x429d88;this[_0x52747f(0xef)](_0x52747f(0xc0),this[_0x52747f(0xb0)]['id']);});}),_0x1fac97;}[_0x586f5b(0xea)](){const _0x20c78a=_0x586f5b,_0x574654=_0x281c54(this[_0x20c78a(0xbd)],_0x4faa5),_0x9ce5bf=_0x574654[_0x20c78a(0xb5)][_0x20c78a(0xfe)],_0x407506=new _0x32dfe8(this[_0x20c78a(0xbd)]),_0x2c9468=_0x574654[_0x20c78a(0xec)];_0x577a6c(_0x574654,()=>this[_0x20c78a(0xce)][_0x20c78a(0xd7)](_0x396da0=>_0x396da0[_0x20c78a(0x8d)])),_0x574654[_0x20c78a(0xcd)]({'attributes':{'class':[_0x2c9468['if'](_0x20c78a(0x8d),_0x20c78a(0x8f),_0x56bce3=>!_0x56bce3)]}});const _0x5d5d72=(_0x5513ac,_0x154869=-0x1)=>{const _0x17e052=_0x20c78a,_0x427e78=new _0x2f7e44(this[_0x17e052(0xbd)]);_0x427e78[_0x17e052(0xfe)][_0x17e052(0xa5)](_0x5513ac);const _0x3798a5=_0x154869>-0x1?_0x154869:_0x407506[_0x17e052(0xce)][_0x17e052(0x95)];_0x407506[_0x17e052(0xce)][_0x17e052(0xa5)](_0x427e78,_0x3798a5);const _0x2e0005=Array[_0x17e052(0xd9)](this[_0x17e052(0xce)]);_0x574654[_0x17e052(0xd6)](_0x17e052(0xa4),_0x17e052(0x8d)),_0x574654[_0x17e052(0xc2)](_0x17e052(0xa4))[_0x17e052(0xc4)](_0x2e0005,_0x17e052(0xa4),(..._0x5d656b)=>_0x5d656b[_0x17e052(0xf6)](_0x469972=>_0x469972)),_0x574654[_0x17e052(0xc2)](_0x17e052(0x8d))[_0x17e052(0xc4)](_0x2e0005,_0x17e052(0x8d),(..._0x51bcf0)=>_0x51bcf0[_0x17e052(0xf6)](_0x169e75=>_0x169e75));};_0x574654[_0x20c78a(0xb3)]='sw',_0x574654[_0x20c78a(0xf4)][_0x20c78a(0xb4)]({'label':_0x542615(this[_0x20c78a(0xbd)],_0x20c78a(0xdd)),'icon':_0x2ff087});for(const _0x593c2e of this[_0x20c78a(0xce)])_0x5d5d72(_0x593c2e);return _0x9ce5bf[_0x20c78a(0xa5)](_0x407506),_0x574654[_0x20c78a(0xa1)](this[_0x20c78a(0xce)],_0x20c78a(0xa5),(_0x283d68,_0x17e75c,_0x18b107)=>{_0x5d5d72(_0x17e75c,_0x18b107);}),_0x574654[_0x20c78a(0xa1)](this[_0x20c78a(0xce)],_0x20c78a(0xaa),(_0x4d1edb,_0x3ef673,_0x4c3b68)=>{const _0x56cbc7=_0x20c78a;_0x407506[_0x56cbc7(0xce)][_0x56cbc7(0xaa)](_0x4c3b68);}),_0x574654;}[_0x586f5b(0xf7)](_0x48b5a1,_0x3ebd79){const _0x812b5a=_0x586f5b,_0x3fb0b1=_0x48b5a1&&_0x48b5a1[_0x812b5a(0xab)];_0x3fb0b1&&(this[_0x812b5a(0xa1)](_0x3fb0b1,_0x812b5a(0xc3),()=>this[_0x812b5a(0xe2)]=_0x3ebd79),this[_0x812b5a(0xa1)](_0x3fb0b1,_0x812b5a(0xa3),()=>this[_0x812b5a(0xe2)]=_0x3ebd79),this[_0x812b5a(0xa1)](_0x3fb0b1,_0x812b5a(0xd8),()=>this[_0x812b5a(0xe2)]=null),this[_0x812b5a(0xa1)](_0x3fb0b1,_0x812b5a(0xd4),()=>this[_0x812b5a(0xe2)]=null));}[_0x586f5b(0x9c)](){const _0x2bafec=_0x586f5b,_0xd2bf60=super[_0x2bafec(0x9c)]();return _0xd2bf60[_0x2bafec(0xc2)](_0x2bafec(0xf8))['to'](this),_0xd2bf60;}[_0x586f5b(0xca)](){const _0xd4ef6d=_0x586f5b;super[_0xd4ef6d(0xca)](),this[_0xd4ef6d(0xf7)](this[_0xd4ef6d(0xdc)],_0xd4ef6d(0xfa)),this[_0xd4ef6d(0xf7)](this[_0xd4ef6d(0xbe)],_0xd4ef6d(0xaa));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x13f9(){var _0x1ac8e1=['27139BKqNFT','3436368flVPrm','3qMxMbl','pluginName','2216kZBuiL','688830qrCjaN','isPremiumPlugin','2352002AzcQAa','requires','isOfficialPlugin','7858827FCstzH','1060482PIWTnr','710636mKzwHa','10TefkVB','Comments'];_0x13f9=function(){return _0x1ac8e1;};return _0x13f9();}function _0x468a(_0x5953d7,_0x5b9983){var _0x13f950=_0x13f9();return _0x468a=function(_0x468a37,_0x1d439a){_0x468a37=_0x468a37-0x1ae;var _0x5201d8=_0x13f950[_0x468a37];return _0x5201d8;},_0x468a(_0x5953d7,_0x5b9983);}var _0x2d300a=_0x468a;(function(_0x1b5850,_0x27c974){var _0x229b93=_0x468a,_0x26bfa0=_0x1b5850();while(!![]){try{var _0x2365e7=parseInt(_0x229b93(0x1b5))/0x1+-parseInt(_0x229b93(0x1b0))/0x2*(-parseInt(_0x229b93(0x1ba))/0x3)+-parseInt(_0x229b93(0x1b9))/0x4+parseInt(_0x229b93(0x1ae))/0x5+-parseInt(_0x229b93(0x1b4))/0x6+-parseInt(_0x229b93(0x1b8))/0x7*(parseInt(_0x229b93(0x1bc))/0x8)+-parseInt(_0x229b93(0x1b3))/0x9*(-parseInt(_0x229b93(0x1b6))/0xa);if(_0x2365e7===_0x27c974)break;else _0x26bfa0['push'](_0x26bfa0['shift']());}catch(_0x43c14c){_0x26bfa0['push'](_0x26bfa0['shift']());}}}(_0x13f9,0xc057e));import{Plugin as _0x2a770b}from'ckeditor5/src/core.js';import _0x3e8840 from'./comments/commentsrepository.js';import _0x416d6c from'./comments/commentsediting.js';import _0x39a811 from'./comments/commentsui.js';import _0x1a6621 from'./commentsonly.js';import _0x4446db from'./annotations/widesidebar.js';import _0x49196c from'./annotations/narrowsidebar.js';import _0x4c3b8d from'./annotations/inlineannotations.js';import _0x350b51 from'./comments/commentsarchiveui.js';import _0x1d28c7 from'./comments/commentsarchive.js';export default class p extends _0x2a770b{static get[_0x2d300a(0x1b1)](){return[_0x3e8840,_0x416d6c,_0x39a811,_0x1d28c7,_0x350b51,_0x1a6621,_0x4446db,_0x49196c,_0x4c3b8d];}static get[_0x2d300a(0x1bb)](){var _0x28bafc=_0x2d300a;return _0x28bafc(0x1b7);}static get[_0x2d300a(0x1b2)](){return!0x0;}static get[_0x2d300a(0x1af)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43c718=_0x44c1;(function(_0x15138b,_0x45eb25){const _0x4be80e=_0x44c1,_0x5a160e=_0x15138b();while(!![]){try{const _0x373ff7=-parseInt(_0x4be80e(0xb3))/0x1+parseInt(_0x4be80e(0x9e))/0x2*(parseInt(_0x4be80e(0xb8))/0x3)+-parseInt(_0x4be80e(0xa9))/0x4+-parseInt(_0x4be80e(0xac))/0x5+-parseInt(_0x4be80e(0xbd))/0x6*(-parseInt(_0x4be80e(0xb6))/0x7)+-parseInt(_0x4be80e(0xad))/0x8*(-parseInt(_0x4be80e(0x99))/0x9)+-parseInt(_0x4be80e(0xa1))/0xa;if(_0x373ff7===_0x45eb25)break;else _0x5a160e['push'](_0x5a160e['shift']());}catch(_0x22513f){_0x5a160e['push'](_0x5a160e['shift']());}}}(_0x2fad,0x43440));function _0x44c1(_0x304215,_0x2bba8c){const _0x2fadc2=_0x2fad();return _0x44c1=function(_0x44c1ba,_0x19693d){_0x44c1ba=_0x44c1ba-0x98;let _0x2bc11f=_0x2fadc2[_0x44c1ba];return _0x2bc11f;},_0x44c1(_0x304215,_0x2bba8c);}function _0x2fad(){const _0x4d151f=['forceDisabled','change:isEnabled','_disableCommentsOnlyMode','isEnabled','pluginName','clearForceDisabled','plugins','149412GNrXvz','cut','stopListening','2700015ZnzCyD','2102344bATAmw','editor','view','afterInit','_enableCommentsOnlyMode','editing','126046Oeatre','commentsOnlyMode','isPremiumPlugin','7ImSnUT','addCommentThread','75714NUsHGL','clipboardInput','config','listenTo','editSource','2182578njgdqb','isOfficialPlugin','highest','commentsOnly','CommentsOnly','requires','has','DragDrop','SourceEditing','set','18DsPtLi','affectsData','delete','commands','document','8hhvMfx','stop','get','113790EJgfUJ'];_0x2fad=function(){return _0x4d151f;};return _0x2fad();}import{Plugin as _0x107cd5}from'ckeditor5/src/core.js';import _0xaa3d20 from'./comments/commentsediting.js';export default class s extends _0x107cd5{static get[_0x43c718(0xa6)](){const _0x2efc20=_0x43c718;return _0x2efc20(0xc1);}static get[_0x43c718(0xbe)](){return!0x0;}static get[_0x43c718(0xb5)](){return!0x0;}static get[_0x43c718(0xc2)](){return[_0xaa3d20];}constructor(_0x392685){const _0x1d7e20=_0x43c718;super(_0x392685),this[_0x1d7e20(0x98)](_0x1d7e20(0xa5),!0x1),this['on'](_0x1d7e20(0xa3),(_0x3316be,_0x57ae62,_0xdc7bd)=>{const _0x2e7b65=_0x1d7e20;_0xdc7bd?this[_0x2e7b65(0xb1)]():this[_0x2e7b65(0xa4)]();});}[_0x43c718(0xb0)](){const _0x5a3780=_0x43c718;!this[_0x5a3780(0xa5)]&&this[_0x5a3780(0xae)][_0x5a3780(0xba)][_0x5a3780(0xa0)](_0x5a3780(0xc0))&&(this[_0x5a3780(0xa5)]=!0x0);}[_0x43c718(0xb1)](){const _0x44d7f0=_0x43c718;for(const [_0x368d9e,_0x3bc033]of this[_0x44d7f0(0xae)][_0x44d7f0(0x9c)])_0x3bc033[_0x44d7f0(0x9a)]&&_0x44d7f0(0xb7)!==_0x368d9e&&_0x3bc033[_0x44d7f0(0xa2)](_0x44d7f0(0xb4));(this[_0x44d7f0(0xae)][_0x44d7f0(0xa8)][_0x44d7f0(0xc3)](_0x44d7f0(0xc4))&&this[_0x44d7f0(0xae)][_0x44d7f0(0xa8)][_0x44d7f0(0xa0)](_0x44d7f0(0xc4))[_0x44d7f0(0xa2)](_0x44d7f0(0xb4)),this[_0x44d7f0(0xae)][_0x44d7f0(0xa8)][_0x44d7f0(0xc3)](_0x44d7f0(0xc5)))&&this[_0x44d7f0(0xae)][_0x44d7f0(0xa8)][_0x44d7f0(0xa0)](_0x44d7f0(0xc5))[_0x44d7f0(0xa2)](_0x44d7f0(0xb4));this[_0x44d7f0(0xae)][_0x44d7f0(0x9c)][_0x44d7f0(0xa0)](_0x44d7f0(0xbc))?.[_0x44d7f0(0xa2)](_0x44d7f0(0xb4));const _0x435847=this[_0x44d7f0(0xae)][_0x44d7f0(0xb2)][_0x44d7f0(0xaf)][_0x44d7f0(0x9d)];this[_0x44d7f0(0xbb)](_0x435847,_0x44d7f0(0xaa),_0x4a14b1=>_0x4a14b1[_0x44d7f0(0x9f)](),{'priority':_0x44d7f0(0xbf)}),this[_0x44d7f0(0xbb)](_0x435847,_0x44d7f0(0xb9),_0x414de5=>_0x414de5[_0x44d7f0(0x9f)](),{'priority':_0x44d7f0(0xbf)}),this[_0x44d7f0(0xbb)](_0x435847,_0x44d7f0(0x9b),_0x53f25f=>_0x53f25f[_0x44d7f0(0x9f)](),{'priority':_0x44d7f0(0xbf)});}[_0x43c718(0xa4)](){const _0x38cefa=_0x43c718;for(const [_0x2f5bc7,_0x2755c0]of this[_0x38cefa(0xae)][_0x38cefa(0x9c)])_0x2755c0[_0x38cefa(0x9a)]&&_0x38cefa(0xb7)!==_0x2f5bc7&&_0x2755c0[_0x38cefa(0xa7)](_0x38cefa(0xb4));this[_0x38cefa(0xae)][_0x38cefa(0xa8)][_0x38cefa(0xc3)](_0x38cefa(0xc5))&&this[_0x38cefa(0xae)][_0x38cefa(0xa8)][_0x38cefa(0xa0)](_0x38cefa(0xc5))[_0x38cefa(0xa7)](_0x38cefa(0xb4)),this[_0x38cefa(0xae)][_0x38cefa(0x9c)][_0x38cefa(0xa0)](_0x38cefa(0xbc))?.[_0x38cefa(0xa7)](_0x38cefa(0xb4)),this[_0x38cefa(0xab)](this[_0x38cefa(0xae)][_0x38cefa(0xb2)][_0x38cefa(0xaf)][_0x38cefa(0x9d)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x156ed6,_0x3ee8c9){var _0x58a7fb=_0x1aa9,_0x378f21=_0x156ed6();while(!![]){try{var _0x1dfe62=-parseInt(_0x58a7fb(0xeb))/0x1*(-parseInt(_0x58a7fb(0xe5))/0x2)+-parseInt(_0x58a7fb(0xe7))/0x3+parseInt(_0x58a7fb(0xea))/0x4*(-parseInt(_0x58a7fb(0xed))/0x5)+-parseInt(_0x58a7fb(0xe9))/0x6+-parseInt(_0x58a7fb(0xe6))/0x7*(parseInt(_0x58a7fb(0xe2))/0x8)+-parseInt(_0x58a7fb(0xec))/0x9*(-parseInt(_0x58a7fb(0xe4))/0xa)+parseInt(_0x58a7fb(0xe8))/0xb*(parseInt(_0x58a7fb(0xe3))/0xc);if(_0x1dfe62===_0x3ee8c9)break;else _0x378f21['push'](_0x378f21['shift']());}catch(_0x1fbd51){_0x378f21['push'](_0x378f21['shift']());}}}(_0x36f7,0xe679f));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';function _0x1aa9(_0x2bb060,_0x52deb0){var _0x36f785=_0x36f7();return _0x1aa9=function(_0x1aa955,_0x53d8fa){_0x1aa955=_0x1aa955-0xe2;var _0x3fa1fe=_0x36f785[_0x1aa955];return _0x3fa1fe;},_0x1aa9(_0x2bb060,_0x52deb0);}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';function _0x36f7(){var _0x4ff14e=['7721355BJSuIp','55736WOgYAq','2087700iBHNli','2674090BPrUPt','2xfLedi','1673DPolto','5061312LPEPqn','385rIDYDx','6382128cLlXcv','4GQfZYe','547673kuxNBQ','9YuDlOs'];_0x36f7=function(){return _0x4ff14e;};return _0x36f7();}export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{default as CommentsArchive}from'./comments/commentsarchive.js';export{default as CommentsArchiveUI}from'./comments/commentsarchiveui.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x3f40ae,_0x5a0546,_0x31ce25){const t=_0x3f40ae['t'];switch(_0x5a0546){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'},_0x31ce25);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'},_0x31ce25);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'},_0x31ce25);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'},_0x31ce25);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x31ce25);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'},_0x31ce25);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'},_0x31ce25);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'},_0x31ce25);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 _0x4277(_0x58e112,_0xfebb84){const _0x2510b2=_0x2510();return _0x4277=function(_0x42775c,_0x371688){_0x42775c=_0x42775c-0x98;let _0x155ca1=_0x2510b2[_0x42775c];return _0x155ca1;},_0x4277(_0x58e112,_0xfebb84);}(function(_0x25a6ce,_0x43a677){const _0x376895=_0x4277,_0x32997a=_0x25a6ce();while(!![]){try{const _0x11f727=parseInt(_0x376895(0x9b))/0x1*(parseInt(_0x376895(0x9e))/0x2)+parseInt(_0x376895(0x99))/0x3*(parseInt(_0x376895(0x98))/0x4)+parseInt(_0x376895(0xa7))/0x5*(parseInt(_0x376895(0xa2))/0x6)+parseInt(_0x376895(0xa8))/0x7+-parseInt(_0x376895(0x9a))/0x8+-parseInt(_0x376895(0xa3))/0x9*(-parseInt(_0x376895(0x9c))/0xa)+-parseInt(_0x376895(0xa6))/0xb;if(_0x11f727===_0x43a677)break;else _0x32997a['push'](_0x32997a['shift']());}catch(_0x475b4a){_0x32997a['push'](_0x32997a['shift']());}}}(_0x2510,0x1f046));import{throttle as _0x53ef0e}from'es-toolkit/compat';export default function Lt(_0x5b4942){const _0x3d403e=_0x53ef0e(_0x5b4942,0x1e),_0x1781bb=new MutationObserver(_0x13d9da=>{const _0xc726c1=_0x4277;for(const _0x498804 of _0x13d9da)(_0xc726c1(0xa9)==_0x498804[_0xc726c1(0xaa)]&&_0xc726c1(0x9d)==_0x498804[_0xc726c1(0xa4)]||_0xc726c1(0xa0)==_0x498804[_0xc726c1(0xaa)]||_0xc726c1(0x9f)==_0x498804[_0xc726c1(0xaa)])&&_0x3d403e();});return{'attach'(_0x3fa5f7){const _0x54e90f=_0x4277;_0x1781bb[_0x54e90f(0xa1)](_0x3fa5f7,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x2decc8=_0x4277;_0x1781bb[_0x2decc8(0xa5)](),_0x3d403e[_0x2decc8(0xab)]();}};}function _0x2510(){const _0x35b4d9=['18liwUET','attributeName','disconnect','5523650eWQFsu','7885fSIykJ','1696478oSRUXn','attributes','type','cancel','652ZJRDbS','2979TgTSjy','1651128tYlkAX','983cXymoi','1024030fCHrOe','class','246gwfrdE','characterData','childList','observe','402EBnetN'];_0x2510=function(){return _0x35b4d9;};return _0x2510();}
|