@ckeditor/ckeditor5-comments 47.2.0 → 47.3.0-alpha.1
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/LICENSE.md +4 -4
- 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 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1b8584=_0x1c27;(function(_0x4f8a91,_0x96e3a8){const _0x597124=_0x1c27,_0x476b02=_0x4f8a91();while(!![]){try{const _0x16c93a=parseInt(_0x597124(0x177))/0x1*(parseInt(_0x597124(0x17c))/0x2)+-parseInt(_0x597124(0x186))/0x3*(-parseInt(_0x597124(0x14e))/0x4)+parseInt(_0x597124(0x19e))/0x5+parseInt(_0x597124(0x194))/0x6+-parseInt(_0x597124(0x151))/0x7*(-parseInt(_0x597124(0x147))/0x8)+parseInt(_0x597124(0x14d))/0x9*(-parseInt(_0x597124(0x152))/0xa)+-parseInt(_0x597124(0x17b))/0xb;if(_0x16c93a===_0x96e3a8)break;else _0x476b02['push'](_0x476b02['shift']());}catch(_0x2a31f6){_0x476b02['push'](_0x476b02['shift']());}}}(_0x3c8e,0x66860));import{View as _0x56a464,FocusCycler as _0xd4a6fa}from'ckeditor5/src/ui.js';function _0x1c27(_0x27aa58,_0x2b3c9b){const _0x3c8e1b=_0x3c8e();return _0x1c27=function(_0x1c27d7,_0x137a32){_0x1c27d7=_0x1c27d7-0x13d;let _0x497221=_0x3c8e1b[_0x1c27d7];return _0x497221;},_0x1c27(_0x27aa58,_0x2b3c9b);}import{diff as _0x1f2955,Collection as _0x5b3f10,FocusTracker as _0x1e3a6e,KeystrokeHandler as _0x4833fa}from'ckeditor5/src/utils.js';import{getTranslation as _0x4e0e17}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x11ef92}from'./collapsedcommentsview.js';export class CommentsListView extends _0x56a464{[_0x1b8584(0x140)];[_0x1b8584(0x170)];[_0x1b8584(0x155)];[_0x1b8584(0x156)];[_0x1b8584(0x158)];[_0x1b8584(0x188)];[_0x1b8584(0x19a)];[_0x1b8584(0x167)];constructor(_0x49363c,_0x7ecc1,_0x1ed9a9){const _0x5e8284=_0x1b8584;super(_0x49363c);const _0x4b3f8f=this[_0x5e8284(0x15e)];this[_0x5e8284(0x142)](_0x5e8284(0x199),!0x1),this[_0x5e8284(0x142)](_0x5e8284(0x187),_0x7ecc1[_0x5e8284(0x159)][_0x5e8284(0x187)]),this[_0x5e8284(0x142)](_0x5e8284(0x189),!0x1),this[_0x5e8284(0x188)]=_0x7ecc1,this[_0x5e8284(0x19a)]=_0x1ed9a9,this[_0x5e8284(0x140)]=this[_0x5e8284(0x190)](),this[_0x5e8284(0x18e)]=this[_0x5e8284(0x190)](),this[_0x5e8284(0x170)]=null,this[_0x5e8284(0x155)]=new _0x1e3a6e(),this[_0x5e8284(0x156)]=new _0x4833fa(),this[_0x5e8284(0x158)]=new _0xd4a6fa({'focusables':this[_0x5e8284(0x140)],'focusTracker':this[_0x5e8284(0x155)],'keystrokeHandler':this[_0x5e8284(0x156)],'keystrokeHandlerOptions':{'filter':_0x317382=>this[_0x5e8284(0x140)][_0x5e8284(0x197)](_0x505f42=>_0x505f42[_0x5e8284(0x13f)])[_0x5e8284(0x192)](_0x317382[_0x5e8284(0x165)])},'actions':{'focusPrevious':_0x5e8284(0x17d),'focusNext':_0x5e8284(0x166)}}),this[_0x5e8284(0x167)]=new _0x11ef92(_0x49363c),this[_0x5e8284(0x167)][_0x5e8284(0x16c)](_0x5e8284(0x17f))['to'](this,_0x5e8284(0x187),_0xbf2d2e=>_0xbf2d2e-this[_0x5e8284(0x19a)][_0x5e8284(0x16d)]);for(const _0x31250d of _0x7ecc1[_0x5e8284(0x159)])this[_0x5e8284(0x169)](_0x31250d);this[_0x5e8284(0x193)](),this[_0x5e8284(0x141)](_0x7ecc1[_0x5e8284(0x159)],_0x5e8284(0x13d),(_0x4d63ae,_0x975ff4)=>{const _0x8f95da=_0x5e8284,_0x3dac66=this[_0x8f95da(0x183)](_0x975ff4);this[_0x8f95da(0x187)]++,this[_0x8f95da(0x169)](_0x975ff4,_0x3dac66),this[_0x8f95da(0x161)]();}),this[_0x5e8284(0x141)](_0x7ecc1[_0x5e8284(0x159)],_0x5e8284(0x185),(_0x4bfbd8,_0x4eb919)=>{const _0x44f4e0=_0x5e8284;this[_0x44f4e0(0x187)]--,this[_0x44f4e0(0x143)](_0x4eb919),this[_0x44f4e0(0x161)]();}),this[_0x5e8284(0x141)](_0x7ecc1,_0x5e8284(0x160),()=>this[_0x5e8284(0x161)]()),this[_0x5e8284(0x141)](_0x7ecc1,_0x5e8284(0x196),()=>this[_0x5e8284(0x193)]()),this['on'](_0x5e8284(0x148),()=>this[_0x5e8284(0x161)]()),this['on'](_0x5e8284(0x150),()=>this[_0x5e8284(0x161)]()),this[_0x5e8284(0x162)]({'tag':'ul','attributes':{'class':[_0x5e8284(0x17e),_0x4b3f8f['if'](_0x5e8284(0x187),_0x5e8284(0x18c),_0x364bc6=>!_0x364bc6)],'aria-label':_0x4e0e17(_0x49363c,_0x5e8284(0x145))},'children':this[_0x5e8284(0x18e)]});}get[_0x1b8584(0x195)](){const _0x313f4f=_0x1b8584;return this[_0x313f4f(0x188)][_0x313f4f(0x16f)]>this[_0x313f4f(0x19a)][_0x313f4f(0x168)]&&!this[_0x313f4f(0x189)]&&!this[_0x313f4f(0x199)];}[_0x1b8584(0x144)](){const _0x14edc4=_0x1b8584;super[_0x14edc4(0x144)](),this[_0x14edc4(0x161)](),this[_0x14edc4(0x163)]();}[_0x1b8584(0x15b)](_0x475e59){const _0x1ebb4c=_0x1b8584;-0x1===_0x475e59?this[_0x1ebb4c(0x158)][_0x1ebb4c(0x198)]():this[_0x1ebb4c(0x158)][_0x1ebb4c(0x171)]();}[_0x1b8584(0x15d)](){const _0x22cb07=_0x1b8584;this[_0x22cb07(0x167)][_0x22cb07(0x15d)]();for(const _0x3d58c4 of this[_0x22cb07(0x140)])_0x3d58c4[_0x22cb07(0x15d)]();super[_0x22cb07(0x15d)]();}[_0x1b8584(0x161)](){const _0x2e9e1e=_0x1b8584;this[_0x2e9e1e(0x195)]?this[_0x2e9e1e(0x174)]():this[_0x2e9e1e(0x14c)]();}[_0x1b8584(0x169)](_0x1139bb,_0x5cc599){const _0x508cac=_0x1b8584,_0x5426d6=new this[(_0x508cac(0x19a))][(_0x508cac(0x19b))](this[_0x508cac(0x172)],_0x1139bb,{'maxCommentCharsWhenCollapsed':this[_0x508cac(0x19a)][_0x508cac(0x164)],'formatDateTime':this[_0x508cac(0x19a)][_0x508cac(0x15a)],'editorConfig':this[_0x508cac(0x19a)][_0x508cac(0x14f)]});_0x5426d6[_0x508cac(0x14b)]=_0x1139bb['id'],_0x5426d6[_0x508cac(0x16b)](_0x508cac(0x16a))['to'](this),_0x5426d6[_0x508cac(0x16b)](_0x508cac(0x184))['to'](this),_0x5426d6[_0x508cac(0x16b)](_0x508cac(0x173))['to'](this),_0x5426d6[_0x508cac(0x16b)](_0x508cac(0x149))['to'](this),_0x5426d6[_0x508cac(0x16b)](_0x508cac(0x13e))['to'](this),this[_0x508cac(0x141)](_0x5426d6,_0x508cac(0x18d),()=>this[_0x508cac(0x179)]()),this[_0x508cac(0x140)][_0x508cac(0x13d)](_0x5426d6,_0x5cc599);}[_0x1b8584(0x183)](_0x46a3e1){const _0x181a38=_0x1b8584,_0x53efce=this[_0x181a38(0x188)][_0x181a38(0x154)](_0x46a3e1);return this[_0x181a38(0x170)]?this[_0x181a38(0x170)][_0x181a38(0x19d)]>_0x46a3e1[_0x181a38(0x19d)]?_0x53efce-0x1:_0x53efce:_0x53efce-0x1;}[_0x1b8584(0x193)](){const _0x144e35=_0x1b8584;if(this[_0x144e35(0x188)][_0x144e35(0x19c)]&&this[_0x144e35(0x188)][_0x144e35(0x15f)]){const _0x1d96df={'id':_0x144e35(0x191),'author':this[_0x144e35(0x188)][_0x144e35(0x19c)],'authoredAt':this[_0x144e35(0x188)][_0x144e35(0x15f)],'content':_0x4e0e17(this[_0x144e35(0x172)],_0x144e35(0x157)),'attributes':{}};this[_0x144e35(0x170)]=new this[(_0x144e35(0x19a))][(_0x144e35(0x19b))](this[_0x144e35(0x172)],_0x1d96df,{'maxCommentCharsWhenCollapsed':this[_0x144e35(0x19a)][_0x144e35(0x164)],'formatDateTime':this[_0x144e35(0x19a)][_0x144e35(0x15a)],'editorConfig':this[_0x144e35(0x19a)][_0x144e35(0x14f)],'isSystemComment':!0x0}),this[_0x144e35(0x140)][_0x144e35(0x13d)](this[_0x144e35(0x170)],this[_0x144e35(0x188)][_0x144e35(0x154)](_0x1d96df));}else this[_0x144e35(0x170)]&&(this[_0x144e35(0x140)][_0x144e35(0x185)](this[_0x144e35(0x170)]),this[_0x144e35(0x170)][_0x144e35(0x15d)](),this[_0x144e35(0x170)]=null);this[_0x144e35(0x161)]();}[_0x1b8584(0x143)](_0x589714){const _0x31c7b3=_0x1b8584,_0x49b219=this[_0x31c7b3(0x140)][_0x31c7b3(0x185)](_0x589714['id']);this[_0x31c7b3(0x16e)](_0x49b219),_0x49b219[_0x31c7b3(0x176)]&&this[_0x31c7b3(0x179)](),_0x49b219[_0x31c7b3(0x15d)]();}[_0x1b8584(0x179)](){const _0x200eb9=_0x1b8584;this[_0x200eb9(0x199)]=Array[_0x200eb9(0x182)](this[_0x200eb9(0x140)])[_0x200eb9(0x175)](_0x3c811a=>_0x3c811a[_0x200eb9(0x176)]);}[_0x1b8584(0x174)](){const _0x3e7f3b=_0x1b8584,_0x29557f=function(_0x26e52d){const _0x103966=_0x1c27,_0x1e63af=new _0x5b3f10();for(const _0x143866 of _0x26e52d)_0x1e63af[_0x103966(0x13d)](_0x143866);return _0x1e63af;}(this[_0x3e7f3b(0x140)]),_0x512cef=this[_0x3e7f3b(0x167)][_0x3e7f3b(0x17f)];for(let _0x40cf75=0x1;_0x40cf75<=_0x512cef;_0x40cf75++)_0x29557f[_0x3e7f3b(0x185)](0x1);for(const _0x345634 of _0x29557f)_0x345634[_0x3e7f3b(0x178)]();_0x512cef>0x0&&_0x29557f[_0x3e7f3b(0x13d)](this[_0x3e7f3b(0x167)],0x1),ns(_0x1f2955(Array[_0x3e7f3b(0x182)](this[_0x3e7f3b(0x18e)]),Array[_0x3e7f3b(0x182)](_0x29557f)),this[_0x3e7f3b(0x18e)],_0x29557f);}[_0x1b8584(0x14c)](){const _0x91aa49=_0x1b8584;ns(_0x1f2955(Array[_0x91aa49(0x182)](this[_0x91aa49(0x18e)]),Array[_0x91aa49(0x182)](this[_0x91aa49(0x140)])),this[_0x91aa49(0x18e)],this[_0x91aa49(0x140)]);for(const _0x25055e of this[_0x91aa49(0x18e)])_0x25055e[_0x91aa49(0x14a)]();}[_0x1b8584(0x163)](){const _0x4427c3=_0x1b8584;this[_0x4427c3(0x140)][_0x4427c3(0x15c)](_0x3bcf67=>{const _0x4b9998=_0x4427c3;this[_0x4b9998(0x155)][_0x4b9998(0x13d)](_0x3bcf67[_0x4b9998(0x13f)]),this[_0x4b9998(0x156)][_0x4b9998(0x141)](_0x3bcf67[_0x4b9998(0x13f)]);}),this[_0x4427c3(0x140)]['on'](_0x4427c3(0x153),(_0x51b0ae,_0x510c80)=>{const _0x314118=_0x4427c3;for(const _0x1249ac of _0x510c80[_0x314118(0x17a)])this[_0x314118(0x155)][_0x314118(0x185)](_0x1249ac[_0x314118(0x13f)]),this[_0x314118(0x156)][_0x314118(0x16e)](_0x1249ac[_0x314118(0x13f)]);for(const _0x376ebb of Array[_0x314118(0x182)](_0x510c80[_0x314118(0x180)])[_0x314118(0x181)]())this[_0x314118(0x155)][_0x314118(0x13d)](_0x376ebb[_0x314118(0x13f)]),this[_0x314118(0x156)][_0x314118(0x141)](_0x376ebb[_0x314118(0x13f)]);});}}function _0x3c8e(){const _0x90ee02=['updateComment','remove','1239435rKWecL','length','_model','isActive','equal','insert','ck-hidden','change:isEditMode','visibleViews','get','createCollection','resolved','includes','_handleInfoComment','3662238jxEMMl','_shouldCollapse','change:isResolved','map','focusLast','hasDirtyComment','_config','CommentView','resolvedBy','authoredAt','2954080CspxGZ','add','editorDestroyed','element','commentViews','listenTo','set','_handleRemoveCommentModel','render','Thread\x20comments','delete','8BHbeSS','change:isActive','editorReady','expand','viewUid','_rearrangeExpand','549AawlYd','4ehQMXD','editorConfig','change:hasDirtyComment','4822153KIyEHU','45130ZZAJZZ','change','_findOptimalIndex','focusTracker','keystrokes','Marked\x20as\x20resolved','focusCycler','comments','formatDateTime','focus','forEach','destroy','bindTemplate','resolvedAt','commentUpdated','refreshVisibleViews','setTemplate','_setupKeyboardNavigation','maxCommentCharsWhenCollapsed','target','arrowdown','_collapsedCommentsView','maxThreadTotalWeight','_handleNewCommentModel','removeComment','delegate','bind','maxCommentsWhenCollapsed','stopListening','weight','resolvedCommentView','focusFirst','locale','resolveCommentThread','_rearrangeCollapse','some','isEditMode','786YprJdQ','collapse','_updateHasDirtyComment','removed','23549812iFwAtK','1356ixtIDu','arrowup','ck-thread__comments','count','added','reverse','from','_calculatePosition'];_0x3c8e=function(){return _0x90ee02;};return _0x3c8e();}function ns(_0x774969,_0x425f5d,_0x221ce8){const _0x253aa4=_0x1b8584;let _0x50274f=0x0;for(const _0x346fe1 of _0x774969)switch(_0x346fe1){case _0x253aa4(0x18b):_0x425f5d[_0x253aa4(0x13d)](_0x221ce8[_0x253aa4(0x18f)](_0x50274f),_0x50274f),_0x50274f++;break;case _0x253aa4(0x146):_0x425f5d[_0x253aa4(0x185)](_0x50274f);break;case _0x253aa4(0x18a):_0x50274f++;}}
|
|
23
|
+
const _0x4b2094=_0x69f0;(function(_0x83d336,_0xb77579){const _0x1fab25=_0x69f0,_0x3c7703=_0x83d336();while(!![]){try{const _0xaba889=parseInt(_0x1fab25(0x15f))/0x1*(-parseInt(_0x1fab25(0x13e))/0x2)+parseInt(_0x1fab25(0x166))/0x3*(-parseInt(_0x1fab25(0x115))/0x4)+-parseInt(_0x1fab25(0x148))/0x5*(parseInt(_0x1fab25(0x165))/0x6)+parseInt(_0x1fab25(0x155))/0x7*(parseInt(_0x1fab25(0x123))/0x8)+parseInt(_0x1fab25(0x162))/0x9*(-parseInt(_0x1fab25(0x141))/0xa)+-parseInt(_0x1fab25(0x13a))/0xb+parseInt(_0x1fab25(0x129))/0xc*(parseInt(_0x1fab25(0x126))/0xd);if(_0xaba889===_0xb77579)break;else _0x3c7703['push'](_0x3c7703['shift']());}catch(_0x2c7a9b){_0x3c7703['push'](_0x3c7703['shift']());}}}(_0x4e1b,0x6c358));import{View as _0x1ca781,FocusCycler as _0x31d812}from'ckeditor5/src/ui.js';function _0x69f0(_0x4fc53b,_0x244816){const _0x4e1b62=_0x4e1b();return _0x69f0=function(_0x69f0af,_0x4dd8ef){_0x69f0af=_0x69f0af-0x115;let _0x5c8cfd=_0x4e1b62[_0x69f0af];return _0x5c8cfd;},_0x69f0(_0x4fc53b,_0x244816);}import{diff as _0x574c4a,Collection as _0x1941d9,FocusTracker as _0x4f5fd7,KeystrokeHandler as _0x1d1046}from'ckeditor5/src/utils.js';import{getTranslation as _0xa23066}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x3da820}from'./collapsedcommentsview.js';function _0x4e1b(){const _0x4695a8=['removeComment','_handleNewCommentModel','count','remove','_handleRemoveCommentModel','maxThreadTotalWeight','formatDateTime','_rearrangeCollapse','focusFirst','length','setTemplate','change','change:isEditMode','9446316xhIGCi','commentUpdated','added','listenTo','1531638YEGudv','change:isResolved','from','30EBQtnu','equal','maxCommentsWhenCollapsed','resolvedBy','commentViews','focusLast','CommentView','5UyEBZJ','forEach','add','change:isActive','createCollection','_rearrangeExpand','some','comments','bindTemplate','target','_config','resolvedAt','stopListening','161pGCABQ','editorConfig','weight','resolvedCommentView','bind','delete','includes','map','_shouldCollapse','keystrokes','1RSJcZa','expand','_model','2546271NpGeNz','focus','locale','1420602rFCjZX','2787TpGPwa','Thread\x20comments','arrowup','editorDestroyed','resolveCommentThread','authoredAt','hasDirtyComment','editorReady','viewUid','_handleInfoComment','arrowdown','get','_calculatePosition','isActive','insert','element','destroy','collapse','change:hasDirtyComment','2764ddvCop','maxCommentCharsWhenCollapsed','Marked\x20as\x20resolved','visibleViews','_setupKeyboardNavigation','removed','updateComment','isEditMode','reverse','focusTracker','_updateHasDirtyComment','delegate','_findOptimalIndex','refreshVisibleViews','51752DVlvyx','set','ck-thread__comments','91kMFmOd','render','focusCycler','6251100zZJkLE','resolved','_collapsedCommentsView','ck-hidden'];_0x4e1b=function(){return _0x4695a8;};return _0x4e1b();}export class CommentsListView extends _0x1ca781{[_0x4b2094(0x145)];[_0x4b2094(0x158)];[_0x4b2094(0x11e)];[_0x4b2094(0x15e)];[_0x4b2094(0x128)];[_0x4b2094(0x161)];[_0x4b2094(0x152)];[_0x4b2094(0x12b)];constructor(_0x4ff804,_0x4cb820,_0x38a102){const _0x3b728f=_0x4b2094;super(_0x4ff804);const _0x4c5122=this[_0x3b728f(0x150)];this[_0x3b728f(0x124)](_0x3b728f(0x16c),!0x1),this[_0x3b728f(0x124)](_0x3b728f(0x136),_0x4cb820[_0x3b728f(0x14f)][_0x3b728f(0x136)]),this[_0x3b728f(0x124)](_0x3b728f(0x173),!0x1),this[_0x3b728f(0x161)]=_0x4cb820,this[_0x3b728f(0x152)]=_0x38a102,this[_0x3b728f(0x145)]=this[_0x3b728f(0x14c)](),this[_0x3b728f(0x118)]=this[_0x3b728f(0x14c)](),this[_0x3b728f(0x158)]=null,this[_0x3b728f(0x11e)]=new _0x4f5fd7(),this[_0x3b728f(0x15e)]=new _0x1d1046(),this[_0x3b728f(0x128)]=new _0x31d812({'focusables':this[_0x3b728f(0x145)],'focusTracker':this[_0x3b728f(0x11e)],'keystrokeHandler':this[_0x3b728f(0x15e)],'keystrokeHandlerOptions':{'filter':_0x473ba3=>this[_0x3b728f(0x145)][_0x3b728f(0x15c)](_0x10befe=>_0x10befe[_0x3b728f(0x175)])[_0x3b728f(0x15b)](_0x473ba3[_0x3b728f(0x151)])},'actions':{'focusPrevious':_0x3b728f(0x168),'focusNext':_0x3b728f(0x170)}}),this[_0x3b728f(0x12b)]=new _0x3da820(_0x4ff804),this[_0x3b728f(0x12b)][_0x3b728f(0x159)](_0x3b728f(0x12f))['to'](this,_0x3b728f(0x136),_0x37657b=>_0x37657b-this[_0x3b728f(0x152)][_0x3b728f(0x143)]);for(const _0x532e8a of _0x4cb820[_0x3b728f(0x14f)])this[_0x3b728f(0x12e)](_0x532e8a);this[_0x3b728f(0x16f)](),this[_0x3b728f(0x13d)](_0x4cb820[_0x3b728f(0x14f)],_0x3b728f(0x14a),(_0x2a0827,_0x4c946c)=>{const _0x185582=_0x3b728f,_0x324776=this[_0x185582(0x172)](_0x4c946c);this[_0x185582(0x136)]++,this[_0x185582(0x12e)](_0x4c946c,_0x324776),this[_0x185582(0x122)]();}),this[_0x3b728f(0x13d)](_0x4cb820[_0x3b728f(0x14f)],_0x3b728f(0x130),(_0x51779b,_0x1a4b94)=>{const _0x25d62a=_0x3b728f;this[_0x25d62a(0x136)]--,this[_0x25d62a(0x131)](_0x1a4b94),this[_0x25d62a(0x122)]();}),this[_0x3b728f(0x13d)](_0x4cb820,_0x3b728f(0x13b),()=>this[_0x3b728f(0x122)]()),this[_0x3b728f(0x13d)](_0x4cb820,_0x3b728f(0x13f),()=>this[_0x3b728f(0x16f)]()),this['on'](_0x3b728f(0x14b),()=>this[_0x3b728f(0x122)]()),this['on'](_0x3b728f(0x178),()=>this[_0x3b728f(0x122)]()),this[_0x3b728f(0x137)]({'tag':'ul','attributes':{'class':[_0x3b728f(0x125),_0x4c5122['if'](_0x3b728f(0x136),_0x3b728f(0x12c),_0xb86d35=>!_0xb86d35)],'aria-label':_0xa23066(_0x4ff804,_0x3b728f(0x167))},'children':this[_0x3b728f(0x118)]});}get[_0x4b2094(0x15d)](){const _0x37f8a0=_0x4b2094;return this[_0x37f8a0(0x161)][_0x37f8a0(0x157)]>this[_0x37f8a0(0x152)][_0x37f8a0(0x132)]&&!this[_0x37f8a0(0x173)]&&!this[_0x37f8a0(0x16c)];}[_0x4b2094(0x127)](){const _0x212f4d=_0x4b2094;super[_0x212f4d(0x127)](),this[_0x212f4d(0x122)](),this[_0x212f4d(0x119)]();}[_0x4b2094(0x163)](_0x30ee65){const _0x53f1a1=_0x4b2094;-0x1===_0x30ee65?this[_0x53f1a1(0x128)][_0x53f1a1(0x146)]():this[_0x53f1a1(0x128)][_0x53f1a1(0x135)]();}[_0x4b2094(0x176)](){const _0x41f5c8=_0x4b2094;this[_0x41f5c8(0x12b)][_0x41f5c8(0x176)]();for(const _0x39a39b of this[_0x41f5c8(0x145)])_0x39a39b[_0x41f5c8(0x176)]();super[_0x41f5c8(0x176)]();}[_0x4b2094(0x122)](){const _0x2cf2ed=_0x4b2094;this[_0x2cf2ed(0x15d)]?this[_0x2cf2ed(0x134)]():this[_0x2cf2ed(0x14d)]();}[_0x4b2094(0x12e)](_0x2df023,_0x2d6deb){const _0x335e36=_0x4b2094,_0x557c17=new this[(_0x335e36(0x152))][(_0x335e36(0x147))](this[_0x335e36(0x164)],_0x2df023,{'maxCommentCharsWhenCollapsed':this[_0x335e36(0x152)][_0x335e36(0x116)],'formatDateTime':this[_0x335e36(0x152)][_0x335e36(0x133)],'editorConfig':this[_0x335e36(0x152)][_0x335e36(0x156)]});_0x557c17[_0x335e36(0x16e)]=_0x2df023['id'],_0x557c17[_0x335e36(0x120)](_0x335e36(0x12d))['to'](this),_0x557c17[_0x335e36(0x120)](_0x335e36(0x11b))['to'](this),_0x557c17[_0x335e36(0x120)](_0x335e36(0x16a))['to'](this),_0x557c17[_0x335e36(0x120)](_0x335e36(0x16d))['to'](this),_0x557c17[_0x335e36(0x120)](_0x335e36(0x169))['to'](this),this[_0x335e36(0x13d)](_0x557c17,_0x335e36(0x139),()=>this[_0x335e36(0x11f)]()),this[_0x335e36(0x145)][_0x335e36(0x14a)](_0x557c17,_0x2d6deb);}[_0x4b2094(0x172)](_0xfeaae){const _0x4e1cb3=_0x4b2094,_0x4f34ae=this[_0x4e1cb3(0x161)][_0x4e1cb3(0x121)](_0xfeaae);return this[_0x4e1cb3(0x158)]?this[_0x4e1cb3(0x158)][_0x4e1cb3(0x16b)]>_0xfeaae[_0x4e1cb3(0x16b)]?_0x4f34ae-0x1:_0x4f34ae:_0x4f34ae-0x1;}[_0x4b2094(0x16f)](){const _0xbb7272=_0x4b2094;if(this[_0xbb7272(0x161)][_0xbb7272(0x144)]&&this[_0xbb7272(0x161)][_0xbb7272(0x153)]){const _0x54b1f0={'id':_0xbb7272(0x12a),'author':this[_0xbb7272(0x161)][_0xbb7272(0x144)],'authoredAt':this[_0xbb7272(0x161)][_0xbb7272(0x153)],'content':_0xa23066(this[_0xbb7272(0x164)],_0xbb7272(0x117)),'attributes':{}};this[_0xbb7272(0x158)]=new this[(_0xbb7272(0x152))][(_0xbb7272(0x147))](this[_0xbb7272(0x164)],_0x54b1f0,{'maxCommentCharsWhenCollapsed':this[_0xbb7272(0x152)][_0xbb7272(0x116)],'formatDateTime':this[_0xbb7272(0x152)][_0xbb7272(0x133)],'editorConfig':this[_0xbb7272(0x152)][_0xbb7272(0x156)],'isSystemComment':!0x0}),this[_0xbb7272(0x145)][_0xbb7272(0x14a)](this[_0xbb7272(0x158)],this[_0xbb7272(0x161)][_0xbb7272(0x121)](_0x54b1f0));}else this[_0xbb7272(0x158)]&&(this[_0xbb7272(0x145)][_0xbb7272(0x130)](this[_0xbb7272(0x158)]),this[_0xbb7272(0x158)][_0xbb7272(0x176)](),this[_0xbb7272(0x158)]=null);this[_0xbb7272(0x122)]();}[_0x4b2094(0x131)](_0x32a44e){const _0x4a09d4=_0x4b2094,_0x55cda7=this[_0x4a09d4(0x145)][_0x4a09d4(0x130)](_0x32a44e['id']);this[_0x4a09d4(0x154)](_0x55cda7),_0x55cda7[_0x4a09d4(0x11c)]&&this[_0x4a09d4(0x11f)](),_0x55cda7[_0x4a09d4(0x176)]();}[_0x4b2094(0x11f)](){const _0x5e0839=_0x4b2094;this[_0x5e0839(0x16c)]=Array[_0x5e0839(0x140)](this[_0x5e0839(0x145)])[_0x5e0839(0x14e)](_0x49ef6e=>_0x49ef6e[_0x5e0839(0x11c)]);}[_0x4b2094(0x134)](){const _0x435ec3=_0x4b2094,_0x2b7c8a=function(_0x2f6e9b){const _0x37a670=_0x69f0,_0x342109=new _0x1941d9();for(const _0x33d86c of _0x2f6e9b)_0x342109[_0x37a670(0x14a)](_0x33d86c);return _0x342109;}(this[_0x435ec3(0x145)]),_0x3540fe=this[_0x435ec3(0x12b)][_0x435ec3(0x12f)];for(let _0x561412=0x1;_0x561412<=_0x3540fe;_0x561412++)_0x2b7c8a[_0x435ec3(0x130)](0x1);for(const _0x591a7c of _0x2b7c8a)_0x591a7c[_0x435ec3(0x177)]();_0x3540fe>0x0&&_0x2b7c8a[_0x435ec3(0x14a)](this[_0x435ec3(0x12b)],0x1),ns(_0x574c4a(Array[_0x435ec3(0x140)](this[_0x435ec3(0x118)]),Array[_0x435ec3(0x140)](_0x2b7c8a)),this[_0x435ec3(0x118)],_0x2b7c8a);}[_0x4b2094(0x14d)](){const _0x308f01=_0x4b2094;ns(_0x574c4a(Array[_0x308f01(0x140)](this[_0x308f01(0x118)]),Array[_0x308f01(0x140)](this[_0x308f01(0x145)])),this[_0x308f01(0x118)],this[_0x308f01(0x145)]);for(const _0x564367 of this[_0x308f01(0x118)])_0x564367[_0x308f01(0x160)]();}[_0x4b2094(0x119)](){const _0x111f5e=_0x4b2094;this[_0x111f5e(0x145)][_0x111f5e(0x149)](_0x2418d0=>{const _0x427eca=_0x111f5e;this[_0x427eca(0x11e)][_0x427eca(0x14a)](_0x2418d0[_0x427eca(0x175)]),this[_0x427eca(0x15e)][_0x427eca(0x13d)](_0x2418d0[_0x427eca(0x175)]);}),this[_0x111f5e(0x145)]['on'](_0x111f5e(0x138),(_0x2a1d53,_0x3de28d)=>{const _0x40d13a=_0x111f5e;for(const _0x378d13 of _0x3de28d[_0x40d13a(0x11a)])this[_0x40d13a(0x11e)][_0x40d13a(0x130)](_0x378d13[_0x40d13a(0x175)]),this[_0x40d13a(0x15e)][_0x40d13a(0x154)](_0x378d13[_0x40d13a(0x175)]);for(const _0x127067 of Array[_0x40d13a(0x140)](_0x3de28d[_0x40d13a(0x13c)])[_0x40d13a(0x11d)]())this[_0x40d13a(0x11e)][_0x40d13a(0x14a)](_0x127067[_0x40d13a(0x175)]),this[_0x40d13a(0x15e)][_0x40d13a(0x13d)](_0x127067[_0x40d13a(0x175)]);});}}function ns(_0x7b26d,_0x447d1f,_0xebf296){const _0x3431d3=_0x4b2094;let _0x28c504=0x0;for(const _0x6b2b9d of _0x7b26d)switch(_0x6b2b9d){case _0x3431d3(0x174):_0x447d1f[_0x3431d3(0x14a)](_0xebf296[_0x3431d3(0x171)](_0x28c504),_0x28c504),_0x28c504++;break;case _0x3431d3(0x15a):_0x447d1f[_0x3431d3(0x130)](_0x28c504);break;case _0x3431d3(0x142):_0x28c504++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f8689=_0x4c56;(function(_0x55933b,_0x3dfe1f){const _0x5c0b82=_0x4c56,_0x32787a=_0x55933b();while(!![]){try{const _0x336bad=-parseInt(_0x5c0b82(0x7c))/0x1*(-parseInt(_0x5c0b82(0x89))/0x2)+-parseInt(_0x5c0b82(0x87))/0x3*(-parseInt(_0x5c0b82(0x81))/0x4)+parseInt(_0x5c0b82(0x83))/0x5*(-parseInt(_0x5c0b82(0x7e))/0x6)+parseInt(_0x5c0b82(0x8a))/0x7+-parseInt(_0x5c0b82(0x86))/0x8*(-parseInt(_0x5c0b82(0x84))/0x9)+parseInt(_0x5c0b82(0x88))/0xa+-parseInt(_0x5c0b82(0x85))/0xb*(parseInt(_0x5c0b82(0x7a))/0xc);if(_0x336bad===_0x3dfe1f)break;else _0x32787a['push'](_0x32787a['shift']());}catch(_0x28a773){_0x32787a['push'](_0x32787a['shift']());}}}(_0x4cbc,0xa747a));import{View as _0x57eee3}from'ckeditor5/src/ui.js';function _0x4cbc(){const _0xdab26a=['THREAD_CONTEXT_LABEL','span','2364NjwjCg','bindTemplate','97vhtKQi','ck-context__value','12qVbyUf','contextValue','element','307452cWQGDZ','setTemplate','2143885xpHGxX','153sOUWEm','142802qLqXDN','435136qCbGMf','18wVhQBi','12177440ZJIhlt','4036rAykQU','9105978zKDXGk','focus','set'];_0x4cbc=function(){return _0xdab26a;};return _0x4cbc();}import{getTranslation as _0x2c4a2a}from'../../../utils/common-translations.js';function _0x4c56(_0x104b5e,_0x1fde6f){const _0x4cbc96=_0x4cbc();return _0x4c56=function(_0x4c562e,_0x263c14){_0x4c562e=_0x4c562e-0x7a;let _0x57ab5a=_0x4cbc96[_0x4c562e];return _0x57ab5a;},_0x4c56(_0x104b5e,_0x1fde6f);}export class CommentThreadHeaderContextView extends _0x57eee3{constructor(_0x455e76){const _0x1c760b=_0x4c56;super(_0x455e76);const _0x1ac7f2=this[_0x1c760b(0x7b)];this[_0x1c760b(0x8c)](_0x1c760b(0x7f),''),this[_0x1c760b(0x82)]({'tag':_0x1c760b(0x8e),'attributes':{'class':['ck',_0x1c760b(0x7d)],'aria-label':_0x1ac7f2['to'](_0x1c760b(0x7f),_0x415ce8=>_0x2c4a2a(_0x455e76,_0x1c760b(0x8d),_0x415ce8)),'tabindex':-0x1},'children':[{'text':_0x1ac7f2['to'](_0x1c760b(0x7f))}]});}[_0x1f8689(0x8b)](){const _0x38cd91=_0x1f8689;this[_0x38cd91(0x80)][_0x38cd91(0x8b)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4221(_0x231d1e,_0x23470c){const _0x5ae738=_0x5ae7();return _0x4221=function(_0x4221c0,_0x86e6c6){_0x4221c0=_0x4221c0-0x191;let _0x6b7c0e=_0x5ae738[_0x4221c0];return _0x6b7c0e;},_0x4221(_0x231d1e,_0x23470c);}const _0x2efcad=_0x4221;(function(_0x3e891e,_0x539792){const _0x2a0c89=_0x4221,_0x450982=_0x3e891e();while(!![]){try{const _0x870d61=parseInt(_0x2a0c89(0x1d4))/0x1*(-parseInt(_0x2a0c89(0x1aa))/0x2)+parseInt(_0x2a0c89(0x1d6))/0x3*(-parseInt(_0x2a0c89(0x1d7))/0x4)+-parseInt(_0x2a0c89(0x1d3))/0x5*(parseInt(_0x2a0c89(0x19d))/0x6)+-parseInt(_0x2a0c89(0x197))/0x7+parseInt(_0x2a0c89(0x1a9))/0x8+parseInt(_0x2a0c89(0x1d9))/0x9+-parseInt(_0x2a0c89(0x1c1))/0xa*(-parseInt(_0x2a0c89(0x1d0))/0xb);if(_0x870d61===_0x539792)break;else _0x450982['push'](_0x450982['shift']());}catch(_0x18c836){_0x450982['push'](_0x450982['shift']());}}}(_0x5ae7,0x60aae));import{View as _0x49085a,ButtonView as _0x17b650,FocusCycler as _0x3c9fc4}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5817b4,KeystrokeHandler as _0x3fcc02}from'ckeditor5/src/utils.js';import{IconUndo as _0x2035be}from'ckeditor5/src/icons.js';import{getTranslation as _0x2684b1}from'../../../utils/common-translations.js';function _0x5ae7(){const _0x16bc1e=['_trimContextValue','contextValue','context','.ck-context__value','5033700kLRBtz','reopenButtonView','remove','focusables','isResolvable','ck-thread__header','876rSZYvp','execute','Comment\x20was\x20made\x20on\x20an\x20element','element','hasContext','tooltip','bind','focusTracker','focus','ck-context-wrapper','add','_attachContextActions','5756032VPIJjg','2VcAbgB','scrollWidth','render','reopenCommentThread','keystrokes','bindTemplate','_model','ck-annotation__actions','isResolved','tab','mouseenter','lastIndexOf','_createReopenButton','icon','contextView','isReadOnly','listenTo','.ck-context','shift+tab','Reopen','isVisible','div','focusFirst','11820dUGlEm','focusCycler','offsetWidth','mouseleave','overlay','value','isEnabled','label','classList','fire','createCollection','setTemplate','_createContextView','_setupKeyboardNavigation','locale','15290HQjiLQ','length','...','3255pZoyob','785761fIRWIf','substring','471GYexZX','17512kmobTK','ck-context--quotes','2886471jmUMMi','ck-context','querySelector'];_0x5ae7=function(){return _0x16bc1e;};return _0x5ae7();}import{CommentThreadHeaderContextView as _0x2b6c62}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x49085a{[_0x2efcad(0x1b0)];[_0x2efcad(0x198)];[_0x2efcad(0x1b8)];[_0x2efcad(0x19a)];[_0x2efcad(0x1a4)];[_0x2efcad(0x1ae)];[_0x2efcad(0x1c2)];constructor(_0xd12fc1,_0x288ae1){const _0x3e0ede=_0x2efcad;super(_0xd12fc1);const _0x11e90b=this[_0x3e0ede(0x1af)];this[_0x3e0ede(0x1b0)]=_0x288ae1,this[_0x3e0ede(0x198)]=this[_0x3e0ede(0x1b6)](),this[_0x3e0ede(0x1b8)]=this[_0x3e0ede(0x1cd)](),this[_0x3e0ede(0x19a)]=this[_0x3e0ede(0x1cb)]([this[_0x3e0ede(0x1b8)],this[_0x3e0ede(0x198)]]),this[_0x3e0ede(0x1a4)]=new _0x5817b4(),this[_0x3e0ede(0x1ae)]=new _0x3fcc02(),this[_0x3e0ede(0x1c2)]=new _0x3c9fc4({'focusables':this[_0x3e0ede(0x19a)],'focusTracker':this[_0x3e0ede(0x1a4)],'keystrokeHandler':this[_0x3e0ede(0x1ae)],'actions':{'focusPrevious':_0x3e0ede(0x1bc),'focusNext':_0x3e0ede(0x1b3)}}),this[_0x3e0ede(0x1a3)](_0x3e0ede(0x1a1))['to'](this[_0x3e0ede(0x1b0)],_0x3e0ede(0x195),_0x4e3a47=>!!_0x4e3a47),this[_0x3e0ede(0x1a3)](_0x3e0ede(0x194))['to'](this[_0x3e0ede(0x1b0)],_0x3e0ede(0x195),_0x1bff4f=>_0x1bff4f&&_0x1bff4f[_0x3e0ede(0x1c6)]?this[_0x3e0ede(0x193)](_0x1bff4f[_0x3e0ede(0x1c6)]):_0x2684b1(this[_0x3e0ede(0x1cf)],_0x3e0ede(0x19f))),this[_0x3e0ede(0x1cc)]({'tag':_0x3e0ede(0x1bf),'attributes':{'class':[_0x3e0ede(0x19c)]},'children':[{'tag':_0x3e0ede(0x1bf),'attributes':{'class':[_0x3e0ede(0x1a6)]},'children':[{'tag':_0x3e0ede(0x1bf),'attributes':{'class':[_0x3e0ede(0x191),_0x11e90b['if'](_0x3e0ede(0x1a1),_0x3e0ede(0x1d8))]},'children':[this[_0x3e0ede(0x1b8)]]}]},{'tag':_0x3e0ede(0x1bf),'attributes':{'class':[_0x3e0ede(0x1b1)]},'children':[this[_0x3e0ede(0x198)]]}]});}[_0x2efcad(0x1ac)](){const _0x559387=_0x2efcad;super[_0x559387(0x1ac)](),this[_0x559387(0x1a8)](),this[_0x559387(0x1ce)]();}[_0x2efcad(0x1a5)](){const _0x70f158=_0x2efcad;this[_0x70f158(0x1c2)][_0x70f158(0x1c0)]();}[_0x2efcad(0x1b6)](){const _0x5c5f5b=_0x2efcad,_0x5591f7=new _0x17b650(this[_0x5c5f5b(0x1cf)]);return _0x5591f7[_0x5c5f5b(0x1c8)]=_0x2684b1(this[_0x5c5f5b(0x1cf)],_0x5c5f5b(0x1bd)),_0x5591f7[_0x5c5f5b(0x1a2)]=_0x2684b1(this[_0x5c5f5b(0x1cf)],_0x5c5f5b(0x1bd)),_0x5591f7[_0x5c5f5b(0x1b7)]=_0x2035be,_0x5591f7[_0x5c5f5b(0x1a3)](_0x5c5f5b(0x1c7))['to'](this[_0x5c5f5b(0x1b0)],_0x5c5f5b(0x1b9),_0x39a82c=>!_0x39a82c),_0x5591f7[_0x5c5f5b(0x1a3)](_0x5c5f5b(0x1be))['to'](this[_0x5c5f5b(0x1b0)],_0x5c5f5b(0x19b),this[_0x5c5f5b(0x1b0)],_0x5c5f5b(0x1b2),(_0x48d6e7,_0x41b08c)=>_0x48d6e7&&_0x41b08c),_0x5591f7['on'](_0x5c5f5b(0x19e),()=>{const _0x4f472d=_0x5c5f5b;this[_0x4f472d(0x1ca)](_0x4f472d(0x1ad),this[_0x4f472d(0x1b0)]['id']);}),_0x5591f7;}[_0x2efcad(0x193)](_0x381b29){const _0x528179=_0x2efcad;if(_0x381b29[_0x528179(0x1d1)]<0x96)return _0x381b29;const _0x31d87b=_0x381b29[_0x528179(0x1b5)]('\x20',0x93);return _0x381b29[_0x528179(0x1d5)](0x0,_0x31d87b>-0x1?_0x31d87b:0x93)+_0x528179(0x1d2);}[_0x2efcad(0x1a8)](){const _0x15a752=_0x2efcad,_0x2aa44f=this[_0x15a752(0x1a0)][_0x15a752(0x192)](_0x15a752(0x1bb)),_0x281421=_0x2aa44f[_0x15a752(0x192)](_0x15a752(0x196));this[_0x15a752(0x1ba)](_0x2aa44f,_0x15a752(0x1b4),()=>{const _0x43a7ca=_0x15a752;_0x281421[_0x43a7ca(0x1c3)]<_0x281421[_0x43a7ca(0x1ab)]&&_0x2aa44f[_0x43a7ca(0x1c9)][_0x43a7ca(0x1a7)](_0x43a7ca(0x1c5));}),this[_0x15a752(0x1ba)](_0x2aa44f,_0x15a752(0x1c4),()=>{const _0x572b62=_0x15a752;_0x2aa44f[_0x572b62(0x1c9)][_0x572b62(0x199)](_0x572b62(0x1c5));});}[_0x2efcad(0x1ce)](){const _0x163366=_0x2efcad;this[_0x163366(0x1ae)][_0x163366(0x1ba)](this[_0x163366(0x1a0)]);for(const _0x3117aa of this[_0x163366(0x19a)])this[_0x163366(0x1a4)][_0x163366(0x1a7)](_0x3117aa[_0x163366(0x1a0)]),this[_0x163366(0x1ae)][_0x163366(0x1ba)](_0x3117aa[_0x163366(0x1a0)]);}[_0x2efcad(0x1cd)](){const _0x2bab26=_0x2efcad,_0x4ae719=new _0x2b6c62(this[_0x2bab26(0x1cf)]);return _0x4ae719[_0x2bab26(0x1a3)](_0x2bab26(0x194))['to'](this),_0x4ae719;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3f80(){const _0x81d4bf=['isFocused','ck-comment__input-container','commentInputView','showButtons','render','bindTemplate','8sRHvkf','7947527PUqMLo','focus','userView','121192eUkuCU','editorReady','editor','editing','focusCycler','ck-thread__input','target','element','3zlkrrO','preventDefault','getDomRoot','6130740tgLUAL','contains','some','bind','mousedown','803670ABkzSm','value','then','setTemplate','ck-thread__user','18goHePF','showInput','extendTemplate','set','4772280skScSi','_focusOnNonInteractiveMouseDown','38180CSZcAN','div','5830iVFjmh','filter','46740XvkcbZ','view','listenTo','22KgwjiM','ck-comment__input-container--active','focusTracker','destroy','delegate','editorDestroyed','createEditor','change:showInput'];_0x3f80=function(){return _0x81d4bf;};return _0x3f80();}const _0x672e44=_0x4297;(function(_0x95b72a,_0x6912f6){const _0x29c37d=_0x4297,_0x2a0b01=_0x95b72a();while(!![]){try{const _0x3eb521=parseInt(_0x29c37d(0x99))/0x1*(parseInt(_0x29c37d(0x87))/0x2)+-parseInt(_0x29c37d(0x6d))/0x3*(-parseInt(_0x29c37d(0x80))/0x4)+-parseInt(_0x29c37d(0x75))/0x5+-parseInt(_0x29c37d(0x7e))/0x6+-parseInt(_0x29c37d(0x96))/0x7*(-parseInt(_0x29c37d(0x95))/0x8)+-parseInt(_0x29c37d(0x7a))/0x9*(-parseInt(_0x29c37d(0x70))/0xa)+parseInt(_0x29c37d(0x82))/0xb*(-parseInt(_0x29c37d(0x84))/0xc);if(_0x3eb521===_0x6912f6)break;else _0x2a0b01['push'](_0x2a0b01['shift']());}catch(_0x19880e){_0x2a0b01['push'](_0x2a0b01['shift']());}}}(_0x3f80,0xa6eb6));import{View as _0x5631e7}from'ckeditor5/src/ui.js';function _0x4297(_0x323074,_0xc1da8a){const _0x3f80ab=_0x3f80();return _0x4297=function(_0x429756,_0x168063){_0x429756=_0x429756-0x6b;let _0xfe0a3=_0x3f80ab[_0x429756];return _0xfe0a3;},_0x4297(_0x323074,_0xc1da8a);}import{CommentInputView as _0x57374a}from'./commentinputview.js';import{UserView as _0x1fe9a4}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x5631e7{constructor(_0x509564,_0x50a48b,_0x5236e7){const _0x1a2b44=_0x4297;super(_0x509564),this[_0x1a2b44(0x91)]=new _0x57374a(_0x509564,_0x5236e7),this[_0x1a2b44(0x9d)]=this[_0x1a2b44(0x91)][_0x1a2b44(0x9d)],this[_0x1a2b44(0x91)][_0x1a2b44(0x73)](_0x1a2b44(0x92))['to'](this[_0x1a2b44(0x91)][_0x1a2b44(0x89)],_0x1a2b44(0x8f),this[_0x1a2b44(0x91)],_0x1a2b44(0x76),(_0x3e6677,_0x366326)=>_0x3e6677||!!_0x366326),this[_0x1a2b44(0x7d)](_0x1a2b44(0x7b),!0x1),this['on'](_0x1a2b44(0x8e),()=>{const _0x7b2146=_0x1a2b44;this[_0x7b2146(0x7b)]&&!this[_0x7b2146(0x91)][_0x7b2146(0x9b)]&&this[_0x7b2146(0x91)][_0x7b2146(0x8d)]();}),this[_0x1a2b44(0x91)][_0x1a2b44(0x8b)](_0x1a2b44(0x9a))['to'](this),this[_0x1a2b44(0x91)][_0x1a2b44(0x8b)](_0x1a2b44(0x8c))['to'](this),this[_0x1a2b44(0x98)]=new _0x1fe9a4(_0x509564,_0x50a48b),this[_0x1a2b44(0x98)][_0x1a2b44(0x7c)]({'attributes':{'class':_0x1a2b44(0x79),'aria-hidden':!0x0}}),this[_0x1a2b44(0x91)][_0x1a2b44(0x7c)]({'attributes':{'class':_0x1a2b44(0x9e)}}),this[_0x1a2b44(0x78)]({'tag':_0x1a2b44(0x81),'attributes':{'class':[_0x1a2b44(0x90),this[_0x1a2b44(0x94)]['if'](_0x1a2b44(0x7b),_0x1a2b44(0x88))]},'children':[this[_0x1a2b44(0x98)],this[_0x1a2b44(0x91)]]});}[_0x672e44(0x93)](){const _0x59dc14=_0x672e44;super[_0x59dc14(0x93)](),this[_0x59dc14(0x7f)]();}[_0x672e44(0x8a)](){const _0x5c351a=_0x672e44;return this[_0x5c351a(0x91)][_0x5c351a(0x8a)]()[_0x5c351a(0x77)](()=>super[_0x5c351a(0x8a)]());}[_0x672e44(0x97)](_0x4a70ce){const _0x858356=_0x672e44;this[_0x858356(0x91)][_0x858356(0x97)](_0x4a70ce);}[_0x672e44(0x7f)](){const _0x5982fa=_0x672e44;this[_0x5982fa(0x86)](this[_0x5982fa(0x6c)],_0x5982fa(0x74),(_0x31388f,_0x4d8ec6)=>{const _0x49def8=_0x5982fa,{submitButtonView:_0x4e77cd,cancelButtonView:_0x4511f0,editor:_0x1d8a3a}=this[_0x49def8(0x91)];[_0x4e77cd[_0x49def8(0x6c)],_0x4511f0[_0x49def8(0x6c)],_0x1d8a3a?_0x1d8a3a[_0x49def8(0x9c)][_0x49def8(0x85)][_0x49def8(0x6f)]():null][_0x49def8(0x83)](_0x27430d=>_0x27430d)[_0x49def8(0x72)](_0x3f9731=>_0x3f9731[_0x49def8(0x71)](_0x4d8ec6[_0x49def8(0x6b)]))||(this[_0x49def8(0x97)](),_0x4d8ec6[_0x49def8(0x6e)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x25b9ca=_0x3ed7;function _0x3ed7(_0x56b26e,_0x4ffcdc){const _0x18e5cb=_0x18e5();return _0x3ed7=function(_0x3ed75d,_0xe67c98){_0x3ed75d=_0x3ed75d-0x189;let _0x5b302c=_0x18e5cb[_0x3ed75d];return _0x5b302c;},_0x3ed7(_0x56b26e,_0x4ffcdc);}(function(_0x4692c8,_0x432dfc){const _0x403bb5=_0x3ed7,_0x4ee480=_0x4692c8();while(!![]){try{const _0x43ba0a=parseInt(_0x403bb5(0x18c))/0x1+parseInt(_0x403bb5(0x1b3))/0x2*(parseInt(_0x403bb5(0x1c2))/0x3)+-parseInt(_0x403bb5(0x1a0))/0x4*(parseInt(_0x403bb5(0x1e1))/0x5)+-parseInt(_0x403bb5(0x1c8))/0x6*(parseInt(_0x403bb5(0x191))/0x7)+-parseInt(_0x403bb5(0x1dd))/0x8+parseInt(_0x403bb5(0x1d0))/0x9*(parseInt(_0x403bb5(0x1bb))/0xa)+-parseInt(_0x403bb5(0x1a1))/0xb;if(_0x43ba0a===_0x432dfc)break;else _0x4ee480['push'](_0x4ee480['shift']());}catch(_0x2da623){_0x4ee480['push'](_0x4ee480['shift']());}}}(_0x18e5,0x88f37));function _0x18e5(){const _0x211934=['ck-thread__container','commentThreadChildren','ariaLabel','icon','high','unbind','listitem','1626808XqzQss','change:isReadOnly','isActive','remove','1257705UWyzNc','focus','removeConfirm','get','1017166yOTXsE','commentThreadHeaderView','Write\x20a\x20comment...','locale','_cancelAllConfirms','1799hlEvxU','_model','actionBar','actionIndicator','createCollection','isEnabled','resolveCommentThread','tooltip','ck-thread--','div','then','ck-reset_all-excluded','ck-thread--active','ck-rounded-corners','set','12SkuQJD','991793FlSdgM','bindTemplate','change:archivedAt','isResolvable','ck-comment--resolve','add','ariaDescriptionView','ck-thread--unlinked','containerElement','isResolved','commentsListView','removeButton','isSystemComment','resolveButton','execute','commentThreadInputView','label','getTemplate','2QVrmZJ','length','removeCommentThread','placeholder','ck-thread','.ck-thread__container','listenTo','element','8302330zrwdpi','setTemplate','cancelConfirm','commentViews','Delete\x20comment\x20thread?','has','focusables','1462371lvnloz','archivedAt','bind','isUnlinked','extendTemplate','fire','16944icYpfO','_updateArchivedThreadHeader','Resolve','querySelector','isReadOnly','showConfirm','_createResolveButton','_bindFirstCommentView','9ZsrqJE','stop','render','_boundFirstCommentView','isVisible','change:isActive'];_0x18e5=function(){return _0x211934;};return _0x18e5();}import{ConfirmMixin as _0x3ab424,LateFocusButtonView as _0x3bcba8}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x395c19}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x28d7ff}from'./basecommentthreadview.js';import{getTranslation as _0x4c866b}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3ab424(_0x28d7ff){[_0x25b9ca(0x1d7)];[_0x25b9ca(0x1a9)];[_0x25b9ca(0x1ae)];[_0x25b9ca(0x1d3)];constructor(_0x2d3ffc,_0x10fc25,_0x3dc862,_0xab065c){const _0x20545f=_0x25b9ca;super(_0x2d3ffc,_0x10fc25,_0x3dc862,_0xab065c),this[_0x20545f(0x1d7)]=this[_0x20545f(0x195)]([this[_0x20545f(0x1ab)],this[_0x20545f(0x1b0)],this[_0x20545f(0x1a7)]]),this[_0x20545f(0x19f)](_0x20545f(0x194),null),this[_0x20545f(0x1a9)]=null,this[_0x20545f(0x1d3)]=null,this[_0x20545f(0x18f)]=_0x2d3ffc,this[_0x20545f(0x1ae)]=this[_0x20545f(0x1ce)](),this[_0x20545f(0x1bc)](this[_0x20545f(0x1b2)]()),this['on'](_0x20545f(0x1d5),(_0xde1387,_0x1faa88,_0x27cb49)=>{const _0x4cb1e7=_0x20545f;_0x27cb49||this[_0x4cb1e7(0x190)]();}),this[_0x20545f(0x1b9)](this[_0x20545f(0x192)],_0x20545f(0x1de),(_0x4ad6fb,_0x177dab,_0x405156)=>{const _0x356050=_0x20545f;_0x405156&&this[_0x356050(0x190)]();}),this[_0x20545f(0x1b4)]>0x0&&this[_0x20545f(0x1cf)](),this[_0x20545f(0x1b9)](this[_0x20545f(0x1ab)][_0x20545f(0x1be)],_0x20545f(0x1a6),()=>{const _0x4189fb=_0x20545f;this[_0x4189fb(0x1cf)]();});}[_0x25b9ca(0x1b2)](){const _0x315f30=_0x25b9ca,_0x582889=this[_0x315f30(0x1a2)];return{'tag':_0x315f30(0x19a),'attributes':{'class':['ck',_0x315f30(0x1b7),_0x315f30(0x19c),_0x315f30(0x19e),_0x582889['if'](_0x315f30(0x1df),_0x315f30(0x19d)),_0x582889['if'](_0x315f30(0x1c5),_0x315f30(0x1a8)),_0x582889['to'](_0x315f30(0x194),_0x1f74d9=>_0x1f74d9?_0x315f30(0x199)+_0x1f74d9:'')],'data-thread-id':this[_0x315f30(0x192)]['id'],'tabindex':0x0,'role':_0x315f30(0x1dc),'aria-label':_0x582889['to'](_0x315f30(0x1d8)),'aria-describedby':this[_0x315f30(0x1a7)]['id']},'children':[{'tag':_0x315f30(0x19a),'attributes':{'class':_0x315f30(0x1d6)},'children':this[_0x315f30(0x1d7)]}]};}[_0x25b9ca(0x1d2)](){const _0x2e2413=_0x25b9ca;super[_0x2e2413(0x1d2)](),this[_0x2e2413(0x1a9)]=this[_0x2e2413(0x1ba)][_0x2e2413(0x1cb)](_0x2e2413(0x1b8)),this[_0x2e2413(0x192)]['on'](_0x2e2413(0x1a3),()=>{const _0x24efad=_0x2e2413;this[_0x24efad(0x1c9)]();}),this[_0x2e2413(0x1c9)]();}[_0x25b9ca(0x190)](){const _0x3dbcf2=_0x25b9ca;this[_0x3dbcf2(0x1bd)]();for(const _0x2bf1d9 of this[_0x3dbcf2(0x1ab)][_0x3dbcf2(0x1be)])_0x2bf1d9[_0x3dbcf2(0x1bd)]();}[_0x25b9ca(0x1cf)](){const _0x35fa56=_0x25b9ca,{locale:_0x45517a}=this,_0x40916f=this[_0x35fa56(0x1ab)][_0x35fa56(0x1be)][_0x35fa56(0x18b)](0x0);_0x40916f===this[_0x35fa56(0x1d3)]||_0x40916f[_0x35fa56(0x1ad)]||(this[_0x35fa56(0x1d3)]=_0x40916f,this[_0x35fa56(0x1db)](_0x35fa56(0x194)),this[_0x35fa56(0x1c4)](_0x35fa56(0x194))['to'](_0x40916f,_0x35fa56(0x194),_0x18e5c9=>_0x35fa56(0x1e0)===_0x18e5c9?_0x35fa56(0x1e0):null),_0x40916f[_0x35fa56(0x1b6)]=_0x4c866b(_0x45517a,_0x35fa56(0x18e)),_0x40916f[_0x35fa56(0x1ac)]['on'](_0x35fa56(0x1af),_0x1b9a23=>{const _0x3543c2=_0x35fa56;_0x1b9a23[_0x3543c2(0x1d1)](),this[_0x3543c2(0x1cd)](_0x4c866b(_0x45517a,_0x3543c2(0x1bf)),this[_0x3543c2(0x1a9)])[_0x3543c2(0x19b)](()=>{const _0x11e49c=_0x3543c2;this[_0x11e49c(0x1c7)](_0x11e49c(0x1b5));});},{'priority':_0x35fa56(0x1da)}),this['on'](_0x35fa56(0x18a),()=>{const _0x268d50=_0x35fa56;_0x40916f[_0x268d50(0x189)]();}),_0x40916f[_0x35fa56(0x193)][_0x35fa56(0x1a6)](this[_0x35fa56(0x1ae)],0x0),_0x40916f[_0x35fa56(0x1c1)][_0x35fa56(0x1a6)](this[_0x35fa56(0x1ae)],0x0));}[_0x25b9ca(0x1ce)](){const _0x49e615=_0x25b9ca,_0x2a2fdc=new _0x3bcba8(this[_0x49e615(0x18f)]);return _0x2a2fdc[_0x49e615(0x1b1)]=_0x4c866b(this[_0x49e615(0x18f)],_0x49e615(0x1ca)),_0x2a2fdc[_0x49e615(0x198)]=_0x4c866b(this[_0x49e615(0x18f)],_0x49e615(0x1ca)),_0x2a2fdc[_0x49e615(0x1d9)]=_0x395c19,_0x2a2fdc[_0x49e615(0x1c6)]({'attributes':{'class':_0x49e615(0x1a5)}}),_0x2a2fdc[_0x49e615(0x1c4)](_0x49e615(0x196))['to'](this[_0x49e615(0x192)],_0x49e615(0x1cc),_0x4b0b24=>!_0x4b0b24),_0x2a2fdc[_0x49e615(0x1c4)](_0x49e615(0x1d4))['to'](this[_0x49e615(0x192)],_0x49e615(0x1a4),this[_0x49e615(0x192)],_0x49e615(0x1aa),(_0x11596a,_0x450c4e)=>_0x11596a&&!_0x450c4e),_0x2a2fdc['on'](_0x49e615(0x1af),()=>{const _0x1f3e7e=_0x49e615;this[_0x1f3e7e(0x1c7)](_0x1f3e7e(0x197),this[_0x1f3e7e(0x192)]['id']);}),_0x2a2fdc;}[_0x25b9ca(0x1c9)](){const _0x20c6f6=_0x25b9ca;this[_0x20c6f6(0x192)][_0x20c6f6(0x1c3)]?this[_0x20c6f6(0x1d7)][_0x20c6f6(0x1c0)](this[_0x20c6f6(0x18d)])||(this[_0x20c6f6(0x1d7)][_0x20c6f6(0x1a6)](this[_0x20c6f6(0x18d)],0x0),this[_0x20c6f6(0x1c1)][_0x20c6f6(0x1a6)](this[_0x20c6f6(0x18d)],0x0)):this[_0x20c6f6(0x1d7)][_0x20c6f6(0x1c0)](this[_0x20c6f6(0x18d)])&&(this[_0x20c6f6(0x1d7)][_0x20c6f6(0x1e0)](this[_0x20c6f6(0x18d)]),this[_0x20c6f6(0x1c1)][_0x20c6f6(0x1e0)](this[_0x20c6f6(0x18d)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x305f6b=_0x5276;(function(_0x1f95ee,_0x5c5905){const _0x52bc06=_0x5276,_0x2be33d=_0x1f95ee();while(!![]){try{const _0x4f279b=parseInt(_0x52bc06(0x1a7))/0x1+-parseInt(_0x52bc06(0x186))/0x2*(parseInt(_0x52bc06(0x181))/0x3)+parseInt(_0x52bc06(0x168))/0x4*(parseInt(_0x52bc06(0x16b))/0x5)+-parseInt(_0x52bc06(0x1ad))/0x6+parseInt(_0x52bc06(0x16e))/0x7+parseInt(_0x52bc06(0x19d))/0x8*(parseInt(_0x52bc06(0x150))/0x9)+-parseInt(_0x52bc06(0x174))/0xa;if(_0x4f279b===_0x5c5905)break;else _0x2be33d['push'](_0x2be33d['shift']());}catch(_0x916ad8){_0x2be33d['push'](_0x2be33d['shift']());}}}(_0x2079,0xa18e7));function _0x5276(_0xe3f459,_0x5201ef){const _0x2079b4=_0x2079();return _0x5276=function(_0x527699,_0x2caaaf){_0x527699=_0x527699-0x13b;let _0x176fb8=_0x2079b4[_0x527699];return _0x176fb8;},_0x5276(_0xe3f459,_0x5201ef);}import{IconRemoveComment as _0x466ede,IconPencil as _0x528ec0,IconThreeVerticalDots as _0x2b8da9}from'ckeditor5/src/icons.js';import{ButtonView as _0x4c3738,createDropdown as _0xfc019f,ListView as _0x43127f,ListItemView as _0x5f4a2d,focusChildOnDropdownOpen as _0x38e4f5}from'ckeditor5/src/ui.js';import{UserView as _0x4a8fcd,ConfirmMixin as _0x2a31e0,LateFocusDropdownButtonView as _0x1d8d9e}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x42c02c}from'./basecommentview.js';function _0x2079(){const _0xb71496=['actionIndicator','ariaDescriptionView','focusables','isEditMode','ck-annotation__info-name','getUserViewNotificationText','_config','switchToEditMode','989225axOyFb','withText','ck-comment--','getTemplate','ck-comment__external','addMany','3485076qqQZHB','then','showConfirm','length','group','bind','ck-comment__user','cancelConfirm','time','placeholder','name','buttonView','ck-annotation__actions--hidden','ck-comment','ck-annotation__info-time','_createEditButton','Edit','mouseleave','ck-comment__info-name','render','panelView','removeButton','isReadOnly','isEnabled','ck-annotation__content-wrapper','find','3018447myHBpP','ck-comment--remove','ck-annotation__user','icon','userView','remove','_createCommentInputView','ck-comment__wrapper','dropdown','editButton','div','ck-comment__info','ck-comment__main','Delete\x20comment?','panelPosition','removeComment','formatDateTime','actionBar','children','change:isRemovable','authoredAt','ck-hidden','author','createCollection','12urhvSX','ck-comment__actions--hidden','isEditable','1199555dnDbDN','_createDropdown','ck-annotation__actions','9159794hSwfDS','Remove','some','isRemovable','focus','add','17593250svJAtQ','mouseenter','unbind','bindTemplate','getExternalCommentNote','ck-comment--info','listenTo','set','isVisible','ck-annotation__main','isSystemComment','listitem','fire','1052931zUrGTc','ck-annotation','ck-annotation__info','ck-comment__actions','isExternal','2AMTjcC','setTemplate','toMany','label','element','locale','_model','span','items','ariaLabel','ck-comment__info-time','Show\x20more\x20items','Reply...','edit','extendTemplate','ck-comment--edit','push','_attachActions','blur','visibleView','resolvedAt','_createRemoveButton','execute','8xvlPfJ','from'];_0x2079=function(){return _0xb71496;};return _0x2079();}import{getTranslation as _0x65ca3}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2a31e0(_0x42c02c){[_0x305f6b(0x161)];[_0x305f6b(0x154)];constructor(_0x5243fa,_0x344b6e,_0x50eef6){const _0x43056b=_0x305f6b;super(_0x5243fa,_0x344b6e,_0x50eef6),this[_0x43056b(0x17b)](_0x43056b(0x19f),null),this[_0x43056b(0x17b)](_0x43056b(0x13f),_0x65ca3(_0x5243fa,_0x43056b(0x192))),this[_0x43056b(0x13b)](_0x43056b(0x164))['to'](_0x344b6e),this[_0x43056b(0x13b)](_0x43056b(0x19a))['to'](_0x344b6e),this[_0x43056b(0x161)]=this[_0x43056b(0x167)](),this[_0x43056b(0x17e)]||(this[_0x43056b(0x159)]=this[_0x43056b(0x145)](),this[_0x43056b(0x14b)]=this[_0x43056b(0x19b)](),this[_0x43056b(0x18e)]=this[_0x43056b(0x167)](),this[_0x43056b(0x18e)][_0x43056b(0x1ac)]([this[_0x43056b(0x159)],this[_0x43056b(0x14b)]]),this[_0x43056b(0x158)]=this[_0x43056b(0x16c)](),this[_0x43056b(0x161)][_0x43056b(0x173)](this[_0x43056b(0x158)]),this[_0x43056b(0x1a1)][_0x43056b(0x173)](this[_0x43056b(0x158)])),this[_0x43056b(0x154)]=new _0x4a8fcd(_0x5243fa,_0x344b6e[_0x43056b(0x166)],this[_0x43056b(0x1a4)]()),this[_0x43056b(0x154)][_0x43056b(0x194)]({'attributes':{'class':[_0x43056b(0x13c),_0x43056b(0x152)],'aria-hidden':!0x0}}),this[_0x43056b(0x17a)](_0x344b6e,_0x43056b(0x163),()=>this[_0x43056b(0x13d)]()),this[_0x43056b(0x187)](this[_0x43056b(0x1aa)]());}[_0x305f6b(0x1aa)](){const _0xfbd4a8=_0x305f6b,_0x401654=this[_0xfbd4a8(0x177)],_0x429e8d=[{'tag':_0xfbd4a8(0x15a),'attributes':{'class':[_0xfbd4a8(0x15b),_0xfbd4a8(0x183)]},'children':[{'tag':_0xfbd4a8(0x18d),'children':[{'text':this[_0xfbd4a8(0x154)][_0xfbd4a8(0x140)]}],'attributes':{'class':[_0xfbd4a8(0x148),_0xfbd4a8(0x1a3)],'data-cke-tooltip-text':this[_0xfbd4a8(0x154)][_0xfbd4a8(0x140)]}},{'tag':_0xfbd4a8(0x13e),'attributes':{'datetime':_0x401654['to'](_0xfbd4a8(0x164)),'class':[_0xfbd4a8(0x190),_0xfbd4a8(0x144)]},'children':[{'text':_0x401654['to'](_0xfbd4a8(0x164),_0x55d4f5=>this[_0xfbd4a8(0x1a5)][_0xfbd4a8(0x160)](_0x55d4f5))}]}]},{'tag':_0xfbd4a8(0x15a),'attributes':{'class':[_0xfbd4a8(0x184),_0xfbd4a8(0x16d),_0x401654['if'](_0xfbd4a8(0x1a2),_0xfbd4a8(0x169)),_0x401654['if'](_0xfbd4a8(0x1a2),_0xfbd4a8(0x142))]},'children':this[_0xfbd4a8(0x161)]},{'tag':_0xfbd4a8(0x15a),'attributes':{'class':[_0xfbd4a8(0x14e)]},'children':this[_0xfbd4a8(0x199)]},this[_0xfbd4a8(0x1a0)]];return this[_0xfbd4a8(0x18c)][_0xfbd4a8(0x185)]&&_0x429e8d[_0xfbd4a8(0x196)]({'tag':_0xfbd4a8(0x15a),'attributes':{'class':[_0xfbd4a8(0x1ab)]},'children':[{'text':this[_0xfbd4a8(0x178)]()}]}),{'tag':'li','attributes':{'class':[_0xfbd4a8(0x157)],'tabindex':-0x1,'aria-label':_0x401654['to'](_0xfbd4a8(0x18f)),'aria-describedby':this[_0xfbd4a8(0x1a0)]['id'],'role':_0xfbd4a8(0x17f)},'children':[{'tag':_0xfbd4a8(0x15a),'attributes':{'class':[_0xfbd4a8(0x143),_0xfbd4a8(0x182),_0x401654['if'](_0xfbd4a8(0x1a2),_0xfbd4a8(0x195)),_0x401654['if'](_0xfbd4a8(0x17e),_0xfbd4a8(0x179)),_0x401654['to'](_0xfbd4a8(0x19f),_0x49116c=>_0x49116c?_0xfbd4a8(0x1a9)+_0x49116c:'')],'data-author-id':this[_0xfbd4a8(0x18c)][_0xfbd4a8(0x166)]['id'],'data-comment-id':this[_0xfbd4a8(0x18c)]['id'],'role':_0xfbd4a8(0x1b1)},'children':[this[_0xfbd4a8(0x154)],{'tag':_0xfbd4a8(0x15a),'attributes':{'class':[_0xfbd4a8(0x15c),_0xfbd4a8(0x17d)]},'children':_0x429e8d}]}]};}[_0x305f6b(0x145)](){const _0x4d8f85=_0x305f6b,_0x53cece=new _0x4c3738(this[_0x4d8f85(0x18b)]);return _0x53cece[_0x4d8f85(0x189)]=_0x65ca3(this[_0x4d8f85(0x18b)],_0x4d8f85(0x146)),_0x53cece[_0x4d8f85(0x153)]=_0x528ec0,_0x53cece[_0x4d8f85(0x1a8)]=!0x0,_0x53cece[_0x4d8f85(0x194)]({'attributes':{'class':_0x4d8f85(0x195)}}),_0x53cece[_0x4d8f85(0x13b)](_0x4d8f85(0x14d))['to'](this[_0x4d8f85(0x18c)],_0x4d8f85(0x14c),_0x1846a6=>!_0x1846a6),_0x53cece[_0x4d8f85(0x13b)](_0x4d8f85(0x17c))['to'](this[_0x4d8f85(0x18c)],_0x4d8f85(0x16a)),_0x53cece['on'](_0x4d8f85(0x19c),()=>this[_0x4d8f85(0x1a6)]()),_0x53cece;}[_0x305f6b(0x19b)](){const _0x172e0d=_0x305f6b,_0x1092b6=new _0x4c3738(this[_0x172e0d(0x18b)]);return _0x1092b6[_0x172e0d(0x189)]=_0x65ca3(this[_0x172e0d(0x18b)],_0x172e0d(0x16f)),_0x1092b6[_0x172e0d(0x153)]=_0x466ede,_0x1092b6[_0x172e0d(0x1a8)]=!0x0,_0x1092b6[_0x172e0d(0x194)]({'attributes':{'class':_0x172e0d(0x151)}}),_0x1092b6[_0x172e0d(0x13b)](_0x172e0d(0x14d))['to'](this[_0x172e0d(0x18c)],_0x172e0d(0x14c),_0x2dcab1=>!_0x2dcab1),_0x1092b6[_0x172e0d(0x13b)](_0x172e0d(0x17c))['to'](this[_0x172e0d(0x18c)],_0x172e0d(0x171)),_0x1092b6['on'](_0x172e0d(0x19c),()=>{const _0x22b207=_0x172e0d;this[_0x22b207(0x1af)](_0x65ca3(this[_0x22b207(0x18b)],_0x22b207(0x15d)),this[_0x22b207(0x18a)])[_0x22b207(0x1ae)](()=>{const _0x27ef86=_0x22b207;this[_0x27ef86(0x180)](_0x27ef86(0x15f),this[_0x27ef86(0x18c)]['id']);});}),_0x1092b6;}[_0x305f6b(0x16c)](){const _0x3d09a4=_0x305f6b,_0x14e0b5=_0xfc019f(this[_0x3d09a4(0x18b)],_0x1d8d9e),_0x19dcf4=_0x14e0b5[_0x3d09a4(0x14a)][_0x3d09a4(0x162)],_0x569110=new _0x43127f(this[_0x3d09a4(0x18b)]),_0x1f6df8=_0x14e0b5[_0x3d09a4(0x177)];_0x38e4f5(_0x14e0b5,()=>this[_0x3d09a4(0x18e)][_0x3d09a4(0x14f)](_0x275f80=>_0x275f80[_0x3d09a4(0x17c)])),_0x14e0b5[_0x3d09a4(0x194)]({'attributes':{'class':[_0x1f6df8['if'](_0x3d09a4(0x17c),_0x3d09a4(0x165),_0x2e7465=>!_0x2e7465)]}});const _0x328118=(_0x5bb039,_0x1309fe=-0x1)=>{const _0x2803a8=_0x3d09a4,_0x21acce=new _0x5f4a2d(this[_0x2803a8(0x18b)]);_0x21acce[_0x2803a8(0x162)][_0x2803a8(0x173)](_0x5bb039);const _0x3589d0=_0x1309fe>-0x1?_0x1309fe:_0x569110[_0x2803a8(0x18e)][_0x2803a8(0x1b0)];_0x569110[_0x2803a8(0x18e)][_0x2803a8(0x173)](_0x21acce,_0x3589d0);const _0x25d216=Array[_0x2803a8(0x19e)](this[_0x2803a8(0x18e)]);_0x14e0b5[_0x2803a8(0x176)](_0x2803a8(0x14d),_0x2803a8(0x17c)),_0x14e0b5[_0x2803a8(0x13b)](_0x2803a8(0x14d))[_0x2803a8(0x188)](_0x25d216,_0x2803a8(0x14d),(..._0x7a889a)=>_0x7a889a[_0x2803a8(0x170)](_0x4e835a=>_0x4e835a)),_0x14e0b5[_0x2803a8(0x13b)](_0x2803a8(0x17c))[_0x2803a8(0x188)](_0x25d216,_0x2803a8(0x17c),(..._0x250a3c)=>_0x250a3c[_0x2803a8(0x170)](_0x49fa2c=>_0x49fa2c));};_0x14e0b5[_0x3d09a4(0x15e)]='sw',_0x14e0b5[_0x3d09a4(0x141)][_0x3d09a4(0x17b)]({'label':_0x65ca3(this[_0x3d09a4(0x18b)],_0x3d09a4(0x191)),'icon':_0x2b8da9});for(const _0x10b658 of this[_0x3d09a4(0x18e)])_0x328118(_0x10b658);return _0x19dcf4[_0x3d09a4(0x173)](_0x569110),_0x14e0b5[_0x3d09a4(0x17a)](this[_0x3d09a4(0x18e)],_0x3d09a4(0x173),(_0x95d170,_0x36a908,_0x1cd50e)=>{_0x328118(_0x36a908,_0x1cd50e);}),_0x14e0b5[_0x3d09a4(0x17a)](this[_0x3d09a4(0x18e)],_0x3d09a4(0x155),(_0x30a554,_0x59c6ab,_0x474289)=>{const _0x59bbe1=_0x3d09a4;_0x569110[_0x59bbe1(0x18e)][_0x59bbe1(0x155)](_0x474289);}),_0x14e0b5;}[_0x305f6b(0x197)](_0x43f70f,_0x2b9352){const _0x3b5f27=_0x305f6b,_0x31d1b9=_0x43f70f&&_0x43f70f[_0x3b5f27(0x18a)];_0x31d1b9&&(this[_0x3b5f27(0x17a)](_0x31d1b9,_0x3b5f27(0x175),()=>this[_0x3b5f27(0x19f)]=_0x2b9352),this[_0x3b5f27(0x17a)](_0x31d1b9,_0x3b5f27(0x172),()=>this[_0x3b5f27(0x19f)]=_0x2b9352),this[_0x3b5f27(0x17a)](_0x31d1b9,_0x3b5f27(0x147),()=>this[_0x3b5f27(0x19f)]=null),this[_0x3b5f27(0x17a)](_0x31d1b9,_0x3b5f27(0x198),()=>this[_0x3b5f27(0x19f)]=null));}[_0x305f6b(0x156)](){const _0x58944b=_0x305f6b,_0x55cf9d=super[_0x58944b(0x156)]();return _0x55cf9d[_0x58944b(0x13b)](_0x58944b(0x13f))['to'](this),_0x55cf9d;}[_0x305f6b(0x149)](){const _0x57a3bc=_0x305f6b;super[_0x57a3bc(0x149)](),this[_0x57a3bc(0x197)](this[_0x57a3bc(0x159)],_0x57a3bc(0x193)),this[_0x57a3bc(0x197)](this[_0x57a3bc(0x14b)],_0x57a3bc(0x155));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x95191b=_0x4c34;(function(_0x14ac94,_0x11ef25){var _0x2f8b11=_0x4c34,_0x69b2d2=_0x14ac94();while(!![]){try{var _0x477086=-parseInt(_0x2f8b11(0x142))/0x1+parseInt(_0x2f8b11(0x144))/0x2+parseInt(_0x2f8b11(0x145))/0x3*(parseInt(_0x2f8b11(0x147))/0x4)+-parseInt(_0x2f8b11(0x148))/0x5*(-parseInt(_0x2f8b11(0x14c))/0x6)+-parseInt(_0x2f8b11(0x14a))/0x7*(parseInt(_0x2f8b11(0x146))/0x8)+-parseInt(_0x2f8b11(0x14b))/0x9*(parseInt(_0x2f8b11(0x141))/0xa)+parseInt(_0x2f8b11(0x149))/0xb*(parseInt(_0x2f8b11(0x13f))/0xc);if(_0x477086===_0x11ef25)break;else _0x69b2d2['push'](_0x69b2d2['shift']());}catch(_0x465353){_0x69b2d2['push'](_0x69b2d2['shift']());}}}(_0x3986,0x68f89));import{Plugin as _0x569a97}from'ckeditor5/src/core.js';import{CommentsRepository as _0x1c2bfa}from'./comments/commentsrepository.js';import{CommentsEditing as _0x35d30c}from'./comments/commentsediting.js';import{CommentsUI as _0x651774}from'./comments/commentsui.js';import{CommentsOnly as _0x354cc6}from'./commentsonly.js';function _0x4c34(_0x2ef275,_0x11a396){var _0x398633=_0x3986();return _0x4c34=function(_0x4c3469,_0x27122c){_0x4c3469=_0x4c3469-0x13f;var _0xa044b9=_0x398633[_0x4c3469];return _0xa044b9;},_0x4c34(_0x2ef275,_0x11a396);}import{WideSidebar as _0x2c6df2}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x27b152}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x23d91e}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x22c109}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x234c3b}from'./comments/commentsarchive.js';function _0x3986(){var _0x3ed27c=['3734381XwCJOk','276732SpUtEJ','589926wixQtJ','isOfficialPlugin','Comments','requires','12idcyEt','pluginName','150oPasgE','239395YlTbID','isPremiumPlugin','877186ZHiumq','102fMdXUz','8BqSDwW','38656kYmtUu','35wJUvlB','2295073YslytX'];_0x3986=function(){return _0x3ed27c;};return _0x3986();}export class Comments extends _0x569a97{static get[_0x95191b(0x14f)](){return[_0x1c2bfa,_0x35d30c,_0x651774,_0x234c3b,_0x22c109,_0x354cc6,_0x2c6df2,_0x27b152,_0x23d91e];}static get[_0x95191b(0x140)](){var _0x5810b0=_0x95191b;return _0x5810b0(0x14e);}static get[_0x95191b(0x14d)](){return!0x0;}static get[_0x95191b(0x143)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x509599=_0xdfac;(function(_0x5237a9,_0x5eb202){const _0x52f868=_0xdfac,_0x490ccb=_0x5237a9();while(!![]){try{const _0x2746f4=parseInt(_0x52f868(0x120))/0x1*(-parseInt(_0x52f868(0x123))/0x2)+-parseInt(_0x52f868(0x11a))/0x3+parseInt(_0x52f868(0x115))/0x4*(parseInt(_0x52f868(0x10e))/0x5)+parseInt(_0x52f868(0x114))/0x6+parseInt(_0x52f868(0x111))/0x7+parseInt(_0x52f868(0x10d))/0x8+-parseInt(_0x52f868(0x12a))/0x9;if(_0x2746f4===_0x5eb202)break;else _0x490ccb['push'](_0x490ccb['shift']());}catch(_0x22472d){_0x490ccb['push'](_0x490ccb['shift']());}}}(_0x53f7,0x2fde2));import{Plugin as _0x1a8faf}from'ckeditor5/src/core.js';import{CommentsEditing as _0x5a1505}from'./comments/commentsediting.js';export class CommentsOnly extends _0x1a8faf{static get[_0x509599(0x10f)](){const _0xbc5d96=_0x509599;return _0xbc5d96(0x129);}static get[_0x509599(0x113)](){return!0x0;}static get[_0x509599(0x11f)](){return!0x0;}static get[_0x509599(0x108)](){return[_0x5a1505];}constructor(_0x497e1d){const _0x12441c=_0x509599;super(_0x497e1d),this[_0x12441c(0x10a)](_0x12441c(0x12b),!0x1),this['on'](_0x12441c(0x128),(_0x496382,_0x382f95,_0x22a0e7)=>{const _0x992ec7=_0x12441c;_0x22a0e7?this[_0x992ec7(0x10b)]():this[_0x992ec7(0x107)]();});}[_0x509599(0x121)](){const _0x2f52cd=_0x509599;!this[_0x2f52cd(0x12b)]&&this[_0x2f52cd(0x126)][_0x2f52cd(0x110)][_0x2f52cd(0x11d)](_0x2f52cd(0x131))&&(this[_0x2f52cd(0x12b)]=!0x0);}[_0x509599(0x10b)](){const _0x34b7f5=_0x509599;for(const [_0x4a8cf6,_0x18e9dd]of this[_0x34b7f5(0x126)][_0x34b7f5(0x112)])_0x18e9dd[_0x34b7f5(0x11b)]&&_0x34b7f5(0x12f)!==_0x4a8cf6&&_0x18e9dd[_0x34b7f5(0x124)](_0x34b7f5(0x132));(this[_0x34b7f5(0x126)][_0x34b7f5(0x11e)][_0x34b7f5(0x12e)](_0x34b7f5(0x119))&&this[_0x34b7f5(0x126)][_0x34b7f5(0x11e)][_0x34b7f5(0x11d)](_0x34b7f5(0x119))[_0x34b7f5(0x124)](_0x34b7f5(0x132)),this[_0x34b7f5(0x126)][_0x34b7f5(0x11e)][_0x34b7f5(0x12e)](_0x34b7f5(0x133)))&&this[_0x34b7f5(0x126)][_0x34b7f5(0x11e)][_0x34b7f5(0x11d)](_0x34b7f5(0x133))[_0x34b7f5(0x124)](_0x34b7f5(0x132));this[_0x34b7f5(0x126)][_0x34b7f5(0x11e)][_0x34b7f5(0x12e)](_0x34b7f5(0x125))&&this[_0x34b7f5(0x126)][_0x34b7f5(0x11e)][_0x34b7f5(0x11d)](_0x34b7f5(0x125))[_0x34b7f5(0x124)](_0x34b7f5(0x132));this[_0x34b7f5(0x126)][_0x34b7f5(0x112)][_0x34b7f5(0x11d)](_0x34b7f5(0x11c))?.[_0x34b7f5(0x124)](_0x34b7f5(0x132));const _0x1d98bf=this[_0x34b7f5(0x126)][_0x34b7f5(0x116)][_0x34b7f5(0x109)][_0x34b7f5(0x12d)];this[_0x34b7f5(0x130)](_0x1d98bf,_0x34b7f5(0x117),_0x49f575=>_0x49f575[_0x34b7f5(0x12c)](),{'priority':_0x34b7f5(0x10c)}),this[_0x34b7f5(0x130)](_0x1d98bf,_0x34b7f5(0x118),_0x4fe6b2=>_0x4fe6b2[_0x34b7f5(0x12c)](),{'priority':_0x34b7f5(0x10c)}),this[_0x34b7f5(0x130)](_0x1d98bf,_0x34b7f5(0x122),_0x382da2=>_0x382da2[_0x34b7f5(0x12c)](),{'priority':_0x34b7f5(0x10c)});}[_0x509599(0x107)](){const _0x470623=_0x509599;for(const [_0x4e67c6,_0x416467]of this[_0x470623(0x126)][_0x470623(0x112)])_0x416467[_0x470623(0x11b)]&&_0x470623(0x12f)!==_0x4e67c6&&_0x416467[_0x470623(0x127)](_0x470623(0x132));this[_0x470623(0x126)][_0x470623(0x11e)][_0x470623(0x12e)](_0x470623(0x133))&&this[_0x470623(0x126)][_0x470623(0x11e)][_0x470623(0x11d)](_0x470623(0x133))[_0x470623(0x127)](_0x470623(0x132)),this[_0x470623(0x126)][_0x470623(0x11e)][_0x470623(0x12e)](_0x470623(0x125))&&this[_0x470623(0x126)][_0x470623(0x11e)][_0x470623(0x11d)](_0x470623(0x125))[_0x470623(0x127)](_0x470623(0x132)),this[_0x470623(0x126)][_0x470623(0x112)][_0x470623(0x11d)](_0x470623(0x11c))?.[_0x470623(0x127)](_0x470623(0x132)),this[_0x470623(0x134)](this[_0x470623(0x126)][_0x470623(0x116)][_0x470623(0x109)][_0x470623(0x12d)]);}}function _0xdfac(_0x5d2e40,_0x5e2075){const _0x53f790=_0x53f7();return _0xdfac=function(_0xdfacab,_0x2f160a){_0xdfacab=_0xdfacab-0x107;let _0x5e3ad4=_0x53f790[_0xdfacab];return _0x5e3ad4;},_0xdfac(_0x5d2e40,_0x5e2075);}function _0x53f7(){const _0x1d632b=['2406608VEqYru','315rYuYhh','pluginName','config','655060LrexFT','commands','isOfficialPlugin','2023296rSoqXu','3192wkeoom','editing','cut','clipboardInput','DragDrop','421206olMYrq','affectsData','editSource','get','plugins','isPremiumPlugin','11jICeZu','afterInit','delete','33122iccypd','forceDisabled','SourceEditing','editor','clearForceDisabled','change:isEnabled','CommentsOnly','2369313ulbnSE','isEnabled','stop','document','has','addCommentThread','listenTo','commentsOnly','commentsOnlyMode','RevisionTracker','stopListening','_disableCommentsOnlyMode','requires','view','set','_enableCommentsOnlyMode','highest'];_0x53f7=function(){return _0x1d632b;};return _0x53f7();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xf49bea,_0x25ca92){var _0x33cabe=_0x2c14,_0x11db52=_0xf49bea();while(!![]){try{var _0x8d4396=-parseInt(_0x33cabe(0x70))/0x1*(parseInt(_0x33cabe(0x6c))/0x2)+-parseInt(_0x33cabe(0x65))/0x3*(parseInt(_0x33cabe(0x67))/0x4)+parseInt(_0x33cabe(0x68))/0x5*(parseInt(_0x33cabe(0x6b))/0x6)+parseInt(_0x33cabe(0x72))/0x7*(parseInt(_0x33cabe(0x71))/0x8)+-parseInt(_0x33cabe(0x6f))/0x9*(parseInt(_0x33cabe(0x6d))/0xa)+-parseInt(_0x33cabe(0x6a))/0xb*(-parseInt(_0x33cabe(0x69))/0xc)+-parseInt(_0x33cabe(0x6e))/0xd*(-parseInt(_0x33cabe(0x66))/0xe);if(_0x8d4396===_0x25ca92)break;else _0x11db52['push'](_0x11db52['shift']());}catch(_0x5ccd05){_0x11db52['push'](_0x11db52['shift']());}}}(_0x1b28,0x5e48b));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';function _0x2c14(_0x49523a,_0x5c0c08){var _0x1b28b5=_0x1b28();return _0x2c14=function(_0x2c1406,_0x32e7ad){_0x2c1406=_0x2c1406-0x65;var _0xc3ee4e=_0x1b28b5[_0x2c1406];return _0xc3ee4e;},_0x2c14(_0x49523a,_0x5c0c08);}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';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';function _0x1b28(){var _0xe66131=['6002988vNyqqX','11nxnTLD','596886fvZPeU','2FLthsn','2390joSyOy','106054qnUmLu','14481OgGVrX','556687uuCxdZ','3152mXClKM','1722leACOg','515649GDOTff','1036GPiOva','4XYbMyM','15Atwvyg'];_0x1b28=function(){return _0xe66131;};return _0x1b28();}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(_0x59f1c7,_0x205d2b,_0x5b8cef){const t=_0x59f1c7['t'];switch(_0x205d2b){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'},_0x5b8cef);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'},_0x5b8cef);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'},_0x5b8cef);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'},_0x5b8cef);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x5b8cef);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'},_0x5b8cef);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'},_0x5b8cef);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'},_0x5b8cef);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 _0x1585(){const _0x510f21=['141zwsIdd','14802128dapeTs','80oLtnvr','attributeName','class','2223704QoXtmk','24LSZcvW','161890iORNDj','attributes','childList','1006736yrPhXl','52648NEzayB','244470NHhJzM','4430920jXBobf','observe','type','711uvVrVV','cancel','characterData','disconnect'];_0x1585=function(){return _0x510f21;};return _0x1585();}function _0x5ef8(_0x36505e,_0x2630e7){const _0x158574=_0x1585();return _0x5ef8=function(_0x5ef8af,_0x1b7a97){_0x5ef8af=_0x5ef8af-0x106;let _0x5bb591=_0x158574[_0x5ef8af];return _0x5bb591;},_0x5ef8(_0x36505e,_0x2630e7);}(function(_0x2dda2f,_0x3aa3f9){const _0x29ac25=_0x5ef8,_0x482521=_0x2dda2f();while(!![]){try{const _0x12d54b=-parseInt(_0x29ac25(0x10d))/0x1+parseInt(_0x29ac25(0x10e))/0x2*(parseInt(_0x29ac25(0x117))/0x3)+-parseInt(_0x29ac25(0x110))/0x4+parseInt(_0x29ac25(0x119))/0x5*(parseInt(_0x29ac25(0x10f))/0x6)+-parseInt(_0x29ac25(0x108))/0x7*(-parseInt(_0x29ac25(0x109))/0x8)+parseInt(_0x29ac25(0x113))/0x9*(parseInt(_0x29ac25(0x10a))/0xa)+-parseInt(_0x29ac25(0x118))/0xb;if(_0x12d54b===_0x3aa3f9)break;else _0x482521['push'](_0x482521['shift']());}catch(_0x143607){_0x482521['push'](_0x482521['shift']());}}}(_0x1585,0xa15f5));import{throttle as _0x20bcf9}from'es-toolkit/compat';export function createMutationObserver(_0x4fba46){const _0x31b374=_0x20bcf9(_0x4fba46,0x1e),_0xce992=new MutationObserver(_0x126afb=>{const _0x52d8fa=_0x5ef8;for(const _0x3c7501 of _0x126afb)(_0x52d8fa(0x10b)==_0x3c7501[_0x52d8fa(0x112)]&&_0x52d8fa(0x107)==_0x3c7501[_0x52d8fa(0x106)]||_0x52d8fa(0x10c)==_0x3c7501[_0x52d8fa(0x112)]||_0x52d8fa(0x115)==_0x3c7501[_0x52d8fa(0x112)])&&_0x31b374();});return{'attach'(_0x2d3914){const _0x163c0f=_0x5ef8;_0xce992[_0x163c0f(0x111)](_0x2d3914,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x4ddedd=_0x5ef8;_0xce992[_0x4ddedd(0x116)](),_0x31b374[_0x4ddedd(0x114)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x31df(_0x4ae58f,_0x16e981){const _0x164e3a=_0x164e();return _0x31df=function(_0x31df98,_0x213013){_0x31df98=_0x31df98-0x193;let _0x38c1e2=_0x164e3a[_0x31df98];return _0x38c1e2;},_0x31df(_0x4ae58f,_0x16e981);}(function(_0x52cfbc,_0x3c6aa4){const _0x4f82f0=_0x31df,_0x10bf36=_0x52cfbc();while(!![]){try{const _0x4d02f1=-parseInt(_0x4f82f0(0x196))/0x1+-parseInt(_0x4f82f0(0x197))/0x2+parseInt(_0x4f82f0(0x194))/0x3*(parseInt(_0x4f82f0(0x195))/0x4)+-parseInt(_0x4f82f0(0x19e))/0x5*(-parseInt(_0x4f82f0(0x19c))/0x6)+parseInt(_0x4f82f0(0x198))/0x7*(-parseInt(_0x4f82f0(0x199))/0x8)+-parseInt(_0x4f82f0(0x19a))/0x9+parseInt(_0x4f82f0(0x193))/0xa*(parseInt(_0x4f82f0(0x19b))/0xb);if(_0x4d02f1===_0x3c6aa4)break;else _0x10bf36['push'](_0x10bf36['shift']());}catch(_0xba37dc){_0x10bf36['push'](_0x10bf36['shift']());}}}(_0x164e,0xe709e));export function splitMarkerName(_0x303300){const _0x587157=_0x31df,_0x335082=_0x303300[_0x587157(0x19d)](':');return{'group':_0x335082[0x0],'id':_0x335082[0x1],'part':_0x335082[0x2]};}function _0x164e(){const _0x202732=['split','85gMbDjN','3716910gCkJOq','39291GLLXjB','68kbVmdL','29181HHEZpX','3092124DAynKp','203LOJjYs','163032uHMiQC','4131360TZEoZF','99knljtx','1320nlLgwC'];_0x164e=function(){return _0x202732;};return _0x164e();}
|