@ckeditor/ckeditor5-comments 43.0.0-alpha.6 → 43.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14a8fc=_0x485d;(function(_0x3768cf,_0x4d73c4){const _0x3666c8=_0x485d,_0x39aa24=_0x3768cf();while(!![]){try{const _0x259e11=-parseInt(_0x3666c8(0x16a))/0x1*(-parseInt(_0x3666c8(0x174))/0x2)+-parseInt(_0x3666c8(0x15f))/0x3*(parseInt(_0x3666c8(0x183))/0x4)+parseInt(_0x3666c8(0x164))/0x5+-parseInt(_0x3666c8(0x177))/0x6+-parseInt(_0x3666c8(0x18b))/0x7*(parseInt(_0x3666c8(0x17c))/0x8)+-parseInt(_0x3666c8(0x185))/0x9+parseInt(_0x3666c8(0x172))/0xa*(-parseInt(_0x3666c8(0x17a))/0xb);if(_0x259e11===_0x4d73c4)break;else _0x39aa24['push'](_0x39aa24['shift']());}catch(_0x591b92){_0x39aa24['push'](_0x39aa24['shift']());}}}(_0x7067,0x5a1af));import{View as _0x1dc72a,FocusCycler as _0x557093}from'ckeditor5/src/ui.js';import{FocusTracker as _0x24e295}from'ckeditor5/src/utils.js';function _0x7067(){const _0x52d543=['228063CXrlOK','EMPTY_COMMENTS_ARCHIVE','length','isEmpty','focusTracker','3003580FmAJuu','listenTo','isActive','delegate','auto','focusFirst','1gUdRAU','focus','ck-comments-archive__info','COMMENTS_ARCHIVE_LIST_LABEL','focusPrevious','remove','add','setTemplate','70ayFYlA','render','1094762HwSyaX','_setupKeyboardNavigation','arrowdown','934458fYuTHw','ck-comments-archive','arrowup','132781nQMMTE','_annotationViews','8ScNarL','bindTemplate','focusCycler','ck-comments-archive__content','set','list','change','8nsmMKr','presentation','528777XHSIVV','div','focusNext','destroy','first','element','2295937taWiGH','ck-hidden'];_0x7067=function(){return _0x52d543;};return _0x7067();}import{getTranslation as _0x489d37}from'../../../utils/common-translations.js';function _0x485d(_0xb7cb7e,_0x541c7d){const _0x706756=_0x7067();return _0x485d=function(_0x485d91,_0x3c3e1b){_0x485d91=_0x485d91-0x15e;let _0xf211f9=_0x706756[_0x485d91];return _0xf211f9;},_0x485d(_0xb7cb7e,_0x541c7d);}export default class Y extends _0x1dc72a{constructor(_0x1c09bd,_0x806574){const _0x14b68c=_0x485d;super(_0x1c09bd),this[_0x14b68c(0x180)](_0x14b68c(0x162),!_0x806574[_0x14b68c(0x161)]),this[_0x14b68c(0x163)]=new _0x24e295(),this[_0x14b68c(0x17b)]=_0x806574,this[_0x14b68c(0x17b)][_0x14b68c(0x167)](_0x14b68c(0x179),_0x14b68c(0x176))['to'](this),this['on'](_0x14b68c(0x179),()=>{const _0x30477b=_0x14b68c;this[_0x30477b(0x17e)][_0x30477b(0x16e)]();}),this['on'](_0x14b68c(0x176),()=>{const _0x523b96=_0x14b68c;this[_0x523b96(0x17e)][_0x523b96(0x187)]();}),this[_0x14b68c(0x17e)]=new _0x557093({'focusables':_0x806574,'focusTracker':this[_0x14b68c(0x163)]}),this[_0x14b68c(0x165)](_0x806574,_0x14b68c(0x170),()=>{const _0x170a76=_0x14b68c;this[_0x170a76(0x162)]=!0x1;}),this[_0x14b68c(0x165)](_0x806574,_0x14b68c(0x16f),(_0xfac412,_0x19cb04)=>{const _0x5877cb=_0x14b68c;_0x19cb04[_0x5877cb(0x166)]&&this[_0x5877cb(0x16b)](),_0x806574[_0x5877cb(0x161)]||(this[_0x5877cb(0x162)]=!0x0);});const _0x3573b9=this[_0x14b68c(0x17d)];this[_0x14b68c(0x171)]({'tag':_0x14b68c(0x186),'attributes':{'dir':_0x14b68c(0x168),'class':['ck',_0x14b68c(0x178)],'tabindex':-0x1,'role':_0x14b68c(0x181),'aria-label':_0x489d37(_0x1c09bd,_0x14b68c(0x16d))},'children':[{'tag':_0x14b68c(0x186),'attributes':{'class':[_0x14b68c(0x17f)],'role':_0x14b68c(0x184)},'children':[{'tag':_0x14b68c(0x186),'attributes':{'role':_0x14b68c(0x184)},'children':_0x806574},{'tag':'p','attributes':{'class':[_0x14b68c(0x16c),_0x3573b9['if'](_0x14b68c(0x162),_0x14b68c(0x15e),_0x4405a3=>!_0x4405a3)]},'children':[{'text':_0x489d37(_0x1c09bd,_0x14b68c(0x160))}]}]}]});}[_0x14a8fc(0x173)](){const _0x1da6df=_0x14a8fc;super[_0x1da6df(0x173)](),this[_0x1da6df(0x175)]();}[_0x14a8fc(0x188)](){const _0x26366a=_0x14a8fc;super[_0x26366a(0x188)](),this[_0x26366a(0x163)][_0x26366a(0x188)]();}[_0x14a8fc(0x16b)](){const _0x510ad0=_0x14a8fc;this[_0x510ad0(0x17e)][_0x510ad0(0x189)]?this[_0x510ad0(0x17e)][_0x510ad0(0x169)]():this[_0x510ad0(0x18a)][_0x510ad0(0x16b)]();}[_0x14a8fc(0x175)](){const _0x3c5c1d=_0x14a8fc;for(const _0x8a9003 of this[_0x3c5c1d(0x17b)])this[_0x3c5c1d(0x163)][_0x3c5c1d(0x170)](_0x8a9003[_0x3c5c1d(0x18a)]);this[_0x3c5c1d(0x17b)]['on'](_0x3c5c1d(0x182),(_0x206b58,{added:_0xa5537b,removed:_0x262d92})=>{const _0x54fd74=_0x3c5c1d;for(const _0x43bc76 of _0xa5537b)this[_0x54fd74(0x163)][_0x54fd74(0x170)](_0x43bc76[_0x54fd74(0x18a)]);for(const _0x1fc51f of _0x262d92)this[_0x54fd74(0x163)][_0x54fd74(0x16f)](_0x1fc51f[_0x54fd74(0x18a)]);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3a65be=_0x3445;(function(_0x15fd5e,_0x11b50c){const _0x672bae=_0x3445,_0x45c3e4=_0x15fd5e();while(!![]){try{const _0x4672ad=parseInt(_0x672bae(0xec))/0x1+-parseInt(_0x672bae(0xf3))/0x2*(-parseInt(_0x672bae(0x102))/0x3)+parseInt(_0x672bae(0xe9))/0x4+parseInt(_0x672bae(0xf6))/0x5*(-parseInt(_0x672bae(0xab))/0x6)+-parseInt(_0x672bae(0xd3))/0x7+-parseInt(_0x672bae(0xac))/0x8+parseInt(_0x672bae(0xc6))/0x9*(-parseInt(_0x672bae(0xf1))/0xa);if(_0x4672ad===_0x11b50c)break;else _0x45c3e4['push'](_0x45c3e4['shift']());}catch(_0x396cb7){_0x45c3e4['push'](_0x45c3e4['shift']());}}}(_0x5052,0x9abe4));function _0x3445(_0x480883,_0xefdb00){const _0x5052bc=_0x5052();return _0x3445=function(_0x344522,_0xbaf360){_0x344522=_0x344522-0xa9;let _0x3f552b=_0x5052bc[_0x344522];return _0x3f552b;},_0x3445(_0x480883,_0xefdb00);}import{View as _0x5681f0,FocusCycler as _0x4497ed}from'ckeditor5/src/ui.js';import{diff as _0x10771c,Collection as _0x305846,FocusTracker as _0x371496,KeystrokeHandler as _0x3c4812}from'ckeditor5/src/utils.js';import{getTranslation as _0x283cbc}from'../../../utils/common-translations.js';import _0x41be28 from'./collapsedcommentsview.js';function _0x5052(){const _0x2cfc13=['change:isActive','Marked\x20as\x20resolved','_handleInfoComment','maxCommentsWhenCollapsed','isActive','weight','change:hasDirtyComment','ck-hidden','resolvedAt','createCollection','added','editorDestroyed','focusTracker','focusCycler','_config','_calculatePosition','change','removeComment','expand','_model','focusFirst','11277cszDDF','hasDirtyComment','editorConfig','ck-thread__comments','get','remove','length','arrowdown','setTemplate','delete','equal','bind','collapse','646954iBslyG','from','editorReady','delegate','resolvedCommentView','change:isEditMode','visibleViews','locale','forEach','resolvedBy','_collapsedCommentsView','focusLast','arrowup','keystrokes','add','formatDateTime','authoredAt','_rearrangeExpand','render','listenTo','_setupKeyboardNavigation','commentViews','4663764OTTwnC','_handleRemoveCommentModel','maxThreadTotalWeight','784298mwqlOe','refreshVisibleViews','target','updateComment','maxCommentCharsWhenCollapsed','4470CuOLvQ','count','554530GvSQMi','_shouldCollapse','viewUid','4010IRYZyn','resolved','change:isResolved','resolveCommentThread','removed','CommentView','focus','set','stopListening','element','destroy','includes','3ednmHL','some','map','commentUpdated','insert','reverse','isEditMode','_updateHasDirtyComment','_findOptimalIndex','_rearrangeCollapse','6426dTKUtb','657768HEobKQ','bindTemplate','Thread\x20comments','_handleNewCommentModel','comments'];_0x5052=function(){return _0x2cfc13;};return _0x5052();}export default class kt extends _0x5681f0{constructor(_0x1765e2,_0x5ef53b,_0x24f686){const _0x6d6deb=_0x3445;super(_0x1765e2);const _0x4f9f52=this[_0x6d6deb(0xad)];this[_0x6d6deb(0xfd)](_0x6d6deb(0xc7),!0x1),this[_0x6d6deb(0xfd)](_0x6d6deb(0xcc),_0x5ef53b[_0x6d6deb(0xb0)][_0x6d6deb(0xcc)]),this[_0x6d6deb(0xfd)](_0x6d6deb(0xb5),!0x1),this[_0x6d6deb(0xc4)]=_0x5ef53b,this[_0x6d6deb(0xbf)]=_0x24f686,this[_0x6d6deb(0xe8)]=this[_0x6d6deb(0xba)](),this[_0x6d6deb(0xd9)]=this[_0x6d6deb(0xba)](),this[_0x6d6deb(0xd7)]=null,this[_0x6d6deb(0xbd)]=new _0x371496(),this[_0x6d6deb(0xe0)]=new _0x3c4812(),this[_0x6d6deb(0xbe)]=new _0x4497ed({'focusables':this[_0x6d6deb(0xe8)],'focusTracker':this[_0x6d6deb(0xbd)],'keystrokeHandler':this[_0x6d6deb(0xe0)],'keystrokeHandlerOptions':{'filter':_0x1309e1=>this[_0x6d6deb(0xe8)][_0x6d6deb(0x104)](_0x16f72d=>_0x16f72d[_0x6d6deb(0xff)])[_0x6d6deb(0x101)](_0x1309e1[_0x6d6deb(0xee)])},'actions':{'focusPrevious':_0x6d6deb(0xdf),'focusNext':_0x6d6deb(0xcd)}}),this[_0x6d6deb(0xdd)]=new _0x41be28(_0x1765e2),this[_0x6d6deb(0xdd)][_0x6d6deb(0xd1)](_0x6d6deb(0xf2))['to'](this,_0x6d6deb(0xcc),_0x34ee39=>_0x34ee39-this[_0x6d6deb(0xbf)][_0x6d6deb(0xb4)]);for(const _0x21d0a6 of _0x5ef53b[_0x6d6deb(0xb0)])this[_0x6d6deb(0xaf)](_0x21d0a6);this[_0x6d6deb(0xb3)](),this[_0x6d6deb(0xe6)](_0x5ef53b[_0x6d6deb(0xb0)],_0x6d6deb(0xe1),(_0x550df1,_0x574c94)=>{const _0x4d1fed=_0x6d6deb,_0x21f036=this[_0x4d1fed(0xc0)](_0x574c94);this[_0x4d1fed(0xcc)]++,this[_0x4d1fed(0xaf)](_0x574c94,_0x21f036),this[_0x4d1fed(0xed)]();}),this[_0x6d6deb(0xe6)](_0x5ef53b[_0x6d6deb(0xb0)],_0x6d6deb(0xcb),(_0xeee708,_0x1bb8dd)=>{const _0x2e848d=_0x6d6deb;this[_0x2e848d(0xcc)]--,this[_0x2e848d(0xea)](_0x1bb8dd),this[_0x2e848d(0xed)]();}),this[_0x6d6deb(0xe6)](_0x5ef53b,_0x6d6deb(0x105),()=>this[_0x6d6deb(0xed)]()),this[_0x6d6deb(0xe6)](_0x5ef53b,_0x6d6deb(0xf8),()=>this[_0x6d6deb(0xb3)]()),this['on'](_0x6d6deb(0xb1),()=>this[_0x6d6deb(0xed)]()),this['on'](_0x6d6deb(0xb7),()=>this[_0x6d6deb(0xed)]()),this[_0x6d6deb(0xce)]({'tag':'ul','attributes':{'class':[_0x6d6deb(0xc9),_0x4f9f52['if'](_0x6d6deb(0xcc),_0x6d6deb(0xb8),_0x3ca9be=>!_0x3ca9be)],'aria-label':_0x283cbc(_0x1765e2,_0x6d6deb(0xae))},'children':this[_0x6d6deb(0xd9)]});}get[_0x3a65be(0xf4)](){const _0x4bf71e=_0x3a65be;return this[_0x4bf71e(0xc4)][_0x4bf71e(0xb6)]>this[_0x4bf71e(0xbf)][_0x4bf71e(0xeb)]&&!this[_0x4bf71e(0xb5)]&&!this[_0x4bf71e(0xc7)];}[_0x3a65be(0xe5)](){const _0x63a0a1=_0x3a65be;super[_0x63a0a1(0xe5)](),this[_0x63a0a1(0xed)](),this[_0x63a0a1(0xe7)]();}[_0x3a65be(0xfc)](_0x2ae345){const _0x36f7e1=_0x3a65be;-0x1===_0x2ae345?this[_0x36f7e1(0xbe)][_0x36f7e1(0xde)]():this[_0x36f7e1(0xbe)][_0x36f7e1(0xc5)]();}[_0x3a65be(0x100)](){const _0x3d17f8=_0x3a65be;this[_0x3d17f8(0xdd)][_0x3d17f8(0x100)]();for(const _0x46d77b of this[_0x3d17f8(0xe8)])_0x46d77b[_0x3d17f8(0x100)]();super[_0x3d17f8(0x100)]();}[_0x3a65be(0xed)](){const _0x17b3c8=_0x3a65be;this[_0x17b3c8(0xf4)]?this[_0x17b3c8(0xaa)]():this[_0x17b3c8(0xe4)]();}[_0x3a65be(0xaf)](_0x37df7c,_0x1511a8){const _0x241e5a=_0x3a65be,_0x10b799=new this[(_0x241e5a(0xbf))][(_0x241e5a(0xfb))](this[_0x241e5a(0xda)],_0x37df7c,{'maxCommentCharsWhenCollapsed':this[_0x241e5a(0xbf)][_0x241e5a(0xf0)],'formatDateTime':this[_0x241e5a(0xbf)][_0x241e5a(0xe2)],'editorConfig':this[_0x241e5a(0xbf)][_0x241e5a(0xc8)]});_0x10b799[_0x241e5a(0xf5)]=_0x37df7c['id'],_0x10b799[_0x241e5a(0xd6)](_0x241e5a(0xc2))['to'](this),_0x10b799[_0x241e5a(0xd6)](_0x241e5a(0xef))['to'](this),_0x10b799[_0x241e5a(0xd6)](_0x241e5a(0xf9))['to'](this),_0x10b799[_0x241e5a(0xd6)](_0x241e5a(0xd5))['to'](this),_0x10b799[_0x241e5a(0xd6)](_0x241e5a(0xbc))['to'](this),this[_0x241e5a(0xe6)](_0x10b799,_0x241e5a(0xd8),()=>this[_0x241e5a(0x109)]()),this[_0x241e5a(0xe8)][_0x241e5a(0xe1)](_0x10b799,_0x1511a8);}[_0x3a65be(0xc0)](_0x404d9f){const _0x3333bd=_0x3a65be,_0x173aa0=this[_0x3333bd(0xc4)][_0x3333bd(0xa9)](_0x404d9f);return this[_0x3333bd(0xd7)]?this[_0x3333bd(0xd7)][_0x3333bd(0xe3)]>_0x404d9f[_0x3333bd(0xe3)]?_0x173aa0-0x1:_0x173aa0:_0x173aa0-0x1;}[_0x3a65be(0xb3)](){const _0x2819dd=_0x3a65be;if(this[_0x2819dd(0xc4)][_0x2819dd(0xdc)]&&this[_0x2819dd(0xc4)][_0x2819dd(0xb9)]){const _0x8b51c7={'id':_0x2819dd(0xf7),'author':this[_0x2819dd(0xc4)][_0x2819dd(0xdc)],'authoredAt':this[_0x2819dd(0xc4)][_0x2819dd(0xb9)],'content':_0x283cbc(this[_0x2819dd(0xda)],_0x2819dd(0xb2)),'attributes':{}};this[_0x2819dd(0xd7)]=new this[(_0x2819dd(0xbf))][(_0x2819dd(0xfb))](this[_0x2819dd(0xda)],_0x8b51c7,{'maxCommentCharsWhenCollapsed':this[_0x2819dd(0xbf)][_0x2819dd(0xf0)],'formatDateTime':this[_0x2819dd(0xbf)][_0x2819dd(0xe2)],'editorConfig':this[_0x2819dd(0xbf)][_0x2819dd(0xc8)],'isSystemComment':!0x0}),this[_0x2819dd(0xe8)][_0x2819dd(0xe1)](this[_0x2819dd(0xd7)],this[_0x2819dd(0xc4)][_0x2819dd(0xa9)](_0x8b51c7));}else this[_0x2819dd(0xd7)]&&(this[_0x2819dd(0xe8)][_0x2819dd(0xcb)](this[_0x2819dd(0xd7)]),this[_0x2819dd(0xd7)][_0x2819dd(0x100)](),this[_0x2819dd(0xd7)]=null);this[_0x2819dd(0xed)]();}[_0x3a65be(0xea)](_0x22e957){const _0x2a48fd=_0x3a65be,_0x11717c=this[_0x2a48fd(0xe8)][_0x2a48fd(0xcb)](_0x22e957['id']);this[_0x2a48fd(0xfe)](_0x11717c),_0x11717c[_0x2a48fd(0x108)]&&this[_0x2a48fd(0x109)](),_0x11717c[_0x2a48fd(0x100)]();}[_0x3a65be(0x109)](){const _0x5548eb=_0x3a65be;this[_0x5548eb(0xc7)]=Array[_0x5548eb(0xd4)](this[_0x5548eb(0xe8)])[_0x5548eb(0x103)](_0x47e249=>_0x47e249[_0x5548eb(0x108)]);}[_0x3a65be(0xaa)](){const _0x49dc49=_0x3a65be,_0x273d22=function(_0x24f760){const _0x2a22e9=_0x3445,_0x56c420=new _0x305846();for(const _0x96bfe5 of _0x24f760)_0x56c420[_0x2a22e9(0xe1)](_0x96bfe5);return _0x56c420;}(this[_0x49dc49(0xe8)]),_0x58f2b6=this[_0x49dc49(0xdd)][_0x49dc49(0xf2)];for(let _0x299fd5=0x1;_0x299fd5<=_0x58f2b6;_0x299fd5++)_0x273d22[_0x49dc49(0xcb)](0x1);for(const _0x43ba2d of _0x273d22)_0x43ba2d[_0x49dc49(0xd2)]();_0x58f2b6>0x0&&_0x273d22[_0x49dc49(0xe1)](this[_0x49dc49(0xdd)],0x1),ms(_0x10771c(Array[_0x49dc49(0xd4)](this[_0x49dc49(0xd9)]),Array[_0x49dc49(0xd4)](_0x273d22)),this[_0x49dc49(0xd9)],_0x273d22);}[_0x3a65be(0xe4)](){const _0x32946c=_0x3a65be;ms(_0x10771c(Array[_0x32946c(0xd4)](this[_0x32946c(0xd9)]),Array[_0x32946c(0xd4)](this[_0x32946c(0xe8)])),this[_0x32946c(0xd9)],this[_0x32946c(0xe8)]);for(const _0xcd3801 of this[_0x32946c(0xd9)])_0xcd3801[_0x32946c(0xc3)]();}[_0x3a65be(0xe7)](){const _0x4fa8c2=_0x3a65be;this[_0x4fa8c2(0xe8)][_0x4fa8c2(0xdb)](_0x3f6aa2=>{const _0x8f13a=_0x4fa8c2;this[_0x8f13a(0xbd)][_0x8f13a(0xe1)](_0x3f6aa2[_0x8f13a(0xff)]),this[_0x8f13a(0xe0)][_0x8f13a(0xe6)](_0x3f6aa2[_0x8f13a(0xff)]);}),this[_0x4fa8c2(0xe8)]['on'](_0x4fa8c2(0xc1),(_0x191568,_0x315258)=>{const _0x574634=_0x4fa8c2;for(const _0x14bea1 of _0x315258[_0x574634(0xfa)])this[_0x574634(0xbd)][_0x574634(0xcb)](_0x14bea1[_0x574634(0xff)]),this[_0x574634(0xe0)][_0x574634(0xfe)](_0x14bea1[_0x574634(0xff)]);for(const _0x3611af of Array[_0x574634(0xd4)](_0x315258[_0x574634(0xbb)])[_0x574634(0x107)]())this[_0x574634(0xbd)][_0x574634(0xe1)](_0x3611af[_0x574634(0xff)]),this[_0x574634(0xe0)][_0x574634(0xe6)](_0x3611af[_0x574634(0xff)]);});}}function ms(_0x5622f0,_0x238ad5,_0x18a630){const _0x25a548=_0x3a65be;let _0x3acf7a=0x0;for(const _0x85803c of _0x5622f0)switch(_0x85803c){case _0x25a548(0x106):_0x238ad5[_0x25a548(0xe1)](_0x18a630[_0x25a548(0xca)](_0x3acf7a),_0x3acf7a),_0x3acf7a++;break;case _0x25a548(0xcf):_0x238ad5[_0x25a548(0xcb)](_0x3acf7a);break;case _0x25a548(0xd0):_0x3acf7a++;}}
|
|
23
|
+
const _0x303fb8=_0x47ef;(function(_0x1b74c1,_0x458d46){const _0x32486a=_0x47ef,_0x5be888=_0x1b74c1();while(!![]){try{const _0x329ae7=parseInt(_0x32486a(0x1dd))/0x1+parseInt(_0x32486a(0x1d5))/0x2+parseInt(_0x32486a(0x1a7))/0x3*(-parseInt(_0x32486a(0x1d0))/0x4)+-parseInt(_0x32486a(0x185))/0x5*(parseInt(_0x32486a(0x1bf))/0x6)+parseInt(_0x32486a(0x18d))/0x7+-parseInt(_0x32486a(0x19e))/0x8*(-parseInt(_0x32486a(0x184))/0x9)+-parseInt(_0x32486a(0x1db))/0xa*(parseInt(_0x32486a(0x1d6))/0xb);if(_0x329ae7===_0x458d46)break;else _0x5be888['push'](_0x5be888['shift']());}catch(_0x2281e0){_0x5be888['push'](_0x5be888['shift']());}}}(_0x1807,0x675e9));function _0x47ef(_0x57f057,_0x44f590){const _0x180734=_0x1807();return _0x47ef=function(_0x47ef3c,_0x1c1e7d){_0x47ef3c=_0x47ef3c-0x180;let _0x333e0b=_0x180734[_0x47ef3c];return _0x333e0b;},_0x47ef(_0x57f057,_0x44f590);}import{View as _0x554f40,FocusCycler as _0xdcb90a}from'ckeditor5/src/ui.js';import{diff as _0x5a67c4,Collection as _0x36d48c,FocusTracker as _0x11b6ad,KeystrokeHandler as _0x4548f6}from'ckeditor5/src/utils.js';import{getTranslation as _0x21d5e7}from'../../../utils/common-translations.js';import _0x374647 from'./collapsedcommentsview.js';export default class kt extends _0x554f40{constructor(_0x5b7c39,_0x38ad64,_0x1b759f){const _0x4ec907=_0x47ef;super(_0x5b7c39);const _0x4c8891=this[_0x4ec907(0x1d3)];this[_0x4ec907(0x18b)](_0x4ec907(0x19f),!0x1),this[_0x4ec907(0x18b)](_0x4ec907(0x1cf),_0x38ad64[_0x4ec907(0x191)][_0x4ec907(0x1cf)]),this[_0x4ec907(0x18b)](_0x4ec907(0x1b1),!0x1),this[_0x4ec907(0x18c)]=_0x38ad64,this[_0x4ec907(0x1bb)]=_0x1b759f,this[_0x4ec907(0x18f)]=this[_0x4ec907(0x18a)](),this[_0x4ec907(0x19a)]=this[_0x4ec907(0x18a)](),this[_0x4ec907(0x1aa)]=null,this[_0x4ec907(0x1df)]=new _0x11b6ad(),this[_0x4ec907(0x1a5)]=new _0x4548f6(),this[_0x4ec907(0x1ce)]=new _0xdcb90a({'focusables':this[_0x4ec907(0x18f)],'focusTracker':this[_0x4ec907(0x1df)],'keystrokeHandler':this[_0x4ec907(0x1a5)],'keystrokeHandlerOptions':{'filter':_0x45b036=>this[_0x4ec907(0x18f)][_0x4ec907(0x1a2)](_0x59bcb3=>_0x59bcb3[_0x4ec907(0x1cd)])[_0x4ec907(0x1bc)](_0x45b036[_0x4ec907(0x1d4)])},'actions':{'focusPrevious':_0x4ec907(0x1b4),'focusNext':_0x4ec907(0x197)}}),this[_0x4ec907(0x1c4)]=new _0x374647(_0x5b7c39),this[_0x4ec907(0x1c4)][_0x4ec907(0x18e)](_0x4ec907(0x186))['to'](this,_0x4ec907(0x1cf),_0x2d1c22=>_0x2d1c22-this[_0x4ec907(0x1bb)][_0x4ec907(0x189)]);for(const _0x56e8fc of _0x38ad64[_0x4ec907(0x191)])this[_0x4ec907(0x19b)](_0x56e8fc);this[_0x4ec907(0x1a6)](),this[_0x4ec907(0x1c9)](_0x38ad64[_0x4ec907(0x191)],_0x4ec907(0x1ae),(_0x27a765,_0xc01efe)=>{const _0x23b90c=_0x4ec907,_0x1d4e3e=this[_0x23b90c(0x1e0)](_0xc01efe);this[_0x23b90c(0x1cf)]++,this[_0x23b90c(0x19b)](_0xc01efe,_0x1d4e3e),this[_0x23b90c(0x1b5)]();}),this[_0x4ec907(0x1c9)](_0x38ad64[_0x4ec907(0x191)],_0x4ec907(0x1c0),(_0x549f75,_0x315d04)=>{const _0x5bdd51=_0x4ec907;this[_0x5bdd51(0x1cf)]--,this[_0x5bdd51(0x1da)](_0x315d04),this[_0x5bdd51(0x1b5)]();}),this[_0x4ec907(0x1c9)](_0x38ad64,_0x4ec907(0x1c6),()=>this[_0x4ec907(0x1b5)]()),this[_0x4ec907(0x1c9)](_0x38ad64,_0x4ec907(0x199),()=>this[_0x4ec907(0x1a6)]()),this['on'](_0x4ec907(0x1b0),()=>this[_0x4ec907(0x1b5)]()),this['on'](_0x4ec907(0x1be),()=>this[_0x4ec907(0x1b5)]()),this[_0x4ec907(0x1a3)]({'tag':'ul','attributes':{'class':[_0x4ec907(0x1c5),_0x4c8891['if'](_0x4ec907(0x1cf),_0x4ec907(0x1b9),_0x3d5505=>!_0x3d5505)],'aria-label':_0x21d5e7(_0x5b7c39,_0x4ec907(0x196))},'children':this[_0x4ec907(0x19a)]});}get[_0x303fb8(0x1a4)](){const _0x4c6bed=_0x303fb8;return this[_0x4c6bed(0x18c)][_0x4c6bed(0x1bd)]>this[_0x4c6bed(0x1bb)][_0x4c6bed(0x1ca)]&&!this[_0x4c6bed(0x1b1)]&&!this[_0x4c6bed(0x19f)];}[_0x303fb8(0x1a1)](){const _0x5de1ac=_0x303fb8;super[_0x5de1ac(0x1a1)](),this[_0x5de1ac(0x1b5)](),this[_0x5de1ac(0x188)]();}[_0x303fb8(0x1ba)](_0xf9660){const _0x393d48=_0x303fb8;-0x1===_0xf9660?this[_0x393d48(0x1ce)][_0x393d48(0x1d7)]():this[_0x393d48(0x1ce)][_0x393d48(0x195)]();}[_0x303fb8(0x1c1)](){const _0x2274ee=_0x303fb8;this[_0x2274ee(0x1c4)][_0x2274ee(0x1c1)]();for(const _0x21f963 of this[_0x2274ee(0x18f)])_0x21f963[_0x2274ee(0x1c1)]();super[_0x2274ee(0x1c1)]();}[_0x303fb8(0x1b5)](){const _0x149eb4=_0x303fb8;this[_0x149eb4(0x1a4)]?this[_0x149eb4(0x1b8)]():this[_0x149eb4(0x1c8)]();}[_0x303fb8(0x19b)](_0xc43794,_0x2f51d9){const _0x22525f=_0x303fb8,_0x14d965=new this[(_0x22525f(0x1bb))][(_0x22525f(0x1c3))](this[_0x22525f(0x180)],_0xc43794,{'maxCommentCharsWhenCollapsed':this[_0x22525f(0x1bb)][_0x22525f(0x19c)],'formatDateTime':this[_0x22525f(0x1bb)][_0x22525f(0x194)],'editorConfig':this[_0x22525f(0x1bb)][_0x22525f(0x1b3)]});_0x14d965[_0x22525f(0x192)]=_0xc43794['id'],_0x14d965[_0x22525f(0x181)](_0x22525f(0x1e1))['to'](this),_0x14d965[_0x22525f(0x181)](_0x22525f(0x1d2))['to'](this),_0x14d965[_0x22525f(0x181)](_0x22525f(0x1a0))['to'](this),_0x14d965[_0x22525f(0x181)](_0x22525f(0x1c7))['to'](this),_0x14d965[_0x22525f(0x181)](_0x22525f(0x1cc))['to'](this),this[_0x22525f(0x1c9)](_0x14d965,_0x22525f(0x198),()=>this[_0x22525f(0x1d8)]()),this[_0x22525f(0x18f)][_0x22525f(0x1ae)](_0x14d965,_0x2f51d9);}[_0x303fb8(0x1e0)](_0x13b282){const _0x580e66=_0x303fb8,_0x57549c=this[_0x580e66(0x18c)][_0x580e66(0x1dc)](_0x13b282);return this[_0x580e66(0x1aa)]?this[_0x580e66(0x1aa)][_0x580e66(0x1ad)]>_0x13b282[_0x580e66(0x1ad)]?_0x57549c-0x1:_0x57549c:_0x57549c-0x1;}[_0x303fb8(0x1a6)](){const _0xc17446=_0x303fb8;if(this[_0xc17446(0x18c)][_0xc17446(0x1d9)]&&this[_0xc17446(0x18c)][_0xc17446(0x1b7)]){const _0xb34219={'id':_0xc17446(0x187),'author':this[_0xc17446(0x18c)][_0xc17446(0x1d9)],'authoredAt':this[_0xc17446(0x18c)][_0xc17446(0x1b7)],'content':_0x21d5e7(this[_0xc17446(0x180)],_0xc17446(0x193)),'attributes':{}};this[_0xc17446(0x1aa)]=new this[(_0xc17446(0x1bb))][(_0xc17446(0x1c3))](this[_0xc17446(0x180)],_0xb34219,{'maxCommentCharsWhenCollapsed':this[_0xc17446(0x1bb)][_0xc17446(0x19c)],'formatDateTime':this[_0xc17446(0x1bb)][_0xc17446(0x194)],'editorConfig':this[_0xc17446(0x1bb)][_0xc17446(0x1b3)],'isSystemComment':!0x0}),this[_0xc17446(0x18f)][_0xc17446(0x1ae)](this[_0xc17446(0x1aa)],this[_0xc17446(0x18c)][_0xc17446(0x1dc)](_0xb34219));}else this[_0xc17446(0x1aa)]&&(this[_0xc17446(0x18f)][_0xc17446(0x1c0)](this[_0xc17446(0x1aa)]),this[_0xc17446(0x1aa)][_0xc17446(0x1c1)](),this[_0xc17446(0x1aa)]=null);this[_0xc17446(0x1b5)]();}[_0x303fb8(0x1da)](_0xbf0936){const _0x1398cd=_0x303fb8,_0x1be38f=this[_0x1398cd(0x18f)][_0x1398cd(0x1c0)](_0xbf0936['id']);this[_0x1398cd(0x1cb)](_0x1be38f),_0x1be38f[_0x1398cd(0x1c2)]&&this[_0x1398cd(0x1d8)](),_0x1be38f[_0x1398cd(0x1c1)]();}[_0x303fb8(0x1d8)](){const _0x2ee948=_0x303fb8;this[_0x2ee948(0x19f)]=Array[_0x2ee948(0x1af)](this[_0x2ee948(0x18f)])[_0x2ee948(0x1b2)](_0x2bd20c=>_0x2bd20c[_0x2ee948(0x1c2)]);}[_0x303fb8(0x1b8)](){const _0x185fb4=_0x303fb8,_0x2adac9=function(_0x4449b4){const _0x34d699=_0x47ef,_0x4a7563=new _0x36d48c();for(const _0x39a5b9 of _0x4449b4)_0x4a7563[_0x34d699(0x1ae)](_0x39a5b9);return _0x4a7563;}(this[_0x185fb4(0x18f)]),_0x3f928d=this[_0x185fb4(0x1c4)][_0x185fb4(0x186)];for(let _0x23c83d=0x1;_0x23c83d<=_0x3f928d;_0x23c83d++)_0x2adac9[_0x185fb4(0x1c0)](0x1);for(const _0x292666 of _0x2adac9)_0x292666[_0x185fb4(0x1b6)]();_0x3f928d>0x0&&_0x2adac9[_0x185fb4(0x1ae)](this[_0x185fb4(0x1c4)],0x1),ms(_0x5a67c4(Array[_0x185fb4(0x1af)](this[_0x185fb4(0x19a)]),Array[_0x185fb4(0x1af)](_0x2adac9)),this[_0x185fb4(0x19a)],_0x2adac9);}[_0x303fb8(0x1c8)](){const _0x5ec170=_0x303fb8;ms(_0x5a67c4(Array[_0x5ec170(0x1af)](this[_0x5ec170(0x19a)]),Array[_0x5ec170(0x1af)](this[_0x5ec170(0x18f)])),this[_0x5ec170(0x19a)],this[_0x5ec170(0x18f)]);for(const _0x453a36 of this[_0x5ec170(0x19a)])_0x453a36[_0x5ec170(0x182)]();}[_0x303fb8(0x188)](){const _0x22e1ec=_0x303fb8;this[_0x22e1ec(0x18f)][_0x22e1ec(0x1a8)](_0x24dd6f=>{const _0x17d96b=_0x22e1ec;this[_0x17d96b(0x1df)][_0x17d96b(0x1ae)](_0x24dd6f[_0x17d96b(0x1cd)]),this[_0x17d96b(0x1a5)][_0x17d96b(0x1c9)](_0x24dd6f[_0x17d96b(0x1cd)]);}),this[_0x22e1ec(0x18f)]['on'](_0x22e1ec(0x1ab),(_0x5d3b9b,_0x35f08e)=>{const _0x4d711f=_0x22e1ec;for(const _0x583263 of _0x35f08e[_0x4d711f(0x1ac)])this[_0x4d711f(0x1df)][_0x4d711f(0x1c0)](_0x583263[_0x4d711f(0x1cd)]),this[_0x4d711f(0x1a5)][_0x4d711f(0x1cb)](_0x583263[_0x4d711f(0x1cd)]);for(const _0x4e0409 of Array[_0x4d711f(0x1af)](_0x35f08e[_0x4d711f(0x190)])[_0x4d711f(0x1d1)]())this[_0x4d711f(0x1df)][_0x4d711f(0x1ae)](_0x4e0409[_0x4d711f(0x1cd)]),this[_0x4d711f(0x1a5)][_0x4d711f(0x1c9)](_0x4e0409[_0x4d711f(0x1cd)]);});}}function _0x1807(){const _0x413638=['ck-thread__comments','commentUpdated','editorReady','_rearrangeExpand','listenTo','maxThreadTotalWeight','stopListening','editorDestroyed','element','focusCycler','length','369028ewQbXK','reverse','updateComment','bindTemplate','target','626330qCclHy','11CrDTRW','focusLast','_updateHasDirtyComment','resolvedBy','_handleRemoveCommentModel','6835510ircKEI','_findOptimalIndex','459694DFZmAI','delete','focusTracker','_calculatePosition','removeComment','locale','delegate','expand','equal','9FeHJBj','200gQcmEt','count','resolved','_setupKeyboardNavigation','maxCommentsWhenCollapsed','createCollection','set','_model','922537QzBMZo','bind','commentViews','added','comments','viewUid','Marked\x20as\x20resolved','formatDateTime','focusFirst','Thread\x20comments','arrowdown','change:isEditMode','change:isResolved','visibleViews','_handleNewCommentModel','maxCommentCharsWhenCollapsed','get','4451192QCoLoV','hasDirtyComment','resolveCommentThread','render','map','setTemplate','_shouldCollapse','keystrokes','_handleInfoComment','3KXIHDU','forEach','insert','resolvedCommentView','change','removed','authoredAt','add','from','change:isActive','isActive','some','editorConfig','arrowup','refreshVisibleViews','collapse','resolvedAt','_rearrangeCollapse','ck-hidden','focus','_config','includes','weight','change:hasDirtyComment','39276QmxSrF','remove','destroy','isEditMode','CommentView','_collapsedCommentsView'];_0x1807=function(){return _0x413638;};return _0x1807();}function ms(_0x12bef9,_0x44e665,_0xd70937){const _0x5b81d0=_0x303fb8;let _0x190a18=0x0;for(const _0x49233d of _0x12bef9)switch(_0x49233d){case _0x5b81d0(0x1a9):_0x44e665[_0x5b81d0(0x1ae)](_0xd70937[_0x5b81d0(0x19d)](_0x190a18),_0x190a18),_0x190a18++;break;case _0x5b81d0(0x1de):_0x44e665[_0x5b81d0(0x1c0)](_0x190a18);break;case _0x5b81d0(0x183):_0x190a18++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x568402=_0x3069;(function(_0xb17333,_0x2d0201){const _0x4b47b0=_0x3069,_0x1e5b95=_0xb17333();while(!![]){try{const _0x220783=-parseInt(_0x4b47b0(0x1f9))/0x1*(-parseInt(_0x4b47b0(0x1f1))/0x2)+parseInt(_0x4b47b0(0x1f4))/0x3*(-parseInt(_0x4b47b0(0x1f7))/0x4)+-parseInt(_0x4b47b0(0x1fb))/0x5+parseInt(_0x4b47b0(0x1f6))/0x6*(parseInt(_0x4b47b0(0x1f5))/0x7)+parseInt(_0x4b47b0(0x1f8))/0x8+parseInt(_0x4b47b0(0x1ee))/0x9+-parseInt(_0x4b47b0(0x1fd))/0xa*(-parseInt(_0x4b47b0(0x1f3))/0xb);if(_0x220783===_0x2d0201)break;else _0x1e5b95['push'](_0x1e5b95['shift']());}catch(_0x1637cd){_0x1e5b95['push'](_0x1e5b95['shift']());}}}(_0x4b13,0x8f944));import{View as _0x385520}from'ckeditor5/src/ui.js';function _0x4b13(){const _0x2373c2=['5511920yohEPS','set','focus','contextValue','element','5621409YvkCAX','ck-context__value','bindTemplate','19182JPcqzP','THREAD_CONTEXT_LABEL','11XrkcpL','632268uDdmKa','7bpbNHa','4591308hbPHHT','20xxUdTa','3950264BZfBxm','3nTYAaX','span','4108435qjFzTY','setTemplate'];_0x4b13=function(){return _0x2373c2;};return _0x4b13();}function _0x3069(_0x422f0e,_0x34974a){const _0x4b13cb=_0x4b13();return _0x3069=function(_0x306944,_0x1758be){_0x306944=_0x306944-0x1eb;let _0x412d48=_0x4b13cb[_0x306944];return _0x412d48;},_0x3069(_0x422f0e,_0x34974a);}import{getTranslation as _0x6cb545}from'../../../utils/common-translations.js';export default class ls extends _0x385520{constructor(_0x450922){const _0x1c51c2=_0x3069;super(_0x450922);const _0x5dda39=this[_0x1c51c2(0x1f0)];this[_0x1c51c2(0x1fe)](_0x1c51c2(0x1ec),''),this[_0x1c51c2(0x1fc)]({'tag':_0x1c51c2(0x1fa),'attributes':{'class':['ck',_0x1c51c2(0x1ef)],'aria-label':_0x5dda39['to'](_0x1c51c2(0x1ec),_0x18332a=>_0x6cb545(_0x450922,_0x1c51c2(0x1f2),_0x18332a)),'tabindex':-0x1},'children':[{'text':_0x5dda39['to'](_0x1c51c2(0x1ec))}]});}[_0x568402(0x1eb)](){const _0x445438=_0x568402;this[_0x445438(0x1ed)][_0x445438(0x1eb)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1410b6=_0x5bfd;(function(_0xa0b4b,_0x2bd195){const _0x533bf4=_0x5bfd,_0x51a5b9=_0xa0b4b();while(!![]){try{const _0xbeb3bf=parseInt(_0x533bf4(0x1c2))/0x1+-parseInt(_0x533bf4(0x1bc))/0x2+parseInt(_0x533bf4(0x1b4))/0x3*(-parseInt(_0x533bf4(0x1a7))/0x4)+-parseInt(_0x533bf4(0x1e3))/0x5*(-parseInt(_0x533bf4(0x1b3))/0x6)+-parseInt(_0x533bf4(0x1a5))/0x7+parseInt(_0x533bf4(0x1cb))/0x8+parseInt(_0x533bf4(0x1ba))/0x9*(parseInt(_0x533bf4(0x1d8))/0xa);if(_0xbeb3bf===_0x2bd195)break;else _0x51a5b9['push'](_0x51a5b9['shift']());}catch(_0x28f41c){_0x51a5b9['push'](_0x51a5b9['shift']());}}}(_0x3431,0x6faed));import{View as _0x45cbec,ButtonView as _0x3c2598,FocusCycler as _0x3201d6}from'ckeditor5/src/ui.js';function _0x5bfd(_0x21e33a,_0xc5190f){const _0x343192=_0x3431();return _0x5bfd=function(_0x5bfd6b,_0x5e7bc0){_0x5bfd6b=_0x5bfd6b-0x1a2;let _0x40bd6d=_0x343192[_0x5bfd6b];return _0x40bd6d;},_0x5bfd(_0x21e33a,_0xc5190f);}import{FocusTracker as _0x1e66e6,KeystrokeHandler as _0x56f0d9}from'ckeditor5/src/utils.js';import{getTranslation as _0x157dd0}from'../../../utils/common-translations.js';import _0x258a33 from'../../../../theme/icons/undo.svg';import _0x5497da from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;function _0x3431(){const _0x3a50d4=['789051yiBvAW','context','lastIndexOf','contextValue','_model','add','9iUtOMR','label','704226qapUEh','...','_attachContextActions','locale','div','remove','101851mVttNv','_createContextView','scrollWidth','shift+tab','value','isEnabled','tooltip','isResolved','Reopen','1255840BHlGpT','hasContext','render','createCollection','mouseleave','bind','ck-context','reopenButtonView','listenTo','Comment\x20was\x20made\x20on\x20an\x20element','contextView','element','focus','4146140VtkvMV','.ck-context__value','.ck-context','icon','bindTemplate','ck-context--quotes','isVisible','ck-annotation__actions','mouseenter','focusFirst','focusTracker','5YjTFoj','offsetWidth','fire','focusables','ck-context-wrapper','focusCycler','_trimContextValue','keystrokes','isReadOnly','setTemplate','43435gvXDIF','reopenCommentThread','4GlMrFg','overlay','length','execute','classList','_createReopenButton','isResolvable','tab','substring','querySelector','ck-thread__header','_setupKeyboardNavigation','2432058ADACSx'];_0x3431=function(){return _0x3a50d4;};return _0x3431();}export default class ts extends _0x45cbec{constructor(_0x2b6352,_0x1524ab){const _0x3eba36=_0x5bfd;super(_0x2b6352);const _0x341284=this[_0x3eba36(0x1dc)];this[_0x3eba36(0x1b8)]=_0x1524ab,this[_0x3eba36(0x1d2)]=this[_0x3eba36(0x1ac)](),this[_0x3eba36(0x1d5)]=this[_0x3eba36(0x1c3)](),this[_0x3eba36(0x1e6)]=this[_0x3eba36(0x1ce)]([this[_0x3eba36(0x1d5)],this[_0x3eba36(0x1d2)]]),this[_0x3eba36(0x1e2)]=new _0x1e66e6(),this[_0x3eba36(0x1a2)]=new _0x56f0d9(),this[_0x3eba36(0x1e8)]=new _0x3201d6({'focusables':this[_0x3eba36(0x1e6)],'focusTracker':this[_0x3eba36(0x1e2)],'keystrokeHandler':this[_0x3eba36(0x1a2)],'actions':{'focusPrevious':_0x3eba36(0x1c5),'focusNext':_0x3eba36(0x1ae)}}),this[_0x3eba36(0x1d0)](_0x3eba36(0x1cc))['to'](this[_0x3eba36(0x1b8)],_0x3eba36(0x1b5),_0x18839b=>!!_0x18839b),this[_0x3eba36(0x1d0)](_0x3eba36(0x1b7))['to'](this[_0x3eba36(0x1b8)],_0x3eba36(0x1b5),_0x2d26ed=>_0x2d26ed&&_0x2d26ed[_0x3eba36(0x1c6)]?this[_0x3eba36(0x1e9)](_0x2d26ed[_0x3eba36(0x1c6)]):_0x157dd0(this[_0x3eba36(0x1bf)],_0x3eba36(0x1d4))),this[_0x3eba36(0x1a4)]({'tag':_0x3eba36(0x1c0),'attributes':{'class':[_0x3eba36(0x1b1)]},'children':[{'tag':_0x3eba36(0x1c0),'attributes':{'class':[_0x3eba36(0x1e7)]},'children':[{'tag':_0x3eba36(0x1c0),'attributes':{'class':[_0x3eba36(0x1d1),_0x341284['if'](_0x3eba36(0x1cc),_0x3eba36(0x1dd))]},'children':[this[_0x3eba36(0x1d5)]]}]},{'tag':_0x3eba36(0x1c0),'attributes':{'class':[_0x3eba36(0x1df)]},'children':[this[_0x3eba36(0x1d2)]]}]});}[_0x1410b6(0x1cd)](){const _0x150fdd=_0x1410b6;super[_0x150fdd(0x1cd)](),this[_0x150fdd(0x1be)](),this[_0x150fdd(0x1b2)]();}[_0x1410b6(0x1d7)](){const _0x3b40c7=_0x1410b6;this[_0x3b40c7(0x1e8)][_0x3b40c7(0x1e1)]();}[_0x1410b6(0x1ac)](){const _0x12cb33=_0x1410b6,_0x5858fb=new _0x3c2598(this[_0x12cb33(0x1bf)]);return _0x5858fb[_0x12cb33(0x1bb)]=_0x157dd0(this[_0x12cb33(0x1bf)],_0x12cb33(0x1ca)),_0x5858fb[_0x12cb33(0x1c8)]=_0x157dd0(this[_0x12cb33(0x1bf)],_0x12cb33(0x1ca)),_0x5858fb[_0x12cb33(0x1db)]=_0x258a33,_0x5858fb[_0x12cb33(0x1d0)](_0x12cb33(0x1c7))['to'](this[_0x12cb33(0x1b8)],_0x12cb33(0x1a3),_0x326c09=>!_0x326c09),_0x5858fb[_0x12cb33(0x1d0)](_0x12cb33(0x1de))['to'](this[_0x12cb33(0x1b8)],_0x12cb33(0x1ad),this[_0x12cb33(0x1b8)],_0x12cb33(0x1c9),(_0x344d47,_0x598a2f)=>_0x344d47&&_0x598a2f),_0x5858fb['on'](_0x12cb33(0x1aa),()=>{const _0x117476=_0x12cb33;this[_0x117476(0x1e5)](_0x117476(0x1a6),this[_0x117476(0x1b8)]['id']);}),_0x5858fb;}[_0x1410b6(0x1e9)](_0x2bb125){const _0xba4d73=_0x1410b6;if(_0x2bb125[_0xba4d73(0x1a9)]<0x96)return _0x2bb125;const _0x5ee889=_0x2bb125[_0xba4d73(0x1b6)]('\x20',0x93);return _0x2bb125[_0xba4d73(0x1af)](0x0,_0x5ee889>-0x1?_0x5ee889:0x93)+_0xba4d73(0x1bd);}[_0x1410b6(0x1be)](){const _0x34cafc=_0x1410b6,_0xa39b83=this[_0x34cafc(0x1d6)][_0x34cafc(0x1b0)](_0x34cafc(0x1da)),_0x6ba98e=_0xa39b83[_0x34cafc(0x1b0)](_0x34cafc(0x1d9));this[_0x34cafc(0x1d3)](_0xa39b83,_0x34cafc(0x1e0),()=>{const _0x11f08a=_0x34cafc;_0x6ba98e[_0x11f08a(0x1e4)]<_0x6ba98e[_0x11f08a(0x1c4)]&&_0xa39b83[_0x11f08a(0x1ab)][_0x11f08a(0x1b9)](_0x11f08a(0x1a8));}),this[_0x34cafc(0x1d3)](_0xa39b83,_0x34cafc(0x1cf),()=>{const _0x33f9a5=_0x34cafc;_0xa39b83[_0x33f9a5(0x1ab)][_0x33f9a5(0x1c1)](_0x33f9a5(0x1a8));});}[_0x1410b6(0x1b2)](){const _0xa3d5e6=_0x1410b6;this[_0xa3d5e6(0x1a2)][_0xa3d5e6(0x1d3)](this[_0xa3d5e6(0x1d6)]);for(const _0x1a9d67 of this[_0xa3d5e6(0x1e6)])this[_0xa3d5e6(0x1e2)][_0xa3d5e6(0x1b9)](_0x1a9d67[_0xa3d5e6(0x1d6)]),this[_0xa3d5e6(0x1a2)][_0xa3d5e6(0x1d3)](_0x1a9d67[_0xa3d5e6(0x1d6)]);}[_0x1410b6(0x1c3)](){const _0x6c3958=_0x1410b6,_0x30cf7b=new _0x5497da(this[_0x6c3958(0x1bf)]);return _0x30cf7b[_0x6c3958(0x1d0)](_0x6c3958(0x1b7))['to'](this),_0x30cf7b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x59d64f=_0x26ad;function _0x26ad(_0x1a4d18,_0x2d350e){const _0x45ebbb=_0x45eb();return _0x26ad=function(_0x26adf8,_0x4d07f6){_0x26adf8=_0x26adf8-0x130;let _0x3251f1=_0x45ebbb[_0x26adf8];return _0x3251f1;},_0x26ad(_0x1a4d18,_0x2d350e);}(function(_0xf5d15d,_0x29dc76){const _0x9213f8=_0x26ad,_0x1ffc23=_0xf5d15d();while(!![]){try{const _0x1c0ee8=parseInt(_0x9213f8(0x145))/0x1*(-parseInt(_0x9213f8(0x137))/0x2)+parseInt(_0x9213f8(0x14f))/0x3*(-parseInt(_0x9213f8(0x130))/0x4)+-parseInt(_0x9213f8(0x134))/0x5+-parseInt(_0x9213f8(0x138))/0x6+-parseInt(_0x9213f8(0x146))/0x7+parseInt(_0x9213f8(0x13d))/0x8+parseInt(_0x9213f8(0x153))/0x9*(parseInt(_0x9213f8(0x131))/0xa);if(_0x1c0ee8===_0x29dc76)break;else _0x1ffc23['push'](_0x1ffc23['shift']());}catch(_0x2d916b){_0x1ffc23['push'](_0x1ffc23['shift']());}}}(_0x45eb,0x287cd));import{View as _0x1e6e5f}from'ckeditor5/src/ui.js';import _0x49af29 from'./commentinputview.js';function _0x45eb(){const _0x4887a3=['1155610ZGFytm','createEditor','value','839040eEaHXo','_focusOnNonInteractiveMouseDown','bind','458940arvSBs','474054RKBJRO','userView','commentInputView','isFocused','ck-thread__user','914824yPalWD','ck-comment__input-container--active','editorReady','mousedown','render','some','editor','editing','1HFjSno','1367968MNCzre','extendTemplate','preventDefault','contains','focus','set','destroy','setTemplate','target','950562CSzjPn','editorDestroyed','ck-comment__input-container','view','81GllXbM','focusTracker','showButtons','element','then','filter','showInput','div','change:showInput','focusCycler','bindTemplate','getDomRoot','ck-thread__input','listenTo','delegate','4KEXdnb'];_0x45eb=function(){return _0x4887a3;};return _0x45eb();}import{UserView as _0x42813f}from'ckeditor5-collaboration/src/collaboration-core.js';export default class xt extends _0x1e6e5f{constructor(_0x33bf2a,_0x20c2c6,_0x14555c){const _0x886a4f=_0x26ad;super(_0x33bf2a),this[_0x886a4f(0x13a)]=new _0x49af29(_0x33bf2a,_0x14555c),this[_0x886a4f(0x15c)]=this[_0x886a4f(0x13a)][_0x886a4f(0x15c)],this[_0x886a4f(0x13a)][_0x886a4f(0x136)](_0x886a4f(0x155))['to'](this[_0x886a4f(0x13a)][_0x886a4f(0x154)],_0x886a4f(0x13b),this[_0x886a4f(0x13a)],_0x886a4f(0x133),(_0x43c384,_0x111424)=>_0x43c384||!!_0x111424),this[_0x886a4f(0x14b)](_0x886a4f(0x159),!0x1),this['on'](_0x886a4f(0x15b),()=>{const _0x408d36=_0x886a4f;this[_0x408d36(0x159)]&&!this[_0x408d36(0x13a)][_0x408d36(0x143)]&&this[_0x408d36(0x13a)][_0x408d36(0x132)]();}),this[_0x886a4f(0x13a)][_0x886a4f(0x161)](_0x886a4f(0x13f))['to'](this),this[_0x886a4f(0x13a)][_0x886a4f(0x161)](_0x886a4f(0x150))['to'](this),this[_0x886a4f(0x139)]=new _0x42813f(_0x33bf2a,_0x20c2c6),this[_0x886a4f(0x139)][_0x886a4f(0x147)]({'attributes':{'class':_0x886a4f(0x13c),'aria-hidden':!0x0}}),this[_0x886a4f(0x13a)][_0x886a4f(0x147)]({'attributes':{'class':_0x886a4f(0x15f)}}),this[_0x886a4f(0x14d)]({'tag':_0x886a4f(0x15a),'attributes':{'class':[_0x886a4f(0x151),this[_0x886a4f(0x15d)]['if'](_0x886a4f(0x159),_0x886a4f(0x13e))]},'children':[this[_0x886a4f(0x139)],this[_0x886a4f(0x13a)]]});}[_0x59d64f(0x141)](){const _0x1b7943=_0x59d64f;super[_0x1b7943(0x141)](),this[_0x1b7943(0x135)]();}[_0x59d64f(0x14c)](){const _0x2965ad=_0x59d64f;return this[_0x2965ad(0x13a)][_0x2965ad(0x14c)]()[_0x2965ad(0x157)](()=>super[_0x2965ad(0x14c)]());}[_0x59d64f(0x14a)](_0x29610f){const _0x4cd6b7=_0x59d64f;this[_0x4cd6b7(0x13a)][_0x4cd6b7(0x14a)](_0x29610f);}[_0x59d64f(0x135)](){const _0x44c371=_0x59d64f;this[_0x44c371(0x160)](this[_0x44c371(0x156)],_0x44c371(0x140),(_0x2ee582,_0x45779b)=>{const _0x2bbf83=_0x44c371,{submitButtonView:_0x4209fb,cancelButtonView:_0x554799,editor:_0x4f55fd}=this[_0x2bbf83(0x13a)];[_0x4209fb[_0x2bbf83(0x156)],_0x554799[_0x2bbf83(0x156)],_0x4f55fd?_0x4f55fd[_0x2bbf83(0x144)][_0x2bbf83(0x152)][_0x2bbf83(0x15e)]():null][_0x2bbf83(0x158)](_0x37dbd5=>_0x37dbd5)[_0x2bbf83(0x142)](_0x8940a4=>_0x8940a4[_0x2bbf83(0x149)](_0x45779b[_0x2bbf83(0x14e)]))||(this[_0x2bbf83(0x14a)](),_0x45779b[_0x2bbf83(0x148)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x599e90=_0x4094;function _0x4094(_0x51d742,_0x1af173){const _0x2a463c=_0x2a46();return _0x4094=function(_0x4094c5,_0x494e07){_0x4094c5=_0x4094c5-0x1a1;let _0x3baafd=_0x2a463c[_0x4094c5];return _0x3baafd;},_0x4094(_0x51d742,_0x1af173);}(function(_0x817507,_0xb3e59b){const _0x756dd5=_0x4094,_0xca6b61=_0x817507();while(!![]){try{const _0x270c10=-parseInt(_0x756dd5(0x1f3))/0x1*(-parseInt(_0x756dd5(0x1ca))/0x2)+-parseInt(_0x756dd5(0x1ae))/0x3+-parseInt(_0x756dd5(0x1f4))/0x4+-parseInt(_0x756dd5(0x1a3))/0x5*(-parseInt(_0x756dd5(0x1be))/0x6)+parseInt(_0x756dd5(0x1e1))/0x7+parseInt(_0x756dd5(0x1d8))/0x8+parseInt(_0x756dd5(0x1fa))/0x9;if(_0x270c10===_0xb3e59b)break;else _0xca6b61['push'](_0xca6b61['shift']());}catch(_0x40eec5){_0xca6b61['push'](_0xca6b61['shift']());}}}(_0x2a46,0x318e4));import{ConfirmMixin as _0x5a51e6,LateFocusButtonView as _0x59c556}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x288383}from'ckeditor5/src/core.js';import _0x220fa1 from'./basecommentthreadview.js';function _0x2a46(){const _0x2f5b1c=['_cancelAllConfirms','high','showConfirm','get','stop','placeholder','label','isEnabled','ck-thread','render','commentViews','ck-thread--','ck-thread--unlinked','extendTemplate','37871eSGmNV','844632XUReus','commentThreadChildren','add','isUnlinked','_createResolveButton','ck-thread--active','141354VZgkno','cancelConfirm','Resolve','774085LWPWUt','change:archivedAt','actionIndicator','_updateArchivedThreadHeader','icon','isResolved','removeConfirm','ck-reset_all-excluded','length','focusables','then','614349BetSqF','check','element','removeCommentThread','ariaLabel','focus','.ck-thread__container','fire','set','isConfirm','bindTemplate','Write\x20a\x20comment...','containerElement','div','isActive','change:isReadOnly','6DrfhZo','_boundFirstCommentView','resolveCommentThread','isVisible','execute','has','getTemplate','bind','querySelector','commentThreadInputView','createCollection','listitem','2gBjVpt','unbind','Delete\x20comment\x20thread?','isReadOnly','ck-comment--resolve','listenTo','ck-thread--remove-confirmation','_model','change:isActive','actionBar','_bindFirstCommentView','tooltip','ariaDescriptionView','archivedAt','1895232nkwvAZ','setTemplate','isSystemComment','commentsListView','ck-thread__container','ck-rounded-corners','removeButton','resolveButton','commentThreadHeaderView','1215361OPiuAp','locale','isResolvable','remove'];_0x2a46=function(){return _0x2f5b1c;};return _0x2a46();}import{getTranslation as _0x1fe41c}from'../../../utils/common-translations.js';export default class At extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5a51e6(_0x220fa1){constructor(_0x58bb30,_0x227e01,_0x28829c,_0x4cee7a){const _0xca0b7f=_0x4094;super(_0x58bb30,_0x227e01,_0x28829c,_0x4cee7a),this[_0xca0b7f(0x1f5)]=this[_0xca0b7f(0x1c8)]([this[_0xca0b7f(0x1db)],this[_0xca0b7f(0x1c7)],this[_0xca0b7f(0x1d6)]]),this[_0xca0b7f(0x1b6)](_0xca0b7f(0x1a5),null),this[_0xca0b7f(0x1ba)]=null,this[_0xca0b7f(0x1bf)]=null,this[_0xca0b7f(0x1e2)]=_0x58bb30,this[_0xca0b7f(0x1df)]=this[_0xca0b7f(0x1f8)](),this[_0xca0b7f(0x1d9)](this[_0xca0b7f(0x1c4)]()),this['on'](_0xca0b7f(0x1d2),(_0x4fa322,_0x2cc366,_0x151daa)=>{const _0x5d7061=_0xca0b7f;_0x151daa||this[_0x5d7061(0x1e5)]();}),this[_0xca0b7f(0x1cf)](this[_0xca0b7f(0x1d1)],_0xca0b7f(0x1bd),(_0x43967a,_0x649f7c,_0x61f357)=>{const _0x348246=_0xca0b7f;_0x61f357&&this[_0x348246(0x1e5)]();}),this[_0xca0b7f(0x1ab)]>0x0&&this[_0xca0b7f(0x1d4)](),this[_0xca0b7f(0x1cf)](this[_0xca0b7f(0x1db)][_0xca0b7f(0x1ef)],_0xca0b7f(0x1f6),()=>{const _0x298dc9=_0xca0b7f;this[_0x298dc9(0x1d4)]();});}[_0x599e90(0x1c4)](){const _0x259054=_0x599e90,_0x1ca8a5=this[_0x259054(0x1b8)];return{'tag':_0x259054(0x1bb),'attributes':{'class':['ck',_0x259054(0x1ed),_0x259054(0x1aa),_0x259054(0x1dd),_0x1ca8a5['if'](_0x259054(0x1bc),_0x259054(0x1f9)),_0x1ca8a5['if'](_0x259054(0x1f7),_0x259054(0x1f1)),_0x1ca8a5['if'](_0x259054(0x1b7),_0x259054(0x1d0)),_0x1ca8a5['to'](_0x259054(0x1a5),_0x5827de=>_0x5827de?_0x259054(0x1f0)+_0x5827de:'')],'data-thread-id':this[_0x259054(0x1d1)]['id'],'tabindex':0x0,'role':_0x259054(0x1c9),'aria-label':_0x1ca8a5['to'](_0x259054(0x1b2)),'aria-describedby':this[_0x259054(0x1d6)]['id']},'children':[{'tag':_0x259054(0x1bb),'attributes':{'class':_0x259054(0x1dc)},'children':this[_0x259054(0x1f5)]}]};}[_0x599e90(0x1ee)](){const _0xe045a=_0x599e90;super[_0xe045a(0x1ee)](),this[_0xe045a(0x1ba)]=this[_0xe045a(0x1b0)][_0xe045a(0x1c6)](_0xe045a(0x1b4)),this[_0xe045a(0x1d1)]['on'](_0xe045a(0x1a4),()=>{const _0x6fd18f=_0xe045a;this[_0x6fd18f(0x1a6)]();}),this[_0xe045a(0x1a6)]();}[_0x599e90(0x1e5)](){const _0x14ff16=_0x599e90;this[_0x14ff16(0x1a1)]();for(const _0x4a9dc8 of this[_0x14ff16(0x1db)][_0x14ff16(0x1ef)])_0x4a9dc8[_0x14ff16(0x1a1)]();}[_0x599e90(0x1d4)](){const _0x45d3c3=_0x599e90,{locale:_0x3bbdbd}=this,_0x516bb8=this[_0x45d3c3(0x1db)][_0x45d3c3(0x1ef)][_0x45d3c3(0x1e8)](0x0);_0x516bb8===this[_0x45d3c3(0x1bf)]||_0x516bb8[_0x45d3c3(0x1da)]||(this[_0x45d3c3(0x1bf)]=_0x516bb8,this[_0x45d3c3(0x1cb)](_0x45d3c3(0x1a5)),this[_0x45d3c3(0x1c5)](_0x45d3c3(0x1a5))['to'](_0x516bb8,_0x45d3c3(0x1a5),_0x45b5bb=>_0x45d3c3(0x1e4)===_0x45b5bb?_0x45d3c3(0x1e4):null),_0x516bb8[_0x45d3c3(0x1ea)]=_0x1fe41c(_0x3bbdbd,_0x45d3c3(0x1b9)),_0x516bb8[_0x45d3c3(0x1de)]['on'](_0x45d3c3(0x1c2),_0x2b6850=>{const _0x4b6848=_0x45d3c3;_0x2b6850[_0x4b6848(0x1e9)](),this[_0x4b6848(0x1e7)](_0x1fe41c(_0x3bbdbd,_0x4b6848(0x1cc)),this[_0x4b6848(0x1ba)])[_0x4b6848(0x1ad)](()=>{const _0x5c7f77=_0x4b6848;this[_0x5c7f77(0x1b5)](_0x5c7f77(0x1b1));});},{'priority':_0x45d3c3(0x1e6)}),this['on'](_0x45d3c3(0x1a9),()=>{const _0x352820=_0x45d3c3;_0x516bb8[_0x352820(0x1b3)]();}),_0x516bb8[_0x45d3c3(0x1d3)][_0x45d3c3(0x1f6)](this[_0x45d3c3(0x1df)],0x0),_0x516bb8[_0x45d3c3(0x1ac)][_0x45d3c3(0x1f6)](this[_0x45d3c3(0x1df)],0x0));}[_0x599e90(0x1f8)](){const _0x4d72d8=_0x599e90,_0x479ed3=new _0x59c556(this[_0x4d72d8(0x1e2)]);return _0x479ed3[_0x4d72d8(0x1eb)]=_0x1fe41c(this[_0x4d72d8(0x1e2)],_0x4d72d8(0x1a2)),_0x479ed3[_0x4d72d8(0x1d5)]=_0x1fe41c(this[_0x4d72d8(0x1e2)],_0x4d72d8(0x1a2)),_0x479ed3[_0x4d72d8(0x1a7)]=_0x288383[_0x4d72d8(0x1af)],_0x479ed3[_0x4d72d8(0x1f2)]({'attributes':{'class':_0x4d72d8(0x1ce)}}),_0x479ed3[_0x4d72d8(0x1c5)](_0x4d72d8(0x1ec))['to'](this[_0x4d72d8(0x1d1)],_0x4d72d8(0x1cd),_0x442bdb=>!_0x442bdb),_0x479ed3[_0x4d72d8(0x1c5)](_0x4d72d8(0x1c1))['to'](this[_0x4d72d8(0x1d1)],_0x4d72d8(0x1e3),this[_0x4d72d8(0x1d1)],_0x4d72d8(0x1a8),(_0x1358cf,_0x44951b)=>_0x1358cf&&!_0x44951b),_0x479ed3['on'](_0x4d72d8(0x1c2),()=>{const _0x32cfdc=_0x4d72d8;this[_0x32cfdc(0x1b5)](_0x32cfdc(0x1c0),this[_0x32cfdc(0x1d1)]['id']);}),_0x479ed3;}[_0x599e90(0x1a6)](){const _0x2c1224=_0x599e90;this[_0x2c1224(0x1d1)][_0x2c1224(0x1d7)]?this[_0x2c1224(0x1f5)][_0x2c1224(0x1c3)](this[_0x2c1224(0x1e0)])||(this[_0x2c1224(0x1f5)][_0x2c1224(0x1f6)](this[_0x2c1224(0x1e0)],0x0),this[_0x2c1224(0x1ac)][_0x2c1224(0x1f6)](this[_0x2c1224(0x1e0)],0x0)):this[_0x2c1224(0x1f5)][_0x2c1224(0x1c3)](this[_0x2c1224(0x1e0)])&&(this[_0x2c1224(0x1f5)][_0x2c1224(0x1e4)](this[_0x2c1224(0x1e0)]),this[_0x2c1224(0x1ac)][_0x2c1224(0x1e4)](this[_0x2c1224(0x1e0)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xd30acf=_0x3266;(function(_0x3c06d2,_0xd45341){const _0x46e8c2=_0x3266,_0x41a9b0=_0x3c06d2();while(!![]){try{const _0x3f27c7=-parseInt(_0x46e8c2(0xbf))/0x1*(-parseInt(_0x46e8c2(0xe4))/0x2)+-parseInt(_0x46e8c2(0xc7))/0x3+-parseInt(_0x46e8c2(0xa4))/0x4*(parseInt(_0x46e8c2(0x98))/0x5)+-parseInt(_0x46e8c2(0xf1))/0x6*(-parseInt(_0x46e8c2(0xc2))/0x7)+-parseInt(_0x46e8c2(0xf9))/0x8*(-parseInt(_0x46e8c2(0xde))/0x9)+parseInt(_0x46e8c2(0x86))/0xa+parseInt(_0x46e8c2(0xa5))/0xb;if(_0x3f27c7===_0xd45341)break;else _0x41a9b0['push'](_0x41a9b0['shift']());}catch(_0x1ff978){_0x41a9b0['push'](_0x41a9b0['shift']());}}}(_0x25cb,0x71852));import{ButtonView as _0x3794d4,createDropdown as _0x593622,ListView as _0x3b6af9,ListItemView as _0x5ee563,focusChildOnDropdownOpen as _0x5e266b}from'ckeditor5/src/ui.js';import{icons as _0x4ed673}from'ckeditor5/src/core.js';import{UserView as _0x10d3ca,ConfirmMixin as _0xc4701f,LateFocusDropdownButtonView as _0x1302b7}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3266(_0x47aa5f,_0x3fb4b5){const _0x25cb3e=_0x25cb();return _0x3266=function(_0x3266e8,_0x4b43fe){_0x3266e8=_0x3266e8-0x84;let _0x11dedd=_0x25cb3e[_0x3266e8];return _0x11dedd;},_0x3266(_0x47aa5f,_0x3fb4b5);}function _0x25cb(){const _0x3390c6=['panelView','getExternalCommentNote','change:isRemovable','Reply...','ck-comment--remove','mouseenter','_createRemoveButton','bindTemplate','ck-comment__info-name','56110GAcqXj','items','icon','placeholder','isVisible','listenTo','length','threeVerticalDots','toMany','actionBar','Edit','ck-comment--','236Xsshdp','2721532mqtxge','buttonView','removeComment','ck-comment--edit','Show\x20more\x20items','ck-comment__actions--hidden','then','ck-annotation__info-time','isReadOnly','switchToEditMode','fire','ariaDescriptionView','isEditMode','createCollection','time','ck-annotation__main','unbind','setTemplate','find','removeButton','some','ck-annotation__content-wrapper','ck-comment__info-time','_model','editButton','ck-annotation__info','67JxWHAF','isSystemComment','set','12782vMyGaS','blur','add','ariaLabel','userView','558999KlNhso','showConfirm','cancelConfirm','author','ck-annotation__info-name','dropdown','ck-comment__external','ck-comment--info','_createEditButton','execute','extendTemplate','locale','isEnabled','Delete\x20comment?','render','visibleView','_createDropdown','label','ck-hidden','actionIndicator','_attachActions','ck-annotation__actions--hidden','remove','63ZUZpMF','ck-comment--remove-confirmation','Remove','ck-comment__main','pencil','element','1642pstpHM','ck-comment__actions','ck-comment__wrapper','isRemovable','name','addMany','ck-comment__user','ck-comment','formatDateTime','push','withText','_createCommentInputView','isExternal','1782QFVgdg','ck-annotation__actions','div','isEditable','ck-annotation','mouseleave','authoredAt','focusables','227984LjhWPq','panelPosition','span','getUserViewNotificationText','_config','children','bind','ck-comment__info','isConfirm','2691820fpHHOh','resolvedAt','group','from','getTemplate','listitem','focus','ck-annotation__user','edit'];_0x25cb=function(){return _0x3390c6;};return _0x25cb();}import _0x46dfaa from'./basecommentview.js';import _0x89d0c1 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x5290c1}from'../../../utils/common-translations.js';export default class Ct extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xc4701f(_0x46dfaa){constructor(_0x1a3326,_0x16301d,_0x377a63){const _0x32deb3=_0x3266;super(_0x1a3326,_0x16301d,_0x377a63),this[_0x32deb3(0xc1)](_0x32deb3(0xda),null),this[_0x32deb3(0xc1)](_0x32deb3(0x9b),_0x5290c1(_0x1a3326,_0x32deb3(0x92))),this[_0x32deb3(0xff)](_0x32deb3(0xf7))['to'](_0x16301d),this[_0x32deb3(0xff)](_0x32deb3(0x87))['to'](_0x16301d),this[_0x32deb3(0xa1)]=this[_0x32deb3(0xb2)](),this[_0x32deb3(0xc0)]||(this[_0x32deb3(0xbd)]=this[_0x32deb3(0xcf)](),this[_0x32deb3(0xb8)]=this[_0x32deb3(0x95)](),this[_0x32deb3(0x99)]=this[_0x32deb3(0xb2)](),this[_0x32deb3(0x99)][_0x32deb3(0xe9)]([this[_0x32deb3(0xbd)],this[_0x32deb3(0xb8)]]),this[_0x32deb3(0xcc)]=this[_0x32deb3(0xd7)](),this[_0x32deb3(0xa1)][_0x32deb3(0xc4)](this[_0x32deb3(0xcc)]),this[_0x32deb3(0xf8)][_0x32deb3(0xc4)](this[_0x32deb3(0xcc)])),this[_0x32deb3(0xc6)]=new _0x10d3ca(_0x1a3326,_0x16301d[_0x32deb3(0xca)],this[_0x32deb3(0xfc)]()),this[_0x32deb3(0xc6)][_0x32deb3(0xd1)]({'attributes':{'class':[_0x32deb3(0xea),_0x32deb3(0x8d)],'aria-hidden':!0x0}}),this[_0x32deb3(0x9d)](_0x16301d,_0x32deb3(0x91),()=>this[_0x32deb3(0xc9)]()),this[_0x32deb3(0xb6)](this[_0x32deb3(0x8a)]());}[_0xd30acf(0x8a)](){const _0x42a64e=_0xd30acf,_0x2f21f1=this[_0x42a64e(0x96)],_0x4131ca=[{'tag':_0x42a64e(0xf3),'attributes':{'class':[_0x42a64e(0x84),_0x42a64e(0xbe)]},'children':[{'tag':_0x42a64e(0xfb),'children':[{'text':this[_0x42a64e(0xc6)][_0x42a64e(0xe8)]}],'attributes':{'class':[_0x42a64e(0x97),_0x42a64e(0xcb)]}},{'tag':_0x42a64e(0xb3),'attributes':{'datetime':_0x2f21f1['to'](_0x42a64e(0xf7)),'class':[_0x42a64e(0xbb),_0x42a64e(0xac)]},'children':[{'text':_0x2f21f1['to'](_0x42a64e(0xf7),_0xa47f3f=>this[_0x42a64e(0xfd)][_0x42a64e(0xec)](_0xa47f3f))}]}]},{'tag':_0x42a64e(0xf3),'attributes':{'class':[_0x42a64e(0xe5),_0x42a64e(0xf2),_0x2f21f1['if'](_0x42a64e(0xb1),_0x42a64e(0xaa)),_0x2f21f1['if'](_0x42a64e(0xb1),_0x42a64e(0xdc))]},'children':this[_0x42a64e(0xa1)]},{'tag':_0x42a64e(0xf3),'attributes':{'class':[_0x42a64e(0xba)]},'children':this[_0x42a64e(0xd6)]},this[_0x42a64e(0xb0)]];return this[_0x42a64e(0xbc)][_0x42a64e(0xf0)]&&_0x4131ca[_0x42a64e(0xed)]({'tag':_0x42a64e(0xf3),'attributes':{'class':[_0x42a64e(0xcd)]},'children':[{'text':this[_0x42a64e(0x90)]()}]}),{'tag':'li','attributes':{'class':[_0x42a64e(0xe6),_0x2f21f1['if'](_0x42a64e(0x85),_0x42a64e(0xdf))],'tabindex':-0x1,'aria-label':_0x2f21f1['to'](_0x42a64e(0xc5)),'aria-describedby':this[_0x42a64e(0xb0)]['id'],'role':_0x42a64e(0x8b)},'children':[{'tag':_0x42a64e(0xf3),'attributes':{'class':[_0x42a64e(0xeb),_0x42a64e(0xf5),_0x2f21f1['if'](_0x42a64e(0xb1),_0x42a64e(0xa8)),_0x2f21f1['if'](_0x42a64e(0xc0),_0x42a64e(0xce)),_0x2f21f1['to'](_0x42a64e(0xda),_0x37bfa9=>_0x37bfa9?_0x42a64e(0xa3)+_0x37bfa9:'')],'data-author-id':this[_0x42a64e(0xbc)][_0x42a64e(0xca)]['id'],'data-comment-id':this[_0x42a64e(0xbc)]['id'],'role':_0x42a64e(0x88)},'children':[this[_0x42a64e(0xc6)],{'tag':_0x42a64e(0xf3),'attributes':{'class':[_0x42a64e(0xe1),_0x42a64e(0xb4)]},'children':_0x4131ca}]}]};}[_0xd30acf(0xcf)](){const _0x4809bf=_0xd30acf,_0x14b9f3=new _0x3794d4(this[_0x4809bf(0xd2)]);return _0x14b9f3[_0x4809bf(0xd8)]=_0x5290c1(this[_0x4809bf(0xd2)],_0x4809bf(0xa2)),_0x14b9f3[_0x4809bf(0x9a)]=_0x4ed673[_0x4809bf(0xe2)],_0x14b9f3[_0x4809bf(0xee)]=!0x0,_0x14b9f3[_0x4809bf(0xd1)]({'attributes':{'class':_0x4809bf(0xa8)}}),_0x14b9f3[_0x4809bf(0xff)](_0x4809bf(0xd3))['to'](this[_0x4809bf(0xbc)],_0x4809bf(0xad),_0x395856=>!_0x395856),_0x14b9f3[_0x4809bf(0xff)](_0x4809bf(0x9c))['to'](this[_0x4809bf(0xbc)],_0x4809bf(0xf4)),_0x14b9f3['on'](_0x4809bf(0xd0),()=>this[_0x4809bf(0xae)]()),_0x14b9f3;}[_0xd30acf(0x95)](){const _0x2b6c60=_0xd30acf,_0x5e1384=new _0x3794d4(this[_0x2b6c60(0xd2)]);return _0x5e1384[_0x2b6c60(0xd8)]=_0x5290c1(this[_0x2b6c60(0xd2)],_0x2b6c60(0xe0)),_0x5e1384[_0x2b6c60(0x9a)]=_0x89d0c1,_0x5e1384[_0x2b6c60(0xee)]=!0x0,_0x5e1384[_0x2b6c60(0xd1)]({'attributes':{'class':_0x2b6c60(0x93)}}),_0x5e1384[_0x2b6c60(0xff)](_0x2b6c60(0xd3))['to'](this[_0x2b6c60(0xbc)],_0x2b6c60(0xad),_0x560320=>!_0x560320),_0x5e1384[_0x2b6c60(0xff)](_0x2b6c60(0x9c))['to'](this[_0x2b6c60(0xbc)],_0x2b6c60(0xe7)),_0x5e1384['on'](_0x2b6c60(0xd0),()=>{const _0x3a402b=_0x2b6c60;this[_0x3a402b(0xc8)](_0x5290c1(this[_0x3a402b(0xd2)],_0x3a402b(0xd4)),this[_0x3a402b(0xe3)])[_0x3a402b(0xab)](()=>{const _0x4f29d8=_0x3a402b;this[_0x4f29d8(0xaf)](_0x4f29d8(0xa7),this[_0x4f29d8(0xbc)]['id']);});}),_0x5e1384;}[_0xd30acf(0xd7)](){const _0x5a75ea=_0xd30acf,_0x189fc2=_0x593622(this[_0x5a75ea(0xd2)],_0x1302b7),_0x2e10e8=_0x189fc2[_0x5a75ea(0x8f)][_0x5a75ea(0xfe)],_0xd8e7ea=new _0x3b6af9(this[_0x5a75ea(0xd2)]),_0x5bd27d=_0x189fc2[_0x5a75ea(0x96)];_0x5e266b(_0x189fc2,()=>this[_0x5a75ea(0x99)][_0x5a75ea(0xb7)](_0x8cbf8=>_0x8cbf8[_0x5a75ea(0x9c)])),_0x189fc2[_0x5a75ea(0xd1)]({'attributes':{'class':[_0x5bd27d['if'](_0x5a75ea(0x9c),_0x5a75ea(0xd9),_0x14ce28=>!_0x14ce28)]}});const _0x59e269=(_0x231361,_0x5ad082=-0x1)=>{const _0x42ef87=_0x5a75ea,_0x84088f=new _0x5ee563(this[_0x42ef87(0xd2)]);_0x84088f[_0x42ef87(0xfe)][_0x42ef87(0xc4)](_0x231361);const _0x50cd4c=_0x5ad082>-0x1?_0x5ad082:_0xd8e7ea[_0x42ef87(0x99)][_0x42ef87(0x9e)];_0xd8e7ea[_0x42ef87(0x99)][_0x42ef87(0xc4)](_0x84088f,_0x50cd4c);const _0x185bcb=Array[_0x42ef87(0x89)](this[_0x42ef87(0x99)]);_0x189fc2[_0x42ef87(0xb5)](_0x42ef87(0xd3),_0x42ef87(0x9c)),_0x189fc2[_0x42ef87(0xff)](_0x42ef87(0xd3))[_0x42ef87(0xa0)](_0x185bcb,_0x42ef87(0xd3),(..._0x3ddf27)=>_0x3ddf27[_0x42ef87(0xb9)](_0x5719ce=>_0x5719ce)),_0x189fc2[_0x42ef87(0xff)](_0x42ef87(0x9c))[_0x42ef87(0xa0)](_0x185bcb,_0x42ef87(0x9c),(..._0x173554)=>_0x173554[_0x42ef87(0xb9)](_0x12cfac=>_0x12cfac));};_0x189fc2[_0x5a75ea(0xfa)]='sw',_0x189fc2[_0x5a75ea(0xa6)][_0x5a75ea(0xc1)]({'label':_0x5290c1(this[_0x5a75ea(0xd2)],_0x5a75ea(0xa9)),'icon':_0x4ed673[_0x5a75ea(0x9f)]}),_0x189fc2[_0x5a75ea(0xd3)]=[...this[_0x5a75ea(0x99)]][_0x5a75ea(0xb9)](_0x4a0c13=>_0x4a0c13[_0x5a75ea(0xd3)]),_0x189fc2[_0x5a75ea(0xa6)][_0x5a75ea(0x9c)]=[...this[_0x5a75ea(0x99)]][_0x5a75ea(0xb9)](_0x3bdbc6=>_0x3bdbc6[_0x5a75ea(0x9c)]);for(const _0x3441be of this[_0x5a75ea(0x99)])_0x59e269(_0x3441be);return _0x2e10e8[_0x5a75ea(0xc4)](_0xd8e7ea),_0x189fc2[_0x5a75ea(0x9d)](this[_0x5a75ea(0x99)],_0x5a75ea(0xc4),(_0xe8234d,_0x5a7bdc,_0x34fbb2)=>{_0x59e269(_0x5a7bdc,_0x34fbb2);}),_0x189fc2[_0x5a75ea(0x9d)](this[_0x5a75ea(0x99)],_0x5a75ea(0xdd),(_0x4b3d46,_0x4f9347,_0x52c3fb)=>{const _0x2e2c47=_0x5a75ea;_0xd8e7ea[_0x2e2c47(0x99)][_0x2e2c47(0xdd)](_0x52c3fb);}),_0x189fc2;}[_0xd30acf(0xdb)](_0x54c742,_0x4999d4){const _0x109f06=_0xd30acf,_0xe6ad00=_0x54c742&&_0x54c742[_0x109f06(0xe3)];_0xe6ad00&&(this[_0x109f06(0x9d)](_0xe6ad00,_0x109f06(0x94),()=>this[_0x109f06(0xda)]=_0x4999d4),this[_0x109f06(0x9d)](_0xe6ad00,_0x109f06(0x8c),()=>this[_0x109f06(0xda)]=_0x4999d4),this[_0x109f06(0x9d)](_0xe6ad00,_0x109f06(0xf6),()=>this[_0x109f06(0xda)]=null),this[_0x109f06(0x9d)](_0xe6ad00,_0x109f06(0xc3),()=>this[_0x109f06(0xda)]=null));}[_0xd30acf(0xef)](){const _0x3668b6=_0xd30acf,_0x23b871=super[_0x3668b6(0xef)]();return _0x23b871[_0x3668b6(0xff)](_0x3668b6(0x9b))['to'](this),_0x23b871;}[_0xd30acf(0xd5)](){const _0x217b57=_0xd30acf;super[_0x217b57(0xd5)](),this[_0x217b57(0xdb)](this[_0x217b57(0xbd)],_0x217b57(0x8e)),this[_0x217b57(0xdb)](this[_0x217b57(0xb8)],_0x217b57(0xdd));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x58eab5=_0x5f33;(function(_0x2a0261,_0x127b89){var _0xbf2c3=_0x5f33,_0x4ae86e=_0x2a0261();while(!![]){try{var _0x116940=parseInt(_0xbf2c3(0x1d3))/0x1+parseInt(_0xbf2c3(0x1d2))/0x2+parseInt(_0xbf2c3(0x1da))/0x3+-parseInt(_0xbf2c3(0x1d6))/0x4+-parseInt(_0xbf2c3(0x1db))/0x5*(-parseInt(_0xbf2c3(0x1d9))/0x6)+parseInt(_0xbf2c3(0x1d7))/0x7+-parseInt(_0xbf2c3(0x1dd))/0x8*(parseInt(_0xbf2c3(0x1d8))/0x9);if(_0x116940===_0x127b89)break;else _0x4ae86e['push'](_0x4ae86e['shift']());}catch(_0x44bbef){_0x4ae86e['push'](_0x4ae86e['shift']());}}}(_0x5138,0x72c3c));import{Plugin as _0x2b745e}from'ckeditor5/src/core.js';function _0x5138(){var _0x5f7564=['requires','pluginName','2664892zGtohM','407512SEFmIR','9fiTRcr','318840TJWFSd','1477929FhMhPc','45jkAzqT','Comments','7776776TZUupB','1160020uArZXB','499267wQdcJr'];_0x5138=function(){return _0x5f7564;};return _0x5138();}import _0x414c46 from'./comments/commentsrepository.js';import _0x48f5a1 from'./comments/commentsediting.js';import _0x2be361 from'./comments/commentsui.js';import _0x541e6f from'./commentsonly.js';import _0x3153b6 from'./annotations/widesidebar.js';import _0x3afbd0 from'./annotations/narrowsidebar.js';import _0x13df9d from'./annotations/inlineannotations.js';function _0x5f33(_0x31f328,_0x411061){var _0x5138e4=_0x5138();return _0x5f33=function(_0x5f33a1,_0x533b13){_0x5f33a1=_0x5f33a1-0x1d2;var _0x3fe475=_0x5138e4[_0x5f33a1];return _0x3fe475;},_0x5f33(_0x31f328,_0x411061);}import _0x13ba57 from'./comments/commentsarchiveui.js';import _0x51ed5c from'./comments/commentsarchive.js';export default class f extends _0x2b745e{static get[_0x58eab5(0x1d4)](){return[_0x414c46,_0x48f5a1,_0x2be361,_0x51ed5c,_0x13ba57,_0x541e6f,_0x3153b6,_0x3afbd0,_0x13df9d];}static get[_0x58eab5(0x1d5)](){var _0x4e59cc=_0x58eab5;return _0x4e59cc(0x1dc);}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x27d9(_0x2c6a51,_0xc0a523){const _0x4506e7=_0x4506();return _0x27d9=function(_0x27d975,_0x2b4890){_0x27d975=_0x27d975-0x1af;let _0x23eceb=_0x4506e7[_0x27d975];return _0x23eceb;},_0x27d9(_0x2c6a51,_0xc0a523);}const _0x3182bc=_0x27d9;(function(_0x139dca,_0x1d7c1f){const _0x4b4b32=_0x27d9,_0x157afe=_0x139dca();while(!![]){try{const _0x182fa9=parseInt(_0x4b4b32(0x1b8))/0x1+parseInt(_0x4b4b32(0x1ce))/0x2*(parseInt(_0x4b4b32(0x1ba))/0x3)+-parseInt(_0x4b4b32(0x1d0))/0x4*(-parseInt(_0x4b4b32(0x1bf))/0x5)+-parseInt(_0x4b4b32(0x1b6))/0x6+parseInt(_0x4b4b32(0x1c1))/0x7*(parseInt(_0x4b4b32(0x1cf))/0x8)+-parseInt(_0x4b4b32(0x1cd))/0x9*(-parseInt(_0x4b4b32(0x1b3))/0xa)+-parseInt(_0x4b4b32(0x1b9))/0xb;if(_0x182fa9===_0x1d7c1f)break;else _0x157afe['push'](_0x157afe['shift']());}catch(_0xbe0a27){_0x157afe['push'](_0x157afe['shift']());}}}(_0x4506,0x4512f));import{Plugin as _0x4ed5d5}from'ckeditor5/src/core.js';import _0x1bfe7d from'./comments/commentsediting.js';function _0x4506(){const _0x419f05=['afterInit','listenTo','stop','clearForceDisabled','commands','set','editor','delete','2055681pqXqTd','8WYKdjO','2251576uwjdmI','2168020Olajxo','editing','commentsOnly','_disableCommentsOnlyMode','affectsData','forceDisabled','plugins','has','stopListening','change:isEnabled','DragDrop','requires','isEnabled','view','10kHHQJT','get','_enableCommentsOnlyMode','2357760oLnoDT','CommentsOnly','278271PjEncE','12980099AdYxlt','394323RqhxEI','pluginName','clipboardInput','highest','config','5HLXEtu','document','7NMOLUR','cut','addCommentThread','commentsOnlyMode'];_0x4506=function(){return _0x419f05;};return _0x4506();}export default class e extends _0x4ed5d5{static get[_0x3182bc(0x1bb)](){const _0x58f31f=_0x3182bc;return _0x58f31f(0x1b7);}static get[_0x3182bc(0x1b0)](){return[_0x1bfe7d];}constructor(_0x4a5021){const _0x8ea738=_0x3182bc;super(_0x4a5021),this[_0x8ea738(0x1ca)](_0x8ea738(0x1b1),!0x1),this['on'](_0x8ea738(0x1d9),(_0x323e80,_0x59acb2,_0x5104a7)=>{const _0x19ea2f=_0x8ea738;_0x5104a7?this[_0x19ea2f(0x1b5)]():this[_0x19ea2f(0x1d3)]();});}[_0x3182bc(0x1c5)](){const _0x4fdf16=_0x3182bc;!this[_0x4fdf16(0x1b1)]&&this[_0x4fdf16(0x1cb)][_0x4fdf16(0x1be)][_0x4fdf16(0x1b4)](_0x4fdf16(0x1d2))&&(this[_0x4fdf16(0x1b1)]=!0x0);}[_0x3182bc(0x1b5)](){const _0x37f73f=_0x3182bc;for(const [_0x381d04,_0x4aa6a0]of this[_0x37f73f(0x1cb)][_0x37f73f(0x1c9)])_0x4aa6a0[_0x37f73f(0x1d4)]&&_0x37f73f(0x1c3)!==_0x381d04&&_0x4aa6a0[_0x37f73f(0x1d5)](_0x37f73f(0x1c4));this[_0x37f73f(0x1cb)][_0x37f73f(0x1d6)][_0x37f73f(0x1d7)](_0x37f73f(0x1af))&&this[_0x37f73f(0x1cb)][_0x37f73f(0x1d6)][_0x37f73f(0x1b4)](_0x37f73f(0x1af))[_0x37f73f(0x1d5)](_0x37f73f(0x1c4));const _0x4faacb=this[_0x37f73f(0x1cb)][_0x37f73f(0x1d1)][_0x37f73f(0x1b2)][_0x37f73f(0x1c0)];this[_0x37f73f(0x1c6)](_0x4faacb,_0x37f73f(0x1c2),_0x41a352=>_0x41a352[_0x37f73f(0x1c7)](),{'priority':_0x37f73f(0x1bd)}),this[_0x37f73f(0x1c6)](_0x4faacb,_0x37f73f(0x1bc),_0x497079=>_0x497079[_0x37f73f(0x1c7)](),{'priority':_0x37f73f(0x1bd)}),this[_0x37f73f(0x1c6)](_0x4faacb,_0x37f73f(0x1cc),_0x2083b5=>_0x2083b5[_0x37f73f(0x1c7)](),{'priority':_0x37f73f(0x1bd)});}[_0x3182bc(0x1d3)](){const _0x407585=_0x3182bc;for(const [_0x104ca5,_0x91137e]of this[_0x407585(0x1cb)][_0x407585(0x1c9)])_0x91137e[_0x407585(0x1d4)]&&_0x407585(0x1c3)!==_0x104ca5&&_0x91137e[_0x407585(0x1c8)](_0x407585(0x1c4));this[_0x407585(0x1d8)](this[_0x407585(0x1cb)][_0x407585(0x1d1)][_0x407585(0x1b2)][_0x407585(0x1c0)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x156241,_0x335d4f){var _0x51cc94=_0x5066,_0x39aa0f=_0x156241();while(!![]){try{var _0x1c2ee4=parseInt(_0x51cc94(0x163))/0x1*(parseInt(_0x51cc94(0x161))/0x2)+-parseInt(_0x51cc94(0x158))/0x3+-parseInt(_0x51cc94(0x15a))/0x4*(-parseInt(_0x51cc94(0x15e))/0x5)+-parseInt(_0x51cc94(0x15b))/0x6*(parseInt(_0x51cc94(0x15c))/0x7)+-parseInt(_0x51cc94(0x162))/0x8*(parseInt(_0x51cc94(0x15f))/0x9)+-parseInt(_0x51cc94(0x159))/0xa*(-parseInt(_0x51cc94(0x15d))/0xb)+parseInt(_0x51cc94(0x160))/0xc;if(_0x1c2ee4===_0x335d4f)break;else _0x39aa0f['push'](_0x39aa0f['shift']());}catch(_0x37a5c0){_0x39aa0f['push'](_0x39aa0f['shift']());}}}(_0x5eaa,0xeb32e));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 Annotations}from'./annotations/annotations.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 WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';function _0x5eaa(){var _0x29847b=['1459484VVGbPE','6QreQTo','6280078bMzUjo','1776863mCfIpx','5kgxneT','8572257bOOfDE','23751588muuFVZ','1342822mZkNVi','16MJqFiJ','2IxQqUH','3156747pxcHiA','70KUWTbW'];_0x5eaa=function(){return _0x29847b;};return _0x5eaa();}function _0x5066(_0x29eba4,_0x410f43){var _0x5eaa05=_0x5eaa();return _0x5066=function(_0x5066b9,_0x1487d7){_0x5066b9=_0x5066b9-0x158;var _0x37690a=_0x5eaa05[_0x5066b9];return _0x37690a;},_0x5066(_0x29eba4,_0x410f43);}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';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x15e6cb,_0x59710e,_0x217877){const t=_0x15e6cb['t'];switch(_0x59710e){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'},_0x217877);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'},_0x217877);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'},_0x217877);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'},_0x217877);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x217877);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'},_0x217877);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'},_0x217877);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'},_0x217877);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(_0x42537c,_0x850c6c){const _0x36a832=_0xd811,_0x52f9f8=_0x42537c();while(!![]){try{const _0x3ab498=-parseInt(_0x36a832(0x10b))/0x1+-parseInt(_0x36a832(0x10f))/0x2*(-parseInt(_0x36a832(0x10d))/0x3)+-parseInt(_0x36a832(0x10a))/0x4+parseInt(_0x36a832(0x106))/0x5*(-parseInt(_0x36a832(0x10c))/0x6)+-parseInt(_0x36a832(0x105))/0x7*(parseInt(_0x36a832(0x113))/0x8)+-parseInt(_0x36a832(0x108))/0x9*(-parseInt(_0x36a832(0x110))/0xa)+parseInt(_0x36a832(0x116))/0xb;if(_0x3ab498===_0x850c6c)break;else _0x52f9f8['push'](_0x52f9f8['shift']());}catch(_0x28f5a9){_0x52f9f8['push'](_0x52f9f8['shift']());}}}(_0x2047,0x8244c));import{throttle as _0x3799b9}from'lodash-es';function _0xd811(_0x44c5a7,_0x53995c){const _0x20471a=_0x2047();return _0xd811=function(_0xd811bf,_0x20ecda){_0xd811bf=_0xd811bf-0x105;let _0x5717cc=_0x20471a[_0xd811bf];return _0x5717cc;},_0xd811(_0x44c5a7,_0x53995c);}function _0x2047(){const _0x3f106c=['20VrmaYP','attributeName','observe','1856YfosOC','childList','characterData','16122953uIkYbe','attributes','type','23359QdXtpg','5QaPPsN','class','2153718jdNuWT','disconnect','4178396eDZSJC','421323ceZaHv','544146gtqIeR','75ZNbWka','cancel','73604EuXWHv'];_0x2047=function(){return _0x3f106c;};return _0x2047();}export default function Lt(_0x1b73b0){const _0x4126cc=_0x3799b9(_0x1b73b0,0x1e),_0x461ada=new MutationObserver(_0x5d479e=>{const _0x1ec392=_0xd811;for(const _0x534c9b of _0x5d479e)(_0x1ec392(0x117)==_0x534c9b[_0x1ec392(0x118)]&&_0x1ec392(0x107)==_0x534c9b[_0x1ec392(0x111)]||_0x1ec392(0x114)==_0x534c9b[_0x1ec392(0x118)]||_0x1ec392(0x115)==_0x534c9b[_0x1ec392(0x118)])&&_0x4126cc();});return{'attach'(_0x38704c){const _0x547b2c=_0xd811;_0x461ada[_0x547b2c(0x112)](_0x38704c,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x1819e1=_0xd811;_0x461ada[_0x1819e1(0x109)](),_0x4126cc[_0x1819e1(0x10e)]();}};}
|