@ckeditor/ckeditor5-comments 47.1.0-alpha.1 → 47.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x52a40b=_0x66cc;function _0x1d25(){const _0x37afe1=['commentViews','updateComment','CommentView','8133848IByWTV','editorConfig','get','render','setTemplate','394188llXgKp','set','added','maxCommentsWhenCollapsed','collapse','_model','stopListening','add','ck-hidden','_handleNewCommentModel','resolved','focusLast','isActive','576617ySYQlS','insert','4800756HyJjiw','arrowup','_collapsedCommentsView','target','_handleRemoveCommentModel','isEditMode','_setupKeyboardNavigation','maxCommentCharsWhenCollapsed','_config','editorReady','_findOptimalIndex','focusTracker','Thread\x20comments','resolvedAt','_rearrangeExpand','hasDirtyComment','locale','90830BRDQdB','length','expand','_handleInfoComment','maxThreadTotalWeight','removeComment','map','element','some','change:isActive','369FphvxB','914275HUiqsp','bind','from','resolvedCommentView','count','removed','weight','editorDestroyed','focusCycler','includes','7krWqRQ','focusFirst','reverse','viewUid','arrowdown','change','change:isResolved','_calculatePosition','commentUpdated','10gnZbeY','focus','listenTo','bindTemplate','_updateHasDirtyComment','change:isEditMode','authoredAt','destroy','_rearrangeCollapse','delete','createCollection','delegate','3893968MZfVQN','resolvedBy','keystrokes','visibleViews','comments','_shouldCollapse','Marked\x20as\x20resolved','formatDateTime','forEach','change:hasDirtyComment','resolveCommentThread','remove','equal','refreshVisibleViews','ck-thread__comments'];_0x1d25=function(){return _0x37afe1;};return _0x1d25();}function _0x66cc(_0x196b4e,_0x58b643){const _0x1d251e=_0x1d25();return _0x66cc=function(_0x66cc2f,_0xef888){_0x66cc2f=_0x66cc2f-0x1f2;let _0x1176fa=_0x1d251e[_0x66cc2f];return _0x1176fa;},_0x66cc(_0x196b4e,_0x58b643);}(function(_0x3273cc,_0x561052){const _0x463bee=_0x66cc,_0x444596=_0x3273cc();while(!![]){try{const _0x5c2ff7=-parseInt(_0x463bee(0x1f7))/0x1+parseInt(_0x463bee(0x228))/0x2*(-parseInt(_0x463bee(0x24b))/0x3)+parseInt(_0x463bee(0x234))/0x4+parseInt(_0x463bee(0x215))/0x5+-parseInt(_0x463bee(0x1f9))/0x6+parseInt(_0x463bee(0x21f))/0x7*(parseInt(_0x463bee(0x246))/0x8)+parseInt(_0x463bee(0x214))/0x9*(parseInt(_0x463bee(0x20a))/0xa);if(_0x5c2ff7===_0x561052)break;else _0x444596['push'](_0x444596['shift']());}catch(_0x558fdc){_0x444596['push'](_0x444596['shift']());}}}(_0x1d25,0x7cf0e));import{View as _0x19f79a,FocusCycler as _0x1e2544}from'ckeditor5/src/ui.js';import{diff as _0x2bd5ac,Collection as _0x113985,FocusTracker as _0x4bc53d,KeystrokeHandler as _0x515bf6}from'ckeditor5/src/utils.js';import{getTranslation as _0x1b42df}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0xb26057}from'./collapsedcommentsview.js';export class CommentsListView extends _0x19f79a{[_0x52a40b(0x243)];[_0x52a40b(0x218)];[_0x52a40b(0x204)];[_0x52a40b(0x236)];[_0x52a40b(0x21d)];[_0x52a40b(0x250)];[_0x52a40b(0x201)];[_0x52a40b(0x1fb)];constructor(_0xa26505,_0x2a9cdc,_0x48e38b){const _0x145506=_0x52a40b;super(_0xa26505);const _0x3d597c=this[_0x145506(0x22b)];this[_0x145506(0x24c)](_0x145506(0x208),!0x1),this[_0x145506(0x24c)](_0x145506(0x20b),_0x2a9cdc[_0x145506(0x238)][_0x145506(0x20b)]),this[_0x145506(0x24c)](_0x145506(0x1f6),!0x1),this[_0x145506(0x250)]=_0x2a9cdc,this[_0x145506(0x201)]=_0x48e38b,this[_0x145506(0x243)]=this[_0x145506(0x232)](),this[_0x145506(0x237)]=this[_0x145506(0x232)](),this[_0x145506(0x218)]=null,this[_0x145506(0x204)]=new _0x4bc53d(),this[_0x145506(0x236)]=new _0x515bf6(),this[_0x145506(0x21d)]=new _0x1e2544({'focusables':this[_0x145506(0x243)],'focusTracker':this[_0x145506(0x204)],'keystrokeHandler':this[_0x145506(0x236)],'keystrokeHandlerOptions':{'filter':_0x57766f=>this[_0x145506(0x243)][_0x145506(0x210)](_0x19ce12=>_0x19ce12[_0x145506(0x211)])[_0x145506(0x21e)](_0x57766f[_0x145506(0x1fc)])},'actions':{'focusPrevious':_0x145506(0x1fa),'focusNext':_0x145506(0x223)}}),this[_0x145506(0x1fb)]=new _0xb26057(_0xa26505),this[_0x145506(0x1fb)][_0x145506(0x216)](_0x145506(0x219))['to'](this,_0x145506(0x20b),_0x1dc693=>_0x1dc693-this[_0x145506(0x201)][_0x145506(0x24e)]);for(const _0x7cacf9 of _0x2a9cdc[_0x145506(0x238)])this[_0x145506(0x1f3)](_0x7cacf9);this[_0x145506(0x20d)](),this[_0x145506(0x22a)](_0x2a9cdc[_0x145506(0x238)],_0x145506(0x252),(_0x4d8dac,_0xb0caf0)=>{const _0x4ff262=_0x145506,_0x52f4e7=this[_0x4ff262(0x226)](_0xb0caf0);this[_0x4ff262(0x20b)]++,this[_0x4ff262(0x1f3)](_0xb0caf0,_0x52f4e7),this[_0x4ff262(0x241)]();}),this[_0x145506(0x22a)](_0x2a9cdc[_0x145506(0x238)],_0x145506(0x23f),(_0x41c798,_0x1da6d1)=>{const _0x2e96f0=_0x145506;this[_0x2e96f0(0x20b)]--,this[_0x2e96f0(0x1fd)](_0x1da6d1),this[_0x2e96f0(0x241)]();}),this[_0x145506(0x22a)](_0x2a9cdc,_0x145506(0x227),()=>this[_0x145506(0x241)]()),this[_0x145506(0x22a)](_0x2a9cdc,_0x145506(0x225),()=>this[_0x145506(0x20d)]()),this['on'](_0x145506(0x213),()=>this[_0x145506(0x241)]()),this['on'](_0x145506(0x23d),()=>this[_0x145506(0x241)]()),this[_0x145506(0x24a)]({'tag':'ul','attributes':{'class':[_0x145506(0x242),_0x3d597c['if'](_0x145506(0x20b),_0x145506(0x1f2),_0x135a3c=>!_0x135a3c)],'aria-label':_0x1b42df(_0xa26505,_0x145506(0x205))},'children':this[_0x145506(0x237)]});}get[_0x52a40b(0x239)](){const _0x24a002=_0x52a40b;return this[_0x24a002(0x250)][_0x24a002(0x21b)]>this[_0x24a002(0x201)][_0x24a002(0x20e)]&&!this[_0x24a002(0x1f6)]&&!this[_0x24a002(0x208)];}[_0x52a40b(0x249)](){const _0x4af188=_0x52a40b;super[_0x4af188(0x249)](),this[_0x4af188(0x241)](),this[_0x4af188(0x1ff)]();}[_0x52a40b(0x229)](_0x13e042){const _0x50e1f6=_0x52a40b;-0x1===_0x13e042?this[_0x50e1f6(0x21d)][_0x50e1f6(0x1f5)]():this[_0x50e1f6(0x21d)][_0x50e1f6(0x220)]();}[_0x52a40b(0x22f)](){const _0x585c64=_0x52a40b;this[_0x585c64(0x1fb)][_0x585c64(0x22f)]();for(const _0x3c8086 of this[_0x585c64(0x243)])_0x3c8086[_0x585c64(0x22f)]();super[_0x585c64(0x22f)]();}[_0x52a40b(0x241)](){const _0x504690=_0x52a40b;this[_0x504690(0x239)]?this[_0x504690(0x230)]():this[_0x504690(0x207)]();}[_0x52a40b(0x1f3)](_0x438123,_0x326289){const _0x1b03cd=_0x52a40b,_0x31182c=new this[(_0x1b03cd(0x201))][(_0x1b03cd(0x245))](this[_0x1b03cd(0x209)],_0x438123,{'maxCommentCharsWhenCollapsed':this[_0x1b03cd(0x201)][_0x1b03cd(0x200)],'formatDateTime':this[_0x1b03cd(0x201)][_0x1b03cd(0x23b)],'editorConfig':this[_0x1b03cd(0x201)][_0x1b03cd(0x247)]});_0x31182c[_0x1b03cd(0x222)]=_0x438123['id'],_0x31182c[_0x1b03cd(0x233)](_0x1b03cd(0x20f))['to'](this),_0x31182c[_0x1b03cd(0x233)](_0x1b03cd(0x244))['to'](this),_0x31182c[_0x1b03cd(0x233)](_0x1b03cd(0x23e))['to'](this),_0x31182c[_0x1b03cd(0x233)](_0x1b03cd(0x202))['to'](this),_0x31182c[_0x1b03cd(0x233)](_0x1b03cd(0x21c))['to'](this),this[_0x1b03cd(0x22a)](_0x31182c,_0x1b03cd(0x22d),()=>this[_0x1b03cd(0x22c)]()),this[_0x1b03cd(0x243)][_0x1b03cd(0x252)](_0x31182c,_0x326289);}[_0x52a40b(0x226)](_0x5bb23d){const _0x398917=_0x52a40b,_0x229352=this[_0x398917(0x250)][_0x398917(0x203)](_0x5bb23d);return this[_0x398917(0x218)]?this[_0x398917(0x218)][_0x398917(0x22e)]>_0x5bb23d[_0x398917(0x22e)]?_0x229352-0x1:_0x229352:_0x229352-0x1;}[_0x52a40b(0x20d)](){const _0x417214=_0x52a40b;if(this[_0x417214(0x250)][_0x417214(0x235)]&&this[_0x417214(0x250)][_0x417214(0x206)]){const _0x48fd0c={'id':_0x417214(0x1f4),'author':this[_0x417214(0x250)][_0x417214(0x235)],'authoredAt':this[_0x417214(0x250)][_0x417214(0x206)],'content':_0x1b42df(this[_0x417214(0x209)],_0x417214(0x23a)),'attributes':{}};this[_0x417214(0x218)]=new this[(_0x417214(0x201))][(_0x417214(0x245))](this[_0x417214(0x209)],_0x48fd0c,{'maxCommentCharsWhenCollapsed':this[_0x417214(0x201)][_0x417214(0x200)],'formatDateTime':this[_0x417214(0x201)][_0x417214(0x23b)],'editorConfig':this[_0x417214(0x201)][_0x417214(0x247)],'isSystemComment':!0x0}),this[_0x417214(0x243)][_0x417214(0x252)](this[_0x417214(0x218)],this[_0x417214(0x250)][_0x417214(0x203)](_0x48fd0c));}else this[_0x417214(0x218)]&&(this[_0x417214(0x243)][_0x417214(0x23f)](this[_0x417214(0x218)]),this[_0x417214(0x218)][_0x417214(0x22f)](),this[_0x417214(0x218)]=null);this[_0x417214(0x241)]();}[_0x52a40b(0x1fd)](_0x23e95f){const _0x19ffb1=_0x52a40b,_0xe8a4ff=this[_0x19ffb1(0x243)][_0x19ffb1(0x23f)](_0x23e95f['id']);this[_0x19ffb1(0x251)](_0xe8a4ff),_0xe8a4ff[_0x19ffb1(0x1fe)]&&this[_0x19ffb1(0x22c)](),_0xe8a4ff[_0x19ffb1(0x22f)]();}[_0x52a40b(0x22c)](){const _0x2cee47=_0x52a40b;this[_0x2cee47(0x208)]=Array[_0x2cee47(0x217)](this[_0x2cee47(0x243)])[_0x2cee47(0x212)](_0x235948=>_0x235948[_0x2cee47(0x1fe)]);}[_0x52a40b(0x230)](){const _0x401dd3=_0x52a40b,_0x2d4b17=function(_0x1306f7){const _0x1c21b2=_0x66cc,_0x379739=new _0x113985();for(const _0x352bfe of _0x1306f7)_0x379739[_0x1c21b2(0x252)](_0x352bfe);return _0x379739;}(this[_0x401dd3(0x243)]),_0x42b7d2=this[_0x401dd3(0x1fb)][_0x401dd3(0x219)];for(let _0xe16f54=0x1;_0xe16f54<=_0x42b7d2;_0xe16f54++)_0x2d4b17[_0x401dd3(0x23f)](0x1);for(const _0x49f686 of _0x2d4b17)_0x49f686[_0x401dd3(0x24f)]();_0x42b7d2>0x0&&_0x2d4b17[_0x401dd3(0x252)](this[_0x401dd3(0x1fb)],0x1),ns(_0x2bd5ac(Array[_0x401dd3(0x217)](this[_0x401dd3(0x237)]),Array[_0x401dd3(0x217)](_0x2d4b17)),this[_0x401dd3(0x237)],_0x2d4b17);}[_0x52a40b(0x207)](){const _0xda994b=_0x52a40b;ns(_0x2bd5ac(Array[_0xda994b(0x217)](this[_0xda994b(0x237)]),Array[_0xda994b(0x217)](this[_0xda994b(0x243)])),this[_0xda994b(0x237)],this[_0xda994b(0x243)]);for(const _0x135e68 of this[_0xda994b(0x237)])_0x135e68[_0xda994b(0x20c)]();}[_0x52a40b(0x1ff)](){const _0x2b6e9a=_0x52a40b;this[_0x2b6e9a(0x243)][_0x2b6e9a(0x23c)](_0x265f92=>{const _0x50f2f7=_0x2b6e9a;this[_0x50f2f7(0x204)][_0x50f2f7(0x252)](_0x265f92[_0x50f2f7(0x211)]),this[_0x50f2f7(0x236)][_0x50f2f7(0x22a)](_0x265f92[_0x50f2f7(0x211)]);}),this[_0x2b6e9a(0x243)]['on'](_0x2b6e9a(0x224),(_0x47a634,_0x17bc18)=>{const _0x26c68b=_0x2b6e9a;for(const _0x9c3a03 of _0x17bc18[_0x26c68b(0x21a)])this[_0x26c68b(0x204)][_0x26c68b(0x23f)](_0x9c3a03[_0x26c68b(0x211)]),this[_0x26c68b(0x236)][_0x26c68b(0x251)](_0x9c3a03[_0x26c68b(0x211)]);for(const _0xc984d7 of Array[_0x26c68b(0x217)](_0x17bc18[_0x26c68b(0x24d)])[_0x26c68b(0x221)]())this[_0x26c68b(0x204)][_0x26c68b(0x252)](_0xc984d7[_0x26c68b(0x211)]),this[_0x26c68b(0x236)][_0x26c68b(0x22a)](_0xc984d7[_0x26c68b(0x211)]);});}}function ns(_0x5ea520,_0x5a279b,_0xd6f4a8){const _0x22b306=_0x52a40b;let _0x2a74b5=0x0;for(const _0x5a6267 of _0x5ea520)switch(_0x5a6267){case _0x22b306(0x1f8):_0x5a279b[_0x22b306(0x252)](_0xd6f4a8[_0x22b306(0x248)](_0x2a74b5),_0x2a74b5),_0x2a74b5++;break;case _0x22b306(0x231):_0x5a279b[_0x22b306(0x23f)](_0x2a74b5);break;case _0x22b306(0x240):_0x2a74b5++;}}
|
|
23
|
+
function _0x47b1(_0x36b45d,_0x241160){const _0x4177dd=_0x4177();return _0x47b1=function(_0x47b13f,_0x591a0e){_0x47b13f=_0x47b13f-0x19f;let _0x5924ed=_0x4177dd[_0x47b13f];return _0x5924ed;},_0x47b1(_0x36b45d,_0x241160);}const _0x5de4de=_0x47b1;function _0x4177(){const _0x3b50a7=['isEditMode','1912170ZvbSWt','_config','set','focusFirst','destroy','32ifoDZv','_rearrangeCollapse','removeComment','editorDestroyed','ck-hidden','collapse','editorReady','render','expand','_handleInfoComment','resolved','resolvedAt','remove','change','refreshVisibleViews','element','visibleViews','insert','Thread\x20comments','_model','_handleNewCommentModel','commentUpdated','forEach','from','resolvedBy','equal','34137939nOWFwR','authoredAt','keystrokes','change:isResolved','_setupKeyboardNavigation','change:hasDirtyComment','comments','hasDirtyComment','resolveCommentThread','focusTracker','CommentView','some','1975gZHAsJ','add','_updateHasDirtyComment','maxThreadTotalWeight','commentViews','resolvedCommentView','count','arrowdown','setTemplate','removed','focusCycler','ck-thread__comments','maxCommentCharsWhenCollapsed','target','length','_handleRemoveCommentModel','focusLast','locale','1gMjBVA','change:isEditMode','change:isActive','updateComment','map','_findOptimalIndex','6817284KbKKlN','viewUid','added','listenTo','weight','12677230dkosnX','1638217yeVPIb','isActive','4853607ASzcnQ','editorConfig','_calculatePosition','delete','delegate','9JHhBXG','5180pJWiSd','_rearrangeExpand','_shouldCollapse','formatDateTime','_collapsedCommentsView','reverse','Marked\x20as\x20resolved','bindTemplate','focus','bind','includes','arrowup','stopListening','get','maxCommentsWhenCollapsed','createCollection'];_0x4177=function(){return _0x3b50a7;};return _0x4177();}(function(_0x88f424,_0x4c940d){const _0x335d10=_0x47b1,_0x50f9db=_0x88f424();while(!![]){try{const _0x41e9b9=-parseInt(_0x335d10(0x1f8))/0x1*(parseInt(_0x335d10(0x1bb))/0x2)+-parseInt(_0x335d10(0x1a4))/0x3+-parseInt(_0x335d10(0x1aa))/0x4*(parseInt(_0x335d10(0x1e6))/0x5)+parseInt(_0x335d10(0x1fe))/0x6+-parseInt(_0x335d10(0x1a2))/0x7*(-parseInt(_0x335d10(0x1c0))/0x8)+parseInt(_0x335d10(0x1a9))/0x9*(-parseInt(_0x335d10(0x1a1))/0xa)+parseInt(_0x335d10(0x1da))/0xb;if(_0x41e9b9===_0x4c940d)break;else _0x50f9db['push'](_0x50f9db['shift']());}catch(_0x27bb69){_0x50f9db['push'](_0x50f9db['shift']());}}}(_0x4177,0xc8d39));import{View as _0x3c8c9e,FocusCycler as _0x7f0db3}from'ckeditor5/src/ui.js';import{diff as _0x12e35b,Collection as _0x21db82,FocusTracker as _0x2ad3df,KeystrokeHandler as _0x3dc76f}from'ckeditor5/src/utils.js';import{getTranslation as _0x166160}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x1f7549}from'./collapsedcommentsview.js';export class CommentsListView extends _0x3c8c9e{[_0x5de4de(0x1ea)];[_0x5de4de(0x1eb)];[_0x5de4de(0x1e3)];[_0x5de4de(0x1dc)];[_0x5de4de(0x1f0)];[_0x5de4de(0x1d3)];[_0x5de4de(0x1bc)];[_0x5de4de(0x1ae)];constructor(_0xade647,_0x3f59f2,_0x5ed98b){const _0x76acbc=_0x5de4de;super(_0xade647);const _0x2275e0=this[_0x76acbc(0x1b1)];this[_0x76acbc(0x1bd)](_0x76acbc(0x1e1),!0x1),this[_0x76acbc(0x1bd)](_0x76acbc(0x1f4),_0x3f59f2[_0x76acbc(0x1e0)][_0x76acbc(0x1f4)]),this[_0x76acbc(0x1bd)](_0x76acbc(0x1a3),!0x1),this[_0x76acbc(0x1d3)]=_0x3f59f2,this[_0x76acbc(0x1bc)]=_0x5ed98b,this[_0x76acbc(0x1ea)]=this[_0x76acbc(0x1b9)](),this[_0x76acbc(0x1d0)]=this[_0x76acbc(0x1b9)](),this[_0x76acbc(0x1eb)]=null,this[_0x76acbc(0x1e3)]=new _0x2ad3df(),this[_0x76acbc(0x1dc)]=new _0x3dc76f(),this[_0x76acbc(0x1f0)]=new _0x7f0db3({'focusables':this[_0x76acbc(0x1ea)],'focusTracker':this[_0x76acbc(0x1e3)],'keystrokeHandler':this[_0x76acbc(0x1dc)],'keystrokeHandlerOptions':{'filter':_0x32002c=>this[_0x76acbc(0x1ea)][_0x76acbc(0x1fc)](_0x2222d6=>_0x2222d6[_0x76acbc(0x1cf)])[_0x76acbc(0x1b4)](_0x32002c[_0x76acbc(0x1f3)])},'actions':{'focusPrevious':_0x76acbc(0x1b5),'focusNext':_0x76acbc(0x1ed)}}),this[_0x76acbc(0x1ae)]=new _0x1f7549(_0xade647),this[_0x76acbc(0x1ae)][_0x76acbc(0x1b3)](_0x76acbc(0x1ec))['to'](this,_0x76acbc(0x1f4),_0x422782=>_0x422782-this[_0x76acbc(0x1bc)][_0x76acbc(0x1b8)]);for(const _0x348427 of _0x3f59f2[_0x76acbc(0x1e0)])this[_0x76acbc(0x1d4)](_0x348427);this[_0x76acbc(0x1c9)](),this[_0x76acbc(0x19f)](_0x3f59f2[_0x76acbc(0x1e0)],_0x76acbc(0x1e7),(_0x24dd93,_0x1a7759)=>{const _0x53df67=_0x76acbc,_0x5986cd=this[_0x53df67(0x1a6)](_0x1a7759);this[_0x53df67(0x1f4)]++,this[_0x53df67(0x1d4)](_0x1a7759,_0x5986cd),this[_0x53df67(0x1ce)]();}),this[_0x76acbc(0x19f)](_0x3f59f2[_0x76acbc(0x1e0)],_0x76acbc(0x1cc),(_0x2751d0,_0x4611a1)=>{const _0x252b3d=_0x76acbc;this[_0x252b3d(0x1f4)]--,this[_0x252b3d(0x1f5)](_0x4611a1),this[_0x252b3d(0x1ce)]();}),this[_0x76acbc(0x19f)](_0x3f59f2,_0x76acbc(0x1d5),()=>this[_0x76acbc(0x1ce)]()),this[_0x76acbc(0x19f)](_0x3f59f2,_0x76acbc(0x1dd),()=>this[_0x76acbc(0x1c9)]()),this['on'](_0x76acbc(0x1fa),()=>this[_0x76acbc(0x1ce)]()),this['on'](_0x76acbc(0x1df),()=>this[_0x76acbc(0x1ce)]()),this[_0x76acbc(0x1ee)]({'tag':'ul','attributes':{'class':[_0x76acbc(0x1f1),_0x2275e0['if'](_0x76acbc(0x1f4),_0x76acbc(0x1c4),_0x33b973=>!_0x33b973)],'aria-label':_0x166160(_0xade647,_0x76acbc(0x1d2))},'children':this[_0x76acbc(0x1d0)]});}get[_0x5de4de(0x1ac)](){const _0x3b6801=_0x5de4de;return this[_0x3b6801(0x1d3)][_0x3b6801(0x1a0)]>this[_0x3b6801(0x1bc)][_0x3b6801(0x1e9)]&&!this[_0x3b6801(0x1a3)]&&!this[_0x3b6801(0x1e1)];}[_0x5de4de(0x1c7)](){const _0x2c2eee=_0x5de4de;super[_0x2c2eee(0x1c7)](),this[_0x2c2eee(0x1ce)](),this[_0x2c2eee(0x1de)]();}[_0x5de4de(0x1b2)](_0x2df98a){const _0xa44896=_0x5de4de;-0x1===_0x2df98a?this[_0xa44896(0x1f0)][_0xa44896(0x1f6)]():this[_0xa44896(0x1f0)][_0xa44896(0x1be)]();}[_0x5de4de(0x1bf)](){const _0x3c7380=_0x5de4de;this[_0x3c7380(0x1ae)][_0x3c7380(0x1bf)]();for(const _0x3c3b52 of this[_0x3c7380(0x1ea)])_0x3c3b52[_0x3c7380(0x1bf)]();super[_0x3c7380(0x1bf)]();}[_0x5de4de(0x1ce)](){const _0x2f770b=_0x5de4de;this[_0x2f770b(0x1ac)]?this[_0x2f770b(0x1c1)]():this[_0x2f770b(0x1ab)]();}[_0x5de4de(0x1d4)](_0x2aa447,_0x5b66d3){const _0x4869c6=_0x5de4de,_0x1e4cde=new this[(_0x4869c6(0x1bc))][(_0x4869c6(0x1e4))](this[_0x4869c6(0x1f7)],_0x2aa447,{'maxCommentCharsWhenCollapsed':this[_0x4869c6(0x1bc)][_0x4869c6(0x1f2)],'formatDateTime':this[_0x4869c6(0x1bc)][_0x4869c6(0x1ad)],'editorConfig':this[_0x4869c6(0x1bc)][_0x4869c6(0x1a5)]});_0x1e4cde[_0x4869c6(0x1ff)]=_0x2aa447['id'],_0x1e4cde[_0x4869c6(0x1a8)](_0x4869c6(0x1c2))['to'](this),_0x1e4cde[_0x4869c6(0x1a8)](_0x4869c6(0x1fb))['to'](this),_0x1e4cde[_0x4869c6(0x1a8)](_0x4869c6(0x1e2))['to'](this),_0x1e4cde[_0x4869c6(0x1a8)](_0x4869c6(0x1c6))['to'](this),_0x1e4cde[_0x4869c6(0x1a8)](_0x4869c6(0x1c3))['to'](this),this[_0x4869c6(0x19f)](_0x1e4cde,_0x4869c6(0x1f9),()=>this[_0x4869c6(0x1e8)]()),this[_0x4869c6(0x1ea)][_0x4869c6(0x1e7)](_0x1e4cde,_0x5b66d3);}[_0x5de4de(0x1a6)](_0x26d87c){const _0x5d9d88=_0x5de4de,_0x4ce43f=this[_0x5d9d88(0x1d3)][_0x5d9d88(0x1fd)](_0x26d87c);return this[_0x5d9d88(0x1eb)]?this[_0x5d9d88(0x1eb)][_0x5d9d88(0x1db)]>_0x26d87c[_0x5d9d88(0x1db)]?_0x4ce43f-0x1:_0x4ce43f:_0x4ce43f-0x1;}[_0x5de4de(0x1c9)](){const _0x53e305=_0x5de4de;if(this[_0x53e305(0x1d3)][_0x53e305(0x1d8)]&&this[_0x53e305(0x1d3)][_0x53e305(0x1cb)]){const _0x4a361c={'id':_0x53e305(0x1ca),'author':this[_0x53e305(0x1d3)][_0x53e305(0x1d8)],'authoredAt':this[_0x53e305(0x1d3)][_0x53e305(0x1cb)],'content':_0x166160(this[_0x53e305(0x1f7)],_0x53e305(0x1b0)),'attributes':{}};this[_0x53e305(0x1eb)]=new this[(_0x53e305(0x1bc))][(_0x53e305(0x1e4))](this[_0x53e305(0x1f7)],_0x4a361c,{'maxCommentCharsWhenCollapsed':this[_0x53e305(0x1bc)][_0x53e305(0x1f2)],'formatDateTime':this[_0x53e305(0x1bc)][_0x53e305(0x1ad)],'editorConfig':this[_0x53e305(0x1bc)][_0x53e305(0x1a5)],'isSystemComment':!0x0}),this[_0x53e305(0x1ea)][_0x53e305(0x1e7)](this[_0x53e305(0x1eb)],this[_0x53e305(0x1d3)][_0x53e305(0x1fd)](_0x4a361c));}else this[_0x53e305(0x1eb)]&&(this[_0x53e305(0x1ea)][_0x53e305(0x1cc)](this[_0x53e305(0x1eb)]),this[_0x53e305(0x1eb)][_0x53e305(0x1bf)](),this[_0x53e305(0x1eb)]=null);this[_0x53e305(0x1ce)]();}[_0x5de4de(0x1f5)](_0x52aeed){const _0x41ffab=_0x5de4de,_0x54400f=this[_0x41ffab(0x1ea)][_0x41ffab(0x1cc)](_0x52aeed['id']);this[_0x41ffab(0x1b6)](_0x54400f),_0x54400f[_0x41ffab(0x1ba)]&&this[_0x41ffab(0x1e8)](),_0x54400f[_0x41ffab(0x1bf)]();}[_0x5de4de(0x1e8)](){const _0x2bf649=_0x5de4de;this[_0x2bf649(0x1e1)]=Array[_0x2bf649(0x1d7)](this[_0x2bf649(0x1ea)])[_0x2bf649(0x1e5)](_0xcd7e38=>_0xcd7e38[_0x2bf649(0x1ba)]);}[_0x5de4de(0x1c1)](){const _0x9f9744=_0x5de4de,_0x7bba5d=function(_0x3a78e8){const _0x32586f=_0x47b1,_0x438b18=new _0x21db82();for(const _0x2792ba of _0x3a78e8)_0x438b18[_0x32586f(0x1e7)](_0x2792ba);return _0x438b18;}(this[_0x9f9744(0x1ea)]),_0x54d529=this[_0x9f9744(0x1ae)][_0x9f9744(0x1ec)];for(let _0x457e3e=0x1;_0x457e3e<=_0x54d529;_0x457e3e++)_0x7bba5d[_0x9f9744(0x1cc)](0x1);for(const _0x3dca3f of _0x7bba5d)_0x3dca3f[_0x9f9744(0x1c5)]();_0x54d529>0x0&&_0x7bba5d[_0x9f9744(0x1e7)](this[_0x9f9744(0x1ae)],0x1),ns(_0x12e35b(Array[_0x9f9744(0x1d7)](this[_0x9f9744(0x1d0)]),Array[_0x9f9744(0x1d7)](_0x7bba5d)),this[_0x9f9744(0x1d0)],_0x7bba5d);}[_0x5de4de(0x1ab)](){const _0xac4418=_0x5de4de;ns(_0x12e35b(Array[_0xac4418(0x1d7)](this[_0xac4418(0x1d0)]),Array[_0xac4418(0x1d7)](this[_0xac4418(0x1ea)])),this[_0xac4418(0x1d0)],this[_0xac4418(0x1ea)]);for(const _0x3def2d of this[_0xac4418(0x1d0)])_0x3def2d[_0xac4418(0x1c8)]();}[_0x5de4de(0x1de)](){const _0x5f5229=_0x5de4de;this[_0x5f5229(0x1ea)][_0x5f5229(0x1d6)](_0x5356be=>{const _0x11045e=_0x5f5229;this[_0x11045e(0x1e3)][_0x11045e(0x1e7)](_0x5356be[_0x11045e(0x1cf)]),this[_0x11045e(0x1dc)][_0x11045e(0x19f)](_0x5356be[_0x11045e(0x1cf)]);}),this[_0x5f5229(0x1ea)]['on'](_0x5f5229(0x1cd),(_0x228f79,_0x1fae9d)=>{const _0xa832d7=_0x5f5229;for(const _0x48d257 of _0x1fae9d[_0xa832d7(0x1ef)])this[_0xa832d7(0x1e3)][_0xa832d7(0x1cc)](_0x48d257[_0xa832d7(0x1cf)]),this[_0xa832d7(0x1dc)][_0xa832d7(0x1b6)](_0x48d257[_0xa832d7(0x1cf)]);for(const _0x1aae31 of Array[_0xa832d7(0x1d7)](_0x1fae9d[_0xa832d7(0x200)])[_0xa832d7(0x1af)]())this[_0xa832d7(0x1e3)][_0xa832d7(0x1e7)](_0x1aae31[_0xa832d7(0x1cf)]),this[_0xa832d7(0x1dc)][_0xa832d7(0x19f)](_0x1aae31[_0xa832d7(0x1cf)]);});}}function ns(_0x14f72a,_0x1beea5,_0x5f17f8){const _0x179d71=_0x5de4de;let _0x131fb8=0x0;for(const _0x4b9cd2 of _0x14f72a)switch(_0x4b9cd2){case _0x179d71(0x1d1):_0x1beea5[_0x179d71(0x1e7)](_0x5f17f8[_0x179d71(0x1b7)](_0x131fb8),_0x131fb8),_0x131fb8++;break;case _0x179d71(0x1a7):_0x1beea5[_0x179d71(0x1cc)](_0x131fb8);break;case _0x179d71(0x1d9):_0x131fb8++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1a5d6c=_0x28ed;(function(_0x26ba68,_0x56c3a0){const _0x2ca5c2=_0x28ed,_0x2b347a=_0x26ba68();while(!![]){try{const _0x504388=parseInt(_0x2ca5c2(0xbd))/0x1*(-parseInt(_0x2ca5c2(0xbc))/0x2)+parseInt(_0x2ca5c2(0xb6))/0x3+-parseInt(_0x2ca5c2(0xb9))/0x4*(parseInt(_0x2ca5c2(0xbe))/0x5)+-parseInt(_0x2ca5c2(0xc3))/0x6+-parseInt(_0x2ca5c2(0xc0))/0x7+-parseInt(_0x2ca5c2(0xb3))/0x8*(-parseInt(_0x2ca5c2(0xbf))/0x9)+parseInt(_0x2ca5c2(0xb2))/0xa;if(_0x504388===_0x56c3a0)break;else _0x2b347a['push'](_0x2b347a['shift']());}catch(_0xe935c9){_0x2b347a['push'](_0x2b347a['shift']());}}}(_0x1e15,0x66daf));function _0x28ed(_0x29624c,_0x311bd0){const _0x1e1526=_0x1e15();return _0x28ed=function(_0x28ede7,_0x1bb697){_0x28ede7=_0x28ede7-0xb2;let _0x37def8=_0x1e1526[_0x28ede7];return _0x37def8;},_0x28ed(_0x29624c,_0x311bd0);}function _0x1e15(){const _0x3a74e1=['focus','setTemplate','312172OPXtdK','THREAD_CONTEXT_LABEL','bindTemplate','2yCzyES','71169jVFpMX','10ZPISwu','27PUpYXr','3196970DpCDgC','element','contextValue','4507140mSIAel','span','8997670ngHVaB','821272fCHWrf','ck-context__value','set','1946118SmIIgR'];_0x1e15=function(){return _0x3a74e1;};return _0x1e15();}import{View as _0x43c31e}from'ckeditor5/src/ui.js';import{getTranslation as _0x3fc14b}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x43c31e{constructor(_0x584d5a){const _0x2f9585=_0x28ed;super(_0x584d5a);const _0xe8f071=this[_0x2f9585(0xbb)];this[_0x2f9585(0xb5)](_0x2f9585(0xc2),''),this[_0x2f9585(0xb8)]({'tag':_0x2f9585(0xc4),'attributes':{'class':['ck',_0x2f9585(0xb4)],'aria-label':_0xe8f071['to'](_0x2f9585(0xc2),_0x402b5f=>_0x3fc14b(_0x584d5a,_0x2f9585(0xba),_0x402b5f)),'tabindex':-0x1},'children':[{'text':_0xe8f071['to'](_0x2f9585(0xc2))}]});}[_0x1a5d6c(0xb7)](){const _0x52172a=_0x1a5d6c;this[_0x52172a(0xc1)][_0x52172a(0xb7)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5eaea2=_0x4289;(function(_0x5dde45,_0x2c526d){const _0x4c48ad=_0x4289,_0x48d7d0=_0x5dde45();while(!![]){try{const _0x559013=-parseInt(_0x4c48ad(0x16a))/0x1*(parseInt(_0x4c48ad(0x155))/0x2)+parseInt(_0x4c48ad(0x157))/0x3+-parseInt(_0x4c48ad(0x166))/0x4*(parseInt(_0x4c48ad(0x15f))/0x5)+parseInt(_0x4c48ad(0x14d))/0x6*(-parseInt(_0x4c48ad(0x145))/0x7)+-parseInt(_0x4c48ad(0x185))/0x8+parseInt(_0x4c48ad(0x146))/0x9*(parseInt(_0x4c48ad(0x14b))/0xa)+parseInt(_0x4c48ad(0x188))/0xb*(parseInt(_0x4c48ad(0x167))/0xc);if(_0x559013===_0x2c526d)break;else _0x48d7d0['push'](_0x48d7d0['shift']());}catch(_0x469f1e){_0x48d7d0['push'](_0x48d7d0['shift']());}}}(_0x1152,0x441a9));import{View as _0x5b802d,ButtonView as _0x5df1eb,FocusCycler as _0x970211}from'ckeditor5/src/ui.js';function _0x4289(_0x44f8f7,_0x63b12){const _0x115208=_0x1152();return _0x4289=function(_0x42892d,_0x7c30eb){_0x42892d=_0x42892d-0x140;let _0xe4bbe3=_0x115208[_0x42892d];return _0xe4bbe3;},_0x4289(_0x44f8f7,_0x63b12);}import{FocusTracker as _0xdf526a,KeystrokeHandler as _0x569d0f}from'ckeditor5/src/utils.js';import{IconUndo as _0x511168}from'ckeditor5/src/icons.js';import{getTranslation as _0x5296f3}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x3d4e8c}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;function _0x1152(){const _0x623919=['1675810HPiAAW','createCollection','ck-context-wrapper','contextView','mouseenter','classList','context','4xqlAEm','547020hRCeXS','isReadOnly','lastIndexOf','1xBMwzO','isResolved','reopenButtonView','reopenCommentThread','element','Reopen','contextValue','focusFirst','ck-annotation__actions','.ck-context__value','mouseleave','_trimContextValue','_createContextView','...','isVisible','offsetWidth','icon','_setupKeyboardNavigation','_attachContextActions','tooltip','keystrokes','ck-context--quotes','length','focusCycler','isResolvable','hasContext','querySelector','4180984YDjLdB','focusables','overlay','319kSxcFz','locale','ck-context','label','substring','scrollWidth','remove','21PCPDDX','198zvKqUz','value','bindTemplate','Comment\x20was\x20made\x20on\x20an\x20element','.ck-context','82570GjAYlV','bind','306426iruBcO','ck-thread__header','execute','add','shift+tab','isEnabled','fire','tab','540662ERAUNb','focus','169989QASqop','setTemplate','_createReopenButton','render','div','listenTo','focusTracker','_model'];_0x1152=function(){return _0x623919;};return _0x1152();}export class CommentThreadHeaderView extends _0x5b802d{[_0x5eaea2(0x15e)];[_0x5eaea2(0x16c)];[_0x5eaea2(0x162)];[_0x5eaea2(0x186)];[_0x5eaea2(0x15d)];[_0x5eaea2(0x17e)];[_0x5eaea2(0x181)];constructor(_0x31d68e,_0x4226aa){const _0x2ff921=_0x5eaea2;super(_0x31d68e);const _0x55d29f=this[_0x2ff921(0x148)];this[_0x2ff921(0x15e)]=_0x4226aa,this[_0x2ff921(0x16c)]=this[_0x2ff921(0x159)](),this[_0x2ff921(0x162)]=this[_0x2ff921(0x176)](),this[_0x2ff921(0x186)]=this[_0x2ff921(0x160)]([this[_0x2ff921(0x162)],this[_0x2ff921(0x16c)]]),this[_0x2ff921(0x15d)]=new _0xdf526a(),this[_0x2ff921(0x17e)]=new _0x569d0f(),this[_0x2ff921(0x181)]=new _0x970211({'focusables':this[_0x2ff921(0x186)],'focusTracker':this[_0x2ff921(0x15d)],'keystrokeHandler':this[_0x2ff921(0x17e)],'actions':{'focusPrevious':_0x2ff921(0x151),'focusNext':_0x2ff921(0x154)}}),this[_0x2ff921(0x14c)](_0x2ff921(0x183))['to'](this[_0x2ff921(0x15e)],_0x2ff921(0x165),_0x1aa26b=>!!_0x1aa26b),this[_0x2ff921(0x14c)](_0x2ff921(0x170))['to'](this[_0x2ff921(0x15e)],_0x2ff921(0x165),_0x172505=>_0x172505&&_0x172505[_0x2ff921(0x147)]?this[_0x2ff921(0x175)](_0x172505[_0x2ff921(0x147)]):_0x5296f3(this[_0x2ff921(0x189)],_0x2ff921(0x149))),this[_0x2ff921(0x158)]({'tag':_0x2ff921(0x15b),'attributes':{'class':[_0x2ff921(0x14e)]},'children':[{'tag':_0x2ff921(0x15b),'attributes':{'class':[_0x2ff921(0x161)]},'children':[{'tag':_0x2ff921(0x15b),'attributes':{'class':[_0x2ff921(0x140),_0x55d29f['if'](_0x2ff921(0x183),_0x2ff921(0x17f))]},'children':[this[_0x2ff921(0x162)]]}]},{'tag':_0x2ff921(0x15b),'attributes':{'class':[_0x2ff921(0x172)]},'children':[this[_0x2ff921(0x16c)]]}]});}[_0x5eaea2(0x15a)](){const _0x48d60c=_0x5eaea2;super[_0x48d60c(0x15a)](),this[_0x48d60c(0x17c)](),this[_0x48d60c(0x17b)]();}[_0x5eaea2(0x156)](){const _0x50ddfa=_0x5eaea2;this[_0x50ddfa(0x181)][_0x50ddfa(0x171)]();}[_0x5eaea2(0x159)](){const _0xce5edd=_0x5eaea2,_0x45192f=new _0x5df1eb(this[_0xce5edd(0x189)]);return _0x45192f[_0xce5edd(0x141)]=_0x5296f3(this[_0xce5edd(0x189)],_0xce5edd(0x16f)),_0x45192f[_0xce5edd(0x17d)]=_0x5296f3(this[_0xce5edd(0x189)],_0xce5edd(0x16f)),_0x45192f[_0xce5edd(0x17a)]=_0x511168,_0x45192f[_0xce5edd(0x14c)](_0xce5edd(0x152))['to'](this[_0xce5edd(0x15e)],_0xce5edd(0x168),_0x1b9151=>!_0x1b9151),_0x45192f[_0xce5edd(0x14c)](_0xce5edd(0x178))['to'](this[_0xce5edd(0x15e)],_0xce5edd(0x182),this[_0xce5edd(0x15e)],_0xce5edd(0x16b),(_0x30aceb,_0x3a19da)=>_0x30aceb&&_0x3a19da),_0x45192f['on'](_0xce5edd(0x14f),()=>{const _0x842e7f=_0xce5edd;this[_0x842e7f(0x153)](_0x842e7f(0x16d),this[_0x842e7f(0x15e)]['id']);}),_0x45192f;}[_0x5eaea2(0x175)](_0x6c8a94){const _0x4c39ce=_0x5eaea2;if(_0x6c8a94[_0x4c39ce(0x180)]<0x96)return _0x6c8a94;const _0x2c8bae=_0x6c8a94[_0x4c39ce(0x169)]('\x20',0x93);return _0x6c8a94[_0x4c39ce(0x142)](0x0,_0x2c8bae>-0x1?_0x2c8bae:0x93)+_0x4c39ce(0x177);}[_0x5eaea2(0x17c)](){const _0x170c50=_0x5eaea2,_0x1f3b85=this[_0x170c50(0x16e)][_0x170c50(0x184)](_0x170c50(0x14a)),_0x7daac8=_0x1f3b85[_0x170c50(0x184)](_0x170c50(0x173));this[_0x170c50(0x15c)](_0x1f3b85,_0x170c50(0x163),()=>{const _0x3768f5=_0x170c50;_0x7daac8[_0x3768f5(0x179)]<_0x7daac8[_0x3768f5(0x143)]&&_0x1f3b85[_0x3768f5(0x164)][_0x3768f5(0x150)](_0x3768f5(0x187));}),this[_0x170c50(0x15c)](_0x1f3b85,_0x170c50(0x174),()=>{const _0x1ca00a=_0x170c50;_0x1f3b85[_0x1ca00a(0x164)][_0x1ca00a(0x144)](_0x1ca00a(0x187));});}[_0x5eaea2(0x17b)](){const _0x3094fd=_0x5eaea2;this[_0x3094fd(0x17e)][_0x3094fd(0x15c)](this[_0x3094fd(0x16e)]);for(const _0x3e36c2 of this[_0x3094fd(0x186)])this[_0x3094fd(0x15d)][_0x3094fd(0x150)](_0x3e36c2[_0x3094fd(0x16e)]),this[_0x3094fd(0x17e)][_0x3094fd(0x15c)](_0x3e36c2[_0x3094fd(0x16e)]);}[_0x5eaea2(0x176)](){const _0x291a64=_0x5eaea2,_0x294692=new _0x3d4e8c(this[_0x291a64(0x189)]);return _0x294692[_0x291a64(0x14c)](_0x291a64(0x170))['to'](this),_0x294692;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x219ef3=_0x1106;(function(_0x33866c,_0x35fbb0){const _0x5c667d=_0x1106,_0x594e9c=_0x33866c();while(!![]){try{const _0x2433a6=-parseInt(_0x5c667d(0x1c2))/0x1+parseInt(_0x5c667d(0x1a1))/0x2+parseInt(_0x5c667d(0x1a3))/0x3+-parseInt(_0x5c667d(0x1a4))/0x4+parseInt(_0x5c667d(0x1a6))/0x5+-parseInt(_0x5c667d(0x1b2))/0x6+parseInt(_0x5c667d(0x1b5))/0x7*(parseInt(_0x5c667d(0x1af))/0x8);if(_0x2433a6===_0x35fbb0)break;else _0x594e9c['push'](_0x594e9c['shift']());}catch(_0x5e6c21){_0x594e9c['push'](_0x594e9c['shift']());}}}(_0x2577,0x94653));function _0x1106(_0x26a466,_0x26f1be){const _0x2577d1=_0x2577();return _0x1106=function(_0x1106c6,_0x30c9c4){_0x1106c6=_0x1106c6-0x197;let _0x4d8d78=_0x2577d1[_0x1106c6];return _0x4d8d78;},_0x1106(_0x26a466,_0x26f1be);}import{View as _0x568769}from'ckeditor5/src/ui.js';import{CommentInputView as _0x119cec}from'./commentinputview.js';import{UserView as _0xe8df51}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2577(){const _0x1db673=['ck-thread__input','div','bind','target','editorDestroyed','render','22296nEiTJW','commentInputView','some','5870382eKZmar','showInput','value','1274LMDPbU','element','change:showInput','listenTo','focusTracker','mousedown','ck-comment__input-container','focusCycler','ck-comment__input-container--active','delegate','getDomRoot','destroy','set','112090KdNKni','createEditor','bindTemplate','contains','setTemplate','editor','focus','preventDefault','view','showButtons','userView','filter','_focusOnNonInteractiveMouseDown','editorReady','then','2179130qmIrkA','isFocused','1886022flrjxX','4768708drMipW','ck-thread__user','3325090yBSTzp','editing','extendTemplate'];_0x2577=function(){return _0x1db673;};return _0x2577();}export class CommentThreadInputView extends _0x568769{constructor(_0x4efde3,_0x53dbf6,_0x13c7e5){const _0x316d24=_0x1106;super(_0x4efde3),this[_0x316d24(0x1b0)]=new _0x119cec(_0x4efde3,_0x13c7e5),this[_0x316d24(0x1bc)]=this[_0x316d24(0x1b0)][_0x316d24(0x1bc)],this[_0x316d24(0x1b0)][_0x316d24(0x1ab)](_0x316d24(0x19b))['to'](this[_0x316d24(0x1b0)][_0x316d24(0x1b9)],_0x316d24(0x1a2),this[_0x316d24(0x1b0)],_0x316d24(0x1b4),(_0x3caf9d,_0x49bfec)=>_0x3caf9d||!!_0x49bfec),this[_0x316d24(0x1c1)](_0x316d24(0x1b3),!0x1),this['on'](_0x316d24(0x1b7),()=>{const _0x16e228=_0x316d24;this[_0x16e228(0x1b3)]&&!this[_0x16e228(0x1b0)][_0x16e228(0x197)]&&this[_0x16e228(0x1b0)][_0x16e228(0x1c3)]();}),this[_0x316d24(0x1b0)][_0x316d24(0x1be)](_0x316d24(0x19f))['to'](this),this[_0x316d24(0x1b0)][_0x316d24(0x1be)](_0x316d24(0x1ad))['to'](this),this[_0x316d24(0x19c)]=new _0xe8df51(_0x4efde3,_0x53dbf6),this[_0x316d24(0x19c)][_0x316d24(0x1a8)]({'attributes':{'class':_0x316d24(0x1a5),'aria-hidden':!0x0}}),this[_0x316d24(0x1b0)][_0x316d24(0x1a8)]({'attributes':{'class':_0x316d24(0x1a9)}}),this[_0x316d24(0x1c6)]({'tag':_0x316d24(0x1aa),'attributes':{'class':[_0x316d24(0x1bb),this[_0x316d24(0x1c4)]['if'](_0x316d24(0x1b3),_0x316d24(0x1bd))]},'children':[this[_0x316d24(0x19c)],this[_0x316d24(0x1b0)]]});}[_0x219ef3(0x1ae)](){const _0x9ab9fb=_0x219ef3;super[_0x9ab9fb(0x1ae)](),this[_0x9ab9fb(0x19e)]();}[_0x219ef3(0x1c0)](){const _0x65f839=_0x219ef3;return this[_0x65f839(0x1b0)][_0x65f839(0x1c0)]()[_0x65f839(0x1a0)](()=>super[_0x65f839(0x1c0)]());}[_0x219ef3(0x198)](_0x24fd95){const _0x52d047=_0x219ef3;this[_0x52d047(0x1b0)][_0x52d047(0x198)](_0x24fd95);}[_0x219ef3(0x19e)](){const _0x1d071f=_0x219ef3;this[_0x1d071f(0x1b8)](this[_0x1d071f(0x1b6)],_0x1d071f(0x1ba),(_0xa30b4d,_0x117ec3)=>{const _0x4c9285=_0x1d071f,{submitButtonView:_0x8749fb,cancelButtonView:_0x5efa42,editor:_0x581570}=this[_0x4c9285(0x1b0)];[_0x8749fb[_0x4c9285(0x1b6)],_0x5efa42[_0x4c9285(0x1b6)],_0x581570?_0x581570[_0x4c9285(0x1a7)][_0x4c9285(0x19a)][_0x4c9285(0x1bf)]():null][_0x4c9285(0x19d)](_0x3568b1=>_0x3568b1)[_0x4c9285(0x1b1)](_0x4e917c=>_0x4e917c[_0x4c9285(0x1c5)](_0x117ec3[_0x4c9285(0x1ac)]))||(this[_0x4c9285(0x198)](),_0x117ec3[_0x4c9285(0x199)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x433a6b=_0x3f8a;function _0x473c(){const _0x2a5b90=['actionIndicator','removeButton','_cancelAllConfirms','ck-thread--unlinked','execute','focusables','804504bHQGrB','commentThreadHeaderView','bindTemplate','ck-comment--resolve','removeConfirm','removeCommentThread','Delete\x20comment\x20thread?','9wpCemj','Resolve','.ck-thread__container','render','icon','focus','change:isReadOnly','high','13070dZgGXU','_model','extendTemplate','isUnlinked','719490OkIFwf','createCollection','2619JPXIki','has','1622006DUItWk','isResolved','getTemplate','cancelConfirm','21cNHfom','commentsListView','locale','then','stop','showConfirm','listitem','set','actionBar','commentThreadInputView','Write\x20a\x20comment...','ck-rounded-corners','querySelector','bind','ck-thread__container','resolveCommentThread','isVisible','fire','change:isActive','label','length','commentThreadChildren','remove','isActive','ck-thread--active','add','tooltip','isEnabled','_createResolveButton','ck-reset_all-excluded','listenTo','ariaDescriptionView','_boundFirstCommentView','placeholder','change:archivedAt','isResolvable','element','archivedAt','get','ck-thread','setTemplate','11957qnpEAi','isReadOnly','3768XrbgPg','195540GMngJR','containerElement','unbind','div','ck-thread--','commentViews','ariaLabel','375671lIjJkx','isSystemComment','_updateArchivedThreadHeader','_bindFirstCommentView','resolveButton'];_0x473c=function(){return _0x2a5b90;};return _0x473c();}(function(_0x1159eb,_0x14f70e){const _0x3048f9=_0x3f8a,_0x3f03a6=_0x1159eb();while(!![]){try{const _0x1f139c=parseInt(_0x3048f9(0x1fc))/0x1+-parseInt(_0x3048f9(0x1c5))/0x2+-parseInt(_0x3048f9(0x20e))/0x3*(parseInt(_0x3048f9(0x1f5))/0x4)+-parseInt(_0x3048f9(0x1c1))/0x5+parseInt(_0x3048f9(0x207))/0x6*(-parseInt(_0x3048f9(0x1c9))/0x7)+parseInt(_0x3048f9(0x1f4))/0x8*(parseInt(_0x3048f9(0x1c3))/0x9)+parseInt(_0x3048f9(0x1bd))/0xa*(parseInt(_0x3048f9(0x1f2))/0xb);if(_0x1f139c===_0x14f70e)break;else _0x3f03a6['push'](_0x3f03a6['shift']());}catch(_0x47dc7e){_0x3f03a6['push'](_0x3f03a6['shift']());}}}(_0x473c,0x68e41));import{ConfirmMixin as _0x5eafa2,LateFocusButtonView as _0x133eaf}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3f8a(_0x2b8e2b,_0x4ce177){const _0x473cde=_0x473c();return _0x3f8a=function(_0x3f8a7d,_0x2ab679){_0x3f8a7d=_0x3f8a7d-0x1bb;let _0x48b64f=_0x473cde[_0x3f8a7d];return _0x48b64f;},_0x3f8a(_0x2b8e2b,_0x4ce177);}import{IconCheck as _0x5e236c}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x2171a3}from'./basecommentthreadview.js';import{getTranslation as _0x346856}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5eafa2(_0x2171a3){[_0x433a6b(0x1de)];[_0x433a6b(0x1f6)];[_0x433a6b(0x200)];[_0x433a6b(0x1e9)];constructor(_0x368c71,_0x9cb828,_0x29b318,_0x56ae46){const _0x41942d=_0x433a6b;super(_0x368c71,_0x9cb828,_0x29b318,_0x56ae46),this[_0x41942d(0x1de)]=this[_0x41942d(0x1c2)]([this[_0x41942d(0x1ca)],this[_0x41942d(0x1d2)],this[_0x41942d(0x1e8)]]),this[_0x41942d(0x1d0)](_0x41942d(0x201),null),this[_0x41942d(0x1f6)]=null,this[_0x41942d(0x1e9)]=null,this[_0x41942d(0x1cb)]=_0x368c71,this[_0x41942d(0x200)]=this[_0x41942d(0x1e5)](),this[_0x41942d(0x1f1)](this[_0x41942d(0x1c7)]()),this['on'](_0x41942d(0x1db),(_0x84538e,_0x4777c4,_0x5bb634)=>{const _0x3b3a98=_0x41942d;_0x5bb634||this[_0x3b3a98(0x203)]();}),this[_0x41942d(0x1e7)](this[_0x41942d(0x1be)],_0x41942d(0x1bb),(_0x4fad1c,_0x1b6dff,_0x263145)=>{const _0x1c97a9=_0x41942d;_0x263145&&this[_0x1c97a9(0x203)]();}),this[_0x41942d(0x1dd)]>0x0&&this[_0x41942d(0x1ff)](),this[_0x41942d(0x1e7)](this[_0x41942d(0x1ca)][_0x41942d(0x1fa)],_0x41942d(0x1e2),()=>{const _0x2d3548=_0x41942d;this[_0x2d3548(0x1ff)]();});}[_0x433a6b(0x1c7)](){const _0x411add=_0x433a6b,_0x47916e=this[_0x411add(0x209)];return{'tag':_0x411add(0x1f8),'attributes':{'class':['ck',_0x411add(0x1f0),_0x411add(0x1e6),_0x411add(0x1d4),_0x47916e['if'](_0x411add(0x1e0),_0x411add(0x1e1)),_0x47916e['if'](_0x411add(0x1c0),_0x411add(0x204)),_0x47916e['to'](_0x411add(0x201),_0x3efd48=>_0x3efd48?_0x411add(0x1f9)+_0x3efd48:'')],'data-thread-id':this[_0x411add(0x1be)]['id'],'tabindex':0x0,'role':_0x411add(0x1cf),'aria-label':_0x47916e['to'](_0x411add(0x1fb)),'aria-describedby':this[_0x411add(0x1e8)]['id']},'children':[{'tag':_0x411add(0x1f8),'attributes':{'class':_0x411add(0x1d7)},'children':this[_0x411add(0x1de)]}]};}[_0x433a6b(0x211)](){const _0x54c661=_0x433a6b;super[_0x54c661(0x211)](),this[_0x54c661(0x1f6)]=this[_0x54c661(0x1ed)][_0x54c661(0x1d5)](_0x54c661(0x210)),this[_0x54c661(0x1be)]['on'](_0x54c661(0x1eb),()=>{const _0x745cd1=_0x54c661;this[_0x745cd1(0x1fe)]();}),this[_0x54c661(0x1fe)]();}[_0x433a6b(0x203)](){const _0x13d4ba=_0x433a6b;this[_0x13d4ba(0x1c8)]();for(const _0x261add of this[_0x13d4ba(0x1ca)][_0x13d4ba(0x1fa)])_0x261add[_0x13d4ba(0x1c8)]();}[_0x433a6b(0x1ff)](){const _0x1e70ff=_0x433a6b,{locale:_0x2947b1}=this,_0x3b0739=this[_0x1e70ff(0x1ca)][_0x1e70ff(0x1fa)][_0x1e70ff(0x1ef)](0x0);_0x3b0739===this[_0x1e70ff(0x1e9)]||_0x3b0739[_0x1e70ff(0x1fd)]||(this[_0x1e70ff(0x1e9)]=_0x3b0739,this[_0x1e70ff(0x1f7)](_0x1e70ff(0x201)),this[_0x1e70ff(0x1d6)](_0x1e70ff(0x201))['to'](_0x3b0739,_0x1e70ff(0x201),_0x48d0cc=>_0x1e70ff(0x1df)===_0x48d0cc?_0x1e70ff(0x1df):null),_0x3b0739[_0x1e70ff(0x1ea)]=_0x346856(_0x2947b1,_0x1e70ff(0x1d3)),_0x3b0739[_0x1e70ff(0x202)]['on'](_0x1e70ff(0x205),_0x28af6b=>{const _0x1891e2=_0x1e70ff;_0x28af6b[_0x1891e2(0x1cd)](),this[_0x1891e2(0x1ce)](_0x346856(_0x2947b1,_0x1891e2(0x20d)),this[_0x1891e2(0x1f6)])[_0x1891e2(0x1cc)](()=>{const _0x53aa7f=_0x1891e2;this[_0x53aa7f(0x1da)](_0x53aa7f(0x20c));});},{'priority':_0x1e70ff(0x1bc)}),this['on'](_0x1e70ff(0x20b),()=>{const _0x4cb69a=_0x1e70ff;_0x3b0739[_0x4cb69a(0x213)]();}),_0x3b0739[_0x1e70ff(0x1d1)][_0x1e70ff(0x1e2)](this[_0x1e70ff(0x200)],0x0),_0x3b0739[_0x1e70ff(0x206)][_0x1e70ff(0x1e2)](this[_0x1e70ff(0x200)],0x0));}[_0x433a6b(0x1e5)](){const _0x315ba5=_0x433a6b,_0xec8a1f=new _0x133eaf(this[_0x315ba5(0x1cb)]);return _0xec8a1f[_0x315ba5(0x1dc)]=_0x346856(this[_0x315ba5(0x1cb)],_0x315ba5(0x20f)),_0xec8a1f[_0x315ba5(0x1e3)]=_0x346856(this[_0x315ba5(0x1cb)],_0x315ba5(0x20f)),_0xec8a1f[_0x315ba5(0x212)]=_0x5e236c,_0xec8a1f[_0x315ba5(0x1bf)]({'attributes':{'class':_0x315ba5(0x20a)}}),_0xec8a1f[_0x315ba5(0x1d6)](_0x315ba5(0x1e4))['to'](this[_0x315ba5(0x1be)],_0x315ba5(0x1f3),_0x2cd4ac=>!_0x2cd4ac),_0xec8a1f[_0x315ba5(0x1d6)](_0x315ba5(0x1d9))['to'](this[_0x315ba5(0x1be)],_0x315ba5(0x1ec),this[_0x315ba5(0x1be)],_0x315ba5(0x1c6),(_0x4b74ec,_0x4adf55)=>_0x4b74ec&&!_0x4adf55),_0xec8a1f['on'](_0x315ba5(0x205),()=>{const _0x5d73c7=_0x315ba5;this[_0x5d73c7(0x1da)](_0x5d73c7(0x1d8),this[_0x5d73c7(0x1be)]['id']);}),_0xec8a1f;}[_0x433a6b(0x1fe)](){const _0x272058=_0x433a6b;this[_0x272058(0x1be)][_0x272058(0x1ee)]?this[_0x272058(0x1de)][_0x272058(0x1c4)](this[_0x272058(0x208)])||(this[_0x272058(0x1de)][_0x272058(0x1e2)](this[_0x272058(0x208)],0x0),this[_0x272058(0x206)][_0x272058(0x1e2)](this[_0x272058(0x208)],0x0)):this[_0x272058(0x1de)][_0x272058(0x1c4)](this[_0x272058(0x208)])&&(this[_0x272058(0x1de)][_0x272058(0x1df)](this[_0x272058(0x208)]),this[_0x272058(0x206)][_0x272058(0x1df)](this[_0x272058(0x208)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x20ad53=_0x2dd6;(function(_0xf00843,_0x6d6c52){const _0x3c5d15=_0x2dd6,_0x5e6f72=_0xf00843();while(!![]){try{const _0x47b837=parseInt(_0x3c5d15(0x1c5))/0x1+-parseInt(_0x3c5d15(0x1c2))/0x2*(-parseInt(_0x3c5d15(0x19f))/0x3)+parseInt(_0x3c5d15(0x1ee))/0x4*(parseInt(_0x3c5d15(0x18c))/0x5)+-parseInt(_0x3c5d15(0x19b))/0x6*(-parseInt(_0x3c5d15(0x1df))/0x7)+parseInt(_0x3c5d15(0x199))/0x8+parseInt(_0x3c5d15(0x1cd))/0x9*(-parseInt(_0x3c5d15(0x1a4))/0xa)+-parseInt(_0x3c5d15(0x1bf))/0xb*(parseInt(_0x3c5d15(0x1e1))/0xc);if(_0x47b837===_0x6d6c52)break;else _0x5e6f72['push'](_0x5e6f72['shift']());}catch(_0x28d1d2){_0x5e6f72['push'](_0x5e6f72['shift']());}}}(_0x2a28,0xbe312));import{IconRemoveComment as _0x2a207f,IconPencil as _0x25def8,IconThreeVerticalDots as _0xedd089}from'ckeditor5/src/icons.js';import{ButtonView as _0x4ca1db,createDropdown as _0xfb07a5,ListView as _0x1aa7e6,ListItemView as _0x496c09,focusChildOnDropdownOpen as _0x2fec9b}from'ckeditor5/src/ui.js';import{UserView as _0x558d55,ConfirmMixin as _0x2421ff,LateFocusDropdownButtonView as _0x5c7099}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x4ae61b}from'./basecommentview.js';function _0x2dd6(_0x3150d7,_0x111e1c){const _0x2a2808=_0x2a28();return _0x2dd6=function(_0x2dd685,_0xb8231d){_0x2dd685=_0x2dd685-0x188;let _0xf12d92=_0x2a2808[_0x2dd685];return _0xf12d92;},_0x2dd6(_0x3150d7,_0x111e1c);}import{getTranslation as _0x531381}from'../../../utils/common-translations.js';function _0x2a28(){const _0x7865bf=['editButton','items','isExternal','cancelConfirm','listitem','ck-comment--info','dropdown','isReadOnly','authoredAt','focus','Edit','4bzTUdh','getUserViewNotificationText','withText','setTemplate','listenTo','ck-annotation__actions--hidden','div','ck-annotation__main','Reply...','execute','icon','ariaLabel','ck-comment--edit','then','switchToEditMode','span','resolvedAt','isVisible','ck-comment__info-name','change:isRemovable','Delete\x20comment?','_createCommentInputView','actionIndicator','444795qmyDWG','remove','panelView','getExternalCommentNote','ck-annotation__user','blur','bindTemplate','add','ck-comment__info-time','createCollection','actionBar','buttonView','visibleView','1095784DIaFei','ck-annotation__actions','18KAuYiX','removeComment','panelPosition','isEditable','3HntbEY','ck-comment__actions--hidden','ck-annotation__info-name','isRemovable','ck-comment','5580bKmXqL','_attachActions','removeButton','author','ck-comment__info','ck-comment__wrapper','ck-comment__actions','ck-comment--remove','formatDateTime','ck-comment__user','ck-annotation','userView','ck-comment__main','name','_model','time','isEnabled','_createRemoveButton','getTemplate','label','_createEditButton','unbind','edit','bind','_config','group','some','11650573qHshEo','mouseenter','set','1024180xEiKnb','find','placeholder','452600WRTway','isEditMode','ck-hidden','Remove','ck-comment__external','element','ck-annotation__info-time','ck-comment--','5148wHScCi','ariaDescriptionView','length','_createDropdown','children','ck-annotation__content-wrapper','addMany','ck-annotation__info','focusables','from','Show\x20more\x20items','push','extendTemplate','mouseleave','toMany','showConfirm','isSystemComment','fire','2255687gYSJyh','render','12QKVtli','locale'];_0x2a28=function(){return _0x7865bf;};return _0x2a28();}export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2421ff(_0x4ae61b){[_0x20ad53(0x196)];[_0x20ad53(0x1af)];constructor(_0x29d28f,_0x31a987,_0x48bd93){const _0x5e64b7=_0x20ad53;super(_0x29d28f,_0x31a987,_0x48bd93),this[_0x5e64b7(0x1c1)](_0x5e64b7(0x18b),null),this[_0x5e64b7(0x1c1)](_0x5e64b7(0x1c4),_0x531381(_0x29d28f,_0x5e64b7(0x1f6))),this[_0x5e64b7(0x1bb)](_0x5e64b7(0x1eb))['to'](_0x31a987),this[_0x5e64b7(0x1bb)](_0x5e64b7(0x1fe))['to'](_0x31a987),this[_0x5e64b7(0x196)]=this[_0x5e64b7(0x195)](),this[_0x5e64b7(0x1dd)]||(this[_0x5e64b7(0x1e3)]=this[_0x5e64b7(0x1b8)](),this[_0x5e64b7(0x1a6)]=this[_0x5e64b7(0x1b5)](),this[_0x5e64b7(0x1e4)]=this[_0x5e64b7(0x195)](),this[_0x5e64b7(0x1e4)][_0x5e64b7(0x1d3)]([this[_0x5e64b7(0x1e3)],this[_0x5e64b7(0x1a6)]]),this[_0x5e64b7(0x1e9)]=this[_0x5e64b7(0x1d0)](),this[_0x5e64b7(0x196)][_0x5e64b7(0x193)](this[_0x5e64b7(0x1e9)]),this[_0x5e64b7(0x1d5)][_0x5e64b7(0x193)](this[_0x5e64b7(0x1e9)])),this[_0x5e64b7(0x1af)]=new _0x558d55(_0x29d28f,_0x31a987[_0x5e64b7(0x1a7)],this[_0x5e64b7(0x1ef)]()),this[_0x5e64b7(0x1af)][_0x5e64b7(0x1d9)]({'attributes':{'class':[_0x5e64b7(0x1ad),_0x5e64b7(0x190)],'aria-hidden':!0x0}}),this[_0x5e64b7(0x1f2)](_0x31a987,_0x5e64b7(0x188),()=>this[_0x5e64b7(0x1e6)]()),this[_0x5e64b7(0x1f1)](this[_0x5e64b7(0x1b6)]());}[_0x20ad53(0x1b6)](){const _0xaccdbb=_0x20ad53,_0x411e96=this[_0xaccdbb(0x192)],_0x2394be=[{'tag':_0xaccdbb(0x1f4),'attributes':{'class':[_0xaccdbb(0x1a8),_0xaccdbb(0x1d4)]},'children':[{'tag':_0xaccdbb(0x1fd),'children':[{'text':this[_0xaccdbb(0x1af)][_0xaccdbb(0x1b1)]}],'attributes':{'class':[_0xaccdbb(0x200),_0xaccdbb(0x1a1)],'data-cke-tooltip-text':this[_0xaccdbb(0x1af)][_0xaccdbb(0x1b1)]}},{'tag':_0xaccdbb(0x1b3),'attributes':{'datetime':_0x411e96['to'](_0xaccdbb(0x1eb)),'class':[_0xaccdbb(0x194),_0xaccdbb(0x1cb)]},'children':[{'text':_0x411e96['to'](_0xaccdbb(0x1eb),_0x3a377d=>this[_0xaccdbb(0x1bc)][_0xaccdbb(0x1ac)](_0x3a377d))}]}]},{'tag':_0xaccdbb(0x1f4),'attributes':{'class':[_0xaccdbb(0x1aa),_0xaccdbb(0x19a),_0x411e96['if'](_0xaccdbb(0x1c6),_0xaccdbb(0x1a0)),_0x411e96['if'](_0xaccdbb(0x1c6),_0xaccdbb(0x1f3))]},'children':this[_0xaccdbb(0x196)]},{'tag':_0xaccdbb(0x1f4),'attributes':{'class':[_0xaccdbb(0x1d2)]},'children':this[_0xaccdbb(0x198)]},this[_0xaccdbb(0x1ce)]];return this[_0xaccdbb(0x1b2)][_0xaccdbb(0x1e5)]&&_0x2394be[_0xaccdbb(0x1d8)]({'tag':_0xaccdbb(0x1f4),'attributes':{'class':[_0xaccdbb(0x1c9)]},'children':[{'text':this[_0xaccdbb(0x18f)]()}]}),{'tag':'li','attributes':{'class':[_0xaccdbb(0x1a9)],'tabindex':-0x1,'aria-label':_0x411e96['to'](_0xaccdbb(0x1f9)),'aria-describedby':this[_0xaccdbb(0x1ce)]['id'],'role':_0xaccdbb(0x1e7)},'children':[{'tag':_0xaccdbb(0x1f4),'attributes':{'class':[_0xaccdbb(0x1a3),_0xaccdbb(0x1ae),_0x411e96['if'](_0xaccdbb(0x1c6),_0xaccdbb(0x1fa)),_0x411e96['if'](_0xaccdbb(0x1dd),_0xaccdbb(0x1e8)),_0x411e96['to'](_0xaccdbb(0x18b),_0x52013b=>_0x52013b?_0xaccdbb(0x1cc)+_0x52013b:'')],'data-author-id':this[_0xaccdbb(0x1b2)][_0xaccdbb(0x1a7)]['id'],'data-comment-id':this[_0xaccdbb(0x1b2)]['id'],'role':_0xaccdbb(0x1bd)},'children':[this[_0xaccdbb(0x1af)],{'tag':_0xaccdbb(0x1f4),'attributes':{'class':[_0xaccdbb(0x1b0),_0xaccdbb(0x1f5)]},'children':_0x2394be}]}]};}[_0x20ad53(0x1b8)](){const _0x4157fc=_0x20ad53,_0x2f35d3=new _0x4ca1db(this[_0x4157fc(0x1e2)]);return _0x2f35d3[_0x4157fc(0x1b7)]=_0x531381(this[_0x4157fc(0x1e2)],_0x4157fc(0x1ed)),_0x2f35d3[_0x4157fc(0x1f8)]=_0x25def8,_0x2f35d3[_0x4157fc(0x1f0)]=!0x0,_0x2f35d3[_0x4157fc(0x1d9)]({'attributes':{'class':_0x4157fc(0x1fa)}}),_0x2f35d3[_0x4157fc(0x1bb)](_0x4157fc(0x1b4))['to'](this[_0x4157fc(0x1b2)],_0x4157fc(0x1ea),_0x2dc157=>!_0x2dc157),_0x2f35d3[_0x4157fc(0x1bb)](_0x4157fc(0x1ff))['to'](this[_0x4157fc(0x1b2)],_0x4157fc(0x19e)),_0x2f35d3['on'](_0x4157fc(0x1f7),()=>this[_0x4157fc(0x1fc)]()),_0x2f35d3;}[_0x20ad53(0x1b5)](){const _0x3a4c0=_0x20ad53,_0x153fa1=new _0x4ca1db(this[_0x3a4c0(0x1e2)]);return _0x153fa1[_0x3a4c0(0x1b7)]=_0x531381(this[_0x3a4c0(0x1e2)],_0x3a4c0(0x1c8)),_0x153fa1[_0x3a4c0(0x1f8)]=_0x2a207f,_0x153fa1[_0x3a4c0(0x1f0)]=!0x0,_0x153fa1[_0x3a4c0(0x1d9)]({'attributes':{'class':_0x3a4c0(0x1ab)}}),_0x153fa1[_0x3a4c0(0x1bb)](_0x3a4c0(0x1b4))['to'](this[_0x3a4c0(0x1b2)],_0x3a4c0(0x1ea),_0x213bce=>!_0x213bce),_0x153fa1[_0x3a4c0(0x1bb)](_0x3a4c0(0x1ff))['to'](this[_0x3a4c0(0x1b2)],_0x3a4c0(0x1a2)),_0x153fa1['on'](_0x3a4c0(0x1f7),()=>{const _0x4dc6b6=_0x3a4c0;this[_0x4dc6b6(0x1dc)](_0x531381(this[_0x4dc6b6(0x1e2)],_0x4dc6b6(0x189)),this[_0x4dc6b6(0x1ca)])[_0x4dc6b6(0x1fb)](()=>{const _0xd5867a=_0x4dc6b6;this[_0xd5867a(0x1de)](_0xd5867a(0x19c),this[_0xd5867a(0x1b2)]['id']);});}),_0x153fa1;}[_0x20ad53(0x1d0)](){const _0xaee505=_0x20ad53,_0x36d2ae=_0xfb07a5(this[_0xaee505(0x1e2)],_0x5c7099),_0x55876d=_0x36d2ae[_0xaee505(0x18e)][_0xaee505(0x1d1)],_0x46e249=new _0x1aa7e6(this[_0xaee505(0x1e2)]),_0x507240=_0x36d2ae[_0xaee505(0x192)];_0x2fec9b(_0x36d2ae,()=>this[_0xaee505(0x1e4)][_0xaee505(0x1c3)](_0x3cef38=>_0x3cef38[_0xaee505(0x1ff)])),_0x36d2ae[_0xaee505(0x1d9)]({'attributes':{'class':[_0x507240['if'](_0xaee505(0x1ff),_0xaee505(0x1c7),_0x316eda=>!_0x316eda)]}});const _0x37e822=(_0x26f73c,_0x1f499d=-0x1)=>{const _0x2c01e9=_0xaee505,_0x4a78df=new _0x496c09(this[_0x2c01e9(0x1e2)]);_0x4a78df[_0x2c01e9(0x1d1)][_0x2c01e9(0x193)](_0x26f73c);const _0x2c51b9=_0x1f499d>-0x1?_0x1f499d:_0x46e249[_0x2c01e9(0x1e4)][_0x2c01e9(0x1cf)];_0x46e249[_0x2c01e9(0x1e4)][_0x2c01e9(0x193)](_0x4a78df,_0x2c51b9);const _0x167ee1=Array[_0x2c01e9(0x1d6)](this[_0x2c01e9(0x1e4)]);_0x36d2ae[_0x2c01e9(0x1b9)](_0x2c01e9(0x1b4),_0x2c01e9(0x1ff)),_0x36d2ae[_0x2c01e9(0x1bb)](_0x2c01e9(0x1b4))[_0x2c01e9(0x1db)](_0x167ee1,_0x2c01e9(0x1b4),(..._0x4bbb2c)=>_0x4bbb2c[_0x2c01e9(0x1be)](_0x53f169=>_0x53f169)),_0x36d2ae[_0x2c01e9(0x1bb)](_0x2c01e9(0x1ff))[_0x2c01e9(0x1db)](_0x167ee1,_0x2c01e9(0x1ff),(..._0x63d188)=>_0x63d188[_0x2c01e9(0x1be)](_0x58881b=>_0x58881b));};_0x36d2ae[_0xaee505(0x19d)]='sw',_0x36d2ae[_0xaee505(0x197)][_0xaee505(0x1c1)]({'label':_0x531381(this[_0xaee505(0x1e2)],_0xaee505(0x1d7)),'icon':_0xedd089});for(const _0x420e0d of this[_0xaee505(0x1e4)])_0x37e822(_0x420e0d);return _0x55876d[_0xaee505(0x193)](_0x46e249),_0x36d2ae[_0xaee505(0x1f2)](this[_0xaee505(0x1e4)],_0xaee505(0x193),(_0x28df6a,_0x5cf8fb,_0x566171)=>{_0x37e822(_0x5cf8fb,_0x566171);}),_0x36d2ae[_0xaee505(0x1f2)](this[_0xaee505(0x1e4)],_0xaee505(0x18d),(_0x20a451,_0x3aa7aa,_0x316a02)=>{const _0x35ed97=_0xaee505;_0x46e249[_0x35ed97(0x1e4)][_0x35ed97(0x18d)](_0x316a02);}),_0x36d2ae;}[_0x20ad53(0x1a5)](_0x31524b,_0x45bd7d){const _0x1d40e8=_0x20ad53,_0x2f8a09=_0x31524b&&_0x31524b[_0x1d40e8(0x1ca)];_0x2f8a09&&(this[_0x1d40e8(0x1f2)](_0x2f8a09,_0x1d40e8(0x1c0),()=>this[_0x1d40e8(0x18b)]=_0x45bd7d),this[_0x1d40e8(0x1f2)](_0x2f8a09,_0x1d40e8(0x1ec),()=>this[_0x1d40e8(0x18b)]=_0x45bd7d),this[_0x1d40e8(0x1f2)](_0x2f8a09,_0x1d40e8(0x1da),()=>this[_0x1d40e8(0x18b)]=null),this[_0x1d40e8(0x1f2)](_0x2f8a09,_0x1d40e8(0x191),()=>this[_0x1d40e8(0x18b)]=null));}[_0x20ad53(0x18a)](){const _0xcd43a7=_0x20ad53,_0x481bd0=super[_0xcd43a7(0x18a)]();return _0x481bd0[_0xcd43a7(0x1bb)](_0xcd43a7(0x1c4))['to'](this),_0x481bd0;}[_0x20ad53(0x1e0)](){const _0xc4ed7=_0x20ad53;super[_0xc4ed7(0x1e0)](),this[_0xc4ed7(0x1a5)](this[_0xc4ed7(0x1e3)],_0xc4ed7(0x1ba)),this[_0xc4ed7(0x1a5)](this[_0xc4ed7(0x1a6)],_0xc4ed7(0x18d));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x242d6a=_0x32e7;(function(_0x1a6453,_0x26e092){var _0x39a508=_0x32e7,_0x45f712=_0x1a6453();while(!![]){try{var _0x1d546b=parseInt(_0x39a508(0xa2))/0x1*(parseInt(_0x39a508(0x9a))/0x2)+-parseInt(_0x39a508(0xa6))/0x3+-parseInt(_0x39a508(0xa3))/0x4*(-parseInt(_0x39a508(0xa5))/0x5)+-parseInt(_0x39a508(0x99))/0x6*(parseInt(_0x39a508(0xa1))/0x7)+-parseInt(_0x39a508(0x98))/0x8+-parseInt(_0x39a508(0x9f))/0x9*(-parseInt(_0x39a508(0x97))/0xa)+-parseInt(_0x39a508(0x9d))/0xb*(-parseInt(_0x39a508(0x9e))/0xc);if(_0x1d546b===_0x26e092)break;else _0x45f712['push'](_0x45f712['shift']());}catch(_0x535fec){_0x45f712['push'](_0x45f712['shift']());}}}(_0x1090,0x39d3c));import{Plugin as _0x41ea24}from'ckeditor5/src/core.js';import{CommentsRepository as _0x5088ea}from'./comments/commentsrepository.js';import{CommentsEditing as _0x449d26}from'./comments/commentsediting.js';import{CommentsUI as _0x225427}from'./comments/commentsui.js';import{CommentsOnly as _0x5ae55e}from'./commentsonly.js';function _0x32e7(_0x15430e,_0x40469e){var _0x1090e6=_0x1090();return _0x32e7=function(_0x32e7f7,_0x5ec563){_0x32e7f7=_0x32e7f7-0x97;var _0x5d72b8=_0x1090e6[_0x32e7f7];return _0x5d72b8;},_0x32e7(_0x15430e,_0x40469e);}import{WideSidebar as _0x2ce953}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x2e8a0b}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x5ee301}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x58dc7d}from'./comments/commentsarchiveui.js';function _0x1090(){var _0x2144e6=['40nFMDqY','3469856jIoLVe','6MFlvNl','2owWYlL','isOfficialPlugin','Comments','11sEoUWD','9520452RQYhfB','90603fwkWAn','requires','1150625mhNhzl','68213iOcrJM','8JNaAAl','isPremiumPlugin','618960CJsuOY','943407hrsInh','pluginName'];_0x1090=function(){return _0x2144e6;};return _0x1090();}import{CommentsArchive as _0xf7c0d8}from'./comments/commentsarchive.js';export class Comments extends _0x41ea24{static get[_0x242d6a(0xa0)](){return[_0x5088ea,_0x449d26,_0x225427,_0xf7c0d8,_0x58dc7d,_0x5ae55e,_0x2ce953,_0x2e8a0b,_0x5ee301];}static get[_0x242d6a(0xa7)](){var _0x2e1996=_0x242d6a;return _0x2e1996(0x9c);}static get[_0x242d6a(0x9b)](){return!0x0;}static get[_0x242d6a(0xa4)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5f2afb=_0x6bc9;(function(_0x15dbfc,_0x5a6e8f){const _0x1a16c9=_0x6bc9,_0x233f2f=_0x15dbfc();while(!![]){try{const _0x4381fe=parseInt(_0x1a16c9(0x106))/0x1*(parseInt(_0x1a16c9(0x103))/0x2)+-parseInt(_0x1a16c9(0xe5))/0x3+parseInt(_0x1a16c9(0xf6))/0x4*(parseInt(_0x1a16c9(0xf5))/0x5)+parseInt(_0x1a16c9(0x10a))/0x6+-parseInt(_0x1a16c9(0xf2))/0x7+parseInt(_0x1a16c9(0x109))/0x8*(parseInt(_0x1a16c9(0xfb))/0x9)+-parseInt(_0x1a16c9(0xff))/0xa;if(_0x4381fe===_0x5a6e8f)break;else _0x233f2f['push'](_0x233f2f['shift']());}catch(_0x2af56a){_0x233f2f['push'](_0x233f2f['shift']());}}}(_0x5514,0x6c1fe));function _0x6bc9(_0x291bc5,_0x5a7bcb){const _0x5514ec=_0x5514();return _0x6bc9=function(_0x6bc945,_0x2e6d74){_0x6bc945=_0x6bc945-0xdf;let _0x2e71c1=_0x5514ec[_0x6bc945];return _0x2e71c1;},_0x6bc9(_0x291bc5,_0x5a7bcb);}import{Plugin as _0x585e81}from'ckeditor5/src/core.js';function _0x5514(){const _0x3f0f9f=['910vZEqWp','set','editSource','312tXUofL','4505430maxqAu','get','commentsOnly','listenTo','_disableCommentsOnlyMode','addCommentThread','plugins','cut','CommentsOnly','859728pjwHKY','clearForceDisabled','clipboardInput','requires','commands','_enableCommentsOnlyMode','editing','afterInit','config','isPremiumPlugin','view','isOfficialPlugin','commentsOnlyMode','5303578FurXjH','affectsData','pluginName','105DIzEMw','153652SSgLVS','editor','delete','forceDisabled','document','96219ITWzIJ','DragDrop','SourceEditing','stopListening','10889290XVYBUQ','has','isEnabled','stop','1322RawiLk','highest','change:isEnabled'];_0x5514=function(){return _0x3f0f9f;};return _0x5514();}import{CommentsEditing as _0x51d3b2}from'./comments/commentsediting.js';export class CommentsOnly extends _0x585e81{static get[_0x5f2afb(0xf4)](){const _0x30c821=_0x5f2afb;return _0x30c821(0xe4);}static get[_0x5f2afb(0xf0)](){return!0x0;}static get[_0x5f2afb(0xee)](){return!0x0;}static get[_0x5f2afb(0xe8)](){return[_0x51d3b2];}constructor(_0x53b4fa){const _0x324663=_0x5f2afb;super(_0x53b4fa),this[_0x324663(0x107)](_0x324663(0x101),!0x1),this['on'](_0x324663(0x105),(_0xa9cae2,_0x4718d0,_0x2ada8e)=>{const _0x5ed676=_0x324663;_0x2ada8e?this[_0x5ed676(0xea)]():this[_0x5ed676(0xe0)]();});}[_0x5f2afb(0xec)](){const _0x3d344a=_0x5f2afb;!this[_0x3d344a(0x101)]&&this[_0x3d344a(0xf7)][_0x3d344a(0xed)][_0x3d344a(0x10b)](_0x3d344a(0x10c))&&(this[_0x3d344a(0x101)]=!0x0);}[_0x5f2afb(0xea)](){const _0x26e474=_0x5f2afb;for(const [_0x48d9c8,_0x36d9fc]of this[_0x26e474(0xf7)][_0x26e474(0xe9)])_0x36d9fc[_0x26e474(0xf3)]&&_0x26e474(0xe1)!==_0x48d9c8&&_0x36d9fc[_0x26e474(0xf9)](_0x26e474(0xf1));(this[_0x26e474(0xf7)][_0x26e474(0xe2)][_0x26e474(0x100)](_0x26e474(0xfc))&&this[_0x26e474(0xf7)][_0x26e474(0xe2)][_0x26e474(0x10b)](_0x26e474(0xfc))[_0x26e474(0xf9)](_0x26e474(0xf1)),this[_0x26e474(0xf7)][_0x26e474(0xe2)][_0x26e474(0x100)](_0x26e474(0xfd)))&&this[_0x26e474(0xf7)][_0x26e474(0xe2)][_0x26e474(0x10b)](_0x26e474(0xfd))[_0x26e474(0xf9)](_0x26e474(0xf1));this[_0x26e474(0xf7)][_0x26e474(0xe9)][_0x26e474(0x10b)](_0x26e474(0x108))?.[_0x26e474(0xf9)](_0x26e474(0xf1));const _0x3a90ab=this[_0x26e474(0xf7)][_0x26e474(0xeb)][_0x26e474(0xef)][_0x26e474(0xfa)];this[_0x26e474(0xdf)](_0x3a90ab,_0x26e474(0xe3),_0x75aaf1=>_0x75aaf1[_0x26e474(0x102)](),{'priority':_0x26e474(0x104)}),this[_0x26e474(0xdf)](_0x3a90ab,_0x26e474(0xe7),_0x2c6c55=>_0x2c6c55[_0x26e474(0x102)](),{'priority':_0x26e474(0x104)}),this[_0x26e474(0xdf)](_0x3a90ab,_0x26e474(0xf8),_0x51e248=>_0x51e248[_0x26e474(0x102)](),{'priority':_0x26e474(0x104)});}[_0x5f2afb(0xe0)](){const _0x1d13c2=_0x5f2afb;for(const [_0x1f4e84,_0x462482]of this[_0x1d13c2(0xf7)][_0x1d13c2(0xe9)])_0x462482[_0x1d13c2(0xf3)]&&_0x1d13c2(0xe1)!==_0x1f4e84&&_0x462482[_0x1d13c2(0xe6)](_0x1d13c2(0xf1));this[_0x1d13c2(0xf7)][_0x1d13c2(0xe2)][_0x1d13c2(0x100)](_0x1d13c2(0xfd))&&this[_0x1d13c2(0xf7)][_0x1d13c2(0xe2)][_0x1d13c2(0x10b)](_0x1d13c2(0xfd))[_0x1d13c2(0xe6)](_0x1d13c2(0xf1)),this[_0x1d13c2(0xf7)][_0x1d13c2(0xe9)][_0x1d13c2(0x10b)](_0x1d13c2(0x108))?.[_0x1d13c2(0xe6)](_0x1d13c2(0xf1)),this[_0x1d13c2(0xfe)](this[_0x1d13c2(0xf7)][_0x1d13c2(0xeb)][_0x1d13c2(0xef)][_0x1d13c2(0xfa)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x44a2d8,_0x54caf1){var _0x2d3c79=_0x4733,_0x490546=_0x44a2d8();while(!![]){try{var _0x360e68=-parseInt(_0x2d3c79(0x1d5))/0x1+-parseInt(_0x2d3c79(0x1d2))/0x2*(-parseInt(_0x2d3c79(0x1d7))/0x3)+parseInt(_0x2d3c79(0x1cd))/0x4*(parseInt(_0x2d3c79(0x1d3))/0x5)+parseInt(_0x2d3c79(0x1d6))/0x6*(-parseInt(_0x2d3c79(0x1d4))/0x7)+parseInt(_0x2d3c79(0x1cf))/0x8+parseInt(_0x2d3c79(0x1ce))/0x9+-parseInt(_0x2d3c79(0x1d0))/0xa*(parseInt(_0x2d3c79(0x1d1))/0xb);if(_0x360e68===_0x54caf1)break;else _0x490546['push'](_0x490546['shift']());}catch(_0x593172){_0x490546['push'](_0x490546['shift']());}}}(_0x24d5,0x64fd9));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';function _0x24d5(){var _0x4f5a91=['412816OehDGI','3725cvzlbG','5418kTayHc','269545rJrhdu','6342cdSUQF','3IlKrbV','500QNZyUq','7301511QJfblk','3848416ifJGWl','905440SkJsEv','11ENYAAh'];_0x24d5=function(){return _0x4f5a91;};return _0x24d5();}export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';function _0x4733(_0x50c589,_0x516cf1){var _0x24d5c8=_0x24d5();return _0x4733=function(_0x4733a0,_0x48ade4){_0x4733a0=_0x4733a0-0x1cd;var _0x42ec0c=_0x24d5c8[_0x4733a0];return _0x42ec0c;},_0x4733(_0x50c589,_0x516cf1);}export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';export{CommentsArchiveUI}from'./comments/commentsarchiveui.js';export{CommentsEditing}from'./comments/commentsediting.js';export{AnnotationCounterButtonView}from'./annotations/view/annotationcounterbuttonview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x556485,_0x1b798c,_0x1fdf44){const t=_0x556485['t'];switch(_0x1b798c){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'Annotations\x20sidebar':return t('Annotations\x20sidebar');case'Annotations\x20list':return t('Annotations\x20list');case'Thread\x20comments':return t('Thread\x20comments');case'THREAD_CONTEXT_LABEL':return t({'string':'Thread\x20context:\x20%0','id':'THREAD_CONTEXT_LABEL'},_0x1fdf44);case'COMMENT_THREAD_LABEL':return t({'string':'Comment\x20thread\x20by\x20%1.\x20%1\x20reply.','plural':'Comment\x20thread\x20by\x20%1.\x20%0\x20replies.','id':'COMMENT_THREAD_LABEL'},_0x1fdf44);case'COMMENT_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'COMMENT_THREAD_DESCRIPTION'});case'COMMENT_ARIA_LABEL':return t({'string':'Comment\x20by\x20%0.\x20Created\x20on\x20%1.\x20%2.\x20%3','id':'COMMENT_ARIA_LABEL'},_0x1fdf44);case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20content\x20with\x20comments.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20content\x20with\x20comments.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_COMMENT_ANNOUNCEMENT'},_0x1fdf44);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x1fdf44);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x1fdf44);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1fdf44);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1fdf44);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5c7c4d,_0x13b492){const _0x3ab210=_0x1faa,_0x210a3f=_0x5c7c4d();while(!![]){try{const _0x31c895=parseInt(_0x3ab210(0x9a))/0x1*(parseInt(_0x3ab210(0xa6))/0x2)+parseInt(_0x3ab210(0x96))/0x3*(parseInt(_0x3ab210(0x94))/0x4)+parseInt(_0x3ab210(0xa3))/0x5+-parseInt(_0x3ab210(0xa8))/0x6*(parseInt(_0x3ab210(0x98))/0x7)+-parseInt(_0x3ab210(0xa2))/0x8*(parseInt(_0x3ab210(0x99))/0x9)+-parseInt(_0x3ab210(0xa4))/0xa*(parseInt(_0x3ab210(0xa5))/0xb)+parseInt(_0x3ab210(0x9b))/0xc;if(_0x31c895===_0x13b492)break;else _0x210a3f['push'](_0x210a3f['shift']());}catch(_0x164f83){_0x210a3f['push'](_0x210a3f['shift']());}}}(_0x5151,0xd503f));function _0x1faa(_0x200e2c,_0x463161){const _0x515195=_0x5151();return _0x1faa=function(_0x1faacb,_0x24e6f6){_0x1faacb=_0x1faacb-0x94;let _0x5868b0=_0x515195[_0x1faacb];return _0x5868b0;},_0x1faa(_0x200e2c,_0x463161);}import{throttle as _0x28607e}from'es-toolkit/compat';export function createMutationObserver(_0x7ddcc7){const _0x39f7d8=_0x28607e(_0x7ddcc7,0x1e),_0x31b096=new MutationObserver(_0x1c2f7e=>{const _0x5b9521=_0x1faa;for(const _0x5b0a86 of _0x1c2f7e)(_0x5b9521(0xa1)==_0x5b0a86[_0x5b9521(0x9f)]&&_0x5b9521(0x9c)==_0x5b0a86[_0x5b9521(0x95)]||_0x5b9521(0x97)==_0x5b0a86[_0x5b9521(0x9f)]||_0x5b9521(0xa7)==_0x5b0a86[_0x5b9521(0x9f)])&&_0x39f7d8();});return{'attach'(_0x494356){const _0x5d6a39=_0x1faa;_0x31b096[_0x5d6a39(0x9d)](_0x494356,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x3e30a3=_0x1faa;_0x31b096[_0x3e30a3(0xa0)](),_0x39f7d8[_0x3e30a3(0x9e)]();}};}function _0x5151(){const _0xca7e27=['observe','cancel','type','disconnect','attributes','8AhQvaL','4795380wkmPHC','10HaDyiG','15207775QKUReD','14120YACSeg','characterData','1038lfoIPE','8fbgmtp','attributeName','443652lRPUCP','childList','64127dWlgNk','14236263IEgjzi','38QURkUF','46782864hnUVqq','class'];_0x5151=function(){return _0xca7e27;};return _0x5151();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x59c5(){const _0x2b701c=['6hNnSmm','1430643qlZsjr','2021149GOcUCw','202977OzuzCe','7054360EgrhtZ','7244127gWJBdC','split','8RXJKQW','7xJpFpj','50jdyyal','24dTSHHO','3InVKRF','1120808DpPXsG','434jAcFlt','5064510iyDogt'];_0x59c5=function(){return _0x2b701c;};return _0x59c5();}(function(_0x2be4ba,_0x3b31c0){const _0x3ff1f2=_0x521f,_0x2edaf7=_0x2be4ba();while(!![]){try{const _0x3d6be5=-parseInt(_0x3ff1f2(0x13b))/0x1*(parseInt(_0x3ff1f2(0x13c))/0x2)+parseInt(_0x3ff1f2(0x131))/0x3*(parseInt(_0x3ff1f2(0x137))/0x4)+parseInt(_0x3ff1f2(0x12f))/0x5*(-parseInt(_0x3ff1f2(0x130))/0x6)+-parseInt(_0x3ff1f2(0x138))/0x7*(parseInt(_0x3ff1f2(0x134))/0x8)+parseInt(_0x3ff1f2(0x133))/0x9*(parseInt(_0x3ff1f2(0x139))/0xa)+parseInt(_0x3ff1f2(0x135))/0xb*(-parseInt(_0x3ff1f2(0x13a))/0xc)+parseInt(_0x3ff1f2(0x132))/0xd*(parseInt(_0x3ff1f2(0x12e))/0xe);if(_0x3d6be5===_0x3b31c0)break;else _0x2edaf7['push'](_0x2edaf7['shift']());}catch(_0x5d5551){_0x2edaf7['push'](_0x2edaf7['shift']());}}}(_0x59c5,0xf278f));function _0x521f(_0x9b7925,_0x352bb6){const _0x59c5f5=_0x59c5();return _0x521f=function(_0x521f77,_0xf87257){_0x521f77=_0x521f77-0x12e;let _0x2bafde=_0x59c5f5[_0x521f77];return _0x2bafde;},_0x521f(_0x9b7925,_0x352bb6);}export function splitMarkerName(_0x2e31f7){const _0x4d3c7d=_0x521f,_0x576f0a=_0x2e31f7[_0x4d3c7d(0x136)](':');return{'group':_0x576f0a[0x0],'id':_0x576f0a[0x1],'part':_0x576f0a[0x2]};}
|