@ckeditor/ckeditor5-comments 46.1.1-alpha.1 → 46.1.1-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/package.json +18 -18
- package/src/comments/commentsediting.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/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/commentinputview.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 +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x449e5c=_0x1681;(function(_0x2b39f3,_0x118b94){const _0x33d718=_0x1681,_0x1e6f80=_0x2b39f3();while(!![]){try{const _0x41a334=-parseInt(_0x33d718(0x8d))/0x1+parseInt(_0x33d718(0x80))/0x2+-parseInt(_0x33d718(0xbc))/0x3*(-parseInt(_0x33d718(0xae))/0x4)+-parseInt(_0x33d718(0x9a))/0x5+parseInt(_0x33d718(0xa2))/0x6+parseInt(_0x33d718(0x86))/0x7+-parseInt(_0x33d718(0xbd))/0x8*(-parseInt(_0x33d718(0xaf))/0x9);if(_0x41a334===_0x118b94)break;else _0x1e6f80['push'](_0x1e6f80['shift']());}catch(_0x35d1bf){_0x1e6f80['push'](_0x1e6f80['shift']());}}}(_0x37b7,0x203c6));import{View as _0x404617,FocusCycler as _0x438e6e,ButtonView as _0xa2e782}from'ckeditor5/src/ui.js';function _0x37b7(){const _0x5ade3a=['tab','destroy','1000495mGBtXA','withText','view','ck-comment__input-wrapper','editor','editorDestroyed','value','isEnabled','519090gVkMfV','set','Esc','div','change','submit','Cancel','Reply...','editorReady','disabledSubmit','keystrokes','fire','4LqulYp','36JRmSUP','ck-comment__input-actions','Ctrl+Enter','placeholder','showButtons','setData','Reply','insertBefore','getData','_editorConfig','_createCancelButton','label','createCollection','581853HzwlsH','81384hDLVSQ','ck-comment__input-actions--cancel','_isDestroyed','model','focusCycler','added','submitLabel','cancelButtonView','stop','createEditor','firstChild','cancel','ck-comment__input-actions--submit','length','reverse','focusLast','focus','execute','create','listenTo','ck-comment__input-actions--active','TOO_LONG_COMMENT_ALERT','_setupKeyboardNavigation','165288WUqfYG','focusables','add','setTemplate','extendTemplate','trim','1162350ZzTCIo','initialData','_editorCreationPromise','shift+tab','bindTemplate','submitButtonView','element','237715DswQTD','_createSubmitButton','focusFirst','focusTracker','render','bind','forEach','from','high','then','document'];_0x37b7=function(){return _0x5ade3a;};return _0x37b7();}function _0x1681(_0x5d13ac,_0xb0a50e){const _0x37b771=_0x37b7();return _0x1681=function(_0x1681bb,_0x3b6496){_0x1681bb=_0x1681bb-0x76;let _0x519493=_0x37b771[_0x1681bb];return _0x519493;},_0x1681(_0x5d13ac,_0xb0a50e);}import{FocusTracker as _0x478749,KeystrokeHandler as _0x2c4ca8}from'ckeditor5/src/utils.js';import{CommentEditor as _0x5d326e}from'../commenteditor/commenteditor.js';import{getTranslation as _0xe3626a}from'../../../utils/common-translations.js';export class CommentInputView extends _0x404617{[_0x449e5c(0xac)];[_0x449e5c(0x90)];[_0x449e5c(0x81)];[_0x449e5c(0xc1)];[_0x449e5c(0x8b)];[_0x449e5c(0xc4)];[_0x449e5c(0xb8)];constructor(_0x3c026b,_0x487526={}){const _0xcb280=_0x449e5c;super(_0x3c026b),this[_0xcb280(0x9e)]=null,this[_0xcb280(0xb8)]=_0x487526,this[_0xcb280(0xa3)](_0xcb280(0xa0),_0x487526[_0xcb280(0x87)]||''),this[_0xcb280(0xa3)](_0xcb280(0xab),!0x1),this[_0xcb280(0xa3)](_0xcb280(0xb3),!0x0),this[_0xcb280(0xa3)](_0xcb280(0xb2),_0xe3626a(_0x3c026b,_0xcb280(0xa9))),this[_0xcb280(0xa3)](_0xcb280(0xc3),_0xe3626a(_0x3c026b,_0xcb280(0xb5))),this[_0xcb280(0x8b)]=this[_0xcb280(0x8e)](),this[_0xcb280(0xc4)]=this[_0xcb280(0xb9)](),this[_0xcb280(0x81)]=this[_0xcb280(0xbb)]([this[_0xcb280(0x8b)],this[_0xcb280(0xc4)]]),this[_0xcb280(0xac)]=new _0x2c4ca8(),this[_0xcb280(0x90)]=new _0x478749(),this[_0xcb280(0xc1)]=new _0x438e6e({'focusables':this[_0xcb280(0x81)],'focusTracker':this[_0xcb280(0x90)],'keystrokeHandler':this[_0xcb280(0xac)],'actions':{'focusPrevious':_0xcb280(0x89),'focusNext':_0xcb280(0x98)}}),this[_0xcb280(0x83)]({'tag':_0xcb280(0xa5),'attributes':{'class':[_0xcb280(0x9d)]},'children':[{'tag':_0xcb280(0xa5),'attributes':{'class':[_0xcb280(0xb0),this[_0xcb280(0x8a)]['if'](_0xcb280(0xb3),_0xcb280(0x7d))]},'children':[this[_0xcb280(0x8b)],this[_0xcb280(0xc4)]]}]}),this[_0xcb280(0xac)][_0xcb280(0xa3)](_0xcb280(0xa4),(_0x161b8e,_0xd11c72)=>{const _0xc95a0c=_0xcb280;this[_0xc95a0c(0xc4)][_0xc95a0c(0xad)](_0xc95a0c(0x7a)),_0xd11c72();}),this[_0xcb280(0xac)][_0xcb280(0xa3)](_0xcb280(0xb1),(_0x5a12bd,_0x98c3fc)=>{const _0x47008c=_0xcb280;this[_0x47008c(0x8b)][_0x47008c(0xa1)]&&(this[_0x47008c(0x8b)][_0x47008c(0xad)](_0x47008c(0x7a)),_0x98c3fc());}),this['on'](_0xcb280(0xa7),(_0x46aed5,_0x229c30)=>{const _0x3b41d2=_0xcb280;_0x229c30[_0x3b41d2(0x76)]>0xfde8?(alert(_0xe3626a(_0x3c026b,_0x3b41d2(0x7e),[_0x229c30[_0x3b41d2(0x76)],0xfde8])),_0x46aed5[_0x3b41d2(0xc5)]()):this[_0x3b41d2(0x9e)][_0x3b41d2(0xb4)]('');},{'priority':_0xcb280(0x95)});}[_0x449e5c(0x91)](){const _0x5960ad=_0x449e5c;super[_0x5960ad(0x91)](),this[_0x5960ad(0x7f)]();}[_0x449e5c(0xc6)](){const _0x2dd6b2=_0x449e5c;return this[_0x2dd6b2(0x9e)]||(this[_0x2dd6b2(0x9e)]=new _0x5d326e(this[_0x2dd6b2(0xb8)]),this[_0x2dd6b2(0x88)]=this[_0x2dd6b2(0x9e)][_0x2dd6b2(0x7b)]()[_0x2dd6b2(0x96)](()=>{const _0x39b9ab=_0x2dd6b2;if(this[_0x39b9ab(0xbf)])return;const _0x2ce34f=this[_0x39b9ab(0x9e)];this[_0x39b9ab(0x8c)][_0x39b9ab(0xb6)](_0x2ce34f['ui'][_0x39b9ab(0x8c)],this[_0x39b9ab(0x8c)][_0x39b9ab(0xc7)]),_0x2ce34f[_0x39b9ab(0xc0)][_0x39b9ab(0x97)]['on'](_0x39b9ab(0xa6),()=>this[_0x39b9ab(0xa0)]=_0x2ce34f[_0x39b9ab(0xb7)]()),_0x2ce34f[_0x39b9ab(0x92)](_0x39b9ab(0xb2))['to'](this),this[_0x39b9ab(0x81)][_0x39b9ab(0x82)](_0x2ce34f['ui'][_0x39b9ab(0x9c)],0x0),this[_0x39b9ab(0xad)](_0x39b9ab(0xaa),this[_0x39b9ab(0x9e)]);})),this[_0x2dd6b2(0x88)];}[_0x449e5c(0x79)](_0x1cc689){const _0x340650=_0x449e5c;-0x1===_0x1cc689?(this[_0x340650(0xc1)][_0x340650(0x8f)](),this[_0x340650(0xc1)][_0x340650(0x78)]()):this[_0x340650(0xc1)][_0x340650(0x8f)]();}async[_0x449e5c(0x99)](){const _0xccefdd=_0x449e5c;this[_0xccefdd(0xbf)]||(this[_0xccefdd(0xbf)]=!0x0,this[_0xccefdd(0x9e)]&&(await this[_0xccefdd(0x88)],await this[_0xccefdd(0x9e)][_0xccefdd(0x99)](),this[_0xccefdd(0xad)](_0xccefdd(0x9f),this[_0xccefdd(0x9e)])),await super[_0xccefdd(0x99)]());}[_0x449e5c(0x8e)](){const _0x4b0912=_0x449e5c,{locale:_0x3ac3b4}=this,_0x433c0e=new _0xa2e782(_0x3ac3b4);return _0x433c0e[_0x4b0912(0x84)]({'attributes':{'class':[_0x4b0912(0xc9)]}}),_0x433c0e[_0x4b0912(0x9b)]=!0x0,_0x433c0e[_0x4b0912(0x92)](_0x4b0912(0xba))['to'](this,_0x4b0912(0xc3)),_0x433c0e['on'](_0x4b0912(0x7a),()=>{const _0x410bd6=_0x4b0912;this[_0x410bd6(0xad)](_0x410bd6(0xa7),this[_0x410bd6(0xa0)]);}),_0x433c0e[_0x4b0912(0x92)](_0x4b0912(0xa1))['to'](this,_0x4b0912(0xa0),this,_0x4b0912(0xab),(_0x5035c8,_0x2b6c85)=>!_0x2b6c85&&!!_0x5035c8[_0x4b0912(0x85)]()),_0x433c0e;}[_0x449e5c(0xb9)](){const _0x1a1b4e=_0x449e5c,{locale:_0x41cecf}=this,_0xc56651=new _0xa2e782(_0x41cecf);return _0xc56651[_0x1a1b4e(0x84)]({'attributes':{'class':[_0x1a1b4e(0xbe)]}}),_0xc56651[_0x1a1b4e(0xba)]=_0xe3626a(_0x41cecf,_0x1a1b4e(0xa8)),_0xc56651[_0x1a1b4e(0x9b)]=!0x0,_0xc56651['on'](_0x1a1b4e(0x7a),()=>{const _0x2fe1c0=_0x1a1b4e;this[_0x2fe1c0(0x9e)][_0x2fe1c0(0xb4)](''),this[_0x2fe1c0(0xad)](_0x2fe1c0(0xc8));}),_0xc56651;}[_0x449e5c(0x7f)](){const _0x54ad4f=_0x449e5c;this[_0x54ad4f(0xac)][_0x54ad4f(0x7c)](this[_0x54ad4f(0x8c)]),this[_0x54ad4f(0x81)][_0x54ad4f(0x93)](_0x22d0fd=>{const _0x1c9b59=_0x54ad4f;this[_0x1c9b59(0x90)][_0x1c9b59(0x82)](_0x22d0fd[_0x1c9b59(0x8c)]);}),this[_0x54ad4f(0x81)]['on'](_0x54ad4f(0xa6),(_0x54e3d6,_0x587631)=>{const _0x48fe3a=_0x54ad4f;for(const _0x537da6 of Array[_0x48fe3a(0x94)](_0x587631[_0x48fe3a(0xc2)])[_0x48fe3a(0x77)]())this[_0x48fe3a(0x90)][_0x48fe3a(0x82)](_0x537da6[_0x48fe3a(0x8c)]);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3c1d(){const _0x10993d=['arrowup','comments','_collapsedCommentsView','hasDirtyComment','count','138icMQpZ','removeComment','keystrokes','_findOptimalIndex','change:isResolved','remove','editorConfig','map','locale','insert','authoredAt','from','change','editorDestroyed','forEach','resolvedBy','change:isEditMode','resolveCommentThread','_setupKeyboardNavigation','updateComment','focusTracker','focusFirst','Thread\x20comments','removed','5144gDWQRe','refreshVisibleViews','render','bind','weight','maxThreadTotalWeight','delete','focus','isActive','focusCycler','focusLast','listenTo','resolvedCommentView','104rhNdLY','resolvedAt','target','resolved','_updateHasDirtyComment','_config','14440120mKNagy','set','_handleRemoveCommentModel','formatDateTime','231155eYHcAi','_shouldCollapse','expand','element','get','viewUid','commentUpdated','commentViews','571653oforQP','arrowdown','add','_model','createCollection','_rearrangeCollapse','ck-thread__comments','CommentView','some','Marked\x20as\x20resolved','924444RDUoNY','3906826BcoDZq','change:isActive','_rearrangeExpand','bindTemplate','_handleNewCommentModel','623538IkutfO','includes','collapse','maxCommentCharsWhenCollapsed','length','editorReady','equal','stopListening','reverse','setTemplate','maxCommentsWhenCollapsed','_calculatePosition','visibleViews','_handleInfoComment','delegate','added','destroy','ck-hidden','isEditMode','change:hasDirtyComment','2550QmwDeh'];_0x3c1d=function(){return _0x10993d;};return _0x3c1d();}const _0x3216fb=_0x4847;(function(_0x1a1d20,_0xacf96f){const _0xaa87df=_0x4847,_0x4aa568=_0x1a1d20();while(!![]){try{const _0x499d9f=-parseInt(_0xaa87df(0xf5))/0x1+parseInt(_0xaa87df(0xfb))/0x2+-parseInt(_0xaa87df(0xae))/0x3*(-parseInt(_0xaa87df(0xcc))/0x4)+parseInt(_0xaa87df(0xe3))/0x5*(-parseInt(_0xaa87df(0xb4))/0x6)+parseInt(_0xaa87df(0xf6))/0x7+-parseInt(_0xaa87df(0xd9))/0x8*(parseInt(_0xaa87df(0xeb))/0x9)+parseInt(_0xaa87df(0xdf))/0xa;if(_0x499d9f===_0xacf96f)break;else _0x4aa568['push'](_0x4aa568['shift']());}catch(_0x4cea21){_0x4aa568['push'](_0x4aa568['shift']());}}}(_0x3c1d,0x90e71));import{View as _0x9fcf4d,FocusCycler as _0x347da1}from'ckeditor5/src/ui.js';import{diff as _0x3a8dbe,Collection as _0x3bd370,FocusTracker as _0x1c79be,KeystrokeHandler as _0xa8a15a}from'ckeditor5/src/utils.js';import{getTranslation as _0x561331}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x50cb44}from'./collapsedcommentsview.js';export class CommentsListView extends _0x9fcf4d{[_0x3216fb(0xea)];[_0x3216fb(0xd8)];[_0x3216fb(0xc8)];[_0x3216fb(0xb6)];[_0x3216fb(0xd5)];[_0x3216fb(0xee)];[_0x3216fb(0xde)];[_0x3216fb(0xb1)];constructor(_0x375118,_0xaeff1f,_0x3401cf){const _0x299143=_0x3216fb;super(_0x375118);const _0x434ccd=this[_0x299143(0xf9)];this[_0x299143(0xe0)](_0x299143(0xb2),!0x1),this[_0x299143(0xe0)](_0x299143(0x9e),_0xaeff1f[_0x299143(0xb0)][_0x299143(0x9e)]),this[_0x299143(0xe0)](_0x299143(0xd4),!0x1),this[_0x299143(0xee)]=_0xaeff1f,this[_0x299143(0xde)]=_0x3401cf,this[_0x299143(0xea)]=this[_0x299143(0xef)](),this[_0x299143(0xa6)]=this[_0x299143(0xef)](),this[_0x299143(0xd8)]=null,this[_0x299143(0xc8)]=new _0x1c79be(),this[_0x299143(0xb6)]=new _0xa8a15a(),this[_0x299143(0xd5)]=new _0x347da1({'focusables':this[_0x299143(0xea)],'focusTracker':this[_0x299143(0xc8)],'keystrokeHandler':this[_0x299143(0xb6)],'keystrokeHandlerOptions':{'filter':_0x3cac38=>this[_0x299143(0xea)][_0x299143(0xbb)](_0xa97b59=>_0xa97b59[_0x299143(0xe6)])[_0x299143(0xfc)](_0x3cac38[_0x299143(0xdb)])},'actions':{'focusPrevious':_0x299143(0xaf),'focusNext':_0x299143(0xec)}}),this[_0x299143(0xb1)]=new _0x50cb44(_0x375118),this[_0x299143(0xb1)][_0x299143(0xcf)](_0x299143(0xb3))['to'](this,_0x299143(0x9e),_0x85e92e=>_0x85e92e-this[_0x299143(0xde)][_0x299143(0xa4)]);for(const _0xe73009 of _0xaeff1f[_0x299143(0xb0)])this[_0x299143(0xfa)](_0xe73009);this[_0x299143(0xa7)](),this[_0x299143(0xd7)](_0xaeff1f[_0x299143(0xb0)],_0x299143(0xed),(_0x2df76e,_0x16c912)=>{const _0x34409f=_0x299143,_0x10b211=this[_0x34409f(0xa5)](_0x16c912);this[_0x34409f(0x9e)]++,this[_0x34409f(0xfa)](_0x16c912,_0x10b211),this[_0x34409f(0xcd)]();}),this[_0x299143(0xd7)](_0xaeff1f[_0x299143(0xb0)],_0x299143(0xb9),(_0x1aa26b,_0x342e0c)=>{const _0x2e7e74=_0x299143;this[_0x2e7e74(0x9e)]--,this[_0x2e7e74(0xe1)](_0x342e0c),this[_0x2e7e74(0xcd)]();}),this[_0x299143(0xd7)](_0xaeff1f,_0x299143(0xe9),()=>this[_0x299143(0xcd)]()),this[_0x299143(0xd7)](_0xaeff1f,_0x299143(0xb8),()=>this[_0x299143(0xa7)]()),this['on'](_0x299143(0xf7),()=>this[_0x299143(0xcd)]()),this['on'](_0x299143(0xad),()=>this[_0x299143(0xcd)]()),this[_0x299143(0xa3)]({'tag':'ul','attributes':{'class':[_0x299143(0xf1),_0x434ccd['if'](_0x299143(0x9e),_0x299143(0xab),_0x5e51cc=>!_0x5e51cc)],'aria-label':_0x561331(_0x375118,_0x299143(0xca))},'children':this[_0x299143(0xa6)]});}get[_0x3216fb(0xe4)](){const _0x45dbd7=_0x3216fb;return this[_0x45dbd7(0xee)][_0x45dbd7(0xd0)]>this[_0x45dbd7(0xde)][_0x45dbd7(0xd1)]&&!this[_0x45dbd7(0xd4)]&&!this[_0x45dbd7(0xb2)];}[_0x3216fb(0xce)](){const _0x49c2a3=_0x3216fb;super[_0x49c2a3(0xce)](),this[_0x49c2a3(0xcd)](),this[_0x49c2a3(0xc6)]();}[_0x3216fb(0xd3)](_0x78994a){const _0x3a2a8d=_0x3216fb;-0x1===_0x78994a?this[_0x3a2a8d(0xd5)][_0x3a2a8d(0xd6)]():this[_0x3a2a8d(0xd5)][_0x3a2a8d(0xc9)]();}[_0x3216fb(0xaa)](){const _0x1b2dcd=_0x3216fb;this[_0x1b2dcd(0xb1)][_0x1b2dcd(0xaa)]();for(const _0x1e0071 of this[_0x1b2dcd(0xea)])_0x1e0071[_0x1b2dcd(0xaa)]();super[_0x1b2dcd(0xaa)]();}[_0x3216fb(0xcd)](){const _0x455750=_0x3216fb;this[_0x455750(0xe4)]?this[_0x455750(0xf0)]():this[_0x455750(0xf8)]();}[_0x3216fb(0xfa)](_0x4b9269,_0x5a2c1a){const _0x14ccdc=_0x3216fb,_0x49a8bb=new this[(_0x14ccdc(0xde))][(_0x14ccdc(0xf2))](this[_0x14ccdc(0xbc)],_0x4b9269,{'maxCommentCharsWhenCollapsed':this[_0x14ccdc(0xde)][_0x14ccdc(0x9d)],'formatDateTime':this[_0x14ccdc(0xde)][_0x14ccdc(0xe2)],'editorConfig':this[_0x14ccdc(0xde)][_0x14ccdc(0xba)]});_0x49a8bb[_0x14ccdc(0xe8)]=_0x4b9269['id'],_0x49a8bb[_0x14ccdc(0xa8)](_0x14ccdc(0xb5))['to'](this),_0x49a8bb[_0x14ccdc(0xa8)](_0x14ccdc(0xc7))['to'](this),_0x49a8bb[_0x14ccdc(0xa8)](_0x14ccdc(0xc5))['to'](this),_0x49a8bb[_0x14ccdc(0xa8)](_0x14ccdc(0x9f))['to'](this),_0x49a8bb[_0x14ccdc(0xa8)](_0x14ccdc(0xc1))['to'](this),this[_0x14ccdc(0xd7)](_0x49a8bb,_0x14ccdc(0xc4),()=>this[_0x14ccdc(0xdd)]()),this[_0x14ccdc(0xea)][_0x14ccdc(0xed)](_0x49a8bb,_0x5a2c1a);}[_0x3216fb(0xa5)](_0x54733a){const _0x25e721=_0x3216fb,_0x4d96a0=this[_0x25e721(0xee)][_0x25e721(0xb7)](_0x54733a);return this[_0x25e721(0xd8)]?this[_0x25e721(0xd8)][_0x25e721(0xbe)]>_0x54733a[_0x25e721(0xbe)]?_0x4d96a0-0x1:_0x4d96a0:_0x4d96a0-0x1;}[_0x3216fb(0xa7)](){const _0x3cba27=_0x3216fb;if(this[_0x3cba27(0xee)][_0x3cba27(0xc3)]&&this[_0x3cba27(0xee)][_0x3cba27(0xda)]){const _0x4e2b4a={'id':_0x3cba27(0xdc),'author':this[_0x3cba27(0xee)][_0x3cba27(0xc3)],'authoredAt':this[_0x3cba27(0xee)][_0x3cba27(0xda)],'content':_0x561331(this[_0x3cba27(0xbc)],_0x3cba27(0xf4)),'attributes':{}};this[_0x3cba27(0xd8)]=new this[(_0x3cba27(0xde))][(_0x3cba27(0xf2))](this[_0x3cba27(0xbc)],_0x4e2b4a,{'maxCommentCharsWhenCollapsed':this[_0x3cba27(0xde)][_0x3cba27(0x9d)],'formatDateTime':this[_0x3cba27(0xde)][_0x3cba27(0xe2)],'editorConfig':this[_0x3cba27(0xde)][_0x3cba27(0xba)],'isSystemComment':!0x0}),this[_0x3cba27(0xea)][_0x3cba27(0xed)](this[_0x3cba27(0xd8)],this[_0x3cba27(0xee)][_0x3cba27(0xb7)](_0x4e2b4a));}else this[_0x3cba27(0xd8)]&&(this[_0x3cba27(0xea)][_0x3cba27(0xb9)](this[_0x3cba27(0xd8)]),this[_0x3cba27(0xd8)][_0x3cba27(0xaa)](),this[_0x3cba27(0xd8)]=null);this[_0x3cba27(0xcd)]();}[_0x3216fb(0xe1)](_0x140229){const _0x2fd9fb=_0x3216fb,_0x2f1ed6=this[_0x2fd9fb(0xea)][_0x2fd9fb(0xb9)](_0x140229['id']);this[_0x2fd9fb(0xa1)](_0x2f1ed6),_0x2f1ed6[_0x2fd9fb(0xac)]&&this[_0x2fd9fb(0xdd)](),_0x2f1ed6[_0x2fd9fb(0xaa)]();}[_0x3216fb(0xdd)](){const _0x1f1b50=_0x3216fb;this[_0x1f1b50(0xb2)]=Array[_0x1f1b50(0xbf)](this[_0x1f1b50(0xea)])[_0x1f1b50(0xf3)](_0x4e9d50=>_0x4e9d50[_0x1f1b50(0xac)]);}[_0x3216fb(0xf0)](){const _0x2296af=_0x3216fb,_0x3386c8=function(_0xfc870f){const _0x518581=_0x4847,_0x28d92b=new _0x3bd370();for(const _0x5ad1fd of _0xfc870f)_0x28d92b[_0x518581(0xed)](_0x5ad1fd);return _0x28d92b;}(this[_0x2296af(0xea)]),_0x494726=this[_0x2296af(0xb1)][_0x2296af(0xb3)];for(let _0xb95902=0x1;_0xb95902<=_0x494726;_0xb95902++)_0x3386c8[_0x2296af(0xb9)](0x1);for(const _0x30bffe of _0x3386c8)_0x30bffe[_0x2296af(0x9c)]();_0x494726>0x0&&_0x3386c8[_0x2296af(0xed)](this[_0x2296af(0xb1)],0x1),ns(_0x3a8dbe(Array[_0x2296af(0xbf)](this[_0x2296af(0xa6)]),Array[_0x2296af(0xbf)](_0x3386c8)),this[_0x2296af(0xa6)],_0x3386c8);}[_0x3216fb(0xf8)](){const _0x5c1814=_0x3216fb;ns(_0x3a8dbe(Array[_0x5c1814(0xbf)](this[_0x5c1814(0xa6)]),Array[_0x5c1814(0xbf)](this[_0x5c1814(0xea)])),this[_0x5c1814(0xa6)],this[_0x5c1814(0xea)]);for(const _0x57c451 of this[_0x5c1814(0xa6)])_0x57c451[_0x5c1814(0xe5)]();}[_0x3216fb(0xc6)](){const _0x3649bb=_0x3216fb;this[_0x3649bb(0xea)][_0x3649bb(0xc2)](_0xfbc212=>{const _0x32ad30=_0x3649bb;this[_0x32ad30(0xc8)][_0x32ad30(0xed)](_0xfbc212[_0x32ad30(0xe6)]),this[_0x32ad30(0xb6)][_0x32ad30(0xd7)](_0xfbc212[_0x32ad30(0xe6)]);}),this[_0x3649bb(0xea)]['on'](_0x3649bb(0xc0),(_0x2acd92,_0x554987)=>{const _0x4e4361=_0x3649bb;for(const _0x4daf70 of _0x554987[_0x4e4361(0xcb)])this[_0x4e4361(0xc8)][_0x4e4361(0xb9)](_0x4daf70[_0x4e4361(0xe6)]),this[_0x4e4361(0xb6)][_0x4e4361(0xa1)](_0x4daf70[_0x4e4361(0xe6)]);for(const _0x4c6ee9 of Array[_0x4e4361(0xbf)](_0x554987[_0x4e4361(0xa9)])[_0x4e4361(0xa2)]())this[_0x4e4361(0xc8)][_0x4e4361(0xed)](_0x4c6ee9[_0x4e4361(0xe6)]),this[_0x4e4361(0xb6)][_0x4e4361(0xd7)](_0x4c6ee9[_0x4e4361(0xe6)]);});}}function _0x4847(_0x15a29e,_0x91bede){const _0x3c1db3=_0x3c1d();return _0x4847=function(_0x484749,_0x5e72f6){_0x484749=_0x484749-0x9c;let _0xb9f058=_0x3c1db3[_0x484749];return _0xb9f058;},_0x4847(_0x15a29e,_0x91bede);}function ns(_0x26cec9,_0x3624ff,_0x144fbb){const _0x116cd7=_0x3216fb;let _0x2a2749=0x0;for(const _0x2c8a5e of _0x26cec9)switch(_0x2c8a5e){case _0x116cd7(0xbd):_0x3624ff[_0x116cd7(0xed)](_0x144fbb[_0x116cd7(0xe7)](_0x2a2749),_0x2a2749),_0x2a2749++;break;case _0x116cd7(0xd2):_0x3624ff[_0x116cd7(0xb9)](_0x2a2749);break;case _0x116cd7(0xa0):_0x2a2749++;}}
|
|
23
|
+
function _0x5abf(_0x2c4ab9,_0x19e8a8){const _0x22a53e=_0x22a5();return _0x5abf=function(_0x5abff4,_0x344793){_0x5abff4=_0x5abff4-0x1ea;let _0x546d01=_0x22a53e[_0x5abff4];return _0x546d01;},_0x5abf(_0x2c4ab9,_0x19e8a8);}const _0x243e4c=_0x5abf;(function(_0x4372ff,_0x35bd41){const _0x3c4ee7=_0x5abf,_0xc78012=_0x4372ff();while(!![]){try{const _0x4e22dd=parseInt(_0x3c4ee7(0x226))/0x1*(parseInt(_0x3c4ee7(0x1f0))/0x2)+parseInt(_0x3c4ee7(0x208))/0x3*(parseInt(_0x3c4ee7(0x203))/0x4)+parseInt(_0x3c4ee7(0x249))/0x5+parseInt(_0x3c4ee7(0x200))/0x6+-parseInt(_0x3c4ee7(0x1f8))/0x7+parseInt(_0x3c4ee7(0x24a))/0x8+parseInt(_0x3c4ee7(0x220))/0x9*(-parseInt(_0x3c4ee7(0x217))/0xa);if(_0x4e22dd===_0x35bd41)break;else _0xc78012['push'](_0xc78012['shift']());}catch(_0x33dad1){_0xc78012['push'](_0xc78012['shift']());}}}(_0x22a5,0xd78c4));import{View as _0x250d79,FocusCycler as _0x18943b}from'ckeditor5/src/ui.js';import{diff as _0xf5e016,Collection as _0x49fde0,FocusTracker as _0x3a7b37,KeystrokeHandler as _0x161b8e}from'ckeditor5/src/utils.js';import{getTranslation as _0x10bac0}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x15e8d7}from'./collapsedcommentsview.js';function _0x22a5(){const _0x5c6492=['target','resolvedCommentView','insert','11398770OBiJwk','focusTracker','expand','bind','viewUid','element','stopListening','maxThreadTotalWeight','added','9kULLcn','comments','ck-hidden','editorDestroyed','get','includes','6PCeSzI','_collapsedCommentsView','isEditMode','add','CommentView','arrowup','map','arrowdown','commentViews','some','bindTemplate','resolved','weight','ck-thread__comments','setTemplate','_setupKeyboardNavigation','hasDirtyComment','keystrokes','collapse','reverse','listenTo','createCollection','Marked\x20as\x20resolved','_calculatePosition','Thread\x20comments','isActive','resolvedBy','removeComment','removed','change:hasDirtyComment','_rearrangeCollapse','locale','set','visibleViews','delete','2115055ZiNiIk','9033176EokbUs','_config','resolveCommentThread','_handleRemoveCommentModel','focusLast','focus','commentUpdated','234486BfTHgs','delegate','forEach','render','refreshVisibleViews','change:isActive','_handleNewCommentModel','_findOptimalIndex','7914648BMGoKh','_model','editorReady','remove','editorConfig','_shouldCollapse','change:isResolved','change:isEditMode','3849366DWKXHw','focusFirst','count','28472IDndcO','change','resolvedAt','authoredAt','_updateHasDirtyComment','108ETBMyj','_rearrangeExpand','formatDateTime','focusCycler','equal','maxCommentCharsWhenCollapsed','destroy','from','updateComment','_handleInfoComment','length','maxCommentsWhenCollapsed'];_0x22a5=function(){return _0x5c6492;};return _0x22a5();}export class CommentsListView extends _0x250d79{[_0x243e4c(0x22e)];[_0x243e4c(0x215)];[_0x243e4c(0x218)];[_0x243e4c(0x237)];[_0x243e4c(0x20b)];[_0x243e4c(0x1f9)];[_0x243e4c(0x1ea)];[_0x243e4c(0x227)];constructor(_0x3f0c0b,_0x9ff929,_0x581243){const _0x3f1552=_0x243e4c;super(_0x3f0c0b);const _0x1dc49b=this[_0x3f1552(0x230)];this[_0x3f1552(0x246)](_0x3f1552(0x236),!0x1),this[_0x3f1552(0x246)](_0x3f1552(0x212),_0x9ff929[_0x3f1552(0x221)][_0x3f1552(0x212)]),this[_0x3f1552(0x246)](_0x3f1552(0x23f),!0x1),this[_0x3f1552(0x1f9)]=_0x9ff929,this[_0x3f1552(0x1ea)]=_0x581243,this[_0x3f1552(0x22e)]=this[_0x3f1552(0x23b)](),this[_0x3f1552(0x247)]=this[_0x3f1552(0x23b)](),this[_0x3f1552(0x215)]=null,this[_0x3f1552(0x218)]=new _0x3a7b37(),this[_0x3f1552(0x237)]=new _0x161b8e(),this[_0x3f1552(0x20b)]=new _0x18943b({'focusables':this[_0x3f1552(0x22e)],'focusTracker':this[_0x3f1552(0x218)],'keystrokeHandler':this[_0x3f1552(0x237)],'keystrokeHandlerOptions':{'filter':_0x4faef4=>this[_0x3f1552(0x22e)][_0x3f1552(0x22c)](_0x16868d=>_0x16868d[_0x3f1552(0x21c)])[_0x3f1552(0x225)](_0x4faef4[_0x3f1552(0x214)])},'actions':{'focusPrevious':_0x3f1552(0x22b),'focusNext':_0x3f1552(0x22d)}}),this[_0x3f1552(0x227)]=new _0x15e8d7(_0x3f0c0b),this[_0x3f1552(0x227)][_0x3f1552(0x21a)](_0x3f1552(0x202))['to'](this,_0x3f1552(0x212),_0xa36c66=>_0xa36c66-this[_0x3f1552(0x1ea)][_0x3f1552(0x213)]);for(const _0x5eb311 of _0x9ff929[_0x3f1552(0x221)])this[_0x3f1552(0x1f6)](_0x5eb311);this[_0x3f1552(0x211)](),this[_0x3f1552(0x23a)](_0x9ff929[_0x3f1552(0x221)],_0x3f1552(0x229),(_0x1a9c86,_0x28a2d2)=>{const _0x29cbd9=_0x3f1552,_0xfc4c4c=this[_0x29cbd9(0x23d)](_0x28a2d2);this[_0x29cbd9(0x212)]++,this[_0x29cbd9(0x1f6)](_0x28a2d2,_0xfc4c4c),this[_0x29cbd9(0x1f4)]();}),this[_0x3f1552(0x23a)](_0x9ff929[_0x3f1552(0x221)],_0x3f1552(0x1fb),(_0xb68f03,_0x2e47f5)=>{const _0x57905e=_0x3f1552;this[_0x57905e(0x212)]--,this[_0x57905e(0x1ec)](_0x2e47f5),this[_0x57905e(0x1f4)]();}),this[_0x3f1552(0x23a)](_0x9ff929,_0x3f1552(0x1ef),()=>this[_0x3f1552(0x1f4)]()),this[_0x3f1552(0x23a)](_0x9ff929,_0x3f1552(0x1fe),()=>this[_0x3f1552(0x211)]()),this['on'](_0x3f1552(0x1f5),()=>this[_0x3f1552(0x1f4)]()),this['on'](_0x3f1552(0x243),()=>this[_0x3f1552(0x1f4)]()),this[_0x3f1552(0x234)]({'tag':'ul','attributes':{'class':[_0x3f1552(0x233),_0x1dc49b['if'](_0x3f1552(0x212),_0x3f1552(0x222),_0x12e8a0=>!_0x12e8a0)],'aria-label':_0x10bac0(_0x3f0c0b,_0x3f1552(0x23e))},'children':this[_0x3f1552(0x247)]});}get[_0x243e4c(0x1fd)](){const _0x371e8e=_0x243e4c;return this[_0x371e8e(0x1f9)][_0x371e8e(0x232)]>this[_0x371e8e(0x1ea)][_0x371e8e(0x21e)]&&!this[_0x371e8e(0x23f)]&&!this[_0x371e8e(0x236)];}[_0x243e4c(0x1f3)](){const _0x286480=_0x243e4c;super[_0x286480(0x1f3)](),this[_0x286480(0x1f4)](),this[_0x286480(0x235)]();}[_0x243e4c(0x1ee)](_0x53a98e){const _0x1be104=_0x243e4c;-0x1===_0x53a98e?this[_0x1be104(0x20b)][_0x1be104(0x1ed)]():this[_0x1be104(0x20b)][_0x1be104(0x201)]();}[_0x243e4c(0x20e)](){const _0x4aeb1f=_0x243e4c;this[_0x4aeb1f(0x227)][_0x4aeb1f(0x20e)]();for(const _0x7d748a of this[_0x4aeb1f(0x22e)])_0x7d748a[_0x4aeb1f(0x20e)]();super[_0x4aeb1f(0x20e)]();}[_0x243e4c(0x1f4)](){const _0x2b796d=_0x243e4c;this[_0x2b796d(0x1fd)]?this[_0x2b796d(0x244)]():this[_0x2b796d(0x209)]();}[_0x243e4c(0x1f6)](_0x2e2825,_0xbfe8cf){const _0x470f04=_0x243e4c,_0x2c89da=new this[(_0x470f04(0x1ea))][(_0x470f04(0x22a))](this[_0x470f04(0x245)],_0x2e2825,{'maxCommentCharsWhenCollapsed':this[_0x470f04(0x1ea)][_0x470f04(0x20d)],'formatDateTime':this[_0x470f04(0x1ea)][_0x470f04(0x20a)],'editorConfig':this[_0x470f04(0x1ea)][_0x470f04(0x1fc)]});_0x2c89da[_0x470f04(0x21b)]=_0x2e2825['id'],_0x2c89da[_0x470f04(0x1f1)](_0x470f04(0x241))['to'](this),_0x2c89da[_0x470f04(0x1f1)](_0x470f04(0x210))['to'](this),_0x2c89da[_0x470f04(0x1f1)](_0x470f04(0x1eb))['to'](this),_0x2c89da[_0x470f04(0x1f1)](_0x470f04(0x1fa))['to'](this),_0x2c89da[_0x470f04(0x1f1)](_0x470f04(0x223))['to'](this),this[_0x470f04(0x23a)](_0x2c89da,_0x470f04(0x1ff),()=>this[_0x470f04(0x207)]()),this[_0x470f04(0x22e)][_0x470f04(0x229)](_0x2c89da,_0xbfe8cf);}[_0x243e4c(0x23d)](_0x1d0f98){const _0x3b3b06=_0x243e4c,_0x5e8a00=this[_0x3b3b06(0x1f9)][_0x3b3b06(0x1f7)](_0x1d0f98);return this[_0x3b3b06(0x215)]?this[_0x3b3b06(0x215)][_0x3b3b06(0x206)]>_0x1d0f98[_0x3b3b06(0x206)]?_0x5e8a00-0x1:_0x5e8a00:_0x5e8a00-0x1;}[_0x243e4c(0x211)](){const _0x4e613f=_0x243e4c;if(this[_0x4e613f(0x1f9)][_0x4e613f(0x240)]&&this[_0x4e613f(0x1f9)][_0x4e613f(0x205)]){const _0x5c50b3={'id':_0x4e613f(0x231),'author':this[_0x4e613f(0x1f9)][_0x4e613f(0x240)],'authoredAt':this[_0x4e613f(0x1f9)][_0x4e613f(0x205)],'content':_0x10bac0(this[_0x4e613f(0x245)],_0x4e613f(0x23c)),'attributes':{}};this[_0x4e613f(0x215)]=new this[(_0x4e613f(0x1ea))][(_0x4e613f(0x22a))](this[_0x4e613f(0x245)],_0x5c50b3,{'maxCommentCharsWhenCollapsed':this[_0x4e613f(0x1ea)][_0x4e613f(0x20d)],'formatDateTime':this[_0x4e613f(0x1ea)][_0x4e613f(0x20a)],'editorConfig':this[_0x4e613f(0x1ea)][_0x4e613f(0x1fc)],'isSystemComment':!0x0}),this[_0x4e613f(0x22e)][_0x4e613f(0x229)](this[_0x4e613f(0x215)],this[_0x4e613f(0x1f9)][_0x4e613f(0x1f7)](_0x5c50b3));}else this[_0x4e613f(0x215)]&&(this[_0x4e613f(0x22e)][_0x4e613f(0x1fb)](this[_0x4e613f(0x215)]),this[_0x4e613f(0x215)][_0x4e613f(0x20e)](),this[_0x4e613f(0x215)]=null);this[_0x4e613f(0x1f4)]();}[_0x243e4c(0x1ec)](_0x4da425){const _0x23ecc0=_0x243e4c,_0x1fb846=this[_0x23ecc0(0x22e)][_0x23ecc0(0x1fb)](_0x4da425['id']);this[_0x23ecc0(0x21d)](_0x1fb846),_0x1fb846[_0x23ecc0(0x228)]&&this[_0x23ecc0(0x207)](),_0x1fb846[_0x23ecc0(0x20e)]();}[_0x243e4c(0x207)](){const _0x501bf9=_0x243e4c;this[_0x501bf9(0x236)]=Array[_0x501bf9(0x20f)](this[_0x501bf9(0x22e)])[_0x501bf9(0x22f)](_0x42ac09=>_0x42ac09[_0x501bf9(0x228)]);}[_0x243e4c(0x244)](){const _0xdb0f22=_0x243e4c,_0x5ec9e1=function(_0x3b78a8){const _0x14c084=_0x5abf,_0x2818c3=new _0x49fde0();for(const _0x2b5749 of _0x3b78a8)_0x2818c3[_0x14c084(0x229)](_0x2b5749);return _0x2818c3;}(this[_0xdb0f22(0x22e)]),_0x1d515a=this[_0xdb0f22(0x227)][_0xdb0f22(0x202)];for(let _0x2bdb21=0x1;_0x2bdb21<=_0x1d515a;_0x2bdb21++)_0x5ec9e1[_0xdb0f22(0x1fb)](0x1);for(const _0x11665e of _0x5ec9e1)_0x11665e[_0xdb0f22(0x238)]();_0x1d515a>0x0&&_0x5ec9e1[_0xdb0f22(0x229)](this[_0xdb0f22(0x227)],0x1),Ut(_0xf5e016(Array[_0xdb0f22(0x20f)](this[_0xdb0f22(0x247)]),Array[_0xdb0f22(0x20f)](_0x5ec9e1)),this[_0xdb0f22(0x247)],_0x5ec9e1);}[_0x243e4c(0x209)](){const _0x35b5b8=_0x243e4c;Ut(_0xf5e016(Array[_0x35b5b8(0x20f)](this[_0x35b5b8(0x247)]),Array[_0x35b5b8(0x20f)](this[_0x35b5b8(0x22e)])),this[_0x35b5b8(0x247)],this[_0x35b5b8(0x22e)]);for(const _0xb06dd2 of this[_0x35b5b8(0x247)])_0xb06dd2[_0x35b5b8(0x219)]();}[_0x243e4c(0x235)](){const _0x2464c3=_0x243e4c;this[_0x2464c3(0x22e)][_0x2464c3(0x1f2)](_0x907443=>{const _0x2f2fbe=_0x2464c3;this[_0x2f2fbe(0x218)][_0x2f2fbe(0x229)](_0x907443[_0x2f2fbe(0x21c)]),this[_0x2f2fbe(0x237)][_0x2f2fbe(0x23a)](_0x907443[_0x2f2fbe(0x21c)]);}),this[_0x2464c3(0x22e)]['on'](_0x2464c3(0x204),(_0x1c5697,_0x18adab)=>{const _0x11f85e=_0x2464c3;for(const _0x119adf of _0x18adab[_0x11f85e(0x242)])this[_0x11f85e(0x218)][_0x11f85e(0x1fb)](_0x119adf[_0x11f85e(0x21c)]),this[_0x11f85e(0x237)][_0x11f85e(0x21d)](_0x119adf[_0x11f85e(0x21c)]);for(const _0x41ec5c of Array[_0x11f85e(0x20f)](_0x18adab[_0x11f85e(0x21f)])[_0x11f85e(0x239)]())this[_0x11f85e(0x218)][_0x11f85e(0x229)](_0x41ec5c[_0x11f85e(0x21c)]),this[_0x11f85e(0x237)][_0x11f85e(0x23a)](_0x41ec5c[_0x11f85e(0x21c)]);});}}function Ut(_0x2ed3ff,_0x50b841,_0x196d3d){const _0xe4f89=_0x243e4c;let _0x15eaef=0x0;for(const _0x477321 of _0x2ed3ff)switch(_0x477321){case _0xe4f89(0x216):_0x50b841[_0xe4f89(0x229)](_0x196d3d[_0xe4f89(0x224)](_0x15eaef),_0x15eaef),_0x15eaef++;break;case _0xe4f89(0x248):_0x50b841[_0xe4f89(0x1fb)](_0x15eaef);break;case _0xe4f89(0x20c):_0x15eaef++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x405d58=_0x705d;(function(_0x3449ac,_0x327c35){const _0x4dd0e7=_0x705d,_0x3e632b=_0x3449ac();while(!![]){try{const _0x108e77=-parseInt(_0x4dd0e7(0x20d))/0x1+parseInt(_0x4dd0e7(0x205))/0x2+-parseInt(_0x4dd0e7(0x1d4))/0x3+parseInt(_0x4dd0e7(0x1e5))/0x4*(-parseInt(_0x4dd0e7(0x1ea))/0x5)+-parseInt(_0x4dd0e7(0x215))/0x6+parseInt(_0x4dd0e7(0x20e))/0x7+parseInt(_0x4dd0e7(0x1fb))/0x8*(parseInt(_0x4dd0e7(0x1f1))/0x9);if(_0x108e77===_0x327c35)break;else _0x3e632b['push'](_0x3e632b['shift']());}catch(_0x344ed1){_0x3e632b['push'](_0x3e632b['shift']());}}}(_0x1f6e,0x63a7f));function _0x1f6e(){const _0x3c82c7=['_attachContextActions','icon','_setupKeyboardNavigation','16PdQaxb','isVisible','_createReopenButton','isResolvable','_model','focusables','offsetWidth','scrollWidth','ck-context--quotes','ck-context-wrapper','596312jFoIha','reopenButtonView','isEnabled','tab','focusCycler','tooltip','createCollection','.ck-context','767638BzPZVc','287987qEBVyx','Comment\x20was\x20made\x20on\x20an\x20element','listenTo','bind','render','_trimContextValue','...','2312556UoqGwM','context','add','mouseleave','keystrokes','ck-annotation__actions','598341QdWugf','isReadOnly','reopenCommentThread','_createContextView','div','isResolved','hasContext','ck-thread__header','setTemplate','focusTracker','.ck-context__value','remove','Reopen','lastIndexOf','contextView','focus','querySelector','19244gESEXP','element','overlay','value','ck-context','455AOXUfA','bindTemplate','substring','label','focusFirst','length','contextValue','8366427wdnUOJ','execute','fire','locale','shift+tab','classList','mouseenter'];_0x1f6e=function(){return _0x3c82c7;};return _0x1f6e();}import{View as _0x3ad054,ButtonView as _0x3d261d,FocusCycler as _0x3b812b}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3c241a,KeystrokeHandler as _0x411fa5}from'ckeditor5/src/utils.js';import{IconUndo as _0x153073}from'ckeditor5/src/icons.js';import{getTranslation as _0x17e3c8}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x18a417}from'./commentthreadheadercontextview.js';function _0x705d(_0x26b2fa,_0x151b16){const _0x1f6e7a=_0x1f6e();return _0x705d=function(_0x705d41,_0x27208d){_0x705d41=_0x705d41-0x1d1;let _0x5705b7=_0x1f6e7a[_0x705d41];return _0x5705b7;},_0x705d(_0x26b2fa,_0x151b16);}export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x3ad054{[_0x405d58(0x1ff)];[_0x405d58(0x206)];[_0x405d58(0x1e2)];[_0x405d58(0x200)];[_0x405d58(0x1dd)];[_0x405d58(0x1d2)];[_0x405d58(0x209)];constructor(_0x321dc9,_0x31252a){const _0x55f5a0=_0x405d58;super(_0x321dc9);const _0x61dceb=this[_0x55f5a0(0x1eb)];this[_0x55f5a0(0x1ff)]=_0x31252a,this[_0x55f5a0(0x206)]=this[_0x55f5a0(0x1fd)](),this[_0x55f5a0(0x1e2)]=this[_0x55f5a0(0x1d7)](),this[_0x55f5a0(0x200)]=this[_0x55f5a0(0x20b)]([this[_0x55f5a0(0x1e2)],this[_0x55f5a0(0x206)]]),this[_0x55f5a0(0x1dd)]=new _0x3c241a(),this[_0x55f5a0(0x1d2)]=new _0x411fa5(),this[_0x55f5a0(0x209)]=new _0x3b812b({'focusables':this[_0x55f5a0(0x200)],'focusTracker':this[_0x55f5a0(0x1dd)],'keystrokeHandler':this[_0x55f5a0(0x1d2)],'actions':{'focusPrevious':_0x55f5a0(0x1f5),'focusNext':_0x55f5a0(0x208)}}),this[_0x55f5a0(0x211)](_0x55f5a0(0x1da))['to'](this[_0x55f5a0(0x1ff)],_0x55f5a0(0x216),_0x1cb24b=>!!_0x1cb24b),this[_0x55f5a0(0x211)](_0x55f5a0(0x1f0))['to'](this[_0x55f5a0(0x1ff)],_0x55f5a0(0x216),_0x3d9c78=>_0x3d9c78&&_0x3d9c78[_0x55f5a0(0x1e8)]?this[_0x55f5a0(0x213)](_0x3d9c78[_0x55f5a0(0x1e8)]):_0x17e3c8(this[_0x55f5a0(0x1f4)],_0x55f5a0(0x20f))),this[_0x55f5a0(0x1dc)]({'tag':_0x55f5a0(0x1d8),'attributes':{'class':[_0x55f5a0(0x1db)]},'children':[{'tag':_0x55f5a0(0x1d8),'attributes':{'class':[_0x55f5a0(0x204)]},'children':[{'tag':_0x55f5a0(0x1d8),'attributes':{'class':[_0x55f5a0(0x1e9),_0x61dceb['if'](_0x55f5a0(0x1da),_0x55f5a0(0x203))]},'children':[this[_0x55f5a0(0x1e2)]]}]},{'tag':_0x55f5a0(0x1d8),'attributes':{'class':[_0x55f5a0(0x1d3)]},'children':[this[_0x55f5a0(0x206)]]}]});}[_0x405d58(0x212)](){const _0x330597=_0x405d58;super[_0x330597(0x212)](),this[_0x330597(0x1f8)](),this[_0x330597(0x1fa)]();}[_0x405d58(0x1e3)](){const _0xd30dc=_0x405d58;this[_0xd30dc(0x209)][_0xd30dc(0x1ee)]();}[_0x405d58(0x1fd)](){const _0x3be717=_0x405d58,_0x47de8a=new _0x3d261d(this[_0x3be717(0x1f4)]);return _0x47de8a[_0x3be717(0x1ed)]=_0x17e3c8(this[_0x3be717(0x1f4)],_0x3be717(0x1e0)),_0x47de8a[_0x3be717(0x20a)]=_0x17e3c8(this[_0x3be717(0x1f4)],_0x3be717(0x1e0)),_0x47de8a[_0x3be717(0x1f9)]=_0x153073,_0x47de8a[_0x3be717(0x211)](_0x3be717(0x207))['to'](this[_0x3be717(0x1ff)],_0x3be717(0x1d5),_0x736b79=>!_0x736b79),_0x47de8a[_0x3be717(0x211)](_0x3be717(0x1fc))['to'](this[_0x3be717(0x1ff)],_0x3be717(0x1fe),this[_0x3be717(0x1ff)],_0x3be717(0x1d9),(_0x3f795b,_0xacf9a7)=>_0x3f795b&&_0xacf9a7),_0x47de8a['on'](_0x3be717(0x1f2),()=>{const _0x3f1f70=_0x3be717;this[_0x3f1f70(0x1f3)](_0x3f1f70(0x1d6),this[_0x3f1f70(0x1ff)]['id']);}),_0x47de8a;}[_0x405d58(0x213)](_0x3766c6){const _0x10c10b=_0x405d58;if(_0x3766c6[_0x10c10b(0x1ef)]<0x96)return _0x3766c6;const _0x47b0b4=_0x3766c6[_0x10c10b(0x1e1)]('\x20',0x93);return _0x3766c6[_0x10c10b(0x1ec)](0x0,_0x47b0b4>-0x1?_0x47b0b4:0x93)+_0x10c10b(0x214);}[_0x405d58(0x1f8)](){const _0x9db61c=_0x405d58,_0x5960ec=this[_0x9db61c(0x1e6)][_0x9db61c(0x1e4)](_0x9db61c(0x20c)),_0x4fd6be=_0x5960ec[_0x9db61c(0x1e4)](_0x9db61c(0x1de));this[_0x9db61c(0x210)](_0x5960ec,_0x9db61c(0x1f7),()=>{const _0x4fcb18=_0x9db61c;_0x4fd6be[_0x4fcb18(0x201)]<_0x4fd6be[_0x4fcb18(0x202)]&&_0x5960ec[_0x4fcb18(0x1f6)][_0x4fcb18(0x217)](_0x4fcb18(0x1e7));}),this[_0x9db61c(0x210)](_0x5960ec,_0x9db61c(0x1d1),()=>{const _0x3c92de=_0x9db61c;_0x5960ec[_0x3c92de(0x1f6)][_0x3c92de(0x1df)](_0x3c92de(0x1e7));});}[_0x405d58(0x1fa)](){const _0xb081b5=_0x405d58;this[_0xb081b5(0x1d2)][_0xb081b5(0x210)](this[_0xb081b5(0x1e6)]);for(const _0x535e23 of this[_0xb081b5(0x200)])this[_0xb081b5(0x1dd)][_0xb081b5(0x217)](_0x535e23[_0xb081b5(0x1e6)]),this[_0xb081b5(0x1d2)][_0xb081b5(0x210)](_0x535e23[_0xb081b5(0x1e6)]);}[_0x405d58(0x1d7)](){const _0x4769fe=_0x405d58,_0x42e27e=new _0x18a417(this[_0x4769fe(0x1f4)]);return _0x42e27e[_0x4769fe(0x211)](_0x4769fe(0x1f0))['to'](this),_0x42e27e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x57b9e4=_0x7778;(function(_0x198fd5,_0xb5028f){const _0x3323a7=_0x7778,_0x45139c=_0x198fd5();while(!![]){try{const _0x622c28=-parseInt(_0x3323a7(0x13a))/0x1*(-parseInt(_0x3323a7(0x149))/0x2)+parseInt(_0x3323a7(0x152))/0x3+-parseInt(_0x3323a7(0x163))/0x4*(parseInt(_0x3323a7(0x145))/0x5)+-parseInt(_0x3323a7(0x153))/0x6*(-parseInt(_0x3323a7(0x14c))/0x7)+parseInt(_0x3323a7(0x14f))/0x8+parseInt(_0x3323a7(0x144))/0x9*(parseInt(_0x3323a7(0x151))/0xa)+-parseInt(_0x3323a7(0x14d))/0xb*(parseInt(_0x3323a7(0x13d))/0xc);if(_0x622c28===_0xb5028f)break;else _0x45139c['push'](_0x45139c['shift']());}catch(_0x3c71ca){_0x45139c['push'](_0x45139c['shift']());}}}(_0xc969,0x946a2));function _0x7778(_0x4c0de5,_0x344322){const _0xc96989=_0xc969();return _0x7778=function(_0x777828,_0x237b47){_0x777828=_0x777828-0x134;let _0x2a78ae=_0xc96989[_0x777828];return _0x2a78ae;},_0x7778(_0x4c0de5,_0x344322);}import{View as _0x2cf471}from'ckeditor5/src/ui.js';import{CommentInputView as _0x20c832}from'./commentinputview.js';import{UserView as _0x5133f3}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xc969(){const _0x22ab2d=['10760nmdwsD','then','editorReady','focusTracker','8EIrLxF','element','delegate','35pOySKe','72050PImSZZ','isFocused','2096184jrSmZI','div','710svAKeE','413187AAkFXv','1335198QeJRKd','extendTemplate','commentInputView','destroy','view','bind','ck-comment__input-container--active','listenTo','target','showInput','contains','_focusOnNonInteractiveMouseDown','ck-comment__input-container','filter','ck-thread__input','setTemplate','1912StsqYr','showButtons','value','getDomRoot','mousedown','focus','preventDefault','editorDestroyed','ck-thread__user','set','focusCycler','166682yYLcLC','render','userView','1752TICUCd','some','editor','bindTemplate','editing','change:showInput','createEditor','52443ImeQEm'];_0xc969=function(){return _0x22ab2d;};return _0xc969();}export class CommentThreadInputView extends _0x2cf471{constructor(_0x41125c,_0x5afac7,_0x288638){const _0x299083=_0x7778;super(_0x41125c),this[_0x299083(0x155)]=new _0x20c832(_0x41125c,_0x288638),this[_0x299083(0x139)]=this[_0x299083(0x155)][_0x299083(0x139)],this[_0x299083(0x155)][_0x299083(0x158)](_0x299083(0x164))['to'](this[_0x299083(0x155)][_0x299083(0x148)],_0x299083(0x14e),this[_0x299083(0x155)],_0x299083(0x165),(_0x27e63a,_0x19246d)=>_0x27e63a||!!_0x19246d),this[_0x299083(0x138)](_0x299083(0x15c),!0x1),this['on'](_0x299083(0x142),()=>{const _0x37daff=_0x299083;this[_0x37daff(0x15c)]&&!this[_0x37daff(0x155)][_0x37daff(0x13f)]&&this[_0x37daff(0x155)][_0x37daff(0x143)]();}),this[_0x299083(0x155)][_0x299083(0x14b)](_0x299083(0x147))['to'](this),this[_0x299083(0x155)][_0x299083(0x14b)](_0x299083(0x136))['to'](this),this[_0x299083(0x13c)]=new _0x5133f3(_0x41125c,_0x5afac7),this[_0x299083(0x13c)][_0x299083(0x154)]({'attributes':{'class':_0x299083(0x137),'aria-hidden':!0x0}}),this[_0x299083(0x155)][_0x299083(0x154)]({'attributes':{'class':_0x299083(0x161)}}),this[_0x299083(0x162)]({'tag':_0x299083(0x150),'attributes':{'class':[_0x299083(0x15f),this[_0x299083(0x140)]['if'](_0x299083(0x15c),_0x299083(0x159))]},'children':[this[_0x299083(0x13c)],this[_0x299083(0x155)]]});}[_0x57b9e4(0x13b)](){const _0x193f6d=_0x57b9e4;super[_0x193f6d(0x13b)](),this[_0x193f6d(0x15e)]();}[_0x57b9e4(0x156)](){const _0xa3f787=_0x57b9e4;return this[_0xa3f787(0x155)][_0xa3f787(0x156)]()[_0xa3f787(0x146)](()=>super[_0xa3f787(0x156)]());}[_0x57b9e4(0x134)](_0x4b5a08){const _0x56b6dc=_0x57b9e4;this[_0x56b6dc(0x155)][_0x56b6dc(0x134)](_0x4b5a08);}[_0x57b9e4(0x15e)](){const _0x4f4174=_0x57b9e4;this[_0x4f4174(0x15a)](this[_0x4f4174(0x14a)],_0x4f4174(0x167),(_0x499f3d,_0x29b898)=>{const _0x3a091b=_0x4f4174,{submitButtonView:_0x31916f,cancelButtonView:_0x5ce229,editor:_0x48da04}=this[_0x3a091b(0x155)];[_0x31916f[_0x3a091b(0x14a)],_0x5ce229[_0x3a091b(0x14a)],_0x48da04?_0x48da04[_0x3a091b(0x141)][_0x3a091b(0x157)][_0x3a091b(0x166)]():null][_0x3a091b(0x160)](_0x452f7c=>_0x452f7c)[_0x3a091b(0x13e)](_0x3ee774=>_0x3ee774[_0x3a091b(0x15d)](_0x29b898[_0x3a091b(0x15b)]))||(this[_0x3a091b(0x134)](),_0x29b898[_0x3a091b(0x135)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x2c2b87=_0x1d81;function _0xc34c(){const _0x5a3fd2=['_createResolveButton','removeButton','cancelConfirm','createCollection','isVisible','add','listenTo','_model','ck-thread--active','unbind','resolveButton','commentThreadHeaderView','_boundFirstCommentView','listitem','_cancelAllConfirms','ck-thread--remove-confirmation','icon','_bindFirstCommentView','isActive','ck-thread--','resolveCommentThread','bindTemplate','focus','commentsListView','ck-comment--resolve','251394pUjabD','actionIndicator','ck-reset_all-excluded','isConfirm','set','get','isResolved','removeCommentThread','execute','1417841GDpScW','stop','75KnXRlC','extendTemplate','containerElement','change:isReadOnly','label','isSystemComment','bind','change:archivedAt','locale','Delete\x20comment\x20thread?','tooltip','focusables','ck-thread__container','getTemplate','isReadOnly','fire','high','commentViews','2tbdQpT','3520139WruCbY','Resolve','4004108OpXcuS','4833129sSNxrU','ck-thread','ariaLabel','change:isActive','isUnlinked','isEnabled','Write\x20a\x20comment...','commentThreadChildren','div','querySelector','showConfirm','removeConfirm','_updateArchivedThreadHeader','ck-rounded-corners','29375874YmJbap','element','actionBar','render','.ck-thread__container','ck-thread--unlinked','then','11549424qMTyVy','archivedAt','isResolvable','ariaDescriptionView','length','commentThreadInputView','remove','setTemplate','placeholder','has'];_0xc34c=function(){return _0x5a3fd2;};return _0xc34c();}(function(_0x441f6b,_0x2c5608){const _0x2affdf=_0x1d81,_0x21cdd5=_0x441f6b();while(!![]){try{const _0x44b97b=-parseInt(_0x2affdf(0x102))/0x1*(parseInt(_0x2affdf(0x116))/0x2)+parseInt(_0x2affdf(0x11a))/0x3+-parseInt(_0x2affdf(0x119))/0x4+parseInt(_0x2affdf(0x104))/0x5*(-parseInt(_0x2affdf(0xf9))/0x6)+parseInt(_0x2affdf(0x117))/0x7+-parseInt(_0x2affdf(0x12f))/0x8+parseInt(_0x2affdf(0x128))/0x9;if(_0x44b97b===_0x2c5608)break;else _0x21cdd5['push'](_0x21cdd5['shift']());}catch(_0xd08337){_0x21cdd5['push'](_0x21cdd5['shift']());}}}(_0xc34c,0xd885b));import{ConfirmMixin as _0x478f99,LateFocusButtonView as _0x3f8503}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0xbdbc8f}from'ckeditor5/src/icons.js';function _0x1d81(_0x3db21f,_0x31117d){const _0xc34c8c=_0xc34c();return _0x1d81=function(_0x1d81e1,_0xaae1d9){_0x1d81e1=_0x1d81e1-0xdf;let _0x265450=_0xc34c8c[_0x1d81e1];return _0x265450;},_0x1d81(_0x3db21f,_0x31117d);}import{BaseCommentThreadView as _0x40e2ed}from'./basecommentthreadview.js';import{getTranslation as _0x310368}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x478f99(_0x40e2ed){[_0x2c2b87(0x121)];[_0x2c2b87(0x106)];[_0x2c2b87(0xea)];[_0x2c2b87(0xec)];constructor(_0x9535b1,_0x390a72,_0x4b9290,_0x442fcd){const _0x411e73=_0x2c2b87;super(_0x9535b1,_0x390a72,_0x4b9290,_0x442fcd),this[_0x411e73(0x121)]=this[_0x411e73(0xe3)]([this[_0x411e73(0xf7)],this[_0x411e73(0x134)],this[_0x411e73(0x132)]]),this[_0x411e73(0xfd)](_0x411e73(0xfa),null),this[_0x411e73(0x106)]=null,this[_0x411e73(0xec)]=null,this[_0x411e73(0x10c)]=_0x9535b1,this[_0x411e73(0xea)]=this[_0x411e73(0xe0)](),this[_0x411e73(0x136)](this[_0x411e73(0x111)]()),this['on'](_0x411e73(0x11d),(_0x5ba99b,_0x3dd7f6,_0x549e90)=>{const _0x3a3e01=_0x411e73;_0x549e90||this[_0x3a3e01(0xee)]();}),this[_0x411e73(0xe6)](this[_0x411e73(0xe7)],_0x411e73(0x107),(_0x49038c,_0x98de80,_0x4274fc)=>{const _0x3b2915=_0x411e73;_0x4274fc&&this[_0x3b2915(0xee)]();}),this[_0x411e73(0x133)]>0x0&&this[_0x411e73(0xf1)](),this[_0x411e73(0xe6)](this[_0x411e73(0xf7)][_0x411e73(0x115)],_0x411e73(0xe5),()=>{const _0x51d556=_0x411e73;this[_0x51d556(0xf1)]();});}[_0x2c2b87(0x111)](){const _0x28f7bc=_0x2c2b87,_0x69f211=this[_0x28f7bc(0xf5)];return{'tag':_0x28f7bc(0x122),'attributes':{'class':['ck',_0x28f7bc(0x11b),_0x28f7bc(0xfb),_0x28f7bc(0x127),_0x69f211['if'](_0x28f7bc(0xf2),_0x28f7bc(0xe8)),_0x69f211['if'](_0x28f7bc(0x11e),_0x28f7bc(0x12d)),_0x69f211['if'](_0x28f7bc(0xfc),_0x28f7bc(0xef)),_0x69f211['to'](_0x28f7bc(0xfa),_0x7d29b8=>_0x7d29b8?_0x28f7bc(0xf3)+_0x7d29b8:'')],'data-thread-id':this[_0x28f7bc(0xe7)]['id'],'tabindex':0x0,'role':_0x28f7bc(0xed),'aria-label':_0x69f211['to'](_0x28f7bc(0x11c)),'aria-describedby':this[_0x28f7bc(0x132)]['id']},'children':[{'tag':_0x28f7bc(0x122),'attributes':{'class':_0x28f7bc(0x110)},'children':this[_0x28f7bc(0x121)]}]};}[_0x2c2b87(0x12b)](){const _0x12d18a=_0x2c2b87;super[_0x12d18a(0x12b)](),this[_0x12d18a(0x106)]=this[_0x12d18a(0x129)][_0x12d18a(0x123)](_0x12d18a(0x12c)),this[_0x12d18a(0xe7)]['on'](_0x12d18a(0x10b),()=>{const _0x1ac169=_0x12d18a;this[_0x1ac169(0x126)]();}),this[_0x12d18a(0x126)]();}[_0x2c2b87(0xee)](){const _0x99912=_0x2c2b87;this[_0x99912(0xe2)]();for(const _0xfc1a27 of this[_0x99912(0xf7)][_0x99912(0x115)])_0xfc1a27[_0x99912(0xe2)]();}[_0x2c2b87(0xf1)](){const _0x4324b8=_0x2c2b87,{locale:_0x57903a}=this,_0x57019e=this[_0x4324b8(0xf7)][_0x4324b8(0x115)][_0x4324b8(0xfe)](0x0);_0x57019e===this[_0x4324b8(0xec)]||_0x57019e[_0x4324b8(0x109)]||(this[_0x4324b8(0xec)]=_0x57019e,this[_0x4324b8(0xe9)](_0x4324b8(0xfa)),this[_0x4324b8(0x10a)](_0x4324b8(0xfa))['to'](_0x57019e,_0x4324b8(0xfa),_0x65f49e=>_0x4324b8(0x135)===_0x65f49e?_0x4324b8(0x135):null),_0x57019e[_0x4324b8(0x137)]=_0x310368(_0x57903a,_0x4324b8(0x120)),_0x57019e[_0x4324b8(0xe1)]['on'](_0x4324b8(0x101),_0x1c26f0=>{const _0xdf48e9=_0x4324b8;_0x1c26f0[_0xdf48e9(0x103)](),this[_0xdf48e9(0x124)](_0x310368(_0x57903a,_0xdf48e9(0x10d)),this[_0xdf48e9(0x106)])[_0xdf48e9(0x12e)](()=>{const _0x5a5296=_0xdf48e9;this[_0x5a5296(0x113)](_0x5a5296(0x100));});},{'priority':_0x4324b8(0x114)}),this['on'](_0x4324b8(0x125),()=>{const _0x2240fa=_0x4324b8;_0x57019e[_0x2240fa(0xf6)]();}),_0x57019e[_0x4324b8(0x12a)][_0x4324b8(0xe5)](this[_0x4324b8(0xea)],0x0),_0x57019e[_0x4324b8(0x10f)][_0x4324b8(0xe5)](this[_0x4324b8(0xea)],0x0));}[_0x2c2b87(0xe0)](){const _0x95376c=_0x2c2b87,_0x152131=new _0x3f8503(this[_0x95376c(0x10c)]);return _0x152131[_0x95376c(0x108)]=_0x310368(this[_0x95376c(0x10c)],_0x95376c(0x118)),_0x152131[_0x95376c(0x10e)]=_0x310368(this[_0x95376c(0x10c)],_0x95376c(0x118)),_0x152131[_0x95376c(0xf0)]=_0xbdbc8f,_0x152131[_0x95376c(0x105)]({'attributes':{'class':_0x95376c(0xf8)}}),_0x152131[_0x95376c(0x10a)](_0x95376c(0x11f))['to'](this[_0x95376c(0xe7)],_0x95376c(0x112),_0x57ea5c=>!_0x57ea5c),_0x152131[_0x95376c(0x10a)](_0x95376c(0xe4))['to'](this[_0x95376c(0xe7)],_0x95376c(0x131),this[_0x95376c(0xe7)],_0x95376c(0xff),(_0x23aaac,_0x146db8)=>_0x23aaac&&!_0x146db8),_0x152131['on'](_0x95376c(0x101),()=>{const _0x1d7f4f=_0x95376c;this[_0x1d7f4f(0x113)](_0x1d7f4f(0xf4),this[_0x1d7f4f(0xe7)]['id']);}),_0x152131;}[_0x2c2b87(0x126)](){const _0x490150=_0x2c2b87;this[_0x490150(0xe7)][_0x490150(0x130)]?this[_0x490150(0x121)][_0x490150(0xdf)](this[_0x490150(0xeb)])||(this[_0x490150(0x121)][_0x490150(0xe5)](this[_0x490150(0xeb)],0x0),this[_0x490150(0x10f)][_0x490150(0xe5)](this[_0x490150(0xeb)],0x0)):this[_0x490150(0x121)][_0x490150(0xdf)](this[_0x490150(0xeb)])&&(this[_0x490150(0x121)][_0x490150(0x135)](this[_0x490150(0xeb)]),this[_0x490150(0x10f)][_0x490150(0x135)](this[_0x490150(0xeb)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x483856=_0x2eb3;(function(_0x1b20b6,_0x3f7468){const _0x55b18b=_0x2eb3,_0x3ac165=_0x1b20b6();while(!![]){try{const _0x2b3067=-parseInt(_0x55b18b(0x17f))/0x1+-parseInt(_0x55b18b(0x139))/0x2+parseInt(_0x55b18b(0x16b))/0x3*(parseInt(_0x55b18b(0x12d))/0x4)+parseInt(_0x55b18b(0x12c))/0x5+-parseInt(_0x55b18b(0x10e))/0x6+-parseInt(_0x55b18b(0x15a))/0x7*(parseInt(_0x55b18b(0x147))/0x8)+parseInt(_0x55b18b(0x15d))/0x9*(parseInt(_0x55b18b(0x130))/0xa);if(_0x2b3067===_0x3f7468)break;else _0x3ac165['push'](_0x3ac165['shift']());}catch(_0x288433){_0x3ac165['push'](_0x3ac165['shift']());}}}(_0xba94,0xc4db8));import{IconRemoveComment as _0x484f77,IconPencil as _0x9b8416,IconThreeVerticalDots as _0x33ee05}from'ckeditor5/src/icons.js';function _0xba94(){const _0x3d93e2=['extendTemplate','ck-comment__user','switchToEditMode','Remove','ck-annotation__info-time','getTemplate','ck-comment--edit','author','unbind','ck-annotation__content-wrapper','ck-comment__actions','ck-annotation__user','3980319pkWyGO','isVisible','visibleView','10233oHUiCm','set','remove','render','bind','time','userView','find','ck-comment','element','_createDropdown','ariaLabel','placeholder','ck-comment__actions--hidden','3EanWBs','_createCommentInputView','ck-comment--remove-confirmation','removeButton','span','cancelConfirm','items','ck-comment__info','then','mouseenter','ariaDescriptionView','isEditMode','change:isRemovable','name','ck-comment__main','actionIndicator','showConfirm','isEnabled','removeComment','ck-comment__info-time','1524481ObVVvX','ck-comment--remove','length','_attachActions','fire','ck-annotation__info','panelView','isSystemComment','1537392jnGRVI','listitem','ck-comment__external','actionBar','isReadOnly','isEditable','add','_model','icon','ck-comment--','execute','edit','from','isExternal','addMany','ck-annotation__main','focus','group','createCollection','Show\x20more\x20items','ck-comment__info-name','formatDateTime','listenTo','mouseleave','editButton','ck-annotation__actions','isRemovable','Reply...','ck-annotation__actions--hidden','_createEditButton','4491840mrgiuZ','2359540lDppwf','_createRemoveButton','label','22970GhoBbx','Delete\x20comment?','toMany','locale','Edit','ck-comment--info','setTemplate','ck-hidden','resolvedAt','1888568uEOync','ck-comment__wrapper','panelPosition','div','children','_config','ck-annotation','buttonView','authoredAt','getExternalCommentNote','ck-annotation__info-name','dropdown','some','blur','8YoUPGb','isConfirm','bindTemplate','push','withText','focusables','getUserViewNotificationText'];_0xba94=function(){return _0x3d93e2;};return _0xba94();}import{ButtonView as _0x3ccb0f,createDropdown as _0x35b62e,ListView as _0x1a1f2b,ListItemView as _0x3b3ce7,focusChildOnDropdownOpen as _0x5b9c64}from'ckeditor5/src/ui.js';function _0x2eb3(_0x40f9a7,_0x4438b7){const _0xba9475=_0xba94();return _0x2eb3=function(_0x2eb3e8,_0x14369a){_0x2eb3e8=_0x2eb3e8-0x107;let _0x5ef59d=_0xba9475[_0x2eb3e8];return _0x5ef59d;},_0x2eb3(_0x40f9a7,_0x4438b7);}import{UserView as _0x2f3ec7,ConfirmMixin as _0x4f3c10,LateFocusDropdownButtonView as _0x143cba}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x111dfd}from'./basecommentview.js';import{getTranslation as _0x247093}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4f3c10(_0x111dfd){[_0x483856(0x111)];[_0x483856(0x163)];constructor(_0x3e1f64,_0x2a869d,_0x4ab74e){const _0x40f970=_0x483856;super(_0x3e1f64,_0x2a869d,_0x4ab74e),this[_0x40f970(0x15e)](_0x40f970(0x17a),null),this[_0x40f970(0x15e)](_0x40f970(0x169),_0x247093(_0x3e1f64,_0x40f970(0x129))),this[_0x40f970(0x161)](_0x40f970(0x141))['to'](_0x2a869d),this[_0x40f970(0x161)](_0x40f970(0x138))['to'](_0x2a869d),this[_0x40f970(0x111)]=this[_0x40f970(0x120)](),this[_0x40f970(0x10d)]||(this[_0x40f970(0x126)]=this[_0x40f970(0x12b)](),this[_0x40f970(0x16e)]=this[_0x40f970(0x12e)](),this[_0x40f970(0x171)]=this[_0x40f970(0x120)](),this[_0x40f970(0x171)][_0x40f970(0x11c)]([this[_0x40f970(0x126)],this[_0x40f970(0x16e)]]),this[_0x40f970(0x144)]=this[_0x40f970(0x167)](),this[_0x40f970(0x111)][_0x40f970(0x114)](this[_0x40f970(0x144)]),this[_0x40f970(0x14c)][_0x40f970(0x114)](this[_0x40f970(0x144)])),this[_0x40f970(0x163)]=new _0x2f3ec7(_0x3e1f64,_0x2a869d[_0x40f970(0x155)],this[_0x40f970(0x14d)]()),this[_0x40f970(0x163)][_0x40f970(0x14e)]({'attributes':{'class':[_0x40f970(0x14f),_0x40f970(0x159)],'aria-hidden':!0x0}}),this[_0x40f970(0x124)](_0x2a869d,_0x40f970(0x177),()=>this[_0x40f970(0x170)]()),this[_0x40f970(0x136)](this[_0x40f970(0x153)]());}[_0x483856(0x153)](){const _0x21a01b=_0x483856,_0x5ae3e2=this[_0x21a01b(0x149)],_0x3995dc=[{'tag':_0x21a01b(0x13c),'attributes':{'class':[_0x21a01b(0x172),_0x21a01b(0x10b)]},'children':[{'tag':_0x21a01b(0x16f),'children':[{'text':this[_0x21a01b(0x163)][_0x21a01b(0x178)]}],'attributes':{'class':[_0x21a01b(0x122),_0x21a01b(0x143)],'data-cke-tooltip-text':this[_0x21a01b(0x163)][_0x21a01b(0x178)]}},{'tag':_0x21a01b(0x162),'attributes':{'datetime':_0x5ae3e2['to'](_0x21a01b(0x141)),'class':[_0x21a01b(0x17e),_0x21a01b(0x152)]},'children':[{'text':_0x5ae3e2['to'](_0x21a01b(0x141),_0x49e21e=>this[_0x21a01b(0x13e)][_0x21a01b(0x123)](_0x49e21e))}]}]},{'tag':_0x21a01b(0x13c),'attributes':{'class':[_0x21a01b(0x158),_0x21a01b(0x127),_0x5ae3e2['if'](_0x21a01b(0x176),_0x21a01b(0x16a)),_0x5ae3e2['if'](_0x21a01b(0x176),_0x21a01b(0x12a))]},'children':this[_0x21a01b(0x111)]},{'tag':_0x21a01b(0x13c),'attributes':{'class':[_0x21a01b(0x157)]},'children':this[_0x21a01b(0x15c)]},this[_0x21a01b(0x175)]];return this[_0x21a01b(0x115)][_0x21a01b(0x11b)]&&_0x3995dc[_0x21a01b(0x14a)]({'tag':_0x21a01b(0x13c),'attributes':{'class':[_0x21a01b(0x110)]},'children':[{'text':this[_0x21a01b(0x142)]()}]}),{'tag':'li','attributes':{'class':[_0x21a01b(0x13a),_0x5ae3e2['if'](_0x21a01b(0x148),_0x21a01b(0x16d))],'tabindex':-0x1,'aria-label':_0x5ae3e2['to'](_0x21a01b(0x168)),'aria-describedby':this[_0x21a01b(0x175)]['id'],'role':_0x21a01b(0x10f)},'children':[{'tag':_0x21a01b(0x13c),'attributes':{'class':[_0x21a01b(0x165),_0x21a01b(0x13f),_0x5ae3e2['if'](_0x21a01b(0x176),_0x21a01b(0x154)),_0x5ae3e2['if'](_0x21a01b(0x10d),_0x21a01b(0x135)),_0x5ae3e2['to'](_0x21a01b(0x17a),_0x3635d9=>_0x3635d9?_0x21a01b(0x117)+_0x3635d9:'')],'data-author-id':this[_0x21a01b(0x115)][_0x21a01b(0x155)]['id'],'data-comment-id':this[_0x21a01b(0x115)]['id'],'role':_0x21a01b(0x11f)},'children':[this[_0x21a01b(0x163)],{'tag':_0x21a01b(0x13c),'attributes':{'class':[_0x21a01b(0x179),_0x21a01b(0x11d)]},'children':_0x3995dc}]}]};}[_0x483856(0x12b)](){const _0x11cbbb=_0x483856,_0x2e9b12=new _0x3ccb0f(this[_0x11cbbb(0x133)]);return _0x2e9b12[_0x11cbbb(0x12f)]=_0x247093(this[_0x11cbbb(0x133)],_0x11cbbb(0x134)),_0x2e9b12[_0x11cbbb(0x116)]=_0x9b8416,_0x2e9b12[_0x11cbbb(0x14b)]=!0x0,_0x2e9b12[_0x11cbbb(0x14e)]({'attributes':{'class':_0x11cbbb(0x154)}}),_0x2e9b12[_0x11cbbb(0x161)](_0x11cbbb(0x17c))['to'](this[_0x11cbbb(0x115)],_0x11cbbb(0x112),_0x27a60f=>!_0x27a60f),_0x2e9b12[_0x11cbbb(0x161)](_0x11cbbb(0x15b))['to'](this[_0x11cbbb(0x115)],_0x11cbbb(0x113)),_0x2e9b12['on'](_0x11cbbb(0x118),()=>this[_0x11cbbb(0x150)]()),_0x2e9b12;}[_0x483856(0x12e)](){const _0x38f1e=_0x483856,_0x43920e=new _0x3ccb0f(this[_0x38f1e(0x133)]);return _0x43920e[_0x38f1e(0x12f)]=_0x247093(this[_0x38f1e(0x133)],_0x38f1e(0x151)),_0x43920e[_0x38f1e(0x116)]=_0x484f77,_0x43920e[_0x38f1e(0x14b)]=!0x0,_0x43920e[_0x38f1e(0x14e)]({'attributes':{'class':_0x38f1e(0x107)}}),_0x43920e[_0x38f1e(0x161)](_0x38f1e(0x17c))['to'](this[_0x38f1e(0x115)],_0x38f1e(0x112),_0x2e7d48=>!_0x2e7d48),_0x43920e[_0x38f1e(0x161)](_0x38f1e(0x15b))['to'](this[_0x38f1e(0x115)],_0x38f1e(0x128)),_0x43920e['on'](_0x38f1e(0x118),()=>{const _0x21be8d=_0x38f1e;this[_0x21be8d(0x17b)](_0x247093(this[_0x21be8d(0x133)],_0x21be8d(0x131)),this[_0x21be8d(0x166)])[_0x21be8d(0x173)](()=>{const _0x5deb9b=_0x21be8d;this[_0x5deb9b(0x10a)](_0x5deb9b(0x17d),this[_0x5deb9b(0x115)]['id']);});}),_0x43920e;}[_0x483856(0x167)](){const _0x3ce762=_0x483856,_0x470cfd=_0x35b62e(this[_0x3ce762(0x133)],_0x143cba),_0x2f8891=_0x470cfd[_0x3ce762(0x10c)][_0x3ce762(0x13d)],_0x103377=new _0x1a1f2b(this[_0x3ce762(0x133)]),_0x178304=_0x470cfd[_0x3ce762(0x149)];_0x5b9c64(_0x470cfd,()=>this[_0x3ce762(0x171)][_0x3ce762(0x164)](_0x43c878=>_0x43c878[_0x3ce762(0x15b)])),_0x470cfd[_0x3ce762(0x14e)]({'attributes':{'class':[_0x178304['if'](_0x3ce762(0x15b),_0x3ce762(0x137),_0x3bcccf=>!_0x3bcccf)]}});const _0xa0c3bf=(_0x18c2f7,_0x4d0038=-0x1)=>{const _0x8f1fd9=_0x3ce762,_0x28f921=new _0x3b3ce7(this[_0x8f1fd9(0x133)]);_0x28f921[_0x8f1fd9(0x13d)][_0x8f1fd9(0x114)](_0x18c2f7);const _0x327804=_0x4d0038>-0x1?_0x4d0038:_0x103377[_0x8f1fd9(0x171)][_0x8f1fd9(0x108)];_0x103377[_0x8f1fd9(0x171)][_0x8f1fd9(0x114)](_0x28f921,_0x327804);const _0x5d54a4=Array[_0x8f1fd9(0x11a)](this[_0x8f1fd9(0x171)]);_0x470cfd[_0x8f1fd9(0x156)](_0x8f1fd9(0x17c),_0x8f1fd9(0x15b)),_0x470cfd[_0x8f1fd9(0x161)](_0x8f1fd9(0x17c))[_0x8f1fd9(0x132)](_0x5d54a4,_0x8f1fd9(0x17c),(..._0x253a60)=>_0x253a60[_0x8f1fd9(0x145)](_0x44d487=>_0x44d487)),_0x470cfd[_0x8f1fd9(0x161)](_0x8f1fd9(0x15b))[_0x8f1fd9(0x132)](_0x5d54a4,_0x8f1fd9(0x15b),(..._0x3d4990)=>_0x3d4990[_0x8f1fd9(0x145)](_0x5133cf=>_0x5133cf));};_0x470cfd[_0x3ce762(0x13b)]='sw',_0x470cfd[_0x3ce762(0x140)][_0x3ce762(0x15e)]({'label':_0x247093(this[_0x3ce762(0x133)],_0x3ce762(0x121)),'icon':_0x33ee05});for(const _0x1ea6e0 of this[_0x3ce762(0x171)])_0xa0c3bf(_0x1ea6e0);return _0x2f8891[_0x3ce762(0x114)](_0x103377),_0x470cfd[_0x3ce762(0x124)](this[_0x3ce762(0x171)],_0x3ce762(0x114),(_0x4b5cbc,_0x262ed4,_0x4a1598)=>{_0xa0c3bf(_0x262ed4,_0x4a1598);}),_0x470cfd[_0x3ce762(0x124)](this[_0x3ce762(0x171)],_0x3ce762(0x15f),(_0x4dd5df,_0x4a3d9e,_0x338c9d)=>{const _0x113365=_0x3ce762;_0x103377[_0x113365(0x171)][_0x113365(0x15f)](_0x338c9d);}),_0x470cfd;}[_0x483856(0x109)](_0x1a2797,_0x1f9f54){const _0x1edd2a=_0x483856,_0x4011e4=_0x1a2797&&_0x1a2797[_0x1edd2a(0x166)];_0x4011e4&&(this[_0x1edd2a(0x124)](_0x4011e4,_0x1edd2a(0x174),()=>this[_0x1edd2a(0x17a)]=_0x1f9f54),this[_0x1edd2a(0x124)](_0x4011e4,_0x1edd2a(0x11e),()=>this[_0x1edd2a(0x17a)]=_0x1f9f54),this[_0x1edd2a(0x124)](_0x4011e4,_0x1edd2a(0x125),()=>this[_0x1edd2a(0x17a)]=null),this[_0x1edd2a(0x124)](_0x4011e4,_0x1edd2a(0x146),()=>this[_0x1edd2a(0x17a)]=null));}[_0x483856(0x16c)](){const _0x13ac43=_0x483856,_0x2d6bea=super[_0x13ac43(0x16c)]();return _0x2d6bea[_0x13ac43(0x161)](_0x13ac43(0x169))['to'](this),_0x2d6bea;}[_0x483856(0x160)](){const _0xed4cf9=_0x483856;super[_0xed4cf9(0x160)](),this[_0xed4cf9(0x109)](this[_0xed4cf9(0x126)],_0xed4cf9(0x119)),this[_0xed4cf9(0x109)](this[_0xed4cf9(0x16e)],_0xed4cf9(0x15f));}}
|