@ckeditor/ckeditor5-comments 39.0.1 → 39.0.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/CHANGELOG.md +2 -2
- package/LICENSE.md +5 -5
- package/README.md +13 -13
- package/build/comments.js +1 -1
- package/build/translations/fa.js +1 -1
- package/lang/translations/af.po +1 -0
- package/lang/translations/ar.po +1 -0
- package/lang/translations/bg.po +1 -0
- package/lang/translations/bn.po +1 -0
- package/lang/translations/bs.po +1 -0
- package/lang/translations/ca.po +1 -0
- package/lang/translations/cs.po +1 -0
- package/lang/translations/da.po +1 -0
- package/lang/translations/de-ch.po +1 -0
- package/lang/translations/de.po +1 -0
- package/lang/translations/el.po +1 -0
- package/lang/translations/en-au.po +1 -0
- package/lang/translations/en.po +1 -0
- package/lang/translations/es-co.po +1 -0
- package/lang/translations/es.po +1 -0
- package/lang/translations/et.po +1 -0
- package/lang/translations/fa.po +10 -9
- package/lang/translations/fi.po +1 -0
- package/lang/translations/fr.po +1 -0
- package/lang/translations/gl.po +1 -0
- package/lang/translations/he.po +1 -0
- package/lang/translations/hi.po +1 -0
- package/lang/translations/hr.po +1 -0
- package/lang/translations/hu.po +1 -0
- package/lang/translations/id.po +1 -0
- package/lang/translations/it.po +1 -0
- package/lang/translations/ja.po +1 -0
- package/lang/translations/jv.po +1 -0
- package/lang/translations/ko.po +1 -0
- package/lang/translations/lt.po +1 -0
- package/lang/translations/lv.po +1 -0
- package/lang/translations/ms.po +1 -0
- package/lang/translations/nl.po +1 -0
- package/lang/translations/no.po +1 -0
- package/lang/translations/pl.po +1 -0
- package/lang/translations/pt-br.po +1 -0
- package/lang/translations/pt.po +1 -0
- package/lang/translations/ro.po +1 -0
- package/lang/translations/ru.po +1 -0
- package/lang/translations/sk.po +1 -0
- package/lang/translations/sq.po +1 -0
- package/lang/translations/sr-latn.po +1 -0
- package/lang/translations/sr.po +1 -0
- package/lang/translations/sv.po +1 -0
- package/lang/translations/th.po +1 -0
- package/lang/translations/tk.po +1 -0
- package/lang/translations/tr.po +1 -0
- package/lang/translations/tt.po +1 -0
- package/lang/translations/ug.po +1 -0
- package/lang/translations/uk.po +1 -0
- package/lang/translations/ur.po +1 -0
- package/lang/translations/vi.po +1 -0
- package/lang/translations/zh-cn.po +1 -0
- package/lang/translations/zh.po +1 -0
- package/package.json +3 -7
- package/src/annotations/annotation.js +1 -1
- 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 +1 -1
- package/src/comments/commentsui.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 +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- package/src/comments/ui/view/basecommentthreadview.d.ts +1 -1
- 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/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/annotation.css +0 -2
- package/theme/comment.css +37 -37
- package/theme/commentmarker.css +5 -5
- package/theme/commentthread.css +56 -56
- package/theme/sidebar-narrow.css +2 -2
- package/theme/sidebar.css +11 -11
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f3b=['high','config','get','map','editor','plugins','commands','collaboration.channelId','importWord.commentsStyles','_handleImportedData','importWord','forEach','dataInsert','addCommentThread','afterInit','execute','listenTo'];(function(_0x33f18e,_0x2f3bee){const _0x48ccf2=function(_0x11d623){while(--_0x11d623){_0x33f18e['push'](_0x33f18e['shift']());}};_0x48ccf2(++_0x2f3bee);}(_0x2f3b,0x13e));const _0x48cc=function(_0x33f18e,_0x2f3bee){_0x33f18e=_0x33f18e-0x0;let _0x48ccf2=_0x2f3b[_0x33f18e];return _0x48ccf2;};import{Plugin as _0x20e03f}from'ckeditor5/src/core';import{priorities as _0x530e55}from'ckeditor5/src/utils';import{Users as _0x22da6d}from'ckeditor5-collaboration/src/collaboration-core';import _0x553806 from'../commentsrepository';export default class Y extends _0x20e03f{constructor(_0x56b55e){super(_0x56b55e),this[_0x48cc('0x9')]['config']['define']('importWord.commentsStyles','basic');}[_0x48cc('0x2')](){const _0x53059b=this[_0x48cc('0x9')],_0x377794=_0x53059b[_0x48cc('0xb')][_0x48cc('0x7')](_0x48cc('0xf')),_0x20e0e9=_0x53059b[_0x48cc('0xa')][_0x48cc('0x7')](_0x22da6d);_0x377794&&(_0x377794['on'](_0x48cc('0x3'),(_0x18e00f,[,_0x25c4a9])=>{_0x25c4a9['collaboration_features']={'comments':!0x0,'user_id':_0x20e0e9['me']['id'],'comments_styles':this['editor'][_0x48cc('0x6')]['get'](_0x48cc('0xd'))};},{'priority':_0x530e55[_0x48cc('0x5')]+0xa}),this[_0x48cc('0x4')](_0x377794,_0x48cc('0x0'),this[_0x48cc('0xe')]));}[_0x48cc('0xe')](_0x34c5c0,_0xc50ea7){const {comment_threads:_0x47ba88}=_0xc50ea7;_0x47ba88&&_0x47ba88[_0x48cc('0x10')](({thread_id:_0x5836b7,comments:_0x28686a,is_resolved:_0x126c53})=>{const _0x3bbc88=new Date(),_0x34c0af=_0x28686a[_0x48cc('0x8')](({author:_0x305901,content:_0x4be779,created_at:_0x2f7782})=>({'content':_0x4be779,'authorId':this['editor'][_0x48cc('0xa')][_0x48cc('0x7')](_0x22da6d)['me']['id'],'createdAt':_0x3bbc88,'attributes':{'@external':{'authorName':_0x305901,'createdAt':_0x2f7782?new Date(_0x2f7782):new Date(),'source':'importWord'}}})),_0x4ed32c=this[_0x48cc('0x9')][_0x48cc('0x6')]['get'](_0x48cc('0xc'));this[_0x48cc('0x9')][_0x48cc('0xa')][_0x48cc('0x7')](_0x553806)[_0x48cc('0x1')]({'channelId':_0x4ed32c,'threadId':_0x5836b7,'comments':_0x34c0af,'resolvedAt':_0x126c53?_0x3bbc88:null});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d48=['change','name','document','view','model','change:placeholder','assign','fire','destroy','setSelection','defaultPlugins','data','config','low','set','plugins','childCount','getRoot','_updatePlaceholder','focus','placeholderElement','getChild','end','editing','then','placeholder'];(function(_0x43ccaa,_0x1d4835){const _0xa4bea6=function(_0x4dd60d){while(--_0x4dd60d){_0x43ccaa['push'](_0x43ccaa['shift']());}};_0xa4bea6(++_0x1d4835);}(_0x1d48,0x181));const _0xa4be=function(_0x43ccaa,_0x1d4835){_0x43ccaa=_0x43ccaa-0x0;let _0xa4bea6=_0x1d48[_0x43ccaa];return _0xa4bea6;};import{Editor as _0x36903e,DataApiMixin as _0x5cb3be}from'ckeditor5/src/core';import _0x3934a5 from'./commenteditorui';import{ObservableMixin as _0x130836}from'ckeditor5/src/utils';import{enablePlaceholder as _0x4e5217,disablePlaceholder as _0x40df4a}from'ckeditor5/src/engine';import{Clipboard as _0x2a1355}from'ckeditor5/src/clipboard';import{Enter as _0x51e31f,ShiftEnter as _0x614c01}from'ckeditor5/src/enter';import{SelectAll as _0x5e9e8}from'ckeditor5/src/select-all';import{Typing as _0x3bfe1d}from'ckeditor5/src/typing';import{Undo as _0x3fe9e1}from'ckeditor5/src/undo';import{Paragraph as _0x3dd01c}from'ckeditor5/src/paragraph';const Kt=[_0x2a1355,_0x51e31f,_0x614c01,_0x5e9e8,_0x3bfe1d,_0x3fe9e1,_0x3dd01c];export default class Lt extends _0x130836(_0x5cb3be(_0x36903e)){constructor(_0x2cae6a={}){(_0x2cae6a=Object[_0xa4be('0xb')]({},_0x2cae6a))[_0xa4be('0x14')]||(_0x2cae6a[_0xa4be('0x14')]=Lt[_0xa4be('0xf')]),super(_0x2cae6a),this['ui']=new _0x3934a5(this),this[_0xa4be('0x13')](_0xa4be('0x4'),''),this[_0xa4be('0x9')][_0xa4be('0x7')]['on'](_0xa4be('0x5'),()=>this[_0xa4be('0x17')](),{'priority':_0xa4be('0x12')}),this['on'](_0xa4be('0xa'),()=>this[_0xa4be('0x17')]()),this[_0xa4be('0x9')][_0xa4be('0x7')]['createRoot']();}['create'](){const _0x3fc765=this[_0xa4be('0x11')]['get']('initialData')||'';return this['initPlugins']()[_0xa4be('0x3')](()=>this['ui']['init']())[_0xa4be('0x3')](()=>this[_0xa4be('0x10')]['init'](_0x3fc765))[_0xa4be('0x3')](()=>this[_0xa4be('0xc')]('ready'));}[_0xa4be('0xd')](){return super['destroy']()[_0xa4be('0x3')](()=>this['ui']['destroy']());}[_0xa4be('0x18')](){this[_0xa4be('0x9')]['change'](_0x5ce421=>{const _0x415367=this[_0xa4be('0x9')]['document']['getRoot'](),_0x1a5c63=_0x415367&&_0x415367[_0xa4be('0x0')](_0x415367[_0xa4be('0x15')]-0x1);_0x5ce421[_0xa4be('0xe')](_0x1a5c63,_0xa4be('0x1')),this[_0xa4be('0x2')][_0xa4be('0x8')][_0xa4be('0x18')]();});}[_0xa4be('0x17')](){const _0x279c99=this[_0xa4be('0x2')][_0xa4be('0x8')],_0x59e662=_0x279c99['document'][_0xa4be('0x16')](),_0x58f93c=_0x59e662[_0xa4be('0x0')](0x0);_0x59e662[_0xa4be('0x15')]>0x1||!_0x58f93c||'p'!=_0x58f93c[_0xa4be('0x6')]?this['placeholderElement']&&this[_0xa4be('0x19')][_0xa4be('0x4')]&&(_0x40df4a(_0x279c99,this[_0xa4be('0x19')]),this[_0xa4be('0x19')]=void 0x0):(this[_0xa4be('0x4')]&&(_0x58f93c[_0xa4be('0x4')]=this['placeholder']),_0x4e5217({'view':_0x279c99,'element':_0x58f93c,'keepOnFocus':!0x0}),this[_0xa4be('0x19')]=_0x58f93c);}}Lt[_0xa4be('0xf')]=Kt;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2630=['init','render','document','editable','editing','element','view','name','focusTracker','fire','bind','destroy','getRoot','attachDomRoot','rootName','setEditableElement','isFocused','editor','ready','locale'];(function(_0x4084cc,_0x26302a){const _0x24647a=function(_0x4c180b){while(--_0x4c180b){_0x4084cc['push'](_0x4084cc['shift']());}};_0x24647a(++_0x26302a);}(_0x2630,0x173));const _0x2464=function(_0x4084cc,_0x26302a){_0x4084cc=_0x4084cc-0x0;let _0x24647a=_0x2630[_0x4084cc];return _0x24647a;};import{EditorUI as _0x488616}from'ckeditor5/src/ui';import _0x1f642a from'./commenteditoruiview';export default class jt extends _0x488616{constructor(_0x4583ae){super(_0x4583ae),this[_0x2464('0xf')]=new _0x1f642a(_0x4583ae[_0x2464('0x8')],_0x4583ae['editing']['view']);}get[_0x2464('0xe')](){return this[_0x2464('0xf')][_0x2464('0xe')];}[_0x2464('0x9')](){const _0x3bd2b8=this[_0x2464('0x6')][_0x2464('0xd')][_0x2464('0xf')],_0x5d400f=this[_0x2464('0xf')][_0x2464('0xc')],_0x33b3a5=_0x3bd2b8[_0x2464('0xb')][_0x2464('0x1')]();_0x5d400f[_0x2464('0x10')]=_0x33b3a5[_0x2464('0x3')],this[_0x2464('0xf')][_0x2464('0xa')]();const _0x389771=_0x5d400f[_0x2464('0xe')];this[_0x2464('0x4')](_0x5d400f['name'],_0x389771),this[_0x2464('0xf')]['editable'][_0x2464('0x13')](_0x2464('0x5'))['to'](this[_0x2464('0x11')]),_0x3bd2b8[_0x2464('0x2')](_0x389771),this[_0x2464('0x12')](_0x2464('0x7'));}['destroy'](){super[_0x2464('0x0')](),this[_0x2464('0xf')]['destroy']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x8ae6=['presentation','ck-rounded-corners','setTemplate','_createVoiceLabel','ck-reset','editable','_voiceLabelView','createCollection','ck-editor__aria-label_','extendTemplate','text','ck-editor__main','ck-editor','focus','comment','render','Comment\x20editor','div','ck-comment__input','element','ck-voice-label'];(function(_0x5153bc,_0x8ae62e){const _0x5730f1=function(_0x1efc98){while(--_0x1efc98){_0x5153bc['push'](_0x5153bc['shift']());}};_0x5730f1(++_0x8ae62e);}(_0x8ae6,0x1b9));const _0x5730=function(_0x5153bc,_0x8ae62e){_0x5153bc=_0x5153bc-0x0;let _0x5730f1=_0x8ae6[_0x5153bc];return _0x5730f1;};import{InlineEditableUIView as _0x3b073f,EditorUIView as _0x2697a2,LabelView as _0x312418}from'ckeditor5/src/ui';import{uid as _0x5745a5}from'ckeditor5/src/utils';import{getTranslation as _0x1952ea}from'../../../utils/common-translations';export default class Nt extends _0x2697a2{constructor(_0x291549,_0x5d320c){super(_0x291549);const _0x5dc896=_0x5745a5();this['main']=this[_0x5730('0x7')](),this[_0x5730('0x5')]=new _0x3b073f(_0x291549,_0x5d320c),this[_0x5730('0x6')]=this[_0x5730('0x3')](_0x5dc896,_0x291549),this[_0x5730('0x2')]({'tag':_0x5730('0x11'),'attributes':{'class':[_0x5730('0x4'),_0x5730('0xc'),_0x5730('0x1'),_0x5730('0x12')],'role':_0x5730('0xe'),'dir':_0x291549['uiLanguageDirection'],'lang':_0x291549['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x5dc896},'children':[this[_0x5730('0x6')],{'tag':_0x5730('0x11'),'attributes':{'class':_0x5730('0xb'),'role':_0x5730('0x0')},'children':this['main']}]});}[_0x5730('0xf')](){super[_0x5730('0xf')](),this['main']['add'](this[_0x5730('0x5')]);}[_0x5730('0xd')](){this['editable'][_0x5730('0x13')][_0x5730('0xd')]();}[_0x5730('0x3')](_0x4efd31,_0x51af10){const _0x59542f=new _0x312418();return _0x59542f[_0x5730('0xa')]=_0x1952ea(_0x51af10,_0x5730('0x10')),_0x59542f[_0x5730('0x9')]({'attributes':{'id':_0x5730('0x8')+_0x4efd31,'class':_0x5730('0x14')}}),_0x59542f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x224c=['submit','addComment','removeComment','_localUser','view','getComment','stopListening','resolve','listenTo','model','updateComment','resolveCommentThread','submitCommentThread','remove','_isAttached','reopen','isResolved'];(function(_0x324f84,_0x224c9a){var _0x1f6630=function(_0x48af8b){while(--_0x48af8b){_0x324f84['push'](_0x324f84['shift']());}};_0x1f6630(++_0x224c9a);}(_0x224c,0x137));var _0x1f66=function(_0x324f84,_0x224c9a){_0x324f84=_0x324f84-0x0;var _0x1f6630=_0x224c[_0x324f84];return _0x1f6630;};import{ObservableMixin as _0x16572a}from'ckeditor5/src/utils';export default class ct extends _0x16572a(){constructor(_0x29b443,_0x2e02fd){super(),this['model']=_0x29b443,this[_0x1f66('0x4')][_0x1f66('0x9')]=!0x0,this[_0x1f66('0x10')]=_0x2e02fd,this[_0x1f66('0x3')](_0x2e02fd,_0x1f66('0x7'),()=>this['submit']()),this[_0x1f66('0x3')](_0x2e02fd,'removeCommentThread',()=>this[_0x1f66('0x8')]()),this['listenTo'](_0x2e02fd,_0x1f66('0x6'),()=>this[_0x1f66('0x2')]()),this[_0x1f66('0x3')](_0x2e02fd,'reopenCommentThread',()=>this[_0x1f66('0xa')]()),this[_0x1f66('0x3')](_0x2e02fd,_0x1f66('0xd'),(_0xbeeab5,_0x4843db)=>this['addComment'](_0x4843db)),this['listenTo'](_0x2e02fd,_0x1f66('0x5'),(_0x34df47,_0x2af737,_0xce90e9)=>this[_0x1f66('0x5')](_0x2af737,_0xce90e9)),this[_0x1f66('0x3')](_0x2e02fd,_0x1f66('0xe'),(_0x392df1,_0x2934f5)=>this[_0x1f66('0xe')](_0x2934f5));}[_0x1f66('0xc')](){this['model'][_0x1f66('0xc')]();}[_0x1f66('0x8')](){this[_0x1f66('0x4')][_0x1f66('0x8')]();}[_0x1f66('0x2')](){this[_0x1f66('0x4')]['isResolved']||this[_0x1f66('0x4')][_0x1f66('0x2')]();}['reopen'](){this['model'][_0x1f66('0xb')]&&this[_0x1f66('0x4')][_0x1f66('0xa')]();}[_0x1f66('0xd')](_0x18134c){this[_0x1f66('0x4')][_0x1f66('0xd')]({'content':_0x18134c,'authorId':this[_0x1f66('0x10')][_0x1f66('0xf')]['id']});}[_0x1f66('0x5')](_0x420885,_0x626383){this[_0x1f66('0x4')][_0x1f66('0x0')](_0x420885)['update']({'content':_0x626383});}[_0x1f66('0xe')](_0x1507c6){this[_0x1f66('0x4')][_0x1f66('0x0')](_0x1507c6)['remove']();}['destroy'](){this[_0x1f66('0x1')](),this['model']['_isAttached']=!0x1;}}
|
|
@@ -74,7 +74,7 @@ export default class BaseCommentThreadView extends View {
|
|
|
74
74
|
/**
|
|
75
75
|
* @inheritDoc
|
|
76
76
|
*/
|
|
77
|
-
destroy(): void
|
|
77
|
+
destroy(): Promise<void>;
|
|
78
78
|
}
|
|
79
79
|
/**
|
|
80
80
|
* Fired when a user created a first comment in the comment thread. Then the comment thread is submitted and saved.
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24f2=['removeCommentThread','isResolved','locale','placeholder','assign','Reply...','_localUser','editorDestroyed','canComment','_config','resolveCommentThread','reopenCommentThread','delegate','stop','isSubmitted','bind','element','submitCommentThread','Reply\x20to\x20reopen\x20discussion...','editorReady','commentThreadHeaderView','value','_createCommentThreadInputView','length','addComment','isResolvable','commentThreadInputView','isActive','isDirty','editorConfig','commentsListView','commentInputView','_model','set','submitLabel','hasDirtyComment','destroy','removeComment','fire','focus','cancel','submit','Write\x20a\x20comment...'];(function(_0x5387d3,_0x24f257){const _0x4dc062=function(_0x335a25){while(--_0x335a25){_0x5387d3['push'](_0x5387d3['shift']());}};_0x4dc062(++_0x24f257);}(_0x24f2,0x79));const _0x4dc0=function(_0x5387d3,_0x24f257){_0x5387d3=_0x5387d3-0x0;let _0x4dc062=_0x24f2[_0x5387d3];return _0x4dc062;};import{View as _0x55e1be}from'ckeditor5/src/ui';import _0x3c0ec1 from'./commentthreadinputview';import _0xfd4ce7 from'./commentslistview';import _0x1f85ef from'./commentthreadheaderview';import{getTranslation as _0xf6d09c}from'../../../utils/common-translations';export default class Tt extends _0x55e1be{constructor(_0x3e4431,_0x5bec76,_0x3fe6c2,_0x2c43bc){super(_0x3e4431),this[_0x4dc0('0x29')](_0x4dc0('0x23'),!0x1),this[_0x4dc0('0x29')]('isDirty',!0x1),this[_0x4dc0('0x28')]=_0x5bec76,this[_0x4dc0('0xe')]=_0x3fe6c2,this['_config']=_0x2c43bc,this[_0x4dc0('0x1c')]=new _0x1f85ef(_0x3e4431,_0x5bec76),this['commentThreadHeaderView'][_0x4dc0('0x14')](_0x4dc0('0x13'))['to'](this),this[_0x4dc0('0x26')]=new _0xfd4ce7(_0x3e4431,_0x5bec76,Object[_0x4dc0('0xc')]({'CommentView':this[_0x4dc0('0x11')]['CommentView']},_0x2c43bc)),this[_0x4dc0('0x26')][_0x4dc0('0x14')]('removeComment')['to'](this),this[_0x4dc0('0x26')][_0x4dc0('0x14')]('updateComment')['to'](this),this[_0x4dc0('0x26')][_0x4dc0('0x14')](_0x4dc0('0x12'))['to'](this),this[_0x4dc0('0x26')][_0x4dc0('0x14')](_0x4dc0('0x1b'))['to'](this),this[_0x4dc0('0x26')][_0x4dc0('0x14')](_0x4dc0('0xf'))['to'](this),this[_0x4dc0('0x26')][_0x4dc0('0x17')](_0x4dc0('0x23'))['to'](this),this[_0x4dc0('0x29')](_0x4dc0('0x1f'),this[_0x4dc0('0x26')][_0x4dc0('0x1f')]),this[_0x4dc0('0x17')]('length')['to'](this[_0x4dc0('0x26')],_0x4dc0('0x1f')),this[_0x4dc0('0x22')]=this['_createCommentThreadInputView'](),this['commentThreadInputView'][_0x4dc0('0x14')](_0x4dc0('0x1b'))['to'](this),this['commentThreadInputView'][_0x4dc0('0x14')](_0x4dc0('0xf'))['to'](this),this['on'](_0x4dc0('0x2'),()=>this['focus']()),this[_0x4dc0('0x17')](_0x4dc0('0x24'))['to'](this[_0x4dc0('0x26')],_0x4dc0('0x0'),this[_0x4dc0('0x22')][_0x4dc0('0x27')],'value',(_0x3aa562,_0x4a16b8)=>_0x3aa562||!!_0x4a16b8);}[_0x4dc0('0x4')](){this[_0x4dc0('0x18')][_0x4dc0('0x4')]();}async[_0x4dc0('0x1')](){this[_0x4dc0('0x24')]=!0x1,this[_0x4dc0('0x26')]['destroy'](),await this[_0x4dc0('0x22')][_0x4dc0('0x1')](),super[_0x4dc0('0x1')]();}[_0x4dc0('0x1e')](){const _0x88874e=new _0x3c0ec1(this[_0x4dc0('0xa')],this[_0x4dc0('0xe')],this[_0x4dc0('0x11')][_0x4dc0('0x25')]),_0x4ffd63=_0x88874e[_0x4dc0('0x27')];return _0x88874e[_0x4dc0('0x17')]('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this[_0x4dc0('0x28')],_0x4dc0('0x10'),this['_model'],_0x4dc0('0x9'),_0x4ffd63,_0x4dc0('0x1d'),(_0x3e2d09,_0x2f51b0,_0xf49815,_0x24238f,_0x2504e7)=>!!_0x2504e7||_0x24238f&&_0xf49815&&!_0x2f51b0||_0x3e2d09&&_0xf49815&&!_0x2f51b0),_0x4ffd63[_0x4dc0('0x17')](_0x4dc0('0xb'))['to'](this,'length',this[_0x4dc0('0x28')],_0x4dc0('0x21'),this[_0x4dc0('0x28')],_0x4dc0('0x9'),(_0x433b60,_0x254297,_0x30ddf2)=>{let _0x3ff351;return _0x3ff351=_0x30ddf2&&_0x254297?_0x4dc0('0x1a'):_0x433b60?_0x4dc0('0xd'):_0x4dc0('0x7'),_0xf6d09c(this[_0x4dc0('0xa')],_0x3ff351);}),_0x4ffd63[_0x4dc0('0x17')](_0x4dc0('0x2a'))['to'](this,_0x4dc0('0x1f'),_0xa7bd99=>_0xf6d09c(this[_0x4dc0('0xa')],_0xa7bd99?'Reply':'Comment')),_0x4ffd63['on'](_0x4dc0('0x6'),(_0x2b3ce7,_0x433dea)=>{this[_0x4dc0('0x3')](_0x4dc0('0x20'),_0x433dea),this['_model'][_0x4dc0('0x9')]&&this[_0x4dc0('0x28')][_0x4dc0('0x21')]&&this[_0x4dc0('0x3')](_0x4dc0('0x13'),this[_0x4dc0('0x28')]['id']),this[_0x4dc0('0x28')][_0x4dc0('0x16')]||this['fire'](_0x4dc0('0x19'));}),_0x4ffd63['on']('cancel',()=>{this[_0x4dc0('0x4')]();}),_0x4ffd63[_0x4dc0('0x17')]('disabledSubmit')['to'](this[_0x4dc0('0x28')],'isReadOnly'),_0x4ffd63['on'](_0x4dc0('0x5'),_0x3986fa=>{0x0==this['length']&&(this[_0x4dc0('0x3')](_0x4dc0('0x8')),_0x3986fa[_0x4dc0('0x15')]());}),this['on']('change:isActive',(_0x3020bf,_0x5a37ec,_0x4c697b)=>{_0x4c697b||this[_0x4dc0('0x1f')]||_0x4ffd63[_0x4dc0('0x1d')]||this[_0x4dc0('0x3')]('removeCommentThread');}),_0x88874e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c54=['add','submitLabel','element','Save','visibleView','value','fire','submit','expand','_createCommentInputView','bind','switchToDisplayMode','_config','isReadOnly','isCollapsed','editorConfig','switchToEditMode','get','delegate','createEditor','editorDestroyed','locale','isEditMode','set','remove','content','_createCommentContentView','focus','initialData','editorReady','_model','isSystemComment','destroy','updateComment','disabledSubmit'];(function(_0x43a87e,_0x4c5469){const _0x96eaa0=function(_0x4243d7){while(--_0x4243d7){_0x43a87e['push'](_0x43a87e['shift']());}};_0x96eaa0(++_0x4c5469);}(_0x4c54,0x180));const _0x96ea=function(_0x43a87e,_0x4c5469){_0x43a87e=_0x43a87e-0x0;let _0x96eaa0=_0x4c54[_0x43a87e];return _0x96eaa0;};import{View as _0x2c2071}from'ckeditor5/src/ui';import{trimHtml as _0x592007}from'ckeditor5-collaboration/src/collaboration-core';import _0x526c41 from'./commentcontentview';import _0x3dad19 from'./commentinputview';import{getTranslation as _0x48d5b3}from'../../../utils/common-translations';export default class Yt extends _0x2c2071{constructor(_0x3dc7ca,_0x148a2a,_0x32989f){super(_0x3dc7ca),this[_0x96ea('0x1f')]=_0x148a2a,this[_0x96ea('0xd')]=_0x32989f,this[_0x96ea('0x20')]=!!this[_0x96ea('0xd')][_0x96ea('0x20')],this[_0x96ea('0x18')](_0x96ea('0x17'),!0x1),this[_0x96ea('0x18')](_0x96ea('0xf'),!0x0),this[_0x96ea('0x5')]=this['createCollection'](),this[_0x96ea('0x5')][_0x96ea('0x1')](this[_0x96ea('0x1b')]());}[_0x96ea('0x9')](){this[_0x96ea('0xf')]=!0x1;}['collapse'](){this[_0x96ea('0x17')]||(this['isCollapsed']=!0x0);}[_0x96ea('0x1c')](){this[_0x96ea('0x3')]['focus']();}async[_0x96ea('0x21')](){await this[_0x96ea('0x5')][_0x96ea('0x12')](0x0)[_0x96ea('0x21')](),super[_0x96ea('0x21')]();}[_0x96ea('0x11')](){this[_0x96ea('0x17')]||(this['isEditMode']=!0x0,this['visibleView'][_0x96ea('0x19')](0x0)['destroy'](),this[_0x96ea('0x5')]['add'](this[_0x96ea('0xa')]()));}['switchToDisplayMode'](){this[_0x96ea('0x17')]&&(this['isEditMode']=!0x1,this['visibleView']['remove'](0x0)['destroy'](),this[_0x96ea('0x5')]['add'](this[_0x96ea('0x1b')]()));}[_0x96ea('0x1b')](){const _0x1216a9=new _0x526c41(this[_0x96ea('0x16')]);return _0x1216a9[_0x96ea('0xb')](_0x96ea('0x1a'))['to'](this[_0x96ea('0x1f')],_0x96ea('0x1a'),this,'isCollapsed',(_0x4219ef,_0x20c976)=>_0x20c976?_0x592007(_0x4219ef,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x4219ef),_0x1216a9;}['_createCommentInputView'](){this[_0x96ea('0xd')]['editorConfig']||(this['_config'][_0x96ea('0x10')]={}),this[_0x96ea('0xd')][_0x96ea('0x10')][_0x96ea('0x1d')]=this['_model'][_0x96ea('0x1a')];const _0x54ca0c=new _0x3dad19(this[_0x96ea('0x16')],this[_0x96ea('0xd')][_0x96ea('0x10')]);return _0x54ca0c[_0x96ea('0x6')]=this[_0x96ea('0x1f')][_0x96ea('0x1a')],_0x54ca0c[_0x96ea('0xb')](_0x96ea('0x0'))['to'](this[_0x96ea('0x1f')],_0x96ea('0xe')),_0x54ca0c[_0x96ea('0x2')]=_0x48d5b3(this[_0x96ea('0x16')],_0x96ea('0x4')),_0x54ca0c['on'](_0x96ea('0x8'),(_0x390a7c,_0x43ffbe)=>{this[_0x96ea('0x7')](_0x96ea('0x22'),this['_model']['id'],_0x43ffbe),this[_0x96ea('0xc')](),this[_0x96ea('0x1c')]();}),_0x54ca0c['on']('cancel',()=>{this[_0x96ea('0xc')](),this['focus']();}),_0x54ca0c['once'](_0x96ea('0x1e'),()=>{_0x54ca0c[_0x96ea('0x1c')]();}),_0x54ca0c[_0x96ea('0x14')](),_0x54ca0c[_0x96ea('0x13')](_0x96ea('0x1e'))['to'](this),_0x54ca0c[_0x96ea('0x13')](_0x96ea('0x15'))['to'](this),_0x54ca0c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46a2=['bindTemplate','setTemplate','set','ck-thread__comment-count','count','NUMBER_OF_COMMENTS'];(function(_0x1c426d,_0x46a228){const _0xd85036=function(_0x1cbb8a){while(--_0x1cbb8a){_0x1c426d['push'](_0x1c426d['shift']());}};_0xd85036(++_0x46a228);}(_0x46a2,0xda));const _0xd850=function(_0x1c426d,_0x46a228){_0x1c426d=_0x1c426d-0x0;let _0xd85036=_0x46a2[_0x1c426d];return _0xd85036;};import{View as _0x213c7c}from'ckeditor5/src/ui';import{getTranslation as _0x2d8513}from'../../../utils/common-translations';export default class Zt extends _0x213c7c{constructor(_0x506eda){super(_0x506eda);const _0x175c13=this[_0xd850('0x4')];this[_0xd850('0x0')]('count',void 0x0),this[_0xd850('0x5')]({'tag':'li','attributes':{'class':_0xd850('0x1')},'children':[{'text':_0x175c13['to'](_0xd850('0x2'),_0x58b870=>_0x2d8513(_0x506eda,_0xd850('0x3'),_0x58b870))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2ca3=['ck-comment__content','render','element','innerHTML','ck-annotation__content'];(function(_0x1f7f99,_0x2ca371){var _0x268802=function(_0x5502dc){while(--_0x5502dc){_0x1f7f99['push'](_0x1f7f99['shift']());}};_0x268802(++_0x2ca371);}(_0x2ca3,0xe8));var _0x2688=function(_0x1f7f99,_0x2ca371){_0x1f7f99=_0x1f7f99-0x0;var _0x268802=_0x2ca3[_0x1f7f99];return _0x268802;};import{View as _0x19d196}from'ckeditor5/src/ui';export default class Ut extends _0x19d196{constructor(_0x435a77){super(_0x435a77),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':[_0x2688('0x3'),_0x2688('0x2')]}});}[_0x2688('0x4')](){super[_0x2688('0x4')](),this['on']('change:content',(_0x2aa6d3,_0x31986f,_0x437b31)=>{this[_0x2688('0x0')]['innerHTML']=_0x437b31;}),this[_0x2688('0x0')][_0x2688('0x1')]=this['content'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16d5=['add','editorReady','then','destroy','submitButtonView','ck-comment__input-actions--cancel','change','Reply','editorDestroyed','length','showButtons','trim','Esc','Reply...','shift\x20+\x20tab','element','Cancel','forEach','fire','create','bind','ck-comment__input-wrapper','setTemplate','focusTracker','high','withText','initialData','_isDestroyed','listenTo','firstChild','_editorCreationPromise','submit','ck-comment__input-actions','set','cancelButtonView','value','keystrokes','ck-comment__input-actions--submit','isEnabled','submitLabel','createEditor','focusNext','tab','low','_initializeFocusCycling','disabledSubmit','focusPrevious','stop','_editorConfig','execute','cancel','_createCancelButton','document','_createSubmitButton','label','editor','insertBefore','render','ck-comment__input-actions--active','extendTemplate','setData'];(function(_0x17450e,_0x16d5f2){const _0x3729f8=function(_0x3c5616){while(--_0x3c5616){_0x17450e['push'](_0x17450e['shift']());}};_0x3729f8(++_0x16d5f2);}(_0x16d5,0xc5));const _0x3729=function(_0x17450e,_0x16d5f2){_0x17450e=_0x17450e-0x0;let _0x3729f8=_0x16d5[_0x17450e];return _0x3729f8;};import{View as _0x101260,ViewCollection as _0x3bd563,FocusCycler as _0x5cc682,ButtonView as _0x34095e}from'ckeditor5/src/ui';import{FocusTracker as _0x545a50,KeystrokeHandler as _0x3619cd}from'ckeditor5/src/utils';import _0x16d625 from'../commenteditor/commenteditor';import{getTranslation as _0x57f6e6}from'../../../utils/common-translations';export default class Xt extends _0x101260{constructor(_0x44d82a,_0x4de9a3={}){super(_0x44d82a),this[_0x3729('0x29')]=null,this[_0x3729('0x22')]=_0x4de9a3,this[_0x3729('0x16')]=new _0x3619cd(),this[_0x3729('0x9')]=new _0x545a50(),this[_0x3729('0x13')]('value',_0x4de9a3[_0x3729('0xc')]||''),this[_0x3729('0x13')]('disabledSubmit',!0x1),this['set'](_0x3729('0x39'),!0x0),this[_0x3729('0x13')]('placeholder',_0x57f6e6(_0x44d82a,_0x3729('0x3c'))),this[_0x3729('0x13')](_0x3729('0x19'),_0x57f6e6(_0x44d82a,_0x3729('0x36'))),this[_0x3729('0x33')]=this[_0x3729('0x27')](),this[_0x3729('0x14')]=this[_0x3729('0x25')](),this[_0x3729('0x8')]({'tag':'div','attributes':{'class':[_0x3729('0x7')]},'children':[{'tag':'div','attributes':{'class':[_0x3729('0x12'),this['bindTemplate']['if']('showButtons',_0x3729('0x2c'))]},'children':[this[_0x3729('0x33')],this[_0x3729('0x14')]]}]}),this[_0x3729('0x16')]['set'](_0x3729('0x3b'),(_0x496bb9,_0xebb749)=>{this['cancelButtonView'][_0x3729('0x4')](_0x3729('0x23')),_0xebb749();}),this['on'](_0x3729('0x11'),(_0x124a81,_0x1d3047)=>{_0x1d3047['length']>0xfde8?(alert(_0x57f6e6(_0x44d82a,'TOO_LONG_COMMENT_ALERT',[_0x1d3047[_0x3729('0x38')],0xfde8])),_0x124a81[_0x3729('0x21')]()):this[_0x3729('0x29')][_0x3729('0x2e')]('');},{'priority':_0x3729('0xa')});}[_0x3729('0x2b')](){super[_0x3729('0x2b')](),this['keystrokes'][_0x3729('0xe')](this[_0x3729('0x1')]),this['focusTracker'][_0x3729('0x2f')](this[_0x3729('0x1')]);}[_0x3729('0x1a')](){return this[_0x3729('0x29')]||(this[_0x3729('0x29')]=new _0x16d625(this[_0x3729('0x22')]),this[_0x3729('0x10')]=this[_0x3729('0x29')][_0x3729('0x5')]()[_0x3729('0x31')](()=>{if(this[_0x3729('0xd')])return;const _0x412113=this[_0x3729('0x29')];this[_0x3729('0x1')][_0x3729('0x2a')](_0x412113['ui'][_0x3729('0x1')],this[_0x3729('0x1')][_0x3729('0xf')]),_0x412113['model'][_0x3729('0x26')]['on'](_0x3729('0x35'),()=>this[_0x3729('0x15')]=_0x412113['getData']()),_0x412113['bind']('placeholder')['to'](this),this[_0x3729('0x1e')](this[_0x3729('0x29')]),this[_0x3729('0x4')](_0x3729('0x30'),this[_0x3729('0x29')]);})),this[_0x3729('0x10')];}['focus'](){this[_0x3729('0x29')]&&this[_0x3729('0x29')]['focus']();}async[_0x3729('0x32')](){this[_0x3729('0xd')]||(this[_0x3729('0xd')]=!0x0,this['editor']&&(await this[_0x3729('0x10')],await this[_0x3729('0x29')][_0x3729('0x32')](),this[_0x3729('0x4')](_0x3729('0x37'),this[_0x3729('0x29')])),await super[_0x3729('0x32')]());}[_0x3729('0x27')](){const {locale:_0x2cfb95}=this,_0x2396a=new _0x34095e(_0x2cfb95);return _0x2396a[_0x3729('0x2d')]({'attributes':{'class':[_0x3729('0x17')]}}),_0x2396a[_0x3729('0xb')]=!0x0,_0x2396a[_0x3729('0x6')](_0x3729('0x28'))['to'](this,_0x3729('0x19')),_0x2396a['on'](_0x3729('0x23'),()=>{this[_0x3729('0x4')]('submit',this[_0x3729('0x15')]);}),_0x2396a[_0x3729('0x6')](_0x3729('0x18'))['to'](this,'value',this,_0x3729('0x1f'),(_0xbfb9d3,_0x1e1605)=>!_0x1e1605&&!!_0xbfb9d3[_0x3729('0x3a')]()),_0x2396a;}[_0x3729('0x25')](){const {locale:_0xaab655}=this,_0x27f143=new _0x34095e(_0xaab655);return _0x27f143[_0x3729('0x2d')]({'attributes':{'class':[_0x3729('0x34')]}}),_0x27f143[_0x3729('0x28')]=_0x57f6e6(_0xaab655,_0x3729('0x2')),_0x27f143[_0x3729('0xb')]=!0x0,_0x27f143['on'](_0x3729('0x23'),()=>{this[_0x3729('0x29')]['setData'](''),this[_0x3729('0x4')](_0x3729('0x24'));}),_0x27f143;}[_0x3729('0x1e')](_0x29965a){const _0x183da9=this['focusTracker'],_0x48b742=new _0x3bd563();[_0x29965a['ui']['view'],this[_0x3729('0x33')],this[_0x3729('0x14')]][_0x3729('0x3')](_0x38cb11=>{_0x48b742[_0x3729('0x2f')](_0x38cb11),_0x183da9[_0x3729('0x2f')](_0x38cb11[_0x3729('0x1')]);});const _0xd0b3b6=new _0x5cc682({'focusables':_0x48b742,'focusTracker':_0x183da9});this[_0x3729('0x16')][_0x3729('0x13')](_0x3729('0x1c'),(_0x8990d5,_0x28e97f)=>{_0xd0b3b6[_0x3729('0x1b')](),_0x28e97f();},{'priority':_0x3729('0x1d')}),this[_0x3729('0x16')]['set'](_0x3729('0x0'),(_0x5f283c,_0x280526)=>{_0xd0b3b6[_0x3729('0x20')](),_0x280526();},{'priority':'low'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c52=['_focusables','isActive','bindTemplate','length','listenTo','isEmpty','ck-comments-archive__content','focus','remove','ck-hidden','EMPTY_COMMENTS_ARCHIVE','COMMENTS_ARCHIVE','add','ck-comments-archive','tab','div','auto','element','_keystrokes','arrowup','destroy','set','render','arrowright','selectstart','ck-comments-archive__header\x20','_focusTracker','arrowleft','stopPropagation','_focusCycler'];(function(_0x113b61,_0x2c5201){const _0x50dd66=function(_0x267c49){while(--_0x267c49){_0x113b61['push'](_0x113b61['shift']());}};_0x50dd66(++_0x2c5201);}(_0x2c52,0xac));const _0x50dd=function(_0x113b61,_0x2c5201){_0x113b61=_0x113b61-0x0;let _0x50dd66=_0x2c52[_0x113b61];return _0x50dd66;};import{View as _0x1212a9,FocusCycler as _0x1769f2}from'ckeditor5/src/ui';import{FocusTracker as _0x1edff7,KeystrokeHandler as _0x2a40e9}from'ckeditor5/src/utils';import{getTranslation as _0x182e79}from'../../../utils/common-translations';export default class K extends _0x1212a9{constructor(_0x56c3a6,_0x30ff7d){super(_0x56c3a6),this['set'](_0x50dd('0xd'),!_0x30ff7d['length']),this['_focusTracker']=new _0x1edff7(),this['_keystrokes']=new _0x2a40e9(),this[_0x50dd('0x8')]=_0x30ff7d,this[_0x50dd('0x7')]=new _0x1769f2({'focusables':this[_0x50dd('0x8')],'focusTracker':this[_0x50dd('0x4')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':_0x50dd('0x16')}}),this['listenTo'](_0x30ff7d,_0x50dd('0x14'),()=>{this['isEmpty']=!0x1;}),this[_0x50dd('0xc')](_0x30ff7d,_0x50dd('0x10'),(_0x3c306c,_0x347e77)=>{_0x347e77[_0x50dd('0x9')]&&this[_0x50dd('0xf')](),_0x30ff7d[_0x50dd('0xb')]||(this[_0x50dd('0xd')]=!0x0);});const _0x2aab5b=this[_0x50dd('0xa')];this['setTemplate']({'tag':'div','attributes':{'dir':_0x50dd('0x18'),'class':['ck',_0x50dd('0x15')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x50dd('0x3')]},'children':[{'text':_0x182e79(_0x56c3a6,_0x50dd('0x13'))}]},{'tag':_0x50dd('0x17'),'attributes':{'class':[_0x50dd('0xe')]},'children':[{'tag':_0x50dd('0x17'),'children':_0x30ff7d},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x2aab5b['if'](_0x50dd('0xd'),_0x50dd('0x11'),_0x165b0b=>!_0x165b0b)]},'children':[{'text':_0x182e79(_0x56c3a6,_0x50dd('0x12'))}]}]}]});}[_0x50dd('0x0')](){super[_0x50dd('0x0')](),this[_0x50dd('0x1a')][_0x50dd('0xc')](this['element']);const _0x67f659=_0xc5235f=>_0xc5235f[_0x50dd('0x6')]();this[_0x50dd('0x1a')]['set'](_0x50dd('0x1'),_0x67f659),this[_0x50dd('0x1a')][_0x50dd('0x1d')](_0x50dd('0x5'),_0x67f659),this[_0x50dd('0x1a')][_0x50dd('0x1d')](_0x50dd('0x1b'),_0x67f659),this[_0x50dd('0x1a')][_0x50dd('0x1d')]('arrowdown',_0x67f659),this[_0x50dd('0xc')](this['element'],_0x50dd('0x2'),(_0x3e7e3b,_0x23c23d)=>{_0x23c23d['stopPropagation']();},{'priority':'high'});}[_0x50dd('0x1c')](){super[_0x50dd('0x1c')](),this[_0x50dd('0x4')][_0x50dd('0x1c')](),this['_keystrokes'][_0x50dd('0x1c')]();}[_0x50dd('0xf')](){this[_0x50dd('0x19')][_0x50dd('0xf')]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d63=['commentUpdated','delegate','resolveCommentThread','locale','editorDestroyed','_handleRemoveCommentModel','listenTo','resolvedAt','updateComment','add','delete','viewUid','count','_shouldCollapse','_config','render','commentViews','stopListening','change:isEditMode','refreshVisibleViews','set','maxThreadTotalWeight','ck-thread__comments','resolvedBy','_updateHasDirtyComment','element','editorReady','weight','_handleNewCommentModel','_handleInfoComment','hasDirtyComment','change:hasDirtyComment','resolvedCommentView','remove','from','visibleViews','equal','length','resolved','_collapsedCommentsView','focus','destroy','collapse','maxCommentsWhenCollapsed','_rearrangeExpand','CommentView','change:isResolved','setTemplate','isEditMode','some','_rearrangeCollapse','insert','createCollection','formatDateTime','authoredAt','comments','_model'];(function(_0x4dfcac,_0x5d6300){const _0x3b9975=function(_0x1a6006){while(--_0x1a6006){_0x4dfcac['push'](_0x4dfcac['shift']());}};_0x3b9975(++_0x5d6300);}(_0x5d63,0x1ab));const _0x3b99=function(_0x4dfcac,_0x5d6300){_0x4dfcac=_0x4dfcac-0x0;let _0x3b9975=_0x5d63[_0x4dfcac];return _0x3b9975;};import{View as _0xa37451}from'ckeditor5/src/ui';import{diff as _0x5cbd42,Collection as _0x3c3c36}from'ckeditor5/src/utils';import{getTranslation as _0x37979d}from'../../../utils/common-translations';import _0x1fc868 from'./collapsedcommentsview';export default class wt extends _0xa37451{constructor(_0x194d3f,_0x56af36,_0x20d657){super(_0x194d3f),this[_0x3b99('0x31')]('hasDirtyComment',!0x1),this[_0x3b99('0x31')](_0x3b99('0x9'),_0x56af36[_0x3b99('0x1b')][_0x3b99('0x9')]),this[_0x3b99('0x31')]('isActive',!0x1),this[_0x3b99('0x1c')]=_0x56af36,this['_config']=_0x20d657,this[_0x3b99('0x2d')]=this[_0x3b99('0x18')](),this[_0x3b99('0x7')]=this[_0x3b99('0x18')](),this[_0x3b99('0x4')]=null,this[_0x3b99('0xb')]=new _0x1fc868(_0x194d3f),this[_0x3b99('0xb')]['bind'](_0x3b99('0x29'))['to'](this,_0x3b99('0x9'),_0x4fff01=>_0x4fff01-this['_config'][_0x3b99('0xf')]);for(const _0x2d169d of _0x56af36[_0x3b99('0x1b')])this[_0x3b99('0x0')](_0x2d169d);this[_0x3b99('0x1')](),this['listenTo'](_0x56af36[_0x3b99('0x1b')],_0x3b99('0x26'),(_0x547e84,_0x40d8e5)=>{const _0x2be2f9=this['_calculatePosition'](_0x40d8e5);this[_0x3b99('0x9')]++,this[_0x3b99('0x0')](_0x40d8e5,_0x2be2f9),this[_0x3b99('0x30')]();}),this[_0x3b99('0x23')](_0x56af36[_0x3b99('0x1b')],'remove',(_0x139020,_0x2aa7ff)=>{this[_0x3b99('0x9')]--,this[_0x3b99('0x22')](_0x2aa7ff),this[_0x3b99('0x30')]();}),this[_0x3b99('0x23')](_0x56af36,_0x3b99('0x1d'),()=>this[_0x3b99('0x30')]()),this[_0x3b99('0x23')](_0x56af36,_0x3b99('0x12'),()=>this['_handleInfoComment']()),this['on']('change:isActive',()=>this[_0x3b99('0x30')]()),this['on'](_0x3b99('0x3'),()=>this['refreshVisibleViews']()),this[_0x3b99('0x13')]({'tag':'ul','attributes':{'class':[_0x3b99('0x33')]},'children':this[_0x3b99('0x7')]});}get[_0x3b99('0x2a')](){return this[_0x3b99('0x1c')][_0x3b99('0x38')]>this[_0x3b99('0x2b')][_0x3b99('0x32')]&&!this['isActive']&&!this[_0x3b99('0x2')];}[_0x3b99('0x2c')](){super[_0x3b99('0x2c')](),this[_0x3b99('0x30')]();}['focus'](){this[_0x3b99('0x36')][_0x3b99('0xc')]();}['destroy'](){this[_0x3b99('0xb')][_0x3b99('0xd')]();for(const _0x1e19f3 of this[_0x3b99('0x2d')])_0x1e19f3['destroy']();super['destroy']();}[_0x3b99('0x30')](){this[_0x3b99('0x2a')]?this['_rearrangeCollapse']():this[_0x3b99('0x10')]();}['_handleNewCommentModel'](_0x12ad72,_0x34235c){const _0x4dfd8f=new this[(_0x3b99('0x2b'))][(_0x3b99('0x11'))](this[_0x3b99('0x20')],_0x12ad72,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this[_0x3b99('0x2b')]['editorConfig']});_0x4dfd8f[_0x3b99('0x28')]=_0x12ad72['id'],_0x4dfd8f[_0x3b99('0x1e')]('removeComment')['to'](this),_0x4dfd8f[_0x3b99('0x1e')](_0x3b99('0x25'))['to'](this),_0x4dfd8f[_0x3b99('0x1e')](_0x3b99('0x1f'))['to'](this),_0x4dfd8f[_0x3b99('0x1e')](_0x3b99('0x37'))['to'](this),_0x4dfd8f['delegate'](_0x3b99('0x21'))['to'](this),this[_0x3b99('0x23')](_0x4dfd8f,_0x3b99('0x2f'),()=>this[_0x3b99('0x35')]()),this[_0x3b99('0x2d')][_0x3b99('0x26')](_0x4dfd8f,_0x34235c);}['_calculatePosition'](_0x55fb9e){const _0x1a5938=this[_0x3b99('0x1c')]['_findOptimalIndex'](_0x55fb9e);return this[_0x3b99('0x4')]?this[_0x3b99('0x4')][_0x3b99('0x1a')]>_0x55fb9e['authoredAt']?_0x1a5938-0x1:_0x1a5938:_0x1a5938-0x1;}[_0x3b99('0x1')](){if(this[_0x3b99('0x1c')][_0x3b99('0x34')]&&this[_0x3b99('0x1c')][_0x3b99('0x24')]){const _0x36f743={'id':_0x3b99('0xa'),'author':this[_0x3b99('0x1c')][_0x3b99('0x34')],'authoredAt':this[_0x3b99('0x1c')][_0x3b99('0x24')],'content':_0x37979d(this[_0x3b99('0x20')],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this[(_0x3b99('0x2b'))][(_0x3b99('0x11'))](this['locale'],_0x36f743,{'maxCommentCharsWhenCollapsed':this[_0x3b99('0x2b')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x3b99('0x2b')][_0x3b99('0x19')],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this[_0x3b99('0x2d')][_0x3b99('0x26')](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x36f743));}else this[_0x3b99('0x4')]&&(this['commentViews'][_0x3b99('0x5')](this['resolvedCommentView']),this[_0x3b99('0x4')]['destroy'](),this[_0x3b99('0x4')]=null);this[_0x3b99('0x30')]();}[_0x3b99('0x22')](_0x5d0a0e){const _0x475105=this['commentViews']['remove'](_0x5d0a0e['id']);this[_0x3b99('0x2e')](_0x475105),_0x475105[_0x3b99('0x14')]&&this['_updateHasDirtyComment'](),_0x475105['destroy']();}['_updateHasDirtyComment'](){this[_0x3b99('0x2')]=Array[_0x3b99('0x6')](this[_0x3b99('0x2d')])[_0x3b99('0x15')](_0x5442c9=>_0x5442c9[_0x3b99('0x14')]);}[_0x3b99('0x16')](){const _0xa4de6c=function(_0x44f1f6){const _0x476b6a=new _0x3c3c36();for(const _0x4b94aa of _0x44f1f6)_0x476b6a['add'](_0x4b94aa);return _0x476b6a;}(this['commentViews']),_0x5a4bed=this[_0x3b99('0xb')][_0x3b99('0x29')];for(let _0x9d3f8d=0x1;_0x9d3f8d<=_0x5a4bed;_0x9d3f8d++)_0xa4de6c[_0x3b99('0x5')](0x1);for(const _0x117ae7 of _0xa4de6c)_0x117ae7[_0x3b99('0xe')]();_0x5a4bed>0x0&&_0xa4de6c['add'](this['_collapsedCommentsView'],0x1),ss(_0x5cbd42(Array[_0x3b99('0x6')](this[_0x3b99('0x7')]),Array[_0x3b99('0x6')](_0xa4de6c)),this[_0x3b99('0x7')],_0xa4de6c);}[_0x3b99('0x10')](){ss(_0x5cbd42(Array[_0x3b99('0x6')](this[_0x3b99('0x7')]),Array[_0x3b99('0x6')](this['commentViews'])),this[_0x3b99('0x7')],this['commentViews']);for(const _0x4623e7 of this['visibleViews'])_0x4623e7['expand']();}}function ss(_0x27b620,_0x1768ef,_0x4049b3){let _0xbc5a7b=0x0;for(const _0x814dba of _0x27b620)switch(_0x814dba){case _0x3b99('0x17'):_0x1768ef[_0x3b99('0x26')](_0x4049b3['get'](_0xbc5a7b),_0xbc5a7b),_0xbc5a7b++;break;case _0x3b99('0x27'):_0x1768ef[_0x3b99('0x5')](_0xbc5a7b);break;case _0x3b99('0x8'):_0xbc5a7b++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d3a=['isVisible','reopenButtonView','bindTemplate','setTemplate','render','overlay','mouseenter','locale','querySelector','ck-context--quotes','context','isEnabled','length','div','scrollWidth','...','_createReopenButton','_trimContextValue','contextValue','classList','listenTo','reopenCommentThread','add','element','Reopen','isReadOnly','lastIndexOf','hasContext','ck-annotation__actions','value','_attachContextActions','bind','.ck-context','ck-context-wrapper','tooltip','fire','execute','label','span','_model','substring','offsetWidth'];(function(_0x607b9b,_0x3d3a23){const _0xa14041=function(_0x254655){while(--_0x254655){_0x607b9b['push'](_0x607b9b['shift']());}};_0xa14041(++_0x3d3a23);}(_0x3d3a,0x7d));const _0xa140=function(_0x607b9b,_0x3d3a23){_0x607b9b=_0x607b9b-0x0;let _0xa14041=_0x3d3a[_0x607b9b];return _0xa14041;};import{View as _0x569b7e,ButtonView as _0x9773d6}from'ckeditor5/src/ui';import{getTranslation as _0x2f6f8f}from'../../../utils/common-translations';import _0x1b8ee5 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x569b7e{constructor(_0x49f0b5,_0x5da88f){super(_0x49f0b5);const _0xfb188=this[_0xa140('0x3')];this['_model']=_0x5da88f,this['reopenButtonView']=this[_0xa140('0x11')](),this['bind'](_0xa140('0x1c'))['to'](this[_0xa140('0x28')],_0xa140('0xb'),_0x38e191=>!!_0x38e191),this['bind']('contextValue')['to'](this['_model'],_0xa140('0xb'),_0xebe11=>_0xebe11&&_0xebe11[_0xa140('0x1e')]?this[_0xa140('0x12')](_0xebe11[_0xa140('0x1e')]):_0x2f6f8f(this[_0xa140('0x8')],'Comment\x20was\x20made\x20on\x20an\x20element')),this[_0xa140('0x4')]({'tag':_0xa140('0xe'),'attributes':{'class':['ck-thread__header']},'children':[{'tag':_0xa140('0xe'),'attributes':{'class':[_0xa140('0x22')]},'children':[{'tag':'div','attributes':{'class':['ck-context',_0xfb188['if']('hasContext',_0xa140('0xa'))]},'children':[{'tag':_0xa140('0x27'),'attributes':{'class':['ck-context__value']},'children':[{'text':_0xfb188['to'](_0xa140('0x13'))}]}]}]},{'tag':_0xa140('0xe'),'attributes':{'class':[_0xa140('0x1d')]},'children':[this[_0xa140('0x2')]]}]});}[_0xa140('0x5')](){super['render'](),this[_0xa140('0x1f')]();}['_createReopenButton'](){const _0x5f3451=new _0x9773d6(this[_0xa140('0x8')]);return _0x5f3451[_0xa140('0x26')]=_0x2f6f8f(this[_0xa140('0x8')],_0xa140('0x19')),_0x5f3451[_0xa140('0x23')]=_0x2f6f8f(this[_0xa140('0x8')],_0xa140('0x19')),_0x5f3451['icon']=_0x1b8ee5,_0x5f3451[_0xa140('0x20')](_0xa140('0xc'))['to'](this[_0xa140('0x28')],_0xa140('0x1a'),_0x4f125e=>!_0x4f125e),_0x5f3451[_0xa140('0x20')](_0xa140('0x1'))['to'](this[_0xa140('0x28')],'isResolvable'),_0x5f3451['on'](_0xa140('0x25'),()=>{this[_0xa140('0x24')](_0xa140('0x16'),this[_0xa140('0x28')]['id']);}),_0x5f3451;}[_0xa140('0x12')](_0x294ac3){if(_0x294ac3[_0xa140('0xd')]<0x96)return _0x294ac3;const _0x20b63a=_0x294ac3[_0xa140('0x1b')]('\x20',0x93);return _0x294ac3[_0xa140('0x29')](0x0,_0x20b63a>-0x1?_0x20b63a:0x93)+_0xa140('0x10');}['_attachContextActions'](){const _0x198199=this[_0xa140('0x18')][_0xa140('0x9')](_0xa140('0x21')),_0x527be1=_0x198199['querySelector']('.ck-context__value');this['listenTo'](_0x198199,_0xa140('0x7'),()=>{_0x527be1[_0xa140('0x0')]<_0x527be1[_0xa140('0xf')]&&_0x198199[_0xa140('0x14')][_0xa140('0x17')]('overlay');}),this[_0xa140('0x15')](_0x198199,'mouseleave',()=>{_0x198199[_0xa140('0x14')]['remove'](_0xa140('0x6'));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xbec9=['div','editorReady','then','showButtons','bind','delegate','bindTemplate','value','userView','editorDestroyed','setTemplate','destroy','ck-thread__user','extendTemplate','ck-comment__input-container','focusTracker','showInput','commentInputView'];(function(_0xf638d,_0xbec9f2){var _0x30fbca=function(_0x224190){while(--_0x224190){_0xf638d['push'](_0xf638d['shift']());}};_0x30fbca(++_0xbec9f2);}(_0xbec9,0x68));var _0x30fb=function(_0xf638d,_0xbec9f2){_0xf638d=_0xf638d-0x0;var _0x30fbca=_0xbec9[_0xf638d];return _0x30fbca;};import{View as _0x40f3d4}from'ckeditor5/src/ui';import _0xb458cf from'./commentinputview';import{UserView as _0x12880b}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x40f3d4{constructor(_0x3057e2,_0xda1be2,_0x40941c){super(_0x3057e2),this[_0x30fb('0x3')]=new _0xb458cf(_0x3057e2,_0x40941c),this[_0x30fb('0x3')][_0x30fb('0x8')](_0x30fb('0x7'))['to'](this[_0x30fb('0x3')][_0x30fb('0x1')],'isFocused',this['commentInputView'],_0x30fb('0xb'),(_0xd42faa,_0x510999)=>_0xd42faa||!!_0x510999),this['set']('showInput',!0x1),this['on']('change:showInput',()=>{this[_0x30fb('0x2')]&&!this[_0x30fb('0x3')]['editor']&&this[_0x30fb('0x3')]['createEditor']();}),this[_0x30fb('0x3')][_0x30fb('0x9')](_0x30fb('0x5'))['to'](this),this[_0x30fb('0x3')][_0x30fb('0x9')](_0x30fb('0xd'))['to'](this),this[_0x30fb('0xc')]=new _0x12880b(_0x3057e2,_0xda1be2),this[_0x30fb('0xc')][_0x30fb('0x11')]({'attributes':{'class':_0x30fb('0x10')}}),this[_0x30fb('0x3')][_0x30fb('0x11')]({'attributes':{'class':'ck-thread__input'}}),this[_0x30fb('0xe')]({'tag':_0x30fb('0x4'),'attributes':{'class':[_0x30fb('0x0'),this[_0x30fb('0xa')]['if']('showInput','ck-comment__input-container--active')]},'children':[this[_0x30fb('0xc')],this['commentInputView']]});}['destroy'](){return this['commentInputView'][_0x30fb('0xf')]()[_0x30fb('0x6')](()=>super['destroy']());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e11=['extendTemplate','element','commentViews','then','fire','execute','add','ck-thread__container','isSystemComment','showConfirm','commentsListView','actionBar','render','bind','removeButton','div','isResolved','tooltip','addMany','.ck-thread__container','resolveButton','cancelConfirm','createCollection','remove','isActive','ck-thread--active','stop','locale','check','getTemplate','listenTo','commentThreadInputView','_cancelAllConfirms','commentThreadChildren','get','querySelector','ck-comment--resolve','isReadOnly','Delete\x20comment\x20thread?','_model','change:isResolved','ck-thread--','isConfirm','containerElement','_boundFirstCommentView','bindTemplate','set','commentThreadHeaderView','change:isActive','setTemplate','ck-reset_all-excluded','removeCommentThread','_createResolveButton','Resolve','high','actionIndicator','resolveCommentThread','unbind','change:isReadOnly','_bindFirstCommentView','isResolvable'];(function(_0x116a89,_0x3e1172){const _0x40a031=function(_0x1da24f){while(--_0x1da24f){_0x116a89['push'](_0x116a89['shift']());}};_0x40a031(++_0x3e1172);}(_0x3e11,0xad));const _0x40a0=function(_0x116a89,_0x3e1172){_0x116a89=_0x116a89-0x0;let _0x40a031=_0x3e11[_0x116a89];return _0x40a031;};import{ConfirmMixin as _0x1e808d}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x74f749}from'ckeditor5/src/ui';import{icons as _0x30c860}from'ckeditor5/src/core';import _0x51a2d6 from'./basecommentthreadview';import{getTranslation as _0x32f0e1}from'../../../utils/common-translations';export default class lt extends _0x1e808d(_0x51a2d6){constructor(_0x8b37c5,_0x4719ea,_0x22f749,_0x4812c6){super(_0x8b37c5,_0x4719ea,_0x22f749,_0x4812c6),this[_0x40a0('0x2b')]=this[_0x40a0('0x20')](),this[_0x40a0('0x2b')][_0x40a0('0x1c')]([this[_0x40a0('0x14')],this[_0x40a0('0x29')]]),this[_0x40a0('0x31')][_0x40a0('0x1a')]&&this[_0x40a0('0x2b')][_0x40a0('0x10')](this[_0x40a0('0x39')],0x0),this[_0x40a0('0x31')]['on'](_0x40a0('0x32'),(_0x34d581,_0x81fea3,_0x4bf8af)=>{_0x4bf8af?this[_0x40a0('0x2b')][_0x40a0('0x10')](this[_0x40a0('0x39')],0x0):this['commentThreadChildren'][_0x40a0('0x21')](this[_0x40a0('0x39')]);}),this[_0x40a0('0x38')](_0x40a0('0x4'),null),this[_0x40a0('0x35')]=null,this[_0x40a0('0x36')]=null,this[_0x40a0('0x25')]=_0x8b37c5,this['resolveButton']=this[_0x40a0('0x1')](),this[_0x40a0('0x3b')](this[_0x40a0('0x27')]()),this['on'](_0x40a0('0x3a'),(_0x10c849,_0x38cb18,_0x40ec26)=>{_0x40ec26||this['_cancelAllConfirms']();}),this[_0x40a0('0x28')](this[_0x40a0('0x31')],_0x40a0('0x7'),(_0x3c5a81,_0x3d373f,_0x2266c2)=>{_0x2266c2&&this['_cancelAllConfirms']();}),this['length']>0x0&&this[_0x40a0('0x8')](),this[_0x40a0('0x28')](this[_0x40a0('0x14')][_0x40a0('0xc')],_0x40a0('0x10'),()=>{this[_0x40a0('0x8')]();});}['getTemplate'](){const _0x3af9dc=this[_0x40a0('0x37')];return{'tag':_0x40a0('0x19'),'attributes':{'class':['ck-thread',_0x40a0('0x3c'),_0x3af9dc['if'](_0x40a0('0x22'),_0x40a0('0x23')),_0x3af9dc['if'](_0x40a0('0x34'),'ck-thread--remove-confirmation'),_0x3af9dc['to'](_0x40a0('0x4'),_0x5b8586=>_0x5b8586?_0x40a0('0x33')+_0x5b8586:'')],'data-thread-id':this[_0x40a0('0x31')]['id'],'tabindex':-0x1},'children':[{'tag':_0x40a0('0x19'),'attributes':{'class':_0x40a0('0x11')},'children':this[_0x40a0('0x2b')]}]};}[_0x40a0('0x16')](){super[_0x40a0('0x16')](),this['containerElement']=this[_0x40a0('0xb')][_0x40a0('0x2d')](_0x40a0('0x1d'));}[_0x40a0('0x2a')](){this[_0x40a0('0x1f')]();for(const _0x1fe7c1 of this[_0x40a0('0x14')]['commentViews'])_0x1fe7c1['cancelConfirm']();}[_0x40a0('0x8')](){const {locale:_0x1b0da5}=this,_0x5b56ae=this['commentsListView']['commentViews'][_0x40a0('0x2c')](0x0);_0x5b56ae===this[_0x40a0('0x36')]||_0x5b56ae[_0x40a0('0x12')]||(this[_0x40a0('0x36')]=_0x5b56ae,this[_0x40a0('0x6')](_0x40a0('0x4')),this[_0x40a0('0x17')](_0x40a0('0x4'))['to'](_0x5b56ae,_0x40a0('0x4'),_0x2a5ae4=>'remove'===_0x2a5ae4?_0x40a0('0x21'):null),_0x5b56ae['placeholder']=_0x32f0e1(_0x1b0da5,'Write\x20a\x20comment...'),_0x5b56ae[_0x40a0('0x18')]['on'](_0x40a0('0xf'),_0x45a76f=>{_0x45a76f[_0x40a0('0x24')](),this[_0x40a0('0x13')](_0x32f0e1(_0x1b0da5,_0x40a0('0x30')),this[_0x40a0('0x35')])[_0x40a0('0xd')](()=>{this['fire'](_0x40a0('0x0'));});},{'priority':_0x40a0('0x3')}),_0x5b56ae[_0x40a0('0x15')][_0x40a0('0x10')](this[_0x40a0('0x1e')],0x0));}[_0x40a0('0x1')](){const _0x3f8a2b=new _0x74f749(this[_0x40a0('0x25')]);return _0x3f8a2b['label']=_0x32f0e1(this[_0x40a0('0x25')],_0x40a0('0x2')),_0x3f8a2b[_0x40a0('0x1b')]=_0x32f0e1(this[_0x40a0('0x25')],_0x40a0('0x2')),_0x3f8a2b['icon']=_0x30c860[_0x40a0('0x26')],_0x3f8a2b[_0x40a0('0xa')]({'attributes':{'class':_0x40a0('0x2e')}}),_0x3f8a2b[_0x40a0('0x17')]('isEnabled')['to'](this[_0x40a0('0x31')],_0x40a0('0x2f'),_0x442bd9=>!_0x442bd9),_0x3f8a2b[_0x40a0('0x17')]('isVisible')['to'](this[_0x40a0('0x31')],_0x40a0('0x9'),this['_model'],_0x40a0('0x1a'),(_0x4949d0,_0x23063a)=>_0x4949d0&&!_0x23063a),_0x3f8a2b['on']('execute',()=>{this[_0x40a0('0xe')](_0x40a0('0x5'),this[_0x40a0('0x31')]['id']);}),_0x3f8a2b;}}
|