@ckeditor/ckeditor5-comments 47.7.5 → 47.7.6
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
|
-
function _0x1915(){const _0x45bd5b=['bind','setTemplate','viewUid','formatDateTime','authoredAt','visibleViews','resolvedCommentView','change:hasDirtyComment','delete','reverse','_model','render','commentUpdated','target','80kZdFie','comments','bindTemplate','remove','get','removed','listenTo','updateComment','equal','Thread\x20comments','isEditMode','refreshVisibleViews','_config','focusFirst','insert','arrowup','_rearrangeExpand','ck-hidden','resolvedBy','change:isActive','130xhJpnG','maxCommentsWhenCollapsed','maxCommentCharsWhenCollapsed','_handleNewCommentModel','expand','removeComment','delegate','commentViews','focusLast','288401edXBSn','focusCycler','235256Nnljrt','_shouldCollapse','forEach','locale','includes','from','map','91RcFCHD','CommentView','_rearrangeCollapse','maxThreadTotalWeight','_setupKeyboardNavigation','some','stopListening','weight','resolvedAt','collapse','focus','count','67006guumoF','hasDirtyComment','set','add','_handleInfoComment','isActive','resolveCommentThread','_updateHasDirtyComment','arrowdown','1602348gcrURj','87720dxcMYD','_handleRemoveCommentModel','Marked\x20as\x20resolved','keystrokes','_collapsedCommentsView','editorConfig','editorReady','focusTracker','_calculatePosition','resolved','84quULVh','added','createCollection','_findOptimalIndex','change:isEditMode','change','editorDestroyed','element','4374524HSgBJv','change:isResolved','24KieOcM','440379dwgBow','ck-thread__comments','destroy','length'];_0x1915=function(){return _0x45bd5b;};return _0x1915();}const _0x4826c4=_0x233a;(function(_0x38ad73,_0x2c4536){const _0x2476e3=_0x233a,_0x35b112=_0x38ad73();while(!![]){try{const _0x20bb36=-parseInt(_0x2476e3(0x170))/0x1+parseInt(_0x2476e3(0x185))/0x2*(-parseInt(_0x2476e3(0x199))/0x3)+parseInt(_0x2476e3(0x18f))/0x4*(-parseInt(_0x2476e3(0x1b6))/0x5)+parseInt(_0x2476e3(0x18e))/0x6+parseInt(_0x2476e3(0x179))/0x7*(parseInt(_0x2476e3(0x172))/0x8)+parseInt(_0x2476e3(0x1a4))/0x9*(parseInt(_0x2476e3(0x167))/0xa)+-parseInt(_0x2476e3(0x1a1))/0xb*(-parseInt(_0x2476e3(0x1a3))/0xc);if(_0x20bb36===_0x2c4536)break;else _0x35b112['push'](_0x35b112['shift']());}catch(_0x40c104){_0x35b112['push'](_0x35b112['shift']());}}}(_0x1915,0x7ae9f));function _0x233a(_0x4b0c2b,_0x533204){const _0x19155e=_0x1915();return _0x233a=function(_0x233a05,_0x592526){_0x233a05=_0x233a05-0x159;let _0x42206f=_0x19155e[_0x233a05];return _0x42206f;},_0x233a(_0x4b0c2b,_0x533204);}import{View as _0x41d5a9,FocusCycler as _0x59e299}from'ckeditor5/src/ui.js';import{diff as _0x504c9d,Collection as _0x1f485f,FocusTracker as _0x1c7669,KeystrokeHandler as _0x7e6e90}from'ckeditor5/src/utils.js';import{getTranslation as _0x5d25e}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x1eb61d}from'./collapsedcommentsview.js';export class CommentsListView extends _0x41d5a9{[_0x4826c4(0x16e)];[_0x4826c4(0x1ae)];[_0x4826c4(0x196)];[_0x4826c4(0x192)];[_0x4826c4(0x171)];[_0x4826c4(0x1b2)];[_0x4826c4(0x15f)];[_0x4826c4(0x193)];constructor(_0x17d6e1,_0x33c8f7,_0x585965){const _0x5404ca=_0x4826c4;super(_0x17d6e1);const _0xce57d8=this[_0x5404ca(0x1b8)];this[_0x5404ca(0x187)](_0x5404ca(0x186),!0x1),this[_0x5404ca(0x187)](_0x5404ca(0x1a7),_0x33c8f7[_0x5404ca(0x1b7)][_0x5404ca(0x1a7)]),this[_0x5404ca(0x187)](_0x5404ca(0x18a),!0x1),this[_0x5404ca(0x1b2)]=_0x33c8f7,this[_0x5404ca(0x15f)]=_0x585965,this[_0x5404ca(0x16e)]=this[_0x5404ca(0x19b)](),this[_0x5404ca(0x1ad)]=this[_0x5404ca(0x19b)](),this[_0x5404ca(0x1ae)]=null,this[_0x5404ca(0x196)]=new _0x1c7669(),this[_0x5404ca(0x192)]=new _0x7e6e90(),this[_0x5404ca(0x171)]=new _0x59e299({'focusables':this[_0x5404ca(0x16e)],'focusTracker':this[_0x5404ca(0x196)],'keystrokeHandler':this[_0x5404ca(0x192)],'keystrokeHandlerOptions':{'filter':_0x390c2a=>this[_0x5404ca(0x16e)][_0x5404ca(0x178)](_0x415137=>_0x415137[_0x5404ca(0x1a0)])[_0x5404ca(0x176)](_0x390c2a[_0x5404ca(0x1b5)])},'actions':{'focusPrevious':_0x5404ca(0x162),'focusNext':_0x5404ca(0x18d)}}),this[_0x5404ca(0x193)]=new _0x1eb61d(_0x17d6e1),this[_0x5404ca(0x193)][_0x5404ca(0x1a8)](_0x5404ca(0x184))['to'](this,_0x5404ca(0x1a7),_0xdb5ecc=>_0xdb5ecc-this[_0x5404ca(0x15f)][_0x5404ca(0x168)]);for(const _0x32d984 of _0x33c8f7[_0x5404ca(0x1b7)])this[_0x5404ca(0x16a)](_0x32d984);this[_0x5404ca(0x189)](),this[_0x5404ca(0x159)](_0x33c8f7[_0x5404ca(0x1b7)],_0x5404ca(0x188),(_0x285413,_0x496a82)=>{const _0xf02697=_0x5404ca,_0x33b282=this[_0xf02697(0x197)](_0x496a82);this[_0xf02697(0x1a7)]++,this[_0xf02697(0x16a)](_0x496a82,_0x33b282),this[_0xf02697(0x15e)]();}),this[_0x5404ca(0x159)](_0x33c8f7[_0x5404ca(0x1b7)],_0x5404ca(0x1b9),(_0x55f222,_0x5ebaf2)=>{const _0x36847c=_0x5404ca;this[_0x36847c(0x1a7)]--,this[_0x36847c(0x190)](_0x5ebaf2),this[_0x36847c(0x15e)]();}),this[_0x5404ca(0x159)](_0x33c8f7,_0x5404ca(0x1b4),()=>this[_0x5404ca(0x15e)]()),this[_0x5404ca(0x159)](_0x33c8f7,_0x5404ca(0x1a2),()=>this[_0x5404ca(0x189)]()),this['on'](_0x5404ca(0x166),()=>this[_0x5404ca(0x15e)]()),this['on'](_0x5404ca(0x1af),()=>this[_0x5404ca(0x15e)]()),this[_0x5404ca(0x1a9)]({'tag':'ul','attributes':{'class':[_0x5404ca(0x1a5),_0xce57d8['if'](_0x5404ca(0x1a7),_0x5404ca(0x164),_0x2463d6=>!_0x2463d6)],'aria-label':_0x5d25e(_0x17d6e1,_0x5404ca(0x15c))},'children':this[_0x5404ca(0x1ad)]});}get[_0x4826c4(0x173)](){const _0x100f50=_0x4826c4;return this[_0x100f50(0x1b2)][_0x100f50(0x180)]>this[_0x100f50(0x15f)][_0x100f50(0x17c)]&&!this[_0x100f50(0x18a)]&&!this[_0x100f50(0x186)];}[_0x4826c4(0x1b3)](){const _0x56b4f0=_0x4826c4;super[_0x56b4f0(0x1b3)](),this[_0x56b4f0(0x15e)](),this[_0x56b4f0(0x17d)]();}[_0x4826c4(0x183)](_0x16bcaa){const _0x5a1dd7=_0x4826c4;-0x1===_0x16bcaa?this[_0x5a1dd7(0x171)][_0x5a1dd7(0x16f)]():this[_0x5a1dd7(0x171)][_0x5a1dd7(0x160)]();}[_0x4826c4(0x1a6)](){const _0x1ad7b1=_0x4826c4;this[_0x1ad7b1(0x193)][_0x1ad7b1(0x1a6)]();for(const _0x335f00 of this[_0x1ad7b1(0x16e)])_0x335f00[_0x1ad7b1(0x1a6)]();super[_0x1ad7b1(0x1a6)]();}[_0x4826c4(0x15e)](){const _0xdf7c1d=_0x4826c4;this[_0xdf7c1d(0x173)]?this[_0xdf7c1d(0x17b)]():this[_0xdf7c1d(0x163)]();}[_0x4826c4(0x16a)](_0x356018,_0x1a0ff3){const _0x55824e=_0x4826c4,_0x1fe47e=new this[(_0x55824e(0x15f))][(_0x55824e(0x17a))](this[_0x55824e(0x175)],_0x356018,{'maxCommentCharsWhenCollapsed':this[_0x55824e(0x15f)][_0x55824e(0x169)],'formatDateTime':this[_0x55824e(0x15f)][_0x55824e(0x1ab)],'editorConfig':this[_0x55824e(0x15f)][_0x55824e(0x194)]});_0x1fe47e[_0x55824e(0x1aa)]=_0x356018['id'],_0x1fe47e[_0x55824e(0x16d)](_0x55824e(0x16c))['to'](this),_0x1fe47e[_0x55824e(0x16d)](_0x55824e(0x15a))['to'](this),_0x1fe47e[_0x55824e(0x16d)](_0x55824e(0x18b))['to'](this),_0x1fe47e[_0x55824e(0x16d)](_0x55824e(0x195))['to'](this),_0x1fe47e[_0x55824e(0x16d)](_0x55824e(0x19f))['to'](this),this[_0x55824e(0x159)](_0x1fe47e,_0x55824e(0x19d),()=>this[_0x55824e(0x18c)]()),this[_0x55824e(0x16e)][_0x55824e(0x188)](_0x1fe47e,_0x1a0ff3);}[_0x4826c4(0x197)](_0x444a58){const _0x31d2fe=_0x4826c4,_0xf15ba2=this[_0x31d2fe(0x1b2)][_0x31d2fe(0x19c)](_0x444a58);return this[_0x31d2fe(0x1ae)]?this[_0x31d2fe(0x1ae)][_0x31d2fe(0x1ac)]>_0x444a58[_0x31d2fe(0x1ac)]?_0xf15ba2-0x1:_0xf15ba2:_0xf15ba2-0x1;}[_0x4826c4(0x189)](){const _0x4bcd6e=_0x4826c4;if(this[_0x4bcd6e(0x1b2)][_0x4bcd6e(0x165)]&&this[_0x4bcd6e(0x1b2)][_0x4bcd6e(0x181)]){const _0x1117e3={'id':_0x4bcd6e(0x198),'author':this[_0x4bcd6e(0x1b2)][_0x4bcd6e(0x165)],'authoredAt':this[_0x4bcd6e(0x1b2)][_0x4bcd6e(0x181)],'content':_0x5d25e(this[_0x4bcd6e(0x175)],_0x4bcd6e(0x191)),'attributes':{}};this[_0x4bcd6e(0x1ae)]=new this[(_0x4bcd6e(0x15f))][(_0x4bcd6e(0x17a))](this[_0x4bcd6e(0x175)],_0x1117e3,{'maxCommentCharsWhenCollapsed':this[_0x4bcd6e(0x15f)][_0x4bcd6e(0x169)],'formatDateTime':this[_0x4bcd6e(0x15f)][_0x4bcd6e(0x1ab)],'editorConfig':this[_0x4bcd6e(0x15f)][_0x4bcd6e(0x194)],'isSystemComment':!0x0}),this[_0x4bcd6e(0x16e)][_0x4bcd6e(0x188)](this[_0x4bcd6e(0x1ae)],this[_0x4bcd6e(0x1b2)][_0x4bcd6e(0x19c)](_0x1117e3));}else this[_0x4bcd6e(0x1ae)]&&(this[_0x4bcd6e(0x16e)][_0x4bcd6e(0x1b9)](this[_0x4bcd6e(0x1ae)]),this[_0x4bcd6e(0x1ae)][_0x4bcd6e(0x1a6)](),this[_0x4bcd6e(0x1ae)]=null);this[_0x4bcd6e(0x15e)]();}[_0x4826c4(0x190)](_0x43229f){const _0x22fbf7=_0x4826c4,_0x50a27a=this[_0x22fbf7(0x16e)][_0x22fbf7(0x1b9)](_0x43229f['id']);this[_0x22fbf7(0x17f)](_0x50a27a),_0x50a27a[_0x22fbf7(0x15d)]&&this[_0x22fbf7(0x18c)](),_0x50a27a[_0x22fbf7(0x1a6)]();}[_0x4826c4(0x18c)](){const _0x40543b=_0x4826c4;this[_0x40543b(0x186)]=Array[_0x40543b(0x177)](this[_0x40543b(0x16e)])[_0x40543b(0x17e)](_0x2d3072=>_0x2d3072[_0x40543b(0x15d)]);}[_0x4826c4(0x17b)](){const _0x1c56cf=_0x4826c4,_0x364f15=function(_0x5e80e2){const _0x3a0770=_0x233a,_0x13711a=new _0x1f485f();for(const _0x58eb3b of _0x5e80e2)_0x13711a[_0x3a0770(0x188)](_0x58eb3b);return _0x13711a;}(this[_0x1c56cf(0x16e)]),_0x438a9c=this[_0x1c56cf(0x193)][_0x1c56cf(0x184)];for(let _0x571934=0x1;_0x571934<=_0x438a9c;_0x571934++)_0x364f15[_0x1c56cf(0x1b9)](0x1);for(const _0x4fcc32 of _0x364f15)_0x4fcc32[_0x1c56cf(0x182)]();_0x438a9c>0x0&&_0x364f15[_0x1c56cf(0x188)](this[_0x1c56cf(0x193)],0x1),ns(_0x504c9d(Array[_0x1c56cf(0x177)](this[_0x1c56cf(0x1ad)]),Array[_0x1c56cf(0x177)](_0x364f15)),this[_0x1c56cf(0x1ad)],_0x364f15);}[_0x4826c4(0x163)](){const _0x2a25e6=_0x4826c4;ns(_0x504c9d(Array[_0x2a25e6(0x177)](this[_0x2a25e6(0x1ad)]),Array[_0x2a25e6(0x177)](this[_0x2a25e6(0x16e)])),this[_0x2a25e6(0x1ad)],this[_0x2a25e6(0x16e)]);for(const _0x4d35a2 of this[_0x2a25e6(0x1ad)])_0x4d35a2[_0x2a25e6(0x16b)]();}[_0x4826c4(0x17d)](){const _0x3893a8=_0x4826c4;this[_0x3893a8(0x16e)][_0x3893a8(0x174)](_0x3ad0fb=>{const _0x425d04=_0x3893a8;this[_0x425d04(0x196)][_0x425d04(0x188)](_0x3ad0fb[_0x425d04(0x1a0)]),this[_0x425d04(0x192)][_0x425d04(0x159)](_0x3ad0fb[_0x425d04(0x1a0)]);}),this[_0x3893a8(0x16e)]['on'](_0x3893a8(0x19e),(_0x3d28a5,_0x567a3a)=>{const _0x3b52d1=_0x3893a8;for(const _0x1f10fc of _0x567a3a[_0x3b52d1(0x1bb)])this[_0x3b52d1(0x196)][_0x3b52d1(0x1b9)](_0x1f10fc[_0x3b52d1(0x1a0)]),this[_0x3b52d1(0x192)][_0x3b52d1(0x17f)](_0x1f10fc[_0x3b52d1(0x1a0)]);for(const _0x27f547 of Array[_0x3b52d1(0x177)](_0x567a3a[_0x3b52d1(0x19a)])[_0x3b52d1(0x1b1)]())this[_0x3b52d1(0x196)][_0x3b52d1(0x188)](_0x27f547[_0x3b52d1(0x1a0)]),this[_0x3b52d1(0x192)][_0x3b52d1(0x159)](_0x27f547[_0x3b52d1(0x1a0)]);});}}function ns(_0x41b8b6,_0x37e577,_0x45c038){const _0x574d7a=_0x4826c4;let _0x537bd8=0x0;for(const _0x217b6e of _0x41b8b6)switch(_0x217b6e){case _0x574d7a(0x161):_0x37e577[_0x574d7a(0x188)](_0x45c038[_0x574d7a(0x1ba)](_0x537bd8),_0x537bd8),_0x537bd8++;break;case _0x574d7a(0x1b0):_0x37e577[_0x574d7a(0x1b9)](_0x537bd8);break;case _0x574d7a(0x15b):_0x537bd8++;}}
|
|
23
|
+
const _0x250649=_0x36bf;(function(_0x2f6595,_0x6dc3ab){const _0x114faa=_0x36bf,_0x480f4a=_0x2f6595();while(!![]){try{const _0xe17f3c=-parseInt(_0x114faa(0x113))/0x1*(-parseInt(_0x114faa(0xd4))/0x2)+-parseInt(_0x114faa(0xf7))/0x3*(parseInt(_0x114faa(0x10f))/0x4)+-parseInt(_0x114faa(0x110))/0x5+-parseInt(_0x114faa(0xff))/0x6+parseInt(_0x114faa(0x104))/0x7*(parseInt(_0x114faa(0xd6))/0x8)+-parseInt(_0x114faa(0x100))/0x9*(-parseInt(_0x114faa(0x127))/0xa)+-parseInt(_0x114faa(0x11b))/0xb*(-parseInt(_0x114faa(0xfc))/0xc);if(_0xe17f3c===_0x6dc3ab)break;else _0x480f4a['push'](_0x480f4a['shift']());}catch(_0x5b1be){_0x480f4a['push'](_0x480f4a['shift']());}}}(_0x39f0,0x21748));import{View as _0x4f1c22,FocusCycler as _0x3ed89a}from'ckeditor5/src/ui.js';import{diff as _0x172f34,Collection as _0x587145,FocusTracker as _0x4881a5,KeystrokeHandler as _0x235d16}from'ckeditor5/src/utils.js';import{getTranslation as _0x1dc5b8}from'../../../utils/common-translations.js';function _0x36bf(_0x3c9d9f,_0x5885aa){const _0x39f016=_0x39f0();return _0x36bf=function(_0x36bf5f,_0x47d391){_0x36bf5f=_0x36bf5f-0xc7;let _0x13b91d=_0x39f016[_0x36bf5f];return _0x13b91d;},_0x36bf(_0x3c9d9f,_0x5885aa);}import{CollapsedCommentsView as _0x2b163f}from'./collapsedcommentsview.js';export class CommentsListView extends _0x4f1c22{[_0x250649(0xf1)];[_0x250649(0x117)];[_0x250649(0x11f)];[_0x250649(0xf9)];[_0x250649(0xd8)];[_0x250649(0xca)];[_0x250649(0xed)];[_0x250649(0xfe)];constructor(_0xe72090,_0x38f405,_0x7f9e5b){const _0x32be3d=_0x250649;super(_0xe72090);const _0x42fbd9=this[_0x32be3d(0xcc)];this[_0x32be3d(0xfb)](_0x32be3d(0x10d),!0x1),this[_0x32be3d(0xfb)](_0x32be3d(0xef),_0x38f405[_0x32be3d(0x11e)][_0x32be3d(0xef)]),this[_0x32be3d(0xfb)](_0x32be3d(0xe5),!0x1),this[_0x32be3d(0xca)]=_0x38f405,this[_0x32be3d(0xed)]=_0x7f9e5b,this[_0x32be3d(0xf1)]=this[_0x32be3d(0xd9)](),this[_0x32be3d(0x120)]=this[_0x32be3d(0xd9)](),this[_0x32be3d(0x117)]=null,this[_0x32be3d(0x11f)]=new _0x4881a5(),this[_0x32be3d(0xf9)]=new _0x235d16(),this[_0x32be3d(0xd8)]=new _0x3ed89a({'focusables':this[_0x32be3d(0xf1)],'focusTracker':this[_0x32be3d(0x11f)],'keystrokeHandler':this[_0x32be3d(0xf9)],'keystrokeHandlerOptions':{'filter':_0x2a69f0=>this[_0x32be3d(0xf1)][_0x32be3d(0xc9)](_0x174464=>_0x174464[_0x32be3d(0xf5)])[_0x32be3d(0xf6)](_0x2a69f0[_0x32be3d(0xd5)])},'actions':{'focusPrevious':_0x32be3d(0xfd),'focusNext':_0x32be3d(0x106)}}),this[_0x32be3d(0xfe)]=new _0x2b163f(_0xe72090),this[_0x32be3d(0xfe)][_0x32be3d(0x105)](_0x32be3d(0xda))['to'](this,_0x32be3d(0xef),_0x123cfa=>_0x123cfa-this[_0x32be3d(0xed)][_0x32be3d(0xd2)]);for(const _0x53da25 of _0x38f405[_0x32be3d(0x11e)])this[_0x32be3d(0x115)](_0x53da25);this[_0x32be3d(0xfa)](),this[_0x32be3d(0x10c)](_0x38f405[_0x32be3d(0x11e)],_0x32be3d(0xf4),(_0x461373,_0x2d0b5e)=>{const _0x4e7283=_0x32be3d,_0x5df4b2=this[_0x4e7283(0x102)](_0x2d0b5e);this[_0x4e7283(0xef)]++,this[_0x4e7283(0x115)](_0x2d0b5e,_0x5df4b2),this[_0x4e7283(0x122)]();}),this[_0x32be3d(0x10c)](_0x38f405[_0x32be3d(0x11e)],_0x32be3d(0x10b),(_0x17916b,_0x39e5db)=>{const _0x423653=_0x32be3d;this[_0x423653(0xef)]--,this[_0x423653(0xeb)](_0x39e5db),this[_0x423653(0x122)]();}),this[_0x32be3d(0x10c)](_0x38f405,_0x32be3d(0xce),()=>this[_0x32be3d(0x122)]()),this[_0x32be3d(0x10c)](_0x38f405,_0x32be3d(0xe8),()=>this[_0x32be3d(0xfa)]()),this['on'](_0x32be3d(0x10e),()=>this[_0x32be3d(0x122)]()),this['on'](_0x32be3d(0xec),()=>this[_0x32be3d(0x122)]()),this[_0x32be3d(0x124)]({'tag':'ul','attributes':{'class':[_0x32be3d(0x116),_0x42fbd9['if'](_0x32be3d(0xef),_0x32be3d(0xe9),_0x25ad8e=>!_0x25ad8e)],'aria-label':_0x1dc5b8(_0xe72090,_0x32be3d(0xea))},'children':this[_0x32be3d(0x120)]});}get[_0x250649(0x126)](){const _0x24274d=_0x250649;return this[_0x24274d(0xca)][_0x24274d(0x128)]>this[_0x24274d(0xed)][_0x24274d(0xcf)]&&!this[_0x24274d(0xe5)]&&!this[_0x24274d(0x10d)];}[_0x250649(0xde)](){const _0x26dfe9=_0x250649;super[_0x26dfe9(0xde)](),this[_0x26dfe9(0x122)](),this[_0x26dfe9(0x125)]();}[_0x250649(0xc7)](_0x26d741){const _0x381b9b=_0x250649;-0x1===_0x26d741?this[_0x381b9b(0xd8)][_0x381b9b(0x109)]():this[_0x381b9b(0xd8)][_0x381b9b(0x11d)]();}[_0x250649(0xe0)](){const _0x328658=_0x250649;this[_0x328658(0xfe)][_0x328658(0xe0)]();for(const _0x33811c of this[_0x328658(0xf1)])_0x33811c[_0x328658(0xe0)]();super[_0x328658(0xe0)]();}[_0x250649(0x122)](){const _0x1f64eb=_0x250649;this[_0x1f64eb(0x126)]?this[_0x1f64eb(0xe2)]():this[_0x1f64eb(0x101)]();}[_0x250649(0x115)](_0x2301b9,_0x47af0a){const _0x57b87d=_0x250649,_0x35497c=new this[(_0x57b87d(0xed))][(_0x57b87d(0x10a))](this[_0x57b87d(0xe7)],_0x2301b9,{'maxCommentCharsWhenCollapsed':this[_0x57b87d(0xed)][_0x57b87d(0x11c)],'formatDateTime':this[_0x57b87d(0xed)][_0x57b87d(0x121)],'editorConfig':this[_0x57b87d(0xed)][_0x57b87d(0x114)]});_0x35497c[_0x57b87d(0x129)]=_0x2301b9['id'],_0x35497c[_0x57b87d(0x111)](_0x57b87d(0xc8))['to'](this),_0x35497c[_0x57b87d(0x111)](_0x57b87d(0xf8))['to'](this),_0x35497c[_0x57b87d(0x111)](_0x57b87d(0x119))['to'](this),_0x35497c[_0x57b87d(0x111)](_0x57b87d(0x108))['to'](this),_0x35497c[_0x57b87d(0x111)](_0x57b87d(0xf3))['to'](this),this[_0x57b87d(0x10c)](_0x35497c,_0x57b87d(0xe6),()=>this[_0x57b87d(0xdb)]()),this[_0x57b87d(0xf1)][_0x57b87d(0xf4)](_0x35497c,_0x47af0a);}[_0x250649(0x102)](_0x515baf){const _0x1805cc=_0x250649,_0xab6511=this[_0x1805cc(0xca)][_0x1805cc(0xdc)](_0x515baf);return this[_0x1805cc(0x117)]?this[_0x1805cc(0x117)][_0x1805cc(0xe4)]>_0x515baf[_0x1805cc(0xe4)]?_0xab6511-0x1:_0xab6511:_0xab6511-0x1;}[_0x250649(0xfa)](){const _0x554f25=_0x250649;if(this[_0x554f25(0xca)][_0x554f25(0xd3)]&&this[_0x554f25(0xca)][_0x554f25(0xdd)]){const _0x5ef979={'id':_0x554f25(0xf2),'author':this[_0x554f25(0xca)][_0x554f25(0xd3)],'authoredAt':this[_0x554f25(0xca)][_0x554f25(0xdd)],'content':_0x1dc5b8(this[_0x554f25(0xe7)],_0x554f25(0xdf)),'attributes':{}};this[_0x554f25(0x117)]=new this[(_0x554f25(0xed))][(_0x554f25(0x10a))](this[_0x554f25(0xe7)],_0x5ef979,{'maxCommentCharsWhenCollapsed':this[_0x554f25(0xed)][_0x554f25(0x11c)],'formatDateTime':this[_0x554f25(0xed)][_0x554f25(0x121)],'editorConfig':this[_0x554f25(0xed)][_0x554f25(0x114)],'isSystemComment':!0x0}),this[_0x554f25(0xf1)][_0x554f25(0xf4)](this[_0x554f25(0x117)],this[_0x554f25(0xca)][_0x554f25(0xdc)](_0x5ef979));}else this[_0x554f25(0x117)]&&(this[_0x554f25(0xf1)][_0x554f25(0x10b)](this[_0x554f25(0x117)]),this[_0x554f25(0x117)][_0x554f25(0xe0)](),this[_0x554f25(0x117)]=null);this[_0x554f25(0x122)]();}[_0x250649(0xeb)](_0x4a5fac){const _0x524d4e=_0x250649,_0x101e1e=this[_0x524d4e(0xf1)][_0x524d4e(0x10b)](_0x4a5fac['id']);this[_0x524d4e(0xd7)](_0x101e1e),_0x101e1e[_0x524d4e(0xcb)]&&this[_0x524d4e(0xdb)](),_0x101e1e[_0x524d4e(0xe0)]();}[_0x250649(0xdb)](){const _0x383547=_0x250649;this[_0x383547(0x10d)]=Array[_0x383547(0xf0)](this[_0x383547(0xf1)])[_0x383547(0x103)](_0x3f55f4=>_0x3f55f4[_0x383547(0xcb)]);}[_0x250649(0xe2)](){const _0x1ea8f2=_0x250649,_0x56ce3c=function(_0x5df698){const _0x495421=_0x36bf,_0x4c3519=new _0x587145();for(const _0x542ed5 of _0x5df698)_0x4c3519[_0x495421(0xf4)](_0x542ed5);return _0x4c3519;}(this[_0x1ea8f2(0xf1)]),_0xc4947=this[_0x1ea8f2(0xfe)][_0x1ea8f2(0xda)];for(let _0x421f7e=0x1;_0x421f7e<=_0xc4947;_0x421f7e++)_0x56ce3c[_0x1ea8f2(0x10b)](0x1);for(const _0x5997c2 of _0x56ce3c)_0x5997c2[_0x1ea8f2(0xe1)]();_0xc4947>0x0&&_0x56ce3c[_0x1ea8f2(0xf4)](this[_0x1ea8f2(0xfe)],0x1),ns(_0x172f34(Array[_0x1ea8f2(0xf0)](this[_0x1ea8f2(0x120)]),Array[_0x1ea8f2(0xf0)](_0x56ce3c)),this[_0x1ea8f2(0x120)],_0x56ce3c);}[_0x250649(0x101)](){const _0xde3e5=_0x250649;ns(_0x172f34(Array[_0xde3e5(0xf0)](this[_0xde3e5(0x120)]),Array[_0xde3e5(0xf0)](this[_0xde3e5(0xf1)])),this[_0xde3e5(0x120)],this[_0xde3e5(0xf1)]);for(const _0xe6f95e of this[_0xde3e5(0x120)])_0xe6f95e[_0xde3e5(0xee)]();}[_0x250649(0x125)](){const _0x326081=_0x250649;this[_0x326081(0xf1)][_0x326081(0xcd)](_0x2149cd=>{const _0x59500b=_0x326081;this[_0x59500b(0x11f)][_0x59500b(0xf4)](_0x2149cd[_0x59500b(0xf5)]),this[_0x59500b(0xf9)][_0x59500b(0x10c)](_0x2149cd[_0x59500b(0xf5)]);}),this[_0x326081(0xf1)]['on'](_0x326081(0xd1),(_0x3771a2,_0x213645)=>{const _0x1277b6=_0x326081;for(const _0x57d359 of _0x213645[_0x1277b6(0x118)])this[_0x1277b6(0x11f)][_0x1277b6(0x10b)](_0x57d359[_0x1277b6(0xf5)]),this[_0x1277b6(0xf9)][_0x1277b6(0xd7)](_0x57d359[_0x1277b6(0xf5)]);for(const _0x4647d5 of Array[_0x1277b6(0xf0)](_0x213645[_0x1277b6(0x11a)])[_0x1277b6(0x107)]())this[_0x1277b6(0x11f)][_0x1277b6(0xf4)](_0x4647d5[_0x1277b6(0xf5)]),this[_0x1277b6(0xf9)][_0x1277b6(0x10c)](_0x4647d5[_0x1277b6(0xf5)]);});}}function ns(_0xa4307f,_0x1c29bc,_0x4b41f0){const _0x3d24b9=_0x250649;let _0x32ade7=0x0;for(const _0x4de53a of _0xa4307f)switch(_0x4de53a){case _0x3d24b9(0x123):_0x1c29bc[_0x3d24b9(0xf4)](_0x4b41f0[_0x3d24b9(0xd0)](_0x32ade7),_0x32ade7),_0x32ade7++;break;case _0x3d24b9(0xe3):_0x1c29bc[_0x3d24b9(0x10b)](_0x32ade7);break;case _0x3d24b9(0x112):_0x32ade7++;}}function _0x39f0(){const _0x1c21b2=['delete','authoredAt','isActive','change:isEditMode','locale','change:isResolved','ck-hidden','Thread\x20comments','_handleRemoveCommentModel','change:hasDirtyComment','_config','expand','length','from','commentViews','resolved','editorDestroyed','add','element','includes','4269aGAPMS','updateComment','keystrokes','_handleInfoComment','set','48zieqnx','arrowup','_collapsedCommentsView','1336254PEklWK','9OOTdFd','_rearrangeExpand','_calculatePosition','some','7XWMoSs','bind','arrowdown','reverse','editorReady','focusLast','CommentView','remove','listenTo','hasDirtyComment','change:isActive','152tgDMMt','6645KhUgYd','delegate','equal','17ZaLMaE','editorConfig','_handleNewCommentModel','ck-thread__comments','resolvedCommentView','removed','resolveCommentThread','added','98087prNJZF','maxCommentCharsWhenCollapsed','focusFirst','comments','focusTracker','visibleViews','formatDateTime','refreshVisibleViews','insert','setTemplate','_setupKeyboardNavigation','_shouldCollapse','1078520drRoBB','weight','viewUid','focus','removeComment','map','_model','isEditMode','bindTemplate','forEach','commentUpdated','maxThreadTotalWeight','get','change','maxCommentsWhenCollapsed','resolvedBy','5326qfnpKA','target','1810824tyhVxr','stopListening','focusCycler','createCollection','count','_updateHasDirtyComment','_findOptimalIndex','resolvedAt','render','Marked\x20as\x20resolved','destroy','collapse','_rearrangeCollapse'];_0x39f0=function(){return _0x1c21b2;};return _0x39f0();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x22c8(){const _0x3fa18e=['THREAD_CONTEXT_LABEL','ck-context__value','2307385llrBwx','257074Ujnabw','contextValue','56725250qkxAiS','1616013BJhZed','944808wFjOmG','element','bindTemplate','7011584VKUFRe','setTemplate','12xHwPlk','12fKAZZd','7chdgEm','set','focus','span','4246875uyndEJ'];_0x22c8=function(){return _0x3fa18e;};return _0x22c8();}const _0x29c9cd=_0x4a55;function _0x4a55(_0x3dfd86,_0x4e072d){const _0x22c802=_0x22c8();return _0x4a55=function(_0x4a5503,_0xe37b3){_0x4a5503=_0x4a5503-0x119;let _0x1ccb01=_0x22c802[_0x4a5503];return _0x1ccb01;},_0x4a55(_0x3dfd86,_0x4e072d);}(function(_0x14c5c9,_0x5f55e2){const _0x4e0a72=_0x4a55,_0x382bcd=_0x14c5c9();while(!![]){try{const _0x2ff0ee=parseInt(_0x4e0a72(0x11c))/0x1*(-parseInt(_0x4e0a72(0x126))/0x2)+-parseInt(_0x4e0a72(0x122))/0x3+-parseInt(_0x4e0a72(0x11d))/0x4*(parseInt(_0x4e0a72(0x125))/0x5)+-parseInt(_0x4e0a72(0x12a))/0x6*(-parseInt(_0x4e0a72(0x11e))/0x7)+-parseInt(_0x4e0a72(0x11a))/0x8+parseInt(_0x4e0a72(0x129))/0x9+parseInt(_0x4e0a72(0x128))/0xa;if(_0x2ff0ee===_0x5f55e2)break;else _0x382bcd['push'](_0x382bcd['shift']());}catch(_0x3b414b){_0x382bcd['push'](_0x382bcd['shift']());}}}(_0x22c8,0xc104a));import{View as _0x43a2d3}from'ckeditor5/src/ui.js';import{getTranslation as _0x24f854}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x43a2d3{constructor(_0x45ed9e){const _0x2b5aea=_0x4a55;super(_0x45ed9e);const _0x9514e3=this[_0x2b5aea(0x119)];this[_0x2b5aea(0x11f)](_0x2b5aea(0x127),''),this[_0x2b5aea(0x11b)]({'tag':_0x2b5aea(0x121),'attributes':{'class':['ck',_0x2b5aea(0x124)],'aria-label':_0x9514e3['to'](_0x2b5aea(0x127),_0x121760=>_0x24f854(_0x45ed9e,_0x2b5aea(0x123),_0x121760)),'tabindex':-0x1},'children':[{'text':_0x9514e3['to'](_0x2b5aea(0x127))}]});}[_0x29c9cd(0x120)](){const _0x21443e=_0x29c9cd;this[_0x21443e(0x12b)][_0x21443e(0x120)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x9f0e76=_0x13de;(function(_0x5b8400,_0x33d5f9){const _0xa2ed23=_0x13de,_0x5a78f4=_0x5b8400();while(!![]){try{const _0x1dab41=parseInt(_0xa2ed23(0x13d))/0x1*(-parseInt(_0xa2ed23(0x134))/0x2)+parseInt(_0xa2ed23(0x14c))/0x3+parseInt(_0xa2ed23(0x159))/0x4*(parseInt(_0xa2ed23(0x14b))/0x5)+parseInt(_0xa2ed23(0x14d))/0x6*(-parseInt(_0xa2ed23(0x11b))/0x7)+parseInt(_0xa2ed23(0x15a))/0x8*(parseInt(_0xa2ed23(0x132))/0x9)+parseInt(_0xa2ed23(0x146))/0xa+parseInt(_0xa2ed23(0x141))/0xb;if(_0x1dab41===_0x33d5f9)break;else _0x5a78f4['push'](_0x5a78f4['shift']());}catch(_0x3485ba){_0x5a78f4['push'](_0x5a78f4['shift']());}}}(_0x50bb,0xd4300));function _0x13de(_0x32e366,_0x201787){const _0x50bbde=_0x50bb();return _0x13de=function(_0x13de75,_0x1e23d8){_0x13de75=_0x13de75-0x118;let _0x2daf12=_0x50bbde[_0x13de75];return _0x2daf12;},_0x13de(_0x32e366,_0x201787);}import{View as _0x7203ba,ButtonView as _0x4eff04,FocusCycler as _0x3a6374}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4ab04f,KeystrokeHandler as _0x11ed5e}from'ckeditor5/src/utils.js';function _0x50bb(){const _0x1068db=['_model','Reopen','1117WSMWbA','isReadOnly','ck-context-wrapper','fire','3230260YbIGaG','focusables','setTemplate','isVisible','remove','1168050ZJGrye','.ck-context__value','ck-thread__header','.ck-context','value','161305dBtfsn','2956533tFNeYL','5680842RfWCHO','createCollection','element','overlay','ck-context--quotes','label','length','isResolvable','scrollWidth','lastIndexOf','add','tab','28gzQjBD','8wKBZtN','div','contextValue','querySelector','keystrokes','icon','reopenCommentThread','_setupKeyboardNavigation','bind','locale','7lWNrdx','substring','isResolved','context','ck-annotation__actions','bindTemplate','execute','contextView','mouseleave','offsetWidth','tooltip','_createReopenButton','classList','render','_attachContextActions','isEnabled','ck-context','listenTo','focusCycler','Comment\x20was\x20made\x20on\x20an\x20element','focus','mouseenter','...','11357784mUuyGr','reopenButtonView','1912IgQuoF','_createContextView','hasContext','focusTracker','shift+tab','focusFirst','_trimContextValue'];_0x50bb=function(){return _0x1068db;};return _0x50bb();}import{IconUndo as _0x3f3436}from'ckeditor5/src/icons.js';import{getTranslation as _0x693784}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x1fb10e}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x7203ba{[_0x9f0e76(0x13b)];[_0x9f0e76(0x133)];[_0x9f0e76(0x122)];[_0x9f0e76(0x142)];[_0x9f0e76(0x137)];[_0x9f0e76(0x15e)];[_0x9f0e76(0x12d)];constructor(_0x3fcc27,_0x17205e){const _0x35b8ea=_0x9f0e76;super(_0x3fcc27);const _0x4d18ea=this[_0x35b8ea(0x120)];this[_0x35b8ea(0x13b)]=_0x17205e,this[_0x35b8ea(0x133)]=this[_0x35b8ea(0x126)](),this[_0x35b8ea(0x122)]=this[_0x35b8ea(0x135)](),this[_0x35b8ea(0x142)]=this[_0x35b8ea(0x14e)]([this[_0x35b8ea(0x122)],this[_0x35b8ea(0x133)]]),this[_0x35b8ea(0x137)]=new _0x4ab04f(),this[_0x35b8ea(0x15e)]=new _0x11ed5e(),this[_0x35b8ea(0x12d)]=new _0x3a6374({'focusables':this[_0x35b8ea(0x142)],'focusTracker':this[_0x35b8ea(0x137)],'keystrokeHandler':this[_0x35b8ea(0x15e)],'actions':{'focusPrevious':_0x35b8ea(0x138),'focusNext':_0x35b8ea(0x158)}}),this[_0x35b8ea(0x119)](_0x35b8ea(0x136))['to'](this[_0x35b8ea(0x13b)],_0x35b8ea(0x11e),_0x451ef9=>!!_0x451ef9),this[_0x35b8ea(0x119)](_0x35b8ea(0x15c))['to'](this[_0x35b8ea(0x13b)],_0x35b8ea(0x11e),_0x51a8a1=>_0x51a8a1&&_0x51a8a1[_0x35b8ea(0x14a)]?this[_0x35b8ea(0x13a)](_0x51a8a1[_0x35b8ea(0x14a)]):_0x693784(this[_0x35b8ea(0x11a)],_0x35b8ea(0x12e))),this[_0x35b8ea(0x143)]({'tag':_0x35b8ea(0x15b),'attributes':{'class':[_0x35b8ea(0x148)]},'children':[{'tag':_0x35b8ea(0x15b),'attributes':{'class':[_0x35b8ea(0x13f)]},'children':[{'tag':_0x35b8ea(0x15b),'attributes':{'class':[_0x35b8ea(0x12b),_0x4d18ea['if'](_0x35b8ea(0x136),_0x35b8ea(0x151))]},'children':[this[_0x35b8ea(0x122)]]}]},{'tag':_0x35b8ea(0x15b),'attributes':{'class':[_0x35b8ea(0x11f)]},'children':[this[_0x35b8ea(0x133)]]}]});}[_0x9f0e76(0x128)](){const _0x57ba3c=_0x9f0e76;super[_0x57ba3c(0x128)](),this[_0x57ba3c(0x129)](),this[_0x57ba3c(0x118)]();}[_0x9f0e76(0x12f)](){const _0x61bc6e=_0x9f0e76;this[_0x61bc6e(0x12d)][_0x61bc6e(0x139)]();}[_0x9f0e76(0x126)](){const _0x17f1fc=_0x9f0e76,_0x48535e=new _0x4eff04(this[_0x17f1fc(0x11a)]);return _0x48535e[_0x17f1fc(0x152)]=_0x693784(this[_0x17f1fc(0x11a)],_0x17f1fc(0x13c)),_0x48535e[_0x17f1fc(0x125)]=_0x693784(this[_0x17f1fc(0x11a)],_0x17f1fc(0x13c)),_0x48535e[_0x17f1fc(0x15f)]=_0x3f3436,_0x48535e[_0x17f1fc(0x119)](_0x17f1fc(0x12a))['to'](this[_0x17f1fc(0x13b)],_0x17f1fc(0x13e),_0x3c5fac=>!_0x3c5fac),_0x48535e[_0x17f1fc(0x119)](_0x17f1fc(0x144))['to'](this[_0x17f1fc(0x13b)],_0x17f1fc(0x154),this[_0x17f1fc(0x13b)],_0x17f1fc(0x11d),(_0x33da86,_0x49a04b)=>_0x33da86&&_0x49a04b),_0x48535e['on'](_0x17f1fc(0x121),()=>{const _0x26a233=_0x17f1fc;this[_0x26a233(0x140)](_0x26a233(0x160),this[_0x26a233(0x13b)]['id']);}),_0x48535e;}[_0x9f0e76(0x13a)](_0x116c7c){const _0x2c8cf2=_0x9f0e76;if(_0x116c7c[_0x2c8cf2(0x153)]<0x96)return _0x116c7c;const _0x52a618=_0x116c7c[_0x2c8cf2(0x156)]('\x20',0x93);return _0x116c7c[_0x2c8cf2(0x11c)](0x0,_0x52a618>-0x1?_0x52a618:0x93)+_0x2c8cf2(0x131);}[_0x9f0e76(0x129)](){const _0x4724c4=_0x9f0e76,_0x2c6d61=this[_0x4724c4(0x14f)][_0x4724c4(0x15d)](_0x4724c4(0x149)),_0x40e530=_0x2c6d61[_0x4724c4(0x15d)](_0x4724c4(0x147));this[_0x4724c4(0x12c)](_0x2c6d61,_0x4724c4(0x130),()=>{const _0x438a81=_0x4724c4;_0x40e530[_0x438a81(0x124)]<_0x40e530[_0x438a81(0x155)]&&_0x2c6d61[_0x438a81(0x127)][_0x438a81(0x157)](_0x438a81(0x150));}),this[_0x4724c4(0x12c)](_0x2c6d61,_0x4724c4(0x123),()=>{const _0x39fdc6=_0x4724c4;_0x2c6d61[_0x39fdc6(0x127)][_0x39fdc6(0x145)](_0x39fdc6(0x150));});}[_0x9f0e76(0x118)](){const _0x529982=_0x9f0e76;this[_0x529982(0x15e)][_0x529982(0x12c)](this[_0x529982(0x14f)]);for(const _0xe6f9ca of this[_0x529982(0x142)])this[_0x529982(0x137)][_0x529982(0x157)](_0xe6f9ca[_0x529982(0x14f)]),this[_0x529982(0x15e)][_0x529982(0x12c)](_0xe6f9ca[_0x529982(0x14f)]);}[_0x9f0e76(0x135)](){const _0x218568=_0x9f0e76,_0x8f75d4=new _0x1fb10e(this[_0x218568(0x11a)]);return _0x8f75d4[_0x218568(0x119)](_0x218568(0x15c))['to'](this),_0x8f75d4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x132f52=_0x15c2;function _0x407a(){const _0xf46324=['focusCycler','focusTracker','getDomRoot','editorDestroyed','createEditor','ck-thread__user','some','5336990eRgAvs','value','render','target','isFocused','1148tZdMwE','listenTo','setTemplate','ck-comment__input-container--active','16gZmlBR','element','4005bwlGQe','11fiufSE','39272euUHSH','ck-thread__input','showInput','preventDefault','view','set','bind','36876LgTCxs','change:showInput','delegate','editing','editor','showButtons','destroy','extendTemplate','contains','521101KqMBNT','2117184pqGqEE','userView','3sbYhBR','focus','editorReady','1108719NNnVcN','commentInputView','mousedown','filter','then','ck-comment__input-container','bindTemplate','_focusOnNonInteractiveMouseDown','div'];_0x407a=function(){return _0xf46324;};return _0x407a();}(function(_0xeb48e6,_0x4549cd){const _0x16353f=_0x15c2,_0x3cf7ae=_0xeb48e6();while(!![]){try{const _0x818e09=parseInt(_0x16353f(0x9a))/0x1*(parseInt(_0x16353f(0xba))/0x2)+-parseInt(_0x16353f(0x8e))/0x3+-parseInt(_0x16353f(0xb2))/0x4*(-parseInt(_0x16353f(0xb8))/0x5)+-parseInt(_0x16353f(0x98))/0x6+-parseInt(_0x16353f(0x97))/0x7*(parseInt(_0x16353f(0xb6))/0x8)+-parseInt(_0x16353f(0x9d))/0x9+parseInt(_0x16353f(0xad))/0xa*(parseInt(_0x16353f(0xb9))/0xb);if(_0x818e09===_0x4549cd)break;else _0x3cf7ae['push'](_0x3cf7ae['shift']());}catch(_0x3fa014){_0x3cf7ae['push'](_0x3cf7ae['shift']());}}}(_0x407a,0x2d3ad));import{View as _0x4bcea2}from'ckeditor5/src/ui.js';function _0x15c2(_0x18533a,_0x1f0b44){const _0x407a29=_0x407a();return _0x15c2=function(_0x15c2de,_0x2f5089){_0x15c2de=_0x15c2de-0x8d;let _0x35ab87=_0x407a29[_0x15c2de];return _0x35ab87;},_0x15c2(_0x18533a,_0x1f0b44);}import{CommentInputView as _0x3b8c28}from'./commentinputview.js';import{UserView as _0x54126e}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x4bcea2{constructor(_0x3c6de7,_0x51ece2,_0x4b2260){const _0xb84d02=_0x15c2;super(_0x3c6de7),this[_0xb84d02(0x9e)]=new _0x3b8c28(_0x3c6de7,_0x4b2260),this[_0xb84d02(0xa6)]=this[_0xb84d02(0x9e)][_0xb84d02(0xa6)],this[_0xb84d02(0x9e)][_0xb84d02(0x8d)](_0xb84d02(0x93))['to'](this[_0xb84d02(0x9e)][_0xb84d02(0xa7)],_0xb84d02(0xb1),this[_0xb84d02(0x9e)],_0xb84d02(0xae),(_0x3fa95d,_0x2aa01c)=>_0x3fa95d||!!_0x2aa01c),this[_0xb84d02(0xbf)](_0xb84d02(0xbc),!0x1),this['on'](_0xb84d02(0x8f),()=>{const _0x2e1555=_0xb84d02;this[_0x2e1555(0xbc)]&&!this[_0x2e1555(0x9e)][_0x2e1555(0x92)]&&this[_0x2e1555(0x9e)][_0x2e1555(0xaa)]();}),this[_0xb84d02(0x9e)][_0xb84d02(0x90)](_0xb84d02(0x9c))['to'](this),this[_0xb84d02(0x9e)][_0xb84d02(0x90)](_0xb84d02(0xa9))['to'](this),this[_0xb84d02(0x99)]=new _0x54126e(_0x3c6de7,_0x51ece2),this[_0xb84d02(0x99)][_0xb84d02(0x95)]({'attributes':{'class':_0xb84d02(0xab),'aria-hidden':!0x0}}),this[_0xb84d02(0x9e)][_0xb84d02(0x95)]({'attributes':{'class':_0xb84d02(0xbb)}}),this[_0xb84d02(0xb4)]({'tag':_0xb84d02(0xa5),'attributes':{'class':[_0xb84d02(0xa2),this[_0xb84d02(0xa3)]['if'](_0xb84d02(0xbc),_0xb84d02(0xb5))]},'children':[this[_0xb84d02(0x99)],this[_0xb84d02(0x9e)]]});}[_0x132f52(0xaf)](){const _0x4ec080=_0x132f52;super[_0x4ec080(0xaf)](),this[_0x4ec080(0xa4)]();}[_0x132f52(0x94)](){const _0x32d86b=_0x132f52;return this[_0x32d86b(0x9e)][_0x32d86b(0x94)]()[_0x32d86b(0xa1)](()=>super[_0x32d86b(0x94)]());}[_0x132f52(0x9b)](_0x19ae90){const _0x32f342=_0x132f52;this[_0x32f342(0x9e)][_0x32f342(0x9b)](_0x19ae90);}[_0x132f52(0xa4)](){const _0x151c50=_0x132f52;this[_0x151c50(0xb3)](this[_0x151c50(0xb7)],_0x151c50(0x9f),(_0x11e620,_0x529b8c)=>{const _0x5782fa=_0x151c50,{submitButtonView:_0x505aa6,cancelButtonView:_0x3a22c3,editor:_0xe83e97}=this[_0x5782fa(0x9e)];[_0x505aa6[_0x5782fa(0xb7)],_0x3a22c3[_0x5782fa(0xb7)],_0xe83e97?_0xe83e97[_0x5782fa(0x91)][_0x5782fa(0xbe)][_0x5782fa(0xa8)]():null][_0x5782fa(0xa0)](_0x24d2a7=>_0x24d2a7)[_0x5782fa(0xac)](_0x37e704=>_0x37e704[_0x5782fa(0x96)](_0x529b8c[_0x5782fa(0xb0)]))||(this[_0x5782fa(0x9b)](),_0x529b8c[_0x5782fa(0xbd)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5e2471=_0x4ae1;(function(_0xa39ce9,_0x13bcf6){const _0x229e6a=_0x4ae1,_0x172c67=_0xa39ce9();while(!![]){try{const _0x4809d7=parseInt(_0x229e6a(0x1f1))/0x1*(-parseInt(_0x229e6a(0x1fb))/0x2)+parseInt(_0x229e6a(0x203))/0x3*(-parseInt(_0x229e6a(0x1bf))/0x4)+-parseInt(_0x229e6a(0x205))/0x5+parseInt(_0x229e6a(0x1c5))/0x6+-parseInt(_0x229e6a(0x1f2))/0x7+parseInt(_0x229e6a(0x1c6))/0x8+parseInt(_0x229e6a(0x1d0))/0x9;if(_0x4809d7===_0x13bcf6)break;else _0x172c67['push'](_0x172c67['shift']());}catch(_0xf4de49){_0x172c67['push'](_0x172c67['shift']());}}}(_0xe157,0x3683d));import{ConfirmMixin as _0x2fe884,LateFocusButtonView as _0x23b8c5}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xe157(){const _0x4f1bc6=['change:isReadOnly','Write\x20a\x20comment...','removeCommentThread','Delete\x20comment\x20thread?','unbind','isEnabled','removeButton','ck-thread','querySelector','isUnlinked','bind','ck-comment--resolve','change:isActive','execute','set','extendTemplate','high','locale','has','commentThreadInputView','cancelConfirm','ariaLabel','listitem','resolveCommentThread','isActive','removeConfirm','9cWelZP','245833dAlxJX','focusables','commentThreadHeaderView','isResolvable','bindTemplate','_createResolveButton','get','add','actionIndicator','94586Fzcbyw','tooltip','archivedAt','containerElement','focus','_boundFirstCommentView','isVisible','getTemplate','2592qtjZhD','icon','2096805pnjnOc','ck-thread__container','ck-thread--unlinked','element','fire','setTemplate','isResolved','_updateArchivedThreadHeader','.ck-thread__container','commentsListView','actionBar','remove','ck-thread--','ck-rounded-corners','ariaDescriptionView','length','change:archivedAt','8jqVIwn','createCollection','then','listenTo','isSystemComment','_bindFirstCommentView','486018UlElCD','3039672inswWk','_cancelAllConfirms','showConfirm','render','placeholder','isReadOnly','commentViews','stop','commentThreadChildren','resolveButton','5797584sFbmgf','label','Resolve','ck-reset_all-excluded','_model','ck-thread--active','div'];_0xe157=function(){return _0x4f1bc6;};return _0xe157();}function _0x4ae1(_0x6fdf70,_0x11e42f){const _0xe157ab=_0xe157();return _0x4ae1=function(_0x4ae129,_0x9396e1){_0x4ae129=_0x4ae129-0x1b9;let _0x5a43ee=_0xe157ab[_0x4ae129];return _0x5a43ee;},_0x4ae1(_0x6fdf70,_0x11e42f);}import{IconCheck as _0x469bbc}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x45eba7}from'./basecommentthreadview.js';import{getTranslation as _0x116b67}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2fe884(_0x45eba7){[_0x5e2471(0x1ce)];[_0x5e2471(0x1fe)];[_0x5e2471(0x1cf)];[_0x5e2471(0x200)];constructor(_0x43a1c9,_0x5130c1,_0x34a045,_0x249ffc){const _0x1973e8=_0x5e2471;super(_0x43a1c9,_0x5130c1,_0x34a045,_0x249ffc),this[_0x1973e8(0x1ce)]=this[_0x1973e8(0x1c0)]([this[_0x1973e8(0x20e)],this[_0x1973e8(0x1ea)],this[_0x1973e8(0x1bc)]]),this[_0x1973e8(0x1e5)](_0x1973e8(0x1fa),null),this[_0x1973e8(0x1fe)]=null,this[_0x1973e8(0x200)]=null,this[_0x1973e8(0x1e8)]=_0x43a1c9,this[_0x1973e8(0x1cf)]=this[_0x1973e8(0x1f7)](),this[_0x1973e8(0x20a)](this[_0x1973e8(0x202)]()),this['on'](_0x1973e8(0x1e3),(_0xa60fc4,_0x374a6d,_0x43f954)=>{const _0x29bff0=_0x1973e8;_0x43f954||this[_0x29bff0(0x1c7)]();}),this[_0x1973e8(0x1c2)](this[_0x1973e8(0x1d4)],_0x1973e8(0x1d7),(_0x52f1a2,_0x25e728,_0x2afd1a)=>{const _0x2efeee=_0x1973e8;_0x2afd1a&&this[_0x2efeee(0x1c7)]();}),this[_0x1973e8(0x1bd)]>0x0&&this[_0x1973e8(0x1c4)](),this[_0x1973e8(0x1c2)](this[_0x1973e8(0x20e)][_0x1973e8(0x1cc)],_0x1973e8(0x1f9),()=>{const _0x46666f=_0x1973e8;this[_0x46666f(0x1c4)]();});}[_0x5e2471(0x202)](){const _0x40b795=_0x5e2471,_0x190d37=this[_0x40b795(0x1f6)];return{'tag':_0x40b795(0x1d6),'attributes':{'class':['ck',_0x40b795(0x1de),_0x40b795(0x1d3),_0x40b795(0x1bb),_0x190d37['if'](_0x40b795(0x1ef),_0x40b795(0x1d5)),_0x190d37['if'](_0x40b795(0x1e0),_0x40b795(0x207)),_0x190d37['to'](_0x40b795(0x1fa),_0x509937=>_0x509937?_0x40b795(0x1ba)+_0x509937:'')],'data-thread-id':this[_0x40b795(0x1d4)]['id'],'tabindex':0x0,'role':_0x40b795(0x1ed),'aria-label':_0x190d37['to'](_0x40b795(0x1ec)),'aria-describedby':this[_0x40b795(0x1bc)]['id']},'children':[{'tag':_0x40b795(0x1d6),'attributes':{'class':_0x40b795(0x206)},'children':this[_0x40b795(0x1ce)]}]};}[_0x5e2471(0x1c9)](){const _0x150075=_0x5e2471;super[_0x150075(0x1c9)](),this[_0x150075(0x1fe)]=this[_0x150075(0x208)][_0x150075(0x1df)](_0x150075(0x20d)),this[_0x150075(0x1d4)]['on'](_0x150075(0x1be),()=>{const _0x5ae6ed=_0x150075;this[_0x5ae6ed(0x20c)]();}),this[_0x150075(0x20c)]();}[_0x5e2471(0x1c7)](){const _0x2d527d=_0x5e2471;this[_0x2d527d(0x1eb)]();for(const _0x40d1bb of this[_0x2d527d(0x20e)][_0x2d527d(0x1cc)])_0x40d1bb[_0x2d527d(0x1eb)]();}[_0x5e2471(0x1c4)](){const _0x4cb20c=_0x5e2471,{locale:_0xa5564}=this,_0x539389=this[_0x4cb20c(0x20e)][_0x4cb20c(0x1cc)][_0x4cb20c(0x1f8)](0x0);_0x539389===this[_0x4cb20c(0x200)]||_0x539389[_0x4cb20c(0x1c3)]||(this[_0x4cb20c(0x200)]=_0x539389,this[_0x4cb20c(0x1db)](_0x4cb20c(0x1fa)),this[_0x4cb20c(0x1e1)](_0x4cb20c(0x1fa))['to'](_0x539389,_0x4cb20c(0x1fa),_0x2ab264=>_0x4cb20c(0x1b9)===_0x2ab264?_0x4cb20c(0x1b9):null),_0x539389[_0x4cb20c(0x1ca)]=_0x116b67(_0xa5564,_0x4cb20c(0x1d8)),_0x539389[_0x4cb20c(0x1dd)]['on'](_0x4cb20c(0x1e4),_0x548ecc=>{const _0x2dffe0=_0x4cb20c;_0x548ecc[_0x2dffe0(0x1cd)](),this[_0x2dffe0(0x1c8)](_0x116b67(_0xa5564,_0x2dffe0(0x1da)),this[_0x2dffe0(0x1fe)])[_0x2dffe0(0x1c1)](()=>{const _0x16f242=_0x2dffe0;this[_0x16f242(0x209)](_0x16f242(0x1d9));});},{'priority':_0x4cb20c(0x1e7)}),this['on'](_0x4cb20c(0x1f0),()=>{const _0x58270b=_0x4cb20c;_0x539389[_0x58270b(0x1ff)]();}),_0x539389[_0x4cb20c(0x20f)][_0x4cb20c(0x1f9)](this[_0x4cb20c(0x1cf)],0x0),_0x539389[_0x4cb20c(0x1f3)][_0x4cb20c(0x1f9)](this[_0x4cb20c(0x1cf)],0x0));}[_0x5e2471(0x1f7)](){const _0x416c75=_0x5e2471,_0x32605d=new _0x23b8c5(this[_0x416c75(0x1e8)]);return _0x32605d[_0x416c75(0x1d1)]=_0x116b67(this[_0x416c75(0x1e8)],_0x416c75(0x1d2)),_0x32605d[_0x416c75(0x1fc)]=_0x116b67(this[_0x416c75(0x1e8)],_0x416c75(0x1d2)),_0x32605d[_0x416c75(0x204)]=_0x469bbc,_0x32605d[_0x416c75(0x1e6)]({'attributes':{'class':_0x416c75(0x1e2)}}),_0x32605d[_0x416c75(0x1e1)](_0x416c75(0x1dc))['to'](this[_0x416c75(0x1d4)],_0x416c75(0x1cb),_0x8f323a=>!_0x8f323a),_0x32605d[_0x416c75(0x1e1)](_0x416c75(0x201))['to'](this[_0x416c75(0x1d4)],_0x416c75(0x1f5),this[_0x416c75(0x1d4)],_0x416c75(0x20b),(_0x4ca86f,_0x57078a)=>_0x4ca86f&&!_0x57078a),_0x32605d['on'](_0x416c75(0x1e4),()=>{const _0x163839=_0x416c75;this[_0x163839(0x209)](_0x163839(0x1ee),this[_0x163839(0x1d4)]['id']);}),_0x32605d;}[_0x5e2471(0x20c)](){const _0x1c385a=_0x5e2471;this[_0x1c385a(0x1d4)][_0x1c385a(0x1fd)]?this[_0x1c385a(0x1ce)][_0x1c385a(0x1e9)](this[_0x1c385a(0x1f4)])||(this[_0x1c385a(0x1ce)][_0x1c385a(0x1f9)](this[_0x1c385a(0x1f4)],0x0),this[_0x1c385a(0x1f3)][_0x1c385a(0x1f9)](this[_0x1c385a(0x1f4)],0x0)):this[_0x1c385a(0x1ce)][_0x1c385a(0x1e9)](this[_0x1c385a(0x1f4)])&&(this[_0x1c385a(0x1ce)][_0x1c385a(0x1b9)](this[_0x1c385a(0x1f4)]),this[_0x1c385a(0x1f3)][_0x1c385a(0x1b9)](this[_0x1c385a(0x1f4)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x29edb1=_0x4e96;(function(_0x404a90,_0x5a94f4){const _0x464464=_0x4e96,_0x621238=_0x404a90();while(!![]){try{const _0x584b0a=parseInt(_0x464464(0x117))/0x1*(parseInt(_0x464464(0x103))/0x2)+-parseInt(_0x464464(0x166))/0x3+parseInt(_0x464464(0x138))/0x4*(parseInt(_0x464464(0x14d))/0x5)+parseInt(_0x464464(0xfd))/0x6+parseInt(_0x464464(0x140))/0x7+-parseInt(_0x464464(0x10e))/0x8*(-parseInt(_0x464464(0x147))/0x9)+-parseInt(_0x464464(0x109))/0xa;if(_0x584b0a===_0x5a94f4)break;else _0x621238['push'](_0x621238['shift']());}catch(_0x52f260){_0x621238['push'](_0x621238['shift']());}}}(_0xed44,0x47f86));import{IconRemoveComment as _0x4a656c,IconPencil as _0x482ee9,IconThreeVerticalDots as _0x131cdb}from'ckeditor5/src/icons.js';function _0x4e96(_0xac2f9e,_0x1e8b9d){const _0xed44f2=_0xed44();return _0x4e96=function(_0x4e9699,_0x4c6b20){_0x4e9699=_0x4e9699-0xfb;let _0x1f7704=_0xed44f2[_0x4e9699];return _0x1f7704;},_0x4e96(_0xac2f9e,_0x1e8b9d);}import{ButtonView as _0x50dfcd,createDropdown as _0xd6d3b9,ListView as _0x3db4bc,ListItemView as _0x34b57f,focusChildOnDropdownOpen as _0x18045a}from'ckeditor5/src/ui.js';import{UserView as _0x5b7374,ConfirmMixin as _0x599203,LateFocusDropdownButtonView as _0x1366a7}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xed44(){const _0x2cc821=['mouseenter','isEnabled','435652QeCKfp','getExternalCommentNote','getUserViewNotificationText','from','change:isRemovable','isExternal','ck-annotation__main','ck-comment','3117660UMIMcM','ck-comment--','Show\x20more\x20items','resolvedAt','ck-annotation__actions--hidden','name','bindTemplate','45bHoAmC','ck-comment--edit','set','cancelConfirm','ck-comment__external','ck-comment--info','25Opwktz','ck-comment__actions--hidden','panelPosition','some','ck-comment__wrapper','push','visibleView','extendTemplate','switchToEditMode','buttonView','isSystemComment','ck-comment__user','setTemplate','Edit','dropdown','length','group','Remove','execute','withText','children','label','ck-comment__main','isReadOnly','ck-annotation__info-name','929208Gzxjwl','div','getTemplate','icon','ariaLabel','span','formatDateTime','ck-comment__info-name','removeComment','edit','remove','ck-comment--remove','addMany','ck-annotation__content-wrapper','393486XJMyYo','isVisible','isEditable','isRemovable','focus','_createEditButton','140486bQTmVo','focusables','ck-annotation__info-time','removeButton','_createDropdown','bind','15090360IMMzlh','find','render','_attachActions','actionBar','906136tAUSzV','locale','ck-comment__info-time','showConfirm','blur','Reply...','createCollection','listenTo','ariaDescriptionView','7RMaEtc','add','userView','_model','_config','author','panelView','ck-comment__actions','ck-annotation','_createRemoveButton','time','isEditMode','unbind','authoredAt','placeholder','mouseleave','editButton','element','toMany','ck-hidden','ck-annotation__actions','fire','ck-comment__info','ck-annotation__user','Delete\x20comment?','ck-annotation__info','actionIndicator','then','listitem','_createCommentInputView','items'];_0xed44=function(){return _0x2cc821;};return _0xed44();}import{BaseCommentView as _0x3ace54}from'./basecommentview.js';import{getTranslation as _0x3b77e2}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x599203(_0x3ace54){[_0x29edb1(0x10d)];[_0x29edb1(0x119)];constructor(_0x363754,_0x50fb88,_0x11c36a){const _0x26cd9e=_0x29edb1;super(_0x363754,_0x50fb88,_0x11c36a),this[_0x26cd9e(0x149)](_0x26cd9e(0x131),null),this[_0x26cd9e(0x149)](_0x26cd9e(0x125),_0x3b77e2(_0x363754,_0x26cd9e(0x113))),this[_0x26cd9e(0x108)](_0x26cd9e(0x124))['to'](_0x50fb88),this[_0x26cd9e(0x108)](_0x26cd9e(0x143))['to'](_0x50fb88),this[_0x26cd9e(0x10d)]=this[_0x26cd9e(0x114)](),this[_0x26cd9e(0x157)]||(this[_0x26cd9e(0x127)]=this[_0x26cd9e(0x102)](),this[_0x26cd9e(0x106)]=this[_0x26cd9e(0x120)](),this[_0x26cd9e(0x135)]=this[_0x26cd9e(0x114)](),this[_0x26cd9e(0x135)][_0x26cd9e(0xfb)]([this[_0x26cd9e(0x127)],this[_0x26cd9e(0x106)]]),this[_0x26cd9e(0x15b)]=this[_0x26cd9e(0x107)](),this[_0x26cd9e(0x10d)][_0x26cd9e(0x118)](this[_0x26cd9e(0x15b)]),this[_0x26cd9e(0x104)][_0x26cd9e(0x118)](this[_0x26cd9e(0x15b)])),this[_0x26cd9e(0x119)]=new _0x5b7374(_0x363754,_0x50fb88[_0x26cd9e(0x11c)],this[_0x26cd9e(0x13a)]()),this[_0x26cd9e(0x119)][_0x26cd9e(0x154)]({'attributes':{'class':[_0x26cd9e(0x158),_0x26cd9e(0x12e)],'aria-hidden':!0x0}}),this[_0x26cd9e(0x115)](_0x50fb88,_0x26cd9e(0x13c),()=>this[_0x26cd9e(0x14a)]()),this[_0x26cd9e(0x159)](this[_0x26cd9e(0x168)]());}[_0x29edb1(0x168)](){const _0x380feb=_0x29edb1,_0x53501a=this[_0x380feb(0x146)],_0x79ffcd=[{'tag':_0x380feb(0x167),'attributes':{'class':[_0x380feb(0x12d),_0x380feb(0x130)]},'children':[{'tag':_0x380feb(0x16b),'children':[{'text':this[_0x380feb(0x119)][_0x380feb(0x145)]}],'attributes':{'class':[_0x380feb(0x16d),_0x380feb(0x165)],'data-cke-tooltip-text':this[_0x380feb(0x119)][_0x380feb(0x145)]}},{'tag':_0x380feb(0x121),'attributes':{'datetime':_0x53501a['to'](_0x380feb(0x124)),'class':[_0x380feb(0x110),_0x380feb(0x105)]},'children':[{'text':_0x53501a['to'](_0x380feb(0x124),_0x22a916=>this[_0x380feb(0x11b)][_0x380feb(0x16c)](_0x22a916))}]}]},{'tag':_0x380feb(0x167),'attributes':{'class':[_0x380feb(0x11e),_0x380feb(0x12b),_0x53501a['if'](_0x380feb(0x122),_0x380feb(0x14e)),_0x53501a['if'](_0x380feb(0x122),_0x380feb(0x144))]},'children':this[_0x380feb(0x10d)]},{'tag':_0x380feb(0x167),'attributes':{'class':[_0x380feb(0xfc)]},'children':this[_0x380feb(0x153)]},this[_0x380feb(0x116)]];return this[_0x380feb(0x11a)][_0x380feb(0x13d)]&&_0x79ffcd[_0x380feb(0x152)]({'tag':_0x380feb(0x167),'attributes':{'class':[_0x380feb(0x14b)]},'children':[{'text':this[_0x380feb(0x139)]()}]}),{'tag':'li','attributes':{'class':[_0x380feb(0x151)],'tabindex':-0x1,'aria-label':_0x53501a['to'](_0x380feb(0x16a)),'aria-describedby':this[_0x380feb(0x116)]['id'],'role':_0x380feb(0x133)},'children':[{'tag':_0x380feb(0x167),'attributes':{'class':[_0x380feb(0x13f),_0x380feb(0x11f),_0x53501a['if'](_0x380feb(0x122),_0x380feb(0x148)),_0x53501a['if'](_0x380feb(0x157),_0x380feb(0x14c)),_0x53501a['to'](_0x380feb(0x131),_0xcc06fd=>_0xcc06fd?_0x380feb(0x141)+_0xcc06fd:'')],'data-author-id':this[_0x380feb(0x11a)][_0x380feb(0x11c)]['id'],'data-comment-id':this[_0x380feb(0x11a)]['id'],'role':_0x380feb(0x15d)},'children':[this[_0x380feb(0x119)],{'tag':_0x380feb(0x167),'attributes':{'class':[_0x380feb(0x163),_0x380feb(0x13e)]},'children':_0x79ffcd}]}]};}[_0x29edb1(0x102)](){const _0x2371e8=_0x29edb1,_0x588812=new _0x50dfcd(this[_0x2371e8(0x10f)]);return _0x588812[_0x2371e8(0x162)]=_0x3b77e2(this[_0x2371e8(0x10f)],_0x2371e8(0x15a)),_0x588812[_0x2371e8(0x169)]=_0x482ee9,_0x588812[_0x2371e8(0x160)]=!0x0,_0x588812[_0x2371e8(0x154)]({'attributes':{'class':_0x2371e8(0x148)}}),_0x588812[_0x2371e8(0x108)](_0x2371e8(0x137))['to'](this[_0x2371e8(0x11a)],_0x2371e8(0x164),_0x31aff3=>!_0x31aff3),_0x588812[_0x2371e8(0x108)](_0x2371e8(0xfe))['to'](this[_0x2371e8(0x11a)],_0x2371e8(0xff)),_0x588812['on'](_0x2371e8(0x15f),()=>this[_0x2371e8(0x155)]()),_0x588812;}[_0x29edb1(0x120)](){const _0x2dd24b=_0x29edb1,_0x4b6d6f=new _0x50dfcd(this[_0x2dd24b(0x10f)]);return _0x4b6d6f[_0x2dd24b(0x162)]=_0x3b77e2(this[_0x2dd24b(0x10f)],_0x2dd24b(0x15e)),_0x4b6d6f[_0x2dd24b(0x169)]=_0x4a656c,_0x4b6d6f[_0x2dd24b(0x160)]=!0x0,_0x4b6d6f[_0x2dd24b(0x154)]({'attributes':{'class':_0x2dd24b(0x171)}}),_0x4b6d6f[_0x2dd24b(0x108)](_0x2dd24b(0x137))['to'](this[_0x2dd24b(0x11a)],_0x2dd24b(0x164),_0x2bd6b8=>!_0x2bd6b8),_0x4b6d6f[_0x2dd24b(0x108)](_0x2dd24b(0xfe))['to'](this[_0x2dd24b(0x11a)],_0x2dd24b(0x100)),_0x4b6d6f['on'](_0x2dd24b(0x15f),()=>{const _0x3f1a50=_0x2dd24b;this[_0x3f1a50(0x111)](_0x3b77e2(this[_0x3f1a50(0x10f)],_0x3f1a50(0x12f)),this[_0x3f1a50(0x128)])[_0x3f1a50(0x132)](()=>{const _0x4f7809=_0x3f1a50;this[_0x4f7809(0x12c)](_0x4f7809(0x16e),this[_0x4f7809(0x11a)]['id']);});}),_0x4b6d6f;}[_0x29edb1(0x107)](){const _0x45a1d4=_0x29edb1,_0x412fe6=_0xd6d3b9(this[_0x45a1d4(0x10f)],_0x1366a7),_0x4b2235=_0x412fe6[_0x45a1d4(0x11d)][_0x45a1d4(0x161)],_0x208372=new _0x3db4bc(this[_0x45a1d4(0x10f)]),_0x340e3f=_0x412fe6[_0x45a1d4(0x146)];_0x18045a(_0x412fe6,()=>this[_0x45a1d4(0x135)][_0x45a1d4(0x10a)](_0x31bc29=>_0x31bc29[_0x45a1d4(0xfe)])),_0x412fe6[_0x45a1d4(0x154)]({'attributes':{'class':[_0x340e3f['if'](_0x45a1d4(0xfe),_0x45a1d4(0x12a),_0x39b98c=>!_0x39b98c)]}});const _0x338a84=(_0x5d5ba6,_0x3f9ae6=-0x1)=>{const _0x2c3e44=_0x45a1d4,_0xfc4a9e=new _0x34b57f(this[_0x2c3e44(0x10f)]);_0xfc4a9e[_0x2c3e44(0x161)][_0x2c3e44(0x118)](_0x5d5ba6);const _0x320c13=_0x3f9ae6>-0x1?_0x3f9ae6:_0x208372[_0x2c3e44(0x135)][_0x2c3e44(0x15c)];_0x208372[_0x2c3e44(0x135)][_0x2c3e44(0x118)](_0xfc4a9e,_0x320c13);const _0x1591d6=Array[_0x2c3e44(0x13b)](this[_0x2c3e44(0x135)]);_0x412fe6[_0x2c3e44(0x123)](_0x2c3e44(0x137),_0x2c3e44(0xfe)),_0x412fe6[_0x2c3e44(0x108)](_0x2c3e44(0x137))[_0x2c3e44(0x129)](_0x1591d6,_0x2c3e44(0x137),(..._0x1179ec)=>_0x1179ec[_0x2c3e44(0x150)](_0x3a8249=>_0x3a8249)),_0x412fe6[_0x2c3e44(0x108)](_0x2c3e44(0xfe))[_0x2c3e44(0x129)](_0x1591d6,_0x2c3e44(0xfe),(..._0x548d3d)=>_0x548d3d[_0x2c3e44(0x150)](_0x198b76=>_0x198b76));};_0x412fe6[_0x45a1d4(0x14f)]='sw',_0x412fe6[_0x45a1d4(0x156)][_0x45a1d4(0x149)]({'label':_0x3b77e2(this[_0x45a1d4(0x10f)],_0x45a1d4(0x142)),'icon':_0x131cdb});for(const _0x23bb0e of this[_0x45a1d4(0x135)])_0x338a84(_0x23bb0e);return _0x4b2235[_0x45a1d4(0x118)](_0x208372),_0x412fe6[_0x45a1d4(0x115)](this[_0x45a1d4(0x135)],_0x45a1d4(0x118),(_0x1d82d4,_0x5ce134,_0x5da7d9)=>{_0x338a84(_0x5ce134,_0x5da7d9);}),_0x412fe6[_0x45a1d4(0x115)](this[_0x45a1d4(0x135)],_0x45a1d4(0x170),(_0x15f69f,_0x4761ac,_0x566e3e)=>{const _0x591623=_0x45a1d4;_0x208372[_0x591623(0x135)][_0x591623(0x170)](_0x566e3e);}),_0x412fe6;}[_0x29edb1(0x10c)](_0x16f6b4,_0xccc81c){const _0x3a4f61=_0x29edb1,_0x3404fc=_0x16f6b4&&_0x16f6b4[_0x3a4f61(0x128)];_0x3404fc&&(this[_0x3a4f61(0x115)](_0x3404fc,_0x3a4f61(0x136),()=>this[_0x3a4f61(0x131)]=_0xccc81c),this[_0x3a4f61(0x115)](_0x3404fc,_0x3a4f61(0x101),()=>this[_0x3a4f61(0x131)]=_0xccc81c),this[_0x3a4f61(0x115)](_0x3404fc,_0x3a4f61(0x126),()=>this[_0x3a4f61(0x131)]=null),this[_0x3a4f61(0x115)](_0x3404fc,_0x3a4f61(0x112),()=>this[_0x3a4f61(0x131)]=null));}[_0x29edb1(0x134)](){const _0x2c3c6e=_0x29edb1,_0x449bd9=super[_0x2c3c6e(0x134)]();return _0x449bd9[_0x2c3c6e(0x108)](_0x2c3c6e(0x125))['to'](this),_0x449bd9;}[_0x29edb1(0x10b)](){const _0xf3e0de=_0x29edb1;super[_0xf3e0de(0x10b)](),this[_0xf3e0de(0x10c)](this[_0xf3e0de(0x127)],_0xf3e0de(0x16f)),this[_0xf3e0de(0x10c)](this[_0xf3e0de(0x106)],_0xf3e0de(0x170));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x53c43e=_0x5528;(function(_0x1361e7,_0x359ead){var _0x307fd7=_0x5528,_0x5db655=_0x1361e7();while(!![]){try{var _0x3b1bcb=-parseInt(_0x307fd7(0x15e))/0x1*(-parseInt(_0x307fd7(0x15a))/0x2)+-parseInt(_0x307fd7(0x160))/0x3+-parseInt(_0x307fd7(0x156))/0x4+parseInt(_0x307fd7(0x155))/0x5+parseInt(_0x307fd7(0x15d))/0x6+-parseInt(_0x307fd7(0x161))/0x7+parseInt(_0x307fd7(0x157))/0x8*(parseInt(_0x307fd7(0x15f))/0x9);if(_0x3b1bcb===_0x359ead)break;else _0x5db655['push'](_0x5db655['shift']());}catch(_0x4bb679){_0x5db655['push'](_0x5db655['shift']());}}}(_0x37ea,0x36a77));import{Plugin as _0x97f413}from'ckeditor5/src/core.js';import{CommentsRepository as _0x301965}from'./comments/commentsrepository.js';import{CommentsEditing as _0x14be38}from'./comments/commentsediting.js';function _0x37ea(){var _0x39b7fd=['5MyVVzI','915408kdWYwq','233958GwuDBO','327810HMBAas','pluginName','204645PyoJnD','607428feobUN','16qxnFjb','isOfficialPlugin','Comments','44894CdCDvD','isPremiumPlugin','requires','863688vhIfDB'];_0x37ea=function(){return _0x39b7fd;};return _0x37ea();}function _0x5528(_0x4aa9b1,_0x1e98e3){var _0x37ea11=_0x37ea();return _0x5528=function(_0x5528bf,_0x4892fb){_0x5528bf=_0x5528bf-0x155;var _0x3761b6=_0x37ea11[_0x5528bf];return _0x3761b6;},_0x5528(_0x4aa9b1,_0x1e98e3);}import{CommentsUI as _0x3fbdd9}from'./comments/commentsui.js';import{CommentsOnly as _0x40ac4c}from'./commentsonly.js';import{WideSidebar as _0x34a331}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x51d9e2}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x3bdec5}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x4ac52a}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x55e537}from'./comments/commentsarchive.js';export class Comments extends _0x97f413{static get[_0x53c43e(0x15c)](){return[_0x301965,_0x14be38,_0x3fbdd9,_0x55e537,_0x4ac52a,_0x40ac4c,_0x34a331,_0x51d9e2,_0x3bdec5];}static get[_0x53c43e(0x162)](){var _0x4e94de=_0x53c43e;return _0x4e94de(0x159);}static get[_0x53c43e(0x158)](){return!0x0;}static get[_0x53c43e(0x15b)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x452b(){const _0xbf75f2=['87aenSgj','isPremiumPlugin','SourceEditing','pluginName','delete','clipboardInput','addCommentThread','isEnabled','89390ElsWeC','highest','24536YCSQpb','requires','plugins','2744000dxwIGf','1920832YXarXz','config','DragDrop','stop','1507938LwxPhR','_disableCommentsOnlyMode','editSource','clearForceDisabled','isOfficialPlugin','document','RevisionTracker','commentsOnlyMode','forceDisabled','editor','commands','listenTo','commentsOnly','get','affectsData','editing','cut','change:isEnabled','view','set','has','_enableCommentsOnlyMode','afterInit','10ZHHqUi','CommentsOnly','35928TJYldj','stopListening','4924953RSbkBv','22botCIq'];_0x452b=function(){return _0xbf75f2;};return _0x452b();}const _0x1f7e81=_0x2f3f;(function(_0x1a3141,_0x99fa66){const _0x13595a=_0x2f3f,_0x2949c6=_0x1a3141();while(!![]){try{const _0x1d2932=parseInt(_0x13595a(0xa4))/0x1*(parseInt(_0x13595a(0xaf))/0x2)+parseInt(_0x13595a(0xa5))/0x3*(parseInt(_0x13595a(0xa1))/0x4)+parseInt(_0x13595a(0xad))/0x5+parseInt(_0x13595a(0xb7))/0x6+parseInt(_0x13595a(0xb2))/0x7+-parseInt(_0x13595a(0xb3))/0x8+-parseInt(_0x13595a(0xa3))/0x9*(parseInt(_0x13595a(0x9f))/0xa);if(_0x1d2932===_0x99fa66)break;else _0x2949c6['push'](_0x2949c6['shift']());}catch(_0x23093b){_0x2949c6['push'](_0x2949c6['shift']());}}}(_0x452b,0x62b1e));import{Plugin as _0x3d67e2}from'ckeditor5/src/core.js';function _0x2f3f(_0x488bc2,_0x5053dd){const _0x452b11=_0x452b();return _0x2f3f=function(_0x2f3fc9,_0x402479){_0x2f3fc9=_0x2f3fc9-0x98;let _0x544e83=_0x452b11[_0x2f3fc9];return _0x544e83;},_0x2f3f(_0x488bc2,_0x5053dd);}import{CommentsEditing as _0x43c7a5}from'./comments/commentsediting.js';export class CommentsOnly extends _0x3d67e2{static get[_0x1f7e81(0xa8)](){const _0x135041=_0x1f7e81;return _0x135041(0xa0);}static get[_0x1f7e81(0xbb)](){return!0x0;}static get[_0x1f7e81(0xa6)](){return!0x0;}static get[_0x1f7e81(0xb0)](){return[_0x43c7a5];}constructor(_0x5c2eb0){const _0x1c13df=_0x1f7e81;super(_0x5c2eb0),this[_0x1c13df(0x9b)](_0x1c13df(0xac),!0x1),this['on'](_0x1c13df(0x99),(_0x96cf0f,_0x532614,_0x252f85)=>{const _0x2ba41a=_0x1c13df;_0x252f85?this[_0x2ba41a(0x9d)]():this[_0x2ba41a(0xb8)]();});}[_0x1f7e81(0x9e)](){const _0x3ef4de=_0x1f7e81;!this[_0x3ef4de(0xac)]&&this[_0x3ef4de(0xc0)][_0x3ef4de(0xb4)][_0x3ef4de(0xc4)](_0x3ef4de(0xc3))&&(this[_0x3ef4de(0xac)]=!0x0);}[_0x1f7e81(0x9d)](){const _0x2f46ec=_0x1f7e81;for(const [_0x3eef44,_0x4f75a0]of this[_0x2f46ec(0xc0)][_0x2f46ec(0xc1)])_0x4f75a0[_0x2f46ec(0xc5)]&&_0x2f46ec(0xab)!==_0x3eef44&&_0x4f75a0[_0x2f46ec(0xbf)](_0x2f46ec(0xbe));(this[_0x2f46ec(0xc0)][_0x2f46ec(0xb1)][_0x2f46ec(0x9c)](_0x2f46ec(0xb5))&&this[_0x2f46ec(0xc0)][_0x2f46ec(0xb1)][_0x2f46ec(0xc4)](_0x2f46ec(0xb5))[_0x2f46ec(0xbf)](_0x2f46ec(0xbe)),this[_0x2f46ec(0xc0)][_0x2f46ec(0xb1)][_0x2f46ec(0x9c)](_0x2f46ec(0xbd)))&&this[_0x2f46ec(0xc0)][_0x2f46ec(0xb1)][_0x2f46ec(0xc4)](_0x2f46ec(0xbd))[_0x2f46ec(0xbf)](_0x2f46ec(0xbe));this[_0x2f46ec(0xc0)][_0x2f46ec(0xb1)][_0x2f46ec(0x9c)](_0x2f46ec(0xa7))&&this[_0x2f46ec(0xc0)][_0x2f46ec(0xb1)][_0x2f46ec(0xc4)](_0x2f46ec(0xa7))[_0x2f46ec(0xbf)](_0x2f46ec(0xbe));this[_0x2f46ec(0xc0)][_0x2f46ec(0xc1)][_0x2f46ec(0xc4)](_0x2f46ec(0xb9))?.[_0x2f46ec(0xbf)](_0x2f46ec(0xbe));const _0x115758=this[_0x2f46ec(0xc0)][_0x2f46ec(0xc6)][_0x2f46ec(0x9a)][_0x2f46ec(0xbc)];this[_0x2f46ec(0xc2)](_0x115758,_0x2f46ec(0x98),_0x528b0a=>_0x528b0a[_0x2f46ec(0xb6)](),{'priority':_0x2f46ec(0xae)}),this[_0x2f46ec(0xc2)](_0x115758,_0x2f46ec(0xaa),_0x418a08=>_0x418a08[_0x2f46ec(0xb6)](),{'priority':_0x2f46ec(0xae)}),this[_0x2f46ec(0xc2)](_0x115758,_0x2f46ec(0xa9),_0x168e0=>_0x168e0[_0x2f46ec(0xb6)](),{'priority':_0x2f46ec(0xae)});}[_0x1f7e81(0xb8)](){const _0x4ea4fd=_0x1f7e81;for(const [_0x2bea10,_0x1e2ccf]of this[_0x4ea4fd(0xc0)][_0x4ea4fd(0xc1)])_0x1e2ccf[_0x4ea4fd(0xc5)]&&_0x4ea4fd(0xab)!==_0x2bea10&&_0x1e2ccf[_0x4ea4fd(0xba)](_0x4ea4fd(0xbe));this[_0x4ea4fd(0xc0)][_0x4ea4fd(0xb1)][_0x4ea4fd(0x9c)](_0x4ea4fd(0xbd))&&this[_0x4ea4fd(0xc0)][_0x4ea4fd(0xb1)][_0x4ea4fd(0xc4)](_0x4ea4fd(0xbd))[_0x4ea4fd(0xba)](_0x4ea4fd(0xbe)),this[_0x4ea4fd(0xc0)][_0x4ea4fd(0xb1)][_0x4ea4fd(0x9c)](_0x4ea4fd(0xa7))&&this[_0x4ea4fd(0xc0)][_0x4ea4fd(0xb1)][_0x4ea4fd(0xc4)](_0x4ea4fd(0xa7))[_0x4ea4fd(0xba)](_0x4ea4fd(0xbe)),this[_0x4ea4fd(0xc0)][_0x4ea4fd(0xc1)][_0x4ea4fd(0xc4)](_0x4ea4fd(0xb9))?.[_0x4ea4fd(0xba)](_0x4ea4fd(0xbe)),this[_0x4ea4fd(0xa2)](this[_0x4ea4fd(0xc0)][_0x4ea4fd(0xc6)][_0x4ea4fd(0x9a)][_0x4ea4fd(0xbc)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x478f(_0x21043f,_0x516f5f){var _0x339c8e=_0x339c();return _0x478f=function(_0x478fab,_0x59b5b5){_0x478fab=_0x478fab-0x87;var _0x7d09f4=_0x339c8e[_0x478fab];return _0x7d09f4;},_0x478f(_0x21043f,_0x516f5f);}(function(_0x5d886b,_0x1a6c2){var _0xa57c0=_0x478f,_0x522d21=_0x5d886b();while(!![]){try{var _0x3e118a=-parseInt(_0xa57c0(0x8a))/0x1*(-parseInt(_0xa57c0(0x91))/0x2)+-parseInt(_0xa57c0(0x92))/0x3*(-parseInt(_0xa57c0(0x8e))/0x4)+parseInt(_0xa57c0(0x90))/0x5+parseInt(_0xa57c0(0x8d))/0x6*(parseInt(_0xa57c0(0x89))/0x7)+-parseInt(_0xa57c0(0x8c))/0x8*(parseInt(_0xa57c0(0x87))/0x9)+parseInt(_0xa57c0(0x8f))/0xa*(-parseInt(_0xa57c0(0x88))/0xb)+-parseInt(_0xa57c0(0x8b))/0xc;if(_0x3e118a===_0x1a6c2)break;else _0x522d21['push'](_0x522d21['shift']());}catch(_0x56a01c){_0x522d21['push'](_0x522d21['shift']());}}}(_0x339c,0xac308));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';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';function _0x339c(){var _0x12e9e2=['1172pAOgiG','3020540MvEivI','2476815BxziuT','18KDNjsl','11460wzPIhA','5499TtfCVr','11kRsWjy','2072dJMGjl','65442qHTOLt','16104720sKNFVq','10024bKYMCq','18474gXpIxq'];_0x339c=function(){return _0x12e9e2;};return _0x339c();}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(_0x21a1b0,_0x3fc9ca,_0x48c08d){const t=_0x21a1b0['t'];switch(_0x3fc9ca){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'},_0x48c08d);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'},_0x48c08d);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'},_0x48c08d);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'},_0x48c08d);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x48c08d);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'},_0x48c08d);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'},_0x48c08d);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'},_0x48c08d);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(_0x11b7c7,_0x1188b0){const _0x4c3014=_0x3085,_0x22d1c4=_0x11b7c7();while(!![]){try{const _0x531062=parseInt(_0x4c3014(0x139))/0x1+-parseInt(_0x4c3014(0x12e))/0x2*(-parseInt(_0x4c3014(0x131))/0x3)+parseInt(_0x4c3014(0x13f))/0x4*(parseInt(_0x4c3014(0x137))/0x5)+parseInt(_0x4c3014(0x13c))/0x6+parseInt(_0x4c3014(0x130))/0x7*(parseInt(_0x4c3014(0x13e))/0x8)+parseInt(_0x4c3014(0x138))/0x9+-parseInt(_0x4c3014(0x13b))/0xa;if(_0x531062===_0x1188b0)break;else _0x22d1c4['push'](_0x22d1c4['shift']());}catch(_0x1ba95e){_0x22d1c4['push'](_0x22d1c4['shift']());}}}(_0x1d0e,0x2a1c0));function _0x1d0e(){const _0x10c727=['childList','cancel','5bAvGEn','3051945CtnomZ','342066QpTkko','disconnect','14261720nHKLVj','1863960YPujVu','attributes','356128WYUqDE','699436TsPSFI','characterData','2fxdvbH','class','42vnwXgn','494598twLUFw','observe','type','attributeName'];_0x1d0e=function(){return _0x10c727;};return _0x1d0e();}function _0x3085(_0x60d85e,_0x47a572){const _0x1d0e13=_0x1d0e();return _0x3085=function(_0x30857a,_0x4232d2){_0x30857a=_0x30857a-0x12e;let _0x1c1783=_0x1d0e13[_0x30857a];return _0x1c1783;},_0x3085(_0x60d85e,_0x47a572);}import{throttle as _0x5b8ce9}from'es-toolkit/compat';export function createMutationObserver(_0x1f9aa5){const _0x5238a7=_0x5b8ce9(_0x1f9aa5,0x1e),_0x56a17d=new MutationObserver(_0x2b7d40=>{const _0x26e63f=_0x3085;for(const _0x58448f of _0x2b7d40)(_0x26e63f(0x13d)==_0x58448f[_0x26e63f(0x133)]&&_0x26e63f(0x12f)==_0x58448f[_0x26e63f(0x134)]||_0x26e63f(0x135)==_0x58448f[_0x26e63f(0x133)]||_0x26e63f(0x140)==_0x58448f[_0x26e63f(0x133)])&&_0x5238a7();});return{'attach'(_0x30d71a){const _0x149df0=_0x3085;_0x56a17d[_0x149df0(0x132)](_0x30d71a,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x42e53b=_0x3085;_0x56a17d[_0x42e53b(0x13a)](),_0x5238a7[_0x42e53b(0x136)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4a7ae5,_0x4ff286){const _0x111021=_0x2676,_0x2730cf=_0x4a7ae5();while(!![]){try{const _0x3633ee=-parseInt(_0x111021(0xdc))/0x1+-parseInt(_0x111021(0xd4))/0x2*(-parseInt(_0x111021(0xda))/0x3)+-parseInt(_0x111021(0xdb))/0x4+-parseInt(_0x111021(0xd3))/0x5*(-parseInt(_0x111021(0xd8))/0x6)+-parseInt(_0x111021(0xd2))/0x7+parseInt(_0x111021(0xd9))/0x8*(-parseInt(_0x111021(0xd6))/0x9)+parseInt(_0x111021(0xdd))/0xa*(parseInt(_0x111021(0xd5))/0xb);if(_0x3633ee===_0x4ff286)break;else _0x2730cf['push'](_0x2730cf['shift']());}catch(_0x28f8c4){_0x2730cf['push'](_0x2730cf['shift']());}}}(_0x5eeb,0x88ac2));function _0x2676(_0x1018ae,_0x3a1bd5){const _0x5eebc7=_0x5eeb();return _0x2676=function(_0x267629,_0x1acb0d){_0x267629=_0x267629-0xd2;let _0x40c578=_0x5eebc7[_0x267629];return _0x40c578;},_0x2676(_0x1018ae,_0x3a1bd5);}export function splitMarkerName(_0x446ed4){const _0xf1a3b2=_0x2676,_0x32292f=_0x446ed4[_0xf1a3b2(0xd7)](':');return{'group':_0x32292f[0x0],'id':_0x32292f[0x1],'part':_0x32292f[0x2]};}function _0x5eeb(){const _0x3177b6=['289992SKKEmP','96HkRGYw','3844032BOJnSG','917280kzufbt','24396470ojiOfJ','5578629JZRwEp','305XITwir','6022HtcMie','11aUYcnv','45NcNUjf','split','86586SwotUv'];_0x5eeb=function(){return _0x3177b6;};return _0x5eeb();}
|