@ckeditor/ckeditor5-comments 46.0.1 → 46.0.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1c14f8=_0x2212;(function(_0x41e74a,_0x60251c){const _0x23c68c=_0x2212,_0xedef74=_0x41e74a();while(!![]){try{const _0x3d0589=-parseInt(_0x23c68c(0x1fe))/0x1*(parseInt(_0x23c68c(0x20c))/0x2)+parseInt(_0x23c68c(0x231))/0x3*(-parseInt(_0x23c68c(0x1e2))/0x4)+-parseInt(_0x23c68c(0x20d))/0x5+parseInt(_0x23c68c(0x22c))/0x6*(parseInt(_0x23c68c(0x1ee))/0x7)+parseInt(_0x23c68c(0x224))/0x8*(-parseInt(_0x23c68c(0x205))/0x9)+-parseInt(_0x23c68c(0x209))/0xa+parseInt(_0x23c68c(0x1ec))/0xb*(parseInt(_0x23c68c(0x229))/0xc);if(_0x3d0589===_0x60251c)break;else _0xedef74['push'](_0xedef74['shift']());}catch(_0xe1ee0){_0xedef74['push'](_0xedef74['shift']());}}}(_0x2acc,0xb81d2));import{View as _0x5f2fb5,FocusCycler as _0x22f72a}from'ckeditor5/src/ui.js';import{diff as _0x2c8cbf,Collection as _0x5e5ae6,FocusTracker as _0x1a9c80,KeystrokeHandler as _0x4ee9f3}from'ckeditor5/src/utils.js';import{getTranslation as _0x189ce3}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x5aad58}from'./collapsedcommentsview.js';export class CommentsListView extends _0x5f2fb5{[_0x1c14f8(0x208)];[_0x1c14f8(0x21a)];[_0x1c14f8(0x1ed)];[_0x1c14f8(0x207)];[_0x1c14f8(0x1eb)];[_0x1c14f8(0x225)];[_0x1c14f8(0x1ff)];[_0x1c14f8(0x201)];constructor(_0x3cbb30,_0x4e6bc9,_0x3fdb3c){const _0x5b51ba=_0x1c14f8;super(_0x3cbb30);const _0x523451=this[_0x5b51ba(0x22b)];this[_0x5b51ba(0x1f8)](_0x5b51ba(0x1f7),!0x1),this[_0x5b51ba(0x1f8)](_0x5b51ba(0x236),_0x4e6bc9[_0x5b51ba(0x213)][_0x5b51ba(0x236)]),this[_0x5b51ba(0x1f8)](_0x5b51ba(0x1e7),!0x1),this[_0x5b51ba(0x225)]=_0x4e6bc9,this[_0x5b51ba(0x1ff)]=_0x3fdb3c,this[_0x5b51ba(0x208)]=this[_0x5b51ba(0x232)](),this[_0x5b51ba(0x23b)]=this[_0x5b51ba(0x232)](),this[_0x5b51ba(0x21a)]=null,this[_0x5b51ba(0x1ed)]=new _0x1a9c80(),this[_0x5b51ba(0x207)]=new _0x4ee9f3(),this[_0x5b51ba(0x1eb)]=new _0x22f72a({'focusables':this[_0x5b51ba(0x208)],'focusTracker':this[_0x5b51ba(0x1ed)],'keystrokeHandler':this[_0x5b51ba(0x207)],'keystrokeHandlerOptions':{'filter':_0x209d19=>this[_0x5b51ba(0x208)][_0x5b51ba(0x234)](_0x1f0abd=>_0x1f0abd[_0x5b51ba(0x22e)])[_0x5b51ba(0x1e8)](_0x209d19[_0x5b51ba(0x1fc)])},'actions':{'focusPrevious':_0x5b51ba(0x1e5),'focusNext':_0x5b51ba(0x211)}}),this[_0x5b51ba(0x201)]=new _0x5aad58(_0x3cbb30),this[_0x5b51ba(0x201)][_0x5b51ba(0x1e9)](_0x5b51ba(0x239))['to'](this,_0x5b51ba(0x236),_0x4c37fc=>_0x4c37fc-this[_0x5b51ba(0x1ff)][_0x5b51ba(0x22a)]);for(const _0x2271ba of _0x4e6bc9[_0x5b51ba(0x213)])this[_0x5b51ba(0x1fd)](_0x2271ba);this[_0x5b51ba(0x21d)](),this[_0x5b51ba(0x244)](_0x4e6bc9[_0x5b51ba(0x213)],_0x5b51ba(0x242),(_0x2239fd,_0x28cd4b)=>{const _0xcb692f=_0x5b51ba,_0x2e2b4e=this[_0xcb692f(0x227)](_0x28cd4b);this[_0xcb692f(0x236)]++,this[_0xcb692f(0x1fd)](_0x28cd4b,_0x2e2b4e),this[_0xcb692f(0x219)]();}),this[_0x5b51ba(0x244)](_0x4e6bc9[_0x5b51ba(0x213)],_0x5b51ba(0x1f2),(_0x3e53dc,_0x1863c0)=>{const _0x342728=_0x5b51ba;this[_0x342728(0x236)]--,this[_0x342728(0x210)](_0x1863c0),this[_0x342728(0x219)]();}),this[_0x5b51ba(0x244)](_0x4e6bc9,_0x5b51ba(0x1f3),()=>this[_0x5b51ba(0x219)]()),this[_0x5b51ba(0x244)](_0x4e6bc9,_0x5b51ba(0x220),()=>this[_0x5b51ba(0x21d)]()),this['on'](_0x5b51ba(0x218),()=>this[_0x5b51ba(0x219)]()),this['on'](_0x5b51ba(0x1f4),()=>this[_0x5b51ba(0x219)]()),this[_0x5b51ba(0x216)]({'tag':'ul','attributes':{'class':[_0x5b51ba(0x1e4),_0x523451['if'](_0x5b51ba(0x236),_0x5b51ba(0x1f1),_0xb67b57=>!_0xb67b57)],'aria-label':_0x189ce3(_0x3cbb30,_0x5b51ba(0x1e6))},'children':this[_0x5b51ba(0x23b)]});}get[_0x1c14f8(0x243)](){const _0x1b16df=_0x1c14f8;return this[_0x1b16df(0x225)][_0x1b16df(0x21e)]>this[_0x1b16df(0x1ff)][_0x1b16df(0x223)]&&!this[_0x1b16df(0x1e7)]&&!this[_0x1b16df(0x1f7)];}[_0x1c14f8(0x214)](){const _0x27afa8=_0x1c14f8;super[_0x27afa8(0x214)](),this[_0x27afa8(0x219)](),this[_0x27afa8(0x20e)]();}[_0x1c14f8(0x240)](_0x93bf95){const _0x178e34=_0x1c14f8;-0x1===_0x93bf95?this[_0x178e34(0x1eb)][_0x178e34(0x222)]():this[_0x178e34(0x1eb)][_0x178e34(0x21b)]();}[_0x1c14f8(0x23d)](){const _0x2fdf07=_0x1c14f8;this[_0x2fdf07(0x201)][_0x2fdf07(0x23d)]();for(const _0x4bc8fb of this[_0x2fdf07(0x208)])_0x4bc8fb[_0x2fdf07(0x23d)]();super[_0x2fdf07(0x23d)]();}[_0x1c14f8(0x219)](){const _0x2dfcbe=_0x1c14f8;this[_0x2dfcbe(0x243)]?this[_0x2dfcbe(0x203)]():this[_0x2dfcbe(0x22f)]();}[_0x1c14f8(0x1fd)](_0x36423b,_0x274727){const _0x442c14=_0x1c14f8,_0x4baa69=new this[(_0x442c14(0x1ff))][(_0x442c14(0x23f))](this[_0x442c14(0x1f9)],_0x36423b,{'maxCommentCharsWhenCollapsed':this[_0x442c14(0x1ff)][_0x442c14(0x206)],'formatDateTime':this[_0x442c14(0x1ff)][_0x442c14(0x1fb)],'editorConfig':this[_0x442c14(0x1ff)][_0x442c14(0x226)]});_0x4baa69[_0x442c14(0x212)]=_0x36423b['id'],_0x4baa69[_0x442c14(0x235)](_0x442c14(0x221))['to'](this),_0x4baa69[_0x442c14(0x235)](_0x442c14(0x1ef))['to'](this),_0x4baa69[_0x442c14(0x235)](_0x442c14(0x1f0))['to'](this),_0x4baa69[_0x442c14(0x235)](_0x442c14(0x204))['to'](this),_0x4baa69[_0x442c14(0x235)](_0x442c14(0x22d))['to'](this),this[_0x442c14(0x244)](_0x4baa69,_0x442c14(0x233),()=>this[_0x442c14(0x1f5)]()),this[_0x442c14(0x208)][_0x442c14(0x242)](_0x4baa69,_0x274727);}[_0x1c14f8(0x227)](_0x494b55){const _0x542a9d=_0x1c14f8,_0x57f2a6=this[_0x542a9d(0x225)][_0x542a9d(0x21c)](_0x494b55);return this[_0x542a9d(0x21a)]?this[_0x542a9d(0x21a)][_0x542a9d(0x1e3)]>_0x494b55[_0x542a9d(0x1e3)]?_0x57f2a6-0x1:_0x57f2a6:_0x57f2a6-0x1;}[_0x1c14f8(0x21d)](){const _0xff807f=_0x1c14f8;if(this[_0xff807f(0x225)][_0xff807f(0x20b)]&&this[_0xff807f(0x225)][_0xff807f(0x1f6)]){const _0x103679={'id':_0xff807f(0x238),'author':this[_0xff807f(0x225)][_0xff807f(0x20b)],'authoredAt':this[_0xff807f(0x225)][_0xff807f(0x1f6)],'content':_0x189ce3(this[_0xff807f(0x1f9)],_0xff807f(0x241)),'attributes':{}};this[_0xff807f(0x21a)]=new this[(_0xff807f(0x1ff))][(_0xff807f(0x23f))](this[_0xff807f(0x1f9)],_0x103679,{'maxCommentCharsWhenCollapsed':this[_0xff807f(0x1ff)][_0xff807f(0x206)],'formatDateTime':this[_0xff807f(0x1ff)][_0xff807f(0x1fb)],'editorConfig':this[_0xff807f(0x1ff)][_0xff807f(0x226)],'isSystemComment':!0x0}),this[_0xff807f(0x208)][_0xff807f(0x242)](this[_0xff807f(0x21a)],this[_0xff807f(0x225)][_0xff807f(0x21c)](_0x103679));}else this[_0xff807f(0x21a)]&&(this[_0xff807f(0x208)][_0xff807f(0x1f2)](this[_0xff807f(0x21a)]),this[_0xff807f(0x21a)][_0xff807f(0x23d)](),this[_0xff807f(0x21a)]=null);this[_0xff807f(0x219)]();}[_0x1c14f8(0x210)](_0x41bbd5){const _0x1e91f=_0x1c14f8,_0x252784=this[_0x1e91f(0x208)][_0x1e91f(0x1f2)](_0x41bbd5['id']);this[_0x1e91f(0x21f)](_0x252784),_0x252784[_0x1e91f(0x237)]&&this[_0x1e91f(0x1f5)](),_0x252784[_0x1e91f(0x23d)]();}[_0x1c14f8(0x1f5)](){const _0x3b0899=_0x1c14f8;this[_0x3b0899(0x1f7)]=Array[_0x3b0899(0x23a)](this[_0x3b0899(0x208)])[_0x3b0899(0x228)](_0x1fb101=>_0x1fb101[_0x3b0899(0x237)]);}[_0x1c14f8(0x203)](){const _0x82e325=_0x1c14f8,_0x352307=function(_0x3436f8){const _0x36f9f3=_0x2212,_0x590e3c=new _0x5e5ae6();for(const _0x143f74 of _0x3436f8)_0x590e3c[_0x36f9f3(0x242)](_0x143f74);return _0x590e3c;}(this[_0x82e325(0x208)]),_0x1038f6=this[_0x82e325(0x201)][_0x82e325(0x239)];for(let _0x7fca00=0x1;_0x7fca00<=_0x1038f6;_0x7fca00++)_0x352307[_0x82e325(0x1f2)](0x1);for(const _0x3d39c3 of _0x352307)_0x3d39c3[_0x82e325(0x230)]();_0x1038f6>0x0&&_0x352307[_0x82e325(0x242)](this[_0x82e325(0x201)],0x1),ns(_0x2c8cbf(Array[_0x82e325(0x23a)](this[_0x82e325(0x23b)]),Array[_0x82e325(0x23a)](_0x352307)),this[_0x82e325(0x23b)],_0x352307);}[_0x1c14f8(0x22f)](){const _0x3e0bf2=_0x1c14f8;ns(_0x2c8cbf(Array[_0x3e0bf2(0x23a)](this[_0x3e0bf2(0x23b)]),Array[_0x3e0bf2(0x23a)](this[_0x3e0bf2(0x208)])),this[_0x3e0bf2(0x23b)],this[_0x3e0bf2(0x208)]);for(const _0xae7735 of this[_0x3e0bf2(0x23b)])_0xae7735[_0x3e0bf2(0x215)]();}[_0x1c14f8(0x20e)](){const _0xaf0b74=_0x1c14f8;this[_0xaf0b74(0x208)][_0xaf0b74(0x202)](_0x3790a1=>{const _0x3b1803=_0xaf0b74;this[_0x3b1803(0x1ed)][_0x3b1803(0x242)](_0x3790a1[_0x3b1803(0x22e)]),this[_0x3b1803(0x207)][_0x3b1803(0x244)](_0x3790a1[_0x3b1803(0x22e)]);}),this[_0xaf0b74(0x208)]['on'](_0xaf0b74(0x1ea),(_0x56ed3e,_0x4e4c9a)=>{const _0x3b1483=_0xaf0b74;for(const _0x281206 of _0x4e4c9a[_0x3b1483(0x20f)])this[_0x3b1483(0x1ed)][_0x3b1483(0x1f2)](_0x281206[_0x3b1483(0x22e)]),this[_0x3b1483(0x207)][_0x3b1483(0x21f)](_0x281206[_0x3b1483(0x22e)]);for(const _0x20dd41 of Array[_0x3b1483(0x23a)](_0x4e4c9a[_0x3b1483(0x217)])[_0x3b1483(0x20a)]())this[_0x3b1483(0x1ed)][_0x3b1483(0x242)](_0x20dd41[_0x3b1483(0x22e)]),this[_0x3b1483(0x207)][_0x3b1483(0x244)](_0x20dd41[_0x3b1483(0x22e)]);});}}function ns(_0x21b8ff,_0x8ff47e,_0x584e5c){const _0x502989=_0x1c14f8;let _0x42f796=0x0;for(const _0x5cf3b9 of _0x21b8ff)switch(_0x5cf3b9){case _0x502989(0x23e):_0x8ff47e[_0x502989(0x242)](_0x584e5c[_0x502989(0x200)](_0x42f796),_0x42f796),_0x42f796++;break;case _0x502989(0x23c):_0x8ff47e[_0x502989(0x1f2)](_0x42f796);break;case _0x502989(0x1fa):_0x42f796++;}}function _0x2212(_0x3a3f7,_0xc53b56){const _0x2accbc=_0x2acc();return _0x2212=function(_0x221209,_0x48a34f){_0x221209=_0x221209-0x1e2;let _0x57a7c1=_0x2accbc[_0x221209];return _0x57a7c1;},_0x2212(_0x3a3f7,_0xc53b56);}function _0x2acc(){const _0x40f28d=['focusTracker','756623azNywL','updateComment','resolveCommentThread','ck-hidden','remove','commentUpdated','change:hasDirtyComment','_updateHasDirtyComment','resolvedAt','hasDirtyComment','set','locale','equal','formatDateTime','target','_handleNewCommentModel','117766orvPcV','_config','get','_collapsedCommentsView','forEach','_rearrangeCollapse','editorReady','5677569fUUlbR','maxCommentCharsWhenCollapsed','keystrokes','commentViews','14896960BwJySz','reverse','resolvedBy','8WGkVxt','1177835GRbylG','_setupKeyboardNavigation','removed','_handleRemoveCommentModel','arrowdown','viewUid','comments','render','expand','setTemplate','added','change:isActive','refreshVisibleViews','resolvedCommentView','focusFirst','_findOptimalIndex','_handleInfoComment','weight','stopListening','change:isResolved','removeComment','focusLast','maxThreadTotalWeight','8ZFmzcg','_model','editorConfig','_calculatePosition','some','465756zpWMZm','maxCommentsWhenCollapsed','bindTemplate','6HLHlIR','editorDestroyed','element','_rearrangeExpand','collapse','6627lSWOri','createCollection','change:isEditMode','map','delegate','length','isEditMode','resolved','count','from','visibleViews','delete','destroy','insert','CommentView','focus','Marked\x20as\x20resolved','add','_shouldCollapse','listenTo','2496gwFIjq','authoredAt','ck-thread__comments','arrowup','Thread\x20comments','isActive','includes','bind','change','focusCycler','1375xjcDjB'];_0x2acc=function(){return _0x40f28d;};return _0x2acc();}
|
|
23
|
+
const _0x55c255=_0x249f;function _0x249f(_0x49696f,_0x110398){const _0x4144a8=_0x4144();return _0x249f=function(_0x249fbd,_0x4add3b){_0x249fbd=_0x249fbd-0x80;let _0x2bcd97=_0x4144a8[_0x249fbd];return _0x2bcd97;},_0x249f(_0x49696f,_0x110398);}(function(_0x2cd9fc,_0x2529f9){const _0x25ce1f=_0x249f,_0x186ea5=_0x2cd9fc();while(!![]){try{const _0x1f91c9=-parseInt(_0x25ce1f(0xb3))/0x1+-parseInt(_0x25ce1f(0x82))/0x2*(-parseInt(_0x25ce1f(0xc7))/0x3)+parseInt(_0x25ce1f(0xc4))/0x4*(-parseInt(_0x25ce1f(0x87))/0x5)+parseInt(_0x25ce1f(0x8c))/0x6*(parseInt(_0x25ce1f(0xd2))/0x7)+-parseInt(_0x25ce1f(0x94))/0x8+-parseInt(_0x25ce1f(0x8b))/0x9*(-parseInt(_0x25ce1f(0x91))/0xa)+-parseInt(_0x25ce1f(0xb5))/0xb;if(_0x1f91c9===_0x2529f9)break;else _0x186ea5['push'](_0x186ea5['shift']());}catch(_0x16f2b1){_0x186ea5['push'](_0x186ea5['shift']());}}}(_0x4144,0x39e10));import{View as _0x1ebfae,FocusCycler as _0x28eacc}from'ckeditor5/src/ui.js';import{diff as _0x1892de,Collection as _0x589435,FocusTracker as _0x574d6e,KeystrokeHandler as _0xe9a22d}from'ckeditor5/src/utils.js';import{getTranslation as _0x198ae7}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x4146cb}from'./collapsedcommentsview.js';function _0x4144(){const _0x27de0a=['locale','insert','render','reverse','visibleViews','724670cEdGTP','_collapsedCommentsView','_rearrangeExpand','focus','removed','10965uquAEy','Marked\x20as\x20resolved','focusCycler','maxCommentsWhenCollapsed','1152216jzPlqc','39306WikBVb','resolveCommentThread','length','includes','_model','10uHiNqP','maxCommentCharsWhenCollapsed','resolvedAt','2854360bMccJx','authoredAt','hasDirtyComment','updateComment','added','Thread\x20comments','isEditMode','equal','resolvedBy','set','change:isResolved','_config','_rearrangeCollapse','add','removeComment','_updateHasDirtyComment','change:isEditMode','focusLast','change:hasDirtyComment','formatDateTime','bindTemplate','resolvedCommentView','arrowup','refreshVisibleViews','_calculatePosition','collapse','focusTracker','some','expand','focusFirst','maxThreadTotalWeight','61278BJHaXU','commentViews','2654520ZhpUuO','createCollection','change','remove','from','_handleRemoveCommentModel','editorDestroyed','keystrokes','comments','bind','change:isActive','delegate','count','_handleNewCommentModel','target','24dQoWwS','CommentView','editorConfig','3lQjFJI','delete','_findOptimalIndex','_handleInfoComment','ck-thread__comments','ck-hidden','setTemplate','resolved','arrowdown','destroy','element','448kBWgAp','stopListening','editorReady','forEach','listenTo','map','_setupKeyboardNavigation','get','viewUid','_shouldCollapse','commentUpdated','isActive','weight'];_0x4144=function(){return _0x27de0a;};return _0x4144();}export class CommentsListView extends _0x1ebfae{[_0x55c255(0xb4)];[_0x55c255(0xa9)];[_0x55c255(0xae)];[_0x55c255(0xbc)];[_0x55c255(0x89)];[_0x55c255(0x90)];[_0x55c255(0x9f)];[_0x55c255(0x83)];constructor(_0x2f36c7,_0x272358,_0x5a7d73){const _0x24b806=_0x55c255;super(_0x2f36c7);const _0x5e0fae=this[_0x24b806(0xa8)];this[_0x24b806(0x9d)](_0x24b806(0x96),!0x1),this[_0x24b806(0x9d)](_0x24b806(0x8e),_0x272358[_0x24b806(0xbd)][_0x24b806(0x8e)]),this[_0x24b806(0x9d)](_0x24b806(0xdd),!0x1),this[_0x24b806(0x90)]=_0x272358,this[_0x24b806(0x9f)]=_0x5a7d73,this[_0x24b806(0xb4)]=this[_0x24b806(0xb6)](),this[_0x24b806(0x81)]=this[_0x24b806(0xb6)](),this[_0x24b806(0xa9)]=null,this[_0x24b806(0xae)]=new _0x574d6e(),this[_0x24b806(0xbc)]=new _0xe9a22d(),this[_0x24b806(0x89)]=new _0x28eacc({'focusables':this[_0x24b806(0xb4)],'focusTracker':this[_0x24b806(0xae)],'keystrokeHandler':this[_0x24b806(0xbc)],'keystrokeHandlerOptions':{'filter':_0x1c9c35=>this[_0x24b806(0xb4)][_0x24b806(0xd7)](_0x23a7b7=>_0x23a7b7[_0x24b806(0xd1)])[_0x24b806(0x8f)](_0x1c9c35[_0x24b806(0xc3)])},'actions':{'focusPrevious':_0x24b806(0xaa),'focusNext':_0x24b806(0xcf)}}),this[_0x24b806(0x83)]=new _0x4146cb(_0x2f36c7),this[_0x24b806(0x83)][_0x24b806(0xbe)](_0x24b806(0xc1))['to'](this,_0x24b806(0x8e),_0x1a6968=>_0x1a6968-this[_0x24b806(0x9f)][_0x24b806(0x8a)]);for(const _0x2d0488 of _0x272358[_0x24b806(0xbd)])this[_0x24b806(0xc2)](_0x2d0488);this[_0x24b806(0xca)](),this[_0x24b806(0xd6)](_0x272358[_0x24b806(0xbd)],_0x24b806(0xa1),(_0x41984a,_0x510ad3)=>{const _0x188d39=_0x24b806,_0x172aa7=this[_0x188d39(0xac)](_0x510ad3);this[_0x188d39(0x8e)]++,this[_0x188d39(0xc2)](_0x510ad3,_0x172aa7),this[_0x188d39(0xab)]();}),this[_0x24b806(0xd6)](_0x272358[_0x24b806(0xbd)],_0x24b806(0xb8),(_0x5c2a46,_0x21d48c)=>{const _0x3d2d07=_0x24b806;this[_0x3d2d07(0x8e)]--,this[_0x3d2d07(0xba)](_0x21d48c),this[_0x3d2d07(0xab)]();}),this[_0x24b806(0xd6)](_0x272358,_0x24b806(0xdc),()=>this[_0x24b806(0xab)]()),this[_0x24b806(0xd6)](_0x272358,_0x24b806(0x9e),()=>this[_0x24b806(0xca)]()),this['on'](_0x24b806(0xbf),()=>this[_0x24b806(0xab)]()),this['on'](_0x24b806(0xa6),()=>this[_0x24b806(0xab)]()),this[_0x24b806(0xcd)]({'tag':'ul','attributes':{'class':[_0x24b806(0xcb),_0x5e0fae['if'](_0x24b806(0x8e),_0x24b806(0xcc),_0x104e6e=>!_0x104e6e)],'aria-label':_0x198ae7(_0x2f36c7,_0x24b806(0x99))},'children':this[_0x24b806(0x81)]});}get[_0x55c255(0xdb)](){const _0x3b0feb=_0x55c255;return this[_0x3b0feb(0x90)][_0x3b0feb(0xde)]>this[_0x3b0feb(0x9f)][_0x3b0feb(0xb2)]&&!this[_0x3b0feb(0xdd)]&&!this[_0x3b0feb(0x96)];}[_0x55c255(0xe1)](){const _0x4f97d4=_0x55c255;super[_0x4f97d4(0xe1)](),this[_0x4f97d4(0xab)](),this[_0x4f97d4(0xd8)]();}[_0x55c255(0x85)](_0xa27c11){const _0xdc42bf=_0x55c255;-0x1===_0xa27c11?this[_0xdc42bf(0x89)][_0xdc42bf(0xa5)]():this[_0xdc42bf(0x89)][_0xdc42bf(0xb1)]();}[_0x55c255(0xd0)](){const _0x154cfa=_0x55c255;this[_0x154cfa(0x83)][_0x154cfa(0xd0)]();for(const _0x385204 of this[_0x154cfa(0xb4)])_0x385204[_0x154cfa(0xd0)]();super[_0x154cfa(0xd0)]();}[_0x55c255(0xab)](){const _0x4236e9=_0x55c255;this[_0x4236e9(0xdb)]?this[_0x4236e9(0xa0)]():this[_0x4236e9(0x84)]();}[_0x55c255(0xc2)](_0xf18b3e,_0x40cad0){const _0x16b579=_0x55c255,_0x1583e6=new this[(_0x16b579(0x9f))][(_0x16b579(0xc5))](this[_0x16b579(0xdf)],_0xf18b3e,{'maxCommentCharsWhenCollapsed':this[_0x16b579(0x9f)][_0x16b579(0x92)],'formatDateTime':this[_0x16b579(0x9f)][_0x16b579(0xa7)],'editorConfig':this[_0x16b579(0x9f)][_0x16b579(0xc6)]});_0x1583e6[_0x16b579(0xda)]=_0xf18b3e['id'],_0x1583e6[_0x16b579(0xc0)](_0x16b579(0xa2))['to'](this),_0x1583e6[_0x16b579(0xc0)](_0x16b579(0x97))['to'](this),_0x1583e6[_0x16b579(0xc0)](_0x16b579(0x8d))['to'](this),_0x1583e6[_0x16b579(0xc0)](_0x16b579(0xd4))['to'](this),_0x1583e6[_0x16b579(0xc0)](_0x16b579(0xbb))['to'](this),this[_0x16b579(0xd6)](_0x1583e6,_0x16b579(0xa4),()=>this[_0x16b579(0xa3)]()),this[_0x16b579(0xb4)][_0x16b579(0xa1)](_0x1583e6,_0x40cad0);}[_0x55c255(0xac)](_0x1311c7){const _0x568a31=_0x55c255,_0x590704=this[_0x568a31(0x90)][_0x568a31(0xc9)](_0x1311c7);return this[_0x568a31(0xa9)]?this[_0x568a31(0xa9)][_0x568a31(0x95)]>_0x1311c7[_0x568a31(0x95)]?_0x590704-0x1:_0x590704:_0x590704-0x1;}[_0x55c255(0xca)](){const _0x4be3d2=_0x55c255;if(this[_0x4be3d2(0x90)][_0x4be3d2(0x9c)]&&this[_0x4be3d2(0x90)][_0x4be3d2(0x93)]){const _0x444a4d={'id':_0x4be3d2(0xce),'author':this[_0x4be3d2(0x90)][_0x4be3d2(0x9c)],'authoredAt':this[_0x4be3d2(0x90)][_0x4be3d2(0x93)],'content':_0x198ae7(this[_0x4be3d2(0xdf)],_0x4be3d2(0x88)),'attributes':{}};this[_0x4be3d2(0xa9)]=new this[(_0x4be3d2(0x9f))][(_0x4be3d2(0xc5))](this[_0x4be3d2(0xdf)],_0x444a4d,{'maxCommentCharsWhenCollapsed':this[_0x4be3d2(0x9f)][_0x4be3d2(0x92)],'formatDateTime':this[_0x4be3d2(0x9f)][_0x4be3d2(0xa7)],'editorConfig':this[_0x4be3d2(0x9f)][_0x4be3d2(0xc6)],'isSystemComment':!0x0}),this[_0x4be3d2(0xb4)][_0x4be3d2(0xa1)](this[_0x4be3d2(0xa9)],this[_0x4be3d2(0x90)][_0x4be3d2(0xc9)](_0x444a4d));}else this[_0x4be3d2(0xa9)]&&(this[_0x4be3d2(0xb4)][_0x4be3d2(0xb8)](this[_0x4be3d2(0xa9)]),this[_0x4be3d2(0xa9)][_0x4be3d2(0xd0)](),this[_0x4be3d2(0xa9)]=null);this[_0x4be3d2(0xab)]();}[_0x55c255(0xba)](_0x3630c8){const _0x46153b=_0x55c255,_0x209a99=this[_0x46153b(0xb4)][_0x46153b(0xb8)](_0x3630c8['id']);this[_0x46153b(0xd3)](_0x209a99),_0x209a99[_0x46153b(0x9a)]&&this[_0x46153b(0xa3)](),_0x209a99[_0x46153b(0xd0)]();}[_0x55c255(0xa3)](){const _0x1e611e=_0x55c255;this[_0x1e611e(0x96)]=Array[_0x1e611e(0xb9)](this[_0x1e611e(0xb4)])[_0x1e611e(0xaf)](_0x376e4e=>_0x376e4e[_0x1e611e(0x9a)]);}[_0x55c255(0xa0)](){const _0x1ac6aa=_0x55c255,_0x4e11b0=function(_0xbecb35){const _0x1791b0=_0x249f,_0x43cf8d=new _0x589435();for(const _0x3804e1 of _0xbecb35)_0x43cf8d[_0x1791b0(0xa1)](_0x3804e1);return _0x43cf8d;}(this[_0x1ac6aa(0xb4)]),_0x2a668b=this[_0x1ac6aa(0x83)][_0x1ac6aa(0xc1)];for(let _0x221529=0x1;_0x221529<=_0x2a668b;_0x221529++)_0x4e11b0[_0x1ac6aa(0xb8)](0x1);for(const _0x2f7f2b of _0x4e11b0)_0x2f7f2b[_0x1ac6aa(0xad)]();_0x2a668b>0x0&&_0x4e11b0[_0x1ac6aa(0xa1)](this[_0x1ac6aa(0x83)],0x1),ns(_0x1892de(Array[_0x1ac6aa(0xb9)](this[_0x1ac6aa(0x81)]),Array[_0x1ac6aa(0xb9)](_0x4e11b0)),this[_0x1ac6aa(0x81)],_0x4e11b0);}[_0x55c255(0x84)](){const _0x4b4927=_0x55c255;ns(_0x1892de(Array[_0x4b4927(0xb9)](this[_0x4b4927(0x81)]),Array[_0x4b4927(0xb9)](this[_0x4b4927(0xb4)])),this[_0x4b4927(0x81)],this[_0x4b4927(0xb4)]);for(const _0xa9f1d1 of this[_0x4b4927(0x81)])_0xa9f1d1[_0x4b4927(0xb0)]();}[_0x55c255(0xd8)](){const _0x368ae1=_0x55c255;this[_0x368ae1(0xb4)][_0x368ae1(0xd5)](_0x292fd=>{const _0x353fd5=_0x368ae1;this[_0x353fd5(0xae)][_0x353fd5(0xa1)](_0x292fd[_0x353fd5(0xd1)]),this[_0x353fd5(0xbc)][_0x353fd5(0xd6)](_0x292fd[_0x353fd5(0xd1)]);}),this[_0x368ae1(0xb4)]['on'](_0x368ae1(0xb7),(_0x46f1bb,_0x2717b2)=>{const _0x5da35c=_0x368ae1;for(const _0x5dc1d5 of _0x2717b2[_0x5da35c(0x86)])this[_0x5da35c(0xae)][_0x5da35c(0xb8)](_0x5dc1d5[_0x5da35c(0xd1)]),this[_0x5da35c(0xbc)][_0x5da35c(0xd3)](_0x5dc1d5[_0x5da35c(0xd1)]);for(const _0x376a5e of Array[_0x5da35c(0xb9)](_0x2717b2[_0x5da35c(0x98)])[_0x5da35c(0x80)]())this[_0x5da35c(0xae)][_0x5da35c(0xa1)](_0x376a5e[_0x5da35c(0xd1)]),this[_0x5da35c(0xbc)][_0x5da35c(0xd6)](_0x376a5e[_0x5da35c(0xd1)]);});}}function ns(_0x3949be,_0x231b52,_0x2dcb1e){const _0x580356=_0x55c255;let _0x3621ef=0x0;for(const _0x40eaa6 of _0x3949be)switch(_0x40eaa6){case _0x580356(0xe0):_0x231b52[_0x580356(0xa1)](_0x2dcb1e[_0x580356(0xd9)](_0x3621ef),_0x3621ef),_0x3621ef++;break;case _0x580356(0xc8):_0x231b52[_0x580356(0xb8)](_0x3621ef);break;case _0x580356(0x9b):_0x3621ef++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb3df9a=_0x4e10;(function(_0x21900f,_0x2bc759){const _0x4d1eaa=_0x4e10,_0xb9ea91=_0x21900f();while(!![]){try{const _0x32641c=-parseInt(_0x4d1eaa(0xc9))/0x1*(parseInt(_0x4d1eaa(0xc1))/0x2)+-parseInt(_0x4d1eaa(0xba))/0x3*(parseInt(_0x4d1eaa(0xbb))/0x4)+-parseInt(_0x4d1eaa(0xca))/0x5*(-parseInt(_0x4d1eaa(0xc8))/0x6)+-parseInt(_0x4d1eaa(0xc3))/0x7*(-parseInt(_0x4d1eaa(0xbf))/0x8)+-parseInt(_0x4d1eaa(0xcc))/0x9+-parseInt(_0x4d1eaa(0xbd))/0xa+parseInt(_0x4d1eaa(0xbe))/0xb;if(_0x32641c===_0x2bc759)break;else _0xb9ea91['push'](_0xb9ea91['shift']());}catch(_0x387fbc){_0xb9ea91['push'](_0xb9ea91['shift']());}}}(_0x4a06,0x8ac0a));import{View as _0x1ba6a0}from'ckeditor5/src/ui.js';function _0x4e10(_0x3b4e3e,_0x3c77b0){const _0x4a06a0=_0x4a06();return _0x4e10=function(_0x4e108f,_0x14efe9){_0x4e108f=_0x4e108f-0xba;let _0x4997d3=_0x4a06a0[_0x4e108f];return _0x4997d3;},_0x4e10(_0x3b4e3e,_0x3c77b0);}function _0x4a06(){const _0x7e4d10=['12LfSuBc','bindTemplate','3391860uBbtzS','2148212HqYEyP','2517384EgoiKz','span','54722RQWfSj','setTemplate','21ADTkWF','ck-context__value','contextValue','element','focus','115314yhPJle','1DhBkbF','135ezUSTH','set','3029580saqAcs','THREAD_CONTEXT_LABEL','386727YWmFtx'];_0x4a06=function(){return _0x7e4d10;};return _0x4a06();}import{getTranslation as _0x32aaa7}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x1ba6a0{constructor(_0x3f81a8){const _0x3e3e36=_0x4e10;super(_0x3f81a8);const _0x4422ca=this[_0x3e3e36(0xbc)];this[_0x3e3e36(0xcb)](_0x3e3e36(0xc5),''),this[_0x3e3e36(0xc2)]({'tag':_0x3e3e36(0xc0),'attributes':{'class':['ck',_0x3e3e36(0xc4)],'aria-label':_0x4422ca['to'](_0x3e3e36(0xc5),_0x235f18=>_0x32aaa7(_0x3f81a8,_0x3e3e36(0xcd),_0x235f18)),'tabindex':-0x1},'children':[{'text':_0x4422ca['to'](_0x3e3e36(0xc5))}]});}[_0xb3df9a(0xc7)](){const _0x49736c=_0xb3df9a;this[_0x49736c(0xc6)][_0x49736c(0xc7)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15d369=_0x51b1;(function(_0x3cb586,_0x908052){const _0x33b65c=_0x51b1,_0x47de48=_0x3cb586();while(!![]){try{const _0xf1f1f2=-parseInt(_0x33b65c(0x10d))/0x1*(parseInt(_0x33b65c(0x11c))/0x2)+parseInt(_0x33b65c(0xfe))/0x3*(-parseInt(_0x33b65c(0x10a))/0x4)+-parseInt(_0x33b65c(0xfb))/0x5+parseInt(_0x33b65c(0x122))/0x6*(-parseInt(_0x33b65c(0xfa))/0x7)+-parseInt(_0x33b65c(0x11b))/0x8*(-parseInt(_0x33b65c(0xf8))/0x9)+parseInt(_0x33b65c(0x134))/0xa*(-parseInt(_0x33b65c(0x110))/0xb)+parseInt(_0x33b65c(0x11e))/0xc;if(_0xf1f1f2===_0x908052)break;else _0x47de48['push'](_0x47de48['shift']());}catch(_0xd31b71){_0x47de48['push'](_0x47de48['shift']());}}}(_0x3b3c,0x4cd2b));import{View as _0xaaae33,ButtonView as _0x48f7ea,FocusCycler as _0x80eeb7}from'ckeditor5/src/ui.js';import{FocusTracker as _0x35dcf3,KeystrokeHandler as _0x73911d}from'ckeditor5/src/utils.js';import{IconUndo as _0x3cf81e}from'ckeditor5/src/icons.js';import{getTranslation as _0x1844ac}from'../../../utils/common-translations.js';function _0x3b3c(){const _0x1e9af8=['overlay','focusTracker','focusCycler','_setupKeyboardNavigation','_createContextView','isReadOnly','200OcfZVJ','743254KbsqNc','mouseenter','24088260rZxRKH','ck-annotation__actions','hasContext','label','4146rkQFkO','focusables','querySelector','ck-context-wrapper','shift+tab','contextView','Reopen','bind','.ck-context__value','offsetWidth','isResolved','length','substring','bindTemplate','focus','ck-context--quotes','isVisible','isEnabled','3490FnAbwv','remove','mouseleave','lastIndexOf','div','_createReopenButton','setTemplate','isResolvable','ck-context','reopenCommentThread','tab','_model','icon','ck-thread__header','217557cgFoHT','context','3577WJvUDd','2632950LMtjko','value','_attachContextActions','9VuzAEy','_trimContextValue','keystrokes','locale','render','Comment\x20was\x20made\x20on\x20an\x20element','...','contextValue','.ck-context','tooltip','reopenButtonView','add','592956UdJRyF','element','createCollection','1MHYQqt','classList','focusFirst','18942JWPlxs','execute','listenTo','scrollWidth','fire'];_0x3b3c=function(){return _0x1e9af8;};return _0x3b3c();}function _0x51b1(_0x2e3ba8,_0x41b9fb){const _0x3b3cf=_0x3b3c();return _0x51b1=function(_0x51b117,_0x234388){_0x51b117=_0x51b117-0xeb;let _0x3a0d6f=_0x3b3cf[_0x51b117];return _0x3a0d6f;},_0x51b1(_0x2e3ba8,_0x41b9fb);}import{CommentThreadHeaderContextView as _0x5811ea}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0xaaae33{[_0x15d369(0xf5)];[_0x15d369(0x108)];[_0x15d369(0x127)];[_0x15d369(0x123)];[_0x15d369(0x116)];[_0x15d369(0x100)];[_0x15d369(0x117)];constructor(_0x36d6d4,_0x1bea78){const _0x3fd241=_0x15d369;super(_0x36d6d4);const _0x30ae75=this[_0x3fd241(0x12f)];this[_0x3fd241(0xf5)]=_0x1bea78,this[_0x3fd241(0x108)]=this[_0x3fd241(0xef)](),this[_0x3fd241(0x127)]=this[_0x3fd241(0x119)](),this[_0x3fd241(0x123)]=this[_0x3fd241(0x10c)]([this[_0x3fd241(0x127)],this[_0x3fd241(0x108)]]),this[_0x3fd241(0x116)]=new _0x35dcf3(),this[_0x3fd241(0x100)]=new _0x73911d(),this[_0x3fd241(0x117)]=new _0x80eeb7({'focusables':this[_0x3fd241(0x123)],'focusTracker':this[_0x3fd241(0x116)],'keystrokeHandler':this[_0x3fd241(0x100)],'actions':{'focusPrevious':_0x3fd241(0x126),'focusNext':_0x3fd241(0xf4)}}),this[_0x3fd241(0x129)](_0x3fd241(0x120))['to'](this[_0x3fd241(0xf5)],_0x3fd241(0xf9),_0x4bf243=>!!_0x4bf243),this[_0x3fd241(0x129)](_0x3fd241(0x105))['to'](this[_0x3fd241(0xf5)],_0x3fd241(0xf9),_0x500abb=>_0x500abb&&_0x500abb[_0x3fd241(0xfc)]?this[_0x3fd241(0xff)](_0x500abb[_0x3fd241(0xfc)]):_0x1844ac(this[_0x3fd241(0x101)],_0x3fd241(0x103))),this[_0x3fd241(0xf0)]({'tag':_0x3fd241(0xee),'attributes':{'class':[_0x3fd241(0xf7)]},'children':[{'tag':_0x3fd241(0xee),'attributes':{'class':[_0x3fd241(0x125)]},'children':[{'tag':_0x3fd241(0xee),'attributes':{'class':[_0x3fd241(0xf2),_0x30ae75['if'](_0x3fd241(0x120),_0x3fd241(0x131))]},'children':[this[_0x3fd241(0x127)]]}]},{'tag':_0x3fd241(0xee),'attributes':{'class':[_0x3fd241(0x11f)]},'children':[this[_0x3fd241(0x108)]]}]});}[_0x15d369(0x102)](){const _0x1066d2=_0x15d369;super[_0x1066d2(0x102)](),this[_0x1066d2(0xfd)](),this[_0x1066d2(0x118)]();}[_0x15d369(0x130)](){const _0x1228d0=_0x15d369;this[_0x1228d0(0x117)][_0x1228d0(0x10f)]();}[_0x15d369(0xef)](){const _0x240be9=_0x15d369,_0x4ce453=new _0x48f7ea(this[_0x240be9(0x101)]);return _0x4ce453[_0x240be9(0x121)]=_0x1844ac(this[_0x240be9(0x101)],_0x240be9(0x128)),_0x4ce453[_0x240be9(0x107)]=_0x1844ac(this[_0x240be9(0x101)],_0x240be9(0x128)),_0x4ce453[_0x240be9(0xf6)]=_0x3cf81e,_0x4ce453[_0x240be9(0x129)](_0x240be9(0x133))['to'](this[_0x240be9(0xf5)],_0x240be9(0x11a),_0x21a028=>!_0x21a028),_0x4ce453[_0x240be9(0x129)](_0x240be9(0x132))['to'](this[_0x240be9(0xf5)],_0x240be9(0xf1),this[_0x240be9(0xf5)],_0x240be9(0x12c),(_0x41fc09,_0x54d097)=>_0x41fc09&&_0x54d097),_0x4ce453['on'](_0x240be9(0x111),()=>{const _0x49277f=_0x240be9;this[_0x49277f(0x114)](_0x49277f(0xf3),this[_0x49277f(0xf5)]['id']);}),_0x4ce453;}[_0x15d369(0xff)](_0x5850cd){const _0x39120c=_0x15d369;if(_0x5850cd[_0x39120c(0x12d)]<0x96)return _0x5850cd;const _0x13a40a=_0x5850cd[_0x39120c(0xed)]('\x20',0x93);return _0x5850cd[_0x39120c(0x12e)](0x0,_0x13a40a>-0x1?_0x13a40a:0x93)+_0x39120c(0x104);}[_0x15d369(0xfd)](){const _0x440117=_0x15d369,_0x2416d9=this[_0x440117(0x10b)][_0x440117(0x124)](_0x440117(0x106)),_0x28b563=_0x2416d9[_0x440117(0x124)](_0x440117(0x12a));this[_0x440117(0x112)](_0x2416d9,_0x440117(0x11d),()=>{const _0x4f3868=_0x440117;_0x28b563[_0x4f3868(0x12b)]<_0x28b563[_0x4f3868(0x113)]&&_0x2416d9[_0x4f3868(0x10e)][_0x4f3868(0x109)](_0x4f3868(0x115));}),this[_0x440117(0x112)](_0x2416d9,_0x440117(0xec),()=>{const _0x529089=_0x440117;_0x2416d9[_0x529089(0x10e)][_0x529089(0xeb)](_0x529089(0x115));});}[_0x15d369(0x118)](){const _0x4cbed0=_0x15d369;this[_0x4cbed0(0x100)][_0x4cbed0(0x112)](this[_0x4cbed0(0x10b)]);for(const _0x1b82ad of this[_0x4cbed0(0x123)])this[_0x4cbed0(0x116)][_0x4cbed0(0x109)](_0x1b82ad[_0x4cbed0(0x10b)]),this[_0x4cbed0(0x100)][_0x4cbed0(0x112)](_0x1b82ad[_0x4cbed0(0x10b)]);}[_0x15d369(0x119)](){const _0x5d3672=_0x15d369,_0x71a0f2=new _0x5811ea(this[_0x5d3672(0x101)]);return _0x71a0f2[_0x5d3672(0x129)](_0x5d3672(0x105))['to'](this),_0x71a0f2;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d183a=_0x3feb;(function(_0x34bc6a,_0x2dd428){const _0x380e11=_0x3feb,_0x5a1ad4=_0x34bc6a();while(!![]){try{const _0x311607=parseInt(_0x380e11(0xb3))/0x1*(-parseInt(_0x380e11(0xb6))/0x2)+parseInt(_0x380e11(0xa0))/0x3*(parseInt(_0x380e11(0xbd))/0x4)+-parseInt(_0x380e11(0xca))/0x5+parseInt(_0x380e11(0xc3))/0x6*(-parseInt(_0x380e11(0xcd))/0x7)+parseInt(_0x380e11(0xbe))/0x8*(-parseInt(_0x380e11(0xcc))/0x9)+-parseInt(_0x380e11(0xc4))/0xa*(-parseInt(_0x380e11(0xc8))/0xb)+parseInt(_0x380e11(0xcb))/0xc;if(_0x311607===_0x2dd428)break;else _0x5a1ad4['push'](_0x5a1ad4['shift']());}catch(_0x29cb37){_0x5a1ad4['push'](_0x5a1ad4['shift']());}}}(_0x4f72,0x38946));import{View as _0x3d3ff9}from'ckeditor5/src/ui.js';function _0x3feb(_0x5f48cf,_0x5410a9){const _0x4f724f=_0x4f72();return _0x3feb=function(_0x3febed,_0x3cf45d){_0x3febed=_0x3febed-0x9f;let _0x2b36a6=_0x4f724f[_0x3febed];return _0x2b36a6;},_0x3feb(_0x5f48cf,_0x5410a9);}function _0x4f72(){const _0x3a40c7=['ck-thread__input','focus','editing','editorReady','7eZyGdr','render','listenTo','119882YSjOGA','set','editor','div','createEditor','ck-comment__input-container','contains','781916SqJDfg','456teUtVX','bindTemplate','then','editorDestroyed','commentInputView','162114eTYWWK','1582270URoDue','isFocused','preventDefault','focusCycler','22FUleBA','bind','638990SPPyBQ','11102700ToTPcL','39906elpNfN','105PYSNVd','delegate','_focusOnNonInteractiveMouseDown','value','userView','ck-comment__input-container--active','view','3jRsZNd','ck-thread__user','showInput','showButtons','target','focusTracker','extendTemplate','change:showInput','getDomRoot','destroy','element','some','filter','mousedown','setTemplate'];_0x4f72=function(){return _0x3a40c7;};return _0x4f72();}import{CommentInputView as _0x4aa255}from'./commentinputview.js';import{UserView as _0x4ef67d}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x3d3ff9{constructor(_0x1c5d0e,_0x27af3c,_0xcf114f){const _0x10e57c=_0x3feb;super(_0x1c5d0e),this[_0x10e57c(0xc2)]=new _0x4aa255(_0x1c5d0e,_0xcf114f),this[_0x10e57c(0xc7)]=this[_0x10e57c(0xc2)][_0x10e57c(0xc7)],this[_0x10e57c(0xc2)][_0x10e57c(0xc9)](_0x10e57c(0xa3))['to'](this[_0x10e57c(0xc2)][_0x10e57c(0xa5)],_0x10e57c(0xc5),this[_0x10e57c(0xc2)],_0x10e57c(0xd0),(_0x3e6b52,_0x4a0797)=>_0x3e6b52||!!_0x4a0797),this[_0x10e57c(0xb7)](_0x10e57c(0xa2),!0x1),this['on'](_0x10e57c(0xa7),()=>{const _0x3a2eb6=_0x10e57c;this[_0x3a2eb6(0xa2)]&&!this[_0x3a2eb6(0xc2)][_0x3a2eb6(0xb8)]&&this[_0x3a2eb6(0xc2)][_0x3a2eb6(0xba)]();}),this[_0x10e57c(0xc2)][_0x10e57c(0xce)](_0x10e57c(0xb2))['to'](this),this[_0x10e57c(0xc2)][_0x10e57c(0xce)](_0x10e57c(0xc1))['to'](this),this[_0x10e57c(0xd1)]=new _0x4ef67d(_0x1c5d0e,_0x27af3c),this[_0x10e57c(0xd1)][_0x10e57c(0xa6)]({'attributes':{'class':_0x10e57c(0xa1),'aria-hidden':!0x0}}),this[_0x10e57c(0xc2)][_0x10e57c(0xa6)]({'attributes':{'class':_0x10e57c(0xaf)}}),this[_0x10e57c(0xae)]({'tag':_0x10e57c(0xb9),'attributes':{'class':[_0x10e57c(0xbb),this[_0x10e57c(0xbf)]['if'](_0x10e57c(0xa2),_0x10e57c(0xd2))]},'children':[this[_0x10e57c(0xd1)],this[_0x10e57c(0xc2)]]});}[_0x4d183a(0xb4)](){const _0x24c59c=_0x4d183a;super[_0x24c59c(0xb4)](),this[_0x24c59c(0xcf)]();}[_0x4d183a(0xa9)](){const _0x3800cd=_0x4d183a;return this[_0x3800cd(0xc2)][_0x3800cd(0xa9)]()[_0x3800cd(0xc0)](()=>super[_0x3800cd(0xa9)]());}[_0x4d183a(0xb0)](_0x43a5ca){const _0x111ab4=_0x4d183a;this[_0x111ab4(0xc2)][_0x111ab4(0xb0)](_0x43a5ca);}[_0x4d183a(0xcf)](){const _0x4991a6=_0x4d183a;this[_0x4991a6(0xb5)](this[_0x4991a6(0xaa)],_0x4991a6(0xad),(_0x41566f,_0x177aef)=>{const _0x24774a=_0x4991a6,{submitButtonView:_0x54e21a,cancelButtonView:_0x128841,editor:_0x578582}=this[_0x24774a(0xc2)];[_0x54e21a[_0x24774a(0xaa)],_0x128841[_0x24774a(0xaa)],_0x578582?_0x578582[_0x24774a(0xb1)][_0x24774a(0x9f)][_0x24774a(0xa8)]():null][_0x24774a(0xac)](_0x5af4bb=>_0x5af4bb)[_0x24774a(0xab)](_0x5e5de2=>_0x5e5de2[_0x24774a(0xbc)](_0x177aef[_0x24774a(0xa4)]))||(this[_0x24774a(0xb0)](),_0x177aef[_0x24774a(0xc6)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x3cf1(_0x1a2d8,_0x5ed59a){const _0x2ac809=_0x2ac8();return _0x3cf1=function(_0x3cf15b,_0xfea637){_0x3cf15b=_0x3cf15b-0x1c2;let _0x22cf1c=_0x2ac809[_0x3cf15b];return _0x22cf1c;},_0x3cf1(_0x1a2d8,_0x5ed59a);}const _0x1b695e=_0x3cf1;(function(_0x2c7bb3,_0xcbdda9){const _0x3c5edd=_0x3cf1,_0xdca1fe=_0x2c7bb3();while(!![]){try{const _0xaf7df=-parseInt(_0x3c5edd(0x1e7))/0x1+parseInt(_0x3c5edd(0x1dd))/0x2+-parseInt(_0x3c5edd(0x202))/0x3*(parseInt(_0x3c5edd(0x1ff))/0x4)+parseInt(_0x3c5edd(0x20b))/0x5+-parseInt(_0x3c5edd(0x1d4))/0x6*(parseInt(_0x3c5edd(0x1d2))/0x7)+-parseInt(_0x3c5edd(0x219))/0x8+parseInt(_0x3c5edd(0x210))/0x9;if(_0xaf7df===_0xcbdda9)break;else _0xdca1fe['push'](_0xdca1fe['shift']());}catch(_0xfd2aa6){_0xdca1fe['push'](_0xdca1fe['shift']());}}}(_0x2ac8,0x6b920));import{ConfirmMixin as _0x373e2f,LateFocusButtonView as _0x2a9a57}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x5e9c07}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x45309c}from'./basecommentthreadview.js';import{getTranslation as _0x1c91a2}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x373e2f(_0x45309c){[_0x1b695e(0x1f8)];[_0x1b695e(0x209)];[_0x1b695e(0x1e9)];[_0x1b695e(0x1df)];constructor(_0x5d743e,_0x1253bd,_0x7b63b4,_0x418bbd){const _0x189c68=_0x1b695e;super(_0x5d743e,_0x1253bd,_0x7b63b4,_0x418bbd),this[_0x189c68(0x1f8)]=this[_0x189c68(0x1ca)]([this[_0x189c68(0x1cd)],this[_0x189c68(0x20c)],this[_0x189c68(0x1c9)]]),this[_0x189c68(0x1cf)](_0x189c68(0x1d7),null),this[_0x189c68(0x209)]=null,this[_0x189c68(0x1df)]=null,this[_0x189c68(0x1de)]=_0x5d743e,this[_0x189c68(0x1e9)]=this[_0x189c68(0x1c8)](),this[_0x189c68(0x212)](this[_0x189c68(0x1c5)]()),this['on'](_0x189c68(0x208),(_0x3f2d7c,_0x1dd51f,_0x5d851f)=>{const _0x4bf438=_0x189c68;_0x5d851f||this[_0x4bf438(0x1d8)]();}),this[_0x189c68(0x1f2)](this[_0x189c68(0x1e2)],_0x189c68(0x20a),(_0x2045fd,_0x1a438c,_0x4f9558)=>{const _0x3c06ea=_0x189c68;_0x4f9558&&this[_0x3c06ea(0x1d8)]();}),this[_0x189c68(0x213)]>0x0&&this[_0x189c68(0x1f6)](),this[_0x189c68(0x1f2)](this[_0x189c68(0x1cd)][_0x189c68(0x1e8)],_0x189c68(0x1dc),()=>{const _0x2e6688=_0x189c68;this[_0x2e6688(0x1f6)]();});}[_0x1b695e(0x1c5)](){const _0x479c40=_0x1b695e,_0x27539a=this[_0x479c40(0x1f0)];return{'tag':_0x479c40(0x1f4),'attributes':{'class':['ck',_0x479c40(0x1f7),_0x479c40(0x211),_0x479c40(0x1f1),_0x27539a['if'](_0x479c40(0x218),_0x479c40(0x1ea)),_0x27539a['if'](_0x479c40(0x204),_0x479c40(0x1fd)),_0x27539a['if'](_0x479c40(0x1e3),_0x479c40(0x1eb)),_0x27539a['to'](_0x479c40(0x1d7),_0x5113a5=>_0x5113a5?_0x479c40(0x1c4)+_0x5113a5:'')],'data-thread-id':this[_0x479c40(0x1e2)]['id'],'tabindex':0x0,'role':_0x479c40(0x1ed),'aria-label':_0x27539a['to'](_0x479c40(0x1c2)),'aria-describedby':this[_0x479c40(0x1c9)]['id']},'children':[{'tag':_0x479c40(0x1f4),'attributes':{'class':_0x479c40(0x1ec)},'children':this[_0x479c40(0x1f8)]}]};}[_0x1b695e(0x1f5)](){const _0x326cc1=_0x1b695e;super[_0x326cc1(0x1f5)](),this[_0x326cc1(0x209)]=this[_0x326cc1(0x1fe)][_0x326cc1(0x1d3)](_0x326cc1(0x1c7)),this[_0x326cc1(0x1e2)]['on'](_0x326cc1(0x1e6),()=>{const _0x2b5dfe=_0x326cc1;this[_0x2b5dfe(0x1cc)]();}),this[_0x326cc1(0x1cc)]();}[_0x1b695e(0x1d8)](){const _0x1828a3=_0x1b695e;this[_0x1828a3(0x216)]();for(const _0x40e7f2 of this[_0x1828a3(0x1cd)][_0x1828a3(0x1e8)])_0x40e7f2[_0x1828a3(0x216)]();}[_0x1b695e(0x1f6)](){const _0x5d1574=_0x1b695e,{locale:_0x1914a1}=this,_0x147f9c=this[_0x5d1574(0x1cd)][_0x5d1574(0x1e8)][_0x5d1574(0x1d6)](0x0);_0x147f9c===this[_0x5d1574(0x1df)]||_0x147f9c[_0x5d1574(0x20d)]||(this[_0x5d1574(0x1df)]=_0x147f9c,this[_0x5d1574(0x217)](_0x5d1574(0x1d7)),this[_0x5d1574(0x1fc)](_0x5d1574(0x1d7))['to'](_0x147f9c,_0x5d1574(0x1d7),_0x2a2818=>_0x5d1574(0x1d9)===_0x2a2818?_0x5d1574(0x1d9):null),_0x147f9c[_0x5d1574(0x20e)]=_0x1c91a2(_0x1914a1,_0x5d1574(0x1f3)),_0x147f9c[_0x5d1574(0x205)]['on'](_0x5d1574(0x1e1),_0x86ccd4=>{const _0x3bbab6=_0x5d1574;_0x86ccd4[_0x3bbab6(0x200)](),this[_0x3bbab6(0x1ce)](_0x1c91a2(_0x1914a1,_0x3bbab6(0x1ef)),this[_0x3bbab6(0x209)])[_0x3bbab6(0x1e4)](()=>{const _0x20742c=_0x3bbab6;this[_0x20742c(0x1e0)](_0x20742c(0x20f));});},{'priority':_0x5d1574(0x1fa)}),this['on'](_0x5d1574(0x1d1),()=>{const _0x19e059=_0x5d1574;_0x147f9c[_0x19e059(0x1c3)]();}),_0x147f9c[_0x5d1574(0x1e5)][_0x5d1574(0x1dc)](this[_0x5d1574(0x1e9)],0x0),_0x147f9c[_0x5d1574(0x214)][_0x5d1574(0x1dc)](this[_0x5d1574(0x1e9)],0x0));}[_0x1b695e(0x1c8)](){const _0x2fbe63=_0x1b695e,_0x6489b1=new _0x2a9a57(this[_0x2fbe63(0x1de)]);return _0x6489b1[_0x2fbe63(0x203)]=_0x1c91a2(this[_0x2fbe63(0x1de)],_0x2fbe63(0x1db)),_0x6489b1[_0x2fbe63(0x1ee)]=_0x1c91a2(this[_0x2fbe63(0x1de)],_0x2fbe63(0x1db)),_0x6489b1[_0x2fbe63(0x201)]=_0x5e9c07,_0x6489b1[_0x2fbe63(0x1f9)]({'attributes':{'class':_0x2fbe63(0x215)}}),_0x6489b1[_0x2fbe63(0x1fc)](_0x2fbe63(0x1fb))['to'](this[_0x2fbe63(0x1e2)],_0x2fbe63(0x21a),_0x2029f4=>!_0x2029f4),_0x6489b1[_0x2fbe63(0x1fc)](_0x2fbe63(0x1c6))['to'](this[_0x2fbe63(0x1e2)],_0x2fbe63(0x206),this[_0x2fbe63(0x1e2)],_0x2fbe63(0x1d0),(_0x338a95,_0x5b6788)=>_0x338a95&&!_0x5b6788),_0x6489b1['on'](_0x2fbe63(0x1e1),()=>{const _0x3003f5=_0x2fbe63;this[_0x3003f5(0x1e0)](_0x3003f5(0x1d5),this[_0x3003f5(0x1e2)]['id']);}),_0x6489b1;}[_0x1b695e(0x1cc)](){const _0x65f507=_0x1b695e;this[_0x65f507(0x1e2)][_0x65f507(0x1da)]?this[_0x65f507(0x1f8)][_0x65f507(0x1cb)](this[_0x65f507(0x207)])||(this[_0x65f507(0x1f8)][_0x65f507(0x1dc)](this[_0x65f507(0x207)],0x0),this[_0x65f507(0x214)][_0x65f507(0x1dc)](this[_0x65f507(0x207)],0x0)):this[_0x65f507(0x1f8)][_0x65f507(0x1cb)](this[_0x65f507(0x207)])&&(this[_0x65f507(0x1f8)][_0x65f507(0x1d9)](this[_0x65f507(0x207)]),this[_0x65f507(0x214)][_0x65f507(0x1d9)](this[_0x65f507(0x207)]));}}function _0x2ac8(){const _0x5b9dde=['unbind','isActive','4507656WLeZHW','isReadOnly','ariaLabel','focus','ck-thread--','getTemplate','isVisible','.ck-thread__container','_createResolveButton','ariaDescriptionView','createCollection','has','_updateArchivedThreadHeader','commentsListView','showConfirm','set','isResolved','removeConfirm','792323YEWwae','querySelector','6QfqxCw','resolveCommentThread','get','actionIndicator','_cancelAllConfirms','remove','archivedAt','Resolve','add','1431602doAzQJ','locale','_boundFirstCommentView','fire','execute','_model','isConfirm','then','actionBar','change:archivedAt','570917dCKsDX','commentViews','resolveButton','ck-thread--active','ck-thread--remove-confirmation','ck-thread__container','listitem','tooltip','Delete\x20comment\x20thread?','bindTemplate','ck-rounded-corners','listenTo','Write\x20a\x20comment...','div','render','_bindFirstCommentView','ck-thread','commentThreadChildren','extendTemplate','high','isEnabled','bind','ck-thread--unlinked','element','44pqwmnC','stop','icon','178179nvsvoE','label','isUnlinked','removeButton','isResolvable','commentThreadHeaderView','change:isActive','containerElement','change:isReadOnly','1982860AVoyRt','commentThreadInputView','isSystemComment','placeholder','removeCommentThread','11062089UDBuPm','ck-reset_all-excluded','setTemplate','length','focusables','ck-comment--resolve','cancelConfirm'];_0x2ac8=function(){return _0x5b9dde;};return _0x2ac8();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0xa0d9c7=_0x53b5;(function(_0x4f6c22,_0x712b51){const _0x38fb3f=_0x53b5,_0x9e70cf=_0x4f6c22();while(!![]){try{const _0x1f1d5e=-parseInt(_0x38fb3f(0x201))/0x1*(parseInt(_0x38fb3f(0x205))/0x2)+parseInt(_0x38fb3f(0x1e2))/0x3*(-parseInt(_0x38fb3f(0x215))/0x4)+-parseInt(_0x38fb3f(0x20e))/0x5+parseInt(_0x38fb3f(0x221))/0x6*(-parseInt(_0x38fb3f(0x231))/0x7)+parseInt(_0x38fb3f(0x254))/0x8*(-parseInt(_0x38fb3f(0x1ed))/0x9)+parseInt(_0x38fb3f(0x232))/0xa+parseInt(_0x38fb3f(0x1e0))/0xb*(parseInt(_0x38fb3f(0x1ec))/0xc);if(_0x1f1d5e===_0x712b51)break;else _0x9e70cf['push'](_0x9e70cf['shift']());}catch(_0x108c51){_0x9e70cf['push'](_0x9e70cf['shift']());}}}(_0x2cc8,0x3fc33));import{IconRemoveComment as _0x305151,IconPencil as _0x2f1b9a,IconThreeVerticalDots as _0x4654ba}from'ckeditor5/src/icons.js';import{ButtonView as _0x5dddc1,createDropdown as _0xa481e7,ListView as _0x58d9be,ListItemView as _0x137ba1,focusChildOnDropdownOpen as _0x1a7ef3}from'ckeditor5/src/ui.js';function _0x2cc8(){const _0x39158d=['locale','change:isRemovable','focus','blur','Edit','from','mouseenter','time','Show\x20more\x20items','actionIndicator','addMany','ck-annotation__info-time','extendTemplate','children','ck-comment__info','ck-comment__info-time','execute','_model','144XJlDWU','ck-annotation__user','editButton','group','_createRemoveButton','items','isReadOnly','12560702VIphiL','panelView','5721UuRXpB','ck-comment__external','Delete\x20comment?','Reply...','ck-comment__actions--hidden','dropdown','ck-comment__actions','_config','element','author','12cbFaji','58689dSJpKr','bindTemplate','isEnabled','listenTo','showConfirm','ck-comment--','ck-comment__wrapper','_createDropdown','render','switchToEditMode','mouseleave','icon','userView','ck-comment--remove-confirmation','toMany','ariaDescriptionView','createCollection','getTemplate','ariaLabel','unbind','52526bGiIfp','ck-annotation__content-wrapper','ck-annotation','isSystemComment','4hKiwVS','isExternal','isRemovable','isEditMode','find','add','ck-comment--info','push','ck-annotation__info-name','1300440KFXhgw','ck-comment--edit','ck-comment--remove','bind','Remove','ck-comment__user','actionBar','492qLrobS','then','some','authoredAt','cancelConfirm','placeholder','ck-annotation__actions','resolvedAt','ck-hidden','_createEditButton','removeButton','div','366186cVAjyc','isConfirm','panelPosition','getUserViewNotificationText','set','ck-comment__main','setTemplate','getExternalCommentNote','ck-annotation__info','span','formatDateTime','visibleView','edit','isVisible','isEditable','_attachActions','49lHrfgQ','2635850GVgITG','ck-comment','withText','ck-comment__info-name','removeComment','_createCommentInputView','fire','remove','focusables','label','ck-annotation__main','listitem','ck-annotation__actions--hidden','name','length','buttonView'];_0x2cc8=function(){return _0x39158d;};return _0x2cc8();}import{UserView as _0x4533ed,ConfirmMixin as _0x3e9f00,LateFocusDropdownButtonView as _0x5c6d6b}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x53b5(_0x3a5ad0,_0x4e4416){const _0x2cc84a=_0x2cc8();return _0x53b5=function(_0x53b553,_0x22c033){_0x53b553=_0x53b553-0x1dd;let _0xa66d5d=_0x2cc84a[_0x53b553];return _0xa66d5d;},_0x53b5(_0x3a5ad0,_0x4e4416);}import{BaseCommentView as _0x58cc9e}from'./basecommentview.js';import{getTranslation as _0x1aefdc}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3e9f00(_0x58cc9e){[_0xa0d9c7(0x214)];[_0xa0d9c7(0x1f9)];constructor(_0x310a1b,_0x37f4ae,_0x4f3090){const _0x1354d9=_0xa0d9c7;super(_0x310a1b,_0x37f4ae,_0x4f3090),this[_0x1354d9(0x225)](_0x1354d9(0x24b),null),this[_0x1354d9(0x225)](_0x1354d9(0x21a),_0x1aefdc(_0x310a1b,_0x1354d9(0x1e5))),this[_0x1354d9(0x211)](_0x1354d9(0x218))['to'](_0x37f4ae),this[_0x1354d9(0x211)](_0x1354d9(0x21c))['to'](_0x37f4ae),this[_0x1354d9(0x214)]=this[_0x1354d9(0x1fd)](),this[_0x1354d9(0x204)]||(this[_0x1354d9(0x256)]=this[_0x1354d9(0x21e)](),this[_0x1354d9(0x21f)]=this[_0x1354d9(0x1dd)](),this[_0x1354d9(0x1de)]=this[_0x1354d9(0x1fd)](),this[_0x1354d9(0x1de)][_0x1354d9(0x24c)]([this[_0x1354d9(0x256)],this[_0x1354d9(0x21f)]]),this[_0x1354d9(0x1e7)]=this[_0x1354d9(0x1f4)](),this[_0x1354d9(0x214)][_0x1354d9(0x20a)](this[_0x1354d9(0x1e7)]),this[_0x1354d9(0x23a)][_0x1354d9(0x20a)](this[_0x1354d9(0x1e7)])),this[_0x1354d9(0x1f9)]=new _0x4533ed(_0x310a1b,_0x37f4ae[_0x1354d9(0x1eb)],this[_0x1354d9(0x224)]()),this[_0x1354d9(0x1f9)][_0x1354d9(0x24e)]({'attributes':{'class':[_0x1354d9(0x213),_0x1354d9(0x255)],'aria-hidden':!0x0}}),this[_0x1354d9(0x1f0)](_0x37f4ae,_0x1354d9(0x243),()=>this[_0x1354d9(0x219)]()),this[_0x1354d9(0x227)](this[_0x1354d9(0x1fe)]());}[_0xa0d9c7(0x1fe)](){const _0x41f3db=_0xa0d9c7,_0x10e071=this[_0x41f3db(0x1ee)],_0x20c3ee=[{'tag':_0x41f3db(0x220),'attributes':{'class':[_0x41f3db(0x250),_0x41f3db(0x229)]},'children':[{'tag':_0x41f3db(0x22a),'children':[{'text':this[_0x41f3db(0x1f9)][_0x41f3db(0x23f)]}],'attributes':{'class':[_0x41f3db(0x235),_0x41f3db(0x20d)],'data-cke-tooltip-text':this[_0x41f3db(0x1f9)][_0x41f3db(0x23f)]}},{'tag':_0x41f3db(0x249),'attributes':{'datetime':_0x10e071['to'](_0x41f3db(0x218)),'class':[_0x41f3db(0x251),_0x41f3db(0x24d)]},'children':[{'text':_0x10e071['to'](_0x41f3db(0x218),_0x507964=>this[_0x41f3db(0x1e9)][_0x41f3db(0x22b)](_0x507964))}]}]},{'tag':_0x41f3db(0x220),'attributes':{'class':[_0x41f3db(0x1e8),_0x41f3db(0x21b),_0x10e071['if'](_0x41f3db(0x208),_0x41f3db(0x1e6)),_0x10e071['if'](_0x41f3db(0x208),_0x41f3db(0x23e))]},'children':this[_0x41f3db(0x214)]},{'tag':_0x41f3db(0x220),'attributes':{'class':[_0x41f3db(0x202)]},'children':this[_0x41f3db(0x22c)]},this[_0x41f3db(0x1fc)]];return this[_0x41f3db(0x253)][_0x41f3db(0x206)]&&_0x20c3ee[_0x41f3db(0x20c)]({'tag':_0x41f3db(0x220),'attributes':{'class':[_0x41f3db(0x1e3)]},'children':[{'text':this[_0x41f3db(0x228)]()}]}),{'tag':'li','attributes':{'class':[_0x41f3db(0x1f3),_0x10e071['if'](_0x41f3db(0x222),_0x41f3db(0x1fa))],'tabindex':-0x1,'aria-label':_0x10e071['to'](_0x41f3db(0x1ff)),'aria-describedby':this[_0x41f3db(0x1fc)]['id'],'role':_0x41f3db(0x23d)},'children':[{'tag':_0x41f3db(0x220),'attributes':{'class':[_0x41f3db(0x233),_0x41f3db(0x203),_0x10e071['if'](_0x41f3db(0x208),_0x41f3db(0x20f)),_0x10e071['if'](_0x41f3db(0x204),_0x41f3db(0x20b)),_0x10e071['to'](_0x41f3db(0x24b),_0x1e000a=>_0x1e000a?_0x41f3db(0x1f2)+_0x1e000a:'')],'data-author-id':this[_0x41f3db(0x253)][_0x41f3db(0x1eb)]['id'],'data-comment-id':this[_0x41f3db(0x253)]['id'],'role':_0x41f3db(0x257)},'children':[this[_0x41f3db(0x1f9)],{'tag':_0x41f3db(0x220),'attributes':{'class':[_0x41f3db(0x226),_0x41f3db(0x23c)]},'children':_0x20c3ee}]}]};}[_0xa0d9c7(0x21e)](){const _0x69d789=_0xa0d9c7,_0x287123=new _0x5dddc1(this[_0x69d789(0x242)]);return _0x287123[_0x69d789(0x23b)]=_0x1aefdc(this[_0x69d789(0x242)],_0x69d789(0x246)),_0x287123[_0x69d789(0x1f8)]=_0x2f1b9a,_0x287123[_0x69d789(0x234)]=!0x0,_0x287123[_0x69d789(0x24e)]({'attributes':{'class':_0x69d789(0x20f)}}),_0x287123[_0x69d789(0x211)](_0x69d789(0x1ef))['to'](this[_0x69d789(0x253)],_0x69d789(0x1df),_0xb0db1f=>!_0xb0db1f),_0x287123[_0x69d789(0x211)](_0x69d789(0x22e))['to'](this[_0x69d789(0x253)],_0x69d789(0x22f)),_0x287123['on'](_0x69d789(0x252),()=>this[_0x69d789(0x1f6)]()),_0x287123;}[_0xa0d9c7(0x1dd)](){const _0x358b85=_0xa0d9c7,_0x32d6b4=new _0x5dddc1(this[_0x358b85(0x242)]);return _0x32d6b4[_0x358b85(0x23b)]=_0x1aefdc(this[_0x358b85(0x242)],_0x358b85(0x212)),_0x32d6b4[_0x358b85(0x1f8)]=_0x305151,_0x32d6b4[_0x358b85(0x234)]=!0x0,_0x32d6b4[_0x358b85(0x24e)]({'attributes':{'class':_0x358b85(0x210)}}),_0x32d6b4[_0x358b85(0x211)](_0x358b85(0x1ef))['to'](this[_0x358b85(0x253)],_0x358b85(0x1df),_0x85bbc4=>!_0x85bbc4),_0x32d6b4[_0x358b85(0x211)](_0x358b85(0x22e))['to'](this[_0x358b85(0x253)],_0x358b85(0x207)),_0x32d6b4['on'](_0x358b85(0x252),()=>{const _0x41f37f=_0x358b85;this[_0x41f37f(0x1f1)](_0x1aefdc(this[_0x41f37f(0x242)],_0x41f37f(0x1e4)),this[_0x41f37f(0x1ea)])[_0x41f37f(0x216)](()=>{const _0x42fcbc=_0x41f37f;this[_0x42fcbc(0x238)](_0x42fcbc(0x236),this[_0x42fcbc(0x253)]['id']);});}),_0x32d6b4;}[_0xa0d9c7(0x1f4)](){const _0xc4b90c=_0xa0d9c7,_0x2e0e09=_0xa481e7(this[_0xc4b90c(0x242)],_0x5c6d6b),_0x356f6a=_0x2e0e09[_0xc4b90c(0x1e1)][_0xc4b90c(0x24f)],_0x160a5f=new _0x58d9be(this[_0xc4b90c(0x242)]),_0x1b3a95=_0x2e0e09[_0xc4b90c(0x1ee)];_0x1a7ef3(_0x2e0e09,()=>this[_0xc4b90c(0x1de)][_0xc4b90c(0x209)](_0x611591=>_0x611591[_0xc4b90c(0x22e)])),_0x2e0e09[_0xc4b90c(0x24e)]({'attributes':{'class':[_0x1b3a95['if'](_0xc4b90c(0x22e),_0xc4b90c(0x21d),_0x24e6a4=>!_0x24e6a4)]}});const _0x4e4801=(_0x54b619,_0x45c5e8=-0x1)=>{const _0x465950=_0xc4b90c,_0x1fe16e=new _0x137ba1(this[_0x465950(0x242)]);_0x1fe16e[_0x465950(0x24f)][_0x465950(0x20a)](_0x54b619);const _0xdd4109=_0x45c5e8>-0x1?_0x45c5e8:_0x160a5f[_0x465950(0x1de)][_0x465950(0x240)];_0x160a5f[_0x465950(0x1de)][_0x465950(0x20a)](_0x1fe16e,_0xdd4109);const _0xf062b8=Array[_0x465950(0x247)](this[_0x465950(0x1de)]);_0x2e0e09[_0x465950(0x200)](_0x465950(0x1ef),_0x465950(0x22e)),_0x2e0e09[_0x465950(0x211)](_0x465950(0x1ef))[_0x465950(0x1fb)](_0xf062b8,_0x465950(0x1ef),(..._0x3f263e)=>_0x3f263e[_0x465950(0x217)](_0x226c67=>_0x226c67)),_0x2e0e09[_0x465950(0x211)](_0x465950(0x22e))[_0x465950(0x1fb)](_0xf062b8,_0x465950(0x22e),(..._0x882db)=>_0x882db[_0x465950(0x217)](_0x145c8d=>_0x145c8d));};_0x2e0e09[_0xc4b90c(0x223)]='sw',_0x2e0e09[_0xc4b90c(0x241)][_0xc4b90c(0x225)]({'label':_0x1aefdc(this[_0xc4b90c(0x242)],_0xc4b90c(0x24a)),'icon':_0x4654ba});for(const _0x542147 of this[_0xc4b90c(0x1de)])_0x4e4801(_0x542147);return _0x356f6a[_0xc4b90c(0x20a)](_0x160a5f),_0x2e0e09[_0xc4b90c(0x1f0)](this[_0xc4b90c(0x1de)],_0xc4b90c(0x20a),(_0x420025,_0x3b8e3a,_0x2915aa)=>{_0x4e4801(_0x3b8e3a,_0x2915aa);}),_0x2e0e09[_0xc4b90c(0x1f0)](this[_0xc4b90c(0x1de)],_0xc4b90c(0x239),(_0x31c0b4,_0x2524bd,_0x3a87c7)=>{const _0x5d935b=_0xc4b90c;_0x160a5f[_0x5d935b(0x1de)][_0x5d935b(0x239)](_0x3a87c7);}),_0x2e0e09;}[_0xa0d9c7(0x230)](_0x183864,_0x300ce9){const _0x186b76=_0xa0d9c7,_0x36194f=_0x183864&&_0x183864[_0x186b76(0x1ea)];_0x36194f&&(this[_0x186b76(0x1f0)](_0x36194f,_0x186b76(0x248),()=>this[_0x186b76(0x24b)]=_0x300ce9),this[_0x186b76(0x1f0)](_0x36194f,_0x186b76(0x244),()=>this[_0x186b76(0x24b)]=_0x300ce9),this[_0x186b76(0x1f0)](_0x36194f,_0x186b76(0x1f7),()=>this[_0x186b76(0x24b)]=null),this[_0x186b76(0x1f0)](_0x36194f,_0x186b76(0x245),()=>this[_0x186b76(0x24b)]=null));}[_0xa0d9c7(0x237)](){const _0x193907=_0xa0d9c7,_0x2a86bd=super[_0x193907(0x237)]();return _0x2a86bd[_0x193907(0x211)](_0x193907(0x21a))['to'](this),_0x2a86bd;}[_0xa0d9c7(0x1f5)](){const _0x4c1e22=_0xa0d9c7;super[_0x4c1e22(0x1f5)](),this[_0x4c1e22(0x230)](this[_0x4c1e22(0x256)],_0x4c1e22(0x22d)),this[_0x4c1e22(0x230)](this[_0x4c1e22(0x21f)],_0x4c1e22(0x239));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5b3153=_0x4b0b;function _0x4b0b(_0x3b62c0,_0x12d397){var _0x8b5da0=_0x8b5d();return _0x4b0b=function(_0x4b0b21,_0x46f784){_0x4b0b21=_0x4b0b21-0x1c3;var _0x5863d6=_0x8b5da0[_0x4b0b21];return _0x5863d6;},_0x4b0b(_0x3b62c0,_0x12d397);}(function(_0x1834b1,_0x653139){var _0x385dee=_0x4b0b,_0x25ffc1=_0x1834b1();while(!![]){try{var _0x2ec566=parseInt(_0x385dee(0x1c6))/0x1+parseInt(_0x385dee(0x1cc))/0x2*(parseInt(_0x385dee(0x1ce))/0x3)+-parseInt(_0x385dee(0x1cf))/0x4*(-parseInt(_0x385dee(0x1c4))/0x5)+parseInt(_0x385dee(0x1d1))/0x6+parseInt(_0x385dee(0x1c9))/0x7+-parseInt(_0x385dee(0x1c3))/0x8+-parseInt(_0x385dee(0x1ca))/0x9*(parseInt(_0x385dee(0x1cd))/0xa);if(_0x2ec566===_0x653139)break;else _0x25ffc1['push'](_0x25ffc1['shift']());}catch(_0x257bd0){_0x25ffc1['push'](_0x25ffc1['shift']());}}}(_0x8b5d,0xa84dd));import{Plugin as _0x466719}from'ckeditor5/src/core.js';function _0x8b5d(){var _0x1929d1=['Comments','962394vlwuEd','1120xXMcLi','3ItRnWD','236ANoavx','pluginName','4345026Qblosz','10418808NOqsHA','100455UZVhgQ','requires','94482zjgbpb','isPremiumPlugin','isOfficialPlugin','5708927pMUgGc','105192IKTrSj'];_0x8b5d=function(){return _0x1929d1;};return _0x8b5d();}import{CommentsRepository as _0x5b0f2d}from'./comments/commentsrepository.js';import{CommentsEditing as _0x464f4a}from'./comments/commentsediting.js';import{CommentsUI as _0x401122}from'./comments/commentsui.js';import{CommentsOnly as _0x5801c1}from'./commentsonly.js';import{WideSidebar as _0x3beeba}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x5a5ebd}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x486791}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x37f5fd}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x4b3175}from'./comments/commentsarchive.js';export class Comments extends _0x466719{static get[_0x5b3153(0x1c5)](){return[_0x5b0f2d,_0x464f4a,_0x401122,_0x4b3175,_0x37f5fd,_0x5801c1,_0x3beeba,_0x5a5ebd,_0x486791];}static get[_0x5b3153(0x1d0)](){var _0x30320e=_0x5b3153;return _0x30320e(0x1cb);}static get[_0x5b3153(0x1c8)](){return!0x0;}static get[_0x5b3153(0x1c7)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x282d(_0x1eeaea,_0x7e9c69){const _0x3bda3e=_0x3bda();return _0x282d=function(_0x282dc3,_0x56eea4){_0x282dc3=_0x282dc3-0x14e;let _0x1e924d=_0x3bda3e[_0x282dc3];return _0x1e924d;},_0x282d(_0x1eeaea,_0x7e9c69);}const _0x1a06fe=_0x282d;function _0x3bda(){const _0x58f0e0=['3335274ekSkoe','2bGpCrG','isPremiumPlugin','highest','affectsData','pluginName','has','66372UMqiIC','cut','1418783QdMGUh','4185503GnjEJp','requires','forceDisabled','stop','8072570kRuXII','view','editing','commentsOnly','_enableCommentsOnlyMode','editSource','set','_disableCommentsOnlyMode','11SFeqoC','plugins','7313904LBMiJx','editor','isEnabled','SourceEditing','change:isEnabled','245sXnmaQ','config','listenTo','afterInit','11659815bogGFm','delete','get','commands','DragDrop','commentsOnlyMode','CommentsOnly','stopListening','isOfficialPlugin','clipboardInput','12TVMkBg','addCommentThread','clearForceDisabled','document'];_0x3bda=function(){return _0x58f0e0;};return _0x3bda();}(function(_0x5a5277,_0x42081a){const _0x5dbee0=_0x282d,_0x8d3055=_0x5a5277();while(!![]){try{const _0x34fceb=parseInt(_0x5dbee0(0x16e))/0x1*(-parseInt(_0x5dbee0(0x166))/0x2)+-parseInt(_0x5dbee0(0x165))/0x3+parseInt(_0x5dbee0(0x16c))/0x4*(-parseInt(_0x5dbee0(0x153))/0x5)+parseInt(_0x5dbee0(0x161))/0x6*(parseInt(_0x5dbee0(0x16f))/0x7)+parseInt(_0x5dbee0(0x14e))/0x8+parseInt(_0x5dbee0(0x157))/0x9+parseInt(_0x5dbee0(0x173))/0xa*(parseInt(_0x5dbee0(0x17b))/0xb);if(_0x34fceb===_0x42081a)break;else _0x8d3055['push'](_0x8d3055['shift']());}catch(_0x48072f){_0x8d3055['push'](_0x8d3055['shift']());}}}(_0x3bda,0xd43aa));import{Plugin as _0x4d7bca}from'ckeditor5/src/core.js';import{CommentsEditing as _0x519a9a}from'./comments/commentsediting.js';export class CommentsOnly extends _0x4d7bca{static get[_0x1a06fe(0x16a)](){const _0xc410a=_0x1a06fe;return _0xc410a(0x15d);}static get[_0x1a06fe(0x15f)](){return!0x0;}static get[_0x1a06fe(0x167)](){return!0x0;}static get[_0x1a06fe(0x170)](){return[_0x519a9a];}constructor(_0x5c3265){const _0x265550=_0x1a06fe;super(_0x5c3265),this[_0x265550(0x179)](_0x265550(0x150),!0x1),this['on'](_0x265550(0x152),(_0xce1021,_0x3b3bbb,_0x4d7147)=>{const _0x24763e=_0x265550;_0x4d7147?this[_0x24763e(0x177)]():this[_0x24763e(0x17a)]();});}[_0x1a06fe(0x156)](){const _0x26206c=_0x1a06fe;!this[_0x26206c(0x150)]&&this[_0x26206c(0x14f)][_0x26206c(0x154)][_0x26206c(0x159)](_0x26206c(0x176))&&(this[_0x26206c(0x150)]=!0x0);}[_0x1a06fe(0x177)](){const _0xb6c25=_0x1a06fe;for(const [_0x4c4d24,_0x3da03c]of this[_0xb6c25(0x14f)][_0xb6c25(0x15a)])_0x3da03c[_0xb6c25(0x169)]&&_0xb6c25(0x162)!==_0x4c4d24&&_0x3da03c[_0xb6c25(0x171)](_0xb6c25(0x15c));(this[_0xb6c25(0x14f)][_0xb6c25(0x17c)][_0xb6c25(0x16b)](_0xb6c25(0x15b))&&this[_0xb6c25(0x14f)][_0xb6c25(0x17c)][_0xb6c25(0x159)](_0xb6c25(0x15b))[_0xb6c25(0x171)](_0xb6c25(0x15c)),this[_0xb6c25(0x14f)][_0xb6c25(0x17c)][_0xb6c25(0x16b)](_0xb6c25(0x151)))&&this[_0xb6c25(0x14f)][_0xb6c25(0x17c)][_0xb6c25(0x159)](_0xb6c25(0x151))[_0xb6c25(0x171)](_0xb6c25(0x15c));this[_0xb6c25(0x14f)][_0xb6c25(0x15a)][_0xb6c25(0x159)](_0xb6c25(0x178))?.[_0xb6c25(0x171)](_0xb6c25(0x15c));const _0x308de3=this[_0xb6c25(0x14f)][_0xb6c25(0x175)][_0xb6c25(0x174)][_0xb6c25(0x164)];this[_0xb6c25(0x155)](_0x308de3,_0xb6c25(0x16d),_0x31893d=>_0x31893d[_0xb6c25(0x172)](),{'priority':_0xb6c25(0x168)}),this[_0xb6c25(0x155)](_0x308de3,_0xb6c25(0x160),_0x47c007=>_0x47c007[_0xb6c25(0x172)](),{'priority':_0xb6c25(0x168)}),this[_0xb6c25(0x155)](_0x308de3,_0xb6c25(0x158),_0x4b029d=>_0x4b029d[_0xb6c25(0x172)](),{'priority':_0xb6c25(0x168)});}[_0x1a06fe(0x17a)](){const _0x20f912=_0x1a06fe;for(const [_0x24fe82,_0x18d0a1]of this[_0x20f912(0x14f)][_0x20f912(0x15a)])_0x18d0a1[_0x20f912(0x169)]&&_0x20f912(0x162)!==_0x24fe82&&_0x18d0a1[_0x20f912(0x163)](_0x20f912(0x15c));this[_0x20f912(0x14f)][_0x20f912(0x17c)][_0x20f912(0x16b)](_0x20f912(0x151))&&this[_0x20f912(0x14f)][_0x20f912(0x17c)][_0x20f912(0x159)](_0x20f912(0x151))[_0x20f912(0x163)](_0x20f912(0x15c)),this[_0x20f912(0x14f)][_0x20f912(0x15a)][_0x20f912(0x159)](_0x20f912(0x178))?.[_0x20f912(0x163)](_0x20f912(0x15c)),this[_0x20f912(0x15e)](this[_0x20f912(0x14f)][_0x20f912(0x175)][_0x20f912(0x174)][_0x20f912(0x164)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2d3bc2,_0x733d69){var _0x86d730=_0x8367,_0x37e507=_0x2d3bc2();while(!![]){try{var _0x325104=-parseInt(_0x86d730(0x74))/0x1*(-parseInt(_0x86d730(0x72))/0x2)+parseInt(_0x86d730(0x6a))/0x3+-parseInt(_0x86d730(0x70))/0x4+parseInt(_0x86d730(0x6b))/0x5*(parseInt(_0x86d730(0x71))/0x6)+-parseInt(_0x86d730(0x6d))/0x7*(parseInt(_0x86d730(0x6e))/0x8)+parseInt(_0x86d730(0x6c))/0x9*(-parseInt(_0x86d730(0x73))/0xa)+-parseInt(_0x86d730(0x6f))/0xb;if(_0x325104===_0x733d69)break;else _0x37e507['push'](_0x37e507['shift']());}catch(_0x15d9db){_0x37e507['push'](_0x37e507['shift']());}}}(_0x57bd,0xb2fa5));function _0x8367(_0x475448,_0x4a7894){var _0x57bd57=_0x57bd();return _0x8367=function(_0x836708,_0x3191e3){_0x836708=_0x836708-0x6a;var _0x34e4c2=_0x57bd57[_0x836708];return _0x34e4c2;},_0x8367(_0x475448,_0x4a7894);}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';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';function _0x57bd(){var _0x44dea4=['30bbMycw','7334GEBNvT','570eGCegL','83ImrQbM','3494667yyEROs','902620FaVBls','100179uRMeJf','65226FxXRhH','168wjxLCW','7140573QJMRrT','637956nUCMRA'];_0x57bd=function(){return _0x44dea4;};return _0x57bd();}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(_0x37b6b3,_0x1004e4,_0xc1f5e1){const t=_0x37b6b3['t'];switch(_0x1004e4){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'},_0xc1f5e1);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'},_0xc1f5e1);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'},_0xc1f5e1);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'},_0xc1f5e1);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0xc1f5e1);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'},_0xc1f5e1);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'},_0xc1f5e1);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'},_0xc1f5e1);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 _0x25d6(_0x25f86e,_0x343959){const _0x6807da=_0x6807();return _0x25d6=function(_0x25d666,_0x190f72){_0x25d666=_0x25d666-0xd3;let _0x3f0906=_0x6807da[_0x25d666];return _0x3f0906;},_0x25d6(_0x25f86e,_0x343959);}(function(_0x4e3e67,_0x204911){const _0x19d97d=_0x25d6,_0x142e78=_0x4e3e67();while(!![]){try{const _0x4cdae3=parseInt(_0x19d97d(0xdd))/0x1+parseInt(_0x19d97d(0xd6))/0x2+-parseInt(_0x19d97d(0xdc))/0x3*(-parseInt(_0x19d97d(0xe4))/0x4)+parseInt(_0x19d97d(0xe2))/0x5+-parseInt(_0x19d97d(0xe0))/0x6*(-parseInt(_0x19d97d(0xda))/0x7)+-parseInt(_0x19d97d(0xe1))/0x8*(parseInt(_0x19d97d(0xe6))/0x9)+-parseInt(_0x19d97d(0xdb))/0xa*(parseInt(_0x19d97d(0xe3))/0xb);if(_0x4cdae3===_0x204911)break;else _0x142e78['push'](_0x142e78['shift']());}catch(_0x208db8){_0x142e78['push'](_0x142e78['shift']());}}}(_0x6807,0x89219));import{throttle as _0x1fdb06}from'es-toolkit/compat';function _0x6807(){const _0x35b88e=['attributes','characterData','7FHgNms','123020uJTykz','3RiQjHa','143547IHaWDM','disconnect','class','72156FKIZag','6395272iODxyo','5057205tEWBaO','902ChHqVm','887704WuYrhc','attributeName','9VBmZPa','cancel','type','observe','1961844qDNUcG','childList'];_0x6807=function(){return _0x35b88e;};return _0x6807();}export function createMutationObserver(_0xc9c7e){const _0x8e370c=_0x1fdb06(_0xc9c7e,0x1e),_0x1e75ca=new MutationObserver(_0x53f822=>{const _0x2eb06a=_0x25d6;for(const _0x4f9e53 of _0x53f822)(_0x2eb06a(0xd8)==_0x4f9e53[_0x2eb06a(0xd4)]&&_0x2eb06a(0xdf)==_0x4f9e53[_0x2eb06a(0xe5)]||_0x2eb06a(0xd7)==_0x4f9e53[_0x2eb06a(0xd4)]||_0x2eb06a(0xd9)==_0x4f9e53[_0x2eb06a(0xd4)])&&_0x8e370c();});return{'attach'(_0x16d486){const _0x390820=_0x25d6;_0x1e75ca[_0x390820(0xd5)](_0x16d486,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x4903ea=_0x25d6;_0x1e75ca[_0x4903ea(0xde)](),_0x8e370c[_0x4903ea(0xd3)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3e5b(){const _0x45ddb9=['1596800JEJBcC','411782ltNUix','157500bjEtOg','113928cQRGqg','355182qmnYkk','297NCZqeo','split','1535190xudDdy','57ebCihI','216LBDPTB','93326HJAiLa','105hPONWu'];_0x3e5b=function(){return _0x45ddb9;};return _0x3e5b();}(function(_0x2089e2,_0x211701){const _0x15f7c8=_0x4fd0,_0x3560a1=_0x2089e2();while(!![]){try{const _0x2a9bd2=-parseInt(_0x15f7c8(0x1c8))/0x1+-parseInt(_0x15f7c8(0x1c5))/0x2*(parseInt(_0x15f7c8(0x1c3))/0x3)+parseInt(_0x15f7c8(0x1c7))/0x4+-parseInt(_0x15f7c8(0x1c2))/0x5+parseInt(_0x15f7c8(0x1bf))/0x6*(parseInt(_0x15f7c8(0x1c6))/0x7)+parseInt(_0x15f7c8(0x1ca))/0x8*(parseInt(_0x15f7c8(0x1c4))/0x9)+parseInt(_0x15f7c8(0x1c9))/0xa*(parseInt(_0x15f7c8(0x1c0))/0xb);if(_0x2a9bd2===_0x211701)break;else _0x3560a1['push'](_0x3560a1['shift']());}catch(_0x1b6ec0){_0x3560a1['push'](_0x3560a1['shift']());}}}(_0x3e5b,0x6d904));function _0x4fd0(_0x1fa61c,_0x12a989){const _0x3e5bab=_0x3e5b();return _0x4fd0=function(_0x4fd0c5,_0x2c91c3){_0x4fd0c5=_0x4fd0c5-0x1bf;let _0x227af8=_0x3e5bab[_0x4fd0c5];return _0x227af8;},_0x4fd0(_0x1fa61c,_0x12a989);}export function splitMarkerName(_0x497c65){const _0x51654b=_0x4fd0,_0x4315a5=_0x497c65[_0x51654b(0x1c1)](':');return{'group':_0x4315a5[0x0],'id':_0x4315a5[0x1],'part':_0x4315a5[0x2]};}
|