@ckeditor/ckeditor5-comments 47.0.0 → 47.1.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.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 _0xd3979=_0x272a;(function(_0x416de1,_0xb3561c){const _0x4a8d9a=_0x272a,_0x4eb30d=_0x416de1();while(!![]){try{const _0x2b0406=parseInt(_0x4a8d9a(0xb3))/0x1*(-parseInt(_0x4a8d9a(0x9b))/0x2)+-parseInt(_0x4a8d9a(0xcd))/0x3+-parseInt(_0x4a8d9a(0x9c))/0x4+parseInt(_0x4a8d9a(0x85))/0x5*(parseInt(_0x4a8d9a(0xa4))/0x6)+-parseInt(_0x4a8d9a(0x99))/0x7+-parseInt(_0x4a8d9a(0xc5))/0x8*(parseInt(_0x4a8d9a(0x77))/0x9)+parseInt(_0x4a8d9a(0x7d))/0xa;if(_0x2b0406===_0xb3561c)break;else _0x4eb30d['push'](_0x4eb30d['shift']());}catch(_0xd5521){_0x4eb30d['push'](_0x4eb30d['shift']());}}}(_0x4c23,0xc02e2));import{View as _0x4966b9,FocusCycler as _0x2e1297}from'ckeditor5/src/ui.js';import{diff as _0x3ce273,Collection as _0x4c4a35,FocusTracker as _0x2fbe31,KeystrokeHandler as _0x3a1821}from'ckeditor5/src/utils.js';import{getTranslation as _0x4480ce}from'../../../utils/common-translations.js';function _0x272a(_0x4401fd,_0x1be0c0){const _0x4c233b=_0x4c23();return _0x272a=function(_0x272abf,_0x5e5a72){_0x272abf=_0x272abf-0x73;let _0x11c92e=_0x4c233b[_0x272abf];return _0x11c92e;},_0x272a(_0x4401fd,_0x1be0c0);}function _0x4c23(){const _0x4d94e8=['focusCycler','add','get','commentUpdated','maxCommentCharsWhenCollapsed','viewUid','delegate','34119EGPnIQ','maxCommentsWhenCollapsed','editorConfig','change:isActive','editorDestroyed','expand','43675790OiHEEc','updateComment','removed','destroy','_config','comments','change:hasDirtyComment','stopListening','24835NUuxOd','change','maxThreadTotalWeight','Thread\x20comments','resolvedBy','removeComment','_findOptimalIndex','editorReady','remove','render','resolvedCommentView','collapse','count','ck-hidden','_shouldCollapse','map','focusFirst','change:isEditMode','from','authoredAt','7805329juFxRL','weight','1562kUBAsJ','1609808mjfAco','isEditMode','_updateHasDirtyComment','listenTo','formatDateTime','Marked\x20as\x20resolved','commentViews','some','234pwhRvj','target','hasDirtyComment','forEach','keystrokes','resolvedAt','locale','set','_setupKeyboardNavigation','ck-thread__comments','insert','setTemplate','resolved','delete','_model','1609cytKUk','_handleRemoveCommentModel','focus','refreshVisibleViews','equal','_calculatePosition','added','arrowdown','_rearrangeExpand','bind','includes','length','resolveCommentThread','focusTracker','element','_handleNewCommentModel','bindTemplate','visibleViews','232fibWWX','change:isResolved','focusLast','_collapsedCommentsView','isActive','_handleInfoComment','arrowup','_rearrangeCollapse','2670165ywNKYI','reverse','createCollection','CommentView'];_0x4c23=function(){return _0x4d94e8;};return _0x4c23();}import{CollapsedCommentsView as _0x4068d0}from'./collapsedcommentsview.js';export class CommentsListView extends _0x4966b9{[_0xd3979(0xa2)];[_0xd3979(0x8f)];[_0xd3979(0xc0)];[_0xd3979(0xa8)];[_0xd3979(0xd1)];[_0xd3979(0xb2)];[_0xd3979(0x81)];[_0xd3979(0xc8)];constructor(_0x1c9580,_0x3bc11c,_0x5be1bc){const _0x207c2e=_0xd3979;super(_0x1c9580);const _0x38961d=this[_0x207c2e(0xc3)];this[_0x207c2e(0xab)](_0x207c2e(0xa6),!0x1),this[_0x207c2e(0xab)](_0x207c2e(0xbe),_0x3bc11c[_0x207c2e(0x82)][_0x207c2e(0xbe)]),this[_0x207c2e(0xab)](_0x207c2e(0xc9),!0x1),this[_0x207c2e(0xb2)]=_0x3bc11c,this[_0x207c2e(0x81)]=_0x5be1bc,this[_0x207c2e(0xa2)]=this[_0x207c2e(0xcf)](),this[_0x207c2e(0xc4)]=this[_0x207c2e(0xcf)](),this[_0x207c2e(0x8f)]=null,this[_0x207c2e(0xc0)]=new _0x2fbe31(),this[_0x207c2e(0xa8)]=new _0x3a1821(),this[_0x207c2e(0xd1)]=new _0x2e1297({'focusables':this[_0x207c2e(0xa2)],'focusTracker':this[_0x207c2e(0xc0)],'keystrokeHandler':this[_0x207c2e(0xa8)],'keystrokeHandlerOptions':{'filter':_0x4aa6e2=>this[_0x207c2e(0xa2)][_0x207c2e(0x94)](_0x1efd70=>_0x1efd70[_0x207c2e(0xc1)])[_0x207c2e(0xbd)](_0x4aa6e2[_0x207c2e(0xa5)])},'actions':{'focusPrevious':_0x207c2e(0xcb),'focusNext':_0x207c2e(0xba)}}),this[_0x207c2e(0xc8)]=new _0x4068d0(_0x1c9580),this[_0x207c2e(0xc8)][_0x207c2e(0xbc)](_0x207c2e(0x91))['to'](this,_0x207c2e(0xbe),_0x4d16fb=>_0x4d16fb-this[_0x207c2e(0x81)][_0x207c2e(0x78)]);for(const _0x18b243 of _0x3bc11c[_0x207c2e(0x82)])this[_0x207c2e(0xc2)](_0x18b243);this[_0x207c2e(0xca)](),this[_0x207c2e(0x9f)](_0x3bc11c[_0x207c2e(0x82)],_0x207c2e(0xd2),(_0x118357,_0x58e4d7)=>{const _0x1ee651=_0x207c2e,_0x5c4968=this[_0x1ee651(0xb8)](_0x58e4d7);this[_0x1ee651(0xbe)]++,this[_0x1ee651(0xc2)](_0x58e4d7,_0x5c4968),this[_0x1ee651(0xb6)]();}),this[_0x207c2e(0x9f)](_0x3bc11c[_0x207c2e(0x82)],_0x207c2e(0x8d),(_0x1931d1,_0x1c78be)=>{const _0x131892=_0x207c2e;this[_0x131892(0xbe)]--,this[_0x131892(0xb4)](_0x1c78be),this[_0x131892(0xb6)]();}),this[_0x207c2e(0x9f)](_0x3bc11c,_0x207c2e(0x73),()=>this[_0x207c2e(0xb6)]()),this[_0x207c2e(0x9f)](_0x3bc11c,_0x207c2e(0xc6),()=>this[_0x207c2e(0xca)]()),this['on'](_0x207c2e(0x7a),()=>this[_0x207c2e(0xb6)]()),this['on'](_0x207c2e(0x83),()=>this[_0x207c2e(0xb6)]()),this[_0x207c2e(0xaf)]({'tag':'ul','attributes':{'class':[_0x207c2e(0xad),_0x38961d['if'](_0x207c2e(0xbe),_0x207c2e(0x92),_0x1aa79e=>!_0x1aa79e)],'aria-label':_0x4480ce(_0x1c9580,_0x207c2e(0x88))},'children':this[_0x207c2e(0xc4)]});}get[_0xd3979(0x93)](){const _0xf0932f=_0xd3979;return this[_0xf0932f(0xb2)][_0xf0932f(0x9a)]>this[_0xf0932f(0x81)][_0xf0932f(0x87)]&&!this[_0xf0932f(0xc9)]&&!this[_0xf0932f(0xa6)];}[_0xd3979(0x8e)](){const _0x398c59=_0xd3979;super[_0x398c59(0x8e)](),this[_0x398c59(0xb6)](),this[_0x398c59(0xac)]();}[_0xd3979(0xb5)](_0x4426a7){const _0x5921d8=_0xd3979;-0x1===_0x4426a7?this[_0x5921d8(0xd1)][_0x5921d8(0xc7)]():this[_0x5921d8(0xd1)][_0x5921d8(0x95)]();}[_0xd3979(0x80)](){const _0x2821a0=_0xd3979;this[_0x2821a0(0xc8)][_0x2821a0(0x80)]();for(const _0x3c1e2a of this[_0x2821a0(0xa2)])_0x3c1e2a[_0x2821a0(0x80)]();super[_0x2821a0(0x80)]();}[_0xd3979(0xb6)](){const _0x934ad9=_0xd3979;this[_0x934ad9(0x93)]?this[_0x934ad9(0xcc)]():this[_0x934ad9(0xbb)]();}[_0xd3979(0xc2)](_0x320f22,_0x590a85){const _0x8d4473=_0xd3979,_0x1cc395=new this[(_0x8d4473(0x81))][(_0x8d4473(0xd0))](this[_0x8d4473(0xaa)],_0x320f22,{'maxCommentCharsWhenCollapsed':this[_0x8d4473(0x81)][_0x8d4473(0x74)],'formatDateTime':this[_0x8d4473(0x81)][_0x8d4473(0xa0)],'editorConfig':this[_0x8d4473(0x81)][_0x8d4473(0x79)]});_0x1cc395[_0x8d4473(0x75)]=_0x320f22['id'],_0x1cc395[_0x8d4473(0x76)](_0x8d4473(0x8a))['to'](this),_0x1cc395[_0x8d4473(0x76)](_0x8d4473(0x7e))['to'](this),_0x1cc395[_0x8d4473(0x76)](_0x8d4473(0xbf))['to'](this),_0x1cc395[_0x8d4473(0x76)](_0x8d4473(0x8c))['to'](this),_0x1cc395[_0x8d4473(0x76)](_0x8d4473(0x7b))['to'](this),this[_0x8d4473(0x9f)](_0x1cc395,_0x8d4473(0x96),()=>this[_0x8d4473(0x9e)]()),this[_0x8d4473(0xa2)][_0x8d4473(0xd2)](_0x1cc395,_0x590a85);}[_0xd3979(0xb8)](_0x3ecfaa){const _0x1aa76c=_0xd3979,_0x252f75=this[_0x1aa76c(0xb2)][_0x1aa76c(0x8b)](_0x3ecfaa);return this[_0x1aa76c(0x8f)]?this[_0x1aa76c(0x8f)][_0x1aa76c(0x98)]>_0x3ecfaa[_0x1aa76c(0x98)]?_0x252f75-0x1:_0x252f75:_0x252f75-0x1;}[_0xd3979(0xca)](){const _0x3934c5=_0xd3979;if(this[_0x3934c5(0xb2)][_0x3934c5(0x89)]&&this[_0x3934c5(0xb2)][_0x3934c5(0xa9)]){const _0xb7215f={'id':_0x3934c5(0xb0),'author':this[_0x3934c5(0xb2)][_0x3934c5(0x89)],'authoredAt':this[_0x3934c5(0xb2)][_0x3934c5(0xa9)],'content':_0x4480ce(this[_0x3934c5(0xaa)],_0x3934c5(0xa1)),'attributes':{}};this[_0x3934c5(0x8f)]=new this[(_0x3934c5(0x81))][(_0x3934c5(0xd0))](this[_0x3934c5(0xaa)],_0xb7215f,{'maxCommentCharsWhenCollapsed':this[_0x3934c5(0x81)][_0x3934c5(0x74)],'formatDateTime':this[_0x3934c5(0x81)][_0x3934c5(0xa0)],'editorConfig':this[_0x3934c5(0x81)][_0x3934c5(0x79)],'isSystemComment':!0x0}),this[_0x3934c5(0xa2)][_0x3934c5(0xd2)](this[_0x3934c5(0x8f)],this[_0x3934c5(0xb2)][_0x3934c5(0x8b)](_0xb7215f));}else this[_0x3934c5(0x8f)]&&(this[_0x3934c5(0xa2)][_0x3934c5(0x8d)](this[_0x3934c5(0x8f)]),this[_0x3934c5(0x8f)][_0x3934c5(0x80)](),this[_0x3934c5(0x8f)]=null);this[_0x3934c5(0xb6)]();}[_0xd3979(0xb4)](_0x53ecd3){const _0xc6c595=_0xd3979,_0x286da5=this[_0xc6c595(0xa2)][_0xc6c595(0x8d)](_0x53ecd3['id']);this[_0xc6c595(0x84)](_0x286da5),_0x286da5[_0xc6c595(0x9d)]&&this[_0xc6c595(0x9e)](),_0x286da5[_0xc6c595(0x80)]();}[_0xd3979(0x9e)](){const _0x21b73e=_0xd3979;this[_0x21b73e(0xa6)]=Array[_0x21b73e(0x97)](this[_0x21b73e(0xa2)])[_0x21b73e(0xa3)](_0xbf5ae7=>_0xbf5ae7[_0x21b73e(0x9d)]);}[_0xd3979(0xcc)](){const _0x2365df=_0xd3979,_0x543c51=function(_0x533f81){const _0x2ab59a=_0x272a,_0x317193=new _0x4c4a35();for(const _0x166226 of _0x533f81)_0x317193[_0x2ab59a(0xd2)](_0x166226);return _0x317193;}(this[_0x2365df(0xa2)]),_0x406b52=this[_0x2365df(0xc8)][_0x2365df(0x91)];for(let _0x480b9f=0x1;_0x480b9f<=_0x406b52;_0x480b9f++)_0x543c51[_0x2365df(0x8d)](0x1);for(const _0x3f3a71 of _0x543c51)_0x3f3a71[_0x2365df(0x90)]();_0x406b52>0x0&&_0x543c51[_0x2365df(0xd2)](this[_0x2365df(0xc8)],0x1),ns(_0x3ce273(Array[_0x2365df(0x97)](this[_0x2365df(0xc4)]),Array[_0x2365df(0x97)](_0x543c51)),this[_0x2365df(0xc4)],_0x543c51);}[_0xd3979(0xbb)](){const _0x15f934=_0xd3979;ns(_0x3ce273(Array[_0x15f934(0x97)](this[_0x15f934(0xc4)]),Array[_0x15f934(0x97)](this[_0x15f934(0xa2)])),this[_0x15f934(0xc4)],this[_0x15f934(0xa2)]);for(const _0x22e1e8 of this[_0x15f934(0xc4)])_0x22e1e8[_0x15f934(0x7c)]();}[_0xd3979(0xac)](){const _0x9b6769=_0xd3979;this[_0x9b6769(0xa2)][_0x9b6769(0xa7)](_0x394a3e=>{const _0x4477b2=_0x9b6769;this[_0x4477b2(0xc0)][_0x4477b2(0xd2)](_0x394a3e[_0x4477b2(0xc1)]),this[_0x4477b2(0xa8)][_0x4477b2(0x9f)](_0x394a3e[_0x4477b2(0xc1)]);}),this[_0x9b6769(0xa2)]['on'](_0x9b6769(0x86),(_0x2e5664,_0x234ec9)=>{const _0x4ed49d=_0x9b6769;for(const _0x455767 of _0x234ec9[_0x4ed49d(0x7f)])this[_0x4ed49d(0xc0)][_0x4ed49d(0x8d)](_0x455767[_0x4ed49d(0xc1)]),this[_0x4ed49d(0xa8)][_0x4ed49d(0x84)](_0x455767[_0x4ed49d(0xc1)]);for(const _0x2c89d6 of Array[_0x4ed49d(0x97)](_0x234ec9[_0x4ed49d(0xb9)])[_0x4ed49d(0xce)]())this[_0x4ed49d(0xc0)][_0x4ed49d(0xd2)](_0x2c89d6[_0x4ed49d(0xc1)]),this[_0x4ed49d(0xa8)][_0x4ed49d(0x9f)](_0x2c89d6[_0x4ed49d(0xc1)]);});}}function ns(_0x11eee1,_0x229683,_0x547de4){const _0x463710=_0xd3979;let _0x32178b=0x0;for(const _0x8b8f29 of _0x11eee1)switch(_0x8b8f29){case _0x463710(0xae):_0x229683[_0x463710(0xd2)](_0x547de4[_0x463710(0xd3)](_0x32178b),_0x32178b),_0x32178b++;break;case _0x463710(0xb1):_0x229683[_0x463710(0x8d)](_0x32178b);break;case _0x463710(0xb7):_0x32178b++;}}
|
|
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++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x11f5(){const _0x9b64bf=['1487024VrUZbf','9490552ivsieA','setTemplate','span','element','1292039ewUYmO','THREAD_CONTEXT_LABEL','contextValue','4WxEjIJ','6359930xDSgEN','set','ck-context__value','2jwecNi','12576942tkojse','focus','1622829zEgzKb','6071994BwCUSy','bindTemplate'];_0x11f5=function(){return _0x9b64bf;};return _0x11f5();}const _0xc4da7f=_0x49ca;function _0x49ca(_0x1d4f53,_0x482543){const _0x11f57f=_0x11f5();return _0x49ca=function(_0x49cafb,_0x34a6c9){_0x49cafb=_0x49cafb-0x1de;let _0xb18e26=_0x11f57f[_0x49cafb];return _0xb18e26;},_0x49ca(_0x1d4f53,_0x482543);}(function(_0x567cee,_0x2252aa){const _0x368848=_0x49ca,_0x4719a5=_0x567cee();while(!![]){try{const _0x149066=-parseInt(_0x368848(0x1e5))/0x1+-parseInt(_0x368848(0x1ec))/0x2*(parseInt(_0x368848(0x1ef))/0x3)+parseInt(_0x368848(0x1e8))/0x4*(-parseInt(_0x368848(0x1e9))/0x5)+parseInt(_0x368848(0x1de))/0x6+parseInt(_0x368848(0x1e0))/0x7+parseInt(_0x368848(0x1e1))/0x8+parseInt(_0x368848(0x1ed))/0x9;if(_0x149066===_0x2252aa)break;else _0x4719a5['push'](_0x4719a5['shift']());}catch(_0x57d2b0){_0x4719a5['push'](_0x4719a5['shift']());}}}(_0x11f5,0xabaf4));import{View as _0x439262}from'ckeditor5/src/ui.js';import{getTranslation as _0x5bd381}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x439262{constructor(_0x46fb97){const _0x420c14=_0x49ca;super(_0x46fb97);const _0x300f91=this[_0x420c14(0x1df)];this[_0x420c14(0x1ea)](_0x420c14(0x1e7),''),this[_0x420c14(0x1e2)]({'tag':_0x420c14(0x1e3),'attributes':{'class':['ck',_0x420c14(0x1eb)],'aria-label':_0x300f91['to'](_0x420c14(0x1e7),_0x1a5858=>_0x5bd381(_0x46fb97,_0x420c14(0x1e6),_0x1a5858)),'tabindex':-0x1},'children':[{'text':_0x300f91['to'](_0x420c14(0x1e7))}]});}[_0xc4da7f(0x1ee)](){const _0x1ef922=_0xc4da7f;this[_0x1ef922(0x1e4)][_0x1ef922(0x1ee)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xc1b50e=_0x312a;(function(_0x48693c,_0x156665){const _0x1d149d=_0x312a,_0x29f844=_0x48693c();while(!![]){try{const _0x6d101f=parseInt(_0x1d149d(0x1b9))/0x1*(-parseInt(_0x1d149d(0x1d9))/0x2)+parseInt(_0x1d149d(0x1ad))/0x3+-parseInt(_0x1d149d(0x1cc))/0x4*(parseInt(_0x1d149d(0x192))/0x5)+-parseInt(_0x1d149d(0x1a7))/0x6*(-parseInt(_0x1d149d(0x195))/0x7)+parseInt(_0x1d149d(0x190))/0x8*(-parseInt(_0x1d149d(0x1c7))/0x9)+-parseInt(_0x1d149d(0x1a1))/0xa*(parseInt(_0x1d149d(0x19a))/0xb)+parseInt(_0x1d149d(0x1bb))/0xc;if(_0x6d101f===_0x156665)break;else _0x29f844['push'](_0x29f844['shift']());}catch(_0x3e59e8){_0x29f844['push'](_0x29f844['shift']());}}}(_0x4b7a,0x85831));import{View as _0x2c404d,ButtonView as _0x3e6594,FocusCycler as _0xb67682}from'ckeditor5/src/ui.js';import{FocusTracker as _0x34e17d,KeystrokeHandler as _0x20d0f5}from'ckeditor5/src/utils.js';function _0x4b7a(){const _0x5c7e35=['label','offsetWidth','scrollWidth','3068715peJrEY','div','focusFirst','.ck-context','_createContextView','ck-context','shift+tab','contextView','createCollection','focusCycler','execute','fire','25817UWDWaW','bind','23966856FsmKFM','ck-context-wrapper','reopenCommentThread','setTemplate','add','.ck-context__value','isResolvable','tab','icon','tooltip','_model','hasContext','3533823PweYyG','locale','bindTemplate','contextValue','_createReopenButton','132852OzbIze','isVisible','ck-thread__header','querySelector','...','Reopen','value','substring','mouseleave','mouseenter','remove','focus','keystrokes','14OInMLk','16ChzRxt','_setupKeyboardNavigation','95qHTJRO','overlay','isEnabled','3486InWJSW','classList','isReadOnly','listenTo','ck-context--quotes','48686gLgtbg','isResolved','render','context','element','_attachContextActions','length','2270ImJBxj','reopenButtonView','lastIndexOf','focusTracker','focusables','ck-annotation__actions','1548NTIDLn','_trimContextValue','Comment\x20was\x20made\x20on\x20an\x20element'];_0x4b7a=function(){return _0x5c7e35;};return _0x4b7a();}import{IconUndo as _0x4f5606}from'ckeditor5/src/icons.js';import{getTranslation as _0x85c322}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x4a792f}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;function _0x312a(_0x5a9854,_0x5bf557){const _0x4b7aa0=_0x4b7a();return _0x312a=function(_0x312aef,_0x10787f){_0x312aef=_0x312aef-0x190;let _0x51ec9d=_0x4b7aa0[_0x312aef];return _0x51ec9d;},_0x312a(_0x5a9854,_0x5bf557);}export class CommentThreadHeaderView extends _0x2c404d{[_0xc1b50e(0x1c5)];[_0xc1b50e(0x1a2)];[_0xc1b50e(0x1b4)];[_0xc1b50e(0x1a5)];[_0xc1b50e(0x1a4)];[_0xc1b50e(0x1d8)];[_0xc1b50e(0x1b6)];constructor(_0x4fbc1f,_0x3dba8d){const _0x5e542f=_0xc1b50e;super(_0x4fbc1f);const _0x40b072=this[_0x5e542f(0x1c9)];this[_0x5e542f(0x1c5)]=_0x3dba8d,this[_0x5e542f(0x1a2)]=this[_0x5e542f(0x1cb)](),this[_0x5e542f(0x1b4)]=this[_0x5e542f(0x1b1)](),this[_0x5e542f(0x1a5)]=this[_0x5e542f(0x1b5)]([this[_0x5e542f(0x1b4)],this[_0x5e542f(0x1a2)]]),this[_0x5e542f(0x1a4)]=new _0x34e17d(),this[_0x5e542f(0x1d8)]=new _0x20d0f5(),this[_0x5e542f(0x1b6)]=new _0xb67682({'focusables':this[_0x5e542f(0x1a5)],'focusTracker':this[_0x5e542f(0x1a4)],'keystrokeHandler':this[_0x5e542f(0x1d8)],'actions':{'focusPrevious':_0x5e542f(0x1b3),'focusNext':_0x5e542f(0x1c2)}}),this[_0x5e542f(0x1ba)](_0x5e542f(0x1c6))['to'](this[_0x5e542f(0x1c5)],_0x5e542f(0x19d),_0x310525=>!!_0x310525),this[_0x5e542f(0x1ba)](_0x5e542f(0x1ca))['to'](this[_0x5e542f(0x1c5)],_0x5e542f(0x19d),_0xe6e169=>_0xe6e169&&_0xe6e169[_0x5e542f(0x1d2)]?this[_0x5e542f(0x1a8)](_0xe6e169[_0x5e542f(0x1d2)]):_0x85c322(this[_0x5e542f(0x1c8)],_0x5e542f(0x1a9))),this[_0x5e542f(0x1be)]({'tag':_0x5e542f(0x1ae),'attributes':{'class':[_0x5e542f(0x1ce)]},'children':[{'tag':_0x5e542f(0x1ae),'attributes':{'class':[_0x5e542f(0x1bc)]},'children':[{'tag':_0x5e542f(0x1ae),'attributes':{'class':[_0x5e542f(0x1b2),_0x40b072['if'](_0x5e542f(0x1c6),_0x5e542f(0x199))]},'children':[this[_0x5e542f(0x1b4)]]}]},{'tag':_0x5e542f(0x1ae),'attributes':{'class':[_0x5e542f(0x1a6)]},'children':[this[_0x5e542f(0x1a2)]]}]});}[_0xc1b50e(0x19c)](){const _0x46ab36=_0xc1b50e;super[_0x46ab36(0x19c)](),this[_0x46ab36(0x19f)](),this[_0x46ab36(0x191)]();}[_0xc1b50e(0x1d7)](){const _0x5048a0=_0xc1b50e;this[_0x5048a0(0x1b6)][_0x5048a0(0x1af)]();}[_0xc1b50e(0x1cb)](){const _0x4afba3=_0xc1b50e,_0x36f564=new _0x3e6594(this[_0x4afba3(0x1c8)]);return _0x36f564[_0x4afba3(0x1aa)]=_0x85c322(this[_0x4afba3(0x1c8)],_0x4afba3(0x1d1)),_0x36f564[_0x4afba3(0x1c4)]=_0x85c322(this[_0x4afba3(0x1c8)],_0x4afba3(0x1d1)),_0x36f564[_0x4afba3(0x1c3)]=_0x4f5606,_0x36f564[_0x4afba3(0x1ba)](_0x4afba3(0x194))['to'](this[_0x4afba3(0x1c5)],_0x4afba3(0x197),_0x4f62df=>!_0x4f62df),_0x36f564[_0x4afba3(0x1ba)](_0x4afba3(0x1cd))['to'](this[_0x4afba3(0x1c5)],_0x4afba3(0x1c1),this[_0x4afba3(0x1c5)],_0x4afba3(0x19b),(_0x215e1d,_0x18f2dc)=>_0x215e1d&&_0x18f2dc),_0x36f564['on'](_0x4afba3(0x1b7),()=>{const _0x593e4b=_0x4afba3;this[_0x593e4b(0x1b8)](_0x593e4b(0x1bd),this[_0x593e4b(0x1c5)]['id']);}),_0x36f564;}[_0xc1b50e(0x1a8)](_0x284ef4){const _0x833c54=_0xc1b50e;if(_0x284ef4[_0x833c54(0x1a0)]<0x96)return _0x284ef4;const _0x1e24bc=_0x284ef4[_0x833c54(0x1a3)]('\x20',0x93);return _0x284ef4[_0x833c54(0x1d3)](0x0,_0x1e24bc>-0x1?_0x1e24bc:0x93)+_0x833c54(0x1d0);}[_0xc1b50e(0x19f)](){const _0x560b05=_0xc1b50e,_0x367326=this[_0x560b05(0x19e)][_0x560b05(0x1cf)](_0x560b05(0x1b0)),_0x30b17d=_0x367326[_0x560b05(0x1cf)](_0x560b05(0x1c0));this[_0x560b05(0x198)](_0x367326,_0x560b05(0x1d5),()=>{const _0xb24595=_0x560b05;_0x30b17d[_0xb24595(0x1ab)]<_0x30b17d[_0xb24595(0x1ac)]&&_0x367326[_0xb24595(0x196)][_0xb24595(0x1bf)](_0xb24595(0x193));}),this[_0x560b05(0x198)](_0x367326,_0x560b05(0x1d4),()=>{const _0x531bd0=_0x560b05;_0x367326[_0x531bd0(0x196)][_0x531bd0(0x1d6)](_0x531bd0(0x193));});}[_0xc1b50e(0x191)](){const _0x123f6a=_0xc1b50e;this[_0x123f6a(0x1d8)][_0x123f6a(0x198)](this[_0x123f6a(0x19e)]);for(const _0x191bcc of this[_0x123f6a(0x1a5)])this[_0x123f6a(0x1a4)][_0x123f6a(0x1bf)](_0x191bcc[_0x123f6a(0x19e)]),this[_0x123f6a(0x1d8)][_0x123f6a(0x198)](_0x191bcc[_0x123f6a(0x19e)]);}[_0xc1b50e(0x1b1)](){const _0x483f76=_0xc1b50e,_0x272f06=new _0x4a792f(this[_0x483f76(0x1c8)]);return _0x272f06[_0x483f76(0x1ba)](_0x483f76(0x1ca))['to'](this),_0x272f06;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55d736=_0x3d24;(function(_0xc08933,_0x1a32b4){const _0x35120e=_0x3d24,_0x2fcde9=_0xc08933();while(!![]){try{const _0x40153a=-parseInt(_0x35120e(0x192))/0x1*(-parseInt(_0x35120e(0x19a))/0x2)+-parseInt(_0x35120e(0x1c1))/0x3+parseInt(_0x35120e(0x1b8))/0x4+parseInt(_0x35120e(0x197))/0x5*(-parseInt(_0x35120e(0x1a7))/0x6)+parseInt(_0x35120e(0x1b3))/0x7*(-parseInt(_0x35120e(0x19b))/0x8)+-parseInt(_0x35120e(0x1af))/0x9*(parseInt(_0x35120e(0x199))/0xa)+parseInt(_0x35120e(0x19f))/0xb*(parseInt(_0x35120e(0x1c0))/0xc);if(_0x40153a===_0x1a32b4)break;else _0x2fcde9['push'](_0x2fcde9['shift']());}catch(_0x2b5f83){_0x2fcde9['push'](_0x2fcde9['shift']());}}}(_0x3e24,0xdb6aa));function _0x3e24(){const _0x3a0728=['focusCycler','setTemplate','value','ck-thread__user','4359968nYCNFR','editorDestroyed','bindTemplate','listenTo','userView','focusTracker','editorReady','then','48xHPllJ','3823122bJJwkC','getDomRoot','showInput','preventDefault','render','1rYNSjD','change:showInput','showButtons','view','ck-thread__input','135PuZNGJ','mousedown','38670IsawRd','2922658wGTGwp','1384RXgUlE','filter','_focusOnNonInteractiveMouseDown','some','5390484SyOCYn','delegate','bind','set','destroy','element','contains','commentInputView','103098kdffbi','target','isFocused','div','editor','editing','ck-comment__input-container','extendTemplate','459FNiiOs','focus','ck-comment__input-container--active','createEditor','67865avxnhw'];_0x3e24=function(){return _0x3a0728;};return _0x3e24();}function _0x3d24(_0x4ed4ae,_0xf3a5a7){const _0x3e240f=_0x3e24();return _0x3d24=function(_0x3d2433,_0x34ef34){_0x3d2433=_0x3d2433-0x191;let _0x1e1888=_0x3e240f[_0x3d2433];return _0x1e1888;},_0x3d24(_0x4ed4ae,_0xf3a5a7);}import{View as _0x1fecda}from'ckeditor5/src/ui.js';import{CommentInputView as _0x4bc086}from'./commentinputview.js';import{UserView as _0x250c94}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x1fecda{constructor(_0x57f794,_0x476932,_0x5d7090){const _0x3348f7=_0x3d24;super(_0x57f794),this[_0x3348f7(0x1a6)]=new _0x4bc086(_0x57f794,_0x5d7090),this[_0x3348f7(0x1b4)]=this[_0x3348f7(0x1a6)][_0x3348f7(0x1b4)],this[_0x3348f7(0x1a6)][_0x3348f7(0x1a1)](_0x3348f7(0x194))['to'](this[_0x3348f7(0x1a6)][_0x3348f7(0x1bd)],_0x3348f7(0x1a9),this[_0x3348f7(0x1a6)],_0x3348f7(0x1b6),(_0x42a7d9,_0x150d5e)=>_0x42a7d9||!!_0x150d5e),this[_0x3348f7(0x1a2)](_0x3348f7(0x1c3),!0x1),this['on'](_0x3348f7(0x193),()=>{const _0x5d9a73=_0x3348f7;this[_0x5d9a73(0x1c3)]&&!this[_0x5d9a73(0x1a6)][_0x5d9a73(0x1ab)]&&this[_0x5d9a73(0x1a6)][_0x5d9a73(0x1b2)]();}),this[_0x3348f7(0x1a6)][_0x3348f7(0x1a0)](_0x3348f7(0x1be))['to'](this),this[_0x3348f7(0x1a6)][_0x3348f7(0x1a0)](_0x3348f7(0x1b9))['to'](this),this[_0x3348f7(0x1bc)]=new _0x250c94(_0x57f794,_0x476932),this[_0x3348f7(0x1bc)][_0x3348f7(0x1ae)]({'attributes':{'class':_0x3348f7(0x1b7),'aria-hidden':!0x0}}),this[_0x3348f7(0x1a6)][_0x3348f7(0x1ae)]({'attributes':{'class':_0x3348f7(0x196)}}),this[_0x3348f7(0x1b5)]({'tag':_0x3348f7(0x1aa),'attributes':{'class':[_0x3348f7(0x1ad),this[_0x3348f7(0x1ba)]['if'](_0x3348f7(0x1c3),_0x3348f7(0x1b1))]},'children':[this[_0x3348f7(0x1bc)],this[_0x3348f7(0x1a6)]]});}[_0x55d736(0x191)](){const _0x2d57e8=_0x55d736;super[_0x2d57e8(0x191)](),this[_0x2d57e8(0x19d)]();}[_0x55d736(0x1a3)](){const _0x277815=_0x55d736;return this[_0x277815(0x1a6)][_0x277815(0x1a3)]()[_0x277815(0x1bf)](()=>super[_0x277815(0x1a3)]());}[_0x55d736(0x1b0)](_0x7ab7ae){const _0x33ebbd=_0x55d736;this[_0x33ebbd(0x1a6)][_0x33ebbd(0x1b0)](_0x7ab7ae);}[_0x55d736(0x19d)](){const _0x47f4ae=_0x55d736;this[_0x47f4ae(0x1bb)](this[_0x47f4ae(0x1a4)],_0x47f4ae(0x198),(_0x52a2de,_0x15a49a)=>{const _0x117e78=_0x47f4ae,{submitButtonView:_0x596845,cancelButtonView:_0x5deab4,editor:_0x32f3b1}=this[_0x117e78(0x1a6)];[_0x596845[_0x117e78(0x1a4)],_0x5deab4[_0x117e78(0x1a4)],_0x32f3b1?_0x32f3b1[_0x117e78(0x1ac)][_0x117e78(0x195)][_0x117e78(0x1c2)]():null][_0x117e78(0x19c)](_0x14b713=>_0x14b713)[_0x117e78(0x19e)](_0x158066=>_0x158066[_0x117e78(0x1a5)](_0x15a49a[_0x117e78(0x1a8)]))||(this[_0x117e78(0x1b0)](),_0x15a49a[_0x117e78(0x1c4)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x15514b=_0xe38c;(function(_0x5d39b8,_0x35ec8e){const _0x5c357e=_0xe38c,_0x2c9480=_0x5d39b8();while(!![]){try{const _0x2cd6ba=-parseInt(_0x5c357e(0xd5))/0x1+-parseInt(_0x5c357e(0x98))/0x2*(-parseInt(_0x5c357e(0xc9))/0x3)+parseInt(_0x5c357e(0xce))/0x4*(-parseInt(_0x5c357e(0xc3))/0x5)+-parseInt(_0x5c357e(0xc2))/0x6+-parseInt(_0x5c357e(0xa4))/0x7*(-parseInt(_0x5c357e(0xaa))/0x8)+parseInt(_0x5c357e(0xa5))/0x9*(parseInt(_0x5c357e(0xd4))/0xa)+-parseInt(_0x5c357e(0xa7))/0xb*(-parseInt(_0x5c357e(0xac))/0xc);if(_0x2cd6ba===_0x35ec8e)break;else _0x2c9480['push'](_0x2c9480['shift']());}catch(_0x1f4024){_0x2c9480['push'](_0x2c9480['shift']());}}}(_0x3bb2,0xedad7));import{ConfirmMixin as _0x565374,LateFocusButtonView as _0x3ea6f5}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3bb2(){const _0x17f849=['set','createCollection','.ck-thread__container','tooltip','render','locale','isReadOnly','_model','change:isReadOnly','949236TNyFhK','8864910tUBAaV','icon','ck-rounded-corners','element','add','label','140427IxtLHj','ck-thread--','focusables','isResolved','isSystemComment','4lfcjic','get','_createResolveButton','showConfirm','containerElement','commentThreadInputView','6230PyhkMV','1758979BKNwxI','execute','Write\x20a\x20comment...','_boundFirstCommentView','bind','actionBar','_bindFirstCommentView','commentThreadHeaderView','high','stop','resolveButton','querySelector','getTemplate','fire','listenTo','div','ck-comment--resolve','change:archivedAt','extendTemplate','focus','archivedAt','cancelConfirm','isUnlinked','ck-reset_all-excluded','Resolve','Delete\x20comment\x20thread?','setTemplate','then','unbind','42wYPkOG','placeholder','removeCommentThread','change:isActive','_cancelAllConfirms','removeConfirm','length','has','ariaLabel','isEnabled','commentThreadChildren','ck-thread--unlinked','3535049gcouAA','8154npwmrh','removeButton','11SWMwvA','commentViews','actionIndicator','16UUBUUa','isVisible','25275036JcXvqw','ck-thread--active','ck-thread','_updateArchivedThreadHeader','isActive','bindTemplate','isResolvable','commentsListView','ck-thread__container','remove','resolveCommentThread','ariaDescriptionView','listitem'];_0x3bb2=function(){return _0x17f849;};return _0x3bb2();}import{IconCheck as _0x568f45}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x1c8810}from'./basecommentthreadview.js';function _0xe38c(_0x13f9f6,_0x1ebd27){const _0x3bb28d=_0x3bb2();return _0xe38c=function(_0xe38cdd,_0x1fe509){_0xe38cdd=_0xe38cdd-0x92;let _0x2cc4d4=_0x3bb28d[_0xe38cdd];return _0x2cc4d4;},_0xe38c(_0x13f9f6,_0x1ebd27);}import{getTranslation as _0x355279}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x565374(_0x1c8810){[_0x15514b(0xa2)];[_0x15514b(0xd2)];[_0x15514b(0xdf)];[_0x15514b(0xd8)];constructor(_0x11927c,_0x30781a,_0x400331,_0x584fce){const _0x1ea581=_0x15514b;super(_0x11927c,_0x30781a,_0x400331,_0x584fce),this[_0x1ea581(0xa2)]=this[_0x1ea581(0xba)]([this[_0x1ea581(0xb3)],this[_0x1ea581(0xd3)],this[_0x1ea581(0xb7)]]),this[_0x1ea581(0xb9)](_0x1ea581(0xa9),null),this[_0x1ea581(0xd2)]=null,this[_0x1ea581(0xd8)]=null,this[_0x1ea581(0xbe)]=_0x11927c,this[_0x1ea581(0xdf)]=this[_0x1ea581(0xd0)](),this[_0x1ea581(0x95)](this[_0x1ea581(0xe1)]()),this['on'](_0x1ea581(0x9b),(_0x9a56e2,_0x4459ce,_0x59e8fe)=>{const _0xcad6f4=_0x1ea581;_0x59e8fe||this[_0xcad6f4(0x9c)]();}),this[_0x1ea581(0xe3)](this[_0x1ea581(0xc0)],_0x1ea581(0xc1),(_0x2af1bb,_0xefb9ca,_0x525a3f)=>{const _0x29edf5=_0x1ea581;_0x525a3f&&this[_0x29edf5(0x9c)]();}),this[_0x1ea581(0x9e)]>0x0&&this[_0x1ea581(0xdb)](),this[_0x1ea581(0xe3)](this[_0x1ea581(0xb3)][_0x1ea581(0xa8)],_0x1ea581(0xc7),()=>{const _0x45d6c4=_0x1ea581;this[_0x45d6c4(0xdb)]();});}[_0x15514b(0xe1)](){const _0x369d87=_0x15514b,_0x30d9ed=this[_0x369d87(0xb1)];return{'tag':_0x369d87(0xe4),'attributes':{'class':['ck',_0x369d87(0xae),_0x369d87(0x92),_0x369d87(0xc5),_0x30d9ed['if'](_0x369d87(0xb0),_0x369d87(0xad)),_0x30d9ed['if'](_0x369d87(0xeb),_0x369d87(0xa3)),_0x30d9ed['to'](_0x369d87(0xa9),_0x3ad336=>_0x3ad336?_0x369d87(0xca)+_0x3ad336:'')],'data-thread-id':this[_0x369d87(0xc0)]['id'],'tabindex':0x0,'role':_0x369d87(0xb8),'aria-label':_0x30d9ed['to'](_0x369d87(0xa0)),'aria-describedby':this[_0x369d87(0xb7)]['id']},'children':[{'tag':_0x369d87(0xe4),'attributes':{'class':_0x369d87(0xb4)},'children':this[_0x369d87(0xa2)]}]};}[_0x15514b(0xbd)](){const _0x5605bf=_0x15514b;super[_0x5605bf(0xbd)](),this[_0x5605bf(0xd2)]=this[_0x5605bf(0xc6)][_0x5605bf(0xe0)](_0x5605bf(0xbb)),this[_0x5605bf(0xc0)]['on'](_0x5605bf(0xe6),()=>{const _0x26a453=_0x5605bf;this[_0x26a453(0xaf)]();}),this[_0x5605bf(0xaf)]();}[_0x15514b(0x9c)](){const _0x327079=_0x15514b;this[_0x327079(0xea)]();for(const _0x213110 of this[_0x327079(0xb3)][_0x327079(0xa8)])_0x213110[_0x327079(0xea)]();}[_0x15514b(0xdb)](){const _0x567ba4=_0x15514b,{locale:_0x1667c5}=this,_0x303edc=this[_0x567ba4(0xb3)][_0x567ba4(0xa8)][_0x567ba4(0xcf)](0x0);_0x303edc===this[_0x567ba4(0xd8)]||_0x303edc[_0x567ba4(0xcd)]||(this[_0x567ba4(0xd8)]=_0x303edc,this[_0x567ba4(0x97)](_0x567ba4(0xa9)),this[_0x567ba4(0xd9)](_0x567ba4(0xa9))['to'](_0x303edc,_0x567ba4(0xa9),_0x3d54c8=>_0x567ba4(0xb5)===_0x3d54c8?_0x567ba4(0xb5):null),_0x303edc[_0x567ba4(0x99)]=_0x355279(_0x1667c5,_0x567ba4(0xd7)),_0x303edc[_0x567ba4(0xa6)]['on'](_0x567ba4(0xd6),_0x233e1a=>{const _0x6c2533=_0x567ba4;_0x233e1a[_0x6c2533(0xde)](),this[_0x6c2533(0xd1)](_0x355279(_0x1667c5,_0x6c2533(0x94)),this[_0x6c2533(0xd2)])[_0x6c2533(0x96)](()=>{const _0xd27618=_0x6c2533;this[_0xd27618(0xe2)](_0xd27618(0x9a));});},{'priority':_0x567ba4(0xdd)}),this['on'](_0x567ba4(0x9d),()=>{const _0x57a374=_0x567ba4;_0x303edc[_0x57a374(0xe8)]();}),_0x303edc[_0x567ba4(0xda)][_0x567ba4(0xc7)](this[_0x567ba4(0xdf)],0x0),_0x303edc[_0x567ba4(0xcb)][_0x567ba4(0xc7)](this[_0x567ba4(0xdf)],0x0));}[_0x15514b(0xd0)](){const _0x589058=_0x15514b,_0x457c0d=new _0x3ea6f5(this[_0x589058(0xbe)]);return _0x457c0d[_0x589058(0xc8)]=_0x355279(this[_0x589058(0xbe)],_0x589058(0x93)),_0x457c0d[_0x589058(0xbc)]=_0x355279(this[_0x589058(0xbe)],_0x589058(0x93)),_0x457c0d[_0x589058(0xc4)]=_0x568f45,_0x457c0d[_0x589058(0xe7)]({'attributes':{'class':_0x589058(0xe5)}}),_0x457c0d[_0x589058(0xd9)](_0x589058(0xa1))['to'](this[_0x589058(0xc0)],_0x589058(0xbf),_0x277392=>!_0x277392),_0x457c0d[_0x589058(0xd9)](_0x589058(0xab))['to'](this[_0x589058(0xc0)],_0x589058(0xb2),this[_0x589058(0xc0)],_0x589058(0xcc),(_0x1cbddf,_0x2ac312)=>_0x1cbddf&&!_0x2ac312),_0x457c0d['on'](_0x589058(0xd6),()=>{const _0x2685c8=_0x589058;this[_0x2685c8(0xe2)](_0x2685c8(0xb6),this[_0x2685c8(0xc0)]['id']);}),_0x457c0d;}[_0x15514b(0xaf)](){const _0x3d9e3f=_0x15514b;this[_0x3d9e3f(0xc0)][_0x3d9e3f(0xe9)]?this[_0x3d9e3f(0xa2)][_0x3d9e3f(0x9f)](this[_0x3d9e3f(0xdc)])||(this[_0x3d9e3f(0xa2)][_0x3d9e3f(0xc7)](this[_0x3d9e3f(0xdc)],0x0),this[_0x3d9e3f(0xcb)][_0x3d9e3f(0xc7)](this[_0x3d9e3f(0xdc)],0x0)):this[_0x3d9e3f(0xa2)][_0x3d9e3f(0x9f)](this[_0x3d9e3f(0xdc)])&&(this[_0x3d9e3f(0xa2)][_0x3d9e3f(0xb5)](this[_0x3d9e3f(0xdc)]),this[_0x3d9e3f(0xcb)][_0x3d9e3f(0xb5)](this[_0x3d9e3f(0xdc)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x257b69=_0x2beb;function _0x20ee(){const _0x3832b3=['authoredAt','246849qSHaBx','ck-annotation__actions--hidden','author','change:isRemovable','resolvedAt','toMany','ck-comment','listenTo','items','extendTemplate','focusables','bindTemplate','isRemovable','ck-annotation__main','mouseenter','withText','time','formatDateTime','some','27YWFQpw','userView','ck-annotation__info','listitem','3495960shvRdY','blur','Remove','ariaLabel','then','editButton','showConfirm','_createCommentInputView','ck-comment__info-name','ck-comment__info','locale','add','find','panelView','ck-annotation__info-name','switchToEditMode','mouseleave','_attachActions','placeholder','edit','addMany','ariaDescriptionView','isSystemComment','fire','ck-comment--edit','removeButton','ck-annotation__info-time','_createDropdown','cancelConfirm','div','ck-comment__wrapper','_createEditButton','isEditMode','icon','isEditable','ck-comment--','7514530lrMVBK','unbind','from','getUserViewNotificationText','2whNoLD','28UaQajN','focus','498758OPXYDZ','ck-comment__actions','remove','3849105UiHacp','name','span','render','ck-annotation__user','Delete\x20comment?','ck-comment__main','Edit','ck-hidden','ck-comment__actions--hidden','ck-comment__user','Show\x20more\x20items','ck-comment--remove','push','isEnabled','isVisible','2803801AOVvHn','children','ck-comment__external','visibleView','createCollection','panelPosition','dropdown','set','group','ck-comment--info','length','getExternalCommentNote','ck-comment__info-time','isReadOnly','setTemplate','getTemplate','ck-annotation__content-wrapper','bind','ck-annotation','actionBar','ck-annotation__actions','actionIndicator','element','_createRemoveButton','execute','_config','removeComment','_model','Reply...','buttonView','label','isExternal','5314566mrucib'];_0x20ee=function(){return _0x3832b3;};return _0x20ee();}(function(_0x2748d7,_0x14251b){const _0xcc242a=_0x2beb,_0xd25a53=_0x2748d7();while(!![]){try{const _0x11d05f=-parseInt(_0xcc242a(0x24e))/0x1*(-parseInt(_0xcc242a(0x24b))/0x2)+-parseInt(_0xcc242a(0x20c))/0x3*(-parseInt(_0xcc242a(0x24c))/0x4)+parseInt(_0xcc242a(0x251))/0x5+parseInt(_0xcc242a(0x20a))/0x6+-parseInt(_0xcc242a(0x1ea))/0x7+parseInt(_0xcc242a(0x223))/0x8+parseInt(_0xcc242a(0x21f))/0x9*(-parseInt(_0xcc242a(0x247))/0xa);if(_0x11d05f===_0x14251b)break;else _0xd25a53['push'](_0xd25a53['shift']());}catch(_0x35cc2e){_0xd25a53['push'](_0xd25a53['shift']());}}}(_0x20ee,0x7d19e));import{IconRemoveComment as _0x765b8c,IconPencil as _0x13c64b,IconThreeVerticalDots as _0x2e3eb3}from'ckeditor5/src/icons.js';function _0x2beb(_0x5aca6f,_0x5f1b77){const _0x20ee43=_0x20ee();return _0x2beb=function(_0x2bebfb,_0x2e91ac){_0x2bebfb=_0x2bebfb-0x1e5;let _0x52db2c=_0x20ee43[_0x2bebfb];return _0x52db2c;},_0x2beb(_0x5aca6f,_0x5f1b77);}import{ButtonView as _0x529123,createDropdown as _0x1f7b64,ListView as _0x183132,ListItemView as _0xf6bb4c,focusChildOnDropdownOpen as _0x5bbe8b}from'ckeditor5/src/ui.js';import{UserView as _0x19837,ConfirmMixin as _0x3efb36,LateFocusDropdownButtonView as _0x2331cd}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x17779d}from'./basecommentview.js';import{getTranslation as _0x1e5440}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3efb36(_0x17779d){[_0x257b69(0x1fd)];[_0x257b69(0x220)];constructor(_0x512af3,_0x32e38a,_0x3efe0d){const _0x44f630=_0x257b69;super(_0x512af3,_0x32e38a,_0x3efe0d),this[_0x44f630(0x1f1)](_0x44f630(0x1ff),null),this[_0x44f630(0x1f1)](_0x44f630(0x235),_0x1e5440(_0x512af3,_0x44f630(0x206))),this[_0x44f630(0x1fb)](_0x44f630(0x20b))['to'](_0x32e38a),this[_0x44f630(0x1fb)](_0x44f630(0x210))['to'](_0x32e38a),this[_0x44f630(0x1fd)]=this[_0x44f630(0x1ee)](),this[_0x44f630(0x239)]||(this[_0x44f630(0x228)]=this[_0x44f630(0x242)](),this[_0x44f630(0x23c)]=this[_0x44f630(0x201)](),this[_0x44f630(0x214)]=this[_0x44f630(0x1ee)](),this[_0x44f630(0x214)][_0x44f630(0x237)]([this[_0x44f630(0x228)],this[_0x44f630(0x23c)]]),this[_0x44f630(0x1f0)]=this[_0x44f630(0x23e)](),this[_0x44f630(0x1fd)][_0x44f630(0x22e)](this[_0x44f630(0x1f0)]),this[_0x44f630(0x216)][_0x44f630(0x22e)](this[_0x44f630(0x1f0)])),this[_0x44f630(0x220)]=new _0x19837(_0x512af3,_0x32e38a[_0x44f630(0x20e)],this[_0x44f630(0x24a)]()),this[_0x44f630(0x220)][_0x44f630(0x215)]({'attributes':{'class':[_0x44f630(0x25b),_0x44f630(0x255)],'aria-hidden':!0x0}}),this[_0x44f630(0x213)](_0x32e38a,_0x44f630(0x20f),()=>this[_0x44f630(0x23f)]()),this[_0x44f630(0x1f8)](this[_0x44f630(0x1f9)]());}[_0x257b69(0x1f9)](){const _0xc7af1e=_0x257b69,_0xec6ec3=this[_0xc7af1e(0x217)],_0x14043a=[{'tag':_0xc7af1e(0x240),'attributes':{'class':[_0xc7af1e(0x22c),_0xc7af1e(0x221)]},'children':[{'tag':_0xc7af1e(0x253),'children':[{'text':this[_0xc7af1e(0x220)][_0xc7af1e(0x252)]}],'attributes':{'class':[_0xc7af1e(0x22b),_0xc7af1e(0x231)],'data-cke-tooltip-text':this[_0xc7af1e(0x220)][_0xc7af1e(0x252)]}},{'tag':_0xc7af1e(0x21c),'attributes':{'datetime':_0xec6ec3['to'](_0xc7af1e(0x20b)),'class':[_0xc7af1e(0x1f6),_0xc7af1e(0x23d)]},'children':[{'text':_0xec6ec3['to'](_0xc7af1e(0x20b),_0xc02b4=>this[_0xc7af1e(0x203)][_0xc7af1e(0x21d)](_0xc02b4))}]}]},{'tag':_0xc7af1e(0x240),'attributes':{'class':[_0xc7af1e(0x24f),_0xc7af1e(0x1fe),_0xec6ec3['if'](_0xc7af1e(0x243),_0xc7af1e(0x25a)),_0xec6ec3['if'](_0xc7af1e(0x243),_0xc7af1e(0x20d))]},'children':this[_0xc7af1e(0x1fd)]},{'tag':_0xc7af1e(0x240),'attributes':{'class':[_0xc7af1e(0x1fa)]},'children':this[_0xc7af1e(0x1ed)]},this[_0xc7af1e(0x238)]];return this[_0xc7af1e(0x205)][_0xc7af1e(0x209)]&&_0x14043a[_0xc7af1e(0x1e7)]({'tag':_0xc7af1e(0x240),'attributes':{'class':[_0xc7af1e(0x1ec)]},'children':[{'text':this[_0xc7af1e(0x1f5)]()}]}),{'tag':'li','attributes':{'class':[_0xc7af1e(0x241)],'tabindex':-0x1,'aria-label':_0xec6ec3['to'](_0xc7af1e(0x226)),'aria-describedby':this[_0xc7af1e(0x238)]['id'],'role':_0xc7af1e(0x222)},'children':[{'tag':_0xc7af1e(0x240),'attributes':{'class':[_0xc7af1e(0x212),_0xc7af1e(0x1fc),_0xec6ec3['if'](_0xc7af1e(0x243),_0xc7af1e(0x23b)),_0xec6ec3['if'](_0xc7af1e(0x239),_0xc7af1e(0x1f3)),_0xec6ec3['to'](_0xc7af1e(0x1ff),_0xba46c8=>_0xba46c8?_0xc7af1e(0x246)+_0xba46c8:'')],'data-author-id':this[_0xc7af1e(0x205)][_0xc7af1e(0x20e)]['id'],'data-comment-id':this[_0xc7af1e(0x205)]['id'],'role':_0xc7af1e(0x1f2)},'children':[this[_0xc7af1e(0x220)],{'tag':_0xc7af1e(0x240),'attributes':{'class':[_0xc7af1e(0x257),_0xc7af1e(0x219)]},'children':_0x14043a}]}]};}[_0x257b69(0x242)](){const _0x22faf5=_0x257b69,_0x32520d=new _0x529123(this[_0x22faf5(0x22d)]);return _0x32520d[_0x22faf5(0x208)]=_0x1e5440(this[_0x22faf5(0x22d)],_0x22faf5(0x258)),_0x32520d[_0x22faf5(0x244)]=_0x13c64b,_0x32520d[_0x22faf5(0x21b)]=!0x0,_0x32520d[_0x22faf5(0x215)]({'attributes':{'class':_0x22faf5(0x23b)}}),_0x32520d[_0x22faf5(0x1fb)](_0x22faf5(0x1e8))['to'](this[_0x22faf5(0x205)],_0x22faf5(0x1f7),_0x4a0916=>!_0x4a0916),_0x32520d[_0x22faf5(0x1fb)](_0x22faf5(0x1e9))['to'](this[_0x22faf5(0x205)],_0x22faf5(0x245)),_0x32520d['on'](_0x22faf5(0x202),()=>this[_0x22faf5(0x232)]()),_0x32520d;}[_0x257b69(0x201)](){const _0xcee4b7=_0x257b69,_0x4d943c=new _0x529123(this[_0xcee4b7(0x22d)]);return _0x4d943c[_0xcee4b7(0x208)]=_0x1e5440(this[_0xcee4b7(0x22d)],_0xcee4b7(0x225)),_0x4d943c[_0xcee4b7(0x244)]=_0x765b8c,_0x4d943c[_0xcee4b7(0x21b)]=!0x0,_0x4d943c[_0xcee4b7(0x215)]({'attributes':{'class':_0xcee4b7(0x1e6)}}),_0x4d943c[_0xcee4b7(0x1fb)](_0xcee4b7(0x1e8))['to'](this[_0xcee4b7(0x205)],_0xcee4b7(0x1f7),_0x4286a1=>!_0x4286a1),_0x4d943c[_0xcee4b7(0x1fb)](_0xcee4b7(0x1e9))['to'](this[_0xcee4b7(0x205)],_0xcee4b7(0x218)),_0x4d943c['on'](_0xcee4b7(0x202),()=>{const _0x1168f6=_0xcee4b7;this[_0x1168f6(0x229)](_0x1e5440(this[_0x1168f6(0x22d)],_0x1168f6(0x256)),this[_0x1168f6(0x200)])[_0x1168f6(0x227)](()=>{const _0x512483=_0x1168f6;this[_0x512483(0x23a)](_0x512483(0x204),this[_0x512483(0x205)]['id']);});}),_0x4d943c;}[_0x257b69(0x23e)](){const _0x8a5269=_0x257b69,_0x2262d0=_0x1f7b64(this[_0x8a5269(0x22d)],_0x2331cd),_0x15b28b=_0x2262d0[_0x8a5269(0x230)][_0x8a5269(0x1eb)],_0x332011=new _0x183132(this[_0x8a5269(0x22d)]),_0x5d6605=_0x2262d0[_0x8a5269(0x217)];_0x5bbe8b(_0x2262d0,()=>this[_0x8a5269(0x214)][_0x8a5269(0x22f)](_0x46b1a1=>_0x46b1a1[_0x8a5269(0x1e9)])),_0x2262d0[_0x8a5269(0x215)]({'attributes':{'class':[_0x5d6605['if'](_0x8a5269(0x1e9),_0x8a5269(0x259),_0x3fc2ba=>!_0x3fc2ba)]}});const _0x65169a=(_0x529937,_0x28096a=-0x1)=>{const _0x170b73=_0x8a5269,_0x5a7a92=new _0xf6bb4c(this[_0x170b73(0x22d)]);_0x5a7a92[_0x170b73(0x1eb)][_0x170b73(0x22e)](_0x529937);const _0x2cfc9d=_0x28096a>-0x1?_0x28096a:_0x332011[_0x170b73(0x214)][_0x170b73(0x1f4)];_0x332011[_0x170b73(0x214)][_0x170b73(0x22e)](_0x5a7a92,_0x2cfc9d);const _0x4b6f50=Array[_0x170b73(0x249)](this[_0x170b73(0x214)]);_0x2262d0[_0x170b73(0x248)](_0x170b73(0x1e8),_0x170b73(0x1e9)),_0x2262d0[_0x170b73(0x1fb)](_0x170b73(0x1e8))[_0x170b73(0x211)](_0x4b6f50,_0x170b73(0x1e8),(..._0x5495e5)=>_0x5495e5[_0x170b73(0x21e)](_0x1522fe=>_0x1522fe)),_0x2262d0[_0x170b73(0x1fb)](_0x170b73(0x1e9))[_0x170b73(0x211)](_0x4b6f50,_0x170b73(0x1e9),(..._0x3e472c)=>_0x3e472c[_0x170b73(0x21e)](_0x5282e7=>_0x5282e7));};_0x2262d0[_0x8a5269(0x1ef)]='sw',_0x2262d0[_0x8a5269(0x207)][_0x8a5269(0x1f1)]({'label':_0x1e5440(this[_0x8a5269(0x22d)],_0x8a5269(0x1e5)),'icon':_0x2e3eb3});for(const _0x3194fa of this[_0x8a5269(0x214)])_0x65169a(_0x3194fa);return _0x15b28b[_0x8a5269(0x22e)](_0x332011),_0x2262d0[_0x8a5269(0x213)](this[_0x8a5269(0x214)],_0x8a5269(0x22e),(_0x3b7c88,_0x1120f0,_0x4f43a0)=>{_0x65169a(_0x1120f0,_0x4f43a0);}),_0x2262d0[_0x8a5269(0x213)](this[_0x8a5269(0x214)],_0x8a5269(0x250),(_0x5dba3d,_0x52c3e7,_0x2310fc)=>{const _0x639da7=_0x8a5269;_0x332011[_0x639da7(0x214)][_0x639da7(0x250)](_0x2310fc);}),_0x2262d0;}[_0x257b69(0x234)](_0x325f54,_0x454e0e){const _0x30f724=_0x257b69,_0x4d2133=_0x325f54&&_0x325f54[_0x30f724(0x200)];_0x4d2133&&(this[_0x30f724(0x213)](_0x4d2133,_0x30f724(0x21a),()=>this[_0x30f724(0x1ff)]=_0x454e0e),this[_0x30f724(0x213)](_0x4d2133,_0x30f724(0x24d),()=>this[_0x30f724(0x1ff)]=_0x454e0e),this[_0x30f724(0x213)](_0x4d2133,_0x30f724(0x233),()=>this[_0x30f724(0x1ff)]=null),this[_0x30f724(0x213)](_0x4d2133,_0x30f724(0x224),()=>this[_0x30f724(0x1ff)]=null));}[_0x257b69(0x22a)](){const _0x363266=_0x257b69,_0x3c8947=super[_0x363266(0x22a)]();return _0x3c8947[_0x363266(0x1fb)](_0x363266(0x235))['to'](this),_0x3c8947;}[_0x257b69(0x254)](){const _0x4d48f4=_0x257b69;super[_0x4d48f4(0x254)](),this[_0x4d48f4(0x234)](this[_0x4d48f4(0x228)],_0x4d48f4(0x236)),this[_0x4d48f4(0x234)](this[_0x4d48f4(0x23c)],_0x4d48f4(0x250));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3816e8=_0x5e22;function _0x16ed(){var _0x34685d=['6JgOWFB','Comments','2kyxklK','48036JVsfwa','113265vQbGnn','2118650TRHBDR','isOfficialPlugin','109961SpjSMe','requires','266380cfxFMr','isPremiumPlugin','368LgRnQM','1375VgNZKs','1357342xehhha','40thAbUr','34353rvATze','pluginName'];_0x16ed=function(){return _0x34685d;};return _0x16ed();}(function(_0x3a6d7d,_0x1b8926){var _0x2995ff=_0x5e22,_0x61091c=_0x3a6d7d();while(!![]){try{var _0x228356=parseInt(_0x2995ff(0x78))/0x1*(-parseInt(_0x2995ff(0x73))/0x2)+parseInt(_0x2995ff(0x75))/0x3*(-parseInt(_0x2995ff(0x6e))/0x4)+parseInt(_0x2995ff(0x7a))/0x5+-parseInt(_0x2995ff(0x71))/0x6*(-parseInt(_0x2995ff(0x6d))/0x7)+-parseInt(_0x2995ff(0x7c))/0x8*(-parseInt(_0x2995ff(0x6f))/0x9)+-parseInt(_0x2995ff(0x76))/0xa+parseInt(_0x2995ff(0x7d))/0xb*(parseInt(_0x2995ff(0x74))/0xc);if(_0x228356===_0x1b8926)break;else _0x61091c['push'](_0x61091c['shift']());}catch(_0x559774){_0x61091c['push'](_0x61091c['shift']());}}}(_0x16ed,0x36a13));import{Plugin as _0x43af56}from'ckeditor5/src/core.js';import{CommentsRepository as _0x5f28b1}from'./comments/commentsrepository.js';import{CommentsEditing as _0x2723a2}from'./comments/commentsediting.js';import{CommentsUI as _0xbd3504}from'./comments/commentsui.js';import{CommentsOnly as _0xe07d96}from'./commentsonly.js';import{WideSidebar as _0x169041}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x4d2fd}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x267996}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x1e907c}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x857be6}from'./comments/commentsarchive.js';function _0x5e22(_0x5782fc,_0x3d1671){var _0x16ed8e=_0x16ed();return _0x5e22=function(_0x5e225d,_0x64b7e3){_0x5e225d=_0x5e225d-0x6d;var _0x5574f2=_0x16ed8e[_0x5e225d];return _0x5574f2;},_0x5e22(_0x5782fc,_0x3d1671);}export class Comments extends _0x43af56{static get[_0x3816e8(0x79)](){return[_0x5f28b1,_0x2723a2,_0xbd3504,_0x857be6,_0x1e907c,_0xe07d96,_0x169041,_0x4d2fd,_0x267996];}static get[_0x3816e8(0x70)](){var _0x18de9f=_0x3816e8;return _0x18de9f(0x72);}static get[_0x3816e8(0x77)](){return!0x0;}static get[_0x3816e8(0x7b)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xad7041=_0x5edd;function _0x5edd(_0x5da229,_0x4264fb){const _0x240f9e=_0x240f();return _0x5edd=function(_0x5edded,_0x312a57){_0x5edded=_0x5edded-0xfb;let _0xea7fa=_0x240f9e[_0x5edded];return _0xea7fa;},_0x5edd(_0x5da229,_0x4264fb);}(function(_0x1dd027,_0x5d46fb){const _0x1a32e9=_0x5edd,_0x5981b2=_0x1dd027();while(!![]){try{const _0x53c10a=parseInt(_0x1a32e9(0x113))/0x1*(-parseInt(_0x1a32e9(0x107))/0x2)+-parseInt(_0x1a32e9(0x124))/0x3*(-parseInt(_0x1a32e9(0x12a))/0x4)+parseInt(_0x1a32e9(0x101))/0x5*(-parseInt(_0x1a32e9(0x106))/0x6)+-parseInt(_0x1a32e9(0x103))/0x7*(parseInt(_0x1a32e9(0x125))/0x8)+-parseInt(_0x1a32e9(0x102))/0x9*(parseInt(_0x1a32e9(0x110))/0xa)+parseInt(_0x1a32e9(0x10d))/0xb+parseInt(_0x1a32e9(0x11c))/0xc;if(_0x53c10a===_0x5d46fb)break;else _0x5981b2['push'](_0x5981b2['shift']());}catch(_0x9e9633){_0x5981b2['push'](_0x5981b2['shift']());}}}(_0x240f,0x4adf0));import{Plugin as _0x5efc4b}from'ckeditor5/src/core.js';import{CommentsEditing as _0x1156cd}from'./comments/commentsediting.js';export class CommentsOnly extends _0x5efc4b{static get[_0xad7041(0x11a)](){const _0x4d704f=_0xad7041;return _0x4d704f(0x105);}static get[_0xad7041(0x121)](){return!0x0;}static get[_0xad7041(0x10a)](){return!0x0;}static get[_0xad7041(0x123)](){return[_0x1156cd];}constructor(_0x209cc4){const _0x59c78d=_0xad7041;super(_0x209cc4),this[_0x59c78d(0x128)](_0x59c78d(0x120),!0x1),this['on'](_0x59c78d(0x129),(_0xed28ef,_0x3ce12a,_0x4b3aae)=>{const _0x3c990c=_0x59c78d;_0x4b3aae?this[_0x3c990c(0xfe)]():this[_0x3c990c(0x10b)]();});}[_0xad7041(0x10e)](){const _0x58c29e=_0xad7041;!this[_0x58c29e(0x120)]&&this[_0x58c29e(0x116)][_0x58c29e(0x122)][_0x58c29e(0x117)](_0x58c29e(0x11d))&&(this[_0x58c29e(0x120)]=!0x0);}[_0xad7041(0xfe)](){const _0x5980cf=_0xad7041;for(const [_0x164902,_0x1e5d05]of this[_0x5980cf(0x116)][_0x5980cf(0x108)])_0x1e5d05[_0x5980cf(0x10c)]&&_0x5980cf(0xfb)!==_0x164902&&_0x1e5d05[_0x5980cf(0x114)](_0x5980cf(0x11e));(this[_0x5980cf(0x116)][_0x5980cf(0xff)][_0x5980cf(0x126)](_0x5980cf(0x11b))&&this[_0x5980cf(0x116)][_0x5980cf(0xff)][_0x5980cf(0x117)](_0x5980cf(0x11b))[_0x5980cf(0x114)](_0x5980cf(0x11e)),this[_0x5980cf(0x116)][_0x5980cf(0xff)][_0x5980cf(0x126)](_0x5980cf(0x11f)))&&this[_0x5980cf(0x116)][_0x5980cf(0xff)][_0x5980cf(0x117)](_0x5980cf(0x11f))[_0x5980cf(0x114)](_0x5980cf(0x11e));this[_0x5980cf(0x116)][_0x5980cf(0x108)][_0x5980cf(0x117)](_0x5980cf(0x111))?.[_0x5980cf(0x114)](_0x5980cf(0x11e));const _0x3a9441=this[_0x5980cf(0x116)][_0x5980cf(0xfd)][_0x5980cf(0x112)][_0x5980cf(0x119)];this[_0x5980cf(0x118)](_0x3a9441,_0x5980cf(0x115),_0x12c3f8=>_0x12c3f8[_0x5980cf(0x104)](),{'priority':_0x5980cf(0xfc)}),this[_0x5980cf(0x118)](_0x3a9441,_0x5980cf(0x10f),_0x26e4cc=>_0x26e4cc[_0x5980cf(0x104)](),{'priority':_0x5980cf(0xfc)}),this[_0x5980cf(0x118)](_0x3a9441,_0x5980cf(0x109),_0x4ad837=>_0x4ad837[_0x5980cf(0x104)](),{'priority':_0x5980cf(0xfc)});}[_0xad7041(0x10b)](){const _0xc84485=_0xad7041;for(const [_0x261999,_0x2417eb]of this[_0xc84485(0x116)][_0xc84485(0x108)])_0x2417eb[_0xc84485(0x10c)]&&_0xc84485(0xfb)!==_0x261999&&_0x2417eb[_0xc84485(0x100)](_0xc84485(0x11e));this[_0xc84485(0x116)][_0xc84485(0xff)][_0xc84485(0x126)](_0xc84485(0x11f))&&this[_0xc84485(0x116)][_0xc84485(0xff)][_0xc84485(0x117)](_0xc84485(0x11f))[_0xc84485(0x100)](_0xc84485(0x11e)),this[_0xc84485(0x116)][_0xc84485(0x108)][_0xc84485(0x117)](_0xc84485(0x111))?.[_0xc84485(0x100)](_0xc84485(0x11e)),this[_0xc84485(0x127)](this[_0xc84485(0x116)][_0xc84485(0xfd)][_0xc84485(0x112)][_0xc84485(0x119)]);}}function _0x240f(){const _0x2541f4=['clipboardInput','4390070vyjznB','editSource','view','250780CbgGRB','forceDisabled','cut','editor','get','listenTo','document','pluginName','DragDrop','10878660nvGRYU','commentsOnly','commentsOnlyMode','SourceEditing','isEnabled','isOfficialPlugin','config','requires','6189jvophg','4240696jrNBLM','has','stopListening','set','change:isEnabled','492NzTdQg','addCommentThread','highest','editing','_enableCommentsOnlyMode','plugins','clearForceDisabled','5Gjltnv','9znLXJI','7paHRRw','stop','CommentsOnly','1381704pGPOUK','2SqiZJP','commands','delete','isPremiumPlugin','_disableCommentsOnlyMode','affectsData','6561786YZQOKM','afterInit'];_0x240f=function(){return _0x2541f4;};return _0x240f();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x47ac53,_0x4568ef){var _0x5d24c2=_0x3fc7,_0x3f5ef1=_0x47ac53();while(!![]){try{var _0x1902be=-parseInt(_0x5d24c2(0x183))/0x1*(parseInt(_0x5d24c2(0x186))/0x2)+-parseInt(_0x5d24c2(0x188))/0x3*(-parseInt(_0x5d24c2(0x180))/0x4)+parseInt(_0x5d24c2(0x17f))/0x5*(parseInt(_0x5d24c2(0x187))/0x6)+-parseInt(_0x5d24c2(0x185))/0x7+parseInt(_0x5d24c2(0x184))/0x8+-parseInt(_0x5d24c2(0x181))/0x9+parseInt(_0x5d24c2(0x182))/0xa*(-parseInt(_0x5d24c2(0x17e))/0xb);if(_0x1902be===_0x4568ef)break;else _0x3f5ef1['push'](_0x3f5ef1['shift']());}catch(_0x213ee3){_0x3f5ef1['push'](_0x3f5ef1['shift']());}}}(_0x3e52,0xd0c21));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';function _0x3e52(){var _0x734b09=['205sKByRM','4pCWwQt','996030DvrwaF','40DNduSb','777cJsEYi','7757168foIVVl','2558234LUQNct','2942BzNflt','182982AdIcvC','4366239QlXxiS','3303476xfEUls'];_0x3e52=function(){return _0x734b09;};return _0x3e52();}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';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';function _0x3fc7(_0x30bdbc,_0x1bded0){var _0x3e5275=_0x3e52();return _0x3fc7=function(_0x3fc764,_0x5d29a8){_0x3fc764=_0x3fc764-0x17e;var _0x297237=_0x3e5275[_0x3fc764];return _0x297237;},_0x3fc7(_0x30bdbc,_0x1bded0);}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(_0x38bf23,_0x4be795,_0x5e3b21){const t=_0x38bf23['t'];switch(_0x4be795){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'},_0x5e3b21);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'},_0x5e3b21);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'},_0x5e3b21);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'},_0x5e3b21);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x5e3b21);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'},_0x5e3b21);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'},_0x5e3b21);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'},_0x5e3b21);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 _0x1421(_0xcb3904,_0x3b1347){const _0x57bae8=_0x57ba();return _0x1421=function(_0x1421d9,_0x30940b){_0x1421d9=_0x1421d9-0xde;let _0x412a42=_0x57bae8[_0x1421d9];return _0x412a42;},_0x1421(_0xcb3904,_0x3b1347);}(function(_0x1fece3,_0x27355e){const _0x1f1967=_0x1421,_0x29ef45=_0x1fece3();while(!![]){try{const _0x57a4f2=parseInt(_0x1f1967(0xe6))/0x1+-parseInt(_0x1f1967(0xef))/0x2*(-parseInt(_0x1f1967(0xed))/0x3)+parseInt(_0x1f1967(0xeb))/0x4+-parseInt(_0x1f1967(0xe8))/0x5*(parseInt(_0x1f1967(0xde))/0x6)+parseInt(_0x1f1967(0xe4))/0x7*(parseInt(_0x1f1967(0xe1))/0x8)+parseInt(_0x1f1967(0xdf))/0x9+-parseInt(_0x1f1967(0xf0))/0xa;if(_0x57a4f2===_0x27355e)break;else _0x29ef45['push'](_0x29ef45['shift']());}catch(_0x2cd3e6){_0x29ef45['push'](_0x29ef45['shift']());}}}(_0x57ba,0x73400));import{throttle as _0x2a1461}from'es-toolkit/compat';export function createMutationObserver(_0x586c32){const _0x553203=_0x2a1461(_0x586c32,0x1e),_0x58c166=new MutationObserver(_0x10d484=>{const _0x19d57a=_0x1421;for(const _0x37f108 of _0x10d484)(_0x19d57a(0xe2)==_0x37f108[_0x19d57a(0xee)]&&_0x19d57a(0xec)==_0x37f108[_0x19d57a(0xe3)]||_0x19d57a(0xea)==_0x37f108[_0x19d57a(0xee)]||_0x19d57a(0xe7)==_0x37f108[_0x19d57a(0xee)])&&_0x553203();});return{'attach'(_0x29e1d6){const _0x572e72=_0x1421;_0x58c166[_0x572e72(0xe9)](_0x29e1d6,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x3113d5=_0x1421;_0x58c166[_0x3113d5(0xe5)](),_0x553203[_0x3113d5(0xe0)]();}};}function _0x57ba(){const _0x3e3939=['402VFfEVH','18047620yLiZwJ','114996inPHTt','5056731tfQSdC','cancel','3440oCiaDB','attributes','attributeName','13937imnqDu','disconnect','943722gGJrfG','characterData','215eNIXBI','observe','childList','191252nzfXUn','class','10320ULEIAP','type'];_0x57ba=function(){return _0x3e3939;};return _0x57ba();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2d3c(){const _0x3e778d=['2IqVBCE','1419372reCkLq','888zfjnFc','4847612JAtIbf','7173RvPGxv','3mDsyzE','117165JJuzYu','split','282aKgouI','114483VERNTc','66mzEfRw','5093736igyauc','1677880tgaWnp'];_0x2d3c=function(){return _0x3e778d;};return _0x2d3c();}(function(_0x5126eb,_0x418dcb){const _0x39ad4f=_0x4cd0,_0x34933a=_0x5126eb();while(!![]){try{const _0x5015f8=parseInt(_0x39ad4f(0xff))/0x1*(-parseInt(_0x39ad4f(0x103))/0x2)+parseInt(_0x39ad4f(0xfb))/0x3*(parseInt(_0x39ad4f(0x101))/0x4)+-parseInt(_0x39ad4f(0xfc))/0x5*(-parseInt(_0x39ad4f(0xfe))/0x6)+-parseInt(_0x39ad4f(0xf9))/0x7+-parseInt(_0x39ad4f(0xf8))/0x8*(-parseInt(_0x39ad4f(0xfa))/0x9)+-parseInt(_0x39ad4f(0x102))/0xa*(parseInt(_0x39ad4f(0x100))/0xb)+parseInt(_0x39ad4f(0xf7))/0xc;if(_0x5015f8===_0x418dcb)break;else _0x34933a['push'](_0x34933a['shift']());}catch(_0x2645c5){_0x34933a['push'](_0x34933a['shift']());}}}(_0x2d3c,0xbb73e));function _0x4cd0(_0x1b946d,_0x3cabab){const _0x2d3cc2=_0x2d3c();return _0x4cd0=function(_0x4cd0cc,_0x497341){_0x4cd0cc=_0x4cd0cc-0xf7;let _0x5ccd83=_0x2d3cc2[_0x4cd0cc];return _0x5ccd83;},_0x4cd0(_0x1b946d,_0x3cabab);}export function splitMarkerName(_0x2218b5){const _0x16cc64=_0x4cd0,_0x3cc91d=_0x2218b5[_0x16cc64(0xfd)](':');return{'group':_0x3cc91d[0x0],'id':_0x3cc91d[0x1],'part':_0x3cc91d[0x2]};}
|