@ckeditor/ckeditor5-comments 46.1.1-alpha.3 → 47.0.0-alpha.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-editor.css +2 -46
- package/dist/index.css +2 -48
- 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.d.ts +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.d.ts +0 -2
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.d.ts +1 -5
- 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
- package/theme/comment.css +0 -12
- package/theme/commentthread.css +2 -38
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x44e0(){const _0x478e11=['set','focusNext','2830773iOShgK','presentation','arrowdown','159978XiHzuw','112374sWsFbF','12322LkFeFf','focusPrevious','focus','_setupKeyboardNavigation','ck-comments-archive','listenTo','1256295VwVUod','116tjAOHS','div','328RhbPjd','bindTemplate','delegate','first','focusCycler','length','1248ciucTk','auto','list','ck-hidden','arrowup','EMPTY_COMMENTS_ARCHIVE','4764VCjQld','element','remove','isEmpty','4hXWiKH','focusTracker','10dbSpHQ','destroy','6743331mCfxVl','_annotationViews','focusFirst','add','change','10AnsyUM','ck-comments-archive__info','setTemplate','isActive','ck-comments-archive__content','COMMENTS_ARCHIVE_LIST_LABEL','render'];_0x44e0=function(){return _0x478e11;};return _0x44e0();}const _0x1df1b8=_0x301d;(function(_0x2bde3c,_0x59a279){const _0x79f99f=_0x301d,_0x1d0272=_0x2bde3c();while(!![]){try{const _0x52143d=-parseInt(_0x79f99f(0x1f1))/0x1*(parseInt(_0x79f99f(0x1f8))/0x2)+parseInt(_0x79f99f(0x1f7))/0x3*(-parseInt(_0x79f99f(0x20a))/0x4)+-parseInt(_0x79f99f(0x1dc))/0x5*(parseInt(_0x79f99f(0x1ef))/0x6)+parseInt(_0x79f99f(0x1de))/0x7+-parseInt(_0x79f99f(0x1fa))/0x8*(-parseInt(_0x79f99f(0x1f0))/0x9)+parseInt(_0x79f99f(0x1e3))/0xa*(parseInt(_0x79f99f(0x1ec))/0xb)+parseInt(_0x79f99f(0x206))/0xc*(-parseInt(_0x79f99f(0x200))/0xd);if(_0x52143d===_0x59a279)break;else _0x1d0272['push'](_0x1d0272['shift']());}catch(_0x1944be){_0x1d0272['push'](_0x1d0272['shift']());}}}(_0x44e0,0x7bf4b));import{View as _0x83fa22,FocusCycler as _0xbca695}from'ckeditor5/src/ui.js';import{FocusTracker as _0x9dad6e}from'ckeditor5/src/utils.js';import{getTranslation as _0x19cb90}from'../../../utils/common-translations.js';function _0x301d(_0x68aada,_0x484f0c){const _0x44e06d=_0x44e0();return _0x301d=function(_0x301df0,_0x1af5f6){_0x301df0=_0x301df0-0x1db;let _0x2a6d19=_0x44e06d[_0x301df0];return _0x2a6d19;},_0x301d(_0x68aada,_0x484f0c);}export class CommentsArchiveView extends _0x83fa22{[_0x1df1b8(0x1db)];[_0x1df1b8(0x1fe)];[_0x1df1b8(0x1df)];constructor(_0x57e681,_0x46c540){const _0x537469=_0x1df1b8;super(_0x57e681),this[_0x537469(0x1ea)](_0x537469(0x209),!_0x46c540[_0x537469(0x1ff)]),this[_0x537469(0x1db)]=new _0x9dad6e(),this[_0x537469(0x1df)]=_0x46c540,this[_0x537469(0x1df)][_0x537469(0x1fc)](_0x537469(0x204),_0x537469(0x1ee))['to'](this),this['on'](_0x537469(0x204),()=>{const _0x5cf2f9=_0x537469;this[_0x5cf2f9(0x1fe)][_0x5cf2f9(0x1f2)]();}),this['on'](_0x537469(0x1ee),()=>{const _0x27f9ea=_0x537469;this[_0x27f9ea(0x1fe)][_0x27f9ea(0x1eb)]();}),this[_0x537469(0x1fe)]=new _0xbca695({'focusables':_0x46c540,'focusTracker':this[_0x537469(0x1db)]}),this[_0x537469(0x1f6)](_0x46c540,_0x537469(0x1e1),()=>{const _0x168e7b=_0x537469;this[_0x168e7b(0x209)]=!0x1;}),this[_0x537469(0x1f6)](_0x46c540,_0x537469(0x208),(_0x101012,_0x48b03a)=>{const _0x22056a=_0x537469;_0x48b03a[_0x22056a(0x1e6)]&&this[_0x22056a(0x1f3)](),_0x46c540[_0x22056a(0x1ff)]||(this[_0x22056a(0x209)]=!0x0);});const _0x489eb8=this[_0x537469(0x1fb)];this[_0x537469(0x1e5)]({'tag':_0x537469(0x1f9),'attributes':{'dir':_0x537469(0x201),'class':['ck',_0x537469(0x1f5)],'tabindex':-0x1,'role':_0x537469(0x202),'aria-label':_0x19cb90(_0x57e681,_0x537469(0x1e8))},'children':[{'tag':_0x537469(0x1f9),'attributes':{'class':[_0x537469(0x1e7)],'role':_0x537469(0x1ed)},'children':[{'tag':_0x537469(0x1f9),'attributes':{'role':_0x537469(0x1ed)},'children':_0x46c540},{'tag':'p','attributes':{'class':[_0x537469(0x1e4),_0x489eb8['if'](_0x537469(0x209),_0x537469(0x203),_0x32323a=>!_0x32323a)]},'children':[{'text':_0x19cb90(_0x57e681,_0x537469(0x205))}]}]}]});}[_0x1df1b8(0x1e9)](){const _0xab267=_0x1df1b8;super[_0xab267(0x1e9)](),this[_0xab267(0x1f4)]();}[_0x1df1b8(0x1dd)](){const _0x3a106c=_0x1df1b8;super[_0x3a106c(0x1dd)](),this[_0x3a106c(0x1db)][_0x3a106c(0x1dd)]();}[_0x1df1b8(0x1f3)](){const _0x16d41a=_0x1df1b8;this[_0x16d41a(0x1fe)][_0x16d41a(0x1fd)]?this[_0x16d41a(0x1fe)][_0x16d41a(0x1e0)]():this[_0x16d41a(0x207)][_0x16d41a(0x1f3)]();}[_0x1df1b8(0x1f4)](){const _0x5f8cf2=_0x1df1b8;for(const _0x43bd04 of this[_0x5f8cf2(0x1df)])this[_0x5f8cf2(0x1db)][_0x5f8cf2(0x1e1)](_0x43bd04[_0x5f8cf2(0x207)]);this[_0x5f8cf2(0x1df)]['on'](_0x5f8cf2(0x1e2),(_0x3d2cc9,{added:_0x2e0f54,removed:_0x3ab7f1})=>{const _0x3143f8=_0x5f8cf2;for(const _0x5a1122 of _0x2e0f54)this[_0x3143f8(0x1db)][_0x3143f8(0x1e1)](_0x5a1122[_0x3143f8(0x207)]);for(const _0x41db1d of _0x3ab7f1)this[_0x3143f8(0x1db)][_0x3143f8(0x208)](_0x41db1d[_0x3143f8(0x207)]);});}}
|
|
@@ -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
|
+
const _0x369d65=_0x5de8;(function(_0x10cebf,_0x564d74){const _0x2e1563=_0x5de8,_0x54e662=_0x10cebf();while(!![]){try{const _0x2f8055=parseInt(_0x2e1563(0xf6))/0x1+-parseInt(_0x2e1563(0xce))/0x2*(-parseInt(_0x2e1563(0xe9))/0x3)+-parseInt(_0x2e1563(0x104))/0x4*(parseInt(_0x2e1563(0xe3))/0x5)+parseInt(_0x2e1563(0xd8))/0x6+-parseInt(_0x2e1563(0x10e))/0x7*(-parseInt(_0x2e1563(0xdd))/0x8)+-parseInt(_0x2e1563(0xde))/0x9*(parseInt(_0x2e1563(0xc5))/0xa)+parseInt(_0x2e1563(0x119))/0xb*(-parseInt(_0x2e1563(0xdf))/0xc);if(_0x2f8055===_0x564d74)break;else _0x54e662['push'](_0x54e662['shift']());}catch(_0x2df6c4){_0x54e662['push'](_0x54e662['shift']());}}}(_0x2c5a,0xd13c3));import{View as _0x42d300,FocusCycler as _0x4c9968}from'ckeditor5/src/ui.js';import{diff as _0x2ed1d3,Collection as _0x57c91a,FocusTracker as _0x3cb72d,KeystrokeHandler as _0x1e95fd}from'ckeditor5/src/utils.js';import{getTranslation as _0x10deb5}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x33f83e}from'./collapsedcommentsview.js';export class CommentsListView extends _0x42d300{[_0x369d65(0xf8)];[_0x369d65(0x106)];[_0x369d65(0x111)];[_0x369d65(0xbe)];[_0x369d65(0xfa)];[_0x369d65(0x109)];[_0x369d65(0x113)];[_0x369d65(0xc3)];constructor(_0x4c93c2,_0x1a07fa,_0x56ba39){const _0x21f881=_0x369d65;super(_0x4c93c2);const _0x2f63e5=this[_0x21f881(0xe8)];this[_0x21f881(0xc0)](_0x21f881(0xcb),!0x1),this[_0x21f881(0xc0)](_0x21f881(0xd3),_0x1a07fa[_0x21f881(0xd9)][_0x21f881(0xd3)]),this[_0x21f881(0xc0)](_0x21f881(0xf0),!0x1),this[_0x21f881(0x109)]=_0x1a07fa,this[_0x21f881(0x113)]=_0x56ba39,this[_0x21f881(0xf8)]=this[_0x21f881(0xc7)](),this[_0x21f881(0xfc)]=this[_0x21f881(0xc7)](),this[_0x21f881(0x106)]=null,this[_0x21f881(0x111)]=new _0x3cb72d(),this[_0x21f881(0xbe)]=new _0x1e95fd(),this[_0x21f881(0xfa)]=new _0x4c9968({'focusables':this[_0x21f881(0xf8)],'focusTracker':this[_0x21f881(0x111)],'keystrokeHandler':this[_0x21f881(0xbe)],'keystrokeHandlerOptions':{'filter':_0x3907c9=>this[_0x21f881(0xf8)][_0x21f881(0x103)](_0x2692e1=>_0x2692e1[_0x21f881(0xd5)])[_0x21f881(0xed)](_0x3907c9[_0x21f881(0xf4)])},'actions':{'focusPrevious':_0x21f881(0x117),'focusNext':_0x21f881(0xba)}}),this[_0x21f881(0xc3)]=new _0x33f83e(_0x4c93c2),this[_0x21f881(0xc3)][_0x21f881(0xee)](_0x21f881(0xd6))['to'](this,_0x21f881(0xd3),_0x3aa31a=>_0x3aa31a-this[_0x21f881(0x113)][_0x21f881(0x10f)]);for(const _0x3d5fae of _0x1a07fa[_0x21f881(0xd9)])this[_0x21f881(0x108)](_0x3d5fae);this[_0x21f881(0xf5)](),this[_0x21f881(0xe6)](_0x1a07fa[_0x21f881(0xd9)],_0x21f881(0xec),(_0x4b7449,_0x3b4b0b)=>{const _0x4341d7=_0x21f881,_0x2b12a0=this[_0x4341d7(0xd4)](_0x3b4b0b);this[_0x4341d7(0xd3)]++,this[_0x4341d7(0x108)](_0x3b4b0b,_0x2b12a0),this[_0x4341d7(0xbc)]();}),this[_0x21f881(0xe6)](_0x1a07fa[_0x21f881(0xd9)],_0x21f881(0xca),(_0x44e081,_0x2a71eb)=>{const _0x3f2733=_0x21f881;this[_0x3f2733(0xd3)]--,this[_0x3f2733(0xcf)](_0x2a71eb),this[_0x3f2733(0xbc)]();}),this[_0x21f881(0xe6)](_0x1a07fa,_0x21f881(0xf7),()=>this[_0x21f881(0xbc)]()),this[_0x21f881(0xe6)](_0x1a07fa,_0x21f881(0x114),()=>this[_0x21f881(0xf5)]()),this['on'](_0x21f881(0xf1),()=>this[_0x21f881(0xbc)]()),this['on'](_0x21f881(0x11b),()=>this[_0x21f881(0xbc)]()),this[_0x21f881(0xef)]({'tag':'ul','attributes':{'class':[_0x21f881(0x10a),_0x2f63e5['if'](_0x21f881(0xd3),_0x21f881(0x11a),_0x2c9d8a=>!_0x2c9d8a)],'aria-label':_0x10deb5(_0x4c93c2,_0x21f881(0xe4))},'children':this[_0x21f881(0xfc)]});}get[_0x369d65(0xc2)](){const _0x5f570c=_0x369d65;return this[_0x5f570c(0x109)][_0x5f570c(0xd7)]>this[_0x5f570c(0x113)][_0x5f570c(0xe5)]&&!this[_0x5f570c(0xf0)]&&!this[_0x5f570c(0xcb)];}[_0x369d65(0xff)](){const _0x172989=_0x369d65;super[_0x172989(0xff)](),this[_0x172989(0xbc)](),this[_0x172989(0xdb)]();}[_0x369d65(0xd2)](_0x16c2c2){const _0x181b85=_0x369d65;-0x1===_0x16c2c2?this[_0x181b85(0xfa)][_0x181b85(0xbf)]():this[_0x181b85(0xfa)][_0x181b85(0x102)]();}[_0x369d65(0xc1)](){const _0x51c59a=_0x369d65;this[_0x51c59a(0xc3)][_0x51c59a(0xc1)]();for(const _0x4e45ce of this[_0x51c59a(0xf8)])_0x4e45ce[_0x51c59a(0xc1)]();super[_0x51c59a(0xc1)]();}[_0x369d65(0xbc)](){const _0x4caef9=_0x369d65;this[_0x4caef9(0xc2)]?this[_0x4caef9(0xe0)]():this[_0x4caef9(0xc9)]();}[_0x369d65(0x108)](_0x154c55,_0x33a7b0){const _0x33815a=_0x369d65,_0x363194=new this[(_0x33815a(0x113))][(_0x33815a(0xc6))](this[_0x33815a(0xcd)],_0x154c55,{'maxCommentCharsWhenCollapsed':this[_0x33815a(0x113)][_0x33815a(0xfb)],'formatDateTime':this[_0x33815a(0x113)][_0x33815a(0xfd)],'editorConfig':this[_0x33815a(0x113)][_0x33815a(0xfe)]});_0x363194[_0x33815a(0xeb)]=_0x154c55['id'],_0x363194[_0x33815a(0x110)](_0x33815a(0x112))['to'](this),_0x363194[_0x33815a(0x110)](_0x33815a(0xd1))['to'](this),_0x363194[_0x33815a(0x110)](_0x33815a(0xbb))['to'](this),_0x363194[_0x33815a(0x110)](_0x33815a(0x10d))['to'](this),_0x363194[_0x33815a(0x110)](_0x33815a(0xcc))['to'](this),this[_0x33815a(0xe6)](_0x363194,_0x33815a(0xd0),()=>this[_0x33815a(0x116)]()),this[_0x33815a(0xf8)][_0x33815a(0xec)](_0x363194,_0x33a7b0);}[_0x369d65(0xd4)](_0x16ee9d){const _0x40a5c4=_0x369d65,_0x1d824b=this[_0x40a5c4(0x109)][_0x40a5c4(0x10c)](_0x16ee9d);return this[_0x40a5c4(0x106)]?this[_0x40a5c4(0x106)][_0x40a5c4(0x10b)]>_0x16ee9d[_0x40a5c4(0x10b)]?_0x1d824b-0x1:_0x1d824b:_0x1d824b-0x1;}[_0x369d65(0xf5)](){const _0x5a1438=_0x369d65;if(this[_0x5a1438(0x109)][_0x5a1438(0xf2)]&&this[_0x5a1438(0x109)][_0x5a1438(0xea)]){const _0x165754={'id':_0x5a1438(0x118),'author':this[_0x5a1438(0x109)][_0x5a1438(0xf2)],'authoredAt':this[_0x5a1438(0x109)][_0x5a1438(0xea)],'content':_0x10deb5(this[_0x5a1438(0xcd)],_0x5a1438(0x100)),'attributes':{}};this[_0x5a1438(0x106)]=new this[(_0x5a1438(0x113))][(_0x5a1438(0xc6))](this[_0x5a1438(0xcd)],_0x165754,{'maxCommentCharsWhenCollapsed':this[_0x5a1438(0x113)][_0x5a1438(0xfb)],'formatDateTime':this[_0x5a1438(0x113)][_0x5a1438(0xfd)],'editorConfig':this[_0x5a1438(0x113)][_0x5a1438(0xfe)],'isSystemComment':!0x0}),this[_0x5a1438(0xf8)][_0x5a1438(0xec)](this[_0x5a1438(0x106)],this[_0x5a1438(0x109)][_0x5a1438(0x10c)](_0x165754));}else this[_0x5a1438(0x106)]&&(this[_0x5a1438(0xf8)][_0x5a1438(0xca)](this[_0x5a1438(0x106)]),this[_0x5a1438(0x106)][_0x5a1438(0xc1)](),this[_0x5a1438(0x106)]=null);this[_0x5a1438(0xbc)]();}[_0x369d65(0xcf)](_0x12b93f){const _0x121f5a=_0x369d65,_0xb7c3ed=this[_0x121f5a(0xf8)][_0x121f5a(0xca)](_0x12b93f['id']);this[_0x121f5a(0x107)](_0xb7c3ed),_0xb7c3ed[_0x121f5a(0xc8)]&&this[_0x121f5a(0x116)](),_0xb7c3ed[_0x121f5a(0xc1)]();}[_0x369d65(0x116)](){const _0x4462c4=_0x369d65;this[_0x4462c4(0xcb)]=Array[_0x4462c4(0x101)](this[_0x4462c4(0xf8)])[_0x4462c4(0xda)](_0x59b7a5=>_0x59b7a5[_0x4462c4(0xc8)]);}[_0x369d65(0xe0)](){const _0x5d5b5f=_0x369d65,_0x1ee9cd=function(_0x4b1c5e){const _0x368d6d=_0x5de8,_0x19d708=new _0x57c91a();for(const _0x236be1 of _0x4b1c5e)_0x19d708[_0x368d6d(0xec)](_0x236be1);return _0x19d708;}(this[_0x5d5b5f(0xf8)]),_0x11b5dd=this[_0x5d5b5f(0xc3)][_0x5d5b5f(0xd6)];for(let _0x32dfd7=0x1;_0x32dfd7<=_0x11b5dd;_0x32dfd7++)_0x1ee9cd[_0x5d5b5f(0xca)](0x1);for(const _0x3f582c of _0x1ee9cd)_0x3f582c[_0x5d5b5f(0x105)]();_0x11b5dd>0x0&&_0x1ee9cd[_0x5d5b5f(0xec)](this[_0x5d5b5f(0xc3)],0x1),ns(_0x2ed1d3(Array[_0x5d5b5f(0x101)](this[_0x5d5b5f(0xfc)]),Array[_0x5d5b5f(0x101)](_0x1ee9cd)),this[_0x5d5b5f(0xfc)],_0x1ee9cd);}[_0x369d65(0xc9)](){const _0x24796b=_0x369d65;ns(_0x2ed1d3(Array[_0x24796b(0x101)](this[_0x24796b(0xfc)]),Array[_0x24796b(0x101)](this[_0x24796b(0xf8)])),this[_0x24796b(0xfc)],this[_0x24796b(0xf8)]);for(const _0x22640b of this[_0x24796b(0xfc)])_0x22640b[_0x24796b(0xc4)]();}[_0x369d65(0xdb)](){const _0x68e613=_0x369d65;this[_0x68e613(0xf8)][_0x68e613(0x115)](_0x36db18=>{const _0x5370f4=_0x68e613;this[_0x5370f4(0x111)][_0x5370f4(0xec)](_0x36db18[_0x5370f4(0xd5)]),this[_0x5370f4(0xbe)][_0x5370f4(0xe6)](_0x36db18[_0x5370f4(0xd5)]);}),this[_0x68e613(0xf8)]['on'](_0x68e613(0xdc),(_0x488857,_0x3693bd)=>{const _0x44b6ca=_0x68e613;for(const _0x5467f2 of _0x3693bd[_0x44b6ca(0xe2)])this[_0x44b6ca(0x111)][_0x44b6ca(0xca)](_0x5467f2[_0x44b6ca(0xd5)]),this[_0x44b6ca(0xbe)][_0x44b6ca(0x107)](_0x5467f2[_0x44b6ca(0xd5)]);for(const _0x1c1936 of Array[_0x44b6ca(0x101)](_0x3693bd[_0x44b6ca(0xf3)])[_0x44b6ca(0xe7)]())this[_0x44b6ca(0x111)][_0x44b6ca(0xec)](_0x1c1936[_0x44b6ca(0xd5)]),this[_0x44b6ca(0xbe)][_0x44b6ca(0xe6)](_0x1c1936[_0x44b6ca(0xd5)]);});}}function ns(_0x199d0e,_0xa2ceea,_0x126916){const _0x528c33=_0x369d65;let _0x4e58a2=0x0;for(const _0x34bbbe of _0x199d0e)switch(_0x34bbbe){case _0x528c33(0xbd):_0xa2ceea[_0x528c33(0xec)](_0x126916[_0x528c33(0xf9)](_0x4e58a2),_0x4e58a2),_0x4e58a2++;break;case _0x528c33(0xb9):_0xa2ceea[_0x528c33(0xca)](_0x4e58a2);break;case _0x528c33(0xe1):_0x4e58a2++;}}function _0x5de8(_0x41ef59,_0x156b03){const _0x2c5a0a=_0x2c5a();return _0x5de8=function(_0x5de862,_0xb9a304){_0x5de862=_0x5de862-0xb9;let _0x5c0248=_0x2c5a0a[_0x5de862];return _0x5c0248;},_0x5de8(_0x41ef59,_0x156b03);}function _0x2c5a(){const _0x206a96=['collapse','resolvedCommentView','stopListening','_handleNewCommentModel','_model','ck-thread__comments','authoredAt','_findOptimalIndex','editorReady','3855131SNcAlN','maxCommentsWhenCollapsed','delegate','focusTracker','removeComment','_config','change:isResolved','forEach','_updateHasDirtyComment','arrowup','resolved','4512299IeXqXe','ck-hidden','change:hasDirtyComment','delete','arrowdown','resolveCommentThread','refreshVisibleViews','insert','keystrokes','focusLast','set','destroy','_shouldCollapse','_collapsedCommentsView','expand','70qgRcEr','CommentView','createCollection','isEditMode','_rearrangeExpand','remove','hasDirtyComment','editorDestroyed','locale','1173332VzihmP','_handleRemoveCommentModel','change:isEditMode','updateComment','focus','length','_calculatePosition','element','count','weight','7502340omKMEn','comments','some','_setupKeyboardNavigation','change','24wyJpAB','1498806ZwBJsb','60amzwLJ','_rearrangeCollapse','equal','removed','1400740xJHBgj','Thread\x20comments','maxThreadTotalWeight','listenTo','reverse','bindTemplate','6QhIVSN','resolvedAt','viewUid','add','includes','bind','setTemplate','isActive','change:isActive','resolvedBy','added','target','_handleInfoComment','838333lUOKGp','commentUpdated','commentViews','get','focusCycler','maxCommentCharsWhenCollapsed','visibleViews','formatDateTime','editorConfig','render','Marked\x20as\x20resolved','from','focusFirst','map','12nKjBXO'];_0x2c5a=function(){return _0x206a96;};return _0x2c5a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2a7f(_0x518d68,_0x4d0b3c){const _0x308718=_0x3087();return _0x2a7f=function(_0x2a7f3f,_0x3219bd){_0x2a7f3f=_0x2a7f3f-0x1c9;let _0xaa3c56=_0x308718[_0x2a7f3f];return _0xaa3c56;},_0x2a7f(_0x518d68,_0x4d0b3c);}const _0x506643=_0x2a7f;(function(_0x57ad77,_0x540431){const _0x1fc1b8=_0x2a7f,_0x132d4b=_0x57ad77();while(!![]){try{const _0x23a320=-parseInt(_0x1fc1b8(0x1ca))/0x1*(-parseInt(_0x1fc1b8(0x1c9))/0x2)+-parseInt(_0x1fc1b8(0x1d8))/0x3+parseInt(_0x1fc1b8(0x1da))/0x4*(parseInt(_0x1fc1b8(0x1d0))/0x5)+parseInt(_0x1fc1b8(0x1cb))/0x6*(-parseInt(_0x1fc1b8(0x1cc))/0x7)+-parseInt(_0x1fc1b8(0x1d3))/0x8*(-parseInt(_0x1fc1b8(0x1ce))/0x9)+parseInt(_0x1fc1b8(0x1d7))/0xa+parseInt(_0x1fc1b8(0x1cd))/0xb;if(_0x23a320===_0x540431)break;else _0x132d4b['push'](_0x132d4b['shift']());}catch(_0x12c213){_0x132d4b['push'](_0x132d4b['shift']());}}}(_0x3087,0xc6889));import{View as _0x3e19ee}from'ckeditor5/src/ui.js';import{getTranslation as _0x26fe7b}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x3e19ee{constructor(_0x31a9fa){const _0x84e75b=_0x2a7f;super(_0x31a9fa);const _0x40429d=this[_0x84e75b(0x1dc)];this[_0x84e75b(0x1d1)](_0x84e75b(0x1cf),''),this[_0x84e75b(0x1d5)]({'tag':_0x84e75b(0x1d6),'attributes':{'class':['ck',_0x84e75b(0x1d4)],'aria-label':_0x40429d['to'](_0x84e75b(0x1cf),_0x324f1e=>_0x26fe7b(_0x31a9fa,_0x84e75b(0x1d2),_0x324f1e)),'tabindex':-0x1},'children':[{'text':_0x40429d['to'](_0x84e75b(0x1cf))}]});}[_0x506643(0x1d9)](){const _0x322d66=_0x506643;this[_0x322d66(0x1db)][_0x322d66(0x1d9)]();}}function _0x3087(){const _0x31e861=['setTemplate','span','6686560pBrWUA','3397239hDbtBo','focus','68AAQIHq','element','bindTemplate','2BCLEOw','1153202rrfNvm','18qFXVYf','2800651AQiKkF','12440208YMIoRW','1100493HZsiir','contextValue','20830KPuIJG','set','THREAD_CONTEXT_LABEL','8WWZxPM','ck-context__value'];_0x3087=function(){return _0x31e861;};return _0x3087();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32010a=_0x34ba;(function(_0x54b220,_0x3698f0){const _0x386c72=_0x34ba,_0x12af98=_0x54b220();while(!![]){try{const _0x281859=-parseInt(_0x386c72(0x187))/0x1*(-parseInt(_0x386c72(0x14c))/0x2)+-parseInt(_0x386c72(0x174))/0x3+parseInt(_0x386c72(0x177))/0x4+-parseInt(_0x386c72(0x156))/0x5*(parseInt(_0x386c72(0x142))/0x6)+-parseInt(_0x386c72(0x15e))/0x7*(-parseInt(_0x386c72(0x148))/0x8)+parseInt(_0x386c72(0x167))/0x9+parseInt(_0x386c72(0x13f))/0xa*(-parseInt(_0x386c72(0x17a))/0xb);if(_0x281859===_0x3698f0)break;else _0x12af98['push'](_0x12af98['shift']());}catch(_0xbcc47){_0x12af98['push'](_0x12af98['shift']());}}}(_0x222b,0x6d042));import{View as _0x5961de,ButtonView as _0x356102,FocusCycler as _0x475b42}from'ckeditor5/src/ui.js';function _0x222b(){const _0x4611d7=['isResolvable','isEnabled','ck-context-wrapper','ck-thread__header','10tLSjFo','Reopen','context','reopenCommentThread','listenTo','lastIndexOf','tab','Comment\x20was\x20made\x20on\x20an\x20element','35THkais','setTemplate','shift+tab','focusables','bindTemplate','isVisible','icon','fire','reopenButtonView','6862185pSFWPi','.ck-context','ck-context','contextValue','ck-annotation__actions','length','classList','focusCycler','ck-context--quotes','isResolved','value','_attachContextActions','createCollection','1714050TsfwDq','_setupKeyboardNavigation','mouseenter','2792572YgXEgE','contextView','remove','5622595kyKHra','element','label','focusFirst','focusTracker','_createContextView','overlay','bind','tooltip','div','add','...','mouseleave','336047RDxxLc','10nomHww','_trimContextValue','scrollWidth','1893096AnmhpD','substring','execute','_createReopenButton','render','querySelector','43768GzyAST','keystrokes','hasContext','offsetWidth','4RAgvmL','locale','.ck-context__value','isReadOnly','_model','focus'];_0x222b=function(){return _0x4611d7;};return _0x222b();}import{FocusTracker as _0x11207e,KeystrokeHandler as _0x7ca7e9}from'ckeditor5/src/utils.js';import{IconUndo as _0x2b795a}from'ckeditor5/src/icons.js';function _0x34ba(_0x229ead,_0xdf7090){const _0x222bfb=_0x222b();return _0x34ba=function(_0x34ba1f,_0x1f05cb){_0x34ba1f=_0x34ba1f-0x13f;let _0x5a0101=_0x222bfb[_0x34ba1f];return _0x5a0101;},_0x34ba(_0x229ead,_0xdf7090);}import{getTranslation as _0x107099}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x53a586}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x5961de{[_0x32010a(0x150)];[_0x32010a(0x166)];[_0x32010a(0x178)];[_0x32010a(0x161)];[_0x32010a(0x17e)];[_0x32010a(0x149)];[_0x32010a(0x16e)];constructor(_0x5c9d93,_0x2329c8){const _0x36fab1=_0x32010a;super(_0x5c9d93);const _0x1f03e5=this[_0x36fab1(0x162)];this[_0x36fab1(0x150)]=_0x2329c8,this[_0x36fab1(0x166)]=this[_0x36fab1(0x145)](),this[_0x36fab1(0x178)]=this[_0x36fab1(0x17f)](),this[_0x36fab1(0x161)]=this[_0x36fab1(0x173)]([this[_0x36fab1(0x178)],this[_0x36fab1(0x166)]]),this[_0x36fab1(0x17e)]=new _0x11207e(),this[_0x36fab1(0x149)]=new _0x7ca7e9(),this[_0x36fab1(0x16e)]=new _0x475b42({'focusables':this[_0x36fab1(0x161)],'focusTracker':this[_0x36fab1(0x17e)],'keystrokeHandler':this[_0x36fab1(0x149)],'actions':{'focusPrevious':_0x36fab1(0x160),'focusNext':_0x36fab1(0x15c)}}),this[_0x36fab1(0x181)](_0x36fab1(0x14a))['to'](this[_0x36fab1(0x150)],_0x36fab1(0x158),_0xfed8a8=>!!_0xfed8a8),this[_0x36fab1(0x181)](_0x36fab1(0x16a))['to'](this[_0x36fab1(0x150)],_0x36fab1(0x158),_0x4e27fd=>_0x4e27fd&&_0x4e27fd[_0x36fab1(0x171)]?this[_0x36fab1(0x140)](_0x4e27fd[_0x36fab1(0x171)]):_0x107099(this[_0x36fab1(0x14d)],_0x36fab1(0x15d))),this[_0x36fab1(0x15f)]({'tag':_0x36fab1(0x183),'attributes':{'class':[_0x36fab1(0x155)]},'children':[{'tag':_0x36fab1(0x183),'attributes':{'class':[_0x36fab1(0x154)]},'children':[{'tag':_0x36fab1(0x183),'attributes':{'class':[_0x36fab1(0x169),_0x1f03e5['if'](_0x36fab1(0x14a),_0x36fab1(0x16f))]},'children':[this[_0x36fab1(0x178)]]}]},{'tag':_0x36fab1(0x183),'attributes':{'class':[_0x36fab1(0x16b)]},'children':[this[_0x36fab1(0x166)]]}]});}[_0x32010a(0x146)](){const _0x720364=_0x32010a;super[_0x720364(0x146)](),this[_0x720364(0x172)](),this[_0x720364(0x175)]();}[_0x32010a(0x151)](){const _0xe08e84=_0x32010a;this[_0xe08e84(0x16e)][_0xe08e84(0x17d)]();}[_0x32010a(0x145)](){const _0x374a12=_0x32010a,_0x17d30c=new _0x356102(this[_0x374a12(0x14d)]);return _0x17d30c[_0x374a12(0x17c)]=_0x107099(this[_0x374a12(0x14d)],_0x374a12(0x157)),_0x17d30c[_0x374a12(0x182)]=_0x107099(this[_0x374a12(0x14d)],_0x374a12(0x157)),_0x17d30c[_0x374a12(0x164)]=_0x2b795a,_0x17d30c[_0x374a12(0x181)](_0x374a12(0x153))['to'](this[_0x374a12(0x150)],_0x374a12(0x14f),_0x526588=>!_0x526588),_0x17d30c[_0x374a12(0x181)](_0x374a12(0x163))['to'](this[_0x374a12(0x150)],_0x374a12(0x152),this[_0x374a12(0x150)],_0x374a12(0x170),(_0x55ad40,_0x16bdff)=>_0x55ad40&&_0x16bdff),_0x17d30c['on'](_0x374a12(0x144),()=>{const _0x5bcf20=_0x374a12;this[_0x5bcf20(0x165)](_0x5bcf20(0x159),this[_0x5bcf20(0x150)]['id']);}),_0x17d30c;}[_0x32010a(0x140)](_0x1f816c){const _0xfd4c8=_0x32010a;if(_0x1f816c[_0xfd4c8(0x16c)]<0x96)return _0x1f816c;const _0x22896b=_0x1f816c[_0xfd4c8(0x15b)]('\x20',0x93);return _0x1f816c[_0xfd4c8(0x143)](0x0,_0x22896b>-0x1?_0x22896b:0x93)+_0xfd4c8(0x185);}[_0x32010a(0x172)](){const _0x1bea31=_0x32010a,_0x20fa6b=this[_0x1bea31(0x17b)][_0x1bea31(0x147)](_0x1bea31(0x168)),_0x2db73a=_0x20fa6b[_0x1bea31(0x147)](_0x1bea31(0x14e));this[_0x1bea31(0x15a)](_0x20fa6b,_0x1bea31(0x176),()=>{const _0xe46369=_0x1bea31;_0x2db73a[_0xe46369(0x14b)]<_0x2db73a[_0xe46369(0x141)]&&_0x20fa6b[_0xe46369(0x16d)][_0xe46369(0x184)](_0xe46369(0x180));}),this[_0x1bea31(0x15a)](_0x20fa6b,_0x1bea31(0x186),()=>{const _0x24f240=_0x1bea31;_0x20fa6b[_0x24f240(0x16d)][_0x24f240(0x179)](_0x24f240(0x180));});}[_0x32010a(0x175)](){const _0x2c6e6f=_0x32010a;this[_0x2c6e6f(0x149)][_0x2c6e6f(0x15a)](this[_0x2c6e6f(0x17b)]);for(const _0x4d3aff of this[_0x2c6e6f(0x161)])this[_0x2c6e6f(0x17e)][_0x2c6e6f(0x184)](_0x4d3aff[_0x2c6e6f(0x17b)]),this[_0x2c6e6f(0x149)][_0x2c6e6f(0x15a)](_0x4d3aff[_0x2c6e6f(0x17b)]);}[_0x32010a(0x17f)](){const _0x1180eb=_0x32010a,_0x23c48d=new _0x53a586(this[_0x1180eb(0x14d)]);return _0x23c48d[_0x1180eb(0x181)](_0x1180eb(0x16a))['to'](this),_0x23c48d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44a36b=_0x2665;function _0x2665(_0x477a45,_0x74e859){const _0x10f1f5=_0x10f1();return _0x2665=function(_0x2665d7,_0x22f436){_0x2665d7=_0x2665d7-0xf0;let _0x523fd7=_0x10f1f5[_0x2665d7];return _0x523fd7;},_0x2665(_0x477a45,_0x74e859);}function _0x10f1(){const _0x2a3b59=['setTemplate','then','showInput','getDomRoot','set','ck-comment__input-container','isFocused','view','bind','element','9595820ljBNsQ','3840940xatFoA','some','3380836kUrrfb','value','div','destroy','ck-thread__user','editorDestroyed','focusTracker','listenTo','64610gDdlsF','ck-comment__input-container--active','1828284yJLDtP','filter','change:showInput','render','2023fjSkiU','9CnaCwh','preventDefault','ck-thread__input','showButtons','42CZjcTi','commentInputView','contains','focus','9cNtIca','editor','bindTemplate','editing','target','mousedown','focusCycler','_focusOnNonInteractiveMouseDown','userView','createEditor','editorReady','extendTemplate','delegate','4365848Jqosdc'];_0x10f1=function(){return _0x2a3b59;};return _0x10f1();}(function(_0x37d1fa,_0x5095bb){const _0x57f21b=_0x2665,_0x1d2e84=_0x37d1fa();while(!![]){try{const _0x5dfc8a=-parseInt(_0x57f21b(0xfd))/0x1*(parseInt(_0x57f21b(0x120))/0x2)+parseInt(_0x57f21b(0xf0))/0x3+parseInt(_0x57f21b(0x118))/0x4+parseInt(_0x57f21b(0x116))/0x5+parseInt(_0x57f21b(0xf9))/0x6*(parseInt(_0x57f21b(0xf4))/0x7)+-parseInt(_0x57f21b(0x10a))/0x8*(parseInt(_0x57f21b(0xf5))/0x9)+-parseInt(_0x57f21b(0x115))/0xa;if(_0x5dfc8a===_0x5095bb)break;else _0x1d2e84['push'](_0x1d2e84['shift']());}catch(_0x4e6592){_0x1d2e84['push'](_0x1d2e84['shift']());}}}(_0x10f1,0x68af6));import{View as _0x32c144}from'ckeditor5/src/ui.js';import{CommentInputView as _0x2c1083}from'./commentinputview.js';import{UserView as _0x101b4d}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x32c144{constructor(_0x1a06f3,_0x2d2aa5,_0x54522b){const _0x1a7fc7=_0x2665;super(_0x1a06f3),this[_0x1a7fc7(0xfa)]=new _0x2c1083(_0x1a06f3,_0x54522b),this[_0x1a7fc7(0x103)]=this[_0x1a7fc7(0xfa)][_0x1a7fc7(0x103)],this[_0x1a7fc7(0xfa)][_0x1a7fc7(0x113)](_0x1a7fc7(0xf8))['to'](this[_0x1a7fc7(0xfa)][_0x1a7fc7(0x11e)],_0x1a7fc7(0x111),this[_0x1a7fc7(0xfa)],_0x1a7fc7(0x119),(_0x5d86be,_0x548d5a)=>_0x5d86be||!!_0x548d5a),this[_0x1a7fc7(0x10f)](_0x1a7fc7(0x10d),!0x1),this['on'](_0x1a7fc7(0xf2),()=>{const _0x1d070b=_0x1a7fc7;this[_0x1d070b(0x10d)]&&!this[_0x1d070b(0xfa)][_0x1d070b(0xfe)]&&this[_0x1d070b(0xfa)][_0x1d070b(0x106)]();}),this[_0x1a7fc7(0xfa)][_0x1a7fc7(0x109)](_0x1a7fc7(0x107))['to'](this),this[_0x1a7fc7(0xfa)][_0x1a7fc7(0x109)](_0x1a7fc7(0x11d))['to'](this),this[_0x1a7fc7(0x105)]=new _0x101b4d(_0x1a06f3,_0x2d2aa5),this[_0x1a7fc7(0x105)][_0x1a7fc7(0x108)]({'attributes':{'class':_0x1a7fc7(0x11c),'aria-hidden':!0x0}}),this[_0x1a7fc7(0xfa)][_0x1a7fc7(0x108)]({'attributes':{'class':_0x1a7fc7(0xf7)}}),this[_0x1a7fc7(0x10b)]({'tag':_0x1a7fc7(0x11a),'attributes':{'class':[_0x1a7fc7(0x110),this[_0x1a7fc7(0xff)]['if'](_0x1a7fc7(0x10d),_0x1a7fc7(0x121))]},'children':[this[_0x1a7fc7(0x105)],this[_0x1a7fc7(0xfa)]]});}[_0x44a36b(0xf3)](){const _0x8e837a=_0x44a36b;super[_0x8e837a(0xf3)](),this[_0x8e837a(0x104)]();}[_0x44a36b(0x11b)](){const _0x358272=_0x44a36b;return this[_0x358272(0xfa)][_0x358272(0x11b)]()[_0x358272(0x10c)](()=>super[_0x358272(0x11b)]());}[_0x44a36b(0xfc)](_0x383273){const _0x100b0e=_0x44a36b;this[_0x100b0e(0xfa)][_0x100b0e(0xfc)](_0x383273);}[_0x44a36b(0x104)](){const _0x5ab7d4=_0x44a36b;this[_0x5ab7d4(0x11f)](this[_0x5ab7d4(0x114)],_0x5ab7d4(0x102),(_0x253a28,_0x33fa24)=>{const _0x146984=_0x5ab7d4,{submitButtonView:_0x2f83b1,cancelButtonView:_0x3c8fea,editor:_0x4a20e8}=this[_0x146984(0xfa)];[_0x2f83b1[_0x146984(0x114)],_0x3c8fea[_0x146984(0x114)],_0x4a20e8?_0x4a20e8[_0x146984(0x100)][_0x146984(0x112)][_0x146984(0x10e)]():null][_0x146984(0xf1)](_0xf7f417=>_0xf7f417)[_0x146984(0x117)](_0x53b4c3=>_0x53b4c3[_0x146984(0xfb)](_0x33fa24[_0x146984(0x101)]))||(this[_0x146984(0xfc)](),_0x33fa24[_0x146984(0xf6)]());});}}
|
|
@@ -17,7 +17,6 @@ declare const CommentThreadView_base: import("ckeditor5/src/utils.js").Mixed<typ
|
|
|
17
17
|
* The default view for comment thread.
|
|
18
18
|
*/
|
|
19
19
|
export declare class CommentThreadView extends /* #__PURE__ -- @preserve */ CommentThreadView_base implements ViewWithFocusCycler {
|
|
20
|
-
isConfirm: boolean;
|
|
21
20
|
cancelConfirm: () => void;
|
|
22
21
|
showConfirm: (key: string, element: unknown) => Promise<void>;
|
|
23
22
|
/**
|
|
@@ -86,7 +85,6 @@ export declare class CommentThreadView extends /* #__PURE__ -- @preserve */ Comm
|
|
|
86
85
|
* 'ck-rounded-corners',
|
|
87
86
|
* bind.if( 'isActive', 'ck-thread--active' ),
|
|
88
87
|
* bind.if( 'isUnlinked', 'ck-thread--unlinked' ),
|
|
89
|
-
* bind.if( 'isConfirm', 'ck-thread--remove-confirmation' ),
|
|
90
88
|
* bind.to( 'actionIndicator', value => value ? `ck-thread--${ value }` : '' )
|
|
91
89
|
* ],
|
|
92
90
|
* 'data-thread-id': this._model.id,
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x4b99ee=_0x2f92;(function(_0x505bc8,_0x75fa7a){const _0xd793f6=_0x2f92,_0x859107=_0x505bc8();while(!![]){try{const _0x5ecf2e=parseInt(_0xd793f6(0x153))/0x1+parseInt(_0xd793f6(0x148))/0x2*(parseInt(_0xd793f6(0x162))/0x3)+parseInt(_0xd793f6(0x180))/0x4*(parseInt(_0xd793f6(0x167))/0x5)+-parseInt(_0xd793f6(0x16b))/0x6*(parseInt(_0xd793f6(0x164))/0x7)+-parseInt(_0xd793f6(0x158))/0x8+-parseInt(_0xd793f6(0x143))/0x9+parseInt(_0xd793f6(0x182))/0xa*(parseInt(_0xd793f6(0x154))/0xb);if(_0x5ecf2e===_0x75fa7a)break;else _0x859107['push'](_0x859107['shift']());}catch(_0x29d1a2){_0x859107['push'](_0x859107['shift']());}}}(_0x14ce,0x59298));import{ConfirmMixin as _0x4b7ac0,LateFocusButtonView as _0x2e2b9f}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x190b2f}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x59ddb6}from'./basecommentthreadview.js';function _0x14ce(){const _0x44d8f3=['bind','ck-rounded-corners','archivedAt','ck-thread--active','commentViews','length','_bindFirstCommentView','div','8152ivEOtB','ck-comment--resolve','1750570wCpDGN','commentThreadChildren','add','Write\x20a\x20comment...','removeCommentThread','querySelector','isEnabled','focus','label','isActive','_createResolveButton','has','commentsListView','ck-reset_all-excluded','ariaLabel','listenTo','change:archivedAt','render','icon','createCollection','locale','element','change:isActive','resolveButton','_boundFirstCommentView','cancelConfirm','20970ydqPQG','high','showConfirm','Resolve','isVisible','6PpShPd','bindTemplate','_updateArchivedThreadHeader','getTemplate','change:isReadOnly','tooltip','remove','stop','ariaDescriptionView','removeButton','removeConfirm','298565mOZMdV','11zcOVFy','isReadOnly','Delete\x20comment\x20thread?','get','3450560aPZpAP','listitem','extendTemplate','ck-thread','execute','ck-thread--','commentThreadInputView','containerElement','ck-thread--unlinked','commentThreadHeaderView','11490tHYpHd','fire','7WNpAad','then','setTemplate','1720ksOhJH','actionBar','_cancelAllConfirms','.ck-thread__container','2323956gGSsIE','_model','isSystemComment','isResolvable','resolveCommentThread','placeholder','focusables','isUnlinked','unbind','actionIndicator','set','isResolved','ck-thread__container'];_0x14ce=function(){return _0x44d8f3;};return _0x14ce();}import{getTranslation as _0x3d0c16}from'../../../utils/common-translations.js';function _0x2f92(_0x41e84d,_0x54a772){const _0x14ce34=_0x14ce();return _0x2f92=function(_0x2f92c9,_0x7e957b){_0x2f92c9=_0x2f92c9-0x12b;let _0x4197e1=_0x14ce34[_0x2f92c9];return _0x4197e1;},_0x2f92(_0x41e84d,_0x54a772);}export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4b7ac0(_0x59ddb6){[_0x4b99ee(0x183)];[_0x4b99ee(0x15f)];[_0x4b99ee(0x140)];[_0x4b99ee(0x141)];constructor(_0x1662ec,_0x4b4bf2,_0x138f2f,_0x2b4764){const _0x23b4bb=_0x4b99ee;super(_0x1662ec,_0x4b4bf2,_0x138f2f,_0x2b4764),this[_0x23b4bb(0x183)]=this[_0x23b4bb(0x13c)]([this[_0x23b4bb(0x135)],this[_0x23b4bb(0x15e)],this[_0x23b4bb(0x150)]]),this[_0x23b4bb(0x175)](_0x23b4bb(0x174),null),this[_0x23b4bb(0x15f)]=null,this[_0x23b4bb(0x141)]=null,this[_0x23b4bb(0x13d)]=_0x1662ec,this[_0x23b4bb(0x140)]=this[_0x23b4bb(0x133)](),this[_0x23b4bb(0x166)](this[_0x23b4bb(0x14b)]()),this['on'](_0x23b4bb(0x13f),(_0x315681,_0xdc0b8e,_0x393be2)=>{const _0x206c59=_0x23b4bb;_0x393be2||this[_0x206c59(0x169)]();}),this[_0x23b4bb(0x138)](this[_0x23b4bb(0x16c)],_0x23b4bb(0x14c),(_0x3f43a5,_0x42f682,_0x54daf2)=>{const _0x36c995=_0x23b4bb;_0x54daf2&&this[_0x36c995(0x169)]();}),this[_0x23b4bb(0x17d)]>0x0&&this[_0x23b4bb(0x17e)](),this[_0x23b4bb(0x138)](this[_0x23b4bb(0x135)][_0x23b4bb(0x17c)],_0x23b4bb(0x12b),()=>{const _0x1383a3=_0x23b4bb;this[_0x1383a3(0x17e)]();});}[_0x4b99ee(0x14b)](){const _0x164a85=_0x4b99ee,_0xd9d574=this[_0x164a85(0x149)];return{'tag':_0x164a85(0x17f),'attributes':{'class':['ck',_0x164a85(0x15b),_0x164a85(0x136),_0x164a85(0x179),_0xd9d574['if'](_0x164a85(0x132),_0x164a85(0x17b)),_0xd9d574['if'](_0x164a85(0x172),_0x164a85(0x160)),_0xd9d574['to'](_0x164a85(0x174),_0x597a35=>_0x597a35?_0x164a85(0x15d)+_0x597a35:'')],'data-thread-id':this[_0x164a85(0x16c)]['id'],'tabindex':0x0,'role':_0x164a85(0x159),'aria-label':_0xd9d574['to'](_0x164a85(0x137)),'aria-describedby':this[_0x164a85(0x150)]['id']},'children':[{'tag':_0x164a85(0x17f),'attributes':{'class':_0x164a85(0x177)},'children':this[_0x164a85(0x183)]}]};}[_0x4b99ee(0x13a)](){const _0x407c01=_0x4b99ee;super[_0x407c01(0x13a)](),this[_0x407c01(0x15f)]=this[_0x407c01(0x13e)][_0x407c01(0x12e)](_0x407c01(0x16a)),this[_0x407c01(0x16c)]['on'](_0x407c01(0x139),()=>{const _0x8d2510=_0x407c01;this[_0x8d2510(0x14a)]();}),this[_0x407c01(0x14a)]();}[_0x4b99ee(0x169)](){const _0x582e93=_0x4b99ee;this[_0x582e93(0x142)]();for(const _0x14a314 of this[_0x582e93(0x135)][_0x582e93(0x17c)])_0x14a314[_0x582e93(0x142)]();}[_0x4b99ee(0x17e)](){const _0x5dbc69=_0x4b99ee,{locale:_0x86a568}=this,_0x4d3ffb=this[_0x5dbc69(0x135)][_0x5dbc69(0x17c)][_0x5dbc69(0x157)](0x0);_0x4d3ffb===this[_0x5dbc69(0x141)]||_0x4d3ffb[_0x5dbc69(0x16d)]||(this[_0x5dbc69(0x141)]=_0x4d3ffb,this[_0x5dbc69(0x173)](_0x5dbc69(0x174)),this[_0x5dbc69(0x178)](_0x5dbc69(0x174))['to'](_0x4d3ffb,_0x5dbc69(0x174),_0x2b7e60=>_0x5dbc69(0x14e)===_0x2b7e60?_0x5dbc69(0x14e):null),_0x4d3ffb[_0x5dbc69(0x170)]=_0x3d0c16(_0x86a568,_0x5dbc69(0x12c)),_0x4d3ffb[_0x5dbc69(0x151)]['on'](_0x5dbc69(0x15c),_0x31fb69=>{const _0x29aa5b=_0x5dbc69;_0x31fb69[_0x29aa5b(0x14f)](),this[_0x29aa5b(0x145)](_0x3d0c16(_0x86a568,_0x29aa5b(0x156)),this[_0x29aa5b(0x15f)])[_0x29aa5b(0x165)](()=>{const _0x2b0b70=_0x29aa5b;this[_0x2b0b70(0x163)](_0x2b0b70(0x12d));});},{'priority':_0x5dbc69(0x144)}),this['on'](_0x5dbc69(0x152),()=>{const _0x117d33=_0x5dbc69;_0x4d3ffb[_0x117d33(0x130)]();}),_0x4d3ffb[_0x5dbc69(0x168)][_0x5dbc69(0x12b)](this[_0x5dbc69(0x140)],0x0),_0x4d3ffb[_0x5dbc69(0x171)][_0x5dbc69(0x12b)](this[_0x5dbc69(0x140)],0x0));}[_0x4b99ee(0x133)](){const _0x2cb25e=_0x4b99ee,_0x48c1f8=new _0x2e2b9f(this[_0x2cb25e(0x13d)]);return _0x48c1f8[_0x2cb25e(0x131)]=_0x3d0c16(this[_0x2cb25e(0x13d)],_0x2cb25e(0x146)),_0x48c1f8[_0x2cb25e(0x14d)]=_0x3d0c16(this[_0x2cb25e(0x13d)],_0x2cb25e(0x146)),_0x48c1f8[_0x2cb25e(0x13b)]=_0x190b2f,_0x48c1f8[_0x2cb25e(0x15a)]({'attributes':{'class':_0x2cb25e(0x181)}}),_0x48c1f8[_0x2cb25e(0x178)](_0x2cb25e(0x12f))['to'](this[_0x2cb25e(0x16c)],_0x2cb25e(0x155),_0x2dc16b=>!_0x2dc16b),_0x48c1f8[_0x2cb25e(0x178)](_0x2cb25e(0x147))['to'](this[_0x2cb25e(0x16c)],_0x2cb25e(0x16e),this[_0x2cb25e(0x16c)],_0x2cb25e(0x176),(_0x59d726,_0x12d02e)=>_0x59d726&&!_0x12d02e),_0x48c1f8['on'](_0x2cb25e(0x15c),()=>{const _0x4c1160=_0x2cb25e;this[_0x4c1160(0x163)](_0x4c1160(0x16f),this[_0x4c1160(0x16c)]['id']);}),_0x48c1f8;}[_0x4b99ee(0x14a)](){const _0x26535f=_0x4b99ee;this[_0x26535f(0x16c)][_0x26535f(0x17a)]?this[_0x26535f(0x183)][_0x26535f(0x134)](this[_0x26535f(0x161)])||(this[_0x26535f(0x183)][_0x26535f(0x12b)](this[_0x26535f(0x161)],0x0),this[_0x26535f(0x171)][_0x26535f(0x12b)](this[_0x26535f(0x161)],0x0)):this[_0x26535f(0x183)][_0x26535f(0x134)](this[_0x26535f(0x161)])&&(this[_0x26535f(0x183)][_0x26535f(0x14e)](this[_0x26535f(0x161)]),this[_0x26535f(0x171)][_0x26535f(0x14e)](this[_0x26535f(0x161)]));}}
|
|
@@ -19,7 +19,6 @@ declare const CommentView_base: import("ckeditor5/src/utils.js").Mixed<typeof Ba
|
|
|
19
19
|
*/
|
|
20
20
|
export declare class CommentView extends /* #__PURE__ -- @preserve */ CommentView_base {
|
|
21
21
|
locale: Locale;
|
|
22
|
-
isConfirm: boolean;
|
|
23
22
|
cancelConfirm: () => void;
|
|
24
23
|
showConfirm: (key: string, element: unknown) => Promise<void>;
|
|
25
24
|
/**
|
|
@@ -102,10 +101,7 @@ export declare class CommentView extends /* #__PURE__ -- @preserve */ CommentVie
|
|
|
102
101
|
* tag: 'li',
|
|
103
102
|
*
|
|
104
103
|
* attributes: {
|
|
105
|
-
* class: [
|
|
106
|
-
* 'ck-comment__wrapper',
|
|
107
|
-
* bind.if( 'isConfirm', 'ck-comment--remove-confirmation' )
|
|
108
|
-
* ],
|
|
104
|
+
* class: [ 'ck-comment__wrapper' ],
|
|
109
105
|
* tabindex: -1,
|
|
110
106
|
* 'aria-label': bind.to( 'ariaLabel' ),
|
|
111
107
|
* 'aria-describedby': this.ariaDescriptionView.id,
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x260539=_0x1df9;(function(_0x3adf64,_0x2067e6){const _0xff1a2a=_0x1df9,_0x30fce2=_0x3adf64();while(!![]){try{const _0x27f484=parseInt(_0xff1a2a(0xae))/0x1+-parseInt(_0xff1a2a(0xac))/0x2+-parseInt(_0xff1a2a(0x78))/0x3+-parseInt(_0xff1a2a(0xb9))/0x4*(-parseInt(_0xff1a2a(0xa0))/0x5)+parseInt(_0xff1a2a(0x8a))/0x6+-parseInt(_0xff1a2a(0x77))/0x7+parseInt(_0xff1a2a(0xb2))/0x8;if(_0x27f484===_0x2067e6)break;else _0x30fce2['push'](_0x30fce2['shift']());}catch(_0x6816c6){_0x30fce2['push'](_0x30fce2['shift']());}}}(_0x1d8e,0xadd34));import{IconRemoveComment as _0xfaec4a,IconPencil as _0x7c7fd7,IconThreeVerticalDots as _0x3f385a}from'ckeditor5/src/icons.js';import{ButtonView as _0x2bc000,createDropdown as _0x5af953,ListView as _0x45daa5,ListItemView as _0x26e47e,focusChildOnDropdownOpen as _0x3aee00}from'ckeditor5/src/ui.js';function _0x1d8e(){const _0x24a0f7=['set','actionBar','unbind','bind','removeButton','element','execute','dropdown','locale','ck-comment__external','buttonView','isRemovable','listenTo','ck-comment__info','blur','ck-annotation__actions--hidden','Reply...','find','name','label','isEditable','withText','ck-annotation__info-time','change:isRemovable','showConfirm','userView','mouseenter','_attachActions','ck-annotation','author','getTemplate','getExternalCommentNote','resolvedAt','Edit','6292762myuaNo','3839973yPvkdF','bindTemplate','ck-comment__main','_createRemoveButton','ck-comment','isEnabled','push','ck-annotation__main','setTemplate','ck-comment__info-time','ck-annotation__info','_config','items','children','_createEditButton','div','add','extendTemplate','1957464CHcLam','ck-comment--edit','addMany','toMany','_model','placeholder','panelView','ck-annotation__actions','ck-comment--info','ck-annotation__info-name','edit','Remove','cancelConfirm','_createCommentInputView','listitem','switchToEditMode','mouseleave','_createDropdown','ck-hidden','authoredAt','span','formatDateTime','66750EIdUvE','icon','panelPosition','ck-comment__user','ck-annotation__content-wrapper','focusables','group','Delete\x20comment?','ck-comment--','isExternal','fire','render','371130HNzUIB','ck-comment__wrapper','1061445NBtSwW','ck-comment__actions--hidden','from','ck-annotation__user','12976568YsABou','getUserViewNotificationText','visibleView','some','actionIndicator','ariaLabel','removeComment','20UDHgZM','remove','focus','time','isSystemComment','editButton','isEditMode','ariaDescriptionView','Show\x20more\x20items','isReadOnly','ck-comment__info-name','ck-comment--remove','ck-comment__actions','createCollection','then','length','isVisible'];_0x1d8e=function(){return _0x24a0f7;};return _0x1d8e();}import{UserView as _0x4b544a,ConfirmMixin as _0x4e7bad,LateFocusDropdownButtonView as _0x4925a7}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x3cd069}from'./basecommentview.js';import{getTranslation as _0x39132f}from'../../../utils/common-translations.js';function _0x1df9(_0x26953e,_0x3d76b2){const _0x1d8e03=_0x1d8e();return _0x1df9=function(_0x1df94d,_0x5d0a7e){_0x1df94d=_0x1df94d-0x75;let _0x5dc6d7=_0x1d8e03[_0x1df94d];return _0x5dc6d7;},_0x1df9(_0x26953e,_0x3d76b2);}export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4e7bad(_0x3cd069){[_0x260539(0xcb)];[_0x260539(0xe3)];constructor(_0x2a24e1,_0x1fb4e6,_0x5d907e){const _0x3004d4=_0x260539;super(_0x2a24e1,_0x1fb4e6,_0x5d907e),this[_0x3004d4(0xca)](_0x3004d4(0xb6),null),this[_0x3004d4(0xca)](_0x3004d4(0x8f),_0x39132f(_0x2a24e1,_0x3004d4(0xda))),this[_0x3004d4(0xcd)](_0x3004d4(0x9d))['to'](_0x1fb4e6),this[_0x3004d4(0xcd)](_0x3004d4(0x75))['to'](_0x1fb4e6),this[_0x3004d4(0xcb)]=this[_0x3004d4(0xc6)](),this[_0x3004d4(0xbd)]||(this[_0x3004d4(0xbe)]=this[_0x3004d4(0x86)](),this[_0x3004d4(0xce)]=this[_0x3004d4(0x7b)](),this[_0x3004d4(0x84)]=this[_0x3004d4(0xc6)](),this[_0x3004d4(0x84)][_0x3004d4(0x8c)]([this[_0x3004d4(0xbe)],this[_0x3004d4(0xce)]]),this[_0x3004d4(0xd1)]=this[_0x3004d4(0x9b)](),this[_0x3004d4(0xcb)][_0x3004d4(0x88)](this[_0x3004d4(0xd1)]),this[_0x3004d4(0xa5)][_0x3004d4(0x88)](this[_0x3004d4(0xd1)])),this[_0x3004d4(0xe3)]=new _0x4b544a(_0x2a24e1,_0x1fb4e6[_0x3004d4(0xe7)],this[_0x3004d4(0xb3)]()),this[_0x3004d4(0xe3)][_0x3004d4(0x89)]({'attributes':{'class':[_0x3004d4(0xa3),_0x3004d4(0xb1)],'aria-hidden':!0x0}}),this[_0x3004d4(0xd6)](_0x1fb4e6,_0x3004d4(0xe1),()=>this[_0x3004d4(0x96)]()),this[_0x3004d4(0x80)](this[_0x3004d4(0xe8)]());}[_0x260539(0xe8)](){const _0xdde486=_0x260539,_0x496eb4=this[_0xdde486(0x79)],_0x206b59=[{'tag':_0xdde486(0x87),'attributes':{'class':[_0xdde486(0xd7),_0xdde486(0x82)]},'children':[{'tag':_0xdde486(0x9e),'children':[{'text':this[_0xdde486(0xe3)][_0xdde486(0xdc)]}],'attributes':{'class':[_0xdde486(0xc3),_0xdde486(0x93)],'data-cke-tooltip-text':this[_0xdde486(0xe3)][_0xdde486(0xdc)]}},{'tag':_0xdde486(0xbc),'attributes':{'datetime':_0x496eb4['to'](_0xdde486(0x9d)),'class':[_0xdde486(0x81),_0xdde486(0xe0)]},'children':[{'text':_0x496eb4['to'](_0xdde486(0x9d),_0x4027bc=>this[_0xdde486(0x83)][_0xdde486(0x9f)](_0x4027bc))}]}]},{'tag':_0xdde486(0x87),'attributes':{'class':[_0xdde486(0xc5),_0xdde486(0x91),_0x496eb4['if'](_0xdde486(0xbf),_0xdde486(0xaf)),_0x496eb4['if'](_0xdde486(0xbf),_0xdde486(0xd9))]},'children':this[_0xdde486(0xcb)]},{'tag':_0xdde486(0x87),'attributes':{'class':[_0xdde486(0xa4)]},'children':this[_0xdde486(0xb4)]},this[_0xdde486(0xc0)]];return this[_0xdde486(0x8e)][_0xdde486(0xa9)]&&_0x206b59[_0xdde486(0x7e)]({'tag':_0xdde486(0x87),'attributes':{'class':[_0xdde486(0xd3)]},'children':[{'text':this[_0xdde486(0xe9)]()}]}),{'tag':'li','attributes':{'class':[_0xdde486(0xad)],'tabindex':-0x1,'aria-label':_0x496eb4['to'](_0xdde486(0xb7)),'aria-describedby':this[_0xdde486(0xc0)]['id'],'role':_0xdde486(0x98)},'children':[{'tag':_0xdde486(0x87),'attributes':{'class':[_0xdde486(0x7c),_0xdde486(0xe6),_0x496eb4['if'](_0xdde486(0xbf),_0xdde486(0x8b)),_0x496eb4['if'](_0xdde486(0xbd),_0xdde486(0x92)),_0x496eb4['to'](_0xdde486(0xb6),_0x567a52=>_0x567a52?_0xdde486(0xa8)+_0x567a52:'')],'data-author-id':this[_0xdde486(0x8e)][_0xdde486(0xe7)]['id'],'data-comment-id':this[_0xdde486(0x8e)]['id'],'role':_0xdde486(0xa6)},'children':[this[_0xdde486(0xe3)],{'tag':_0xdde486(0x87),'attributes':{'class':[_0xdde486(0x7a),_0xdde486(0x7f)]},'children':_0x206b59}]}]};}[_0x260539(0x86)](){const _0xc08406=_0x260539,_0x589bc1=new _0x2bc000(this[_0xc08406(0xd2)]);return _0x589bc1[_0xc08406(0xdd)]=_0x39132f(this[_0xc08406(0xd2)],_0xc08406(0x76)),_0x589bc1[_0xc08406(0xa1)]=_0x7c7fd7,_0x589bc1[_0xc08406(0xdf)]=!0x0,_0x589bc1[_0xc08406(0x89)]({'attributes':{'class':_0xc08406(0x8b)}}),_0x589bc1[_0xc08406(0xcd)](_0xc08406(0x7d))['to'](this[_0xc08406(0x8e)],_0xc08406(0xc2),_0x310634=>!_0x310634),_0x589bc1[_0xc08406(0xcd)](_0xc08406(0xc9))['to'](this[_0xc08406(0x8e)],_0xc08406(0xde)),_0x589bc1['on'](_0xc08406(0xd0),()=>this[_0xc08406(0x99)]()),_0x589bc1;}[_0x260539(0x7b)](){const _0x2ce69d=_0x260539,_0x36ed3c=new _0x2bc000(this[_0x2ce69d(0xd2)]);return _0x36ed3c[_0x2ce69d(0xdd)]=_0x39132f(this[_0x2ce69d(0xd2)],_0x2ce69d(0x95)),_0x36ed3c[_0x2ce69d(0xa1)]=_0xfaec4a,_0x36ed3c[_0x2ce69d(0xdf)]=!0x0,_0x36ed3c[_0x2ce69d(0x89)]({'attributes':{'class':_0x2ce69d(0xc4)}}),_0x36ed3c[_0x2ce69d(0xcd)](_0x2ce69d(0x7d))['to'](this[_0x2ce69d(0x8e)],_0x2ce69d(0xc2),_0x3c8b67=>!_0x3c8b67),_0x36ed3c[_0x2ce69d(0xcd)](_0x2ce69d(0xc9))['to'](this[_0x2ce69d(0x8e)],_0x2ce69d(0xd5)),_0x36ed3c['on'](_0x2ce69d(0xd0),()=>{const _0x1592e2=_0x2ce69d;this[_0x1592e2(0xe2)](_0x39132f(this[_0x1592e2(0xd2)],_0x1592e2(0xa7)),this[_0x1592e2(0xcf)])[_0x1592e2(0xc7)](()=>{const _0x1191e7=_0x1592e2;this[_0x1191e7(0xaa)](_0x1191e7(0xb8),this[_0x1191e7(0x8e)]['id']);});}),_0x36ed3c;}[_0x260539(0x9b)](){const _0x211722=_0x260539,_0x4013df=_0x5af953(this[_0x211722(0xd2)],_0x4925a7),_0x4c0941=_0x4013df[_0x211722(0x90)][_0x211722(0x85)],_0x3d3bab=new _0x45daa5(this[_0x211722(0xd2)]),_0x44caf3=_0x4013df[_0x211722(0x79)];_0x3aee00(_0x4013df,()=>this[_0x211722(0x84)][_0x211722(0xdb)](_0x2f885e=>_0x2f885e[_0x211722(0xc9)])),_0x4013df[_0x211722(0x89)]({'attributes':{'class':[_0x44caf3['if'](_0x211722(0xc9),_0x211722(0x9c),_0x2d978f=>!_0x2d978f)]}});const _0xeda431=(_0x2a7ab8,_0x1afedf=-0x1)=>{const _0x268974=_0x211722,_0x540bee=new _0x26e47e(this[_0x268974(0xd2)]);_0x540bee[_0x268974(0x85)][_0x268974(0x88)](_0x2a7ab8);const _0x24d082=_0x1afedf>-0x1?_0x1afedf:_0x3d3bab[_0x268974(0x84)][_0x268974(0xc8)];_0x3d3bab[_0x268974(0x84)][_0x268974(0x88)](_0x540bee,_0x24d082);const _0x10e15e=Array[_0x268974(0xb0)](this[_0x268974(0x84)]);_0x4013df[_0x268974(0xcc)](_0x268974(0x7d),_0x268974(0xc9)),_0x4013df[_0x268974(0xcd)](_0x268974(0x7d))[_0x268974(0x8d)](_0x10e15e,_0x268974(0x7d),(..._0x158a2c)=>_0x158a2c[_0x268974(0xb5)](_0x34d986=>_0x34d986)),_0x4013df[_0x268974(0xcd)](_0x268974(0xc9))[_0x268974(0x8d)](_0x10e15e,_0x268974(0xc9),(..._0x568bf8)=>_0x568bf8[_0x268974(0xb5)](_0x3bdacd=>_0x3bdacd));};_0x4013df[_0x211722(0xa2)]='sw',_0x4013df[_0x211722(0xd4)][_0x211722(0xca)]({'label':_0x39132f(this[_0x211722(0xd2)],_0x211722(0xc1)),'icon':_0x3f385a});for(const _0x2812ab of this[_0x211722(0x84)])_0xeda431(_0x2812ab);return _0x4c0941[_0x211722(0x88)](_0x3d3bab),_0x4013df[_0x211722(0xd6)](this[_0x211722(0x84)],_0x211722(0x88),(_0xc65962,_0x4448c1,_0x587234)=>{_0xeda431(_0x4448c1,_0x587234);}),_0x4013df[_0x211722(0xd6)](this[_0x211722(0x84)],_0x211722(0xba),(_0x3c102d,_0x1be50d,_0x512d8d)=>{const _0x4405bb=_0x211722;_0x3d3bab[_0x4405bb(0x84)][_0x4405bb(0xba)](_0x512d8d);}),_0x4013df;}[_0x260539(0xe5)](_0x2ef31f,_0x2e3ef4){const _0x29e09b=_0x260539,_0x366863=_0x2ef31f&&_0x2ef31f[_0x29e09b(0xcf)];_0x366863&&(this[_0x29e09b(0xd6)](_0x366863,_0x29e09b(0xe4),()=>this[_0x29e09b(0xb6)]=_0x2e3ef4),this[_0x29e09b(0xd6)](_0x366863,_0x29e09b(0xbb),()=>this[_0x29e09b(0xb6)]=_0x2e3ef4),this[_0x29e09b(0xd6)](_0x366863,_0x29e09b(0x9a),()=>this[_0x29e09b(0xb6)]=null),this[_0x29e09b(0xd6)](_0x366863,_0x29e09b(0xd8),()=>this[_0x29e09b(0xb6)]=null));}[_0x260539(0x97)](){const _0xeed7bd=_0x260539,_0x533732=super[_0xeed7bd(0x97)]();return _0x533732[_0xeed7bd(0xcd)](_0xeed7bd(0x8f))['to'](this),_0x533732;}[_0x260539(0xab)](){const _0x205b61=_0x260539;super[_0x205b61(0xab)](),this[_0x205b61(0xe5)](this[_0x205b61(0xbe)],_0x205b61(0x94)),this[_0x205b61(0xe5)](this[_0x205b61(0xce)],_0x205b61(0xba));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x266e81=_0x451d;function _0x451d(_0x5c9ec1,_0x129f42){var _0x4327b6=_0x4327();return _0x451d=function(_0x451d3d,_0x27fc95){_0x451d3d=_0x451d3d-0x158;var _0x1e66c2=_0x4327b6[_0x451d3d];return _0x1e66c2;},_0x451d(_0x5c9ec1,_0x129f42);}(function(_0x5ee205,_0x8e226c){var _0x11fd0e=_0x451d,_0x276696=_0x5ee205();while(!![]){try{var _0x23ffbe=-parseInt(_0x11fd0e(0x165))/0x1*(-parseInt(_0x11fd0e(0x159))/0x2)+parseInt(_0x11fd0e(0x15a))/0x3*(parseInt(_0x11fd0e(0x15f))/0x4)+parseInt(_0x11fd0e(0x15c))/0x5+parseInt(_0x11fd0e(0x163))/0x6*(parseInt(_0x11fd0e(0x160))/0x7)+parseInt(_0x11fd0e(0x15e))/0x8+-parseInt(_0x11fd0e(0x15b))/0x9+-parseInt(_0x11fd0e(0x15d))/0xa;if(_0x23ffbe===_0x8e226c)break;else _0x276696['push'](_0x276696['shift']());}catch(_0x2963ec){_0x276696['push'](_0x276696['shift']());}}}(_0x4327,0xed0ea));import{Plugin as _0x45be54}from'ckeditor5/src/core.js';import{CommentsRepository as _0x25bb1a}from'./comments/commentsrepository.js';import{CommentsEditing as _0x32468e}from'./comments/commentsediting.js';import{CommentsUI as _0x437c85}from'./comments/commentsui.js';function _0x4327(){var _0x4940e6=['307172DEhqmQ','Comments','requires','6hpYHTV','562659dLFfnc','9057816wlkROy','4027955ICTXVB','13510370yjmirn','5616728DGlgpS','12WmVkWW','35HexeuK','isOfficialPlugin','isPremiumPlugin','403908rUpcnv','pluginName'];_0x4327=function(){return _0x4940e6;};return _0x4327();}import{CommentsOnly as _0x417c76}from'./commentsonly.js';import{WideSidebar as _0x126c3c}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x377ace}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x46048d}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x72e88f}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x27dafd}from'./comments/commentsarchive.js';export class Comments extends _0x45be54{static get[_0x266e81(0x158)](){return[_0x25bb1a,_0x32468e,_0x437c85,_0x27dafd,_0x72e88f,_0x417c76,_0x126c3c,_0x377ace,_0x46048d];}static get[_0x266e81(0x164)](){var _0x3905ef=_0x266e81;return _0x3905ef(0x166);}static get[_0x266e81(0x161)](){return!0x0;}static get[_0x266e81(0x162)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x357fb1=_0x3711;function _0x3711(_0x44ceab,_0x3f3d5b){const _0x2e7d6a=_0x2e7d();return _0x3711=function(_0x3711a0,_0x4db5dd){_0x3711a0=_0x3711a0-0x19b;let _0x28e258=_0x2e7d6a[_0x3711a0];return _0x28e258;},_0x3711(_0x44ceab,_0x3f3d5b);}(function(_0x372fe2,_0x52e463){const _0x28a75b=_0x3711,_0x1269e8=_0x372fe2();while(!![]){try{const _0x1aeb51=-parseInt(_0x28a75b(0x1c1))/0x1+-parseInt(_0x28a75b(0x1ba))/0x2+-parseInt(_0x28a75b(0x1a2))/0x3+-parseInt(_0x28a75b(0x1af))/0x4+parseInt(_0x28a75b(0x1b7))/0x5*(-parseInt(_0x28a75b(0x1bf))/0x6)+-parseInt(_0x28a75b(0x1a6))/0x7+parseInt(_0x28a75b(0x1b9))/0x8;if(_0x1aeb51===_0x52e463)break;else _0x1269e8['push'](_0x1269e8['shift']());}catch(_0x26502c){_0x1269e8['push'](_0x1269e8['shift']());}}}(_0x2e7d,0xe6c0b));function _0x2e7d(){const _0x13c2ee=['editSource','delete','stop','clearForceDisabled','isPremiumPlugin','70851cqQXbG','CommentsOnly','commentsOnlyMode','afterInit','11117393JZhXYz','listenTo','isEnabled','get','forceDisabled','stopListening','set','_enableCommentsOnlyMode','pluginName','4550196zWXxnC','addCommentThread','change:isEnabled','config','clipboardInput','editing','requires','isOfficialPlugin','5rYHLoK','affectsData','37426272wzpyEg','541404nKSiWj','DragDrop','commands','SourceEditing','view','1696950Iqcayp','highest','430229YgvDkh','plugins','cut','editor','commentsOnly','_disableCommentsOnlyMode','document','has'];_0x2e7d=function(){return _0x13c2ee;};return _0x2e7d();}import{Plugin as _0xabd83d}from'ckeditor5/src/core.js';import{CommentsEditing as _0x14d6a0}from'./comments/commentsediting.js';export class CommentsOnly extends _0xabd83d{static get[_0x357fb1(0x1ae)](){const _0x995bbb=_0x357fb1;return _0x995bbb(0x1a3);}static get[_0x357fb1(0x1b6)](){return!0x0;}static get[_0x357fb1(0x1a1)](){return!0x0;}static get[_0x357fb1(0x1b5)](){return[_0x14d6a0];}constructor(_0x10945d){const _0x392d9d=_0x357fb1;super(_0x10945d),this[_0x392d9d(0x1ac)](_0x392d9d(0x1a8),!0x1),this['on'](_0x392d9d(0x1b1),(_0x44f231,_0x583e9f,_0x5848a8)=>{const _0x2eabe8=_0x392d9d;_0x5848a8?this[_0x2eabe8(0x1ad)]():this[_0x2eabe8(0x1c6)]();});}[_0x357fb1(0x1a5)](){const _0x5afd80=_0x357fb1;!this[_0x5afd80(0x1a8)]&&this[_0x5afd80(0x1c4)][_0x5afd80(0x1b2)][_0x5afd80(0x1a9)](_0x5afd80(0x1c5))&&(this[_0x5afd80(0x1a8)]=!0x0);}[_0x357fb1(0x1ad)](){const _0x31a3=_0x357fb1;for(const [_0x4d5e20,_0x34fb23]of this[_0x31a3(0x1c4)][_0x31a3(0x1bc)])_0x34fb23[_0x31a3(0x1b8)]&&_0x31a3(0x1b0)!==_0x4d5e20&&_0x34fb23[_0x31a3(0x1aa)](_0x31a3(0x1a4));(this[_0x31a3(0x1c4)][_0x31a3(0x1c2)][_0x31a3(0x19c)](_0x31a3(0x1bb))&&this[_0x31a3(0x1c4)][_0x31a3(0x1c2)][_0x31a3(0x1a9)](_0x31a3(0x1bb))[_0x31a3(0x1aa)](_0x31a3(0x1a4)),this[_0x31a3(0x1c4)][_0x31a3(0x1c2)][_0x31a3(0x19c)](_0x31a3(0x1bd)))&&this[_0x31a3(0x1c4)][_0x31a3(0x1c2)][_0x31a3(0x1a9)](_0x31a3(0x1bd))[_0x31a3(0x1aa)](_0x31a3(0x1a4));this[_0x31a3(0x1c4)][_0x31a3(0x1bc)][_0x31a3(0x1a9)](_0x31a3(0x19d))?.[_0x31a3(0x1aa)](_0x31a3(0x1a4));const _0x4185ad=this[_0x31a3(0x1c4)][_0x31a3(0x1b4)][_0x31a3(0x1be)][_0x31a3(0x19b)];this[_0x31a3(0x1a7)](_0x4185ad,_0x31a3(0x1c3),_0x3e003c=>_0x3e003c[_0x31a3(0x19f)](),{'priority':_0x31a3(0x1c0)}),this[_0x31a3(0x1a7)](_0x4185ad,_0x31a3(0x1b3),_0x5af76e=>_0x5af76e[_0x31a3(0x19f)](),{'priority':_0x31a3(0x1c0)}),this[_0x31a3(0x1a7)](_0x4185ad,_0x31a3(0x19e),_0x1f8fe9=>_0x1f8fe9[_0x31a3(0x19f)](),{'priority':_0x31a3(0x1c0)});}[_0x357fb1(0x1c6)](){const _0x4043f0=_0x357fb1;for(const [_0x430e3e,_0x2437d9]of this[_0x4043f0(0x1c4)][_0x4043f0(0x1bc)])_0x2437d9[_0x4043f0(0x1b8)]&&_0x4043f0(0x1b0)!==_0x430e3e&&_0x2437d9[_0x4043f0(0x1a0)](_0x4043f0(0x1a4));this[_0x4043f0(0x1c4)][_0x4043f0(0x1c2)][_0x4043f0(0x19c)](_0x4043f0(0x1bd))&&this[_0x4043f0(0x1c4)][_0x4043f0(0x1c2)][_0x4043f0(0x1a9)](_0x4043f0(0x1bd))[_0x4043f0(0x1a0)](_0x4043f0(0x1a4)),this[_0x4043f0(0x1c4)][_0x4043f0(0x1bc)][_0x4043f0(0x1a9)](_0x4043f0(0x19d))?.[_0x4043f0(0x1a0)](_0x4043f0(0x1a4)),this[_0x4043f0(0x1ab)](this[_0x4043f0(0x1c4)][_0x4043f0(0x1b4)][_0x4043f0(0x1be)][_0x4043f0(0x19b)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x394644,_0x214cc1){var _0x21f391=_0x25e4,_0xa2170f=_0x394644();while(!![]){try{var _0x526271=parseInt(_0x21f391(0x1c6))/0x1*(parseInt(_0x21f391(0x1c9))/0x2)+parseInt(_0x21f391(0x1c8))/0x3+-parseInt(_0x21f391(0x1ca))/0x4+parseInt(_0x21f391(0x1cd))/0x5*(parseInt(_0x21f391(0x1cb))/0x6)+-parseInt(_0x21f391(0x1cf))/0x7+parseInt(_0x21f391(0x1d0))/0x8*(parseInt(_0x21f391(0x1c7))/0x9)+-parseInt(_0x21f391(0x1ce))/0xa*(-parseInt(_0x21f391(0x1cc))/0xb);if(_0x526271===_0x214cc1)break;else _0xa2170f['push'](_0xa2170f['shift']());}catch(_0x5dcb45){_0xa2170f['push'](_0xa2170f['shift']());}}}(_0x3c8c,0x75a2c));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';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';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';function _0x25e4(_0x5be24e,_0x41c2a8){var _0x3c8c11=_0x3c8c();return _0x25e4=function(_0x25e489,_0x5a1047){_0x25e489=_0x25e489-0x1c6;var _0x4dc45c=_0x3c8c11[_0x25e489];return _0x4dc45c;},_0x25e4(_0x5be24e,_0x41c2a8);}export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';function _0x3c8c(){var _0x55fbdf=['66PbtiJh','45205WGryQc','130120GEPylc','3010287sppasC','5320PMAspV','1CzEdwu','54SXBHHf','707715aenYdC','1420526sgOngs','1767316BLMGIL','216bTIgPQ'];_0x3c8c=function(){return _0x55fbdf;};return _0x3c8c();}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(_0x5dcfcf,_0x3cd305,_0x29d77a){const t=_0x5dcfcf['t'];switch(_0x3cd305){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'},_0x29d77a);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'},_0x29d77a);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'},_0x29d77a);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'},_0x29d77a);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x29d77a);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'},_0x29d77a);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'},_0x29d77a);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'},_0x29d77a);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x39ef(_0x44718d,_0x4d20aa){const _0x27b100=_0x27b1();return _0x39ef=function(_0x39ef43,_0x43aed6){_0x39ef43=_0x39ef43-0x65;let _0x219e56=_0x27b100[_0x39ef43];return _0x219e56;},_0x39ef(_0x44718d,_0x4d20aa);}(function(_0x29dd1c,_0x4bf749){const _0x298f90=_0x39ef,_0xb461e0=_0x29dd1c();while(!![]){try{const _0x690de5=parseInt(_0x298f90(0x6c))/0x1*(-parseInt(_0x298f90(0x66))/0x2)+parseInt(_0x298f90(0x69))/0x3*(-parseInt(_0x298f90(0x73))/0x4)+-parseInt(_0x298f90(0x72))/0x5+-parseInt(_0x298f90(0x78))/0x6+-parseInt(_0x298f90(0x75))/0x7*(-parseInt(_0x298f90(0x6e))/0x8)+-parseInt(_0x298f90(0x76))/0x9*(parseInt(_0x298f90(0x70))/0xa)+parseInt(_0x298f90(0x6d))/0xb*(parseInt(_0x298f90(0x6a))/0xc);if(_0x690de5===_0x4bf749)break;else _0xb461e0['push'](_0xb461e0['shift']());}catch(_0x3e1e31){_0xb461e0['push'](_0xb461e0['shift']());}}}(_0x27b1,0xc150e));function _0x27b1(){const _0x2e3fcf=['attributeName','2000886YJPjvI','cancel','class','1074VwwTRN','type','characterData','27UTiPIy','1554144kDwCnI','disconnect','1187gbtogb','242YrpEnq','3129752opGVcP','childList','72030bNNXoo','observe','7883460NytZHI','103100IhIZET','attributes','28pvButJ','1053kAOdXZ'];_0x27b1=function(){return _0x2e3fcf;};return _0x27b1();}import{throttle as _0x3c0f99}from'es-toolkit/compat';export function createMutationObserver(_0x1b7ce6){const _0x4e2258=_0x3c0f99(_0x1b7ce6,0x1e),_0xc77fc6=new MutationObserver(_0x364a5a=>{const _0x48e518=_0x39ef;for(const _0x27e436 of _0x364a5a)(_0x48e518(0x74)==_0x27e436[_0x48e518(0x67)]&&_0x48e518(0x65)==_0x27e436[_0x48e518(0x77)]||_0x48e518(0x6f)==_0x27e436[_0x48e518(0x67)]||_0x48e518(0x68)==_0x27e436[_0x48e518(0x67)])&&_0x4e2258();});return{'attach'(_0x92774a){const _0x5b8890=_0x39ef;_0xc77fc6[_0x5b8890(0x71)](_0x92774a,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x119421=_0x39ef;_0xc77fc6[_0x119421(0x6b)](),_0x4e2258[_0x119421(0x79)]();}};}
|