@ckeditor/ckeditor5-comments 47.7.0 → 47.7.1-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 +19 -19
- 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 _0x407aaa=_0x4d67;(function(_0x409e5c,_0x2b176c){const _0x313eda=_0x4d67,_0x405371=_0x409e5c();while(!![]){try{const _0x67cf77=parseInt(_0x313eda(0x1a8))/0x1+-parseInt(_0x313eda(0x1aa))/0x2*(-parseInt(_0x313eda(0x159))/0x3)+-parseInt(_0x313eda(0x1a5))/0x4+parseInt(_0x313eda(0x19d))/0x5+-parseInt(_0x313eda(0x196))/0x6*(-parseInt(_0x313eda(0x19c))/0x7)+-parseInt(_0x313eda(0x172))/0x8*(-parseInt(_0x313eda(0x14e))/0x9)+-parseInt(_0x313eda(0x180))/0xa;if(_0x67cf77===_0x2b176c)break;else _0x405371['push'](_0x405371['shift']());}catch(_0x5ec1b9){_0x405371['push'](_0x405371['shift']());}}}(_0x1f97,0x84a2a));import{View as _0x451834,FocusCycler as _0x50ef35}from'ckeditor5/src/ui.js';function _0x1f97(){const _0x4d7ed4=['_shouldCollapse','editorReady','visibleViews','_model','createCollection','set','change:hasDirtyComment','71480wxskTd','_handleRemoveCommentModel','bindTemplate','collapse','maxCommentCharsWhenCollapsed','hasDirtyComment','change','arrowdown','CommentView','delegate','add','delete','weight','change:isActive','18173710olPVSC','_config','commentViews','insert','removeComment','Thread\x20comments','refreshVisibleViews','expand','get','remove','bind','_handleInfoComment','formatDateTime','Marked\x20as\x20resolved','includes','forEach','change:isResolved','editorConfig','resolvedBy','maxThreadTotalWeight','resolveCommentThread','viewUid','3017940hnKEIg','change:isEditMode','isEditMode','isActive','map','render','7boaSxo','4074190vSFVZs','_rearrangeCollapse','editorDestroyed','maxCommentsWhenCollapsed','_handleNewCommentModel','commentUpdated','equal','updateComment','1491480zfDKBU','added','_calculatePosition','197307lBtzaC','stopListening','15830IeUrpU','authoredAt','focus','length','from','135BWJfgg','focusFirst','resolvedAt','removed','arrowup','reverse','target','comments','keystrokes','_setupKeyboardNavigation','_findOptimalIndex','411PlekAv','ck-thread__comments','count','listenTo','resolved','_collapsedCommentsView','focusLast','resolvedCommentView','_updateHasDirtyComment','some','_rearrangeExpand','locale','element','destroy','setTemplate','focusTracker','focusCycler','ck-hidden'];_0x1f97=function(){return _0x4d7ed4;};return _0x1f97();}function _0x4d67(_0x4d57eb,_0x4d48ae){const _0x1f972d=_0x1f97();return _0x4d67=function(_0x4d6761,_0x4bc8d5){_0x4d6761=_0x4d6761-0x14e;let _0x1b7d7e=_0x1f972d[_0x4d6761];return _0x1b7d7e;},_0x4d67(_0x4d57eb,_0x4d48ae);}import{diff as _0x1a72eb,Collection as _0x538309,FocusTracker as _0x26ee92,KeystrokeHandler as _0x2effd6}from'ckeditor5/src/utils.js';import{getTranslation as _0x55cf57}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x401b79}from'./collapsedcommentsview.js';export class CommentsListView extends _0x451834{[_0x407aaa(0x182)];[_0x407aaa(0x160)];[_0x407aaa(0x168)];[_0x407aaa(0x156)];[_0x407aaa(0x169)];[_0x407aaa(0x16e)];[_0x407aaa(0x181)];[_0x407aaa(0x15e)];constructor(_0x46959a,_0x33480b,_0x12092a){const _0x2565e8=_0x407aaa;super(_0x46959a);const _0x2ced80=this[_0x2565e8(0x174)];this[_0x2565e8(0x170)](_0x2565e8(0x177),!0x1),this[_0x2565e8(0x170)](_0x2565e8(0x1ad),_0x33480b[_0x2565e8(0x155)][_0x2565e8(0x1ad)]),this[_0x2565e8(0x170)](_0x2565e8(0x199),!0x1),this[_0x2565e8(0x16e)]=_0x33480b,this[_0x2565e8(0x181)]=_0x12092a,this[_0x2565e8(0x182)]=this[_0x2565e8(0x16f)](),this[_0x2565e8(0x16d)]=this[_0x2565e8(0x16f)](),this[_0x2565e8(0x160)]=null,this[_0x2565e8(0x168)]=new _0x26ee92(),this[_0x2565e8(0x156)]=new _0x2effd6(),this[_0x2565e8(0x169)]=new _0x50ef35({'focusables':this[_0x2565e8(0x182)],'focusTracker':this[_0x2565e8(0x168)],'keystrokeHandler':this[_0x2565e8(0x156)],'keystrokeHandlerOptions':{'filter':_0x296c02=>this[_0x2565e8(0x182)][_0x2565e8(0x19a)](_0x5073af=>_0x5073af[_0x2565e8(0x165)])[_0x2565e8(0x18e)](_0x296c02[_0x2565e8(0x154)])},'actions':{'focusPrevious':_0x2565e8(0x152),'focusNext':_0x2565e8(0x179)}}),this[_0x2565e8(0x15e)]=new _0x401b79(_0x46959a),this[_0x2565e8(0x15e)][_0x2565e8(0x18a)](_0x2565e8(0x15b))['to'](this,_0x2565e8(0x1ad),_0xae0a90=>_0xae0a90-this[_0x2565e8(0x181)][_0x2565e8(0x1a0)]);for(const _0x4f7a1d of _0x33480b[_0x2565e8(0x155)])this[_0x2565e8(0x1a1)](_0x4f7a1d);this[_0x2565e8(0x18b)](),this[_0x2565e8(0x15c)](_0x33480b[_0x2565e8(0x155)],_0x2565e8(0x17c),(_0x4116b5,_0x55733a)=>{const _0xc54964=_0x2565e8,_0x4ce48a=this[_0xc54964(0x1a7)](_0x55733a);this[_0xc54964(0x1ad)]++,this[_0xc54964(0x1a1)](_0x55733a,_0x4ce48a),this[_0xc54964(0x186)]();}),this[_0x2565e8(0x15c)](_0x33480b[_0x2565e8(0x155)],_0x2565e8(0x189),(_0x4b589d,_0x3426b3)=>{const _0x4f0fdc=_0x2565e8;this[_0x4f0fdc(0x1ad)]--,this[_0x4f0fdc(0x173)](_0x3426b3),this[_0x4f0fdc(0x186)]();}),this[_0x2565e8(0x15c)](_0x33480b,_0x2565e8(0x1a2),()=>this[_0x2565e8(0x186)]()),this[_0x2565e8(0x15c)](_0x33480b,_0x2565e8(0x190),()=>this[_0x2565e8(0x18b)]()),this['on'](_0x2565e8(0x17f),()=>this[_0x2565e8(0x186)]()),this['on'](_0x2565e8(0x171),()=>this[_0x2565e8(0x186)]()),this[_0x2565e8(0x167)]({'tag':'ul','attributes':{'class':[_0x2565e8(0x15a),_0x2ced80['if'](_0x2565e8(0x1ad),_0x2565e8(0x16a),_0x279a45=>!_0x279a45)],'aria-label':_0x55cf57(_0x46959a,_0x2565e8(0x185))},'children':this[_0x2565e8(0x16d)]});}get[_0x407aaa(0x16b)](){const _0x3f8eaf=_0x407aaa;return this[_0x3f8eaf(0x16e)][_0x3f8eaf(0x17e)]>this[_0x3f8eaf(0x181)][_0x3f8eaf(0x193)]&&!this[_0x3f8eaf(0x199)]&&!this[_0x3f8eaf(0x177)];}[_0x407aaa(0x19b)](){const _0xc23ed0=_0x407aaa;super[_0xc23ed0(0x19b)](),this[_0xc23ed0(0x186)](),this[_0xc23ed0(0x157)]();}[_0x407aaa(0x1ac)](_0x3fd7f8){const _0x984392=_0x407aaa;-0x1===_0x3fd7f8?this[_0x984392(0x169)][_0x984392(0x15f)]():this[_0x984392(0x169)][_0x984392(0x14f)]();}[_0x407aaa(0x166)](){const _0x30d3b1=_0x407aaa;this[_0x30d3b1(0x15e)][_0x30d3b1(0x166)]();for(const _0x151ad2 of this[_0x30d3b1(0x182)])_0x151ad2[_0x30d3b1(0x166)]();super[_0x30d3b1(0x166)]();}[_0x407aaa(0x186)](){const _0x11cd6f=_0x407aaa;this[_0x11cd6f(0x16b)]?this[_0x11cd6f(0x19e)]():this[_0x11cd6f(0x163)]();}[_0x407aaa(0x1a1)](_0x5da645,_0x25d69f){const _0x2ec788=_0x407aaa,_0x1be416=new this[(_0x2ec788(0x181))][(_0x2ec788(0x17a))](this[_0x2ec788(0x164)],_0x5da645,{'maxCommentCharsWhenCollapsed':this[_0x2ec788(0x181)][_0x2ec788(0x176)],'formatDateTime':this[_0x2ec788(0x181)][_0x2ec788(0x18c)],'editorConfig':this[_0x2ec788(0x181)][_0x2ec788(0x191)]});_0x1be416[_0x2ec788(0x195)]=_0x5da645['id'],_0x1be416[_0x2ec788(0x17b)](_0x2ec788(0x184))['to'](this),_0x1be416[_0x2ec788(0x17b)](_0x2ec788(0x1a4))['to'](this),_0x1be416[_0x2ec788(0x17b)](_0x2ec788(0x194))['to'](this),_0x1be416[_0x2ec788(0x17b)](_0x2ec788(0x16c))['to'](this),_0x1be416[_0x2ec788(0x17b)](_0x2ec788(0x19f))['to'](this),this[_0x2ec788(0x15c)](_0x1be416,_0x2ec788(0x197),()=>this[_0x2ec788(0x161)]()),this[_0x2ec788(0x182)][_0x2ec788(0x17c)](_0x1be416,_0x25d69f);}[_0x407aaa(0x1a7)](_0x2e4f1e){const _0x54e05d=_0x407aaa,_0x3e3457=this[_0x54e05d(0x16e)][_0x54e05d(0x158)](_0x2e4f1e);return this[_0x54e05d(0x160)]?this[_0x54e05d(0x160)][_0x54e05d(0x1ab)]>_0x2e4f1e[_0x54e05d(0x1ab)]?_0x3e3457-0x1:_0x3e3457:_0x3e3457-0x1;}[_0x407aaa(0x18b)](){const _0x5a7efd=_0x407aaa;if(this[_0x5a7efd(0x16e)][_0x5a7efd(0x192)]&&this[_0x5a7efd(0x16e)][_0x5a7efd(0x150)]){const _0xccaedb={'id':_0x5a7efd(0x15d),'author':this[_0x5a7efd(0x16e)][_0x5a7efd(0x192)],'authoredAt':this[_0x5a7efd(0x16e)][_0x5a7efd(0x150)],'content':_0x55cf57(this[_0x5a7efd(0x164)],_0x5a7efd(0x18d)),'attributes':{}};this[_0x5a7efd(0x160)]=new this[(_0x5a7efd(0x181))][(_0x5a7efd(0x17a))](this[_0x5a7efd(0x164)],_0xccaedb,{'maxCommentCharsWhenCollapsed':this[_0x5a7efd(0x181)][_0x5a7efd(0x176)],'formatDateTime':this[_0x5a7efd(0x181)][_0x5a7efd(0x18c)],'editorConfig':this[_0x5a7efd(0x181)][_0x5a7efd(0x191)],'isSystemComment':!0x0}),this[_0x5a7efd(0x182)][_0x5a7efd(0x17c)](this[_0x5a7efd(0x160)],this[_0x5a7efd(0x16e)][_0x5a7efd(0x158)](_0xccaedb));}else this[_0x5a7efd(0x160)]&&(this[_0x5a7efd(0x182)][_0x5a7efd(0x189)](this[_0x5a7efd(0x160)]),this[_0x5a7efd(0x160)][_0x5a7efd(0x166)](),this[_0x5a7efd(0x160)]=null);this[_0x5a7efd(0x186)]();}[_0x407aaa(0x173)](_0xd2d0b){const _0x49a6aa=_0x407aaa,_0x3f5066=this[_0x49a6aa(0x182)][_0x49a6aa(0x189)](_0xd2d0b['id']);this[_0x49a6aa(0x1a9)](_0x3f5066),_0x3f5066[_0x49a6aa(0x198)]&&this[_0x49a6aa(0x161)](),_0x3f5066[_0x49a6aa(0x166)]();}[_0x407aaa(0x161)](){const _0x408aeb=_0x407aaa;this[_0x408aeb(0x177)]=Array[_0x408aeb(0x1ae)](this[_0x408aeb(0x182)])[_0x408aeb(0x162)](_0x493783=>_0x493783[_0x408aeb(0x198)]);}[_0x407aaa(0x19e)](){const _0x400433=_0x407aaa,_0x355646=function(_0x1bfa19){const _0x451b2b=_0x4d67,_0x2e4259=new _0x538309();for(const _0x1cfe82 of _0x1bfa19)_0x2e4259[_0x451b2b(0x17c)](_0x1cfe82);return _0x2e4259;}(this[_0x400433(0x182)]),_0x3cbe3d=this[_0x400433(0x15e)][_0x400433(0x15b)];for(let _0xed1bde=0x1;_0xed1bde<=_0x3cbe3d;_0xed1bde++)_0x355646[_0x400433(0x189)](0x1);for(const _0x4dee5f of _0x355646)_0x4dee5f[_0x400433(0x175)]();_0x3cbe3d>0x0&&_0x355646[_0x400433(0x17c)](this[_0x400433(0x15e)],0x1),ns(_0x1a72eb(Array[_0x400433(0x1ae)](this[_0x400433(0x16d)]),Array[_0x400433(0x1ae)](_0x355646)),this[_0x400433(0x16d)],_0x355646);}[_0x407aaa(0x163)](){const _0x1fc3e6=_0x407aaa;ns(_0x1a72eb(Array[_0x1fc3e6(0x1ae)](this[_0x1fc3e6(0x16d)]),Array[_0x1fc3e6(0x1ae)](this[_0x1fc3e6(0x182)])),this[_0x1fc3e6(0x16d)],this[_0x1fc3e6(0x182)]);for(const _0x196b2f of this[_0x1fc3e6(0x16d)])_0x196b2f[_0x1fc3e6(0x187)]();}[_0x407aaa(0x157)](){const _0x445729=_0x407aaa;this[_0x445729(0x182)][_0x445729(0x18f)](_0x22d7df=>{const _0x2e1f1f=_0x445729;this[_0x2e1f1f(0x168)][_0x2e1f1f(0x17c)](_0x22d7df[_0x2e1f1f(0x165)]),this[_0x2e1f1f(0x156)][_0x2e1f1f(0x15c)](_0x22d7df[_0x2e1f1f(0x165)]);}),this[_0x445729(0x182)]['on'](_0x445729(0x178),(_0x3202a2,_0x200402)=>{const _0x305439=_0x445729;for(const _0x444694 of _0x200402[_0x305439(0x151)])this[_0x305439(0x168)][_0x305439(0x189)](_0x444694[_0x305439(0x165)]),this[_0x305439(0x156)][_0x305439(0x1a9)](_0x444694[_0x305439(0x165)]);for(const _0x31765f of Array[_0x305439(0x1ae)](_0x200402[_0x305439(0x1a6)])[_0x305439(0x153)]())this[_0x305439(0x168)][_0x305439(0x17c)](_0x31765f[_0x305439(0x165)]),this[_0x305439(0x156)][_0x305439(0x15c)](_0x31765f[_0x305439(0x165)]);});}}function ns(_0x78fbbe,_0x542d59,_0x5cd05c){const _0x164198=_0x407aaa;let _0x134ba6=0x0;for(const _0x5c7017 of _0x78fbbe)switch(_0x5c7017){case _0x164198(0x183):_0x542d59[_0x164198(0x17c)](_0x5cd05c[_0x164198(0x188)](_0x134ba6),_0x134ba6),_0x134ba6++;break;case _0x164198(0x17d):_0x542d59[_0x164198(0x189)](_0x134ba6);break;case _0x164198(0x1a3):_0x134ba6++;}}
|
|
23
|
+
const _0xae492c=_0xa381;(function(_0x4130f9,_0x20c770){const _0x4a3d54=_0xa381,_0x3f8122=_0x4130f9();while(!![]){try{const _0x56dfb0=-parseInt(_0x4a3d54(0x109))/0x1*(-parseInt(_0x4a3d54(0x144))/0x2)+-parseInt(_0x4a3d54(0x142))/0x3+parseInt(_0x4a3d54(0x104))/0x4*(parseInt(_0x4a3d54(0x113))/0x5)+parseInt(_0x4a3d54(0x126))/0x6*(-parseInt(_0x4a3d54(0x127))/0x7)+parseInt(_0x4a3d54(0x108))/0x8+-parseInt(_0x4a3d54(0xed))/0x9*(-parseInt(_0x4a3d54(0xfd))/0xa)+-parseInt(_0x4a3d54(0x13a))/0xb;if(_0x56dfb0===_0x20c770)break;else _0x3f8122['push'](_0x3f8122['shift']());}catch(_0x449ae2){_0x3f8122['push'](_0x3f8122['shift']());}}}(_0x4f3b,0xe7c70));import{View as _0x2f4cc8,FocusCycler as _0x4ea160}from'ckeditor5/src/ui.js';import{diff as _0x8e9e0c,Collection as _0x1c6f78,FocusTracker as _0x32829a,KeystrokeHandler as _0x277555}from'ckeditor5/src/utils.js';function _0x4f3b(){const _0x643c19=['change','_handleRemoveCommentModel','_calculatePosition','hasDirtyComment','2470XWlyBL','authoredAt','weight','_config','isActive','_shouldCollapse','target','4961596OkajOl','commentUpdated','resolvedCommentView','element','3666328nqfboB','2IIlJbC','collapse','added','stopListening','keystrokes','removeComment','get','Thread\x20comments','includes','render','5DtiPeT','_model','delete','viewUid','arrowup','createCollection','change:hasDirtyComment','bind','comments','change:isEditMode','focus','_setupKeyboardNavigation','count','ck-hidden','map','change:isActive','refreshVisibleViews','equal','change:isResolved','2538402UEwcoU','28eEamKA','listenTo','_rearrangeCollapse','ck-thread__comments','focusFirst','removed','CommentView','maxCommentsWhenCollapsed','_collapsedCommentsView','_rearrangeExpand','expand','bindTemplate','_findOptimalIndex','some','editorConfig','Marked\x20as\x20resolved','focusTracker','editorReady','updateComment','1739265jeAqSr','visibleViews','length','setTemplate','resolvedAt','maxCommentCharsWhenCollapsed','destroy','maxThreadTotalWeight','4141872zfdYgP','_handleNewCommentModel','1479598ifYDHU','focusCycler','from','_updateHasDirtyComment','insert','formatDateTime','arrowdown','forEach','remove','_handleInfoComment','commentViews','36513dKcQsi','editorDestroyed','reverse','delegate','locale','resolved','focusLast','set','isEditMode','add','resolvedBy','resolveCommentThread'];_0x4f3b=function(){return _0x643c19;};return _0x4f3b();}import{getTranslation as _0x880cbd}from'../../../utils/common-translations.js';function _0xa381(_0x5de2e0,_0x2ec6d9){const _0x4f3b3d=_0x4f3b();return _0xa381=function(_0xa38185,_0x1168e8){_0xa38185=_0xa38185-0xe9;let _0x31dc89=_0x4f3b3d[_0xa38185];return _0x31dc89;},_0xa381(_0x5de2e0,_0x2ec6d9);}import{CollapsedCommentsView as _0x2a9a1a}from'./collapsedcommentsview.js';export class CommentsListView extends _0x2f4cc8{[_0xae492c(0xec)];[_0xae492c(0x106)];[_0xae492c(0x137)];[_0xae492c(0x10d)];[_0xae492c(0x145)];[_0xae492c(0x114)];[_0xae492c(0x100)];[_0xae492c(0x12f)];constructor(_0x1aac9a,_0x54fb65,_0x5321df){const _0x83218e=_0xae492c;super(_0x1aac9a);const _0x414fca=this[_0x83218e(0x132)];this[_0x83218e(0xf4)](_0x83218e(0xfc),!0x1),this[_0x83218e(0xf4)](_0x83218e(0x13c),_0x54fb65[_0x83218e(0x11b)][_0x83218e(0x13c)]),this[_0x83218e(0xf4)](_0x83218e(0x101),!0x1),this[_0x83218e(0x114)]=_0x54fb65,this[_0x83218e(0x100)]=_0x5321df,this[_0x83218e(0xec)]=this[_0x83218e(0x118)](),this[_0x83218e(0x13b)]=this[_0x83218e(0x118)](),this[_0x83218e(0x106)]=null,this[_0x83218e(0x137)]=new _0x32829a(),this[_0x83218e(0x10d)]=new _0x277555(),this[_0x83218e(0x145)]=new _0x4ea160({'focusables':this[_0x83218e(0xec)],'focusTracker':this[_0x83218e(0x137)],'keystrokeHandler':this[_0x83218e(0x10d)],'keystrokeHandlerOptions':{'filter':_0x23b992=>this[_0x83218e(0xec)][_0x83218e(0x121)](_0x21e7d4=>_0x21e7d4[_0x83218e(0x107)])[_0x83218e(0x111)](_0x23b992[_0x83218e(0x103)])},'actions':{'focusPrevious':_0x83218e(0x117),'focusNext':_0x83218e(0x14a)}}),this[_0x83218e(0x12f)]=new _0x2a9a1a(_0x1aac9a),this[_0x83218e(0x12f)][_0x83218e(0x11a)](_0x83218e(0x11f))['to'](this,_0x83218e(0x13c),_0x37ba13=>_0x37ba13-this[_0x83218e(0x100)][_0x83218e(0x12e)]);for(const _0x2727fa of _0x54fb65[_0x83218e(0x11b)])this[_0x83218e(0x143)](_0x2727fa);this[_0x83218e(0xeb)](),this[_0x83218e(0x128)](_0x54fb65[_0x83218e(0x11b)],_0x83218e(0xf6),(_0x46e28e,_0x2982e3)=>{const _0x38537c=_0x83218e,_0x18e1c6=this[_0x38537c(0xfb)](_0x2982e3);this[_0x38537c(0x13c)]++,this[_0x38537c(0x143)](_0x2982e3,_0x18e1c6),this[_0x38537c(0x123)]();}),this[_0x83218e(0x128)](_0x54fb65[_0x83218e(0x11b)],_0x83218e(0xea),(_0x56ef2f,_0x4fd493)=>{const _0x3c578b=_0x83218e;this[_0x3c578b(0x13c)]--,this[_0x3c578b(0xfa)](_0x4fd493),this[_0x3c578b(0x123)]();}),this[_0x83218e(0x128)](_0x54fb65,_0x83218e(0x105),()=>this[_0x83218e(0x123)]()),this[_0x83218e(0x128)](_0x54fb65,_0x83218e(0x125),()=>this[_0x83218e(0xeb)]()),this['on'](_0x83218e(0x122),()=>this[_0x83218e(0x123)]()),this['on'](_0x83218e(0x119),()=>this[_0x83218e(0x123)]()),this[_0x83218e(0x13d)]({'tag':'ul','attributes':{'class':[_0x83218e(0x12a),_0x414fca['if'](_0x83218e(0x13c),_0x83218e(0x120),_0x13fa62=>!_0x13fa62)],'aria-label':_0x880cbd(_0x1aac9a,_0x83218e(0x110))},'children':this[_0x83218e(0x13b)]});}get[_0xae492c(0x102)](){const _0x20c069=_0xae492c;return this[_0x20c069(0x114)][_0x20c069(0xff)]>this[_0x20c069(0x100)][_0x20c069(0x141)]&&!this[_0x20c069(0x101)]&&!this[_0x20c069(0xfc)];}[_0xae492c(0x112)](){const _0xd47985=_0xae492c;super[_0xd47985(0x112)](),this[_0xd47985(0x123)](),this[_0xd47985(0x11e)]();}[_0xae492c(0x11d)](_0x261688){const _0x1b4db7=_0xae492c;-0x1===_0x261688?this[_0x1b4db7(0x145)][_0x1b4db7(0xf3)]():this[_0x1b4db7(0x145)][_0x1b4db7(0x12b)]();}[_0xae492c(0x140)](){const _0x501793=_0xae492c;this[_0x501793(0x12f)][_0x501793(0x140)]();for(const _0x7dc86b of this[_0x501793(0xec)])_0x7dc86b[_0x501793(0x140)]();super[_0x501793(0x140)]();}[_0xae492c(0x123)](){const _0x4b9a8b=_0xae492c;this[_0x4b9a8b(0x102)]?this[_0x4b9a8b(0x129)]():this[_0x4b9a8b(0x130)]();}[_0xae492c(0x143)](_0x17081d,_0x16c461){const _0x31869e=_0xae492c,_0xa85ce2=new this[(_0x31869e(0x100))][(_0x31869e(0x12d))](this[_0x31869e(0xf1)],_0x17081d,{'maxCommentCharsWhenCollapsed':this[_0x31869e(0x100)][_0x31869e(0x13f)],'formatDateTime':this[_0x31869e(0x100)][_0x31869e(0x149)],'editorConfig':this[_0x31869e(0x100)][_0x31869e(0x135)]});_0xa85ce2[_0x31869e(0x116)]=_0x17081d['id'],_0xa85ce2[_0x31869e(0xf0)](_0x31869e(0x10e))['to'](this),_0xa85ce2[_0x31869e(0xf0)](_0x31869e(0x139))['to'](this),_0xa85ce2[_0x31869e(0xf0)](_0x31869e(0xf8))['to'](this),_0xa85ce2[_0x31869e(0xf0)](_0x31869e(0x138))['to'](this),_0xa85ce2[_0x31869e(0xf0)](_0x31869e(0xee))['to'](this),this[_0x31869e(0x128)](_0xa85ce2,_0x31869e(0x11c),()=>this[_0x31869e(0x147)]()),this[_0x31869e(0xec)][_0x31869e(0xf6)](_0xa85ce2,_0x16c461);}[_0xae492c(0xfb)](_0xa52afc){const _0x267a53=_0xae492c,_0x4a3ec1=this[_0x267a53(0x114)][_0x267a53(0x133)](_0xa52afc);return this[_0x267a53(0x106)]?this[_0x267a53(0x106)][_0x267a53(0xfe)]>_0xa52afc[_0x267a53(0xfe)]?_0x4a3ec1-0x1:_0x4a3ec1:_0x4a3ec1-0x1;}[_0xae492c(0xeb)](){const _0x147df3=_0xae492c;if(this[_0x147df3(0x114)][_0x147df3(0xf7)]&&this[_0x147df3(0x114)][_0x147df3(0x13e)]){const _0x40f9d8={'id':_0x147df3(0xf2),'author':this[_0x147df3(0x114)][_0x147df3(0xf7)],'authoredAt':this[_0x147df3(0x114)][_0x147df3(0x13e)],'content':_0x880cbd(this[_0x147df3(0xf1)],_0x147df3(0x136)),'attributes':{}};this[_0x147df3(0x106)]=new this[(_0x147df3(0x100))][(_0x147df3(0x12d))](this[_0x147df3(0xf1)],_0x40f9d8,{'maxCommentCharsWhenCollapsed':this[_0x147df3(0x100)][_0x147df3(0x13f)],'formatDateTime':this[_0x147df3(0x100)][_0x147df3(0x149)],'editorConfig':this[_0x147df3(0x100)][_0x147df3(0x135)],'isSystemComment':!0x0}),this[_0x147df3(0xec)][_0x147df3(0xf6)](this[_0x147df3(0x106)],this[_0x147df3(0x114)][_0x147df3(0x133)](_0x40f9d8));}else this[_0x147df3(0x106)]&&(this[_0x147df3(0xec)][_0x147df3(0xea)](this[_0x147df3(0x106)]),this[_0x147df3(0x106)][_0x147df3(0x140)](),this[_0x147df3(0x106)]=null);this[_0x147df3(0x123)]();}[_0xae492c(0xfa)](_0x3f7619){const _0xaf3ce6=_0xae492c,_0x429d9f=this[_0xaf3ce6(0xec)][_0xaf3ce6(0xea)](_0x3f7619['id']);this[_0xaf3ce6(0x10c)](_0x429d9f),_0x429d9f[_0xaf3ce6(0xf5)]&&this[_0xaf3ce6(0x147)](),_0x429d9f[_0xaf3ce6(0x140)]();}[_0xae492c(0x147)](){const _0x52f079=_0xae492c;this[_0x52f079(0xfc)]=Array[_0x52f079(0x146)](this[_0x52f079(0xec)])[_0x52f079(0x134)](_0x588e06=>_0x588e06[_0x52f079(0xf5)]);}[_0xae492c(0x129)](){const _0x5466d9=_0xae492c,_0x47a4e1=function(_0x57796f){const _0x43e581=_0xa381,_0x42fbf5=new _0x1c6f78();for(const _0x483508 of _0x57796f)_0x42fbf5[_0x43e581(0xf6)](_0x483508);return _0x42fbf5;}(this[_0x5466d9(0xec)]),_0x30dbec=this[_0x5466d9(0x12f)][_0x5466d9(0x11f)];for(let _0x512f75=0x1;_0x512f75<=_0x30dbec;_0x512f75++)_0x47a4e1[_0x5466d9(0xea)](0x1);for(const _0xf77348 of _0x47a4e1)_0xf77348[_0x5466d9(0x10a)]();_0x30dbec>0x0&&_0x47a4e1[_0x5466d9(0xf6)](this[_0x5466d9(0x12f)],0x1),ns(_0x8e9e0c(Array[_0x5466d9(0x146)](this[_0x5466d9(0x13b)]),Array[_0x5466d9(0x146)](_0x47a4e1)),this[_0x5466d9(0x13b)],_0x47a4e1);}[_0xae492c(0x130)](){const _0x4a57e4=_0xae492c;ns(_0x8e9e0c(Array[_0x4a57e4(0x146)](this[_0x4a57e4(0x13b)]),Array[_0x4a57e4(0x146)](this[_0x4a57e4(0xec)])),this[_0x4a57e4(0x13b)],this[_0x4a57e4(0xec)]);for(const _0x3191b9 of this[_0x4a57e4(0x13b)])_0x3191b9[_0x4a57e4(0x131)]();}[_0xae492c(0x11e)](){const _0x2d8885=_0xae492c;this[_0x2d8885(0xec)][_0x2d8885(0xe9)](_0x3ee210=>{const _0xb3b05b=_0x2d8885;this[_0xb3b05b(0x137)][_0xb3b05b(0xf6)](_0x3ee210[_0xb3b05b(0x107)]),this[_0xb3b05b(0x10d)][_0xb3b05b(0x128)](_0x3ee210[_0xb3b05b(0x107)]);}),this[_0x2d8885(0xec)]['on'](_0x2d8885(0xf9),(_0x3e1e1e,_0x37be8b)=>{const _0x1f65b0=_0x2d8885;for(const _0x942f02 of _0x37be8b[_0x1f65b0(0x12c)])this[_0x1f65b0(0x137)][_0x1f65b0(0xea)](_0x942f02[_0x1f65b0(0x107)]),this[_0x1f65b0(0x10d)][_0x1f65b0(0x10c)](_0x942f02[_0x1f65b0(0x107)]);for(const _0x2d6460 of Array[_0x1f65b0(0x146)](_0x37be8b[_0x1f65b0(0x10b)])[_0x1f65b0(0xef)]())this[_0x1f65b0(0x137)][_0x1f65b0(0xf6)](_0x2d6460[_0x1f65b0(0x107)]),this[_0x1f65b0(0x10d)][_0x1f65b0(0x128)](_0x2d6460[_0x1f65b0(0x107)]);});}}function ns(_0x950361,_0x68d2ca,_0x12842d){const _0x34f9a0=_0xae492c;let _0x2a7192=0x0;for(const _0x392ef7 of _0x950361)switch(_0x392ef7){case _0x34f9a0(0x148):_0x68d2ca[_0x34f9a0(0xf6)](_0x12842d[_0x34f9a0(0x10f)](_0x2a7192),_0x2a7192),_0x2a7192++;break;case _0x34f9a0(0x115):_0x68d2ca[_0x34f9a0(0xea)](_0x2a7192);break;case _0x34f9a0(0x124):_0x2a7192++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x333114=_0x3810;(function(_0x1ade1f,_0x5f9f2e){const _0x48d50e=_0x3810,_0x2be663=_0x1ade1f();while(!![]){try{const _0x36d3f9=parseInt(_0x48d50e(0x156))/0x1+parseInt(_0x48d50e(0x15c))/0x2*(-parseInt(_0x48d50e(0x167))/0x3)+parseInt(_0x48d50e(0x160))/0x4*(-parseInt(_0x48d50e(0x162))/0x5)+-parseInt(_0x48d50e(0x15e))/0x6+-parseInt(_0x48d50e(0x161))/0x7+parseInt(_0x48d50e(0x158))/0x8+parseInt(_0x48d50e(0x15b))/0x9;if(_0x36d3f9===_0x5f9f2e)break;else _0x2be663['push'](_0x2be663['shift']());}catch(_0x4f9db1){_0x2be663['push'](_0x2be663['shift']());}}}(_0x4526,0x23baa));import{View as _0x1d2c0d}from'ckeditor5/src/ui.js';function _0x3810(_0x2bf801,_0x2d11e9){const _0x4526c5=_0x4526();return _0x3810=function(_0x381043,_0x4fa4c2){_0x381043=_0x381043-0x156;let _0x2ecfe6=_0x4526c5[_0x381043];return _0x2ecfe6;},_0x3810(_0x2bf801,_0x2d11e9);}function _0x4526(){const _0x131441=['2vVrdLQ','bindTemplate','1049970JzBEUU','span','76kXVwkF','15736CmTSKq','59805YNjUHR','contextValue','THREAD_CONTEXT_LABEL','setTemplate','ck-context__value','567513TSIZAQ','278025YGVpgy','focus','489880ZvrShG','element','set','3606831lEeTLA'];_0x4526=function(){return _0x131441;};return _0x4526();}import{getTranslation as _0x2c1fdb}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x1d2c0d{constructor(_0x410312){const _0x828fc9=_0x3810;super(_0x410312);const _0x328c17=this[_0x828fc9(0x15d)];this[_0x828fc9(0x15a)](_0x828fc9(0x163),''),this[_0x828fc9(0x165)]({'tag':_0x828fc9(0x15f),'attributes':{'class':['ck',_0x828fc9(0x166)],'aria-label':_0x328c17['to'](_0x828fc9(0x163),_0x387bb3=>_0x2c1fdb(_0x410312,_0x828fc9(0x164),_0x387bb3)),'tabindex':-0x1},'children':[{'text':_0x328c17['to'](_0x828fc9(0x163))}]});}[_0x333114(0x157)](){const _0x168efa=_0x333114;this[_0x168efa(0x159)][_0x168efa(0x157)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3064ff=_0x1fe7;(function(_0x295785,_0x1e79a4){const _0x47012c=_0x1fe7,_0x29a4b6=_0x295785();while(!![]){try{const _0x1b215d=-parseInt(_0x47012c(0xf6))/0x1*(-parseInt(_0x47012c(0xff))/0x2)+-parseInt(_0x47012c(0xfc))/0x3*(-parseInt(_0x47012c(0xf9))/0x4)+-parseInt(_0x47012c(0x109))/0x5*(-parseInt(_0x47012c(0x10c))/0x6)+-parseInt(_0x47012c(0x104))/0x7*(parseInt(_0x47012c(0xe8))/0x8)+-parseInt(_0x47012c(0x10a))/0x9*(-parseInt(_0x47012c(0x119))/0xa)+-parseInt(_0x47012c(0xe0))/0xb+-parseInt(_0x47012c(0xe9))/0xc*(-parseInt(_0x47012c(0xd9))/0xd);if(_0x1b215d===_0x1e79a4)break;else _0x29a4b6['push'](_0x29a4b6['shift']());}catch(_0x219b3f){_0x29a4b6['push'](_0x29a4b6['shift']());}}}(_0x13d3,0xd5ede));function _0x13d3(){const _0x3ed048=['overlay','1000DSuLPw','3197112aMyVhP','isResolvable','createCollection','add','contextView','offsetWidth','reopenButtonView','.ck-context__value','isReadOnly','tooltip','mouseenter','div','label','20177GNrEQa','length','classList','48396qqswCG','...','contextValue','132eOKrdi','_model','scrollWidth','22FEWnmj','tab','context','bindTemplate','listenTo','42511jczuXE','icon','.ck-context','isVisible','ck-annotation__actions','64765leYyAL','1044NFCgTC','_attachContextActions','264ezajlX','Reopen','remove','shift+tab','reopenCommentThread','Comment\x20was\x20made\x20on\x20an\x20element','_setupKeyboardNavigation','render','locale','focus','_createContextView','mouseleave','keystrokes','57620AXyHYt','ck-thread__header','isResolved','value','bind','execute','ck-context--quotes','lastIndexOf','isEnabled','focusFirst','hasContext','26HTOAsf','element','ck-context','fire','substring','_createReopenButton','focusables','9791100ozVMKo','focusTracker','_trimContextValue','setTemplate','focusCycler','ck-context-wrapper','querySelector'];_0x13d3=function(){return _0x3ed048;};return _0x13d3();}import{View as _0x4c0d24,ButtonView as _0x4c3796,FocusCycler as _0x45a5dd}from'ckeditor5/src/ui.js';function _0x1fe7(_0x1bc909,_0x5bef00){const _0x13d38a=_0x13d3();return _0x1fe7=function(_0x1fe7f5,_0x10c5c2){_0x1fe7f5=_0x1fe7f5-0xd5;let _0x5295e3=_0x13d38a[_0x1fe7f5];return _0x5295e3;},_0x1fe7(_0x1bc909,_0x5bef00);}import{FocusTracker as _0x22eaed,KeystrokeHandler as _0x35c9cb}from'ckeditor5/src/utils.js';import{IconUndo as _0x46dfc9}from'ckeditor5/src/icons.js';import{getTranslation as _0xb4bebb}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x5dec06}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x4c0d24{[_0x3064ff(0xfd)];[_0x3064ff(0xef)];[_0x3064ff(0xed)];[_0x3064ff(0xdf)];[_0x3064ff(0xe1)];[_0x3064ff(0x118)];[_0x3064ff(0xe4)];constructor(_0x2d87ca,_0xb69505){const _0x4c15fc=_0x3064ff;super(_0x2d87ca);const _0xd28b74=this[_0x4c15fc(0x102)];this[_0x4c15fc(0xfd)]=_0xb69505,this[_0x4c15fc(0xef)]=this[_0x4c15fc(0xde)](),this[_0x4c15fc(0xed)]=this[_0x4c15fc(0x116)](),this[_0x4c15fc(0xdf)]=this[_0x4c15fc(0xeb)]([this[_0x4c15fc(0xed)],this[_0x4c15fc(0xef)]]),this[_0x4c15fc(0xe1)]=new _0x22eaed(),this[_0x4c15fc(0x118)]=new _0x35c9cb(),this[_0x4c15fc(0xe4)]=new _0x45a5dd({'focusables':this[_0x4c15fc(0xdf)],'focusTracker':this[_0x4c15fc(0xe1)],'keystrokeHandler':this[_0x4c15fc(0x118)],'actions':{'focusPrevious':_0x4c15fc(0x10f),'focusNext':_0x4c15fc(0x100)}}),this[_0x4c15fc(0x11d)](_0x4c15fc(0xd8))['to'](this[_0x4c15fc(0xfd)],_0x4c15fc(0x101),_0x36efa9=>!!_0x36efa9),this[_0x4c15fc(0x11d)](_0x4c15fc(0xfb))['to'](this[_0x4c15fc(0xfd)],_0x4c15fc(0x101),_0xd4bfbf=>_0xd4bfbf&&_0xd4bfbf[_0x4c15fc(0x11c)]?this[_0x4c15fc(0xe2)](_0xd4bfbf[_0x4c15fc(0x11c)]):_0xb4bebb(this[_0x4c15fc(0x114)],_0x4c15fc(0x111))),this[_0x4c15fc(0xe3)]({'tag':_0x4c15fc(0xf4),'attributes':{'class':[_0x4c15fc(0x11a)]},'children':[{'tag':_0x4c15fc(0xf4),'attributes':{'class':[_0x4c15fc(0xe5)]},'children':[{'tag':_0x4c15fc(0xf4),'attributes':{'class':[_0x4c15fc(0xdb),_0xd28b74['if'](_0x4c15fc(0xd8),_0x4c15fc(0x11f))]},'children':[this[_0x4c15fc(0xed)]]}]},{'tag':_0x4c15fc(0xf4),'attributes':{'class':[_0x4c15fc(0x108)]},'children':[this[_0x4c15fc(0xef)]]}]});}[_0x3064ff(0x113)](){const _0xc207fd=_0x3064ff;super[_0xc207fd(0x113)](),this[_0xc207fd(0x10b)](),this[_0xc207fd(0x112)]();}[_0x3064ff(0x115)](){const _0x1aff45=_0x3064ff;this[_0x1aff45(0xe4)][_0x1aff45(0xd7)]();}[_0x3064ff(0xde)](){const _0x26edba=_0x3064ff,_0x24e8c1=new _0x4c3796(this[_0x26edba(0x114)]);return _0x24e8c1[_0x26edba(0xf5)]=_0xb4bebb(this[_0x26edba(0x114)],_0x26edba(0x10d)),_0x24e8c1[_0x26edba(0xf2)]=_0xb4bebb(this[_0x26edba(0x114)],_0x26edba(0x10d)),_0x24e8c1[_0x26edba(0x105)]=_0x46dfc9,_0x24e8c1[_0x26edba(0x11d)](_0x26edba(0xd6))['to'](this[_0x26edba(0xfd)],_0x26edba(0xf1),_0x3b9d84=>!_0x3b9d84),_0x24e8c1[_0x26edba(0x11d)](_0x26edba(0x107))['to'](this[_0x26edba(0xfd)],_0x26edba(0xea),this[_0x26edba(0xfd)],_0x26edba(0x11b),(_0x1202e2,_0x329be9)=>_0x1202e2&&_0x329be9),_0x24e8c1['on'](_0x26edba(0x11e),()=>{const _0x23b825=_0x26edba;this[_0x23b825(0xdc)](_0x23b825(0x110),this[_0x23b825(0xfd)]['id']);}),_0x24e8c1;}[_0x3064ff(0xe2)](_0x4a29dd){const _0x7d7d52=_0x3064ff;if(_0x4a29dd[_0x7d7d52(0xf7)]<0x96)return _0x4a29dd;const _0x1f6d9d=_0x4a29dd[_0x7d7d52(0xd5)]('\x20',0x93);return _0x4a29dd[_0x7d7d52(0xdd)](0x0,_0x1f6d9d>-0x1?_0x1f6d9d:0x93)+_0x7d7d52(0xfa);}[_0x3064ff(0x10b)](){const _0x429eb5=_0x3064ff,_0x542eb7=this[_0x429eb5(0xda)][_0x429eb5(0xe6)](_0x429eb5(0x106)),_0x5b5a5c=_0x542eb7[_0x429eb5(0xe6)](_0x429eb5(0xf0));this[_0x429eb5(0x103)](_0x542eb7,_0x429eb5(0xf3),()=>{const _0x1bc8fe=_0x429eb5;_0x5b5a5c[_0x1bc8fe(0xee)]<_0x5b5a5c[_0x1bc8fe(0xfe)]&&_0x542eb7[_0x1bc8fe(0xf8)][_0x1bc8fe(0xec)](_0x1bc8fe(0xe7));}),this[_0x429eb5(0x103)](_0x542eb7,_0x429eb5(0x117),()=>{const _0x48edc2=_0x429eb5;_0x542eb7[_0x48edc2(0xf8)][_0x48edc2(0x10e)](_0x48edc2(0xe7));});}[_0x3064ff(0x112)](){const _0x49dc2e=_0x3064ff;this[_0x49dc2e(0x118)][_0x49dc2e(0x103)](this[_0x49dc2e(0xda)]);for(const _0x3174d1 of this[_0x49dc2e(0xdf)])this[_0x49dc2e(0xe1)][_0x49dc2e(0xec)](_0x3174d1[_0x49dc2e(0xda)]),this[_0x49dc2e(0x118)][_0x49dc2e(0x103)](_0x3174d1[_0x49dc2e(0xda)]);}[_0x3064ff(0x116)](){const _0x52c487=_0x3064ff,_0x3c4d1c=new _0x5dec06(this[_0x52c487(0x114)]);return _0x3c4d1c[_0x52c487(0x11d)](_0x52c487(0xfb))['to'](this),_0x3c4d1c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4570(){const _0x46d28d=['editorReady','editorDestroyed','element','isFocused','div','1588596WGUNIg','target','listenTo','preventDefault','bind','focus','4233031xYVEcM','editing','createEditor','getDomRoot','focusCycler','render','bindTemplate','100oLYayS','extendTemplate','94oiztTs','ck-comment__input-container','146776BFAqFF','_focusOnNonInteractiveMouseDown','10QDEoVI','view','editor','28321BgZTkd','commentInputView','setTemplate','5827692FBRojt','value','ck-thread__user','destroy','mousedown','5305212QyNaTp','then','userView','delegate','9jZTPLz','ck-comment__input-container--active','contains','showButtons','ck-thread__input','filter','focusTracker','5108250wyApSD','some','set','change:showInput','showInput'];_0x4570=function(){return _0x46d28d;};return _0x4570();}const _0x436e88=_0x1c75;(function(_0x188db4,_0x28a24b){const _0x589e42=_0x1c75,_0x3d3a36=_0x188db4();while(!![]){try{const _0x5d436c=-parseInt(_0x589e42(0x13a))/0x1*(-parseInt(_0x589e42(0x133))/0x2)+parseInt(_0x589e42(0x142))/0x3+parseInt(_0x589e42(0x13d))/0x4+parseInt(_0x589e42(0x137))/0x5*(-parseInt(_0x589e42(0x124))/0x6)+parseInt(_0x589e42(0x14d))/0x7+-parseInt(_0x589e42(0x135))/0x8*(-parseInt(_0x589e42(0x146))/0x9)+parseInt(_0x589e42(0x131))/0xa*(-parseInt(_0x589e42(0x12a))/0xb);if(_0x5d436c===_0x28a24b)break;else _0x3d3a36['push'](_0x3d3a36['shift']());}catch(_0x2579e0){_0x3d3a36['push'](_0x3d3a36['shift']());}}}(_0x4570,0xe2431));import{View as _0x480316}from'ckeditor5/src/ui.js';function _0x1c75(_0x3b9862,_0x2e56bf){const _0x45706a=_0x4570();return _0x1c75=function(_0x1c7581,_0x24f79c){_0x1c7581=_0x1c7581-0x124;let _0x215605=_0x45706a[_0x1c7581];return _0x215605;},_0x1c75(_0x3b9862,_0x2e56bf);}import{CommentInputView as _0x356d97}from'./commentinputview.js';import{UserView as _0x296003}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x480316{constructor(_0x15c3fa,_0x28f723,_0x4f3e38){const _0x2c4331=_0x1c75;super(_0x15c3fa),this[_0x2c4331(0x13b)]=new _0x356d97(_0x15c3fa,_0x4f3e38),this[_0x2c4331(0x12e)]=this[_0x2c4331(0x13b)][_0x2c4331(0x12e)],this[_0x2c4331(0x13b)][_0x2c4331(0x128)](_0x2c4331(0x149))['to'](this[_0x2c4331(0x13b)][_0x2c4331(0x14c)],_0x2c4331(0x155),this[_0x2c4331(0x13b)],_0x2c4331(0x13e),(_0x23d18f,_0x3aefe9)=>_0x23d18f||!!_0x3aefe9),this[_0x2c4331(0x14f)](_0x2c4331(0x151),!0x1),this['on'](_0x2c4331(0x150),()=>{const _0x3dbf1d=_0x2c4331;this[_0x3dbf1d(0x151)]&&!this[_0x3dbf1d(0x13b)][_0x3dbf1d(0x139)]&&this[_0x3dbf1d(0x13b)][_0x3dbf1d(0x12c)]();}),this[_0x2c4331(0x13b)][_0x2c4331(0x145)](_0x2c4331(0x152))['to'](this),this[_0x2c4331(0x13b)][_0x2c4331(0x145)](_0x2c4331(0x153))['to'](this),this[_0x2c4331(0x144)]=new _0x296003(_0x15c3fa,_0x28f723),this[_0x2c4331(0x144)][_0x2c4331(0x132)]({'attributes':{'class':_0x2c4331(0x13f),'aria-hidden':!0x0}}),this[_0x2c4331(0x13b)][_0x2c4331(0x132)]({'attributes':{'class':_0x2c4331(0x14a)}}),this[_0x2c4331(0x13c)]({'tag':_0x2c4331(0x156),'attributes':{'class':[_0x2c4331(0x134),this[_0x2c4331(0x130)]['if'](_0x2c4331(0x151),_0x2c4331(0x147))]},'children':[this[_0x2c4331(0x144)],this[_0x2c4331(0x13b)]]});}[_0x436e88(0x12f)](){const _0xd9fd5b=_0x436e88;super[_0xd9fd5b(0x12f)](),this[_0xd9fd5b(0x136)]();}[_0x436e88(0x140)](){const _0x20d924=_0x436e88;return this[_0x20d924(0x13b)][_0x20d924(0x140)]()[_0x20d924(0x143)](()=>super[_0x20d924(0x140)]());}[_0x436e88(0x129)](_0x329c9b){const _0x12f46e=_0x436e88;this[_0x12f46e(0x13b)][_0x12f46e(0x129)](_0x329c9b);}[_0x436e88(0x136)](){const _0x3befba=_0x436e88;this[_0x3befba(0x126)](this[_0x3befba(0x154)],_0x3befba(0x141),(_0x1a1c1e,_0x41060b)=>{const _0x5c5f4e=_0x3befba,{submitButtonView:_0x327d90,cancelButtonView:_0xfd4dfe,editor:_0x4b426d}=this[_0x5c5f4e(0x13b)];[_0x327d90[_0x5c5f4e(0x154)],_0xfd4dfe[_0x5c5f4e(0x154)],_0x4b426d?_0x4b426d[_0x5c5f4e(0x12b)][_0x5c5f4e(0x138)][_0x5c5f4e(0x12d)]():null][_0x5c5f4e(0x14b)](_0xc4edfd=>_0xc4edfd)[_0x5c5f4e(0x14e)](_0x4edb55=>_0x4edb55[_0x5c5f4e(0x148)](_0x41060b[_0x5c5f4e(0x125)]))||(this[_0x5c5f4e(0x129)](),_0x41060b[_0x5c5f4e(0x127)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x18c67a=_0x1ab6;(function(_0x202339,_0x586d4f){const _0x1ec06a=_0x1ab6,_0x24832e=_0x202339();while(!![]){try{const _0x2f5cfe=parseInt(_0x1ec06a(0x83))/0x1*(-parseInt(_0x1ec06a(0x95))/0x2)+parseInt(_0x1ec06a(0xba))/0x3+-parseInt(_0x1ec06a(0x91))/0x4+-parseInt(_0x1ec06a(0x9b))/0x5+-parseInt(_0x1ec06a(0x90))/0x6+-parseInt(_0x1ec06a(0x96))/0x7+-parseInt(_0x1ec06a(0x89))/0x8*(-parseInt(_0x1ec06a(0x9e))/0x9);if(_0x2f5cfe===_0x586d4f)break;else _0x24832e['push'](_0x24832e['shift']());}catch(_0x572f78){_0x24832e['push'](_0x24832e['shift']());}}}(_0x31ad,0x69cfd));function _0x31ad(){const _0x2d7fa6=['2576007EMjcNr','_bindFirstCommentView','commentThreadChildren','high','tooltip','unbind','_updateArchivedThreadHeader','isResolvable','resolveButton','isReadOnly','isActive','bind','Resolve','isVisible','div','commentThreadHeaderView','execute','createCollection','set','ck-thread--unlinked','showConfirm','removeButton','change:archivedAt','has','isResolved','ck-thread--','containerElement','ck-thread__container','614274mCuLKI','isEnabled','listenTo','change:isReadOnly','bindTemplate','cancelConfirm','actionIndicator','Write\x20a\x20comment...','element','remove','actionBar','Delete\x20comment\x20thread?','archivedAt','fire','commentThreadInputView','_model','extendTemplate','listitem','icon','placeholder','isSystemComment','ck-thread--active','ck-comment--resolve','add','locale','removeConfirm','then','getTemplate','_boundFirstCommentView','querySelector','change:isActive','commentsListView','25356CKpQeT','resolveCommentThread','_cancelAllConfirms','focus','ck-reset_all-excluded','setTemplate','72KCfYnv','_createResolveButton','removeCommentThread','length','ck-rounded-corners','render','focusables','1442310tPUqIA','3409108HbtkQP','commentViews','ariaLabel','ck-thread','68NCZKZX','2697996ECzaiX','ariaDescriptionView','stop','get','label','35830qozUhg','.ck-thread__container','isUnlinked'];_0x31ad=function(){return _0x2d7fa6;};return _0x31ad();}import{ConfirmMixin as _0x5f3257,LateFocusButtonView as _0x3234d0}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x45440e}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x24281e}from'./basecommentthreadview.js';import{getTranslation as _0x20473a}from'../../../utils/common-translations.js';function _0x1ab6(_0x501a7a,_0x1ca2e9){const _0x31ad68=_0x31ad();return _0x1ab6=function(_0x1ab661,_0x5638d9){_0x1ab661=_0x1ab661-0x7f;let _0x3b4ca4=_0x31ad68[_0x1ab661];return _0x3b4ca4;},_0x1ab6(_0x501a7a,_0x1ca2e9);}export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5f3257(_0x24281e){[_0x18c67a(0xa0)];[_0x18c67a(0xb8)];[_0x18c67a(0xa6)];[_0x18c67a(0x7f)];constructor(_0xcbd52e,_0x45c278,_0x96248,_0x58d435){const _0x1f7e1b=_0x18c67a;super(_0xcbd52e,_0x45c278,_0x96248,_0x58d435),this[_0x1f7e1b(0xa0)]=this[_0x1f7e1b(0xaf)]([this[_0x1f7e1b(0x82)],this[_0x1f7e1b(0xc8)],this[_0x1f7e1b(0x97)]]),this[_0x1f7e1b(0xb0)](_0x1f7e1b(0xc0),null),this[_0x1f7e1b(0xb8)]=null,this[_0x1f7e1b(0x7f)]=null,this[_0x1f7e1b(0xd2)]=_0xcbd52e,this[_0x1f7e1b(0xa6)]=this[_0x1f7e1b(0x8a)](),this[_0x1f7e1b(0x88)](this[_0x1f7e1b(0xd5)]()),this['on'](_0x1f7e1b(0x81),(_0x4244f2,_0x1d746d,_0x2be684)=>{const _0x2d6483=_0x1f7e1b;_0x2be684||this[_0x2d6483(0x85)]();}),this[_0x1f7e1b(0xbc)](this[_0x1f7e1b(0xc9)],_0x1f7e1b(0xbd),(_0x161e19,_0x4e6e55,_0x19e0be)=>{const _0x1c50e1=_0x1f7e1b;_0x19e0be&&this[_0x1c50e1(0x85)]();}),this[_0x1f7e1b(0x8c)]>0x0&&this[_0x1f7e1b(0x9f)](),this[_0x1f7e1b(0xbc)](this[_0x1f7e1b(0x82)][_0x1f7e1b(0x92)],_0x1f7e1b(0xd1),()=>{const _0x34a7e6=_0x1f7e1b;this[_0x34a7e6(0x9f)]();});}[_0x18c67a(0xd5)](){const _0x4dfc98=_0x18c67a,_0x184f70=this[_0x4dfc98(0xbe)];return{'tag':_0x4dfc98(0xac),'attributes':{'class':['ck',_0x4dfc98(0x94),_0x4dfc98(0x87),_0x4dfc98(0x8d),_0x184f70['if'](_0x4dfc98(0xa8),_0x4dfc98(0xcf)),_0x184f70['if'](_0x4dfc98(0x9d),_0x4dfc98(0xb1)),_0x184f70['to'](_0x4dfc98(0xc0),_0x8ed8ba=>_0x8ed8ba?_0x4dfc98(0xb7)+_0x8ed8ba:'')],'data-thread-id':this[_0x4dfc98(0xc9)]['id'],'tabindex':0x0,'role':_0x4dfc98(0xcb),'aria-label':_0x184f70['to'](_0x4dfc98(0x93)),'aria-describedby':this[_0x4dfc98(0x97)]['id']},'children':[{'tag':_0x4dfc98(0xac),'attributes':{'class':_0x4dfc98(0xb9)},'children':this[_0x4dfc98(0xa0)]}]};}[_0x18c67a(0x8e)](){const _0xff7b6c=_0x18c67a;super[_0xff7b6c(0x8e)](),this[_0xff7b6c(0xb8)]=this[_0xff7b6c(0xc2)][_0xff7b6c(0x80)](_0xff7b6c(0x9c)),this[_0xff7b6c(0xc9)]['on'](_0xff7b6c(0xb4),()=>{const _0x59a9bc=_0xff7b6c;this[_0x59a9bc(0xa4)]();}),this[_0xff7b6c(0xa4)]();}[_0x18c67a(0x85)](){const _0x53d37d=_0x18c67a;this[_0x53d37d(0xbf)]();for(const _0x23d9f8 of this[_0x53d37d(0x82)][_0x53d37d(0x92)])_0x23d9f8[_0x53d37d(0xbf)]();}[_0x18c67a(0x9f)](){const _0x21b8d7=_0x18c67a,{locale:_0x13c23d}=this,_0x2b1548=this[_0x21b8d7(0x82)][_0x21b8d7(0x92)][_0x21b8d7(0x99)](0x0);_0x2b1548===this[_0x21b8d7(0x7f)]||_0x2b1548[_0x21b8d7(0xce)]||(this[_0x21b8d7(0x7f)]=_0x2b1548,this[_0x21b8d7(0xa3)](_0x21b8d7(0xc0)),this[_0x21b8d7(0xa9)](_0x21b8d7(0xc0))['to'](_0x2b1548,_0x21b8d7(0xc0),_0x448bd6=>_0x21b8d7(0xc3)===_0x448bd6?_0x21b8d7(0xc3):null),_0x2b1548[_0x21b8d7(0xcd)]=_0x20473a(_0x13c23d,_0x21b8d7(0xc1)),_0x2b1548[_0x21b8d7(0xb3)]['on'](_0x21b8d7(0xae),_0x39f2a5=>{const _0x180385=_0x21b8d7;_0x39f2a5[_0x180385(0x98)](),this[_0x180385(0xb2)](_0x20473a(_0x13c23d,_0x180385(0xc5)),this[_0x180385(0xb8)])[_0x180385(0xd4)](()=>{const _0x347e6b=_0x180385;this[_0x347e6b(0xc7)](_0x347e6b(0x8b));});},{'priority':_0x21b8d7(0xa1)}),this['on'](_0x21b8d7(0xd3),()=>{const _0x5201b8=_0x21b8d7;_0x2b1548[_0x5201b8(0x86)]();}),_0x2b1548[_0x21b8d7(0xc4)][_0x21b8d7(0xd1)](this[_0x21b8d7(0xa6)],0x0),_0x2b1548[_0x21b8d7(0x8f)][_0x21b8d7(0xd1)](this[_0x21b8d7(0xa6)],0x0));}[_0x18c67a(0x8a)](){const _0x533496=_0x18c67a,_0x5a65e5=new _0x3234d0(this[_0x533496(0xd2)]);return _0x5a65e5[_0x533496(0x9a)]=_0x20473a(this[_0x533496(0xd2)],_0x533496(0xaa)),_0x5a65e5[_0x533496(0xa2)]=_0x20473a(this[_0x533496(0xd2)],_0x533496(0xaa)),_0x5a65e5[_0x533496(0xcc)]=_0x45440e,_0x5a65e5[_0x533496(0xca)]({'attributes':{'class':_0x533496(0xd0)}}),_0x5a65e5[_0x533496(0xa9)](_0x533496(0xbb))['to'](this[_0x533496(0xc9)],_0x533496(0xa7),_0x545942=>!_0x545942),_0x5a65e5[_0x533496(0xa9)](_0x533496(0xab))['to'](this[_0x533496(0xc9)],_0x533496(0xa5),this[_0x533496(0xc9)],_0x533496(0xb6),(_0x11ae85,_0x5eeff2)=>_0x11ae85&&!_0x5eeff2),_0x5a65e5['on'](_0x533496(0xae),()=>{const _0x3746ca=_0x533496;this[_0x3746ca(0xc7)](_0x3746ca(0x84),this[_0x3746ca(0xc9)]['id']);}),_0x5a65e5;}[_0x18c67a(0xa4)](){const _0x22459c=_0x18c67a;this[_0x22459c(0xc9)][_0x22459c(0xc6)]?this[_0x22459c(0xa0)][_0x22459c(0xb5)](this[_0x22459c(0xad)])||(this[_0x22459c(0xa0)][_0x22459c(0xd1)](this[_0x22459c(0xad)],0x0),this[_0x22459c(0x8f)][_0x22459c(0xd1)](this[_0x22459c(0xad)],0x0)):this[_0x22459c(0xa0)][_0x22459c(0xb5)](this[_0x22459c(0xad)])&&(this[_0x22459c(0xa0)][_0x22459c(0xc3)](this[_0x22459c(0xad)]),this[_0x22459c(0x8f)][_0x22459c(0xc3)](this[_0x22459c(0xad)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x181c09=_0x2109;(function(_0x4413e7,_0x29898d){const _0x1d135b=_0x2109,_0x94d775=_0x4413e7();while(!![]){try{const _0x9a3b95=-parseInt(_0x1d135b(0x10a))/0x1*(-parseInt(_0x1d135b(0xe3))/0x2)+parseInt(_0x1d135b(0x146))/0x3*(parseInt(_0x1d135b(0x150))/0x4)+parseInt(_0x1d135b(0x131))/0x5+-parseInt(_0x1d135b(0xf3))/0x6*(parseInt(_0x1d135b(0x112))/0x7)+-parseInt(_0x1d135b(0x110))/0x8*(parseInt(_0x1d135b(0x10f))/0x9)+parseInt(_0x1d135b(0x121))/0xa*(parseInt(_0x1d135b(0x13b))/0xb)+parseInt(_0x1d135b(0x14a))/0xc*(parseInt(_0x1d135b(0x132))/0xd);if(_0x9a3b95===_0x29898d)break;else _0x94d775['push'](_0x94d775['shift']());}catch(_0x4962e2){_0x94d775['push'](_0x94d775['shift']());}}}(_0x2666,0x3e4e8));import{IconRemoveComment as _0x4ce337,IconPencil as _0x45810f,IconThreeVerticalDots as _0x11d48c}from'ckeditor5/src/icons.js';import{ButtonView as _0x21d05b,createDropdown as _0x55d460,ListView as _0x5c782c,ListItemView as _0x55bf99,focusChildOnDropdownOpen as _0x1ef55c}from'ckeditor5/src/ui.js';import{UserView as _0x8ba66e,ConfirmMixin as _0x58ccca,LateFocusDropdownButtonView as _0x433782}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2109(_0x1fdc96,_0x275fd9){const _0x266642=_0x2666();return _0x2109=function(_0x2109a3,_0x17a8d0){_0x2109a3=_0x2109a3-0xd8;let _0x2c29c0=_0x266642[_0x2109a3];return _0x2c29c0;},_0x2109(_0x1fdc96,_0x275fd9);}function _0x2666(){const _0x2eb6e4=['Edit','isVisible','removeComment','edit','mouseenter','ck-comment--info','getTemplate','icon','ck-comment','actionIndicator','ck-annotation','_createCommentInputView','1502LVOtjd','Delete\x20comment?','span','then','_createDropdown','1683xEhEde','16056TXumeO','_model','721dhfjzM','createCollection','name','listenTo','isSystemComment','length','render','_attachActions','resolvedAt','switchToEditMode','ck-comment--edit','ck-hidden','formatDateTime','isExternal','Reply...','580thQkiL','Remove','addMany','time','ck-annotation__user','Show\x20more\x20items','ck-comment--remove','isReadOnly','execute','remove','label','from','ck-comment__info','removeButton','bind','ck-annotation__content-wrapper','578840eUvhYw','71110kOgDaj','ck-comment__actions--hidden','toMany','ck-comment__user','ck-annotation__info','buttonView','ck-comment__external','group','panelView','70829kCFKQT','userView','_config','push','ck-annotation__info-time','ck-annotation__main','placeholder','visibleView','set','div','ck-comment__info-time','920862CurZNC','fire','editButton','unbind','456GoAQCp','isEditable','panelPosition','add','ck-comment__wrapper','ck-annotation__info-name','4VnBMiC','locale','actionBar','find','author','isEnabled','ck-comment__info-name','withText','ck-annotation__actions--hidden','blur','showConfirm','cancelConfirm','some','146zzLEMn','getExternalCommentNote','_createEditButton','bindTemplate','element','getUserViewNotificationText','listitem','ariaDescriptionView','extendTemplate','children','dropdown','isEditMode','focusables','authoredAt','focus','_createRemoveButton','28146KRzsjO','ck-comment--','items','isRemovable','mouseleave','setTemplate','change:isRemovable','ariaLabel','ck-annotation__actions','ck-comment__main','ck-comment__actions'];_0x2666=function(){return _0x2eb6e4;};return _0x2666();}import{BaseCommentView as _0x576a40}from'./basecommentview.js';import{getTranslation as _0x3b3064}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x58ccca(_0x576a40){[_0x181c09(0xd8)];[_0x181c09(0x13c)];constructor(_0x1498dc,_0x2d4be6,_0x1cdb76){const _0x4ddf32=_0x181c09;super(_0x1498dc,_0x2d4be6,_0x1cdb76),this[_0x4ddf32(0x143)](_0x4ddf32(0x107),null),this[_0x4ddf32(0x143)](_0x4ddf32(0x141),_0x3b3064(_0x1498dc,_0x4ddf32(0x120))),this[_0x4ddf32(0x12f)](_0x4ddf32(0xf0))['to'](_0x2d4be6),this[_0x4ddf32(0x12f)](_0x4ddf32(0x11a))['to'](_0x2d4be6),this[_0x4ddf32(0xd8)]=this[_0x4ddf32(0x113)](),this[_0x4ddf32(0x116)]||(this[_0x4ddf32(0x148)]=this[_0x4ddf32(0xe5)](),this[_0x4ddf32(0x12e)]=this[_0x4ddf32(0xf2)](),this[_0x4ddf32(0xf5)]=this[_0x4ddf32(0x113)](),this[_0x4ddf32(0xf5)][_0x4ddf32(0x123)]([this[_0x4ddf32(0x148)],this[_0x4ddf32(0x12e)]]),this[_0x4ddf32(0xed)]=this[_0x4ddf32(0x10e)](),this[_0x4ddf32(0xd8)][_0x4ddf32(0x14d)](this[_0x4ddf32(0xed)]),this[_0x4ddf32(0xef)][_0x4ddf32(0x14d)](this[_0x4ddf32(0xed)])),this[_0x4ddf32(0x13c)]=new _0x8ba66e(_0x1498dc,_0x2d4be6[_0x4ddf32(0xda)],this[_0x4ddf32(0xe8)]()),this[_0x4ddf32(0x13c)][_0x4ddf32(0xeb)]({'attributes':{'class':[_0x4ddf32(0x135),_0x4ddf32(0x125)],'aria-hidden':!0x0}}),this[_0x4ddf32(0x115)](_0x2d4be6,_0x4ddf32(0xf9),()=>this[_0x4ddf32(0xe1)]()),this[_0x4ddf32(0xf8)](this[_0x4ddf32(0x104)]());}[_0x181c09(0x104)](){const _0x1ca7a5=_0x181c09,_0x1ae138=this[_0x1ca7a5(0xe6)],_0x177082=[{'tag':_0x1ca7a5(0x144),'attributes':{'class':[_0x1ca7a5(0x12d),_0x1ca7a5(0x136)]},'children':[{'tag':_0x1ca7a5(0x10c),'children':[{'text':this[_0x1ca7a5(0x13c)][_0x1ca7a5(0x114)]}],'attributes':{'class':[_0x1ca7a5(0xdc),_0x1ca7a5(0x14f)],'data-cke-tooltip-text':this[_0x1ca7a5(0x13c)][_0x1ca7a5(0x114)]}},{'tag':_0x1ca7a5(0x124),'attributes':{'datetime':_0x1ae138['to'](_0x1ca7a5(0xf0)),'class':[_0x1ca7a5(0x145),_0x1ca7a5(0x13f)]},'children':[{'text':_0x1ae138['to'](_0x1ca7a5(0xf0),_0xb2e7d1=>this[_0x1ca7a5(0x13d)][_0x1ca7a5(0x11e)](_0xb2e7d1))}]}]},{'tag':_0x1ca7a5(0x144),'attributes':{'class':[_0x1ca7a5(0xfd),_0x1ca7a5(0xfb),_0x1ae138['if'](_0x1ca7a5(0xee),_0x1ca7a5(0x133)),_0x1ae138['if'](_0x1ca7a5(0xee),_0x1ca7a5(0xde))]},'children':this[_0x1ca7a5(0xd8)]},{'tag':_0x1ca7a5(0x144),'attributes':{'class':[_0x1ca7a5(0x130)]},'children':this[_0x1ca7a5(0x142)]},this[_0x1ca7a5(0xea)]];return this[_0x1ca7a5(0x111)][_0x1ca7a5(0x11f)]&&_0x177082[_0x1ca7a5(0x13e)]({'tag':_0x1ca7a5(0x144),'attributes':{'class':[_0x1ca7a5(0x138)]},'children':[{'text':this[_0x1ca7a5(0xe4)]()}]}),{'tag':'li','attributes':{'class':[_0x1ca7a5(0x14e)],'tabindex':-0x1,'aria-label':_0x1ae138['to'](_0x1ca7a5(0xfa)),'aria-describedby':this[_0x1ca7a5(0xea)]['id'],'role':_0x1ca7a5(0xe9)},'children':[{'tag':_0x1ca7a5(0x144),'attributes':{'class':[_0x1ca7a5(0x106),_0x1ca7a5(0x108),_0x1ae138['if'](_0x1ca7a5(0xee),_0x1ca7a5(0x11c)),_0x1ae138['if'](_0x1ca7a5(0x116),_0x1ca7a5(0x103)),_0x1ae138['to'](_0x1ca7a5(0x107),_0xbc3484=>_0xbc3484?_0x1ca7a5(0xf4)+_0xbc3484:'')],'data-author-id':this[_0x1ca7a5(0x111)][_0x1ca7a5(0xda)]['id'],'data-comment-id':this[_0x1ca7a5(0x111)]['id'],'role':_0x1ca7a5(0x139)},'children':[this[_0x1ca7a5(0x13c)],{'tag':_0x1ca7a5(0x144),'attributes':{'class':[_0x1ca7a5(0xfc),_0x1ca7a5(0x140)]},'children':_0x177082}]}]};}[_0x181c09(0xe5)](){const _0x427af1=_0x181c09,_0x479c6e=new _0x21d05b(this[_0x427af1(0x151)]);return _0x479c6e[_0x427af1(0x12b)]=_0x3b3064(this[_0x427af1(0x151)],_0x427af1(0xfe)),_0x479c6e[_0x427af1(0x105)]=_0x45810f,_0x479c6e[_0x427af1(0xdd)]=!0x0,_0x479c6e[_0x427af1(0xeb)]({'attributes':{'class':_0x427af1(0x11c)}}),_0x479c6e[_0x427af1(0x12f)](_0x427af1(0xdb))['to'](this[_0x427af1(0x111)],_0x427af1(0x128),_0x5e3937=>!_0x5e3937),_0x479c6e[_0x427af1(0x12f)](_0x427af1(0xff))['to'](this[_0x427af1(0x111)],_0x427af1(0x14b)),_0x479c6e['on'](_0x427af1(0x129),()=>this[_0x427af1(0x11b)]()),_0x479c6e;}[_0x181c09(0xf2)](){const _0x37cce5=_0x181c09,_0x201a76=new _0x21d05b(this[_0x37cce5(0x151)]);return _0x201a76[_0x37cce5(0x12b)]=_0x3b3064(this[_0x37cce5(0x151)],_0x37cce5(0x122)),_0x201a76[_0x37cce5(0x105)]=_0x4ce337,_0x201a76[_0x37cce5(0xdd)]=!0x0,_0x201a76[_0x37cce5(0xeb)]({'attributes':{'class':_0x37cce5(0x127)}}),_0x201a76[_0x37cce5(0x12f)](_0x37cce5(0xdb))['to'](this[_0x37cce5(0x111)],_0x37cce5(0x128),_0x2ce45d=>!_0x2ce45d),_0x201a76[_0x37cce5(0x12f)](_0x37cce5(0xff))['to'](this[_0x37cce5(0x111)],_0x37cce5(0xf6)),_0x201a76['on'](_0x37cce5(0x129),()=>{const _0x3ed508=_0x37cce5;this[_0x3ed508(0xe0)](_0x3b3064(this[_0x3ed508(0x151)],_0x3ed508(0x10b)),this[_0x3ed508(0xe7)])[_0x3ed508(0x10d)](()=>{const _0x1baa3e=_0x3ed508;this[_0x1baa3e(0x147)](_0x1baa3e(0x100),this[_0x1baa3e(0x111)]['id']);});}),_0x201a76;}[_0x181c09(0x10e)](){const _0x4e593b=_0x181c09,_0x343ab3=_0x55d460(this[_0x4e593b(0x151)],_0x433782),_0x17c613=_0x343ab3[_0x4e593b(0x13a)][_0x4e593b(0xec)],_0x583ebd=new _0x5c782c(this[_0x4e593b(0x151)]),_0x28d6ff=_0x343ab3[_0x4e593b(0xe6)];_0x1ef55c(_0x343ab3,()=>this[_0x4e593b(0xf5)][_0x4e593b(0xd9)](_0x331f30=>_0x331f30[_0x4e593b(0xff)])),_0x343ab3[_0x4e593b(0xeb)]({'attributes':{'class':[_0x28d6ff['if'](_0x4e593b(0xff),_0x4e593b(0x11d),_0x381fe6=>!_0x381fe6)]}});const _0x56ccd9=(_0x533af0,_0x216c14=-0x1)=>{const _0x532b36=_0x4e593b,_0x1a88f1=new _0x55bf99(this[_0x532b36(0x151)]);_0x1a88f1[_0x532b36(0xec)][_0x532b36(0x14d)](_0x533af0);const _0x4eaec0=_0x216c14>-0x1?_0x216c14:_0x583ebd[_0x532b36(0xf5)][_0x532b36(0x117)];_0x583ebd[_0x532b36(0xf5)][_0x532b36(0x14d)](_0x1a88f1,_0x4eaec0);const _0x2a1e73=Array[_0x532b36(0x12c)](this[_0x532b36(0xf5)]);_0x343ab3[_0x532b36(0x149)](_0x532b36(0xdb),_0x532b36(0xff)),_0x343ab3[_0x532b36(0x12f)](_0x532b36(0xdb))[_0x532b36(0x134)](_0x2a1e73,_0x532b36(0xdb),(..._0x346439)=>_0x346439[_0x532b36(0xe2)](_0x26e0ea=>_0x26e0ea)),_0x343ab3[_0x532b36(0x12f)](_0x532b36(0xff))[_0x532b36(0x134)](_0x2a1e73,_0x532b36(0xff),(..._0x11eecf)=>_0x11eecf[_0x532b36(0xe2)](_0x31e082=>_0x31e082));};_0x343ab3[_0x4e593b(0x14c)]='sw',_0x343ab3[_0x4e593b(0x137)][_0x4e593b(0x143)]({'label':_0x3b3064(this[_0x4e593b(0x151)],_0x4e593b(0x126)),'icon':_0x11d48c});for(const _0x21cc44 of this[_0x4e593b(0xf5)])_0x56ccd9(_0x21cc44);return _0x17c613[_0x4e593b(0x14d)](_0x583ebd),_0x343ab3[_0x4e593b(0x115)](this[_0x4e593b(0xf5)],_0x4e593b(0x14d),(_0x178c96,_0x1fcc62,_0x5bb534)=>{_0x56ccd9(_0x1fcc62,_0x5bb534);}),_0x343ab3[_0x4e593b(0x115)](this[_0x4e593b(0xf5)],_0x4e593b(0x12a),(_0x108e35,_0x6d9d0d,_0x5ee563)=>{const _0x547bbb=_0x4e593b;_0x583ebd[_0x547bbb(0xf5)][_0x547bbb(0x12a)](_0x5ee563);}),_0x343ab3;}[_0x181c09(0x119)](_0x3ccabf,_0x130e4a){const _0x193a02=_0x181c09,_0x3aad66=_0x3ccabf&&_0x3ccabf[_0x193a02(0xe7)];_0x3aad66&&(this[_0x193a02(0x115)](_0x3aad66,_0x193a02(0x102),()=>this[_0x193a02(0x107)]=_0x130e4a),this[_0x193a02(0x115)](_0x3aad66,_0x193a02(0xf1),()=>this[_0x193a02(0x107)]=_0x130e4a),this[_0x193a02(0x115)](_0x3aad66,_0x193a02(0xf7),()=>this[_0x193a02(0x107)]=null),this[_0x193a02(0x115)](_0x3aad66,_0x193a02(0xdf),()=>this[_0x193a02(0x107)]=null));}[_0x181c09(0x109)](){const _0x2f9392=_0x181c09,_0x561486=super[_0x2f9392(0x109)]();return _0x561486[_0x2f9392(0x12f)](_0x2f9392(0x141))['to'](this),_0x561486;}[_0x181c09(0x118)](){const _0x5e1b86=_0x181c09;super[_0x5e1b86(0x118)](),this[_0x5e1b86(0x119)](this[_0x5e1b86(0x148)],_0x5e1b86(0x101)),this[_0x5e1b86(0x119)](this[_0x5e1b86(0x12e)],_0x5e1b86(0x12a));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x36d0(){var _0x53afa7=['pluginName','16909281cUSmWg','183RNYEdT','2664228TCbLsO','4718910oZABNH','12TqcBBb','57172TjmdBM','4155230eaioOM','179226ZMRGVT','requires','isPremiumPlugin','Comments','2861880IPmuwE','isOfficialPlugin'];_0x36d0=function(){return _0x53afa7;};return _0x36d0();}var _0x5e772f=_0x5cfa;(function(_0x5845ee,_0x21b9c6){var _0x446602=_0x5cfa,_0x1d33c3=_0x5845ee();while(!![]){try{var _0x116b8c=-parseInt(_0x446602(0x1e5))/0x1*(-parseInt(_0x446602(0x1e2))/0x2)+parseInt(_0x446602(0x1df))/0x3*(-parseInt(_0x446602(0x1e3))/0x4)+-parseInt(_0x446602(0x1e4))/0x5+parseInt(_0x446602(0x1e0))/0x6+-parseInt(_0x446602(0x1e1))/0x7+-parseInt(_0x446602(0x1db))/0x8+parseInt(_0x446602(0x1de))/0x9;if(_0x116b8c===_0x21b9c6)break;else _0x1d33c3['push'](_0x1d33c3['shift']());}catch(_0x4fbe7b){_0x1d33c3['push'](_0x1d33c3['shift']());}}}(_0x36d0,0xa1f7b));import{Plugin as _0x243ea8}from'ckeditor5/src/core.js';import{CommentsRepository as _0x367824}from'./comments/commentsrepository.js';import{CommentsEditing as _0x20fcb0}from'./comments/commentsediting.js';import{CommentsUI as _0x837f14}from'./comments/commentsui.js';import{CommentsOnly as _0x1f9a3c}from'./commentsonly.js';import{WideSidebar as _0x33e971}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x3c2e90}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x3d8af0}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0xe65a1a}from'./comments/commentsarchiveui.js';function _0x5cfa(_0x2bc610,_0x4d2c17){var _0x36d0f8=_0x36d0();return _0x5cfa=function(_0x5cfae9,_0x5d95b9){_0x5cfae9=_0x5cfae9-0x1da;var _0x5bdd41=_0x36d0f8[_0x5cfae9];return _0x5bdd41;},_0x5cfa(_0x2bc610,_0x4d2c17);}import{CommentsArchive as _0x1842df}from'./comments/commentsarchive.js';export class Comments extends _0x243ea8{static get[_0x5e772f(0x1e6)](){return[_0x367824,_0x20fcb0,_0x837f14,_0x1842df,_0xe65a1a,_0x1f9a3c,_0x33e971,_0x3c2e90,_0x3d8af0];}static get[_0x5e772f(0x1dd)](){var _0xbb9836=_0x5e772f;return _0xbb9836(0x1da);}static get[_0x5e772f(0x1dc)](){return!0x0;}static get[_0x5e772f(0x1e7)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b3a0a=_0x44d0;function _0x44d0(_0x33e819,_0x2aeae2){const _0x59ca96=_0x59ca();return _0x44d0=function(_0x44d03f,_0x4d3357){_0x44d03f=_0x44d03f-0x11d;let _0x5e7fcd=_0x59ca96[_0x44d03f];return _0x5e7fcd;},_0x44d0(_0x33e819,_0x2aeae2);}(function(_0x3b9e6f,_0x28b675){const _0x54bb54=_0x44d0,_0x596be3=_0x3b9e6f();while(!![]){try{const _0x44cea5=parseInt(_0x54bb54(0x144))/0x1+-parseInt(_0x54bb54(0x148))/0x2+-parseInt(_0x54bb54(0x145))/0x3*(-parseInt(_0x54bb54(0x12e))/0x4)+-parseInt(_0x54bb54(0x147))/0x5+-parseInt(_0x54bb54(0x141))/0x6+parseInt(_0x54bb54(0x11f))/0x7+parseInt(_0x54bb54(0x120))/0x8*(parseInt(_0x54bb54(0x12a))/0x9);if(_0x44cea5===_0x28b675)break;else _0x596be3['push'](_0x596be3['shift']());}catch(_0x2e37d1){_0x596be3['push'](_0x596be3['shift']());}}}(_0x59ca,0x42e3b));import{Plugin as _0x48454a}from'ckeditor5/src/core.js';import{CommentsEditing as _0x5f4111}from'./comments/commentsediting.js';export class CommentsOnly extends _0x48454a{static get[_0x5b3a0a(0x13b)](){const _0x77c19a=_0x5b3a0a;return _0x77c19a(0x14a);}static get[_0x5b3a0a(0x121)](){return!0x0;}static get[_0x5b3a0a(0x143)](){return!0x0;}static get[_0x5b3a0a(0x124)](){return[_0x5f4111];}constructor(_0x3a3d3b){const _0x5939a5=_0x5b3a0a;super(_0x3a3d3b),this[_0x5939a5(0x13a)](_0x5939a5(0x13f),!0x1),this['on'](_0x5939a5(0x149),(_0xc1d689,_0x1d181e,_0x336427)=>{const _0x54945f=_0x5939a5;_0x336427?this[_0x54945f(0x134)]():this[_0x54945f(0x126)]();});}[_0x5b3a0a(0x131)](){const _0x41ca2c=_0x5b3a0a;!this[_0x41ca2c(0x13f)]&&this[_0x41ca2c(0x122)][_0x41ca2c(0x13e)][_0x41ca2c(0x12b)](_0x41ca2c(0x123))&&(this[_0x41ca2c(0x13f)]=!0x0);}[_0x5b3a0a(0x134)](){const _0x5a101b=_0x5b3a0a;for(const [_0x597764,_0x525f73]of this[_0x5a101b(0x122)][_0x5a101b(0x13d)])_0x525f73[_0x5a101b(0x135)]&&_0x5a101b(0x133)!==_0x597764&&_0x525f73[_0x5a101b(0x146)](_0x5a101b(0x12f));(this[_0x5a101b(0x122)][_0x5a101b(0x12d)][_0x5a101b(0x11e)](_0x5a101b(0x11d))&&this[_0x5a101b(0x122)][_0x5a101b(0x12d)][_0x5a101b(0x12b)](_0x5a101b(0x11d))[_0x5a101b(0x146)](_0x5a101b(0x12f)),this[_0x5a101b(0x122)][_0x5a101b(0x12d)][_0x5a101b(0x11e)](_0x5a101b(0x140)))&&this[_0x5a101b(0x122)][_0x5a101b(0x12d)][_0x5a101b(0x12b)](_0x5a101b(0x140))[_0x5a101b(0x146)](_0x5a101b(0x12f));this[_0x5a101b(0x122)][_0x5a101b(0x12d)][_0x5a101b(0x11e)](_0x5a101b(0x137))&&this[_0x5a101b(0x122)][_0x5a101b(0x12d)][_0x5a101b(0x12b)](_0x5a101b(0x137))[_0x5a101b(0x146)](_0x5a101b(0x12f));this[_0x5a101b(0x122)][_0x5a101b(0x13d)][_0x5a101b(0x12b)](_0x5a101b(0x142))?.[_0x5a101b(0x146)](_0x5a101b(0x12f));const _0x58639b=this[_0x5a101b(0x122)][_0x5a101b(0x128)][_0x5a101b(0x127)][_0x5a101b(0x130)];this[_0x5a101b(0x132)](_0x58639b,_0x5a101b(0x129),_0x55d25d=>_0x55d25d[_0x5a101b(0x136)](),{'priority':_0x5a101b(0x13c)}),this[_0x5a101b(0x132)](_0x58639b,_0x5a101b(0x139),_0x54c007=>_0x54c007[_0x5a101b(0x136)](),{'priority':_0x5a101b(0x13c)}),this[_0x5a101b(0x132)](_0x58639b,_0x5a101b(0x125),_0x49717a=>_0x49717a[_0x5a101b(0x136)](),{'priority':_0x5a101b(0x13c)});}[_0x5b3a0a(0x126)](){const _0x14f954=_0x5b3a0a;for(const [_0xc60f63,_0x4c8583]of this[_0x14f954(0x122)][_0x14f954(0x13d)])_0x4c8583[_0x14f954(0x135)]&&_0x14f954(0x133)!==_0xc60f63&&_0x4c8583[_0x14f954(0x138)](_0x14f954(0x12f));this[_0x14f954(0x122)][_0x14f954(0x12d)][_0x14f954(0x11e)](_0x14f954(0x140))&&this[_0x14f954(0x122)][_0x14f954(0x12d)][_0x14f954(0x12b)](_0x14f954(0x140))[_0x14f954(0x138)](_0x14f954(0x12f)),this[_0x14f954(0x122)][_0x14f954(0x12d)][_0x14f954(0x11e)](_0x14f954(0x137))&&this[_0x14f954(0x122)][_0x14f954(0x12d)][_0x14f954(0x12b)](_0x14f954(0x137))[_0x14f954(0x138)](_0x14f954(0x12f)),this[_0x14f954(0x122)][_0x14f954(0x13d)][_0x14f954(0x12b)](_0x14f954(0x142))?.[_0x14f954(0x138)](_0x14f954(0x12f)),this[_0x14f954(0x12c)](this[_0x14f954(0x122)][_0x14f954(0x128)][_0x14f954(0x127)][_0x14f954(0x130)]);}}function _0x59ca(){const _0x17e341=['_disableCommentsOnlyMode','view','editing','cut','7299skhyxY','get','stopListening','plugins','4tBtyRr','commentsOnlyMode','document','afterInit','listenTo','addCommentThread','_enableCommentsOnlyMode','affectsData','stop','SourceEditing','clearForceDisabled','clipboardInput','set','pluginName','highest','commands','config','isEnabled','RevisionTracker','2686374ZMLFqx','editSource','isPremiumPlugin','546835AdGSUu','162453OeDMCZ','forceDisabled','1788620KrBcyf','781408ZVbxro','change:isEnabled','CommentsOnly','DragDrop','has','1281308HRcPna','6768RBmXfd','isOfficialPlugin','editor','commentsOnly','requires','delete'];_0x59ca=function(){return _0x17e341;};return _0x59ca();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4ad212,_0x2203d8){var _0x52883d=_0x2efe,_0x48f8a9=_0x4ad212();while(!![]){try{var _0xb22eea=-parseInt(_0x52883d(0x1a2))/0x1+-parseInt(_0x52883d(0x1a3))/0x2+parseInt(_0x52883d(0x1aa))/0x3+-parseInt(_0x52883d(0x1a8))/0x4*(parseInt(_0x52883d(0x1a9))/0x5)+parseInt(_0x52883d(0x1a5))/0x6*(-parseInt(_0x52883d(0x1a7))/0x7)+parseInt(_0x52883d(0x1a4))/0x8*(parseInt(_0x52883d(0x1a6))/0x9)+parseInt(_0x52883d(0x1ab))/0xa;if(_0xb22eea===_0x2203d8)break;else _0x48f8a9['push'](_0x48f8a9['shift']());}catch(_0x1ed4e2){_0x48f8a9['push'](_0x48f8a9['shift']());}}}(_0x4e56,0xbdfae));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';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';function _0x2efe(_0x4e0334,_0x340adf){var _0x4e565d=_0x4e56();return _0x2efe=function(_0x2efea1,_0x255b2c){_0x2efea1=_0x2efea1-0x1a2;var _0x165b0d=_0x4e565d[_0x2efea1];return _0x165b0d;},_0x2efe(_0x4e0334,_0x340adf);}export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';function _0x4e56(){var _0xd78461=['1204701UNDaCr','448284lTOFYz','24hDMLbK','270nLYQcu','2129643lgYNxc','127358VnfwvZ','4DgNPhs','478945ErwCso','1743039ZcnkGS','18306260yDeuvd'];_0x4e56=function(){return _0xd78461;};return _0x4e56();}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(_0x1e2a73,_0x2b554a,_0x2fa06e){const t=_0x1e2a73['t'];switch(_0x2b554a){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'},_0x2fa06e);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'},_0x2fa06e);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'},_0x2fa06e);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'},_0x2fa06e);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x2fa06e);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'},_0x2fa06e);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'},_0x2fa06e);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'},_0x2fa06e);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x58f27b,_0x3f92ef){const _0x51cac2=_0xdf5f,_0x1b79db=_0x58f27b();while(!![]){try{const _0xc75fea=parseInt(_0x51cac2(0x13e))/0x1+parseInt(_0x51cac2(0x14b))/0x2*(parseInt(_0x51cac2(0x140))/0x3)+-parseInt(_0x51cac2(0x146))/0x4*(-parseInt(_0x51cac2(0x145))/0x5)+parseInt(_0x51cac2(0x141))/0x6*(-parseInt(_0x51cac2(0x143))/0x7)+parseInt(_0x51cac2(0x142))/0x8*(-parseInt(_0x51cac2(0x149))/0x9)+parseInt(_0x51cac2(0x150))/0xa*(-parseInt(_0x51cac2(0x13f))/0xb)+parseInt(_0x51cac2(0x14f))/0xc;if(_0xc75fea===_0x3f92ef)break;else _0x1b79db['push'](_0x1b79db['shift']());}catch(_0x147b65){_0x1b79db['push'](_0x1b79db['shift']());}}}(_0x3b70,0x9c41d));function _0xdf5f(_0x122da3,_0x14a056){const _0x3b7079=_0x3b70();return _0xdf5f=function(_0xdf5fa9,_0x38a38d){_0xdf5fa9=_0xdf5fa9-0x13c;let _0x6aeaaf=_0x3b7079[_0xdf5fa9];return _0x6aeaaf;},_0xdf5f(_0x122da3,_0x14a056);}import{throttle as _0x368c0d}from'es-toolkit/compat';function _0x3b70(){const _0x11c8f3=['28982XBYyxO','class','disconnect','observe','3535488SPvivt','50EEslSh','attributeName','childList','777688XUjUIY','1331847YKMwzO','93xRBBkB','186Oefyfv','568CzslLZ','244531DFfRdy','attributes','5712815FtNNnS','4OemkWY','characterData','type','42561onLpCi','cancel'];_0x3b70=function(){return _0x11c8f3;};return _0x3b70();}export function createMutationObserver(_0x36db88){const _0x5c26ff=_0x368c0d(_0x36db88,0x1e),_0x257bd6=new MutationObserver(_0x1981dc=>{const _0x45be50=_0xdf5f;for(const _0x461093 of _0x1981dc)(_0x45be50(0x144)==_0x461093[_0x45be50(0x148)]&&_0x45be50(0x14c)==_0x461093[_0x45be50(0x13c)]||_0x45be50(0x13d)==_0x461093[_0x45be50(0x148)]||_0x45be50(0x147)==_0x461093[_0x45be50(0x148)])&&_0x5c26ff();});return{'attach'(_0x392c42){const _0x3ec6fd=_0xdf5f;_0x257bd6[_0x3ec6fd(0x14e)](_0x392c42,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x5e2ef7=_0xdf5f;_0x257bd6[_0x5e2ef7(0x14d)](),_0x5c26ff[_0x5e2ef7(0x14a)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x24a5(){const _0x256ac2=['3662vyPToK','2333672GkGurc','422132JdiQFk','110QtQpSq','565qBLCNY','95634nPRsFR','split','34FGHiNr','66882EETLmu','9988629YNAReN','1790DfsSRe','5977428VVKipZ','6LfsBaW'];_0x24a5=function(){return _0x256ac2;};return _0x24a5();}(function(_0xd89aa8,_0x37450e){const _0x247dbc=_0x19e4,_0x148348=_0xd89aa8();while(!![]){try{const _0x3b95a7=-parseInt(_0x247dbc(0xa0))/0x1*(-parseInt(_0x247dbc(0xa6))/0x2)+parseInt(_0x247dbc(0xa5))/0x3*(parseInt(_0x247dbc(0xa8))/0x4)+-parseInt(_0x247dbc(0x9d))/0x5*(parseInt(_0x247dbc(0xa1))/0x6)+-parseInt(_0x247dbc(0xa2))/0x7+parseInt(_0x247dbc(0xa7))/0x8+-parseInt(_0x247dbc(0x9e))/0x9*(parseInt(_0x247dbc(0xa3))/0xa)+-parseInt(_0x247dbc(0xa9))/0xb*(-parseInt(_0x247dbc(0xa4))/0xc);if(_0x3b95a7===_0x37450e)break;else _0x148348['push'](_0x148348['shift']());}catch(_0x4f17a2){_0x148348['push'](_0x148348['shift']());}}}(_0x24a5,0xe9ca7));function _0x19e4(_0x236da5,_0x59a401){const _0x24a54d=_0x24a5();return _0x19e4=function(_0x19e4c5,_0x495321){_0x19e4c5=_0x19e4c5-0x9d;let _0xe018f9=_0x24a54d[_0x19e4c5];return _0xe018f9;},_0x19e4(_0x236da5,_0x59a401);}export function splitMarkerName(_0x2247b7){const _0x449b47=_0x19e4,_0x2fc49e=_0x2247b7[_0x449b47(0x9f)](':');return{'group':_0x2fc49e[0x0],'id':_0x2fc49e[0x1],'part':_0x2fc49e[0x2]};}
|